@everymatrix/player-account-controller 1.74.10 → 1.75.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralLogout-CiyGpZGU.js → GeneralLogout-DIRnj10H.js} +1298 -1284
- package/components/{GeneralLogout-Vg76ri4V.js → GeneralLogout-Dd4n6Kp2.js} +1322 -1308
- package/components/GeneralLogout-TofSUXEw.cjs +21 -0
- package/components/PlayerAccountBettingHistory-85apG_ux.cjs +1 -0
- package/components/PlayerAccountBettingHistory-CuMJRUaH.js +310 -0
- package/components/PlayerAccountBettingHistory-ZZH1M51O.js +311 -0
- package/components/{PlayerAccountBiometrics-C2wumiJ3.js → PlayerAccountBiometrics-D8lv7JzY.js} +5 -5
- package/components/{PlayerAccountBiometrics-CH9MN1vT.js → PlayerAccountBiometrics-DzUvqvfR.js} +5 -5
- package/components/{PlayerAccountBiometrics-DPdT285K.cjs → PlayerAccountBiometrics-N164JTVo.cjs} +1 -1
- package/components/{PlayerAccountClosure-BqrCJaGp.js → PlayerAccountClosure-B7LJRfF_.js} +6 -6
- package/components/{PlayerAccountClosure-DG5NrDqY.cjs → PlayerAccountClosure-ByNnHtUf.cjs} +1 -1
- package/components/{PlayerAccountClosure-Dda9CHdX.js → PlayerAccountClosure-VNjXTTeE.js} +6 -6
- package/components/{PlayerAccountController-Cu59Kubb.js → PlayerAccountController-4zAuIhXb.js} +209 -209
- package/components/{PlayerAccountController-MSqVuCPp.cjs → PlayerAccountController-B53eiCm2.cjs} +1 -1
- package/components/{PlayerAccountController-BeY5S0EH.js → PlayerAccountController-BNFenXlV.js} +209 -209
- package/components/{PlayerAccountGamingLimits-CJksEBIA.js → PlayerAccountGamingLimits-BPAFyYb5.js} +124 -124
- package/components/{PlayerAccountGamingLimits-CqPkjNdS.js → PlayerAccountGamingLimits-CSFkUiYY.js} +124 -124
- package/components/{PlayerAccountGamingLimits-B2vzRems.cjs → PlayerAccountGamingLimits-DLyOkU8g.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BX8_aYoz.js → PlayerAccountGamingLimitsConfirmationModal-DON2ejFa.js} +38 -38
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CfPKMMkU.js → PlayerAccountGamingLimitsConfirmationModal-De1JAgPX.js} +38 -38
- package/components/PlayerAccountGamingLimitsConfirmationModal-cxg0byfD.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsGroupEdit-BD9SWhvO.js → PlayerAccountGamingLimitsGroupEdit-B4l5VAbb.js} +1009 -1009
- package/components/{PlayerAccountGamingLimitsGroupEdit-JerzRaIW.cjs → PlayerAccountGamingLimitsGroupEdit-BEb7Fv28.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsGroupEdit-Ageqronh.js → PlayerAccountGamingLimitsGroupEdit-CrgfBvua.js} +1009 -1009
- package/components/{PlayerAccountGamingLimitsHistory2-kH5zBkQX.js → PlayerAccountGamingLimitsHistory2-BRgxAXo_.js} +4 -4
- package/components/{PlayerAccountGamingLimitsHistory2-BusoJL-w.js → PlayerAccountGamingLimitsHistory2-RFRr_X30.js} +4 -4
- package/components/{PlayerAccountGamingLimitsHistory2-B6QgZ3Qd.cjs → PlayerAccountGamingLimitsHistory2-x-v5JjhN.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-BHAREEgX.js → PlayerAccountGamingLimitsInfoCard-BRDuV_cd.js} +7 -7
- package/components/{PlayerAccountGamingLimitsInfoCard-BvQ7pktR.js → PlayerAccountGamingLimitsInfoCard-BiwEIF0r.js} +7 -7
- package/components/{PlayerAccountGamingLimitsInfoCard-DRRou8s9.cjs → PlayerAccountGamingLimitsInfoCard-XCP1Kxff.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-ryQx6oP1.cjs → PlayerAccountGamingLimitsPage2Gm16--rQhVE1q.cjs} +4 -4
- package/components/{PlayerAccountGamingLimitsPage2Gm16-DJHbna0W.js → PlayerAccountGamingLimitsPage2Gm16-BWA71CAl.js} +39 -39
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CAVf4Y-G.js → PlayerAccountGamingLimitsPage2Gm16-CwwjENW0.js} +28 -28
- package/components/{PlayerAccountGamingLimitsPopup-D0ltWJSo.js → PlayerAccountGamingLimitsPopup-Biyoz4lK.js} +21 -21
- package/components/{PlayerAccountGamingLimitsPopup-D16rhs4n.cjs → PlayerAccountGamingLimitsPopup-DNjM-xS5.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-Bl1xoGPY.js → PlayerAccountGamingLimitsPopup-cBscDgFe.js} +21 -21
- package/components/{PlayerAccountGamingLimitsWrapper2-BSqP4Sd8.cjs → PlayerAccountGamingLimitsWrapper2-BIcWUcMl.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-vu5v2bbv.js → PlayerAccountGamingLimitsWrapper2-BsvByvpk.js} +6 -6
- package/components/{PlayerAccountGamingLimitsWrapper2-nO_niNOc.js → PlayerAccountGamingLimitsWrapper2-D0KtfHqJ.js} +6 -6
- package/components/PlayerAccountGeneralConfirmationModal-BFCCI67b.cjs +1 -0
- package/components/{PlayerAccountGeneralConfirmationModal-JvzRw4bx.js → PlayerAccountGeneralConfirmationModal-BNoE_P3G.js} +53 -53
- package/components/{PlayerAccountGeneralConfirmationModal-T_JYxL62.js → PlayerAccountGeneralConfirmationModal-q4Du5zdg.js} +53 -53
- package/components/{PlayerAccountMenu-DPpd0Onj.js → PlayerAccountMenu-BbdWpRLe.js} +7 -7
- package/components/{PlayerAccountMenu-C4sG1dhf.js → PlayerAccountMenu-BicTGCSZ.js} +7 -7
- package/components/{PlayerAccountMenu-JDfi5y52.cjs → PlayerAccountMenu-CVBew6Nf.cjs} +1 -1
- package/components/{PlayerAccountModal-DvJ0OsPC.cjs → PlayerAccountModal-DaIBO9tP.cjs} +1 -1
- package/components/{PlayerAccountModal-BGCTA59j.js → PlayerAccountModal-Day4vMPZ.js} +10 -10
- package/components/{PlayerAccountModal-DkyQ5JIi.js → PlayerAccountModal-J-6B3L2x.js} +10 -10
- package/components/{PlayerAccountNotifications-CdPeCghS.cjs → PlayerAccountNotifications-BbvJAh0S.cjs} +1 -1
- package/components/{PlayerAccountNotifications-OJnPC108.js → PlayerAccountNotifications-PuDZBFQ4.js} +6 -6
- package/components/{PlayerAccountNotifications-DTtMvV8M.js → PlayerAccountNotifications-wc_EBqY2.js} +6 -6
- package/components/{PlayerAccountProductRestriction-DSjfzN0L.js → PlayerAccountProductRestriction-BA3Ht4v0.js} +2498 -2494
- package/components/{PlayerAccountProductRestriction-BtXJwF14.js → PlayerAccountProductRestriction-BVD0VXs9.js} +2521 -2517
- package/components/{PlayerAccountProductRestriction-BJ0LFpLp.cjs → PlayerAccountProductRestriction-DJUublp5.cjs} +268 -268
- package/components/{PlayerAccountSelfExclusion-BFhhj0lU.js → PlayerAccountSelfExclusion-B9rXp_dv.js} +830 -829
- package/components/{PlayerAccountSelfExclusion-CLHfQEii.js → PlayerAccountSelfExclusion-BwFD6ZJu.js} +847 -846
- package/components/{PlayerAccountSelfExclusion-CdvQXAjK.cjs → PlayerAccountSelfExclusion-CwlTQfYm.cjs} +152 -152
- package/components/{PlayerAccountTimeout-Dhey1QrR.cjs → PlayerAccountTimeout-CPLGI8jX.cjs} +1 -1
- package/components/{PlayerAccountTimeout-Dfa2jJXc.js → PlayerAccountTimeout-DfxFUM4s.js} +43 -43
- package/components/{PlayerAccountTimeout-lsP1D_FM.js → PlayerAccountTimeout-mAcIWL2w.js} +43 -43
- package/components/{PlayerAccountTransactionsHistory-e7LnmN2n.js → PlayerAccountTransactionsHistory-B61bTygv.js} +7 -7
- package/components/{PlayerAccountTransactionsHistory-BumeG74E.js → PlayerAccountTransactionsHistory-D_Rh7xzG.js} +7 -7
- package/components/{PlayerAccountTransactionsHistory-x6Mj8Vqc.cjs → PlayerAccountTransactionsHistory-J6QX4Mo6.cjs} +1 -1
- package/components/{PlayerActiveBonuses-DcuRFKFP.js → PlayerActiveBonuses-DBGj3lj2.js} +6 -6
- package/components/{PlayerActiveBonuses-Me5Q3o65.cjs → PlayerActiveBonuses-VMRnoY1_.cjs} +1 -1
- package/components/{PlayerActiveBonuses-BWfdGowJ.js → PlayerActiveBonuses-lflDqCU8.js} +6 -6
- package/components/{PlayerBonusCard-CkEs_ikq.js → PlayerBonusCard-B58kMR83.js} +7 -7
- package/components/{PlayerBonusCard-D8XTVs99.js → PlayerBonusCard-D68dTYiw.js} +7 -7
- package/components/{PlayerBonusCard-DgyhSYBs.cjs → PlayerBonusCard-KehruUku.cjs} +1 -1
- package/components/{PlayerBonusHistory-CTKJuEJG.js → PlayerBonusHistory-BZz5QP4A.js} +7 -7
- package/components/{PlayerBonusHistory-DmYF8qYy.js → PlayerBonusHistory-BxcxPRN7.js} +7 -7
- package/components/{PlayerBonusHistory-BmeRyaDK.cjs → PlayerBonusHistory-WEjZxD6T.cjs} +1 -1
- package/components/{PlayerChangePassword-Cc15tSRv.js → PlayerChangePassword-CQqQIyDU.js} +4 -4
- package/components/{PlayerChangePassword-CfCN79eP.cjs → PlayerChangePassword-DYpl0DV7.cjs} +1 -1
- package/components/{PlayerChangePassword-Hj0mD9xL.js → PlayerChangePassword-VQJYG-HQ.js} +4 -4
- package/components/PlayerDeposit-BLDWbMBK.cjs +1 -0
- package/components/{PlayerDeposit-Bm1DOHlW.js → PlayerDeposit-R4oRYCP7.js} +73 -73
- package/components/{PlayerDeposit-BpS3fS46.js → PlayerDeposit-nin4U--Y.js} +73 -73
- package/components/{PlayerGamingHistory-F3yi70Vu.cjs → PlayerGamingHistory-BxN4Cjj3.cjs} +1 -1
- package/components/{PlayerGamingHistory-Bew4OVxF.js → PlayerGamingHistory-CN6XDOWB.js} +53 -53
- package/components/{PlayerGamingHistory-B9lwGb0Z.js → PlayerGamingHistory-VnHkfl2z.js} +60 -60
- package/components/{PlayerPendingWithdrawals-scSFcYAA.js → PlayerPendingWithdrawals-C1tt1OJl.js} +6 -6
- package/components/{PlayerPendingWithdrawals-D-KWiMH6.cjs → PlayerPendingWithdrawals-DfQ_PvkY.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-pfC5sUpM.js → PlayerPendingWithdrawals-adHFXpiC.js} +6 -6
- package/components/{PlayerProfileInfo-CwZQ79SV.cjs → PlayerProfileInfo-CKJNYYA8.cjs} +1 -1
- package/components/{PlayerProfileInfo-DYvdUkJZ.js → PlayerProfileInfo-CrGJ1yEi.js} +95 -95
- package/components/{PlayerProfileInfo-1ELKHIQs.js → PlayerProfileInfo-DpEH00v-.js} +108 -108
- package/components/{PlayerRealityCheck-DLPtMaP7.js → PlayerRealityCheck-CTGhzTwa.js} +6 -6
- package/components/{PlayerRealityCheck-JdOGHDG6.cjs → PlayerRealityCheck-Cq2rIALW.cjs} +1 -1
- package/components/{PlayerRealityCheck-pQWsLK1G.js → PlayerRealityCheck-JkP_hy_p.js} +6 -6
- package/components/{PlayerTransactionHistory-B7ts1zGr.js → PlayerTransactionHistory-CQPQw37D.js} +6 -6
- package/components/{PlayerTransactionHistory-Hz2IWD73.cjs → PlayerTransactionHistory-DPvvu8Wp.cjs} +1 -1
- package/components/{PlayerTransactionHistory-CUa0IaZD.js → PlayerTransactionHistory-DQfalEXN.js} +6 -6
- package/components/{PlayerWithdrawal-BTfz-sCc.js → PlayerWithdrawal-11j92uAk.js} +6 -6
- package/components/{PlayerWithdrawal-P_0MIA-u.cjs → PlayerWithdrawal-BcaC1sEF.cjs} +1 -1
- package/components/{PlayerWithdrawal-DYVDpOnE.js → PlayerWithdrawal-yB5c-nTz.js} +6 -6
- 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_15-BzU_0jJ_.js → checkbox-group-input_15-B47EbzkJ.js} +3227 -3221
- package/stencil/{checkbox-group-input_15-7ljokaYC.js → checkbox-group-input_15-BBaHCJ8m.js} +3231 -3225
- package/stencil/{checkbox-group-input_15-Fs7-YN7u.cjs → checkbox-group-input_15-BPXIBJ9O.cjs} +271 -271
- package/stencil/{index-13661b98-Cty_Ct2m.js → index-13661b98-BzYpZXJ-.js} +245 -245
- package/stencil/{index-13661b98-BJM2hHx6.js → index-13661b98-D93Apl47.js} +124 -124
- package/stencil/index-13661b98-DBuU9Lk0.cjs +1 -0
- package/stencil/{index-1ef3a64c-DuKSFSN8.js → index-1ef3a64c-BJwg6KZV.js} +201 -201
- package/stencil/index-1ef3a64c-BkMv_VME.cjs +1 -0
- package/stencil/index-1ef3a64c-Cl4fiqPl.js +556 -0
- package/stencil/{index-7c5e707a-B54Yjxc3.js → index-7c5e707a-BZ26MA7_.js} +135 -135
- package/stencil/{index-7c5e707a-BHFN5Fx4.js → index-7c5e707a-CVVnpkZ1.js} +145 -145
- package/stencil/index-7c5e707a-d0LYIjGl.cjs +1 -0
- package/stencil/{index-9c0f6c58-Ucwc3Jk1.js → index-9c0f6c58-8sXzcKbt.js} +223 -223
- package/stencil/index-9c0f6c58-CbFwvYJ1.cjs +1 -0
- package/stencil/{index-9c0f6c58-GCIFeGLp.js → index-9c0f6c58-DH5Ki39B.js} +118 -118
- package/stencil/{index-b2193545-LzjWxki5.js → index-b2193545-BekNYO1T.js} +176 -176
- package/stencil/index-b2193545-BteAUmdh.cjs +1 -0
- package/stencil/{index-b2193545-DPKCFIaU.js → index-b2193545-DfDFpDFs.js} +169 -169
- package/stencil/{pam-change-password-DSAfkY23.js → pam-change-password-9bMd9dOQ.js} +1 -1
- package/stencil/{pam-change-password-mcRyjsPo.cjs → pam-change-password-D9deCtek.cjs} +1 -1
- package/stencil/{pam-change-password-af5033a0-BfWHc1Rw.js → pam-change-password-af5033a0-BdPXYjRb.js} +59 -59
- package/stencil/{pam-change-password-af5033a0-C18GwNdS.cjs → pam-change-password-af5033a0-CPFagM2l.cjs} +2 -2
- package/stencil/{pam-change-password-af5033a0-DYGjeRTR.js → pam-change-password-af5033a0-CXI6y6VZ.js} +59 -59
- package/stencil/{pam-change-password-Bdu7Bk_h.js → pam-change-password-h1ivBSP6.js} +1 -1
- package/stencil/{player-kyc-verification-Wsswi9br.js → player-kyc-verification-BJuBsd7A.js} +1 -1
- package/stencil/{player-kyc-verification-D10m225z.cjs → player-kyc-verification-DW2tWbg_.cjs} +1 -1
- package/stencil/{player-kyc-verification-B9ZaCq1K.js → player-kyc-verification-u-XUlDen.js} +1 -1
- package/stencil/{ui-skeleton-Cbqo0oYF.cjs → ui-skeleton-Bez-iF-R.cjs} +1 -1
- package/stencil/{ui-skeleton-LneRlsD3.js → ui-skeleton-CScGJdv_.js} +2 -2
- package/stencil/{ui-skeleton-2XsWxl4S.js → ui-skeleton-CnxOhYAT.js} +2 -2
- package/stencil/{ui-skeleton-ae35c6f2-OnzqIAY0.js → ui-skeleton-ae35c6f2-Bl0_r9TX.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-8s3Rqu1P.js → ui-skeleton-ae35c6f2-CXRVKjq-.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-B4ncHe9g.cjs → ui-skeleton-ae35c6f2-D37mmp9J.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-CSakhNt1.js → user-deposit-withdrawal-B7dnuKq0.js} +45 -45
- package/stencil/{user-deposit-withdrawal-BP58nPO1.cjs → user-deposit-withdrawal-KqJCF9Hl.cjs} +2 -2
- package/stencil/{user-deposit-withdrawal-DcVKAa80.js → user-deposit-withdrawal-ar8K3Kn7.js} +45 -45
- package/stencil/{user-transaction-history-D0jBcRwe.js → user-transaction-history-D86WcqZY.js} +588 -588
- package/stencil/{user-transaction-history-BrBScppC.js → user-transaction-history-o1zvVNkt.js} +600 -600
- package/stencil/user-transaction-history-xgpDQYWU.cjs +1 -0
- package/components/GeneralLogout-COm1JcKW.cjs +0 -21
- package/components/PlayerAccountBettingHistory-Bv1Qcp8m.js +0 -311
- package/components/PlayerAccountBettingHistory-CE023VGz.cjs +0 -1
- package/components/PlayerAccountBettingHistory-Dn9IsrIP.js +0 -310
- package/components/PlayerAccountGamingLimitsConfirmationModal-BR2Qm3Iq.cjs +0 -1
- package/components/PlayerAccountGeneralConfirmationModal-BajaU0jJ.cjs +0 -1
- package/components/PlayerDeposit-CmBFg6tX.cjs +0 -1
- package/stencil/index-13661b98-DuhNdmHd.cjs +0 -1
- package/stencil/index-1ef3a64c-DD-PHh2g.cjs +0 -1
- package/stencil/index-1ef3a64c-DQk1yZfC.js +0 -556
- package/stencil/index-7c5e707a-CFlTnjRT.cjs +0 -1
- package/stencil/index-9c0f6c58-8Ks3y9ln.cjs +0 -1
- package/stencil/index-b2193545-BMFR9-V2.cjs +0 -1
- package/stencil/user-transaction-history-HA_tfHfo.cjs +0 -1
|
@@ -1,89 +1,89 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var Ne = (e, t,
|
|
6
|
-
for (var
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var
|
|
10
|
-
|
|
1
|
+
var Lr = Object.defineProperty, Nr = Object.defineProperties;
|
|
2
|
+
var Mr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var lt = Object.getOwnPropertySymbols;
|
|
4
|
+
var Cr = Object.prototype.hasOwnProperty, $r = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Ne = (e, t, r) => t in e ? Lr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ct = (e, t) => {
|
|
6
|
+
for (var r in t || (t = {}))
|
|
7
|
+
Cr.call(t, r) && Ne(e, r, t[r]);
|
|
8
|
+
if (lt)
|
|
9
|
+
for (var r of lt(t))
|
|
10
|
+
$r.call(t, r) && Ne(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var S = (e, t,
|
|
14
|
-
var
|
|
12
|
+
}, ft = (e, t) => Nr(e, Mr(t));
|
|
13
|
+
var S = (e, t, r) => (Ne(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var pt = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (u) => {
|
|
16
16
|
try {
|
|
17
|
-
a(
|
|
17
|
+
a(r.next(u));
|
|
18
18
|
} catch (h) {
|
|
19
19
|
i(h);
|
|
20
20
|
}
|
|
21
21
|
}, s = (u) => {
|
|
22
22
|
try {
|
|
23
|
-
a(
|
|
23
|
+
a(r.throw(u));
|
|
24
24
|
} catch (h) {
|
|
25
25
|
i(h);
|
|
26
26
|
}
|
|
27
|
-
}, a = (u) => u.done ?
|
|
28
|
-
a((
|
|
27
|
+
}, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(o, s);
|
|
28
|
+
a((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
30
|
function B() {
|
|
31
31
|
}
|
|
32
|
-
const
|
|
33
|
-
function
|
|
34
|
-
for (const
|
|
35
|
-
e[
|
|
32
|
+
const Rr = (e) => e;
|
|
33
|
+
function Ur(e, t) {
|
|
34
|
+
for (const r in t)
|
|
35
|
+
e[r] = t[r];
|
|
36
36
|
return (
|
|
37
37
|
/** @type {T & S} */
|
|
38
38
|
e
|
|
39
39
|
);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function Gt(e) {
|
|
42
42
|
return e();
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function dt() {
|
|
45
45
|
return /* @__PURE__ */ Object.create(null);
|
|
46
46
|
}
|
|
47
47
|
function F(e) {
|
|
48
|
-
e.forEach(
|
|
48
|
+
e.forEach(Gt);
|
|
49
49
|
}
|
|
50
50
|
function le(e) {
|
|
51
51
|
return typeof e == "function";
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function Ft(e, t) {
|
|
54
54
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
55
55
|
}
|
|
56
|
-
let
|
|
57
|
-
function
|
|
58
|
-
return e === t ? !0 : (
|
|
56
|
+
let de;
|
|
57
|
+
function Ao(e, t) {
|
|
58
|
+
return e === t ? !0 : (de || (de = document.createElement("a")), de.href = t, e === de.href);
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function Dr(e) {
|
|
61
61
|
return Object.keys(e).length === 0;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function jt(e, ...t) {
|
|
64
64
|
if (e == null) {
|
|
65
|
-
for (const
|
|
66
|
-
|
|
65
|
+
for (const n of t)
|
|
66
|
+
n(void 0);
|
|
67
67
|
return B;
|
|
68
68
|
}
|
|
69
|
-
const
|
|
70
|
-
return
|
|
69
|
+
const r = e.subscribe(...t);
|
|
70
|
+
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
71
71
|
}
|
|
72
|
-
function
|
|
73
|
-
e.$$.on_destroy.push(
|
|
72
|
+
function Gr(e, t, r) {
|
|
73
|
+
e.$$.on_destroy.push(jt(t, r));
|
|
74
74
|
}
|
|
75
|
-
function
|
|
75
|
+
function Po(e, t, r, n) {
|
|
76
76
|
if (e) {
|
|
77
|
-
const i =
|
|
77
|
+
const i = kt(e, t, r, n);
|
|
78
78
|
return e[0](i);
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
|
-
function
|
|
82
|
-
return e[1] &&
|
|
81
|
+
function kt(e, t, r, n) {
|
|
82
|
+
return e[1] && n ? Ur(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
83
83
|
}
|
|
84
|
-
function
|
|
85
|
-
if (e[2] &&
|
|
86
|
-
const i = e[2](r
|
|
84
|
+
function Oo(e, t, r, n) {
|
|
85
|
+
if (e[2] && n) {
|
|
86
|
+
const i = e[2](n(r));
|
|
87
87
|
if (t.dirty === void 0)
|
|
88
88
|
return i;
|
|
89
89
|
if (typeof i == "object") {
|
|
@@ -96,40 +96,40 @@ function Ao(e, t, n, r) {
|
|
|
96
96
|
}
|
|
97
97
|
return t.dirty;
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function Io(e, t, r, n, i, o) {
|
|
100
100
|
if (i) {
|
|
101
|
-
const s =
|
|
101
|
+
const s = kt(t, r, n, o);
|
|
102
102
|
e.p(s, i);
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function Lo(e) {
|
|
106
106
|
if (e.ctx.length > 32) {
|
|
107
|
-
const t = [],
|
|
108
|
-
for (let
|
|
109
|
-
t[
|
|
107
|
+
const t = [], r = e.ctx.length / 32;
|
|
108
|
+
for (let n = 0; n < r; n++)
|
|
109
|
+
t[n] = -1;
|
|
110
110
|
return t;
|
|
111
111
|
}
|
|
112
112
|
return -1;
|
|
113
113
|
}
|
|
114
|
-
function
|
|
114
|
+
function No(e) {
|
|
115
115
|
return e == null ? "" : e;
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function Mo(e) {
|
|
118
118
|
return e && le(e.destroy) ? e.destroy : B;
|
|
119
119
|
}
|
|
120
|
-
const
|
|
121
|
-
let
|
|
120
|
+
const Vt = typeof window != "undefined";
|
|
121
|
+
let Fr = Vt ? () => window.performance.now() : () => Date.now(), it = Vt ? (e) => requestAnimationFrame(e) : B;
|
|
122
122
|
const z = /* @__PURE__ */ new Set();
|
|
123
|
-
function
|
|
123
|
+
function Xt(e) {
|
|
124
124
|
z.forEach((t) => {
|
|
125
125
|
t.c(e) || (z.delete(t), t.f());
|
|
126
|
-
}), z.size !== 0 &&
|
|
126
|
+
}), z.size !== 0 && it(Xt);
|
|
127
127
|
}
|
|
128
|
-
function
|
|
128
|
+
function jr(e) {
|
|
129
129
|
let t;
|
|
130
|
-
return z.size === 0 &&
|
|
131
|
-
promise: new Promise((
|
|
132
|
-
z.add(t = { c: e, f:
|
|
130
|
+
return z.size === 0 && it(Xt), {
|
|
131
|
+
promise: new Promise((r) => {
|
|
132
|
+
z.add(t = { c: e, f: r });
|
|
133
133
|
}),
|
|
134
134
|
abort() {
|
|
135
135
|
z.delete(t);
|
|
@@ -139,14 +139,14 @@ function Gn(e) {
|
|
|
139
139
|
function P(e, t) {
|
|
140
140
|
e.appendChild(t);
|
|
141
141
|
}
|
|
142
|
-
function
|
|
143
|
-
const
|
|
144
|
-
if (!
|
|
142
|
+
function kr(e, t, r) {
|
|
143
|
+
const n = ot(e);
|
|
144
|
+
if (!n.getElementById(t)) {
|
|
145
145
|
const i = L("style");
|
|
146
|
-
i.id = t, i.textContent =
|
|
146
|
+
i.id = t, i.textContent = r, Wt(n, i);
|
|
147
147
|
}
|
|
148
148
|
}
|
|
149
|
-
function
|
|
149
|
+
function ot(e) {
|
|
150
150
|
if (!e)
|
|
151
151
|
return document;
|
|
152
152
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -156,26 +156,26 @@ function it(e) {
|
|
|
156
156
|
t
|
|
157
157
|
) : e.ownerDocument;
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function Vr(e) {
|
|
160
160
|
const t = L("style");
|
|
161
|
-
return t.textContent = "/* empty */",
|
|
161
|
+
return t.textContent = "/* empty */", Wt(ot(e), t), t.sheet;
|
|
162
162
|
}
|
|
163
|
-
function
|
|
163
|
+
function Wt(e, t) {
|
|
164
164
|
return P(
|
|
165
165
|
/** @type {Document} */
|
|
166
166
|
e.head || e,
|
|
167
167
|
t
|
|
168
168
|
), t.sheet;
|
|
169
169
|
}
|
|
170
|
-
function ee(e, t,
|
|
171
|
-
e.insertBefore(t,
|
|
170
|
+
function ee(e, t, r) {
|
|
171
|
+
e.insertBefore(t, r || null);
|
|
172
172
|
}
|
|
173
173
|
function G(e) {
|
|
174
174
|
e.parentNode && e.parentNode.removeChild(e);
|
|
175
175
|
}
|
|
176
|
-
function
|
|
177
|
-
for (let
|
|
178
|
-
e[
|
|
176
|
+
function Co(e, t) {
|
|
177
|
+
for (let r = 0; r < e.length; r += 1)
|
|
178
|
+
e[r] && e[r].d(t);
|
|
179
179
|
}
|
|
180
180
|
function L(e) {
|
|
181
181
|
return document.createElement(e);
|
|
@@ -183,80 +183,80 @@ function L(e) {
|
|
|
183
183
|
function X(e) {
|
|
184
184
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
185
185
|
}
|
|
186
|
-
function
|
|
186
|
+
function ce(e) {
|
|
187
187
|
return document.createTextNode(e);
|
|
188
188
|
}
|
|
189
|
-
function
|
|
190
|
-
return
|
|
189
|
+
function Xr() {
|
|
190
|
+
return ce(" ");
|
|
191
191
|
}
|
|
192
|
-
function
|
|
193
|
-
return
|
|
192
|
+
function $o() {
|
|
193
|
+
return ce("");
|
|
194
194
|
}
|
|
195
|
-
function
|
|
196
|
-
return e.addEventListener(t,
|
|
195
|
+
function zt(e, t, r, n) {
|
|
196
|
+
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function Ro(e) {
|
|
199
199
|
return function(t) {
|
|
200
200
|
return t.preventDefault(), e.call(this, t);
|
|
201
201
|
};
|
|
202
202
|
}
|
|
203
|
-
function A(e, t,
|
|
204
|
-
|
|
203
|
+
function A(e, t, r) {
|
|
204
|
+
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
205
205
|
}
|
|
206
|
-
function
|
|
207
|
-
const
|
|
208
|
-
|
|
206
|
+
function Uo(e, t, r) {
|
|
207
|
+
const n = t.toLowerCase();
|
|
208
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : A(e, t, r);
|
|
209
209
|
}
|
|
210
|
-
function
|
|
210
|
+
function Do(e) {
|
|
211
211
|
let t;
|
|
212
212
|
return {
|
|
213
213
|
/* push */
|
|
214
|
-
p(...
|
|
215
|
-
t =
|
|
214
|
+
p(...r) {
|
|
215
|
+
t = r, t.forEach((n) => e.push(n));
|
|
216
216
|
},
|
|
217
217
|
/* remove */
|
|
218
218
|
r() {
|
|
219
|
-
t.forEach((
|
|
219
|
+
t.forEach((r) => e.splice(e.indexOf(r), 1));
|
|
220
220
|
}
|
|
221
221
|
};
|
|
222
222
|
}
|
|
223
|
-
function
|
|
223
|
+
function Go(e) {
|
|
224
224
|
return e === "" ? null : +e;
|
|
225
225
|
}
|
|
226
|
-
function
|
|
226
|
+
function Wr(e) {
|
|
227
227
|
return Array.from(e.childNodes);
|
|
228
228
|
}
|
|
229
|
-
function
|
|
229
|
+
function Zt(e, t) {
|
|
230
230
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
231
231
|
t);
|
|
232
232
|
}
|
|
233
|
-
function
|
|
233
|
+
function Fo(e, t) {
|
|
234
234
|
e.value = t == null ? "" : t;
|
|
235
235
|
}
|
|
236
|
-
function
|
|
237
|
-
|
|
236
|
+
function zr(e, t, r, n) {
|
|
237
|
+
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
238
238
|
}
|
|
239
|
-
function
|
|
240
|
-
for (let
|
|
241
|
-
const i = e.options[
|
|
239
|
+
function jo(e, t, r) {
|
|
240
|
+
for (let n = 0; n < e.options.length; n += 1) {
|
|
241
|
+
const i = e.options[n];
|
|
242
242
|
if (i.__value === t) {
|
|
243
243
|
i.selected = !0;
|
|
244
244
|
return;
|
|
245
245
|
}
|
|
246
246
|
}
|
|
247
|
-
(!
|
|
247
|
+
(!r || t !== void 0) && (e.selectedIndex = -1);
|
|
248
248
|
}
|
|
249
|
-
function
|
|
249
|
+
function ko(e) {
|
|
250
250
|
const t = e.querySelector(":checked");
|
|
251
251
|
return t && t.__value;
|
|
252
252
|
}
|
|
253
|
-
function
|
|
254
|
-
e.classList.toggle(t, !!
|
|
253
|
+
function Vo(e, t, r) {
|
|
254
|
+
e.classList.toggle(t, !!r);
|
|
255
255
|
}
|
|
256
|
-
function
|
|
257
|
-
return new CustomEvent(e, { detail: t, bubbles:
|
|
256
|
+
function Zr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
|
|
257
|
+
return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
|
|
258
258
|
}
|
|
259
|
-
class
|
|
259
|
+
class Xo {
|
|
260
260
|
constructor(t = !1) {
|
|
261
261
|
/**
|
|
262
262
|
* @private
|
|
@@ -286,17 +286,17 @@ class ko {
|
|
|
286
286
|
* @param {HTMLElement | SVGElement} anchor
|
|
287
287
|
* @returns {void}
|
|
288
288
|
*/
|
|
289
|
-
m(t,
|
|
289
|
+
m(t, r, n = null) {
|
|
290
290
|
this.e || (this.is_svg ? this.e = X(
|
|
291
291
|
/** @type {keyof SVGElementTagNameMap} */
|
|
292
|
-
|
|
292
|
+
r.nodeName
|
|
293
293
|
) : this.e = L(
|
|
294
294
|
/** @type {keyof HTMLElementTagNameMap} */
|
|
295
|
-
|
|
296
|
-
), this.t =
|
|
295
|
+
r.nodeType === 11 ? "TEMPLATE" : r.nodeName
|
|
296
|
+
), this.t = r.tagName !== "TEMPLATE" ? r : (
|
|
297
297
|
/** @type {HTMLTemplateElement} */
|
|
298
|
-
|
|
299
|
-
), this.c(t)), this.i(
|
|
298
|
+
r.content
|
|
299
|
+
), this.c(t)), this.i(n);
|
|
300
300
|
}
|
|
301
301
|
/**
|
|
302
302
|
* @param {string} html
|
|
@@ -310,8 +310,8 @@ class ko {
|
|
|
310
310
|
/**
|
|
311
311
|
* @returns {void} */
|
|
312
312
|
i(t) {
|
|
313
|
-
for (let
|
|
314
|
-
ee(this.t, this.n[
|
|
313
|
+
for (let r = 0; r < this.n.length; r += 1)
|
|
314
|
+
ee(this.t, this.n[r], t);
|
|
315
315
|
}
|
|
316
316
|
/**
|
|
317
317
|
* @param {string} html
|
|
@@ -326,78 +326,78 @@ class ko {
|
|
|
326
326
|
this.n.forEach(G);
|
|
327
327
|
}
|
|
328
328
|
}
|
|
329
|
-
function
|
|
329
|
+
function qr(e) {
|
|
330
330
|
const t = {};
|
|
331
331
|
return e.childNodes.forEach(
|
|
332
332
|
/** @param {Element} node */
|
|
333
|
-
(
|
|
334
|
-
t[
|
|
333
|
+
(r) => {
|
|
334
|
+
t[r.slot || "default"] = !0;
|
|
335
335
|
}
|
|
336
336
|
), t;
|
|
337
337
|
}
|
|
338
|
-
const
|
|
338
|
+
const xe = /* @__PURE__ */ new Map();
|
|
339
339
|
let Se = 0;
|
|
340
|
-
function
|
|
341
|
-
let t = 5381,
|
|
342
|
-
for (;
|
|
343
|
-
t = (t << 5) - t ^ e.charCodeAt(
|
|
340
|
+
function Qr(e) {
|
|
341
|
+
let t = 5381, r = e.length;
|
|
342
|
+
for (; r--; )
|
|
343
|
+
t = (t << 5) - t ^ e.charCodeAt(r);
|
|
344
344
|
return t >>> 0;
|
|
345
345
|
}
|
|
346
|
-
function
|
|
347
|
-
const
|
|
348
|
-
return
|
|
346
|
+
function Jr(e, t) {
|
|
347
|
+
const r = { stylesheet: Vr(t), rules: {} };
|
|
348
|
+
return xe.set(e, r), r;
|
|
349
349
|
}
|
|
350
|
-
function
|
|
351
|
-
const u = 16.666 /
|
|
350
|
+
function mt(e, t, r, n, i, o, s, a = 0) {
|
|
351
|
+
const u = 16.666 / n;
|
|
352
352
|
let h = `{
|
|
353
353
|
`;
|
|
354
|
-
for (let
|
|
355
|
-
const w = t + (
|
|
356
|
-
h +=
|
|
354
|
+
for (let E = 0; E <= 1; E += u) {
|
|
355
|
+
const w = t + (r - t) * o(E);
|
|
356
|
+
h += E * 100 + `%{${s(w, 1 - w)}}
|
|
357
357
|
`;
|
|
358
358
|
}
|
|
359
|
-
const l = h + `100% {${s(
|
|
360
|
-
}`,
|
|
361
|
-
|
|
359
|
+
const l = h + `100% {${s(r, 1 - r)}}
|
|
360
|
+
}`, f = `__svelte_${Qr(l)}_${a}`, c = ot(e), { stylesheet: d, rules: p } = xe.get(c) || Jr(c, e);
|
|
361
|
+
p[f] || (p[f] = !0, d.insertRule(`@keyframes ${f} ${l}`, d.cssRules.length));
|
|
362
362
|
const m = e.style.animation || "";
|
|
363
|
-
return e.style.animation = `${m ? `${m}, ` : ""}${
|
|
363
|
+
return e.style.animation = `${m ? `${m}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, Se += 1, f;
|
|
364
364
|
}
|
|
365
|
-
function
|
|
366
|
-
const
|
|
365
|
+
function Yr(e, t) {
|
|
366
|
+
const r = (e.style.animation || "").split(", "), n = r.filter(
|
|
367
367
|
t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
|
|
368
368
|
// remove all Svelte animations
|
|
369
|
-
), i =
|
|
370
|
-
i && (e.style.animation =
|
|
369
|
+
), i = r.length - n.length;
|
|
370
|
+
i && (e.style.animation = n.join(", "), Se -= i, Se || Kr());
|
|
371
371
|
}
|
|
372
|
-
function
|
|
373
|
-
|
|
374
|
-
Se || (
|
|
372
|
+
function Kr() {
|
|
373
|
+
it(() => {
|
|
374
|
+
Se || (xe.forEach((e) => {
|
|
375
375
|
const { ownerNode: t } = e.stylesheet;
|
|
376
376
|
t && G(t);
|
|
377
|
-
}),
|
|
377
|
+
}), xe.clear());
|
|
378
378
|
});
|
|
379
379
|
}
|
|
380
380
|
let ae;
|
|
381
381
|
function se(e) {
|
|
382
382
|
ae = e;
|
|
383
383
|
}
|
|
384
|
-
function
|
|
384
|
+
function en() {
|
|
385
385
|
if (!ae)
|
|
386
386
|
throw new Error("Function called outside component initialization");
|
|
387
387
|
return ae;
|
|
388
388
|
}
|
|
389
|
-
function
|
|
390
|
-
|
|
389
|
+
function tn(e) {
|
|
390
|
+
en().$$.on_mount.push(e);
|
|
391
391
|
}
|
|
392
|
-
const W = [],
|
|
392
|
+
const W = [], ke = [];
|
|
393
393
|
let Z = [];
|
|
394
|
-
const
|
|
395
|
-
let
|
|
396
|
-
function
|
|
397
|
-
|
|
394
|
+
const bt = [], qt = /* @__PURE__ */ Promise.resolve();
|
|
395
|
+
let Ve = !1;
|
|
396
|
+
function Qt() {
|
|
397
|
+
Ve || (Ve = !0, qt.then(N));
|
|
398
398
|
}
|
|
399
|
-
function
|
|
400
|
-
return
|
|
399
|
+
function Wo() {
|
|
400
|
+
return Qt(), qt;
|
|
401
401
|
}
|
|
402
402
|
function Te(e) {
|
|
403
403
|
Z.push(e);
|
|
@@ -412,46 +412,46 @@ function N() {
|
|
|
412
412
|
try {
|
|
413
413
|
for (; k < W.length; ) {
|
|
414
414
|
const t = W[k];
|
|
415
|
-
k++, se(t),
|
|
415
|
+
k++, se(t), rn(t.$$);
|
|
416
416
|
}
|
|
417
417
|
} catch (t) {
|
|
418
418
|
throw W.length = 0, k = 0, t;
|
|
419
419
|
}
|
|
420
|
-
for (se(null), W.length = 0, k = 0;
|
|
421
|
-
|
|
420
|
+
for (se(null), W.length = 0, k = 0; ke.length; )
|
|
421
|
+
ke.pop()();
|
|
422
422
|
for (let t = 0; t < Z.length; t += 1) {
|
|
423
|
-
const
|
|
424
|
-
Me.has(
|
|
423
|
+
const r = Z[t];
|
|
424
|
+
Me.has(r) || (Me.add(r), r());
|
|
425
425
|
}
|
|
426
426
|
Z.length = 0;
|
|
427
427
|
} while (W.length);
|
|
428
|
-
for (;
|
|
429
|
-
|
|
430
|
-
|
|
428
|
+
for (; bt.length; )
|
|
429
|
+
bt.pop()();
|
|
430
|
+
Ve = !1, Me.clear(), se(e);
|
|
431
431
|
}
|
|
432
|
-
function
|
|
432
|
+
function rn(e) {
|
|
433
433
|
if (e.fragment !== null) {
|
|
434
434
|
e.update(), F(e.before_update);
|
|
435
435
|
const t = e.dirty;
|
|
436
436
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Te);
|
|
437
437
|
}
|
|
438
438
|
}
|
|
439
|
-
function
|
|
440
|
-
const t = [],
|
|
441
|
-
Z.forEach((
|
|
439
|
+
function nn(e) {
|
|
440
|
+
const t = [], r = [];
|
|
441
|
+
Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
|
|
442
442
|
}
|
|
443
443
|
let ie;
|
|
444
|
-
function
|
|
444
|
+
function on() {
|
|
445
445
|
return ie || (ie = Promise.resolve(), ie.then(() => {
|
|
446
446
|
ie = null;
|
|
447
447
|
})), ie;
|
|
448
448
|
}
|
|
449
|
-
function Ce(e, t,
|
|
450
|
-
e.dispatchEvent(
|
|
449
|
+
function Ce(e, t, r) {
|
|
450
|
+
e.dispatchEvent(Zr(`${t ? "intro" : "outro"}${r}`));
|
|
451
451
|
}
|
|
452
452
|
const ge = /* @__PURE__ */ new Set();
|
|
453
453
|
let M;
|
|
454
|
-
function
|
|
454
|
+
function zo() {
|
|
455
455
|
M = {
|
|
456
456
|
r: 0,
|
|
457
457
|
c: [],
|
|
@@ -459,57 +459,57 @@ function Xo() {
|
|
|
459
459
|
// parent group
|
|
460
460
|
};
|
|
461
461
|
}
|
|
462
|
-
function
|
|
462
|
+
function Zo() {
|
|
463
463
|
M.r || F(M.c), M = M.p;
|
|
464
464
|
}
|
|
465
|
-
function
|
|
465
|
+
function sn(e, t) {
|
|
466
466
|
e && e.i && (ge.delete(e), e.i(t));
|
|
467
467
|
}
|
|
468
|
-
function
|
|
468
|
+
function qo(e, t, r, n) {
|
|
469
469
|
if (e && e.o) {
|
|
470
470
|
if (ge.has(e))
|
|
471
471
|
return;
|
|
472
472
|
ge.add(e), M.c.push(() => {
|
|
473
|
-
ge.delete(e),
|
|
473
|
+
ge.delete(e), n && (r && e.d(1), n());
|
|
474
474
|
}), e.o(t);
|
|
475
475
|
} else
|
|
476
|
-
|
|
476
|
+
n && n();
|
|
477
477
|
}
|
|
478
|
-
const
|
|
479
|
-
function
|
|
480
|
-
let o = t(e,
|
|
481
|
-
function
|
|
482
|
-
h &&
|
|
478
|
+
const an = { duration: 0 };
|
|
479
|
+
function Qo(e, t, r, n) {
|
|
480
|
+
let o = t(e, r, { direction: "both" }), s = n ? 0 : 1, a = null, u = null, h = null, l;
|
|
481
|
+
function f() {
|
|
482
|
+
h && Yr(e, h);
|
|
483
483
|
}
|
|
484
|
-
function
|
|
485
|
-
const
|
|
484
|
+
function c(p, m) {
|
|
485
|
+
const E = (
|
|
486
486
|
/** @type {Program['d']} */
|
|
487
|
-
|
|
487
|
+
p.b - s
|
|
488
488
|
);
|
|
489
|
-
return m *= Math.abs(
|
|
489
|
+
return m *= Math.abs(E), {
|
|
490
490
|
a: s,
|
|
491
|
-
b:
|
|
492
|
-
d:
|
|
491
|
+
b: p.b,
|
|
492
|
+
d: E,
|
|
493
493
|
duration: m,
|
|
494
|
-
start:
|
|
495
|
-
end:
|
|
496
|
-
group:
|
|
494
|
+
start: p.start,
|
|
495
|
+
end: p.start + m,
|
|
496
|
+
group: p.group
|
|
497
497
|
};
|
|
498
498
|
}
|
|
499
|
-
function p
|
|
499
|
+
function d(p) {
|
|
500
500
|
const {
|
|
501
501
|
delay: m = 0,
|
|
502
|
-
duration:
|
|
503
|
-
easing: w =
|
|
502
|
+
duration: E = 300,
|
|
503
|
+
easing: w = Rr,
|
|
504
504
|
tick: O = B,
|
|
505
|
-
css:
|
|
506
|
-
} = o ||
|
|
507
|
-
start:
|
|
508
|
-
b:
|
|
505
|
+
css: x
|
|
506
|
+
} = o || an, I = {
|
|
507
|
+
start: Fr() + m,
|
|
508
|
+
b: p
|
|
509
509
|
};
|
|
510
|
-
|
|
511
|
-
e.inert, e.inert = !0)), a || u ? u = I : (
|
|
512
|
-
if (u && H > u.start && (a =
|
|
510
|
+
p || (I.group = M, M.r += 1), "inert" in e && (p ? l !== void 0 && (e.inert = l) : (l = /** @type {HTMLElement} */
|
|
511
|
+
e.inert, e.inert = !0)), a || u ? u = I : (x && (f(), h = mt(e, s, p, E, m, w, x)), p && O(0, 1), a = c(I, E), Te(() => Ce(e, p, "start")), jr((H) => {
|
|
512
|
+
if (u && H > u.start && (a = c(u, E), u = null, Ce(e, a.b, "start"), x && (f(), h = mt(
|
|
513
513
|
e,
|
|
514
514
|
s,
|
|
515
515
|
a.b,
|
|
@@ -519,7 +519,7 @@ function Zo(e, t, n, r) {
|
|
|
519
519
|
o.css
|
|
520
520
|
))), a) {
|
|
521
521
|
if (H >= a.end)
|
|
522
|
-
O(s = a.b, 1 - s), Ce(e, a.b, "end"), u || (a.b ?
|
|
522
|
+
O(s = a.b, 1 - s), Ce(e, a.b, "end"), u || (a.b ? f() : --a.group.r || F(a.group.c)), a = null;
|
|
523
523
|
else if (H >= a.start) {
|
|
524
524
|
const R = H - a.start;
|
|
525
525
|
s = a.a + a.d * w(R / a.duration), O(s, 1 - s);
|
|
@@ -529,34 +529,34 @@ function Zo(e, t, n, r) {
|
|
|
529
529
|
}));
|
|
530
530
|
}
|
|
531
531
|
return {
|
|
532
|
-
run(
|
|
533
|
-
le(o) ?
|
|
534
|
-
o = o({ direction:
|
|
535
|
-
}) : p
|
|
532
|
+
run(p) {
|
|
533
|
+
le(o) ? on().then(() => {
|
|
534
|
+
o = o({ direction: p ? "in" : "out" }), d(p);
|
|
535
|
+
}) : d(p);
|
|
536
536
|
},
|
|
537
537
|
end() {
|
|
538
|
-
|
|
538
|
+
f(), a = u = null;
|
|
539
539
|
}
|
|
540
540
|
};
|
|
541
541
|
}
|
|
542
|
-
function
|
|
542
|
+
function Jo(e) {
|
|
543
543
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
544
544
|
}
|
|
545
|
-
function
|
|
546
|
-
const { fragment:
|
|
547
|
-
|
|
548
|
-
const o = e.$$.on_mount.map(
|
|
545
|
+
function un(e, t, r) {
|
|
546
|
+
const { fragment: n, after_update: i } = e.$$;
|
|
547
|
+
n && n.m(t, r), Te(() => {
|
|
548
|
+
const o = e.$$.on_mount.map(Gt).filter(le);
|
|
549
549
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : F(o), e.$$.on_mount = [];
|
|
550
550
|
}), i.forEach(Te);
|
|
551
551
|
}
|
|
552
|
-
function
|
|
553
|
-
const
|
|
554
|
-
|
|
552
|
+
function hn(e, t) {
|
|
553
|
+
const r = e.$$;
|
|
554
|
+
r.fragment !== null && (nn(r.after_update), F(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
555
555
|
}
|
|
556
|
-
function
|
|
557
|
-
e.$$.dirty[0] === -1 && (W.push(e),
|
|
556
|
+
function ln(e, t) {
|
|
557
|
+
e.$$.dirty[0] === -1 && (W.push(e), Qt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
558
558
|
}
|
|
559
|
-
function
|
|
559
|
+
function cn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
560
560
|
const u = ae;
|
|
561
561
|
se(e);
|
|
562
562
|
const h = e.$$ = {
|
|
@@ -566,7 +566,7 @@ function ur(e, t, n, r, i, o, s = null, a = [-1]) {
|
|
|
566
566
|
props: o,
|
|
567
567
|
update: B,
|
|
568
568
|
not_equal: i,
|
|
569
|
-
bound:
|
|
569
|
+
bound: dt(),
|
|
570
570
|
// lifecycle
|
|
571
571
|
on_mount: [],
|
|
572
572
|
on_destroy: [],
|
|
@@ -575,29 +575,29 @@ function ur(e, t, n, r, i, o, s = null, a = [-1]) {
|
|
|
575
575
|
after_update: [],
|
|
576
576
|
context: new Map(t.context || (u ? u.$$.context : [])),
|
|
577
577
|
// everything else
|
|
578
|
-
callbacks:
|
|
578
|
+
callbacks: dt(),
|
|
579
579
|
dirty: a,
|
|
580
580
|
skip_bound: !1,
|
|
581
581
|
root: t.target || u.$$.root
|
|
582
582
|
};
|
|
583
583
|
s && s(h.root);
|
|
584
584
|
let l = !1;
|
|
585
|
-
if (h.ctx =
|
|
586
|
-
const
|
|
587
|
-
return h.ctx && i(h.ctx[
|
|
588
|
-
}) : [], h.update(), l = !0, F(h.before_update), h.fragment =
|
|
585
|
+
if (h.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
|
|
586
|
+
const p = d.length ? d[0] : c;
|
|
587
|
+
return h.ctx && i(h.ctx[f], h.ctx[f] = p) && (!h.skip_bound && h.bound[f] && h.bound[f](p), l && ln(e, f)), c;
|
|
588
|
+
}) : [], h.update(), l = !0, F(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
|
|
589
589
|
if (t.hydrate) {
|
|
590
|
-
const
|
|
591
|
-
h.fragment && h.fragment.l(
|
|
590
|
+
const f = Wr(t.target);
|
|
591
|
+
h.fragment && h.fragment.l(f), f.forEach(G);
|
|
592
592
|
} else
|
|
593
593
|
h.fragment && h.fragment.c();
|
|
594
|
-
t.intro &&
|
|
594
|
+
t.intro && sn(e.$$.fragment), un(e, t.target, t.anchor), N();
|
|
595
595
|
}
|
|
596
596
|
se(u);
|
|
597
597
|
}
|
|
598
|
-
let
|
|
599
|
-
typeof HTMLElement == "function" && (
|
|
600
|
-
constructor(t,
|
|
598
|
+
let Jt;
|
|
599
|
+
typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
|
|
600
|
+
constructor(t, r, n) {
|
|
601
601
|
super();
|
|
602
602
|
/** The Svelte component constructor */
|
|
603
603
|
S(this, "$$ctor");
|
|
@@ -617,23 +617,23 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
|
|
|
617
617
|
S(this, "$$l", {});
|
|
618
618
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
619
619
|
S(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
620
|
-
this.$$ctor = t, this.$$s =
|
|
620
|
+
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
|
621
621
|
}
|
|
622
|
-
addEventListener(t,
|
|
623
|
-
if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(
|
|
624
|
-
const i = this.$$c.$on(t,
|
|
625
|
-
this.$$l_u.set(
|
|
622
|
+
addEventListener(t, r, n) {
|
|
623
|
+
if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
|
|
624
|
+
const i = this.$$c.$on(t, r);
|
|
625
|
+
this.$$l_u.set(r, i);
|
|
626
626
|
}
|
|
627
|
-
super.addEventListener(t,
|
|
627
|
+
super.addEventListener(t, r, n);
|
|
628
628
|
}
|
|
629
|
-
removeEventListener(t,
|
|
630
|
-
if (super.removeEventListener(t,
|
|
631
|
-
const i = this.$$l_u.get(
|
|
632
|
-
i && (i(), this.$$l_u.delete(
|
|
629
|
+
removeEventListener(t, r, n) {
|
|
630
|
+
if (super.removeEventListener(t, r, n), this.$$c) {
|
|
631
|
+
const i = this.$$l_u.get(r);
|
|
632
|
+
i && (i(), this.$$l_u.delete(r));
|
|
633
633
|
}
|
|
634
634
|
}
|
|
635
635
|
connectedCallback() {
|
|
636
|
-
return
|
|
636
|
+
return pt(this, null, function* () {
|
|
637
637
|
if (this.$$cn = !0, !this.$$c) {
|
|
638
638
|
let t = function(o) {
|
|
639
639
|
return () => {
|
|
@@ -657,9 +657,9 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
|
|
|
657
657
|
};
|
|
658
658
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
659
659
|
return;
|
|
660
|
-
const
|
|
660
|
+
const r = {}, n = qr(this);
|
|
661
661
|
for (const o of this.$$s)
|
|
662
|
-
o in
|
|
662
|
+
o in n && (r[o] = [t(o)]);
|
|
663
663
|
for (const o of this.attributes) {
|
|
664
664
|
const s = this.$$g_p(o.name);
|
|
665
665
|
s in this.$$d || (this.$$d[s] = ye(s, o.value, this.$$p_d, "toProp"));
|
|
@@ -668,8 +668,8 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
|
|
|
668
668
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
669
669
|
this.$$c = new this.$$ctor({
|
|
670
670
|
target: this.shadowRoot || this,
|
|
671
|
-
props:
|
|
672
|
-
$$slots:
|
|
671
|
+
props: ft(ct({}, this.$$d), {
|
|
672
|
+
$$slots: r,
|
|
673
673
|
$$scope: {
|
|
674
674
|
ctx: []
|
|
675
675
|
}
|
|
@@ -701,9 +701,9 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
|
|
|
701
701
|
}
|
|
702
702
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
703
703
|
// and setting attributes through setAttribute etc, this is helpful
|
|
704
|
-
attributeChangedCallback(t,
|
|
704
|
+
attributeChangedCallback(t, r, n) {
|
|
705
705
|
var i;
|
|
706
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] = ye(t,
|
|
706
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = ye(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
707
707
|
}
|
|
708
708
|
disconnectedCallback() {
|
|
709
709
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -712,16 +712,16 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
|
|
|
712
712
|
}
|
|
713
713
|
$$g_p(t) {
|
|
714
714
|
return Object.keys(this.$$p_d).find(
|
|
715
|
-
(
|
|
715
|
+
(r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
|
|
716
716
|
) || t;
|
|
717
717
|
}
|
|
718
718
|
});
|
|
719
|
-
function ye(e, t,
|
|
719
|
+
function ye(e, t, r, n) {
|
|
720
720
|
var o;
|
|
721
|
-
const i = (o =
|
|
722
|
-
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !
|
|
721
|
+
const i = (o = r[e]) == null ? void 0 : o.type;
|
|
722
|
+
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
723
723
|
return t;
|
|
724
|
-
if (
|
|
724
|
+
if (n === "toAttribute")
|
|
725
725
|
switch (i) {
|
|
726
726
|
case "Object":
|
|
727
727
|
case "Array":
|
|
@@ -746,10 +746,10 @@ function ye(e, t, n, r) {
|
|
|
746
746
|
return t;
|
|
747
747
|
}
|
|
748
748
|
}
|
|
749
|
-
function
|
|
750
|
-
let s = class extends
|
|
749
|
+
function fn(e, t, r, n, i, o) {
|
|
750
|
+
let s = class extends Jt {
|
|
751
751
|
constructor() {
|
|
752
|
-
super(e,
|
|
752
|
+
super(e, r, i), this.$$p_d = t;
|
|
753
753
|
}
|
|
754
754
|
static get observedAttributes() {
|
|
755
755
|
return Object.keys(t).map(
|
|
@@ -767,7 +767,7 @@ function hr(e, t, n, r, i, o) {
|
|
|
767
767
|
u = ye(a, u, t), this.$$d[a] = u, (h = this.$$c) == null || h.$set({ [a]: u });
|
|
768
768
|
}
|
|
769
769
|
});
|
|
770
|
-
}),
|
|
770
|
+
}), n.forEach((a) => {
|
|
771
771
|
Object.defineProperty(s.prototype, a, {
|
|
772
772
|
get() {
|
|
773
773
|
var u;
|
|
@@ -777,7 +777,7 @@ function hr(e, t, n, r, i, o) {
|
|
|
777
777
|
}), e.element = /** @type {any} */
|
|
778
778
|
s, s;
|
|
779
779
|
}
|
|
780
|
-
class
|
|
780
|
+
class pn {
|
|
781
781
|
constructor() {
|
|
782
782
|
/**
|
|
783
783
|
* ### PRIVATE API
|
|
@@ -798,7 +798,7 @@ class lr {
|
|
|
798
798
|
}
|
|
799
799
|
/** @returns {void} */
|
|
800
800
|
$destroy() {
|
|
801
|
-
|
|
801
|
+
hn(this, 1), this.$destroy = B;
|
|
802
802
|
}
|
|
803
803
|
/**
|
|
804
804
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -806,13 +806,13 @@ class lr {
|
|
|
806
806
|
* @param {((e: Events[K]) => void) | null | undefined} callback
|
|
807
807
|
* @returns {() => void}
|
|
808
808
|
*/
|
|
809
|
-
$on(t,
|
|
810
|
-
if (!le(
|
|
809
|
+
$on(t, r) {
|
|
810
|
+
if (!le(r))
|
|
811
811
|
return B;
|
|
812
|
-
const
|
|
813
|
-
return
|
|
814
|
-
const i =
|
|
815
|
-
i !== -1 &&
|
|
812
|
+
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
813
|
+
return n.push(r), () => {
|
|
814
|
+
const i = n.indexOf(r);
|
|
815
|
+
i !== -1 && n.splice(i, 1);
|
|
816
816
|
};
|
|
817
817
|
}
|
|
818
818
|
/**
|
|
@@ -820,11 +820,11 @@ class lr {
|
|
|
820
820
|
* @returns {void}
|
|
821
821
|
*/
|
|
822
822
|
$set(t) {
|
|
823
|
-
this.$$set && !
|
|
823
|
+
this.$$set && !Dr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
824
824
|
}
|
|
825
825
|
}
|
|
826
|
-
const
|
|
827
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
826
|
+
const dn = "4";
|
|
827
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(dn);
|
|
828
828
|
/*! *****************************************************************************
|
|
829
829
|
Copyright (c) Microsoft Corporation.
|
|
830
830
|
|
|
@@ -839,67 +839,67 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
839
839
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
840
840
|
PERFORMANCE OF THIS SOFTWARE.
|
|
841
841
|
***************************************************************************** */
|
|
842
|
-
var
|
|
843
|
-
return
|
|
844
|
-
|
|
845
|
-
} || function(
|
|
846
|
-
for (var i in
|
|
847
|
-
Object.prototype.hasOwnProperty.call(
|
|
848
|
-
},
|
|
842
|
+
var Xe = function(e, t) {
|
|
843
|
+
return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
844
|
+
r.__proto__ = n;
|
|
845
|
+
} || function(r, n) {
|
|
846
|
+
for (var i in n)
|
|
847
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
848
|
+
}, Xe(e, t);
|
|
849
849
|
};
|
|
850
850
|
function $(e, t) {
|
|
851
851
|
if (typeof t != "function" && t !== null)
|
|
852
852
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
853
|
-
|
|
854
|
-
function
|
|
853
|
+
Xe(e, t);
|
|
854
|
+
function r() {
|
|
855
855
|
this.constructor = e;
|
|
856
856
|
}
|
|
857
|
-
e.prototype = t === null ? Object.create(t) : (
|
|
857
|
+
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
858
858
|
}
|
|
859
859
|
var y = function() {
|
|
860
860
|
return y = Object.assign || function(t) {
|
|
861
|
-
for (var
|
|
862
|
-
|
|
863
|
-
for (var o in
|
|
864
|
-
Object.prototype.hasOwnProperty.call(
|
|
861
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
862
|
+
r = arguments[n];
|
|
863
|
+
for (var o in r)
|
|
864
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
865
865
|
}
|
|
866
866
|
return t;
|
|
867
867
|
}, y.apply(this, arguments);
|
|
868
868
|
};
|
|
869
|
-
function
|
|
870
|
-
var
|
|
871
|
-
for (var
|
|
872
|
-
Object.prototype.hasOwnProperty.call(e,
|
|
869
|
+
function mn(e, t) {
|
|
870
|
+
var r = {};
|
|
871
|
+
for (var n in e)
|
|
872
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
873
873
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
874
|
-
for (var i = 0,
|
|
875
|
-
t.indexOf(
|
|
876
|
-
return
|
|
874
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
875
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
876
|
+
return r;
|
|
877
877
|
}
|
|
878
|
-
function
|
|
879
|
-
var t = typeof Symbol == "function" && Symbol.iterator,
|
|
880
|
-
if (
|
|
881
|
-
return
|
|
878
|
+
function We(e) {
|
|
879
|
+
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
880
|
+
if (r)
|
|
881
|
+
return r.call(e);
|
|
882
882
|
if (e && typeof e.length == "number")
|
|
883
883
|
return {
|
|
884
884
|
next: function() {
|
|
885
|
-
return e &&
|
|
885
|
+
return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
|
|
886
886
|
}
|
|
887
887
|
};
|
|
888
888
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
889
889
|
}
|
|
890
|
-
function
|
|
891
|
-
var
|
|
892
|
-
if (!
|
|
890
|
+
function ze(e, t) {
|
|
891
|
+
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
892
|
+
if (!r)
|
|
893
893
|
return e;
|
|
894
|
-
var
|
|
894
|
+
var n = r.call(e), i, o = [], s;
|
|
895
895
|
try {
|
|
896
|
-
for (; (t === void 0 || t-- > 0) && !(i =
|
|
896
|
+
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
897
897
|
o.push(i.value);
|
|
898
898
|
} catch (a) {
|
|
899
899
|
s = { error: a };
|
|
900
900
|
} finally {
|
|
901
901
|
try {
|
|
902
|
-
i && !i.done && (
|
|
902
|
+
i && !i.done && (r = n.return) && r.call(n);
|
|
903
903
|
} finally {
|
|
904
904
|
if (s)
|
|
905
905
|
throw s.error;
|
|
@@ -907,34 +907,34 @@ function We(e, t) {
|
|
|
907
907
|
}
|
|
908
908
|
return o;
|
|
909
909
|
}
|
|
910
|
-
function q(e, t,
|
|
911
|
-
if (
|
|
912
|
-
for (var
|
|
913
|
-
(o || !(
|
|
910
|
+
function q(e, t, r) {
|
|
911
|
+
if (r || arguments.length === 2)
|
|
912
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
913
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
914
914
|
return e.concat(o || t);
|
|
915
915
|
}
|
|
916
916
|
function C(e) {
|
|
917
917
|
return typeof e == "function";
|
|
918
918
|
}
|
|
919
|
-
function
|
|
920
|
-
var t = function(
|
|
921
|
-
Error.call(
|
|
922
|
-
},
|
|
923
|
-
return
|
|
924
|
-
}
|
|
925
|
-
var $e =
|
|
926
|
-
return function(
|
|
927
|
-
e(this), this.message =
|
|
928
|
-
` +
|
|
929
|
-
return i + 1 + ") " +
|
|
919
|
+
function Yt(e) {
|
|
920
|
+
var t = function(n) {
|
|
921
|
+
Error.call(n), n.stack = new Error().stack;
|
|
922
|
+
}, r = e(t);
|
|
923
|
+
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
924
|
+
}
|
|
925
|
+
var $e = Yt(function(e) {
|
|
926
|
+
return function(r) {
|
|
927
|
+
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
928
|
+
` + r.map(function(n, i) {
|
|
929
|
+
return i + 1 + ") " + n.toString();
|
|
930
930
|
}).join(`
|
|
931
|
-
`) : "", this.name = "UnsubscriptionError", this.errors =
|
|
931
|
+
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
932
932
|
};
|
|
933
933
|
});
|
|
934
|
-
function
|
|
934
|
+
function Ze(e, t) {
|
|
935
935
|
if (e) {
|
|
936
|
-
var
|
|
937
|
-
0 <=
|
|
936
|
+
var r = e.indexOf(t);
|
|
937
|
+
0 <= r && e.splice(r, 1);
|
|
938
938
|
}
|
|
939
939
|
}
|
|
940
940
|
var Be = function() {
|
|
@@ -942,14 +942,14 @@ var Be = function() {
|
|
|
942
942
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
943
943
|
}
|
|
944
944
|
return e.prototype.unsubscribe = function() {
|
|
945
|
-
var t,
|
|
945
|
+
var t, r, n, i, o;
|
|
946
946
|
if (!this.closed) {
|
|
947
947
|
this.closed = !0;
|
|
948
948
|
var s = this._parentage;
|
|
949
949
|
if (s)
|
|
950
950
|
if (this._parentage = null, Array.isArray(s))
|
|
951
951
|
try {
|
|
952
|
-
for (var a =
|
|
952
|
+
for (var a = We(s), u = a.next(); !u.done; u = a.next()) {
|
|
953
953
|
var h = u.value;
|
|
954
954
|
h.remove(this);
|
|
955
955
|
}
|
|
@@ -957,7 +957,7 @@ var Be = function() {
|
|
|
957
957
|
t = { error: m };
|
|
958
958
|
} finally {
|
|
959
959
|
try {
|
|
960
|
-
u && !u.done && (
|
|
960
|
+
u && !u.done && (r = a.return) && r.call(a);
|
|
961
961
|
} finally {
|
|
962
962
|
if (t)
|
|
963
963
|
throw t.error;
|
|
@@ -972,26 +972,26 @@ var Be = function() {
|
|
|
972
972
|
} catch (m) {
|
|
973
973
|
o = m instanceof $e ? m.errors : [m];
|
|
974
974
|
}
|
|
975
|
-
var
|
|
976
|
-
if (
|
|
975
|
+
var f = this._finalizers;
|
|
976
|
+
if (f) {
|
|
977
977
|
this._finalizers = null;
|
|
978
978
|
try {
|
|
979
|
-
for (var
|
|
980
|
-
var
|
|
979
|
+
for (var c = We(f), d = c.next(); !d.done; d = c.next()) {
|
|
980
|
+
var p = d.value;
|
|
981
981
|
try {
|
|
982
|
-
|
|
982
|
+
gt(p);
|
|
983
983
|
} catch (m) {
|
|
984
|
-
o = o != null ? o : [], m instanceof $e ? o = q(q([],
|
|
984
|
+
o = o != null ? o : [], m instanceof $e ? o = q(q([], ze(o)), ze(m.errors)) : o.push(m);
|
|
985
985
|
}
|
|
986
986
|
}
|
|
987
987
|
} catch (m) {
|
|
988
|
-
|
|
988
|
+
n = { error: m };
|
|
989
989
|
} finally {
|
|
990
990
|
try {
|
|
991
|
-
|
|
991
|
+
d && !d.done && (i = c.return) && i.call(c);
|
|
992
992
|
} finally {
|
|
993
|
-
if (
|
|
994
|
-
throw
|
|
993
|
+
if (n)
|
|
994
|
+
throw n.error;
|
|
995
995
|
}
|
|
996
996
|
}
|
|
997
997
|
}
|
|
@@ -999,89 +999,89 @@ var Be = function() {
|
|
|
999
999
|
throw new $e(o);
|
|
1000
1000
|
}
|
|
1001
1001
|
}, e.prototype.add = function(t) {
|
|
1002
|
-
var
|
|
1002
|
+
var r;
|
|
1003
1003
|
if (t && t !== this)
|
|
1004
1004
|
if (this.closed)
|
|
1005
|
-
|
|
1005
|
+
gt(t);
|
|
1006
1006
|
else {
|
|
1007
1007
|
if (t instanceof e) {
|
|
1008
1008
|
if (t.closed || t._hasParent(this))
|
|
1009
1009
|
return;
|
|
1010
1010
|
t._addParent(this);
|
|
1011
1011
|
}
|
|
1012
|
-
(this._finalizers = (
|
|
1012
|
+
(this._finalizers = (r = this._finalizers) !== null && r !== void 0 ? r : []).push(t);
|
|
1013
1013
|
}
|
|
1014
1014
|
}, e.prototype._hasParent = function(t) {
|
|
1015
|
-
var
|
|
1016
|
-
return
|
|
1015
|
+
var r = this._parentage;
|
|
1016
|
+
return r === t || Array.isArray(r) && r.includes(t);
|
|
1017
1017
|
}, e.prototype._addParent = function(t) {
|
|
1018
|
-
var
|
|
1019
|
-
this._parentage = Array.isArray(
|
|
1018
|
+
var r = this._parentage;
|
|
1019
|
+
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
1020
1020
|
}, e.prototype._removeParent = function(t) {
|
|
1021
|
-
var
|
|
1022
|
-
|
|
1021
|
+
var r = this._parentage;
|
|
1022
|
+
r === t ? this._parentage = null : Array.isArray(r) && Ze(r, t);
|
|
1023
1023
|
}, e.prototype.remove = function(t) {
|
|
1024
|
-
var
|
|
1025
|
-
|
|
1024
|
+
var r = this._finalizers;
|
|
1025
|
+
r && Ze(r, t), t instanceof e && t._removeParent(this);
|
|
1026
1026
|
}, e.EMPTY = function() {
|
|
1027
1027
|
var t = new e();
|
|
1028
1028
|
return t.closed = !0, t;
|
|
1029
1029
|
}(), e;
|
|
1030
|
-
}(),
|
|
1031
|
-
function
|
|
1030
|
+
}(), Kt = Be.EMPTY;
|
|
1031
|
+
function er(e) {
|
|
1032
1032
|
return e instanceof Be || e && "closed" in e && C(e.remove) && C(e.add) && C(e.unsubscribe);
|
|
1033
1033
|
}
|
|
1034
|
-
function
|
|
1034
|
+
function gt(e) {
|
|
1035
1035
|
C(e) ? e() : e.unsubscribe();
|
|
1036
1036
|
}
|
|
1037
|
-
var
|
|
1037
|
+
var tr = {
|
|
1038
1038
|
onUnhandledError: null,
|
|
1039
1039
|
onStoppedNotification: null,
|
|
1040
1040
|
Promise: void 0,
|
|
1041
1041
|
useDeprecatedSynchronousErrorHandling: !1,
|
|
1042
1042
|
useDeprecatedNextContext: !1
|
|
1043
|
-
},
|
|
1043
|
+
}, bn = {
|
|
1044
1044
|
setTimeout: function(e, t) {
|
|
1045
|
-
for (var
|
|
1046
|
-
n
|
|
1047
|
-
return setTimeout.apply(void 0, q([e, t],
|
|
1045
|
+
for (var r = [], n = 2; n < arguments.length; n++)
|
|
1046
|
+
r[n - 2] = arguments[n];
|
|
1047
|
+
return setTimeout.apply(void 0, q([e, t], ze(r)));
|
|
1048
1048
|
},
|
|
1049
1049
|
clearTimeout: function(e) {
|
|
1050
1050
|
return clearTimeout(e);
|
|
1051
1051
|
},
|
|
1052
1052
|
delegate: void 0
|
|
1053
1053
|
};
|
|
1054
|
-
function
|
|
1055
|
-
|
|
1054
|
+
function gn(e) {
|
|
1055
|
+
bn.setTimeout(function() {
|
|
1056
1056
|
throw e;
|
|
1057
1057
|
});
|
|
1058
1058
|
}
|
|
1059
|
-
function
|
|
1059
|
+
function yt() {
|
|
1060
1060
|
}
|
|
1061
|
-
function
|
|
1061
|
+
function ve(e) {
|
|
1062
1062
|
e();
|
|
1063
1063
|
}
|
|
1064
|
-
var
|
|
1064
|
+
var rr = function(e) {
|
|
1065
1065
|
$(t, e);
|
|
1066
|
-
function t(
|
|
1067
|
-
var
|
|
1068
|
-
return
|
|
1066
|
+
function t(r) {
|
|
1067
|
+
var n = e.call(this) || this;
|
|
1068
|
+
return n.isStopped = !1, r ? (n.destination = r, er(r) && r.add(n)) : n.destination = En, n;
|
|
1069
1069
|
}
|
|
1070
|
-
return t.create = function(
|
|
1071
|
-
return new
|
|
1072
|
-
}, t.prototype.next = function(
|
|
1073
|
-
this.isStopped || this._next(
|
|
1074
|
-
}, t.prototype.error = function(
|
|
1075
|
-
this.isStopped || (this.isStopped = !0, this._error(
|
|
1070
|
+
return t.create = function(r, n, i) {
|
|
1071
|
+
return new qe(r, n, i);
|
|
1072
|
+
}, t.prototype.next = function(r) {
|
|
1073
|
+
this.isStopped || this._next(r);
|
|
1074
|
+
}, t.prototype.error = function(r) {
|
|
1075
|
+
this.isStopped || (this.isStopped = !0, this._error(r));
|
|
1076
1076
|
}, t.prototype.complete = function() {
|
|
1077
1077
|
this.isStopped || (this.isStopped = !0, this._complete());
|
|
1078
1078
|
}, t.prototype.unsubscribe = function() {
|
|
1079
1079
|
this.closed || (this.isStopped = !0, e.prototype.unsubscribe.call(this), this.destination = null);
|
|
1080
|
-
}, t.prototype._next = function(
|
|
1081
|
-
this.destination.next(
|
|
1082
|
-
}, t.prototype._error = function(
|
|
1080
|
+
}, t.prototype._next = function(r) {
|
|
1081
|
+
this.destination.next(r);
|
|
1082
|
+
}, t.prototype._error = function(r) {
|
|
1083
1083
|
try {
|
|
1084
|
-
this.destination.error(
|
|
1084
|
+
this.destination.error(r);
|
|
1085
1085
|
} finally {
|
|
1086
1086
|
this.unsubscribe();
|
|
1087
1087
|
}
|
|
@@ -1092,25 +1092,29 @@ var Kt = function(e) {
|
|
|
1092
1092
|
this.unsubscribe();
|
|
1093
1093
|
}
|
|
1094
1094
|
}, t;
|
|
1095
|
-
}(Be),
|
|
1095
|
+
}(Be), yn = Function.prototype.bind;
|
|
1096
|
+
function Re(e, t) {
|
|
1097
|
+
return yn.call(e, t);
|
|
1098
|
+
}
|
|
1099
|
+
var vn = function() {
|
|
1096
1100
|
function e(t) {
|
|
1097
1101
|
this.partialObserver = t;
|
|
1098
1102
|
}
|
|
1099
1103
|
return e.prototype.next = function(t) {
|
|
1100
|
-
var
|
|
1101
|
-
if (
|
|
1104
|
+
var r = this.partialObserver;
|
|
1105
|
+
if (r.next)
|
|
1102
1106
|
try {
|
|
1103
|
-
|
|
1104
|
-
} catch (
|
|
1105
|
-
me(
|
|
1107
|
+
r.next(t);
|
|
1108
|
+
} catch (n) {
|
|
1109
|
+
me(n);
|
|
1106
1110
|
}
|
|
1107
1111
|
}, e.prototype.error = function(t) {
|
|
1108
|
-
var
|
|
1109
|
-
if (
|
|
1112
|
+
var r = this.partialObserver;
|
|
1113
|
+
if (r.error)
|
|
1110
1114
|
try {
|
|
1111
|
-
|
|
1112
|
-
} catch (
|
|
1113
|
-
me(
|
|
1115
|
+
r.error(t);
|
|
1116
|
+
} catch (n) {
|
|
1117
|
+
me(n);
|
|
1114
1118
|
}
|
|
1115
1119
|
else
|
|
1116
1120
|
me(t);
|
|
@@ -1119,69 +1123,81 @@ var Kt = function(e) {
|
|
|
1119
1123
|
if (t.complete)
|
|
1120
1124
|
try {
|
|
1121
1125
|
t.complete();
|
|
1122
|
-
} catch (
|
|
1123
|
-
me(
|
|
1126
|
+
} catch (r) {
|
|
1127
|
+
me(r);
|
|
1124
1128
|
}
|
|
1125
1129
|
}, e;
|
|
1126
|
-
}(),
|
|
1130
|
+
}(), qe = function(e) {
|
|
1127
1131
|
$(t, e);
|
|
1128
|
-
function t(
|
|
1132
|
+
function t(r, n, i) {
|
|
1129
1133
|
var o = e.call(this) || this, s;
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1134
|
+
if (C(r) || !r)
|
|
1135
|
+
s = {
|
|
1136
|
+
next: r != null ? r : void 0,
|
|
1137
|
+
error: n != null ? n : void 0,
|
|
1138
|
+
complete: i != null ? i : void 0
|
|
1139
|
+
};
|
|
1140
|
+
else {
|
|
1141
|
+
var a;
|
|
1142
|
+
o && tr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
1143
|
+
return o.unsubscribe();
|
|
1144
|
+
}, s = {
|
|
1145
|
+
next: r.next && Re(r.next, a),
|
|
1146
|
+
error: r.error && Re(r.error, a),
|
|
1147
|
+
complete: r.complete && Re(r.complete, a)
|
|
1148
|
+
}) : s = r;
|
|
1149
|
+
}
|
|
1150
|
+
return o.destination = new vn(s), o;
|
|
1135
1151
|
}
|
|
1136
1152
|
return t;
|
|
1137
|
-
}(
|
|
1153
|
+
}(rr);
|
|
1138
1154
|
function me(e) {
|
|
1139
|
-
|
|
1155
|
+
gn(e);
|
|
1140
1156
|
}
|
|
1141
|
-
function
|
|
1157
|
+
function _n(e) {
|
|
1142
1158
|
throw e;
|
|
1143
1159
|
}
|
|
1144
|
-
var
|
|
1160
|
+
var En = {
|
|
1145
1161
|
closed: !0,
|
|
1146
|
-
next:
|
|
1147
|
-
error:
|
|
1148
|
-
complete:
|
|
1149
|
-
},
|
|
1162
|
+
next: yt,
|
|
1163
|
+
error: _n,
|
|
1164
|
+
complete: yt
|
|
1165
|
+
}, xn = function() {
|
|
1150
1166
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
1151
1167
|
}();
|
|
1152
|
-
function
|
|
1168
|
+
function Sn(e) {
|
|
1153
1169
|
return e;
|
|
1154
1170
|
}
|
|
1155
|
-
function
|
|
1156
|
-
return e.length === 0 ?
|
|
1157
|
-
return e.reduce(function(
|
|
1158
|
-
return i(
|
|
1159
|
-
},
|
|
1171
|
+
function Tn(e) {
|
|
1172
|
+
return e.length === 0 ? Sn : e.length === 1 ? e[0] : function(r) {
|
|
1173
|
+
return e.reduce(function(n, i) {
|
|
1174
|
+
return i(n);
|
|
1175
|
+
}, r);
|
|
1160
1176
|
};
|
|
1161
1177
|
}
|
|
1162
|
-
var
|
|
1178
|
+
var vt = function() {
|
|
1163
1179
|
function e(t) {
|
|
1164
1180
|
t && (this._subscribe = t);
|
|
1165
1181
|
}
|
|
1166
1182
|
return e.prototype.lift = function(t) {
|
|
1167
|
-
var
|
|
1168
|
-
return
|
|
1169
|
-
}, e.prototype.subscribe = function(t,
|
|
1170
|
-
var i = this, o =
|
|
1171
|
-
return
|
|
1183
|
+
var r = new e();
|
|
1184
|
+
return r.source = this, r.operator = t, r;
|
|
1185
|
+
}, e.prototype.subscribe = function(t, r, n) {
|
|
1186
|
+
var i = this, o = Hn(t) ? t : new qe(t, r, n);
|
|
1187
|
+
return ve(function() {
|
|
1172
1188
|
var s = i, a = s.operator, u = s.source;
|
|
1173
1189
|
o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
|
|
1174
1190
|
}), o;
|
|
1175
1191
|
}, e.prototype._trySubscribe = function(t) {
|
|
1176
1192
|
try {
|
|
1177
1193
|
return this._subscribe(t);
|
|
1178
|
-
} catch (
|
|
1179
|
-
t.error(
|
|
1194
|
+
} catch (r) {
|
|
1195
|
+
t.error(r);
|
|
1180
1196
|
}
|
|
1181
|
-
}, e.prototype.forEach = function(t,
|
|
1182
|
-
var
|
|
1183
|
-
return
|
|
1184
|
-
var s = new
|
|
1197
|
+
}, e.prototype.forEach = function(t, r) {
|
|
1198
|
+
var n = this;
|
|
1199
|
+
return r = _t(r), new r(function(i, o) {
|
|
1200
|
+
var s = new qe({
|
|
1185
1201
|
next: function(a) {
|
|
1186
1202
|
try {
|
|
1187
1203
|
t(a);
|
|
@@ -1192,69 +1208,69 @@ var gt = function() {
|
|
|
1192
1208
|
error: o,
|
|
1193
1209
|
complete: i
|
|
1194
1210
|
});
|
|
1195
|
-
|
|
1211
|
+
n.subscribe(s);
|
|
1196
1212
|
});
|
|
1197
1213
|
}, e.prototype._subscribe = function(t) {
|
|
1198
|
-
var
|
|
1199
|
-
return (
|
|
1200
|
-
}, e.prototype[
|
|
1214
|
+
var r;
|
|
1215
|
+
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
1216
|
+
}, e.prototype[xn] = function() {
|
|
1201
1217
|
return this;
|
|
1202
1218
|
}, e.prototype.pipe = function() {
|
|
1203
|
-
for (var t = [],
|
|
1204
|
-
t[
|
|
1205
|
-
return
|
|
1219
|
+
for (var t = [], r = 0; r < arguments.length; r++)
|
|
1220
|
+
t[r] = arguments[r];
|
|
1221
|
+
return Tn(t)(this);
|
|
1206
1222
|
}, e.prototype.toPromise = function(t) {
|
|
1207
|
-
var
|
|
1208
|
-
return t =
|
|
1223
|
+
var r = this;
|
|
1224
|
+
return t = _t(t), new t(function(n, i) {
|
|
1209
1225
|
var o;
|
|
1210
|
-
|
|
1226
|
+
r.subscribe(function(s) {
|
|
1211
1227
|
return o = s;
|
|
1212
1228
|
}, function(s) {
|
|
1213
1229
|
return i(s);
|
|
1214
1230
|
}, function() {
|
|
1215
|
-
return
|
|
1231
|
+
return n(o);
|
|
1216
1232
|
});
|
|
1217
1233
|
});
|
|
1218
1234
|
}, e.create = function(t) {
|
|
1219
1235
|
return new e(t);
|
|
1220
1236
|
}, e;
|
|
1221
1237
|
}();
|
|
1222
|
-
function
|
|
1238
|
+
function _t(e) {
|
|
1223
1239
|
var t;
|
|
1224
|
-
return (t = e != null ? e :
|
|
1240
|
+
return (t = e != null ? e : tr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
1225
1241
|
}
|
|
1226
|
-
function
|
|
1242
|
+
function wn(e) {
|
|
1227
1243
|
return e && C(e.next) && C(e.error) && C(e.complete);
|
|
1228
1244
|
}
|
|
1229
|
-
function
|
|
1230
|
-
return e && e instanceof
|
|
1245
|
+
function Hn(e) {
|
|
1246
|
+
return e && e instanceof rr || wn(e) && er(e);
|
|
1231
1247
|
}
|
|
1232
|
-
var
|
|
1248
|
+
var Bn = Yt(function(e) {
|
|
1233
1249
|
return function() {
|
|
1234
1250
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
1235
1251
|
};
|
|
1236
|
-
}),
|
|
1252
|
+
}), nr = function(e) {
|
|
1237
1253
|
$(t, e);
|
|
1238
1254
|
function t() {
|
|
1239
|
-
var
|
|
1240
|
-
return
|
|
1255
|
+
var r = e.call(this) || this;
|
|
1256
|
+
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
1241
1257
|
}
|
|
1242
|
-
return t.prototype.lift = function(
|
|
1243
|
-
var
|
|
1244
|
-
return
|
|
1258
|
+
return t.prototype.lift = function(r) {
|
|
1259
|
+
var n = new Et(this, this);
|
|
1260
|
+
return n.operator = r, n;
|
|
1245
1261
|
}, t.prototype._throwIfClosed = function() {
|
|
1246
1262
|
if (this.closed)
|
|
1247
|
-
throw new
|
|
1248
|
-
}, t.prototype.next = function(
|
|
1249
|
-
var
|
|
1250
|
-
|
|
1263
|
+
throw new Bn();
|
|
1264
|
+
}, t.prototype.next = function(r) {
|
|
1265
|
+
var n = this;
|
|
1266
|
+
ve(function() {
|
|
1251
1267
|
var i, o;
|
|
1252
|
-
if (
|
|
1253
|
-
|
|
1268
|
+
if (n._throwIfClosed(), !n.isStopped) {
|
|
1269
|
+
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
1254
1270
|
try {
|
|
1255
|
-
for (var s =
|
|
1271
|
+
for (var s = We(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
1256
1272
|
var u = a.value;
|
|
1257
|
-
u.next(
|
|
1273
|
+
u.next(r);
|
|
1258
1274
|
}
|
|
1259
1275
|
} catch (h) {
|
|
1260
1276
|
i = { error: h };
|
|
@@ -1268,118 +1284,118 @@ var Tr = Qt(function(e) {
|
|
|
1268
1284
|
}
|
|
1269
1285
|
}
|
|
1270
1286
|
});
|
|
1271
|
-
}, t.prototype.error = function(
|
|
1272
|
-
var
|
|
1273
|
-
|
|
1274
|
-
if (
|
|
1275
|
-
|
|
1276
|
-
for (var i =
|
|
1277
|
-
i.shift().error(
|
|
1287
|
+
}, t.prototype.error = function(r) {
|
|
1288
|
+
var n = this;
|
|
1289
|
+
ve(function() {
|
|
1290
|
+
if (n._throwIfClosed(), !n.isStopped) {
|
|
1291
|
+
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
1292
|
+
for (var i = n.observers; i.length; )
|
|
1293
|
+
i.shift().error(r);
|
|
1278
1294
|
}
|
|
1279
1295
|
});
|
|
1280
1296
|
}, t.prototype.complete = function() {
|
|
1281
|
-
var
|
|
1282
|
-
|
|
1283
|
-
if (
|
|
1284
|
-
|
|
1285
|
-
for (var
|
|
1286
|
-
|
|
1297
|
+
var r = this;
|
|
1298
|
+
ve(function() {
|
|
1299
|
+
if (r._throwIfClosed(), !r.isStopped) {
|
|
1300
|
+
r.isStopped = !0;
|
|
1301
|
+
for (var n = r.observers; n.length; )
|
|
1302
|
+
n.shift().complete();
|
|
1287
1303
|
}
|
|
1288
1304
|
});
|
|
1289
1305
|
}, t.prototype.unsubscribe = function() {
|
|
1290
1306
|
this.isStopped = this.closed = !0, this.observers = this.currentObservers = null;
|
|
1291
1307
|
}, Object.defineProperty(t.prototype, "observed", {
|
|
1292
1308
|
get: function() {
|
|
1293
|
-
var
|
|
1294
|
-
return ((
|
|
1309
|
+
var r;
|
|
1310
|
+
return ((r = this.observers) === null || r === void 0 ? void 0 : r.length) > 0;
|
|
1295
1311
|
},
|
|
1296
1312
|
enumerable: !1,
|
|
1297
1313
|
configurable: !0
|
|
1298
|
-
}), t.prototype._trySubscribe = function(
|
|
1299
|
-
return this._throwIfClosed(), e.prototype._trySubscribe.call(this,
|
|
1300
|
-
}, t.prototype._subscribe = function(
|
|
1301
|
-
return this._throwIfClosed(), this._checkFinalizedStatuses(
|
|
1302
|
-
}, t.prototype._innerSubscribe = function(
|
|
1303
|
-
var
|
|
1304
|
-
return o || s ?
|
|
1305
|
-
|
|
1314
|
+
}), t.prototype._trySubscribe = function(r) {
|
|
1315
|
+
return this._throwIfClosed(), e.prototype._trySubscribe.call(this, r);
|
|
1316
|
+
}, t.prototype._subscribe = function(r) {
|
|
1317
|
+
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1318
|
+
}, t.prototype._innerSubscribe = function(r) {
|
|
1319
|
+
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
1320
|
+
return o || s ? Kt : (this.currentObservers = null, a.push(r), new Be(function() {
|
|
1321
|
+
n.currentObservers = null, Ze(a, r);
|
|
1306
1322
|
}));
|
|
1307
|
-
}, t.prototype._checkFinalizedStatuses = function(
|
|
1308
|
-
var
|
|
1309
|
-
i ?
|
|
1323
|
+
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1324
|
+
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
1325
|
+
i ? r.error(o) : s && r.complete();
|
|
1310
1326
|
}, t.prototype.asObservable = function() {
|
|
1311
|
-
var
|
|
1312
|
-
return
|
|
1313
|
-
}, t.create = function(
|
|
1314
|
-
return new
|
|
1327
|
+
var r = new vt();
|
|
1328
|
+
return r.source = this, r;
|
|
1329
|
+
}, t.create = function(r, n) {
|
|
1330
|
+
return new Et(r, n);
|
|
1315
1331
|
}, t;
|
|
1316
|
-
}(
|
|
1332
|
+
}(vt), Et = function(e) {
|
|
1317
1333
|
$(t, e);
|
|
1318
|
-
function t(
|
|
1334
|
+
function t(r, n) {
|
|
1319
1335
|
var i = e.call(this) || this;
|
|
1320
|
-
return i.destination =
|
|
1336
|
+
return i.destination = r, i.source = n, i;
|
|
1321
1337
|
}
|
|
1322
|
-
return t.prototype.next = function(
|
|
1323
|
-
var
|
|
1324
|
-
(i = (
|
|
1325
|
-
}, t.prototype.error = function(
|
|
1326
|
-
var
|
|
1327
|
-
(i = (
|
|
1338
|
+
return t.prototype.next = function(r) {
|
|
1339
|
+
var n, i;
|
|
1340
|
+
(i = (n = this.destination) === null || n === void 0 ? void 0 : n.next) === null || i === void 0 || i.call(n, r);
|
|
1341
|
+
}, t.prototype.error = function(r) {
|
|
1342
|
+
var n, i;
|
|
1343
|
+
(i = (n = this.destination) === null || n === void 0 ? void 0 : n.error) === null || i === void 0 || i.call(n, r);
|
|
1328
1344
|
}, t.prototype.complete = function() {
|
|
1329
|
-
var
|
|
1330
|
-
(
|
|
1331
|
-
}, t.prototype._subscribe = function(
|
|
1332
|
-
var
|
|
1333
|
-
return (i = (
|
|
1345
|
+
var r, n;
|
|
1346
|
+
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1347
|
+
}, t.prototype._subscribe = function(r) {
|
|
1348
|
+
var n, i;
|
|
1349
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Kt;
|
|
1334
1350
|
}, t;
|
|
1335
|
-
}(
|
|
1351
|
+
}(nr), ir = {
|
|
1336
1352
|
now: function() {
|
|
1337
|
-
return (
|
|
1353
|
+
return (ir.delegate || Date).now();
|
|
1338
1354
|
},
|
|
1339
1355
|
delegate: void 0
|
|
1340
|
-
},
|
|
1356
|
+
}, An = function(e) {
|
|
1341
1357
|
$(t, e);
|
|
1342
|
-
function t(
|
|
1343
|
-
|
|
1358
|
+
function t(r, n, i) {
|
|
1359
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = ir);
|
|
1344
1360
|
var o = e.call(this) || this;
|
|
1345
|
-
return o._bufferSize =
|
|
1361
|
+
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;
|
|
1346
1362
|
}
|
|
1347
|
-
return t.prototype.next = function(
|
|
1348
|
-
var
|
|
1349
|
-
i || (o.push(
|
|
1350
|
-
}, t.prototype._subscribe = function(
|
|
1363
|
+
return t.prototype.next = function(r) {
|
|
1364
|
+
var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, u = n._windowTime;
|
|
1365
|
+
i || (o.push(r), !s && o.push(a.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
|
|
1366
|
+
}, t.prototype._subscribe = function(r) {
|
|
1351
1367
|
this._throwIfClosed(), this._trimBuffer();
|
|
1352
|
-
for (var
|
|
1353
|
-
|
|
1354
|
-
return this._checkFinalizedStatuses(
|
|
1368
|
+
for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), u = 0; u < a.length && !r.closed; u += o ? 1 : 2)
|
|
1369
|
+
r.next(a[u]);
|
|
1370
|
+
return this._checkFinalizedStatuses(r), n;
|
|
1355
1371
|
}, t.prototype._trimBuffer = function() {
|
|
1356
|
-
var
|
|
1357
|
-
if (
|
|
1372
|
+
var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
|
|
1373
|
+
if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
|
|
1358
1374
|
for (var u = i.now(), h = 0, l = 1; l < o.length && o[l] <= u; l += 2)
|
|
1359
1375
|
h = l;
|
|
1360
1376
|
h && o.splice(0, h + 1);
|
|
1361
1377
|
}
|
|
1362
1378
|
}, t;
|
|
1363
|
-
}(
|
|
1364
|
-
const
|
|
1365
|
-
if (
|
|
1366
|
-
const
|
|
1367
|
-
|
|
1379
|
+
}(nr);
|
|
1380
|
+
const xt = [], St = {}, Pn = (e, t = 0) => {
|
|
1381
|
+
if (xt.indexOf(e) == -1) {
|
|
1382
|
+
const r = new An(t);
|
|
1383
|
+
St[e] = r, xt.push(e);
|
|
1368
1384
|
}
|
|
1369
|
-
return
|
|
1385
|
+
return St[e];
|
|
1370
1386
|
}, V = [];
|
|
1371
|
-
function
|
|
1387
|
+
function On(e, t) {
|
|
1372
1388
|
return {
|
|
1373
1389
|
subscribe: Ae(e, t).subscribe
|
|
1374
1390
|
};
|
|
1375
1391
|
}
|
|
1376
1392
|
function Ae(e, t = B) {
|
|
1377
|
-
let
|
|
1378
|
-
const
|
|
1393
|
+
let r;
|
|
1394
|
+
const n = /* @__PURE__ */ new Set();
|
|
1379
1395
|
function i(a) {
|
|
1380
|
-
if (
|
|
1396
|
+
if (Ft(e, a) && (e = a, r)) {
|
|
1381
1397
|
const u = !V.length;
|
|
1382
|
-
for (const h of
|
|
1398
|
+
for (const h of n)
|
|
1383
1399
|
h[1](), V.push(h, e);
|
|
1384
1400
|
if (u) {
|
|
1385
1401
|
for (let h = 0; h < V.length; h += 2)
|
|
@@ -1393,226 +1409,224 @@ function Ae(e, t = B) {
|
|
|
1393
1409
|
}
|
|
1394
1410
|
function s(a, u = B) {
|
|
1395
1411
|
const h = [a, u];
|
|
1396
|
-
return
|
|
1397
|
-
|
|
1412
|
+
return n.add(h), n.size === 1 && (r = t(i, o) || B), a(e), () => {
|
|
1413
|
+
n.delete(h), n.size === 0 && r && (r(), r = null);
|
|
1398
1414
|
};
|
|
1399
1415
|
}
|
|
1400
1416
|
return { set: i, update: o, subscribe: s };
|
|
1401
1417
|
}
|
|
1402
|
-
function te(e, t,
|
|
1403
|
-
const
|
|
1418
|
+
function te(e, t, r) {
|
|
1419
|
+
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1404
1420
|
if (!i.every(Boolean))
|
|
1405
1421
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1406
1422
|
const o = t.length < 2;
|
|
1407
|
-
return
|
|
1423
|
+
return On(r, (s, a) => {
|
|
1408
1424
|
let u = !1;
|
|
1409
1425
|
const h = [];
|
|
1410
|
-
let l = 0,
|
|
1411
|
-
const
|
|
1426
|
+
let l = 0, f = B;
|
|
1427
|
+
const c = () => {
|
|
1412
1428
|
if (l)
|
|
1413
1429
|
return;
|
|
1414
|
-
|
|
1415
|
-
const
|
|
1416
|
-
o ? s(
|
|
1417
|
-
},
|
|
1418
|
-
(
|
|
1419
|
-
|
|
1420
|
-
(
|
|
1421
|
-
h[m] =
|
|
1430
|
+
f();
|
|
1431
|
+
const p = t(n ? h[0] : h, s, a);
|
|
1432
|
+
o ? s(p) : f = le(p) ? p : B;
|
|
1433
|
+
}, d = i.map(
|
|
1434
|
+
(p, m) => jt(
|
|
1435
|
+
p,
|
|
1436
|
+
(E) => {
|
|
1437
|
+
h[m] = E, l &= ~(1 << m), u && c();
|
|
1422
1438
|
},
|
|
1423
1439
|
() => {
|
|
1424
1440
|
l |= 1 << m;
|
|
1425
1441
|
}
|
|
1426
1442
|
)
|
|
1427
1443
|
);
|
|
1428
|
-
return u = !0,
|
|
1429
|
-
F(
|
|
1444
|
+
return u = !0, c(), function() {
|
|
1445
|
+
F(d), f(), u = !1;
|
|
1430
1446
|
};
|
|
1431
1447
|
});
|
|
1432
1448
|
}
|
|
1433
|
-
var
|
|
1434
|
-
function
|
|
1449
|
+
var Yo = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
|
|
1450
|
+
function In(e) {
|
|
1435
1451
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1436
1452
|
}
|
|
1437
|
-
var
|
|
1438
|
-
return
|
|
1453
|
+
var Ln = function(t) {
|
|
1454
|
+
return Nn(t) && !Mn(t);
|
|
1439
1455
|
};
|
|
1440
|
-
function
|
|
1456
|
+
function Nn(e) {
|
|
1441
1457
|
return !!e && typeof e == "object";
|
|
1442
1458
|
}
|
|
1443
|
-
function
|
|
1459
|
+
function Mn(e) {
|
|
1444
1460
|
var t = Object.prototype.toString.call(e);
|
|
1445
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1461
|
+
return t === "[object RegExp]" || t === "[object Date]" || Rn(e);
|
|
1446
1462
|
}
|
|
1447
|
-
var
|
|
1448
|
-
function
|
|
1449
|
-
return e.$$typeof ===
|
|
1463
|
+
var Cn = typeof Symbol == "function" && Symbol.for, $n = Cn ? Symbol.for("react.element") : 60103;
|
|
1464
|
+
function Rn(e) {
|
|
1465
|
+
return e.$$typeof === $n;
|
|
1450
1466
|
}
|
|
1451
|
-
function
|
|
1467
|
+
function Un(e) {
|
|
1452
1468
|
return Array.isArray(e) ? [] : {};
|
|
1453
1469
|
}
|
|
1454
1470
|
function ue(e, t) {
|
|
1455
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? Q(
|
|
1471
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Q(Un(e), e, t) : e;
|
|
1456
1472
|
}
|
|
1457
|
-
function
|
|
1458
|
-
return e.concat(t).map(function(
|
|
1459
|
-
return ue(
|
|
1473
|
+
function Dn(e, t, r) {
|
|
1474
|
+
return e.concat(t).map(function(n) {
|
|
1475
|
+
return ue(n, r);
|
|
1460
1476
|
});
|
|
1461
1477
|
}
|
|
1462
|
-
function
|
|
1478
|
+
function Gn(e, t) {
|
|
1463
1479
|
if (!t.customMerge)
|
|
1464
1480
|
return Q;
|
|
1465
|
-
var
|
|
1466
|
-
return typeof
|
|
1481
|
+
var r = t.customMerge(e);
|
|
1482
|
+
return typeof r == "function" ? r : Q;
|
|
1467
1483
|
}
|
|
1468
|
-
function
|
|
1484
|
+
function Fn(e) {
|
|
1469
1485
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1470
1486
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1471
1487
|
}) : [];
|
|
1472
1488
|
}
|
|
1473
|
-
function
|
|
1474
|
-
return Object.keys(e).concat(
|
|
1489
|
+
function Tt(e) {
|
|
1490
|
+
return Object.keys(e).concat(Fn(e));
|
|
1475
1491
|
}
|
|
1476
|
-
function
|
|
1492
|
+
function or(e, t) {
|
|
1477
1493
|
try {
|
|
1478
1494
|
return t in e;
|
|
1479
|
-
} catch (
|
|
1495
|
+
} catch (r) {
|
|
1480
1496
|
return !1;
|
|
1481
1497
|
}
|
|
1482
1498
|
}
|
|
1483
|
-
function
|
|
1484
|
-
return
|
|
1499
|
+
function jn(e, t) {
|
|
1500
|
+
return or(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1485
1501
|
}
|
|
1486
|
-
function
|
|
1487
|
-
var
|
|
1488
|
-
return
|
|
1489
|
-
|
|
1490
|
-
}),
|
|
1491
|
-
|
|
1492
|
-
}),
|
|
1493
|
-
}
|
|
1494
|
-
function Q(e, t,
|
|
1495
|
-
|
|
1496
|
-
var
|
|
1497
|
-
return o ?
|
|
1498
|
-
}
|
|
1499
|
-
Q.all = function(t,
|
|
1502
|
+
function kn(e, t, r) {
|
|
1503
|
+
var n = {};
|
|
1504
|
+
return r.isMergeableObject(e) && Tt(e).forEach(function(i) {
|
|
1505
|
+
n[i] = ue(e[i], r);
|
|
1506
|
+
}), Tt(t).forEach(function(i) {
|
|
1507
|
+
jn(e, i) || (or(e, i) && r.isMergeableObject(t[i]) ? n[i] = Gn(i, r)(e[i], t[i], r) : n[i] = ue(t[i], r));
|
|
1508
|
+
}), n;
|
|
1509
|
+
}
|
|
1510
|
+
function Q(e, t, r) {
|
|
1511
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Dn, r.isMergeableObject = r.isMergeableObject || Ln, r.cloneUnlessOtherwiseSpecified = ue;
|
|
1512
|
+
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1513
|
+
return o ? n ? r.arrayMerge(e, t, r) : kn(e, t, r) : ue(t, r);
|
|
1514
|
+
}
|
|
1515
|
+
Q.all = function(t, r) {
|
|
1500
1516
|
if (!Array.isArray(t))
|
|
1501
1517
|
throw new Error("first argument should be an array");
|
|
1502
|
-
return t.reduce(function(
|
|
1503
|
-
return Q(
|
|
1518
|
+
return t.reduce(function(n, i) {
|
|
1519
|
+
return Q(n, i, r);
|
|
1504
1520
|
}, {});
|
|
1505
1521
|
};
|
|
1506
|
-
var
|
|
1507
|
-
const
|
|
1508
|
-
function
|
|
1509
|
-
var
|
|
1522
|
+
var Vn = Q, Xn = Vn;
|
|
1523
|
+
const Wn = /* @__PURE__ */ In(Xn);
|
|
1524
|
+
function Ue(e, t) {
|
|
1525
|
+
var r = t && t.cache ? t.cache : Yn, n = t && t.serializer ? t.serializer : Jn, i = t && t.strategy ? t.strategy : Zn;
|
|
1510
1526
|
return i(e, {
|
|
1511
|
-
cache:
|
|
1512
|
-
serializer:
|
|
1527
|
+
cache: r,
|
|
1528
|
+
serializer: n
|
|
1513
1529
|
});
|
|
1514
1530
|
}
|
|
1515
|
-
function
|
|
1531
|
+
function zn(e) {
|
|
1516
1532
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1517
1533
|
}
|
|
1518
|
-
function
|
|
1519
|
-
var i =
|
|
1520
|
-
return typeof o == "undefined" && (o = e.call(this,
|
|
1534
|
+
function sr(e, t, r, n) {
|
|
1535
|
+
var i = zn(n) ? n : r(n), o = t.get(i);
|
|
1536
|
+
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1521
1537
|
}
|
|
1522
|
-
function
|
|
1523
|
-
var
|
|
1524
|
-
return typeof o == "undefined" && (o = e.apply(this,
|
|
1538
|
+
function ar(e, t, r) {
|
|
1539
|
+
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1540
|
+
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1525
1541
|
}
|
|
1526
|
-
function
|
|
1527
|
-
return
|
|
1542
|
+
function st(e, t, r, n, i) {
|
|
1543
|
+
return r.bind(t, e, n, i);
|
|
1528
1544
|
}
|
|
1529
|
-
function
|
|
1530
|
-
var
|
|
1531
|
-
return
|
|
1545
|
+
function Zn(e, t) {
|
|
1546
|
+
var r = e.length === 1 ? sr : ar;
|
|
1547
|
+
return st(e, this, r, t.cache.create(), t.serializer);
|
|
1532
1548
|
}
|
|
1533
|
-
function
|
|
1534
|
-
return
|
|
1549
|
+
function qn(e, t) {
|
|
1550
|
+
return st(e, this, ar, t.cache.create(), t.serializer);
|
|
1535
1551
|
}
|
|
1536
|
-
function
|
|
1537
|
-
return
|
|
1552
|
+
function Qn(e, t) {
|
|
1553
|
+
return st(e, this, sr, t.cache.create(), t.serializer);
|
|
1538
1554
|
}
|
|
1539
|
-
var
|
|
1555
|
+
var Jn = function() {
|
|
1540
1556
|
return JSON.stringify(arguments);
|
|
1541
|
-
}
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
}()
|
|
1553
|
-
), Qr = {
|
|
1557
|
+
};
|
|
1558
|
+
function at() {
|
|
1559
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1560
|
+
}
|
|
1561
|
+
at.prototype.get = function(e) {
|
|
1562
|
+
return this.cache[e];
|
|
1563
|
+
};
|
|
1564
|
+
at.prototype.set = function(e, t) {
|
|
1565
|
+
this.cache[e] = t;
|
|
1566
|
+
};
|
|
1567
|
+
var Yn = {
|
|
1554
1568
|
create: function() {
|
|
1555
|
-
return new
|
|
1569
|
+
return new at();
|
|
1556
1570
|
}
|
|
1557
|
-
},
|
|
1558
|
-
variadic:
|
|
1559
|
-
monadic:
|
|
1571
|
+
}, De = {
|
|
1572
|
+
variadic: qn,
|
|
1573
|
+
monadic: Qn
|
|
1560
1574
|
}, b;
|
|
1561
1575
|
(function(e) {
|
|
1562
1576
|
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";
|
|
1563
1577
|
})(b || (b = {}));
|
|
1564
|
-
var
|
|
1578
|
+
var _;
|
|
1565
1579
|
(function(e) {
|
|
1566
1580
|
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";
|
|
1567
|
-
})(
|
|
1581
|
+
})(_ || (_ = {}));
|
|
1568
1582
|
var J;
|
|
1569
1583
|
(function(e) {
|
|
1570
1584
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1571
1585
|
})(J || (J = {}));
|
|
1572
|
-
function
|
|
1573
|
-
return e.type ===
|
|
1586
|
+
function wt(e) {
|
|
1587
|
+
return e.type === _.literal;
|
|
1574
1588
|
}
|
|
1575
|
-
function
|
|
1576
|
-
return e.type ===
|
|
1589
|
+
function Kn(e) {
|
|
1590
|
+
return e.type === _.argument;
|
|
1577
1591
|
}
|
|
1578
|
-
function
|
|
1579
|
-
return e.type ===
|
|
1592
|
+
function ur(e) {
|
|
1593
|
+
return e.type === _.number;
|
|
1580
1594
|
}
|
|
1581
|
-
function
|
|
1582
|
-
return e.type ===
|
|
1595
|
+
function hr(e) {
|
|
1596
|
+
return e.type === _.date;
|
|
1583
1597
|
}
|
|
1584
|
-
function
|
|
1585
|
-
return e.type ===
|
|
1598
|
+
function lr(e) {
|
|
1599
|
+
return e.type === _.time;
|
|
1586
1600
|
}
|
|
1587
|
-
function
|
|
1588
|
-
return e.type ===
|
|
1601
|
+
function cr(e) {
|
|
1602
|
+
return e.type === _.select;
|
|
1589
1603
|
}
|
|
1590
|
-
function
|
|
1591
|
-
return e.type ===
|
|
1604
|
+
function fr(e) {
|
|
1605
|
+
return e.type === _.plural;
|
|
1592
1606
|
}
|
|
1593
|
-
function
|
|
1594
|
-
return e.type ===
|
|
1607
|
+
function ei(e) {
|
|
1608
|
+
return e.type === _.pound;
|
|
1595
1609
|
}
|
|
1596
|
-
function
|
|
1597
|
-
return e.type ===
|
|
1610
|
+
function pr(e) {
|
|
1611
|
+
return e.type === _.tag;
|
|
1598
1612
|
}
|
|
1599
|
-
function
|
|
1613
|
+
function dr(e) {
|
|
1600
1614
|
return !!(e && typeof e == "object" && e.type === J.number);
|
|
1601
1615
|
}
|
|
1602
|
-
function
|
|
1616
|
+
function Qe(e) {
|
|
1603
1617
|
return !!(e && typeof e == "object" && e.type === J.dateTime);
|
|
1604
1618
|
}
|
|
1605
|
-
var
|
|
1606
|
-
function
|
|
1619
|
+
var mr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ti = /(?:[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;
|
|
1620
|
+
function ri(e) {
|
|
1607
1621
|
var t = {};
|
|
1608
|
-
return e.replace(
|
|
1609
|
-
var
|
|
1610
|
-
switch (
|
|
1622
|
+
return e.replace(ti, function(r) {
|
|
1623
|
+
var n = r.length;
|
|
1624
|
+
switch (r[0]) {
|
|
1611
1625
|
case "G":
|
|
1612
|
-
t.era =
|
|
1626
|
+
t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
|
|
1613
1627
|
break;
|
|
1614
1628
|
case "y":
|
|
1615
|
-
t.year =
|
|
1629
|
+
t.year = n === 2 ? "2-digit" : "numeric";
|
|
1616
1630
|
break;
|
|
1617
1631
|
case "Y":
|
|
1618
1632
|
case "u":
|
|
@@ -1624,30 +1638,30 @@ function ei(e) {
|
|
|
1624
1638
|
throw new RangeError("`q/Q` (quarter) patterns are not supported");
|
|
1625
1639
|
case "M":
|
|
1626
1640
|
case "L":
|
|
1627
|
-
t.month = ["numeric", "2-digit", "short", "long", "narrow"][
|
|
1641
|
+
t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
|
|
1628
1642
|
break;
|
|
1629
1643
|
case "w":
|
|
1630
1644
|
case "W":
|
|
1631
1645
|
throw new RangeError("`w/W` (week) patterns are not supported");
|
|
1632
1646
|
case "d":
|
|
1633
|
-
t.day = ["numeric", "2-digit"][
|
|
1647
|
+
t.day = ["numeric", "2-digit"][n - 1];
|
|
1634
1648
|
break;
|
|
1635
1649
|
case "D":
|
|
1636
1650
|
case "F":
|
|
1637
1651
|
case "g":
|
|
1638
1652
|
throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
|
|
1639
1653
|
case "E":
|
|
1640
|
-
t.weekday =
|
|
1654
|
+
t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
|
|
1641
1655
|
break;
|
|
1642
1656
|
case "e":
|
|
1643
|
-
if (
|
|
1657
|
+
if (n < 4)
|
|
1644
1658
|
throw new RangeError("`e..eee` (weekday) patterns are not supported");
|
|
1645
|
-
t.weekday = ["short", "long", "narrow", "short"][
|
|
1659
|
+
t.weekday = ["short", "long", "narrow", "short"][n - 4];
|
|
1646
1660
|
break;
|
|
1647
1661
|
case "c":
|
|
1648
|
-
if (
|
|
1662
|
+
if (n < 4)
|
|
1649
1663
|
throw new RangeError("`c..ccc` (weekday) patterns are not supported");
|
|
1650
|
-
t.weekday = ["short", "long", "narrow", "short"][
|
|
1664
|
+
t.weekday = ["short", "long", "narrow", "short"][n - 4];
|
|
1651
1665
|
break;
|
|
1652
1666
|
case "a":
|
|
1653
1667
|
t.hour12 = !0;
|
|
@@ -1656,32 +1670,32 @@ function ei(e) {
|
|
|
1656
1670
|
case "B":
|
|
1657
1671
|
throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
|
|
1658
1672
|
case "h":
|
|
1659
|
-
t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][
|
|
1673
|
+
t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
|
|
1660
1674
|
break;
|
|
1661
1675
|
case "H":
|
|
1662
|
-
t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][
|
|
1676
|
+
t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
|
|
1663
1677
|
break;
|
|
1664
1678
|
case "K":
|
|
1665
|
-
t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][
|
|
1679
|
+
t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
|
|
1666
1680
|
break;
|
|
1667
1681
|
case "k":
|
|
1668
|
-
t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][
|
|
1682
|
+
t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
|
|
1669
1683
|
break;
|
|
1670
1684
|
case "j":
|
|
1671
1685
|
case "J":
|
|
1672
1686
|
case "C":
|
|
1673
1687
|
throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
|
|
1674
1688
|
case "m":
|
|
1675
|
-
t.minute = ["numeric", "2-digit"][
|
|
1689
|
+
t.minute = ["numeric", "2-digit"][n - 1];
|
|
1676
1690
|
break;
|
|
1677
1691
|
case "s":
|
|
1678
|
-
t.second = ["numeric", "2-digit"][
|
|
1692
|
+
t.second = ["numeric", "2-digit"][n - 1];
|
|
1679
1693
|
break;
|
|
1680
1694
|
case "S":
|
|
1681
1695
|
case "A":
|
|
1682
1696
|
throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
|
|
1683
1697
|
case "z":
|
|
1684
|
-
t.timeZoneName =
|
|
1698
|
+
t.timeZoneName = n < 4 ? "short" : "long";
|
|
1685
1699
|
break;
|
|
1686
1700
|
case "Z":
|
|
1687
1701
|
case "O":
|
|
@@ -1694,36 +1708,36 @@ function ei(e) {
|
|
|
1694
1708
|
return "";
|
|
1695
1709
|
}), t;
|
|
1696
1710
|
}
|
|
1697
|
-
var
|
|
1698
|
-
function
|
|
1711
|
+
var ni = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1712
|
+
function ii(e) {
|
|
1699
1713
|
if (e.length === 0)
|
|
1700
1714
|
throw new Error("Number skeleton cannot be empty");
|
|
1701
|
-
for (var t = e.split(
|
|
1702
|
-
return
|
|
1703
|
-
}),
|
|
1704
|
-
var o = i[
|
|
1715
|
+
for (var t = e.split(ni).filter(function(c) {
|
|
1716
|
+
return c.length > 0;
|
|
1717
|
+
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1718
|
+
var o = i[n], s = o.split("/");
|
|
1705
1719
|
if (s.length === 0)
|
|
1706
1720
|
throw new Error("Invalid number skeleton");
|
|
1707
1721
|
for (var a = s[0], u = s.slice(1), h = 0, l = u; h < l.length; h++) {
|
|
1708
|
-
var
|
|
1709
|
-
if (
|
|
1722
|
+
var f = l[h];
|
|
1723
|
+
if (f.length === 0)
|
|
1710
1724
|
throw new Error("Invalid number skeleton");
|
|
1711
1725
|
}
|
|
1712
|
-
|
|
1726
|
+
r.push({ stem: a, options: u });
|
|
1713
1727
|
}
|
|
1714
|
-
return
|
|
1728
|
+
return r;
|
|
1715
1729
|
}
|
|
1716
|
-
function
|
|
1730
|
+
function oi(e) {
|
|
1717
1731
|
return e.replace(/^(.*?)-/, "");
|
|
1718
1732
|
}
|
|
1719
|
-
var
|
|
1720
|
-
function
|
|
1733
|
+
var Ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, br = /^(@+)?(\+|#+)?[rs]?$/g, si = /(\*)(0+)|(#+)(0+)|(0+)/g, gr = /^(0+)$/;
|
|
1734
|
+
function Bt(e) {
|
|
1721
1735
|
var t = {};
|
|
1722
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1723
|
-
return typeof i != "string" ? (t.minimumSignificantDigits =
|
|
1736
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(br, function(r, n, i) {
|
|
1737
|
+
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)), "";
|
|
1724
1738
|
}), t;
|
|
1725
1739
|
}
|
|
1726
|
-
function
|
|
1740
|
+
function yr(e) {
|
|
1727
1741
|
switch (e) {
|
|
1728
1742
|
case "sign-auto":
|
|
1729
1743
|
return {
|
|
@@ -1763,27 +1777,27 @@ function bn(e) {
|
|
|
1763
1777
|
};
|
|
1764
1778
|
}
|
|
1765
1779
|
}
|
|
1766
|
-
function
|
|
1780
|
+
function ai(e) {
|
|
1767
1781
|
var t;
|
|
1768
1782
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1769
1783
|
notation: "engineering"
|
|
1770
1784
|
}, e = e.slice(2)) : e[0] === "E" && (t = {
|
|
1771
1785
|
notation: "scientific"
|
|
1772
1786
|
}, e = e.slice(1)), t) {
|
|
1773
|
-
var
|
|
1774
|
-
if (
|
|
1787
|
+
var r = e.slice(0, 2);
|
|
1788
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !gr.test(e))
|
|
1775
1789
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1776
1790
|
t.minimumIntegerDigits = e.length;
|
|
1777
1791
|
}
|
|
1778
1792
|
return t;
|
|
1779
1793
|
}
|
|
1780
|
-
function
|
|
1781
|
-
var t = {},
|
|
1782
|
-
return
|
|
1794
|
+
function At(e) {
|
|
1795
|
+
var t = {}, r = yr(e);
|
|
1796
|
+
return r || t;
|
|
1783
1797
|
}
|
|
1784
|
-
function
|
|
1785
|
-
for (var t = {},
|
|
1786
|
-
var i = r
|
|
1798
|
+
function ui(e) {
|
|
1799
|
+
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1800
|
+
var i = n[r];
|
|
1787
1801
|
switch (i.stem) {
|
|
1788
1802
|
case "percent":
|
|
1789
1803
|
case "%":
|
|
@@ -1805,7 +1819,7 @@ function si(e) {
|
|
|
1805
1819
|
continue;
|
|
1806
1820
|
case "measure-unit":
|
|
1807
1821
|
case "unit":
|
|
1808
|
-
t.style = "unit", t.unit =
|
|
1822
|
+
t.style = "unit", t.unit = oi(i.options[0]);
|
|
1809
1823
|
continue;
|
|
1810
1824
|
case "compact-short":
|
|
1811
1825
|
case "K":
|
|
@@ -1817,12 +1831,12 @@ function si(e) {
|
|
|
1817
1831
|
continue;
|
|
1818
1832
|
case "scientific":
|
|
1819
1833
|
t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(u, h) {
|
|
1820
|
-
return y(y({}, u),
|
|
1834
|
+
return y(y({}, u), At(h));
|
|
1821
1835
|
}, {}));
|
|
1822
1836
|
continue;
|
|
1823
1837
|
case "engineering":
|
|
1824
1838
|
t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(u, h) {
|
|
1825
|
-
return y(y({}, u),
|
|
1839
|
+
return y(y({}, u), At(h));
|
|
1826
1840
|
}, {}));
|
|
1827
1841
|
continue;
|
|
1828
1842
|
case "notation-simple":
|
|
@@ -1867,40 +1881,40 @@ function si(e) {
|
|
|
1867
1881
|
case "integer-width":
|
|
1868
1882
|
if (i.options.length > 1)
|
|
1869
1883
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1870
|
-
i.options[0].replace(
|
|
1884
|
+
i.options[0].replace(si, function(u, h, l, f, c, d) {
|
|
1871
1885
|
if (h)
|
|
1872
1886
|
t.minimumIntegerDigits = l.length;
|
|
1873
1887
|
else {
|
|
1874
|
-
if (
|
|
1888
|
+
if (f && c)
|
|
1875
1889
|
throw new Error("We currently do not support maximum integer digits");
|
|
1876
|
-
if (
|
|
1890
|
+
if (d)
|
|
1877
1891
|
throw new Error("We currently do not support exact integer digits");
|
|
1878
1892
|
}
|
|
1879
1893
|
return "";
|
|
1880
1894
|
});
|
|
1881
1895
|
continue;
|
|
1882
1896
|
}
|
|
1883
|
-
if (
|
|
1897
|
+
if (gr.test(i.stem)) {
|
|
1884
1898
|
t.minimumIntegerDigits = i.stem.length;
|
|
1885
1899
|
continue;
|
|
1886
1900
|
}
|
|
1887
|
-
if (
|
|
1901
|
+
if (Ht.test(i.stem)) {
|
|
1888
1902
|
if (i.options.length > 1)
|
|
1889
1903
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1890
|
-
i.stem.replace(
|
|
1891
|
-
return l === "*" ? t.minimumFractionDigits = h.length :
|
|
1904
|
+
i.stem.replace(Ht, function(u, h, l, f, c, d) {
|
|
1905
|
+
return l === "*" ? t.minimumFractionDigits = h.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
|
|
1892
1906
|
});
|
|
1893
1907
|
var o = i.options[0];
|
|
1894
|
-
o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t),
|
|
1908
|
+
o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), Bt(o)));
|
|
1895
1909
|
continue;
|
|
1896
1910
|
}
|
|
1897
|
-
if (
|
|
1898
|
-
t = y(y({}, t),
|
|
1911
|
+
if (br.test(i.stem)) {
|
|
1912
|
+
t = y(y({}, t), Bt(i.stem));
|
|
1899
1913
|
continue;
|
|
1900
1914
|
}
|
|
1901
|
-
var s =
|
|
1915
|
+
var s = yr(i.stem);
|
|
1902
1916
|
s && (t = y(y({}, t), s));
|
|
1903
|
-
var a =
|
|
1917
|
+
var a = ai(i.stem);
|
|
1904
1918
|
a && (t = y(y({}, t), a));
|
|
1905
1919
|
}
|
|
1906
1920
|
return t;
|
|
@@ -3320,23 +3334,23 @@ var be = {
|
|
|
3320
3334
|
"h"
|
|
3321
3335
|
]
|
|
3322
3336
|
};
|
|
3323
|
-
function
|
|
3324
|
-
for (var
|
|
3325
|
-
var i = e.charAt(
|
|
3337
|
+
function hi(e, t) {
|
|
3338
|
+
for (var r = "", n = 0; n < e.length; n++) {
|
|
3339
|
+
var i = e.charAt(n);
|
|
3326
3340
|
if (i === "j") {
|
|
3327
|
-
for (var o = 0;
|
|
3328
|
-
o++,
|
|
3329
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", h =
|
|
3341
|
+
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3342
|
+
o++, n++;
|
|
3343
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", h = li(t);
|
|
3330
3344
|
for ((h == "H" || h == "k") && (a = 0); a-- > 0; )
|
|
3331
|
-
|
|
3345
|
+
r += u;
|
|
3332
3346
|
for (; s-- > 0; )
|
|
3333
|
-
|
|
3347
|
+
r = h + r;
|
|
3334
3348
|
} else
|
|
3335
|
-
i === "J" ?
|
|
3349
|
+
i === "J" ? r += "H" : r += i;
|
|
3336
3350
|
}
|
|
3337
|
-
return
|
|
3351
|
+
return r;
|
|
3338
3352
|
}
|
|
3339
|
-
function
|
|
3353
|
+
function li(e) {
|
|
3340
3354
|
var t = e.hourCycle;
|
|
3341
3355
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3342
3356
|
e.hourCycles && // @ts-ignore
|
|
@@ -3353,73 +3367,73 @@ function ui(e) {
|
|
|
3353
3367
|
default:
|
|
3354
3368
|
throw new Error("Invalid hourCycle");
|
|
3355
3369
|
}
|
|
3356
|
-
var
|
|
3357
|
-
|
|
3358
|
-
var i = be[
|
|
3370
|
+
var r = e.language, n;
|
|
3371
|
+
r !== "root" && (n = e.maximize().region);
|
|
3372
|
+
var i = be[n || ""] || be[r || ""] || be["".concat(r, "-001")] || be["001"];
|
|
3359
3373
|
return i[0];
|
|
3360
3374
|
}
|
|
3361
|
-
var
|
|
3375
|
+
var Ge, ci = new RegExp("^".concat(mr.source, "*")), fi = new RegExp("".concat(mr.source, "*$"));
|
|
3362
3376
|
function g(e, t) {
|
|
3363
3377
|
return { start: e, end: t };
|
|
3364
3378
|
}
|
|
3365
|
-
var
|
|
3379
|
+
var pi = !!String.prototype.startsWith && "_a".startsWith("a", 1), di = !!String.fromCodePoint, mi = !!Object.fromEntries, bi = !!String.prototype.codePointAt, gi = !!String.prototype.trimStart, yi = !!String.prototype.trimEnd, vi = !!Number.isSafeInteger, _i = vi ? Number.isSafeInteger : function(e) {
|
|
3366
3380
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3367
|
-
},
|
|
3381
|
+
}, Je = !0;
|
|
3368
3382
|
try {
|
|
3369
|
-
var
|
|
3370
|
-
|
|
3383
|
+
var Ei = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3384
|
+
Je = ((Ge = Ei.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
|
|
3371
3385
|
} catch (e) {
|
|
3372
|
-
|
|
3386
|
+
Je = !1;
|
|
3373
3387
|
}
|
|
3374
|
-
var
|
|
3388
|
+
var Pt = pi ? (
|
|
3375
3389
|
// Native
|
|
3376
|
-
function(t,
|
|
3377
|
-
return t.startsWith(
|
|
3390
|
+
function(t, r, n) {
|
|
3391
|
+
return t.startsWith(r, n);
|
|
3378
3392
|
}
|
|
3379
3393
|
) : (
|
|
3380
3394
|
// For IE11
|
|
3381
|
-
function(t,
|
|
3382
|
-
return t.slice(
|
|
3395
|
+
function(t, r, n) {
|
|
3396
|
+
return t.slice(n, n + r.length) === r;
|
|
3383
3397
|
}
|
|
3384
|
-
),
|
|
3398
|
+
), Ye = di ? String.fromCodePoint : (
|
|
3385
3399
|
// IE11
|
|
3386
3400
|
function() {
|
|
3387
|
-
for (var t = [],
|
|
3388
|
-
t[
|
|
3389
|
-
for (var
|
|
3401
|
+
for (var t = [], r = 0; r < arguments.length; r++)
|
|
3402
|
+
t[r] = arguments[r];
|
|
3403
|
+
for (var n = "", i = t.length, o = 0, s; i > o; ) {
|
|
3390
3404
|
if (s = t[o++], s > 1114111)
|
|
3391
3405
|
throw RangeError(s + " is not a valid code point");
|
|
3392
|
-
|
|
3406
|
+
n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
|
|
3393
3407
|
}
|
|
3394
|
-
return
|
|
3408
|
+
return n;
|
|
3395
3409
|
}
|
|
3396
|
-
),
|
|
3410
|
+
), Ot = (
|
|
3397
3411
|
// native
|
|
3398
|
-
|
|
3412
|
+
mi ? Object.fromEntries : (
|
|
3399
3413
|
// Ponyfill
|
|
3400
3414
|
function(t) {
|
|
3401
|
-
for (var
|
|
3402
|
-
var o = i[
|
|
3403
|
-
|
|
3415
|
+
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
3416
|
+
var o = i[n], s = o[0], a = o[1];
|
|
3417
|
+
r[s] = a;
|
|
3404
3418
|
}
|
|
3405
|
-
return
|
|
3419
|
+
return r;
|
|
3406
3420
|
}
|
|
3407
3421
|
)
|
|
3408
|
-
),
|
|
3422
|
+
), vr = bi ? (
|
|
3409
3423
|
// Native
|
|
3410
|
-
function(t,
|
|
3411
|
-
return t.codePointAt(
|
|
3424
|
+
function(t, r) {
|
|
3425
|
+
return t.codePointAt(r);
|
|
3412
3426
|
}
|
|
3413
3427
|
) : (
|
|
3414
3428
|
// IE 11
|
|
3415
|
-
function(t,
|
|
3416
|
-
var
|
|
3417
|
-
if (!(
|
|
3418
|
-
var i = t.charCodeAt(
|
|
3419
|
-
return i < 55296 || i > 56319 ||
|
|
3429
|
+
function(t, r) {
|
|
3430
|
+
var n = t.length;
|
|
3431
|
+
if (!(r < 0 || r >= n)) {
|
|
3432
|
+
var i = t.charCodeAt(r), o;
|
|
3433
|
+
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3420
3434
|
}
|
|
3421
3435
|
}
|
|
3422
|
-
),
|
|
3436
|
+
), xi = gi ? (
|
|
3423
3437
|
// Native
|
|
3424
3438
|
function(t) {
|
|
3425
3439
|
return t.trimStart();
|
|
@@ -3427,9 +3441,9 @@ var Bt = fi ? (
|
|
|
3427
3441
|
) : (
|
|
3428
3442
|
// Ponyfill
|
|
3429
3443
|
function(t) {
|
|
3430
|
-
return t.replace(
|
|
3444
|
+
return t.replace(ci, "");
|
|
3431
3445
|
}
|
|
3432
|
-
),
|
|
3446
|
+
), Si = yi ? (
|
|
3433
3447
|
// Native
|
|
3434
3448
|
function(t) {
|
|
3435
3449
|
return t.trimEnd();
|
|
@@ -3437,69 +3451,69 @@ var Bt = fi ? (
|
|
|
3437
3451
|
) : (
|
|
3438
3452
|
// Ponyfill
|
|
3439
3453
|
function(t) {
|
|
3440
|
-
return t.replace(
|
|
3454
|
+
return t.replace(fi, "");
|
|
3441
3455
|
}
|
|
3442
3456
|
);
|
|
3443
|
-
function
|
|
3457
|
+
function _r(e, t) {
|
|
3444
3458
|
return new RegExp(e, t);
|
|
3445
3459
|
}
|
|
3446
|
-
var
|
|
3447
|
-
if (
|
|
3448
|
-
var
|
|
3449
|
-
|
|
3450
|
-
var
|
|
3451
|
-
|
|
3452
|
-
var i =
|
|
3453
|
-
return (
|
|
3460
|
+
var Ke;
|
|
3461
|
+
if (Je) {
|
|
3462
|
+
var It = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3463
|
+
Ke = function(t, r) {
|
|
3464
|
+
var n;
|
|
3465
|
+
It.lastIndex = r;
|
|
3466
|
+
var i = It.exec(t);
|
|
3467
|
+
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3454
3468
|
};
|
|
3455
3469
|
} else
|
|
3456
|
-
|
|
3457
|
-
for (var
|
|
3458
|
-
var i =
|
|
3459
|
-
if (i === void 0 ||
|
|
3470
|
+
Ke = function(t, r) {
|
|
3471
|
+
for (var n = []; ; ) {
|
|
3472
|
+
var i = vr(t, r);
|
|
3473
|
+
if (i === void 0 || Er(i) || Bi(i))
|
|
3460
3474
|
break;
|
|
3461
|
-
|
|
3475
|
+
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3462
3476
|
}
|
|
3463
|
-
return
|
|
3477
|
+
return Ye.apply(void 0, n);
|
|
3464
3478
|
};
|
|
3465
|
-
var
|
|
3479
|
+
var Ti = (
|
|
3466
3480
|
/** @class */
|
|
3467
3481
|
function() {
|
|
3468
|
-
function e(t,
|
|
3469
|
-
|
|
3482
|
+
function e(t, r) {
|
|
3483
|
+
r === void 0 && (r = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!r.ignoreTag, this.locale = r.locale, this.requiresOtherClause = !!r.requiresOtherClause, this.shouldParseSkeletons = !!r.shouldParseSkeletons;
|
|
3470
3484
|
}
|
|
3471
3485
|
return e.prototype.parse = function() {
|
|
3472
3486
|
if (this.offset() !== 0)
|
|
3473
3487
|
throw Error("parser can only be used once");
|
|
3474
3488
|
return this.parseMessage(0, "", !1);
|
|
3475
|
-
}, e.prototype.parseMessage = function(t,
|
|
3489
|
+
}, e.prototype.parseMessage = function(t, r, n) {
|
|
3476
3490
|
for (var i = []; !this.isEOF(); ) {
|
|
3477
3491
|
var o = this.char();
|
|
3478
3492
|
if (o === 123) {
|
|
3479
|
-
var s = this.parseArgument(t,
|
|
3493
|
+
var s = this.parseArgument(t, n);
|
|
3480
3494
|
if (s.err)
|
|
3481
3495
|
return s;
|
|
3482
3496
|
i.push(s.val);
|
|
3483
3497
|
} else {
|
|
3484
3498
|
if (o === 125 && t > 0)
|
|
3485
3499
|
break;
|
|
3486
|
-
if (o === 35 && (
|
|
3500
|
+
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3487
3501
|
var a = this.clonePosition();
|
|
3488
3502
|
this.bump(), i.push({
|
|
3489
|
-
type:
|
|
3503
|
+
type: _.pound,
|
|
3490
3504
|
location: g(a, this.clonePosition())
|
|
3491
3505
|
});
|
|
3492
3506
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3493
|
-
if (
|
|
3507
|
+
if (n)
|
|
3494
3508
|
break;
|
|
3495
3509
|
return this.error(b.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
|
|
3496
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3497
|
-
var s = this.parseTag(t,
|
|
3510
|
+
} else if (o === 60 && !this.ignoreTag && et(this.peek() || 0)) {
|
|
3511
|
+
var s = this.parseTag(t, r);
|
|
3498
3512
|
if (s.err)
|
|
3499
3513
|
return s;
|
|
3500
3514
|
i.push(s.val);
|
|
3501
3515
|
} else {
|
|
3502
|
-
var s = this.parseLiteral(t,
|
|
3516
|
+
var s = this.parseLiteral(t, r);
|
|
3503
3517
|
if (s.err)
|
|
3504
3518
|
return s;
|
|
3505
3519
|
i.push(s.val);
|
|
@@ -3507,54 +3521,54 @@ var Ei = (
|
|
|
3507
3521
|
}
|
|
3508
3522
|
}
|
|
3509
3523
|
return { val: i, err: null };
|
|
3510
|
-
}, e.prototype.parseTag = function(t,
|
|
3511
|
-
var
|
|
3524
|
+
}, e.prototype.parseTag = function(t, r) {
|
|
3525
|
+
var n = this.clonePosition();
|
|
3512
3526
|
this.bump();
|
|
3513
3527
|
var i = this.parseTagName();
|
|
3514
3528
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3515
3529
|
return {
|
|
3516
3530
|
val: {
|
|
3517
|
-
type:
|
|
3531
|
+
type: _.literal,
|
|
3518
3532
|
value: "<".concat(i, "/>"),
|
|
3519
|
-
location: g(
|
|
3533
|
+
location: g(n, this.clonePosition())
|
|
3520
3534
|
},
|
|
3521
3535
|
err: null
|
|
3522
3536
|
};
|
|
3523
3537
|
if (this.bumpIf(">")) {
|
|
3524
|
-
var o = this.parseMessage(t + 1,
|
|
3538
|
+
var o = this.parseMessage(t + 1, r, !0);
|
|
3525
3539
|
if (o.err)
|
|
3526
3540
|
return o;
|
|
3527
3541
|
var s = o.val, a = this.clonePosition();
|
|
3528
3542
|
if (this.bumpIf("</")) {
|
|
3529
|
-
if (this.isEOF() || !
|
|
3543
|
+
if (this.isEOF() || !et(this.char()))
|
|
3530
3544
|
return this.error(b.INVALID_TAG, g(a, this.clonePosition()));
|
|
3531
3545
|
var u = this.clonePosition(), h = this.parseTagName();
|
|
3532
3546
|
return i !== h ? this.error(b.UNMATCHED_CLOSING_TAG, g(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3533
3547
|
val: {
|
|
3534
|
-
type:
|
|
3548
|
+
type: _.tag,
|
|
3535
3549
|
value: i,
|
|
3536
3550
|
children: s,
|
|
3537
|
-
location: g(
|
|
3551
|
+
location: g(n, this.clonePosition())
|
|
3538
3552
|
},
|
|
3539
3553
|
err: null
|
|
3540
3554
|
} : this.error(b.INVALID_TAG, g(a, this.clonePosition())));
|
|
3541
3555
|
} else
|
|
3542
|
-
return this.error(b.UNCLOSED_TAG, g(
|
|
3556
|
+
return this.error(b.UNCLOSED_TAG, g(n, this.clonePosition()));
|
|
3543
3557
|
} else
|
|
3544
|
-
return this.error(b.INVALID_TAG, g(
|
|
3558
|
+
return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
|
|
3545
3559
|
}, e.prototype.parseTagName = function() {
|
|
3546
3560
|
var t = this.offset();
|
|
3547
|
-
for (this.bump(); !this.isEOF() &&
|
|
3561
|
+
for (this.bump(); !this.isEOF() && Hi(this.char()); )
|
|
3548
3562
|
this.bump();
|
|
3549
3563
|
return this.message.slice(t, this.offset());
|
|
3550
|
-
}, e.prototype.parseLiteral = function(t,
|
|
3551
|
-
for (var
|
|
3552
|
-
var o = this.tryParseQuote(
|
|
3564
|
+
}, e.prototype.parseLiteral = function(t, r) {
|
|
3565
|
+
for (var n = this.clonePosition(), i = ""; ; ) {
|
|
3566
|
+
var o = this.tryParseQuote(r);
|
|
3553
3567
|
if (o) {
|
|
3554
3568
|
i += o;
|
|
3555
3569
|
continue;
|
|
3556
3570
|
}
|
|
3557
|
-
var s = this.tryParseUnquoted(t,
|
|
3571
|
+
var s = this.tryParseUnquoted(t, r);
|
|
3558
3572
|
if (s) {
|
|
3559
3573
|
i += s;
|
|
3560
3574
|
continue;
|
|
@@ -3566,14 +3580,14 @@ var Ei = (
|
|
|
3566
3580
|
}
|
|
3567
3581
|
break;
|
|
3568
3582
|
}
|
|
3569
|
-
var u = g(
|
|
3583
|
+
var u = g(n, this.clonePosition());
|
|
3570
3584
|
return {
|
|
3571
|
-
val: { type:
|
|
3585
|
+
val: { type: _.literal, value: i, location: u },
|
|
3572
3586
|
err: null
|
|
3573
3587
|
};
|
|
3574
3588
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3575
3589
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3576
|
-
!
|
|
3590
|
+
!wi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3577
3591
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3578
3592
|
if (this.isEOF() || this.char() !== 39)
|
|
3579
3593
|
return null;
|
|
@@ -3593,59 +3607,59 @@ var Ei = (
|
|
|
3593
3607
|
return null;
|
|
3594
3608
|
}
|
|
3595
3609
|
this.bump();
|
|
3596
|
-
var
|
|
3610
|
+
var r = [this.char()];
|
|
3597
3611
|
for (this.bump(); !this.isEOF(); ) {
|
|
3598
|
-
var
|
|
3599
|
-
if (
|
|
3612
|
+
var n = this.char();
|
|
3613
|
+
if (n === 39)
|
|
3600
3614
|
if (this.peek() === 39)
|
|
3601
|
-
|
|
3615
|
+
r.push(39), this.bump();
|
|
3602
3616
|
else {
|
|
3603
3617
|
this.bump();
|
|
3604
3618
|
break;
|
|
3605
3619
|
}
|
|
3606
3620
|
else
|
|
3607
|
-
|
|
3621
|
+
r.push(n);
|
|
3608
3622
|
this.bump();
|
|
3609
3623
|
}
|
|
3610
|
-
return
|
|
3611
|
-
}, e.prototype.tryParseUnquoted = function(t,
|
|
3624
|
+
return Ye.apply(void 0, r);
|
|
3625
|
+
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3612
3626
|
if (this.isEOF())
|
|
3613
3627
|
return null;
|
|
3614
|
-
var
|
|
3615
|
-
return
|
|
3616
|
-
}, e.prototype.parseArgument = function(t,
|
|
3617
|
-
var
|
|
3628
|
+
var n = this.char();
|
|
3629
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ye(n));
|
|
3630
|
+
}, e.prototype.parseArgument = function(t, r) {
|
|
3631
|
+
var n = this.clonePosition();
|
|
3618
3632
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3619
|
-
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(
|
|
3633
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
|
|
3620
3634
|
if (this.char() === 125)
|
|
3621
|
-
return this.bump(), this.error(b.EMPTY_ARGUMENT, g(
|
|
3635
|
+
return this.bump(), this.error(b.EMPTY_ARGUMENT, g(n, this.clonePosition()));
|
|
3622
3636
|
var i = this.parseIdentifierIfPossible().value;
|
|
3623
3637
|
if (!i)
|
|
3624
|
-
return this.error(b.MALFORMED_ARGUMENT, g(
|
|
3638
|
+
return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
|
3625
3639
|
if (this.bumpSpace(), this.isEOF())
|
|
3626
|
-
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(
|
|
3640
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
|
|
3627
3641
|
switch (this.char()) {
|
|
3628
3642
|
case 125:
|
|
3629
3643
|
return this.bump(), {
|
|
3630
3644
|
val: {
|
|
3631
|
-
type:
|
|
3645
|
+
type: _.argument,
|
|
3632
3646
|
// value does not include the opening and closing braces.
|
|
3633
3647
|
value: i,
|
|
3634
|
-
location: g(
|
|
3648
|
+
location: g(n, this.clonePosition())
|
|
3635
3649
|
},
|
|
3636
3650
|
err: null
|
|
3637
3651
|
};
|
|
3638
3652
|
case 44:
|
|
3639
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(
|
|
3653
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3640
3654
|
default:
|
|
3641
|
-
return this.error(b.MALFORMED_ARGUMENT, g(
|
|
3655
|
+
return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
|
3642
3656
|
}
|
|
3643
3657
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3644
|
-
var t = this.clonePosition(),
|
|
3658
|
+
var t = this.clonePosition(), r = this.offset(), n = Ke(this.message, r), i = r + n.length;
|
|
3645
3659
|
this.bumpTo(i);
|
|
3646
3660
|
var o = this.clonePosition(), s = g(t, o);
|
|
3647
|
-
return { value:
|
|
3648
|
-
}, e.prototype.parseArgumentOptions = function(t,
|
|
3661
|
+
return { value: n, location: s };
|
|
3662
|
+
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3649
3663
|
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
|
|
3650
3664
|
switch (a) {
|
|
3651
3665
|
case "":
|
|
@@ -3657,48 +3671,48 @@ var Ei = (
|
|
|
3657
3671
|
var h = null;
|
|
3658
3672
|
if (this.bumpIf(",")) {
|
|
3659
3673
|
this.bumpSpace();
|
|
3660
|
-
var l = this.clonePosition(),
|
|
3661
|
-
if (
|
|
3662
|
-
return
|
|
3663
|
-
var
|
|
3664
|
-
if (
|
|
3674
|
+
var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3675
|
+
if (f.err)
|
|
3676
|
+
return f;
|
|
3677
|
+
var c = Si(f.val);
|
|
3678
|
+
if (c.length === 0)
|
|
3665
3679
|
return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
|
3666
|
-
var
|
|
3667
|
-
h = { style:
|
|
3680
|
+
var d = g(l, this.clonePosition());
|
|
3681
|
+
h = { style: c, styleLocation: d };
|
|
3668
3682
|
}
|
|
3669
|
-
var
|
|
3670
|
-
if (
|
|
3671
|
-
return
|
|
3683
|
+
var p = this.tryParseArgumentClose(i);
|
|
3684
|
+
if (p.err)
|
|
3685
|
+
return p;
|
|
3672
3686
|
var m = g(i, this.clonePosition());
|
|
3673
|
-
if (h &&
|
|
3674
|
-
var
|
|
3687
|
+
if (h && Pt(h == null ? void 0 : h.style, "::", 0)) {
|
|
3688
|
+
var E = xi(h.style.slice(2));
|
|
3675
3689
|
if (a === "number") {
|
|
3676
|
-
var
|
|
3677
|
-
return
|
|
3678
|
-
val: { type:
|
|
3690
|
+
var f = this.parseNumberSkeletonFromString(E, h.styleLocation);
|
|
3691
|
+
return f.err ? f : {
|
|
3692
|
+
val: { type: _.number, value: n, location: m, style: f.val },
|
|
3679
3693
|
err: null
|
|
3680
3694
|
};
|
|
3681
3695
|
} else {
|
|
3682
|
-
if (
|
|
3696
|
+
if (E.length === 0)
|
|
3683
3697
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
|
|
3684
|
-
var w =
|
|
3685
|
-
this.locale && (w =
|
|
3686
|
-
var
|
|
3698
|
+
var w = E;
|
|
3699
|
+
this.locale && (w = hi(E, this.locale));
|
|
3700
|
+
var c = {
|
|
3687
3701
|
type: J.dateTime,
|
|
3688
3702
|
pattern: w,
|
|
3689
3703
|
location: h.styleLocation,
|
|
3690
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3691
|
-
}, O = a === "date" ?
|
|
3704
|
+
parsedOptions: this.shouldParseSkeletons ? ri(w) : {}
|
|
3705
|
+
}, O = a === "date" ? _.date : _.time;
|
|
3692
3706
|
return {
|
|
3693
|
-
val: { type: O, value:
|
|
3707
|
+
val: { type: O, value: n, location: m, style: c },
|
|
3694
3708
|
err: null
|
|
3695
3709
|
};
|
|
3696
3710
|
}
|
|
3697
3711
|
}
|
|
3698
3712
|
return {
|
|
3699
3713
|
val: {
|
|
3700
|
-
type: a === "number" ?
|
|
3701
|
-
value:
|
|
3714
|
+
type: a === "number" ? _.number : a === "date" ? _.date : _.time,
|
|
3715
|
+
value: n,
|
|
3702
3716
|
location: m,
|
|
3703
3717
|
style: (o = h == null ? void 0 : h.style) !== null && o !== void 0 ? o : null
|
|
3704
3718
|
},
|
|
@@ -3708,43 +3722,43 @@ var Ei = (
|
|
|
3708
3722
|
case "plural":
|
|
3709
3723
|
case "selectordinal":
|
|
3710
3724
|
case "select": {
|
|
3711
|
-
var
|
|
3725
|
+
var x = this.clonePosition();
|
|
3712
3726
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3713
|
-
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(
|
|
3727
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(x, y({}, x)));
|
|
3714
3728
|
this.bumpSpace();
|
|
3715
3729
|
var I = this.parseIdentifierIfPossible(), H = 0;
|
|
3716
3730
|
if (a !== "select" && I.value === "offset") {
|
|
3717
3731
|
if (!this.bumpIf(":"))
|
|
3718
3732
|
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
|
|
3719
3733
|
this.bumpSpace();
|
|
3720
|
-
var
|
|
3721
|
-
if (
|
|
3722
|
-
return
|
|
3723
|
-
this.bumpSpace(), I = this.parseIdentifierIfPossible(), H =
|
|
3734
|
+
var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3735
|
+
if (f.err)
|
|
3736
|
+
return f;
|
|
3737
|
+
this.bumpSpace(), I = this.parseIdentifierIfPossible(), H = f.val;
|
|
3724
3738
|
}
|
|
3725
|
-
var R = this.tryParsePluralOrSelectOptions(t, a,
|
|
3739
|
+
var R = this.tryParsePluralOrSelectOptions(t, a, r, I);
|
|
3726
3740
|
if (R.err)
|
|
3727
3741
|
return R;
|
|
3728
|
-
var
|
|
3729
|
-
if (
|
|
3730
|
-
return
|
|
3731
|
-
var
|
|
3742
|
+
var p = this.tryParseArgumentClose(i);
|
|
3743
|
+
if (p.err)
|
|
3744
|
+
return p;
|
|
3745
|
+
var pe = g(i, this.clonePosition());
|
|
3732
3746
|
return a === "select" ? {
|
|
3733
3747
|
val: {
|
|
3734
|
-
type:
|
|
3735
|
-
value:
|
|
3736
|
-
options:
|
|
3737
|
-
location:
|
|
3748
|
+
type: _.select,
|
|
3749
|
+
value: n,
|
|
3750
|
+
options: Ot(R.val),
|
|
3751
|
+
location: pe
|
|
3738
3752
|
},
|
|
3739
3753
|
err: null
|
|
3740
3754
|
} : {
|
|
3741
3755
|
val: {
|
|
3742
|
-
type:
|
|
3743
|
-
value:
|
|
3744
|
-
options:
|
|
3756
|
+
type: _.plural,
|
|
3757
|
+
value: n,
|
|
3758
|
+
options: Ot(R.val),
|
|
3745
3759
|
offset: H,
|
|
3746
3760
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3747
|
-
location:
|
|
3761
|
+
location: pe
|
|
3748
3762
|
},
|
|
3749
3763
|
err: null
|
|
3750
3764
|
};
|
|
@@ -3755,9 +3769,9 @@ var Ei = (
|
|
|
3755
3769
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3756
3770
|
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3757
3771
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3758
|
-
for (var t = 0,
|
|
3759
|
-
var
|
|
3760
|
-
switch (
|
|
3772
|
+
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3773
|
+
var n = this.char();
|
|
3774
|
+
switch (n) {
|
|
3761
3775
|
case 39: {
|
|
3762
3776
|
this.bump();
|
|
3763
3777
|
var i = this.clonePosition();
|
|
@@ -3775,7 +3789,7 @@ var Ei = (
|
|
|
3775
3789
|
t -= 1;
|
|
3776
3790
|
else
|
|
3777
3791
|
return {
|
|
3778
|
-
val: this.message.slice(
|
|
3792
|
+
val: this.message.slice(r.offset, this.offset()),
|
|
3779
3793
|
err: null
|
|
3780
3794
|
};
|
|
3781
3795
|
break;
|
|
@@ -3786,61 +3800,61 @@ var Ei = (
|
|
|
3786
3800
|
}
|
|
3787
3801
|
}
|
|
3788
3802
|
return {
|
|
3789
|
-
val: this.message.slice(
|
|
3803
|
+
val: this.message.slice(r.offset, this.offset()),
|
|
3790
3804
|
err: null
|
|
3791
3805
|
};
|
|
3792
|
-
}, e.prototype.parseNumberSkeletonFromString = function(t,
|
|
3793
|
-
var
|
|
3806
|
+
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3807
|
+
var n = [];
|
|
3794
3808
|
try {
|
|
3795
|
-
|
|
3809
|
+
n = ii(t);
|
|
3796
3810
|
} catch (i) {
|
|
3797
|
-
return this.error(b.INVALID_NUMBER_SKELETON,
|
|
3811
|
+
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3798
3812
|
}
|
|
3799
3813
|
return {
|
|
3800
3814
|
val: {
|
|
3801
3815
|
type: J.number,
|
|
3802
|
-
tokens:
|
|
3803
|
-
location:
|
|
3804
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3816
|
+
tokens: n,
|
|
3817
|
+
location: r,
|
|
3818
|
+
parsedOptions: this.shouldParseSkeletons ? ui(n) : {}
|
|
3805
3819
|
},
|
|
3806
3820
|
err: null
|
|
3807
3821
|
};
|
|
3808
|
-
}, e.prototype.tryParsePluralOrSelectOptions = function(t,
|
|
3822
|
+
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3809
3823
|
for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), h = i.value, l = i.location; ; ) {
|
|
3810
3824
|
if (h.length === 0) {
|
|
3811
|
-
var
|
|
3812
|
-
if (
|
|
3813
|
-
var
|
|
3814
|
-
if (
|
|
3815
|
-
return
|
|
3816
|
-
l = g(
|
|
3825
|
+
var f = this.clonePosition();
|
|
3826
|
+
if (r !== "select" && this.bumpIf("=")) {
|
|
3827
|
+
var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3828
|
+
if (c.err)
|
|
3829
|
+
return c;
|
|
3830
|
+
l = g(f, this.clonePosition()), h = this.message.slice(f.offset, this.offset());
|
|
3817
3831
|
} else
|
|
3818
3832
|
break;
|
|
3819
3833
|
}
|
|
3820
3834
|
if (u.has(h))
|
|
3821
|
-
return this.error(
|
|
3835
|
+
return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
3822
3836
|
h === "other" && (s = !0), this.bumpSpace();
|
|
3823
|
-
var
|
|
3837
|
+
var d = this.clonePosition();
|
|
3824
3838
|
if (!this.bumpIf("{"))
|
|
3825
|
-
return this.error(
|
|
3826
|
-
var
|
|
3827
|
-
if (
|
|
3828
|
-
return
|
|
3829
|
-
var m = this.tryParseArgumentClose(
|
|
3839
|
+
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
|
|
3840
|
+
var p = this.parseMessage(t + 1, r, n);
|
|
3841
|
+
if (p.err)
|
|
3842
|
+
return p;
|
|
3843
|
+
var m = this.tryParseArgumentClose(d);
|
|
3830
3844
|
if (m.err)
|
|
3831
3845
|
return m;
|
|
3832
3846
|
a.push([
|
|
3833
3847
|
h,
|
|
3834
3848
|
{
|
|
3835
|
-
value:
|
|
3836
|
-
location: g(
|
|
3849
|
+
value: p.val,
|
|
3850
|
+
location: g(d, this.clonePosition())
|
|
3837
3851
|
}
|
|
3838
3852
|
]), u.add(h), this.bumpSpace(), o = this.parseIdentifierIfPossible(), h = o.value, l = o.location;
|
|
3839
3853
|
}
|
|
3840
|
-
return a.length === 0 ? this.error(
|
|
3841
|
-
}, e.prototype.tryParseDecimalInteger = function(t,
|
|
3842
|
-
var
|
|
3843
|
-
this.bumpIf("+") || this.bumpIf("-") && (
|
|
3854
|
+
return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3855
|
+
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3856
|
+
var n = 1, i = this.clonePosition();
|
|
3857
|
+
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
3844
3858
|
for (var o = !1, s = 0; !this.isEOF(); ) {
|
|
3845
3859
|
var a = this.char();
|
|
3846
3860
|
if (a >= 48 && a <= 57)
|
|
@@ -3849,7 +3863,7 @@ var Ei = (
|
|
|
3849
3863
|
break;
|
|
3850
3864
|
}
|
|
3851
3865
|
var u = g(i, this.clonePosition());
|
|
3852
|
-
return o ? (s *=
|
|
3866
|
+
return o ? (s *= n, _i(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
|
|
3853
3867
|
}, e.prototype.offset = function() {
|
|
3854
3868
|
return this.position.offset;
|
|
3855
3869
|
}, e.prototype.isEOF = function() {
|
|
@@ -3864,17 +3878,17 @@ var Ei = (
|
|
|
3864
3878
|
var t = this.position.offset;
|
|
3865
3879
|
if (t >= this.message.length)
|
|
3866
3880
|
throw Error("out of bound");
|
|
3867
|
-
var
|
|
3868
|
-
if (
|
|
3881
|
+
var r = vr(this.message, t);
|
|
3882
|
+
if (r === void 0)
|
|
3869
3883
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3870
|
-
return
|
|
3871
|
-
}, e.prototype.error = function(t,
|
|
3884
|
+
return r;
|
|
3885
|
+
}, e.prototype.error = function(t, r) {
|
|
3872
3886
|
return {
|
|
3873
3887
|
val: null,
|
|
3874
3888
|
err: {
|
|
3875
3889
|
kind: t,
|
|
3876
3890
|
message: this.message,
|
|
3877
|
-
location:
|
|
3891
|
+
location: r
|
|
3878
3892
|
}
|
|
3879
3893
|
};
|
|
3880
3894
|
}, e.prototype.bump = function() {
|
|
@@ -3883,70 +3897,70 @@ var Ei = (
|
|
|
3883
3897
|
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);
|
|
3884
3898
|
}
|
|
3885
3899
|
}, e.prototype.bumpIf = function(t) {
|
|
3886
|
-
if (
|
|
3887
|
-
for (var
|
|
3900
|
+
if (Pt(this.message, t, this.offset())) {
|
|
3901
|
+
for (var r = 0; r < t.length; r++)
|
|
3888
3902
|
this.bump();
|
|
3889
3903
|
return !0;
|
|
3890
3904
|
}
|
|
3891
3905
|
return !1;
|
|
3892
3906
|
}, e.prototype.bumpUntil = function(t) {
|
|
3893
|
-
var
|
|
3894
|
-
return
|
|
3907
|
+
var r = this.offset(), n = this.message.indexOf(t, r);
|
|
3908
|
+
return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
|
|
3895
3909
|
}, e.prototype.bumpTo = function(t) {
|
|
3896
3910
|
if (this.offset() > t)
|
|
3897
3911
|
throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
|
|
3898
3912
|
for (t = Math.min(t, this.message.length); ; ) {
|
|
3899
|
-
var
|
|
3900
|
-
if (
|
|
3913
|
+
var r = this.offset();
|
|
3914
|
+
if (r === t)
|
|
3901
3915
|
break;
|
|
3902
|
-
if (
|
|
3916
|
+
if (r > t)
|
|
3903
3917
|
throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3904
3918
|
if (this.bump(), this.isEOF())
|
|
3905
3919
|
break;
|
|
3906
3920
|
}
|
|
3907
3921
|
}, e.prototype.bumpSpace = function() {
|
|
3908
|
-
for (; !this.isEOF() &&
|
|
3922
|
+
for (; !this.isEOF() && Er(this.char()); )
|
|
3909
3923
|
this.bump();
|
|
3910
3924
|
}, e.prototype.peek = function() {
|
|
3911
3925
|
if (this.isEOF())
|
|
3912
3926
|
return null;
|
|
3913
|
-
var t = this.char(),
|
|
3914
|
-
return
|
|
3927
|
+
var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
|
|
3928
|
+
return n != null ? n : null;
|
|
3915
3929
|
}, e;
|
|
3916
3930
|
}()
|
|
3917
3931
|
);
|
|
3918
|
-
function
|
|
3932
|
+
function et(e) {
|
|
3919
3933
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3920
3934
|
}
|
|
3921
|
-
function
|
|
3922
|
-
return
|
|
3935
|
+
function wi(e) {
|
|
3936
|
+
return et(e) || e === 47;
|
|
3923
3937
|
}
|
|
3924
|
-
function
|
|
3938
|
+
function Hi(e) {
|
|
3925
3939
|
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;
|
|
3926
3940
|
}
|
|
3927
|
-
function
|
|
3941
|
+
function Er(e) {
|
|
3928
3942
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3929
3943
|
}
|
|
3930
|
-
function
|
|
3944
|
+
function Bi(e) {
|
|
3931
3945
|
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;
|
|
3932
3946
|
}
|
|
3933
|
-
function
|
|
3947
|
+
function tt(e) {
|
|
3934
3948
|
e.forEach(function(t) {
|
|
3935
|
-
if (delete t.location,
|
|
3936
|
-
for (var
|
|
3937
|
-
delete t.options[
|
|
3949
|
+
if (delete t.location, cr(t) || fr(t))
|
|
3950
|
+
for (var r in t.options)
|
|
3951
|
+
delete t.options[r].location, tt(t.options[r].value);
|
|
3938
3952
|
else
|
|
3939
|
-
|
|
3953
|
+
ur(t) && dr(t.style) || (hr(t) || lr(t)) && Qe(t.style) ? delete t.style.location : pr(t) && tt(t.children);
|
|
3940
3954
|
});
|
|
3941
3955
|
}
|
|
3942
|
-
function
|
|
3956
|
+
function Ai(e, t) {
|
|
3943
3957
|
t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3944
|
-
var
|
|
3945
|
-
if (
|
|
3946
|
-
var
|
|
3947
|
-
throw
|
|
3958
|
+
var r = new Ti(e, t).parse();
|
|
3959
|
+
if (r.err) {
|
|
3960
|
+
var n = SyntaxError(b[r.err.kind]);
|
|
3961
|
+
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3948
3962
|
}
|
|
3949
|
-
return t != null && t.captureLocation ||
|
|
3963
|
+
return t != null && t.captureLocation || tt(r.val), r.val;
|
|
3950
3964
|
}
|
|
3951
3965
|
var Y;
|
|
3952
3966
|
(function(e) {
|
|
@@ -3956,38 +3970,38 @@ var Pe = (
|
|
|
3956
3970
|
/** @class */
|
|
3957
3971
|
function(e) {
|
|
3958
3972
|
$(t, e);
|
|
3959
|
-
function t(
|
|
3960
|
-
var o = e.call(this,
|
|
3961
|
-
return o.code =
|
|
3973
|
+
function t(r, n, i) {
|
|
3974
|
+
var o = e.call(this, r) || this;
|
|
3975
|
+
return o.code = n, o.originalMessage = i, o;
|
|
3962
3976
|
}
|
|
3963
3977
|
return t.prototype.toString = function() {
|
|
3964
3978
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3965
3979
|
}, t;
|
|
3966
3980
|
}(Error)
|
|
3967
|
-
),
|
|
3981
|
+
), Lt = (
|
|
3968
3982
|
/** @class */
|
|
3969
3983
|
function(e) {
|
|
3970
3984
|
$(t, e);
|
|
3971
|
-
function t(
|
|
3972
|
-
return e.call(this, 'Invalid values for "'.concat(
|
|
3985
|
+
function t(r, n, i, o) {
|
|
3986
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Y.INVALID_VALUE, o) || this;
|
|
3973
3987
|
}
|
|
3974
3988
|
return t;
|
|
3975
3989
|
}(Pe)
|
|
3976
|
-
),
|
|
3990
|
+
), Pi = (
|
|
3977
3991
|
/** @class */
|
|
3978
3992
|
function(e) {
|
|
3979
3993
|
$(t, e);
|
|
3980
|
-
function t(
|
|
3981
|
-
return e.call(this, 'Value for "'.concat(
|
|
3994
|
+
function t(r, n, i) {
|
|
3995
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Y.INVALID_VALUE, i) || this;
|
|
3982
3996
|
}
|
|
3983
3997
|
return t;
|
|
3984
3998
|
}(Pe)
|
|
3985
|
-
),
|
|
3999
|
+
), Oi = (
|
|
3986
4000
|
/** @class */
|
|
3987
4001
|
function(e) {
|
|
3988
4002
|
$(t, e);
|
|
3989
|
-
function t(
|
|
3990
|
-
return e.call(this, 'The intl string context variable "'.concat(
|
|
4003
|
+
function t(r, n) {
|
|
4004
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Y.MISSING_VALUE, n) || this;
|
|
3991
4005
|
}
|
|
3992
4006
|
return t;
|
|
3993
4007
|
}(Pe)
|
|
@@ -3995,17 +4009,17 @@ var Pe = (
|
|
|
3995
4009
|
(function(e) {
|
|
3996
4010
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3997
4011
|
})(T || (T = {}));
|
|
3998
|
-
function
|
|
3999
|
-
return e.length < 2 ? e : e.reduce(function(t,
|
|
4000
|
-
var
|
|
4001
|
-
return !
|
|
4012
|
+
function Ii(e) {
|
|
4013
|
+
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
4014
|
+
var n = t[t.length - 1];
|
|
4015
|
+
return !n || n.type !== T.literal || r.type !== T.literal ? t.push(r) : n.value += r.value, t;
|
|
4002
4016
|
}, []);
|
|
4003
4017
|
}
|
|
4004
|
-
function
|
|
4018
|
+
function Li(e) {
|
|
4005
4019
|
return typeof e == "function";
|
|
4006
4020
|
}
|
|
4007
|
-
function
|
|
4008
|
-
if (e.length === 1 &&
|
|
4021
|
+
function _e(e, t, r, n, i, o, s) {
|
|
4022
|
+
if (e.length === 1 && wt(e[0]))
|
|
4009
4023
|
return [
|
|
4010
4024
|
{
|
|
4011
4025
|
type: T.literal,
|
|
@@ -4014,60 +4028,60 @@ function ve(e, t, n, r, i, o, s) {
|
|
|
4014
4028
|
];
|
|
4015
4029
|
for (var a = [], u = 0, h = e; u < h.length; u++) {
|
|
4016
4030
|
var l = h[u];
|
|
4017
|
-
if (
|
|
4031
|
+
if (wt(l)) {
|
|
4018
4032
|
a.push({
|
|
4019
4033
|
type: T.literal,
|
|
4020
4034
|
value: l.value
|
|
4021
4035
|
});
|
|
4022
4036
|
continue;
|
|
4023
4037
|
}
|
|
4024
|
-
if (
|
|
4038
|
+
if (ei(l)) {
|
|
4025
4039
|
typeof o == "number" && a.push({
|
|
4026
4040
|
type: T.literal,
|
|
4027
|
-
value:
|
|
4041
|
+
value: r.getNumberFormat(t).format(o)
|
|
4028
4042
|
});
|
|
4029
4043
|
continue;
|
|
4030
4044
|
}
|
|
4031
|
-
var
|
|
4032
|
-
if (!(i &&
|
|
4033
|
-
throw new
|
|
4034
|
-
var
|
|
4035
|
-
if (
|
|
4036
|
-
(!
|
|
4037
|
-
type: typeof
|
|
4038
|
-
value:
|
|
4045
|
+
var f = l.value;
|
|
4046
|
+
if (!(i && f in i))
|
|
4047
|
+
throw new Oi(f, s);
|
|
4048
|
+
var c = i[f];
|
|
4049
|
+
if (Kn(l)) {
|
|
4050
|
+
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
|
4051
|
+
type: typeof c == "string" ? T.literal : T.object,
|
|
4052
|
+
value: c
|
|
4039
4053
|
});
|
|
4040
4054
|
continue;
|
|
4041
4055
|
}
|
|
4042
|
-
if (
|
|
4043
|
-
var
|
|
4056
|
+
if (hr(l)) {
|
|
4057
|
+
var d = typeof l.style == "string" ? n.date[l.style] : Qe(l.style) ? l.style.parsedOptions : void 0;
|
|
4044
4058
|
a.push({
|
|
4045
4059
|
type: T.literal,
|
|
4046
|
-
value:
|
|
4060
|
+
value: r.getDateTimeFormat(t, d).format(c)
|
|
4047
4061
|
});
|
|
4048
4062
|
continue;
|
|
4049
4063
|
}
|
|
4050
|
-
if (
|
|
4051
|
-
var
|
|
4064
|
+
if (lr(l)) {
|
|
4065
|
+
var d = typeof l.style == "string" ? n.time[l.style] : Qe(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
4052
4066
|
a.push({
|
|
4053
4067
|
type: T.literal,
|
|
4054
|
-
value:
|
|
4068
|
+
value: r.getDateTimeFormat(t, d).format(c)
|
|
4055
4069
|
});
|
|
4056
4070
|
continue;
|
|
4057
4071
|
}
|
|
4058
|
-
if (
|
|
4059
|
-
var
|
|
4060
|
-
|
|
4072
|
+
if (ur(l)) {
|
|
4073
|
+
var d = typeof l.style == "string" ? n.number[l.style] : dr(l.style) ? l.style.parsedOptions : void 0;
|
|
4074
|
+
d && d.scale && (c = c * (d.scale || 1)), a.push({
|
|
4061
4075
|
type: T.literal,
|
|
4062
|
-
value:
|
|
4076
|
+
value: r.getNumberFormat(t, d).format(c)
|
|
4063
4077
|
});
|
|
4064
4078
|
continue;
|
|
4065
4079
|
}
|
|
4066
|
-
if (
|
|
4067
|
-
var
|
|
4068
|
-
if (!
|
|
4069
|
-
throw new
|
|
4070
|
-
var w =
|
|
4080
|
+
if (pr(l)) {
|
|
4081
|
+
var p = l.children, m = l.value, E = i[m];
|
|
4082
|
+
if (!Li(E))
|
|
4083
|
+
throw new Pi(m, "function", s);
|
|
4084
|
+
var w = _e(p, t, r, n, i, o), O = E(w.map(function(H) {
|
|
4071
4085
|
return H.value;
|
|
4072
4086
|
}));
|
|
4073
4087
|
Array.isArray(O) || (O = [O]), a.push.apply(a, O.map(function(H) {
|
|
@@ -4077,92 +4091,92 @@ function ve(e, t, n, r, i, o, s) {
|
|
|
4077
4091
|
};
|
|
4078
4092
|
}));
|
|
4079
4093
|
}
|
|
4080
|
-
if (
|
|
4081
|
-
var
|
|
4082
|
-
if (!
|
|
4083
|
-
throw new
|
|
4084
|
-
a.push.apply(a,
|
|
4094
|
+
if (cr(l)) {
|
|
4095
|
+
var x = l.options[c] || l.options.other;
|
|
4096
|
+
if (!x)
|
|
4097
|
+
throw new Lt(l.value, c, Object.keys(l.options), s);
|
|
4098
|
+
a.push.apply(a, _e(x.value, t, r, n, i));
|
|
4085
4099
|
continue;
|
|
4086
4100
|
}
|
|
4087
|
-
if (
|
|
4088
|
-
var
|
|
4089
|
-
if (!
|
|
4101
|
+
if (fr(l)) {
|
|
4102
|
+
var x = l.options["=".concat(c)];
|
|
4103
|
+
if (!x) {
|
|
4090
4104
|
if (!Intl.PluralRules)
|
|
4091
4105
|
throw new Pe(`Intl.PluralRules is not available in this environment.
|
|
4092
4106
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
4093
4107
|
`, Y.MISSING_INTL_API, s);
|
|
4094
|
-
var I =
|
|
4095
|
-
|
|
4108
|
+
var I = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
|
4109
|
+
x = l.options[I] || l.options.other;
|
|
4096
4110
|
}
|
|
4097
|
-
if (!
|
|
4098
|
-
throw new
|
|
4099
|
-
a.push.apply(a,
|
|
4111
|
+
if (!x)
|
|
4112
|
+
throw new Lt(l.value, c, Object.keys(l.options), s);
|
|
4113
|
+
a.push.apply(a, _e(x.value, t, r, n, i, c - (l.offset || 0)));
|
|
4100
4114
|
continue;
|
|
4101
4115
|
}
|
|
4102
4116
|
}
|
|
4103
|
-
return
|
|
4117
|
+
return Ii(a);
|
|
4104
4118
|
}
|
|
4105
|
-
function
|
|
4106
|
-
return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(
|
|
4107
|
-
return n
|
|
4119
|
+
function Ni(e, t) {
|
|
4120
|
+
return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
4121
|
+
return r[n] = y(y({}, e[n]), t[n] || {}), r;
|
|
4108
4122
|
}, {})) : e;
|
|
4109
4123
|
}
|
|
4110
|
-
function
|
|
4111
|
-
return t ? Object.keys(e).reduce(function(
|
|
4112
|
-
return n
|
|
4124
|
+
function Mi(e, t) {
|
|
4125
|
+
return t ? Object.keys(e).reduce(function(r, n) {
|
|
4126
|
+
return r[n] = Ni(e[n], t[n]), r;
|
|
4113
4127
|
}, y({}, e)) : e;
|
|
4114
4128
|
}
|
|
4115
|
-
function
|
|
4129
|
+
function Fe(e) {
|
|
4116
4130
|
return {
|
|
4117
4131
|
create: function() {
|
|
4118
4132
|
return {
|
|
4119
4133
|
get: function(t) {
|
|
4120
4134
|
return e[t];
|
|
4121
4135
|
},
|
|
4122
|
-
set: function(t,
|
|
4123
|
-
e[t] =
|
|
4136
|
+
set: function(t, r) {
|
|
4137
|
+
e[t] = r;
|
|
4124
4138
|
}
|
|
4125
4139
|
};
|
|
4126
4140
|
}
|
|
4127
4141
|
};
|
|
4128
4142
|
}
|
|
4129
|
-
function
|
|
4143
|
+
function Ci(e) {
|
|
4130
4144
|
return e === void 0 && (e = {
|
|
4131
4145
|
number: {},
|
|
4132
4146
|
dateTime: {},
|
|
4133
4147
|
pluralRules: {}
|
|
4134
4148
|
}), {
|
|
4135
|
-
getNumberFormat:
|
|
4136
|
-
for (var t,
|
|
4137
|
-
n
|
|
4138
|
-
return new ((t = Intl.NumberFormat).bind.apply(t, q([void 0],
|
|
4149
|
+
getNumberFormat: Ue(function() {
|
|
4150
|
+
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4151
|
+
r[n] = arguments[n];
|
|
4152
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, q([void 0], r, !1)))();
|
|
4139
4153
|
}, {
|
|
4140
|
-
cache:
|
|
4141
|
-
strategy:
|
|
4154
|
+
cache: Fe(e.number),
|
|
4155
|
+
strategy: De.variadic
|
|
4142
4156
|
}),
|
|
4143
|
-
getDateTimeFormat:
|
|
4144
|
-
for (var t,
|
|
4145
|
-
n
|
|
4146
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t, q([void 0],
|
|
4157
|
+
getDateTimeFormat: Ue(function() {
|
|
4158
|
+
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4159
|
+
r[n] = arguments[n];
|
|
4160
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, q([void 0], r, !1)))();
|
|
4147
4161
|
}, {
|
|
4148
|
-
cache:
|
|
4149
|
-
strategy:
|
|
4162
|
+
cache: Fe(e.dateTime),
|
|
4163
|
+
strategy: De.variadic
|
|
4150
4164
|
}),
|
|
4151
|
-
getPluralRules:
|
|
4152
|
-
for (var t,
|
|
4153
|
-
n
|
|
4154
|
-
return new ((t = Intl.PluralRules).bind.apply(t, q([void 0],
|
|
4165
|
+
getPluralRules: Ue(function() {
|
|
4166
|
+
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4167
|
+
r[n] = arguments[n];
|
|
4168
|
+
return new ((t = Intl.PluralRules).bind.apply(t, q([void 0], r, !1)))();
|
|
4155
4169
|
}, {
|
|
4156
|
-
cache:
|
|
4157
|
-
strategy:
|
|
4170
|
+
cache: Fe(e.pluralRules),
|
|
4171
|
+
strategy: De.variadic
|
|
4158
4172
|
})
|
|
4159
4173
|
};
|
|
4160
4174
|
}
|
|
4161
|
-
var
|
|
4175
|
+
var $i = (
|
|
4162
4176
|
/** @class */
|
|
4163
4177
|
function() {
|
|
4164
|
-
function e(t,
|
|
4165
|
-
|
|
4178
|
+
function e(t, r, n, i) {
|
|
4179
|
+
r === void 0 && (r = e.defaultLocale);
|
|
4166
4180
|
var o = this;
|
|
4167
4181
|
if (this.formatterCache = {
|
|
4168
4182
|
number: {},
|
|
@@ -4172,12 +4186,12 @@ var Mi = (
|
|
|
4172
4186
|
var h = o.formatToParts(u);
|
|
4173
4187
|
if (h.length === 1)
|
|
4174
4188
|
return h[0].value;
|
|
4175
|
-
var l = h.reduce(function(
|
|
4176
|
-
return !
|
|
4189
|
+
var l = h.reduce(function(f, c) {
|
|
4190
|
+
return !f.length || c.type !== T.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
|
|
4177
4191
|
}, []);
|
|
4178
4192
|
return l.length <= 1 ? l[0] || "" : l;
|
|
4179
4193
|
}, this.formatToParts = function(u) {
|
|
4180
|
-
return
|
|
4194
|
+
return _e(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
|
|
4181
4195
|
}, this.resolvedOptions = function() {
|
|
4182
4196
|
var u;
|
|
4183
4197
|
return {
|
|
@@ -4185,18 +4199,18 @@ var Mi = (
|
|
|
4185
4199
|
};
|
|
4186
4200
|
}, this.getAst = function() {
|
|
4187
4201
|
return o.ast;
|
|
4188
|
-
}, this.locales =
|
|
4202
|
+
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
4189
4203
|
if (this.message = t, !e.__parse)
|
|
4190
4204
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
4191
4205
|
var s = i || {};
|
|
4192
4206
|
s.formatters;
|
|
4193
|
-
var a =
|
|
4207
|
+
var a = mn(s, ["formatters"]);
|
|
4194
4208
|
this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
|
|
4195
4209
|
} else
|
|
4196
4210
|
this.ast = t;
|
|
4197
4211
|
if (!Array.isArray(this.ast))
|
|
4198
4212
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
4199
|
-
this.formats =
|
|
4213
|
+
this.formats = Mi(e.formats, n), this.formatters = i && i.formatters || Ci(this.formatterCache);
|
|
4200
4214
|
}
|
|
4201
4215
|
return Object.defineProperty(e, "defaultLocale", {
|
|
4202
4216
|
get: function() {
|
|
@@ -4206,10 +4220,10 @@ var Mi = (
|
|
|
4206
4220
|
configurable: !0
|
|
4207
4221
|
}), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
|
|
4208
4222
|
if (typeof Intl.Locale != "undefined") {
|
|
4209
|
-
var
|
|
4210
|
-
return
|
|
4223
|
+
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
4224
|
+
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
4211
4225
|
}
|
|
4212
|
-
}, e.__parse =
|
|
4226
|
+
}, e.__parse = Ai, e.formats = {
|
|
4213
4227
|
number: {
|
|
4214
4228
|
integer: {
|
|
4215
4229
|
maximumFractionDigits: 0
|
|
@@ -4270,113 +4284,113 @@ var Mi = (
|
|
|
4270
4284
|
}, e;
|
|
4271
4285
|
}()
|
|
4272
4286
|
);
|
|
4273
|
-
function
|
|
4287
|
+
function Ri(e, t) {
|
|
4274
4288
|
if (t == null)
|
|
4275
4289
|
return;
|
|
4276
4290
|
if (t in e)
|
|
4277
4291
|
return e[t];
|
|
4278
|
-
const
|
|
4279
|
-
let
|
|
4280
|
-
for (let i = 0; i <
|
|
4281
|
-
if (typeof
|
|
4292
|
+
const r = t.split(".");
|
|
4293
|
+
let n = e;
|
|
4294
|
+
for (let i = 0; i < r.length; i++)
|
|
4295
|
+
if (typeof n == "object") {
|
|
4282
4296
|
if (i > 0) {
|
|
4283
|
-
const o =
|
|
4284
|
-
if (o in
|
|
4285
|
-
|
|
4297
|
+
const o = r.slice(i, r.length).join(".");
|
|
4298
|
+
if (o in n) {
|
|
4299
|
+
n = n[o];
|
|
4286
4300
|
break;
|
|
4287
4301
|
}
|
|
4288
4302
|
}
|
|
4289
|
-
|
|
4303
|
+
n = n[r[i]];
|
|
4290
4304
|
} else
|
|
4291
|
-
|
|
4292
|
-
return
|
|
4305
|
+
n = void 0;
|
|
4306
|
+
return n;
|
|
4293
4307
|
}
|
|
4294
|
-
const D = {},
|
|
4308
|
+
const D = {}, Ui = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), xr = (e, t) => {
|
|
4295
4309
|
if (t == null)
|
|
4296
4310
|
return;
|
|
4297
4311
|
if (t in D && e in D[t])
|
|
4298
4312
|
return D[t][e];
|
|
4299
|
-
const
|
|
4300
|
-
for (let
|
|
4301
|
-
const i = n
|
|
4313
|
+
const r = Oe(t);
|
|
4314
|
+
for (let n = 0; n < r.length; n++) {
|
|
4315
|
+
const i = r[n], o = Gi(i, e);
|
|
4302
4316
|
if (o)
|
|
4303
|
-
return
|
|
4317
|
+
return Ui(e, t, o);
|
|
4304
4318
|
}
|
|
4305
4319
|
};
|
|
4306
|
-
let
|
|
4307
|
-
const
|
|
4308
|
-
function
|
|
4309
|
-
return
|
|
4320
|
+
let ut;
|
|
4321
|
+
const fe = Ae({});
|
|
4322
|
+
function Di(e) {
|
|
4323
|
+
return ut[e] || null;
|
|
4310
4324
|
}
|
|
4311
|
-
function
|
|
4312
|
-
return e in
|
|
4325
|
+
function Sr(e) {
|
|
4326
|
+
return e in ut;
|
|
4313
4327
|
}
|
|
4314
|
-
function
|
|
4315
|
-
if (!
|
|
4328
|
+
function Gi(e, t) {
|
|
4329
|
+
if (!Sr(e))
|
|
4316
4330
|
return null;
|
|
4317
|
-
const
|
|
4318
|
-
return
|
|
4331
|
+
const r = Di(e);
|
|
4332
|
+
return Ri(r, t);
|
|
4319
4333
|
}
|
|
4320
|
-
function
|
|
4334
|
+
function Fi(e) {
|
|
4321
4335
|
if (e == null)
|
|
4322
4336
|
return;
|
|
4323
4337
|
const t = Oe(e);
|
|
4324
|
-
for (let
|
|
4325
|
-
const
|
|
4326
|
-
if (
|
|
4327
|
-
return
|
|
4338
|
+
for (let r = 0; r < t.length; r++) {
|
|
4339
|
+
const n = t[r];
|
|
4340
|
+
if (Sr(n))
|
|
4341
|
+
return n;
|
|
4328
4342
|
}
|
|
4329
4343
|
}
|
|
4330
|
-
function
|
|
4331
|
-
delete D[e],
|
|
4344
|
+
function Tr(e, ...t) {
|
|
4345
|
+
delete D[e], fe.update((r) => (r[e] = Wn.all([r[e] || {}, ...t]), r));
|
|
4332
4346
|
}
|
|
4333
4347
|
te(
|
|
4334
|
-
[
|
|
4348
|
+
[fe],
|
|
4335
4349
|
([e]) => Object.keys(e)
|
|
4336
4350
|
);
|
|
4337
|
-
|
|
4338
|
-
const
|
|
4339
|
-
function
|
|
4340
|
-
|
|
4351
|
+
fe.subscribe((e) => ut = e);
|
|
4352
|
+
const Ee = {};
|
|
4353
|
+
function ji(e, t) {
|
|
4354
|
+
Ee[e].delete(t), Ee[e].size === 0 && delete Ee[e];
|
|
4341
4355
|
}
|
|
4342
|
-
function
|
|
4343
|
-
return
|
|
4356
|
+
function wr(e) {
|
|
4357
|
+
return Ee[e];
|
|
4344
4358
|
}
|
|
4345
|
-
function
|
|
4359
|
+
function ki(e) {
|
|
4346
4360
|
return Oe(e).map((t) => {
|
|
4347
|
-
const
|
|
4348
|
-
return [t,
|
|
4361
|
+
const r = wr(t);
|
|
4362
|
+
return [t, r ? [...r] : []];
|
|
4349
4363
|
}).filter(([, t]) => t.length > 0);
|
|
4350
4364
|
}
|
|
4351
|
-
function
|
|
4365
|
+
function rt(e) {
|
|
4352
4366
|
return e == null ? !1 : Oe(e).some(
|
|
4353
4367
|
(t) => {
|
|
4354
|
-
var
|
|
4355
|
-
return (
|
|
4368
|
+
var r;
|
|
4369
|
+
return (r = wr(t)) == null ? void 0 : r.size;
|
|
4356
4370
|
}
|
|
4357
4371
|
);
|
|
4358
4372
|
}
|
|
4359
|
-
function
|
|
4373
|
+
function Vi(e, t) {
|
|
4360
4374
|
return Promise.all(
|
|
4361
|
-
t.map((
|
|
4362
|
-
).then((
|
|
4375
|
+
t.map((n) => (ji(e, n), n().then((i) => i.default || i)))
|
|
4376
|
+
).then((n) => Tr(e, ...n));
|
|
4363
4377
|
}
|
|
4364
4378
|
const oe = {};
|
|
4365
|
-
function
|
|
4366
|
-
if (!
|
|
4379
|
+
function Hr(e) {
|
|
4380
|
+
if (!rt(e))
|
|
4367
4381
|
return e in oe ? oe[e] : Promise.resolve();
|
|
4368
|
-
const t =
|
|
4382
|
+
const t = ki(e);
|
|
4369
4383
|
return oe[e] = Promise.all(
|
|
4370
4384
|
t.map(
|
|
4371
|
-
([
|
|
4385
|
+
([r, n]) => Vi(r, n)
|
|
4372
4386
|
)
|
|
4373
4387
|
).then(() => {
|
|
4374
|
-
if (
|
|
4375
|
-
return
|
|
4388
|
+
if (rt(e))
|
|
4389
|
+
return Hr(e);
|
|
4376
4390
|
delete oe[e];
|
|
4377
4391
|
}), oe[e];
|
|
4378
4392
|
}
|
|
4379
|
-
const
|
|
4393
|
+
const Xi = {
|
|
4380
4394
|
number: {
|
|
4381
4395
|
scientific: { notation: "scientific" },
|
|
4382
4396
|
engineering: { notation: "engineering" },
|
|
@@ -4405,34 +4419,34 @@ const ki = {
|
|
|
4405
4419
|
timeZoneName: "short"
|
|
4406
4420
|
}
|
|
4407
4421
|
}
|
|
4408
|
-
},
|
|
4422
|
+
}, Wi = {
|
|
4409
4423
|
fallbackLocale: null,
|
|
4410
4424
|
loadingDelay: 200,
|
|
4411
|
-
formats:
|
|
4425
|
+
formats: Xi,
|
|
4412
4426
|
warnOnMissingMessages: !0,
|
|
4413
4427
|
handleMissingMessage: void 0,
|
|
4414
4428
|
ignoreTag: !0
|
|
4415
|
-
},
|
|
4429
|
+
}, zi = Wi;
|
|
4416
4430
|
function K() {
|
|
4417
|
-
return
|
|
4418
|
-
}
|
|
4419
|
-
const
|
|
4420
|
-
var
|
|
4421
|
-
for (var
|
|
4422
|
-
|
|
4423
|
-
if (
|
|
4424
|
-
for (var
|
|
4425
|
-
|
|
4431
|
+
return zi;
|
|
4432
|
+
}
|
|
4433
|
+
const je = Ae(!1);
|
|
4434
|
+
var Zi = Object.defineProperty, qi = Object.defineProperties, Qi = Object.getOwnPropertyDescriptors, Nt = Object.getOwnPropertySymbols, Ji = Object.prototype.hasOwnProperty, Yi = Object.prototype.propertyIsEnumerable, Mt = (e, t, r) => t in e ? Zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ki = (e, t) => {
|
|
4435
|
+
for (var r in t || (t = {}))
|
|
4436
|
+
Ji.call(t, r) && Mt(e, r, t[r]);
|
|
4437
|
+
if (Nt)
|
|
4438
|
+
for (var r of Nt(t))
|
|
4439
|
+
Yi.call(t, r) && Mt(e, r, t[r]);
|
|
4426
4440
|
return e;
|
|
4427
|
-
},
|
|
4441
|
+
}, eo = (e, t) => qi(e, Qi(t));
|
|
4428
4442
|
let nt;
|
|
4429
4443
|
const we = Ae(null);
|
|
4430
|
-
function
|
|
4431
|
-
return e.split("-").map((t,
|
|
4444
|
+
function Ct(e) {
|
|
4445
|
+
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4432
4446
|
}
|
|
4433
4447
|
function Oe(e, t = K().fallbackLocale) {
|
|
4434
|
-
const
|
|
4435
|
-
return t ? [.../* @__PURE__ */ new Set([...
|
|
4448
|
+
const r = Ct(e);
|
|
4449
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Ct(t)])] : r;
|
|
4436
4450
|
}
|
|
4437
4451
|
function j() {
|
|
4438
4452
|
return nt != null ? nt : void 0;
|
|
@@ -4440,101 +4454,101 @@ function j() {
|
|
|
4440
4454
|
we.subscribe((e) => {
|
|
4441
4455
|
nt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4442
4456
|
});
|
|
4443
|
-
const
|
|
4444
|
-
if (e &&
|
|
4457
|
+
const to = (e) => {
|
|
4458
|
+
if (e && Fi(e) && rt(e)) {
|
|
4445
4459
|
const { loadingDelay: t } = K();
|
|
4446
|
-
let
|
|
4447
|
-
return typeof window != "undefined" && j() != null && t ?
|
|
4448
|
-
() =>
|
|
4460
|
+
let r;
|
|
4461
|
+
return typeof window != "undefined" && j() != null && t ? r = window.setTimeout(
|
|
4462
|
+
() => je.set(!0),
|
|
4449
4463
|
t
|
|
4450
|
-
) :
|
|
4464
|
+
) : je.set(!0), Hr(e).then(() => {
|
|
4451
4465
|
we.set(e);
|
|
4452
4466
|
}).finally(() => {
|
|
4453
|
-
clearTimeout(
|
|
4467
|
+
clearTimeout(r), je.set(!1);
|
|
4454
4468
|
});
|
|
4455
4469
|
}
|
|
4456
4470
|
return we.set(e);
|
|
4457
|
-
},
|
|
4458
|
-
set:
|
|
4471
|
+
}, re = eo(Ki({}, we), {
|
|
4472
|
+
set: to
|
|
4459
4473
|
}), Ie = (e) => {
|
|
4460
4474
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4461
|
-
return (
|
|
4462
|
-
const i = JSON.stringify(
|
|
4463
|
-
return i in t ? t[i] : t[i] = e(
|
|
4475
|
+
return (n) => {
|
|
4476
|
+
const i = JSON.stringify(n);
|
|
4477
|
+
return i in t ? t[i] : t[i] = e(n);
|
|
4464
4478
|
};
|
|
4465
4479
|
};
|
|
4466
|
-
var
|
|
4467
|
-
for (var
|
|
4468
|
-
|
|
4480
|
+
var ro = Object.defineProperty, He = Object.getOwnPropertySymbols, Br = Object.prototype.hasOwnProperty, Ar = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? ro(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ht = (e, t) => {
|
|
4481
|
+
for (var r in t || (t = {}))
|
|
4482
|
+
Br.call(t, r) && $t(e, r, t[r]);
|
|
4469
4483
|
if (He)
|
|
4470
|
-
for (var
|
|
4471
|
-
|
|
4484
|
+
for (var r of He(t))
|
|
4485
|
+
Ar.call(t, r) && $t(e, r, t[r]);
|
|
4472
4486
|
return e;
|
|
4473
|
-
},
|
|
4474
|
-
var
|
|
4475
|
-
for (var
|
|
4476
|
-
|
|
4487
|
+
}, ne = (e, t) => {
|
|
4488
|
+
var r = {};
|
|
4489
|
+
for (var n in e)
|
|
4490
|
+
Br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4477
4491
|
if (e != null && He)
|
|
4478
|
-
for (var
|
|
4479
|
-
t.indexOf(
|
|
4480
|
-
return
|
|
4492
|
+
for (var n of He(e))
|
|
4493
|
+
t.indexOf(n) < 0 && Ar.call(e, n) && (r[n] = e[n]);
|
|
4494
|
+
return r;
|
|
4481
4495
|
};
|
|
4482
4496
|
const he = (e, t) => {
|
|
4483
|
-
const { formats:
|
|
4484
|
-
if (e in
|
|
4485
|
-
return
|
|
4497
|
+
const { formats: r } = K();
|
|
4498
|
+
if (e in r && t in r[e])
|
|
4499
|
+
return r[e][t];
|
|
4486
4500
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4487
|
-
},
|
|
4501
|
+
}, no = Ie(
|
|
4488
4502
|
(e) => {
|
|
4489
|
-
var t = e, { locale:
|
|
4490
|
-
if (
|
|
4503
|
+
var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
|
|
4504
|
+
if (r == null)
|
|
4491
4505
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4492
|
-
return
|
|
4506
|
+
return n && (i = he("number", n)), new Intl.NumberFormat(r, i);
|
|
4493
4507
|
}
|
|
4494
|
-
),
|
|
4508
|
+
), io = Ie(
|
|
4495
4509
|
(e) => {
|
|
4496
|
-
var t = e, { locale:
|
|
4497
|
-
if (
|
|
4510
|
+
var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
|
|
4511
|
+
if (r == null)
|
|
4498
4512
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4499
|
-
return
|
|
4513
|
+
return n ? i = he("date", n) : Object.keys(i).length === 0 && (i = he("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4500
4514
|
}
|
|
4501
|
-
),
|
|
4515
|
+
), oo = Ie(
|
|
4502
4516
|
(e) => {
|
|
4503
|
-
var t = e, { locale:
|
|
4504
|
-
if (
|
|
4517
|
+
var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
|
|
4518
|
+
if (r == null)
|
|
4505
4519
|
throw new Error(
|
|
4506
4520
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4507
4521
|
);
|
|
4508
|
-
return
|
|
4522
|
+
return n ? i = he("time", n) : Object.keys(i).length === 0 && (i = he("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4509
4523
|
}
|
|
4510
|
-
),
|
|
4524
|
+
), so = (e = {}) => {
|
|
4511
4525
|
var t = e, {
|
|
4512
|
-
locale:
|
|
4513
|
-
} = t,
|
|
4526
|
+
locale: r = j()
|
|
4527
|
+
} = t, n = ne(t, [
|
|
4514
4528
|
"locale"
|
|
4515
4529
|
]);
|
|
4516
|
-
return
|
|
4517
|
-
},
|
|
4530
|
+
return no(ht({ locale: r }, n));
|
|
4531
|
+
}, ao = (e = {}) => {
|
|
4518
4532
|
var t = e, {
|
|
4519
|
-
locale:
|
|
4520
|
-
} = t,
|
|
4533
|
+
locale: r = j()
|
|
4534
|
+
} = t, n = ne(t, [
|
|
4521
4535
|
"locale"
|
|
4522
4536
|
]);
|
|
4523
|
-
return
|
|
4524
|
-
},
|
|
4537
|
+
return io(ht({ locale: r }, n));
|
|
4538
|
+
}, uo = (e = {}) => {
|
|
4525
4539
|
var t = e, {
|
|
4526
|
-
locale:
|
|
4527
|
-
} = t,
|
|
4540
|
+
locale: r = j()
|
|
4541
|
+
} = t, n = ne(t, [
|
|
4528
4542
|
"locale"
|
|
4529
4543
|
]);
|
|
4530
|
-
return
|
|
4531
|
-
},
|
|
4544
|
+
return oo(ht({ locale: r }, n));
|
|
4545
|
+
}, ho = Ie(
|
|
4532
4546
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4533
|
-
(e, t = j()) => new
|
|
4547
|
+
(e, t = j()) => new $i(e, t, K().formats, {
|
|
4534
4548
|
ignoreTag: K().ignoreTag
|
|
4535
4549
|
})
|
|
4536
|
-
),
|
|
4537
|
-
var
|
|
4550
|
+
), lo = (e, t = {}) => {
|
|
4551
|
+
var r, n, i, o;
|
|
4538
4552
|
let s = t;
|
|
4539
4553
|
typeof e == "object" && (s = e, e = s.id);
|
|
4540
4554
|
const {
|
|
@@ -4546,70 +4560,70 @@ const he = (e, t) => {
|
|
|
4546
4560
|
throw new Error(
|
|
4547
4561
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4548
4562
|
);
|
|
4549
|
-
let l =
|
|
4563
|
+
let l = xr(e, u);
|
|
4550
4564
|
if (!l)
|
|
4551
|
-
l = (o = (i = (
|
|
4565
|
+
l = (o = (i = (n = (r = K()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: h })) != null ? i : h) != null ? o : e;
|
|
4552
4566
|
else if (typeof l != "string")
|
|
4553
4567
|
return console.warn(
|
|
4554
4568
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
4555
4569
|
), l;
|
|
4556
4570
|
if (!a)
|
|
4557
4571
|
return l;
|
|
4558
|
-
let
|
|
4572
|
+
let f = l;
|
|
4559
4573
|
try {
|
|
4560
|
-
|
|
4561
|
-
} catch (
|
|
4562
|
-
|
|
4574
|
+
f = ho(l, u).format(a);
|
|
4575
|
+
} catch (c) {
|
|
4576
|
+
c instanceof Error && console.warn(
|
|
4563
4577
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
4564
|
-
|
|
4578
|
+
c.message
|
|
4565
4579
|
);
|
|
4566
4580
|
}
|
|
4567
|
-
return
|
|
4568
|
-
},
|
|
4569
|
-
te([
|
|
4570
|
-
te([
|
|
4571
|
-
te([
|
|
4572
|
-
te([
|
|
4573
|
-
window.emWidgets = { topic:
|
|
4574
|
-
const
|
|
4575
|
-
function
|
|
4576
|
-
const
|
|
4581
|
+
return f;
|
|
4582
|
+
}, co = (e, t) => uo(t).format(e), fo = (e, t) => ao(t).format(e), po = (e, t) => so(t).format(e), mo = (e, t = j()) => xr(e, t), bo = te([re, fe], () => lo);
|
|
4583
|
+
te([re], () => co);
|
|
4584
|
+
te([re], () => fo);
|
|
4585
|
+
te([re], () => po);
|
|
4586
|
+
te([re, fe], () => mo);
|
|
4587
|
+
window.emWidgets = { topic: Pn };
|
|
4588
|
+
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)), Pr = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC", es = (e) => e.match(/CustomNative/i) ? "NativeApp" : Pr(e) === "PC" ? "Desktop" : "Mobile";
|
|
4589
|
+
function ts(e, t) {
|
|
4590
|
+
const r = () => !0;
|
|
4577
4591
|
switch (typeof e) {
|
|
4578
4592
|
case "string": {
|
|
4579
|
-
const
|
|
4580
|
-
return
|
|
4593
|
+
const n = e.trim();
|
|
4594
|
+
return n && isFinite(Number(n)) && r();
|
|
4581
4595
|
}
|
|
4582
4596
|
case "number":
|
|
4583
|
-
return isFinite(e) &&
|
|
4597
|
+
return isFinite(e) && r();
|
|
4584
4598
|
default:
|
|
4585
4599
|
return !1;
|
|
4586
4600
|
}
|
|
4587
4601
|
}
|
|
4588
|
-
function
|
|
4602
|
+
function Rt(e, t) {
|
|
4589
4603
|
if (e) {
|
|
4590
|
-
const
|
|
4591
|
-
|
|
4604
|
+
const r = document.createElement("style");
|
|
4605
|
+
r.innerHTML = t, e.appendChild(r);
|
|
4592
4606
|
}
|
|
4593
4607
|
}
|
|
4594
|
-
function
|
|
4595
|
-
const
|
|
4596
|
-
fetch(
|
|
4608
|
+
function go(e, t) {
|
|
4609
|
+
const r = new URL(t);
|
|
4610
|
+
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4597
4611
|
const i = document.createElement("style");
|
|
4598
|
-
i.innerHTML =
|
|
4599
|
-
}).catch((
|
|
4600
|
-
console.error("There was an error while trying to load client styling from URL",
|
|
4612
|
+
i.innerHTML = n, e && e.appendChild(i);
|
|
4613
|
+
}).catch((n) => {
|
|
4614
|
+
console.error("There was an error while trying to load client styling from URL", n);
|
|
4601
4615
|
});
|
|
4602
4616
|
}
|
|
4603
|
-
function
|
|
4617
|
+
function yo(e, t, r) {
|
|
4604
4618
|
if (window.emMessageBus) {
|
|
4605
|
-
const
|
|
4619
|
+
const n = document.createElement("style");
|
|
4606
4620
|
window.emMessageBus.subscribe(t, (i) => {
|
|
4607
|
-
|
|
4621
|
+
n.innerHTML = i, e && e.appendChild(n);
|
|
4608
4622
|
});
|
|
4609
4623
|
}
|
|
4610
4624
|
}
|
|
4611
|
-
const
|
|
4612
|
-
const
|
|
4625
|
+
const vo = (e, t = {}) => {
|
|
4626
|
+
const r = new CustomEvent("track-custom-event", {
|
|
4613
4627
|
detail: {
|
|
4614
4628
|
type: e,
|
|
4615
4629
|
data: t
|
|
@@ -4617,15 +4631,15 @@ const go = (e, t = {}) => {
|
|
|
4617
4631
|
bubbles: !0,
|
|
4618
4632
|
composed: !0
|
|
4619
4633
|
});
|
|
4620
|
-
document.dispatchEvent(
|
|
4634
|
+
document.dispatchEvent(r);
|
|
4621
4635
|
};
|
|
4622
|
-
function
|
|
4623
|
-
|
|
4636
|
+
function Ut(e, t) {
|
|
4637
|
+
Tr(e, t);
|
|
4624
4638
|
}
|
|
4625
|
-
function
|
|
4626
|
-
|
|
4639
|
+
function _o(e) {
|
|
4640
|
+
re.set(e);
|
|
4627
4641
|
}
|
|
4628
|
-
const
|
|
4642
|
+
const Dt = {
|
|
4629
4643
|
en: {
|
|
4630
4644
|
logoutButton: "Logout"
|
|
4631
4645
|
},
|
|
@@ -4660,21 +4674,21 @@ const Rt = {
|
|
|
4660
4674
|
logoutButton: "Logout"
|
|
4661
4675
|
}
|
|
4662
4676
|
};
|
|
4663
|
-
function
|
|
4664
|
-
|
|
4677
|
+
function Eo(e) {
|
|
4678
|
+
kr(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))}");
|
|
4665
4679
|
}
|
|
4666
|
-
function
|
|
4667
|
-
let t,
|
|
4680
|
+
function xo(e) {
|
|
4681
|
+
let t, r, n, i = (
|
|
4668
4682
|
/*$_*/
|
|
4669
4683
|
e[2]("logoutButton") + ""
|
|
4670
4684
|
), o, s, a;
|
|
4671
4685
|
return {
|
|
4672
4686
|
c() {
|
|
4673
|
-
t = L("div"),
|
|
4687
|
+
t = L("div"), r = L("button"), n = L("span"), o = ce(i), A(t, "class", "GeneralLogout");
|
|
4674
4688
|
},
|
|
4675
4689
|
m(u, h) {
|
|
4676
|
-
ee(u, t, h), P(t,
|
|
4677
|
-
|
|
4690
|
+
ee(u, t, h), P(t, r), P(r, n), P(n, o), s || (a = zt(
|
|
4691
|
+
r,
|
|
4678
4692
|
"click",
|
|
4679
4693
|
/*click_handler_1*/
|
|
4680
4694
|
e[14]
|
|
@@ -4683,19 +4697,19 @@ function vo(e) {
|
|
|
4683
4697
|
p(u, h) {
|
|
4684
4698
|
h & /*$_*/
|
|
4685
4699
|
4 && i !== (i = /*$_*/
|
|
4686
|
-
u[2]("logoutButton") + "") &&
|
|
4700
|
+
u[2]("logoutButton") + "") && Zt(o, i);
|
|
4687
4701
|
},
|
|
4688
4702
|
d(u) {
|
|
4689
4703
|
u && G(t), s = !1, a();
|
|
4690
4704
|
}
|
|
4691
4705
|
};
|
|
4692
4706
|
}
|
|
4693
|
-
function
|
|
4694
|
-
let t,
|
|
4695
|
-
e[3] &&
|
|
4707
|
+
function So(e) {
|
|
4708
|
+
let t, r, n, i, o, s, a, u, h, l, f, c = !/*isMobile*/
|
|
4709
|
+
e[3] && To(e);
|
|
4696
4710
|
return {
|
|
4697
4711
|
c() {
|
|
4698
|
-
t = L("p"),
|
|
4712
|
+
t = L("p"), r = L("span"), n = X("svg"), i = X("defs"), o = X("style"), s = ce(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), a = X("path"), u = X("path"), h = Xr(), c && c.c(), A(a, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), A(a, "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"), A(u, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), A(u, "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"), A(n, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), A(n, "data-name", "Layer 1"), A(n, "xmlns", "http://www.w3.org/2000/svg"), A(n, "viewBox", "0 0 150 150"), zr(r, "width", /*isMobile*/
|
|
4699
4713
|
e[3] ? (
|
|
4700
4714
|
/*mediaQuery*/
|
|
4701
4715
|
e[4].matches ? "20px" : "24px"
|
|
@@ -4704,54 +4718,54 @@ function xo(e) {
|
|
|
4704
4718
|
(e[4].matches && /*isMobile*/
|
|
4705
4719
|
e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
|
|
4706
4720
|
},
|
|
4707
|
-
m(
|
|
4708
|
-
ee(
|
|
4721
|
+
m(d, p) {
|
|
4722
|
+
ee(d, t, p), P(t, r), P(r, n), P(n, i), P(i, o), P(o, s), P(n, a), P(n, u), P(t, h), c && c.m(t, null), l || (f = zt(
|
|
4709
4723
|
t,
|
|
4710
4724
|
"click",
|
|
4711
4725
|
/*click_handler*/
|
|
4712
4726
|
e[13]
|
|
4713
4727
|
), l = !0);
|
|
4714
4728
|
},
|
|
4715
|
-
p(
|
|
4729
|
+
p(d, p) {
|
|
4716
4730
|
/*isMobile*/
|
|
4717
|
-
|
|
4731
|
+
d[3] || c.p(d, p);
|
|
4718
4732
|
},
|
|
4719
|
-
d(
|
|
4720
|
-
|
|
4733
|
+
d(d) {
|
|
4734
|
+
d && G(t), c && c.d(), l = !1, f();
|
|
4721
4735
|
}
|
|
4722
4736
|
};
|
|
4723
4737
|
}
|
|
4724
|
-
function
|
|
4725
|
-
let t,
|
|
4738
|
+
function To(e) {
|
|
4739
|
+
let t, r = (
|
|
4726
4740
|
/*$_*/
|
|
4727
4741
|
e[2]("logoutButton") + ""
|
|
4728
|
-
),
|
|
4742
|
+
), n;
|
|
4729
4743
|
return {
|
|
4730
4744
|
c() {
|
|
4731
|
-
t = L("span"),
|
|
4745
|
+
t = L("span"), n = ce(r), A(t, "class", "PlayerLogoutText");
|
|
4732
4746
|
},
|
|
4733
4747
|
m(i, o) {
|
|
4734
|
-
ee(i, t, o), P(t,
|
|
4748
|
+
ee(i, t, o), P(t, n);
|
|
4735
4749
|
},
|
|
4736
4750
|
p(i, o) {
|
|
4737
4751
|
o & /*$_*/
|
|
4738
|
-
4 &&
|
|
4739
|
-
i[2]("logoutButton") + "") &&
|
|
4752
|
+
4 && r !== (r = /*$_*/
|
|
4753
|
+
i[2]("logoutButton") + "") && Zt(n, r);
|
|
4740
4754
|
},
|
|
4741
4755
|
d(i) {
|
|
4742
4756
|
i && G(t);
|
|
4743
4757
|
}
|
|
4744
4758
|
};
|
|
4745
4759
|
}
|
|
4746
|
-
function
|
|
4760
|
+
function wo(e) {
|
|
4747
4761
|
let t;
|
|
4748
|
-
function
|
|
4762
|
+
function r(o, s) {
|
|
4749
4763
|
return (
|
|
4750
4764
|
/*buttonlocation*/
|
|
4751
|
-
o[0] === "PlayerAccountMenu" ?
|
|
4765
|
+
o[0] === "PlayerAccountMenu" ? So : xo
|
|
4752
4766
|
);
|
|
4753
4767
|
}
|
|
4754
|
-
let
|
|
4768
|
+
let n = r(e), i = n(e);
|
|
4755
4769
|
return {
|
|
4756
4770
|
c() {
|
|
4757
4771
|
t = L("div"), i.c();
|
|
@@ -4760,7 +4774,7 @@ function So(e) {
|
|
|
4760
4774
|
ee(o, t, s), i.m(t, null), e[15](t);
|
|
4761
4775
|
},
|
|
4762
4776
|
p(o, [s]) {
|
|
4763
|
-
|
|
4777
|
+
n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
|
|
4764
4778
|
},
|
|
4765
4779
|
i: B,
|
|
4766
4780
|
o: B,
|
|
@@ -4769,78 +4783,78 @@ function So(e) {
|
|
|
4769
4783
|
}
|
|
4770
4784
|
};
|
|
4771
4785
|
}
|
|
4772
|
-
function
|
|
4773
|
-
let
|
|
4774
|
-
|
|
4775
|
-
let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: s = "" } = t, { lang: a = "" } = t, { mbsource: u } = t, { clientstyling: h = "" } = t, { clientstylingurl: l = "" } = t, { translationurl:
|
|
4786
|
+
function Ho(e, t, r) {
|
|
4787
|
+
let n;
|
|
4788
|
+
Gr(e, bo, (v) => r(2, n = v));
|
|
4789
|
+
let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: s = "" } = t, { lang: a = "" } = t, { mbsource: u } = t, { clientstyling: h = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, c = "", d = !1, p, m = window.navigator.userAgent, E = Pr(m) !== "PC";
|
|
4776
4790
|
const w = window.matchMedia("(min-width: 768px)"), O = () => {
|
|
4777
|
-
fetch(
|
|
4791
|
+
fetch(f).then((U) => U.json()).then((U) => {
|
|
4778
4792
|
Object.keys(U).forEach((Le) => {
|
|
4779
|
-
|
|
4793
|
+
Ut(Le, U[Le]);
|
|
4780
4794
|
});
|
|
4781
4795
|
}).catch((U) => {
|
|
4782
4796
|
console.log(U);
|
|
4783
4797
|
});
|
|
4784
4798
|
};
|
|
4785
|
-
Object.keys(
|
|
4786
|
-
|
|
4799
|
+
Object.keys(Dt).forEach((v) => {
|
|
4800
|
+
Ut(v, Dt[v]);
|
|
4787
4801
|
});
|
|
4788
|
-
const
|
|
4789
|
-
let
|
|
4790
|
-
|
|
4791
|
-
let U = { method: "DELETE", headers:
|
|
4802
|
+
const x = () => {
|
|
4803
|
+
let v = new Headers();
|
|
4804
|
+
v.append("Content-type", "application/json"), v.append("X-SessionID", o);
|
|
4805
|
+
let U = { method: "DELETE", headers: v };
|
|
4792
4806
|
fetch(`${i}/v1/player/session/player`, U).then((Le) => {
|
|
4793
|
-
window.postMessage({ type: "LogoutSuccessfull" }, window.location.href),
|
|
4807
|
+
window.postMessage({ type: "LogoutSuccessfull" }, window.location.href), vo("logged_out", {});
|
|
4794
4808
|
});
|
|
4795
|
-
}, I = () => (i || (
|
|
4796
|
-
|
|
4809
|
+
}, I = () => (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), H = () => {
|
|
4810
|
+
_o(a);
|
|
4797
4811
|
};
|
|
4798
|
-
|
|
4812
|
+
tn(() => () => {
|
|
4799
4813
|
});
|
|
4800
|
-
const R = () =>
|
|
4801
|
-
function
|
|
4802
|
-
|
|
4803
|
-
|
|
4814
|
+
const R = () => x(), pe = () => x();
|
|
4815
|
+
function Ir(v) {
|
|
4816
|
+
ke[v ? "unshift" : "push"](() => {
|
|
4817
|
+
p = v, r(1, p);
|
|
4804
4818
|
});
|
|
4805
4819
|
}
|
|
4806
|
-
return e.$$set = (
|
|
4807
|
-
"endpoint" in
|
|
4820
|
+
return e.$$set = (v) => {
|
|
4821
|
+
"endpoint" in v && r(6, i = v.endpoint), "session" in v && r(7, o = v.session), "buttonlocation" in v && r(0, s = v.buttonlocation), "lang" in v && r(8, a = v.lang), "mbsource" in v && r(9, u = v.mbsource), "clientstyling" in v && r(10, h = v.clientstyling), "clientstylingurl" in v && r(11, l = v.clientstylingurl), "translationurl" in v && r(12, f = v.translationurl);
|
|
4808
4822
|
}, e.$$.update = () => {
|
|
4809
4823
|
e.$$.dirty & /*endpoint, session, buttonlocation*/
|
|
4810
4824
|
193 && i && o && s && I(), e.$$.dirty & /*lang*/
|
|
4811
4825
|
256 && a && H(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4812
|
-
1026 && h &&
|
|
4813
|
-
1026 && h &&
|
|
4814
|
-
2050 && l &&
|
|
4815
|
-
514 && u &&
|
|
4816
|
-
4096 &&
|
|
4826
|
+
1026 && h && p && Rt(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4827
|
+
1026 && h && p && Rt(p, h), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4828
|
+
2050 && l && p && go(p, l), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4829
|
+
514 && u && p && yo(p, `${u}.Style`), e.$$.dirty & /*translationurl*/
|
|
4830
|
+
4096 && f && O();
|
|
4817
4831
|
}, [
|
|
4818
4832
|
s,
|
|
4819
|
-
|
|
4820
|
-
|
|
4821
|
-
x,
|
|
4822
|
-
w,
|
|
4833
|
+
p,
|
|
4834
|
+
n,
|
|
4823
4835
|
E,
|
|
4836
|
+
w,
|
|
4837
|
+
x,
|
|
4824
4838
|
i,
|
|
4825
4839
|
o,
|
|
4826
4840
|
a,
|
|
4827
4841
|
u,
|
|
4828
4842
|
h,
|
|
4829
4843
|
l,
|
|
4830
|
-
|
|
4844
|
+
f,
|
|
4831
4845
|
R,
|
|
4832
|
-
|
|
4833
|
-
|
|
4846
|
+
pe,
|
|
4847
|
+
Ir
|
|
4834
4848
|
];
|
|
4835
4849
|
}
|
|
4836
|
-
class
|
|
4850
|
+
class Or extends pn {
|
|
4837
4851
|
constructor(t) {
|
|
4838
|
-
super(),
|
|
4852
|
+
super(), cn(
|
|
4839
4853
|
this,
|
|
4840
4854
|
t,
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
|
|
4855
|
+
Ho,
|
|
4856
|
+
wo,
|
|
4857
|
+
Ft,
|
|
4844
4858
|
{
|
|
4845
4859
|
endpoint: 6,
|
|
4846
4860
|
session: 7,
|
|
@@ -4851,7 +4865,7 @@ class An extends lr {
|
|
|
4851
4865
|
clientstylingurl: 11,
|
|
4852
4866
|
translationurl: 12
|
|
4853
4867
|
},
|
|
4854
|
-
|
|
4868
|
+
Eo
|
|
4855
4869
|
);
|
|
4856
4870
|
}
|
|
4857
4871
|
get endpoint() {
|
|
@@ -4903,74 +4917,74 @@ class An extends lr {
|
|
|
4903
4917
|
this.$$set({ translationurl: t }), N();
|
|
4904
4918
|
}
|
|
4905
4919
|
}
|
|
4906
|
-
|
|
4907
|
-
const
|
|
4920
|
+
fn(Or, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
4921
|
+
const rs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4908
4922
|
__proto__: null,
|
|
4909
|
-
default:
|
|
4923
|
+
default: Or
|
|
4910
4924
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4911
4925
|
export {
|
|
4912
|
-
|
|
4913
|
-
|
|
4914
|
-
|
|
4915
|
-
|
|
4916
|
-
|
|
4917
|
-
|
|
4918
|
-
|
|
4919
|
-
|
|
4920
|
-
|
|
4921
|
-
|
|
4922
|
-
|
|
4923
|
-
|
|
4924
|
-
|
|
4925
|
-
|
|
4926
|
-
|
|
4927
|
-
|
|
4928
|
-
|
|
4929
|
-
|
|
4930
|
-
|
|
4931
|
-
|
|
4932
|
-
|
|
4926
|
+
re as $,
|
|
4927
|
+
Rt as A,
|
|
4928
|
+
bo as B,
|
|
4929
|
+
fe as C,
|
|
4930
|
+
es as D,
|
|
4931
|
+
Wo as E,
|
|
4932
|
+
$o as F,
|
|
4933
|
+
Mo as G,
|
|
4934
|
+
Po as H,
|
|
4935
|
+
Io as I,
|
|
4936
|
+
Lo as J,
|
|
4937
|
+
Oo as K,
|
|
4938
|
+
sn as L,
|
|
4939
|
+
qo as M,
|
|
4940
|
+
Ro as N,
|
|
4941
|
+
Jo as O,
|
|
4942
|
+
Co as P,
|
|
4943
|
+
ko as Q,
|
|
4944
|
+
Go as R,
|
|
4945
|
+
pn as S,
|
|
4946
|
+
Fo as T,
|
|
4933
4947
|
Te as U,
|
|
4934
|
-
|
|
4948
|
+
jo as V,
|
|
4935
4949
|
le as W,
|
|
4936
|
-
|
|
4937
|
-
|
|
4938
|
-
|
|
4939
|
-
|
|
4940
|
-
|
|
4941
|
-
|
|
4942
|
-
|
|
4943
|
-
|
|
4944
|
-
|
|
4945
|
-
|
|
4946
|
-
|
|
4947
|
-
|
|
4948
|
-
|
|
4949
|
-
|
|
4950
|
-
|
|
4951
|
-
|
|
4952
|
-
|
|
4953
|
-
|
|
4950
|
+
Ko as X,
|
|
4951
|
+
No as Y,
|
|
4952
|
+
zr as Z,
|
|
4953
|
+
Zo as _,
|
|
4954
|
+
Tr as a,
|
|
4955
|
+
zo as a0,
|
|
4956
|
+
Xo as a1,
|
|
4957
|
+
Ao as a2,
|
|
4958
|
+
Rr as a3,
|
|
4959
|
+
Qo as a4,
|
|
4960
|
+
Yo as a5,
|
|
4961
|
+
In as a6,
|
|
4962
|
+
ts as a7,
|
|
4963
|
+
Do as a8,
|
|
4964
|
+
rs as a9,
|
|
4965
|
+
kr as b,
|
|
4966
|
+
fn as c,
|
|
4967
|
+
Xr as d,
|
|
4954
4968
|
L as e,
|
|
4955
4969
|
N as f,
|
|
4956
4970
|
A as g,
|
|
4957
|
-
|
|
4958
|
-
|
|
4959
|
-
|
|
4971
|
+
Uo as h,
|
|
4972
|
+
cn as i,
|
|
4973
|
+
Vo as j,
|
|
4960
4974
|
ee as k,
|
|
4961
4975
|
P as l,
|
|
4962
|
-
|
|
4963
|
-
|
|
4976
|
+
zt as m,
|
|
4977
|
+
Zt as n,
|
|
4964
4978
|
B as o,
|
|
4965
4979
|
G as p,
|
|
4966
|
-
|
|
4980
|
+
Gr as q,
|
|
4967
4981
|
F as r,
|
|
4968
|
-
|
|
4969
|
-
|
|
4970
|
-
|
|
4971
|
-
|
|
4972
|
-
|
|
4973
|
-
|
|
4974
|
-
|
|
4975
|
-
|
|
4982
|
+
Ft as s,
|
|
4983
|
+
ce as t,
|
|
4984
|
+
Pr as u,
|
|
4985
|
+
tn as v,
|
|
4986
|
+
go as w,
|
|
4987
|
+
yo as x,
|
|
4988
|
+
X as y,
|
|
4989
|
+
ke as z
|
|
4976
4990
|
};
|