@sheetxl/mcp 0.8.0-beta.14 → 0.8.0-beta.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +8 -7
- package/assets/{DnmjS548g7nY6EUS.js → -PtBguqpLi7Nr4Df.js} +2 -2
- package/assets/{hRLLK6I6m0uGKWo8.js → 2GLqCzpAJP6jbaRx.js} +12 -12
- package/assets/{DPazQ_nZv-sXUwO3.js → 3_NofB4A4Qhl-4YY.js} +2 -2
- package/assets/{BOcWUnxWSG1d5Ljc.js → 3t-I20nDzFHBd5UJ.js} +2 -2
- package/assets/{B9QlqO6n3MCBsvoj.js → 4vS8pASPZSU7QcRZ.js} +4 -4
- package/assets/{DTlvhtB9hvPdbdxu.js → 5B_tapYOcjOv1wGO.js} +35382 -29921
- package/assets/{Dg7xy50qHwqkYd4g.js → 8NrxfSWBHDaEJvhz.js} +2 -2
- package/assets/{KpCEdfpsHnfkyqjx.js → 9MXt8KXdWlbEJNc2.js} +2 -2
- package/assets/{DuZ6DXQGttY3Lrhd.js → AjWB-QdIkr07kToW.js} +189 -189
- package/assets/{Du_JrYiYGJo5_B9H.js → B16N6VSLY5HPgVkD.js} +2 -2
- package/assets/{PmooYGqWqoTxPExF.js → B2YEEPHIkNcezk9T.js} +3 -3
- package/assets/{CDGeuGB9CBXeCIm6.js → B3MqN3t5naY3moOk.js} +2 -2
- package/assets/{DZZ5R3msiytVNCqK.js → BBPjYcS8XKQREith.js} +49 -49
- package/assets/{CHHJZPAuM3OjbzF6.js → BCSRsSAEPlwR59H5.js} +5 -5
- package/assets/{GnXTzeDYWWeEf5yV.js → BIUUGUhypimIDg2a.js} +2 -2
- package/assets/{B-1_xSqUFCJ6jNjn.js → BNrpvJZtIL0Ex_wE.js} +996 -995
- package/assets/{BW8XjynUqlfvuQUV.js → BR66nPIzyzlOcP10.js} +2 -2
- package/assets/{BmxgDCZk_aMDms4i.js → BRLA4pJWiYdpW-69.js} +75 -75
- package/assets/{BiAEoWSl8c6jcUnS.js → BUAq-ENCmL0XGLIu.js} +2 -2
- package/assets/{DoIU_ohoCBwTZV9G.js → BYqyNLuwXl7GKuzh.js} +43 -41
- package/assets/{zu-72oKE_gCkrozc.js → BZbxPclVVopktv3l.js} +2 -2
- package/assets/{OU7gC5JF-lyDOOid.js → B_nQLUWaxp-Q1IfV.js} +3 -3
- package/assets/{yNiBIhsMP9BCWd67.js → BbDKWV_FQAICqZjP.js} +2 -2
- package/assets/{CH9M37mRwnS0t9wM.js → BbXlmp8W_cbr75FN.js} +6 -6
- package/assets/{PRSerWiAGYu8MVnd.js → BdMebk9YSA0oxQ_d.js} +78 -78
- package/assets/{BwisWvPpXRhyIP4O.js → Bdt9nQs8gDIzu_IG.js} +2 -2
- package/assets/{CVFTQ0OwsUt03r4o.js → BiE9M6RctwQ339_7.js} +2 -2
- package/assets/{UX2ywz3gr7q-MlHr.js → BiGm1tKvxUh8oWbD.js} +2 -2
- package/assets/{CgjR_TiVOcuxg5tO.js → BjDsx_FHl0mShqHX.js} +2 -2
- package/assets/{CXM1IYmE-TDInPwr.js → BlIrJwQGEASCgJdZ.js} +2 -2
- package/assets/{C55MTJ_5qW94RElE.js → BlWfQ5HPEehB_lPz.js} +3298 -2140
- package/assets/BpgPKKZwxXklRyo7.js +7 -0
- package/assets/{DUzaW_op2vBTwOOI.js → BrtLeTsrulaU6osB.js} +2 -2
- package/assets/{Cm3Q_-DDdnVHRBxr.js → BsFWmVYPrLyh5Dre.js} +34 -34
- package/assets/{BMnNvUCJu35tT_aO.js → BtNRIFE92ka4hATo.js} +2 -2
- package/assets/{BOF64A2D2KKcv_fo.js → BuhHuKVWppW4L8AV.js} +2 -2
- package/assets/{Dl87mJoXDkCkzBi7.js → C-AIgWmHugqMcl9J.js} +3 -3
- package/assets/{DihigEGfNCLR8UPN.js → C-gN7uBg-MWHRo4g.js} +2 -2
- package/assets/{B6b9ytNrHR-ijcOa.js → C0JSC9gVwR1QxopD.js} +2 -2
- package/assets/{ThqyayHHaBxzfaAt.js → C2dG4GHThf9O-IJy.js} +2 -2
- package/assets/{CjwzOAnab_dpAqiG.js → C3Wibs7QGFZ1FI7W.js} +2 -2
- package/assets/{w8YWSMNTTn45ImnB.js → C75i_5ip7OhGkuiF.js} +2 -2
- package/assets/{CpOhY88x6AgVxvTz.js → C95HXhZkkhnUx_aE.js} +3 -3
- package/assets/{CeDqeFLuUfN8UIGx.js → CAEhAL7-0FG7jdzN.js} +2 -2
- package/assets/{CtpcYuBFU6fxsUhs.js → CAMrW5ypKhgn105y.js} +2 -2
- package/assets/{2zIY9Xuml4y8NI05.js → CBPkPTmeaEokFPSI.js} +2 -2
- package/assets/{DZRp3_yqPS6Lshho.js → CDqG64rXHp9-2tXr.js} +2 -2
- package/assets/{CcLPa6zB5PH3OG2O.js → CFdJvXLSbUrvNera.js} +2435 -2447
- package/assets/{mcFLzsOH35mvmd3C.js → CG8zvnxueimOY7wm.js} +2 -2
- package/assets/{B9qiPx_BXxo1jgcx.js → CIqJdIUKSLZkNwHy.js} +353 -243
- package/assets/{BoTScfjgygCozDVi.js → CJa8JVvKGVBz8Q7q.js} +3 -3
- package/assets/{Dfd7kvLIFNqu-m-r.js → CK9h6iDOreaI8GEt.js} +4 -4
- package/assets/CL1-ziDI0aAaVbhJ.js +7 -0
- package/assets/{DBFXsbIHDxbMBrzV.js → CVRc6jQcH155Z89u.js} +2 -2
- package/assets/{a7BoASyT8yQZY9hJ.js → CVbRpT7QPHOMgwTx.js} +2 -2
- package/assets/CW-ivE6pl3V7vKuT.js +2563 -0
- package/assets/{D2w3KjYuONW1G1kX.js → CX-6eYkcr5y0VmQm.js} +4 -4
- package/assets/{DSSrCrejjpWoszj7.js → CZepo1lDTQp1myg6.js} +2 -2
- package/assets/{DkPXpv81Y5teMd-R.js → C_0RM0w6Pw70Bx_Y.js} +2 -2
- package/assets/{aqguaobnu61szXWM.js → Ci7-PIIhZwb2mVv5.js} +2 -2
- package/assets/{eHAVGCUcMAfNjEGt.js → Cl98sBOj9GM2XnFe.js} +3 -3
- package/assets/{BNfBq8Eic3Cl-f6A.js → CoIjAX2gECGb3Wxl.js} +2 -2
- package/assets/{ZTEO4JX22YIOkrJg.js → Co_y6GfwJTYtOmlt.js} +8 -8
- package/assets/{DkFK1iu4vqjLZMja.js → CrwtgrD7BbXyCkx0.js} +2 -2
- package/assets/{DCHsM8bfVisYJFTT.js → CsjjeeOHE2624pGt.js} +2 -2
- package/assets/Ct5VTtdW77k-WcP_.js +529 -0
- package/assets/{BXC6616BWEWNZ2-D.js → CvJkwRgwm80S2bcd.js} +2 -2
- package/assets/{C2Rgsb69SnMOohGt.js → D-irgQZ2WmkP9dnK.js} +2 -2
- package/assets/{D94hlZEaHtGHdN_K.js → D1g6IOzdvInVLV-x.js} +7 -7
- package/assets/{BYtBi8vLoB41QkV8.js → D2YdqNWXwSHJMPbA.js} +109 -109
- package/assets/{CBNNl8igIyeHY4St.js → D3bxrF1Ys2GSVfQH.js} +25 -19
- package/assets/{st-UQngeBG4hwKoy.js → D7iU4kaxzl_PojNt.js} +2 -2
- package/assets/{B-jE7tAMA559MtNt.js → D7ibkNIu_Pn4TeBD.js} +4 -4
- package/assets/DBANZf_eAzaCFdIj.js +4676 -0
- package/assets/{BWsXOU_jh_cA8m8I.js → DBMZF6PRHCko9K9R.js} +2 -2
- package/assets/{CwJyw5Yxpj4PGh14.js → DEIkGoOZ_WeuY0Lj.js} +2 -2
- package/assets/{HKLw8b2xTdu5c1w5.js → DFAqI-o57Kd_Azlt.js} +2 -2
- package/assets/{EeSGsbh_r4N-qs4w.js → DFn_thWGK0_EZI5k.js} +2 -2
- package/assets/{DvD_K4M5HgJ4uJ8L.js → DFvs1LVzXKm1N5M2.js} +3 -3
- package/assets/{Df2IAW-O7Gwl7V1l.js → DJdRl2yX9DP_D8kh.js} +3 -3
- package/assets/{D3BAmD-1AfFtHdC6.js → DKRa_Oc4XqB3DABB.js} +9 -9
- package/assets/{Doqy_uDSQTCv6a6X.js → DLhlBqwsDnmscAuL.js} +2 -2
- package/assets/{DpGuA6U12gwyGHEM.js → DMhtIFfkX-DZT_e3.js} +4 -4
- package/assets/{cdIvC9t9tYtVn4nc.js → DNhfziNrJGdL8BYs.js} +82 -81
- package/assets/{BDZ1FGc1zFqO1nK7.js → DOZ40EyxD3m0gCos.js} +810 -495
- package/assets/{BkBCkgPNrFR5N9fo.js → DQcus4X_kTKIIyX6.js} +2 -2
- package/assets/{ByziR0Anm39Bw0Bc.js → DR9xHYH6v5G0lOqf.js} +4 -4
- package/assets/{C-5LlJ5qhC7Ef0gV.js → DTLbKr_XIJMwQJmk.js} +52 -52
- package/assets/{8vRAQlvTcvMLeio0.js → DaILIYfy-jPVTXjz.js} +3 -3
- package/assets/{B66aeGYrHLbGpuN9.js → Dd8CHUZz7xuYTfp-.js} +1443 -1355
- package/assets/{B5xHa5bjZu5ONrm5.js → DdrsYdX3bLixdb_9.js} +2 -2
- package/assets/DfWWAHOjmhqvN3m_.js +7166 -0
- package/assets/{DIy1659Yv5-fD69E.js → DfzLOnWTNL_2J90y.js} +2 -2
- package/assets/{CfiVUfpeONJ3rf31.js → Dg4JXbd1yPGNZOtL.js} +2 -2
- package/assets/Di4ehJD7muvtcrN3.js +169 -0
- package/assets/{CPDkdp0yI4DwUHGZ.js → DmLbqbAez7Dzwyl7.js} +2 -2
- package/assets/{CMTDUipnLiOj5pbe.js → Dp-dLoOaBndV2N5i.js} +3 -3
- package/assets/DsTi7zHk_Xl37bAD.js +14 -0
- package/assets/{9dbZwzIWefGss7is.js → DvFwVzuc5YfagNnH.js} +2 -2
- package/assets/{D81iH5MJJfq2t9FP.js → Dy67BUF2yd8VRPwL.js} +2 -2
- package/assets/{C-CNmTrzNS-ZlQ8j.js → DzkccbbE6iXMqQDO.js} +410 -406
- package/assets/{DWTpPijG5yeNFR0W.js → Gqh12ggLm5KlvN3v.js} +2 -2
- package/assets/{ZBYHyJs7CQgnnHfR.js → JC8UUcu6m23qqrr3.js} +3 -4
- package/assets/{B9w1dNK8pNq-Z1P3.js → LwFDS0HxPZKiiEnN.js} +2 -2
- package/assets/{QXKcNTuZqOauSidr.js → POdlv6cpSx6ftJxx.js} +2 -2
- package/assets/{DK0VM9-qrEXBm8Ud.js → QVWayvB03YMyTKt3.js} +3 -3
- package/assets/{C1rIlmARlinuie5E.js → SB2aKOIVln0EkgXR.js} +2 -2
- package/assets/SaCo3me4_hw2b1L4.js +2039 -0
- package/assets/{BFwNQZVRnbNt-gRJ.js → TNQaiw20sEAEUiK5.js} +386 -372
- package/assets/{CutEBbZl8oFbTlXZ.js → W2FU69Pfo4chpqtk.js} +2 -2
- package/assets/{ddJqSu7gXUkXjGxZ.js → YXC__Myl-BuIFW6s.js} +2 -2
- package/assets/{B_-VPqfsse8AlCTm.js → Z01wJImjl6lBMpf4.js} +2 -2
- package/assets/{C1w8NQeox7_92swz.js → h6EQSu5n2vTsu2yd.js} +2 -2
- package/assets/{TzsPqmpG77I4ewVt.js → iULnLPcNKVpz00r7.js} +2 -2
- package/assets/{cv7k-VAIJtYeL9k4.js → iqQWGoJaPha0_8lU.js} +2 -2
- package/assets/{DUUt1z6Y_cpxEpYY.js → nDmE2I07HvkpRdR0.js} +2 -2
- package/assets/{9MRZ5Yc2RBgcqZSp.js → nmB0nnkFQf5NWo0i.js} +3 -3
- package/assets/{33QTHR3r6ZujxFx8.js → pQUJKbHGetb7dcOr.js} +2 -2
- package/assets/{DUYoUViqY5U6uQX3.js → rfwqMukKbJBeJBuC.js} +3 -3
- package/assets/{CULV-2mwmqYYpAjM.js → soSlr334Fv1j5t2m.js} +2 -2
- package/index.js +2013 -1947
- package/lib.js +2 -2
- package/licenses/dependencies.txt +281 -216
- package/package.json +4 -9
- package/resources/locales/@sheetxl/sdk/de/model.msg.json +82 -1
- package/resources/locales/@sheetxl/sdk/en/model.msg.json +80 -1
- package/screenshot-page/assets/{CSUd8n1H0VBfREnk.js → -N4OYIMgf6f5vgNy.js} +1 -1
- package/screenshot-page/assets/{B4PbXdzBe9BsoZ0e.js → B7eQ3rE-7Vayb_4O.js} +1 -1
- package/screenshot-page/assets/B8i4Sr2kMQAXp0rb.js +4 -0
- package/screenshot-page/assets/{DQWHkaQeNXft9j8b.js → B8qybUclSjEYP5FJ.js} +2 -2
- package/screenshot-page/assets/BIHbD4jMsk3NetOd.js +1 -0
- package/screenshot-page/assets/BIrVK5hdDCUYmxGO.js +1 -0
- package/screenshot-page/assets/{BRqSWCr2mTVNFquQ.js → BJ2r2WfEL3SgkBAX.js} +1 -1
- package/screenshot-page/assets/BJviQwDXR5L6l1DA.js +1 -0
- package/screenshot-page/assets/BM78thqEW6HwXFAK.js +13 -0
- package/screenshot-page/assets/{BcOdl17EeFSxnAiq.js → BMf827t1Ul65MHd5.js} +1 -1
- package/screenshot-page/assets/BMwQInar0xVS5FRu.js +1 -0
- package/screenshot-page/assets/{BUjI304IvdJnFXH3.js → BU5S8KEzPmIA_Flm.js} +1 -1
- package/screenshot-page/assets/{D6Jpaz2YkhOfzxDB.js → BYQZ8o8k3-MDoNat.js} +1 -1
- package/screenshot-page/assets/{CZf9s6otzzoaBlSs.js → BftXEPOuf5Uwxpud.js} +1 -1
- package/screenshot-page/assets/Bir0SSOHX0w2yo8h.js +1 -0
- package/screenshot-page/assets/{CykecBozGGFl26KA.js → Btgo0VFTT0JxuaP3.js} +74 -68
- package/screenshot-page/assets/C2H2lX8eyKpxpP6M.js +2 -0
- package/screenshot-page/assets/{B-KIwD5F_5S-NsPg.js → C71ZZMVLfHdPl441.js} +1 -1
- package/screenshot-page/assets/CFfgJlXaIS8QMx5O.js +1 -0
- package/screenshot-page/assets/{DGXDfjkGZjMRAXPg.js → CN8u05DjKwNHbUHN.js} +1 -1
- package/screenshot-page/assets/CQFj5AGXfIA9z9zI.js +1 -0
- package/screenshot-page/assets/{gG0AFZ45VxS_moMw.js → CRsTnamLrPN5-Dsi.js} +1 -1
- package/screenshot-page/assets/CYfkL98Zu43S8-50.js +42 -0
- package/screenshot-page/assets/{DDpAoGAPzo1c4vl5.js → CZa1rha3RnQUWyOk.js} +7 -7
- package/screenshot-page/assets/{CpbohdgEaEsVDi9J.js → C_vPl50T1L5HWnhv.js} +1 -1
- package/screenshot-page/assets/{CbUDukmvDZmVfhJH.js → CfkssmHURDicfYvR.js} +1 -1
- package/screenshot-page/assets/{Bor_tayB4yBfNOH5.js → CguXw0IcKNPbmAbj.js} +2 -2
- package/screenshot-page/assets/{DmbuCapSSCYIa3yk.js → ClzJdxlUDDtBYjH8.js} +1 -1
- package/screenshot-page/assets/{Miyn0clMq0rovRIo.js → CqyMYduWKFvmMs_Z.js} +1 -1
- package/screenshot-page/assets/CzsoLbEIUVK5ia1C.js +1 -0
- package/screenshot-page/assets/D2IHCJ1QWDKwmhge.js +1 -0
- package/screenshot-page/assets/D6CzedWHXTesD55R.js +1 -0
- package/screenshot-page/assets/D7biuwkvm3zAwsBa.js +39 -0
- package/screenshot-page/assets/D8s3sJnhFxbI3Dqn.js +1 -0
- package/screenshot-page/assets/{CE0MnsfMjqV2ICzk.js → DDkL9PZPXAggW2Yr.js} +13 -13
- package/screenshot-page/assets/DEpn6VGd30cHEJOS.js +1 -0
- package/screenshot-page/assets/{CIged53b3hHKxa-o.js → DLFFFQjTi5Ji1940.js} +1 -1
- package/screenshot-page/assets/DMxrNtfw275en7pm.js +1 -0
- package/screenshot-page/assets/{CqR3hGrC956TkCMj.js → DRncpwDkZZX8rL9S.js} +1 -1
- package/screenshot-page/assets/DTrnAtpccj55fGg5.js +1 -0
- package/screenshot-page/assets/D_kJ3WunvjIINcHC.js +1 -0
- package/screenshot-page/assets/{BFaiQZKle44Rhyou.js → D_rtIYQ7FDC2CoEn.js} +1 -1
- package/screenshot-page/assets/{Bf7xq8PyF4ohjMzP.js → Db6bZVJ-184DJIoe.js} +2 -2
- package/screenshot-page/assets/{DyLWQxXXTw5uwPVy.js → DeyRZ5rprDbRbuf4.js} +1 -1
- package/screenshot-page/assets/{D47ePD4x1lVazNdl.js → DgtqX4DiBgkepVZZ.js} +1 -1
- package/screenshot-page/assets/DhB6GjSJIeTmIODk.js +1 -0
- package/screenshot-page/assets/Dn5PwRw7rrTKNnql.js +586 -0
- package/screenshot-page/assets/{BYRwTzX1q407lHUS.js → Dq7wGcTrNIshovlT.js} +2 -2
- package/screenshot-page/assets/{BUGXf2DEBog16Slb.js → DqXO_Zw1Cp7rAQ04.js} +2 -2
- package/screenshot-page/assets/{21oAESJyBGXeHegm.js → DtihumgXQ7ETaN0A.js} +2 -2
- package/screenshot-page/assets/DuYb_otrRZZDq6-f.js +2 -0
- package/screenshot-page/assets/DyiVrm8mEnEaoZHa.js +3 -0
- package/screenshot-page/assets/{BHqg55S-4_OoAu3P.js → LYyM_ig973jLdOU0.js} +2 -2
- package/screenshot-page/assets/TilS2JSBGVkd1za3.js +3 -0
- package/screenshot-page/assets/Tph2vYqw17-NBCtd.js +1 -0
- package/screenshot-page/assets/UKFgEuwI1UMhPqKF.js +2 -0
- package/screenshot-page/assets/XgsioU5Px1T5gKAY.js +1 -0
- package/screenshot-page/assets/cTMKPkmZF8FWQaMn.js +1 -0
- package/screenshot-page/assets/hlxJ87-H830aSZBQ.js +1 -0
- package/screenshot-page/assets/{DDQWM8rNYCYzKa9R.js → lgeNUp9cU20IAotv.js} +1 -1
- package/screenshot-page/assets/nM1r2xslndIMKlI2.js +2 -0
- package/screenshot-page/assets/{BCl5buf87xUgIfEB.js → rOzyaU7hqchMbhRL.js} +1 -1
- package/screenshot-page/index.html +12 -12
- package/screenshot-page/resources/locales/@sheetxl/sdk/de/model.msg.json +82 -1
- package/screenshot-page/resources/locales/@sheetxl/sdk/en/model.msg.json +80 -1
- package/types/scripting-api.json +9967 -9497
- package/types/scripting-enums.json +27 -0
- package/types/scripting.d.ts +2282 -166
- package/assets/B6BP5l2qmeZhqVV7.js +0 -7
- package/assets/COFze3jkZDQRSij9.js +0 -4437
- package/assets/CdF5MxGnISAZ41oQ.js +0 -359
- package/assets/Cfvhcua4c6onouhP.js +0 -14
- package/assets/CwdOInoJwCxXnhog.js +0 -7
- package/assets/D2_T0KSaye0ncjQa.js +0 -6294
- package/assets/W-MzzQHZuRxr8adc.js +0 -2346
- package/screenshot-page/assets/04d8koPx6lzeMYRQ.js +0 -39
- package/screenshot-page/assets/0MTaPYjKud2Q9QG9.js +0 -1
- package/screenshot-page/assets/BQfe-XTIOGeUnD9B.js +0 -1
- package/screenshot-page/assets/BksaQEoZr5OWq-_d.js +0 -3
- package/screenshot-page/assets/Bwql3QifB2cv7Mqp.js +0 -3
- package/screenshot-page/assets/Bz2U7weS0spa8Xbh.js +0 -1
- package/screenshot-page/assets/C2Wh2h27c7FUb8Yk.js +0 -1
- package/screenshot-page/assets/C81mK8aZKZAAS-AB.js +0 -1
- package/screenshot-page/assets/CFOaI8g7pJuPzsyk.js +0 -1
- package/screenshot-page/assets/Ca6nxdhEuLLty3d7.js +0 -2
- package/screenshot-page/assets/CnZJ44ncMxZ4ivcB.js +0 -586
- package/screenshot-page/assets/Cv8FG9PPBkkPw86e.js +0 -1
- package/screenshot-page/assets/CvL9XK3Ht1mP-rGz.js +0 -4
- package/screenshot-page/assets/DUJzubL4qqOyizfu.js +0 -1
- package/screenshot-page/assets/DWiI5I3RtoKvVT66.js +0 -1
- package/screenshot-page/assets/DZDRRw-62D6Zw7qs.js +0 -1
- package/screenshot-page/assets/D_H2dlsQ8PJ0r1WD.js +0 -10
- package/screenshot-page/assets/DeAKjatTVaZ0u_FY.js +0 -1
- package/screenshot-page/assets/DqM1wwsmN1J4MXMm.js +0 -1
- package/screenshot-page/assets/DsL71n5SxCVjL6Ho.js +0 -2
- package/screenshot-page/assets/DzZRUd0p22CBa27b.js +0 -1
- package/screenshot-page/assets/IRtoU5oVgBWu9rnK.js +0 -2
- package/screenshot-page/assets/IfF7Tv-nhz6Ikpn0.js +0 -1
- package/screenshot-page/assets/Rm5Sf5E6t8bk_Y3r.js +0 -1
- package/screenshot-page/assets/b3AbgxQkoaCiBi15.js +0 -1
- package/screenshot-page/assets/fGlPAximvsxzPzGA.js +0 -1
- package/screenshot-page/assets/qm3VY0bH7F7EgSdi.js +0 -2
- package/screenshot-page/assets/rPOkVKdPbFpTG6AY.js +0 -1
- package/screenshot-page/assets/zHHZFbk5RXnrxbOc.js +0 -42
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e={AnchorLocation:{Bottom:`b`,BottomLeft:`bl`,BottomRight:`br`,Center:`c`,Left:`l`,Right:`r`,Top:`t`,TopLeft:`tl`,TopRight:`tr`},AutoNumberingSchemeType:{alphaLcParenBoth:0,alphaLcParenRight:2,alphaLcPeriod:4,alphaUcParenBoth:1,alphaUcParenRight:3,alphaUcPeriod:5,arabic1Minus:28,arabic2Minus:29,arabicDbPeriod:19,arabicDbPlain:20,arabicParenBoth:6,arabicParenRight:7,arabicPeriod:8,arabicPlain:9,circleNumDbPlain:16,circleNumWdBlackPlain:17,circleNumWdWhitePlain:18,ea1ChsPeriod:21,ea1ChsPlain:22,ea1ChtPeriod:23,ea1ChtPlain:24,ea1JpnChsDbPeriod:25,ea1JpnKorPeriod:27,ea1JpnKorPlain:26,hebrew2Minus:30,hindiAlpha1Period:40,hindiAlphaPeriod:37,hindiNumParenRight:39,hindiNumPeriod:38,romanLcParenBoth:10,romanLcParenRight:12,romanLcPeriod:14,romanUcParenBoth:11,romanUcParenRight:13,romanUcPeriod:15,thaiAlphaParenBoth:33,thaiAlphaParenRight:32,thaiAlphaPeriod:31,thaiNumParenBoth:36,thaiNumParenRight:35,thaiNumPeriod:34},AxisSelection:{Both:`both`,Column:`column`,Row:`row`},DateUnit:{Day:`d`,Month:`m`,Weekday:`wd`,Year:`y`},Direction:{Down:`down`,Left:`left`,Right:`right`,Up:`up`},FormulaError:{Code:{Blocked:11,Busy:16,Calc:14,Connect:10,Div0:2,Field:13,GettingData:8,NA:7,Name:5,Null:1,Num:6,Parse:0,Python:19,Ref:4,Spill:9,Timeout:20,Unknown:12,Value:3},Label:{Blocked:`#BLOCKED!`,Busy:`#BUSY!`,Calc:`#CALC!`,Connect:`#CONNECT!`,Div0:`#DIV/0!`,Field:`#FIELD!`,GettingData:`#GETTING_DATA`,NA:`#N/A`,Name:`#NAME?`,Null:`#NULL!`,Num:`#NUM!`,Parse:`#PARSE!`,Python:`#PYTHON!`,Ref:`#REF!`,Spill:`#SPILL!`,Timeout:`#TIMEOUT!`,Unknown:`#UNKNOWN!`,Value:`#VALUE!`}},IAnchored:{Type:{Absolute:`absolute`,OneCell:`oneCell`,TwoCell:`twoCell`}},IBorders:{Edge:{Bottom:`bottom`,DiagonalDown:`diagonalDown`,DiagonalUp:`diagonalUp`,Horizontal:`horizontal`,Left:`left`,Right:`right`,Top:`top`,Vertical:`vertical`},StrokeStyle:{DashDot:`dashDot`,DashDotDot:`dashDotDot`,Dashed:`dashed`,Dotted:`dotted`,Double:`double`,Hair:`hair`,Medium:`medium`,MediumDashDot:`mediumDashDot`,MediumDashDotDot:`mediumDashDotDot`,MediumDashed:`mediumDashed`,None:`none`,SlantDashDot:`slantDashDot`,Thick:`thick`,Thin:`thin`}},ICalculation:{CalculationMode:{Automatic:`auto`,AutomaticExceptTables:`automaticExceptTables`,Manual:`manual`},CalculationState:{Calculating:`calculating`,Done:`done`,Pending:`pending`},ResultStatus:{Pending:`pending`,Ready:`ready`,Stale:`stale`,Waiting:`waiting`},Status:{Error:`error`,Off:`off`,Running:`running`,Starting:`starting`,Stopping:`stopping`}},ICell:{Content:{Comments:`comments`,DataValidations:`dataValidations`,Formats:`formats`,Formulas:`formulas`,Hyperlinks:`hyperlinks`,Notes:`notes`,Tables:`tables`,Values:`values`},ErrorCheck:{ApproximateMatch:`approximateMatch`,ConstantFrequency:`constantFrequency`,DegenerateCall:`degenerateCall`,EmptyCellReference:`emptyCellReference`,ErrorConstant:`errorConstant`,EvaluatesToError:`evalError`,ExternalReference:`externalReference`,HardcodeInRun:`hardcodeInRun`,InconsistentFormula:`formula`,InconsistentListFormula:`calculatedColumn`,KeyLabelMismatch:`keyLabelMismatch`,LinkLabelMismatch:`linkLabelMismatch`,ListDataValidation:`listDataValidation`,LiteralMatchesInput:`literalMatchesInput`,LookupShape:`lookupShape`,MisalignedReference:`misalignedReference`,NumberAsText:`numberStoredAsText`,OmittedCells:`formulaRange`,RepeatedReference:`repeatedReference`,ScaleOutlier:`scaleOutlier`,SignVsSiblings:`signVsSiblings`,StyleBreak:`styleBreak`,StyleRole:`styleRole`,SumIncludesSubtotal:`sumIncludesSubtotal`,TextDate:`twoDigitTextYear`,TwinBlockDivergence:`twinBlockDivergence`,UnlockedFormula:`unlockedFormula`},Role:{Computed:`computed`,Input:`input`,Label:`label`,Link:`link`,Output:`output`,Reference:`reference`}},ICellRange:{AnomalyFocus:{Average:`average`,ColorCoding:`colorCoding`,CrossSheetReference:`crossSheetReference`,DeletedRows:`deletedRows`,DoubleCounting:`doubleCounting`,EmbeddedHardcode:`embeddedHardcode`,Lookup:`lookup`,ReferenceAnchoring:`referenceAnchoring`,SignConvention:`signConvention`,UnitMismatch:`unitMismatch`},Feature:{Alignment:`alignment`,Anomalies:`anomalies`,AutoTable:`autoTable`,Borders:`borders`,CalcError:`calcError`,CalcStatus:`calcStatus`,CellControl:`cellControl`,Circular:`circular`,Comments:`comments`,Conditionals:`conditionals`,Contentful:`contentful`,DataValidations:`dataValidations`,DateFormat:`dateFormat`,Error:`error`,Fill:`fill`,Font:`font`,Formula:`formula`,Hyperlink:`hyperlink`,IgnoredErrors:`ignoredErrors`,Kind:`kind`,Merge:`merge`,NumberFormat:`numberFormat`,Protection:`protection`,Role:`role`,Spills:`spills`,Table:`table`,Unlock:`unlock`}},ICellStyle:{BuiltInName:{Accent1:`Accent1`,Accent1_20:`20% - Accent1`,Accent1_40:`40% - Accent1`,Accent1_60:`60% - Accent1`,Accent2:`Accent2`,Accent2_20:`20% - Accent2`,Accent2_40:`40% - Accent2`,Accent2_60:`60% - Accent2`,Accent3:`Accent3`,Accent3_20:`20% - Accent3`,Accent3_40:`40% - Accent3`,Accent3_60:`60% - Accent3`,Accent4:`Accent4`,Accent4_20:`20% - Accent4`,Accent4_40:`40% - Accent4`,Accent4_60:`60% - Accent4`,Accent5:`Accent5`,Accent5_20:`20% - Accent5`,Accent5_40:`40% - Accent5`,Accent5_60:`60% - Accent5`,Accent6:`Accent6`,Accent6_20:`20% - Accent6`,Accent6_40:`40% - Accent6`,Accent6_60:`60% - Accent6`,Bad:`Bad`,Calculation:`Calculation`,CheckCell:`Check Cell`,ColLevel:`ColLevel_#`,Comma:`Comma`,Comma0:`Comma [0]`,Currency:`Currency`,Currency0:`Currency [0]`,ExplanatoryText:`Explanatory Text`,FollowedHyperlink:`Followed Hyperlink`,Good:`Good`,Heading1:`Heading 1`,Heading2:`Heading 2`,Heading3:`Heading 3`,Heading4:`Heading 4`,Hyperlink:`Hyperlink`,Input:`Input`,LinkedCell:`Linked Cell`,Neutral:`Neutral`,Normal:`Normal`,Note:`Note`,Output:`Output`,Percent:`Percent`,RowLevel:`RowLevel_#`,Title:`Title`,Total:`Total`,Unknown12:`??-12`,Unknown13:`??-13`,Unknown14:`??-14`,WarningText:`Warning Text`},IconSet:{Arrows3:`3Arrows`,Arrows4:`4Arrows`,Arrows5:`5Arrows`,ArrowsGray3:`3ArrowsGray`,ArrowsGray4:`4ArrowsGray`,ArrowsGray5:`5ArrowsGray`,Boxes5:`5Boxes`,Flags3:`3Flags`,NoIcons:`NoIcons`,Quarters5:`5Quarters`,Rating4:`4Rating`,Rating5:`5Rating`,RedToBlack4:`4RedToBlack`,Signs3:`3Signs`,Stars3:`3Stars`,Symbols3:`3Symbols`,Symbols3_2:`3Symbols2`,TrafficLights3:`3TrafficLights1`,TrafficLights3_2:`3TrafficLights2`,TrafficLights4:`4TrafficLights`,Triangles3:`3Triangles`}},IColor:{AdjustmentType:{Alpha:`alpha`,AlphaMod:`alphaMod`,AlphaOff:`alphaOff`,Blue:`blue`,BlueMod:`blueMod`,BlueOff:`blueOff`,Comp:`comp`,ETint:`eTint`,Gamma:`gamma`,Gray:`gray`,Green:`green`,GreenMod:`greenMod`,GreenOff:`greenOff`,Hue:`hue`,HueMod:`hueMod`,HueOff:`hueOff`,Inv:`inv`,InvGamma:`invGamma`,Lum:`lum`,LumMod:`lumMod`,LumOff:`lumOff`,Red:`red`,RedMod:`redMod`,RedOff:`redOff`,Sat:`sat`,SatMod:`satMod`,SatOff:`satOff`,Shade:`shade`,Tint:`tint`},Named:{ActiveBorder:`activeBorder`,ActiveCaption:`activeCaption`,AliceBlue:`aliceBlue`,AntiqueWhite:`antiqueWhite`,AppWorkspace:`appWorkspace`,Aqua:`aqua`,Aquamarine:`aquamarine`,Azure:`azure`,Background:`background`,Beige:`beige`,Bisque:`bisque`,Black:`black`,BlanchedAlmond:`blanchedAlmond`,Blue:`blue`,BlueViolet:`blueViolet`,Brown:`brown`,BtnFace:`btnFace`,BtnHighlight:`btnHighlight`,BtnShadow:`btnShadow`,BtnText:`btnText`,BurlyWood:`burlyWood`,ButtonFace:`buttonFace`,ButtonHighlight:`buttonHighlight`,ButtonShadow:`buttonShadow`,CadetBlue:`cadetBlue`,CaptionText:`captionText`,Chartreuse:`chartreuse`,Chocolate:`chocolate`,Coral:`coral`,CornflowerBlue:`cornflowerBlue`,Cornsilk:`cornsilk`,Crimson:`crimson`,Cyan:`cyan`,DeepPink:`deepPink`,DeepSkyBlue:`deepSkyBlue`,DimGray:`dimGray`,DkBlue:`dkBlue`,DkCyan:`dkCyan`,DkGoldenrod:`dkGoldenrod`,DkGray:`dkGray`,DkGreen:`dkGreen`,DkKhaki:`dkKhaki`,DkMagenta:`dkMagenta`,DkOliveGreen:`dkOliveGreen`,DkOrange:`dkOrange`,DkOrchid:`dkOrchid`,DkRed:`dkRed`,DkSalmon:`dkSalmon`,DkSeaGreen:`dkSeaGreen`,DkShadow3d:`3dDkShadow`,DkSlateBlue:`dkSlateBlue`,DkSlateGray:`dkSlateGray`,DkTurquoise:`dkTurquoise`,DkViolet:`dkViolet`,DodgerBlue:`dodgerBlue`,Firebrick:`firebrick`,FloralWhite:`floralWhite`,ForestGreen:`forestGreen`,Fuchsia:`fuchsia`,Gainsboro:`gainsboro`,GhostWhite:`ghostWhite`,Gold:`gold`,Goldenrod:`goldenrod`,GradientActiveCaption:`gradientActiveCaption`,GradientInactiveCaption:`gradientInactiveCaption`,Gray:`gray`,GrayText:`grayText`,Green:`green`,GreenYellow:`greenYellow`,Grey:`grey`,Highlight:`highlight`,HighlightText:`highlightText`,Honeydew:`honeydew`,HotLight:`hotLight`,HotPink:`hotPink`,InactiveBorder:`inactiveBorder`,InactiveCaption:`inactiveCaption`,InactiveCaptionText:`inactiveCaptionText`,IndianRed:`indianRed`,Indigo:`indigo`,InfoBk:`infoBk`,InfoText:`infoText`,Ivory:`ivory`,Khaki:`khaki`,Lavender:`lavender`,LavenderBlush:`lavenderBlush`,LawnGreen:`lawnGreen`,LemonChiffon:`lemonChiffon`,Light3d:`3dLight`,Lime:`lime`,LimeGreen:`limeGreen`,Linen:`linen`,LtBlue:`ltBlue`,LtCoral:`ltCoral`,LtCyan:`ltCyan`,LtGoldenrodYellow:`ltGoldenrodYellow`,LtGray:`ltGray`,LtGreen:`ltGreen`,LtPink:`ltPink`,LtSalmon:`ltSalmon`,LtSeaGreen:`ltSeaGreen`,LtSkyBlue:`ltSkyBlue`,LtSlateGray:`ltSlateGray`,LtSteelBlue:`ltSteelBlue`,LtYellow:`ltYellow`,Magenta:`magenta`,Maroon:`maroon`,MedAquamarine:`medAquamarine`,MedBlue:`medBlue`,MedOrchid:`medOrchid`,MedPurple:`medPurple`,MedSeaGreen:`medSeaGreen`,MedSlateBlue:`medSlateBlue`,MedSpringGreen:`medSpringGreen`,MedTurquoise:`medTurquoise`,MedVioletRed:`medVioletRed`,Menu:`menu`,MenuBar:`menuBar`,MenuHighlight:`menuHighlight`,MenuText:`menuText`,MidnightBlue:`midnightBlue`,MintCream:`mintCream`,MistyRose:`mistyRose`,Moccasin:`moccasin`,NavajoWhite:`navajoWhite`,Navy:`navy`,OldLace:`oldLace`,Olive:`olive`,OliveDrab:`oliveDrab`,Orange:`orange`,OrangeRed:`orangeRed`,Orchid:`orchid`,PaleGoldenrod:`paleGoldenrod`,PaleGreen:`paleGreen`,PaleTurquoise:`paleTurquoise`,PaleVioletRed:`paleVioletRed`,PapayaWhip:`papayaWhip`,PeachPuff:`peachPuff`,Peru:`peru`,Pink:`pink`,Plum:`plum`,PowderBlue:`powderBlue`,Purple:`purple`,Red:`red`,RosyBrown:`rosyBrown`,RoyalBlue:`royalBlue`,SaddleBrown:`saddleBrown`,Salmon:`salmon`,SandyBrown:`sandyBrown`,ScrollBar:`scrollBar`,SeaGreen:`seaGreen`,SeaShell:`seaShell`,Sienna:`sienna`,Silver:`silver`,SkyBlue:`skyBlue`,SlateBlue:`slateBlue`,SlateGray:`slateGray`,Snow:`snow`,SpringGreen:`springGreen`,SteelBlue:`steelBlue`,Tan:`tan`,Teal:`teal`,Thistle:`thistle`,Tomato:`tomato`,Transparent:`transparent`,Turquoise:`turquoise`,Violet:`violet`,Wheat:`wheat`,White:`white`,WhiteSmoke:`whiteSmoke`,Window:`window`,WindowFrame:`windowFrame`,WindowText:`windowText`,Yellow:`yellow`,YellowGreen:`yellowGreen`},Scheme:{Accent1:`accent1`,Accent2:`accent2`,Accent3:`accent3`,Accent4:`accent4`,Accent5:`accent5`,Accent6:`accent6`,Bg1:`bg1`,Bg2:`bg2`,FolHlink:`folHlink`,Hlink:`hlink`,Tx1:`tx1`,Tx2:`tx2`},Type:{Auto:`auto`,Hex:`hex`,HSL:`hsl`,Index:`index`,LRGB:`lrgb`,Named:`named`,RGB:`rgb`,Scheme:`scheme`}},ICondition:{AverageType:{Above:`above`,AboveOrEqual:`aboveOrEqual`,Below:`below`,BelowOrEqual:`belowOrEqual`},BuiltInOperatorNames:{After:`after`,AfterEqualTo:`afterEqualTo`,And:`and`,Average:`average`,Before:`before`,BeforeEqualTo:`beforeEqualTo`,Between:`between`,Blank:`blank`,Color:`color`,EqualTo:`equalTo`,Error:`error`,Expression:`expression`,GreaterThan:`greaterThan`,GreaterThanEqualTo:`greaterThanEqualTo`,Icon:`icon`,InSet:`inSet`,LessThan:`lessThan`,LessThanEqualTo:`lessThanEqualTo`,Not:`not`,Or:`or`,TextContains:`textContains`,TextEmail:`textEmail`,TextEndsWith:`textEndsWith`,TextIsUrl:`textUrl`,TextStartsWith:`textStartsWith`,TimePeriod:`timePeriod`,TopN:`topN`,Unique:`unique`},BuiltInSelectorNames:{Date:`date`,DateTime:`dateTime`,Display:`display`,Logical:`logical`,Number:`number`,Text:`text`,TextLength:`textLength`,Time:`time`,Whole:`wholeNumber`},DateItemGroupingType:{Day:`day`,Hour:`hour`,Minute:`minute`,Month:`month`,Second:`second`,Year:`year`},TimePeriodType:{Last7Days:`last7Days`,LastMonth:`lastMonth`,LastQuarter:`lastQuarter`,LastWeek:`lastWeek`,LastYear:`lastYear`,M1:`M1`,M10:`M10`,M11:`M11`,M12:`M12`,M2:`M2`,M3:`M3`,M4:`M4`,M5:`M5`,M6:`M6`,M7:`M7`,M8:`M8`,M9:`M9`,NextMonth:`nextMonth`,NextQuarter:`nextQuarter`,NextWeek:`nextWeek`,NextYear:`nextYear`,Null:`null`,Q1:`Q1`,Q2:`Q2`,Q3:`Q3`,Q4:`Q4`,ThisMonth:`thisMonth`,ThisQuarter:`thisQuarter`,ThisWeek:`thisWeek`,ThisYear:`thisYear`,Today:`today`,Tomorrow:`tomorrow`,YearToDate:`yearToDate`,Yesterday:`yesterday`}},IConditionalFormat:{ColorStopType:{AutoMax:`autoMax`,AutoMin:`autoMin`,Formula:`formula`,Max:`max`,Min:`min`,Num:`num`,Percent:`percent`,Percentile:`percentile`},ScaleType:{ColorScale:`colorScale`,DataBar:`dataBar`,IconSet:`iconSet`}},ICustomProperty:{Type:{Boolean:`boolean`,Date:`date`,Float:`float`,Number:`number`,String:`string`}},IDataValidation:{AlertStyle:{Information:`information`,Stop:`stop`,Warning:`warning`}},IDropDown:{DropStyle:{Combo:`combo`,ComboEdit:`comboEdit`,Simple:`simple`}},IEffect:{Type:{Glow:`glow`,InnerShadow:`innerShadow`,OuterShadow:`outerShadow`,PresetShadow:`presetShadow`,Reflection:`reflection`,SoftEdge:`softEdge`}},IFill:{BuiltInSheetPattern:{Custom:`custom`,DarkDown:`darkDown`,DarkGray:`darkGray`,DarkGrid:`darkGrid`,DarkHorizontal:`darkHorizontal`,DarkTrellis:`darkTrellis`,DarkUp:`darkUp`,DarkVertical:`darkVertical`,Gray0625:`gray0625`,Gray125:`gray125`,LightDown:`lightDown`,LightGray:`lightGray`,LightGrid:`lightGrid`,LightHorizontal:`lightHorizontal`,LightTrellis:`lightTrellis`,LightUp:`lightUp`,LightVertical:`lightVertical`,MediumGray:`mediumGray`,None:`none`,Solid:`solid`},GradientType:{Linear:`linear`,Path:`path`,Rect:`rect`,Shape:`shape`},TileFlip:{Both:`xy`,Horizontal:`x`,None:`none`,Vertical:`y`},Type:{Background:`background`,Custom:`custom`,Gradient:`gradient`,Group:`group`,Image:`image`,None:`none`,Pattern:`pattern`,Solid:`solid`}},IFont:{Charset:{Ansi:0,Arabic:178,Baltic:186,ChineseBig5:136,Default:1,EastEurope:238,GB2312:134,Greek:161,Hangul:129,Hebrew:177,Johab:130,Mac:77,Oem:255,Russian:204,ShiftJIS:128,Symbol:2,Thai:222,Turkish:162,Vietnamese:163},GenericName:{Cursive:`cursive`,Emoji:`emoji`,Fangsong:`fangsong`,Fantasy:`fantasy`,Math:`math`,MonoSpace:`monospace`,SanSerif:`sans-serif`,Serif:`serif`,SystemUI:`system-ui`,UIMonoSpace:`ui-monospace`,UIRounded:`ui-rounded`,UISanSerif:`ui-sans-serif`,UISerif:`ui-serif`,UISystem:`ui-system`},Scheme:{Major:`major`,Minor:`minor`,None:`none`},StrikeStyle:{Double:`double`,None:`none`,Single:`single`},Style:{Italic:`italic`,Normal:`normal`},UnderlineStyle:{Dash:`dash`,DashHeavy:`dashHeavy`,DashLong:`dashLong`,DashLongHeavy:`dashLongHeavy`,DotDash:`dotDash`,DotDashHeavy:`dotDashHeavy`,DotDotDash:`dotDotDash`,DotDotDashHeavy:`dotDotDashHeavy`,Dotted:`dotted`,DottedHeavy:`dottedHeavy`,Double:`double`,DoubleAccounting:`doubleAccounting`,Heavy:`heavy`,None:`none`,Single:`single`,SingleAccounting:`singleAccounting`,Wavy:`wavy`,WavyDouble:`wavyDouble`,WavyHeavy:`wavyHeavy`,Words:`words`}},IFontCollection:{FontStatus:{Error:`error`,Loaded:`loaded`,Loading:`loading`},ResolutionKind:{Classified:`classified`,Exact:`exact`,Generic:`generic`,Table:`table`}},IFontStyle:{Baseline:{Subscript:-25,Superscript:30},ThemeFamily:{Body:`theme:body`,Heading:`theme:heading`}},IFormControl:{Type:{Button:`button`,CheckBox:`checkBox`,Dialog:`dialog`,DropDown:`dropDown`,EditBox:`editBox`,GroupBox:`groupBox`,Label:`label`,ListBox:`listBox`,OptionButton:`optionButton`,ScrollBar:`scrollBar`,Spinner:`spinner`,Unknown:`formControl`}},IGeometry:{HandleType:{Polar:`polar`,XY:`xy`},PathLayer:{Fill:`fill`,Marker:`marker`,Stroke:`stroke`}},InteropScalarType:{Boolean:`boolean`,Date:`date`,Error:`error`,Null:`null`,Number:`number`,RichData:`richData`,String:`string`},IPageLayout:{HeaderFooterState:{Default:`default`,FirstAndDefault:`firstAndDefault`,FirstOddAndEven:`firstOddAndEven`,OddAndEven:`oddAndEven`},Orientation:{Landscape:`landscape`,Portrait:`portrait`},PaperType:{A3:`a3`,A4:`a4`,A4Small:`a4Small`,A5:`a5`,B4:`b4`,B5:`b5`,Csheet:`csheet`,Dsheet:`dsheet`,Envelope10:`envelope10`,Envelope11:`envelope11`,Envelope12:`envelope12`,Envelope14:`envelope14`,Envelope9:`envelope9`,EnvelopeB4:`envelopeB4`,EnvelopeB5:`envelopeB5`,EnvelopeB6:`envelopeB6`,EnvelopeC3:`envelopeC3`,EnvelopeC4:`envelopeC4`,EnvelopeC5:`envelopeC5`,EnvelopeC6:`envelopeC6`,EnvelopeC65:`envelopeC65`,EnvelopeDL:`envelopeDL`,EnvelopeItaly:`envelopeItaly`,EnvelopeMonarch:`envelopeMonarch`,EnvelopePersonal:`envelopePersonal`,Esheet:`esheet`,Executive:`executive`,FanfoldLegalGerman:`fanfoldLegalGerman`,FanfoldStdGerman:`fanfoldStdGerman`,FanfoldUS:`fanfoldUS`,Folio:`folio`,Ledger:`ledger`,Legal:`legal`,Letter:`letter`,LetterSmall:`letterSmall`,Note:`note`,Paper10x14:`paper10x14`,Paper11x17:`paper11x17`,Quatro:`quatro`,Statement:`statement`,Tabloid:`tabloid`},PrintComments:{EndSheet:`endSheet`,InPlace:`inPlace`,NoComments:`noComments`},PrintErrorType:{AsDisplayed:`asDisplayed`,Blank:`blank`,Dash:`dash`,NotAvailable:`notAvailable`},PrintMarginUnit:{Centimeters:`centimeters`,Inches:`inches`,Points:`points`},PrintOrder:{DownThenOver:`downThenOver`,OverThenDown:`overThenDown`}},IRange:{Axis:{Column:`column`,Row:`row`},AxisSelection:{Both:`both`,Column:`column`,Row:`row`},Direction:{Down:`down`,Left:`left`,Right:`right`,Up:`up`}},IRangeStats:{Aggregate:{Average:`average`,Count:`count`,Max:`max`,Min:`min`,NumericalCount:`numericalCount`,PopulationStdDev:`stdDevP`,PopulationVariance:`varP`,StdDev:`stdDev`,Sum:`sum`,Variance:`var`}},IShape:{ConnectorType:{Curved:`curved`,Elbow:`elbow`,Straight:`straight`},Type:{Connector:`connector`,Shape:`shape`}},ISheet:{Kind:{Chart:`chart`,Dialog:`dialog`,Macro:`macro`,Worksheet:`worksheet`},Visibility:{Hidden:`hidden`,VeryHidden:`veryHidden`,Visible:`visible`}},ISlicerStyle:{ElementType:{HeaderRow:`headerRow`,HoveredSelectedItemWithData:`hoveredSelectedItemWithData`,HoveredSelectedItemWithNoData:`hoveredSelectedItemWithNoData`,HoveredUnselectedItemWithData:`hoveredUnselectedItemWithData`,HoveredUnselectedItemWithNoData:`hoveredUnselectedItemWithNoData`,SelectedItemWithData:`selectedItemWithData`,SelectedItemWithNoData:`selectedItemWithNoData`,UnselectedItemWithData:`unselectedItemWithData`,UnselectedItemWithNoData:`unselectedItemWithNoData`,WholeTable:`wholeTable`}},ISort:{SortOn:{FillColor:`fillColor`,FontColor:`fontColor`,Icon:`icon`,Value:`value`}},IStroke:{Align:{Center:`ctr`,Inset:`in`,Outset:`outset`},Compound:{Double:`dbl`,Single:`sng`,ThickThin:`thickThin`,ThinThick:`thinThick`,Triple:`tri`},DashStyle:{Dash:`dash`,DashDot:`dashDot`,Dot:`dot`,LongDash:`lgDash`,LongDashDot:`lgDashDot`,LongDashDotDot:`lgDashDotDot`,Solid:`solid`,SysDash:`sysDash`,SysDashDot:`sysDashDot`,SysDashDotDot:`sysDashDotDot`,SysDot:`sysDot`},LineCap:{Butt:`butt`,Round:`round`,Square:`square`},LineEndSize:{Large:`lg`,Medium:`med`,Small:`sm`},LineEndType:{Arrow:`arrow`,Diamond:`diamond`,None:`none`,Oval:`oval`,Stealth:`stealth`,Triangle:`triangle`},LineJoin:{Bevel:`bevel`,Miter:`miter`,Round:`round`}},ITable:{AutoExpand:{Both:`both`,Columns:`columns`,None:`none`,Rows:`rows`},FormulaBelow:{BelowTable:`belowTable`,InsideTable:`insideTable`,TotalsRow:`totalsRow`}},ITableStyle:{ElementType:{FirstColumn:`firstColumn`,FirstColumnStripe:`firstColumnStripe`,FirstHeaderCell:`firstHeaderCell`,FirstRowStripe:`firstRowStripe`,FirstTotalCell:`firstTotalCell`,HeaderRow:`headerRow`,LastColumn:`lastColumn`,LastHeaderCell:`lastHeaderCell`,LastTotalCell:`lastTotalCell`,SecondColumnStripe:`secondColumnStripe`,SecondRowStripe:`secondRowStripe`,TotalRow:`totalRow`,WholeTable:`wholeTable`}},IText:{FontAlignment:{Auto:`auto`,Baseline:`baseline`,Bottom:`bottom`,Center:`center`,Top:`top`},ParagraphAlignment:{Center:`center`,Distributed:`distributed`,Justify:`justify`,JustifyLow:`justifyLow`,Left:`left`,Right:`right`,ThaiDistributed:`thaiDistributed`},SmallCaps:{All:`all`,None:`none`,Small:`small`}},ITextFrame:{Autofit:{None:`none`,Normal:`normal`,Shape:`shape`},HorizontalAlignment:{Center:`center`,CenterContinuous:`centerContinuous`,Distributed:`distributed`,Fill:`fill`,General:`general`,Justify:`justify`,Left:`left`,Right:`right`},Orientation:{Horizontal:`horizontal`,Stacked:`stacked`,Vertical:`90`,Vertical270:`270`},Overflow:{Clip:`clip`,Ellipsis:`ellipsis`,Shrink:`shrink`,Visible:`visible`,Wrap:`wrap`},ReadingDirection:{Auto:`auto`,LeftToRight:`ltr`,RightToLeft:`rtl`},TabStopAlignment:{Center:`center`,Decimal:`decimal`,Default:`default`,Left:`left`,Right:`right`},VerticalAlignment:{Bottom:`bottom`,Center:`center`,Distributed:`distributed`,Justify:`justify`,Top:`top`},WritingMode:{EastAsianVertical:`eastAsianVertical`,Horizontal:`horizontal`,MongolianVertical:`mongolianVertical`,Vertical:`vertical`,Vertical270:`vertical270`,WordArtVertical:`wordArtVertical`,WordArtVerticalRtl:`wordArtVerticalRtl`}},IThemeCollection:{BuiltInFilterType:{All:`all`,BuiltIn:`builtIn`,Custom:`custom`}},IWorkbookView:{Visibility:{Hidden:`hidden`,VeryHidden:`veryHidden`,Visible:`visible`}},IWorksheetView:{ColumnHeaderTableNames:{Hidden:`hidden`,None:`none`,Sticky:`sticky`},HeaderTextStyle:{A1:`a1`,One:`one`,Zero:`zero`},ViewMode:{Normal:`normal`,PageBreakPreview:`pageBreakPreview`,PageLayout:`pageLayout`}},MimeType:{Html:`text/html`,Plain:`text/plain`,Png:`image/png`},NumberFormat:{ParseRunType:{Repeat:`repeat`,Spacing:`spacing`,Text:`text`},Type:{Accounting:`Accounting`,Comma:`Comma`,Currency:`Currency`,Custom:`Custom`,Fraction:`Fraction`,General:`General`,LongDate:`Long Date`,LongTime:`Long Time`,MediumDate:`Medium Date`,MediumTime:`Medium Time`,Number:`Number`,Percentage:`Percentage`,Scientific:`Scientific`,ShortDate:`Short Date`,ShortTime:`Short Time`,Special:`Special`,Text:`Text`}},ParseRunType:{Repeat:`repeat`,Spacing:`spacing`,Text:`text`},RangeAxis:{Column:`column`,Row:`row`},RectAlignment:{Bottom:`b`,BottomLeft:`bl`,BottomRight:`br`,Center:`ctr`,Left:`l`,Right:`r`,Top:`t`,TopLeft:`tl`,TopRight:`tr`},ScalarType:{Boolean:`boolean`,Error:`error`,Null:`null`,Number:`number`,RichData:`richData`,String:`string`},Type:{Accounting:`Accounting`,Comma:`Comma`,Currency:`Currency`,Custom:`Custom`,Fraction:`Fraction`,General:`General`,LongDate:`Long Date`,LongTime:`Long Time`,MediumDate:`Medium Date`,MediumTime:`Medium Time`,Number:`Number`,Percentage:`Percentage`,Scientific:`Scientific`,ShortDate:`Short Date`,ShortTime:`Short Time`,Special:`Special`,Text:`Text`},ValueKind:{Array:`array`,Boolean:`boolean`,Error:`error`,Lambda:`lambda`,Null:`null`,Number:`number`,Omitted:`omitted`,Reference:`reference`,RichData:`richData`,String:`string`}};export{e as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e={ADDRESS:{s:`Creates a cell reference as text, given specified row and column numbers.`,p:{rowNum:{d:`is the row number to use in the cell reference: Row_number = 1 for row 1.`},columnNum:{d:`is the column number to use in the cell reference. For example, Column_number = 4 for column D.`},absNum:{d:`specifies the reference type: absolute = 1; absolute row/relative column = 2; relative row/absolute column = 3; relative = 4.`},a1:{d:`is a logical value that specifies the reference style: A1 style = 1 or TRUE; R1C1 style = 0 or FALSE.`},sheetText:{d:`is text specifying the name of the worksheet to be used as the external reference.`}}},AREAS:{s:`Returns the number of areas in a reference. An area is a range of contiguous cells or a single cell.`,p:{references:{d:`is a reference to a cell or range of cells and can refer to multiple areas.`}}},ARRAY_CONSTRAIN:{s:`Constrains an array result to a specified size.`,c:`Sheets`,p:{inputRange:{d:`The range to constrain.`},numRows:{d:`The number of rows the result should contain.`},numCols:{d:`The number of columns the result should contain.`}}},ARRAYFORMULA:{s:`Enables the display of values returned from an array formula into multiple rows and/or columns.`,c:`Sheets`,p:{arrayFormula:{d:`A range, a mathematical expression over ranges of the same size, or a function that returns a result of more than one cell.`}}},CHOOSE:{s:`Chooses a value or action to perform from a list of values, based on an index number.`,p:{indexNum:{d:`specifies which value argument is selected. Index_num must be between 1 and 254, or a formula or a reference to a number between 1 and 254.`},value:{d:`are 1 to 254 numbers, cell references, defined names, formulas, functions, or text arguments from which CHOOSE selects.`}}},CHOOSECOLS:{s:`Returns columns from an array or reference.`,p:{array:{d:`The array or reference from which to choose columns.`},colNum:{d:`The number of the column to be returned.`}}},CHOOSEROWS:{s:`Returns rows from an array or reference.`,p:{array:{d:`The array or reference from which to choose rows.`},rowNum:{d:`The number of the row to be returned.`}}},COLUMN:{s:`Returns the column number of a reference.`,p:{reference:{d:`is the cell or range of contiguous cells for which you want the column number. If omitted, the cell containing the COLUMN function is used.`}}},COLUMNS:{s:`Returns the number of columns in an array or reference.`,p:{array:{d:`is an array or array formula, or a reference to a range of cells for which you want the number of columns.`}}},DROP:{s:`Drops rows or columns from array start or end.`,p:{array:{d:`The array from which to drop rows or columns.`},row:{d:`The number of rows to drop. A negative value drops from the end of the array.`},columns:{d:`The number of columns to drop. A negative value drops from the end of the array.`}}},EXPAND:{p:{array:{},row:{},columns:{},padWith:{}}},FIELDVALUE:{s:`Extracts a value from a field of a given record.`,p:{value:{d:`The record from which you want to extract the field.`},fieldName:{d:`The names of the field or fields that you want to extract.`}}},FILTER:{s:`Filter a range or array.`,p:{array:{d:`the range or array to filter.`},include:{d:`an array of booleans where TRUE represents a row or column to retain.`},ifEmpty:{d:`return if no items are retained.`}}},FORMULATEXT:{s:`Returns a formula as a string.`,p:{reference:{d:`is a reference to a formula.`}}},GETPIVOTDATA:{s:`Extracts data stored in a PivotTable.`,p:{dataField:{d:`is the name of the data field to extract data from.`},pivotTable:{d:`is a reference to a cell or range of cells in the PivotTable that contains the data you want to retrieve.`},fieldItem:{d:`the field/item pairs to refer to.`},"fieldItem.field":{d:`field to refer to.`},"fieldItem.item":{d:`field item to refer to.`}},h:`Unimplemented Pivot`},HLOOKUP:{s:`Looks for a value in the top row of a table or array of values and returns the value in the same column from a row you specify.`,p:{lookupValue:{d:`is the value to be found in the first row of the table and can be a value, a reference, or a text string.`},tableArray:{d:`is a table of text, numbers, or logical values in which data is looked up. tableArray can be a reference to a range or a range name.`},rowIndexNum:{d:`is the row number in tableArray from which the matching value should be returned. The first row of values in the table is row 1.`},rangeLookup:{d:`is a logical value: to find the closest match in the top row (sorted in ascending order) = TRUE; find an exact match = FALSE.`}}},HSTACK:{s:`Horizontally stacks arrays into one array.`,p:{array:{d:`An array or reference to be stacked.`}}},HYPERLINK:{s:`Creates a shortcut or jump that opens a document stored on your hard drive, a network server, or on the Internet.`,p:{linkLocation:{d:`is the text giving the path and file name to the document to be opened, a hard drive location, UNC address, or URL path.`},friendlyName:{d:`is text or a number that is displayed in the cell. If omitted, the cell displays the linkLocation text.`}}},IMAGE:{s:`Returns an image from a given source.`,p:{source:{d:`The path of the source that points to the image.`},alternateText:{d:`The alternative text that describes the image for accessibility.`},sizing:{d:`The setting that determines the dimensions in which the image will be rendered in the cell.`},height:{d:`The custom height of the image in pixels.`},width:{d:`The custom width of the image in pixels.`}}},INDEX:{s:`Returns a value or reference of the cell at the intersection of a particular row and column, in a given range.`,p:{array:{d:`is a range of cells or an array constant.`},rowNum:{d:`selects the row in Array or Reference from which to return a value. If omitted, colNum is required.`},colNum:{d:`selects the column in Array or Reference from which to return a value. If omitted, rowNum is required.`},areaNum:{d:`selects the area in Array or Reference from which to return a value. If omitted, the first area is used.`}}},INDIRECT:{s:`Returns the reference specified by a text string.`,p:{refText:{d:`is a reference to a cell that contains an A1- or R1C1-style reference, a name defined as a reference, or a reference to a cell as a text string.`},a1:{d:`is a logical value that specifies the type of reference in refText: R1C1-style = FALSE; A1-style = TRUE.`}}},LOOKUP:{s:`Looks up a value either from a one-row or one-column range or from an array. Provided for backward compatibility.`,p:{lookupValue:{d:`is a value that LOOKUP searches for in lookupVector and can be a number, text, a logical value, or a name or reference to a value.`},lookupVector:{d:`is a range that contains only one row or one column of text, numbers, or logical values, placed in ascending order.`},resultVector:{d:`is a range that contains only one row or column, the same size as lookupVector.`}}},MATCH:{s:`Returns the relative position of an item in an array that matches a specified value in a specified order.`,p:{lookupValue:{d:`is the value you use to find the value you want in the array, a number, text, or logical value, or a reference to one of these.`},lookupArray:{d:`is a contiguous range of cells containing possible lookup values, an array of values, or a reference to an array.`},matchType:{d:`is a number 1, 0, or -1 indicating which value to return.`}}},OFFSET:{s:`Returns a reference to a range that is a given number of rows and columns from a given reference.`,p:{reference:{d:`is the reference from which you want to base the offset, a reference to a cell or range of adjacent cells.`},rows:{d:`is the number of rows, up or down, that you want the upper-left cell of the result to refer to.`},cols:{d:`is the number of columns, to the left or right, that you want the upper-left cell of the result to refer to.`},height:{d:`is the height, in number of rows, that you want the result to be, the same height as Reference if omitted.`},width:{d:`is the width, in number of columns, that you want the result to be, the same width as Reference if omitted.`}}},ROW:{s:`Returns the row number of a reference.`,p:{reference:{d:`is the cell or a single range of cells for which you want the row number; if omitted, returns the cell containing the ROW function.`}}},ROWS:{s:`Returns the number of rows in a reference or array.`,p:{array:{d:`is an array, an array formula, or a reference to a range of cells for which you want the number of rows.`}}},RTD:{s:`Retrieves the real-time data (RTD) from a program that supports COM automation.`,p:{progId:{d:`is the programmatic identifier (ProgID) of a registered COM automation add-in. Enclose the id in quotation marks.`},server:{d:`is the name of the server that provides the real-time data. If running locally us an empty string.`},topic:{d:`are 1 to 38 parameters that specify a piece of data.`}},h:`Unimplemented Connectivity`},SORT:{s:`Sorts a range or array.`,p:{array:{d:`the range or array to sort.`},sortIndex:{d:`a number indicating the row or column to sort by.`},sortOrder:{d:`a number indicating the desired sort order; 1 for ascending order (default), -1 for descending order.`},byCol:{d:`a logical value indicating the desired sort direction: FALSE to sort by row (default), TRUE to sort by column.`}}},SORTBY:{s:`Sorts a range or array based on the values in a corresponding range or array.`,p:{array:{d:`the range or array to sort.`},by:{d:`the ranges to sort on and the direction for each.`},"by.byArray":{d:`the range or array to sort on.`},"by.sortOrder":{d:`a number indicating the desired sort order; 1 for ascending order (default), -1 for descending order.`}}},TAKE:{s:`Returns rows or columns from array start or end.`,p:{array:{d:`The array from which to take rows or columns.`},rows:{d:`The number of rows to take. A negative value takes from the end of the array.`},columns:{d:`The number of columns to take. A negative value takes from the end of the array.`}}},TOCOL:{s:`Returns the array as one column.`,p:{array:{d:`The array or reference to return as a column.`},ignore:{d:`Whether to ignore certain types of values. By default, no values are ignored.`},scanByColumn:{d:`Scan the array by column. By default, the array is scanned by row.`}}},TOROW:{s:`Returns the array as one row.`,p:{array:{d:`The array or reference to return as a row.`},ignore:{d:`Whether to ignore certain types of values. By default, no values are ignored.`},scanByColumn:{d:`Scan the array by column. By default, the array is scanned by row.`}}},TRANSPOSE:{s:`Converts a vertical range of cells to a horizontal range, or vice versa.`,p:{array:{d:`is a range of cells on a worksheet or an array of values that you want to transpose.`}}},TRIMRANGE:{s:`Trims a range to the last used cell in any direction.`,p:{range:{d:`The range to be trimmed.`},rowTrimMode:{d:`Row trim direction. 0 - none, 1 - leading, 2 - trailing, 3 - both.`},colTrimMode:{d:`Column trim direction. 0 - none. 1 - leading, 2 - trailing, 3 - both.`}}},UNIQUE:{s:`Returns the unique values from a range or array.`,p:{array:{d:`the range or array from which to return unique rows or columns.`},byCol:{d:`is a logical value: compare rows against each other and return the unique rows = FALSE; compare columns against each other and return the unique columns = TRUE.`},exactlyOnce:{d:`is a logical value: return rows or columns that occur exactly once from the array = TRUE; return all distinct rows or columns from the array = FALSE.`}}},VLOOKUP:{s:`Looks for a value in the leftmost column of a table, and then returns a value in the same row from a column you specify. By default, the table must be sorted in an ascending order.`,p:{lookupValue:{d:`is the value to be found in the first column of the table, and can be a value, a reference, or a text string.`},tableArray:{d:`is a table of text, numbers, or logical values, in which data is retrieved. tableArray can be a reference to a range or a range name.`},colIndexNum:{d:`is the column number in tableArray from which the matching value should be returned. The first column of values in the table is column 1.`},rangeLookup:{d:`is a logical value: to find the closest match in the first column (sorted in ascending order) = TRUE; find an exact match = FALSE.`}}},VSTACK:{s:`Vertically stacks arrays into one array.`,p:{array:{d:`An array or reference to be stacked.`}}},WRAPCOLS:{s:`Wraps a row or column vector after a specified number of values.`,p:{vector:{d:`The vector or reference to wrap.`},wrapCount:{d:`The maximum number of values per column.`},padWith:{d:`The value with which to pad. The default is #N/A.`}}},WRAPROWS:{s:`Wraps a row or column vector after a specified number of values.`,p:{vector:{d:`The vector or reference to wrap.`},wrapCount:{d:`The maximum number of values per row.`},padWith:{d:`The value with which to pad. The default is #N/A.`}}},XLOOKUP:{s:`Searches a range or an array for a match and returns the corresponding item from a second range or array. By default, an exact match is used.`,p:{lookupValue:{d:`is the value to search for.`},lookupArray:{d:`is the array or range to search.`},returnArray:{d:`is the array or range to return.`},ifNotFound:{d:`returned if no match is found.`},matchMode:{d:`0=exact (default), -1=exact/next-smaller, 1=exact/next-larger, 2=wildcard`},searchMode:{d:`1=first→last (default), -1=last→first, 2=binary asc, -2=binary desc`}}},XMATCH:{s:`Returns the relative position of an item in an array. By default, an exact match is required.`,p:{lookupValue:{d:`is the value to search for.`},lookupArray:{d:`is the array or range to search.`},matchMode:{d:`0=exact (default), -1=exact/next-smaller, 1=exact/next-larger, 2=wildcard`},searchMode:{d:`1=first→last (default), -1=last→first, 2=binary asc, -2=binary desc`}}}},t={ImageSizing:{s:`How IMAGE sizes the picture in its cell.`,m:{"Fit to cell":{d:`Fits the picture in the cell, keeping its aspect ratio.`},"Fill cell":{d:`Fills the cell, ignoring the picture's aspect ratio.`},"Original size":{d:`Keeps the picture's own size, which may overflow the cell.`},"Custom size":{d:`Uses the height and width given.`}}},MatchType:{s:`How MATCH compares the lookup value with the values in the array.`,m:{"Less than":{d:`The largest value that is less than or equal to the lookup value. The array must be sorted in ascending order.`},"Exact match":{d:`The first value that is exactly equal to the lookup value. The array can be in any order.`},"Greater than":{d:`The smallest value that is greater than or equal to the lookup value. The array must be sorted in descending order.`}}},SortOrder:{s:`The direction SORT and SORTBY sort a key in.`,m:{Ascending:{d:`Smallest to largest.`},Descending:{d:`Largest to smallest.`}}},IgnoreValues:{s:`Which values to leave out.`,m:{"Keep all values":{d:`Keep every value, blanks and errors included.`},"Ignore blanks":{d:`Leave out blank cells.`},"Ignore errors":{d:`Leave out error values.`},"Ignore blanks and errors":{d:`Leave out blank cells and error values.`}}},MatchMode:{s:`How XLOOKUP and XMATCH match the lookup value.`,m:{"Exact match":{d:`Only an item equal to the lookup value.`},"Exact match or next smaller item":{d:`An item equal to the lookup value, or else the next smaller item.`},"Exact match or next larger item":{d:`An item equal to the lookup value, or else the next larger item.`},"Wildcard character match":{d:`The lookup value may use *, ? and ~ as wildcards.`}}},SearchMode:{s:`The order in which XLOOKUP and XMATCH search.`,m:{"Search first-to-last":{d:`Search from the first item to the last.`},"Search last-to-first":{d:`Search from the last item to the first.`},"Binary search (sorted ascending order)":{d:`A binary search of items sorted in ascending order.`},"Binary search (sorted descending order)":{d:`A binary search of items sorted in descending order.`}}}};export{e as default,t as enums};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{G as e,Lt as t,U as n}from"./Ca6nxdhEuLLty3d7.js";var r=[`customMenu`,`description`,`help`,`statusBar`,`shortcutKey`],i=[`function`,`vbProcedure`,`xlm`,`publishToServer`,`workbookParameter`],a=/<!\[CDATA\[([\s\S]*?)\]\]>|<!--[\s\S]*?-->|<\?[\s\S]*?\?>|<!DOCTYPE[^>]*>|<(\/?)([^\s/>]+)((?:\s+[^\s=/>]+\s*=\s*(?:"[^"]*"|'[^']*'))*)\s*(\/?)>|([^<]+)/g,o={amp:`&`,lt:`<`,gt:`>`,quot:`"`,apos:`'`},s=e=>e.indexOf(`&`)===-1?e:e.replace(/&(#x[0-9a-fA-F]+|#\d+|\w+);/g,(e,t)=>{if(t[0]!==`#`)return o[t]??e;let n=t[1]===`x`?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return Number.isFinite(n)?String.fromCodePoint(n):e}),c=e=>{let t=e.indexOf(`:`);return t===-1?e:e.slice(t+1)},l=e=>{let t={name:``,qname:``,attrs:``,children:[],start:0,end:e.length,contentStart:0,contentEnd:e.length},n=[t];a.lastIndex=0;for(let t=a.exec(e);t;t=a.exec(e)){let e=n[n.length-1];if(t[1]!==void 0)e.children.push(t[1]);else if(t[6]!==void 0)e.children.push(s(t[6]));else if(t[3]!==void 0){if(t[2]){if(n.length>1){let e=n.pop();e.contentEnd=t.index,e.end=t.index+t[0].length}continue}let r=t.index+t[0].length,i={name:c(t[3]),qname:t[3],attrs:t[4]??``,children:[],start:t.index,end:r,contentStart:r,contentEnd:r};e.children.push(i),t[5]||n.push(i)}}return t.children.find(e=>typeof e!=`string`)??null},u=e=>e.children.filter(e=>typeof e!=`string`),d=e=>{let t=``;for(let n of e.children)typeof n==`string`&&(t+=n);return t},f=`http://schemas.openxmlformats.org/drawingml/2006/chart`,ee=`http://purl.oclc.org/ooxml/drawingml/chart`,p=`http://schemas.openxmlformats.org/drawingml/2006/main`,te=`http://purl.oclc.org/ooxml/drawingml/main`,m=`http://schemas.openxmlformats.org/officeDocument/2006/relationships`,ne=`http://schemas.microsoft.com/office/drawing/2012/chart`,re=`http://schemas.microsoft.com/office/drawing/2014/chartex`,ie=`http://www.w3.org/XML/1998/namespace`,h={c:`c`,a:`a`,r:`r`,c15:`c15`,cx:`cx`},ae=e=>e===f||e===ee,oe=e=>e===p||e===te,se=e=>e===re,ce=Object.freeze({xml:ie}),le=/([^\s=]+)\s*=\s*(?:"([^"]*)"|'([^']*)')/g,g=e=>{let t=[];le.lastIndex=0;for(let n=le.exec(e.attrs);n;n=le.exec(e.attrs))t.push([n[1],s(n[2]??n[3]??``)]);return t},_=(e,t)=>{let n=null;for(let[r,i]of g(e))r===`xmlns`?(n??={...t})[``]=i:r.startsWith(`xmlns:`)&&((n??={...t})[r.slice(6)]=i);return n??t},ue=(e,t)=>t[(e=>{let t=e.indexOf(`:`);return t===-1?``:e.slice(0,t)})(e.qname)],v=class{constructor(){this._parts=[]}open(e,t,n=!1){let r=`<`+e;if(t)for(let[e,n]of t)r+=` ${e}="${de(n)}"`;return this._parts.push(r+(n?`/>`:`>`)),this}close(e){return this._parts.push(`</${e}>`),this}val(e,t){return this.open(e,[[`val`,t]],!0)}text(e){return this._parts.push((e=>e.replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`))(e)),this}raw(e){return this._parts.push(e),this}toString(){return this._parts.join(``)}},de=e=>e.replace(/&/g,`&`).replace(/</g,`<`).replace(/"/g,`"`),y=e=>e===`1`||e===`true`||e!==`0`&&e!==`false`&&null,b=e=>e?`1`:`0`,fe=/^[-+]?(?:\d+\.?\d*|\.\d+)(?:[eE][-+]?\d+)?$/,x=e=>{let t=y(e);return t===null?fe.test(e)?String(Number(e)):e:b(t)},pe=new Set(`date1904.roundedCorners.autoTitleDeleted.plotVisOnly.showDLblsOverMax.varyColors.marker.smooth.invertIfNegative.bubble3D.delete.showLegendKey.showVal.showCatName.showSerName.showPercent.showBubbleSize.showLeaderLines.overlay.rAngAx.showHorzBorder.showVertBorder.showOutline.showKeys.auto.noMultiLvlLbl.wireframe.showNegBubbles.autoUpdate.applyToFront.applyToSides.applyToEnd.chartObject.data.formatting.selection.userInterface`.split(`.`)),me=(e,t,n=!1)=>{let r=_(e,t),i=ue(e,r)??``,a=[];for(let[t,n]of g(e)){if(t===`xmlns`||t.startsWith(`xmlns:`))continue;let e=t.indexOf(`:`),i=e===-1?t:`{${r[t.slice(0,e)]??t.slice(0,e)}}${t.slice(e+1)}`;a.push(`${i}=${JSON.stringify(x(n))}`)}let o=u(e),s=o.length===0?e.children.join(``):``;a.length===0&&o.length===0&&s===``&&ae(i)&&pe.has(e.name)&&a.push(`val="1"`),a.sort();let c=`<{${i}}${e.name}${a.length?` `+a.join(` `):``}>`;if(o.length>0){let t=[];for(let i of e.children)typeof i==`string`?i.trim()!==``&&t.push(JSON.stringify(i)):t.push(me(i,r,n));n&&t.sort(),c+=t.join(``)}else s!==``&&(c+=JSON.stringify(s));return c+`</>`},he=class{constructor(e,t){this.xml=e,this.rootScope=t,this.kept=0,this.reordered=0;let n=Object.values(t).find(ae)??f,r=oe(t[h.a])?t[h.a]:p;this.writeScope={...t,[h.c]:n,[h.cx]:re,[h.a]:r,[h.r]:t[h.r]??m}}markupOf(e,t){let n=this.xml.slice(e.start,e.end),r=new Set(g(e).map(([e])=>e).filter(e=>e===`xmlns`||e.startsWith(`xmlns:`))),i=``;for(let e of Object.keys(t))e!==`xml`&&t[e]!==this.rootScope[e]&&(r.has(e===``?`xmlns`:`xmlns:${e}`)||(i+=e===``?` xmlns="${t[e]}"`:` xmlns:${e}="${t[e]}"`));if(i){let t=1+e.qname.length;n=n.slice(0,t)+i+n.slice(t)}return n}},ge=(e,t)=>{switch(e){case`c`:return ae(t);case`c15`:return t===ne;case`cx`:return se(t);default:return oe(t)}},S=(e,t,n,r)=>{let i=_(e,n),a={},o,s;for(let[n,r]of g(e)){let e=t.attributes?.find(e=>e.name===n),i=e?e.read(r):void 0;e&&i!==void 0&&x(e.write(i))===x(r)?a[e.key]=i:(o??={})[n]=r}let c=-1,l=``,d={};for(let n of u(e)){let e=_(n,i),o=ue(n,e),u=t.fields.findIndex(e=>e.tags.includes(n.name)&&ge(e.ns,o)),f=u===-1?null:t.fields[u],ee=f&&!f.many?f.get?f.get(a):a[f.key]:void 0,p=u>c||u===c&&!!f?.many;if(f&&ee===void 0&&(p||!f.many)){let t=f.read(n,e,r);if(t!==void 0){f.many?(a[f.key]??=[]).push(t):f.set?f.set(a,t):a[f.key]=t,d[f.key]=(d[f.key]??0)+1,p?(c=u,l=n.name):r.reordered++;continue}}let te=c===-1?null:t.fields[c],m={after:l,xml:r.markupOf(n,i)};te?.many&&(m.at=d[te.key]),(s??=[]).push(m)}return(o||s)&&(a.unknown={},s&&(a.unknown.elements=s),o&&(a.unknown.attributes=o)),t.afterRead?.(a,e,i,r),a},C=(e,t,n,r)=>{let i=[];for(let e of r.attributes??[]){let t=n[e.key];t!==void 0&&i.push([e.name,e.write(t)])}let a=n.unknown;if(a?.attributes)for(let e of Object.keys(a.attributes))i.push([e,a.attributes[e]]);for(let e of r.declares?.(n)??[])i.some(([t])=>t===e[0])||i.push(e);let o=new v,s=a?.elements?[...a.elements]:[],c=e=>{for(let t=0;t<s.length;t++)e(s[t])&&(o.raw(s[t].xml),s.splice(t--,1))};c(e=>e.after===``);for(let e of r.fields){let t=e.get?e.get(n):n[e.key],r=t=>e.tags.includes(t.after);if(e.many){let n=t??[];for(let t=0;t<n.length;t++)e.write(o,n[t]),c(e=>r(e)&&e.at===t+1)}else t!==void 0&&e.write(o,t);c(r)}c(()=>!0);let l=o.toString();l===``?e.open(t,i,!0):e.open(t,i).raw(l).close(t)},w=(e,t)=>`${h[e]}:${t}`,T=(e,t,n=e,r=`c`)=>({tags:[e],key:n,ns:r,read:e=>{let n=(e=>{if(u(e).length>0)return;let t=null;for(let[n,r]of g(e)){if(n!==`val`)return;t=r}return t})(e);if(n===void 0)return;if(t===`bool`)return n===null||(y(n)??void 0);if(n===null)return;if(t===`str`)return n;let r=Number(n);return Number.isFinite(r)&&(t!==`int`||Number.isInteger(r))&&x(String(r))===x(n)?r:void 0},write:(n,i)=>{n.val(w(r,e),t===`bool`?b(i):String(i))}}),E=(e,t=e,n=`c`)=>({tags:[e],key:t,ns:n,read:e=>{if(!(u(e).length>0||g(e).some(([e])=>!e.startsWith(`xmlns`))))return d(e)},write:(t,r)=>{let i=w(n,e);r===``?t.open(i,null,!0):t.open(i).text(r).close(i)}}),D=(e,t,n=e,r)=>{let i=r?.ns??`c`,a=typeof t==`function`?t:()=>t;return{tags:[e],key:n,ns:i,many:r?.many,read:(e,t,n)=>S(e,a(),t,n),write:(t,n)=>C(t,w(i,e),n,a())}},O=(e,t,n=e,r=1)=>({name:e,key:n,read:e=>{if(t===`str`)return e;if(t===`bool`)return y(e)??void 0;let n=Number(e);return Number.isFinite(n)&&(t!==`int`||Number.isInteger(n))?r===1?n:n/r:void 0},write:e=>t===`bool`?b(e):t===`str`?e:String(r===1?e:Math.round(e*r))}),_e=(e,t,n,r)=>({name:e,key:t,read:n,write:r}),ve=e=>({...e,read:(t,n,r)=>{let i=e.read(t,n,r);if(i===void 0)return;let a=new v;e.write(a,i);let o=((e,t)=>{let n=l(e);return n?me(n,t):null})(a.toString(),r.writeScope)===me(t,n);return o||r.kept++,o?i:void 0}}),k=e=>`a:${e}`,ye=new Set([`bg1`,`tx1`,`bg2`,`tx2`,`accent1`,`accent2`,`accent3`,`accent4`,`accent5`,`accent6`,`hlink`,`folHlink`,`phClr`,`dk1`,`lt1`,`dk2`,`lt2`]),be=new Set(`scrollBar.background.activeCaption.inactiveCaption.menu.window.windowFrame.menuText.windowText.captionText.activeBorder.inactiveBorder.appWorkspace.highlight.highlightText.btnFace.btnShadow.grayText.btnText.inactiveCaptionText.btnHighlight.3dDkShadow.3dLight.infoText.infoBk.hotLight.gradientActiveCaption.gradientInactiveCaption.menuHighlight.menuBar`.split(`.`)),xe=[`scrgbClr`,`srgbClr`,`hslClr`,`sysClr`,`schemeClr`,`prstClr`],Se=e=>e===`hue`||e===`hueOff`||e===`hueMod`?6e4:e===`alpha`||e===`alphaOff`||e===`alphaMod`?1e5:1e3,A=(e,t)=>{let n={};for(let[r,i]of g(e)){if(!t.includes(r))return null;n[r]=i}return n},j=/^-?\d+$/,Ce=e=>{let t=u(e);return t.length===0?null:t.length>1||!xe.includes(t[0].name)?void 0:(e=>{let t;switch(e.name){case`scrgbClr`:{let n=A(e,[`r`,`g`,`b`]);if(!(n&&j.test(n.r??``)&&j.test(n.g??``)&&j.test(n.b??``)))return;t=`lrgb(${Number(n.r)/1e3},${Number(n.g)/1e3},${Number(n.b)/1e3})`;break}case`hslClr`:{let n=A(e,[`hue`,`sat`,`lum`]);if(!(n&&j.test(n.hue??``)&&j.test(n.sat??``)&&j.test(n.lum??``)))return;t=`hsl(${Number(n.hue)/6e4},${Number(n.sat)/1e3},${Number(n.lum)/1e3})`;break}case`sysClr`:{let n=A(e,[`val`,`lastClr`]);if(!n?.val||!be.has(n.val))return;t=n.lastClr===void 0?n.val:`${n.val} lastClr ${n.lastClr}`;break}default:{let n=A(e,[`val`]);if(!n?.val||/\s/.test(n.val)||(ye.has(n.val)?`schemeClr`:/^[0-9A-Fa-f]{6}$/.test(n.val)?`srgbClr`:`prstClr`)!==e.name)return;t=n.val}}for(let n of u(e)){if(u(n).length>0)return;let e=A(n,[`val`]);if(!e)return;if(e.val!==void 0){if(!j.test(e.val))return;t+=` ${n.name} ${Number(e.val)/Se(n.name)}`}else t+=` ${n.name}`}return t})(t[0])},we=/^-?(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?$/i,Te=(e,n)=>{let r=(e=>{let t=e.trim(),n=/^[a-z]+\([^)]*\)|^[^\s,]+/i.exec(t)?.[0]??t,r=t.slice(n.length).split(/\s*,\s*|\s+/).filter(e=>e!==``);return[n.replace(/\s+/g,``),...r]})(n),i=r.shift(),a,o,s=/^(lrgb|hsl)\(([^,]+),([^,]+),([^)]+)\)$/.exec(i);if(s?.[1]===`lrgb`)a=`scrgbClr`,o=[[`r`,String(Math.round(1e3*Number(s[2])))],[`g`,String(Math.round(1e3*Number(s[3])))],[`b`,String(Math.round(1e3*Number(s[4])))]];else if(s?.[1]===`hsl`)a=`hslClr`,o=[[`hue`,String(Math.round(6e4*Number(s[2])))],[`sat`,String(Math.round(1e3*Number(s[3])))],[`lum`,String(Math.round(1e3*Number(s[4])))]];else if(r[0]===`lastClr`||be.has(i))a=`sysClr`,o=[[`val`,i]],r[0]===`lastClr`&&(r.shift(),o.push([`lastClr`,r.shift()]));else{let e=(e=>{if(ye.has(e)||/^[0-9A-Fa-f]{6}$/.test(e)||/^[a-z]+$/i.test(e))return null;let n;try{n=new t(e)}catch{return null}let r=n.getType();return r===`hex`||r===`rgb`||r===`hsl`?n.toHex().toString(!1).replace(`#`,``).toUpperCase():null})(i);a=e?`srgbClr`:ye.has(i)?`schemeClr`:/^[0-9A-Fa-f]{6}$/.test(i)?`srgbClr`:`prstClr`,o=[[`val`,e??i]]}if(r.length!==0){e.open(k(a),o);for(let t=0;t<r.length;t++){let n=r[t];t+1<r.length&&we.test(r[t+1])?e.val(k(n),String(Math.round(Number(r[++t])*Se(n)))):e.open(k(n),null,!0)}e.close(k(a))}else e.open(k(a),o,!0)},M=(e,t,n,r)=>{n===void 0?e.open(k(t),r,!0):(e.open(k(t),r),Te(e,n),e.close(k(t)))},Ee=[`noFill`,`solidFill`,`gradFill`,`pattFill`,`grpFill`],De=e=>{let t=A(e,[`l`,`t`,`r`,`b`]);if(!t)return;let n={};return t.l!==void 0&&(n.left=Number(t.l)/1e3),t.t!==void 0&&(n.top=Number(t.t)/1e3),t.r!==void 0&&(n.right=Number(t.r)/1e3),t.b!==void 0&&(n.bottom=Number(t.b)/1e3),n},Oe=(e,t,n)=>{let r=[];n.left!==void 0&&r.push([`l`,String(Math.round(1e3*n.left))]),n.top!==void 0&&r.push([`t`,String(Math.round(1e3*n.top))]),n.right!==void 0&&r.push([`r`,String(Math.round(1e3*n.right))]),n.bottom!==void 0&&r.push([`b`,String(Math.round(1e3*n.bottom))]),e.open(k(t),r,!0)},ke=t=>{switch(t.name){case`noFill`:return u(t).length===0&&g(t).length===0?{type:e.Type.None}:void 0;case`grpFill`:return u(t).length===0&&g(t).length===0?{type:e.Type.Group}:void 0;case`solidFill`:{if(g(t).length>0)return;let n=Ce(t);return n===void 0?void 0:n===null?{type:e.Type.Solid}:{type:e.Type.Solid,color:n}}case`gradFill`:return(t=>{let n=A(t,[`rotWithShape`,`flip`]);if(!n)return;let r={type:e.Type.Gradient};if(n.rotWithShape!==void 0){let e=y(n.rotWithShape);if(e===null)return;r.isRotatedWithShape=e}n.flip!==void 0&&(r.flip=n.flip);for(let n of u(t))if(n.name===`gsLst`){let e=[];for(let t of u(n)){let n=t.name===`gs`?A(t,[`pos`]):null,r=n&&j.test(n.pos??``)?Ce(t):void 0;if(!r)return;e.push({offset:Number(n.pos)/1e5,color:r})}r.stops=e}else if(n.name===`lin`){let t=A(n,[`ang`,`scaled`]);if(!t||u(n).length>0)return;if(r.gradientType=e.GradientType.Linear,t.ang!==void 0){if(!j.test(t.ang))return;r.angle=(Number(t.ang)/6e4+90)%360}if(t.scaled!==void 0){let e=y(t.scaled);if(e===null)return;r.scaled=e}}else if(n.name===`path`){let t=A(n,[`path`]);if(!t)return;r.gradientType=t.path===`circle`?e.GradientType.Path:t.path;let i=u(n);if(i.length>1||i.length===1&&i[0].name!==`fillToRect`)return;if(i.length===1){let e=De(i[0]);if(!e)return;r.focus={left:(e.left??0)/100,top:(e.top??0)/100,right:1-(e.right??0)/100,bottom:1-(e.bottom??0)/100}}}else{if(n.name!==`tileRect`)return;{let e=De(n);if(!e)return;r.tileRect=e}}return r})(t);case`pattFill`:{let n=A(t,[`prst`]);if(!n)return;let r={type:e.Type.Pattern};n.prst!==void 0&&(r.patternType=n.prst);for(let e of u(t)){let t=e.name===`fgClr`||e.name===`bgClr`?Ce(e):void 0;if(!t)return;e.name===`fgClr`?r.foreground=t:r.background=t}return r}}},Ae=(t,n)=>{switch(n.type){case e.Type.None:t.open(k(`noFill`),null,!0);return;case e.Type.Group:t.open(k(`grpFill`),null,!0);return;case e.Type.Solid:M(t,`solidFill`,n.color);return;case e.Type.Gradient:((t,n)=>{let r=[];if(n.flip!==void 0&&r.push([`flip`,n.flip]),n.isRotatedWithShape!==void 0&&r.push([`rotWithShape`,b(n.isRotatedWithShape)]),t.open(k(`gradFill`),r),n.stops){t.open(k(`gsLst`));for(let e of n.stops){let{offset:n,color:r}=typeof e==`string`?{offset:0,color:e}:e;M(t,`gs`,r,[[`pos`,String(Math.round(1e5*(n??0)))]])}t.close(k(`gsLst`))}if(n.gradientType===e.GradientType.Linear){let e=[];n.angle!==void 0&&e.push([`ang`,String(Math.round((n.angle-90+360)%360*6e4))]),n.scaled!==void 0&&e.push([`scaled`,b(n.scaled)]),t.open(k(`lin`),e,!0)}else if(n.gradientType!==void 0){let r=n.gradientType===e.GradientType.Path?`circle`:n.gradientType;n.focus?(t.open(k(`path`),[[`path`,r]]),Oe(t,`fillToRect`,{left:100*n.focus.left,top:100*n.focus.top,right:100*(1-n.focus.right),bottom:100*(1-n.focus.bottom)}),t.close(k(`path`))):t.open(k(`path`),[[`path`,r]],!0)}n.tileRect&&Oe(t,`tileRect`,n.tileRect),t.close(k(`gradFill`))})(t,n);return;case e.Type.Pattern:{let e=n,r=e.patternType===void 0?[]:[[`prst`,e.patternType]];e.foreground===void 0&&e.background===void 0?t.open(k(`pattFill`),r,!0):(t.open(k(`pattFill`),r),e.foreground!==void 0&&M(t,`fgClr`,e.foreground),e.background!==void 0&&M(t,`bgClr`,e.background),t.close(k(`pattFill`)));return}}throw Error(`A chart cannot write a fill of type '${n.type}'.`)},je=e=>ve({tags:Ee,key:e,ns:`a`,read:e=>ke(e),write:(e,t)=>Ae(e,t)}),Me={tags:[`effectLst`],key:`effects`,ns:`a`,read:e=>u(e).length===0&&g(e).length===0?[]:void 0,write:(e,t)=>{if(t.length>0)throw Error(`A chart cannot write effects yet.`);e.open(k(`effectLst`),null,!0)}},Ne={rnd:`round`,flat:`butt`,sq:`square`},Pe=(e,t)=>({tags:[e],key:`${t}Type`,ns:`a`,read:e=>{let t=A(e,[`type`,`w`,`len`]);if(t&&!(u(e).length>0)&&Object.keys(t).length!==0)return t},write:(t,n)=>{let r=[];for(let e of[`type`,`w`,`len`])n[e]!==void 0&&r.push([e,n[e]]);t.open(k(e),r,!0)},get:e=>{let n={};return e[`${t}Type`]!==void 0&&(n.type=e[`${t}Type`]),e[`${t}Width`]!==void 0&&(n.w=e[`${t}Width`]),e[`${t}Length`]!==void 0&&(n.len=e[`${t}Length`]),Object.keys(n).length>0?n:void 0},set:(e,n)=>{n.type!==void 0&&(e[`${t}Type`]=n.type),n.w!==void 0&&(e[`${t}Width`]=n.w),n.len!==void 0&&(e[`${t}Length`]=n.len)}}),Fe={attributes:[O(`w`,`int`,`width`,12700),_e(`cap`,`lineCap`,e=>Ne[e],e=>Object.keys(Ne).find(t=>Ne[t]===e)),O(`cmpd`,`str`,`compound`),O(`algn`,`str`,`align`)],fields:[je(`fill`),{tags:[`prstDash`,`custDash`],key:`dash`,ns:`a`,read:e=>{if(e.name===`prstDash`){let t=A(e,[`val`]);return t?.val!==void 0&&u(e).length===0?t.val:void 0}if(g(e).length>0)return;let t=[];for(let n of u(e)){let e=n.name===`ds`?A(n,[`d`,`sp`]):null;if(!e||!j.test(e.d??``)||!j.test(e.sp??``))return;t.push(Number(e.d)/1e3,Number(e.sp)/1e3)}return t},write:(e,t)=>{if(typeof t!=`string`){e.open(k(`custDash`));for(let n=0;n<t.length;n+=2)e.open(k(`ds`),[[`d`,String(Math.round(1e3*t[n]))],[`sp`,String(Math.round(1e3*t[n+1]))]],!0);e.close(k(`custDash`))}else e.val(k(`prstDash`),t)}},{tags:[`round`,`bevel`,`miter`],key:`lineJoin`,ns:`a`,read:e=>{let t=A(e,e.name===`miter`?[`lim`]:[]);if(t&&!(u(e).length>0)&&(t.lim===void 0||j.test(t.lim)))return{join:e.name,limit:t.lim===void 0?void 0:Number(t.lim)/1e5}},write:(e,t)=>{e.open(k(t.join),t.limit===void 0?null:[[`lim`,String(Math.round(1e5*t.limit))]],!0)},get:e=>e.lineJoin?{join:e.lineJoin,limit:e.miterLimit}:void 0,set:(e,t)=>{e.lineJoin=t.join,t.limit!==void 0&&(e.miterLimit=t.limit)}},Pe(`headEnd`,`head`),Pe(`tailEnd`,`tail`)]},Ie=e=>ve(D(`ln`,Fe,e,{ns:`a`})),Le={fields:[je(`fill`),Ie(`stroke`),Me]},N=(e,t,r)=>({tags:[e],key:t,ns:`a`,read:e=>{let t=A(e,[`typeface`]);if(!(t?.typeface===void 0||u(e).length>0))return r&&t.typeface===`+mn-${r}`?n.ThemeFamily.Body:r&&t.typeface===`+mj-${r}`?n.ThemeFamily.Heading:t.typeface},write:(t,i)=>{let a=r?i===n.ThemeFamily.Body?`+mn-${r}`:i===n.ThemeFamily.Heading?`+mj-${r}`:i:i;t.open(k(e),[[`typeface`,a]],!0)}}),Re=(e,t,n)=>{let r=Object.fromEntries(Object.entries(n).map(([e,t])=>[t,e]));return _e(e,t,e=>r[e],e=>n[e]??e)},P={attributes:[O(`lang`,`str`,`language`),O(`altLang`,`str`,`alternateLanguage`),O(`sz`,`int`,`size`,100),_e(`b`,`weight`,e=>{let t=y(e);return t===null?void 0:t?700:400},e=>b(e>=600)),_e(`i`,`style`,e=>{let t=y(e);return t===null?void 0:t?`italic`:`normal`},e=>b(e===`italic`)),Re(`u`,`underline`,{none:`none`,words:`words`,single:`sng`,double:`dbl`,heavy:`heavy`,dotted:`dotted`,dottedHeavy:`dottedHeavy`,dash:`dash`,dashHeavy:`dashHeavy`,dashLong:`dashLong`,dashLongHeavy:`dashLongHeavy`,dotDash:`dotDash`,dotDashHeavy:`dotDashHeavy`,dotDotDash:`dotDotDash`,dotDotDashHeavy:`dotDotDashHeavy`,wavy:`wavy`,wavyHeavy:`wavyHeavy`,wavyDouble:`wavyDbl`}),Re(`strike`,`strike`,{none:`noStrike`,single:`sngStrike`,double:`dblStrike`}),O(`kern`,`int`,`kerning`,100),Re(`cap`,`capitals`,{none:`none`,small:`small`,all:`all`}),O(`spc`,`int`,`letterSpacing`,100),O(`normalizeH`,`bool`,`normalizeHeight`),O(`baseline`,`int`,`baseline`,1e3)],fields:[Ie(`outline`),je(`color`),Me,N(`latin`,`latin`,`lt`),N(`ea`,`eastAsian`,`ea`),N(`cs`,`complexScript`,`cs`),N(`sym`,`symbol`)]},ze={attributes:[O(`algn`,`str`,`align`),O(`rtl`,`bool`,`rtl`)],fields:[D(`defRPr`,P,`defaultRun`,{ns:`a`})]},Be={fields:[D(`rPr`,P,`rPr`,{ns:`a`}),{tags:[`t`],key:`text`,ns:`a`,read:e=>{if(u(e).length>0)return;let t=!1;for(let[n,r]of g(e))if(n!==`xmlns`&&!n.startsWith(`xmlns:`)){if(n!==`xml:space`||r!==`preserve`)return;t=!0}return{text:d(e),preserve:t}},get:e=>e.text===void 0?void 0:{text:e.text,preserve:!0===e.preserveSpace},set:(e,t)=>{e.text=t.text,t.preserve&&(e.preserveSpace=!0)},write:(e,t)=>{let n=k(`t`),r=t.preserve?[[`xml:space`,`preserve`]]:null;t.text===``?e.open(n,r,!0):e.open(n,r).text(t.text).close(n)}}]},Ve={attributes:[O(`id`,`str`,`id`),O(`type`,`str`,`type`)],fields:Be.fields},He={fields:[D(`rPr`,P,`rPr`,{ns:`a`})]},Ue={fields:[D(`pPr`,ze,`pPr`,{ns:`a`}),{tags:[`r`,`br`,`fld`],key:`runs`,ns:`a`,many:!0,read:(e,t,n)=>{if(e.name===`br`)return{...S(e,He,t,n),text:`
|
|
2
|
-
`,break:!0};if(e.name===`r`){let r=S(e,Be,t,n);return r.text===void 0?void 0:r}let{id:r,type:i,...a}=S(e,Ve,t,n);return r===void 0?void 0:(a.text??=``,a.field=i===void 0?{id:r}:{id:r,type:i},a)},write:(e,t)=>{if(t.break){let{text:n,break:r,...i}=t;C(e,k(`br`),i,He)}else if(t.field){let{field:n,...r}=t;C(e,k(`fld`),{...r,id:n.id,type:n.type},Ve)}else C(e,k(`r`),t,Be)}},D(`endParaRPr`,P,`endRun`,{ns:`a`})]},We={fields:[D(`bodyPr`,{attributes:[O(`rot`,`int`,`rotation`,6e4),O(`spcFirstLastPara`,`bool`,`spcFirstLastPara`),O(`vertOverflow`,`str`,`vertOverflow`),O(`horzOverflow`,`str`,`horzOverflow`),O(`vert`,`str`,`vert`),O(`wrap`,`str`,`wrap`),O(`lIns`,`int`,`lIns`),O(`tIns`,`int`,`tIns`),O(`rIns`,`int`,`rIns`),O(`bIns`,`int`,`bIns`),O(`anchor`,`str`,`anchor`),O(`anchorCtr`,`bool`,`anchorCtr`)],fields:[]},`bodyPr`,{ns:`a`}),D(`lstStyle`,{fields:[]},`lstStyle`,{ns:`a`}),D(`p`,Ue,`paragraphs`,{ns:`a`,many:!0})]},F=()=>D(`spPr`,Le),I=()=>D(`txPr`,We),Ge={attributes:[O(`idx`,`int`),O(`formatCode`,`str`)],fields:[E(`v`)]},Ke={fields:[E(`formatCode`),T(`ptCount`,`int`),D(`pt`,Ge,`points`,{many:!0})]},qe={fields:[T(`ptCount`,`int`),D(`pt`,Ge,`points`,{many:!0})]},Je={fields:[T(`ptCount`,`int`),D(`lvl`,{fields:[D(`pt`,Ge,`points`,{many:!0})]},`levels`,{many:!0})]},Ye={fields:[E(`f`),D(`numCache`,Ke,`cache`)]},Xe={fields:[E(`f`),D(`strCache`,qe,`cache`)]},Ze={fields:[E(`f`),D(`multiLvlStrCache`,Je,`cache`)]},Qe=D(`datalabelsRange`,{fields:[E(`f`,`f`,`c15`),D(`dlblRangeCache`,qe,`cache`,{ns:`c15`})]},`datalabelsRange`,{ns:`c15`}),$e={...Qe,read:(e,t,n)=>t[h.c15]===ne?Qe.read(e,t,n):void 0},et=T(`showDataLabelsRange`,`bool`,`showDataLabelsRange`,`c15`),tt={...et,read:(e,t,n)=>t[h.c15]===ne?et.read(e,t,n):void 0},nt={fields:[D(`ext`,{attributes:[O(`uri`,`str`)],fields:[$e,tt],declares:e=>e.datalabelsRange!==void 0||e.showDataLabelsRange!==void 0?[[`xmlns:${h.c15}`,ne]]:[]},`extensions`,{many:!0})]},rt={fields:[D(`multiLvlStrRef`,Ze),D(`numRef`,Ye),D(`numLit`,Ke),D(`strRef`,Xe),D(`strLit`,qe)]},it={fields:[D(`strRef`,Xe),E(`v`)]},at={fields:[D(`strRef`,Xe),D(`rich`,We)]},ot={attributes:[O(`formatCode`,`str`),O(`sourceLinked`,`bool`)],fields:[]},L={fields:[D(`manualLayout`,{fields:[T(`layoutTarget`,`str`),T(`xMode`,`str`),T(`yMode`,`str`),T(`wMode`,`str`),T(`hMode`,`str`),T(`x`,`num`),T(`y`,`num`),T(`w`,`num`),T(`h`,`num`)]})]},st={fields:[D(`tx`,at),D(`layout`,L),T(`overlay`,`bool`),F(),I()]},ct={fields:[F()]},lt={fields:[T(`symbol`,`str`),T(`size`,`int`),F()]},ut={fields:[T(`idx`,`int`),T(`invertIfNegative`,`bool`),D(`marker`,lt),T(`bubble3D`,`bool`),T(`explosion`,`int`),F()]},dt=()=>[D(`numFmt`,ot),F(),I(),T(`dLblPos`,`str`),T(`showLegendKey`,`bool`),T(`showVal`,`bool`),T(`showCatName`,`bool`),T(`showSerName`,`bool`),T(`showPercent`,`bool`),T(`showBubbleSize`,`bool`),E(`separator`)],ft={fields:[D(`dLbl`,{fields:[T(`idx`,`int`),T(`delete`,`bool`),D(`layout`,L),D(`tx`,at),...dt(),D(`extLst`,nt)]},`labels`,{many:!0}),T(`delete`,`bool`),...dt(),T(`showLeaderLines`,`bool`),D(`leaderLines`,ct),D(`extLst`,nt)]},pt={fields:[D(`layout`,L),D(`tx`,at),D(`numFmt`,ot),F(),I()]},mt={fields:[E(`name`),F(),T(`trendlineType`,`str`),T(`order`,`int`),T(`period`,`int`),T(`forward`,`num`),T(`backward`,`num`),T(`intercept`,`num`),T(`dispRSqr`,`bool`),T(`dispEq`,`bool`),D(`trendlineLbl`,pt)]},ht={fields:[T(`errDir`,`str`),T(`errBarType`,`str`),T(`errValType`,`str`),T(`noEndCap`,`bool`),D(`plus`,rt),D(`minus`,rt),T(`val`,`num`),F(),D(`extLst`,nt)]},gt={fields:[T(`gapWidth`,`int`),D(`upBars`,ct),D(`downBars`,ct)]},R=()=>[T(`idx`,`int`),T(`order`,`int`),D(`tx`,it),F()],z=()=>D(`dPt`,ut,`points`,{many:!0}),B=()=>D(`dLbls`,ft),V=()=>D(`trendline`,mt,`trendlines`,{many:!0}),H=()=>D(`errBars`,ht,`errBars`,{many:!0}),U=e=>D(e,rt),W=()=>D(`extLst`,nt),_t={bar:{fields:[...R(),T(`invertIfNegative`,`bool`),z(),B(),V(),H(),U(`cat`),U(`val`),T(`shape`,`str`),W()]},line:{fields:[...R(),D(`marker`,lt),z(),B(),V(),H(),U(`cat`),U(`val`),T(`smooth`,`bool`),W()]},area:{fields:[...R(),z(),B(),V(),H(),U(`cat`),U(`val`),W()]},pie:{fields:[...R(),T(`explosion`,`int`),z(),B(),U(`cat`),U(`val`),W()]},scatter:{fields:[...R(),D(`marker`,lt),z(),B(),V(),H(),U(`xVal`),U(`yVal`),T(`smooth`,`bool`),W()]},bubble:{fields:[...R(),T(`invertIfNegative`,`bool`),z(),B(),V(),H(),U(`xVal`),U(`yVal`),U(`bubbleSize`),T(`bubble3D`,`bool`),W()]},radar:{fields:[...R(),D(`marker`,lt),z(),B(),U(`cat`),U(`val`),W()]},surface:{fields:[...R(),U(`cat`),U(`val`),W()]}},G=e=>D(`ser`,_t[e],`series`,{many:!0}),K=()=>({...T(`axId`,`int`,`axIds`),many:!0}),q=(e,t)=>D(e,ct,e,{many:t}),vt={tags:[`custSplit`],key:`custSplit`,ns:`c`,read:(e,t,n)=>{let r=S(e,{fields:[{...T(`secondPiePt`,`int`,`points`),many:!0}]},t,n);return r.unknown?void 0:r.points??[]},write:(e,t)=>{C(e,`c:custSplit`,{points:t},{fields:[{...T(`secondPiePt`,`int`,`points`),many:!0}]})}},yt={fields:[T(`idx`,`int`),F()]},bt={tags:[`bandFmts`],key:`bandFmts`,ns:`c`,read:(e,t,n)=>{let r=S(e,{fields:[D(`bandFmt`,yt,`formats`,{many:!0})]},t,n);return r.unknown?void 0:r.formats??[]},write:(e,t)=>{C(e,`c:bandFmts`,{formats:t},{fields:[D(`bandFmt`,yt,`formats`,{many:!0})]})}},xt={areaChart:{type:`area`,codec:{fields:[T(`grouping`,`str`),T(`varyColors`,`bool`),G(`area`),B(),q(`dropLines`),K()]}},area3DChart:{type:`area`,is3D:!0,codec:{fields:[T(`grouping`,`str`),T(`varyColors`,`bool`),G(`area`),B(),q(`dropLines`),T(`gapDepth`,`int`),K()]}},lineChart:{type:`line`,codec:{fields:[T(`grouping`,`str`),T(`varyColors`,`bool`),G(`line`),B(),q(`dropLines`),q(`hiLowLines`),D(`upDownBars`,gt),T(`marker`,`bool`),T(`smooth`,`bool`),K()]}},line3DChart:{type:`line`,is3D:!0,codec:{fields:[T(`grouping`,`str`),T(`varyColors`,`bool`),G(`line`),B(),q(`dropLines`),T(`gapDepth`,`int`),K()]}},stockChart:{type:`stock`,codec:{fields:[G(`line`),B(),q(`dropLines`),q(`hiLowLines`),D(`upDownBars`,gt),K()]}},radarChart:{type:`radar`,codec:{fields:[T(`radarStyle`,`str`),T(`varyColors`,`bool`),G(`radar`),B(),K()]}},scatterChart:{type:`scatter`,codec:{fields:[T(`scatterStyle`,`str`),T(`varyColors`,`bool`),G(`scatter`),B(),K()]}},pieChart:{type:`pie`,codec:{fields:[T(`varyColors`,`bool`),G(`pie`),B(),T(`firstSliceAng`,`int`)]}},pie3DChart:{type:`pie`,is3D:!0,codec:{fields:[T(`varyColors`,`bool`),G(`pie`),B()]}},doughnutChart:{type:`doughnut`,codec:{fields:[T(`varyColors`,`bool`),G(`pie`),B(),T(`firstSliceAng`,`int`),T(`holeSize`,`int`)]}},barChart:{type:`bar`,codec:{fields:[T(`barDir`,`str`),T(`grouping`,`str`),T(`varyColors`,`bool`),G(`bar`),B(),T(`gapWidth`,`int`),T(`overlap`,`int`),q(`serLines`,!0),K()]}},bar3DChart:{type:`bar`,is3D:!0,codec:{fields:[T(`barDir`,`str`),T(`grouping`,`str`),T(`varyColors`,`bool`),G(`bar`),B(),T(`gapWidth`,`int`),T(`gapDepth`,`int`),T(`shape`,`str`),K()]}},ofPieChart:{type:`ofPie`,codec:{fields:[T(`ofPieType`,`str`),T(`varyColors`,`bool`),G(`pie`),B(),T(`gapWidth`,`int`),T(`splitType`,`str`),T(`splitPos`,`num`),vt,T(`secondPieSize`,`int`),q(`serLines`,!0)]}},surfaceChart:{type:`surface`,codec:{fields:[T(`wireframe`,`bool`),G(`surface`),bt,K()]}},surface3DChart:{type:`surface`,is3D:!0,codec:{fields:[T(`wireframe`,`bool`),G(`surface`),bt,K()]}},bubbleChart:{type:`bubble`,codec:{fields:[T(`varyColors`,`bool`),G(`bubble`),B(),T(`bubble3D`,`bool`),T(`bubbleScale`,`int`),T(`showNegBubbles`,`bool`),T(`sizeRepresents`,`str`),K()]}}},St={tags:Object.keys(xt),key:`groups`,ns:`c`,many:!0,read:(e,t,n)=>{let{type:r,is3D:i,codec:a}=xt[e.name],o=S(e,a,t,n);return o.series??=[],o.axIds??=[],i?{type:r,is3D:i,...o}:{type:r,...o}},write:(e,t)=>{let n=(e=>`${e.type}${e.is3D?`3D`:``}Chart`)(t),{type:r,is3D:i,...a}=Et(t);C(e,`c:${n}`,a,xt[n].codec)}},Ct=[`ctr`,`l`,`r`,`t`,`b`],wt=e=>{switch(e.type){case`bar`:return e.is3D?[]:e.grouping===`stacked`||e.grouping===`percentStacked`?[`ctr`,`inEnd`,`inBase`]:[`ctr`,`inEnd`,`inBase`,`outEnd`];case`line`:return e.is3D?[]:Ct;case`stock`:case`scatter`:case`bubble`:return Ct;case`pie`:case`ofPie`:return[`ctr`,`inEnd`,`outEnd`,`bestFit`];default:return[]}},Tt=(e,t)=>t?.dLblPos!==void 0&&!e.includes(t.dLblPos),Et=e=>{let t=wt(e),n=e=>{if(!Tt(t,e))return e;let{dLblPos:n,...r}=e;return r},r=e=>e.labels?{...n(e),labels:e.labels.map(n)}:n(e);return{...e,...e.dLbls?{dLbls:r(e.dLbls)}:{},series:e.series.map(e=>e.dLbls?{...e,dLbls:r(e.dLbls)}:e)}},Dt={fields:[T(`logBase`,`num`),T(`orientation`,`str`),T(`max`,`num`),T(`min`,`num`)]},Ot={fields:[D(`layout`,L),D(`tx`,at),F(),I()]},kt={fields:[T(`custUnit`,`num`),T(`builtInUnit`,`str`),D(`dispUnitsLbl`,Ot)]},At=()=>[T(`axId`,`int`),D(`scaling`,Dt),T(`delete`,`bool`),T(`axPos`,`str`),q(`majorGridlines`),q(`minorGridlines`),D(`title`,st),D(`numFmt`,ot),T(`majorTickMark`,`str`),T(`minorTickMark`,`str`),T(`tickLblPos`,`str`),F(),I(),T(`crossAx`,`int`),T(`crosses`,`str`),T(`crossesAt`,`num`)],J={valAx:{type:`val`,codec:{fields:[...At(),T(`crossBetween`,`str`),T(`majorUnit`,`num`),T(`minorUnit`,`num`),D(`dispUnits`,kt)]}},catAx:{type:`cat`,codec:{fields:[...At(),T(`auto`,`bool`),T(`lblAlgn`,`str`),T(`lblOffset`,`int`),T(`tickLblSkip`,`int`),T(`tickMarkSkip`,`int`),T(`noMultiLvlLbl`,`bool`)]}},dateAx:{type:`date`,codec:{fields:[...At(),T(`auto`,`bool`),T(`lblOffset`,`int`),T(`baseTimeUnit`,`str`),T(`majorUnit`,`num`),T(`majorTimeUnit`,`str`),T(`minorUnit`,`num`),T(`minorTimeUnit`,`str`)]}},serAx:{type:`ser`,codec:{fields:[...At(),T(`tickLblSkip`,`int`),T(`tickMarkSkip`,`int`)]}}},jt={tags:Object.keys(J),key:`axes`,ns:`c`,many:!0,read:(e,t,n)=>({type:J[e.name].type,...S(e,J[e.name].codec,t,n)}),write:(e,t)=>{let{type:n,...r}=t,i=`${n}Ax`;C(e,`c:${i}`,r,J[i].codec)}},Mt={fields:[T(`showHorzBorder`,`bool`),T(`showVertBorder`,`bool`),T(`showOutline`,`bool`),T(`showKeys`,`bool`),F(),I()]},Nt={fields:[D(`layout`,L),St,jt,D(`dTable`,Mt),F()],afterRead:e=>{e.groups??=[],e.axes??=[]}},Pt={fields:[T(`rotX`,`int`),T(`hPercent`,`int`),T(`rotY`,`int`),T(`depthPercent`,`int`),T(`rAngAx`,`bool`),T(`perspective`,`int`)]},Ft={fields:[T(`thickness`,`int`),F()]},It={fields:[T(`idx`,`int`),T(`delete`,`bool`),I()]},Lt={fields:[T(`legendPos`,`str`),D(`legendEntry`,It,`entries`,{many:!0}),D(`layout`,L),T(`overlay`,`bool`),F(),I()]},Rt={fields:[D(`title`,st),T(`autoTitleDeleted`,`bool`),D(`view3D`,Pt),D(`floor`,Ft),D(`sideWall`,Ft),D(`backWall`,Ft),D(`plotArea`,Nt),D(`legend`,Lt),T(`plotVisOnly`,`bool`),T(`dispBlanksAs`,`str`),T(`showDLblsOverMax`,`bool`)]},zt={fields:[E(`name`),T(`fmtId`,`int`)]},Bt={fields:[T(`date1904`,`bool`),T(`lang`,`str`),T(`roundedCorners`,`bool`),T(`style`,`int`),D(`pivotSource`,zt),D(`chart`,Rt),F(),I()]},Vt=e=>{let t=l(e);if(!t||t.name!==`chartSpace`)return null;let n=_(t,ce);if(!ae(ue(t,n)))return null;let r=new he(e,n);return{model:S(t,Bt,ce,r),kept:r.kept,reordered:r.reordered}},Ht=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r
|
|
3
|
-
`,Ut=e=>{let t={...e.unknown?.attributes},n=(e,n)=>{t[`xmlns:${e}`]??=n};n(h.c,f),n(h.a,p),n(h.r,m);let r=new v().raw(Ht);return((e,t)=>{C(e,`c:chartSpace`,t,Bt)})(r,{...e,unknown:{...e.unknown,attributes:t}}),r.toString()},Wt=(e,t)=>{if(t&&(n=e,!(n.chart?.plotArea?.groups??[]).some(e=>{let t=wt(e),n=e=>Tt(t,e)||!!e?.labels?.some(e=>Tt(t,e));return n(e.dLbls)||e.series.some(e=>n(e.dLbls))}))){let n=Vt(t);if(n&&JSON.stringify(n.model)===JSON.stringify(e))return t}var n;return Ut(e)},Y=(e,t,n=e,r)=>D(e,t,n,{ns:`cx`,many:r}),X=()=>Y(`spPr`,Le),Z=()=>Y(`txPr`,We),Gt=()=>Y(`numFmt`,ot),Kt=e=>({name:e,key:e,read:e=>{if(e===`auto`)return`auto`;let t=Number(e);return e.trim()!==``&&Number.isFinite(t)?t:void 0},write:e=>String(e)}),qt=e=>g(e).filter(([e])=>e!==`xmlns`&&!e.startsWith(`xmlns:`)),Jt=e=>({tags:[e],key:e,ns:`cx`,read:e=>{if(u(e).length>0)return;let t={f:d(e)};for(let[n,r]of qt(e)){if(n!==`dir`||r!==`col`&&r!==`row`)return;t.dir=r}return t.f===``?void 0:t},write:(t,n)=>{let r=w(`cx`,e);t.open(r,n.dir?[[`dir`,n.dir]]:null).text(n.f).close(r)}}),Yt={attributes:[O(`ptCount`,`int`),O(`formatCode`,`str`),O(`name`,`str`)],fields:[{tags:[`pt`],key:`points`,ns:`cx`,many:!0,read:e=>{if(u(e).length>0)return;let t=qt(e);if(t.length!==1||t[0][0]!==`idx`)return;let n=Number(t[0][1]);return Number.isInteger(n)&&x(String(n))===x(t[0][1])?{idx:n,v:d(e)}:void 0},write:(e,t)=>{let n=w(`cx`,`pt`);t.v===``?e.open(n,[[`idx`,String(t.idx)]],!0):e.open(n,[[`idx`,String(t.idx)]]).text(t.v).close(n)}}]},Xt={attributes:[O(`type`,`str`)],fields:[Jt(`f`),Jt(`nf`),Y(`lvl`,Yt,`levels`,!0)]},Zt=new Set([`val`,`x`,`y`,`size`,`colorVal`]),Qt=new Set([`cat`,`colorStr`,`entityId`]),$t={fields:[Y(`data`,{attributes:[O(`id`,`int`)],fields:[{tags:[`numDim`,`strDim`],key:`dimensions`,ns:`cx`,many:!0,read:(e,t,n)=>{let r=S(e,Xt,t,n);return(e.name===`numDim`?Zt:Qt).has(r.type)?r:void 0},write:(e,t)=>{C(e,w(`cx`,Zt.has(t.type)?`numDim`:`strDim`),t,Xt)}}],afterRead:e=>{e.dimensions??=[]}},`data`,!0)],afterRead:e=>{e.data??=[]}},en={fields:[Y(`txData`,{fields:[Jt(`f`),E(`v`,`v`,`cx`)]}),Y(`rich`,We)]},tn=()=>[O(`pos`,`str`),O(`align`,`str`),O(`overlay`,`bool`)],nn={attributes:tn(),fields:[Y(`tx`,en),X(),Z()]},rn={attributes:tn(),fields:[X(),Z()]},an={attributes:[O(`seriesName`,`bool`),O(`categoryName`,`bool`),O(`value`,`bool`)],fields:[]},on=()=>[Gt(),X(),Z(),Y(`visibility`,an),E(`separator`,`separator`,`cx`)],sn={attributes:[O(`idx`,`int`),O(`pos`,`str`)],fields:on()},cn={attributes:[O(`idx`,`int`)],fields:[]},ln={attributes:[O(`pos`,`str`)],fields:[...on(),Y(`dataLabel`,sn,`labels`,!0),Y(`dataLabelHidden`,cn,`hiddenLabels`,!0)]},un={attributes:[O(`idx`,`int`)],fields:[X()]},dn={attributes:[`connectorLines`,`meanLine`,`meanMarker`,`nonoutliers`,`outliers`].map(e=>O(e,`bool`)),fields:[]},fn={attributes:[O(`intervalClosed`,`str`),Kt(`underflow`),Kt(`overflow`)],fields:[T(`binSize`,`num`,`binSize`,`cx`),T(`binCount`,`int`,`binCount`,`cx`)]},pn={fields:[{...T(`idx`,`int`,`indexes`,`cx`),many:!0}]},mn={fields:[T(`parentLabelLayout`,`str`,`parentLabelLayout`,`cx`),T(`regionLabelLayout`,`str`,`regionLabelLayout`,`cx`),Y(`visibility`,dn),Y(`aggregation`,{fields:[]}),Y(`binning`,fn),Y(`statistics`,{attributes:[O(`quartileMethod`,`str`)],fields:[]}),{tags:[`subtotals`],key:`subtotals`,ns:`cx`,read:(e,t,n)=>{let r=S(e,pn,t,n);return r.unknown?void 0:r.indexes??[]},write:(e,t)=>{C(e,w(`cx`,`subtotals`),{indexes:t},pn)}}]},hn={attributes:[O(`layoutId`,`str`),O(`hidden`,`bool`),O(`ownerIdx`,`int`),O(`uniqueId`,`str`),O(`formatIdx`,`int`)],fields:[Y(`tx`,en),X(),Y(`dataPt`,un,`points`,!0),Y(`dataLabels`,ln),T(`dataId`,`int`,`dataId`,`cx`),Y(`layoutPr`,mn),{...T(`axisId`,`int`,`axisIds`,`cx`),many:!0}]},gn={fields:[Y(`plotSurface`,{fields:[X()]}),Y(`series`,hn,`series`,!0)],afterRead:e=>{e.series??=[]}},_n={fields:[Y(`tx`,en),X(),Z()]},vn={fields:[X()]},yn={attributes:[O(`type`,`str`)],fields:[]},bn={attributes:[O(`id`,`int`),O(`hidden`,`bool`)],fields:[Y(`catScaling`,{attributes:[O(`gapWidth`,`num`)],fields:[]}),Y(`valScaling`,{attributes:[`max`,`min`,`majorUnit`,`minorUnit`].map(e=>O(e,`num`)),fields:[]}),Y(`title`,_n),Y(`units`,{attributes:[O(`unit`,`str`)],fields:[Y(`unitsLabel`,_n)]}),Y(`majorGridlines`,vn),Y(`minorGridlines`,vn),Y(`majorTickMarks`,yn),Y(`minorTickMarks`,yn),Y(`tickLabels`,{fields:[]}),Gt(),X(),Z()]},xn={fields:[Y(`plotAreaRegion`,gn),Y(`axis`,bn,`axes`,!0),X()],afterRead:e=>{e.axes??=[]}},Sn={fields:[Y(`title`,nn),Y(`plotArea`,xn),Y(`legend`,rn)]},Cn={fields:[Y(`chartData`,$t),Y(`chart`,Sn),X(),Z()]},wn={waterfall:`waterfall`,clusteredColumn:`histogram`,boxWhisker:`boxWhisker`,treemap:`treemap`,sunburst:`sunburst`,funnel:`funnel`,regionMap:`regionMap`},Tn=Object.fromEntries(Object.entries(wn).map(([e,t])=>[t,e])),En=new Set(Object.values(wn)),Dn=`paretoLine`,On={cat:`cat`,val:`val`,x:`xVal`,y:`yVal`,size:`bubbleSize`,colorVal:`color`,colorStr:`color`,entityId:`entityId`},kn=new Set([`val`,`x`,`y`,`size`,`colorVal`]),An=[`cat`,`colorStr`,`entityId`,`x`,`y`,`val`,`size`,`colorVal`],Q=e=>{for(let t of Object.keys(e))e[t]===void 0&&delete e[t];return e},$=e=>Q({f:e.f,dir:e.dir}),jn=e=>e&&Q({strRef:e.txData?.f?$(e.txData.f):void 0,v:e.txData?.v,rich:e.rich,unknown:e.unknown}),Mn=e=>e&&Q({tx:jn(e.tx),overlay:e.overlay,spPr:e.spPr,txPr:e.txPr,pos:e.pos,align:e.align,unknown:e.unknown}),Nn=e=>Q({numFmt:e.numFmt,spPr:e.spPr,txPr:e.txPr,dLblPos:e.pos,showSerName:e.visibility?.seriesName,showCatName:e.visibility?.categoryName,showVal:e.visibility?.value,separator:e.separator,unknown:e.unknown}),Pn=e=>{if(!e)return;let t=Nn(e),n=[...(e.labels??[]).map(e=>({idx:e.idx,...Nn(e)})),...(e.hiddenLabels??[]).map(e=>({idx:e.idx,delete:!0}))];return n.length>0&&(t.labels=n),t},Fn=(e,t)=>{let n=(e??[]).map(e=>({...e}));for(let e of[...t??[]].sort((e,t)=>e-t)){let t=n.find(t=>t.idx===e);t?t.subtotal=!0:n.push({idx:e,subtotal:!0})}return n.length>0?n:void 0},In=e=>{if(!e)return;let{subtotals:t,...n}=e;return Object.keys(n).length>0?n:void 0},Ln=e=>Q({ptCount:e.ptCount,formatCode:e.formatCode,name:e.name,points:(e.points??[]).map(e=>({idx:e.idx,v:e.v})),unknown:e.unknown}),Rn=e=>{let t=kn.has(e.type),n=e.levels?.map(Ln),r={};return e.f?r[t?`numRef`:`strRef`]=Q({...$(e.f),cache:n?{levels:n}:void 0}):r[t?`numLit`:`strLit`]=Q({levels:n}),e.nf&&(r.nf=$(e.nf)),e.unknown&&(r.unknown=e.unknown),r},zn=(e,t)=>{let n=Q({idx:e.formatIdx,hidden:e.hidden,uniqueId:e.uniqueId,tx:jn(e.tx),spPr:e.spPr,points:Fn(e.points,e.layoutPr?.subtotals),dLbls:Pn(e.dataLabels),layoutPr:In(e.layoutPr),unknown:e.unknown});for(let e of t?.dimensions??[]){let t=On[e.type];t&&!n[t]&&(n[t]=Rn(e))}return n},Bn=e=>Q({idx:e.formatIdx,hidden:e.hidden,uniqueId:e.uniqueId,tx:jn(e.tx),spPr:e.spPr,points:Fn(e.points,e.layoutPr?.subtotals),dLbls:Pn(e.dataLabels),layoutPr:In(e.layoutPr),axIds:e.axisIds,unknown:e.unknown}),Vn=(e,t)=>{let n=new Map(t.map(e=>[e.id,e])),r=[],i=[],a=null;for(let t of e?.series??[]){if(t.layoutId===Dn){let e=t.ownerIdx===void 0?null:i[t.ownerIdx];e&&!e.cumulativeLine&&(e.cumulativeLine=Bn(t)),i.push(null);continue}let e=wn[t.layoutId]??t.layoutId,o=t.axisIds??[];a&&a.type===e&&JSON.stringify(a.axIds)===JSON.stringify(o)||(a={type:e,series:[],axIds:o},r.push(a));let s=zn(t,t.dataId===void 0?void 0:n.get(t.dataId));a.series.push(s),i.push(s)}return r},Hn=e=>{let t=e.catScaling??e.valScaling;return Q({type:e.catScaling||!e.valScaling?`cat`:`val`,axId:e.id,scaling:Q({max:e.valScaling?.max,min:e.valScaling?.min,gapWidth:e.catScaling?.gapWidth,unknown:t?.unknown}),delete:e.hidden,majorGridlines:e.majorGridlines,minorGridlines:e.minorGridlines,title:Mn(e.title),numFmt:e.numFmt,majorTickMark:e.majorTickMarks?.type,minorTickMark:e.minorTickMarks?.type,tickLblPos:e.tickLabels?void 0:`none`,spPr:e.spPr,txPr:e.txPr,majorUnit:e.valScaling?.majorUnit,minorUnit:e.valScaling?.minorUnit,dispUnits:e.units&&Q({builtInUnit:e.units.unit,dispUnitsLbl:Mn(e.units.unitsLabel),unknown:e.units.unknown}),unknown:e.unknown})},Un=e=>e&&Q({txData:e.strRef||e.v!==void 0?Q({f:e.strRef?$(e.strRef):void 0,v:e.v}):void 0,rich:e.rich,unknown:e.unknown}),Wn=e=>e&&Q({tx:Un(e.tx),spPr:e.spPr,txPr:e.txPr,unknown:e.unknown}),Gn=e=>{let t=e.showSerName!==void 0||e.showCatName!==void 0||e.showVal!==void 0;return Q({pos:e.dLblPos,numFmt:e.numFmt,spPr:e.spPr,txPr:e.txPr,visibility:t?Q({seriesName:e.showSerName,categoryName:e.showCatName,value:e.showVal}):void 0,separator:e.separator,unknown:e.unknown})},Kn=e=>!0===e.delete&&Object.keys(e).every(e=>e===`idx`||e===`delete`),qn=e=>{if(!e)return;let t=Gn(e),n=(e.labels??[]).filter(e=>!Kn(e)).map(e=>({idx:e.idx,...Gn(e)})),r=(e.labels??[]).filter(Kn).map(e=>({idx:e.idx}));return n.length>0&&(t.labels=n),r.length>0&&(t.hiddenLabels=r),t},Jn=e=>{let t=(e??[]).filter(e=>Object.keys(e).some(e=>e!==`idx`&&e!==`subtotal`)).map(({subtotal:e,...t})=>t);return t.length>0?t:void 0},Yn=(e,t,n)=>{let r=(t??[]).filter(e=>e.subtotal).map(e=>e.idx).sort((e,t)=>e-t);return r.length!==0||n?{...e,subtotals:r}:e},Xn=e=>Q({ptCount:e.ptCount,formatCode:e.formatCode,name:e.name,points:e.points.length>0?e.points.map(e=>({idx:e.idx,v:e.v})):void 0,unknown:e.unknown}),Zn=(e,t)=>e===`color`?t.strRef||t.strLit?`colorStr`:`colorVal`:Object.keys(On).find(t=>On[t]===e),Qn=e=>{let t=[];for(let n of[`cat`,`val`,`xVal`,`yVal`,`bubbleSize`,`color`,`entityId`]){let r=e[n];if(!r)continue;let i=r.numRef??r.strRef,a=(i?i.cache:r.numLit??r.strLit)?.levels;t.push(Q({type:Zn(n,r),f:i?$(i):void 0,nf:r.nf?$(r.nf):void 0,levels:a&&a.length>0?a.map(Xn):void 0,unknown:r.unknown}))}return t.sort((e,t)=>An.indexOf(e.type)-An.indexOf(t.type))},$n=e=>{let t=e.scaling??{},n=e.type===`cat`||e.type===`date`;return Q({id:e.axId,hidden:e.delete,catScaling:n?Q({gapWidth:t.gapWidth,unknown:t.unknown}):void 0,valScaling:n?void 0:Q({max:t.max,min:t.min,majorUnit:e.majorUnit,minorUnit:e.minorUnit,unknown:t.unknown}),title:Wn(e.title),units:e.dispUnits&&Q({unit:e.dispUnits.builtInUnit,unitsLabel:Wn(e.dispUnits.dispUnitsLbl),unknown:e.dispUnits.unknown}),majorGridlines:e.majorGridlines,minorGridlines:e.minorGridlines,majorTickMarks:e.majorTickMark?{type:e.majorTickMark}:void 0,minorTickMarks:e.minorTickMark?{type:e.minorTickMark}:void 0,tickLabels:e.tickLblPos===`none`?void 0:{},numFmt:e.numFmt,spPr:e.spPr,txPr:e.txPr,unknown:e.unknown})},er=e=>{let t=e.chart,n=t?.plotArea,r=[],i=[],a=[];for(let e of n?.groups??[]){let t=Tn[e.type];if(t)for(let n of e.series){let o=Qn(n),s;if(o.length>0){let e=JSON.stringify(o);s=a.indexOf(e),s===-1&&(s=i.length,i.push({id:s,dimensions:o}),a.push(e))}let c=r.length;r.push(Q({layoutId:t,hidden:n.hidden,uniqueId:n.uniqueId,formatIdx:n.idx,tx:Un(n.tx),spPr:n.spPr,points:Jn(n.points),dataLabels:qn(n.dLbls),dataId:s,layoutPr:Yn(n.layoutPr,n.points,e.type===`waterfall`),axisIds:e.axIds.length>0?e.axIds:void 0,unknown:n.unknown}));let l=n.cumulativeLine;l&&r.push(Q({layoutId:Dn,hidden:l.hidden,ownerIdx:c,uniqueId:l.uniqueId,formatIdx:l.idx,tx:Un(l.tx),spPr:l.spPr,points:Jn(l.points),dataLabels:qn(l.dLbls),layoutPr:Yn(l.layoutPr,l.points,!1),axisIds:l.axIds,unknown:l.unknown}))}}let o=t?.legend;return Q({chartData:{data:i},chart:Q({title:(s=t?.title,s&&Q({pos:s.pos,align:s.align,overlay:s.overlay,tx:Un(s.tx),spPr:s.spPr,txPr:s.txPr,unknown:s.unknown})),plotArea:Q({plotAreaRegion:Q({plotSurface:n?.plotSurface,series:r}),axes:(n?.axes??[]).map($n),spPr:n?.spPr,unknown:n?.unknown}),legend:o&&Q({pos:o.legendPos===`tr`?`r`:o.legendPos,align:o.align,overlay:o.overlay,spPr:o.spPr,txPr:o.txPr,unknown:o.unknown}),unknown:t?.unknown}),spPr:e.spPr,txPr:e.txPr,unknown:e.unknown});var s},tr=(e,t)=>{if(e===t)return!0;if(typeof e!=`object`||typeof t!=`object`||e===null||t===null||Array.isArray(e)!==Array.isArray(t))return!1;let n=e=>Object.keys(e).filter(t=>e[t]!==void 0),r=n(e),i=n(t);return r.length===i.length&&r.every(n=>tr(e[n],t[n]))},nr=(e,t)=>tr(e,er(t)),rr=e=>{let t=l(e);if(!t||t.name!==`chartSpace`)return null;let n=_(t,ce);if(!se(ue(t,n)))return null;let r=new he(e,n),i=S(t,Cn,ce,r),a=(e=>{let t=e.chart,n=t?.plotArea,r=t?.legend;return Q({chart:Q({title:Mn(t?.title),plotArea:Q({groups:Vn(n?.plotAreaRegion,e.chartData?.data??[]),axes:(n?.axes??[]).map(Hn),spPr:n?.spPr,plotSurface:n?.plotAreaRegion?.plotSurface,unknown:n?.unknown}),legend:r&&Q({legendPos:r.pos,align:r.align,overlay:r.overlay,spPr:r.spPr,txPr:r.txPr,unknown:r.unknown}),unknown:t?.unknown}),spPr:e.spPr,txPr:e.txPr,unknown:e.unknown})})(i);return{model:a,kept:r.kept,reordered:r.reordered,lossy:!nr(i,a)}},ir=e=>{let t={...e.unknown?.attributes},n=(e,n)=>{t[`xmlns:${e}`]??=n};n(h.a,p),n(h.r,m),n(h.cx,re);let r=er(e),i=new v().raw(Ht);return((e,t)=>{C(e,w(`cx`,`chartSpace`),t,Cn)})(i,{...r,unknown:{...r.unknown,attributes:t}}),i.toString()},ar=(e,t)=>{if(t){let n=rr(t);if(n&&JSON.stringify(n.model)===JSON.stringify(e))return t}return ir(e)},or={chart:{relType:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart`,contentType:`application/vnd.openxmlformats-officedocument.drawingml.chart+xml`,path:`../charts/chart{n}.xml`,graphicUri:f},chartEx:{relType:`http://schemas.microsoft.com/office/2014/relationships/chartEx`,contentType:`application/vnd.ms-office.chartex+xml`,path:`../charts/chartEx{n}.xml`,graphicUri:re}},sr=new Set([`area`,`bar`,`line`,`pie`,`doughnut`,`ofPie`,`scatter`,`bubble`,`radar`,`stock`,`surface`]),cr=e=>e===or.chartEx.relType?`chartEx`:e===or.chart.relType?`chart`:null,lr=e=>sr.has(e)?`chart`:En.has(e)?`chartEx`:null,ur=e=>{let t=Vt(e);if(t)return{model:t.model,family:`chart`,kept:t.kept,lossy:!1};let n=rr(e);return n?{model:n.model,family:`chartEx`,kept:n.kept,lossy:n.lossy}:null},dr=e=>{if(Array.isArray(e))return e.map(dr);if(typeof e!=`object`||!e)return e;let t={};for(let[n,r]of Object.entries(e))n!==`unknown`&&(t[n]=dr(r));return t},fr=(e,t)=>{let n=e.chart?.plotArea?.groups??[],r=n.map(e=>lr(e.type)).find(e=>e!==null)??t?.family??`chart`,i=n.filter(e=>lr(e.type)!==r).map(e=>e.type),a=e;if(i.length>0){let t={...e.chart.plotArea,groups:n.filter(e=>lr(e.type)===r)};a={...e,chart:{...e.chart,plotArea:t}}}let o=(t?.family??r)===r;o||(a=dr(a));let s=o?t?.xml:void 0;return{family:r,leftOut:i,xml:r===`chartEx`?ar(a,s):Wt(a,s)}};export{r as a,or as i,fr as n,ur as o,i as r,cr as t};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DqM1wwsmN1J4MXMm.js","./ChSvXfVMLxZsP9zG.js","./HclGiUj8dZXDFmoM.js","./Ca6nxdhEuLLty3d7.js","./3Ls_kOvlQseMV8Q0.js","./nHThFXCAZFOM_npq.js","./BcOdl17EeFSxnAiq.js","./CnZJ44ncMxZ4ivcB.js","./DcrVJCyDwGKeil2U.js","./BQnELVV0uR4T4ItQ.js","./CnXLpFE_vFrJ5Jbf.js","./21oAESJyBGXeHegm.js","./04d8koPx6lzeMYRQ.js","./CvL9XK3Ht1mP-rGz.js","./B5GO9v4p9L70Xb9i.js","./BksaQEoZr5OWq-_d.js","./J_xJVgE7YlmeU-ZO.js","./w3bV7wggRayUYTd-.js","./CHlWgOAlcRCjVuhg.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{t as e}from"./HclGiUj8dZXDFmoM.js";import{F as t,G as n,I as r,L as i,_ as a,m as o,u as s}from"./ChSvXfVMLxZsP9zG.js";import{D as c,I as l}from"./Ca6nxdhEuLLty3d7.js";import{c as u,i as d,r as f}from"./BcOdl17EeFSxnAiq.js";import{Di as p,Nr as m,Ur as h,kn as g,lt as _,pr as v,rn as y,rr as ee,zt as b}from"./CnZJ44ncMxZ4ivcB.js";import{a as te,c as ne,d as re,o as x}from"./CvL9XK3Ht1mP-rGz.js";import{r as S,t as C}from"./B5GO9v4p9L70Xb9i.js";import{$t as ie,A as w,B as ae,Bn as oe,C as se,Dt as T,E as ce,En as E,Ft as le,G as ue,Gn as D,Gt as de,In as fe,It as pe,J as O,Jt as k,K as A,Kn as j,Ln as me,Mn as M,Mt as N,N as P,Nn as F,Nt as I,On as L,Ot as he,P as ge,Qn as _e,Qt as ve,R as ye,Sn as be,Tt as R,Ut as z,V as xe,Xn as Se,Xt as Ce,Y as we,Yn as Te,Zn as Ee,Zt as De,_n as Oe,a as ke,at as Ae,bn as B,c as je,ct as Me,en as Ne,f as V,fn as Pe,ft as Fe,gn as Ie,gt as Le,ht as H,in as Re,jn as ze,kt as Be,mn as U,mt as Ve,n as He,qt as Ue,rn as We,rt as W,sn as Ge,t as Ke,tn as G,tr as qe,un as Je,wn as Ye,x as Xe,xn as Ze,xt as Qe,y as $e,z as et}from"./04d8koPx6lzeMYRQ.js";var tt={ascending:`ascending`,descending:`descending`,natural:`dataSource`};function nt(e,t){if(!t)return null;for(let n=0;n<e.length;n++)if(e[n].id!==void 0&&String(e[n].id)===t)return e[n];let n=Number(t);return Number.isInteger(n)&&n>=1&&n<=e.length?e[n-1]:null}function rt(e,t,n){let r={...t,source:n};if(e.caption!==void 0&&e.caption!==e.sourceName&&(r.caption=e.caption),!1===e.showCaption&&(r.hiddenCaption=!0),e.columnCount!==void 0&&e.columnCount>1&&(r.columnCount=e.columnCount),e.rowHeight!==void 0){let t=Math.round(e.rowHeight/9525);t>0&&t!==27&&(r.rowHeight=t)}e.style&&e.style!==`SlicerStyleLight1`&&(r.style=e.style);let i=e.sortOrder?tt[e.sortOrder]:void 0;return i&&i!==`ascending`&&(r.sortOrder=i),e.crossFilter&&e.crossFilter!==`showItemsWithDataAtTop`&&(r.crossFilter=e.crossFilter),e.lockedPosition&&(r.lockedPosition=!0),!1===e.customListSort&&(r.disabledCustomListSort=!0),e.cacheName&&(r.cacheName=e.cacheName),e.startItem&&(r.startItem=e.startItem),e.level!==void 0&&(r.level=e.level),e.uid&&(r.uid=e.uid),r}var it=`xl/richData/rdrichvaluestructure.xml`,at=`xl/richData/rdrichvalue.xml`,ot=`xl/richData/rdarray.xml`,st=`xl/richData/rdsupportingpropertybagstructure.xml`,ct=`xl/richData/rdsupportingpropertybag.xml`,lt=`xl/richData/rdRichValueTypes.xml`,ut=`xl/richData/richStyles.xml`,K=(e,t)=>{let n=[],r=e?.childNodes,i=r?.length??0;for(let e=0;e<i;e++){let i=r.item(e);i.nodeType!==1||t&&i.localName!==t||n.push(i)}return n},dt=e=>K(e,`k`).map(e=>[e.getAttribute(`n`)??``,e.getAttribute(`t`)||null]),ft=e=>K(e,`v`).map(e=>({t:e.getAttribute(`t`)||null,text:e.textContent??``})),pt=e=>{let t=new Map;for(let n of K(e,`key`)){let e=new Map;for(let t of K(n,`flag`))e.set(t.getAttribute(`name`)??``,t.getAttribute(`value`)??``);t.set(n.getAttribute(`name`)??``,e)}return t},mt=new Uint8Array,ht=class e{constructor(e,t,n){this.buffers=new Map,this.zip=e,this.entries=t,this.rawBuffer=n}static normalize(e){return e.startsWith(`/`)?e.slice(1):e}static async create(t){let n=t instanceof Blob?mt:t instanceof Uint8Array?t:new Uint8Array(t),r=t instanceof Blob?new O(t):new F(n),i=new we(r),a=new Map;for(let e of await i.getEntries())e.directory||a.set(e.filename,e);return new e(i,a,n)}getNames(){return[...this.entries.keys()]}has(t){return this.entries.has(e.normalize(t))}uncompressedSize(t){return this.entries.get(e.normalize(t))?.uncompressedSize??0}async getBuffer(t){let n=e.normalize(t),r=this.buffers.get(n);if(r)return r;let i=this.entries.get(n);if(!i)return null;let a=await i.getData(new U);return this.buffers.set(n,a),a}async prefetch(e){let t=[];for(let[n,r]of this.entries)!this.buffers.has(n)&&e(n,r)&&t.push(r.getData(new U).then(e=>{this.buffers.set(n,e)}));await Promise.all(t)}getEntry(t){return this.buffers.get(e.normalize(t))??null}async getTextStream(t,n){let r=this.entries.get(e.normalize(t));if(!r)return null;let i=new TransformStream;r.getData(i.writable).catch(()=>{});let a=i.readable.getReader(),o=new TextDecoder(`utf-8`);return new ReadableStream({async pull(e){let{value:t,done:r}=await a.read();if(r){let t=o.decode();t&&e.enqueue(t),e.close();return}n?.(t.byteLength);let i=o.decode(t,{stream:!0});i&&e.enqueue(i)}}).getReader()}getRawEntry(t){let n=this.entries.get(e.normalize(t));if(!n||n.encrypted||n.crc32===void 0)return null;let r=n.offset;if(r+30>this.rawBuffer.byteLength)return null;let i=new DataView(this.rawBuffer.buffer,this.rawBuffer.byteOffset+r,30);if(i.getUint32(0,!0)!==67324752)return null;let a=r+30+i.getUint16(26,!0)+i.getUint16(28,!0),o=a+n.compressedSize;return o>this.rawBuffer.byteLength?null:{data:this.rawBuffer.subarray(a,o),compressionMethod:n.compressionMethod,signature:n.crc32}}async close(){await this.zip.close()}},gt=class{constructor(e){this._sink=e,this._samples=[],this._t0=_t(),this._tPrev=this._t0,this._heapPrev=vt()}mark(e){let t=_t(),n=vt(),r={label:e,tMs:t-this._t0,dtMs:t-this._tPrev,heapBytes:n,dHeapBytes:n!==void 0&&this._heapPrev!==void 0?n-this._heapPrev:void 0,rssBytes:yt()};this._tPrev=t,this._heapPrev=n,this._samples.push(r),this._sink?.(r)}samples(){return this._samples}toTable(){return this._samples.map(e=>({phase:e.label,tMs:Math.round(e.tMs),dtMs:Math.round(e.dtMs),heapMB:e.heapBytes===void 0?`—`:bt(e.heapBytes/1048576),dHeapMB:e.dHeapBytes===void 0?`—`:bt(e.dHeapBytes/1048576),rssMB:e.rssBytes===void 0?`—`:bt(e.rssBytes/1048576)}))}},_t=typeof performance==`object`&&typeof performance.now==`function`?()=>performance.now():()=>Date.now();function vt(){let e=typeof performance==`object`?performance.memory:void 0;if(e&&typeof e.usedJSHeapSize==`number`)return e.usedJSHeapSize;let t=globalThis.process;return typeof t==`object`&&typeof t.memoryUsage==`function`?t.memoryUsage().heapUsed:void 0}function yt(){let e=globalThis.process;if(typeof e==`object`&&typeof e.memoryUsage==`function`)return e.memoryUsage().rss}function bt(e){return Math.round(10*e)/10}var xt=`:A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-`,St=`-${xt}.0-9·̀-ͯ‿-⁀`,Ct=(RegExp(`^[${xt}]$`,`u`),RegExp(`^[${St}]$`,`u`),RegExp(`^[${xt}][${St}]*$`,`u`)),wt=(RegExp(`^[${St}]+$`,`u`),[32,10,13,9]);function Tt(e){return e>=65&&e<=90||e>=97&&e<=122||e===58||e===95||e===8204||e===8205||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=767||e>=880&&e<=893||e>=895&&e<=8191||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}var Et=`:A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-`,Dt=`-${Et}.0-9·̀-ͯ‿-⁀`;RegExp(`^[${Et}]$`,`u`),RegExp(`^[${Dt}]$`,`u`),RegExp(`^[${Et}][${Dt}]*$`,`u`),RegExp(`^[${Dt}]+$`,`u`);var Ot=`A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-`,kt=`-${Ot}.0-9·̀-ͯ‿-⁀`,At=(RegExp(`^[${Ot}]$`,`u`),RegExp(`^[${kt}]$`,`u`),RegExp(`^[${Ot}][${kt}]*$`,`u`));function jt(e){return e>=65&&e<=90||e===95||e>=97&&e<=122||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=767||e>=880&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}var Mt=function(e){return e===32||e===10||e===13||e===9},Nt=function(e){return e>=32&&e<=55295||e===10||e===13||e===9||e>=57344&&e<=65533||e>=65536&&e<=1114111},Pt=Tt,Ft=function(e){return Tt(e)||e>=48&&e<=57||e===45||e===46||e===183||e>=768&&e<=879||e>=8255&&e<=8256},It=wt,Lt=Ct,Rt=function(e){return e>=1&&e<=55295||e>=57344&&e<=65533||e>=65536&&e<=1114111},zt=jt,Bt=function(e){return jt(e)||e===45||e===46||e>=48&&e<=57||e===183||e>=768&&e<=879||e>=8255&&e<=8256},Vt=At,Ht=`http://www.w3.org/XML/1998/namespace`,Ut=`http://www.w3.org/2000/xmlns/`,Wt={__proto__:null,xml:Ht,xmlns:Ut},Gt={__proto__:null,amp:`&`,gt:`>`,lt:`<`,quot:`"`,apos:`'`},q=-1,Kt=-2,J=13,qt=33,Jt=10,Yt=60,Xt=61,Y=62,X=63,Zt=93,Qt=e=>e===34||e===39,$t=[34,39],en=[...$t,91,Y],tn=[...$t,Yt,Zt],nn=[Xt,X,...It],rn=[...It,Y,38,Yt];function an(e,t,n){switch(t){case`xml`:n!==Ht&&e.fail(`xml prefix must be bound to ${Ht}.`);break;case`xmlns`:n!==Ut&&e.fail(`xmlns prefix must be bound to ${Ut}.`)}switch(n){case Ut:e.fail(t===``?`the default namespace may not be set to ${n}.`:`may not assign a prefix (even "xmlns") to the URI ${Ut}.`);break;case Ht:switch(t){case`xml`:break;case``:e.fail(`the default namespace may not be set to ${n}.`);break;default:e.fail(`may not assign the xml namespace to another prefix.`)}}}var on,sn=e=>Vt.test(e),cn=e=>Lt.test(e),ln={xmldecl:`xmlDeclHandler`,text:`textHandler`,processinginstruction:`piHandler`,doctype:`doctypeHandler`,comment:`commentHandler`,opentagstart:`openTagStartHandler`,attribute:`attributeHandler`,opentag:`openTagHandler`,closetag:`closeTagHandler`,cdata:`cdataHandler`,error:`errorHandler`,end:`endHandler`,ready:`readyHandler`},un=class{get closed(){return this._closed}constructor(e){this.i=0,this.prevI=0,this.opt=e??{},this.fragmentOpt=!!this.opt.fragment;let t=this.xmlnsOpt=!!this.opt.xmlns;if(this.trackPosition=!1!==this.opt.position,this.fileName=this.opt.fileName,t){this.nameStartCheck=zt,this.nameCheck=Bt,this.isName=sn,this.processAttribs=this.processAttribsNS,this.pushAttrib=this.pushAttribNS,this.ns={__proto__:null,...Wt};let e=this.opt.additionalNamespaces;e!=null&&(function(e,t){for(let n of Object.keys(t))an(e,n,t[n])}(this,e),Object.assign(this.ns,e))}else this.nameStartCheck=Pt,this.nameCheck=Ft,this.isName=cn,this.processAttribs=this.processAttribsPlain,this.pushAttrib=this.pushAttribPlain;this.stateTable=[this.sBegin,this.sBeginWhitespace,this.sDoctype,this.sDoctypeQuote,this.sDTD,this.sDTDQuoted,this.sDTDOpenWaka,this.sDTDOpenWakaBang,this.sDTDComment,this.sDTDCommentEnding,this.sDTDCommentEnded,this.sDTDPI,this.sDTDPIEnding,this.sText,this.sEntity,this.sOpenWaka,this.sOpenWakaBang,this.sComment,this.sCommentEnding,this.sCommentEnded,this.sCData,this.sCDataEnding,this.sCDataEnding2,this.sPIFirstChar,this.sPIRest,this.sPIBody,this.sPIEnding,this.sXMLDeclNameStart,this.sXMLDeclName,this.sXMLDeclEq,this.sXMLDeclValueStart,this.sXMLDeclValue,this.sXMLDeclSeparator,this.sXMLDeclEnding,this.sOpenTag,this.sOpenTagSlash,this.sAttrib,this.sAttribName,this.sAttribNameSawWhite,this.sAttribValue,this.sAttribValueQuoted,this.sAttribValueClosed,this.sAttribValueUnquoted,this.sCloseTag,this.sCloseTagSawWhite],this._init()}_init(){this.openWakaBang=``,this.text=``,this.name=``,this.piTarget=``,this.entity=``,this.q=null,this.tags=[],this.tag=null,this.topNS=null,this.chunk=``,this.chunkPosition=0,this.i=0,this.prevI=0,this.carriedFromPrevious=void 0,this.forbiddenState=0,this.attribList=[];let{fragmentOpt:e}=this;this.state=e?J:0,this.reportedTextBeforeRoot=this.reportedTextAfterRoot=this.closedRoot=this.sawRoot=e,this.xmlDeclPossible=!e,this.xmlDeclExpects=[`version`],this.entityReturnState=void 0;let{defaultXMLVersion:t}=this.opt;if(t===void 0){if(!0===this.opt.forceXMLVersion)throw Error(`forceXMLVersion set but defaultXMLVersion is not set`);t=`1.0`}this.setXMLVersion(t),this.positionAtNewLine=0,this.doctype=!1,this._closed=!1,this.xmlDecl={version:void 0,encoding:void 0,standalone:void 0},this.line=1,this.column=0,this.ENTITIES=Object.create(Gt),this.readyHandler?.()}get position(){return this.chunkPosition+this.i}get columnIndex(){return this.position-this.positionAtNewLine}on(e,t){this[ln[e]]=t}off(e){this[ln[e]]=void 0}makeError(e){let t=this.fileName??``;return this.trackPosition&&(t.length>0&&(t+=`:`),t+=`${this.line}:${this.column}`),t.length>0&&(t+=`: `),Error(t+e)}fail(e){let t=this.makeError(e),n=this.errorHandler;if(n===void 0)throw t;return n(t),this}write(e){if(this.closed)return this.fail(`cannot write after close.`);let t=!1;e===null?(t=!0,e=``):typeof e==`object`&&(e=e.toString()),this.carriedFromPrevious!==void 0&&(e=`${this.carriedFromPrevious}${e}`,this.carriedFromPrevious=void 0);let n=e.length,r=e.charCodeAt(n-1);!t&&(r===13||r>=55296&&r<=56319)&&(this.carriedFromPrevious=e[n-1],n--,e=e.slice(0,n));let{stateTable:i}=this;for(this.chunk=e,this.i=0;this.i<n;)i[this.state].call(this);return this.chunkPosition+=n,t?this.end():this}close(){return this.write(null)}getCode10(){let e=this.chunk,t=this.i;if(this.prevI=t,this.i++,t>=e.length)return q;let n=e.charCodeAt(t);if(this.column++,n<55296){if(n>=32||n===9)return n;switch(n){case Jt:return this.line++,this.column=0,this.positionAtNewLine=this.position,Jt;case 13:return e.charCodeAt(t+1)===Jt&&(this.i=t+2),this.line++,this.column=0,this.positionAtNewLine=this.position,Kt;default:return this.fail(`disallowed character.`),n}}if(n>56319)return n>=57344&&n<=65533||this.fail(`disallowed character.`),n;let r=65536+1024*(n-55296)+(e.charCodeAt(t+1)-56320);return this.i=t+2,r>1114111&&this.fail(`disallowed character.`),r}getCode11(){let{chunk:e,i:t}=this;if(this.prevI=t,this.i=t+1,t>=e.length)return q;let n=e.charCodeAt(t);if(this.column++,n<55296){if(n>31&&n<127||n>159&&n!==8232||n===9)return n;switch(n){case Jt:return this.line++,this.column=0,this.positionAtNewLine=this.position,Jt;case 13:{let n=e.charCodeAt(t+1);n!==Jt&&n!==133||(this.i=t+2)}case 133:case 8232:return this.line++,this.column=0,this.positionAtNewLine=this.position,Kt;default:return this.fail(`disallowed character.`),n}}if(n>56319)return n>=57344&&n<=65533||this.fail(`disallowed character.`),n;let r=65536+1024*(n-55296)+(e.charCodeAt(t+1)-56320);return this.i=t+2,r>1114111&&this.fail(`disallowed character.`),r}getCodeNorm(){let e=this.getCode();return e===Kt?Jt:e}unGet(){this.i=this.prevI,this.column--}captureTo(e){let{i:t}=this,{chunk:n}=this;for(;;){let r=this.getCode(),i=r===Kt,a=i?Jt:r;if(a===q||e.includes(a))return this.text+=n.slice(t,this.prevI),a;i&&(this.text+=`${n.slice(t,this.prevI)}\n`,t=this.i)}}captureToChar(e){let{i:t}=this,{chunk:n}=this;for(;;){let r=this.getCode();switch(r){case Kt:this.text+=`${n.slice(t,this.prevI)}\n`,t=this.i,r=Jt;break;case q:return this.text+=n.slice(t),!1}if(r===e)return this.text+=n.slice(t,this.prevI),!0}}captureNameChars(){let{chunk:e,i:t}=this;for(;;){let n=this.getCode();if(n===q)return this.name+=e.slice(t),q;if(!Ft(n))return this.name+=e.slice(t,this.prevI),n===Kt?Jt:n}}skipSpaces(){for(;;){let e=this.getCodeNorm();if(e===q||!Mt(e))return e}}setXMLVersion(e){this.currentXMLVersion=e,e===`1.0`?(this.isChar=Nt,this.getCode=this.getCode10):(this.isChar=Rt,this.getCode=this.getCode11)}sBegin(){this.chunk.charCodeAt(0)===65279&&(this.i++,this.column++),this.state=1}sBeginWhitespace(){let e=this.i,t=this.skipSpaces();switch(this.prevI!==e&&(this.xmlDeclPossible=!1),t){case Yt:if(this.state=15,this.text.length!==0)throw Error(`no-empty text at start`);break;case q:break;default:this.unGet(),this.state=J,this.xmlDeclPossible=!1}}sDoctype(){let e=this.captureTo(en);switch(e){case Y:this.doctypeHandler?.(this.text),this.text=``,this.state=J,this.doctype=!0;break;case q:break;default:this.text+=String.fromCodePoint(e),e===91?this.state=4:Qt(e)&&(this.state=3,this.q=e)}}sDoctypeQuote(){let e=this.q;this.captureToChar(e)&&(this.text+=String.fromCodePoint(e),this.q=null,this.state=2)}sDTD(){let e=this.captureTo(tn);e!==q&&(this.text+=String.fromCodePoint(e),e===Zt?this.state=2:e===Yt?this.state=6:Qt(e)&&(this.state=5,this.q=e))}sDTDQuoted(){let e=this.q;this.captureToChar(e)&&(this.text+=String.fromCodePoint(e),this.state=4,this.q=null)}sDTDOpenWaka(){let e=this.getCodeNorm();switch(this.text+=String.fromCodePoint(e),e){case 33:this.state=7,this.openWakaBang=``;break;case X:this.state=11;break;default:this.state=4}}sDTDOpenWakaBang(){let e=String.fromCodePoint(this.getCodeNorm()),t=this.openWakaBang+=e;this.text+=e,t!==`-`&&(this.state=t===`--`?8:4,this.openWakaBang=``)}sDTDComment(){this.captureToChar(45)&&(this.text+=`-`,this.state=9)}sDTDCommentEnding(){let e=this.getCodeNorm();this.text+=String.fromCodePoint(e),this.state=e===45?10:8}sDTDCommentEnded(){let e=this.getCodeNorm();this.text+=String.fromCodePoint(e),e===Y?this.state=4:(this.fail(`malformed comment.`),this.state=8)}sDTDPI(){this.captureToChar(X)&&(this.text+=`?`,this.state=12)}sDTDPIEnding(){let e=this.getCodeNorm();this.text+=String.fromCodePoint(e),e===Y&&(this.state=4)}sText(){this.tags.length===0?this.handleTextOutsideRoot():this.handleTextInRoot()}sEntity(){let{i:e}=this,{chunk:t}=this;t:for(;;)switch(this.getCode()){case Kt:this.entity+=`${t.slice(e,this.prevI)}\n`,e=this.i;break;case 59:{let{entityReturnState:n}=this,r=this.entity+t.slice(e,this.prevI),i;this.state=n,r===``?(this.fail(`empty entity name.`),i=`&;`):(i=this.parseEntity(r),this.entity=``),n===J&&this.textHandler===void 0||(this.text+=i);break t}case q:this.entity+=t.slice(e);break t}}sOpenWaka(){let e=this.getCode();if(Pt(e))this.state=34,this.unGet(),this.xmlDeclPossible=!1;else switch(e){case 47:this.state=43,this.xmlDeclPossible=!1;break;case 33:this.state=16,this.openWakaBang=``,this.xmlDeclPossible=!1;break;case X:this.state=23;break;default:this.fail(`disallowed character in tag name`),this.state=J,this.xmlDeclPossible=!1}}sOpenWakaBang(){switch(this.openWakaBang+=String.fromCodePoint(this.getCodeNorm()),this.openWakaBang){case`[CDATA[`:this.sawRoot||this.reportedTextBeforeRoot||(this.fail(`text data outside of root node.`),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail(`text data outside of root node.`),this.reportedTextAfterRoot=!0),this.state=20,this.openWakaBang=``;break;case`--`:this.state=17,this.openWakaBang=``;break;case`DOCTYPE`:this.state=2,(this.doctype||this.sawRoot)&&this.fail(`inappropriately located doctype declaration.`),this.openWakaBang=``;break;default:this.openWakaBang.length>=7&&this.fail(`incorrect syntax.`)}}sComment(){this.captureToChar(45)&&(this.state=18)}sCommentEnding(){let e=this.getCodeNorm();e===45?(this.state=19,this.commentHandler?.(this.text),this.text=``):(this.text+=`-${String.fromCodePoint(e)}`,this.state=17)}sCommentEnded(){let e=this.getCodeNorm();e===Y?this.state=J:(this.fail(`malformed comment.`),this.text+=`--${String.fromCodePoint(e)}`,this.state=17)}sCData(){this.captureToChar(Zt)&&(this.state=21)}sCDataEnding(){let e=this.getCodeNorm();e===Zt?this.state=22:(this.text+=`]${String.fromCodePoint(e)}`,this.state=20)}sCDataEnding2(){let e=this.getCodeNorm();switch(e){case Y:this.cdataHandler?.(this.text),this.text=``,this.state=J;break;case Zt:this.text+=`]`;break;default:this.text+=`]]${String.fromCodePoint(e)}`,this.state=20}}sPIFirstChar(){let e=this.getCodeNorm();this.nameStartCheck(e)?(this.piTarget+=String.fromCodePoint(e),this.state=24):e===X||Mt(e)?(this.fail(`processing instruction without a target.`),this.state=e===X?26:25):(this.fail(`disallowed character in processing instruction name.`),this.piTarget+=String.fromCodePoint(e),this.state=24)}sPIRest(){let{chunk:e,i:t}=this;for(;;){let n=this.getCodeNorm();if(n===q)return void(this.piTarget+=e.slice(t));if(!this.nameCheck(n)){this.piTarget+=e.slice(t,this.prevI);let r=n===X;r||Mt(n)?this.piTarget===`xml`?(this.xmlDeclPossible||this.fail(`an XML declaration must be at the start of the document.`),this.state=r?qt:27):this.state=r?26:25:(this.fail(`disallowed character in processing instruction name.`),this.piTarget+=String.fromCodePoint(n));break}}}sPIBody(){if(this.text.length===0){let e=this.getCodeNorm();e===X?this.state=26:Mt(e)||(this.text=String.fromCodePoint(e))}else this.captureToChar(X)&&(this.state=26)}sPIEnding(){let e=this.getCodeNorm();if(e===Y){let{piTarget:e}=this;e.toLowerCase()===`xml`&&this.fail(`the XML declaration must appear at the start of the document.`),this.piHandler?.({target:e,body:this.text}),this.piTarget=this.text=``,this.state=J}else e===X?this.text+=`?`:(this.text+=`?${String.fromCodePoint(e)}`,this.state=25);this.xmlDeclPossible=!1}sXMLDeclNameStart(){let e=this.skipSpaces();e===X?this.state=qt:e!==q&&(this.state=28,this.name=String.fromCodePoint(e))}sXMLDeclName(){let e=this.captureTo(nn);if(e===X)return this.state=qt,this.name+=this.text,this.text=``,void this.fail(`XML declaration is incomplete.`);if(Mt(e)||e===Xt){if(this.name+=this.text,this.text=``,!this.xmlDeclExpects.includes(this.name))switch(this.name.length){case 0:this.fail(`did not expect any more name/value pairs.`);break;case 1:this.fail(`expected the name ${this.xmlDeclExpects[0]}.`);break;default:this.fail(`expected one of ${this.xmlDeclExpects.join(`, `)}`)}this.state=e===Xt?30:29}}sXMLDeclEq(){let e=this.getCodeNorm();if(e===X)return this.state=qt,void this.fail(`XML declaration is incomplete.`);Mt(e)||(e!==Xt&&this.fail(`value required.`),this.state=30)}sXMLDeclValueStart(){let e=this.getCodeNorm();if(e===X)return this.state=qt,void this.fail(`XML declaration is incomplete.`);Mt(e)||(Qt(e)?this.q=e:(this.fail(`value must be quoted.`),this.q=32),this.state=31)}sXMLDeclValue(){let e=this.captureTo([this.q,X]);if(e===X)return this.state=qt,this.text=``,void this.fail(`XML declaration is incomplete.`);if(e===q)return;let t=this.text;switch(this.text=``,this.name){case`version`:{this.xmlDeclExpects=[`encoding`,`standalone`];let e=t;this.xmlDecl.version=e,/^1\.[0-9]+$/.test(e)?this.opt.forceXMLVersion||this.setXMLVersion(e):this.fail(`version number must match /^1\\.[0-9]+$/.`);break}case`encoding`:/^[A-Za-z][A-Za-z0-9._-]*$/.test(t)||this.fail(`encoding value must match /^[A-Za-z0-9][A-Za-z0-9._-]*$/.`),this.xmlDeclExpects=[`standalone`],this.xmlDecl.encoding=t;break;case`standalone`:t!==`yes`&&t!==`no`&&this.fail(`standalone value must match "yes" or "no".`),this.xmlDeclExpects=[],this.xmlDecl.standalone=t}this.name=``,this.state=32}sXMLDeclSeparator(){let e=this.getCodeNorm();e===X?this.state=qt:(Mt(e)||(this.fail(`whitespace required.`),this.unGet()),this.state=27)}sXMLDeclEnding(){this.getCodeNorm()===Y?(this.piTarget===`xml`?this.name!==`version`&&this.xmlDeclExpects.includes(`version`)&&this.fail(`XML declaration must contain a version.`):this.fail(`processing instructions are not allowed before root.`),this.xmlDeclHandler?.(this.xmlDecl),this.name=``,this.piTarget=this.text=``,this.state=J):this.fail(`The character ? is disallowed anywhere in XML declarations.`),this.xmlDeclPossible=!1}sOpenTag(){let e=this.captureNameChars();if(e===q)return;let t=this.tag={name:this.name,attributes:Object.create(null)};switch(this.name=``,this.xmlnsOpt&&(this.topNS=t.ns=Object.create(null)),this.openTagStartHandler?.(t),this.sawRoot=!0,!this.fragmentOpt&&this.closedRoot&&this.fail(`documents may contain only one root.`),e){case Y:this.openTag();break;case 47:this.state=35;break;default:Mt(e)||this.fail(`disallowed character in tag name.`),this.state=36}}sOpenTagSlash(){this.getCode()===Y?this.openSelfClosingTag():(this.fail(`forward-slash in opening tag not followed by >.`),this.state=36)}sAttrib(){let e=this.skipSpaces();e!==q&&(Pt(e)?(this.unGet(),this.state=37):e===Y?this.openTag():e===47?this.state=35:this.fail(`disallowed character in attribute name.`))}sAttribName(){let e=this.captureNameChars();e===Xt?this.state=39:Mt(e)?this.state=38:e===Y?(this.fail(`attribute without value.`),this.pushAttrib(this.name,this.name),this.name=this.text=``,this.openTag()):e!==q&&this.fail(`disallowed character in attribute name.`)}sAttribNameSawWhite(){let e=this.skipSpaces();switch(e){case q:return;case Xt:this.state=39;break;default:this.fail(`attribute without value.`),this.text=``,this.name=``,e===Y?this.openTag():Pt(e)?(this.unGet(),this.state=37):(this.fail(`disallowed character in attribute name.`),this.state=36)}}sAttribValue(){let e=this.getCodeNorm();Qt(e)?(this.q=e,this.state=40):Mt(e)||(this.fail(`unquoted attribute value.`),this.state=42,this.unGet())}sAttribValueQuoted(){let{q:e,chunk:t}=this,{i:n}=this;for(;;)switch(this.getCode()){case e:this.pushAttrib(this.name,this.text+t.slice(n,this.prevI)),this.name=this.text=``,this.q=null,this.state=41;return;case 38:this.text+=t.slice(n,this.prevI),this.state=14,this.entityReturnState=40;return;case Jt:case Kt:case 9:this.text+=`${t.slice(n,this.prevI)} `,n=this.i;break;case Yt:this.text+=t.slice(n,this.prevI),this.fail(`disallowed character.`);return;case q:this.text+=t.slice(n);return}}sAttribValueClosed(){let e=this.getCodeNorm();Mt(e)?this.state=36:e===Y?this.openTag():e===47?this.state=35:Pt(e)?(this.fail(`no whitespace between attributes.`),this.unGet(),this.state=37):this.fail(`disallowed character in attribute name.`)}sAttribValueUnquoted(){let e=this.captureTo(rn);switch(e){case 38:this.state=14,this.entityReturnState=42;break;case Yt:this.fail(`disallowed character.`);break;case q:break;default:this.text.includes(`]]>`)&&this.fail(`the string "]]>" is disallowed in char data.`),this.pushAttrib(this.name,this.text),this.name=this.text=``,e===Y?this.openTag():this.state=36}}sCloseTag(){let e=this.captureNameChars();e===Y?this.closeTag():Mt(e)?this.state=44:e!==q&&this.fail(`disallowed character in closing tag.`)}sCloseTagSawWhite(){switch(this.skipSpaces()){case Y:this.closeTag();break;case q:break;default:this.fail(`disallowed character in closing tag.`)}}handleTextInRoot(){let{i:e,forbiddenState:t}=this,{chunk:n,textHandler:r}=this;t:for(;;)switch(this.getCode()){case Yt:if(this.state=15,r!==void 0){let{text:t}=this,i=n.slice(e,this.prevI);t.length===0?i.length!==0&&r(i):(r(t+i),this.text=``)}t=0;break t;case 38:this.state=14,this.entityReturnState=J,r!==void 0&&(this.text+=n.slice(e,this.prevI)),t=0;break t;case Zt:switch(t){case 0:t=1;break;case 1:t=2;break;case 2:break;default:throw Error(`impossible state`)}break;case Y:t===2&&this.fail(`the string "]]>" is disallowed in char data.`),t=0;break;case Kt:r!==void 0&&(this.text+=`${n.slice(e,this.prevI)}\n`),e=this.i,t=0;break;case q:r!==void 0&&(this.text+=n.slice(e));break t;default:t=0}this.forbiddenState=t}handleTextOutsideRoot(){let{i:e}=this,{chunk:t,textHandler:n}=this,r=!1;t:for(;;){let i=this.getCode();switch(i){case Yt:if(this.state=15,n!==void 0){let{text:r}=this,i=t.slice(e,this.prevI);r.length===0?i.length!==0&&n(i):(n(r+i),this.text=``)}break t;case 38:this.state=14,this.entityReturnState=J,n!==void 0&&(this.text+=t.slice(e,this.prevI)),r=!0;break t;case Kt:n!==void 0&&(this.text+=`${t.slice(e,this.prevI)}\n`),e=this.i;break;case q:n!==void 0&&(this.text+=t.slice(e));break t;default:Mt(i)||(r=!0)}}r&&(this.sawRoot||this.reportedTextBeforeRoot||(this.fail(`text data outside of root node.`),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail(`text data outside of root node.`),this.reportedTextAfterRoot=!0))}pushAttribNS(e,t){let{prefix:n,local:r}=this.qName(e),i={name:e,prefix:n,local:r,value:t};if(this.attribList.push(i),this.attributeHandler?.(i),n===`xmlns`){let e=t.trim();this.currentXMLVersion===`1.0`&&e===``&&this.fail(`invalid attempt to undefine prefix in XML 1.0`),this.topNS[r]=e,an(this,r,e)}else if(e===`xmlns`){let e=t.trim();this.topNS[``]=e,an(this,``,e)}}pushAttribPlain(e,t){let n={name:e,value:t};this.attribList.push(n),this.attributeHandler?.(n)}end(){this.sawRoot||this.fail(`document must contain a root element.`);let{tags:e}=this;for(;e.length>0;){let t=e.pop();this.fail(`unclosed tag: ${t.name}`)}this.state!==0&&this.state!==J&&this.fail(`unexpected end.`);let{text:t}=this;return t.length!==0&&(this.textHandler?.(t),this.text=``),this._closed=!0,this.endHandler?.(),this._init(),this}resolve(e){let t=this.topNS[e];if(t!==void 0)return t;let{tags:n}=this;for(let r=n.length-1;r>=0;r--)if(t=n[r].ns[e],t!==void 0)return t;return t=this.ns[e],t===void 0?this.opt.resolvePrefix?.(e):t}qName(e){let t=e.indexOf(`:`);if(t===-1)return{prefix:``,local:e};let n=e.slice(t+1),r=e.slice(0,t);return(r===``||n===``||n.includes(`:`))&&this.fail(`malformed name: ${e}.`),{prefix:r,local:n}}processAttribsNS(){let{attribList:e}=this,t=this.tag;{let{prefix:e,local:n}=this.qName(t.name);t.prefix=e,t.local=n;let r=t.uri=this.resolve(e)??``;e!==``&&(e===`xmlns`&&this.fail(`tags may not have "xmlns" as prefix.`),r===``&&(this.fail(`unbound namespace prefix: ${JSON.stringify(e)}.`),t.uri=e))}if(e.length===0)return;let{attributes:n}=t,r=new Set;for(let t of e){let{name:e,prefix:i,local:a}=t,o,s;i===``?(o=e===`xmlns`?Ut:``,s=e):(o=this.resolve(i),o===void 0&&(this.fail(`unbound namespace prefix: ${JSON.stringify(i)}.`),o=i),s=`{${o}}${a}`),r.has(s)&&this.fail(`duplicate attribute: ${s}.`),r.add(s),t.uri=o,n[e]=t}this.attribList=[]}processAttribsPlain(){let{attribList:e}=this,t=this.tag.attributes;for(let{name:n,value:r}of e)t[n]!==void 0&&this.fail(`duplicate attribute: ${n}.`),t[n]=r;this.attribList=[]}openTag(){this.processAttribs();let{tags:e}=this,t=this.tag;t.isSelfClosing=!1,this.openTagHandler?.(t),e.push(t),this.state=J,this.name=``}openSelfClosingTag(){this.processAttribs();let{tags:e}=this,t=this.tag;t.isSelfClosing=!0,this.openTagHandler?.(t),this.closeTagHandler?.(t),(this.tag=e[e.length-1]??null)===null&&(this.closedRoot=!0),this.state=J,this.name=``}closeTag(){let{tags:e,name:t}=this;if(this.state=J,this.name=``,t===``)return this.fail(`weird empty close tag.`),void(this.text+=`</>`);let n=this.closeTagHandler,r=e.length;for(;r-->0;){let r=this.tag=e.pop();if(this.topNS=r.ns,n?.(r),r.name===t)break;this.fail(`unexpected close tag: ${t}.`)}r===0?this.closedRoot=!0:r<0&&(this.fail(`unmatched closing tag: ${t}.`),this.text+=`</${t}>`)}parseEntity(e){if(e[0]!==`#`){let t=this.ENTITIES[e];return t===void 0?(this.fail(this.isName(e)?`undefined entity.`:`disallowed character in entity name.`),`&${e};`):t}let t=NaN;return e[1]===`x`&&/^#x[0-9a-f]+$/i.test(e)?t=parseInt(e.slice(2),16):/^#[0-9]+$/.test(e)&&(t=parseInt(e.slice(1),10)),this.isChar(t)?String.fromCodePoint(t):(this.fail(`malformed character entity.`),`&${e};`)}},dn=/&(#x[0-9a-fA-F]+|#[0-9]+|amp|lt|gt|quot|apos);/g,fn={amp:`&`,lt:`<`,gt:`>`,quot:`"`,apos:`'`},pn=(e,t)=>{let n=fn[t];if(n!==void 0)return n;let r=t.charCodeAt(1)===120?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return r>0&&r<=1114111?String.fromCodePoint(r):e},mn=e=>{let t=e;return t.indexOf(`\r`)!==-1&&(t=t.replace(/\r\n?/g,`
|
|
3
|
-
`)),t.indexOf(`&`)!==-1&&(t=t.replace(dn,pn)),t},hn=e=>{let t=e,n=t.length;for(let e=0;e<n;e++){let n=t.charCodeAt(e);if(n===9||n===10||n===13){t=t.replace(/\r\n|[\t\n\r]/g,` `);break}}return t.indexOf(`&`)!==-1&&(t=t.replace(dn,pn)),t},gn=e=>e===32||e===9||e===10||e===13,_n=class e{constructor(){this._openTagHandler=void 0,this._closeTagHandler=void 0,this._textHandler=void 0,this._cdataHandler=void 0,this._errorHandler=void 0,this._endHandler=void 0,this._scanners=null,this._carry=``,this._text=``,this._tags=[],this._sawRoot=!1,this._closed=!1}static{this.NEED_MORE=-1}static{this.NOT_HANDLED=-2}static decodeText(e){return mn(e)}on(e,t){switch(e){case`opentag`:this._openTagHandler=t;break;case`closetag`:this._closeTagHandler=t;break;case`text`:this._textHandler=t;break;case`cdata`:this._cdataHandler=t;break;case`error`:this._errorHandler=t;break;case`end`:this._endHandler=t}}setElementScanners(e){if(!e||e.length===0)return void(this._scanners=null);let t=Array(128);for(let n of e){let e=n.name.charCodeAt(0);if(!(e<128)||t[e]!==void 0)throw Error(`Element scanner '${n.name}' needs an ASCII first character no other scanner uses.`);t[e]=n}this._scanners=t}fail(e){let t=Error(e),n=this._errorHandler;if(n===void 0)throw t;n(t)}write(e){if(this._closed)return this.fail(`cannot write after close.`),this;let t=e;this._carry.length!==0&&(t=this._carry+e,this._carry=``);let n=t.length,r=0;for(;r<n;){let e=t.indexOf(`<`,r);if(e===-1)return this._text+=t.slice(r),this;e>r&&(this._text+=t.slice(r,e));let i=this._markup(t,e,n);if(i===-1)return this._carry=t.slice(e),this;r=i}return this}close(){this._carry.length!==0&&(this.fail(`unexpected end.`),this._carry=``),this._sawRoot||this.fail(`document must contain a root element.`);let e=this._tags;for(;e.length>0;){let t=e.pop();this.fail(`unclosed tag: ${t.name}`)}return this._flushText(),this._closed=!0,this._endHandler?.(),this}_flushText(){let e=this._text;if(e.length===0)return;this._text=``;let t=this._textHandler;t!==void 0&&this._tags.length!==0&&t(mn(e))}_markup(t,n,r){if(n+1>=r)return-1;let i=t.charCodeAt(n+1);if(i===47){let e=t.indexOf(`>`,n+2);return e===-1?-1:(this._flushText(),this._closeTag(t.slice(n+2,e).trimEnd()),e+1)}if(i===63){let e=t.indexOf(`?>`,n+2);return e===-1?-1:e+2}if(i===33){if(n+4>r)return-1;if(t.charCodeAt(n+2)===45&&t.charCodeAt(n+3)===45){let e=t.indexOf(`-->`,n+4);return e===-1?-1:e+3}if(n+9>r)return-1;if(t.startsWith(`[CDATA[`,n+2)){let e=t.indexOf(`]]>`,n+9);return e===-1?-1:(this._flushText(),this._cdataHandler?.(t.slice(n+9,e)),e+3)}let e=t.indexOf(`[`,n+2),i=t.indexOf(`>`,n+2);if(i===-1)return-1;if(e!==-1&&e<i){let n=t.indexOf(`]>`,e);return n===-1?-1:n+2}return i+1}let a=this._scanners;if(a!==null){let o=i<128?a[i]:void 0;if(o!==void 0&&t.startsWith(o.name,n+1)){let i=n+1+o.name.length;if(i>=r)return-1;let a=t.charCodeAt(i);if(a===62||a===47||gn(a)){this._flushText();let i=o.scan(t,n,r);if(i!==e.NOT_HANDLED){if(i!==e.NEED_MORE){this._sawRoot=!0;let e=o.openTag;e!==void 0&&this._tags.push(e)}return i}}}}return this._openTag(t,n,r)}_openTag(e,t,n){let r=t+1,i=0;for(;r<n&&(i=e.charCodeAt(r),i!==62&&i!==47&&!gn(i));)r++;if(r>=n)return-1;let a=e.slice(t+1,r),o={},s=!1;for(;;){for(;r<n&&gn(i=e.charCodeAt(r));)r++;if(r>=n)return-1;if(i===62){r++;break}if(i===47){if(r+1>=n)return-1;if(e.charCodeAt(r+1)!==62){this.fail(`forward-slash in opening tag not followed by >.`),r++;continue}s=!0,r+=2;break}let t=r;for(;r<n&&(i=e.charCodeAt(r),i!==61&&i!==62&&i!==47&&!gn(i));)r++;if(r>=n)return-1;let a=e.slice(t,r);for(;r<n&&gn(i=e.charCodeAt(r));)r++;if(r>=n)return-1;if(i!==61){this.fail(`attribute without value.`);continue}for(r++;r<n&&gn(i=e.charCodeAt(r));)r++;if(r>=n)return-1;if(i!==34&&i!==39){this.fail(`unquoted attribute value.`);continue}let c=e.indexOf(i===34?`"`:`'`,r+1);if(c===-1)return-1;a!==`__proto__`&&(o[a]=hn(e.slice(r+1,c))),r=c+1}this._flushText(),this._sawRoot=!0;let c={name:a,attributes:o,isSelfClosing:s};return this._openTagHandler?.(c),s?this._closeTagHandler?.(c):this._tags.push(c),r}_closeTag(e){if(e===``)return void this.fail(`weird empty close tag.`);let t=this._tags,n=this._closeTagHandler,r=t.length;for(;r-->0;){let r=t.pop();if(n?.(r),r.name===e)return;this.fail(`unexpected close tag: ${e}.`)}this.fail(`unmatched closing tag: ${e}.`)}};(function(e){e.Events={XmlDecl:`xmldecl`,Text:`text`,ProcessingInstruction:`processinginstruction`,Doctype:`doctype`,Comment:`comment`,OpenTagStart:`opentagstart`,Attribute:`attribute`,OpenTag:`opentag`,CloseTag:`closetag`,CDdata:`cdata`,Error:`error`,End:`end`,Ready:`ready`},e.parseStream=async(e,t,n)=>{if(n?.lean)return(async(e,t)=>{let n=new _n,r;t.elementScanners&&n.setElementScanners(t.elementScanners),t.onOpenTag&&n.on(`opentag`,t.onOpenTag),t.onCloseTag&&n.on(`closetag`,t.onCloseTag),t.onText&&n.on(`text`,t.onText),t.onError&&n.on(`error`,t.onError);let i=t.onEnd;for(i&&n.on(`end`,()=>{r=i()});;){let{value:t,done:r}=await e.read();if(r)break;n.write(t)}return n.close(),r})(e,t);let r=new un({position:!1,...n}),i;t.onOpenTagStart&&r.on(on.Events.OpenTagStart,t.onOpenTagStart),t.onOpenTag&&r.on(on.Events.OpenTag,t.onOpenTag),t.onCloseTag&&r.on(on.Events.CloseTag,t.onCloseTag),t.onAttribute&&r.on(on.Events.Attribute,t.onAttribute),t.onText&&r.on(on.Events.Text,t.onText),t.onError&&r.on(on.Events.Error,t.onError);let a=t.onEnd;for(a&&r.on(on.Events.End,()=>{i=a()});;){let{value:t,done:n}=await e.read();if(n)break;r.write(t)}return r.close(),i}})(on||={});var Z=e=>!0===e||e===`1`||e===`on`||e===`true`||!1!==e&&e!==`0`&&e!==`off`&&e!==`false`&&null,Q=e=>{let t=parseInt(e);return isNaN(t)?null:t},vn=e=>{let t=parseFloat(e);return isNaN(t)?null:t},$=null,yn=e=>e.replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`),bn=e=>yn(e).replace(/"/g,`"`),xn=class{constructor(){this._registeredVisitors=new Map}registerVisitor(e){this._registeredVisitors.set(e.from,e)}createEventHandler(e,t,n){let r=this._registeredVisitors,i=[],a=[],o=null,s=null,c=null,l=null,u=[],d={key:null,source:e,parent:null},f=null,p=!1,m=null,h=null,g=null,_=(e,t)=>{let n=c.attributes[e];if(t){if(Array.isArray(t)){let e=t.length;for(let r=0;r<e;r++)if(n==null||(n=t[r](n),n==null))return}else if(n==null||(n=t(n),n==null))return}return n},v={getSource:()=>f?.source??null,setSource:e=>{f.source=e},setKey:e=>{f.key=e},getFrom:()=>c,getAttribute:(e,t)=>_(e,t)??null,hasAttribute:e=>v.getAttribute(e)!==null,getParent:()=>{let e=u[u.length-2];return e.parent??e.source},getPath:()=>{let e=[],t=a.length;for(let n=0;n<t;n++)e.push(a[n].local);return e.join(`\\`)},parseAttribute:_,getRawXml:()=>g,copyToObject:(e,t,n,r)=>{let i=_(r??t,n);i!==void 0&&(e[t]=i)},copyTo:(e,t,n)=>{let r=_(n??e,t);r!==void 0&&(f.source[e]=r)},warn:(e,t)=>{n?n(e,void 0,t?.onceKey):console.warn(e)}};return{onOpenTag:e=>{let t=e.name,n=t.indexOf(`:`);if(n!==-1&&(t=t.slice(n+1)),m)return m.push((e=>{let t=e.attributes??{},n=`<${e.name}`;for(let e in t){let r=t[e];n+=` ${e}="${bn(typeof r==`string`?r:r?.value??``)}"`}return n+`>`})(e)),o={local:t,tag:e,destination:null},a.push(o),s=t,void(c=e);let g=(i.length>0?i[i.length-1]:r).get(t);if(o={local:t,visitor:g,tag:e,destination:null},p)return a.push(o),s=t,void(c=e);l=o?.visitor??null,s=t,c=e;let _=!!g&&g.to===null;if(g&&!_&&g.scope){let e=g.scope(v);e===null?_=!0:e&&(i.push(e),o.pushedScope=!0)}g&&(a.length===0?(f=d,o.destination=f,o.pushedDestination=!0,u.push(f)):_?(f=null,o.destination=null):g.transparent?o.destination=f:(f={key:null,source:{},parent:null},o.destination=f,o.pushedDestination=!0,u.push(f))),a.push(o),p=_;let y=l?.openTag?.(v);y!==void 0&&(f.parent=y),g?.raw&&!_&&(m=[],h=o)},onCloseTag:e=>{let t=e.name,r=t.indexOf(`:`);if(r!==-1&&(t=t.slice(r+1)),t!==s)throw Error(`mismatch open/close tag: '${t}'/'${s}'`);let _=!1;if(m){if(a[a.length-1]!==h)return m.push(`</${e.name}>`),a.pop(),o=a[a.length-1]??null,s=o?.local??null,void(c=o?.tag??null);g=m.join(``),m=null,h=null,_=!0}p||l?.closeTag?.(v),_&&(g=null);let y=a.pop()??null;o=a[a.length-1]??null,y?.pushedScope&&i.pop();let ee=y?.destination;if(ee&&y.pushedDestination){u.pop(),f=u[u.length-1]??d;let e=y.visitor;e&&e.to&&ee.source!==void 0&&(Array.isArray(e.to)?f.source.push?f.source.push(ee.source):n?.(`Unable to parse array for ${e.from} at ${v.getPath()}`):ee.key?f.source[ee.key]=ee.source:typeof e.to==`string`&&(f.source[e.to]=ee.source))}else ee||(f=u[u.length-1]??d);s=o?.local??null,c=o?.tag??null,l=o?.visitor??null,p=!o?.destination},onText:e=>{m?m.push(yn(e)):l?.text?.(e,v)},onEnd:t}}},Sn=`IFERROR(${ye}(`,Cn=Sn.toUpperCase(),wn=ae.toUpperCase(),Tn={kind:`none`},En={kind:`spilled`},Dn=(e,t)=>{if(e.charCodeAt(t)!==34)return null;let n=``,r=t+1;for(;r<e.length;)if(e.charCodeAt(r)===34){if(e.charCodeAt(r+1)!==34)return{value:n,end:r+1};n+=`"`,r+=2}else n+=e[r],r++;return null},On=e=>{let t=[],n=0;for(;n<e.length;){let r=e.charCodeAt(n);if(r===34){let t=Dn(e,n);if(t===null)break;n=t.end;continue}if(!(r>=65&&r<=90||r>=97&&r<=122||r===95)){n++;continue}let i=n+1;for(;i<e.length;){let t=e.charCodeAt(i);if(!(t>=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57||t===95||t===46))break;i++}e.charCodeAt(i)===40&&t.push(e.slice(n,i).toUpperCase().replace(/^_XLFN\./,``).replace(/^_XLWS\./,``)),n=i}return t},kn=class{constructor(e){this._restored=[],this._byColumn=new Map,this._isKnown=e}anchor(e,t,n){let r=this._byColumn.get(t);r&&e===r.rowEnd+1&&e>r.rowStart&&(r.closed=!0);let i=On(n),a=!0;for(let e=0;e<i.length&&a;e++)a=this._isKnown(i[e]);let o={rowStart:e,colStart:t,rowEnd:e,colEnd:t,closed:!1,restored:a};return this._byColumn.set(t,o),a&&this._restored.push(o),a}placeholder(e,t){let n=this._byColumn.get(t);if(n&&!n.closed&&e>n.rowStart&&e<=n.rowEnd+1&&t>=n.colStart&&t<=n.colEnd)return n.rowEnd=e,n.restored;let r=this._byColumn.get(t-1);return!(!r||r.rowStart!==e||r.colEnd!==t-1)&&(r.colEnd=t,this._byColumn.set(t,r),r.restored)}getFormulaArray(){return this._restored.map(e=>[p.rangeToString(e),`dynamic`])}},An=/^\s*TABLE\s*\(([^()]*)\)\s*$/i,jn=/^\s*(\$?)([A-Za-z]{1,3})(\$?)(\d{1,7})\s*$/,Mn=e=>{let t=jn.exec(e);if(!t)return null;let n=p.fastStringToCol(t[2]),r=parseInt(t[4],10)-1;return n<0||r<0?null:{row:r,col:n,colAbsolute:t[1]===`$`,rowAbsolute:t[3]===`$`}},Nn=e=>p.cellToString({rowIndex:e.row,colIndex:e.col}),Pn=(e,t)=>{let n=An.exec(e);if(!n)return null;let r=n[1].split(`,`);if(r.length!==3&&r.length!==5)return null;let i=[];for(let e=0;e<r.length;e++){let t=Mn(r[e]);if(!t)return null;i.push(t)}let a=t.rowStart,o=t.colStart,s=e=>e.colAbsolute&&!e.rowAbsolute&&e.col===o-1&&e.row===a,c=e=>e.rowAbsolute&&!e.colAbsolute&&e.row===a-1&&e.col===o,l={rowStart:a,colStart:o,rowEnd:t.rowEnd,colEnd:t.colEnd},u=i[0];if(i.length===3){let[,e,t]=i;return s(t)&&c(u)?{ref:l,columnInput:Nn(e)}:c(t)&&s(u)?{ref:l,rowInput:Nn(e)}:null}if(!u.rowAbsolute||!u.colAbsolute||u.row!==a-1||u.col!==o-1)return null;let[,d,f,p,m]=i;return s(f)&&c(m)?{ref:l,rowInput:Nn(p),columnInput:Nn(d)}:c(f)&&s(m)?{ref:l,rowInput:Nn(d),columnInput:Nn(p)}:null},Fn=/^(?:(\d{4})-(\d{2})-(\d{2}))?T?(?:(\d{2}):(\d{2})(?::(\d{2})(\.\d+)?)?)?(?:Z|[+-]\d{2}:?\d{2})?$/,In=/^PT(?:(\d+(?:\.\d+)?)H)?(?:(\d+(?:\.\d+)?)M)?(?:(\d+(?:\.\d+)?)S)?$/,Ln=(e,t,n)=>{let r=Math.floor((14-t)/12),i=e+4800-r,a=t+12*r-3;return n+Math.floor((153*a+2)/5)+365*i+Math.floor(i/4)-Math.floor(i/100)+Math.floor(i/400)-32045},Rn=Ln(1899,12,30),zn=e=>{let t=e.indexOf(`:`);return t===-1?e:e.slice(t+1)},Bn=class{constructor(){this._runs=null,this._text=``,this._font=null,this._inRun=!1,this._inRPr=!1}reset(){this._runs=null,this._inRun=!1,this._inRPr=!1}onOpenTag(e,t){e===`r`?(this._inRun=!0,this._text=``,this._font=null,this._runs??=[]):e===`rPr`?this._inRun&&(this._inRPr=!0):this._inRPr&&function(e,t,n){switch(e){case`b`:n.weight=Un(t)?700:400;break;case`i`:n.style=Un(t)?c.Style.Italic:c.Style.Normal;break;case`strike`:n.strike=E(Un(t));break;case`outline`:n.outline=Un(t);break;case`shadow`:n.shadow=Un(t);break;case`condense`:case`extend`:{let r=Oe(e,Un(t));r!==void 0&&(n.letterSpacing=r);break}case`u`:n.underline=N(t.val);break;case`vertAlign`:{let e=M(t.val);e!==void 0&&(n.baseline=e);break}case`sz`:{let e=parseFloat(t.val??``);isNaN(e)||(n.size=e);break}case`rFont`:{let e=t.val;e&&(n.family=e);break}case`family`:{let e=Hn[t.val??``];e&&(n.fallbacks=[e]);break}case`charset`:{let e=parseInt(t.val??``,10);isNaN(e)||(n.charset=e);break}case`scheme`:Ke(n,t.val);break;case`color`:{let e=t.rgb;if(e&&t.theme===void 0){n.color=`#`+(e.length===8?e.substring(2):e).toUpperCase();break}let r=De(e=>t[e]);r&&(n.color=r);break}}}(e,t,this._font??={})}onText(e){this._inRun&&(this._text+=e)}onCloseTag(e){if(e===`rPr`)this._inRPr=!1,this._font??={};else if(e===`r`&&this._inRun){let e=Te(this._text),t=this._font;this._runs.push(t?{text:e,font:t}:{text:e}),this._inRun=!1}}take(){let e=this._runs;if(this.reset(),!e)return null;for(let t=0;t<e.length;t++)if(e[t].font)return e;return null}};function Vn(e,t){let n={family:`Calibri`,size:11,...t,weight:400,style:c.Style.Normal,underline:c.UnderlineStyle.None,strike:c.StrikeStyle.None,baseline:0},r=Array(e.length);for(let t=0;t<e.length;t++){let i=e[t];if(!i.font){r[t]=i;continue}let a={...n,...i.font};r[t]={text:i.text,font:a}}return r}var Hn={1:`serif`,2:`sans-serif`,3:`monospace`,4:`cursive`,5:`fantasy`},Un=e=>{let t=e.val;return t===void 0||t===`1`||t===`true`},Wn=e=>{let t=t=>{if(e)return RegExp(`<(?:[\\w.-]+:)?${t}\\b[^>]*>([^<]*)<`).exec(e)?.[1]},n=e=>{let t=parseInt(e??``,10);return isNaN(t)?0:t};return{c:n(t(`col`)),r:n(t(`row`)),x:V(t(`colOff`)??`0`)??0,y:V(t(`rowOff`)??`0`)??0}},Gn=`formulaDialect`,Kn=`isKnownFunction`,qn=`date1904`,Jn=`richStrings`,Yn=`defaultFont`,Xn=(e,t,n,r,i,a,o,s)=>{let c=new xn,l=e=>{let t=e.getAttribute(`dxfId`,Q);return t===null?void 0:r?.get(t)||(a?.(`A color filter or sort names a format that does not exist (dxfId '${t}').`),{})},d=!1,f=s?.get(`parseInlineDxf`),m=s?.get(Gn),h=e=>m&&e?m.readDetached(e):e,_=new g.TransposedBuilder,v=null,te=`topLeft`;c.registerVisitor({from:`autoFilter`,to:`autoTable`,openTag:e=>{let t=e.getAttribute(`ref`),n=p.fastStringToRange(t);e.getSource().r=n,e.getSource().v={}},closeTag:e=>{let t=e.getSource(),n=t.v,r=n.hiddenButtons;if(Array.isArray(r)){let e=r.length,i=t.r,a=i.colEnd-i.colStart+1;e===0?n.hiddenButtons=!1:e===a&&(n.hiddenButtons=!0)}}}),c.registerVisitor({from:`conditionalFormatting`,to:{},openTag:e=>{let t=e.getParent();t.conditionals||=[];let n=e.getAttribute(`sqref`);n&&=n.trim().split(/\s+/).join(`,`);let r={r:n,conditionals:t.conditionals},i=e.getAttribute(`pivot`,Z);i!==null&&(r.pivot=i),e.setSource(r)}}),c.registerVisitor({from:`cfRule`,to:{},openTag:e=>{let t=e.getParent();if(!t?.r)return;let n=e.getSource()??{};t.pivot!==void 0&&(n.pivot=t.pivot),t.conditionals.push({r:t.r,v:null,rule:n}),e.copyToObject(n,`type`,$),e.copyToObject(n,`priority`,Q),e.copyToObject(n,`stopIfTrue`,Z);let i=e.getAttribute(`dxfId`,Q);if(i!==null){let t=r?.get(i);t||=(a?.(`Unable to load conditional color. Invalid dxfI: '${i}' at '${e.getPath()}'.`),{}),n.style=t}e.copyToObject(n,`aboveAverage`,Z),e.copyToObject(n,`equalAverage`,Z),e.copyToObject(n,`stdDev`,Q),e.copyToObject(n,`bottom`,Z),e.copyToObject(n,`percent`,Z),e.copyToObject(n,`rank`,Q),e.copyToObject(n,`operator`,$),e.copyToObject(n,`text`,$),e.copyToObject(n,`timePeriod`,$)},closeTag:e=>{let t=e.getParent();if(!t?.r)return;let n=t.conditionals[t.conditionals.length-1],r=n?.rule;if(!r)return;let i={},o=H(r,a);o&&(i.condition=o),r.style&&(i.style=r.style),r.scale&&(i.scale=r.scale),r.stopIfTrue&&(i.stopIfTrue=!0),r.pivot&&(i.pivot=!0),n.v=i,n.priority=r.priority,r.x14Id&&(n.x14Id=r.x14Id),delete n.rule}});let ne=e=>{let t=e.conditions??[],n=[];for(let e=0;e<t.length;e++){let r=t[e],i={};r.type&&(i.type=r.type),r.value!==void 0&&(i.value=r.value),r.exclusive&&(i.exclusive=!0),n.push(i)}return n};c.registerVisitor({from:`colorScale`,to:{},openTag:e=>{},closeTag:e=>{let t=e.getSource(),n=t.colors??[],r=ne(t);for(let e=0;e<r.length;e++)r[e].color=n[e];e.getParent().scale={type:b.ScaleType.ColorScale,stops:r}}}),c.registerVisitor({from:`dataBar`,to:{},openTag:e=>{e.copyTo(`maxLength`,Q),e.copyTo(`minLength`,Q),e.copyTo(`showValue`,Z)},closeTag:e=>{let t=e.getSource(),n={type:b.ScaleType.DataBar,stops:ne(t)},r=t.colors?.[0];r&&(n.color=r),t.minLength!==void 0&&(n.minLength=t.minLength),t.maxLength!==void 0&&(n.maxLength=t.maxLength),t.showValue!==void 0&&(n.showValue=t.showValue),e.getParent().scale=n}}),c.registerVisitor({from:`iconSet`,to:{},openTag:e=>{e.copyTo(`iconSet`,$),e.copyTo(`reverse`,Z),e.copyTo(`showValue`,Z)},closeTag:e=>{let t=e.getSource(),n={type:b.ScaleType.IconSet,stops:ne(t)};t.iconSet!==void 0&&(n.iconSet=t.iconSet),t.reverse!==void 0&&(n.reverse=t.reverse),t.showValue!==void 0&&(n.showValue=t.showValue),e.getParent().scale=n}}),c.registerVisitor({from:`formula`,to:{},text:(e,t)=>{let n=t.getParent(),r=n.formulas;r||(r=[],n.formulas=r),r.push(h(e))}}),c.registerVisitor({from:`cfvo`,to:{},openTag:e=>{let t=e.getParent();t.conditions||=[];let n=e.getSource();if(t.conditions.push(n),e.copyTo(`type`,$),n.type===b.ColorStopType.Formula){let t=e.getAttribute(`val`);t!=null&&(n.value=h(String(t)))}else e.copyTo(`value`,vn,`val`);!1===e.getAttribute(`gte`,Z)&&(n.exclusive=!0)}}),c.registerVisitor({from:`color`,to:{},openTag:e=>{let t=e.getParent();t.colors||=[];let n=De(t=>e.getAttribute(t));t.colors.push(n)}}),c.registerVisitor({from:`filterColumn`,to:{},openTag:e=>{let t=e.getParent().v,n=parseInt(e.getAttribute(`colId`)),r=e.getSource();r.index=n;let i=t.filter;i||(i={conditions:[]},t.filter=i);let a=i.conditions;if(a||(a=[],i.conditions=a),a.push(r),e.getAttribute(`hiddenButton`,Z)&&t){let e=t.hiddenButtons;e||(e=[],t.hiddenButtons=e),e.push(n)}if(e.getAttribute(`showButton`,Z)&&t){let e=t.showButtons;e||(e=[],t.showButtons=e),e.push(n)}return r}}),c.registerVisitor({from:`colorFilter`,openTag:e=>{let t=e.getParent(),n={};t.operator=y.BuiltInOperatorNames.Color,t.param=n,e.copyToObject(n,`cellColor`,Z);let r=l(e);r&&(n.style=r)}}),c.registerVisitor({from:`iconFilter`,openTag:e=>{let t=e.getParent(),n={};t.operator=y.BuiltInOperatorNames.Icon,t.param=n,e.copyToObject(n,`iconId`,Q),e.copyToObject(n,`iconSet`,$)}}),c.registerVisitor({from:`top10`,openTag:e=>{let t=e.getParent(),n={};t.operator=y.BuiltInOperatorNames.TopN,t.param=n,e.copyToObject(n,`filterVal`,vn),e.copyToObject(n,`percent`,Z),e.copyToObject(n,`top`,Z),e.copyToObject(n,`limit`,vn,`val`)}}),c.registerVisitor({from:`dynamicFilter`,openTag:e=>{let t=e.getParent(),n=ue(e.getAttribute(`type`));t.operator=n.operator,t.param=n.param}});let re={from:`filters`,to:{},openTag:e=>{let t=e.getParent(),n={};return t.selector=y.BuiltInSelectorNames.Display,t.operator=y.BuiltInOperatorNames.InSet,t.param=n,e.copyToObject(n,`blank`,Z),e.copyToObject(n,`calendarType`,$),n}};c.registerVisitor(re);let x={from:`filter`,openTag:e=>{let t=e.getParent(),n=t.items;n||(n=[],t.items=n),n.push(e.getAttribute(`val`,$))}};c.registerVisitor(x);let S={from:`dateGroupItem`,to:{},openTag:e=>{let t=e.getParent(),n=t.dateGroups;n||(n=[],t.dateGroups=n),n.push(e.getSource()),e.copyTo(`group`,$,`dateTimeGrouping`),e.copyTo(`day`,Q),e.copyTo(`hour`,Q),e.copyTo(`minute`,Q),e.copyTo(`month`,Q),e.copyTo(`second`,Q),e.copyTo(`year`,Q)}};c.registerVisitor(S);let C=new Map;C.set(`filterColumn`,{from:`filterColumn`,transparent:!0}),C.set(`filters`,re),C.set(`filter`,x),C.set(`dateGroupItem`,S),c.registerVisitor({from:`customFilters`,openTag:e=>{let t=e.getParent(),n=e.getAttribute(`and`),r=n===`and`||n===`1`,i=[];return t.operator=r?y.BuiltInOperatorNames.And:y.BuiltInOperatorNames.Or,t.param=i,e.setSource(t),i},closeTag:e=>{let t=e.getSource(),n=t?.param;if(!t||!n)return;let r=n.length===1?n[0]:Ce(t);r!==t&&(t.operator=r.operator,t.param=r.param)}}),c.registerVisitor({from:`customFilter`,openTag:e=>{let t=e.getParent(),n;Array.isArray(t)?(n={},t.push(n)):n=t;let r=G({operator:e.getAttribute(`operator`),val:e.getAttribute(`val`)},t=>e.warn(t));r&&(n.operator=r.operator,n.param=r.param)}});let ae={},oe=null;c.registerVisitor({from:`sortState`,to:{},openTag:e=>{let t=e.getParent(),n=t.v;if(!n)return;let r={};ae={};let i=e.getAttribute(`caseSensitive`,Z);i!=null&&(ae.collatorOptions=i?ee.CaseSensitiveOptions:ee.CaseInsensitiveOptions);let a=e.getAttribute(`sortMethod`);a!==`stroke`&&a!==`pinYin`||(ae.collatorOptions={...ae.collatorOptions,collation:a===`stroke`?`stroke`:`pinyin`}),e.getAttribute(`columnSort`,Z)&&(r.axis=u.Axis.Column);let o=e.getAttribute(`ref`),s=t.r;oe=o&&s?p.fastStringToRange(o):null,oe&&(r.extent={range:Ze(s,oe)}),n.sort=r,e.setSource(t)}}),c.registerVisitor({from:`sortCondition`,to:{},openTag:e=>{let t=e.getParent(),n=t.v;if(!n)return;let r=n.sort;if(!r)return;let i=r.sorts;i||(i=[],r.sorts=i);let a=e.getAttribute(`ref`),o=0,s=null;if(a){let e=p.fastStringToRange(a,er),n=e.colStart,r=t.r,i=r.colStart;o=r?n-i:n,r&&oe&&(s=Ve(r,oe,e))}r.extent&&(r.extent.sorts??=[]).push(s);let c={...ae},u=Se(e.getAttribute(`sortBy`));u&&(c.sortOn=u);let d=l(e);d&&(c.style=d),e.copyToObject(c,`iconSet`,$),e.copyToObject(c,`customList`,$),c.reverse=e.getAttribute(`descending`,Z)??!1;let f={index:o,criteria:c};i.push(f)}});let se=e=>{v=e.getSource(),te=`topLeft`,e.copyTo(`topLeft`,$,`topLeftCell`);let t=ke(e.getAttribute(`defaultGridColor`)),n=e.getAttribute(`colorId`);n===null||t||(e.getSource().gridLineColor=`index`+parseFloat(n)),e.copyTo(`showZeros`,Z),e.copyTo(`showFormulas`,Z),e.copyTo(`zoomScale`,Q),e.copyTo(`viewMode`,$,`view`);let r={};for(let[t,n]of Je){let i=e.getAttribute(n,Q);i&&(r[t]=Math.min(400,Math.max(10,i)))}Object.keys(r).length>0&&(e.getSource().zoomScales=r),e.copyTo(`showRuler`,Z),e.copyTo(`showWhitespace`,Z,`showWhiteSpace`),e.copyTo(`windowProtection`,Z),e.copyTo(`showRowHeaders`,Z,`showRowColHeaders`),e.copyTo(`showColumnHeaders`,Z,`showRowColHeaders`),e.copyTo(`showRowGridlines`,Z,`showGridLines`),e.copyTo(`showColumnGridlines`,Z,`showGridLines`),e.copyTo(`rightToLeft`,Z),e.copyTo(`showOutlineSymbols`,Z)};c.registerVisitor({from:`sheetView`,to:`view`,openTag:e=>{se(e)},closeTag:()=>{v=null}}),c.registerVisitor({from:`customSheetViews`,to:`customSheetViews`,openTag:e=>{e.setSource([])}}),c.registerVisitor({from:`customSheetView`,to:[],openTag:e=>{E=!0,se(e)},closeTag:()=>{E=!1,v=null}}),c.registerVisitor({from:`selection`,to:null,openTag:e=>{if(!v)return;let t=e.getAttribute(`activeCell`)?.replace(/\$/g,``),n=e.getAttribute(`sqref`)?.replace(/\$/g,``),r=e.getAttribute(`pane`)??`topLeft`;if(r!==te){let e=v.freezePanes;if(e&&t){let i={activeCell:t};n&&n!==t&&(i.sqref=n),(e.paneSelections??={})[r]=i}return}let i={};t&&(i.cell=t);let a=e.getAttribute(`activeCellId`,Q);a!==null&&(i.rangeIndex=a),n&&n!==t&&(i.ranges=n.trim().split(/\s+/)),v.selection=i}}),c.registerVisitor({from:`pane`,to:null,openTag:e=>{if(!v)return;te=e.getAttribute(`activePane`)??`topLeft`;let t=e.getAttribute(`state`);if(t===`frozen`||t===`frozenSplit`){let t={};v.freezePanes=t,e.copyToObject(t,`topLeft`,$,`topLeftCell`);let n=(v.topLeft?p.fastStringToCell(v.topLeft):void 0)??{colIndex:0,rowIndex:0},r={colIndex:0,rowIndex:0};e.copyToObject(r,`colIndex`,Q,`xSplit`),e.copyToObject(r,`rowIndex`,Q,`ySplit`);let i={colIndex:n.colIndex+r.colIndex,rowIndex:n.rowIndex+r.rowIndex};t.coords=p.cellToString(i)}}}),c.registerVisitor({from:`sheetPr`,transparent:!0,openTag:t=>{let n=t.getAttribute(`codeName`);n&&(e.codeName=n),!1===t.getAttribute(`enableFormatConditionsCalculation`,Z)&&(e.conditionalFormatCalculation=!1),!0===t.getAttribute(`transitionEvaluation`,Z)&&(e.transitionFormulaEvaluation=!0),!0===t.getAttribute(`transitionEntry`,Z)&&(e.transitionFormulaEntry=!0),!1===t.getAttribute(`published`,Z)&&(e.excludeFromPublishing=!0);let r={};!0===t.getAttribute(`syncHorizontal`,Z)&&(r.horizontal=!0),!0===t.getAttribute(`syncVertical`,Z)&&(r.vertical=!0);let i=t.getAttribute(`syncRef`);i&&(r.anchor=i),Object.keys(r).length>0&&(e.syncScroll=r)}}),c.registerVisitor({from:`tabColor`,to:null,openTag:t=>{let n=De(e=>t.getAttribute(e));n&&(e.tabColor=n)}});let E=!1,D=()=>e.pageLayout??={};c.registerVisitor({from:`pageSetUpPr`,to:null,openTag:e=>{!0===e.getAttribute(`fitToPage`,Z)&&(D().fitToPage=!0),!1===e.getAttribute(`autoPageBreaks`,Z)&&(D().hideAutoPageBreaks=!0)}}),c.registerVisitor({from:`outlinePr`,to:null,openTag:t=>{let n=e=>{let n=t.getAttribute(e);return n===`0`||n===`false`},r={};n(`summaryBelow`)&&(r.summaryRow=`up`),n(`summaryRight`)&&(r.summaryColumn=`left`),(e=>{let n=t.getAttribute(e);return n===`1`||n===`true`})(`applyStyles`)&&(r.automaticStyles=!0),Object.keys(r).length>0&&(e.outline=r)}}),c.registerVisitor({from:`pageMargins`,to:null,openTag:e=>{if(E)return;let t=(t,n)=>e.getAttribute(t,vn)??n,n={left:t(`left`,.7),right:t(`right`,.7),top:t(`top`,.75),bottom:t(`bottom`,.75),header:t(`header`,.3),footer:t(`footer`,.3)};n.left===.7&&n.right===.7&&n.top===.75&&n.bottom===.75&&n.header===.3&&n.footer===.3||(D().margins=n)}}),c.registerVisitor({from:`pageSetup`,to:null,openTag:e=>{if(E)return;let n=D(),r=t=>e.getAttribute(t,Q)??void 0,i=t=>e.getAttribute(t,Z),a=e.getAttribute(`orientation`);a!==`landscape`&&a!==`portrait`||(n.orientation=a);for(let e of[`paperSize`,`scale`,`fitToWidth`,`fitToHeight`,`firstPageNumber`,`horizontalDpi`,`verticalDpi`,`copies`]){let t=r(e);t!==void 0&&(n[e]=t)}let o=e.getAttribute(`paperHeight`);o&&(n.paperHeight=o);let s=e.getAttribute(`paperWidth`);s&&(n.paperWidth=s),e.getAttribute(`pageOrder`)===`overThenDown`&&(n.printOrder=`overThenDown`),!0===i(`blackAndWhite`)&&(n.blackAndWhite=!0),!0===i(`draft`)&&(n.draftMode=!0),!0===i(`useFirstPageNumber`)&&(n.useFirstPageNumber=!0),!1===i(`usePrinterDefaults`)&&(n.ignorePrinterDefaults=!0);let c=e.getAttribute(`cellComments`),l=ie.find(([e])=>e===c)?.[1];l&&(n.printComments=l);let u=e.getAttribute(`errors`),d=k.find(([e])=>e===u)?.[1];d&&(n.printErrors=d);let f=e.getAttribute(`r:id`),p=f?t(f,`part`):null;p&&(n.printerSettings=p)}}),c.registerVisitor({from:`printOptions`,to:null,openTag:e=>{if(E)return;let t=t=>!0===e.getAttribute(t,Z);t(`horizontalCentered`)&&(D().centerHorizontally=!0),t(`verticalCentered`)&&(D().centerVertically=!0),t(`gridLines`)&&(D().printGridlines=!0),t(`headings`)&&(D().printHeadings=!0)}}),c.registerVisitor({from:`headerFooter`,to:{},openTag:e=>{if(E)return;let t={},n=t=>e.getAttribute(t,Z);!0===n(`differentOddEven`)&&(t.differentOddEven=!0),!0===n(`differentFirst`)&&(t.differentFirst=!0),!1===n(`scaleWithDoc`)&&(t.ignoreSheetScale=!0),!1===n(`alignWithMargins`)&&(t.ignoreSheetMargins=!0),Object.keys(t).length>0&&(D().headerFooter=t)}});for(let e of Qe)c.registerVisitor({from:e,to:{},text:(t,n)=>{if(E)return;let r=D(),i=r.headerFooter??={};i[e]=(i[e]??``)+Te(t)}});let de=`rowBreaks`;for(let[e,t]of[[`rowBreaks`,`rowBreaks`],[`colBreaks`,`columnBreaks`]])c.registerVisitor({from:e,to:{},openTag:()=>{de=t}});c.registerVisitor({from:`brk`,to:null,openTag:e=>{if(E)return;let t=e.getAttribute(`id`,Q);if(t==null)return;let n={index:t},r=e.getAttribute(`min`,Q);r!=null&&(n.min=r);let i=e.getAttribute(`max`,Q);i!=null&&(n.max=i),!0!==e.getAttribute(`man`,Z)&&(n.automatic=!0),!0===e.getAttribute(`pt`,Z)&&(n.pivot=!0);let a=D();(a[de]??=[]).push(n)}}),c.registerVisitor({from:`ignoredErrors`,transparent:!0}),c.registerVisitor({from:`ignoredError`,to:null,openTag:t=>{let n=t.getAttribute(`sqref`);if(!n)return;let r=[];for(let e of j)!0===t.getAttribute(e,Z)&&r.push(e);if(r.length!==0)for(let t of n.trim().split(/\s+/))(e.ignoredErrors??=[]).push({r:t,v:r})}}),c.registerVisitor({from:`mergeCells`,to:`merges`,openTag:e=>{e.setSource([])}}),c.registerVisitor({from:`dataValidations`,to:`validations`,openTag:t=>{t.setSource([]);let n={};!0===t.getAttribute(`disablePrompts`,Z)&&(n.disablePrompts=!0);let r=t.getAttribute(`xWindow`,Q);r!==null&&(n.windowX=r);let i=t.getAttribute(`yWindow`,Q);i!==null&&(n.windowY=i),Object.keys(n).length>0&&(e.validationSettings={...e.validationSettings,...n})}});let fe={from:`dataValidation`,to:[],openTag:e=>{let t=e.getAttribute(`sqref`);t&&=t.trim().split(/\s+/).join(`,`);let n={},r={r:t,v:n,rule:{type:e.getAttribute(`type`)??void 0,operator:e.getAttribute(`operator`)??void 0}};!0===e.getAttribute(`showDropDown`,Z)&&(n.hideDropdown=!0),e.copyToObject(n,`alert`,$,`error`),e.copyToObject(n,`alertTitle`,$,`errorTitle`),e.copyToObject(n,`showAlertMessage`,Z,`showErrorMessage`),n.alertStyle=e.getAttribute(`errorStyle`)??`stop`,e.copyToObject(n,`imeMode`),e.copyToObject(n,`prompt`),e.copyToObject(n,`promptTitle`),e.copyToObject(n,`showPromptMessage`,Z,`showInputMessage`),e.setSource(r)},closeTag:e=>{let t=e.getSource();if(!t?.rule)return;let n=qe(t.rule,a);n&&(e.getAttribute(`allowBlank`,Z)&&(n.includeBlanks=!0),t.v.condition=n),delete t.rule}};c.registerVisitor(fe),c.registerVisitor({from:`formula1`,to:{},text:(e,t)=>{let n=t.getParent().rule;n?.type&&(n.formula1=ce(h(e),n.type))}}),c.registerVisitor({from:`formula2`,to:{},text:(e,t)=>{let n=t.getParent().rule;n?.type&&(n.formula2=ce(h(e),n.type))}}),c.registerVisitor({from:`picture`,to:`picture`,openTag:e=>{let n=e.getAttribute(`r:id`);if(!n)return void e.warn(`A picture names no image; it was not imported.`,{onceKey:`xlsx.sheet.picture.noRel`});let r=t(n,`resource`);e.getSource().resId=r}});let pe={from:`slicer`,to:{},openTag:e=>{let n=e.getAttribute(`r:id`);if(!n)return void e.warn(`A slicer names no cache; it was not imported.`,{onceKey:`xlsx.sheet.slicer.noRel`});let r=t(n)?.slicers,i=e.getParent();i.slicers||={};let a=Object.keys(r);for(let e of a)i.slicers[e]=r[e]}};c.registerVisitor(pe);let O=(e,t)=>({from:e,to:{},openTag:e=>{e.setSource(``)},text:(e,t)=>{t.setSource((t.getSource()??``)+e)},closeTag:e=>{t(String(e.getSource()??``),e)}}),M=new Map;M.set(`dataValidations`,{from:`dataValidations`,to:`validations`,openTag:e=>{let t=e.getParent();e.setSource(t.validations??[])},closeTag:e=>{(e.getSource()?.length??0)===0&&e.setSource(void 0)}}),M.set(`dataValidation`,{...fe,closeTag:e=>{fe.closeTag(e);let t=e.getSource();t&&!t.r&&(e.warn(`x14 dataValidation with no xm:sqref was dropped.`),e.setSource(void 0))}});let N=e=>({from:e,to:{},openTag:t=>{t.setSource({rule:t.getParent()?.rule,key:e})}});M.set(`formula1`,N(`formula1`)),M.set(`formula2`,N(`formula2`)),M.set(`f`,O(`f`,(e,t)=>{let n=t.getParent(),r=n?.rule;r&&(r[n.key]=ce(h(e),r.type))})),M.set(`sqref`,O(`sqref`,(e,t)=>{let n=t.getParent(),r=e.trim();n&&r&&(n.r=r.split(/\s+/).join(`,`))}));let P=new Map,F=[],I=new Map;I.set(`conditionalFormattings`,{from:`conditionalFormattings`,transparent:!0}),I.set(`conditionalFormatting`,{from:`conditionalFormatting`,to:{},openTag:e=>{e.setSource({rules:[]})},closeTag:e=>{let t=e.getSource(),n=t?.rules??[];for(let e=0;e<n.length;e++){let r=n[e];r.sqref=t.sqref,r.id?P.set(r.id,r):F.push(r)}}}),I.set(`cfRule`,{from:`cfRule`,to:{},openTag:e=>{e.copyTo(`id`,$),e.copyTo(`type`,$),e.copyTo(`priority`,Q),e.copyTo(`stopIfTrue`,Z),e.copyTo(`operator`,$),e.copyTo(`text`,$),e.copyTo(`timePeriod`,$),e.copyTo(`aboveAverage`,Z),e.copyTo(`equalAverage`,Z),e.copyTo(`stdDev`,Q),e.copyTo(`bottom`,Z),e.copyTo(`percent`,Z),e.copyTo(`rank`,Q)},closeTag:e=>{let t=e.getSource();t&&e.getParent()?.rules?.push(t)}}),I.set(`sqref`,O(`sqref`,(e,t)=>{let n=t.getParent(),r=e.trim();n&&r&&(n.sqref=r)})),I.set(`dataBar`,{from:`dataBar`,to:{},openTag:e=>{e.copyTo(`minLength`,Q),e.copyTo(`maxLength`,Q),e.copyTo(`gradient`,Z),e.copyTo(`border`,Z),e.copyTo(`direction`,$),e.copyTo(`axisPosition`,$),e.copyTo(`negativeBarColorSameAsPositive`,Z),e.copyTo(`negativeBarBorderColorSameAsPositive`,Z)},closeTag:e=>{e.getParent().dataBar=e.getSource()}}),I.set(`iconSet`,{from:`iconSet`,to:{},openTag:e=>{e.copyTo(`iconSet`,$),e.copyTo(`custom`,Z),e.copyTo(`reverse`,Z),e.copyTo(`showValue`,Z)},closeTag:e=>{e.getParent().iconSet=e.getSource()}});let he=new Map;he.set(`f`,O(`f`,(e,t)=>{let n=t.getParent();if(!n)return;let r=e.trim(),i=Number(r);n.value=r.length>0&&Number.isFinite(i)?i:h(e)})),I.set(`cfvo`,{from:`cfvo`,to:{},scope:()=>he,openTag:e=>{let t=e.getParent();t.conditions||=[];let n=e.getSource();t.conditions.push(n),e.copyTo(`type`,$),!1===e.getAttribute(`gte`,Z)&&(n.exclusive=!0)}}),I.set(`f`,O(`f`,(e,t)=>{let n=t.getParent();n&&(n.formulas??=[]).push(h(e))})),I.set(`dxf`,{from:`dxf`,to:{},raw:!0,closeTag:e=>{if(!f)return;let t=e.getParent();if(!t)return;let n=f(e.getRawXml()??``);n&&(t.style=n)}});let ge=e=>({from:e,to:{},openTag:t=>{let n=De(e=>t.getAttribute(e));n&&(t.getParent()[e]=n)}});I.set(`borderColor`,ge(`borderColor`)),I.set(`negativeFillColor`,ge(`negativeFillColor`)),I.set(`negativeBorderColor`,ge(`negativeBorderColor`)),I.set(`axisColor`,ge(`axisColor`)),I.set(`cfIcon`,{from:`cfIcon`,to:{},openTag:e=>{let t=e.getAttribute(`iconSet`),n=e.getAttribute(`iconId`,Q);if(t===null||n===null)return;let r=e.getParent();r.icons||=[],r.icons.push({set:t,id:n})}});let _e=new Map;_e.set(`id`,O(`id`,(e,t)=>{let n=t.getParent(),r=e.trim();n&&r&&(n.x14Id=r)}));let ve=new Map;ve.set(`slicerList`,{from:`slicerList`,transparent:!0}),ve.set(`slicer`,pe);let ye=new Map([[T(Ye),M],[T(w),I],[T(Le),I],[T(Fe),_e],[T(A),ve],[T(He),ve],[T(Ie),C]]),be=new Set;c.registerVisitor({from:`extLst`,transparent:!0}),c.registerVisitor({from:`ext`,transparent:!0,scope:e=>{let t=e.getAttribute(`uri`),n=T(t),r=ye.get(n);if(r)return r;if(!We.has(n)&&!be.has(n)){be.add(n);let r=L[n];e.warn(r?`Extension content '${r}' (${t}) is not read; it will be lost on resave.`:`Unknown extension content (uri ${t}) is not read; it will be lost on resave.`)}return null}}),c.registerVisitor({from:`mergeCell`,to:[],openTag:e=>{let t=e.getAttribute(`ref`);e.setSource(t)}}),c.registerVisitor({from:`hyperlinks`,to:`hyperlinks`,openTag:e=>{e.setSource([])}}),c.registerVisitor({from:`hyperlink`,to:[],openTag:e=>{let n=e.getAttribute(`r:id`),r=e.getAttribute(`ref`);if(!r)return void e.warn(`A hyperlink has no ref; it was dropped.`,{onceKey:`xlsx.sheet.hyperlink.noRef`});e.setKey(r);let i=n?t(n):``;if(typeof i!=`string`)return void e.warn(`A hyperlink has an invalid address; it was dropped.`,{onceKey:`xlsx.sheet.hyperlink.address`});i.endsWith(`\\`)&&(i=i.substring(0,i.length-1));let a=e.getAttribute(`location`);if(a&&(i+=`#`+a),!i)return void e.warn(`A hyperlink has no address; it was dropped.`,{onceKey:`xlsx.sheet.hyperlink.address`});let o,s=e.getAttribute(`tooltip`),c=e.getAttribute(`display`);s||c?(o={address:i},s&&(o.screenTip=s),c&&(o.display=c)):o=i,e.setSource({r,v:o})}}),c.registerVisitor({from:`drawing`,to:`movables`,openTag:e=>{let n=e.getAttribute(`r:id`);if(!n)return;let r=t(n);r?e.setSource(r.movables):e.warn(`A drawing part is missing; its shapes were not imported.`,{onceKey:`xlsx.sheet.drawing.missing`})}}),c.registerVisitor({from:`legacyDrawing`,to:`legacyDrawing`,openTag:e=>{e.setSource(t(e.getAttribute(`r:id`),`legacyDrawing`)??void 0)}}),c.registerVisitor({from:`legacyDrawingHF`,to:`legacyDrawingHF`,openTag:e=>{e.setSource(t(e.getAttribute(`r:id`),`legacyDrawing`)??void 0)}});let R=null,xe=!1,we=new Map,Ee={from:`Fallback`,to:null},Oe={from:`Choice`,transparent:!0};we.set(`Fallback`,Ee),we.set(`Choice`,Oe),we.set(`control`,{from:`control`,transparent:!0,openTag:e=>{let n=e.getAttribute(`name`),r=e.getAttribute(`r:id`),i=r?t(r,`formControl`):null;if(!i)return e.warn(`The form control '${n??``}' has no properties and was not read.`,{onceKey:`xlsx.sheet.control.noProperties`}),void(R=null);let a=i.json,o=parseInt(e.getAttribute(`shapeId`)??``,10);isNaN(o)||(a.shapeId=o);let s={anchor:{tl:{c:0,r:0,x:0,y:0},br:{c:0,r:0,x:0,y:0}},content:{type:i.type,json:a}};n&&(s.content.name=n),R={movable:s,control:a}},closeTag:()=>{R&&=(e.movables||=[],e.movables.push(R.movable),null)}}),we.set(`controlPr`,{from:`controlPr`,transparent:!0,raw:!0,openTag:e=>{if(!R)return;let t=e.getFrom().attributes??{},n={};for(let e in t){let r=t[e];n[e]=typeof r==`string`?r:r?.value??``}le(n,R.control)},closeTag:e=>{if(!R)return;let t=(e=>{let t=/<(?:[\w.-]+:)?anchor\b([^>]*)>([\s\S]*?)<\/(?:[\w.-]+:)?anchor>/.exec(e);if(!t)return null;let n=t[2],r=e=>RegExp(`<(?:[\\w.-]+:)?${e}\\b[^>]*>([\\s\\S]*?)<\\/(?:[\\w.-]+:)?${e}>`).exec(n)?.[1],i=t[1],a=/\bmoveWithCells="(?:1|true)"/.test(i),o=/\bsizeWithCells="(?:1|true)"/.test(i);return{anchor:{tl:Wn(r(`from`)),br:Wn(r(`to`))},anchorType:a?o?`twoCell`:`oneCell`:`absolute`,rest:(e.slice(0,t.index)+e.slice(t.index+t[0].length)).trim()}})(e.getRawXml()??``);t?(R.movable.anchor=t.anchor,t.anchorType!==`twoCell`&&(R.movable.anchorType=t.anchorType),t.rest&&(R.control.xml=t.rest)):xe||(xe=!0,e.warn(`A form control has no anchor; it is placed at the top left of the sheet.`))}});let Ae={from:`controls`,transparent:!0,scope:()=>we};c.registerVisitor(Ae);let B=new Map([[`Choice`,Oe],[`Fallback`,Ee],[`controls`,Ae]]);c.registerVisitor({from:`AlternateContent`,transparent:!0,scope:()=>B}),c.registerVisitor({from:`tableParts`,to:`tables`,openTag:e=>{e.setSource([])}}),c.registerVisitor({from:`tablePart`,to:[],openTag:e=>{let n=e.getAttribute(`r:id`);if(!n)return;let r=t(n);r?e.setSource(r):e.warn(`A table part is missing; the table was not imported.`,{onceKey:`xlsx.sheet.table.missing`})}});let je=(e,t)=>{t.conditions?.length&&(e.stops=ne(t)),t.minLength!==void 0&&(e.minLength=t.minLength),t.maxLength!==void 0&&(e.maxLength=t.maxLength),(t.gradient??1)&&(e.gradient=!0),t.border&&t.borderColor&&(e.borderColor=t.borderColor),!t.negativeBarColorSameAsPositive&&t.negativeFillColor&&(e.negativeFillColor=t.negativeFillColor),!(t.negativeBarBorderColorSameAsPositive??1)&&t.negativeBorderColor&&(e.negativeBorderColor=t.negativeBorderColor),t.axisColor&&(e.axisColor=t.axisColor),t.axisPosition!==`middle`&&t.axisPosition!==`none`||(e.axisPosition=t.axisPosition),t.direction!==`leftToRight`&&t.direction!==`rightToLeft`||(e.direction=t.direction)},Me=(e,t)=>{t.conditions?.length&&(e.stops=ne(t)),t.iconSet&&t.iconSet!==e.iconSet&&(e.iconSet=t.iconSet),t.icons?.length&&(e.icon=t.icons),t.reverse!==void 0&&(e.reverse=t.reverse),t.showValue!==void 0&&(e.showValue=t.showValue)},Ne=e=>{if(!e.sqref)return null;let t=e.sqref.split(/\s+/).join(`,`);if(e.type===`iconSet`){if(!e.iconSet)return null;let n={type:b.ScaleType.IconSet,stops:[]};return Me(n,e.iconSet),{r:t,v:{scale:n},priority:e.priority}}let n=H(e,a);if(!n)return null;let r={condition:n};return e.style&&(r.style=e.style),e.stopIfTrue&&(r.stopIfTrue=!0),{r:t,v:r,priority:e.priority}};c.registerVisitor({from:`worksheet`,to:{},openTag:e=>{},closeTag:e=>{let t=e.getSource(),n=t?.conditionals;if(n)for(let e=0;e<n.length;e++){let t=n[e],r=t.x14Id;if(!r)continue;delete t.x14Id;let i=P.get(r);if(!i)continue;P.delete(r);let a=t.v?.scale;i.dataBar&&a?.type===b.ScaleType.DataBar?je(a,i.dataBar):i.iconSet&&a?.type===b.ScaleType.IconSet&&Me(a,i.iconSet)}let r=[...P.values(),...F],i=new Set,o=0;for(let e=0;e<r.length;e++){let a=Ne(r[e]);a?(n||(n=[],t.conditionals=n),n.push(a)):(i.add(r[e].type??`unknown`),o++)}if(o>0){let e=[...i].map(e=>`'${e}'`).join(`, `);a?.(o===1?`An x14-only conditional formatting rule (type ${e}) is not read and will be lost on resave.`:`${o} x14-only conditional formatting rules (types ${e}) are not read and will be lost on resave.`)}if(n){n.length>1&&n.sort((e,t)=>(e.priority??1/0)-(t.priority??1/0));for(let e=0;e<n.length;e++)delete n[e].priority}}}),c.registerVisitor({from:`customProperties`,to:`customProperties`,openTag:e=>{e.setSource([])},closeTag:e=>{let t=e.getSource();t.length>0&&(e.getParent().customProperties=t)}}),c.registerVisitor({from:`customPr`,to:{},openTag:e=>{let n=e.getParent();e.copyTo(`name`);let r=e.getAttribute(`r:id`);if(!r)return void e.warn(`A custom property names no part; it was not imported.`,{onceKey:`xlsx.sheet.customProperty.noRel`});let i=t(r,`resource`),a=e.getSource();a.resId=i,n.push(a)}}),c.registerVisitor({from:`sheetProtection`,to:`protection`,openTag:e=>{let t=e.getSource();for(let n of me){let r=e.hasAttribute(n.attribute)?e.getAttribute(n.attribute):null;t[n.key]=z(n,r)}if(t.sheet)return;let n={};e.copyToObject(n,`hash`,$,`hashValue`),e.copyToObject(n,`algorithm`,$,`algorithmName`),e.copyToObject(n,`salt`,$,`saltValue`),e.copyToObject(n,`spinCount`,Q),e.copyToObject(n,`legacyHash`,$,`password`),Object.keys(n).length>0&&(e.getSource().password=n)}}),c.registerVisitor({from:`protectedRanges`,to:`protectedRanges`,openTag:e=>{e.setSource([])}}),c.registerVisitor({from:`protectedRange`,to:[],openTag:e=>{let t=e.getAttribute(`sqref`);t&&=t.trim().split(/\s+/).join(`,`);let n={},r={r:t,v:n};e.copyToObject(n,`name`),e.copyToObject(n,`securityDescriptor`);let i={};e.copyToObject(i,`hash`,$,`hashValue`),e.copyToObject(i,`algorithm`,$,`algorithmName`),e.copyToObject(i,`salt`,$,`saltValue`),e.copyToObject(i,`spinCount`,Q),e.copyToObject(i,`legacyHash`,$,`password`),Object.keys(i).length>0&&(n.password=i),e.setSource(r)},closeTag:e=>{let t=e.getSource();t?.r&&t.v.name||e.setSource(void 0)}}),c.registerVisitor({from:`sheetFormatPr`,to:`sheetFormatPr`,openTag:t=>{t.copyToObject(e,`defaultColSize`,vn,`defaultColWidth`);let n=t.getAttribute(`customHeight`);n!==`1`&&n!==`true`||t.copyToObject(e,`defaultRowSize`,vn,`defaultRowHeight`);let r=t.getAttribute(`baseColWidth`,Q);r&&r!==8&&(e.baseColSize=r),d=!!t.getAttribute(`zeroHeight`,Z)}}),c.registerVisitor({from:`cols`,to:`cols`,openTag:e=>{e.setSource([])}}),c.registerVisitor({from:`col`,to:[],openTag:e=>{let t=e.getSource(),n=e.getAttribute(`min`),r=e.getAttribute(`max`),i=n===void 0?0:parseInt(n)-1,a=r===void 0?i:parseInt(r)-1;t.r=p.runToString(i,a,!0);let o={};t.v=o,e.copyToObject(o,`sz`,vn,`width`),e.copyToObject(o,`csz`,Z,`customWidth`),e.copyToObject(o,`h`,Z,`hidden`),e.copyToObject(o,`l`,Q,`outlineLevel`),e.copyToObject(o,`cl`,Z,`collapsed`),e.getAttribute(`bestFit`,Z)&&(o.bf=!0),e.copyToObject(o,`s`,Q,`style`)}}),c.registerVisitor({from:`oleObjects`,to:null,openTag:e=>{e.warn(`'OLE Objects' are not supported.`)}});let V=!1,Pe=!1,Re=0,ze=``,Be=``,U=e=>{let t=e.indexOf(`:`);return t===-1?e:e.slice(t+1)},Ue=new Bn;return nr(_,e,c.createEventHandler(e,i,a),a,o,{onOpenTag:e=>{V=!0;let t=U(e.name);t===`t`||t===`v`?Re===0&&(Pe=!0):t===`rPh`||t===`phoneticPr`?Re++:Re===0&&Ue.onOpenTag(t,e.attributes)},onText:e=>{Pe&&(ze+=e,Ue.onText(e))},onCloseTag:e=>{let t=U(e.name);t===`t`||t===`v`?Pe=!1:t===`rPh`||t===`phoneticPr`?Re>0&&Re--:Ue.onCloseTag(t)},onEnd:()=>{if(!V)return;let e=Ue.take();V=!1,Pe=!1,Re=0;let t=Te(ze);return ze=``,Be=t,e?{t:`r`,v:{type:`richText`,data:{runs:Vn(e,s?.get(Yn))}}}:n(t)},onError:e=>{}},s,n,()=>d,()=>Be)},Zn=class{static{this.Collapsed=1}static{this.CustomFormat=2}static{this.CustomHeight=4}static{this.Hidden=8}static{this.Ht=16}static{this.OutlineLevel=32}static{this.Ph=64}static{this.R=128}static{this.S=256}static{this.Spans=512}},Qn=(e,t,n)=>{if(e[0].value[0]===e[1].value[0])return t},$n=/^\s*TABLE\s*\(/i,er={colStart:0,colEnd:0,rowStart:0,rowEnd:0},tr=e=>e===`1`||e===`true`,nr=(e,t,n,i,o,s,c,l,h,g)=>{let _=!1,v=[],y=c?.get(Jn),ee=c?.get(Yn),b=new Map,te=!1,re=[],x=!1,S=null,C=null,ie=null,w=null,ae=null,oe=null,se=c?.get(`richData`)??r.EmptyArray,T=null,ce=!1,E=p.normalizeA1ToR1C1,le=a.createConflatingRanges(),ue=new Map,de=[],fe=[],pe=!1,O=!1,k=null,A=e=>{let t=c?.get(`metadata`)?.values;if(!t)return;let n=parseInt(e,10);if(!Number.isFinite(n)||n<1)return;let r=t[n-1]?.get(`XLRICHVALUE`);return r?.richValueIndex===void 0?void 0:se[r.richValueIndex]},j=!1,me=a.createConflatingRanges(),M,N=!1,P=-1,F=-1,I=null,L=null,he=e=>({t:`r`,v:{type:`hyperlink`,data:{address:M,friendly:e}}}),ge=null,_e=[],ve=null,ye=-2,be=0,R=``,z=``,xe=``,Se=``,Ce=``,we=``,Te=``,Ee=``,De=``,Oe=``,ke=``,Ae=``,B=``,Me=``,Ne=!0,V=null,Pe=!1,Fe=!1,Ie=!1,Le=null,H=0,Re=e=>{let r=e.name,i=r.indexOf(`:`);if(i!==-1&&(r=r.slice(i+1)),H++,H%196608==0&&o?.(H),L){let t=e.attributes;switch(r){case`v`:te=!0;break;case`f`:switch(x=!0,t.t??null){case null:case`normal`:break;case`shared`:let e=t.si;C=t.ref,S=e;break;case`array`:C=t.ref,k=C;break;case`dataTable`:{let e=((e,t,n)=>{let r=e.r1,i=tr(e.del1);if(!r&&!i)return null;let a=e.ref??p.cellToString({rowIndex:t,colIndex:n}),o=p.fastStringToRange(a);if(!o)return null;let s={ref:{rowStart:o.rowStart,colStart:o.colStart,rowEnd:o.rowEnd,colEnd:o.colEnd}},c=tr(e.dt2D);if(c||tr(e.dtr)?(r&&(s.rowInput=r),i&&(s.rowInputDeleted=!0)):(r&&(s.columnInput=r),i&&(s.columnInputDeleted=!0)),c){let t=e.r2;t&&(s.columnInput=t),tr(e.del2)&&(s.columnInputDeleted=!0)}return s})(t,P,F);e&&(fe.push(e),tr(t.ca)&&me.append(P,F));return}}let e=t.ca;e!==void 0&&(j=e===`1`);break;case`is`:N=!0;return}N&&!x&&s?.onOpenTag?.(e)}else if(_){if(r===`c`){L=e,M=void 0;let t=e.attributes,n=t.r;F=n===void 0?F+1:p.fastStringToCol(n);let r=t.t;r===void 0?ge=null:(ge=r,ge===`str`&&(N=!0));let i=t.s;i===void 0&&(Le!==null||Ie)&&(i=`0`),i!==void 0&&(i=parseInt(i),V&&V.value===i&&V.colEnd+1===F?V.colEnd=F:(V={colStart:F,rowStart:P,colEnd:F,rowEnd:P,value:i},re.push(V))),k=null,O=!1,ce=!1;let a=t.cm;pe=a!==void 0&&(e=>{let t=c?.get(`metadata`)?.cells;if(!t)return!1;let n=parseInt(e,10);return!(!Number.isFinite(n)||n<1)&&!0===t[n-1]?.get(`XLDAPR`)?.fDynamic})(a);let o=t.vm;if(o!==void 0){let e=A(o);if(d.isError(e)){let t=e.getCode();I={t:`e`,v:t},pe&&t===d.Code.Spill&&(O=!0)}}}}else{if(Fe&&r===`row`){_=!0;let t=e.attributes.r;if(P=t===void 0?P+1:parseInt(t)-1,F=-1,h?.()){let e=v[v.length-1];e&&e.max+1===P?e.max=P:v.push({min:P,max:P})}if(be=0,z=e.attributes.customHeight,z!==void 0&&(be|=Zn.CustomHeight),z!==De&&(Ne=!0,De=z),R=e.attributes.ht,R!==void 0&&(be|=Zn.Ht),R!==Ee&&(Ne=!0,Ee=R),xe=e.attributes.hidden,xe!==void 0&&(be|=Zn.Hidden),xe!==Oe&&(Ne=!0,Oe=xe),Ce=e.attributes.s,Ce!==void 0&&(be|=Zn.S),Ce!==Ae&&(Ne=!0,Ae=Ce),Se=e.attributes.customFormat,Se!==void 0&&(be|=Zn.CustomFormat),Se!==ke&&(Ne=!0,ke=Se),we=e.attributes.outlineLevel,we!==void 0&&(be|=Zn.OutlineLevel),we!==B&&(Ne=!0,B=we),Te=e.attributes.collapsed,Te!==void 0&&(be|=Zn.Collapsed),Te!==Me&&(Ne=!0,Me=Te),be!==0){if(ye+1!==P||Ne){let e=z!==void 0&&(z===`1`||z===`true`),t=Se!==void 0&&(Se===`1`||Se===`true`);Le=t&&Ce!==void 0?Ce:null,t&&Le===null&&(Le=`0`),ve={min:P,max:P,value:{sz:R===void 0?-1:parseFloat(R),csz:e,h:xe!==void 0&&(xe===`1`||xe===`true`),s:Le===null?void 0:Le===`0`?0:parseInt(Le),l:we===void 0||we===`0`?0:parseInt(we),cl:Te!==void 0&&(Te===`1`||Te===`true`)}},_e.push(ve)}else ve.max=P}ye=P,Ne=!1;return}if(r===`sheetData`&&(Fe=!0),!Pe&&r===`sheetData`){Pe=!0;let e=t.cols,n=e?e.length:0;for(let t=0;!Ie&&t<n;t++)e[t].v.s&&(Ie=!0)}n?.onOpenTag?.(e)}},ze=t=>{let r=t.name;if(r===`sheetData`&&(Fe=!1),!x||r!==`c`&&r!==`f`||(S&&(w=ue.get(S)??null),w&&(M=(e=>{if(e.length<11||(32|e.charCodeAt(0))!=104||!/^HYPERLINK\(/i.test(e))return;let t=1,n=!1,r=10;for(;r<e.length&&t>0;r++){let i=e.charCodeAt(r);n?i===34&&(e.charCodeAt(r+1)===34?r++:n=!1):i===34?n=!0:i===40?t++:i===41&&t--}if(t!==0||e.slice(r).trim().length>0)return;let i=/^HYPERLINK\(\s*"((?:[^"]|"")*)"\s*[,)]/i.exec(e);return i?i[1].replace(/""/g,`"`):null})(w[2]),le.append(P,F,w),j&&me.append(P,F)),k!==null&&de.push([k,pe?O?`error`:`dynamic`:`fixed`]),x=!1,w=null,S=null,C=null,te=!1,j=!1,k=null,pe=!1,O=!1),L){let n=r.indexOf(`:`);if(n!==-1&&(r=r.slice(n+1)),N){if(r===`is`||r===`v`){let t=s?.onEnd?.();t==null||ce&&g?.()===``||e.pushAt(P,F,M!==void 0&&typeof t==`number`?he(g?.()??``):typeof t==`number`?``+t:t)}else r!==`f`&&s?.onCloseTag?.(t)}te&&=!1,r===`c`&&(L=null,N=!1)}else{if(_)return _=!1,void(V=null);n?.onCloseTag?.(t)}},Be=t=>{let r=t.trim();if(te){switch(I=null,ge){case null:case`n`:I=f.flushSubnormal(parseFloat(r));break;case`b`:I=r===`1`||r===`true`;break;case`s`:{let e=parseInt(r,10),t=b.get(e);if(t===void 0){let n=y?.get(e);t=n?Vn(n,ee):null,b.set(e,t)}I=t?{t:`r`,v:{type:`richText`,data:{runs:t}}}:r;break}case`d`:{let e=((e,t=!1)=>{if(!e)return null;let n=In.exec(e);if(n){let[,e,t,r]=n;return e===void 0&&t===void 0&&r===void 0?null:(3600*parseFloat(e??`0`)+60*parseFloat(t??`0`)+parseFloat(r??`0`))/86400}let r=Fn.exec(e);if(!r)return null;let[,i,a,o,s,c,l,u]=r;if(i===void 0&&s===void 0)return null;let d=0;if(i!==void 0){let e=parseInt(i,10),n=parseInt(a,10),r=parseInt(o,10);if(n<1||n>12||r<1||r>31)return null;let s=Ln(e,n,r)-Rn;if(d=s<=60?s-1:s,t&&(d-=1462),d<0)return null}return s!==void 0&&(d+=(3600*parseInt(s,10)+60*parseInt(c,10)+(l===void 0?0:parseInt(l,10))+(u===void 0?0:parseFloat(u)))/86400),d})(r,!0===c?.get(qn));e===null?l&&(i?.(`Date '${r}' in cell ${p.cellToString({colIndex:F,rowIndex:P})} is not a date this workbook can hold; kept as text.`,void 0,`xlsx.cell.isoDateText`),I=``+l(r)):I=e;break}case`e`:if(r===`#VALUE!`){let e=L.attributes.vm;if(e!==void 0){let t=A(e);if(d.isError(t)){I={t:`e`,v:t.getCode()};break}if(m.isJSON(t)){I={t:`r`,v:t};break}}}let e=d.getBuiltInByLabel(r);e?I={t:`e`,v:e.getCode()}:(I=r,i?.(`Unknown formula error '${r}' in cell ${p.cellToString({colIndex:F,rowIndex:P})}`));break;case`str`:case`inlineStr`:N=!0}I!==null&&e.pushAt(P,F,M===void 0||typeof I!=`number`&&typeof I!=`boolean`?I:he(I))}let a=S!==null;if(S){if(ae===S)w=oe;else{if(w=ue.get(S)??null,!w){let e=[];ie=E(r,P,F,e),w=[ie,e,r],ue.set(S,w)}ae=S,oe=w}S=null}if(x){let e=r,t=a?void 0:c?.get(Kn);if(t){let n=(e=>{if(e.length<Sn.length||e.slice(0,Sn.length).toUpperCase()!==Cn)return Tn;let t=Dn(e,Sn.length);if(t===null||e.charCodeAt(t.end)!==41||e.charCodeAt(t.end+1)!==44||e.charCodeAt(e.length-1)!==41)return Tn;let n=t.value;return n.toUpperCase()===wn?En:n.length===0?Tn:{kind:`formula`,formula:n}})(r);n.kind!==`none`&&(T??=new kn(t),n.kind===`spilled`?ce=T.placeholder(P,F):T.anchor(P,F,n.formula)&&(e=n.formula,j||=(e=>On(e).some(e=>D(e)||!0===ne.get(e)?.getDeclaration().getReturnType()?.isVolatile()))(e)))}if(ce)j=!1;else{let t=[];ie=E(e,P,F,t),w=[ie,t,e]}}N?s?.onText?.(t):_||n?.onText?.(r)},U={r:void 0,t:void 0,s:void 0,cm:void 0,vm:void 0},Ve={name:`c`,attributes:U,isSelfClosing:!1},He={t:void 0,si:void 0,ref:void 0,ca:void 0},Ue={name:`f`,attributes:He,isSelfClosing:!1},We={name:`v`,attributes:{},isSelfClosing:!1},W={r:void 0,s:void 0,ht:void 0,hidden:void 0,collapsed:void 0,customHeight:void 0,customFormat:void 0,outlineLevel:void 0},Ge={name:`row`,attributes:W,isSelfClosing:!1},Ke=_n.NEED_MORE,G=_n.NOT_HANDLED,qe=_n.decodeText,Je=!1,Ye=(e,t,n,r)=>{for(;;){let i=0;for(;t<n&&((i=e.charCodeAt(t))===32||i===9||i===10||i===13);)t++;if(t>=n)return Ke;if(i===62)return Je=!1,t+1;if(i===47)return t+1>=n?Ke:e.charCodeAt(t+1)===62?(Je=!0,t+2):G;let a=t;for(;t<n&&(i=e.charCodeAt(t))!==61;){if(i===62||i===47||i===32||i===9||i===10||i===13)return G;t++}if(t+1>=n)return Ke;let o=t-a,s=e.charCodeAt(t+1);if(s!==34&&s!==39)return G;let c=t+2,l=c;for(;l<n&&(i=e.charCodeAt(l))!==s;){if(i===38||i<32)return G;l++}if(l>=n)return Ke;t=l+1;let u=e.charCodeAt(a);if(r===2)switch(o){case 1:u===114?W.r=e.slice(c,l):u===115&&(W.s=e.slice(c,l));break;case 2:e.startsWith(`ht`,a)&&(W.ht=e.slice(c,l));break;case 6:e.startsWith(`hidden`,a)&&(W.hidden=e.slice(c,l));break;case 9:e.startsWith(`collapsed`,a)&&(W.collapsed=e.slice(c,l));break;case 12:e.startsWith(`customHeight`,a)?W.customHeight=e.slice(c,l):e.startsWith(`customFormat`,a)?W.customFormat=e.slice(c,l):e.startsWith(`outlineLevel`,a)&&(W.outlineLevel=e.slice(c,l))}else if(r===0)o===1?u===114?U.r=e.slice(c,l):u===116?U.t=e.slice(c,l):u===115&&(U.s=e.slice(c,l)):o===2&&e.charCodeAt(a+1)===109&&(u===99?U.cm=e.slice(c,l):u===118&&(U.vm=e.slice(c,l)));else if(o===1)u===116&&(He.t=e.slice(c,l));else if(o===2){let t=e.charCodeAt(a+1);u===115&&t===105?He.si=e.slice(c,l):u===99&&t===97&&(He.ca=e.slice(c,l))}else o===3&&e.startsWith(`ref`,a)&&(He.ref=e.slice(c,l))}},Xe=(e,t,n)=>e.charCodeAt(t+1)===47&&e.charCodeAt(t+2)===n&&e.charCodeAt(t+3)===62;return{...n,onEnd:()=>{if(h?.()){let e=0,t=[],n=(e,t)=>({min:e,max:t,value:{sz:-1,csz:!1,h:!0,s:void 0,l:0,cl:!1}});for(let r of v)r.min>e&&t.push(n(e,r.min-1)),e=Math.max(e,r.max+1);e<=1048575&&t.push(n(e,1048575)),t.length>0&&(_e.push(...t),_e.sort((e,t)=>e.min-t.min))}_e.length>0&&(t.rows=p.runsToRefs(_e,!1));let r=le.done(Qn);r=((e,t)=>{let n=null;for(let t=0;t<e.length;t++){let r=e[t];if(!$n.test(r.value[2]))continue;n??=new Map;let i=r.value[0],a=n.get(i);a?a.push(r):n.set(i,[r])}if(n===null)return e;let r=new Set;for(let e of n.values()){let n=e[0],i={rowStart:n.rowStart,colStart:n.colStart,rowEnd:n.rowEnd,colEnd:n.colEnd},a=0;for(let t=0;t<e.length;t++){let n=e[t];n.rowStart<i.rowStart&&(i.rowStart=n.rowStart),n.colStart<i.colStart&&(i.colStart=n.colStart),n.rowEnd>i.rowEnd&&(i.rowEnd=n.rowEnd),n.colEnd>i.colEnd&&(i.colEnd=n.colEnd),a+=(n.rowEnd-n.rowStart+1)*(n.colEnd-n.colStart+1)}if(a!==(i.rowEnd-i.rowStart+1)*(i.colEnd-i.colStart+1))continue;let o=Pn(p.resolveRelativeToA1(n.value[1],i.rowStart,i.colStart),i);if(o){t.push(o);for(let t=0;t<e.length;t++)r.add(e[t])}}return r.size===0?e:e.filter(e=>!r.has(e))})(r,fe);let i=r.length;if(i>0||fe.length>0){let e=Array(i);for(let t=0;t<i;t++){let n=r[t],i=p.rangeToString(n),a=n.value[1],o=p.resolveRelativeToA1(a,n.rowStart,n.colStart);e[t]=[i,o]}for(let t=0;t<fe.length;t++){let n=fe[t],r=n.ref;e.push([p.cellToString({rowIndex:r.rowStart,colIndex:r.colStart}),je(n)]),de.push([p.rangeToString(r),`dynamic`])}t.formulas=e}let o=me.done(!0),s=o.length;if(s>0){let e=Array(s);for(let t=0;t<s;t++){let n=o[t],r=p.rangeToString(n);e[t]=r}t.volatile=e}T&&de.push(...T.getFormulaArray()),de.length>0&&(t.formulaArray=[...de]);let c=re.length;if(c>0){re.sort(a.createRangeComparator(u.Axis.Column));let e=re[0],n=e.colStart,r=e.colEnd,i=e.rowEnd,o=e.value,s=[];s.push(e);let l=null;for(let t=1;t<c;t++)l=re[t],o!==l.value||n!==l.colStart||r!==l.colEnd||i+1!==l.rowEnd?(s.push(l),e=l,n=e.colStart,r=e.colEnd,i=e.rowEnd,o=e.value):(i=l.rowEnd,e.rowEnd=i);let d=s.length,f=Array(d);for(let e=0;e<d;e++){let t=s[e],n=p.rangeToString(t);f[e]=[n,t.value]}t.directStyles=f}let l=e.build();l&&(t.data=l.tuples),n?.onEnd?.()},onOpenTag:Re,onCloseTag:ze,onText:Be,elementScanners:[{name:`c`,scan:(e,t,n)=>{if(!_||L!==null)return G;U.r=U.t=U.s=U.cm=U.vm=void 0;let r=Ye(e,t+2,n,0);if(r<0)return r;let i=U.t;if(U.r===void 0||i===`str`||i===`inlineStr`)return G;let a=!1,o=-1,s=-1,c=-1,l=-1,u=r;if(!Je)for(He.t=He.si=He.ref=He.ca=void 0;;){let t=e.indexOf(`<`,r);if(t===-1||t+3>=n)return Ke;for(let n=r;n<t;n++){let t=e.charCodeAt(n);if(t!==32&&t!==9&&t!==10&&t!==13)return G}let i=e.charCodeAt(t+1),d=e.charCodeAt(t+2);if(i===47){if(!Xe(e,t,99))return G;u=t+4;break}if(i===102&&!a&&c===-1&&(d===32||d===62||d===47)){if(a=!0,r=Ye(e,t+2,n,1),r<0)return r;if(He.t===`dataTable`)return G;if(Je)continue;let i=e.indexOf(`<`,r);if(i===-1||i+3>=n)return Ke;if(!Xe(e,i,102))return G;o=r,s=i,r=i+4}else if(i===118&&d===62&&c===-1){let i=e.indexOf(`<`,t+3);if(i===-1||i+3>=n)return Ke;if(!Xe(e,i,118))return G;c=t+3,l=i,r=i+4}else return G}return Re(Ve),a&&(Re(Ue),s>o&&Be(qe(e.slice(o,s))),ze(Ue)),c!==-1&&(Re(We),l>c&&Be(qe(e.slice(c,l))),ze(We)),ze(Ve),u}},{name:`row`,openTag:Ge,scan:(e,t,n)=>{if(!Fe||_||L!==null)return G;W.r=W.s=W.ht=W.hidden=W.collapsed=W.customHeight=W.customFormat=W.outlineLevel=void 0;let r=Ye(e,t+4,n,2);return r<0?r:Je||W.r===void 0?G:(Re(Ge),r)}}]}},rr=new Map([[`urn:schemas-microsoft-com:vml`,`v`],[`urn:schemas-microsoft-com:office:office`,`o`],[`urn:schemas-microsoft-com:office:excel`,`x`]]),ir=[...rr].map(([e,t])=>` xmlns:${t}="${e}"`).join(``),ar=/<(\/?)([A-Za-z_][\w.-]*(?::[\w.-]+)?)((?:[^>"']|"[^"]*"|'[^']*')*?)(\/?)>/g,or=/(\s+)([A-Za-z_][\w.-]*(?::[\w.-]+)?)(\s*=\s*)("[^"]*"|'[^']*')/g,sr=/\sxmlns(?::([\w.-]+))?\s*=\s*(?:"([^"]*)"|'([^']*)')/g;function cr(e){if(!e||!(e=>{let t;for(sr.lastIndex=0;(t=sr.exec(e))!==null;){let e=rr.get(t[2]??t[3]??``);if(e&&e!==(t[1]??``))return!0}return!1})(e))return e;let t=[],n=(e,n,r)=>{let i=e.indexOf(`:`);if(i===-1&&r)return null;let a=i===-1?``:e.substring(0,i);if(a===`xmlns`)return null;let o=((e,n)=>{let r=n?.get(e);if(r!==void 0)return r;for(let n=t.length-1;n>=0;n--){let r=t[n].bindings.get(e);if(r!==void 0)return r}})(a,n),s=o===void 0?void 0:rr.get(o);return s?`${s}:${i===-1?e:e.substring(i+1)}`:null},r=!1,i=!1,a=e.replace(ar,(e,a,o,s,c)=>{if(a){let r=t[t.length-1],i=n(o,null,!1);return r&&r.name===o&&(r.nested>0?r.nested--:t.pop()),i?`</${i}>`:e}let l=(e=>{let t,n=null;for(sr.lastIndex=0;(t=sr.exec(e))!==null;)(n??=new Map).set(t[1]??``,t[2]??t[3]??``);return n})(s);l?.forEach((e,t)=>{let n=[...rr].find(([,e])=>e===t)?.[0];n&&n!==e&&(r=!0)});let u=n(o,l,!1),d=s.replace(or,(e,t,r,i,a)=>{if(r===`xmlns`||r.startsWith(`xmlns:`)){let t=a.slice(1,-1);return rr.has(t)?``:e}let o=n(r,l,!0);return o?`${t}${o}${i}${a}`:e});if(i||(i=!0,d=d.replace(/\s+$/,``)+ir),!c){let e=t[t.length-1];l?t.push({name:o,bindings:l,nested:0}):e&&e.name===o&&e.nested++}return`<${u??o}${d}${c}>`});return r?e:a}var lr={creator:`author`,category:`category`,description:`comments`,contentStatus:`contentStatus`,created:`creationDate`,keywords:`keywords`,lastModifiedBy:`lastAuthor`,modified:`lastModifiedDate`,lastPrinted:`lastPrinted`,revision:`revisionNumber`,subject:`subject`,title:`title`},ur={Company:`company`,Manager:`manager`},dr={lpwstr:x.Type.String,lpstr:x.Type.String,bstr:x.Type.String,i1:x.Type.Number,i2:x.Type.Number,i4:x.Type.Number,i8:x.Type.Number,int:x.Type.Number,ui1:x.Type.Number,ui2:x.Type.Number,ui4:x.Type.Number,ui8:x.Type.Number,uint:x.Type.Number,r4:x.Type.Float,r8:x.Type.Float,decimal:x.Type.Float,bool:x.Type.Boolean,filetime:x.Type.Date,date:x.Type.Date},fr=e=>{let t=e.kind?dr[e.kind]:void 0;if(!t)return null;let n=e.value.trim(),r;if(t===x.Type.String)r={key:e.key,type:t,value:e.value};else if(t===x.Type.Boolean){if(n!==`true`&&n!==`false`&&n!==`1`&&n!==`0`)return null;r={key:e.key,type:t,value:n===`true`||n===`1`}}else if(t===x.Type.Date){let i=new Date(n);if(!n||isNaN(i.getTime()))return null;r={key:e.key,type:t,value:i.toISOString()}}else{let i=Number(n);if(!n||!Number.isFinite(i))return null;let a=t===x.Type.Number&&i>=-2147483648&&i<=2147483647;r={key:e.key,type:a?t:x.Type.Float,value:i}}return e.linkTarget&&(r.linkTarget=e.linkTarget),r},pr=`hiddenXfs`,mr=e=>(Array.isArray(e)?e[1]:e?.v)?.s,hr=e=>{if(!e||e.length===0)return!1;let t=p.refsToRuns(e,!0),n=0;for(let e of t){if(e.min>n||e.value?.s===void 0)return!1;n=Math.max(n,e.max+1)}return n>Be},gr=(e,t)=>{e.protection={...e.protection,showFormulas:t}},_r=`xfComplements`,vr=(e,t)=>{if(typeof e==`string`)return void t.push(e);let n=Array.isArray(e)?e:[e];for(let e=0;e<n.length;e++){let r=p.rangeToString(n[e]);r&&t.push(r)}},yr=e=>{let t=Array.isArray(e)?e[1]:e.v;if(!t||!(`s`in t))return;let n=t.s;return delete t.s,n},br=(e,t,n,r)=>{if(!e)return;let i=t?2:1,a=t?n.rowStart:n.colStart,o=t?n.rowEnd:n.colEnd,s,c=-1;for(let n of e){let e=p.refToRun(n,t),l=yr(n);e&&l!==void 0?l!==c||(t?s.colEnd:s.rowEnd)+1!==e.min?(s={colStart:t?e.min:a,rowStart:t?a:e.min,colEnd:t?e.max:o,rowEnd:t?o:e.max,value:{kind:i,index:l}},c=l,r.push(s)):t?s.colEnd=e.max:s.rowEnd=e.max:c=-1}},xr={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":`workbooks`,"application/vnd.ms-excel.sheet.macroEnabled.main+xml":`workbooks`,"application/vnd.ms-excel.sheet.binary.macroEnabled.main":`workbooks`,"application/vnd.ms-excel.addin.macroEnabled.main+xml":`workbooks`,"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":`workbooks`,"application/vnd.ms-excel.template.macroEnabled.main+xml":`workbooks`,"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":`sheets`,"application/vnd.ms-excel.worksheet":`sheets`,"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":`charts`,"application/vnd.ms-excel.chartsheet":`charts`,"application/vnd.ms-excel.macrosheet+xml":`macros`,"application/vnd.ms-excel.macrosheet":`macros`,"application/vnd.ms-excel.intlmacrosheet+xml":`macros`,"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":`dialogs`,"application/vnd.ms-excel.dialogsheet":`dialogs`,"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":`strs`,"application/vnd.ms-excel.sharedStrings":`strs`,"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":`styles`,"application/vnd.ms-excel.styles":`styles`,"application/vnd.openxmlformats-package.core-properties+xml":`coreprops`,"application/vnd.openxmlformats-officedocument.custom-properties+xml":`custprops`,"application/vnd.openxmlformats-officedocument.extended-properties+xml":`extprops`,"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":`comments`,"application/vnd.ms-excel.comments":`comments`,"application/vnd.ms-excel.threadedcomments+xml":`threadedcomments`,"application/vnd.ms-excel.person+xml":`people`,"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":`metadata`,"application/vnd.ms-excel.sheetMetadata":`metadata`,"application/vnd.ms-excel.featurepropertybag+xml":`featurePropertyBag`,"application/vnd.ms-excel.externalLink":`links`,"application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":`links`,"application/vnd.openxmlformats-officedocument.theme+xml":`themes`},Sr=S({readXLSX:()=>Dr}),Cr=e=>e.startsWith(`/`)?e.slice(1):e,wr=[208,207,17,224,161,177,26,225],Tr=/^xl\/worksheets\/[^/]+\.xml$/i,Er=e=>typeof e==`string`?e:(e?.runs??[]).map(e=>e.text??``).join(``),Dr=async(a,c)=>{let{password:u,onVBA:d,profile:f,calcOnLoad:m=`auto`,createWorkbookOptions:g={},...y}=c??{};await _.load();let ee=!!g.origin&&typeof g.origin!=`string`,b=f?new gt(typeof f==`function`?f:void 0):null,x=[],S=(e,t,n)=>{x.push([e,t??``,n])},ie={onWarning:S},w=c?.progress,ae=w?.onProgress?w.onProgress.bind(w):void 0,T=a.byteLength,ce=0,E=0,le=ae?e=>{if(ce<=0)return;E+=e;let t=Math.min(T,Math.round(E/ce*T));ae(t,T)}:void 0,ue=e(()=>import(`./DqM1wwsmN1J4MXMm.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]),import.meta.url),D=null;try{D=new DOMParser}catch{}let O=null;try{O=new XMLSerializer}catch{}let k,A,j,me=null;D||(me=e(()=>import(`./J_xJVgE7YlmeU-ZO.js`).then(e=>C(e.default,1)),__vite__mapDeps([16,14]),import.meta.url));try{let[e,t]=await Promise.all([me,ue]);k=new t.DOMTransformer,A=D??new e.DOMParser,j=O??new e.XMLSerializer}catch(e){throw Error(`Unable to load XLSX parser.`,{cause:e})}let M=e=>j.serializeToString(e);if((e=>{if(e.byteLength<wr.length)return!1;let t=new Uint8Array(e,0,wr.length);return wr.every((e,n)=>t[n]===e)})(a))throw new s(`This is an Excel 97-2003 workbook (.xls), which cannot be read. Save it as '.xlsx' and try again.`);let N;try{N=await ht.create(a)}catch(e){throw new s(`Unable to parse as an Excel document. Try to save as '.xlsx' and try again.`,{cause:e})}b?.mark(`zip-open`);try{if(!N.has(`[Content_Types].xml`))throw new s(`Unable to parse as an Excel document. Try to save as '.xlsx' and try again.`);let a=e=>{let t=N.getEntry(e);return t?{content:t}:void 0},o={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],metadata:[],people:[],featurePropertyBag:[],overrides:{},sst:``,style:``,defaults:{}};{let e=((e,t)=>({onOpenTag:t=>{let n=(e=>{let t=e.indexOf(`:`);return t===-1?e:e.slice(t+1)})(t.name),r=t.attributes;if(n===`Override`){let t=r.ContentType,n=r.PartName;if(!t||!n)return;e.overrides[n.startsWith(`/`)?n.slice(1):n]=t;let i=xr[t],a=i?e[i]:void 0;Array.isArray(a)&&a.push(n)}else if(n===`Default`){let t=r.Extension,n=r.ContentType;t&&(e.defaults[t.toLowerCase()]=n)}},onEnd:()=>{e.sst=e.strs.length>0?e.strs[0]:``,e.style=e.styles.length>0?e.styles[0]:``},onError:e=>{t?.(`Error parsing content types: ${e?.message??e}`)}}))(o,e=>{x.push([e,`[Content_Types].xml`])}),t=await N.getTextStream(`[Content_Types].xml`);if(!t)throw Error(`Error parsing content types: '[Content_Types].xml'`);try{await on.parseStream(t,e,{xmlns:!1})}catch(e){throw Error(`Error parsing content types: '[Content_Types].xml'`,{cause:e})}ee&&await N.getBuffer(`[Content_Types].xml`)}b?.mark(`content-types`);let c=o.sst,u=new Set;for(let e of o.sheets)u.add(Cr(e));c&&u.add(Cr(c));for(let e of u)ce+=N.uncompressedSize(e);if(await N.prefetch(e=>!u.has(e)&&!Tr.test(e)),b?.mark(`prefetch-side-parts`),o.workbooks.length===0){let e=de(`_rels/.rels`,a,A,k,ie);if(e){for(let t of e.values())if(t.type===`http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument`&&t.target){o.workbooks.push(t.target);break}}}if(o.workbooks.length===0)throw new s(`Unable to parse as an Excel document. Try to save as '.xlsx' and try again.`);let y=g?.resources??new h,C=y.beginPersist(),E={},ue=new Set,D=new Map;D.set(`parseInlineDxf`,e=>{if(!e)return;let t=A.parseFromString(`<dxf xmlns:x14="${$e}" xmlns:xm="${ge}">${e}</dxf>`,`text/xml`)?.documentElement;if(!t)return;let n=k.parseDxf(t,``,ie);return Object.keys(n).length>0?n:void 0});let O=B(`metadata`,o,a,A,k,ie).entries().next()?.value?.[1]?.metadata;O&&D.set(`metadata`,O),D.set(Gn,Ge());let j=new Map,me=[],F=new Set,L=e=>{F.add(Cr(e))},ye=(e,t=j)=>{let n=e.lastIndexOf(`/`),r=e.substring(0,n+1)+`_rels/`+e.substring(n+1,e.length)+`.rels`,i=t.get(r);return i||(i=de(r,a,A,k,H),t.set(r,i)),i},z=(e,t,n,r=j)=>{let i=ye(t,r).get(e),o=i?.target;if(!o)return null;if(i.targetMode===`External`){if(!n)return i.target;let e=y.add({source:{external:i.target}});return e.addReference(E),ue.add(e),C.toResourceId(e)}let s=t.lastIndexOf(`/`),c=t.substring(0,s+1);o.startsWith(`/`)||(o=c+o),o=Pe(o);let l=k?.getVisitorParamsState().get(`dxfs`),u=r.get(o);if(!u){if(i.type===`http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet`){let e={};u=e,me.push((async()=>{let t=Xn(e,(e,t)=>t===`legacyDrawing`?we(e,o):t===`formControl`?De(e,o):t===`part`?Oe(e,o):z(e,o,t===`resource`)??null,G,l,()=>{},(e,t,n)=>{S(e,t?`${t} (${o})`:o,n)},void 0,D),n=await N.getTextStream(o,le);if(n)try{await on.parseStream(n,t,{xmlns:!1,lean:!0})}catch(e){throw Error(`Error parsing sheet: '${o}'`,{cause:e})}let i=ye(o,r);if(i){Ce(e,o,i,r),Ne(e),W(e);let t=[];i.forEach((e,n)=>{if(e.type!==`http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotTable`)return;let r=Oe(n,o,e.type,e=>e!==`http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotCacheDefinition`);if(!r?.xml)return;let i=/<pivotTableDefinition\b[^>]*>/.exec(r.xml)?.[0]??``,a=parseInt(/\scacheId="(\d+)"/.exec(i)?.[1]??``,10);if(isNaN(a))return void x.push([`Pivot table '${r.name}' names no cache and was dropped.`,o]);let s=/\sname="([^"]*)"/.exec(i)?.[1];t.push({...s?{name:I(s)}:{},cacheId:a,part:r})}),t.length>0&&(e.pivotTables=t)}})())}else if(i.type===`http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink`){let e=pe(o,a,A,k,H);if(e&&Object.keys(e).length!==0){let t=e,n=t.__bookRelId,i=t.__absoluteUrlRelId;delete t.__bookRelId,delete t.__absoluteUrlRelId;let a=[];ye(o,r)?.forEach((e,t)=>{if(e.targetMode===`External`&&e.type&&e.target){let r={type:e.type,target:e.target};t===n?r.role=`book`:t===i&&(r.role=`absoluteUrl`),a.push(r)}}),a.sort((e,t)=>(e.role===`book`?0:1)-(t.role===`book`?0:1)),t.sources=a,L(o),u=t}else u=null}else u=n?oe(o,a,(e,t)=>{let n=y.add({source:{buffer:e}});return n.addReference(E),ue.add(n),C.toResourceId(n)},H):pe(o,a,A,k,H)}return u},Se=(e,t)=>{if(!e)return null;let n=ye(t,j)?.get(e);if(!n?.target||n.targetMode===`External`)return null;let r=n.target;return r.startsWith(`/`)||(r=t.substring(0,t.lastIndexOf(`/`)+1)+r),Pe(r)},Ce=(e,t,n,i)=>{let a=[],o=new Map,s=[];n.forEach((e,n)=>{if(e.type!==`http://schemas.microsoft.com/office/2017/10/relationships/threadedComment`)return;let r=z(n,t,!1,i)?.comments;if(!r)return;for(let e=0;e<r.length;e++){let t=r[e];if(!t?.v?.id)continue;let{parentId:n,done:i,content:c,...l}=t.v,u={...l,content:Er(c)};n?s.push({parentId:n,json:u}):(i&&(u.done=!0),o.set(u.id,u),a.push({r:t.r,v:u}))}let c=Se(n,t);c&&L(c)});for(let e=0;e<s.length;e++){let{parentId:t,json:n}=s[e],r=o.get(t);r&&(r.replies??=[]).push(n)}let c=[];if(n.forEach((e,n)=>{if(e.type!==`http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments`)return;let a=z(n,t,!1,i),s=a?.comments;if(!s)return;let l=a?.authors;for(let e=0;e<s.length;e++){let t=s[e];if(!t?.r)continue;let n=l&&t.v.authorId!==void 0?l[t.v.authorId]:void 0;if(n&&n.startsWith(`tc=`)){if(o.has(R(n.substring(3))))continue;n=void 0}let i={id:r.uuidV4().toUpperCase(),asNote:!0,content:t.v.content??``},a=n?Le({displayName:n}):void 0;a&&(i.personId=a.id),c.push({r:t.r,v:i})}let u=Se(n,t);u&&L(u)}),a.length===0&&c.length===0)return;let l=[...a,...c],u=e.legacyDrawing;if(u?.xml){let{rest:t,notes:n}=Re(u.xml);if(n.length>0){let r=new Map;for(let e=0;e<n.length;e++){let t=n[e];r.set(p.cellToString({rowIndex:t.row,colIndex:t.col}),t)}for(let e=0;e<l.length;e++){let t=l[e],n=r.get(String(t.r).toUpperCase());if(!n||(r.delete(String(t.r).toUpperCase()),!t.v.asNote))continue;let i=Xe(n.xml),a={};if(i.anchor){let[e,t,r,o,s,c,l,u]=i.anchor;a.anchor={tl:{c:e-n.col,x:t,r:r-n.row,y:o},br:{c:s-n.col,x:c,r:l-n.row,y:u}}}else i.bounds&&(a.bounds=i.bounds);i.style.fill&&(a.fill=i.style.fill),i.style.stroke&&(a.stroke=i.style.stroke),i.xml&&(a.xml=i.xml),(a.anchor||a.bounds||a.fill||a.stroke||a.xml)&&(t.v.box=a),i.visible&&(t.v.shown=!0),i.alt&&(t.v.description=i.alt)}let i=[];r.forEach(e=>{i.push(e.xml)});let a=P(t,i);a?u.xml=a:delete e.legacyDrawing}}e.comments=l},we=(e,t)=>{let n=Se(e,t);if(!n)return null;let r=a(Cr(n));if(!r)return null;let i={xml:cr(new TextDecoder(`utf-8`).decode(r.content))},o=[];return ye(n,j)?.forEach((e,t)=>{if(e.type!==`http://schemas.openxmlformats.org/officeDocument/2006/relationships/image`)return;let r=z(t,n,!0);typeof r==`number`&&o.push({id:t,resId:r})}),o.length>0&&(i.images=o),L(n),i},De=(e,t)=>{let n=Se(e,t);if(!n)return null;let r=pe(n,a,A,k,H)?.formControl??null;return r&&L(n),r},Oe=(e,t,n,r,i=new Set)=>{let s=Se(e,t);if(!s||i.has(s))return null;let c=n??ye(t,j)?.get(e)?.type;if(!c)return null;let l=a(Cr(s));if(!l)return null;i.add(s);let u=s.substring(s.lastIndexOf(`/`)+1),d=o.overrides[Cr(s)]??o.defaults[u.substring(u.lastIndexOf(`.`)+1).toLowerCase()],f={id:e,type:c,name:u};if(d&&(f.contentType=d),((e,t)=>e?e.endsWith(`+xml`)||e===`application/xml`:/\.(xml|rels|vml)$/i.test(t))(d,u))f.xml=new TextDecoder(`utf-8`).decode(l.content);else{let n=z(e,t,!0);if(typeof n!=`number`)return null;f.resId=n}let p=[];return ye(s,j)?.forEach((e,t)=>{if(!e?.type||r&&!r(e.type))return;if(e.targetMode===`External`){let n=z(t,s,!0);typeof n==`number`&&p.push({id:t,type:e.type,resId:n});return}let n=Oe(t,s,e.type,r,i);n&&p.push(n)}),p.length>0&&(f.parts=p),L(s),f},ke=B(`coreprops`,o,a,A,k,ie),je=B(`extprops`,o,a,A,k,ie),V=B(`custprops`,o,a,A,k,ie);V.forEach((e,t)=>{e?.custom&&L(t)});let Fe=new te,Ie=B(`people`,o,a,A,k,ie);if(Ie.size>0){let[e,t]=Ie.entries().next().value;Fe.fromJSON(t?.persons),L(e)}let Le=e=>{if(e)return Fe.add(e).toJSON()},H={paramMap:D,getRefs:ye,getRef:z,parsedRefs:j,readEmbeddedPart:(e,t)=>Oe(e,t),addPerson:Le,serializeElement:M,onWarning:S},U=[],Ve=new Map;if(D.set(Jn,Ve),c){let e=await N.getTextStream(c,le);if(e){let t=((e,t)=>{let n=!1,r=!1,i=0,a=``,o=new Bn;return{onOpenTag:e=>{let t=zn(e.name);t===`t`?n&&i===0&&(r=!0):t===`si`?(n=!0,a=``,o.reset(),i=0):t===`rPh`||t===`phoneticPr`?i++:n&&i===0&&o.onOpenTag(t,e.attributes)},onText:e=>{r&&(a+=e,o.onText(e))},onCloseTag:t=>{let s=zn(t.name);s===`t`?r=!1:s===`si`?(e(Te(a),o.take()??void 0),n=!1,a=``):s===`rPh`||s===`phoneticPr`?i>0&&i--:o.onCloseTag(s)},onError:e=>{t?.(`Error parsing shared strings: ${e?.message??e}`)}}})((e,t)=>{t&&Ve.set(U.length,t),U.push(e)},e=>{S(e,c)});try{await on.parseStream(e,t,{xmlns:!1})}catch(e){throw Error(`Error parsing shared strings: '${c}'`,{cause:e})}}}b?.mark(`shared-strings`);let He=U.length,We=new Map,Ke=He,G=e=>{let t=We.get(e);if(t!==void 0)return t;let n=Ke;return We.set(e,Ke++),U.push(e),n},qe=[];o.slicersCache=qe;let Je=N.getNames(),Ye=Je.length;for(let e=0;e<Ye;e++){let t=Je[e];t&&t.startsWith(`xl/slicerCache`)&&qe.push(`/${t}`)}let Ze=B(`slicersCache`,o,a,A,k,H),Qe=new Map;Ze.forEach((e,t)=>{e?.cacheName&&(e.cachePath=t,Qe.set(e.cacheName,e))}),D.set(`slicerCaches`,Qe);let tt=[];o.slicers=tt;for(let e=0;e<Ye;e++){let t=Je[e];t&&t.startsWith(`xl/slicers/`)&&t.endsWith(`.xml`)&&tt.push(`/${t}`)}let mt={getFile:a,domParser:A,getAddress:(e,t)=>{let n=z(t,e,!1);return typeof n==`string`?n:null},getBytes:(e,t)=>{let n=Se(t,e),r=n?a(n.substring(1))?.content:void 0;return r?r.slice().buffer:null},addFetched:(e,t)=>{let n=y.add({source:{buffer:e},fetchedFrom:t});return n.addReference(E),ue.add(n),C.toResourceId(n)},markAbsorbed:L},ht=new Map;for(let e of ze.getAll())ht.set(e.structure,e.beginRead(mt));let gt=((e,t)=>{let n=n=>{let r=e(n);return r?t.parseFromString(new TextDecoder().decode(r.content),`text/xml`).documentElement??null:null},r=K(n(it),`s`).map(e=>({t:e.getAttribute(`t`)??``,keys:dt(e)})),i=K(n(at),`rv`).map(e=>{let t=K(e,`fb`)[0];return{s:parseInt(e.getAttribute(`s`)??`-1`,10),values:K(e,`v`).map(e=>e.textContent??``),fb:t?t.textContent??``:null}}),a=K(n(ot),`a`).map(e=>{let t=ft(e),n=parseInt(e.getAttribute(`r`)??``,10),r=parseInt(e.getAttribute(`c`)??``,10),i=n>0?n:t.length;return{rows:i,columns:r>0?r:Math.max(1,Math.ceil(t.length/Math.max(1,i))),items:t}}),o=K(n(st),`s`).map(dt),s=n(ct),c=K(K(s,`spbArrays`)[0],`a`).map(ft),l=K(K(s,`spbData`)[0],`spb`).map(e=>({s:parseInt(e.getAttribute(`s`)??`-1`,10),values:K(e,`v`).map(e=>e.textContent??``)})),u=n(lt),d=pt(K(K(u,`global`)[0],`keyFlags`)[0]),f=new Map;for(let e of K(K(u,`types`)[0],`type`))f.set(e.getAttribute(`name`)??``,pt(K(e,`keyFlags`)[0]));let p=n(ut),m=K(K(p,`dxfs`)[0],`dxf`).map(e=>K(e,`numFmt`)[0]?.getAttribute(`formatCode`)??null),h=K(K(p,`richProperties`)[0],`rPr`).map(e=>e.getAttribute(`n`)??``);return{structures:r,values:i,arrays:a,bagStructures:o,bagArrays:c,bags:l,globalKeyFlags:d,typeKeyFlags:f,richStyles:K(K(p,`richStyles`)[0],`rSty`).map(e=>{let t=new Map;for(let n of K(e,`rpv`)){let e=h[parseInt(n.getAttribute(`i`)??`-1`,10)];e&&t.set(e,n.textContent??``)}let n=parseInt(e.getAttribute(`dxfid`)??``,10);return{numberFormat:t.get(`NumberFormat`)??(n>=0?m[n]??null:null),isTitle:t.get(`IsTitleField`)===`1`,isHero:t.get(`IsHeroField`)===`1`}})}})(a,A),_t=se(gt,ht,e=>{S(e,`/xl/richData/rdrichvalue.xml`)});D.set(`richData`,gt.values.map((e,t)=>_t.cellValue(t)));for(let e=0;e<Ye;e++){let t=Je[e];t.startsWith(`xl/richData/`)&&!t.includes(`/_rels/`)&&L(t)}let vt=B(`themes`,o,a,A,k,H),yt=null;if(vt&&vt.entries){let e=vt.entries().next();e?.value?.[1]&&(yt=e.value[1])}let bt=new v(yt),xt=B(`styles`,o,a,A,k,H).entries().next()?.value?.[1];xt&&=JSON.parse(t.JSONStableStringify(xt));let St=B(`workbooks`,o,a,A,k,H);D.set(qn,!0===St.entries().next().value?.[1]?.date1904),(g.calcOnLoad??m)!==`none`&&D.set(Kn,((e,t)=>{let n=new Set;if(e)for(let t=0;t<e.length;t++)n.add(String(e[t]?.name).toUpperCase());if(t)for(let e=0;e<t.length;e++)try{let r=t[e](()=>{throw Error(`Not evaluating.`)},(e,t,r,i)=>{for(let e of Object.keys(i))n.add(e.toUpperCase())},new Map);for(let e of r.keys())n.add(e.toUpperCase())}catch{}return e=>n.has(e)||ne.has(e)})(St.entries().next().value?.[1]?.names,g.functions)),b?.mark(`side-parts-json`),await Promise.all(me);{let e=St.entries().next().value?.[1],t=Ge(e?.names),n=e?.sheets??[];for(let e=0;e<n.length;e++){let r=n[e],i=xe(r);if(r?.kind===`macro`&&i?.part.xml){i.part.xml=Ae(i.part.xml,U);continue}let a=et(r);a&&fe(a,t)}let r=e?.names;if(r)for(let e=0;e<r.length;e++){let n=r[e]?.ref;typeof n==`string`&&(r[e].ref=t.readDetached(n))}}ae&&ce>0&&(ae(T,T),await new Promise(e=>setTimeout(e,0))),b?.mark(`sheets`);let Ct={...St.entries().next().value?.[1],styles:xt,theme:bt.toJSON()},wt=((e,t,n,r)=>{let i={},a=(e,t)=>{if(e)for(let{key:n,value:r}of e){let e=t[n];if(e&&r){if(e===`revisionNumber`){let e=parseInt(r,10);Number.isFinite(e)&&(i.revisionNumber=e)}else i[e]=r}}};if(a(e,lr),a(t,ur),n){let e=[];for(let t of n){let n=fr(t);n?e.push(n):r?.(`The custom document property '${t.key}' holds a value of a kind that is not read (${t.kind?`vt:`+t.kind:`none`}); it was dropped.`,`xlsx.docProps.custom.kind`)}e.length>0&&(i.custom=e)}return Object.keys(i).length>0?i:void 0})(ke.values().next().value?.properties,je.values().next().value?.properties,V.values().next().value?.custom,(e,t)=>{S(e,`docProps/custom.xml`,t)});wt&&(Ct.properties=wt),((e,t)=>{if(!t||t.size===0)return;let n=e.styles;if(!n)return;let r=new Set,i=new Set;for(let n of e.sheets??[]){let e=et(n);if(!e)continue;let a=new Set;hr(e.cols)||a.add(0);for(let t of e.directStyles??[])a.add(Array.isArray(t)?t[1]:t.v);for(let t of e.rows??[]){let e=mr(t);e!==void 0&&a.add(e)}for(let t of e.cols??[]){let e=mr(t);e!==void 0&&a.add(e)}let o=!1;for(let e of a)if(t.has(e)){o=!0;break}if(o){e.protection={...e.protection??{sheet:!0},showFormulas:!1};for(let e of a)(t.has(e)?i:r).add(e)}}if(r.size===0)return;let a=n.direct??=[];for(let e of r)e!==0&&gr(a[e]??(a[e]={}),!0);for(let e of i)e!==0&&gr(a[e]??(a[e]={}),!1);if(r.has(0)){let e=n.named??=[],t=l.BuiltInName.Normal.toLowerCase(),r=e.find(e=>e.name?.toLowerCase()===t);r||(r={name:l.BuiltInName.Normal,style:{}},e.push(r)),gr(r.style,!0)}})(Ct,D.get(pr)),(e=>{let t={colStart:0,rowStart:0,colEnd:Be,rowEnd:_e};for(let r of e.sheets??[]){let e=et(r);if(!e)continue;let a=[];if(br(e.cols,!0,t,a),br(e.rows,!1,t,a),a.length===0)continue;let o=[];for(let[t,n]of e.directStyles??[])o.push({...p.fastStringToRange(t),value:{kind:0,index:n}});o.push(...a);let s=[],c=new n.IteratorInstance(o,{axis:i.Column});for(let e=c.next();!e.done;e=c.next()){let n=e.value.overlaps,r;if(n.length===1){if(r=n[0].value,r.index===0)continue}else{let e,t,i;for(let r=0;!e&&r<n.length;r++){let a=n[r].value;a.kind===0?e=a:a.kind===1?t=a:i=a}r=e??t??i}s.push([p.rangeToString(e.value.range,t),r.index])}s.length>0?e.directStyles=s:delete e.directStyles}})(Ct);{let e=D.get(_r);e&&((e,t,n)=>{if(!t||t.size===0||!n)return;let r=e=>{if(e===void 0||e===0)return null;let r=t.get(e);return r===void 0?null:n.controls[r]??null};for(let t of e.sheets??[]){let e=et(t);if(!e)continue;let n=new Map;for(let t of e.directStyles??[]){let e=Array.isArray(t)?t[0]:t.r,i=r(Array.isArray(t)?t[1]:t.v);if(!i)continue;let a=JSON.stringify(i),o=n.get(a);o||(o={control:i,addresses:[]},n.set(a,o)),vr(e,o.addresses)}if(n.size===0)continue;let i=[...e.cellControls??[]];for(let{control:e,addresses:t}of n.values())i.push({r:t.join(`,`),v:e});e.cellControls=i}})(Ct,e,B(`featurePropertyBag`,o,a,A,k,H).values().next().value?.featurePropertyBag)}{let e=new Map;B(`slicers`,o,a,A,k,H).forEach((t,n)=>{t?.slicers&&e.set(n,t.slicers)}),function(e,t){let n=e.sheets??[],r=new Map;for(let e=0;e<n.length;e++){let t=n[e],i=et(t)?.tables??[];for(let e=0;e<i.length;e++){let t=i[e],n=Array.isArray(t)?t[1]:t?.v;if(!n?.id)continue;let a=(n.columns??[]).map(e=>typeof e==`string`?{name:e}:e);r.set(String(n.id),{name:n.name??``,columns:a})}}let i=new Set;for(let e=0;e<n.length;e++){let a=n[e],o=et(a);if(!o)continue;let s=o.slicers,c=o.movables;if(s&&c)for(let e=c.length-1;e>=0;e--){let n=c[e].content;if(n?.type!==`slicer`||n.json?.source)continue;let a=n.name??``,o=s[a];if(!o?.tableId)continue;let l=r.get(String(o.tableId)),u=l?nt(l.columns,o.columnId):null;l&&u?(n.json=rt(o,n.json,_.structuredReference(l.name,u.name)),i.add(a),o.cachePath&&t.markAbsorbed(o.cachePath)):(t.warn(`A slicer names no table; it was not imported.`,`xlsx.slicer.cacheDefinition`),c.splice(e,1))}delete o.slicers}t.slicerParts.forEach((e,n)=>{let r=Object.keys(e);r.length>0&&r.every(e=>i.has(e))&&t.markAbsorbed(n)})}(Ct,{warn:(e,t)=>{S(e,`xl/slicers`,t)},markAbsorbed:L,slicerParts:e})}Ct.calc={...Ct.calc??{},legacyIntersect:!0},U.length>0&&(Ct.strings=U);let Tt=Fe.toJSON();Tt&&Tt.length>0&&(Ct.people=Tt);let Et=N.getEntry(`xl/vbaProject.bin`);if(Et)try{let{VBAProject:t}=await e(async()=>{let{VBAProject:e}=await import(`./w3bV7wggRayUYTd-.js`);return{VBAProject:e}},__vite__mapDeps([17,18]),import.meta.url),n=t.extract(Et);if(n){let e=new Map;for(let t of Ct.sheets??[]){let n=et(t),r=n?.codeName;r&&e.set(r,n)}for(let r of n.modules){let n={language:`vba`},{header:i,body:a}=t.splitAttributes(r.code);a&&(n.source=a),i&&(n.sourceHeader=i);let o=r.type===`document`?e.get(r.name):void 0;o||r.type!==`document`||(n.scope=`workbook`);let s=o?o.modules??={}:Ct.modules??={};s[r.name]||(s[r.name]=n)}d?.(n)}else x.push([`Unable to parse VBA project.`,`xl/vbaProject.bin`])}catch(e){x.push([`Error extracting VBA: ${e?.message??e}`,`xl/vbaProject.bin`])}let Dt=D.get(`calcId`),Ot=Dt===void 0||!(Number(Dt)>=191029),kt=g.calcOnLoad??(m===`auto`&&Ot?`full`:m),At={...g,calcOnLoad:kt,resources:y,json:Ct};if(At.disableLoadAutoFit===void 0){let e=D.get(Me);At.disableLoadAutoFit=!!e?.declared&&e.normalIsThemeFont&&await be(e.faces)}b?.mark(`json-assembled`);let jt=new re(At);if(b?.mark(`workbook-constructed`),ue.forEach(e=>{e.deleteReference(E)}),C.endPersist(),ee){he(jt);let e=new Map,t=0;for(let n of N.getNames()){let r=N.getEntry(n);if(!r)continue;let i=N.getRawEntry(n),a=i?{data:r,uncompressedSize:N.uncompressedSize(n),raw:{compressedData:i.data,compressionMethod:i.compressionMethod,signature:i.signature}}:{data:r,uncompressedSize:N.uncompressedSize(n)};e.set(n,a),t+=r.byteLength}if(t>67108864)x.push([`Source package too large to retain (${t} bytes, limit ${ve}); unmodeled parts will be dropped on save.`,`SourcePackage`]);else if(e.size>0){let t=new Ue(e,F);Ee(jt,t);let n=jt.getWorksheets().getItems(),r=jt.getTransactions().addListener({onCommitEnd:e=>{let n=e.getOperation()?.name;n!==`insertCells`&&n!==`deleteCells`||t.markStructuralChange()}}),i=jt.addListeners({onSheetsChange:()=>{let e=jt.getWorksheets().getItems();(e.length!==n.length||e.some((e,t)=>e!==n[t]))&&t.markStructuralChange(),n=e}});jt.addListeners({onClose:()=>{r(),i(),he(jt)}})}}if(x.length&&w?.onWarning){let e=new Set;for(let t of x){let[n,r,i]=t,a=i??n;e.has(a)||(e.add(a),w.onWarning(n,r))}}return b&&!0===f&&console.table(b.toTable()),await jt.whenFontsReady(),jt}catch(e){let t=`Unable to parse XLSX.`;throw e instanceof o&&(t=`Unable to open XLSX. There are too many rows or columns.`),Error(t,{cause:e})}finally{await N.close().catch(()=>{})}};export{pr as a,_r as i,Sr as n,Yn as r,Dr as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{I as e}from"./ChSvXfVMLxZsP9zG.js";import{c as t,i as n}from"./BcOdl17EeFSxnAiq.js";import{Er as r,Ii as i,N as a,_t as o,dr as s,kn as c,ot as l,y as u}from"./CnZJ44ncMxZ4ivcB.js";var d=t=>{let n=t.ext;return n===null&&(n=t.ext={spillDependents:e.EmptyArray,spillRowEnd:-1,spillColEnd:-1,fixedRef:null,demandValue:void 0,cycleGroup:0,cycleNext:null,shownGroup:0}),n},f=e=>{let t=e.precedents;return t===null?e.block.getPrecedentsAt(e.rowIndex,e.colIndex):t},p=e=>{let t=e.precedents;return t===null?e.block.paramLength:t.length},m=e=>{if(e instanceof a)return new s(e);let t=!0===e.isIRepeatingList?e:null,r=t?t.getPeriod():e.length,o=Array.isArray(e);if(!t&&!o&&!g(e))return new s(e);let c=null;for(let t=0;t<r;t++)if(h(o?e[t]:e.at(t))){if(c===null){c=Array(r);for(let t=0;t<r;t++)c[t]=o?e[t]:e.at(t)}c[t]=n.BuiltIn.Calc}return new s(c===null?e:t?new i(c,e.length):c)},h=e=>typeof e==`object`&&!!e&&!n.isError(e)&&!0!==e.isIRichData&&!o(e),g=e=>{let t=!1;return s.forEachLeaf(e,(e,n,r,i)=>{if(t||e instanceof a)return;let o=n+i-r;!0===e.isIRepeatingList&&(o=Math.min(o,n+e.getPeriod()-1));for(let r=n;!t&&r<=o;r++)t=h(e.at(r))}),t},_=class extends r{constructor(e,t){super(),this.nodes=e,this.count=t}},v=class extends r{constructor(e){super(),this.node=e}},y=class extends r{constructor(e){super(),this.node=e}};function b(e,n=0,r=0){let i=(e=e._materializeEmpty())._values,a=e._coords,o=i.getRuns({bounds:a}),s=i.getAxis()!==t.Axis.Row,l=s?a.colStart:a.rowStart,u=s?a.rowStart:a.colStart,d=new c.Builder(null,n,r),f=o.next();for(;!f.done;){let e=f.value;d.pushMultipleAt(e[0]-l,e[1]-u,e[2]),f=o.next()}return d.build()}function x(e){if(typeof e!=`object`||!e||!0!==e.isIRange)return e;let t=e,n=t._values,r=new l({axis:n.getAxis(),createRun:m}),i=b(t);return i&&r.setValues(i.tuples),new u(t._runtime,r,{colStart:0,rowStart:0,colEnd:t.getColumnCount()-1,rowEnd:t.getRowCount()-1})}function S(e,t,r){let i=t.rowEnd-t.rowStart+1,a=t.colEnd-t.colStart+1,o=function(e,t,r){let i=e?.isIRange?e:null,a=i?i.getRowCount():1,o=i?i.getColumnCount():1,s=Array(t);for(let c=0;c<t;c++){let t=Array(r),l=a===1?0:c<a?c:-1;for(let a=0;a<r;a++){let r=o===1?0:a<o?a:-1;t[a]=l<0||r<0?n.BuiltIn.NA:i?i.getValueAt(l,r):e}s[c]=t}return s}(e,i,a),s=r?a:i,l=r?i:a,u=r?t.colStart:t.rowStart,d=r?t.rowStart:t.colStart,f=new c.Builder(null),p=!0;for(let e=0;e<s;e++){let t=null,n=0;for(let i=0;i<l;i++){let a=r?o[i][e]:o[e][i];a==null?t&&=(f.pushMultipleAt(u+e,d+n,t),null):(t||(t=[],n=i,p=!1),t.push(a))}t&&f.pushMultipleAt(u+e,d+n,t)}return p?null:f.build()}function C(e){let t=e.value;if(t.$absRowStart!==t.$absRowEnd||t.$absColStart!==t.$absColEnd)return!1;let n=e.rowEnd-e.rowStart-(t.$absRowEnd?0:t.formulaBlockHeight-1),r=e.colEnd-e.colStart-(t.$absColEnd?0:t.formulaBlockWidth-1);return n===0&&r===0}function w(e,t,n,r,i=null){let a=e.value,o=a.formulaBlockWidth,s=a.formulaBlockHeight,c=a.formulaEntry.value,l=n-e.colStart,u=t-e.rowStart,d=e.rowEnd-e.rowStart-(s-1),f=e.colEnd-e.colStart-(o-1),p=a.$absRowEnd?0:Math.max(0,u-d),m=a.$absRowStart?s-1:Math.min(s-1,u),h=a.$absColEnd?0:Math.max(0,l-f),g=a.$absColStart?o-1:Math.min(o-1,l),_=c.ref;i===null?c.forEachNodeIn(_.rowStart+p,_.rowStart+m,_.colStart+h,_.colStart+g,r):i(c,_.rowStart+p,_.rowStart+m,_.colStart+h,_.colStart+g,r)}function T(e,t,n,r,i,a){if(C(e))return void w(e,t,n,r,i);let o=e.value,s=o.formulaBlockWidth,c=o.formulaBlockHeight,l=o.formulaEntry.value,u=l.ref,d=n-e.colStart,f=t-e.rowStart,p=e.rowEnd-e.rowStart-(c-1),m=e.colEnd-e.colStart-(s-1),h=u.rowStart+(o.$absRowEnd?0:Math.max(0,f-p)),g=u.rowStart+(o.$absRowStart?c-1:Math.min(c-1,f)),_=u.colStart+(o.$absColEnd?0:Math.max(0,d-m)),v=u.colStart+(o.$absColStart?s-1:Math.min(s-1,d));if(h>g||_>v)return;let y=a.get(o);if(y===void 0)return a.set(o,{rowFrom:h,rowTo:g,colFrom:_,colTo:v}),void i(l,h,g,_,v,r);if(h>=y.rowFrom&&g<=y.rowTo&&_>=y.colFrom&&v<=y.colTo)return;let b=h<=u.rowStart&&g>=u.rowEnd&&_<=u.colStart&&v>=u.colEnd;!b&&_===y.colFrom&&v===y.colTo&&h<=y.rowTo+1&&g>=y.rowFrom-1?(h<y.rowFrom&&i(l,h,y.rowFrom-1,_,v,r),g>y.rowTo&&i(l,y.rowTo+1,g,_,v,r),h<y.rowFrom&&(y.rowFrom=h),g>y.rowTo&&(y.rowTo=g)):!b&&h===y.rowFrom&&g===y.rowTo&&_<=y.colTo+1&&v>=y.colFrom-1?(_<y.colFrom&&i(l,h,g,_,y.colFrom-1,r),v>y.colTo&&i(l,h,g,y.colTo+1,v,r),_<y.colFrom&&(y.colFrom=_),v>y.colTo&&(y.colTo=v)):(i(l,h,g,_,v,r),(g-h+1)*(v-_+1)>(y.rowTo-y.rowFrom+1)*(y.colTo-y.colFrom+1)&&(y.rowFrom=h,y.rowTo=g,y.colFrom=_,y.colTo=v))}function E(e,t,n,r,i,a,o=null){let s=e.value,c=s.formulaBlockWidth,l=s.formulaBlockHeight,u=Math.max(t,e.rowStart),d=Math.min(r,e.rowEnd);if(u>d)return;let f=Math.max(n,e.colStart),p=Math.min(i,e.colEnd);if(f>p)return;let m=e.rowEnd-e.rowStart-(l-1),h=e.colEnd-e.colStart-(c-1),g=s.$absRowEnd?0:Math.max(0,u-e.rowStart-m),_=s.$absRowStart?l-1:Math.min(l-1,d-e.rowStart),v=s.$absColEnd?0:Math.max(0,f-e.colStart-h),y=s.$absColStart?c-1:Math.min(c-1,p-e.colStart);if(g>_||v>y)return;let b=1,x=0,S=1,C=0;if(t>=e.rowStart&&t<=e.rowEnd&&n>=e.colStart&&n<=e.colEnd){let r=t-e.rowStart,i=n-e.colStart;b=s.$absRowEnd?0:Math.max(0,r-m),x=s.$absRowStart?l-1:Math.min(l-1,r),S=s.$absColEnd?0:Math.max(0,i-h),C=s.$absColStart?c-1:Math.min(c-1,i)}let w=s.formulaEntry.value,T=w.ref,E=e=>{let t=e.rowIndex-T.rowStart,n=e.colIndex-T.colStart;t>=b&&t<=x&&n>=S&&n<=C||a(e)};o===null?w.forEachNodeIn(T.rowStart+g,T.rowStart+_,T.colStart+v,T.colStart+y,E):o(w,T.rowStart+g,T.rowStart+_,T.colStart+v,T.colStart+y,E)}function D(e){let{row:t,col:n,rows:r,cols:i,rowInput:a,colInput:o}=e,s=(e,t,n,r)=>({rowStart:e,colStart:t,rowEnd:n,colEnd:r}),c=s(t-1,n,t-1,n+i-1),l=s(t,n-1,t+r-1,n-1);return a!==null&&o!==null?[s(t-1,n-1,t-1,n-1),c,l]:o===null?[l,c]:[c,l]}var O=(e,t,n)=>{let{gridId:r,row:i,col:a}=e;return e.rowInput!==null&&e.colInput!==null?{gridId:r,row:i-1,col:a-1}:e.colInput===null?{gridId:r,row:i+t,col:a-1}:{gridId:r,row:i-1,col:a+n}},k=(e,t)=>({gridId:e.gridId,row:e.row-1,col:e.col+t}),A=(e,t)=>({gridId:e.gridId,row:e.row+t,col:e.col-1}),j=(e,t)=>32768*e+t;function M(e,t){let r=e.getPrecedents(),i=e.getDynamics(),a=new Map,o=[],s=!1,c=[],l=e=>{if(e.block.hasDataTable())return;let t=e.gridId;if(!t)return;let n=a.get(t);n||(n={byCell:new Map,spills:[]},a.set(t,n));let r=j(e.rowIndex,e.colIndex);n.byCell.has(r)||(n.byCell.set(r,e),e.cachedValue?.isIRange&&n.spills.push(e),o.push(e))},u=(e,t,n,r,i)=>{if(e.unanchored)return;let a=e.ref;e.mintNodesIn(a.rowStart+t,a.rowStart+n,a.colStart+r,a.colStart+i,l)},d=(e,t)=>{if(t.unanchored||t.hasDataTable())return;s=!0;let n=t.ref;t.mintNodesIn(n.rowStart,n.rowEnd,n.colStart,n.colEnd,l)},p={colStart:0,rowStart:0,colEnd:0,rowEnd:0,scope:t.gridId},m=(e,t,n,i,a)=>{p.rowStart=t,p.colStart=n,p.rowEnd=i,p.colEnd=a,p.scope=e,function(e,t,n,r,i){n.length=0,e.search(t,!1,!1,n);let a=n.length;if(a===0)return;let o=t.colStart,s=t.rowStart,c=t.colEnd-o,l=t.rowEnd-s;for(let e=0;e<a;e++){let t=n[e],a=t.value,u=a.formulaEntry.value;if(a.index<0){i(t,u);continue}let d=u.ref,f=d.colEnd-d.colStart,p=d.rowEnd-d.rowStart,m=t.colEnd-t.colStart-f,h=t.rowEnd-t.rowStart-p,g=0,_=p,v=0,y=f,b=s-t.rowStart,x=o-t.colStart;a.$absRowEnd||(g=Math.min(Math.max(b-h,0),p)),a.$absRowStart||(_=Math.min(b+l,p)),a.$absColEnd||(v=Math.min(Math.max(x-m,0),f)),a.$absColStart||(y=Math.min(c+x,f)),r(u,g,_,v,y)}}(r,p,c,u,d)},{rowInput:h,colInput:g}=t;h&&m(t.gridId,h.rowIndex,h.colIndex,h.rowIndex,h.colIndex),g&&m(t.gridId,g.rowIndex,g.colIndex,g.rowIndex,g.colIndex);for(let e=0;e<o.length;e++){let t=o[e],n=t.gridId,r=t.rowIndex,a=t.colIndex,c=t.cachedValue;c?.isIRange?m(n,r,a,r+c.getRowCount()-1,a+c.getColumnCount()-1):m(n,r,a,r,a),!s&&i.has(t.block)&&(s=!0)}if(o.length===0)return o;let _=[],v=e=>{let t=a.get(e.gridId)?.byCell.get(j(e.row,e.col))??null;t===null||_.includes(t)||_.push(t)};for(let e=0;e<t.rows;e++){g&&v(A(t,e));for(let n=0;n<t.cols;n++)v(O(t,e,n))}if(h)for(let e=0;e<t.cols;e++)v(k(t,e));if(_.length===0)return[];let y=[],b=new Set,x=new Set,S=e=>{if(b.has(e)||x.has(e))return;x.add(e);let t=(e=>{let t=[],r=f(e);for(let i=0;i<r.length;i++){let o=r[i];if(n.isError(o))continue;let s=a.get(o.scope??e.gridId);if(!s)continue;let c=o.rowStart,l=o.colStart,u=o.rowEnd,d=o.colEnd;if(c===u&&l===d){let e=s.byCell.get(j(c,l));e&&!t.includes(e)&&t.push(e)}else for(let e of s.byCell.values()){let n=e.rowIndex,r=e.colIndex;n>=c&&n<=u&&r>=l&&r<=d&&!t.includes(e)&&t.push(e)}let f=s.spills;for(let e=0;e<f.length;e++){let n=f[e],r=n.cachedValue,i=n.rowIndex,a=n.colIndex;i<=u&&i+r.getRowCount()-1>=c&&a<=d&&a+r.getColumnCount()-1>=l&&!t.includes(n)&&t.push(n)}}return t})(e);for(let e=0;e<t.length;e++)S(t[e]);x.delete(e),b.add(e),y.push(e)};if(s)for(let e=0;e<o.length;e++)S(o[e]);else for(let e=0;e<_.length;e++)S(_[e]);return y}function N(e,t,n){let{rows:r,cols:i,rowInput:a,colInput:o,gridId:s}=t,c=Array(r);for(let e=0;e<r;e++)c[e]=Array(i);let l=t=>e.layerFor(t.gridId).getValueAt(t.row,t.col)??null,u=(t,n)=>{e.layerFor(s).set(t.rowIndex,t.colIndex,n)},d=(t,n)=>{let r=e.layerFor(t.gridId),i=t.rowIndex,a=t.colIndex,o=n;if(o?.isIRange){let e=o.getRowCount(),t=o.getColumnCount();for(let n=0;n<e;n++)for(let e=0;e<t;e++)r.set(i+n,a+e,o.getValueAt(n,e)??null)}else r.set(i,a,n)},f=()=>{for(let t=0;t<n.length;t++){let r=n[t];d(r,e.evaluate(r))}};for(let e=0;e<r;e++){o!==null&&(u(o,l(A(t,e))),a===null&&f());for(let n=0;n<i;n++)a!==null&&(u(a,l(k(t,n))),f()),c[e][n]=l(O(t,e,n))}return c}export{y as _,N as a,_ as c,f as d,m as f,x as g,w as h,M as i,b as l,v as m,D as n,S as o,p,E as r,T as s,C as t,d as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{r as t}from"./B-KIwD5F_5S-NsPg.js";
|