@sheetxl/studio-vanilla 0.8.0-beta.4 → 0.8.0-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser/cjs/{ufEYN2m0y5pER93_.cjs → -pHZ0FglrwHVe1pv.cjs} +1 -1
- package/browser/cjs/A1Gu5kAMj0Iicl_T.cjs +32 -0
- package/browser/cjs/{CLHQ0mEi1NKau4Fd2.cjs → B-Iy-uZsTIHDkogf2.cjs} +1 -1
- package/browser/cjs/{BhmvJA5P78JScqAa.cjs → B8pxNq6Do9BXuxnW.cjs} +1 -1
- package/browser/cjs/BDKlnWp7xCcP65l4.cjs +1 -0
- package/browser/cjs/{Cw4BDzyIt0BkEzuh.cjs → BGWllzPl0ZZpYb85.cjs} +1 -1
- package/browser/cjs/{y4PTOoQv-PlD-vAG2.cjs → BRikaOBjd90ZslxS2.cjs} +1 -1
- package/browser/cjs/BVhuM-U_zQMtB3Rj2.cjs +8 -0
- package/browser/cjs/BeEQmpnUNjfq14ww2.cjs +1 -0
- package/browser/cjs/BekJlCRmg4z-bY-P2.cjs +1 -0
- package/browser/cjs/{Dw7oGgh_7fEPOoIV2.cjs → Bg5fDBNyBYrzvmaE2.cjs} +1 -1
- package/browser/cjs/{DxHsJ5c6KlwGpED6.cjs → BmP-beLcejV6RRzL.cjs} +1 -1
- package/browser/cjs/BqAfQbSbXb2LOQbv.cjs +14 -0
- package/browser/cjs/{CQd4PPsP2BuocLDM.cjs → Bvn-CsjRyKMgJe5M.cjs} +2 -2
- package/browser/cjs/{DqnvNfw5YpO2rdty2.cjs → Bw82zZDnlCRZW3tT2.cjs} +1 -1
- package/browser/cjs/C2xqrjnwNc6jmaeh.cjs +41 -0
- package/browser/cjs/{CRplh7TkT0zSJ0-T.cjs → C6c8mL5CgmHaGKS8.cjs} +1 -1
- package/browser/cjs/C93fNlONyjGB_ZQr.cjs +3 -0
- package/browser/cjs/{BFR2qcJJZqIGySId2.cjs → CAlbD-ahsKIYPLxV2.cjs} +2 -2
- package/browser/cjs/{nIKxgoGnF7yTmzVB2.cjs → CFBCm2JGyntY_T_G2.cjs} +2 -2
- package/browser/cjs/{BtrnAiRF11y21NX4.cjs → CPpaoS366U54RWte.cjs} +1 -1
- package/browser/cjs/{DW8fGIUUK-oUTjOo.cjs → CQfkl_5YTtPzqRSg.cjs} +1 -1
- package/browser/cjs/{BqfmTrd9tnu_owvN.cjs → CS4wNxH88XJVjGU0.cjs} +1 -1
- package/browser/cjs/{CIDcABwPAtKB7XVf.cjs → Ck-uFI-6VF3NMr4v.cjs} +3 -3
- package/browser/cjs/CpPGKlipSfknSo2L2.cjs +1 -0
- package/browser/cjs/{CJK0UKBYYLMe5y7n2.cjs → CvjJnxfMX3aal6Zj2.cjs} +1 -1
- package/browser/cjs/D4jFBIwyj80GDSx12.cjs +1 -0
- package/browser/cjs/{CnZ9pMlpPsqEhbLB2.cjs → D9H7eKWKcSjA08Zi2.cjs} +1 -1
- package/browser/cjs/{Cj57ZO62uLbSZ0gK.cjs → DDFt0sUTKfAcQPPd.cjs} +1 -1
- package/browser/cjs/{lc_UysVCoJyKATFy2.cjs → DEG5zPL5j1fLGSt42.cjs} +1 -1
- package/browser/cjs/{DrdQTBiFulmvlRaX.cjs → DWaaProrT5w4AQi4.cjs} +2 -2
- package/browser/cjs/{DnjrhTDYSGg20fYP.cjs → DWyFHz2jCB9Ej_YQ.cjs} +1 -1
- package/browser/cjs/DXs9xla8JSLmvscc2.cjs +1 -0
- package/browser/cjs/DaWlsfheBCsinBpg.cjs +1 -0
- package/browser/cjs/{e4jYID_FHS7YL-b22.cjs → DdaTLh6vF5y310CX2.cjs} +1 -1
- package/browser/cjs/{hHVT-pzS2bhjFHSL.cjs → DlFiaQEEJyI6gR6p.cjs} +41 -41
- package/browser/cjs/{DRRqcawQ_OlK5O2S.cjs → DvbNUe-4CGh0IgQt.cjs} +1 -1
- package/browser/cjs/GCXpCGPZN9vgoEGL.cjs +1 -0
- package/browser/cjs/H7GCoq8sv5AfDWcU2.cjs +1 -0
- package/browser/cjs/{ZsgZv9u2bNY2LY78.cjs → K-menOImhm6Qcwkr.cjs} +1 -1
- package/browser/cjs/{CuANpK3BdrKl4Yhe.cjs → PVM_8Czy_QchyPbY.cjs} +1 -1
- package/browser/cjs/Y2E8S2qjo-X637U3.cjs +1 -0
- package/browser/cjs/{DOQTjBWUIU3tFiC42.cjs → aTngYYEK_h4_TqHo2.cjs} +1 -1
- package/browser/cjs/eueRerE2mxFno4122.cjs +1 -0
- package/browser/cjs/{DggQv_m8hwCk0ZPk.cjs → gYAA75Xg3ecR5t-Y.cjs} +2 -2
- package/browser/cjs/{CpSKXzK-k_sOImbA.cjs → i2rygY6lV8CpJIBa.cjs} +3 -3
- package/browser/cjs/index.cjs +2 -2
- package/browser/cjs/nQZj8ROMT7RSXLoL.cjs +5 -0
- package/browser/cjs/{DniLHjmREpdi1cFx.cjs → rTqXOtDoRYaWhUWc.cjs} +1 -1
- package/browser/cjs/{DOjeFFlUuGZs14pR.cjs → uwL_7o9DIJyenW1_.cjs} +1 -1
- package/browser/esm/{CMIHnlRJ6ctaJThm2.mjs → 3GyY2zv58tP35TSP2.mjs} +9 -9
- package/{cdn/assets/CqheKk46etN--iuw.js → browser/esm/4s24g7BIXmb-ZsJu.mjs} +1 -1
- package/{cdn/assets/D_tGKL5JvKpHg5Se.js → browser/esm/4uPEJOprzEht4SzA.mjs} +1 -1
- package/browser/esm/{DNtf7XnGnTZmf9SF.mjs → 6UKBDybUcMTwrAg4.mjs} +6 -6
- package/{cdn/assets/XGGjX0z3ae_AWeTr2.js → browser/esm/8CSB84e_emQV5R8x.mjs} +1 -1
- package/browser/esm/{BYcIifmA2KfISUAD.mjs → 8byAl8o3b5ERzC2f.mjs} +6 -6
- package/{cdn/assets/_WaFh_cvGeblogUn.js → browser/esm/9XdPIuWzuP_fNsMc.mjs} +1 -1
- package/browser/esm/{DGjbC2bQDlXZu71U.mjs → AQFoTfI5MYgvP0xF.mjs} +139 -139
- package/browser/esm/{BEsIwguAjJa2eS4g2.mjs → ASzAufEHRJxLynVy2.mjs} +13 -13
- package/browser/esm/{BThp5CcmvMVU7Frk2.mjs → B0UFSNuNXaITFeUo.mjs} +2 -2
- package/{cdn/assets/COqWk0Oh4IaPrTm7.js → browser/esm/B0UFSNuNXaITFeUo2.mjs} +2 -2
- package/browser/esm/{DIHvZTIPYMmuDQO4.mjs → B0bZyS8PEuQdlbWK.mjs} +5 -5
- package/browser/esm/{U7ZDW4cwSiPyirkE.mjs → B2NuZPYij8J3kTpp.mjs} +1 -1
- package/browser/esm/{DuwZ5U8z5dBDeSgO.mjs → B4I6uEgyYNann2Ke.mjs} +8 -8
- package/browser/esm/{CmmaFuVaTfOm96g4.mjs → B70US6XCCdca6Gnm.mjs} +13 -13
- package/browser/esm/{Cz_f9WxedmIkn2jq.mjs → B7wQkwBdwRb7kacm.mjs} +3 -3
- package/browser/esm/{DtFBvTH8ScTC26Xd.mjs → BAL80tfcY_xLu0G02.mjs} +1 -1
- package/browser/esm/{CxYnCECXc2PyTCrn.mjs → BDC1gzaNCs82vYHQ.mjs} +506 -506
- package/{cdn/assets/CnBG1teWhE7BlvvP.js → browser/esm/BEiZjvI9ie1V8MyZ2.mjs} +2 -2
- package/browser/esm/{BranNZUk8WXrCCjb.mjs → BGM2QvJ-QM02j7Ry.mjs} +2 -2
- package/{cdn/assets/Bd-Kkar9gnLuKTRo.js → browser/esm/BLqwwpQl8XESCuBb2.mjs} +1 -1
- package/{cdn/assets/CiUtfAMZeVao4r9g2.js → browser/esm/BOQ_aIsihPsIbZKi2.mjs} +1 -1
- package/browser/esm/{BfRnXrO08JOzICDf2.mjs → BQaSJTMvIv7JCgD62.mjs} +1 -1
- package/browser/esm/{rUQqpcI_WXcsiwea2.mjs → BQkmUzRKlWiqor0q2.mjs} +1 -1
- package/browser/esm/{CP2cFopeWN8lQpif.mjs → BRClrw1gCHOYle2g.mjs} +5 -5
- package/browser/esm/{CNBdjbsAfeLxOXNu2.mjs → BSLpLAM29GayIcHp2.mjs} +1 -1
- package/{cdn/assets/LryKLHFrshlshCEk.js → browser/esm/BVLs5hMoDYB3C1o22.mjs} +1 -1
- package/browser/esm/{C9-p4koE4kCDp9UL2.mjs → BVwZ0Nw8kL8sB67E2.mjs} +8 -8
- package/browser/esm/{AwRapR2kwqYVijeW.mjs → BW1dPK38H6_2KNgN.mjs} +1 -1
- package/{cdn/assets/DsGBg42mflMr5nWn2.js → browser/esm/BXyAtmroS_bl4Hb1.mjs} +1 -1
- package/browser/esm/{CZrkJteg0C4_fGBy2.mjs → BZ6fnTTLyw1RMWk32.mjs} +7 -7
- package/browser/esm/{DvQg18Zd8rnQh20c.mjs → B_pRnJh0RkIyoM8I.mjs} +3 -3
- package/browser/esm/{BxrknRRdcnKV7-zU.mjs → BaLJfxCFTS-J7Qn3.mjs} +5 -5
- package/{cdn/assets/DYoBCnD1PVzOITgb.js → browser/esm/Bb2KUiusJj-R9-bL2.mjs} +1 -1
- package/browser/esm/{DXuBmWXG49kvaZNr2.mjs → BbWwG0VXcXl_hRVo.mjs} +1 -1
- package/browser/esm/{5FA-4PCi5EIs85WR2.mjs → Bc6eSp3eJSBG2upN2.mjs} +2 -2
- package/browser/esm/{CPCWNpkZIX3cxPMS2.mjs → BcG0JULge5x_L8Es2.mjs} +2 -2
- package/browser/esm/{00bUQB6RgRxfotbx.mjs → Bn0Zl7pydiHARthC.mjs} +1 -1
- package/{cdn/assets/BouiFjb9pyWsROiW.js → browser/esm/BpYrVpNYxLiyvpsG2.mjs} +1 -1
- package/browser/esm/{BFAAw3m7wW7Wnf8i2.mjs → BrBFY1fUM6isyJR72.mjs} +1 -1
- package/{cdn/assets/DQXXQ7c_080TSD18.js → browser/esm/BxVi9Yt82U55JbkE.mjs} +1 -1
- package/browser/esm/{BUbwA9WVFeKfIV6H.mjs → BxWGBuBUE-ef4qaS2.mjs} +1 -1
- package/{cdn/assets/CQi9Ek-nl9QWmoMC.js → browser/esm/ByJEKW7Yb2GMOYw12.mjs} +1 -1
- package/browser/esm/{i8BR1tNQSYLz-zpk.mjs → ByhPTRCEKiD7ZwZ9.mjs} +3 -3
- package/browser/esm/{CIfWyeqd8SBHxpym2.mjs → C458ofhQ4Q6OuqGD2.mjs} +10 -10
- package/browser/esm/{Di2yc0eSWx4sqa1t2.mjs → C62f10Gyl_4h66X22.mjs} +4 -4
- package/browser/esm/{DSuOkzhjUeUGtHv8.mjs → C9ThHYC9Dk1pmhfV.mjs} +3 -3
- package/browser/esm/{BqT5uCSFT_HATJJw2.mjs → CAJyOPOsOhkyreOa2.mjs} +1 -1
- package/{cdn/assets/ClQiq37bto-oxKtL2.js → browser/esm/CAR-0i_rg3wlCjH7.mjs} +1 -1
- package/browser/esm/{DOwrrqcb3f3wDR3B.mjs → CB9PVYNZz7jviPeM.mjs} +24 -24
- package/browser/esm/{B1uljoK1sRsKmI6N2.mjs → CDVFmdooKU1S5AYN2.mjs} +80 -80
- package/{cdn/assets/BQRlxHPPnb-Xp7mx2.js → browser/esm/CFQz07nMv0V8904P.mjs} +1 -1
- package/browser/esm/{BVri2gMOX526uJV5.mjs → CG1w46Kqn0AmNJjP.mjs} +1 -1
- package/browser/esm/{CVV-QxmM_7vUYzFC.mjs → CGphh091pmrMF0fz.mjs} +1 -1
- package/browser/esm/{DiZjLPj4GVJccT-7.mjs → CH8HIhB841-G2xQ8.mjs} +2 -2
- package/browser/esm/{CXT9wGUombXj7n-s2.mjs → CL00yLGi41YYp5DU2.mjs} +7 -7
- package/browser/esm/{BG_6y3dWHiR8LpP-2.mjs → CPFAhBuBEQ2WQ1xL.mjs} +1 -1
- package/browser/esm/{DmBNtqAUPAi3RnfW2.mjs → CQWXozGddE-bt3e02.mjs} +9 -9
- package/{cdn/assets/p-0E4OSYsnvo4Jvb.js → browser/esm/CRZ6nMW0sPFhGN8u2.mjs} +1 -1
- package/browser/esm/{BCmGrMte2QyvzkAM2.mjs → CSeYl-X-bL3-wwj22.mjs} +14 -14
- package/{cdn/assets/BjCuy-yO9BQxUj_2.js → browser/esm/CTC5YAOtLAZGGiUL.mjs} +1 -1
- package/{cdn/assets/BfZiZa7P8RpKrStu2.js → browser/esm/CX79dsSUsejpgy3I.mjs} +1 -1
- package/{cdn/assets/7XkdeYBragcPQQS0.js → browser/esm/CYsJALdAfHsvSsfO.mjs} +1 -1
- package/browser/esm/{Be_zCt9smEb4NVGF.mjs → C_nwA5FGYFKge7oa.mjs} +2 -2
- package/{cdn/assets/C_6kPChYiQzj6w3V2.js → browser/esm/CaQy0UO3TARwf9lv2.mjs} +1 -1
- package/browser/esm/{BYha1NqMzu8G7ReU.mjs → CcwkG-z-iFoCFOt1.mjs} +7 -7
- package/browser/esm/{Dr3NMWk6K4-HWYsp.mjs → CdA4fRy3QcuvWfzj.mjs} +1 -1
- package/browser/esm/{BO6Lz-qmEF5k4ZPU.mjs → CdcmFHYIMwynrOPS.mjs} +4866 -4843
- package/browser/esm/{z-KpvdyYTapfvTA-.mjs → ChuTJoGpKAZ1jbdn.mjs} +4 -4
- package/browser/esm/{DvFQ4AKUGVQ_qhdP.mjs → CkSbV_IfAZJi0c6l.mjs} +2 -2
- package/browser/esm/{cVFbVoYZRXdqyfp0.mjs → CpftofIbZs_pRecS.mjs} +5 -5
- package/browser/esm/{ClrdhQeh_WoBg0Ws2.mjs → CqUf50LIOBNC_hcw2.mjs} +1 -1
- package/{cdn/assets/00bUQB6RgRxfotbx2.js → browser/esm/CrjTHME_ZD6LcTDU.mjs} +1 -1
- package/browser/esm/{yg7AU6dKBI7tCqJd2.mjs → CtwFmaqTopRJLzS-.mjs} +1 -1
- package/{cdn/assets/DDfhrc6lUmerlDLA.js → browser/esm/CwIRaew_lypEkoUe.mjs} +1 -1
- package/browser/esm/{BnT_figq3Qu4_Tdm.mjs → CzgGRoHeo-ZNAb5d.mjs} +12 -12
- package/browser/esm/{CIsuqkDFqRaqaULt.mjs → D13cYHehI1MFANBs.mjs} +1 -1
- package/{cdn/assets/NLHUljnhbCboNbaU2.js → browser/esm/D1ux3f7S9r50KVKs2.mjs} +1 -1
- package/{cdn/assets/BeQYgyU20NLEnFql.js → browser/esm/D2JDIYFefaXzh0Q72.mjs} +1 -1
- package/browser/esm/{DdNzoOIDRFbcy-qK.mjs → D6J-1hSJ63oZwM1Y.mjs} +16 -16
- package/{cdn/assets/DVRMsPYzWC08As4p.js → browser/esm/DARfvNH02jVzsWOM.mjs} +335 -335
- package/{cdn/assets/DwpzhMm9SjvmHEpB2.js → browser/esm/DGacyXSHaj_qFWtj.mjs} +1 -1
- package/browser/esm/{CqwPCy756gUmUtv1.mjs → DHYjpa4TQd0OyX_-.mjs} +6 -6
- package/browser/esm/{Dz6F8pPCO-Rr6Cab2.mjs → DKvEwaJfPWiOP8fE2.mjs} +8 -8
- package/browser/esm/{B3WsFHUqTcKWNGy_.mjs → DLWy3-8VQfVD6kwY.mjs} +3285 -3281
- package/browser/esm/{BJk7BkFlT-d2_MDc.mjs → DNlaQkWEr2q-g0dd.mjs} +3 -3
- package/browser/esm/{LTN_uMk0eLGdRMPd2.mjs → DO_srLsUC5FrarXA2.mjs} +7 -7
- package/browser/esm/{BPh6sTO11J2UoKVG.mjs → DPFLq_i4WqawDi01.mjs} +1 -1
- package/browser/esm/{BZiMIYsX6zktg4iD2.mjs → DRZYMJA0Mk0SbohL2.mjs} +22 -22
- package/browser/esm/{CByxip-S_IKsaoyZ.mjs → DTRizK5R37HoZ_f1.mjs} +300 -300
- package/{cdn/assets/Cm_bL9sY_cm-k_Pq2.js → browser/esm/DVKsvS22o0v0glGu.mjs} +1 -1
- package/browser/esm/{D_vJszM7OyxfNtiD.mjs → DWOXBo1RfTbNiz5y.mjs} +2 -2
- package/browser/esm/{BcZHZLyy1g0r4Qk4.mjs → D_qsNLP-D6CrMu_6.mjs} +35 -35
- package/{cdn/assets/BCWx6QCIVIKOKt9n.js → browser/esm/DaHGI3svC3_Ne-4m2.mjs} +1 -1
- package/{cdn/assets/Cz77LBaC6qe0hPm0.js → browser/esm/DbHaqFzeVSgieXnR2.mjs} +1 -1
- package/browser/esm/{DkUKK8YkXuoIqQIx.mjs → DdZPPDc6wlduH_KR.mjs} +846 -844
- package/browser/esm/{CsG9IQdgctp6tf2X2.mjs → Df4TV780zP-UkbB12.mjs} +1 -1
- package/{cdn/assets/D6FSp0JpvARNns7B.js → browser/esm/DguciGbiLUEk9ta72.mjs} +74 -74
- package/browser/esm/{Jsx_oA3RHPHgakon.mjs → Dh7MPAd98iiUhXf2.mjs} +158 -158
- package/{cdn/assets/CkGtAcs5pCYCEP8p.js → browser/esm/Dh_DQ87yyGmzCgIB.mjs} +89 -89
- package/browser/esm/{q4b66GxkR8TkSiGY2.mjs → DmQJ8rkLCqU29r122.mjs} +11 -11
- package/browser/esm/{C9QsQZR03iUbXGDd.mjs → DqR9ypY2lo7NdhdA.mjs} +1 -1
- package/browser/esm/{DdSdpckWJszr8vE72.mjs → DqzA7RtNUvsLdscx2.mjs} +7 -7
- package/browser/esm/{CSus1KY0Y1UJN-c6.mjs → DvNptskytLmS92UC.mjs} +1303 -1303
- package/browser/esm/{BCYJaBOW6d6KNCuQ2.mjs → Eiawyv29d1WfCkp72.mjs} +7 -7
- package/browser/esm/{CsDejQBEe09RdeRI.mjs → GJzjEL175hRFbbbB.mjs} +1 -1
- package/browser/esm/{C62Y8jSQuT2_lqUs.mjs → I6hoqlf8ReojOl6S.mjs} +1 -1
- package/browser/esm/{BJdwKtEOslRkGQhk.mjs → MtvgycEqvj_iaI_a.mjs} +7 -7
- package/browser/esm/{N9sXUCWDhn_zpuR2.mjs → NZMc3v4NvbbnA8fu2.mjs} +1 -1
- package/browser/esm/{B5SNHCcrvOdUn7Vu.mjs → O-XUoWE0ea4B2z_7.mjs} +141 -141
- package/{cdn/assets/CPgdrQexyUXiviTo.js → browser/esm/O8EB2u7R_rndPG2C2.mjs} +1 -1
- package/browser/esm/{CmNtmMkhbzV8j_I0.mjs → OuSJblL799bkmWSG2.mjs} +1 -1
- package/{cdn/assets/DCY3GQ5g02kgKrPz.js → browser/esm/QK8wPJEXtMpUkF5O2.mjs} +1 -1
- package/browser/esm/{CNO2b9u-Zhj6V2us2.mjs → QWhoO1D-tt9yab9K2.mjs} +5 -5
- package/{cdn/assets/ERmTt8XRToIi7stb2.js → browser/esm/ShRab4BlbkYGaP_M2.mjs} +1 -1
- package/browser/esm/{B0Z8VrL6RioP-2R02.mjs → X1dNP9JuUJDTSSUz2.mjs} +1546 -1544
- package/browser/esm/{B6wW3holuLEkDOgD.mjs → X5MjCuPO8Yr739vZ.mjs} +195 -195
- package/{cdn/assets/CFKZFbkoc-8gG0EH.js → browser/esm/YaFGb13NzomqlPhx.mjs} +1 -1
- package/browser/esm/{7bhO6Xzgwllu2tcj2.mjs → buApadOsUzJffqMK2.mjs} +1 -1
- package/{cdn/assets/ChKDkoQeoZMHq0r7.js → browser/esm/cIxxV_90h2dPQozO2.mjs} +1 -1
- package/browser/esm/index.mjs +6 -6
- package/{cdn/assets/DN6XiWA9mgKCYBL7.js → browser/esm/nY56r1ctOp0l-Cj42.mjs} +1 -1
- package/browser/esm/{LOn47j35pLEOdnml.mjs → uCF09-daiySIvpQn.mjs} +5 -5
- package/browser/esm/{CRNpbge-G8dLIqk9.mjs → uY2BXFDda7fHQFuK.mjs} +2 -2
- package/browser/esm/{BiHOntEpAjSdwJmu.mjs → uf2cbFmQ5GH4QguP.mjs} +12 -12
- package/{cdn/assets/C3D_ZF-8-b6d8y4e2.js → browser/esm/x6BOR0Zsm6T0JGoW.mjs} +2 -2
- package/browser/esm/{CiMRlH1xk4i9IiEn.mjs → zMr7JGzVhJy9UkSR.mjs} +1 -1
- package/{browser/esm/CqheKk46etN--iuw2.mjs → cdn/assets/4s24g7BIXmb-ZsJu.js} +1 -1
- package/{browser/esm/D_tGKL5JvKpHg5Se2.mjs → cdn/assets/4uPEJOprzEht4SzA.js} +1 -1
- package/cdn/assets/{qBcxlsrimi009WnV.js → 6kb7eUPQPaaWHmrP.js} +2 -2
- package/{browser/esm/XGGjX0z3ae_AWeTr.mjs → cdn/assets/8CSB84e_emQV5R8x2.js} +1 -1
- package/{browser/esm/_WaFh_cvGeblogUn2.mjs → cdn/assets/9XdPIuWzuP_fNsMc2.js} +1 -1
- package/cdn/assets/{DtOWX0kdgZMsDoO7.js → B01InbzHQYdDE8i5.js} +8 -8
- package/cdn/assets/{U7ZDW4cwSiPyirkE2.js → B2NuZPYij8J3kTpp2.js} +1 -1
- package/cdn/assets/{CNJExdRjs2zrq2QI2.js → B3c7lB4rkBwYOv6w2.js} +12 -12
- package/cdn/assets/{DW_9fxHbJWAA6hS7.js → B3q6CHSdywBA_IuW.js} +3 -3
- package/cdn/assets/{Buwn5fZU7jRx2O2L2.js → B6Sdb1B6hJzZOmK42.js} +8 -8
- package/cdn/assets/{DtumfSbgP4e8W8h3.js → B9gOvGXhUTZKL-HS.js} +2 -2
- package/cdn/assets/{DtFBvTH8ScTC26Xd2.js → BAL80tfcY_xLu0G0.js} +1 -1
- package/cdn/assets/{CRepp6I1poWZwijy2.js → BAxsBsOz3AJuEFOH2.js} +7 -7
- package/cdn/assets/{BJ74o1RxHOu_KTYD2.js → BC5-Aqh8iVN25i1L.js} +47 -47
- package/{browser/esm/Bd-Kkar9gnLuKTRo2.mjs → cdn/assets/BLqwwpQl8XESCuBb.js} +1 -1
- package/cdn/assets/{3o0o7-MzWgSJRADP2.js → BMBrXd8xf13n1fFf2.js} +8 -8
- package/cdn/assets/{DwB2Aw3VeP0bDUcu2.js → BNXRa9Q6esS40zrP2.js} +18 -18
- package/{browser/esm/CiUtfAMZeVao4r9g.mjs → cdn/assets/BOQ_aIsihPsIbZKi.js} +1 -1
- package/cdn/assets/{Doj9y5S2cMVRtP1D.js → BPIFGE6onebofB6E.js} +8 -8
- package/cdn/assets/{61OH_HiXgmNuRUDx2.js → BPYBuLSyiHvC6HiX2.js} +73 -73
- package/cdn/assets/{BfRnXrO08JOzICDf.js → BQaSJTMvIv7JCgD6.js} +1 -1
- package/cdn/assets/{rUQqpcI_WXcsiwea.js → BQkmUzRKlWiqor0q.js} +1 -1
- package/{browser/esm/D36mtiddUg8k6tPW.mjs → cdn/assets/BRHP1tO4uz2mscfE2.js} +2 -2
- package/cdn/assets/{CNBdjbsAfeLxOXNu.js → BSLpLAM29GayIcHp.js} +1 -1
- package/{browser/esm/LryKLHFrshlshCEk2.mjs → cdn/assets/BVLs5hMoDYB3C1o2.js} +1 -1
- package/cdn/assets/{AwRapR2kwqYVijeW2.js → BW1dPK38H6_2KNgN.js} +1 -1
- package/{browser/esm/DsGBg42mflMr5nWn.mjs → cdn/assets/BXyAtmroS_bl4Hb12.js} +1 -1
- package/{browser/esm/DYoBCnD1PVzOITgb2.mjs → cdn/assets/Bb2KUiusJj-R9-bL.js} +1 -1
- package/cdn/assets/{DXuBmWXG49kvaZNr.js → BbWwG0VXcXl_hRVo.js} +1 -1
- package/cdn/assets/{5FA-4PCi5EIs85WR.js → Bc6eSp3eJSBG2upN.js} +2 -2
- package/cdn/assets/{CX7_0zQyYWqVfYUE2.js → Bhoz1Sbq-j_YrLg52.js} +10 -10
- package/cdn/assets/{BKrWCWpOpggPjFQq2.js → BkUQ2rZTe8VAO1oB.js} +9 -9
- package/cdn/assets/{DLBKxOA2T_WJvvvH2.js → BlQSSKKj6whg6HxL2.js} +14 -14
- package/cdn/assets/{DiViqDuRVTrNy_8T2.js → BmDHD3gIBb1ZRHAi2.js} +2 -2
- package/{browser/esm/I5pKfeOLCqhpzdsw.mjs → cdn/assets/Bn0Zl7pydiHARthC.js} +1 -1
- package/cdn/assets/Bn0Zl7pydiHARthC2.js +24 -0
- package/{browser/esm/BouiFjb9pyWsROiW2.mjs → cdn/assets/BpYrVpNYxLiyvpsG.js} +1 -1
- package/cdn/assets/{C5JHyXmpBXqT829C.js → Bp_LNXqn6oIX3Fid.js} +414 -414
- package/cdn/assets/{BFAAw3m7wW7Wnf8i.js → BrBFY1fUM6isyJR7.js} +1 -1
- package/cdn/assets/{RnavifpmQlGK2gal.js → BtC1CaZjkCNKOB_x.js} +2 -2
- package/cdn/assets/{CRGjj70fiZgAfoOZ2.js → BxGxLT2jIfZse_a12.js} +6 -6
- package/{browser/esm/DQXXQ7c_080TSD18.mjs → cdn/assets/BxVi9Yt82U55JbkE.js} +1 -1
- package/cdn/assets/{BUbwA9WVFeKfIV6H.js → BxWGBuBUE-ef4qaS.js} +1 -1
- package/{browser/esm/CQi9Ek-nl9QWmoMC2.mjs → cdn/assets/ByJEKW7Yb2GMOYw1.js} +1 -1
- package/{browser/esm/BcdWHWjggmDQ6_Zx2.mjs → cdn/assets/C4gE_UWGPgSx-l4F.js} +74 -74
- package/cdn/assets/{BqT5uCSFT_HATJJw.js → CAJyOPOsOhkyreOa.js} +1 -1
- package/{browser/esm/ClQiq37bto-oxKtL.mjs → cdn/assets/CAR-0i_rg3wlCjH72.js} +1 -1
- package/cdn/assets/{DhJUo9PMmo1COlmU2.js → CED7roWwWtDJSGsI2.js} +1422 -1420
- package/cdn/assets/{BY7a2KqdhpxV2mYN.js → CEfH1gPlh_URyXo_.js} +2 -2
- package/cdn/assets/{BInccbDEuHGg1a2y2.js → CEyHZpFHiQtmnCve2.js} +81 -81
- package/{browser/esm/BQRlxHPPnb-Xp7mx.mjs → cdn/assets/CFQz07nMv0V8904P2.js} +1 -1
- package/cdn/assets/CG1w46Kqn0AmNJjP2.js +24 -0
- package/cdn/assets/{CVV-QxmM_7vUYzFC2.js → CGphh091pmrMF0fz2.js} +1 -1
- package/cdn/assets/{C6FGZZf4iXdgdE2p2.js → CHS-pOLaI-3RNreZ2.js} +57 -57
- package/cdn/assets/{FG3AVHTW-X8T6X6V2.js → CI29ulYNfhsjjSbV2.js} +8 -8
- package/cdn/assets/{BlPAZIJrjbcHxcJj.js → CJDbSQUUpT8PLGGS.js} +246 -246
- package/cdn/assets/{BljA9tG92oDDEqjC2.js → CK4fXD1IwAeSeTwV2.js} +12 -12
- package/cdn/assets/{BEcgIVa19rKPTwlt2.js → CKytyHmKFv4IQWen2.js} +8 -8
- package/{browser/esm/BThp5CcmvMVU7Frk.mjs → cdn/assets/CLPEH9osFTX0UFh-.js} +2 -2
- package/cdn/assets/{Ks5Tzjg6SEeoLe6a.js → COM2FF9Jardk1EZo.js} +26 -26
- package/cdn/assets/{BG_6y3dWHiR8LpP-.js → CPFAhBuBEQ2WQ1xL.js} +1 -1
- package/cdn/assets/{Bijn-3ZS9ONia1ja.js → CQ6dwRf0tKhftmHo.js} +8 -8
- package/{browser/esm/p-0E4OSYsnvo4Jvb2.mjs → cdn/assets/CRZ6nMW0sPFhGN8u.js} +1 -1
- package/{browser/esm/BjCuy-yO9BQxUj_22.mjs → cdn/assets/CTC5YAOtLAZGGiUL2.js} +1 -1
- package/{browser/esm/BfZiZa7P8RpKrStu.mjs → cdn/assets/CX79dsSUsejpgy3I2.js} +1 -1
- package/{browser/esm/7XkdeYBragcPQQS0.mjs → cdn/assets/CYsJALdAfHsvSsfO.js} +1 -1
- package/{browser/esm/C_6kPChYiQzj6w3V2.mjs → cdn/assets/CaQy0UO3TARwf9lv2.js} +1 -1
- package/cdn/assets/{Dr3NMWk6K4-HWYsp.js → CdA4fRy3QcuvWfzj.js} +1 -1
- package/cdn/assets/{DoVrePIXmzfLRmKR2.js → Cm_5b6gJsOcFsRgO.js} +2 -2
- package/cdn/assets/{CZuu-bOdg704oDMV2.js → CqEfk9KdtsnilBpc2.js} +35 -35
- package/cdn/assets/{ClrdhQeh_WoBg0Ws.js → CqUf50LIOBNC_hcw.js} +1 -1
- package/cdn/assets/{yg7AU6dKBI7tCqJd.js → CtwFmaqTopRJLzS-2.js} +1 -1
- package/cdn/assets/{DrVaoGzrL25jLUGy.js → CuGd6EIdmLLIjJmy.js} +3 -3
- package/cdn/assets/{Bzv3-2eiz66ZkXnN.js → Cw3IdV71ouaTuRGF.js} +3 -3
- package/{browser/esm/DDfhrc6lUmerlDLA2.mjs → cdn/assets/CwIRaew_lypEkoUe2.js} +1 -1
- package/cdn/assets/{TA52Zf5ZMCu6I721.js → CxYIPOzcP70mE8ty.js} +2 -2
- package/cdn/assets/{CIsuqkDFqRaqaULt2.js → D13cYHehI1MFANBs2.js} +1 -1
- package/{browser/esm/NLHUljnhbCboNbaU.mjs → cdn/assets/D1ux3f7S9r50KVKs.js} +1 -1
- package/{browser/esm/BeQYgyU20NLEnFql2.mjs → cdn/assets/D2JDIYFefaXzh0Q7.js} +1 -1
- package/cdn/assets/{DilLxTePPshHHpSq.js → D9LRNXQqJCBaGu0Z.js} +6 -6
- package/cdn/assets/{hbYg8nwB--Ouo3PE2.js → D9PfBHlV1Y9_Y-zn2.js} +66 -66
- package/{browser/esm/DwpzhMm9SjvmHEpB.mjs → cdn/assets/DGacyXSHaj_qFWtj.js} +1 -1
- package/cdn/assets/{C2-SeODnwo_GR5pz.js → DJXeHGaPVXVYlPh4.js} +508 -508
- package/cdn/assets/{Cr34xFdpfmYj3XVX.js → DMPnZEIYOsBo9meY2.js} +3989 -3985
- package/cdn/assets/{BLKL_d2AFcnL6fbw2.js → DOVauj9y5INMkh2p2.js} +16 -16
- package/{browser/esm/3763dmlGYD95oq8Z.mjs → cdn/assets/DOl37EQPys2hSQ8A2.js} +335 -335
- package/cdn/assets/{BPh6sTO11J2UoKVG.js → DPFLq_i4WqawDi012.js} +1 -1
- package/{browser/esm/Cm_bL9sY_cm-k_Pq.mjs → cdn/assets/DVKsvS22o0v0glGu2.js} +1 -1
- package/{browser/esm/BCWx6QCIVIKOKt9n2.mjs → cdn/assets/DaHGI3svC3_Ne-4m.js} +1 -1
- package/cdn/assets/{CNJDMOYg-cuIfNfJ.js → Db3jycTcoF5LNwZu.js} +3 -3
- package/{browser/esm/Cz77LBaC6qe0hPm02.mjs → cdn/assets/DbHaqFzeVSgieXnR.js} +1 -1
- package/cdn/assets/{kgHG0ixsMXmNdu8U.js → DbmXbOECZu0Do014.js} +7 -7
- package/cdn/assets/{POvNgF4k1Kibh6Db.js → DeBFiQAoGIJi-RTE.js} +6 -6
- package/cdn/assets/{B1eVAWzwtBE6vo-r.js → Deod2y9FvWRW6-1L.js} +2 -2
- package/cdn/assets/{CsG9IQdgctp6tf2X.js → Df4TV780zP-UkbB1.js} +1 -1
- package/cdn/assets/{BXV_vaLwr-mEvH-k.js → Df4qEjXlCr78Fb20.js} +7 -7
- package/cdn/assets/{DFs_9gdet_-cO7iH.js → Dh6uFsw0ts9G0IzC.js} +2 -2
- package/cdn/assets/{ByMjPzoTrB6veNzc2.js → DjgsfBCsDutlNfA32.js} +20 -20
- package/cdn/assets/{C4cN9i6GMOS58iau.js → Dm5N2qOf6OaXFKgs.js} +141 -141
- package/cdn/assets/{C9QsQZR03iUbXGDd2.js → DqR9ypY2lo7NdhdA2.js} +1 -1
- package/cdn/assets/{DE2W5y4QJln8ofNW2.js → DwiLonfLJkGM8c_i2.js} +137 -137
- package/cdn/assets/{NHd14bmjDunGi64w2.js → Dyq9Ikb6bjr5wlTM2.js} +5 -5
- package/{browser/esm/ooXd7RLQr67NrRz9.mjs → cdn/assets/FBT-Uj-UHaWcC9hf2.js} +89 -89
- package/cdn/assets/{CsDejQBEe09RdeRI2.js → GJzjEL175hRFbbbB2.js} +1 -1
- package/cdn/assets/{C62Y8jSQuT2_lqUs2.js → I6hoqlf8ReojOl6S2.js} +1 -1
- package/cdn/assets/{0Jeqx95iG9faxIsB.js → JXU6hMEMJG28IfSo.js} +8 -8
- package/cdn/assets/{BVFVnXqCCuycZFnG.js → KHBwkVymIFAD9Dbf.js} +4 -4
- package/cdn/assets/{N9sXUCWDhn_zpuR22.js → NZMc3v4NvbbnA8fu.js} +1 -1
- package/cdn/assets/{BiQlKPbuRw8sLCC5.js → NwbxANY_VGPKT45F.js} +7 -7
- package/{browser/esm/CPgdrQexyUXiviTo.mjs → cdn/assets/O8EB2u7R_rndPG2C.js} +1 -1
- package/cdn/assets/{CmNtmMkhbzV8j_I0.js → OuSJblL799bkmWSG.js} +1 -1
- package/{browser/esm/DCY3GQ5g02kgKrPz2.mjs → cdn/assets/QK8wPJEXtMpUkF5O.js} +1 -1
- package/cdn/assets/{CdP9qTlDd3C1oYJE.js → QZtjqpJrLQtNbNwq.js} +849 -847
- package/{browser/esm/ERmTt8XRToIi7stb.mjs → cdn/assets/ShRab4BlbkYGaP_M.js} +1 -1
- package/{browser/esm/CFKZFbkoc-8gG0EH.mjs → cdn/assets/YaFGb13NzomqlPhx.js} +1 -1
- package/cdn/assets/{CU-pICtgXW5Kn0sP.js → aa5Vge2hHXpeHQv9.js} +1491 -1491
- package/cdn/assets/{BZpQlzDFTqlBTj8r.js → b2vK8MBPEiSThFFJ.js} +125 -124
- package/cdn/assets/{ZGRko_YhO95NyKLu.js → bY3efNg89jFPogek2.js} +139 -139
- package/cdn/assets/{7bhO6Xzgwllu2tcj.js → buApadOsUzJffqMK.js} +1 -1
- package/{browser/esm/ChKDkoQeoZMHq0r72.mjs → cdn/assets/cIxxV_90h2dPQozO.js} +1 -1
- package/cdn/assets/{BcGLaH5XYmlLx2is2.js → jHFW_YYMzmnHs6rB2.js} +7 -7
- package/cdn/assets/{BNSYILHKGtNTW6AH2.js → lA8F04dL44NCFFgB2.js} +14 -14
- package/cdn/assets/{D6g5-9e1xAhCBLKs2.js → lHtLCWS9jxiZzvGt2.js} +4866 -4843
- package/cdn/assets/{C1HfU9WnOyE_81Y22.js → lXaq1eaUXGJUybgi2.js} +11 -11
- package/cdn/assets/{B3XQHzZTHSzv7fpC.js → mTL1l5m3_3yXiJWq.js} +5 -5
- package/{browser/esm/cwwLkCUZ083FPUTU2.mjs → cdn/assets/nDh85tt1QTeI0M52.js} +2 -2
- package/{browser/esm/DN6XiWA9mgKCYBL72.mjs → cdn/assets/nY56r1ctOp0l-Cj4.js} +1 -1
- package/cdn/assets/{Bhat781Vzqa1jNlj.js → qiBKIZwqkjWBAX3K.js} +3 -3
- package/cdn/assets/{CweS1pLcEo28_Fd3.js → u4PJnC_HIHrIUCU8.js} +3 -3
- package/cdn/assets/{CiMRlH1xk4i9IiEn.js → zMr7JGzVhJy9UkSR2.js} +1 -1
- package/cdn/index.js +2 -2
- package/package.json +3 -3
- package/browser/cjs/9Fb0mL7xhqVmVTQp.cjs +0 -3
- package/browser/cjs/BItTNeA_ukOziuTp.cjs +0 -41
- package/browser/cjs/Be5j4deP5deGlAPe2.cjs +0 -1
- package/browser/cjs/D689Ek3LK_7M1YS9.cjs +0 -14
- package/browser/cjs/D6OTRWh1ys5CR_lb.cjs +0 -1
- package/browser/cjs/DDvxqFQeKcwQCcgl2.cjs +0 -1
- package/browser/cjs/DjAg1qKbGRcCxZG2.cjs +0 -1
- package/browser/cjs/DlAHUQXBMc-ZTn_c.cjs +0 -32
- package/browser/cjs/DoFDjP2FgjU48C712.cjs +0 -1
- package/browser/cjs/DuQsMI_VBrtewlPT2.cjs +0 -8
- package/browser/cjs/DunGPPWyXlG69yIV2.cjs +0 -1
- package/browser/cjs/LMZmmGBTj9hqFwwu2.cjs +0 -1
- package/browser/cjs/VSzadbRbgIx_c4Y7.cjs +0 -1
- package/browser/cjs/bojG-rqzdkE9lH_h2.cjs +0 -1
- package/browser/cjs/gsOqF4MyYN9gz4oo.cjs +0 -5
- package/browser/cjs/ihI3PbaHdmlJLCOt2.cjs +0 -1
- package/browser/cjs/jW0ar9T4rYfgy_4N.cjs +0 -1
- package/cdn/assets/BVri2gMOX526uJV5.js +0 -24
- package/cdn/assets/BVri2gMOX526uJV52.js +0 -24
- /package/browser/cjs/{1XrWGMP3GmsQOMIX.cjs → 1XrWGMP3GmsQOMIX2.cjs} +0 -0
- /package/browser/cjs/{4nReftSsKWmnRdtf2.cjs → 4nReftSsKWmnRdtf.cjs} +0 -0
- /package/browser/cjs/{B4ANcw0mAmhe2Aeb2.cjs → B4ANcw0mAmhe2Aeb.cjs} +0 -0
- /package/browser/cjs/{B6vy56yEA1I3B74O.cjs → B6vy56yEA1I3B74O2.cjs} +0 -0
- /package/browser/cjs/{BWDfauDHqB6U_2ka.cjs → BWDfauDHqB6U_2ka2.cjs} +0 -0
- /package/browser/cjs/{BcROQ4pvVajDQ1em2.cjs → BcROQ4pvVajDQ1em.cjs} +0 -0
- /package/browser/cjs/{Btc0Nzu40VYOpzLX.cjs → Btc0Nzu40VYOpzLX2.cjs} +0 -0
- /package/browser/cjs/{C2uDl8VIJqh58YF_.cjs → C2uDl8VIJqh58YF_2.cjs} +0 -0
- /package/browser/cjs/{CRcv32tHTbGSGtkh2.cjs → CRcv32tHTbGSGtkh.cjs} +0 -0
- /package/browser/cjs/{CaJGoNwTL6pAJ6a4.cjs → CaJGoNwTL6pAJ6a42.cjs} +0 -0
- /package/browser/cjs/{DF4l8xrxkcLkgExp.cjs → DF4l8xrxkcLkgExp2.cjs} +0 -0
- /package/browser/cjs/{DG2kqsWRUtVugjay2.cjs → DG2kqsWRUtVugjay.cjs} +0 -0
- /package/browser/cjs/{DM7-R_ltoLbA9jde2.cjs → DM7-R_ltoLbA9jde.cjs} +0 -0
- /package/browser/cjs/{Dx7GQ4ALtNG3kshu2.cjs → Dx7GQ4ALtNG3kshu.cjs} +0 -0
- /package/browser/cjs/{bM25C5avKgBAJVfk2.cjs → bM25C5avKgBAJVfk.cjs} +0 -0
- /package/browser/cjs/{z_rZE1OHFPpdGBh4.cjs → z_rZE1OHFPpdGBh42.cjs} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require("./Bj3YkKmVIoQ3YtYm.cjs"),t=require("./BPWKnUtyoTrtW567.cjs"),n=require("./hHVT-pzS2bhjFHSL.cjs"),r=require("./9Fb0mL7xhqVmVTQp.cjs"),i=require("./CHMgm0vAbEBS1mVW.cjs"),a=require("./DggQv_m8hwCk0ZPk.cjs"),o=require("./BtrnAiRF11y21NX4.cjs");var s=class{constructor(e){this.list=e}get length(){return this.list.length}item(e){return this.list[e]}forEach(e,t){let n=this.list,r=n.length;for(let t=0;t<r;t++)e(n[t],t,this)}entries(){return this.list.entries()}keys(){return this.list.keys()}values(){return this.list.values()}[Symbol.iterator](){return this.list.values()}},c=e=>!0===e||e===`1`||e===`on`||e===`true`||!1!==e&&e!==`0`&&e!==`off`&&e!==`false`&&null,l=e=>{let t=parseInt(e);return isNaN(t)?null:t},u=e=>{let t=parseFloat(e);return isNaN(t)?null:t},d=new Map,f=class{constructor(t,n,r,i,a,o=null,s=e.I.EmptyObject){this._fileLocation=``,this._parent=t,this.sharedShared=n,this.currentPath=r,this.elemRoot=i,this.jsonRoot=a,t?(this._fileLocation=t._fileLocation,this._getRef=t._getRef,this._getRefs=t._getRefs,this._serializeElement=t._serializeElement,this._readEmbeddedPart=t._readEmbeddedPart):(o&&(this._fileLocation=o),s?.getRef&&(this._getRef=(e,t,n)=>s?.getRef?.(e,t,n,s?.parsedRefs)),s?.getRefs&&(this._getRefs=e=>s?.getRefs?.(e,s?.parsedRefs)),this._onWarning=s?.onWarning,this._addPerson=s?.addPerson,this._serializeElement=s?.serializeElement,this._readEmbeddedPart=s?.readEmbeddedPart)}getRef(e,t=!1){return this._getRef?.(e,this._fileLocation,t)??null}readEmbeddedPart(e){return this._readEmbeddedPart?.(e,this._fileLocation)??null}getRelationships(){return this._getRefs?.(this._fileLocation)??d}getPath(){return this.currentPath}getFileLocation(){return this._fileLocation}getElemRoot(){return this.elemRoot}getJsonRoot(){return this.jsonRoot}warn(e,t){this._raiseWarning(e,this.getFileLocation(),t?.onceKey)}_raiseWarning(e,t,n){this._onWarning?this._onWarning(e,t,n):this._parent?this._parent._raiseWarning(e,t,n):console.warn(e)}serializeElement(e){return this._serializeElement?.(e)??null}addPerson(e){return typeof e==`string`&&(e={displayName:e}),this._addPerson?this._addPerson(e):this._parent?this._parent?._addPerson?.(e)??null:null}getVisitorParamsState(){return this.sharedShared.getVisitorParamsState()}evaluate(e,t){if(!e)return t;let n=[t],r=e.split(`/`),i=r.length;for(let e=0;e<i;e++){let t=r[e];if(t===``||t===`.`)continue;let a=[],o=(t===`*`||t===`**`)&&e!==i-1;for(let i of n)if(i)if(o){let t=r[e+1];t&&t!==``&&t!==`.`&&(this._findDescendants(i,t,a),e++)}else if(t===`*`||t===`**`){if(!i.childNodes)continue;let e=i.childNodes,t=e.length;for(let n=0;n<t;n++){let t=e[n];t.nodeType===1&&a.push(t)}}else{if(!i.childNodes)continue;let e=i.childNodes,n=e.length;for(let r=0;r<n;r++){let n=e[r];if(n.nodeType!==1)continue;let i=n;this._matchesElementName(i,t)&&a.push(i)}}if(n=a,n.length===0)return null}return n.length===1?n[0]:n.length===0?null:new s(n)}_matchesElementName(e,t){return t.includes(`:`)?(e.tagName||e.nodeName)===t:e.localName===t}_findDescendants(e,t,n){if(!e||!e.childNodes)return;let r=e.childNodes,i=r.length;for(let e=0;e<i;e++){let i=r[e];if(i.nodeType!==1)continue;let a=i;this._matchesElementName(a,t)&&n.push(a),this._findDescendants(a,t,n)}}getFromPath(t,n){return e.I.getFromPath(t,n)}setToPath(t,n,r){return e.I.setToPath(t,n,r)}getValAttrAsString(e,t){let n=this.evaluate(e,t);return n&&n.hasAttribute(`val`)?n.getAttribute(`val`)??null:null}getValAttrAsBoolean(e,t,n=!1){let r=this.evaluate(e,t);if(!r)return null;let i=r.hasAttribute(`val`)?r.getAttribute(`val`):void 0;return i==null?n:i===`1`||i===`on`||i===`true`||i!==`0`&&i!==`off`&&i!==`false`&&n}getValAttrAsInteger(e,t){let n=this.evaluate(e,t);return n&&n.hasAttribute(`val`)?parseInt(n.getAttribute(`val`))??null:null}getValAttrAsFloat(e,t){let n=this.evaluate(e,t);return n&&n.hasAttribute(`val`)?parseFloat(n.getAttribute(`val`))??null:null}get BOOLEAN_COPY(){return c}get INT_COPY(){return l}get FLOAT_COPY(){return u}copyFromAttribute(e,t,n,r=t,i=null){if(!e||!n||!e.hasAttribute(t))return;let a=e.getAttribute(t);if(i){if(Array.isArray(i)){let e=i.length;for(let t=0;t<e;t++)if(a==null||(a=i[t](a),a==null))return}else if(a==null||(a=i(a),a==null))return}this.setToPath(n,r,a)}},p=i.r({isBlank:()=>y,isNotBlank:()=>b,length:()=>ee,parseRotation:()=>m,parseValAttrAsBoolean:()=>g,parseValAttrAsFloat:()=>v,parseValAttrAsInteger:()=>_,parseValAttrAsString:()=>h}),m=(t,n)=>{if(!t||!t.hasAttribute(`rot`))return;let r=t.getAttribute(`rot`),i=e.I.roundAccurately(o.r(r),2);i!==-1e3&&(n.rotation=i)},h=(e,t,n,r,i)=>{let a=e.getValAttrAsString(r,t);a!==null&&(n[i]=a)},g=(e,t,n,r,i=r,a=null)=>{let o=e.getValAttrAsBoolean(r,t,a);o!==null&&(n[i]=o)},_=(e,t,n,r,i)=>{let a=e.getValAttrAsInteger(r,t);a!==null&&(n[i]=a)},v=(e,t,n,r,i,a=1)=>{let o=e.getValAttrAsFloat(r,t);o!==null&&(n[i]=o*a)},y=e=>!e||e.trim().length===0,b=e=>!y(e),ee=e=>e?.length??0,x=class{constructor(e){this.jsonKey=e}visit(e,t,n){let r={};return n[this.jsonKey]=r,r}},S=class{visit(e,t,n){}getStroke(e,t){let n=e.evaluate(`ln`,t);return n?this.parseLn(e,n):{}}parseLn(e,t){let n={};t.hasAttribute(`algn`)&&(n.align=t.getAttribute(`algn`)),t.hasAttribute(`cap`)&&(n.lineCap=w(t.getAttribute(`cap`))),t.hasAttribute(`cmpd`)&&(n.compound=t.getAttribute(`cmpd`)),t.hasAttribute(`w`)&&(n.width=o.f(t.getAttribute(`w`)));let r=e.evaluate(`miter`,t);r&&(n.lineJoin=`miter`,r.hasAttribute(`lim`)&&(n.miterLimit=parseFloat(r.getAttribute(`lim`))/1e5)),e.evaluate(`bevel`,t)&&(n.lineJoin=`bevel`),e.evaluate(`round`,t)&&(n.lineJoin=`round`);let i=e.evaluate(`custDash`,t);if(i){let t=e.evaluate(`ds`,i);if(t&&t.length>0){let e=[];for(let n=0;n<t.length;n++){let r=t.item(n);e.push(o.m(r.getAttribute(`d`)??``)),e.push(o.m(r.getAttribute(`sp`)??``))}n.dash=e}}let a=e.evaluate(`prstDash`,t);a&&a.hasAttribute(`val`)&&(n.dash=a.getAttribute(`val`)),this.parseEndElement(e,t,n,`headEnd`,`head`),this.parseEndElement(e,t,n,`tailEnd`,`tail`);let s=this.getFill(e,t);return s&&(n.fill=s),n}parseEndElement(e,t,n,r,i){let a=e.evaluate(r,t);if(a&&(a.hasAttribute(`type`)&&(n[i+`Type`]=a.getAttribute(`type`)),a.hasAttribute(`len`)||a.hasAttribute(`w`))){let e=a.getAttribute(`len`)||`med`,t=a.getAttribute(`w`)||`med`;n[i+`Size`]=e+`-`+t}}getEffects(e,t){let n=e.evaluate(`effectLst`,t);if(!n)return null;let r=[],i=n.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType!==1)continue;let a=this.processEffectElement(e,n,n.localName);if(a===void 0)return;r.push(a)}return r}processEffectElement(e,t,n){switch(n){case`outerShdw`:{let n={type:r.p.Type.OuterShadow,color:this.processAdjColor(e,t)};return t.hasAttribute(`dist`)&&(n.distance=o.f(t.getAttribute(`dist`))),t.hasAttribute(`dir`)&&(n.angle=o.r(t.getAttribute(`dir`))),t.hasAttribute(`blurRad`)&&(n.blur=o.f(t.getAttribute(`blurRad`))),t.hasAttribute(`algn`)&&(n.alignment=t.getAttribute(`algn`)),t.hasAttribute(`rotWithShape`)&&(n.isRotatedWithShape=o.t(t.getAttribute(`rotWithShape`))),t.hasAttribute(`sx`)&&(n.scaleX=o.m(t.getAttribute(`sx`))),t.hasAttribute(`sy`)&&(n.scaleY=o.m(t.getAttribute(`sy`))),t.hasAttribute(`kx`)&&(n.skewX=o.r(t.getAttribute(`kx`))),t.hasAttribute(`ky`)&&(n.skewY=o.r(t.getAttribute(`ky`))),n}case`innerShdw`:{let n={type:r.p.Type.InnerShadow,color:this.processAdjColor(e,t)};return t.hasAttribute(`dist`)&&(n.distance=o.f(t.getAttribute(`dist`))),t.hasAttribute(`dir`)&&(n.angle=o.r(t.getAttribute(`dir`))),t.hasAttribute(`blurRad`)&&(n.blur=o.f(t.getAttribute(`blurRad`))),n}case`prstShdw`:{let n={type:r.p.Type.PresetShadow,color:this.processAdjColor(e,t),preset:t.getAttribute(`prst`)??void 0};return t.hasAttribute(`dist`)&&(n.distance=o.f(t.getAttribute(`dist`))),t.hasAttribute(`dir`)&&(n.angle=o.r(t.getAttribute(`dir`))),n}case`glow`:{let n={type:r.p.Type.Glow,color:this.processAdjColor(e,t)};return t.hasAttribute(`rad`)&&(n.radius=o.f(t.getAttribute(`rad`))),n}case`softEdge`:{let e={type:r.p.Type.SoftEdge};return t.hasAttribute(`rad`)&&(e.radius=o.f(t.getAttribute(`rad`))),e}case`reflection`:{let e={type:r.p.Type.Reflection};return t.hasAttribute(`blurRad`)&&(e.blur=o.f(t.getAttribute(`blurRad`))),t.hasAttribute(`dist`)&&(e.distance=o.f(t.getAttribute(`dist`))),t.hasAttribute(`dir`)&&(e.angle=o.r(t.getAttribute(`dir`))),t.hasAttribute(`fadeDir`)&&(e.fadeAngle=o.r(t.getAttribute(`fadeDir`))),t.hasAttribute(`stA`)&&(e.startAlpha=o.m(t.getAttribute(`stA`))),t.hasAttribute(`stPos`)&&(e.startPosition=o.m(t.getAttribute(`stPos`))),t.hasAttribute(`endA`)&&(e.endAlpha=o.m(t.getAttribute(`endA`))),t.hasAttribute(`endPos`)&&(e.endPosition=o.m(t.getAttribute(`endPos`))),t.hasAttribute(`sx`)&&(e.scaleX=o.m(t.getAttribute(`sx`))),t.hasAttribute(`sy`)&&(e.scaleY=o.m(t.getAttribute(`sy`))),t.hasAttribute(`kx`)&&(e.skewX=o.r(t.getAttribute(`kx`))),t.hasAttribute(`ky`)&&(e.skewY=o.r(t.getAttribute(`ky`))),t.hasAttribute(`algn`)&&(e.alignment=t.getAttribute(`algn`)),t.hasAttribute(`rotWithShape`)&&(e.isRotatedWithShape=o.t(t.getAttribute(`rotWithShape`))),e}default:return}}getFill(e,t){if(e.evaluate(`noFill`,t))return{type:n.S.Type.None};let r=e.evaluate(`solidFill`,t);if(r){let t=this.processAdjColor(e,r);if(t)return{type:n.S.Type.Solid,color:t}}let i=e.evaluate(`gradFill`,t);if(i)return this.processGradFill(e,i);let a=e.evaluate(`pattFill`,t);if(a)return this.processPatternFill(e,a);let o=e.evaluate(`blipFill`,t);return o?this.processImageFill(e,o):null}processGradFill(e,t){let r={type:n.S.Type.Gradient};t.hasAttribute(`rotWithShape`)&&(r.isRotatedWithShape=t.getAttribute(`rotWithShape`)===`1`);let i=e.evaluate(`lin`,t);i&&(r.gradientType=n.S.GradientType.Linear,i.hasAttribute(`ang`)&&(r.angle=o.r(i.getAttribute(`ang`))),i.hasAttribute(`scaled`)&&(r.scaled=o.t(i.getAttribute(`scaled`))));let a={};t.hasAttribute(`flip`)&&(a.mirror=t.getAttribute(`flip`)),Object.keys(a).length>0&&(r.tile=a);let s=e.evaluate(`path`,t);if(s){s.hasAttribute(`path`)&&(r.gradientType=C(s.getAttribute(`path`)));let t=e.evaluate(`fillToRect`,s);t&&(r.focus=this.getRect(t))}let c=e.evaluate(`tileRect`,t);c&&(r.tile||={},r.tile.bounds=this.getRect(c));let l=[],u=e.evaluate(`gsLst/gs`,t),d=u?u.length:0;for(let t=0;t<d;t++){let n=u.item(t),r={offset:o.m(n.getAttribute(`pos`)??``),color:this.processAdjColor(e,n)};l.push(r)}return l.length>0&&(r.stops=l),r}getRect(e){let t={};return e.hasAttribute(`t`)&&(t.t=o.m(e.getAttribute(`t`))),e.hasAttribute(`l`)&&(t.l=o.m(e.getAttribute(`l`))),e.hasAttribute(`b`)&&(t.b=o.m(e.getAttribute(`b`))),e.hasAttribute(`r`)&&(t.r=o.m(e.getAttribute(`r`))),Object.keys(t).length===0?null:t}processImageFill(e,t){let r={type:n.S.Type.Image};return t.hasAttribute(`rotWithShape`)&&(r.isRotatedWithShape=o.t(t.getAttribute(`rotWithShape`))),t.hasAttribute(`dpi`)&&(r.dpi=t.getAttribute(`dpi`)),r.ref=`https://www.sheetxl.com/logo-color-padded-white.jpg`,r.tile=!1,r}processPatternFill(e,t){let r={type:n.S.Type.Pattern};r.patternType=t.getAttribute(`prst`);let i=e.evaluate(`bgClr`,t);if(i){let t=this.processAdjColor(e,i);t&&(r.background=t)}let a=e.evaluate(`fgClr`,t);if(a){let t=this.processAdjColor(e,a);t&&(r.foreground=t)}return r}processAdjColor(e,t){let n=e.evaluate(`hslClr`,t);if(n)return this.processHslClr(e,n);let r=e.evaluate(`prstClr`,t);if(r)return this.processClrWithValAttribute(e,r);let i=e.evaluate(`schemeClr`,t);if(i)return this.processClrWithValAttribute(e,i);let a=e.evaluate(`sysClr`,t);if(a){let t=this.processClrWithValAttribute(e,a),n=a.getAttribute(`lastClr`);return t&&n&&(t+=` lastClr ${n}`),t}let o=e.evaluate(`scrgbClr`,t);if(o)return this.processScrgbClrElement(e,o);let s=e.evaluate(`srgbClr`,t);return s?this.processSrgbClrElement(e,s):null}processScrgbClrElement(e,t){let n=`lrgba(`+o.m(t.getAttribute(`r`)??``)+`,`+o.m(t.getAttribute(`g`)??``)+`,`+o.m(t.getAttribute(`b`)??``)+`)`;return n+=this.processAdjustments(e,t),n}processSrgbClrElement(e,t){let n=t.getAttribute(`val`);return n+=this.processAdjustments(e,t),n}processHslClr(e,t){let n=`hsl(`+o.r(t.getAttribute(`hue`)??``)+`,`+o.m(t.getAttribute(`sat`)??``)+`,`+o.m(t.getAttribute(`lum`)??``)+`)`;return n+=this.processAdjustments(e,t),n}processClrWithValAttribute(e,t){let n=t.getAttribute(`val`);if(!n)return null;let r=n;return r+=this.processAdjustments(e,t),r}processAdjustments(e,t){let n=``,r=t.childNodes,i=r.length;for(let t=0;t<i;t++){let i=r.item(t);if(i.nodeType===1){let t=i.localName;n+=t===`hue`||t===`hueOff`||t===`hueMod`?this.processAdjustmentElement(e,i,t,6e4):t===`gray`||t===`comp`||t===`inv`||t===`gamma`||t===`invGamma`?this.processAdjustmentElement(e,i,t,1):t===`alpha`||t===`alphaOff`||t===`alphaMod`?this.processAdjustmentElement(e,i,t,1e5):this.processAdjustmentElement(e,i,t)}}return n}processAdjustmentElement(e,t,n,r=1e3){let i=t.getAttribute(`val`);return i?` ${n} ${!i||parseFloat(i)/r}`:` ${n}`}},C=e=>e===`circle`?`radial`:e,w=e=>{if(e===`rnd`)return`round`;if(e===`flat`)return`butt`;if(e===`sq`)return`square`;throw Error(`Invalid lineCap type: `+e)},T=class extends S{visit(e,t,n){try{let r=e.evaluate(`xfrm`,t);if(r){m(r,n);let t={x:0,y:0,width:0,height:0},i=e.evaluate(`off`,r);i&&(t.x=o.h(i.getAttribute(`x`))??0,t.y=o.h(i.getAttribute(`y`))??0);let a=e.evaluate(`ext`,r);i&&(t.width=o.h(a.getAttribute(`cx`))??0,t.height=o.h(a.getAttribute(`cy`))??0),n.bounds=t}let i=e.evaluate(`prstGeom`,t);i?.hasAttribute(`prst`)?n.geometry=i?.getAttribute(`prst`):e.evaluate(`customGeom`,t)&&e.warn(`Custom shape geometry is not supported; the shape keeps its bounds only.`,{onceKey:`xlsx.shape.customGeometry`});let a=this.getFill(e,t);a&&Object.keys(a).length>0&&(n.fill=a);let s=this.getStroke(e,t);return s&&Object.keys(s).length>0&&(n.stroke=s),n}catch(t){e.warn(`Unable to read shape properties: ${t?.message??t}`,{onceKey:`xlsx.shape.unreadable`})}}},E=class{visit(e,t,n){let r={};if(h(e,t,r,`grouping`,`grouping`),g(e,t,r,`varyColors`,`varyColors`),v(e,t,r,`gapWidth`,`gapWidth`,.01),v(e,t,r,`overlap`,`overlap`,.01),this.parseType(e,t,r),_(e,t,r,`bubbleScale`,`bubbleScale`),g(e,t,r,`showNegBubbles`,`showNegativeBubbleValues`),g(e,t,r,`sizeRepresents`,`bubbleSizeRepresentsWidth`),_(e,t,r,`firstSliceAng`,`startAngle`),_(e,t,r,`holeSize`,`holeSize`),h(e,t,r,`scatterStyle`,`scatterStyle`),this.parseAxisIds(e,t,r),Object.keys(r).length>0){let t=e.getVisitorParamsState().get(`types`);t||(e.warn(`A chart type was read outside a chart; its types were started fresh.`,{onceKey:`xlsx.chart.typesState`}),t=[],e.getVisitorParamsState().set(`types`,t)),t.push(r)}return r}parseType(e,t,n){switch(t.localName){case`areaChart`:n.type=`area`;break;case`bubbleChart`:n.type=`bubble`;break;case`doughnutChart`:case`ofPieType`:case`pieChart`:n.type=`pie`;break;case`lineChart`:n.type=`line`;break;case`scatterChart`:n.type=`scatter`}}parseAxisIds(e,t,n){let r=e.evaluate(`axId`,t);r&&r.length!==0&&(n.xAxisId=r.item(0).getAttribute(`val`),n.yAxisId=r.item(1).getAttribute(`val`))}},D=(e,t,n)=>{if(!0===e.getValAttrAsBoolean(`invertIfNegative`,t))if(e.evaluate(`extLst/ext/invertSolidFillFmt`,t)){if(n.fill&&n.fillNegative){let t=e.getFromPath(n,`fill.solid.adjs`);t&&e.setToPath(n,`fillNegative.solid.adjs`,t)}}else{let e={val:`FFFFFF`},t={};t.solid=e,n.fillNegative=t;let r={val:`000000`},i={};i.solid=r;let a={};a.fill=i,n.strokeNegative=a}},O=class extends S{constructor(e=`text`){super(),this._jsonKey=e}getTextPath(){return this._jsonKey}visit(e,t,n){let r=e.getFromPath(n,this.getTextPath());return r||={},this.parseTextElement(e,t,r,!1),Object.keys(r).length>0&&e.setToPath(n,this.getTextPath(),r),n}parseTextElement(e,t,n,r){let i=e.evaluate(`p/pPr/defRPr`,t)??e.evaluate(`defRPr`,t),a=i?.length===void 0?i:i.item(0);a&&(this.parseTextProperties(e,a,n),new T().visit(e,a,n));let o=n.runs??[],s=e.evaluate(`p/r`,t)??e.evaluate(`r`,t),c=t=>{let n={},r=e.evaluate(`t`,t),i=e.evaluate(`rPr`,t);i&&this.parseTextProperties(e,i,n),r&&r.firstChild?n.text=r.firstChild.textContent??``:t.textContent&&(n.text=t.textContent??``),Object.keys(n).length>0&&o.push(n)};if(s?.length!==void 0)for(let e=0;s&&e<s.length;e++)c(s.item(e));else c(s||t);o.length>0&&(n.runs=o);let l=e.evaluate(`bodyPr`,t);l&&m(l,n)}parseTextProperties(e,t,r){if(!t)return;t.hasAttribute(`sz`)&&(r.size=parseFloat(t.getAttribute(`sz`))/100),t.hasAttribute(`b`)&&(r.weight=t.getAttribute(`b`)===`1`?700:400),t.hasAttribute(`i`)&&(r.italic=t.getAttribute(`i`)===`1`),t.hasAttribute(`u`)&&(r.underline=t.getAttribute(`u`)),t.hasAttribute(`strike`)&&(r.strike=t.getAttribute(`strike`));let i=this.getFill(e,t);i&&Object.keys(i).length>0&&(r.color=i);let a=e.evaluate(`latin`,t);if(a&&!a.getAttribute(`typeface`).startsWith(`+`)){let e=r.font??{};if(a.hasAttribute(`typeface`)&&(e.family=a.getAttribute(`typeface`)),a.hasAttribute(`panose`)){let t=a.getAttribute(`panose`);t&&(e.fallbacks=[n._.getPanoseFallback(t)])}a.hasAttribute(`pitchFamily`)&&(e.pitch=a.getAttribute(`pitchFamily`)),a.hasAttribute(`charset`)&&(e.charset=a.getAttribute(`charset`)),Object.keys(e).length>0&&(r.font=e)}}},k=class{visit(e,t,n){}processDataBarColor(e,t,n,r,i=`auto`){if(!t)return;let a=o.l(e=>t.getAttribute(e),i);return a&&(n[r]=a),n}processFonts(e,t,n){if(!t)return;let r=t.childNodes,i=0,a=r.length;for(let t=0;t<a;t++){let a=r.item(t);if(a.nodeType===1&&a.localName===`font`){let t={};this.processFont(e,a,t),n[i++]=t}}return n}processFont(e,t,r){e.getValAttrAsBoolean(`b`,t,!0)&&(r.weight=700),e.getValAttrAsBoolean(`i`,t,!0)&&(r.style=n._.Style.Italic),e.getValAttrAsBoolean(`strike`,t,!0)&&(r.strike=!0);let i=e.evaluate(`u`,t);i&&(r.underline=i.getAttribute(`val`)||n._.UnderlineStyle.Single),h(e,t,r,`vertAlign`,`verticalAlign`),r.verticalAlign===`superscript`?r.verticalAlign=n._.VerticalAlignment.Super:r.verticalAlign===`subscript`&&(r.verticalAlign=n._.VerticalAlignment.Sub),v(e,t,r,`sz`,`size`);let a=e.evaluate(`color`,t);this.processDataBarColor(e,a,r,`color`),r.color||=`auto`,h(e,t,r,`name`,`family`),h(e,t,r,`rFont`,`family`);let o=e.evaluate(`family`,t);if(o){let e=o.getAttribute(`val`);if(e)switch(e){case`1`:r.fallbacks=[`serif`];break;case`2`:r.fallbacks=[`sans-serif`];break;case`3`:r.fallbacks=[`monospace`];break;case`4`:r.fallbacks=[`cursive`];break;case`5`:r.fallbacks=[`fantasy`]}}return h(e,t,r,`scheme`,`scheme`),r.family!==void 0&&r.scheme===void 0&&(r.scheme=n._.Scheme.None),g(e,t,r,`shadow`,`shadow`,!0),g(e,t,r,`outline`,`outline`,!0),e.getValAttrAsBoolean(`condense`,t,!0)&&(r.letterSpacing=-1),e.getValAttrAsBoolean(`extend`,t,!0)&&(r.letterSpacing=1),_(e,t,r,`charset`,`charset`),r}processFills(e,t,n){if(!t)return;let r=t.childNodes,i=0,a=r.length;for(let t=0;t<a;t++){let a=r.item(t);a.nodeType===1&&a.localName===`fill`&&this.processFill(e,a,n,i++)}return n}processFill(e,t,r,i){let a={type:n.S.Type.None},o=t.childNodes,s=!1,c=o.length;for(let t=0;!s&&t<c;t++){let n=o.item(t);n.nodeType===1&&(n.localName===`gradientFill`?(this.processGradientFill(e,n,a),s=!0):n.localName===`patternFill`&&(this.processPatternFill(e,n,a),s=!0))}return r[i]=a,r}processGradientFill(e,t,r){if(!t)return;r.type=n.S.Type.Gradient;let i=[];r.stops=i;let a=t.getAttribute(`type`);a&&(r.gradientType=a);let o=t.hasAttribute(`degree`)?parseFloat(t.getAttribute(`degree`)):0;(o+90)%360!=0&&(r.angle=(o+90)%360),(t.hasAttribute(`left`)||t.hasAttribute(`top`)||t.hasAttribute(`right`)||t.hasAttribute(`bottom`))&&(r.focus={left:A(t.getAttribute(`left`)),top:A(t.getAttribute(`top`)),right:A(t.getAttribute(`right`)),bottom:A(t.getAttribute(`bottom`))});let s=t.childNodes,c=s.length;for(let t=0;t<c;t++){let n=s.item(t);if(n.nodeType===1&&n.localName===`stop`){let t={};i.push(t),t.offset=parseFloat(n.getAttribute(`position`)??``);let r=e.evaluate(`color`,n);this.processDataBarColor(e,r,t,`color`)}}return r}processPatternFill(e,t,r){if(!t)return;let i=e.getVisitorParamsState().get(`processingDXFs`),a=t.getAttribute(`patternType`)||(i?n.S.BuiltInSheetPattern.Solid:n.S.BuiltInSheetPattern.None);if(a===n.S.BuiltInSheetPattern.None)return{none:!0};r.type=n.S.Type.Pattern,a&&(r.patternType=a);let o=`foreground`,s=`background`,c=r.patternType===n.S.BuiltInSheetPattern.Solid&&i,l=c?`dk1`:`lt1`,u=c?`lt1`:`dk1`;if(c){let e=o;o=s,s=e}let d=e.evaluate(`fgColor`,t);this.processDataBarColor(e,d,r,o,l);let f=e.evaluate(`bgColor`,t);return this.processDataBarColor(e,f,r,s,u),c&&(r.foreground||=`lt1`,r.background||=`dk1`),r}processBorders(e,t,n,r){if(!t)return;let i=t.childNodes,a=0,o=i.length;for(let t=0;t<o;t++){let o=i.item(t);o.nodeType===1&&o.localName===`border`&&this.processBorder(e,o,n,a++,r)}return n}processBorder(e,t,r,i,a){if(!t)return;let o={};return this.processBorderStroke(e,t,o,n.W.Edge.Left),this.processBorderStroke(e,t,o,n.W.Edge.Right),a?(o.right||o.left)&&(o.right?o.vertical={...o.right}:o.vertical={...o.left}):this.processBorderStroke(e,t,o,n.W.Edge.Vertical),this.processBorderStroke(e,t,o,n.W.Edge.Top),this.processBorderStroke(e,t,o,n.W.Edge.Bottom),a?(o.bottom||o.top)&&(o.bottom?o.horizontal={...o.bottom}:o.horizontal={...o.top}):this.processBorderStroke(e,t,o,n.W.Edge.Horizontal),r[i]=o,r}processBorderStroke(e,t,r,i){if(!t)return;let a=e.evaluate(i,t);if(!a)return;let o={};a.hasAttribute(`style`)?o.style=a.getAttribute(`style`):e.getVisitorParamsState().get(`processingDXFs`)&&(o.style=n.W.StrokeStyle.None);let s=e.evaluate(`color`,a);return s&&this.processDataBarColor(e,s,o,`color`),Object.keys(o).length>0?r[i]=o:null}},A=e=>{if(!e)return 0;let t=parseFloat(e);return isNaN(t)?0:t},j={auto:`auto`,autoNoTable:`automaticExceptTables`,manual:`manual`},M=class{visit(e,t,n){if(!t)return;let r=e.evaluate(`*/cNvPr`,t);return r.item&&(r=r.item(0)),r&&(e.copyFromAttribute(r,`name`,n),e.copyFromAttribute(r,`descr`,n,`description`),e.copyFromAttribute(r,`hidden`,n,`hidden`,e.BOOLEAN_COPY),e.copyFromAttribute(r,`id`,n)),n}},N=class extends M{visit(e,t,n){if(!t)return;if(e.getPath().includes(`Fallback`)&&n.content){let r=n.content.json;return n.content.type===`sp`&&r?.xml&&r.fallbackXml===void 0&&(r.fallbackXml=e.serializeElement(t)??void 0),n}n=super.visit(e,t,n);let r=e.evaluate(`nvSpPr/cNvSpPr`,t);if(r){let t=e.evaluate(`spLocks`,r);if(t){t.hasAttribute(`noChangeAspect`)&&(n.lockAspect=t.getAttribute(`noChangeAspect`)===`1`);let e={};Object.keys(e).length>0&&(n.locks=e)}}let i=e.evaluate(`*/cNvPr`,t);i?.item&&(i=i.item(0));let a=i?.getAttribute?.(`id`),o=a?parseInt(a,10):void 0,s={type:`sp`,xml:e.serializeElement(t)??void 0,sourceId:o===void 0||isNaN(o)?void 0:o};return n.content={type:`sp`,json:s},s}},P=`richTypes`,F=`richData`;function te(e,t){let n=e.childNodes;for(let e=0;e<n.length;e++){let r=n.item(e);if(r.nodeType===1)switch(r.localName){case`b`:t.bold=r.getAttribute(`val`)!==`0`&&r.getAttribute(`val`)!==`false`;break;case`i`:t.italic=r.getAttribute(`val`)!==`0`&&r.getAttribute(`val`)!==`false`;break;case`sz`:{let e=parseFloat(r.getAttribute(`val`)??``);isNaN(e)||(t.size=e);break}case`rFont`:{let e=r.getAttribute(`val`);e&&(t.font=e);break}case`color`:{let e=r.getAttribute(`rgb`);e&&(t.color=`#`+(e.length===8?e.substring(2):e));break}}}}var ne=class{visit(e,t,n){if(!t)return;let r=t.childNodes,i=r.length;for(let t=0;t<i;t++){let i=r.item(t);i.nodeType===1&&i.localName===`Relationship`&&this.processRelationship(e,i,n)}return n}processRelationship(e,t,n){let r={};e.copyFromAttribute(t,`Target`,r,`target`),e.copyFromAttribute(t,`Type`,r,`type`),e.copyFromAttribute(t,`TargetMode`,r,`targetMode`),n[t.getAttribute(`Id`)]=r}},re=class{visit(e,t,n){let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType!==1)continue;let a=this.processProperty(e,n);a&&r.push(a)}return r.length>0&&(n.properties=r),r}processProperty(e,t){if(t)return t.getAttribute(`xsi:type`),{key:t.localName,value:t.textContent||``}}},ie=class{visit(e,t,n){let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType!==1)continue;let a=this.processProperty(e,n);a&&r.push(a)}return r.length>0&&(n.properties=r),r}processProperty(e,t){if(t)return{key:t.localName,value:t.textContent||``}}},I=class{visit(e,t,n){return g(e,t,n,`roundedCorners`,`roundedCorners`),_(e,t,n,`.//AlternateContent/Fallback/style`,`styleId`),e.getVisitorParamsState().set(`types`,[]),e.getVisitorParamsState().set(`axes`,new Map),n.range=null,n}afterVisit(e,t,n){let r={};n.types=r;let i={},a=0,o={},s=0,c=e.getVisitorParamsState().get(`axes`),l=e.getVisitorParamsState().get(`types`),u=l.length;for(let e=0;e<u;e++){let t=l[e];if(t.xAxisId){let r=t.xAxisId,o=c.get(r);i[e+``]=o,t.offsetXAxis=e,delete t.xAxisId,n.xAxes=i,i.length=++a}if(t.yAxisId){let r=t.yAxisId,i=c.get(r);o[e+``]=i,t.offsetYAxis=e,delete t.yAxisId,n.yAxes=o,o.length=++s}r[e+``]=t}r.length=l.length;let d=e.getVisitorParamsState().get(`series`);if(!d||d.length===0)return;let f={};n.series=f;let p=d.length;for(let e=0;e<p;e++)f[e+``]=d[e];f.length=p,e.getVisitorParamsState().delete(`types`),e.getVisitorParamsState().delete(`axes`),e.getVisitorParamsState().delete(`series`)}},L=class{visit(e,t,n){let r={};return n.plotArea=r,r}},R=T,z=class extends E{parseType(e,t,n){let r=e.getValAttrAsString(`barDir`,t);r&&(n.type=r===`col`?`column`:`bar`)}},B=E,V=class{constructor(e){this.jsonKey=e}visit(e,t,n){let r={},i=r,a=e.getValAttrAsString(`idx`,t);a!==null&&(i={},i[a]=r);let o=e.getValAttrAsBoolean(`delete`,t);this.parseNumFormat(e,t,r),!0===o?(r.showBubbleSize=!1,r.showCatName=!1,r.showLeaderLines=!1,r.showPercentage=!1,r.showSerName=!1,r.showVal=!1,r.showLegendKey=!1):(g(e,t,r,`showBubbleSize`,`showBubbleSize`),g(e,t,r,`showCatName`,`showCatName`),g(e,t,r,`showLeaderLines`,`showLeaderLines`),g(e,t,r,`showPercent`,`showPercentage`),g(e,t,r,`showSerName`,`showSerName`),g(e,t,r,`showVal`,`showVal`),g(e,t,r,`showLegendKey`,`showLegendKey`));let s=e.evaluate(`separator`,t);return s!==null&&(r.separator=s.textContent),h(e,t,r,`dLblPos`,`position`),n[this.jsonKey]=i,r}parseNumFormat(e,t,n){let r=e.evaluate(`numFmt`,t);r&&(n.formatCode=r.getAttribute(`formatCode`),r.hasAttribute(`sourceLinked`)&&(n.sourceLinked=r.getAttribute(`sourceLinked`)===`1`))}},H=class{visit(e,t,n){let r={};_(e,t,r,`explosion`,`explosion`);let i=e.evaluate(`cat/*/f`,t);i||=e.evaluate(`xVal/*/f`,t);let a=null;i!==null&&i.firstChild!==null&&(a=i.firstChild.nodeValue),i||(i=e.evaluate(`cat/strLit`,t),i||=e.evaluate(`cat/numLit`,t),i&&(a=this.parsePointsAsString(e,i))),a!==null&&(r.xRange=a);let o=e.evaluate(`val/*/f`,t);o||=e.evaluate(`yVal/*/f`,t);let s=null;o&&o.firstChild&&(s=o.firstChild.nodeValue),o||(o=e.evaluate(`val/numLit`,t),o!==null&&(s=this.parsePointsAsString(e,o))),s!==null&&(r.valRange=s),this.parseTitleRangeOrValue(e,t,r),_(e,t,r,`idx`,`idx`),g(e,t,r,`smooth`,`smooth`),r.offsetChart=e.getVisitorParamsState().get(`types`).length-1;let c=e.getVisitorParamsState().get(`series`);return c||(c=[],e.getVisitorParamsState().set(`series`,c)),c.push(r),r}parseTitleRangeOrValue(e,t,n){let r=e.evaluate(`tx/strRef/f`,t);if(r!==null){let t=r.firstChild.nodeValue;e.setToPath(n,`title.range`,t)}else{let r=e.evaluate(`tx/v`,t);r!==null&&e.setToPath(n,`title.text.simpleRun`,r.firstChild.nodeValue)}}parsePointsAsString(e,t){let n=`{`,r=e.getValAttrAsInteger(`ptCount`,t),i=e.evaluate(`pt`,t),a=[];for(let n=0;i&&r&&n<r;n++){let r=null,i=e.evaluate(`pt[@idx='`+n+`']/v`,t);i&&(r=i.textContent),a[n]=r}for(let e=0;e<a.length;e++)e>0&&(n+=`,`),a[e]!==void 0&&(n+=a[e]);return n+=`}`,n}afterVisit(e,t,n){D(e,t,n);let r=e.getFromPath(n,`points`);if(r){let t=Object.keys(r);for(let i=0;i<t.length;i++){let a=t[i],o=e.getFromPath(r,a);if(!o)continue;let s=e.getFromPath(o,`markers`);s&&(e.setToPath(n,`markers.points.`+a,s),delete o.markers)}}}},U=class{DataPointVisitor(){}visit(e,t,n){let r=e.getFromPath(n,`points`),i=null;r?i=r:(i={},e.setToPath(n,`points`,i));let a={},o=e.getValAttrAsString(`idx`,t);return o!==null&&(i[o]=a),g(e,t,a,`bubble3D`,`bubble3D`),_(e,t,a,`explosion`,`explosion`),D(e,t,a),a}},W=class{visit(e,t,n){let r=t.parentNode.localName;if(r===`ser`||r===`dPt`){let r={},i=e.getValAttrAsString(`size`,t);i!==null&&(r.size=i);let a=e.getValAttrAsString(`symbol`,t);return a&&(r.type=a),n.markers=r,r}return null}},G=class{visit(e,t,n){let r={};this.parseScaling(e,t,r),v(e,t,r,`majorUnit`,`majorUnits`),v(e,t,r,`minorUnit`,`minorUnits`),g(e,t,r,`delete`,`shown`),this.parseOrientation(e,t,r),this.parseNumFormat(e,t,r),h(e,t,r,`majorTickMark`,`majorTickMarks`),h(e,t,r,`minorTickMark`,`minorTickMarks`),h(e,t,r,`crosses`,`crosses`),v(e,t,r,`crossesAt`,`crosses`),h(e,t,r,`crossBetween`,`crossBetween`),this.parseLabelAlign(e,t,r),_(e,t,r,`lblOffset`,`labelOffset`),h(e,t,r,`tickLblPos`,`labelPosition`);let i=e.getValAttrAsInteger(`noMultiLvlLbl`,t);r.labelMultiLevel=i!==null&&i===0,_(e,t,r,`tickMarkSkip`,`tickMarkSkip`),_(e,t,r,`tickLblSkip`,`labelInterval`),this.parseDisplayCustOrBuiltInUnit(t,e,r),this.parseTimeUnits(e,t,r,`majorUnitDates`,`majorTimeUnit`,`majorUnit`),this.parseTimeUnits(e,t,r,`minorUnitDates`,`minorTimeUnit`,`minorUnit`),h(e,t,r,`baseTimeUnit`,`baseUnitDates`),e.getVisitorParamsState().get(`axes`)||(e.warn(`An axis was read outside a chart; its axes were started fresh.`,{onceKey:`xlsx.chart.axesState`}),e.getVisitorParamsState().set(`axes`,new Map));let a=e.getValAttrAsString(`axId`,t);return e.getVisitorParamsState().get(`axes`).set(a,r),r}parseTimeUnits(e,t,n,r,i,a){let o={},s=e.getValAttrAsString(i,t);s!==null&&(o.dem=s,o.amt=e.getValAttrAsString(a,t)),Object.keys(o).length>0&&(n[r]=o)}parseDisplayCustOrBuiltInUnit(e,t,n){let r=t.getValAttrAsString(`dispUnits/builtInUnit`,e);r||=t.getValAttrAsString(`dispUnits/custUnit`,e),r&&(n.displayUnits=r)}parseLabelAlign(e,t,n){let r=e.getValAttrAsString(`lblAlgn`,t);r!==null&&(r===`ctr`?n.labelAlign=`center`:r===`l`?n.labelAlign=`left`:r===`r`&&(n.labelAlign=`right`))}parseOrientation(e,t,n){let r=e.getValAttrAsString(`AxPos`,t);r!==null&&(r===`b`?n.orientation=`bottom`:r===`l`?n.orientation=`left`:r===`r`?n.orientation=`right`:r===`t`&&(n.orientation=`top`))}parseNumFormat(e,t,n){let r={},i=e.evaluate(`numFmt`,t);i!==null&&(i.hasAttribute(`formatCode`)&&(r.formatCode=i.getAttribute(`formatCode`)),i.hasAttribute(`sourceLinked`)&&(r.sourceLinked=i.getAttribute(`sourceLinked`)===`1`)),Object.keys(r).length>0&&(n.labels=r)}parseScaling(e,t,n){let r=e.getValAttrAsString(`scaling/orientation`,t);r!==null&&(n.inverted=r!==`minMax`);let i=e.getValAttrAsFloat(`scaling/logBase`,t);i!==null&&(n.logBase=i,n.scaleType=`log`),v(e,t,n,`scaling/max`,`max`),v(e,t,n,`scaling/min`,`min`)}afterVisit(e,t,n){n.fill&&n.labels&&(n.labels.fill=n.fill,delete n.fill);let r=e.getValAttrAsBoolean(`delete`,t);r!==null&&(e.setToPath(n,`labels.shown`,!0!==r),e.setToPath(n,`shown`,!0!==r));let i=e.getFromPath(n,`dispUnits.displayUnitsLabel`);i&&(e.setToPath(n,`displayUnitsLabel`,i),delete n.dispUnits);let a=e.evaluate(`title`,t);e.setToPath(n,`title.shown`,a!==null);let o=e.evaluate(`minorGridlines`,t);e.setToPath(n,`gridLinesMinor.shown`,o!==null);let s=e.evaluate(`majorGridlines`,t);e.setToPath(n,`gridLinesMajor.shown`,s!==null)}},K=O,q=class{visit(e,t,n){let r=e.getVisitorParamsState().get(`series`),i=e.getValAttrAsInteger(`idx`,t),a=i===null?void 0:r[i];if(a){let n=e.getFromPath(a,`title`);n||(n={},e.setToPath(a,`title`,n));let r=n,i=e.getValAttrAsBoolean(`delete`,t);return i!==null&&(r.shown=!i),r}return n}},J=class{visit(e,t,n){let r={};return g(e,t,r,`overlay`,`overlay`),h(e,t,r,`legendPos`,`position`),n.legend=r,r}},Y=class extends T{visit(e,t,n){let r=this.getFill(e,t);Object.keys(r).length>0&&(n.fillNegative=r);let i=this.getStroke(e,t);return Object.keys(i).length>0&&(n.strokeNegative=i),n}},X=class extends O{constructor(e=`title`){super(e)}parseTitleRangeOrValue(e,t,n){let r=e.evaluate(`tx/strRef/f`,t)??null;if(r){let t=r.firstElementChild.nodeValue;e.setToPath(n,`range`,t)}}visit(e,t,n){let r={};g(e,t,r,`overlay`,`overlay`),n[this._jsonKey]=r;let i=e.getFromPath(r,this.getTextPath());i||={},this.parseTitleRangeOrValue(e,t,r);let a=e.evaluate(`txPr`,t);a&&this.parseTextElement(e,a,i,!1);let o=e.evaluate(`tx/rich`,t);return o&&this.parseTextElement(e,o,i,!0),Object.keys(i).length>0&&e.setToPath(r,`text`,i),r}afterVisit(e,t,n){if(n?.text){let e=n.text?.rotation??null;e!==null&&(n.rotation=parseInt(e),delete n.title.rotation)}}},ae=class{visit(e,t,n){let r=e.evaluate(`manualLayout`,t);if(r){let t={};v(e,r,t,`x`,`x`),v(e,r,t,`y`,`y`),v(e,r,t,`w`,`w`),v(e,r,t,`h`,`h`),h(e,r,t,`xMode`,`xMode`),h(e,r,t,`yMode`,`yMode`),h(e,r,t,`wMode`,`wMode`),h(e,r,t,`hMode`,`hMode`),Object.keys(t).length>0&&(n.manualLayout=t)}return n}},oe=class{visit(e,t,n){return n.name=t.getAttribute(`name`),n}},se=class extends S{visit(e,t,n){let r={};r.name=t.getAttribute(`name`);let i=t.childNodes,a=i.length;for(let n=0;n<a;n++){let a=i.item(n);if(a.nodeType===1){let n=a.localName,i=e.evaluate(n,t);r[n]=this.processAdjColor(e,i)}}return Object.keys(r).length>0&&(n.colors=r),r}},ce=class{visit(e,t,n){let r={};r.name=t.getAttribute(`name`);let i=e.evaluate(`majorFont`,t),a=this.processFontElement(e,i,{});a&&(r.majorFont=a.family,a.fallbacks&&(r.majorFallbacks=a.fallbacks));let o=e.evaluate(`minorFont`,t),s=this.processFontElement(e,o,{});return s&&(r.minorFont=s.family,s.fallbacks&&(r.minorFallbacks=s.fallbacks)),n.fonts=r,r}processFontElement(e,t,r){if(!t)return;let i=e.evaluate(`latin`,t);if(!i)return;let a=i.getAttribute(`typeface`);a&&(r.family=a);let o=i.getAttribute(`panose`);return o&&(r.fallbacks=[n._.getPanoseFallback(o)]),r}},le=class extends S{visit(e,t,n){let r=this.parseFillList(e,t,`fillStyleLst`),i=this.parseLnList(e,t,`lnStyleLst`),a=this.parseEffectStyleList(e,t,`effectStyleLst`),o=this.parseFillList(e,t,`bgFillStyleLst`);if(r&&i&&a&&o)return n.fillStyleLst=r,n.lnStyleLst=i,n.effectStyleLst=a,void(n.bgFillStyleLst=o);let s=e.serializeElement(t);s&&(n.formatSchemeXml=s)}parseFillList(e,t,n){let r=e.evaluate(n,t);if(!r)return;let i=[],a=r.childNodes,o=a.length;for(let t=0;t<o;t++){let n=a.item(t);if(n.nodeType!==1)continue;let r=this.parseFillListItem(e,n);if(r===void 0)return;i.push(r)}return i}parseFillListItem(e,t){switch(t.localName){case`noFill`:return{type:n.S.Type.None};case`solidFill`:{let r=this.processAdjColor(e,t);return r?{type:n.S.Type.Solid,color:r}:void 0}case`gradFill`:return this.processGradFill(e,t);case`pattFill`:return this.processPatternFill(e,t);default:return}}parseLnList(e,t,n){let r=e.evaluate(n,t);if(!r)return;let i=[],a=r.childNodes,o=a.length;for(let t=0;t<o;t++){let n=a.item(t);if(n.nodeType===1){if(e.evaluate(`headEnd`,n)||e.evaluate(`tailEnd`,n))return;i.push(this.parseLn(e,n))}}return i}parseEffectStyleList(e,t,n){let r=e.evaluate(n,t);if(!r)return;let i=[],a=r.childNodes,o=a.length;for(let t=0;t<o;t++){let n=a.item(t);if(n.nodeType!==1)continue;if(e.evaluate(`scene3d`,n)||e.evaluate(`sp3d`,n))return;let r=this.getEffects(e,n);if(r===void 0)return;i.push(r??[])}return i}},ue=class{visit(e,t,n){if(!t)return;let r={},i=t.getAttribute(`r:id`);if(i){let t=e.getRef(i);typeof t==`string`&&(r.address=t)}return e.copyFromAttribute(t,`tooltip`,r,`screenTip`),e.copyFromAttribute(t,`history`,r,`history`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`tgtFrame`,r,`target`),n.hyperlink=r,r}},de=class{visit(e,t,n){if(!t)return;let r={},i=[];return this.processFilterColumns(e,t,i,n),i.length>0&&(r.conditions=i),Object.keys(r).length>0&&(n.filter=r),r}processColorFilter(e,t){let r={},i={operator:n.ct.BuiltInOperatorNames.Color,param:r};return e.copyFromAttribute(t,`cellColor`,r,`cellColor`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`dxfId`,r,`styleId`,e.INT_COPY),i}processCustomFilter(e,t){return a.st({operator:t.getAttribute(`operator`),val:t.getAttribute(`val`)})}processCustomFilters(e,t){let r=t.getAttribute(`and`),i=r===`and`||r===`1`;t.getAttribute(`val`);let a=[],o={operator:i?n.ct.BuiltInOperatorNames.And:n.ct.BuiltInOperatorNames.Or,param:a},s=t.childNodes,c=s.length;for(let t=0;t<c;t++){let n=s.item(t);if(n.nodeType!==1)continue;let r=null;n.localName===`customFilter`&&(r=this.processCustomFilter(e,n)),r&&a.push(r)}return a.length===1?a[0]:o}processDynamicFilter(e,t){let r={},i={operator:n.ct.BuiltInOperatorNames.TimePeriod,param:r},a=t.getAttribute(`type`);return a===`aboveAverage`?a=n.ct.AverageType.Above:a===`belowAverage`&&(a=n.ct.AverageType.Below),Object.values(n.ct.AverageType).includes(a)?(i.operator=n.ct.BuiltInOperatorNames.Average,e.copyFromAttribute(t,`val`,r,`stdDevs`,e.INT_COPY)):e.copyFromAttribute(t,`val`,r,`anchorDate`,e.INT_COPY),e.copyFromAttribute(t,`type`,r,`operator`),e.copyFromAttribute(t,`maxVal`,r,`maxVal`,e.INT_COPY),i}processDateGroupItem(e,t){let n={};return e.copyFromAttribute(t,`dateTimeGrouping`,n,`group`),e.copyFromAttribute(t,`day`,n,`day`,e.INT_COPY),e.copyFromAttribute(t,`hour`,n,`hour`,e.INT_COPY),e.copyFromAttribute(t,`minute`,n,`minute`,e.INT_COPY),e.copyFromAttribute(t,`month`,n,`month`,e.INT_COPY),e.copyFromAttribute(t,`second`,n,`second`,e.INT_COPY),e.copyFromAttribute(t,`year`,n,`year`,e.INT_COPY),n}processFilterItem(e,t){if(t.hasAttribute(`val`))return t.getAttribute(`val`)}processFilters(e,t){let r={},i={operator:n.ct.BuiltInOperatorNames.InSet,param:r};e.copyFromAttribute(t,`blank`,i,`blank`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`calendarType`,i,`calendarType`);let a=[],o=[],s=t.childNodes,c=s.length;for(let t=0;t<c;t++){let n=s.item(t);if(n.nodeType===1){if(n.localName===`dateGroupItem`){let t=this.processDateGroupItem(e,n);t&&a.push(t)}else if(n.localName===`filter`){let t=this.processFilterItem(e,n);t!==void 0&&o.push(t)}}}return a.length>0&&(r.dateGroups=a),o.length>0&&(r.items=o),i}processIcon(e,t){let r={},i={operator:n.ct.BuiltInOperatorNames.Icon,param:r};return e.copyFromAttribute(t,`iconId`,r,`iconId`,e.INT_COPY),e.copyFromAttribute(t,`iconSet`,r),i}processTop10(e,t){let r={},i={operator:n.ct.BuiltInOperatorNames.TopN,param:r};return e.copyFromAttribute(t,`filterVal`,r,`filterVal`,e.FLOAT_COPY),e.copyFromAttribute(t,`percent`,r,`percent`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`top`,r,`top`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`val`,r,`val`,e.FLOAT_COPY),i}processFilterCriteria(e,t){if(!t)return;let n,r=t.childNodes,i=r.length;for(let t=0;t<i;t++){let i=r.item(t);i.nodeType===1&&(i.localName===`colorFilter`?n=this.processColorFilter(e,i):i.localName===`customFilters`?n=this.processCustomFilters(e,i):i.localName===`dynamicFilter`?n=this.processDynamicFilter(e,i):i.localName===`filters`?n=this.processFilters(e,i):i.localName===`iconFilter`?n=this.processIcon(e,i):i.localName===`top10`&&(n=this.processTop10(e,i)))}return n}processFilterColumn(e,t,n){if(!t)return null;if(!t.hasAttribute(`colId`))return;let r=parseInt(t.getAttribute(`colId`)),i=!1;if(t.hasAttribute(`hiddenButton`)&&(i=o.t(t.getAttribute(`hiddenButton`))),i&&n){let e=n.hiddenButtons;e||(e=[],n.hiddenButtons=e),e.push(r)}let a=!1;if(t.hasAttribute(`showButton`)&&(a=o.t(t.getAttribute(`showButton`))),a&&n){let e=n.showButtons;!0!==e&&(e||(e=[],n.showButtons=e),e[r]=!0)}let s=this.processFilterCriteria(e,t);return s?(s.index=r,s):null}processFilterColumns(e,t,n,r){if(!t)return;let i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let a=i.item(t);if(a.nodeType===1&&a.localName===`filterColumn`){let t=this.processFilterColumn(e,a,r);t&&n.push(t)}}return n}},fe=class{visit(e,r,i){if(!r)return;let a=r.getAttribute(`ref`),s={};r.hasAttribute(`caseSensitive`)&&(s.collatorOptions=o.t(r.getAttribute(`caseSensitive`))?n.Kt.CaseSensitiveOptions:n.Kt.CaseInsensitiveOptions);let c=r.getAttribute(`sortMethod`);c!=null&&c!==`none`&&(c===`stroke`?s.collatorOptions={...s.collatorOptions,collation:`stroke`}:c===`pinYin`&&(s.collatorOptions={...s.collatorOptions,collation:`pinyin`}));let l={};r.hasAttribute(`columnSort`)&&o.t(r.getAttribute(`columnSort`))&&(l.axis=t.l.Axis.Column);let u=n.nt.fastStringToRange(a),d=[];return this.processSortConditions(e,r,d,u,s),d.length>0&&(l.sorts=d),Object.keys(d).length>0&&(i.sort=l),l}processSortCondition(e,t,r,i){if(!t)return null;let a={};if(!t.hasAttribute(`ref`))return void e.warn(`A sort condition has no ref; it was dropped.`,{onceKey:`xlsx.sheet.sort.noRef`});if(t.hasAttribute(`ref`)){let e=t.getAttribute(`ref`),i=n.nt.fastStringToRange(e);a.index=r?i.colStart-r.colStart:i.colStart}let s={...i};return a.criteria=s,s.reverse=!1,t.hasAttribute(`descending`)&&(s.reverse=o.t(t.getAttribute(`descending`))),e.copyFromAttribute(t,`sortBy`,s,`sortOn`),e.copyFromAttribute(t,`dxfId`,s),e.copyFromAttribute(t,`iconSet`,s),e.copyFromAttribute(t,`customList`,s),a}processSortConditions(e,t,n,r,i){if(!t)return;let a=t.childNodes,o=a.length;for(let t=0;t<o;t++){let o=a.item(t);if(o.nodeType===1&&o.localName===`sortCondition`){let t=this.processSortCondition(e,o,r,i);t&&n.push(t)}}}},Z=class extends k{visit(e,t,r){this.processNumFmts(e,e.evaluate(`numFmts`,t),null),e.getVisitorParamsState().set(`colorsToProcess`,new Set);let i={fills:{},fonts:{},borders:{}};this.processFonts(e,e.evaluate(`fonts`,t),i.fonts),this.processFills(e,e.evaluate(`fills`,t),i.fills),this.processBorders(e,e.evaluate(`borders`,t),i.borders,!0),i.fills[0]={type:n.S.Type.None},i.fills[1]={type:n.S.Type.Pattern,patternType:n.S.BuiltInSheetPattern.Gray125},i.borders[0]={bottom:{style:n.W.StrokeStyle.None},left:{style:n.W.StrokeStyle.None},right:{style:n.W.StrokeStyle.None},top:{style:n.W.StrokeStyle.None}};let a=[];this.processXFs(e,e.evaluate(`cellStyleXfs`,t),a,i,null,!1);let o=new Map;if(a.length>0){let n=[];this.processCellStyles(e,e.evaluate(`cellStyles`,t),n,a,o),r.named=n}let s=[];this.processXFs(e,e.evaluate(`cellXfs`,t),s,i,o),Object.keys(s).length>0&&(r.direct=s);let c=this.collectHiddenXfs(e.evaluate(`cellXfs`,t));c.size>0&&e.getVisitorParamsState().set(`hiddenXfs`,c);let l=[];return this.processDXFs(e,e.evaluate(`dxfs`,t),l),this.processTableStyles(e,e.evaluate(`tableStyles`,t),r,l),this.processIndexColors(e,e.evaluate(`colors/indexedColors`,t),r),this.processMruColors(e,e.evaluate(`colors/mruColors`,t),r),r}processIndexColors(e,t,n){if(!t)return;let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType===1&&n.localName===`rgbColor`){let t={color:null};this.processDataBarColor(e,n,t,`color`),t.color&&r.push(t.color)}}n.indexedColors=r}processMruColors(e,t,n){if(!t)return;let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType===1&&n.localName===`color`){let t={color:null};this.processDataBarColor(e,n,t,`color`),t.color&&r.push(t.color)}}r.length>0&&(n.mruColors=r)}processNumFmts(e,t,n){if(!t)return;let r=new Map;if(e.getVisitorParamsState().set(`numFmts`,r),!t)return;let i=t.childNodes,a=i.length;for(let e=0;e<a;e++){let t=i.item(e);if(t.nodeType===1&&t.localName===`numFmt`){let e=t.getAttribute(`numFmtId`),n=t.getAttribute(`formatCode`);if(e&&n){let t=n;r.set(parseInt(e),t)}}}}processXFs(e,t,n,r,i=null,a=!0){if(!t)return;let o=t.childNodes,s=o.length;for(let t=0;t<s;t++){let s=o.item(t);if(s.nodeType===1&&s.localName===`xf`){let t={};this.processXF(e,s,t,r,i,a),n.push(t)}}}processXF(e,t,r,i,a,s){if(!t)return;let c=t.getAttribute(`xfId`);if(c&&a){let e=a.get(parseInt(c));e&&e!==n.it.BuiltInName.Normal&&(r.named=e)}let l=e=>!(!s&&t.hasAttribute(e))||o.t(t.getAttribute(e)),u=e=>!s||t.hasAttribute(e)&&o.t(t.getAttribute(e)),d=s?`0`:void 0;if(l(`applyFont`)){let e=t.getAttribute(`fontId`)??d;if(e!==void 0&&(e!==`0`||u(`applyFont`))){let t=i.fonts[e];t!==void 0&&(r.font=t)}}if(l(`applyFill`)){let e=t.getAttribute(`fillId`)??d;if(e!==void 0&&(e!==`0`||u(`applyFill`))){let t=i.fills[e];t!==void 0&&Object.keys(t).length>0&&(r.fill=t)}}if(l(`applyBorder`)){let e=t.getAttribute(`borderId`)??d;if(e!==void 0&&(e!==`0`||u(`applyBorder`))){let t=i.borders[e];t!==void 0&&(r.borders=t)}}if(l(`applyNumberFormat`)){let n=t.getAttribute(`numFmtId`)??d;if(n!==void 0&&(n!==`0`||u(`applyNumberFormat`))){let t,i=parseInt(n),a=e.getVisitorParamsState();if(a){let e=a.get(`numFmts`);e&&(t=e.get(i)),r.numberFormat=t??i}else e.warn(`Number formats were unavailable; a cell format was not read.`,{onceKey:`xlsx.style.numberFormat.state`})}}if(l(`applyAlignment`)){let n=e.evaluate(`alignment`,t);(n||u(`applyAlignment`))&&this.processAlignment(e,n,r)}if(l(`applyProtection`)){let n=e.evaluate(`protection`,t);(n||u(`applyProtection`))&&this.processProtection(e,n,r)}let f=o.t(t.getAttribute(`quotePrefix`)??``);f&&(r.quotePrefix=f)}processAlignment(e,t,r){let i={};if(t?.hasAttribute(`horizontal`)?i.horizontal=t.getAttribute(`horizontal`):i.horizontal=n.Y.HorizontalAlignment.General,t?.hasAttribute(`vertical`)?i.vertical=t.getAttribute(`vertical`):i.vertical=n.Y.VerticalAlignment.Bottom,t?.hasAttribute(`indent`)?i.indent=parseInt(t.getAttribute(`indent`)):i.indent=0,t?.hasAttribute(`relativeIndent`)?i.relativeIndent=parseInt(t.getAttribute(`relativeIndent`)):i.relativeIndent=0,o.t(t?.getAttribute(`wrapText`)??``)?i.overflow=n.Y.Overflow.Wrap:i.overflow=n.Y.Overflow.Visible,o.t(t?.getAttribute(`shrinkToFit`)??``)&&(i.overflow=n.Y.Overflow.Shrink),t?.hasAttribute(`textRotation`)){let e=parseFloat(t.getAttribute(`textRotation`));e>0&&e<=90?e=360-e:e>90&&e<=180?e-=90:e===255&&(e=0,i.stacked=!0),i.rotation=e}else i.rotation=0;t?.hasAttribute(`justifyLastLine`)&&(i.justifyLastLine=o.t(t.getAttribute(`justifyLastLine`)));let a=t?.getAttribute(`readingOrder`);return a&&(a===`0`?i.readingDirection=n.Y.ReadingDirection.Auto:a===`1`?i.readingDirection=n.Y.ReadingDirection.LeftToRight:a===`2`?i.readingDirection=n.Y.ReadingDirection.RightToLeft:e.warn(`Invalid readingOrder '${a}'; the direction was left automatic.`,{onceKey:`xlsx.style.readingOrder`})),Object.keys(i).length>0&&(r.alignment=i),r}collectHiddenXfs(e){let t=new Set;if(!e)return t;let n=e.childNodes,r=0;for(let e=0;e<n.length;e++){let i=n.item(e);if(i.nodeType!==1||i.localName!==`xf`)continue;let a=i.childNodes;for(let e=0;e<a.length;e++){let n=a.item(e);n.nodeType===1&&n.localName===`protection`&&o.t(n.getAttribute(`hidden`)??``)&&t.add(r)}r++}return t}processProtection(e,t,n){if(!t)return;let r=t.getAttribute(`locked`);return n.protection={alwaysUnlocked:!!r&&!o.t(r)},n}processDXF(e,t,n){if(!t)return;let r=t.childNodes,i=r.length;for(let t=0;t<i;t++){let i=r.item(t);if(i.nodeType===1&&i.localName===`font`){let t={};this.processFont(e,i,t),n.font=t}else if(i.nodeType===1&&i.localName===`fill`){let t=[];this.processFill(e,i,t,0),t.length>0&&t[0]&&(n.fill=t[0])}else if(i.nodeType===1&&i.localName===`border`){let t=[];this.processBorder(e,i,t,0,!1),t.length>0&&t[0]&&(n.borders=t[0])}else if(i.nodeType===1&&i.localName===`numFmt`){let e=i.getAttribute(`formatCode`);if(e)n.numberFormat=e;else{let e=i.getAttribute(`numFmtId`);e&&(n.numberFormat=Number(e))}}else i.nodeType===1&&i.localName===`alignment`&&this.processAlignment(e,i,n)}}processDXFs(e,t,n){if(!t)return;e.getVisitorParamsState().set(`processingDXFs`,!0);let r=new Map;e.getVisitorParamsState().set(`dxfs`,r);let i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let a=i.item(t);if(a.nodeType===1&&a.localName===`dxf`){let t={};this.processDXF(e,a,t);let i=n.length;r.set(i,t),n.push(t)}}e.getVisitorParamsState().delete(`processingDXFs`)}processTableStyle(e,t,n,r,i=!1){let a=t.getAttribute(`name`),s={name:a};t.hasAttribute(`table`)&&(s.table=o.t(t.getAttribute(`table`))),t.hasAttribute(`pivot`)&&(s.pivot=o.t(t.getAttribute(`pivot`))),i&&!s.pivot&&r.unshift(null);let c=t.childNodes,l=c.length;for(let t=0;t<l;t++){let n=c.item(t);if(n.nodeType===1&&n.localName===`tableStyleElement`){let t=n.getAttribute(`type`),i=n.getAttribute(`dxfId`),a=i==null?void 0:r?.[i];a||=(e.warn(`A table style names a format that does not exist (dxfId '${i}').`,{onceKey:`xlsx.style.tableStyle.dxf`}),{}),s[t]=a;let o=null;n.hasAttribute(`size`)&&(o=parseInt(n.getAttribute(`size`))),o&&!isNaN(o)&&(a.size=o)}}delete s.name,n[a]=s}processTableStyles(e,t,n,r,i){if(!t)return;let a={},o=t.getAttribute(`defaultTableStyle`);o&&(a.defaultTableStyle=o);let s=t.getAttribute(`defaultPivotStyle`);s&&(a.defaultPivotStyle=s);let c=t.childNodes,l={},u=c.length;for(let t=0;t<u;t++){let n=c.item(t);n.nodeType===1&&n.localName===`tableStyle`&&this.processTableStyle(e,n,l,r,i)}return Object.keys(l).length>0&&(a.styles=l),Object.keys(a).length>0&&(n.tables=a),n}processCellStyles(e,t,r,i,a){if(!t)return;let s=t.childNodes,c=s.length;for(let e=0;e<c;e++){let t=s.item(e);if(t.nodeType===1&&t.localName===`cellStyle`){let e=parseInt(t.getAttribute(`xfId`)??``),s=t.getAttribute(`name`),c=t.getAttribute(`builtinId`),l=s;if(c!==null){let e=n.it.builtInNameFromId(parseInt(c));e!==void 0&&(l=e)}if(a.set(e,l),!i[e])continue;let u={name:l,style:i[e]};t.getAttribute(`hidden`)&&(u.hidden=o.t(t.getAttribute(`hidden`))),t.getAttribute(`iLevel`)&&(u.iLevel=parseInt(t.getAttribute(`iLevel`))),r.push(u)}}}afterVisit(e,t,n){}},pe=class extends k{visit(e,t,n){return this.processSheetRefs(e,e.evaluate(`sheets`,t),n),this.processExternalReferences(e,e.evaluate(`externalReferences`,t),n),this.processBookViews(e,e.evaluate(`bookViews`,t),n),this.processDefinedNames(e,e.evaluate(`definedNames`,t),n),this.processCalcPr(e,e.evaluate(`calcPr`,t),n),this.processPivotCaches(e,e.evaluate(`pivotCaches`,t),n),this.processWorkbookProtection(e,e.evaluate(`workbookProtection`,t),n),this.processWorkbookPr(e,e.evaluate(`workbookPr`,t),n),n}processPassword(e,t,n,r=`workbook`,i=`password`){if(!t)return;let a={};e.copyFromAttribute(t,`${r}AlgorithmName`,a,`algorithm`),e.copyFromAttribute(t,`${r}HashValue`,a,`hash`),e.copyFromAttribute(t,`${r}SaltValue`,a,`salt`),e.copyFromAttribute(t,`${r}SpinCount`,a,`spinCount`,e.INT_COPY),Object.keys(a).length>0&&(n[i]=a)}processWorkbookProtection(e,t,n){if(!t)return;let r={};this.processPassword(e,t,r,`workbook`,`password`),this.processPassword(e,t,r,`revisions`,`revisionsPassword`);for(let e of a.z)r[e.key]=a.u(e,t.getAttribute(e.attribute));return n.protection=r,n}processCalcPr(e,t,n){if(!t)return;let r={};e.copyFromAttribute(t,`calcMode`,r,`calcMode`,e=>j[e]??null),e.copyFromAttribute(t,`fullCalcOnLoad`,r,`fullCalcOnLoad`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`calcOnSave`,r,`calcOnSave`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`calcCompleted`,r,`calcCompleted`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`fullPrecision`,r,`fullPrecision`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`forceFullCalc`,r,`forceFullCalc`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`concurrentCalc`,r,`concurrentCalc`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`refMode`,r,`refMode`),e.copyFromAttribute(t,`iterate`,r,`iterate`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`iterateCount`,r,`maxIteration`,e.INT_COPY),e.copyFromAttribute(t,`iterateDelta`,r,`maxIterateChange`,e.FLOAT_COPY);let i=t.getAttribute(`calcId`);i!==null&&e.getVisitorParamsState().set(`calcId`,i),n.calc=r}processSheetRefs(e,t,n){if(!t)return;let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);n.nodeType===1&&n.localName===`sheet`&&this.processSheetRef(e,n,r)}n.sheets=r}processSheetRef(e,t,n){let r={};e.copyFromAttribute(t,`name`,r,`name`),e.copyFromAttribute(t,`state`,r,`visibility`),e.copyFromAttribute(t,`sheetId`,r,`sheetId`,e.INT_COPY);let i=t.getAttribute(`r:id`),a=e.getRef(i);a&&(r.sheet=a),n.push(r)}processExternalReferences(e,t,n){if(!t)return;let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType===1&&n.localName===`externalReference`){let t=n.getAttribute(`r:id`),i=t?e.getRef(t):null;r.push(i??null)}}r.length>0&&(n.externalBooks=r)}processPivotCaches(e,t,n){if(!t)return;let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType!==1||n.localName!==`pivotCache`)continue;let a=parseInt(n.getAttribute(`cacheId`)??``,10),o=n.getAttribute(`r:id`);if(isNaN(a)||!o)continue;let s=e.readEmbeddedPart(o);s&&r.push({cacheId:a,part:s})}r.length>0&&(n.pivotCaches=r)}processBookViews(e,t,n){if(!t)return;let r=t.childNodes,i=0,a=r.length;for(let t=0;i<1&&t<a;t++){let a=r.item(t);a.nodeType===1&&a.localName===`workbookView`&&(this.processWorkbookView(e,a,n),i++)}}processWorkbookView(e,t,n){if(!t)return;let r={};e.copyFromAttribute(t,`activeTab`,r,`activeSheetId`,[e.INT_COPY,e=>e]),t.hasAttribute(`activeTab`)||(r.activeSheetId=0),e.copyFromAttribute(t,`showHorizontalScroll`,r,`showHorizontalScrollbar`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`showVerticalScroll`,r,`showVerticalScrollbar`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`showSheetTabs`,r,`showTabs`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`tabRatio`,r,`tabRatio`,[e.FLOAT_COPY,e=>e]),Object.keys(r).length>0&&(n.view=r)}processDefineName(e,t,n,r){if(!t)return;let i={},a=t.firstChild;if(a&&a.nodeType===3&&(i.ref=a.textContent),e.copyFromAttribute(t,`name`,i),e.copyFromAttribute(t,`comment`,i),e.copyFromAttribute(t,`hidden`,i,`hidden`,e.BOOLEAN_COPY),t.hasAttribute(`localSheetId`)){let n=t.getAttribute(`localSheetId`);if(!r[n]?.name)return void e.warn(`Defined name '${t.getAttribute(`name`)}' references a sheet with localSheetId '${n}' which does not exist.`);i.scope=r[n].name}e.copyFromAttribute(t,`customMenu`,i),e.copyFromAttribute(t,`description`,i),e.copyFromAttribute(t,`statusBar`,i),e.copyFromAttribute(t,`help`,i),e.copyFromAttribute(t,`shortcutKey`,i),e.copyFromAttribute(t,`function`,i,`function`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`functionGroupId`,i,`functionGroupId`,e.INT_COPY),e.copyFromAttribute(t,`publishToServer`,i,`publishToServer`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`vbProcedure`,i,`vbProcedure`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`xlm`,i,`xlm`,e.BOOLEAN_COPY),Object.keys(i).length>0&&n.push(i)}processDefinedNames(e,t,n){if(!t)return;let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let a=i.item(t);a.nodeType===1&&a.localName===`definedName`&&this.processDefineName(e,a,r,n.sheets)}r.length>0&&(n.names=r)}processWorkbookPr(e,t,n){t&&(e.copyFromAttribute(t,`date1904`,n,`date1904`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`codeName`,n,`codeName`),e.copyFromAttribute(t,`updateLinks`,n,`updateLinks`))}afterVisit(e,t,n){}},me=class{visit(e,t,n){let r={};return e.copyFromAttribute(t,`ref`,n,`r`),e.getVisitorParamsState().set(`ref`,n.r),n.v=r,e.copyFromAttribute(t,`name`,r),e.copyFromAttribute(t,`displayName`,r),e.copyFromAttribute(t,`headerRowCount`,r,`headerRowCount`,e.INT_COPY),e.copyFromAttribute(t,`totalsRowCount`,r,`totalsRowCount`,e.INT_COPY),this.processTableColumns(e,t,r),this.processTableStyleInfo(e,t,r),e.copyFromAttribute(t,`id`,r),e.copyFromAttribute(t,`comment`,r,`description`),e.copyFromAttribute(t,`connectionId`,r,`connectionId`,e.INT_COPY),e.copyFromAttribute(t,`tableType`,r),e.copyFromAttribute(t,`published`,r,`published`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`insertRow`,r,`insertRow`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`insertRowShift`,r,`insertRowShift`,e.BOOLEAN_COPY),r.totalsRowShown=t.getAttribute(`totalsRowShown`)!==`0`,r}afterVisit(e,t,n){let r=n.v;if(e.evaluate(`autoFilter`,t)){if(Array.isArray(r.hiddenButtons)){let e=r.hiddenButtons.length;e===0?r.hiddenButtons=!1:e===r.columns?.length&&(r.hiddenButtons=!0)}}else r.hiddenButtons=!0,r.showButtons=!1;return r}processTableStyleInfo(e,t,n){if(!t)return;let r=t.childNodes,i={},a=r.length;for(let t=0;t<a;t++){let n=r.item(t);n.nodeType===1&&n.localName===`tableStyleInfo`&&(e.copyFromAttribute(n,`name`,i),e.copyFromAttribute(n,`showColumnStripes`,i,`showColumnStripes`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`showFirstColumn`,i,`showFirstColumn`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`showLastColumn`,i,`showLastColumn`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`showRowStripes`,i,`showRowStripes`,e.BOOLEAN_COPY))}Object.keys(i).length>0&&(n.style=i)}processTableColumn(e,t,n){if(!t)return null;let r=t.childNodes,i=r.length;for(let t=0;t<i;t++){let i=r.item(t);if(i.nodeType===1&&i.localName===`tableColumn`){let t={};e.copyFromAttribute(i,`name`,t),e.copyFromAttribute(i,`id`,t),e.copyFromAttribute(i,`uniqueName`,t),e.copyFromAttribute(i,`queryTableFieldId`,t),e.copyFromAttribute(i,`totalsRowLabel`,t);let r=i.getAttribute(`totalsRowFunction`);if(r!==null)if(r===`custom`){let n=e.evaluate(`totalsRowFormula`,i);n&&(t.totalsRowFormula=n.textContent)}else t.totalsRowFormula=r;e.copyFromAttribute(i,`totalsRowLabel`,t);let a=e.evaluate(`calculatedColumnFormula`,i);a?.textContent&&(t.calculatedColumnFormula=a.textContent),n.push(t)}}return n}processTableColumns(e,t,n){let r=t.childNodes,i=[],a=r.length;for(let t=0;t<a;t++){let n=r.item(t);n.nodeType===1&&n.localName===`tableColumns`&&this.processTableColumn(e,n,i)}i.length>0&&(n.columns=i)}},he=class{visit(e,t,n){let r=e.getVisitorParamsState().get(`ref`);if(r){let n=e.getVisitorParamsState().get(`descriptions`);n&&(n.add(r,t.getAttribute(`altText`)),n.add(r,t.getAttribute(`altTextSummary`)))}return e.copyFromAttribute(t,`altText`,n),e.copyFromAttribute(t,`altTextSummary`,n),n}},ge=class{visit(e,t,n){let r=t.childNodes,i=r.length,a=null;for(let e=0;e<i;e++){let t=r.item(e);if(t.nodeType===1){t.localName===`externalBook`&&(a=t);break}}if(!a)return n;t.getAttribute(`mc:Ignorable`)&&(n.mceIgnorable=!0);let o=a.getAttribute(`r:id`);o&&(n.__bookRelId=o);let s=this._findAbsoluteUrlRelId(a);return s&&(n.__absoluteUrlRelId=s),n.sheetNames=[],this.processSheetNames(e,a,n),this.processDefinedNames(e,a,n),this.processSheetDataSet(e,a,n),n}processSheetNames(e,t,n){let r=this._findChild(t,`sheetNames`);if(!r)return;let i=r.childNodes,a=i.length;for(let e=0;e<a;e++){let t=i.item(e);t.nodeType===1&&t.localName===`sheetName`&&n.sheetNames.push(t.getAttribute(`val`)??``)}}processDefinedNames(e,t,n){let r=this._findChild(t,`definedNames`);if(!r)return;let i=[],a=r.childNodes,o=a.length;for(let e=0;e<o;e++){let t=a.item(e);if(t.nodeType!==1||t.localName!==`definedName`)continue;let n=t.getAttribute(`name`);if(!n)continue;let r={name:n,refersTo:t.getAttribute(`refersTo`)??``},o=t.getAttribute(`sheetId`);o!==null&&(r.sheetIndex=parseInt(o,10)),i.push(r)}i.length>0&&(n.definedNames=i)}processSheetDataSet(e,t,n){let r=this._findChild(t,`sheetDataSet`);if(!r)return;let i=[],a=r.childNodes,o=a.length;for(let t=0;t<o;t++){let n=a.item(t);if(n.nodeType!==1||n.localName!==`sheetData`)continue;let r=n.getAttribute(`sheetId`);if(r===null)continue;let o=this.processSheetData(e,n);o.sheetIndex=parseInt(r,10),n.getAttribute(`refreshError`)===`1`&&(o.refreshError=!0),i.push(o)}i.length>0&&(n.sheetDataSet=i)}processSheetData(e,t){let r=new n.ot.Builder,i=t.childNodes,a=i.length;for(let e=0;e<a;e++){let t=i.item(e);if(t.nodeType!==1||t.localName!==`row`)continue;let a=t.childNodes,o=a.length;for(let e=0;e<o;e++){let t=a.item(e);if(t.nodeType!==1||t.localName!==`cell`)continue;let i=t.getAttribute(`r`);if(!i)continue;let o=n.nt.fastStringToCell(i);if(o?.rowIndex===void 0||o?.colIndex===void 0)continue;let s=this._readCellValue(t);s!==void 0&&r.pushAt(o.rowIndex,o.colIndex,s)}}return{sheetIndex:-1,data:r.build()?.tuples??[]}}_readCellValue(e){let n=this._findChild(e,`v`)?.textContent?.trim();if(n!==void 0&&n!==``)switch(e.getAttribute(`t`)){case null:case`n`:return parseFloat(n);case`b`:return n===`1`||n===`true`;case`str`:default:return n;case`e`:{let e=t.i.getBuiltInByLabel(n);return e?{t:`e`,v:e.getCode()}:n}}}_findChild(e,t){let n=e.childNodes,r=n.length;for(let e=0;e<r;e++){let r=n.item(e);if(r.nodeType===1&&r.localName===t)return r}return null}_findAbsoluteUrlRelId(e){let t=this._findChild(e,`alternateUrls`);return t?this._findChild(t,`absoluteUrl`)?.getAttribute(`r:id`)??null:null}},_e=class{visit(e,t,n){e.copyFromAttribute(t,`name`,n),e.copyFromAttribute(t,`sourceName`,n);let r=e.evaluate(`*/tableSlicerCache`,t);return r?(e.copyFromAttribute(r,`tableId`,n),e.copyFromAttribute(r,`column`,n,`columnId`),e.copyFromAttribute(r,`crossFilter`,n),n):(e.warn(`A slicer names no table; it was not imported.`,{onceKey:`xlsx.slicer.cacheDefinition`}),n)}},ve=class{visit(e,t,n){let r=n.slicers;r||(r={},n.slicers=r);let i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);n.nodeType===1&&n.localName===`slicer`&&this.processSlicer(e,n,r)}return r}processSlicer(e,t,n){if(!t)return;let r={};n[t.getAttribute(`name`)]=r;let i=t.getAttribute(`cache`),a=e.getVisitorParamsState().get(`slicerCaches`);if(i){let e=a.get(i);e&&(r.columnId=e.columnId,r.tableId=e.tableId)}e.copyFromAttribute(t,`caption`,r),e.copyFromAttribute(t,`startItem`,r,`startItem`,e.INT_COPY),e.copyFromAttribute(t,`columnCount`,r,`columnCount`,e.INT_COPY),e.copyFromAttribute(t,`showCaption`,r,`showCaption`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`level`,r,`level`,e.INT_COPY),e.copyFromAttribute(t,`style`,r),e.copyFromAttribute(t,`locked`,r,`locked`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`rowHeight`,r,`rowHeight`,e.INT_COPY)}},ye=class{visit(e,t,n){return n}},Q=class{visit(e,t,n){if(!t)return;let r={};return e.copyFromAttribute(t,`editAs`,r,`anchorType`),r.anchor={},t.localName===`absoluteAnchor`?(r.anchorType=`absolute`,this.processAbsoluteCoord(e,e.evaluate(`xdr:pos`,t),r.anchor,`from`,`x`,`y`),this.processAbsoluteCoord(e,e.evaluate(`xdr:ext`,t),r.anchor,`to`,`cx`,`cy`)):t.localName===`oneCellAnchor`?(this.processOffsetCoord(e,e.evaluate(`from`,t),r.anchor,`from`),this.processAbsoluteCoord(e,e.evaluate(`xdr:ext`,t),r.anchor,`to`,`cx`,`cy`)):(this.processOffsetCoord(e,e.evaluate(`from`,t),r.anchor,`from`),this.processOffsetCoord(e,e.evaluate(`to`,t),r.anchor,`to`)),n.movables||=[],n.movables.push(r),r}processAbsoluteCoord(e,t,n,r,i,a){if(!t)return;let s={x:0,y:0};return s.x=o.h(t.getAttribute(i)),s.y=o.h(t.getAttribute(a)),r===`from`?n.tl=s:n.br=s,n}processOffsetCoord(e,t,n,r){if(!t)return;let i={c:0,r:0,x:0,y:0};return e.evaluate(`col`,t)&&(i.c=parseInt(e.evaluate(`col`,t).textContent)),e.evaluate(`row`,t)&&(i.r=parseInt(e.evaluate(`row`,t).textContent)),e.evaluate(`colOff`,t)&&(i.x=o.h(e.evaluate(`colOff`,t).textContent)),e.evaluate(`rowOff`,t)&&(i.y=o.h(e.evaluate(`rowOff`,t).textContent)),r===`from`?n.tl=i:n.br=i,n}},be=class extends M{visit(e,t,n){if(!t)return;n=super.visit(e,t,n);let r=e.evaluate(`nvGraphicFramePr/cNvGraphicFramePr`,t);if(r){let t=e.evaluate(`graphicFrameLocks`,r);if(t){t.hasAttribute(`noChangeAspect`)&&(n.lockAspect=t.getAttribute(`noChangeAspect`)===`1`);let e={};Object.keys(e).length>0&&(n.locks=e)}}let i={type:`graphicFrame`,json:{}},a=e.evaluate(`graphic/graphicData`,t).childNodes,o=a.length;for(let n=0;n<o;n++){let r=a.item(n);if(r.nodeType===1)try{let n=r.localName;n===`chart`?n=`chart`:n===`slicer`&&(n=`slicer`),i.type=n;let a=r.getAttribute(`r:id`);if(n===`chart`&&a){let n=e.evaluate(`*/cNvPr`,t);n?.item&&(n=n.item(0));let r=n?.getAttribute?.(`id`),o=r?parseInt(r,10):void 0;i.json={xml:e.serializeElement(t)??void 0,sourceId:o===void 0||isNaN(o)?void 0:o,part:e.readEmbeddedPart(a)??void 0}}else a&&(i.json=e.getRef(a))}catch(t){e.warn(`Unable to read a graphic frame: ${t?.message??t}`,{onceKey:`xlsx.drawing.graphicFrame`})}}return i&&(n.content=i),i}},$=N,xe=class extends M{visit(e,t,n){if(!t)return;let r=super.visit(e,t,n),i=e.evaluate(`nvPicPr/cNvPicPr`,t);if(i){e.copyFromAttribute(t,`preferRelativeResize`,r,`preferRelativeResize`,e.BOOLEAN_COPY);let n=e.evaluate(`picLocks`,i);if(n){n.hasAttribute(`noChangeAspect`)&&(r.lockAspect=n.getAttribute(`noChangeAspect`)===`1`);let t={};e.copyFromAttribute(n,`noChangeArrowheads`,r,`noChangeArrowheads`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noChangeShapeType`,r,`noChangeShapeType`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noEditPoints`,r,`noEditPoints`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noAdjustHandles`,r,`noAdjustHandles`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noCrop`,r,`noCrop`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noGrp`,r,`noGrp`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noMove`,r,`noMove`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noResize`,r,`noResize`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noRot`,r,`noRot`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noSelect`,r,`noSelect`,e.BOOLEAN_COPY),Object.keys(t).length>0&&(r.locks=t)}}let a,o=e.evaluate(`blipFill/blip`,t);if(o){let t;if(t=o.getAttribute(`r:embed`)??o.getAttribute(`embed`),t||=o.getAttribute(`r:link`)??o.getAttribute(`link`),!t)return void e.warn(`A picture names no image; it was not imported.`,{onceKey:`xlsx.drawing.picture.noRel`});a=e.getRef(t,!0)}return n.content={type:`picture`,json:{resId:a}},r}},Se=class extends N{visit(e,t,n){if(!t)return;n=super.visit(e,t,n);let r=e.evaluate(`nvGrpSpPr/cNvGrpSpPr`,t);if(r){let t=e.evaluate(`grpSpLocks`,r);if(t){t.hasAttribute(`noChangeAspect`)&&(n.lockAspect=t.getAttribute(`noChangeAspect`)===`1`);let e={};Object.keys(e).length>0&&(n.locks=e)}}e.warn(`Unable to import '${n.name}', group shapes are not supported.`);let i={};return n.content={type:`grpSp`,json:i},i}},Ce=class extends N{visit(e,t,n){if(!t)return;n=super.visit(e,t,n);let r=e.evaluate(`nvCxnSpPr/cNvCxnSpPr`,t);if(r){let t=e.evaluate(`cxnSpLocks`,r);if(t){t.hasAttribute(`noChangeAspect`)&&(n.lockAspect=t.getAttribute(`noChangeAspect`)===`1`);let e={};Object.keys(e).length>0&&(n.locks=e)}}let i=e.evaluate(`*/cNvPr`,t);i?.item&&(i=i.item(0));let a=i?.getAttribute?.(`id`),o=a?parseInt(a,10):void 0,s={type:`cxnSp`,xml:e.serializeElement(t)??void 0,sourceId:o===void 0||isNaN(o)?void 0:o};return n.content={type:`cxnSp`,json:s},s}},we=class{visit(e,t,n){let r=[],i=new Map,a={cells:[],values:[]},o=t.childNodes;for(let e=0;e<o.length;e++){let t=o.item(e);if(t.nodeType===1)switch(t.localName){case`metadataTypes`:this._parseMetadataTypes(t,r,i);break;case`futureMetadata`:this._attachFutureMetadata(t,i);break;case`cellMetadata`:this._resolveBlocks(t,r,a.cells);break;case`valueMetadata`:this._resolveBlocks(t,r,a.values)}}return n.metadata=a,a}_parseMetadataTypes(e,t,n){let r=e.childNodes;for(let e=0;e<r.length;e++){let i=r.item(e);if(i.nodeType===1&&i.localName===`metadataType`){let e=this._parseMetadataType(i);t.push(e),n.set(e.name,e)}}}_parseMetadataType(e){let t={name:e.getAttribute(`name`)??``,_blocks:[]},n=e.getAttribute(`minSupportedVersion`);n!=null&&(t.minSupportedVersion=Number(n));for(let n of[`copy`,`pasteAll`,`pasteValues`,`merge`,`splitFirst`,`splitAll`,`rowColShift`,`clearFormats`,`clearComments`,`assign`,`coerce`,`cellMeta`,`adjust`,`trans`,`delete`,`edit`])e.getAttribute(n)===`1`&&(t[n]=!0);return t}_attachFutureMetadata(e,t){let n=e.getAttribute(`name`)??``,r=t.get(n);if(!r)return;let i=e.childNodes;for(let e=0;e<i.length;e++){let t=i.item(e);t.nodeType===1&&t.localName===`bk`&&r._blocks.push(this._parseFutureBlock(t))}}_parseFutureBlock(e){let t={},n=e.childNodes;for(let e=0;e<n.length;e++){let r=n.item(e);if(r.nodeType!==1||r.localName!==`extLst`)continue;let i=r.childNodes;for(let e=0;e<i.length;e++){let n=i.item(e);if(n.nodeType!==1||n.localName!==`ext`)continue;let r=n.childNodes;for(let e=0;e<r.length;e++){let n=r.item(e);n.nodeType===1&&(n.localName===`dynamicArrayProperties`?(t.fDynamic=n.getAttribute(`fDynamic`)===`1`,t.fCollapsed=n.getAttribute(`fCollapsed`)===`1`):n.localName===`rvb`&&(t.richValueIndex=Number(n.getAttribute(`i`)??`0`)))}}}return t}_resolveBlocks(e,t,n){let r=e.childNodes;for(let e=0;e<r.length;e++){let i=r.item(e);i.nodeType===1&&i.localName===`bk`&&n.push(this._resolveBlock(i,t))}}_resolveBlock(e,t){let n=new Map,r=e.childNodes;for(let e=0;e<r.length;e++){let i=r.item(e);if(i.nodeType!==1||i.localName!==`rc`)continue;let a=Number(i.getAttribute(`t`)),o=Number(i.getAttribute(`v`)),s=t[a-1];if(!s)continue;let{_blocks:c,...l}=s,u={...l};for(let e of Object.keys(u))u[e]===void 0&&delete u[e];let d=c[o];d&&(d.fDynamic!==void 0&&(u.fDynamic=d.fDynamic,u.fCollapsed=d.fCollapsed??!1),d.richValueIndex!==void 0&&(u.richValueIndex=d.richValueIndex)),n.set(s.name,u)}return n}},Te=class{visit(e,t,n){let r=e.getVisitorParamsState().get(P);r||(r=[],e.getVisitorParamsState().set(P,r));let i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType===1&&n.localName===`s`){let t={type:n.getAttribute(`t`)??`n`,keys:[]};this.processKeys(e,n,t),r.push(t)}}return n.richTypes=r,r}processKeys(e,t,n){let r=t.childNodes,i=r.length,a=n.keys;for(let e=0;e<i;e++){let t=r.item(e);if(t.nodeType===1&&t.localName===`k`){let e=t.getAttribute(`n`),n=t.getAttribute(`t`);a.push([e,n])}}}},Ee=class{visit(e,t,n){let r=e.getVisitorParamsState().get(`richTypes`);if(!r)return void e.warn(`RichValueFound but not type.`);let i=e.getVisitorParamsState().get(F);i||(i=[],e.getVisitorParamsState().set(F,i));let a=t.childNodes,o=a.length;for(let t=0;t<o;t++){let n=a.item(t);if(n.nodeType===1&&n.localName===`rv`){let t=r[n.getAttribute(`s`)],a={type:t.type};this.processValues(e,n,a,t);let o=this.mapType(e,a);i.push(o)}}return n.richData=i,i}mapType(e,n){if(n.type===`_error`){let e=n.errorType;if(e)try{n=t.i.getBuiltInByCode(e+1)??t.i.BuiltIn.Unknown}catch{}}return n}processValues(e,t,n,r){let i=t.childNodes,a=i.length;r.type;let o=r.keys;for(let t=0;t<a;t++){let r=i.item(t);if(r.nodeType===1&&r.localName===`v`){let i=o[t];if(!i)return void e.warn(`Invalid richData`);let a=i[0],s=i[1],c=r.textContent;s===`i`&&(c=Number(c)),n[a]=c}}}},De=class{visit(e,t,n){if(!t)return;let r=[];this.processAuthors(e,e.evaluate(`authors`,t),r),r.length>0&&(n.authors=r);let i=[];return n.comments=i,i}processAuthors(e,t,n){if(!t)return;let r=t.childNodes,i=r.length;for(let e=0;e<i;e++){let t=r.item(e);if(t.nodeType===1&&t.localName===`author`){let e=t.firstChild;e&&e.nodeType===3&&n.push(e.textContent)}}}},Oe=class{visit(e,t,n){if(!t)return;let r=t.getAttribute(`ref`);if(!r)return;let i={content:``};if(t.hasAttribute(`authorId`)){let e=parseInt(t.getAttribute(`authorId`),10);isNaN(e)||(i.authorId=e)}return i.content=function(e){if(!e)return``;let t=[],n=!0,r=e.childNodes;for(let e=0;e<r.length;e++){let i=r.item(e);if(i.nodeType===1){if(i.localName===`t`)t.push({text:i.textContent??``});else if(i.localName===`r`){let e={text:``},r=i.childNodes;for(let t=0;t<r.length;t++){let n=r.item(t);n.nodeType===1&&(n.localName===`t`?e.text+=n.textContent??``:n.localName===`rPr`&&te(n,e))}Object.keys(e).length>1&&(n=!1),t.push(e)}}}return t.length===0?e.textContent??``:n?t.map(e=>e.text).join(``):{runs:t}}(e.evaluate(`text`,t)),n.push({r,v:i}),i}},ke=class{visit(e,t,n){if(!t)return;let r=[];return n.comments=r,r}},Ae=class{visit(e,t,n){if(!t)return;let r={};e.copyFromAttribute(t,`id`,r,`id`,o.c);let i=t.getAttribute(`ref`);return e.copyFromAttribute(t,`personId`,r,`personId`,o.c),e.copyFromAttribute(t,`parentId`,r,`parentId`,o.c),e.copyFromAttribute(t,`dT`,r,`dt`),t.hasAttribute(`done`)&&(r.done=o.t(t.getAttribute(`done`))),n.push({r:i,v:r}),r}},je=class{visit(e,t,n){let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType===1&&n.localName===`person`){let t={};e.copyFromAttribute(n,`id`,t,`id`,o.c),e.copyFromAttribute(n,`displayName`,t),e.copyFromAttribute(n,`userId`,t,`userId`,o.c),e.copyFromAttribute(n,`providerId`,t),r.push(t)}}return r.length>0&&(n.persons=r),r}},Me=class{constructor(e,t){this.path=e,this.visitor=t}};exports.DOMTransformer=class{constructor(){this.visitorsByXmlTagName=new Map,this.scopedVisitorsByXmlTagName=new Map,this.visitorParamsState=null,this.registerVisitor(`Relationships`,new ne),this.registerVisitor(`cp:coreProperties`,new re),this.registerVisitor(`Properties`,new ie),this.registerVisitor(`spPr`,new R),this.registerVisitor(`txBody`,new K),this.registerVisitor(`txPr`,new K),this.registerVisitor(`c:chartSpace`,new I),this.registerVisitor(`c:plotArea`,new L),this.registerVisitor(`c:barChart`,new z),this.registerVisitor(`c:doughnutChart`,new B),this.registerVisitor(`c:lineChart`,new B),this.registerVisitor(`c:ofPieType`,new B),this.registerVisitor(`c:pieChart`,new B),this.registerVisitor(`c:scatterChart`,new B),this.registerVisitor(`c:barChart`,new V(`dataLabels`),`dLbls`),this.registerVisitor(`c:doughnutChart`,new V(`dataLabels`),`dLbls`),this.registerVisitor(`c:lineChart`,new V(`dataLabels`),`dLbls`),this.registerVisitor(`c:ofPieType`,new V(`dataLabels`),`dLbls`),this.registerVisitor(`c:pieChart`,new V(`dataLabels`),`dLbls`),this.registerVisitor(`c:scatterChart`,new V(`dataLabels`),`dLbls`),this.registerVisitor(`c:ser`,new H),this.registerVisitor(`c:dPt`,new U),this.registerVisitor(`c:marker`,new W),this.registerVisitor(`c:catAx`,new G),this.registerVisitor(`c:valAx`,new G),this.registerVisitor(`c:dateAx`,new G),this.registerVisitor(`c:majorGridlines`,new x(`gridLinesMajor`)),this.registerVisitor(`c:minorGridlines`,new x(`gridLinesMinor`)),this.registerVisitor(`c:chartSpace`,null,`txPr`),this.registerVisitor(`c:catAx`,new K(`labels.text`),`txPr`),this.registerVisitor(`c:valAx`,new K(`labels.text`),`txPr`),this.registerVisitor(`c:dateAx`,new K(`labels.text`),`txPr`),this.registerVisitor(`c:legend`,new J),this.registerVisitor(`c:legend`,new K(`labels.text`),`txPr`),this.registerVisitor(`c:legendEntry`,new q),this.registerVisitor(`c:ser`,new Y,`extLst/ext/invertSolidFillFmt/spPr`),this.registerVisitor(`c:ser`,new V(`labels`),`dLbls`),this.registerVisitor(`c:dLbl`,new V(`points`)),this.registerVisitor(`c:title`,new X),this.registerVisitor(`c:title`,null,`tx/rich`),this.registerVisitor(`c:title`,null,`txPr`),this.registerVisitor(`c:layout`,new ae),this.registerVisitor(`c:dispUnits`,new x(`dispUnits`)),this.registerVisitor(`c:dispUnitsLbl`,new X(`displayUnitsLabel`)),this.registerVisitor(`c:dispUnitsLbl`,new K,`tx/rich`),this.registerVisitor(`a:theme`,new oe),this.registerVisitor(`a:theme`,new se,`themeElements/clrScheme`),this.registerVisitor(`a:theme`,new ce,`themeElements/fontScheme`),this.registerVisitor(`a:theme`,new le,`themeElements/fmtScheme`),this.registerVisitor(`autoFilter`,new de),this.registerVisitor(`sortState`,new fe),this.registerVisitor(`s:workbook`,new pe),this.registerVisitor(`styleSheet`,new Z),this.registerVisitor(`x14:table`,new he),this.registerVisitor(`table`,new me),this.registerVisitor(`externalLink`,new ge),this.registerVisitor(`hlinkClick`,new ue),this.registerVisitor(`wsDr`,new ye),this.registerVisitor(`twoCellAnchor`,new Q),this.registerVisitor(`oneCellAnchor`,new Q),this.registerVisitor(`absoluteAnchor`,new Q),this.registerVisitor(`graphicFrame`,new be),this.registerVisitor(`sp`,new $),this.registerVisitor(`grpSp`,new Se),this.registerVisitor(`cxnSp`,new Ce),this.registerVisitor(`pic`,new xe),this.registerVisitor(`metadata`,new we),this.registerVisitor(`rvStructures`,new Te),this.registerVisitor(`rvData`,new Ee),this.registerVisitor(`comments`,new De),this.registerVisitor(`comment`,new Oe),this.registerVisitor(`ThreadedComments`,new ke),this.registerVisitor(`threadedComment`,new Ae),this.registerVisitor(`threadedComment`,new K(`content`),`text`),this.registerVisitor(`personList`,new je),this.registerVisitor(`slicerCacheDefinition`,new _e),this.registerVisitor(`slicers`,new ve)}registerVisitor(e,t,n=null){e.indexOf(`:`)===-1&&(e=`*:`+e);let r=e.split(`:`),i=r.length>1?r[1]:r[0];if(!n)return this.visitorsByXmlTagName.set(i,t),void this.visitorsByXmlTagName.set(e,t);let a=this.scopedVisitorsByXmlTagName.get(i);a||(a=[],this.scopedVisitorsByXmlTagName.set(i,a),this.scopedVisitorsByXmlTagName.set(e,a)),a.push(new Me(n,t))}parseDxf(t,n=``,r=e.I.EmptyObject){this.visitorParamsState||=new Map;let i=this.visitorParamsState,a=i.get(`processingDXFs`);i.set(`processingDXFs`,!0);try{let e=new f(null,this,`/dxf`,t,{},n,r),i={};return new Z().processDXF(e,t,i),i}finally{a===void 0?i.delete(`processingDXFs`):i.set(`processingDXFs`,a)}}getVisitorParamsState(){return this.visitorParamsState}transform(t,n,r=e.I.EmptyObject){let i=t.documentElement;this.visitorParamsState&&!r?.paramMap||(this.visitorParamsState=r?.paramMap??new Map);let a={},o=this.visitorsByXmlTagName.get(i.nodeName);if(o||=this.visitorsByXmlTagName.get(i.localName),!o)throw Error(`A visitor for the root element: '${i.nodeName}' or '${i.localName}' must be registered.`);let s=`/`+i.localName,c=new f(null,this,s,i,a,n,r),l=[];this._doWalk(o,c,l,i,a,n,r);let u=l.length;for(let e=0;e<u;e++){let t=l[e];try{t.visitor?.afterVisit?.(t.context,t.elemParent,t.jsonParent)}catch(e){t.context.warn(`Unable to finish reading '${t.context.getPath()}': ${e?.message??e}`,{onceKey:`xlsx.transform.afterVisit`})}}return a}_walkScoped(e,t,n,r,i,a,o){let s=this.scopedVisitorsByXmlTagName.get(e),c=s?s.length:0;for(let l=0;l<c;l++){let c=s[l],u=null;try{u=t.evaluate(c.path,r)}catch{t.warn(`Invalid path '${c.path}' for '${e}'.`,{onceKey:`xlsx.transform.invalidPath`})}if(!u)continue;let d=e=>{let s=e.localName,l=e.parentNode;for(;l&&l!==r;)s=l.localName+`/`+s,l=l.parentNode;let u=t.getPath()+`/`+s;if(c.visitor){let r=new f(t,this,u,t.getElemRoot(),t.getJsonRoot(),a,o);this._doWalk(c.visitor,r,n,e,i,a,o)}};if(u.length>0){let e=u,t=e.length;for(let n=0;n<t;n++)d(e.item(n))}else d(u)}}_doWalk(e,t,n,r,i,a,o){let s=null;e&&(n.push({visitor:e,context:t,elemParent:r,jsonParent:i}),s=e.visit(t,r,i)),s||=i;let c=r.localName;this._walkScoped(c,t,n,r,s,a,o);let l=this.visitorsByXmlTagName,u=t.getElemRoot(),d=t.getJsonRoot(),p=r.childNodes,m=p.length;for(let e=0;e<m;e++){let r=p.item(e);if(r.nodeType!==1)continue;let c=r,m=c.nodeName,h=l.get(m);h||=(m=c.localName,l.get(m));let g=t.getPath()+`/`+m,_=new f(t,this,g,u,d,a,o);this._doWalk(h,_,n,c,s??i,a,o)}return s}},exports.ExecutionContext=f,exports.NumberUtils=o.o,exports.VisitorUtils=p;
|
|
1
|
+
const e=require("./Bj3YkKmVIoQ3YtYm.cjs"),t=require("./BPWKnUtyoTrtW567.cjs"),n=require("./DlFiaQEEJyI6gR6p.cjs"),r=require("./C93fNlONyjGB_ZQr.cjs"),i=require("./CHMgm0vAbEBS1mVW.cjs"),a=require("./gYAA75Xg3ecR5t-Y.cjs"),o=require("./CPpaoS366U54RWte.cjs");var s=class{constructor(e){this.list=e}get length(){return this.list.length}item(e){return this.list[e]}forEach(e,t){let n=this.list,r=n.length;for(let t=0;t<r;t++)e(n[t],t,this)}entries(){return this.list.entries()}keys(){return this.list.keys()}values(){return this.list.values()}[Symbol.iterator](){return this.list.values()}},c=e=>!0===e||e===`1`||e===`on`||e===`true`||!1!==e&&e!==`0`&&e!==`off`&&e!==`false`&&null,l=e=>{let t=parseInt(e);return isNaN(t)?null:t},u=e=>{let t=parseFloat(e);return isNaN(t)?null:t},d=new Map,f=class{constructor(t,n,r,i,a,o=null,s=e.I.EmptyObject){this._fileLocation=``,this._parent=t,this.sharedShared=n,this.currentPath=r,this.elemRoot=i,this.jsonRoot=a,t?(this._fileLocation=t._fileLocation,this._getRef=t._getRef,this._getRefs=t._getRefs,this._serializeElement=t._serializeElement,this._readEmbeddedPart=t._readEmbeddedPart):(o&&(this._fileLocation=o),s?.getRef&&(this._getRef=(e,t,n)=>s?.getRef?.(e,t,n,s?.parsedRefs)),s?.getRefs&&(this._getRefs=e=>s?.getRefs?.(e,s?.parsedRefs)),this._onWarning=s?.onWarning,this._addPerson=s?.addPerson,this._serializeElement=s?.serializeElement,this._readEmbeddedPart=s?.readEmbeddedPart)}getRef(e,t=!1){return this._getRef?.(e,this._fileLocation,t)??null}readEmbeddedPart(e){return this._readEmbeddedPart?.(e,this._fileLocation)??null}getRelationships(){return this._getRefs?.(this._fileLocation)??d}getPath(){return this.currentPath}getFileLocation(){return this._fileLocation}getElemRoot(){return this.elemRoot}getJsonRoot(){return this.jsonRoot}warn(e,t){this._raiseWarning(e,this.getFileLocation(),t?.onceKey)}_raiseWarning(e,t,n){this._onWarning?this._onWarning(e,t,n):this._parent?this._parent._raiseWarning(e,t,n):console.warn(e)}serializeElement(e){return this._serializeElement?.(e)??null}addPerson(e){return typeof e==`string`&&(e={displayName:e}),this._addPerson?this._addPerson(e):this._parent?this._parent?._addPerson?.(e)??null:null}getVisitorParamsState(){return this.sharedShared.getVisitorParamsState()}evaluate(e,t){if(!e)return t;let n=[t],r=e.split(`/`),i=r.length;for(let e=0;e<i;e++){let t=r[e];if(t===``||t===`.`)continue;let a=[],o=(t===`*`||t===`**`)&&e!==i-1;for(let i of n)if(i)if(o){let t=r[e+1];t&&t!==``&&t!==`.`&&(this._findDescendants(i,t,a),e++)}else if(t===`*`||t===`**`){if(!i.childNodes)continue;let e=i.childNodes,t=e.length;for(let n=0;n<t;n++){let t=e[n];t.nodeType===1&&a.push(t)}}else{if(!i.childNodes)continue;let e=i.childNodes,n=e.length;for(let r=0;r<n;r++){let n=e[r];if(n.nodeType!==1)continue;let i=n;this._matchesElementName(i,t)&&a.push(i)}}if(n=a,n.length===0)return null}return n.length===1?n[0]:n.length===0?null:new s(n)}_matchesElementName(e,t){return t.includes(`:`)?(e.tagName||e.nodeName)===t:e.localName===t}_findDescendants(e,t,n){if(!e||!e.childNodes)return;let r=e.childNodes,i=r.length;for(let e=0;e<i;e++){let i=r[e];if(i.nodeType!==1)continue;let a=i;this._matchesElementName(a,t)&&n.push(a),this._findDescendants(a,t,n)}}getFromPath(t,n){return e.I.getFromPath(t,n)}setToPath(t,n,r){return e.I.setToPath(t,n,r)}getValAttrAsString(e,t){let n=this.evaluate(e,t);return n&&n.hasAttribute(`val`)?n.getAttribute(`val`)??null:null}getValAttrAsBoolean(e,t,n=!1){let r=this.evaluate(e,t);if(!r)return null;let i=r.hasAttribute(`val`)?r.getAttribute(`val`):void 0;return i==null?n:i===`1`||i===`on`||i===`true`||i!==`0`&&i!==`off`&&i!==`false`&&n}getValAttrAsInteger(e,t){let n=this.evaluate(e,t);return n&&n.hasAttribute(`val`)?parseInt(n.getAttribute(`val`))??null:null}getValAttrAsFloat(e,t){let n=this.evaluate(e,t);return n&&n.hasAttribute(`val`)?parseFloat(n.getAttribute(`val`))??null:null}get BOOLEAN_COPY(){return c}get INT_COPY(){return l}get FLOAT_COPY(){return u}copyFromAttribute(e,t,n,r=t,i=null){if(!e||!n||!e.hasAttribute(t))return;let a=e.getAttribute(t);if(i){if(Array.isArray(i)){let e=i.length;for(let t=0;t<e;t++)if(a==null||(a=i[t](a),a==null))return}else if(a==null||(a=i(a),a==null))return}this.setToPath(n,r,a)}},p=i.r({isBlank:()=>y,isNotBlank:()=>b,length:()=>ee,parseRotation:()=>m,parseValAttrAsBoolean:()=>g,parseValAttrAsFloat:()=>v,parseValAttrAsInteger:()=>_,parseValAttrAsString:()=>h}),m=(t,n)=>{if(!t||!t.hasAttribute(`rot`))return;let r=t.getAttribute(`rot`),i=e.I.roundAccurately(o.r(r),2);i!==-1e3&&(n.rotation=i)},h=(e,t,n,r,i)=>{let a=e.getValAttrAsString(r,t);a!==null&&(n[i]=a)},g=(e,t,n,r,i=r,a=null)=>{let o=e.getValAttrAsBoolean(r,t,a);o!==null&&(n[i]=o)},_=(e,t,n,r,i)=>{let a=e.getValAttrAsInteger(r,t);a!==null&&(n[i]=a)},v=(e,t,n,r,i,a=1)=>{let o=e.getValAttrAsFloat(r,t);o!==null&&(n[i]=o*a)},y=e=>!e||e.trim().length===0,b=e=>!y(e),ee=e=>e?.length??0,x=class{constructor(e){this.jsonKey=e}visit(e,t,n){let r={};return n[this.jsonKey]=r,r}},S=class{visit(e,t,n){}getStroke(e,t){let n=e.evaluate(`ln`,t);return n?this.parseLn(e,n):{}}parseLn(e,t){let n={};t.hasAttribute(`algn`)&&(n.align=t.getAttribute(`algn`)),t.hasAttribute(`cap`)&&(n.lineCap=w(t.getAttribute(`cap`))),t.hasAttribute(`cmpd`)&&(n.compound=t.getAttribute(`cmpd`)),t.hasAttribute(`w`)&&(n.width=o.f(t.getAttribute(`w`)));let r=e.evaluate(`miter`,t);r&&(n.lineJoin=`miter`,r.hasAttribute(`lim`)&&(n.miterLimit=parseFloat(r.getAttribute(`lim`))/1e5)),e.evaluate(`bevel`,t)&&(n.lineJoin=`bevel`),e.evaluate(`round`,t)&&(n.lineJoin=`round`);let i=e.evaluate(`custDash`,t);if(i){let t=e.evaluate(`ds`,i);if(t&&t.length>0){let e=[];for(let n=0;n<t.length;n++){let r=t.item(n);e.push(o.m(r.getAttribute(`d`)??``)),e.push(o.m(r.getAttribute(`sp`)??``))}n.dash=e}}let a=e.evaluate(`prstDash`,t);a&&a.hasAttribute(`val`)&&(n.dash=a.getAttribute(`val`)),this.parseEndElement(e,t,n,`headEnd`,`head`),this.parseEndElement(e,t,n,`tailEnd`,`tail`);let s=this.getFill(e,t);return s&&(n.fill=s),n}parseEndElement(e,t,n,r,i){let a=e.evaluate(r,t);if(a&&(a.hasAttribute(`type`)&&(n[i+`Type`]=a.getAttribute(`type`)),a.hasAttribute(`len`)||a.hasAttribute(`w`))){let e=a.getAttribute(`len`)||`med`,t=a.getAttribute(`w`)||`med`;n[i+`Size`]=e+`-`+t}}getEffects(e,t){let n=e.evaluate(`effectLst`,t);if(!n)return null;let r=[],i=n.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType!==1)continue;let a=this.processEffectElement(e,n,n.localName);if(a===void 0)return;r.push(a)}return r}processEffectElement(e,t,n){switch(n){case`outerShdw`:{let n={type:r.p.Type.OuterShadow,color:this.processAdjColor(e,t)};return t.hasAttribute(`dist`)&&(n.distance=o.f(t.getAttribute(`dist`))),t.hasAttribute(`dir`)&&(n.angle=o.r(t.getAttribute(`dir`))),t.hasAttribute(`blurRad`)&&(n.blur=o.f(t.getAttribute(`blurRad`))),t.hasAttribute(`algn`)&&(n.alignment=t.getAttribute(`algn`)),t.hasAttribute(`rotWithShape`)&&(n.isRotatedWithShape=o.t(t.getAttribute(`rotWithShape`))),t.hasAttribute(`sx`)&&(n.scaleX=o.m(t.getAttribute(`sx`))),t.hasAttribute(`sy`)&&(n.scaleY=o.m(t.getAttribute(`sy`))),t.hasAttribute(`kx`)&&(n.skewX=o.r(t.getAttribute(`kx`))),t.hasAttribute(`ky`)&&(n.skewY=o.r(t.getAttribute(`ky`))),n}case`innerShdw`:{let n={type:r.p.Type.InnerShadow,color:this.processAdjColor(e,t)};return t.hasAttribute(`dist`)&&(n.distance=o.f(t.getAttribute(`dist`))),t.hasAttribute(`dir`)&&(n.angle=o.r(t.getAttribute(`dir`))),t.hasAttribute(`blurRad`)&&(n.blur=o.f(t.getAttribute(`blurRad`))),n}case`prstShdw`:{let n={type:r.p.Type.PresetShadow,color:this.processAdjColor(e,t),preset:t.getAttribute(`prst`)??void 0};return t.hasAttribute(`dist`)&&(n.distance=o.f(t.getAttribute(`dist`))),t.hasAttribute(`dir`)&&(n.angle=o.r(t.getAttribute(`dir`))),n}case`glow`:{let n={type:r.p.Type.Glow,color:this.processAdjColor(e,t)};return t.hasAttribute(`rad`)&&(n.radius=o.f(t.getAttribute(`rad`))),n}case`softEdge`:{let e={type:r.p.Type.SoftEdge};return t.hasAttribute(`rad`)&&(e.radius=o.f(t.getAttribute(`rad`))),e}case`reflection`:{let e={type:r.p.Type.Reflection};return t.hasAttribute(`blurRad`)&&(e.blur=o.f(t.getAttribute(`blurRad`))),t.hasAttribute(`dist`)&&(e.distance=o.f(t.getAttribute(`dist`))),t.hasAttribute(`dir`)&&(e.angle=o.r(t.getAttribute(`dir`))),t.hasAttribute(`fadeDir`)&&(e.fadeAngle=o.r(t.getAttribute(`fadeDir`))),t.hasAttribute(`stA`)&&(e.startAlpha=o.m(t.getAttribute(`stA`))),t.hasAttribute(`stPos`)&&(e.startPosition=o.m(t.getAttribute(`stPos`))),t.hasAttribute(`endA`)&&(e.endAlpha=o.m(t.getAttribute(`endA`))),t.hasAttribute(`endPos`)&&(e.endPosition=o.m(t.getAttribute(`endPos`))),t.hasAttribute(`sx`)&&(e.scaleX=o.m(t.getAttribute(`sx`))),t.hasAttribute(`sy`)&&(e.scaleY=o.m(t.getAttribute(`sy`))),t.hasAttribute(`kx`)&&(e.skewX=o.r(t.getAttribute(`kx`))),t.hasAttribute(`ky`)&&(e.skewY=o.r(t.getAttribute(`ky`))),t.hasAttribute(`algn`)&&(e.alignment=t.getAttribute(`algn`)),t.hasAttribute(`rotWithShape`)&&(e.isRotatedWithShape=o.t(t.getAttribute(`rotWithShape`))),e}default:return}}getFill(e,t){if(e.evaluate(`noFill`,t))return{type:n.b.Type.None};let r=e.evaluate(`solidFill`,t);if(r){let t=this.processAdjColor(e,r);if(t)return{type:n.b.Type.Solid,color:t}}let i=e.evaluate(`gradFill`,t);if(i)return this.processGradFill(e,i);let a=e.evaluate(`pattFill`,t);if(a)return this.processPatternFill(e,a);let o=e.evaluate(`blipFill`,t);return o?this.processImageFill(e,o):null}processGradFill(e,t){let r={type:n.b.Type.Gradient};t.hasAttribute(`rotWithShape`)&&(r.isRotatedWithShape=t.getAttribute(`rotWithShape`)===`1`);let i=e.evaluate(`lin`,t);i&&(r.gradientType=n.b.GradientType.Linear,i.hasAttribute(`ang`)&&(r.angle=o.r(i.getAttribute(`ang`))),i.hasAttribute(`scaled`)&&(r.scaled=o.t(i.getAttribute(`scaled`))));let a={};t.hasAttribute(`flip`)&&(a.mirror=t.getAttribute(`flip`)),Object.keys(a).length>0&&(r.tile=a);let s=e.evaluate(`path`,t);if(s){s.hasAttribute(`path`)&&(r.gradientType=C(s.getAttribute(`path`)));let t=e.evaluate(`fillToRect`,s);t&&(r.focus=this.getRect(t))}let c=e.evaluate(`tileRect`,t);c&&(r.tile||={},r.tile.bounds=this.getRect(c));let l=[],u=e.evaluate(`gsLst/gs`,t),d=u?u.length:0;for(let t=0;t<d;t++){let n=u.item(t),r={offset:o.m(n.getAttribute(`pos`)??``),color:this.processAdjColor(e,n)};l.push(r)}return l.length>0&&(r.stops=l),r}getRect(e){let t={};return e.hasAttribute(`t`)&&(t.t=o.m(e.getAttribute(`t`))),e.hasAttribute(`l`)&&(t.l=o.m(e.getAttribute(`l`))),e.hasAttribute(`b`)&&(t.b=o.m(e.getAttribute(`b`))),e.hasAttribute(`r`)&&(t.r=o.m(e.getAttribute(`r`))),Object.keys(t).length===0?null:t}processImageFill(e,t){let r={type:n.b.Type.Image};return t.hasAttribute(`rotWithShape`)&&(r.isRotatedWithShape=o.t(t.getAttribute(`rotWithShape`))),t.hasAttribute(`dpi`)&&(r.dpi=t.getAttribute(`dpi`)),r.ref=`https://www.sheetxl.com/logo-color-padded-white.jpg`,r.tile=!1,r}processPatternFill(e,t){let r={type:n.b.Type.Pattern};r.patternType=t.getAttribute(`prst`);let i=e.evaluate(`bgClr`,t);if(i){let t=this.processAdjColor(e,i);t&&(r.background=t)}let a=e.evaluate(`fgClr`,t);if(a){let t=this.processAdjColor(e,a);t&&(r.foreground=t)}return r}processAdjColor(e,t){let n=e.evaluate(`hslClr`,t);if(n)return this.processHslClr(e,n);let r=e.evaluate(`prstClr`,t);if(r)return this.processClrWithValAttribute(e,r);let i=e.evaluate(`schemeClr`,t);if(i)return this.processClrWithValAttribute(e,i);let a=e.evaluate(`sysClr`,t);if(a){let t=this.processClrWithValAttribute(e,a),n=a.getAttribute(`lastClr`);return t&&n&&(t+=` lastClr ${n}`),t}let o=e.evaluate(`scrgbClr`,t);if(o)return this.processScrgbClrElement(e,o);let s=e.evaluate(`srgbClr`,t);return s?this.processSrgbClrElement(e,s):null}processScrgbClrElement(e,t){let n=`lrgba(`+o.m(t.getAttribute(`r`)??``)+`,`+o.m(t.getAttribute(`g`)??``)+`,`+o.m(t.getAttribute(`b`)??``)+`)`;return n+=this.processAdjustments(e,t),n}processSrgbClrElement(e,t){let n=t.getAttribute(`val`);return n+=this.processAdjustments(e,t),n}processHslClr(e,t){let n=`hsl(`+o.r(t.getAttribute(`hue`)??``)+`,`+o.m(t.getAttribute(`sat`)??``)+`,`+o.m(t.getAttribute(`lum`)??``)+`)`;return n+=this.processAdjustments(e,t),n}processClrWithValAttribute(e,t){let n=t.getAttribute(`val`);if(!n)return null;let r=n;return r+=this.processAdjustments(e,t),r}processAdjustments(e,t){let n=``,r=t.childNodes,i=r.length;for(let t=0;t<i;t++){let i=r.item(t);if(i.nodeType===1){let t=i.localName;n+=t===`hue`||t===`hueOff`||t===`hueMod`?this.processAdjustmentElement(e,i,t,6e4):t===`gray`||t===`comp`||t===`inv`||t===`gamma`||t===`invGamma`?this.processAdjustmentElement(e,i,t,1):t===`alpha`||t===`alphaOff`||t===`alphaMod`?this.processAdjustmentElement(e,i,t,1e5):this.processAdjustmentElement(e,i,t)}}return n}processAdjustmentElement(e,t,n,r=1e3){let i=t.getAttribute(`val`);return i?` ${n} ${!i||parseFloat(i)/r}`:` ${n}`}},C=e=>e===`circle`?`radial`:e,w=e=>{if(e===`rnd`)return`round`;if(e===`flat`)return`butt`;if(e===`sq`)return`square`;throw Error(`Invalid lineCap type: `+e)},T=class extends S{visit(e,t,n){try{let r=e.evaluate(`xfrm`,t);if(r){m(r,n);let t={x:0,y:0,width:0,height:0},i=e.evaluate(`off`,r);i&&(t.x=o.h(i.getAttribute(`x`))??0,t.y=o.h(i.getAttribute(`y`))??0);let a=e.evaluate(`ext`,r);i&&(t.width=o.h(a.getAttribute(`cx`))??0,t.height=o.h(a.getAttribute(`cy`))??0),n.bounds=t}let i=e.evaluate(`prstGeom`,t);i?.hasAttribute(`prst`)?n.geometry=i?.getAttribute(`prst`):e.evaluate(`customGeom`,t)&&e.warn(`Custom shape geometry is not supported; the shape keeps its bounds only.`,{onceKey:`xlsx.shape.customGeometry`});let a=this.getFill(e,t);a&&Object.keys(a).length>0&&(n.fill=a);let s=this.getStroke(e,t);return s&&Object.keys(s).length>0&&(n.stroke=s),n}catch(t){e.warn(`Unable to read shape properties: ${t?.message??t}`,{onceKey:`xlsx.shape.unreadable`})}}},E=class{visit(e,t,n){let r={};if(h(e,t,r,`grouping`,`grouping`),g(e,t,r,`varyColors`,`varyColors`),v(e,t,r,`gapWidth`,`gapWidth`,.01),v(e,t,r,`overlap`,`overlap`,.01),this.parseType(e,t,r),_(e,t,r,`bubbleScale`,`bubbleScale`),g(e,t,r,`showNegBubbles`,`showNegativeBubbleValues`),g(e,t,r,`sizeRepresents`,`bubbleSizeRepresentsWidth`),_(e,t,r,`firstSliceAng`,`startAngle`),_(e,t,r,`holeSize`,`holeSize`),h(e,t,r,`scatterStyle`,`scatterStyle`),this.parseAxisIds(e,t,r),Object.keys(r).length>0){let t=e.getVisitorParamsState().get(`types`);t||(e.warn(`A chart type was read outside a chart; its types were started fresh.`,{onceKey:`xlsx.chart.typesState`}),t=[],e.getVisitorParamsState().set(`types`,t)),t.push(r)}return r}parseType(e,t,n){switch(t.localName){case`areaChart`:n.type=`area`;break;case`bubbleChart`:n.type=`bubble`;break;case`doughnutChart`:case`ofPieType`:case`pieChart`:n.type=`pie`;break;case`lineChart`:n.type=`line`;break;case`scatterChart`:n.type=`scatter`}}parseAxisIds(e,t,n){let r=e.evaluate(`axId`,t);r&&r.length!==0&&(n.xAxisId=r.item(0).getAttribute(`val`),n.yAxisId=r.item(1).getAttribute(`val`))}},D=(e,t,n)=>{if(!0===e.getValAttrAsBoolean(`invertIfNegative`,t))if(e.evaluate(`extLst/ext/invertSolidFillFmt`,t)){if(n.fill&&n.fillNegative){let t=e.getFromPath(n,`fill.solid.adjs`);t&&e.setToPath(n,`fillNegative.solid.adjs`,t)}}else{let e={val:`FFFFFF`},t={};t.solid=e,n.fillNegative=t;let r={val:`000000`},i={};i.solid=r;let a={};a.fill=i,n.strokeNegative=a}},O=class extends S{constructor(e=`text`){super(),this._jsonKey=e}getTextPath(){return this._jsonKey}visit(e,t,n){let r=e.getFromPath(n,this.getTextPath());return r||={},this.parseTextElement(e,t,r,!1),Object.keys(r).length>0&&e.setToPath(n,this.getTextPath(),r),n}parseTextElement(e,t,n,r){let i=e.evaluate(`p/pPr/defRPr`,t)??e.evaluate(`defRPr`,t),a=i?.length===void 0?i:i.item(0);a&&(this.parseTextProperties(e,a,n),new T().visit(e,a,n));let o=n.runs??[],s=e.evaluate(`p/r`,t)??e.evaluate(`r`,t),c=t=>{let n={},r=e.evaluate(`t`,t),i=e.evaluate(`rPr`,t);i&&this.parseTextProperties(e,i,n),r&&r.firstChild?n.text=r.firstChild.textContent??``:t.textContent&&(n.text=t.textContent??``),Object.keys(n).length>0&&o.push(n)};if(s?.length!==void 0)for(let e=0;s&&e<s.length;e++)c(s.item(e));else c(s||t);o.length>0&&(n.runs=o);let l=e.evaluate(`bodyPr`,t);l&&m(l,n)}parseTextProperties(e,t,r){if(!t)return;t.hasAttribute(`sz`)&&(r.size=parseFloat(t.getAttribute(`sz`))/100),t.hasAttribute(`b`)&&(r.weight=t.getAttribute(`b`)===`1`?700:400),t.hasAttribute(`i`)&&(r.italic=t.getAttribute(`i`)===`1`),t.hasAttribute(`u`)&&(r.underline=t.getAttribute(`u`)),t.hasAttribute(`strike`)&&(r.strike=t.getAttribute(`strike`));let i=this.getFill(e,t);i&&Object.keys(i).length>0&&(r.color=i);let a=e.evaluate(`latin`,t);if(a&&!a.getAttribute(`typeface`).startsWith(`+`)){let e=r.font??{};if(a.hasAttribute(`typeface`)&&(e.family=a.getAttribute(`typeface`)),a.hasAttribute(`panose`)){let t=a.getAttribute(`panose`);t&&(e.fallbacks=[n.p.getPanoseFallback(t)])}a.hasAttribute(`pitchFamily`)&&(e.pitch=a.getAttribute(`pitchFamily`)),a.hasAttribute(`charset`)&&(e.charset=a.getAttribute(`charset`)),Object.keys(e).length>0&&(r.font=e)}}},k=class{visit(e,t,n){}processDataBarColor(e,t,n,r,i=`auto`){if(!t)return;let a=o.l(e=>t.getAttribute(e),i);return a&&(n[r]=a),n}processFonts(e,t,n){if(!t)return;let r=t.childNodes,i=0,a=r.length;for(let t=0;t<a;t++){let a=r.item(t);if(a.nodeType===1&&a.localName===`font`){let t={};this.processFont(e,a,t),n[i++]=t}}return n}processFont(e,t,r){e.getValAttrAsBoolean(`b`,t,!0)&&(r.weight=700),e.getValAttrAsBoolean(`i`,t,!0)&&(r.style=n.p.Style.Italic),e.getValAttrAsBoolean(`strike`,t,!0)&&(r.strike=!0);let i=e.evaluate(`u`,t);i&&(r.underline=i.getAttribute(`val`)||n.p.UnderlineStyle.Single),h(e,t,r,`vertAlign`,`verticalAlign`),r.verticalAlign===`superscript`?r.verticalAlign=n.p.VerticalAlignment.Super:r.verticalAlign===`subscript`&&(r.verticalAlign=n.p.VerticalAlignment.Sub),v(e,t,r,`sz`,`size`);let a=e.evaluate(`color`,t);this.processDataBarColor(e,a,r,`color`),r.color||=`auto`,h(e,t,r,`name`,`family`),h(e,t,r,`rFont`,`family`);let o=e.evaluate(`family`,t);if(o){let e=o.getAttribute(`val`);if(e)switch(e){case`1`:r.fallbacks=[`serif`];break;case`2`:r.fallbacks=[`sans-serif`];break;case`3`:r.fallbacks=[`monospace`];break;case`4`:r.fallbacks=[`cursive`];break;case`5`:r.fallbacks=[`fantasy`]}}return h(e,t,r,`scheme`,`scheme`),r.family!==void 0&&r.scheme===void 0&&(r.scheme=n.p.Scheme.None),g(e,t,r,`shadow`,`shadow`,!0),g(e,t,r,`outline`,`outline`,!0),e.getValAttrAsBoolean(`condense`,t,!0)&&(r.letterSpacing=-1),e.getValAttrAsBoolean(`extend`,t,!0)&&(r.letterSpacing=1),_(e,t,r,`charset`,`charset`),r}processFills(e,t,n){if(!t)return;let r=t.childNodes,i=0,a=r.length;for(let t=0;t<a;t++){let a=r.item(t);a.nodeType===1&&a.localName===`fill`&&this.processFill(e,a,n,i++)}return n}processFill(e,t,r,i){let a={type:n.b.Type.None},o=t.childNodes,s=!1,c=o.length;for(let t=0;!s&&t<c;t++){let n=o.item(t);n.nodeType===1&&(n.localName===`gradientFill`?(this.processGradientFill(e,n,a),s=!0):n.localName===`patternFill`&&(this.processPatternFill(e,n,a),s=!0))}return r[i]=a,r}processGradientFill(e,t,r){if(!t)return;r.type=n.b.Type.Gradient;let i=[];r.stops=i;let a=t.getAttribute(`type`);a&&(r.gradientType=a);let o=t.hasAttribute(`degree`)?parseFloat(t.getAttribute(`degree`)):0;(o+90)%360!=0&&(r.angle=(o+90)%360),(t.hasAttribute(`left`)||t.hasAttribute(`top`)||t.hasAttribute(`right`)||t.hasAttribute(`bottom`))&&(r.focus={left:A(t.getAttribute(`left`)),top:A(t.getAttribute(`top`)),right:A(t.getAttribute(`right`)),bottom:A(t.getAttribute(`bottom`))});let s=t.childNodes,c=s.length;for(let t=0;t<c;t++){let n=s.item(t);if(n.nodeType===1&&n.localName===`stop`){let t={};i.push(t),t.offset=parseFloat(n.getAttribute(`position`)??``);let r=e.evaluate(`color`,n);this.processDataBarColor(e,r,t,`color`)}}return r}processPatternFill(e,t,r){if(!t)return;let i=e.getVisitorParamsState().get(`processingDXFs`),a=t.getAttribute(`patternType`)||(i?n.b.BuiltInSheetPattern.Solid:n.b.BuiltInSheetPattern.None);if(a===n.b.BuiltInSheetPattern.None)return{none:!0};r.type=n.b.Type.Pattern,a&&(r.patternType=a);let o=`foreground`,s=`background`,c=r.patternType===n.b.BuiltInSheetPattern.Solid&&i,l=c?`dk1`:`lt1`,u=c?`lt1`:`dk1`;if(c){let e=o;o=s,s=e}let d=e.evaluate(`fgColor`,t);this.processDataBarColor(e,d,r,o,l);let f=e.evaluate(`bgColor`,t);return this.processDataBarColor(e,f,r,s,u),c&&(r.foreground||=`lt1`,r.background||=`dk1`),r}processBorders(e,t,n,r){if(!t)return;let i=t.childNodes,a=0,o=i.length;for(let t=0;t<o;t++){let o=i.item(t);o.nodeType===1&&o.localName===`border`&&this.processBorder(e,o,n,a++,r)}return n}processBorder(e,t,r,i,a){if(!t)return;let o={};return this.processBorderStroke(e,t,o,n.V.Edge.Left),this.processBorderStroke(e,t,o,n.V.Edge.Right),a?(o.right||o.left)&&(o.right?o.vertical={...o.right}:o.vertical={...o.left}):this.processBorderStroke(e,t,o,n.V.Edge.Vertical),this.processBorderStroke(e,t,o,n.V.Edge.Top),this.processBorderStroke(e,t,o,n.V.Edge.Bottom),a?(o.bottom||o.top)&&(o.bottom?o.horizontal={...o.bottom}:o.horizontal={...o.top}):this.processBorderStroke(e,t,o,n.V.Edge.Horizontal),r[i]=o,r}processBorderStroke(e,t,r,i){if(!t)return;let a=e.evaluate(i,t);if(!a)return;let o={};a.hasAttribute(`style`)?o.style=a.getAttribute(`style`):e.getVisitorParamsState().get(`processingDXFs`)&&(o.style=n.V.StrokeStyle.None);let s=e.evaluate(`color`,a);return s&&this.processDataBarColor(e,s,o,`color`),Object.keys(o).length>0?r[i]=o:null}},A=e=>{if(!e)return 0;let t=parseFloat(e);return isNaN(t)?0:t},j={auto:`auto`,autoNoTable:`automaticExceptTables`,manual:`manual`},M=class{visit(e,t,n){if(!t)return;let r=e.evaluate(`*/cNvPr`,t);return r.item&&(r=r.item(0)),r&&(e.copyFromAttribute(r,`name`,n),e.copyFromAttribute(r,`descr`,n,`description`),e.copyFromAttribute(r,`hidden`,n,`hidden`,e.BOOLEAN_COPY),e.copyFromAttribute(r,`id`,n)),n}},N=class extends M{visit(e,t,n){if(!t)return;if(e.getPath().includes(`Fallback`)&&n.content){let r=n.content.json;return n.content.type===`sp`&&r?.xml&&r.fallbackXml===void 0&&(r.fallbackXml=e.serializeElement(t)??void 0),n}n=super.visit(e,t,n);let r=e.evaluate(`nvSpPr/cNvSpPr`,t);if(r){let t=e.evaluate(`spLocks`,r);if(t){t.hasAttribute(`noChangeAspect`)&&(n.lockAspect=t.getAttribute(`noChangeAspect`)===`1`);let e={};Object.keys(e).length>0&&(n.locks=e)}}let i=e.evaluate(`*/cNvPr`,t);i?.item&&(i=i.item(0));let a=i?.getAttribute?.(`id`),o=a?parseInt(a,10):void 0,s={type:`sp`,xml:e.serializeElement(t)??void 0,sourceId:o===void 0||isNaN(o)?void 0:o};return n.content={type:`sp`,json:s},s}},P=`richTypes`,F=`richData`;function te(e,t){let n=e.childNodes;for(let e=0;e<n.length;e++){let r=n.item(e);if(r.nodeType===1)switch(r.localName){case`b`:t.bold=r.getAttribute(`val`)!==`0`&&r.getAttribute(`val`)!==`false`;break;case`i`:t.italic=r.getAttribute(`val`)!==`0`&&r.getAttribute(`val`)!==`false`;break;case`sz`:{let e=parseFloat(r.getAttribute(`val`)??``);isNaN(e)||(t.size=e);break}case`rFont`:{let e=r.getAttribute(`val`);e&&(t.font=e);break}case`color`:{let e=r.getAttribute(`rgb`);e&&(t.color=`#`+(e.length===8?e.substring(2):e));break}}}}var ne=class{visit(e,t,n){if(!t)return;let r=t.childNodes,i=r.length;for(let t=0;t<i;t++){let i=r.item(t);i.nodeType===1&&i.localName===`Relationship`&&this.processRelationship(e,i,n)}return n}processRelationship(e,t,n){let r={};e.copyFromAttribute(t,`Target`,r,`target`),e.copyFromAttribute(t,`Type`,r,`type`),e.copyFromAttribute(t,`TargetMode`,r,`targetMode`),n[t.getAttribute(`Id`)]=r}},re=class{visit(e,t,n){let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType!==1)continue;let a=this.processProperty(e,n);a&&r.push(a)}return r.length>0&&(n.properties=r),r}processProperty(e,t){if(t)return t.getAttribute(`xsi:type`),{key:t.localName,value:t.textContent||``}}},ie=class{visit(e,t,n){let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType!==1)continue;let a=this.processProperty(e,n);a&&r.push(a)}return r.length>0&&(n.properties=r),r}processProperty(e,t){if(t)return{key:t.localName,value:t.textContent||``}}},I=class{visit(e,t,n){return g(e,t,n,`roundedCorners`,`roundedCorners`),_(e,t,n,`.//AlternateContent/Fallback/style`,`styleId`),e.getVisitorParamsState().set(`types`,[]),e.getVisitorParamsState().set(`axes`,new Map),n.range=null,n}afterVisit(e,t,n){let r={};n.types=r;let i={},a=0,o={},s=0,c=e.getVisitorParamsState().get(`axes`),l=e.getVisitorParamsState().get(`types`),u=l.length;for(let e=0;e<u;e++){let t=l[e];if(t.xAxisId){let r=t.xAxisId,o=c.get(r);i[e+``]=o,t.offsetXAxis=e,delete t.xAxisId,n.xAxes=i,i.length=++a}if(t.yAxisId){let r=t.yAxisId,i=c.get(r);o[e+``]=i,t.offsetYAxis=e,delete t.yAxisId,n.yAxes=o,o.length=++s}r[e+``]=t}r.length=l.length;let d=e.getVisitorParamsState().get(`series`);if(!d||d.length===0)return;let f={};n.series=f;let p=d.length;for(let e=0;e<p;e++)f[e+``]=d[e];f.length=p,e.getVisitorParamsState().delete(`types`),e.getVisitorParamsState().delete(`axes`),e.getVisitorParamsState().delete(`series`)}},L=class{visit(e,t,n){let r={};return n.plotArea=r,r}},R=T,z=class extends E{parseType(e,t,n){let r=e.getValAttrAsString(`barDir`,t);r&&(n.type=r===`col`?`column`:`bar`)}},B=E,V=class{constructor(e){this.jsonKey=e}visit(e,t,n){let r={},i=r,a=e.getValAttrAsString(`idx`,t);a!==null&&(i={},i[a]=r);let o=e.getValAttrAsBoolean(`delete`,t);this.parseNumFormat(e,t,r),!0===o?(r.showBubbleSize=!1,r.showCatName=!1,r.showLeaderLines=!1,r.showPercentage=!1,r.showSerName=!1,r.showVal=!1,r.showLegendKey=!1):(g(e,t,r,`showBubbleSize`,`showBubbleSize`),g(e,t,r,`showCatName`,`showCatName`),g(e,t,r,`showLeaderLines`,`showLeaderLines`),g(e,t,r,`showPercent`,`showPercentage`),g(e,t,r,`showSerName`,`showSerName`),g(e,t,r,`showVal`,`showVal`),g(e,t,r,`showLegendKey`,`showLegendKey`));let s=e.evaluate(`separator`,t);return s!==null&&(r.separator=s.textContent),h(e,t,r,`dLblPos`,`position`),n[this.jsonKey]=i,r}parseNumFormat(e,t,n){let r=e.evaluate(`numFmt`,t);r&&(n.formatCode=r.getAttribute(`formatCode`),r.hasAttribute(`sourceLinked`)&&(n.sourceLinked=r.getAttribute(`sourceLinked`)===`1`))}},H=class{visit(e,t,n){let r={};_(e,t,r,`explosion`,`explosion`);let i=e.evaluate(`cat/*/f`,t);i||=e.evaluate(`xVal/*/f`,t);let a=null;i!==null&&i.firstChild!==null&&(a=i.firstChild.nodeValue),i||(i=e.evaluate(`cat/strLit`,t),i||=e.evaluate(`cat/numLit`,t),i&&(a=this.parsePointsAsString(e,i))),a!==null&&(r.xRange=a);let o=e.evaluate(`val/*/f`,t);o||=e.evaluate(`yVal/*/f`,t);let s=null;o&&o.firstChild&&(s=o.firstChild.nodeValue),o||(o=e.evaluate(`val/numLit`,t),o!==null&&(s=this.parsePointsAsString(e,o))),s!==null&&(r.valRange=s),this.parseTitleRangeOrValue(e,t,r),_(e,t,r,`idx`,`idx`),g(e,t,r,`smooth`,`smooth`),r.offsetChart=e.getVisitorParamsState().get(`types`).length-1;let c=e.getVisitorParamsState().get(`series`);return c||(c=[],e.getVisitorParamsState().set(`series`,c)),c.push(r),r}parseTitleRangeOrValue(e,t,n){let r=e.evaluate(`tx/strRef/f`,t);if(r!==null){let t=r.firstChild.nodeValue;e.setToPath(n,`title.range`,t)}else{let r=e.evaluate(`tx/v`,t);r!==null&&e.setToPath(n,`title.text.simpleRun`,r.firstChild.nodeValue)}}parsePointsAsString(e,t){let n=`{`,r=e.getValAttrAsInteger(`ptCount`,t),i=e.evaluate(`pt`,t),a=[];for(let n=0;i&&r&&n<r;n++){let r=null,i=e.evaluate(`pt[@idx='`+n+`']/v`,t);i&&(r=i.textContent),a[n]=r}for(let e=0;e<a.length;e++)e>0&&(n+=`,`),a[e]!==void 0&&(n+=a[e]);return n+=`}`,n}afterVisit(e,t,n){D(e,t,n);let r=e.getFromPath(n,`points`);if(r){let t=Object.keys(r);for(let i=0;i<t.length;i++){let a=t[i],o=e.getFromPath(r,a);if(!o)continue;let s=e.getFromPath(o,`markers`);s&&(e.setToPath(n,`markers.points.`+a,s),delete o.markers)}}}},U=class{DataPointVisitor(){}visit(e,t,n){let r=e.getFromPath(n,`points`),i=null;r?i=r:(i={},e.setToPath(n,`points`,i));let a={},o=e.getValAttrAsString(`idx`,t);return o!==null&&(i[o]=a),g(e,t,a,`bubble3D`,`bubble3D`),_(e,t,a,`explosion`,`explosion`),D(e,t,a),a}},W=class{visit(e,t,n){let r=t.parentNode.localName;if(r===`ser`||r===`dPt`){let r={},i=e.getValAttrAsString(`size`,t);i!==null&&(r.size=i);let a=e.getValAttrAsString(`symbol`,t);return a&&(r.type=a),n.markers=r,r}return null}},G=class{visit(e,t,n){let r={};this.parseScaling(e,t,r),v(e,t,r,`majorUnit`,`majorUnits`),v(e,t,r,`minorUnit`,`minorUnits`),g(e,t,r,`delete`,`shown`),this.parseOrientation(e,t,r),this.parseNumFormat(e,t,r),h(e,t,r,`majorTickMark`,`majorTickMarks`),h(e,t,r,`minorTickMark`,`minorTickMarks`),h(e,t,r,`crosses`,`crosses`),v(e,t,r,`crossesAt`,`crosses`),h(e,t,r,`crossBetween`,`crossBetween`),this.parseLabelAlign(e,t,r),_(e,t,r,`lblOffset`,`labelOffset`),h(e,t,r,`tickLblPos`,`labelPosition`);let i=e.getValAttrAsInteger(`noMultiLvlLbl`,t);r.labelMultiLevel=i!==null&&i===0,_(e,t,r,`tickMarkSkip`,`tickMarkSkip`),_(e,t,r,`tickLblSkip`,`labelInterval`),this.parseDisplayCustOrBuiltInUnit(t,e,r),this.parseTimeUnits(e,t,r,`majorUnitDates`,`majorTimeUnit`,`majorUnit`),this.parseTimeUnits(e,t,r,`minorUnitDates`,`minorTimeUnit`,`minorUnit`),h(e,t,r,`baseTimeUnit`,`baseUnitDates`),e.getVisitorParamsState().get(`axes`)||(e.warn(`An axis was read outside a chart; its axes were started fresh.`,{onceKey:`xlsx.chart.axesState`}),e.getVisitorParamsState().set(`axes`,new Map));let a=e.getValAttrAsString(`axId`,t);return e.getVisitorParamsState().get(`axes`).set(a,r),r}parseTimeUnits(e,t,n,r,i,a){let o={},s=e.getValAttrAsString(i,t);s!==null&&(o.dem=s,o.amt=e.getValAttrAsString(a,t)),Object.keys(o).length>0&&(n[r]=o)}parseDisplayCustOrBuiltInUnit(e,t,n){let r=t.getValAttrAsString(`dispUnits/builtInUnit`,e);r||=t.getValAttrAsString(`dispUnits/custUnit`,e),r&&(n.displayUnits=r)}parseLabelAlign(e,t,n){let r=e.getValAttrAsString(`lblAlgn`,t);r!==null&&(r===`ctr`?n.labelAlign=`center`:r===`l`?n.labelAlign=`left`:r===`r`&&(n.labelAlign=`right`))}parseOrientation(e,t,n){let r=e.getValAttrAsString(`AxPos`,t);r!==null&&(r===`b`?n.orientation=`bottom`:r===`l`?n.orientation=`left`:r===`r`?n.orientation=`right`:r===`t`&&(n.orientation=`top`))}parseNumFormat(e,t,n){let r={},i=e.evaluate(`numFmt`,t);i!==null&&(i.hasAttribute(`formatCode`)&&(r.formatCode=i.getAttribute(`formatCode`)),i.hasAttribute(`sourceLinked`)&&(r.sourceLinked=i.getAttribute(`sourceLinked`)===`1`)),Object.keys(r).length>0&&(n.labels=r)}parseScaling(e,t,n){let r=e.getValAttrAsString(`scaling/orientation`,t);r!==null&&(n.inverted=r!==`minMax`);let i=e.getValAttrAsFloat(`scaling/logBase`,t);i!==null&&(n.logBase=i,n.scaleType=`log`),v(e,t,n,`scaling/max`,`max`),v(e,t,n,`scaling/min`,`min`)}afterVisit(e,t,n){n.fill&&n.labels&&(n.labels.fill=n.fill,delete n.fill);let r=e.getValAttrAsBoolean(`delete`,t);r!==null&&(e.setToPath(n,`labels.shown`,!0!==r),e.setToPath(n,`shown`,!0!==r));let i=e.getFromPath(n,`dispUnits.displayUnitsLabel`);i&&(e.setToPath(n,`displayUnitsLabel`,i),delete n.dispUnits);let a=e.evaluate(`title`,t);e.setToPath(n,`title.shown`,a!==null);let o=e.evaluate(`minorGridlines`,t);e.setToPath(n,`gridLinesMinor.shown`,o!==null);let s=e.evaluate(`majorGridlines`,t);e.setToPath(n,`gridLinesMajor.shown`,s!==null)}},K=O,q=class{visit(e,t,n){let r=e.getVisitorParamsState().get(`series`),i=e.getValAttrAsInteger(`idx`,t),a=i===null?void 0:r[i];if(a){let n=e.getFromPath(a,`title`);n||(n={},e.setToPath(a,`title`,n));let r=n,i=e.getValAttrAsBoolean(`delete`,t);return i!==null&&(r.shown=!i),r}return n}},J=class{visit(e,t,n){let r={};return g(e,t,r,`overlay`,`overlay`),h(e,t,r,`legendPos`,`position`),n.legend=r,r}},Y=class extends T{visit(e,t,n){let r=this.getFill(e,t);Object.keys(r).length>0&&(n.fillNegative=r);let i=this.getStroke(e,t);return Object.keys(i).length>0&&(n.strokeNegative=i),n}},X=class extends O{constructor(e=`title`){super(e)}parseTitleRangeOrValue(e,t,n){let r=e.evaluate(`tx/strRef/f`,t)??null;if(r){let t=r.firstElementChild.nodeValue;e.setToPath(n,`range`,t)}}visit(e,t,n){let r={};g(e,t,r,`overlay`,`overlay`),n[this._jsonKey]=r;let i=e.getFromPath(r,this.getTextPath());i||={},this.parseTitleRangeOrValue(e,t,r);let a=e.evaluate(`txPr`,t);a&&this.parseTextElement(e,a,i,!1);let o=e.evaluate(`tx/rich`,t);return o&&this.parseTextElement(e,o,i,!0),Object.keys(i).length>0&&e.setToPath(r,`text`,i),r}afterVisit(e,t,n){if(n?.text){let e=n.text?.rotation??null;e!==null&&(n.rotation=parseInt(e),delete n.title.rotation)}}},ae=class{visit(e,t,n){let r=e.evaluate(`manualLayout`,t);if(r){let t={};v(e,r,t,`x`,`x`),v(e,r,t,`y`,`y`),v(e,r,t,`w`,`w`),v(e,r,t,`h`,`h`),h(e,r,t,`xMode`,`xMode`),h(e,r,t,`yMode`,`yMode`),h(e,r,t,`wMode`,`wMode`),h(e,r,t,`hMode`,`hMode`),Object.keys(t).length>0&&(n.manualLayout=t)}return n}},oe=class{visit(e,t,n){return n.name=t.getAttribute(`name`),n}},se=class extends S{visit(e,t,n){let r={};r.name=t.getAttribute(`name`);let i=t.childNodes,a=i.length;for(let n=0;n<a;n++){let a=i.item(n);if(a.nodeType===1){let n=a.localName,i=e.evaluate(n,t);r[n]=this.processAdjColor(e,i)}}return Object.keys(r).length>0&&(n.colors=r),r}},ce=class{visit(e,t,n){let r={};r.name=t.getAttribute(`name`);let i=e.evaluate(`majorFont`,t),a=this.processFontElement(e,i,{});a&&(r.majorFont=a.family,a.fallbacks&&(r.majorFallbacks=a.fallbacks));let o=e.evaluate(`minorFont`,t),s=this.processFontElement(e,o,{});return s&&(r.minorFont=s.family,s.fallbacks&&(r.minorFallbacks=s.fallbacks)),n.fonts=r,r}processFontElement(e,t,r){if(!t)return;let i=e.evaluate(`latin`,t);if(!i)return;let a=i.getAttribute(`typeface`);a&&(r.family=a);let o=i.getAttribute(`panose`);return o&&(r.fallbacks=[n.p.getPanoseFallback(o)]),r}},le=class extends S{visit(e,t,n){let r=this.parseFillList(e,t,`fillStyleLst`),i=this.parseLnList(e,t,`lnStyleLst`),a=this.parseEffectStyleList(e,t,`effectStyleLst`),o=this.parseFillList(e,t,`bgFillStyleLst`);if(r&&i&&a&&o)return n.fillStyleLst=r,n.lnStyleLst=i,n.effectStyleLst=a,void(n.bgFillStyleLst=o);let s=e.serializeElement(t);s&&(n.formatSchemeXml=s)}parseFillList(e,t,n){let r=e.evaluate(n,t);if(!r)return;let i=[],a=r.childNodes,o=a.length;for(let t=0;t<o;t++){let n=a.item(t);if(n.nodeType!==1)continue;let r=this.parseFillListItem(e,n);if(r===void 0)return;i.push(r)}return i}parseFillListItem(e,t){switch(t.localName){case`noFill`:return{type:n.b.Type.None};case`solidFill`:{let r=this.processAdjColor(e,t);return r?{type:n.b.Type.Solid,color:r}:void 0}case`gradFill`:return this.processGradFill(e,t);case`pattFill`:return this.processPatternFill(e,t);default:return}}parseLnList(e,t,n){let r=e.evaluate(n,t);if(!r)return;let i=[],a=r.childNodes,o=a.length;for(let t=0;t<o;t++){let n=a.item(t);if(n.nodeType===1){if(e.evaluate(`headEnd`,n)||e.evaluate(`tailEnd`,n))return;i.push(this.parseLn(e,n))}}return i}parseEffectStyleList(e,t,n){let r=e.evaluate(n,t);if(!r)return;let i=[],a=r.childNodes,o=a.length;for(let t=0;t<o;t++){let n=a.item(t);if(n.nodeType!==1)continue;if(e.evaluate(`scene3d`,n)||e.evaluate(`sp3d`,n))return;let r=this.getEffects(e,n);if(r===void 0)return;i.push(r??[])}return i}},ue=class{visit(e,t,n){if(!t)return;let r={},i=t.getAttribute(`r:id`);if(i){let t=e.getRef(i);typeof t==`string`&&(r.address=t)}return e.copyFromAttribute(t,`tooltip`,r,`screenTip`),e.copyFromAttribute(t,`history`,r,`history`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`tgtFrame`,r,`target`),n.hyperlink=r,r}},de=class{visit(e,t,n){if(!t)return;let r={},i=[];return this.processFilterColumns(e,t,i,n),i.length>0&&(r.conditions=i),Object.keys(r).length>0&&(n.filter=r),r}processColorFilter(e,t){let r={},i={operator:n.rt.BuiltInOperatorNames.Color,param:r};return e.copyFromAttribute(t,`cellColor`,r,`cellColor`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`dxfId`,r,`styleId`,e.INT_COPY),i}processCustomFilter(e,t){return a.st({operator:t.getAttribute(`operator`),val:t.getAttribute(`val`)})}processCustomFilters(e,t){let r=t.getAttribute(`and`),i=r===`and`||r===`1`;t.getAttribute(`val`);let a=[],o={operator:i?n.rt.BuiltInOperatorNames.And:n.rt.BuiltInOperatorNames.Or,param:a},s=t.childNodes,c=s.length;for(let t=0;t<c;t++){let n=s.item(t);if(n.nodeType!==1)continue;let r=null;n.localName===`customFilter`&&(r=this.processCustomFilter(e,n)),r&&a.push(r)}return a.length===1?a[0]:o}processDynamicFilter(e,t){let r={},i={operator:n.rt.BuiltInOperatorNames.TimePeriod,param:r},a=t.getAttribute(`type`);return a===`aboveAverage`?a=n.rt.AverageType.Above:a===`belowAverage`&&(a=n.rt.AverageType.Below),Object.values(n.rt.AverageType).includes(a)?(i.operator=n.rt.BuiltInOperatorNames.Average,e.copyFromAttribute(t,`val`,r,`stdDevs`,e.INT_COPY)):e.copyFromAttribute(t,`val`,r,`anchorDate`,e.INT_COPY),e.copyFromAttribute(t,`type`,r,`operator`),e.copyFromAttribute(t,`maxVal`,r,`maxVal`,e.INT_COPY),i}processDateGroupItem(e,t){let n={};return e.copyFromAttribute(t,`dateTimeGrouping`,n,`group`),e.copyFromAttribute(t,`day`,n,`day`,e.INT_COPY),e.copyFromAttribute(t,`hour`,n,`hour`,e.INT_COPY),e.copyFromAttribute(t,`minute`,n,`minute`,e.INT_COPY),e.copyFromAttribute(t,`month`,n,`month`,e.INT_COPY),e.copyFromAttribute(t,`second`,n,`second`,e.INT_COPY),e.copyFromAttribute(t,`year`,n,`year`,e.INT_COPY),n}processFilterItem(e,t){if(t.hasAttribute(`val`))return t.getAttribute(`val`)}processFilters(e,t){let r={},i={operator:n.rt.BuiltInOperatorNames.InSet,param:r};e.copyFromAttribute(t,`blank`,i,`blank`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`calendarType`,i,`calendarType`);let a=[],o=[],s=t.childNodes,c=s.length;for(let t=0;t<c;t++){let n=s.item(t);if(n.nodeType===1){if(n.localName===`dateGroupItem`){let t=this.processDateGroupItem(e,n);t&&a.push(t)}else if(n.localName===`filter`){let t=this.processFilterItem(e,n);t!==void 0&&o.push(t)}}}return a.length>0&&(r.dateGroups=a),o.length>0&&(r.items=o),i}processIcon(e,t){let r={},i={operator:n.rt.BuiltInOperatorNames.Icon,param:r};return e.copyFromAttribute(t,`iconId`,r,`iconId`,e.INT_COPY),e.copyFromAttribute(t,`iconSet`,r),i}processTop10(e,t){let r={},i={operator:n.rt.BuiltInOperatorNames.TopN,param:r};return e.copyFromAttribute(t,`filterVal`,r,`filterVal`,e.FLOAT_COPY),e.copyFromAttribute(t,`percent`,r,`percent`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`top`,r,`top`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`val`,r,`val`,e.FLOAT_COPY),i}processFilterCriteria(e,t){if(!t)return;let n,r=t.childNodes,i=r.length;for(let t=0;t<i;t++){let i=r.item(t);i.nodeType===1&&(i.localName===`colorFilter`?n=this.processColorFilter(e,i):i.localName===`customFilters`?n=this.processCustomFilters(e,i):i.localName===`dynamicFilter`?n=this.processDynamicFilter(e,i):i.localName===`filters`?n=this.processFilters(e,i):i.localName===`iconFilter`?n=this.processIcon(e,i):i.localName===`top10`&&(n=this.processTop10(e,i)))}return n}processFilterColumn(e,t,n){if(!t)return null;if(!t.hasAttribute(`colId`))return;let r=parseInt(t.getAttribute(`colId`)),i=!1;if(t.hasAttribute(`hiddenButton`)&&(i=o.t(t.getAttribute(`hiddenButton`))),i&&n){let e=n.hiddenButtons;e||(e=[],n.hiddenButtons=e),e.push(r)}let a=!1;if(t.hasAttribute(`showButton`)&&(a=o.t(t.getAttribute(`showButton`))),a&&n){let e=n.showButtons;!0!==e&&(e||(e=[],n.showButtons=e),e[r]=!0)}let s=this.processFilterCriteria(e,t);return s?(s.index=r,s):null}processFilterColumns(e,t,n,r){if(!t)return;let i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let a=i.item(t);if(a.nodeType===1&&a.localName===`filterColumn`){let t=this.processFilterColumn(e,a,r);t&&n.push(t)}}return n}},fe=class{visit(e,r,i){if(!r)return;let a=r.getAttribute(`ref`),s={};r.hasAttribute(`caseSensitive`)&&(s.collatorOptions=o.t(r.getAttribute(`caseSensitive`))?n.Ht.CaseSensitiveOptions:n.Ht.CaseInsensitiveOptions);let c=r.getAttribute(`sortMethod`);c!=null&&c!==`none`&&(c===`stroke`?s.collatorOptions={...s.collatorOptions,collation:`stroke`}:c===`pinYin`&&(s.collatorOptions={...s.collatorOptions,collation:`pinyin`}));let l={};r.hasAttribute(`columnSort`)&&o.t(r.getAttribute(`columnSort`))&&(l.axis=t.l.Axis.Column);let u=n.Qt.fastStringToRange(a),d=[];return this.processSortConditions(e,r,d,u,s),d.length>0&&(l.sorts=d),Object.keys(d).length>0&&(i.sort=l),l}processSortCondition(e,t,r,i){if(!t)return null;let a={};if(!t.hasAttribute(`ref`))return void e.warn(`A sort condition has no ref; it was dropped.`,{onceKey:`xlsx.sheet.sort.noRef`});if(t.hasAttribute(`ref`)){let e=t.getAttribute(`ref`),i=n.Qt.fastStringToRange(e);a.index=r?i.colStart-r.colStart:i.colStart}let s={...i};return a.criteria=s,s.reverse=!1,t.hasAttribute(`descending`)&&(s.reverse=o.t(t.getAttribute(`descending`))),e.copyFromAttribute(t,`sortBy`,s,`sortOn`),e.copyFromAttribute(t,`dxfId`,s),e.copyFromAttribute(t,`iconSet`,s),e.copyFromAttribute(t,`customList`,s),a}processSortConditions(e,t,n,r,i){if(!t)return;let a=t.childNodes,o=a.length;for(let t=0;t<o;t++){let o=a.item(t);if(o.nodeType===1&&o.localName===`sortCondition`){let t=this.processSortCondition(e,o,r,i);t&&n.push(t)}}}},Z=class extends k{visit(e,t,r){this.processNumFmts(e,e.evaluate(`numFmts`,t),null),e.getVisitorParamsState().set(`colorsToProcess`,new Set);let i={fills:{},fonts:{},borders:{}};this.processFonts(e,e.evaluate(`fonts`,t),i.fonts),this.processFills(e,e.evaluate(`fills`,t),i.fills),this.processBorders(e,e.evaluate(`borders`,t),i.borders,!0),i.fills[0]={type:n.b.Type.None},i.fills[1]={type:n.b.Type.Pattern,patternType:n.b.BuiltInSheetPattern.Gray125},i.borders[0]={bottom:{style:n.V.StrokeStyle.None},left:{style:n.V.StrokeStyle.None},right:{style:n.V.StrokeStyle.None},top:{style:n.V.StrokeStyle.None}};let a=[];this.processXFs(e,e.evaluate(`cellStyleXfs`,t),a,i,null,!1);let o=new Map;if(a.length>0){let n=[];this.processCellStyles(e,e.evaluate(`cellStyles`,t),n,a,o),r.named=n}let s=[];this.processXFs(e,e.evaluate(`cellXfs`,t),s,i,o),Object.keys(s).length>0&&(r.direct=s);let c=this.collectHiddenXfs(e.evaluate(`cellXfs`,t));c.size>0&&e.getVisitorParamsState().set(`hiddenXfs`,c);let l=[];return this.processDXFs(e,e.evaluate(`dxfs`,t),l),this.processTableStyles(e,e.evaluate(`tableStyles`,t),r,l),this.processIndexColors(e,e.evaluate(`colors/indexedColors`,t),r),this.processMruColors(e,e.evaluate(`colors/mruColors`,t),r),r}processIndexColors(e,t,n){if(!t)return;let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType===1&&n.localName===`rgbColor`){let t={color:null};this.processDataBarColor(e,n,t,`color`),t.color&&r.push(t.color)}}n.indexedColors=r}processMruColors(e,t,n){if(!t)return;let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType===1&&n.localName===`color`){let t={color:null};this.processDataBarColor(e,n,t,`color`),t.color&&r.push(t.color)}}r.length>0&&(n.mruColors=r)}processNumFmts(e,t,n){if(!t)return;let r=new Map;if(e.getVisitorParamsState().set(`numFmts`,r),!t)return;let i=t.childNodes,a=i.length;for(let e=0;e<a;e++){let t=i.item(e);if(t.nodeType===1&&t.localName===`numFmt`){let e=t.getAttribute(`numFmtId`),n=t.getAttribute(`formatCode`);if(e&&n){let t=n;r.set(parseInt(e),t)}}}}processXFs(e,t,n,r,i=null,a=!0){if(!t)return;let o=t.childNodes,s=o.length;for(let t=0;t<s;t++){let s=o.item(t);if(s.nodeType===1&&s.localName===`xf`){let t={};this.processXF(e,s,t,r,i,a),n.push(t)}}}processXF(e,t,r,i,a,s){if(!t)return;let c=t.getAttribute(`xfId`);if(c&&a){let e=a.get(parseInt(c));e&&e!==n.$.BuiltInName.Normal&&(r.named=e)}let l=e=>!(!s&&t.hasAttribute(e))||o.t(t.getAttribute(e)),u=e=>!s||t.hasAttribute(e)&&o.t(t.getAttribute(e)),d=s?`0`:void 0;if(l(`applyFont`)){let e=t.getAttribute(`fontId`)??d;if(e!==void 0&&(e!==`0`||u(`applyFont`))){let t=i.fonts[e];t!==void 0&&(r.font=t)}}if(l(`applyFill`)){let e=t.getAttribute(`fillId`)??d;if(e!==void 0&&(e!==`0`||u(`applyFill`))){let t=i.fills[e];t!==void 0&&Object.keys(t).length>0&&(r.fill=t)}}if(l(`applyBorder`)){let e=t.getAttribute(`borderId`)??d;if(e!==void 0&&(e!==`0`||u(`applyBorder`))){let t=i.borders[e];t!==void 0&&(r.borders=t)}}if(l(`applyNumberFormat`)){let n=t.getAttribute(`numFmtId`)??d;if(n!==void 0&&(n!==`0`||u(`applyNumberFormat`))){let t,i=parseInt(n),a=e.getVisitorParamsState();if(a){let e=a.get(`numFmts`);e&&(t=e.get(i)),r.numberFormat=t??i}else e.warn(`Number formats were unavailable; a cell format was not read.`,{onceKey:`xlsx.style.numberFormat.state`})}}if(l(`applyAlignment`)){let n=e.evaluate(`alignment`,t);(n||u(`applyAlignment`))&&this.processAlignment(e,n,r)}if(l(`applyProtection`)){let n=e.evaluate(`protection`,t);(n||u(`applyProtection`))&&this.processProtection(e,n,r)}let f=o.t(t.getAttribute(`quotePrefix`)??``);f&&(r.quotePrefix=f)}processAlignment(e,t,r){let i={};if(t?.hasAttribute(`horizontal`)?i.horizontal=t.getAttribute(`horizontal`):i.horizontal=n.G.HorizontalAlignment.General,t?.hasAttribute(`vertical`)?i.vertical=t.getAttribute(`vertical`):i.vertical=n.G.VerticalAlignment.Bottom,t?.hasAttribute(`indent`)?i.indent=parseInt(t.getAttribute(`indent`)):i.indent=0,t?.hasAttribute(`relativeIndent`)?i.relativeIndent=parseInt(t.getAttribute(`relativeIndent`)):i.relativeIndent=0,o.t(t?.getAttribute(`wrapText`)??``)?i.overflow=n.G.Overflow.Wrap:i.overflow=n.G.Overflow.Visible,o.t(t?.getAttribute(`shrinkToFit`)??``)&&(i.overflow=n.G.Overflow.Shrink),t?.hasAttribute(`textRotation`)){let e=parseFloat(t.getAttribute(`textRotation`));e>0&&e<=90?e=360-e:e>90&&e<=180?e-=90:e===255&&(e=0,i.stacked=!0),i.rotation=e}else i.rotation=0;t?.hasAttribute(`justifyLastLine`)&&(i.justifyLastLine=o.t(t.getAttribute(`justifyLastLine`)));let a=t?.getAttribute(`readingOrder`);return a&&(a===`0`?i.readingDirection=n.G.ReadingDirection.Auto:a===`1`?i.readingDirection=n.G.ReadingDirection.LeftToRight:a===`2`?i.readingDirection=n.G.ReadingDirection.RightToLeft:e.warn(`Invalid readingOrder '${a}'; the direction was left automatic.`,{onceKey:`xlsx.style.readingOrder`})),Object.keys(i).length>0&&(r.alignment=i),r}collectHiddenXfs(e){let t=new Set;if(!e)return t;let n=e.childNodes,r=0;for(let e=0;e<n.length;e++){let i=n.item(e);if(i.nodeType!==1||i.localName!==`xf`)continue;let a=i.childNodes;for(let e=0;e<a.length;e++){let n=a.item(e);n.nodeType===1&&n.localName===`protection`&&o.t(n.getAttribute(`hidden`)??``)&&t.add(r)}r++}return t}processProtection(e,t,n){if(!t)return;let r=t.getAttribute(`locked`);return n.protection={alwaysUnlocked:!!r&&!o.t(r)},n}processDXF(e,t,n){if(!t)return;let r=t.childNodes,i=r.length;for(let t=0;t<i;t++){let i=r.item(t);if(i.nodeType===1&&i.localName===`font`){let t={};this.processFont(e,i,t),n.font=t}else if(i.nodeType===1&&i.localName===`fill`){let t=[];this.processFill(e,i,t,0),t.length>0&&t[0]&&(n.fill=t[0])}else if(i.nodeType===1&&i.localName===`border`){let t=[];this.processBorder(e,i,t,0,!1),t.length>0&&t[0]&&(n.borders=t[0])}else if(i.nodeType===1&&i.localName===`numFmt`){let e=i.getAttribute(`formatCode`);if(e)n.numberFormat=e;else{let e=i.getAttribute(`numFmtId`);e&&(n.numberFormat=Number(e))}}else i.nodeType===1&&i.localName===`alignment`&&this.processAlignment(e,i,n)}}processDXFs(e,t,n){if(!t)return;e.getVisitorParamsState().set(`processingDXFs`,!0);let r=new Map;e.getVisitorParamsState().set(`dxfs`,r);let i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let a=i.item(t);if(a.nodeType===1&&a.localName===`dxf`){let t={};this.processDXF(e,a,t);let i=n.length;r.set(i,t),n.push(t)}}e.getVisitorParamsState().delete(`processingDXFs`)}processTableStyle(e,t,n,r,i=!1){let a=t.getAttribute(`name`),s={name:a};t.hasAttribute(`table`)&&(s.table=o.t(t.getAttribute(`table`))),t.hasAttribute(`pivot`)&&(s.pivot=o.t(t.getAttribute(`pivot`))),i&&!s.pivot&&r.unshift(null);let c=t.childNodes,l=c.length;for(let t=0;t<l;t++){let n=c.item(t);if(n.nodeType===1&&n.localName===`tableStyleElement`){let t=n.getAttribute(`type`),i=n.getAttribute(`dxfId`),a=i==null?void 0:r?.[i];a||=(e.warn(`A table style names a format that does not exist (dxfId '${i}').`,{onceKey:`xlsx.style.tableStyle.dxf`}),{}),s[t]=a;let o=null;n.hasAttribute(`size`)&&(o=parseInt(n.getAttribute(`size`))),o&&!isNaN(o)&&(a.size=o)}}delete s.name,n[a]=s}processTableStyles(e,t,n,r,i){if(!t)return;let a={},o=t.getAttribute(`defaultTableStyle`);o&&(a.defaultTableStyle=o);let s=t.getAttribute(`defaultPivotStyle`);s&&(a.defaultPivotStyle=s);let c=t.childNodes,l={},u=c.length;for(let t=0;t<u;t++){let n=c.item(t);n.nodeType===1&&n.localName===`tableStyle`&&this.processTableStyle(e,n,l,r,i)}return Object.keys(l).length>0&&(a.styles=l),Object.keys(a).length>0&&(n.tables=a),n}processCellStyles(e,t,r,i,a){if(!t)return;let s=t.childNodes,c=s.length;for(let e=0;e<c;e++){let t=s.item(e);if(t.nodeType===1&&t.localName===`cellStyle`){let e=parseInt(t.getAttribute(`xfId`)??``),s=t.getAttribute(`name`),c=t.getAttribute(`builtinId`),l=s;if(c!==null){let e=n.$.builtInNameFromId(parseInt(c));e!==void 0&&(l=e)}if(a.set(e,l),!i[e])continue;let u={name:l,style:i[e]};t.getAttribute(`hidden`)&&(u.hidden=o.t(t.getAttribute(`hidden`))),t.getAttribute(`iLevel`)&&(u.iLevel=parseInt(t.getAttribute(`iLevel`))),r.push(u)}}}afterVisit(e,t,n){}},pe=class extends k{visit(e,t,n){return this.processSheetRefs(e,e.evaluate(`sheets`,t),n),this.processExternalReferences(e,e.evaluate(`externalReferences`,t),n),this.processBookViews(e,e.evaluate(`bookViews`,t),n),this.processDefinedNames(e,e.evaluate(`definedNames`,t),n),this.processCalcPr(e,e.evaluate(`calcPr`,t),n),this.processPivotCaches(e,e.evaluate(`pivotCaches`,t),n),this.processWorkbookProtection(e,e.evaluate(`workbookProtection`,t),n),this.processWorkbookPr(e,e.evaluate(`workbookPr`,t),n),n}processPassword(e,t,n,r=`workbook`,i=`password`){if(!t)return;let a={};e.copyFromAttribute(t,`${r}AlgorithmName`,a,`algorithm`),e.copyFromAttribute(t,`${r}HashValue`,a,`hash`),e.copyFromAttribute(t,`${r}SaltValue`,a,`salt`),e.copyFromAttribute(t,`${r}SpinCount`,a,`spinCount`,e.INT_COPY),Object.keys(a).length>0&&(n[i]=a)}processWorkbookProtection(e,t,n){if(!t)return;let r={};this.processPassword(e,t,r,`workbook`,`password`),this.processPassword(e,t,r,`revisions`,`revisionsPassword`);for(let e of a.z)r[e.key]=a.u(e,t.getAttribute(e.attribute));return n.protection=r,n}processCalcPr(e,t,n){if(!t)return;let r={};e.copyFromAttribute(t,`calcMode`,r,`calcMode`,e=>j[e]??null),e.copyFromAttribute(t,`fullCalcOnLoad`,r,`fullCalcOnLoad`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`calcOnSave`,r,`calcOnSave`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`calcCompleted`,r,`calcCompleted`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`fullPrecision`,r,`fullPrecision`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`forceFullCalc`,r,`forceFullCalc`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`concurrentCalc`,r,`concurrentCalc`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`refMode`,r,`refMode`),e.copyFromAttribute(t,`iterate`,r,`iterate`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`iterateCount`,r,`maxIteration`,e.INT_COPY),e.copyFromAttribute(t,`iterateDelta`,r,`maxIterateChange`,e.FLOAT_COPY);let i=t.getAttribute(`calcId`);i!==null&&e.getVisitorParamsState().set(`calcId`,i),n.calc=r}processSheetRefs(e,t,n){if(!t)return;let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);n.nodeType===1&&n.localName===`sheet`&&this.processSheetRef(e,n,r)}n.sheets=r}processSheetRef(e,t,n){let r={};e.copyFromAttribute(t,`name`,r,`name`),e.copyFromAttribute(t,`state`,r,`visibility`),e.copyFromAttribute(t,`sheetId`,r,`sheetId`,e.INT_COPY);let i=t.getAttribute(`r:id`),a=e.getRef(i);a&&(r.sheet=a),n.push(r)}processExternalReferences(e,t,n){if(!t)return;let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType===1&&n.localName===`externalReference`){let t=n.getAttribute(`r:id`),i=t?e.getRef(t):null;r.push(i??null)}}r.length>0&&(n.externalBooks=r)}processPivotCaches(e,t,n){if(!t)return;let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType!==1||n.localName!==`pivotCache`)continue;let a=parseInt(n.getAttribute(`cacheId`)??``,10),o=n.getAttribute(`r:id`);if(isNaN(a)||!o)continue;let s=e.readEmbeddedPart(o);s&&r.push({cacheId:a,part:s})}r.length>0&&(n.pivotCaches=r)}processBookViews(e,t,n){if(!t)return;let r=t.childNodes,i=0,a=r.length;for(let t=0;i<1&&t<a;t++){let a=r.item(t);a.nodeType===1&&a.localName===`workbookView`&&(this.processWorkbookView(e,a,n),i++)}}processWorkbookView(e,t,n){if(!t)return;let r={};e.copyFromAttribute(t,`activeTab`,r,`activeSheetId`,[e.INT_COPY,e=>e]),t.hasAttribute(`activeTab`)||(r.activeSheetId=0),e.copyFromAttribute(t,`showHorizontalScroll`,r,`showHorizontalScrollbar`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`showVerticalScroll`,r,`showVerticalScrollbar`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`showSheetTabs`,r,`showTabs`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`tabRatio`,r,`tabRatio`,[e.FLOAT_COPY,e=>e]),Object.keys(r).length>0&&(n.view=r)}processDefineName(e,t,n,r){if(!t)return;let i={},a=t.firstChild;if(a&&a.nodeType===3&&(i.ref=a.textContent),e.copyFromAttribute(t,`name`,i),e.copyFromAttribute(t,`comment`,i),e.copyFromAttribute(t,`hidden`,i,`hidden`,e.BOOLEAN_COPY),t.hasAttribute(`localSheetId`)){let n=t.getAttribute(`localSheetId`);if(!r[n]?.name)return void e.warn(`Defined name '${t.getAttribute(`name`)}' references a sheet with localSheetId '${n}' which does not exist.`);i.scope=r[n].name}e.copyFromAttribute(t,`customMenu`,i),e.copyFromAttribute(t,`description`,i),e.copyFromAttribute(t,`statusBar`,i),e.copyFromAttribute(t,`help`,i),e.copyFromAttribute(t,`shortcutKey`,i),e.copyFromAttribute(t,`function`,i,`function`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`functionGroupId`,i,`functionGroupId`,e.INT_COPY),e.copyFromAttribute(t,`publishToServer`,i,`publishToServer`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`vbProcedure`,i,`vbProcedure`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`xlm`,i,`xlm`,e.BOOLEAN_COPY),Object.keys(i).length>0&&n.push(i)}processDefinedNames(e,t,n){if(!t)return;let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let a=i.item(t);a.nodeType===1&&a.localName===`definedName`&&this.processDefineName(e,a,r,n.sheets)}r.length>0&&(n.names=r)}processWorkbookPr(e,t,n){t&&(e.copyFromAttribute(t,`date1904`,n,`date1904`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`codeName`,n,`codeName`),e.copyFromAttribute(t,`updateLinks`,n,`updateLinks`))}afterVisit(e,t,n){}},me=class{visit(e,t,n){let r={};return e.copyFromAttribute(t,`ref`,n,`r`),e.getVisitorParamsState().set(`ref`,n.r),n.v=r,e.copyFromAttribute(t,`name`,r),e.copyFromAttribute(t,`displayName`,r),e.copyFromAttribute(t,`headerRowCount`,r,`headerRowCount`,e.INT_COPY),e.copyFromAttribute(t,`totalsRowCount`,r,`totalsRowCount`,e.INT_COPY),this.processTableColumns(e,t,r),this.processTableStyleInfo(e,t,r),e.copyFromAttribute(t,`id`,r),e.copyFromAttribute(t,`comment`,r,`description`),e.copyFromAttribute(t,`connectionId`,r,`connectionId`,e.INT_COPY),e.copyFromAttribute(t,`tableType`,r),e.copyFromAttribute(t,`published`,r,`published`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`insertRow`,r,`insertRow`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`insertRowShift`,r,`insertRowShift`,e.BOOLEAN_COPY),r.totalsRowShown=t.getAttribute(`totalsRowShown`)!==`0`,r}afterVisit(e,t,n){let r=n.v;if(e.evaluate(`autoFilter`,t)){if(Array.isArray(r.hiddenButtons)){let e=r.hiddenButtons.length;e===0?r.hiddenButtons=!1:e===r.columns?.length&&(r.hiddenButtons=!0)}}else r.hiddenButtons=!0,r.showButtons=!1;return r}processTableStyleInfo(e,t,n){if(!t)return;let r=t.childNodes,i={},a=r.length;for(let t=0;t<a;t++){let n=r.item(t);n.nodeType===1&&n.localName===`tableStyleInfo`&&(e.copyFromAttribute(n,`name`,i),e.copyFromAttribute(n,`showColumnStripes`,i,`showColumnStripes`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`showFirstColumn`,i,`showFirstColumn`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`showLastColumn`,i,`showLastColumn`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`showRowStripes`,i,`showRowStripes`,e.BOOLEAN_COPY))}Object.keys(i).length>0&&(n.style=i)}processTableColumn(e,t,n){if(!t)return null;let r=t.childNodes,i=r.length;for(let t=0;t<i;t++){let i=r.item(t);if(i.nodeType===1&&i.localName===`tableColumn`){let t={};e.copyFromAttribute(i,`name`,t),e.copyFromAttribute(i,`id`,t),e.copyFromAttribute(i,`uniqueName`,t),e.copyFromAttribute(i,`queryTableFieldId`,t),e.copyFromAttribute(i,`totalsRowLabel`,t);let r=i.getAttribute(`totalsRowFunction`);if(r!==null)if(r===`custom`){let n=e.evaluate(`totalsRowFormula`,i);n&&(t.totalsRowFormula=n.textContent)}else t.totalsRowFormula=r;e.copyFromAttribute(i,`totalsRowLabel`,t);let a=e.evaluate(`calculatedColumnFormula`,i);a?.textContent&&(t.calculatedColumnFormula=a.textContent),n.push(t)}}return n}processTableColumns(e,t,n){let r=t.childNodes,i=[],a=r.length;for(let t=0;t<a;t++){let n=r.item(t);n.nodeType===1&&n.localName===`tableColumns`&&this.processTableColumn(e,n,i)}i.length>0&&(n.columns=i)}},he=class{visit(e,t,n){let r=e.getVisitorParamsState().get(`ref`);if(r){let n=e.getVisitorParamsState().get(`descriptions`);n&&(n.add(r,t.getAttribute(`altText`)),n.add(r,t.getAttribute(`altTextSummary`)))}return e.copyFromAttribute(t,`altText`,n),e.copyFromAttribute(t,`altTextSummary`,n),n}},ge=class{visit(e,t,n){let r=t.childNodes,i=r.length,a=null;for(let e=0;e<i;e++){let t=r.item(e);if(t.nodeType===1){t.localName===`externalBook`&&(a=t);break}}if(!a)return n;t.getAttribute(`mc:Ignorable`)&&(n.mceIgnorable=!0);let o=a.getAttribute(`r:id`);o&&(n.__bookRelId=o);let s=this._findAbsoluteUrlRelId(a);return s&&(n.__absoluteUrlRelId=s),n.sheetNames=[],this.processSheetNames(e,a,n),this.processDefinedNames(e,a,n),this.processSheetDataSet(e,a,n),n}processSheetNames(e,t,n){let r=this._findChild(t,`sheetNames`);if(!r)return;let i=r.childNodes,a=i.length;for(let e=0;e<a;e++){let t=i.item(e);t.nodeType===1&&t.localName===`sheetName`&&n.sheetNames.push(t.getAttribute(`val`)??``)}}processDefinedNames(e,t,n){let r=this._findChild(t,`definedNames`);if(!r)return;let i=[],a=r.childNodes,o=a.length;for(let e=0;e<o;e++){let t=a.item(e);if(t.nodeType!==1||t.localName!==`definedName`)continue;let n=t.getAttribute(`name`);if(!n)continue;let r={name:n,refersTo:t.getAttribute(`refersTo`)??``},o=t.getAttribute(`sheetId`);o!==null&&(r.sheetIndex=parseInt(o,10)),i.push(r)}i.length>0&&(n.definedNames=i)}processSheetDataSet(e,t,n){let r=this._findChild(t,`sheetDataSet`);if(!r)return;let i=[],a=r.childNodes,o=a.length;for(let t=0;t<o;t++){let n=a.item(t);if(n.nodeType!==1||n.localName!==`sheetData`)continue;let r=n.getAttribute(`sheetId`);if(r===null)continue;let o=this.processSheetData(e,n);o.sheetIndex=parseInt(r,10),n.getAttribute(`refreshError`)===`1`&&(o.refreshError=!0),i.push(o)}i.length>0&&(n.sheetDataSet=i)}processSheetData(e,t){let r=new n.tt.Builder,i=t.childNodes,a=i.length;for(let e=0;e<a;e++){let t=i.item(e);if(t.nodeType!==1||t.localName!==`row`)continue;let a=t.childNodes,o=a.length;for(let e=0;e<o;e++){let t=a.item(e);if(t.nodeType!==1||t.localName!==`cell`)continue;let i=t.getAttribute(`r`);if(!i)continue;let o=n.Qt.fastStringToCell(i);if(o?.rowIndex===void 0||o?.colIndex===void 0)continue;let s=this._readCellValue(t);s!==void 0&&r.pushAt(o.rowIndex,o.colIndex,s)}}return{sheetIndex:-1,data:r.build()?.tuples??[]}}_readCellValue(e){let n=this._findChild(e,`v`)?.textContent?.trim();if(n!==void 0&&n!==``)switch(e.getAttribute(`t`)){case null:case`n`:return parseFloat(n);case`b`:return n===`1`||n===`true`;case`str`:default:return n;case`e`:{let e=t.i.getBuiltInByLabel(n);return e?{t:`e`,v:e.getCode()}:n}}}_findChild(e,t){let n=e.childNodes,r=n.length;for(let e=0;e<r;e++){let r=n.item(e);if(r.nodeType===1&&r.localName===t)return r}return null}_findAbsoluteUrlRelId(e){let t=this._findChild(e,`alternateUrls`);return t?this._findChild(t,`absoluteUrl`)?.getAttribute(`r:id`)??null:null}},_e=class{visit(e,t,n){e.copyFromAttribute(t,`name`,n),e.copyFromAttribute(t,`sourceName`,n);let r=e.evaluate(`*/tableSlicerCache`,t);return r?(e.copyFromAttribute(r,`tableId`,n),e.copyFromAttribute(r,`column`,n,`columnId`),e.copyFromAttribute(r,`crossFilter`,n),n):(e.warn(`A slicer names no table; it was not imported.`,{onceKey:`xlsx.slicer.cacheDefinition`}),n)}},ve=class{visit(e,t,n){let r=n.slicers;r||(r={},n.slicers=r);let i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);n.nodeType===1&&n.localName===`slicer`&&this.processSlicer(e,n,r)}return r}processSlicer(e,t,n){if(!t)return;let r={};n[t.getAttribute(`name`)]=r;let i=t.getAttribute(`cache`),a=e.getVisitorParamsState().get(`slicerCaches`);if(i){let e=a.get(i);e&&(r.columnId=e.columnId,r.tableId=e.tableId)}e.copyFromAttribute(t,`caption`,r),e.copyFromAttribute(t,`startItem`,r,`startItem`,e.INT_COPY),e.copyFromAttribute(t,`columnCount`,r,`columnCount`,e.INT_COPY),e.copyFromAttribute(t,`showCaption`,r,`showCaption`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`level`,r,`level`,e.INT_COPY),e.copyFromAttribute(t,`style`,r),e.copyFromAttribute(t,`locked`,r,`locked`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`rowHeight`,r,`rowHeight`,e.INT_COPY)}},ye=class{visit(e,t,n){return n}},Q=class{visit(e,t,n){if(!t)return;let r={};return e.copyFromAttribute(t,`editAs`,r,`anchorType`),r.anchor={},t.localName===`absoluteAnchor`?(r.anchorType=`absolute`,this.processAbsoluteCoord(e,e.evaluate(`xdr:pos`,t),r.anchor,`from`,`x`,`y`),this.processAbsoluteCoord(e,e.evaluate(`xdr:ext`,t),r.anchor,`to`,`cx`,`cy`)):t.localName===`oneCellAnchor`?(this.processOffsetCoord(e,e.evaluate(`from`,t),r.anchor,`from`),this.processAbsoluteCoord(e,e.evaluate(`xdr:ext`,t),r.anchor,`to`,`cx`,`cy`)):(this.processOffsetCoord(e,e.evaluate(`from`,t),r.anchor,`from`),this.processOffsetCoord(e,e.evaluate(`to`,t),r.anchor,`to`)),n.movables||=[],n.movables.push(r),r}processAbsoluteCoord(e,t,n,r,i,a){if(!t)return;let s={x:0,y:0};return s.x=o.h(t.getAttribute(i)),s.y=o.h(t.getAttribute(a)),r===`from`?n.tl=s:n.br=s,n}processOffsetCoord(e,t,n,r){if(!t)return;let i={c:0,r:0,x:0,y:0};return e.evaluate(`col`,t)&&(i.c=parseInt(e.evaluate(`col`,t).textContent)),e.evaluate(`row`,t)&&(i.r=parseInt(e.evaluate(`row`,t).textContent)),e.evaluate(`colOff`,t)&&(i.x=o.h(e.evaluate(`colOff`,t).textContent)),e.evaluate(`rowOff`,t)&&(i.y=o.h(e.evaluate(`rowOff`,t).textContent)),r===`from`?n.tl=i:n.br=i,n}},be=class extends M{visit(e,t,n){if(!t)return;n=super.visit(e,t,n);let r=e.evaluate(`nvGraphicFramePr/cNvGraphicFramePr`,t);if(r){let t=e.evaluate(`graphicFrameLocks`,r);if(t){t.hasAttribute(`noChangeAspect`)&&(n.lockAspect=t.getAttribute(`noChangeAspect`)===`1`);let e={};Object.keys(e).length>0&&(n.locks=e)}}let i={type:`graphicFrame`,json:{}},a=e.evaluate(`graphic/graphicData`,t).childNodes,o=a.length;for(let n=0;n<o;n++){let r=a.item(n);if(r.nodeType===1)try{let n=r.localName;n===`chart`?n=`chart`:n===`slicer`&&(n=`slicer`),i.type=n;let a=r.getAttribute(`r:id`);if(n===`chart`&&a){let n=e.evaluate(`*/cNvPr`,t);n?.item&&(n=n.item(0));let r=n?.getAttribute?.(`id`),o=r?parseInt(r,10):void 0;i.json={xml:e.serializeElement(t)??void 0,sourceId:o===void 0||isNaN(o)?void 0:o,part:e.readEmbeddedPart(a)??void 0}}else a&&(i.json=e.getRef(a))}catch(t){e.warn(`Unable to read a graphic frame: ${t?.message??t}`,{onceKey:`xlsx.drawing.graphicFrame`})}}return i&&(n.content=i),i}},$=N,xe=class extends M{visit(e,t,n){if(!t)return;let r=super.visit(e,t,n),i=e.evaluate(`nvPicPr/cNvPicPr`,t);if(i){e.copyFromAttribute(t,`preferRelativeResize`,r,`preferRelativeResize`,e.BOOLEAN_COPY);let n=e.evaluate(`picLocks`,i);if(n){n.hasAttribute(`noChangeAspect`)&&(r.lockAspect=n.getAttribute(`noChangeAspect`)===`1`);let t={};e.copyFromAttribute(n,`noChangeArrowheads`,r,`noChangeArrowheads`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noChangeShapeType`,r,`noChangeShapeType`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noEditPoints`,r,`noEditPoints`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noAdjustHandles`,r,`noAdjustHandles`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noCrop`,r,`noCrop`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noGrp`,r,`noGrp`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noMove`,r,`noMove`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noResize`,r,`noResize`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noRot`,r,`noRot`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noSelect`,r,`noSelect`,e.BOOLEAN_COPY),Object.keys(t).length>0&&(r.locks=t)}}let a,o=e.evaluate(`blipFill/blip`,t);if(o){let t;if(t=o.getAttribute(`r:embed`)??o.getAttribute(`embed`),t||=o.getAttribute(`r:link`)??o.getAttribute(`link`),!t)return void e.warn(`A picture names no image; it was not imported.`,{onceKey:`xlsx.drawing.picture.noRel`});a=e.getRef(t,!0)}return n.content={type:`picture`,json:{resId:a}},r}},Se=class extends N{visit(e,t,n){if(!t)return;n=super.visit(e,t,n);let r=e.evaluate(`nvGrpSpPr/cNvGrpSpPr`,t);if(r){let t=e.evaluate(`grpSpLocks`,r);if(t){t.hasAttribute(`noChangeAspect`)&&(n.lockAspect=t.getAttribute(`noChangeAspect`)===`1`);let e={};Object.keys(e).length>0&&(n.locks=e)}}e.warn(`Unable to import '${n.name}', group shapes are not supported.`);let i={};return n.content={type:`grpSp`,json:i},i}},Ce=class extends N{visit(e,t,n){if(!t)return;n=super.visit(e,t,n);let r=e.evaluate(`nvCxnSpPr/cNvCxnSpPr`,t);if(r){let t=e.evaluate(`cxnSpLocks`,r);if(t){t.hasAttribute(`noChangeAspect`)&&(n.lockAspect=t.getAttribute(`noChangeAspect`)===`1`);let e={};Object.keys(e).length>0&&(n.locks=e)}}let i=e.evaluate(`*/cNvPr`,t);i?.item&&(i=i.item(0));let a=i?.getAttribute?.(`id`),o=a?parseInt(a,10):void 0,s={type:`cxnSp`,xml:e.serializeElement(t)??void 0,sourceId:o===void 0||isNaN(o)?void 0:o};return n.content={type:`cxnSp`,json:s},s}},we=class{visit(e,t,n){let r=[],i=new Map,a={cells:[],values:[]},o=t.childNodes;for(let e=0;e<o.length;e++){let t=o.item(e);if(t.nodeType===1)switch(t.localName){case`metadataTypes`:this._parseMetadataTypes(t,r,i);break;case`futureMetadata`:this._attachFutureMetadata(t,i);break;case`cellMetadata`:this._resolveBlocks(t,r,a.cells);break;case`valueMetadata`:this._resolveBlocks(t,r,a.values)}}return n.metadata=a,a}_parseMetadataTypes(e,t,n){let r=e.childNodes;for(let e=0;e<r.length;e++){let i=r.item(e);if(i.nodeType===1&&i.localName===`metadataType`){let e=this._parseMetadataType(i);t.push(e),n.set(e.name,e)}}}_parseMetadataType(e){let t={name:e.getAttribute(`name`)??``,_blocks:[]},n=e.getAttribute(`minSupportedVersion`);n!=null&&(t.minSupportedVersion=Number(n));for(let n of[`copy`,`pasteAll`,`pasteValues`,`merge`,`splitFirst`,`splitAll`,`rowColShift`,`clearFormats`,`clearComments`,`assign`,`coerce`,`cellMeta`,`adjust`,`trans`,`delete`,`edit`])e.getAttribute(n)===`1`&&(t[n]=!0);return t}_attachFutureMetadata(e,t){let n=e.getAttribute(`name`)??``,r=t.get(n);if(!r)return;let i=e.childNodes;for(let e=0;e<i.length;e++){let t=i.item(e);t.nodeType===1&&t.localName===`bk`&&r._blocks.push(this._parseFutureBlock(t))}}_parseFutureBlock(e){let t={},n=e.childNodes;for(let e=0;e<n.length;e++){let r=n.item(e);if(r.nodeType!==1||r.localName!==`extLst`)continue;let i=r.childNodes;for(let e=0;e<i.length;e++){let n=i.item(e);if(n.nodeType!==1||n.localName!==`ext`)continue;let r=n.childNodes;for(let e=0;e<r.length;e++){let n=r.item(e);n.nodeType===1&&(n.localName===`dynamicArrayProperties`?(t.fDynamic=n.getAttribute(`fDynamic`)===`1`,t.fCollapsed=n.getAttribute(`fCollapsed`)===`1`):n.localName===`rvb`&&(t.richValueIndex=Number(n.getAttribute(`i`)??`0`)))}}}return t}_resolveBlocks(e,t,n){let r=e.childNodes;for(let e=0;e<r.length;e++){let i=r.item(e);i.nodeType===1&&i.localName===`bk`&&n.push(this._resolveBlock(i,t))}}_resolveBlock(e,t){let n=new Map,r=e.childNodes;for(let e=0;e<r.length;e++){let i=r.item(e);if(i.nodeType!==1||i.localName!==`rc`)continue;let a=Number(i.getAttribute(`t`)),o=Number(i.getAttribute(`v`)),s=t[a-1];if(!s)continue;let{_blocks:c,...l}=s,u={...l};for(let e of Object.keys(u))u[e]===void 0&&delete u[e];let d=c[o];d&&(d.fDynamic!==void 0&&(u.fDynamic=d.fDynamic,u.fCollapsed=d.fCollapsed??!1),d.richValueIndex!==void 0&&(u.richValueIndex=d.richValueIndex)),n.set(s.name,u)}return n}},Te=class{visit(e,t,n){let r=e.getVisitorParamsState().get(P);r||(r=[],e.getVisitorParamsState().set(P,r));let i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType===1&&n.localName===`s`){let t={type:n.getAttribute(`t`)??`n`,keys:[]};this.processKeys(e,n,t),r.push(t)}}return n.richTypes=r,r}processKeys(e,t,n){let r=t.childNodes,i=r.length,a=n.keys;for(let e=0;e<i;e++){let t=r.item(e);if(t.nodeType===1&&t.localName===`k`){let e=t.getAttribute(`n`),n=t.getAttribute(`t`);a.push([e,n])}}}},Ee=class{visit(e,t,n){let r=e.getVisitorParamsState().get(`richTypes`);if(!r)return void e.warn(`RichValueFound but not type.`);let i=e.getVisitorParamsState().get(F);i||(i=[],e.getVisitorParamsState().set(F,i));let a=t.childNodes,o=a.length;for(let t=0;t<o;t++){let n=a.item(t);if(n.nodeType===1&&n.localName===`rv`){let t=r[n.getAttribute(`s`)],a={type:t.type};this.processValues(e,n,a,t);let o=this.mapType(e,a);i.push(o)}}return n.richData=i,i}mapType(e,n){if(n.type===`_error`){let e=n.errorType;if(e)try{n=t.i.getBuiltInByCode(e+1)??t.i.BuiltIn.Unknown}catch{}}return n}processValues(e,t,n,r){let i=t.childNodes,a=i.length;r.type;let o=r.keys;for(let t=0;t<a;t++){let r=i.item(t);if(r.nodeType===1&&r.localName===`v`){let i=o[t];if(!i)return void e.warn(`Invalid richData`);let a=i[0],s=i[1],c=r.textContent;s===`i`&&(c=Number(c)),n[a]=c}}}},De=class{visit(e,t,n){if(!t)return;let r=[];this.processAuthors(e,e.evaluate(`authors`,t),r),r.length>0&&(n.authors=r);let i=[];return n.comments=i,i}processAuthors(e,t,n){if(!t)return;let r=t.childNodes,i=r.length;for(let e=0;e<i;e++){let t=r.item(e);if(t.nodeType===1&&t.localName===`author`){let e=t.firstChild;e&&e.nodeType===3&&n.push(e.textContent)}}}},Oe=class{visit(e,t,n){if(!t)return;let r=t.getAttribute(`ref`);if(!r)return;let i={content:``};if(t.hasAttribute(`authorId`)){let e=parseInt(t.getAttribute(`authorId`),10);isNaN(e)||(i.authorId=e)}return i.content=function(e){if(!e)return``;let t=[],n=!0,r=e.childNodes;for(let e=0;e<r.length;e++){let i=r.item(e);if(i.nodeType===1){if(i.localName===`t`)t.push({text:i.textContent??``});else if(i.localName===`r`){let e={text:``},r=i.childNodes;for(let t=0;t<r.length;t++){let n=r.item(t);n.nodeType===1&&(n.localName===`t`?e.text+=n.textContent??``:n.localName===`rPr`&&te(n,e))}Object.keys(e).length>1&&(n=!1),t.push(e)}}}return t.length===0?e.textContent??``:n?t.map(e=>e.text).join(``):{runs:t}}(e.evaluate(`text`,t)),n.push({r,v:i}),i}},ke=class{visit(e,t,n){if(!t)return;let r=[];return n.comments=r,r}},Ae=class{visit(e,t,n){if(!t)return;let r={};e.copyFromAttribute(t,`id`,r,`id`,o.c);let i=t.getAttribute(`ref`);return e.copyFromAttribute(t,`personId`,r,`personId`,o.c),e.copyFromAttribute(t,`parentId`,r,`parentId`,o.c),e.copyFromAttribute(t,`dT`,r,`dt`),t.hasAttribute(`done`)&&(r.done=o.t(t.getAttribute(`done`))),n.push({r:i,v:r}),r}},je=class{visit(e,t,n){let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType===1&&n.localName===`person`){let t={};e.copyFromAttribute(n,`id`,t,`id`,o.c),e.copyFromAttribute(n,`displayName`,t),e.copyFromAttribute(n,`userId`,t,`userId`,o.c),e.copyFromAttribute(n,`providerId`,t),r.push(t)}}return r.length>0&&(n.persons=r),r}},Me=class{constructor(e,t){this.path=e,this.visitor=t}};exports.DOMTransformer=class{constructor(){this.visitorsByXmlTagName=new Map,this.scopedVisitorsByXmlTagName=new Map,this.visitorParamsState=null,this.registerVisitor(`Relationships`,new ne),this.registerVisitor(`cp:coreProperties`,new re),this.registerVisitor(`Properties`,new ie),this.registerVisitor(`spPr`,new R),this.registerVisitor(`txBody`,new K),this.registerVisitor(`txPr`,new K),this.registerVisitor(`c:chartSpace`,new I),this.registerVisitor(`c:plotArea`,new L),this.registerVisitor(`c:barChart`,new z),this.registerVisitor(`c:doughnutChart`,new B),this.registerVisitor(`c:lineChart`,new B),this.registerVisitor(`c:ofPieType`,new B),this.registerVisitor(`c:pieChart`,new B),this.registerVisitor(`c:scatterChart`,new B),this.registerVisitor(`c:barChart`,new V(`dataLabels`),`dLbls`),this.registerVisitor(`c:doughnutChart`,new V(`dataLabels`),`dLbls`),this.registerVisitor(`c:lineChart`,new V(`dataLabels`),`dLbls`),this.registerVisitor(`c:ofPieType`,new V(`dataLabels`),`dLbls`),this.registerVisitor(`c:pieChart`,new V(`dataLabels`),`dLbls`),this.registerVisitor(`c:scatterChart`,new V(`dataLabels`),`dLbls`),this.registerVisitor(`c:ser`,new H),this.registerVisitor(`c:dPt`,new U),this.registerVisitor(`c:marker`,new W),this.registerVisitor(`c:catAx`,new G),this.registerVisitor(`c:valAx`,new G),this.registerVisitor(`c:dateAx`,new G),this.registerVisitor(`c:majorGridlines`,new x(`gridLinesMajor`)),this.registerVisitor(`c:minorGridlines`,new x(`gridLinesMinor`)),this.registerVisitor(`c:chartSpace`,null,`txPr`),this.registerVisitor(`c:catAx`,new K(`labels.text`),`txPr`),this.registerVisitor(`c:valAx`,new K(`labels.text`),`txPr`),this.registerVisitor(`c:dateAx`,new K(`labels.text`),`txPr`),this.registerVisitor(`c:legend`,new J),this.registerVisitor(`c:legend`,new K(`labels.text`),`txPr`),this.registerVisitor(`c:legendEntry`,new q),this.registerVisitor(`c:ser`,new Y,`extLst/ext/invertSolidFillFmt/spPr`),this.registerVisitor(`c:ser`,new V(`labels`),`dLbls`),this.registerVisitor(`c:dLbl`,new V(`points`)),this.registerVisitor(`c:title`,new X),this.registerVisitor(`c:title`,null,`tx/rich`),this.registerVisitor(`c:title`,null,`txPr`),this.registerVisitor(`c:layout`,new ae),this.registerVisitor(`c:dispUnits`,new x(`dispUnits`)),this.registerVisitor(`c:dispUnitsLbl`,new X(`displayUnitsLabel`)),this.registerVisitor(`c:dispUnitsLbl`,new K,`tx/rich`),this.registerVisitor(`a:theme`,new oe),this.registerVisitor(`a:theme`,new se,`themeElements/clrScheme`),this.registerVisitor(`a:theme`,new ce,`themeElements/fontScheme`),this.registerVisitor(`a:theme`,new le,`themeElements/fmtScheme`),this.registerVisitor(`autoFilter`,new de),this.registerVisitor(`sortState`,new fe),this.registerVisitor(`s:workbook`,new pe),this.registerVisitor(`styleSheet`,new Z),this.registerVisitor(`x14:table`,new he),this.registerVisitor(`table`,new me),this.registerVisitor(`externalLink`,new ge),this.registerVisitor(`hlinkClick`,new ue),this.registerVisitor(`wsDr`,new ye),this.registerVisitor(`twoCellAnchor`,new Q),this.registerVisitor(`oneCellAnchor`,new Q),this.registerVisitor(`absoluteAnchor`,new Q),this.registerVisitor(`graphicFrame`,new be),this.registerVisitor(`sp`,new $),this.registerVisitor(`grpSp`,new Se),this.registerVisitor(`cxnSp`,new Ce),this.registerVisitor(`pic`,new xe),this.registerVisitor(`metadata`,new we),this.registerVisitor(`rvStructures`,new Te),this.registerVisitor(`rvData`,new Ee),this.registerVisitor(`comments`,new De),this.registerVisitor(`comment`,new Oe),this.registerVisitor(`ThreadedComments`,new ke),this.registerVisitor(`threadedComment`,new Ae),this.registerVisitor(`threadedComment`,new K(`content`),`text`),this.registerVisitor(`personList`,new je),this.registerVisitor(`slicerCacheDefinition`,new _e),this.registerVisitor(`slicers`,new ve)}registerVisitor(e,t,n=null){e.indexOf(`:`)===-1&&(e=`*:`+e);let r=e.split(`:`),i=r.length>1?r[1]:r[0];if(!n)return this.visitorsByXmlTagName.set(i,t),void this.visitorsByXmlTagName.set(e,t);let a=this.scopedVisitorsByXmlTagName.get(i);a||(a=[],this.scopedVisitorsByXmlTagName.set(i,a),this.scopedVisitorsByXmlTagName.set(e,a)),a.push(new Me(n,t))}parseDxf(t,n=``,r=e.I.EmptyObject){this.visitorParamsState||=new Map;let i=this.visitorParamsState,a=i.get(`processingDXFs`);i.set(`processingDXFs`,!0);try{let e=new f(null,this,`/dxf`,t,{},n,r),i={};return new Z().processDXF(e,t,i),i}finally{a===void 0?i.delete(`processingDXFs`):i.set(`processingDXFs`,a)}}getVisitorParamsState(){return this.visitorParamsState}transform(t,n,r=e.I.EmptyObject){let i=t.documentElement;this.visitorParamsState&&!r?.paramMap||(this.visitorParamsState=r?.paramMap??new Map);let a={},o=this.visitorsByXmlTagName.get(i.nodeName);if(o||=this.visitorsByXmlTagName.get(i.localName),!o)throw Error(`A visitor for the root element: '${i.nodeName}' or '${i.localName}' must be registered.`);let s=`/`+i.localName,c=new f(null,this,s,i,a,n,r),l=[];this._doWalk(o,c,l,i,a,n,r);let u=l.length;for(let e=0;e<u;e++){let t=l[e];try{t.visitor?.afterVisit?.(t.context,t.elemParent,t.jsonParent)}catch(e){t.context.warn(`Unable to finish reading '${t.context.getPath()}': ${e?.message??e}`,{onceKey:`xlsx.transform.afterVisit`})}}return a}_walkScoped(e,t,n,r,i,a,o){let s=this.scopedVisitorsByXmlTagName.get(e),c=s?s.length:0;for(let l=0;l<c;l++){let c=s[l],u=null;try{u=t.evaluate(c.path,r)}catch{t.warn(`Invalid path '${c.path}' for '${e}'.`,{onceKey:`xlsx.transform.invalidPath`})}if(!u)continue;let d=e=>{let s=e.localName,l=e.parentNode;for(;l&&l!==r;)s=l.localName+`/`+s,l=l.parentNode;let u=t.getPath()+`/`+s;if(c.visitor){let r=new f(t,this,u,t.getElemRoot(),t.getJsonRoot(),a,o);this._doWalk(c.visitor,r,n,e,i,a,o)}};if(u.length>0){let e=u,t=e.length;for(let n=0;n<t;n++)d(e.item(n))}else d(u)}}_doWalk(e,t,n,r,i,a,o){let s=null;e&&(n.push({visitor:e,context:t,elemParent:r,jsonParent:i}),s=e.visit(t,r,i)),s||=i;let c=r.localName;this._walkScoped(c,t,n,r,s,a,o);let l=this.visitorsByXmlTagName,u=t.getElemRoot(),d=t.getJsonRoot(),p=r.childNodes,m=p.length;for(let e=0;e<m;e++){let r=p.item(e);if(r.nodeType!==1)continue;let c=r,m=c.nodeName,h=l.get(m);h||=(m=c.localName,l.get(m));let g=t.getPath()+`/`+m,_=new f(t,this,g,u,d,a,o);this._doWalk(h,_,n,c,s??i,a,o)}return s}},exports.ExecutionContext=f,exports.NumberUtils=o.o,exports.VisitorUtils=p;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require("./B7_pDFYCVzt-3hUs.cjs"),t=require("./Ytzw6iUYx5f19wfK.cjs"),n=require("./
|
|
1
|
+
const e=require("./B7_pDFYCVzt-3hUs.cjs"),t=require("./Ytzw6iUYx5f19wfK.cjs"),n=require("./DWaaProrT5w4AQi4.cjs"),r=require("./Ck-uFI-6VF3NMr4v.cjs"),i=require("./BGWllzPl0ZZpYb85.cjs"),a=require("./K-menOImhm6Qcwkr.cjs");var o=e.r(t.i(),1),s=e.r(t.r(),1);function c(e){return n.m(`MuiRadio`,e)}var l=n.p(`MuiRadio`,[`root`,`checked`,`disabled`,`colorPrimary`,`colorSecondary`,`sizeSmall`]),u=i.S;function d(e){return n.m(`MuiFormGroup`,e)}n.p(`MuiFormGroup`,[`root`,`row`,`error`]);var f=r.ut(`div`,{name:`MuiFormGroup`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.row&&t.row]}})({display:`flex`,flexDirection:`column`,flexWrap:`wrap`,variants:[{props:{row:!0},style:{flexDirection:`row`}}]}),p=o.forwardRef(function(e,t){let a=r.ct({props:e,name:`MuiFormGroup`}),{className:o,row:c=!1,...l}=a,[u]=i.D({props:a,states:[`error`]}),p={...a,row:c,error:u.error},m=(e=>{let{classes:t,row:n,error:i}=e;return r._t({root:[`root`,n&&`row`,i&&`error`]},d,t)})(p);return(0,s.jsx)(f,{className:n.h(m.root,o),ownerState:p,ref:t,...l})}),m=r.Q((0,s.jsx)(`path`,{d:`M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z`}),`RadioButtonUnchecked`),h=r.Q((0,s.jsx)(`path`,{d:`M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z`}),`RadioButtonChecked`),g=r.ut(`span`,{name:`MuiRadioButtonIcon`,shouldForwardProp:r.dt})({position:`relative`,display:`flex`}),_=r.ut(m,{name:`MuiRadioButtonIcon`})({transform:`scale(1)`}),v=r.ut(h,{name:`MuiRadioButtonIcon`})(r.lt(({theme:e})=>({left:0,position:`absolute`,transform:`scale(0)`,...r.nt(e,`transform`,{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest}),variants:[{props:{checked:!0},style:{transform:`scale(1)`,...r.nt(e,`transform`,{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}}]})));function y(e){let{checked:t=!1,classes:n={},fontSize:r}=e,i={...e,checked:t};return(0,s.jsxs)(g,{className:n.root,ownerState:i,children:[(0,s.jsx)(_,{fontSize:r,className:n.background,ownerState:i}),(0,s.jsx)(v,{fontSize:r,className:n.dot,ownerState:i})]})}var b=o.createContext(void 0),x=r.ut(a.r,{shouldForwardProp:e=>r.dt(e)||e===`classes`,name:`MuiRadio`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.size!==`medium`&&t[`size${r.st(n.size)}`],t[`color${r.st(n.color)}`]]}})(r.lt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,[`&.${l.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{color:`default`,disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(r.I()).map(([t])=>({props:{color:t,disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(r.I()).map(([t])=>({props:{color:t,disabled:!1},style:{[`&.${l.checked}`]:{color:(e.vars||e).palette[t].main}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:`transparent`}}}}]}))),S=(0,s.jsx)(y,{checked:!0}),C=(0,s.jsx)(y,{}),w=o.forwardRef(function(e,t){let a=r.ct({props:e,name:`MuiRadio`}),{checked:l,checkedIcon:d=S,color:f=`primary`,icon:p=C,name:m,onChange:h,size:g=`medium`,className:_,disabled:v,disableRipple:y=!1,slots:w={},slotProps:T={},...E}=a,D=i.E(),O=v;D&&O===void 0&&(O=D.disabled),O??=!1;let k={...a,disabled:O,disableRipple:y,color:f,size:g},A=(e=>{let{classes:t,color:n,size:i}=e,a={root:[`root`,`color${r.st(n)}`,i!==`medium`&&`size${r.st(i)}`]};return{...t,...r._t(a,c,t)}})(k),j=o.useContext(b),M=l,N=u(h,j&&j.onChange),P=m;var F,I;j&&(M===void 0&&(F=j.value,M=typeof(I=a.value)==`object`&&I!==null?F===I:String(F)===String(I)),P===void 0&&(P=j.name));let L=T.input,[R,z]=r.H(`root`,{ref:t,elementType:x,className:n.h(A.root,_),shouldForwardComponentProp:!0,externalForwardedProps:{slots:w,slotProps:T,...E},getSlotProps:e=>({...e,onChange:(t,...n)=>{e.onChange?.(t,...n),N(t,...n)}}),ownerState:k,additionalProps:{type:`radio`,icon:o.cloneElement(p,{fontSize:p.props.fontSize??g}),checkedIcon:o.cloneElement(d,{fontSize:d.props.fontSize??g}),disabled:O,name:P,checked:M,slots:w,slotProps:{input:typeof L==`function`?L(k):L}}});return(0,s.jsx)(R,{...z,classes:A})});function T(e){return n.m(`MuiRadioGroup`,e)}n.p(`MuiRadioGroup`,[`root`,`row`,`error`]);var E=o.forwardRef(function(e,t){let{actions:i,children:a,className:c,defaultValue:l,name:u,onChange:d,value:f,...m}=e,h=o.useRef(null),g=(e=>{let{classes:t,row:n,error:i}=e;return r._t({root:[`root`,n&&`row`,i&&`error`]},T,t)})(e),[_,v]=r.J({controlled:f,default:l,name:`RadioGroup`});o.useImperativeHandle(i,()=>({focus:()=>{let e=h.current.querySelector(`input:not(:disabled):checked`);e||=h.current.querySelector(`input:not(:disabled)`),e&&e.focus()}}),[]);let y=r.ot(t,h),x=r.X(u),S=o.useMemo(()=>({name:x,onChange(e){v(e.target.value),d&&d(e,e.target.value)},value:_}),[x,d,v,_]);return(0,s.jsx)(b.Provider,{value:S,children:(0,s.jsx)(p,{role:`radiogroup`,ref:y,className:n.h(g.root,c),...m,children:a})})});Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return w}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return E}});
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.8.0-beta.5
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
6
|
*/
|
|
7
|
-
import { r as e } from "./
|
|
8
|
-
import { i as t, r as n } from "./
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { v as s } from "./
|
|
12
|
-
import { n as c, t as l } from "./
|
|
13
|
-
import { t as u } from "./
|
|
14
|
-
import { t as d } from "./
|
|
7
|
+
import { r as e } from "./CYsJALdAfHsvSsfO.mjs";
|
|
8
|
+
import { i as t, r as n } from "./CkSbV_IfAZJi0c6l.mjs";
|
|
9
|
+
import { Tt as r, X as i, t as a } from "./DdZPPDc6wlduH_KR.mjs";
|
|
10
|
+
import { ct as o } from "./DLWy3-8VQfVD6kwY.mjs";
|
|
11
|
+
import { v as s } from "./BDC1gzaNCs82vYHQ.mjs";
|
|
12
|
+
import { n as c, t as l } from "./8byAl8o3b5ERzC2f.mjs";
|
|
13
|
+
import { t as u } from "./B70US6XCCdca6Gnm.mjs";
|
|
14
|
+
import { t as d } from "./CzgGRoHeo-ZNAb5d.mjs";
|
|
15
15
|
var f = e(t(), 1), p = e(n(), 1), m = ["Ok", "Cancel"], h = "table.defaultName", g = (0, f.memo)((e) => {
|
|
16
16
|
let { onInput: t, onOption: n, onValidateOption: g, onDone: _, options: v = m, defaultOption: y = v?.[0], cancelOption: b = "Cancel", sx: x, initialValue: S, context: C, ...w } = e, T = r(), [E, D] = (0, f.useState)(!1), [O, k] = (0, f.useState)(() => S?.hasHeader ?? !1), [A, j] = (0, f.useState)(() => S?.ranges ?? null), M = C?.()?.getNames, [N, P] = (0, f.useState)(() => {
|
|
17
17
|
if (S?.name) return S.name;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.8.0-beta.5
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.8.0-beta.5
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.8.0-beta.5
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
6
|
*/
|
|
7
|
-
import { r as e } from "./
|
|
8
|
-
import { i as t, r as n } from "./
|
|
9
|
-
import { h as r, m as i, p as a } from "./
|
|
10
|
-
import { N as o, _t as s, ct as c, lt as l, st as u, ut as d } from "./
|
|
11
|
-
import { E as f, O as p } from "./
|
|
7
|
+
import { r as e } from "./CYsJALdAfHsvSsfO.mjs";
|
|
8
|
+
import { i as t, r as n } from "./CkSbV_IfAZJi0c6l.mjs";
|
|
9
|
+
import { h as r, m as i, p as a } from "./DdZPPDc6wlduH_KR.mjs";
|
|
10
|
+
import { N as o, _t as s, ct as c, lt as l, st as u, ut as d } from "./BDC1gzaNCs82vYHQ.mjs";
|
|
11
|
+
import { E as f, O as p } from "./BaLJfxCFTS-J7Qn3.mjs";
|
|
12
12
|
var m = e(t(), 1);
|
|
13
13
|
function h(e) {
|
|
14
14
|
return i("MuiInputAdornment", e);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.8.0-beta.5
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.8.0-beta.5
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
6
|
*/
|
|
7
|
-
import { r as e } from "./
|
|
8
|
-
import { i as t, r as n } from "./
|
|
9
|
-
import { h as r, m as i, p as a } from "./
|
|
10
|
-
import { H as o, I as s, J as c, L as l, N as u, Q as d, _t as f, ct as p, dt as m, lt as h, st as g, ut as _ } from "./
|
|
11
|
-
import { D as v, E as y, y as b } from "./
|
|
7
|
+
import { r as e } from "./CYsJALdAfHsvSsfO.mjs";
|
|
8
|
+
import { i as t, r as n } from "./CkSbV_IfAZJi0c6l.mjs";
|
|
9
|
+
import { h as r, m as i, p as a } from "./DdZPPDc6wlduH_KR.mjs";
|
|
10
|
+
import { H as o, I as s, J as c, L as l, N as u, Q as d, _t as f, ct as p, dt as m, lt as h, st as g, ut as _ } from "./BDC1gzaNCs82vYHQ.mjs";
|
|
11
|
+
import { D as v, E as y, y as b } from "./BaLJfxCFTS-J7Qn3.mjs";
|
|
12
12
|
var x = e(t(), 1), S = e(n(), 1);
|
|
13
13
|
function C(e) {
|
|
14
14
|
return i("MuiCheckbox", e);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.8.0-beta.5
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|