@sheetxl/studio-vanilla 0.7.8 → 0.7.9
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/{CcLEdIQTLkXU7qC6.cjs → -jRNNdUXwoXaLfLk.cjs} +3 -3
- package/browser/cjs/{UIs_lCRPFhCxDFHD.cjs → 28ueRdtTlxneL0gM.cjs} +2 -2
- package/browser/cjs/{D6WMate2nk1kraOL.cjs → 2KLpsnKefVyEmZ2O.cjs} +1 -1
- package/browser/cjs/{CnIB6YjF-oWbhQLb.cjs → 4602FFTU0gpad3xf.cjs} +1 -1
- package/browser/cjs/{C78q_hw_vGKAQlAs.cjs → 4HQQsZp_Dtpou5d-.cjs} +1 -1
- package/browser/cjs/B17LiG4dyBmP6TrN.cjs +32 -0
- package/browser/cjs/{CJy1FosjGl1kJcU4.cjs → B1b4yakNGFFm6RKb.cjs} +1 -1
- package/browser/cjs/{oLjq1XkEM_R-IX4y.cjs → B3zn4UACSeM23IZD.cjs} +1 -1
- package/browser/cjs/{BbFdREH-Q7f6hQbp.cjs → BH4rNjGU9wYFc-uC.cjs} +1 -1
- package/browser/cjs/{2pTraVinjgCHCLaa.cjs → BLkZ10BgGSKfXn8i.cjs} +2 -2
- package/browser/cjs/{Co3XILwaLMsjr459.cjs → BO3zSl1fYMj4HEPM.cjs} +1 -1
- package/browser/cjs/{CKdY1UmAxv2u4Bda.cjs → BSNMVqk1t0UhVqdb.cjs} +1 -1
- package/browser/cjs/{DFsABZ0k11s5gaLo.cjs → BZ7A3G8yvWBEbPQg.cjs} +1 -1
- package/browser/cjs/{BtFtU8BuuGvTEYl5.cjs → BeKopOONXyBBKG_1.cjs} +2 -2
- package/browser/cjs/{DPs1pVVNIKU3LbcN.cjs → Bi3eyLr3xw96w_Ec.cjs} +1 -1
- package/browser/cjs/{BlsO36XpzUrUohRB.cjs → BtXW0ExoOeHBxuRe.cjs} +2 -2
- package/browser/cjs/{BwnGrqFIoGGswTJk.cjs → BuXXymW3NvKvPMkQ.cjs} +2 -2
- package/browser/cjs/{DtdlsYrXhzdyBDl9.cjs → BzWBS9dKcCw5_3VL.cjs} +1 -1
- package/browser/cjs/{BNYlUXS_clOVW6QE.cjs → C-hbHl6SPjfJFws_.cjs} +1 -1
- package/browser/cjs/{Ds39PNCauF_1zLh9.cjs → C3Fhn8b2S1z6xZCM.cjs} +1 -1
- package/browser/cjs/{DcioBTAb1k4FJsj6.cjs → C7XUWFBNagw3WqkA.cjs} +3 -3
- package/browser/cjs/{CxWV6cIkTRYQBJoU.cjs → CFajgGuqITaobO3F.cjs} +2 -2
- package/browser/cjs/{DJ-RIrnDuRHuodF4.cjs → Cae33-B3bPeB4Lry.cjs} +1 -1
- package/browser/cjs/{CeyMsPaB7RMpk7VZ.cjs → Codn0RTBGbMdTfjS.cjs} +6 -6
- package/browser/cjs/{CPIH20xzxKBXpaJx.cjs → CpuJvPRM-ZfIbNLP.cjs} +1 -1
- package/browser/cjs/{B7R1zl_5JOG5hG1Y.cjs → CsXxIP9lLu9aFL3J.cjs} +1 -1
- package/browser/cjs/{COP7sSaEm-g6B_iA.cjs → CvShkDwGyhYRrNiN.cjs} +1 -1
- package/browser/cjs/{Bv5LpY0iINaZYm3O.cjs → D55IuXpDG_yOqLOr.cjs} +1 -1
- package/browser/cjs/{BUh24nhntRr6KNEF.cjs → D8X6TP0dbfp_I68L.cjs} +2 -2
- package/browser/cjs/{CHrhw1fBI4JhcXXx.cjs → DBIXaKPrKqoX5Ej0.cjs} +1 -1
- package/browser/cjs/DMkg41_NWFmCCTPS.cjs +6 -0
- package/browser/cjs/{C5JmtvL0MfOaJHKx.cjs → DRWk3O67719LopNw.cjs} +1 -1
- package/browser/cjs/{l649xPzegQ_ViPMn.cjs → DWnnzbiYZqMYfOtO.cjs} +2 -2
- package/browser/cjs/{CQHyfb1djbi9JmCV.cjs → DXz9_M2oCUFeOvd6.cjs} +1 -1
- package/browser/cjs/{C96zw_9CJIN43eFM.cjs → DaQSG2NK8zorWz4p.cjs} +3 -3
- package/browser/cjs/{D_bAP-wE_swv7zOU.cjs → Dd6hGYHS3cbMBbXA.cjs} +1 -1
- package/browser/cjs/{WWsKKQeRZpQhBHQC.cjs → DdQwp9nBpZcoIdAJ.cjs} +1 -1
- package/browser/cjs/{C5mp9bViDUeFidSL.cjs → Ddyt1ktuWSMrEkIX.cjs} +2 -2
- package/browser/cjs/{CDaFkxHMZsHu9_2F.cjs → DjKwZTEjS8bDI6vB.cjs} +2 -2
- package/browser/cjs/{-K-Cg0HmbeGE-nXG.cjs → DmP5P4nD6s_T0R0_.cjs} +2 -2
- package/browser/cjs/{BUiOOBzpR8RpWo8S.cjs → DoIc8TRrn9BXtvZS.cjs} +2 -2
- package/browser/cjs/{Ck9rxH1n8_fcsAfa.cjs → DsvmywyXGwBNM-Zk.cjs} +1 -1
- package/browser/cjs/{CxJRchN5P3xpDUaF.cjs → DtcVgpdytT29BDrX.cjs} +1 -1
- package/browser/cjs/{BWUqTTPtCFAe-w4P.cjs → DxEYABfvkvMQXjkd.cjs} +1 -1
- package/browser/cjs/{TbN6DYFQQi3ZDS52.cjs → Dy8reGDChpxfnCJ_.cjs} +2 -2
- package/browser/cjs/{Be8UEcDv9qe8z7-j.cjs → Dyfld4qTyM2o0k8p.cjs} +4 -4
- package/browser/cjs/{D4Vp6AOr5DLdw_nd.cjs → DzdNT91Z6wp2t1ln.cjs} +2 -2
- package/browser/cjs/GPgjyt_HTe2fOhPL.cjs +327 -0
- package/browser/cjs/{DgYXdfqmgeC2w0ni.cjs → LmL4erfidoyTg6Rn.cjs} +4 -4
- package/browser/cjs/{BXRdTHHRXwFa27L2.cjs → VCKB7r9Cy9W_Y2eC.cjs} +4 -4
- package/browser/cjs/{CT5qKP5Jkb-9uGQV.cjs → ax00EVAzg1-wEeli.cjs} +1 -1
- package/browser/cjs/{B0n6aIOHNaYD5i9j.cjs → fsmwv8vXa5GMorQG.cjs} +1 -1
- package/browser/cjs/{Cw9nBvSAF5P5bVi1.cjs → gGyygQPVOUdpU2hb.cjs} +1 -1
- package/browser/cjs/index.cjs +2 -2
- package/browser/cjs/{BzYCUv8RVTfuHRFi.cjs → mphO2n0YWLCwl-y3.cjs} +8 -8
- package/browser/cjs/{BUXRD8jocatiQ5pP.cjs → v6JQur9NiLDO0Ktv.cjs} +1 -1
- package/browser/cjs/{CDb9tj-aAVYQd_oY.cjs → w5JxRpgiKOvh5tFM.cjs} +1 -1
- package/browser/cjs/{Bl1mZl4V677GbmLr.cjs → zbjyZT6o6ykMIKBr.cjs} +1 -1
- package/browser/esm/B1o6XtsajKzSB_Ee.mjs +11 -0
- package/browser/esm/{BJ1nZLBhUfp0K4iQ.mjs → B2niIQY0fIjYfoM9.mjs} +1 -1
- package/browser/esm/{BEzygW9Oz0HEdtbw.mjs → BC4z07NIqrag6LK1.mjs} +1 -1
- package/browser/esm/{DIU2hVcktZoE3NhJ.mjs → BJDgDeqzt7VmeRxD.mjs} +4 -4
- package/{cdn/assets/Dyn7eE89FnlGrv3N.js → browser/esm/BOTc2W6k6GWqCVcp.mjs} +1 -1
- package/{cdn/assets/oUdabULVVYUW93I3.js → browser/esm/BRQ5s5G8SIeFcq2K.mjs} +1 -1
- package/browser/esm/{DBiM-pA8E6p5CL6K.mjs → BRcmFAIQ2SPbJ-XM.mjs} +4 -4
- package/{cdn/assets/DNEWl7cmPpOKGGsd.js → browser/esm/BVZ3XoT7zKr_Qy4r.mjs} +3 -3
- package/{cdn/assets/Br1QU1Y4SHINNHoO.js → browser/esm/BbFJbFt12fFxLxgW.mjs} +1 -1
- package/browser/esm/{D4NDTJPAlfT8aCB9.mjs → BcoTAKeH3O9xhPgO.mjs} +2 -2
- package/browser/esm/{pR_14W4etNPaLUhN.mjs → Bd8Yvpc8OayD21zg.mjs} +1 -1
- package/{cdn/assets/Df7L3VJKAGDd4YjT.js → browser/esm/BitbWBCvLcgf5_k8.mjs} +1 -1
- package/browser/esm/{DcB6UB-giHB69ReK.mjs → BlRskWTo6RyVPYhw.mjs} +3 -3
- package/browser/esm/{D3t57UagdaT1RsCP.mjs → Bq2-_FvbBSnQ1mRA.mjs} +3 -3
- package/browser/esm/{wdfiXZDMfelCyKZP.mjs → BvxCl7fyU6J4RrDH.mjs} +2 -2
- package/browser/esm/{C2YGmSVkfFiTgQD3.mjs → C4ESbAWre7JpSMEG.mjs} +2 -2
- package/browser/esm/{C3xK2Xpqcj6reX4s.mjs → CHKwHt2qLiyuOTYD.mjs} +7 -7
- package/{cdn/assets/BaIBjm-UxuoO2JVS.js → browser/esm/CKPAoMVPiyx_7ozH.mjs} +1 -1
- package/{cdn/assets/DPaMyIu6Ghc4krjT.js → browser/esm/CO0-isMoTEJCBD3A.mjs} +1 -1
- package/browser/esm/{D6m_sIRd9Q7Mxbgt.mjs → CPIVxYDjYBGrlKzN.mjs} +1 -1
- package/browser/esm/{CdxM9Kp_JyOf23p8.mjs → CRoUrsxPF-3VB2tH.mjs} +14352 -14151
- package/{cdn/assets/BNqM07UGA5qVncyL.js → browser/esm/CTls6jXHDizCTQqa.mjs} +1 -1
- package/browser/esm/{BzTR8kMSaDX3bd5L.mjs → CTnPqIJ_buVJyq7v.mjs} +1 -1
- package/{cdn/assets/CD8p14Wp3hhZOsNy.js → browser/esm/C_XaNFGBTyUBeyCT.mjs} +1 -1
- package/browser/esm/{hYvLZkffwWqlWobl.mjs → CbWw3rzixUR8EDhs.mjs} +2 -2
- package/browser/esm/{BOyBlzrmC_3_7rIW.mjs → CfnYVg2Fcignoanv.mjs} +1 -1
- package/{cdn/assets/kMyCgnZmM_QP1Q_M.js → browser/esm/CjNqjvPAYIJ1Txzc.mjs} +1 -1
- package/browser/esm/{CBcApePT9eJIfqcW.mjs → CjbmSAjgptXZOZub.mjs} +18 -18
- package/browser/esm/{fZwaoDCmBImMWj2m.mjs → Cnao9JBvOgVnFQZP.mjs} +2 -2
- package/browser/esm/{DypHcg08rqaw3khF.mjs → Cnj0U7PbRaaA2bEF.mjs} +4 -4
- package/browser/esm/{BiiVPjjoMGX0q69B.mjs → CoZ8jQyUjenp9yNL.mjs} +2 -2
- package/browser/esm/{CQuep8FzvblCAI6v.mjs → CqqOAWyXxM1Y7xHg.mjs} +8 -8
- package/browser/esm/{CbFbDB3Jw5UFLivl.mjs → CrW2aOCLgiCxGleL.mjs} +6 -6
- package/{cdn/assets/Yo7mAT492i8Gbo_8.js → browser/esm/Crulydg0c0mpXHIv.mjs} +1 -1
- package/browser/esm/{BahmlkxE5VCdL0vN.mjs → Cw7cbwion0vbFHQC.mjs} +1 -1
- package/{cdn/assets/DLZPLGvlbTga5rmC.js → browser/esm/CyAL0Nk6PrxryVRw.mjs} +1 -1
- package/browser/esm/{B8oT2KSFZMNAkku8.mjs → CyiZ9q3nsOxuzkPs.mjs} +1 -1
- package/browser/esm/{g2PwBJ_KLBeTSyL8.mjs → D31oMNVEevFiSSu3.mjs} +1 -1
- package/{cdn/assets/CpxIoXWU0u6yiVF_.js → browser/esm/D9mNgZwIB18h1gd3.mjs} +1 -1
- package/browser/esm/{BkubDHo4sgG4tn_E.mjs → DB6k1pDUo7QnUyag.mjs} +1 -1
- package/browser/esm/{C0dfyIY5O4BDpDVb.mjs → DCGMWZ69nZwmiyhn.mjs} +1 -1
- package/browser/esm/{CvJBExhZgFI-iegQ.mjs → DIPL9v_lUxBLj7uL.mjs} +1 -1
- package/browser/esm/{Bv0DGZgxfpWZ9D2A.mjs → DSAXrKks652VbNll.mjs} +49 -49
- package/browser/esm/{DGqTCUXZYUgK96_H.mjs → DT2Nk1w2teUvSMOy.mjs} +1 -1
- package/{cdn/assets/BlfHyToB1MdJlebf.js → browser/esm/DaH--fxsswaRgEcF.mjs} +1 -1
- package/browser/esm/{CMxu9ILcsywmbTAm.mjs → DuOp_v2dInrQQz2J.mjs} +7 -7
- package/browser/esm/{Cc2LD86F-77citOU.mjs → J1nGYMTPHDl0Dtk1.mjs} +2 -2
- package/{cdn/assets/DKnngm5T4nZphf0k.js → browser/esm/JjYKx_AWKoQp1iP5.mjs} +1 -1
- package/browser/esm/{CLJbb3ejl1MXdPtA.mjs → PhwSfaFQy7vsmHQH.mjs} +1 -1
- package/browser/esm/{H5PyaLPLUTKqvlpu.mjs → _GsOJmagfG9vJ3_O.mjs} +1 -1
- package/browser/esm/{CcbY0txpK_K39FLR.mjs → iQsD2LQQtFWVdA0k.mjs} +3 -3
- package/browser/esm/index.mjs +2 -2
- package/browser/esm/{D6hhZptuM5dggu4u.mjs → kjrrmIaLKG4Y49Rj.mjs} +2 -2
- package/browser/esm/{C32esUEYHpoosX3Y.mjs → lgPHHQHWLWGNnYGO.mjs} +1 -1
- package/browser/esm/{DgUT4s3Rw2Eo12cs.mjs → pRXKDt8_bIadmeiR.mjs} +1 -1
- package/browser/esm/{QxWUg7aXIX2ORGE1.mjs → rltHJRjXNQqhdulf.mjs} +10 -10
- package/browser/esm/{CO3_89fRzGLRFzFH.mjs → vrPREn1FiY2DXcCj.mjs} +1 -1
- package/browser/esm/w4952094eLDa6Dfm.mjs +48 -0
- package/cdn/assets/{BfvetdCHdHBNczUd.js → AuxAIQlEjIRo3x4L.js} +4 -4
- package/cdn/assets/{CgEVFN1HZmvt1F_y.js → B-fEw_RqtU2JwlFR.js} +2 -2
- package/cdn/assets/{DUeVDZmS45Fy-UL5.js → B1eWg6aDktGH7WwS.js} +4 -4
- package/cdn/assets/{DPU5ohxvqUUXvc82.js → B2MR39qRXcxeC2TY.js} +7 -7
- package/cdn/assets/{BJ1nZLBhUfp0K4iQ.js → B2niIQY0fIjYfoM9.js} +1 -1
- package/cdn/assets/{BEzygW9Oz0HEdtbw.js → BC4z07NIqrag6LK1.js} +1 -1
- package/{browser/esm/Dyn7eE89FnlGrv3N.mjs → cdn/assets/BOTc2W6k6GWqCVcp.js} +1 -1
- package/{browser/esm/oUdabULVVYUW93I3.mjs → cdn/assets/BRQ5s5G8SIeFcq2K.js} +1 -1
- package/{browser/esm/Br1QU1Y4SHINNHoO.mjs → cdn/assets/BbFJbFt12fFxLxgW.js} +1 -1
- package/cdn/assets/{pR_14W4etNPaLUhN.js → Bd8Yvpc8OayD21zg.js} +1 -1
- package/{browser/esm/Df7L3VJKAGDd4YjT.mjs → cdn/assets/BitbWBCvLcgf5_k8.js} +1 -1
- package/cdn/assets/{CdXciVUPSCxzd5_h.js → BlASKis61iVryoIm.js} +15 -15
- package/cdn/assets/{BlZn_5WKM6E7UsJP.js → BlAVbL9PoGGN-eLF.js} +6 -6
- package/{browser/esm/g4ZJLVOt0n3oB0PJ.mjs → cdn/assets/Budczm2E0D1oDtxb.js} +34 -34
- package/cdn/assets/{CFYPOkeu3mto6C0L.js → BxXfkgY3YQZkihsr.js} +2 -2
- package/cdn/assets/{8shKyqp5tr-qaVg9.js → C5vXwUdGo1QPuz37.js} +2 -2
- package/cdn/assets/{CaR_qGxICJ69Ai7G.js → CAaDybJknuY5Rk4X.js} +12 -12
- package/{browser/esm/BaIBjm-UxuoO2JVS.mjs → cdn/assets/CKPAoMVPiyx_7ozH.js} +1 -1
- package/{browser/esm/DPaMyIu6Ghc4krjT.mjs → cdn/assets/CO0-isMoTEJCBD3A.js} +1 -1
- package/cdn/assets/{BkXW8HyrQXyvACpO.js → CPpuNRDowyacHTZD.js} +1 -1
- package/cdn/assets/{D6gCAaTwdSaUOOKg.js → CQX8wcJJrnAOBgqs.js} +3 -3
- package/cdn/assets/{BGcEkJnJUDFEeU_o.js → CRpTXJTj6-teqdEk.js} +3 -3
- package/{browser/esm/BNqM07UGA5qVncyL.mjs → cdn/assets/CTls6jXHDizCTQqa.js} +1 -1
- package/cdn/assets/{BzTR8kMSaDX3bd5L.js → CTnPqIJ_buVJyq7v.js} +1 -1
- package/cdn/assets/{Q2LbqVRnsxDMbf7b.js → CUji_8_tNWmnGxA-.js} +3 -3
- package/{browser/esm/CD8p14Wp3hhZOsNy.mjs → cdn/assets/C_XaNFGBTyUBeyCT.js} +1 -1
- package/cdn/assets/{BOyBlzrmC_3_7rIW.js → CfnYVg2Fcignoanv.js} +1 -1
- package/{browser/esm/kMyCgnZmM_QP1Q_M.mjs → cdn/assets/CjNqjvPAYIJ1Txzc.js} +1 -1
- package/cdn/assets/{DECMnibi9gCpNjSo.js → CmJmZ1IbSjVFq_Hy.js} +4 -4
- package/cdn/assets/{C2XfP3L6gs-zCGsG.js → CnWk1uC-0lCbD-Xj.js} +4 -4
- package/cdn/assets/{BChAE1g4ubTX6-2R.js → CqfbNUobbGU7YeN6.js} +4 -4
- package/{browser/esm/Yo7mAT492i8Gbo_8.mjs → cdn/assets/Crulydg0c0mpXHIv.js} +1 -1
- package/cdn/assets/{BahmlkxE5VCdL0vN.js → Cw7cbwion0vbFHQC.js} +1 -1
- package/{browser/esm/DLZPLGvlbTga5rmC.mjs → cdn/assets/CyAL0Nk6PrxryVRw.js} +1 -1
- package/cdn/assets/{B8oT2KSFZMNAkku8.js → CyiZ9q3nsOxuzkPs.js} +1 -1
- package/cdn/assets/{DhqeOPW5Je_iS5zM.js → CzlrfkoZCsC-jd7h.js} +15112 -14911
- package/cdn/assets/{g2PwBJ_KLBeTSyL8.js → D31oMNVEevFiSSu3.js} +1 -1
- package/cdn/assets/{CpT1FKxGUtmF6zIX.js → D5cBSeQ7k8GlZgsV.js} +4 -4
- package/cdn/assets/{CwiI-N3SHXzvADrB.js → D6w3q0288dODJlma.js} +3 -3
- package/{browser/esm/CpxIoXWU0u6yiVF_.mjs → cdn/assets/D9mNgZwIB18h1gd3.js} +1 -1
- package/cdn/assets/{BkubDHo4sgG4tn_E.js → DB6k1pDUo7QnUyag.js} +1 -1
- package/cdn/assets/{C0dfyIY5O4BDpDVb.js → DCGMWZ69nZwmiyhn.js} +1 -1
- package/cdn/assets/{CvJBExhZgFI-iegQ.js → DIPL9v_lUxBLj7uL.js} +1 -1
- package/cdn/assets/{DEAm91ZMo4VUek58.js → DNnTxeTzLFooA_UL.js} +2 -2
- package/cdn/assets/{B51gmRuvcryNEBDL.js → DNpMIeruLey0l4fR.js} +2 -2
- package/cdn/assets/{BOc0tjsB11L9MZiV.js → DQVq0WtjtMUmA_iU.js} +2 -2
- package/cdn/assets/{DGqTCUXZYUgK96_H.js → DT2Nk1w2teUvSMOy.js} +1 -1
- package/cdn/assets/{Df9GHDfAjEQ2-01Z.js → DTiWq6c6dIhO7q3w.js} +2 -2
- package/cdn/assets/DU715r3dWSIxWSHJ.js +12 -0
- package/{browser/esm/BlfHyToB1MdJlebf.mjs → cdn/assets/DaH--fxsswaRgEcF.js} +1 -1
- package/cdn/assets/{2KfCekdTjyYdz8d5.js → Dih1QKQhKyzIsly7.js} +2 -2
- package/cdn/assets/{DU6UBlaunXx-nBhq.js → DyGoZdjTBNNXu9LZ.js} +10 -10
- package/{browser/esm/DKnngm5T4nZphf0k.mjs → cdn/assets/JjYKx_AWKoQp1iP5.js} +1 -1
- package/cdn/assets/{BD4YacYas7fyEYNW.js → KqkDMLfvKbmvpsXV.js} +21 -21
- package/cdn/assets/{C71t-sx-s3Z68ZZM.js → NkjC32CMsHhn6YZJ.js} +27 -27
- package/cdn/assets/{1wydcBgqKvBjr11e.js → Nrog426oRA7TG4QM.js} +49 -49
- package/cdn/assets/{CLJbb3ejl1MXdPtA.js → PhwSfaFQy7vsmHQH.js} +1 -1
- package/cdn/assets/{CqON9raUgLbkKdYj.js → Ql3e_vvI0FI2W43h.js} +2 -2
- package/cdn/assets/{BTBKQPh-x6eXYTNZ.js → UdKHykZGCh2M-vBY.js} +4 -4
- package/cdn/assets/{H5PyaLPLUTKqvlpu.js → _GsOJmagfG9vJ3_O.js} +1 -1
- package/cdn/assets/{B7-F2R_3tTb7xQLW.js → dLGHt7fYI2QA8zVZ.js} +1 -1
- package/cdn/assets/{C32esUEYHpoosX3Y.js → lgPHHQHWLWGNnYGO.js} +1 -1
- package/cdn/assets/{DgUT4s3Rw2Eo12cs.js → pRXKDt8_bIadmeiR.js} +1 -1
- package/cdn/assets/{CO3_89fRzGLRFzFH.js → vrPREn1FiY2DXcCj.js} +1 -1
- package/cdn/index.js +2 -2
- package/cdn/loader.js +1 -1
- package/package.json +3 -3
- package/browser/cjs/Dgr_1Al_W9GMMWVS.cjs +0 -32
- package/browser/cjs/QL95rhmT_M6oHuX6.cjs +0 -6
- package/browser/cjs/n-_0OZiNW-YQb5MD.cjs +0 -327
- package/browser/esm/DB_Yci_lec9spLu7.mjs +0 -48
- package/browser/esm/DPDVOx-IaiHYlQL1.mjs +0 -11
- package/cdn/assets/i5BOxAUV9UQKsCOE.js +0 -12
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.9
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
-
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./
|
|
6
|
+
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./GPgjyt_HTe2fOhPL.cjs"),rs=":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-",ks=new RegExp(`^[${rs}][-${rs}.0-9·̀-ͯ‿-⁀]*$`,"u");function us(i){return i>=65&&i<=90||i>=97&&i<=122||i===58||i===95||i===8204||i===8205||i>=192&&i<=214||i>=216&&i<=246||i>=248&&i<=767||i>=880&&i<=893||i>=895&&i<=8191||i>=8304&&i<=8591||i>=11264&&i<=12271||i>=12289&&i<=55295||i>=63744&&i<=64975||i>=65008&&i<=65533||i>=65536&&i<=983039}const ns="A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-",As=new RegExp(`^[${ns}][-${ns}.0-9·̀-ͯ‿-⁀]*$`,"u");function ds(i){return i>=65&&i<=90||i===95||i>=97&&i<=122||i>=192&&i<=214||i>=216&&i<=246||i>=248&&i<=767||i>=880&&i<=893||i>=895&&i<=8191||i>=8204&&i<=8205||i>=8304&&i<=8591||i>=11264&&i<=12271||i>=12289&&i<=55295||i>=63744&&i<=64975||i>=65008&&i<=65533||i>=65536&&i<=983039}const G=function(i){return i===32||i===10||i===13||i===9},Ds=function(i){return i>=32&&i<=55295||i===10||i===13||i===9||i>=57344&&i<=65533||i>=65536&&i<=1114111},ne=us,as=function(i){return us(i)||i>=48&&i<=57||i===45||i===46||i===183||i>=768&&i<=879||i>=8255&&i<=8256},ps=[32,10,13,9],Ps=ks,Es=function(i){return i>=1&&i<=55295||i>=57344&&i<=65533||i>=65536&&i<=1114111},Os=ds,Is=function(i){return ds(i)||i===45||i===46||i>=48&&i<=57||i===183||i>=768&&i<=879||i>=8255&&i<=8256},Vs=As,me="http://www.w3.org/XML/1998/namespace",Qt="http://www.w3.org/2000/xmlns/",Ls={__proto__:null,xml:me,xmlns:Qt},Ns={__proto__:null,amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},P=-1,ct=-2,q=13,Ht=33,nt=10,vt=60,Zt=61,j=62,F=63,Gt=93,fe=i=>i===34||i===39,gs=[34,39],Rs=[...gs,91,j],$s=[...gs,vt,Gt],Ms=[Zt,F,...ps],Hs=[...ps,j,38,vt];function Ee(i,t,s){switch(t){case"xml":s!==me&&i.fail(`xml prefix must be bound to ${me}.`);break;case"xmlns":s!==Qt&&i.fail(`xmlns prefix must be bound to ${Qt}.`)}switch(s){case Qt:i.fail(t===""?`the default namespace may not be set to ${s}.`:`may not assign a prefix (even "xmlns") to the URI ${Qt}.`);break;case me:switch(t){case"xml":break;case"":i.fail(`the default namespace may not be set to ${s}.`);break;default:i.fail("may not assign the xml namespace to another prefix.")}}}const js=i=>Vs.test(i),Xs=i=>Ps.test(i),ls={xmldecl:"xmldeclHandler",text:"textHandler",processinginstruction:"piHandler",doctype:"doctypeHandler",comment:"commentHandler",opentagstart:"openTagStartHandler",attribute:"attributeHandler",opentag:"openTagHandler",closetag:"closeTagHandler",cdata:"cdataHandler",error:"errorHandler",end:"endHandler",ready:"readyHandler"};class Fs{constructor(t){this.i=0,this.prevI=0,this.opt=t??{},this.fragmentOpt=!!this.opt.fragment;const s=this.xmlnsOpt=!!this.opt.xmlns;if(this.trackPosition=this.opt.position!==!1,this.fileName=this.opt.fileName,s){this.nameStartCheck=Os,this.nameCheck=Is,this.isName=js,this.processAttribs=this.processAttribsNS,this.pushAttrib=this.pushAttribNS,this.ns={__proto__:null,...Ls};const o=this.opt.additionalNamespaces;o!=null&&((function(n,a){for(const h of Object.keys(a))Ee(n,h,a[h])})(this,o),Object.assign(this.ns,o))}else this.nameStartCheck=ne,this.nameCheck=as,this.isName=Xs,this.processAttribs=this.processAttribsPlain,this.pushAttrib=this.pushAttribPlain;this.stateTable=[this.sBegin,this.sBeginWhitespace,this.sDoctype,this.sDoctypeQuote,this.sDTD,this.sDTDQuoted,this.sDTDOpenWaka,this.sDTDOpenWakaBang,this.sDTDComment,this.sDTDCommentEnding,this.sDTDCommentEnded,this.sDTDPI,this.sDTDPIEnding,this.sText,this.sEntity,this.sOpenWaka,this.sOpenWakaBang,this.sComment,this.sCommentEnding,this.sCommentEnded,this.sCData,this.sCDataEnding,this.sCDataEnding2,this.sPIFirstChar,this.sPIRest,this.sPIBody,this.sPIEnding,this.sXMLDeclNameStart,this.sXMLDeclName,this.sXMLDeclEq,this.sXMLDeclValueStart,this.sXMLDeclValue,this.sXMLDeclSeparator,this.sXMLDeclEnding,this.sOpenTag,this.sOpenTagSlash,this.sAttrib,this.sAttribName,this.sAttribNameSawWhite,this.sAttribValue,this.sAttribValueQuoted,this.sAttribValueClosed,this.sAttribValueUnquoted,this.sCloseTag,this.sCloseTagSawWhite],this._init()}get closed(){return this._closed}_init(){this.openWakaBang="",this.text="",this.name="",this.piTarget="",this.entity="",this.q=null,this.tags=[],this.tag=null,this.topNS=null,this.chunk="",this.chunkPosition=0,this.i=0,this.prevI=0,this.carriedFromPrevious=void 0,this.forbiddenState=0,this.attribList=[];const{fragmentOpt:t}=this;this.state=t?q:0,this.reportedTextBeforeRoot=this.reportedTextAfterRoot=this.closedRoot=this.sawRoot=t,this.xmlDeclPossible=!t,this.xmlDeclExpects=["version"],this.entityReturnState=void 0;let{defaultXMLVersion:s}=this.opt;if(s===void 0){if(this.opt.forceXMLVersion===!0)throw new Error("forceXMLVersion set but defaultXMLVersion is not set");s="1.0"}this.setXMLVersion(s),this.positionAtNewLine=0,this.doctype=!1,this._closed=!1,this.xmlDecl={version:void 0,encoding:void 0,standalone:void 0},this.line=1,this.column=0,this.ENTITIES=Object.create(Ns),this.readyHandler?.()}get position(){return this.chunkPosition+this.i}get columnIndex(){return this.position-this.positionAtNewLine}on(t,s){this[ls[t]]=s}off(t){this[ls[t]]=void 0}makeError(t){let s=this.fileName??"";return this.trackPosition&&(s.length>0&&(s+=":"),s+=`${this.line}:${this.column}`),s.length>0&&(s+=": "),new Error(s+t)}fail(t){const s=this.makeError(t),o=this.errorHandler;if(o===void 0)throw s;return o(s),this}write(t){if(this.closed)return this.fail("cannot write after close; assign an onready handler.");let s=!1;t===null?(s=!0,t=""):typeof t=="object"&&(t=t.toString()),this.carriedFromPrevious!==void 0&&(t=`${this.carriedFromPrevious}${t}`,this.carriedFromPrevious=void 0);let o=t.length;const n=t.charCodeAt(o-1);!s&&(n===13||n>=55296&&n<=56319)&&(this.carriedFromPrevious=t[o-1],o--,t=t.slice(0,o));const{stateTable:a}=this;for(this.chunk=t,this.i=0;this.i<o;)a[this.state].call(this);return this.chunkPosition+=o,s?this.end():this}close(){return this.write(null)}getCode10(){const t=this.chunk,s=this.i;if(this.prevI=s,this.i++,s>=t.length)return P;const o=t.charCodeAt(s);if(this.column++,o<55296){if(o>=32||o===9)return o;switch(o){case nt:return this.line++,this.column=0,this.positionAtNewLine=this.position,nt;case 13:return t.charCodeAt(s+1)===nt&&(this.i=s+2),this.line++,this.column=0,this.positionAtNewLine=this.position,ct;default:return this.fail("disallowed character."),o}}if(o>56319)return o>=57344&&o<=65533||this.fail("disallowed character."),o;const n=65536+1024*(o-55296)+(t.charCodeAt(s+1)-56320);return this.i=s+2,n>1114111&&this.fail("disallowed character."),n}getCode11(){const{chunk:t,i:s}=this;if(this.prevI=s,this.i=s+1,s>=t.length)return P;const o=t.charCodeAt(s);if(this.column++,o<55296){if(o>31&&o<127||o>159&&o!==8232||o===9)return o;switch(o){case nt:return this.line++,this.column=0,this.positionAtNewLine=this.position,nt;case 13:{const a=t.charCodeAt(s+1);a!==nt&&a!==133||(this.i=s+2)}case 133:case 8232:return this.line++,this.column=0,this.positionAtNewLine=this.position,ct;default:return this.fail("disallowed character."),o}}if(o>56319)return o>=57344&&o<=65533||this.fail("disallowed character."),o;const n=65536+1024*(o-55296)+(t.charCodeAt(s+1)-56320);return this.i=s+2,n>1114111&&this.fail("disallowed character."),n}getCodeNorm(){const t=this.getCode();return t===ct?nt:t}unget(){this.i=this.prevI,this.column--}captureTo(t){let{i:s}=this;const{chunk:o}=this;for(;;){const n=this.getCode(),a=n===ct,h=a?nt:n;if(h===P||t.includes(h))return this.text+=o.slice(s,this.prevI),h;a&&(this.text+=`${o.slice(s,this.prevI)}
|
|
7
7
|
`,s=this.i)}}captureToChar(t){let{i:s}=this;const{chunk:o}=this;for(;;){let n=this.getCode();switch(n){case ct:this.text+=`${o.slice(s,this.prevI)}
|
|
8
|
-
`,s=this.i,n=nt;break;case
|
|
9
|
-
`,t=this.i;break;case 59:{const{entityReturnState:o}=this,n=this.entity+s.slice(t,this.prevI);let a;this.state=o,n===""?(this.fail("empty entity name."),a="&;"):(a=this.parseEntity(n),this.entity=""),o===
|
|
10
|
-
`),t=this.i,s=0;break;case
|
|
11
|
-
`),t=this.i;break;case D:o!==void 0&&(this.text+=s.slice(t));break t;default:Y(a)||(n=!0)}}n&&(this.sawRoot||this.reportedTextBeforeRoot||(this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0))}pushAttribNS(t,s){const{prefix:o,local:n}=this.qname(t),a={name:t,prefix:o,local:n,value:s};if(this.attribList.push(a),this.attributeHandler?.(a),o==="xmlns"){const h=s.trim();this.currentXMLVersion==="1.0"&&h===""&&this.fail("invalid attempt to undefine prefix in XML 1.0"),this.topNS[n]=h,Ee(this,n,h)}else if(t==="xmlns"){const h=s.trim();this.topNS[""]=h,Ee(this,"",h)}}pushAttribPlain(t,s){const o={name:t,value:s};this.attribList.push(o),this.attributeHandler?.(o)}end(){this.sawRoot||this.fail("document must contain a root element.");const{tags:t}=this;for(;t.length>0;){const o=t.pop();this.fail(`unclosed tag: ${o.name}`)}this.state!==0&&this.state!==W&&this.fail("unexpected end.");const{text:s}=this;return s.length!==0&&(this.textHandler?.(s),this.text=""),this._closed=!0,this.endHandler?.(),this._init(),this}resolve(t){let s=this.topNS[t];if(s!==void 0)return s;const{tags:o}=this;for(let n=o.length-1;n>=0;n--)if(s=o[n].ns[t],s!==void 0)return s;return s=this.ns[t],s!==void 0?s:this.opt.resolvePrefix?.(t)}qname(t){const s=t.indexOf(":");if(s===-1)return{prefix:"",local:t};const o=t.slice(s+1),n=t.slice(0,s);return(n===""||o===""||o.includes(":"))&&this.fail(`malformed name: ${t}.`),{prefix:n,local:o}}processAttribsNS(){const{attribList:t}=this,s=this.tag;{const{prefix:a,local:h}=this.qname(s.name);s.prefix=a,s.local=h;const f=s.uri=this.resolve(a)??"";a!==""&&(a==="xmlns"&&this.fail('tags may not have "xmlns" as prefix.'),f===""&&(this.fail(`unbound namespace prefix: ${JSON.stringify(a)}.`),s.uri=a))}if(t.length===0)return;const{attributes:o}=s,n=new Set;for(const a of t){const{name:h,prefix:f,local:P}=a;let x,S;f===""?(x=h==="xmlns"?Zt:"",S=h):(x=this.resolve(f),x===void 0&&(this.fail(`unbound namespace prefix: ${JSON.stringify(f)}.`),x=f),S=`{${x}}${P}`),n.has(S)&&this.fail(`duplicate attribute: ${S}.`),n.add(S),a.uri=x,o[h]=a}this.attribList=[]}processAttribsPlain(){const{attribList:t}=this,s=this.tag.attributes;for(const{name:o,value:n}of t)s[o]!==void 0&&this.fail(`duplicate attribute: ${o}.`),s[o]=n;this.attribList=[]}openTag(){this.processAttribs();const{tags:t}=this,s=this.tag;s.isSelfClosing=!1,this.openTagHandler?.(s),t.push(s),this.state=W,this.name=""}openSelfClosingTag(){this.processAttribs();const{tags:t}=this,s=this.tag;s.isSelfClosing=!0,this.openTagHandler?.(s),this.closeTagHandler?.(s),(this.tag=t[t.length-1]??null)===null&&(this.closedRoot=!0),this.state=W,this.name=""}closeTag(){const{tags:t,name:s}=this;if(this.state=W,this.name="",s==="")return this.fail("weird empty close tag."),void(this.text+="</>");const o=this.closeTagHandler;let n=t.length;for(;n-- >0;){const a=this.tag=t.pop();if(this.topNS=a.ns,o?.(a),a.name===s)break;this.fail("unexpected close tag.")}n===0?this.closedRoot=!0:n<0&&(this.fail(`unmatched closing tag: ${s}.`),this.text+=`</${s}>`)}parseEntity(t){if(t[0]!=="#"){const o=this.ENTITIES[t];return o!==void 0?o:(this.fail(this.isName(t)?"undefined entity.":"disallowed character in entity name."),`&${t};`)}let s=NaN;return t[1]==="x"&&/^#x[0-9a-f]+$/i.test(t)?s=parseInt(t.slice(2),16):/^#[0-9]+$/.test(t)&&(s=parseInt(t.slice(1),10)),this.isChar(s)?String.fromCodePoint(s):(this.fail("malformed character entity."),`&${t};`)}}var Oe,mt;(mt=Oe||(Oe={})).Events={XmlDecl:"xmldecl",Text:"text",ProcessingInstruction:"processinginstruction",Doctype:"doctype",Comment:"comment",OpenTagStart:"opentagstart",Attribute:"attribute",OpenTag:"opentag",CloseTag:"closetag",CDdata:"cdata",Error:"error",End:"end",Ready:"ready"},mt.parseStream=async(i,t,s)=>{const o=new Fs({position:!1,...s});let n;if(t.onOpenTagStart&&o.on(mt.Events.OpenTagStart,t.onOpenTagStart),t.onOpenTag&&o.on(mt.Events.OpenTag,t.onOpenTag),t.onCloseTag&&o.on(mt.Events.CloseTag,t.onCloseTag),t.onAttribute&&o.on(mt.Events.Attribute,t.onAttribute),t.onText&&o.on(mt.Events.Text,t.onText),t.onError&&o.on(mt.Events.Error,t.onError),t.onEnd){t.onEnd;const a=()=>{n=t.onEnd()};o.on(mt.Events.End,a)}for(;;){const{value:a,done:h}=await i.read();if(h)break;o.write(a)}return o.close(),n};const v=i=>i===!0||i==="1"||i==="on"||i==="true"||i!==!1&&i!=="0"&&i!=="off"&&i!=="false"&&null,A=i=>{const t=parseInt(i);return isNaN(t)?null:t},ht=i=>{const t=parseFloat(i);return isNaN(t)?null:t},k=null;class Bs{constructor(){this._registeredVisitors=new Map}registerVisitor(t){this._registeredVisitors.set(t.from,t)}createEventHandler(t,s,o){const n=this._registeredVisitors,a=[];let h=null,f=null,P=null,x=null;const S=[],E={key:null,source:t};let b=null,R=!1;const _=(m,c)=>{let y=P.attributes[m];if(c){if(Array.isArray(c)){for(let O=0;O<c.length;O++)if(y==null||(y=c[O](y),y==null))return}else if(y==null||(y=c(y),y==null))return}return y},T={getSource:()=>b.source,setSource:m=>{b.source=m},setKey:m=>{b.key=m},getFrom:()=>P,getAttribute:(m,c)=>_(m,c)??null,hasAttribute:m=>T.getAttribute(m)!==null,getParent:()=>S[S.length-2].source,getPath:()=>{const m=[];for(let c=0;c<a.length;c++)m.push(a[c].local);return m.join("\\")},parseAttribute:_,copyToObject:(m,c,y,O)=>{const z=_(O??c,y);z!==void 0&&(m[c]=z)},copyTo:(m,c,y)=>{const O=_(y??m,c);O!==void 0&&(b.source[m]=O)},warn:m=>{o?o?.(m):console.warn(m)}};return{onOpenTag:m=>{let c=m.name;const y=c.indexOf(":");y!==-1&&(c=c.slice(y+1));const O=n.get(c);if(h={local:c,visitor:O,tag:m,destination:null},R)return a.push(h),f=c,void(P=m);x=h?.visitor??null,O&&(b=a.length===0?E:x?.to!==null?{key:null,source:{}}:null,h.destination=b,b&&S.push(b)),a.push(h),f=c,P=m,R=x?.to===null,x?.openTag?.(T)},onCloseTag:m=>{let c=m.name;const y=c.indexOf(":");if(y!==-1&&(c=c.slice(y+1)),c!==f)throw new Error(`mismatch open/close tag: '${c}'/'${f}'`);R||x?.closeTag?.(T);const O=a.pop()??null;h=a[a.length-1]??null;const z=O?.destination;if(z){S.pop(),b=S[S.length-1]??E;const ut=O.visitor;ut&&ut.to&&z.source!==void 0&&(Array.isArray(ut.to)?b.source.push?b.source.push(z.source):o?.(`Unable to parse array for ${ut.from} at ${T.getPath()}`):z.key?b.source[z.key]=z.source:typeof ut.to=="string"&&(b.source[ut.to]=z.source))}f=h?.local??null,P=h?.tag??null,x=h?.visitor??null,R=!h?.destination},onText:m=>{x?.text?.(m,T)},onEnd:s}}}const cs=(i,t,s,o=null)=>{if(!i)return null;let n=i;n.startsWith("/")&&(n=n.substring(1));let a=o?.parsedRefs?.get(i);if(a!==void 0)return a;const h=t(n);if(!h)return null;let f=h.content;try{s&&(f=s(f))}catch(P){console.warn(P)}return o?.parsedRefs?.set(i,f),f},Ie=(i,t,s,o,n=null)=>{if(!i)return null;let a=i;a.startsWith("/")&&(a=a.substring(1));let h=n?.parsedRefs?.get(i);if(h!==void 0)return h;const f=t(a);if(!f)return null;const P=f.content;try{const x=new TextDecoder().decode(P),S=s.parseFromString(x,"text/xml"),E=o.convert(S,i,n);return n?.parsedRefs?.set(i,E),E}catch(x){console.warn(x)}return null},Ut=(i,t,s,o,n=null)=>{const a=new Map;let h=t.Directory[i];const f=h?h.length:0;for(let P=0;P<f;P++){const x=h[P];if(!x)continue;let S=x;S.startsWith("/")&&(S=S.substring(1));const E=Ie(S,b=>t.files[b],s,o,n);a.set(S,E)}return a},qs=["lt1","dk1","lt2","dk2","accent1","accent2","accent3","accent4","accent5","accent6","hlink","folHlink"],Ve=(i,t="dk1")=>{let s;const o=i("auto");o===void 0||o!=="1"&&o!=="true"||(s=t);const n=i("indexed");n&&(s=`index${n}`);const a=i("rgb");a&&(s=a.toLowerCase(),a.length!==8||a.startsWith("FF")||(s="FF"+a.substring(2,a.length)));const h=i("theme");h&&(s=qs[h]);let f=i("tint");if(f&&(s+=` ${d.T.AdjustmentType.ETint} ${parseFloat(f)}`),s)return s},fs=i=>i&&i.replace(/^\{([\s\S]+)\}$/,"$1"),ms=i=>i==="true"||i==="1";class jt{static{this.Collapsed=1}static{this.CustomFormat=2}static{this.CustomHeight=4}static{this.Hidden=8}static{this.Ht=16}static{this.OutlineLevel=32}static{this.Ph=64}static{this.R=128}static{this.S=256}static{this.Spans=512}static{this.ThickBot=1024}static{this.ThickTop=2048}}const Ws=(i,t,s)=>{if(i[0].value[0]===i[1].value[0])return t},hs={colStart:0,colEnd:0,rowStart:0,rowEnd:0},_s=Object.freeze(Object.defineProperty({__proto__:null,fromBufferXLSX:async(i,t)=>{const{password:s,createWorkbookOptions:o={},...n}=t??{},a=[],h=t?.progress,f=h?.onStart?.(t?.name??"Parsing XLSX");await Promise.resolve(f);const P=h?.onProgress;let x=0;const S=Promise.resolve().then(()=>require("./C5JmtvL0MfOaJHKx.cjs")),E=Promise.resolve().then(()=>require("./-K-Cg0HmbeGE-nXG.cjs"));let b=null;try{b=new DOMParser}catch{}let R=null;b||(R=Promise.resolve().then(()=>require("./DJ-RIrnDuRHuodF4.cjs")).then(c=>c.i));let _=null,T=null,m=null;try{const c=await Promise.all([S,E,R]);_=c[0],T=c[1],m=c[2]}catch(c){throw new Error("Unable to load XLSX parser.",{cause:c})}try{const c=_.read(i,{type:"array",sheets:[],cellStyles:!1,bookFiles:!0});if(!c.Directory)throw new d.vt("Unable to parse as an Excel document. Try to save as '.xlsx' and try again.");c.Directory.richstructure=["/xl/richData/rdrichvaluestructure.xml"],c.Directory.richdata=["/xl/richData/rdrichvalue.xml"];const y=new T.FromOOXMLConverter,O=b??new m.DOMParser,z=o?.resources??new d.km,ut=z.beginPersist(),Le={},Ne=new Set,Te=new Map;Te.set("richTypes",[]);const Re=new Map,Me=[],ae=w=>c.files[w],ye=(w,B)=>{const Z=w.lastIndexOf("/"),et=w.substring(0,Z+1)+"_rels/"+w.substring(Z+1,w.length)+".rels";let dt=B.get(et);return dt||(dt=((L,ve,Se,Ce,Xt=null)=>{if(!L)return null;const st=Ie(L,ve,Se,Ce,Xt);if(!st)return null;const it=new Map,yt=Object.keys(st),Ft=yt.length;for(let bt=0;bt<Ft;bt++){const Bt=yt[bt],Ct=st[Bt];it.set(Bt,Ct)}return it})(et,ae,O,y,Tt),B.set(et,dt)),dt},le=(w,B,Z,et=Re)=>{let dt=ye(B,et).get(w),L=dt?.target;if(!L)return null;if(dt.targetMode==="External")return dt.target;const ve=B.lastIndexOf("/"),Se=B.substring(0,ve+1);L.startsWith("/")||(L=Se+L),L=(st=>{const it=st.split(/\/+/);return it.reduce((yt,Ft,bt)=>(Ft==="."?yt.splice(bt,1):Ft===".."&&yt.splice(bt-1,2),yt),it).join("/")})(L);const Ce=y?.getVisitorParamsState().get("dxfs");let Xt=et.get(L);if(!Xt)if(dt.type==="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet"){const st={};Xt=st;const it=async()=>{const yt=((M,X,Qt,U,Q,G,Jt,kt)=>{const u=new Bs,J=new d.jt.TransposedBuilder;let H=null;u.registerVisitor({from:"autoFilter",to:"filter",openTag:e=>{e.copyTo("ref",k)}}),u.registerVisitor({from:"conditionalFormatting",to:{},openTag:e=>{const r=e.getParent();r.conditionals||(r.conditionals=[]),r.conditionals.push(e.getSource());const l=e.getAttribute("sqref");l&&(e.getSource().ref=l.split(" ").join(",")),e.copyTo("pivot",v)},closeTag:e=>{const r=e.getSource();if(r.rule){const l=Object.keys(r.rule);for(let p=0;p<l.length;p++){const I=l[p];I!=="rule"&&(r[I]=r.rule[I])}}delete r.rule}}),u.registerVisitor({from:"cfRule",to:"rule",openTag:e=>{const r=e.getParent();e.copyToObject(r,"type",k),e.copyToObject(r,"priority",A),e.copyToObject(r,"stopIfTrue",v);const l=e.getAttribute("dxfId",A);if(l!==null){let p=U?.get(l);p||(G?.(`Unable to load conditional color. Invalid dxfI: '${l}' at '${e.getPath()}'.`),p={}),r.style=p}e.copyToObject(r,"aboveAverage",v),e.copyToObject(r,"equalAverage",v),e.copyToObject(r,"stdDev",A),e.copyToObject(r,"bottom",v),e.copyToObject(r,"percent",v),e.copyToObject(r,"rank",A),e.copyToObject(r,"operator",k),e.copyToObject(r,"text",k),e.copyToObject(r,"timePeriod",k)}}),u.registerVisitor({from:"colorScale",to:"colorScale"}),u.registerVisitor({from:"dataBar",to:"dataBar",openTag:e=>{e.copyTo("maxLength",A),e.copyTo("minLength",A),e.copyTo("showValue",v)}}),u.registerVisitor({from:"iconSet",to:"iconSet",openTag:e=>{e.copyTo("iconSet",k),e.copyTo("reverse",v),e.copyTo("showValue",v)}}),u.registerVisitor({from:"formula",to:null,text:(e,r)=>{const l=r.getParent();let p=l.formulas;p||(p=[],l.formulas=p),p.push(e)}}),u.registerVisitor({from:"cfvo",to:{},openTag:e=>{const r=e.getParent();r.conditions||(r.conditions=[]),r.conditions.push(e.getSource()),e.copyTo("type",k),e.copyTo("value",ht,"val"),e.copyTo("gte",v)}}),u.registerVisitor({from:"color",to:{},openTag:e=>{const r=e.getParent();r.colors||(r.colors=[]);const l=Ve(p=>e.getAttribute(p));r.colors.push(l)}}),u.registerVisitor({from:"filterColumn",to:"filterColumn",openTag:e=>{const r=e.getParent();r.fields||(r.fields=[]),r.fields.push(e.getSource()),e.copyTo("offset",A,"colId"),e.copyTo("hiddenButton",v),e.copyTo("showButton",v)}}),u.registerVisitor({from:"colorFilter",to:"colorFilter",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=d.uu.Type.Color,e.copyTo("cellColor",v),e.copyTo("styleId",A,"dxfId")}}),u.registerVisitor({from:"dynamicFilter",to:"dynamicFilter",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=d.uu.Type.Dynamic,e.copyTo("dynamicType",k,"type"),e.copyTo("val",ht),e.copyTo("maxVal",ht,"maxVal")}}),u.registerVisitor({from:"iconFilter",to:"iconFilter",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=d.uu.Type.Icon,e.copyTo("iconId",A),e.copyTo("iconSet",k)}}),u.registerVisitor({from:"top10",to:"top10",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=d.uu.Type.Top10,e.copyTo("filterVal",ht),e.copyTo("percent",v),e.copyTo("top",v),e.copyTo("val",ht)}}),u.registerVisitor({from:"filters",to:"filters",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=d.uu.Type.Items,e.copyTo("blank",v),e.copyTo("calendarType",k)}}),u.registerVisitor({from:"dateGroupItem",to:"dateGroupItem",openTag:e=>{const r=e.getParent();r.dateGroups||(r.dateGroups=[]),r.dateGroups.push(e.getSource()),e.copyTo("group",k,"dateTimeGrouping"),e.copyTo("day",A),e.copyTo("hour",A),e.copyTo("minute",A),e.copyTo("month",A),e.copyTo("second",A),e.copyTo("year",A)}}),u.registerVisitor({from:"filter",to:"filter",openTag:e=>{const r=e.getParent();r.items||(r.items=[]),r.items.push(e.getAttribute("val",ht))}}),u.registerVisitor({from:"customFilters",to:"customFilters",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=d.uu.Type.Custom,e.copyTo("and",v)}}),u.registerVisitor({from:"customFilter",to:"customFilter",openTag:e=>{const r=e.getParent();r.filters||(r.filters=[]),r.filters.push(e.getSource()),e.copyTo("operator",k),e.copyTo("value",ht,"val")}}),u.registerVisitor({from:"sortState",to:"sort",openTag:e=>{e.copyTo("ref",k)}}),u.registerVisitor({from:"sortCondition",to:"sortCondition",openTag:e=>{const r=e.getParent();r.fields||(r.fields=[]);const l=e.getSource();r.fields.push(l),e.copyTo("sortOn",k,"sortBy"),e.copyTo("dxfId",k,"sortBy"),e.copyTo("iconSet",k),e.copyTo("customList",k);const p=e.getAttribute("ref");if(p){const I=d.Yr.fastStringToRange(p,hs).colStart,K=d.Yr.fastStringToRange(r.ref,hs),qt=K.colStart;l.offset=K?I-qt:I}l.reverse=e.getAttribute("descending",v)??!1}}),u.registerVisitor({from:"AlternateContent",to:null});const de=e=>{H=e.getSource(),e.copyTo("topLeft",k,"topLeftCell");const r=ms(e.getAttribute("defaultGridColor")),l=e.getAttribute("colorId");l===null||r||(e.getSource().gridLineColor="index"+parseFloat(l)),e.copyTo("showZeros",v),e.copyTo("showFormulas",v),e.copyTo("zoomScale",A),e.copyTo("showRowHeaders",v,"showRowColHeaders"),e.copyTo("showColumnHeaders",v,"showRowColHeaders"),e.copyTo("showRowGridlines",v,"showGridLines"),e.copyTo("showColumnGridlines",v,"showGridLines")};u.registerVisitor({from:"sheetView",to:"view",openTag:e=>{de(e)},closeTag:()=>{H=null}}),u.registerVisitor({from:"customSheetViews",to:"customSheetViews",openTag:e=>{e.setSource([])}}),u.registerVisitor({from:"customSheetView",to:[],openTag:e=>{de(e)},closeTag:()=>{H=null}}),u.registerVisitor({from:"selection",to:"selection",openTag:e=>{if(!H)return;e.copyTo("cell",k,"activeCell"),e.copyTo("rangeIndex",A,"activeCellId");const r=e.getAttribute("activeCell"),l=e.getAttribute("sqref");l&&l!==r&&(e.getSource().ranges=l.split(" "))}}),u.registerVisitor({from:"pane",to:"pane",openTag:e=>{if(H&&e.getAttribute("state")==="frozen"){const r={};H.freezePanes=r,e.copyToObject(r,"topLeft",k,"topLeftCell");const l=H.topLeft?d.Yr.fastStringToCell(H.topLeft):{colIndex:0,rowIndex:0},p={colIndex:0,rowIndex:0};e.copyToObject(p,"colIndex",A,"xSplit"),e.copyToObject(p,"rowIndex",A,"ySplit");const I={colIndex:l.colIndex+p.colIndex,rowIndex:l.rowIndex+p.rowIndex};r.coords=d.Yr.cellToString(I)}}}),u.registerVisitor({from:"tabColor",to:null,openTag:e=>{const r=Ve(l=>e.getAttribute(l));r&&(M.tabColor=r)}}),u.registerVisitor({from:"pageSetUpPr",to:"pageSetUpPr",openTag:e=>{}}),u.registerVisitor({from:"outlinePr",to:"outlinePr",openTag:e=>{}}),u.registerVisitor({from:"pageMargins",to:"pageMargins",openTag:e=>{}}),u.registerVisitor({from:"pageSetup",to:"pageSetup",openTag:e=>{}}),u.registerVisitor({from:"printOptions",to:"printOptions",openTag:e=>{}}),u.registerVisitor({from:"mergeCells",to:"merges",openTag:e=>{e.setSource([])}}),u.registerVisitor({from:"mergeCell",to:[],openTag:e=>{const r=e.getAttribute("ref");e.setSource(r)}}),u.registerVisitor({from:"hyperlinks",to:"hyperlinks",openTag:e=>{e.setSource([])}}),u.registerVisitor({from:"hyperlink",to:[],openTag:e=>{const r=e.getAttribute("r:id"),l=e.getAttribute("ref");if(!l)return void console.warn("No ref found for hyperlink");e.setKey(l);let p=r?X(r):"";if(typeof p!="string")return void console.warn("Invalid address ",p);const I=e.getAttribute("location");p.endsWith("\\")&&(p=p.substring(0,p.length-1));const K=e.getAttribute("location");if(K&&(I&&I!==K&&console.warn("display and location are different",I,K),p+="#"+K),!p)return void console.warn("No address found for hyperlink. r:id",r);let qt;const xt=e.getAttribute("tooltip");qt=xt?{address:p,tooltip:xt}:p,e.setSource({r:l,v:qt})}}),u.registerVisitor({from:"drawing",to:"movables",openTag:e=>{const r=e.getAttribute("r:id");if(!r)return;const l=X(r);l?e.setSource(l.movables):console.warn("no drawing found for rId",r)}}),u.registerVisitor({from:"tableParts",to:"tables",openTag:e=>{e.setSource([])}}),u.registerVisitor({from:"tablePart",to:[],openTag:e=>{const r=e.getAttribute("r:id");if(!r)return;const l=X(r);l?e.setSource(l):console.warn("no table found for rId",r)}}),u.registerVisitor({from:"worksheet",to:"worksheet",openTag:e=>{}}),u.registerVisitor({from:"sheetProtection",to:"protection",openTag:e=>{let r=!1;if(e.hasAttribute("sheet")&&v(e.getAttribute("sheet"))&&(r=!0),!r)return void e.setSource(void 0);const l=I=>I===!0||I==="1"||I==="on"||I==="true"||I===!1||I==="0"||I==="off"||I==="false"||null;e.copyTo("autoFilter",l),e.copyTo("deleteColumns",l),e.copyTo("formatCells",l),e.copyTo("formatColumns",l),e.copyTo("formatRows",l),e.copyTo("insertColumns",l),e.copyTo("insertHyperlinks",l),e.copyTo("insertRows",l),e.copyTo("objects",l),e.copyTo("pivotTables",l),e.copyTo("scenarios",l),e.copyTo("selectUnlockedCells",l),e.copyTo("selectUnlockedCells",l),e.copyTo("sort",l);const p={};e.copyToObject(p,"hash",k,"hashValue"),e.copyToObject(p,"algorithm",k,"algorithmName"),e.copyToObject(p,"salt",k,"saltValue"),e.copyToObject(p,"spinCount",A),Object.keys(p).length>0&&(e.getSource().password=p)}}),u.registerVisitor({from:"protectedRanges",to:"protectedRanges",openTag:e=>{e.setSource({})}}),u.registerVisitor({from:"protectedRange",to:{},openTag:e=>{const r=e.getAttribute("sqref");e.setKey(r),e.copyTo("name"),e.copyTo("securityDescriptor");const l={};e.copyToObject(l,"hash",k,"hashValue"),e.copyToObject(l,"algorithm",k,"algorithmName"),e.copyToObject(l,"salt",k,"saltValue"),e.copyToObject(l,"spinCount",A),Object.keys(l).length>0&&(e.getSource().password=l)}}),u.registerVisitor({from:"sheetFormatPr",to:"sheetFormatPr",openTag:e=>{e.copyToObject(M,"defaultColSize",ht,"defaultColWidth"),e.copyToObject(M,"outlineLevelCol",A,"outlineLevelCol");const r=e.getAttribute("customHeight");r!=="1"&&r!=="true"||e.copyToObject(M,"defaultRowSize",ht,"defaultRowHeight"),e.copyToObject(M,"outlineLevelRow",A,"outlineLevelRow")}}),u.registerVisitor({from:"cols",to:"cols",openTag:e=>{e.setSource([])}}),u.registerVisitor({from:"col",to:[],openTag:e=>{e.copyTo("min",r=>parseInt(r)-1),e.copyTo("max",r=>parseInt(r)-1),e.copyTo("sz",ht,"width"),e.copyTo("cs",v,"customWidth"),e.copyTo("h",v,"hidden"),e.copyTo("l",A,"outlineLevel"),e.copyTo("s",A,"style")}}),u.registerVisitor({from:"oleObjects",to:null,openTag:e=>{e.warn("'OLE Objects' are not supported.")}});let Kt=null;const Ss={onOpenTag:e=>{Kt===null&&(Kt="")},onText:e=>{Kt+=e},onEnd:()=>{const e=Qt(Kt);return Kt=null,e},onError:e=>{}};return((e,r,l,p,I,K,qt)=>{let xt=!1,pe=!1,Wt=[],_t=!1,At=null,te=null,ge=null,at=null,qe=null,We=null;const Cs=qt?.get("richData")??[],_e=d.Yr.normalizeA1ToR1C1,ze=d.Ht.createConflatingRanges(),Ue=new Map,ke=[];let ee=null;const Ge=d.Ht.createConflatingRanges();let se,Pt=!1,q=-1,tt=-1,pt=null,ie=null;const Ae=[];let Pe=null,Ye=-2,gt=0,zt="",Dt="",Et="",Ot="",It="",Vt="",Lt="",Ze="",Qe="",Je="",Ke="",ts="",es="",ss="",ft=!0,Nt=null,De=0;return{...l,onEnd:()=>{Ae.length>0&&(r.rows=Ae);let g=ze.done(Ws);const C=g.length;if(C>0){const $=new Array(C);for(let V=0;V<C;V++){const lt=g[V],Rt=d.Yr.rangeToString(lt),Mt=lt.value[1],oe=d.Yr.resolveRelativeToA1(Mt,lt.rowStart,lt.colStart);$[V]=[Rt,oe]}r.formulas=$}const ot=Ge.done(!0),N=ot.length;if(N>0){const $=new Array(N);for(let V=0;V<N;V++){const lt=ot[V],Rt=d.Yr.rangeToString(lt);$[V]=Rt}r.volatile=$}if(ke.length>0&&(r.dynamicArray=[...ke]),Wt.length>0){Wt.sort(d.Ht.createRangeComparator(d.w.Orientation.Column));const $=[];let V=null,lt=-1,Rt=-1,Mt=-1,oe=-1,wt=null;const is=Wt.length;is>0&&(V=Wt[0],lt=V.colStart,Rt=V.colEnd,Mt=V.rowEnd,oe=V.value,$.push(V));for(let $t=1;$t<is;$t++)wt=Wt[$t],oe!==wt.value||lt!==wt.colStart||Rt!==wt.colEnd||Mt+1!==wt.rowEnd?($.push(wt),V=wt,lt=V.colStart,Rt=V.colEnd,Mt=V.rowEnd,oe=V.value):(Mt=wt.rowEnd,V.rowEnd=Mt);let os=[];for(let $t=0;$t<$.length;$t++){const re=$[$t];os.push({r:{colStart:re.colStart,colEnd:re.colEnd,rowStart:re.rowStart,rowEnd:re.rowEnd},v:re.value})}r.directStyles=os}const rt=e.build();if(rt){const $=rt.tuples;r.data=$}l?.onEnd?.()},onOpenTag:g=>{let C=g.name;const ot=C.indexOf(":");if(ot!==-1&&(C=C.slice(ot+1)),De++,De%196608==0&&I(De),se){const N=g.attributes;switch(C){case"v":pe=!0;break;case"f":switch(N.t??null){case null:case"normal":_t=!0;break;case"shared":const rt=N.si;te=N.ref,At=rt;break;case"array":_t=!0,te=N.ref,ee=[te,!1];break;case"datatable":_t=!0,te=N.ref,_t=!0}N.ca!==void 0&&Ge.append(q,tt);break;case"is":return void(Pt=!0)}return void(Pt&&K?.onOpenTag(g))}if(xt){if(C==="c"){se=g;const N=g.attributes.r;tt=d.Yr.fastStringToCol(N);const rt=g.attributes.t;rt===void 0?ie=null:(ie=rt,ie==="str"&&(Pt=!0));let $=g.attributes.s;$!==void 0&&($=parseInt($),Nt&&Nt.value===$&&Nt.colEnd+1===tt?Nt.colEnd=tt:(Nt={colStart:tt,rowStart:q,colEnd:tt,rowEnd:q,value:$},Wt.push(Nt)))}}else{if(C==="row"){xt=!0;const N=g.attributes.r;if(q=parseInt(N)-1,gt=0,Dt=g.attributes.customHeight,Dt!==void 0&&(gt|=jt.CustomHeight),Dt!==Qe&&(ft=!0,Qe=Dt),zt=g.attributes.ht,zt!==void 0&&(gt|=jt.Ht),zt!==Ze&&(ft=!0,Ze=zt),Et=g.attributes.hidden,Et!==void 0&&(gt|=jt.Hidden),Et!==Je&&(ft=!0,Je=Et),It=g.attributes.s,It!==void 0&&(gt|=jt.S),It!==ts&&(ft=!0,ts=It),Ot=g.attributes.customFormat,Ot!==void 0&&(gt|=jt.CustomFormat),Ot!==Ke&&(ft=!0,Ke=Ot),Vt=g.attributes.outlineLevel,Vt!==void 0&&(gt|=jt.OutlineLevel),Vt!==es&&(ft=!0,es=Vt),Lt=g.attributes.collapsed,Lt!==void 0&&(gt|=jt.Collapsed),Lt!==ss&&(ft=!0,ss=Lt),gt!==0)if(Ye+1!==q||ft){const rt=Dt!==void 0&&(Dt==="1"||Dt==="true"),$=Ot!==void 0&&(Ot==="1"||Ot==="true");Pe={min:q,max:q,sz:rt&&zt!==void 0?parseFloat(zt):-1,csz:rt,h:Et!==void 0&&(Et==="1"||Et==="true"),s:rt&&It!==void 0&&It!=="0"?parseInt(It):0,cs:$,l:Vt===void 0||Vt==="0"?0:parseInt(Vt),cl:Lt!==void 0&&(Lt==="1"||Lt==="true")},Ae.push(Pe)}else Pe.max=q;return Ye=q,void(ft=!1)}l?.onOpenTag(g)}},onCloseTag:g=>{if(se){let C=g.name;const ot=C.indexOf(":");if(ot!==-1&&(C=C.slice(ot+1)),Pt)if(C==="is"||C==="v"){const N=K?.onEnd();N!==null&&e.addValue(q,tt,""+N)}else K?.onCloseTag?.(g);return pe&&(pe=!1),void(C==="c"&&(se=null,Pt=!1))}if(xt)return xt=!1,void(Nt=null);l?.onCloseTag(g)},onText:g=>{if(g=g.trim(),pe){switch(pt=null,ie){case null:case"n":pt=parseFloat(g);break;case"b":pt=g==="1"||g==="true";break;case"s":pt=g;break;case"e":if(g==="#VALUE!"){const ot=se.attributes.vm;if(ot!==void 0){const N=Cs[parseInt(ot)-1];if(N&&N.isFormulaError){pt={t:d.M.Error,v:N.getCode()};break}}}const C=d.n.getBuiltInByLabel(g);C?pt={t:d.M.Error,v:C.getCode()}:(pt=g,p?.(`Unknown formula error '${g}' in cell ${d.Yr.cellToString({colIndex:tt,rowIndex:q})}`));break;case"str":case"inlineStr":Pt=!0}pt!==null&&e.addValue(q,tt,pt)}if(ee&&(ie==="e"&&(ee[1]=!0),ke.push(ee),ee=null),At)if(qe===At)at=We;else{if(at=Ue.get(At),!at){const C=[];ge=_e(g,q,tt,C),at=[ge,C,g],Ue.set(At,at)}qe=At,We=at}if(_t){const C=[];ge=_e(g,q,tt,C),at=[ge,C,g]}if(at)return ze.append(q,tt,at),at=null,_t=!1,At=null,void(te=null);Pt?K?.onText(g):xt||l?.onText(g)}}})(J,M,u.createEventHandler(M,()=>{},G),G,e=>{x+=e,P?.(x)},Ss,kt)})(st,(M,X=!1)=>le(M,L,X)??null,ys,Ce,0,(M,X)=>{X=X?`${X} (${L})`:L,a.push([M,X])},0,Te),Ft=cs(L,ae),bt=await(async(M,X=8388608)=>{await(async()=>{if(typeof ReadableStream>"u")if(typeof window>"u"){const{ReadableStream:G}=await Promise.resolve().then(()=>require("./CKdY1UmAxv2u4Bda.cjs"));globalThis.ReadableStream=G}else console.warn("Browser does not support ReadableStream; consider loading a polyfill.")})();const Qt=new TextDecoder("utf-8");let U=0;const Q=M instanceof Uint8Array?M:new Uint8Array(M);return new ReadableStream({pull(G){if(U>=Q.byteLength)return void G.close();const Jt=Q.subarray(U,Math.min(U+X,Q.byteLength)),kt=Qt.decode(Jt,{stream:U+X<Q.byteLength});G.enqueue(kt),U+=Jt.length}}).getReader()})(Ft);try{await Oe.parseStream(bt,yt,{xmlns:!1})}catch(M){throw console.warn(`Error parsing sheet: '${L}'`,M),new Error(`Error parsing sheet: '${L}'`,{cause:M})}const Bt=ye(L,et);let Ct,Be=new Map;if(Bt){const M="http://schemas.microsoft.com/office/2017/10/relationships/threadedComment";let X;Bt.forEach((U,Q)=>{U.type===M&&(Ct=le(Q,L,!1,et)?.comments,Ct&&Ct.forEach(G=>{Be.set(G.id,G)}))});const Qt="http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments";if(Bt.forEach((U,Q)=>{U.type===Qt&&(X=le(Q,L,!1,et))}),X||Ct){const U=Ct??[],Q=X?.comments;if(Q){const G=X?.authors,Jt=Q.length;for(let kt=0;kt<Jt;kt++){const u=Q[kt];if(!u)continue;let J=G&&u.authorId!==void 0?G[u.authorId]:u.authorId;if(J&&J.startsWith("tc=")&&(J=fs(J.substring(3)),Be.has(J)))continue;let H=null;J&&(H=he.get(J)),H||(H=je.get(J)),H||(H={id:d.te.uuidV4(),displayName:J},je.set(H.displayName,H),he.set(H.id,H)),J=H?.id??null;const de={id:d.te.uuidV4(),personId:J,ref:u.ref,done:!1,asNote:!0,content:u.content};U.push(de)}}st.comments=U}}};Me.push(it())}else Xt=Z?cs(L,ae,st=>{const it=z.add({buffer:st});return it.addReference(Le),Ne.add(it),ut.toResourceId(it)},Tt):Ie(L,ae,O,y,Tt);return Xt},Tt={paramMap:Te,getRefs:ye,getRef:le,parsedRefs:Re,addPerson:w=>null},ce=[];let be=0;c.Strings&&(be=parseInt(c.Strings.Unique??c.Strings.length??0));const Ts=c.Strings??[];for(let w=0;w<be;w++)ce.push(Ts[w]?.t??"");const $e=new Map;let He=be;const ys=w=>{const B=$e.get(w);if(B!==void 0)return B;const Z=He;return $e.set(w,He++),ce.push(w),Z},he=(Ut("richstructure",c,O,y,Tt),Ut("richdata",c,O,y,Tt),new Map),je=new Map,Xe=Ut("people",c,O,y);let St=null;if(Xe.size>0&&(St=Xe.entries().next()?.value?.[1]?.persons,St)){const w=St.length;for(let B=0;B<w;B++){const Z=St[B];he.set(Z.id,Z),he.set(Z.displayName,Z)}}const xe=Ut("themes",c,O,y,Tt);let Fe=null;if(xe&&xe.entries){let w=xe.entries().next();w?.value?.[1]&&(Fe=w.value[1])}const bs=new d.Ol(Fe);let ue=Ut("styles",c,O,y,Tt).entries().next()?.value[1];ue&&(ue=JSON.parse(d.oe(ue)));const xs=Ut("workbooks",c,O,y,Tt);await Promise.all(Me);const we={...xs.entries().next().value[1],styles:ue,theme:bs.toJSON()};ce.length>0&&(we.strings=ce),St&&St.length>0&&(we.people=St);const ws={...o,resources:z,json:we},vs=new d.Hy(ws);if(Ne.forEach(w=>{w.deleteReference(Le)}),ut.endPersist(),a.length){const w=h?.onWarning;if(w)for(const B of a){const[Z,et]=B;w(Z,et)}}return h?.onComplete?.(x),vs}catch(c){let y="Unable to parse XLSX.";throw c instanceof d.ae&&(y="Unable to open XLSX. There are too many rows or columns."),new Error(y,{cause:c})}},toBufferXLSX:async(i,t)=>{const s=await Promise.resolve().then(()=>require("./C5JmtvL0MfOaJHKx.cjs")),o=await i.toJSON(!0),n=s.utils.book_new();for(let a=0;a<o.sheets.length;a++){const h=o.sheets[a],f=s.utils.json_to_sheet([{}]);s.utils.book_append_sheet(n,f,h.name);const P=h.sheet,x=i.getSheetAt(a),S=x.getUsedRange();if(S?(f["!ref"]=S.getA1(),S.forEach((E,b)=>{const R={t:"z"},_=b.getCell().getStyle();if(!_.isNormal()){let T=_.getNumberFormat();T!==d.ke.Type.General&&(T===d.ke.Type.ShortDate?T="m/d/yyyy":T===d.ke.Type.MediumDate?T="d-mmm-yy":T===d.ke.Type.LongDate?T="[$-x-sysdate]dddd, mmmm dd, yyyy":T===d.ke.Type.ShortTime?T="h:mm":T===d.ke.Type.MediumTime?T="h:mm AM/PM":T===d.ke.Type.LongTime&&(T="h:mm:ss AM/PM"),R.z=T)}if(E!==null)switch(b.getType()){case d.M.Number:R.t="n",R.v=E;break;case d.M.String:R.t="s",R.v=E;break;case d.M.Boolean:R.t="b",R.v=E;break;case d.M.Error:R.t="e",R.v=E.toString();case d.M.RichData:}f[b.getA1()]=R})):f["!ref"]="A1:A1",P.merges?.length>0){const E=[];f["!merges"]=E;for(let b=0;b<P.merges.length;b++)E.push(s.utils.decode_range(P.merges[b]))}if(P.cols?.length>0){const E=[];f["!cols"]=E;const b=P.cols,R={width:P.defaultColSize??x.getColumnWidthAsFontUnit(x.getColumnHeaders().getDefaultSize())};for(let _=0;_<b.length;_++){const T=b[_];for(let c=E.length;c<=T.min-1;c++)E.push(R);const m={};T.sz!==void 0&&(m.width=T.sz),T.h!==void 0&&(m.hidden=T.h),T.l!==void 0&&(m.level=T.l);for(let c=T.min;c<=T.max;c++)E.push(m)}}}return s.write(n,{type:"array",bookType:"xlsx"}),s.write(n,{type:"array",bookType:"xlsx"})}},Symbol.toStringTag,{value:"Module"}));exports.a=i=>parseFloat(i)/1e3,exports.b=ms,exports.c=i=>i?d.te.roundAccurately(parseFloat(i)/9525,1):null,exports.d=Ve,exports.i=_s,exports.p=i=>parseFloat(i)/6e4,exports.r=fs,exports.t=i=>i?d.te.roundAccurately(parseFloat(i)/12700,4):null;
|
|
8
|
+
`,s=this.i,n=nt;break;case P:return this.text+=o.slice(s),!1}if(n===t)return this.text+=o.slice(s,this.prevI),!0}}captureNameChars(){const{chunk:t,i:s}=this;for(;;){const o=this.getCode();if(o===P)return this.name+=t.slice(s),P;if(!as(o))return this.name+=t.slice(s,this.prevI),o===ct?nt:o}}skipSpaces(){for(;;){const t=this.getCodeNorm();if(t===P||!G(t))return t}}setXMLVersion(t){this.currentXMLVersion=t,t==="1.0"?(this.isChar=Ds,this.getCode=this.getCode10):(this.isChar=Es,this.getCode=this.getCode11)}sBegin(){this.chunk.charCodeAt(0)===65279&&(this.i++,this.column++),this.state=1}sBeginWhitespace(){const t=this.i,s=this.skipSpaces();switch(this.prevI!==t&&(this.xmlDeclPossible=!1),s){case vt:if(this.state=15,this.text.length!==0)throw new Error("no-empty text at start");break;case P:break;default:this.unget(),this.state=q,this.xmlDeclPossible=!1}}sDoctype(){const t=this.captureTo(Rs);switch(t){case j:this.doctypeHandler?.(this.text),this.text="",this.state=q,this.doctype=!0;break;case P:break;default:this.text+=String.fromCodePoint(t),t===91?this.state=4:fe(t)&&(this.state=3,this.q=t)}}sDoctypeQuote(){const t=this.q;this.captureToChar(t)&&(this.text+=String.fromCodePoint(t),this.q=null,this.state=2)}sDTD(){const t=this.captureTo($s);t!==P&&(this.text+=String.fromCodePoint(t),t===Gt?this.state=2:t===vt?this.state=6:fe(t)&&(this.state=5,this.q=t))}sDTDQuoted(){const t=this.q;this.captureToChar(t)&&(this.text+=String.fromCodePoint(t),this.state=4,this.q=null)}sDTDOpenWaka(){const t=this.getCodeNorm();switch(this.text+=String.fromCodePoint(t),t){case 33:this.state=7,this.openWakaBang="";break;case F:this.state=11;break;default:this.state=4}}sDTDOpenWakaBang(){const t=String.fromCodePoint(this.getCodeNorm()),s=this.openWakaBang+=t;this.text+=t,s!=="-"&&(this.state=s==="--"?8:4,this.openWakaBang="")}sDTDComment(){this.captureToChar(45)&&(this.text+="-",this.state=9)}sDTDCommentEnding(){const t=this.getCodeNorm();this.text+=String.fromCodePoint(t),this.state=t===45?10:8}sDTDCommentEnded(){const t=this.getCodeNorm();this.text+=String.fromCodePoint(t),t===j?this.state=4:(this.fail("malformed comment."),this.state=8)}sDTDPI(){this.captureToChar(F)&&(this.text+="?",this.state=12)}sDTDPIEnding(){const t=this.getCodeNorm();this.text+=String.fromCodePoint(t),t===j&&(this.state=4)}sText(){this.tags.length!==0?this.handleTextInRoot():this.handleTextOutsideRoot()}sEntity(){let{i:t}=this;const{chunk:s}=this;t:for(;;)switch(this.getCode()){case ct:this.entity+=`${s.slice(t,this.prevI)}
|
|
9
|
+
`,t=this.i;break;case 59:{const{entityReturnState:o}=this,n=this.entity+s.slice(t,this.prevI);let a;this.state=o,n===""?(this.fail("empty entity name."),a="&;"):(a=this.parseEntity(n),this.entity=""),o===q&&this.textHandler===void 0||(this.text+=a);break t}case P:this.entity+=s.slice(t);break t}}sOpenWaka(){const t=this.getCode();if(ne(t))this.state=34,this.unget(),this.xmlDeclPossible=!1;else switch(t){case 47:this.state=43,this.xmlDeclPossible=!1;break;case 33:this.state=16,this.openWakaBang="",this.xmlDeclPossible=!1;break;case F:this.state=23;break;default:this.fail("disallowed character in tag name"),this.state=q,this.xmlDeclPossible=!1}}sOpenWakaBang(){switch(this.openWakaBang+=String.fromCodePoint(this.getCodeNorm()),this.openWakaBang){case"[CDATA[":this.sawRoot||this.reportedTextBeforeRoot||(this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0),this.state=20,this.openWakaBang="";break;case"--":this.state=17,this.openWakaBang="";break;case"DOCTYPE":this.state=2,(this.doctype||this.sawRoot)&&this.fail("inappropriately located doctype declaration."),this.openWakaBang="";break;default:this.openWakaBang.length>=7&&this.fail("incorrect syntax.")}}sComment(){this.captureToChar(45)&&(this.state=18)}sCommentEnding(){const t=this.getCodeNorm();t===45?(this.state=19,this.commentHandler?.(this.text),this.text=""):(this.text+=`-${String.fromCodePoint(t)}`,this.state=17)}sCommentEnded(){const t=this.getCodeNorm();t!==j?(this.fail("malformed comment."),this.text+=`--${String.fromCodePoint(t)}`,this.state=17):this.state=q}sCData(){this.captureToChar(Gt)&&(this.state=21)}sCDataEnding(){const t=this.getCodeNorm();t===Gt?this.state=22:(this.text+=`]${String.fromCodePoint(t)}`,this.state=20)}sCDataEnding2(){const t=this.getCodeNorm();switch(t){case j:this.cdataHandler?.(this.text),this.text="",this.state=q;break;case Gt:this.text+="]";break;default:this.text+=`]]${String.fromCodePoint(t)}`,this.state=20}}sPIFirstChar(){const t=this.getCodeNorm();this.nameStartCheck(t)?(this.piTarget+=String.fromCodePoint(t),this.state=24):t===F||G(t)?(this.fail("processing instruction without a target."),this.state=t===F?26:25):(this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(t),this.state=24)}sPIRest(){const{chunk:t,i:s}=this;for(;;){const o=this.getCodeNorm();if(o===P)return void(this.piTarget+=t.slice(s));if(!this.nameCheck(o)){this.piTarget+=t.slice(s,this.prevI);const n=o===F;n||G(o)?this.piTarget==="xml"?(this.xmlDeclPossible||this.fail("an XML declaration must be at the start of the document."),this.state=n?Ht:27):this.state=n?26:25:(this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(o));break}}}sPIBody(){if(this.text.length===0){const t=this.getCodeNorm();t===F?this.state=26:G(t)||(this.text=String.fromCodePoint(t))}else this.captureToChar(F)&&(this.state=26)}sPIEnding(){const t=this.getCodeNorm();if(t===j){const{piTarget:s}=this;s.toLowerCase()==="xml"&&this.fail("the XML declaration must appear at the start of the document."),this.piHandler?.({target:s,body:this.text}),this.piTarget=this.text="",this.state=q}else t===F?this.text+="?":(this.text+=`?${String.fromCodePoint(t)}`,this.state=25);this.xmlDeclPossible=!1}sXMLDeclNameStart(){const t=this.skipSpaces();t!==F?t!==P&&(this.state=28,this.name=String.fromCodePoint(t)):this.state=Ht}sXMLDeclName(){const t=this.captureTo(Ms);if(t===F)return this.state=Ht,this.name+=this.text,this.text="",void this.fail("XML declaration is incomplete.");if(G(t)||t===Zt){if(this.name+=this.text,this.text="",!this.xmlDeclExpects.includes(this.name))switch(this.name.length){case 0:this.fail("did not expect any more name/value pairs.");break;case 1:this.fail(`expected the name ${this.xmlDeclExpects[0]}.`);break;default:this.fail(`expected one of ${this.xmlDeclExpects.join(", ")}`)}this.state=t===Zt?30:29}}sXMLDeclEq(){const t=this.getCodeNorm();if(t===F)return this.state=Ht,void this.fail("XML declaration is incomplete.");G(t)||(t!==Zt&&this.fail("value required."),this.state=30)}sXMLDeclValueStart(){const t=this.getCodeNorm();if(t===F)return this.state=Ht,void this.fail("XML declaration is incomplete.");G(t)||(fe(t)?this.q=t:(this.fail("value must be quoted."),this.q=32),this.state=31)}sXMLDeclValue(){const t=this.captureTo([this.q,F]);if(t===F)return this.state=Ht,this.text="",void this.fail("XML declaration is incomplete.");if(t===P)return;const s=this.text;switch(this.text="",this.name){case"version":{this.xmlDeclExpects=["encoding","standalone"];const o=s;this.xmlDecl.version=o,/^1\.[0-9]+$/.test(o)?this.opt.forceXMLVersion||this.setXMLVersion(o):this.fail("version number must match /^1\\.[0-9]+$/.");break}case"encoding":/^[A-Za-z][A-Za-z0-9._-]*$/.test(s)||this.fail("encoding value must match /^[A-Za-z0-9][A-Za-z0-9._-]*$/."),this.xmlDeclExpects=["standalone"],this.xmlDecl.encoding=s;break;case"standalone":s!=="yes"&&s!=="no"&&this.fail('standalone value must match "yes" or "no".'),this.xmlDeclExpects=[],this.xmlDecl.standalone=s}this.name="",this.state=32}sXMLDeclSeparator(){const t=this.getCodeNorm();t!==F?(G(t)||(this.fail("whitespace required."),this.unget()),this.state=27):this.state=Ht}sXMLDeclEnding(){this.getCodeNorm()===j?(this.piTarget!=="xml"?this.fail("processing instructions are not allowed before root."):this.name!=="version"&&this.xmlDeclExpects.includes("version")&&this.fail("XML declaration must contain a version."),this.xmldeclHandler?.(this.xmlDecl),this.name="",this.piTarget=this.text="",this.state=q):this.fail("The character ? is disallowed anywhere in XML declarations."),this.xmlDeclPossible=!1}sOpenTag(){const t=this.captureNameChars();if(t===P)return;const s=this.tag={name:this.name,attributes:Object.create(null)};switch(this.name="",this.xmlnsOpt&&(this.topNS=s.ns=Object.create(null)),this.openTagStartHandler?.(s),this.sawRoot=!0,!this.fragmentOpt&&this.closedRoot&&this.fail("documents may contain only one root."),t){case j:this.openTag();break;case 47:this.state=35;break;default:G(t)||this.fail("disallowed character in tag name."),this.state=36}}sOpenTagSlash(){this.getCode()===j?this.openSelfClosingTag():(this.fail("forward-slash in opening tag not followed by >."),this.state=36)}sAttrib(){const t=this.skipSpaces();t!==P&&(ne(t)?(this.unget(),this.state=37):t===j?this.openTag():t===47?this.state=35:this.fail("disallowed character in attribute name."))}sAttribName(){const t=this.captureNameChars();t===Zt?this.state=39:G(t)?this.state=38:t===j?(this.fail("attribute without value."),this.pushAttrib(this.name,this.name),this.name=this.text="",this.openTag()):t!==P&&this.fail("disallowed character in attribute name.")}sAttribNameSawWhite(){const t=this.skipSpaces();switch(t){case P:return;case Zt:this.state=39;break;default:this.fail("attribute without value."),this.text="",this.name="",t===j?this.openTag():ne(t)?(this.unget(),this.state=37):(this.fail("disallowed character in attribute name."),this.state=36)}}sAttribValue(){const t=this.getCodeNorm();fe(t)?(this.q=t,this.state=40):G(t)||(this.fail("unquoted attribute value."),this.state=42,this.unget())}sAttribValueQuoted(){const{q:t,chunk:s}=this;let{i:o}=this;for(;;)switch(this.getCode()){case t:return this.pushAttrib(this.name,this.text+s.slice(o,this.prevI)),this.name=this.text="",this.q=null,void(this.state=41);case 38:return this.text+=s.slice(o,this.prevI),this.state=14,void(this.entityReturnState=40);case nt:case ct:case 9:this.text+=`${s.slice(o,this.prevI)} `,o=this.i;break;case vt:return this.text+=s.slice(o,this.prevI),void this.fail("disallowed character.");case P:return void(this.text+=s.slice(o))}}sAttribValueClosed(){const t=this.getCodeNorm();G(t)?this.state=36:t===j?this.openTag():t===47?this.state=35:ne(t)?(this.fail("no whitespace between attributes."),this.unget(),this.state=37):this.fail("disallowed character in attribute name.")}sAttribValueUnquoted(){const t=this.captureTo(Hs);switch(t){case 38:this.state=14,this.entityReturnState=42;break;case vt:this.fail("disallowed character.");break;case P:break;default:this.text.includes("]]>")&&this.fail('the string "]]>" is disallowed in char data.'),this.pushAttrib(this.name,this.text),this.name=this.text="",t===j?this.openTag():this.state=36}}sCloseTag(){const t=this.captureNameChars();t===j?this.closeTag():G(t)?this.state=44:t!==P&&this.fail("disallowed character in closing tag.")}sCloseTagSawWhite(){switch(this.skipSpaces()){case j:this.closeTag();break;case P:break;default:this.fail("disallowed character in closing tag.")}}handleTextInRoot(){let{i:t,forbiddenState:s}=this;const{chunk:o,textHandler:n}=this;t:for(;;)switch(this.getCode()){case vt:if(this.state=15,n!==void 0){const{text:a}=this,h=o.slice(t,this.prevI);a.length!==0?(n(a+h),this.text=""):h.length!==0&&n(h)}s=0;break t;case 38:this.state=14,this.entityReturnState=q,n!==void 0&&(this.text+=o.slice(t,this.prevI)),s=0;break t;case Gt:switch(s){case 0:s=1;break;case 1:s=2;break;case 2:break;default:throw new Error("impossible state")}break;case j:s===2&&this.fail('the string "]]>" is disallowed in char data.'),s=0;break;case ct:n!==void 0&&(this.text+=`${o.slice(t,this.prevI)}
|
|
10
|
+
`),t=this.i,s=0;break;case P:n!==void 0&&(this.text+=o.slice(t));break t;default:s=0}this.forbiddenState=s}handleTextOutsideRoot(){let{i:t}=this;const{chunk:s,textHandler:o}=this;let n=!1;t:for(;;){const a=this.getCode();switch(a){case vt:if(this.state=15,o!==void 0){const{text:h}=this,f=s.slice(t,this.prevI);h.length!==0?(o(h+f),this.text=""):f.length!==0&&o(f)}break t;case 38:this.state=14,this.entityReturnState=q,o!==void 0&&(this.text+=s.slice(t,this.prevI)),n=!0;break t;case ct:o!==void 0&&(this.text+=`${s.slice(t,this.prevI)}
|
|
11
|
+
`),t=this.i;break;case P:o!==void 0&&(this.text+=s.slice(t));break t;default:G(a)||(n=!0)}}n&&(this.sawRoot||this.reportedTextBeforeRoot||(this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0))}pushAttribNS(t,s){const{prefix:o,local:n}=this.qname(t),a={name:t,prefix:o,local:n,value:s};if(this.attribList.push(a),this.attributeHandler?.(a),o==="xmlns"){const h=s.trim();this.currentXMLVersion==="1.0"&&h===""&&this.fail("invalid attempt to undefine prefix in XML 1.0"),this.topNS[n]=h,Ee(this,n,h)}else if(t==="xmlns"){const h=s.trim();this.topNS[""]=h,Ee(this,"",h)}}pushAttribPlain(t,s){const o={name:t,value:s};this.attribList.push(o),this.attributeHandler?.(o)}end(){this.sawRoot||this.fail("document must contain a root element.");const{tags:t}=this;for(;t.length>0;){const o=t.pop();this.fail(`unclosed tag: ${o.name}`)}this.state!==0&&this.state!==q&&this.fail("unexpected end.");const{text:s}=this;return s.length!==0&&(this.textHandler?.(s),this.text=""),this._closed=!0,this.endHandler?.(),this._init(),this}resolve(t){let s=this.topNS[t];if(s!==void 0)return s;const{tags:o}=this;for(let n=o.length-1;n>=0;n--)if(s=o[n].ns[t],s!==void 0)return s;return s=this.ns[t],s!==void 0?s:this.opt.resolvePrefix?.(t)}qname(t){const s=t.indexOf(":");if(s===-1)return{prefix:"",local:t};const o=t.slice(s+1),n=t.slice(0,s);return(n===""||o===""||o.includes(":"))&&this.fail(`malformed name: ${t}.`),{prefix:n,local:o}}processAttribsNS(){const{attribList:t}=this,s=this.tag;{const{prefix:a,local:h}=this.qname(s.name);s.prefix=a,s.local=h;const f=s.uri=this.resolve(a)??"";a!==""&&(a==="xmlns"&&this.fail('tags may not have "xmlns" as prefix.'),f===""&&(this.fail(`unbound namespace prefix: ${JSON.stringify(a)}.`),s.uri=a))}if(t.length===0)return;const{attributes:o}=s,n=new Set;for(const a of t){const{name:h,prefix:f,local:D}=a;let x,S;f===""?(x=h==="xmlns"?Qt:"",S=h):(x=this.resolve(f),x===void 0&&(this.fail(`unbound namespace prefix: ${JSON.stringify(f)}.`),x=f),S=`{${x}}${D}`),n.has(S)&&this.fail(`duplicate attribute: ${S}.`),n.add(S),a.uri=x,o[h]=a}this.attribList=[]}processAttribsPlain(){const{attribList:t}=this,s=this.tag.attributes;for(const{name:o,value:n}of t)s[o]!==void 0&&this.fail(`duplicate attribute: ${o}.`),s[o]=n;this.attribList=[]}openTag(){this.processAttribs();const{tags:t}=this,s=this.tag;s.isSelfClosing=!1,this.openTagHandler?.(s),t.push(s),this.state=q,this.name=""}openSelfClosingTag(){this.processAttribs();const{tags:t}=this,s=this.tag;s.isSelfClosing=!0,this.openTagHandler?.(s),this.closeTagHandler?.(s),(this.tag=t[t.length-1]??null)===null&&(this.closedRoot=!0),this.state=q,this.name=""}closeTag(){const{tags:t,name:s}=this;if(this.state=q,this.name="",s==="")return this.fail("weird empty close tag."),void(this.text+="</>");const o=this.closeTagHandler;let n=t.length;for(;n-- >0;){const a=this.tag=t.pop();if(this.topNS=a.ns,o?.(a),a.name===s)break;this.fail("unexpected close tag.")}n===0?this.closedRoot=!0:n<0&&(this.fail(`unmatched closing tag: ${s}.`),this.text+=`</${s}>`)}parseEntity(t){if(t[0]!=="#"){const o=this.ENTITIES[t];return o!==void 0?o:(this.fail(this.isName(t)?"undefined entity.":"disallowed character in entity name."),`&${t};`)}let s=NaN;return t[1]==="x"&&/^#x[0-9a-f]+$/i.test(t)?s=parseInt(t.slice(2),16):/^#[0-9]+$/.test(t)&&(s=parseInt(t.slice(1),10)),this.isChar(s)?String.fromCodePoint(s):(this.fail("malformed character entity."),`&${t};`)}}var Oe,mt;(mt=Oe||(Oe={})).Events={XmlDecl:"xmldecl",Text:"text",ProcessingInstruction:"processinginstruction",Doctype:"doctype",Comment:"comment",OpenTagStart:"opentagstart",Attribute:"attribute",OpenTag:"opentag",CloseTag:"closetag",CDdata:"cdata",Error:"error",End:"end",Ready:"ready"},mt.parseStream=async(i,t,s)=>{const o=new Fs({position:!1,...s});let n;if(t.onOpenTagStart&&o.on(mt.Events.OpenTagStart,t.onOpenTagStart),t.onOpenTag&&o.on(mt.Events.OpenTag,t.onOpenTag),t.onCloseTag&&o.on(mt.Events.CloseTag,t.onCloseTag),t.onAttribute&&o.on(mt.Events.Attribute,t.onAttribute),t.onText&&o.on(mt.Events.Text,t.onText),t.onError&&o.on(mt.Events.Error,t.onError),t.onEnd){t.onEnd;const a=()=>{n=t.onEnd()};o.on(mt.Events.End,a)}for(;;){const{value:a,done:h}=await i.read();if(h)break;o.write(a)}return o.close(),n};const v=i=>i===!0||i==="1"||i==="on"||i==="true"||i!==!1&&i!=="0"&&i!=="off"&&i!=="false"&&null,A=i=>{const t=parseInt(i);return isNaN(t)?null:t},ht=i=>{const t=parseFloat(i);return isNaN(t)?null:t},k=null;class Bs{constructor(){this._registeredVisitors=new Map}registerVisitor(t){this._registeredVisitors.set(t.from,t)}createEventHandler(t,s,o){const n=this._registeredVisitors,a=[];let h=null,f=null,D=null,x=null;const S=[],E={key:null,source:t};let b=null,R=!1;const _=(m,c)=>{let y=D.attributes[m];if(c){if(Array.isArray(c)){for(let O=0;O<c.length;O++)if(y==null||(y=c[O](y),y==null))return}else if(y==null||(y=c(y),y==null))return}return y},T={getSource:()=>b.source,setSource:m=>{b.source=m},setKey:m=>{b.key=m},getFrom:()=>D,getAttribute:(m,c)=>_(m,c)??null,hasAttribute:m=>T.getAttribute(m)!==null,getParent:()=>S[S.length-2].source,getPath:()=>{const m=[];for(let c=0;c<a.length;c++)m.push(a[c].local);return m.join("\\")},parseAttribute:_,copyToObject:(m,c,y,O)=>{const z=_(O??c,y);z!==void 0&&(m[c]=z)},copyTo:(m,c,y)=>{const O=_(y??m,c);O!==void 0&&(b.source[m]=O)},warn:m=>{o?o?.(m):console.warn(m)}};return{onOpenTag:m=>{let c=m.name;const y=c.indexOf(":");y!==-1&&(c=c.slice(y+1));const O=n.get(c);if(h={local:c,visitor:O,tag:m,destination:null},R)return a.push(h),f=c,void(D=m);x=h?.visitor??null,O&&(b=a.length===0?E:x?.to!==null?{key:null,source:{}}:null,h.destination=b,b&&S.push(b)),a.push(h),f=c,D=m,R=x?.to===null,x?.openTag?.(T)},onCloseTag:m=>{let c=m.name;const y=c.indexOf(":");if(y!==-1&&(c=c.slice(y+1)),c!==f)throw new Error(`mismatch open/close tag: '${c}'/'${f}'`);R||x?.closeTag?.(T);const O=a.pop()??null;h=a[a.length-1]??null;const z=O?.destination;if(z){S.pop(),b=S[S.length-1]??E;const ut=O.visitor;ut&&ut.to&&z.source!==void 0&&(Array.isArray(ut.to)?b.source.push?b.source.push(z.source):o?.(`Unable to parse array for ${ut.from} at ${T.getPath()}`):z.key?b.source[z.key]=z.source:typeof ut.to=="string"&&(b.source[ut.to]=z.source))}f=h?.local??null,D=h?.tag??null,x=h?.visitor??null,R=!h?.destination},onText:m=>{x?.text?.(m,T)},onEnd:s}}}const cs=(i,t,s,o=null)=>{if(!i)return null;let n=i;n.startsWith("/")&&(n=n.substring(1));let a=o?.parsedRefs?.get(i);if(a!==void 0)return a;const h=t(n);if(!h)return null;let f=h.content;try{s&&(f=s(f))}catch(D){console.warn(D)}return o?.parsedRefs?.set(i,f),f},Ie=(i,t,s,o,n=null)=>{if(!i)return null;let a=i;a.startsWith("/")&&(a=a.substring(1));let h=n?.parsedRefs?.get(i);if(h!==void 0)return h;const f=t(a);if(!f)return null;const D=f.content;try{const x=new TextDecoder().decode(D),S=s.parseFromString(x,"text/xml"),E=o.convert(S,i,n);return n?.parsedRefs?.set(i,E),E}catch(x){console.warn(x)}return null},Ut=(i,t,s,o,n=null)=>{const a=new Map;let h=t.Directory[i];const f=h?h.length:0;for(let D=0;D<f;D++){const x=h[D];if(!x)continue;let S=x;S.startsWith("/")&&(S=S.substring(1));const E=Ie(S,b=>t.files[b],s,o,n);a.set(S,E)}return a},Ws=["lt1","dk1","lt2","dk2","accent1","accent2","accent3","accent4","accent5","accent6","hlink","folHlink"],Ve=(i,t="dk1")=>{let s;const o=i("auto");o===void 0||o!=="1"&&o!=="true"||(s=t);const n=i("indexed");n&&(s=`index${n}`);const a=i("rgb");a&&(s=a.toLowerCase(),a.length!==8||a.startsWith("FF")||(s="FF"+a.substring(2,a.length)));const h=i("theme");h&&(s=Ws[h]);let f=i("tint");if(f&&(s+=` ${d.T.AdjustmentType.ETint} ${parseFloat(f)}`),s)return s},fs=i=>i&&i.replace(/^\{([\s\S]+)\}$/,"$1"),ms=i=>i==="true"||i==="1";class jt{static{this.Collapsed=1}static{this.CustomFormat=2}static{this.CustomHeight=4}static{this.Hidden=8}static{this.Ht=16}static{this.OutlineLevel=32}static{this.Ph=64}static{this.R=128}static{this.S=256}static{this.Spans=512}static{this.ThickBot=1024}static{this.ThickTop=2048}}const qs=(i,t,s)=>{if(i[0].value[0]===i[1].value[0])return t},hs={colStart:0,colEnd:0,rowStart:0,rowEnd:0},_s=Object.freeze(Object.defineProperty({__proto__:null,fromBufferXLSX:async(i,t)=>{const{password:s,createWorkbookOptions:o={},...n}=t??{},a=[],h=t?.progress,f=h?.onStart?.(t?.name??"Parsing XLSX");await Promise.resolve(f);const D=h?.onProgress;let x=0;const S=Promise.resolve().then(()=>require("./DRWk3O67719LopNw.cjs")),E=Promise.resolve().then(()=>require("./DmP5P4nD6s_T0R0_.cjs"));let b=null;try{b=new DOMParser}catch{}let R=null;b||(R=Promise.resolve().then(()=>require("./Cae33-B3bPeB4Lry.cjs")).then(c=>c.i));let _=null,T=null,m=null;try{const c=await Promise.all([S,E,R]);_=c[0],T=c[1],m=c[2]}catch(c){throw new Error("Unable to load XLSX parser.",{cause:c})}try{const c=_.read(i,{type:"array",sheets:[],cellStyles:!1,bookFiles:!0});if(!c.Directory)throw new d.vt("Unable to parse as an Excel document. Try to save as '.xlsx' and try again.");c.Directory.richstructure=["/xl/richData/rdrichvaluestructure.xml"],c.Directory.richdata=["/xl/richData/rdrichvalue.xml"];const y=new T.FromOOXMLConverter,O=b??new m.DOMParser,z=o?.resources??new d.bm,ut=z.beginPersist(),Le={},Ne=new Set,Te=new Map;Te.set("richTypes",[]);const Re=new Map,$e=[],ae=w=>c.files[w],ye=(w,B)=>{const Q=w.lastIndexOf("/"),et=w.substring(0,Q+1)+"_rels/"+w.substring(Q+1,w.length)+".rels";let dt=B.get(et);return dt||(dt=((L,ve,Se,Ce,Xt=null)=>{if(!L)return null;const st=Ie(L,ve,Se,Ce,Xt);if(!st)return null;const it=new Map,yt=Object.keys(st),Ft=yt.length;for(let bt=0;bt<Ft;bt++){const Bt=yt[bt],Ct=st[Bt];it.set(Bt,Ct)}return it})(et,ae,O,y,Tt),B.set(et,dt)),dt},le=(w,B,Q,et=Re)=>{let dt=ye(B,et).get(w),L=dt?.target;if(!L)return null;if(dt.targetMode==="External")return dt.target;const ve=B.lastIndexOf("/"),Se=B.substring(0,ve+1);L.startsWith("/")||(L=Se+L),L=(st=>{const it=st.split(/\/+/);return it.reduce((yt,Ft,bt)=>(Ft==="."?yt.splice(bt,1):Ft===".."&&yt.splice(bt-1,2),yt),it).join("/")})(L);const Ce=y?.getVisitorParamsState().get("dxfs");let Xt=et.get(L);if(!Xt)if(dt.type==="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet"){const st={};Xt=st;const it=async()=>{const yt=(($,X,Jt,U,J,Z,Kt,kt)=>{const u=new Bs,K=new d.Wt.TransposedBuilder;let H=null;u.registerVisitor({from:"autoFilter",to:"filter",openTag:e=>{e.copyTo("ref",k)}}),u.registerVisitor({from:"conditionalFormatting",to:{},openTag:e=>{const r=e.getParent();r.conditionals||(r.conditionals=[]),r.conditionals.push(e.getSource());const l=e.getAttribute("sqref");l&&(e.getSource().ref=l.split(" ").join(",")),e.copyTo("pivot",v)},closeTag:e=>{const r=e.getSource();if(r.rule){const l=Object.keys(r.rule);for(let p=0;p<l.length;p++){const I=l[p];I!=="rule"&&(r[I]=r.rule[I])}}delete r.rule}}),u.registerVisitor({from:"cfRule",to:"rule",openTag:e=>{const r=e.getParent();e.copyToObject(r,"type",k),e.copyToObject(r,"priority",A),e.copyToObject(r,"stopIfTrue",v);const l=e.getAttribute("dxfId",A);if(l!==null){let p=U?.get(l);p||(Z?.(`Unable to load conditional color. Invalid dxfI: '${l}' at '${e.getPath()}'.`),p={}),r.style=p}e.copyToObject(r,"aboveAverage",v),e.copyToObject(r,"equalAverage",v),e.copyToObject(r,"stdDev",A),e.copyToObject(r,"bottom",v),e.copyToObject(r,"percent",v),e.copyToObject(r,"rank",A),e.copyToObject(r,"operator",k),e.copyToObject(r,"text",k),e.copyToObject(r,"timePeriod",k)}}),u.registerVisitor({from:"colorScale",to:"colorScale"}),u.registerVisitor({from:"dataBar",to:"dataBar",openTag:e=>{e.copyTo("maxLength",A),e.copyTo("minLength",A),e.copyTo("showValue",v)}}),u.registerVisitor({from:"iconSet",to:"iconSet",openTag:e=>{e.copyTo("iconSet",k),e.copyTo("reverse",v),e.copyTo("showValue",v)}}),u.registerVisitor({from:"formula",to:null,text:(e,r)=>{const l=r.getParent();let p=l.formulas;p||(p=[],l.formulas=p),p.push(e)}}),u.registerVisitor({from:"cfvo",to:{},openTag:e=>{const r=e.getParent();r.conditions||(r.conditions=[]),r.conditions.push(e.getSource()),e.copyTo("type",k),e.copyTo("value",ht,"val"),e.copyTo("gte",v)}}),u.registerVisitor({from:"color",to:{},openTag:e=>{const r=e.getParent();r.colors||(r.colors=[]);const l=Ve(p=>e.getAttribute(p));r.colors.push(l)}}),u.registerVisitor({from:"filterColumn",to:"filterColumn",openTag:e=>{const r=e.getParent();r.fields||(r.fields=[]),r.fields.push(e.getSource()),e.copyTo("offset",A,"colId"),e.copyTo("hiddenButton",v),e.copyTo("showButton",v)}}),u.registerVisitor({from:"colorFilter",to:"colorFilter",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=d.td.Type.Color,e.copyTo("cellColor",v),e.copyTo("styleId",A,"dxfId")}}),u.registerVisitor({from:"dynamicFilter",to:"dynamicFilter",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=d.td.Type.Dynamic,e.copyTo("dynamicType",k,"type"),e.copyTo("val",ht),e.copyTo("maxVal",ht,"maxVal")}}),u.registerVisitor({from:"iconFilter",to:"iconFilter",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=d.td.Type.Icon,e.copyTo("iconId",A),e.copyTo("iconSet",k)}}),u.registerVisitor({from:"top10",to:"top10",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=d.td.Type.Top10,e.copyTo("filterVal",ht),e.copyTo("percent",v),e.copyTo("top",v),e.copyTo("val",ht)}}),u.registerVisitor({from:"filters",to:"filters",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=d.td.Type.Items,e.copyTo("blank",v),e.copyTo("calendarType",k)}}),u.registerVisitor({from:"dateGroupItem",to:"dateGroupItem",openTag:e=>{const r=e.getParent();r.dateGroups||(r.dateGroups=[]),r.dateGroups.push(e.getSource()),e.copyTo("group",k,"dateTimeGrouping"),e.copyTo("day",A),e.copyTo("hour",A),e.copyTo("minute",A),e.copyTo("month",A),e.copyTo("second",A),e.copyTo("year",A)}}),u.registerVisitor({from:"filter",to:"filter",openTag:e=>{const r=e.getParent();r.items||(r.items=[]),r.items.push(e.getAttribute("val",ht))}}),u.registerVisitor({from:"customFilters",to:"customFilters",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=d.td.Type.Custom,e.copyTo("and",v)}}),u.registerVisitor({from:"customFilter",to:"customFilter",openTag:e=>{const r=e.getParent();r.filters||(r.filters=[]),r.filters.push(e.getSource()),e.copyTo("operator",k),e.copyTo("value",ht,"val")}}),u.registerVisitor({from:"sortState",to:"sort",openTag:e=>{e.copyTo("ref",k)}}),u.registerVisitor({from:"sortCondition",to:"sortCondition",openTag:e=>{const r=e.getParent();r.fields||(r.fields=[]);const l=e.getSource();r.fields.push(l),e.copyTo("sortOn",k,"sortBy"),e.copyTo("dxfId",k,"sortBy"),e.copyTo("iconSet",k),e.copyTo("customList",k);const p=e.getAttribute("ref");if(p){const I=d.Zr.fastStringToRange(p,hs).colStart,Y=d.Zr.fastStringToRange(r.ref,hs),Wt=Y.colStart;l.offset=Y?I-Wt:I}l.reverse=e.getAttribute("descending",v)??!1}}),u.registerVisitor({from:"AlternateContent",to:null});const de=e=>{H=e.getSource(),e.copyTo("topLeft",k,"topLeftCell");const r=ms(e.getAttribute("defaultGridColor")),l=e.getAttribute("colorId");l===null||r||(e.getSource().gridLineColor="index"+parseFloat(l)),e.copyTo("showZeros",v),e.copyTo("showFormulas",v),e.copyTo("zoomScale",A),e.copyTo("showRowHeaders",v,"showRowColHeaders"),e.copyTo("showColumnHeaders",v,"showRowColHeaders"),e.copyTo("showRowGridlines",v,"showGridLines"),e.copyTo("showColumnGridlines",v,"showGridLines")};u.registerVisitor({from:"sheetView",to:"view",openTag:e=>{de(e)},closeTag:()=>{H=null}}),u.registerVisitor({from:"customSheetViews",to:"customSheetViews",openTag:e=>{e.setSource([])}}),u.registerVisitor({from:"customSheetView",to:[],openTag:e=>{de(e)},closeTag:()=>{H=null}}),u.registerVisitor({from:"selection",to:"selection",openTag:e=>{if(!H)return;e.copyTo("cell",k,"activeCell"),e.copyTo("rangeIndex",A,"activeCellId");const r=e.getAttribute("activeCell"),l=e.getAttribute("sqref");l&&l!==r&&(e.getSource().ranges=l.split(" "))}}),u.registerVisitor({from:"pane",to:"pane",openTag:e=>{if(H&&e.getAttribute("state")==="frozen"){const r={};H.freezePanes=r,e.copyToObject(r,"topLeft",k,"topLeftCell");const l=H.topLeft?d.Zr.fastStringToCell(H.topLeft):{colIndex:0,rowIndex:0},p={colIndex:0,rowIndex:0};e.copyToObject(p,"colIndex",A,"xSplit"),e.copyToObject(p,"rowIndex",A,"ySplit");const I={colIndex:l.colIndex+p.colIndex,rowIndex:l.rowIndex+p.rowIndex};r.coords=d.Zr.cellToString(I)}}}),u.registerVisitor({from:"tabColor",to:null,openTag:e=>{const r=Ve(l=>e.getAttribute(l));r&&($.tabColor=r)}}),u.registerVisitor({from:"pageSetUpPr",to:"pageSetUpPr",openTag:e=>{}}),u.registerVisitor({from:"outlinePr",to:"outlinePr",openTag:e=>{}}),u.registerVisitor({from:"pageMargins",to:"pageMargins",openTag:e=>{}}),u.registerVisitor({from:"pageSetup",to:"pageSetup",openTag:e=>{}}),u.registerVisitor({from:"printOptions",to:"printOptions",openTag:e=>{}}),u.registerVisitor({from:"mergeCells",to:"merges",openTag:e=>{e.setSource([])}}),u.registerVisitor({from:"mergeCell",to:[],openTag:e=>{const r=e.getAttribute("ref");e.setSource(r)}}),u.registerVisitor({from:"hyperlinks",to:"hyperlinks",openTag:e=>{e.setSource([])}}),u.registerVisitor({from:"hyperlink",to:[],openTag:e=>{const r=e.getAttribute("r:id"),l=e.getAttribute("ref");if(!l)return void console.warn("No ref found for hyperlink");e.setKey(l);let p=r?X(r):"";if(typeof p!="string")return void console.warn("Invalid address ",p);const I=e.getAttribute("location");p.endsWith("\\")&&(p=p.substring(0,p.length-1));const Y=e.getAttribute("location");if(Y&&(I&&I!==Y&&console.warn("display and location are different",I,Y),p+="#"+Y),!p)return void console.warn("No address found for hyperlink. r:id",r);let Wt;const xt=e.getAttribute("tooltip");Wt=xt?{address:p,tooltip:xt}:p,e.setSource({r:l,v:Wt})}}),u.registerVisitor({from:"drawing",to:"movables",openTag:e=>{const r=e.getAttribute("r:id");if(!r)return;const l=X(r);l?e.setSource(l.movables):console.warn("no drawing found for rId",r)}}),u.registerVisitor({from:"tableParts",to:"tables",openTag:e=>{e.setSource([])}}),u.registerVisitor({from:"tablePart",to:[],openTag:e=>{const r=e.getAttribute("r:id");if(!r)return;const l=X(r);l?e.setSource(l):console.warn("no table found for rId",r)}}),u.registerVisitor({from:"worksheet",to:"worksheet",openTag:e=>{}}),u.registerVisitor({from:"sheetProtection",to:"protection",openTag:e=>{let r=!1;if(e.hasAttribute("sheet")&&v(e.getAttribute("sheet"))&&(r=!0),!r)return void e.setSource(void 0);const l=I=>I===!0||I==="1"||I==="on"||I==="true"||I===!1||I==="0"||I==="off"||I==="false"||null;e.copyTo("autoFilter",l),e.copyTo("deleteColumns",l),e.copyTo("formatCells",l),e.copyTo("formatColumns",l),e.copyTo("formatRows",l),e.copyTo("insertColumns",l),e.copyTo("insertHyperlinks",l),e.copyTo("insertRows",l),e.copyTo("objects",l),e.copyTo("pivotTables",l),e.copyTo("scenarios",l),e.copyTo("selectUnlockedCells",l),e.copyTo("selectUnlockedCells",l),e.copyTo("sort",l);const p={};e.copyToObject(p,"hash",k,"hashValue"),e.copyToObject(p,"algorithm",k,"algorithmName"),e.copyToObject(p,"salt",k,"saltValue"),e.copyToObject(p,"spinCount",A),Object.keys(p).length>0&&(e.getSource().password=p)}}),u.registerVisitor({from:"protectedRanges",to:"protectedRanges",openTag:e=>{e.setSource({})}}),u.registerVisitor({from:"protectedRange",to:{},openTag:e=>{const r=e.getAttribute("sqref");e.setKey(r),e.copyTo("name"),e.copyTo("securityDescriptor");const l={};e.copyToObject(l,"hash",k,"hashValue"),e.copyToObject(l,"algorithm",k,"algorithmName"),e.copyToObject(l,"salt",k,"saltValue"),e.copyToObject(l,"spinCount",A),Object.keys(l).length>0&&(e.getSource().password=l)}}),u.registerVisitor({from:"sheetFormatPr",to:"sheetFormatPr",openTag:e=>{e.copyToObject($,"defaultColSize",ht,"defaultColWidth"),e.copyToObject($,"outlineLevelCol",A,"outlineLevelCol");const r=e.getAttribute("customHeight");r!=="1"&&r!=="true"||e.copyToObject($,"defaultRowSize",ht,"defaultRowHeight"),e.copyToObject($,"outlineLevelRow",A,"outlineLevelRow")}}),u.registerVisitor({from:"cols",to:"cols",openTag:e=>{e.setSource([])}}),u.registerVisitor({from:"col",to:[],openTag:e=>{e.copyTo("min",r=>parseInt(r)-1),e.copyTo("max",r=>parseInt(r)-1),e.copyTo("sz",ht,"width"),e.copyTo("cs",v,"customWidth"),e.copyTo("h",v,"hidden"),e.copyTo("l",A,"outlineLevel"),e.copyTo("s",A,"style")}}),u.registerVisitor({from:"oleObjects",to:null,openTag:e=>{e.warn("'OLE Objects' are not supported.")}});let Yt=null;const Ss={onOpenTag:e=>{Yt===null&&(Yt="")},onText:e=>{Yt+=e},onEnd:()=>{const e=Jt(Yt);return Yt=null,e},onError:e=>{}};return((e,r,l,p,I,Y,Wt)=>{let xt=!1,pe=!1,qt=[],_t=!1,At=null,te=null,ge=null,at=null,We=null,qe=null;const Cs=Wt?.get("richData")??[],_e=d.Zr.normalizeA1ToR1C1,ze=d.Ht.createConflatingRanges(),Ue=new Map,ke=[];let ee=null;const Ze=d.Ht.createConflatingRanges();let se,Dt=!1,W=-1,tt=-1,pt=null,ie=null;const Ae=[];let De=null,Ge=-2,gt=0,zt="",Pt="",Et="",Ot="",It="",Vt="",Lt="",Qe="",Je="",Ke="",Ye="",ts="",es="",ss="",ft=!0,Nt=null,Pe=0;return{...l,onEnd:()=>{Ae.length>0&&(r.rows=Ae);let g=ze.done(qs);const C=g.length;if(C>0){const M=new Array(C);for(let V=0;V<C;V++){const lt=g[V],Rt=d.Zr.rangeToString(lt),$t=lt.value[1],oe=d.Zr.resolveRelativeToA1($t,lt.rowStart,lt.colStart);M[V]=[Rt,oe]}r.formulas=M}const ot=Ze.done(!0),N=ot.length;if(N>0){const M=new Array(N);for(let V=0;V<N;V++){const lt=ot[V],Rt=d.Zr.rangeToString(lt);M[V]=Rt}r.volatile=M}if(ke.length>0&&(r.dynamicArray=[...ke]),qt.length>0){qt.sort(d.Ht.createRangeComparator(d.w.Orientation.Column));const M=[];let V=null,lt=-1,Rt=-1,$t=-1,oe=-1,wt=null;const is=qt.length;is>0&&(V=qt[0],lt=V.colStart,Rt=V.colEnd,$t=V.rowEnd,oe=V.value,M.push(V));for(let Mt=1;Mt<is;Mt++)wt=qt[Mt],oe!==wt.value||lt!==wt.colStart||Rt!==wt.colEnd||$t+1!==wt.rowEnd?(M.push(wt),V=wt,lt=V.colStart,Rt=V.colEnd,$t=V.rowEnd,oe=V.value):($t=wt.rowEnd,V.rowEnd=$t);let os=[];for(let Mt=0;Mt<M.length;Mt++){const re=M[Mt];os.push({r:{colStart:re.colStart,colEnd:re.colEnd,rowStart:re.rowStart,rowEnd:re.rowEnd},v:re.value})}r.directStyles=os}const rt=e.build();if(rt){const M=rt.tuples;r.data=M}l?.onEnd?.()},onOpenTag:g=>{let C=g.name;const ot=C.indexOf(":");if(ot!==-1&&(C=C.slice(ot+1)),Pe++,Pe%196608==0&&I(Pe),se){const N=g.attributes;switch(C){case"v":pe=!0;break;case"f":switch(N.t??null){case null:case"normal":_t=!0;break;case"shared":const rt=N.si;te=N.ref,At=rt;break;case"array":_t=!0,te=N.ref,ee=[te,!1];break;case"datatable":_t=!0,te=N.ref,_t=!0}N.ca!==void 0&&Ze.append(W,tt);break;case"is":return void(Dt=!0)}return void(Dt&&Y?.onOpenTag(g))}if(xt){if(C==="c"){se=g;const N=g.attributes.r;tt=d.Zr.fastStringToCol(N);const rt=g.attributes.t;rt===void 0?ie=null:(ie=rt,ie==="str"&&(Dt=!0));let M=g.attributes.s;M!==void 0&&(M=parseInt(M),Nt&&Nt.value===M&&Nt.colEnd+1===tt?Nt.colEnd=tt:(Nt={colStart:tt,rowStart:W,colEnd:tt,rowEnd:W,value:M},qt.push(Nt)))}}else{if(C==="row"){xt=!0;const N=g.attributes.r;if(W=parseInt(N)-1,gt=0,Pt=g.attributes.customHeight,Pt!==void 0&&(gt|=jt.CustomHeight),Pt!==Je&&(ft=!0,Je=Pt),zt=g.attributes.ht,zt!==void 0&&(gt|=jt.Ht),zt!==Qe&&(ft=!0,Qe=zt),Et=g.attributes.hidden,Et!==void 0&&(gt|=jt.Hidden),Et!==Ke&&(ft=!0,Ke=Et),It=g.attributes.s,It!==void 0&&(gt|=jt.S),It!==ts&&(ft=!0,ts=It),Ot=g.attributes.customFormat,Ot!==void 0&&(gt|=jt.CustomFormat),Ot!==Ye&&(ft=!0,Ye=Ot),Vt=g.attributes.outlineLevel,Vt!==void 0&&(gt|=jt.OutlineLevel),Vt!==es&&(ft=!0,es=Vt),Lt=g.attributes.collapsed,Lt!==void 0&&(gt|=jt.Collapsed),Lt!==ss&&(ft=!0,ss=Lt),gt!==0)if(Ge+1!==W||ft){const rt=Pt!==void 0&&(Pt==="1"||Pt==="true"),M=Ot!==void 0&&(Ot==="1"||Ot==="true");De={min:W,max:W,sz:rt&&zt!==void 0?parseFloat(zt):-1,csz:rt,h:Et!==void 0&&(Et==="1"||Et==="true"),s:rt&&It!==void 0&&It!=="0"?parseInt(It):0,cs:M,l:Vt===void 0||Vt==="0"?0:parseInt(Vt),cl:Lt!==void 0&&(Lt==="1"||Lt==="true")},Ae.push(De)}else De.max=W;return Ge=W,void(ft=!1)}l?.onOpenTag(g)}},onCloseTag:g=>{if(se){let C=g.name;const ot=C.indexOf(":");if(ot!==-1&&(C=C.slice(ot+1)),Dt)if(C==="is"||C==="v"){const N=Y?.onEnd();N!==null&&e.addValue(W,tt,""+N)}else Y?.onCloseTag?.(g);return pe&&(pe=!1),void(C==="c"&&(se=null,Dt=!1))}if(xt)return xt=!1,void(Nt=null);l?.onCloseTag(g)},onText:g=>{if(g=g.trim(),pe){switch(pt=null,ie){case null:case"n":pt=parseFloat(g);break;case"b":pt=g==="1"||g==="true";break;case"s":pt=g;break;case"e":if(g==="#VALUE!"){const ot=se.attributes.vm;if(ot!==void 0){const N=Cs[parseInt(ot)-1];if(N&&N.isFormulaError){pt={t:d.M$1.Error,v:N.getCode()};break}}}const C=d.n.getBuiltInByLabel(g);C?pt={t:d.M$1.Error,v:C.getCode()}:(pt=g,p?.(`Unknown formula error '${g}' in cell ${d.Zr.cellToString({colIndex:tt,rowIndex:W})}`));break;case"str":case"inlineStr":Dt=!0}pt!==null&&e.addValue(W,tt,pt)}if(ee&&(ie==="e"&&(ee[1]=!0),ke.push(ee),ee=null),At)if(We===At)at=qe;else{if(at=Ue.get(At),!at){const C=[];ge=_e(g,W,tt,C),at=[ge,C,g],Ue.set(At,at)}We=At,qe=at}if(_t){const C=[];ge=_e(g,W,tt,C),at=[ge,C,g]}if(at)return ze.append(W,tt,at),at=null,_t=!1,At=null,void(te=null);Dt?Y?.onText(g):xt||l?.onText(g)}}})(K,$,u.createEventHandler($,()=>{},Z),Z,e=>{x+=e,D?.(x)},Ss,kt)})(st,($,X=!1)=>le($,L,X)??null,ys,Ce,0,($,X)=>{X=X?`${X} (${L})`:L,a.push([$,X])},0,Te),Ft=cs(L,ae),bt=await(async($,X=8388608)=>{await(async()=>{if(typeof ReadableStream>"u")if(typeof window>"u"){const{ReadableStream:Z}=await Promise.resolve().then(()=>require("./BSNMVqk1t0UhVqdb.cjs"));globalThis.ReadableStream=Z}else console.warn("Browser does not support ReadableStream; consider loading a polyfill.")})();const Jt=new TextDecoder("utf-8");let U=0;const J=$ instanceof Uint8Array?$:new Uint8Array($);return new ReadableStream({pull(Z){if(U>=J.byteLength)return void Z.close();const Kt=J.subarray(U,Math.min(U+X,J.byteLength)),kt=Jt.decode(Kt,{stream:U+X<J.byteLength});Z.enqueue(kt),U+=Kt.length}}).getReader()})(Ft);try{await Oe.parseStream(bt,yt,{xmlns:!1})}catch($){throw console.warn(`Error parsing sheet: '${L}'`,$),new Error(`Error parsing sheet: '${L}'`,{cause:$})}const Bt=ye(L,et);let Ct,Be=new Map;if(Bt){const $="http://schemas.microsoft.com/office/2017/10/relationships/threadedComment";let X;Bt.forEach((U,J)=>{U.type===$&&(Ct=le(J,L,!1,et)?.comments,Ct&&Ct.forEach(Z=>{Be.set(Z.id,Z)}))});const Jt="http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments";if(Bt.forEach((U,J)=>{U.type===Jt&&(X=le(J,L,!1,et))}),X||Ct){const U=Ct??[],J=X?.comments;if(J){const Z=X?.authors,Kt=J.length;for(let kt=0;kt<Kt;kt++){const u=J[kt];if(!u)continue;let K=Z&&u.authorId!==void 0?Z[u.authorId]:u.authorId;if(K&&K.startsWith("tc=")&&(K=fs(K.substring(3)),Be.has(K)))continue;let H=null;K&&(H=he.get(K)),H||(H=je.get(K)),H||(H={id:d.te.uuidV4(),displayName:K},je.set(H.displayName,H),he.set(H.id,H)),K=H?.id??null;const de={id:d.te.uuidV4(),personId:K,ref:u.ref,done:!1,asNote:!0,content:u.content};U.push(de)}}st.comments=U}}};$e.push(it())}else Xt=Q?cs(L,ae,st=>{const it=z.add({buffer:st});return it.addReference(Le),Ne.add(it),ut.toResourceId(it)},Tt):Ie(L,ae,O,y,Tt);return Xt},Tt={paramMap:Te,getRefs:ye,getRef:le,parsedRefs:Re,addPerson:w=>null},ce=[];let be=0;c.Strings&&(be=parseInt(c.Strings.Unique??c.Strings.length??0));const Ts=c.Strings??[];for(let w=0;w<be;w++)ce.push(Ts[w]?.t??"");const Me=new Map;let He=be;const ys=w=>{const B=Me.get(w);if(B!==void 0)return B;const Q=He;return Me.set(w,He++),ce.push(w),Q},he=(Ut("richstructure",c,O,y,Tt),Ut("richdata",c,O,y,Tt),new Map),je=new Map,Xe=Ut("people",c,O,y);let St=null;if(Xe.size>0&&(St=Xe.entries().next()?.value?.[1]?.persons,St)){const w=St.length;for(let B=0;B<w;B++){const Q=St[B];he.set(Q.id,Q),he.set(Q.displayName,Q)}}const xe=Ut("themes",c,O,y,Tt);let Fe=null;if(xe&&xe.entries){let w=xe.entries().next();w?.value?.[1]&&(Fe=w.value[1])}const bs=new d.Il(Fe);let ue=Ut("styles",c,O,y,Tt).entries().next()?.value[1];ue&&(ue=JSON.parse(d.oe(ue)));const xs=Ut("workbooks",c,O,y,Tt);await Promise.all($e);const we={...xs.entries().next().value[1],styles:ue,theme:bs.toJSON()};ce.length>0&&(we.strings=ce),St&&St.length>0&&(we.people=St);const ws={...o,resources:z,json:we},vs=new d.hy(ws);if(Ne.forEach(w=>{w.deleteReference(Le)}),ut.endPersist(),a.length){const w=h?.onWarning;if(w)for(const B of a){const[Q,et]=B;w(Q,et)}}return h?.onComplete?.(x),vs}catch(c){let y="Unable to parse XLSX.";throw c instanceof d.ae&&(y="Unable to open XLSX. There are too many rows or columns."),new Error(y,{cause:c})}},toBufferXLSX:async(i,t)=>{const s=await Promise.resolve().then(()=>require("./DRWk3O67719LopNw.cjs")),o=await i.toJSON(!0),n=s.utils.book_new();for(let a=0;a<o.sheets.length;a++){const h=o.sheets[a],f=s.utils.json_to_sheet([{}]);s.utils.book_append_sheet(n,f,h.name);const D=h.sheet,x=i.getSheetAt(a),S=x.getUsedRange();if(S?(f["!ref"]=S.getA1(),S.forEach((E,b)=>{const R={t:"z"},_=b.getCell().getStyle();if(!_.isNormal()){let T=_.getNumberFormat();T!==d.De.Type.General&&(T===d.De.Type.ShortDate?T="m/d/yyyy":T===d.De.Type.MediumDate?T="d-mmm-yy":T===d.De.Type.LongDate?T="[$-x-sysdate]dddd, mmmm dd, yyyy":T===d.De.Type.ShortTime?T="h:mm":T===d.De.Type.MediumTime?T="h:mm AM/PM":T===d.De.Type.LongTime&&(T="h:mm:ss AM/PM"),R.z=T)}if(E!==null)switch(b.getType()){case d.M$1.Number:R.t="n",R.v=E;break;case d.M$1.String:R.t="s",R.v=E;break;case d.M$1.Boolean:R.t="b",R.v=E;break;case d.M$1.Error:R.t="e",R.v=E.toString();case d.M$1.RichData:}f[b.getA1()]=R})):f["!ref"]="A1:A1",D.merges?.length>0){const E=[];f["!merges"]=E;for(let b=0;b<D.merges.length;b++)E.push(s.utils.decode_range(D.merges[b]))}if(D.cols?.length>0){const E=[];f["!cols"]=E;const b=D.cols,R={width:D.defaultColSize??x.getColumnWidthAsFontUnit(x.getColumnHeaders().getDefaultSize())};for(let _=0;_<b.length;_++){const T=b[_];for(let c=E.length;c<=T.min-1;c++)E.push(R);const m={};T.sz!==void 0&&(m.width=T.sz),T.h!==void 0&&(m.hidden=T.h),T.l!==void 0&&(m.level=T.l);for(let c=T.min;c<=T.max;c++)E.push(m)}}}return s.write(n,{type:"array",bookType:"xlsx"}),s.write(n,{type:"array",bookType:"xlsx"})}},Symbol.toStringTag,{value:"Module"}));exports.a=i=>parseFloat(i)/1e3,exports.b=ms,exports.c=i=>i?d.te.roundAccurately(parseFloat(i)/9525,1):null,exports.d=Ve,exports.i=_s,exports.p=i=>parseFloat(i)/6e4,exports.r=fs,exports.t=i=>i?d.te.roundAccurately(parseFloat(i)/12700,4):null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.9
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.9
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.9
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.9
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.9
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
-
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./
|
|
6
|
+
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./GPgjyt_HTe2fOhPL.cjs");let i=null,r=null,t=null;const o=Object.freeze({compileTypescript:async function(e){if(!e?.source)return null;if(r&&c.te.deepEqual(r,e))return i;const l=await(async function(){if(t)return t;const{TypeScriptCompiler:u}=await Promise.resolve().then(()=>require("./BeKopOONXyBBKG_1.cjs"));return t=new u,t})(),n=await l.compileModule(e);return i=n,r=e,n}});exports.ScriptingUtils=o;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.9
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|