@sheetxl/studio-vanilla 0.1.116 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +11 -0
- package/README.md +1 -4
- package/{build/browser/cjs/Dy28YI90qj65PHFO.cjs → browser/cjs/-WimOX-_by9saCOH.cjs} +8 -8
- package/{build/browser/cjs/CB3jEtNo5ZsjfE5p.cjs → browser/cjs/0kdpEwmehekH9O3t.cjs} +1 -1
- package/{build/browser/cjs/Bl6FyLoMkFiQqhvc.cjs → browser/cjs/20oq16RduoK6IuCZ.cjs} +2 -2
- package/{build/browser/cjs/BG0RxkPyZY6Be7Lk.cjs → browser/cjs/3w2ISP4JjVNmzrqs.cjs} +1 -1
- package/{build/browser/cjs/wq0Sm3fu9rxt43OK.cjs → browser/cjs/AP-t2KCT_0bR_o4t.cjs} +1 -1
- package/{build/browser/cjs/DP8biA0GQqyPKLyq.cjs → browser/cjs/B5cV1UMP1UkKFRbL.cjs} +2 -2
- package/{build/browser/cjs/Dcyg_YxTfBgi_6cp.cjs → browser/cjs/B9REtaIpAi8F35id.cjs} +3 -3
- package/{build/browser/cjs/1q6_3-jGNZllbF3R.cjs → browser/cjs/BDK2YaQ_WdlP_HdF.cjs} +1 -1
- package/{build/browser/cjs/COCpf8tSdkj2O19V.cjs → browser/cjs/BZm3G8SHFhqXJ5Jo.cjs} +4 -4
- package/{build/browser/cjs/CTV1KRGhkieiY4Rf.cjs → browser/cjs/B_pNdVIK1HzlKFSF.cjs} +2 -2
- package/{build/browser/cjs/87m5i_TKPbDn6tke.cjs → browser/cjs/Bbyd4sAM90GSqJqn.cjs} +4 -4
- package/{build/browser/cjs/DLqNXuHYff_kQuj1.cjs → browser/cjs/Bc2L0UJqPhPBwffj.cjs} +1 -1
- package/{build/browser/cjs/DeR9YbwO2xDBKVWN.cjs → browser/cjs/Be-w6Cc2N61jNFQe.cjs} +3 -3
- package/{build/browser/cjs/BZPhmHWsFBTIA3BQ.cjs → browser/cjs/BhQQmCaRq2RYxUie.cjs} +3 -3
- package/{build/browser/cjs/C_uXPPlfjY68-QA8.cjs → browser/cjs/Bk9rYrDDbmByf-Kk.cjs} +2 -2
- package/{build/browser/cjs/CHD5c5FdcMm6vLyG.cjs → browser/cjs/Bn43jSsdzLy_636p.cjs} +3 -3
- package/{build/browser/cjs/CUw8AoM-rVbp1W3s.cjs → browser/cjs/C0KkDFATEXukfl0j.cjs} +2 -2
- package/{build/browser/cjs/B0L2YQ9agsyHWOu2.cjs → browser/cjs/C0XmerLLqwaaqZ2o.cjs} +1 -1
- package/{build/browser/cjs/D2OU29-ZPOAWFVJB.cjs → browser/cjs/C6x5hrvJ433bQqqH.cjs} +3 -3
- package/{build/browser/cjs/mPpQR06-jf99r2jM.cjs → browser/cjs/CGnlC13lMNbZh3sP.cjs} +1 -1
- package/{build/browser/cjs/dke2gbIUS44QXwEl.cjs → browser/cjs/CJ9-quYDqOBB3oUV.cjs} +1 -1
- package/{build/browser/cjs/CtBikymnhpcCzP3X.cjs → browser/cjs/CKfjvO-C5oBByvM4.cjs} +1 -1
- package/{build/browser/cjs/Nkl33Tt1_oEy9kjk.cjs → browser/cjs/CNs9_6duMD0PXHwG.cjs} +1 -1
- package/{build/browser/cjs/B3HvYH5kqySWdJ0f.cjs → browser/cjs/CU9y9CiXOR7IFAGB.cjs} +1 -1
- package/{build/browser/cjs/xM54FRmGddZFVTTI.cjs → browser/cjs/CUVcl_8fwvLTl8ZO.cjs} +1 -1
- package/{build/browser/cjs/C0Pjx18ua-OCdtpy.cjs → browser/cjs/CZkpEBAASzQBi8Bh.cjs} +1 -1
- package/{build/browser/cjs/bnPgbgGBTq7DESzd.cjs → browser/cjs/C_JmjXjXg6Ycl_t6.cjs} +1 -1
- package/{build/browser/cjs/BS_QXQWoKRl_7MiR.cjs → browser/cjs/C_iTpFgxZv6g-7m3.cjs} +3 -3
- package/{build/browser/cjs/CiySKEsfDr8XnkZh.cjs → browser/cjs/CgkUiG5Wgg1HcTYa.cjs} +1 -1
- package/{build/browser/cjs/Bsyzteo6tD31A45e.cjs → browser/cjs/Cm19hoZFOQ4T_DTY.cjs} +2 -2
- package/{build/browser/cjs/CyF7bxA0DO13ETpx.cjs → browser/cjs/CmE57C_yA3jFIZos.cjs} +3 -3
- package/{build/browser/cjs/d9tJGmGw-3KZjpAx.cjs → browser/cjs/Cor1JV8jzd6HA1O9.cjs} +5 -5
- package/{build/browser/cjs/B_5ro-VEKfZDMSn_.cjs → browser/cjs/CuhJX_xGez7yc6zi.cjs} +2 -2
- package/{build/browser/cjs/DqbTRjj97q78RuGC.cjs → browser/cjs/Cv80JVA2XYzBCaWN.cjs} +2 -2
- package/{build/browser/cjs/BarieqwSecnaFn0d.cjs → browser/cjs/CvhmZqLTDmkFauCs.cjs} +2 -2
- package/{build/browser/cjs/D-vkFAlNHXwUvmUT.cjs → browser/cjs/D5yPr453o--2fxmV.cjs} +4 -4
- package/{build/browser/cjs/BC5MKXBhHGdPeiJ3.cjs → browser/cjs/D6FNtKftCwyAwxsN.cjs} +4 -4
- package/{build/browser/cjs/B6AOUko0HYRy2MPw.cjs → browser/cjs/DCgPUnL0Q5bTnusO.cjs} +1 -1
- package/{build/browser/cjs/xgGpGg5b8fu3GAnL.cjs → browser/cjs/DHCCNLh27I_BglIv.cjs} +5 -5
- package/{build/browser/cjs/BMVMyi5NiMBuQrl9.cjs → browser/cjs/DHFmQHgKgcFMFahD.cjs} +8 -8
- package/{build/browser/cjs/DMKZDMHHXLePvLy3.cjs → browser/cjs/DVrhH2z9cGZBKu17.cjs} +22 -22
- package/{build/browser/cjs/Btzizuqo7zQ_grdS.cjs → browser/cjs/Dg5Lf7y1Os-1BWfx.cjs} +5 -5
- package/{build/browser/cjs/S1S-AvD0w8s-LV8O.cjs → browser/cjs/DlBZXaCX3LQRptut.cjs} +1 -1
- package/{build/browser/cjs/Dix4vuDuOzj4WGCJ.cjs → browser/cjs/DtcLPs_dQHEN3bGR.cjs} +3 -3
- package/{build/browser/cjs/CA2wSX6txFrM5nXD.cjs → browser/cjs/Dy__fkEF_Jzrlf1D.cjs} +1 -1
- package/{build/browser/cjs/CVTydWBioXRZeoNf.cjs → browser/cjs/EDXMGSUZ8UQwkC7X.cjs} +1 -1
- package/{build/browser/cjs/5KDindu3wyLVvG7F.cjs → browser/cjs/HL5BOFnf4XtzdqsS.cjs} +2 -2
- package/{build/browser/cjs/C0AP85yKTJU5XzPW.cjs → browser/cjs/Mdv1yV9ud45PsKRt.cjs} +2 -2
- package/{build/browser/cjs/BJsJYwvFiJBFxTov.cjs → browser/cjs/OpNWiW6pYHuJVaKY.cjs} +1 -1
- package/{build/browser/cjs/DFX31uXp449or-Xs.cjs → browser/cjs/SlClv0PVM92ztDVX.cjs} +1 -1
- package/{build/browser/cjs/BxBOlXY9P3Ymi6oT.cjs → browser/cjs/aWHOn3DaVbuU-ftK.cjs} +2 -2
- package/{build/browser/cjs/CaNR-X0TWW9OF1S0.cjs → browser/cjs/geVI0OFpbRur4kxL.cjs} +6 -6
- package/{build/browser → browser}/cjs/index.cjs +2 -2
- package/{build/browser/cjs/DfNbgyjaLMn81dqP.cjs → browser/cjs/km4BoFU87-pNNG5J.cjs} +2 -2
- package/{build/browser/cjs/DirazCTz5IsFWrUv.cjs → browser/cjs/l1xXc-zCzzVSj1HN.cjs} +4 -4
- package/{build/browser/cjs/BfNo_1u55uW2HhAa.cjs → browser/cjs/lkPV98fiKomQSCgR.cjs} +1 -1
- package/{build/browser/cjs/B_c3i0fXSlX7dH12.cjs → browser/cjs/prKrG5YAJ4ExfXHY.cjs} +7 -7
- package/{build/browser/cjs/CDiYZ1cSoLW8U5Mz.cjs → browser/cjs/rhwBn9bJGM1fHTpT.cjs} +1 -1
- package/{build/browser/cjs/DcYrNx0uy99yQNMl.cjs → browser/cjs/vpaDUo2WrdrlUWox.cjs} +4 -4
- package/{build/browser/esm/Do7pHqmnwO45_ymt.mjs → browser/esm/07UGdEPZU4KgWAFN.mjs} +3 -3
- package/{build/cdn/assets/DgSuz0WKGy36a2cp.js → browser/esm/2IFG1EGZ4BstfzzO.mjs} +3 -3
- package/{build/cdn/assets/DCauh523moR7slpq.js → browser/esm/B0J3pDq63QrDj6C-.mjs} +3 -3
- package/{build/browser/esm/Be3zRnYQ13HUcsRW.mjs → browser/esm/B47M3lFfW1t_gJZB.mjs} +3 -3
- package/{build/browser/esm/BOiR2dTlvcgYjz8P.mjs → browser/esm/B4x_WFSNRisMp9PK.mjs} +3 -3
- package/{build/browser/esm/DIA-Gy5mdjefjUaA.mjs → browser/esm/B5opv-736KpN6Bi4.mjs} +3 -3
- package/{build/cdn/assets/BPFW3UexkNNh1lLK.js → browser/esm/BAYPWLjfgtuLg9qb.mjs} +3 -3
- package/{build/browser/esm/C0Lw5hMgKbooA6Jl.mjs → browser/esm/BF1UCuG25TaPe6Ah.mjs} +3 -3
- package/{build/browser/esm/BiSk8LRROMF0Bl4-.mjs → browser/esm/BZLFUPFZsWWl5XLX.mjs} +4 -4
- package/{build/browser/esm/D8HF2X8hvAkV29oq.mjs → browser/esm/BZv9jzgaGtXaiw5W.mjs} +3 -3
- package/{build/browser/esm/NBkvFJzfLU32Pkup.mjs → browser/esm/B_hQhGpEdNfdeECK.mjs} +8 -8
- package/{build/browser/esm/DP7HVKT0w_4L2vMQ.mjs → browser/esm/BcdbwecLVoeuhtZL.mjs} +6 -6
- package/{build/browser/esm/ai2Jw3PRL29E1T8h.mjs → browser/esm/BnjAI3vOpDYyQnou.mjs} +3 -3
- package/{build/cdn/assets/BlfHOASL_bJ6Hy0y.js → browser/esm/BrCaMwnNcblmuzDh.mjs} +4 -4
- package/{build/cdn/assets/BSS_RvWzDRX8_EJd.js → browser/esm/BuITsWgwvy1VWF9E.mjs} +3 -3
- package/{build/cdn/assets/YOEDF-U1QTzbXeMV.js → browser/esm/BuLL5OjBqMXUfH_A.mjs} +3 -3
- package/{build/cdn/assets/CtZxtE4tRmMGFT5o.js → browser/esm/Bv1kyZi_CNzyU0wM.mjs} +3 -3
- package/{build/browser/esm/D2yyUr4KbJEFsxKC.mjs → browser/esm/C2gQBMYenqlI4flQ.mjs} +2 -2
- package/{build/browser/esm/B7odLLxNfEmKGWX6.mjs → browser/esm/C8Fp63LtXp1k3LSF.mjs} +3 -3
- package/{build/cdn/assets/DUUO52IRQCve_iCM.js → browser/esm/C9rK8RP4620RgQRS.mjs} +4 -4
- package/{build/browser/esm/DqvZDTDIyX-qv4r9.mjs → browser/esm/CDaAJggrXrOWRzgK.mjs} +3 -3
- package/{build/browser/esm/LblYfFi1ns9H1ueN.mjs → browser/esm/CEVdjgbSOkqM6gks.mjs} +3 -3
- package/{build/cdn/assets/C9uN8RnLjnGSimTA.js → browser/esm/CGlDo4wLUay4UXgF.mjs} +3 -3
- package/{build/browser/esm/3RX6dP_O-47yXKHQ.mjs → browser/esm/CNBg-OXuJX_EAZbw.mjs} +8 -8
- package/{build/cdn/assets/BYmMkbrRTsNuR3aY.js → browser/esm/CW2IdN3hA6cq5VBE.mjs} +3 -3
- package/{build/browser/esm/CpJdzwQYkBw7IPnN.mjs → browser/esm/CaLVQxWxp8lj_uyA.mjs} +3 -3
- package/{build/browser/esm/BaSzK17p3_gCvNVV.mjs → browser/esm/Cax3Gy4JS-lKyNWa.mjs} +3 -3
- package/{build/browser/esm/Dxl4WJXcEhDAw_yE.mjs → browser/esm/Cc8UhQeIi2R9xhLi.mjs} +4 -4
- package/{build/browser/esm/CWRCdxOg103AFis3.mjs → browser/esm/CdvMkp-EeYeQltyS.mjs} +5 -5
- package/{build/cdn/assets/B3oMCEEls1lRVrGd.js → browser/esm/CgNof4mi0iyac5e1.mjs} +4 -4
- package/{build/browser/esm/BE4io65W825i_dzC.mjs → browser/esm/Cn4WWNIcHjVkozcN.mjs} +6 -6
- package/{build/cdn/assets/BdtlmF31h4Y7RgUj.js → browser/esm/Cndg80xEbFcHtUn8.mjs} +3 -3
- package/{build/browser/esm/DnV_Y9xoMPSav0-o.mjs → browser/esm/Cwv4yqC_zytSa0P_.mjs} +3 -3
- package/{build/browser/esm/CprFmxuwGvaUtLG2.mjs → browser/esm/D46R0vc8EDXOBoB8.mjs} +3 -3
- package/{build/browser/esm/Ds8V__cRAClpmjZn.mjs → browser/esm/D5VtB2hD3rvXyASS.mjs} +5 -5
- package/{build/cdn/assets/BXC9rQVV2gq5x8br.js → browser/esm/D9C7gLp0kAPSxLtC.mjs} +3 -3
- package/{build/browser/esm/BOjAZRs_NVerYv4t.mjs → browser/esm/DHkuZlzTuYV7YCeQ.mjs} +3 -3
- package/{build/cdn/assets/C32FpMEFLbDnBtO3.js → browser/esm/DLUJaAlJp56PRHun.mjs} +3 -3
- package/{build/cdn/assets/5F5MTh8R-sIiPq0h.js → browser/esm/DPMEubfbdRv-vumV.mjs} +3 -3
- package/{build/browser/esm/ajBoEmoL9hCBQYYm.mjs → browser/esm/DUcfLyiXz-VgaOB4.mjs} +4 -4
- package/{build/browser/esm/CU55zbw8Xbwap6Tl.mjs → browser/esm/DVkLRz76XK91mLT7.mjs} +3 -3
- package/{build/cdn/assets/BAjCWyggrIkCz6wr.js → browser/esm/DYYzLaxXk8APXqEA.mjs} +3 -3
- package/{build/cdn/assets/QXzPuadwi3BBJC2-.js → browser/esm/DcalwsKAfxQkC6tj.mjs} +4 -4
- package/{build/browser/esm/C-jC-wgAoMOxrVvv.mjs → browser/esm/DjDxVGn7JWBs4o5m.mjs} +3 -3
- package/{build/browser/esm/DtpBQqwK7XXBMTB-.mjs → browser/esm/DnBoGLFyl-sTKtCF.mjs} +7 -7
- package/{build/cdn/assets/BKkD05hqNTBap4Oc.js → browser/esm/DqXAqUrCxY0s8eeL.mjs} +3 -3
- package/{build/browser/esm/CB0UHheTgg0735hj.mjs → browser/esm/Dx35iUB-nAeCONTU.mjs} +3 -3
- package/{build/browser/esm/1Jl9rrRJdbPsUP_1.mjs → browser/esm/E1R5xcWEyFUGz77Z.mjs} +3 -3
- package/{build/browser/esm/VLa1cYMb7h6UD253.mjs → browser/esm/Fz-AZts2Lk6VgGtn.mjs} +3 -3
- package/{build/browser/esm/SrBQAOpMKiDW0mGB.mjs → browser/esm/HacQNvE-qbx_RTGf.mjs} +3 -3
- package/{build/browser/esm/a3tuiJ83MwzLMWaL.mjs → browser/esm/Iijcha1XE-c7OLNH.mjs} +3 -3
- package/{build/browser/esm/DuzJ1k0LbZ29l8oN.mjs → browser/esm/LeCCKiCnwske3JLp.mjs} +5 -5
- package/{build/cdn/assets/DToiYU1jffn1g7TH.js → browser/esm/LeqWxgpETsBLfM9S.mjs} +2 -2
- package/{build/browser/esm/DJjdfX9aUyVGMkri.mjs → browser/esm/O3I_0JA16jsotYlO.mjs} +5 -5
- package/{build/browser/esm/k9kWmEk0ZT8y9Gii.mjs → browser/esm/SOdH8hP_uNxWw-D3.mjs} +25 -25
- package/{build/cdn/assets/Dgw3FTbNKuo2CIxP.js → browser/esm/fHJOSOgVU027xNw-.mjs} +3 -3
- package/{build/cdn/assets/BEZ41ST3hkC4W-_9.js → browser/esm/i_EWmXLQe018WFIv.mjs} +3 -3
- package/{build/browser → browser}/esm/index.mjs +2 -2
- package/{build/browser/esm/BRkMPyIUXMixnL8d.mjs → browser/esm/nVijr2StbdDY2e13.mjs} +3 -3
- package/{build/cdn/assets/Do7pHqmnwO45_ymt.js → cdn/assets/07UGdEPZU4KgWAFN.js} +3 -3
- package/{build/browser/esm/DgSuz0WKGy36a2cp.mjs → cdn/assets/2IFG1EGZ4BstfzzO.js} +3 -3
- package/{build/cdn/assets/CLdcRW7BQK3JCguC.js → cdn/assets/B075ZA9s8bN6Bjk6.js} +24 -24
- package/{build/cdn/assets/CvbyGDitUPabmYBl.js → cdn/assets/B0HGE6CZeNWxdgkD.js} +3 -3
- package/{build/browser/esm/DCauh523moR7slpq.mjs → cdn/assets/B0J3pDq63QrDj6C-.js} +3 -3
- package/{build/cdn/assets/DMoEzt3UKZedfext.js → cdn/assets/B36BO77fuN4io3cH.js} +7 -7
- package/{build/cdn/assets/BOiR2dTlvcgYjz8P.js → cdn/assets/B4x_WFSNRisMp9PK.js} +3 -3
- package/{build/browser/esm/B3_l6_TLa9ImyRmW.mjs → cdn/assets/B5KblpU6ojvwGzld.js} +4 -4
- package/{build/cdn/assets/DIA-Gy5mdjefjUaA.js → cdn/assets/B5opv-736KpN6Bi4.js} +3 -3
- package/{build/cdn/assets/BJIsFTUdHtUKsFJs.js → cdn/assets/B65mMi6-TRcnqOOr.js} +3 -3
- package/{build/cdn/assets/C0Lw5hMgKbooA6Jl.js → cdn/assets/BF1UCuG25TaPe6Ah.js} +3 -3
- package/{build/cdn/assets/DMwOymY267-LxmJ_.js → cdn/assets/BM3mTnON_Go8uW2n.js} +3 -3
- package/{build/cdn/assets/C7CDwp-nhN2WFzUs.js → cdn/assets/BNF7gs2KIOp7CydV.js} +6 -6
- package/{build/cdn/assets/DARyg_kqL8Eu81Fa.js → cdn/assets/BQ01ovyBt4DHdfm2.js} +4 -4
- package/{build/cdn/assets/C_L_pvQemfhI00iS.js → cdn/assets/BeDSWCZutZSLr6ui.js} +3 -3
- package/{build/cdn/assets/DLHK1pMyNN3B2g-j.js → cdn/assets/BelDTrwOGyChPcGE.js} +3 -3
- package/{build/cdn/assets/ai2Jw3PRL29E1T8h.js → cdn/assets/BnjAI3vOpDYyQnou.js} +3 -3
- package/{build/cdn/assets/4u46flV9M6Bwb7d3.js → cdn/assets/BqDe3JfClPnZlUpT.js} +3 -3
- package/{build/browser/esm/BlfHOASL_bJ6Hy0y.mjs → cdn/assets/BrCaMwnNcblmuzDh.js} +4 -4
- package/{build/browser/esm/BSS_RvWzDRX8_EJd.mjs → cdn/assets/BuITsWgwvy1VWF9E.js} +3 -3
- package/{build/browser/esm/YOEDF-U1QTzbXeMV.mjs → cdn/assets/BuLL5OjBqMXUfH_A.js} +3 -3
- package/{build/browser/esm/CtZxtE4tRmMGFT5o.mjs → cdn/assets/Bv1kyZi_CNzyU0wM.js} +3 -3
- package/{build/cdn/assets/D06aHumWZLILF489.js → cdn/assets/C71PMxylnWyxGS2R.js} +5 -5
- package/{build/cdn/assets/CkhSGQneqlTRflfQ.js → cdn/assets/CFrbspKb0qyxwr1H.js} +5 -5
- package/{build/browser/esm/C9uN8RnLjnGSimTA.mjs → cdn/assets/CGlDo4wLUay4UXgF.js} +3 -3
- package/{build/cdn/assets/fWcbv7BXhriCYeod.js → cdn/assets/CO8BPWxmHt9M0o5A.js} +4 -4
- package/{build/cdn/assets/BbpmcI-KEp3PqrdL.js → cdn/assets/CUe-PbZ8mz4nrE7E.js} +8 -8
- package/{build/browser/esm/BYmMkbrRTsNuR3aY.mjs → cdn/assets/CW2IdN3hA6cq5VBE.js} +3 -3
- package/{build/browser/esm/DtQdtXJDZgNEIz9d.mjs → cdn/assets/CWUdMl8HI6xopPZx.js} +4 -4
- package/{build/cdn/assets/CpJdzwQYkBw7IPnN.js → cdn/assets/CaLVQxWxp8lj_uyA.js} +3 -3
- package/{build/cdn/assets/BaSzK17p3_gCvNVV.js → cdn/assets/Cax3Gy4JS-lKyNWa.js} +3 -3
- package/{build/cdn/assets/Dxl4WJXcEhDAw_yE.js → cdn/assets/Cc8UhQeIi2R9xhLi.js} +4 -4
- package/{build/browser/esm/BdtlmF31h4Y7RgUj.mjs → cdn/assets/Cndg80xEbFcHtUn8.js} +3 -3
- package/{build/browser/esm/DMWb8cCaNVRcm-tT.mjs → cdn/assets/Cwrp37FK1lwFYR0h.js} +3 -3
- package/{build/cdn/assets/CprFmxuwGvaUtLG2.js → cdn/assets/D46R0vc8EDXOBoB8.js} +3 -3
- package/{build/browser/esm/BXC9rQVV2gq5x8br.mjs → cdn/assets/D9C7gLp0kAPSxLtC.js} +3 -3
- package/{build/browser/esm/D-Oj36iQScXAKSMA.mjs → cdn/assets/DHhtxVQ8oICzeBem.js} +4 -4
- package/{build/cdn/assets/BOjAZRs_NVerYv4t.js → cdn/assets/DHkuZlzTuYV7YCeQ.js} +3 -3
- package/{build/browser/esm/C32FpMEFLbDnBtO3.mjs → cdn/assets/DLUJaAlJp56PRHun.js} +3 -3
- package/{build/browser/esm/5F5MTh8R-sIiPq0h.mjs → cdn/assets/DPMEubfbdRv-vumV.js} +3 -3
- package/{build/cdn/assets/D2pceTwrS_dagByu.js → cdn/assets/DS4jen3n-p1f1Suv.js} +2 -2
- package/{build/cdn/assets/CU55zbw8Xbwap6Tl.js → cdn/assets/DVkLRz76XK91mLT7.js} +3 -3
- package/{build/browser/esm/BAjCWyggrIkCz6wr.mjs → cdn/assets/DYYzLaxXk8APXqEA.js} +3 -3
- package/{build/cdn/assets/C-jC-wgAoMOxrVvv.js → cdn/assets/DjDxVGn7JWBs4o5m.js} +3 -3
- package/{build/cdn/assets/B4QYfmNd300iFLAx.js → cdn/assets/DltmvgX7cDRP7eGG.js} +5 -5
- package/{build/browser/esm/BKkD05hqNTBap4Oc.mjs → cdn/assets/DqXAqUrCxY0s8eeL.js} +3 -3
- package/{build/cdn/assets/CEq_C1Sim0pQ6fj0.js → cdn/assets/E16WP2btW98-NdQA.js} +3 -3
- package/{build/cdn/assets/1Jl9rrRJdbPsUP_1.js → cdn/assets/E1R5xcWEyFUGz77Z.js} +3 -3
- package/{build/cdn/assets/SrBQAOpMKiDW0mGB.js → cdn/assets/HacQNvE-qbx_RTGf.js} +3 -3
- package/{build/cdn/assets/a3tuiJ83MwzLMWaL.js → cdn/assets/Iijcha1XE-c7OLNH.js} +3 -3
- package/{build/browser/esm/DToiYU1jffn1g7TH.mjs → cdn/assets/LeqWxgpETsBLfM9S.js} +2 -2
- package/{build/cdn/assets/BY2sO3ExW1ShzKnX.js → cdn/assets/VBhE9EpKVDvlRQWF.js} +5 -5
- package/{build/cdn/assets/D4ZBjoUG2QO1RO3t.js → cdn/assets/_hp7T1iQm-VdgOx1.js} +8 -8
- package/{build/browser/esm/Dgw3FTbNKuo2CIxP.mjs → cdn/assets/fHJOSOgVU027xNw-.js} +3 -3
- package/{build/cdn/assets/W3SqjN4yIzwYTvvj.js → cdn/assets/i5sh0F171K8r-qUc.js} +3 -3
- package/{build/browser/esm/BEZ41ST3hkC4W-_9.mjs → cdn/assets/i_EWmXLQe018WFIv.js} +3 -3
- package/{build/cdn/assets/BjgtkLR9U00HgSRn.js → cdn/assets/kj_NK4e2v-YDlOeA.js} +6 -6
- package/{build/cdn/assets/BRkMPyIUXMixnL8d.js → cdn/assets/nVijr2StbdDY2e13.js} +3 -3
- package/{build/cdn → cdn}/index.js +2 -2
- package/{build/cdn → cdn}/loader.js +1 -1
- package/package.json +30 -65
- package/build/package.json +0 -61
- /package/{build/licenses → licenses}/dependencies.txt +0 -0
- /package/{build/types → types}/index.d.ts +0 -0
package/LICENSE.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Repository Licensing
|
|
2
|
+
|
|
3
|
+
SheetXL contains a mix of open-source and commercially licensed packages. Each package is individually licensed and contains its own license file.
|
|
4
|
+
|
|
5
|
+
For the specific terms and conditions applicable to a package, please see the `LICENSE.md` file located in that package's root directory.
|
|
6
|
+
|
|
7
|
+
Generally, packages intended for public distribution (such as CLIs, adapters, and vanilla wrappers) are licensed under the MIT license. All other core packages are proprietary and require a commercial license for use.
|
|
8
|
+
|
|
9
|
+
For more details on commercial licensing, please visit our website:
|
|
10
|
+
|
|
11
|
+
https://www.sheetxl.com/licensing-pricing
|
package/README.md
CHANGED
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
# Studio Vanilla
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
<img src="https://www.sheetxl.com/logo-text.svg" width="150" alt="SheetXL"/>
|
|
5
|
-
</a>
|
|
3
|
+

