@sheetxl/mcp 0.8.0-beta.20 → 0.8.0-beta.22
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/{noAnElnMhF05bfJN.js → 0jPw8-AyT6VbPuGO.js} +1 -1
- package/assets/{C7oUg84aGjYrJUc6.js → 1U3DwsqHnOBwiGWn.js} +2 -2
- package/assets/{DALP-GkmzCJdFIV9.js → 1dUPpOVZSeeylKHv.js} +1 -1
- package/assets/{TdK2ciXA5BAlGjbR.js → 3N6hsbh2WLceyO6T.js} +1 -1
- package/assets/{C3BZQ5NFwAU_ZdeQ.js → 4zyHb1mmcFfqwpjO.js} +1 -1
- package/assets/{C0MAjW1vgsw6o0fx.js → 8csqJ8aGOdnKlrLl.js} +1 -1
- package/assets/{C9w-KoMwxvouC73F.js → 91BKH9obG4IfBzhy.js} +514 -505
- package/assets/{tCavNu-Tru6yRbec.js → 9AosCdy_xtdhLjN1.js} +1 -1
- package/assets/{rtUwIBgECTX9UO_B.js → B5VTjL9m0R-Icfaz.js} +4 -4
- package/assets/{Z1zwOeCe-JTLgkxf.js → B6pXiayrnDoDbQt1.js} +57 -57
- package/assets/{DwsoGIyPuoQij_vi.js → BDq4iVyBh5lwX8pE.js} +1 -1
- package/assets/{4Za9gEGCvms62R7k.js → BHsqPfJZrdKTbPLP.js} +1 -1
- package/assets/{DPUXpIzEs1t-jBiv.js → BI5L_Ysr8s0TQxdg.js} +1 -1
- package/assets/{-qQT-DFFz0CqGx5C.js → BPZWfwUvFCLQInXN.js} +395 -395
- package/assets/{CgIHqG1qp9n1Gwm7.js → BRVEVVhj-8ZPrNyQ.js} +326 -321
- package/assets/{C9aV1SF8uCWIB4zU.js → BSdRn3B8QeJFflY6.js} +15 -15
- package/assets/{CrRJqUPbvvhnp4p4.js → BUGEQS5WdiLcI_0X.js} +1 -1
- package/assets/{DvRH46hupHUjkc7a.js → BUIjRIGTum7VuRFk.js} +1 -1
- package/assets/{CrULZhDt8uE-MR2s.js → BV49J63s68Mj6lgF.js} +1 -1
- package/assets/{DcwqgbgqPyzQxSsQ.js → BXean6K6oDUxkzyd.js} +1 -1
- package/assets/{B5UmlawoCVwHHM_e.js → BZxJKqVEO7B23XwE.js} +5 -5
- package/assets/{DYRis8fOyk2uIZ-1.js → BaaVzb7xXROiWUhT.js} +4 -4
- package/assets/{swG-DVTsez1uNW8c.js → Bf7Irm8Ua4s1T4xH.js} +1 -1
- package/assets/{BGlx7_eRiv47Hu9C.js → BgwCdHyXKQYFAl1M.js} +1 -1
- package/assets/{DNwyEanz3LqtOorY.js → Bi65BKwwiZYYZprq.js} +1 -1
- package/assets/{C46dyA4YSP1-iTSN.js → BiC09_YKQPmlUklQ.js} +1 -1
- package/assets/{CDmri0gcZxpVZfWn.js → BkqENH8xJ3_NQnD5.js} +377 -377
- package/assets/{CaOEaghQqXiA1ZzO.js → BlxrCp7d-SeM-2DW.js} +115 -115
- package/assets/{DBfBV-tvRxCLgdvs.js → BnGNMsqG5CzUzmX7.js} +4 -4
- package/assets/{u-pSumbU-rgT6eLF.js → BnK6HEqT4rf1RoOG.js} +226 -226
- package/assets/{DZ2Njh8YgfXcv7EM.js → BrfsWImwRtf54LUU.js} +1 -1
- package/assets/{BYYbglFmasE5PrS2.js → BvKzhnweVF6GhjXh.js} +1 -1
- package/assets/{BKc7zTK6ZIhcD_Wu.js → Bx592y6pyOwTS2x7.js} +1 -1
- package/assets/{BghxJxTwaebNVcIS.js → BygXDW3XTdtR38aA.js} +1 -1
- package/assets/{Bp9zuG6P6r9GEb6G.js → BzFIkeB_lheiTR7z.js} +1 -1
- package/assets/{BBm3Xjnehvx2fYj8.js → Bzp3UtK_6fqEVlV8.js} +8 -8
- package/assets/{DTXRsv2Ww7WbIwCb.js → C1PTfp7kVu3DqqZh.js} +9859 -9844
- package/assets/{CoOIn2wx6je_rMDO.js → C1yAmXrOu3iHV2cu.js} +17 -17
- package/assets/{BMH_wtFTiRj43c69.js → C4-0s3Udk3v4ytSn.js} +2 -2
- package/assets/{YG5hEr6CzWNmNJQ2.js → C7zManFR1LEJXiwb.js} +1 -1
- package/assets/{NiD8iNE47sjggYTx.js → C9wlvcFyjQA59G-_.js} +1 -1
- package/assets/{BHiZ3GtGCWUWwHqY.js → CAgQJrDxGEfoa7jn.js} +3 -3
- package/assets/{DsSlUklPSAsh9DhW.js → CGB4xgirbgEIN3tg.js} +167 -167
- package/assets/{CpfpXfCqzZumY4pf.js → CGxhgXj5qKj_Ubcp.js} +1 -1
- package/assets/{Bg8EN9R3hbeNfFyU.js → CHG9Q0uLAZdLXYVz.js} +76 -76
- package/assets/{CbTKUrroY9PQ6eTu.js → CHnaSM8aMnQ2_VWW.js} +3 -3
- package/assets/{CW2Ca6tsd0aLTz88.js → CHpBOpoM9bCvQyn0.js} +1 -1
- package/assets/{D--emvI048MvLsXl.js → CHqnRMWNpLKcAWWn.js} +1 -1
- package/assets/{93ksqLKL1o40anfw.js → CKhbbbjQ-_auMp3n.js} +1 -1
- package/assets/{BGQ1GrnQ-X16GU8k.js → COVhUB0EotytQDHg.js} +2 -2
- package/assets/{4Qlx8FuxoYbVTgNW.js → CSGN4rAf7CYnBDEa.js} +19 -19
- package/assets/{DAVN6N3srI1WMHCN.js → CSKjFDYwiwn5XNnH.js} +2 -2
- package/assets/{MpvZt7VpFWEINIT6.js → CT99WREgkKGpcDTO.js} +1 -1
- package/assets/{C9JUgNS6CrdgIcW3.js → CV729JV1mNyYCmrq.js} +1 -1
- package/assets/{CTGfmocA1WgM0_e0.js → CXk5vwFfosghrTKo.js} +485 -485
- package/assets/{DV_nCOON8Fgq5RBt.js → CXqqaFgNeUVRGvEb.js} +2 -2
- package/assets/{CLFe9HgUi_83dE3d.js → CYCqMEoWsry6_hrc.js} +1 -1
- package/assets/{I7LAF1nLmYqQwt9i.js → Cahhn5OLNqRYy-n8.js} +1 -1
- package/assets/{uMoGfJGab8mZX6eN.js → CdtVv8YQ8PTmS4dz.js} +1 -1
- package/assets/{DSy6cpdU-KNWsbSj.js → CpYgsvYMxV5SbRp3.js} +2 -2
- package/assets/{Dx_IFz5FEPKw-HC1.js → Cu4VAHfmjXWfTMPu.js} +1 -1
- package/assets/{Drmg3-gF0VJs4Yx3.js → CufFcGwo5x95LSb7.js} +1 -1
- package/assets/{B4ii9PGvnlYkSX2q.js → CwNKcoA7na7Ess3a.js} +2 -2
- package/assets/{uoUKT9hTrwZ2INHN.js → D-MsUF59BhikcNZt.js} +3 -3
- package/assets/{yDh_W6M1rvuDhFv1.js → D-N87jCOShDKTFDh.js} +1 -1
- package/assets/{CaI562iJKKOoMw8p.js → D1tShC5iBlUoT2V2.js} +1 -1
- package/assets/{eWHWPRWHX6YU8bJU.js → D89TE5n8VKre9Gmp.js} +1 -1
- package/assets/{eV0oowKJe44NBnWj.js → D8dNiNpu9_L0NjGP.js} +1 -1
- package/assets/{C9wXzrhl0dwqZgJ6.js → D9ja7F9irHf9Iovx.js} +1 -1
- package/assets/{LugZP3XHNnoiiTJO.js → DAqaOCEQLmZRjcdR.js} +1 -1
- package/assets/{D4lMEKXi13vhDJbE.js → DEOkcuqKBFyRnY18.js} +1 -1
- package/assets/{B-7inN76S1zUWSAt.js → DFQLoYLUO4TgDZPK.js} +1 -1
- package/assets/{CyOyY32LLW-Pj_L7.js → DHHYGjNwlLvja3dS.js} +1 -1
- package/assets/{_LMcVYWJksPfGVxz.js → DLbzfP7OOWhafkTq.js} +1 -1
- package/assets/{DndzARNYtmumqGnG.js → DQIQR1t3IkC9wshP.js} +1 -1
- package/assets/{8FzS1bgbz4U1QE_m.js → DRd8gdwcr3EqtGkb.js} +1 -1
- package/assets/{mYZ9Z5AKCn7zltHw.js → DawLBAaNAAmo_P3Y.js} +2 -2
- package/assets/{BEq2PSZQN7VV19RQ.js → Dbh-XVDw294AVLtl.js} +1 -1
- package/assets/{CDvP9QyhDwdm3MZn.js → DdDKDqtpIkzd-mXi.js} +2 -2
- package/assets/{CpLTCQemd_cJ4yFu.js → DdXp_iPwTOHAOvlL.js} +8 -8
- package/assets/{Xkr_4WLwk0ZPaYH2.js → DdnALoxd3b8TLNla.js} +1 -1
- package/assets/{DIntlX_ha_wRdxYj.js → DevKDvFONeJ9euEq.js} +1 -1
- package/assets/{YGYD-116vlZfzPn1.js → DgVCjvTw9Df1DV1x.js} +15 -15
- package/assets/{DnDTldUjKy0O586y.js → DgYcOz0M0pmZf9x_.js} +2 -2
- package/assets/{BieAybaOdneMdvBS.js → DmVQgN-N_HhYvakk.js} +1 -1
- package/assets/DoScYrfTJOHXe-Ko.js +199 -0
- package/assets/{wYvkLI8IeHaWTtAx.js → DrLUi6vduqDLmQjl.js} +46 -46
- package/assets/{BJYl-kvBtcnMVP8W.js → Ds5pLAwSN4lSbao6.js} +1 -1
- package/assets/{klKXcdZmbQmsK2rt.js → DsBXjYAgTUXAAWZZ.js} +1 -1
- package/assets/{Ti7kMsQ-Eo3lkfIh.js → DtvJg63vbDd6B7sD.js} +6 -6
- package/assets/{nV0eE4R3npcOHLbx.js → Dvsld01DkmiNLjfP.js} +1 -1
- package/assets/{Dlbgs8csKymbxu7r.js → DxNK3HVEzFdUou54.js} +1 -1
- package/assets/{Dv9ZDmKuxn2tQDGb.js → DzGpZ2CQ1St9BF0y.js} +1 -1
- package/assets/{CUJiePMri5kkpdA7.js → E9mta1q4VtVUusy5.js} +1 -1
- package/assets/{DzLrAy24em5k5en0.js → GGcMgq3ScY7Tv0PE.js} +3 -3
- package/assets/{q57cDvIPcIvWlh5T.js → HVwvDMZh0ZGR-hRT.js} +3 -3
- package/assets/{IDq3QQa5uRqjVJx_.js → OfjHqYH31KqC5gVM.js} +1 -1
- package/assets/{Dc2LiflUYpt0nVVk.js → OtMeAlbq6tyW5Hnc.js} +4 -4
- package/assets/{Bndiqwoh132Upow1.js → UgDy0WNXuV1sEnFW.js} +2 -2
- package/assets/{CyYbUk6pGr3NIBsy.js → VSbzBtGH0cA8VBsM.js} +33 -33
- package/assets/{Cheq-qaVWm7EaIlQ.js → VWEaItb0XvCoRiCT.js} +1 -1
- package/assets/{DMDx0fX8tHKH0DdL.js → WSiEiaP-NUEr9UaB.js} +2 -2
- package/assets/{BVdH9-49M3APSiPy.js → Z5tQQ6IW5YBjblWX.js} +1 -1
- package/assets/{Cm2WENwEZ0KMyF--.js → b-xk3WtCPBkC4E-Z.js} +2 -2
- package/assets/{ndBoGVVjmy3vkff8.js → coTH4ab6CTEzw87b.js} +2 -2
- package/assets/{hcXZqO-0tG873E-L.js → do_DTptu6c_xHJoZ.js} +2 -2
- package/assets/{B6J8XN1FRN00a_ps.js → hAVtdK6u2tlLI2cB.js} +1 -1
- package/assets/{Cirpx81bWi4G2foA.js → hhpAcu3tINDLk7Ov.js} +5 -5
- package/assets/{DsWJ-YRyuwDUuSge.js → nSzQt54CIADky_tF.js} +1 -1
- package/assets/r-pk3RNq_HjMQFqr.js +14 -0
- package/assets/{Co_ZOyp4mKmSfh0A.js → ryaMyh_8KvmXVSJd.js} +1 -1
- package/assets/{C9eaFlFi_4GmymzP.js → sYakw2x8dcnpUlsX.js} +40 -40
- package/assets/{ltqqdJxoPnLCjhBV.js → tIoHMgrZeRHWyxos.js} +3 -3
- package/assets/{B5yaBbFj2Np9Eh8b.js → tPa3RpqYRqCCCYf1.js} +1 -1
- package/assets/{PMBjuoD2MpG87dao.js → v5XZSqLd9ZV3kqcA.js} +1 -1
- package/assets/{DMMw2v0iTuBnUjMI.js → vazKaFOkHRriv7tX.js} +1 -1
- package/assets/{BItblzoSm0lN3bTV.js → wWgI0JPoe_Wv0ceW.js} +1 -1
- package/assets/{DjH6ckvISyssOSit.js → xDx1vaNa2aCMs4_e.js} +1 -1
- package/assets/{Dsjx528shW3GcGpD.js → zJoBN2CJdxEV7vdh.js} +3 -3
- package/assets/{BkhWR4P1Evw_VP5z.js → ze6Q8BiEw9RClBzZ.js} +1 -1
- package/index.js +1769 -1706
- package/lib.js +1 -1
- package/licenses/dependencies.txt +35 -35
- package/package.json +2 -2
- package/screenshot-page/assets/0buGanYjZDNd9qAK.js +39 -0
- package/screenshot-page/assets/B2oadmu_j6WfNbZ1.js +1 -0
- package/screenshot-page/assets/{BMKiUDjoabO4aG1U.js → B668_VaGrdcWRbkC.js} +1 -1
- package/screenshot-page/assets/BGWgIYge30MP6Xhz.js +48 -0
- package/screenshot-page/assets/{FjOiReLnknWbsRRr.js → BGh5K-hHzy8mSVDr.js} +19 -19
- package/screenshot-page/assets/{BuzI4z8RJGOw8BZD.js → BIQ7KK-buzeddVA9.js} +1 -1
- package/screenshot-page/assets/BPRDGSNh0kvXRFUY.js +1 -0
- package/screenshot-page/assets/{BLPyKyNun9-SHQBZ.js → BRemww1df2HKLd_k.js} +1 -1
- package/screenshot-page/assets/{CXmrXx6MZ5ApF3co.js → Bm9-R9keVK5Sx-8o.js} +1 -1
- package/screenshot-page/assets/{BOjOE9CEMSzcij2W.js → BnZX0sxceYpvtg3I.js} +2 -2
- package/screenshot-page/assets/Bv2MgCMkg3EIQ6iE.js +13 -0
- package/screenshot-page/assets/BvaiwYJ5zZ0d5NRP.js +1 -0
- package/screenshot-page/assets/CAlTfQ_Gh-dURmUc.js +1 -0
- package/screenshot-page/assets/CCFxspvs5VzbYCfl.js +1 -0
- package/screenshot-page/assets/CCqTTfzZokVHIzs2.js +1 -0
- package/screenshot-page/assets/CPs_ARK8JCyz-yZg.js +1 -0
- package/screenshot-page/assets/{B9kA0vdaFJi9iRGo.js → CQ9C0-FcDZxrgC3T.js} +4 -4
- package/screenshot-page/assets/CUeMb48Ucrm5dK5u.js +1 -0
- package/screenshot-page/assets/CcOIj8c4N9KaWnD7.js +1 -0
- package/screenshot-page/assets/CjrHeIdacavAT_Ud.js +3 -0
- package/screenshot-page/assets/{RutPv2GFWmeBiWvn.js → Cmv8bpHaTWZ7Lmbt.js} +2 -2
- package/screenshot-page/assets/CqccUqSMYlwlf2ZU.js +2 -0
- package/screenshot-page/assets/CvmImq-Kbg9srxNr.js +4 -0
- package/screenshot-page/assets/D-3wYBqe4SWdE6bx.js +2 -0
- package/screenshot-page/assets/D-FWnGDbZ9BRDzPR.js +1 -0
- package/screenshot-page/assets/D717DArr-KKL0U6R.js +1 -0
- package/screenshot-page/assets/{BnPHZ_1rjv6kQgsL.js → D8-mayyvvVE1a4JB.js} +1 -1
- package/screenshot-page/assets/DM27mE98BNk1T18I.js +1 -0
- package/screenshot-page/assets/DN-T1DyRMKvxEJSK.js +1 -0
- package/screenshot-page/assets/DRdL1GN4SP7P8lSP.js +2 -0
- package/screenshot-page/assets/DcnhaY93LQd7kVdH.js +2 -0
- package/screenshot-page/assets/{BWtLNVUXjY6EBdEt.js → DdusmeEPaU7CWT6e.js} +1 -1
- package/screenshot-page/assets/{Dkr-6Z1RJsAp9Xrv.js → DfT1DMR1b5kiyYiV.js} +1 -1
- package/screenshot-page/assets/DigI6jhjHePzLgg1.js +1 -0
- package/screenshot-page/assets/DrDLCC0R2IV5VJd7.js +1 -0
- package/screenshot-page/assets/{H_hWDMWfWmjTui7V.js → Dwv5Z_c2XS-hm-5y.js} +1 -1
- package/screenshot-page/assets/Dx0pUf3G4Oa3dGOk.js +1 -0
- package/screenshot-page/assets/JcgNMFaj_uqHSFxr.js +1 -0
- package/screenshot-page/assets/{Bf9AN5sYHaxae0vV.js → U_8_wApwfA7KmIG3.js} +11 -11
- package/screenshot-page/assets/{XiUItCqTNNEApgfa.js → WZprjN2sb7HlraOb.js} +2 -2
- package/screenshot-page/assets/{C4v6Ljs6kwQJu06t.js → adhmz3N2Kgq5eW66.js} +2 -2
- package/screenshot-page/assets/qjoaeEBxfKWCHmqK.js +2 -0
- package/screenshot-page/assets/{BUO6zT3gqK0uOOa-.js → zALFdtoGJBN6m2Bn.js} +1 -1
- package/screenshot-page/assets/zd1Z2E1NjFp2EWC7.js +5 -0
- package/screenshot-page/index.html +8 -8
- package/types/scripting-api.json +7066 -7065
- package/types/scripting.d.ts +37 -9
- package/assets/BmmIukrNOivfENgD.js +0 -199
- package/assets/CCl8x9s8Bujsew7W.js +0 -14
- package/screenshot-page/assets/1yHlU53ypZZelMPx.js +0 -1
- package/screenshot-page/assets/BQ5BNe1adYfpa2OH.js +0 -1
- package/screenshot-page/assets/BZpFWPd0PR1kPT-A.js +0 -1
- package/screenshot-page/assets/BaCs7lUeZ7NidSkP.js +0 -1
- package/screenshot-page/assets/Bh2PQ0zsoGtMKWp1.js +0 -39
- package/screenshot-page/assets/BkhZQsVlVHOiKGTJ.js +0 -1
- package/screenshot-page/assets/Bzf_upccQ2ho6mX0.js +0 -13
- package/screenshot-page/assets/C0AbuMHcIS9oy4XL.js +0 -1
- package/screenshot-page/assets/C7YRL2bVWHPIwzn_.js +0 -1
- package/screenshot-page/assets/CImp91jfSuqX0Wz-.js +0 -1
- package/screenshot-page/assets/C_vPl50T1L5HWnhv.js +0 -1
- package/screenshot-page/assets/Cv-YUArreXqhafcU.js +0 -2
- package/screenshot-page/assets/D23_69pojBfIh4nV.js +0 -5
- package/screenshot-page/assets/D2q4M3I5Jmxm85P2.js +0 -1
- package/screenshot-page/assets/D8QsCbSaWCLAYYso.js +0 -1
- package/screenshot-page/assets/DC_Hdwa9KL7xKU8u.js +0 -2
- package/screenshot-page/assets/DHtL9Iawmr2Uo5VV.js +0 -2
- package/screenshot-page/assets/DKWRl8rs3K9jBYtr.js +0 -1
- package/screenshot-page/assets/DNYWB6WNZTquqQ9v.js +0 -4
- package/screenshot-page/assets/DegZKTNqt1LRnSxY.js +0 -1
- package/screenshot-page/assets/Dhh1xqujbhLa8WFd.js +0 -1
- package/screenshot-page/assets/DllI8kZZZ5LG0Mjd.js +0 -2
- package/screenshot-page/assets/DrcpGT9FLbDzeLeG.js +0 -2
- package/screenshot-page/assets/LCjlxIt1dn3smVjX.js +0 -1
- package/screenshot-page/assets/TwKKik-YQENv52LX.js +0 -1
- package/screenshot-page/assets/XrFpPrRqQNE9AAwH.js +0 -1
- package/screenshot-page/assets/mBuOPJeUPXlKwfPZ.js +0 -48
- package/screenshot-page/assets/zSnM7GhGzLu1MM_u.js +0 -3
|
@@ -1,18 +1,18 @@
|
|
|
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.22
|
|
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 { Q as t, h as e, ht as n, ot as o, xt as s } from "./
|
|
8
|
-
import { Dt as r, F as a, G as i, Kt as l, Tt as c, U as d, Vt as m, ht as p, k as f, lt as h, p as u, v as g } from "./
|
|
9
|
-
import { f as x, o as y, p as v, u as w } from "./
|
|
10
|
-
import {
|
|
11
|
-
import { n as _, y as N } from "./
|
|
12
|
-
import { n as $ } from "./
|
|
13
|
-
import { F as B, _t as O, gt as V, pt as W, vt as z, yt as j } from "./
|
|
14
|
-
import { $t as X, A as H, An as U, At as G, Ct as q, D as J, Dn as K, Dr as Y, Dt as Z, En as Q, Et as et, F as nt, Ft as ot, G as st, Gn as rt, Gt as at, It as it, J as lt, Jn as ct, Jt as dt, Kn as mt, Kt as pt, L as ft, Lt as ht, M as ut, Mn as gt, Mt as xt, O as yt, Or as vt, Ot as wt, P as St, Pn as bt, Pt as Ct, Qn as
|
|
15
|
-
import { i as ln, l as cn, n as dn, o as mn, s as pn, t as fn } from "./
|
|
7
|
+
import { Q as t, h as e, ht as n, ot as o, xt as s } from "./DHHYGjNwlLvja3dS.js";
|
|
8
|
+
import { Dt as r, F as a, G as i, Kt as l, Tt as c, U as d, Vt as m, ht as p, k as f, lt as h, p as u, v as g } from "./BSdRn3B8QeJFflY6.js";
|
|
9
|
+
import { f as x, o as y, p as v, u as w } from "./BUGEQS5WdiLcI_0X.js";
|
|
10
|
+
import { Ft as S, Gn as b, Ha as C, Mr as T, Pa as k, Wa as I, Yt as R, an as F, ft as E, io as M, lo as P, oa as A, pn as D, to as L } from "./C1PTfp7kVu3DqqZh.js";
|
|
11
|
+
import { n as _, y as N } from "./CGB4xgirbgEIN3tg.js";
|
|
12
|
+
import { n as $ } from "./BZxJKqVEO7B23XwE.js";
|
|
13
|
+
import { F as B, _t as O, gt as V, pt as W, vt as z, yt as j } from "./ryaMyh_8KvmXVSJd.js";
|
|
14
|
+
import { $t as X, A as H, An as U, At as G, Ct as q, D as J, Dn as K, Dr as Y, Dt as Z, En as Q, Et as et, F as nt, Ft as ot, G as st, Gn as rt, Gt as at, It as it, J as lt, Jn as ct, Jt as dt, Kn as mt, Kt as pt, L as ft, Lt as ht, M as ut, Mn as gt, Mt as xt, O as yt, Or as vt, Ot as wt, P as St, Pn as bt, Pt as Ct, Qn as Tt, R as kt, Rt as It, Sn as Rt, Sr as Ft, St as Et, Tn as Mt, Tr as Pt, Tt as At, U as Dt, Un as Lt, Ut as _t, Vt as Nt, W as $t, Wn as Bt, Xt as Vt, Yn as Wt, Yt as zt, Z as jt, Zt as Xt, _ as Ht, _r as Ut, ar as Gt, at as qt, b as Jt, bn as Kt, bt as Yt, c as Zt, cn as Qt, cr as te, ct as ee, d as ne, dn as oe, dr as se, dt as re, er as ae, et as ie, fr as ce, ft as de, gn as me, gr as pe, h as fe, hn as he, ht as ue, i as ge, ir as xe, it as ye, j as ve, jn as we, jr as Se, k as be, kn as Ce, kt as Te, l as ke, lr as Ie, lt as Re, n as Fe, nn as Ee, nt as Me, on as Pe, or as Ae, p as De, pn as Le, pr as _e, pt as Ne, qn as $e, r as Be, rn as Oe, rr as Ve, sn as We, st as ze, t as je, tn as Xe, tr as He, u as Ue, un as Ge, ur as qe, vn as Ke, vt as Ye, w as Ze, wn as Qe, wt as tn, y as en, yn as nn, yr as on, z as sn, zn as rn, zt as an } from "./BlxrCp7d-SeM-2DW.js";
|
|
15
|
+
import { i as ln, l as cn, n as dn, o as mn, s as pn, t as fn } from "./BaaVzb7xXROiWUhT.js";
|
|
16
16
|
var hn = [
|
|
17
17
|
["%EntityServiceId", "i"],
|
|
18
18
|
["_DisplayString", "s"],
|
|
@@ -27,7 +27,7 @@ var hn = [
|
|
|
27
27
|
], xn = (t) => {
|
|
28
28
|
const e = t.getName(), n = e.lastIndexOf(":");
|
|
29
29
|
return n > 0 ? e.substring(0, n) : e;
|
|
30
|
-
}, yn = (t) => t instanceof
|
|
30
|
+
}, yn = (t) => t instanceof P && "#spb" === xn(t.getKind()), vn = (t) => "" + t, wn = (t, e) => {
|
|
31
31
|
const n = [];
|
|
32
32
|
return t?.cardView && n.push(["ShowInCardView", "0"]), t?.dotNotation && n.push(["ShowInDotNotation", "0"]), t?.autoComplete && n.push(["ShowInAutoComplete", "0"]), e && t?.calcCompare && n.push(["ExcludeFromCalcComparison", "1"]), n;
|
|
33
33
|
}, Sn = "resourcesById", bn = class {
|
|
@@ -114,7 +114,7 @@ var hn = [
|
|
|
114
114
|
return "writable" === this.outputKind ? this.outWritable ?? n : n;
|
|
115
115
|
}
|
|
116
116
|
};
|
|
117
|
-
function
|
|
117
|
+
function Tn(t) {
|
|
118
118
|
const e = (t) => t.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">"), n = (t) => e(t).replace(/"/g, """), o = (t) => {
|
|
119
119
|
if (!t) return "";
|
|
120
120
|
let e = "";
|
|
@@ -178,13 +178,13 @@ function kn(t) {
|
|
|
178
178
|
}
|
|
179
179
|
};
|
|
180
180
|
}
|
|
181
|
-
function
|
|
181
|
+
function kn(t) {
|
|
182
182
|
switch (t.kind) {
|
|
183
183
|
case "bytes": return t.bytes;
|
|
184
184
|
case "text": return t.text;
|
|
185
185
|
case "stream": return t.stream;
|
|
186
186
|
case "xmlStream": {
|
|
187
|
-
const e = [], n =
|
|
187
|
+
const e = [], n = Tn({ write: (t) => e.push(t) });
|
|
188
188
|
return t.writeXml(n), n.close(), function(t) {
|
|
189
189
|
let e = 0;
|
|
190
190
|
for (const n of t) e += n.byteLength;
|
|
@@ -365,7 +365,7 @@ var _n = class {
|
|
|
365
365
|
async emit() {
|
|
366
366
|
const t = [...this.parts].sort((t, e) => t.path.localeCompare(e.path));
|
|
367
367
|
for (const e of t) {
|
|
368
|
-
const t =
|
|
368
|
+
const t = kn(e.body);
|
|
369
369
|
await this.zip.add(e.path, t, e.optionsZip);
|
|
370
370
|
}
|
|
371
371
|
const e = this.relsRoot.toXmlBytes();
|
|
@@ -568,7 +568,7 @@ var qn = class {
|
|
|
568
568
|
} };
|
|
569
569
|
let r;
|
|
570
570
|
await e.emit(t.payload, {
|
|
571
|
-
getXMLWriter: () => r || (r =
|
|
571
|
+
getXMLWriter: () => r || (r = Tn(s), r),
|
|
572
572
|
addPart: (t, e, o, s) => this._addPartInternal(n, t, e, o, s),
|
|
573
573
|
addBinary: (t, e, o, s, r = !1, a) => this._addBinaryInternal(n, t, e, o, s, r, a),
|
|
574
574
|
addExternal: (t, e, o) => ({
|
|
@@ -845,10 +845,10 @@ function so(n, s, r, a, i) {
|
|
|
845
845
|
a && (a = ao(a, t, n, !1));
|
|
846
846
|
const i = { ...s };
|
|
847
847
|
return a ? i.borders = a : delete i.borders, r.getElementID(i, r.getElementComplement?.(e)) ?? e;
|
|
848
|
-
}, C = (t, e, n, o, s) => e === o && (!S(o) || b(t, e, s) === b(n, o, s)),
|
|
848
|
+
}, C = (t, e, n, o, s) => e === o && (!S(o) || b(t, e, s) === b(n, o, s)), T = /* @__PURE__ */ new Map(), k = (t, e) => {
|
|
849
849
|
if (e.rowStart >= x || e.colStart >= y) return;
|
|
850
|
-
const n =
|
|
851
|
-
n ? n.push(e) :
|
|
850
|
+
const n = T.get(t);
|
|
851
|
+
n ? n.push(e) : T.set(t, [e]);
|
|
852
852
|
}, I = [], R = [];
|
|
853
853
|
let F = g.next();
|
|
854
854
|
for (; !F.done;) {
|
|
@@ -856,7 +856,7 @@ function so(n, s, r, a, i) {
|
|
|
856
856
|
F = g.next();
|
|
857
857
|
const e = t.overlaps, n = t.range, o = e.length;
|
|
858
858
|
if (1 === o) {
|
|
859
|
-
e[0].value &&
|
|
859
|
+
e[0].value && k(e[0], n);
|
|
860
860
|
continue;
|
|
861
861
|
}
|
|
862
862
|
let s, r, a, i, l, c;
|
|
@@ -864,16 +864,16 @@ function so(n, s, r, a, i) {
|
|
|
864
864
|
const n = e[t], o = n.value;
|
|
865
865
|
"number" != typeof o ? 0 === n.rowStart && n.rowEnd === x ? (l = o.s, c = n) : 0 === n.colStart && n.colEnd === y && (a = o.s, i = n) : 0 === o && void 0 !== s || (s = o, r = n);
|
|
866
866
|
}
|
|
867
|
-
void 0 === a ? void 0 === l ? (0 !== s || 2 !== o && 4 !== o) &&
|
|
867
|
+
void 0 === a ? void 0 === l ? (0 !== s || 2 !== o && 4 !== o) && k(r, n) : C(c, l, r, s, n) ? R.push({
|
|
868
868
|
...n,
|
|
869
869
|
value: l,
|
|
870
870
|
header: c
|
|
871
871
|
}) : 0 === s ? I.push({
|
|
872
872
|
...n,
|
|
873
873
|
value: 0
|
|
874
|
-
}) :
|
|
874
|
+
}) : k(r, n) : C(i, a, r, s, n) || k(r, n);
|
|
875
875
|
}
|
|
876
|
-
for (const [t, e] of
|
|
876
|
+
for (const [t, e] of T) {
|
|
877
877
|
const n = ho(e);
|
|
878
878
|
for (let e = 0; e < n.length; e++) {
|
|
879
879
|
const o = {
|
|
@@ -902,10 +902,10 @@ function so(n, s, r, a, i) {
|
|
|
902
902
|
};
|
|
903
903
|
}({
|
|
904
904
|
cells: m,
|
|
905
|
-
cols: l.cols ?
|
|
906
|
-
rows: l.rows ?
|
|
905
|
+
cols: l.cols ? D.refsToRuns(l.cols, !0) : [],
|
|
906
|
+
rows: l.rows ? D.refsToRuns(l.rows, !1) : []
|
|
907
907
|
}, d, a), g = { ...n };
|
|
908
|
-
u.cols.length > 0 ? g.cols =
|
|
908
|
+
u.cols.length > 0 ? g.cols = D.runsToRefs(u.cols, !0) : delete g.cols;
|
|
909
909
|
const x = function(t, e, n) {
|
|
910
910
|
if (0 === e.length && 0 === n.length) return t;
|
|
911
911
|
const o = [], s = (t) => {
|
|
@@ -936,9 +936,9 @@ function so(n, s, r, a, i) {
|
|
|
936
936
|
}
|
|
937
937
|
return r;
|
|
938
938
|
}(u.rows, h.top, h.bottom);
|
|
939
|
-
x.length > 0 ? g.rows =
|
|
939
|
+
x.length > 0 ? g.rows = D.runsToRefs(x, !1) : delete g.rows;
|
|
940
940
|
const y = u.cells;
|
|
941
|
-
return y.length > 0 ? g.directStyles = y.map(([t, e]) => [
|
|
941
|
+
return y.length > 0 ? g.directStyles = y.map(([t, e]) => [D.rangeToString(t, d), e]) : delete g.directStyles, g;
|
|
942
942
|
}
|
|
943
943
|
function ro(t, e) {
|
|
944
944
|
if (!t || !e) return t === e;
|
|
@@ -1259,7 +1259,7 @@ var xo = [
|
|
|
1259
1259
|
}
|
|
1260
1260
|
} while (c < t.length);
|
|
1261
1261
|
return o;
|
|
1262
|
-
},
|
|
1262
|
+
}, To = class {
|
|
1263
1263
|
constructor() {
|
|
1264
1264
|
this._daprFMBks = [], this._daprFMBkMap = /* @__PURE__ */ new Map(), this._rvFMBks = [], this._rvFMBkMap = /* @__PURE__ */ new Map(), this._valueMeta = [];
|
|
1265
1265
|
}
|
|
@@ -1295,7 +1295,7 @@ var xo = [
|
|
|
1295
1295
|
getValueMeta() {
|
|
1296
1296
|
return this._valueMeta;
|
|
1297
1297
|
}
|
|
1298
|
-
},
|
|
1298
|
+
}, ko = class {
|
|
1299
1299
|
constructor(t, e, n = console.warn) {
|
|
1300
1300
|
this._entries = [], this._keyMap = /* @__PURE__ */ new Map(), this._writers = /* @__PURE__ */ new Map(), this._structureIndex = /* @__PURE__ */ new Map(), this._structures = /* @__PURE__ */ new Map(), this._arrays = [], this._arrayKeys = /* @__PURE__ */ new Map(), this._bagStructures = [], this._bagStructureKeys = /* @__PURE__ */ new Map(), this._bags = [], this._bagKeys = /* @__PURE__ */ new Map(), this._bagArrays = [], this._bagArrayKeys = /* @__PURE__ */ new Map(), this._richStyles = [], this._richStyleKeys = /* @__PURE__ */ new Map(), this._keyFlags = /* @__PURE__ */ new Map(), this._records = ((t) => {
|
|
1301
1301
|
const e = (n) => {
|
|
@@ -1307,7 +1307,7 @@ var xo = [
|
|
|
1307
1307
|
o.push([a.name, "spb"]), r.push(yn(i) ? "" + e(i) : "");
|
|
1308
1308
|
break;
|
|
1309
1309
|
case "array":
|
|
1310
|
-
o.push([a.name, "spba"]), r.push(i instanceof
|
|
1310
|
+
o.push([a.name, "spba"]), r.push(i instanceof R ? "" + t.addBagArray(s(i)) : "");
|
|
1311
1311
|
break;
|
|
1312
1312
|
case "integer":
|
|
1313
1313
|
o.push([a.name, "i"]), r.push(null == i ? "0" : "" + i);
|
|
@@ -1323,9 +1323,9 @@ var xo = [
|
|
|
1323
1323
|
const n = e.getElements(), o = Math.max(1, ...n.map((t) => t.length));
|
|
1324
1324
|
return t.addArray(n.length, o, s(e));
|
|
1325
1325
|
}, a = (e, o) => {
|
|
1326
|
-
if (e instanceof
|
|
1327
|
-
if (e instanceof
|
|
1328
|
-
if (e instanceof
|
|
1326
|
+
if (e instanceof P) return l(e);
|
|
1327
|
+
if (e instanceof R) return t.addValue(t.structureFor("_array", [["array", "a"]]), ["" + r(e)]);
|
|
1328
|
+
if (e instanceof L) return t.addValue(t.structureFor("_hyperlink", [["Address", "s"], ["Text", "s"]]), [e.getAddress() ?? "", "" + (e.getFriendlyName() ?? e.getAddress() ?? "")]);
|
|
1329
1329
|
if ("number" == typeof e) {
|
|
1330
1330
|
const s = o ? [["_Self", "" + t.addRichStyle({ numberFormat: o })]] : [];
|
|
1331
1331
|
return t.addValue(t.structureFor("_formattednumber", [["_Format", "spb"]]), ["" + n(s, "i")], vn(e));
|
|
@@ -1336,7 +1336,7 @@ var xo = [
|
|
|
1336
1336
|
const s = o.getKind(), i = xn(s), l = s.getMeta(), c = l?.card, d = o.getOwnMeta() ?? {}, m = o.getValues(), p = [], f = [];
|
|
1337
1337
|
for (const o of s.getProperties()) {
|
|
1338
1338
|
const { name: h } = o;
|
|
1339
|
-
if (
|
|
1339
|
+
if (Te.has(h)) {
|
|
1340
1340
|
switch (p.push([h, "_Icon" === h ? "s" : "spb"]), h) {
|
|
1341
1341
|
case "_Icon":
|
|
1342
1342
|
f.push(l?.icon ?? "");
|
|
@@ -1386,7 +1386,7 @@ var xo = [
|
|
|
1386
1386
|
yn(u) ? (p.push([h, "spb"]), f.push("" + e(u))) : (p.push([h, "r"]), f.push(null == u ? "" : "" + a(u, d[h]?.numberFormat)));
|
|
1387
1387
|
break;
|
|
1388
1388
|
case "array":
|
|
1389
|
-
p.push([h, "a"]), f.push(u instanceof
|
|
1389
|
+
p.push([h, "a"]), f.push(u instanceof R ? "" + r(u) : "");
|
|
1390
1390
|
break;
|
|
1391
1391
|
case "string":
|
|
1392
1392
|
p.push([h, "s"]), f.push(null == u ? "" : "" + u);
|
|
@@ -1423,7 +1423,7 @@ var xo = [
|
|
|
1423
1423
|
}
|
|
1424
1424
|
return i(e);
|
|
1425
1425
|
};
|
|
1426
|
-
return { writeCell: (t) => t instanceof
|
|
1426
|
+
return { writeCell: (t) => t instanceof P && !yn(t) ? l(t) : t instanceof R ? a(t, void 0) : null };
|
|
1427
1427
|
})(this), this._metaCollector = t, this._workbook = e, this._onWarn = n;
|
|
1428
1428
|
}
|
|
1429
1429
|
add(t, e = null) {
|
|
@@ -1786,7 +1786,7 @@ function Xo(t, e, o, s, r = !1, i = !1) {
|
|
|
1786
1786
|
}), o.type !== a.Type.Image || r) if (o.type !== a.Type.Group || r) if (o.type === a.Type.None || o.type === a.Type.Image || o.type === a.Type.Group) r ? e.empty("patternFill", { patternType: "none" }) : e.empty("noFill");
|
|
1787
1787
|
else if (o.type === a.Type.Solid) {
|
|
1788
1788
|
const t = o;
|
|
1789
|
-
r ? e.start("patternFill", { patternType: "solid" }) : e.start("solidFill"), t.color && (r ? Ao(e, l, t.color, "fgColor") : Mo(e, l, t.color)), r ? e.end("patternFill") : e.end("solidFill");
|
|
1789
|
+
r ? e.start("patternFill", { patternType: "solid" }) : e.start("solidFill"), t.color && (r ? Ao(e, l, t.color, i ? "bgColor" : "fgColor") : Mo(e, l, t.color)), r ? e.end("patternFill") : e.end("solidFill");
|
|
1790
1790
|
} else if (o.type === a.Type.Pattern) {
|
|
1791
1791
|
const t = o, n = t.patternType || "solid";
|
|
1792
1792
|
e.start("patternFill", { patternType: n });
|
|
@@ -2149,11 +2149,11 @@ function Cs(t, e, n, o, s, r = !1) {
|
|
|
2149
2149
|
let a = s.color;
|
|
2150
2150
|
a && Ao(e, n, a, "color", !r, r), e.end(o);
|
|
2151
2151
|
}
|
|
2152
|
-
function
|
|
2152
|
+
function Ts(t, e, n, o, s = !1) {
|
|
2153
2153
|
const r = {}, a = (t) => !!t?.style && "none" !== t.style, i = a(n.diagonalUp) ? n.diagonalUp : void 0, l = a(n.diagonalDown) ? n.diagonalDown : void 0;
|
|
2154
|
-
s ? (r.diagonalUp = "0", r.diagonalDown = "0") : (i && (r.diagonalUp = "1"), l && (r.diagonalDown = "1")), e.start("border", r), Cs(0, e, o, "left", n.left, s), Cs(0, e, o, "right", n.right, s), Cs(0, e, o, "top", n.top, s), Cs(0, e, o, "bottom", n.bottom, s), s ? (Cs(0, e, o, "vertical", n.vertical, s), Cs(0, e, o, "horizontal", n.horizontal, s)) : (i && l && (i.style !== l.style ||
|
|
2154
|
+
s ? (r.diagonalUp = "0", r.diagonalDown = "0") : (i && (r.diagonalUp = "1"), l && (r.diagonalDown = "1")), e.start("border", r), Cs(0, e, o, "left", n.left, s), Cs(0, e, o, "right", n.right, s), Cs(0, e, o, "top", n.top, s), Cs(0, e, o, "bottom", n.bottom, s), s ? (Cs(0, e, o, "vertical", n.vertical, s), Cs(0, e, o, "horizontal", n.horizontal, s)) : (i && l && (i.style !== l.style || ks(i.color) !== ks(l.color)) && t.warn("A cell has diagonal borders in two different line styles or colors; an xlsx cell holds one diagonal line, so both are saved in the up diagonal's.", void 0, "xlsx.border.diagonalMismatch"), Cs(0, e, o, "diagonal", i ?? l, s)), e.end("border");
|
|
2155
2155
|
}
|
|
2156
|
-
var
|
|
2156
|
+
var ks = (t) => null == t ? null : "string" == typeof t ? t : JSON.stringify(t);
|
|
2157
2157
|
function Is(t, e, n, o = !1) {
|
|
2158
2158
|
const s = {};
|
|
2159
2159
|
n.horizontal && n.horizontal !== h.HorizontalAlignment.General && (s.horizontal = n.horizontal), n.vertical && n.vertical !== h.VerticalAlignment.Bottom && (s.vertical = n.vertical);
|
|
@@ -2182,8 +2182,8 @@ function Rs(t, e, n, o, r, a, i = !1, l = !1, c = null) {
|
|
|
2182
2182
|
const b = o.alignment ?? m?.alignment;
|
|
2183
2183
|
b && (S = Is(0, 0, b)), o.font && (d.applyFont = "1"), o.fill && (d.applyFill = "1"), o.numberFormat && (d.applyNumberFormat = "1"), o.borders && (d.applyBorder = "1"), S && (d.applyAlignment = "1");
|
|
2184
2184
|
let C = null;
|
|
2185
|
-
const
|
|
2186
|
-
(
|
|
2185
|
+
const T = o.protection?.alwaysUnlocked ?? m?.protection?.alwaysUnlocked ?? !1;
|
|
2186
|
+
(T || i) && (C = {}, T && (C.locked = "0"), i && (C.hidden = "1"), d.applyProtection = "1"), o.quotePrefix && (d.quotePrefix = "1"), l && (d.pivotButton = "1"), S || C || null !== c ? (e.start("xf", d), S && e.empty("alignment", S), C && e.empty("protection", C), null !== c && (e.start("extLst"), e.start("ext", {
|
|
2187
2187
|
uri: Fs,
|
|
2188
2188
|
"xmlns:xfpb": Es
|
|
2189
2189
|
}), e.empty("xfpb:xfComplement", { i: String(c) }), e.end("ext"), e.end("extLst")), e.end("xf")) : e.empty("xf", d);
|
|
@@ -2201,7 +2201,7 @@ function Ms(t, e, n, o, s, r = "dxf", a = Ps) {
|
|
|
2201
2201
|
const t = Is(0, 0, n.alignment, !0);
|
|
2202
2202
|
t && e.empty("alignment", t);
|
|
2203
2203
|
}
|
|
2204
|
-
return n.borders &&
|
|
2204
|
+
return n.borders && Ts(t, e, n.borders, s, !0), e.end(r), a;
|
|
2205
2205
|
}
|
|
2206
2206
|
var Ps = 164, As = Object.freeze([
|
|
2207
2207
|
"unselectedItemWithData",
|
|
@@ -2463,7 +2463,7 @@ var Ps = 164, As = Object.freeze([
|
|
|
2463
2463
|
numFmtId: (t) => ((t, e) => (vs(t.styles, e, t.denormalized), parseInt(t.denormalized.numFmtMap.get(e) ?? "0", 10)))(n, t),
|
|
2464
2464
|
dxfId: (t) => o.add(t)
|
|
2465
2465
|
};
|
|
2466
|
-
}, tr = (t, e) => t.getSharedStates().get("pivotCachePaths")?.get(e) ?? null, er = "date1904", nr = (t) => !0 === t.getSharedStates().get(er), or = 0, sr =
|
|
2466
|
+
}, tr = (t, e) => t.getSharedStates().get("pivotCachePaths")?.get(e) ?? null, er = "date1904", nr = (t) => !0 === t.getSharedStates().get(er), or = 0, sr = A.BuiltInOperatorNames, rr = (t, e, n, o, s, r, a) => {
|
|
2467
2467
|
const i = o.sorts, l = i ? i.length : 0;
|
|
2468
2468
|
if (0 === l) return;
|
|
2469
2469
|
const c = {};
|
|
@@ -2472,7 +2472,7 @@ var Ps = 164, As = Object.freeze([
|
|
|
2472
2472
|
t && (c.caseSensitive = "object" != typeof t || Array.isArray(t) || "case" !== t.sensitivity && "variant" !== t.sensitivity ? "0" : "1");
|
|
2473
2473
|
}
|
|
2474
2474
|
const d = o.extent, m = n.getRange().getCoords(), p = (d ? an(m, d.range) : null) ?? r;
|
|
2475
|
-
c.ref =
|
|
2475
|
+
c.ref = D.rangeToString(p), c["xmlns:xlrd2"] = "http://schemas.microsoft.com/office/spreadsheetml/2017/richdata2", e.start("sortState", c);
|
|
2476
2476
|
for (let n = 0; n < l; n++) {
|
|
2477
2477
|
const o = i[n], s = o.criteria ?? {}, l = o.index + r.colStart, c = {};
|
|
2478
2478
|
s.reverse && (c.descending = "1");
|
|
@@ -2486,7 +2486,7 @@ var Ps = 164, As = Object.freeze([
|
|
|
2486
2486
|
colStart: l,
|
|
2487
2487
|
colEnd: l
|
|
2488
2488
|
});
|
|
2489
|
-
c.ref =
|
|
2489
|
+
c.ref = D.rangeToString(h);
|
|
2490
2490
|
const u = ue(s.sortOn);
|
|
2491
2491
|
u && (c.sortBy = u), void 0 !== s.style && (c.dxfId = hs(t.getSharedStates()).add(s.style)), void 0 !== s.iconSet && (c.iconSet = s.iconSet), void 0 !== s.customList && (c.customList = s.customList), e.empty("sortCondition", c);
|
|
2492
2492
|
}
|
|
@@ -2522,16 +2522,16 @@ var Ps = 164, As = Object.freeze([
|
|
|
2522
2522
|
const s = { operator: o.operator };
|
|
2523
2523
|
void 0 !== o.val && (s.val = o.val), e.empty("customFilter", s);
|
|
2524
2524
|
}, lr = /* @__PURE__ */ new Set([
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2525
|
+
A.BuiltInSelectorNames.Display,
|
|
2526
|
+
A.BuiltInSelectorNames.Date,
|
|
2527
|
+
A.BuiltInSelectorNames.Time
|
|
2528
2528
|
]), cr = (t, e, n, o, s, r = null) => {
|
|
2529
2529
|
const a = {};
|
|
2530
2530
|
a.colId = "" + n, s && (a.hiddenButton = "1"), o ? (e.start("filterColumn", a), ((t, e, n, o = null) => {
|
|
2531
2531
|
const s = n.operator, r = "string" == typeof n.selector ? n.selector : n.selector?.getName?.();
|
|
2532
|
-
if (r && !lr.has(r) && t.warn(`A '${r}' selector has no OOXML form in a Table AutoFilter; the rule is written without it`, n), !0 === n.includeBlanks && s !==
|
|
2533
|
-
if (s ===
|
|
2534
|
-
if (s ===
|
|
2532
|
+
if (r && !lr.has(r) && t.warn(`A '${r}' selector has no OOXML form in a Table AutoFilter; the rule is written without it`, n), !0 === n.includeBlanks && s !== A.BuiltInOperatorNames.InSet && s !== sr.Blank && t.warn("Ignore Blank has no OOXML form in a Table AutoFilter outside a values list; Excel will hide the blank rows", n), s === A.BuiltInOperatorNames.Expression) return void t.warn("Expression conditions not supported in Table AutoFilters", n);
|
|
2533
|
+
if (s === A.BuiltInOperatorNames.Unique) return void t.warn("Unique conditions not supported in Table AutoFilters", n);
|
|
2534
|
+
if (s === A.BuiltInOperatorNames.Color) {
|
|
2535
2535
|
const o = n.param, s = {};
|
|
2536
2536
|
void 0 !== o.cellColor && (s.cellColor = o.cellColor ? "1" : "0"), void 0 !== o.style && (s.dxfId = hs(t.getSharedStates()).add(o.style)), e.empty("colorFilter", s);
|
|
2537
2537
|
}
|
|
@@ -2546,10 +2546,10 @@ var Ps = 164, As = Object.freeze([
|
|
|
2546
2546
|
});
|
|
2547
2547
|
e.end("customFilters");
|
|
2548
2548
|
} else if (s !== sr.Blank) {
|
|
2549
|
-
if (s ===
|
|
2549
|
+
if (s === A.BuiltInOperatorNames.InSet) {
|
|
2550
2550
|
const s = n.param ?? {};
|
|
2551
2551
|
let r = Array.isArray(s.items) ? s.items : [];
|
|
2552
|
-
n.selector !==
|
|
2552
|
+
n.selector !== A.BuiltInSelectorNames.Display && r.some((t) => "string" != typeof t) && (r = ((t, e, n, o) => {
|
|
2553
2553
|
const s = [], r = [];
|
|
2554
2554
|
for (let t = 0; t < n.length; t++) {
|
|
2555
2555
|
const e = n[t];
|
|
@@ -2577,7 +2577,7 @@ var Ps = 164, As = Object.freeze([
|
|
|
2577
2577
|
e.end("customFilters");
|
|
2578
2578
|
}
|
|
2579
2579
|
} else U(n) ? (e.start("customFilters"), ir(t, e, n), e.end("customFilters")) : s === sr.Not && t.warn("Not rule with non-comparison criteria not supported in OOXML", n.param);
|
|
2580
|
-
if (s ===
|
|
2580
|
+
if (s === A.BuiltInOperatorNames.TimePeriod) {
|
|
2581
2581
|
const o = n.param, s = o?.type;
|
|
2582
2582
|
if (s && Qe.has(s)) {
|
|
2583
2583
|
const n = o.anchorDate, r = "number" == typeof n && Number.isFinite(n) ? tn(s, Math.floor(n), nr(t)) : null;
|
|
@@ -2588,15 +2588,15 @@ var Ps = 164, As = Object.freeze([
|
|
|
2588
2588
|
} : { type: s });
|
|
2589
2589
|
} else t.warn(`TimePeriod '${s}' has no OOXML dynamicFilter type; not written`, n.param);
|
|
2590
2590
|
}
|
|
2591
|
-
if (s ===
|
|
2592
|
-
const o = n.param, s = o?.type ===
|
|
2591
|
+
if (s === A.BuiltInOperatorNames.Average) {
|
|
2592
|
+
const o = n.param, s = o?.type === A.AverageType.Below ? "belowAverage" : "aboveAverage";
|
|
2593
2593
|
o?.stdDevs && t.warn(`Average with stdDevs has no OOXML spelling; written as ${s}`, n.param), e.empty("dynamicFilter", { type: s });
|
|
2594
2594
|
}
|
|
2595
|
-
if (s ===
|
|
2595
|
+
if (s === A.BuiltInOperatorNames.Icon) {
|
|
2596
2596
|
const t = n.param, o = {};
|
|
2597
2597
|
void 0 !== t.iconSet && (o.iconSet = t.iconSet), void 0 !== t.iconId && (o.iconId = "" + t.iconId), e.empty("iconFilter", o);
|
|
2598
2598
|
}
|
|
2599
|
-
if (s ===
|
|
2599
|
+
if (s === A.BuiltInOperatorNames.TopN) {
|
|
2600
2600
|
const o = n.param;
|
|
2601
2601
|
if (o.sum) return void t.warn("Top N by sum has no OOXML form in a Table AutoFilter; it is not written", n);
|
|
2602
2602
|
const s = {};
|
|
@@ -2636,7 +2636,7 @@ var Ps = 164, As = Object.freeze([
|
|
|
2636
2636
|
rowIndex: t.rowStart,
|
|
2637
2637
|
colIndex: t.colStart + n
|
|
2638
2638
|
}, a = s.parse(o, r);
|
|
2639
|
-
return a &&
|
|
2639
|
+
return a && E.image(s.spell(a, !1, e.getName()), { at: r }) || o;
|
|
2640
2640
|
} catch {
|
|
2641
2641
|
return o;
|
|
2642
2642
|
}
|
|
@@ -2659,7 +2659,7 @@ var Ps = 164, As = Object.freeze([
|
|
|
2659
2659
|
"mc:Ignorable": "x xr10",
|
|
2660
2660
|
"xmlns:x": gr,
|
|
2661
2661
|
"xmlns:xr10": yr
|
|
2662
|
-
}, Cr = (t) => t.toJSON()?.pivot ?? null,
|
|
2662
|
+
}, Cr = (t) => t.toJSON()?.pivot ?? null, Tr = (t) => void 0 !== Cr(t)?.timeline, kr = (t) => {
|
|
2663
2663
|
const e = [], n = t.getMovables().getItems();
|
|
2664
2664
|
for (let t = 0; t < n.length; t++) {
|
|
2665
2665
|
const o = n[t].getContent();
|
|
@@ -2712,7 +2712,7 @@ function Dr(t, e, n, o, s, r) {
|
|
|
2712
2712
|
let i = Xe(a.xml, s);
|
|
2713
2713
|
const l = wt(i), c = l ? $t((t) => l.get(t)) : void 0, d = o.tabColor;
|
|
2714
2714
|
(d ?? void 0) !== c && (i = ft(i, d ? function(t, e) {
|
|
2715
|
-
const n = [], o =
|
|
2715
|
+
const n = [], o = Tn({ write: (t) => {
|
|
2716
2716
|
n.push(t);
|
|
2717
2717
|
} });
|
|
2718
2718
|
return o.setValidationDisabled(!0), Ao(o, t.getTheme(), e, "tabColor", !1), o.close(), new TextDecoder("utf-8").decode(function(t) {
|
|
@@ -2962,14 +2962,14 @@ function Yr(t, e, n) {
|
|
|
2962
2962
|
void 0 !== e.charset && t.empty("charset", { val: e.charset }), c && t.empty("scheme", { val: c }), t.end("rPr");
|
|
2963
2963
|
}
|
|
2964
2964
|
function Zr(t, e) {
|
|
2965
|
-
t.start("t",
|
|
2965
|
+
t.start("t", ke.test(e) || /[\n\r]/.test(e) ? Fe : void 0), t.text(e), t.end("t");
|
|
2966
2966
|
}
|
|
2967
2967
|
function Qr(t) {
|
|
2968
2968
|
const e = t.getRanges();
|
|
2969
2969
|
if (e.isInvalid()) return null;
|
|
2970
2970
|
const n = e.getCoords()[0];
|
|
2971
2971
|
return n ? {
|
|
2972
|
-
ref:
|
|
2972
|
+
ref: D.cellToString({
|
|
2973
2973
|
rowIndex: n.rowStart,
|
|
2974
2974
|
colIndex: n.colStart
|
|
2975
2975
|
}),
|
|
@@ -3001,13 +3001,13 @@ function la(t, e, n, o) {
|
|
|
3001
3001
|
const r = [];
|
|
3002
3002
|
for (let o = e.rowStart; o <= e.rowEnd; o++) for (let a = e.colStart; a <= e.colEnd; a++) {
|
|
3003
3003
|
let i = n;
|
|
3004
|
-
o === e.rowStart && a === e.colStart || (s || (s = [],
|
|
3004
|
+
o === e.rowStart && a === e.colStart || (s || (s = [], D.normalizeA1ToR1C1(n, e.rowStart, e.colStart, s)), i = D.resolveRelativeToA1(s, o, a));
|
|
3005
3005
|
const l = ge(i, {
|
|
3006
3006
|
rowIndex: o,
|
|
3007
3007
|
colIndex: a
|
|
3008
3008
|
});
|
|
3009
3009
|
if (!l) return !1;
|
|
3010
|
-
const c = t.getRange(
|
|
3010
|
+
const c = t.getRange(D.cellToString({
|
|
3011
3011
|
rowIndex: o,
|
|
3012
3012
|
colIndex: a
|
|
3013
3013
|
})).getCell().getValue();
|
|
@@ -3023,7 +3023,7 @@ function la(t, e, n, o) {
|
|
|
3023
3023
|
}
|
|
3024
3024
|
function ca(t, e) {
|
|
3025
3025
|
let n = e.type;
|
|
3026
|
-
n ===
|
|
3026
|
+
n === M.ColorStopType.AutoMin ? n = M.ColorStopType.Min : n === M.ColorStopType.AutoMax && (n = M.ColorStopType.Max), t.empty("cfvo", {
|
|
3027
3027
|
type: n,
|
|
3028
3028
|
val: e.value,
|
|
3029
3029
|
gte: e.exclusive ? "0" : void 0
|
|
@@ -3058,33 +3058,30 @@ var ma = /* @__PURE__ */ new Set([
|
|
|
3058
3058
|
function pa(t) {
|
|
3059
3059
|
return (t.icon?.length ?? 0) > 0 || void 0 !== t.iconSet && !ma.has(t.iconSet);
|
|
3060
3060
|
}
|
|
3061
|
-
function fa(t
|
|
3061
|
+
function fa(t) {
|
|
3062
|
+
return [t.minPoint ?? { type: M.ColorStopType.Min }, t.maxPoint ?? { type: M.ColorStopType.Max }];
|
|
3063
|
+
}
|
|
3064
|
+
function ha(t, e, o, s, r, a, i, l, c) {
|
|
3062
3065
|
const d = s.scale;
|
|
3063
3066
|
s.ext && t.warn("Conditional format extension payload is not written to xlsx; it will be lost.");
|
|
3064
3067
|
const m = {
|
|
3065
3068
|
type: r.type,
|
|
3066
3069
|
dxfId: s.style && Object.keys(s.style).length > 0 ? l.add(s.style) : void 0,
|
|
3067
3070
|
priority: i,
|
|
3068
|
-
stopIfTrue:
|
|
3069
|
-
aboveAverage:
|
|
3070
|
-
equalAverage:
|
|
3071
|
+
stopIfTrue: xa(s.stopIfTrue),
|
|
3072
|
+
aboveAverage: xa(r.aboveAverage),
|
|
3073
|
+
equalAverage: xa(r.equalAverage),
|
|
3071
3074
|
stdDev: r.stdDev,
|
|
3072
|
-
bottom:
|
|
3073
|
-
percent:
|
|
3075
|
+
bottom: xa(r.bottom),
|
|
3076
|
+
percent: xa(r.percent),
|
|
3074
3077
|
rank: r.rank,
|
|
3075
3078
|
operator: r.operator,
|
|
3076
3079
|
text: r.text,
|
|
3077
3080
|
timePeriod: r.timePeriod
|
|
3078
3081
|
};
|
|
3079
3082
|
let p;
|
|
3080
|
-
d?.type ===
|
|
3081
|
-
|
|
3082
|
-
const e = t.stops, n = e ? e.length : 0;
|
|
3083
|
-
for (let t = 0; t < n; t++) {
|
|
3084
|
-
const n = e[t].type;
|
|
3085
|
-
if (n === T.ColorStopType.AutoMin || n === T.ColorStopType.AutoMax) return !0;
|
|
3086
|
-
}
|
|
3087
|
-
return !1;
|
|
3083
|
+
d?.type === M.ScaleType.DataBar && function(t) {
|
|
3084
|
+
return !!(t.solidFill || t.borderColor || t.negativeFillColor || t.negativeBorderColor || t.axisColor || t.axisPosition || t.direction) || t.minPoint?.type === M.ColorStopType.AutoMin || t.maxPoint?.type === M.ColorStopType.AutoMax;
|
|
3088
3085
|
}(d) && (p = Pt(n.uuidV4), c.push({
|
|
3089
3086
|
guid: p,
|
|
3090
3087
|
sqref: a,
|
|
@@ -3095,27 +3092,26 @@ function fa(t, e, o, s, r, a, i, l, c) {
|
|
|
3095
3092
|
if (0 !== h || d) {
|
|
3096
3093
|
e.start("cfRule", m);
|
|
3097
3094
|
for (let t = 0; t < h; t++) e.start("formula"), e.text(f[t]), e.end("formula");
|
|
3098
|
-
if (d?.type ===
|
|
3095
|
+
if (d?.type === M.ScaleType.ColorScale) {
|
|
3099
3096
|
const t = d.stops ?? [];
|
|
3100
3097
|
e.start("colorScale");
|
|
3101
3098
|
for (let n = 0; n < t.length; n++) ca(e, t[n]);
|
|
3102
3099
|
for (let n = 0; n < t.length; n++) Ao(e, o, t[n].color, "color");
|
|
3103
3100
|
e.end("colorScale");
|
|
3104
|
-
} else if (d?.type ===
|
|
3105
|
-
const t = d.stops ?? [];
|
|
3101
|
+
} else if (d?.type === M.ScaleType.DataBar) {
|
|
3106
3102
|
e.start("dataBar", {
|
|
3107
|
-
minLength: d.minLength,
|
|
3108
|
-
maxLength: d.maxLength,
|
|
3109
|
-
showValue:
|
|
3103
|
+
minLength: d.minLength ?? 0,
|
|
3104
|
+
maxLength: d.maxLength ?? 100,
|
|
3105
|
+
showValue: xa(d.showValue)
|
|
3110
3106
|
});
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
} else if (d?.type ===
|
|
3107
|
+
const [t, n] = fa(d);
|
|
3108
|
+
ca(e, t), ca(e, n), Ao(e, o, d.color ?? "#638EC6", "color"), e.end("dataBar");
|
|
3109
|
+
} else if (d?.type === M.ScaleType.IconSet) {
|
|
3114
3110
|
const t = d.stops ?? [];
|
|
3115
3111
|
e.start("iconSet", {
|
|
3116
3112
|
iconSet: d.iconSet,
|
|
3117
|
-
reverse:
|
|
3118
|
-
showValue:
|
|
3113
|
+
reverse: xa(d.reverse),
|
|
3114
|
+
showValue: xa(d.showValue)
|
|
3119
3115
|
});
|
|
3120
3116
|
for (let n = 0; n < t.length; n++) ca(e, t[n]);
|
|
3121
3117
|
e.end("iconSet");
|
|
@@ -3126,35 +3122,35 @@ function fa(t, e, o, s, r, a, i, l, c) {
|
|
|
3126
3122
|
}), e.start("x14:id"), e.text(p), e.end("x14:id"), e.end("ext"), e.end("extLst")), e.end("cfRule");
|
|
3127
3123
|
} else e.empty("cfRule", m);
|
|
3128
3124
|
}
|
|
3129
|
-
function
|
|
3125
|
+
function ua(t) {
|
|
3130
3126
|
let e = Number.MAX_SAFE_INTEGER, n = Number.MAX_SAFE_INTEGER;
|
|
3131
3127
|
const o = t.split(" ");
|
|
3132
3128
|
for (let t = 0; t < o.length; t++) {
|
|
3133
3129
|
if (!o[t]) continue;
|
|
3134
|
-
const s =
|
|
3130
|
+
const s = D.fastStringToRange(o[t]);
|
|
3135
3131
|
s.rowStart < e && (e = s.rowStart), s.colStart < n && (n = s.colStart);
|
|
3136
3132
|
}
|
|
3137
|
-
return
|
|
3133
|
+
return D.cellToString({
|
|
3138
3134
|
rowIndex: e,
|
|
3139
3135
|
colIndex: n
|
|
3140
3136
|
});
|
|
3141
3137
|
}
|
|
3142
|
-
function
|
|
3138
|
+
function ga(t) {
|
|
3143
3139
|
if ("string" == typeof t) return t.split(",").join(" ");
|
|
3144
3140
|
if (Array.isArray(t)) {
|
|
3145
3141
|
const e = [];
|
|
3146
3142
|
for (let n = 0; n < t.length; n++) {
|
|
3147
|
-
const o =
|
|
3143
|
+
const o = D.rangeToString(t[n]);
|
|
3148
3144
|
o && e.push(o);
|
|
3149
3145
|
}
|
|
3150
3146
|
return e.length > 0 ? e.join(" ") : null;
|
|
3151
3147
|
}
|
|
3152
|
-
return
|
|
3148
|
+
return D.rangeToString(t);
|
|
3153
3149
|
}
|
|
3154
|
-
function
|
|
3150
|
+
function xa(t) {
|
|
3155
3151
|
if (void 0 !== t) return t ? "1" : "0";
|
|
3156
3152
|
}
|
|
3157
|
-
function
|
|
3153
|
+
function ya(t) {
|
|
3158
3154
|
if ("string" != typeof t) return !1;
|
|
3159
3155
|
let e = !1;
|
|
3160
3156
|
for (let n = 0; n < t.length; n++) {
|
|
@@ -3164,17 +3160,17 @@ function xa(t) {
|
|
|
3164
3160
|
}
|
|
3165
3161
|
return !1;
|
|
3166
3162
|
}
|
|
3167
|
-
function
|
|
3163
|
+
function va(t) {
|
|
3168
3164
|
const e = t.formulas, n = e ? e.length : 0;
|
|
3169
|
-
for (let t = 0; t < n; t++) if (
|
|
3165
|
+
for (let t = 0; t < n; t++) if (ya(e[t])) return !0;
|
|
3170
3166
|
return !1;
|
|
3171
3167
|
}
|
|
3172
|
-
function
|
|
3168
|
+
function wa(t) {
|
|
3173
3169
|
let e = Number.MAX_SAFE_INTEGER, n = Number.MAX_SAFE_INTEGER;
|
|
3174
3170
|
const o = t.split(" ");
|
|
3175
3171
|
for (let t = 0; t < o.length; t++) {
|
|
3176
3172
|
if (!o[t]) continue;
|
|
3177
|
-
const s =
|
|
3173
|
+
const s = D.fastStringToRange(o[t]);
|
|
3178
3174
|
s.rowStart < e && (e = s.rowStart), s.colStart < n && (n = s.colStart);
|
|
3179
3175
|
}
|
|
3180
3176
|
return e === Number.MAX_SAFE_INTEGER ? null : {
|
|
@@ -3182,38 +3178,49 @@ function va(t) {
|
|
|
3182
3178
|
colIndex: n
|
|
3183
3179
|
};
|
|
3184
3180
|
}
|
|
3185
|
-
function
|
|
3181
|
+
function Sa(t, e, n) {
|
|
3186
3182
|
if ("string" != typeof t || !t || !e || !n) return t;
|
|
3187
3183
|
try {
|
|
3188
3184
|
const o = n.parse(t, e);
|
|
3189
|
-
return o &&
|
|
3185
|
+
return o && E.image(n.spell(o, !0), { at: e }) || t;
|
|
3190
3186
|
} catch {
|
|
3191
3187
|
return t;
|
|
3192
3188
|
}
|
|
3193
3189
|
}
|
|
3194
|
-
function
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
const
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3190
|
+
function ba(t, e, n) {
|
|
3191
|
+
if (!t || !n) return t;
|
|
3192
|
+
const o = (t) => {
|
|
3193
|
+
const o = t?.value;
|
|
3194
|
+
if ("string" != typeof o) return t;
|
|
3195
|
+
const s = Sa(o, e, n);
|
|
3196
|
+
return s === o ? t : {
|
|
3197
|
+
...t,
|
|
3198
|
+
value: s
|
|
3199
|
+
};
|
|
3200
|
+
};
|
|
3201
|
+
if (t.type === M.ScaleType.DataBar) {
|
|
3202
|
+
const e = o(t.minPoint), n = o(t.maxPoint);
|
|
3203
|
+
if (e === t.minPoint && n === t.maxPoint) return t;
|
|
3204
|
+
const s = { ...t };
|
|
3205
|
+
return e && (s.minPoint = e), n && (s.maxPoint = n), s;
|
|
3206
|
+
}
|
|
3207
|
+
const s = t.stops;
|
|
3208
|
+
if (!s) return t;
|
|
3209
|
+
let r;
|
|
3210
|
+
for (let t = 0; t < s.length; t++) {
|
|
3211
|
+
const e = o(s[t]);
|
|
3212
|
+
e !== s[t] && (r || (r = [...s]), r[t] = e);
|
|
3206
3213
|
}
|
|
3207
|
-
return
|
|
3214
|
+
return r ? {
|
|
3208
3215
|
...t,
|
|
3209
|
-
stops:
|
|
3216
|
+
stops: r
|
|
3210
3217
|
} : t;
|
|
3211
3218
|
}
|
|
3212
|
-
function
|
|
3219
|
+
function Ca(t) {
|
|
3213
3220
|
const e = t.getDataValidations().getSettings(), n = {};
|
|
3214
3221
|
return e.disablePrompts && (n.disablePrompts = "1"), void 0 !== e.windowX && (n.xWindow = e.windowX), void 0 !== e.windowY && (n.yWindow = e.windowY), n;
|
|
3215
3222
|
}
|
|
3216
|
-
function
|
|
3223
|
+
function Ta(t, e, n) {
|
|
3217
3224
|
if (!n || 0 === n.length) return;
|
|
3218
3225
|
const o = n.filter((t) => !t.automatic).length;
|
|
3219
3226
|
t.start(e, {
|
|
@@ -3231,7 +3238,7 @@ function ka(t, e, n, o) {
|
|
|
3231
3238
|
const s = t.addPart("legacyDrawing", o);
|
|
3232
3239
|
e.empty(n, { "r:id": s.relId });
|
|
3233
3240
|
}
|
|
3234
|
-
var
|
|
3241
|
+
var Ia = (t, e, n, o) => {
|
|
3235
3242
|
const s = (e, n) => {
|
|
3236
3243
|
const o = t.getRangeAtBounds({
|
|
3237
3244
|
x: e,
|
|
@@ -3278,15 +3285,15 @@ var Ta = (t, e, n, o) => {
|
|
|
3278
3285
|
bounds: r,
|
|
3279
3286
|
anchor: [...s(r.x, r.y), ...s(r.x + r.width, r.y + r.height)]
|
|
3280
3287
|
};
|
|
3281
|
-
},
|
|
3288
|
+
}, Ra = et + 1, Fa = (t, e, n) => {
|
|
3282
3289
|
t.start(e), t.start("xdr:col"), t.text(n.c ?? 0), t.end("xdr:col"), t.start("xdr:colOff"), t.text(cs(n.x)), t.end("xdr:colOff"), t.start("xdr:row"), t.text(n.r ?? 0), t.end("xdr:row"), t.start("xdr:rowOff"), t.text(cs(n.y)), t.end("xdr:rowOff"), t.end(e);
|
|
3283
|
-
},
|
|
3290
|
+
}, Ea = {
|
|
3284
3291
|
r: void 0,
|
|
3285
3292
|
s: void 0,
|
|
3286
3293
|
t: void 0,
|
|
3287
3294
|
cm: void 0,
|
|
3288
3295
|
vm: void 0
|
|
3289
|
-
},
|
|
3296
|
+
}, Ma = {
|
|
3290
3297
|
r: void 0,
|
|
3291
3298
|
s: void 0,
|
|
3292
3299
|
customFormat: void 0,
|
|
@@ -3298,30 +3305,30 @@ var Ta = (t, e, n, o) => {
|
|
|
3298
3305
|
collapsed: void 0,
|
|
3299
3306
|
thickTop: void 0,
|
|
3300
3307
|
thickBot: void 0
|
|
3301
|
-
},
|
|
3308
|
+
}, Pa = {
|
|
3302
3309
|
t: void 0,
|
|
3303
3310
|
aca: void 0,
|
|
3304
3311
|
ref: void 0,
|
|
3305
3312
|
ca: void 0,
|
|
3306
3313
|
si: void 0
|
|
3307
|
-
},
|
|
3314
|
+
}, Aa = {
|
|
3308
3315
|
t: "shared",
|
|
3309
3316
|
aca: void 0,
|
|
3310
3317
|
ref: void 0,
|
|
3311
3318
|
ca: void 0,
|
|
3312
3319
|
si: void 0
|
|
3313
|
-
},
|
|
3320
|
+
}, Da = {
|
|
3314
3321
|
t: "array",
|
|
3315
3322
|
aca: void 0,
|
|
3316
3323
|
ref: void 0,
|
|
3317
3324
|
ca: void 0,
|
|
3318
3325
|
si: void 0
|
|
3319
3326
|
};
|
|
3320
|
-
function
|
|
3321
|
-
const n =
|
|
3327
|
+
function La(t, e) {
|
|
3328
|
+
const n = ke.test(e) ? Fe : void 0;
|
|
3322
3329
|
t.start("t", n), t.text(ie(e)), t.end("t");
|
|
3323
3330
|
}
|
|
3324
|
-
var
|
|
3331
|
+
var _a = (t) => String(Math.round(1e3 * t)), Na = (t) => void 0 === t ? void 0 : t ? "1" : "0", $a = /* @__PURE__ */ new Set([
|
|
3325
3332
|
"text",
|
|
3326
3333
|
"runs",
|
|
3327
3334
|
"paragraphs",
|
|
@@ -3355,33 +3362,33 @@ var La = (t) => String(Math.round(1e3 * t)), _a = (t) => void 0 === t ? void 0 :
|
|
|
3355
3362
|
"effects",
|
|
3356
3363
|
"fill",
|
|
3357
3364
|
"stroke"
|
|
3358
|
-
]),
|
|
3365
|
+
]), Ba = {
|
|
3359
3366
|
latin: "lt",
|
|
3360
3367
|
ea: "ea",
|
|
3361
3368
|
cs: "cs",
|
|
3362
3369
|
sym: "lt",
|
|
3363
3370
|
buFont: "lt"
|
|
3364
|
-
},
|
|
3371
|
+
}, Oa = (t, e, n) => {
|
|
3365
3372
|
if (!n) return;
|
|
3366
|
-
const o = void 0 !== n.scheme && n.scheme !== i.Scheme.None ? `+${n.scheme === i.Scheme.Major ? "mj" : "mn"}-${
|
|
3373
|
+
const o = void 0 !== n.scheme && n.scheme !== i.Scheme.None ? `+${n.scheme === i.Scheme.Major ? "mj" : "mn"}-${Ba[e]}` : n.family;
|
|
3367
3374
|
void 0 !== o && t.empty(e, {
|
|
3368
3375
|
typeface: o,
|
|
3369
3376
|
panose: n.panose,
|
|
3370
3377
|
pitchFamily: n.pitch,
|
|
3371
3378
|
charset: Oe(n.charset)
|
|
3372
3379
|
});
|
|
3373
|
-
},
|
|
3380
|
+
}, Va = (t, e, o, s, r = n.EmptyObject) => {
|
|
3374
3381
|
const a = t.getXMLWriter(), i = ((t, e, o = n.EmptyArray) => {
|
|
3375
3382
|
if (!e) return { ...o };
|
|
3376
3383
|
const s = { ...o };
|
|
3377
|
-
for (const t of Object.keys(e))
|
|
3384
|
+
for (const t of Object.keys(e)) $a.has(t) || void 0 === e[t] || (s[t] = e[t]);
|
|
3378
3385
|
const { size: r, kern: a, weight: i, style: l, b: c, i: d, spc: m, baseline: p } = e, f = e;
|
|
3379
|
-
return void 0 !== f.language && (s.lang = f.language), void 0 !== f.alternateLanguage && (s.altLang = f.alternateLanguage), void 0 !== r && (s.sz = "" + ms(r)), void 0 !== c && (s.b = c ? "1" : "0"), void 0 !== i && (s.b = i > 500 ? "1" : "0"), void 0 !== d && (s.i = d ? "1" : "0"), void 0 !== l && (s.i = "italic" === l ? "1" : "0"), void 0 !== e.italic && (s.i = e.italic ? "1" : "0"), void 0 !== f.underline && (s.u = Ce.write(f.underline)), void 0 !== f.strike && (s.strike = at.write(f.strike)), void 0 !== a && (s.kern = "" + ms(a)), void 0 !== f.kerning && (s.kern = "" + ms(f.kerning)), void 0 !== m && (s.spc = "" + ms(m)), void 0 !== f.letterSpacing && (s.spc = "" + ms(f.letterSpacing)), void 0 !== p && (s.baseline =
|
|
3386
|
+
return void 0 !== f.language && (s.lang = f.language), void 0 !== f.alternateLanguage && (s.altLang = f.alternateLanguage), void 0 !== r && (s.sz = "" + ms(r)), void 0 !== c && (s.b = c ? "1" : "0"), void 0 !== i && (s.b = i > 500 ? "1" : "0"), void 0 !== d && (s.i = d ? "1" : "0"), void 0 !== l && (s.i = "italic" === l ? "1" : "0"), void 0 !== e.italic && (s.i = e.italic ? "1" : "0"), void 0 !== f.underline && (s.u = Ce.write(f.underline)), void 0 !== f.strike && (s.strike = at.write(f.strike)), void 0 !== a && (s.kern = "" + ms(a)), void 0 !== f.kerning && (s.kern = "" + ms(f.kerning)), void 0 !== m && (s.spc = "" + ms(m)), void 0 !== f.letterSpacing && (s.spc = "" + ms(f.letterSpacing)), void 0 !== p && (s.baseline = _a(p)), void 0 !== f.capitals && (s.cap = f.capitals), void 0 !== f.normalizeHeight && (s.normalizeH = Na(f.normalizeHeight)), s;
|
|
3380
3387
|
})(0, s ?? {}, r);
|
|
3381
|
-
s?.outline || s?.color || s?.effects?.length || s?.highlight || s?.font || s?.eastAsianFont || s?.complexScriptFont || s?.symbolFont || s?.hyperlink ? (a.start(o, i), s.outline && Ho(t, a, s.outline, e), s.color && Xo(t, a, s.color, e), s.effects?.length && qo(t, a, e.getTheme(), s.effects), s.highlight && (a.start("highlight"), Mo(a, e.getTheme(), s.highlight), a.end("highlight")),
|
|
3382
|
-
},
|
|
3383
|
-
n && (t.start(e), "percent" in n ? t.empty("spcPct", { val:
|
|
3384
|
-
},
|
|
3388
|
+
s?.outline || s?.color || s?.effects?.length || s?.highlight || s?.font || s?.eastAsianFont || s?.complexScriptFont || s?.symbolFont || s?.hyperlink ? (a.start(o, i), s.outline && Ho(t, a, s.outline, e), s.color && Xo(t, a, s.color, e), s.effects?.length && qo(t, a, e.getTheme(), s.effects), s.highlight && (a.start("highlight"), Mo(a, e.getTheme(), s.highlight), a.end("highlight")), Oa(a, "latin", s.font), Oa(a, "ea", s.eastAsianFont), Oa(a, "cs", s.complexScriptFont), Oa(a, "sym", s.symbolFont), jo(t, a, "hlinkClick", s.hyperlink), a.end(o)) : a.empty(o, i);
|
|
3389
|
+
}, Wa = (t, e, n) => {
|
|
3390
|
+
n && (t.start(e), "percent" in n ? t.empty("spcPct", { val: _a(n.percent) }) : t.empty("spcPts", { val: String(Math.round(100 * n.points)) }), t.end(e));
|
|
3391
|
+
}, za = (t, e, n, o) => {
|
|
3385
3392
|
const s = t.getXMLWriter(), r = {
|
|
3386
3393
|
marL: void 0 === o.marginLeft ? void 0 : String(cs(o.marginLeft)),
|
|
3387
3394
|
marR: void 0 === o.marginRight ? void 0 : String(cs(o.marginRight)),
|
|
@@ -3389,14 +3396,14 @@ var La = (t) => String(Math.round(1e3 * t)), _a = (t) => void 0 === t ? void 0 :
|
|
|
3389
3396
|
indent: void 0 === o.indent ? void 0 : String(cs(o.indent)),
|
|
3390
3397
|
algn: ht.write(o.align),
|
|
3391
3398
|
defTabSz: void 0 === o.defaultTabSize ? void 0 : String(cs(o.defaultTabSize)),
|
|
3392
|
-
rtl:
|
|
3393
|
-
eaLnBrk:
|
|
3399
|
+
rtl: Na(o.rightToLeft),
|
|
3400
|
+
eaLnBrk: Na(o.eastAsianLineBreak),
|
|
3394
3401
|
fontAlgn: Gt.write(o.fontAlign),
|
|
3395
|
-
latinLnBrk:
|
|
3396
|
-
hangingPunct:
|
|
3402
|
+
latinLnBrk: Na(o.latinLineBreak),
|
|
3403
|
+
hangingPunct: Na(o.hangingPunctuation)
|
|
3397
3404
|
}, a = o.bullet;
|
|
3398
3405
|
if (o.lineSpacing || o.spaceBefore || o.spaceAfter || a || o.tabs || o.defaultRun) {
|
|
3399
|
-
if (s.start(n, r),
|
|
3406
|
+
if (s.start(n, r), Wa(s, "lnSpc", o.lineSpacing), Wa(s, "spcBef", o.spaceBefore), Wa(s, "spcAft", o.spaceAfter), a) switch (a.colorFollowsText ? s.empty("buClrTx") : a.color && (s.start("buClr"), Mo(s, e.getTheme(), a.color), s.end("buClr")), a.sizeFollowsText ? s.empty("buSzTx") : a.size && ("percent" in a.size ? s.empty("buSzPct", { val: _a(a.size.percent) }) : s.empty("buSzPts", { val: String(Math.round(100 * a.size.points)) })), a.fontFollowsText ? s.empty("buFontTx") : Oa(s, "buFont", a.font), a.type) {
|
|
3400
3407
|
case "none":
|
|
3401
3408
|
s.empty("buNone");
|
|
3402
3409
|
break;
|
|
@@ -3416,14 +3423,14 @@ var La = (t) => String(Math.round(1e3 * t)), _a = (t) => void 0 === t ? void 0 :
|
|
|
3416
3423
|
});
|
|
3417
3424
|
s.end("tabLst");
|
|
3418
3425
|
}
|
|
3419
|
-
o.defaultRun &&
|
|
3426
|
+
o.defaultRun && Va(t, e, "defRPr", o.defaultRun), s.end(n);
|
|
3420
3427
|
} else s.empty(n, r);
|
|
3421
|
-
},
|
|
3428
|
+
}, ja = (t) => t === h.Overflow.Visible ? void 0 : rt.write(t), Xa = (t, e) => {
|
|
3422
3429
|
const n = e.body ?? {}, o = n.insets, s = {
|
|
3423
3430
|
rot: void 0 === e.rotation ? void 0 : String(Math.round(6e4 * e.rotation)),
|
|
3424
|
-
spcFirstLastPara:
|
|
3425
|
-
vertOverflow:
|
|
3426
|
-
horzOverflow:
|
|
3431
|
+
spcFirstLastPara: Na(n.spaceFirstLastParagraph),
|
|
3432
|
+
vertOverflow: ja(n.verticalOverflow ?? f.TEXT_DEFAULTS.verticalOverflow),
|
|
3433
|
+
horzOverflow: ja(n.horizontalOverflow ?? f.TEXT_DEFAULTS.horizontalOverflow),
|
|
3427
3434
|
vert: _e.write(n.vertical),
|
|
3428
3435
|
wrap: n.wrap,
|
|
3429
3436
|
lIns: void 0 === o?.left ? void 0 : String(cs(o.left)),
|
|
@@ -3432,13 +3439,13 @@ var La = (t) => String(Math.round(1e3 * t)), _a = (t) => void 0 === t ? void 0 :
|
|
|
3432
3439
|
bIns: void 0 === o?.bottom ? void 0 : String(cs(o.bottom)),
|
|
3433
3440
|
numCol: void 0 === n.columns ? void 0 : String(n.columns),
|
|
3434
3441
|
spcCol: void 0 === n.columnSpacing ? void 0 : String(cs(n.columnSpacing)),
|
|
3435
|
-
rtlCol:
|
|
3436
|
-
fromWordArt:
|
|
3442
|
+
rtlCol: Na(n.rightToLeftColumns),
|
|
3443
|
+
fromWordArt: Na(n.fromWordArt),
|
|
3437
3444
|
anchor: Kt.write(n.anchor),
|
|
3438
|
-
anchorCtr:
|
|
3439
|
-
forceAA:
|
|
3440
|
-
upright:
|
|
3441
|
-
compatLnSpc:
|
|
3445
|
+
anchorCtr: Na(n.anchorCenter),
|
|
3446
|
+
forceAA: Na(n.forceAntiAlias),
|
|
3447
|
+
upright: Na(n.upright),
|
|
3448
|
+
compatLnSpc: Na(n.compatibleLineSpacing)
|
|
3442
3449
|
};
|
|
3443
3450
|
if (n.warp || n.autoFit || n.extLst) {
|
|
3444
3451
|
if (t.start("bodyPr", s), n.warp) {
|
|
@@ -3462,25 +3469,25 @@ var La = (t) => String(Math.round(1e3 * t)), _a = (t) => void 0 === t ? void 0 :
|
|
|
3462
3469
|
t.empty("spAutoFit");
|
|
3463
3470
|
break;
|
|
3464
3471
|
case h.Autofit.Normal: t.empty("normAutofit", {
|
|
3465
|
-
fontScale: void 0 === n.fontScale ? void 0 :
|
|
3466
|
-
lnSpcReduction: void 0 === n.lineSpacingReduction ? void 0 :
|
|
3472
|
+
fontScale: void 0 === n.fontScale ? void 0 : _a(n.fontScale),
|
|
3473
|
+
lnSpcReduction: void 0 === n.lineSpacingReduction ? void 0 : _a(n.lineSpacingReduction)
|
|
3467
3474
|
});
|
|
3468
3475
|
}
|
|
3469
3476
|
n.extLst && t.raw(n.extLst), t.end("bodyPr");
|
|
3470
3477
|
} else t.empty("bodyPr", s);
|
|
3471
|
-
},
|
|
3478
|
+
}, Ha = (t, e, n) => {
|
|
3472
3479
|
const o = t.getXMLWriter();
|
|
3473
|
-
n && (n.default || n.levels?.some((t) => t)) ? (o.start("lstStyle"), n.default &&
|
|
3474
|
-
n &&
|
|
3480
|
+
n && (n.default || n.levels?.some((t) => t)) ? (o.start("lstStyle"), n.default && za(t, e, "defPPr", n.default), n.levels?.forEach((n, o) => {
|
|
3481
|
+
n && za(t, e, `lvl${o + 1}pPr`, n);
|
|
3475
3482
|
}), o.end("lstStyle")) : o.empty("lstStyle");
|
|
3476
|
-
},
|
|
3483
|
+
}, Ua = (t, e, n, o) => {
|
|
3477
3484
|
const s = t.getXMLWriter();
|
|
3478
3485
|
s.pushDefaultNamespace("a"), s.start("p");
|
|
3479
3486
|
const { runs: r, endRun: a, ...i } = o, l = void 0 !== f.inheritedTextSize(n, o) ? (t) => t : (t) => void 0 === t.size ? {
|
|
3480
3487
|
...t,
|
|
3481
3488
|
size: f.TEXT_DEFAULTS.size
|
|
3482
3489
|
} : t;
|
|
3483
|
-
((t) => !!t && Object.keys(t).some((e) => "runs" !== e && "endRun" !== e && void 0 !== t[e]))(i) &&
|
|
3490
|
+
((t) => !!t && Object.keys(t).some((e) => "runs" !== e && "endRun" !== e && void 0 !== t[e]))(i) && za(t, e, "pPr", i);
|
|
3484
3491
|
for (const n of r ?? []) {
|
|
3485
3492
|
if ("\n" === n?.text) {
|
|
3486
3493
|
s.empty("br");
|
|
@@ -3490,22 +3497,22 @@ var La = (t) => String(Math.round(1e3 * t)), _a = (t) => void 0 === t ? void 0 :
|
|
|
3490
3497
|
s.start(i, r ? {
|
|
3491
3498
|
id: r.id,
|
|
3492
3499
|
type: r.type
|
|
3493
|
-
} : {}),
|
|
3500
|
+
} : {}), Va(t, e, "rPr", l(a)), s.start("t"), s.text(o ?? ""), s.end("t"), s.end(i);
|
|
3494
3501
|
}
|
|
3495
|
-
!a && r?.length ||
|
|
3496
|
-
},
|
|
3502
|
+
!a && r?.length || Va(t, e, "endParaRPr", l(a ?? {})), s.end("p"), s.popDefaultNamespace();
|
|
3503
|
+
}, Ga = (t, e, n) => {
|
|
3497
3504
|
if (!n) return;
|
|
3498
3505
|
const o = t.getXMLWriter(), s = ((t) => "string" == typeof t ? { paragraphs: [{ runs: [{ text: t }] }] } : Array.isArray(t?.paragraphs) ? t : { paragraphs: [t] })(n);
|
|
3499
|
-
o.start("txBody"), o.pushDefaultNamespace("a"),
|
|
3506
|
+
o.start("txBody"), o.pushDefaultNamespace("a"), Xa(o, s), Ha(t, e, s.listStyle);
|
|
3500
3507
|
const r = 0 === s.paragraphs.length ? [{ runs: [] }] : s.paragraphs;
|
|
3501
|
-
for (const n of r)
|
|
3508
|
+
for (const n of r) Ua(t, e, s, n);
|
|
3502
3509
|
o.popDefaultNamespace(), o.end("txBody");
|
|
3503
|
-
},
|
|
3510
|
+
}, qa = (t, e, n) => {
|
|
3504
3511
|
const o = t.getXMLWriter();
|
|
3505
3512
|
if (!n) return o.empty("bodyPr"), void o.empty("lstStyle");
|
|
3506
|
-
|
|
3513
|
+
Xa(o, n), Ha(t, e, n.listStyle);
|
|
3507
3514
|
};
|
|
3508
|
-
function
|
|
3515
|
+
function Ja(t, e, n, o) {
|
|
3509
3516
|
t.start(o);
|
|
3510
3517
|
const s = { typeface: e.latin || n };
|
|
3511
3518
|
e.panose && (s.panose = e.panose), t.empty("latin", s), t.empty("ea", { typeface: e.eastAsian ?? "" }), t.empty("cs", { typeface: e.complexScript ?? "" });
|
|
@@ -3516,11 +3523,11 @@ function qa(t, e, n, o) {
|
|
|
3516
3523
|
});
|
|
3517
3524
|
t.end(o);
|
|
3518
3525
|
}
|
|
3519
|
-
var
|
|
3526
|
+
var Ka = [
|
|
3520
3527
|
["shape", "spDef"],
|
|
3521
3528
|
["line", "lnDef"],
|
|
3522
3529
|
["text", "txDef"]
|
|
3523
|
-
],
|
|
3530
|
+
], Ya = { checkbox: "Checkbox" }, Za = [
|
|
3524
3531
|
["dc:title", "title"],
|
|
3525
3532
|
["dc:subject", "subject"],
|
|
3526
3533
|
["dc:creator", "author"],
|
|
@@ -3541,15 +3548,15 @@ var Ja = [
|
|
|
3541
3548
|
["cp:category", "category"],
|
|
3542
3549
|
["cp:contentStatus", "contentStatus"],
|
|
3543
3550
|
["cp:revision", "revisionNumber"]
|
|
3544
|
-
],
|
|
3551
|
+
], Qa = (t, e, n, o) => {
|
|
3545
3552
|
e.start(n), e.text(o), e.end(n);
|
|
3546
|
-
},
|
|
3553
|
+
}, ti = {
|
|
3547
3554
|
[_.Type.String]: "vt:lpwstr",
|
|
3548
3555
|
[_.Type.Number]: "vt:i4",
|
|
3549
3556
|
[_.Type.Float]: "vt:r8",
|
|
3550
3557
|
[_.Type.Boolean]: "vt:bool",
|
|
3551
3558
|
[_.Type.Date]: "vt:filetime"
|
|
3552
|
-
},
|
|
3559
|
+
}, ei = (t) => t.split(".")[0] + "Z", ni = {
|
|
3553
3560
|
minSupportedVersion: "120000",
|
|
3554
3561
|
copy: "1",
|
|
3555
3562
|
pasteAll: "1",
|
|
@@ -3561,42 +3568,42 @@ var Ja = [
|
|
|
3561
3568
|
clearComments: "1",
|
|
3562
3569
|
assign: "1",
|
|
3563
3570
|
coerce: "1"
|
|
3564
|
-
},
|
|
3571
|
+
}, oi = "http://schemas.microsoft.com/office/spreadsheetml/2017/richdata2", si = (t, e) => {
|
|
3565
3572
|
for (const [n, o] of e) t.start("v", n ? { t: n } : void 0), t.text(o), t.end("v");
|
|
3566
|
-
},
|
|
3573
|
+
}, ri = (t) => void 0 === t || "_" === t ? void 0 : t, ai = (t, e) => {
|
|
3567
3574
|
const n = e.indexOf(" ");
|
|
3568
3575
|
n < 0 || t.empty("gd", {
|
|
3569
3576
|
name: e.slice(0, n),
|
|
3570
3577
|
fmla: e.slice(n + 1).trim()
|
|
3571
3578
|
});
|
|
3572
|
-
},
|
|
3579
|
+
}, ii = (t, e, n) => {
|
|
3573
3580
|
t.empty("pos", {
|
|
3574
3581
|
x: e,
|
|
3575
3582
|
y: n
|
|
3576
3583
|
});
|
|
3577
|
-
},
|
|
3584
|
+
}, li = (t, e) => {
|
|
3578
3585
|
const n = e.split(" ");
|
|
3579
3586
|
"xy" === n[0] ? (t.start("ahXY", {
|
|
3580
|
-
gdRefX:
|
|
3581
|
-
minX:
|
|
3582
|
-
maxX:
|
|
3583
|
-
gdRefY:
|
|
3584
|
-
minY:
|
|
3585
|
-
maxY:
|
|
3586
|
-
}),
|
|
3587
|
-
gdRefR:
|
|
3588
|
-
minR:
|
|
3589
|
-
maxR:
|
|
3590
|
-
gdRefAng:
|
|
3591
|
-
minAng:
|
|
3592
|
-
maxAng:
|
|
3593
|
-
}),
|
|
3594
|
-
},
|
|
3587
|
+
gdRefX: ri(n[1]),
|
|
3588
|
+
minX: ri(n[5]),
|
|
3589
|
+
maxX: ri(n[6]),
|
|
3590
|
+
gdRefY: ri(n[2]),
|
|
3591
|
+
minY: ri(n[7]),
|
|
3592
|
+
maxY: ri(n[8])
|
|
3593
|
+
}), ii(t, n[3], n[4]), t.end("ahXY")) : "polar" === n[0] && (t.start("ahPolar", {
|
|
3594
|
+
gdRefR: ri(n[1]),
|
|
3595
|
+
minR: ri(n[5]),
|
|
3596
|
+
maxR: ri(n[6]),
|
|
3597
|
+
gdRefAng: ri(n[2]),
|
|
3598
|
+
minAng: ri(n[7]),
|
|
3599
|
+
maxAng: ri(n[8])
|
|
3600
|
+
}), ii(t, n[3], n[4]), t.end("ahPolar"));
|
|
3601
|
+
}, ci = {
|
|
3595
3602
|
M: ["moveTo", 1],
|
|
3596
3603
|
L: ["lnTo", 1],
|
|
3597
3604
|
Q: ["quadBezTo", 2],
|
|
3598
3605
|
C: ["cubicBezTo", 3]
|
|
3599
|
-
},
|
|
3606
|
+
}, di = (t, e) => {
|
|
3600
3607
|
t.start("path", {
|
|
3601
3608
|
w: e.w,
|
|
3602
3609
|
h: e.h,
|
|
@@ -3615,7 +3622,7 @@ var Ja = [
|
|
|
3615
3622
|
swAng: n[o + 3]
|
|
3616
3623
|
}), o += 4;
|
|
3617
3624
|
else {
|
|
3618
|
-
const s =
|
|
3625
|
+
const s = ci[e];
|
|
3619
3626
|
if (!s) break;
|
|
3620
3627
|
t.start(s[0]);
|
|
3621
3628
|
for (let e = 0; e < s[1]; e++, o += 2) t.empty("pt", {
|
|
@@ -3626,32 +3633,32 @@ var Ja = [
|
|
|
3626
3633
|
}
|
|
3627
3634
|
}
|
|
3628
3635
|
t.end("path");
|
|
3629
|
-
},
|
|
3636
|
+
}, mi = {
|
|
3630
3637
|
type: "http://schemas.microsoft.com/office/2011/relationships/chartStyle",
|
|
3631
3638
|
contentType: "application/vnd.ms-office.chartstyle+xml",
|
|
3632
3639
|
name: "style1.xml",
|
|
3633
3640
|
xml: "<cs:chartStyle xmlns:cs=\"http://schemas.microsoft.com/office/drawing/2012/chartStyle\" xmlns:a=\"http://schemas.openxmlformats.org/drawingml/2006/main\" id=\"395\"><cs:axisTitle><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"><a:lumMod val=\"65000\"/><a:lumOff val=\"35000\"/></a:schemeClr></cs:fontRef><cs:defRPr sz=\"900\"/></cs:axisTitle><cs:categoryAxis><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"><a:lumMod val=\"65000\"/><a:lumOff val=\"35000\"/></a:schemeClr></cs:fontRef><cs:spPr><a:ln w=\"9525\" cap=\"flat\" cmpd=\"sng\" algn=\"ctr\"><a:solidFill><a:schemeClr val=\"tx1\"><a:lumMod val=\"15000\"/><a:lumOff val=\"85000\"/></a:schemeClr></a:solidFill><a:round/></a:ln></cs:spPr><cs:defRPr sz=\"900\"/></cs:categoryAxis><cs:chartArea mods=\"allowNoFillOverride allowNoLineOverride\"><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef><cs:spPr><a:solidFill><a:schemeClr val=\"bg1\"/></a:solidFill><a:ln w=\"9525\" cap=\"flat\" cmpd=\"sng\" algn=\"ctr\"><a:solidFill><a:schemeClr val=\"tx1\"><a:lumMod val=\"15000\"/><a:lumOff val=\"85000\"/></a:schemeClr></a:solidFill><a:round/></a:ln></cs:spPr><cs:defRPr sz=\"1000\"/></cs:chartArea><cs:dataLabel><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"><a:lumMod val=\"65000\"/><a:lumOff val=\"35000\"/></a:schemeClr></cs:fontRef><cs:defRPr sz=\"900\"/></cs:dataLabel><cs:dataLabelCallout><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"dk1\"><a:lumMod val=\"65000\"/><a:lumOff val=\"35000\"/></a:schemeClr></cs:fontRef><cs:spPr><a:solidFill><a:schemeClr val=\"lt1\"/></a:solidFill><a:ln><a:solidFill><a:schemeClr val=\"dk1\"><a:lumMod val=\"25000\"/><a:lumOff val=\"75000\"/></a:schemeClr></a:solidFill></a:ln></cs:spPr><cs:defRPr sz=\"900\"/><cs:bodyPr rot=\"0\" spcFirstLastPara=\"1\" vertOverflow=\"clip\" horzOverflow=\"clip\" vert=\"horz\" wrap=\"square\" lIns=\"36576\" tIns=\"18288\" rIns=\"36576\" bIns=\"18288\" anchor=\"ctr\" anchorCtr=\"1\"><a:spAutoFit/></cs:bodyPr></cs:dataLabelCallout><cs:dataPoint><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"><cs:styleClr val=\"auto\"/></cs:fillRef><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef><cs:spPr><a:solidFill><a:schemeClr val=\"phClr\"/></a:solidFill></cs:spPr></cs:dataPoint><cs:dataPoint3D><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"><cs:styleClr val=\"auto\"/></cs:fillRef><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef><cs:spPr><a:solidFill><a:schemeClr val=\"phClr\"/></a:solidFill></cs:spPr></cs:dataPoint3D><cs:dataPointLine><cs:lnRef idx=\"0\"><cs:styleClr val=\"auto\"/></cs:lnRef><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef><cs:spPr><a:ln w=\"28575\" cap=\"rnd\"><a:solidFill><a:schemeClr val=\"phClr\"/></a:solidFill><a:round/></a:ln></cs:spPr></cs:dataPointLine><cs:dataPointMarker><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"><cs:styleClr val=\"auto\"/></cs:fillRef><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef><cs:spPr><a:solidFill><a:schemeClr val=\"phClr\"/></a:solidFill><a:ln w=\"9525\"><a:solidFill><a:schemeClr val=\"lt1\"/></a:solidFill></a:ln></cs:spPr></cs:dataPointMarker><cs:dataPointMarkerLayout symbol=\"circle\" size=\"5\"/><cs:dataPointWireframe><cs:lnRef idx=\"0\"><cs:styleClr val=\"auto\"/></cs:lnRef><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef><cs:spPr><a:ln w=\"28575\" cap=\"rnd\"><a:solidFill><a:schemeClr val=\"phClr\"/></a:solidFill><a:round/></a:ln></cs:spPr></cs:dataPointWireframe><cs:dataTable><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"><a:lumMod val=\"65000\"/><a:lumOff val=\"35000\"/></a:schemeClr></cs:fontRef><cs:spPr><a:ln w=\"9525\"><a:solidFill><a:schemeClr val=\"tx1\"><a:lumMod val=\"15000\"/><a:lumOff val=\"85000\"/></a:schemeClr></a:solidFill></a:ln></cs:spPr><cs:defRPr sz=\"900\"/></cs:dataTable><cs:downBar><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"dk1\"/></cs:fontRef><cs:spPr><a:solidFill><a:schemeClr val=\"dk1\"><a:lumMod val=\"65000\"/><a:lumOff val=\"35000\"/></a:schemeClr></a:solidFill><a:ln w=\"9525\"><a:solidFill><a:schemeClr val=\"tx1\"><a:lumMod val=\"65000\"/><a:lumOff val=\"35000\"/></a:schemeClr></a:solidFill></a:ln></cs:spPr></cs:downBar><cs:dropLine><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef><cs:spPr><a:ln w=\"9525\" cap=\"flat\" cmpd=\"sng\" algn=\"ctr\"><a:solidFill><a:schemeClr val=\"tx1\"><a:lumMod val=\"35000\"/><a:lumOff val=\"65000\"/></a:schemeClr></a:solidFill><a:round/></a:ln></cs:spPr></cs:dropLine><cs:errorBar><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef><cs:spPr><a:ln w=\"9525\" cap=\"flat\" cmpd=\"sng\" algn=\"ctr\"><a:solidFill><a:schemeClr val=\"tx1\"><a:lumMod val=\"65000\"/><a:lumOff val=\"35000\"/></a:schemeClr></a:solidFill><a:round/></a:ln></cs:spPr></cs:errorBar><cs:floor><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef></cs:floor><cs:gridlineMajor><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef><cs:spPr><a:ln w=\"9525\" cap=\"flat\" cmpd=\"sng\" algn=\"ctr\"><a:solidFill><a:schemeClr val=\"tx1\"><a:lumMod val=\"15000\"/><a:lumOff val=\"85000\"/></a:schemeClr></a:solidFill><a:round/></a:ln></cs:spPr></cs:gridlineMajor><cs:gridlineMinor><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef><cs:spPr><a:ln w=\"9525\" cap=\"flat\" cmpd=\"sng\" algn=\"ctr\"><a:solidFill><a:schemeClr val=\"tx1\"><a:lumMod val=\"15000\"/><a:lumOff val=\"85000\"/></a:schemeClr></a:solidFill><a:round/></a:ln></cs:spPr></cs:gridlineMinor><cs:hiLoLine><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef><cs:spPr><a:ln w=\"9525\" cap=\"flat\" cmpd=\"sng\" algn=\"ctr\"><a:solidFill><a:schemeClr val=\"tx1\"><a:lumMod val=\"75000\"/><a:lumOff val=\"25000\"/></a:schemeClr></a:solidFill><a:round/></a:ln></cs:spPr></cs:hiLoLine><cs:leaderLine><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef><cs:spPr><a:ln w=\"9525\" cap=\"flat\" cmpd=\"sng\" algn=\"ctr\"><a:solidFill><a:schemeClr val=\"tx1\"><a:lumMod val=\"35000\"/><a:lumOff val=\"65000\"/></a:schemeClr></a:solidFill><a:round/></a:ln></cs:spPr></cs:leaderLine><cs:legend><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"><a:lumMod val=\"65000\"/><a:lumOff val=\"35000\"/></a:schemeClr></cs:fontRef><cs:defRPr sz=\"900\"/></cs:legend><cs:plotArea mods=\"allowNoFillOverride allowNoLineOverride\"><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef></cs:plotArea><cs:plotArea3D mods=\"allowNoFillOverride allowNoLineOverride\"><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef></cs:plotArea3D><cs:seriesAxis><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"><a:lumMod val=\"65000\"/><a:lumOff val=\"35000\"/></a:schemeClr></cs:fontRef><cs:spPr><a:ln w=\"9525\" cap=\"flat\" cmpd=\"sng\" algn=\"ctr\"><a:solidFill><a:schemeClr val=\"tx1\"><a:lumMod val=\"15000\"/><a:lumOff val=\"85000\"/></a:schemeClr></a:solidFill><a:round/></a:ln></cs:spPr><cs:defRPr sz=\"900\"/></cs:seriesAxis><cs:seriesLine><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef><cs:spPr><a:ln w=\"9525\" cap=\"flat\"><a:solidFill><a:srgbClr val=\"D9D9D9\"/></a:solidFill><a:round/></a:ln></cs:spPr></cs:seriesLine><cs:title><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"><a:lumMod val=\"65000\"/><a:lumOff val=\"35000\"/></a:schemeClr></cs:fontRef><cs:defRPr sz=\"1400\"/></cs:title><cs:trendline><cs:lnRef idx=\"0\"><cs:styleClr val=\"auto\"/></cs:lnRef><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef><cs:spPr><a:ln w=\"19050\" cap=\"rnd\"><a:solidFill><a:schemeClr val=\"phClr\"/></a:solidFill><a:prstDash val=\"sysDash\"/></a:ln></cs:spPr></cs:trendline><cs:trendlineLabel><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"><a:lumMod val=\"65000\"/><a:lumOff val=\"35000\"/></a:schemeClr></cs:fontRef><cs:defRPr sz=\"900\"/></cs:trendlineLabel><cs:upBar><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"dk1\"/></cs:fontRef><cs:spPr><a:solidFill><a:schemeClr val=\"lt1\"/></a:solidFill><a:ln w=\"9525\"><a:solidFill><a:schemeClr val=\"tx1\"><a:lumMod val=\"15000\"/><a:lumOff val=\"85000\"/></a:schemeClr></a:solidFill></a:ln></cs:spPr></cs:upBar><cs:valueAxis><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"><a:lumMod val=\"65000\"/><a:lumOff val=\"35000\"/></a:schemeClr></cs:fontRef><cs:defRPr sz=\"900\"/></cs:valueAxis><cs:wall><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef></cs:wall></cs:chartStyle>"
|
|
3634
|
-
},
|
|
3641
|
+
}, pi = {
|
|
3635
3642
|
type: "http://schemas.microsoft.com/office/2011/relationships/chartColorStyle",
|
|
3636
3643
|
contentType: "application/vnd.ms-office.chartcolorstyle+xml",
|
|
3637
3644
|
name: "colors1.xml",
|
|
3638
3645
|
xml: "<cs:colorStyle xmlns:cs=\"http://schemas.microsoft.com/office/drawing/2012/chartStyle\" xmlns:a=\"http://schemas.openxmlformats.org/drawingml/2006/main\" meth=\"cycle\" id=\"10\"><a:schemeClr val=\"accent1\"/><a:schemeClr val=\"accent2\"/><a:schemeClr val=\"accent3\"/><a:schemeClr val=\"accent4\"/><a:schemeClr val=\"accent5\"/><a:schemeClr val=\"accent6\"/><cs:variation/><cs:variation><a:lumMod val=\"60000\"/></cs:variation><cs:variation><a:lumMod val=\"80000\"/><a:lumOff val=\"20000\"/></cs:variation><cs:variation><a:lumMod val=\"80000\"/></cs:variation><cs:variation><a:lumMod val=\"60000\"/><a:lumOff val=\"40000\"/></cs:variation><cs:variation><a:lumMod val=\"50000\"/></cs:variation><cs:variation><a:lumMod val=\"70000\"/><a:lumOff val=\"30000\"/></cs:variation><cs:variation><a:lumMod val=\"70000\"/></cs:variation><cs:variation><a:lumMod val=\"50000\"/><a:lumOff val=\"50000\"/></cs:variation></cs:colorStyle>"
|
|
3639
|
-
},
|
|
3646
|
+
}, fi = (t, e) => {
|
|
3640
3647
|
const n = {};
|
|
3641
3648
|
e.unlocked && (n.fLocksWithSheet = "0"), e.noPrint && (n.fPrintsWithSheet = "0"), t.empty("clientData", n);
|
|
3642
|
-
},
|
|
3649
|
+
}, hi = (t) => (t.content?.json)?.members ?? [], ui = (t) => ({
|
|
3643
3650
|
x: t.anchor?.tl?.x ?? 0,
|
|
3644
3651
|
y: t.anchor?.tl?.y ?? 0,
|
|
3645
3652
|
width: t.anchor?.br?.x ?? 0,
|
|
3646
3653
|
height: t.anchor?.br?.y ?? 0
|
|
3647
|
-
}),
|
|
3654
|
+
}), gi = async (t, e) => {
|
|
3648
3655
|
const n = e.content;
|
|
3649
3656
|
if ("shape" !== n?.type && "picture" !== n?.type || await ns(t, n.json), "group" === n?.type) {
|
|
3650
3657
|
await ns(t, n.json);
|
|
3651
|
-
for (const n of
|
|
3658
|
+
for (const n of hi(e)) await gi(t, n);
|
|
3652
3659
|
}
|
|
3653
|
-
},
|
|
3654
|
-
const i = await ts(t, r), l = o.content?.json, c = l?.image ?? {}, d = c.extLst ?? (i.external ? void 0 :
|
|
3660
|
+
}, xi = async (t, e, n, o, s, r) => {
|
|
3661
|
+
const i = await ts(t, r), l = o.content?.json, c = l?.image ?? {}, d = c.extLst ?? (i.external ? void 0 : yi), m = {
|
|
3655
3662
|
...c,
|
|
3656
3663
|
type: a.Type.Image,
|
|
3657
3664
|
extLst: d,
|
|
@@ -3661,8 +3668,8 @@ var Ja = [
|
|
|
3661
3668
|
const f = {};
|
|
3662
3669
|
void 0 !== c.dpi && (f.dpi = String(c.dpi)), void 0 !== c.isRotatedWithShape && (f.rotWithShape = c.isRotatedWithShape ? "1" : "0");
|
|
3663
3670
|
const h = t.getXMLWriter();
|
|
3664
|
-
h.start("pic", p), h.start("nvPicPr"),
|
|
3665
|
-
},
|
|
3671
|
+
h.start("pic", p), h.start("nvPicPr"), Li(t, h, n, o, e), h.start("cNvPicPr", l?.noRelativeResize ? { preferRelativeResize: "0" } : {}), h.empty("a:picLocks", Bi(o)), h.end("cNvPicPr"), h.end("nvPicPr"), h.start("blipFill", f), h.pushDefaultNamespace("a"), as(h, m, i), h.popDefaultNamespace(), h.end("blipFill"), Ai(t, e, n, o, s), h.end("pic");
|
|
3672
|
+
}, yi = "<a:extLst><a:ext uri=\"{28A0092B-C50C-407E-A947-70E740481C1C}\"><a14:useLocalDpi xmlns:a14=\"http://schemas.microsoft.com/office/drawing/2010/main\" val=\"0\"/></a:ext></a:extLst>", vi = async (t, e, n, o, s) => {
|
|
3666
3673
|
const r = o.content?.json, a = r?.model, i = r?.part, l = () => s ?? n?.getBounds() ?? {
|
|
3667
3674
|
x: 0,
|
|
3668
3675
|
y: 0,
|
|
@@ -3677,16 +3684,16 @@ var Ja = [
|
|
|
3677
3684
|
});
|
|
3678
3685
|
if (n.leftOut.length > 0) {
|
|
3679
3686
|
const s = o.content?.name ?? "";
|
|
3680
|
-
if (n.leftOut.length === d.length) return t.warn(`The chart '${s}' is of a type an xlsx file cannot hold (${n.leftOut.join(", ")}); it is saved as a placeholder.`, void 0, "xlsx.chart.unplaced"),
|
|
3687
|
+
if (n.leftOut.length === d.length) return t.warn(`The chart '${s}' is of a type an xlsx file cannot hold (${n.leftOut.join(", ")}); it is saved as a placeholder.`, void 0, "xlsx.chart.unplaced"), Pi(t, e, o, l());
|
|
3681
3688
|
t.warn(`The chart '${s}' combines types one xlsx chart cannot hold together; it is saved without its ${n.leftOut.join(", ")} series.`, void 0, "xlsx.chart.leftOut");
|
|
3682
3689
|
}
|
|
3683
3690
|
m = n.family, p = n.xml;
|
|
3684
3691
|
} else {
|
|
3685
|
-
if (!i?.xml || !c) return
|
|
3692
|
+
if (!i?.xml || !c) return Pi(t, e, o, l());
|
|
3686
3693
|
m = c, p = i.xml;
|
|
3687
3694
|
}
|
|
3688
3695
|
const f = ln[m], h = [...i?.parts ?? []];
|
|
3689
|
-
if ("chartEx" === m) for (const t of [
|
|
3696
|
+
if ("chartEx" === m) for (const t of [mi, pi]) h.some((e) => e.type === t.type) || h.push({
|
|
3690
3697
|
id: "",
|
|
3691
3698
|
...t
|
|
3692
3699
|
});
|
|
@@ -3698,9 +3705,9 @@ var Ja = [
|
|
|
3698
3705
|
xml: p,
|
|
3699
3706
|
parts: h
|
|
3700
3707
|
}, t, f.path);
|
|
3701
|
-
if (!u?.relId) return
|
|
3708
|
+
if (!u?.relId) return Pi(t, e, o, l());
|
|
3702
3709
|
const g = t.getXMLWriter();
|
|
3703
|
-
if ("chart" === m) return void
|
|
3710
|
+
if ("chart" === m) return void wi(t, e, n, o, m, u.relId, s);
|
|
3704
3711
|
const x = ((t) => {
|
|
3705
3712
|
const e = new Set(t.map((t) => t.type));
|
|
3706
3713
|
return e.has("regionMap") ? {
|
|
@@ -3717,15 +3724,15 @@ var Ja = [
|
|
|
3717
3724
|
g.start("mc:AlternateContent", { "xmlns:mc": ki }), g.start("mc:Choice", {
|
|
3718
3725
|
[`xmlns:${x.prefix}`]: x.uri,
|
|
3719
3726
|
Requires: x.prefix
|
|
3720
|
-
}),
|
|
3721
|
-
},
|
|
3727
|
+
}), wi(t, e, n, o, m, u.relId, s), g.end("mc:Choice"), g.start("mc:Fallback"), Ei(g, l(), "This chart isn't available in your version of Excel.\n\nEditing this shape or saving this workbook into a different file format will permanently break the chart."), g.end("mc:Fallback"), g.end("mc:AlternateContent");
|
|
3728
|
+
}, wi = (t, e, n, o, s, r, a) => {
|
|
3722
3729
|
const i = t.getXMLWriter(), l = a ?? {
|
|
3723
3730
|
x: 0,
|
|
3724
3731
|
y: 0,
|
|
3725
3732
|
width: 0,
|
|
3726
3733
|
height: 0
|
|
3727
3734
|
}, c = "chartEx" === s ? "cx" : "c", d = ln[s].graphicUri;
|
|
3728
|
-
i.start("graphicFrame", { macro: "" }), i.start("nvGraphicFramePr"),
|
|
3735
|
+
i.start("graphicFrame", { macro: "" }), i.start("nvGraphicFramePr"), Li(t, i, n, o, e), o.lockAspect ? (i.start("cNvGraphicFramePr"), i.empty("a:graphicFrameLocks", { noChangeAspect: "1" }), i.end("cNvGraphicFramePr")) : i.empty("cNvGraphicFramePr"), i.end("nvGraphicFramePr"), i.start("xfrm"), i.empty("a:off", {
|
|
3729
3736
|
x: cs(l.x),
|
|
3730
3737
|
y: cs(l.y)
|
|
3731
3738
|
}), i.empty("a:ext", {
|
|
@@ -3736,30 +3743,30 @@ var Ja = [
|
|
|
3736
3743
|
"xmlns:r": "http://schemas.openxmlformats.org/officeDocument/2006/relationships",
|
|
3737
3744
|
"r:id": r
|
|
3738
3745
|
}), i.end("a:graphicData"), i.end("a:graphic"), i.end("graphicFrame");
|
|
3739
|
-
},
|
|
3746
|
+
}, Si = async (t, e, n, o, s) => {
|
|
3740
3747
|
const r = t.getXMLWriter(), a = o.content?.json, i = e.getStyles();
|
|
3741
|
-
r.start("grpSp"), r.start("nvGrpSpPr"),
|
|
3742
|
-
const l =
|
|
3743
|
-
l ? (r.start("cNvGrpSpPr"), r.empty("a:grpSpLocks", l), r.end("cNvGrpSpPr")) : r.empty("cNvGrpSpPr"), r.end("nvGrpSpPr"), r.start("grpSpPr"), r.pushDefaultNamespace("a"),
|
|
3744
|
-
for (const n of
|
|
3748
|
+
r.start("grpSp"), r.start("nvGrpSpPr"), Li(t, r, n, o, e);
|
|
3749
|
+
const l = Ni(o);
|
|
3750
|
+
l ? (r.start("cNvGrpSpPr"), r.empty("a:grpSpLocks", l), r.end("cNvGrpSpPr")) : r.empty("cNvGrpSpPr"), r.end("nvGrpSpPr"), r.start("grpSpPr"), r.pushDefaultNamespace("a"), Oi(r, s, o, a?.childBounds ?? s), Go(t, i, a), a?.scene3d && r.raw(a.scene3d), a?.extLst?.properties && r.raw(a.extLst.properties), r.popDefaultNamespace(), r.end("grpSpPr");
|
|
3751
|
+
for (const n of hi(o)) await bi(t, e, n, ui(n));
|
|
3745
3752
|
r.end("grpSp");
|
|
3746
|
-
},
|
|
3753
|
+
}, bi = async (t, e, n, o) => {
|
|
3747
3754
|
switch (n.content?.type) {
|
|
3748
3755
|
case "picture": {
|
|
3749
3756
|
const s = es(t, n.content.json?.resId);
|
|
3750
|
-
return s ?
|
|
3757
|
+
return s ? xi(t, e, null, n, o, s) : void t.warn(`The picture '${n.content.name ?? ""}' in a group names no image in the workbook; the group is saved without it.`, void 0, "xlsx.drawing.group.picture");
|
|
3751
3758
|
}
|
|
3752
|
-
case "chart": return
|
|
3753
|
-
case "shape": return
|
|
3754
|
-
case "group": return
|
|
3755
|
-
default: return We(n.content?.type) ? void
|
|
3759
|
+
case "chart": return vi(t, e, null, n, o);
|
|
3760
|
+
case "shape": return Ci(t, e, null, n, o);
|
|
3761
|
+
case "group": return Si(t, e, null, n, o);
|
|
3762
|
+
default: return We(n.content?.type) ? void Wi(t.getXMLWriter(), n, o) : Pi(t, e, n, o);
|
|
3756
3763
|
}
|
|
3757
|
-
},
|
|
3764
|
+
}, Ci = async (t, e, n, o, s) => {
|
|
3758
3765
|
const a = t.getXMLWriter(), i = {}, l = o.content?.json, c = l?.type ?? r.Type.Shape, d = e.getStyles();
|
|
3759
|
-
c === r.Type.Connector ? (void 0 !== l?.macro && (i.macro = l.macro), void 0 !== l?.published && (i.fPublished = l.published ? "1" : "0"), a.start("cxnSp", i), a.start("nvCxnSpPr"),
|
|
3760
|
-
},
|
|
3766
|
+
c === r.Type.Connector ? (void 0 !== l?.macro && (i.macro = l.macro), void 0 !== l?.published && (i.fPublished = l.published ? "1" : "0"), a.start("cxnSp", i), a.start("nvCxnSpPr"), Li(t, a, n, o, e), $i(t, a, n, o, e), a.end("nvCxnSpPr"), Ai(t, e, n, o, s), Di(t, e, n, o), Ga(t, d, l?.text), a.end("cxnSp")) : (void 0 !== l?.macro && (i.macro = l.macro), void 0 !== l?.textLink && (i.textlink = l.textLink), void 0 !== l?.locksText && (i.fLocksText = l.locksText ? "1" : "0"), void 0 !== l?.published && (i.fPublished = l.published ? "1" : "0"), a.start("sp", i), a.start("nvSpPr"), Li(t, a, n, o, e), $i(t, a, n, o, e), a.end("nvSpPr"), Ai(t, e, n, o, s), Di(t, e, n, o), Ga(t, d, l?.text), a.end("sp"));
|
|
3767
|
+
}, Ti = async (t, e, n, o) => Pi(t, e, o, n.getBounds()), ki = "http://schemas.openxmlformats.org/markup-compatibility/2006", Ii = "http://schemas.microsoft.com/office/drawing/2010/slicer", Ri = "http://schemas.microsoft.com/office/drawing/2012/timeslicer", Fi = async (t, e, n, o) => {
|
|
3761
3768
|
const s = t.getXMLWriter(), r = o.content?.name ?? "", a = Cr(n.getContent()), i = void 0 !== a?.timeline, l = i ? {
|
|
3762
|
-
"xmlns:tsle":
|
|
3769
|
+
"xmlns:tsle": Ri,
|
|
3763
3770
|
Requires: "tsle"
|
|
3764
3771
|
} : a ? {
|
|
3765
3772
|
"xmlns:a14": "http://schemas.microsoft.com/office/drawing/2010/main",
|
|
@@ -3768,20 +3775,20 @@ var Ja = [
|
|
|
3768
3775
|
"xmlns:sle15": "http://schemas.microsoft.com/office/drawing/2012/slicer",
|
|
3769
3776
|
Requires: "sle15"
|
|
3770
3777
|
}, c = i ? "Timeline: Works in Excel 2013 or higher. Do not move or resize." : a ? "This shape represents a slicer. Slicers are supported in Excel 2010 or later.\n\nIf the shape was modified in an earlier version of Excel, or if the workbook was saved in Excel 2003 or earlier, the slicer cannot be used." : "This shape represents a table slicer. Table slicers are not supported in this version of Excel.\n\nIf the shape was modified in an earlier version of Excel, or if the workbook was saved in Excel 2007 or earlier, the slicer can't be used.";
|
|
3771
|
-
s.start("mc:AlternateContent", { "xmlns:mc": ki }), s.start("mc:Choice", l), s.start("graphicFrame", { macro: "" }), s.start("nvGraphicFramePr"),
|
|
3778
|
+
s.start("mc:AlternateContent", { "xmlns:mc": ki }), s.start("mc:Choice", l), s.start("graphicFrame", { macro: "" }), s.start("nvGraphicFramePr"), Li(t, s, n, o, e), s.empty("cNvGraphicFramePr"), s.end("nvGraphicFramePr"), s.start("xfrm"), s.empty("a:off", {
|
|
3772
3779
|
x: "0",
|
|
3773
3780
|
y: "0"
|
|
3774
3781
|
}), s.empty("a:ext", {
|
|
3775
3782
|
cx: "0",
|
|
3776
3783
|
cy: "0"
|
|
3777
|
-
}), s.end("xfrm"), s.start("a:graphic"), i ? (s.start("a:graphicData", { uri:
|
|
3778
|
-
"xmlns:tsle":
|
|
3784
|
+
}), s.end("xfrm"), s.start("a:graphic"), i ? (s.start("a:graphicData", { uri: Ri }), s.empty("tsle:timeslicer", {
|
|
3785
|
+
"xmlns:tsle": Ri,
|
|
3779
3786
|
name: r
|
|
3780
|
-
}), s.end("a:graphicData")) : (s.start("a:graphicData", { uri:
|
|
3781
|
-
"xmlns:sle":
|
|
3787
|
+
}), s.end("a:graphicData")) : (s.start("a:graphicData", { uri: Ii }), s.empty("sle:slicer", {
|
|
3788
|
+
"xmlns:sle": Ii,
|
|
3782
3789
|
name: r
|
|
3783
|
-
}), s.end("a:graphicData")), s.end("a:graphic"), s.end("graphicFrame"), s.end("mc:Choice"), s.start("mc:Fallback"),
|
|
3784
|
-
},
|
|
3790
|
+
}), s.end("a:graphicData")), s.end("a:graphic"), s.end("graphicFrame"), s.end("mc:Choice"), s.start("mc:Fallback"), Ei(s, n.getBounds(), c), s.end("mc:Fallback"), s.end("mc:AlternateContent");
|
|
3791
|
+
}, Ei = (t, e, n) => {
|
|
3785
3792
|
t.start("sp", {
|
|
3786
3793
|
macro: "",
|
|
3787
3794
|
textlink: ""
|
|
@@ -3801,8 +3808,8 @@ var Ja = [
|
|
|
3801
3808
|
lang: "en-US",
|
|
3802
3809
|
sz: "1100"
|
|
3803
3810
|
}), t.start("a:t"), t.text(n), t.end("a:t"), t.end("a:r"), t.end("a:p"), t.end("txBody"), t.end("sp");
|
|
3804
|
-
},
|
|
3805
|
-
|
|
3811
|
+
}, Mi = async (t, e, n, o) => Pi(t, e, o, n.getBounds()), Pi = async (t, e, n, o) => {
|
|
3812
|
+
Ci(t, e, null, {
|
|
3806
3813
|
...n,
|
|
3807
3814
|
content: {
|
|
3808
3815
|
type: "shape",
|
|
@@ -3821,19 +3828,19 @@ var Ja = [
|
|
|
3821
3828
|
}
|
|
3822
3829
|
}
|
|
3823
3830
|
}, o);
|
|
3824
|
-
},
|
|
3831
|
+
}, Ai = (t, e, n, o, s) => {
|
|
3825
3832
|
const r = t.getXMLWriter(), a = o.content?.json, i = a?.geometry, l = e.getStyles();
|
|
3826
|
-
if (r.start("spPr"), r.pushDefaultNamespace("a"),
|
|
3833
|
+
if (r.start("spPr"), r.pushDefaultNamespace("a"), Oi(r, s, o), "object" == typeof i && i) ((t, e) => {
|
|
3827
3834
|
t.start("custGeom"), t.start("avLst");
|
|
3828
|
-
for (const n of e.av ?? [])
|
|
3835
|
+
for (const n of e.av ?? []) ai(t, n);
|
|
3829
3836
|
t.end("avLst"), t.start("gdLst");
|
|
3830
|
-
for (const n of e.gd ?? [])
|
|
3837
|
+
for (const n of e.gd ?? []) ai(t, n);
|
|
3831
3838
|
t.end("gdLst"), t.start("ahLst");
|
|
3832
|
-
for (const n of e.ah ?? [])
|
|
3839
|
+
for (const n of e.ah ?? []) li(t, n);
|
|
3833
3840
|
t.end("ahLst"), t.start("cxnLst");
|
|
3834
3841
|
for (const n of Array.isArray(e.cxn) ? e.cxn : []) {
|
|
3835
3842
|
const e = n.split(" ");
|
|
3836
|
-
t.start("cxn", { ang: e[0] }),
|
|
3843
|
+
t.start("cxn", { ang: e[0] }), ii(t, e[1], e[2]), t.end("cxn");
|
|
3837
3844
|
}
|
|
3838
3845
|
if (t.end("cxnLst"), e.rect) {
|
|
3839
3846
|
const n = e.rect.split(" ");
|
|
@@ -3845,7 +3852,7 @@ var Ja = [
|
|
|
3845
3852
|
});
|
|
3846
3853
|
}
|
|
3847
3854
|
t.start("pathLst");
|
|
3848
|
-
for (const n of e.paths)
|
|
3855
|
+
for (const n of e.paths) di(t, n);
|
|
3849
3856
|
t.end("pathLst"), t.end("custGeom");
|
|
3850
3857
|
})(r, i);
|
|
3851
3858
|
else {
|
|
@@ -3863,15 +3870,15 @@ var Ja = [
|
|
|
3863
3870
|
r.end("prstGeom");
|
|
3864
3871
|
}
|
|
3865
3872
|
Go(t, l, a), a?.scene3d && r.raw(a.scene3d), a?.shape3d && r.raw(a.shape3d), a?.extLst?.properties && r.raw(a.extLst.properties), r.popDefaultNamespace(), r.end("spPr");
|
|
3866
|
-
},
|
|
3873
|
+
}, Di = (t, e, n, o) => {
|
|
3867
3874
|
const s = t.getXMLWriter(), r = o.content?.json?.style;
|
|
3868
3875
|
if (null === r) return;
|
|
3869
3876
|
const a = e.getStyles().getTheme(), i = f.defaultStyleRefs(o.content?.json), l = (t, e) => {
|
|
3870
3877
|
e && (s.start(t, { idx: String(e.index) }), e.color && Mo(s, a, e.color), s.end(t));
|
|
3871
3878
|
};
|
|
3872
3879
|
s.start("style"), s.pushDefaultNamespace("a"), l("lnRef", r?.stroke ?? i.stroke), l("fillRef", r?.fill ?? i.fill), l("effectRef", r?.effect ?? i.effect), l("fontRef", r?.font ?? i.font), s.popDefaultNamespace(), s.end("style");
|
|
3873
|
-
},
|
|
3874
|
-
let r =
|
|
3880
|
+
}, Li = (t, e, n, o, s) => {
|
|
3881
|
+
let r = _i(t, s).assigned.get(o);
|
|
3875
3882
|
if (void 0 === r) {
|
|
3876
3883
|
const e = t.getSharedStates();
|
|
3877
3884
|
let n = e.get("uniqueIdCounter");
|
|
@@ -3882,7 +3889,7 @@ var Ja = [
|
|
|
3882
3889
|
name: o.content?.name
|
|
3883
3890
|
};
|
|
3884
3891
|
o.content?.description && (i.descr = o.content.description), o.hidden && (i.hidden = "1"), a?.title && (i.title = a.title), e.start("cNvPr", i), jo(t, e, "a:hlinkClick", a?.hyperlink), jo(t, e, "a:hlinkHover", a?.hoverHyperlink), a?.extLst?.nonVisual && e.raw(a.extLst.nonVisual), e.end("cNvPr");
|
|
3885
|
-
},
|
|
3892
|
+
}, _i = (t, e) => {
|
|
3886
3893
|
const n = t.getSharedStates();
|
|
3887
3894
|
let o = n.get("drawingIds");
|
|
3888
3895
|
o || (o = /* @__PURE__ */ new Map(), n.set("drawingIds", o));
|
|
@@ -3891,18 +3898,18 @@ var Ja = [
|
|
|
3891
3898
|
assigned: /* @__PURE__ */ new Map(),
|
|
3892
3899
|
bySource: /* @__PURE__ */ new Map()
|
|
3893
3900
|
}, o.set(e, s)), s;
|
|
3894
|
-
},
|
|
3901
|
+
}, Ni = (t) => {
|
|
3895
3902
|
const e = { ...(t.content?.json)?.locks };
|
|
3896
3903
|
void 0 !== t.lockAspect && void 0 === e.noChangeAspect && (e.noChangeAspect = t.lockAspect);
|
|
3897
3904
|
const n = {};
|
|
3898
3905
|
for (const t of Object.keys(e)) e[t] && (n[t] = "1");
|
|
3899
3906
|
return Object.keys(n).length > 0 ? n : null;
|
|
3900
|
-
},
|
|
3901
|
-
const a = o.content?.json, i =
|
|
3907
|
+
}, $i = (t, e, n, o, s) => {
|
|
3908
|
+
const a = o.content?.json, i = Ni(o);
|
|
3902
3909
|
if (a?.type === r.Type.Connector) {
|
|
3903
3910
|
const n = a.connectorEnds;
|
|
3904
3911
|
if (!i && !n) return void e.empty("cNvCxnSpPr");
|
|
3905
|
-
const o =
|
|
3912
|
+
const o = _i(t, s);
|
|
3906
3913
|
e.start("cNvCxnSpPr"), i && e.empty("a:cxnSpLocks", i), n?.start && e.empty("a:stCxn", {
|
|
3907
3914
|
id: String(o.bySource.get(n.start.id) ?? n.start.id),
|
|
3908
3915
|
idx: String(n.start.index)
|
|
@@ -3914,13 +3921,13 @@ var Ja = [
|
|
|
3914
3921
|
}
|
|
3915
3922
|
const l = { txBox: a?.textBox ? "1" : void 0 };
|
|
3916
3923
|
i ? (e.start("cNvSpPr", l), e.empty("a:spLocks", i), e.end("cNvSpPr")) : e.empty("cNvSpPr", l);
|
|
3917
|
-
},
|
|
3924
|
+
}, Bi = (t) => {
|
|
3918
3925
|
const e = { ...(t.content?.json)?.locks };
|
|
3919
3926
|
void 0 !== t.lockAspect ? e.noChangeAspect = t.lockAspect : e.noChangeAspect ??= !0;
|
|
3920
3927
|
const n = {};
|
|
3921
3928
|
for (const t of Object.keys(e)) e[t] && (n[t] = "1");
|
|
3922
3929
|
return n;
|
|
3923
|
-
},
|
|
3930
|
+
}, Oi = (t, e, n, o) => {
|
|
3924
3931
|
const s = {}, r = n.rotation;
|
|
3925
3932
|
void 0 !== r && 0 !== r && (s.rot = "" + ds(r)), n.flipH && (s.flipH = "1"), n.flipV && (s.flipV = "1"), t.start("xfrm", s), t.empty("off", {
|
|
3926
3933
|
x: cs(e.x),
|
|
@@ -3935,13 +3942,13 @@ var Ja = [
|
|
|
3935
3942
|
cx: cs(o.width),
|
|
3936
3943
|
cy: cs(o.height)
|
|
3937
3944
|
})), t.end("xfrm");
|
|
3938
|
-
}, Oi = (t, e, n) => {
|
|
3939
|
-
t.start(e), t.start("col"), t.text(n.c ?? 0), t.end("col"), t.start("colOff"), t.text(cs(n.x)), t.end("colOff"), t.start("row"), t.text(n.r ?? 0), t.end("row"), t.start("rowOff"), t.text(cs(n.y)), t.end("rowOff"), t.end(e);
|
|
3940
3945
|
}, Vi = (t, e, n) => {
|
|
3946
|
+
t.start(e), t.start("col"), t.text(n.c ?? 0), t.end("col"), t.start("colOff"), t.text(cs(n.x)), t.end("colOff"), t.start("row"), t.text(n.r ?? 0), t.end("row"), t.start("rowOff"), t.text(cs(n.y)), t.end("rowOff"), t.end(e);
|
|
3947
|
+
}, Wi = (t, e, n) => {
|
|
3941
3948
|
const o = e.content.json;
|
|
3942
3949
|
if (t.start("mc:AlternateContent", Me), t.start("mc:Choice", Q), n) return t.raw(fe(e.content.type, o, e.content?.name, n)), t.end("mc:Choice"), t.empty("mc:Fallback"), void t.end("mc:AlternateContent");
|
|
3943
|
-
t.start("twoCellAnchor", { editAs: e.anchorType || "twoCell" }),
|
|
3944
|
-
},
|
|
3950
|
+
t.start("twoCellAnchor", { editAs: e.anchorType || "twoCell" }), Vi(t, "from", e.anchor.tl), Vi(t, "to", e.anchor.br), t.raw(fe(e.content.type, o, e.content?.name)), t.empty("clientData", { fPrintsWithSheet: "0" }), t.end("twoCellAnchor"), t.end("mc:Choice"), t.empty("mc:Fallback"), t.end("mc:AlternateContent");
|
|
3951
|
+
}, zi = async (t, e, n) => {
|
|
3945
3952
|
const o = await n.getExternalURI();
|
|
3946
3953
|
if (o) return void t.addExternal(Yo, o);
|
|
3947
3954
|
const s = t.getSharedStates();
|
|
@@ -3959,25 +3966,25 @@ var Ja = [
|
|
|
3959
3966
|
const i = t.addBinary(a.bytes, a.type.mime, Yo, `../media/image${a.index}.${a.type.ext}`, !0, e);
|
|
3960
3967
|
i.relId !== e && t.log(`Legacy drawing image '${e}' was written as '${i.relId}'; the markup will not find it.`);
|
|
3961
3968
|
};
|
|
3962
|
-
function
|
|
3969
|
+
function ji(t) {
|
|
3963
3970
|
return t.toISOString().substring(0, 22);
|
|
3964
3971
|
}
|
|
3965
|
-
function
|
|
3972
|
+
function Xi(t, e, n, o, s, r, a, i, l) {
|
|
3966
3973
|
const c = {
|
|
3967
3974
|
ref: e,
|
|
3968
|
-
dT:
|
|
3969
|
-
personId: o ?
|
|
3970
|
-
id:
|
|
3971
|
-
parentId: a ?
|
|
3975
|
+
dT: ji(s ?? /* @__PURE__ */ new Date()),
|
|
3976
|
+
personId: o ? Hi(o) : void 0,
|
|
3977
|
+
id: Hi(n),
|
|
3978
|
+
parentId: a ? Hi(a) : void 0,
|
|
3972
3979
|
done: i ? "1" : void 0
|
|
3973
3980
|
};
|
|
3974
|
-
if (t.start("threadedComment", c), t.start("text",
|
|
3981
|
+
if (t.start("threadedComment", c), t.start("text", ke.test(r) || /[\n\r]/.test(r) ? Fe : void 0), t.text(r), t.end("text"), l && l.length > 0) {
|
|
3975
3982
|
t.start("mentions");
|
|
3976
3983
|
for (let e = 0; e < l.length; e++) {
|
|
3977
3984
|
const n = l[e];
|
|
3978
3985
|
t.empty("mention", {
|
|
3979
|
-
mentionpersonId:
|
|
3980
|
-
mentionId:
|
|
3986
|
+
mentionpersonId: Hi(n.personId),
|
|
3987
|
+
mentionId: Hi(n.id),
|
|
3981
3988
|
startIndex: n.startIndex ?? 0,
|
|
3982
3989
|
length: n.length ?? 0
|
|
3983
3990
|
});
|
|
@@ -3986,17 +3993,17 @@ function ji(t, e, n, o, s, r, a, i, l) {
|
|
|
3986
3993
|
}
|
|
3987
3994
|
t.end("threadedComment");
|
|
3988
3995
|
}
|
|
3989
|
-
function
|
|
3996
|
+
function Hi(t) {
|
|
3990
3997
|
return `{${t.replace(/^\{|\}$/g, "").toUpperCase()}}`;
|
|
3991
3998
|
}
|
|
3992
|
-
var
|
|
3999
|
+
var Ui = {
|
|
3993
4000
|
rowIndex: 0,
|
|
3994
4001
|
colIndex: 0
|
|
3995
4002
|
};
|
|
3996
|
-
function
|
|
4003
|
+
function Gi(t, e, n, o) {
|
|
3997
4004
|
if (null == o) return;
|
|
3998
|
-
|
|
3999
|
-
const s =
|
|
4005
|
+
Ui.rowIndex = e, Ui.colIndex = n;
|
|
4006
|
+
const s = D.cellToString(Ui);
|
|
4000
4007
|
let r, a;
|
|
4001
4008
|
switch (typeof o) {
|
|
4002
4009
|
case "number":
|
|
@@ -4019,7 +4026,7 @@ function Ui(t, e, n, o) {
|
|
|
4019
4026
|
t: r
|
|
4020
4027
|
} : { r: s }), t.start("v"), t.text(a), t.end("v"), t.end("cell");
|
|
4021
4028
|
}
|
|
4022
|
-
var
|
|
4029
|
+
var qi = [
|
|
4023
4030
|
new class extends bn {
|
|
4024
4031
|
constructor() {
|
|
4025
4032
|
super({
|
|
@@ -4060,7 +4067,7 @@ var Gi = [
|
|
|
4060
4067
|
...t.styles,
|
|
4061
4068
|
direct: a.list
|
|
4062
4069
|
}), n.setXfComplements(a.complements), s;
|
|
4063
|
-
}(s, t.getSheets({ visibility:
|
|
4070
|
+
}(s, t.getSheets({ visibility: T.Visibility.VeryHidden }), r, (t, n) => {
|
|
4064
4071
|
e.warn(t, void 0, n);
|
|
4065
4072
|
});
|
|
4066
4073
|
e.getSharedStates().set(pt, mt(s.names, function(t) {
|
|
@@ -4105,7 +4112,7 @@ var Gi = [
|
|
|
4105
4112
|
a && (s.xWindow = "" + Math.round(a.left), s.yWindow = "" + Math.round(a.top), s.windowWidth = "" + Math.round(a.width), s.windowHeight = "" + Math.round(a.height));
|
|
4106
4113
|
const i = o.getTabRatio();
|
|
4107
4114
|
600 !== i && (s.tabRatio = i);
|
|
4108
|
-
const l = Math.min(o.getFirstTab(), n.getSheets({ visibility:
|
|
4115
|
+
const l = Math.min(o.getFirstTab(), n.getSheets({ visibility: T.Visibility.VeryHidden }).length - 1);
|
|
4109
4116
|
l > 0 && (s.firstSheet = "" + l);
|
|
4110
4117
|
const c = n.getSelectedSheet().getIndex();
|
|
4111
4118
|
0 !== c && (s.activeTab = "" + c), o.isAutoFilterDateGrouping() || (s.autoFilterDateGrouping = "0"), e.empty("workbookView", s), e.end("bookViews");
|
|
@@ -4161,9 +4168,9 @@ var Gi = [
|
|
|
4161
4168
|
}
|
|
4162
4169
|
return s;
|
|
4163
4170
|
})(e, s.pivotCaches, !0 === s.date1904, ((t) => {
|
|
4164
|
-
const e = /* @__PURE__ */ new Set(), n = t.getWorksheets().getItems({ visibility:
|
|
4171
|
+
const e = /* @__PURE__ */ new Set(), n = t.getWorksheets().getItems({ visibility: T.Visibility.VeryHidden });
|
|
4165
4172
|
for (let t = 0; t < n.length; t++) {
|
|
4166
|
-
const o =
|
|
4173
|
+
const o = kr(n[t]);
|
|
4167
4174
|
for (let t = 0; t < o.length; t++) {
|
|
4168
4175
|
const n = Cr(o[t]);
|
|
4169
4176
|
n?.tabular && void 0 !== n.cacheId && e.add(n.cacheId);
|
|
@@ -4176,9 +4183,9 @@ var Gi = [
|
|
|
4176
4183
|
})(e, t), n.start("sheets");
|
|
4177
4184
|
const l = e.getSharedStates(), c = t.getStrings().beginPersist();
|
|
4178
4185
|
l.set("persistStrings", c);
|
|
4179
|
-
const d = new
|
|
4186
|
+
const d = new To();
|
|
4180
4187
|
l.set("metaCollector", d);
|
|
4181
|
-
const m = new
|
|
4188
|
+
const m = new ko(d, t, e.log.bind(e));
|
|
4182
4189
|
l.set("persistRichTypes", m), l.set(Zn, new Qn(s.styles, t.getStyles()));
|
|
4183
4190
|
let p = {
|
|
4184
4191
|
table: [],
|
|
@@ -4187,7 +4194,7 @@ var Gi = [
|
|
|
4187
4194
|
cacheNames: []
|
|
4188
4195
|
};
|
|
4189
4196
|
try {
|
|
4190
|
-
const o = t.getSheets({ visibility:
|
|
4197
|
+
const o = t.getSheets({ visibility: T.Visibility.VeryHidden }), i = s.sheets, d = t.getSelectedSheet(), m = o.length, f = ((t, e) => {
|
|
4191
4198
|
const n = new Array(e), o = /* @__PURE__ */ new Set();
|
|
4192
4199
|
let s = 1;
|
|
4193
4200
|
for (let r = 0; r < e; r++) {
|
|
@@ -4255,16 +4262,16 @@ var Gi = [
|
|
|
4255
4262
|
pivot: [],
|
|
4256
4263
|
timeline: [],
|
|
4257
4264
|
cacheNames: []
|
|
4258
|
-
}, o = pr(t), s = e.getWorksheets().getItems({ visibility:
|
|
4265
|
+
}, o = pr(t), s = e.getWorksheets().getItems({ visibility: T.Visibility.VeryHidden });
|
|
4259
4266
|
for (let e = 0; e < s.length; e++) {
|
|
4260
|
-
const r =
|
|
4267
|
+
const r = kr(s[e]);
|
|
4261
4268
|
for (let e = 0; e < r.length; e++) {
|
|
4262
4269
|
const s = r[e], a = null !== Cr(s);
|
|
4263
4270
|
if (!a && !o.has(s.getTable())) {
|
|
4264
4271
|
t.log(`The slicer '${s.getName?.() ?? ""}' names a table that was not written; its cache was dropped.`);
|
|
4265
4272
|
continue;
|
|
4266
4273
|
}
|
|
4267
|
-
if (
|
|
4274
|
+
if (Tr(s)) {
|
|
4268
4275
|
const e = t.addPart("timelineCache", s);
|
|
4269
4276
|
e.relId && n.timeline.push(e.relId);
|
|
4270
4277
|
continue;
|
|
@@ -4327,7 +4334,7 @@ var Gi = [
|
|
|
4327
4334
|
}(e, n, s), function(t, e, n, o, s) {
|
|
4328
4335
|
const r = t.getSharedStates().get(pt), a = o.names, i = a ? a.length : 0, l = new Set((a ?? []).filter((t) => !t.scope).map((t) => t.name.toLowerCase())), c = s.filter((t) => !l.has(t.toLowerCase()));
|
|
4329
4336
|
if (0 === i && 0 === c.length) return;
|
|
4330
|
-
const d = /* @__PURE__ */ new Map(), m = n.getSheets({ visibility:
|
|
4337
|
+
const d = /* @__PURE__ */ new Map(), m = n.getSheets({ visibility: T.Visibility.VeryHidden });
|
|
4331
4338
|
for (let t = 0; t < m.length; t++) d.set(m[t].getName().toLowerCase(), t);
|
|
4332
4339
|
e.start("definedNames");
|
|
4333
4340
|
for (let n = 0; n < i; n++) {
|
|
@@ -4497,7 +4504,7 @@ var Gi = [
|
|
|
4497
4504
|
rowEnd: a.rowEnd
|
|
4498
4505
|
}).getAddress()}`), e.empty("dimension", { ref: f });
|
|
4499
4506
|
}(0, s, r, a), function(t, e, n, o, s) {
|
|
4500
|
-
const r = n.getView(), a = r.getTopLeft(), i = n.getRowHeaders().getMetrics().getIndex(a.top), l = n.getColumnHeaders().getMetrics().getIndex(a.left), c =
|
|
4507
|
+
const r = n.getView(), a = r.getTopLeft(), i = n.getRowHeaders().getMetrics().getIndex(a.top), l = n.getColumnHeaders().getMetrics().getIndex(a.left), c = D.cellToString({
|
|
4501
4508
|
colIndex: l,
|
|
4502
4509
|
rowIndex: i
|
|
4503
4510
|
});
|
|
@@ -4505,7 +4512,7 @@ var Gi = [
|
|
|
4505
4512
|
const d = {};
|
|
4506
4513
|
r.isShowFormulas() && (d.showFormulas = "1"), r.isShowColumnGridlines() || r.isShowRowGridlines() || (d.showGridLines = "0"), r.isShowColumnHeaders() || r.isShowRowHeaders() || (d.showRowColHeaders = "0"), r.isShowZeros() || (d.showZeros = "0"), r.isRightToLeft() && (d.rightToLeft = "1"), r.isShowOutlineSymbols() || (d.showOutlineSymbols = "0"), s && (d.tabSelected = "1"), "A1" !== c && (d.topLeftCell = c), r.isShowRuler() || (d.showRuler = "0"), r.isShowWhitespace() || (d.showWhiteSpace = "0");
|
|
4507
4514
|
const m = r.getViewMode();
|
|
4508
|
-
m !==
|
|
4515
|
+
m !== F.ViewMode.Normal && (d.view = m);
|
|
4509
4516
|
const p = r.getZoomScale();
|
|
4510
4517
|
100 !== p && (d.zoomScale = p);
|
|
4511
4518
|
const f = r.toJSON(), h = f?.zoomScales ?? {};
|
|
@@ -4526,17 +4533,17 @@ var Gi = [
|
|
|
4526
4533
|
d.colorId = "" + i;
|
|
4527
4534
|
}
|
|
4528
4535
|
d.workbookViewId = "0";
|
|
4529
|
-
const g = n.getSelection().getCoords(), x =
|
|
4536
|
+
const g = n.getSelection().getCoords(), x = D.cellToString(g.cell);
|
|
4530
4537
|
let y = {};
|
|
4531
|
-
const v = r.getFreezePanes(), w = v.coords ?? {}, S = w.colIndex ?? 0,
|
|
4532
|
-
if (S > 0 ||
|
|
4533
|
-
const t = v.topLeft ?? {}, o = t.top ?? 0, s = t.left ?? 0, r = n.getRowHeaders().getMetrics().getIndex(o), i = n.getColumnHeaders().getMetrics().getIndex(s), l = S - i, c =
|
|
4538
|
+
const v = r.getFreezePanes(), w = v.coords ?? {}, S = w.colIndex ?? 0, b = w.rowIndex ?? 0;
|
|
4539
|
+
if (S > 0 || b > 0) {
|
|
4540
|
+
const t = v.topLeft ?? {}, o = t.top ?? 0, s = t.left ?? 0, r = n.getRowHeaders().getMetrics().getIndex(o), i = n.getColumnHeaders().getMetrics().getIndex(s), l = S - i, c = b - r, m = Math.max(S, n.getColumnHeaders().getMetrics().getIndex(a.left + n.getColumnHeaders().getMetrics().getOffset(S) - s)), p = Math.max(b, n.getRowHeaders().getMetrics().getIndex(a.top + n.getRowHeaders().getMetrics().getOffset(b) - o)), f = D.cellToString({
|
|
4534
4541
|
colIndex: i,
|
|
4535
4542
|
rowIndex: r
|
|
4536
4543
|
});
|
|
4537
4544
|
"A1" !== f ? d.topLeftCell = f : delete d.topLeftCell, e.start("sheetView", d);
|
|
4538
4545
|
const h = {};
|
|
4539
|
-
l > 0 && (h.xSplit = l), c > 0 && (h.ySplit = c), h.topLeftCell =
|
|
4546
|
+
l > 0 && (h.xSplit = l), c > 0 && (h.ySplit = c), h.topLeftCell = D.cellToString({
|
|
4540
4547
|
colIndex: m,
|
|
4541
4548
|
rowIndex: p
|
|
4542
4549
|
}), h.state = "frozen";
|
|
@@ -4550,27 +4557,27 @@ var Gi = [
|
|
|
4550
4557
|
sqref: s?.sqref ?? r
|
|
4551
4558
|
});
|
|
4552
4559
|
};
|
|
4553
|
-
0 === S ? (h.activePane = "bottomLeft", e.empty("pane", h), g("topLeft",
|
|
4560
|
+
0 === S ? (h.activePane = "bottomLeft", e.empty("pane", h), g("topLeft", D.cellToString({
|
|
4554
4561
|
colIndex: m,
|
|
4555
4562
|
rowIndex: r
|
|
4556
|
-
}), !1), y.pane = "bottomLeft") : 0 ===
|
|
4563
|
+
}), !1), y.pane = "bottomLeft") : 0 === b ? (h.activePane = "topRight", e.empty("pane", h), g("topLeft", D.cellToString({
|
|
4557
4564
|
colIndex: i,
|
|
4558
4565
|
rowIndex: p
|
|
4559
|
-
}), !1), y.pane = "topRight") : (h.activePane = "bottomRight", e.empty("pane", h), g("topLeft", f, !1), g("topRight",
|
|
4566
|
+
}), !1), y.pane = "topRight") : (h.activePane = "bottomRight", e.empty("pane", h), g("topLeft", f, !1), g("topRight", D.cellToString({
|
|
4560
4567
|
colIndex: m,
|
|
4561
4568
|
rowIndex: r
|
|
4562
|
-
}), !0), g("bottomLeft",
|
|
4569
|
+
}), !0), g("bottomLeft", D.cellToString({
|
|
4563
4570
|
colIndex: i,
|
|
4564
4571
|
rowIndex: p
|
|
4565
4572
|
}), !0), y.pane = "bottomRight");
|
|
4566
4573
|
} else e.start("sheetView", d);
|
|
4567
4574
|
y.activeCell = x;
|
|
4568
|
-
const
|
|
4575
|
+
const C = g.ranges, T = C ? C.length : 0;
|
|
4569
4576
|
if (T > 0) {
|
|
4570
4577
|
let t = "";
|
|
4571
4578
|
for (let e = 0; e < T; e++) {
|
|
4572
|
-
const n =
|
|
4573
|
-
e > 0 && (t += " "), t +=
|
|
4579
|
+
const n = C[e];
|
|
4580
|
+
e > 0 && (t += " "), t += D.rangeToString(n);
|
|
4574
4581
|
}
|
|
4575
4582
|
y.sqref = t, (g.rangeIndex ?? 0) > 0 && (y.activeCellId = "" + g.rangeIndex);
|
|
4576
4583
|
} else "A1" === x ? y = null : y.sqref = x;
|
|
@@ -4586,7 +4593,7 @@ var Gi = [
|
|
|
4586
4593
|
thickBottom: s,
|
|
4587
4594
|
run: n
|
|
4588
4595
|
};
|
|
4589
|
-
}, s = t.defaultRowSize ?? e, r = t.rows ?
|
|
4596
|
+
}, s = t.defaultRowSize ?? e, r = t.rows ? D.refsToRuns(t.rows, !1) : null;
|
|
4590
4597
|
let a = null, i = 0;
|
|
4591
4598
|
const l = r ? r.length : 0;
|
|
4592
4599
|
for (let t = 0; t < l; t++) {
|
|
@@ -4597,7 +4604,7 @@ var Gi = [
|
|
|
4597
4604
|
})(a, .75 * r.getStyles().getNormal().getBestFit().height, r.getEntireRange().getRowEnd() + 1);
|
|
4598
4605
|
(function(t, e, n, o, s) {
|
|
4599
4606
|
const r = o.defaultColSize, a = o.defaultRowSize, i = {};
|
|
4600
|
-
void 0 !== o.baseColSize && (i.baseColWidth = o.baseColSize), void 0 !== r && (i.defaultColWidth = r), s ? (i.defaultRowHeight = s.height, s.custom && (i.customHeight = "1")) : (i.defaultRowHeight = a ?? .75 * n.getRowHeaders().getMetrics().getDefaultSize(), void 0 !== a && (i.customHeight = "1")), o.rows && null !== ra(
|
|
4607
|
+
void 0 !== o.baseColSize && (i.baseColWidth = o.baseColSize), void 0 !== r && (i.defaultColWidth = r), s ? (i.defaultRowHeight = s.height, s.custom && (i.customHeight = "1")) : (i.defaultRowHeight = a ?? .75 * n.getRowHeaders().getMetrics().getDefaultSize(), void 0 !== a && (i.customHeight = "1")), o.rows && null !== ra(D.refsToRuns(o.rows, !1)) && (i.zeroHeight = "1"), s?.thickTop && (i.thickTop = "1"), s?.thickBottom && (i.thickBottom = "1");
|
|
4601
4608
|
const l = n.getOutline(), c = l.getLevelCount(v.Axis.Row);
|
|
4602
4609
|
c > 0 && (i.outlineLevelRow = c);
|
|
4603
4610
|
const d = l.getLevelCount(v.Axis.Column);
|
|
@@ -4605,7 +4612,7 @@ var Gi = [
|
|
|
4605
4612
|
})(0, s, r, a, c);
|
|
4606
4613
|
const d = !1 === a.protection?.showFormulas ? e.getSharedStates().get("xfVariants") ?? null : null;
|
|
4607
4614
|
(function(t, e, n, o, s) {
|
|
4608
|
-
const r = o.cols ?
|
|
4615
|
+
const r = o.cols ? D.refsToRuns(o.cols, !0) : null, a = r ? r.length : 0;
|
|
4609
4616
|
n.getEntireRange().getColumnEnd();
|
|
4610
4617
|
const i = n.getColumnHeaders().getDefaultSizeNative(), l = s ? s.getXf(0, !0, !1) : 0;
|
|
4611
4618
|
let c = 1;
|
|
@@ -4641,8 +4648,8 @@ var Gi = [
|
|
|
4641
4648
|
for (const n of t.pivotTables ?? []) {
|
|
4642
4649
|
const t = n.buttons?.length ? te(n) : null;
|
|
4643
4650
|
if (t) for (const o of n.buttons) {
|
|
4644
|
-
const n =
|
|
4645
|
-
for (let o = n.rowStart; o <= n.rowEnd; o++) for (let s = n.colStart; s <= n.colEnd; s++) (e ??= /* @__PURE__ */ new Set()).add((t.rowStart + o) *
|
|
4651
|
+
const n = D.fastStringToRange(o);
|
|
4652
|
+
for (let o = n.rowStart; o <= n.rowEnd; o++) for (let s = n.colStart; s <= n.colEnd; s++) (e ??= /* @__PURE__ */ new Set()).add((t.rowStart + o) * Ra + t.colStart + s);
|
|
4646
4653
|
}
|
|
4647
4654
|
}
|
|
4648
4655
|
return e;
|
|
@@ -4653,7 +4660,7 @@ var Gi = [
|
|
|
4653
4660
|
o && (e ??= []).push({
|
|
4654
4661
|
table: n,
|
|
4655
4662
|
coords: o,
|
|
4656
|
-
formats: t?.header ?
|
|
4663
|
+
formats: t?.header ? k(t) : null
|
|
4657
4664
|
});
|
|
4658
4665
|
}
|
|
4659
4666
|
return e;
|
|
@@ -4661,7 +4668,7 @@ var Gi = [
|
|
|
4661
4668
|
let g = 0, y = 0;
|
|
4662
4669
|
const S = n.getUsedRange();
|
|
4663
4670
|
let b = 0;
|
|
4664
|
-
const C = l?.run, T = s.rows ?
|
|
4671
|
+
const C = l?.run, T = s.rows ? D.refsToRuns(s.rows, !1) : null, R = s.defaultRowSize ?? .75 * n.getStyles().getNormal().getBestFit().height, F = T && C ? ((t, e, n, o) => {
|
|
4665
4672
|
const s = [];
|
|
4666
4673
|
let r = 0;
|
|
4667
4674
|
const a = (t, e) => {
|
|
@@ -4676,26 +4683,26 @@ var Gi = [
|
|
|
4676
4683
|
a(r, o.min - 1), r = o.max + 1, o.min === e.min && o.max === e.max || s.push(o);
|
|
4677
4684
|
}
|
|
4678
4685
|
return a(r, o - 1), s;
|
|
4679
|
-
})(T, C,
|
|
4686
|
+
})(T, C, R, n.getEntireRange().getRowEnd() + 1) : T, M = F ? F.length : 0, P = ra(F), A = null !== P ? P - 1 : F?.[M - 1]?.max ?? -1, _ = s.cols ? D.refsToRuns(s.cols, !0) : null, N = _ ? _.length : 0, $ = _?.[N - 1]?.max ?? -1;
|
|
4680
4687
|
if (S || M > 0) {
|
|
4681
|
-
const c = .75, S = s.defaultRowSize ?? n.getRowHeaders().getMetrics().getDefaultSize() * c, C = n.getStyles().getNormal().getBestFit().height * c, T = sa(n.getOutline(), v.Axis.Row),
|
|
4682
|
-
const n =
|
|
4688
|
+
const c = .75, S = s.defaultRowSize ?? n.getRowHeaders().getMetrics().getDefaultSize() * c, C = n.getStyles().getNormal().getBestFit().height * c, T = sa(n.getOutline(), v.Axis.Row), k = (t, e) => {
|
|
4689
|
+
const n = Ma;
|
|
4683
4690
|
if (n.r = "" + (t + 1), n.s = void 0, n.customFormat = void 0, n.hidden = void 0, n.ht = void 0, n.customHeight = void 0, n.outlineLevel = void 0, n.collapsed = void 0, n.thickTop = void 0, n.thickBot = void 0, !e) return n;
|
|
4684
4691
|
const o = e.value;
|
|
4685
4692
|
void 0 !== o.s && (n.s = "" + (a ? a.getXf(o.s, !0, !1) : o.s), n.customFormat = "1"), o.h && (n.hidden = "1");
|
|
4686
4693
|
const s = o.csz ?? !1, r = o.sz ?? S;
|
|
4687
4694
|
return (r !== (l?.height ?? C) || s) && (n.ht = "" + r), s && (n.customHeight = "1"), o.l && (n.outlineLevel = "" + o.l), T.has(t) && (n.collapsed = "1"), o.tt && (n.thickTop = "1"), o.tb && (n.thickBot = "1"), n;
|
|
4688
4695
|
};
|
|
4689
|
-
let
|
|
4696
|
+
let R = 0, M = F?.[R] ?? null, N = M?.min ?? Number.MAX_SAFE_INTEGER, B = M?.max ?? Number.MAX_SAFE_INTEGER, O = M?.value?.s, V = -1, W = 0, z = _?.[W] ?? null, j = z?.min ?? Number.MAX_SAFE_INTEGER, X = z?.max ?? Number.MAX_SAFE_INTEGER, H = z?.value?.s;
|
|
4690
4697
|
const U = (t, n = !1) => {
|
|
4691
4698
|
if (V !== t) {
|
|
4692
4699
|
for (-1 !== V && (e.end("row"), 0 !== W && (W = 0, z = _?.[W] ?? null, j = z?.min ?? Number.MAX_SAFE_INTEGER, X = z?.max ?? Number.MAX_SAFE_INTEGER, H = z?.value?.s)); V + 1 <= t;) {
|
|
4693
|
-
V++,
|
|
4694
|
-
const o = V < t || n && V === t, s =
|
|
4700
|
+
V++, M && V > B && (M = F[++R] ?? null, M ? (N = M.min, B = M.max, O = M.value?.s) : (N = Number.MAX_SAFE_INTEGER, B = Number.MAX_SAFE_INTEGER, O = void 0)), V < N && V < t && null === P && (V = M ? Math.min(N, t) : t), null !== P && V >= P && V < t && (V = t);
|
|
4701
|
+
const o = V < t || n && V === t, s = k(V, M && V >= N && V <= B ? M : null);
|
|
4695
4702
|
o ? e.empty("row", s) : e.start("row", s);
|
|
4696
4703
|
}
|
|
4697
4704
|
if (t < V) {
|
|
4698
|
-
const n =
|
|
4705
|
+
const n = k(t, null);
|
|
4699
4706
|
e.start("row", n);
|
|
4700
4707
|
}
|
|
4701
4708
|
}
|
|
@@ -4742,27 +4749,31 @@ var Gi = [
|
|
|
4742
4749
|
for (let s = 0; s < J; s++) {
|
|
4743
4750
|
const i = q[s];
|
|
4744
4751
|
try {
|
|
4745
|
-
const
|
|
4746
|
-
let
|
|
4747
|
-
if (ia.test(
|
|
4748
|
-
let
|
|
4749
|
-
const
|
|
4750
|
-
rowIndex:
|
|
4751
|
-
colIndex:
|
|
4752
|
-
},
|
|
4753
|
-
let
|
|
4754
|
-
if (
|
|
4755
|
-
else if (!o.isSingleCell(
|
|
4752
|
+
const e = i[0], m = n.getRange(e), u = m.getCoords();
|
|
4753
|
+
let g = i[1];
|
|
4754
|
+
if (ia.test(g) && la(n, u, g, K)) continue;
|
|
4755
|
+
let x = null;
|
|
4756
|
+
const y = {
|
|
4757
|
+
rowIndex: u.rowStart,
|
|
4758
|
+
colIndex: u.colStart
|
|
4759
|
+
}, v = c.parse(g, y), w = v ? c.annotate(v) : void 0, S = v ? c.spell(v, f.has(`${u.rowStart},${u.colStart}`), p(u.rowStart, u.colStart)) : null;
|
|
4760
|
+
let C = S ? E.imager(S, { entireCoords: d }) : null;
|
|
4761
|
+
if (C) g = C(y);
|
|
4762
|
+
else if (!o.isSingleCell(u)) {
|
|
4756
4763
|
const t = [];
|
|
4757
|
-
|
|
4758
|
-
const n = e ??
|
|
4759
|
-
return
|
|
4764
|
+
D.normalizeA1ToR1C1(g, y.rowIndex, y.colIndex, t), C = (e) => {
|
|
4765
|
+
const n = e ?? y;
|
|
4766
|
+
return D.resolveRelativeToA1(t, n.rowIndex, n.colIndex);
|
|
4760
4767
|
};
|
|
4761
4768
|
}
|
|
4762
|
-
|
|
4763
|
-
|
|
4769
|
+
if (g.length > 8192) {
|
|
4770
|
+
t.warn(`The formula at '${n.getName()}'!${D.rangeToString(u)} is ${g.length.toLocaleString()} characters as xlsx stores it; Excel allows at most ${8192 .toLocaleString()}. Its cells are saved as values.`, void 0, "xlsx.formula.lengthLimit");
|
|
4771
|
+
continue;
|
|
4772
|
+
}
|
|
4773
|
+
let T = !0 === w?.cm;
|
|
4774
|
+
const k = !0 === w?.ca;
|
|
4764
4775
|
if (r.affects(s)) {
|
|
4765
|
-
|
|
4776
|
+
x = null, T = !1;
|
|
4766
4777
|
const t = (t, e, n) => {
|
|
4767
4778
|
const o = {
|
|
4768
4779
|
rowStart: t,
|
|
@@ -4774,45 +4785,45 @@ var Gi = [
|
|
|
4774
4785
|
coords: o,
|
|
4775
4786
|
formula: n,
|
|
4776
4787
|
sharedId: null,
|
|
4777
|
-
ref:
|
|
4788
|
+
ref: D.rangeToString(o),
|
|
4778
4789
|
isDynamicRange: !1,
|
|
4779
4790
|
isWrapped: !0
|
|
4780
4791
|
}]);
|
|
4781
|
-
},
|
|
4782
|
-
let
|
|
4783
|
-
if (
|
|
4784
|
-
const
|
|
4785
|
-
if (null !==
|
|
4786
|
-
if (
|
|
4787
|
-
t(
|
|
4792
|
+
}, e = a.get(`${u.rowStart},${u.colStart}`), o = void 0 !== e && (e.rowEnd > e.rowStart || e.colEnd > e.colStart);
|
|
4793
|
+
let s = !1;
|
|
4794
|
+
if (o) {
|
|
4795
|
+
const o = se(g, m.getCell().getValue());
|
|
4796
|
+
if (null !== o) for (let r = e.rowStart; r <= e.rowEnd; r++) for (let a = e.colStart; a <= e.colEnd; a++) {
|
|
4797
|
+
if (r === e.rowStart && a === e.colStart) {
|
|
4798
|
+
t(r, a, o), s = !0;
|
|
4788
4799
|
continue;
|
|
4789
4800
|
}
|
|
4790
|
-
const i = n.getRange(
|
|
4791
|
-
rowStart:
|
|
4801
|
+
const i = n.getRange(D.rangeToString({
|
|
4802
|
+
rowStart: r,
|
|
4792
4803
|
colStart: a,
|
|
4793
|
-
rowEnd:
|
|
4804
|
+
rowEnd: r,
|
|
4794
4805
|
colEnd: a
|
|
4795
4806
|
})), l = Lt(i.getCell().getValue());
|
|
4796
|
-
null !== l && t(
|
|
4807
|
+
null !== l && t(r, a, l);
|
|
4797
4808
|
}
|
|
4798
|
-
} else
|
|
4799
|
-
const o = n.getCoords(),
|
|
4800
|
-
null !== a && (t(o.rowIndex, o.colIndex, a),
|
|
4809
|
+
} else m.forEach((e, n) => {
|
|
4810
|
+
const o = n.getCoords(), r = C?.(o) ?? g, a = se(r, n.getCell().getValue());
|
|
4811
|
+
null !== a && (t(o.rowIndex, o.colIndex, a), s = !0);
|
|
4801
4812
|
}, { includeEmpty: !0 });
|
|
4802
|
-
if (
|
|
4813
|
+
if (s) continue;
|
|
4803
4814
|
}
|
|
4804
|
-
const
|
|
4805
|
-
|
|
4806
|
-
const
|
|
4807
|
-
coords:
|
|
4808
|
-
formula:
|
|
4809
|
-
sharedId:
|
|
4810
|
-
ref:
|
|
4811
|
-
isDynamicRange:
|
|
4815
|
+
const I = -1 !== g.indexOf("!") || -1 !== g.indexOf("[");
|
|
4816
|
+
T || m.isSingleCell() || I || l(u) || (x = "" + b++);
|
|
4817
|
+
const R = null !== x || m.isSingleCell() ? null : C, F = [u, {
|
|
4818
|
+
coords: u,
|
|
4819
|
+
formula: g,
|
|
4820
|
+
sharedId: x,
|
|
4821
|
+
ref: e,
|
|
4822
|
+
isDynamicRange: T,
|
|
4812
4823
|
isExcelVolatile: k,
|
|
4813
|
-
memberImage:
|
|
4824
|
+
memberImage: R
|
|
4814
4825
|
}];
|
|
4815
|
-
h.push(
|
|
4826
|
+
h.push(F);
|
|
4816
4827
|
} catch (e) {
|
|
4817
4828
|
t.log(`Could not write the formula '${i[1]}' over '${i[0]}'; those cells are written as values only. ${e}`);
|
|
4818
4829
|
continue;
|
|
@@ -4871,9 +4882,9 @@ var Gi = [
|
|
|
4871
4882
|
Z > 0 && (b = o.getInjectedReference(2) ?? !1);
|
|
4872
4883
|
let C = null;
|
|
4873
4884
|
tt > 0 && (C = o.getInjectedReference(3) ?? null);
|
|
4874
|
-
const T = "error" === C?.kind,
|
|
4875
|
-
|
|
4876
|
-
const
|
|
4885
|
+
const T = "error" === C?.kind, k = "fixed" === C?.kind, R = Ea;
|
|
4886
|
+
R.r = o.getAddress(), R.s = void 0, R.t = void 0, R.cm = void 0, R.vm = void 0;
|
|
4887
|
+
const F = null !== h && h.has(r * Ra + l), E = null !== u ? function(t, e, n) {
|
|
4877
4888
|
for (const { table: o, coords: s, formats: r } of t) {
|
|
4878
4889
|
if (e < s.rowStart || e > s.rowEnd || n < s.colStart || n > s.colEnd) continue;
|
|
4879
4890
|
const t = o.getStyleAt(e, n), a = t.getAlignment(), i = "left" === a.getHorizontal() ? a.getIndent() : null, l = t.getNumberFormat(), c = l && "General" !== l ? l : null, d = r?.formatAt(e - s.rowStart, n - s.colStart).user ?? null;
|
|
@@ -4885,30 +4896,30 @@ var Gi = [
|
|
|
4885
4896
|
}
|
|
4886
4897
|
return null;
|
|
4887
4898
|
}(u, r, l) : null;
|
|
4888
|
-
(a ||
|
|
4889
|
-
const
|
|
4890
|
-
let
|
|
4899
|
+
(a || F || null !== E) && (c = f.getXf(c ?? 0, null !== a, F, E?.labelIndent ?? null, E?.numberFormat ?? null, E?.user ?? null)), void 0 !== c && 0 !== c && (R.s = "" + c);
|
|
4900
|
+
const M = K.length > 0 ? o.getInjectedReference(4) ?? null : null;
|
|
4901
|
+
let P = null, A = null;
|
|
4891
4902
|
switch (v) {
|
|
4892
4903
|
case x.Boolean:
|
|
4893
|
-
|
|
4904
|
+
P = n ? "1" : "0", A = "b";
|
|
4894
4905
|
break;
|
|
4895
4906
|
case x.Error:
|
|
4896
4907
|
const t = n.getCode();
|
|
4897
|
-
if (
|
|
4908
|
+
if (A = "e", t > 7) P = w.BuiltIn.Value.getLabel(), R.vm = "" + p.add(n);
|
|
4898
4909
|
else if (t < 1) {
|
|
4899
4910
|
let t;
|
|
4900
|
-
|
|
4901
|
-
} else
|
|
4911
|
+
A = "s", S ? (t = "=" + S.formula, S = null) : t = "" + n.getLabel(), P = "" + d.add(t), g++;
|
|
4912
|
+
} else P = "" + n.getLabel();
|
|
4902
4913
|
break;
|
|
4903
4914
|
case x.Number:
|
|
4904
|
-
|
|
4915
|
+
P = ot(n), A = null;
|
|
4905
4916
|
break;
|
|
4906
4917
|
case x.String:
|
|
4907
|
-
|
|
4918
|
+
P = n, S || M ? (A = "str", P = n) : (A = "s", P = "" + d.add(P), g++);
|
|
4908
4919
|
break;
|
|
4909
4920
|
case x.RichData:
|
|
4910
|
-
if (n instanceof
|
|
4911
|
-
S ||
|
|
4921
|
+
if (n instanceof I) {
|
|
4922
|
+
S || M ? (A = "str", P = n.getText()) : (A = "s", P = "" + d.add(function(t, e, n) {
|
|
4912
4923
|
const o = t.getRuns(), s = e.getCell().getRichText();
|
|
4913
4924
|
if (!s) return t.getText();
|
|
4914
4925
|
const r = new Array(o.length);
|
|
@@ -4925,21 +4936,21 @@ var Gi = [
|
|
|
4925
4936
|
}
|
|
4926
4937
|
const a = JSON.stringify(r);
|
|
4927
4938
|
let l = n.get(a);
|
|
4928
|
-
return void 0 === l && (l = new
|
|
4939
|
+
return void 0 === l && (l = new I(r), n.set(a, l)), l;
|
|
4929
4940
|
}(n, o, et)), g++);
|
|
4930
4941
|
break;
|
|
4931
4942
|
}
|
|
4932
|
-
if (n instanceof
|
|
4943
|
+
if (n instanceof L) {
|
|
4933
4944
|
const t = n.toPrimitive();
|
|
4934
|
-
"number" == typeof t ?
|
|
4945
|
+
"number" == typeof t ? P = ot(t) : "boolean" == typeof t ? (A = "b", P = t ? "1" : "0") : S || M ? (A = "str", P = t) : (A = "s", P = "" + d.add(t), g++);
|
|
4935
4946
|
break;
|
|
4936
4947
|
}
|
|
4937
|
-
|
|
4948
|
+
A = "e", P = w.BuiltIn.Value.getLabel(), R.vm = "" + p.add(n, S?.formula ?? (M ? "" : null));
|
|
4938
4949
|
}
|
|
4939
|
-
|
|
4940
|
-
const
|
|
4941
|
-
if (null !== S || null !==
|
|
4942
|
-
if (
|
|
4950
|
+
A && (R.t = A);
|
|
4951
|
+
const D = !S?.isWrapped && (null !== C || (S?.isDynamicRange ?? !1));
|
|
4952
|
+
if (null !== S || null !== P || null !== M) {
|
|
4953
|
+
if (D && null !== S && !k && (R.cm = "" + m.registerArrayCell(T)), e.start("c", R), S) {
|
|
4943
4954
|
const t = r === S.coords.rowStart && l === S.coords.colStart;
|
|
4944
4955
|
let n = S.formula;
|
|
4945
4956
|
S.memberImage && !t && (n = S.memberImage({
|
|
@@ -4949,21 +4960,21 @@ var Gi = [
|
|
|
4949
4960
|
let o, s = null;
|
|
4950
4961
|
const a = S.sharedId;
|
|
4951
4962
|
if (a) {
|
|
4952
|
-
o =
|
|
4963
|
+
o = Aa;
|
|
4953
4964
|
const t = S.coords;
|
|
4954
4965
|
t.colStart === l && t.rowStart === r ? (o.ref = S.ref, o.si = a, s = S.formula) : (o.ref = void 0, o.si = a);
|
|
4955
|
-
} else
|
|
4966
|
+
} else D ? (o = Da, o.aca = T ? "1" : void 0, o.ref = T ? R.r : C?.ref ?? R.r, s = n) : (o = Pa, s = n);
|
|
4956
4967
|
o.ca = b || T || S.isExcelVolatile ? "1" : void 0, s ? (e.start("f", o), e.text(s), e.end("f")) : e.empty("f", o);
|
|
4957
|
-
} else
|
|
4958
|
-
...
|
|
4968
|
+
} else M && e.empty("f", b ? {
|
|
4969
|
+
...M,
|
|
4959
4970
|
ca: "1"
|
|
4960
|
-
} :
|
|
4961
|
-
null !==
|
|
4962
|
-
} else y++ < aa ? e.empty("c",
|
|
4971
|
+
} : M);
|
|
4972
|
+
null !== P && ("str" === A && P ? (e.start("v", ke.test(P) ? Fe : void 0), e.text(ie(P))) : (e.start("v"), P && e.text(P)), e.end("v")), e.end("c");
|
|
4973
|
+
} else y++ < aa ? e.empty("c", R) : 1048577 === y && t.warn(`Reached ${aa} style-only cells at '${R.r}'; not writing the rest.`);
|
|
4963
4974
|
}, {
|
|
4964
4975
|
injectReferences: G,
|
|
4965
4976
|
features: []
|
|
4966
|
-
}), -1 !== V && V >=
|
|
4977
|
+
}), -1 !== V && V >= A ? e.end("row") : U(A, !0), e.end("sheetData"), e.setValidationDisabled(!1);
|
|
4967
4978
|
} else e.empty("sheetData");
|
|
4968
4979
|
if (g > 0) {
|
|
4969
4980
|
const t = c.get("stringsCount") ?? 0;
|
|
@@ -4976,7 +4987,7 @@ var Gi = [
|
|
|
4976
4987
|
for (let t = 0; t < n; t++) {
|
|
4977
4988
|
s[t] = null;
|
|
4978
4989
|
try {
|
|
4979
|
-
const n =
|
|
4990
|
+
const n = E.parse(e[t][1]);
|
|
4980
4991
|
if (!n) continue;
|
|
4981
4992
|
let r = null;
|
|
4982
4993
|
const a = (t) => {
|
|
@@ -5019,7 +5030,7 @@ var Gi = [
|
|
|
5019
5030
|
const n = s[e];
|
|
5020
5031
|
let o, r;
|
|
5021
5032
|
Array.isArray(n) ? (o = n[0], r = n[1]) : (o = n.r, r = n.v);
|
|
5022
|
-
const i =
|
|
5033
|
+
const i = ga(o);
|
|
5023
5034
|
if (!i || !r) {
|
|
5024
5035
|
t.log("Skipping protectedRange with no range.");
|
|
5025
5036
|
continue;
|
|
@@ -5048,7 +5059,7 @@ var Gi = [
|
|
|
5048
5059
|
if (s > 0) {
|
|
5049
5060
|
e.start("mergeCells", { count: s });
|
|
5050
5061
|
for (let t = 0; t < s; t++) {
|
|
5051
|
-
const n = o.merges[t], s = "string" == typeof n ? n :
|
|
5062
|
+
const n = o.merges[t], s = "string" == typeof n ? n : D.rangeToString(n);
|
|
5052
5063
|
e.empty("mergeCell", { ref: s });
|
|
5053
5064
|
}
|
|
5054
5065
|
e.end("mergeCells");
|
|
@@ -5066,26 +5077,26 @@ var Gi = [
|
|
|
5066
5077
|
const s = i[o];
|
|
5067
5078
|
let r, l;
|
|
5068
5079
|
Array.isArray(s) ? (r = s[0], l = s[1]) : (r = s.r, l = s.v);
|
|
5069
|
-
const c =
|
|
5080
|
+
const c = ga(r);
|
|
5070
5081
|
if (!c || !l) {
|
|
5071
5082
|
t.log("Skipping conditionalFormatting with no range.");
|
|
5072
5083
|
continue;
|
|
5073
5084
|
}
|
|
5074
|
-
const g =
|
|
5085
|
+
const g = wa(c), x = ba(l.scale, g, p);
|
|
5075
5086
|
x !== l.scale && (l = {
|
|
5076
5087
|
...l,
|
|
5077
5088
|
scale: x
|
|
5078
5089
|
});
|
|
5079
|
-
const y = x ? { type: x.type } : vt(l.condition,
|
|
5080
|
-
y ? (y.formulas && (y.formulas = y.formulas.map((t) =>
|
|
5090
|
+
const y = x ? { type: x.type } : vt(l.condition, ua(c), (e, n) => t.warn(e, void 0, n));
|
|
5091
|
+
y ? (y.formulas && (y.formulas = y.formulas.map((t) => Sa(t, g, p))), x?.type === M.ScaleType.IconSet && pa(x) ? (h++, u(l), a.push({
|
|
5081
5092
|
guid: Pt(n.uuidV4),
|
|
5082
5093
|
sqref: c,
|
|
5083
5094
|
priority: h,
|
|
5084
5095
|
scale: x
|
|
5085
|
-
})) : x || !
|
|
5096
|
+
})) : x || !va(y) ? (c !== f && (null !== f && e.end("conditionalFormatting"), e.start("conditionalFormatting", {
|
|
5086
5097
|
sqref: c,
|
|
5087
5098
|
pivot: "number" == typeof l.pivotKey ? "1" : void 0
|
|
5088
|
-
}), f = c), h++, u(l),
|
|
5099
|
+
}), f = c), h++, u(l), ha(t, e, m, l, y, c, h, d, a)) : (h++, u(l), a.push({
|
|
5089
5100
|
guid: Pt(n.uuidV4),
|
|
5090
5101
|
sqref: c,
|
|
5091
5102
|
priority: h,
|
|
@@ -5103,19 +5114,19 @@ var Gi = [
|
|
|
5103
5114
|
const n = a[e];
|
|
5104
5115
|
let o, i;
|
|
5105
5116
|
Array.isArray(n) ? (o = n[0], i = n[1]) : (o = n.r, i = n.v);
|
|
5106
|
-
const c =
|
|
5117
|
+
const c = ga(o);
|
|
5107
5118
|
if (!c || !i) {
|
|
5108
5119
|
t.log("Skipping dataValidation with no range.");
|
|
5109
5120
|
continue;
|
|
5110
5121
|
}
|
|
5111
5122
|
i.ext && t.warn("DataValidation extension payload is not written to xlsx; it will be lost.");
|
|
5112
|
-
const d = (e, n) => t.warn(e, void 0, n), m = Ct(i.condition, d), { type: p, operator: f } = m ?? {}, h =
|
|
5123
|
+
const d = (e, n) => t.warn(e, void 0, n), m = Ct(i.condition, d), { type: p, operator: f } = m ?? {}, h = wa(c), u = Sa(m?.formula1, h, r), g = Sa(m?.formula2, h, r), x = {
|
|
5113
5124
|
type: p,
|
|
5114
5125
|
operator: f,
|
|
5115
|
-
allowBlank:
|
|
5126
|
+
allowBlank: xa(i.condition?.includeBlanks ?? !1),
|
|
5116
5127
|
showDropDown: i.hideDropdown ? "1" : void 0,
|
|
5117
|
-
showInputMessage:
|
|
5118
|
-
showErrorMessage:
|
|
5128
|
+
showInputMessage: xa(i.showPromptMessage),
|
|
5129
|
+
showErrorMessage: xa(i.showAlertMessage),
|
|
5119
5130
|
errorStyle: i.alertStyle ?? "stop",
|
|
5120
5131
|
errorTitle: H(i.alertTitle, "errorTitle", d),
|
|
5121
5132
|
error: H(i.alert, "error", d),
|
|
@@ -5123,7 +5134,7 @@ var Gi = [
|
|
|
5123
5134
|
prompt: H(i.prompt, "prompt", d),
|
|
5124
5135
|
imeMode: i.imeMode
|
|
5125
5136
|
};
|
|
5126
|
-
|
|
5137
|
+
ya(u) || ya(g) ? s.push({
|
|
5127
5138
|
attrs: x,
|
|
5128
5139
|
formula1: u,
|
|
5129
5140
|
formula2: g,
|
|
@@ -5136,7 +5147,7 @@ var Gi = [
|
|
|
5136
5147
|
}
|
|
5137
5148
|
if (0 === l.length) return s;
|
|
5138
5149
|
e.start("dataValidations", {
|
|
5139
|
-
...
|
|
5150
|
+
...Ca(n),
|
|
5140
5151
|
count: l.length
|
|
5141
5152
|
});
|
|
5142
5153
|
for (let t = 0; t < l.length; t++) {
|
|
@@ -5197,19 +5208,19 @@ var Gi = [
|
|
|
5197
5208
|
e.start("headerFooter", t);
|
|
5198
5209
|
for (const t of n) {
|
|
5199
5210
|
const n = ie(d[t]);
|
|
5200
|
-
e.start(t,
|
|
5211
|
+
e.start(t, ke.test(n) ? Fe : void 0), e.text(n), e.end(t);
|
|
5201
5212
|
}
|
|
5202
5213
|
e.end("headerFooter");
|
|
5203
5214
|
}
|
|
5204
5215
|
}
|
|
5205
|
-
|
|
5216
|
+
Ta(e, "rowBreaks", n.rowBreaks), Ta(e, "colBreaks", n.columnBreaks);
|
|
5206
5217
|
}(e, s, a.pageLayout), function(t, e) {
|
|
5207
5218
|
if (!e?.length) return;
|
|
5208
5219
|
const n = /* @__PURE__ */ new Map();
|
|
5209
5220
|
for (const t of e) {
|
|
5210
5221
|
const e = Array.isArray(t) ? t[0] : t.r, o = Array.isArray(t) ? t[1] : t.v, s = q.filter((t) => o?.includes(t));
|
|
5211
5222
|
if (0 === s.length) continue;
|
|
5212
|
-
const r = "string" == typeof e ? e :
|
|
5223
|
+
const r = "string" == typeof e ? e : ga(e);
|
|
5213
5224
|
if (!r) continue;
|
|
5214
5225
|
const a = s.join(",");
|
|
5215
5226
|
let i = n.get(a);
|
|
@@ -5273,7 +5284,7 @@ var Gi = [
|
|
|
5273
5284
|
let o = Ve(n ?? "");
|
|
5274
5285
|
const s = [], r = e.comments;
|
|
5275
5286
|
for (let t = 0; t < r.length; t++) {
|
|
5276
|
-
const { comment: n, row: a, col: i } = r[t], l = n.isNote() ? n.toJSON() : null, { bounds: c, anchor: d } =
|
|
5287
|
+
const { comment: n, row: a, col: i } = r[t], l = n.isNote() ? n.toJSON() : null, { bounds: c, anchor: d } = Ia(e.sheet, n, a, i), m = l?.box, p = m?.fill || m?.stroke ? Ft(m.xml ?? G, {
|
|
5277
5288
|
fill: m.fill,
|
|
5278
5289
|
stroke: m.stroke
|
|
5279
5290
|
}, (t) => e.sheet.getStyles().parseColor(t)) : m?.xml;
|
|
@@ -5396,7 +5407,7 @@ var Gi = [
|
|
|
5396
5407
|
e.start("controlPr", ze(s)), e.start("anchor", {
|
|
5397
5408
|
moveWithCells: "absolute" === i ? void 0 : "1",
|
|
5398
5409
|
sizeWithCells: "twoCell" === i ? "1" : void 0
|
|
5399
|
-
}),
|
|
5410
|
+
}), Fa(e, "from", n.anchor.tl), Fa(e, "to", n.anchor.br), e.end("anchor"), s.xml && e.raw(s.xml), e.end("controlPr"), e.end("control"), e.end("mc:Choice"), e.end("mc:AlternateContent");
|
|
5400
5411
|
}
|
|
5401
5412
|
e.end("controls"), e.end("mc:Choice"), e.end("mc:AlternateContent");
|
|
5402
5413
|
}(e, s, l), function(t, e, n, o) {
|
|
@@ -5417,7 +5428,7 @@ var Gi = [
|
|
|
5417
5428
|
}
|
|
5418
5429
|
e.end("tableParts");
|
|
5419
5430
|
}(e, s, r, a), function(t, e, n, o, s) {
|
|
5420
|
-
const r =
|
|
5431
|
+
const r = kr(n), a = n.getSparklineGroups().getItems(), i = a.length > 0;
|
|
5421
5432
|
if (0 === o.length && 0 === s.length && 0 === r.length && !i) return;
|
|
5422
5433
|
const l = n.getStyles(), c = l.getTheme();
|
|
5423
5434
|
if (e.start("extLst"), o.length > 0) {
|
|
@@ -5427,24 +5438,22 @@ var Gi = [
|
|
|
5427
5438
|
}), e.start("x14:conditionalFormattings");
|
|
5428
5439
|
for (let n = 0; n < o.length; n++) {
|
|
5429
5440
|
const { guid: s, sqref: r, priority: a, scale: i, rule: d, style: m, stopIfTrue: p } = o[n];
|
|
5430
|
-
if (e.start("x14:conditionalFormatting", { "xmlns:xm": "http://schemas.microsoft.com/office/excel/2006/main" }), i) if (i.type ===
|
|
5441
|
+
if (e.start("x14:conditionalFormatting", { "xmlns:xm": "http://schemas.microsoft.com/office/excel/2006/main" }), i) if (i.type === M.ScaleType.DataBar) {
|
|
5431
5442
|
e.start("x14:cfRule", {
|
|
5432
5443
|
type: "dataBar",
|
|
5433
5444
|
id: s
|
|
5434
5445
|
}), e.start("x14:dataBar", {
|
|
5435
|
-
minLength: i.minLength,
|
|
5436
|
-
maxLength: i.maxLength,
|
|
5437
|
-
gradient: i.
|
|
5446
|
+
minLength: i.minLength ?? 0,
|
|
5447
|
+
maxLength: i.maxLength ?? 100,
|
|
5448
|
+
gradient: i.solidFill ? "0" : void 0,
|
|
5438
5449
|
border: i.borderColor ? "1" : void 0,
|
|
5439
5450
|
direction: i.direction,
|
|
5440
5451
|
negativeBarColorSameAsPositive: i.negativeFillColor ? "0" : "1",
|
|
5441
5452
|
negativeBarBorderColorSameAsPositive: i.negativeBorderColor ? "0" : void 0,
|
|
5442
5453
|
axisPosition: i.axisPosition
|
|
5443
5454
|
});
|
|
5444
|
-
const t = i
|
|
5445
|
-
|
|
5446
|
-
else for (let n = 0; n < t.length; n++) da(e, t[n]);
|
|
5447
|
-
i.borderColor && Ao(e, c, i.borderColor, "x14:borderColor"), i.negativeFillColor && Ao(e, c, i.negativeFillColor, "x14:negativeFillColor"), i.negativeBorderColor && Ao(e, c, i.negativeBorderColor, "x14:negativeBorderColor"), i.axisColor && Ao(e, c, i.axisColor, "x14:axisColor"), e.end("x14:dataBar"), e.end("x14:cfRule");
|
|
5455
|
+
const [t, n] = fa(i);
|
|
5456
|
+
da(e, t), da(e, n), i.borderColor && Ao(e, c, i.borderColor, "x14:borderColor"), i.negativeFillColor && Ao(e, c, i.negativeFillColor, "x14:negativeFillColor"), i.negativeBorderColor && Ao(e, c, i.negativeBorderColor, "x14:negativeBorderColor"), i.axisColor && Ao(e, c, i.axisColor, "x14:axisColor"), e.end("x14:dataBar"), e.end("x14:cfRule");
|
|
5448
5457
|
} else {
|
|
5449
5458
|
e.start("x14:cfRule", {
|
|
5450
5459
|
type: "iconSet",
|
|
@@ -5452,8 +5461,8 @@ var Gi = [
|
|
|
5452
5461
|
id: s
|
|
5453
5462
|
}), e.start("x14:iconSet", {
|
|
5454
5463
|
iconSet: i.iconSet,
|
|
5455
|
-
reverse:
|
|
5456
|
-
showValue:
|
|
5464
|
+
reverse: xa(i.reverse),
|
|
5465
|
+
showValue: xa(i.showValue),
|
|
5457
5466
|
custom: (i.icon?.length ?? 0) > 0 ? "1" : void 0
|
|
5458
5467
|
});
|
|
5459
5468
|
const t = i.stops ?? [];
|
|
@@ -5469,12 +5478,12 @@ var Gi = [
|
|
|
5469
5478
|
e.start("x14:cfRule", {
|
|
5470
5479
|
type: d.type,
|
|
5471
5480
|
priority: a,
|
|
5472
|
-
stopIfTrue:
|
|
5473
|
-
aboveAverage:
|
|
5474
|
-
equalAverage:
|
|
5481
|
+
stopIfTrue: xa(p),
|
|
5482
|
+
aboveAverage: xa(d.aboveAverage),
|
|
5483
|
+
equalAverage: xa(d.equalAverage),
|
|
5475
5484
|
stdDev: d.stdDev,
|
|
5476
|
-
bottom:
|
|
5477
|
-
percent:
|
|
5485
|
+
bottom: xa(d.bottom),
|
|
5486
|
+
percent: xa(d.percent),
|
|
5478
5487
|
rank: d.rank,
|
|
5479
5488
|
operator: d.operator,
|
|
5480
5489
|
text: d.text,
|
|
@@ -5495,7 +5504,7 @@ var Gi = [
|
|
|
5495
5504
|
"xmlns:x14": rn
|
|
5496
5505
|
}), e.start("x14:dataValidations", {
|
|
5497
5506
|
"xmlns:xm": it,
|
|
5498
|
-
...
|
|
5507
|
+
...Ca(n),
|
|
5499
5508
|
count: s.length
|
|
5500
5509
|
});
|
|
5501
5510
|
for (let t = 0; t < s.length; t++) {
|
|
@@ -5521,7 +5530,7 @@ var Gi = [
|
|
|
5521
5530
|
for (let e = 0; e < r.length; e++) {
|
|
5522
5531
|
const { group: o, sparklines: a } = r[e];
|
|
5523
5532
|
t.start("x14:sparklineGroup", qt(o));
|
|
5524
|
-
for (const e of
|
|
5533
|
+
for (const e of Tt) {
|
|
5525
5534
|
const s = o[e];
|
|
5526
5535
|
s && Ao(t, n, s, `x14:${e}`);
|
|
5527
5536
|
}
|
|
@@ -5535,7 +5544,7 @@ var Gi = [
|
|
|
5535
5544
|
const o = [], s = [], r = [];
|
|
5536
5545
|
for (let t = 0; t < n.slicers.length; t++) {
|
|
5537
5546
|
const e = n.slicers[t];
|
|
5538
|
-
(
|
|
5547
|
+
(Tr(e) ? r : Cr(e) ? o : s).push(e);
|
|
5539
5548
|
}
|
|
5540
5549
|
if (o.length > 0) {
|
|
5541
5550
|
const s = t.addPart("slicers", {
|
|
@@ -5629,13 +5638,13 @@ var Gi = [
|
|
|
5629
5638
|
const a = t.theme;
|
|
5630
5639
|
for (let t = 0; t < s; t++) {
|
|
5631
5640
|
const e = o[t];
|
|
5632
|
-
if (n.start("si"), e instanceof
|
|
5641
|
+
if (n.start("si"), e instanceof I) {
|
|
5633
5642
|
const t = e.getRuns();
|
|
5634
5643
|
for (let e = 0; e < t.length; e++) {
|
|
5635
5644
|
const o = t[e];
|
|
5636
|
-
n.start("r"), o.font && a && Yr(n, o.font, a),
|
|
5645
|
+
n.start("r"), o.font && a && Yr(n, o.font, a), La(n, o.text), n.end("r");
|
|
5637
5646
|
}
|
|
5638
|
-
} else
|
|
5647
|
+
} else La(n, e);
|
|
5639
5648
|
n.end("si");
|
|
5640
5649
|
}
|
|
5641
5650
|
n.end("sst"), n.close();
|
|
@@ -5663,7 +5672,7 @@ var Gi = [
|
|
|
5663
5672
|
e.end(o);
|
|
5664
5673
|
}
|
|
5665
5674
|
}(0, n, o, "clrScheme"), function(t, e, n, o) {
|
|
5666
|
-
n && (e.start(o, { name: n.getName() || "Office" }),
|
|
5675
|
+
n && (e.start(o, { name: n.getName() || "Office" }), Ja(e, n.getMajor() ?? {}, "Calibri Light", "majorFont"), Ja(e, n.getMinor() ?? {}, "Calibri", "minorFont"), e.end(o));
|
|
5667
5676
|
}(0, n, o.getFontScheme(), "fontScheme"), function(t, e, n, o, s) {
|
|
5668
5677
|
s?.formatSchemeXml ? e.raw(s.formatSchemeXml) : function(t, e, n, o, s) {
|
|
5669
5678
|
const r = { getTheme: () => o };
|
|
@@ -5679,13 +5688,13 @@ var Gi = [
|
|
|
5679
5688
|
}(t, e, "fmtScheme", o, o.getFormatScheme());
|
|
5680
5689
|
}(e, n, 0, o, s), n.end("themeElements"), function(t, e, n) {
|
|
5681
5690
|
const o = n.getObjectDefaults();
|
|
5682
|
-
if (!
|
|
5691
|
+
if (!Ka.some(([t]) => o[t])) return void e.empty("objectDefaults");
|
|
5683
5692
|
const s = { getTheme: () => n };
|
|
5684
5693
|
e.start("objectDefaults");
|
|
5685
|
-
for (const [r, a] of
|
|
5694
|
+
for (const [r, a] of Ka) {
|
|
5686
5695
|
const i = o[r];
|
|
5687
5696
|
if (!i) continue;
|
|
5688
|
-
e.start(a), e.start("spPr"), Go(t, s, i), e.end("spPr"),
|
|
5697
|
+
e.start(a), e.start("spPr"), Go(t, s, i), e.end("spPr"), qa(t, s, i.text);
|
|
5689
5698
|
const l = i.style;
|
|
5690
5699
|
if (l) {
|
|
5691
5700
|
const t = (t, o) => {
|
|
@@ -5705,7 +5714,7 @@ var Gi = [
|
|
|
5705
5714
|
}
|
|
5706
5715
|
const a = s?.family;
|
|
5707
5716
|
if (a) {
|
|
5708
|
-
n.start("extLst"), n.start("ext", { uri:
|
|
5717
|
+
n.start("extLst"), n.start("ext", { uri: kt });
|
|
5709
5718
|
const t = {
|
|
5710
5719
|
"xmlns:thm15": "http://schemas.microsoft.com/office/thememl/2012/main",
|
|
5711
5720
|
name: a.name,
|
|
@@ -5819,7 +5828,7 @@ var Gi = [
|
|
|
5819
5828
|
e.end("numFmts");
|
|
5820
5829
|
}
|
|
5821
5830
|
})(0, o, i), function(t, e, n, o) {
|
|
5822
|
-
const s = o.fonts, r = s.length, a = n.getTheme(), i =
|
|
5831
|
+
const s = o.fonts, r = s.length, a = n.getTheme(), i = b.getShared(), l = $e(s.map((t) => ({
|
|
5823
5832
|
...t,
|
|
5824
5833
|
family: ne(t.family, t.fallbacks, a, !0).name
|
|
5825
5834
|
}))).every((t) => gt(i, t));
|
|
@@ -5838,7 +5847,7 @@ var Gi = [
|
|
|
5838
5847
|
const s = o.borders, r = s.length;
|
|
5839
5848
|
e.start("borders", { count: String(r) });
|
|
5840
5849
|
const a = n.getTheme();
|
|
5841
|
-
for (const n of s)
|
|
5850
|
+
for (const n of s) Ts(t, e, n, a, !1);
|
|
5842
5851
|
e.end("borders");
|
|
5843
5852
|
}(e, o, r, i), function(t, e, o, s, r) {
|
|
5844
5853
|
const a = r.namedStyles, i = a.length;
|
|
@@ -5993,7 +6002,7 @@ var Gi = [
|
|
|
5993
6002
|
let r = 0;
|
|
5994
6003
|
for (let t = 0; t < o.length; t++) {
|
|
5995
6004
|
const e = r++;
|
|
5996
|
-
n.empty("bag", { type:
|
|
6005
|
+
n.empty("bag", { type: Ya[o[t].type] ?? o[t].type });
|
|
5997
6006
|
const a = r++;
|
|
5998
6007
|
n.start("bag", { type: "XFControls" }), n.start("bagId", { k: "CellControl" }), n.text(String(e)), n.end("bagId"), n.end("bag"), s.push(r++), n.start("bag", { type: "XFComplement" }), n.start("bagId", { k: "XFControls" }), n.text(String(a)), n.end("bagId"), n.end("bag");
|
|
5999
6008
|
}
|
|
@@ -6030,7 +6039,7 @@ var Gi = [
|
|
|
6030
6039
|
...t.model.getProperties().toJSON(),
|
|
6031
6040
|
lastModifiedDate: o
|
|
6032
6041
|
};
|
|
6033
|
-
for (const [t, e, o] of
|
|
6042
|
+
for (const [t, e, o] of Za) {
|
|
6034
6043
|
const r = s[e];
|
|
6035
6044
|
null != r && "" !== r && (n.start(t, o ? { "xsi:type": "dcterms:W3CDTF" } : void 0), n.text(String(r)), n.end(t));
|
|
6036
6045
|
}
|
|
@@ -6047,11 +6056,11 @@ var Gi = [
|
|
|
6047
6056
|
});
|
|
6048
6057
|
}
|
|
6049
6058
|
async emit(t, e) {
|
|
6050
|
-
const n = e.getXMLWriter(), o = t.model, s = (await
|
|
6059
|
+
const n = e.getXMLWriter(), o = t.model, s = (await C.getDetails()).getBuildVersion(), r = Et(s), a = o.getProperties();
|
|
6051
6060
|
n.setValidationDisabled(!0), n.decl(), n.start("Properties", {
|
|
6052
6061
|
xmlns: "http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",
|
|
6053
6062
|
"xmlns:vt": "http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"
|
|
6054
|
-
}),
|
|
6063
|
+
}), Qa(0, n, "Application", "SheetXL"), Qa(0, n, "DocSecurity", "0"), Qa(0, n, "ScaleCrop", "false"), ((t, e, n) => {
|
|
6055
6064
|
const o = [
|
|
6056
6065
|
{
|
|
6057
6066
|
heading: "Worksheets",
|
|
@@ -6075,13 +6084,13 @@ var Gi = [
|
|
|
6075
6084
|
chart: 2,
|
|
6076
6085
|
dialog: 3
|
|
6077
6086
|
};
|
|
6078
|
-
for (const t of n.getSheets({ visibility:
|
|
6087
|
+
for (const t of n.getSheets({ visibility: T.Visibility.Hidden })) o[s[t.getKind()] ?? 0].names.push(t.getName());
|
|
6079
6088
|
const r = n.getNames().getItems({ type: "formula" }).filter((t) => !!t.getRanges?.());
|
|
6080
6089
|
o.push({
|
|
6081
6090
|
heading: "Named Ranges",
|
|
6082
6091
|
names: r.map((t) => {
|
|
6083
6092
|
const e = t.getScope();
|
|
6084
|
-
return e ? `${
|
|
6093
|
+
return e ? `${D.sheetNameToString(e)}!${t.getName()}` : t.getName();
|
|
6085
6094
|
})
|
|
6086
6095
|
});
|
|
6087
6096
|
const a = o.filter((t, e) => 0 === e || t.names.length > 0);
|
|
@@ -6100,9 +6109,9 @@ var Gi = [
|
|
|
6100
6109
|
e.end("vt:vector"), e.end("TitlesOfParts");
|
|
6101
6110
|
})(e, n, o);
|
|
6102
6111
|
const i = a.getManager();
|
|
6103
|
-
i &&
|
|
6112
|
+
i && Qa(0, n, "Manager", i);
|
|
6104
6113
|
const l = a.getCompany();
|
|
6105
|
-
l &&
|
|
6114
|
+
l && Qa(0, n, "Company", l), Qa(0, n, "LinksUpToDate", "false"), Qa(0, n, "SharedDoc", "false"), Qa(0, n, "HyperlinksChanged", "false"), Qa(0, n, "AppVersion", r), n.end("Properties"), n.close();
|
|
6106
6115
|
}
|
|
6107
6116
|
}(),
|
|
6108
6117
|
new class extends bn {
|
|
@@ -6128,8 +6137,8 @@ var Gi = [
|
|
|
6128
6137
|
name: e
|
|
6129
6138
|
};
|
|
6130
6139
|
a && (i.linkTarget = a), n.start("property", i);
|
|
6131
|
-
const l =
|
|
6132
|
-
n.start(l), n.text(s === _.Type.Date ?
|
|
6140
|
+
const l = ti[s];
|
|
6141
|
+
n.start(l), n.text(s === _.Type.Date ? ei(r) : String(r)), n.end(l), n.end("property");
|
|
6133
6142
|
}
|
|
6134
6143
|
n.end("Properties"), n.close();
|
|
6135
6144
|
}
|
|
@@ -6150,11 +6159,11 @@ var Gi = [
|
|
|
6150
6159
|
const m = { xmlns: "http://schemas.openxmlformats.org/spreadsheetml/2006/main" };
|
|
6151
6160
|
if (o && (m["xmlns:xda"] = "http://schemas.microsoft.com/office/spreadsheetml/2017/dynamicarray"), s && (m["xmlns:xlrd"] = "http://schemas.microsoft.com/office/spreadsheetml/2017/richdata"), n.decl(), n.start("metadata", m), n.start("metadataTypes", { count: d }), o && n.empty("metadataType", {
|
|
6152
6161
|
name: "XLDAPR",
|
|
6153
|
-
...
|
|
6162
|
+
...ni,
|
|
6154
6163
|
cellMeta: "1"
|
|
6155
6164
|
}), s && n.empty("metadataType", {
|
|
6156
6165
|
name: "XLRICHVALUE",
|
|
6157
|
-
...
|
|
6166
|
+
...ni
|
|
6158
6167
|
}), n.end("metadataTypes"), o) {
|
|
6159
6168
|
n.start("futureMetadata", {
|
|
6160
6169
|
name: "XLDAPR",
|
|
@@ -6370,13 +6379,13 @@ var Gi = [
|
|
|
6370
6379
|
async emit(t, e) {
|
|
6371
6380
|
const n = e.getXMLWriter(), o = t.getArrays();
|
|
6372
6381
|
n.decl(), n.start("arrayData", {
|
|
6373
|
-
xmlns:
|
|
6382
|
+
xmlns: oi,
|
|
6374
6383
|
count: o.length
|
|
6375
6384
|
});
|
|
6376
6385
|
for (const t of o) n.start("a", {
|
|
6377
6386
|
r: t.rows,
|
|
6378
6387
|
c: t.columns > 1 ? t.columns : void 0
|
|
6379
|
-
}),
|
|
6388
|
+
}), si(n, t.items), n.end("a");
|
|
6380
6389
|
n.end("arrayData"), n.close();
|
|
6381
6390
|
}
|
|
6382
6391
|
}(),
|
|
@@ -6392,7 +6401,7 @@ var Gi = [
|
|
|
6392
6401
|
async emit(t, e) {
|
|
6393
6402
|
const n = e.getXMLWriter(), { structures: o } = t.getBags();
|
|
6394
6403
|
n.decl(), n.start("spbStructures", {
|
|
6395
|
-
xmlns:
|
|
6404
|
+
xmlns: oi,
|
|
6396
6405
|
count: o.length
|
|
6397
6406
|
});
|
|
6398
6407
|
for (const t of o) {
|
|
@@ -6417,9 +6426,9 @@ var Gi = [
|
|
|
6417
6426
|
}
|
|
6418
6427
|
async emit(t, e) {
|
|
6419
6428
|
const n = e.getXMLWriter(), { bags: o, arrays: s } = t.getBags();
|
|
6420
|
-
if (n.decl(), n.start("supportingPropertyBags", { xmlns:
|
|
6429
|
+
if (n.decl(), n.start("supportingPropertyBags", { xmlns: oi }), s.length > 0) {
|
|
6421
6430
|
n.start("spbArrays", { count: s.length });
|
|
6422
|
-
for (const t of s) n.start("a", { count: t.length }),
|
|
6431
|
+
for (const t of s) n.start("a", { count: t.length }), si(n, t), n.end("a");
|
|
6423
6432
|
n.end("spbArrays");
|
|
6424
6433
|
}
|
|
6425
6434
|
n.start("spbData", { count: o.length });
|
|
@@ -6443,7 +6452,7 @@ var Gi = [
|
|
|
6443
6452
|
async emit(t, e) {
|
|
6444
6453
|
const n = e.getXMLWriter(), o = t.getRichStyles();
|
|
6445
6454
|
n.decl(), n.start("richStyleSheet", {
|
|
6446
|
-
xmlns:
|
|
6455
|
+
xmlns: oi,
|
|
6447
6456
|
"xmlns:mc": "http://schemas.openxmlformats.org/markup-compatibility/2006",
|
|
6448
6457
|
"mc:Ignorable": "x",
|
|
6449
6458
|
"xmlns:x": "http://schemas.openxmlformats.org/spreadsheetml/2006/main"
|
|
@@ -6494,7 +6503,7 @@ var Gi = [
|
|
|
6494
6503
|
let i = 0;
|
|
6495
6504
|
const l = (t) => {
|
|
6496
6505
|
const e = t.content, n = We(e?.type) ? e.json?.shapeId : e?.json?.sourceId;
|
|
6497
|
-
if ("number" == typeof n && n > i && (i = n), "group" === e?.type) for (const e of
|
|
6506
|
+
if ("number" == typeof n && n > i && (i = n), "group" === e?.type) for (const e of hi(t)) l(e);
|
|
6498
6507
|
};
|
|
6499
6508
|
for (let t = 0; t < a; t++) l(r[t]);
|
|
6500
6509
|
const c = /* @__PURE__ */ new Map(), d = e.getSharedStates();
|
|
@@ -6510,11 +6519,11 @@ var Gi = [
|
|
|
6510
6519
|
} else t.add(n);
|
|
6511
6520
|
}
|
|
6512
6521
|
}
|
|
6513
|
-
const p =
|
|
6522
|
+
const p = _i(e, o), f = () => {
|
|
6514
6523
|
const t = (m.get(o) ?? 1) + 1;
|
|
6515
6524
|
return m.set(o, t), t;
|
|
6516
6525
|
}, h = (t) => {
|
|
6517
|
-
for (const e of
|
|
6526
|
+
for (const e of hi(t)) {
|
|
6518
6527
|
const t = e.content?.json?.sourceId, n = "number" == typeof t && !p.bySource.has(t), o = n ? t : f();
|
|
6519
6528
|
p.assigned.set(e, o), n && p.bySource.set(t, o), "group" === e.content?.type && h(e);
|
|
6520
6529
|
}
|
|
@@ -6524,40 +6533,40 @@ var Gi = [
|
|
|
6524
6533
|
let o = c.get(e) ?? ("number" == typeof n ? n : void 0);
|
|
6525
6534
|
void 0 === o && (o = f()), p.assigned.set(e, o), "number" != typeof n || p.bySource.has(n) || p.bySource.set(n, o), "group" === e.content?.type && h(e);
|
|
6526
6535
|
}
|
|
6527
|
-
for (let t = 0; t < a; t++) await
|
|
6536
|
+
for (let t = 0; t < a; t++) await gi(e, r[t]);
|
|
6528
6537
|
for (let t = 0; t < a; t++) {
|
|
6529
6538
|
const a = r[t], i = s[t], l = a.content?.type;
|
|
6530
|
-
if (We(l))
|
|
6539
|
+
if (We(l)) Wi(n, a);
|
|
6531
6540
|
else {
|
|
6532
6541
|
if ("slicer" === l) {
|
|
6533
6542
|
const t = i.getContent();
|
|
6534
6543
|
if (!t.getTable?.() && !Cr(t)) continue;
|
|
6535
6544
|
}
|
|
6536
|
-
switch (n.start("twoCellAnchor", { editAs: a.anchorType || "twoCell" }),
|
|
6545
|
+
switch (n.start("twoCellAnchor", { editAs: a.anchorType || "twoCell" }), Vi(n, "from", a.anchor.tl), Vi(n, "to", a.anchor.br), l) {
|
|
6537
6546
|
case "picture":
|
|
6538
|
-
await
|
|
6547
|
+
await xi(e, o, i, a, i.getBounds(), i.getContent().getResource());
|
|
6539
6548
|
break;
|
|
6540
6549
|
case "chart":
|
|
6541
|
-
await
|
|
6550
|
+
await vi(e, o, i, a);
|
|
6542
6551
|
break;
|
|
6543
6552
|
case "shape":
|
|
6544
|
-
await
|
|
6553
|
+
await Ci(e, o, i, a, i.getBounds());
|
|
6545
6554
|
break;
|
|
6546
6555
|
case "group":
|
|
6547
|
-
await
|
|
6556
|
+
await Si(e, o, i, a, i.getBounds());
|
|
6548
6557
|
break;
|
|
6549
6558
|
case "smartArt":
|
|
6550
|
-
await
|
|
6559
|
+
await Ti(e, o, i, a);
|
|
6551
6560
|
break;
|
|
6552
6561
|
case "slicer":
|
|
6553
|
-
await
|
|
6562
|
+
await Fi(e, o, i, a);
|
|
6554
6563
|
break;
|
|
6555
6564
|
case "graphicFrame":
|
|
6556
|
-
await
|
|
6565
|
+
await Mi(e, o, i, a);
|
|
6557
6566
|
break;
|
|
6558
|
-
default: await
|
|
6567
|
+
default: await Pi(e, o, a, i.getBounds());
|
|
6559
6568
|
}
|
|
6560
|
-
|
|
6569
|
+
fi(n, a), n.end("twoCellAnchor");
|
|
6561
6570
|
}
|
|
6562
6571
|
}
|
|
6563
6572
|
n.end("wsDr"), n.close();
|
|
@@ -6579,7 +6588,7 @@ var Gi = [
|
|
|
6579
6588
|
for (let r = 0; r < o; r++) {
|
|
6580
6589
|
const o = n[r], a = s?.get(o.resId);
|
|
6581
6590
|
if (a) try {
|
|
6582
|
-
await
|
|
6591
|
+
await zi(e, o.id, a);
|
|
6583
6592
|
} catch (t) {
|
|
6584
6593
|
e.log(`Unable to write legacy drawing image '${o.id}'`, t);
|
|
6585
6594
|
}
|
|
@@ -6702,11 +6711,11 @@ var Gi = [
|
|
|
6702
6711
|
for (let t = 0; t < o.length; t++) {
|
|
6703
6712
|
const { comment: e, ref: s } = o[t];
|
|
6704
6713
|
if (e.isNote()) continue;
|
|
6705
|
-
|
|
6714
|
+
Xi(n, s, e.getId(), e.getAuthor()?.getId(), e.getCreationDate(), e.getContent(), null, e.isResolved(), e.toJSON()?.mentions);
|
|
6706
6715
|
const r = e.getReplies();
|
|
6707
6716
|
for (let t = 0; t < r.length; t++) {
|
|
6708
6717
|
const o = r[t];
|
|
6709
|
-
|
|
6718
|
+
Xi(n, s, o.getId(), o.getAuthor()?.getId(), o.getCreationDate(), o.getContent(), e.getId(), !1, o.toJSON().mentions);
|
|
6710
6719
|
}
|
|
6711
6720
|
}
|
|
6712
6721
|
n.end("ThreadedComments"), n.close();
|
|
@@ -6732,7 +6741,7 @@ var Gi = [
|
|
|
6732
6741
|
const e = o[t];
|
|
6733
6742
|
n.empty("person", {
|
|
6734
6743
|
displayName: e.getDisplayName(),
|
|
6735
|
-
id:
|
|
6744
|
+
id: Hi(e.getId()),
|
|
6736
6745
|
userId: e.getUserId() ?? e.getDisplayName(),
|
|
6737
6746
|
providerId: e.getProviderId() ?? "None"
|
|
6738
6747
|
});
|
|
@@ -7013,7 +7022,7 @@ var Gi = [
|
|
|
7013
7022
|
const s = o.length;
|
|
7014
7023
|
for (let e = 0; e < s; e++) {
|
|
7015
7024
|
const [s, r] = o[e], a = r.length;
|
|
7016
|
-
for (let e = 0; e < a; e++)
|
|
7025
|
+
for (let e = 0; e < a; e++) Gi(t, n, s + e, r.at(e));
|
|
7017
7026
|
}
|
|
7018
7027
|
t.end("row");
|
|
7019
7028
|
}
|
|
@@ -7025,20 +7034,20 @@ var Gi = [
|
|
|
7025
7034
|
}(n, t), n.end("externalBook"), n.end("externalLink"), n.close();
|
|
7026
7035
|
}
|
|
7027
7036
|
}()
|
|
7028
|
-
],
|
|
7037
|
+
], Ji = "SheetXL Evaluation", Ki = "xl/worksheets/sheetSheetXLEvaluation.xml", Yi = "rIdSheetXLEvaluation", Zi = [
|
|
7029
7038
|
"This workbook was exported from an unlicensed evaluation of SheetXL.",
|
|
7030
7039
|
"Your own sheets follow this one, unchanged.",
|
|
7031
7040
|
"To license SheetXL, visit https://www.sheetxl.com"
|
|
7032
|
-
],
|
|
7041
|
+
], Qi = (t) => {
|
|
7033
7042
|
const e = [...t.matchAll(/<sheet\b[^>]*\bsheetId="(\d+)"/g)].map((t) => parseInt(t[1], 10)), n = new Set([...t.matchAll(/<sheet\b[^>]*\bname="([^"]*)"/g)].map((t) => t[1].toLowerCase()));
|
|
7034
|
-
let o =
|
|
7035
|
-
for (let t = 2; n.has(o.toLowerCase()); t++) o = `${
|
|
7036
|
-
const s = `<sheet name="${o}" sheetId="${Math.max(0, ...e) + 1}" r:id="${
|
|
7043
|
+
let o = Ji;
|
|
7044
|
+
for (let t = 2; n.has(o.toLowerCase()); t++) o = `${Ji} (${t})`;
|
|
7045
|
+
const s = `<sheet name="${o}" sheetId="${Math.max(0, ...e) + 1}" r:id="${Yi}"/>`;
|
|
7037
7046
|
return t.replace(/<sheets>/, `<sheets>${s}`).replace(/\blocalSheetId="(\d+)"/g, (t, e) => `localSheetId="${parseInt(e, 10) + 1}"`).replace(/<workbookView\b([^>]*?)(\/?)>/, (t, e, n) => {
|
|
7038
7047
|
const o = /\bactiveTab="(\d+)"/.exec(e);
|
|
7039
7048
|
return `<workbookView${(o ? e.replace(/\bactiveTab="\d+"/, `activeTab="${parseInt(o[1], 10) + 1}"`) : `${e} activeTab="1"`).replace(/\s*\bfirstTab="\d+"/, "")}${n}>`;
|
|
7040
7049
|
});
|
|
7041
|
-
},
|
|
7050
|
+
}, tl = (t) => {
|
|
7042
7051
|
const e = t.getPart("xl/_rels/workbook.xml.rels");
|
|
7043
7052
|
if (!e) return null;
|
|
7044
7053
|
const n = /* @__PURE__ */ new Map();
|
|
@@ -7052,19 +7061,19 @@ var Gi = [
|
|
|
7052
7061
|
});
|
|
7053
7062
|
}
|
|
7054
7063
|
return n;
|
|
7055
|
-
},
|
|
7064
|
+
}, el = (t) => {
|
|
7056
7065
|
const e = t.getPart("xl/workbook.xml");
|
|
7057
7066
|
return e ? new TextDecoder("utf-8").decode(e.data) : null;
|
|
7058
|
-
},
|
|
7059
|
-
const e =
|
|
7067
|
+
}, nl = (t) => {
|
|
7068
|
+
const e = ol.get(t);
|
|
7060
7069
|
if (void 0 !== e) return e;
|
|
7061
7070
|
const n = t.getPart("xl/workbook.xml"), o = n ? new TextDecoder("utf-8").decode(n.data) : null;
|
|
7062
|
-
return
|
|
7063
|
-
},
|
|
7064
|
-
await
|
|
7071
|
+
return ol.set(t, o), o;
|
|
7072
|
+
}, ol = /* @__PURE__ */ new WeakMap(), sl = async (t, e) => {
|
|
7073
|
+
await E.load();
|
|
7065
7074
|
const n = new Kn();
|
|
7066
|
-
for (const t of
|
|
7067
|
-
const o =
|
|
7075
|
+
for (const t of qi) n.register(t);
|
|
7076
|
+
const o = rl, s = Cn.createUint8Array({
|
|
7068
7077
|
lastModDate: new Date(1899, 11, 29, 19, 0, 0),
|
|
7069
7078
|
level: o
|
|
7070
7079
|
}), r = $.includes(e?.format) ? de(t) : null, a = /* @__PURE__ */ new Map(), i = r ? ((t) => {
|
|
@@ -7078,18 +7087,18 @@ var Gi = [
|
|
|
7078
7087
|
})(r) : null;
|
|
7079
7088
|
i && (e?.macroEnabled || delete i.codeName, a.set(Er, i));
|
|
7080
7089
|
const l = r ? ((t) => {
|
|
7081
|
-
const e =
|
|
7090
|
+
const e = nl(t)?.match(/<calcPr\b[^>]*?\bcalcId="([^"]*)"/);
|
|
7082
7091
|
return e ? e[1] : null;
|
|
7083
7092
|
})(r) : null;
|
|
7084
7093
|
null !== l && a.set("calcId", l);
|
|
7085
7094
|
const c = r ? ((t) => {
|
|
7086
|
-
const e =
|
|
7095
|
+
const e = nl(t);
|
|
7087
7096
|
if (!e) return null;
|
|
7088
7097
|
const n = e.lastIndexOf("<extLst>");
|
|
7089
7098
|
if (-1 === n) return null;
|
|
7090
7099
|
const o = e.indexOf("</extLst>", n);
|
|
7091
7100
|
if (-1 === o || !/^<\/extLst>\s*<\/workbook>/.test(e.slice(o))) return null;
|
|
7092
|
-
const s = e.slice(n + 8, o), r =
|
|
7101
|
+
const s = e.slice(n + 8, o), r = tl(t), a = [];
|
|
7093
7102
|
for (const t of ((t) => {
|
|
7094
7103
|
const e = [], n = /<(\/?)ext(?=[\s/>])[^>]*?(\/?)>/g;
|
|
7095
7104
|
let o = 0, s = 0;
|
|
@@ -7117,13 +7126,13 @@ var Gi = [
|
|
|
7117
7126
|
})(r) : null;
|
|
7118
7127
|
null !== c && a.set("workbookExts", c);
|
|
7119
7128
|
const d = r ? ((t) => {
|
|
7120
|
-
const e =
|
|
7129
|
+
const e = el(t);
|
|
7121
7130
|
if (!e) return null;
|
|
7122
7131
|
const n = /<externalReferences\b[^>]*>([\s\S]*?)<\/externalReferences>/.exec(e);
|
|
7123
7132
|
if (!n) return null;
|
|
7124
7133
|
const o = [...n[1].matchAll(/<externalReference\b[^>]*\sr:id="([^"]*)"/g)].map((t) => t[1]);
|
|
7125
7134
|
if (0 === o.length) return null;
|
|
7126
|
-
const s =
|
|
7135
|
+
const s = tl(t);
|
|
7127
7136
|
return s ? o.map((t) => {
|
|
7128
7137
|
const e = s.get(t);
|
|
7129
7138
|
return e && !e.external ? e.target : null;
|
|
@@ -7131,7 +7140,7 @@ var Gi = [
|
|
|
7131
7140
|
})(r) : null;
|
|
7132
7141
|
d && a.set(Lr, d);
|
|
7133
7142
|
const m = r ? ((t) => {
|
|
7134
|
-
const e =
|
|
7143
|
+
const e = el(t), n = e ? tl(t) : null;
|
|
7135
7144
|
if (!e || !n) return null;
|
|
7136
7145
|
const o = /* @__PURE__ */ new Map();
|
|
7137
7146
|
for (const t of e.matchAll(/<sheet\b([^>]*)\/?>/g)) {
|
|
@@ -7160,22 +7169,22 @@ var Gi = [
|
|
|
7160
7169
|
});
|
|
7161
7170
|
f.addPart("workbook", t, "/xl/workbook.xml"), await f.waitEmit(), f.addPart("propsCore", { model: t }), f.addPart("propsApp", { model: t }), t.getProperties().getCustom().length > 0 && f.addPart("propsCustom", { model: t });
|
|
7162
7171
|
let h = await f.build();
|
|
7163
|
-
await
|
|
7172
|
+
await C.isWatermarked() && (h = await (async (t) => {
|
|
7164
7173
|
const e = new B(new z(t)), n = new j(), o = new je(n, { lastModDate: new Date(1899, 11, 29, 19, 0, 0) });
|
|
7165
7174
|
try {
|
|
7166
7175
|
for (const t of await e.getEntries()) {
|
|
7167
7176
|
if (t.directory || !("getData" in t)) continue;
|
|
7168
7177
|
const e = t.filename;
|
|
7169
|
-
if ("xl/workbook.xml" === e) await o.add(e, new z(new TextEncoder().encode(
|
|
7178
|
+
if ("xl/workbook.xml" === e) await o.add(e, new z(new TextEncoder().encode(Qi(await t.getData(new O())))));
|
|
7170
7179
|
else if ("xl/_rels/workbook.xml.rels" === e) {
|
|
7171
|
-
const n = await t.getData(new O()), s = `<Relationship Id="${
|
|
7180
|
+
const n = await t.getData(new O()), s = `<Relationship Id="${Yi}" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" Target="${Ki.slice(3)}"/>`;
|
|
7172
7181
|
await o.add(e, new z(new TextEncoder().encode(n.replace("</Relationships>", `${s}</Relationships>`))));
|
|
7173
7182
|
} else if ("[Content_Types].xml" === e) {
|
|
7174
|
-
const n = await t.getData(new O()), s = `<Override PartName="/${
|
|
7183
|
+
const n = await t.getData(new O()), s = `<Override PartName="/${Ki}" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/>`;
|
|
7175
7184
|
await o.add(e, new z(new TextEncoder().encode(n.replace("</Types>", `${s}</Types>`))));
|
|
7176
7185
|
} else await o.add(e, new z(await t.getData(new j())));
|
|
7177
7186
|
}
|
|
7178
|
-
return await o.add(
|
|
7187
|
+
return await o.add(Ki, new z(new TextEncoder().encode(`<?xml version="1.0" encoding="UTF-8" standalone="yes"?><worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"><sheetViews><sheetView workbookViewId="0"/></sheetViews><cols><col min="1" max="1" width="80" customWidth="1"/></cols><sheetData>${Zi.map((t, e) => `<row r="${e + 1}"><c r="A${e + 1}" t="inlineStr"><is><t>${t}</t></is></c></row>`).join("")}</sheetData></worksheet>`))), await o.close(), await n.getData();
|
|
7179
7188
|
} finally {
|
|
7180
7189
|
await e.close();
|
|
7181
7190
|
}
|
|
@@ -7189,5 +7198,5 @@ var Gi = [
|
|
|
7189
7198
|
}
|
|
7190
7199
|
}
|
|
7191
7200
|
return 0 === h.byteOffset && h.byteLength === h.buffer.byteLength ? h.buffer : h.slice().buffer;
|
|
7192
|
-
},
|
|
7193
|
-
export {
|
|
7201
|
+
}, rl = 1;
|
|
7202
|
+
export { sl as writeXLSX };
|