@sheetxl/studio-vanilla 0.8.0-beta.4 → 0.8.0-beta.6

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.
Files changed (349) hide show
  1. package/browser/cjs/2nTOupSTLJfwR2Xr2.cjs +1 -0
  2. package/browser/cjs/{ufEYN2m0y5pER93_.cjs → 9A9bktS1huVGPy37.cjs} +1 -1
  3. package/browser/cjs/B-t_DeDrhWtCFPcI.cjs +93 -0
  4. package/browser/cjs/{DrdQTBiFulmvlRaX.cjs → B1yQqy3iSI5uZPt3.cjs} +3 -3
  5. package/browser/cjs/{Be5j4deP5deGlAPe2.cjs → B3dsg6O4Ka8NpEf32.cjs} +1 -1
  6. package/browser/cjs/{DOQTjBWUIU3tFiC42.cjs → B4VCKO11wngJjEO92.cjs} +1 -1
  7. package/browser/cjs/{DxHsJ5c6KlwGpED6.cjs → B5Fa5-cHf1VTfozN.cjs} +1 -1
  8. package/browser/cjs/{CpSKXzK-k_sOImbA.cjs → BDkTCsmZyozmgWz4.cjs} +3 -3
  9. package/browser/cjs/BUh9jPBJDMwQarBZ.cjs +1 -0
  10. package/browser/cjs/{BhmvJA5P78JScqAa.cjs → BUm56uGV9gjkjukY.cjs} +1 -1
  11. package/browser/cjs/BbMNM5e-lfDFkOvn2.cjs +1 -0
  12. package/browser/cjs/{DnjrhTDYSGg20fYP.cjs → BbXbe-bwCJLD279F.cjs} +1 -1
  13. package/browser/cjs/BjYqVy9NYB3ZmGEY.cjs +32 -0
  14. package/browser/cjs/{CnZ9pMlpPsqEhbLB2.cjs → BkTSml2am1P7ZUlu2.cjs} +1 -1
  15. package/browser/cjs/{CIDcABwPAtKB7XVf.cjs → BmdFT-Ie0SY8YqFf.cjs} +3 -3
  16. package/browser/cjs/{CjqMMBQ8Kk0moB_z.cjs → BnXCqfKX491kQrtl.cjs} +1 -1
  17. package/browser/cjs/{Cw4BDzyIt0BkEzuh.cjs → BqFUfIMN5tnsMTIi.cjs} +1 -1
  18. package/browser/cjs/BvUcpUKYVrCK5n2U.cjs +14 -0
  19. package/browser/cjs/C0PxB67bYqsO7V1G2.cjs +1 -0
  20. package/browser/cjs/C0_3HFQaCnHzWrhv.cjs +2 -0
  21. package/browser/cjs/C0m8l7d1fHu9CO2M.cjs +24 -0
  22. package/browser/cjs/C2XU-hUt1ESe-Lym2.cjs +8 -0
  23. package/browser/cjs/{CLHQ0mEi1NKau4Fd2.cjs → C6LCqtqoz6Kag2h42.cjs} +1 -1
  24. package/browser/cjs/{CRplh7TkT0zSJ0-T.cjs → CCJvU8Lb84A0y65M.cjs} +1 -1
  25. package/browser/cjs/{DW8fGIUUK-oUTjOo.cjs → CRe8XsjS3Z5BTMZY.cjs} +1 -1
  26. package/browser/cjs/CXIJNqmAzn6OpqX5.cjs +5 -0
  27. package/browser/cjs/CXsFagVr04vhY7Uo.cjs +42 -0
  28. package/browser/cjs/CYXi2zJwNRVFBiL12.cjs +1 -0
  29. package/browser/cjs/CZSCuGkDSx0WPqjF.cjs +1 -0
  30. package/browser/cjs/{DoFDjP2FgjU48C712.cjs → Ce0Jppzi_9bXU35v2.cjs} +1 -1
  31. package/browser/cjs/Cez2y8M7jx35Vxwz.cjs +3 -0
  32. package/browser/cjs/Cgf6tLDBJ3BvtYtr.cjs +1 -0
  33. package/browser/cjs/{ZsgZv9u2bNY2LY78.cjs → CiJ7AoUXfIEucqrd.cjs} +1 -1
  34. package/browser/cjs/{bojG-rqzdkE9lH_h2.cjs → CraHFKICbV6fuCQ-2.cjs} +1 -1
  35. package/browser/cjs/Csx2sg-1yBljNBbj.cjs +1 -0
  36. package/browser/cjs/D-8fngmgZJyw1BQz2.cjs +1 -0
  37. package/browser/cjs/{CuANpK3BdrKl4Yhe.cjs → D9hGhZ8wId9qKZlT.cjs} +1 -1
  38. package/browser/cjs/{Cj57ZO62uLbSZ0gK.cjs → DFfYZJqlytuKuwBJ.cjs} +1 -1
  39. package/browser/cjs/{lc_UysVCoJyKATFy2.cjs → DUCViiS92Z2CCWkA2.cjs} +1 -1
  40. package/browser/cjs/{BFR2qcJJZqIGySId2.cjs → DcpQZyU6Dg7WiWza2.cjs} +2 -2
  41. package/browser/cjs/Df-fdT9Ac1c258zN.cjs +1 -0
  42. package/browser/cjs/{BqfmTrd9tnu_owvN.cjs → Dnnr8nzAEuAjhOeE.cjs} +1 -1
  43. package/browser/cjs/{BtrnAiRF11y21NX4.cjs → JrW6on2mNQQ3NXKs.cjs} +1 -1
  44. package/browser/cjs/{CJK0UKBYYLMe5y7n2.cjs → KMBs7XyoINajcR-L2.cjs} +1 -1
  45. package/browser/cjs/LZG5aDIiIkN0mGFD.cjs +1 -0
  46. package/browser/cjs/{ihI3PbaHdmlJLCOt2.cjs → NZ9JmwEmwyGM6S7n2.cjs} +1 -1
  47. package/browser/cjs/O9HAYiw9e8V75pJ92.cjs +1 -0
  48. package/browser/cjs/{DOjeFFlUuGZs14pR.cjs → U7_s3uvd0_Kashf9.cjs} +1 -1
  49. package/browser/cjs/{DRRqcawQ_OlK5O2S.cjs → Xd62BMjBfdi9qJzV.cjs} +1 -1
  50. package/browser/cjs/{nIKxgoGnF7yTmzVB2.cjs → eCs1q0PICk1snU-12.cjs} +2 -2
  51. package/browser/cjs/index.cjs +2 -2
  52. package/browser/cjs/{e4jYID_FHS7YL-b22.cjs → vjMDGGRVqaFnYj5r2.cjs} +1 -1
  53. package/browser/esm/{00bUQB6RgRxfotbx.mjs → 0oEGfdAHhaLHKSti.mjs} +1 -1
  54. package/browser/esm/{D_vJszM7OyxfNtiD.mjs → 4CqOm3frZRd9UZP4.mjs} +2 -2
  55. package/browser/esm/{CmNtmMkhbzV8j_I0.mjs → 4DbJWOjJvf-TOYkv2.mjs} +1 -1
  56. package/browser/esm/{rUQqpcI_WXcsiwea2.mjs → 4UIqAp3dgLTz_jQl2.mjs} +1 -1
  57. package/browser/esm/{BeQYgyU20NLEnFql2.mjs → AlSePay9xNV3_6bb.mjs} +1 -1
  58. package/browser/esm/{DXuBmWXG49kvaZNr2.mjs → B-_shlNzdU5vK6-F2.mjs} +1 -1
  59. package/{cdn/assets/Cm_bL9sY_cm-k_Pq2.js → browser/esm/B2bYjv0KEa2vjuau.mjs} +1 -1
  60. package/browser/esm/{N9sXUCWDhn_zpuR2.mjs → B7DAcnxzPv0cz6GS.mjs} +1 -1
  61. package/browser/esm/{CNBdjbsAfeLxOXNu2.mjs → B89OWCXpyImxK0eb2.mjs} +1 -1
  62. package/browser/esm/{C9-p4koE4kCDp9UL2.mjs → BC57lU_SIXKxcZkP2.mjs} +8 -8
  63. package/browser/esm/{C9QsQZR03iUbXGDd.mjs → BCECU4i5lxfS0Udy.mjs} +1 -1
  64. package/{cdn/assets/DtFBvTH8ScTC26Xd2.js → browser/esm/BDn_jC98FsiXZwGr2.mjs} +1 -1
  65. package/browser/esm/{CPCWNpkZIX3cxPMS2.mjs → BE7zDEWoGoldNMWX2.mjs} +2 -2
  66. package/{cdn/assets/p-0E4OSYsnvo4Jvb.js → browser/esm/BG5ptu1QVVE32_SU2.mjs} +1 -1
  67. package/browser/esm/{LTN_uMk0eLGdRMPd2.mjs → BGFPUYyanO54TIB42.mjs} +7 -7
  68. package/browser/esm/{CNO2b9u-Zhj6V2us2.mjs → BGp2qrSP8wpHTmzp2.mjs} +5 -5
  69. package/browser/esm/{BxrknRRdcnKV7-zU.mjs → BOwbDihjRpkwOyYg.mjs} +5 -5
  70. package/browser/esm/{Dr3NMWk6K4-HWYsp.mjs → BQemec4LLoAl92_B.mjs} +1 -1
  71. package/browser/esm/{LOn47j35pLEOdnml.mjs → BSXumetIfmtutIwR.mjs} +5 -5
  72. package/{cdn/assets/7XkdeYBragcPQQS0.js → browser/esm/BXlBCVkeDEYvDBJB.mjs} +1 -1
  73. package/browser/esm/{C62Y8jSQuT2_lqUs.mjs → BYk8t-CVbU8h5jS6.mjs} +1 -1
  74. package/browser/esm/{DdNzoOIDRFbcy-qK.mjs → B_bAeABEjj7U2zzq.mjs} +14 -14
  75. package/{cdn/assets/D6FSp0JpvARNns7B.js → browser/esm/BcdW5Jtz-XtqlpNg2.mjs} +96 -96
  76. package/browser/esm/{Jsx_oA3RHPHgakon.mjs → BdqrEMXaXGIMDZbw.mjs} +691 -689
  77. package/{cdn/assets/NLHUljnhbCboNbaU2.js → browser/esm/Bhz4-fERBAhVf8ze.mjs} +1 -1
  78. package/browser/esm/{Cz_f9WxedmIkn2jq.mjs → BiSNhmfge2gLrdUM.mjs} +3 -3
  79. package/{cdn/assets/BQRlxHPPnb-Xp7mx2.js → browser/esm/Bis-2jH6YBF6g66T.mjs} +1 -1
  80. package/{cdn/assets/DQXXQ7c_080TSD18.js → browser/esm/BlYbn-3NJeiQ8dVU.mjs} +1 -1
  81. package/browser/esm/{CSus1KY0Y1UJN-c6.mjs → BmJfxZPHfm_cMD4l.mjs} +2657 -2575
  82. package/{cdn/assets/DYoBCnD1PVzOITgb.js → browser/esm/Bo5_yVXoppQHxkAs.mjs} +1 -1
  83. package/browser/esm/{BEsIwguAjJa2eS4g2.mjs → BoEpW3VXHHDA7k4Y2.mjs} +13 -13
  84. package/browser/esm/{CByxip-S_IKsaoyZ.mjs → BoUvCwncdWQjAB6z.mjs} +300 -300
  85. package/browser/esm/{cVFbVoYZRXdqyfp0.mjs → BprRTOQ5s6y4jMpw.mjs} +5 -5
  86. package/{cdn/assets/LryKLHFrshlshCEk.js → browser/esm/Bw8V5WPmS2yA3Nli2.mjs} +1 -1
  87. package/browser/esm/{DCY3GQ5g02kgKrPz2.mjs → Bx_8Vgu2B9rmr3So.mjs} +1 -1
  88. package/{cdn/assets/C_6kPChYiQzj6w3V2.js → browser/esm/C0vo8lE4bLKFYxkh2.mjs} +1 -1
  89. package/browser/esm/{CqwPCy756gUmUtv1.mjs → C2Mtau_YqokRY_Xs.mjs} +6 -6
  90. package/browser/esm/{BqT5uCSFT_HATJJw2.mjs → C7svWLuGopr_jw0t2.mjs} +1 -1
  91. package/browser/esm/{DvFQ4AKUGVQ_qhdP.mjs → CBXVfpoYV_x0IHcp.mjs} +2 -2
  92. package/{cdn/assets/CqheKk46etN--iuw.js → browser/esm/CCAmUEfkNvVwKNOo2.mjs} +1 -1
  93. package/{cdn/assets/_WaFh_cvGeblogUn.js → browser/esm/CCauT418WamqPMCO2.mjs} +1 -1
  94. package/browser/esm/{BJdwKtEOslRkGQhk.mjs → CDelk7_2mgy_puiR.mjs} +7 -7
  95. package/browser/esm/{BVri2gMOX526uJV5.mjs → CIT0V8cmnyP4zirK.mjs} +1 -1
  96. package/browser/esm/{yg7AU6dKBI7tCqJd2.mjs → CIwWrEXfSN_3khPI.mjs} +1 -1
  97. package/browser/esm/{Dz6F8pPCO-Rr6Cab2.mjs → CJVG0Axu4gbcyT_I2.mjs} +8 -8
  98. package/browser/esm/{BcZHZLyy1g0r4Qk4.mjs → CMA4SISwnTv_lg9j.mjs} +42 -42
  99. package/browser/esm/{BCmGrMte2QyvzkAM2.mjs → CNYIGTIynWaiXpHk2.mjs} +14 -14
  100. package/browser/esm/{BPh6sTO11J2UoKVG.mjs → COLxuIHK4CwKSCmM2.mjs} +1 -1
  101. package/browser/esm/{BCYJaBOW6d6KNCuQ2.mjs → CP--voqAl30cGmBl2.mjs} +7 -7
  102. package/browser/esm/{DIHvZTIPYMmuDQO4.mjs → CRCjjm1HOTdtQ62k.mjs} +5 -5
  103. package/browser/esm/{z-KpvdyYTapfvTA-.mjs → CRD6T2pongEp74eX.mjs} +4 -4
  104. package/browser/esm/{DvQg18Zd8rnQh20c.mjs → CTuUdSmxH6QxGmNK.mjs} +3 -3
  105. package/{cdn/assets/DN6XiWA9mgKCYBL7.js → browser/esm/CUQpAR2c-_Pwu2Eu.mjs} +1 -1
  106. package/browser/esm/{CVV-QxmM_7vUYzFC.mjs → CZQe_58fmtS0SgdD.mjs} +1 -1
  107. package/browser/esm/{ClrdhQeh_WoBg0Ws2.mjs → C_VwHa0tEc_OcSRF2.mjs} +1 -1
  108. package/{cdn/assets/DDfhrc6lUmerlDLA.js → browser/esm/CeT8chcNlkKehyJE2.mjs} +1 -1
  109. package/browser/esm/{BranNZUk8WXrCCjb.mjs → CfIyCu9_WLgJL_UT.mjs} +2 -2
  110. package/{cdn/assets/CQi9Ek-nl9QWmoMC.js → browser/esm/Cfob6FEkwxaSK3jd2.mjs} +1 -1
  111. package/browser/esm/{BYcIifmA2KfISUAD.mjs → ChAYrf_SM2XZlpZ9.mjs} +6 -6
  112. package/{cdn/assets/DwpzhMm9SjvmHEpB2.js → browser/esm/CiKHaK_kIAhKfCdO.mjs} +1 -1
  113. package/browser/esm/{CMIHnlRJ6ctaJThm2.mjs → Cifhu0Tx_Qo7pYUo2.mjs} +9 -9
  114. package/browser/esm/{BnT_figq3Qu4_Tdm.mjs → Cluu6edX1vMT0APV.mjs} +12 -12
  115. package/browser/esm/{DSuOkzhjUeUGtHv8.mjs → CnMODHX8BiX4JiLR.mjs} +3 -3
  116. package/browser/esm/{DGjbC2bQDlXZu71U.mjs → CnaNnCl2QaqlLn8r.mjs} +139 -139
  117. package/{cdn/assets/C4cN9i6GMOS58iau.js → browser/esm/CrIcPnRynBYfe_Pk.mjs} +261 -169
  118. package/browser/esm/{B0Z8VrL6RioP-2R02.mjs → CuV98lDmbEhW59Ae2.mjs} +1440 -1400
  119. package/browser/esm/{AwRapR2kwqYVijeW.mjs → Cum9BHrpjoznUf1x.mjs} +1 -1
  120. package/{cdn/assets/BfZiZa7P8RpKrStu2.js → browser/esm/Cw3vteUwx6OB-6Iy.mjs} +1 -1
  121. package/browser/esm/{U7ZDW4cwSiPyirkE.mjs → Cz7kfadeRVZBAMZ_.mjs} +1 -1
  122. package/browser/esm/{CZrkJteg0C4_fGBy2.mjs → D1n9gH9C8i-si_ty2.mjs} +7 -7
  123. package/browser/esm/{CiMRlH1xk4i9IiEn.mjs → D3X5GNunddfnKs212.mjs} +1 -1
  124. package/{cdn/assets/ClQiq37bto-oxKtL2.js → browser/esm/D8IjVu2OXXsBZUqt2.mjs} +1 -1
  125. package/{cdn/assets/ERmTt8XRToIi7stb2.js → browser/esm/D8jCy3zoIlOA1GAR.mjs} +1 -1
  126. package/browser/esm/{BG_6y3dWHiR8LpP-2.mjs → D94ChP2mwu_ThODV2.mjs} +1 -1
  127. package/{cdn/assets/CPgdrQexyUXiviTo.js → browser/esm/DDA9KIxPv8iiAvvy2.mjs} +1 -1
  128. package/{cdn/assets/CnBG1teWhE7BlvvP.js → browser/esm/DEVCQtXhk-o9aGOV2.mjs} +2 -2
  129. package/browser/esm/{5FA-4PCi5EIs85WR2.mjs → DEhdjB_Iw2iMcmZh2.mjs} +2 -2
  130. package/{cdn/assets/CFKZFbkoc-8gG0EH.js → browser/esm/DGsj2g4x9odoy93a.mjs} +1 -1
  131. package/browser/esm/{i8BR1tNQSYLz-zpk.mjs → DIzd82jYSriheVOz.mjs} +3 -3
  132. package/{cdn/assets/CiUtfAMZeVao4r9g2.js → browser/esm/DJt8usFidNohlcHI.mjs} +1 -1
  133. package/browser/esm/{D36mtiddUg8k6tPW.mjs → DL_3sKPWBfJtpaG3.mjs} +2 -2
  134. package/browser/esm/{CRNpbge-G8dLIqk9.mjs → DM4ub7OPobMAcSmy.mjs} +2 -2
  135. package/browser/esm/{DOwrrqcb3f3wDR3B.mjs → DNTtMdjOWrGcqQGh.mjs} +24 -24
  136. package/browser/esm/{DuwZ5U8z5dBDeSgO.mjs → DNvbB1BNwBuI3ZDp.mjs} +8 -8
  137. package/browser/esm/{BiHOntEpAjSdwJmu.mjs → DTJrlUtokRNyzKgl.mjs} +12 -12
  138. package/{cdn/assets/XGGjX0z3ae_AWeTr2.js → browser/esm/DTNjbBBLszx7DUAS.mjs} +1 -1
  139. package/browser/esm/DTvl6pZYgFJuU2Pu.mjs +226 -0
  140. package/{cdn/assets/Bd-Kkar9gnLuKTRo.js → browser/esm/DUGWe5q5hsRZixNX.mjs} +1 -1
  141. package/{cdn/assets/ChKDkoQeoZMHq0r7.js → browser/esm/DVdhEB3_SE9GEpGw2.mjs} +1 -1
  142. package/browser/esm/{7bhO6Xzgwllu2tcj2.mjs → DZZ6PVue8DUBcarK2.mjs} +1 -1
  143. package/browser/esm/{BThp5CcmvMVU7Frk2.mjs → DadeKQvFAZsAqr0O.mjs} +2 -2
  144. package/{cdn/assets/COqWk0Oh4IaPrTm7.js → browser/esm/DadeKQvFAZsAqr0O2.mjs} +2 -2
  145. package/browser/esm/{CP2cFopeWN8lQpif.mjs → DbqBX9ozs-Ibg67w.mjs} +5 -5
  146. package/browser/esm/{CIfWyeqd8SBHxpym2.mjs → Dbr_OAl6EZskoqcA2.mjs} +10 -10
  147. package/browser/esm/{BZiMIYsX6zktg4iD2.mjs → DfsFfH7JQJvdJWFk2.mjs} +22 -22
  148. package/{cdn/assets/BjCuy-yO9BQxUj_2.js → browser/esm/Dg79tbN27bDhGeRt2.mjs} +1 -1
  149. package/browser/esm/{CsDejQBEe09RdeRI.mjs → DhCFbzZIeOF7kqNn.mjs} +1 -1
  150. package/browser/esm/{BfRnXrO08JOzICDf2.mjs → DhJ6QuQLZNVmamW_2.mjs} +1 -1
  151. package/browser/esm/{BUbwA9WVFeKfIV6H.mjs → DlWcxpzc1O-m1M2B.mjs} +1 -1
  152. package/browser/esm/{BFAAw3m7wW7Wnf8i2.mjs → DlZq7EB3pYTCoBZR2.mjs} +1 -1
  153. package/{cdn/assets/DsGBg42mflMr5nWn2.js → browser/esm/Do4OOIYh99i3VXc5.mjs} +1 -1
  154. package/browser/esm/{B6wW3holuLEkDOgD.mjs → DqCCvSVY6MZWH0Z3.mjs} +212 -212
  155. package/{cdn/assets/00bUQB6RgRxfotbx2.js → browser/esm/DwhwEhNA_QFs_EaZ.mjs} +1 -1
  156. package/{cdn/assets/DoVrePIXmzfLRmKR2.js → browser/esm/Dyt46qi3aJZ-CbpB.mjs} +2 -2
  157. package/browser/esm/{DNtf7XnGnTZmf9SF.mjs → EIHzG71M5NOvWayY.mjs} +6 -6
  158. package/{cdn/assets/Cz77LBaC6qe0hPm0.js → browser/esm/Gj5vl7eMC5BSe_812.mjs} +1 -1
  159. package/browser/esm/{3763dmlGYD95oq8Z.mjs → ISZRBrb20f_6C_zc.mjs} +897 -794
  160. package/browser/esm/{BYha1NqMzu8G7ReU.mjs → KwY2kcMBX2jKweTI.mjs} +7 -7
  161. package/browser/esm/{D_tGKL5JvKpHg5Se2.mjs → OPJN-aKuq0geLnJ82.mjs} +1 -1
  162. package/browser/esm/{q4b66GxkR8TkSiGY2.mjs → Q53pq80r1Yi_tt2g2.mjs} +11 -11
  163. package/browser/esm/{CxYnCECXc2PyTCrn.mjs → SVBLkue4Zu6FnHvb.mjs} +506 -506
  164. package/browser/esm/{BJk7BkFlT-d2_MDc.mjs → Tg2o581Nj1mxbygb.mjs} +4 -4
  165. package/browser/esm/{ooXd7RLQr67NrRz9.mjs → UWBAgk6dmyMdUUrv.mjs} +210 -124
  166. package/browser/esm/{DiZjLPj4GVJccT-7.mjs → XR6551Psdm-EtuN0.mjs} +2 -2
  167. package/browser/esm/{CsG9IQdgctp6tf2X2.mjs → acwoMYe1beI5Wrq12.mjs} +1 -1
  168. package/{cdn/assets/BouiFjb9pyWsROiW.js → browser/esm/b3BWQGDBSQ4mCgD22.mjs} +1 -1
  169. package/browser/esm/{DdSdpckWJszr8vE72.mjs → clnF8RB-rpJTNpPY2.mjs} +7 -7
  170. package/browser/esm/{DkUKK8YkXuoIqQIx.mjs → h-_FZQM0bW_2jNsi.mjs} +846 -844
  171. package/browser/esm/{CIsuqkDFqRaqaULt.mjs → i3SHwvlGdsJN8P5k.mjs} +1 -1
  172. package/{cdn/assets/BCWx6QCIVIKOKt9n.js → browser/esm/iV1cp5WFOBxaJU3W2.mjs} +1 -1
  173. package/browser/esm/{DmBNtqAUPAi3RnfW2.mjs → iaMUH1DY_mh9eilR2.mjs} +9 -9
  174. package/browser/esm/index.mjs +6 -6
  175. package/browser/esm/{BO6Lz-qmEF5k4ZPU.mjs → wr5fEooS-ldJhkIW.mjs} +9685 -8547
  176. package/browser/esm/{Di2yc0eSWx4sqa1t2.mjs → yCxQIbbRhwpsIqJu2.mjs} +18 -4
  177. package/browser/esm/{B3WsFHUqTcKWNGy_.mjs → zW5-tVai7f63Nz_O.mjs} +4322 -3757
  178. package/browser/esm/{B1uljoK1sRsKmI6N2.mjs → zvbdtZ85j__-6Pqt2.mjs} +80 -80
  179. package/cdn/assets/{BiQlKPbuRw8sLCC5.js → -w9ufIOw-Om_-Wms2.js} +7 -7
  180. package/cdn/assets/{CmNtmMkhbzV8j_I0.js → 4DbJWOjJvf-TOYkv.js} +1 -1
  181. package/cdn/assets/{rUQqpcI_WXcsiwea.js → 4UIqAp3dgLTz_jQl.js} +1 -1
  182. package/cdn/assets/{CZuu-bOdg704oDMV2.js → 5frl5yk1BX9u5Bd42.js} +22 -22
  183. package/cdn/assets/{BInccbDEuHGg1a2y2.js → 95Rg6-R77DB8vhtt2.js} +81 -81
  184. package/cdn/assets/{Bhat781Vzqa1jNlj.js → 9zNnsHPCP6dNE6dt.js} +3 -3
  185. package/cdn/assets/{BeQYgyU20NLEnFql.js → AlSePay9xNV3_6bb2.js} +1 -1
  186. package/cdn/assets/AwPuLKuYMSM7s2v_2.js +227 -0
  187. package/cdn/assets/{DXuBmWXG49kvaZNr.js → B-_shlNzdU5vK6-F.js} +1 -1
  188. package/cdn/assets/{C1HfU9WnOyE_81Y22.js → B1rPJEAA5dgS-yuD2.js} +9 -9
  189. package/cdn/assets/{CRepp6I1poWZwijy2.js → B2PZWx8od3IEHy4E2.js} +7 -7
  190. package/{browser/esm/Cm_bL9sY_cm-k_Pq.mjs → cdn/assets/B2bYjv0KEa2vjuau2.js} +1 -1
  191. package/cdn/assets/{BcGLaH5XYmlLx2is2.js → B4ij2yZFJa5IX7Gk2.js} +9 -9
  192. package/cdn/assets/{qBcxlsrimi009WnV.js → B4o5v-hrdGJbyWK4.js} +2 -2
  193. package/cdn/assets/{BljA9tG92oDDEqjC2.js → B6QNFqmlZvu6dS4Z2.js} +8 -8
  194. package/cdn/assets/{N9sXUCWDhn_zpuR22.js → B7DAcnxzPv0cz6GS2.js} +1 -1
  195. package/cdn/assets/{CNBdjbsAfeLxOXNu.js → B89OWCXpyImxK0eb.js} +1 -1
  196. package/cdn/assets/{RnavifpmQlGK2gal.js → BC5CAuRYyJJli2nd.js} +2 -2
  197. package/cdn/assets/{C9QsQZR03iUbXGDd2.js → BCECU4i5lxfS0Udy.js} +1 -1
  198. package/{browser/esm/DtFBvTH8ScTC26Xd.mjs → cdn/assets/BDn_jC98FsiXZwGr.js} +1 -1
  199. package/{browser/esm/p-0E4OSYsnvo4Jvb2.mjs → cdn/assets/BG5ptu1QVVE32_SU.js} +1 -1
  200. package/{browser/esm/BcdWHWjggmDQ6_Zx2.mjs → cdn/assets/BHQdCxqlomq-292-.js} +118 -118
  201. package/{browser/esm/Be_zCt9smEb4NVGF.mjs → cdn/assets/BH_TN28AGDJoWsiz.js} +2 -2
  202. package/cdn/assets/{BY7a2KqdhpxV2mYN.js → BP16A2unTwME_JUN.js} +2 -2
  203. package/cdn/assets/{FG3AVHTW-X8T6X6V2.js → BPzCgPCFw6OXBqtP2.js} +8 -8
  204. package/cdn/assets/{Dr3NMWk6K4-HWYsp.js → BQemec4LLoAl92_B.js} +1 -1
  205. package/cdn/assets/{DiViqDuRVTrNy_8T2.js → BRVkA5J9pds0HKNi2.js} +2 -2
  206. package/cdn/assets/{DrVaoGzrL25jLUGy.js → BRXqd83y_8Jm2IXn.js} +231 -231
  207. package/cdn/assets/{CNJExdRjs2zrq2QI2.js → BUHOArLYzXBeYzXy.js} +12 -12
  208. package/{browser/esm/cwwLkCUZ083FPUTU2.mjs → cdn/assets/BUxPCLlW-ZMhy0kO.js} +2 -2
  209. package/{browser/esm/7XkdeYBragcPQQS0.mjs → cdn/assets/BXlBCVkeDEYvDBJB.js} +1 -1
  210. package/cdn/assets/{C62Y8jSQuT2_lqUs2.js → BYk8t-CVbU8h5jS62.js} +1 -1
  211. package/cdn/assets/{0Jeqx95iG9faxIsB.js → BZSwuzPkthzsadzX.js} +8 -8
  212. package/cdn/assets/{Buwn5fZU7jRx2O2L2.js → Bb2eLL0IUxmGT8uG2.js} +8 -8
  213. package/{browser/esm/B5SNHCcrvOdUn7Vu.mjs → cdn/assets/Bcwk_FRKVLyPomW4.js} +331 -239
  214. package/cdn/assets/{BNSYILHKGtNTW6AH2.js → BgJZVus3WAJnbiwZ2.js} +14 -14
  215. package/{browser/esm/NLHUljnhbCboNbaU.mjs → cdn/assets/Bhz4-fERBAhVf8ze2.js} +1 -1
  216. package/{browser/esm/BQRlxHPPnb-Xp7mx.mjs → cdn/assets/Bis-2jH6YBF6g66T2.js} +1 -1
  217. package/{browser/esm/DQXXQ7c_080TSD18.mjs → cdn/assets/BlYbn-3NJeiQ8dVU.js} +1 -1
  218. package/cdn/assets/{CU-pICtgXW5Kn0sP.js → BmcgeYHDyFh865ey.js} +3467 -3385
  219. package/{browser/esm/DYoBCnD1PVzOITgb2.mjs → cdn/assets/Bo5_yVXoppQHxkAs.js} +1 -1
  220. package/cdn/assets/{DLBKxOA2T_WJvvvH2.js → BrZcNYdz3ufxcsyF2.js} +10 -10
  221. package/{browser/esm/LryKLHFrshlshCEk2.mjs → cdn/assets/Bw8V5WPmS2yA3Nli.js} +1 -1
  222. package/cdn/assets/{DCY3GQ5g02kgKrPz.js → Bx_8Vgu2B9rmr3So.js} +1 -1
  223. package/cdn/assets/{DilLxTePPshHHpSq.js → C06Yqqvfz4f-vnXA.js} +6 -6
  224. package/{browser/esm/C_6kPChYiQzj6w3V2.mjs → cdn/assets/C0vo8lE4bLKFYxkh2.js} +1 -1
  225. package/cdn/assets/{DwB2Aw3VeP0bDUcu2.js → C2cKoe4Zik7iVYe42.js} +23 -23
  226. package/cdn/assets/{BqT5uCSFT_HATJJw.js → C7svWLuGopr_jw0t.js} +1 -1
  227. package/cdn/assets/{C2-SeODnwo_GR5pz.js → C8XBql0-rVxPPgdF.js} +508 -508
  228. package/cdn/assets/{DVRMsPYzWC08As4p.js → CAC_xDUcFxj4WkGc.js} +1068 -965
  229. package/cdn/assets/{CkGtAcs5pCYCEP8p.js → CB2GXUrOhyLmnsVF2.js} +210 -124
  230. package/cdn/assets/{C3D_ZF-8-b6d8y4e2.js → CBrZYomkgb7qvYFr2.js} +2 -2
  231. package/{browser/esm/CqheKk46etN--iuw2.mjs → cdn/assets/CCAmUEfkNvVwKNOo.js} +1 -1
  232. package/{browser/esm/_WaFh_cvGeblogUn2.mjs → cdn/assets/CCauT418WamqPMCO.js} +1 -1
  233. package/{browser/esm/I5pKfeOLCqhpzdsw.mjs → cdn/assets/CIT0V8cmnyP4zirK2.js} +1 -1
  234. package/cdn/assets/{yg7AU6dKBI7tCqJd.js → CIwWrEXfSN_3khPI2.js} +1 -1
  235. package/cdn/assets/{BPh6sTO11J2UoKVG.js → COLxuIHK4CwKSCmM.js} +1 -1
  236. package/cdn/assets/{Doj9y5S2cMVRtP1D.js → CPrgeFAwr7BHqmHu.js} +8 -8
  237. package/{browser/esm/DN6XiWA9mgKCYBL72.mjs → cdn/assets/CUQpAR2c-_Pwu2Eu.js} +1 -1
  238. package/cdn/assets/{CVV-QxmM_7vUYzFC2.js → CZQe_58fmtS0SgdD2.js} +1 -1
  239. package/cdn/assets/{ClrdhQeh_WoBg0Ws.js → C_VwHa0tEc_OcSRF.js} +1 -1
  240. package/{browser/esm/DDfhrc6lUmerlDLA2.mjs → cdn/assets/CeT8chcNlkKehyJE.js} +1 -1
  241. package/{browser/esm/CQi9Ek-nl9QWmoMC2.mjs → cdn/assets/Cfob6FEkwxaSK3jd.js} +1 -1
  242. package/{browser/esm/DwpzhMm9SjvmHEpB.mjs → cdn/assets/CiKHaK_kIAhKfCdO2.js} +1 -1
  243. package/cdn/assets/{Ks5Tzjg6SEeoLe6a.js → CjYlIFqHaDFiZlal2.js} +31 -31
  244. package/cdn/assets/{Bijn-3ZS9ONia1ja.js → Cjeb-kMHzEUFlM_l.js} +8 -8
  245. package/cdn/assets/{BJ74o1RxHOu_KTYD2.js → Cjrrmg-P0lKlzEfq2.js} +89 -89
  246. package/cdn/assets/{BXV_vaLwr-mEvH-k.js → CqFpYuZRY1Oa6Kdj.js} +7 -7
  247. package/cdn/assets/{AwRapR2kwqYVijeW2.js → Cum9BHrpjoznUf1x.js} +1 -1
  248. package/{browser/esm/BfZiZa7P8RpKrStu.mjs → cdn/assets/Cw3vteUwx6OB-6Iy.js} +1 -1
  249. package/cdn/assets/{U7ZDW4cwSiPyirkE2.js → Cz7kfadeRVZBAMZ_2.js} +1 -1
  250. package/cdn/assets/{DtOWX0kdgZMsDoO7.js → D14aC0o9d5RZrVJo.js} +8 -8
  251. package/cdn/assets/{CiMRlH1xk4i9IiEn.js → D3X5GNunddfnKs21.js} +1 -1
  252. package/cdn/assets/{Cr34xFdpfmYj3XVX.js → D4a2UOIcVrZtupKH.js} +5519 -4954
  253. package/{browser/esm/ClQiq37bto-oxKtL.mjs → cdn/assets/D8IjVu2OXXsBZUqt.js} +1 -1
  254. package/{browser/esm/ERmTt8XRToIi7stb.mjs → cdn/assets/D8jCy3zoIlOA1GAR2.js} +1 -1
  255. package/cdn/assets/{BG_6y3dWHiR8LpP-.js → D94ChP2mwu_ThODV.js} +1 -1
  256. package/cdn/assets/{CX7_0zQyYWqVfYUE2.js → DAUF2tc_qrKzAbp32.js} +10 -10
  257. package/{browser/esm/CPgdrQexyUXiviTo.mjs → cdn/assets/DDA9KIxPv8iiAvvy.js} +1 -1
  258. package/cdn/assets/{D6g5-9e1xAhCBLKs2.js → DEgXvxiW0vq9ppwM2.js} +20494 -19356
  259. package/cdn/assets/{5FA-4PCi5EIs85WR.js → DEhdjB_Iw2iMcmZh.js} +2 -2
  260. package/cdn/assets/{TA52Zf5ZMCu6I721.js → DFvNGCdvSx5VASsE.js} +2 -2
  261. package/{browser/esm/CFKZFbkoc-8gG0EH.mjs → cdn/assets/DGsj2g4x9odoy93a.js} +1 -1
  262. package/cdn/assets/{BEcgIVa19rKPTwlt2.js → DHAWMS42nJvjdtuv2.js} +25 -25
  263. package/cdn/assets/{BlPAZIJrjbcHxcJj.js → DJ1m0LQ8vRMX16Tx2.js} +777 -775
  264. package/{browser/esm/CiUtfAMZeVao4r9g.mjs → cdn/assets/DJt8usFidNohlcHI2.js} +1 -1
  265. package/cdn/assets/{C6FGZZf4iXdgdE2p2.js → DOFrZ-RMlv0mEbr62.js} +43 -43
  266. package/cdn/assets/{DhJUo9PMmo1COlmU2.js → DQJgLUaP7Ha_fkvr2.js} +1685 -1645
  267. package/cdn/assets/{DW_9fxHbJWAA6hS7.js → DR7GcNKO8jkJSCQs.js} +3 -3
  268. package/cdn/assets/{ByMjPzoTrB6veNzc2.js → DRJzNrQ15sOSjd2e2.js} +12 -12
  269. package/{browser/esm/XGGjX0z3ae_AWeTr.mjs → cdn/assets/DTNjbBBLszx7DUAS2.js} +1 -1
  270. package/{browser/esm/Bd-Kkar9gnLuKTRo2.mjs → cdn/assets/DUGWe5q5hsRZixNX2.js} +1 -1
  271. package/{browser/esm/ChKDkoQeoZMHq0r72.mjs → cdn/assets/DVdhEB3_SE9GEpGw.js} +1 -1
  272. package/cdn/assets/{B1eVAWzwtBE6vo-r.js → DXLCCNbizOqKHb2c.js} +2 -2
  273. package/cdn/assets/{7bhO6Xzgwllu2tcj.js → DZZ6PVue8DUBcarK.js} +1 -1
  274. package/cdn/assets/{BKrWCWpOpggPjFQq2.js → D_0WWqsqXJL1liYE.js} +9 -9
  275. package/cdn/assets/{POvNgF4k1Kibh6Db.js → DdtqpY-XqWQemNlu.js} +6 -6
  276. package/{browser/esm/BjCuy-yO9BQxUj_22.mjs → cdn/assets/Dg79tbN27bDhGeRt.js} +1 -1
  277. package/cdn/assets/{CsDejQBEe09RdeRI2.js → DhCFbzZIeOF7kqNn2.js} +1 -1
  278. package/cdn/assets/{BfRnXrO08JOzICDf.js → DhJ6QuQLZNVmamW_.js} +1 -1
  279. package/cdn/assets/{BUbwA9WVFeKfIV6H.js → DlWcxpzc1O-m1M2B.js} +1 -1
  280. package/cdn/assets/{BFAAw3m7wW7Wnf8i.js → DlZq7EB3pYTCoBZR.js} +1 -1
  281. package/{browser/esm/DsGBg42mflMr5nWn.mjs → cdn/assets/Do4OOIYh99i3VXc52.js} +1 -1
  282. package/cdn/assets/{BVFVnXqCCuycZFnG.js → DsDi-rMPWyWzWitl.js} +4 -4
  283. package/cdn/assets/DwhwEhNA_QFs_EaZ.js +24 -0
  284. package/cdn/assets/DwhwEhNA_QFs_EaZ2.js +24 -0
  285. package/cdn/assets/{CNJDMOYg-cuIfNfJ.js → DxzX_-E3wr0c8-0b.js} +17 -3
  286. package/cdn/assets/{kgHG0ixsMXmNdu8U.js → Dy9SlSZp3B0IfxZM.js} +7 -7
  287. package/cdn/assets/{DtumfSbgP4e8W8h3.js → EcoVJH4is9c6hPnS.js} +2 -2
  288. package/cdn/assets/{BZpQlzDFTqlBTj8r.js → GABbnj9qIWyEbare2.js} +125 -124
  289. package/{browser/esm/Cz77LBaC6qe0hPm02.mjs → cdn/assets/Gj5vl7eMC5BSe_81.js} +1 -1
  290. package/cdn/assets/{CweS1pLcEo28_Fd3.js → I2O4wgRVKQfD0EvR.js} +3 -3
  291. package/cdn/assets/{hbYg8nwB--Ouo3PE2.js → IfWL5kbc_82yS9Ek2.js} +11 -11
  292. package/cdn/assets/{DE2W5y4QJln8ofNW2.js → JGftuh24rk6BMfkr2.js} +138 -138
  293. package/cdn/assets/{ZGRko_YhO95NyKLu.js → Mo49UfLrLCgf_5pV2.js} +488 -488
  294. package/cdn/assets/{CdP9qTlDd3C1oYJE.js → NaYNBS42-TDUcEoM.js} +849 -847
  295. package/cdn/assets/{D_tGKL5JvKpHg5Se.js → OPJN-aKuq0geLnJ8.js} +1 -1
  296. package/cdn/assets/{B3XQHzZTHSzv7fpC.js → Oh10DZZ2Ac49rAQC.js} +5 -5
  297. package/cdn/assets/{C5JHyXmpBXqT829C.js → WkWv2DINRHwBdTOP.js} +301 -301
  298. package/{browser/esm/BThp5CcmvMVU7Frk.mjs → cdn/assets/XCCi1PHPbJ6YaXx3.js} +2 -2
  299. package/cdn/assets/{DFs_9gdet_-cO7iH.js → aFMcUoW7eSrX_WvX.js} +2 -2
  300. package/cdn/assets/{CsG9IQdgctp6tf2X.js → acwoMYe1beI5Wrq1.js} +1 -1
  301. package/{browser/esm/BouiFjb9pyWsROiW2.mjs → cdn/assets/b3BWQGDBSQ4mCgD2.js} +1 -1
  302. package/cdn/assets/{CRGjj70fiZgAfoOZ2.js → bTb_qWNZ9gqpiDKP2.js} +6 -6
  303. package/cdn/assets/{NHd14bmjDunGi64w2.js → gB5jSIc2WRvZWgrs2.js} +5 -5
  304. package/cdn/assets/{CIsuqkDFqRaqaULt2.js → i3SHwvlGdsJN8P5k2.js} +1 -1
  305. package/{browser/esm/BCWx6QCIVIKOKt9n2.mjs → cdn/assets/iV1cp5WFOBxaJU3W.js} +1 -1
  306. package/cdn/assets/{Bzv3-2eiz66ZkXnN.js → tEVV1QDIj2xjwhXe.js} +4 -4
  307. package/cdn/assets/{61OH_HiXgmNuRUDx2.js → v49CyNYkIHP85Zly2.js} +73 -73
  308. package/cdn/index.js +2 -2
  309. package/package.json +3 -3
  310. package/browser/cjs/9Fb0mL7xhqVmVTQp.cjs +0 -3
  311. package/browser/cjs/BItTNeA_ukOziuTp.cjs +0 -41
  312. package/browser/cjs/CQd4PPsP2BuocLDM.cjs +0 -2
  313. package/browser/cjs/CSWmGDsxPB7HVJiO2.cjs +0 -1
  314. package/browser/cjs/D689Ek3LK_7M1YS9.cjs +0 -14
  315. package/browser/cjs/D6OTRWh1ys5CR_lb.cjs +0 -1
  316. package/browser/cjs/DDvxqFQeKcwQCcgl2.cjs +0 -1
  317. package/browser/cjs/DNnMGL1ff8hutxSd.cjs +0 -1
  318. package/browser/cjs/DggQv_m8hwCk0ZPk.cjs +0 -11
  319. package/browser/cjs/DjAg1qKbGRcCxZG2.cjs +0 -1
  320. package/browser/cjs/DlAHUQXBMc-ZTn_c.cjs +0 -32
  321. package/browser/cjs/DniLHjmREpdi1cFx.cjs +0 -1
  322. package/browser/cjs/DqnvNfw5YpO2rdty2.cjs +0 -1
  323. package/browser/cjs/DuQsMI_VBrtewlPT2.cjs +0 -8
  324. package/browser/cjs/DunGPPWyXlG69yIV2.cjs +0 -1
  325. package/browser/cjs/Dw7oGgh_7fEPOoIV2.cjs +0 -3
  326. package/browser/cjs/LMZmmGBTj9hqFwwu2.cjs +0 -1
  327. package/browser/cjs/VSzadbRbgIx_c4Y7.cjs +0 -1
  328. package/browser/cjs/gsOqF4MyYN9gz4oo.cjs +0 -5
  329. package/browser/cjs/hHVT-pzS2bhjFHSL.cjs +0 -93
  330. package/browser/cjs/jW0ar9T4rYfgy_4N.cjs +0 -1
  331. package/browser/cjs/y4PTOoQv-PlD-vAG2.cjs +0 -1
  332. package/browser/esm/CXT9wGUombXj7n-s2.mjs +0 -98
  333. package/browser/esm/CmmaFuVaTfOm96g4.mjs +0 -225
  334. package/cdn/assets/3o0o7-MzWgSJRADP2.js +0 -99
  335. package/cdn/assets/BLKL_d2AFcnL6fbw2.js +0 -226
  336. package/cdn/assets/BVri2gMOX526uJV5.js +0 -24
  337. package/cdn/assets/BVri2gMOX526uJV52.js +0 -24
  338. /package/browser/cjs/{507hQYooKKjnRzsZ.cjs → 507hQYooKKjnRzsZ2.cjs} +0 -0
  339. /package/browser/cjs/{B6vy56yEA1I3B74O.cjs → B6vy56yEA1I3B74O2.cjs} +0 -0
  340. /package/browser/cjs/{BWDfauDHqB6U_2ka.cjs → BWDfauDHqB6U_2ka2.cjs} +0 -0
  341. /package/browser/cjs/{C0g87ndP2zMUbX6f.cjs → C0g87ndP2zMUbX6f2.cjs} +0 -0
  342. /package/browser/cjs/{C2uDl8VIJqh58YF_.cjs → C2uDl8VIJqh58YF_2.cjs} +0 -0
  343. /package/browser/cjs/{C9q3zr8iCIoYDrdA2.cjs → C9q3zr8iCIoYDrdA.cjs} +0 -0
  344. /package/browser/cjs/{CW-b31_-r-_raT8Y2.cjs → CW-b31_-r-_raT8Y.cjs} +0 -0
  345. /package/browser/cjs/{CrZlUtdX1h2RUnCP.cjs → CrZlUtdX1h2RUnCP2.cjs} +0 -0
  346. /package/browser/cjs/{D8-KovdJ0LjxqCe22.cjs → D8-KovdJ0LjxqCe2.cjs} +0 -0
  347. /package/browser/cjs/{DSXLVieENYN9qXYl2.cjs → DSXLVieENYN9qXYl.cjs} +0 -0
  348. /package/browser/cjs/{Dtxj9JR14A-uliu52.cjs → Dtxj9JR14A-uliu5.cjs} +0 -0
  349. /package/browser/cjs/{Dx7GQ4ALtNG3kshu2.cjs → Dx7GQ4ALtNG3kshu.cjs} +0 -0