|
|
6
4
|
|
|
7
5
|

|
|
8
6
|

|
|
9
|
-

|
|
10
7
|
|
|
11
8
|
> The simplest way to embed the full SheetXL spreadsheet UI into any web page.
|
|
12
9
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.2.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
-
*/const m=require("react/jsx-runtime"),l=require("react"),r=require("./
|
|
7
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.
|
|
6
|
+
*/const m=require("react/jsx-runtime"),l=require("react"),r=require("./DVrhH2z9cGZBKu17.cjs"),Wt=require("react-dom");function Rt(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const i in e)if(i!=="default"){const t=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(o,i,t.get?t:{enumerable:!0,get:()=>e[i]})}}return o.default=e,Object.freeze(o)}const de=Rt(l);function Pt(e){return r.generateUtilityClass("MuiCollapse",e)}r.generateUtilityClasses("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const Ft=r.styled("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:i}=e;return[o.root,o[i.orientation],i.state==="entered"&&o.entered,i.state==="exited"&&!i.in&&i.collapsedSize==="0px"&&o.hidden]}})(r.memoTheme(({theme:e})=>({height:0,overflow:"hidden",transition:e.transitions.create("height"),variants:[{props:{orientation:"horizontal"},style:{height:"auto",width:0,transition:e.transitions.create("width")}},{props:{state:"entered"},style:{height:"auto",overflow:"visible"}},{props:{state:"entered",orientation:"horizontal"},style:{width:"auto"}},{props:({ownerState:o})=>o.state==="exited"&&!o.in&&o.collapsedSize==="0px",style:{visibility:"hidden"}}]}))),Nt=r.styled("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,o)=>o.wrapper})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),It=r.styled("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,o)=>o.wrapperInner})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),Fe=de.forwardRef(function(e,o){const i=r.useDefaultProps({props:e,name:"MuiCollapse"}),{addEndListener:t,children:n,className:a,collapsedSize:s="0px",component:u,easing:c,in:d,onEnter:p,onEntered:f,onEntering:x,onExit:v,onExited:y,onExiting:k,orientation:w="vertical",style:b,timeout:h=r.duration.standard,TransitionComponent:M=r.Transition,...E}=i,N={...i,orientation:w,collapsedSize:s},T=(j=>{const{orientation:W,classes:V}=j,J={root:["root",`${W}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${W}`],wrapperInner:["wrapperInner",`${W}`]};return r.composeClasses(J,Pt,V)})(N),H=r.useTheme(),_=r.useTimeout(),P=de.useRef(null),z=de.useRef(),$=typeof s=="number"?`${s}px`:s,Y=w==="horizontal",I=Y?"width":"height",te=de.useRef(null),F=r.useForkRef(o,te),S=j=>W=>{if(j){const V=te.current;W===void 0?j(V):j(V,W)}},L=()=>P.current?P.current[Y?"clientWidth":"clientHeight"]:0,A=S((j,W)=>{P.current&&Y&&(P.current.style.position="absolute"),j.style[I]=$,p&&p(j,W)}),D=S((j,W)=>{const V=L();P.current&&Y&&(P.current.style.position="");const{duration:J,easing:ae}=r.getTransitionProps({style:b,timeout:h,easing:c},{mode:"enter"});if(h==="auto"){const ne=H.transitions.getAutoHeightDuration(V);j.style.transitionDuration=`${ne}ms`,z.current=ne}else j.style.transitionDuration=typeof J=="string"?J:`${J}ms`;j.style[I]=`${V}px`,j.style.transitionTimingFunction=ae,x&&x(j,W)}),X=S((j,W)=>{j.style[I]="auto",f&&f(j,W)}),B=S(j=>{j.style[I]=`${L()}px`,v&&v(j)}),Q=S(y),q=S(j=>{const W=L(),{duration:V,easing:J}=r.getTransitionProps({style:b,timeout:h,easing:c},{mode:"exit"});if(h==="auto"){const ae=H.transitions.getAutoHeightDuration(W);j.style.transitionDuration=`${ae}ms`,z.current=ae}else j.style.transitionDuration=typeof V=="string"?V:`${V}ms`;j.style[I]=$,j.style.transitionTimingFunction=J,k&&k(j)});return m.jsx(M,{in:d,onEnter:A,onEntered:X,onEntering:D,onExit:B,onExited:Q,onExiting:q,addEndListener:j=>{h==="auto"&&_.start(z.current||0,j),t&&t(te.current,j)},nodeRef:te,timeout:h==="auto"?null:h,...E,children:(j,{ownerState:W,...V})=>m.jsx(Ft,{as:u,className:r.clsx(T.root,a,{entered:T.entered,exited:!d&&$==="0px"&&T.hidden}[j]),style:{[Y?"minWidth":"minHeight"]:$,...b},ref:F,ownerState:{...N,state:j},...V,children:m.jsx(Nt,{ownerState:{...N,state:j},className:T.wrapper,ref:P,children:m.jsx(It,{ownerState:{...N,state:j},className:T.wrapperInner,children:n})})})})});function At(e){return r.generateUtilityClass("MuiCard",e)}Fe&&(Fe.muiSupportAuto=!0),r.generateUtilityClasses("MuiCard",["root"]);const Ht=r.styled(r.Paper,{name:"MuiCard",slot:"Root",overridesResolver:(e,o)=>o.root})({overflow:"hidden"}),qt=de.forwardRef(function(e,o){const i=r.useDefaultProps({props:e,name:"MuiCard"}),{className:t,raised:n=!1,...a}=i,s={...i,raised:n},u=(c=>{const{classes:d}=c;return r.composeClasses({root:["root"]},At,d)})(s);return m.jsx(Ht,{className:r.clsx(u.root,t),elevation:n?8:void 0,ref:o,ownerState:s,...a})});function zt(e){return r.generateUtilityClass("MuiCardActions",e)}r.generateUtilityClasses("MuiCardActions",["root","spacing"]);const Bt=r.styled("div",{name:"MuiCardActions",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:i}=e;return[o.root,!i.disableSpacing&&o.spacing]}})({display:"flex",alignItems:"center",padding:8,variants:[{props:{disableSpacing:!1},style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),_t=de.forwardRef(function(e,o){const i=r.useDefaultProps({props:e,name:"MuiCardActions"}),{disableSpacing:t=!1,className:n,...a}=i,s={...i,disableSpacing:t},u=(c=>{const{classes:d,disableSpacing:p}=c,f={root:["root",!p&&"spacing"]};return r.composeClasses(f,zt,d)})(s);return m.jsx(Bt,{className:r.clsx(u.root,n),ownerState:s,ref:o,...a})}),Ue=typeof r.globalCss({})=="function",Xt=(e,o)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...o&&!e.vars&&{colorScheme:e.palette.mode}}),Vt=e=>({color:(e.vars||e).palette.text.primary,...e.typography.body1,backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),et=(e,o=!1)=>{const i={};o&&e.colorSchemes&&typeof e.getColorSchemeSelector=="function"&&Object.entries(e.colorSchemes).forEach(([a,s])=>{const u=e.getColorSchemeSelector(a);u.startsWith("@")?i[u]={":root":{colorScheme:s.palette?.mode}}:i[u.replace(/\s*&/,"")]={colorScheme:s.palette?.mode}});let t={html:Xt(e,o),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:{margin:0,...Vt(e),"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}},...i};const n=e.components?.MuiCssBaseline?.styleOverrides;return n&&(t=[t,n]),t},Re="mui-ecs",Kt=r.globalCss(Ue?({theme:e,enableColorScheme:o})=>et(e,o):({theme:e})=>(o=>{const i=et(o,!1),t=Array.isArray(i)?i[0]:i;return!o.vars&&t&&(t.html[`:root:has(${Re})`]={colorScheme:o.palette.mode}),o.colorSchemes&&Object.entries(o.colorSchemes).forEach(([n,a])=>{const s=o.getColorSchemeSelector(n);s.startsWith("@")?t[s]={[`:root:not(:has(.${Re}))`]:{colorScheme:a.palette?.mode}}:t[s.replace(/\s*&/,"")]={[`&:not(:has(.${Re}))`]:{colorScheme:a.palette?.mode}}}),i})(e));function Ut(e){const o=r.useDefaultProps({props:e,name:"MuiCssBaseline"}),{children:i,enableColorScheme:t=!1}=o;return m.jsxs(de.Fragment,{children:[Ue&&m.jsx(Kt,{enableColorScheme:t}),!Ue&&!t&&m.jsx("span",{className:Re,style:{display:"none"}}),i]})}const $t=r.createSvgIcon(m.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m3.59-13L12 10.59 8.41 7 7 8.41 10.59 12 7 15.59 8.41 17 12 13.41 15.59 17 17 15.59 13.41 12 17 8.41z"}),"CancelOutlined"),Gt=l.createContext(null),qe={didCatch:!1,error:null};/**
|
|
7
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.2.0
|
|
8
8
|
*
|
|
9
9
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
10
10
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
11
|
-
*/class Zt extends l.Component{constructor(o){super(o),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=qe}static getDerivedStateFromError(o){return{didCatch:!0,error:o}}resetErrorBoundary(){const{error:o}=this.state;if(o!==null){for(var i,t,n=arguments.length,a=new Array(n),s=0;s<n;s++)a[s]=arguments[s];(i=(t=this.props).onReset)===null||i===void 0||i.call(t,{args:a,reason:"imperative-api"}),this.setState(qe)}}componentDidCatch(o,i){var t,n;(t=(n=this.props).onError)===null||t===void 0||t.call(n,o,i)}componentDidUpdate(o,i){const{didCatch:t}=this.state,{resetKeys:n}=this.props;var a,s;t&&i.error!==null&&function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return u.length!==c.length||u.some((d,p)=>!Object.is(d,c[p]))}(o.resetKeys,n)&&((a=(s=this.props).onReset)===null||a===void 0||a.call(s,{next:n,prev:o.resetKeys,reason:"keys"}),this.setState(qe))}render(){const{children:o,fallbackRender:i,FallbackComponent:t,fallback:n}=this.props,{didCatch:a,error:s}=this.state;let u=o;if(a){const c={error:s,resetErrorBoundary:this.resetErrorBoundary};if(typeof i=="function")u=i(c);else if(t)u=l.createElement(t,c);else{if(n===void 0)throw s;u=n}}return l.createElement(Gt.Provider,{value:{didCatch:a,error:s,resetErrorBoundary:this.resetErrorBoundary}},u)}}function ft(e){var o,i,t="";if(typeof e=="string"||typeof e=="number")t+=e;else if(typeof e=="object")if(Array.isArray(e))for(o=0;o<e.length;o++)e[o]&&(i=ft(e[o]))&&(t&&(t+=" "),t+=i);else for(o in e)e[o]&&(t&&(t+=" "),t+=o);return t}function ie(){for(var e,o,i=0,t="";i<arguments.length;)(e=arguments[i++])&&(o=ft(e))&&(t&&(t+=" "),t+=o);return t}let Yt={data:""},Qt=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,Jt=/\/\*[^]*?\*\/| +/g,tt=/\n+/g,ue=(e,o)=>{let i="",t="",n="";for(let a in e){let s=e[a];a[0]=="@"?a[1]=="i"?i=a+" "+s+";":t+=a[1]=="f"?ue(s,a):a+"{"+ue(s,a[1]=="k"?"":o)+"}":typeof s=="object"?t+=ue(s,o?o.replace(/([^,])+/g,u=>a.replace(/([^,]*:\S+\([^)]*\))|([^,])+/g,c=>/&/.test(c)?c.replace(/&/g,u):u?u+" "+c:c)):a):s!=null&&(a=/^--/.test(a)?a:a.replace(/[A-Z]/g,"-$&").toLowerCase(),n+=ue.p?ue.p(a,s):a+":"+s+";")}return i+(o&&n?o+"{"+n+"}":n)+t},oe={},ht=e=>{if(typeof e=="object"){let o="";for(let i in e)o+=i+ht(e[i]);return o}return e};function $e(e){let o=this||{},i=e.call?e(o.p):e;return((s,u,c,d,p)=>{let f=ht(s),x=oe[f]||(oe[f]=(h=>{let T=0,E=11;for(;T<h.length;)E=101*E+h.charCodeAt(T++)>>>0;return"go"+E})(f));if(!oe[x]){let h=f!==s?s:(T=>{let E,N,L=[{}];for(;E=Qt.exec(T.replace(Jt,""));)E[4]?L.shift():E[3]?(N=E[3].replace(tt," ").trim(),L.unshift(L[0][N]=L[0][N]||{})):L[0][E[1]]=E[2].replace(tt," ").trim();return L[0]})(s);oe[x]=ue(p?{["@keyframes "+x]:h}:h,c?"":"."+x)}let v=c&&oe.g?oe.g:null;return c&&(oe.g=oe[x]),y=oe[x],b=u,w=d,(k=v)?b.data=b.data.replace(k,y):b.data.indexOf(y)===-1&&(b.data=w?y+b.data:b.data+y),x;var y,b,w,k})(i.unshift?i.raw?(t=i,n=[].slice.call(arguments,1),a=o.p,t.reduce((s,u,c)=>{let d=n[c];if(d&&d.call){let p=d(a),f=p&&p.props&&p.props.className||/^go/.test(p)&&p;d=f?"."+f:p&&typeof p=="object"?p.props?"":ue(p,""):p===!1?"":p}return s+u+(d??"")},"")):i.reduce((s,u)=>Object.assign(s,u&&u.call?u(o.p):u),{}):i,(s=>typeof window=="object"?((s?s.querySelector("#_goober"):window._goober)||Object.assign((s||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:s||Yt)(o.target),o.g,o.o,o.k);var t,n,a}function gt(e,o,i){return o&&function(t,n){for(var a=0;a<n.length;a++){var s=n[a];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,s.key,s)}}(e.prototype,o),e}function O(){return O=Object.assign||function(e){for(var o=1;o<arguments.length;o++){var i=arguments[o];for(var t in i)Object.prototype.hasOwnProperty.call(i,t)&&(e[t]=i[t])}return e},O.apply(this,arguments)}function kt(e,o){e.prototype=Object.create(o.prototype),e.prototype.constructor=e,e.__proto__=o}function Ce(e,o){if(e==null)return{};var i,t,n={},a=Object.keys(e);for(t=0;t<a.length;t++)i=a[t],o.indexOf(i)>=0||(n[i]=e[i]);return n}function nt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}$e.bind({g:1}),$e.bind({k:1});var ot=function(){return""},bt=l.createContext({enqueueSnackbar:ot,closeSnackbar:ot}),ze="@media (max-width:599.95px)",Pe="@media (min-width:600px)",rt=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},Ze=function(e){return""+rt(e.vertical)+rt(e.horizontal)},je=function(e){return!!e||e===0},Me="unmounted",pe="exited",me="entering",xe="entered",it="exiting",Ye=function(e){function o(t){var n;n=e.call(this,t)||this;var a,s=t.appear;return n.appearStatus=null,t.in?s?(a=pe,n.appearStatus=me):a=xe:a=t.unmountOnExit||t.mountOnEnter?Me:pe,n.state={status:a},n.nextCallback=null,n}kt(o,e),o.getDerivedStateFromProps=function(t,n){return t.in&&n.status===Me?{status:pe}:null};var i=o.prototype;return i.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},i.componentDidUpdate=function(t){var n=null;if(t!==this.props){var a=this.state.status;this.props.in?a!==me&&a!==xe&&(n=me):a!==me&&a!==xe||(n=it)}this.updateStatus(!1,n)},i.componentWillUnmount=function(){this.cancelNextCallback()},i.getTimeouts=function(){var t=this.props.timeout,n=t,a=t;return t!=null&&typeof t!="number"&&typeof t!="string"&&(a=t.exit,n=t.enter),{exit:a,enter:n}},i.updateStatus=function(t,n){t===void 0&&(t=!1),n!==null?(this.cancelNextCallback(),n===me?this.performEnter(t):this.performExit()):this.props.unmountOnExit&&this.state.status===pe&&this.setState({status:Me})},i.performEnter=function(t){var n=this,a=this.props.enter,s=t,u=this.getTimeouts();t||a?(this.props.onEnter&&this.props.onEnter(this.node,s),this.safeSetState({status:me},function(){n.props.onEntering&&n.props.onEntering(n.node,s),n.onTransitionEnd(u.enter,function(){n.safeSetState({status:xe},function(){n.props.onEntered&&n.props.onEntered(n.node,s)})})})):this.safeSetState({status:xe},function(){n.props.onEntered&&n.props.onEntered(n.node,s)})},i.performExit=function(){var t=this,n=this.props.exit,a=this.getTimeouts();n?(this.props.onExit&&this.props.onExit(this.node),this.safeSetState({status:it},function(){t.props.onExiting&&t.props.onExiting(t.node),t.onTransitionEnd(a.exit,function(){t.safeSetState({status:pe},function(){t.props.onExited&&t.props.onExited(t.node)})})})):this.safeSetState({status:pe},function(){t.props.onExited&&t.props.onExited(t.node)})},i.cancelNextCallback=function(){this.nextCallback!==null&&this.nextCallback.cancel&&(this.nextCallback.cancel(),this.nextCallback=null)},i.safeSetState=function(t,n){n=this.setNextCallback(n),this.setState(t,n)},i.setNextCallback=function(t){var n=this,a=!0;return this.nextCallback=function(){a&&(a=!1,n.nextCallback=null,t())},this.nextCallback.cancel=function(){a=!1},this.nextCallback},i.onTransitionEnd=function(t,n){this.setNextCallback(n);var a=t==null&&!this.props.addEndListener;this.node&&!a?(this.props.addEndListener&&this.props.addEndListener(this.node,this.nextCallback),t!=null&&setTimeout(this.nextCallback,t)):setTimeout(this.nextCallback,0)},i.render=function(){var t=this.state.status;if(t===Me)return null;var n=this.props;return(0,n.children)(t,Ce(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]))},gt(o,[{key:"node",get:function(){var t,n=(t=this.props.nodeRef)===null||t===void 0?void 0:t.current;if(!n)throw new Error("notistack - Custom snackbar is not refForwarding");return n}}]),o}(l.Component);function fe(){}function at(e,o){typeof e=="function"?e(o):e&&(e.current=o)}function Ge(e,o){return l.useMemo(function(){return e==null&&o==null?null:function(i){at(e,i),at(o,i)}},[e,o])}function Ne(e){var o=e.timeout,i=e.style,t=i===void 0?{}:i,n=e.mode;return{duration:typeof o=="object"?o[n]||0:o,easing:t.transitionTimingFunction,delay:t.transitionDelay}}Ye.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:fe,onEntering:fe,onEntered:fe,onExit:fe,onExiting:fe,onExited:fe};var xt=function(e){e.scrollTop=e.scrollTop},st=function(e){return Math.round(e)+"ms"};function he(e,o){e===void 0&&(e=["all"]);var i=o||{},t=i.duration,n=t===void 0?300:t,a=i.easing,s=a===void 0?"cubic-bezier(0.4, 0, 0.2, 1)":a,u=i.delay,c=u===void 0?0:u;return(Array.isArray(e)?e:[e]).map(function(d){var p=typeof n=="string"?n:st(n),f=typeof c=="string"?c:st(c);return d+" "+p+" "+s+" "+f}).join(",")}function yt(e){var o;return((o=e)&&o.ownerDocument||document).defaultView||window}function Te(e,o){if(o){var i=function(t,n){var a,s=n.getBoundingClientRect(),u=yt(n);if(n.fakeTransform)a=n.fakeTransform;else{var c=u.getComputedStyle(n);a=c.getPropertyValue("-webkit-transform")||c.getPropertyValue("transform")}var d=0,p=0;if(a&&a!=="none"&&typeof a=="string"){var f=a.split("(")[1].split(")")[0].split(",");d=parseInt(f[4],10),p=parseInt(f[5],10)}switch(t){case"left":return"translateX("+(u.innerWidth+d-s.left)+"px)";case"right":return"translateX(-"+(s.left+s.width-d)+"px)";case"up":return"translateY("+(u.innerHeight+p-s.top)+"px)";default:return"translateY(-"+(s.top+s.height-p)+"px)"}}(e,o);i&&(o.style.webkitTransform=i,o.style.transform=i)}}var wt=l.forwardRef(function(e,o){var i=e.children,t=e.direction,n=t===void 0?"down":t,a=e.in,s=e.style,u=e.timeout,c=u===void 0?0:u,d=e.onEnter,p=e.onEntered,f=e.onExit,x=e.onExited,v=Ce(e,["children","direction","in","style","timeout","onEnter","onEntered","onExit","onExited"]),y=l.useRef(null),b=Ge(i.ref,y),w=Ge(b,o),k=l.useCallback(function(){y.current&&Te(n,y.current)},[n]);return l.useEffect(function(){if(!a&&n!=="down"&&n!=="right"){var h=function(E,N){var L;function H(){for(var _=this,P=arguments.length,z=new Array(P),$=0;$<P;$++)z[$]=arguments[$];clearTimeout(L),L=setTimeout(function(){E.apply(_,z)},N)}return N===void 0&&(N=166),H.clear=function(){clearTimeout(L)},H}(function(){y.current&&Te(n,y.current)}),T=yt(y.current);return T.addEventListener("resize",h),function(){h.clear(),T.removeEventListener("resize",h)}}},[n,a]),l.useEffect(function(){a||k()},[a,k]),l.createElement(Ye,Object.assign({appear:!0,nodeRef:y,onEnter:function(h,T){Te(n,h),xt(h),d&&d(h,T)},onEntered:p,onEntering:function(h){var T=Ne({timeout:c,mode:"enter",style:O({},s,{transitionTimingFunction:s?.transitionTimingFunction||"cubic-bezier(0.0, 0, 0.2, 1)"})});h.style.webkitTransition=he("-webkit-transform",T),h.style.transition=he("transform",T),h.style.webkitTransform="none",h.style.transform="none"},onExit:function(h){var T=Ne({timeout:c,mode:"exit",style:O({},s,{transitionTimingFunction:s?.transitionTimingFunction||"cubic-bezier(0.4, 0, 0.6, 1)"})});h.style.webkitTransition=he("-webkit-transform",T),h.style.transition=he("transform",T),Te(n,h),f&&f(h)},onExited:function(h){h.style.webkitTransition="",h.style.transition="",x&&x(h)},in:a,timeout:c},v),function(h,T){return l.cloneElement(i,O({ref:w,style:O({visibility:h!=="exited"||a?void 0:"hidden"},s,{},i.props.style)},T))})});wt.displayName="Slide";var Le=function(e){return l.createElement("svg",Object.assign({viewBox:"0 0 24 24",focusable:"false",style:{fontSize:20,marginInlineEnd:8,userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0}},e))},ce={maxSnack:3,persist:!1,hideIconVariant:!1,disableWindowBlurListener:!1,variant:"default",autoHideDuration:5e3,iconVariant:{default:void 0,success:l.createElement(function(){return l.createElement(Le,null,l.createElement("path",{d:`M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41
|
|
12
|
-
10.59L10 14.17L17.59 6.58L19 8L10 17Z`}))},null),warning:l.createElement(function(){return l.createElement(
|
|
11
|
+
*/class Zt extends l.Component{constructor(o){super(o),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=qe}static getDerivedStateFromError(o){return{didCatch:!0,error:o}}resetErrorBoundary(){const{error:o}=this.state;if(o!==null){for(var i,t,n=arguments.length,a=new Array(n),s=0;s<n;s++)a[s]=arguments[s];(i=(t=this.props).onReset)===null||i===void 0||i.call(t,{args:a,reason:"imperative-api"}),this.setState(qe)}}componentDidCatch(o,i){var t,n;(t=(n=this.props).onError)===null||t===void 0||t.call(n,o,i)}componentDidUpdate(o,i){const{didCatch:t}=this.state,{resetKeys:n}=this.props;var a,s;t&&i.error!==null&&function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return u.length!==c.length||u.some((d,p)=>!Object.is(d,c[p]))}(o.resetKeys,n)&&((a=(s=this.props).onReset)===null||a===void 0||a.call(s,{next:n,prev:o.resetKeys,reason:"keys"}),this.setState(qe))}render(){const{children:o,fallbackRender:i,FallbackComponent:t,fallback:n}=this.props,{didCatch:a,error:s}=this.state;let u=o;if(a){const c={error:s,resetErrorBoundary:this.resetErrorBoundary};if(typeof i=="function")u=i(c);else if(t)u=l.createElement(t,c);else{if(n===void 0)throw s;u=n}}return l.createElement(Gt.Provider,{value:{didCatch:a,error:s,resetErrorBoundary:this.resetErrorBoundary}},u)}}function ft(e){var o,i,t="";if(typeof e=="string"||typeof e=="number")t+=e;else if(typeof e=="object")if(Array.isArray(e))for(o=0;o<e.length;o++)e[o]&&(i=ft(e[o]))&&(t&&(t+=" "),t+=i);else for(o in e)e[o]&&(t&&(t+=" "),t+=o);return t}function ie(){for(var e,o,i=0,t="";i<arguments.length;)(e=arguments[i++])&&(o=ft(e))&&(t&&(t+=" "),t+=o);return t}let Yt={data:""},Qt=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,Jt=/\/\*[^]*?\*\/| +/g,tt=/\n+/g,ue=(e,o)=>{let i="",t="",n="";for(let a in e){let s=e[a];a[0]=="@"?a[1]=="i"?i=a+" "+s+";":t+=a[1]=="f"?ue(s,a):a+"{"+ue(s,a[1]=="k"?"":o)+"}":typeof s=="object"?t+=ue(s,o?o.replace(/([^,])+/g,u=>a.replace(/([^,]*:\S+\([^)]*\))|([^,])+/g,c=>/&/.test(c)?c.replace(/&/g,u):u?u+" "+c:c)):a):s!=null&&(a=/^--/.test(a)?a:a.replace(/[A-Z]/g,"-$&").toLowerCase(),n+=ue.p?ue.p(a,s):a+":"+s+";")}return i+(o&&n?o+"{"+n+"}":n)+t},oe={},ht=e=>{if(typeof e=="object"){let o="";for(let i in e)o+=i+ht(e[i]);return o}return e};function $e(e){let o=this||{},i=e.call?e(o.p):e;return((s,u,c,d,p)=>{let f=ht(s),x=oe[f]||(oe[f]=(h=>{let M=0,E=11;for(;M<h.length;)E=101*E+h.charCodeAt(M++)>>>0;return"go"+E})(f));if(!oe[x]){let h=f!==s?s:(M=>{let E,N,T=[{}];for(;E=Qt.exec(M.replace(Jt,""));)E[4]?T.shift():E[3]?(N=E[3].replace(tt," ").trim(),T.unshift(T[0][N]=T[0][N]||{})):T[0][E[1]]=E[2].replace(tt," ").trim();return T[0]})(s);oe[x]=ue(p?{["@keyframes "+x]:h}:h,c?"":"."+x)}let v=c&&oe.g?oe.g:null;return c&&(oe.g=oe[x]),y=oe[x],k=u,w=d,(b=v)?k.data=k.data.replace(b,y):k.data.indexOf(y)===-1&&(k.data=w?y+k.data:k.data+y),x;var y,k,w,b})(i.unshift?i.raw?(t=i,n=[].slice.call(arguments,1),a=o.p,t.reduce((s,u,c)=>{let d=n[c];if(d&&d.call){let p=d(a),f=p&&p.props&&p.props.className||/^go/.test(p)&&p;d=f?"."+f:p&&typeof p=="object"?p.props?"":ue(p,""):p===!1?"":p}return s+u+(d??"")},"")):i.reduce((s,u)=>Object.assign(s,u&&u.call?u(o.p):u),{}):i,(s=>typeof window=="object"?((s?s.querySelector("#_goober"):window._goober)||Object.assign((s||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:s||Yt)(o.target),o.g,o.o,o.k);var t,n,a}function gt(e,o,i){return o&&function(t,n){for(var a=0;a<n.length;a++){var s=n[a];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,s.key,s)}}(e.prototype,o),e}function O(){return O=Object.assign||function(e){for(var o=1;o<arguments.length;o++){var i=arguments[o];for(var t in i)Object.prototype.hasOwnProperty.call(i,t)&&(e[t]=i[t])}return e},O.apply(this,arguments)}function bt(e,o){e.prototype=Object.create(o.prototype),e.prototype.constructor=e,e.__proto__=o}function Ce(e,o){if(e==null)return{};var i,t,n={},a=Object.keys(e);for(t=0;t<a.length;t++)i=a[t],o.indexOf(i)>=0||(n[i]=e[i]);return n}function nt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}$e.bind({g:1}),$e.bind({k:1});var ot=function(){return""},kt=l.createContext({enqueueSnackbar:ot,closeSnackbar:ot}),ze="@media (max-width:599.95px)",Pe="@media (min-width:600px)",rt=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},Ze=function(e){return""+rt(e.vertical)+rt(e.horizontal)},je=function(e){return!!e||e===0},Le="unmounted",pe="exited",me="entering",xe="entered",it="exiting",Ye=function(e){function o(t){var n;n=e.call(this,t)||this;var a,s=t.appear;return n.appearStatus=null,t.in?s?(a=pe,n.appearStatus=me):a=xe:a=t.unmountOnExit||t.mountOnEnter?Le:pe,n.state={status:a},n.nextCallback=null,n}bt(o,e),o.getDerivedStateFromProps=function(t,n){return t.in&&n.status===Le?{status:pe}:null};var i=o.prototype;return i.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},i.componentDidUpdate=function(t){var n=null;if(t!==this.props){var a=this.state.status;this.props.in?a!==me&&a!==xe&&(n=me):a!==me&&a!==xe||(n=it)}this.updateStatus(!1,n)},i.componentWillUnmount=function(){this.cancelNextCallback()},i.getTimeouts=function(){var t=this.props.timeout,n=t,a=t;return t!=null&&typeof t!="number"&&typeof t!="string"&&(a=t.exit,n=t.enter),{exit:a,enter:n}},i.updateStatus=function(t,n){t===void 0&&(t=!1),n!==null?(this.cancelNextCallback(),n===me?this.performEnter(t):this.performExit()):this.props.unmountOnExit&&this.state.status===pe&&this.setState({status:Le})},i.performEnter=function(t){var n=this,a=this.props.enter,s=t,u=this.getTimeouts();t||a?(this.props.onEnter&&this.props.onEnter(this.node,s),this.safeSetState({status:me},function(){n.props.onEntering&&n.props.onEntering(n.node,s),n.onTransitionEnd(u.enter,function(){n.safeSetState({status:xe},function(){n.props.onEntered&&n.props.onEntered(n.node,s)})})})):this.safeSetState({status:xe},function(){n.props.onEntered&&n.props.onEntered(n.node,s)})},i.performExit=function(){var t=this,n=this.props.exit,a=this.getTimeouts();n?(this.props.onExit&&this.props.onExit(this.node),this.safeSetState({status:it},function(){t.props.onExiting&&t.props.onExiting(t.node),t.onTransitionEnd(a.exit,function(){t.safeSetState({status:pe},function(){t.props.onExited&&t.props.onExited(t.node)})})})):this.safeSetState({status:pe},function(){t.props.onExited&&t.props.onExited(t.node)})},i.cancelNextCallback=function(){this.nextCallback!==null&&this.nextCallback.cancel&&(this.nextCallback.cancel(),this.nextCallback=null)},i.safeSetState=function(t,n){n=this.setNextCallback(n),this.setState(t,n)},i.setNextCallback=function(t){var n=this,a=!0;return this.nextCallback=function(){a&&(a=!1,n.nextCallback=null,t())},this.nextCallback.cancel=function(){a=!1},this.nextCallback},i.onTransitionEnd=function(t,n){this.setNextCallback(n);var a=t==null&&!this.props.addEndListener;this.node&&!a?(this.props.addEndListener&&this.props.addEndListener(this.node,this.nextCallback),t!=null&&setTimeout(this.nextCallback,t)):setTimeout(this.nextCallback,0)},i.render=function(){var t=this.state.status;if(t===Le)return null;var n=this.props;return(0,n.children)(t,Ce(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]))},gt(o,[{key:"node",get:function(){var t,n=(t=this.props.nodeRef)===null||t===void 0?void 0:t.current;if(!n)throw new Error("notistack - Custom snackbar is not refForwarding");return n}}]),o}(l.Component);function fe(){}function at(e,o){typeof e=="function"?e(o):e&&(e.current=o)}function Ge(e,o){return l.useMemo(function(){return e==null&&o==null?null:function(i){at(e,i),at(o,i)}},[e,o])}function Ne(e){var o=e.timeout,i=e.style,t=i===void 0?{}:i,n=e.mode;return{duration:typeof o=="object"?o[n]||0:o,easing:t.transitionTimingFunction,delay:t.transitionDelay}}Ye.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:fe,onEntering:fe,onEntered:fe,onExit:fe,onExiting:fe,onExited:fe};var xt=function(e){e.scrollTop=e.scrollTop},st=function(e){return Math.round(e)+"ms"};function he(e,o){e===void 0&&(e=["all"]);var i=o||{},t=i.duration,n=t===void 0?300:t,a=i.easing,s=a===void 0?"cubic-bezier(0.4, 0, 0.2, 1)":a,u=i.delay,c=u===void 0?0:u;return(Array.isArray(e)?e:[e]).map(function(d){var p=typeof n=="string"?n:st(n),f=typeof c=="string"?c:st(c);return d+" "+p+" "+s+" "+f}).join(",")}function yt(e){var o;return((o=e)&&o.ownerDocument||document).defaultView||window}function Me(e,o){if(o){var i=function(t,n){var a,s=n.getBoundingClientRect(),u=yt(n);if(n.fakeTransform)a=n.fakeTransform;else{var c=u.getComputedStyle(n);a=c.getPropertyValue("-webkit-transform")||c.getPropertyValue("transform")}var d=0,p=0;if(a&&a!=="none"&&typeof a=="string"){var f=a.split("(")[1].split(")")[0].split(",");d=parseInt(f[4],10),p=parseInt(f[5],10)}switch(t){case"left":return"translateX("+(u.innerWidth+d-s.left)+"px)";case"right":return"translateX(-"+(s.left+s.width-d)+"px)";case"up":return"translateY("+(u.innerHeight+p-s.top)+"px)";default:return"translateY(-"+(s.top+s.height-p)+"px)"}}(e,o);i&&(o.style.webkitTransform=i,o.style.transform=i)}}var wt=l.forwardRef(function(e,o){var i=e.children,t=e.direction,n=t===void 0?"down":t,a=e.in,s=e.style,u=e.timeout,c=u===void 0?0:u,d=e.onEnter,p=e.onEntered,f=e.onExit,x=e.onExited,v=Ce(e,["children","direction","in","style","timeout","onEnter","onEntered","onExit","onExited"]),y=l.useRef(null),k=Ge(i.ref,y),w=Ge(k,o),b=l.useCallback(function(){y.current&&Me(n,y.current)},[n]);return l.useEffect(function(){if(!a&&n!=="down"&&n!=="right"){var h=function(E,N){var T;function H(){for(var _=this,P=arguments.length,z=new Array(P),$=0;$<P;$++)z[$]=arguments[$];clearTimeout(T),T=setTimeout(function(){E.apply(_,z)},N)}return N===void 0&&(N=166),H.clear=function(){clearTimeout(T)},H}(function(){y.current&&Me(n,y.current)}),M=yt(y.current);return M.addEventListener("resize",h),function(){h.clear(),M.removeEventListener("resize",h)}}},[n,a]),l.useEffect(function(){a||b()},[a,b]),l.createElement(Ye,Object.assign({appear:!0,nodeRef:y,onEnter:function(h,M){Me(n,h),xt(h),d&&d(h,M)},onEntered:p,onEntering:function(h){var M=Ne({timeout:c,mode:"enter",style:O({},s,{transitionTimingFunction:s?.transitionTimingFunction||"cubic-bezier(0.0, 0, 0.2, 1)"})});h.style.webkitTransition=he("-webkit-transform",M),h.style.transition=he("transform",M),h.style.webkitTransform="none",h.style.transform="none"},onExit:function(h){var M=Ne({timeout:c,mode:"exit",style:O({},s,{transitionTimingFunction:s?.transitionTimingFunction||"cubic-bezier(0.4, 0, 0.6, 1)"})});h.style.webkitTransition=he("-webkit-transform",M),h.style.transition=he("transform",M),Me(n,h),f&&f(h)},onExited:function(h){h.style.webkitTransition="",h.style.transition="",x&&x(h)},in:a,timeout:c},v),function(h,M){return l.cloneElement(i,O({ref:w,style:O({visibility:h!=="exited"||a?void 0:"hidden"},s,{},i.props.style)},M))})});wt.displayName="Slide";var Te=function(e){return l.createElement("svg",Object.assign({viewBox:"0 0 24 24",focusable:"false",style:{fontSize:20,marginInlineEnd:8,userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0}},e))},ce={maxSnack:3,persist:!1,hideIconVariant:!1,disableWindowBlurListener:!1,variant:"default",autoHideDuration:5e3,iconVariant:{default:void 0,success:l.createElement(function(){return l.createElement(Te,null,l.createElement("path",{d:`M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41
|
|
12
|
+
10.59L10 14.17L17.59 6.58L19 8L10 17Z`}))},null),warning:l.createElement(function(){return l.createElement(Te,null,l.createElement("path",{d:"M13,14H11V10H13M13,18H11V16H13M1,21H23L12,2L1,21Z"}))},null),error:l.createElement(function(){return l.createElement(Te,null,l.createElement("path",{d:`M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,
|
|
13
13
|
6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,
|
|
14
|
-
13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z`}))},null),info:l.createElement(function(){return l.createElement(
|
|
15
|
-
0 22,12A10,10 0 0,0 12,2Z`}))},null)},anchorOrigin:{vertical:"bottom",horizontal:"left"},TransitionComponent:wt,transitionDuration:{enter:225,exit:195}};function Se(e){return Object.entries(e).reduce(function(o,i){var t,n=i[0],a=i[1];return O({},o,((t={})[n]=$e(a),t))},{})}var vt="notistack-CollapseWrapper",en=function(e){return"notistack-MuiContent-"+e},lt=Se({root:{height:0},entered:{height:"auto"}}),Be="0px",Et=l.forwardRef(function(e,o){var i=e.children,t=e.in,n=e.onExited,a=l.useRef(null),s=l.useRef(null),u=Ge(o,s),c=function(){return a.current?a.current.clientHeight:0};return l.createElement(Ye,{in:t,unmountOnExit:!0,onEnter:function(d){d.style.height=Be},onEntered:function(d){d.style.height="auto"},onEntering:function(d){var p=c(),f=Ne({timeout:175,mode:"enter"}),x=f.duration,v=f.easing;d.style.transitionDuration=typeof x=="string"?x:x+"ms",d.style.height=p+"px",d.style.transitionTimingFunction=v||""},onExit:function(d){d.style.height=c()+"px"},onExited:n,onExiting:function(d){xt(d);var p=Ne({timeout:175,mode:"exit"}),f=p.duration,x=p.easing;d.style.transitionDuration=typeof f=="string"?f:f+"ms",d.style.height=Be,d.style.transitionTimingFunction=x||""},nodeRef:s,timeout:175},function(d,p){return l.createElement("div",Object.assign({ref:u,className:ie(lt.root,d==="entered"&<.entered),style:O({pointerEvents:"all",overflow:"hidden",minHeight:Be,transition:he("height")},d==="entered"&&{overflow:"visible"},{},d==="exited"&&!t&&{visibility:"hidden"})},p),l.createElement("div",{ref:a,className:vt,style:{display:"flex",width:"100%"}},i))})});Et.displayName="Collapse";var ct={right:"left",left:"right",bottom:"up",top:"down"},tn=function(e){return"anchorOrigin"+Ze(e)},nn=function(){};function Ee(e,o){return e.reduce(function(i,t){return t==null?i:function(){for(var n=arguments.length,a=new Array(n),s=0;s<n;s++)a[s]=arguments[s];var u=[].concat(a);o&&u.indexOf(o)===-1&&u.push(o),i.apply(this,u),t.apply(this,u)}},nn)}var on=typeof window<"u"?l.useLayoutEffect:l.useEffect;function ut(e){var o=l.useRef(e);return on(function(){o.current=e}),l.useCallback(function(){return o.current.apply(void 0,arguments)},[])}var _e,Ct=l.forwardRef(function(e,o){var i=e.children,t=e.className,n=e.autoHideDuration,a=e.disableWindowBlurListener,s=a!==void 0&&a,u=e.onClose,c=e.id,d=e.open,p=e.SnackbarProps,f=p===void 0?{}:p,x=l.useRef(),v=ut(function(){u&&u.apply(void 0,arguments)}),y=ut(function(k){u&&k!=null&&(x.current&&clearTimeout(x.current),x.current=setTimeout(function(){v(null,"timeout",c)},k))});l.useEffect(function(){return d&&y(n),function(){x.current&&clearTimeout(x.current)}},[d,n,y]);var b=function(){x.current&&clearTimeout(x.current)},w=l.useCallback(function(){n!=null&&y(.5*n)},[n,y]);return l.useEffect(function(){if(!s&&d)return window.addEventListener("focus",w),window.addEventListener("blur",b),function(){window.removeEventListener("focus",w),window.removeEventListener("blur",b)}},[s,w,d]),l.createElement("div",Object.assign({ref:o},f,{className:ie("notistack-Snackbar",t),onMouseEnter:function(k){f.onMouseEnter&&f.onMouseEnter(k),b()},onMouseLeave:function(k){f.onMouseLeave&&f.onMouseLeave(k),w()}}),i)});Ct.displayName="Snackbar";var rn=Se({root:(_e={display:"flex",flexWrap:"wrap",flexGrow:1},_e[Pe]={flexGrow:"initial",minWidth:"288px"},_e)}),Qe=l.forwardRef(function(e,o){var i=e.className,t=Ce(e,["className"]);return l.createElement("div",Object.assign({ref:o,className:ie(rn.root,i)},t))});Qe.displayName="SnackbarContent";var ye=Se({root:{backgroundColor:"#313131",fontSize:"0.875rem",lineHeight:1.43,letterSpacing:"0.01071em",color:"#fff",alignItems:"center",padding:"6px 16px",borderRadius:"4px",boxShadow:"0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12)"},lessPadding:{paddingLeft:"20px"},default:{backgroundColor:"#313131"},success:{backgroundColor:"#43a047"},error:{backgroundColor:"#d32f2f"},warning:{backgroundColor:"#ff9800"},info:{backgroundColor:"#2196f3"},message:{display:"flex",alignItems:"center",padding:"8px 0"},action:{display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:"16px",marginRight:"-8px"}}),dt="notistack-snackbar",St=l.forwardRef(function(e,o){var i=e.id,t=e.message,n=e.action,a=e.iconVariant,s=e.variant,u=e.hideIconVariant,c=e.style,d=e.className,p=a[s],f=n;return typeof f=="function"&&(f=f(i)),l.createElement(Qe,{ref:o,role:"alert","aria-describedby":dt,style:c,className:ie("notistack-MuiContent",en(s),ye.root,ye[s],d,!u&&p&&ye.lessPadding)},l.createElement("div",{id:dt,className:ye.message},u?null:p,t),f&&l.createElement("div",{className:ye.action},f))});St.displayName="MaterialDesignContent";var we,Xe,De,Oe,Ve,an=l.memo(St),sn=Se({wrappedRoot:{width:"100%",position:"relative",transform:"translateX(0)",top:0,right:0,bottom:0,left:0,minWidth:"288px"}}),ln=function(e){var o=l.useRef(),i=l.useState(!0),t=i[0],n=i[1],a=Ee([e.snack.onClose,e.onClose]),s=l.useCallback(function(){o.current=setTimeout(function(){n(function(_){return!_})},125)},[]);l.useEffect(function(){return function(){o.current&&clearTimeout(o.current)}},[]);var u,c=e.snack,d=e.classes,p=e.Component,f=p===void 0?an:p,x=l.useMemo(function(){return function(_){_===void 0&&(_={});var P={containerRoot:!0,containerAnchorOriginTopCenter:!0,containerAnchorOriginBottomCenter:!0,containerAnchorOriginTopRight:!0,containerAnchorOriginBottomRight:!0,containerAnchorOriginTopLeft:!0,containerAnchorOriginBottomLeft:!0};return Object.keys(_).filter(function(z){return!P[z]}).reduce(function(z,$){var Y;return O({},z,((Y={})[$]=_[$],Y))},{})}(d)},[d]),v=c.open,y=c.SnackbarProps,b=c.TransitionComponent,w=c.TransitionProps,k=c.transitionDuration,h=c.disableWindowBlurListener,T=c.content,E=Ce(c,["open","SnackbarProps","TransitionComponent","TransitionProps","transitionDuration","disableWindowBlurListener","content","entered","requestClose","onEnter","onEntered","onExit","onExited"]),N=O({direction:(u=E.anchorOrigin,u.horizontal!=="center"?ct[u.horizontal]:ct[u.vertical]),timeout:k},w),L=T;typeof L=="function"&&(L=L(E.id,E.message));var H=["onEnter","onEntered","onExit","onExited"].reduce(function(_,P){var z;return O({},_,((z={})[P]=Ee([e.snack[P],e[P]],E.id),z))},{});return l.createElement(Et,{in:t,onExited:H.onExited},l.createElement(Ct,{open:v,id:E.id,disableWindowBlurListener:h,autoHideDuration:E.autoHideDuration,className:ie(sn.wrappedRoot,x.root,x[tn(E.anchorOrigin)]),SnackbarProps:y,onClose:a},l.createElement(b,Object.assign({},N,{appear:!0,in:v,onExit:H.onExit,onExited:s,onEnter:H.onEnter,onEntered:Ee([H.onEntered,function(){e.snack.requestClose&&a(null,"instructed",e.snack.id)}],E.id)}),L||l.createElement(f,Object.assign({},E)))))},ve=20,Ke=6,cn=2,pt="."+vt,We=Se({root:(we={boxSizing:"border-box",display:"flex",maxHeight:"100%",position:"fixed",zIndex:1400,height:"auto",width:"auto",transition:he(["top","right","bottom","left","max-width"],{duration:300,easing:"ease"}),pointerEvents:"none"},we[pt]={padding:Ke+"px 0px",transition:"padding 300ms ease 0ms"},we.maxWidth="calc(100% - "+2*ve+"px)",we[ze]={width:"100%",maxWidth:"calc(100% - 32px)"},we),rootDense:(Xe={},Xe[pt]={padding:cn+"px 0px"},Xe),top:{top:ve-Ke+"px",flexDirection:"column"},bottom:{bottom:ve-Ke+"px",flexDirection:"column-reverse"},left:(De={left:ve+"px"},De[Pe]={alignItems:"flex-start"},De[ze]={left:"16px"},De),right:(Oe={right:ve+"px"},Oe[Pe]={alignItems:"flex-end"},Oe[ze]={right:"16px"},Oe),center:(Ve={left:"50%",transform:"translateX(-50%)"},Ve[Pe]={alignItems:"center"},Ve)}),un=l.memo(function(e){var o=e.classes,i=o===void 0?{}:o,t=e.anchorOrigin,n=e.dense,a=e.children,s=ie("notistack-SnackbarContainer",We[t.vertical],We[t.horizontal],We.root,i.containerRoot,i["containerAnchorOrigin"+Ze(t)],n&&We.rootDense);return l.createElement("div",{className:s},a)}),mt=function(e){return!(typeof e=="string"||l.isValidElement(e))},dn=function(e){function o(i){var t;return(t=e.call(this,i)||this).enqueueSnackbar=function(n,a){if(a===void 0&&(a={}),n==null)throw new Error("enqueueSnackbar called with invalid argument");var s=mt(n)?n:a,u=mt(n)?n.message:n,c=s.key,d=s.preventDuplicate,p=Ce(s,["key","preventDuplicate"]),f=je(c),x=f?c:new Date().getTime()+Math.random(),v=function(b,w){return function(k,h){return h===void 0&&(h=!1),h?O({},ce[k],{},w[k],{},b[k]):k==="autoHideDuration"?(L=b.autoHideDuration,H=w.autoHideDuration,(_=function(P){return typeof P=="number"||P===null})(L)?L:_(H)?H:ce.autoHideDuration):k==="transitionDuration"?(T=b.transitionDuration,E=w.transitionDuration,(N=function(P,z){return z.some(function($){return typeof P===$})})(T,["string","number"])?T:N(T,["object"])?O({},ce.transitionDuration,{},N(E,["object"])&&E,{},T):N(E,["string","number"])?E:N(E,["object"])?O({},ce.transitionDuration,{},E):ce.transitionDuration):b[k]||w[k]||ce[k];var T,E,N,L,H,_}}(p,t.props),y=O({id:x},p,{message:u,open:!0,entered:!1,requestClose:!1,persist:v("persist"),action:v("action"),content:v("content"),variant:v("variant"),anchorOrigin:v("anchorOrigin"),disableWindowBlurListener:v("disableWindowBlurListener"),autoHideDuration:v("autoHideDuration"),hideIconVariant:v("hideIconVariant"),TransitionComponent:v("TransitionComponent"),transitionDuration:v("transitionDuration"),TransitionProps:v("TransitionProps",!0),iconVariant:v("iconVariant",!0),style:v("style",!0),SnackbarProps:v("SnackbarProps",!0),className:ie(t.props.className,p.className)});return y.persist&&(y.autoHideDuration=void 0),t.setState(function(b){if(d===void 0&&t.props.preventDuplicate||d){var w=function(T){return f?T.id===x:T.message===u},k=b.queue.findIndex(w)>-1,h=b.snacks.findIndex(w)>-1;if(k||h)return b}return t.handleDisplaySnack(O({},b,{queue:[].concat(b.queue,[y])}))}),x},t.handleDisplaySnack=function(n){return n.snacks.length>=t.maxSnack?t.handleDismissOldest(n):t.processQueue(n)},t.processQueue=function(n){var a=n.queue,s=n.snacks;return a.length>0?O({},n,{snacks:[].concat(s,[a[0]]),queue:a.slice(1,a.length)}):n},t.handleDismissOldest=function(n){if(n.snacks.some(function(c){return!c.open||c.requestClose}))return n;var a=!1,s=!1;n.snacks.reduce(function(c,d){return c+(d.open&&d.persist?1:0)},0)===t.maxSnack&&(s=!0);var u=n.snacks.map(function(c){return a||c.persist&&!s?O({},c):(a=!0,c.entered?(c.onClose&&c.onClose(null,"maxsnack",c.id),t.props.onClose&&t.props.onClose(null,"maxsnack",c.id),O({},c,{open:!1})):O({},c,{requestClose:!0}))});return O({},n,{snacks:u})},t.handleEnteredSnack=function(n,a,s){if(!je(s))throw new Error("handleEnteredSnack Cannot be called with undefined key");t.setState(function(u){return{snacks:u.snacks.map(function(c){return c.id===s?O({},c,{entered:!0}):O({},c)})}})},t.handleCloseSnack=function(n,a,s){t.props.onClose&&t.props.onClose(n,a,s);var u=s===void 0;t.setState(function(c){var d=c.snacks,p=c.queue;return{snacks:d.map(function(f){return u||f.id===s?f.entered?O({},f,{open:!1}):O({},f,{requestClose:!0}):O({},f)}),queue:p.filter(function(f){return f.id!==s})}})},t.closeSnackbar=function(n){var a=t.state.snacks.find(function(s){return s.id===n});je(n)&&a&&a.onClose&&a.onClose(null,"instructed",n),t.handleCloseSnack(null,"instructed",n)},t.handleExitedSnack=function(n,a){if(!je(a))throw new Error("handleExitedSnack Cannot be called with undefined key");t.setState(function(s){var u=t.processQueue(O({},s,{snacks:s.snacks.filter(function(c){return c.id!==a})}));return u.queue.length===0?u:t.handleDismissOldest(u)})},t.enqueueSnackbar,t.closeSnackbar,t.state={snacks:[],queue:[],contextValue:{enqueueSnackbar:t.enqueueSnackbar.bind(nt(t)),closeSnackbar:t.closeSnackbar.bind(nt(t))}},t}return kt(o,e),o.prototype.render=function(){var i=this,t=this.state.contextValue,n=this.props,a=n.domRoot,s=n.children,u=n.dense,c=u!==void 0&&u,d=n.Components,p=d===void 0?{}:d,f=n.classes,x=this.state.snacks.reduce(function(y,b){var w,k=Ze(b.anchorOrigin),h=y[k]||[];return O({},y,((w={})[k]=[].concat(h,[b]),w))},{}),v=Object.keys(x).map(function(y){var b=x[y],w=b[0];return l.createElement(un,{key:y,dense:c,anchorOrigin:w.anchorOrigin,classes:f},b.map(function(k){return l.createElement(ln,{key:k.id,snack:k,classes:f,Component:p[k.variant],onClose:i.handleCloseSnack,onEnter:i.props.onEnter,onExit:i.props.onExit,onExited:Ee([i.handleExitedSnack,i.props.onExited],k.id),onEntered:Ee([i.handleEnteredSnack,i.props.onEntered],k.id)})}))});return l.createElement(bt.Provider,{value:t},s,a?Wt.createPortal(v,a):v)},gt(o,[{key:"maxSnack",get:function(){return this.props.maxSnack||ce.maxSnack}}]),o}(l.Component),jt=function(){return l.useContext(bt)};const re={card:"_card_r6a8n_13",actionRoot:"_actionRoot_r6a8n_21",icons:"_icons_r6a8n_31",expand:"_expand_r6a8n_43",expandOpen:"_expandOpen_r6a8n_57",stackTraceContainer:"_stackTraceContainer_r6a8n_65"},Mt=l.forwardRef((e,o)=>{const{id:i,message:t,iconVariant:n,error:a,hideIconVariant:s,...u}=e,{closeSnackbar:c}=jt(),d=r.Js(),[p,f]=l.useState(!1),x=l.useCallback(()=>{f(b=>!b)},[]),v=l.useCallback(()=>{c(i)},[i,c]),y=a?.message||String(t);return m.jsx(Qe,{ref:o,className:r.jo(re.root,"error-snackbar"),children:m.jsxs(qt,{className:re.card,style:{backgroundColor:d.palette.error.dark,border:`1px solid ${d.palette.error.dark}`},children:[m.jsxs(_t,{className:re.actionRoot,children:[s?null:n?.error,m.jsx(r.Typography,{variant:"body2",component:"div",className:re.typography,style:{color:d.palette.text.primary},children:y}),m.jsx("div",{style:{flex:"1 1 auto"}}),m.jsxs("div",{className:re.icons,children:[a?m.jsx(r.IconButton,{"aria-label":"Show more",size:"small",className:r.jo(re.expand,{[re.expandOpen]:p}),style:{color:d.palette.action.active},onClick:x,children:m.jsx(r.Xn,{})}):null,m.jsx(r.IconButton,{size:"small",className:re.expand,style:{color:d.palette.action.active},onClick:v,children:m.jsx(r.vo,{fontSize:"small"})})]})]}),a?m.jsx(Fe,{in:p,timeout:"auto",unmountOnExit:!0,children:m.jsx("div",{className:re.stackTraceContainer,style:{backgroundColor:d.palette.error.light,borderTop:`1px solid ${d.palette.error.main}`},children:m.jsx(r.nk,{error:a,hideLineNumbers:!0})})}):null]})})});Mt.displayName="ToastError";const Tt=l.memo(l.forwardRef((e,o)=>{const{commands:i,commandHook:t,scope:n="workbook",disabled:a=!1,...s}=e,u=r.Te(d=>{const p={variant:r.pn.Menuitem,parentFloat:d.floatReference,commandHook:t,scope:n,disabled:a},f=m.jsxs(m.Fragment,{children:[m.jsx(r.qe,{...p,command:i.getCommand("newWorkbook"),icon:r.Le(m.jsx(r.qK,{}))}),m.jsx(r.Qt,{orientation:"horizontal"}),m.jsx(r.qe,{...p,command:i.getCommand("openWorkbook"),icon:r.Le(m.jsx(r.KK,{}))}),m.jsx(r.uo,{...p,commands:i,quickCommand:"saveWorkbook",icon:r.Le(m.jsx(r.XK,{})),createPopupPanel:x=>{const v={...p,parentFloat:x.floatReference,scope:"saveWorkbook"},y=[];return r.xX.getWriteFormats().forEach(b=>{if(b.isDefault)return;let w=null;b.key==="CSV"?w=r.Le(m.jsx(r.YK,{})):b.key==="Excel"&&(w=r.Le(m.jsx(r.ZK,{})));const k=i.getCommand(`saveWorkbookAs${b.key}`);k?y.push(l.createElement(r.qe,{...v,key:b.key,command:k,icon:w})):console.warn(`Unable to resolve command: 'saveWorkbookAs${b.key}'`)}),r.Zn({...x,children:y,onClick:()=>{x.closeFloatAll()}})}})]});return r.Zn({...d,children:f,onClick:x=>{x.isDefaultPrevented||d.closeFloatAll()}})},[a,i,t,n]),c="File";return m.jsx(r.uo,{commands:i,disabled:a,commandHook:t,scope:n,label:c,tooltip:"Options for saving and loading the workbook.",sx:{paddingBottom:"0px","& button":{paddingTop:"0px",paddingBottom:"0px",height:d=>`calc(1.25rem + ${d.spacing(2)}px)`}},...s,createPopupPanel:u,icon:m.jsx(r.iu,{className:"label",icon:null,label:c})})}));Tt.displayName="StandaloneFileCommandButton";const pn=m.jsx(r.ni,{label:"SheetXL",description:"Visit me at sheetxl.com.",children:m.jsx(r.Box,{sx:{width:"24px",height:"24px",marginBottom:"4px",marginLeft:"6px"},children:m.jsx(r.gX,{onClick:()=>{window?.open("https://www.sheetxl.com","_blank")},style:{width:"24px",height:"24px",cursor:"pointer"}})})}),Lt=l.memo(l.forwardRef((e,o)=>{const{commands:i,workbook:t,logo:n=pn,mainElement:a,showFileMenu:s=!0,showAppearanceMenu:u=!0,...c}=e,{reference:d}=r.El(),[p,{width:f}]=r.eg(),x=f<530,v=s?m.jsx(Tt,{commands:i,commandHook:{beforeExecute(){d?.closeAll()},onError(k,h,T){}}}):null,y=u?m.jsx(r.yX,{commands:i,commandHook:{beforeExecute(){d?.closeAll()},onError(k,h,T){}}}):null,b=l.useMemo(()=>({paddingLeft:k=>k.spacing(1),paddingRight:k=>k.spacing(1)}),[]),w=l.useRef(null);return m.jsx(r.Box,{ref:r.F6([w,p,o]),...c,children:r.iK({commands:i,renderCompact:x,workbook:t,selectWrapper:k=>m.jsxs(r.Box,{sx:{display:"flex",flex:"1",flexDirection:"row",alignItems:"stretch",gap:h=>h.spacing(1),paddingLeft:h=>h.spacing(1),paddingRight:h=>h.spacing(1)},children:[m.jsxs(r.Box,{sx:{display:"flex",flexDirection:"row",alignItems:"center",flex:"1 1 100%",gap:h=>h.spacing(.5)},children:[n,m.jsxs(r.Box,{sx:{display:"flex",flexDirection:"row",alignItems:"center",gap:h=>h.spacing(.25)},children:[v,k]})]}),m.jsx(r.Box,{sx:{display:"flex",flexDirection:"row",flex:"1 1 300%",overflow:"hidden",alignItems:"center",justifyContent:"center"},children:a}),m.jsx(r.Box,{sx:{display:"flex",alignItems:"center",justifyContent:"end",flex:x&&!y?"0 0 auto":"1 1 100%"},children:y})]}),selectProps:b,toolbarsProps:{Home:{sx:{}}}})})}));Lt.displayName="StandaloneWorkbookToolbar";const Dt=l.memo(l.forwardRef((e,o)=>{const{workbook:i,setWorkbook:t,refWorkbookTitle:n,titleWorkbook:a,setWorkbookTitle:s,titlePlaceHolder:u,children:c,undoManager:d,commands:p,importExportDisabled:f,themeModeOptions:x}=e,v=jt(),y=v?v.enqueueSnackbar:()=>{},b=v?v.closeSnackbar:()=>{},[w,k]=l.useState({isMounted:!1,label:null,starting:new Map,running:new Map}),h=l.useCallback(()=>{k(F=>({...F,isMounted:!0}))},[]),T=l.useCallback(()=>{k(F=>({...F,isMounted:!1}))},[]),E=r.aX(),N=r.cX(),L=r.dX(),H=l.useRef(new Set),_=l.useMemo(()=>{const F=(S,M)=>{if(M?.onceKey){if(H.current.has(M.onceKey))return;const D=new Set(H.current);D.add(M.onceKey),H.current=D}const I={variant:M?.type??r._l.Info,anchorOrigin:{vertical:"top",horizontal:"center"},preventDuplicate:M?.preventDuplicate,persist:M?.persist??M?.type===r._l.Error,action:D=>m.jsx(r.IconButton,{onClick:()=>b(D),children:m.jsx($t,{})})};M?.enqueueProps&&Object.assign(I,M.enqueueProps),S||console.log("message is 'null'",M),y(S??"Alert",I)};return{showMessage:F,showBusy:(S,M)=>{let I=null;const D=new Promise(X=>{I=X});return k(X=>{const B=new Map(X.starting);return B.set(D,I),{...X,label:S,starting:B}}),D},showWindow:(S,M,I)=>{const D={...M,onKeyDown:X=>{p?.dispatchToFocusedCommand(X),X.isDefaultPrevented()||X.isPropagationStopped()||M?.onKeyDown?.(X)}};return E(S,{sort:()=>Promise.resolve().then(()=>require("./B_5ro-VEKfZDMSn_.cjs")),numberFormat:()=>Promise.resolve().then(()=>require("./BarieqwSecnaFn0d.cjs")),hyperlink:()=>Promise.resolve().then(()=>require("./DfNbgyjaLMn81dqP.cjs")),comments:()=>Promise.resolve().then(()=>require("./Bl6FyLoMkFiQqhvc.cjs")),find:()=>Promise.resolve().then(()=>require("./BxBOlXY9P3Ymi6oT.cjs")),tableDetails:()=>Promise.resolve().then(()=>require("./5KDindu3wyLVvG7F.cjs")),tableNew:()=>Promise.resolve().then(()=>require("./CUw8AoM-rVbp1W3s.cjs")),namedDetails:()=>Promise.resolve().then(()=>require("./DP8biA0GQqyPKLyq.cjs"))}[S],D,I)},showOptions:N,showInputOptions:L,showError:S=>{let M,I=r._l.Error,D="Unknown Error";typeof S=="string"?D=S:S instanceof Error&&(M=S,S.message&&(D=S.message)),S instanceof r.CA&&(I=r._l.Info),F(D,{type:I,enqueueProps:{error:M}})}}},[]),P=l.useCallback(()=>{},[]),z=(F=>{const{workbook:S,setWorkbook:M,importExportDisabled:I,workbookTitle:D="export",setWorkbookTitle:X,notifier:B,requestWorkbookTitle:Q,themeModeOptions:q,undoManager:j,commands:W,onExecute:V}=F,J=r.Te(q?.onForceModeChange,[q?.onForceModeChange]),ae=r.Te(q?.onForceLightGridChange,[q?.onForceLightGridChange]),ne=r.Te(q?.onForceLightImagesChange,[q?.onForceLightImagesChange]),Ae=r.Te(async(R=null,Z=null)=>{const g=[];let C,K=null,ee=null;if(typeof R=="string"?ee=R:K=R,C=K?R:await r.dn.openFileDialog(ee??r.xX.getAllReadFormatTypeAsString().join(",")),!C)return null;const se={source:C,constructorOptions:Z,onWarning:He=>{g.push(He)}},be=await r.xX.read(se,B);return g.length>0&&(B?.showMessage?.("Some elements were not able to be imported. See console for details."),console.warn(`Import warnings:
|
|
14
|
+
13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z`}))},null),info:l.createElement(function(){return l.createElement(Te,null,l.createElement("path",{d:`M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,
|
|
15
|
+
0 22,12A10,10 0 0,0 12,2Z`}))},null)},anchorOrigin:{vertical:"bottom",horizontal:"left"},TransitionComponent:wt,transitionDuration:{enter:225,exit:195}};function Se(e){return Object.entries(e).reduce(function(o,i){var t,n=i[0],a=i[1];return O({},o,((t={})[n]=$e(a),t))},{})}var vt="notistack-CollapseWrapper",en=function(e){return"notistack-MuiContent-"+e},lt=Se({root:{height:0},entered:{height:"auto"}}),Be="0px",Et=l.forwardRef(function(e,o){var i=e.children,t=e.in,n=e.onExited,a=l.useRef(null),s=l.useRef(null),u=Ge(o,s),c=function(){return a.current?a.current.clientHeight:0};return l.createElement(Ye,{in:t,unmountOnExit:!0,onEnter:function(d){d.style.height=Be},onEntered:function(d){d.style.height="auto"},onEntering:function(d){var p=c(),f=Ne({timeout:175,mode:"enter"}),x=f.duration,v=f.easing;d.style.transitionDuration=typeof x=="string"?x:x+"ms",d.style.height=p+"px",d.style.transitionTimingFunction=v||""},onExit:function(d){d.style.height=c()+"px"},onExited:n,onExiting:function(d){xt(d);var p=Ne({timeout:175,mode:"exit"}),f=p.duration,x=p.easing;d.style.transitionDuration=typeof f=="string"?f:f+"ms",d.style.height=Be,d.style.transitionTimingFunction=x||""},nodeRef:s,timeout:175},function(d,p){return l.createElement("div",Object.assign({ref:u,className:ie(lt.root,d==="entered"&<.entered),style:O({pointerEvents:"all",overflow:"hidden",minHeight:Be,transition:he("height")},d==="entered"&&{overflow:"visible"},{},d==="exited"&&!t&&{visibility:"hidden"})},p),l.createElement("div",{ref:a,className:vt,style:{display:"flex",width:"100%"}},i))})});Et.displayName="Collapse";var ct={right:"left",left:"right",bottom:"up",top:"down"},tn=function(e){return"anchorOrigin"+Ze(e)},nn=function(){};function Ee(e,o){return e.reduce(function(i,t){return t==null?i:function(){for(var n=arguments.length,a=new Array(n),s=0;s<n;s++)a[s]=arguments[s];var u=[].concat(a);o&&u.indexOf(o)===-1&&u.push(o),i.apply(this,u),t.apply(this,u)}},nn)}var on=typeof window<"u"?l.useLayoutEffect:l.useEffect;function ut(e){var o=l.useRef(e);return on(function(){o.current=e}),l.useCallback(function(){return o.current.apply(void 0,arguments)},[])}var _e,Ct=l.forwardRef(function(e,o){var i=e.children,t=e.className,n=e.autoHideDuration,a=e.disableWindowBlurListener,s=a!==void 0&&a,u=e.onClose,c=e.id,d=e.open,p=e.SnackbarProps,f=p===void 0?{}:p,x=l.useRef(),v=ut(function(){u&&u.apply(void 0,arguments)}),y=ut(function(b){u&&b!=null&&(x.current&&clearTimeout(x.current),x.current=setTimeout(function(){v(null,"timeout",c)},b))});l.useEffect(function(){return d&&y(n),function(){x.current&&clearTimeout(x.current)}},[d,n,y]);var k=function(){x.current&&clearTimeout(x.current)},w=l.useCallback(function(){n!=null&&y(.5*n)},[n,y]);return l.useEffect(function(){if(!s&&d)return window.addEventListener("focus",w),window.addEventListener("blur",k),function(){window.removeEventListener("focus",w),window.removeEventListener("blur",k)}},[s,w,d]),l.createElement("div",Object.assign({ref:o},f,{className:ie("notistack-Snackbar",t),onMouseEnter:function(b){f.onMouseEnter&&f.onMouseEnter(b),k()},onMouseLeave:function(b){f.onMouseLeave&&f.onMouseLeave(b),w()}}),i)});Ct.displayName="Snackbar";var rn=Se({root:(_e={display:"flex",flexWrap:"wrap",flexGrow:1},_e[Pe]={flexGrow:"initial",minWidth:"288px"},_e)}),Qe=l.forwardRef(function(e,o){var i=e.className,t=Ce(e,["className"]);return l.createElement("div",Object.assign({ref:o,className:ie(rn.root,i)},t))});Qe.displayName="SnackbarContent";var ye=Se({root:{backgroundColor:"#313131",fontSize:"0.875rem",lineHeight:1.43,letterSpacing:"0.01071em",color:"#fff",alignItems:"center",padding:"6px 16px",borderRadius:"4px",boxShadow:"0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12)"},lessPadding:{paddingLeft:"20px"},default:{backgroundColor:"#313131"},success:{backgroundColor:"#43a047"},error:{backgroundColor:"#d32f2f"},warning:{backgroundColor:"#ff9800"},info:{backgroundColor:"#2196f3"},message:{display:"flex",alignItems:"center",padding:"8px 0"},action:{display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:"16px",marginRight:"-8px"}}),dt="notistack-snackbar",St=l.forwardRef(function(e,o){var i=e.id,t=e.message,n=e.action,a=e.iconVariant,s=e.variant,u=e.hideIconVariant,c=e.style,d=e.className,p=a[s],f=n;return typeof f=="function"&&(f=f(i)),l.createElement(Qe,{ref:o,role:"alert","aria-describedby":dt,style:c,className:ie("notistack-MuiContent",en(s),ye.root,ye[s],d,!u&&p&&ye.lessPadding)},l.createElement("div",{id:dt,className:ye.message},u?null:p,t),f&&l.createElement("div",{className:ye.action},f))});St.displayName="MaterialDesignContent";var we,Xe,De,Oe,Ve,an=l.memo(St),sn=Se({wrappedRoot:{width:"100%",position:"relative",transform:"translateX(0)",top:0,right:0,bottom:0,left:0,minWidth:"288px"}}),ln=function(e){var o=l.useRef(),i=l.useState(!0),t=i[0],n=i[1],a=Ee([e.snack.onClose,e.onClose]),s=l.useCallback(function(){o.current=setTimeout(function(){n(function(_){return!_})},125)},[]);l.useEffect(function(){return function(){o.current&&clearTimeout(o.current)}},[]);var u,c=e.snack,d=e.classes,p=e.Component,f=p===void 0?an:p,x=l.useMemo(function(){return function(_){_===void 0&&(_={});var P={containerRoot:!0,containerAnchorOriginTopCenter:!0,containerAnchorOriginBottomCenter:!0,containerAnchorOriginTopRight:!0,containerAnchorOriginBottomRight:!0,containerAnchorOriginTopLeft:!0,containerAnchorOriginBottomLeft:!0};return Object.keys(_).filter(function(z){return!P[z]}).reduce(function(z,$){var Y;return O({},z,((Y={})[$]=_[$],Y))},{})}(d)},[d]),v=c.open,y=c.SnackbarProps,k=c.TransitionComponent,w=c.TransitionProps,b=c.transitionDuration,h=c.disableWindowBlurListener,M=c.content,E=Ce(c,["open","SnackbarProps","TransitionComponent","TransitionProps","transitionDuration","disableWindowBlurListener","content","entered","requestClose","onEnter","onEntered","onExit","onExited"]),N=O({direction:(u=E.anchorOrigin,u.horizontal!=="center"?ct[u.horizontal]:ct[u.vertical]),timeout:b},w),T=M;typeof T=="function"&&(T=T(E.id,E.message));var H=["onEnter","onEntered","onExit","onExited"].reduce(function(_,P){var z;return O({},_,((z={})[P]=Ee([e.snack[P],e[P]],E.id),z))},{});return l.createElement(Et,{in:t,onExited:H.onExited},l.createElement(Ct,{open:v,id:E.id,disableWindowBlurListener:h,autoHideDuration:E.autoHideDuration,className:ie(sn.wrappedRoot,x.root,x[tn(E.anchorOrigin)]),SnackbarProps:y,onClose:a},l.createElement(k,Object.assign({},N,{appear:!0,in:v,onExit:H.onExit,onExited:s,onEnter:H.onEnter,onEntered:Ee([H.onEntered,function(){e.snack.requestClose&&a(null,"instructed",e.snack.id)}],E.id)}),T||l.createElement(f,Object.assign({},E)))))},ve=20,Ke=6,cn=2,pt="."+vt,We=Se({root:(we={boxSizing:"border-box",display:"flex",maxHeight:"100%",position:"fixed",zIndex:1400,height:"auto",width:"auto",transition:he(["top","right","bottom","left","max-width"],{duration:300,easing:"ease"}),pointerEvents:"none"},we[pt]={padding:Ke+"px 0px",transition:"padding 300ms ease 0ms"},we.maxWidth="calc(100% - "+2*ve+"px)",we[ze]={width:"100%",maxWidth:"calc(100% - 32px)"},we),rootDense:(Xe={},Xe[pt]={padding:cn+"px 0px"},Xe),top:{top:ve-Ke+"px",flexDirection:"column"},bottom:{bottom:ve-Ke+"px",flexDirection:"column-reverse"},left:(De={left:ve+"px"},De[Pe]={alignItems:"flex-start"},De[ze]={left:"16px"},De),right:(Oe={right:ve+"px"},Oe[Pe]={alignItems:"flex-end"},Oe[ze]={right:"16px"},Oe),center:(Ve={left:"50%",transform:"translateX(-50%)"},Ve[Pe]={alignItems:"center"},Ve)}),un=l.memo(function(e){var o=e.classes,i=o===void 0?{}:o,t=e.anchorOrigin,n=e.dense,a=e.children,s=ie("notistack-SnackbarContainer",We[t.vertical],We[t.horizontal],We.root,i.containerRoot,i["containerAnchorOrigin"+Ze(t)],n&&We.rootDense);return l.createElement("div",{className:s},a)}),mt=function(e){return!(typeof e=="string"||l.isValidElement(e))},dn=function(e){function o(i){var t;return(t=e.call(this,i)||this).enqueueSnackbar=function(n,a){if(a===void 0&&(a={}),n==null)throw new Error("enqueueSnackbar called with invalid argument");var s=mt(n)?n:a,u=mt(n)?n.message:n,c=s.key,d=s.preventDuplicate,p=Ce(s,["key","preventDuplicate"]),f=je(c),x=f?c:new Date().getTime()+Math.random(),v=function(k,w){return function(b,h){return h===void 0&&(h=!1),h?O({},ce[b],{},w[b],{},k[b]):b==="autoHideDuration"?(T=k.autoHideDuration,H=w.autoHideDuration,(_=function(P){return typeof P=="number"||P===null})(T)?T:_(H)?H:ce.autoHideDuration):b==="transitionDuration"?(M=k.transitionDuration,E=w.transitionDuration,(N=function(P,z){return z.some(function($){return typeof P===$})})(M,["string","number"])?M:N(M,["object"])?O({},ce.transitionDuration,{},N(E,["object"])&&E,{},M):N(E,["string","number"])?E:N(E,["object"])?O({},ce.transitionDuration,{},E):ce.transitionDuration):k[b]||w[b]||ce[b];var M,E,N,T,H,_}}(p,t.props),y=O({id:x},p,{message:u,open:!0,entered:!1,requestClose:!1,persist:v("persist"),action:v("action"),content:v("content"),variant:v("variant"),anchorOrigin:v("anchorOrigin"),disableWindowBlurListener:v("disableWindowBlurListener"),autoHideDuration:v("autoHideDuration"),hideIconVariant:v("hideIconVariant"),TransitionComponent:v("TransitionComponent"),transitionDuration:v("transitionDuration"),TransitionProps:v("TransitionProps",!0),iconVariant:v("iconVariant",!0),style:v("style",!0),SnackbarProps:v("SnackbarProps",!0),className:ie(t.props.className,p.className)});return y.persist&&(y.autoHideDuration=void 0),t.setState(function(k){if(d===void 0&&t.props.preventDuplicate||d){var w=function(M){return f?M.id===x:M.message===u},b=k.queue.findIndex(w)>-1,h=k.snacks.findIndex(w)>-1;if(b||h)return k}return t.handleDisplaySnack(O({},k,{queue:[].concat(k.queue,[y])}))}),x},t.handleDisplaySnack=function(n){return n.snacks.length>=t.maxSnack?t.handleDismissOldest(n):t.processQueue(n)},t.processQueue=function(n){var a=n.queue,s=n.snacks;return a.length>0?O({},n,{snacks:[].concat(s,[a[0]]),queue:a.slice(1,a.length)}):n},t.handleDismissOldest=function(n){if(n.snacks.some(function(c){return!c.open||c.requestClose}))return n;var a=!1,s=!1;n.snacks.reduce(function(c,d){return c+(d.open&&d.persist?1:0)},0)===t.maxSnack&&(s=!0);var u=n.snacks.map(function(c){return a||c.persist&&!s?O({},c):(a=!0,c.entered?(c.onClose&&c.onClose(null,"maxsnack",c.id),t.props.onClose&&t.props.onClose(null,"maxsnack",c.id),O({},c,{open:!1})):O({},c,{requestClose:!0}))});return O({},n,{snacks:u})},t.handleEnteredSnack=function(n,a,s){if(!je(s))throw new Error("handleEnteredSnack Cannot be called with undefined key");t.setState(function(u){return{snacks:u.snacks.map(function(c){return c.id===s?O({},c,{entered:!0}):O({},c)})}})},t.handleCloseSnack=function(n,a,s){t.props.onClose&&t.props.onClose(n,a,s);var u=s===void 0;t.setState(function(c){var d=c.snacks,p=c.queue;return{snacks:d.map(function(f){return u||f.id===s?f.entered?O({},f,{open:!1}):O({},f,{requestClose:!0}):O({},f)}),queue:p.filter(function(f){return f.id!==s})}})},t.closeSnackbar=function(n){var a=t.state.snacks.find(function(s){return s.id===n});je(n)&&a&&a.onClose&&a.onClose(null,"instructed",n),t.handleCloseSnack(null,"instructed",n)},t.handleExitedSnack=function(n,a){if(!je(a))throw new Error("handleExitedSnack Cannot be called with undefined key");t.setState(function(s){var u=t.processQueue(O({},s,{snacks:s.snacks.filter(function(c){return c.id!==a})}));return u.queue.length===0?u:t.handleDismissOldest(u)})},t.enqueueSnackbar,t.closeSnackbar,t.state={snacks:[],queue:[],contextValue:{enqueueSnackbar:t.enqueueSnackbar.bind(nt(t)),closeSnackbar:t.closeSnackbar.bind(nt(t))}},t}return bt(o,e),o.prototype.render=function(){var i=this,t=this.state.contextValue,n=this.props,a=n.domRoot,s=n.children,u=n.dense,c=u!==void 0&&u,d=n.Components,p=d===void 0?{}:d,f=n.classes,x=this.state.snacks.reduce(function(y,k){var w,b=Ze(k.anchorOrigin),h=y[b]||[];return O({},y,((w={})[b]=[].concat(h,[k]),w))},{}),v=Object.keys(x).map(function(y){var k=x[y],w=k[0];return l.createElement(un,{key:y,dense:c,anchorOrigin:w.anchorOrigin,classes:f},k.map(function(b){return l.createElement(ln,{key:b.id,snack:b,classes:f,Component:p[b.variant],onClose:i.handleCloseSnack,onEnter:i.props.onEnter,onExit:i.props.onExit,onExited:Ee([i.handleExitedSnack,i.props.onExited],b.id),onEntered:Ee([i.handleEnteredSnack,i.props.onEntered],b.id)})}))});return l.createElement(kt.Provider,{value:t},s,a?Wt.createPortal(v,a):v)},gt(o,[{key:"maxSnack",get:function(){return this.props.maxSnack||ce.maxSnack}}]),o}(l.Component),jt=function(){return l.useContext(kt)};const re={card:"_card_r6a8n_13",actionRoot:"_actionRoot_r6a8n_21",icons:"_icons_r6a8n_31",expand:"_expand_r6a8n_43",expandOpen:"_expandOpen_r6a8n_57",stackTraceContainer:"_stackTraceContainer_r6a8n_65"},Lt=l.forwardRef((e,o)=>{const{id:i,message:t,iconVariant:n,error:a,hideIconVariant:s,...u}=e,{closeSnackbar:c}=jt(),d=r.Js(),[p,f]=l.useState(!1),x=l.useCallback(()=>{f(k=>!k)},[]),v=l.useCallback(()=>{c(i)},[i,c]),y=a?.message||String(t);return m.jsx(Qe,{ref:o,className:r.jo(re.root,"error-snackbar"),children:m.jsxs(qt,{className:re.card,style:{backgroundColor:d.palette.error.dark,border:`1px solid ${d.palette.error.dark}`},children:[m.jsxs(_t,{className:re.actionRoot,children:[s?null:n?.error,m.jsx(r.Typography,{variant:"body2",component:"div",className:re.typography,style:{color:d.palette.text.primary},children:y}),m.jsx("div",{style:{flex:"1 1 auto"}}),m.jsxs("div",{className:re.icons,children:[a?m.jsx(r.IconButton,{"aria-label":"Show more",size:"small",className:r.jo(re.expand,{[re.expandOpen]:p}),style:{color:d.palette.action.active},onClick:x,children:m.jsx(r.Xn,{})}):null,m.jsx(r.IconButton,{size:"small",className:re.expand,style:{color:d.palette.action.active},onClick:v,children:m.jsx(r.vo,{fontSize:"small"})})]})]}),a?m.jsx(Fe,{in:p,timeout:"auto",unmountOnExit:!0,children:m.jsx("div",{className:re.stackTraceContainer,style:{backgroundColor:d.palette.error.light,borderTop:`1px solid ${d.palette.error.main}`},children:m.jsx(r.nk,{error:a,hideLineNumbers:!0})})}):null]})})});Lt.displayName="ToastError";const Mt=l.memo(l.forwardRef((e,o)=>{const{commands:i,commandHook:t,scope:n="workbook",disabled:a=!1,...s}=e,u=r.Te(d=>{const p={variant:r.pn.Menuitem,parentFloat:d.floatReference,commandHook:t,scope:n,disabled:a},f=m.jsxs(m.Fragment,{children:[m.jsx(r.qe,{...p,command:i.getCommand("newWorkbook"),icon:r.Le(m.jsx(r.qK,{}))}),m.jsx(r.Qt,{orientation:"horizontal"}),m.jsx(r.qe,{...p,command:i.getCommand("openWorkbook"),icon:r.Le(m.jsx(r.KK,{}))}),m.jsx(r.uo,{...p,commands:i,quickCommand:"saveWorkbook",icon:r.Le(m.jsx(r.XK,{})),createPopupPanel:x=>{const v={...p,parentFloat:x.floatReference,scope:"saveWorkbook"},y=[];return r.xX.getWriteFormats().forEach(k=>{if(k.isDefault)return;let w=null;k.key==="CSV"?w=r.Le(m.jsx(r.YK,{})):k.key==="Excel"&&(w=r.Le(m.jsx(r.ZK,{})));const b=i.getCommand(`saveWorkbookAs${k.key}`);b?y.push(l.createElement(r.qe,{...v,key:k.key,command:b,icon:w})):console.warn(`Unable to resolve command: 'saveWorkbookAs${k.key}'`)}),r.Zn({...x,children:y,onClick:()=>{x.closeFloatAll()}})}})]});return r.Zn({...d,children:f,onClick:x=>{x.isDefaultPrevented||d.closeFloatAll()}})},[a,i,t,n]),c="File";return m.jsx(r.uo,{commands:i,disabled:a,commandHook:t,scope:n,label:c,tooltip:"Options for saving and loading the workbook.",sx:{paddingBottom:"0px","& button":{paddingTop:"0px",paddingBottom:"0px",height:d=>`calc(1.25rem + ${d.spacing(2)}px)`}},...s,createPopupPanel:u,icon:m.jsx(r.iu,{className:"label",icon:null,label:c})})}));Mt.displayName="StandaloneFileCommandButton";const pn=m.jsx(r.ni,{label:"SheetXL",description:"Visit me at sheetxl.com.",children:m.jsx(r.Box,{sx:{width:"24px",height:"24px",marginBottom:"4px",marginLeft:"6px"},children:m.jsx(r.gX,{onClick:()=>{window?.open("https://www.sheetxl.com","_blank")},style:{width:"24px",height:"24px",cursor:"pointer"}})})}),Tt=l.memo(l.forwardRef((e,o)=>{const{commands:i,workbook:t,logo:n=pn,mainElement:a,showFileMenu:s=!0,showAppearanceMenu:u=!0,...c}=e,{reference:d}=r.El(),[p,{width:f}]=r.eg(),x=f<530,v=s?m.jsx(Mt,{commands:i,commandHook:{beforeExecute(){d?.closeAll()},onError(b,h,M){}}}):null,y=u?m.jsx(r.yX,{commands:i,commandHook:{beforeExecute(){d?.closeAll()},onError(b,h,M){}}}):null,k=l.useMemo(()=>({paddingLeft:b=>b.spacing(1),paddingRight:b=>b.spacing(1)}),[]),w=l.useRef(null);return m.jsx(r.Box,{ref:r.F6([w,p,o]),...c,children:r.iK({commands:i,renderCompact:x,workbook:t,selectWrapper:b=>m.jsxs(r.Box,{sx:{display:"flex",flex:"1",flexDirection:"row",alignItems:"stretch",gap:h=>h.spacing(1),paddingLeft:h=>h.spacing(1),paddingRight:h=>h.spacing(1)},children:[m.jsxs(r.Box,{sx:{display:"flex",flexDirection:"row",alignItems:"center",flex:"1 1 100%",gap:h=>h.spacing(.5)},children:[n,m.jsxs(r.Box,{sx:{display:"flex",flexDirection:"row",alignItems:"center",gap:h=>h.spacing(.25)},children:[v,b]})]}),m.jsx(r.Box,{sx:{display:"flex",flexDirection:"row",flex:"1 1 300%",overflow:"hidden",alignItems:"center",justifyContent:"center"},children:a}),m.jsx(r.Box,{sx:{display:"flex",alignItems:"center",justifyContent:"end",flex:x&&!y?"0 0 auto":"1 1 100%"},children:y})]}),selectProps:k,toolbarsProps:{Home:{sx:{}}}})})}));Tt.displayName="StandaloneWorkbookToolbar";const Dt=l.memo(l.forwardRef((e,o)=>{const{workbook:i,setWorkbook:t,refWorkbookTitle:n,titleWorkbook:a,setWorkbookTitle:s,titlePlaceHolder:u,children:c,undoManager:d,commands:p,importExportDisabled:f,themeModeOptions:x}=e,v=jt(),y=v?v.enqueueSnackbar:()=>{},k=v?v.closeSnackbar:()=>{},[w,b]=l.useState({isMounted:!1,label:null,starting:new Map,running:new Map}),h=l.useCallback(()=>{b(F=>({...F,isMounted:!0}))},[]),M=l.useCallback(()=>{b(F=>({...F,isMounted:!1}))},[]),E=r.aX(),N=r.cX(),T=r.dX(),H=l.useRef(new Set),_=l.useMemo(()=>{const F=(S,L)=>{if(L?.onceKey){if(H.current.has(L.onceKey))return;const D=new Set(H.current);D.add(L.onceKey),H.current=D}const A={variant:L?.type??r._l.Info,anchorOrigin:{vertical:"top",horizontal:"center"},preventDuplicate:L?.preventDuplicate,persist:L?.persist??L?.type===r._l.Error,action:D=>m.jsx(r.IconButton,{onClick:()=>k(D),children:m.jsx($t,{})})};L?.enqueueProps&&Object.assign(A,L.enqueueProps),S||console.log("message is 'null'",L),y(S??"Alert",A)};return{showMessage:F,showBusy:(S,L)=>{let A=null;const D=new Promise(X=>{A=X});return b(X=>{const B=new Map(X.starting);return B.set(D,A),{...X,label:S,starting:B}}),D},showWindow:(S,L,A)=>{const D={...L,onKeyDown:X=>{p?.dispatchToFocusedCommand(X),X.isDefaultPrevented()||X.isPropagationStopped()||L?.onKeyDown?.(X)}};return E(S,{sort:()=>Promise.resolve().then(()=>require("./CuhJX_xGez7yc6zi.cjs")),numberFormat:()=>Promise.resolve().then(()=>require("./CvhmZqLTDmkFauCs.cjs")),hyperlink:()=>Promise.resolve().then(()=>require("./km4BoFU87-pNNG5J.cjs")),comments:()=>Promise.resolve().then(()=>require("./20oq16RduoK6IuCZ.cjs")),find:()=>Promise.resolve().then(()=>require("./aWHOn3DaVbuU-ftK.cjs")),tableDetails:()=>Promise.resolve().then(()=>require("./HL5BOFnf4XtzdqsS.cjs")),tableNew:()=>Promise.resolve().then(()=>require("./C0KkDFATEXukfl0j.cjs")),namedDetails:()=>Promise.resolve().then(()=>require("./B5cV1UMP1UkKFRbL.cjs"))}[S],D,A)},showOptions:N,showInputOptions:T,showError:S=>{let L,A=r._l.Error,D="Unknown Error";typeof S=="string"?D=S:S instanceof Error&&(L=S,S.message&&(D=S.message)),S instanceof r.CA&&(A=r._l.Info),F(D,{type:A,enqueueProps:{error:L}})}}},[]),P=l.useCallback(()=>{},[]),z=(F=>{const{workbook:S,setWorkbook:L,importExportDisabled:A,workbookTitle:D="export",setWorkbookTitle:X,notifier:B,requestWorkbookTitle:Q,themeModeOptions:q,undoManager:j,commands:W,onExecute:V}=F,J=r.Te(q?.onForceModeChange,[q?.onForceModeChange]),ae=r.Te(q?.onForceLightGridChange,[q?.onForceLightGridChange]),ne=r.Te(q?.onForceLightImagesChange,[q?.onForceLightImagesChange]),Ie=r.Te(async(R=null,Z=null)=>{const g=[];let C,K=null,ee=null;if(typeof R=="string"?ee=R:K=R,C=K?R:await r.dn.openFileDialog(ee??r.xX.getAllReadFormatTypeAsString().join(",")),!C)return null;const se={source:C,constructorOptions:Z,onWarning:He=>{g.push(He)}},ke=await r.xX.read(se,B);return g.length>0&&(B?.showMessage?.("Some elements were not able to be imported. See console for details."),console.warn(`Import warnings:
|
|
16
16
|
`+g.join(`
|
|
17
|
-
`))),be},[V,B,S]),ge=r.Te(async(R,Z,g)=>{if(!Z&&Q){const C=await Q("Enter Workbook name to "+(g.isDefault?"Save.":`Export as ${g.description}.`));return C!==null&&r.xX.writeFile(C,R,{formatType:g.key})}return r.xX.writeFile(Z,R,{formatType:g.key})},[B,S,Q]),U=l.useCallback(()=>({contains:R=>!0,focus(){}}),[]),le=l.useMemo(()=>{const R=[];I||(r.xX.getWriteFormats().forEach(g=>{const C=g.isDefault,K={label:C?"Save Workbook":`Save Workbook as ${g.description}`,scopedLabels:{workbook:"Save",saveWorkbook:`as ${g.description}`},tags:g.tags,description:`Save the workbook to the desktop${C?"":` as ${g.description}`}.`};C&&(K.shortcut={key:"S",modifiers:[r.He.Ctrl]},R.push(new r.We("saveWorkbookAs",U,{label:"Save Workbook As…",scopedLabels:{workbook:"Save as…",saveWorkbook:"as…"},shortcut:[{key:"S",modifiers:[r.He.Shift,r.He.Ctrl]},{key:"F12"}],description:"Save the workbook to the desktop with the provided name."},()=>{ge(S,null,g).catch(se=>{B?.showError?.(se)})})));const ee=C?"saveWorkbook":`saveWorkbookAs${g.key}`;R.push(new r.We(ee,U,K,se=>{ge(S,se??D,g).catch(be=>{B?.showError?.(be)})}))}),R.push(new r.We("openWorkbook",U,{label:"Open Workbook…",scopedLabels:{workbook:"Open…"},description:"Open a workbook from the desktop.",shortcut:{key:"O",modifiers:[r.He.Ctrl]}},async(g=null)=>{const C={date1904:S.isDate1904(),...S.options};try{const K=await Ae(g,C);if(!K)return;const ee=K.title,se=K.workbook,be=se.getSelectedSheet();if(K.formatType.mimeType==="text/csv"){const He=S.findValidSheetName(ee);await S.doBatch(async()=>{const Je=be.getUsedRange();Je?await S.getSheets().add({name:He,autoSelect:!0}).getRange({colStart:0,rowStart:0,colEnd:0,rowEnd:0}).copyFrom(Je):B?.showMessage("The file appears to be blank.")},`Import CSV '${ee}'`)}else S?.close(),X?.(ee),M(se)}catch(K){B?.showError?.(K)}})),R.push(new r.We("openWorkbookFromUrl",U,{label:"Open Workbook From Web",scopedLabels:{insert:"From Web",workbook:"From Web…"},description:"Open a workbook from the web."},async function(g){if(!g){const C=await B?.showInputOptions?.({title:"Open Workbook from the Web",description:"Enter the web address for the workbook to open.",inputLabel:"Address",initialValue:"https://www.sheetxl.com/examples/features-checklist.xlsx",inputProps:{style:{minWidth:"440px"}},options:["Open"]});if(C.option!=="Open")return;g=C.input}g&&console.log("openWorkbookFromUrl",g)})));let Z=[];return q&&(Z=[new r.We("themeMode",U,{label:"Light/Dark Mode",scopedLabels:{appearance:"Light/Dark Mode"},description:"Toggle the application styling between light and dark mode."}),new r.We("defaultThemeMode",U,{label:"Use System Light/Dark Mode",scopedLabels:{appearance:"Use System Default"},description:"Use the system settings to determine styling for light and dark mode."}),new r.We("forceLightGrid",U,{label:"Force Light Grid",description:"Force the grid to always render in light mode if dark mode is being used. This is ensures that the grid will render the colors as specified in another tools (for example Excel)."}),new r.We("forceLightImages",U,{label:"Force Light Images",description:"Force the images to always render in light mode if dark mode is being used. This is ensures that the images will render the colors as specified in another tools (for example Excel). This only has any effect if the grid is in dark mode."})]),[...R,...Z,new r.Bt("help",U,{label:"Show Help",description:"Provide Help.",shortcut:{key:"F1"}},()=>{}),new r.Bt("showKeyboardShortcuts",U,{label:"Keyboard Shortcuts",description:"Show keyboard shortcuts.",shortcut:{key:"/",modifiers:[r.He.Ctrl]}},()=>{}),new r.We("gotoUrlGithub",U,{label:"Github",description:"Download examples, explore source code, and leave a star."},()=>{window?.open("https://github.com/sheetxl/sheetxl")}),new r.We("gotoUrlDiscord",U,{label:"Discord",description:"Join our community on discord."},()=>{window?.open("https://discord.gg/NTKdwUgK9p")}),new r.We("gotoUrlDocumentation",U,{label:"Documentation",description:"Read the documentation."},()=>{window?.open("https://www.sheetxl.com/docs")}),new r.We("gotoUrlIssue",U,{label:"Create Issue",description:"Create an issue to identify a bug or a feature request."},()=>{window?.open("https://github.com/sheetxl/sheetxl/issues")})]},[S,D,B,I,q,W,j]),G=l.useMemo(()=>{let R=null;return R=W?W.createChildGroup(U,"standaloneWorkbook",!1):new r.Ru(U,"standaloneWorkbook"),R.addCommands(le,!0),R},[W,le]);r.GK({manager:j,commands:G,notifier:B});const{themeMode:ke}=r.vX();l.useEffect(()=>{if(!q||!G)return;const R=q.forceMode==="dark"||!q.forceMode&&ke==="dark";G.getCommand("themeMode").update({state:q.forceMode??null,label:R?"Dark Mode":"Light Mode",scopedLabels:{appearance:R?"Dark Mode":"Light Mode"}}).updateCallback(()=>{J(R?r.bX.Light:r.bX.Dark)}),G.getCommand("defaultThemeMode").update({state:!q.forceMode}).updateCallback(()=>{J(null)}),G.getCommand("forceLightGrid").update({state:q.forceLightGrid}).updateCallback(()=>{ae(!q.forceLightGrid)}),G.getCommand("forceLightImages").update({state:q.forceLightImages}).updateCallback(()=>{ne(!q.forceLightImages)})},[ke,q,le]);const{showModal:Ie}=r.c6();return l.useEffect(()=>{const R=()=>new Promise((Z,g)=>{const C=l.lazy(()=>Promise.resolve().then(()=>require("./Dix4vuDuOzj4WGCJ.cjs"))),K=Ie(C,{title:"Shortcut Keys Reference",commands:G,onDone:()=>{K.hide()},TransitionProps:{onExited:()=>{Z(!0)}}})});G.getCommand("showKeyboardShortcuts").updateCallback(()=>R()),G.getCommand("help").updateCallback(()=>R())},[le,G]),G})({workbook:i,setWorkbook:t,importExportDisabled:f,workbookTitle:a,setWorkbookTitle:s,commands:p,requestWorkbookTitle:F=>new Promise(S=>{n.current?n.current.requestWorkbookTitle((M,I)=>{S(M)},{selectAll:!0,requestReason:F}):S(u)}),themeModeOptions:x,undoManager:d,notifier:_,onExecute:P});l.useEffect(()=>{w.starting.size<=0||!w.isMounted||k(F=>{const S=new Map(F.running);return F.starting.forEach((M,I)=>{const D=()=>{k(X=>{const B=new Map(X.running);return B.delete(I),{...X,running:B}})};S.set(I,D),M(D)}),{...F,starting:new Map,running:S}})},[w]);const[$,Y]=l.useState(null);l.useEffect(()=>{w.starting.size!==0||w.running.size!==0?Y(m.jsx(r.Nu,{icon:m.jsx(r.iX,{sx:{transform:"scale(0.7)",marginLeft:"-6px"}}),panel:!0,label:w.label,onMount:h,onUnmount:T,sx:{position:"absolute",left:"0",top:"0",width:"100%",height:"100%",zIndex:"9999"}})):Y(null)},[w.starting,w.running]);const A=l.useMemo(()=>m.jsx(r.wX,{commands:z,disableHover:!0,sx:{padding:"0"},buttonProps:{sx:{maxHeight:"22px"}}}),[z]),te={notifier:_,commands:z};return i&&(te.statusBarProps={childrenEnd:A}),m.jsxs(m.Fragment,{children:[$,c?l.cloneElement(c,te):null]})}));Dt.displayName="SnackbarAndCommandsWrapper";const Ot=l.memo(l.forwardRef((e,o)=>{const{className:i,sx:t,style:n,onElementLoad:a,onError:s,undoManager:u,errorPanel:c=r.YV,onKeyDown:d,workbook:p,createWorkbookOptions:f,onWorkbookChange:x,logo:v,importExportDisabled:y=!1,themeModeOptions:b,autoFocus:w=!1,commands:k,title:h,onTitleChange:T,titleProps:E,...N}=e,L=l.useRef(null),H=r.Te(x,[x]),_=r.Te(T??E?.onTitleChange,[T??E?.onTitleChange]),P=E?.placeHolder??"Untitled",z=b?.forceMode,{themeMode:$,source:Y}=r.vX({mode:z}),A=l.useMemo(()=>({...b,light:r.sX(!1,r.re.deepMerge(b?.theme??{},b?.light??{})),dark:r.sX(!0,r.re.deepMerge(b?.theme??{},b?.dark??{}))}),[b]),te=$===r.bX.Dark,[F,S]=l.useState(null);l.useEffect(()=>{S(u??new r.WK)},[u]);const[M,I]=l.useState(null),[D,X]=l.useState(null),B=r.SR();l.useLayoutEffect(()=>{if(!p||Object.keys(p).length===0&&!r.re.isPromiseLike(p)){const g={theme:B.getDefaultTheme(),...f};X(new r.bL(g))}else X(p)},[p]),l.useLayoutEffect(()=>{if(D){if(D instanceof r.bL)return I({workbook:D}),void(p!==D&&H?.(D));(async()=>{try{let g,C=await Promise.resolve(D);C&&C.source&&(C=await r.xX.read(C)),C.workbook?(V(C.title),g=C.workbook):g=C,H?.(g),I({workbook:g})}catch(g){H?.(null),I({error:g})}})()}},[D]);const[Q,q]=l.useState(null);l.useEffect(()=>{if(!F||!M)return;F.clear();const g=M?.workbook?.getTransactions();return g?g.addListener({onCommitEnd:C=>{C.getDescription()?F.addUndoOperation({description:C.getDescription(),undo:()=>(g.revert(C.getId()),Q.source?.focus(),()=>{g.restore(C.getId()),Q.source?.focus()})}):console.warn("commit has no description",C)}}):void 0},[F,M,Q]);const j=r.Te(g=>{g?F.setRepeatableOperation({description:g.label(),repeat:async()=>g.execute()}):F.setRepeatableOperation(null)},[F]),[W,V]=l.useState(h??E?.title??"");l.useEffect(()=>{V(h??E?.title??"")},[h??E?.title]),l.useEffect(()=>{_?.(W)},[W]);const[J,ae]=l.useState(null),ne=l.useMemo(()=>{const g=()=>({contains:C=>!0,focus(){}});return k?k.createChildGroup(g,"application",!1):new r.Ru(g,"application")},[k]),Ae=r.Te(g=>{ae(g.source.getViewportElement()),q(g),ne.activate("sheet"),a?.(g)},[ne]);l.useEffect(()=>{Q&&w&&Q.source?.focus(typeof w=="object"?w:void 0)},[Q]);const ge=l.useRef(null),U=l.useCallback(g=>{let C=null;return E?.hidden||(C=m.jsx(r.RK,{...E,style:{maxWidth:"100%",...E?.style},workbook:L.current,ref:ge,title:W,placeHolder:P,onTitleChange:K=>{V(K)}})),m.jsx(Lt,{...g,logo:v,mainElement:C,showFileMenu:!y,showAppearanceMenu:!!(A?.onForceLightGridChange||A?.onForceLightImagesChange||A?.onForceModeChange)})},[v,W,E,A,y,ne]);l.useEffect(()=>{const g=C=>C.preventDefault();return L.current?.addEventListener("wheel",g,{passive:!1}),()=>{L.current?.removeEventListener("wheel",g)}},[]);const le=l.useMemo(()=>m.jsx(r.Nu,{transparentBackground:!0,sx:t,style:n}),[t,n]),G=l.useCallback(({error:g})=>(s?.(g),m.jsx(c,{sx:t,style:n,error:g??"Unable to display empty workbook."})),[t,n,s]),ke=l.useMemo(()=>({...t,"& .SnackbarContainer-root":{position:"absolute !important"},"& .notistack-Snackbar":{minWidth:"unset"},"& .notistack-MuiContent *":{fontFamily:g=>g.typography.fontFamily},"& #notistack-snackbar":{maxWidth:"560px",whiteSpace:"pre-wrap"},"*":{userSelect:"none"}}),[t]),Ie=r.F6([L,o]),R=l.useMemo(()=>{if(!M)return le;if(M.error||!M.workbook)return G({error:M.error});let g=null,C=null,K=!1;return A&&(g=te?A.dark:A.light,C=te&&!A.forceLightGrid?A.dark:A.light,K=A.forceLightImages),m.jsx(r.kK,{sx:ke,style:n,tabIndex:0,autoFocus:!0,workbook:M.workbook,ref:Ie,renderToolbar:U,onElementLoad:Ae,onRepeatCommandChange:j,onKeyDown:ee=>{d?.(ee)},gridTheme:C,headersTheme:g,forceLightImages:K,className:r.jo(i,"sheetxl-workbook"),onContextMenu:ee=>ee.preventDefault(),...N},"WorkbookElement")},[M,W,F,le,A,N,U,ke]);let Z=m.jsx(Zt,{fallbackRender:G,children:m.jsx(dn,{maxSnack:3,domRoot:J,anchorOrigin:{vertical:"bottom",horizontal:"right"},autoHideDuration:3500,onClose:(g,C,K)=>{L.current?.focus()},Components:{error:Mt},iconVariant:{success:m.jsx(r.SvgIcon,{style:{marginRight:"8px"},children:m.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"})}),error:m.jsx(r.rX,{style:{marginRight:"8px"}})},children:m.jsx(r.lX,{children:m.jsx(Dt,{workbook:M?.workbook,setWorkbook:X,importExportDisabled:y,titlePlaceHolder:P,titleWorkbook:W,setWorkbookTitle:V,refWorkbookTitle:ge,commands:ne,undoManager:F,themeModeOptions:A,children:R})})})});return A&&(Z=m.jsxs(r.Oj,{theme:te?A.dark:A.light,children:[A.cssBaseline?m.jsx(Ut,{}):null,Z]})),Z}));Ot.displayName="EagerStandaloneWorkbook";const mn=Object.freeze(Object.defineProperty({__proto__:null,default:Ot},Symbol.toStringTag,{value:"Module"})),fn=Object.freeze(Object.defineProperty({__proto__:null,E:mn,c:ie},Symbol.toStringTag,{value:"Module"}));exports.CNYANG0Z7mhGYo00=fn,exports.Collapse=Fe,exports.fe=ie;
|
|
17
|
+
`))),ke},[V,B,S]),ge=r.Te(async(R,Z,g)=>{if(!Z&&Q){const C=await Q("Enter Workbook name to "+(g.isDefault?"Save.":`Export as ${g.description}.`));return C!==null&&r.xX.writeFile(C,R,{formatType:g.key})}return r.xX.writeFile(Z,R,{formatType:g.key})},[B,S,Q]),U=l.useCallback(()=>({contains:R=>!0,focus(){}}),[]),le=l.useMemo(()=>{const R=[];A||(r.xX.getWriteFormats().forEach(g=>{const C=g.isDefault,K={label:C?"Save Workbook":`Save Workbook as ${g.description}`,scopedLabels:{workbook:"Save",saveWorkbook:`as ${g.description}`},tags:g.tags,description:`Save the workbook to the desktop${C?"":` as ${g.description}`}.`};C&&(K.shortcut={key:"S",modifiers:[r.He.Ctrl]},R.push(new r.We("saveWorkbookAs",U,{label:"Save Workbook As…",scopedLabels:{workbook:"Save as…",saveWorkbook:"as…"},shortcut:[{key:"S",modifiers:[r.He.Shift,r.He.Ctrl]},{key:"F12"}],description:"Save the workbook to the desktop with the provided name."},()=>{ge(S,null,g).catch(se=>{B?.showError?.(se)})})));const ee=C?"saveWorkbook":`saveWorkbookAs${g.key}`;R.push(new r.We(ee,U,K,se=>{ge(S,se??D,g).catch(ke=>{B?.showError?.(ke)})}))}),R.push(new r.We("openWorkbook",U,{label:"Open Workbook…",scopedLabels:{workbook:"Open…"},description:"Open a workbook from the desktop.",shortcut:{key:"O",modifiers:[r.He.Ctrl]}},async(g=null)=>{const C={date1904:S.isDate1904(),...S.options};try{const K=await Ie(g,C);if(!K)return;const ee=K.title,se=K.workbook,ke=se.getSelectedSheet();if(K.formatType.mimeType==="text/csv"){const He=S.findValidSheetName(ee);await S.doBatch(async()=>{const Je=ke.getUsedRange();Je?await S.getSheets().add({name:He,autoSelect:!0}).getRange({colStart:0,rowStart:0,colEnd:0,rowEnd:0}).copyFrom(Je):B?.showMessage("The file appears to be blank.")},`Import CSV '${ee}'`)}else S?.close(),X?.(ee),L(se)}catch(K){B?.showError?.(K)}})),R.push(new r.We("openWorkbookFromUrl",U,{label:"Open Workbook From Web",scopedLabels:{insert:"From Web",workbook:"From Web…"},description:"Open a workbook from the web."},async function(g){if(!g){const C=await B?.showInputOptions?.({title:"Open Workbook from the Web",description:"Enter the web address for the workbook to open.",inputLabel:"Address",initialValue:"https://www.sheetxl.com/examples/features-checklist.xlsx",inputProps:{style:{minWidth:"440px"}},options:["Open"]});if(C.option!=="Open")return;g=C.input}g&&console.log("openWorkbookFromUrl",g)})));let Z=[];return q&&(Z=[new r.We("themeMode",U,{label:"Light/Dark Mode",scopedLabels:{appearance:"Light/Dark Mode"},description:"Toggle the application styling between light and dark mode."}),new r.We("defaultThemeMode",U,{label:"Use System Light/Dark Mode",scopedLabels:{appearance:"Use System Default"},description:"Use the system settings to determine styling for light and dark mode."}),new r.We("forceLightGrid",U,{label:"Force Light Grid",description:"Force the grid to always render in light mode if dark mode is being used. This is ensures that the grid will render the colors as specified in another tools (for example Excel)."}),new r.We("forceLightImages",U,{label:"Force Light Images",description:"Force the images to always render in light mode if dark mode is being used. This is ensures that the images will render the colors as specified in another tools (for example Excel). This only has any effect if the grid is in dark mode."})]),[...R,...Z,new r.Bt("help",U,{label:"Show Help",description:"Provide Help.",shortcut:{key:"F1"}},()=>{}),new r.Bt("showKeyboardShortcuts",U,{label:"Keyboard Shortcuts",description:"Show keyboard shortcuts.",shortcut:{key:"/",modifiers:[r.He.Ctrl]}},()=>{}),new r.We("gotoUrlGithub",U,{label:"Github",description:"Download examples, explore source code, and leave a star."},()=>{window?.open("https://github.com/sheetxl/sheetxl")}),new r.We("gotoUrlDiscord",U,{label:"Discord",description:"Join our community on discord."},()=>{window?.open("https://discord.gg/NTKdwUgK9p")}),new r.We("gotoUrlDocumentation",U,{label:"Documentation",description:"Read the documentation."},()=>{window?.open("https://www.sheetxl.com/docs")}),new r.We("gotoUrlIssue",U,{label:"Create Issue",description:"Create an issue to identify a bug or a feature request."},()=>{window?.open("https://github.com/sheetxl/sheetxl/issues")})]},[S,D,B,A,q,W,j]),G=l.useMemo(()=>{let R=null;return R=W?W.createChildGroup(U,"standaloneWorkbook",!1):new r.Ru(U,"standaloneWorkbook"),R.addCommands(le,!0),R},[W,le]);r.GK({manager:j,commands:G,notifier:B});const{themeMode:be}=r.vX();l.useEffect(()=>{if(!q||!G)return;const R=q.forceMode==="dark"||!q.forceMode&&be==="dark";G.getCommand("themeMode").update({state:q.forceMode??null,label:R?"Dark Mode":"Light Mode",scopedLabels:{appearance:R?"Dark Mode":"Light Mode"}}).updateCallback(()=>{J(R?r.bX.Light:r.bX.Dark)}),G.getCommand("defaultThemeMode").update({state:!q.forceMode}).updateCallback(()=>{J(null)}),G.getCommand("forceLightGrid").update({state:q.forceLightGrid}).updateCallback(()=>{ae(!q.forceLightGrid)}),G.getCommand("forceLightImages").update({state:q.forceLightImages}).updateCallback(()=>{ne(!q.forceLightImages)})},[be,q,le]);const{showModal:Ae}=r.c6();return l.useEffect(()=>{const R=()=>new Promise((Z,g)=>{const C=l.lazy(()=>Promise.resolve().then(()=>require("./DtcLPs_dQHEN3bGR.cjs"))),K=Ae(C,{title:"Shortcut Keys Reference",commands:G,onDone:()=>{K.hide()},TransitionProps:{onExited:()=>{Z(!0)}}})});G.getCommand("showKeyboardShortcuts").updateCallback(()=>R()),G.getCommand("help").updateCallback(()=>R())},[le,G]),G})({workbook:i,setWorkbook:t,importExportDisabled:f,workbookTitle:a,setWorkbookTitle:s,commands:p,requestWorkbookTitle:F=>new Promise(S=>{n.current?n.current.requestWorkbookTitle((L,A)=>{S(L)},{selectAll:!0,requestReason:F}):S(u)}),themeModeOptions:x,undoManager:d,notifier:_,onExecute:P});l.useEffect(()=>{w.starting.size<=0||!w.isMounted||b(F=>{const S=new Map(F.running);return F.starting.forEach((L,A)=>{const D=()=>{b(X=>{const B=new Map(X.running);return B.delete(A),{...X,running:B}})};S.set(A,D),L(D)}),{...F,starting:new Map,running:S}})},[w]);const[$,Y]=l.useState(null);l.useEffect(()=>{w.starting.size!==0||w.running.size!==0?Y(m.jsx(r.Nu,{icon:m.jsx(r.iX,{sx:{transform:"scale(0.7)",marginLeft:"-6px"}}),panel:!0,label:w.label,onMount:h,onUnmount:M,sx:{position:"absolute",left:"0",top:"0",width:"100%",height:"100%",zIndex:"9999"}})):Y(null)},[w.starting,w.running]);const I=l.useMemo(()=>m.jsx(r.wX,{commands:z,disableHover:!0,sx:{padding:"0"},buttonProps:{sx:{maxHeight:"22px"}}}),[z]),te={notifier:_,commands:z};return i&&(te.statusBarProps={childrenEnd:I}),m.jsxs(m.Fragment,{children:[$,c?l.cloneElement(c,te):null]})}));Dt.displayName="SnackbarAndCommandsWrapper";const Ot=l.memo(l.forwardRef((e,o)=>{const{className:i,sx:t,style:n,onElementLoad:a,onError:s,undoManager:u,errorPanel:c=r.YV,onKeyDown:d,workbook:p,createWorkbookOptions:f,onWorkbookChange:x,logo:v,importExportDisabled:y=!1,themeModeOptions:k,autoFocus:w=!1,commands:b,title:h,onTitleChange:M,titleProps:E,...N}=e,T=l.useRef(null),H=r.Te(x,[x]),_=r.Te(M??E?.onTitleChange,[M??E?.onTitleChange]),P=E?.placeHolder??"Untitled",z=k?.forceMode,{themeMode:$,source:Y}=r.vX({mode:z}),I=l.useMemo(()=>({...k,light:r.sX(!1,r.re.deepMerge(k?.theme??{},k?.light??{})),dark:r.sX(!0,r.re.deepMerge(k?.theme??{},k?.dark??{}))}),[k]),te=$===r.bX.Dark,[F,S]=l.useState(null);l.useEffect(()=>{S(u??new r.WK)},[u]);const[L,A]=l.useState(null),[D,X]=l.useState(null),B=r.SR();l.useLayoutEffect(()=>{if(!p||Object.keys(p).length===0&&!r.re.isPromiseLike(p)){const g={theme:B.getDefaultTheme(),...f};X(new r.bL(g))}else X(p)},[p]),l.useLayoutEffect(()=>{if(D){if(D instanceof r.bL)return A({workbook:D}),void(p!==D&&H?.(D));(async()=>{try{let g,C=await Promise.resolve(D);C&&C.source&&(C=await r.xX.read(C)),C.workbook?(V(C.title),g=C.workbook):g=C,H?.(g),A({workbook:g})}catch(g){H?.(null),A({error:g})}})()}},[D]);const[Q,q]=l.useState(null);l.useEffect(()=>{if(!F||!L)return;F.clear();const g=L?.workbook?.getTransactions();return g?g.addListener({onCommitEnd:C=>{C.getDescription()?F.addUndoOperation({description:C.getDescription(),undo:()=>(g.revert(C.getId()),Q.source?.focus(),()=>{g.restore(C.getId()),Q.source?.focus()})}):console.warn("commit has no description",C)}}):void 0},[F,L,Q]);const j=r.Te(g=>{g?F.setRepeatableOperation({description:g.label(),repeat:async()=>g.execute()}):F.setRepeatableOperation(null)},[F]),[W,V]=l.useState(h??E?.title??"");l.useEffect(()=>{V(h??E?.title??"")},[h??E?.title]),l.useEffect(()=>{_?.(W)},[W]);const[J,ae]=l.useState(null),ne=l.useMemo(()=>{const g=()=>({contains:C=>!0,focus(){}});return b?b.createChildGroup(g,"application",!1):new r.Ru(g,"application")},[b]),Ie=r.Te(g=>{ae(g.source.getViewportElement()),q(g),ne.activate("sheet"),a?.(g)},[ne]);l.useEffect(()=>{Q&&w&&Q.source?.focus(typeof w=="object"?w:void 0)},[Q]);const ge=l.useRef(null),U=l.useCallback(g=>{let C=null;return E?.hidden||(C=m.jsx(r.RK,{...E,style:{maxWidth:"100%",...E?.style},workbook:T.current,ref:ge,title:W,placeHolder:P,onTitleChange:K=>{V(K)}})),m.jsx(Tt,{...g,logo:v,mainElement:C,showFileMenu:!y,showAppearanceMenu:!!(I?.onForceLightGridChange||I?.onForceLightImagesChange||I?.onForceModeChange)})},[v,W,E,I,y,ne]);l.useEffect(()=>{const g=C=>C.preventDefault();return T.current?.addEventListener("wheel",g,{passive:!1}),()=>{T.current?.removeEventListener("wheel",g)}},[]);const le=l.useMemo(()=>m.jsx(r.Nu,{transparentBackground:!0,sx:t,style:n}),[t,n]),G=l.useCallback(({error:g})=>(s?.(g),m.jsx(c,{sx:t,style:n,error:g??"Unable to display empty workbook."})),[t,n,s]),be=l.useMemo(()=>({...t,"& .SnackbarContainer-root":{position:"absolute !important"},"& .notistack-Snackbar":{minWidth:"unset"},"& .notistack-MuiContent *":{fontFamily:g=>g.typography.fontFamily},"& #notistack-snackbar":{maxWidth:"560px",whiteSpace:"pre-wrap"},"*":{userSelect:"none"}}),[t]),Ae=r.F6([T,o]),R=l.useMemo(()=>{if(!L)return le;if(L.error||!L.workbook)return G({error:L.error});let g=null,C=null,K=!1;return I&&(g=te?I.dark:I.light,C=te&&!I.forceLightGrid?I.dark:I.light,K=I.forceLightImages),m.jsx(r.kK,{sx:be,style:n,tabIndex:0,autoFocus:!0,workbook:L.workbook,ref:Ae,renderToolbar:U,onElementLoad:Ie,onRepeatCommandChange:j,onKeyDown:ee=>{d?.(ee)},gridTheme:C,headersTheme:g,forceLightImages:K,className:r.jo(i,"sheetxl-workbook"),onContextMenu:ee=>ee.preventDefault(),...N},"WorkbookElement")},[L,W,F,le,I,N,U,be]);let Z=m.jsx(Zt,{fallbackRender:G,children:m.jsx(dn,{maxSnack:3,domRoot:J,anchorOrigin:{vertical:"bottom",horizontal:"right"},autoHideDuration:3500,onClose:(g,C,K)=>{T.current?.focus()},Components:{error:Lt},iconVariant:{success:m.jsx(r.SvgIcon,{style:{marginRight:"8px"},children:m.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"})}),error:m.jsx(r.rX,{style:{marginRight:"8px"}})},children:m.jsx(r.lX,{children:m.jsx(Dt,{workbook:L?.workbook,setWorkbook:X,importExportDisabled:y,titlePlaceHolder:P,titleWorkbook:W,setWorkbookTitle:V,refWorkbookTitle:ge,commands:ne,undoManager:F,themeModeOptions:I,children:R})})})});return I&&(Z=m.jsxs(r.Oj,{theme:te?I.dark:I.light,children:[I.cssBaseline?m.jsx(Ut,{}):null,Z]})),Z}));Ot.displayName="EagerStandaloneWorkbook";const mn=Object.freeze(Object.defineProperty({__proto__:null,default:Ot},Symbol.toStringTag,{value:"Module"})),fn=Object.freeze(Object.defineProperty({__proto__:null,E:mn,c:ie},Symbol.toStringTag,{value:"Module"}));exports.CL8dYrIob_nNamy9=fn,exports.Collapse=Fe,exports.fe=ie;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.2.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.2.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
-
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),i=require("react"),t=require("./
|
|
6
|
+
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),i=require("react"),t=require("./DVrhH2z9cGZBKu17.cjs"),D=["Ok","Cancel"],h=i.memo(C=>{const{initialComments:O=null,onUpdateComments:d,context:T,onOption:m,onValidateOption:c,onDone:p,options:g=D,defaultOption:u=g?.[0],cancelOption:l="Cancel",sx:b,...y}=C,x=i.useMemo(()=>{const e=O??T?.()?.getComments();let n="";if(e&&e.content&&e.content.runs){const s=e.content.runs;for(let o=0;o<s.length;o++){const S=s[o];n+=S?.text}}return n},[]),[a,F]=i.useState(x),[j,P]=i.useState(!1),f=i.useCallback(async(e,n)=>null,[]),k=t.Te(async e=>{const n=a===""?[]:a.split(`
|
|
7
7
|
`);if(e!==l){const s=[];for(let o=0;o<n.length;o++)s.push({text:n[o]});d?.({content:{runs:s}})}m?.(e,e===l,e===u),p?.()},[a,d,p,m,u,l]),v=t.Te(e=>{F(e.target.value),f(e.target.value,null)},[c]),w=t.Te(async e=>{let n=await Promise.resolve(c?.(e));try{n!==!1&&(n=await f(a,e))}catch{}return n??!0},[c,a]);return r.jsx(t.Cb,{title:(x?"Edit":"Insert")+" Comments",options:g,onDone:p,onOption:e=>k(e),onValidateOption:w,defaultOption:u,cancelOption:l,autoFocusSel:".autoFocus",sx:{width:"480px",...b},...y,children:r.jsx(t.Box,{sx:{paddingTop:e=>e.spacing(1),paddingBottom:e=>e.spacing(0),rowGap:e=>e.spacing(1),display:"flex",flexDirection:"column"},children:r.jsx(t.FormControl,{sx:{paddingTop:e=>e.spacing(1.5),minWidth:135,width:"100%"},size:"small",children:r.jsx(t.TextField,{label:"Comments",placeholder:"Enter a comment.",onFocus:e=>{j||e.target?.select(),P(!0)},sx:{"& .MuiFormHelperText-root":{marginTop:e=>e.spacing(.5)}},InputLabelProps:{shrink:!0},InputProps:{inputProps:{className:"autoFocus",spellCheck:!1,autoComplete:"off",sx:{paddingTop:e=>e.spacing(1.25),paddingBottom:e=>e.spacing(.75),backgroundImage:`linear-gradient(${t.alpha("#fff",t.eo(5))}, ${t.alpha("#fff",t.eo(5))})`}}},value:a,onChange:v,onContextMenu:e=>{e.stopPropagation()}})})})})});exports.CommentsDialog=h,exports.default=h;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.2.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.2.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.2.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
-
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react/jsx-runtime"),l=require("react"),n=require("./
|
|
6
|
+
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react/jsx-runtime"),l=require("react"),n=require("./DVrhH2z9cGZBKu17.cjs"),F=["Ok","Cancel"],C=l.memo(V=>{const{value:a=null,context:t,onOption:p,onValidateOption:k,onDone:g,onUpdate:m,options:x=F,defaultOption:T=x?.[0],cancelOption:f="Cancel",sx:h,...v}=V,y=l.useMemo(()=>t?.getNames().findValidName("Range1"),[]),d=l.useMemo(()=>{if(!a)return!0},[]),[o,R]=l.useState({displayText:a?.getName()??y,errorText:null}),[s,b]=l.useState({displayValue:a?.getRanges()??t?.selection()??null,errorText:null}),[N,O]=l.useState(!1),S=l.useCallback(async e=>!o.errorText&&!s.errorText,[t]),j=n.Te((e,i,c)=>{if(!i){let r=null;d?r=t?.getNames().addReference(o?.displayText,s?.displayValue,!1):(a.getType()==="reference"&&a.doBatch(()=>{a.setName(o?.displayText),a.setReference(s?.displayValue)},`Edit Named '${o?.displayText}'`),r=a),r&&(r.select(),m(r,d))}p?.(e,i,c),g?.()},[t,o,s,g,p,T,f,m]),q=n.Te(e=>{let i=null;try{t?.getNames().validateName(e)}catch(c){i=c.message}R({displayText:e,errorText:i})},[]),w=n.Te(e=>{a&&a.getName().toLowerCase()===e.toLowerCase()||t?.getNames().validateName(e)},[t,a]),D=l.useCallback(e=>{b({displayValue:e??null,errorText:null})},[]);return u.jsx(n.Cb,{title:(d?"Define":"Edit")+" Range",options:x,onOption:j,onValidateOption:S,defaultOption:T,cancelOption:f,autoFocusSel:".autoFocus",sx:{width:"460px",...h},...v,children:u.jsxs(n.Box,{sx:{paddingTop:e=>e.spacing(1),paddingBottom:e=>e.spacing(0),rowGap:e=>e.spacing(1),range:"flex",flexDirection:"column"},children:[u.jsx(n.zq,{formName:"name",defaultInput:y,value:o.displayText,onChangeInput:q,onValidate:w,onFocus:e=>{N||e.target?.select(),O(!0)}}),u.jsx(n.Pq,{formName:"range",value:s.displayValue,onChangeInput:D,resolvedAddress:t.getNames().getRanges.bind(t.getNames()),onFocus:e=>{N||e.target?.select(),O(!0)}})]})})});exports.NamedReferenceDialog=C,exports.default=C;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.2.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
6
|
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react");/**
|
|
7
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.
|
|
7
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.2.0
|
|
8
8
|
*
|
|
9
9
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
10
10
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
11
11
|
*//**
|
|
12
|
-
* @license @sheetxl/react -
|
|
12
|
+
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.2.0
|
|
13
13
|
*
|
|
14
14
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
15
15
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.2.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.2.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
-
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("./
|
|
7
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.
|
|
6
|
+
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("./DVrhH2z9cGZBKu17.cjs");/**
|
|
7
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.2.0
|
|
8
8
|
*
|
|
9
9
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
10
10
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
11
11
|
*//**
|
|
12
|
-
* @license @sheetxl/sdk - A high-performance, embeddable spreadsheet engine. - v0.
|
|
12
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.2.0
|
|
13
13
|
*
|
|
14
14
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
15
15
|
* License: The license can be found at https://www.sheetxl.com/license.
|