@everymatrix/player-account-controller 1.86.2 → 1.86.4
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-BtP2SNPX.js → GeneralLogout-BOnb2iBt.js} +835 -856
- package/components/GeneralLogout-DDP4rL2J.cjs +21 -0
- package/components/{GeneralLogout-hWNQ3J3o.js → GeneralLogout-DjIbOrTj.js} +805 -826
- package/components/PlayerAccountBettingHistory-B89zDM2m.cjs +1 -0
- package/components/PlayerAccountBettingHistory-D0Jedf4O.js +310 -0
- package/components/PlayerAccountBettingHistory-DSuwi17X.js +311 -0
- package/components/{PlayerAccountBiometrics-BIYcG8cX.js → PlayerAccountBiometrics-QVmfbZzG.js} +22 -22
- package/components/{PlayerAccountBiometrics-Dp3Y8HTH.js → PlayerAccountBiometrics-YU3I-IHb.js} +22 -22
- package/components/{PlayerAccountBiometrics-S9tvxAFz.cjs → PlayerAccountBiometrics-ynUd1qQ9.cjs} +1 -1
- package/components/{PlayerAccountClosure-BbW4iG-i.js → PlayerAccountClosure-Bj4jXSc4.js} +45 -45
- package/components/{PlayerAccountClosure-D7pmJiXo.js → PlayerAccountClosure-CMLtteuy.js} +45 -45
- package/components/{PlayerAccountClosure-jnEN5Fk4.cjs → PlayerAccountClosure-D45H4qp6.cjs} +1 -1
- package/components/{PlayerAccountController-CVnttCYd.js → PlayerAccountController-D3Cks26j.js} +321 -321
- package/components/{PlayerAccountController-BrPMvdjL.js → PlayerAccountController-D9L8iTP5.js} +323 -323
- package/components/{PlayerAccountController-BKxpSznw.cjs → PlayerAccountController-DAsgXdng.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-BHtPyrhy.js → PlayerAccountGamingLimits-28tjnuGZ.js} +127 -127
- package/components/{PlayerAccountGamingLimits-BrXUGipz.js → PlayerAccountGamingLimits-BKWM3ydF.js} +127 -127
- package/components/{PlayerAccountGamingLimits-BwYoIU8M.cjs → PlayerAccountGamingLimits-DSnskFV1.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-B5ITcUEU.js → PlayerAccountGamingLimitsConfirmationModal-278XFqj4.js} +33 -33
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BpGTQY8Q.js → PlayerAccountGamingLimitsConfirmationModal-BOGS6zWj.js} +33 -33
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BJUqmOGM.cjs → PlayerAccountGamingLimitsConfirmationModal-Y0WlAWLt.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-DsZYUSCI.js → PlayerAccountGamingLimitsGroupEdit-CCSs2ZZl.js} +227 -225
- package/components/{PlayerAccountGamingLimitsGroupEdit-K-lekHTx.js → PlayerAccountGamingLimitsGroupEdit-CTPRr65m.js} +227 -225
- package/components/PlayerAccountGamingLimitsGroupEdit-CvTM9Url.cjs +2 -0
- package/components/{PlayerAccountGamingLimitsHistory2-BWbMKCJM.js → PlayerAccountGamingLimitsHistory2-B4RJQdmm.js} +37 -37
- package/components/{PlayerAccountGamingLimitsHistory2-DbWCQlJP.cjs → PlayerAccountGamingLimitsHistory2-BK4iv-bI.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-CxA06bC4.js → PlayerAccountGamingLimitsHistory2-BaAKbqeZ.js} +39 -39
- package/components/{PlayerAccountGamingLimitsInfoCard-BFzvB3KC.cjs → PlayerAccountGamingLimitsInfoCard-BDk7ivhc.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-WqmdXNpw.js → PlayerAccountGamingLimitsInfoCard-BNWgZuBf.js} +83 -83
- package/components/{PlayerAccountGamingLimitsInfoCard-fSpypV1Q.js → PlayerAccountGamingLimitsInfoCard-CkWQ4EZm.js} +83 -83
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CKqk7okN.js → PlayerAccountGamingLimitsPage2Gm16-BqWqb_Sl.js} +103 -103
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CN784V5v.cjs → PlayerAccountGamingLimitsPage2Gm16-BtbMBUsn.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsPage2Gm16-DbTjbrCg.js → PlayerAccountGamingLimitsPage2Gm16-DgnhVkqB.js} +153 -153
- package/components/{PlayerAccountGamingLimitsPopup-1UbtHpM4.js → PlayerAccountGamingLimitsPopup-Dnb4sqOe.js} +26 -26
- package/components/{PlayerAccountGamingLimitsPopup-6hO_YTRk.js → PlayerAccountGamingLimitsPopup-QsGFiUFM.js} +26 -26
- package/components/{PlayerAccountGamingLimitsPopup-D5nYGWok.cjs → PlayerAccountGamingLimitsPopup-zCNpZt4B.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-H5X72FGo.js → PlayerAccountGamingLimitsWrapper2-BVmH_JL_.js} +37 -37
- package/components/{PlayerAccountGamingLimitsWrapper2-DkVrqK1a.cjs → PlayerAccountGamingLimitsWrapper2-Bj2uNFuV.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-DKH_oTPL.js → PlayerAccountGamingLimitsWrapper2-CNeKBKiF.js} +37 -37
- package/components/{PlayerAccountGeneralConfirmationModal-Fg_ynnO5.cjs → PlayerAccountGeneralConfirmationModal-BHzKxY1M.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-48XuglXa.js → PlayerAccountGeneralConfirmationModal-D8zWkoMs.js} +32 -32
- package/components/{PlayerAccountGeneralConfirmationModal-mKvnC-aM.js → PlayerAccountGeneralConfirmationModal-O_Thi6bs.js} +32 -32
- package/components/{PlayerAccountMenu-DZYiL86p.js → PlayerAccountMenu-BzSTtrmv.js} +36 -36
- package/components/{PlayerAccountMenu-D-3XXdrS.cjs → PlayerAccountMenu-CgsII09V.cjs} +1 -1
- package/components/{PlayerAccountMenu-DYFceiv-.js → PlayerAccountMenu-ectFLNth.js} +34 -34
- package/components/{PlayerAccountModal-BuDt5h1l.cjs → PlayerAccountModal-CY8gRMWy.cjs} +1 -1
- package/components/{PlayerAccountModal-DuBxYfB-.js → PlayerAccountModal-DaOLv-NY.js} +24 -24
- package/components/{PlayerAccountModal-vXNHQMMx.js → PlayerAccountModal-SvxOIw-1.js} +24 -24
- package/components/{PlayerAccountNotifications-D2sFlbP7.cjs → PlayerAccountNotifications-CIW_UfiN.cjs} +1 -1
- package/components/{PlayerAccountNotifications-BaVSuY0V.js → PlayerAccountNotifications-Df1nYl5z.js} +31 -31
- package/components/{PlayerAccountNotifications-eimwb2B_.js → PlayerAccountNotifications-lUtQW0cy.js} +30 -30
- package/components/{PlayerAccountProductRestriction-i5lUVlsQ.cjs → PlayerAccountProductRestriction-Bk8I1Rqd.cjs} +269 -269
- package/components/{PlayerAccountProductRestriction-Cbwqgb-P.js → PlayerAccountProductRestriction-DgJUoyYB.js} +1736 -1736
- package/components/{PlayerAccountProductRestriction-HYm0eIXb.js → PlayerAccountProductRestriction-EHl8M1GB.js} +1721 -1721
- package/components/{PlayerAccountReviewFrequency-B55vgMkU.js → PlayerAccountReviewFrequency-BBLUZ6ex.js} +27 -27
- package/components/{PlayerAccountReviewFrequency-oyuyzboO.cjs → PlayerAccountReviewFrequency-CBjQjnfc.cjs} +1 -1
- package/components/{PlayerAccountReviewFrequency-D39G6M8w.js → PlayerAccountReviewFrequency-P7uk_Ztp.js} +27 -27
- package/components/{PlayerAccountSelfExclusion-Btcxzmyl.js → PlayerAccountSelfExclusion-DfsaDGPw.js} +114 -113
- package/components/{PlayerAccountSelfExclusion-CCMP12tO.cjs → PlayerAccountSelfExclusion-DztxNwlD.cjs} +86 -86
- package/components/{PlayerAccountSelfExclusion-CY5wEDf5.js → PlayerAccountSelfExclusion-ovuuzWXL.js} +564 -563
- package/components/{PlayerAccountTimeout-Cl5M8UZM.js → PlayerAccountTimeout-B5IP0PdK.js} +59 -59
- package/components/{PlayerAccountTimeout-CBYSh_gx.cjs → PlayerAccountTimeout-BRXoWqhe.cjs} +1 -1
- package/components/{PlayerAccountTimeout-CnmuzL1o.js → PlayerAccountTimeout-DzQi6yWM.js} +59 -59
- package/components/{PlayerAccountTransactionsHistory-B89UQBgK.js → PlayerAccountTransactionsHistory-B3fkTCCB.js} +74 -74
- package/components/{PlayerAccountTransactionsHistory-DborEyiw.cjs → PlayerAccountTransactionsHistory-DyJM2Ruh.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-CuLSo_WG.js → PlayerAccountTransactionsHistory-dE8niHZ5.js} +74 -74
- package/components/{PlayerActiveBonuses-Rb7CqkQm.js → PlayerActiveBonuses-BRHjOIvu.js} +59 -59
- package/components/{PlayerActiveBonuses-Cv7645BT.js → PlayerActiveBonuses-CbX5Pr0C.js} +55 -55
- package/components/{PlayerActiveBonuses-rgpIrlXZ.cjs → PlayerActiveBonuses-DUjeakxU.cjs} +1 -1
- package/components/{PlayerBonusCard-D3S1mqXd.js → PlayerBonusCard-BjQyqGUx.js} +64 -64
- package/components/{PlayerBonusCard-DDnmH7Q3.cjs → PlayerBonusCard-L76jqlzO.cjs} +1 -1
- package/components/{PlayerBonusCard-Byfk3zTj.js → PlayerBonusCard-VRSzYcHq.js} +64 -64
- package/components/{PlayerBonusHistory-CjQW7Bz0.js → PlayerBonusHistory-C36LLD9L.js} +35 -35
- package/components/{PlayerBonusHistory-KRE5nRLu.cjs → PlayerBonusHistory-CaZuwvZh.cjs} +1 -1
- package/components/{PlayerBonusHistory-BKquFnB_.js → PlayerBonusHistory-zDuqv2Xe.js} +35 -35
- package/components/{PlayerChangePassword-Dse_H2fj.cjs → PlayerChangePassword-AMc1FhMX.cjs} +1 -1
- package/components/{PlayerChangePassword-CrimbboS.js → PlayerChangePassword-Df1yWLGd.js} +64 -64
- package/components/{PlayerChangePassword-DjvBDg3y.js → PlayerChangePassword-DvLZa59W.js} +64 -64
- package/components/{PlayerDeposit-BBN4CKJK.js → PlayerDeposit-BfA8FXpl.js} +80 -80
- package/components/{PlayerDeposit-BZ6g3CTd.js → PlayerDeposit-CaljSGlo.js} +80 -80
- package/components/PlayerDeposit-CiYmhvoJ.cjs +1 -0
- package/components/{PlayerGamingHistory-00NQrAip.js → PlayerGamingHistory-CAFJZ3_B.js} +61 -61
- package/components/{PlayerGamingHistory-S-SzMIdL.cjs → PlayerGamingHistory-CwViv4Q1.cjs} +1 -1
- package/components/{PlayerGamingHistory-DzArsva8.js → PlayerGamingHistory-DY_zyXD6.js} +69 -69
- package/components/{PlayerPendingWithdrawals-BFjzJT3E.js → PlayerPendingWithdrawals-B1VPUcDU.js} +26 -26
- package/components/{PlayerPendingWithdrawals-DjrsUKIF.cjs → PlayerPendingWithdrawals-Clnbqpbc.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-D97Q7Wwu.js → PlayerPendingWithdrawals-Cm0fwSwi.js} +26 -26
- package/components/{PlayerProfileInfo-glh0-LDE.cjs → PlayerProfileInfo-C679iFSl.cjs} +1 -1
- package/components/{PlayerProfileInfo-jmdB-wXa.js → PlayerProfileInfo-DPdHOj2U.js} +64 -64
- package/components/{PlayerProfileInfo-i9uFoUBd.js → PlayerProfileInfo-MihJad1H.js} +64 -64
- package/components/{PlayerRealityCheck-CYmf-RVV.cjs → PlayerRealityCheck-C4mPQixI.cjs} +1 -1
- package/components/{PlayerRealityCheck-C9r4TGt5.js → PlayerRealityCheck-CFudx21y.js} +45 -45
- package/components/{PlayerRealityCheck-pY-GH7Tx.js → PlayerRealityCheck-DTYvcrjT.js} +44 -44
- package/components/{PlayerTransactionHistory-DlY_0H_I.cjs → PlayerTransactionHistory-DPxtzy-C.cjs} +1 -1
- package/components/{PlayerTransactionHistory-CAA600Et.js → PlayerTransactionHistory-DiLrJt2G.js} +19 -19
- package/components/{PlayerTransactionHistory-DY9X6YZW.js → PlayerTransactionHistory-rDPZht6D.js} +19 -19
- package/components/{PlayerWithdrawal-BIFTys53.js → PlayerWithdrawal--Aa-nhcx.js} +19 -19
- package/components/{PlayerWithdrawal-Dt-iI81t.cjs → PlayerWithdrawal-CBCp9PZ6.cjs} +1 -1
- package/components/{PlayerWithdrawal-BcnzA5BS.js → PlayerWithdrawal-CXT9imAf.js} +19 -19
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{checkbox-group-input_16-BC4v8R1S.js → checkbox-group-input_16-BFzhy5Ds.js} +2730 -2726
- package/stencil/{checkbox-group-input_16-JIjNKsjV.cjs → checkbox-group-input_16-D97ZQUQc.cjs} +241 -241
- package/stencil/{checkbox-group-input_16-RYO1eLMo.js → checkbox-group-input_16-DWlrP0bl.js} +2731 -2727
- package/stencil/index-1ef3a64c-7FrzWBo0.js +572 -0
- package/stencil/index-1ef3a64c-CiqxxPPf.js +556 -0
- package/stencil/index-1ef3a64c-DYVBCVnw.cjs +1 -0
- package/stencil/{index-6e523641-BB_MNuoS.js → index-6e523641-B3-KBTxo.js} +215 -215
- package/stencil/index-6e523641-BidoKGkF.js +654 -0
- package/stencil/index-6e523641-YrOpGARh.cjs +1 -0
- package/stencil/{index-9c0f6c58-DjED2nNw.js → index-9c0f6c58-CeqaT62D.js} +197 -197
- package/stencil/index-9c0f6c58-DU0KIZIN.cjs +1 -0
- package/stencil/index-9c0f6c58-qzbktWKM.js +576 -0
- package/stencil/index-b2193545-BDXOeFnW.js +519 -0
- package/stencil/index-b2193545-Cspmk58C.js +503 -0
- package/stencil/index-b2193545-Dd6Y7OR7.cjs +1 -0
- package/stencil/index-c666b6e6-Al15kG4D.js +611 -0
- package/stencil/index-c666b6e6-B6H6r-L0.cjs +1 -0
- package/stencil/index-c666b6e6-DaWXT_VY.js +595 -0
- package/stencil/{pam-change-password-6b535bd5-CeXNndIG.cjs → pam-change-password-6b535bd5-BiGQ8KVX.cjs} +1 -1
- package/stencil/{pam-change-password-6b535bd5-CRmngfXe.js → pam-change-password-6b535bd5-CwKI0Z0X.js} +1 -1
- package/stencil/{pam-change-password-6b535bd5-BQRVBjrK.js → pam-change-password-6b535bd5-IDEQf7lQ.js} +1 -1
- package/stencil/{pam-change-password-D00SLeAW.js → pam-change-password-ZcgLi1FB.js} +1 -1
- package/stencil/{pam-change-password-DYLwctX0.cjs → pam-change-password-okTOstph.cjs} +1 -1
- package/stencil/{pam-change-password-DjJxocc2.js → pam-change-password-uAFIJHlm.js} +1 -1
- package/stencil/{player-kyc-verification-BUKoBt3P.js → player-kyc-verification-B92GKGxG.js} +1 -1
- package/stencil/{player-kyc-verification-vQ6gNPBe.js → player-kyc-verification-BgWMJYb9.js} +1 -1
- package/stencil/{player-kyc-verification-Cg0fVyvL.cjs → player-kyc-verification-CswmhI0w.cjs} +1 -1
- package/stencil/{ui-skeleton-C2ZVNvDq.cjs → ui-skeleton-8FQE3dtj.cjs} +1 -1
- package/stencil/{ui-skeleton-BQnxp85t.js → ui-skeleton-D72p-Fr7.js} +2 -2
- package/stencil/{ui-skeleton-CTFP1U_H.js → ui-skeleton-Xqkce5rC.js} +2 -2
- package/stencil/{ui-skeleton-ed169f8f-BXqYzfTU.js → ui-skeleton-ed169f8f-BseCcEeK.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-OyzwWyyv.js → ui-skeleton-ed169f8f-DOY6gII1.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-DCJKKb_M.cjs → ui-skeleton-ed169f8f-Dby1l0Am.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-DmXcotOq.js → user-deposit-withdrawal-Bl8GtEeG.js} +135 -135
- package/stencil/{user-deposit-withdrawal-DfWpITDc.cjs → user-deposit-withdrawal-DSds1LFu.cjs} +2 -2
- package/stencil/{user-deposit-withdrawal-C5lc1C0l.js → user-deposit-withdrawal-DcXo00rH.js} +147 -147
- package/stencil/{user-transaction-history-BOayQu-b.cjs → user-transaction-history-BOyTKs-L.cjs} +1 -1
- package/stencil/{user-transaction-history-Bd1eC2iV.js → user-transaction-history-DQGnZaCf.js} +1 -1
- package/stencil/{user-transaction-history-BkmoDFTs.js → user-transaction-history-DsrE-ay4.js} +1 -1
- package/stencil/{user-transaction-history_2-CI6uuSIf.cjs → user-transaction-history_2-2E4LODiP.cjs} +279 -279
- package/stencil/{user-transaction-history_2-BSVh_kdE.js → user-transaction-history_2-Bd2twNve.js} +4071 -4067
- package/stencil/{user-transaction-history_2-PSCBkBVb.js → user-transaction-history_2-DSqMAOln.js} +4057 -4053
- package/components/GeneralLogout-CK8tLROK.cjs +0 -21
- package/components/PlayerAccountBettingHistory-CSaFsnwC.cjs +0 -1
- package/components/PlayerAccountBettingHistory-D3xhBTAE.js +0 -311
- package/components/PlayerAccountBettingHistory-RBEtFHjB.js +0 -310
- package/components/PlayerAccountGamingLimitsGroupEdit-CmipcCdJ.cjs +0 -2
- package/components/PlayerDeposit-rfdArTZi.cjs +0 -1
- package/stencil/index-1ef3a64c-BzR_jMKw.cjs +0 -1
- package/stencil/index-1ef3a64c-CEngIsyB.js +0 -556
- package/stencil/index-1ef3a64c-D5p-wZAC.js +0 -572
- package/stencil/index-6e523641-C2D7V1Bj.js +0 -654
- package/stencil/index-6e523641-CKmTS6uC.cjs +0 -1
- package/stencil/index-9c0f6c58-DEQL19Io.js +0 -576
- package/stencil/index-9c0f6c58-XIZolvs1.cjs +0 -1
- package/stencil/index-b2193545-0zWC7J3V.js +0 -519
- package/stencil/index-b2193545-BDUg7na_.js +0 -503
- package/stencil/index-b2193545-C-iFa_cO.cjs +0 -1
- package/stencil/index-c666b6e6-Byhd6hcm.js +0 -595
- package/stencil/index-c666b6e6-CF6tkxHf.cjs +0 -1
- package/stencil/index-c666b6e6-Do6y6LKI.js +0 -611
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
function H() {
|
|
2
2
|
}
|
|
3
|
-
const
|
|
4
|
-
function
|
|
3
|
+
const Hr = (e) => e;
|
|
4
|
+
function Br(e, t) {
|
|
5
5
|
for (const r in t)
|
|
6
6
|
e[r] = t[r];
|
|
7
7
|
return (
|
|
@@ -9,29 +9,29 @@ function Ar(e, t) {
|
|
|
9
9
|
e
|
|
10
10
|
);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function Mt(e) {
|
|
13
13
|
return e();
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function ut() {
|
|
16
16
|
return /* @__PURE__ */ Object.create(null);
|
|
17
17
|
}
|
|
18
|
-
function
|
|
19
|
-
e.forEach(
|
|
18
|
+
function G(e) {
|
|
19
|
+
e.forEach(Mt);
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function he(e) {
|
|
22
22
|
return typeof e == "function";
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function Ct(e, t) {
|
|
25
25
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
26
26
|
}
|
|
27
27
|
let pe;
|
|
28
|
-
function
|
|
28
|
+
function bo(e, t) {
|
|
29
29
|
return e === t ? !0 : (pe || (pe = document.createElement("a")), pe.href = t, e === pe.href);
|
|
30
30
|
}
|
|
31
|
-
function
|
|
31
|
+
function Ar(e) {
|
|
32
32
|
return Object.keys(e).length === 0;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function $t(e, ...t) {
|
|
35
35
|
if (e == null) {
|
|
36
36
|
for (const n of t)
|
|
37
37
|
n(void 0);
|
|
@@ -40,19 +40,19 @@ function Ut(e, ...t) {
|
|
|
40
40
|
const r = e.subscribe(...t);
|
|
41
41
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
42
42
|
}
|
|
43
|
-
function
|
|
44
|
-
e.$$.on_destroy.push(
|
|
43
|
+
function Pr(e, t, r) {
|
|
44
|
+
e.$$.on_destroy.push($t(t, r));
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function go(e, t, r, n) {
|
|
47
47
|
if (e) {
|
|
48
|
-
const i =
|
|
48
|
+
const i = Rt(e, t, r, n);
|
|
49
49
|
return e[0](i);
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
|
-
function
|
|
53
|
-
return e[1] && n ?
|
|
52
|
+
function Rt(e, t, r, n) {
|
|
53
|
+
return e[1] && n ? Br(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function yo(e, t, r, n) {
|
|
56
56
|
if (e[2] && n) {
|
|
57
57
|
const i = e[2](n(r));
|
|
58
58
|
if (t.dirty === void 0)
|
|
@@ -67,13 +67,13 @@ function _o(e, t, r, n) {
|
|
|
67
67
|
}
|
|
68
68
|
return t.dirty;
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function vo(e, t, r, n, i, o) {
|
|
71
71
|
if (i) {
|
|
72
|
-
const a =
|
|
72
|
+
const a = Rt(t, r, n, o);
|
|
73
73
|
e.p(a, i);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function _o(e) {
|
|
77
77
|
if (e.ctx.length > 32) {
|
|
78
78
|
const t = [], r = e.ctx.length / 32;
|
|
79
79
|
for (let n = 0; n < r; n++)
|
|
@@ -82,23 +82,23 @@ function xo(e) {
|
|
|
82
82
|
}
|
|
83
83
|
return -1;
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function Eo(e) {
|
|
86
86
|
return e ?? "";
|
|
87
87
|
}
|
|
88
|
-
function
|
|
89
|
-
return e &&
|
|
88
|
+
function xo(e) {
|
|
89
|
+
return e && he(e.destroy) ? e.destroy : H;
|
|
90
90
|
}
|
|
91
|
-
const
|
|
92
|
-
let
|
|
91
|
+
const Ut = typeof window < "u";
|
|
92
|
+
let Or = Ut ? () => window.performance.now() : () => Date.now(), rt = Ut ? (e) => requestAnimationFrame(e) : H;
|
|
93
93
|
const W = /* @__PURE__ */ new Set();
|
|
94
|
-
function
|
|
94
|
+
function Dt(e) {
|
|
95
95
|
W.forEach((t) => {
|
|
96
96
|
t.c(e) || (W.delete(t), t.f());
|
|
97
|
-
}), W.size !== 0 &&
|
|
97
|
+
}), W.size !== 0 && rt(Dt);
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function Ir(e) {
|
|
100
100
|
let t;
|
|
101
|
-
return W.size === 0 &&
|
|
101
|
+
return W.size === 0 && rt(Dt), {
|
|
102
102
|
promise: new Promise((r) => {
|
|
103
103
|
W.add(t = { c: e, f: r });
|
|
104
104
|
}),
|
|
@@ -110,14 +110,14 @@ function Lr(e) {
|
|
|
110
110
|
function A(e, t) {
|
|
111
111
|
e.appendChild(t);
|
|
112
112
|
}
|
|
113
|
-
function
|
|
114
|
-
const n =
|
|
113
|
+
function Lr(e, t, r) {
|
|
114
|
+
const n = nt(e);
|
|
115
115
|
if (!n.getElementById(t)) {
|
|
116
116
|
const i = I("style");
|
|
117
|
-
i.id = t, i.textContent = r,
|
|
117
|
+
i.id = t, i.textContent = r, Gt(n, i);
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function nt(e) {
|
|
121
121
|
if (!e)
|
|
122
122
|
return document;
|
|
123
123
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -127,24 +127,24 @@ function at(e) {
|
|
|
127
127
|
t
|
|
128
128
|
) : e.ownerDocument;
|
|
129
129
|
}
|
|
130
|
-
function
|
|
130
|
+
function Nr(e) {
|
|
131
131
|
const t = I("style");
|
|
132
|
-
return t.textContent = "/* empty */",
|
|
132
|
+
return t.textContent = "/* empty */", Gt(nt(e), t), t.sheet;
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function Gt(e, t) {
|
|
135
135
|
return A(
|
|
136
136
|
/** @type {Document} */
|
|
137
137
|
e.head || e,
|
|
138
138
|
t
|
|
139
139
|
), t.sheet;
|
|
140
140
|
}
|
|
141
|
-
function
|
|
141
|
+
function K(e, t, r) {
|
|
142
142
|
e.insertBefore(t, r || null);
|
|
143
143
|
}
|
|
144
|
-
function
|
|
144
|
+
function D(e) {
|
|
145
145
|
e.parentNode && e.parentNode.removeChild(e);
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function So(e, t) {
|
|
148
148
|
for (let r = 0; r < e.length; r += 1)
|
|
149
149
|
e[r] && e[r].d(t);
|
|
150
150
|
}
|
|
@@ -154,19 +154,19 @@ function I(e) {
|
|
|
154
154
|
function V(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 To() {
|
|
164
|
+
return le("");
|
|
165
165
|
}
|
|
166
|
-
function
|
|
166
|
+
function Ft(e, t, r, n) {
|
|
167
167
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
168
168
|
}
|
|
169
|
-
function
|
|
169
|
+
function wo(e) {
|
|
170
170
|
return function(t) {
|
|
171
171
|
return t.preventDefault(), e.call(this, t);
|
|
172
172
|
};
|
|
@@ -174,11 +174,11 @@ function Bo(e) {
|
|
|
174
174
|
function B(e, t, r) {
|
|
175
175
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
176
176
|
}
|
|
177
|
-
function
|
|
177
|
+
function Ho(e, t, r) {
|
|
178
178
|
const n = t.toLowerCase();
|
|
179
179
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : B(e, t, r);
|
|
180
180
|
}
|
|
181
|
-
function
|
|
181
|
+
function Bo(e) {
|
|
182
182
|
let t;
|
|
183
183
|
return {
|
|
184
184
|
/* push */
|
|
@@ -191,23 +191,23 @@ function Po(e) {
|
|
|
191
191
|
}
|
|
192
192
|
};
|
|
193
193
|
}
|
|
194
|
-
function
|
|
194
|
+
function Ao(e) {
|
|
195
195
|
return e === "" ? null : +e;
|
|
196
196
|
}
|
|
197
|
-
function
|
|
197
|
+
function Cr(e) {
|
|
198
198
|
return Array.from(e.childNodes);
|
|
199
199
|
}
|
|
200
|
-
function
|
|
200
|
+
function jt(e, t) {
|
|
201
201
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
202
202
|
t);
|
|
203
203
|
}
|
|
204
|
-
function
|
|
204
|
+
function Po(e, t) {
|
|
205
205
|
e.value = t ?? "";
|
|
206
206
|
}
|
|
207
|
-
function
|
|
207
|
+
function $r(e, t, r, n) {
|
|
208
208
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
209
209
|
}
|
|
210
|
-
function
|
|
210
|
+
function Oo(e, t, r) {
|
|
211
211
|
for (let n = 0; n < e.options.length; n += 1) {
|
|
212
212
|
const i = e.options[n];
|
|
213
213
|
if (i.__value === t) {
|
|
@@ -217,17 +217,17 @@ function Lo(e, t, r) {
|
|
|
217
217
|
}
|
|
218
218
|
(!r || t !== void 0) && (e.selectedIndex = -1);
|
|
219
219
|
}
|
|
220
|
-
function
|
|
220
|
+
function Io(e) {
|
|
221
221
|
const t = e.querySelector(":checked");
|
|
222
222
|
return t && t.__value;
|
|
223
223
|
}
|
|
224
|
-
function
|
|
224
|
+
function Lo(e, t, r) {
|
|
225
225
|
e.classList.toggle(t, !!r);
|
|
226
226
|
}
|
|
227
|
-
function
|
|
227
|
+
function Rr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
|
|
228
228
|
return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
|
|
229
229
|
}
|
|
230
|
-
class
|
|
230
|
+
class No {
|
|
231
231
|
/**
|
|
232
232
|
* @private
|
|
233
233
|
* @default false
|
|
@@ -282,7 +282,7 @@ class Co {
|
|
|
282
282
|
* @returns {void} */
|
|
283
283
|
i(t) {
|
|
284
284
|
for (let r = 0; r < this.n.length; r += 1)
|
|
285
|
-
|
|
285
|
+
K(this.t, this.n[r], t);
|
|
286
286
|
}
|
|
287
287
|
/**
|
|
288
288
|
* @param {string} html
|
|
@@ -294,10 +294,10 @@ class Co {
|
|
|
294
294
|
/**
|
|
295
295
|
* @returns {void} */
|
|
296
296
|
d() {
|
|
297
|
-
this.n.forEach(
|
|
297
|
+
this.n.forEach(D);
|
|
298
298
|
}
|
|
299
299
|
}
|
|
300
|
-
function
|
|
300
|
+
function Ur(e) {
|
|
301
301
|
const t = {};
|
|
302
302
|
return e.childNodes.forEach(
|
|
303
303
|
/** @param {Element} node */
|
|
@@ -314,153 +314,153 @@ function Dr(e) {
|
|
|
314
314
|
t = (t << 5) - t ^ e.charCodeAt(r);
|
|
315
315
|
return t >>> 0;
|
|
316
316
|
}
|
|
317
|
-
function
|
|
318
|
-
const r = { stylesheet:
|
|
317
|
+
function Gr(e, t) {
|
|
318
|
+
const r = { stylesheet: Nr(t), rules: {} };
|
|
319
319
|
return Ee.set(e, r), r;
|
|
320
320
|
}
|
|
321
|
-
function
|
|
321
|
+
function ht(e, t, r, n, i, o, a, s = 0) {
|
|
322
322
|
const h = 16.666 / n;
|
|
323
323
|
let u = `{
|
|
324
324
|
`;
|
|
325
|
-
for (let
|
|
326
|
-
const T = t + (r - t) * o(
|
|
327
|
-
u +=
|
|
325
|
+
for (let E = 0; E <= 1; E += h) {
|
|
326
|
+
const T = t + (r - t) * o(E);
|
|
327
|
+
u += E * 100 + `%{${a(T, 1 - T)}}
|
|
328
328
|
`;
|
|
329
329
|
}
|
|
330
330
|
const l = u + `100% {${a(r, 1 - r)}}
|
|
331
|
-
}`, f = `__svelte_${Dr(l)}_${s}`, c =
|
|
331
|
+
}`, f = `__svelte_${Dr(l)}_${s}`, c = nt(e), { stylesheet: d, rules: p } = Ee.get(c) || Gr(c, e);
|
|
332
332
|
p[f] || (p[f] = !0, d.insertRule(`@keyframes ${f} ${l}`, d.cssRules.length));
|
|
333
333
|
const m = e.style.animation || "";
|
|
334
334
|
return e.style.animation = `${m ? `${m}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, xe += 1, f;
|
|
335
335
|
}
|
|
336
|
-
function
|
|
336
|
+
function Fr(e, t) {
|
|
337
337
|
const r = (e.style.animation || "").split(", "), n = r.filter(
|
|
338
338
|
t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
|
|
339
339
|
// remove all Svelte animations
|
|
340
340
|
), i = r.length - n.length;
|
|
341
|
-
i && (e.style.animation = n.join(", "), xe -= i, xe ||
|
|
341
|
+
i && (e.style.animation = n.join(", "), xe -= i, xe || jr());
|
|
342
342
|
}
|
|
343
|
-
function
|
|
344
|
-
|
|
343
|
+
function jr() {
|
|
344
|
+
rt(() => {
|
|
345
345
|
xe || (Ee.forEach((e) => {
|
|
346
346
|
const { ownerNode: t } = e.stylesheet;
|
|
347
|
-
t &&
|
|
347
|
+
t && D(t);
|
|
348
348
|
}), Ee.clear());
|
|
349
349
|
});
|
|
350
350
|
}
|
|
351
|
-
let
|
|
352
|
-
function
|
|
353
|
-
|
|
351
|
+
let se;
|
|
352
|
+
function oe(e) {
|
|
353
|
+
se = e;
|
|
354
354
|
}
|
|
355
|
-
function
|
|
356
|
-
if (!
|
|
355
|
+
function kr() {
|
|
356
|
+
if (!se)
|
|
357
357
|
throw new Error("Function called outside component initialization");
|
|
358
|
-
return
|
|
358
|
+
return se;
|
|
359
359
|
}
|
|
360
|
-
function
|
|
361
|
-
|
|
360
|
+
function Vr(e) {
|
|
361
|
+
kr().$$.on_mount.push(e);
|
|
362
362
|
}
|
|
363
|
-
const X = [],
|
|
363
|
+
const X = [], Fe = [];
|
|
364
364
|
let z = [];
|
|
365
|
-
const
|
|
366
|
-
let
|
|
367
|
-
function
|
|
368
|
-
|
|
365
|
+
const lt = [], kt = /* @__PURE__ */ Promise.resolve();
|
|
366
|
+
let je = !1;
|
|
367
|
+
function Vt() {
|
|
368
|
+
je || (je = !0, kt.then(L));
|
|
369
369
|
}
|
|
370
|
-
function
|
|
371
|
-
return
|
|
370
|
+
function Mo() {
|
|
371
|
+
return Vt(), kt;
|
|
372
372
|
}
|
|
373
373
|
function Se(e) {
|
|
374
374
|
z.push(e);
|
|
375
375
|
}
|
|
376
|
-
const
|
|
376
|
+
const Le = /* @__PURE__ */ new Set();
|
|
377
377
|
let j = 0;
|
|
378
378
|
function L() {
|
|
379
379
|
if (j !== 0)
|
|
380
380
|
return;
|
|
381
|
-
const e =
|
|
381
|
+
const e = se;
|
|
382
382
|
do {
|
|
383
383
|
try {
|
|
384
384
|
for (; j < X.length; ) {
|
|
385
385
|
const t = X[j];
|
|
386
|
-
j++,
|
|
386
|
+
j++, oe(t), Xr(t.$$);
|
|
387
387
|
}
|
|
388
388
|
} catch (t) {
|
|
389
389
|
throw X.length = 0, j = 0, t;
|
|
390
390
|
}
|
|
391
|
-
for (
|
|
392
|
-
|
|
391
|
+
for (oe(null), X.length = 0, j = 0; Fe.length; )
|
|
392
|
+
Fe.pop()();
|
|
393
393
|
for (let t = 0; t < z.length; t += 1) {
|
|
394
394
|
const r = z[t];
|
|
395
|
-
|
|
395
|
+
Le.has(r) || (Le.add(r), r());
|
|
396
396
|
}
|
|
397
397
|
z.length = 0;
|
|
398
398
|
} while (X.length);
|
|
399
|
-
for (;
|
|
400
|
-
|
|
401
|
-
|
|
399
|
+
for (; lt.length; )
|
|
400
|
+
lt.pop()();
|
|
401
|
+
je = !1, Le.clear(), oe(e);
|
|
402
402
|
}
|
|
403
|
-
function
|
|
403
|
+
function Xr(e) {
|
|
404
404
|
if (e.fragment !== null) {
|
|
405
|
-
e.update(),
|
|
405
|
+
e.update(), G(e.before_update);
|
|
406
406
|
const t = e.dirty;
|
|
407
407
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Se);
|
|
408
408
|
}
|
|
409
409
|
}
|
|
410
|
-
function
|
|
410
|
+
function Wr(e) {
|
|
411
411
|
const t = [], r = [];
|
|
412
412
|
z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), z = t;
|
|
413
413
|
}
|
|
414
|
-
let
|
|
415
|
-
function
|
|
416
|
-
return
|
|
417
|
-
|
|
418
|
-
})),
|
|
414
|
+
let ne;
|
|
415
|
+
function zr() {
|
|
416
|
+
return ne || (ne = Promise.resolve(), ne.then(() => {
|
|
417
|
+
ne = null;
|
|
418
|
+
})), ne;
|
|
419
419
|
}
|
|
420
|
-
function
|
|
421
|
-
e.dispatchEvent(
|
|
420
|
+
function Ne(e, t, r) {
|
|
421
|
+
e.dispatchEvent(Rr(`${t ? "intro" : "outro"}${r}`));
|
|
422
422
|
}
|
|
423
423
|
const be = /* @__PURE__ */ new Set();
|
|
424
|
-
let
|
|
425
|
-
function
|
|
426
|
-
|
|
424
|
+
let N;
|
|
425
|
+
function Co() {
|
|
426
|
+
N = {
|
|
427
427
|
r: 0,
|
|
428
428
|
c: [],
|
|
429
|
-
p:
|
|
429
|
+
p: N
|
|
430
430
|
// parent group
|
|
431
431
|
};
|
|
432
432
|
}
|
|
433
|
-
function
|
|
434
|
-
|
|
433
|
+
function $o() {
|
|
434
|
+
N.r || G(N.c), N = N.p;
|
|
435
435
|
}
|
|
436
|
-
function
|
|
436
|
+
function Zr(e, t) {
|
|
437
437
|
e && e.i && (be.delete(e), e.i(t));
|
|
438
438
|
}
|
|
439
|
-
function
|
|
439
|
+
function Ro(e, t, r, n) {
|
|
440
440
|
if (e && e.o) {
|
|
441
441
|
if (be.has(e))
|
|
442
442
|
return;
|
|
443
|
-
be.add(e),
|
|
443
|
+
be.add(e), N.c.push(() => {
|
|
444
444
|
be.delete(e), n && (r && e.d(1), n());
|
|
445
445
|
}), e.o(t);
|
|
446
446
|
} else
|
|
447
447
|
n && n();
|
|
448
448
|
}
|
|
449
|
-
const
|
|
450
|
-
function
|
|
449
|
+
const qr = { duration: 0 };
|
|
450
|
+
function Uo(e, t, r, n) {
|
|
451
451
|
let o = t(e, r, { direction: "both" }), a = n ? 0 : 1, s = null, h = null, u = null, l;
|
|
452
452
|
function f() {
|
|
453
|
-
u &&
|
|
453
|
+
u && Fr(e, u);
|
|
454
454
|
}
|
|
455
455
|
function c(p, m) {
|
|
456
|
-
const
|
|
456
|
+
const E = (
|
|
457
457
|
/** @type {Program['d']} */
|
|
458
458
|
p.b - a
|
|
459
459
|
);
|
|
460
|
-
return m *= Math.abs(
|
|
460
|
+
return m *= Math.abs(E), {
|
|
461
461
|
a,
|
|
462
462
|
b: p.b,
|
|
463
|
-
d:
|
|
463
|
+
d: E,
|
|
464
464
|
duration: m,
|
|
465
465
|
start: p.start,
|
|
466
466
|
end: p.start + m,
|
|
@@ -470,17 +470,17 @@ function Do(e, t, r, n) {
|
|
|
470
470
|
function d(p) {
|
|
471
471
|
const {
|
|
472
472
|
delay: m = 0,
|
|
473
|
-
duration:
|
|
474
|
-
easing: T =
|
|
473
|
+
duration: E = 300,
|
|
474
|
+
easing: T = Hr,
|
|
475
475
|
tick: P = H,
|
|
476
476
|
css: x
|
|
477
|
-
} = o ||
|
|
478
|
-
start:
|
|
477
|
+
} = o || qr, O = {
|
|
478
|
+
start: Or() + m,
|
|
479
479
|
b: p
|
|
480
480
|
};
|
|
481
|
-
p || (O.group =
|
|
482
|
-
e.inert, e.inert = !0)), s || h ? h = O : (x && (f(), u =
|
|
483
|
-
if (h && w > h.start && (s = c(h,
|
|
481
|
+
p || (O.group = N, N.r += 1), "inert" in e && (p ? l !== void 0 && (e.inert = l) : (l = /** @type {HTMLElement} */
|
|
482
|
+
e.inert, e.inert = !0)), s || h ? h = O : (x && (f(), u = ht(e, a, p, E, m, T, x)), p && P(0, 1), s = c(O, E), Se(() => Ne(e, p, "start")), Ir((w) => {
|
|
483
|
+
if (h && w > h.start && (s = c(h, E), h = null, Ne(e, s.b, "start"), x && (f(), u = ht(
|
|
484
484
|
e,
|
|
485
485
|
a,
|
|
486
486
|
s.b,
|
|
@@ -490,7 +490,7 @@ function Do(e, t, r, n) {
|
|
|
490
490
|
o.css
|
|
491
491
|
))), s) {
|
|
492
492
|
if (w >= s.end)
|
|
493
|
-
P(a = s.b, 1 - a),
|
|
493
|
+
P(a = s.b, 1 - a), Ne(e, s.b, "end"), h || (s.b ? f() : --s.group.r || G(s.group.c)), s = null;
|
|
494
494
|
else if (w >= s.start) {
|
|
495
495
|
const $ = w - s.start;
|
|
496
496
|
a = s.a + s.d * T($ / s.duration), P(a, 1 - a);
|
|
@@ -501,7 +501,7 @@ function Do(e, t, r, n) {
|
|
|
501
501
|
}
|
|
502
502
|
return {
|
|
503
503
|
run(p) {
|
|
504
|
-
|
|
504
|
+
he(o) ? zr().then(() => {
|
|
505
505
|
o = o({ direction: p ? "in" : "out" }), d(p);
|
|
506
506
|
}) : d(p);
|
|
507
507
|
},
|
|
@@ -510,26 +510,26 @@ function Do(e, t, r, n) {
|
|
|
510
510
|
}
|
|
511
511
|
};
|
|
512
512
|
}
|
|
513
|
-
function
|
|
513
|
+
function Do(e) {
|
|
514
514
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
515
515
|
}
|
|
516
|
-
function
|
|
516
|
+
function Qr(e, t, r) {
|
|
517
517
|
const { fragment: n, after_update: i } = e.$$;
|
|
518
518
|
n && n.m(t, r), Se(() => {
|
|
519
|
-
const o = e.$$.on_mount.map(
|
|
520
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
519
|
+
const o = e.$$.on_mount.map(Mt).filter(he);
|
|
520
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : G(o), e.$$.on_mount = [];
|
|
521
521
|
}), i.forEach(Se);
|
|
522
522
|
}
|
|
523
|
-
function
|
|
523
|
+
function Jr(e, t) {
|
|
524
524
|
const r = e.$$;
|
|
525
|
-
r.fragment !== null && (
|
|
525
|
+
r.fragment !== null && (Wr(r.after_update), G(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
526
526
|
}
|
|
527
|
-
function
|
|
528
|
-
e.$$.dirty[0] === -1 && (X.push(e),
|
|
527
|
+
function Yr(e, t) {
|
|
528
|
+
e.$$.dirty[0] === -1 && (X.push(e), Vt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
529
529
|
}
|
|
530
|
-
function
|
|
531
|
-
const h =
|
|
532
|
-
|
|
530
|
+
function Kr(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
531
|
+
const h = se;
|
|
532
|
+
oe(e);
|
|
533
533
|
const u = e.$$ = {
|
|
534
534
|
fragment: null,
|
|
535
535
|
ctx: [],
|
|
@@ -537,7 +537,7 @@ function en(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
537
537
|
props: o,
|
|
538
538
|
update: H,
|
|
539
539
|
not_equal: i,
|
|
540
|
-
bound:
|
|
540
|
+
bound: ut(),
|
|
541
541
|
// lifecycle
|
|
542
542
|
on_mount: [],
|
|
543
543
|
on_destroy: [],
|
|
@@ -546,7 +546,7 @@ function en(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
546
546
|
after_update: [],
|
|
547
547
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
548
548
|
// everything else
|
|
549
|
-
callbacks:
|
|
549
|
+
callbacks: ut(),
|
|
550
550
|
dirty: s,
|
|
551
551
|
skip_bound: !1,
|
|
552
552
|
root: t.target || h.$$.root
|
|
@@ -555,19 +555,19 @@ function en(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
555
555
|
let l = !1;
|
|
556
556
|
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
|
|
557
557
|
const p = d.length ? d[0] : c;
|
|
558
|
-
return u.ctx && i(u.ctx[f], u.ctx[f] = p) && (!u.skip_bound && u.bound[f] && u.bound[f](p), l &&
|
|
559
|
-
}) : [], u.update(), l = !0,
|
|
558
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = p) && (!u.skip_bound && u.bound[f] && u.bound[f](p), l && Yr(e, f)), c;
|
|
559
|
+
}) : [], u.update(), l = !0, G(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
560
560
|
if (t.hydrate) {
|
|
561
|
-
const f =
|
|
562
|
-
u.fragment && u.fragment.l(f), f.forEach(
|
|
561
|
+
const f = Cr(t.target);
|
|
562
|
+
u.fragment && u.fragment.l(f), f.forEach(D);
|
|
563
563
|
} else
|
|
564
564
|
u.fragment && u.fragment.c();
|
|
565
|
-
t.intro &&
|
|
565
|
+
t.intro && Zr(e.$$.fragment), Qr(e, t.target, t.anchor), L();
|
|
566
566
|
}
|
|
567
|
-
|
|
567
|
+
oe(h);
|
|
568
568
|
}
|
|
569
|
-
let
|
|
570
|
-
typeof HTMLElement == "function" && (
|
|
569
|
+
let Xt;
|
|
570
|
+
typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
|
|
571
571
|
/** The Svelte component constructor */
|
|
572
572
|
$$ctor;
|
|
573
573
|
/** Slots */
|
|
@@ -616,22 +616,22 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
|
616
616
|
* @param {HTMLElement} [anchor]
|
|
617
617
|
*/
|
|
618
618
|
m: function(h, u) {
|
|
619
|
-
|
|
619
|
+
K(h, o, u);
|
|
620
620
|
},
|
|
621
621
|
d: function(h) {
|
|
622
|
-
h &&
|
|
622
|
+
h && D(o);
|
|
623
623
|
}
|
|
624
624
|
};
|
|
625
625
|
};
|
|
626
626
|
};
|
|
627
627
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
628
628
|
return;
|
|
629
|
-
const t = {}, r =
|
|
629
|
+
const t = {}, r = Ur(this);
|
|
630
630
|
for (const i of this.$$s)
|
|
631
631
|
i in r && (t[i] = [e(i)]);
|
|
632
632
|
for (const i of this.attributes) {
|
|
633
633
|
const o = this.$$g_p(i.name);
|
|
634
|
-
o in this.$$d || (this.$$d[o] =
|
|
634
|
+
o in this.$$d || (this.$$d[o] = ge(o, i.value, this.$$p_d, "toProp"));
|
|
635
635
|
}
|
|
636
636
|
for (const i in this.$$p_d)
|
|
637
637
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -649,7 +649,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
|
649
649
|
this.$$r = !0;
|
|
650
650
|
for (const i in this.$$p_d)
|
|
651
651
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
652
|
-
const o =
|
|
652
|
+
const o = ge(
|
|
653
653
|
i,
|
|
654
654
|
this.$$d[i],
|
|
655
655
|
this.$$p_d,
|
|
@@ -671,7 +671,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
|
671
671
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
672
672
|
// and setting attributes through setAttribute etc, this is helpful
|
|
673
673
|
attributeChangedCallback(e, t, r) {
|
|
674
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
674
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = ge(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
675
675
|
}
|
|
676
676
|
disconnectedCallback() {
|
|
677
677
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -684,7 +684,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
|
684
684
|
) || e;
|
|
685
685
|
}
|
|
686
686
|
});
|
|
687
|
-
function
|
|
687
|
+
function ge(e, t, r, n) {
|
|
688
688
|
const i = r[e]?.type;
|
|
689
689
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
690
690
|
return t;
|
|
@@ -713,8 +713,8 @@ function ye(e, t, r, n) {
|
|
|
713
713
|
return t;
|
|
714
714
|
}
|
|
715
715
|
}
|
|
716
|
-
function
|
|
717
|
-
let a = class extends
|
|
716
|
+
function en(e, t, r, n, i, o) {
|
|
717
|
+
let a = class extends Xt {
|
|
718
718
|
constructor() {
|
|
719
719
|
super(e, r, i), this.$$p_d = t;
|
|
720
720
|
}
|
|
@@ -730,7 +730,7 @@ function tn(e, t, r, n, i, o) {
|
|
|
730
730
|
return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
|
|
731
731
|
},
|
|
732
732
|
set(h) {
|
|
733
|
-
h =
|
|
733
|
+
h = ge(s, h, t), this.$$d[s] = h, this.$$c?.$set({ [s]: h });
|
|
734
734
|
}
|
|
735
735
|
});
|
|
736
736
|
}), n.forEach((s) => {
|
|
@@ -742,7 +742,7 @@ function tn(e, t, r, n, i, o) {
|
|
|
742
742
|
}), e.element = /** @type {any} */
|
|
743
743
|
a, a;
|
|
744
744
|
}
|
|
745
|
-
class
|
|
745
|
+
class tn {
|
|
746
746
|
/**
|
|
747
747
|
* ### PRIVATE API
|
|
748
748
|
*
|
|
@@ -761,7 +761,7 @@ class rn {
|
|
|
761
761
|
$$set = void 0;
|
|
762
762
|
/** @returns {void} */
|
|
763
763
|
$destroy() {
|
|
764
|
-
|
|
764
|
+
Jr(this, 1), this.$destroy = H;
|
|
765
765
|
}
|
|
766
766
|
/**
|
|
767
767
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -770,7 +770,7 @@ class rn {
|
|
|
770
770
|
* @returns {() => void}
|
|
771
771
|
*/
|
|
772
772
|
$on(t, r) {
|
|
773
|
-
if (!
|
|
773
|
+
if (!he(r))
|
|
774
774
|
return H;
|
|
775
775
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
776
776
|
return n.push(r), () => {
|
|
@@ -783,11 +783,11 @@ class rn {
|
|
|
783
783
|
* @returns {void}
|
|
784
784
|
*/
|
|
785
785
|
$set(t) {
|
|
786
|
-
this.$$set && !
|
|
786
|
+
this.$$set && !Ar(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
787
787
|
}
|
|
788
788
|
}
|
|
789
|
-
const
|
|
790
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
789
|
+
const rn = "4";
|
|
790
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(rn);
|
|
791
791
|
/*! *****************************************************************************
|
|
792
792
|
Copyright (c) Microsoft Corporation.
|
|
793
793
|
|
|
@@ -802,24 +802,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
802
802
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
803
803
|
PERFORMANCE OF THIS SOFTWARE.
|
|
804
804
|
***************************************************************************** */
|
|
805
|
-
var
|
|
806
|
-
return
|
|
805
|
+
var ke = function(e, t) {
|
|
806
|
+
return ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
807
807
|
r.__proto__ = n;
|
|
808
808
|
} || function(r, n) {
|
|
809
809
|
for (var i in n)
|
|
810
810
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
811
|
-
},
|
|
811
|
+
}, ke(e, t);
|
|
812
812
|
};
|
|
813
|
-
function
|
|
813
|
+
function C(e, t) {
|
|
814
814
|
if (typeof t != "function" && t !== null)
|
|
815
815
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
816
|
-
|
|
816
|
+
ke(e, t);
|
|
817
817
|
function r() {
|
|
818
818
|
this.constructor = e;
|
|
819
819
|
}
|
|
820
820
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
821
821
|
}
|
|
822
|
-
function
|
|
822
|
+
var y = function() {
|
|
823
|
+
return y = Object.assign || function(t) {
|
|
824
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
825
|
+
r = arguments[n];
|
|
826
|
+
for (var o in r)
|
|
827
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
828
|
+
}
|
|
829
|
+
return t;
|
|
830
|
+
}, y.apply(this, arguments);
|
|
831
|
+
};
|
|
832
|
+
function nn(e, t) {
|
|
833
|
+
var r = {};
|
|
834
|
+
for (var n in e)
|
|
835
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
836
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
837
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
838
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
839
|
+
return r;
|
|
840
|
+
}
|
|
841
|
+
function Ve(e) {
|
|
823
842
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
824
843
|
if (r)
|
|
825
844
|
return r.call(e);
|
|
@@ -831,7 +850,7 @@ function We(e) {
|
|
|
831
850
|
};
|
|
832
851
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
833
852
|
}
|
|
834
|
-
function
|
|
853
|
+
function Xe(e, t) {
|
|
835
854
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
836
855
|
if (!r)
|
|
837
856
|
return e;
|
|
@@ -851,22 +870,22 @@ function ze(e, t) {
|
|
|
851
870
|
}
|
|
852
871
|
return o;
|
|
853
872
|
}
|
|
854
|
-
function
|
|
855
|
-
if (arguments.length === 2)
|
|
873
|
+
function Z(e, t, r) {
|
|
874
|
+
if (r || arguments.length === 2)
|
|
856
875
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
857
876
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
858
877
|
return e.concat(o || t);
|
|
859
878
|
}
|
|
860
|
-
function
|
|
879
|
+
function M(e) {
|
|
861
880
|
return typeof e == "function";
|
|
862
881
|
}
|
|
863
|
-
function
|
|
882
|
+
function Wt(e) {
|
|
864
883
|
var t = function(n) {
|
|
865
884
|
Error.call(n), n.stack = new Error().stack;
|
|
866
885
|
}, r = e(t);
|
|
867
886
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
868
887
|
}
|
|
869
|
-
var
|
|
888
|
+
var Me = Wt(function(e) {
|
|
870
889
|
return function(r) {
|
|
871
890
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
872
891
|
` + r.map(function(n, i) {
|
|
@@ -875,13 +894,13 @@ var $e = Zt(function(e) {
|
|
|
875
894
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
876
895
|
};
|
|
877
896
|
});
|
|
878
|
-
function
|
|
897
|
+
function We(e, t) {
|
|
879
898
|
if (e) {
|
|
880
899
|
var r = e.indexOf(t);
|
|
881
900
|
0 <= r && e.splice(r, 1);
|
|
882
901
|
}
|
|
883
902
|
}
|
|
884
|
-
var
|
|
903
|
+
var He = function() {
|
|
885
904
|
function e(t) {
|
|
886
905
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
887
906
|
}
|
|
@@ -893,7 +912,7 @@ var Be = function() {
|
|
|
893
912
|
if (a)
|
|
894
913
|
if (this._parentage = null, Array.isArray(a))
|
|
895
914
|
try {
|
|
896
|
-
for (var s =
|
|
915
|
+
for (var s = Ve(a), h = s.next(); !h.done; h = s.next()) {
|
|
897
916
|
var u = h.value;
|
|
898
917
|
u.remove(this);
|
|
899
918
|
}
|
|
@@ -910,22 +929,22 @@ var Be = function() {
|
|
|
910
929
|
else
|
|
911
930
|
a.remove(this);
|
|
912
931
|
var l = this.initialTeardown;
|
|
913
|
-
if (
|
|
932
|
+
if (M(l))
|
|
914
933
|
try {
|
|
915
934
|
l();
|
|
916
935
|
} catch (m) {
|
|
917
|
-
o = m instanceof
|
|
936
|
+
o = m instanceof Me ? m.errors : [m];
|
|
918
937
|
}
|
|
919
938
|
var f = this._finalizers;
|
|
920
939
|
if (f) {
|
|
921
940
|
this._finalizers = null;
|
|
922
941
|
try {
|
|
923
|
-
for (var c =
|
|
942
|
+
for (var c = Ve(f), d = c.next(); !d.done; d = c.next()) {
|
|
924
943
|
var p = d.value;
|
|
925
944
|
try {
|
|
926
|
-
|
|
945
|
+
ct(p);
|
|
927
946
|
} catch (m) {
|
|
928
|
-
o = o ?? [], m instanceof
|
|
947
|
+
o = o ?? [], m instanceof Me ? o = Z(Z([], Xe(o)), Xe(m.errors)) : o.push(m);
|
|
929
948
|
}
|
|
930
949
|
}
|
|
931
950
|
} catch (m) {
|
|
@@ -940,13 +959,13 @@ var Be = function() {
|
|
|
940
959
|
}
|
|
941
960
|
}
|
|
942
961
|
if (o)
|
|
943
|
-
throw new
|
|
962
|
+
throw new Me(o);
|
|
944
963
|
}
|
|
945
964
|
}, e.prototype.add = function(t) {
|
|
946
965
|
var r;
|
|
947
966
|
if (t && t !== this)
|
|
948
967
|
if (this.closed)
|
|
949
|
-
|
|
968
|
+
ct(t);
|
|
950
969
|
else {
|
|
951
970
|
if (t instanceof e) {
|
|
952
971
|
if (t.closed || t._hasParent(this))
|
|
@@ -963,52 +982,56 @@ var Be = function() {
|
|
|
963
982
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
964
983
|
}, e.prototype._removeParent = function(t) {
|
|
965
984
|
var r = this._parentage;
|
|
966
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
985
|
+
r === t ? this._parentage = null : Array.isArray(r) && We(r, t);
|
|
967
986
|
}, e.prototype.remove = function(t) {
|
|
968
987
|
var r = this._finalizers;
|
|
969
|
-
r &&
|
|
988
|
+
r && We(r, t), t instanceof e && t._removeParent(this);
|
|
970
989
|
}, e.EMPTY = function() {
|
|
971
990
|
var t = new e();
|
|
972
991
|
return t.closed = !0, t;
|
|
973
992
|
}(), e;
|
|
974
|
-
}(),
|
|
975
|
-
function
|
|
976
|
-
return e instanceof
|
|
977
|
-
}
|
|
978
|
-
function
|
|
979
|
-
|
|
980
|
-
}
|
|
981
|
-
var
|
|
982
|
-
|
|
983
|
-
|
|
993
|
+
}(), zt = He.EMPTY;
|
|
994
|
+
function Zt(e) {
|
|
995
|
+
return e instanceof He || e && "closed" in e && M(e.remove) && M(e.add) && M(e.unsubscribe);
|
|
996
|
+
}
|
|
997
|
+
function ct(e) {
|
|
998
|
+
M(e) ? e() : e.unsubscribe();
|
|
999
|
+
}
|
|
1000
|
+
var qt = {
|
|
1001
|
+
onUnhandledError: null,
|
|
1002
|
+
onStoppedNotification: null,
|
|
1003
|
+
Promise: void 0,
|
|
1004
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
1005
|
+
useDeprecatedNextContext: !1
|
|
1006
|
+
}, on = {
|
|
984
1007
|
setTimeout: function(e, t) {
|
|
985
1008
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
986
1009
|
r[n - 2] = arguments[n];
|
|
987
|
-
return setTimeout.apply(void 0,
|
|
1010
|
+
return setTimeout.apply(void 0, Z([e, t], Xe(r)));
|
|
988
1011
|
},
|
|
989
1012
|
clearTimeout: function(e) {
|
|
990
1013
|
return clearTimeout(e);
|
|
991
1014
|
},
|
|
992
1015
|
delegate: void 0
|
|
993
1016
|
};
|
|
994
|
-
function
|
|
995
|
-
|
|
1017
|
+
function sn(e) {
|
|
1018
|
+
on.setTimeout(function() {
|
|
996
1019
|
throw e;
|
|
997
1020
|
});
|
|
998
1021
|
}
|
|
999
|
-
function
|
|
1022
|
+
function ft() {
|
|
1000
1023
|
}
|
|
1001
|
-
function
|
|
1024
|
+
function ye(e) {
|
|
1002
1025
|
e();
|
|
1003
1026
|
}
|
|
1004
|
-
var
|
|
1005
|
-
|
|
1027
|
+
var Qt = function(e) {
|
|
1028
|
+
C(t, e);
|
|
1006
1029
|
function t(r) {
|
|
1007
1030
|
var n = e.call(this) || this;
|
|
1008
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
1031
|
+
return n.isStopped = !1, r ? (n.destination = r, Zt(r) && r.add(n)) : n.destination = ln, n;
|
|
1009
1032
|
}
|
|
1010
1033
|
return t.create = function(r, n, i) {
|
|
1011
|
-
return new
|
|
1034
|
+
return new ze(r, n, i);
|
|
1012
1035
|
}, t.prototype.next = function(r) {
|
|
1013
1036
|
this.isStopped || this._next(r);
|
|
1014
1037
|
}, t.prototype.error = function(r) {
|
|
@@ -1032,7 +1055,11 @@ var Jt = function(e) {
|
|
|
1032
1055
|
this.unsubscribe();
|
|
1033
1056
|
}
|
|
1034
1057
|
}, t;
|
|
1035
|
-
}(
|
|
1058
|
+
}(He), an = Function.prototype.bind;
|
|
1059
|
+
function Ce(e, t) {
|
|
1060
|
+
return an.call(e, t);
|
|
1061
|
+
}
|
|
1062
|
+
var un = function() {
|
|
1036
1063
|
function e(t) {
|
|
1037
1064
|
this.partialObserver = t;
|
|
1038
1065
|
}
|
|
@@ -1063,29 +1090,41 @@ var Jt = function(e) {
|
|
|
1063
1090
|
de(r);
|
|
1064
1091
|
}
|
|
1065
1092
|
}, e;
|
|
1066
|
-
}(),
|
|
1067
|
-
|
|
1093
|
+
}(), ze = function(e) {
|
|
1094
|
+
C(t, e);
|
|
1068
1095
|
function t(r, n, i) {
|
|
1069
1096
|
var o = e.call(this) || this, a;
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1097
|
+
if (M(r) || !r)
|
|
1098
|
+
a = {
|
|
1099
|
+
next: r ?? void 0,
|
|
1100
|
+
error: n ?? void 0,
|
|
1101
|
+
complete: i ?? void 0
|
|
1102
|
+
};
|
|
1103
|
+
else {
|
|
1104
|
+
var s;
|
|
1105
|
+
o && qt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
|
|
1106
|
+
return o.unsubscribe();
|
|
1107
|
+
}, a = {
|
|
1108
|
+
next: r.next && Ce(r.next, s),
|
|
1109
|
+
error: r.error && Ce(r.error, s),
|
|
1110
|
+
complete: r.complete && Ce(r.complete, s)
|
|
1111
|
+
}) : a = r;
|
|
1112
|
+
}
|
|
1113
|
+
return o.destination = new un(a), o;
|
|
1075
1114
|
}
|
|
1076
1115
|
return t;
|
|
1077
|
-
}(
|
|
1116
|
+
}(Qt);
|
|
1078
1117
|
function de(e) {
|
|
1079
|
-
|
|
1118
|
+
sn(e);
|
|
1080
1119
|
}
|
|
1081
1120
|
function hn(e) {
|
|
1082
1121
|
throw e;
|
|
1083
1122
|
}
|
|
1084
1123
|
var ln = {
|
|
1085
1124
|
closed: !0,
|
|
1086
|
-
next:
|
|
1125
|
+
next: ft,
|
|
1087
1126
|
error: hn,
|
|
1088
|
-
complete:
|
|
1127
|
+
complete: ft
|
|
1089
1128
|
}, cn = function() {
|
|
1090
1129
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
1091
1130
|
}();
|
|
@@ -1099,7 +1138,7 @@ function pn(e) {
|
|
|
1099
1138
|
}, r);
|
|
1100
1139
|
};
|
|
1101
1140
|
}
|
|
1102
|
-
var
|
|
1141
|
+
var pt = function() {
|
|
1103
1142
|
function e(t) {
|
|
1104
1143
|
t && (this._subscribe = t);
|
|
1105
1144
|
}
|
|
@@ -1107,8 +1146,8 @@ var mt = function() {
|
|
|
1107
1146
|
var r = new e();
|
|
1108
1147
|
return r.source = this, r.operator = t, r;
|
|
1109
1148
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
1110
|
-
var i = this, o = mn(t) ? t : new
|
|
1111
|
-
return
|
|
1149
|
+
var i = this, o = mn(t) ? t : new ze(t, r, n);
|
|
1150
|
+
return ye(function() {
|
|
1112
1151
|
var a = i, s = a.operator, h = a.source;
|
|
1113
1152
|
o.add(s ? s.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
|
1114
1153
|
}), o;
|
|
@@ -1120,8 +1159,8 @@ var mt = function() {
|
|
|
1120
1159
|
}
|
|
1121
1160
|
}, e.prototype.forEach = function(t, r) {
|
|
1122
1161
|
var n = this;
|
|
1123
|
-
return r =
|
|
1124
|
-
var a = new
|
|
1162
|
+
return r = dt(r), new r(function(i, o) {
|
|
1163
|
+
var a = new ze({
|
|
1125
1164
|
next: function(s) {
|
|
1126
1165
|
try {
|
|
1127
1166
|
t(s);
|
|
@@ -1145,7 +1184,7 @@ var mt = function() {
|
|
|
1145
1184
|
return pn(t)(this);
|
|
1146
1185
|
}, e.prototype.toPromise = function(t) {
|
|
1147
1186
|
var r = this;
|
|
1148
|
-
return t =
|
|
1187
|
+
return t = dt(t), new t(function(n, i) {
|
|
1149
1188
|
var o;
|
|
1150
1189
|
r.subscribe(function(a) {
|
|
1151
1190
|
return o = a;
|
|
@@ -1159,40 +1198,40 @@ var mt = function() {
|
|
|
1159
1198
|
return new e(t);
|
|
1160
1199
|
}, e;
|
|
1161
1200
|
}();
|
|
1162
|
-
function
|
|
1201
|
+
function dt(e) {
|
|
1163
1202
|
var t;
|
|
1164
|
-
return (t = e ??
|
|
1203
|
+
return (t = e ?? qt.Promise) !== null && t !== void 0 ? t : Promise;
|
|
1165
1204
|
}
|
|
1166
1205
|
function dn(e) {
|
|
1167
|
-
return e &&
|
|
1206
|
+
return e && M(e.next) && M(e.error) && M(e.complete);
|
|
1168
1207
|
}
|
|
1169
1208
|
function mn(e) {
|
|
1170
|
-
return e && e instanceof
|
|
1209
|
+
return e && e instanceof Qt || dn(e) && Zt(e);
|
|
1171
1210
|
}
|
|
1172
|
-
var bn =
|
|
1211
|
+
var bn = Wt(function(e) {
|
|
1173
1212
|
return function() {
|
|
1174
1213
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
1175
1214
|
};
|
|
1176
|
-
}),
|
|
1177
|
-
|
|
1215
|
+
}), Jt = function(e) {
|
|
1216
|
+
C(t, e);
|
|
1178
1217
|
function t() {
|
|
1179
1218
|
var r = e.call(this) || this;
|
|
1180
1219
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
1181
1220
|
}
|
|
1182
1221
|
return t.prototype.lift = function(r) {
|
|
1183
|
-
var n = new
|
|
1222
|
+
var n = new mt(this, this);
|
|
1184
1223
|
return n.operator = r, n;
|
|
1185
1224
|
}, t.prototype._throwIfClosed = function() {
|
|
1186
1225
|
if (this.closed)
|
|
1187
1226
|
throw new bn();
|
|
1188
1227
|
}, t.prototype.next = function(r) {
|
|
1189
1228
|
var n = this;
|
|
1190
|
-
|
|
1229
|
+
ye(function() {
|
|
1191
1230
|
var i, o;
|
|
1192
1231
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
1193
1232
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
1194
1233
|
try {
|
|
1195
|
-
for (var a =
|
|
1234
|
+
for (var a = Ve(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
1196
1235
|
var h = s.value;
|
|
1197
1236
|
h.next(r);
|
|
1198
1237
|
}
|
|
@@ -1210,7 +1249,7 @@ var bn = Zt(function(e) {
|
|
|
1210
1249
|
});
|
|
1211
1250
|
}, t.prototype.error = function(r) {
|
|
1212
1251
|
var n = this;
|
|
1213
|
-
|
|
1252
|
+
ye(function() {
|
|
1214
1253
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
1215
1254
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
1216
1255
|
for (var i = n.observers; i.length; )
|
|
@@ -1219,7 +1258,7 @@ var bn = Zt(function(e) {
|
|
|
1219
1258
|
});
|
|
1220
1259
|
}, t.prototype.complete = function() {
|
|
1221
1260
|
var r = this;
|
|
1222
|
-
|
|
1261
|
+
ye(function() {
|
|
1223
1262
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
1224
1263
|
r.isStopped = !0;
|
|
1225
1264
|
for (var n = r.observers; n.length; )
|
|
@@ -1241,20 +1280,20 @@ var bn = Zt(function(e) {
|
|
|
1241
1280
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1242
1281
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1243
1282
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
1244
|
-
return o || a ?
|
|
1245
|
-
n.currentObservers = null,
|
|
1283
|
+
return o || a ? zt : (this.currentObservers = null, s.push(r), new He(function() {
|
|
1284
|
+
n.currentObservers = null, We(s, r);
|
|
1246
1285
|
}));
|
|
1247
1286
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1248
1287
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
1249
1288
|
i ? r.error(o) : a && r.complete();
|
|
1250
1289
|
}, t.prototype.asObservable = function() {
|
|
1251
|
-
var r = new
|
|
1290
|
+
var r = new pt();
|
|
1252
1291
|
return r.source = this, r;
|
|
1253
1292
|
}, t.create = function(r, n) {
|
|
1254
|
-
return new
|
|
1293
|
+
return new mt(r, n);
|
|
1255
1294
|
}, t;
|
|
1256
|
-
}(
|
|
1257
|
-
|
|
1295
|
+
}(pt), mt = function(e) {
|
|
1296
|
+
C(t, e);
|
|
1258
1297
|
function t(r, n) {
|
|
1259
1298
|
var i = e.call(this) || this;
|
|
1260
1299
|
return i.destination = r, i.source = n, i;
|
|
@@ -1270,17 +1309,17 @@ var bn = Zt(function(e) {
|
|
|
1270
1309
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1271
1310
|
}, t.prototype._subscribe = function(r) {
|
|
1272
1311
|
var n, i;
|
|
1273
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1312
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : zt;
|
|
1274
1313
|
}, t;
|
|
1275
|
-
}(
|
|
1314
|
+
}(Jt), Yt = {
|
|
1276
1315
|
now: function() {
|
|
1277
|
-
return (
|
|
1316
|
+
return (Yt.delegate || Date).now();
|
|
1278
1317
|
},
|
|
1279
1318
|
delegate: void 0
|
|
1280
|
-
},
|
|
1281
|
-
|
|
1319
|
+
}, gn = function(e) {
|
|
1320
|
+
C(t, e);
|
|
1282
1321
|
function t(r, n, i) {
|
|
1283
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1322
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Yt);
|
|
1284
1323
|
var o = e.call(this) || this;
|
|
1285
1324
|
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;
|
|
1286
1325
|
}
|
|
@@ -1300,24 +1339,24 @@ var bn = Zt(function(e) {
|
|
|
1300
1339
|
u && o.splice(0, u + 1);
|
|
1301
1340
|
}
|
|
1302
1341
|
}, t;
|
|
1303
|
-
}(
|
|
1304
|
-
const
|
|
1305
|
-
if (
|
|
1306
|
-
const r = new
|
|
1307
|
-
|
|
1342
|
+
}(Jt);
|
|
1343
|
+
const bt = [], gt = {}, yn = (e, t = 0) => {
|
|
1344
|
+
if (bt.indexOf(e) == -1) {
|
|
1345
|
+
const r = new gn(t);
|
|
1346
|
+
gt[e] = r, bt.push(e);
|
|
1308
1347
|
}
|
|
1309
|
-
return
|
|
1348
|
+
return gt[e];
|
|
1310
1349
|
}, k = [];
|
|
1311
1350
|
function vn(e, t) {
|
|
1312
1351
|
return {
|
|
1313
|
-
subscribe:
|
|
1352
|
+
subscribe: Be(e, t).subscribe
|
|
1314
1353
|
};
|
|
1315
1354
|
}
|
|
1316
|
-
function
|
|
1355
|
+
function Be(e, t = H) {
|
|
1317
1356
|
let r;
|
|
1318
1357
|
const n = /* @__PURE__ */ new Set();
|
|
1319
1358
|
function i(s) {
|
|
1320
|
-
if (
|
|
1359
|
+
if (Ct(e, s) && (e = s, r)) {
|
|
1321
1360
|
const h = !k.length;
|
|
1322
1361
|
for (const u of n)
|
|
1323
1362
|
u[1](), k.push(u, e);
|
|
@@ -1339,7 +1378,7 @@ function Ae(e, t = H) {
|
|
|
1339
1378
|
}
|
|
1340
1379
|
return { set: i, update: o, subscribe: a };
|
|
1341
1380
|
}
|
|
1342
|
-
function
|
|
1381
|
+
function ee(e, t, r) {
|
|
1343
1382
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1344
1383
|
if (!i.every(Boolean))
|
|
1345
1384
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -1353,12 +1392,12 @@ function K(e, t, r) {
|
|
|
1353
1392
|
return;
|
|
1354
1393
|
f();
|
|
1355
1394
|
const p = t(n ? u[0] : u, a, s);
|
|
1356
|
-
o ? a(p) : f =
|
|
1395
|
+
o ? a(p) : f = he(p) ? p : H;
|
|
1357
1396
|
}, d = i.map(
|
|
1358
|
-
(p, m) =>
|
|
1397
|
+
(p, m) => $t(
|
|
1359
1398
|
p,
|
|
1360
|
-
(
|
|
1361
|
-
u[m] =
|
|
1399
|
+
(E) => {
|
|
1400
|
+
u[m] = E, l &= ~(1 << m), h && c();
|
|
1362
1401
|
},
|
|
1363
1402
|
() => {
|
|
1364
1403
|
l |= 1 << m;
|
|
@@ -1366,11 +1405,11 @@ function K(e, t, r) {
|
|
|
1366
1405
|
)
|
|
1367
1406
|
);
|
|
1368
1407
|
return h = !0, c(), function() {
|
|
1369
|
-
|
|
1408
|
+
G(d), f(), h = !1;
|
|
1370
1409
|
};
|
|
1371
1410
|
});
|
|
1372
1411
|
}
|
|
1373
|
-
var
|
|
1412
|
+
var Go = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1374
1413
|
function _n(e) {
|
|
1375
1414
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1376
1415
|
}
|
|
@@ -1391,29 +1430,29 @@ function Hn(e) {
|
|
|
1391
1430
|
function Bn(e) {
|
|
1392
1431
|
return Array.isArray(e) ? [] : {};
|
|
1393
1432
|
}
|
|
1394
|
-
function
|
|
1395
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1433
|
+
function ae(e, t) {
|
|
1434
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? q(Bn(e), e, t) : e;
|
|
1396
1435
|
}
|
|
1397
1436
|
function An(e, t, r) {
|
|
1398
1437
|
return e.concat(t).map(function(n) {
|
|
1399
|
-
return
|
|
1438
|
+
return ae(n, r);
|
|
1400
1439
|
});
|
|
1401
1440
|
}
|
|
1402
1441
|
function Pn(e, t) {
|
|
1403
1442
|
if (!t.customMerge)
|
|
1404
|
-
return
|
|
1443
|
+
return q;
|
|
1405
1444
|
var r = t.customMerge(e);
|
|
1406
|
-
return typeof r == "function" ? r :
|
|
1445
|
+
return typeof r == "function" ? r : q;
|
|
1407
1446
|
}
|
|
1408
1447
|
function On(e) {
|
|
1409
1448
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1410
1449
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1411
1450
|
}) : [];
|
|
1412
1451
|
}
|
|
1413
|
-
function
|
|
1452
|
+
function yt(e) {
|
|
1414
1453
|
return Object.keys(e).concat(On(e));
|
|
1415
1454
|
}
|
|
1416
|
-
function
|
|
1455
|
+
function Kt(e, t) {
|
|
1417
1456
|
try {
|
|
1418
1457
|
return t in e;
|
|
1419
1458
|
} catch {
|
|
@@ -1421,179 +1460,129 @@ function er(e, t) {
|
|
|
1421
1460
|
}
|
|
1422
1461
|
}
|
|
1423
1462
|
function In(e, t) {
|
|
1424
|
-
return
|
|
1463
|
+
return Kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1425
1464
|
}
|
|
1426
1465
|
function Ln(e, t, r) {
|
|
1427
1466
|
var n = {};
|
|
1428
|
-
return r.isMergeableObject(e) &&
|
|
1429
|
-
n[i] =
|
|
1430
|
-
}),
|
|
1431
|
-
In(e, i) || (
|
|
1467
|
+
return r.isMergeableObject(e) && yt(e).forEach(function(i) {
|
|
1468
|
+
n[i] = ae(e[i], r);
|
|
1469
|
+
}), yt(t).forEach(function(i) {
|
|
1470
|
+
In(e, i) || (Kt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Pn(i, r)(e[i], t[i], r) : n[i] = ae(t[i], r));
|
|
1432
1471
|
}), n;
|
|
1433
1472
|
}
|
|
1434
|
-
function
|
|
1435
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || An, r.isMergeableObject = r.isMergeableObject || En, r.cloneUnlessOtherwiseSpecified =
|
|
1473
|
+
function q(e, t, r) {
|
|
1474
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || An, r.isMergeableObject = r.isMergeableObject || En, r.cloneUnlessOtherwiseSpecified = ae;
|
|
1436
1475
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1437
|
-
return o ? n ? r.arrayMerge(e, t, r) : Ln(e, t, r) :
|
|
1476
|
+
return o ? n ? r.arrayMerge(e, t, r) : Ln(e, t, r) : ae(t, r);
|
|
1438
1477
|
}
|
|
1439
|
-
|
|
1478
|
+
q.all = function(t, r) {
|
|
1440
1479
|
if (!Array.isArray(t))
|
|
1441
1480
|
throw new Error("first argument should be an array");
|
|
1442
1481
|
return t.reduce(function(n, i) {
|
|
1443
|
-
return
|
|
1482
|
+
return q(n, i, r);
|
|
1444
1483
|
}, {});
|
|
1445
1484
|
};
|
|
1446
|
-
var Nn =
|
|
1485
|
+
var Nn = q, Mn = Nn;
|
|
1447
1486
|
const Cn = /* @__PURE__ */ _n(Mn);
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
r.__proto__ = n;
|
|
1451
|
-
} || function(r, n) {
|
|
1452
|
-
for (var i in n)
|
|
1453
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1454
|
-
}, Je(e, t);
|
|
1455
|
-
};
|
|
1456
|
-
function Pe(e, t) {
|
|
1457
|
-
if (typeof t != "function" && t !== null)
|
|
1458
|
-
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1459
|
-
Je(e, t);
|
|
1460
|
-
function r() {
|
|
1461
|
-
this.constructor = e;
|
|
1462
|
-
}
|
|
1463
|
-
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1464
|
-
}
|
|
1465
|
-
var N = function() {
|
|
1466
|
-
return N = Object.assign || function(t) {
|
|
1467
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1468
|
-
r = arguments[n];
|
|
1469
|
-
for (var o in r)
|
|
1470
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1471
|
-
}
|
|
1472
|
-
return t;
|
|
1473
|
-
}, N.apply(this, arguments);
|
|
1474
|
-
};
|
|
1475
|
-
function $n(e, t) {
|
|
1476
|
-
var r = {};
|
|
1477
|
-
for (var n in e)
|
|
1478
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1479
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1480
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1481
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1482
|
-
return r;
|
|
1483
|
-
}
|
|
1484
|
-
function Re(e, t, r) {
|
|
1485
|
-
if (r || arguments.length === 2)
|
|
1486
|
-
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1487
|
-
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1488
|
-
return e.concat(o || Array.prototype.slice.call(t));
|
|
1489
|
-
}
|
|
1490
|
-
function Ue(e, t) {
|
|
1491
|
-
var r = t && t.cache ? t.cache : kn, n = t && t.serializer ? t.serializer : Fn, i = t && t.strategy ? t.strategy : Gn;
|
|
1487
|
+
function $e(e, t) {
|
|
1488
|
+
var r = t && t.cache ? t.cache : Fn, n = t && t.serializer ? t.serializer : Gn, i = t && t.strategy ? t.strategy : Rn;
|
|
1492
1489
|
return i(e, {
|
|
1493
1490
|
cache: r,
|
|
1494
1491
|
serializer: n
|
|
1495
1492
|
});
|
|
1496
1493
|
}
|
|
1497
|
-
function
|
|
1494
|
+
function $n(e) {
|
|
1498
1495
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1499
1496
|
}
|
|
1500
|
-
function
|
|
1501
|
-
var i =
|
|
1497
|
+
function er(e, t, r, n) {
|
|
1498
|
+
var i = $n(n) ? n : r(n), o = t.get(i);
|
|
1502
1499
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1503
1500
|
}
|
|
1504
1501
|
function tr(e, t, r) {
|
|
1505
1502
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1506
1503
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1507
1504
|
}
|
|
1508
|
-
function
|
|
1505
|
+
function it(e, t, r, n, i) {
|
|
1509
1506
|
return r.bind(t, e, n, i);
|
|
1510
1507
|
}
|
|
1511
|
-
function
|
|
1512
|
-
var r = e.length === 1 ?
|
|
1513
|
-
return
|
|
1508
|
+
function Rn(e, t) {
|
|
1509
|
+
var r = e.length === 1 ? er : tr;
|
|
1510
|
+
return it(e, this, r, t.cache.create(), t.serializer);
|
|
1511
|
+
}
|
|
1512
|
+
function Un(e, t) {
|
|
1513
|
+
return it(e, this, tr, t.cache.create(), t.serializer);
|
|
1514
1514
|
}
|
|
1515
1515
|
function Dn(e, t) {
|
|
1516
|
-
return
|
|
1516
|
+
return it(e, this, er, t.cache.create(), t.serializer);
|
|
1517
1517
|
}
|
|
1518
|
-
var
|
|
1518
|
+
var Gn = function() {
|
|
1519
1519
|
return JSON.stringify(arguments);
|
|
1520
|
-
}
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
}()
|
|
1532
|
-
), kn = {
|
|
1520
|
+
};
|
|
1521
|
+
function ot() {
|
|
1522
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1523
|
+
}
|
|
1524
|
+
ot.prototype.get = function(e) {
|
|
1525
|
+
return this.cache[e];
|
|
1526
|
+
};
|
|
1527
|
+
ot.prototype.set = function(e, t) {
|
|
1528
|
+
this.cache[e] = t;
|
|
1529
|
+
};
|
|
1530
|
+
var Fn = {
|
|
1533
1531
|
create: function() {
|
|
1534
|
-
return new
|
|
1532
|
+
return new ot();
|
|
1535
1533
|
}
|
|
1536
|
-
},
|
|
1537
|
-
variadic:
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1541
|
-
r = arguments[n];
|
|
1542
|
-
for (var o in r)
|
|
1543
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1544
|
-
}
|
|
1545
|
-
return t;
|
|
1546
|
-
}, Te.apply(this, arguments);
|
|
1547
|
-
};
|
|
1548
|
-
var b;
|
|
1534
|
+
}, Re = {
|
|
1535
|
+
variadic: Un,
|
|
1536
|
+
monadic: Dn
|
|
1537
|
+
}, b;
|
|
1549
1538
|
(function(e) {
|
|
1550
1539
|
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";
|
|
1551
1540
|
})(b || (b = {}));
|
|
1552
|
-
var
|
|
1541
|
+
var _;
|
|
1553
1542
|
(function(e) {
|
|
1554
1543
|
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";
|
|
1555
|
-
})(
|
|
1556
|
-
var
|
|
1544
|
+
})(_ || (_ = {}));
|
|
1545
|
+
var Q;
|
|
1557
1546
|
(function(e) {
|
|
1558
1547
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1559
|
-
})(
|
|
1560
|
-
function
|
|
1561
|
-
return e.type ===
|
|
1548
|
+
})(Q || (Q = {}));
|
|
1549
|
+
function vt(e) {
|
|
1550
|
+
return e.type === _.literal;
|
|
1551
|
+
}
|
|
1552
|
+
function jn(e) {
|
|
1553
|
+
return e.type === _.argument;
|
|
1562
1554
|
}
|
|
1563
|
-
function
|
|
1564
|
-
return e.type ===
|
|
1555
|
+
function rr(e) {
|
|
1556
|
+
return e.type === _.number;
|
|
1565
1557
|
}
|
|
1566
1558
|
function nr(e) {
|
|
1567
|
-
return e.type ===
|
|
1559
|
+
return e.type === _.date;
|
|
1568
1560
|
}
|
|
1569
1561
|
function ir(e) {
|
|
1570
|
-
return e.type ===
|
|
1562
|
+
return e.type === _.time;
|
|
1571
1563
|
}
|
|
1572
1564
|
function or(e) {
|
|
1573
|
-
return e.type ===
|
|
1565
|
+
return e.type === _.select;
|
|
1574
1566
|
}
|
|
1575
1567
|
function sr(e) {
|
|
1576
|
-
return e.type ===
|
|
1568
|
+
return e.type === _.plural;
|
|
1577
1569
|
}
|
|
1578
|
-
function
|
|
1579
|
-
return e.type ===
|
|
1570
|
+
function kn(e) {
|
|
1571
|
+
return e.type === _.pound;
|
|
1580
1572
|
}
|
|
1581
|
-
function
|
|
1582
|
-
return e.type ===
|
|
1573
|
+
function ar(e) {
|
|
1574
|
+
return e.type === _.tag;
|
|
1583
1575
|
}
|
|
1584
1576
|
function ur(e) {
|
|
1585
|
-
return e.type ===
|
|
1577
|
+
return !!(e && typeof e == "object" && e.type === Q.number);
|
|
1586
1578
|
}
|
|
1587
|
-
function
|
|
1588
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1579
|
+
function Ze(e) {
|
|
1580
|
+
return !!(e && typeof e == "object" && e.type === Q.dateTime);
|
|
1589
1581
|
}
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
}
|
|
1593
|
-
var lr = /[ \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;
|
|
1594
|
-
function zn(e) {
|
|
1582
|
+
var hr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Vn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
1583
|
+
function Xn(e) {
|
|
1595
1584
|
var t = {};
|
|
1596
|
-
return e.replace(
|
|
1585
|
+
return e.replace(Vn, function(r) {
|
|
1597
1586
|
var n = r.length;
|
|
1598
1587
|
switch (r[0]) {
|
|
1599
1588
|
case "G":
|
|
@@ -1682,21 +1671,11 @@ function zn(e) {
|
|
|
1682
1671
|
return "";
|
|
1683
1672
|
}), t;
|
|
1684
1673
|
}
|
|
1685
|
-
var
|
|
1686
|
-
|
|
1687
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1688
|
-
r = arguments[n];
|
|
1689
|
-
for (var o in r)
|
|
1690
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1691
|
-
}
|
|
1692
|
-
return t;
|
|
1693
|
-
}, E.apply(this, arguments);
|
|
1694
|
-
};
|
|
1695
|
-
var Zn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1696
|
-
function qn(e) {
|
|
1674
|
+
var Wn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1675
|
+
function zn(e) {
|
|
1697
1676
|
if (e.length === 0)
|
|
1698
1677
|
throw new Error("Number skeleton cannot be empty");
|
|
1699
|
-
for (var t = e.split(
|
|
1678
|
+
for (var t = e.split(Wn).filter(function(c) {
|
|
1700
1679
|
return c.length > 0;
|
|
1701
1680
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1702
1681
|
var o = i[n], a = o.split("/");
|
|
@@ -1711,17 +1690,17 @@ function qn(e) {
|
|
|
1711
1690
|
}
|
|
1712
1691
|
return r;
|
|
1713
1692
|
}
|
|
1714
|
-
function
|
|
1693
|
+
function Zn(e) {
|
|
1715
1694
|
return e.replace(/^(.*?)-/, "");
|
|
1716
1695
|
}
|
|
1717
|
-
var
|
|
1718
|
-
function
|
|
1696
|
+
var _t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, lr = /^(@+)?(\+|#+)?[rs]?$/g, qn = /(\*)(0+)|(#+)(0+)|(0+)/g, cr = /^(0+)$/;
|
|
1697
|
+
function Et(e) {
|
|
1719
1698
|
var t = {};
|
|
1720
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1699
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(lr, function(r, n, i) {
|
|
1721
1700
|
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)), "";
|
|
1722
1701
|
}), t;
|
|
1723
1702
|
}
|
|
1724
|
-
function
|
|
1703
|
+
function fr(e) {
|
|
1725
1704
|
switch (e) {
|
|
1726
1705
|
case "sign-auto":
|
|
1727
1706
|
return {
|
|
@@ -1761,7 +1740,7 @@ function pr(e) {
|
|
|
1761
1740
|
};
|
|
1762
1741
|
}
|
|
1763
1742
|
}
|
|
1764
|
-
function
|
|
1743
|
+
function Qn(e) {
|
|
1765
1744
|
var t;
|
|
1766
1745
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1767
1746
|
notation: "engineering"
|
|
@@ -1769,17 +1748,17 @@ function Yn(e) {
|
|
|
1769
1748
|
notation: "scientific"
|
|
1770
1749
|
}, e = e.slice(1)), t) {
|
|
1771
1750
|
var r = e.slice(0, 2);
|
|
1772
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1751
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !cr.test(e))
|
|
1773
1752
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1774
1753
|
t.minimumIntegerDigits = e.length;
|
|
1775
1754
|
}
|
|
1776
1755
|
return t;
|
|
1777
1756
|
}
|
|
1778
|
-
function
|
|
1779
|
-
var t = {}, r =
|
|
1757
|
+
function xt(e) {
|
|
1758
|
+
var t = {}, r = fr(e);
|
|
1780
1759
|
return r || t;
|
|
1781
1760
|
}
|
|
1782
|
-
function
|
|
1761
|
+
function Jn(e) {
|
|
1783
1762
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1784
1763
|
var i = n[r];
|
|
1785
1764
|
switch (i.stem) {
|
|
@@ -1803,7 +1782,7 @@ function Kn(e) {
|
|
|
1803
1782
|
continue;
|
|
1804
1783
|
case "measure-unit":
|
|
1805
1784
|
case "unit":
|
|
1806
|
-
t.style = "unit", t.unit =
|
|
1785
|
+
t.style = "unit", t.unit = Zn(i.options[0]);
|
|
1807
1786
|
continue;
|
|
1808
1787
|
case "compact-short":
|
|
1809
1788
|
case "K":
|
|
@@ -1814,13 +1793,13 @@ function Kn(e) {
|
|
|
1814
1793
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1815
1794
|
continue;
|
|
1816
1795
|
case "scientific":
|
|
1817
|
-
t =
|
|
1818
|
-
return
|
|
1796
|
+
t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1797
|
+
return y(y({}, h), xt(u));
|
|
1819
1798
|
}, {}));
|
|
1820
1799
|
continue;
|
|
1821
1800
|
case "engineering":
|
|
1822
|
-
t =
|
|
1823
|
-
return
|
|
1801
|
+
t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1802
|
+
return y(y({}, h), xt(u));
|
|
1824
1803
|
}, {}));
|
|
1825
1804
|
continue;
|
|
1826
1805
|
case "notation-simple":
|
|
@@ -1865,7 +1844,7 @@ function Kn(e) {
|
|
|
1865
1844
|
case "integer-width":
|
|
1866
1845
|
if (i.options.length > 1)
|
|
1867
1846
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1868
|
-
i.options[0].replace(
|
|
1847
|
+
i.options[0].replace(qn, function(h, u, l, f, c, d) {
|
|
1869
1848
|
if (u)
|
|
1870
1849
|
t.minimumIntegerDigits = l.length;
|
|
1871
1850
|
else {
|
|
@@ -1878,28 +1857,28 @@ function Kn(e) {
|
|
|
1878
1857
|
});
|
|
1879
1858
|
continue;
|
|
1880
1859
|
}
|
|
1881
|
-
if (
|
|
1860
|
+
if (cr.test(i.stem)) {
|
|
1882
1861
|
t.minimumIntegerDigits = i.stem.length;
|
|
1883
1862
|
continue;
|
|
1884
1863
|
}
|
|
1885
|
-
if (
|
|
1864
|
+
if (_t.test(i.stem)) {
|
|
1886
1865
|
if (i.options.length > 1)
|
|
1887
1866
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1888
|
-
i.stem.replace(
|
|
1867
|
+
i.stem.replace(_t, function(h, u, l, f, c, d) {
|
|
1889
1868
|
return l === "*" ? 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), "";
|
|
1890
1869
|
});
|
|
1891
1870
|
var o = i.options[0];
|
|
1892
|
-
o === "w" ? t =
|
|
1871
|
+
o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), Et(o)));
|
|
1893
1872
|
continue;
|
|
1894
1873
|
}
|
|
1895
|
-
if (
|
|
1896
|
-
t =
|
|
1874
|
+
if (lr.test(i.stem)) {
|
|
1875
|
+
t = y(y({}, t), Et(i.stem));
|
|
1897
1876
|
continue;
|
|
1898
1877
|
}
|
|
1899
|
-
var a =
|
|
1900
|
-
a && (t =
|
|
1901
|
-
var s =
|
|
1902
|
-
s && (t =
|
|
1878
|
+
var a = fr(i.stem);
|
|
1879
|
+
a && (t = y(y({}, t), a));
|
|
1880
|
+
var s = Qn(i.stem);
|
|
1881
|
+
s && (t = y(y({}, t), s));
|
|
1903
1882
|
}
|
|
1904
1883
|
return t;
|
|
1905
1884
|
}
|
|
@@ -3318,13 +3297,13 @@ var me = {
|
|
|
3318
3297
|
"h"
|
|
3319
3298
|
]
|
|
3320
3299
|
};
|
|
3321
|
-
function
|
|
3300
|
+
function Yn(e, t) {
|
|
3322
3301
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3323
3302
|
var i = e.charAt(n);
|
|
3324
3303
|
if (i === "j") {
|
|
3325
3304
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3326
3305
|
o++, n++;
|
|
3327
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
|
3306
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Kn(t);
|
|
3328
3307
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
3329
3308
|
r += h;
|
|
3330
3309
|
for (; a-- > 0; )
|
|
@@ -3334,7 +3313,7 @@ function ei(e, t) {
|
|
|
3334
3313
|
}
|
|
3335
3314
|
return r;
|
|
3336
3315
|
}
|
|
3337
|
-
function
|
|
3316
|
+
function Kn(e) {
|
|
3338
3317
|
var t = e.hourCycle;
|
|
3339
3318
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3340
3319
|
e.hourCycles && // @ts-ignore
|
|
@@ -3356,20 +3335,20 @@ function ti(e) {
|
|
|
3356
3335
|
var i = me[n || ""] || me[r || ""] || me["".concat(r, "-001")] || me["001"];
|
|
3357
3336
|
return i[0];
|
|
3358
3337
|
}
|
|
3359
|
-
var
|
|
3360
|
-
function
|
|
3338
|
+
var Ue, ei = new RegExp("^".concat(hr.source, "*")), ti = new RegExp("".concat(hr.source, "*$"));
|
|
3339
|
+
function g(e, t) {
|
|
3361
3340
|
return { start: e, end: t };
|
|
3362
3341
|
}
|
|
3363
|
-
var
|
|
3342
|
+
var ri = !!String.prototype.startsWith && "_a".startsWith("a", 1), ni = !!String.fromCodePoint, ii = !!Object.fromEntries, oi = !!String.prototype.codePointAt, si = !!String.prototype.trimStart, ai = !!String.prototype.trimEnd, ui = !!Number.isSafeInteger, hi = ui ? Number.isSafeInteger : function(e) {
|
|
3364
3343
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3365
|
-
},
|
|
3344
|
+
}, qe = !0;
|
|
3366
3345
|
try {
|
|
3367
|
-
var
|
|
3368
|
-
|
|
3346
|
+
var li = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3347
|
+
qe = ((Ue = li.exec("a")) === null || Ue === void 0 ? void 0 : Ue[0]) === "a";
|
|
3369
3348
|
} catch {
|
|
3370
|
-
|
|
3349
|
+
qe = !1;
|
|
3371
3350
|
}
|
|
3372
|
-
var
|
|
3351
|
+
var St = ri ? (
|
|
3373
3352
|
// Native
|
|
3374
3353
|
function(t, r, n) {
|
|
3375
3354
|
return t.startsWith(r, n);
|
|
@@ -3379,7 +3358,7 @@ var wt = ii ? (
|
|
|
3379
3358
|
function(t, r, n) {
|
|
3380
3359
|
return t.slice(n, n + r.length) === r;
|
|
3381
3360
|
}
|
|
3382
|
-
),
|
|
3361
|
+
), Qe = ni ? String.fromCodePoint : (
|
|
3383
3362
|
// IE11
|
|
3384
3363
|
function() {
|
|
3385
3364
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3391,9 +3370,9 @@ var wt = ii ? (
|
|
|
3391
3370
|
}
|
|
3392
3371
|
return n;
|
|
3393
3372
|
}
|
|
3394
|
-
),
|
|
3373
|
+
), Tt = (
|
|
3395
3374
|
// native
|
|
3396
|
-
|
|
3375
|
+
ii ? Object.fromEntries : (
|
|
3397
3376
|
// Ponyfill
|
|
3398
3377
|
function(t) {
|
|
3399
3378
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3403,7 +3382,7 @@ var wt = ii ? (
|
|
|
3403
3382
|
return r;
|
|
3404
3383
|
}
|
|
3405
3384
|
)
|
|
3406
|
-
),
|
|
3385
|
+
), pr = oi ? (
|
|
3407
3386
|
// Native
|
|
3408
3387
|
function(t, r) {
|
|
3409
3388
|
return t.codePointAt(r);
|
|
@@ -3417,7 +3396,7 @@ var wt = ii ? (
|
|
|
3417
3396
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3418
3397
|
}
|
|
3419
3398
|
}
|
|
3420
|
-
),
|
|
3399
|
+
), ci = si ? (
|
|
3421
3400
|
// Native
|
|
3422
3401
|
function(t) {
|
|
3423
3402
|
return t.trimStart();
|
|
@@ -3425,9 +3404,9 @@ var wt = ii ? (
|
|
|
3425
3404
|
) : (
|
|
3426
3405
|
// Ponyfill
|
|
3427
3406
|
function(t) {
|
|
3428
|
-
return t.replace(
|
|
3407
|
+
return t.replace(ei, "");
|
|
3429
3408
|
}
|
|
3430
|
-
),
|
|
3409
|
+
), fi = ai ? (
|
|
3431
3410
|
// Native
|
|
3432
3411
|
function(t) {
|
|
3433
3412
|
return t.trimEnd();
|
|
@@ -3435,32 +3414,32 @@ var wt = ii ? (
|
|
|
3435
3414
|
) : (
|
|
3436
3415
|
// Ponyfill
|
|
3437
3416
|
function(t) {
|
|
3438
|
-
return t.replace(
|
|
3417
|
+
return t.replace(ti, "");
|
|
3439
3418
|
}
|
|
3440
3419
|
);
|
|
3441
|
-
function
|
|
3420
|
+
function dr(e, t) {
|
|
3442
3421
|
return new RegExp(e, t);
|
|
3443
3422
|
}
|
|
3444
|
-
var
|
|
3445
|
-
if (
|
|
3446
|
-
var
|
|
3447
|
-
|
|
3423
|
+
var Je;
|
|
3424
|
+
if (qe) {
|
|
3425
|
+
var wt = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3426
|
+
Je = function(t, r) {
|
|
3448
3427
|
var n;
|
|
3449
|
-
|
|
3450
|
-
var i =
|
|
3428
|
+
wt.lastIndex = r;
|
|
3429
|
+
var i = wt.exec(t);
|
|
3451
3430
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3452
3431
|
};
|
|
3453
3432
|
} else
|
|
3454
|
-
|
|
3433
|
+
Je = function(t, r) {
|
|
3455
3434
|
for (var n = []; ; ) {
|
|
3456
|
-
var i =
|
|
3457
|
-
if (i === void 0 ||
|
|
3435
|
+
var i = pr(t, r);
|
|
3436
|
+
if (i === void 0 || mr(i) || bi(i))
|
|
3458
3437
|
break;
|
|
3459
3438
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3460
3439
|
}
|
|
3461
|
-
return
|
|
3440
|
+
return Qe.apply(void 0, n);
|
|
3462
3441
|
};
|
|
3463
|
-
var
|
|
3442
|
+
var pi = (
|
|
3464
3443
|
/** @class */
|
|
3465
3444
|
function() {
|
|
3466
3445
|
function e(t, r) {
|
|
@@ -3484,14 +3463,14 @@ var mi = (
|
|
|
3484
3463
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3485
3464
|
var s = this.clonePosition();
|
|
3486
3465
|
this.bump(), i.push({
|
|
3487
|
-
type:
|
|
3488
|
-
location:
|
|
3466
|
+
type: _.pound,
|
|
3467
|
+
location: g(s, this.clonePosition())
|
|
3489
3468
|
});
|
|
3490
3469
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3491
3470
|
if (n)
|
|
3492
3471
|
break;
|
|
3493
|
-
return this.error(b.UNMATCHED_CLOSING_TAG,
|
|
3494
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3472
|
+
return this.error(b.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
|
|
3473
|
+
} else if (o === 60 && !this.ignoreTag && Ye(this.peek() || 0)) {
|
|
3495
3474
|
var a = this.parseTag(t, r);
|
|
3496
3475
|
if (a.err)
|
|
3497
3476
|
return a;
|
|
@@ -3512,9 +3491,9 @@ var mi = (
|
|
|
3512
3491
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3513
3492
|
return {
|
|
3514
3493
|
val: {
|
|
3515
|
-
type:
|
|
3494
|
+
type: _.literal,
|
|
3516
3495
|
value: "<".concat(i, "/>"),
|
|
3517
|
-
location:
|
|
3496
|
+
location: g(n, this.clonePosition())
|
|
3518
3497
|
},
|
|
3519
3498
|
err: null
|
|
3520
3499
|
};
|
|
@@ -3524,25 +3503,25 @@ var mi = (
|
|
|
3524
3503
|
return o;
|
|
3525
3504
|
var a = o.val, s = this.clonePosition();
|
|
3526
3505
|
if (this.bumpIf("</")) {
|
|
3527
|
-
if (this.isEOF() || !
|
|
3528
|
-
return this.error(b.INVALID_TAG,
|
|
3506
|
+
if (this.isEOF() || !Ye(this.char()))
|
|
3507
|
+
return this.error(b.INVALID_TAG, g(s, this.clonePosition()));
|
|
3529
3508
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3530
|
-
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG,
|
|
3509
|
+
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3531
3510
|
val: {
|
|
3532
|
-
type:
|
|
3511
|
+
type: _.tag,
|
|
3533
3512
|
value: i,
|
|
3534
3513
|
children: a,
|
|
3535
|
-
location:
|
|
3514
|
+
location: g(n, this.clonePosition())
|
|
3536
3515
|
},
|
|
3537
3516
|
err: null
|
|
3538
|
-
} : this.error(b.INVALID_TAG,
|
|
3517
|
+
} : this.error(b.INVALID_TAG, g(s, this.clonePosition())));
|
|
3539
3518
|
} else
|
|
3540
|
-
return this.error(b.UNCLOSED_TAG,
|
|
3519
|
+
return this.error(b.UNCLOSED_TAG, g(n, this.clonePosition()));
|
|
3541
3520
|
} else
|
|
3542
|
-
return this.error(b.INVALID_TAG,
|
|
3521
|
+
return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
|
|
3543
3522
|
}, e.prototype.parseTagName = function() {
|
|
3544
3523
|
var t = this.offset();
|
|
3545
|
-
for (this.bump(); !this.isEOF() &&
|
|
3524
|
+
for (this.bump(); !this.isEOF() && mi(this.char()); )
|
|
3546
3525
|
this.bump();
|
|
3547
3526
|
return this.message.slice(t, this.offset());
|
|
3548
3527
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3564,14 +3543,14 @@ var mi = (
|
|
|
3564
3543
|
}
|
|
3565
3544
|
break;
|
|
3566
3545
|
}
|
|
3567
|
-
var h =
|
|
3546
|
+
var h = g(n, this.clonePosition());
|
|
3568
3547
|
return {
|
|
3569
|
-
val: { type:
|
|
3548
|
+
val: { type: _.literal, value: i, location: h },
|
|
3570
3549
|
err: null
|
|
3571
3550
|
};
|
|
3572
3551
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3573
3552
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3574
|
-
!
|
|
3553
|
+
!di(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3575
3554
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3576
3555
|
if (this.isEOF() || this.char() !== 39)
|
|
3577
3556
|
return null;
|
|
@@ -3605,49 +3584,49 @@ var mi = (
|
|
|
3605
3584
|
r.push(n);
|
|
3606
3585
|
this.bump();
|
|
3607
3586
|
}
|
|
3608
|
-
return
|
|
3587
|
+
return Qe.apply(void 0, r);
|
|
3609
3588
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3610
3589
|
if (this.isEOF())
|
|
3611
3590
|
return null;
|
|
3612
3591
|
var n = this.char();
|
|
3613
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3592
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
|
|
3614
3593
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3615
3594
|
var n = this.clonePosition();
|
|
3616
3595
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3617
|
-
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3596
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
|
|
3618
3597
|
if (this.char() === 125)
|
|
3619
|
-
return this.bump(), this.error(b.EMPTY_ARGUMENT,
|
|
3598
|
+
return this.bump(), this.error(b.EMPTY_ARGUMENT, g(n, this.clonePosition()));
|
|
3620
3599
|
var i = this.parseIdentifierIfPossible().value;
|
|
3621
3600
|
if (!i)
|
|
3622
|
-
return this.error(b.MALFORMED_ARGUMENT,
|
|
3601
|
+
return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
|
3623
3602
|
if (this.bumpSpace(), this.isEOF())
|
|
3624
|
-
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3603
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
|
|
3625
3604
|
switch (this.char()) {
|
|
3626
3605
|
case 125:
|
|
3627
3606
|
return this.bump(), {
|
|
3628
3607
|
val: {
|
|
3629
|
-
type:
|
|
3608
|
+
type: _.argument,
|
|
3630
3609
|
// value does not include the opening and closing braces.
|
|
3631
3610
|
value: i,
|
|
3632
|
-
location:
|
|
3611
|
+
location: g(n, this.clonePosition())
|
|
3633
3612
|
},
|
|
3634
3613
|
err: null
|
|
3635
3614
|
};
|
|
3636
3615
|
case 44:
|
|
3637
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3616
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3638
3617
|
default:
|
|
3639
|
-
return this.error(b.MALFORMED_ARGUMENT,
|
|
3618
|
+
return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
|
3640
3619
|
}
|
|
3641
3620
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3642
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3621
|
+
var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
|
|
3643
3622
|
this.bumpTo(i);
|
|
3644
|
-
var o = this.clonePosition(), a =
|
|
3623
|
+
var o = this.clonePosition(), a = g(t, o);
|
|
3645
3624
|
return { value: n, location: a };
|
|
3646
3625
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3647
3626
|
var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
3648
3627
|
switch (s) {
|
|
3649
3628
|
case "":
|
|
3650
|
-
return this.error(b.EXPECT_ARGUMENT_TYPE,
|
|
3629
|
+
return this.error(b.EXPECT_ARGUMENT_TYPE, g(a, h));
|
|
3651
3630
|
case "number":
|
|
3652
3631
|
case "date":
|
|
3653
3632
|
case "time": {
|
|
@@ -3658,35 +3637,35 @@ var mi = (
|
|
|
3658
3637
|
var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3659
3638
|
if (f.err)
|
|
3660
3639
|
return f;
|
|
3661
|
-
var c =
|
|
3640
|
+
var c = fi(f.val);
|
|
3662
3641
|
if (c.length === 0)
|
|
3663
|
-
return this.error(b.EXPECT_ARGUMENT_STYLE,
|
|
3664
|
-
var d =
|
|
3642
|
+
return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
|
3643
|
+
var d = g(l, this.clonePosition());
|
|
3665
3644
|
u = { style: c, styleLocation: d };
|
|
3666
3645
|
}
|
|
3667
3646
|
var p = this.tryParseArgumentClose(i);
|
|
3668
3647
|
if (p.err)
|
|
3669
3648
|
return p;
|
|
3670
|
-
var m =
|
|
3671
|
-
if (u &&
|
|
3672
|
-
var
|
|
3649
|
+
var m = g(i, this.clonePosition());
|
|
3650
|
+
if (u && St(u?.style, "::", 0)) {
|
|
3651
|
+
var E = ci(u.style.slice(2));
|
|
3673
3652
|
if (s === "number") {
|
|
3674
|
-
var f = this.parseNumberSkeletonFromString(
|
|
3653
|
+
var f = this.parseNumberSkeletonFromString(E, u.styleLocation);
|
|
3675
3654
|
return f.err ? f : {
|
|
3676
|
-
val: { type:
|
|
3655
|
+
val: { type: _.number, value: n, location: m, style: f.val },
|
|
3677
3656
|
err: null
|
|
3678
3657
|
};
|
|
3679
3658
|
} else {
|
|
3680
|
-
if (
|
|
3659
|
+
if (E.length === 0)
|
|
3681
3660
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
|
|
3682
|
-
var T =
|
|
3683
|
-
this.locale && (T =
|
|
3661
|
+
var T = E;
|
|
3662
|
+
this.locale && (T = Yn(E, this.locale));
|
|
3684
3663
|
var c = {
|
|
3685
|
-
type:
|
|
3664
|
+
type: Q.dateTime,
|
|
3686
3665
|
pattern: T,
|
|
3687
3666
|
location: u.styleLocation,
|
|
3688
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3689
|
-
}, P = s === "date" ?
|
|
3667
|
+
parsedOptions: this.shouldParseSkeletons ? Xn(T) : {}
|
|
3668
|
+
}, P = s === "date" ? _.date : _.time;
|
|
3690
3669
|
return {
|
|
3691
3670
|
val: { type: P, value: n, location: m, style: c },
|
|
3692
3671
|
err: null
|
|
@@ -3695,7 +3674,7 @@ var mi = (
|
|
|
3695
3674
|
}
|
|
3696
3675
|
return {
|
|
3697
3676
|
val: {
|
|
3698
|
-
type: s === "number" ?
|
|
3677
|
+
type: s === "number" ? _.number : s === "date" ? _.date : _.time,
|
|
3699
3678
|
value: n,
|
|
3700
3679
|
location: m,
|
|
3701
3680
|
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
@@ -3708,12 +3687,12 @@ var mi = (
|
|
|
3708
3687
|
case "select": {
|
|
3709
3688
|
var x = this.clonePosition();
|
|
3710
3689
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3711
|
-
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
|
3690
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(x, y({}, x)));
|
|
3712
3691
|
this.bumpSpace();
|
|
3713
3692
|
var O = this.parseIdentifierIfPossible(), w = 0;
|
|
3714
3693
|
if (s !== "select" && O.value === "offset") {
|
|
3715
3694
|
if (!this.bumpIf(":"))
|
|
3716
|
-
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
|
3695
|
+
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
|
|
3717
3696
|
this.bumpSpace();
|
|
3718
3697
|
var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3719
3698
|
if (f.err)
|
|
@@ -3726,20 +3705,20 @@ var mi = (
|
|
|
3726
3705
|
var p = this.tryParseArgumentClose(i);
|
|
3727
3706
|
if (p.err)
|
|
3728
3707
|
return p;
|
|
3729
|
-
var fe =
|
|
3708
|
+
var fe = g(i, this.clonePosition());
|
|
3730
3709
|
return s === "select" ? {
|
|
3731
3710
|
val: {
|
|
3732
|
-
type:
|
|
3711
|
+
type: _.select,
|
|
3733
3712
|
value: n,
|
|
3734
|
-
options:
|
|
3713
|
+
options: Tt($.val),
|
|
3735
3714
|
location: fe
|
|
3736
3715
|
},
|
|
3737
3716
|
err: null
|
|
3738
3717
|
} : {
|
|
3739
3718
|
val: {
|
|
3740
|
-
type:
|
|
3719
|
+
type: _.plural,
|
|
3741
3720
|
value: n,
|
|
3742
|
-
options:
|
|
3721
|
+
options: Tt($.val),
|
|
3743
3722
|
offset: w,
|
|
3744
3723
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3745
3724
|
location: fe
|
|
@@ -3748,10 +3727,10 @@ var mi = (
|
|
|
3748
3727
|
};
|
|
3749
3728
|
}
|
|
3750
3729
|
default:
|
|
3751
|
-
return this.error(b.INVALID_ARGUMENT_TYPE,
|
|
3730
|
+
return this.error(b.INVALID_ARGUMENT_TYPE, g(a, h));
|
|
3752
3731
|
}
|
|
3753
3732
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3754
|
-
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3733
|
+
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3755
3734
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3756
3735
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3757
3736
|
var n = this.char();
|
|
@@ -3760,7 +3739,7 @@ var mi = (
|
|
|
3760
3739
|
this.bump();
|
|
3761
3740
|
var i = this.clonePosition();
|
|
3762
3741
|
if (!this.bumpUntil("'"))
|
|
3763
|
-
return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
|
3742
|
+
return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
|
|
3764
3743
|
this.bump();
|
|
3765
3744
|
break;
|
|
3766
3745
|
}
|
|
@@ -3790,16 +3769,16 @@ var mi = (
|
|
|
3790
3769
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3791
3770
|
var n = [];
|
|
3792
3771
|
try {
|
|
3793
|
-
n =
|
|
3772
|
+
n = zn(t);
|
|
3794
3773
|
} catch {
|
|
3795
3774
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3796
3775
|
}
|
|
3797
3776
|
return {
|
|
3798
3777
|
val: {
|
|
3799
|
-
type:
|
|
3778
|
+
type: Q.number,
|
|
3800
3779
|
tokens: n,
|
|
3801
3780
|
location: r,
|
|
3802
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3781
|
+
parsedOptions: this.shouldParseSkeletons ? Jn(n) : {}
|
|
3803
3782
|
},
|
|
3804
3783
|
err: null
|
|
3805
3784
|
};
|
|
@@ -3811,7 +3790,7 @@ var mi = (
|
|
|
3811
3790
|
var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3812
3791
|
if (c.err)
|
|
3813
3792
|
return c;
|
|
3814
|
-
l =
|
|
3793
|
+
l = g(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
|
|
3815
3794
|
} else
|
|
3816
3795
|
break;
|
|
3817
3796
|
}
|
|
@@ -3820,7 +3799,7 @@ var mi = (
|
|
|
3820
3799
|
u === "other" && (a = !0), this.bumpSpace();
|
|
3821
3800
|
var d = this.clonePosition();
|
|
3822
3801
|
if (!this.bumpIf("{"))
|
|
3823
|
-
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
|
3802
|
+
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
|
|
3824
3803
|
var p = this.parseMessage(t + 1, r, n);
|
|
3825
3804
|
if (p.err)
|
|
3826
3805
|
return p;
|
|
@@ -3831,11 +3810,11 @@ var mi = (
|
|
|
3831
3810
|
u,
|
|
3832
3811
|
{
|
|
3833
3812
|
value: p.val,
|
|
3834
|
-
location:
|
|
3813
|
+
location: g(d, this.clonePosition())
|
|
3835
3814
|
}
|
|
3836
3815
|
]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
3837
3816
|
}
|
|
3838
|
-
return s.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR,
|
|
3817
|
+
return s.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
|
|
3839
3818
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3840
3819
|
var n = 1, i = this.clonePosition();
|
|
3841
3820
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3846,8 +3825,8 @@ var mi = (
|
|
|
3846
3825
|
else
|
|
3847
3826
|
break;
|
|
3848
3827
|
}
|
|
3849
|
-
var h =
|
|
3850
|
-
return o ? (a *= n,
|
|
3828
|
+
var h = g(i, this.clonePosition());
|
|
3829
|
+
return o ? (a *= n, hi(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3851
3830
|
}, e.prototype.offset = function() {
|
|
3852
3831
|
return this.position.offset;
|
|
3853
3832
|
}, e.prototype.isEOF = function() {
|
|
@@ -3862,7 +3841,7 @@ var mi = (
|
|
|
3862
3841
|
var t = this.position.offset;
|
|
3863
3842
|
if (t >= this.message.length)
|
|
3864
3843
|
throw Error("out of bound");
|
|
3865
|
-
var r =
|
|
3844
|
+
var r = pr(this.message, t);
|
|
3866
3845
|
if (r === void 0)
|
|
3867
3846
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3868
3847
|
return r;
|
|
@@ -3881,7 +3860,7 @@ var mi = (
|
|
|
3881
3860
|
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);
|
|
3882
3861
|
}
|
|
3883
3862
|
}, e.prototype.bumpIf = function(t) {
|
|
3884
|
-
if (
|
|
3863
|
+
if (St(this.message, t, this.offset())) {
|
|
3885
3864
|
for (var r = 0; r < t.length; r++)
|
|
3886
3865
|
this.bump();
|
|
3887
3866
|
return !0;
|
|
@@ -3903,7 +3882,7 @@ var mi = (
|
|
|
3903
3882
|
break;
|
|
3904
3883
|
}
|
|
3905
3884
|
}, e.prototype.bumpSpace = function() {
|
|
3906
|
-
for (; !this.isEOF() &&
|
|
3885
|
+
for (; !this.isEOF() && mr(this.char()); )
|
|
3907
3886
|
this.bump();
|
|
3908
3887
|
}, e.prototype.peek = function() {
|
|
3909
3888
|
if (this.isEOF())
|
|
@@ -3913,47 +3892,47 @@ var mi = (
|
|
|
3913
3892
|
}, e;
|
|
3914
3893
|
}()
|
|
3915
3894
|
);
|
|
3916
|
-
function
|
|
3895
|
+
function Ye(e) {
|
|
3917
3896
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3918
3897
|
}
|
|
3919
|
-
function
|
|
3920
|
-
return
|
|
3898
|
+
function di(e) {
|
|
3899
|
+
return Ye(e) || e === 47;
|
|
3921
3900
|
}
|
|
3922
|
-
function
|
|
3901
|
+
function mi(e) {
|
|
3923
3902
|
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;
|
|
3924
3903
|
}
|
|
3925
|
-
function
|
|
3904
|
+
function mr(e) {
|
|
3926
3905
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3927
3906
|
}
|
|
3928
|
-
function
|
|
3907
|
+
function bi(e) {
|
|
3929
3908
|
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;
|
|
3930
3909
|
}
|
|
3931
|
-
function
|
|
3910
|
+
function Ke(e) {
|
|
3932
3911
|
e.forEach(function(t) {
|
|
3933
|
-
if (delete t.location,
|
|
3912
|
+
if (delete t.location, or(t) || sr(t))
|
|
3934
3913
|
for (var r in t.options)
|
|
3935
|
-
delete t.options[r].location,
|
|
3914
|
+
delete t.options[r].location, Ke(t.options[r].value);
|
|
3936
3915
|
else
|
|
3937
|
-
|
|
3916
|
+
rr(t) && ur(t.style) || (nr(t) || ir(t)) && Ze(t.style) ? delete t.style.location : ar(t) && Ke(t.children);
|
|
3938
3917
|
});
|
|
3939
3918
|
}
|
|
3940
|
-
function
|
|
3941
|
-
t === void 0 && (t = {}), t =
|
|
3942
|
-
var r = new
|
|
3919
|
+
function gi(e, t) {
|
|
3920
|
+
t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3921
|
+
var r = new pi(e, t).parse();
|
|
3943
3922
|
if (r.err) {
|
|
3944
3923
|
var n = SyntaxError(b[r.err.kind]);
|
|
3945
3924
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3946
3925
|
}
|
|
3947
|
-
return t?.captureLocation ||
|
|
3926
|
+
return t?.captureLocation || Ke(r.val), r.val;
|
|
3948
3927
|
}
|
|
3949
|
-
var
|
|
3928
|
+
var J;
|
|
3950
3929
|
(function(e) {
|
|
3951
3930
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3952
|
-
})(
|
|
3953
|
-
var
|
|
3931
|
+
})(J || (J = {}));
|
|
3932
|
+
var Ae = (
|
|
3954
3933
|
/** @class */
|
|
3955
3934
|
function(e) {
|
|
3956
|
-
|
|
3935
|
+
C(t, e);
|
|
3957
3936
|
function t(r, n, i) {
|
|
3958
3937
|
var o = e.call(this, r) || this;
|
|
3959
3938
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3962,48 +3941,48 @@ var Oe = (
|
|
|
3962
3941
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3963
3942
|
}, t;
|
|
3964
3943
|
}(Error)
|
|
3965
|
-
),
|
|
3944
|
+
), Ht = (
|
|
3966
3945
|
/** @class */
|
|
3967
3946
|
function(e) {
|
|
3968
|
-
|
|
3947
|
+
C(t, e);
|
|
3969
3948
|
function t(r, n, i, o) {
|
|
3970
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3949
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, o) || this;
|
|
3971
3950
|
}
|
|
3972
3951
|
return t;
|
|
3973
|
-
}(
|
|
3974
|
-
),
|
|
3952
|
+
}(Ae)
|
|
3953
|
+
), yi = (
|
|
3975
3954
|
/** @class */
|
|
3976
3955
|
function(e) {
|
|
3977
|
-
|
|
3956
|
+
C(t, e);
|
|
3978
3957
|
function t(r, n, i) {
|
|
3979
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3958
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
|
|
3980
3959
|
}
|
|
3981
3960
|
return t;
|
|
3982
|
-
}(
|
|
3983
|
-
),
|
|
3961
|
+
}(Ae)
|
|
3962
|
+
), vi = (
|
|
3984
3963
|
/** @class */
|
|
3985
3964
|
function(e) {
|
|
3986
|
-
|
|
3965
|
+
C(t, e);
|
|
3987
3966
|
function t(r, n) {
|
|
3988
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3967
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
|
|
3989
3968
|
}
|
|
3990
3969
|
return t;
|
|
3991
|
-
}(
|
|
3970
|
+
}(Ae)
|
|
3992
3971
|
), S;
|
|
3993
3972
|
(function(e) {
|
|
3994
3973
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3995
3974
|
})(S || (S = {}));
|
|
3996
|
-
function
|
|
3975
|
+
function _i(e) {
|
|
3997
3976
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3998
3977
|
var n = t[t.length - 1];
|
|
3999
3978
|
return !n || n.type !== S.literal || r.type !== S.literal ? t.push(r) : n.value += r.value, t;
|
|
4000
3979
|
}, []);
|
|
4001
3980
|
}
|
|
4002
|
-
function
|
|
3981
|
+
function Ei(e) {
|
|
4003
3982
|
return typeof e == "function";
|
|
4004
3983
|
}
|
|
4005
3984
|
function ve(e, t, r, n, i, o, a) {
|
|
4006
|
-
if (e.length === 1 &&
|
|
3985
|
+
if (e.length === 1 && vt(e[0]))
|
|
4007
3986
|
return [
|
|
4008
3987
|
{
|
|
4009
3988
|
type: S.literal,
|
|
@@ -4012,14 +3991,14 @@ function ve(e, t, r, n, i, o, a) {
|
|
|
4012
3991
|
];
|
|
4013
3992
|
for (var s = [], h = 0, u = e; h < u.length; h++) {
|
|
4014
3993
|
var l = u[h];
|
|
4015
|
-
if (
|
|
3994
|
+
if (vt(l)) {
|
|
4016
3995
|
s.push({
|
|
4017
3996
|
type: S.literal,
|
|
4018
3997
|
value: l.value
|
|
4019
3998
|
});
|
|
4020
3999
|
continue;
|
|
4021
4000
|
}
|
|
4022
|
-
if (
|
|
4001
|
+
if (kn(l)) {
|
|
4023
4002
|
typeof o == "number" && s.push({
|
|
4024
4003
|
type: S.literal,
|
|
4025
4004
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -4028,44 +4007,44 @@ function ve(e, t, r, n, i, o, a) {
|
|
|
4028
4007
|
}
|
|
4029
4008
|
var f = l.value;
|
|
4030
4009
|
if (!(i && f in i))
|
|
4031
|
-
throw new
|
|
4010
|
+
throw new vi(f, a);
|
|
4032
4011
|
var c = i[f];
|
|
4033
|
-
if (
|
|
4012
|
+
if (jn(l)) {
|
|
4034
4013
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
|
|
4035
4014
|
type: typeof c == "string" ? S.literal : S.object,
|
|
4036
4015
|
value: c
|
|
4037
4016
|
});
|
|
4038
4017
|
continue;
|
|
4039
4018
|
}
|
|
4040
|
-
if (
|
|
4041
|
-
var d = typeof l.style == "string" ? n.date[l.style] :
|
|
4019
|
+
if (nr(l)) {
|
|
4020
|
+
var d = typeof l.style == "string" ? n.date[l.style] : Ze(l.style) ? l.style.parsedOptions : void 0;
|
|
4042
4021
|
s.push({
|
|
4043
4022
|
type: S.literal,
|
|
4044
4023
|
value: r.getDateTimeFormat(t, d).format(c)
|
|
4045
4024
|
});
|
|
4046
4025
|
continue;
|
|
4047
4026
|
}
|
|
4048
|
-
if (
|
|
4049
|
-
var d = typeof l.style == "string" ? n.time[l.style] :
|
|
4027
|
+
if (ir(l)) {
|
|
4028
|
+
var d = typeof l.style == "string" ? n.time[l.style] : Ze(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
4050
4029
|
s.push({
|
|
4051
4030
|
type: S.literal,
|
|
4052
4031
|
value: r.getDateTimeFormat(t, d).format(c)
|
|
4053
4032
|
});
|
|
4054
4033
|
continue;
|
|
4055
4034
|
}
|
|
4056
|
-
if (
|
|
4057
|
-
var d = typeof l.style == "string" ? n.number[l.style] :
|
|
4035
|
+
if (rr(l)) {
|
|
4036
|
+
var d = typeof l.style == "string" ? n.number[l.style] : ur(l.style) ? l.style.parsedOptions : void 0;
|
|
4058
4037
|
d && d.scale && (c = c * (d.scale || 1)), s.push({
|
|
4059
4038
|
type: S.literal,
|
|
4060
4039
|
value: r.getNumberFormat(t, d).format(c)
|
|
4061
4040
|
});
|
|
4062
4041
|
continue;
|
|
4063
4042
|
}
|
|
4064
|
-
if (
|
|
4065
|
-
var p = l.children, m = l.value,
|
|
4066
|
-
if (!
|
|
4067
|
-
throw new
|
|
4068
|
-
var T = ve(p, t, r, n, i, o), P =
|
|
4043
|
+
if (ar(l)) {
|
|
4044
|
+
var p = l.children, m = l.value, E = i[m];
|
|
4045
|
+
if (!Ei(E))
|
|
4046
|
+
throw new yi(m, "function", a);
|
|
4047
|
+
var T = ve(p, t, r, n, i, o), P = E(T.map(function(w) {
|
|
4069
4048
|
return w.value;
|
|
4070
4049
|
}));
|
|
4071
4050
|
Array.isArray(P) || (P = [P]), s.push.apply(s, P.map(function(w) {
|
|
@@ -4075,42 +4054,42 @@ function ve(e, t, r, n, i, o, a) {
|
|
|
4075
4054
|
};
|
|
4076
4055
|
}));
|
|
4077
4056
|
}
|
|
4078
|
-
if (
|
|
4057
|
+
if (or(l)) {
|
|
4079
4058
|
var x = l.options[c] || l.options.other;
|
|
4080
4059
|
if (!x)
|
|
4081
|
-
throw new
|
|
4060
|
+
throw new Ht(l.value, c, Object.keys(l.options), a);
|
|
4082
4061
|
s.push.apply(s, ve(x.value, t, r, n, i));
|
|
4083
4062
|
continue;
|
|
4084
4063
|
}
|
|
4085
|
-
if (
|
|
4064
|
+
if (sr(l)) {
|
|
4086
4065
|
var x = l.options["=".concat(c)];
|
|
4087
4066
|
if (!x) {
|
|
4088
4067
|
if (!Intl.PluralRules)
|
|
4089
|
-
throw new
|
|
4068
|
+
throw new Ae(`Intl.PluralRules is not available in this environment.
|
|
4090
4069
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
4091
|
-
`,
|
|
4070
|
+
`, J.MISSING_INTL_API, a);
|
|
4092
4071
|
var O = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
|
4093
4072
|
x = l.options[O] || l.options.other;
|
|
4094
4073
|
}
|
|
4095
4074
|
if (!x)
|
|
4096
|
-
throw new
|
|
4075
|
+
throw new Ht(l.value, c, Object.keys(l.options), a);
|
|
4097
4076
|
s.push.apply(s, ve(x.value, t, r, n, i, c - (l.offset || 0)));
|
|
4098
4077
|
continue;
|
|
4099
4078
|
}
|
|
4100
4079
|
}
|
|
4101
|
-
return
|
|
4080
|
+
return _i(s);
|
|
4102
4081
|
}
|
|
4103
|
-
function
|
|
4104
|
-
return t ?
|
|
4105
|
-
return r[n] =
|
|
4082
|
+
function xi(e, t) {
|
|
4083
|
+
return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
4084
|
+
return r[n] = y(y({}, e[n]), t[n] || {}), r;
|
|
4106
4085
|
}, {})) : e;
|
|
4107
4086
|
}
|
|
4108
|
-
function
|
|
4087
|
+
function Si(e, t) {
|
|
4109
4088
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
4110
|
-
return r[n] =
|
|
4111
|
-
},
|
|
4089
|
+
return r[n] = xi(e[n], t[n]), r;
|
|
4090
|
+
}, y({}, e)) : e;
|
|
4112
4091
|
}
|
|
4113
|
-
function
|
|
4092
|
+
function De(e) {
|
|
4114
4093
|
return {
|
|
4115
4094
|
create: function() {
|
|
4116
4095
|
return {
|
|
@@ -4124,39 +4103,39 @@ function Fe(e) {
|
|
|
4124
4103
|
}
|
|
4125
4104
|
};
|
|
4126
4105
|
}
|
|
4127
|
-
function
|
|
4106
|
+
function Ti(e) {
|
|
4128
4107
|
return e === void 0 && (e = {
|
|
4129
4108
|
number: {},
|
|
4130
4109
|
dateTime: {},
|
|
4131
4110
|
pluralRules: {}
|
|
4132
4111
|
}), {
|
|
4133
|
-
getNumberFormat:
|
|
4112
|
+
getNumberFormat: $e(function() {
|
|
4134
4113
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4135
4114
|
r[n] = arguments[n];
|
|
4136
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
4115
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Z([void 0], r, !1)))();
|
|
4137
4116
|
}, {
|
|
4138
|
-
cache:
|
|
4139
|
-
strategy:
|
|
4117
|
+
cache: De(e.number),
|
|
4118
|
+
strategy: Re.variadic
|
|
4140
4119
|
}),
|
|
4141
|
-
getDateTimeFormat:
|
|
4120
|
+
getDateTimeFormat: $e(function() {
|
|
4142
4121
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4143
4122
|
r[n] = arguments[n];
|
|
4144
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
4123
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Z([void 0], r, !1)))();
|
|
4145
4124
|
}, {
|
|
4146
|
-
cache:
|
|
4147
|
-
strategy:
|
|
4125
|
+
cache: De(e.dateTime),
|
|
4126
|
+
strategy: Re.variadic
|
|
4148
4127
|
}),
|
|
4149
|
-
getPluralRules:
|
|
4128
|
+
getPluralRules: $e(function() {
|
|
4150
4129
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4151
4130
|
r[n] = arguments[n];
|
|
4152
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
4131
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Z([void 0], r, !1)))();
|
|
4153
4132
|
}, {
|
|
4154
|
-
cache:
|
|
4155
|
-
strategy:
|
|
4133
|
+
cache: De(e.pluralRules),
|
|
4134
|
+
strategy: Re.variadic
|
|
4156
4135
|
})
|
|
4157
4136
|
};
|
|
4158
4137
|
}
|
|
4159
|
-
var
|
|
4138
|
+
var wi = (
|
|
4160
4139
|
/** @class */
|
|
4161
4140
|
function() {
|
|
4162
4141
|
function e(t, r, n, i) {
|
|
@@ -4188,13 +4167,13 @@ var Bi = (
|
|
|
4188
4167
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
4189
4168
|
var a = i || {};
|
|
4190
4169
|
a.formatters;
|
|
4191
|
-
var s =
|
|
4192
|
-
this.ast = e.__parse(t,
|
|
4170
|
+
var s = nn(a, ["formatters"]);
|
|
4171
|
+
this.ast = e.__parse(t, y(y({}, s), { locale: this.resolvedLocale }));
|
|
4193
4172
|
} else
|
|
4194
4173
|
this.ast = t;
|
|
4195
4174
|
if (!Array.isArray(this.ast))
|
|
4196
4175
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
4197
|
-
this.formats =
|
|
4176
|
+
this.formats = Si(e.formats, n), this.formatters = i && i.formatters || Ti(this.formatterCache);
|
|
4198
4177
|
}
|
|
4199
4178
|
return Object.defineProperty(e, "defaultLocale", {
|
|
4200
4179
|
get: function() {
|
|
@@ -4207,7 +4186,7 @@ var Bi = (
|
|
|
4207
4186
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
4208
4187
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
4209
4188
|
}
|
|
4210
|
-
}, e.__parse =
|
|
4189
|
+
}, e.__parse = gi, e.formats = {
|
|
4211
4190
|
number: {
|
|
4212
4191
|
integer: {
|
|
4213
4192
|
maximumFractionDigits: 0
|
|
@@ -4268,7 +4247,7 @@ var Bi = (
|
|
|
4268
4247
|
}, e;
|
|
4269
4248
|
}()
|
|
4270
4249
|
);
|
|
4271
|
-
function
|
|
4250
|
+
function Hi(e, t) {
|
|
4272
4251
|
if (t == null)
|
|
4273
4252
|
return;
|
|
4274
4253
|
if (t in e)
|
|
@@ -4289,92 +4268,92 @@ function Ai(e, t) {
|
|
|
4289
4268
|
n = void 0;
|
|
4290
4269
|
return n;
|
|
4291
4270
|
}
|
|
4292
|
-
const U = {},
|
|
4271
|
+
const U = {}, Bi = (e, t, r) => r && (t in U || (U[t] = {}), e in U[t] || (U[t][e] = r), r), br = (e, t) => {
|
|
4293
4272
|
if (t == null)
|
|
4294
4273
|
return;
|
|
4295
4274
|
if (t in U && e in U[t])
|
|
4296
4275
|
return U[t][e];
|
|
4297
|
-
const r =
|
|
4276
|
+
const r = Pe(t);
|
|
4298
4277
|
for (let n = 0; n < r.length; n++) {
|
|
4299
|
-
const i = r[n], o =
|
|
4278
|
+
const i = r[n], o = Pi(i, e);
|
|
4300
4279
|
if (o)
|
|
4301
|
-
return
|
|
4280
|
+
return Bi(e, t, o);
|
|
4302
4281
|
}
|
|
4303
4282
|
};
|
|
4304
|
-
let
|
|
4305
|
-
const ce =
|
|
4306
|
-
function
|
|
4307
|
-
return
|
|
4283
|
+
let st;
|
|
4284
|
+
const ce = Be({});
|
|
4285
|
+
function Ai(e) {
|
|
4286
|
+
return st[e] || null;
|
|
4308
4287
|
}
|
|
4309
4288
|
function gr(e) {
|
|
4310
|
-
return e in
|
|
4289
|
+
return e in st;
|
|
4311
4290
|
}
|
|
4312
|
-
function
|
|
4291
|
+
function Pi(e, t) {
|
|
4313
4292
|
if (!gr(e))
|
|
4314
4293
|
return null;
|
|
4315
|
-
const r =
|
|
4316
|
-
return
|
|
4294
|
+
const r = Ai(e);
|
|
4295
|
+
return Hi(r, t);
|
|
4317
4296
|
}
|
|
4318
|
-
function
|
|
4297
|
+
function Oi(e) {
|
|
4319
4298
|
if (e == null)
|
|
4320
4299
|
return;
|
|
4321
|
-
const t =
|
|
4300
|
+
const t = Pe(e);
|
|
4322
4301
|
for (let r = 0; r < t.length; r++) {
|
|
4323
4302
|
const n = t[r];
|
|
4324
4303
|
if (gr(n))
|
|
4325
4304
|
return n;
|
|
4326
4305
|
}
|
|
4327
4306
|
}
|
|
4328
|
-
function
|
|
4307
|
+
function yr(e, ...t) {
|
|
4329
4308
|
delete U[e], ce.update((r) => (r[e] = Cn.all([r[e] || {}, ...t]), r));
|
|
4330
4309
|
}
|
|
4331
|
-
|
|
4310
|
+
ee(
|
|
4332
4311
|
[ce],
|
|
4333
4312
|
([e]) => Object.keys(e)
|
|
4334
4313
|
);
|
|
4335
|
-
ce.subscribe((e) =>
|
|
4314
|
+
ce.subscribe((e) => st = e);
|
|
4336
4315
|
const _e = {};
|
|
4337
|
-
function
|
|
4316
|
+
function Ii(e, t) {
|
|
4338
4317
|
_e[e].delete(t), _e[e].size === 0 && delete _e[e];
|
|
4339
4318
|
}
|
|
4340
|
-
function
|
|
4319
|
+
function vr(e) {
|
|
4341
4320
|
return _e[e];
|
|
4342
4321
|
}
|
|
4343
|
-
function
|
|
4344
|
-
return
|
|
4345
|
-
const r =
|
|
4322
|
+
function Li(e) {
|
|
4323
|
+
return Pe(e).map((t) => {
|
|
4324
|
+
const r = vr(t);
|
|
4346
4325
|
return [t, r ? [...r] : []];
|
|
4347
4326
|
}).filter(([, t]) => t.length > 0);
|
|
4348
4327
|
}
|
|
4349
|
-
function
|
|
4350
|
-
return e == null ? !1 :
|
|
4328
|
+
function et(e) {
|
|
4329
|
+
return e == null ? !1 : Pe(e).some(
|
|
4351
4330
|
(t) => {
|
|
4352
4331
|
var r;
|
|
4353
|
-
return (r =
|
|
4332
|
+
return (r = vr(t)) == null ? void 0 : r.size;
|
|
4354
4333
|
}
|
|
4355
4334
|
);
|
|
4356
4335
|
}
|
|
4357
|
-
function
|
|
4336
|
+
function Ni(e, t) {
|
|
4358
4337
|
return Promise.all(
|
|
4359
|
-
t.map((n) => (
|
|
4360
|
-
).then((n) =>
|
|
4361
|
-
}
|
|
4362
|
-
const
|
|
4363
|
-
function
|
|
4364
|
-
if (!
|
|
4365
|
-
return e in
|
|
4366
|
-
const t =
|
|
4367
|
-
return
|
|
4338
|
+
t.map((n) => (Ii(e, n), n().then((i) => i.default || i)))
|
|
4339
|
+
).then((n) => yr(e, ...n));
|
|
4340
|
+
}
|
|
4341
|
+
const ie = {};
|
|
4342
|
+
function _r(e) {
|
|
4343
|
+
if (!et(e))
|
|
4344
|
+
return e in ie ? ie[e] : Promise.resolve();
|
|
4345
|
+
const t = Li(e);
|
|
4346
|
+
return ie[e] = Promise.all(
|
|
4368
4347
|
t.map(
|
|
4369
|
-
([r, n]) =>
|
|
4348
|
+
([r, n]) => Ni(r, n)
|
|
4370
4349
|
)
|
|
4371
4350
|
).then(() => {
|
|
4372
|
-
if (
|
|
4373
|
-
return
|
|
4374
|
-
delete
|
|
4375
|
-
}),
|
|
4351
|
+
if (et(e))
|
|
4352
|
+
return _r(e);
|
|
4353
|
+
delete ie[e];
|
|
4354
|
+
}), ie[e];
|
|
4376
4355
|
}
|
|
4377
|
-
const
|
|
4356
|
+
const Mi = {
|
|
4378
4357
|
number: {
|
|
4379
4358
|
scientific: { notation: "scientific" },
|
|
4380
4359
|
engineering: { notation: "engineering" },
|
|
@@ -4403,135 +4382,135 @@ const $i = {
|
|
|
4403
4382
|
timeZoneName: "short"
|
|
4404
4383
|
}
|
|
4405
4384
|
}
|
|
4406
|
-
},
|
|
4385
|
+
}, Ci = {
|
|
4407
4386
|
fallbackLocale: null,
|
|
4408
4387
|
loadingDelay: 200,
|
|
4409
|
-
formats:
|
|
4388
|
+
formats: Mi,
|
|
4410
4389
|
warnOnMissingMessages: !0,
|
|
4411
4390
|
handleMissingMessage: void 0,
|
|
4412
4391
|
ignoreTag: !0
|
|
4413
|
-
},
|
|
4414
|
-
function
|
|
4415
|
-
return
|
|
4392
|
+
}, $i = Ci;
|
|
4393
|
+
function Y() {
|
|
4394
|
+
return $i;
|
|
4416
4395
|
}
|
|
4417
|
-
const
|
|
4418
|
-
var
|
|
4396
|
+
const Ge = Be(!1);
|
|
4397
|
+
var Ri = Object.defineProperty, Ui = Object.defineProperties, Di = Object.getOwnPropertyDescriptors, Bt = Object.getOwnPropertySymbols, Gi = Object.prototype.hasOwnProperty, Fi = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ji = (e, t) => {
|
|
4419
4398
|
for (var r in t || (t = {}))
|
|
4420
|
-
|
|
4421
|
-
if (
|
|
4422
|
-
for (var r of
|
|
4423
|
-
|
|
4399
|
+
Gi.call(t, r) && At(e, r, t[r]);
|
|
4400
|
+
if (Bt)
|
|
4401
|
+
for (var r of Bt(t))
|
|
4402
|
+
Fi.call(t, r) && At(e, r, t[r]);
|
|
4424
4403
|
return e;
|
|
4425
|
-
},
|
|
4426
|
-
let
|
|
4427
|
-
const
|
|
4428
|
-
function
|
|
4404
|
+
}, ki = (e, t) => Ui(e, Di(t));
|
|
4405
|
+
let tt;
|
|
4406
|
+
const Te = Be(null);
|
|
4407
|
+
function Pt(e) {
|
|
4429
4408
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4430
4409
|
}
|
|
4431
|
-
function
|
|
4432
|
-
const r =
|
|
4433
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4410
|
+
function Pe(e, t = Y().fallbackLocale) {
|
|
4411
|
+
const r = Pt(e);
|
|
4412
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Pt(t)])] : r;
|
|
4434
4413
|
}
|
|
4435
4414
|
function F() {
|
|
4436
|
-
return
|
|
4415
|
+
return tt ?? void 0;
|
|
4437
4416
|
}
|
|
4438
|
-
|
|
4439
|
-
|
|
4417
|
+
Te.subscribe((e) => {
|
|
4418
|
+
tt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4440
4419
|
});
|
|
4441
|
-
const
|
|
4442
|
-
if (e &&
|
|
4443
|
-
const { loadingDelay: t } =
|
|
4420
|
+
const Vi = (e) => {
|
|
4421
|
+
if (e && Oi(e) && et(e)) {
|
|
4422
|
+
const { loadingDelay: t } = Y();
|
|
4444
4423
|
let r;
|
|
4445
4424
|
return typeof window < "u" && F() != null && t ? r = window.setTimeout(
|
|
4446
|
-
() =>
|
|
4425
|
+
() => Ge.set(!0),
|
|
4447
4426
|
t
|
|
4448
|
-
) :
|
|
4449
|
-
|
|
4427
|
+
) : Ge.set(!0), _r(e).then(() => {
|
|
4428
|
+
Te.set(e);
|
|
4450
4429
|
}).finally(() => {
|
|
4451
|
-
clearTimeout(r),
|
|
4430
|
+
clearTimeout(r), Ge.set(!1);
|
|
4452
4431
|
});
|
|
4453
4432
|
}
|
|
4454
|
-
return
|
|
4455
|
-
},
|
|
4456
|
-
set:
|
|
4457
|
-
}),
|
|
4433
|
+
return Te.set(e);
|
|
4434
|
+
}, te = ki(ji({}, Te), {
|
|
4435
|
+
set: Vi
|
|
4436
|
+
}), Oe = (e) => {
|
|
4458
4437
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4459
4438
|
return (n) => {
|
|
4460
4439
|
const i = JSON.stringify(n);
|
|
4461
4440
|
return i in t ? t[i] : t[i] = e(n);
|
|
4462
4441
|
};
|
|
4463
4442
|
};
|
|
4464
|
-
var
|
|
4443
|
+
var Xi = Object.defineProperty, we = Object.getOwnPropertySymbols, Er = Object.prototype.hasOwnProperty, xr = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? Xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, at = (e, t) => {
|
|
4465
4444
|
for (var r in t || (t = {}))
|
|
4466
|
-
|
|
4467
|
-
if (
|
|
4468
|
-
for (var r of
|
|
4469
|
-
|
|
4445
|
+
Er.call(t, r) && Ot(e, r, t[r]);
|
|
4446
|
+
if (we)
|
|
4447
|
+
for (var r of we(t))
|
|
4448
|
+
xr.call(t, r) && Ot(e, r, t[r]);
|
|
4470
4449
|
return e;
|
|
4471
|
-
},
|
|
4450
|
+
}, re = (e, t) => {
|
|
4472
4451
|
var r = {};
|
|
4473
4452
|
for (var n in e)
|
|
4474
|
-
|
|
4475
|
-
if (e != null &&
|
|
4476
|
-
for (var n of
|
|
4477
|
-
t.indexOf(n) < 0 &&
|
|
4453
|
+
Er.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4454
|
+
if (e != null && we)
|
|
4455
|
+
for (var n of we(e))
|
|
4456
|
+
t.indexOf(n) < 0 && xr.call(e, n) && (r[n] = e[n]);
|
|
4478
4457
|
return r;
|
|
4479
4458
|
};
|
|
4480
|
-
const
|
|
4481
|
-
const { formats: r } =
|
|
4459
|
+
const ue = (e, t) => {
|
|
4460
|
+
const { formats: r } = Y();
|
|
4482
4461
|
if (e in r && t in r[e])
|
|
4483
4462
|
return r[e][t];
|
|
4484
4463
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4485
|
-
},
|
|
4464
|
+
}, Wi = Oe(
|
|
4486
4465
|
(e) => {
|
|
4487
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4466
|
+
var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
|
|
4488
4467
|
if (r == null)
|
|
4489
4468
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4490
|
-
return n && (i =
|
|
4469
|
+
return n && (i = ue("number", n)), new Intl.NumberFormat(r, i);
|
|
4491
4470
|
}
|
|
4492
|
-
),
|
|
4471
|
+
), zi = Oe(
|
|
4493
4472
|
(e) => {
|
|
4494
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4473
|
+
var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
|
|
4495
4474
|
if (r == null)
|
|
4496
4475
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4497
|
-
return n ? i =
|
|
4476
|
+
return n ? i = ue("date", n) : Object.keys(i).length === 0 && (i = ue("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4498
4477
|
}
|
|
4499
|
-
),
|
|
4478
|
+
), Zi = Oe(
|
|
4500
4479
|
(e) => {
|
|
4501
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4480
|
+
var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
|
|
4502
4481
|
if (r == null)
|
|
4503
4482
|
throw new Error(
|
|
4504
4483
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4505
4484
|
);
|
|
4506
|
-
return n ? i =
|
|
4485
|
+
return n ? i = ue("time", n) : Object.keys(i).length === 0 && (i = ue("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4507
4486
|
}
|
|
4508
|
-
),
|
|
4487
|
+
), qi = (e = {}) => {
|
|
4509
4488
|
var t = e, {
|
|
4510
4489
|
locale: r = F()
|
|
4511
|
-
} = t, n =
|
|
4490
|
+
} = t, n = re(t, [
|
|
4512
4491
|
"locale"
|
|
4513
4492
|
]);
|
|
4514
|
-
return
|
|
4515
|
-
},
|
|
4493
|
+
return Wi(at({ locale: r }, n));
|
|
4494
|
+
}, Qi = (e = {}) => {
|
|
4516
4495
|
var t = e, {
|
|
4517
4496
|
locale: r = F()
|
|
4518
|
-
} = t, n =
|
|
4497
|
+
} = t, n = re(t, [
|
|
4519
4498
|
"locale"
|
|
4520
4499
|
]);
|
|
4521
|
-
return
|
|
4522
|
-
},
|
|
4500
|
+
return zi(at({ locale: r }, n));
|
|
4501
|
+
}, Ji = (e = {}) => {
|
|
4523
4502
|
var t = e, {
|
|
4524
4503
|
locale: r = F()
|
|
4525
|
-
} = t, n =
|
|
4504
|
+
} = t, n = re(t, [
|
|
4526
4505
|
"locale"
|
|
4527
4506
|
]);
|
|
4528
|
-
return
|
|
4529
|
-
},
|
|
4507
|
+
return Zi(at({ locale: r }, n));
|
|
4508
|
+
}, Yi = Oe(
|
|
4530
4509
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4531
|
-
(e, t = F()) => new
|
|
4532
|
-
ignoreTag:
|
|
4510
|
+
(e, t = F()) => new wi(e, t, Y().formats, {
|
|
4511
|
+
ignoreTag: Y().ignoreTag
|
|
4533
4512
|
})
|
|
4534
|
-
),
|
|
4513
|
+
), Ki = (e, t = {}) => {
|
|
4535
4514
|
var r, n, i, o;
|
|
4536
4515
|
let a = t;
|
|
4537
4516
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -4544,9 +4523,9 @@ const ae = (e, t) => {
|
|
|
4544
4523
|
throw new Error(
|
|
4545
4524
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4546
4525
|
);
|
|
4547
|
-
let l =
|
|
4526
|
+
let l = br(e, h);
|
|
4548
4527
|
if (!l)
|
|
4549
|
-
l = (o = (i = (n = (r =
|
|
4528
|
+
l = (o = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4550
4529
|
else if (typeof l != "string")
|
|
4551
4530
|
return console.warn(
|
|
4552
4531
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4555,7 +4534,7 @@ const ae = (e, t) => {
|
|
|
4555
4534
|
return l;
|
|
4556
4535
|
let f = l;
|
|
4557
4536
|
try {
|
|
4558
|
-
f =
|
|
4537
|
+
f = Yi(l, h).format(s);
|
|
4559
4538
|
} catch (c) {
|
|
4560
4539
|
c instanceof Error && console.warn(
|
|
4561
4540
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4563,14 +4542,14 @@ const ae = (e, t) => {
|
|
|
4563
4542
|
);
|
|
4564
4543
|
}
|
|
4565
4544
|
return f;
|
|
4566
|
-
},
|
|
4567
|
-
|
|
4568
|
-
|
|
4569
|
-
|
|
4570
|
-
|
|
4571
|
-
window.emWidgets = { topic:
|
|
4572
|
-
const
|
|
4573
|
-
function
|
|
4545
|
+
}, eo = (e, t) => Ji(t).format(e), to = (e, t) => Qi(t).format(e), ro = (e, t) => qi(t).format(e), no = (e, t = F()) => br(e, t), io = ee([te, ce], () => Ki);
|
|
4546
|
+
ee([te], () => eo);
|
|
4547
|
+
ee([te], () => to);
|
|
4548
|
+
ee([te], () => ro);
|
|
4549
|
+
ee([te, ce], () => no);
|
|
4550
|
+
window.emWidgets = { topic: yn };
|
|
4551
|
+
const Fo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), Sr = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC", jo = (e) => e.match(/CustomNative/i) ? "NativeApp" : Sr(e) === "PC" ? "Desktop" : "Mobile";
|
|
4552
|
+
function ko(e, t) {
|
|
4574
4553
|
const r = () => !0;
|
|
4575
4554
|
switch (typeof e) {
|
|
4576
4555
|
case "string": {
|
|
@@ -4584,13 +4563,13 @@ function Xo(e, t) {
|
|
|
4584
4563
|
}
|
|
4585
4564
|
}
|
|
4586
4565
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
4587
|
-
function
|
|
4566
|
+
function It(e, t) {
|
|
4588
4567
|
if (e) {
|
|
4589
4568
|
const r = document.createElement("style");
|
|
4590
4569
|
r.innerHTML = t, e.appendChild(r);
|
|
4591
4570
|
}
|
|
4592
4571
|
}
|
|
4593
|
-
function
|
|
4572
|
+
function oo(e, t) {
|
|
4594
4573
|
if (!e || !t)
|
|
4595
4574
|
return;
|
|
4596
4575
|
const r = new URL(t);
|
|
@@ -4601,7 +4580,7 @@ function ao(e, t) {
|
|
|
4601
4580
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4602
4581
|
});
|
|
4603
4582
|
}
|
|
4604
|
-
function
|
|
4583
|
+
function so(e, t, r) {
|
|
4605
4584
|
if (window.emMessageBus) {
|
|
4606
4585
|
const n = document.createElement("style");
|
|
4607
4586
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4609,7 +4588,7 @@ function uo(e, t, r) {
|
|
|
4609
4588
|
});
|
|
4610
4589
|
}
|
|
4611
4590
|
}
|
|
4612
|
-
const
|
|
4591
|
+
const ao = (e, t = {}) => {
|
|
4613
4592
|
const r = new CustomEvent("track-custom-event", {
|
|
4614
4593
|
detail: {
|
|
4615
4594
|
type: e,
|
|
@@ -4620,13 +4599,13 @@ const ho = (e, t = {}) => {
|
|
|
4620
4599
|
});
|
|
4621
4600
|
document.dispatchEvent(r);
|
|
4622
4601
|
};
|
|
4623
|
-
function
|
|
4624
|
-
|
|
4602
|
+
function Lt(e, t) {
|
|
4603
|
+
yr(e, t);
|
|
4625
4604
|
}
|
|
4626
|
-
function
|
|
4627
|
-
|
|
4605
|
+
function uo(e) {
|
|
4606
|
+
te.set(e);
|
|
4628
4607
|
}
|
|
4629
|
-
const
|
|
4608
|
+
const Nt = {
|
|
4630
4609
|
en: {
|
|
4631
4610
|
logoutButton: "Logout"
|
|
4632
4611
|
},
|
|
@@ -4661,20 +4640,20 @@ const Ct = {
|
|
|
4661
4640
|
logoutButton: "Logout"
|
|
4662
4641
|
}
|
|
4663
4642
|
};
|
|
4664
|
-
function
|
|
4665
|
-
|
|
4643
|
+
function ho(e) {
|
|
4644
|
+
Lr(e, "svelte-xtnqa3", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}");
|
|
4666
4645
|
}
|
|
4667
|
-
function
|
|
4646
|
+
function lo(e) {
|
|
4668
4647
|
let t, r, n, i = (
|
|
4669
4648
|
/*$_*/
|
|
4670
4649
|
e[2]("logoutButton") + ""
|
|
4671
4650
|
), o, a, s;
|
|
4672
4651
|
return {
|
|
4673
4652
|
c() {
|
|
4674
|
-
t = I("div"), r = I("button"), n = I("span"), o =
|
|
4653
|
+
t = I("div"), r = I("button"), n = I("span"), o = le(i), B(t, "class", "GeneralLogout");
|
|
4675
4654
|
},
|
|
4676
4655
|
m(h, u) {
|
|
4677
|
-
|
|
4656
|
+
K(h, t, u), A(t, r), A(r, n), A(n, o), a || (s = Ft(
|
|
4678
4657
|
r,
|
|
4679
4658
|
"click",
|
|
4680
4659
|
/*click_handler_1*/
|
|
@@ -4684,19 +4663,19 @@ function fo(e) {
|
|
|
4684
4663
|
p(h, u) {
|
|
4685
4664
|
u & /*$_*/
|
|
4686
4665
|
4 && i !== (i = /*$_*/
|
|
4687
|
-
h[2]("logoutButton") + "") &&
|
|
4666
|
+
h[2]("logoutButton") + "") && jt(o, i);
|
|
4688
4667
|
},
|
|
4689
4668
|
d(h) {
|
|
4690
|
-
h &&
|
|
4669
|
+
h && D(t), a = !1, s();
|
|
4691
4670
|
}
|
|
4692
4671
|
};
|
|
4693
4672
|
}
|
|
4694
|
-
function
|
|
4673
|
+
function co(e) {
|
|
4695
4674
|
let t, r, n, i, o, a, s, h, u, l, f, c = !/*isMobile*/
|
|
4696
|
-
e[3] &&
|
|
4675
|
+
e[3] && fo(e);
|
|
4697
4676
|
return {
|
|
4698
4677
|
c() {
|
|
4699
|
-
t = I("p"), r = I("span"), n = V("svg"), i = V("defs"), o = V("style"), a =
|
|
4678
|
+
t = I("p"), r = I("span"), n = V("svg"), i = V("defs"), o = V("style"), a = le(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), s = V("path"), h = V("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(h, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), B(h, "d", "M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"), B(n, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), B(n, "data-name", "Layer 1"), B(n, "xmlns", "http://www.w3.org/2000/svg"), B(n, "viewBox", "0 0 150 150"), $r(r, "width", /*isMobile*/
|
|
4700
4679
|
e[3] ? (
|
|
4701
4680
|
/*mediaQuery*/
|
|
4702
4681
|
e[4].matches ? "20px" : "24px"
|
|
@@ -4706,7 +4685,7 @@ function po(e) {
|
|
|
4706
4685
|
e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
|
|
4707
4686
|
},
|
|
4708
4687
|
m(d, p) {
|
|
4709
|
-
|
|
4688
|
+
K(d, t, p), A(t, r), A(r, n), A(n, i), A(i, o), A(o, a), A(n, s), A(n, h), A(t, u), c && c.m(t, null), l || (f = Ft(
|
|
4710
4689
|
t,
|
|
4711
4690
|
"click",
|
|
4712
4691
|
/*click_handler*/
|
|
@@ -4718,38 +4697,38 @@ function po(e) {
|
|
|
4718
4697
|
d[3] || c.p(d, p);
|
|
4719
4698
|
},
|
|
4720
4699
|
d(d) {
|
|
4721
|
-
d &&
|
|
4700
|
+
d && D(t), c && c.d(), l = !1, f();
|
|
4722
4701
|
}
|
|
4723
4702
|
};
|
|
4724
4703
|
}
|
|
4725
|
-
function
|
|
4704
|
+
function fo(e) {
|
|
4726
4705
|
let t, r = (
|
|
4727
4706
|
/*$_*/
|
|
4728
4707
|
e[2]("logoutButton") + ""
|
|
4729
4708
|
), n;
|
|
4730
4709
|
return {
|
|
4731
4710
|
c() {
|
|
4732
|
-
t = I("span"), n =
|
|
4711
|
+
t = I("span"), n = le(r), B(t, "class", "PlayerLogoutText");
|
|
4733
4712
|
},
|
|
4734
4713
|
m(i, o) {
|
|
4735
|
-
|
|
4714
|
+
K(i, t, o), A(t, n);
|
|
4736
4715
|
},
|
|
4737
4716
|
p(i, o) {
|
|
4738
4717
|
o & /*$_*/
|
|
4739
4718
|
4 && r !== (r = /*$_*/
|
|
4740
|
-
i[2]("logoutButton") + "") &&
|
|
4719
|
+
i[2]("logoutButton") + "") && jt(n, r);
|
|
4741
4720
|
},
|
|
4742
4721
|
d(i) {
|
|
4743
|
-
i &&
|
|
4722
|
+
i && D(t);
|
|
4744
4723
|
}
|
|
4745
4724
|
};
|
|
4746
4725
|
}
|
|
4747
|
-
function
|
|
4726
|
+
function po(e) {
|
|
4748
4727
|
let t;
|
|
4749
4728
|
function r(o, a) {
|
|
4750
4729
|
return (
|
|
4751
4730
|
/*buttonlocation*/
|
|
4752
|
-
o[0] === "PlayerAccountMenu" ?
|
|
4731
|
+
o[0] === "PlayerAccountMenu" ? co : lo
|
|
4753
4732
|
);
|
|
4754
4733
|
}
|
|
4755
4734
|
let n = r(e), i = n(e);
|
|
@@ -4758,7 +4737,7 @@ function bo(e) {
|
|
|
4758
4737
|
t = I("div"), i.c();
|
|
4759
4738
|
},
|
|
4760
4739
|
m(o, a) {
|
|
4761
|
-
|
|
4740
|
+
K(o, t, a), i.m(t, null), e[15](t);
|
|
4762
4741
|
},
|
|
4763
4742
|
p(o, [a]) {
|
|
4764
4743
|
n === (n = r(o)) && i ? i.p(o, a) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
|
|
@@ -4766,60 +4745,60 @@ function bo(e) {
|
|
|
4766
4745
|
i: H,
|
|
4767
4746
|
o: H,
|
|
4768
4747
|
d(o) {
|
|
4769
|
-
o &&
|
|
4748
|
+
o && D(t), i.d(), e[15](null);
|
|
4770
4749
|
}
|
|
4771
4750
|
};
|
|
4772
4751
|
}
|
|
4773
|
-
function
|
|
4752
|
+
function mo(e, t, r) {
|
|
4774
4753
|
let n;
|
|
4775
|
-
|
|
4776
|
-
let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: a = "" } = t, { lang: s = "" } = t, { mbsource: h } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, c = "", d = !1, p, m = window.navigator.userAgent,
|
|
4754
|
+
Pr(e, io, (v) => r(2, n = v));
|
|
4755
|
+
let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: a = "" } = t, { lang: s = "" } = t, { mbsource: h } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, c = "", d = !1, p, m = window.navigator.userAgent, E = Sr(m) !== "PC";
|
|
4777
4756
|
const T = window.matchMedia("(min-width: 768px)"), P = () => {
|
|
4778
4757
|
fetch(f).then((R) => R.json()).then((R) => {
|
|
4779
|
-
Object.keys(R).forEach((
|
|
4780
|
-
|
|
4758
|
+
Object.keys(R).forEach((Ie) => {
|
|
4759
|
+
Lt(Ie, R[Ie]);
|
|
4781
4760
|
});
|
|
4782
4761
|
}).catch((R) => {
|
|
4783
4762
|
console.log(R);
|
|
4784
4763
|
});
|
|
4785
4764
|
};
|
|
4786
|
-
Object.keys(
|
|
4787
|
-
|
|
4765
|
+
Object.keys(Nt).forEach((v) => {
|
|
4766
|
+
Lt(v, Nt[v]);
|
|
4788
4767
|
});
|
|
4789
4768
|
const x = () => {
|
|
4790
|
-
let
|
|
4791
|
-
|
|
4792
|
-
let R = { method: "DELETE", headers:
|
|
4793
|
-
fetch(`${i}/v1/player/session/player`, R).then((
|
|
4794
|
-
window.postMessage({ type: "LogoutSuccessfull" }, window.location.href),
|
|
4769
|
+
let v = new Headers();
|
|
4770
|
+
v.append("Content-type", "application/json"), v.append("X-SessionID", o);
|
|
4771
|
+
let R = { method: "DELETE", headers: v };
|
|
4772
|
+
fetch(`${i}/v1/player/session/player`, R).then((Ie) => {
|
|
4773
|
+
window.postMessage({ type: "LogoutSuccessfull" }, window.location.href), ao("logged_out", {});
|
|
4795
4774
|
});
|
|
4796
4775
|
}, O = () => (i || (c = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", d = !0, console.error(c)), o || (c = "GENERAL-LOGOUT - Session is missing! Please provide a valid session.", d = !0, console.error(c)), d), w = () => {
|
|
4797
|
-
|
|
4776
|
+
uo(s);
|
|
4798
4777
|
};
|
|
4799
|
-
|
|
4778
|
+
Vr(() => () => {
|
|
4800
4779
|
});
|
|
4801
4780
|
const $ = () => x(), fe = () => x();
|
|
4802
|
-
function
|
|
4803
|
-
|
|
4804
|
-
p =
|
|
4781
|
+
function wr(v) {
|
|
4782
|
+
Fe[v ? "unshift" : "push"](() => {
|
|
4783
|
+
p = v, r(1, p);
|
|
4805
4784
|
});
|
|
4806
4785
|
}
|
|
4807
|
-
return e.$$set = (
|
|
4808
|
-
"endpoint" in
|
|
4786
|
+
return e.$$set = (v) => {
|
|
4787
|
+
"endpoint" in v && r(6, i = v.endpoint), "session" in v && r(7, o = v.session), "buttonlocation" in v && r(0, a = v.buttonlocation), "lang" in v && r(8, s = v.lang), "mbsource" in v && r(9, h = v.mbsource), "clientstyling" in v && r(10, u = v.clientstyling), "clientstylingurl" in v && r(11, l = v.clientstylingurl), "translationurl" in v && r(12, f = v.translationurl);
|
|
4809
4788
|
}, e.$$.update = () => {
|
|
4810
4789
|
e.$$.dirty & /*endpoint, session, buttonlocation*/
|
|
4811
4790
|
193 && i && o && a && O(), e.$$.dirty & /*lang*/
|
|
4812
4791
|
256 && s && w(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4813
|
-
1026 && u && p &&
|
|
4814
|
-
1026 && u && p &&
|
|
4815
|
-
2050 && l && p &&
|
|
4816
|
-
514 && h && p &&
|
|
4792
|
+
1026 && u && p && It(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4793
|
+
1026 && u && p && It(p, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4794
|
+
2050 && l && p && oo(p, l), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4795
|
+
514 && h && p && so(p, `${h}.Style`), e.$$.dirty & /*translationurl*/
|
|
4817
4796
|
4096 && f && P();
|
|
4818
4797
|
}, [
|
|
4819
4798
|
a,
|
|
4820
4799
|
p,
|
|
4821
4800
|
n,
|
|
4822
|
-
|
|
4801
|
+
E,
|
|
4823
4802
|
T,
|
|
4824
4803
|
x,
|
|
4825
4804
|
i,
|
|
@@ -4831,17 +4810,17 @@ function yo(e, t, r) {
|
|
|
4831
4810
|
f,
|
|
4832
4811
|
$,
|
|
4833
4812
|
fe,
|
|
4834
|
-
|
|
4813
|
+
wr
|
|
4835
4814
|
];
|
|
4836
4815
|
}
|
|
4837
|
-
class
|
|
4816
|
+
class Tr extends tn {
|
|
4838
4817
|
constructor(t) {
|
|
4839
|
-
super(),
|
|
4818
|
+
super(), Kr(
|
|
4840
4819
|
this,
|
|
4841
4820
|
t,
|
|
4842
|
-
|
|
4843
|
-
|
|
4844
|
-
|
|
4821
|
+
mo,
|
|
4822
|
+
po,
|
|
4823
|
+
Ct,
|
|
4845
4824
|
{
|
|
4846
4825
|
endpoint: 6,
|
|
4847
4826
|
session: 7,
|
|
@@ -4852,7 +4831,7 @@ class wr extends rn {
|
|
|
4852
4831
|
clientstylingurl: 11,
|
|
4853
4832
|
translationurl: 12
|
|
4854
4833
|
},
|
|
4855
|
-
|
|
4834
|
+
ho
|
|
4856
4835
|
);
|
|
4857
4836
|
}
|
|
4858
4837
|
get endpoint() {
|
|
@@ -4904,74 +4883,74 @@ class wr extends rn {
|
|
|
4904
4883
|
this.$$set({ translationurl: t }), L();
|
|
4905
4884
|
}
|
|
4906
4885
|
}
|
|
4907
|
-
|
|
4908
|
-
const
|
|
4886
|
+
en(Tr, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
4887
|
+
const Vo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4909
4888
|
__proto__: null,
|
|
4910
|
-
default:
|
|
4889
|
+
default: Tr
|
|
4911
4890
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4912
4891
|
export {
|
|
4913
|
-
|
|
4914
|
-
|
|
4915
|
-
|
|
4916
|
-
|
|
4917
|
-
|
|
4892
|
+
te as $,
|
|
4893
|
+
oo as A,
|
|
4894
|
+
io as B,
|
|
4895
|
+
Do as C,
|
|
4896
|
+
So as D,
|
|
4918
4897
|
ce as E,
|
|
4919
|
-
|
|
4920
|
-
|
|
4921
|
-
|
|
4922
|
-
|
|
4923
|
-
|
|
4924
|
-
|
|
4925
|
-
|
|
4926
|
-
|
|
4927
|
-
|
|
4928
|
-
|
|
4929
|
-
|
|
4930
|
-
|
|
4931
|
-
|
|
4932
|
-
|
|
4933
|
-
|
|
4934
|
-
|
|
4935
|
-
|
|
4936
|
-
|
|
4937
|
-
|
|
4938
|
-
|
|
4939
|
-
|
|
4940
|
-
|
|
4941
|
-
|
|
4942
|
-
|
|
4943
|
-
|
|
4944
|
-
|
|
4945
|
-
|
|
4946
|
-
|
|
4947
|
-
|
|
4948
|
-
|
|
4949
|
-
|
|
4950
|
-
|
|
4951
|
-
|
|
4952
|
-
|
|
4953
|
-
|
|
4954
|
-
|
|
4955
|
-
|
|
4898
|
+
jo as F,
|
|
4899
|
+
Mo as G,
|
|
4900
|
+
To as H,
|
|
4901
|
+
xo as I,
|
|
4902
|
+
go as J,
|
|
4903
|
+
vo as K,
|
|
4904
|
+
_o as L,
|
|
4905
|
+
yo as M,
|
|
4906
|
+
Zr as N,
|
|
4907
|
+
Ro as O,
|
|
4908
|
+
wo as P,
|
|
4909
|
+
Io as Q,
|
|
4910
|
+
Ao as R,
|
|
4911
|
+
tn as S,
|
|
4912
|
+
Po as T,
|
|
4913
|
+
Se as U,
|
|
4914
|
+
Oo as V,
|
|
4915
|
+
he as W,
|
|
4916
|
+
Fo as X,
|
|
4917
|
+
Eo as Y,
|
|
4918
|
+
$r as Z,
|
|
4919
|
+
$o as _,
|
|
4920
|
+
yr as a,
|
|
4921
|
+
Co as a0,
|
|
4922
|
+
No as a1,
|
|
4923
|
+
bo as a2,
|
|
4924
|
+
Hr as a3,
|
|
4925
|
+
Uo as a4,
|
|
4926
|
+
Go as a5,
|
|
4927
|
+
_n as a6,
|
|
4928
|
+
Bo as a7,
|
|
4929
|
+
ko as a8,
|
|
4930
|
+
Vo as a9,
|
|
4931
|
+
Lr as b,
|
|
4932
|
+
en as c,
|
|
4933
|
+
Mr as d,
|
|
4934
|
+
I as e,
|
|
4956
4935
|
L as f,
|
|
4957
|
-
|
|
4958
|
-
|
|
4959
|
-
|
|
4960
|
-
|
|
4961
|
-
|
|
4962
|
-
|
|
4963
|
-
|
|
4964
|
-
|
|
4965
|
-
|
|
4966
|
-
|
|
4967
|
-
|
|
4968
|
-
|
|
4969
|
-
|
|
4970
|
-
|
|
4971
|
-
|
|
4972
|
-
|
|
4973
|
-
|
|
4974
|
-
|
|
4975
|
-
|
|
4976
|
-
|
|
4936
|
+
B as g,
|
|
4937
|
+
Ho as h,
|
|
4938
|
+
Kr as i,
|
|
4939
|
+
Lo as j,
|
|
4940
|
+
K as k,
|
|
4941
|
+
A as l,
|
|
4942
|
+
Ft as m,
|
|
4943
|
+
jt as n,
|
|
4944
|
+
H as o,
|
|
4945
|
+
D as p,
|
|
4946
|
+
Pr as q,
|
|
4947
|
+
G as r,
|
|
4948
|
+
Ct as s,
|
|
4949
|
+
le as t,
|
|
4950
|
+
Sr as u,
|
|
4951
|
+
Vr as v,
|
|
4952
|
+
so as w,
|
|
4953
|
+
V as x,
|
|
4954
|
+
Fe as y,
|
|
4955
|
+
It as z
|
|
4977
4956
|
};
|