@@ -1,17 +1,17 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.8.0-beta.4
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.8.0-beta.6
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
6
  */
7
- import { I as e, K as t, c as n, d as r, z as i } from "./C62Y8jSQuT2_lqUs.mjs";
8
- import { i as a, l as o } from "./DsGBg42mflMr5nWn.mjs";
9
- import { Jt as s, R as c, Xt as l, ct as u, nt as d, ot as f } from "./BO6Lz-qmEF5k4ZPU.mjs";
10
- import { g as p } from "./DGjbC2bQDlXZu71U.mjs";
11
- import { t as m } from "./I5pKfeOLCqhpzdsw.mjs";
12
- import { A as h, C as g, E as _, F as v, H as y, I as b, L as ee, M as x, N as te, O as ne, P as re, Q as ie, R as ae, T as oe, V as se, W as ce, Z as le, _ as ue, c as de, et as S, it as C, k as w, l as fe, m as pe, n as me, nt as he, o as T, ot as E, p as D, q as O, st as k, u as A, x as j } from "./ooXd7RLQr67NrRz9.mjs";
13
- import { a as ge, c as _e, d as M, h as ve, i as ye, l as be, n as xe, p as Se, s as Ce, t as we, u as Te } from "./DdNzoOIDRFbcy-qK.mjs";
14
- var Ee = /* @__PURE__ */ new Uint8Array(), N = class e {
7
+ import { I as e, K as t, c as n, d as r, z as i } from "./BYk8t-CVbU8h5jS6.mjs";
8
+ import { i as a, l as o } from "./Do4OOIYh99i3VXc5.mjs";
9
+ import { D as s, Mt as c, O as l, lt as u, x as d, xt as f } from "./wr5fEooS-ldJhkIW.mjs";
10
+ import { _ as p, t as m } from "./CnaNnCl2QaqlLn8r.mjs";
11
+ import { t as h } from "./0oEGfdAHhaLHKSti.mjs";
12
+ import { $ as g, A as _, B as v, C as y, D as b, E as x, F as ee, I as te, J as ne, L as re, M as ie, N as ae, P as oe, Q as se, U as ce, V as le, W as ue, X as S, _ as C, a as w, at as T, b as de, et as fe, h as E, j as D, l as O, m as k, nt as A, q as pe, rt as me, t as j, u as M, y as he, z as ge } from "./UWBAgk6dmyMdUUrv.mjs";
13
+ import { a as N, c as _e, d as P, h as ve, i as ye, l as be, n as xe, p as Se, s as Ce, t as we, u as Te } from "./B_bAeABEjj7U2zzq.mjs";
14
+ var Ee = /* @__PURE__ */ new Uint8Array(), F = class e {
15
15
  constructor(e, t, n) {
16
16
  this.buffers = /* @__PURE__ */ new Map(), this.zip = e, this.entries = t, this.rawBuffer = n;
17
17
  }
@@ -19,7 +19,7 @@ var Ee = /* @__PURE__ */ new Uint8Array(), N = class e {
19
19
  return e.startsWith("/") ? e.slice(1) : e;
20
20
  }
21
21
  static async create(t) {
22
- let n = t instanceof Blob ? Ee : t instanceof Uint8Array ? t : new Uint8Array(t), r = new T(t instanceof Blob ? new _(t) : new w(n)), i = /* @__PURE__ */ new Map();
22
+ let n = t instanceof Blob ? Ee : t instanceof Uint8Array ? t : new Uint8Array(t), r = new O(t instanceof Blob ? new S(t) : new g(n)), i = /* @__PURE__ */ new Map();
23
23
  for (let e of await r.getEntries()) e.directory || i.set(e.filename, e);
24
24
  return new e(r, i, n);
25
25
  }
@@ -85,18 +85,18 @@ var Ee = /* @__PURE__ */ new Uint8Array(), N = class e {
85
85
  async close() {
86
86
  await this.zip.close();
87
87
  }
88
- }, De = class {
88
+ }, I = class {
89
89
  constructor(e) {
90
- this._sink = e, this._samples = [], this._t0 = P(), this._tPrev = this._t0, this._heapPrev = Oe();
90
+ this._sink = e, this._samples = [], this._t0 = L(), this._tPrev = this._t0, this._heapPrev = De();
91
91
  }
92
92
  mark(e) {
93
- let t = P(), n = Oe(), r = {
93
+ let t = L(), n = De(), r = {
94
94
  label: e,
95
95
  tMs: t - this._t0,
96
96
  dtMs: t - this._tPrev,
97
97
  heapBytes: n,
98
98
  dHeapBytes: n !== void 0 && this._heapPrev !== void 0 ? n - this._heapPrev : void 0,
99
- rssBytes: ke()
99
+ rssBytes: Oe()
100
100
  };
101
101
  this._tPrev = t, this._heapPrev = n, this._samples.push(r), this._sink?.(r);
102
102
  }
@@ -108,91 +108,91 @@ var Ee = /* @__PURE__ */ new Uint8Array(), N = class e {
108
108
  phase: e.label,
109
109
  tMs: Math.round(e.tMs),
110
110
  dtMs: Math.round(e.dtMs),
111
- heapMB: e.heapBytes === void 0 ? "—" : F(e.heapBytes / 1048576),
112
- dHeapMB: e.dHeapBytes === void 0 ? "—" : F(e.dHeapBytes / 1048576),
113
- rssMB: e.rssBytes === void 0 ? "—" : F(e.rssBytes / 1048576)
111
+ heapMB: e.heapBytes === void 0 ? "—" : R(e.heapBytes / 1048576),
112
+ dHeapMB: e.dHeapBytes === void 0 ? "—" : R(e.dHeapBytes / 1048576),
113
+ rssMB: e.rssBytes === void 0 ? "—" : R(e.rssBytes / 1048576)
114
114
  }));
115
115
  }
116
- }, P = typeof performance == "object" && typeof performance.now == "function" ? () => performance.now() : () => Date.now();
117
- function Oe() {
116
+ }, L = typeof performance == "object" && typeof performance.now == "function" ? () => performance.now() : () => Date.now();
117
+ function De() {
118
118
  let e = typeof performance == "object" ? performance.memory : void 0;
119
119
  if (e && typeof e.usedJSHeapSize == "number") return e.usedJSHeapSize;
120
120
  let t = globalThis.process;
121
121
  return typeof t == "object" && typeof t.memoryUsage == "function" ? t.memoryUsage().heapUsed : void 0;
122
122
  }
