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