@sheetxl/mcp 0.8.0-beta.18 → 0.8.0-beta.20
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/assets/{o9G5KuG1VkSazTvI.js → -qQT-DFFz0CqGx5C.js} +373 -373
- package/assets/{CNE-erNKNIT7bUb1.js → 4Qlx8FuxoYbVTgNW.js} +27 -27
- package/assets/{yBFl0kPv-nwFtG4Z.js → 4Za9gEGCvms62R7k.js} +1 -1
- package/assets/{D0-I0aLr6w8IvxFD.js → 8FzS1bgbz4U1QE_m.js} +1 -1
- package/assets/{10d0ZbYF23zeF8_1.js → 93ksqLKL1o40anfw.js} +1 -1
- package/assets/{BV11qLZKVWxFwVGV.js → B-7inN76S1zUWSAt.js} +1 -1
- package/assets/{DjoFujVwGRAxviCF.js → B4ii9PGvnlYkSX2q.js} +2 -2
- package/assets/{Bi8ct8GYvMDKHCE3.js → B5UmlawoCVwHHM_e.js} +5 -5
- package/assets/{D5nleqRNvTcmN5_9.js → B5yaBbFj2Np9Eh8b.js} +1 -1
- package/assets/{F0HGXXl9AizCAcFy.js → B6J8XN1FRN00a_ps.js} +1 -1
- package/assets/{DY1x1ZN7ZyE4OR1-.js → BBm3Xjnehvx2fYj8.js} +8 -8
- package/assets/{CiKd3BnRjhac2Hik.js → BEq2PSZQN7VV19RQ.js} +1 -1
- package/assets/{wZ-GQhOhikv-_3iQ.js → BGQ1GrnQ-X16GU8k.js} +2 -2
- package/assets/{BrwNVveK5LvYkoGk.js → BGlx7_eRiv47Hu9C.js} +1 -1
- package/assets/{BEtUOCupmeICfGE1.js → BHiZ3GtGCWUWwHqY.js} +3 -3
- package/assets/{BOdkvYo03yZ96iZt.js → BItblzoSm0lN3bTV.js} +1 -1
- package/assets/{pg7E7B7ouG2qdZve.js → BJYl-kvBtcnMVP8W.js} +1 -1
- package/assets/{hvCnPO_Fu7Nqz0rs.js → BKc7zTK6ZIhcD_Wu.js} +1 -1
- package/assets/{DmCRCUmmkoRNCS9J.js → BMH_wtFTiRj43c69.js} +2 -2
- package/assets/{CL4BYdfIXgFQA8nY.js → BVdH9-49M3APSiPy.js} +1 -1
- package/assets/{BsYVa-oRhTLH6wnH.js → BYYbglFmasE5PrS2.js} +1 -1
- package/assets/{BgGFX6QJ30T3seyX.js → Bg8EN9R3hbeNfFyU.js} +103 -103
- package/assets/{BRQd_GNkeaBTl3Zr.js → BghxJxTwaebNVcIS.js} +1 -1
- package/assets/{CnLLwj7OCz4U71wa.js → BieAybaOdneMdvBS.js} +1 -1
- package/assets/{Ct8BhGWuqN5yOpUF.js → BkhWR4P1Evw_VP5z.js} +1 -1
- package/assets/BmmIukrNOivfENgD.js +199 -0
- package/assets/{DbwDQlhCuGoasVUz.js → Bndiqwoh132Upow1.js} +2 -2
- package/assets/{CLBxNjtPjuGX1KnU.js → Bp9zuG6P6r9GEb6G.js} +1 -1
- package/assets/{Bz5ioWvl-Xl3xspC.js → C0MAjW1vgsw6o0fx.js} +1 -1
- package/assets/{CcB4xmoUFWBbSISF.js → C3BZQ5NFwAU_ZdeQ.js} +1 -1
- package/assets/{hLMlKg3lU36xZ6G6.js → C46dyA4YSP1-iTSN.js} +1 -1
- package/assets/{CkO0JR629W2kcDMd.js → C7oUg84aGjYrJUc6.js} +2 -2
- package/assets/{DmUCKxOYIBM6DX64.js → C9JUgNS6CrdgIcW3.js} +1 -1
- package/assets/{CGGpkGg85FZsnYHc.js → C9aV1SF8uCWIB4zU.js} +15 -15
- package/assets/{B2C5njsdPylyQOCM.js → C9eaFlFi_4GmymzP.js} +40 -40
- package/assets/{VcmpHRbBIrw6av3U.js → C9w-KoMwxvouC73F.js} +148 -148
- package/assets/{Bi4pI6e3AwTjn-lQ.js → C9wXzrhl0dwqZgJ6.js} +1 -1
- package/assets/CCl8x9s8Bujsew7W.js +14 -0
- package/assets/{nnqtgWxMIc_Nc-IP.js → CDmri0gcZxpVZfWn.js} +446 -445
- package/assets/{CPkGFumcwSKh5zea.js → CDvP9QyhDwdm3MZn.js} +2 -2
- package/assets/{Byd5zSRU6LWfL2No.js → CLFe9HgUi_83dE3d.js} +1 -1
- package/assets/{CzoexWLhnn08u05j.js → CTGfmocA1WgM0_e0.js} +718 -721
- package/assets/{CYUerpa6WB0Hc3fs.js → CUJiePMri5kkpdA7.js} +1 -1
- package/assets/{BxizypreLEtLqpIc.js → CW2Ca6tsd0aLTz88.js} +1 -1
- package/assets/{EDEUvF-L72a6fMCK.js → CaI562iJKKOoMw8p.js} +1 -1
- package/assets/{D2sRTakzE5POMnhF.js → CaOEaghQqXiA1ZzO.js} +122 -122
- package/assets/{CPa4og3WQ7BgHrsO.js → CbTKUrroY9PQ6eTu.js} +28 -28
- package/assets/{DP-FzazhSKAvylUa.js → CgIHqG1qp9n1Gwm7.js} +285 -285
- package/assets/{VL-vwx7Pyw1zqIx9.js → Cheq-qaVWm7EaIlQ.js} +1 -1
- package/assets/{D49iRcrfnODORRNC.js → Cirpx81bWi4G2foA.js} +11 -11
- package/assets/{B74Ls4nlmyBxWanf.js → Cm2WENwEZ0KMyF--.js} +2 -2
- package/assets/{Cv8UXBL7O7h1uMR8.js → CoOIn2wx6je_rMDO.js} +34 -34
- package/assets/{CT6kRDlkfvKq8XGZ.js → Co_ZOyp4mKmSfh0A.js} +1 -1
- package/assets/{Rpi4k7hMH8wPAIcB.js → CpLTCQemd_cJ4yFu.js} +1663 -1663
- package/assets/{Iv_Zbm3pMLOK2uxf.js → CpfpXfCqzZumY4pf.js} +1 -1
- package/assets/{r9WSFw3a-_a5hlPm.js → CrRJqUPbvvhnp4p4.js} +3 -7
- package/assets/{DI_SAQ7hesioI9TW.js → CrULZhDt8uE-MR2s.js} +1 -1
- package/assets/{CDqOifqA400y7KQY.js → CyOyY32LLW-Pj_L7.js} +1 -1
- package/assets/{gAg9rL3U8fWUDeEb.js → CyYbUk6pGr3NIBsy.js} +51 -51
- package/assets/{Dh2iae-q0IngEeyH.js → D--emvI048MvLsXl.js} +1 -1
- package/assets/{DMnhlFBJ2AlVx2_t.js → D4lMEKXi13vhDJbE.js} +1 -1
- package/assets/{B-6CmVJvxPNZB9bE.js → DALP-GkmzCJdFIV9.js} +1 -1
- package/assets/{DCHjwIx59QhiV2Zx.js → DAVN6N3srI1WMHCN.js} +2 -2
- package/assets/{8hZAYFV_v2KmJ_NL.js → DBfBV-tvRxCLgdvs.js} +4 -4
- package/assets/{BhHneZZ7gq4dRaEJ.js → DIntlX_ha_wRdxYj.js} +1 -1
- package/assets/{XDQBri0_cS5paHej.js → DMDx0fX8tHKH0DdL.js} +2 -2
- package/assets/{9rJMq-cyOmajlBEQ.js → DMMw2v0iTuBnUjMI.js} +1 -1
- package/assets/{BCeSyFXflYgNP_ES.js → DNwyEanz3LqtOorY.js} +1 -1
- package/assets/{BFGVZsstQm2MWi7Y.js → DPUXpIzEs1t-jBiv.js} +1 -1
- package/assets/{DKnwIboAj_Sg9aVP.js → DSy6cpdU-KNWsbSj.js} +2 -2
- package/assets/{DN4zv4AjDxTsLFsA.js → DTXRsv2Ww7WbIwCb.js} +9352 -9281
- package/assets/{Du9_Ajy9KvnwHApK.js → DV_nCOON8Fgq5RBt.js} +2 -2
- package/assets/{BFcxaubQp1WMeknL.js → DYRis8fOyk2uIZ-1.js} +4 -4
- package/assets/{BQzUK7KiJeJpu-rK.js → DZ2Njh8YgfXcv7EM.js} +1 -1
- package/assets/{CMXukie7sxP12H2E.js → Dc2LiflUYpt0nVVk.js} +4 -4
- package/assets/{BQ76ntZm9YFicjXj.js → DcwqgbgqPyzQxSsQ.js} +1 -1
- package/assets/{DSDlxGN059KmkCxT.js → DjH6ckvISyssOSit.js} +1 -1
- package/assets/{NZeFs1MV5h-uMZqJ.js → Dlbgs8csKymbxu7r.js} +1 -1
- package/assets/{BwQM6Q6HHQTXznpy.js → DnDTldUjKy0O586y.js} +2 -2
- package/assets/{CLsD7YwSKAsliRZy.js → DndzARNYtmumqGnG.js} +1 -1
- package/assets/{nPoObUd0MvWI-j0F.js → Drmg3-gF0VJs4Yx3.js} +1 -1
- package/assets/{DwOPJ5TXttTx69oF.js → DsSlUklPSAsh9DhW.js} +330 -330
- package/assets/{rIReGgfQ90pzLAbU.js → DsWJ-YRyuwDUuSge.js} +1 -1
- package/assets/{BQeb2zXfAs5lRoGt.js → Dsjx528shW3GcGpD.js} +3 -3
- package/assets/{C_UAskmm-u2Iw9Nl.js → Dv9ZDmKuxn2tQDGb.js} +1 -1
- package/assets/{Bqq5Sl5E9ytcPJ3J.js → DvRH46hupHUjkc7a.js} +1 -1
- package/assets/{D5wI7O_L6QVNXj5I.js → DwsoGIyPuoQij_vi.js} +1 -1
- package/assets/{SCOKwiDu6SYiQrQ0.js → Dx_IFz5FEPKw-HC1.js} +1 -1
- package/assets/{CmlxzZYM5hOAAcx5.js → DzLrAy24em5k5en0.js} +3 -3
- package/assets/{D1pD8u8nRprUvn-u.js → I7LAF1nLmYqQwt9i.js} +1 -1
- package/assets/{CJoWPN_DsFbaGAiE.js → IDq3QQa5uRqjVJx_.js} +1 -1
- package/assets/{BSvHkSY0R0EU0gC4.js → LugZP3XHNnoiiTJO.js} +1 -1
- package/assets/{CoQFpWEh4CUgcdwe.js → MpvZt7VpFWEINIT6.js} +1 -1
- package/assets/{DMGq2icilGiyfBTM.js → NiD8iNE47sjggYTx.js} +1 -1
- package/assets/{vXZw1AmMzswOZMiP.js → PMBjuoD2MpG87dao.js} +1 -1
- package/assets/{CvkibaXI8SOD22pw.js → TdK2ciXA5BAlGjbR.js} +1 -1
- package/assets/{DWK-OKV0MErx-IrU.js → Ti7kMsQ-Eo3lkfIh.js} +6 -6
- package/assets/{D2IMjoGcj5oz1Kr7.js → Xkr_4WLwk0ZPaYH2.js} +1 -1
- package/assets/{DcjJ_zTfdh6RqmVZ.js → YG5hEr6CzWNmNJQ2.js} +1 -1
- package/assets/{MfkAFluI0ZyU0UDV.js → YGYD-116vlZfzPn1.js} +13 -13
- package/assets/{BhJ1mH7pUONJScU7.js → Z1zwOeCe-JTLgkxf.js} +47 -47
- package/assets/{Dhg0yeTmVfmRV5rK.js → _LMcVYWJksPfGVxz.js} +1 -1
- package/assets/{DzEJwSC-_aavYiFd.js → eV0oowKJe44NBnWj.js} +1 -1
- package/assets/{DH7Rur7rNOYzv35r.js → eWHWPRWHX6YU8bJU.js} +1 -1
- package/assets/{DL3ms6Hf2uEGaMgH.js → hcXZqO-0tG873E-L.js} +2 -2
- package/assets/{BM-ax5N1GzF9KkI4.js → klKXcdZmbQmsK2rt.js} +1 -1
- package/assets/{CQBFUsemb94zMBo6.js → ltqqdJxoPnLCjhBV.js} +3 -3
- package/assets/{BQsLqKWy17wy3znE.js → mYZ9Z5AKCn7zltHw.js} +2 -2
- package/assets/{BatIfPAYElNTXVzb.js → nV0eE4R3npcOHLbx.js} +1 -1
- package/assets/{BedBCvJP064ZYuO8.js → ndBoGVVjmy3vkff8.js} +2 -2
- package/assets/{ARPN5UhoadZC1yqE.js → noAnElnMhF05bfJN.js} +1 -1
- package/assets/{CYcb-DojX92VNGzd.js → q57cDvIPcIvWlh5T.js} +3 -3
- package/assets/{CWuPUrDsnBxboJ02.js → rtUwIBgECTX9UO_B.js} +108 -108
- package/assets/{DafqFM-FGeZJ_fzg.js → swG-DVTsez1uNW8c.js} +1 -1
- package/assets/{BDNqot_JWBuVW_pC.js → tCavNu-Tru6yRbec.js} +1 -1
- package/assets/{B7GE-6NROw0onnLD.js → u-pSumbU-rgT6eLF.js} +224 -224
- package/assets/{BMc-Hsrp_iifxzG_.js → uMoGfJGab8mZX6eN.js} +1 -1
- package/assets/{C3PZVWI_SEXYrzVk.js → uoUKT9hTrwZ2INHN.js} +3 -3
- package/assets/{CnCtLKkz0bdXIxn2.js → wYvkLI8IeHaWTtAx.js} +92 -92
- package/assets/{DlWRvc1pLGPCRMwi.js → yDh_W6M1rvuDhFv1.js} +1 -1
- package/index.js +224 -224
- package/lib.js +1 -1
- package/licenses/dependencies.txt +35 -35
- package/package.json +2 -2
- package/screenshot-page/assets/{Di8Yn8O-rD9idC2h.js → 1yHlU53ypZZelMPx.js} +1 -1
- package/screenshot-page/assets/{Btgo0VFTT0JxuaP3.js → B-8IMo2f1yGNXOyz.js} +86 -90
- package/screenshot-page/assets/{NDzpWLUA0pbyI-Rd.js → B9kA0vdaFJi9iRGo.js} +4 -4
- package/screenshot-page/assets/{iAWaCU0XkY0ktnNk.js → BLPyKyNun9-SHQBZ.js} +1 -1
- package/screenshot-page/assets/BMKiUDjoabO4aG1U.js +1 -0
- package/screenshot-page/assets/{C1lrvl0Ad1-NjWKG.js → BOjOE9CEMSzcij2W.js} +2 -2
- package/screenshot-page/assets/{DjtXY9uxB3QP6hU3.js → BQ5BNe1adYfpa2OH.js} +1 -1
- package/screenshot-page/assets/{B7u12-Sf0HF7g4wI.js → BUO6zT3gqK0uOOa-.js} +1 -1
- package/screenshot-page/assets/{5TxlmdZxlCDkawVW.js → BWtLNVUXjY6EBdEt.js} +1 -1
- package/screenshot-page/assets/BZpFWPd0PR1kPT-A.js +1 -0
- package/screenshot-page/assets/BaCs7lUeZ7NidSkP.js +1 -0
- package/screenshot-page/assets/Bf9AN5sYHaxae0vV.js +586 -0
- package/screenshot-page/assets/Bh2PQ0zsoGtMKWp1.js +39 -0
- package/screenshot-page/assets/BkhZQsVlVHOiKGTJ.js +1 -0
- package/screenshot-page/assets/BnPHZ_1rjv6kQgsL.js +1 -0
- package/screenshot-page/assets/{DNoZea7QMO9zB6D5.js → BuzI4z8RJGOw8BZD.js} +1 -1
- package/screenshot-page/assets/Bzf_upccQ2ho6mX0.js +13 -0
- package/screenshot-page/assets/{CM9cBiCjJIY64PWg.js → C0AbuMHcIS9oy4XL.js} +1 -1
- package/screenshot-page/assets/{Csjis_Fk8q4mSqdp.js → C4v6Ljs6kwQJu06t.js} +2 -2
- package/screenshot-page/assets/C7YRL2bVWHPIwzn_.js +1 -0
- package/screenshot-page/assets/{DqXO_Zw1Cp7rAQ04.js → C7mXat-6esc1AmRD.js} +2 -2
- package/screenshot-page/assets/{D6WTzLygjgK85siu.js → CFl15-2FAF9f3V7L.js} +2 -2
- package/screenshot-page/assets/CImp91jfSuqX0Wz-.js +1 -0
- package/screenshot-page/assets/{BMf827t1Ul65MHd5.js → CQukCzhuewMuFOlO.js} +1 -1
- package/screenshot-page/assets/{CaiPDssAQqXac5AG.js → CXmrXx6MZ5ApF3co.js} +1 -1
- package/screenshot-page/assets/CZq2dMHs2MHHyyBl.js +1 -0
- package/screenshot-page/assets/Cv-YUArreXqhafcU.js +2 -0
- package/screenshot-page/assets/{DgtqX4DiBgkepVZZ.js → Cx1kZ2u_8JFV2Q8D.js} +1 -1
- package/screenshot-page/assets/D23_69pojBfIh4nV.js +5 -0
- package/screenshot-page/assets/D2q4M3I5Jmxm85P2.js +1 -0
- package/screenshot-page/assets/{BYQZ8o8k3-MDoNat.js → D6Yv5cc1JE7DGd6j.js} +1 -1
- package/screenshot-page/assets/D8QsCbSaWCLAYYso.js +1 -0
- package/screenshot-page/assets/{F6yLCIlSWZ1lAUEp.js → DC_Hdwa9KL7xKU8u.js} +2 -2
- package/screenshot-page/assets/DHtL9Iawmr2Uo5VV.js +2 -0
- package/screenshot-page/assets/{Cfs_rQCXBMVhJgat.js → DKWRl8rs3K9jBYtr.js} +1 -1
- package/screenshot-page/assets/DMhOGCTy8V0N14gY.js +1 -0
- package/screenshot-page/assets/{C6vseMcEu3To1U6k.js → DNYWB6WNZTquqQ9v.js} +3 -3
- package/screenshot-page/assets/{Bwk0ScujWaYYqx5G.js → DegZKTNqt1LRnSxY.js} +1 -1
- package/screenshot-page/assets/{tPEJNcr51GaPfk3O.js → Dhh1xqujbhLa8WFd.js} +1 -1
- package/screenshot-page/assets/{CNFMt4XhKy4tlsUn.js → Dkr-6Z1RJsAp9Xrv.js} +1 -1
- package/screenshot-page/assets/DllI8kZZZ5LG0Mjd.js +2 -0
- package/screenshot-page/assets/{t4FRkJl27a0itCt6.js → DrcpGT9FLbDzeLeG.js} +2 -2
- package/screenshot-page/assets/{D1TqM0Bt65K6svMS.js → FjOiReLnknWbsRRr.js} +19 -19
- package/screenshot-page/assets/{C3KvRJ_eXd6xnmlO.js → H_hWDMWfWmjTui7V.js} +1 -1
- package/screenshot-page/assets/LCjlxIt1dn3smVjX.js +1 -0
- package/screenshot-page/assets/{DGB9wBuDWt0bzTNE.js → RutPv2GFWmeBiWvn.js} +1 -1
- package/screenshot-page/assets/{DeyRZ5rprDbRbuf4.js → Tj3B5At0OAN3tDza.js} +1 -1
- package/screenshot-page/assets/{CpZHZoz3xpJMDWI0.js → TwKKik-YQENv52LX.js} +1 -1
- package/screenshot-page/assets/XiUItCqTNNEApgfa.js +2 -0
- package/screenshot-page/assets/XrFpPrRqQNE9AAwH.js +1 -0
- package/screenshot-page/assets/mBuOPJeUPXlKwfPZ.js +48 -0
- package/screenshot-page/assets/qFyplGXRu7IepHio.js +1 -0
- package/screenshot-page/assets/zSnM7GhGzLu1MM_u.js +3 -0
- package/screenshot-page/assets/{DtihumgXQ7ETaN0A.js → zvxBjll3jnL0-vNn.js} +2 -2
- package/screenshot-page/index.html +11 -11
- package/types/scripting-api.json +9329 -9329
- package/types/scripting.d.ts +24 -18
- package/assets/Del35nO_1HyjItI0.js +0 -199
- package/assets/LLdkCOYvtc1-vOsy.js +0 -14
- package/screenshot-page/assets/2XWoSsrRz2kognCK.js +0 -1
- package/screenshot-page/assets/BCOjWc-VhkuVoCVf.js +0 -1
- package/screenshot-page/assets/BqQ2A9WL6mcRxbSt.js +0 -2
- package/screenshot-page/assets/Bw4kRw8JKyNRlLE2.js +0 -1
- package/screenshot-page/assets/BwF-LAYFu91KqvJ8.js +0 -2
- package/screenshot-page/assets/ByehV0cOs5aIySS-.js +0 -13
- package/screenshot-page/assets/C0F9BL11dkgzjp7Y.js +0 -1
- package/screenshot-page/assets/C3QIYFX-vF_1DVmi.js +0 -586
- package/screenshot-page/assets/CafJ2T5GCjkumgLh.js +0 -1
- package/screenshot-page/assets/CijzqW2bsxOQdDxl.js +0 -2
- package/screenshot-page/assets/D5kEl0N4l6MzdmTG.js +0 -1
- package/screenshot-page/assets/D6CzedWHXTesD55R.js +0 -1
- package/screenshot-page/assets/D7e00cCBTtcIRmjV.js +0 -1
- package/screenshot-page/assets/DTrnAtpccj55fGg5.js +0 -1
- package/screenshot-page/assets/DZ2zDgzt-mnhg3Kd.js +0 -1
- package/screenshot-page/assets/DaVBDkeZxbXnuyGz.js +0 -42
- package/screenshot-page/assets/DgNbqKuVd-Q170VZ.js +0 -2
- package/screenshot-page/assets/Dv-4mfeFKIoD5jaY.js +0 -3
- package/screenshot-page/assets/HZAIE0lHXXFqlb2v.js +0 -1
- package/screenshot-page/assets/Lr2MYBmoCKMLBl_6.js +0 -5
- package/screenshot-page/assets/O-S3tcMip6iXUjQF.js +0 -1
- package/screenshot-page/assets/eV_6j-vFozPgfcjz.js +0 -1
- package/screenshot-page/assets/it1wnIFQtbJ4Dm8N.js +0 -1
- package/screenshot-page/assets/mCyh2440vZi8s1uY.js +0 -39
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.20
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
6
6
|
*/
|
|
7
|
-
import { r as t } from "./
|
|
8
|
-
import { Q as e, Z as o, h as s, ht as r, ot as n, tt as i, xt as a } from "./
|
|
9
|
-
import { G as l, ht as c, lt as u, v as h } from "./
|
|
10
|
-
import { d,
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { F as P, ft as O, vt as D, yt as N } from "./
|
|
14
|
-
import { $ as _, $n as M, Ar as $, B as R, Bt as
|
|
7
|
+
import { r as t } from "./nV0eE4R3npcOHLbx.js";
|
|
8
|
+
import { Q as e, Z as o, h as s, ht as r, ot as n, tt as i, xt as a } from "./CyOyY32LLW-Pj_L7.js";
|
|
9
|
+
import { G as l, ht as c, lt as u, v as h } from "./C9aV1SF8uCWIB4zU.js";
|
|
10
|
+
import { o as d, p, u as f } from "./CrRJqUPbvvhnp4p4.js";
|
|
11
|
+
import { R as g, Vt as m, Wt as b, Y as y, _a as v, do as x, ei as w, ii as T, lt as S, ta as k } from "./DTXRsv2Ww7WbIwCb.js";
|
|
12
|
+
import { P as C, n as A, x as E, z as I } from "./DsSlUklPSAsh9DhW.js";
|
|
13
|
+
import { F as P, ft as O, vt as D, yt as N } from "./Co_ZOyp4mKmSfh0A.js";
|
|
14
|
+
import { $ as _, $n as M, Ar as $, B as R, Bt as V, C as L, Cr as j, Ct as B, Et as F, F as H, H as W, Hn as z, Ht as X, In as q, Ir as U, It as G, Jn as K, K as J, Kn as Z, Ln as Q, M as Y, Mr as tt, Mt as et, N as ot, Nn as st, O as rt, On as nt, Pr as it, Qn as at, Qt as lt, Rn as ct, S as ut, Sn as ht, T as dt, V as pt, W as ft, Wn as gt, Wt as mt, X as bt, Xn as yt, Yt as xt, Zn as wt, _n as Tt, _t as St, a as kt, an as Ct, br as At, cr as Et, en as It, f as Pt, g as Ot, gr as Dt, gt as Nt, hr as _t, in as Mt, ir as $t, jt as Rt, kr as Vt, m as Lt, mr as jt, nr as Bt, ot as Ft, pn as Ht, q as Wt, qt as zt, rt as Xt, s as qt, sr as Ut, tt as Gt, u as Kt, ut as Jt, vn as Zt, vr as Qt, vt as Yt, x as te, xn as ee, xt as oe, yn as se, zn as re } from "./CaOEaghQqXiA1ZzO.js";
|
|
15
15
|
var ne = {
|
|
16
16
|
ascending: "ascending",
|
|
17
17
|
descending: "descending",
|
|
@@ -64,7 +64,7 @@ function ie(t, e) {
|
|
|
64
64
|
continue;
|
|
65
65
|
}
|
|
66
66
|
const p = s.get(String(u.tableId)), f = p ? ae(p.columns, u.columnId) : null;
|
|
67
|
-
p && f ? (o.json = ce(u, o.json,
|
|
67
|
+
p && f ? (o.json = ce(u, o.json, T.structuredReference(p.name, f.name)), l.add(c), u.cachePath && e.markAbsorbed(u.cachePath)) : (e.warn("A slicer names no table; it was not imported.", "xlsx.slicer.cacheDefinition"), d.splice(t, 1));
|
|
68
68
|
}
|
|
69
69
|
delete u.slicers;
|
|
70
70
|
}
|
|
@@ -253,11 +253,11 @@ var we = ":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-⁰-Ⰰ-、-豈-﷏
|
|
|
253
253
|
13,
|
|
254
254
|
9
|
|
255
255
|
]);
|
|
256
|
-
function
|
|
256
|
+
function Ce(t) {
|
|
257
257
|
return t >= 65 && t <= 90 || t >= 97 && t <= 122 || 58 === t || 95 === t || 8204 === t || 8205 === t || t >= 192 && t <= 214 || t >= 216 && t <= 246 || t >= 248 && t <= 767 || t >= 880 && t <= 893 || t >= 895 && t <= 8191 || t >= 8304 && t <= 8591 || t >= 11264 && t <= 12271 || t >= 12289 && t <= 55295 || t >= 63744 && t <= 64975 || t >= 65008 && t <= 65533 || t >= 65536 && t <= 983039;
|
|
258
258
|
}
|
|
259
|
-
var
|
|
260
|
-
new RegExp(`^[${
|
|
259
|
+
var Ae = ":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-", Ee = `-${Ae}.0-9·̀-ͯ‿-⁀`;
|
|
260
|
+
new RegExp(`^[${Ae}]$`, "u"), new RegExp(`^[${Ee}]$`, "u"), new RegExp(`^[${Ae}][${Ee}]*$`, "u"), new RegExp(`^[${Ee}]+$`, "u");
|
|
261
261
|
var Ie = "A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-", Pe = `-${Ie}.0-9·̀-ͯ‿-⁀`, Oe = (new RegExp(`^[${Ie}]$`, "u"), new RegExp(`^[${Pe}]$`, "u"), new RegExp(`^[${Ie}][${Pe}]*$`, "u"));
|
|
262
262
|
function De(t) {
|
|
263
263
|
return t >= 65 && t <= 90 || 95 === t || t >= 97 && t <= 122 || t >= 192 && t <= 214 || t >= 216 && t <= 246 || t >= 248 && t <= 767 || t >= 880 && t <= 893 || t >= 895 && t <= 8191 || t >= 8204 && t <= 8205 || t >= 8304 && t <= 8591 || t >= 11264 && t <= 12271 || t >= 12289 && t <= 55295 || t >= 63744 && t <= 64975 || t >= 65008 && t <= 65533 || t >= 65536 && t <= 983039;
|
|
@@ -266,9 +266,9 @@ var Ne, _e = function(t) {
|
|
|
266
266
|
return 32 === t || 10 === t || 13 === t || 9 === t;
|
|
267
267
|
}, Me = function(t) {
|
|
268
268
|
return t >= 32 && t <= 55295 || 10 === t || 13 === t || 9 === t || t >= 57344 && t <= 65533 || t >= 65536 && t <= 1114111;
|
|
269
|
-
}, $e =
|
|
270
|
-
return
|
|
271
|
-
},
|
|
269
|
+
}, $e = Ce, Re = function(t) {
|
|
270
|
+
return Ce(t) || t >= 48 && t <= 57 || 45 === t || 46 === t || 183 === t || t >= 768 && t <= 879 || t >= 8255 && t <= 8256;
|
|
271
|
+
}, Ve = ke, Le = Se, je = function(t) {
|
|
272
272
|
return t >= 1 && t <= 55295 || t >= 57344 && t <= 65533 || t >= 65536 && t <= 1114111;
|
|
273
273
|
}, Be = De, Fe = function(t) {
|
|
274
274
|
return De(t) || 45 === t || 46 === t || t >= 48 && t <= 57 || 183 === t || t >= 768 && t <= 879 || t >= 8255 && t <= 8256;
|
|
@@ -294,9 +294,9 @@ var Ne, _e = function(t) {
|
|
|
294
294
|
], ao = [
|
|
295
295
|
Ye,
|
|
296
296
|
eo,
|
|
297
|
-
...
|
|
297
|
+
...Ve
|
|
298
298
|
], lo = [
|
|
299
|
-
...
|
|
299
|
+
...Ve,
|
|
300
300
|
to,
|
|
301
301
|
38,
|
|
302
302
|
Qe
|
|
@@ -321,7 +321,7 @@ function co(t, e, o) {
|
|
|
321
321
|
}
|
|
322
322
|
}
|
|
323
323
|
}
|
|
324
|
-
var uo = (t) => He.test(t), ho = (t) =>
|
|
324
|
+
var uo = (t) => He.test(t), ho = (t) => Le.test(t), po = {
|
|
325
325
|
xmldecl: "xmlDeclHandler",
|
|
326
326
|
text: "textHandler",
|
|
327
327
|
processinginstruction: "piHandler",
|
|
@@ -1316,7 +1316,7 @@ var To = (t) => !0 === t || "1" === t || "on" === t || "true" === t || !1 !== t
|
|
|
1316
1316
|
}, ko = (t) => {
|
|
1317
1317
|
const e = parseFloat(t);
|
|
1318
1318
|
return isNaN(e) ? null : e;
|
|
1319
|
-
},
|
|
1319
|
+
}, Co = null, Ao = (t) => t.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">"), Eo = (t) => Ao(t).replace(/"/g, """), Io = class {
|
|
1320
1320
|
constructor() {
|
|
1321
1321
|
this._registeredVisitors = /* @__PURE__ */ new Map();
|
|
1322
1322
|
}
|
|
@@ -1438,7 +1438,7 @@ var To = (t) => !0 === t || "1" === t || "on" === t || "true" === t || !1 !== t
|
|
|
1438
1438
|
a = i?.local ?? null, l = i?.tag ?? null, c = i?.visitor ?? null, p = !i?.destination;
|
|
1439
1439
|
},
|
|
1440
1440
|
onText: (t) => {
|
|
1441
|
-
f ? f.push(
|
|
1441
|
+
f ? f.push(Ao(t)) : c?.text?.(t, y);
|
|
1442
1442
|
},
|
|
1443
1443
|
onEnd: e
|
|
1444
1444
|
};
|
|
@@ -1505,23 +1505,23 @@ var To = (t) => !0 === t || "1" === t || "on" === t || "true" === t || !1 !== t
|
|
|
1505
1505
|
return !(!s || s.rowStart !== t || s.colEnd !== e - 1) && (s.colEnd = e, this._byColumn.set(e, s), s.restored);
|
|
1506
1506
|
}
|
|
1507
1507
|
getFormulaArray() {
|
|
1508
|
-
return this._restored.map((t) => [
|
|
1508
|
+
return this._restored.map((t) => [x.rangeToString(t), "dynamic"]);
|
|
1509
1509
|
}
|
|
1510
|
-
},
|
|
1511
|
-
const e =
|
|
1510
|
+
}, Vo = /^\s*TABLE\s*\(([^()]*)\)\s*$/i, Lo = /^\s*(\$?)([A-Za-z]{1,3})(\$?)(\d{1,7})\s*$/, jo = (t) => {
|
|
1511
|
+
const e = Lo.exec(t);
|
|
1512
1512
|
if (!e) return null;
|
|
1513
|
-
const o =
|
|
1513
|
+
const o = x.fastStringToCol(e[2]), s = parseInt(e[4], 10) - 1;
|
|
1514
1514
|
return o < 0 || s < 0 ? null : {
|
|
1515
1515
|
row: s,
|
|
1516
1516
|
col: o,
|
|
1517
1517
|
colAbsolute: "$" === e[1],
|
|
1518
1518
|
rowAbsolute: "$" === e[3]
|
|
1519
1519
|
};
|
|
1520
|
-
}, Bo = (t) =>
|
|
1520
|
+
}, Bo = (t) => x.cellToString({
|
|
1521
1521
|
rowIndex: t.row,
|
|
1522
1522
|
colIndex: t.col
|
|
1523
1523
|
}), Fo = (t, e) => {
|
|
1524
|
-
const o =
|
|
1524
|
+
const o = Vo.exec(t);
|
|
1525
1525
|
if (!o) return null;
|
|
1526
1526
|
const s = o[1].split(",");
|
|
1527
1527
|
if (3 !== s.length && 5 !== s.length) return null;
|
|
@@ -1581,7 +1581,7 @@ var To = (t) => !0 === t || "1" === t || "on" === t || "true" === t || !1 !== t
|
|
|
1581
1581
|
o.style = Jo(e) ? l.Style.Italic : l.Style.Normal;
|
|
1582
1582
|
break;
|
|
1583
1583
|
case "strike":
|
|
1584
|
-
o.strike =
|
|
1584
|
+
o.strike = Lt(Jo(e));
|
|
1585
1585
|
break;
|
|
1586
1586
|
case "outline":
|
|
1587
1587
|
o.outline = Jo(e);
|
|
@@ -1591,7 +1591,7 @@ var To = (t) => !0 === t || "1" === t || "on" === t || "true" === t || !1 !== t
|
|
|
1591
1591
|
break;
|
|
1592
1592
|
case "condense":
|
|
1593
1593
|
case "extend": {
|
|
1594
|
-
const s =
|
|
1594
|
+
const s = L(t, Jo(e));
|
|
1595
1595
|
void 0 !== s && (o.letterSpacing = s);
|
|
1596
1596
|
break;
|
|
1597
1597
|
}
|
|
@@ -1715,13 +1715,13 @@ var Ko = {
|
|
|
1715
1715
|
if (null !== e) return s?.get(e) || (n?.(`A color filter or sort names a format that does not exist (dxfId '${e}').`), {});
|
|
1716
1716
|
};
|
|
1717
1717
|
let u = !1;
|
|
1718
|
-
const h = a?.get("parseInlineDxf"), d = a?.get(Qo), f = (t) => d && t ? d.readDetached(t) : t,
|
|
1719
|
-
let
|
|
1718
|
+
const h = a?.get("parseInlineDxf"), d = a?.get(Qo), f = (t) => d && t ? d.readDetached(t) : t, m = new k.TransposedBuilder();
|
|
1719
|
+
let y = null, w = "topLeft";
|
|
1720
1720
|
l.registerVisitor({
|
|
1721
1721
|
from: "autoFilter",
|
|
1722
1722
|
to: "autoTable",
|
|
1723
1723
|
openTag: (t) => {
|
|
1724
|
-
const e = t.getAttribute("ref"), o =
|
|
1724
|
+
const e = t.getAttribute("ref"), o = x.fastStringToRange(e);
|
|
1725
1725
|
t.getSource().r = o, t.getSource().v = {};
|
|
1726
1726
|
},
|
|
1727
1727
|
closeTag: (t) => {
|
|
@@ -1756,13 +1756,13 @@ var Ko = {
|
|
|
1756
1756
|
r: e.r,
|
|
1757
1757
|
v: null,
|
|
1758
1758
|
rule: o
|
|
1759
|
-
}), t.copyToObject(o, "type",
|
|
1759
|
+
}), t.copyToObject(o, "type", Co), t.copyToObject(o, "priority", So), t.copyToObject(o, "stopIfTrue", To);
|
|
1760
1760
|
const r = t.getAttribute("dxfId", So);
|
|
1761
1761
|
if (null !== r) {
|
|
1762
1762
|
let e = s?.get(r);
|
|
1763
1763
|
e || (n?.(`Unable to load conditional color. Invalid dxfI: '${r}' at '${t.getPath()}'.`), e = {}), o.style = e;
|
|
1764
1764
|
}
|
|
1765
|
-
t.copyToObject(o, "aboveAverage", To), t.copyToObject(o, "equalAverage", To), t.copyToObject(o, "stdDev", So), t.copyToObject(o, "bottom", To), t.copyToObject(o, "percent", To), t.copyToObject(o, "rank", So), t.copyToObject(o, "operator",
|
|
1765
|
+
t.copyToObject(o, "aboveAverage", To), t.copyToObject(o, "equalAverage", To), t.copyToObject(o, "stdDev", So), t.copyToObject(o, "bottom", To), t.copyToObject(o, "percent", To), t.copyToObject(o, "rank", So), t.copyToObject(o, "operator", Co), t.copyToObject(o, "text", Co), t.copyToObject(o, "timePeriod", Co);
|
|
1766
1766
|
},
|
|
1767
1767
|
closeTag: (t) => {
|
|
1768
1768
|
const e = t.getParent();
|
|
@@ -1773,7 +1773,7 @@ var Ko = {
|
|
|
1773
1773
|
i && (r.condition = i), s.style && (r.style = s.style), s.scale && (r.scale = s.scale), s.stopIfTrue && (r.stopIfTrue = !0), s.pivot && "number" == typeof s.priority && (r.pivotKey = s.priority), o.v = r, o.priority = s.priority, s.x14Id && (o.x14Id = s.x14Id), delete o.rule;
|
|
1774
1774
|
}
|
|
1775
1775
|
});
|
|
1776
|
-
const
|
|
1776
|
+
const T = (t) => {
|
|
1777
1777
|
const e = t.conditions ?? [], o = [];
|
|
1778
1778
|
for (let t = 0; t < e.length; t++) {
|
|
1779
1779
|
const s = e[t], r = {};
|
|
@@ -1786,10 +1786,10 @@ var Ko = {
|
|
|
1786
1786
|
to: {},
|
|
1787
1787
|
openTag: (t) => {},
|
|
1788
1788
|
closeTag: (t) => {
|
|
1789
|
-
const e = t.getSource(), o = e.colors ?? [], s =
|
|
1789
|
+
const e = t.getSource(), o = e.colors ?? [], s = T(e);
|
|
1790
1790
|
for (let t = 0; t < s.length; t++) s[t].color = o[t];
|
|
1791
1791
|
t.getParent().scale = {
|
|
1792
|
-
type:
|
|
1792
|
+
type: g.ScaleType.ColorScale,
|
|
1793
1793
|
stops: s
|
|
1794
1794
|
};
|
|
1795
1795
|
}
|
|
@@ -1801,8 +1801,8 @@ var Ko = {
|
|
|
1801
1801
|
},
|
|
1802
1802
|
closeTag: (t) => {
|
|
1803
1803
|
const e = t.getSource(), o = {
|
|
1804
|
-
type:
|
|
1805
|
-
stops:
|
|
1804
|
+
type: g.ScaleType.DataBar,
|
|
1805
|
+
stops: T(e)
|
|
1806
1806
|
}, s = e.colors?.[0];
|
|
1807
1807
|
s && (o.color = s), void 0 !== e.minLength && (o.minLength = e.minLength), void 0 !== e.maxLength && (o.maxLength = e.maxLength), void 0 !== e.showValue && (o.showValue = e.showValue), t.getParent().scale = o;
|
|
1808
1808
|
}
|
|
@@ -1810,12 +1810,12 @@ var Ko = {
|
|
|
1810
1810
|
from: "iconSet",
|
|
1811
1811
|
to: {},
|
|
1812
1812
|
openTag: (t) => {
|
|
1813
|
-
t.copyTo("iconSet",
|
|
1813
|
+
t.copyTo("iconSet", Co), t.copyTo("reverse", To), t.copyTo("showValue", To);
|
|
1814
1814
|
},
|
|
1815
1815
|
closeTag: (t) => {
|
|
1816
1816
|
const e = t.getSource(), o = {
|
|
1817
|
-
type:
|
|
1818
|
-
stops:
|
|
1817
|
+
type: g.ScaleType.IconSet,
|
|
1818
|
+
stops: T(e)
|
|
1819
1819
|
};
|
|
1820
1820
|
void 0 !== e.iconSet && (o.iconSet = e.iconSet), void 0 !== e.reverse && (o.reverse = e.reverse), void 0 !== e.showValue && (o.showValue = e.showValue), t.getParent().scale = o;
|
|
1821
1821
|
}
|
|
@@ -1834,7 +1834,7 @@ var Ko = {
|
|
|
1834
1834
|
const e = t.getParent();
|
|
1835
1835
|
e.conditions || (e.conditions = []);
|
|
1836
1836
|
const o = t.getSource();
|
|
1837
|
-
if (e.conditions.push(o), t.copyTo("type",
|
|
1837
|
+
if (e.conditions.push(o), t.copyTo("type", Co), o.type === g.ColorStopType.Formula) {
|
|
1838
1838
|
const e = t.getAttribute("val");
|
|
1839
1839
|
null != e && (o.value = f(String(e)));
|
|
1840
1840
|
} else t.copyTo("value", ko, "val");
|
|
@@ -1872,7 +1872,7 @@ var Ko = {
|
|
|
1872
1872
|
from: "colorFilter",
|
|
1873
1873
|
openTag: (t) => {
|
|
1874
1874
|
const e = t.getParent(), o = {};
|
|
1875
|
-
e.operator =
|
|
1875
|
+
e.operator = v.BuiltInOperatorNames.Color, e.param = o, t.copyToObject(o, "cellColor", To);
|
|
1876
1876
|
const s = c(t);
|
|
1877
1877
|
s && (o.style = s);
|
|
1878
1878
|
}
|
|
@@ -1880,13 +1880,13 @@ var Ko = {
|
|
|
1880
1880
|
from: "iconFilter",
|
|
1881
1881
|
openTag: (t) => {
|
|
1882
1882
|
const e = t.getParent(), o = {};
|
|
1883
|
-
e.operator =
|
|
1883
|
+
e.operator = v.BuiltInOperatorNames.Icon, e.param = o, t.copyToObject(o, "iconId", So), t.copyToObject(o, "iconSet", Co);
|
|
1884
1884
|
}
|
|
1885
1885
|
}), l.registerVisitor({
|
|
1886
1886
|
from: "top10",
|
|
1887
1887
|
openTag: (t) => {
|
|
1888
1888
|
const e = t.getParent(), o = {};
|
|
1889
|
-
e.operator =
|
|
1889
|
+
e.operator = v.BuiltInOperatorNames.TopN, e.param = o, t.copyToObject(o, "filterVal", ko), t.copyToObject(o, "percent", To), t.copyToObject(o, "top", To), t.copyToObject(o, "limit", ko, "val");
|
|
1890
1890
|
}
|
|
1891
1891
|
}), l.registerVisitor({
|
|
1892
1892
|
from: "dynamicFilter",
|
|
@@ -1895,43 +1895,43 @@ var Ko = {
|
|
|
1895
1895
|
e.operator = o.operator, e.param = o.param;
|
|
1896
1896
|
}
|
|
1897
1897
|
});
|
|
1898
|
-
const
|
|
1898
|
+
const S = {
|
|
1899
1899
|
from: "filters",
|
|
1900
1900
|
to: {},
|
|
1901
1901
|
openTag: (t) => {
|
|
1902
1902
|
const e = t.getParent(), o = {};
|
|
1903
|
-
return e.selector =
|
|
1903
|
+
return e.selector = v.BuiltInSelectorNames.Display, e.operator = v.BuiltInOperatorNames.InSet, e.param = o, t.copyToObject(o, "blank", To), t.copyToObject(o, "calendarType", Co), o;
|
|
1904
1904
|
}
|
|
1905
1905
|
};
|
|
1906
|
-
l.registerVisitor(
|
|
1907
|
-
const
|
|
1906
|
+
l.registerVisitor(S);
|
|
1907
|
+
const C = {
|
|
1908
1908
|
from: "filter",
|
|
1909
1909
|
openTag: (t) => {
|
|
1910
1910
|
const e = t.getParent();
|
|
1911
1911
|
let o = e.items;
|
|
1912
|
-
o || (o = [], e.items = o), o.push(t.getAttribute("val",
|
|
1912
|
+
o || (o = [], e.items = o), o.push(t.getAttribute("val", Co));
|
|
1913
1913
|
}
|
|
1914
1914
|
};
|
|
1915
|
-
l.registerVisitor(
|
|
1916
|
-
const
|
|
1915
|
+
l.registerVisitor(C);
|
|
1916
|
+
const A = {
|
|
1917
1917
|
from: "dateGroupItem",
|
|
1918
1918
|
to: {},
|
|
1919
1919
|
openTag: (t) => {
|
|
1920
1920
|
const e = t.getParent();
|
|
1921
1921
|
let o = e.dateGroups;
|
|
1922
|
-
o || (o = [], e.dateGroups = o), o.push(t.getSource()), t.copyTo("group",
|
|
1922
|
+
o || (o = [], e.dateGroups = o), o.push(t.getSource()), t.copyTo("group", Co, "dateTimeGrouping"), t.copyTo("day", So), t.copyTo("hour", So), t.copyTo("minute", So), t.copyTo("month", So), t.copyTo("second", So), t.copyTo("year", So);
|
|
1923
1923
|
}
|
|
1924
1924
|
};
|
|
1925
|
-
l.registerVisitor(
|
|
1925
|
+
l.registerVisitor(A);
|
|
1926
1926
|
const E = /* @__PURE__ */ new Map();
|
|
1927
1927
|
E.set("filterColumn", {
|
|
1928
1928
|
from: "filterColumn",
|
|
1929
1929
|
transparent: !0
|
|
1930
|
-
}), E.set("filters",
|
|
1930
|
+
}), E.set("filters", S), E.set("filter", C), E.set("dateGroupItem", A), l.registerVisitor({
|
|
1931
1931
|
from: "customFilters",
|
|
1932
1932
|
openTag: (t) => {
|
|
1933
1933
|
const e = t.getParent(), o = t.getAttribute("and"), s = "and" === o || "1" === o, r = [];
|
|
1934
|
-
return e.operator = s ?
|
|
1934
|
+
return e.operator = s ? v.BuiltInOperatorNames.And : v.BuiltInOperatorNames.Or, e.param = r, t.setSource(e), r;
|
|
1935
1935
|
},
|
|
1936
1936
|
closeTag: (t) => {
|
|
1937
1937
|
const e = t.getSource(), o = e?.param;
|
|
@@ -1963,14 +1963,14 @@ var Ko = {
|
|
|
1963
1963
|
const s = {};
|
|
1964
1964
|
I = {};
|
|
1965
1965
|
const r = t.getAttribute("caseSensitive", To);
|
|
1966
|
-
null != r && (I.collatorOptions = r ?
|
|
1966
|
+
null != r && (I.collatorOptions = r ? b.CaseSensitiveOptions : b.CaseInsensitiveOptions);
|
|
1967
1967
|
const n = t.getAttribute("sortMethod");
|
|
1968
1968
|
"stroke" !== n && "pinYin" !== n || (I.collatorOptions = {
|
|
1969
1969
|
...I.collatorOptions,
|
|
1970
1970
|
collation: "stroke" === n ? "stroke" : "pinyin"
|
|
1971
1971
|
}), t.getAttribute("columnSort", To) && (s.axis = p.Axis.Column);
|
|
1972
1972
|
const i = t.getAttribute("ref"), a = e.r;
|
|
1973
|
-
P = i && a ?
|
|
1973
|
+
P = i && a ? x.fastStringToRange(i) : null, P && (s.extent = { range: Vt(a, P) }), o.sort = s, t.setSource(e);
|
|
1974
1974
|
}
|
|
1975
1975
|
}), l.registerVisitor({
|
|
1976
1976
|
from: "sortCondition",
|
|
@@ -1985,14 +1985,14 @@ var Ko = {
|
|
|
1985
1985
|
const n = t.getAttribute("ref");
|
|
1986
1986
|
let i = 0, a = null;
|
|
1987
1987
|
if (n) {
|
|
1988
|
-
const t =
|
|
1988
|
+
const t = x.fastStringToRange(n, as), o = t.colStart, s = e.r, r = s.colStart;
|
|
1989
1989
|
i = s ? o - r : o, s && P && (a = _t(s, P, t));
|
|
1990
1990
|
}
|
|
1991
1991
|
s.extent && (s.extent.sorts ??= []).push(a);
|
|
1992
1992
|
const l = { ...I }, u = qt(t.getAttribute("sortBy"));
|
|
1993
1993
|
u && (l.sortOn = u);
|
|
1994
1994
|
const h = c(t);
|
|
1995
|
-
h && (l.style = h), t.copyToObject(l, "iconSet",
|
|
1995
|
+
h && (l.style = h), t.copyToObject(l, "iconSet", Co), t.copyToObject(l, "customList", Co), l.reverse = t.getAttribute("descending", To) ?? !1;
|
|
1996
1996
|
const d = {
|
|
1997
1997
|
index: i,
|
|
1998
1998
|
criteria: l
|
|
@@ -2001,9 +2001,9 @@ var Ko = {
|
|
|
2001
2001
|
}
|
|
2002
2002
|
});
|
|
2003
2003
|
const O = (t) => {
|
|
2004
|
-
|
|
2004
|
+
y = t.getSource(), w = "topLeft", t.copyTo("topLeft", Co, "topLeftCell");
|
|
2005
2005
|
const e = ct(t.getAttribute("defaultGridColor")), o = t.getAttribute("colorId");
|
|
2006
|
-
null === o || e || (t.getSource().gridLineColor = "index" + parseFloat(o)), t.copyTo("showZeros", To), t.copyTo("showFormulas", To), t.copyTo("zoomScale", So), t.copyTo("viewMode",
|
|
2006
|
+
null === o || e || (t.getSource().gridLineColor = "index" + parseFloat(o)), t.copyTo("showZeros", To), t.copyTo("showFormulas", To), t.copyTo("zoomScale", So), t.copyTo("viewMode", Co, "view");
|
|
2007
2007
|
const s = {};
|
|
2008
2008
|
for (const [e, o] of Yt) {
|
|
2009
2009
|
const r = t.getAttribute(o, So);
|
|
@@ -2018,7 +2018,7 @@ var Ko = {
|
|
|
2018
2018
|
O(t);
|
|
2019
2019
|
},
|
|
2020
2020
|
closeTag: () => {
|
|
2021
|
-
|
|
2021
|
+
y = null;
|
|
2022
2022
|
}
|
|
2023
2023
|
}), l.registerVisitor({
|
|
2024
2024
|
from: "customSheetViews",
|
|
@@ -2033,16 +2033,16 @@ var Ko = {
|
|
|
2033
2033
|
D = !0, O(t);
|
|
2034
2034
|
},
|
|
2035
2035
|
closeTag: () => {
|
|
2036
|
-
D = !1,
|
|
2036
|
+
D = !1, y = null;
|
|
2037
2037
|
}
|
|
2038
2038
|
}), l.registerVisitor({
|
|
2039
2039
|
from: "selection",
|
|
2040
2040
|
to: null,
|
|
2041
2041
|
openTag: (t) => {
|
|
2042
|
-
if (!
|
|
2042
|
+
if (!y) return;
|
|
2043
2043
|
const e = t.getAttribute("activeCell")?.replace(/\$/g, ""), o = t.getAttribute("sqref")?.replace(/\$/g, ""), s = t.getAttribute("pane") ?? "topLeft";
|
|
2044
|
-
if (s !==
|
|
2045
|
-
const t =
|
|
2044
|
+
if (s !== w) {
|
|
2045
|
+
const t = y.freezePanes;
|
|
2046
2046
|
if (t && e) {
|
|
2047
2047
|
const r = { activeCell: e };
|
|
2048
2048
|
o && o !== e && (r.sqref = o), (t.paneSelections ??= {})[s] = r;
|
|
@@ -2052,19 +2052,19 @@ var Ko = {
|
|
|
2052
2052
|
const r = {};
|
|
2053
2053
|
e && (r.cell = e);
|
|
2054
2054
|
const n = t.getAttribute("activeCellId", So);
|
|
2055
|
-
null !== n && (r.rangeIndex = n), o && o !== e && (r.ranges = o.trim().split(/\s+/)),
|
|
2055
|
+
null !== n && (r.rangeIndex = n), o && o !== e && (r.ranges = o.trim().split(/\s+/)), y.selection = r;
|
|
2056
2056
|
}
|
|
2057
2057
|
}), l.registerVisitor({
|
|
2058
2058
|
from: "pane",
|
|
2059
2059
|
to: null,
|
|
2060
2060
|
openTag: (t) => {
|
|
2061
|
-
if (!
|
|
2062
|
-
|
|
2061
|
+
if (!y) return;
|
|
2062
|
+
w = t.getAttribute("activePane") ?? "topLeft";
|
|
2063
2063
|
const e = t.getAttribute("state");
|
|
2064
2064
|
if ("frozen" === e || "frozenSplit" === e) {
|
|
2065
2065
|
const e = {};
|
|
2066
|
-
|
|
2067
|
-
const o = (
|
|
2066
|
+
y.freezePanes = e, t.copyToObject(e, "topLeft", Co, "topLeftCell");
|
|
2067
|
+
const o = (y.topLeft ? x.fastStringToCell(y.topLeft) : void 0) ?? {
|
|
2068
2068
|
colIndex: 0,
|
|
2069
2069
|
rowIndex: 0
|
|
2070
2070
|
}, s = {
|
|
@@ -2076,7 +2076,7 @@ var Ko = {
|
|
|
2076
2076
|
colIndex: o.colIndex + s.colIndex,
|
|
2077
2077
|
rowIndex: o.rowIndex + s.rowIndex
|
|
2078
2078
|
};
|
|
2079
|
-
e.coords =
|
|
2079
|
+
e.coords = x.cellToString(r);
|
|
2080
2080
|
}
|
|
2081
2081
|
}
|
|
2082
2082
|
}), l.registerVisitor({
|
|
@@ -2265,7 +2265,7 @@ var Ko = {
|
|
|
2265
2265
|
operator: t.getAttribute("operator") ?? void 0
|
|
2266
2266
|
}
|
|
2267
2267
|
};
|
|
2268
|
-
!0 === t.getAttribute("showDropDown", To) && (o.hideDropdown = !0), t.copyToObject(o, "alert",
|
|
2268
|
+
!0 === t.getAttribute("showDropDown", To) && (o.hideDropdown = !0), t.copyToObject(o, "alert", Co, "error"), t.copyToObject(o, "alertTitle", Co, "errorTitle"), t.copyToObject(o, "showAlertMessage", To, "showErrorMessage"), o.alertStyle = t.getAttribute("errorStyle") ?? "stop", t.copyToObject(o, "imeMode"), t.copyToObject(o, "prompt"), t.copyToObject(o, "promptTitle"), t.copyToObject(o, "showPromptMessage", To, "showInputMessage"), t.setSource(s);
|
|
2269
2269
|
},
|
|
2270
2270
|
closeTag: (t) => {
|
|
2271
2271
|
const e = t.getSource();
|
|
@@ -2311,7 +2311,7 @@ var Ko = {
|
|
|
2311
2311
|
}
|
|
2312
2312
|
};
|
|
2313
2313
|
l.registerVisitor(R);
|
|
2314
|
-
const
|
|
2314
|
+
const L = {
|
|
2315
2315
|
from: "timelineRef",
|
|
2316
2316
|
to: {},
|
|
2317
2317
|
openTag: (t) => {
|
|
@@ -2390,7 +2390,7 @@ var Ko = {
|
|
|
2390
2390
|
from: "cfRule",
|
|
2391
2391
|
to: {},
|
|
2392
2392
|
openTag: (t) => {
|
|
2393
|
-
t.copyTo("id",
|
|
2393
|
+
t.copyTo("id", Co), t.copyTo("type", Co), t.copyTo("priority", So), t.copyTo("stopIfTrue", To), t.copyTo("operator", Co), t.copyTo("text", Co), t.copyTo("timePeriod", Co), t.copyTo("aboveAverage", To), t.copyTo("equalAverage", To), t.copyTo("stdDev", So), t.copyTo("bottom", To), t.copyTo("percent", To), t.copyTo("rank", So);
|
|
2394
2394
|
},
|
|
2395
2395
|
closeTag: (t) => {
|
|
2396
2396
|
const e = t.getSource();
|
|
@@ -2403,7 +2403,7 @@ var Ko = {
|
|
|
2403
2403
|
from: "dataBar",
|
|
2404
2404
|
to: {},
|
|
2405
2405
|
openTag: (t) => {
|
|
2406
|
-
t.copyTo("minLength", So), t.copyTo("maxLength", So), t.copyTo("gradient", To), t.copyTo("border", To), t.copyTo("direction",
|
|
2406
|
+
t.copyTo("minLength", So), t.copyTo("maxLength", So), t.copyTo("gradient", To), t.copyTo("border", To), t.copyTo("direction", Co), t.copyTo("axisPosition", Co), t.copyTo("negativeBarColorSameAsPositive", To), t.copyTo("negativeBarBorderColorSameAsPositive", To);
|
|
2407
2407
|
},
|
|
2408
2408
|
closeTag: (t) => {
|
|
2409
2409
|
t.getParent().dataBar = t.getSource();
|
|
@@ -2412,7 +2412,7 @@ var Ko = {
|
|
|
2412
2412
|
from: "iconSet",
|
|
2413
2413
|
to: {},
|
|
2414
2414
|
openTag: (t) => {
|
|
2415
|
-
t.copyTo("iconSet",
|
|
2415
|
+
t.copyTo("iconSet", Co), t.copyTo("custom", To), t.copyTo("reverse", To), t.copyTo("showValue", To);
|
|
2416
2416
|
},
|
|
2417
2417
|
closeTag: (t) => {
|
|
2418
2418
|
t.getParent().iconSet = t.getSource();
|
|
@@ -2432,7 +2432,7 @@ var Ko = {
|
|
|
2432
2432
|
const e = t.getParent();
|
|
2433
2433
|
e.conditions || (e.conditions = []);
|
|
2434
2434
|
const o = t.getSource();
|
|
2435
|
-
e.conditions.push(o), t.copyTo("type",
|
|
2435
|
+
e.conditions.push(o), t.copyTo("type", Co), !1 === t.getAttribute("gte", To) && (o.exclusive = !0);
|
|
2436
2436
|
}
|
|
2437
2437
|
}), G.set("f", j("f", (t, e) => {
|
|
2438
2438
|
const o = e.getParent();
|
|
@@ -2484,7 +2484,7 @@ var Ko = {
|
|
|
2484
2484
|
tt.set("timelineRefs", {
|
|
2485
2485
|
from: "timelineRefs",
|
|
2486
2486
|
transparent: !0
|
|
2487
|
-
}), tt.set("timelineRef",
|
|
2487
|
+
}), tt.set("timelineRef", L);
|
|
2488
2488
|
const st = /* @__PURE__ */ new Map();
|
|
2489
2489
|
st.set("sparklineGroups", {
|
|
2490
2490
|
from: "sparklineGroups",
|
|
@@ -2533,7 +2533,7 @@ var Ko = {
|
|
|
2533
2533
|
t.setSource({ isSparkline: !0 });
|
|
2534
2534
|
},
|
|
2535
2535
|
closeTag: (t) => {
|
|
2536
|
-
const e = t.getSource(), o = t.getParent(), s = e?.sqref?.trim(), r = s ?
|
|
2536
|
+
const e = t.getSource(), o = t.getParent(), s = e?.sqref?.trim(), r = s ? x.fastStringToRange(s.split(/\s+/)[0]) : null;
|
|
2537
2537
|
r ? o.entries.push({
|
|
2538
2538
|
location: {
|
|
2539
2539
|
rowIndex: r.rowStart,
|
|
@@ -2569,7 +2569,7 @@ var Ko = {
|
|
|
2569
2569
|
scope: (t) => {
|
|
2570
2570
|
const e = t.getAttribute("uri"), o = Dt(e), s = it.get(o);
|
|
2571
2571
|
if (s) return s;
|
|
2572
|
-
if (!
|
|
2572
|
+
if (!V.has(o) && !lt.has(o)) {
|
|
2573
2573
|
lt.add(o);
|
|
2574
2574
|
const s = $[o];
|
|
2575
2575
|
t.warn(s ? `Extension content '${s}' (${e}) is not read; it will be lost on resave.` : `Unknown extension content (uri ${e}) is not read; it will be lost on resave.`);
|
|
@@ -2736,20 +2736,20 @@ var Ko = {
|
|
|
2736
2736
|
s ? t.setSource(s) : t.warn("A table part is missing; the table was not imported.", { onceKey: "xlsx.sheet.table.missing" });
|
|
2737
2737
|
}
|
|
2738
2738
|
});
|
|
2739
|
-
const
|
|
2740
|
-
e.conditions?.length && (t.stops =
|
|
2741
|
-
},
|
|
2742
|
-
e.conditions?.length && (t.stops =
|
|
2739
|
+
const Ct = (t, e) => {
|
|
2740
|
+
e.conditions?.length && (t.stops = T(e)), void 0 !== e.minLength && (t.minLength = e.minLength), void 0 !== e.maxLength && (t.maxLength = e.maxLength), (e.gradient ?? 1) && (t.gradient = !0), e.border && e.borderColor && (t.borderColor = e.borderColor), !e.negativeBarColorSameAsPositive && e.negativeFillColor && (t.negativeFillColor = e.negativeFillColor), !(e.negativeBarBorderColorSameAsPositive ?? 1) && e.negativeBorderColor && (t.negativeBorderColor = e.negativeBorderColor), e.axisColor && (t.axisColor = e.axisColor), "middle" !== e.axisPosition && "none" !== e.axisPosition || (t.axisPosition = e.axisPosition), "leftToRight" !== e.direction && "rightToLeft" !== e.direction || (t.direction = e.direction);
|
|
2741
|
+
}, At = (t, e) => {
|
|
2742
|
+
e.conditions?.length && (t.stops = T(e)), e.iconSet && e.iconSet !== t.iconSet && (t.iconSet = e.iconSet), e.icons?.length && (t.icon = e.icons), void 0 !== e.reverse && (t.reverse = e.reverse), void 0 !== e.showValue && (t.showValue = e.showValue);
|
|
2743
2743
|
}, Et = (t) => {
|
|
2744
2744
|
if (!t.sqref) return null;
|
|
2745
2745
|
const e = t.sqref.split(/\s+/).join(",");
|
|
2746
2746
|
if ("iconSet" === t.type) {
|
|
2747
2747
|
if (!t.iconSet) return null;
|
|
2748
2748
|
const o = {
|
|
2749
|
-
type:
|
|
2749
|
+
type: g.ScaleType.IconSet,
|
|
2750
2750
|
stops: []
|
|
2751
2751
|
};
|
|
2752
|
-
return
|
|
2752
|
+
return At(o, t.iconSet), {
|
|
2753
2753
|
r: e,
|
|
2754
2754
|
v: { scale: o },
|
|
2755
2755
|
priority: t.priority
|
|
@@ -2779,7 +2779,7 @@ var Ko = {
|
|
|
2779
2779
|
if (!r) continue;
|
|
2780
2780
|
z.delete(s);
|
|
2781
2781
|
const n = e.v?.scale;
|
|
2782
|
-
r.dataBar && n?.type ===
|
|
2782
|
+
r.dataBar && n?.type === g.ScaleType.DataBar ? Ct(n, r.dataBar) : r.iconSet && n?.type === g.ScaleType.IconSet && At(n, r.iconSet);
|
|
2783
2783
|
}
|
|
2784
2784
|
const s = [...z.values(), ...X], r = /* @__PURE__ */ new Set();
|
|
2785
2785
|
let i = 0;
|
|
@@ -2828,7 +2828,7 @@ var Ko = {
|
|
|
2828
2828
|
}
|
|
2829
2829
|
if (e.sheet) return;
|
|
2830
2830
|
const o = {};
|
|
2831
|
-
t.copyToObject(o, "hash",
|
|
2831
|
+
t.copyToObject(o, "hash", Co, "hashValue"), t.copyToObject(o, "algorithm", Co, "algorithmName"), t.copyToObject(o, "salt", Co, "saltValue"), t.copyToObject(o, "spinCount", So), t.copyToObject(o, "legacyHash", Co, "password"), Object.keys(o).length > 0 && (t.getSource().password = o);
|
|
2832
2832
|
}
|
|
2833
2833
|
}), l.registerVisitor({
|
|
2834
2834
|
from: "protectedRanges",
|
|
@@ -2848,7 +2848,7 @@ var Ko = {
|
|
|
2848
2848
|
};
|
|
2849
2849
|
t.copyToObject(o, "name"), t.copyToObject(o, "securityDescriptor");
|
|
2850
2850
|
const r = {};
|
|
2851
|
-
t.copyToObject(r, "hash",
|
|
2851
|
+
t.copyToObject(r, "hash", Co, "hashValue"), t.copyToObject(r, "algorithm", Co, "algorithmName"), t.copyToObject(r, "salt", Co, "saltValue"), t.copyToObject(r, "spinCount", So), t.copyToObject(r, "legacyHash", Co, "password"), Object.keys(r).length > 0 && (o.password = r), t.setSource(s);
|
|
2852
2852
|
},
|
|
2853
2853
|
closeTag: (t) => {
|
|
2854
2854
|
const e = t.getSource();
|
|
@@ -2875,7 +2875,7 @@ var Ko = {
|
|
|
2875
2875
|
to: [],
|
|
2876
2876
|
openTag: (t) => {
|
|
2877
2877
|
const e = t.getSource(), o = t.getAttribute("min"), s = t.getAttribute("max"), r = void 0 === o ? 0 : parseInt(o) - 1, n = void 0 === s ? r : parseInt(s) - 1;
|
|
2878
|
-
e.r =
|
|
2878
|
+
e.r = x.runToString(r, n, !0);
|
|
2879
2879
|
const i = {};
|
|
2880
2880
|
e.v = i, t.copyToObject(i, "sz", ko, "width"), t.copyToObject(i, "csz", To, "customWidth"), t.copyToObject(i, "h", To, "hidden"), t.copyToObject(i, "l", So, "outlineLevel"), t.copyToObject(i, "cl", To, "collapsed"), t.getAttribute("bestFit", To) && (i.bf = !0), t.copyToObject(i, "s", So, "style");
|
|
2881
2881
|
}
|
|
@@ -2886,12 +2886,12 @@ var Ko = {
|
|
|
2886
2886
|
t.warn("'OLE Objects' are not supported.");
|
|
2887
2887
|
}
|
|
2888
2888
|
});
|
|
2889
|
-
let It = !1, Pt = !1, Ot = 0, Nt = "",
|
|
2889
|
+
let It = !1, Pt = !1, Ot = 0, Nt = "", Lt = "";
|
|
2890
2890
|
const jt = (t) => {
|
|
2891
2891
|
const e = t.indexOf(":");
|
|
2892
2892
|
return -1 === e ? t : t.slice(e + 1);
|
|
2893
2893
|
}, Bt = new Uo();
|
|
2894
|
-
return cs(
|
|
2894
|
+
return cs(m, t, l.createEventHandler(t, r, n), n, i, {
|
|
2895
2895
|
onOpenTag: (t) => {
|
|
2896
2896
|
It = !0;
|
|
2897
2897
|
const e = jt(t.name);
|
|
@@ -2909,7 +2909,7 @@ var Ko = {
|
|
|
2909
2909
|
const t = Bt.take();
|
|
2910
2910
|
It = !1, Pt = !1, Ot = 0;
|
|
2911
2911
|
const e = W(Nt);
|
|
2912
|
-
return Nt = "",
|
|
2912
|
+
return Nt = "", Lt = e, t ? {
|
|
2913
2913
|
t: "r",
|
|
2914
2914
|
v: {
|
|
2915
2915
|
type: "richText",
|
|
@@ -2918,7 +2918,7 @@ var Ko = {
|
|
|
2918
2918
|
} : o(e);
|
|
2919
2919
|
},
|
|
2920
2920
|
onError: (t) => {}
|
|
2921
|
-
}, a, o, () => u, () =>
|
|
2921
|
+
}, a, o, () => u, () => Lt);
|
|
2922
2922
|
}, rs = class {
|
|
2923
2923
|
static {
|
|
2924
2924
|
this.Collapsed = 1;
|
|
@@ -2958,12 +2958,12 @@ var Ko = {
|
|
|
2958
2958
|
rowStart: 0,
|
|
2959
2959
|
rowEnd: 0
|
|
2960
2960
|
}, ls = (t) => "1" === t || "true" === t, cs = (t, e, o, s, i, a, l, c, u, h) => {
|
|
2961
|
-
let
|
|
2962
|
-
const
|
|
2963
|
-
let
|
|
2961
|
+
let g = !1;
|
|
2962
|
+
const m = [], b = l?.get(es), y = l?.get(os), v = /* @__PURE__ */ new Map();
|
|
2963
|
+
let w = !1, T = [], k = !1, C = null, A = null, I = null, P = null, O = null, D = null;
|
|
2964
2964
|
const N = l?.get("richData") ?? r.EmptyArray;
|
|
2965
2965
|
let M = null, $ = !1;
|
|
2966
|
-
const R =
|
|
2966
|
+
const R = x.normalizeA1ToR1C1, V = n.createConflatingRanges(), L = /* @__PURE__ */ new Map(), j = [], B = [];
|
|
2967
2967
|
let F = !1, H = !1, W = null;
|
|
2968
2968
|
const z = (t) => {
|
|
2969
2969
|
const e = (l?.get("metadata"))?.values;
|
|
@@ -2988,15 +2988,15 @@ var Ko = {
|
|
|
2988
2988
|
});
|
|
2989
2989
|
let tt = null;
|
|
2990
2990
|
const et = [];
|
|
2991
|
-
let ot = null, rt = -2, nt = 0, it = "", at = "", lt = "", ct = "", ut = "", ht = "", dt = "", pt = "", ft = "", gt = "", mt = "", bt = "", yt = "", vt = "", xt = !0, wt = null, Tt = !1, St = !1, kt = !1,
|
|
2991
|
+
let ot = null, rt = -2, nt = 0, it = "", at = "", lt = "", ct = "", ut = "", ht = "", dt = "", pt = "", ft = "", gt = "", mt = "", bt = "", yt = "", vt = "", xt = !0, wt = null, Tt = !1, St = !1, kt = !1, Ct = null, At = 0;
|
|
2992
2992
|
const Et = (t) => {
|
|
2993
2993
|
let s = t.name;
|
|
2994
2994
|
const r = s.indexOf(":");
|
|
2995
|
-
if (-1 !== r && (s = s.slice(r + 1)),
|
|
2995
|
+
if (-1 !== r && (s = s.slice(r + 1)), At++, At % 196608 == 0 && i?.(At), Q) {
|
|
2996
2996
|
const e = t.attributes;
|
|
2997
2997
|
switch (s) {
|
|
2998
2998
|
case "v":
|
|
2999
|
-
|
|
2999
|
+
w = !0;
|
|
3000
3000
|
break;
|
|
3001
3001
|
case "f":
|
|
3002
3002
|
switch (k = !0, e.t ?? null) {
|
|
@@ -3004,19 +3004,19 @@ var Ko = {
|
|
|
3004
3004
|
case "normal": break;
|
|
3005
3005
|
case "shared":
|
|
3006
3006
|
const t = e.si;
|
|
3007
|
-
|
|
3007
|
+
A = e.ref, C = t;
|
|
3008
3008
|
break;
|
|
3009
3009
|
case "array":
|
|
3010
|
-
|
|
3010
|
+
A = e.ref, W = A;
|
|
3011
3011
|
break;
|
|
3012
3012
|
case "dataTable": {
|
|
3013
3013
|
const t = ((t, e, o) => {
|
|
3014
3014
|
const s = t.r1, r = ls(t.del1);
|
|
3015
3015
|
if (!s && !r) return null;
|
|
3016
|
-
const n = t.ref ??
|
|
3016
|
+
const n = t.ref ?? x.cellToString({
|
|
3017
3017
|
rowIndex: e,
|
|
3018
3018
|
colIndex: o
|
|
3019
|
-
}), i =
|
|
3019
|
+
}), i = x.fastStringToRange(n);
|
|
3020
3020
|
if (!i) return null;
|
|
3021
3021
|
const a = { ref: {
|
|
3022
3022
|
rowStart: i.rowStart,
|
|
@@ -3044,21 +3044,21 @@ var Ko = {
|
|
|
3044
3044
|
G && !k && a?.onOpenTag?.(t);
|
|
3045
3045
|
return;
|
|
3046
3046
|
}
|
|
3047
|
-
if (
|
|
3047
|
+
if (g) {
|
|
3048
3048
|
if ("c" === s) {
|
|
3049
3049
|
Q = t, U = void 0;
|
|
3050
3050
|
const e = t.attributes, o = e.r;
|
|
3051
|
-
J = void 0 !== o ?
|
|
3051
|
+
J = void 0 !== o ? x.fastStringToCol(o) : J + 1;
|
|
3052
3052
|
const s = e.t;
|
|
3053
3053
|
void 0 === s ? tt = null : (tt = s, "str" === tt && (G = !0));
|
|
3054
3054
|
let r = e.s;
|
|
3055
|
-
void 0 === r && (null !==
|
|
3055
|
+
void 0 === r && (null !== Ct || kt) && (r = "0"), void 0 !== r && (r = parseInt(r), wt && wt.value === r && wt.colEnd + 1 === J ? wt.colEnd = J : (wt = {
|
|
3056
3056
|
colStart: J,
|
|
3057
3057
|
rowStart: K,
|
|
3058
3058
|
colEnd: J,
|
|
3059
3059
|
rowEnd: K,
|
|
3060
3060
|
value: r
|
|
3061
|
-
},
|
|
3061
|
+
}, T.push(wt))), W = null, H = !1, $ = !1;
|
|
3062
3062
|
const n = e.cm;
|
|
3063
3063
|
F = void 0 !== n && ((t) => {
|
|
3064
3064
|
const e = (l?.get("metadata"))?.cells;
|
|
@@ -3069,36 +3069,36 @@ var Ko = {
|
|
|
3069
3069
|
const i = e.vm;
|
|
3070
3070
|
if (void 0 !== i) {
|
|
3071
3071
|
const t = z(i);
|
|
3072
|
-
if (
|
|
3072
|
+
if (f.isError(t)) {
|
|
3073
3073
|
const e = t.getCode();
|
|
3074
3074
|
Z = {
|
|
3075
3075
|
t: "e",
|
|
3076
3076
|
v: e
|
|
3077
|
-
}, F && e ===
|
|
3077
|
+
}, F && e === f.Code.Spill && (H = !0);
|
|
3078
3078
|
}
|
|
3079
3079
|
}
|
|
3080
3080
|
}
|
|
3081
3081
|
} else {
|
|
3082
3082
|
if (St && "row" === s) {
|
|
3083
|
-
|
|
3083
|
+
g = !0;
|
|
3084
3084
|
const e = t.attributes.r;
|
|
3085
3085
|
if (K = void 0 !== e ? parseInt(e) - 1 : K + 1, J = -1, u?.()) {
|
|
3086
|
-
const t =
|
|
3087
|
-
t && t.max + 1 === K ? t.max = K :
|
|
3086
|
+
const t = m[m.length - 1];
|
|
3087
|
+
t && t.max + 1 === K ? t.max = K : m.push({
|
|
3088
3088
|
min: K,
|
|
3089
3089
|
max: K
|
|
3090
3090
|
});
|
|
3091
3091
|
}
|
|
3092
3092
|
if (nt = 0, at = t.attributes.customHeight, void 0 !== at && (nt |= rs.CustomHeight), at !== ft && (xt = !0, ft = at), it = t.attributes.ht, void 0 !== it && (nt |= rs.Ht), it !== pt && (xt = !0, pt = it), lt = t.attributes.hidden, void 0 !== lt && (nt |= rs.Hidden), lt !== gt && (xt = !0, gt = lt), ut = t.attributes.s, void 0 !== ut && (nt |= rs.S), ut !== bt && (xt = !0, bt = ut), ct = t.attributes.customFormat, void 0 !== ct && (nt |= rs.CustomFormat), ct !== mt && (xt = !0, mt = ct), ht = t.attributes.outlineLevel, void 0 !== ht && (nt |= rs.OutlineLevel), ht !== yt && (xt = !0, yt = ht), dt = t.attributes.collapsed, void 0 !== dt && (nt |= rs.Collapsed), dt !== vt && (xt = !0, vt = dt), 0 !== nt) if (rt + 1 !== K || xt) {
|
|
3093
3093
|
const t = void 0 !== at && ("1" === at || "true" === at), e = void 0 !== ct && ("1" === ct || "true" === ct);
|
|
3094
|
-
|
|
3094
|
+
Ct = e && void 0 !== ut ? ut : null, e && null === Ct && (Ct = "0"), ot = {
|
|
3095
3095
|
min: K,
|
|
3096
3096
|
max: K,
|
|
3097
3097
|
value: {
|
|
3098
3098
|
sz: void 0 === it ? -1 : parseFloat(it),
|
|
3099
3099
|
csz: t,
|
|
3100
3100
|
h: void 0 !== lt && ("1" === lt || "true" === lt),
|
|
3101
|
-
s: null ===
|
|
3101
|
+
s: null === Ct ? void 0 : "0" === Ct ? 0 : parseInt(Ct),
|
|
3102
3102
|
l: void 0 === ht || "0" === ht ? 0 : parseInt(ht),
|
|
3103
3103
|
cl: void 0 !== dt && ("1" === dt || "true" === dt)
|
|
3104
3104
|
}
|
|
@@ -3116,7 +3116,7 @@ var Ko = {
|
|
|
3116
3116
|
}
|
|
3117
3117
|
}, It = (e) => {
|
|
3118
3118
|
let s = e.name;
|
|
3119
|
-
if ("sheetData" === s && (St = !1), !k || "c" !== s && "f" !== s || (C && (P =
|
|
3119
|
+
if ("sheetData" === s && (St = !1), !k || "c" !== s && "f" !== s || (C && (P = L.get(C) ?? null), P && (U = ((t) => {
|
|
3120
3120
|
if (t.length < 11 || 104 != (32 | t.charCodeAt(0))) return;
|
|
3121
3121
|
if (!/^HYPERLINK\(/i.test(t)) return;
|
|
3122
3122
|
let e = 1, o = !1, s = 10;
|
|
@@ -3127,34 +3127,34 @@ var Ko = {
|
|
|
3127
3127
|
if (0 !== e || t.slice(s).trim().length > 0) return;
|
|
3128
3128
|
const r = /^HYPERLINK\(\s*"((?:[^"]|"")*)"\s*[,)]/i.exec(t);
|
|
3129
3129
|
return r ? r[1].replace(/""/g, "\"") : null;
|
|
3130
|
-
})(P[2]),
|
|
3130
|
+
})(P[2]), V.append(K, J, P), X && q.append(K, J)), null !== W && j.push([W, F ? H ? "error" : "dynamic" : "fixed"]), k = !1, P = null, C = null, A = null, w = !1, X = !1, W = null, F = !1, H = !1), Q) {
|
|
3131
3131
|
const o = s.indexOf(":");
|
|
3132
3132
|
if (-1 !== o && (s = s.slice(o + 1)), G) if ("is" === s || "v" === s) {
|
|
3133
3133
|
const e = a?.onEnd?.();
|
|
3134
3134
|
null == e || $ && "" === h?.() || t.pushAt(K, J, void 0 !== U && "number" == typeof e ? Y(h?.() ?? "") : "number" == typeof e ? "" + e : e);
|
|
3135
3135
|
} else "f" !== s && a?.onCloseTag?.(e);
|
|
3136
|
-
|
|
3136
|
+
w && (w = !1), "c" === s && (Q = null, G = !1);
|
|
3137
3137
|
return;
|
|
3138
3138
|
}
|
|
3139
|
-
if (
|
|
3139
|
+
if (g) return g = !1, void (wt = null);
|
|
3140
3140
|
o?.onCloseTag?.(e);
|
|
3141
3141
|
}, Pt = (e) => {
|
|
3142
3142
|
const r = e.trim();
|
|
3143
|
-
if (
|
|
3143
|
+
if (w) {
|
|
3144
3144
|
switch (Z = null, tt) {
|
|
3145
3145
|
case null:
|
|
3146
3146
|
case "n":
|
|
3147
|
-
Z =
|
|
3147
|
+
Z = d.flushSubnormal(parseFloat(r));
|
|
3148
3148
|
break;
|
|
3149
3149
|
case "b":
|
|
3150
3150
|
Z = "1" === r || "true" === r;
|
|
3151
3151
|
break;
|
|
3152
3152
|
case "s": {
|
|
3153
3153
|
const t = parseInt(r, 10);
|
|
3154
|
-
let e =
|
|
3154
|
+
let e = v.get(t);
|
|
3155
3155
|
if (void 0 === e) {
|
|
3156
|
-
const o =
|
|
3157
|
-
e = o ? Go(o,
|
|
3156
|
+
const o = b?.get(t);
|
|
3157
|
+
e = o ? Go(o, y) : null, v.set(t, e);
|
|
3158
3158
|
}
|
|
3159
3159
|
Z = e ? {
|
|
3160
3160
|
t: "r",
|
|
@@ -3186,7 +3186,7 @@ var Ko = {
|
|
|
3186
3186
|
}
|
|
3187
3187
|
return void 0 !== a && (h += (3600 * parseInt(a, 10) + 60 * parseInt(l, 10) + (void 0 !== c ? parseInt(c, 10) : 0) + (void 0 !== u ? parseFloat(u) : 0)) / 86400), h;
|
|
3188
3188
|
})(r, !0 === l?.get(ts));
|
|
3189
|
-
null !== t ? Z = t : c && (s?.(`Date '${r}' in cell ${
|
|
3189
|
+
null !== t ? Z = t : c && (s?.(`Date '${r}' in cell ${x.cellToString({
|
|
3190
3190
|
colIndex: J,
|
|
3191
3191
|
rowIndex: K
|
|
3192
3192
|
})} is not a date this workbook can hold; kept as text.`, void 0, "xlsx.cell.isoDateText"), Z = "" + c(r));
|
|
@@ -3197,14 +3197,14 @@ var Ko = {
|
|
|
3197
3197
|
const t = Q.attributes.vm;
|
|
3198
3198
|
if (void 0 !== t) {
|
|
3199
3199
|
const e = z(t);
|
|
3200
|
-
if (
|
|
3200
|
+
if (f.isError(e)) {
|
|
3201
3201
|
Z = {
|
|
3202
3202
|
t: "e",
|
|
3203
3203
|
v: e.getCode()
|
|
3204
3204
|
};
|
|
3205
3205
|
break;
|
|
3206
3206
|
}
|
|
3207
|
-
if (
|
|
3207
|
+
if (S.isJSON(e)) {
|
|
3208
3208
|
Z = {
|
|
3209
3209
|
t: "r",
|
|
3210
3210
|
v: e
|
|
@@ -3213,11 +3213,11 @@ var Ko = {
|
|
|
3213
3213
|
}
|
|
3214
3214
|
}
|
|
3215
3215
|
}
|
|
3216
|
-
const t =
|
|
3216
|
+
const t = f.getBuiltInByLabel(r);
|
|
3217
3217
|
t ? Z = {
|
|
3218
3218
|
t: "e",
|
|
3219
3219
|
v: t.getCode()
|
|
3220
|
-
} : (Z = r, s?.(`Unknown formula error '${r}' in cell ${
|
|
3220
|
+
} : (Z = r, s?.(`Unknown formula error '${r}' in cell ${x.cellToString({
|
|
3221
3221
|
colIndex: J,
|
|
3222
3222
|
rowIndex: K
|
|
3223
3223
|
})}`));
|
|
@@ -3231,13 +3231,13 @@ var Ko = {
|
|
|
3231
3231
|
if (C) {
|
|
3232
3232
|
if (O === C) P = D;
|
|
3233
3233
|
else {
|
|
3234
|
-
if (P =
|
|
3234
|
+
if (P = L.get(C) ?? null, !P) {
|
|
3235
3235
|
const t = [];
|
|
3236
3236
|
I = R(r, K, J, t), P = [
|
|
3237
3237
|
I,
|
|
3238
3238
|
t,
|
|
3239
3239
|
r
|
|
3240
|
-
],
|
|
3240
|
+
], L.set(C, P);
|
|
3241
3241
|
}
|
|
3242
3242
|
O = C, D = P;
|
|
3243
3243
|
}
|
|
@@ -3261,7 +3261,7 @@ var Ko = {
|
|
|
3261
3261
|
formula: o
|
|
3262
3262
|
};
|
|
3263
3263
|
})(r);
|
|
3264
|
-
"none" !== o.kind && (M ??= new Ro(e), "spilled" === o.kind ? $ = M.placeholder(K, J) : M.anchor(K, J, o.formula) && (t = o.formula, X ||= ((t) => $o(t).some((t) => _(t) || !0 ===
|
|
3264
|
+
"none" !== o.kind && (M ??= new Ro(e), "spilled" === o.kind ? $ = M.placeholder(K, J) : M.anchor(K, J, o.formula) && (t = o.formula, X ||= ((t) => $o(t).some((t) => _(t) || !0 === E.get(t)?.getDeclaration().getReturnType()?.isVolatile()))(t)));
|
|
3265
3265
|
}
|
|
3266
3266
|
if ($) X = !1;
|
|
3267
3267
|
else {
|
|
@@ -3273,7 +3273,7 @@ var Ko = {
|
|
|
3273
3273
|
];
|
|
3274
3274
|
}
|
|
3275
3275
|
}
|
|
3276
|
-
G ? a?.onText?.(e) :
|
|
3276
|
+
G ? a?.onText?.(e) : g || o?.onText?.(r);
|
|
3277
3277
|
}, Ot = {
|
|
3278
3278
|
r: void 0,
|
|
3279
3279
|
t: void 0,
|
|
@@ -3310,30 +3310,30 @@ var Ko = {
|
|
|
3310
3310
|
name: "row",
|
|
3311
3311
|
attributes: $t,
|
|
3312
3312
|
isSelfClosing: !1
|
|
3313
|
-
},
|
|
3313
|
+
}, Vt = wo.NEED_MORE, Lt = wo.NOT_HANDLED, jt = wo.decodeText;
|
|
3314
3314
|
let Bt = !1;
|
|
3315
3315
|
const Ft = (t, e, o, s) => {
|
|
3316
3316
|
for (;;) {
|
|
3317
3317
|
let r = 0;
|
|
3318
3318
|
for (; e < o && (32 === (r = t.charCodeAt(e)) || 9 === r || 10 === r || 13 === r);) e++;
|
|
3319
|
-
if (e >= o) return
|
|
3319
|
+
if (e >= o) return Vt;
|
|
3320
3320
|
if (62 === r) return Bt = !1, e + 1;
|
|
3321
|
-
if (47 === r) return e + 1 >= o ?
|
|
3321
|
+
if (47 === r) return e + 1 >= o ? Vt : 62 !== t.charCodeAt(e + 1) ? Lt : (Bt = !0, e + 2);
|
|
3322
3322
|
const n = e;
|
|
3323
3323
|
for (; e < o && 61 !== (r = t.charCodeAt(e));) {
|
|
3324
|
-
if (62 === r || 47 === r || 32 === r || 9 === r || 10 === r || 13 === r) return
|
|
3324
|
+
if (62 === r || 47 === r || 32 === r || 9 === r || 10 === r || 13 === r) return Lt;
|
|
3325
3325
|
e++;
|
|
3326
3326
|
}
|
|
3327
|
-
if (e + 1 >= o) return
|
|
3327
|
+
if (e + 1 >= o) return Vt;
|
|
3328
3328
|
const i = e - n, a = t.charCodeAt(e + 1);
|
|
3329
|
-
if (34 !== a && 39 !== a) return
|
|
3329
|
+
if (34 !== a && 39 !== a) return Lt;
|
|
3330
3330
|
const l = e + 2;
|
|
3331
3331
|
let c = l;
|
|
3332
3332
|
for (; c < o && (r = t.charCodeAt(c)) !== a;) {
|
|
3333
|
-
if (38 === r || r < 32) return
|
|
3333
|
+
if (38 === r || r < 32) return Lt;
|
|
3334
3334
|
c++;
|
|
3335
3335
|
}
|
|
3336
|
-
if (c >= o) return
|
|
3336
|
+
if (c >= o) return Vt;
|
|
3337
3337
|
e = c + 1;
|
|
3338
3338
|
const u = t.charCodeAt(n);
|
|
3339
3339
|
if (2 === s) switch (i) {
|
|
@@ -3376,11 +3376,11 @@ var Ko = {
|
|
|
3376
3376
|
cl: !1
|
|
3377
3377
|
}
|
|
3378
3378
|
});
|
|
3379
|
-
for (const s of
|
|
3379
|
+
for (const s of m) s.min > t && e.push(o(t, s.min - 1)), t = Math.max(t, s.max + 1);
|
|
3380
3380
|
t <= 1048575 && e.push(o(t, 1048575)), e.length > 0 && (et.push(...e), et.sort((t, e) => t.min - e.min));
|
|
3381
3381
|
}
|
|
3382
|
-
et.length > 0 && (e.rows =
|
|
3383
|
-
let s =
|
|
3382
|
+
et.length > 0 && (e.rows = x.runsToRefs(et, !1));
|
|
3383
|
+
let s = V.done(ns);
|
|
3384
3384
|
s = ((t, e) => {
|
|
3385
3385
|
let o = null;
|
|
3386
3386
|
for (let e = 0; e < t.length; e++) {
|
|
@@ -3405,7 +3405,7 @@ var Ko = {
|
|
|
3405
3405
|
o.rowStart < r.rowStart && (r.rowStart = o.rowStart), o.colStart < r.colStart && (r.colStart = o.colStart), o.rowEnd > r.rowEnd && (r.rowEnd = o.rowEnd), o.colEnd > r.colEnd && (r.colEnd = o.colEnd), n += (o.rowEnd - o.rowStart + 1) * (o.colEnd - o.colStart + 1);
|
|
3406
3406
|
}
|
|
3407
3407
|
if (n !== (r.rowEnd - r.rowStart + 1) * (r.colEnd - r.colStart + 1)) continue;
|
|
3408
|
-
const i = Fo(
|
|
3408
|
+
const i = Fo(x.resolveRelativeToA1(o.value[1], r.rowStart, r.colStart), r);
|
|
3409
3409
|
if (i) {
|
|
3410
3410
|
e.push(i);
|
|
3411
3411
|
for (let e = 0; e < t.length; e++) s.add(t[e]);
|
|
@@ -3417,15 +3417,15 @@ var Ko = {
|
|
|
3417
3417
|
if (r > 0 || B.length > 0) {
|
|
3418
3418
|
const t = new Array(r);
|
|
3419
3419
|
for (let e = 0; e < r; e++) {
|
|
3420
|
-
const o = s[e], r =
|
|
3420
|
+
const o = s[e], r = x.rangeToString(o), n = o.value[1], i = x.resolveRelativeToA1(n, o.rowStart, o.colStart);
|
|
3421
3421
|
t[e] = [r, i];
|
|
3422
3422
|
}
|
|
3423
3423
|
for (let e = 0; e < B.length; e++) {
|
|
3424
3424
|
const o = B[e], s = o.ref;
|
|
3425
|
-
t.push([
|
|
3425
|
+
t.push([x.cellToString({
|
|
3426
3426
|
rowIndex: s.rowStart,
|
|
3427
3427
|
colIndex: s.colStart
|
|
3428
|
-
}), st(o)]), j.push([
|
|
3428
|
+
}), st(o)]), j.push([x.rangeToString(s), "dynamic"]);
|
|
3429
3429
|
}
|
|
3430
3430
|
e.formulas = t;
|
|
3431
3431
|
}
|
|
@@ -3433,23 +3433,23 @@ var Ko = {
|
|
|
3433
3433
|
if (a > 0) {
|
|
3434
3434
|
const t = new Array(a);
|
|
3435
3435
|
for (let e = 0; e < a; e++) {
|
|
3436
|
-
const o = i[e], s =
|
|
3436
|
+
const o = i[e], s = x.rangeToString(o);
|
|
3437
3437
|
t[e] = s;
|
|
3438
3438
|
}
|
|
3439
3439
|
e.volatile = t;
|
|
3440
3440
|
}
|
|
3441
3441
|
M && j.push(...M.getFormulaArray()), j.length > 0 && (e.formulaArray = [...j]);
|
|
3442
|
-
const l =
|
|
3442
|
+
const l = T.length;
|
|
3443
3443
|
if (l > 0) {
|
|
3444
|
-
|
|
3445
|
-
let t =
|
|
3444
|
+
T.sort(n.createRangeComparator(p.Axis.Column));
|
|
3445
|
+
let t = T[0], o = t.colStart, s = t.colEnd, r = t.rowEnd, i = t.value;
|
|
3446
3446
|
const a = [];
|
|
3447
3447
|
a.push(t);
|
|
3448
3448
|
let c = null;
|
|
3449
|
-
for (let e = 1; e < l; e++) c =
|
|
3449
|
+
for (let e = 1; e < l; e++) c = T[e], i !== c.value || o !== c.colStart || s !== c.colEnd || r + 1 !== c.rowEnd ? (a.push(c), t = c, o = t.colStart, s = t.colEnd, r = t.rowEnd, i = t.value) : (r = c.rowEnd, t.rowEnd = r);
|
|
3450
3450
|
const u = a.length, h = new Array(u);
|
|
3451
3451
|
for (let t = 0; t < u; t++) {
|
|
3452
|
-
const e = a[t], o =
|
|
3452
|
+
const e = a[t], o = x.rangeToString(e);
|
|
3453
3453
|
h[t] = [o, e.value];
|
|
3454
3454
|
}
|
|
3455
3455
|
e.directStyles = h;
|
|
@@ -3463,44 +3463,44 @@ var Ko = {
|
|
|
3463
3463
|
elementScanners: [{
|
|
3464
3464
|
name: "c",
|
|
3465
3465
|
scan: (t, e, o) => {
|
|
3466
|
-
if (!
|
|
3466
|
+
if (!g || null !== Q) return Lt;
|
|
3467
3467
|
Ot.r = Ot.t = Ot.s = Ot.cm = Ot.vm = void 0;
|
|
3468
3468
|
let s = Ft(t, e + 2, o, 0);
|
|
3469
3469
|
if (s < 0) return s;
|
|
3470
3470
|
const r = Ot.t;
|
|
3471
|
-
if (void 0 === Ot.r || "str" === r || "inlineStr" === r) return
|
|
3471
|
+
if (void 0 === Ot.r || "str" === r || "inlineStr" === r) return Lt;
|
|
3472
3472
|
let n = !1, i = -1, a = -1, l = -1, c = -1, u = s;
|
|
3473
3473
|
if (!Bt) for (Nt.t = Nt.si = Nt.ref = Nt.ca = void 0;;) {
|
|
3474
3474
|
const e = t.indexOf("<", s);
|
|
3475
|
-
if (-1 === e || e + 3 >= o) return
|
|
3475
|
+
if (-1 === e || e + 3 >= o) return Vt;
|
|
3476
3476
|
for (let o = s; o < e; o++) {
|
|
3477
3477
|
const e = t.charCodeAt(o);
|
|
3478
|
-
if (32 !== e && 9 !== e && 10 !== e && 13 !== e) return
|
|
3478
|
+
if (32 !== e && 9 !== e && 10 !== e && 13 !== e) return Lt;
|
|
3479
3479
|
}
|
|
3480
3480
|
const r = t.charCodeAt(e + 1), h = t.charCodeAt(e + 2);
|
|
3481
3481
|
if (47 === r) {
|
|
3482
|
-
if (!Ht(t, e, 99)) return
|
|
3482
|
+
if (!Ht(t, e, 99)) return Lt;
|
|
3483
3483
|
u = e + 4;
|
|
3484
3484
|
break;
|
|
3485
3485
|
}
|
|
3486
3486
|
if (102 === r && !n && -1 === l && (32 === h || 62 === h || 47 === h)) {
|
|
3487
3487
|
if (n = !0, s = Ft(t, e + 2, o, 1), s < 0) return s;
|
|
3488
|
-
if ("dataTable" === Nt.t) return
|
|
3488
|
+
if ("dataTable" === Nt.t) return Lt;
|
|
3489
3489
|
if (Bt) continue;
|
|
3490
3490
|
const r = t.indexOf("<", s);
|
|
3491
|
-
if (-1 === r || r + 3 >= o) return
|
|
3492
|
-
if (!Ht(t, r, 102)) return
|
|
3491
|
+
if (-1 === r || r + 3 >= o) return Vt;
|
|
3492
|
+
if (!Ht(t, r, 102)) return Lt;
|
|
3493
3493
|
i = s, a = r, s = r + 4;
|
|
3494
3494
|
continue;
|
|
3495
3495
|
}
|
|
3496
3496
|
if (118 === r && 62 === h && -1 === l) {
|
|
3497
3497
|
const r = t.indexOf("<", e + 3);
|
|
3498
|
-
if (-1 === r || r + 3 >= o) return
|
|
3499
|
-
if (!Ht(t, r, 118)) return
|
|
3498
|
+
if (-1 === r || r + 3 >= o) return Vt;
|
|
3499
|
+
if (!Ht(t, r, 118)) return Lt;
|
|
3500
3500
|
l = e + 3, c = r, s = r + 4;
|
|
3501
3501
|
continue;
|
|
3502
3502
|
}
|
|
3503
|
-
return
|
|
3503
|
+
return Lt;
|
|
3504
3504
|
}
|
|
3505
3505
|
return Et(Dt), n && (Et(_t), a > i && Pt(jt(t.slice(i, a))), It(_t)), -1 !== l && (Et(Mt), c > l && Pt(jt(t.slice(l, c))), It(Mt)), It(Dt), u;
|
|
3506
3506
|
}
|
|
@@ -3508,10 +3508,10 @@ var Ko = {
|
|
|
3508
3508
|
name: "row",
|
|
3509
3509
|
openTag: Rt,
|
|
3510
3510
|
scan: (t, e, o) => {
|
|
3511
|
-
if (!St ||
|
|
3511
|
+
if (!St || g || null !== Q) return Lt;
|
|
3512
3512
|
$t.r = $t.s = $t.ht = $t.hidden = $t.collapsed = $t.customHeight = $t.customFormat = $t.outlineLevel = void 0;
|
|
3513
3513
|
const s = Ft(t, e + 4, o, 2);
|
|
3514
|
-
return s < 0 ? s : Bt || void 0 === $t.r ?
|
|
3514
|
+
return s < 0 ? s : Bt || void 0 === $t.r ? Lt : (Et(Rt), s);
|
|
3515
3515
|
}
|
|
3516
3516
|
}]
|
|
3517
3517
|
};
|
|
@@ -3597,43 +3597,43 @@ var ms = {
|
|
|
3597
3597
|
Company: "company",
|
|
3598
3598
|
Manager: "manager"
|
|
3599
3599
|
}, ys = {
|
|
3600
|
-
lpwstr:
|
|
3601
|
-
lpstr:
|
|
3602
|
-
bstr:
|
|
3603
|
-
i1:
|
|
3604
|
-
i2:
|
|
3605
|
-
i4:
|
|
3606
|
-
i8:
|
|
3607
|
-
int:
|
|
3608
|
-
ui1:
|
|
3609
|
-
ui2:
|
|
3610
|
-
ui4:
|
|
3611
|
-
ui8:
|
|
3612
|
-
uint:
|
|
3613
|
-
r4:
|
|
3614
|
-
r8:
|
|
3615
|
-
decimal:
|
|
3616
|
-
bool:
|
|
3617
|
-
filetime:
|
|
3618
|
-
date:
|
|
3600
|
+
lpwstr: A.Type.String,
|
|
3601
|
+
lpstr: A.Type.String,
|
|
3602
|
+
bstr: A.Type.String,
|
|
3603
|
+
i1: A.Type.Number,
|
|
3604
|
+
i2: A.Type.Number,
|
|
3605
|
+
i4: A.Type.Number,
|
|
3606
|
+
i8: A.Type.Number,
|
|
3607
|
+
int: A.Type.Number,
|
|
3608
|
+
ui1: A.Type.Number,
|
|
3609
|
+
ui2: A.Type.Number,
|
|
3610
|
+
ui4: A.Type.Number,
|
|
3611
|
+
ui8: A.Type.Number,
|
|
3612
|
+
uint: A.Type.Number,
|
|
3613
|
+
r4: A.Type.Float,
|
|
3614
|
+
r8: A.Type.Float,
|
|
3615
|
+
decimal: A.Type.Float,
|
|
3616
|
+
bool: A.Type.Boolean,
|
|
3617
|
+
filetime: A.Type.Date,
|
|
3618
|
+
date: A.Type.Date
|
|
3619
3619
|
}, vs = (t) => {
|
|
3620
3620
|
const e = t.kind ? ys[t.kind] : void 0;
|
|
3621
3621
|
if (!e) return null;
|
|
3622
3622
|
const o = t.value.trim();
|
|
3623
3623
|
let s;
|
|
3624
|
-
if (e ===
|
|
3624
|
+
if (e === A.Type.String) s = {
|
|
3625
3625
|
key: t.key,
|
|
3626
3626
|
type: e,
|
|
3627
3627
|
value: t.value
|
|
3628
3628
|
};
|
|
3629
|
-
else if (e ===
|
|
3629
|
+
else if (e === A.Type.Boolean) {
|
|
3630
3630
|
if ("true" !== o && "false" !== o && "1" !== o && "0" !== o) return null;
|
|
3631
3631
|
s = {
|
|
3632
3632
|
key: t.key,
|
|
3633
3633
|
type: e,
|
|
3634
3634
|
value: "true" === o || "1" === o
|
|
3635
3635
|
};
|
|
3636
|
-
} else if (e ===
|
|
3636
|
+
} else if (e === A.Type.Date) {
|
|
3637
3637
|
const r = new Date(o);
|
|
3638
3638
|
if (!o || isNaN(r.getTime())) return null;
|
|
3639
3639
|
s = {
|
|
@@ -3644,17 +3644,17 @@ var ms = {
|
|
|
3644
3644
|
} else {
|
|
3645
3645
|
const r = Number(o);
|
|
3646
3646
|
if (!o || !Number.isFinite(r)) return null;
|
|
3647
|
-
const n = e ===
|
|
3647
|
+
const n = e === A.Type.Number && r >= -2147483648 && r <= 2147483647;
|
|
3648
3648
|
s = {
|
|
3649
3649
|
key: t.key,
|
|
3650
|
-
type: n ? e :
|
|
3650
|
+
type: n ? e : A.Type.Float,
|
|
3651
3651
|
value: r
|
|
3652
3652
|
};
|
|
3653
3653
|
}
|
|
3654
3654
|
return t.linkTarget && (s.linkTarget = t.linkTarget), s;
|
|
3655
3655
|
}, xs = "hiddenXfs", ws = (t) => (Array.isArray(t) ? t[1] : t?.v)?.s, Ts = (t) => {
|
|
3656
3656
|
if (!t || 0 === t.length) return !1;
|
|
3657
|
-
const e =
|
|
3657
|
+
const e = x.refsToRuns(t, !0);
|
|
3658
3658
|
let o = 0;
|
|
3659
3659
|
for (const t of e) {
|
|
3660
3660
|
if (t.min > o || void 0 === t.value?.s) return !1;
|
|
@@ -3666,10 +3666,10 @@ var ms = {
|
|
|
3666
3666
|
...t.protection,
|
|
3667
3667
|
showFormulas: e
|
|
3668
3668
|
};
|
|
3669
|
-
}, ks = "pivotButtonXfs",
|
|
3670
|
-
const o =
|
|
3669
|
+
}, ks = "pivotButtonXfs", Cs = (t, e) => {
|
|
3670
|
+
const o = w(t, e);
|
|
3671
3671
|
if (!o || !t.location) return null;
|
|
3672
|
-
const s =
|
|
3672
|
+
const s = x.fastStringToRange(t.location), r = {
|
|
3673
3673
|
rowIndex: s.rowStart - o.top,
|
|
3674
3674
|
colIndex: s.colStart
|
|
3675
3675
|
};
|
|
@@ -3683,7 +3683,7 @@ var ms = {
|
|
|
3683
3683
|
origin: r,
|
|
3684
3684
|
formats: o
|
|
3685
3685
|
};
|
|
3686
|
-
},
|
|
3686
|
+
}, As = (t, e, o, s) => {
|
|
3687
3687
|
let r = t;
|
|
3688
3688
|
const n = s?.numberFormat ?? e ?? 0;
|
|
3689
3689
|
if (void 0 !== t.numberFormat && Es(t.numberFormat, n)) {
|
|
@@ -3758,20 +3758,20 @@ var ms = {
|
|
|
3758
3758
|
if ("string" == typeof t) return void e.push(t);
|
|
3759
3759
|
const o = Array.isArray(t) ? t : [t];
|
|
3760
3760
|
for (let t = 0; t < o.length; t++) {
|
|
3761
|
-
const s =
|
|
3761
|
+
const s = x.rangeToString(o[t]);
|
|
3762
3762
|
s && e.push(s);
|
|
3763
3763
|
}
|
|
3764
|
-
},
|
|
3764
|
+
}, Vs = (t) => {
|
|
3765
3765
|
const e = Array.isArray(t) ? t[1] : t.v;
|
|
3766
3766
|
if (!e || !("s" in e)) return;
|
|
3767
3767
|
const o = e.s;
|
|
3768
3768
|
return delete e.s, o;
|
|
3769
|
-
},
|
|
3769
|
+
}, Ls = (t, e, o, s) => {
|
|
3770
3770
|
if (!t) return;
|
|
3771
3771
|
const r = e ? 2 : 1, n = e ? o.rowStart : o.colStart, i = e ? o.rowEnd : o.colEnd;
|
|
3772
3772
|
let a, l = -1;
|
|
3773
3773
|
for (const o of t) {
|
|
3774
|
-
const t =
|
|
3774
|
+
const t = x.refToRun(o, e), c = Vs(o);
|
|
3775
3775
|
t && void 0 !== c ? c !== l || (e ? a.colEnd : a.rowEnd) + 1 !== t.min ? (a = {
|
|
3776
3776
|
colStart: e ? t.min : n,
|
|
3777
3777
|
rowStart: e ? n : t.min,
|
|
@@ -3827,34 +3827,34 @@ var ms = {
|
|
|
3827
3827
|
225
|
|
3828
3828
|
], Ws = /^xl\/worksheets\/[^/]+\.xml$/i, zs = (t) => "string" == typeof t ? t : (t?.runs ?? []).map((t) => t.text ?? "").join(""), Xs = async (n, l) => {
|
|
3829
3829
|
const { password: c, onVBA: u, profile: d, calcOnLoad: p = "auto", createWorkbookOptions: f = {}, ...g } = l ?? {};
|
|
3830
|
-
await
|
|
3831
|
-
const b = !!f.origin && "string" != typeof f.origin,
|
|
3832
|
-
|
|
3830
|
+
await T.load();
|
|
3831
|
+
const b = !!f.origin && "string" != typeof f.origin, v = d ? new me("function" == typeof d ? d : void 0) : null, w = [], S = (t, e, o) => {
|
|
3832
|
+
w.push([
|
|
3833
3833
|
t,
|
|
3834
3834
|
e ?? "",
|
|
3835
3835
|
o
|
|
3836
3836
|
]);
|
|
3837
|
-
},
|
|
3837
|
+
}, k = { onWarning: S }, A = l?.progress, P = A?.onProgress ? A.onProgress.bind(A) : void 0, O = n.byteLength;
|
|
3838
3838
|
let D = 0, N = 0;
|
|
3839
3839
|
const _ = P ? (t) => {
|
|
3840
3840
|
if (D <= 0) return;
|
|
3841
3841
|
N += t;
|
|
3842
3842
|
const e = Math.min(O, Math.round(N / D * O));
|
|
3843
3843
|
P(e, O);
|
|
3844
|
-
} : void 0, $ = import("./
|
|
3845
|
-
let
|
|
3844
|
+
} : void 0, $ = import("./4Qlx8FuxoYbVTgNW.js");
|
|
3845
|
+
let V = null;
|
|
3846
3846
|
try {
|
|
3847
|
-
|
|
3847
|
+
V = new DOMParser();
|
|
3848
3848
|
} catch (n) {}
|
|
3849
|
-
let
|
|
3849
|
+
let L = null;
|
|
3850
3850
|
try {
|
|
3851
|
-
|
|
3851
|
+
L = new XMLSerializer();
|
|
3852
3852
|
} catch (n) {}
|
|
3853
3853
|
let B, F, q, U = null;
|
|
3854
|
-
|
|
3854
|
+
V || (U = import("./ndBoGVVjmy3vkff8.js").then((e) => t(e.default, 1)));
|
|
3855
3855
|
try {
|
|
3856
3856
|
const [t, e] = await Promise.all([U, $]);
|
|
3857
|
-
B = new e.DOMTransformer(), F =
|
|
3857
|
+
B = new e.DOMTransformer(), F = V ?? new t.DOMParser(), q = L ?? new t.XMLSerializer();
|
|
3858
3858
|
} catch (n) {
|
|
3859
3859
|
throw new Error("Unable to load XLSX parser.", { cause: n });
|
|
3860
3860
|
}
|
|
@@ -3870,7 +3870,7 @@ var ms = {
|
|
|
3870
3870
|
} catch (n) {
|
|
3871
3871
|
throw new i("Unable to parse as an Excel document. Try to save as '.xlsx' and try again.", { cause: n });
|
|
3872
3872
|
}
|
|
3873
|
-
|
|
3873
|
+
v?.mark("zip-open");
|
|
3874
3874
|
try {
|
|
3875
3875
|
if (!Y.has("[Content_Types].xml")) throw new i("Unable to parse as an Excel document. Try to save as '.xlsx' and try again.");
|
|
3876
3876
|
const t = (t) => {
|
|
@@ -3922,7 +3922,7 @@ var ms = {
|
|
|
3922
3922
|
},
|
|
3923
3923
|
onError: (t) => {
|
|
3924
3924
|
((t) => {
|
|
3925
|
-
|
|
3925
|
+
w.push([t, "[Content_Types].xml"]);
|
|
3926
3926
|
})(`Error parsing content types: ${t?.message ?? t}`);
|
|
3927
3927
|
}
|
|
3928
3928
|
}))(o), e = await Y.getTextStream("[Content_Types].xml");
|
|
@@ -3934,13 +3934,13 @@ var ms = {
|
|
|
3934
3934
|
}
|
|
3935
3935
|
b && await Y.getBuffer("[Content_Types].xml");
|
|
3936
3936
|
}
|
|
3937
|
-
|
|
3937
|
+
v?.mark("content-types");
|
|
3938
3938
|
const l = o.sst, c = /* @__PURE__ */ new Set();
|
|
3939
3939
|
for (const t of o.sheets) c.add(Fs(t));
|
|
3940
3940
|
l && c.add(Fs(l));
|
|
3941
3941
|
for (const t of c) D += Y.uncompressedSize(t);
|
|
3942
|
-
if (await Y.prefetch((t) => !c.has(t) && !Ws.test(t)),
|
|
3943
|
-
const e = pt("_rels/.rels", t, F, B,
|
|
3942
|
+
if (await Y.prefetch((t) => !c.has(t) && !Ws.test(t)), v?.mark("prefetch-side-parts"), 0 === o.workbooks.length) {
|
|
3943
|
+
const e = pt("_rels/.rels", t, F, B, k), s = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument";
|
|
3944
3944
|
if (e) {
|
|
3945
3945
|
for (const t of e.values()) if (t.type === s && t.target) {
|
|
3946
3946
|
o.workbooks.push(t.target);
|
|
@@ -3949,16 +3949,16 @@ var ms = {
|
|
|
3949
3949
|
}
|
|
3950
3950
|
}
|
|
3951
3951
|
if (0 === o.workbooks.length) throw new i("Unable to parse as an Excel document. Try to save as '.xlsx' and try again.");
|
|
3952
|
-
const g = f?.resources ?? new
|
|
3953
|
-
|
|
3952
|
+
const g = f?.resources ?? new y(), T = g.beginPersist(), N = {}, $ = /* @__PURE__ */ new Set(), V = /* @__PURE__ */ new Map();
|
|
3953
|
+
V.set("parseInlineDxf", (t) => {
|
|
3954
3954
|
if (!t) return;
|
|
3955
3955
|
const e = F.parseFromString(`<dxf xmlns:x14="${re}" xmlns:xm="${G}">${t}</dxf>`, "text/xml")?.documentElement;
|
|
3956
3956
|
if (!e) return;
|
|
3957
|
-
const o = B.parseDxf(e, "",
|
|
3957
|
+
const o = B.parseDxf(e, "", k);
|
|
3958
3958
|
return Object.keys(o).length > 0 ? o : void 0;
|
|
3959
3959
|
});
|
|
3960
|
-
const
|
|
3961
|
-
|
|
3960
|
+
const L = Ot("metadata", o, t, F, B, k).entries().next()?.value?.[1]?.metadata;
|
|
3961
|
+
L && V.set("metadata", L), V.set(Qo, Z());
|
|
3962
3962
|
const q = /* @__PURE__ */ new Map(), U = [], et = /* @__PURE__ */ new Set(), ot = (t) => {
|
|
3963
3963
|
et.add(Fs(t));
|
|
3964
3964
|
}, st = (e, o = q) => {
|
|
@@ -3971,10 +3971,10 @@ var ms = {
|
|
|
3971
3971
|
if ("External" === n.targetMode) {
|
|
3972
3972
|
if (!s) return n.target;
|
|
3973
3973
|
const t = g.add({ source: { external: n.target } });
|
|
3974
|
-
return t.addReference(N), $.add(t),
|
|
3974
|
+
return t.addReference(N), $.add(t), T.toResourceId(t);
|
|
3975
3975
|
}
|
|
3976
3976
|
const a = o.lastIndexOf("/"), l = o.substring(0, a + 1);
|
|
3977
|
-
i.startsWith("/") || (i = l + i), i =
|
|
3977
|
+
i.startsWith("/") || (i = l + i), i = At(i);
|
|
3978
3978
|
const c = B?.getVisitorParamsState().get("dxfs");
|
|
3979
3979
|
let u = r.get(i);
|
|
3980
3980
|
if (!u) {
|
|
@@ -3984,8 +3984,8 @@ var ms = {
|
|
|
3984
3984
|
u = t;
|
|
3985
3985
|
const e = async () => {
|
|
3986
3986
|
const e = ss(t, (t, e) => "legacyDrawing" === e ? ct(t, i) : "formControl" === e ? ut(t, i) : "part" === e ? ft(t, i) : rt(t, i, "resource" === e) ?? null, Mt, c, () => {}, (t, e, o) => {
|
|
3987
|
-
|
|
3988
|
-
}, void 0,
|
|
3987
|
+
S(t, e ? `${e} (${i})` : i, o);
|
|
3988
|
+
}, void 0, V), o = await Y.getTextStream(i, _);
|
|
3989
3989
|
if (o) try {
|
|
3990
3990
|
await Ne.parseStream(o, e, {
|
|
3991
3991
|
xmlns: !1,
|
|
@@ -4003,10 +4003,10 @@ var ms = {
|
|
|
4003
4003
|
const s = ft(o, i, t.type, (t) => "http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotCacheDefinition" !== t);
|
|
4004
4004
|
if (!s?.xml) return;
|
|
4005
4005
|
const r = /<pivotTableDefinition\b[^>]*>/.exec(s.xml)?.[0] ?? "", n = parseInt(/\scacheId="(\d+)"/.exec(r)?.[1] ?? "", 10);
|
|
4006
|
-
if (isNaN(n)) return void
|
|
4006
|
+
if (isNaN(n)) return void w.push([`Pivot table '${s.name}' names no cache and was dropped.`, i]);
|
|
4007
4007
|
const a = /\sname="([^"]*)"/.exec(r)?.[1], l = j(s.xml);
|
|
4008
|
-
if (!l) return void
|
|
4009
|
-
const c = B?.getVisitorParamsState(), u = it(c?.get("numFmts"), c?.get("dxfs")), h = dt(s.xml, u), d = h ? void 0 :
|
|
4008
|
+
if (!l) return void w.push([`Pivot table '${s.name}' states no location and was dropped.`, i]);
|
|
4009
|
+
const c = B?.getVisitorParamsState(), u = it(c?.get("numFmts"), c?.get("dxfs")), h = dt(s.xml, u), d = h ? void 0 : Ct(s.xml, u);
|
|
4010
4010
|
e.push({
|
|
4011
4011
|
...a ? { name: zt(a) } : {},
|
|
4012
4012
|
cacheId: n,
|
|
@@ -4037,7 +4037,7 @@ var ms = {
|
|
|
4037
4037
|
} else u = null;
|
|
4038
4038
|
} else u = s ? Pt(i, t, (t, e) => {
|
|
4039
4039
|
const o = g.add({ source: { buffer: t } });
|
|
4040
|
-
return o.addReference(N), $.add(o),
|
|
4040
|
+
return o.addReference(N), $.add(o), T.toResourceId(o);
|
|
4041
4041
|
}, Tt) : Wt(i, t, F, B, Tt);
|
|
4042
4042
|
}
|
|
4043
4043
|
return u;
|
|
@@ -4046,7 +4046,7 @@ var ms = {
|
|
|
4046
4046
|
const o = st(e, q)?.get(t);
|
|
4047
4047
|
if (!o?.target || "External" === o.targetMode) return null;
|
|
4048
4048
|
let s = o.target;
|
|
4049
|
-
return s.startsWith("/") || (s = e.substring(0, e.lastIndexOf("/") + 1) + s),
|
|
4049
|
+
return s.startsWith("/") || (s = e.substring(0, e.lastIndexOf("/") + 1) + s), At(s);
|
|
4050
4050
|
}, at = (t, e, o, s) => {
|
|
4051
4051
|
const n = [], i = /* @__PURE__ */ new Map(), a = [];
|
|
4052
4052
|
o.forEach((t, o) => {
|
|
@@ -4109,7 +4109,7 @@ var ms = {
|
|
|
4109
4109
|
const s = /* @__PURE__ */ new Map();
|
|
4110
4110
|
for (let t = 0; t < o.length; t++) {
|
|
4111
4111
|
const e = o[t];
|
|
4112
|
-
s.set(
|
|
4112
|
+
s.set(x.cellToString({
|
|
4113
4113
|
rowIndex: e.row,
|
|
4114
4114
|
colIndex: e.col
|
|
4115
4115
|
}), e);
|
|
@@ -4201,11 +4201,11 @@ var ms = {
|
|
|
4201
4201
|
const o = ft(e, a, t.type, n, i);
|
|
4202
4202
|
o && p.push(o);
|
|
4203
4203
|
}), p.length > 0 && (d.parts = p), ot(a), d;
|
|
4204
|
-
}, gt = Ot("coreprops", o, t, F, B,
|
|
4204
|
+
}, gt = Ot("coreprops", o, t, F, B, k), mt = Ot("extprops", o, t, F, B, k), bt = Ot("custprops", o, t, F, B, k);
|
|
4205
4205
|
bt.forEach((t, e) => {
|
|
4206
4206
|
t?.custom && ot(e);
|
|
4207
4207
|
});
|
|
4208
|
-
const vt = new
|
|
4208
|
+
const vt = new I(), xt = Ot("people", o, t, F, B, k);
|
|
4209
4209
|
if (xt.size > 0) {
|
|
4210
4210
|
const [t, e] = xt.entries().next().value;
|
|
4211
4211
|
vt.fromJSON(e?.persons), ot(t);
|
|
@@ -4213,16 +4213,16 @@ var ms = {
|
|
|
4213
4213
|
const wt = (t) => {
|
|
4214
4214
|
if (t) return vt.add(t).toJSON();
|
|
4215
4215
|
}, Tt = {
|
|
4216
|
-
paramMap:
|
|
4216
|
+
paramMap: V,
|
|
4217
4217
|
getRefs: st,
|
|
4218
4218
|
getRef: rt,
|
|
4219
4219
|
parsedRefs: q,
|
|
4220
4220
|
readEmbeddedPart: (t, e) => ft(t, e),
|
|
4221
4221
|
addPerson: wt,
|
|
4222
4222
|
serializeElement: J,
|
|
4223
|
-
onWarning:
|
|
4223
|
+
onWarning: S
|
|
4224
4224
|
}, St = [], kt = /* @__PURE__ */ new Map();
|
|
4225
|
-
if (
|
|
4225
|
+
if (V.set(es, kt), l) {
|
|
4226
4226
|
const t = await Y.getTextStream(l, _);
|
|
4227
4227
|
if (t) {
|
|
4228
4228
|
const e = ((t, e) => {
|
|
@@ -4247,7 +4247,7 @@ var ms = {
|
|
|
4247
4247
|
}
|
|
4248
4248
|
};
|
|
4249
4249
|
})(0, (t) => {
|
|
4250
|
-
|
|
4250
|
+
S(t, l);
|
|
4251
4251
|
});
|
|
4252
4252
|
try {
|
|
4253
4253
|
await Ne.parseStream(t, e, { xmlns: !1 });
|
|
@@ -4256,7 +4256,7 @@ var ms = {
|
|
|
4256
4256
|
}
|
|
4257
4257
|
}
|
|
4258
4258
|
}
|
|
4259
|
-
|
|
4259
|
+
v?.mark("shared-strings");
|
|
4260
4260
|
let It = St.length;
|
|
4261
4261
|
const Dt = /* @__PURE__ */ new Map();
|
|
4262
4262
|
let _t = It;
|
|
@@ -4267,18 +4267,18 @@ var ms = {
|
|
|
4267
4267
|
return Dt.set(t, _t++), St.push(t), o;
|
|
4268
4268
|
}, $t = [];
|
|
4269
4269
|
o.slicersCache = $t;
|
|
4270
|
-
const Rt = Y.getNames(),
|
|
4271
|
-
for (let t = 0; t <
|
|
4270
|
+
const Rt = Y.getNames(), Vt = Rt.length;
|
|
4271
|
+
for (let t = 0; t < Vt; t++) {
|
|
4272
4272
|
const e = Rt[t];
|
|
4273
4273
|
e && (e.startsWith("xl/slicerCache") || e.startsWith("xl/timelineCaches/") && e.endsWith(".xml")) && $t.push(`/${e}`);
|
|
4274
4274
|
}
|
|
4275
|
-
const
|
|
4276
|
-
|
|
4275
|
+
const Lt = Ot("slicersCache", o, t, F, B, Tt), Bt = /* @__PURE__ */ new Map();
|
|
4276
|
+
Lt.forEach((t, e) => {
|
|
4277
4277
|
t?.cacheName && (t.cachePath = e, Bt.set(t.cacheName, t));
|
|
4278
|
-
}),
|
|
4278
|
+
}), V.set("slicerCaches", Bt);
|
|
4279
4279
|
const Ft = [];
|
|
4280
4280
|
o.slicers = Ft;
|
|
4281
|
-
for (let t = 0; t <
|
|
4281
|
+
for (let t = 0; t < Vt; t++) {
|
|
4282
4282
|
const e = Rt[t];
|
|
4283
4283
|
e && (e.startsWith("xl/slicers/") || e.startsWith("xl/timelines/")) && e.endsWith(".xml") && Ft.push(`/${e}`);
|
|
4284
4284
|
}
|
|
@@ -4298,7 +4298,7 @@ var ms = {
|
|
|
4298
4298
|
source: { buffer: t },
|
|
4299
4299
|
fetchedFrom: e
|
|
4300
4300
|
});
|
|
4301
|
-
return o.addReference(N), $.add(o),
|
|
4301
|
+
return o.addReference(N), $.add(o), T.toResourceId(o);
|
|
4302
4302
|
},
|
|
4303
4303
|
markAbsorbed: ot
|
|
4304
4304
|
}, qt = /* @__PURE__ */ new Map();
|
|
@@ -4354,10 +4354,10 @@ var ms = {
|
|
|
4354
4354
|
})
|
|
4355
4355
|
};
|
|
4356
4356
|
})(t, F), Kt = Ut(Gt, qt, (t) => {
|
|
4357
|
-
|
|
4357
|
+
S(t, "/xl/richData/rdrichvalue.xml");
|
|
4358
4358
|
});
|
|
4359
|
-
|
|
4360
|
-
for (let t = 0; t <
|
|
4359
|
+
V.set("richData", Gt.values.map((t, e) => Kt.cellValue(e)));
|
|
4360
|
+
for (let t = 0; t < Vt; t++) {
|
|
4361
4361
|
const e = Rt[t];
|
|
4362
4362
|
e.startsWith("xl/richData/") && !e.includes("/_rels/") && ot(e);
|
|
4363
4363
|
}
|
|
@@ -4371,7 +4371,7 @@ var ms = {
|
|
|
4371
4371
|
let oe = Ot("styles", o, t, F, B, Tt).entries().next()?.value?.[1];
|
|
4372
4372
|
oe && (oe = JSON.parse(a.JSONStableStringify(oe)));
|
|
4373
4373
|
const se = Ot("workbooks", o, t, F, B, Tt);
|
|
4374
|
-
|
|
4374
|
+
V.set(ts, !0 === se.entries().next().value?.[1]?.date1904), "none" !== (f.calcOnLoad ?? p) && V.set(Yo, ((t, e) => {
|
|
4375
4375
|
const o = /* @__PURE__ */ new Set();
|
|
4376
4376
|
if (t) for (let e = 0; e < t.length; e++) o.add(String(t[e]?.name).toUpperCase());
|
|
4377
4377
|
if (e) for (let t = 0; t < e.length; t++) try {
|
|
@@ -4382,8 +4382,8 @@ var ms = {
|
|
|
4382
4382
|
}, /* @__PURE__ */ new Map());
|
|
4383
4383
|
for (const t of s.keys()) o.add(t.toUpperCase());
|
|
4384
4384
|
} catch {}
|
|
4385
|
-
return (t) => o.has(t) ||
|
|
4386
|
-
})(se.entries().next().value?.[1]?.names, f.functions)),
|
|
4385
|
+
return (t) => o.has(t) || E.has(t);
|
|
4386
|
+
})(se.entries().next().value?.[1]?.names, f.functions)), v?.mark("side-parts-json"), await Promise.all(U);
|
|
4387
4387
|
{
|
|
4388
4388
|
const t = se.entries().next().value?.[1], e = Z(t?.names), o = t?.sheets ?? [];
|
|
4389
4389
|
for (let t = 0; t < o.length; t++) {
|
|
@@ -4401,7 +4401,7 @@ var ms = {
|
|
|
4401
4401
|
"string" == typeof o && (s[t].ref = e.readDetached(o));
|
|
4402
4402
|
}
|
|
4403
4403
|
}
|
|
4404
|
-
P && D > 0 && (P(O, O), await new Promise((t) => setTimeout(t, 0))),
|
|
4404
|
+
P && D > 0 && (P(O, O), await new Promise((t) => setTimeout(t, 0))), v?.mark("sheets");
|
|
4405
4405
|
const ne = {
|
|
4406
4406
|
...se.entries().next().value?.[1],
|
|
4407
4407
|
styles: oe,
|
|
@@ -4426,7 +4426,7 @@ var ms = {
|
|
|
4426
4426
|
}
|
|
4427
4427
|
return Object.keys(r).length > 0 ? r : void 0;
|
|
4428
4428
|
})(gt.values().next().value?.properties, mt.values().next().value?.properties, bt.values().next().value?.custom, (t, e) => {
|
|
4429
|
-
|
|
4429
|
+
S(t, "docProps/custom.xml", e);
|
|
4430
4430
|
});
|
|
4431
4431
|
ae && (ne.properties = ae), ((t, e) => {
|
|
4432
4432
|
if (!e || 0 === e.size) return;
|
|
@@ -4472,20 +4472,20 @@ var ms = {
|
|
|
4472
4472
|
style: {}
|
|
4473
4473
|
}, t.push(s)), Ss(s.style, !0);
|
|
4474
4474
|
}
|
|
4475
|
-
})(ne,
|
|
4475
|
+
})(ne, V.get(xs)), ((t, e) => {
|
|
4476
4476
|
if (e && 0 !== e.size) for (const o of t.sheets ?? []) {
|
|
4477
4477
|
const t = ht(o), s = t?.pivotTables;
|
|
4478
4478
|
if (!t || !s || 0 === s.length) continue;
|
|
4479
4479
|
const r = s.map(Et), n = s.map(() => []);
|
|
4480
4480
|
for (const [o, s] of t.directStyles ?? []) {
|
|
4481
4481
|
if (!e.has(s)) continue;
|
|
4482
|
-
const t =
|
|
4482
|
+
const t = x.fastStringToRange(o);
|
|
4483
4483
|
for (let e = 0; e < r.length; e++) {
|
|
4484
4484
|
const o = r[e];
|
|
4485
4485
|
if (!o) continue;
|
|
4486
4486
|
const s = Math.max(t.rowStart, o.rowStart), i = Math.min(t.rowEnd, o.rowEnd), a = Math.max(t.colStart, o.colStart), l = Math.min(t.colEnd, o.colEnd);
|
|
4487
4487
|
if (s > i || a > l) continue;
|
|
4488
|
-
const c =
|
|
4488
|
+
const c = x.rangeToString({
|
|
4489
4489
|
rowStart: s - o.rowStart,
|
|
4490
4490
|
rowEnd: i - o.rowStart,
|
|
4491
4491
|
colStart: a - o.colStart,
|
|
@@ -4496,8 +4496,8 @@ var ms = {
|
|
|
4496
4496
|
}
|
|
4497
4497
|
for (let t = 0; t < s.length; t++) n[t].length > 0 && (s[t].buttons = n[t]);
|
|
4498
4498
|
}
|
|
4499
|
-
})(ne,
|
|
4500
|
-
const le =
|
|
4499
|
+
})(ne, V.get(ks));
|
|
4500
|
+
const le = V.get($s);
|
|
4501
4501
|
((t, e) => {
|
|
4502
4502
|
const o = t.styles?.direct;
|
|
4503
4503
|
if (!o || 0 === o.length) return;
|
|
@@ -4508,7 +4508,7 @@ var ms = {
|
|
|
4508
4508
|
const h = `${t}|${i ?? ""}|${l ?? ""}|${u}`;
|
|
4509
4509
|
let d = r.get(h);
|
|
4510
4510
|
if (void 0 !== d) return d;
|
|
4511
|
-
const p = o[t], f = p ?
|
|
4511
|
+
const p = o[t], f = p ? As(p, i, l, c) : null, g = e?.get(t);
|
|
4512
4512
|
return d = f === p ? t : f || void 0 !== g ? ((t, r) => {
|
|
4513
4513
|
if (!s) {
|
|
4514
4514
|
s = /* @__PURE__ */ new Map();
|
|
@@ -4529,22 +4529,22 @@ var ms = {
|
|
|
4529
4529
|
if (!t || !o || 0 === o.length || !s || 0 === s.length) continue;
|
|
4530
4530
|
let r = s, n = !1;
|
|
4531
4531
|
for (const t of o) {
|
|
4532
|
-
const e =
|
|
4532
|
+
const e = Cs(t, l.get(t.cacheId));
|
|
4533
4533
|
if (!e) continue;
|
|
4534
4534
|
const o = [];
|
|
4535
4535
|
for (const t of r) {
|
|
4536
|
-
const s =
|
|
4536
|
+
const s = x.fastStringToRange(t[0]), r = _s(s, e.coords);
|
|
4537
4537
|
if (!r) {
|
|
4538
4538
|
o.push(t);
|
|
4539
4539
|
continue;
|
|
4540
4540
|
}
|
|
4541
4541
|
n = !0;
|
|
4542
|
-
for (const e of Ms(s, r)) o.push([
|
|
4542
|
+
for (const e of Ms(s, r)) o.push([x.rangeToString(e), t[1]]);
|
|
4543
4543
|
const { rowIndex: a, colIndex: l } = e.origin;
|
|
4544
4544
|
for (let s = r.rowStart; s <= r.rowEnd; s++) {
|
|
4545
4545
|
let n = r.colStart, c = null;
|
|
4546
4546
|
const u = (t) => {
|
|
4547
|
-
null !== c && o.push([
|
|
4547
|
+
null !== c && o.push([x.rangeToString({
|
|
4548
4548
|
rowStart: s,
|
|
4549
4549
|
rowEnd: s,
|
|
4550
4550
|
colStart: n,
|
|
@@ -4573,10 +4573,10 @@ var ms = {
|
|
|
4573
4573
|
const t = ht(r);
|
|
4574
4574
|
if (!t) continue;
|
|
4575
4575
|
const n = [];
|
|
4576
|
-
if (
|
|
4576
|
+
if (Ls(t.cols, !0, o, n), Ls(t.rows, !1, o, n), 0 === n.length) continue;
|
|
4577
4577
|
const i = [];
|
|
4578
4578
|
for (const [e, o] of t.directStyles ?? []) i.push({
|
|
4579
|
-
...
|
|
4579
|
+
...x.fastStringToRange(e),
|
|
4580
4580
|
value: {
|
|
4581
4581
|
kind: 0,
|
|
4582
4582
|
index: o
|
|
@@ -4597,7 +4597,7 @@ var ms = {
|
|
|
4597
4597
|
}
|
|
4598
4598
|
s = t ?? o ?? r;
|
|
4599
4599
|
}
|
|
4600
|
-
a.push([
|
|
4600
|
+
a.push([x.rangeToString(t.value.range, o), s.index]);
|
|
4601
4601
|
}
|
|
4602
4602
|
a.length > 0 ? t.directStyles = a : delete t.directStyles;
|
|
4603
4603
|
}
|
|
@@ -4637,7 +4637,7 @@ var ms = {
|
|
|
4637
4637
|
t?.slicers && e.set(o, t.slicers);
|
|
4638
4638
|
}), ie(ne, {
|
|
4639
4639
|
warn: (t, e) => {
|
|
4640
|
-
|
|
4640
|
+
S(t, "xl/slicers", e);
|
|
4641
4641
|
},
|
|
4642
4642
|
markAbsorbed: ot,
|
|
4643
4643
|
slicerParts: e
|
|
@@ -4651,7 +4651,7 @@ var ms = {
|
|
|
4651
4651
|
ce && ce.length > 0 && (ne.people = ce);
|
|
4652
4652
|
const fe = Y.getEntry("xl/vbaProject.bin");
|
|
4653
4653
|
if (fe) try {
|
|
4654
|
-
const { VBAProject: t } = await import("./
|
|
4654
|
+
const { VBAProject: t } = await import("./Bndiqwoh132Upow1.js"), e = t.extract(fe);
|
|
4655
4655
|
if (e) {
|
|
4656
4656
|
const o = /* @__PURE__ */ new Map();
|
|
4657
4657
|
for (const t of ne.sheets ?? []) {
|
|
@@ -4667,25 +4667,25 @@ var ms = {
|
|
|
4667
4667
|
a[s.name] || (a[s.name] = e);
|
|
4668
4668
|
}
|
|
4669
4669
|
u?.(e);
|
|
4670
|
-
} else
|
|
4670
|
+
} else w.push(["Unable to parse VBA project.", "xl/vbaProject.bin"]);
|
|
4671
4671
|
} catch (n) {
|
|
4672
|
-
|
|
4672
|
+
w.push([`Error extracting VBA: ${n?.message ?? n}`, "xl/vbaProject.bin"]);
|
|
4673
4673
|
}
|
|
4674
|
-
const ge =
|
|
4674
|
+
const ge = V.get("calcId"), me = void 0 === ge || !(Number(ge) >= 191029), be = f.calcOnLoad ?? ("auto" === p && me ? "full" : p), ye = {
|
|
4675
4675
|
...f,
|
|
4676
4676
|
calcOnLoad: be,
|
|
4677
4677
|
resources: g,
|
|
4678
4678
|
json: ne
|
|
4679
4679
|
};
|
|
4680
4680
|
if (void 0 === ye.disableLoadAutoFit) {
|
|
4681
|
-
const t =
|
|
4681
|
+
const t = V.get(ee);
|
|
4682
4682
|
ye.disableLoadAutoFit = !!t?.declared && t.normalIsThemeFont && await jt(t.faces);
|
|
4683
4683
|
}
|
|
4684
|
-
|
|
4685
|
-
const ve = new
|
|
4686
|
-
if (
|
|
4684
|
+
v?.mark("json-assembled");
|
|
4685
|
+
const ve = new C(ye);
|
|
4686
|
+
if (v?.mark("workbook-constructed"), $.forEach((t) => {
|
|
4687
4687
|
t.deleteReference(N);
|
|
4688
|
-
}),
|
|
4688
|
+
}), T.endPersist(), b) {
|
|
4689
4689
|
X(ve);
|
|
4690
4690
|
const t = /* @__PURE__ */ new Map();
|
|
4691
4691
|
let e = 0;
|
|
@@ -4706,7 +4706,7 @@ var ms = {
|
|
|
4706
4706
|
};
|
|
4707
4707
|
t.set(o, n), e += s.byteLength;
|
|
4708
4708
|
}
|
|
4709
|
-
if (e > 67108864)
|
|
4709
|
+
if (e > 67108864) w.push([`Source package too large to retain (${e} bytes, limit ${te}); unmodeled parts will be dropped on save.`, "SourcePackage"]);
|
|
4710
4710
|
else if (t.size > 0) {
|
|
4711
4711
|
const e = new Nt(t, et);
|
|
4712
4712
|
tt(ve, e);
|
|
@@ -4723,14 +4723,14 @@ var ms = {
|
|
|
4723
4723
|
} });
|
|
4724
4724
|
}
|
|
4725
4725
|
}
|
|
4726
|
-
if (
|
|
4726
|
+
if (w.length && A?.onWarning) {
|
|
4727
4727
|
const t = /* @__PURE__ */ new Set();
|
|
4728
|
-
for (const e of
|
|
4728
|
+
for (const e of w) {
|
|
4729
4729
|
const [o, s, r] = e, n = r ?? o;
|
|
4730
|
-
t.has(n) || (t.add(n),
|
|
4730
|
+
t.has(n) || (t.add(n), A.onWarning(o, s));
|
|
4731
4731
|
}
|
|
4732
4732
|
}
|
|
4733
|
-
return
|
|
4733
|
+
return v && !0 === d && console.table(v.toTable()), await ve.whenFontsReady(), ve;
|
|
4734
4734
|
} catch (n) {
|
|
4735
4735
|
let t = "Unable to parse XLSX.";
|
|
4736
4736
|
throw n instanceof o && (t = "Unable to open XLSX. There are too many rows or columns."), new Error(t, { cause: n });
|