123
- function ke() {
123
+ function Oe() {
124
124
  let e = globalThis.process;
125
125
  if (typeof e == "object" && typeof e.memoryUsage == "function") return e.memoryUsage().rss;
126
126
  }
127
- function F(e) {
127
+ function R(e) {
128
128
  return Math.round(10 * e) / 10;
129
129
  }
130
- var I = ":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿", L = `-${I}.0-9·̀-ͯ‿-⁀`, Ae = (RegExp(`^[${I}]$`, "u"), RegExp(`^[${L}]$`, "u"), RegExp(`^[${I}][${L}]*$`, "u")), R = (RegExp(`^[${L}]+$`, "u"), [
130
+ var ke = ":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿", z = `-${ke}.0-9·̀-ͯ‿-⁀`, Ae = (RegExp(`^[${ke}]$`, "u"), RegExp(`^[${z}]$`, "u"), RegExp(`^[${ke}][${z}]*$`, "u")), B = (RegExp(`^[${z}]+$`, "u"), [
131
131
  32,
132
132
  10,
133
133
  13,
134
134
  9
135
135
  ]);
136
- function je(e) {
136
+ function V(e) {
137
137
  return e >= 65 && e <= 90 || e >= 97 && e <= 122 || e === 58 || e === 95 || e === 8204 || e === 8205 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 767 || e >= 880 && e <= 893 || e >= 895 && e <= 8191 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
138
138
  }
139
- var z = ":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿", B = `-${z}.0-9·̀-ͯ‿-⁀`;
140
- RegExp(`^[${z}]$`, "u"), RegExp(`^[${B}]$`, "u"), RegExp(`^[${z}][${B}]*$`, "u"), RegExp(`^[${B}]+$`, "u");
141
- var Me = "A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿", Ne = `-${Me}.0-9·̀-ͯ‿-⁀`, V = (RegExp(`^[${Me}]$`, "u"), RegExp(`^[${Ne}]$`, "u"), RegExp(`^[${Me}][${Ne}]*$`, "u"));
142
- function Pe(e) {
139
+ var je = ":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿", Me = `-${je}.0-9·̀-ͯ‿-⁀`;
140
+ RegExp(`^[${je}]$`, "u"), RegExp(`^[${Me}]$`, "u"), RegExp(`^[${je}][${Me}]*$`, "u"), RegExp(`^[${Me}]+$`, "u");
141
+ var H = "A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿", Ne = `-${H}.0-9·̀-ͯ‿-⁀`, Pe = (RegExp(`^[${H}]$`, "u"), RegExp(`^[${Ne}]$`, "u"), RegExp(`^[${H}][${Ne}]*$`, "u"));
142
+ function Fe(e) {
143
143
  return e >= 65 && e <= 90 || e === 95 || e >= 97 && e <= 122 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 767 || e >= 880 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
144
144
  }
145
- var H, U = function(e) {
145
+ var U, W = function(e) {
146
146
  return e === 32 || e === 10 || e === 13 || e === 9;
147
- }, Fe = function(e) {
147
+ }, Ie = function(e) {
148
148
  return e >= 32 && e <= 55295 || e === 10 || e === 13 || e === 9 || e >= 57344 && e <= 65533 || e >= 65536 && e <= 1114111;
149
- }, Ie = je, Le = function(e) {
150
- return je(e) || e >= 48 && e <= 57 || e === 45 || e === 46 || e === 183 || e >= 768 && e <= 879 || e >= 8255 && e <= 8256;
151
- }, Re = R, ze = Ae, Be = function(e) {
149
+ }, Le = V, Re = function(e) {
150
+ return V(e) || e >= 48 && e <= 57 || e === 45 || e === 46 || e === 183 || e >= 768 && e <= 879 || e >= 8255 && e <= 8256;
151
+ }, ze = B, Be = Ae, Ve = function(e) {
152
152
  return e >= 1 && e <= 55295 || e >= 57344 && e <= 65533 || e >= 65536 && e <= 1114111;
153
- }, Ve = Pe, He = function(e) {
154
- return Pe(e) || e === 45 || e === 46 || e >= 48 && e <= 57 || e === 183 || e >= 768 && e <= 879 || e >= 8255 && e <= 8256;
155
- }, Ue = V, W = "http://www.w3.org/XML/1998/namespace", We = "http://www.w3.org/2000/xmlns/", Ge = {
153
+ }, He = Fe, Ue = function(e) {
154
+ return Fe(e) || e === 45 || e === 46 || e >= 48 && e <= 57 || e === 183 || e >= 768 && e <= 879 || e >= 8255 && e <= 8256;
155
+ }, We = Pe, Ge = "http://www.w3.org/XML/1998/namespace", Ke = "http://www.w3.org/2000/xmlns/", qe = {
156
156
  __proto__: null,
157
- xml: W,
158
- xmlns: We
159
- }, Ke = {
157
+ xml: Ge,
158
+ xmlns: Ke
159
+ }, Je = {
160
160
  __proto__: null,
161
161
  amp: "&",
162
162
  gt: ">",
163
163
  lt: "<",
164
164
  quot: "\"",
165
165
  apos: "'"
166
- }, G = -1, K = -2, q = 13, qe = 33, Je = 10, Ye = 60, Xe = 61, J = 62, Y = 63, Ze = 93, Qe = (e) => e === 34 || e === 39, $e = [34, 39], et = [
167
- ...$e,
166
+ }, G = -1, K = -2, q = 13, Ye = 33, Xe = 10, Ze = 60, Qe = 61, J = 62, Y = 63, $e = 93, et = (e) => e === 34 || e === 39, tt = [34, 39], nt = [
167
+ ...tt,
168
168
  91,
169
169
  J
170
- ], tt = [
171
- ...$e,
172
- Ye,
173
- Ze
174
- ], nt = [
175
- Xe,
176
- Y,
177
- ...Re
178
170
  ], rt = [
179
- ...Re,
171
+ ...tt,
172
+ Ze,
173
+ $e
174
+ ], it = [
175
+ Qe,
176
+ Y,
177
+ ...ze
178
+ ], at = [
179
+ ...ze,
180
180
  J,
181
181
  38,
182
- Ye
182
+ Ze
183
183
  ];
184
- function it(e, t, n) {
184
+ function ot(e, t, n) {
185
185
  switch (t) {
186
186
  case "xml":
187
- n !== W && e.fail(`xml prefix must be bound to ${W}.`);
187
+ n !== Ge && e.fail(`xml prefix must be bound to ${Ge}.`);
188
188
  break;
189
- case "xmlns": n !== We && e.fail(`xmlns prefix must be bound to ${We}.`);
189
+ case "xmlns": n !== Ke && e.fail(`xmlns prefix must be bound to ${Ke}.`);
190
190
  }
191
191
  switch (n) {
192
- case We:
193
- e.fail(t === "" ? `the default namespace may not be set to ${n}.` : `may not assign a prefix (even "xmlns") to the URI ${We}.`);
192
+ case Ke:
193
+ e.fail(t === "" ? `the default namespace may not be set to ${n}.` : `may not assign a prefix (even "xmlns") to the URI ${Ke}.`);
194
194
  break;
195
- case W: switch (t) {
195
+ case Ge: switch (t) {
196
196
  case "xml": break;
197
197
  case "":
198
198
  e.fail(`the default namespace may not be set to ${n}.`);
@@ -201,7 +201,7 @@ function it(e, t, n) {
201
201
  }
202
202
  }
203
203
  }
204
- var at, ot = (e) => Ue.test(e), st = (e) => ze.test(e), ct = {
204
+ var st, ct = (e) => We.test(e), lt = (e) => Be.test(e), ut = {
205
205
  xmldecl: "xmlDeclHandler",
206
206
  text: "textHandler",
207
207
  processinginstruction: "piHandler",
@@ -215,7 +215,7 @@ var at, ot = (e) => Ue.test(e), st = (e) => ze.test(e), ct = {
215
215
  error: "errorHandler",
216
216
  end: "endHandler",
217
217
  ready: "readyHandler"
218
- }, lt = class {
218
+ }, dt = class {
219
219
  get closed() {
220
220
  return this._closed;
221
221
  }
@@ -223,15 +223,15 @@ var at, ot = (e) => Ue.test(e), st = (e) => ze.test(e), ct = {
223
223
  this.i = 0, this.prevI = 0, this.opt = e ?? {}, this.fragmentOpt = !!this.opt.fragment;
224
224
  let t = this.xmlnsOpt = !!this.opt.xmlns;
225
225
  if (this.trackPosition = !1 !== this.opt.position, this.fileName = this.opt.fileName, t) {
226
- this.nameStartCheck = Ve, this.nameCheck = He, this.isName = ot, this.processAttribs = this.processAttribsNS, this.pushAttrib = this.pushAttribNS, this.ns = {
226
+ this.nameStartCheck = He, this.nameCheck = Ue, this.isName = ct, this.processAttribs = this.processAttribsNS, this.pushAttrib = this.pushAttribNS, this.ns = {
227
227
  __proto__: null,
228
- ...Ge
228
+ ...qe
229
229
  };
230
230
  let e = this.opt.additionalNamespaces;
231
231
  e != null && (function(e, t) {
232
- for (let n of Object.keys(t)) it(e, n, t[n]);
232
+ for (let n of Object.keys(t)) ot(e, n, t[n]);
233
233
  }(this, e), Object.assign(this.ns, e));
234
- } else this.nameStartCheck = Ie, this.nameCheck = Le, this.isName = st, this.processAttribs = this.processAttribsPlain, this.pushAttrib = this.pushAttribPlain;
234
+ } else this.nameStartCheck = Le, this.nameCheck = Re, this.isName = lt, this.processAttribs = this.processAttribsPlain, this.pushAttrib = this.pushAttribPlain;
235
235
  this.stateTable = [
236
236
  this.sBegin,
237
237
  this.sBeginWhitespace,
@@ -293,7 +293,7 @@ var at, ot = (e) => Ue.test(e), st = (e) => ze.test(e), ct = {
293
293
  version: void 0,
294
294
  encoding: void 0,
295
295
  standalone: void 0
296
- }, this.line = 1, this.column = 0, this.ENTITIES = Object.create(Ke), this.readyHandler?.();
296
+ }, this.line = 1, this.column = 0, this.ENTITIES = Object.create(Je), this.readyHandler?.();
297
297
  }
298
298
  get position() {
299
299
  return this.chunkPosition + this.i;
@@ -302,10 +302,10 @@ var at, ot = (e) => Ue.test(e), st = (e) => ze.test(e), ct = {
302
302
  return this.position - this.positionAtNewLine;
303
303
  }
304
304
  on(e, t) {
305
- this[ct[e]] = t;
305
+ this[ut[e]] = t;
306
306
  }
307
307
  off(e) {
308
- this[ct[e]] = void 0;
308
+ this[ut[e]] = void 0;
309
309
  }
310
310
  makeError(e) {
311
311
  let t = this.fileName ?? "";
@@ -336,8 +336,8 @@ var at, ot = (e) => Ue.test(e), st = (e) => ze.test(e), ct = {
336
336
  if (this.column++, n < 55296) {
337
337
  if (n >= 32 || n === 9) return n;
338
338
  switch (n) {
339
- case Je: return this.line++, this.column = 0, this.positionAtNewLine = this.position, Je;
340
- case 13: return e.charCodeAt(t + 1) === Je && (this.i = t + 2), this.line++, this.column = 0, this.positionAtNewLine = this.position, K;
339
+ case Xe: return this.line++, this.column = 0, this.positionAtNewLine = this.position, Xe;
340
+ case 13: return e.charCodeAt(t + 1) === Xe && (this.i = t + 2), this.line++, this.column = 0, this.positionAtNewLine = this.position, K;
341
341
  default: return this.fail("disallowed character."), n;
342
342
  }
343
343
  }
@@ -352,10 +352,10 @@ var at, ot = (e) => Ue.test(e), st = (e) => ze.test(e), ct = {
352
352
  if (this.column++, n < 55296) {
353
353
  if (n > 31 && n < 127 || n > 159 && n !== 8232 || n === 9) return n;
354
354
  switch (n) {
355
- case Je: return this.line++, this.column = 0, this.positionAtNewLine = this.position, Je;
355
+ case Xe: return this.line++, this.column = 0, this.positionAtNewLine = this.position, Xe;
356
356
  case 13: {
357
357
  let n = e.charCodeAt(t + 1);
358
- n !== Je && n !== 133 || (this.i = t + 2);
358
+ n !== Xe && n !== 133 || (this.i = t + 2);
359
359
  }
360
360
  case 133:
361
361
  case 8232: return this.line++, this.column = 0, this.positionAtNewLine = this.position, K;
@@ -368,7 +368,7 @@ var at, ot = (e) => Ue.test(e), st = (e) => ze.test(e), ct = {
368
368
  }
369
369
  getCodeNorm() {
370
370
  let e = this.getCode();
371
- return e === K ? Je : e;
371
+ return e === K ? Xe : e;
372
372
  }
373
373
  unGet() {
374
374
  this.i = this.prevI, this.column--;
@@ -376,7 +376,7 @@ var at, ot = (e) => Ue.test(e), st = (e) => ze.test(e), ct = {
376
376
  captureTo(e) {
377
377
  let { i: t } = this, { chunk: n } = this;
378
378
  for (;;) {
379
- let r = this.getCode(), i = r === K, a = i ? Je : r;
379
+ let r = this.getCode(), i = r === K, a = i ? Xe : r;
380
380
  if (a === G || e.includes(a)) return this.text += n.slice(t, this.prevI), a;
381
381
  i && (this.text += `${n.slice(t, this.prevI)}\n`, t = this.i);
382
382
  }
@@ -387,7 +387,7 @@ var at, ot = (e) => Ue.test(e), st = (e) => ze.test(e), ct = {
387
387
  let r = this.getCode();
388
388
  switch (r) {
389
389
  case K:
390
- this.text += `${n.slice(t, this.prevI)}\n`, t = this.i, r = Je;
390
+ this.text += `${n.slice(t, this.prevI)}\n`, t = this.i, r = Xe;
391
391
  break;
392
392
  case G: return this.text += n.slice(t), !1;
393
393
  }
@@ -399,17 +399,17 @@ var at, ot = (e) => Ue.test(e), st = (e) => ze.test(e), ct = {
399
399
  for (;;) {
400
400
  let n = this.getCode();
401
401
  if (n === G) return this.name += e.slice(t), G;
402
- if (!Le(n)) return this.name += e.slice(t, this.prevI), n === K ? Je : n;
402
+ if (!Re(n)) return this.name += e.slice(t, this.prevI), n === K ? Xe : n;
403
403
  }
404
404
  }
405
405
  skipSpaces() {
406
406
  for (;;) {
407
407
  let e = this.getCodeNorm();
408
- if (e === G || !U(e)) return e;
408
+ if (e === G || !W(e)) return e;
409
409
  }
410
410
  }
411
411
  setXMLVersion(e) {
412
- this.currentXMLVersion = e, e === "1.0" ? (this.isChar = Fe, this.getCode = this.getCode10) : (this.isChar = Be, this.getCode = this.getCode11);
412
+ this.currentXMLVersion = e, e === "1.0" ? (this.isChar = Ie, this.getCode = this.getCode10) : (this.isChar = Ve, this.getCode = this.getCode11);
413
413
  }
414
414
  sBegin() {
415
415
  this.chunk.charCodeAt(0) === 65279 && (this.i++, this.column++), this.state = 1;
@@ -417,7 +417,7 @@ var at, ot = (e) => Ue.test(e), st = (e) => ze.test(e), ct = {
417
417
  sBeginWhitespace() {
418
418
  let e = this.i, t = this.skipSpaces();
419
419
  switch (this.prevI !== e && (this.xmlDeclPossible = !1), t) {
420
- case Ye:
420
+ case Ze:
421
421
  if (this.state = 15, this.text.length !== 0) throw Error("no-empty text at start");
422
422
  break;
423
423
  case G: break;
@@ -425,13 +425,13 @@ var at, ot = (e) => Ue.test(e), st = (e) => ze.test(e), ct = {
425
425
  }
426
426
  }
427
427
  sDoctype() {
428
- let e = this.captureTo(et);
428
+ let e = this.captureTo(nt);
429
429
  switch (e) {
430
430
  case J:
431
431
  this.doctypeHandler?.(this.text), this.text = "", this.state = q, this.doctype = !0;
432
432
  break;
433
433
  case G: break;
434
- default: this.text += String.fromCodePoint(e), e === 91 ? this.state = 4 : Qe(e) && (this.state = 3, this.q = e);
434
+ default: this.text += String.fromCodePoint(e), e === 91 ? this.state = 4 : et(e) && (this.state = 3, this.q = e);
435
435
  }
436
436
  }
437
437
  sDoctypeQuote() {
@@ -439,8 +439,8 @@ var at, ot = (e) => Ue.test(e), st = (e) => ze.test(e), ct = {
439
439
  this.captureToChar(e) && (this.text += String.fromCodePoint(e), this.q = null, this.state = 2);
440
440
  }
441
441
  sDTD() {
442
- let e = this.captureTo(tt);
443
- e !== G && (this.text += String.fromCodePoint(e), e === Ze ? this.state = 2 : e === Ye ? this.state = 6 : Qe(e) && (this.state = 5, this.q = e));
442
+ let e = this.captureTo(rt);
443
+ e !== G && (this.text += String.fromCodePoint(e), e === $e ? this.state = 2 : e === Ze ? this.state = 6 : et(e) && (this.state = 5, this.q = e));
444
444
  }
445
445
  sDTDQuoted() {
446
446
  let e = this.q;
@@ -501,7 +501,7 @@ var at, ot = (e) => Ue.test(e), st = (e) => ze.test(e), ct = {
501
501
  }
502
502
  sOpenWaka() {
503
503
  let e = this.getCode();
504
- if (Ie(e)) this.state = 34, this.unGet(), this.xmlDeclPossible = !1;
504
+ if (Le(e)) this.state = 34, this.unGet(), this.xmlDeclPossible = !1;
505
505
  else switch (e) {
506
506
  case 47:
507
507
  this.state = 43, this.xmlDeclPossible = !1;
@@ -541,11 +541,11 @@ var at, ot = (e) => Ue.test(e), st = (e) => ze.test(e), ct = {
541
541
  e === J ? this.state = q : (this.fail("malformed comment."), this.text += `--${String.fromCodePoint(e)}`, this.state = 17);
542
542
  }
543
543
  sCData() {
544
- this.captureToChar(Ze) && (this.state = 21);
544
+ this.captureToChar($e) && (this.state = 21);
545
545
  }
546
546
  sCDataEnding() {
547
547
  let e = this.getCodeNorm();
548
- e === Ze ? this.state = 22 : (this.text += `]${String.fromCodePoint(e)}`, this.state = 20);
548
+ e === $e ? this.state = 22 : (this.text += `]${String.fromCodePoint(e)}`, this.state = 20);
549
549
  }
550
550
  sCDataEnding2() {
551
551
  let e = this.getCodeNorm();
@@ -553,7 +553,7 @@ var at, ot = (e) => Ue.test(e), st = (e) => ze.test(e), ct = {
553
553
  case J:
554
554
  this.cdataHandler?.(this.text), this.text = "", this.state = q;
555
555
  break;
556
- case Ze:
556
+ case $e:
557
557
  this.text += "]";
558
558
  break;
559
559
  default: this.text += `]]${String.fromCodePoint(e)}`, this.state = 20;
@@ -561,7 +561,7 @@ var at, ot = (e) => Ue.test(e), st = (e) => ze.test(e), ct = {
561
561
  }
562
562
  sPIFirstChar() {
563
563
  let e = this.getCodeNorm();
564
- this.nameStartCheck(e) ? (this.piTarget += String.fromCodePoint(e), this.state = 24) : e === Y || U(e) ? (this.fail("processing instruction without a target."), this.state = e === Y ? 26 : 25) : (this.fail("disallowed character in processing instruction name."), this.piTarget += String.fromCodePoint(e), this.state = 24);
564
+ this.nameStartCheck(e) ? (this.piTarget += String.fromCodePoint(e), this.state = 24) : e === Y || W(e) ? (this.fail("processing instruction without a target."), this.state = e === Y ? 26 : 25) : (this.fail("disallowed character in processing instruction name."), this.piTarget += String.fromCodePoint(e), this.state = 24);
565
565
  }
566
566
  sPIRest() {
567
567
  let { chunk: e, i: t } = this;
@@ -571,7 +571,7 @@ var at, ot = (e) => Ue.test(e), st = (e) => ze.test(e), ct = {
571
571
  if (!this.nameCheck(n)) {
572
572
  this.piTarget += e.slice(t, this.prevI);
573
573
  let r = n === Y;
574
- r || U(n) ? this.piTarget === "xml" ? (this.xmlDeclPossible || this.fail("an XML declaration must be at the start of the document."), this.state = r ? qe : 27) : this.state = r ? 26 : 25 : (this.fail("disallowed character in processing instruction name."), this.piTarget += String.fromCodePoint(n));
574
+ r || W(n) ? this.piTarget === "xml" ? (this.xmlDeclPossible || this.fail("an XML declaration must be at the start of the document."), this.state = r ? Ye : 27) : this.state = r ? 26 : 25 : (this.fail("disallowed character in processing instruction name."), this.piTarget += String.fromCodePoint(n));
575
575
  break;
576
576
  }
577
577
  }
@@ -579,7 +579,7 @@ var at, ot = (e) => Ue.test(e), st = (e) => ze.test(e), ct = {
579
579
  sPIBody() {
580
580
  if (this.text.length === 0) {
581
581
  let e = this.getCodeNorm();
582
- e === Y ? this.state = 26 : U(e) || (this.text = String.fromCodePoint(e));
582
+ e === Y ? this.state = 26 : W(e) || (this.text = String.fromCodePoint(e));
583
583
  } else this.captureToChar(Y) && (this.state = 26);
584
584
  }
585
585
  sPIEnding() {
@@ -595,12 +595,12 @@ var at, ot = (e) => Ue.test(e), st = (e) => ze.test(e), ct = {
595
595
  }
596
596
  sXMLDeclNameStart() {
597
597
  let e = this.skipSpaces();
598
- e === Y ? this.state = qe : e !== G && (this.state = 28, this.name = String.fromCodePoint(e));
598
+ e === Y ? this.state = Ye : e !== G && (this.state = 28, this.name = String.fromCodePoint(e));
599
599
  }
600
600
  sXMLDeclName() {
601
- let e = this.captureTo(nt);
602
- if (e === Y) return this.state = qe, this.name += this.text, this.text = "", void this.fail("XML declaration is incomplete.");
603
- if (U(e) || e === Xe) {
601
+ let e = this.captureTo(it);
602
+ if (e === Y) return this.state = Ye, this.name += this.text, this.text = "", void this.fail("XML declaration is incomplete.");
603
+ if (W(e) || e === Qe) {
604
604
  if (this.name += this.text, this.text = "", !this.xmlDeclExpects.includes(this.name)) switch (this.name.length) {
605
605
  case 0:
606
606
  this.fail("did not expect any more name/value pairs.");
@@ -610,22 +610,22 @@ var at, ot = (e) => Ue.test(e), st = (e) => ze.test(e), ct = {
610
610
  break;
611
611
  default: this.fail(`expected one of ${this.xmlDeclExpects.join(", ")}`);
612
612
  }
613
- this.state = e === Xe ? 30 : 29;
613
+ this.state = e === Qe ? 30 : 29;
614
614
  }
615
615
  }
616
616
  sXMLDeclEq() {
617
617
  let e = this.getCodeNorm();
618
- if (e === Y) return this.state = qe, void this.fail("XML declaration is incomplete.");
619
- U(e) || (e !== Xe && this.fail("value required."), this.state = 30);
618
+ if (e === Y) return this.state = Ye, void this.fail("XML declaration is incomplete.");
619
+ W(e) || (e !== Qe && this.fail("value required."), this.state = 30);
620
620
  }
621
621
  sXMLDeclValueStart() {
622
622
  let e = this.getCodeNorm();
623
- if (e === Y) return this.state = qe, void this.fail("XML declaration is incomplete.");
624
- U(e) || (Qe(e) ? this.q = e : (this.fail("value must be quoted."), this.q = 32), this.state = 31);
623
+ if (e === Y) return this.state = Ye, void this.fail("XML declaration is incomplete.");
624
+ W(e) || (et(e) ? this.q = e : (this.fail("value must be quoted."), this.q = 32), this.state = 31);
625
625
  }
626
626
  sXMLDeclValue() {
627
627
  let e = this.captureTo([this.q, Y]);
628
- if (e === Y) return this.state = qe, this.text = "", void this.fail("XML declaration is incomplete.");
628
+ if (e === Y) return this.state = Ye, this.text = "", void this.fail("XML declaration is incomplete.");
629
629
  if (e === G) return;
630
630
  let t = this.text;
631
631
  switch (this.text = "", this.name) {
@@ -644,7 +644,7 @@ var at, ot = (e) => Ue.test(e), st = (e) => ze.test(e), ct = {
644
644
  }
645
645
  sXMLDeclSeparator() {
646
646
  let e = this.getCodeNorm();
647
- e === Y ? this.state = qe : (U(e) || (this.fail("whitespace required."), this.unGet()), this.state = 27);
647
+ e === Y ? this.state = Ye : (W(e) || (this.fail("whitespace required."), this.unGet()), this.state = 27);
648
648
  }
649
649
  sXMLDeclEnding() {
650
650
  this.getCodeNorm() === J ? (this.piTarget === "xml" ? this.name !== "version" && this.xmlDeclExpects.includes("version") && this.fail("XML declaration must contain a version.") : this.fail("processing instructions are not allowed before root."), this.xmlDeclHandler?.(this.xmlDecl), this.name = "", this.piTarget = this.text = "", this.state = q) : this.fail("The character ? is disallowed anywhere in XML declarations."), this.xmlDeclPossible = !1;
@@ -663,7 +663,7 @@ var at, ot = (e) => Ue.test(e), st = (e) => ze.test(e), ct = {
663
663
  case 47:
664
664
  this.state = 35;
665
665
  break;
666
- default: U(e) || this.fail("disallowed character in tag name."), this.state = 36;
666
+ default: W(e) || this.fail("disallowed character in tag name."), this.state = 36;
667
667
  }
668
668
  }
669
669
  sOpenTagSlash() {
@@ -671,25 +671,25 @@ var at, ot = (e) => Ue.test(e), st = (e) => ze.test(e), ct = {
671
671
  }
672
672
  sAttrib() {
673
673
  let e = this.skipSpaces();
674
- e !== G && (Ie(e) ? (this.unGet(), this.state = 37) : e === J ? this.openTag() : e === 47 ? this.state = 35 : this.fail("disallowed character in attribute name."));
674
+ e !== G && (Le(e) ? (this.unGet(), this.state = 37) : e === J ? this.openTag() : e === 47 ? this.state = 35 : this.fail("disallowed character in attribute name."));
675
675
  }
676
676
  sAttribName() {
677
677
  let e = this.captureNameChars();
678
- e === Xe ? this.state = 39 : U(e) ? this.state = 38 : e === J ? (this.fail("attribute without value."), this.pushAttrib(this.name, this.name), this.name = this.text = "", this.openTag()) : e !== G && this.fail("disallowed character in attribute name.");
678
+ e === Qe ? this.state = 39 : W(e) ? this.state = 38 : e === J ? (this.fail("attribute without value."), this.pushAttrib(this.name, this.name), this.name = this.text = "", this.openTag()) : e !== G && this.fail("disallowed character in attribute name.");
679
679
  }
680
680
  sAttribNameSawWhite() {
681
681
  let e = this.skipSpaces();
682
682
  switch (e) {
683
683
  case G: return;
684
- case Xe:
684
+ case Qe:
685
685
  this.state = 39;
686
686
  break;
687
- default: this.fail("attribute without value."), this.text = "", this.name = "", e === J ? this.openTag() : Ie(e) ? (this.unGet(), this.state = 37) : (this.fail("disallowed character in attribute name."), this.state = 36);
687
+ default: this.fail("attribute without value."), this.text = "", this.name = "", e === J ? this.openTag() : Le(e) ? (this.unGet(), this.state = 37) : (this.fail("disallowed character in attribute name."), this.state = 36);
688
688
  }
689
689
  }
690
690
  sAttribValue() {
691
691
  let e = this.getCodeNorm();
692
- Qe(e) ? (this.q = e, this.state = 40) : U(e) || (this.fail("unquoted attribute value."), this.state = 42, this.unGet());
692
+ et(e) ? (this.q = e, this.state = 40) : W(e) || (this.fail("unquoted attribute value."), this.state = 42, this.unGet());
693
693
  }
694
694
  sAttribValueQuoted() {
695
695
  let { q: e, chunk: t } = this, { i: n } = this;
@@ -700,12 +700,12 @@ var at, ot = (e) => Ue.test(e), st = (e) => ze.test(e), ct = {
700
700
  case 38:
701
701
  this.text += t.slice(n, this.prevI), this.state = 14, this.entityReturnState = 40;
702
702
  return;
703
- case Je:
703
+ case Xe:
704
704
  case K:
705
705
  case 9:
706
706
  this.text += `${t.slice(n, this.prevI)} `, n = this.i;
707
707
  break;
708
- case Ye:
708
+ case Ze:
709
709
  this.text += t.slice(n, this.prevI), this.fail("disallowed character.");
710
710
  return;
711
711
  case G:
@@ -715,15 +715,15 @@ var at, ot = (e) => Ue.test(e), st = (e) => ze.test(e), ct = {
715
715
  }
716
716
  sAttribValueClosed() {
717
717
  let e = this.getCodeNorm();
718
- U(e) ? this.state = 36 : e === J ? this.openTag() : e === 47 ? this.state = 35 : Ie(e) ? (this.fail("no whitespace between attributes."), this.unGet(), this.state = 37) : this.fail("disallowed character in attribute name.");
718
+ W(e) ? this.state = 36 : e === J ? this.openTag() : e === 47 ? this.state = 35 : Le(e) ? (this.fail("no whitespace between attributes."), this.unGet(), this.state = 37) : this.fail("disallowed character in attribute name.");
719
719
  }
720
720
  sAttribValueUnquoted() {
721
- let e = this.captureTo(rt);
721
+ let e = this.captureTo(at);
722
722
  switch (e) {
723
723
  case 38:
724
724
  this.state = 14, this.entityReturnState = 42;
725
725
  break;
726
- case Ye:
726
+ case Ze:
727
727
  this.fail("disallowed character.");
728
728
  break;
729
729
  case G: break;
@@ -732,7 +732,7 @@ var at, ot = (e) => Ue.test(e), st = (e) => ze.test(e), ct = {
732
732
  }
733
733
  sCloseTag() {
734
734
  let e = this.captureNameChars();
735
- e === J ? this.closeTag() : U(e) ? this.state = 44 : e !== G && this.fail("disallowed character in closing tag.");
735
+ e === J ? this.closeTag() : W(e) ? this.state = 44 : e !== G && this.fail("disallowed character in closing tag.");
736
736
  }
737
737
  sCloseTagSawWhite() {
738
738
  switch (this.skipSpaces()) {
@@ -746,7 +746,7 @@ var at, ot = (e) => Ue.test(e), st = (e) => ze.test(e), ct = {
746
746
  handleTextInRoot() {
747
747
  let { i: e, forbiddenState: t } = this, { chunk: n, textHandler: r } = this;
748
748
  t: for (;;) switch (this.getCode()) {
749
- case Ye:
749
+ case Ze:
750
750
  if (this.state = 15, r !== void 0) {
751
751
  let { text: t } = this, i = n.slice(e, this.prevI);
752
752
  t.length === 0 ? i.length !== 0 && r(i) : (r(t + i), this.text = "");
@@ -756,7 +756,7 @@ var at, ot = (e) => Ue.test(e), st = (e) => ze.test(e), ct = {
756
756
  case 38:
757
757
  this.state = 14, this.entityReturnState = q, r !== void 0 && (this.text += n.slice(e, this.prevI)), t = 0;
758
758
  break t;
759
- case Ze:
759
+ case $e:
760
760
  switch (t) {
761
761
  case 0:
762
762
  t = 1;
@@ -786,7 +786,7 @@ var at, ot = (e) => Ue.test(e), st = (e) => ze.test(e), ct = {
786
786
  t: for (;;) {
787
787
  let i = this.getCode();
788
788
  switch (i) {
789
- case Ye:
789
+ case Ze:
790
790
  if (this.state = 15, n !== void 0) {
791
791
  let { text: r } = this, i = t.slice(e, this.prevI);
792
792
  r.length === 0 ? i.length !== 0 && n(i) : (n(r + i), this.text = "");
@@ -801,7 +801,7 @@ var at, ot = (e) => Ue.test(e), st = (e) => ze.test(e), ct = {
801
801
  case G:
802
802
  n !== void 0 && (this.text += t.slice(e));
803
803
  break t;
804
- default: U(i) || (r = !0);
804
+ default: W(i) || (r = !0);
805
805
  }
806
806
  }
807
807
  r && (this.sawRoot || this.reportedTextBeforeRoot || (this.fail("text data outside of root node."), this.reportedTextBeforeRoot = !0), this.closedRoot && !this.reportedTextAfterRoot && (this.fail("text data outside of root node."), this.reportedTextAfterRoot = !0));
@@ -815,10 +815,10 @@ var at, ot = (e) => Ue.test(e), st = (e) => ze.test(e), ct = {
815
815
  };
816
816
  if (this.attribList.push(i), this.attributeHandler?.(i), n === "xmlns") {
817
817
  let e = t.trim();
818
- this.currentXMLVersion === "1.0" && e === "" && this.fail("invalid attempt to undefine prefix in XML 1.0"), this.topNS[r] = e, it(this, r, e);
818
+ this.currentXMLVersion === "1.0" && e === "" && this.fail("invalid attempt to undefine prefix in XML 1.0"), this.topNS[r] = e, ot(this, r, e);
819
819
  } else if (e === "xmlns") {
820
820
  let e = t.trim();
821
- this.topNS[""] = e, it(this, "", e);
821
+ this.topNS[""] = e, ot(this, "", e);
822
822
  }
823
823
  }
824
824
  pushAttribPlain(e, t) {
@@ -870,7 +870,7 @@ var at, ot = (e) => Ue.test(e), st = (e) => ze.test(e), ct = {
870
870
  let { attributes: n } = t, r = /* @__PURE__ */ new Set();
871
871
  for (let t of e) {
872
872
  let e, i, { name: a, prefix: o, local: s } = t;
873
- o === "" ? (e = a === "xmlns" ? We : "", i = a) : (e = this.resolve(o), e === void 0 && (this.fail(`unbound namespace prefix: ${JSON.stringify(o)}.`), e = o), i = `{${e}}${s}`), r.has(i) && this.fail(`duplicate attribute: ${i}.`), r.add(i), t.uri = e, n[a] = t;
873
+ o === "" ? (e = a === "xmlns" ? Ke : "", i = a) : (e = this.resolve(o), e === void 0 && (this.fail(`unbound namespace prefix: ${JSON.stringify(o)}.`), e = o), i = `{${e}}${s}`), r.has(i) && this.fail(`duplicate attribute: ${i}.`), r.add(i), t.uri = e, n[a] = t;
874
874
  }
875
875
  this.attribList = [];
876
876
  }
@@ -908,21 +908,21 @@ var at, ot = (e) => Ue.test(e), st = (e) => ze.test(e), ct = {
908
908
  let t = NaN;
909
909
  return e[1] === "x" && /^#x[0-9a-f]+$/i.test(e) ? t = parseInt(e.slice(2), 16) : /^#[0-9]+$/.test(e) && (t = parseInt(e.slice(1), 10)), this.isChar(t) ? String.fromCodePoint(t) : (this.fail("malformed character entity."), `&${e};`);
910
910
  }
911
- }, ut = /&(#x[0-9a-fA-F]+|#[0-9]+|amp|lt|gt|quot|apos);/g, dt = {
911
+ }, ft = /&(#x[0-9a-fA-F]+|#[0-9]+|amp|lt|gt|quot|apos);/g, pt = {
912
912
  amp: "&",
913
913
  lt: "<",
914
914
  gt: ">",
915
915
  quot: "\"",
916
916
  apos: "'"
917
- }, ft = (e, t) => {
918
- let n = dt[t];
917
+ }, mt = (e, t) => {
918
+ let n = pt[t];
919
919
  if (n !== void 0) return n;
920
920
  let r = t.charCodeAt(1) === 120 ? parseInt(t.slice(2), 16) : parseInt(t.slice(1), 10);
921
921
  return r > 0 && r <= 1114111 ? String.fromCodePoint(r) : e;
922
- }, pt = (e) => {
922
+ }, ht = (e) => {
923
923
  let t = e;
924
- return t.indexOf("\r") !== -1 && (t = t.replace(/\r\n?/g, "\n")), t.indexOf("&") !== -1 && (t = t.replace(ut, ft)), t;
925
- }, mt = (e) => {
924
+ return t.indexOf("\r") !== -1 && (t = t.replace(/\r\n?/g, "\n")), t.indexOf("&") !== -1 && (t = t.replace(ft, mt)), t;
925
+ }, gt = (e) => {
926
926
  let t = e, n = t.length;
927
927
  for (let e = 0; e < n; e++) {
928
928
  let n = t.charCodeAt(e);
@@ -931,8 +931,8 @@ var at, ot = (e) => Ue.test(e), st = (e) => ze.test(e), ct = {
931
931
  break;
932
932
  }
933
933
  }
934
- return t.indexOf("&") !== -1 && (t = t.replace(ut, ft)), t;
935
- }, ht = (e) => e === 32 || e === 9 || e === 10 || e === 13, gt = class e {
934
+ return t.indexOf("&") !== -1 && (t = t.replace(ft, mt)), t;
935
+ }, _t = (e) => e === 32 || e === 9 || e === 10 || e === 13, vt = class e {
936
936
  constructor() {
937
937
  this._openTagHandler = void 0, this._closeTagHandler = void 0, this._textHandler = void 0, this._cdataHandler = void 0, this._errorHandler = void 0, this._endHandler = void 0, this._scanners = null, this._carry = "", this._text = "", this._tags = [], this._sawRoot = !1, this._closed = !1;
938
938
  }
@@ -943,7 +943,7 @@ var at, ot = (e) => Ue.test(e), st = (e) => ze.test(e), ct = {
943
943
  this.NOT_HANDLED = -2;
944
944
  }
945
945
  static decodeText(e) {
946
- return pt(e);
946
+ return ht(e);
947
947
  }
948
948
  on(e, t) {
949
949
  switch (e) {
@@ -1009,7 +1009,7 @@ var at, ot = (e) => Ue.test(e), st = (e) => ze.test(e), ct = {
1009
1009
  if (e.length === 0) return;
1010
1010
  this._text = "";
1011
1011
  let t = this._textHandler;
1012
- t !== void 0 && this._tags.length !== 0 && t(pt(e));
1012
+ t !== void 0 && this._tags.length !== 0 && t(ht(e));
1013
1013
  }
1014
1014
  _markup(t, n, r) {
1015
1015
  if (n + 1 >= r) return -1;
@@ -1048,7 +1048,7 @@ var at, ot = (e) => Ue.test(e), st = (e) => ze.test(e), ct = {
1048
1048
  let i = n + 1 + o.name.length;
1049
1049
  if (i >= r) return -1;
1050
1050
  let a = t.charCodeAt(i);
1051
- if (a === 62 || a === 47 || ht(a)) {
1051
+ if (a === 62 || a === 47 || _t(a)) {
1052
1052
  this._flushText();
1053
1053
  let i = o.scan(t, n, r);
1054
1054
  if (i !== e.NOT_HANDLED) {
@@ -1066,11 +1066,11 @@ var at, ot = (e) => Ue.test(e), st = (e) => ze.test(e), ct = {
1066
1066
  }
1067
1067
  _openTag(e, t, n) {
1068
1068
  let r = t + 1, i = 0;
1069
- for (; r < n && (i = e.charCodeAt(r), i !== 62 && i !== 47 && !ht(i));) r++;
1069
+ for (; r < n && (i = e.charCodeAt(r), i !== 62 && i !== 47 && !_t(i));) r++;
1070
1070
  if (r >= n) return -1;
1071
1071
  let a = e.slice(t + 1, r), o = {}, s = !1;
1072
1072
  for (;;) {
1073
- for (; r < n && ht(i = e.charCodeAt(r));) r++;
1073
+ for (; r < n && _t(i = e.charCodeAt(r));) r++;
1074
1074
  if (r >= n) return -1;
1075
1075
  if (i === 62) {
1076
1076
  r++;
@@ -1086,16 +1086,16 @@ var at, ot = (e) => Ue.test(e), st = (e) => ze.test(e), ct = {
1086
1086
  break;
1087
1087
  }
1088
1088
  let t = r;
1089
- for (; r < n && (i = e.charCodeAt(r), i !== 61 && i !== 62 && i !== 47 && !ht(i));) r++;
1089
+ for (; r < n && (i = e.charCodeAt(r), i !== 61 && i !== 62 && i !== 47 && !_t(i));) r++;
1090
1090
  if (r >= n) return -1;
1091
1091
  let a = e.slice(t, r);
1092
- for (; r < n && ht(i = e.charCodeAt(r));) r++;
1092
+ for (; r < n && _t(i = e.charCodeAt(r));) r++;
1093
1093
  if (r >= n) return -1;
1094
1094
  if (i !== 61) {
1095
1095
  this.fail("attribute without value.");
1096
1096
  continue;
1097
1097
  }
1098
- for (r++; r < n && ht(i = e.charCodeAt(r));) r++;
1098
+ for (r++; r < n && _t(i = e.charCodeAt(r));) r++;
1099
1099
  if (r >= n) return -1;
1100
1100
  if (i !== 34 && i !== 39) {
1101
1101
  this.fail("unquoted attribute value.");
@@ -1103,7 +1103,7 @@ var at, ot = (e) => Ue.test(e), st = (e) => ze.test(e), ct = {
1103
1103
  }
1104
1104
  let c = e.indexOf(i === 34 ? "\"" : "'", r + 1);
1105
1105
  if (c === -1) return -1;
1106
- a !== "__proto__" && (o[a] = mt(e.slice(r + 1, c))), r = c + 1;
1106
+ a !== "__proto__" && (o[a] = gt(e.slice(r + 1, c))), r = c + 1;
1107
1107
  }
1108
1108
  this._flushText(), this._sawRoot = !0;
1109
1109
  let c = {
@@ -1124,7 +1124,7 @@ var at, ot = (e) => Ue.test(e), st = (e) => ze.test(e), ct = {
1124
1124
  this.fail(`unmatched closing tag: ${e}.`);
1125
1125
  }
1126
1126
  };
1127
- (at = H ||= {}).Events = {
1127
+ (st = U ||= {}).Events = {
1128
1128
  XmlDecl: "xmldecl",
1129
1129
  Text: "text",
1130
1130
  ProcessingInstruction: "processinginstruction",
@@ -1138,9 +1138,9 @@ var at, ot = (e) => Ue.test(e), st = (e) => ze.test(e), ct = {
1138
1138
  Error: "error",
1139
1139
  End: "end",
1140
1140
  Ready: "ready"
1141
- }, at.parseStream = async (e, t, n) => {
1141
+ }, st.parseStream = async (e, t, n) => {
1142
1142
  if (n?.lean) return (async (e, t) => {
1143
- let n, r = new gt();
1143
+ let n, r = new vt();
1144
1144
  t.elementScanners && r.setElementScanners(t.elementScanners), t.onOpenTag && r.on("opentag", t.onOpenTag), t.onCloseTag && r.on("closetag", t.onCloseTag), t.onText && r.on("text", t.onText), t.onError && r.on("error", t.onError);
1145
1145
  let i = t.onEnd;
1146
1146
  for (i && r.on("end", () => {
@@ -1152,13 +1152,13 @@ var at, ot = (e) => Ue.test(e), st = (e) => ze.test(e), ct = {
1152
1152
  }
1153
1153
  return r.close(), n;
1154
1154
  })(e, t);
1155
- let r, i = new lt({
1155
+ let r, i = new dt({
1156
1156
  position: !1,
1157
1157
  ...n
1158
1158
  });
1159
- t.onOpenTagStart && i.on(H.Events.OpenTagStart, t.onOpenTagStart), t.onOpenTag && i.on(H.Events.OpenTag, t.onOpenTag), t.onCloseTag && i.on(H.Events.CloseTag, t.onCloseTag), t.onAttribute && i.on(H.Events.Attribute, t.onAttribute), t.onText && i.on(H.Events.Text, t.onText), t.onError && i.on(H.Events.Error, t.onError);
1159
+ t.onOpenTagStart && i.on(U.Events.OpenTagStart, t.onOpenTagStart), t.onOpenTag && i.on(U.Events.OpenTag, t.onOpenTag), t.onCloseTag && i.on(U.Events.CloseTag, t.onCloseTag), t.onAttribute && i.on(U.Events.Attribute, t.onAttribute), t.onText && i.on(U.Events.Text, t.onText), t.onError && i.on(U.Events.Error, t.onError);
1160
1160
  let a = t.onEnd;
1161
- for (a && i.on(H.Events.End, () => {
1161
+ for (a && i.on(U.Events.End, () => {
1162
1162
  r = a();
1163
1163
  });;) {
1164
1164
  let { value: t, done: n } = await e.read();
@@ -1173,7 +1173,7 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1173
1173
  }, Q = (e) => {
1174
1174
  let t = parseFloat(e);
1175
1175
  return isNaN(t) ? null : t;
1176
- }, $ = null, _t = (e) => e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;"), vt = (e) => _t(e).replace(/"/g, "&quot;"), yt = class {
1176
+ }, $ = null, yt = (e) => e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;"), bt = (e) => yt(e).replace(/"/g, "&quot;"), xt = class {
1177
1177
  constructor() {
1178
1178
  this._registeredVisitors = /* @__PURE__ */ new Map();
1179
1179
  }
@@ -1235,7 +1235,7 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1235
1235
  let t = e.attributes ?? {}, n = `<${e.name}`;
1236
1236
  for (let e in t) {
1237
1237
  let r = t[e];
1238
- n += ` ${e}="${vt(typeof r == "string" ? r : r?.value ?? "")}"`;
1238
+ n += ` ${e}="${bt(typeof r == "string" ? r : r?.value ?? "")}"`;
1239
1239
  }
1240
1240
  return n + ">";
1241
1241
  })(e)), o = {
@@ -1284,12 +1284,12 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1284
1284
  s = o?.local ?? null, c = o?.tag ?? null, l = o?.visitor ?? null, p = !o?.destination;
1285
1285
  },
1286
1286
  onText: (e) => {
1287
- m ? m.push(_t(e)) : l?.text?.(e, v);
1287
+ m ? m.push(yt(e)) : l?.text?.(e, v);
1288
1288
  },
1289
1289
  onEnd: t
1290
1290
  };
1291
1291
  }
1292
- }, bt = `IFERROR(${C}(`, xt = bt.toUpperCase(), St = E.toUpperCase(), Ct = { kind: "none" }, wt = { kind: "spilled" }, Tt = (e, t) => {
1292
+ }, St = `IFERROR(${E}(`, Ct = St.toUpperCase(), wt = A.toUpperCase(), Tt = { kind: "none" }, Et = { kind: "spilled" }, Dt = (e, t) => {
1293
1293
  if (e.charCodeAt(t) !== 34) return null;
1294
1294
  let n = "", r = t + 1;
1295
1295
  for (; r < e.length;) if (e.charCodeAt(r) === 34) {
@@ -1300,12 +1300,12 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1300
1300
  n += "\"", r += 2;
1301
1301
  } else n += e[r], r++;
1302
1302
  return null;
1303
- }, Et = (e) => {
1303
+ }, Ot = (e) => {
1304
1304
  let t = [], n = 0;
1305
1305
  for (; n < e.length;) {
1306
1306
  let r = e.charCodeAt(n);
1307
1307
  if (r === 34) {
1308
- let t = Tt(e, n);
1308
+ let t = Dt(e, n);
1309
1309
  if (t === null) break;
1310
1310
  n = t.end;
1311
1311
  continue;
@@ -1323,7 +1323,7 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1323
1323
  e.charCodeAt(i) === 40 && t.push(e.slice(n, i).toUpperCase().replace(/^_XLFN\./, "").replace(/^_XLWS\./, "")), n = i;
1324
1324
  }
1325
1325
  return t;
1326
- }, Dt = (e) => {
1326
+ }, kt = (e) => {
1327
1327
  let t = (t) => {
1328
1328
  if (e) return RegExp(`<(?:[\\w.-]+:)?${t}\\b[^>]*>([^<]*)<`).exec(e)?.[1];
1329
1329
  }, n = (e) => {
@@ -1336,13 +1336,13 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1336
1336
  x: ve(t("colOff") ?? "0") ?? 0,
1337
1337
  y: ve(t("rowOff") ?? "0") ?? 0
1338
1338
  };
1339
- }, Ot = "formulaDialect", kt = (e, t, n, r, i, a, o, s) => {
1340
- let c = new yt(), p = s?.get("parseInlineDxf"), m = s?.get(Ot), g = (e) => m && e ? m.readDetached(e) : e, _ = new f.TransposedBuilder(), v = null;
1341
- c.registerVisitor({
1339
+ }, At = "formulaDialect", jt = (e, t, n, r, i, a, o, l) => {
1340
+ let d = new xt(), p = l?.get("parseInlineDxf"), m = l?.get(At), h = (e) => m && e ? m.readDetached(e) : e, g = new s.TransposedBuilder(), x = null;
1341
+ d.registerVisitor({
1342
1342
  from: "autoFilter",
1343
1343
  to: "autoTable",
1344
1344
  openTag: (e) => {
1345
- let t = e.getAttribute("ref"), n = d.fastStringToRange(t);
1345
+ let t = e.getAttribute("ref"), n = c.fastStringToRange(t);
1346
1346
  e.getSource().r = n, e.getSource().v = {};
1347
1347
  },
1348
1348
  closeTag: (e) => {
@@ -1352,7 +1352,7 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1352
1352
  e === 0 ? n.hiddenButtons = !1 : e === a && (n.hiddenButtons = !0);
1353
1353
  }
1354
1354
  }
1355
- }), c.registerVisitor({
1355
+ }), d.registerVisitor({
1356
1356
  from: "conditionalFormatting",
1357
1357
  to: {},
1358
1358
  openTag: (e) => {
@@ -1366,7 +1366,7 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1366
1366
  }, i = e.getAttribute("pivot", X);
1367
1367
  i !== null && (r.pivot = i), e.setSource(r);
1368
1368
  }
1369
- }), c.registerVisitor({
1369
+ }), d.registerVisitor({
1370
1370
  from: "cfRule",
1371
1371
  to: {},
1372
1372
  openTag: (e) => {
@@ -1390,11 +1390,11 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1390
1390
  if (!t?.r) return;
1391
1391
  let n = t.conditionals[t.conditionals.length - 1], r = n?.rule;
1392
1392
  if (!r) return;
1393
- let i = {}, o = ie(r, a);
1393
+ let i = {}, o = ce(r, a);
1394
1394
  o && (i.condition = o), r.style && (i.style = r.style), r.scale && (i.scale = r.scale), r.stopIfTrue && (i.stopIfTrue = !0), r.pivot && (i.pivot = !0), n.v = i, n.priority = r.priority, r.x14Id && (n.x14Id = r.x14Id), delete n.rule;
1395
1395
  }
1396
1396
  });
1397
- let y = (e) => {
1397
+ let ne = (e) => {
1398
1398
  let t = e.conditions ?? [], n = [];
1399
1399
  for (let e = 0; e < t.length; e++) {
1400
1400
  let r = t[e], i = {};
@@ -1402,19 +1402,19 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1402
1402
  }
1403
1403
  return n;
1404
1404
  };
1405
- c.registerVisitor({
1405
+ d.registerVisitor({
1406
1406
  from: "colorScale",
1407
1407
  to: {},
1408
1408
  openTag: (e) => {},
1409
1409
  closeTag: (e) => {
1410
- let t = e.getSource(), n = t.colors ?? [], r = y(t);
1410
+ let t = e.getSource(), n = t.colors ?? [], r = ne(t);
1411
1411
  for (let e = 0; e < r.length; e++) r[e].color = n[e];
1412
1412
  e.getParent().scale = {
1413
- type: l.ScaleType.ColorScale,
1413
+ type: f.ScaleType.ColorScale,
1414
1414
  stops: r
1415
1415
  };
1416
1416
  }
1417
- }), c.registerVisitor({
1417
+ }), d.registerVisitor({
1418
1418
  from: "dataBar",
1419
1419
  to: {},
1420
1420
  openTag: (e) => {
@@ -1422,12 +1422,12 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1422
1422
  },
1423
1423
  closeTag: (e) => {
1424
1424
  let t = e.getSource(), n = {
1425
- type: l.ScaleType.DataBar,
1426
- stops: y(t)
1425
+ type: f.ScaleType.DataBar,
1426
+ stops: ne(t)
1427
1427
  }, r = t.colors?.[0];
1428
1428
  r && (n.color = r), t.minLength !== void 0 && (n.minLength = t.minLength), t.maxLength !== void 0 && (n.maxLength = t.maxLength), t.showValue !== void 0 && (n.showValue = t.showValue), e.getParent().scale = n;
1429
1429
  }
1430
- }), c.registerVisitor({
1430
+ }), d.registerVisitor({
1431
1431
  from: "iconSet",
1432
1432
  to: {},
1433
1433
  openTag: (e) => {
@@ -1435,32 +1435,32 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1435
1435
  },
1436
1436
  closeTag: (e) => {
1437
1437
  let t = e.getSource(), n = {
1438
- type: l.ScaleType.IconSet,
1439
- stops: y(t)
1438
+ type: f.ScaleType.IconSet,
1439
+ stops: ne(t)
1440
1440
  };
1441
1441
  t.iconSet !== void 0 && (n.iconSet = t.iconSet), t.reverse !== void 0 && (n.reverse = t.reverse), t.showValue !== void 0 && (n.showValue = t.showValue), e.getParent().scale = n;
1442
1442
  }
1443
- }), c.registerVisitor({
1443
+ }), d.registerVisitor({
1444
1444
  from: "formula",
1445
1445
  to: {},
1446
1446
  text: (e, t) => {
1447
1447
  let n = t.getParent(), r = n.formulas;
1448
- r || (r = [], n.formulas = r), r.push(g(e));
1448
+ r || (r = [], n.formulas = r), r.push(h(e));
1449
1449
  }
1450
- }), c.registerVisitor({
1450
+ }), d.registerVisitor({
1451
1451
  from: "cfvo",
1452
1452
  to: {},
1453
1453
  openTag: (e) => {
1454
1454
  let t = e.getParent();
1455
1455
  t.conditions ||= [];
1456
1456
  let n = e.getSource();
1457
- if (t.conditions.push(n), e.copyTo("type", $), n.type === l.ColorStopType.Formula) {
1457
+ if (t.conditions.push(n), e.copyTo("type", $), n.type === f.ColorStopType.Formula) {
1458
1458
  let t = e.getAttribute("val");
1459
- t != null && (n.value = g(String(t)));
1459
+ t != null && (n.value = h(String(t)));
1460
1460
  } else e.copyTo("value", Q, "val");
1461
1461
  !1 === e.getAttribute("gte", X) && (n.exclusive = !0);
1462
1462
  }
1463
- }), c.registerVisitor({
1463
+ }), d.registerVisitor({
1464
1464
  from: "color",
1465
1465
  to: {},
1466
1466
  openTag: (e) => {
@@ -1469,7 +1469,7 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1469
1469
  let n = be((t) => e.getAttribute(t));
1470
1470
  t.colors.push(n);
1471
1471
  }
1472
- }), c.registerVisitor({
1472
+ }), d.registerVisitor({
1473
1473
  from: "filterColumn",
1474
1474
  to: {},
1475
1475
  openTag: (e) => {
@@ -1488,25 +1488,25 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1488
1488
  }
1489
1489
  return r;
1490
1490
  }
1491
- }), c.registerVisitor({
1491
+ }), d.registerVisitor({
1492
1492
  from: "colorFilter",
1493
1493
  openTag: (e) => {
1494
1494
  let t = e.getParent(), n = {};
1495
1495
  t.operator = u.BuiltInOperatorNames.Color, t.param = n, e.copyToObject(n, "cellColor"), e.copyToObject(n, "styleId", Z, "dxfId");
1496
1496
  }
1497
- }), c.registerVisitor({
1497
+ }), d.registerVisitor({
1498
1498
  from: "iconFilter",
1499
1499
  openTag: (e) => {
1500
1500
  let t = e.getParent(), n = {};
1501
1501
  t.operator = u.BuiltInOperatorNames.Icon, t.param = n, e.copyToObject(n, "iconId", Z), e.copyToObject(n, "iconSet", $);
1502
1502
  }
1503
- }), c.registerVisitor({
1503
+ }), d.registerVisitor({
1504
1504
  from: "top10",
1505
1505
  openTag: (e) => {
1506
1506
  let t = e.getParent(), n = {};
1507
1507
  t.operator = u.BuiltInOperatorNames.TopN, t.param = n, e.copyToObject(n, "filterVal", Q), e.copyToObject(n, "percent", X), e.copyToObject(n, "top", X), e.copyToObject(n, "limit", Q, "val");
1508
1508
  }
1509
- }), c.registerVisitor({
1509
+ }), d.registerVisitor({
1510
1510
  from: "dynamicFilter",
1511
1511
  openTag: (e) => {
1512
1512
  let t = e.getParent(), n = {};
@@ -1514,27 +1514,27 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1514
1514
  let r = e.getAttribute("type");
1515
1515
  Object.values(u.AverageType).includes(r) ? (t.operator = u.BuiltInOperatorNames.Average, e.copyToObject(n, "stdDevs", Z, "val")) : e.copyToObject(n, "anchorDate", Z, "val"), e.copyToObject(n, "operator", $, "type"), e.copyToObject(n, "maxVal", Q, "maxVal");
1516
1516
  }
1517
- }), c.registerVisitor({
1517
+ }), d.registerVisitor({
1518
1518
  from: "filters",
1519
1519
  to: {},
1520
1520
  openTag: (e) => {
1521
1521
  let t = e.getParent(), n = {};
1522
1522
  return t.operator = u.BuiltInOperatorNames.InSet, t.param = n, e.copyToObject(n, "blank", X), e.copyToObject(n, "calendarType", $), n;
1523
1523
  }
1524
- }), c.registerVisitor({
1524
+ }), d.registerVisitor({
1525
1525
  from: "filter",
1526
1526
  openTag: (e) => {
1527
1527
  let t = e.getParent(), n = t.items;
1528
1528
  n || (n = [], t.items = n), n.push(e.getAttribute("val", $));
1529
1529
  }
1530
- }), c.registerVisitor({
1530
+ }), d.registerVisitor({
1531
1531
  from: "dateGroupItem",
1532
1532
  to: {},
1533
1533
  openTag: (e) => {
1534
1534
  let t = e.getParent(), n = t.dateGroups;
1535
1535
  n || (n = [], t.dateGroups = n), n.push(e.getSource()), e.copyTo("group", $, "dateTimeGrouping"), e.copyTo("day", Z), e.copyTo("hour", Z), e.copyTo("minute", Z), e.copyTo("month", Z), e.copyTo("second", Z), e.copyTo("year", Z);
1536
1536
  }
1537
- }), c.registerVisitor({
1537
+ }), d.registerVisitor({
1538
1538
  from: "customFilters",
1539
1539
  openTag: (e) => {
1540
1540
  let t = e.getParent(), n = e.getAttribute("and"), r = n === "and" || n === "1", i = [];
@@ -1546,25 +1546,25 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1546
1546
  let r = n[0];
1547
1547
  t.operator = r.operator, t.param = r.param;
1548
1548
  }
1549
- }), c.registerVisitor({
1549
+ }), d.registerVisitor({
1550
1550
  from: "customFilter",
1551
1551
  openTag: (e) => {
1552
1552
  let t, n = e.getParent();
1553
1553
  Array.isArray(n) ? (t = {}, n.push(t)) : t = n;
1554
- let r = k({
1554
+ let r = T({
1555
1555
  operator: e.getAttribute("operator"),
1556
1556
  val: e.getAttribute("val")
1557
1557
  });
1558
1558
  r && (t.operator = r.operator, t.param = r.param);
1559
1559
  }
1560
- }), c.registerVisitor({
1560
+ }), d.registerVisitor({
1561
1561
  from: "sortState",
1562
1562
  to: {},
1563
1563
  openTag: (e) => {
1564
1564
  let t = e.getParent(), n = t.v;
1565
1565
  n && (n.sort = {}, e.setSource(t));
1566
1566
  }
1567
- }), c.registerVisitor({
1567
+ }), d.registerVisitor({
1568
1568
  from: "sortCondition",
1569
1569
  to: {},
1570
1570
  openTag: (e) => {
@@ -1576,64 +1576,64 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1576
1576
  i || (i = [], r.sorts = i);
1577
1577
  let a = e.getAttribute("ref"), o = 0;
1578
1578
  if (a) {
1579
- let e = d.fastStringToRange(a, Mt).colStart, n = t.r, r = n.colStart;
1579
+ let e = c.fastStringToRange(a, Pt).colStart, n = t.r, r = n.colStart;
1580
1580
  o = n ? e - r : e;
1581
1581
  }
1582
1582
  let s = {};
1583
1583
  e.copyToObject(s, "sortOn", $, "sortBy"), e.copyToObject(s, "dxfId", $, "sortBy"), e.copyToObject(s, "iconSet", $), e.copyToObject(s, "customList", $), s.reverse = e.getAttribute("descending", X) ?? !1;
1584
- let c = {
1584
+ let l = {
1585
1585
  index: o,
1586
1586
  criteria: s
1587
1587
  };
1588
- i.push(c);
1588
+ i.push(l);
1589
1589
  }
1590
1590
  });
1591
- let ee = (e) => {
1592
- v = e.getSource(), e.copyTo("topLeft", $, "topLeftCell");
1591
+ let re = (e) => {
1592
+ x = e.getSource(), e.copyTo("topLeft", $, "topLeftCell");
1593
1593
  let t = we(e.getAttribute("defaultGridColor")), n = e.getAttribute("colorId");
1594
1594
  n === null || t || (e.getSource().gridLineColor = "index" + parseFloat(n)), e.copyTo("showZeros", X), e.copyTo("showFormulas", X), e.copyTo("zoomScale", Z), e.copyTo("showRowHeaders", X, "showRowColHeaders"), e.copyTo("showColumnHeaders", X, "showRowColHeaders"), e.copyTo("showRowGridlines", X, "showGridLines"), e.copyTo("showColumnGridlines", X, "showGridLines"), e.copyTo("rightToLeft", X);
1595
1595
  };
1596
- c.registerVisitor({
1596
+ d.registerVisitor({
1597
1597
  from: "sheetView",
1598
1598
  to: "view",
1599
1599
  openTag: (e) => {
1600
- ee(e);
1600
+ re(e);
1601
1601
  },
1602
1602
  closeTag: () => {
1603
- v = null;
1603
+ x = null;
1604
1604
  }
1605
- }), c.registerVisitor({
1605
+ }), d.registerVisitor({
1606
1606
  from: "customSheetViews",
1607
1607
  to: "customSheetViews",
1608
1608
  openTag: (e) => {
1609
1609
  e.setSource([]);
1610
1610
  }
1611
- }), c.registerVisitor({
1611
+ }), d.registerVisitor({
1612
1612
  from: "customSheetView",
1613
1613
  to: [],
1614
1614
  openTag: (e) => {
1615
- ee(e);
1615
+ re(e);
1616
1616
  },
1617
1617
  closeTag: () => {
1618
- v = null;
1618
+ x = null;
1619
1619
  }
1620
- }), c.registerVisitor({
1620
+ }), d.registerVisitor({
1621
1621
  from: "selection",
1622
1622
  to: "selection",
1623
1623
  openTag: (e) => {
1624
- if (!v) return;
1624
+ if (!x) return;
1625
1625
  e.copyTo("cell", $, "activeCell"), e.copyTo("rangeIndex", Z, "activeCellId");
1626
1626
  let t = e.getAttribute("activeCell"), n = e.getAttribute("sqref");
1627
1627
  n && n !== t && (e.getSource().ranges = n.trim().split(/\s+/));
1628
1628
  }
1629
- }), c.registerVisitor({
1629
+ }), d.registerVisitor({
1630
1630
  from: "pane",
1631
1631
  to: null,
1632
1632
  openTag: (e) => {
1633
- if (v && e.getAttribute("state") === "frozen") {
1633
+ if (x && e.getAttribute("state") === "frozen") {
1634
1634
  let t = {};
1635
- v.freezePanes = t, e.copyToObject(t, "topLeft", $, "topLeftCell");
1636
- let n = (v.topLeft ? d.fastStringToCell(v.topLeft) : void 0) ?? {
1635
+ x.freezePanes = t, e.copyToObject(t, "topLeft", $, "topLeftCell");
1636
+ let n = (x.topLeft ? c.fastStringToCell(x.topLeft) : void 0) ?? {
1637
1637
  colIndex: 0,
1638
1638
  rowIndex: 0
1639
1639
  }, r = {
@@ -1645,70 +1645,70 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1645
1645
  colIndex: n.colIndex + r.colIndex,
1646
1646
  rowIndex: n.rowIndex + r.rowIndex
1647
1647
  };
1648
- t.coords = d.cellToString(i);
1648
+ t.coords = c.cellToString(i);
1649
1649
  }
1650
1650
  }
1651
- }), c.registerVisitor({
1651
+ }), d.registerVisitor({
1652
1652
  from: "sheetPr",
1653
1653
  transparent: !0,
1654
1654
  openTag: (t) => {
1655
1655
  let n = t.getAttribute("codeName");
1656
1656
  n && (e.codeName = n), !1 === t.getAttribute("enableFormatConditionsCalculation", X) && (e.conditionalFormatCalculation = !1);
1657
1657
  }
1658
- }), c.registerVisitor({
1658
+ }), d.registerVisitor({
1659
1659
  from: "tabColor",
1660
1660
  to: null,
1661
1661
  openTag: (t) => {
1662
1662
  let n = be((e) => t.getAttribute(e));
1663
1663
  n && (e.tabColor = n);
1664
1664
  }
1665
- }), c.registerVisitor({
1665
+ }), d.registerVisitor({
1666
1666
  from: "pageSetUpPr",
1667
1667
  to: "pageSetUpPr",
1668
1668
  openTag: (e) => {}
1669
- }), c.registerVisitor({
1669
+ }), d.registerVisitor({
1670
1670
  from: "outlinePr",
1671
1671
  to: null,
1672
1672
  openTag: (t) => {
1673
1673
  let n = {};
1674
1674
  t.copyToObject(n, "summaryBelow", X), t.copyToObject(n, "summaryRight", X), t.copyToObject(n, "showOutlineSymbols", X), t.copyToObject(n, "applyStyles", X), Object.keys(n).length > 0 && (e.outline = n);
1675
1675
  }
1676
- }), c.registerVisitor({
1676
+ }), d.registerVisitor({
1677
1677
  from: "pageMargins",
1678
1678
  to: "pageMargins",
1679
1679
  openTag: (e) => {
1680
1680
  e.copyTo("bottom", Q), e.copyTo("footer", Q), e.copyTo("header", Q), e.copyTo("left", Q), e.copyTo("right", Q), e.copyTo("top", Q), e.copyTo("bottom", Q);
1681
1681
  }
1682
- }), c.registerVisitor({
1682
+ }), d.registerVisitor({
1683
1683
  from: "pageSetup",
1684
1684
  to: "pageSetup",
1685
1685
  openTag: (e) => {
1686
1686
  e.copyTo("blackAndWhite", X), e.copyTo("cellComments"), e.copyTo("copies", Z), e.copyTo("draft", X), e.copyTo("errors"), e.copyTo("firstPageNumber", Z), e.copyTo("fitToHeight", Z), e.copyTo("fitToWidth", Z), e.copyTo("horizontalDpi", Z), e.copyTo("orientation"), e.copyTo("pageOrder"), e.copyTo("paperSize", Z), e.copyTo("scale", Z), e.copyTo("useFirstPageNumber", X), e.copyTo("usePrinterDefaults", X), e.copyTo("verticalDpi", Z);
1687
1687
  }
1688
- }), c.registerVisitor({
1688
+ }), d.registerVisitor({
1689
1689
  from: "printOptions",
1690
1690
  to: "printOptions",
1691
1691
  openTag: (e) => {
1692
1692
  e.copyTo("gridLines", X), e.copyTo("gridLinesSet", X), e.copyTo("headings", X), e.copyTo("horizontalCentered", X), e.copyTo("verticalCentered", X);
1693
1693
  }
1694
- }), c.registerVisitor({
1694
+ }), d.registerVisitor({
1695
1695
  from: "headerFoot",
1696
1696
  to: "headerFoot",
1697
1697
  openTag: (e) => {}
1698
- }), c.registerVisitor({
1698
+ }), d.registerVisitor({
1699
1699
  from: "mergeCells",
1700
1700
  to: "merges",
1701
1701
  openTag: (e) => {
1702
1702
  e.setSource([]);
1703
1703
  }
1704
- }), c.registerVisitor({
1704
+ }), d.registerVisitor({
1705
1705
  from: "dataValidations",
1706
1706
  to: "validations",
1707
1707
  openTag: (e) => {
1708
1708
  e.setSource([]);
1709
1709
  }
1710
1710
  });
1711
- let x = {
1711
+ let ie = {
1712
1712
  from: "dataValidation",
1713
1713
  to: [],
1714
1714
  openTag: (e) => {
@@ -1727,25 +1727,25 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1727
1727
  closeTag: (e) => {
1728
1728
  let t = e.getSource();
1729
1729
  if (!t?.rule) return;
1730
- let n = fe(t.rule, a);
1730
+ let n = M(t.rule, a);
1731
1731
  n && (e.getAttribute("allowBlank", X) && (n.includeBlanks = !0), t.v.condition = n), delete t.rule;
1732
1732
  }
1733
1733
  };
1734
- c.registerVisitor(x), c.registerVisitor({
1734
+ d.registerVisitor(ie), d.registerVisitor({
1735
1735
  from: "formula1",
1736
1736
  to: {},
1737
1737
  text: (e, t) => {
1738
1738
  let n = t.getParent().rule;
1739
- n?.type && (n.formula1 = D(g(e), n.type));
1739
+ n?.type && (n.formula1 = w(h(e), n.type));
1740
1740
  }
1741
- }), c.registerVisitor({
1741
+ }), d.registerVisitor({
1742
1742
  from: "formula2",
1743
1743
  to: {},
1744
1744
  text: (e, t) => {
1745
1745
  let n = t.getParent().rule;
1746
- n?.type && (n.formula2 = D(g(e), n.type));
1746
+ n?.type && (n.formula2 = w(h(e), n.type));
1747
1747
  }
1748
- }), c.registerVisitor({
1748
+ }), d.registerVisitor({
1749
1749
  from: "picture",
1750
1750
  to: "picture",
1751
1751
  openTag: (e) => {
@@ -1755,7 +1755,7 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1755
1755
  e.getSource().resId = r;
1756
1756
  }
1757
1757
  });
1758
- let te = {
1758
+ let ae = {
1759
1759
  from: "slicer",
1760
1760
  to: {},
1761
1761
  openTag: (e) => {
@@ -1767,8 +1767,8 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1767
1767
  for (let e of a) i.slicers[e] = r[e];
1768
1768
  }
1769
1769
  };
1770
- c.registerVisitor(te);
1771
- let ae = (e, t) => ({
1770
+ d.registerVisitor(ae);
1771
+ let le = (e, t) => ({
1772
1772
  from: e,
1773
1773
  to: {},
1774
1774
  openTag: (e) => {
@@ -1780,8 +1780,8 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1780
1780
  closeTag: (e) => {
1781
1781
  t(String(e.getSource() ?? ""), e);
1782
1782
  }
1783
- }), oe = /* @__PURE__ */ new Map();
1784
- oe.set("dataValidations", {
1783
+ }), S = /* @__PURE__ */ new Map();
1784
+ S.set("dataValidations", {
1785
1785
  from: "dataValidations",
1786
1786
  to: "validations",
1787
1787
  openTag: (e) => {
@@ -1791,15 +1791,15 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1791
1791
  closeTag: (e) => {
1792
1792
  (e.getSource()?.length ?? 0) === 0 && e.setSource(void 0);
1793
1793
  }
1794
- }), oe.set("dataValidation", {
1795
- ...x,
1794
+ }), S.set("dataValidation", {
1795
+ ...ie,
1796
1796
  closeTag: (e) => {
1797
- x.closeTag(e);
1797
+ ie.closeTag(e);
1798
1798
  let t = e.getSource();
1799
1799
  t && !t.r && (e.warn("x14 dataValidation with no xm:sqref was dropped."), e.setSource(void 0));
1800
1800
  }
1801
1801
  });
1802
- let le = (e) => ({
1802
+ let C = (e) => ({
1803
1803
  from: e,
1804
1804
  to: {},
1805
1805
  openTag: (t) => {
@@ -1809,18 +1809,18 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1809
1809
  });
1810
1810
  }
1811
1811
  });
1812
- oe.set("formula1", le("formula1")), oe.set("formula2", le("formula2")), oe.set("f", ae("f", (e, t) => {
1812
+ S.set("formula1", C("formula1")), S.set("formula2", C("formula2")), S.set("f", le("f", (e, t) => {
1813
1813
  let n = t.getParent(), r = n?.rule;
1814
- r && (r[n.key] = D(g(e), r.type));
1815
- })), oe.set("sqref", ae("sqref", (e, t) => {
1814
+ r && (r[n.key] = w(h(e), r.type));
1815
+ })), S.set("sqref", le("sqref", (e, t) => {
1816
1816
  let n = t.getParent(), r = e.trim();
1817
1817
  n && r && (n.r = r.split(/\s+/).join(","));
1818
1818
  }));
1819
- let de = /* @__PURE__ */ new Map(), C = [], w = /* @__PURE__ */ new Map();
1820
- w.set("conditionalFormattings", {
1819
+ let de = /* @__PURE__ */ new Map(), fe = [], E = /* @__PURE__ */ new Map();
1820
+ E.set("conditionalFormattings", {
1821
1821
  from: "conditionalFormattings",
1822
1822
  transparent: !0
1823
- }), w.set("conditionalFormatting", {
1823
+ }), E.set("conditionalFormatting", {
1824
1824
  from: "conditionalFormatting",
1825
1825
  to: {},
1826
1826
  openTag: (e) => {
@@ -1830,10 +1830,10 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1830
1830
  let t = e.getSource(), n = t?.rules ?? [];
1831
1831
  for (let e = 0; e < n.length; e++) {
1832
1832
  let r = n[e];
1833
- r.sqref = t.sqref, r.id ? de.set(r.id, r) : C.push(r);
1833
+ r.sqref = t.sqref, r.id ? de.set(r.id, r) : fe.push(r);
1834
1834
  }
1835
1835
  }
1836
- }), w.set("cfRule", {
1836
+ }), E.set("cfRule", {
1837
1837
  from: "cfRule",
1838
1838
  to: {},
1839
1839
  openTag: (e) => {
@@ -1843,10 +1843,10 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1843
1843
  let t = e.getSource();
1844
1844
  t && e.getParent()?.rules?.push(t);
1845
1845
  }
1846
- }), w.set("sqref", ae("sqref", (e, t) => {
1846
+ }), E.set("sqref", le("sqref", (e, t) => {
1847
1847
  let n = t.getParent(), r = e.trim();
1848
1848
  n && r && (n.sqref = r);
1849
- })), w.set("dataBar", {
1849
+ })), E.set("dataBar", {
1850
1850
  from: "dataBar",
1851
1851
  to: {},
1852
1852
  openTag: (e) => {
@@ -1855,7 +1855,7 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1855
1855
  closeTag: (e) => {
1856
1856
  e.getParent().dataBar = e.getSource();
1857
1857
  }
1858
- }), w.set("iconSet", {
1858
+ }), E.set("iconSet", {
1859
1859
  from: "iconSet",
1860
1860
  to: {},
1861
1861
  openTag: (e) => {
@@ -1865,26 +1865,26 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1865
1865
  e.getParent().iconSet = e.getSource();
1866
1866
  }
1867
1867
  });
1868
- let pe = /* @__PURE__ */ new Map();
1869
- pe.set("f", ae("f", (e, t) => {
1868
+ let O = /* @__PURE__ */ new Map();
1869
+ O.set("f", le("f", (e, t) => {
1870
1870
  let n = t.getParent();
1871
1871
  if (!n) return;
1872
1872
  let r = e.trim(), i = Number(r);
1873
- n.value = r.length > 0 && Number.isFinite(i) ? i : g(e);
1874
- })), w.set("cfvo", {
1873
+ n.value = r.length > 0 && Number.isFinite(i) ? i : h(e);
1874
+ })), E.set("cfvo", {
1875
1875
  from: "cfvo",
1876
1876
  to: {},
1877
- scope: () => pe,
1877
+ scope: () => O,
1878
1878
  openTag: (e) => {
1879
1879
  let t = e.getParent();
1880
1880
  t.conditions ||= [];
1881
1881
  let n = e.getSource();
1882
1882
  t.conditions.push(n), e.copyTo("type", $), !1 === e.getAttribute("gte", X) && (n.exclusive = !0);
1883
1883
  }
1884
- }), w.set("f", ae("f", (e, t) => {
1884
+ }), E.set("f", le("f", (e, t) => {
1885
1885
  let n = t.getParent();
1886
- n && (n.formulas ??= []).push(g(e));
1887
- })), w.set("dxf", {
1886
+ n && (n.formulas ??= []).push(h(e));
1887
+ })), E.set("dxf", {
1888
1888
  from: "dxf",
1889
1889
  to: {},
1890
1890
  raw: !0,
@@ -1896,7 +1896,7 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1896
1896
  n && (t.style = n);
1897
1897
  }
1898
1898
  });
1899
- let he = (e) => ({
1899
+ let A = (e) => ({
1900
1900
  from: e,
1901
1901
  to: {},
1902
1902
  openTag: (t) => {
@@ -1904,7 +1904,7 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1904
1904
  n && (t.getParent()[e] = n);
1905
1905
  }
1906
1906
  });
1907
- w.set("borderColor", he("borderColor")), w.set("negativeFillColor", he("negativeFillColor")), w.set("negativeBorderColor", he("negativeBorderColor")), w.set("axisColor", he("axisColor")), w.set("cfIcon", {
1907
+ E.set("borderColor", A("borderColor")), E.set("negativeFillColor", A("negativeFillColor")), E.set("negativeBorderColor", A("negativeBorderColor")), E.set("axisColor", A("axisColor")), E.set("cfIcon", {
1908
1908
  from: "cfIcon",
1909
1909
  to: {},
1910
1910
  openTag: (e) => {
@@ -1917,54 +1917,54 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1917
1917
  });
1918
1918
  }
1919
1919
  });
1920
- let T = /* @__PURE__ */ new Map();
1921
- T.set("id", ae("id", (e, t) => {
1920
+ let pe = /* @__PURE__ */ new Map();
1921
+ pe.set("id", le("id", (e, t) => {
1922
1922
  let n = t.getParent(), r = e.trim();
1923
1923
  n && r && (n.x14Id = r);
1924
1924
  }));
1925
- let E = /* @__PURE__ */ new Map();
1926
- E.set("slicerList", {
1925
+ let j = /* @__PURE__ */ new Map();
1926
+ j.set("slicerList", {
1927
1927
  from: "slicerList",
1928
1928
  transparent: !0
1929
- }), E.set("slicer", te);
1930
- let ge = /* @__PURE__ */ new Map([
1931
- [j(se), oe],
1932
- [j(S), w],
1933
- [j(ne), w],
1934
- [j(h), T],
1935
- [j(O), E],
1936
- [j(ce), E]
1937
- ]), _e = /* @__PURE__ */ new Set();
1938
- c.registerVisitor({
1929
+ }), j.set("slicer", ae);
1930
+ let he = /* @__PURE__ */ new Map([
1931
+ [k(te), S],
1932
+ [k(se), E],
1933
+ [k(y), E],
1934
+ [k(b), pe],
1935
+ [k(ue), j],
1936
+ [k(v), j]
1937
+ ]), ge = /* @__PURE__ */ new Set();
1938
+ d.registerVisitor({
1939
1939
  from: "extLst",
1940
1940
  transparent: !0
1941
- }), c.registerVisitor({
1941
+ }), d.registerVisitor({
1942
1942
  from: "ext",
1943
1943
  transparent: !0,
1944
1944
  scope: (e) => {
1945
- let t = e.getAttribute("uri"), n = j(t), r = ge.get(n);
1945
+ let t = e.getAttribute("uri"), n = k(t), r = he.get(n);
1946
1946
  if (r) return r;
1947
- if (!re.has(n) && !_e.has(n)) {
1948
- _e.add(n);
1949
- let r = b[n];
1947
+ if (!_.has(n) && !ge.has(n)) {
1948
+ ge.add(n);
1949
+ let r = D[n];
1950
1950
  e.warn(r ? `Extension content '${r}' (${t}) is not read; it will be lost on resave.` : `Unknown extension content (uri ${t}) is not read; it will be lost on resave.`);
1951
1951
  }
1952
1952
  return null;
1953
1953
  }
1954
- }), c.registerVisitor({
1954
+ }), d.registerVisitor({
1955
1955
  from: "mergeCell",
1956
1956
  to: [],
1957
1957
  openTag: (e) => {
1958
1958
  let t = e.getAttribute("ref");
1959
1959
  e.setSource(t);
1960
1960
  }
1961
- }), c.registerVisitor({
1961
+ }), d.registerVisitor({
1962
1962
  from: "hyperlinks",
1963
1963
  to: "hyperlinks",
1964
1964
  openTag: (e) => {
1965
1965
  e.setSource([]);
1966
1966
  }
1967
- }), c.registerVisitor({
1967
+ }), d.registerVisitor({
1968
1968
  from: "hyperlink",
1969
1969
  to: [],
1970
1970
  openTag: (e) => {
@@ -1985,7 +1985,7 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1985
1985
  v: o
1986
1986
  });
1987
1987
  }
1988
- }), c.registerVisitor({
1988
+ }), d.registerVisitor({
1989
1989
  from: "drawing",
1990
1990
  to: "movables",
1991
1991
  openTag: (e) => {
@@ -1994,27 +1994,27 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1994
1994
  let r = t(n);
1995
1995
  r ? e.setSource(r.movables) : e.warn("A drawing part is missing; its shapes were not imported.", { onceKey: "xlsx.sheet.drawing.missing" });
1996
1996
  }
1997
- }), c.registerVisitor({
1997
+ }), d.registerVisitor({
1998
1998
  from: "legacyDrawing",
1999
1999
  to: "legacyDrawing",
2000
2000
  openTag: (e) => {
2001
2001
  e.setSource(t(e.getAttribute("r:id"), "legacyDrawing") ?? void 0);
2002
2002
  }
2003
- }), c.registerVisitor({
2003
+ }), d.registerVisitor({
2004
2004
  from: "legacyDrawingHF",
2005
2005
  to: "legacyDrawingHF",
2006
2006
  openTag: (e) => {
2007
2007
  e.setSource(t(e.getAttribute("r:id"), "legacyDrawing") ?? void 0);
2008
2008
  }
2009
2009
  });
2010
- let M = null, ve = !1, ye = /* @__PURE__ */ new Map(), xe = {
2010
+ let N = null, _e = !1, P = /* @__PURE__ */ new Map(), ve = {
2011
2011
  from: "Fallback",
2012
2012
  to: null
2013
- }, Se = {
2013
+ }, ye = {
2014
2014
  from: "Choice",
2015
2015
  transparent: !0
2016
2016
  };
2017
- ye.set("Fallback", xe), ye.set("Choice", Se), ye.set("control", {
2017
+ P.set("Fallback", ve), P.set("Choice", ye), P.set("control", {
2018
2018
  from: "control",
2019
2019
  transparent: !0,
2020
2020
  openTag: (e) => {
@@ -2042,67 +2042,67 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2042
2042
  json: n
2043
2043
  }
2044
2044
  };
2045
- o && (s.name = o), M = {
2045
+ o && (s.content.name = o), N = {
2046
2046
  movable: s,
2047
2047
  control: n
2048
2048
  };
2049
2049
  },
2050
2050
  closeTag: () => {
2051
- M &&= (e.movables ||= [], e.movables.push(M.movable), null);
2051
+ N &&= (e.movables ||= [], e.movables.push(N.movable), null);
2052
2052
  }
2053
- }), ye.set("controlPr", {
2053
+ }), P.set("controlPr", {
2054
2054
  from: "controlPr",
2055
2055
  transparent: !0,
2056
2056
  raw: !0,
2057
2057
  openTag: (e) => {
2058
- if (!M) return;
2058
+ if (!N) return;
2059
2059
  let t = e.getFrom().attributes ?? {}, n = {};
2060
2060
  for (let e in t) {
2061
2061
  let r = t[e];
2062
2062
  n[e] = typeof r == "string" ? r : r?.value ?? "";
2063
2063
  }
2064
- Object.keys(n).length > 0 && (M.control.props = n);
2064
+ Object.keys(n).length > 0 && (N.control.props = n);
2065
2065
  },
2066
2066
  closeTag: (e) => {
2067
- if (!M) return;
2067
+ if (!N) return;
2068
2068
  let t = ((e) => {
2069
2069
  let t = /<(?:[\w.-]+:)?anchor\b([^>]*)>([\s\S]*?)<\/(?:[\w.-]+:)?anchor>/.exec(e);
2070
2070
  if (!t) return null;
2071
2071
  let n = t[2], r = (e) => RegExp(`<(?:[\\w.-]+:)?${e}\\b[^>]*>([\\s\\S]*?)<\\/(?:[\\w.-]+:)?${e}>`).exec(n)?.[1], i = t[1], a = /\bmoveWithCells="(?:1|true)"/.test(i), o = /\bsizeWithCells="(?:1|true)"/.test(i);
2072
2072
  return {
2073
2073
  anchor: {
2074
- tl: Dt(r("from")),
2075
- br: Dt(r("to"))
2074
+ tl: kt(r("from")),
2075
+ br: kt(r("to"))
2076
2076
  },
2077
2077
  anchorType: a ? o ? "twoCell" : "oneCell" : "absolute",
2078
2078
  rest: (e.slice(0, t.index) + e.slice(t.index + t[0].length)).trim()
2079
2079
  };
2080
2080
  })(e.getRawXml() ?? "");
2081
- t ? (M.movable.anchor = t.anchor, t.anchorType !== "twoCell" && (M.movable.anchorType = t.anchorType), t.rest && (M.control.xml = t.rest)) : ve || (ve = !0, e.warn("A form control has no anchor; it is placed at the top left of the sheet."));
2081
+ t ? (N.movable.anchor = t.anchor, t.anchorType !== "twoCell" && (N.movable.anchorType = t.anchorType), t.rest && (N.control.xml = t.rest)) : _e || (_e = !0, e.warn("A form control has no anchor; it is placed at the top left of the sheet."));
2082
2082
  }
2083
2083
  });
2084
- let Ce = {
2084
+ let xe = {
2085
2085
  from: "controls",
2086
2086
  transparent: !0,
2087
- scope: () => ye
2087
+ scope: () => P
2088
2088
  };
2089
- c.registerVisitor(Ce);
2090
- let Te = /* @__PURE__ */ new Map([
2091
- ["Choice", Se],
2092
- ["Fallback", xe],
2093
- ["controls", Ce]
2089
+ d.registerVisitor(xe);
2090
+ let Se = /* @__PURE__ */ new Map([
2091
+ ["Choice", ye],
2092
+ ["Fallback", ve],
2093
+ ["controls", xe]
2094
2094
  ]);
2095
- c.registerVisitor({
2095
+ d.registerVisitor({
2096
2096
  from: "AlternateContent",
2097
2097
  transparent: !0,
2098
- scope: () => Te
2099
- }), c.registerVisitor({
2098
+ scope: () => Se
2099
+ }), d.registerVisitor({
2100
2100
  from: "tableParts",
2101
2101
  to: "tables",
2102
2102
  openTag: (e) => {
2103
2103
  e.setSource([]);
2104
2104
  }
2105
- }), c.registerVisitor({
2105
+ }), d.registerVisitor({
2106
2106
  from: "tablePart",
2107
2107
  to: [],
2108
2108
  openTag: (e) => {
@@ -2112,26 +2112,26 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2112
2112
  r ? e.setSource(r) : e.warn("A table part is missing; the table was not imported.", { onceKey: "xlsx.sheet.table.missing" });
2113
2113
  }
2114
2114
  });
2115
- let Ee = (e, t) => {
2116
- t.conditions?.length && (e.stops = y(t)), t.minLength !== void 0 && (e.minLength = t.minLength), t.maxLength !== void 0 && (e.maxLength = t.maxLength), (t.gradient ?? 1) && (e.gradient = !0), t.border && t.borderColor && (e.borderColor = t.borderColor), !t.negativeBarColorSameAsPositive && t.negativeFillColor && (e.negativeFillColor = t.negativeFillColor), !(t.negativeBarBorderColorSameAsPositive ?? 1) && t.negativeBorderColor && (e.negativeBorderColor = t.negativeBorderColor), t.axisColor && (e.axisColor = t.axisColor), t.axisPosition !== "middle" && t.axisPosition !== "none" || (e.axisPosition = t.axisPosition), t.direction !== "leftToRight" && t.direction !== "rightToLeft" || (e.direction = t.direction);
2117
- }, N = (e, t) => {
2118
- t.conditions?.length && (e.stops = y(t)), t.iconSet && t.iconSet !== e.iconSet && (e.iconSet = t.iconSet), t.icons?.length && (e.icon = t.icons), t.reverse !== void 0 && (e.reverse = t.reverse), t.showValue !== void 0 && (e.showValue = t.showValue);
2119
- }, De = (e) => {
2115
+ let Ce = (e, t) => {
2116
+ t.conditions?.length && (e.stops = ne(t)), t.minLength !== void 0 && (e.minLength = t.minLength), t.maxLength !== void 0 && (e.maxLength = t.maxLength), (t.gradient ?? 1) && (e.gradient = !0), t.border && t.borderColor && (e.borderColor = t.borderColor), !t.negativeBarColorSameAsPositive && t.negativeFillColor && (e.negativeFillColor = t.negativeFillColor), !(t.negativeBarBorderColorSameAsPositive ?? 1) && t.negativeBorderColor && (e.negativeBorderColor = t.negativeBorderColor), t.axisColor && (e.axisColor = t.axisColor), t.axisPosition !== "middle" && t.axisPosition !== "none" || (e.axisPosition = t.axisPosition), t.direction !== "leftToRight" && t.direction !== "rightToLeft" || (e.direction = t.direction);
2117
+ }, Te = (e, t) => {
2118
+ t.conditions?.length && (e.stops = ne(t)), t.iconSet && t.iconSet !== e.iconSet && (e.iconSet = t.iconSet), t.icons?.length && (e.icon = t.icons), t.reverse !== void 0 && (e.reverse = t.reverse), t.showValue !== void 0 && (e.showValue = t.showValue);
2119
+ }, Ee = (e) => {
2120
2120
  if (!e.sqref) return null;
2121
2121
  let t = e.sqref.split(/\s+/).join(",");
2122
2122
  if (e.type === "iconSet") {
2123
2123
  if (!e.iconSet) return null;
2124
2124
  let n = {
2125
- type: l.ScaleType.IconSet,
2125
+ type: f.ScaleType.IconSet,
2126
2126
  stops: []
2127
2127
  };
2128
- return N(n, e.iconSet), {
2128
+ return Te(n, e.iconSet), {
2129
2129
  r: t,
2130
2130
  v: { scale: n },
2131
2131
  priority: e.priority
2132
2132
  };
2133
2133
  }
2134
- let n = ie(e, a);
2134
+ let n = ce(e, a);
2135
2135
  if (!n) return null;
2136
2136
  let r = { condition: n };
2137
2137
  return e.style && (r.style = e.style), e.stopIfTrue && (r.stopIfTrue = !0), {
@@ -2140,7 +2140,7 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2140
2140
  priority: e.priority
2141
2141
  };
2142
2142
  };
2143
- c.registerVisitor({
2143
+ d.registerVisitor({
2144
2144
  from: "worksheet",
2145
2145
  to: {},
2146
2146
  openTag: (e) => {},
@@ -2154,11 +2154,11 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2154
2154
  if (!i) continue;
2155
2155
  de.delete(r);
2156
2156
  let a = t.v?.scale;
2157
- i.dataBar && a?.type === l.ScaleType.DataBar ? Ee(a, i.dataBar) : i.iconSet && a?.type === l.ScaleType.IconSet && N(a, i.iconSet);
2157
+ i.dataBar && a?.type === f.ScaleType.DataBar ? Ce(a, i.dataBar) : i.iconSet && a?.type === f.ScaleType.IconSet && Te(a, i.iconSet);
2158
2158
  }
2159
- let r = [...de.values(), ...C], i = /* @__PURE__ */ new Set(), o = 0;
2159
+ let r = [...de.values(), ...fe], i = /* @__PURE__ */ new Set(), o = 0;
2160
2160
  for (let e = 0; e < r.length; e++) {
2161
- let a = De(r[e]);
2161
+ let a = Ee(r[e]);
2162
2162
  a ? (n || (n = [], t.conditionals = n), n.push(a)) : (i.add(r[e].type ?? "unknown"), o++);
2163
2163
  }
2164
2164
  if (o > 0) {
@@ -2170,7 +2170,7 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2170
2170
  for (let e = 0; e < n.length; e++) delete n[e].priority;
2171
2171
  }
2172
2172
  }
2173
- }), c.registerVisitor({
2173
+ }), d.registerVisitor({
2174
2174
  from: "customProperties",
2175
2175
  to: "customProperties",
2176
2176
  openTag: (e) => {
@@ -2180,7 +2180,7 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2180
2180
  let t = e.getSource();
2181
2181
  t.length > 0 && (e.getParent().customProperties = t);
2182
2182
  }
2183
- }), c.registerVisitor({
2183
+ }), d.registerVisitor({
2184
2184
  from: "customPr",
2185
2185
  to: {},
2186
2186
  openTag: (e) => {
@@ -2191,26 +2191,26 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2191
2191
  let i = t(r, "resource"), a = e.getSource();
2192
2192
  a.resId = i, n.push(a);
2193
2193
  }
2194
- }), c.registerVisitor({
2194
+ }), d.registerVisitor({
2195
2195
  from: "sheetProtection",
2196
2196
  to: "protection",
2197
2197
  openTag: (e) => {
2198
2198
  let t = e.getSource();
2199
- for (let n of me) {
2199
+ for (let n of ee) {
2200
2200
  let r = e.hasAttribute(n.attribute) ? e.getAttribute(n.attribute) : null;
2201
- t[n.key] = A(n, r);
2201
+ t[n.key] = oe(n, r);
2202
2202
  }
2203
2203
  if (t.sheet) return;
2204
2204
  let n = {};
2205
2205
  e.copyToObject(n, "hash", $, "hashValue"), e.copyToObject(n, "algorithm", $, "algorithmName"), e.copyToObject(n, "salt", $, "saltValue"), e.copyToObject(n, "spinCount", Z), Object.keys(n).length > 0 && (e.getSource().password = n);
2206
2206
  }
2207
- }), c.registerVisitor({
2207
+ }), d.registerVisitor({
2208
2208
  from: "protectedRanges",
2209
2209
  to: "protectedRanges",
2210
2210
  openTag: (e) => {
2211
2211
  e.setSource([]);
2212
2212
  }
2213
- }), c.registerVisitor({
2213
+ }), d.registerVisitor({
2214
2214
  from: "protectedRange",
2215
2215
  to: [],
2216
2216
  openTag: (e) => {
@@ -2228,7 +2228,7 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2228
2228
  let t = e.getSource();
2229
2229
  t?.r && t.v.name || e.setSource(void 0);
2230
2230
  }
2231
- }), c.registerVisitor({
2231
+ }), d.registerVisitor({
2232
2232
  from: "sheetFormatPr",
2233
2233
  to: "sheetFormatPr",
2234
2234
  openTag: (t) => {
@@ -2236,53 +2236,53 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2236
2236
  let n = t.getAttribute("customHeight");
2237
2237
  n !== "1" && n !== "true" || t.copyToObject(e, "defaultRowSize", Q, "defaultRowHeight"), t.copyToObject(e, "outlineLevelRow", Z, "outlineLevelRow");
2238
2238
  }
2239
- }), c.registerVisitor({
2239
+ }), d.registerVisitor({
2240
2240
  from: "cols",
2241
2241
  to: "cols",
2242
2242
  openTag: (e) => {
2243
2243
  e.setSource([]);
2244
2244
  }
2245
- }), c.registerVisitor({
2245
+ }), d.registerVisitor({
2246
2246
  from: "col",
2247
2247
  to: [],
2248
2248
  openTag: (e) => {
2249
2249
  let t = e.getSource(), n = e.getAttribute("min"), r = e.getAttribute("max"), i = n === void 0 ? 0 : parseInt(n) - 1, a = r === void 0 ? i : parseInt(r) - 1;
2250
- t.r = d.runToString(i, a, !0);
2250
+ t.r = c.runToString(i, a, !0);
2251
2251
  let o = {};
2252
2252
  t.v = o, e.copyToObject(o, "sz", Q, "width"), e.copyToObject(o, "csz", X, "customWidth"), e.copyToObject(o, "h", X, "hidden"), e.copyToObject(o, "l", Z, "outlineLevel"), e.copyToObject(o, "s", Z, "style");
2253
2253
  }
2254
- }), c.registerVisitor({
2254
+ }), d.registerVisitor({
2255
2255
  from: "oleObjects",
2256
2256
  to: null,
2257
2257
  openTag: (e) => {
2258
2258
  e.warn("'OLE Objects' are not supported.");
2259
2259
  }
2260
2260
  });
2261
- let P = !1, Oe = !1, ke = 0, F = "", I = (e) => {
2261
+ let F = !1, I = !1, L = 0, De = "", Oe = (e) => {
2262
2262
  let t = e.indexOf(":");
2263
2263
  return t === -1 ? e : e.slice(t + 1);
2264
2264
  };
2265
- return Nt(_, e, c.createEventHandler(e, i, a), a, o, {
2265
+ return Ft(g, e, d.createEventHandler(e, i, a), a, o, {
2266
2266
  onOpenTag: (e) => {
2267
- P = !0;
2268
- let t = I(e.name);
2269
- t === "t" || t === "v" ? ke === 0 && (Oe = !0) : t !== "rPh" && t !== "phoneticPr" || ke++;
2267
+ F = !0;
2268
+ let t = Oe(e.name);
2269
+ t === "t" || t === "v" ? L === 0 && (I = !0) : t !== "rPh" && t !== "phoneticPr" || L++;
2270
2270
  },
2271
2271
  onText: (e) => {
2272
- Oe && (F += e);
2272
+ I && (De += e);
2273
2273
  },
2274
2274
  onCloseTag: (e) => {
2275
- let t = I(e.name);
2276
- t === "t" || t === "v" ? Oe = !1 : t !== "rPh" && t !== "phoneticPr" || ke > 0 && ke--;
2275
+ let t = Oe(e.name);
2276
+ t === "t" || t === "v" ? I = !1 : t !== "rPh" && t !== "phoneticPr" || L > 0 && L--;
2277
2277
  },
2278
2278
  onEnd: () => {
2279
- if (!P) return;
2280
- let e = n(ue(F));
2281
- return P = !1, Oe = !1, ke = 0, F = "", e;
2279
+ if (!F) return;
2280
+ let e = n(me(De));
2281
+ return F = !1, I = !1, L = 0, De = "", e;
2282
2282
  },
2283
2283
  onError: (e) => {}
2284
- }, s);
2285
- }, At = class {
2284
+ }, l);
2285
+ }, Mt = class {
2286
2286
  static {
2287
2287
  this.Collapsed = 1;
2288
2288
  }
@@ -2319,17 +2319,17 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2319
2319
  static {
2320
2320
  this.ThickTop = 2048;
2321
2321
  }
2322
- }, jt = (e, t, n) => {
2322
+ }, Nt = (e, t, n) => {
2323
2323
  if (e[0].value[0] === e[1].value[0]) return t;
2324
- }, Mt = {
2324
+ }, Pt = {
2325
2325
  colStart: 0,
2326
2326
  colEnd: 0,
2327
2327
  rowStart: 0,
2328
2328
  rowEnd: 0
2329
- }, Nt = (t, n, i, s, c, l, u) => {
2330
- let f = !1, p = !1, m = [], h = !1, g = null, _ = null, v = null, y = null, b = null, ee = null, x = u?.get("richData") ?? e.EmptyArray, te = u?.get("dummyWrapped") ?? null, ne = d.normalizeA1ToR1C1, re = r.createConflatingRanges(), ie = /* @__PURE__ */ new Map(), ae = [], oe = !1, se = !1, ce = null, le = !1, ue = r.createConflatingRanges(), de = !1, S = -1, C = -1, w = null, fe = null, pe = null, me = [], he = null, T = -2, E = 0, D = "", O = "", k = "", A = "", j = "", ge = "", _e = "", M = "", ve = "", ye = "", be = "", xe = "", Se = "", Ce = "", we = !0, Te = null, Ee = !1, N = !1, De = !1, P = null, Oe = 0, ke = (e) => {
2329
+ }, Ft = (t, n, i, s, l, u, d) => {
2330
+ let f = !1, p = !1, m = [], h = !1, g = null, _ = null, v = null, y = null, b = null, x = null, ee = d?.get("richData") ?? e.EmptyArray, te = d?.get("dummyWrapped") ?? null, ne = c.normalizeA1ToR1C1, re = r.createConflatingRanges(), ie = /* @__PURE__ */ new Map(), ae = [], oe = !1, se = !1, ce = null, le = !1, ue = r.createConflatingRanges(), S = !1, C = -1, w = -1, T = null, de = null, fe = null, E = [], D = null, O = -2, k = 0, A = "", pe = "", me = "", j = "", M = "", he = "", ge = "", N = "", _e = "", P = "", ve = "", ye = "", be = "", xe = "", Se = !0, Ce = null, we = !1, Te = !1, Ee = !1, F = null, I = 0, L = (e) => {
2331
2331
  let t = e.name, r = t.indexOf(":");
2332
- if (r !== -1 && (t = t.slice(r + 1)), Oe++, Oe % 196608 == 0 && c?.(Oe), fe) {
2332
+ if (r !== -1 && (t = t.slice(r + 1)), I++, I % 196608 == 0 && l?.(I), de) {
2333
2333
  let n = e.attributes;
2334
2334
  switch (t) {
2335
2335
  case "v":
@@ -2352,40 +2352,40 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2352
2352
  e !== void 0 && (le = e === "1");
2353
2353
  break;
2354
2354
  case "is":
2355
- de = !0;
2355
+ S = !0;
2356
2356
  return;
2357
2357
  }
2358
- de && !h && l?.onOpenTag?.(e);
2358
+ S && !h && u?.onOpenTag?.(e);
2359
2359
  return;
2360
2360
  }
2361
2361
  if (f) {
2362
2362
  if (t === "c") {
2363
- fe = e;
2363
+ de = e;
2364
2364
  let t = e.attributes, n = t.r;
2365
- C = d.fastStringToCol(n);
2365
+ w = c.fastStringToCol(n);
2366
2366
  let r = t.t;
2367
- r === void 0 ? pe = null : (pe = r, pe === "str" && (de = !0));
2367
+ r === void 0 ? fe = null : (fe = r, fe === "str" && (S = !0));
2368
2368
  let i = t.s;
2369
- i === void 0 && (P !== null || De) && (i = "0"), i !== void 0 && (i = parseInt(i), Te && Te.value === i && Te.colEnd + 1 === C ? Te.colEnd = C : (Te = {
2370
- colStart: C,
2371
- rowStart: S,
2372
- colEnd: C,
2373
- rowEnd: S,
2369
+ i === void 0 && (F !== null || Ee) && (i = "0"), i !== void 0 && (i = parseInt(i), Ce && Ce.value === i && Ce.colEnd + 1 === w ? Ce.colEnd = w : (Ce = {
2370
+ colStart: w,
2371
+ rowStart: C,
2372
+ colEnd: w,
2373
+ rowEnd: C,
2374
2374
  value: i
2375
- }, m.push(Te))), ce = null, se = !1;
2375
+ }, m.push(Ce))), ce = null, se = !1;
2376
2376
  let o = t.cm;
2377
2377
  oe = o !== void 0 && ((e) => {
2378
- let t = u?.get("metadata")?.cells;
2378
+ let t = d?.get("metadata")?.cells;
2379
2379
  if (!t) return !1;
2380
2380
  let n = parseInt(e, 10);
2381
2381
  return !(!Number.isFinite(n) || n < 1) && !0 === t[n - 1]?.get("XLDAPR")?.fDynamic;
2382
2382
  })(o);
2383
2383
  let s = t.vm;
2384
2384
  if (s !== void 0) {
2385
- let e = x[parseInt(s) - 1];
2385
+ let e = ee[parseInt(s) - 1];
2386
2386
  if (a.isError(e)) {
2387
2387
  let t = e.getCode();
2388
- w = {
2388
+ T = {
2389
2389
  t: "e",
2390
2390
  v: t
2391
2391
  }, oe && t === a.Code.Spill && (se = !0);
@@ -2393,68 +2393,68 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2393
2393
  }
2394
2394
  }
2395
2395
  } else {
2396
- if (N && t === "row") {
2396
+ if (Te && t === "row") {
2397
2397
  f = !0;
2398
2398
  let t = e.attributes.r;
2399
- if (S = parseInt(t) - 1, E = 0, O = e.attributes.customHeight, O !== void 0 && (E |= At.CustomHeight), O !== ve && (we = !0, ve = O), D = e.attributes.ht, D !== void 0 && (E |= At.Ht), D !== M && (we = !0, M = D), k = e.attributes.hidden, k !== void 0 && (E |= At.Hidden), k !== ye && (we = !0, ye = k), j = e.attributes.s, j !== void 0 && (E |= At.S), j !== xe && (we = !0, xe = j), A = e.attributes.customFormat, A !== void 0 && (E |= At.CustomFormat), A !== be && (we = !0, be = A), ge = e.attributes.outlineLevel, ge !== void 0 && (E |= At.OutlineLevel), ge !== Se && (we = !0, Se = ge), _e = e.attributes.collapsed, _e !== void 0 && (E |= At.Collapsed), _e !== Ce && (we = !0, Ce = _e), E !== 0) if (T + 1 !== S || we) {
2400
- let e = O !== void 0 && (O === "1" || O === "true"), t = A !== void 0 && (A === "1" || A === "true");
2401
- P = t && j !== void 0 ? j : null, t && P === null && (P = "0"), he = {
2402
- min: S,
2403
- max: S,
2399
+ if (C = parseInt(t) - 1, k = 0, pe = e.attributes.customHeight, pe !== void 0 && (k |= Mt.CustomHeight), pe !== _e && (Se = !0, _e = pe), A = e.attributes.ht, A !== void 0 && (k |= Mt.Ht), A !== N && (Se = !0, N = A), me = e.attributes.hidden, me !== void 0 && (k |= Mt.Hidden), me !== P && (Se = !0, P = me), M = e.attributes.s, M !== void 0 && (k |= Mt.S), M !== ye && (Se = !0, ye = M), j = e.attributes.customFormat, j !== void 0 && (k |= Mt.CustomFormat), j !== ve && (Se = !0, ve = j), he = e.attributes.outlineLevel, he !== void 0 && (k |= Mt.OutlineLevel), he !== be && (Se = !0, be = he), ge = e.attributes.collapsed, ge !== void 0 && (k |= Mt.Collapsed), ge !== xe && (Se = !0, xe = ge), k !== 0) if (O + 1 !== C || Se) {
2400
+ let e = pe !== void 0 && (pe === "1" || pe === "true"), t = j !== void 0 && (j === "1" || j === "true");
2401
+ F = t && M !== void 0 ? M : null, t && F === null && (F = "0"), D = {
2402
+ min: C,
2403
+ max: C,
2404
2404
  value: {
2405
- sz: D === void 0 ? -1 : parseFloat(D),
2405
+ sz: A === void 0 ? -1 : parseFloat(A),
2406
2406
  csz: e,
2407
- h: k !== void 0 && (k === "1" || k === "true"),
2408
- s: P === null ? void 0 : P === "0" ? 0 : parseInt(P),
2409
- l: ge === void 0 || ge === "0" ? 0 : parseInt(ge),
2410
- cl: _e !== void 0 && (_e === "1" || _e === "true")
2407
+ h: me !== void 0 && (me === "1" || me === "true"),
2408
+ s: F === null ? void 0 : F === "0" ? 0 : parseInt(F),
2409
+ l: he === void 0 || he === "0" ? 0 : parseInt(he),
2410
+ cl: ge !== void 0 && (ge === "1" || ge === "true")
2411
2411
  }
2412
- }, me.push(he);
2413
- } else he.max = S;
2414
- T = S, we = !1;
2412
+ }, E.push(D);
2413
+ } else D.max = C;
2414
+ O = C, Se = !1;
2415
2415
  return;
2416
2416
  }
2417
- if (t === "sheetData" && (N = !0), !Ee && t === "sheetData") {
2418
- Ee = !0;
2417
+ if (t === "sheetData" && (Te = !0), !we && t === "sheetData") {
2418
+ we = !0;
2419
2419
  let e = n.cols, t = e ? e.length : 0;
2420
- for (let n = 0; !De && n < t; n++) e[n].v.s && (De = !0);
2420
+ for (let n = 0; !Ee && n < t; n++) e[n].v.s && (Ee = !0);
2421
2421
  }
2422
2422
  i?.onOpenTag?.(e);
2423
2423
  }
2424
- }, F = (e) => {
2424
+ }, De = (e) => {
2425
2425
  let n = e.name;
2426
- if (n === "sheetData" && (N = !1), !h || n !== "c" && n !== "f" || (g && (y = ie.get(g) ?? null), y && (re.append(S, C, y), le && ue.append(S, C)), ce !== null && ae.push([ce, oe ? se ? "error" : "dynamic" : "fixed"]), h = !1, y = null, g = null, _ = null, p = !1, le = !1, ce = null, oe = !1, se = !1), fe) {
2426
+ if (n === "sheetData" && (Te = !1), !h || n !== "c" && n !== "f" || (g && (y = ie.get(g) ?? null), y && (re.append(C, w, y), le && ue.append(C, w)), ce !== null && ae.push([ce, oe ? se ? "error" : "dynamic" : "fixed"]), h = !1, y = null, g = null, _ = null, p = !1, le = !1, ce = null, oe = !1, se = !1), de) {
2427
2427
  let r = n.indexOf(":");
2428
- if (r !== -1 && (n = n.slice(r + 1)), de) if (n === "is" || n === "v") {
2429
- let e = l?.onEnd?.();
2430
- e != null && t.pushAt(S, C, "" + e);
2431
- } else n !== "f" && l?.onCloseTag?.(e);
2432
- p &&= !1, n === "c" && (fe = null, de = !1);
2428
+ if (r !== -1 && (n = n.slice(r + 1)), S) if (n === "is" || n === "v") {
2429
+ let e = u?.onEnd?.();
2430
+ e != null && t.pushAt(C, w, "" + e);
2431
+ } else n !== "f" && u?.onCloseTag?.(e);
2432
+ p &&= !1, n === "c" && (de = null, S = !1);
2433
2433
  return;
2434
2434
  }
2435
- if (f) return f = !1, void (Te = null);
2435
+ if (f) return f = !1, void (Ce = null);
2436
2436
  i?.onCloseTag?.(e);
2437
- }, I = (e) => {
2437
+ }, Oe = (e) => {
2438
2438
  let r = e.trim();
2439
2439
  if (p) {
2440
- switch (w = null, pe) {
2440
+ switch (T = null, fe) {
2441
2441
  case null:
2442
2442
  case "n":
2443
- w = parseFloat(r);
2443
+ T = parseFloat(r);
2444
2444
  break;
2445
2445
  case "b":
2446
- w = r === "1" || r === "true";
2446
+ T = r === "1" || r === "true";
2447
2447
  break;
2448
2448
  case "s":
2449
- w = r;
2449
+ T = r;
2450
2450
  break;
2451
2451
  case "e":
2452
2452
  if (r === "#VALUE!") {
2453
- let e = fe.attributes.vm;
2453
+ let e = de.attributes.vm;
2454
2454
  if (e !== void 0) {
2455
- let t = x[parseInt(e) - 1];
2455
+ let t = ee[parseInt(e) - 1];
2456
2456
  if (a.isError(t)) {
2457
- w = {
2457
+ T = {
2458
2458
  t: "e",
2459
2459
  v: t.getCode()
2460
2460
  };
@@ -2463,85 +2463,85 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2463
2463
  }
2464
2464
  }
2465
2465
  let e = a.getBuiltInByLabel(r);
2466
- e ? w = {
2466
+ e ? T = {
2467
2467
  t: "e",
2468
2468
  v: e.getCode()
2469
- } : (w = r, s?.(`Unknown formula error '${r}' in cell ${d.cellToString({
2470
- colIndex: C,
2471
- rowIndex: S
2469
+ } : (T = r, s?.(`Unknown formula error '${r}' in cell ${c.cellToString({
2470
+ colIndex: w,
2471
+ rowIndex: C
2472
2472
  })}`));
2473
2473
  break;
2474
2474
  case "str":
2475
- case "inlineStr": de = !0;
2475
+ case "inlineStr": S = !0;
2476
2476
  }
2477
- w !== null && t.pushAt(S, C, w);
2477
+ T !== null && t.pushAt(C, w, T);
2478
2478
  }
2479
2479
  if (g) {
2480
- if (b === g) y = ee;
2480
+ if (b === g) y = x;
2481
2481
  else {
2482
2482
  if (y = ie.get(g) ?? null, !y) {
2483
2483
  let e = [];
2484
- v = ne(r, S, C, e), y = [
2484
+ v = ne(r, C, w, e), y = [
2485
2485
  v,
2486
2486
  e,
2487
2487
  r
2488
2488
  ], ie.set(g, y);
2489
2489
  }
2490
- b = g, ee = y;
2490
+ b = g, x = y;
2491
2491
  }
2492
2492
  g = null;
2493
2493
  }
2494
2494
  if (h) {
2495
2495
  if (te !== null) {
2496
2496
  let e = ((e) => {
2497
- if (e.length < bt.length || e.slice(0, bt.length).toUpperCase() !== xt) return Ct;
2498
- let t = Tt(e, bt.length);
2499
- if (t === null || e.charCodeAt(t.end) !== 41 || e.charCodeAt(t.end + 1) !== 44 || e.charCodeAt(e.length - 1) !== 41) return Ct;
2497
+ if (e.length < St.length || e.slice(0, St.length).toUpperCase() !== Ct) return Tt;
2498
+ let t = Dt(e, St.length);
2499
+ if (t === null || e.charCodeAt(t.end) !== 41 || e.charCodeAt(t.end + 1) !== 44 || e.charCodeAt(e.length - 1) !== 41) return Tt;
2500
2500
  let n = t.value;
2501
- return n.toUpperCase() === St ? wt : n.length === 0 ? Ct : {
2501
+ return n.toUpperCase() === wt ? Et : n.length === 0 ? Tt : {
2502
2502
  kind: "formula",
2503
2503
  formula: n
2504
2504
  };
2505
2505
  })(r);
2506
2506
  e.kind !== "none" && te.push({
2507
2507
  sheet: n,
2508
- rowIndex: S,
2509
- colIndex: C,
2508
+ rowIndex: C,
2509
+ colIndex: w,
2510
2510
  formula: e.kind === "formula" ? e.formula : null
2511
2511
  });
2512
2512
  }
2513
2513
  let e = [];
2514
- v = ne(r, S, C, e), y = [
2514
+ v = ne(r, C, w, e), y = [
2515
2515
  v,
2516
2516
  e,
2517
2517
  r
2518
2518
  ];
2519
2519
  }
2520
- de ? l?.onText?.(e) : f || i?.onText?.(r);
2521
- }, L = {
2520
+ S ? u?.onText?.(e) : f || i?.onText?.(r);
2521
+ }, R = {
2522
2522
  r: void 0,
2523
2523
  t: void 0,
2524
2524
  s: void 0,
2525
2525
  cm: void 0,
2526
2526
  vm: void 0
2527
- }, Ae = {
2527
+ }, ke = {
2528
2528
  name: "c",
2529
- attributes: L,
2529
+ attributes: R,
2530
2530
  isSelfClosing: !1
2531
- }, R = {
2531
+ }, z = {
2532
2532
  t: void 0,
2533
2533
  si: void 0,
2534
2534
  ref: void 0,
2535
2535
  ca: void 0
2536
- }, je = {
2536
+ }, Ae = {
2537
2537
  name: "f",
2538
- attributes: R,
2538
+ attributes: z,
2539
2539
  isSelfClosing: !1
2540
- }, z = {
2540
+ }, B = {
2541
2541
  name: "v",
2542
2542
  attributes: {},
2543
2543
  isSelfClosing: !1
2544
- }, B = {
2544
+ }, V = {
2545
2545
  r: void 0,
2546
2546
  s: void 0,
2547
2547
  ht: void 0,
@@ -2550,157 +2550,157 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2550
2550
  customHeight: void 0,
2551
2551
  customFormat: void 0,
2552
2552
  outlineLevel: void 0
2553
- }, Me = {
2553
+ }, je = {
2554
2554
  name: "row",
2555
- attributes: B,
2555
+ attributes: V,
2556
2556
  isSelfClosing: !1
2557
- }, Ne = gt.NEED_MORE, V = gt.NOT_HANDLED, Pe = gt.decodeText, H = !1, U = (e, t, n, r) => {
2557
+ }, Me = vt.NEED_MORE, H = vt.NOT_HANDLED, Ne = vt.decodeText, Pe = !1, Fe = (e, t, n, r) => {
2558
2558
  for (;;) {
2559
2559
  let i = 0;
2560
2560
  for (; t < n && ((i = e.charCodeAt(t)) === 32 || i === 9 || i === 10 || i === 13);) t++;
2561
- if (t >= n) return Ne;
2562
- if (i === 62) return H = !1, t + 1;
2563
- if (i === 47) return t + 1 >= n ? Ne : e.charCodeAt(t + 1) === 62 ? (H = !0, t + 2) : V;
2561
+ if (t >= n) return Me;
2562
+ if (i === 62) return Pe = !1, t + 1;
2563
+ if (i === 47) return t + 1 >= n ? Me : e.charCodeAt(t + 1) === 62 ? (Pe = !0, t + 2) : H;
2564
2564
  let a = t;
2565
2565
  for (; t < n && (i = e.charCodeAt(t)) !== 61;) {
2566
- if (i === 62 || i === 47 || i === 32 || i === 9 || i === 10 || i === 13) return V;
2566
+ if (i === 62 || i === 47 || i === 32 || i === 9 || i === 10 || i === 13) return H;
2567
2567
  t++;
2568
2568
  }
2569
- if (t + 1 >= n) return Ne;
2569
+ if (t + 1 >= n) return Me;
2570
2570
  let o = t - a, s = e.charCodeAt(t + 1);
2571
- if (s !== 34 && s !== 39) return V;
2571
+ if (s !== 34 && s !== 39) return H;
2572
2572
  let c = t + 2, l = c;
2573
2573
  for (; l < n && (i = e.charCodeAt(l)) !== s;) {
2574
- if (i === 38 || i < 32) return V;
2574
+ if (i === 38 || i < 32) return H;
2575
2575
  l++;
2576
2576
  }
2577
- if (l >= n) return Ne;
2577
+ if (l >= n) return Me;
2578
2578
  t = l + 1;
2579
2579
  let u = e.charCodeAt(a);
2580
2580
  if (r === 2) switch (o) {
2581
2581
  case 1:
2582
- u === 114 ? B.r = e.slice(c, l) : u === 115 && (B.s = e.slice(c, l));
2582
+ u === 114 ? V.r = e.slice(c, l) : u === 115 && (V.s = e.slice(c, l));
2583
2583
  break;
2584
2584
  case 2:
2585
- e.startsWith("ht", a) && (B.ht = e.slice(c, l));
2585
+ e.startsWith("ht", a) && (V.ht = e.slice(c, l));
2586
2586
  break;
2587
2587
  case 6:
2588
- e.startsWith("hidden", a) && (B.hidden = e.slice(c, l));
2588
+ e.startsWith("hidden", a) && (V.hidden = e.slice(c, l));
2589
2589
  break;
2590
2590
  case 9:
2591
- e.startsWith("collapsed", a) && (B.collapsed = e.slice(c, l));
2591
+ e.startsWith("collapsed", a) && (V.collapsed = e.slice(c, l));
2592
2592
  break;
2593
- case 12: e.startsWith("customHeight", a) ? B.customHeight = e.slice(c, l) : e.startsWith("customFormat", a) ? B.customFormat = e.slice(c, l) : e.startsWith("outlineLevel", a) && (B.outlineLevel = e.slice(c, l));
2593
+ case 12: e.startsWith("customHeight", a) ? V.customHeight = e.slice(c, l) : e.startsWith("customFormat", a) ? V.customFormat = e.slice(c, l) : e.startsWith("outlineLevel", a) && (V.outlineLevel = e.slice(c, l));
2594
2594
  }
2595
- else if (r === 0) o === 1 ? u === 114 ? L.r = e.slice(c, l) : u === 116 ? L.t = e.slice(c, l) : u === 115 && (L.s = e.slice(c, l)) : o === 2 && e.charCodeAt(a + 1) === 109 && (u === 99 ? L.cm = e.slice(c, l) : u === 118 && (L.vm = e.slice(c, l)));
2596
- else if (o === 1) u === 116 && (R.t = e.slice(c, l));
2595
+ else if (r === 0) o === 1 ? u === 114 ? R.r = e.slice(c, l) : u === 116 ? R.t = e.slice(c, l) : u === 115 && (R.s = e.slice(c, l)) : o === 2 && e.charCodeAt(a + 1) === 109 && (u === 99 ? R.cm = e.slice(c, l) : u === 118 && (R.vm = e.slice(c, l)));
2596
+ else if (o === 1) u === 116 && (z.t = e.slice(c, l));
2597
2597
  else if (o === 2) {
2598
2598
  let t = e.charCodeAt(a + 1);
2599
- u === 115 && t === 105 ? R.si = e.slice(c, l) : u === 99 && t === 97 && (R.ca = e.slice(c, l));
2600
- } else o === 3 && e.startsWith("ref", a) && (R.ref = e.slice(c, l));
2599
+ u === 115 && t === 105 ? z.si = e.slice(c, l) : u === 99 && t === 97 && (z.ca = e.slice(c, l));
2600
+ } else o === 3 && e.startsWith("ref", a) && (z.ref = e.slice(c, l));
2601
2601
  }
2602
- }, Fe = (e, t, n) => e.charCodeAt(t + 1) === 47 && e.charCodeAt(t + 2) === n && e.charCodeAt(t + 3) === 62;
2602
+ }, U = (e, t, n) => e.charCodeAt(t + 1) === 47 && e.charCodeAt(t + 2) === n && e.charCodeAt(t + 3) === 62;
2603
2603
  return {
2604
2604
  ...i,
2605
2605
  onEnd: () => {
2606
- me.length > 0 && (n.rows = d.runsToRefs(me, !1));
2607
- let e = re.done(jt), a = e.length;
2606
+ E.length > 0 && (n.rows = c.runsToRefs(E, !1));
2607
+ let e = re.done(Nt), a = e.length;
2608
2608
  if (a > 0) {
2609
2609
  let t = Array(a);
2610
2610
  for (let n = 0; n < a; n++) {
2611
- let r = e[n], i = d.rangeToString(r), a = r.value[1];
2612
- t[n] = [i, d.resolveRelativeToA1(a, r.rowStart, r.colStart)];
2611
+ let r = e[n], i = c.rangeToString(r), a = r.value[1];
2612
+ t[n] = [i, c.resolveRelativeToA1(a, r.rowStart, r.colStart)];
2613
2613
  }
2614
2614
  n.formulas = t;
2615
2615
  }
2616
- let s = ue.done(!0), c = s.length;
2617
- if (c > 0) {
2618
- let e = Array(c);
2619
- for (let t = 0; t < c; t++) {
2616
+ let s = ue.done(!0), l = s.length;
2617
+ if (l > 0) {
2618
+ let e = Array(l);
2619
+ for (let t = 0; t < l; t++) {
2620
2620
  let n = s[t];
2621
- e[t] = d.rangeToString(n);
2621
+ e[t] = c.rangeToString(n);
2622
2622
  }
2623
2623
  n.volatile = e;
2624
2624
  }
2625
2625
  ae.length > 0 && (n.formulaArray = [...ae]);
2626
- let l = m.length;
2627
- if (l > 0) {
2626
+ let u = m.length;
2627
+ if (u > 0) {
2628
2628
  m.sort(r.createRangeComparator(o.Axis.Column));
2629
- let e = m[0], t = e.colStart, i = e.colEnd, a = e.rowEnd, s = e.value, c = [];
2630
- c.push(e);
2631
- let u = null;
2632
- for (let n = 1; n < l; n++) u = m[n], s !== u.value || t !== u.colStart || i !== u.colEnd || a + 1 !== u.rowEnd ? (c.push(u), e = u, t = e.colStart, i = e.colEnd, a = e.rowEnd, s = e.value) : (a = u.rowEnd, e.rowEnd = a);
2633
- let f = c.length, p = Array(f);
2629
+ let e = m[0], t = e.colStart, i = e.colEnd, a = e.rowEnd, s = e.value, l = [];
2630
+ l.push(e);
2631
+ let d = null;
2632
+ for (let n = 1; n < u; n++) d = m[n], s !== d.value || t !== d.colStart || i !== d.colEnd || a + 1 !== d.rowEnd ? (l.push(d), e = d, t = e.colStart, i = e.colEnd, a = e.rowEnd, s = e.value) : (a = d.rowEnd, e.rowEnd = a);
2633
+ let f = l.length, p = Array(f);
2634
2634
  for (let e = 0; e < f; e++) {
2635
- let t = c[e];
2636
- p[e] = [d.rangeToString(t), t.value];
2635
+ let t = l[e];
2636
+ p[e] = [c.rangeToString(t), t.value];
2637
2637
  }
2638
2638
  n.directStyles = p;
2639
2639
  }
2640
- let u = t.build();
2641
- u && (n.data = u.tuples), i?.onEnd?.();
2640
+ let d = t.build();
2641
+ d && (n.data = d.tuples), i?.onEnd?.();
2642
2642
  },
2643
- onOpenTag: ke,
2644
- onCloseTag: F,
2645
- onText: I,
2643
+ onOpenTag: L,
2644
+ onCloseTag: De,
2645
+ onText: Oe,
2646
2646
  elementScanners: [{
2647
2647
  name: "c",
2648
2648
  scan: (e, t, n) => {
2649
- if (!f || fe !== null) return V;
2650
- L.r = L.t = L.s = L.cm = L.vm = void 0;
2651
- let r = U(e, t + 2, n, 0);
2649
+ if (!f || de !== null) return H;
2650
+ R.r = R.t = R.s = R.cm = R.vm = void 0;
2651
+ let r = Fe(e, t + 2, n, 0);
2652
2652
  if (r < 0) return r;
2653
- let i = L.t;
2654
- if (L.r === void 0 || i === "str" || i === "inlineStr") return V;
2653
+ let i = R.t;
2654
+ if (R.r === void 0 || i === "str" || i === "inlineStr") return H;
2655
2655
  let a = !1, o = -1, s = -1, c = -1, l = -1, u = r;
2656
- if (!H) for (R.t = R.si = R.ref = R.ca = void 0;;) {
2656
+ if (!Pe) for (z.t = z.si = z.ref = z.ca = void 0;;) {
2657
2657
  let t = e.indexOf("<", r);
2658
- if (t === -1 || t + 3 >= n) return Ne;
2658
+ if (t === -1 || t + 3 >= n) return Me;
2659
2659
  for (let n = r; n < t; n++) {
2660
2660
  let t = e.charCodeAt(n);
2661
- if (t !== 32 && t !== 9 && t !== 10 && t !== 13) return V;
2661
+ if (t !== 32 && t !== 9 && t !== 10 && t !== 13) return H;
2662
2662
  }
2663
2663
  let i = e.charCodeAt(t + 1), d = e.charCodeAt(t + 2);
2664
2664
  if (i === 47) {
2665
- if (!Fe(e, t, 99)) return V;
2665
+ if (!U(e, t, 99)) return H;
2666
2666
  u = t + 4;
2667
2667
  break;
2668
2668
  }
2669
2669
  if (i === 102 && !a && c === -1 && (d === 32 || d === 62 || d === 47)) {
2670
- if (a = !0, r = U(e, t + 2, n, 1), r < 0) return r;
2671
- if (H) continue;
2670
+ if (a = !0, r = Fe(e, t + 2, n, 1), r < 0) return r;
2671
+ if (Pe) continue;
2672
2672
  let i = e.indexOf("<", r);
2673
- if (i === -1 || i + 3 >= n) return Ne;
2674
- if (!Fe(e, i, 102)) return V;
2673
+ if (i === -1 || i + 3 >= n) return Me;
2674
+ if (!U(e, i, 102)) return H;
2675
2675
  o = r, s = i, r = i + 4;
2676
2676
  continue;
2677
2677
  }
2678
2678
  if (i === 118 && d === 62 && c === -1) {
2679
2679
  let i = e.indexOf("<", t + 3);
2680
- if (i === -1 || i + 3 >= n) return Ne;
2681
- if (!Fe(e, i, 118)) return V;
2680
+ if (i === -1 || i + 3 >= n) return Me;
2681
+ if (!U(e, i, 118)) return H;
2682
2682
  c = t + 3, l = i, r = i + 4;
2683
2683
  continue;
2684
2684
  }
2685
- return V;
2685
+ return H;
2686
2686
  }
2687
- return ke(Ae), a && (ke(je), s > o && I(Pe(e.slice(o, s))), F(je)), c !== -1 && (ke(z), l > c && I(Pe(e.slice(c, l))), F(z)), F(Ae), u;
2687
+ return L(ke), a && (L(Ae), s > o && Oe(Ne(e.slice(o, s))), De(Ae)), c !== -1 && (L(B), l > c && Oe(Ne(e.slice(c, l))), De(B)), De(ke), u;
2688
2688
  }
2689
2689
  }, {
2690
2690
  name: "row",
2691
- openTag: Me,
2691
+ openTag: je,
2692
2692
  scan: (e, t, n) => {
2693
- if (!N || f || fe !== null) return V;
2694
- B.r = B.s = B.ht = B.hidden = B.collapsed = B.customHeight = B.customFormat = B.outlineLevel = void 0;
2695
- let r = U(e, t + 4, n, 2);
2696
- return r < 0 ? r : H || B.r === void 0 ? V : (ke(Me), r);
2693
+ if (!Te || f || de !== null) return H;
2694
+ V.r = V.s = V.ht = V.hidden = V.collapsed = V.customHeight = V.customFormat = V.outlineLevel = void 0;
2695
+ let r = Fe(e, t + 4, n, 2);
2696
+ return r < 0 ? r : Pe || V.r === void 0 ? H : (L(je), r);
2697
2697
  }
2698
2698
  }]
2699
2699
  };
2700
- }, Pt = (e) => {
2700
+ }, It = (e) => {
2701
2701
  let t = e.indexOf(":");
2702
2702
  return t === -1 ? e : e.slice(t + 1);
2703
- }, Ft = {
2703
+ }, Lt = {
2704
2704
  "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml": "workbooks",
2705
2705
  "application/vnd.ms-excel.sheet.macroEnabled.main+xml": "workbooks",
2706
2706
  "application/vnd.ms-excel.sheet.binary.macroEnabled.main": "workbooks",
@@ -2730,19 +2730,19 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2730
2730
  "application/vnd.ms-excel.externalLink": "links",
2731
2731
  "application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml": "links",
2732
2732
  "application/vnd.openxmlformats-officedocument.theme+xml": "themes"
2733
- }, It = (e) => e.startsWith("/") ? e.slice(1) : e, Lt = /^xl\/(worksheets|chartsheets)\/[^/]+\.xml$/i, Rt = (e) => typeof e == "string" ? e : (e?.runs ?? []).map((e) => e.text ?? "").join(""), zt = async (r, a) => {
2734
- let { password: o, onVBA: l, profile: u, calcOnLoad: f = "auto", createWorkbookOptions: h = {}, ..._ } = a ?? {}, b = !!h.origin && typeof h.origin != "string", x = u ? new De(typeof u == "function" ? u : void 0) : null, ne = [], re = (e, t, n) => {
2735
- ne.push([
2733
+ }, Rt = (e) => e.startsWith("/") ? e.slice(1) : e, zt = /^xl\/(worksheets|chartsheets)\/[^/]+\.xml$/i, Bt = (e) => typeof e == "string" ? e : (e?.runs ?? []).map((e) => e.text ?? "").join(""), Vt = async (r, a) => {
2734
+ let { password: o, onVBA: s, profile: u, calcOnLoad: f = "auto", createWorkbookOptions: g = {}, ..._ } = a ?? {}, v = !!g.origin && typeof g.origin != "string", y = u ? new I(typeof u == "function" ? u : void 0) : null, b = [], x = (e, t, n) => {
2735
+ b.push([
2736
2736
  e,
2737
2737
  t ?? "",
2738
2738
  n
2739
2739
  ]);
2740
- }, ie = { onWarning: re }, se = a?.progress, ce = se?.onProgress ? se.onProgress.bind(se) : void 0, S = r.byteLength, C = 0, w = 0, fe = ce ? (e) => {
2741
- if (C <= 0) return;
2742
- w += e;
2743
- let t = Math.min(S, Math.round(w / C * S));
2744
- ce(t, S);
2745
- } : void 0, me = import("./B5SNHCcrvOdUn7Vu.mjs"), T = null;
2740
+ }, ee = { onWarning: x }, te = a?.progress, oe = te?.onProgress ? te.onProgress.bind(te) : void 0, se = r.byteLength, ce = 0, ue = 0, S = oe ? (e) => {
2741
+ if (ce <= 0) return;
2742
+ ue += e;
2743
+ let t = Math.min(se, Math.round(ue / ce * se));
2744
+ oe(t, se);
2745
+ } : void 0, w = import("./CrIcPnRynBYfe_Pk.mjs"), T = null;
2746
2746
  try {
2747
2747
  T = new DOMParser();
2748
2748
  } catch {}
@@ -2751,24 +2751,24 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2751
2751
  E = new XMLSerializer();
2752
2752
  } catch {}
2753
2753
  let D, O, k, A = null;
2754
- T || (A = import("./D36mtiddUg8k6tPW.mjs").then((e) => m(e.default, 1)));
2754
+ T || (A = import("./DL_3sKPWBfJtpaG3.mjs").then((e) => h(e.default, 1)));
2755
2755
  try {
2756
- let [e, t] = await Promise.all([A, me]);
2756
+ let [e, t] = await Promise.all([A, w]);
2757
2757
  D = new t.DOMTransformer(), O = T ?? new e.DOMParser(), k = E ?? new e.XMLSerializer();
2758
2758
  } catch (e) {
2759
2759
  throw Error("Unable to load XLSX parser.", { cause: e });
2760
2760
  }
2761
- let j, ve = (e) => k.serializeToString(e);
2761
+ let M, ve = (e) => k.serializeToString(e);
2762
2762
  try {
2763
- j = await N.create(r);
2763
+ M = await F.create(r);
2764
2764
  } catch (e) {
2765
2765
  throw new n("Unable to parse as an Excel document. Try to save as '.xlsx' and try again.", { cause: e });
2766
2766
  }
2767
- x?.mark("zip-open");
2767
+ y?.mark("zip-open");
2768
2768
  try {
2769
- if (!j.has("[Content_Types].xml")) throw new n("Unable to parse as an Excel document. Try to save as '.xlsx' and try again.");
2769
+ if (!M.has("[Content_Types].xml")) throw new n("Unable to parse as an Excel document. Try to save as '.xlsx' and try again.");
2770
2770
  let t = (e) => {
2771
- let t = j.getEntry(e);
2771
+ let t = M.getEntry(e);
2772
2772
  return t ? { content: t } : void 0;
2773
2773
  }, r = {
2774
2774
  workbooks: [],
@@ -2803,7 +2803,7 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2803
2803
  let t = r.ContentType, n = r.PartName;
2804
2804
  if (!t || !n) return;
2805
2805
  e.overrides[n.startsWith("/") ? n.slice(1) : n] = t;
2806
- let i = Ft[t], a = i ? e[i] : void 0;
2806
+ let i = Lt[t], a = i ? e[i] : void 0;
2807
2807
  Array.isArray(a) && a.push(n);
2808
2808
  } else if (n === "Default") {
2809
2809
  let t = r.Extension, n = r.ContentType;
@@ -2815,25 +2815,25 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2815
2815
  },
2816
2816
  onError: (e) => {
2817
2817
  ((e) => {
2818
- ne.push([e, "[Content_Types].xml"]);
2818
+ b.push([e, "[Content_Types].xml"]);
2819
2819
  })(`Error parsing content types: ${e?.message ?? e}`);
2820
2820
  }
2821
- }))(r), t = await j.getTextStream("[Content_Types].xml");
2821
+ }))(r), t = await M.getTextStream("[Content_Types].xml");
2822
2822
  if (!t) throw Error("Error parsing content types: '[Content_Types].xml'");
2823
2823
  try {
2824
- await H.parseStream(t, e, { xmlns: !1 });
2824
+ await U.parseStream(t, e, { xmlns: !1 });
2825
2825
  } catch (e) {
2826
2826
  throw Error("Error parsing content types: '[Content_Types].xml'", { cause: e });
2827
2827
  }
2828
- b && await j.getBuffer("[Content_Types].xml");
2828
+ v && await M.getBuffer("[Content_Types].xml");
2829
2829
  }
2830
- x?.mark("content-types");
2830
+ y?.mark("content-types");
2831
2831
  let a = r.sst, o = /* @__PURE__ */ new Set();
2832
- for (let e of r.sheets) o.add(It(e));
2833
- a && o.add(It(a));
2834
- for (let e of o) C += j.uncompressedSize(e);
2835
- if (await j.prefetch((e) => !o.has(e) && !Lt.test(e)), x?.mark("prefetch-side-parts"), r.workbooks.length === 0) {
2836
- let e = Ce("_rels/.rels", t, O, D, ie);
2832
+ for (let e of r.sheets) o.add(Rt(e));
2833
+ a && o.add(Rt(a));
2834
+ for (let e of o) ce += M.uncompressedSize(e);
2835
+ if (await M.prefetch((e) => !o.has(e) && !zt.test(e)), y?.mark("prefetch-side-parts"), r.workbooks.length === 0) {
2836
+ let e = Ce("_rels/.rels", t, O, D, ee);
2837
2837
  if (e) {
2838
2838
  for (let t of e.values()) if (t.type === "http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" && t.target) {
2839
2839
  r.workbooks.push(t.target);
@@ -2843,61 +2843,61 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2843
2843
  }
2844
2844
  if (r.workbooks.length === 0) throw new n("Unable to parse as an Excel document. Try to save as '.xlsx' and try again.");
2845
2845
  r.richstructure = ["/xl/richData/rdrichvaluestructure.xml"], r.richdata = ["/xl/richData/rdrichvalue.xml"];
2846
- let m = h?.resources ?? new c(), _ = m.beginPersist(), w = {}, me = /* @__PURE__ */ new Set(), T = /* @__PURE__ */ new Map();
2846
+ let h = g?.resources ?? new d(), _ = h.beginPersist(), ue = {}, w = /* @__PURE__ */ new Set(), T = /* @__PURE__ */ new Map();
2847
2847
  T.set("richTypes", []), T.set("parseInlineDxf", (e) => {
2848
2848
  if (!e) return;
2849
- let t = O.parseFromString(`<dxf xmlns:x14="${le}" xmlns:xm="${oe}">${e}</dxf>`, "text/xml")?.documentElement;
2849
+ let t = O.parseFromString(`<dxf xmlns:x14="${ne}" xmlns:xm="${he}">${e}</dxf>`, "text/xml")?.documentElement;
2850
2850
  if (!t) return;
2851
- let n = D.parseDxf(t, "", ie);
2851
+ let n = D.parseDxf(t, "", ee);
2852
2852
  return Object.keys(n).length > 0 ? n : void 0;
2853
2853
  });
2854
2854
  let E = [];
2855
2855
  T.set("dummyWrapped", E);
2856
- let k = M("metadata", r, t, O, D, ie).entries().next()?.value?.[1]?.metadata;
2857
- k && T.set("metadata", k), T.set(Ot, ae());
2856
+ let k = P("metadata", r, t, O, D, ee).entries().next()?.value?.[1]?.metadata;
2857
+ k && T.set("metadata", k), T.set(At, pe());
2858
2858
  let A = /* @__PURE__ */ new Map(), be = [], we = /* @__PURE__ */ new Set(), Ee = (e) => {
2859
- we.add(It(e));
2860
- }, N = (e, n = A) => {
2859
+ we.add(Rt(e));
2860
+ }, F = (e, n = A) => {
2861
2861
  let r = e.lastIndexOf("/"), i = e.substring(0, r + 1) + "_rels/" + e.substring(r + 1, e.length) + ".rels", a = n.get(i);
2862
- return a || (a = Ce(i, t, O, D, z), n.set(i, a)), a;
2863
- }, De = (e, n, r, i = A) => {
2864
- let a = N(n, i).get(e), o = a?.target;
2862
+ return a || (a = Ce(i, t, O, D, B), n.set(i, a)), a;
2863
+ }, I = (e, n, r, i = A) => {
2864
+ let a = F(n, i).get(e), o = a?.target;
2865
2865
  if (!o) return null;
2866
2866
  if (a.targetMode === "External") {
2867
2867
  if (!r) return a.target;
2868
- let e = m.add({ source: { external: a.target } });
2869
- return e.addReference(w), me.add(e), _.toResourceId(e);
2868
+ let e = h.add({ source: { external: a.target } });
2869
+ return e.addReference(ue), w.add(e), _.toResourceId(e);
2870
2870
  }
2871
2871
  let s = n.lastIndexOf("/"), c = n.substring(0, s + 1);
2872
- o.startsWith("/") || (o = c + o), o = ge(o);
2872
+ o.startsWith("/") || (o = c + o), o = N(o);
2873
2873
  let l = D?.getVisitorParamsState().get("dxfs"), u = i.get(o);
2874
2874
  if (!u) if (a.type === "http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet") {
2875
2875
  let e = {};
2876
2876
  u = e, be.push((async () => {
2877
- let t = kt(e, (e, t) => t === "legacyDrawing" ? ke(e, o) : t === "part" ? F(e, o) : De(e, o, t === "resource") ?? null, Pe, l, () => {}, (e, t, n) => {
2878
- re(e, t ? `${t} (${o})` : o, n);
2879
- }, void 0, T), n = await j.getTextStream(o, fe);
2877
+ let t = jt(e, (e, t) => t === "legacyDrawing" ? Oe(e, o) : t === "part" ? R(e, o) : I(e, o, t === "resource") ?? null, Ne, l, () => {}, (e, t, n) => {
2878
+ x(e, t ? `${t} (${o})` : o, n);
2879
+ }, void 0, T), n = await M.getTextStream(o, S);
2880
2880
  if (n) try {
2881
- await H.parseStream(n, t, {
2881
+ await U.parseStream(n, t, {
2882
2882
  xmlns: !1,
2883
2883
  lean: !0
2884
2884
  });
2885
2885
  } catch (e) {
2886
2886
  throw Error(`Error parsing sheet: '${o}'`, { cause: e });
2887
2887
  }
2888
- let r = N(o, i);
2888
+ let r = F(o, i);
2889
2889
  if (r) {
2890
- Oe(e, o, r, i);
2890
+ De(e, o, r, i);
2891
2891
  let t = [];
2892
2892
  r.forEach((e, n) => {
2893
2893
  if (e.type !== "http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotTable") return;
2894
- let r = F(n, o, e.type, (e) => e !== "http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotCacheDefinition");
2894
+ let r = R(n, o, e.type, (e) => e !== "http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotCacheDefinition");
2895
2895
  if (!r?.xml) return;
2896
2896
  let i = /<pivotTableDefinition\b[^>]*>/.exec(r.xml)?.[0] ?? "", a = parseInt(/\scacheId="(\d+)"/.exec(i)?.[1] ?? "", 10);
2897
- if (isNaN(a)) return void ne.push([`Pivot table '${r.name}' names no cache and was dropped.`, o]);
2897
+ if (isNaN(a)) return void b.push([`Pivot table '${r.name}' names no cache and was dropped.`, o]);
2898
2898
  let s = /\sname="([^"]*)"/.exec(i)?.[1];
2899
2899
  t.push({
2900
- ...s ? { name: y(s) } : {},
2900
+ ...s ? { name: de(s) } : {},
2901
2901
  cacheId: a,
2902
2902
  part: r
2903
2903
  });
@@ -2905,12 +2905,12 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2905
2905
  }
2906
2906
  })());
2907
2907
  } else if (a.type === "http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink") {
2908
- let e = ye(o, t, O, D, z);
2908
+ let e = ye(o, t, O, D, B);
2909
2909
  if (e && Object.keys(e).length !== 0) {
2910
2910
  let t = e, n = t.__bookRelId, r = t.__absoluteUrlRelId;
2911
2911
  delete t.__bookRelId, delete t.__absoluteUrlRelId;
2912
2912
  let a = [];
2913
- N(o, i)?.forEach((e, t) => {
2913
+ F(o, i)?.forEach((e, t) => {
2914
2914
  if (e.targetMode === "External" && e.type && e.target) {
2915
2915
  let i = {
2916
2916
  type: e.type,
@@ -2921,28 +2921,28 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2921
2921
  }), a.sort((e, t) => (e.role === "book" ? 0 : 1) - (t.role === "book" ? 0 : 1)), t.sources = a, Ee(o), u = t;
2922
2922
  } else u = null;
2923
2923
  } else u = r ? Te(o, t, (e, t) => {
2924
- let n = m.add({ source: { buffer: e } });
2925
- return n.addReference(w), me.add(n), _.toResourceId(n);
2926
- }, z) : ye(o, t, O, D, z);
2924
+ let n = h.add({ source: { buffer: e } });
2925
+ return n.addReference(ue), w.add(n), _.toResourceId(n);
2926
+ }, B) : ye(o, t, O, D, B);
2927
2927
  return u;
2928
- }, P = (e, t) => {
2928
+ }, L = (e, t) => {
2929
2929
  if (!e) return null;
2930
- let n = N(t, A)?.get(e);
2930
+ let n = F(t, A)?.get(e);
2931
2931
  if (!n?.target || n.targetMode === "External") return null;
2932
2932
  let r = n.target;
2933
- return r.startsWith("/") || (r = t.substring(0, t.lastIndexOf("/") + 1) + r), ge(r);
2934
- }, Oe = (t, n, r, i) => {
2933
+ return r.startsWith("/") || (r = t.substring(0, t.lastIndexOf("/") + 1) + r), N(r);
2934
+ }, De = (t, n, r, i) => {
2935
2935
  let a = [], o = /* @__PURE__ */ new Map(), s = [];
2936
2936
  r.forEach((e, t) => {
2937
2937
  if (e.type !== "http://schemas.microsoft.com/office/2017/10/relationships/threadedComment") return;
2938
- let r = De(t, n, !1, i)?.comments;
2938
+ let r = I(t, n, !1, i)?.comments;
2939
2939
  if (!r) return;
2940
2940
  for (let e = 0; e < r.length; e++) {
2941
2941
  let t = r[e];
2942
2942
  if (!t?.v?.id) continue;
2943
2943
  let { parentId: n, done: i, content: c, ...l } = t.v, u = {
2944
2944
  ...l,
2945
- content: Rt(c)
2945
+ content: Bt(c)
2946
2946
  };
2947
2947
  n ? s.push({
2948
2948
  parentId: n,
@@ -2952,23 +2952,23 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2952
2952
  v: u
2953
2953
  }));
2954
2954
  }
2955
- let c = P(t, n);
2955
+ let c = L(t, n);
2956
2956
  c && Ee(c);
2957
2957
  });
2958
2958
  for (let e = 0; e < s.length; e++) {
2959
2959
  let { parentId: t, json: n } = s[e], r = o.get(t);
2960
2960
  r && (r.replies ??= []).push(n);
2961
2961
  }
2962
- let c = [];
2962
+ let l = [];
2963
2963
  if (r.forEach((t, r) => {
2964
2964
  if (t.type !== "http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments") return;
2965
- let a = De(r, n, !1, i), s = a?.comments;
2965
+ let a = I(r, n, !1, i), s = a?.comments;
2966
2966
  if (!s) return;
2967
- let l = a?.authors;
2967
+ let c = a?.authors;
2968
2968
  for (let t = 0; t < s.length; t++) {
2969
2969
  let n = s[t];
2970
2970
  if (!n?.r) continue;
2971
- let r = l && n.v.authorId !== void 0 ? l[n.v.authorId] : void 0;
2971
+ let r = c && n.v.authorId !== void 0 ? c[n.v.authorId] : void 0;
2972
2972
  if (r && r.startsWith("tc=")) {
2973
2973
  if (o.has(_e(r.substring(3)))) continue;
2974
2974
  r = void 0;
@@ -2977,78 +2977,97 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2977
2977
  id: e.uuidV4().toUpperCase(),
2978
2978
  asNote: !0,
2979
2979
  content: n.v.content ?? ""
2980
- }, a = r ? je({ displayName: r }) : void 0;
2981
- a && (i.personId = a.id), c.push({
2980
+ }, a = r ? Ae({ displayName: r }) : void 0;
2981
+ a && (i.personId = a.id), l.push({
2982
2982
  r: n.r,
2983
2983
  v: i
2984
2984
  });
2985
2985
  }
2986
- let u = P(r, n);
2986
+ let u = L(r, n);
2987
2987
  u && Ee(u);
2988
- }), a.length === 0 && c.length === 0) return;
2989
- let l = [...a, ...c], u = t.legacyDrawing;
2990
- if (u?.xml) {
2991
- let { rest: e, notes: n } = de(u.xml);
2988
+ }), a.length === 0 && l.length === 0) return;
2989
+ let u = [...a, ...l], d = t.legacyDrawing;
2990
+ if (d?.xml) {
2991
+ let { rest: e, notes: n } = j(d.xml);
2992
2992
  if (n.length > 0) {
2993
2993
  let r = /* @__PURE__ */ new Map();
2994
2994
  for (let e = 0; e < n.length; e++) {
2995
2995
  let t = n[e];
2996
- r.set(d.cellToString({
2996
+ r.set(c.cellToString({
2997
2997
  rowIndex: t.row,
2998
2998
  colIndex: t.col
2999
2999
  }), t);
3000
3000
  }
3001
- for (let e = 0; e < l.length; e++) {
3002
- let t = l[e], n = r.get(String(t.r).toUpperCase());
3003
- n && (t.v.box = { xml: n.xml }, r.delete(String(t.r).toUpperCase()));
3001
+ for (let e = 0; e < u.length; e++) {
3002
+ let t = u[e], n = r.get(String(t.r).toUpperCase());
3003
+ if (!n || (r.delete(String(t.r).toUpperCase()), !t.v.asNote)) continue;
3004
+ let i = C(n.xml), a = {};
3005
+ if (i.anchor) {
3006
+ let [e, t, r, o, s, c, l, u] = i.anchor;
3007
+ a.anchor = {
3008
+ tl: {
3009
+ c: e - n.col,
3010
+ x: t,
3011
+ r: r - n.row,
3012
+ y: o
3013
+ },
3014
+ br: {
3015
+ c: s - n.col,
3016
+ x: c,
3017
+ r: l - n.row,
3018
+ y: u
3019
+ }
3020
+ };
3021
+ }
3022
+ i.xml && (a.xml = i.xml), (a.anchor || a.xml) && (t.v.box = a), i.visible && (t.v.shown = !0), i.alt && (t.v.description = i.alt);
3004
3023
  }
3005
3024
  let i = [];
3006
3025
  r.forEach((e) => {
3007
3026
  i.push(e.xml);
3008
3027
  });
3009
- let a = pe(e, i);
3010
- a ? u.xml = a : delete t.legacyDrawing;
3028
+ let a = re(e, i);
3029
+ a ? d.xml = a : delete t.legacyDrawing;
3011
3030
  }
3012
3031
  }
3013
- t.comments = l;
3014
- }, ke = (e, n) => {
3015
- let r = P(e, n);
3032
+ t.comments = u;
3033
+ }, Oe = (e, n) => {
3034
+ let r = L(e, n);
3016
3035
  if (!r) return null;
3017
- let i = t(It(r));
3036
+ let i = t(Rt(r));
3018
3037
  if (!i) return null;
3019
3038
  let a = { xml: new TextDecoder("utf-8").decode(i.content) }, o = [];
3020
- return N(r, A)?.forEach((e, t) => {
3039
+ return F(r, A)?.forEach((e, t) => {
3021
3040
  if (e.type !== "http://schemas.openxmlformats.org/officeDocument/2006/relationships/image") return;
3022
- let n = De(t, r, !0);
3041
+ let n = I(t, r, !0);
3023
3042
  typeof n == "number" && o.push({
3024
3043
  id: t,
3025
3044
  resId: n
3026
3045
  });
3027
3046
  }), o.length > 0 && (a.images = o), Ee(r), a;
3028
- }, F = (e, n, i, a, o = /* @__PURE__ */ new Set()) => {
3029
- let s = P(e, n);
3047
+ }, R = (e, n, i, a, o = /* @__PURE__ */ new Set()) => {
3048
+ let s = L(e, n);
3030
3049
  if (!s || o.has(s)) return null;
3031
- let c = i ?? N(n, A)?.get(e)?.type;
3050
+ let c = i ?? F(n, A)?.get(e)?.type;
3032
3051
  if (!c) return null;
3033
- let l = t(It(s));
3052
+ let l = t(Rt(s));
3034
3053
  if (!l) return null;
3035
3054
  o.add(s);
3036
- let u = s.substring(s.lastIndexOf("/") + 1), d = r.overrides[It(s)] ?? r.defaults[u.substring(u.lastIndexOf(".") + 1).toLowerCase()], f = {
3055
+ let u = s.substring(s.lastIndexOf("/") + 1), d = r.overrides[Rt(s)] ?? r.defaults[u.substring(u.lastIndexOf(".") + 1).toLowerCase()], f = {
3037
3056
  id: e,
3038
3057
  type: c,
3039
3058
  name: u
3040
3059
  };
3041
3060
  if (d && (f.contentType = d), ((e, t) => e ? e.endsWith("+xml") || e === "application/xml" : /\.(xml|rels|vml)$/i.test(t))(d, u)) f.xml = new TextDecoder("utf-8").decode(l.content);
3042
3061
  else {
3043
- let t = De(e, n, !0);
3062
+ let t = I(e, n, !0);
3044
3063
  if (typeof t != "number") return null;
3045
3064
  f.resId = t;
3046
3065
  }
3047
3066
  let p = [];
3048
- return N(s, A)?.forEach((e, t) => {
3067
+ return F(s, A)?.forEach((e, t) => {
3049
3068
  if (!e?.type || a && !a(e.type)) return;
3050
3069
  if (e.targetMode === "External") {
3051
- let n = De(t, s, !0);
3070
+ let n = I(t, s, !0);
3052
3071
  typeof n == "number" && p.push({
3053
3072
  id: t,
3054
3073
  type: e.type,
@@ -3056,112 +3075,93 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
3056
3075
  });
3057
3076
  return;
3058
3077
  }
3059
- let n = F(t, s, e.type, a, o);
3078
+ let n = R(t, s, e.type, a, o);
3060
3079
  n && p.push(n);
3061
3080
  }), p.length > 0 && (f.parts = p), Ee(s), f;
3062
3081
  };
3063
- M("coreprops", r, t, O, D, ie), M("extprops", r, t, O, D, ie);
3064
- let I = /* @__PURE__ */ new Map(), L = /* @__PURE__ */ new Map(), Ae = M("people", r, t, O, D, ie), R = null;
3065
- if (Ae.size > 0) {
3066
- let [e, t] = Ae.entries().next().value;
3067
- if (R = t?.persons, Ee(e), R) {
3068
- let e = R.length;
3069
- for (let t = 0; t < e; t++) {
3070
- let e = R[t];
3071
- I.set(e.id, e), e.displayName !== void 0 && L.set(e.displayName, e);
3072
- }
3073
- }
3074
- }
3075
- let je = (t) => {
3076
- if (!t) return;
3077
- if (t.id && I.has(t.id)) return I.get(t.id);
3078
- let n = t.displayName;
3079
- if (!t.id) {
3080
- if (n) {
3081
- let e = L.get(n);
3082
- if (e) return e;
3083
- }
3084
- t.id = e.uuidV4();
3085
- }
3086
- let r = I.get(t.id);
3087
- if (r) return r;
3088
- let i = t;
3089
- return I.set(t.id, i), n && L.set(n, i), R ||= [], R.push(i), i;
3090
- }, z = {
3082
+ P("coreprops", r, t, O, D, ee), P("extprops", r, t, O, D, ee);
3083
+ let ke = new m(), z = P("people", r, t, O, D, ee);
3084
+ if (z.size > 0) {
3085
+ let [e, t] = z.entries().next().value;
3086
+ ke.fromJSON(t?.persons), Ee(e);
3087
+ }
3088
+ let Ae = (e) => {
3089
+ if (e) return ke.add(e).toJSON();
3090
+ }, B = {
3091
3091
  paramMap: T,
3092
- getRefs: N,
3093
- getRef: De,
3092
+ getRefs: F,
3093
+ getRef: I,
3094
3094
  parsedRefs: A,
3095
- readEmbeddedPart: (e, t) => F(e, t),
3096
- addPerson: je,
3095
+ readEmbeddedPart: (e, t) => R(e, t),
3096
+ addPerson: Ae,
3097
3097
  serializeElement: ve,
3098
- onWarning: re
3099
- }, B = [];
3098
+ onWarning: x
3099
+ }, V = [];
3100
3100
  if (a) {
3101
- let e = await j.getTextStream(a, fe);
3101
+ let e = await M.getTextStream(a, S);
3102
3102
  if (e) {
3103
3103
  let t = ((e, t) => {
3104
3104
  let n = !1, r = !1, i = 0, a = "";
3105
3105
  return {
3106
3106
  onOpenTag: (e) => {
3107
- let t = Pt(e.name);
3107
+ let t = It(e.name);
3108
3108
  t === "t" ? n && i === 0 && (r = !0) : t === "si" ? (n = !0, a = "", i = 0) : t !== "rPh" && t !== "phoneticPr" || i++;
3109
3109
  },
3110
3110
  onText: (e) => {
3111
3111
  r && (a += e);
3112
3112
  },
3113
3113
  onCloseTag: (e) => {
3114
- let t = Pt(e.name);
3114
+ let t = It(e.name);
3115
3115
  t === "t" ? r = !1 : t === "si" ? (((e) => {
3116
- B.push(e);
3117
- })(ue(a)), n = !1, a = "") : t !== "rPh" && t !== "phoneticPr" || i > 0 && i--;
3116
+ V.push(e);
3117
+ })(me(a)), n = !1, a = "") : t !== "rPh" && t !== "phoneticPr" || i > 0 && i--;
3118
3118
  },
3119
3119
  onError: (e) => {
3120
3120
  t?.(`Error parsing shared strings: ${e?.message ?? e}`);
3121
3121
  }
3122
3122
  };
3123
3123
  })(0, (e) => {
3124
- re(e, a);
3124
+ x(e, a);
3125
3125
  });
3126
3126
  try {
3127
- await H.parseStream(e, t, { xmlns: !1 });
3127
+ await U.parseStream(e, t, { xmlns: !1 });
3128
3128
  } catch (e) {
3129
3129
  throw Error(`Error parsing shared strings: '${a}'`, { cause: e });
3130
3130
  }
3131
3131
  }
3132
3132
  }
3133
- x?.mark("shared-strings");
3134
- let Me = B.length, Ne = /* @__PURE__ */ new Map(), V = Me, Pe = (e) => {
3135
- let t = Ne.get(e);
3133
+ y?.mark("shared-strings");
3134
+ let je = V.length, Me = /* @__PURE__ */ new Map(), H = je, Ne = (e) => {
3135
+ let t = Me.get(e);
3136
3136
  if (t !== void 0) return t;
3137
- let n = V;
3138
- return Ne.set(e, V++), B.push(e), n;
3139
- }, U = [];
3140
- r.slicersCache = U;
3141
- let Fe = j.getNames(), Ie = Fe.length;
3142
- for (let e = 0; e < Ie; e++) {
3137
+ let n = H;
3138
+ return Me.set(e, H++), V.push(e), n;
3139
+ }, Pe = [];
3140
+ r.slicersCache = Pe;
3141
+ let Fe = M.getNames(), W = Fe.length;
3142
+ for (let e = 0; e < W; e++) {
3143
3143
  let t = Fe[e];
3144
- t && t.startsWith("xl/slicerCache") && U.push(`/${t}`);
3144
+ t && t.startsWith("xl/slicerCache") && Pe.push(`/${t}`);
3145
3145
  }
3146
- let Le = M("slicersCache", r, t, O, D, z), Re = /* @__PURE__ */ new Map();
3147
- Le.forEach((e) => {
3146
+ let Ie = P("slicersCache", r, t, O, D, B), Le = /* @__PURE__ */ new Map();
3147
+ Ie.forEach((e) => {
3148
3148
  let t = e.name;
3149
- delete e.name, Re.set(t, e);
3150
- }), T.set("slicerCaches", Re), M("richstructure", r, t, O, D, z), M("richdata", r, t, O, D, z);
3151
- let ze = M("themes", r, t, O, D, z), Be = null;
3152
- if (ze && ze.entries) {
3153
- let e = ze.entries().next();
3154
- e?.value?.[1] && (Be = e.value[1]);
3155
- }
3156
- let Ve = new s(Be), He = M("styles", r, t, O, D, z).entries().next()?.value?.[1];
3157
- He &&= JSON.parse(i.JSONStableStringify(He));
3158
- let Ue = M("workbooks", r, t, O, D, z);
3159
- x?.mark("side-parts-json"), await Promise.all(be);
3149
+ delete e.name, Le.set(t, e);
3150
+ }), T.set("slicerCaches", Le), P("richstructure", r, t, O, D, B), P("richdata", r, t, O, D, B);
3151
+ let Re = P("themes", r, t, O, D, B), ze = null;
3152
+ if (Re && Re.entries) {
3153
+ let e = Re.entries().next();
3154
+ e?.value?.[1] && (ze = e.value[1]);
3155
+ }
3156
+ let Be = new l(ze), Ve = P("styles", r, t, O, D, B).entries().next()?.value?.[1];
3157
+ Ve &&= JSON.parse(i.JSONStableStringify(Ve));
3158
+ let He = P("workbooks", r, t, O, D, B);
3159
+ y?.mark("side-parts-json"), await Promise.all(be);
3160
3160
  {
3161
- let e = Ue.entries().next().value?.[1], t = ae(e?.names), n = e?.sheets ?? [];
3161
+ let e = He.entries().next().value?.[1], t = pe(e?.names), n = e?.sheets ?? [];
3162
3162
  for (let e = 0; e < n.length; e++) {
3163
3163
  let r = n[e]?.sheet;
3164
- r && g(r, t);
3164
+ r && ae(r, t);
3165
3165
  }
3166
3166
  let r = e?.names;
3167
3167
  if (r) for (let e = 0; e < r.length; e++) {
@@ -3169,22 +3169,24 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
3169
3169
  typeof n == "string" && (r[e].ref = t.readDetached(n));
3170
3170
  }
3171
3171
  }
3172
- ce && C > 0 && (ce(S, S), await new Promise((e) => setTimeout(e, 0))), x?.mark("sheets");
3173
- let W = {
3174
- ...Ue.entries().next().value?.[1],
3175
- styles: He,
3176
- theme: Ve.toJSON()
3172
+ oe && ce > 0 && (oe(se, se), await new Promise((e) => setTimeout(e, 0))), y?.mark("sheets");
3173
+ let Ue = {
3174
+ ...He.entries().next().value?.[1],
3175
+ styles: Ve,
3176
+ theme: Be.toJSON()
3177
3177
  };
3178
- xe(W, T.get(Se)), W.calc = {
3179
- ...W.calc ?? {},
3178
+ xe(Ue, T.get(Se)), Ue.calc = {
3179
+ ...Ue.calc ?? {},
3180
3180
  legacyIntersect: !0
3181
- }, B.length > 0 && (W.strings = B), R && R.length > 0 && (W.people = R);
3182
- let We = j.getEntry("xl/vbaProject.bin");
3183
- if (We) try {
3184
- let { VBAProject: e } = await import("./Be_zCt9smEb4NVGF.mjs"), t = e.extract(We);
3181
+ }, V.length > 0 && (Ue.strings = V);
3182
+ let We = ke.toJSON();
3183
+ We && We.length > 0 && (Ue.people = We);
3184
+ let Ge = M.getEntry("xl/vbaProject.bin");
3185
+ if (Ge) try {
3186
+ let { VBAProject: e } = await import("./Dyt46qi3aJZ-CbpB.mjs"), t = e.extract(Ge);
3185
3187
  if (t) {
3186
3188
  let n = /* @__PURE__ */ new Map();
3187
- for (let e of W.sheets ?? []) {
3189
+ for (let e of Ue.sheets ?? []) {
3188
3190
  let t = e?.sheet?.codeName;
3189
3191
  t && n.set(t, e.sheet);
3190
3192
  }
@@ -3193,25 +3195,25 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
3193
3195
  a && (t.source = a), i && (t.sourceHeader = i);
3194
3196
  let o = r.type === "document" ? n.get(r.name) : void 0;
3195
3197
  o || r.type !== "document" || (t.scope = "workbook");
3196
- let s = o ? o.modules ??= {} : W.modules ??= {};
3198
+ let s = o ? o.modules ??= {} : Ue.modules ??= {};
3197
3199
  s[r.name] || (s[r.name] = t);
3198
3200
  }
3199
- l?.(t);
3200
- } else ne.push(["Unable to parse VBA project.", "xl/vbaProject.bin"]);
3201
+ s?.(t);
3202
+ } else b.push(["Unable to parse VBA project.", "xl/vbaProject.bin"]);
3201
3203
  } catch (e) {
3202
- ne.push([`Error extracting VBA: ${e?.message ?? e}`, "xl/vbaProject.bin"]);
3204
+ b.push([`Error extracting VBA: ${e?.message ?? e}`, "xl/vbaProject.bin"]);
3203
3205
  }
3204
- let Ge = T.get("calcId"), Ke = Ge === void 0 || !(Number(Ge) >= 191029), G = h.calcOnLoad ?? (f === "auto" && Ke ? "full" : f), K = {
3205
- ...h,
3206
- calcOnLoad: G,
3207
- resources: m,
3208
- json: W
3206
+ let Ke = T.get("calcId"), qe = Ke === void 0 || !(Number(Ke) >= 191029), Je = g.calcOnLoad ?? (f === "auto" && qe ? "full" : f), G = {
3207
+ ...g,
3208
+ calcOnLoad: Je,
3209
+ resources: h,
3210
+ json: Ue
3209
3211
  };
3210
- K.disableLoadAutoFit === void 0 && (K.disableLoadAutoFit = !1), x?.mark("json-assembled");
3211
- let q = new p(K);
3212
- if (x?.mark("workbook-constructed"), E.length > 0 && G !== "none") {
3213
- await q.whenCalculationReady();
3214
- let e = /* @__PURE__ */ new Map(), t = W.sheets ?? [], n = q.getSheets().getItems();
3212
+ G.disableLoadAutoFit === void 0 && (G.disableLoadAutoFit = !1), y?.mark("json-assembled");
3213
+ let K = new p(G);
3214
+ if (y?.mark("workbook-constructed"), E.length > 0 && Je !== "none") {
3215
+ await K.whenCalculationReady();
3216
+ let e = /* @__PURE__ */ new Map(), t = Ue.sheets ?? [], n = K.getSheets().getItems();
3215
3217
  for (let r = 0; r < t.length; r++) {
3216
3218
  let i = t[r]?.sheet, a = n[r];
3217
3219
  i && a && e.set(i, a);
@@ -3233,7 +3235,7 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
3233
3235
  for (let e of t) e.formula === null && o.add(i(e.rowIndex, e.colIndex));
3234
3236
  for (let e of t) {
3235
3237
  if (e.formula === null) continue;
3236
- let t = Et(e.formula), n = !0;
3238
+ let t = Ot(e.formula), n = !0;
3237
3239
  for (let e of t) if (!a(e)) {
3238
3240
  n = !1;
3239
3241
  break;
@@ -3266,19 +3268,19 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
3266
3268
  }).setValue("=" + e.formula);
3267
3269
  }
3268
3270
  }
3269
- })(q, E, e);
3271
+ })(K, E, e);
3270
3272
  }
3271
- if (me.forEach((e) => {
3272
- e.deleteReference(w);
3273
- }), _.endPersist(), b) {
3274
- v(q);
3273
+ if (w.forEach((e) => {
3274
+ e.deleteReference(ue);
3275
+ }), _.endPersist(), v) {
3276
+ ie(K);
3275
3277
  let e = /* @__PURE__ */ new Map(), t = 0;
3276
- for (let n of j.getNames()) {
3277
- let r = j.getEntry(n);
3278
+ for (let n of M.getNames()) {
3279
+ let r = M.getEntry(n);
3278
3280
  if (!r) continue;
3279
- let i = j.getRawEntry(n), a = i ? {
3281
+ let i = M.getRawEntry(n), a = i ? {
3280
3282
  data: r,
3281
- uncompressedSize: j.uncompressedSize(n),
3283
+ uncompressedSize: M.uncompressedSize(n),
3282
3284
  raw: {
3283
3285
  compressedData: i.data,
3284
3286
  compressionMethod: i.compressionMethod,
@@ -3286,39 +3288,39 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
3286
3288
  }
3287
3289
  } : {
3288
3290
  data: r,
3289
- uncompressedSize: j.uncompressedSize(n)
3291
+ uncompressedSize: M.uncompressedSize(n)
3290
3292
  };
3291
3293
  e.set(n, a), t += r.byteLength;
3292
3294
  }
3293
- if (t > 67108864) ne.push([`Source package too large to retain (${t} bytes, limit ${he}); unmodeled parts will be dropped on save.`, "SourcePackage"]);
3295
+ if (t > 67108864) b.push([`Source package too large to retain (${t} bytes, limit ${ge}); unmodeled parts will be dropped on save.`, "SourcePackage"]);
3294
3296
  else if (e.size > 0) {
3295
- let t = new te(e, we);
3296
- ee(q, t);
3297
- let n = q.getSheets().getItems(), r = q.getTransactions().addListener({ onCommitEnd: (e) => {
3297
+ let t = new fe(e, we);
3298
+ le(K, t);
3299
+ let n = K.getSheets().getItems(), r = K.getTransactions().addListener({ onCommitEnd: (e) => {
3298
3300
  let n = e.getOperation()?.name;
3299
3301
  n !== "insertCells" && n !== "deleteCells" || t.markStructuralChange();
3300
- } }), i = q.addListeners({ onSheetsChange: () => {
3301
- let e = q.getSheets().getItems();
3302
+ } }), i = K.addListeners({ onSheetsChange: () => {
3303
+ let e = K.getSheets().getItems();
3302
3304
  (e.length !== n.length || e.some((e, t) => e !== n[t])) && t.markStructuralChange(), n = e;
3303
3305
  } });
3304
- q.addListeners({ onClose: () => {
3305
- r(), i(), v(q);
3306
+ K.addListeners({ onClose: () => {
3307
+ r(), i(), ie(K);
3306
3308
  } });
3307
3309
  }
3308
3310
  }
3309
- if (ne.length && se?.onWarning) {
3311
+ if (b.length && te?.onWarning) {
3310
3312
  let e = /* @__PURE__ */ new Set();
3311
- for (let t of ne) {
3313
+ for (let t of b) {
3312
3314
  let [n, r, i] = t, a = i ?? n;
3313
- e.has(a) || (e.add(a), se.onWarning(n, r));
3315
+ e.has(a) || (e.add(a), te.onWarning(n, r));
3314
3316
  }
3315
3317
  }
3316
- return x && !0 === u && console.table(x.toTable()), q;
3318
+ return y && !0 === u && console.table(y.toTable()), K;
3317
3319
  } catch (e) {
3318
3320
  let n = "Unable to parse XLSX.";
3319
3321
  throw e instanceof t && (n = "Unable to open XLSX. There are too many rows or columns."), Error(n, { cause: e });
3320
3322
  } finally {
3321
- await j.close().catch(() => {});
3323
+ await M.close().catch(() => {});
3322
3324
  }
3323
3325
  };
3324
- export { zt as readXLSX };
3326
+ export { Vt as readXLSX };