@sheetxl/studio-vanilla 0.4.12 → 0.4.13
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/browser/cjs/{BwN8vKi5o3-PbIMo.cjs → -DkdmW3XP1ICRY25.cjs} +2 -2
- package/browser/cjs/B-KQs1Bf48nEucW7.cjs +7 -0
- package/browser/cjs/B1xnY7pDnbnNzknG.cjs +7 -0
- package/browser/cjs/B6A5w_aWHkigBc6j.cjs +7 -0
- package/browser/cjs/B9jxuOg1CXcmbi9J.cjs +110 -0
- package/browser/cjs/BAYjkr4LmsWRLoPr.cjs +7 -0
- package/browser/cjs/{Q_VvA-yUQx3xFKiJ.cjs → BG2uV2RpxrfZyCuV.cjs} +1 -1
- package/browser/cjs/{BPzEQNENF-gEBkg9.cjs → BGCPG4Ip5ZijUQwi.cjs} +2 -2
- package/browser/cjs/BHTlBOQH-tPGoKgo.cjs +7 -0
- package/browser/cjs/BLBNzBvRVl9VLynf.cjs +7 -0
- package/browser/cjs/BLh6E7ER8mrM6vc_.cjs +7 -0
- package/browser/cjs/{hwDUzorB6aCvH1eL.cjs → BMaq_2S3IFrE5XeJ.cjs} +1 -1
- package/browser/cjs/BO7Pbclmywy-QCSV.cjs +13 -0
- package/browser/cjs/BPlthbyKkqCDjgxO.cjs +7 -0
- package/browser/cjs/BUGo0mXtBfFOmQXV.cjs +7 -0
- package/browser/cjs/BdHdXCz_K1djQgI4.cjs +7 -0
- package/browser/cjs/BfNkb1jDZkJf3wRA.cjs +7 -0
- package/browser/cjs/BfdQd2UEOlOc5iF3.cjs +7 -0
- package/browser/cjs/Bi9KvObgq_kJ_pjC.cjs +7 -0
- package/browser/cjs/BjPpJjnABDd3_WOZ.cjs +7 -0
- package/browser/cjs/BsSNzyN8kOGCKzso.cjs +7 -0
- package/browser/cjs/BtCcoaKKb8ZDnliG.cjs +7 -0
- package/browser/cjs/{Ccs2ouvlLekaLGH0.cjs → BwHquG4sSd7OJjxz.cjs} +2 -2
- package/browser/cjs/{D_VQzwC1zzTJyKtG.cjs → BywNBbTVRYbgRbNI.cjs} +1 -1
- package/browser/cjs/C04Qr5P8uyQ6Vcml.cjs +7 -0
- package/browser/cjs/C42ZEPRmW9Wcd7tI.cjs +7 -0
- package/browser/cjs/{BeZHmOKfa37mFNAu.cjs → CBpt1PBR1VfBegko.cjs} +2 -2
- package/browser/cjs/CED8Az5C8GWF7pUT.cjs +7 -0
- package/browser/cjs/{JKEGlXjMwGnXk_Gv.cjs → CbD4Wa5QLTdRCYcz.cjs} +2 -2
- package/browser/cjs/{L1iE_VcelYZIy0wI.cjs → CbILz9Skl6lWf6yR.cjs} +1 -1
- package/browser/cjs/CoFQQqIzuvS9PM77.cjs +7 -0
- package/browser/cjs/{B35OZ0mE8aINQPP9.cjs → CpDNo2Lhwr5ZHECs.cjs} +2 -2
- package/browser/cjs/{C3OizZPVuxO2fjSG.cjs → CsamfGfFsItvSgo_.cjs} +1 -1
- package/browser/cjs/Cx3kn5gBsQ-1bORi.cjs +7 -0
- package/browser/cjs/CxLvGnG44-qNI36G.cjs +7 -0
- package/browser/cjs/D-xyWit7jxctQCpR.cjs +7 -0
- package/browser/cjs/D4XQsK7d7DRctaOO.cjs +7 -0
- package/browser/cjs/D9rVEA1BdB0JZwhE.cjs +7 -0
- package/browser/cjs/DES2NmIRVZg-HXgs.cjs +7 -0
- package/browser/cjs/{CBL6KkiWI2RPflEN.cjs → DFxeLNhACFIHb0nv.cjs} +2 -2
- package/browser/cjs/DIv1SrLYeyVwcaxE.cjs +7 -0
- package/browser/cjs/DJ6L43osbaMzEV5K.cjs +7 -0
- package/browser/cjs/DMjLN_HDktNzzUB8.cjs +7 -0
- package/browser/cjs/DVPfPZCFjmYu3xyn.cjs +7 -0
- package/browser/cjs/DhSlaiQXxEOVtZkA.cjs +7 -0
- package/browser/cjs/{DAHpsyykuPBkoh-Z.cjs → Dh_dFnagz7dMZlGh.cjs} +1 -1
- package/browser/cjs/DpF6vgGka2d-RKkb.cjs +10 -0
- package/browser/cjs/{BUokV6yuzE-_8MyK.cjs → DtY0Jzlwnr_YKnV4.cjs} +2 -2
- package/browser/cjs/DwyyFI1Ix0uc0Qoz.cjs +7 -0
- package/browser/cjs/Dy5_viRzFls9rOzN.cjs +7 -0
- package/browser/cjs/GkINjQ8Te3GKi2mx.cjs +7 -0
- package/browser/cjs/aN3KCqswA1SdJIMq.cjs +7 -0
- package/browser/cjs/{no5c2H18QD2qmOH6.cjs → hLJbgylpETByV4wc.cjs} +2 -2
- package/browser/cjs/index.cjs +2 -2
- package/browser/cjs/qumqKlVHFx89iLeu.cjs +7 -0
- package/browser/cjs/{fTGpiXzFm3K_u2Fm.cjs → rKZjTYQ0WpTriIv6.cjs} +2 -2
- package/browser/cjs/xjKotAOVt3JH36U7.cjs +7 -0
- package/browser/cjs/ymbPxio09Fw7I2BW.cjs +7 -0
- package/browser/esm/2P5dQT7wZToOh-n9.mjs +7 -0
- package/browser/esm/4GgcUVhUmQmiv9Ha.mjs +110 -0
- package/browser/esm/7_x68v6PpvRDox_Z.mjs +7 -0
- package/browser/esm/9icgSuuzXq6mlgM8.mjs +7 -0
- package/browser/esm/B354iAatN9y9AIIP.mjs +7 -0
- package/browser/esm/B5EVyoxm3aSlAnxN.mjs +7 -0
- package/browser/esm/BD8rE7MUxuHXsdcf.mjs +7 -0
- package/browser/esm/BGFWI1a1PmU8_hCE.mjs +7 -0
- package/browser/esm/{Bts4nCgfCAUpTfxz.mjs → BI6JAQCQx1V0F2aC.mjs} +2 -2
- package/browser/esm/BIYg30d_9HaluFFz.mjs +7 -0
- package/browser/esm/{SAyRTPVprOHZ8Up8.mjs → BKL-uyBp_OE47lXd.mjs} +2 -2
- package/browser/esm/BMwJCtLAYUW8wExX.mjs +13 -0
- package/browser/esm/BNOfK-lGWF2S8vQE.mjs +7 -0
- package/browser/esm/Ba433v6lQUMtECiY.mjs +7 -0
- package/browser/esm/BbZWfDW2LUyjqUDy.mjs +7 -0
- package/browser/esm/C238uBmZN1XXqMUb.mjs +7 -0
- package/browser/esm/C34whwRkHO0lhq4-.mjs +7 -0
- package/browser/esm/C6FEpAqSZoW5Hgte.mjs +7 -0
- package/browser/esm/COlW5ULL29SUKN1Z.mjs +7 -0
- package/browser/esm/CRyxOj2xPj9qe9LK.mjs +7 -0
- package/browser/esm/CVeyOpbAhaBhDRye.mjs +7 -0
- package/browser/esm/CVyVvtlJuCTn4MDh.mjs +7 -0
- package/browser/esm/CapeIfjWq-_BHMlE.mjs +7 -0
- package/browser/esm/CcQqGNgK2CsgNtuD.mjs +7 -0
- package/browser/esm/CdZSxrk3k1Lx6G8W.mjs +7 -0
- package/browser/esm/CdchvB_wAbv_6Whw.mjs +7 -0
- package/browser/esm/{D3KNxvnrwR6_fTJE.mjs → Cf8eDl3Tu5NAWWwG.mjs} +1 -1
- package/browser/esm/{B8ISUdOxsJMYWzNN.mjs → Cfq9tttQlsKvfaCr.mjs} +2 -2
- package/browser/esm/{M4hZ25330e96seUM.mjs → ClR6uLJoM-xKVYEc.mjs} +1 -1
- package/browser/esm/Cnl_e-EYkZ3CLbi2.mjs +7 -0
- package/browser/esm/CtRS2ZCPF7IH_mXe.mjs +7 -0
- package/browser/esm/{DeXfOSxGE_Ez7DZq.mjs → CuV-bwi1vcXAqFUY.mjs} +1 -1
- package/browser/esm/CwVE0qelO_xgf-l1.mjs +7 -0
- package/browser/esm/{CYIhGb86r-kKOrP5.mjs → D1Dzlta8ZVy08ng6.mjs} +2 -2
- package/browser/esm/D1TjRQiHLWhpl-dl.mjs +7 -0
- package/browser/esm/D8BJ-y3ulgO_ezrj.mjs +10 -0
- package/browser/esm/{dpdy0BU4GGI5lZrX.mjs → DTDXNEbHVnnZONNL.mjs} +1 -1
- package/browser/esm/DTWfi8Dl-c2s5moT.mjs +7 -0
- package/browser/esm/DYVBXcu1r5KRLB-1.mjs +7 -0
- package/browser/esm/{BnJiF38TGudjoHzT.mjs → DZjWyWMvr2XHQrBg.mjs} +1 -1
- package/browser/esm/DhHK4QmASvgAq9Xy.mjs +7 -0
- package/browser/esm/{DcX8yGEBX6qi9RCe.mjs → DoFV2S6Su86IN5Ul.mjs} +2 -2
- package/browser/esm/Dq3ybkgattcCsF_4.mjs +7 -0
- package/browser/esm/DqWoZ4TjweoJWX3o.mjs +7 -0
- package/browser/esm/DtXxHirBm16ldE1l.mjs +7 -0
- package/browser/esm/DtuWZG6c_8vKRSdr.mjs +7 -0
- package/browser/esm/FBG8XXdIMd9PfUIo.mjs +7 -0
- package/browser/esm/Nh7JiwvF01PblHQ0.mjs +7 -0
- package/browser/esm/PVYiH9vBQM6rqXI4.mjs +7 -0
- package/browser/esm/U5-LDZQ0qkJ2Y-p8.mjs +7 -0
- package/browser/esm/XhQDWZu47oe6bwHh.mjs +7 -0
- package/browser/esm/_BjU6TtI-mQfFpfy.mjs +7 -0
- package/browser/esm/{DzgM_rkwyIHsCb6I.mjs → gOUfyCw957TzcbNB.mjs} +1 -1
- package/browser/esm/index.mjs +2 -2
- package/browser/esm/lmkbfs9sNc7f0oe5.mjs +7 -0
- package/browser/esm/{oLCocGFRAwsVsOSE.mjs → naa0kcRwxHEYGaQB.mjs} +2 -2
- package/browser/esm/qxOkQutRxmAi1vRh.mjs +7 -0
- package/browser/esm/tMSro0g2GM5BBTIH.mjs +7 -0
- package/cdn/assets/{B3kbBB6oxKBErwzn.js → 0e9wDKSn4SFxSmP5.js} +3 -3
- package/cdn/assets/0j_nQmV1Bb0lJ6sB.js +472 -0
- package/cdn/assets/2mxiQm6dELsqQoX7.js +5624 -0
- package/cdn/assets/5XdpCWQ6AcxZ6oY1.js +10 -0
- package/cdn/assets/6JtXguBKwGj6dqfy.js +1577 -0
- package/cdn/assets/{Bv0Xb6DdcQbPYJKo.js → 8U2WVdbZHYCBnd9L.js} +13 -14
- package/cdn/assets/9-cIcj6CRJx5HTn9.js +10 -0
- package/cdn/assets/{BcWoqhD_sX85c7Mh.js → B-kFRtzNNkf4_SiP.js} +1 -1
- package/cdn/assets/B1Iys8a964LGNZKf.js +10 -0
- package/cdn/assets/B2RAJJJFkcaWUfUW.js +21 -0
- package/cdn/assets/{DBL4jY0AVc53RGNm.js → BAzGoI9gE2G3F3on.js} +1 -1
- package/cdn/assets/BBJxLS-wB_nXRnI2.js +10 -0
- package/cdn/assets/{qA23x9VVBL9R4qxN.js → BDE7FUo2oiivrvBL.js} +14 -14
- package/cdn/assets/BL6TUDSeou6wPejW.js +10 -0
- package/cdn/assets/{CC-S4NMYhLg3WgqO.js → BLqaorJ5Wl-1YOoy.js} +2 -2
- package/cdn/assets/BMiA9p1uOrwnooVT.js +10 -0
- package/cdn/assets/{BoOefjrM4kZ-YXxa.js → BNh9nSR83reiVMKt.js} +2 -2
- package/cdn/assets/{BtweFYnoj_aEfydW.js → BQON-ToGsIBPrPkM.js} +1 -1
- package/cdn/assets/BUwNyHytF9St68tJ.js +10 -0
- package/cdn/assets/{D_5RgqgwXsoqLJDR.js → BVYDmdUGWvMG5gNK.js} +1 -1
- package/cdn/assets/B_2bXmyji3Dr7LRM.js +50224 -0
- package/cdn/assets/BciokME96sykArSM.js +10 -0
- package/cdn/assets/BgnlshX157Ob6RLs.js +21 -0
- package/cdn/assets/{dk2teWHDODYNarJY.js → BlYoycYtR-sUp0iC.js} +3 -3
- package/cdn/assets/{DfmaL8DmDaFAv8M_.js → Bsa9-Itkf_SdDBM9.js} +4 -4
- package/cdn/assets/BwpBFv8Ks2ka07ch.js +10 -0
- package/cdn/assets/BxblmHGC7YxZcuak.js +10 -0
- package/cdn/assets/C-Z8wvIy20kJ7R-k.js +10 -0
- package/cdn/assets/C3EFzvmp0DcC_HAx.js +10 -0
- package/cdn/assets/C4vStn7wNlvrxdsp.js +10 -0
- package/cdn/assets/C5q0qaKi2eeDgoO8.js +10 -0
- package/cdn/assets/C9eQW5GKgPRmKKgJ.js +29 -0
- package/cdn/assets/{BCK7yhx9JfzU2rF0.js → CHTspRZD2v_dU_eV.js} +9 -9
- package/cdn/assets/CKA4s2hlzSnrdWSD.js +10 -0
- package/cdn/assets/{BSAH88RG1oubICau.js → CMBDD1Mjde6UL5ep.js} +19 -19
- package/cdn/assets/{DDW1WJ2IM_9ZUfKm.js → CR01MBraUPYPpwy4.js} +2 -2
- package/cdn/assets/CT0d1P-Aav62lUvV.js +10 -0
- package/cdn/assets/CV8UjJPDVplXjK1E.js +49 -0
- package/cdn/assets/CrLrvmlJhYpNpXqR.js +10 -0
- package/cdn/assets/CsorxCiOoe7qX9j1.js +10 -0
- package/cdn/assets/CuNqTH3P8mCglRiz.js +10 -0
- package/cdn/assets/{MRBi3juXAW0lA_mj.js → CwdMjMPFdIs8SAV0.js} +1 -1
- package/cdn/assets/D-5VYBO5_VEh6fEW.js +24 -0
- package/cdn/assets/{BT5EcMEFBsphczwC.js → DD3csu4pddGtMp3n.js} +106 -107
- package/cdn/assets/{DWJE3K3jMKMTCi3o.js → DFHruAftzuzBZ71r.js} +2 -2
- package/cdn/assets/DHydjLSnijEgtpyU.js +10 -0
- package/cdn/assets/DPQqTIMsRLhMxPIy.js +820 -0
- package/cdn/assets/{CUc6gRjjRGTFWSHD.js → DUtu7r6CzW4dtW3E.js} +12 -12
- package/cdn/assets/{CiY3HumGDc_5bMtR.js → DXHirQMr483hJBil.js} +15 -15
- package/cdn/assets/DXtbonLk2ESfF4Dh.js +10 -0
- package/cdn/assets/{CsjftXmSYQRHNKdq.js → Dr5X-ng9wbwUWVr4.js} +4 -4
- package/cdn/assets/{BB66NDz7S3ocEfRB.js → DvFNLgeMJ9LdQROu.js} +46 -47
- package/cdn/assets/Dvj7UEckqOBrgs9i.js +3947 -0
- package/cdn/assets/F6zW9Vj410C4yRVG.js +424 -0
- package/cdn/assets/{DJQOS9qxVAlpgDMt.js → Gz4u4ewyWfB-Pf-a.js} +20 -21
- package/cdn/assets/KDGtuIzSpkf1vsmH.js +10 -0
- package/cdn/assets/KtKlo5mM4kTTfFgi.js +46 -0
- package/cdn/assets/N3pWBoccPrTedAw-.js +12 -0
- package/cdn/assets/{7_O6nILzn1fSVvkO.js → NTINjW8JjyZudT8s.js} +1 -1
- package/cdn/assets/{DxMu6URURFWj9aXM.js → R9RwlorPWfftoboH.js} +4 -4
- package/cdn/assets/{DgLPO_EQ9DYoGgec.js → Xwyp21e7L5fTeb_y.js} +1 -1
- package/cdn/assets/{CfObTzh8pGdd8D23.js → XysyS9rk9tFdbzZh.js} +5 -5
- package/cdn/assets/{DkS6quwH1okWaho6.js → f3_QXO8z0p-q4nJo.js} +14 -14
- package/cdn/assets/{phYz0vGgqIEQ2hco.js → quOP5QFyTT9soNIl.js} +1 -1
- package/cdn/index.js +2 -2
- package/cdn/loader.js +1 -1
- package/package.json +3 -5
- package/browser/cjs/BflJ_0gT9lQtDvY_.cjs +0 -7
- package/browser/cjs/CN6-6xpZMpFqSS8M.cjs +0 -7
- package/browser/cjs/CTrEV_UpxC0W6cZZ.cjs +0 -7
- package/browser/cjs/CU30GVjjFXl44vEU.cjs +0 -7
- package/browser/cjs/CZWBxvUXzfpn_zmc.cjs +0 -7
- package/browser/cjs/Ce-8L4Viq3I_6j0i.cjs +0 -7
- package/browser/cjs/CtNjLzIHB8WX63Bl.cjs +0 -7
- package/browser/cjs/DJbKKxeeTEHHA1gR.cjs +0 -107
- package/browser/cjs/GrsZZ_mEdsM5dEMA.cjs +0 -7
- package/browser/esm/B4Mm5gczpI_k2zzN.mjs +0 -7
- package/browser/esm/C3cyAbIH8Qc8MIFN.mjs +0 -107
- package/browser/esm/C4jlaVv8bELgiHyE.mjs +0 -7
- package/browser/esm/CcpskguvlvemArQn.mjs +0 -7
- package/browser/esm/CeRfALx1iU5fqOUg.mjs +0 -7
- package/browser/esm/CfYWmP_Hots5f0f6.mjs +0 -7
- package/browser/esm/CkarbqNx_lhlBnw7.mjs +0 -7
- package/browser/esm/D2PlWNQjrTgf6GuR.mjs +0 -7
- package/browser/esm/DIJyH94oCzUnlcNZ.mjs +0 -7
- package/browser/esm/DVAG1NxFe3cMjLE1.mjs +0 -7
- package/browser/esm/DVqga7g7j0FUiM6p.mjs +0 -7
- package/browser/esm/Qp2Toeh_EbJH_f_6.mjs +0 -7
- package/browser/esm/_ft7JYO6QdDbIu3d.mjs +0 -7
- package/cdn/assets/CJhyHcQcrhbtC33r.js +0 -50
- package/cdn/assets/CpPLN0-hDsTIFHZV.js +0 -46
- package/cdn/assets/Cq94woVmlxhjWVRI.js +0 -21
- package/cdn/assets/Jhm2DAcrfAqiM-Y-.js +0 -26490
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.13
|
|
3
|
+
*
|
|
4
|
+
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
+
*/
|
|
7
|
+
const t={CONVERT:{s:"Converts a number from one measurement system to another",p:{number:{d:"is the value in from_unit to convert."},fromUnit:{d:"is the units for number."},toUnit:{d:"is the units for the result"}}}};export{t as default};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.13
|
|
3
|
+
*
|
|
4
|
+
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
+
*/
|
|
7
|
+
const e={"BETA.DIST":{s:"Returns the beta probability distribution function",p:{x:{d:"is the value between A and B at which to evaluate the function"},alpha:{d:"is a parameter to the distribution and must be greater than 0"},beta:{d:"is a parameter to the distribution and must be greater than 0"},cumulative:{d:"is a logical value: for the cumulative distribution function, use TRUE; for the probability density function, use FALSE"},a:{d:"lower bound to the interval of x",v:0},b:{d:"upper bound to the interval of x",v:1}}},BETADIST:{s:"Returns the cumulative beta probability density function",p:{x:{d:"is the value between A and B at which to evaluate the function"},alpha:{d:"is a parameter to the distribution and must be greater than 0"},beta:{d:"is a parameter to the distribution and must be greater than 0"},cumulative:{d:"is a logical value: for the cumulative distribution function, use TRUE; for the probability density function, use FALSE"},a:{d:"lower bound to the interval of x",v:0},b:{d:"upper bound to the interval of x",v:1}},c:"Compatibility"},"BETA.INV":{s:"Returns the inverse of the cumulative beta probability density function (BETA.DIST)",p:{probability:{d:"is a probability associated with the beta distribution"},alpha:{d:"is a parameter to the distribution and must be greater than 0"},beta:{d:"is a parameter to the distribution and must be greater than 0"},a:{d:"lower bound to the interval of x",v:0},b:{d:"upper bound to the interval of x",v:1}}},BETAINV:{s:"Returns the inverse of the cumulative beta probability density function (BETADIST)",p:{probability:{d:"is a probability associated with the beta distribution"},alpha:{d:"is a parameter to the distribution and must be greater than 0"},beta:{d:"is a parameter to the distribution and must be greater than 0"},a:{d:"lower bound to the interval of x",v:0},b:{d:"upper bound to the interval of x",v:1}},c:"Compatibility"},"BINOM.DIST":{s:"Returns the individual term binomial distribution probability",p:{numberS:{d:"is the number of successes in trials"},trials:{d:"is the number of independent trials"},probabilityS:{d:"is the probability of success on each trial"},cumulative:{d:"is a logical value: for the cumulative distribution function, use TRUE; for the probability mass function, use FALSE"}}},BINOMDIST:{s:"Returns the individual term binomial distribution probability",p:{numberS:{d:"is the number of successes in trials"},trials:{d:"is the number of independent trials"},probabilityS:{d:"is the probability of success on each trial"},cumulative:{d:"is a logical value: for the cumulative distribution function, use TRUE; for the probability mass function, use FALSE"}},c:"Compatibility"},"BINOM.DIST.RANGE":{s:"Returns the probability of a trial result using a binomial distribution",p:{trials:{d:"is the number of independent trials"},probabilityS:{d:"is the probability of success on each trial"},numberS:{d:"is the number of successes in trials"},numberS2:{d:"if provided this function returns the probability that the number of successful trials shall lie between number_s and number_s2",v:"numberS"}}},"BINOM.INV":{s:"Returns the smallest value for which the cumulative binomial distribution is greater than or equal to a criterion value",p:{trials:{d:"is the number of Bernoulli trials"},probabilityS:{d:"is the probability of success on each trial, a number between 0 and 1 inclusive"},alpha:{d:"is the criterion value, a number between 0 and 1 inclusive"}}},"CHISQ.DIST":{s:"Returns the left-tailed probability of the chi-squared distribution",p:{x:{d:"is the value at which you want to evaluate the distribution, a nonnegative number"},degFreedom:{d:"is the number of degrees of freedom, a number between 1 and 10^10, excluding 10^10"},cumulative:{d:"is a logical value for the function to return: the cumulative distribution function = TRUE; the probability density function = FALSE",v:!1}}},CHIDIST:{s:"Returns the right-tailed probability of the chi-squared distribution",p:{x:{d:"is the value at which you want to evaluate the distribution, a nonnegative number"},degFreedom:{d:"is the number of degrees of freedom, a number between 1 and 10^10, excluding 10^10"}},c:"Compatibility"},"CHISQ.DIST.RT":{s:"Returns the right-tailed probability of the chi-squared distribution",p:{x:{d:"is the value at which you want to evaluate the distribution, a nonnegative number"},degFreedom:{d:"is the number of degrees of freedom, a number between 1 and 10^10, excluding 10^10"}}},"CHISQ.INV":{s:"Returns the inverse of the left-tailed probability of the chi-squared distribution",p:{probability:{d:"is a probability associated with the chi-squared distribution, a value between 0 and 1 inclusive"},degFreedom:{d:"is the number of degrees of freedom, a number between 1 and 10^10, excluding 10^10"}}},CHIINV:{s:"Returns the inverse of the right-tailed probability of the chi-squared distribution",p:{probability:{d:"is a probability associated with the chi-squared distribution, a value between 0 and 1 inclusive"},degFreedom:{d:"is the number of degrees of freedom, a number between 1 and 10^10, excluding 10^10"}},c:"Compatibility"},"CHISQ.INV.RT":{s:"Returns the right-tailed probability of the chi-squared distribution",p:{probability:{d:"is a probability associated with the chi-squared distribution, a value between 0 and 1 inclusive"},degFreedom:{d:"is the number of degrees of freedom, a number between 1 and 10^10, excluding 10^10"}}},"CHISQ.TEST":{s:"Returns the test for independence: the value from the chi-squared distribution for the statistic and the appropriate degrees of freedom",p:{actualRange:{d:"is the range of data that contains observations to test against expected values"},expectedRange:{d:"is the range of data that contains the ratio of the product of row totals and column totals to the grand total"}}},CHITEST:{s:"Returns the test for independence: the value from the chi-squared distribution for the statistic and the appropriate degrees of freedom",p:{actualRange:{d:"is the range of data that contains observations to test against expected values"},expectedRange:{d:"is the range of data that contains the ratio of the product of row totals and column totals to the grand total"}},c:"Compatibility"},"CONFIDENCE.NORM":{s:"Returns the confidence interval for a population mean, using a normal distribution",p:{alpha:{d:"is the significance level used to compute the confidence level, a number greater than 0 and less than 1"},standardDev:{d:"is the population standard deviation for the data range and is assumed to be known. Standard_dev must be greater than 0"},size:{d:"is the sample size"}}},CONFIDENCE:{s:"Returns the confidence interval for a population mean, using a normal distribution",p:{alpha:{d:"is the significance level used to compute the confidence level, a number greater than 0 and less than 1"},std:{d:"is the population standard deviation for the data range and is assumed to be known. Standard_dev must be greater than 0"},dev:{d:"is the population standard deviation for the data range and is assumed to be known. Standard_dev must be greater than 0"},size:{d:"is the sample size"}},c:"Compatibility"},"CONFIDENCE.T":{s:"Returns the confidence interval for a population mean, using a Student's T distribution",p:{alpha:{d:"is the significance level used to compute the confidence level, a number greater than 0 and less than 1"},standardDev:{d:"is the population standard deviation for the data range and is assumed to be known. Standard_dev must be greater than 0"},size:{d:"is the sample size"}}},CORREL:{s:"Returns the correlation coefficient between two data sets",p:{array1:{d:"is a cell range of values. The values should be numbers, names, arrays, or references that contain numbers"},array2:{d:"is a second cell range of values. The values should be numbers, names, arrays, or references that contain numbers"}}},"COVARIANCE.P":{s:"Returns population covariance, the average of the products of deviations for each data point pair in two data sets",p:{array1:{d:"is the first cell range of integers and must be numbers, arrays, or references that contain numbers"},array2:{d:"is the second cell range of integers and must be numbers, arrays, or references that contain numbers"}}},COVARIANCE:{s:"Returns population covariance, the average of the products of deviations for each data point pair in two data sets",p:{array1:{d:"is the first cell range of integers and must be numbers, arrays, or references that contain numbers"},array2:{d:"is the second cell range of integers and must be numbers, arrays, or references that contain numbers"}},c:"Compatibility"},"COVARIANCE.S":{s:"Returns sample covariance, the average of the products of deviations for each data point pair in two data sets",p:{array1:{d:"is the first cell range of integers and must be numbers, arrays, or references that contain numbers"},array2:{d:"is the second cell range of integers and must be numbers, arrays, or references that contain numbers"}}},CRITBINOM:{s:"Returns the smallest value for which the cumulative binomial distribution is greater than or equal to a criterion value",p:{trails:{d:"is the number of Bernoulli trials"},probabilityS:{d:"is the probability of success on each trial, a number between 0 and 1 inclusive"},alpha:{d:"is the criterion value, a number between 0 and 1 inclusive"}},c:"Compatibility",h:"Unimplemented"},DEVSQ:{s:"Returns the sum of squares of deviations of data points from their sample mean",p:{number:{d:"number1,number2,... are 1 to 255 arguments, or an array or array reference, on which you want DEVSQ to calculate"}}},"EXPON.DIST":{s:"Returns the exponential distribution",p:{x:{d:"is the value of the function, a nonnegative number"},lambda:{d:"is the parameter value, a positive number"},cumulative:{d:"is a logical value for the function to return: the cumulative distribution function = TRUE; the probability density function = FALSE"}}},EXPONDIST:{s:"Returns the exponential distribution",p:{x:{d:"is the value of the function, a nonnegative number"},lambda:{d:"is the parameter value, a positive number"},cumulative:{d:"is a logical value for the function to return: the cumulative distribution function = TRUE; the probability density function = FALSE"}},c:"Compatibility"},"F.DIST":{s:"Returns the (left-tailed) F probability distribution (degree of diversity) for two data sets",p:{x:{d:"is the value at which to evaluate the function, a nonnegative number"},degFreedom1:{d:"is the numerator degrees of freedom, a number between 1 and 10^10, excluding 10^10"},degFreedom2:{d:"is the denominator degrees of freedom, a number between 1 and 10^10, excluding 10^10"},cumulative:{d:"is a logical value for the function to return: the cumulative distribution function = TRUE; the probability density function = FALSE"}}},FDIST:{s:"Returns the (left-tailed) F probability distribution (degree of diversity) for two data sets",p:{x:{d:"is the value at which to evaluate the function, a nonnegative number"},degFreedom1:{d:"is the numerator degrees of freedom, a number between 1 and 10^10, excluding 10^10"},degFreedom2:{d:"is the denominator degrees of freedom, a number between 1 and 10^10, excluding 10^10"}},c:"Compatibility"},"F.DIST.RT":{s:"Returns the (right-tailed) F probability distribution (degree of diversity) for two data sets",p:{x:{d:"is the value at which to evaluate the function, a nonnegative number"},degFreedom1:{d:"is the numerator degrees of freedom, a number between 1 and 10^10, excluding 10^10"},degFreedom2:{d:"is the denominator degrees of freedom, a number between 1 and 10^10, excluding 10^10"}}},"F.INV":{s:"Returns the inverse of the (left-tailed) F probability distribution: if p = F.DIST(x,...), then F.INV(p,...) = x",p:{probability:{d:"is a probability associated with the F cumulative distribution, a number between 0 and 1 inclusive"},degFreedom1:{d:"is the numerator degrees of freedom, a number between 1 and 10^10, excluding 10^10"},degFreedom2:{d:"is the denominator degrees of freedom, a number between 1 and 10^10, excluding 10^10"}}},FINV:{s:"Returns the inverse of the (left-tailed) F probability distribution: if p = F.DIST(x,...), then F.INV(p,...) = x",p:{probability:{d:"is a probability associated with the F cumulative distribution, a number between 0 and 1 inclusive"},degFreedom1:{d:"is the numerator degrees of freedom, a number between 1 and 10^10, excluding 10^10"},degFreedom2:{d:"is the denominator degrees of freedom, a number between 1 and 10^10, excluding 10^10"}},c:"Compatibility"},"F.INV.RT":{s:"Returns the inverse of the (right-tailed) F probability distribution: if p = F.DIST.RT(x,...), then F.INV.RT(p,...) = x",p:{probability:{d:"is a probability associated with the F cumulative distribution, a number between 0 and 1 inclusive"},degFreedom1:{d:"is the numerator degrees of freedom, a number between 1 and 10^10, excluding 10^10"},degFreedom2:{d:"is the denominator degrees of freedom, a number between 1 and 10^10, excluding 10^10"}}},"F.TEST":{s:"Returns the result of an F-test, the two-tailed probability that the variances in Array1 and Array2 are not significantly different",p:{array1:{d:"is the first array or range of data and can be numbers or names, arrays, or references that contain numbers (blanks are ignored)"},array2:{d:"is the second array or range of data and can be numbers or names, arrays, or references that contain numbers (blanks are ignored)"}}},FTEST:{s:"Returns the result of an F-test, the two-tailed probability that the variances in Array1 and Array2 are not significantly different",p:{array1:{d:"is the first array or range of data and can be numbers or names, arrays, or references that contain numbers (blanks are ignored)"},array2:{d:"is the second array or range of data and can be numbers or names, arrays, or references that contain numbers (blanks are ignored)"}},c:"Compatibility"},FISHER:{s:"Returns the Fisher transformation",p:{x:{d:"is the value for which you want the transformation, a number between -1 and 1, excluding -1 and 1"}}},FISHERINV:{s:"Returns the inverse of the Fisher transformation: if y = FISHER(x), then FISHERINV(y) = x",p:{y:{d:"is the value for which you want to perform the inverse of the transformation"}}},FORECAST:{s:"Calculates, or predicts, a future value along a linear trend by using existing values",p:{x:{d:"is the data point for which you want to predict a value and must be a numeric value"},knownYs:{d:"is the dependent array or range of numeric data",v:null},knownXs:{d:"is the independent array or range of numeric data. The variance of Known_x's must not be zero",v:null}},c:"Compatibility"},"FORECAST.ETS":{s:"Returns the forecasted value for a specific future target date using exponential smoothing method",p:{targetDate:{d:"is the data point for which you want to predict a value. It should carry on the pattern of values in the timeline"},values:{d:"is the array or range of numberic data you're predicting"},timeline:{d:"is the independent array or range of numberic data. The dtes in the timeline must have a consistent step between them and can't be zero."},seasonality:{d:"is a number value that indicates the length of the seasonal pattern in the data. It must be between 0 and 1, where 0 means no seasonality and 1 means full seasonality",v:.95},dataCompletion:{d:"is a number value that indicates how much of the data is complete. It must be between 0 and 1, where 0 means no data is complete and 1 means all data is complete",v:1},aggregation:{d:"is a number value that indicates how the data should be aggregated. It must be between 0 and 1, where 0 means no aggregation and 1 means full aggregation",v:1}},h:"Unimplemented"},"FORECAST.ETS.CONFINT":{s:"Retursn a confidence interval for the forecasted value at the specified target date",p:{targetDate:{d:"is the data point for which you want to predict a value. It should carry on the pattern of values in the timeline"},values:{d:"is the array or range of numberic data you're predicting"},timeline:{d:"is the independent array or range of numberic data. The dtes in the timeline must have a consistent step between them and can't be zero."},confiedenceLevel:{d:"is a number value that indicates the confidence level for the forecasted value. It must be between 0 and 1, where 0 means no confidence and 1 means full confidence",v:.95},seasonality:{d:"is a number value that indicates the length of the seasonal pattern in the data. It must be between 0 and 1, where 0 means no seasonality and 1 means full seasonality",v:.95},dataCompletion:{d:"is a number value that indicates how much of the data is complete. It must be between 0 and 1, where 0 means no data is complete and 1 means all data is complete",v:1},aggregation:{d:"is a number value that indicates how the data should be aggregated. It must be between 0 and 1, where 0 means no aggregation and 1 means full aggregation",v:1}},h:"Unimplemented"},"FORECAST.ETS.SEASONALITY":{s:"Returns the length of the repetitive pattern in the data for the specific time series.",p:{values:{d:"is the array or range of numberic data you're predicting"},timeline:{d:"is the independent array or range of numberic data. The dtes in the timeline must have a consistent step between them and can't be zero."},dataCompletion:{d:"is a number value that indicates how much of the data is complete. It must be between 0 and 1, where 0 means no data is complete and 1 means all data is complete",v:1},aggregation:{d:"is a number value that indicates how the data should be aggregated. It must be between 0 and 1, where 0 means no aggregation and 1 means full aggregation",v:1}},h:"Unimplemented"},"FORECAST.ETS.STAT":{s:"Returns the requested statistic for the forecast",p:{values:{d:"is the array or range of numberic data you're predicting"},timeline:{d:"is the independent array or range of numberic data. The dtes in the timeline must have a consistent step between them and can't be zero."},statisticType:{d:"is a number between 1 and 8 that indicates the type of statistic to return:"},seasonality:{d:"is a number value that indicates the length of the seasonal pattern in the data. It must be between 0 and 1, where 0 means no seasonality and 1 means full seasonality",v:1},dataCompletion:{d:"is a number value that indicates how much of the data is complete. It must be between 0 and 1, where 0 means no data is complete and 1 means all data is complete",v:1},aggregation:{d:"is a number value that indicates how the data should be aggregated. It must be between 0 and 1, where 0 means no aggregation and 1 means full aggregation",v:1}},h:"Unimplemented"},"FORECAST.LINEAR":{s:"Calculates, or predicts, a future value along a linear trend by using existing values",p:{x:{d:"is the data point for which you want to predict a value and must be a numeric value"},knownYs:{d:"is the dependent array or range of numeric data"},knownXs:{d:"is the independent array or range of numeric data. The variance of Known_x's must not be zero",v:null}},h:"Unimplemented"},FREQUENCY:{s:"Calculates how often values occur within a range of values and then returns a vertical array of numbers having one more element than Bins_array",p:{dataArray:{d:"is an array of or reference to a set of values for which you want to count frequencies (blanks and text are ignored)"},binsArray:{d:"is an array of or reference to intervals into which you want to group the values in data_array"}}},GAMMA:{s:"Returns the Gamma function value",p:{x:{d:"is the value for which you want to calculate Gamma"}}},"GAMMA.DIST":{s:"Returns the gamma distribution",p:{x:{d:"is the value at which you want to evaluate the distribution, a nonnegative number"},alpha:{d:"is a parameter to the distribution, a positive number"},beta:{d:"is a parameter to the distribution, a positive number. If beta = 1, GAMMA.DIST returns the standard gamma distribution"},cumulative:{d:"is a logical value: return the cumulative distribution function = TRUE; return the probability mass function = FALSE",v:!1}}},"GAMMA.INV":{s:"Returns the inverse of the gamma cumulative distribution: if p = GAMMA.DIST(x,...), then GAMMA.INV(p,...) = x",p:{probability:{d:"is the probability associated with the gamma distribution, a number between 0 and 1, inclusive"},alpha:{d:"is a parameter to the distribution, a positive number"},beta:{d:"is a parameter to the distribution, a positive number. If beta = 1, GAMMA.DIST returns the standard gamma distribution"}}},GAMMALN:{s:"Returns the natural logarithm of the gamma function",p:{x:{d:"is the value for which you want to calculate GAMMALN, a positive number"}}},"GAMMALN.PRECISE":{s:"Returns the natural logarithm of the gamma function",p:{x:{d:"is the value for which you want to calculate GAMMALN.PRECISE, a positive number"}}},GAUSS:{s:"Returns 0.5 less than the standard normal cumulative distribution",p:{x:{d:"is the value for which you want the distribution"}}},GEOMEAN:{s:"Returns the geometric mean of an array or range of positive numeric data",p:{number:{d:"number1,number2,... are 1 to 255 numbers or names, arrays, or references that contain numbers for which you want the mean"}}},GROWTH:{s:"Returns numbers in an exponential growth trend matching known data points",p:{knownYs:{d:"is the set of y-values you already know in the relationship y = b*m^x, an array or range of positive numbers"},knownXs:{d:"is an optional set of x-values that you may already know in the relationship y = b*m^x, an array or range the same size as Known_y's",v:null},newXs:{d:"are new x-values for which you want GROWTH to return corresponding y-values",v:null},useConst:{d:"is a logical value: the constant b is calculated normally if Const = TRUE; b is set equal to 1 if Const = FALSE",v:!0}}},HARMEAN:{s:"Returns the harmonic mean of a data set of positive numbers: the reciprocal of the arithmetic mean of reciprocals",p:{number:{d:"number1,number2,... are 1 to 255 numbers or names, arrays, or references that contain numbers for which you want the harmonic mean"}}},"HYPGEOM.DIST":{s:"Returns the hypergeometric distribution",p:{sampleS:{d:"is the number of successes in the sample"},numberSample:{d:"is the size of the sample"},populationS:{d:"is the number of successes in the population"},numberPop:{d:"is the population size"},cumulative:{d:"is a logical value: for the cumulative distribution function, use TRUE; for the probability density function, use FALSE"}}},INTERCEPT:{s:"Calculates the point at which a line will intersect the y-axis by using a best-fit regression line plotted through the known x-values and y-values",p:{knownYs:{d:"is the dependent set of observations or data and can be numbers or names, arrays, or references that contain numbers"},knownXs:{d:"is the independent set of observations or data and can be numbers or names, arrays, or references that contain numbers"}}},KURT:{s:"Returns the kurtosis of a data set",p:{number:{d:"number1,number2,... are 1 to 255 numbers or names, arrays, or references that contain numbers for which you want the kurtosis"}}},LINEST:{s:"Returns statistics that describe a linear trend matching known data points, by fitting a straight line using the least squares method",p:{knownYs:{d:"is the set of y-values you already know in the relationship y = mx + b"},knownXs:{d:"is an optional set of x-values that you may already know in the relationship y = mx + b",v:null},constant:{d:"is a logical value: the constant b is calculated normally if Const = TRUE; b is set equal to 0 if Const = FALSE",v:!0},stats:{d:"is a logical value: return additional regression statistics = TRUE; return m-coefficients and the constant b = FALSE",v:!1}}},LOGEST:{s:"Returns statistics that describe an exponential curve matching known data points",p:{knownYs:{d:"is the set of y-values you already know in the relationship y = b*m^x"},knownXs:{d:"is an optional set of x-values that you may already know in the relationship y = b*m^x",v:null},constant:{d:"is a logical value: the constant b is calculated normally if Const = TRUE; b is set equal to 1 if Const = FALSE",v:!0},stats:{d:"is a logical value: return additional regression statistics = TRUE; return m-coefficients and the constant b = FALSE",v:!1}},h:"Unimplemented Buggy"},"LOGNORM.DIST":{s:"Returns the lognormal distribution of x, where ln(x) is normally distributed with parameters Mean and Standard_dev",p:{x:{d:"is the value at which to evaluate the function, a positive number"},mean:{d:"is the mean of ln(x)"},standardDev:{d:"is the standard deviation of ln(x), a positive number"},cumulative:{d:"is a logical value: for the cumulative distribution function, use TRUE; for the probability density function, use FALSE"}}},"LOGNORM.INV":{s:"Returns the inverse of the lognormal cumulative distribution function of x, where ln(x) is normally distributed with parameters Mean and Standard_dev",p:{probability:{d:"is a probability associated with the lognormal distribution, a number between 0 and 1, inclusive"},mean:{d:"is the mean of ln(x)"},standardDev:{d:"is the standard deviation of ln(x), a positive number"}}},"MODE.MULT":{s:"Returns a vertical array of the most frequently occurring, or repetitive, values in an array or range of data. For a horizontal array, use =TRANSPOSE(MODE.MULT(number1,number2,...))",p:{number:{d:'<div class="param-538">number1,number2,... are 1 to 255 numbers, or names, arrays, or references that contain numbers for which you want the mode</div>'}},h:"Unimplemented"},"MODE.SNGL":{s:"Returns the most frequently occurring, or repetitive, value in an array or range of data",p:{number:{d:"number1,number2,... are 1 to 255 numbers, or names, arrays, or references that contain numbers for which you want the mode"}},h:"Unimplemented"},"NEGBINOM.DIST":{s:"Returns the negative binomial distribution, the probability that there will be Number_f failures before the Number_s-th success, with Probability_s probability of a success",p:{numberF:{d:"is the number of failures"},numberS:{d:"is the threshold number of successes"},probabilityS:{d:"is the probability of a success; a number between 0 and 1"},cumulative:{d:"is a logical value: for the cumulative distribution function, use TRUE; for the probability mass function, use FALSE"}}},"NORM.DIST":{s:"Returns the normal distribution for the specified mean and standard deviation",p:{x:{d:"is the value for which you want the distribution"},mean:{d:"is the arithmetic mean of the distribution"},standardDev:{d:"is the standard deviation of the distribution, a positive number"},cumulative:{d:"is a logical value: for the cumulative distribution function, use TRUE; for the probability density function, use FALSE"}}},"NORM.INV":{s:"Returns the inverse of the normal cumulative distribution for the specified mean and standard deviation",p:{probability:{d:"is a probability corresponding to the normal distribution, a number between 0 and 1 inclusive"},mean:{d:"is the arithmetic mean of the distribution"},standardDev:{d:"is the standard deviation of the distribution, a positive number"}}},"NORM.S.DIST":{s:"Returns the standard normal distribution (has a mean of zero and a standard deviation of one)",p:{z:{d:"is the value for which you want the distribution"},cumulative:{d:"is a logical value for the function to return: the cumulative distribution function = TRUE; the probability density function = FALSE"}}},"NORM.S.INV":{s:"Returns the inverse of the standard normal cumulative distribution (has a mean of zero and a standard deviation of one)",p:{probability:{d:"is a probability corresponding to the normal distribution, a number between 0 and 1 inclusive"}}},PEARSON:{s:"Returns the Pearson product moment correlation coefficient, r",p:{array1:{d:"is a set of independent values"},array2:{d:"is a set of dependent values"}}},"PERCENTILE.EXC":{s:"Returns the k-th percentile of values in a range, where k is in the range 0..1, exclusive",p:{array:{d:"is the array or range of data that defines relative standing"},k:{d:"is the percentile value that is between 0 through 1, inclusive"}},h:"Unimplemented"},"PERCENTILE.INC":{s:"Returns the k-th percentile of values in a range, where k is in the range 0..1, inclusive",p:{array:{d:"is the array or range of data that defines relative standing"},k:{d:"is the percentile value that is between 0 through 1, inclusive"}},h:"Unimplemented"},"PERCENTRANK.EXC":{s:"Returns the rank of a value in a data set as a percentage (0..1, exclusive) of the data set",p:{array:{d:"is the array or range of data with numeric values that defines relative standing"},x:{d:"is the value for which you want to know the rank"},significance:{d:"is an optional value that identifies the number of significant digits for the returned percentage",v:3}},h:"Unimplemented"},"PERCENTRANK.INC":{s:"Returns the rank of a value in a data set as a percentage (0..1, inclusive) of the data set",p:{array:{d:"is the array or range of data with numeric values that defines relative standing"},x:{d:"is the value for which you want to know the rank"},significance:{d:"is an optional value that identifies the number of significant digits for the returned percentage",v:3}},h:"Unimplemented"},PHI:{s:"Returns the value of the density function for a standard normal distribution",p:{x:{d:"is the number for which you want the density of the standard normal distribution"}}},"POISSON.DIST":{s:"Returns the Poisson distribution",p:{x:{d:"is the number of events"},mean:{d:"is the expected numeric value, a positive number"},cumulative:{d:"is a logical value: for the cumulative Poisson probability, use TRUE; for the Poisson probability mass function, use FALSE"}}},PROB:{s:"Returns the probability that values in a range are between two limits or equal to a lower limit",p:{xRange:{d:"is the range of numeric values of x with which there are associated probabilities"},probRange:{d:"is the set of probabilities associated with values in X_range, values between 0 and 1 and excluding 0"},lowerLimit:{d:"is the lower bound on the value for which you want a probability"},upperLimit:{d:"is the optional upper bound on the value. If omitted, PROB returns the probability that X_range values are equal to Lower_limit"}}},"QUARTILE.EXC":{s:"Returns the quartile of a data set, based on percentile values from 0..1, exclusive",p:{array:{d:"is the array or cell range of numeric values for which you want the quartile value"},quart:{d:"is a number: minimum value = 0; 1st quartile = 1; median value = 2; 3rd quartile = 3; maximum value = 4"}},h:"Unimplemented"},"QUARTILE.INC":{s:"Returns the quartile of a data set, based on percentile values from 0..1, inclusive",p:{array:{d:"is the array or cell range of numeric values for which you want the quartile value"},quart:{d:"is a number: minimum value = 0; 1st quartile = 1; median value = 2; 3rd quartile = 3; maximum value = 4"}},h:"Unimplemented"},"RANK.AVG":{s:"Returns the rank of a number in a list of numbers: its size relative to other values in the list; if more than one value has the same rank, the average rank is returned",p:{number:{d:"is the number for which you want to find the rank"},ref:{d:"is an array of, or a reference to, a list of numbers. Nonnumeric values are ignored"},order:{d:"is a number: rank in the list sorted descending = 0; rank in the list sorted ascending = any nonzero value",v:0}},h:"Unimplemented"},"RANK.EQ":{s:"Returns the rank of a number in a list of numbers: its size relative to other values in the list; if more than one value has the same rank, the top rank of that set of values is returned",p:{number:{d:"is the number for which you want to find the rank"},ref:{d:"is an array of, or a reference to, a list of numbers. Nonnumeric values are ignored"},order:{d:"is a number: rank in the list sorted descending = 0; rank in the list sorted ascending = any nonzero value",v:0}},h:"Unimplemented"},RSQ:{s:"Returns the square of the Pearson product moment correlation coefficient through the given data points",p:{knownYs:{d:"is an array or range of data points and can be numbers or names, arrays, or references that contain numbers"},knownXs:{d:"is an array or range of data points and can be numbers or names, arrays, or references that contain numbers"}},h:"Unimplemented"},SKEW:{s:"Returns the skewness of a distribution: a characterization of the degree of asymmetry of a distribution around its mean",p:{number:{d:"number1,number2,... are 1 to 255 numbers or names, arrays, or references that contain numbers for which you want the skewness"}},h:"Unimplemented"},"SKEW.P":{s:"Returns the skewness of a distribution based on a population: a characterization of the degree of asymmetry of a distribution around its mean",p:{number:{d:"number1,number2,... are 1 to 254 numbers or names, arrays, or references that contain numbers for which you want the population skewness"}},h:"Unimplemented"},SLOPE:{s:"Returns the slope of the linear regression line through the given data points",p:{knownYs:{d:"is an array or cell range of numeric dependent data points and can be numbers or names, arrays, or references that contain numbers"},knownXs:{d:"iis the set of independent data points and can be numbers or names, arrays, or references that contain numbers"}}},STANDARDIZE:{s:"Returns a normalized value from a distribution characterized by a mean and standard deviation",p:{x:{d:"is the value you want to normalize"},mean:{d:"is the arithmetic mean of the distribution"},standardDev:{d:"is the standard deviation of the distribution, a positive number"}}},"STDEV.P":{s:"Calculates standard deviation based on the entire population given as arguments (ignores logical values and text)",p:{number:{d:"number1,number2,... are 1 to 255 numbers corresponding to a population and can be numbers or references that contain numbers"}},h:"Unimplemented"},"STDEV.S":{s:"Estimates standard deviation based on a sample (ignores logical values and text in the sample)",p:{number:{d:"number1,number2,... are 1 to 255 numbers corresponding to a sample of a population and can be numbers or references that contain numbers"}}},STDEVA:{s:"Estimates standard deviation based on a sample, including logical values and text. Text and the logical value FALSE have the value 0; the logical value TRUE has the value 1",p:{value:{d:"value1,value2,... are 1 to 255 values corresponding to a sample of a population and can be values or names or references to values"}},h:"Unimplemented"},STDEVPA:{s:"Calculates standard deviation based on an entire population, including logical values and text. Text and the logical value FALSE have the value 0; the logical value TRUE has the value 1",p:{value:{d:"value1,value2,... are 1 to 255 values corresponding to a population and can be values, names, arrays, or references that contain values"}},h:"Unimplemented"},STEYX:{s:"Returns the standard error of the predicted y-value for each x in a regression",p:{knownYs:{d:"is an array or range of dependent data points and can be numbers or names, arrays, or references that contain numbers"},knownXs:{d:"is an array or range of independent data points and can be numbers or names, arrays, or references that contain numbers"}},h:"Unimplemented"},"T.DIST":{s:"Returns the left-tailed Student's t-distribution",p:{x:{d:"is the numeric value at which to evaluate the distribution"},degFreedom:{d:"is an integer indicating the number of degrees of freedom that characterize the distribution"},cumulative:{d:"is a logical value: for the cumulative distribution function, use TRUE; for the probability density function, use FALSE"}}},"T.DIST.2T":{s:"Returns the two-tailed Student's t-distribution",p:{x:{d:"is the numeric value at which to evaluate the distribution"},degFreedom:{d:"is an integer indicating the number of degrees of freedom that characterize the distribution"}}},"T.DIST.RT":{s:"Returns the right-tailed Student's t-distribution",p:{x:{d:"is the numeric value at which to evaluate the distribution"},degFreedom:{d:"is an integer indicating the number of degrees of freedom that characterize the distribution"}}},"T.INV":{s:"Returns the left-tailed inverse of the Student's t-distribution",p:{probability:{d:"is the probability associated with the two-tailed Student's t-distribution, a number between 0 and 1 inclusive"},degFreedom:{d:"is a positive integer indicating the number of degrees of freedom to characterize the distribution"}}},"T.INV.2T":{s:"Returns the two-tailed inverse of the Student's t-distribution",p:{probability:{d:"is the probability associated with the two-tailed Student's t-distribution, a number between 0 and 1 inclusive"},degFreedom:{d:"is a positive integer indicating the number of degrees of freedom to characterize the distribution"}}},"T.TEST":{s:"Returns the probability associated with a Student's t-Test",p:{array1:{d:"is the first data set"},array2:{d:"is the second data set"},tails:{d:"specifies the number of distribution tails to return: one-tailed distribution = 1; two-tailed distribution = 2"},type:{d:"is the kind of t-test: paired = 1, two-sample equal variance (homoscedastic) = 2, two-sample unequal variance = 3"}},h:"Unimplemented"},TREND:{s:"Returns numbers in a linear trend matching known data points, using the least squares method",p:{knownYs:{d:"is a range or array of y-values you already know in the relationship y = mx + b"},knownXs:{d:"is an optional range or array of x-values that you know in the relationship y = mx + b, an array the same size as Known_y's",v:null},newXs:{d:"is a range or array of new x-values for which you want TREND to return corresponding y-values",v:null},consts:{d:"is a logical value: the constant b is calculated normally if Const = TRUE; b is set equal to 0 if Const = FALSE",v:!0}},h:"Unimplemented"},TRIMMEAN:{s:"Returns the mean of the interior portion of a set of data values",p:{array:{d:"is the range or array of values to trim and average"},percent:{d:"is the fractional number of data points to exclude from the top and bottom of the data set"}},h:"Unimplemented"},"VAR.P":{s:"Calculates variance based on the entire population (ignores logical values and text in the population)",p:{number:{d:"number1,number2,... are 1 to 255 numeric arguments corresponding to a population"}}},"VAR.S":{s:"Estimates variance based on a sample (ignores logical values and text in the sample)",p:{number:{d:"number1,number2,... are 1 to 255 numeric arguments corresponding to a sample of a population"}}},VARA:{s:"Estimates variance based on a sample, including logical values and text. Text and the logical value FALSE have the value 0; the logical value TRUE has the value 1",p:{value:{d:"value1,value2,... are 1 to 255 value arguments corresponding to a sample of a population"}}},VARPA:{s:"Calculates variance based on the entire population, including logical values and text. Text and the logical value FALSE have the value 0; the logical value TRUE has the value 1",p:{value:{d:"value1,value2,... are 1 to 255 value arguments corresponding to a population"}}},"WEIBULL.DIST":{s:"Returns the Weibull distribution",p:{x:{d:"is the value at which to evaluate the function, a nonnegative number"},alpha:{d:"is a parameter to the distribution, a positive number"},beta:{d:"is a parameter to the distribution, a positive number"},cumulative:{d:"is a logical value: for the cumulative distribution function, use TRUE; for the probability mass function, use FALSE"}}},"Z.TEST":{s:"Returns the one-tailed P-value of a z-test",p:{array:{d:"is the array or range of data against which to test X"},x:{d:"is the value to test"},sigma:{d:"is the population (known) standard deviation. If omitted, the sample standard deviation is used",v:0}}}};export{e as default};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.13
|
|
3
|
+
*
|
|
4
|
+
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
+
*/
|
|
7
|
+
const e={BESSELI:{s:"Returns the modified Bessel function In(x)",p:{x:{d:"is the value at which to evaluate the function"},n:{d:"is the order of the Bessel function"}}},BESSELJ:{s:"Returns the Bessel function Jn(x)",p:{x:{d:"is the value at which to evaluate the function"},n:{d:"is the order of the Bessel function"}}},BESSELK:{s:"Returns the modified Bessel function Kn(x)",p:{x:{d:"is the value at which to evaluate the function"},n:{d:"is the order of the function"}}},BESSELY:{s:"Returns the Bessel function Yn(x)",p:{x:{d:"is the value at which to evaluate the function"},n:{d:"is the order of the function"}}}};export{e as default};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.13
|
|
3
|
+
*
|
|
4
|
+
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
+
*/
|
|
7
|
+
const e={DATE:{s:"Returns the number that represents the date in Microsoft Excel date-time code",p:{year:{d:"is a number from 1900 or 1904 (depending on the workbook's date system) to 9999"},month:{d:"is a number from 1 to 12 representing the month of the year"},day:{d:"is a number from 1 to 31 representing the day of the month"}}},DATEDIF:{s:"Returns the number of days between two dates",p:{startDate:{d:"is a serial date number that represents the start date"},endDate:{d:"is a serial date number that represents the end date"},unit:{d:"is a string that specifies the unit of time to use"}},h:"Legacy"},DATESTRING:{s:"Returns NA.",p:{number:{d:"is a number that is ignored"}},h:"Legacy"},DATEVALUE:{s:"Converts a date in the form of text to a number that represents the date in Microsoft Excel date-time code",p:{dateText:{d:"is text that represents a date in a Microsoft Excel date format, between 1/1/1900 or 1/1/1904 (depending on the workbook's date system) and 12/31/9999"}}},DAY:{s:"Returns the day of the month, a number from 1 to 31.",p:{serialOrString:{d:"is a number in the date-time code used by Excel or text in time format, such as 16:48:00 or 4:48:00 PM"}}},DAYS:{s:"Returns the number of days between the two dates.",p:{endDate:{d:"start_date and end_date are the two dates between which you want to know the number of days"},startDate:{d:"start_date and end_date are the two dates between which you want to know the number of days"}}},DAYS360:{s:"Returns the number of days between two dates based on a 360-day year (twelve 30-day months)",p:{startDate:{d:"start_date and end_date are the two dates between which you want to know the number of days"},endDate:{d:"start_date and end_date are the two dates between which you want to know the number of days"},method:{d:"is a logical value specifying the calculation method: U.S. (NASD) = FALSE; European = TRUE.",v:!1}}},EDATE:{s:"Returns the serial number of the date that is the indicated number of months before or after the start date",p:{startDate:{d:"is a serial date number that represents the start date"},months:{d:"is the number of months before or after start_date"}}},EOMONTH:{s:"Returns the serial number of the last day of the month before or after a specified number of months",p:{startDate:{d:"is a serial date number that represents the start date"},months:{d:"is the number of months before or after the start_date"}}},HOUR:{s:"Returns the hour as a number from 0 (12:00 A.M.) to 23 (11:00 P.M.).",p:{serialOrString:{d:"is a number in the date-time code used by Excel or text in time format, such as 16:48:00 or 4:48:00 PM"}}},ISOWEEKNUM:{s:"Returns the ISO week number in the year for a given date",p:{serialOrString:{d:"is a number in the date-time code used by Excel or text in time format, such as 16:48:00 or 4:48:00 PM"}}},MINUTE:{s:"Returns the minute, a number from 0 to 59.",p:{serialOrString:{d:"is a number in the date-time code used by Excel or text in time format, such as 16:48:00 or 4:48:00 PM"}}},MONTH:{s:"Returns the month, a number from 1 (January) to 12 (December).",p:{serialOrString:{d:"is a number in the date-time code used by Excel"}}},NETWORKDAYS:{s:"Returns the number of whole workdays between two dates",p:{startDate:{d:"is a serial date number that represents the start date"},endDate:{d:"is a serial date number that represents the end date"},holidays:{d:"is an optional set of one or more serial date numbers to exclude from the working calendar, such as state and federal holidays and floating holidays",v:null}}},"NETWORKDAYS.INTL":{s:"Returns the number of whole workdays between two dates with custom weekend parameters",p:{startDate:{d:"is a serial date number that represents the start date"},endDate:{d:"is a serial date number that represents the end date"},weekend:{d:"is a number or string specifying when weekends occur",v:1},holidays:{d:"is an optional set of one or more serial date numbers to exclude from the working calendar, such as state and federal holidays and floating holidays",v:null}}},NOW:{s:"Returns the current date and time formatted as a date and time.",p:{}},SECOND:{s:"Returns the second, a number from 0 to 59.",p:{serialOrString:{d:"is a number in the date-time code used by Excel or text in time format, such as 16:48:23 or 4:48:47 PM"}}},TIME:{s:"Converts hours, minutes, and seconds given as numbers to an Excel serial number, formatted with a time format",p:{hour:{d:"is a number from 0 to 23 representing the hour"},minute:{d:"is a number from 0 to 59 representing the minute"},second:{d:"is a number from 0 to 59 representing the second"}}},TIMEVALUE:{s:"Converts a text time to an Excel serial number for a time, a number from 0 (12:00:00 AM) to 0.999988426 (11:59:59 PM). Format the number with a time format after entering the formula",p:{timeText:{d:"is a text string that gives a time in any one of the Excel time formats (date information in the string is ignored)"}}},TODAY:{s:"Returns the current date formatted as a date.",p:{}},WEEKDAY:{s:"Returns a number from 1 to 7 identifying the day of the week of a date.",p:{serialOrString:{d:"is a number that represents a date"},returnType:{d:"is a number: for Sunday=1 through Saturday=7, use 1; for Monday=1 through Sunday=7, use 2; for Monday=0 through Sunday=6, use 3",v:1}}},WEEKNUM:{s:"Returns the week number in the year",p:{serialOrString:{d:"is the date-time code used by Excel for date and time calculation"},returnType:{d:"is a number (1 or 2) that determines the type of the return value",v:1}}},WORKDAY:{s:"Returns the serial number of the date before or after a specified number of workdays",p:{startDate:{d:"is a serial date number that represents the start date"},days:{d:"is the number of nonweekend and non-holiday days before or after start_date"},holidays:{d:"is an optional array of one or more serial date numbers to exclude from the working calendar, such as state and federal holidays and floating holidays",v:null}}},"WORKDAY.INTL":{s:"Returns the serial number of the date before or after a specified number of workdays with custom weekend parameters",p:{startDate:{d:"is a serial date number that represents the start date"},days:{d:"is the number of nonweekend and non-holiday days before or after start_date"},weekend:{d:"is a number or string specifying when weekends occur",v:1},holidays:{d:"is an optional array of one or more serial date numbers to exclude from the working calendar, such as state and federal holidays and floating holidays",v:null}}},YEAR:{s:"Returns the year of a date, an integer in the range 1900 - 9999.",p:{serialOrString:{d:"is a number in the date-time code used by Excel"}}},YEARFRAC:{s:"Returns the year fraction representing the number of whole days between start_date and end_date",p:{startDate:{d:"is a serial date number that represents the start date"},endDate:{d:"is a serial date number that represents the end date"},basis:{d:"is the type of day count basis to use",v:0}}}};export{e as default};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.13
|
|
3
|
+
*
|
|
4
|
+
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
+
*/
|
|
7
|
+
import{aN as e}from"./4GgcUVhUmQmiv9Ha.mjs";var t,i={exports:{}},r=(t||(t=1,i.exports=function e(){var t,i="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==i?i:{},r=!i.document&&!!i.postMessage,n=i.IS_PAPA_WORKER||!1,s={},a=0,o={};function h(e){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},function(e){var t=k(e);t.chunkSize=parseInt(t.chunkSize),e.step||e.chunk||(t.chunkSize=null),this._handle=new c(t),(this._handle.streamer=this)._config=t}.call(this,e),this.parseChunk=function(e,t){var r=parseInt(this._config.skipFirstNLines)||0;if(this.isFirstChunk&&0<r){let t=this._config.newline;t||(s=this._config.quoteChar||'"',t=this._handle.guessLineEndings(e,s)),e=[...e.split(t).slice(r)].join(t)}this.isFirstChunk&&v(this._config.beforeFirstChunk)&&void 0!==(s=this._config.beforeFirstChunk(e))&&(e=s),this.isFirstChunk=!1,this._halted=!1,r=this._partialLine+e;var s=(this._partialLine="",this._handle.parse(r,this._baseIndex,!this._finished));if(!this._handle.paused()&&!this._handle.aborted()){if(e=s.meta.cursor,this._finished||(this._partialLine=r.substring(e-this._baseIndex),this._baseIndex=e),s&&s.data&&(this._rowCount+=s.data.length),r=this._finished||this._config.preview&&this._rowCount>=this._config.preview,n)i.postMessage({results:s,workerId:o.WORKER_ID,finished:r});else if(v(this._config.chunk)&&!t){if(this._config.chunk(s,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);this._completeResults=s=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(s.data),this._completeResults.errors=this._completeResults.errors.concat(s.errors),this._completeResults.meta=s.meta),this._completed||!r||!v(this._config.complete)||s&&s.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),r||s&&s.meta.paused||this._nextChunk(),s}this._halted=!0},this._sendError=function(e){v(this._config.error)?this._config.error(e):n&&this._config.error&&i.postMessage({workerId:o.WORKER_ID,error:e,finished:!1})}}function u(e){var t;(e=e||{}).chunkSize||(e.chunkSize=o.RemoteChunkSize),h.call(this,e),this._nextChunk=r?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(e){this._input=e,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(t=new XMLHttpRequest,this._config.withCredentials&&(t.withCredentials=this._config.withCredentials),r||(t.onload=b(this._chunkLoaded,this),t.onerror=b(this._chunkError,this)),t.open(this._config.downloadRequestBody?"POST":"GET",this._input,!r),this._config.downloadRequestHeaders){var e,i=this._config.downloadRequestHeaders;for(e in i)t.setRequestHeader(e,i[e])}var n;this._config.chunkSize&&(n=this._start+this._config.chunkSize-1,t.setRequestHeader("Range","bytes="+this._start+"-"+n));try{t.send(this._config.downloadRequestBody)}catch(e){this._chunkError(e.message)}r&&0===t.status&&this._chunkError()}},this._chunkLoaded=function(){4===t.readyState&&(t.status<200||400<=t.status?this._chunkError():(this._start+=this._config.chunkSize||t.responseText.length,this._finished=!this._config.chunkSize||this._start>=(e=>null!==(e=e.getResponseHeader("Content-Range"))?parseInt(e.substring(e.lastIndexOf("/")+1)):-1)(t),this.parseChunk(t.responseText)))},this._chunkError=function(e){e=t.statusText||e,this._sendError(new Error(e))}}function d(e){(e=e||{}).chunkSize||(e.chunkSize=o.LocalChunkSize),h.call(this,e);var t,i,r="undefined"!=typeof FileReader;this.stream=function(e){this._input=e,i=e.slice||e.webkitSlice||e.mozSlice,r?((t=new FileReader).onload=b(this._chunkLoaded,this),t.onerror=b(this._chunkError,this)):t=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var e=this._input,n=(this._config.chunkSize&&(n=Math.min(this._start+this._config.chunkSize,this._input.size),e=i.call(e,this._start,n)),t.readAsText(e,this._config.encoding));r||this._chunkLoaded({target:{result:n}})},this._chunkLoaded=function(e){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(e.target.result)},this._chunkError=function(){this._sendError(t.error)}}function f(e){var t;h.call(this,e=e||{}),this.stream=function(e){return t=e,this._nextChunk()},this._nextChunk=function(){var e,i;if(!this._finished)return e=this._config.chunkSize,t=e?(i=t.substring(0,e),t.substring(e)):(i=t,""),this._finished=!t,this.parseChunk(i)}}function l(e){h.call(this,e=e||{});var t=[],i=!0,r=!1;this.pause=function(){h.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){h.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(e){this._input=e,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){r&&1===t.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),t.length?this.parseChunk(t.shift()):i=!0},this._streamData=b(function(e){try{t.push("string"==typeof e?e:e.toString(this._config.encoding)),i&&(i=!1,this._checkIsFinished(),this.parseChunk(t.shift()))}catch(e){this._streamError(e)}},this),this._streamError=b(function(e){this._streamCleanUp(),this._sendError(e)},this),this._streamEnd=b(function(){this._streamCleanUp(),r=!0,this._streamData("")},this),this._streamCleanUp=b(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function c(e){var t,i,r,n,s=Math.pow(2,53),a=-s,h=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,u=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,d=this,f=0,l=0,c=!1,_=!1,m=[],y={data:[],errors:[],meta:{}};function b(t){return"greedy"===e.skipEmptyLines?""===t.join("").trim():1===t.length&&0===t[0].length}function w(){if(y&&r&&(R("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+o.DefaultDelimiter+"'"),r=!1),e.skipEmptyLines&&(y.data=y.data.filter(function(e){return!b(e)})),E()){if(y)if(Array.isArray(y.data[0])){for(var t=0;E()&&t<y.data.length;t++)y.data[t].forEach(d);y.data.splice(0,1)}else y.data.forEach(d);function d(t,i){v(e.transformHeader)&&(t=e.transformHeader(t,i)),m.push(t)}}function i(t,i){for(var r=e.header?{}:[],n=0;n<t.length;n++){var o=n,d=t[n];d=((t,i)=>(t=>(e.dynamicTypingFunction&&void 0===e.dynamicTyping[t]&&(e.dynamicTyping[t]=e.dynamicTypingFunction(t)),!0===(e.dynamicTyping[t]||e.dynamicTyping)))(t)?"true"===i||"TRUE"===i||"false"!==i&&"FALSE"!==i&&((e=>{if(h.test(e)&&(e=parseFloat(e),a<e&&e<s))return 1})(i)?parseFloat(i):u.test(i)?new Date(i):""===i?null:i):i)(o=e.header?n>=m.length?"__parsed_extra":m[n]:o,d=e.transform?e.transform(d,o):d),"__parsed_extra"===o?(r[o]=r[o]||[],r[o].push(d)):r[o]=d}return e.header&&(n>m.length?R("FieldMismatch","TooManyFields","Too many fields: expected "+m.length+" fields but parsed "+n,l+i):n<m.length&&R("FieldMismatch","TooFewFields","Too few fields: expected "+m.length+" fields but parsed "+n,l+i)),r}var n;y&&(e.header||e.dynamicTyping||e.transform)&&(n=1,!y.data.length||Array.isArray(y.data[0])?(y.data=y.data.map(i),n=y.data.length):y.data=i(y.data,0),e.header&&y.meta&&(y.meta.fields=m),l+=n)}function E(){return e.header&&0===m.length}function R(e,t,i,r){e={type:e,code:t,message:i},void 0!==r&&(e.row=r),y.errors.push(e)}v(e.step)&&(n=e.step,e.step=function(t){y=t,E()?w():(w(),0!==y.data.length&&(f+=t.data.length,e.preview&&f>e.preview?i.abort():(y.data=y.data[0],n(y,d))))}),this.parse=function(n,s,a){var h=e.quoteChar||'"';return e.newline||(e.newline=this.guessLineEndings(n,h)),r=!1,e.delimiter?v(e.delimiter)&&(e.delimiter=e.delimiter(n),y.meta.delimiter=e.delimiter):((h=((t,i,r,n,s)=>{var a,h,u,d;s=s||[",","\t","|",";",o.RECORD_SEP,o.UNIT_SEP];for(var f=0;f<s.length;f++){for(var l,c=s[f],p=0,_=0,m=0,y=(u=void 0,new g({comments:n,delimiter:c,newline:i,preview:10}).parse(t)),k=0;k<y.data.length;k++)r&&b(y.data[k])?m++:(_+=l=y.data[k].length,void 0===u?u=l:0<l&&(p+=Math.abs(l-u),u=l));0<y.data.length&&(_/=y.data.length-m),(void 0===h||p<=h)&&(void 0===d||d<_)&&1.99<_&&(h=p,a=c,d=_)}return{successful:!!(e.delimiter=a),bestDelimiter:a}})(n,e.newline,e.skipEmptyLines,e.comments,e.delimitersToGuess)).successful?e.delimiter=h.bestDelimiter:(r=!0,e.delimiter=o.DefaultDelimiter),y.meta.delimiter=e.delimiter),h=k(e),e.preview&&e.header&&h.preview++,t=n,i=new g(h),y=i.parse(t,s,a),w(),c?{meta:{paused:!0}}:y||{meta:{paused:!1}}},this.paused=function(){return c},this.pause=function(){c=!0,i.abort(),t=v(e.chunk)?"":t.substring(i.getCharIndex())},this.resume=function(){d.streamer._halted?(c=!1,d.streamer.parseChunk(t,!0)):setTimeout(d.resume,3)},this.aborted=function(){return _},this.abort=function(){_=!0,i.abort(),y.meta.aborted=!0,v(e.complete)&&e.complete(y),t=""},this.guessLineEndings=function(e,t){e=e.substring(0,1048576),t=new RegExp(p(t)+"([^]*?)"+p(t),"gm");var i=(e=e.replace(t,"")).split("\r");if(e=1<(t=e.split("\n")).length&&t[0].length<i[0].length,1===i.length||e)return"\n";for(var r=0,n=0;n<i.length;n++)"\n"===i[n][0]&&r++;return r>=i.length/2?"\r\n":"\r"}}function p(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function g(e){var t=(e=e||{}).delimiter,i=e.newline,r=e.comments,n=e.step,s=e.preview,a=e.fastMode,h=null,u=!1,d=null==e.quoteChar?'"':e.quoteChar,f=d;if(void 0!==e.escapeChar&&(f=e.escapeChar),("string"!=typeof t||-1<o.BAD_DELIMITERS.indexOf(t))&&(t=","),r===t)throw new Error("Comment character same as delimiter");!0===r?r="#":("string"!=typeof r||-1<o.BAD_DELIMITERS.indexOf(r))&&(r=!1),"\n"!==i&&"\r"!==i&&"\r\n"!==i&&(i="\n");var l=0,c=!1;this.parse=function(o,g,_){if("string"!=typeof o)throw new Error("Input must be a string");var m=o.length,y=t.length,k=i.length,b=r.length,w=v(n),E=[],R=[],C=[],O=l=0;if(!o)return P();if(a||!1!==a&&-1===o.indexOf(d)){for(var S=o.split(i),x=0;x<S.length;x++){if(C=S[x],l+=C.length,x!==S.length-1)l+=i.length;else if(_)return P();if(!r||C.substring(0,b)!==r){if(w){if(E=[],F(C.split(t)),U(),c)return P()}else F(C.split(t));if(s&&s<=x)return E=E.slice(0,s),P(!0)}}return P()}for(var A=o.indexOf(t,l),I=o.indexOf(i,l),T=new RegExp(p(f)+p(d),"g"),D=o.indexOf(d,l);;)if(o[l]===d)for(D=l,l++;;){if(-1===(D=o.indexOf(d,D+1)))return _||R.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:E.length,index:l}),z();if(D===m-1)return z(o.substring(l,D).replace(T,d));if(d===f&&o[D+1]===f)D++;else if(d===f||0===D||o[D-1]!==f){-1!==A&&A<D+1&&(A=o.indexOf(t,D+1));var L=j(-1===(I=-1!==I&&I<D+1?o.indexOf(i,D+1):I)?A:Math.min(A,I));if(o.substr(D+1+L,y)===t){C.push(o.substring(l,D).replace(T,d)),o[l=D+1+L+y]!==d&&(D=o.indexOf(d,l)),A=o.indexOf(t,l),I=o.indexOf(i,l);break}if(L=j(I),o.substring(D+1+L,D+1+L+k)===i){if(C.push(o.substring(l,D).replace(T,d)),M(D+1+L+k),A=o.indexOf(t,l),D=o.indexOf(d,l),w&&(U(),c))return P();if(s&&E.length>=s)return P(!0);break}R.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:E.length,index:l}),D++}}else if(r&&0===C.length&&o.substring(l,l+b)===r){if(-1===I)return P();l=I+k,I=o.indexOf(i,l),A=o.indexOf(t,l)}else if(-1!==A&&(A<I||-1===I))C.push(o.substring(l,A)),l=A+y,A=o.indexOf(t,l);else{if(-1===I)break;if(C.push(o.substring(l,I)),M(I+k),w&&(U(),c))return P();if(s&&E.length>=s)return P(!0)}return z();function F(e){E.push(e),O=l}function j(e){return-1!==e&&(e=o.substring(D+1,e))&&""===e.trim()?e.length:0}function z(e){return _||(void 0===e&&(e=o.substring(l)),C.push(e),l=m,F(C),w&&U()),P()}function M(e){l=e,F(C),C=[],I=o.indexOf(i,l)}function P(r){if(e.header&&!g&&E.length&&!u){var n=E[0],s=Object.create(null),a=new Set(n);let t=!1;for(let i=0;i<n.length;i++){let r=n[i];if(s[r=v(e.transformHeader)?e.transformHeader(r,i):r]){let e,o=s[r];for(;e=r+"_"+o,o++,a.has(e););a.add(e),n[i]=e,s[r]++,t=!0,(h=null===h?{}:h)[e]=r}else s[r]=1,n[i]=r;a.add(r)}t&&console.warn("Duplicate headers found and renamed."),u=!0}return{data:E,errors:R,meta:{delimiter:t,linebreak:i,aborted:c,truncated:!!r,cursor:O+(g||0),renamedHeaders:h}}}function U(){n(P()),E=[],R=[]}},this.abort=function(){c=!0},this.getCharIndex=function(){return l}}function _(e){var t=e.data,i=s[t.workerId],r=!1;if(t.error)i.userError(t.error,t.file);else if(t.results&&t.results.data){var n={abort:function(){r=!0,m(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:y,resume:y};if(v(i.userStep)){for(var a=0;a<t.results.data.length&&(i.userStep({data:t.results.data[a],errors:t.results.errors,meta:t.results.meta},n),!r);a++);delete t.results}else v(i.userChunk)&&(i.userChunk(t.results,n,t.file),delete t.results)}t.finished&&!r&&m(t.workerId,t.results)}function m(e,t){var i=s[e];v(i.userComplete)&&i.userComplete(t),i.terminate(),delete s[e]}function y(){throw new Error("Not implemented.")}function k(e){if("object"!=typeof e||null===e)return e;var t,i=Array.isArray(e)?[]:{};for(t in e)i[t]=k(e[t]);return i}function b(e,t){return function(){e.apply(t,arguments)}}function v(e){return"function"==typeof e}return o.parse=function(t,r){var n=(r=r||{}).dynamicTyping||!1;if(v(n)&&(r.dynamicTypingFunction=n,n={}),r.dynamicTyping=n,r.transform=!!v(r.transform)&&r.transform,!r.worker||!o.WORKERS_SUPPORTED)return n=null,o.NODE_STREAM_INPUT,"string"==typeof t?(t=(e=>65279!==e.charCodeAt(0)?e:e.slice(1))(t),n=new(r.download?u:f)(r)):!0===t.readable&&v(t.read)&&v(t.on)?n=new l(r):(i.File&&t instanceof File||t instanceof Object)&&(n=new d(r)),n.stream(t);(n=(()=>{var t;return!!o.WORKERS_SUPPORTED&&(t=(()=>{var t=i.URL||i.webkitURL||null,r=e.toString();return o.BLOB_URL||(o.BLOB_URL=t.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",r,")();"],{type:"text/javascript"})))})(),(t=new i.Worker(t)).onmessage=_,t.id=a++,s[t.id]=t)})()).userStep=r.step,n.userChunk=r.chunk,n.userComplete=r.complete,n.userError=r.error,r.step=v(r.step),r.chunk=v(r.chunk),r.complete=v(r.complete),r.error=v(r.error),delete r.worker,n.postMessage({input:t,config:r,workerId:n.id})},o.unparse=function(e,t){var i=!1,r=!0,n=",",s="\r\n",a='"',h=a+a,u=!1,d=null,f=!1,l=((()=>{if("object"==typeof t){if("string"!=typeof t.delimiter||o.BAD_DELIMITERS.filter(function(e){return-1!==t.delimiter.indexOf(e)}).length||(n=t.delimiter),"boolean"!=typeof t.quotes&&"function"!=typeof t.quotes&&!Array.isArray(t.quotes)||(i=t.quotes),"boolean"!=typeof t.skipEmptyLines&&"string"!=typeof t.skipEmptyLines||(u=t.skipEmptyLines),"string"==typeof t.newline&&(s=t.newline),"string"==typeof t.quoteChar&&(a=t.quoteChar),"boolean"==typeof t.header&&(r=t.header),Array.isArray(t.columns)){if(0===t.columns.length)throw new Error("Option columns is empty");d=t.columns}void 0!==t.escapeChar&&(h=t.escapeChar+a),t.escapeFormulae instanceof RegExp?f=t.escapeFormulae:"boolean"==typeof t.escapeFormulae&&t.escapeFormulae&&(f=/^[=+\-@\t\r].*$/)}})(),new RegExp(p(a),"g"));if("string"==typeof e&&(e=JSON.parse(e)),Array.isArray(e)){if(!e.length||Array.isArray(e[0]))return c(null,e,u);if("object"==typeof e[0])return c(d||Object.keys(e[0]),e,u)}else if("object"==typeof e)return"string"==typeof e.data&&(e.data=JSON.parse(e.data)),Array.isArray(e.data)&&(e.fields||(e.fields=e.meta&&e.meta.fields||d),e.fields||(e.fields=Array.isArray(e.data[0])?e.fields:"object"==typeof e.data[0]?Object.keys(e.data[0]):[]),Array.isArray(e.data[0])||"object"==typeof e.data[0]||(e.data=[e.data])),c(e.fields||[],e.data||[],u);throw new Error("Unable to serialize unrecognized input");function c(e,t,i){var a="",o=("string"==typeof e&&(e=JSON.parse(e)),"string"==typeof t&&(t=JSON.parse(t)),Array.isArray(e)&&0<e.length),h=!Array.isArray(t[0]);if(o&&r){for(var u=0;u<e.length;u++)0<u&&(a+=n),a+=g(e[u],u);0<t.length&&(a+=s)}for(var d=0;d<t.length;d++){var f=(o?e:t[d]).length,l=!1,c=o?0===Object.keys(t[d]).length:0===t[d].length;if(i&&!o&&(l="greedy"===i?""===t[d].join("").trim():1===t[d].length&&0===t[d][0].length),"greedy"===i&&o){for(var p=[],_=0;_<f;_++){var m=h?e[_]:_;p.push(t[d][m])}l=""===p.join("").trim()}if(!l){for(var y=0;y<f;y++){0<y&&!c&&(a+=n);var k=o&&h?e[y]:y;a+=g(t[d][k],y)}d<t.length-1&&(!i||0<f&&!c)&&(a+=s)}}return a}function g(e,t){var r,s;return null==e?"":e.constructor===Date?JSON.stringify(e).slice(1,25):(s=!1,f&&"string"==typeof e&&f.test(e)&&(e="'"+e,s=!0),r=e.toString().replace(l,h),(s=s||!0===i||"function"==typeof i&&i(e,t)||Array.isArray(i)&&i[t]||((e,t)=>{for(var i=0;i<t.length;i++)if(-1<e.indexOf(t[i]))return!0;return!1})(r,o.BAD_DELIMITERS)||-1<r.indexOf(n)||" "===r.charAt(0)||" "===r.charAt(r.length-1))?a+r+a:r)}},o.RECORD_SEP=String.fromCharCode(30),o.UNIT_SEP=String.fromCharCode(31),o.BYTE_ORDER_MARK="\ufeff",o.BAD_DELIMITERS=["\r","\n",'"',o.BYTE_ORDER_MARK],o.WORKERS_SUPPORTED=!r&&!!i.Worker,o.NODE_STREAM_INPUT=1,o.LocalChunkSize=10485760,o.RemoteChunkSize=5242880,o.DefaultDelimiter=",",o.Parser=g,o.ParserHandle=c,o.NetworkStreamer=u,o.FileStreamer=d,o.StringStreamer=f,o.ReadableStreamStreamer=l,i.jQuery&&((t=i.jQuery).fn.parse=function(e){var r=e.config||{},n=[];return this.each(function(e){if("INPUT"!==t(this).prop("tagName").toUpperCase()||"file"!==t(this).attr("type").toLowerCase()||!i.FileReader||!this.files||0===this.files.length)return!0;for(var s=0;s<this.files.length;s++)n.push({file:this.files[s],inputElem:this,instanceConfig:t.extend({},r)})}),s(),this;function s(){if(0===n.length)v(e.complete)&&e.complete();else{var i,r,s,h=n[0];if(v(e.before)){var u=e.before(h.file,h.inputElem);if("object"==typeof u){if("abort"===u.action)return i=h.file,r=h.inputElem,s=u.reason,void(v(e.error)&&e.error({name:"AbortError"},i,r,s));if("skip"===u.action)return void a();"object"==typeof u.config&&(h.instanceConfig=t.extend(h.instanceConfig,u.config))}else if("skip"===u)return void a()}var d=h.instanceConfig.complete;h.instanceConfig.complete=function(e){v(d)&&d(e,h.file,h.inputElem),a()},o.parse(h.file,h.instanceConfig)}}function a(){n.splice(0,1),s()}}),n&&(i.onmessage=function(e){e=e.data,void 0===o.WORKER_ID&&e&&(o.WORKER_ID=e.workerId),"string"==typeof e.input?i.postMessage({workerId:o.WORKER_ID,results:o.parse(e.input,e.config),finished:!0}):(i.File&&e.input instanceof File||e.input instanceof Object)&&(e=o.parse(e.input,e.config))&&i.postMessage({workerId:o.WORKER_ID,results:e,finished:!0})}),(u.prototype=Object.create(h.prototype)).constructor=u,(d.prototype=Object.create(h.prototype)).constructor=d,(f.prototype=Object.create(f.prototype)).constructor=f,(l.prototype=Object.create(h.prototype)).constructor=l,o}()),i.exports);const n=function(e,t){for(var i=0;i<t.length;i++){const r=t[i];if("string"!=typeof r&&!Array.isArray(r))for(const t in r)if("default"!==t&&!(t in e)){const i=Object.getOwnPropertyDescriptor(r,t);i&&Object.defineProperty(e,t,i.get?i:{enumerable:!0,get:()=>r[t]})}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}({__proto__:null,default:e(r)},[r]);export{n as p};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.13
|
|
3
|
+
*
|
|
4
|
+
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
+
*/
|
|
7
|
+
let t=null;const e={reactUrl:"https://esm.sh/react@19.1.0",reactJsxTransform:"https://esm.sh/react@19.1.0/jsx-runtime",reactDomUrl:"https://esm.sh/react-dom@19.1.0",reactDomUrlClient:"https://esm.sh/react-dom@19.1.0/client"},r=r=>(r={...r,...e},t||(t=(async()=>{const t=r.reactUrl,e=r.reactDomUrl,m=r.reactDomUrlClient,s=r.reactJsxTransform;if(document.querySelector('script[type="importmap"]'))console.warn("SheetXL: Import map already exists. Skipping injection.");else{const r=document.createElement("script");r.type="importmap",r.textContent=JSON.stringify({imports:{react:t,"react/jsx-runtime":s,"react-dom":e,"react-dom/client":m}}),document.head.appendChild(r)}await new Promise(t=>setTimeout(t,0));const a=await Promise.all([import("./4GgcUVhUmQmiv9Ha.mjs").then(t=>t.R),import("./4GgcUVhUmQmiv9Ha.mjs").then(t=>t.a),import("./4GgcUVhUmQmiv9Ha.mjs").then(t=>t.i),import("./4GgcUVhUmQmiv9Ha.mjs").then(t=>t.b),import("./4GgcUVhUmQmiv9Ha.mjs").then(t=>t.b3)]);return{React:a[0],ReactJSXTransform:a[1],ReactDOM:a[2],ReactDOMClient:a[3],StudioMUI:a[4]}})(),t));export{r as resolveDependencies};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.13
|
|
3
|
+
*
|
|
4
|
+
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
+
*/
|
|
7
|
+
import{r as e,C as t,D as o,E as n,j as r,G as i,H as l,L as s,N as a,O as c,P as d,Q as u,c as h,V as f,S as p,X as m,x as g,B as v,T as _,Y as S,Z as y,$ as w,a0 as C,a1 as x,a2 as R,a3 as b,a4 as z,a5 as T,a6 as I,a7 as P,a8 as O,a9 as k,z as M,aa as L,ab as G,ac as A,ad as E,ae as H,af as W,ag as D,ah as j}from"./4GgcUVhUmQmiv9Ha.mjs";const F=e.createContext(),N=e.createContext();function B(e){return o("MuiTableCell",e)}const U=t("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),V=i("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.variant],t[`size${s(o.size)}`],"normal"!==o.padding&&t[`padding${s(o.padding)}`],"inherit"!==o.align&&t[`align${s(o.align)}`],o.stickyHeader&&t.stickyHeader]}})(c(({theme:e})=>({...e.typography.body2,display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid\n ${"light"===e.palette.mode?d(h(e.palette.divider,1),.88):u(h(e.palette.divider,1),.68)}`,textAlign:"left",padding:16,variants:[{props:{variant:"head"},style:{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium}},{props:{variant:"body"},style:{color:(e.vars||e).palette.text.primary}},{props:{variant:"footer"},style:{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)}},{props:{size:"small"},style:{padding:"6px 16px",[`&.${U.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}}},{props:{padding:"checkbox"},style:{width:48,padding:"0 0 0 4px"}},{props:{padding:"none"},style:{padding:0}},{props:{align:"left"},style:{textAlign:"left"}},{props:{align:"center"},style:{textAlign:"center"}},{props:{align:"right"},style:{textAlign:"right",flexDirection:"row-reverse"}},{props:{align:"justify"},style:{textAlign:"justify"}},{props:({ownerState:e})=>e.stickyHeader,style:{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default}}]}))),$=e.forwardRef(function(t,o){const i=n({props:t,name:"MuiTableCell"}),{align:c="inherit",className:d,component:u,padding:h,scope:f,size:p,sortDirection:m,variant:g,...v}=i,_=e.useContext(F),S=e.useContext(N),y=S&&"head"===S.variant;let w;w=u||(y?"th":"td");let C=f;"td"===w?C=void 0:!C&&y&&(C="col");const x=g||S&&S.variant,R={...i,align:c,component:w,padding:h||(_&&_.padding?_.padding:"normal"),size:p||(_&&_.size?_.size:"medium"),sortDirection:m,stickyHeader:"head"===x&&_&&_.stickyHeader,variant:x},b=(e=>{const{classes:t,variant:o,align:n,padding:r,size:i,stickyHeader:l}=e,c={root:["root",o,l&&"stickyHeader","inherit"!==n&&`align${s(n)}`,"normal"!==r&&`padding${s(r)}`,`size${s(i)}`]};return a(c,B,t)})(R);let z=null;return m&&(z="asc"===m?"ascending":"descending"),r.jsx(V,{as:w,ref:o,className:l(b.root,d),"aria-sort":z,scope:C,ownerState:R,...v})}),K=z();function q(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function X(e,t){return t&&e&&"object"==typeof e&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function Y(e){return e?(t,o)=>o[e]:null}function J(e,t,o){const n="function"==typeof t?t(e):t;if(Array.isArray(n))return n.flatMap(t=>J(e,t,o));if(Array.isArray(n?.variants)){let t;if(n.isProcessed)t=o?X(n.style,o):n.style;else{const{variants:e,...r}=n;t=o?X(E(r),o):r}return Z(e,n.variants,[t],o)}return n?.isProcessed?o?X(E(n.style),o):n.style:o?X(E(n),o):n}function Z(e,t,o=[],n=void 0){let r;e:for(let i=0;i<t.length;i+=1){const l=t[i];if("function"==typeof l.props){if(r??={...e,...e.ownerState,ownerState:e.ownerState},!l.props(r))continue}else for(const t in l.props)if(e[t]!==l.props[t]&&e.ownerState?.[t]!==l.props[t])continue e;"function"==typeof l.style?(r??={...e,...e.ownerState,ownerState:e.ownerState},o.push(n?X(E(l.style(r)),n):l.style(r))):o.push(n?X(E(l.style),n):l.style)}return o}function Q(e){return e?e.charAt(0).toLowerCase()+e.slice(1):e}const ee=function(e={}){const{themeId:t,defaultTheme:o=K,rootShouldForwardProp:n=q,slotShouldForwardProp:r=q}=e;function i(e){!function(e,t,o){e.theme=function(e){for(const t in e)return!1;return!0}(e.theme)?o:e.theme[t]||e.theme}(e,t,o)}return(e,t={})=>{T(e,e=>e.filter(e=>e!==I));const{name:o,slot:l,skipVariantsResolver:s,skipSx:a,overridesResolver:c=Y(Q(l)),...d}=t,u=o&&o.startsWith("Mui")||l?"components":"custom",h=void 0!==s?s:l&&"Root"!==l&&"root"!==l||!1,f=a||!1;let p=q;"Root"===l||"root"===l?p=n:l?p=r:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(p=void 0);const m=P(e,{shouldForwardProp:p,label:void 0,...d}),g=e=>{if(e.__emotion_real===e)return e;if("function"==typeof e)return function(t){return J(t,e,t.theme.modularCssLayers?u:void 0)};if(A(e)){const t=function(e){const{variants:t,...o}=e,n={variants:t,style:E(o),isProcessed:!0};return n.style===o||t&&t.forEach(e=>{"function"!=typeof e.style&&(e.style=E(e.style))}),n}(e);return function(e){return t.variants?J(e,t,e.theme.modularCssLayers?u:void 0):e.theme.modularCssLayers?X(t.style,u):t.style}}return e},v=(...t)=>{const n=[],r=t.map(g),l=[];if(n.push(i),o&&c&&l.push(function(e){const t=e.theme,n=t.components?.[o]?.styleOverrides;if(!n)return null;const r={};for(const t in n)r[t]=J(e,n[t],e.theme.modularCssLayers?"theme":void 0);return c(e,r)}),o&&!h&&l.push(function(e){const t=e.theme,n=t?.components?.[o]?.variants;return n?Z(e,n,[],e.theme.modularCssLayers?"theme":void 0):null}),f||l.push(I),Array.isArray(r[0])){const e=r.shift(),t=new Array(n.length).fill(""),o=new Array(l.length).fill("");let i;i=[...t,...e,...o],i.raw=[...t,...e.raw,...o],n.unshift(i)}const s=[...n,...r,...l],a=m(...s);return e.muiName&&(a.muiName=e.muiName),a};return m.withConfig&&(v.withConfig=m.withConfig),v}}({themeId:O,defaultTheme:k,rootShouldForwardProp:e=>function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}(e)&&"classes"!==e});function te(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oe(e){return oe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},oe(e)}function ne(e){var t=function(e){if("object"!=oe(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var o=t.call(e,"string");if("object"!=oe(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==oe(t)?t:t+""}function re(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,ne(n.key),n)}}function ie(e,t,o){return t&&re(e.prototype,t),o&&re(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e}function le(e,t){if(t&&("object"==oe(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function se(e){return se=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},se(e)}function ae(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&H(e,t)}function ce(e,t,o){return(t=ne(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function de(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function ue(e){this.setState(function(t){var o=this.constructor.getDerivedStateFromProps(e,t);return null!=o?o:null}.bind(this))}function he(e,t){try{var o=this.props,n=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(o,n)}finally{this.props=o,this.state=n}}function fe(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var o=null,n=null,r=null;if("function"==typeof t.componentWillMount?o="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(o="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?n="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(n="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?r="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(r="UNSAFE_componentWillUpdate"),null!==o||null!==n||null!==r){var i=e.displayName||e.name,l="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+i+" uses "+l+" but also contains the following legacy lifecycles:"+(null!==o?"\n "+o:"")+(null!==n?"\n "+n:"")+(null!==r?"\n "+r:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=de,t.componentWillReceiveProps=ue),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=he;var s=t.componentDidUpdate;t.componentDidUpdate=function(e,t,o){var n=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:o;s.call(this,e,t,n)}}return e}function pe(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}function me(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?pe(Object(o),!0).forEach(function(t){ce(e,t,o[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):pe(Object(o)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))})}return e}function ge(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ge=function(){return!!e})()}de.__suppressDeprecationWarning=!0,ue.__suppressDeprecationWarning=!0,he.__suppressDeprecationWarning=!0;var ve=function(){function t(){var e,o,n,r;te(this,t);for(var i=arguments.length,l=new Array(i),s=0;s<i;s++)l[s]=arguments[s];return o=this,n=t,r=[].concat(l),n=se(n),ce(e=le(o,ge()?Reflect.construct(n,r||[],se(o).constructor):n.apply(o,r)),"state",{scrollToColumn:0,scrollToRow:0,instanceProps:{prevScrollToColumn:0,prevScrollToRow:0}}),ce(e,"_columnStartIndex",0),ce(e,"_columnStopIndex",0),ce(e,"_rowStartIndex",0),ce(e,"_rowStopIndex",0),ce(e,"_onKeyDown",function(t){var o=e.props,n=o.columnCount,r=o.disabled,i=o.mode,l=o.rowCount;if(!r){var s=e._getScrollState(),a=s.scrollToColumn,c=s.scrollToRow,d=e._getScrollState(),u=d.scrollToColumn,h=d.scrollToRow;switch(t.key){case"ArrowDown":h="cells"===i?Math.min(h+1,l-1):Math.min(e._rowStopIndex+1,l-1);break;case"ArrowLeft":u="cells"===i?Math.max(u-1,0):Math.max(e._columnStartIndex-1,0);break;case"ArrowRight":u="cells"===i?Math.min(u+1,n-1):Math.min(e._columnStopIndex+1,n-1);break;case"ArrowUp":h="cells"===i?Math.max(h-1,0):Math.max(e._rowStartIndex-1,0)}u===a&&h===c||(t.preventDefault(),e._updateScrollState({scrollToColumn:u,scrollToRow:h}))}}),ce(e,"_onSectionRendered",function(t){var o=t.columnStartIndex,n=t.columnStopIndex,r=t.rowStartIndex,i=t.rowStopIndex;e._columnStartIndex=o,e._columnStopIndex=n,e._rowStartIndex=r,e._rowStopIndex=i}),e}return ae(t,e.PureComponent),ie(t,[{key:"setScrollIndexes",value:function(e){var t=e.scrollToColumn,o=e.scrollToRow;this.setState({scrollToRow:o,scrollToColumn:t})}},{key:"render",value:function(){var t=this.props,o=t.className,n=t.children,r=this._getScrollState(),i=r.scrollToColumn,l=r.scrollToRow;return e.createElement("div",{className:o,onKeyDown:this._onKeyDown},n({onSectionRendered:this._onSectionRendered,scrollToColumn:i,scrollToRow:l}))}},{key:"_getScrollState",value:function(){return this.props.isControlled?this.props:this.state}},{key:"_updateScrollState",value:function(e){var t=e.scrollToColumn,o=e.scrollToRow,n=this.props,r=n.isControlled,i=n.onScrollToChange;"function"==typeof i&&i({scrollToColumn:t,scrollToRow:o}),r||this.setState({scrollToColumn:t,scrollToRow:o})}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.isControlled?{}:e.scrollToColumn!==t.instanceProps.prevScrollToColumn||e.scrollToRow!==t.instanceProps.prevScrollToRow?me(me({},t),{},{scrollToColumn:e.scrollToColumn,scrollToRow:e.scrollToRow,instanceProps:{prevScrollToColumn:e.scrollToColumn,prevScrollToRow:e.scrollToRow}}):{}}}])}();function _e(e,t){var o,n=void 0!==(o=void 0!==t?t:"undefined"!=typeof window?window:"undefined"!=typeof self?self:global).document&&o.document.attachEvent;if(!n){var r=function(){var e=o.requestAnimationFrame||o.mozRequestAnimationFrame||o.webkitRequestAnimationFrame||function(e){return o.setTimeout(e,20)};return function(t){return e(t)}}(),i=function(){var e=o.cancelAnimationFrame||o.mozCancelAnimationFrame||o.webkitCancelAnimationFrame||o.clearTimeout;return function(t){return e(t)}}(),l=function(e){var t=e.__resizeTriggers__,o=t.firstElementChild,n=t.lastElementChild,r=o.firstElementChild;n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight,r.style.width=o.offsetWidth+1+"px",r.style.height=o.offsetHeight+1+"px",o.scrollLeft=o.scrollWidth,o.scrollTop=o.scrollHeight},s=function(e){if(!(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)){var t=this;l(this),this.__resizeRAF__&&i(this.__resizeRAF__),this.__resizeRAF__=r(function(){(function(e){return e.offsetWidth!=e.__resizeLast__.width||e.offsetHeight!=e.__resizeLast__.height})(t)&&(t.__resizeLast__.width=t.offsetWidth,t.__resizeLast__.height=t.offsetHeight,t.__resizeListeners__.forEach(function(o){o.call(t,e)}))})}},a=!1,c="",d="animationstart",u="Webkit Moz O ms".split(" "),h="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),f=o.document.createElement("fakeelement");if(void 0!==f.style.animationName&&(a=!0),!1===a)for(var p=0;p<u.length;p++)if(void 0!==f.style[u[p]+"AnimationName"]){c="-"+u[p].toLowerCase()+"-",d=h[p],a=!0;break}var m="resizeanim",g="@"+c+"keyframes "+m+" { from { opacity: 0; } to { opacity: 0; } } ",v=c+"animation: 1ms "+m+"; "}return{addResizeListener:function(t,r){if(n)t.attachEvent("onresize",r);else{if(!t.__resizeTriggers__){var i=t.ownerDocument,a=o.getComputedStyle(t);a&&"static"==a.position&&(t.style.position="relative"),function(t){if(!t.getElementById("detectElementResize")){var o=(g||"")+".resize-triggers { "+(v||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',n=t.head||t.getElementsByTagName("head")[0],r=t.createElement("style");r.id="detectElementResize",r.type="text/css",null!=e&&r.setAttribute("nonce",e),r.styleSheet?r.styleSheet.cssText=o:r.appendChild(t.createTextNode(o)),n.appendChild(r)}}(i),t.__resizeLast__={},t.__resizeListeners__=[],(t.__resizeTriggers__=i.createElement("div")).className="resize-triggers";var c=i.createElement("div");c.className="expand-trigger",c.appendChild(i.createElement("div"));var u=i.createElement("div");u.className="contract-trigger",t.__resizeTriggers__.appendChild(c),t.__resizeTriggers__.appendChild(u),t.appendChild(t.__resizeTriggers__),l(t),t.addEventListener("scroll",s,!0),d&&(t.__resizeTriggers__.__animationListener__=function(e){e.animationName==m&&l(t)},t.__resizeTriggers__.addEventListener(d,t.__resizeTriggers__.__animationListener__))}t.__resizeListeners__.push(r)}},removeResizeListener:function(e,t){if(n)e.detachEvent("onresize",t);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",s,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(d,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}function Se(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}function ye(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Se(Object(o),!0).forEach(function(t){ce(e,t,o[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Se(Object(o)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))})}return e}function we(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(we=function(){return!!e})()}ce(ve,"defaultProps",{disabled:!1,isControlled:!1,mode:"edges",scrollToColumn:0,scrollToRow:0}),fe(ve);var Ce=function(){function t(){var e,o,n,r;te(this,t);for(var i=arguments.length,l=new Array(i),s=0;s<i;s++)l[s]=arguments[s];return o=this,n=t,r=[].concat(l),n=se(n),ce(e=le(o,we()?Reflect.construct(n,r||[],se(o).constructor):n.apply(o,r)),"state",{height:e.props.defaultHeight||0,width:e.props.defaultWidth||0}),ce(e,"_parentNode",void 0),ce(e,"_autoSizer",void 0),ce(e,"_window",void 0),ce(e,"_detectElementResize",void 0),ce(e,"_onResize",function(){var t=e.props,o=t.disableHeight,n=t.disableWidth,r=t.onResize;if(e._parentNode){var i=e._parentNode.offsetHeight||0,l=e._parentNode.offsetWidth||0,s=(e._window||window).getComputedStyle(e._parentNode)||{},a=parseInt(s.paddingLeft,10)||0,c=parseInt(s.paddingRight,10)||0,d=parseInt(s.paddingTop,10)||0,u=parseInt(s.paddingBottom,10)||0,h=i-d-u,f=l-a-c;(!o&&e.state.height!==h||!n&&e.state.width!==f)&&(e.setState({height:i-d-u,width:l-a-c}),r({height:i,width:l}))}}),ce(e,"_setRef",function(t){e._autoSizer=t}),e}return ae(t,e.Component),ie(t,[{key:"componentDidMount",value:function(){var e=this.props.nonce;this._autoSizer&&this._autoSizer.parentNode&&this._autoSizer.parentNode.ownerDocument&&this._autoSizer.parentNode.ownerDocument.defaultView&&this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement&&(this._parentNode=this._autoSizer.parentNode,this._window=this._autoSizer.parentNode.ownerDocument.defaultView,this._detectElementResize=_e(e,this._window),this._detectElementResize.addResizeListener(this._parentNode,this._onResize),this._onResize())}},{key:"componentWillUnmount",value:function(){this._detectElementResize&&this._parentNode&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize)}},{key:"render",value:function(){var t=this.props,o=t.children,n=t.className,r=t.disableHeight,i=t.disableWidth,l=t.style,s=this.state,a=s.height,c=s.width,d={overflow:"visible"},u={};return r||(d.height=0,u.height=a),i||(d.width=0,u.width=c),e.createElement("div",{className:n,ref:this._setRef,style:ye(ye({},d),l)},o(u))}}])}();function xe(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xe=function(){return!!e})()}ce(Ce,"defaultProps",{onResize:function(){},disableHeight:!1,disableWidth:!1,style:{}});var Re=function(){function t(){var o,n,r,i;te(this,t);for(var l=arguments.length,s=new Array(l),a=0;a<l;a++)s[a]=arguments[a];return n=this,r=t,i=[].concat(s),r=se(r),ce(o=le(n,xe()?Reflect.construct(r,i||[],se(n).constructor):r.apply(n,i)),"_child",e.createRef()),ce(o,"_measure",function(){var e=o.props,t=e.cache,n=e.columnIndex,r=void 0===n?0:n,i=e.parent,l=e.rowIndex,s=void 0===l?o.props.index||0:l,a=o._getCellMeasurements(),c=a.height,d=a.width;c===t.getHeight(s,r)&&d===t.getWidth(s,r)||(t.set(s,r,d,c),i&&"function"==typeof i.recomputeGridSize&&i.recomputeGridSize({columnIndex:r,rowIndex:s}))}),ce(o,"_registerChild",function(e){!e||e instanceof Element||console.warn("CellMeasurer registerChild expects to be passed Element or null"),o._child.current=e,e&&o._maybeMeasureCell()}),o}return ae(t,e.PureComponent),ie(t,[{key:"componentDidMount",value:function(){this._maybeMeasureCell()}},{key:"componentDidUpdate",value:function(){this._maybeMeasureCell()}},{key:"render",value:function(){var t=this,o=this.props.children,n="function"==typeof o?o({measure:this._measure,registerChild:this._registerChild}):o;return null===n?n:e.cloneElement(n,{ref:function(e){"function"==typeof n.ref?n.ref(e):n.ref&&(n.ref.current=e),t._child.current=e}})}},{key:"_getCellMeasurements",value:function(){var e=this.props.cache,t=this._child.current;if(t&&t.ownerDocument&&t.ownerDocument.defaultView&&t instanceof t.ownerDocument.defaultView.HTMLElement){var o=t.style.width,n=t.style.height;e.hasFixedWidth()||(t.style.width="auto"),e.hasFixedHeight()||(t.style.height="auto");var r=Math.ceil(t.offsetHeight),i=Math.ceil(t.offsetWidth);return o&&(t.style.width=o),n&&(t.style.height=n),{height:r,width:i}}return{height:0,width:0}}},{key:"_maybeMeasureCell",value:function(){var e=this.props,t=e.cache,o=e.columnIndex,n=void 0===o?0:o,r=e.parent,i=e.rowIndex,l=void 0===i?this.props.index||0:i;if(!t.has(l,n)){var s=this._getCellMeasurements(),a=s.height,c=s.width;t.set(l,n,c,a),r&&"function"==typeof r.invalidateCellSizeAfterRender&&r.invalidateCellSizeAfterRender({columnIndex:n,rowIndex:l})}}}])}();function be(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t={};return function(o){var n=o.callback,r=o.indices,i=Object.keys(r),l=!e||i.every(function(e){var t=r[e];return Array.isArray(t)?t.length>0:t>=0}),s=i.length!==Object.keys(t).length||i.some(function(e){var o=t[e],n=r[e];return Array.isArray(n)?o.join(",")!==n.join(","):o!==n});t=r,l&&s&&n(r)}}ce(Re,"__internalCellMeasurerFlag",!1);const ze=!("undefined"==typeof window||!window.document||!window.document.createElement);var Te;function Ie(e){if((!Te&&0!==Te||e)&&ze){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),Te=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return Te}function Pe(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}function Oe(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Pe(Object(o),!0).forEach(function(t){ce(e,t,o[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Pe(Object(o)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))})}return e}function ke(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ke=function(){return!!e})()}var Me="requested",Le=function(){function t(){var e,o,n,r;te(this,t);for(var i=arguments.length,l=new Array(i),s=0;s<i;s++)l[s]=arguments[s];return o=this,n=t,r=[].concat(l),n=se(n),ce(e=le(o,ke()?Reflect.construct(n,r||[],se(o).constructor):n.apply(o,r)),"state",{isScrolling:!1,scrollLeft:0,scrollTop:0}),ce(e,"_calculateSizeAndPositionDataOnNextUpdate",!1),ce(e,"_onSectionRenderedMemoizer",be()),ce(e,"_onScrollMemoizer",be(!1)),ce(e,"_invokeOnSectionRenderedHelper",function(){var t=e.props,o=t.cellLayoutManager,n=t.onSectionRendered;e._onSectionRenderedMemoizer({callback:n,indices:{indices:o.getLastRenderedIndices()}})}),ce(e,"_setScrollingContainerRef",function(t){e._scrollingContainer=t}),ce(e,"_updateScrollPositionForScrollToCell",function(){var t=e.props,o=t.cellLayoutManager,n=t.height,r=t.scrollToAlignment,i=t.scrollToCell,l=t.width,s=e.state,a=s.scrollLeft,c=s.scrollTop;if(i>=0){var d=o.getScrollPositionForCell({align:r,cellIndex:i,height:n,scrollLeft:a,scrollTop:c,width:l});d.scrollLeft===a&&d.scrollTop===c||e._setScrollPosition(d)}}),ce(e,"_onScroll",function(t){if(t.target===e._scrollingContainer){e._enablePointerEventsAfterDelay();var o=e.props,n=o.cellLayoutManager,r=o.height,i=o.isScrollingChange,l=o.width,s=e._scrollbarSize,a=n.getTotalSize(),c=a.height,d=a.width,u=Math.max(0,Math.min(d-l+s,t.target.scrollLeft)),h=Math.max(0,Math.min(c-r+s,t.target.scrollTop));if(e.state.scrollLeft!==u||e.state.scrollTop!==h){var f=t.cancelable?"observed":Me;e.state.isScrolling||i(!0),e.setState({isScrolling:!0,scrollLeft:u,scrollPositionChangeReason:f,scrollTop:h})}e._invokeOnScrollMemoizer({scrollLeft:u,scrollTop:h,totalWidth:d,totalHeight:c})}}),e._scrollbarSize=Ie(),void 0===e._scrollbarSize?(e._scrollbarSizeMeasured=!1,e._scrollbarSize=0):e._scrollbarSizeMeasured=!0,e}return ae(t,e.PureComponent),ie(t,[{key:"recomputeCellSizesAndPositions",value:function(){this._calculateSizeAndPositionDataOnNextUpdate=!0,this.forceUpdate()}},{key:"componentDidMount",value:function(){var e=this.props,t=e.cellLayoutManager,o=e.scrollLeft,n=e.scrollToCell,r=e.scrollTop;this._scrollbarSizeMeasured||(this._scrollbarSize=Ie(),this._scrollbarSizeMeasured=!0,this.setState({})),n>=0?this._updateScrollPositionForScrollToCell():(o>=0||r>=0)&&this._setScrollPosition({scrollLeft:o,scrollTop:r}),this._invokeOnSectionRenderedHelper();var i=t.getTotalSize(),l=i.height,s=i.width;this._invokeOnScrollMemoizer({scrollLeft:o||0,scrollTop:r||0,totalHeight:l,totalWidth:s})}},{key:"componentDidUpdate",value:function(e,t){var o=this.props,n=o.height,r=o.scrollToAlignment,i=o.scrollToCell,l=o.width,s=this.state,a=s.scrollLeft,c=s.scrollPositionChangeReason,d=s.scrollTop;c===Me&&(a>=0&&a!==t.scrollLeft&&a!==this._scrollingContainer.scrollLeft&&(this._scrollingContainer.scrollLeft=a),d>=0&&d!==t.scrollTop&&d!==this._scrollingContainer.scrollTop&&(this._scrollingContainer.scrollTop=d)),n===e.height&&r===e.scrollToAlignment&&i===e.scrollToCell&&l===e.width||this._updateScrollPositionForScrollToCell(),this._invokeOnSectionRenderedHelper()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var t=this.props,o=t.autoHeight,n=t.cellCount,r=t.cellLayoutManager,i=t.className,l=t.height,s=t.horizontalOverscanSize,a=t.id,c=t.noContentRenderer,d=t.style,u=t.verticalOverscanSize,h=t.width,f=this.state,p=f.isScrolling,m=f.scrollLeft,g=f.scrollTop;(this._lastRenderedCellCount!==n||this._lastRenderedCellLayoutManager!==r||this._calculateSizeAndPositionDataOnNextUpdate)&&(this._lastRenderedCellCount=n,this._lastRenderedCellLayoutManager=r,this._calculateSizeAndPositionDataOnNextUpdate=!1,r.calculateSizeAndPositionData());var v=r.getTotalSize(),_=v.height,S=v.width,y=Math.max(0,m-s),w=Math.max(0,g-u),C=Math.min(S,m+h+s),x=Math.min(_,g+l+u),R=l>0&&h>0?r.cellRenderers({height:x-w,isScrolling:p,width:C-y,x:y,y:w}):[],b={boxSizing:"border-box",direction:"ltr",height:o?"auto":l,position:"relative",WebkitOverflowScrolling:"touch",width:h,willChange:"transform"},z=_>l?this._scrollbarSize:0,T=S>h?this._scrollbarSize:0;return b.overflowX=S+z<=h?"hidden":"auto",b.overflowY=_+T<=l?"hidden":"auto",e.createElement("div",{ref:this._setScrollingContainerRef,"aria-label":this.props["aria-label"],className:W("ReactVirtualized__Collection",i),id:a,onScroll:this._onScroll,role:"grid",style:Oe(Oe({},b),d),tabIndex:0},n>0&&e.createElement("div",{className:"ReactVirtualized__Collection__innerScrollContainer",style:{height:_,maxHeight:_,maxWidth:S,overflow:"hidden",pointerEvents:p?"none":"",width:S}},R),0===n&&c())}},{key:"_enablePointerEventsAfterDelay",value:function(){var e=this;this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=setTimeout(function(){(0,e.props.isScrollingChange)(!1),e._disablePointerEventsTimeoutId=null,e.setState({isScrolling:!1})},150)}},{key:"_invokeOnScrollMemoizer",value:function(e){var t=this,o=e.scrollLeft,n=e.scrollTop,r=e.totalHeight,i=e.totalWidth;this._onScrollMemoizer({callback:function(e){var o=e.scrollLeft,n=e.scrollTop,l=t.props,s=l.height;(0,l.onScroll)({clientHeight:s,clientWidth:l.width,scrollHeight:r,scrollLeft:o,scrollTop:n,scrollWidth:i})},indices:{scrollLeft:o,scrollTop:n}})}},{key:"_setScrollPosition",value:function(e){var t=e.scrollLeft,o=e.scrollTop,n={scrollPositionChangeReason:Me};t>=0&&(n.scrollLeft=t),o>=0&&(n.scrollTop=o),(t>=0&&t!==this.state.scrollLeft||o>=0&&o!==this.state.scrollTop)&&this.setState(n)}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 0!==e.cellCount||0===t.scrollLeft&&0===t.scrollTop?e.scrollLeft!==t.scrollLeft||e.scrollTop!==t.scrollTop?{scrollLeft:null!=e.scrollLeft?e.scrollLeft:t.scrollLeft,scrollTop:null!=e.scrollTop?e.scrollTop:t.scrollTop,scrollPositionChangeReason:Me}:null:{scrollLeft:0,scrollTop:0,scrollPositionChangeReason:Me}}}])}();ce(Le,"defaultProps",{"aria-label":"grid",horizontalOverscanSize:0,noContentRenderer:function(){return null},onScroll:function(){return null},onSectionRendered:function(){return null},scrollToAlignment:"auto",scrollToCell:-1,style:{},verticalOverscanSize:0}),Le.propTypes={},fe(Le);var Ge=ie(function e(t){var o=t.height,n=t.width,r=t.x,i=t.y;te(this,e),this.height=o,this.width=n,this.x=r,this.y=i,this._indexMap={},this._indices=[]},[{key:"addCellIndex",value:function(e){var t=e.index;this._indexMap[t]||(this._indexMap[t]=!0,this._indices.push(t))}},{key:"getCellIndices",value:function(){return this._indices}},{key:"toString",value:function(){return"".concat(this.x,",").concat(this.y," ").concat(this.width,"x").concat(this.height)}}]),Ae=ie(function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100;te(this,e),this._sectionSize=t,this._cellMetadata=[],this._sections={}},[{key:"getCellIndices",value:function(e){var t=e.height,o=e.width,n=e.x,r=e.y,i={};return this.getSections({height:t,width:o,x:n,y:r}).forEach(function(e){return e.getCellIndices().forEach(function(e){i[e]=e})}),Object.keys(i).map(function(e){return i[e]})}},{key:"getCellMetadata",value:function(e){var t=e.index;return this._cellMetadata[t]}},{key:"getSections",value:function(e){for(var t=e.height,o=e.width,n=e.x,r=e.y,i=Math.floor(n/this._sectionSize),l=Math.floor((n+o-1)/this._sectionSize),s=Math.floor(r/this._sectionSize),a=Math.floor((r+t-1)/this._sectionSize),c=[],d=i;d<=l;d++)for(var u=s;u<=a;u++){var h="".concat(d,".").concat(u);this._sections[h]||(this._sections[h]=new Ge({height:this._sectionSize,width:this._sectionSize,x:d*this._sectionSize,y:u*this._sectionSize})),c.push(this._sections[h])}return c}},{key:"getTotalSectionCount",value:function(){return Object.keys(this._sections).length}},{key:"toString",value:function(){var e=this;return Object.keys(this._sections).map(function(t){return e._sections[t].toString()})}},{key:"registerCell",value:function(e){var t=e.cellMetadatum,o=e.index;this._cellMetadata[o]=t,this.getSections(t).forEach(function(e){return e.addCellIndex({index:o})})}}]);function Ee(e){var t=e.align,o=void 0===t?"auto":t,n=e.cellOffset,r=e.cellSize,i=e.containerSize,l=e.currentOffset,s=n,a=s-i+r;switch(o){case"start":return s;case"end":return a;case"center":return s-(i-r)/2;default:return Math.max(a,Math.min(s,l))}}function He(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(He=function(){return!!e})()}var We=function(){function t(e,o){var n,r,i,l;return te(this,t),r=this,l=[e,o],i=se(i=t),(n=le(r,He()?Reflect.construct(i,l||[],se(r).constructor):i.apply(r,l)))._cellMetadata=[],n._lastRenderedCellIndices=[],n._cellCache=[],n._isScrollingChange=n._isScrollingChange.bind(n),n._setCollectionViewRef=n._setCollectionViewRef.bind(n),n}return ae(t,e.PureComponent),ie(t,[{key:"forceUpdate",value:function(){void 0!==this._collectionView&&this._collectionView.forceUpdate()}},{key:"recomputeCellSizesAndPositions",value:function(){this._cellCache=[],this._collectionView.recomputeCellSizesAndPositions()}},{key:"render",value:function(){var t=D({},(function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(this.props),this.props));return e.createElement(Le,D({cellLayoutManager:this,isScrollingChange:this._isScrollingChange,ref:this._setCollectionViewRef},t))}},{key:"calculateSizeAndPositionData",value:function(){var e=this.props,t=function(e){for(var t=e.cellCount,o=e.cellSizeAndPositionGetter,n=[],r=new Ae(e.sectionSize),i=0,l=0,s=0;s<t;s++){var a=o({index:s});if(null==a.height||isNaN(a.height)||null==a.width||isNaN(a.width)||null==a.x||isNaN(a.x)||null==a.y||isNaN(a.y))throw Error("Invalid metadata returned for cell ".concat(s,":\n x:").concat(a.x,", y:").concat(a.y,", width:").concat(a.width,", height:").concat(a.height));i=Math.max(i,a.y+a.height),l=Math.max(l,a.x+a.width),n[s]=a,r.registerCell({cellMetadatum:a,index:s})}return{cellMetadata:n,height:i,sectionManager:r,width:l}}({cellCount:e.cellCount,cellSizeAndPositionGetter:e.cellSizeAndPositionGetter,sectionSize:e.sectionSize});this._cellMetadata=t.cellMetadata,this._sectionManager=t.sectionManager,this._height=t.height,this._width=t.width}},{key:"getLastRenderedIndices",value:function(){return this._lastRenderedCellIndices}},{key:"getScrollPositionForCell",value:function(e){var t=e.align,o=e.cellIndex,n=e.height,r=e.scrollLeft,i=e.scrollTop,l=e.width,s=this.props.cellCount;if(o>=0&&o<s){var a=this._cellMetadata[o];r=Ee({align:t,cellOffset:a.x,cellSize:a.width,containerSize:l,currentOffset:r}),i=Ee({align:t,cellOffset:a.y,cellSize:a.height,containerSize:n,currentOffset:i})}return{scrollLeft:r,scrollTop:i}}},{key:"getTotalSize",value:function(){return{height:this._height,width:this._width}}},{key:"cellRenderers",value:function(e){var t=this,o=e.height,n=e.isScrolling,r=e.width,i=e.x,l=e.y,s=this.props,a=s.cellGroupRenderer,c=s.cellRenderer;return this._lastRenderedCellIndices=this._sectionManager.getCellIndices({height:o,width:r,x:i,y:l}),a({cellCache:this._cellCache,cellRenderer:c,cellSizeAndPositionGetter:function(e){var o=e.index;return t._sectionManager.getCellMetadata({index:o})},indices:this._lastRenderedCellIndices,isScrolling:n})}},{key:"_isScrollingChange",value:function(e){e||(this._cellCache=[])}},{key:"_setCollectionViewRef",value:function(e){this._collectionView=e}}])}();function De(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(De=function(){return!!e})()}function je(e){var t=e.cellCount,o=e.cellSize,n=e.computeMetadataCallback,r=e.computeMetadataCallbackProps,i=e.nextCellsCount,l=e.nextCellSize,s=e.nextScrollToIndex,a=e.scrollToIndex,c=e.updateScrollOffsetForScrollToIndex;t===i&&("number"!=typeof o&&"number"!=typeof l||o===l)||(n(r),a>=0&&a===s&&c())}function Fe(e,t){if(null==e)return{};var o,n,r=j(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)o=i[n],-1===t.indexOf(o)&&{}.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}ce(We,"defaultProps",{"aria-label":"grid",cellGroupRenderer:function(e){var t=e.cellCache,o=e.cellRenderer,n=e.cellSizeAndPositionGetter,r=e.indices,i=e.isScrolling;return r.map(function(e){var r=n({index:e}),l={index:e,isScrolling:i,key:e,style:{height:r.height,left:r.x,position:"absolute",top:r.y,width:r.width}};return i?(e in t||(t[e]=o(l)),t[e]):o(l)}).filter(function(e){return!!e})}}),We.propTypes={},(function(){function t(e,o){var n,r,i,l;return te(this,t),r=this,l=[e,o],i=se(i=t),(n=le(r,De()?Reflect.construct(i,l||[],se(r).constructor):i.apply(r,l)))._registerChild=n._registerChild.bind(n),n}return ae(t,e.PureComponent),ie(t,[{key:"componentDidUpdate",value:function(e){var t=this.props,o=t.columnMaxWidth,n=t.columnMinWidth,r=t.columnCount,i=t.width;o===e.columnMaxWidth&&n===e.columnMinWidth&&r===e.columnCount&&i===e.width||this._registeredChild&&this._registeredChild.recomputeGridSize()}},{key:"render",value:function(){var e=this.props,t=e.children,o=e.columnMaxWidth,n=e.columnMinWidth,r=e.columnCount,i=e.width,l=n||1,s=o?Math.min(o,i):i,a=i/r;return a=Math.max(l,a),a=Math.min(s,a),a=Math.floor(a),t({adjustedWidth:Math.min(i,a*r),columnWidth:a,getColumnWidth:function(){return a},registerChild:this._registerChild})}},{key:"_registerChild",value:function(e){if(e&&"function"!=typeof e.recomputeGridSize)throw Error("Unexpected child type registered; only Grid/MultiGrid children are supported.");this._registeredChild=e,this._registeredChild&&this._registeredChild.recomputeGridSize()}}])}()).propTypes={};var Ne,Be=ie(function e(t){var o=t.cellCount,n=t.cellSizeGetter,r=t.estimatedCellSize;te(this,e),ce(this,"_cellSizeAndPositionData",{}),ce(this,"_lastMeasuredIndex",-1),ce(this,"_lastBatchedIndex",-1),ce(this,"_cellCount",void 0),ce(this,"_cellSizeGetter",void 0),ce(this,"_estimatedCellSize",void 0),this._cellSizeGetter=n,this._cellCount=o,this._estimatedCellSize=r},[{key:"areOffsetsAdjusted",value:function(){return!1}},{key:"configure",value:function(e){var t=e.cellCount,o=e.estimatedCellSize,n=e.cellSizeGetter;this._cellCount=t,this._estimatedCellSize=o,this._cellSizeGetter=n}},{key:"getCellCount",value:function(){return this._cellCount}},{key:"getEstimatedCellSize",value:function(){return this._estimatedCellSize}},{key:"getLastMeasuredIndex",value:function(){return this._lastMeasuredIndex}},{key:"getOffsetAdjustment",value:function(){return 0}},{key:"getSizeAndPositionOfCell",value:function(e){if(e<0||e>=this._cellCount)throw Error("Requested index ".concat(e," is outside of range 0..").concat(this._cellCount));if(e>this._lastMeasuredIndex)for(var t=this.getSizeAndPositionOfLastMeasuredCell(),o=t.offset+t.size,n=this._lastMeasuredIndex+1;n<=e;n++){var r=this._cellSizeGetter({index:n});if(void 0===r||isNaN(r))throw Error("Invalid size returned for cell ".concat(n," of value ").concat(r));null===r?(this._cellSizeAndPositionData[n]={offset:o,size:0},this._lastBatchedIndex=e):(this._cellSizeAndPositionData[n]={offset:o,size:r},o+=r,this._lastMeasuredIndex=e)}return this._cellSizeAndPositionData[e]}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._lastMeasuredIndex>=0?this._cellSizeAndPositionData[this._lastMeasuredIndex]:{offset:0,size:0}}},{key:"getTotalSize",value:function(){var e=this.getSizeAndPositionOfLastMeasuredCell();return e.offset+e.size+(this._cellCount-this._lastMeasuredIndex-1)*this._estimatedCellSize}},{key:"getUpdatedOffsetForIndex",value:function(e){var t=e.align,o=void 0===t?"auto":t,n=e.containerSize,r=e.currentOffset,i=e.targetIndex;if(n<=0)return 0;var l,s=this.getSizeAndPositionOfCell(i),a=s.offset,c=a-n+s.size;switch(o){case"start":l=a;break;case"end":l=c;break;case"center":l=a-(n-s.size)/2;break;default:l=Math.max(c,Math.min(a,r))}var d=this.getTotalSize();return Math.max(0,Math.min(d-n,l))}},{key:"getVisibleCellRange",value:function(e){var t=e.containerSize,o=e.offset;if(0===this.getTotalSize())return{};var n=o+t,r=this._findNearestCell(o),i=this.getSizeAndPositionOfCell(r);o=i.offset+i.size;for(var l=r;o<n&&l<this._cellCount-1;)l++,o+=this.getSizeAndPositionOfCell(l).size;return{start:r,stop:l}}},{key:"resetCell",value:function(e){this._lastMeasuredIndex=Math.min(this._lastMeasuredIndex,e-1)}},{key:"_binarySearch",value:function(e,t,o){for(;t<=e;){var n=t+Math.floor((e-t)/2),r=this.getSizeAndPositionOfCell(n).offset;if(r===o)return n;r<o?t=n+1:r>o&&(e=n-1)}return t>0?t-1:0}},{key:"_exponentialSearch",value:function(e,t){for(var o=1;e<this._cellCount&&this.getSizeAndPositionOfCell(e).offset<t;)e+=o,o*=2;return this._binarySearch(Math.min(e,this._cellCount-1),Math.floor(e/2),t)}},{key:"_findNearestCell",value:function(e){if(isNaN(e))throw Error("Invalid offset ".concat(e," specified"));e=Math.max(0,e);var t=this.getSizeAndPositionOfLastMeasuredCell(),o=Math.max(0,this._lastMeasuredIndex);return t.offset>=e?this._binarySearch(o,0,e):this._exponentialSearch(o,e)}}]),Ue=["maxScrollSize"],Ve=ie(function e(t){var o=t.maxScrollSize,n=void 0===o?"undefined"!=typeof window&&window.chrome?16777100:15e5:o,r=Fe(t,Ue);te(this,e),ce(this,"_cellSizeAndPositionManager",void 0),ce(this,"_maxScrollSize",void 0),this._cellSizeAndPositionManager=new Be(r),this._maxScrollSize=n},[{key:"areOffsetsAdjusted",value:function(){return this._cellSizeAndPositionManager.getTotalSize()>this._maxScrollSize}},{key:"configure",value:function(e){this._cellSizeAndPositionManager.configure(e)}},{key:"getCellCount",value:function(){return this._cellSizeAndPositionManager.getCellCount()}},{key:"getEstimatedCellSize",value:function(){return this._cellSizeAndPositionManager.getEstimatedCellSize()}},{key:"getLastMeasuredIndex",value:function(){return this._cellSizeAndPositionManager.getLastMeasuredIndex()}},{key:"getOffsetAdjustment",value:function(e){var t=e.containerSize,o=e.offset,n=this._cellSizeAndPositionManager.getTotalSize(),r=this.getTotalSize(),i=this._getOffsetPercentage({containerSize:t,offset:o,totalSize:r});return Math.round(i*(r-n))}},{key:"getSizeAndPositionOfCell",value:function(e){return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(e)}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell()}},{key:"getTotalSize",value:function(){return Math.min(this._maxScrollSize,this._cellSizeAndPositionManager.getTotalSize())}},{key:"getUpdatedOffsetForIndex",value:function(e){var t=e.align,o=void 0===t?"auto":t,n=e.containerSize,r=e.currentOffset,i=e.targetIndex;r=this._safeOffsetToOffset({containerSize:n,offset:r});var l=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:n,currentOffset:r,targetIndex:i});return this._offsetToSafeOffset({containerSize:n,offset:l})}},{key:"getVisibleCellRange",value:function(e){var t=e.containerSize,o=e.offset;return o=this._safeOffsetToOffset({containerSize:t,offset:o}),this._cellSizeAndPositionManager.getVisibleCellRange({containerSize:t,offset:o})}},{key:"resetCell",value:function(e){this._cellSizeAndPositionManager.resetCell(e)}},{key:"_getOffsetPercentage",value:function(e){var t=e.containerSize,o=e.offset,n=e.totalSize;return n<=t?0:o/(n-t)}},{key:"_offsetToSafeOffset",value:function(e){var t=e.containerSize,o=e.offset,n=this._cellSizeAndPositionManager.getTotalSize(),r=this.getTotalSize();if(n===r)return o;var i=this._getOffsetPercentage({containerSize:t,offset:o,totalSize:n});return Math.round(i*(r-t))}},{key:"_safeOffsetToOffset",value:function(e){var t=e.containerSize,o=e.offset,n=this._cellSizeAndPositionManager.getTotalSize(),r=this.getTotalSize();if(n===r)return o;var i=this._getOffsetPercentage({containerSize:t,offset:o,totalSize:r});return Math.round(i*(n-t))}}]);function $e(e){var t=e.cellSize,o=e.cellSizeAndPositionManager,n=e.previousCellsCount,r=e.previousCellSize,i=e.previousScrollToAlignment,l=e.previousScrollToIndex,s=e.previousSize,a=e.scrollOffset,c=e.scrollToAlignment,d=e.scrollToIndex,u=e.size,h=e.sizeJustIncreasedFromZero,f=e.updateScrollIndexCallback,p=o.getCellCount(),m=d>=0&&d<p;m&&(u!==s||h||!r||"number"==typeof t&&t!==r||c!==i||d!==l)?f(d):!m&&p>0&&(u<s||p<n)&&a>o.getTotalSize()-u&&f(p-1)}var Ke=(Ne="undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).requestAnimationFrame||Ne.webkitRequestAnimationFrame||Ne.mozRequestAnimationFrame||Ne.oRequestAnimationFrame||Ne.msRequestAnimationFrame||function(e){return Ne.setTimeout(e,1e3/60)},qe=Ne.cancelAnimationFrame||Ne.webkitCancelAnimationFrame||Ne.mozCancelAnimationFrame||Ne.oCancelAnimationFrame||Ne.msCancelAnimationFrame||function(e){Ne.clearTimeout(e)},Xe=Ke,Ye=qe,Je=function(e){return Ye(e.id)},Ze=function(e,t){var o;Promise.resolve().then(function(){o=Date.now()});var n=function(){Date.now()-o>=t?e.call():r.id=Xe(n)},r={id:Xe(n)};return r};function Qe(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}function et(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Qe(Object(o),!0).forEach(function(t){ce(e,t,o[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Qe(Object(o)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))})}return e}function tt(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tt=function(){return!!e})()}var ot="requested",nt=function(){function t(e){var o,n,r,i;te(this,t),n=this,i=[e],r=se(r=t),ce(o=le(n,tt()?Reflect.construct(r,i||[],se(n).constructor):r.apply(n,i)),"_onGridRenderedMemoizer",be()),ce(o,"_onScrollMemoizer",be(!1)),ce(o,"_deferredInvalidateColumnIndex",null),ce(o,"_deferredInvalidateRowIndex",null),ce(o,"_recomputeScrollLeftFlag",!1),ce(o,"_recomputeScrollTopFlag",!1),ce(o,"_horizontalScrollBarSize",0),ce(o,"_verticalScrollBarSize",0),ce(o,"_scrollbarPresenceChanged",!1),ce(o,"_scrollingContainer",void 0),ce(o,"_childrenToDisplay",void 0),ce(o,"_columnStartIndex",void 0),ce(o,"_columnStopIndex",void 0),ce(o,"_rowStartIndex",void 0),ce(o,"_rowStopIndex",void 0),ce(o,"_renderedColumnStartIndex",0),ce(o,"_renderedColumnStopIndex",0),ce(o,"_renderedRowStartIndex",0),ce(o,"_renderedRowStopIndex",0),ce(o,"_initialScrollTop",void 0),ce(o,"_initialScrollLeft",void 0),ce(o,"_disablePointerEventsTimeoutId",void 0),ce(o,"_styleCache",{}),ce(o,"_cellCache",{}),ce(o,"_debounceScrollEndedCallback",function(){o._disablePointerEventsTimeoutId=null,o.setState({isScrolling:!1,needToResetStyleCache:!1})}),ce(o,"_invokeOnGridRenderedHelper",function(){var e=o.props.onSectionRendered;o._onGridRenderedMemoizer({callback:e,indices:{columnOverscanStartIndex:o._columnStartIndex,columnOverscanStopIndex:o._columnStopIndex,columnStartIndex:o._renderedColumnStartIndex,columnStopIndex:o._renderedColumnStopIndex,rowOverscanStartIndex:o._rowStartIndex,rowOverscanStopIndex:o._rowStopIndex,rowStartIndex:o._renderedRowStartIndex,rowStopIndex:o._renderedRowStopIndex}})}),ce(o,"_setScrollingContainerRef",function(e){o._scrollingContainer=e,"function"==typeof o.props.elementRef?o.props.elementRef(e):"object"===oe(o.props.elementRef)&&(o.props.elementRef.current=e)}),ce(o,"_onScroll",function(e){e.target===o._scrollingContainer&&o.handleScrollEvent(e.target)});var l=new Ve({cellCount:e.columnCount,cellSizeGetter:function(o){return t._wrapSizeGetter(e.columnWidth)(o)},estimatedCellSize:t._getEstimatedColumnSize(e)}),s=new Ve({cellCount:e.rowCount,cellSizeGetter:function(o){return t._wrapSizeGetter(e.rowHeight)(o)},estimatedCellSize:t._getEstimatedRowSize(e)});return o.state={instanceProps:{columnSizeAndPositionManager:l,rowSizeAndPositionManager:s,prevColumnWidth:e.columnWidth,prevRowHeight:e.rowHeight,prevColumnCount:e.columnCount,prevRowCount:e.rowCount,prevIsScrolling:!0===e.isScrolling,prevScrollToColumn:e.scrollToColumn,prevScrollToRow:e.scrollToRow,scrollbarSize:0,scrollbarSizeMeasured:!1},isScrolling:!1,scrollDirectionHorizontal:1,scrollDirectionVertical:1,scrollLeft:0,scrollTop:0,scrollPositionChangeReason:null,needToResetStyleCache:!1},e.scrollToRow>0&&(o._initialScrollTop=o._getCalculatedScrollTop(e,o.state)),e.scrollToColumn>0&&(o._initialScrollLeft=o._getCalculatedScrollLeft(e,o.state)),o}return ae(t,e.PureComponent),ie(t,[{key:"getOffsetForCell",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.alignment,o=void 0===t?this.props.scrollToAlignment:t,n=e.columnIndex,r=void 0===n?this.props.scrollToColumn:n,i=e.rowIndex,l=void 0===i?this.props.scrollToRow:i,s=et(et({},this.props),{},{scrollToAlignment:o,scrollToColumn:r,scrollToRow:l});return{scrollLeft:this._getCalculatedScrollLeft(s),scrollTop:this._getCalculatedScrollTop(s)}}},{key:"getTotalRowsHeight",value:function(){return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize()}},{key:"getTotalColumnsWidth",value:function(){return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize()}},{key:"handleScrollEvent",value:function(e){var t=e.scrollLeft,o=void 0===t?0:t,n=e.scrollTop,r=void 0===n?0:n;if(!(r<0)){this._debounceScrollEnded();var i=this.props,l=i.autoHeight,s=i.autoWidth,a=i.height,c=i.width,d=this.state.instanceProps,u=d.scrollbarSize,h=d.rowSizeAndPositionManager.getTotalSize(),f=d.columnSizeAndPositionManager.getTotalSize(),p=Math.min(Math.max(0,f-c+u),o),m=Math.min(Math.max(0,h-a+u),r);if(this.state.scrollLeft!==p||this.state.scrollTop!==m){var g={isScrolling:!0,scrollDirectionHorizontal:p!==this.state.scrollLeft?p>this.state.scrollLeft?1:-1:this.state.scrollDirectionHorizontal,scrollDirectionVertical:m!==this.state.scrollTop?m>this.state.scrollTop?1:-1:this.state.scrollDirectionVertical,scrollPositionChangeReason:"observed"};l||(g.scrollTop=m),s||(g.scrollLeft=p),g.needToResetStyleCache=!1,this.setState(g)}this._invokeOnScrollMemoizer({scrollLeft:p,scrollTop:m,totalColumnsWidth:f,totalRowsHeight:h})}}},{key:"invalidateCellSizeAfterRender",value:function(e){var t=e.columnIndex,o=e.rowIndex;this._deferredInvalidateColumnIndex="number"==typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,t):t,this._deferredInvalidateRowIndex="number"==typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,o):o}},{key:"measureAllCells",value:function(){var e=this.props,t=e.columnCount,o=e.rowCount,n=this.state.instanceProps;n.columnSizeAndPositionManager.getSizeAndPositionOfCell(t-1),n.rowSizeAndPositionManager.getSizeAndPositionOfCell(o-1)}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,o=void 0===t?0:t,n=e.rowIndex,r=void 0===n?0:n,i=this.props,l=i.scrollToColumn,s=i.scrollToRow,a=this.state.instanceProps;a.columnSizeAndPositionManager.resetCell(o),a.rowSizeAndPositionManager.resetCell(r),this._recomputeScrollLeftFlag=l>=0&&(1===this.state.scrollDirectionHorizontal?o<=l:o>=l),this._recomputeScrollTopFlag=s>=0&&(1===this.state.scrollDirectionVertical?r<=s:r>=s),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function(e){var t=e.columnIndex,o=e.rowIndex,n=this.props.columnCount,r=this.props;n>1&&void 0!==t&&this._updateScrollLeftForScrollToColumn(et(et({},r),{},{scrollToColumn:t})),void 0!==o&&this._updateScrollTopForScrollToRow(et(et({},r),{},{scrollToRow:o}))}},{key:"componentDidMount",value:function(){var e=this.props,o=e.getScrollbarSize,n=e.height,r=e.scrollLeft,i=e.scrollToColumn,l=e.scrollTop,s=e.scrollToRow,a=e.width,c=this.state.instanceProps;if(this._initialScrollTop=0,this._initialScrollLeft=0,this._handleInvalidatedGridSize(),c.scrollbarSizeMeasured||this.setState(function(e){var t=et(et({},e),{},{needToResetStyleCache:!1});return t.instanceProps.scrollbarSize=o(),t.instanceProps.scrollbarSizeMeasured=!0,t}),"number"==typeof r&&r>=0||"number"==typeof l&&l>=0){var d=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:r,scrollTop:l});d&&(d.needToResetStyleCache=!1,this.setState(d))}this._scrollingContainer&&(this._scrollingContainer.scrollLeft!==this.state.scrollLeft&&(this._scrollingContainer.scrollLeft=this.state.scrollLeft),this._scrollingContainer.scrollTop!==this.state.scrollTop&&(this._scrollingContainer.scrollTop=this.state.scrollTop));var u=n>0&&a>0;i>=0&&u&&this._updateScrollLeftForScrollToColumn(),s>=0&&u&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:r||0,scrollTop:l||0,totalColumnsWidth:c.columnSizeAndPositionManager.getTotalSize(),totalRowsHeight:c.rowSizeAndPositionManager.getTotalSize()}),this._maybeCallOnScrollbarPresenceChange()}},{key:"componentDidUpdate",value:function(e,t){var o=this,n=this.props,r=n.autoHeight,i=n.autoWidth,l=n.columnCount,s=n.height,a=n.rowCount,c=n.scrollToAlignment,d=n.scrollToColumn,u=n.scrollToRow,h=n.width,f=this.state,p=f.scrollLeft,m=f.scrollPositionChangeReason,g=f.scrollTop,v=f.instanceProps;this._handleInvalidatedGridSize();var _=l>0&&0===e.columnCount||a>0&&0===e.rowCount;m===ot&&(!i&&p>=0&&(p!==this._scrollingContainer.scrollLeft||_)&&(this._scrollingContainer.scrollLeft=p),!r&&g>=0&&(g!==this._scrollingContainer.scrollTop||_)&&(this._scrollingContainer.scrollTop=g));var S=(0===e.width||0===e.height)&&s>0&&h>0;if(this._recomputeScrollLeftFlag?(this._recomputeScrollLeftFlag=!1,this._updateScrollLeftForScrollToColumn(this.props)):$e({cellSizeAndPositionManager:v.columnSizeAndPositionManager,previousCellsCount:e.columnCount,previousCellSize:e.columnWidth,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToColumn,previousSize:e.width,scrollOffset:p,scrollToAlignment:c,scrollToIndex:d,size:h,sizeJustIncreasedFromZero:S,updateScrollIndexCallback:function(){return o._updateScrollLeftForScrollToColumn(o.props)}}),this._recomputeScrollTopFlag?(this._recomputeScrollTopFlag=!1,this._updateScrollTopForScrollToRow(this.props)):$e({cellSizeAndPositionManager:v.rowSizeAndPositionManager,previousCellsCount:e.rowCount,previousCellSize:e.rowHeight,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToRow,previousSize:e.height,scrollOffset:g,scrollToAlignment:c,scrollToIndex:u,size:s,sizeJustIncreasedFromZero:S,updateScrollIndexCallback:function(){return o._updateScrollTopForScrollToRow(o.props)}}),this._invokeOnGridRenderedHelper(),p!==t.scrollLeft||g!==t.scrollTop){var y=v.rowSizeAndPositionManager.getTotalSize(),w=v.columnSizeAndPositionManager.getTotalSize();this._invokeOnScrollMemoizer({scrollLeft:p,scrollTop:g,totalColumnsWidth:w,totalRowsHeight:y})}this._maybeCallOnScrollbarPresenceChange()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&Je(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var t=this.props,o=t.autoContainerWidth,n=t.autoHeight,r=t.autoWidth,i=t.className,l=t.containerProps,s=t.containerRole,a=t.containerStyle,c=t.height,d=t.id,u=t.noContentRenderer,h=t.role,f=t.style,p=t.tabIndex,m=t.width,g=this.state,v=g.instanceProps,_=g.needToResetStyleCache,S=this._isScrolling(),y={boxSizing:"border-box",direction:"ltr",height:n?"auto":c,position:"relative",width:r?"auto":m,WebkitOverflowScrolling:"touch",willChange:"transform"};_&&(this._styleCache={}),this.state.isScrolling||this._resetStyleCache(),this._calculateChildrenToRender(this.props,this.state);var w=v.columnSizeAndPositionManager.getTotalSize(),C=v.rowSizeAndPositionManager.getTotalSize(),x=C>c?v.scrollbarSize:0,R=w>m?v.scrollbarSize:0;R===this._horizontalScrollBarSize&&x===this._verticalScrollBarSize||(this._horizontalScrollBarSize=R,this._verticalScrollBarSize=x,this._scrollbarPresenceChanged=!0),y.overflowX=w+x<=m?"hidden":"auto",y.overflowY=C+R<=c?"hidden":"auto";var b=this._childrenToDisplay,z=0===b.length&&c>0&&m>0;return e.createElement("div",D({ref:this._setScrollingContainerRef},l,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:W("ReactVirtualized__Grid",i),id:d,onScroll:this._onScroll,role:h,style:et(et({},y),f),tabIndex:p}),b.length>0&&e.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:s,style:et({width:o?"auto":w,height:C,maxWidth:w,maxHeight:C,overflow:"hidden",pointerEvents:S?"none":"",position:"relative"},a)},b),z&&u())}},{key:"_calculateChildrenToRender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,o=e.cellRenderer,n=e.cellRangeRenderer,r=e.columnCount,i=e.deferredMeasurementCache,l=e.height,s=e.overscanColumnCount,a=e.overscanIndicesGetter,c=e.overscanRowCount,d=e.rowCount,u=e.width,h=e.isScrollingOptOut,f=t.scrollDirectionHorizontal,p=t.scrollDirectionVertical,m=t.instanceProps,g=this._initialScrollTop>0?this._initialScrollTop:t.scrollTop,v=this._initialScrollLeft>0?this._initialScrollLeft:t.scrollLeft,_=this._isScrolling(e,t);if(this._childrenToDisplay=[],l>0&&u>0){var S=m.columnSizeAndPositionManager.getVisibleCellRange({containerSize:u,offset:v}),y=m.rowSizeAndPositionManager.getVisibleCellRange({containerSize:l,offset:g}),w=m.columnSizeAndPositionManager.getOffsetAdjustment({containerSize:u,offset:v}),C=m.rowSizeAndPositionManager.getOffsetAdjustment({containerSize:l,offset:g});this._renderedColumnStartIndex=S.start,this._renderedColumnStopIndex=S.stop,this._renderedRowStartIndex=y.start,this._renderedRowStopIndex=y.stop;var x=a({direction:"horizontal",cellCount:r,overscanCellsCount:s,scrollDirection:f,startIndex:"number"==typeof S.start?S.start:0,stopIndex:"number"==typeof S.stop?S.stop:-1}),R=a({direction:"vertical",cellCount:d,overscanCellsCount:c,scrollDirection:p,startIndex:"number"==typeof y.start?y.start:0,stopIndex:"number"==typeof y.stop?y.stop:-1}),b=x.overscanStartIndex,z=x.overscanStopIndex,T=R.overscanStartIndex,I=R.overscanStopIndex;if(i){if(!i.hasFixedHeight())for(var P=T;P<=I;P++)if(!i.has(P,0)){b=0,z=r-1;break}if(!i.hasFixedWidth())for(var O=b;O<=z;O++)if(!i.has(0,O)){T=0,I=d-1;break}}this._childrenToDisplay=n({cellCache:this._cellCache,cellRenderer:o,columnSizeAndPositionManager:m.columnSizeAndPositionManager,columnStartIndex:b,columnStopIndex:z,deferredMeasurementCache:i,horizontalOffsetAdjustment:w,isScrolling:_,isScrollingOptOut:h,parent:this,rowSizeAndPositionManager:m.rowSizeAndPositionManager,rowStartIndex:T,rowStopIndex:I,scrollLeft:v,scrollTop:g,styleCache:this._styleCache,verticalOffsetAdjustment:C,visibleColumnIndices:S,visibleRowIndices:y}),this._columnStartIndex=b,this._columnStopIndex=z,this._rowStartIndex=T,this._rowStopIndex=I}}},{key:"_debounceScrollEnded",value:function(){var e=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&Je(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=Ze(this._debounceScrollEndedCallback,e)}},{key:"_handleInvalidatedGridSize",value:function(){if("number"==typeof this._deferredInvalidateColumnIndex&&"number"==typeof this._deferredInvalidateRowIndex){var e=this._deferredInvalidateColumnIndex,t=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:e,rowIndex:t})}}},{key:"_invokeOnScrollMemoizer",value:function(e){var t=this,o=e.scrollLeft,n=e.scrollTop,r=e.totalColumnsWidth,i=e.totalRowsHeight;this._onScrollMemoizer({callback:function(e){var o=e.scrollLeft,n=e.scrollTop,l=t.props,s=l.height;(0,l.onScroll)({clientHeight:s,clientWidth:l.width,scrollHeight:i,scrollLeft:o,scrollTop:n,scrollWidth:r})},indices:{scrollLeft:o,scrollTop:n}})}},{key:"_isScrolling",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return Object.hasOwnProperty.call(e,"isScrolling")?Boolean(e.isScrolling):Boolean(t.isScrolling)}},{key:"_maybeCallOnScrollbarPresenceChange",value:function(){if(this._scrollbarPresenceChanged){var e=this.props.onScrollbarPresenceChange;this._scrollbarPresenceChanged=!1,e({horizontal:this._horizontalScrollBarSize>0,size:this.state.instanceProps.scrollbarSize,vertical:this._verticalScrollBarSize>0})}}},{key:"scrollToPosition",value:function(e){var o=e.scrollLeft,n=e.scrollTop,r=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:o,scrollTop:n});r&&(r.needToResetStyleCache=!1,this.setState(r))}},{key:"_getCalculatedScrollLeft",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollLeft(e,o)}},{key:"_updateScrollLeftForScrollToColumn",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,n=t._getScrollLeftForScrollToColumnStateUpdate(e,o);n&&(n.needToResetStyleCache=!1,this.setState(n))}},{key:"_getCalculatedScrollTop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollTop(e,o)}},{key:"_resetStyleCache",value:function(){var e=this._styleCache,t=this._cellCache,o=this.props.isScrollingOptOut;this._cellCache={},this._styleCache={};for(var n=this._rowStartIndex;n<=this._rowStopIndex;n++)for(var r=this._columnStartIndex;r<=this._columnStopIndex;r++){var i="".concat(n,"-").concat(r);this._styleCache[i]=e[i],o&&(this._cellCache[i]=t[i])}}},{key:"_updateScrollTopForScrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,n=t._getScrollTopForScrollToRowStateUpdate(e,o);n&&(n.needToResetStyleCache=!1,this.setState(n))}}],[{key:"getDerivedStateFromProps",value:function(e,o){var n={};0===e.columnCount&&0!==o.scrollLeft||0===e.rowCount&&0!==o.scrollTop?(n.scrollLeft=0,n.scrollTop=0):(e.scrollLeft!==o.scrollLeft&&e.scrollToColumn<0||e.scrollTop!==o.scrollTop&&e.scrollToRow<0)&&Object.assign(n,t._getScrollToPositionStateUpdate({prevState:o,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}));var r,i,l=o.instanceProps;return n.needToResetStyleCache=!1,e.columnWidth===l.prevColumnWidth&&e.rowHeight===l.prevRowHeight||(n.needToResetStyleCache=!0),l.columnSizeAndPositionManager.configure({cellCount:e.columnCount,estimatedCellSize:t._getEstimatedColumnSize(e),cellSizeGetter:t._wrapSizeGetter(e.columnWidth)}),l.rowSizeAndPositionManager.configure({cellCount:e.rowCount,estimatedCellSize:t._getEstimatedRowSize(e),cellSizeGetter:t._wrapSizeGetter(e.rowHeight)}),0!==l.prevColumnCount&&0!==l.prevRowCount||(l.prevColumnCount=0,l.prevRowCount=0),e.autoHeight&&!1===e.isScrolling&&!0===l.prevIsScrolling&&Object.assign(n,{isScrolling:!1}),je({cellCount:l.prevColumnCount,cellSize:"number"==typeof l.prevColumnWidth?l.prevColumnWidth:null,computeMetadataCallback:function(){return l.columnSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.columnCount,nextCellSize:"number"==typeof e.columnWidth?e.columnWidth:null,nextScrollToIndex:e.scrollToColumn,scrollToIndex:l.prevScrollToColumn,updateScrollOffsetForScrollToIndex:function(){r=t._getScrollLeftForScrollToColumnStateUpdate(e,o)}}),je({cellCount:l.prevRowCount,cellSize:"number"==typeof l.prevRowHeight?l.prevRowHeight:null,computeMetadataCallback:function(){return l.rowSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.rowCount,nextCellSize:"number"==typeof e.rowHeight?e.rowHeight:null,nextScrollToIndex:e.scrollToRow,scrollToIndex:l.prevScrollToRow,updateScrollOffsetForScrollToIndex:function(){i=t._getScrollTopForScrollToRowStateUpdate(e,o)}}),l.prevColumnCount=e.columnCount,l.prevColumnWidth=e.columnWidth,l.prevIsScrolling=!0===e.isScrolling,l.prevRowCount=e.rowCount,l.prevRowHeight=e.rowHeight,l.prevScrollToColumn=e.scrollToColumn,l.prevScrollToRow=e.scrollToRow,l.scrollbarSize=e.getScrollbarSize(),void 0===l.scrollbarSize?(l.scrollbarSizeMeasured=!1,l.scrollbarSize=0):l.scrollbarSizeMeasured=!0,n.instanceProps=l,et(et(et({},n),r),i)}},{key:"_getEstimatedColumnSize",value:function(e){return"number"==typeof e.columnWidth?e.columnWidth:e.estimatedColumnSize}},{key:"_getEstimatedRowSize",value:function(e){return"number"==typeof e.rowHeight?e.rowHeight:e.estimatedRowSize}},{key:"_getScrollToPositionStateUpdate",value:function(e){var t=e.prevState,o=e.scrollLeft,n=e.scrollTop,r={scrollPositionChangeReason:ot};return"number"==typeof o&&o>=0&&(r.scrollDirectionHorizontal=o>t.scrollLeft?1:-1,r.scrollLeft=o),"number"==typeof n&&n>=0&&(r.scrollDirectionVertical=n>t.scrollTop?1:-1,r.scrollTop=n),"number"==typeof o&&o>=0&&o!==t.scrollLeft||"number"==typeof n&&n>=0&&n!==t.scrollTop?r:{}}},{key:"_wrapSizeGetter",value:function(e){return"function"==typeof e?e:function(){return e}}},{key:"_getCalculatedScrollLeft",value:function(e,t){var o=e.columnCount,n=e.height,r=e.scrollToAlignment,i=e.scrollToColumn,l=e.width,s=t.scrollLeft,a=t.instanceProps;if(o>0){var c=o-1,d=i<0?c:Math.min(c,i),u=a.rowSizeAndPositionManager.getTotalSize(),h=a.scrollbarSizeMeasured&&u>n?a.scrollbarSize:0;return a.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:r,containerSize:l-h,currentOffset:s,targetIndex:d})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function(e,o){var n=o.scrollLeft,r=t._getCalculatedScrollLeft(e,o);return"number"==typeof r&&r>=0&&n!==r?t._getScrollToPositionStateUpdate({prevState:o,scrollLeft:r,scrollTop:-1}):{}}},{key:"_getCalculatedScrollTop",value:function(e,t){var o=e.height,n=e.rowCount,r=e.scrollToAlignment,i=e.scrollToRow,l=e.width,s=t.scrollTop,a=t.instanceProps;if(n>0){var c=n-1,d=i<0?c:Math.min(c,i),u=a.columnSizeAndPositionManager.getTotalSize(),h=a.scrollbarSizeMeasured&&u>l?a.scrollbarSize:0;return a.rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:r,containerSize:o-h,currentOffset:s,targetIndex:d})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function(e,o){var n=o.scrollTop,r=t._getCalculatedScrollTop(e,o);return"number"==typeof r&&r>=0&&n!==r?t._getScrollToPositionStateUpdate({prevState:o,scrollLeft:-1,scrollTop:r}):{}}}])}();function rt(e){var t=e.cellCount,o=e.overscanCellsCount,n=e.scrollDirection,r=e.startIndex,i=e.stopIndex;return o=Math.max(1,o),1===n?{overscanStartIndex:Math.max(0,r-1),overscanStopIndex:Math.min(t-1,i+o)}:{overscanStartIndex:Math.max(0,r-o),overscanStopIndex:Math.min(t-1,i+1)}}function it(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=Array(t);o<t;o++)n[o]=e[o];return n}function lt(e,t){if(e){if("string"==typeof e)return it(e,t);var o={}.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?it(e,t):void 0}}function st(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(st=function(){return!!e})()}ce(nt,"defaultProps",{"aria-label":"grid","aria-readonly":!0,autoContainerWidth:!1,autoHeight:!1,autoWidth:!1,cellRangeRenderer:function(e){for(var t=e.cellCache,o=e.cellRenderer,n=e.columnSizeAndPositionManager,r=e.columnStartIndex,i=e.columnStopIndex,l=e.deferredMeasurementCache,s=e.horizontalOffsetAdjustment,a=e.isScrolling,c=e.isScrollingOptOut,d=e.parent,u=e.rowSizeAndPositionManager,h=e.rowStartIndex,f=e.rowStopIndex,p=e.styleCache,m=e.verticalOffsetAdjustment,g=e.visibleColumnIndices,v=e.visibleRowIndices,_=[],S=n.areOffsetsAdjusted()||u.areOffsetsAdjusted(),y=!a&&!S,w=h;w<=f;w++)for(var C=u.getSizeAndPositionOfCell(w),x=r;x<=i;x++){var R=n.getSizeAndPositionOfCell(x),b=x>=g.start&&x<=g.stop&&w>=v.start&&w<=v.stop,z="".concat(w,"-").concat(x),T=void 0;y&&p[z]?T=p[z]:l&&!l.has(w,x)?T={height:"auto",left:0,position:"absolute",top:0,width:"auto"}:(T={height:C.size,left:R.offset+s,position:"absolute",top:C.offset+m,width:R.size},p[z]=T);var I={columnIndex:x,isScrolling:a,isVisible:b,key:z,parent:d,rowIndex:w,style:T},P=void 0;!c&&!a||s||m?P=o(I):(t[z]||(t[z]=o(I)),P=t[z]),null!=P&&!1!==P&&(P.props.role||(P=M.cloneElement(P,{role:"gridcell"})),_.push(P))}return _},containerRole:"row",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:Ie,noContentRenderer:function(){return null},onScroll:function(){},onScrollbarPresenceChange:function(){},onSectionRendered:function(){},overscanColumnCount:0,overscanIndicesGetter:function(e){var t=e.cellCount,o=e.overscanCellsCount,n=e.scrollDirection,r=e.startIndex,i=e.stopIndex;return 1===n?{overscanStartIndex:Math.max(0,r),overscanStopIndex:Math.min(t-1,i+o)}:{overscanStartIndex:Math.max(0,r-o),overscanStopIndex:Math.min(t-1,i)}},overscanRowCount:10,role:"grid",scrollingResetTimeInterval:150,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1}),fe(nt);var at=function(){function t(e,o){var n,r,i,l;return te(this,t),r=this,l=[e,o],i=se(i=t),(n=le(r,st()?Reflect.construct(i,l||[],se(r).constructor):i.apply(r,l)))._loadMoreRowsMemoizer=be(),n._onRowsRendered=n._onRowsRendered.bind(n),n._registerChild=n._registerChild.bind(n),n}return ae(t,e.PureComponent),ie(t,[{key:"resetLoadMoreRowsCache",value:function(e){this._loadMoreRowsMemoizer=be(),e&&this._doStuff(this._lastRenderedStartIndex,this._lastRenderedStopIndex)}},{key:"render",value:function(){return(0,this.props.children)({onRowsRendered:this._onRowsRendered,registerChild:this._registerChild})}},{key:"_loadUnloadedRanges",value:function(e){var t=this,o=this.props.loadMoreRows;e.forEach(function(e){var n=o(e);n&&n.then(function(){var o;(o={lastRenderedStartIndex:t._lastRenderedStartIndex,lastRenderedStopIndex:t._lastRenderedStopIndex,startIndex:e.startIndex,stopIndex:e.stopIndex}).startIndex>o.lastRenderedStopIndex||o.stopIndex<o.lastRenderedStartIndex||t._registeredChild&&function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o="function"==typeof e.recomputeGridSize?e.recomputeGridSize:e.recomputeRowHeights;o?o.call(e,t):e.forceUpdate()}(t._registeredChild,t._lastRenderedStartIndex)})})}},{key:"_onRowsRendered",value:function(e){var t=e.startIndex,o=e.stopIndex;this._lastRenderedStartIndex=t,this._lastRenderedStopIndex=o,this._doStuff(t,o)}},{key:"_doStuff",value:function(e,t){var o,n=this,r=this.props,i=r.isRowLoaded,l=r.minimumBatchSize,s=r.rowCount,a=r.threshold,c=function(e){for(var t=e.isRowLoaded,o=e.minimumBatchSize,n=e.rowCount,r=e.stopIndex,i=[],l=null,s=null,a=e.startIndex;a<=r;a++)t({index:a})?null!==s&&(i.push({startIndex:l,stopIndex:s}),l=s=null):(s=a,null===l&&(l=a));if(null!==s){for(var c=Math.min(Math.max(s,l+o-1),n-1),d=s+1;d<=c&&!t({index:d});d++)s=d;i.push({startIndex:l,stopIndex:s})}if(i.length)for(var u=i[0];u.stopIndex-u.startIndex+1<o&&u.startIndex>0;){var h=u.startIndex-1;if(t({index:h}))break;u.startIndex=h}return i}({isRowLoaded:i,minimumBatchSize:l,rowCount:s,startIndex:Math.max(0,e-a),stopIndex:Math.min(s-1,t+a)}),d=(o=[]).concat.apply(o,function(e){return function(e){if(Array.isArray(e))return it(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||lt(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(c.map(function(e){return[e.startIndex,e.stopIndex]})));this._loadMoreRowsMemoizer({callback:function(){n._loadUnloadedRanges(c)},indices:{squashedUnloadedRanges:d}})}},{key:"_registerChild",value:function(e){this._registeredChild=e}}])}();function ct(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ct=function(){return!!e})()}ce(at,"defaultProps",{minimumBatchSize:10,rowCount:0,threshold:15}),at.propTypes={};var dt=function(){function t(){var e,o,n,r;te(this,t);for(var i=arguments.length,l=new Array(i),s=0;s<i;s++)l[s]=arguments[s];return o=this,n=t,r=[].concat(l),n=se(n),ce(e=le(o,ct()?Reflect.construct(n,r||[],se(o).constructor):n.apply(o,r)),"Grid",void 0),ce(e,"_cellRenderer",function(t){var o=t.parent,n=t.rowIndex,r=t.style,i=t.isScrolling,l=t.isVisible,s=t.key,a=e.props.rowRenderer,c=Object.getOwnPropertyDescriptor(r,"width");return c&&c.writable&&(r.width="100%"),a({index:n,style:r,isScrolling:i,isVisible:l,key:s,parent:o})}),ce(e,"_setRef",function(t){e.Grid=t}),ce(e,"_onScroll",function(t){var o=t.clientHeight,n=t.scrollHeight,r=t.scrollTop;(0,e.props.onScroll)({clientHeight:o,scrollHeight:n,scrollTop:r})}),ce(e,"_onSectionRendered",function(t){var o=t.rowOverscanStartIndex,n=t.rowOverscanStopIndex,r=t.rowStartIndex,i=t.rowStopIndex;(0,e.props.onRowsRendered)({overscanStartIndex:o,overscanStopIndex:n,startIndex:r,stopIndex:i})}),e}return ae(t,e.PureComponent),ie(t,[{key:"forceUpdateGrid",value:function(){this.Grid&&this.Grid.forceUpdate()}},{key:"getOffsetForRow",value:function(e){var t=e.alignment,o=e.index;return this.Grid?this.Grid.getOffsetForCell({alignment:t,rowIndex:o,columnIndex:0}).scrollTop:0}},{key:"invalidateCellSizeAfterRender",value:function(e){var t=e.columnIndex,o=e.rowIndex;this.Grid&&this.Grid.invalidateCellSizeAfterRender({rowIndex:o,columnIndex:t})}},{key:"measureAllRows",value:function(){this.Grid&&this.Grid.measureAllCells()}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,o=void 0===t?0:t,n=e.rowIndex,r=void 0===n?0:n;this.Grid&&this.Grid.recomputeGridSize({rowIndex:r,columnIndex:o})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e,columnIndex:0})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"render",value:function(){var t=this.props,o=t.className,n=t.noRowsRenderer,r=t.scrollToIndex,i=t.width,l=W("ReactVirtualized__List",o);return e.createElement(nt,D({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:l,columnWidth:i,columnCount:1,noContentRenderer:n,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:r}))}}])}();ce(dt,"defaultProps",{autoHeight:!1,estimatedRowSize:30,onScroll:function(){},noRowsRenderer:function(){return null},onRowsRendered:function(){},overscanIndicesGetter:rt,overscanRowCount:10,scrollToAlignment:"auto",scrollToIndex:-1,style:{}});const ut=function(e,t,o,n,r){return"function"==typeof o?function(e,t,o,n,r){for(var i=o+1;t<=o;){var l=t+o>>>1;r(e[l],n)>=0?(i=l,o=l-1):t=l+1}return i}(e,void 0===n?0:0|n,void 0===r?e.length-1:0|r,t,o):function(e,t,o,n){for(var r=o+1;t<=o;){var i=t+o>>>1;e[i]>=n?(r=i,o=i-1):t=i+1}return r}(e,void 0===o?0:0|o,void 0===n?e.length-1:0|n,t)};function ht(e,t,o,n,r){this.mid=e,this.left=t,this.right=o,this.leftPoints=n,this.rightPoints=r,this.count=(t?t.count:0)+(o?o.count:0)+n.length}var ft=ht.prototype;function pt(e,t){e.mid=t.mid,e.left=t.left,e.right=t.right,e.leftPoints=t.leftPoints,e.rightPoints=t.rightPoints,e.count=t.count}function mt(e,t){var o=Rt(t);e.mid=o.mid,e.left=o.left,e.right=o.right,e.leftPoints=o.leftPoints,e.rightPoints=o.rightPoints,e.count=o.count}function gt(e,t){var o=e.intervals([]);o.push(t),mt(e,o)}function vt(e,t){var o=e.intervals([]),n=o.indexOf(t);return n<0?0:(o.splice(n,1),mt(e,o),1)}function _t(e,t,o){for(var n=0;n<e.length&&e[n][0]<=t;++n){var r=o(e[n]);if(r)return r}}function St(e,t,o){for(var n=e.length-1;n>=0&&e[n][1]>=t;--n){var r=o(e[n]);if(r)return r}}function yt(e,t){for(var o=0;o<e.length;++o){var n=t(e[o]);if(n)return n}}function wt(e,t){return e-t}function Ct(e,t){return e[0]-t[0]||e[1]-t[1]}function xt(e,t){return e[1]-t[1]||e[0]-t[0]}function Rt(e){if(0===e.length)return null;for(var t=[],o=0;o<e.length;++o)t.push(e[o][0],e[o][1]);t.sort(wt);var n=t[t.length>>1],r=[],i=[],l=[];for(o=0;o<e.length;++o){var s=e[o];s[1]<n?r.push(s):n<s[0]?i.push(s):l.push(s)}var a=l,c=l.slice();return a.sort(Ct),c.sort(xt),new ht(n,Rt(r),Rt(i),a,c)}function bt(e){this.root=e}ft.intervals=function(e){return e.push.apply(e,this.leftPoints),this.left&&this.left.intervals(e),this.right&&this.right.intervals(e),e},ft.insert=function(e){var t=this.count-this.leftPoints.length;if(this.count+=1,e[1]<this.mid)this.left?4*(this.left.count+1)>3*(t+1)?gt(this,e):this.left.insert(e):this.left=Rt([e]);else if(e[0]>this.mid)this.right?4*(this.right.count+1)>3*(t+1)?gt(this,e):this.right.insert(e):this.right=Rt([e]);else{var o=ut(this.leftPoints,e,Ct),n=ut(this.rightPoints,e,xt);this.leftPoints.splice(o,0,e),this.rightPoints.splice(n,0,e)}},ft.remove=function(e){var t=this.count-this.leftPoints;if(e[1]<this.mid)return this.left?4*(this.right?this.right.count:0)>3*(t-1)?vt(this,e):2===(i=this.left.remove(e))?(this.left=null,this.count-=1,1):(1===i&&(this.count-=1),i):0;if(e[0]>this.mid)return this.right?4*(this.left?this.left.count:0)>3*(t-1)?vt(this,e):2===(i=this.right.remove(e))?(this.right=null,this.count-=1,1):(1===i&&(this.count-=1),i):0;if(1===this.count)return this.leftPoints[0]===e?2:0;if(1===this.leftPoints.length&&this.leftPoints[0]===e){if(this.left&&this.right){for(var o=this,n=this.left;n.right;)o=n,n=n.right;if(o===this)n.right=this.right;else{var r=this.left,i=this.right;o.count-=n.count,o.right=n.left,n.left=r,n.right=i}pt(this,n),this.count=(this.left?this.left.count:0)+(this.right?this.right.count:0)+this.leftPoints.length}else this.left?pt(this,this.left):pt(this,this.right);return 1}for(r=ut(this.leftPoints,e,Ct);r<this.leftPoints.length&&this.leftPoints[r][0]===e[0];++r)if(this.leftPoints[r]===e)for(this.count-=1,this.leftPoints.splice(r,1),i=ut(this.rightPoints,e,xt);i<this.rightPoints.length&&this.rightPoints[i][1]===e[1];++i)if(this.rightPoints[i]===e)return this.rightPoints.splice(i,1),1;return 0},ft.queryPoint=function(e,t){return e<this.mid?this.left&&(o=this.left.queryPoint(e,t))?o:_t(this.leftPoints,e,t):e>this.mid?this.right&&(o=this.right.queryPoint(e,t))?o:St(this.rightPoints,e,t):yt(this.leftPoints,t);var o},ft.queryInterval=function(e,t,o){var n;return e<this.mid&&this.left&&(n=this.left.queryInterval(e,t,o))||t>this.mid&&this.right&&(n=this.right.queryInterval(e,t,o))?n:t<this.mid?_t(this.leftPoints,t,o):e>this.mid?St(this.rightPoints,e,o):yt(this.leftPoints,o)};var zt=bt.prototype;zt.insert=function(e){this.root?this.root.insert(e):this.root=new ht(e[0],null,null,[e],[e])},zt.remove=function(e){if(this.root){var t=this.root.remove(e);return 2===t&&(this.root=null),0!==t}return!1},zt.queryPoint=function(e,t){if(this.root)return this.root.queryPoint(e,t)},zt.queryInterval=function(e,t,o){if(e<=t&&this.root)return this.root.queryInterval(e,t,o)},Object.defineProperty(zt,"count",{get:function(){return this.root?this.root.count:0}}),Object.defineProperty(zt,"intervals",{get:function(){return this.root?this.root.intervals([]):[]}});var Tt=ie(function e(){te(this,e),ce(this,"_columnSizeMap",{}),ce(this,"_intervalTree",new bt(null)),ce(this,"_leftMap",{})},[{key:"estimateTotalHeight",value:function(e,t,o){var n=e-this.count;return this.tallestColumnSize+Math.ceil(n/t)*o}},{key:"range",value:function(e,t,o){var n=this;this._intervalTree.queryInterval(e,e+t,function(e){var t=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var n,r,i,l,s=[],a=!0,c=!1;try{if(i=(o=o.call(e)).next,0===t);else for(;!(a=(n=i.call(o)).done)&&(s.push(n.value),s.length!==t);a=!0);}catch(e){c=!0,r=e}finally{try{if(!a&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(c)throw r}}return s}}(e,t)||lt(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(e,3),r=t[0];t[1];var i=t[2];return o(i,n._leftMap[i],r)})}},{key:"setPosition",value:function(e,t,o,n){this._intervalTree.insert([o,o+n,e]),this._leftMap[e]=t;var r=this._columnSizeMap,i=r[t];r[t]=void 0===i?o+n:Math.max(i,o+n)}},{key:"count",get:function(){return this._intervalTree.count}},{key:"shortestColumnSize",get:function(){var e=this._columnSizeMap,t=0;for(var o in e){var n=e[o];t=0===t?n:Math.min(t,n)}return t}},{key:"tallestColumnSize",get:function(){var e=this._columnSizeMap,t=0;for(var o in e){var n=e[o];t=Math.max(t,n)}return t}}]);function It(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}function Pt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?It(Object(o),!0).forEach(function(t){ce(e,t,o[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):It(Object(o)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))})}return e}function Ot(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ot=function(){return!!e})()}var kt=function(){function t(){var e,o,n,r;te(this,t);for(var i=arguments.length,l=new Array(i),s=0;s<i;s++)l[s]=arguments[s];return o=this,n=t,r=[].concat(l),n=se(n),ce(e=le(o,Ot()?Reflect.construct(n,r||[],se(o).constructor):n.apply(o,r)),"state",{isScrolling:!1,scrollTop:0}),ce(e,"_debounceResetIsScrollingId",void 0),ce(e,"_invalidateOnUpdateStartIndex",null),ce(e,"_invalidateOnUpdateStopIndex",null),ce(e,"_positionCache",new Tt),ce(e,"_startIndex",null),ce(e,"_startIndexMemoized",null),ce(e,"_stopIndex",null),ce(e,"_stopIndexMemoized",null),ce(e,"_debounceResetIsScrollingCallback",function(){e.setState({isScrolling:!1})}),ce(e,"_setScrollingContainerRef",function(t){e._scrollingContainer=t}),ce(e,"_onScroll",function(t){var o=e.props.height,n=t.currentTarget.scrollTop,r=Math.min(Math.max(0,e._getEstimatedTotalHeight()-o),n);n===r&&(e._debounceResetIsScrolling(),e.state.scrollTop!==r&&e.setState({isScrolling:!0,scrollTop:r}))}),e}return ae(t,e.PureComponent),ie(t,[{key:"clearCellPositions",value:function(){this._positionCache=new Tt,this.forceUpdate()}},{key:"invalidateCellSizeAfterRender",value:function(e){var t=e.rowIndex;null===this._invalidateOnUpdateStartIndex?(this._invalidateOnUpdateStartIndex=t,this._invalidateOnUpdateStopIndex=t):(this._invalidateOnUpdateStartIndex=Math.min(this._invalidateOnUpdateStartIndex,t),this._invalidateOnUpdateStopIndex=Math.max(this._invalidateOnUpdateStopIndex,t))}},{key:"recomputeCellPositions",value:function(){var e=this._positionCache.count-1;this._positionCache=new Tt,this._populatePositionCache(0,e),this.forceUpdate()}},{key:"componentDidMount",value:function(){this._checkInvalidateOnUpdate(),this._invokeOnScrollCallback(),this._invokeOnCellsRenderedCallback()}},{key:"componentDidUpdate",value:function(e,t){this._checkInvalidateOnUpdate(),this._invokeOnScrollCallback(),this._invokeOnCellsRenderedCallback(),this.props.scrollTop!==e.scrollTop&&this._debounceResetIsScrolling()}},{key:"componentWillUnmount",value:function(){this._debounceResetIsScrollingId&&Je(this._debounceResetIsScrollingId)}},{key:"render",value:function(){var t,o=this,n=this.props,r=n.autoHeight,i=n.cellCount,l=n.cellMeasurerCache,s=n.cellRenderer,a=n.className,c=n.height,d=n.id,u=n.keyMapper,h=n.overscanByPixels,f=n.role,p=n.style,m=n.tabIndex,g=n.width,v=n.rowDirection,_=this.state,S=_.isScrolling,y=_.scrollTop,w=[],C=this._getEstimatedTotalHeight(),x=this._positionCache.shortestColumnSize,R=this._positionCache.count,b=0;if(this._positionCache.range(Math.max(0,y-h),c+2*h,function(e,n,r){void 0===t?(b=e,t=e):(b=Math.min(b,e),t=Math.max(t,e)),w.push(s({index:e,isScrolling:S,key:u(e),parent:o,style:ce(ce(ce(ce({height:l.getHeight(e)},"ltr"===v?"left":"right",n),"position","absolute"),"top",r),"width",l.getWidth(e))}))}),x<y+c+h&&R<i)for(var z=Math.min(i-R,Math.ceil((y+c+h-x)/l.defaultHeight*g/l.defaultWidth)),T=R;T<R+z;T++)t=T,w.push(s({index:T,isScrolling:S,key:u(T),parent:this,style:{width:l.getWidth(T)}}));return this._startIndex=b,this._stopIndex=t,e.createElement("div",{ref:this._setScrollingContainerRef,"aria-label":this.props["aria-label"],className:W("ReactVirtualized__Masonry",a),id:d,onScroll:this._onScroll,role:f,style:Pt({boxSizing:"border-box",direction:"ltr",height:r?"auto":c,overflowX:"hidden",overflowY:C<c?"hidden":"auto",position:"relative",width:g,WebkitOverflowScrolling:"touch",willChange:"transform"},p),tabIndex:m},e.createElement("div",{className:"ReactVirtualized__Masonry__innerScrollContainer",style:{width:"100%",height:C,maxWidth:"100%",maxHeight:C,overflow:"hidden",pointerEvents:S?"none":"",position:"relative"}},w))}},{key:"_checkInvalidateOnUpdate",value:function(){if("number"==typeof this._invalidateOnUpdateStartIndex){var e=this._invalidateOnUpdateStartIndex,t=this._invalidateOnUpdateStopIndex;this._invalidateOnUpdateStartIndex=null,this._invalidateOnUpdateStopIndex=null,this._populatePositionCache(e,t),this.forceUpdate()}}},{key:"_debounceResetIsScrolling",value:function(){var e=this.props.scrollingResetTimeInterval;this._debounceResetIsScrollingId&&Je(this._debounceResetIsScrollingId),this._debounceResetIsScrollingId=Ze(this._debounceResetIsScrollingCallback,e)}},{key:"_getEstimatedTotalHeight",value:function(){var e=this.props,t=e.cellCount,o=e.cellMeasurerCache,n=e.width,r=Math.max(1,Math.floor(n/o.defaultWidth));return this._positionCache.estimateTotalHeight(t,r,o.defaultHeight)}},{key:"_invokeOnScrollCallback",value:function(){var e=this.props,t=e.height,o=e.onScroll,n=this.state.scrollTop;this._onScrollMemoized!==n&&(o({clientHeight:t,scrollHeight:this._getEstimatedTotalHeight(),scrollTop:n}),this._onScrollMemoized=n)}},{key:"_invokeOnCellsRenderedCallback",value:function(){this._startIndexMemoized===this._startIndex&&this._stopIndexMemoized===this._stopIndex||((0,this.props.onCellsRendered)({startIndex:this._startIndex,stopIndex:this._stopIndex}),this._startIndexMemoized=this._startIndex,this._stopIndexMemoized=this._stopIndex)}},{key:"_populatePositionCache",value:function(e,t){for(var o=this.props,n=o.cellMeasurerCache,r=o.cellPositioner,i=e;i<=t;i++){var l=r(i),s=l.left,a=l.top;this._positionCache.setPosition(i,s,a,n.getHeight(i))}}}],[{key:"getDerivedStateFromProps",value:function(e,t){return void 0!==e.scrollTop&&t.scrollTop!==e.scrollTop?{isScrolling:!0,scrollTop:e.scrollTop}:null}}])}();function Mt(){}ce(kt,"defaultProps",{autoHeight:!1,keyMapper:function(e){return e},onCellsRendered:Mt,onScroll:Mt,overscanByPixels:20,role:"grid",scrollingResetTimeInterval:150,style:{},tabIndex:0,rowDirection:"ltr"}),fe(kt);var Lt=ie(function e(){var t=this,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};te(this,e),ce(this,"_cellMeasurerCache",void 0),ce(this,"_columnIndexOffset",void 0),ce(this,"_rowIndexOffset",void 0),ce(this,"columnWidth",function(e){var o=e.index;t._cellMeasurerCache.columnWidth({index:o+t._columnIndexOffset})}),ce(this,"rowHeight",function(e){var o=e.index;t._cellMeasurerCache.rowHeight({index:o+t._rowIndexOffset})});var n=o.cellMeasurerCache,r=o.columnIndexOffset,i=void 0===r?0:r,l=o.rowIndexOffset,s=void 0===l?0:l;this._cellMeasurerCache=n,this._columnIndexOffset=i,this._rowIndexOffset=s},[{key:"clear",value:function(e,t){this._cellMeasurerCache.clear(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"clearAll",value:function(){this._cellMeasurerCache.clearAll()}},{key:"defaultHeight",get:function(){return this._cellMeasurerCache.defaultHeight}},{key:"defaultWidth",get:function(){return this._cellMeasurerCache.defaultWidth}},{key:"hasFixedHeight",value:function(){return this._cellMeasurerCache.hasFixedHeight()}},{key:"hasFixedWidth",value:function(){return this._cellMeasurerCache.hasFixedWidth()}},{key:"getHeight",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this._cellMeasurerCache.getHeight(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"getWidth",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this._cellMeasurerCache.getWidth(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"has",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this._cellMeasurerCache.has(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"set",value:function(e,t,o,n){this._cellMeasurerCache.set(e+this._rowIndexOffset,t+this._columnIndexOffset,o,n)}}]),Gt=["rowIndex"],At=["columnIndex","rowIndex"],Et=["columnIndex"],Ht=["onScroll","onSectionRendered","onScrollbarPresenceChange","scrollLeft","scrollToColumn","scrollTop","scrollToRow"];function Wt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}function Dt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Wt(Object(o),!0).forEach(function(t){ce(e,t,o[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Wt(Object(o)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))})}return e}function jt(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(jt=function(){return!!e})()}var Ft=function(){function t(o,n){var r,i,l,s;te(this,t),i=this,s=[o,n],l=se(l=t),ce(r=le(i,jt()?Reflect.construct(l,s||[],se(i).constructor):l.apply(i,s)),"state",{scrollLeft:0,scrollTop:0,scrollbarSize:0,showHorizontalScrollbar:!1,showVerticalScrollbar:!1}),ce(r,"_deferredInvalidateColumnIndex",null),ce(r,"_deferredInvalidateRowIndex",null),ce(r,"_bottomLeftGridRef",function(e){r._bottomLeftGrid=e}),ce(r,"_bottomRightGridRef",function(e){r._bottomRightGrid=e}),ce(r,"_cellRendererBottomLeftGrid",function(t){var o=t.rowIndex,n=Fe(t,Gt),i=r.props,l=i.cellRenderer,s=i.fixedRowCount;return o===i.rowCount-s?e.createElement("div",{key:n.key,style:Dt(Dt({},n.style),{},{height:20})}):l(Dt(Dt({},n),{},{parent:r,rowIndex:o+s}))}),ce(r,"_cellRendererBottomRightGrid",function(e){var t=e.columnIndex,o=e.rowIndex,n=Fe(e,At),i=r.props,l=i.cellRenderer,s=i.fixedColumnCount,a=i.fixedRowCount;return l(Dt(Dt({},n),{},{columnIndex:t+s,parent:r,rowIndex:o+a}))}),ce(r,"_cellRendererTopRightGrid",function(t){var o=t.columnIndex,n=Fe(t,Et),i=r.props,l=i.cellRenderer,s=i.columnCount,a=i.fixedColumnCount;return o===s-a?e.createElement("div",{key:n.key,style:Dt(Dt({},n.style),{},{width:20})}):l(Dt(Dt({},n),{},{columnIndex:o+a,parent:r}))}),ce(r,"_columnWidthRightGrid",function(e){var t=e.index,o=r.props,n=o.columnCount,i=o.fixedColumnCount,l=o.columnWidth,s=r.state,a=s.scrollbarSize;return s.showHorizontalScrollbar&&t===n-i?a:"function"==typeof l?l({index:t+i}):l}),ce(r,"_onScroll",function(e){var t=e.scrollLeft,o=e.scrollTop;r.setState({scrollLeft:t,scrollTop:o});var n=r.props.onScroll;n&&n(e)}),ce(r,"_onScrollbarPresenceChange",function(e){var t=e.horizontal,o=e.size,n=e.vertical,i=r.state,l=i.showHorizontalScrollbar,s=i.showVerticalScrollbar;if(t!==l||n!==s){r.setState({scrollbarSize:o,showHorizontalScrollbar:t,showVerticalScrollbar:n});var a=r.props.onScrollbarPresenceChange;"function"==typeof a&&a({horizontal:t,size:o,vertical:n})}}),ce(r,"_onScrollLeft",function(e){var t=e.scrollLeft;r._onScroll({scrollLeft:t,scrollTop:r.state.scrollTop})}),ce(r,"_onScrollTop",function(e){var t=e.scrollTop;r._onScroll({scrollTop:t,scrollLeft:r.state.scrollLeft})}),ce(r,"_rowHeightBottomGrid",function(e){var t=e.index,o=r.props,n=o.fixedRowCount,i=o.rowCount,l=o.rowHeight,s=r.state,a=s.scrollbarSize;return s.showVerticalScrollbar&&t===i-n?a:"function"==typeof l?l({index:t+n}):l}),ce(r,"_topLeftGridRef",function(e){r._topLeftGrid=e}),ce(r,"_topRightGridRef",function(e){r._topRightGrid=e});var a=o.deferredMeasurementCache,c=o.fixedColumnCount,d=o.fixedRowCount;return r._maybeCalculateCachedStyles(!0),a&&(r._deferredMeasurementCacheBottomLeftGrid=d>0?new Lt({cellMeasurerCache:a,columnIndexOffset:0,rowIndexOffset:d}):a,r._deferredMeasurementCacheBottomRightGrid=c>0||d>0?new Lt({cellMeasurerCache:a,columnIndexOffset:c,rowIndexOffset:d}):a,r._deferredMeasurementCacheTopRightGrid=c>0?new Lt({cellMeasurerCache:a,columnIndexOffset:c,rowIndexOffset:0}):a),r}return ae(t,e.PureComponent),ie(t,[{key:"forceUpdateGrids",value:function(){this._bottomLeftGrid&&this._bottomLeftGrid.forceUpdate(),this._bottomRightGrid&&this._bottomRightGrid.forceUpdate(),this._topLeftGrid&&this._topLeftGrid.forceUpdate(),this._topRightGrid&&this._topRightGrid.forceUpdate()}},{key:"invalidateCellSizeAfterRender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,o=void 0===t?0:t,n=e.rowIndex,r=void 0===n?0:n;this._deferredInvalidateColumnIndex="number"==typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,o):o,this._deferredInvalidateRowIndex="number"==typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,r):r}},{key:"measureAllCells",value:function(){this._bottomLeftGrid&&this._bottomLeftGrid.measureAllCells(),this._bottomRightGrid&&this._bottomRightGrid.measureAllCells(),this._topLeftGrid&&this._topLeftGrid.measureAllCells(),this._topRightGrid&&this._topRightGrid.measureAllCells()}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,o=void 0===t?0:t,n=e.rowIndex,r=void 0===n?0:n,i=this.props,l=i.fixedColumnCount,s=i.fixedRowCount,a=Math.max(0,o-l),c=Math.max(0,r-s);this._bottomLeftGrid&&this._bottomLeftGrid.recomputeGridSize({columnIndex:o,rowIndex:c}),this._bottomRightGrid&&this._bottomRightGrid.recomputeGridSize({columnIndex:a,rowIndex:c}),this._topLeftGrid&&this._topLeftGrid.recomputeGridSize({columnIndex:o,rowIndex:r}),this._topRightGrid&&this._topRightGrid.recomputeGridSize({columnIndex:a,rowIndex:r}),this._leftGridWidth=null,this._topGridHeight=null,this._maybeCalculateCachedStyles(!0)}},{key:"componentDidMount",value:function(){var e=this.props,t=e.scrollLeft,o=e.scrollTop;if(t>0||o>0){var n={};t>0&&(n.scrollLeft=t),o>0&&(n.scrollTop=o),this.setState(n)}this._handleInvalidatedGridSize()}},{key:"componentDidUpdate",value:function(){this._handleInvalidatedGridSize()}},{key:"render",value:function(){var t=this.props,o=t.onScroll,n=t.onSectionRendered;t.onScrollbarPresenceChange,t.scrollLeft;var r=t.scrollToColumn;t.scrollTop;var i=t.scrollToRow,l=Fe(t,Ht);if(this._prepareForRender(),0===this.props.width||0===this.props.height)return null;var s=this.state,a=s.scrollLeft,c=s.scrollTop;return e.createElement("div",{style:this._containerOuterStyle},e.createElement("div",{style:this._containerTopStyle},this._renderTopLeftGrid(l),this._renderTopRightGrid(Dt(Dt({},l),{},{onScroll:o,scrollLeft:a}))),e.createElement("div",{style:this._containerBottomStyle},this._renderBottomLeftGrid(Dt(Dt({},l),{},{onScroll:o,scrollTop:c})),this._renderBottomRightGrid(Dt(Dt({},l),{},{onScroll:o,onSectionRendered:n,scrollLeft:a,scrollToColumn:r,scrollToRow:i,scrollTop:c}))))}},{key:"_getBottomGridHeight",value:function(e){return e.height-this._getTopGridHeight(e)}},{key:"_getLeftGridWidth",value:function(e){var t=e.fixedColumnCount,o=e.columnWidth;if(null==this._leftGridWidth)if("function"==typeof o){for(var n=0,r=0;r<t;r++)n+=o({index:r});this._leftGridWidth=n}else this._leftGridWidth=o*t;return this._leftGridWidth}},{key:"_getRightGridWidth",value:function(e){return e.width-this._getLeftGridWidth(e)}},{key:"_getTopGridHeight",value:function(e){var t=e.fixedRowCount,o=e.rowHeight;if(null==this._topGridHeight)if("function"==typeof o){for(var n=0,r=0;r<t;r++)n+=o({index:r});this._topGridHeight=n}else this._topGridHeight=o*t;return this._topGridHeight}},{key:"_handleInvalidatedGridSize",value:function(){if("number"==typeof this._deferredInvalidateColumnIndex){var e=this._deferredInvalidateColumnIndex,t=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:e,rowIndex:t}),this.forceUpdate()}}},{key:"_maybeCalculateCachedStyles",value:function(e){var t=this.props,o=t.columnWidth,n=t.enableFixedColumnScroll,r=t.enableFixedRowScroll,i=t.height,l=t.fixedColumnCount,s=t.fixedRowCount,a=t.rowHeight,c=t.style,d=t.styleBottomLeftGrid,u=t.styleBottomRightGrid,h=t.styleTopLeftGrid,f=t.styleTopRightGrid,p=t.width,m=e||i!==this._lastRenderedHeight||p!==this._lastRenderedWidth,g=e||o!==this._lastRenderedColumnWidth||l!==this._lastRenderedFixedColumnCount,v=e||s!==this._lastRenderedFixedRowCount||a!==this._lastRenderedRowHeight;(e||m||c!==this._lastRenderedStyle)&&(this._containerOuterStyle=Dt({height:i,overflow:"visible",width:p},c)),(e||m||v)&&(this._containerTopStyle={height:this._getTopGridHeight(this.props),position:"relative",width:p},this._containerBottomStyle={height:i-this._getTopGridHeight(this.props),overflow:"visible",position:"relative",width:p}),(e||d!==this._lastRenderedStyleBottomLeftGrid)&&(this._bottomLeftGridStyle=Dt({left:0,overflowX:"hidden",overflowY:n?"auto":"hidden",position:"absolute"},d)),(e||g||u!==this._lastRenderedStyleBottomRightGrid)&&(this._bottomRightGridStyle=Dt({left:this._getLeftGridWidth(this.props),position:"absolute"},u)),(e||h!==this._lastRenderedStyleTopLeftGrid)&&(this._topLeftGridStyle=Dt({left:0,overflowX:"hidden",overflowY:"hidden",position:"absolute",top:0},h)),(e||g||f!==this._lastRenderedStyleTopRightGrid)&&(this._topRightGridStyle=Dt({left:this._getLeftGridWidth(this.props),overflowX:r?"auto":"hidden",overflowY:"hidden",position:"absolute",top:0},f)),this._lastRenderedColumnWidth=o,this._lastRenderedFixedColumnCount=l,this._lastRenderedFixedRowCount=s,this._lastRenderedHeight=i,this._lastRenderedRowHeight=a,this._lastRenderedStyle=c,this._lastRenderedStyleBottomLeftGrid=d,this._lastRenderedStyleBottomRightGrid=u,this._lastRenderedStyleTopLeftGrid=h,this._lastRenderedStyleTopRightGrid=f,this._lastRenderedWidth=p}},{key:"_prepareForRender",value:function(){this._lastRenderedColumnWidth===this.props.columnWidth&&this._lastRenderedFixedColumnCount===this.props.fixedColumnCount||(this._leftGridWidth=null),this._lastRenderedFixedRowCount===this.props.fixedRowCount&&this._lastRenderedRowHeight===this.props.rowHeight||(this._topGridHeight=null),this._maybeCalculateCachedStyles(),this._lastRenderedColumnWidth=this.props.columnWidth,this._lastRenderedFixedColumnCount=this.props.fixedColumnCount,this._lastRenderedFixedRowCount=this.props.fixedRowCount,this._lastRenderedRowHeight=this.props.rowHeight}},{key:"_renderBottomLeftGrid",value:function(t){var o=t.enableFixedColumnScroll,n=t.fixedColumnCount,r=t.fixedRowCount,i=t.rowCount,l=t.hideBottomLeftGridScrollbar,s=this.state.showVerticalScrollbar;if(!n)return null;var a=s?1:0,c=this._getBottomGridHeight(t),d=this._getLeftGridWidth(t),u=this.state.showVerticalScrollbar?this.state.scrollbarSize:0,h=l?d+u:d,f=e.createElement(nt,D({},t,{cellRenderer:this._cellRendererBottomLeftGrid,className:this.props.classNameBottomLeftGrid,columnCount:n,deferredMeasurementCache:this._deferredMeasurementCacheBottomLeftGrid,height:c,onScroll:o?this._onScrollTop:void 0,ref:this._bottomLeftGridRef,rowCount:Math.max(0,i-r)+a,rowHeight:this._rowHeightBottomGrid,style:this._bottomLeftGridStyle,tabIndex:null,width:h}));return l?e.createElement("div",{className:"BottomLeftGrid_ScrollWrapper",style:Dt(Dt({},this._bottomLeftGridStyle),{},{height:c,width:d,overflowY:"hidden"})},f):f}},{key:"_renderBottomRightGrid",value:function(t){var o=t.columnCount,n=t.fixedColumnCount,r=t.fixedRowCount,i=t.rowCount,l=t.scrollToColumn,s=t.scrollToRow;return e.createElement(nt,D({},t,{cellRenderer:this._cellRendererBottomRightGrid,className:this.props.classNameBottomRightGrid,columnCount:Math.max(0,o-n),columnWidth:this._columnWidthRightGrid,deferredMeasurementCache:this._deferredMeasurementCacheBottomRightGrid,height:this._getBottomGridHeight(t),onScroll:this._onScroll,onScrollbarPresenceChange:this._onScrollbarPresenceChange,ref:this._bottomRightGridRef,rowCount:Math.max(0,i-r),rowHeight:this._rowHeightBottomGrid,scrollToColumn:l-n,scrollToRow:s-r,style:this._bottomRightGridStyle,width:this._getRightGridWidth(t)}))}},{key:"_renderTopLeftGrid",value:function(t){var o=t.fixedColumnCount,n=t.fixedRowCount;return o&&n?e.createElement(nt,D({},t,{className:this.props.classNameTopLeftGrid,columnCount:o,height:this._getTopGridHeight(t),ref:this._topLeftGridRef,rowCount:n,style:this._topLeftGridStyle,tabIndex:null,width:this._getLeftGridWidth(t)})):null}},{key:"_renderTopRightGrid",value:function(t){var o=t.columnCount,n=t.enableFixedRowScroll,r=t.fixedColumnCount,i=t.fixedRowCount,l=t.scrollLeft,s=t.hideTopRightGridScrollbar,a=this.state,c=a.showHorizontalScrollbar,d=a.scrollbarSize;if(!i)return null;var u=c?1:0,h=this._getTopGridHeight(t),f=this._getRightGridWidth(t),p=c?d:0,m=h,g=this._topRightGridStyle;s&&(m=h+p,g=Dt(Dt({},this._topRightGridStyle),{},{left:0}));var v=e.createElement(nt,D({},t,{cellRenderer:this._cellRendererTopRightGrid,className:this.props.classNameTopRightGrid,columnCount:Math.max(0,o-r)+u,columnWidth:this._columnWidthRightGrid,deferredMeasurementCache:this._deferredMeasurementCacheTopRightGrid,height:m,onScroll:n?this._onScrollLeft:void 0,ref:this._topRightGridRef,rowCount:i,scrollLeft:l,style:g,tabIndex:null,width:f}));return s?e.createElement("div",{className:"TopRightGrid_ScrollWrapper",style:Dt(Dt({},this._topRightGridStyle),{},{height:h,width:f,overflowX:"hidden"})},v):v}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.scrollLeft!==t.scrollLeft||e.scrollTop!==t.scrollTop?{scrollLeft:null!=e.scrollLeft&&e.scrollLeft>=0?e.scrollLeft:t.scrollLeft,scrollTop:null!=e.scrollTop&&e.scrollTop>=0?e.scrollTop:t.scrollTop}:null}}])}();function Nt(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Nt=function(){return!!e})()}ce(Ft,"defaultProps",{classNameBottomLeftGrid:"",classNameBottomRightGrid:"",classNameTopLeftGrid:"",classNameTopRightGrid:"",enableFixedColumnScroll:!1,enableFixedRowScroll:!1,fixedColumnCount:0,fixedRowCount:0,scrollToColumn:-1,scrollToRow:-1,style:{},styleBottomLeftGrid:{},styleBottomRightGrid:{},styleTopLeftGrid:{},styleTopRightGrid:{},hideTopRightGridScrollbar:!1,hideBottomLeftGridScrollbar:!1}),Ft.propTypes={},fe(Ft),(function(){function t(e,o){var n,r,i,l;return te(this,t),r=this,l=[e,o],i=se(i=t),(n=le(r,Nt()?Reflect.construct(i,l||[],se(r).constructor):i.apply(r,l))).state={clientHeight:0,clientWidth:0,scrollHeight:0,scrollLeft:0,scrollTop:0,scrollWidth:0},n._onScroll=n._onScroll.bind(n),n}return ae(t,e.PureComponent),ie(t,[{key:"render",value:function(){var e=this.props.children,t=this.state,o=t.clientHeight,n=t.clientWidth,r=t.scrollHeight,i=t.scrollLeft,l=t.scrollTop,s=t.scrollWidth;return e({clientHeight:o,clientWidth:n,onScroll:this._onScroll,scrollHeight:r,scrollLeft:i,scrollTop:l,scrollWidth:s})}},{key:"_onScroll",value:function(e){var t=e.clientHeight,o=e.clientWidth,n=e.scrollHeight,r=e.scrollLeft,i=e.scrollTop,l=e.scrollWidth;this.setState({clientHeight:t,clientWidth:o,scrollHeight:n,scrollLeft:r,scrollTop:i,scrollWidth:l})}}])}()).propTypes={};var Bt="ASC",Ut="DESC";function Vt(t){var o=t.sortDirection,n=W("ReactVirtualized__Table__sortableHeaderIcon",{"ReactVirtualized__Table__sortableHeaderIcon--ASC":o===Bt,"ReactVirtualized__Table__sortableHeaderIcon--DESC":o===Ut});return e.createElement("svg",{className:n,width:18,height:18,viewBox:"0 0 24 24"},o===Bt?e.createElement("path",{d:"M7 14l5-5 5 5z"}):e.createElement("path",{d:"M7 10l5 5 5-5z"}),e.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}))}function $t(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($t=function(){return!!e})()}Vt.propTypes={};var Kt=function(){function t(){return te(this,t),e=this,n=arguments,o=se(o=t),le(e,$t()?Reflect.construct(o,n||[],se(e).constructor):o.apply(e,n));var e,o,n}return ae(t,e.Component),ie(t)}();function qt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}function Xt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?qt(Object(o),!0).forEach(function(t){ce(e,t,o[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):qt(Object(o)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))})}return e}function Yt(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Yt=function(){return!!e})()}ce(Kt,"defaultProps",{cellDataGetter:function(e){var t=e.dataKey,o=e.rowData;return"function"==typeof o.get?o.get(t):o[t]},cellRenderer:function(e){var t=e.cellData;return null==t?"":String(t)},defaultSortDirection:Bt,flexGrow:0,flexShrink:1,headerRenderer:function(t){var o=t.dataKey,n=t.label,r=t.sortBy,i=t.sortDirection,l=r===o,s=[e.createElement("span",{className:"ReactVirtualized__Table__headerTruncatedText",key:"label",title:"string"==typeof n?n:null},n)];return l&&s.push(e.createElement(Vt,{key:"SortIndicator",sortDirection:i})),s},style:{}}),Kt.propTypes={};var Jt=function(){function t(e){var o,n,r,i;return te(this,t),n=this,i=[e],r=se(r=t),(o=le(n,Yt()?Reflect.construct(r,i||[],se(n).constructor):r.apply(n,i))).state={scrollbarWidth:0},o._createColumn=o._createColumn.bind(o),o._createRow=o._createRow.bind(o),o._onScroll=o._onScroll.bind(o),o._onSectionRendered=o._onSectionRendered.bind(o),o._setRef=o._setRef.bind(o),o._setGridElementRef=o._setGridElementRef.bind(o),o}return ae(t,e.PureComponent),ie(t,[{key:"forceUpdateGrid",value:function(){this.Grid&&this.Grid.forceUpdate()}},{key:"getOffsetForRow",value:function(e){var t=e.alignment,o=e.index;return this.Grid?this.Grid.getOffsetForCell({alignment:t,rowIndex:o}).scrollTop:0}},{key:"invalidateCellSizeAfterRender",value:function(e){var t=e.columnIndex,o=e.rowIndex;this.Grid&&this.Grid.invalidateCellSizeAfterRender({rowIndex:o,columnIndex:t})}},{key:"measureAllRows",value:function(){this.Grid&&this.Grid.measureAllCells()}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,o=void 0===t?0:t,n=e.rowIndex,r=void 0===n?0:n;this.Grid&&this.Grid.recomputeGridSize({rowIndex:r,columnIndex:o})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"getScrollbarWidth",value:function(){if(this.GridElement){var e=this.GridElement,t=e.clientWidth||0;return(e.offsetWidth||0)-t}return 0}},{key:"componentDidMount",value:function(){this._setScrollbarWidth()}},{key:"componentDidUpdate",value:function(){this._setScrollbarWidth()}},{key:"render",value:function(){var t=this,o=this.props,n=o.children,r=o.className,i=o.disableHeader,l=o.gridClassName,s=o.gridStyle,a=o.headerHeight,c=o.headerRowRenderer,d=o.height,u=o.id,h=o.noRowsRenderer,f=o.rowClassName,p=o.rowStyle,m=o.scrollToIndex,g=o.style,v=o.width,_=this.state.scrollbarWidth,S=i?d:d-a,y="function"==typeof f?f({index:-1}):f,w="function"==typeof p?p({index:-1}):p;return this._cachedColumnStyles=[],e.Children.toArray(n).forEach(function(e,o){var n=t._getFlexStyleForColumn(e,e.props.style||Kt.defaultProps.style);t._cachedColumnStyles[o]=Xt({overflow:"hidden"},n)}),e.createElement("div",{"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-colcount":e.Children.toArray(n).length,"aria-rowcount":this.props.rowCount,className:W("ReactVirtualized__Table",r),id:u,role:"grid",style:g},!i&&c({className:W("ReactVirtualized__Table__headerRow",y),columns:this._getHeaderColumns(),style:Xt({height:a,overflow:"hidden",paddingRight:_,width:v},w)}),e.createElement(nt,D({},this.props,{elementRef:this._setGridElementRef,"aria-readonly":null,autoContainerWidth:!0,className:W("ReactVirtualized__Table__Grid",l),cellRenderer:this._createRow,columnWidth:v,columnCount:1,height:S,id:void 0,noContentRenderer:h,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,role:"rowgroup",scrollbarWidth:_,scrollToRow:m,style:Xt(Xt({},s),{},{overflowX:"hidden"})})))}},{key:"_createColumn",value:function(t){var o=t.column,n=t.columnIndex,r=t.isScrolling,i=t.parent,l=t.rowData,s=t.rowIndex,a=this.props.onColumnClick,c=o.props,d=c.cellDataGetter,u=c.cellRenderer,h=c.className,f=c.columnData,p=c.dataKey,m=c.id,g=u({cellData:d({columnData:f,dataKey:p,rowData:l}),columnData:f,columnIndex:n,dataKey:p,isScrolling:r,parent:i,rowData:l,rowIndex:s}),v=this._cachedColumnStyles[n],_="string"==typeof g?g:null;return e.createElement("div",{"aria-colindex":n+1,"aria-describedby":m,className:W("ReactVirtualized__Table__rowColumn",h),key:"Row"+s+"-Col"+n,onClick:function(e){a&&a({columnData:f,dataKey:p,event:e})},role:"gridcell",style:v,title:_},g)}},{key:"_createHeader",value:function(t){var o,n,r,i,l,s=t.column,a=t.index,c=this.props,d=c.headerClassName,u=c.headerStyle,h=c.onHeaderClick,f=c.sort,p=c.sortBy,m=c.sortDirection,g=s.props,v=g.columnData,_=g.dataKey,S=g.defaultSortDirection,y=g.disableSort,w=g.headerRenderer,C=g.id,x=g.label,R=!y&&f,b=W("ReactVirtualized__Table__headerColumn",d,s.props.headerClassName,{ReactVirtualized__Table__sortableHeaderColumn:R}),z=this._getFlexStyleForColumn(s,Xt(Xt({},u),s.props.headerStyle)),T=w({columnData:v,dataKey:_,disableSort:y,label:x,sortBy:p,sortDirection:m});if(R||h){var I=p!==_?S:m===Ut?Bt:Ut,P=function(e){R&&f({defaultSortDirection:S,event:e,sortBy:_,sortDirection:I}),h&&h({columnData:v,dataKey:_,event:e})};l=s.props["aria-label"]||x||_,i="none",r=0,o=P,n=function(e){"Enter"!==e.key&&" "!==e.key||P(e)}}return p===_&&(i=m===Bt?"ascending":"descending"),e.createElement("div",{"aria-label":l,"aria-sort":i,className:b,id:C,key:"Header-Col"+a,onClick:o,onKeyDown:n,role:"columnheader",style:z,tabIndex:r},T)}},{key:"_createRow",value:function(t){var o=this,n=t.rowIndex,r=t.isScrolling,i=t.key,l=t.parent,s=t.style,a=this.props,c=a.children,d=a.onRowClick,u=a.onRowDoubleClick,h=a.onRowRightClick,f=a.onRowMouseOver,p=a.onRowMouseOut,m=a.rowClassName,g=a.rowGetter,v=a.rowRenderer,_=a.rowStyle,S=this.state.scrollbarWidth,y="function"==typeof m?m({index:n}):m,w="function"==typeof _?_({index:n}):_,C=g({index:n}),x=e.Children.toArray(c).map(function(e,t){return o._createColumn({column:e,columnIndex:t,isScrolling:r,parent:l,rowData:C,rowIndex:n,scrollbarWidth:S})}),R=W("ReactVirtualized__Table__row",y),b=Xt(Xt({},s),{},{height:this._getRowHeight(n),overflow:"hidden",paddingRight:S},w);return v({className:R,columns:x,index:n,isScrolling:r,key:i,onRowClick:d,onRowDoubleClick:u,onRowRightClick:h,onRowMouseOver:f,onRowMouseOut:p,rowData:C,style:b})}},{key:"_getFlexStyleForColumn",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o="".concat(e.props.flexGrow," ").concat(e.props.flexShrink," ").concat(e.props.width,"px"),n=Xt(Xt({},t),{},{flex:o,msFlex:o,WebkitFlex:o});return e.props.maxWidth&&(n.maxWidth=e.props.maxWidth),e.props.minWidth&&(n.minWidth=e.props.minWidth),n}},{key:"_getHeaderColumns",value:function(){var t=this,o=this.props,n=o.children;return(o.disableHeader?[]:e.Children.toArray(n)).map(function(e,o){return t._createHeader({column:e,index:o})})}},{key:"_getRowHeight",value:function(e){var t=this.props.rowHeight;return"function"==typeof t?t({index:e}):t}},{key:"_onScroll",value:function(e){var t=e.clientHeight,o=e.scrollHeight,n=e.scrollTop;(0,this.props.onScroll)({clientHeight:t,scrollHeight:o,scrollTop:n})}},{key:"_onSectionRendered",value:function(e){var t=e.rowOverscanStartIndex,o=e.rowOverscanStopIndex,n=e.rowStartIndex,r=e.rowStopIndex;(0,this.props.onRowsRendered)({overscanStartIndex:t,overscanStopIndex:o,startIndex:n,stopIndex:r})}},{key:"_setRef",value:function(e){this.Grid=e}},{key:"_setGridElementRef",value:function(e){this.GridElement=e}},{key:"_setScrollbarWidth",value:function(){var e=this.getScrollbarWidth();this.setState({scrollbarWidth:e})}}])}();ce(Jt,"defaultProps",{disableHeader:!1,estimatedRowSize:30,headerHeight:0,headerStyle:{},noRowsRenderer:function(){return null},onRowsRendered:function(){return null},onScroll:function(){return null},overscanIndicesGetter:rt,overscanRowCount:10,rowRenderer:function(t){var o=t.className,n=t.columns,r=t.index,i=t.key,l=t.onRowClick,s=t.onRowDoubleClick,a=t.onRowMouseOut,c=t.onRowMouseOver,d=t.onRowRightClick,u=t.rowData,h=t.style,f={"aria-rowindex":r+1};return(l||s||a||c||d)&&(f["aria-label"]="row",f.tabIndex=0,l&&(f.onClick=function(e){return l({event:e,index:r,rowData:u})}),s&&(f.onDoubleClick=function(e){return s({event:e,index:r,rowData:u})}),a&&(f.onMouseOut=function(e){return a({event:e,index:r,rowData:u})}),c&&(f.onMouseOver=function(e){return c({event:e,index:r,rowData:u})}),d&&(f.onContextMenu=function(e){return d({event:e,index:r,rowData:u})})),e.createElement("div",D({},f,{className:o,key:i,role:"row",style:h}),n)},headerRowRenderer:function(t){var o=t.className,n=t.columns,r=t.style;return e.createElement("div",{className:o,role:"row",style:r},n)},rowStyle:{},scrollToAlignment:"auto",scrollToIndex:-1,style:{}}),Jt.propTypes={};var Zt=[],Qt=null,eo=null;function to(){eo&&(eo=null,document.body&&null!=Qt&&(document.body.style.pointerEvents=Qt),Qt=null)}function oo(){to(),Zt.forEach(function(e){return e.__resetIsScrolling()})}function no(e){e.currentTarget===window&&null==Qt&&document.body&&(Qt=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),function(){eo&&Je(eo);var e=0;Zt.forEach(function(t){e=Math.max(e,t.props.scrollingResetTimeInterval)}),eo=Ze(oo,e)}(),Zt.forEach(function(t){t.props.scrollElement===e.currentTarget&&t.__handleWindowScrollEvent()})}function ro(e,t){Zt.some(function(e){return e.props.scrollElement===t})||t.addEventListener("scroll",no),Zt.push(e)}function io(e,t){(Zt=Zt.filter(function(t){return t!==e})).length||(t.removeEventListener("scroll",no),eo&&(Je(eo),to()))}var lo=function(e){return e===window},so=function(e){return e.getBoundingClientRect()};function ao(e,t){if(e){if(lo(e)){var o=window,n=o.innerHeight,r=o.innerWidth;return{height:"number"==typeof n?n:0,width:"number"==typeof r?r:0}}return so(e)}return{height:t.serverHeight,width:t.serverWidth}}function co(e){return lo(e)&&document.documentElement?{top:"scrollY"in window?window.scrollY:document.documentElement.scrollTop,left:"scrollX"in window?window.scrollX:document.documentElement.scrollLeft}:{top:e.scrollTop,left:e.scrollLeft}}function uo(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}function ho(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?uo(Object(o),!0).forEach(function(t){ce(e,t,o[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):uo(Object(o)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))})}return e}function fo(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fo=function(){return!!e})()}var po=function(){return"undefined"!=typeof window?window:void 0},mo=function(){function t(){var o,n,r,i;te(this,t);for(var l=arguments.length,s=new Array(l),a=0;a<l;a++)s[a]=arguments[a];return n=this,r=t,i=[].concat(s),r=se(r),ce(o=le(n,fo()?Reflect.construct(r,i||[],se(n).constructor):r.apply(n,i)),"_window",po()),ce(o,"_isMounted",!1),ce(o,"_positionFromTop",0),ce(o,"_positionFromLeft",0),ce(o,"_detectElementResize",void 0),ce(o,"_child",void 0),ce(o,"_windowScrollerRef",e.createRef()),ce(o,"state",ho(ho({},ao(o.props.scrollElement,o.props)),{},{isScrolling:!1,scrollLeft:0,scrollTop:0})),ce(o,"_registerChild",function(e){!e||e instanceof Element||console.warn("WindowScroller registerChild expects to be passed Element or null"),o._child=e,o.updatePosition()}),ce(o,"_onChildScroll",function(e){var t=e.scrollTop;if(o.state.scrollTop!==t){var n=o.props.scrollElement;n&&("function"==typeof n.scrollTo?n.scrollTo(0,t+o._positionFromTop):n.scrollTop=t+o._positionFromTop)}}),ce(o,"_registerResizeListener",function(e){e===window?window.addEventListener("resize",o._onResize,!1):o._detectElementResize.addResizeListener(e,o._onResize)}),ce(o,"_unregisterResizeListener",function(e){e===window?window.removeEventListener("resize",o._onResize,!1):e&&o._detectElementResize.removeResizeListener(e,o._onResize)}),ce(o,"_onResize",function(){o.updatePosition()}),ce(o,"__handleWindowScrollEvent",function(){if(o._isMounted){var e=o.props.onScroll,t=o.props.scrollElement;if(t){var n=co(t),r=Math.max(0,n.left-o._positionFromLeft),i=Math.max(0,n.top-o._positionFromTop);o.setState({isScrolling:!0,scrollLeft:r,scrollTop:i}),e({scrollLeft:r,scrollTop:i})}}}),ce(o,"__resetIsScrolling",function(){o.setState({isScrolling:!1})}),o}return ae(t,e.PureComponent),ie(t,[{key:"updatePosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.scrollElement,t=this.props.onResize,o=this.state,n=o.height,r=o.width,i=this._child||this._windowScrollerRef.current;if(i instanceof Element&&e){var l=function(e,t){if(lo(t)&&document.documentElement){var o=document.documentElement,n=so(e),r=so(o);return{top:n.top-r.top,left:n.left-r.left}}var i=co(t),l=so(e),s=so(t);return{top:l.top+i.top-s.top,left:l.left+i.left-s.left}}(i,e);this._positionFromTop=l.top,this._positionFromLeft=l.left}var s=ao(e,this.props);n===s.height&&r===s.width||(this.setState({height:s.height,width:s.width}),t({height:s.height,width:s.width})),!0===this.props.updateScrollTopOnUpdatePosition&&(this.__handleWindowScrollEvent(),this.__resetIsScrolling())}},{key:"componentDidMount",value:function(){var e=this.props.scrollElement;this._detectElementResize=_e(),this.updatePosition(e),e&&(ro(this,e),this._registerResizeListener(e)),this._isMounted=!0}},{key:"componentDidUpdate",value:function(e,t){var o=this.props.scrollElement,n=e.scrollElement;n!==o&&null!=n&&null!=o&&(this.updatePosition(o),io(this,n),ro(this,o),this._unregisterResizeListener(n),this._registerResizeListener(o))}},{key:"componentWillUnmount",value:function(){var e=this.props.scrollElement;e&&(io(this,e),this._unregisterResizeListener(e)),this._isMounted=!1}},{key:"render",value:function(){var t=this.props.children,o=this.state,n=o.isScrolling,r=o.scrollTop,i=o.scrollLeft,l=o.height,s=o.width;return e.createElement("div",{ref:this._windowScrollerRef},t({onChildScroll:this._onChildScroll,registerChild:this._registerChild,height:l,isScrolling:n,scrollLeft:i,scrollTop:r,width:s}))}}])}();ce(mo,"defaultProps",{onResize:function(){},onScroll:function(){},scrollingResetTimeInterval:150,scrollElement:po(),serverHeight:0,serverWidth:0});const go="ReactVirtualizedDemo-flexContainer",vo="ReactVirtualizedDemo-tableRow",_o="ReactVirtualizedDemo-tableRowHover",So="ReactVirtualizedDemo-tableCell",yo="ReactVirtualizedDemo-noClick";class wo extends M.PureComponent{constructor(){super(...arguments),this.getRowClassName=({index:e})=>{const{onRowClick:t}=this.props;return L(vo,go,{[_o]:-1!==e&&null!=t})},this.cellRenderer=({cellData:e,dataKey:t,columnIndex:o,width:n})=>{const{columns:i,rowHeight:l,onRowClick:s}=this.props;let a=e,c={height:l,paddingRight:"2px",paddingTop:"0px",paddingBottom:"0px",minWidth:`${n}px`,maxWidth:`${n}px`};return"shortcut"===t?a=G(e):"description"===t&&(c={...c,fontSize:".75rem",display:"block",paddingTop:"4px",whiteSpace:"pre-line"}),r.jsx($,{component:"div",className:L(So,go,{[yo]:null==s}),variant:"body",style:c,align:null!=o&&i[o].numeric?"right":"left",children:a})},this.headerRenderer=({label:e,columnIndex:t,width:o})=>{const{headerHeight:n,columns:i}=this.props,l=i[t];return r.jsx($,{component:"div",className:L(So,go,yo),variant:"head",sx:{width:o,height:n,backgroundColor:e=>e.palette.grey[300]},align:l.numeric?"right":"left",children:r.jsx("span",{children:l.label})})}}static{this.defaultProps={headerHeight:40,rowHeight:48}}render(){const{columns:e,rowHeight:t,headerHeight:o,...n}=this.props;return r.jsx(Ce,{children:({height:i,width:l})=>r.jsx(Jt,{height:i,width:l,rowHeight:t,gridStyle:{direction:"inherit"},headerHeight:o,...n,rowClassName:this.getRowClassName,children:e.map(({dataKey:e,width:t,widthLess:o,...n},i)=>{const s=o?l-o:t;return r.jsx(Kt,{style:{flex:`1 1 ${s}px`},headerRenderer:e=>this.headerRenderer({...e,width:s,columnIndex:i}),className:go,cellDataGetter:({rowData:e,columnData:t,dataKey:o})=>e[o],cellRenderer:e=>this.cellRenderer({...e,width:s,columnIndex:i}),dataKey:e,width:s,...n},e)})})})}}const Co=ee(wo)(({theme:e})=>({"& .ReactVirtualized__Table__headerRow":{..."rtl"===e.direction&&{paddingLeft:"0 !important"},..."rtl"!==e.direction&&{paddingRight:void 0}},"& .ReactVirtualized__Table__Grid":{outline:"none"},[`& .${go}`]:{display:"flex",alignItems:"center",boxSizing:"border-box"},[`& .${vo}`]:{cursor:"pointer"},[`& .${_o}`]:{"&:hover:not([disabled])":{backgroundColor:e.palette.grey[200]}},[`& .${So}`]:{flex:1},[`& .${yo}`]:{cursor:"initial"}}));function xo(t){const{commands:o,...n}=t,[i,l]=e.useState(!1),[s,a]=e.useState(""),c=e.useMemo(()=>{let e=o.getAllCommands();i||(e=e.filter(e=>e.command.shortcut())),e.sort((e,t)=>e.command.label().localeCompare(t.command.label()));const t=[],n=e=>e.replace(/\n\n/g,"\n");for(let o=0;o<e.length;o++){const r=e[o].command,i=r.shortcut();if(Array.isArray(i)){const e=i;for(let o=0;o<e.length;o++)t.push({label:r.label(),description:n(r.description()),shortcut:e[o]})}else t.push({label:r.label(),description:n(r.description()),shortcut:r.shortcut()})}return t},[i,o]),[d,u]=e.useState(null);e.useEffect(()=>{import("./gOUfyCw957TzcbNB.mjs").then(e=>{u(new e.default(c,{threshold:0,ignoreLocation:!0,keys:["label","description"]}))})},[c]);const[f,p]=e.useState(c),z=s.length>0&&0===f.length;return e.useEffect(()=>{d&&g.debounce(()=>{if(0===s.trim().length)return void p(c);const e=d.search(s.trim()),t=new Array(e.length);for(let o=0;o<e.length;o++)t[o]=e[o].item;p(t)},90)()},[d,s]),r.jsxs(v,{style:{height:440,width:"100%",display:"flex",flexDirection:"column"},...n,children:[r.jsxs(v,{sx:{display:"flex",alignItems:"center",justifyContent:"end",marginBottom:e=>e.spacing(2),color:e=>e.palette.text.secondary},children:[r.jsx(_,{InputProps:{sx:{backgroundImage:`linear-gradient(${h("#fff",C(5))}, ${h("#fff",C(5))})`},inputProps:{className:"input",autoFocus:!0,spellCheck:!1,placeholder:"Type to search key bindings",autoComplete:"off",sx:{paddingTop:e=>e.spacing(1),paddingBottom:e=>e.spacing(1)}},endAdornment:r.jsx(S,{sx:{opacity:s.length>0?1:0,display:s.length>0?"flex":"none"},position:"end",children:r.jsx(y,{"aria-label":"clear search",onClick:()=>a(""),edge:"end",children:r.jsx(w,{})})})},sx:{flex:"1 1 40%",marginRight:e=>e.spacing(1),"& .MuiOutlinedInput-notchedOutline":{borderColor:e=>z?`${e.palette.error.main} !important`:void 0},"& .MuiInputLabel-outlined":{color:e=>z?`${e.palette.error.main} !important`:void 0}},value:s,onChange:e=>{a(e.target.value)},onKeyDown:e=>{e.which===m.Escape&&s.length>0&&(a(""),e.stopPropagation(),e.preventDefault())},onContextMenu:e=>{e.stopPropagation()}}),r.jsx(x,{sx:{flex:"1 1 60%"},control:r.jsx(R,{checked:i,onChange:()=>l(!i)}),label:"Show commands without key bindings",labelPlacement:"start"})]}),r.jsx(v,{sx:{flex:"1 1 100%",borderRadius:e=>`${e.shape.borderRadius}px`,border:e=>`solid ${e.palette.divider} 1px`,paddingRight:"1px",overflow:"hidden","* .MuiTableCell-head":{background:e=>e.palette.background.paper,backgroundImage:`linear-gradient(${h("#fff",C(5))}, ${h("#fff",C(5))})`}},children:r.jsx(Co,{rowCount:f.length,rowGetter:e=>f[e.index],columns:[{width:180,label:"Command",dataKey:"label"},{width:260,label:"Key Binding",dataKey:"shortcut"},{width:240,label:"Description",dataKey:"description",widthLess:440}]})}),r.jsx(v,{sx:{display:"flex",flexShrink:"0",paddingLeft:e=>e.spacing(1),paddingTop:e=>e.spacing(1),paddingRight:e=>e.spacing(1),userSelect:"none",justifyContent:"flex-end"},children:r.jsx(b,{noWrap:!0,component:"div",sx:{color:e=>z?e.palette.error.main:e.palette.text.secondary},children:`${0===f.length?"No":f.length} shortcut key${1===f.length?"":"s"}${s.length>0?" found":""}`})})]})}const Ro=e=>{const{title:t="Shortcut Keys",commands:o,sx:n,...i}=e;return r.jsx(f,{isModal:!0,onKeyDown:e=>{e.keyCode===m.F1&&e.preventDefault()},sx:{width:"780px",...n},title:t,autoFocusSel:".input",...i,children:r.jsx(p,{dividers:!0,children:r.jsx(xo,{commands:o,sx:{marginBottom:"8px"}})})})};export{Ro as default};
|