@sheetxl/mcp 0.8.0-beta.21 → 0.8.0-beta.23

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 (210) hide show
  1. package/assets/{BC2Y5XPkMBKS6jQX.js → 1J1R3dclFOh322Yr.js} +326 -325
  2. package/assets/{BZJvWc-5DdAyHXFk.js → 2XwVsSfo5wF5K-HA.js} +1 -1
  3. package/assets/{DO9RVxvm9vQh8A_j.js → 2xkoVdiI70Gpaxoc.js} +2 -2
  4. package/assets/{8wMcuw3b1CFk-D5A.js → 5MnsnJcajdtAujE2.js} +1 -1
  5. package/assets/{vItpZkDtFsjwsJzb.js → B2zUUqxAJ1RiM7YI.js} +64 -64
  6. package/assets/{CkGQV_x1SpyzePln.js → B3YRTBFhX61z6rJv.js} +435 -430
  7. package/assets/{RFPO1vKnkkgwx5Bs.js → BBuB6ffvyg2Cd7V5.js} +1 -1
  8. package/assets/{DO86fHS3WYzHN_Rv.js → BDSNdgf_hbhX1DhN.js} +1 -1
  9. package/assets/{H1ICg_-K5ADFNHJj.js → BEsnJS5jYwkHNcZd.js} +1 -1
  10. package/assets/{CSd5XfU4JBASIwTI.js → BGxwDpW8DkO8W0Ig.js} +1 -1
  11. package/assets/{D5mfuGSeGXSDHj9-.js → BI8kb-rd9dW85XJs.js} +1 -1
  12. package/assets/{DqxW6EBLDV_6Eegk.js → BJMeWtr7TiLNpt17.js} +1 -1
  13. package/assets/{D3RuKyCyAzvT0bGL.js → BKpicdc9H5WnZPb-.js} +1 -1
  14. package/assets/{KSE7OWDMxhbfYt82.js → BLr8y5StL65VZQxG.js} +22 -22
  15. package/assets/{CzQ2o7qoMm0K7KSb.js → BNEBXKAh-N4Tygk7.js} +4 -4
  16. package/assets/{CZ5v2vTWktJ7qAj1.js → BPorbjbkH-VoV1M0.js} +1 -1
  17. package/assets/{_oaPA65Bm2idKW7f.js → BPtf3_nlovO4r9Bm.js} +1 -1
  18. package/assets/{Dt5rA9gefJFLoaeI.js → BULbMlvQuB2WFBFE.js} +2 -2
  19. package/assets/{DpgBOcByebrqzUrC.js → BVUfaOAGhdMim8yB.js} +3 -3
  20. package/assets/{KQGPPHM486XPeClF.js → BWeaY19OpTJK5v0n.js} +2 -2
  21. package/assets/{M62BqR7TbmgOzAEW.js → BYbzf-TVwbKQPCyK.js} +3 -3
  22. package/assets/{CTLGMulzw-oFbgHy.js → BZaXHnsJ6RkCZsnz.js} +3 -3
  23. package/assets/{Bagfe_VVU6NyQNS6.js → BazhmjGvrL7pqVQP.js} +1 -1
  24. package/assets/{DX0znk3xZmL1AyX8.js → BbU6aT_c6-4tkcCw.js} +1 -1
  25. package/assets/{C0pbMKm0FzhOek9r.js → Bbmh8_bdk_HrQ5Y6.js} +1 -1
  26. package/assets/{DmJc5VoPPwBBtLIG.js → BcWSfKJ9Atkc0X_p.js} +1 -1
  27. package/assets/{fUmGsmpgGhd8eZn2.js → BdUFL3lVdwifHrf0.js} +1 -1
  28. package/assets/{CL348305B-kpRYzz.js → Bjk1Twm0RFO_3fS8.js} +1 -1
  29. package/assets/{DuCNecyIYfZL27SV.js → BlhJHu9ni2T9IaM1.js} +1 -1
  30. package/assets/{CB9TsE5n0FEyFnAz.js → BomatnedZsGMF7MW.js} +22 -21
  31. package/assets/{CLT0k5UJYPmi8ked.js → BynbAjhJnLjyP7HH.js} +1 -1
  32. package/assets/{CDYMLTHkkpRV9igv.js → Bz08KxFupjbdsoFx.js} +1 -1
  33. package/assets/{BU7t2vK3_DH_BbMd.js → C6_KHS3-ROddeSbS.js} +2 -2
  34. package/assets/{69EXDk0YRdjdM86i.js → C8G_px4dGuR2KjJh.js} +1 -1
  35. package/assets/{DRqBWzdn9KKN68o8.js → CBMMHYgUAhgiJhJE.js} +11 -11
  36. package/assets/{0ewqK5X66DZmbhVR.js → CC7EfXPwp7_nSBIz.js} +1 -1
  37. package/assets/{DOYXEbY_WslpyqXW.js → CCBQDcCHI47PZ0YQ.js} +5 -5
  38. package/assets/{BeMLPoHRWacCbpl2.js → CE-9VKh5-Xwxnxmu.js} +1 -1
  39. package/assets/{CpLUgqgBDtlfFRj3.js → CE5DhB5As59VJ-Ig.js} +1 -1
  40. package/assets/{1bSTbCnkTWvsV82p.js → CEsRqYMd5IjnAzzX.js} +4 -4
  41. package/assets/{CrLDmJU84Dbwl6DZ.js → CGLapmkNccH1g_ZJ.js} +1 -1
  42. package/assets/{C2YOx4ianxuIIeMP.js → CH8DNTUgM79xk8Tt.js} +1 -1
  43. package/assets/{rIQ1pzaGFqvCfzOk.js → CHG4ZuzhyjGRuKBg.js} +1 -1
  44. package/assets/{CBTQ8dknYY7RVQgL.js → CPZgEZ2jKoo7hS6g.js} +8 -8
  45. package/assets/{Dnn8laImZHy8LouL.js → CQCPJBQD0qv9y8qE.js} +1 -1
  46. package/assets/{vXmCJwJaPhkPVhy8.js → CSisGJ4hiDhTi19U.js} +1 -1
  47. package/assets/{BMkhJwKP7goV0vlJ.js → CeVCLRwjkH3_OXJu.js} +1 -1
  48. package/assets/{BneTvtEMcBoSiQnw.js → Cg1tSmK_AGJa2VeI.js} +3 -3
  49. package/assets/{DG3hKZ75iK2wrCcz.js → CgYef9dYxY8YyUTE.js} +1 -1
  50. package/assets/{CME1jbwnNlBD66aW.js → ChbkkN_JqbAGrUwB.js} +221 -219
  51. package/assets/{D2XmpdMAe0SAuQWo.js → Cidwv57sKqhIrpHP.js} +54 -54
  52. package/assets/{Vo34QvIefEN595xl.js → Cl04_aSpBHTwfsQR.js} +8954 -8941
  53. package/assets/{CudjOMo6X7FRW6ME.js → Cl8_HMhRgzPzqFc7.js} +1 -1
  54. package/assets/{IEmEQHg895CUpAQq.js → CnUYevzhUJYNqLad.js} +1 -1
  55. package/assets/{pg0OaBJVRnW7uSz5.js → CndRpNCcV89ncnqz.js} +1 -1
  56. package/assets/{rejXA2fTAujW3QRv.js → CpyybSV2kR6b-SIB.js} +579 -569
  57. package/assets/{DsK1Adz0vo-1zPkp.js → CqP4H_-kRRjcxO91.js} +1 -1
  58. package/assets/{CVlsdN5C8QL-Kljv.js → CrTLWpsRNBSyTLor.js} +1 -1
  59. package/assets/{C1xe-BzKWT17OO8a.js → CtlrxXVgZDIOcuc1.js} +14 -14
  60. package/assets/{D1HLIgumuUqrSyYB.js → CwrOCbcS4IHLsERQ.js} +4 -4
  61. package/assets/{BM9zwvBRXNbO_uD-.js → Cx1bc-Dsja7W3GlB.js} +2 -2
  62. package/assets/{BbsMdXiRzPW9BCEK.js → CyhngJo16o7G18lq.js} +1 -1
  63. package/assets/{BAqvmoeYqG6dwX3I.js → CzoRlNMlpFz4iax3.js} +2 -2
  64. package/assets/{DnQM29yv6KQQOVfl.js → D-PYDPXobSWiPh1D.js} +2 -2
  65. package/assets/{H89MX09YsAj7NAk3.js → D5O3m16KeyU_oXqH.js} +1 -1
  66. package/assets/{DwqgvpYiTLOQd5wm.js → D5PpcRuJYSv0i2y9.js} +2 -2
  67. package/assets/{DITcEcZJ58z5yOx7.js → D60N4r1a2YsNEwqj.js} +1 -1
  68. package/assets/{VcTnn2qw_4tmyctb.js → D7oYfHgO0kEqAnPV.js} +1 -1
  69. package/assets/{C27330XswujHKrLu.js → DACd4ZjYwzNE7Koc.js} +1 -1
  70. package/assets/{CDKZI2IIZ9boo7zG.js → DAliB9N1z6qnw4NO.js} +1 -1
  71. package/assets/{DjbBTiei0H-BIJaN.js → DIAQ_WlBCWhgHt-z.js} +1 -1
  72. package/assets/{I-GZ5PL9n_Sv5yAJ.js → DJ2jlogB1DWlGM-J.js} +1 -1
  73. package/assets/{NEzc406_2k2MuiE3.js → DKKLWACR9GsidnkS.js} +2 -2
  74. package/assets/{BrgptoFtJepXL46Z.js → DL7_uGw6KiZhlvR8.js} +1 -1
  75. package/assets/{ChpUbgXIWuQFoXyL.js → DL8wUEe2Kx7bjDYP.js} +1 -1
  76. package/assets/{C8huq6_Gvbeyf6Zy.js → DLuQ_rdu0XjYF7Jq.js} +2 -2
  77. package/assets/{D9F0224gK4j4Iuq9.js → DN1RRp4qQfCq3JAO.js} +1 -1
  78. package/assets/{BRiLNigzVwOBIxBy.js → DPjWOMoJ-elAAOmS.js} +1 -1
  79. package/assets/{I_yb1hhLA5bYPpWx.js → DSyZaCML62gSnudE.js} +1 -1
  80. package/assets/DU2Dzzu0oY_eDN6i.js +14 -0
  81. package/assets/{QMCI00ZCedkNJd8C.js → DUytcsu0MV3GnsrM.js} +1 -1
  82. package/assets/{BtiRDaBbNpPpKelt.js → DV3PnM9lo0AW-YOA.js} +3 -3
  83. package/assets/{CXb2mlCk1s1VFPHU.js → DXmebUOAhtW4V6BO.js} +531 -531
  84. package/assets/{Q2j8yQZX1kL_MbbB.js → DZt1ONN8CTTfmHGn.js} +606 -606
  85. package/assets/{AGdlSbOsXWO1oZAE.js → Dawi8y7JWn6A9gAx.js} +1 -1
  86. package/assets/{D7WSYqvuwNQjOIuO.js → DbbNJyL67KdOK7nc.js} +1 -1
  87. package/assets/{BVDaUnmVOSaDw9e3.js → DcO0gub7cRKVw4xB.js} +1 -1
  88. package/assets/{DP-m2vK0GTaYqQZM.js → DfBERTJjS9LP0RSp.js} +1 -1
  89. package/assets/{B8NDzDM0Gpwmkylq.js → Dg5QmWm0uBTEjZy4.js} +1 -1
  90. package/assets/{_l84VPWmScznS-9F.js → DgLQfXTWavoBetna.js} +5 -5
  91. package/assets/{CC2hfzradb2KOvtU.js → DiJexWBIzdGj1H0H.js} +1 -1
  92. package/assets/{D-INtJnS1lCrEs8s.js → DoP6myQHGI-X1gNy.js} +76 -76
  93. package/assets/{DRiAktGToP73uwgm.js → Dol52NFQzLCbObuC.js} +201 -201
  94. package/assets/{BWqKV3QuZX31WPsa.js → DrKr8dXQEQ3Aukmt.js} +1 -1
  95. package/assets/{B8URptQcztz4DRvS.js → DtETpSxSR8C1voac.js} +38 -38
  96. package/assets/{Cg05U6rbXUnaz0rA.js → DuQU8JjPLBIK804w.js} +34 -34
  97. package/assets/{CmUz8bVbJgWVT-OB.js → DvkBNkPyR5kuS0Uo.js} +2 -2
  98. package/assets/{ChwSFUzi5mMzUwdW.js → E-KM5RFByUxjlkId.js} +6 -6
  99. package/assets/{-NFft0E2Wj6WH3X9.js → KMTTqSwDthnXnD4F.js} +1 -1
  100. package/assets/{C1ZP9W2tiVQUwLqZ.js → KhdF512BKcJXZMvq.js} +1 -1
  101. package/assets/{CcaH1FoDC8o3dzqp.js → L9RIicOHtZd2Rx8g.js} +1 -1
  102. package/assets/{Dzxe5kLF5GOfh0_l.js → MzfM7zDcnyOFK1lK.js} +1 -1
  103. package/assets/{BtjG4s0StUieGI5b.js → NDe-uS1n_Q7u1H3m.js} +3 -3
  104. package/assets/{BABP2ffkRrOs7_Ym.js → PVGDjdR9C4stMNpM.js} +1 -1
  105. package/assets/{DBgOeiZg40MS63pB.js → PiFW6uPRJABzK3V1.js} +1174 -1176
  106. package/assets/{B_n6s7Kj4_5BWn1q.js → WH1Vl-MDWX3vSMn1.js} +2 -2
  107. package/assets/{DjCHmGw-ixoQ6ZTA.js → WuKVkvMPAOmRaCDY.js} +2 -2
  108. package/assets/{bpjLDXWxL6nDt4Mv.js → YtxPcFPURJF6CxWu.js} +1 -1
  109. package/assets/{FOKynZCiA0wU2Spf.js → a9lvcAd7rWsWSWAo.js} +1 -1
  110. package/assets/{B4Z_YneQya9mUTN5.js → aTxgpOOxLenli4af.js} +1 -1
  111. package/assets/{BJo3edG_rqch-Kw2.js → bsnhRuD-K-qhW-y5.js} +70 -70
  112. package/assets/{CPmMYI4DPQcXrZ-g.js → dep8oZGwBmUpxjHl.js} +1 -1
  113. package/assets/{raa4clZOm0L5A0zR.js → f_dBJuakO_BJ7Tvm.js} +504 -504
  114. package/assets/{CBqpH_MpBSmQRaGE.js → gver5Sz7ZO6ZyrOi.js} +1 -1
  115. package/assets/{BEOwJnsyIuMC4SaI.js → jKIDENA_QP4bEX49.js} +4 -4
  116. package/assets/{B_RppF41PrYlelc_.js → q1rCdlJA6Z7tA6om.js} +1 -1
  117. package/assets/{4-DOIpV6Hjaymwy7.js → qjyVXZeVSr_qZfX5.js} +2 -2
  118. package/assets/{Deu2acNFlgo__Mcd.js → sIWsnPhnHm_MeeM9.js} +2 -2
  119. package/assets/{B1l0k4ErELObdQKE.js → t4qTfgdlstczTs2z.js} +21 -21
  120. package/assets/{rhT64BvdSLOEwglQ.js → wKkW4LO-iUp92LVC.js} +1 -1
  121. package/index.js +160 -160
  122. package/lib.js +1 -1
  123. package/licenses/dependencies.txt +91 -91
  124. package/package.json +4 -4
  125. package/screenshot-page/assets/{CFl15-2FAF9f3V7L.js → 0UZBKpOOsp7P-DkP.js} +2 -2
  126. package/screenshot-page/assets/37LAUhU1_yKtsBlH.js +2 -0
  127. package/screenshot-page/assets/B2PWru6Ty7ODc2Ie.js +1 -0
  128. package/screenshot-page/assets/B3c6NBI22E5SZWG-.js +1 -0
  129. package/screenshot-page/assets/B3yyoGGGl8ICyeoC.js +39 -0
  130. package/screenshot-page/assets/B56KxTxcAXDom0g4.js +13 -0
  131. package/screenshot-page/assets/{BtydzT-AjL_LBr8x.js → BAxPBeFudRJ3OqIC.js} +1 -1
  132. package/screenshot-page/assets/{1s5we6Eqz8n3o0X_.js → BJct69niPZc8L_gZ.js} +1 -1
  133. package/screenshot-page/assets/BPMQ22uISGOm3ymr.js +1 -0
  134. package/screenshot-page/assets/{Yz4ksf-M05RGdHO3.js → BT2nkqpteSR9booH.js} +1 -1
  135. package/screenshot-page/assets/{DHUomRu_S2zcBWwt.js → BTKdl-XR9TlWaFe7.js} +3 -3
  136. package/screenshot-page/assets/{BEwl-ucV9Jfr0RoC.js → Bdb0azxGoCh6NBDk.js} +1 -1
  137. package/screenshot-page/assets/{p9abCAJQdpScjZVK.js → Be1S5czBx0lxhYLW.js} +1 -1
  138. package/screenshot-page/assets/Bh2DVAOWvWfylt77.js +1 -0
  139. package/screenshot-page/assets/BjJ_nnNDZEPLpapa.js +1 -0
  140. package/screenshot-page/assets/{CxithxkenssFkfTT.js → Bml69dFBVggmVWda.js} +21 -21
  141. package/screenshot-page/assets/BoiQQ-37KQn6NcLT.js +1 -0
  142. package/screenshot-page/assets/{Z7Av7oqfaK7wy7Eb.js → C-n8BDiksNjX6Orz.js} +1 -1
  143. package/screenshot-page/assets/C5-sm7wuk62Nzm_p.js +1 -0
  144. package/screenshot-page/assets/C9a-cNha8mBw5q-l.js +1 -0
  145. package/screenshot-page/assets/CAQ7QWes7j7Fq8o5.js +2 -0
  146. package/screenshot-page/assets/{zFbb8ESzwR_bE7IQ.js → CBP4y6KFPu24xhDT.js} +1 -1
  147. package/screenshot-page/assets/{CzZu7Fd_VeHHL-4i.js → CEL5lzj2NDYwJ-HC.js} +1 -1
  148. package/screenshot-page/assets/CGx-ZSMV9cPOzbu4.js +2 -0
  149. package/screenshot-page/assets/CI3Z1f4amZ9G2rPD.js +5 -0
  150. package/screenshot-page/assets/{CXGgKVbVXjWzE0p6.js → CQ-33-es3XJ56pR4.js} +1 -1
  151. package/screenshot-page/assets/{BftXEPOuf5Uwxpud.js → CaOsWPeN_FXseSNg.js} +1 -1
  152. package/screenshot-page/assets/CaP_vH0sJFjNrSkW.js +1 -0
  153. package/screenshot-page/assets/{CBuH_YHDn7A9E_hX.js → Cbbl3H042tb0krfe.js} +2 -2
  154. package/screenshot-page/assets/{Bozva6Wr4B8Q5QZN.js → CcVllJMjVF6SvVVq.js} +2 -2
  155. package/screenshot-page/assets/{Bdt92xZzFotX0vdt.js → Ce8b0lOBuWKlfLzJ.js} +1 -1
  156. package/screenshot-page/assets/Cengqc8q8BTmNfb_.js +1 -0
  157. package/screenshot-page/assets/{nM1r2xslndIMKlI2.js → CiFaOHqsDQTE4RRi.js} +1 -1
  158. package/screenshot-page/assets/Cv0zGWEBpmC07Jps.js +1 -0
  159. package/screenshot-page/assets/CyfTQE0Z76Rp4Fbt.js +586 -0
  160. package/screenshot-page/assets/D2CxEHjkPQMAxzWl.js +1 -0
  161. package/screenshot-page/assets/D4hvW_TF7vwc-Xlq.js +2 -0
  162. package/screenshot-page/assets/{CtS8qZB4_3skg_zL.js → D7Y0npF3FMsGUjgO.js} +1 -1
  163. package/screenshot-page/assets/DACSL7FA_J91Z_H7.js +2 -0
  164. package/screenshot-page/assets/{COpZTXe_J1mSpeYD.js → DEAD_MduPNVoT_T6.js} +1 -1
  165. package/screenshot-page/assets/{D4VgxwLDPUfCxPS9.js → DMbFr7oWja7Qpsm6.js} +2 -2
  166. package/screenshot-page/assets/{CV9T0juyAiRmwTR-.js → DVQnEWIisXaOXb_G.js} +2 -2
  167. package/screenshot-page/assets/{CwutTi2EnNm_hyVj.js → DXbOBAxx4_2rt5KM.js} +1 -1
  168. package/screenshot-page/assets/DgLZb-StwCd9ftop.js +1 -0
  169. package/screenshot-page/assets/Dkf51CnZh2zPEGMd.js +1 -0
  170. package/screenshot-page/assets/DrnzLCa7NIirMxno.js +3 -0
  171. package/screenshot-page/assets/{bdWMVOcMKRI8kCDE.js → DtQFcMvZesaQ4xRf.js} +1 -1
  172. package/screenshot-page/assets/DvRXbyteeo_8sy8T.js +1 -0
  173. package/screenshot-page/assets/EOw6vVvEfYNga9b4.js +1 -0
  174. package/screenshot-page/assets/{CZq2dMHs2MHHyyBl.js → FcTM4SB17cEX1M3X.js} +1 -1
  175. package/screenshot-page/assets/{B5ujsbfF1ZBkPI4d.js → JM0_BaBZ3yF6lnHC.js} +2 -2
  176. package/screenshot-page/assets/{9WplgXo__vp3e1Su.js → ONNSfQ8RDOqBDsvw.js} +2 -2
  177. package/screenshot-page/assets/{CXUO3vYip3JPSJ7A.js → YH1wNXzhQbkuWxeS.js} +1 -1
  178. package/screenshot-page/assets/_zzVe2R8R4vwuc5q.js +48 -0
  179. package/screenshot-page/assets/{-cpi3yOZYn6GsYN4.js → gU2zeJaXoNh7QI_e.js} +2 -2
  180. package/screenshot-page/index.html +16 -16
  181. package/types/scripting-api.json +7064 -7062
  182. package/types/scripting.d.ts +34 -9
  183. package/assets/DrgkN0g7OHuD4iD6.js +0 -14
  184. package/screenshot-page/assets/B2oadmu_j6WfNbZ1.js +0 -1
  185. package/screenshot-page/assets/BEzCH6tp_dlxe7BH.js +0 -1
  186. package/screenshot-page/assets/BJvuevnsIw3DXQds.js +0 -2
  187. package/screenshot-page/assets/BLON9pILfrgdZqAM.js +0 -5
  188. package/screenshot-page/assets/BVx7CEdRItIR30Fz.js +0 -1
  189. package/screenshot-page/assets/Ble2ESZnJzZnd3cc.js +0 -1
  190. package/screenshot-page/assets/Blg5f-jAtZfGnZ71.js +0 -1
  191. package/screenshot-page/assets/Brp37MPC60tt9V3N.js +0 -1
  192. package/screenshot-page/assets/Bs65RHirk11sxOB9.js +0 -39
  193. package/screenshot-page/assets/Bu5h0ACtvNxDBmqw.js +0 -1
  194. package/screenshot-page/assets/BwFvwFIcX0dmcBt7.js +0 -1
  195. package/screenshot-page/assets/C0rOvlmOfLDpClJ_.js +0 -1
  196. package/screenshot-page/assets/CHZ1925OpIa8ssZn.js +0 -1
  197. package/screenshot-page/assets/CN3dPtUjDVvcnA4e.js +0 -1
  198. package/screenshot-page/assets/COO3CwHTbCgxybBd.js +0 -1
  199. package/screenshot-page/assets/CR8Rj_GpSbIqbaEO.js +0 -13
  200. package/screenshot-page/assets/ClC7zkHPp6egPrjL.js +0 -2
  201. package/screenshot-page/assets/CzijGQrSoteeqwmH.js +0 -2
  202. package/screenshot-page/assets/DG6q1MKITeSM4XMx.js +0 -1
  203. package/screenshot-page/assets/DHTXoT_pArB1opyI.js +0 -48
  204. package/screenshot-page/assets/DP2wwd1IM_gQtEaG.js +0 -1
  205. package/screenshot-page/assets/DQeIWKasFD3DnWL7.js +0 -586
  206. package/screenshot-page/assets/DuYb_otrRZZDq6-f.js +0 -2
  207. package/screenshot-page/assets/Ja-xcEStEdmh2Gwb.js +0 -2
  208. package/screenshot-page/assets/ODq-dKb9mTtqEIJl.js +0 -1
  209. package/screenshot-page/assets/VF7dro9jrDEAX6kD.js +0 -3
  210. package/screenshot-page/assets/kJwY8fmEeWlAtTAc.js +0 -1
@@ -1,15 +1,15 @@
1
1
  /**
2
- * @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.21
2
+ * @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.23
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
- import { r as e } from "./CBqpH_MpBSmQRaGE.js";
8
- import { B as t, D as s, I as r, J as i, S as o, T as n, Z as a, bt as l, ct as h, ht as c, i as u, ot as d, p as g, tt as _, u as f, xt as m } from "./DjbBTiei0H-BIJaN.js";
9
- import { a as p, c as w, s as y } from "./BAqvmoeYqG6dwX3I.js";
10
- import { At as S, C as b, E as k, F as C, G as v, I, Jt as R, L as N, U as O, Ut as x, Vt as E, Xt as L, Y as V, bt as A, ht as T, lt as P, qt as F, ut as B, v as W } from "./CB9TsE5n0FEyFnAz.js";
11
- import { f as M, u as j } from "./D5mfuGSeGXSDHj9-.js";
12
- import { A as D, An as H, Br as z, Bt as $, C as U, D as J, Ei as q, Er as K, Et as G, Fi as X, Ga as Z, Gi as Q, H as Y, Ha as ee, I as te, Ii as se, Ir as re, Ki as ie, M as oe, Mr as ne, N as ae, Nn as le, Nr as he, Oi as ce, Ot as ue, Pt as de, Qi as ge, Rn as _e, Rr as fe, Ti as me, Tr as pe, Xa as we, Xn as ye, _ as Se, ba as be, bn as ke, c as Ce, ca as ve, cr as Ie, ct as Re, d as Ne, da as Oe, do as xe, ei as Ee, ga as Le, gr as Ve, h as Ae, ho as Te, ii as Pe, io as Fe, jn as Be, jr as We, k as Me, ki as je, mi as De, nr as He, oi as ze, on as $e, or as Ue, r as Je, ra as qe, rr as Ke, si as Ge, tr as Xe, uo as Ze, vi as Qe, vn as Ye, vr as et, vt as tt, xr as st, yn as rt, za as it } from "./Vo34QvIefEN595xl.js";
7
+ import { r as e } from "./gver5Sz7ZO6ZyrOi.js";
8
+ import { B as t, D as s, I as r, J as i, S as o, T as n, Z as a, bt as l, ct as h, ht as c, i as u, ot as d, p as g, tt as _, u as f, xt as m } from "./DIAQ_WlBCWhgHt-z.js";
9
+ import { a as p, c as w, s as y } from "./CzoRlNMlpFz4iax3.js";
10
+ import { At as S, C as b, E as k, F as C, G as v, I, Jt as R, L as N, U as O, Ut as x, Vt as E, Xt as V, Y as L, bt as A, ht as T, lt as P, qt as F, ut as B, v as W } from "./BomatnedZsGMF7MW.js";
11
+ import { f as j, u as M } from "./BI8kb-rd9dW85XJs.js";
12
+ import { Ai as D, Cr as z, Et as H, G as $, Ga as U, Ha as J, Ii as q, Ir as K, Ki as G, Ln as X, Ma as Z, Nn as Q, Oa as Y, Ot as ee, Pt as te, Qt as se, Ri as re, Rn as ie, Rr as oe, Sa as ne, Sn as ae, Sr as le, T as he, Ti as ce, Un as ue, V as de, Wr as ge, Y as _e, Yn as fe, _ as me, _i as pe, aa as we, ao as ye, at as Se, ba as be, ca as ke, cn as Ce, co as ve, ct as Ie, di as Re, do as Ne, ea as Oe, ei as xe, fi as Ee, gi as Ve, gn as Le, ht as Ae, ii as Te, ji as Pe, jn as Fe, k as Be, kn as We, kr as je, l as Me, lo as De, lr as ze, mi as He, mt as $e, nr as Ue, pa as Je, r as qe, ra as Ke, si as Ge, to as Xe, tt as Ze, u as Qe, ua as Ye, vi as et, w as tt, za as st, zi as rt, zn as it } from "./Cl04_aSpBHTwfsQR.js";
13
13
  var ot, nt, at = class extends r {
14
14
  constructor(e, t = 50) {
15
15
  super(t), this._transactions = e, this._floorId = e ? e.getCurrentCommit(!1).getId() : null, this._removeListener = e?.addListener({ onCommitChange: () => this._notifyOnStackChange() });
@@ -172,7 +172,7 @@ var ut = class e {
172
172
  getName() {
173
173
  if (null !== this._name && void 0 !== this._name) return this._name;
174
174
  const e = this._cleanPath();
175
- return e && Ke(e) || null;
175
+ return e && fe(e) || null;
176
176
  }
177
177
  getPath() {
178
178
  return this._path;
@@ -272,7 +272,7 @@ var ut = class e {
272
272
  }
273
273
  switch (n) {
274
274
  case "file": {
275
- const e = s, r = e?.name, n = r ? `${Ke(r)}` : "";
275
+ const e = s, r = e?.name, n = r ? `${fe(r)}` : "";
276
276
  a = await e.arrayBuffer(), l = {
277
277
  format: o,
278
278
  ext: ce(r),
@@ -327,7 +327,7 @@ var ut = class e {
327
327
  a = s, l = {
328
328
  format: o,
329
329
  ext: d,
330
- name: Ke(u, !0),
330
+ name: fe(u, !0),
331
331
  absolutePath: u
332
332
  };
333
333
  } catch (e) {
@@ -510,7 +510,7 @@ var wt, yt, St, bt, kt = {
510
510
  [Ct.Neutral]: f("style.builtin.neutral"),
511
511
  [Ct.ExplanatoryText]: f("style.builtin.explanatoryText")
512
512
  }, It = f("style.builtin.heading"), Rt = f("style.builtin.accent"), Nt = f("style.builtin.accentTint"), Ot = /^Heading ([1-4])$/, xt = /^Accent([1-6])$/, Et = /^(20|40|60)% - Accent([1-6])$/;
513
- function Lt(e) {
513
+ function Vt(e) {
514
514
  const t = vt[e];
515
515
  if (t) return { key: t };
516
516
  let s = Ot.exec(e);
@@ -528,7 +528,7 @@ function Lt(e) {
528
528
  }
529
529
  } : null));
530
530
  }
531
- var Vt, At = (e, t, s, r, i) => {
531
+ var Lt, At = (e, t, s, r, i) => {
532
532
  const o = JSON.parse(JSON.stringify(e.definition));
533
533
  o.adjs || (o.adjs = []);
534
534
  let n = "", a = 0, l = 0;
@@ -593,7 +593,7 @@ var Vt, At = (e, t, s, r, i) => {
593
593
  var Tt = null;
594
594
  function Pt() {
595
595
  if (!Tt) {
596
- const e = import("./DBgOeiZg40MS63pB.js").then(({ initializeFunctions: e }) => {
596
+ const e = import("./PiFW6uPRJABzK3V1.js").then(({ initializeFunctions: e }) => {
597
597
  const t = e(() => null);
598
598
  return Object.freeze(Array.from(t.keys()));
599
599
  });
@@ -604,11 +604,11 @@ function Pt() {
604
604
  return Tt;
605
605
  }
606
606
  function Ft(e) {
607
- return Ae.peek()?.readFormulaLiteral(e);
607
+ return tt.peek()?.readFormulaLiteral(e);
608
608
  }
609
609
  function Bt(e, t) {
610
610
  const s = Wt(e), r = Wt(t);
611
- return s !== r ? s - r : e === t ? 0 : "number" == typeof e && "number" == typeof t ? e < t ? -1 : 1 : "string" == typeof e && "string" == typeof t ? e < t ? -1 : e > t ? 1 : 0 : "boolean" == typeof e ? e ? 1 : -1 : j.isError(e) && j.isError(t) ? e.getCode() - t.getCode() : 0;
611
+ return s !== r ? s - r : e === t ? 0 : "number" == typeof e && "number" == typeof t ? e < t ? -1 : 1 : "string" == typeof e && "string" == typeof t ? e < t ? -1 : e > t ? 1 : 0 : "boolean" == typeof e ? e ? 1 : -1 : M.isError(e) && M.isError(t) ? e.getCode() - t.getCode() : 0;
612
612
  }
613
613
  function Wt(e) {
614
614
  if (null === e) return 0;
@@ -616,18 +616,18 @@ function Wt(e) {
616
616
  case "number": return 1;
617
617
  case "string": return 2;
618
618
  case "boolean": return 3;
619
- default: return j.isError(e) ? 4 : 5;
619
+ default: return M.isError(e) ? 4 : 5;
620
620
  }
621
621
  }
622
622
  (function(e) {
623
623
  function t(e) {
624
- return Ae.peek()?.getFunctionDeclaration(e) ?? null;
624
+ return tt.peek()?.getFunctionDeclaration(e) ?? null;
625
625
  }
626
626
  e.get = t, e.has = function(e) {
627
627
  return null !== t(e);
628
628
  };
629
- })(Vt || (Vt = {}));
630
- var Mt, jt = class {
629
+ })(Lt || (Lt = {}));
630
+ var jt, Mt = class {
631
631
  constructor(e) {
632
632
  this._children = e;
633
633
  }
@@ -675,19 +675,19 @@ var Mt, jt = class {
675
675
  const s = t[e].getSortedNumbers().getValues();
676
676
  s.length > 0 && r.push(s);
677
677
  }
678
- e = new Be(function(e) {
678
+ e = new $e(function(e) {
679
679
  const t = e.length;
680
680
  if (0 === t) return Dt;
681
681
  if (1 === t) return e[0];
682
682
  let s = e[0];
683
- for (let r = 1; r < t; r++) s = Ht(s, e[r]);
683
+ for (let r = 1; r < t; r++) s = zt(s, e[r]);
684
684
  return Object.freeze(s);
685
685
  }(r)), this._sortedNumbers = e;
686
686
  }
687
687
  return e;
688
688
  }
689
689
  getRanked(e) {
690
- return ae(this._children, e, Bt)[Symbol.iterator]();
690
+ return te(this._children, e, Bt)[Symbol.iterator]();
691
691
  }
692
692
  getFrequencies(e) {
693
693
  if (e) return this._mergeFrequencies(e);
@@ -695,7 +695,7 @@ var Mt, jt = class {
695
695
  return t || (t = this._mergeFrequencies(), this._frequencies = t), t;
696
696
  }
697
697
  _mergeFrequencies(e) {
698
- const t = e?.keyFn ?? Z, s = e?.limit, r = /* @__PURE__ */ new Map(), i = this._children, o = i.length;
698
+ const t = e?.keyFn ?? xe, s = e?.limit, r = /* @__PURE__ */ new Map(), i = this._children, o = i.length;
699
699
  let n = 0, a = 0, l = !1;
700
700
  for (let h = 0; h < o; h++) {
701
701
  const o = i[h].getFrequencies(e);
@@ -710,22 +710,22 @@ var Mt, jt = class {
710
710
  }) : l = !0, u = c.next();
711
711
  }
712
712
  }
713
- return J.fromGroups(r, t, e, Bt, n, a, l);
713
+ return $.fromGroups(r, t, e, Bt, n, a, l);
714
714
  }
715
715
  getTypedCounts(e) {
716
716
  let t = this._typedCounts;
717
717
  if (!t) {
718
718
  const e = {
719
- [M.Number]: 0,
720
- [M.String]: 0,
721
- [M.Boolean]: 0,
722
- [M.Error]: 0,
723
- [M.RichData]: 0,
724
- [M.Null]: 0
719
+ [j.Number]: 0,
720
+ [j.String]: 0,
721
+ [j.Boolean]: 0,
722
+ [j.Error]: 0,
723
+ [j.RichData]: 0,
724
+ [j.Null]: 0
725
725
  }, s = this._children, r = s.length;
726
726
  for (let t = 0; t < r; t++) {
727
727
  const r = s[t].getTypedCounts();
728
- e[M.Number] += r[M.Number] ?? 0, e[M.String] += r[M.String] ?? 0, e[M.Boolean] += r[M.Boolean] ?? 0, e[M.Error] += r[M.Error] ?? 0, e[M.RichData] += r[M.RichData] ?? 0, e[M.Null] += r[M.Null] ?? 0;
728
+ e[j.Number] += r[j.Number] ?? 0, e[j.String] += r[j.String] ?? 0, e[j.Boolean] += r[j.Boolean] ?? 0, e[j.Error] += r[j.Error] ?? 0, e[j.RichData] += r[j.RichData] ?? 0, e[j.Null] += r[j.Null] ?? 0;
729
729
  }
730
730
  t = Object.freeze(e), this._typedCounts = t;
731
731
  }
@@ -746,12 +746,12 @@ var Mt, jt = class {
746
746
  sum: 0,
747
747
  sumSq: 0,
748
748
  typed: {
749
- [M.Number]: 0,
750
- [M.String]: 0,
751
- [M.Boolean]: 0,
752
- [M.Error]: 0,
753
- [M.RichData]: 0,
754
- [M.Null]: 0
749
+ [j.Number]: 0,
750
+ [j.String]: 0,
751
+ [j.Boolean]: 0,
752
+ [j.Error]: 0,
753
+ [j.RichData]: 0,
754
+ [j.Null]: 0
755
755
  }
756
756
  };
757
757
  for (let i = 0; i < s; i++) {
@@ -760,10 +760,10 @@ var Mt, jt = class {
760
760
  const o = s.numericalCount;
761
761
  o <= 0 || (r.numericalCount += o, r.sum += s.sum, r.sumSq += s.varP * o + s.sum * s.sum / o, (void 0 === r.min || s.min < r.min) && (r.min = s.min), (void 0 === r.max || s.max > r.max) && (r.max = s.max));
762
762
  }
763
- return ee(r);
763
+ return Re(r);
764
764
  }
765
765
  }, Dt = Object.freeze([]);
766
- function Ht(e, t) {
766
+ function zt(e, t) {
767
767
  const s = e.length, r = t.length, i = new Array(s + r);
768
768
  let o = 0, n = 0, a = 0;
769
769
  for (; o < s && n < r;) i[a++] = e[o] <= t[n] ? e[o++] : t[n++];
@@ -771,14 +771,14 @@ function Ht(e, t) {
771
771
  for (; n < r;) i[a++] = t[n++];
772
772
  return i;
773
773
  }
774
- var zt, $t = class e {
774
+ var Ht, $t = class e {
775
775
  constructor(e, t) {
776
776
  this._source = null, this._fresh = /* @__PURE__ */ new WeakSet(), this._unwatch = null, this.cacheId = e, this._store = t, this._fresh.add(t.get());
777
777
  }
778
778
  static dataOf(t, s) {
779
779
  const r = e.modelOf(t);
780
780
  return {
781
- part: ge.fromJSON(t.part, s),
781
+ part: qe.fromJSON(t.part, s),
782
782
  model: r,
783
783
  partFormats: !r && t.partFormats ? t.partFormats : null,
784
784
  source: !r && t.source ? t.source : null
@@ -820,7 +820,7 @@ var zt, $t = class e {
820
820
  if (this._source) return;
821
821
  const { ref: s, sheet: r, name: i } = this._sourceAsRead() ?? {};
822
822
  let o = null, n = null;
823
- if (s && r && !s.includes("#REF!") ? (o = e(r), n = `${xe(r)}!${Xe(s)}`) : !i || s || r ? i && r && !s && (o = e(r), n = `${xe(r)}!${i}`) : (o = t(i), n = `${i}[#All]`), !o || !n) return;
823
+ if (s && r && !s.includes("#REF!") ? (o = e(r), n = `${ie(r)}!${We(s)}`) : !i || s || r ? i && r && !s && (o = e(r), n = `${ie(r)}!${i}`) : (o = t(i), n = `${i}[#All]`), !o || !n) return;
824
824
  const a = {
825
825
  formula: null,
826
826
  wired: null,
@@ -874,17 +874,17 @@ var zt, $t = class e {
874
874
  if (null === t || t === e.wired) return null;
875
875
  const s = this._sourceAsRead();
876
876
  if (s?.name && s.sheet) {
877
- const e = ne(t)?.sheet;
877
+ const e = De(t)?.sheet;
878
878
  return e ? { sheet: e } : null;
879
879
  }
880
880
  const r = /^(.+)\[#All\]$/.exec(t)?.[1];
881
881
  if (r) return { name: r };
882
- const i = ne(t);
882
+ const i = De(t);
883
883
  return i ? {
884
884
  name: null,
885
- ref: Je(i.reference),
885
+ ref: Ue(i.reference),
886
886
  sheet: i.sheet
887
- } : { ref: Je(t) };
887
+ } : { ref: Ue(t) };
888
888
  }
889
889
  _getSource() {
890
890
  const e = this._sourceAsRead();
@@ -903,7 +903,7 @@ var zt, $t = class e {
903
903
  return t;
904
904
  }
905
905
  toJSON(e) {
906
- const t = { cacheId: this.cacheId }, s = ge.toJSON(this.part, e);
906
+ const t = { cacheId: this.cacheId }, s = qe.toJSON(this.part, e);
907
907
  if (s) {
908
908
  t.part = s;
909
909
  const e = this._store.get().partFormats;
@@ -948,7 +948,7 @@ var zt, $t = class e {
948
948
  get isIPerson() {
949
949
  return !0;
950
950
  }
951
- }, Jt = class extends ye {
951
+ }, Jt = class extends it {
952
952
  constructor(e) {
953
953
  super(), this._byId = /* @__PURE__ */ new Map(), this._byDisplayName = /* @__PURE__ */ new Map(), this._items = null, this._current = null, e && this.fromJSON(e);
954
954
  }
@@ -1032,22 +1032,22 @@ var zt, $t = class e {
1032
1032
  }
1033
1033
  }
1034
1034
  async createModule(e) {
1035
- const t = await (await import("./B_n6s7Kj4_5BWn1q.js")).ScriptCompiler.compile({
1035
+ const t = await (await import("./WH1Vl-MDWX3vSMn1.js")).ScriptCompiler.compile({
1036
1036
  builtInNames: this._builtInNames(),
1037
1037
  minify: !0,
1038
1038
  ...e
1039
1039
  });
1040
- return t.module ? await et(be.DEFAULT_MODULE, t.module, e?.declarationsOnly ?? !1, t.diagnostics) : null;
1040
+ return t.module ? await we(Y.DEFAULT_MODULE, t.module, e?.declarationsOnly ?? !1, t.diagnostics) : null;
1041
1041
  }
1042
1042
  addModule(e, t, s) {
1043
1043
  this._modules.add(e, t, s);
1044
1044
  }
1045
1045
  async addModuleFromJSON(e, t, s) {
1046
- const r = await et(e, t);
1046
+ const r = await we(e, t);
1047
1047
  return this.addModule(e, r, s), r;
1048
1048
  }
1049
1049
  async executeMacro(e, t, s) {
1050
- await U.assertUsable("scripts");
1050
+ await Ge.assertUsable("scripts");
1051
1051
  const r = this._modules.getItems({ name: t }), i = r.length;
1052
1052
  for (let t = 0; t < i; t++) {
1053
1053
  const i = r[t].getFunctions().getByName(e);
@@ -1060,8 +1060,8 @@ var zt, $t = class e {
1060
1060
  }
1061
1061
  async run(e, t) {
1062
1062
  try {
1063
- await U.assertUsable("scripts");
1064
- const s = "string" == typeof e ? await this.createModule({ source: e }) : await et(be.DEFAULT_MODULE, e), r = "string" == typeof e ? e : e?.source ?? "";
1063
+ await Ge.assertUsable("scripts");
1064
+ const s = "string" == typeof e ? await this.createModule({ source: e }) : await we(Y.DEFAULT_MODULE, e), r = "string" == typeof e ? e : e?.source ?? "";
1065
1065
  return await this._runModule(s, r, t);
1066
1066
  } catch (e) {
1067
1067
  return {
@@ -1143,7 +1143,7 @@ var zt, $t = class e {
1143
1143
  }
1144
1144
  if (!i || 0 === i.length) return c.EmptyArray;
1145
1145
  const n = e?.text ? e.text.trim().toUpperCase() : null;
1146
- return n ? Pe(i, n) : i.sort((e, t) => {
1146
+ return n ? q(i, n) : i.sort((e, t) => {
1147
1147
  const s = e.getName().toUpperCase(), r = t.getName().toUpperCase();
1148
1148
  return s < r ? -1 : s > r ? 1 : 0;
1149
1149
  }), void 0 !== s && i.length > s ? i.slice(0, s) : i;
@@ -1182,13 +1182,13 @@ var zt, $t = class e {
1182
1182
  for (let o = 0; o < r.length; o++) {
1183
1183
  const n = r[o], a = t[n];
1184
1184
  try {
1185
- s[n] = await et(n, a, !1, [], "workbook" === a?.scope ? e : null);
1185
+ s[n] = await we(n, a, !1, [], "workbook" === a?.scope ? e : null);
1186
1186
  } catch (e) {
1187
1187
  i.error(`Could not load script '${n}'; it will be unavailable.`, e);
1188
1188
  }
1189
1189
  }
1190
1190
  }
1191
- const r = this, o = new Te({
1191
+ const r = this, o = new ue({
1192
1192
  transactions: this._options?.transactions,
1193
1193
  initial: s,
1194
1194
  isReadOnly: () => r.isReadOnly(),
@@ -1238,7 +1238,7 @@ var zt, $t = class e {
1238
1238
  } finally {
1239
1239
  clearTimeout(i), r.abort();
1240
1240
  }
1241
- })(e, t)) throw new j.Blocked("This site is restricted: it doesn't allow web apps to read its data, so the browser blocked the request for security.", { cause: s });
1241
+ })(e, t)) throw new M.Blocked("This site is restricted: it doesn't allow web apps to read its data, so the browser blocked the request for security.", { cause: s });
1242
1242
  throw s;
1243
1243
  }
1244
1244
  }, Zt = class {
@@ -1334,14 +1334,14 @@ var zt, $t = class e {
1334
1334
  body: r
1335
1335
  };
1336
1336
  if (s.ok && r && r.byteLength > 0) {
1337
- const t = await new _e({ source: { buffer: r } }).getType();
1337
+ const t = await new ee({ source: { buffer: r } }).getType();
1338
1338
  t?.mime.startsWith("image/") ? (o.headers = i.filter(([e]) => "content-type" !== e.toLowerCase()), o.headers.push(["content-type", t.mime])) : this._cached.set(e, o);
1339
1339
  }
1340
1340
  return o;
1341
1341
  }
1342
1342
  }, ts = class {
1343
1343
  constructor(e, t, s, r) {
1344
- this._mergedReading = [], this._colsReading = [], this._rowsReading = [], this._styles = s, this._topLeft = t ?? d.EmptyCell, this._sheet = new Y({
1344
+ this._mergedReading = [], this._colsReading = [], this._rowsReading = [], this._styles = s, this._topLeft = t ?? d.EmptyCell, this._sheet = new Ae({
1345
1345
  runtime: e,
1346
1346
  styles: this._styles,
1347
1347
  calcOnLoad: "none",
@@ -1385,7 +1385,7 @@ var zt, $t = class e {
1385
1385
  let n = { value: void 0 !== t ? t : s ?? "" };
1386
1386
  if ("string" == typeof n.value && 0 === n.value.length && (n.value = void 0), o && this.applyCSSStyle(n, o), "string" == typeof n.value && /^#+$/.test(n.value)) {
1387
1387
  const e = n.style?.numberFormat;
1388
- e && (L(e) || B(e)) && (n.value = j.BuiltIn.Num);
1388
+ e && (V(e) || B(e)) && (n.value = M.BuiltIn.Num);
1389
1389
  }
1390
1390
  if ("TD" === i?.tagName.toUpperCase()) {
1391
1391
  let e = n.style, t = e?.font ?? {};
@@ -1437,9 +1437,9 @@ var zt, $t = class e {
1437
1437
  if ("userset" !== i.msoHeightSource) return;
1438
1438
  if (!r) return;
1439
1439
  let o = r.getAttribute("height") ?? i.height, n = null;
1440
- if (o && (n = V(o, this._styles.getNormal().getFont().getSize(), "px")), null === n) for (let e = 0; e < r.cells.length; e++) {
1440
+ if (o && (n = L(o, this._styles.getNormal().getFont().getSize(), "px")), null === n) for (let e = 0; e < r.cells.length; e++) {
1441
1441
  const t = r.cells[e], i = t.getAttribute("height") ?? s(t).height;
1442
- let o = V(i, this._styles.getNormal().getFont().getSize(), "px");
1442
+ let o = L(i, this._styles.getNormal().getFont().getSize(), "px");
1443
1443
  null !== o && (n = Math.max(o, n ?? 0));
1444
1444
  }
1445
1445
  null !== n && this._rowsReading.push({
@@ -1455,7 +1455,7 @@ var zt, $t = class e {
1455
1455
  if ("userset" !== i.msoWidthSource) return;
1456
1456
  if (!r) return;
1457
1457
  let o = r.getAttribute("width") ?? i.width, n = null;
1458
- o && (n = V(o, this._styles.getNormal().getFont().getSize(), "px")), null !== n && this._colsReading.push({
1458
+ o && (n = L(o, this._styles.getNormal().getFont().getSize(), "px")), null !== n && this._colsReading.push({
1459
1459
  address: {
1460
1460
  min: this._topLeft.colIndex + e,
1461
1461
  max: this._topLeft.colIndex + e + t - 1
@@ -1558,9 +1558,9 @@ var zt, $t = class e {
1558
1558
  console.warn("Discovered text as html table but could could not parse.");
1559
1559
  }
1560
1560
  try {
1561
- const r = new ts(this._runtime, this._topLeft, this._styles, s ? "HTML" : "Text"), i = await Promise.resolve(t ? Qe(t) : [[]]);
1561
+ const r = new ts(this._runtime, this._topLeft, this._styles, s ? "HTML" : "Text"), i = await Promise.resolve(t ? ne(t) : [[]]);
1562
1562
  let o;
1563
- if (Ne(s, i, r) ? (e = r.sheet(), o = e.getUsedRange()) : s = null, o) {
1563
+ if (le(s, i, r) ? (e = r.sheet(), o = e.getUsedRange()) : s = null, o) {
1564
1564
  const t = o.getSnapshot();
1565
1565
  return this._parsed = {
1566
1566
  prepare: (e, s) => t.prepare?.(e, s),
@@ -1619,11 +1619,11 @@ var zt, $t = class e {
1619
1619
  return this._assertOpen(), this._container.setName(e, t), this;
1620
1620
  }
1621
1621
  getVisibility() {
1622
- return this._closed ? re.Visibility.VeryHidden : this._container.getVisibility();
1622
+ return this._closed ? pe.Visibility.VeryHidden : this._container.getVisibility();
1623
1623
  }
1624
1624
  setVisibility(e = !0, t) {
1625
1625
  let s;
1626
- return this._assertOpen(), s = !0 === e ? re.Visibility.Visible : !1 === e ? re.Visibility.Hidden : e, this._container.setVisibility(s, t), this;
1626
+ return this._assertOpen(), s = !0 === e ? pe.Visibility.Visible : !1 === e ? pe.Visibility.Hidden : e, this._container.setVisibility(s, t), this;
1627
1627
  }
1628
1628
  getIndex() {
1629
1629
  return this._container.getIndex();
@@ -1691,7 +1691,7 @@ var zt, $t = class e {
1691
1691
  return !0;
1692
1692
  }
1693
1693
  };
1694
- (Mt || (Mt = {})).Visibility = {
1694
+ (jt || (jt = {})).Visibility = {
1695
1695
  Visible: "visible",
1696
1696
  Hidden: "hidden",
1697
1697
  VeryHidden: "veryHidden"
@@ -1707,7 +1707,7 @@ var os = {
1707
1707
  firstTab: 0,
1708
1708
  windowBounds: null,
1709
1709
  minimized: !1,
1710
- visibility: Mt.Visibility.Visible,
1710
+ visibility: jt.Visibility.Visible,
1711
1711
  autoFilterDateGrouping: !0
1712
1712
  }, ns = class {
1713
1713
  constructor(e) {
@@ -1831,7 +1831,7 @@ var os = {
1831
1831
  revision: !0,
1832
1832
  password: null,
1833
1833
  revisionsPassword: null
1834
- }), ls = class extends te {
1834
+ }), ls = class extends U {
1835
1835
  isWindowsAllowed() {
1836
1836
  return this._isPropertyAllowed("windows");
1837
1837
  }
@@ -1865,7 +1865,7 @@ var os = {
1865
1865
  return !0;
1866
1866
  }
1867
1867
  };
1868
- (zt || (zt = {})).Type = {
1868
+ (Ht || (Ht = {})).Type = {
1869
1869
  Number: "number",
1870
1870
  Boolean: "boolean",
1871
1871
  Date: "date",
@@ -1874,24 +1874,24 @@ var os = {
1874
1874
  };
1875
1875
  var hs = (e) => {
1876
1876
  if ("string" == typeof e) return {
1877
- type: zt.Type.String,
1877
+ type: Ht.Type.String,
1878
1878
  value: e
1879
1879
  };
1880
1880
  if ("boolean" == typeof e) return {
1881
- type: zt.Type.Boolean,
1881
+ type: Ht.Type.Boolean,
1882
1882
  value: e
1883
1883
  };
1884
1884
  if ("number" == typeof e) {
1885
1885
  if (!Number.isFinite(e)) throw new Error("A custom property value must be a finite number.");
1886
1886
  return {
1887
- type: Number.isInteger(e) && e >= -2147483648 && e <= 2147483647 ? zt.Type.Number : zt.Type.Float,
1887
+ type: Number.isInteger(e) && e >= -2147483648 && e <= 2147483647 ? Ht.Type.Number : Ht.Type.Float,
1888
1888
  value: e
1889
1889
  };
1890
1890
  }
1891
1891
  if (e instanceof Date) {
1892
1892
  if (isNaN(e.getTime())) throw new Error("A custom property value must be a valid date.");
1893
1893
  return {
1894
- type: zt.Type.Date,
1894
+ type: Ht.Type.Date,
1895
1895
  value: e.toISOString()
1896
1896
  };
1897
1897
  }
@@ -1911,7 +1911,7 @@ var hs = (e) => {
1911
1911
  }
1912
1912
  getValue() {
1913
1913
  const { type: e, value: t } = this._json;
1914
- return e === zt.Type.Date ? new Date(t) : t;
1914
+ return e === Ht.Type.Date ? new Date(t) : t;
1915
1915
  }
1916
1916
  setValue(e) {
1917
1917
  this._owner._assertCustomEditable(this), this._json = {
@@ -2051,7 +2051,7 @@ function _s(e, t) {
2051
2051
  function fs(e, t) {
2052
2052
  return "chart" === t ? g("error.workbook.selectedIsChart", { sheetName: e }) : "macro" === t ? g("error.workbook.selectedIsMacro", { sheetName: e }) : "dialog" === t ? g("error.workbook.selectedIsDialog", { sheetName: e }) : g("error.workbook.noWorksheet");
2053
2053
  }
2054
- var ms = class extends ye {
2054
+ var ms = class extends it {
2055
2055
  constructor(e, t, s, r) {
2056
2056
  super(), this._add = e, this._get = t, this._addListeners = s, this._getSelected = r;
2057
2057
  }
@@ -2089,9 +2089,9 @@ function ys(e) {
2089
2089
  }
2090
2090
  function Ss(e, t) {
2091
2091
  return {
2092
- ...We,
2092
+ ...ve,
2093
2093
  getWorksheet: () => null,
2094
- toString: () => qe(e, t)
2094
+ toString: () => ze(e, t)
2095
2095
  };
2096
2096
  }
2097
2097
  function bs(e, t = !1) {
@@ -2114,7 +2114,7 @@ function bs(e, t = !1) {
2114
2114
  }
2115
2115
  return e;
2116
2116
  }
2117
- var ks, Cs = "workbook.activeSheet", vs = class e extends z {
2117
+ var ks, Cs = "workbook.activeSheet", vs = class e extends Te {
2118
2118
  constructor(e, t, s, r) {
2119
2119
  super(e, t, r), this._workbook = s;
2120
2120
  }
@@ -2125,24 +2125,24 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
2125
2125
  let r = this._options;
2126
2126
  return s && (r = {
2127
2127
  ...this._options,
2128
- getOptions: K(this._options?.getOptions, s)
2128
+ getOptions: z(this._options?.getOptions, s)
2129
2129
  }), new e(t, this._internal, this._workbook, r);
2130
2130
  }
2131
2131
  _createRange(e, t) {
2132
- const s = e ? { ...e } : null, r = this._workbook, i = s ? r._getSheetRef(s.scope, re.Visibility.VeryHidden) : null;
2132
+ const s = e ? { ...e } : null, r = this._workbook, i = s ? r._getSheetRef(s.scope, pe.Visibility.VeryHidden) : null;
2133
2133
  if (i && !i.sheet.isIWorksheet) throw new _(_s(i.name, i.sheet.getKind()));
2134
2134
  if (!i) {
2135
2135
  const e = r._anchorWorksheet();
2136
2136
  return delete s?.scope, Ss(s, s ? {
2137
- scope: ke,
2137
+ scope: Qe,
2138
2138
  ...e.getEntireRange().getCoords()
2139
2139
  } : null);
2140
2140
  }
2141
2141
  let o = this._options;
2142
2142
  return t && (o = {
2143
2143
  ...this._options,
2144
- getOptions: K(this._options.getOptions, t)
2145
- }), new Is(e, we(i.sheet), this._workbook, o);
2144
+ getOptions: z(this._options.getOptions, t)
2145
+ }), new Is(e, D(i.sheet), this._workbook, o);
2146
2146
  }
2147
2147
  async select(e) {
2148
2148
  const t = [];
@@ -2168,15 +2168,15 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
2168
2168
  }
2169
2169
  getAddress(e) {
2170
2170
  const t = this._internal.getSheet(), s = t.getEntireRange().getCoords();
2171
- return fe(this.getCoords(), {
2171
+ return et(this.getCoords(), {
2172
2172
  ...s,
2173
2173
  scope: t.getName()
2174
- }, qe, Ie, e);
2174
+ }, ze, Se, e);
2175
2175
  }
2176
2176
  toString() {
2177
2177
  return this.getAddress();
2178
2178
  }
2179
- }, Is = class e extends st {
2179
+ }, Is = class e extends Xe {
2180
2180
  constructor(e, t, s, r) {
2181
2181
  super(e, t, r), this._workbook = s;
2182
2182
  }
@@ -2184,7 +2184,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
2184
2184
  let s = this._options;
2185
2185
  return t && (s = {
2186
2186
  ...this._options,
2187
- getOptions: K(this._options?.getOptions, t)
2187
+ getOptions: z(this._options?.getOptions, t)
2188
2188
  }), new vs(e, this._internal, this._workbook, s);
2189
2189
  }
2190
2190
  _createRange(t, s) {
@@ -2194,7 +2194,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
2194
2194
  let i = this._options;
2195
2195
  return s && (i = {
2196
2196
  ...this._options,
2197
- getOptions: K(this._options?.getOptions, s)
2197
+ getOptions: z(this._options?.getOptions, s)
2198
2198
  }), new e(t, this._internal, this._workbook, i);
2199
2199
  }
2200
2200
  addListener(e, t) {
@@ -2207,7 +2207,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
2207
2207
  }
2208
2208
  getAddress(e) {
2209
2209
  const t = this._internal.getSheet(), s = t?.getEntireRange().getCoords() ?? null;
2210
- return qe(this.getCoords(), {
2210
+ return ze(this.getCoords(), {
2211
2211
  ...s,
2212
2212
  scope: t.getName()
2213
2213
  });
@@ -2217,13 +2217,13 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
2217
2217
  }
2218
2218
  }, Rs = (e) => !!e && "object" == typeof e && "function" == typeof e.getOrigin, Ns = class {
2219
2219
  constructor(t) {
2220
- this._isLoadingSheets = !1, this._lastTransactionUUID = null, this._starting = null, this._closed = !1, this._listenerOriginProvider = null, this._listenerOrigin = null, this._lastOriginName = null, this._initializing = !0, this._pivotCaches = [], this._pivotTableCollection = new Ge(() => {
2220
+ this._isLoadingSheets = !1, this._lastTransactionUUID = null, this._starting = null, this._closed = !1, this._listenerOriginProvider = null, this._listenerOrigin = null, this._lastOriginName = null, this._initializing = !0, this._pivotCaches = [], this._pivotTableCollection = new re(() => {
2221
2221
  const e = [];
2222
- for (const t of this.getWorksheets().getItems({ visibility: re.Visibility.VeryHidden })) e.push(...t.getPivotTables());
2222
+ for (const t of this.getWorksheets().getItems({ visibility: pe.Visibility.VeryHidden })) e.push(...t.getPivotTables());
2223
2223
  return e;
2224
- }, (e, t) => this.doBatch(e, t)), this._people = new Jt(), this._commentCollection = new Ue(null, (e, t, s) => {
2224
+ }, (e, t) => this.doBatch(e, t)), this._people = new Jt(), this._commentCollection = new Fe(null, (e, t, s) => {
2225
2225
  const r = [];
2226
- for (const i of this.getWorksheets().getItems({ visibility: re.Visibility.VeryHidden })) r.push(...i.getComments().getItems(e ? {
2226
+ for (const i of this.getWorksheets().getItems({ visibility: pe.Visibility.VeryHidden })) r.push(...i.getComments().getItems(e ? {
2227
2227
  address: e,
2228
2228
  ignoreHidden: t,
2229
2229
  fullyContained: s
@@ -2240,19 +2240,19 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
2240
2240
  const s = "string" == typeof t ? { origin: t } : { ...t }, r = s.origin;
2241
2241
  this._ownOriginProvider = !Rs(r), this._originProvider = Rs(r) ? r : new ft("string" == typeof r ? new ut(null, { name: r }) : r ?? new ut(null)), delete s.origin, this._bindOrigin(this._originProvider.getOrigin()), this._listenerOriginProvider = this._originProvider.addListeners({ onOriginChange: () => this._onOriginChange() });
2242
2242
  const i = s.json;
2243
- delete s.json, this._transactions = s.transactions ?? new p(), this._id = this._transactions.create(), this._ownTransactions = !s.transactions, this._emitter = new y(this, this._transactions), this._runtime = s.runtime ?? new Me("Workbook Runtime", {
2243
+ delete s.json, this._transactions = s.transactions ?? new p(), this._id = this._transactions.create(), this._ownTransactions = !s.transactions, this._emitter = new y(this, this._transactions), this._runtime = s.runtime ?? new _e("Workbook Runtime", {
2244
2244
  isDate1904: () => this._isDate1904,
2245
2245
  getNow: () => this._transactions.getCurrentCommit().getTimestamp(),
2246
- getLocale: () => this._locale ?? Q() ?? Ee(),
2246
+ getLocale: () => this._locale ?? me() ?? st(),
2247
2247
  getLocaleOverrides: () => this._localeOverrides
2248
2248
  }), this._listenerLanguage = o.addChangeListener(() => {
2249
2249
  this._closed || this._notifyAllChange();
2250
2250
  });
2251
2251
  const n = this, a = this._beginCommit({ description: f(i ? "op.openWorkbook" : "op.newWorkbook") });
2252
2252
  try {
2253
- this._strings = s.strings ?? new G(), this._ownStrings = !s.strings, this._richValues = s.richData ?? new Oe(), this._resources = s.resources ?? new $e(), this._ownResources = !s.resources, this._fetch = new es(this._resources, s.fetcher ?? new Zt()), this._createSheetName = s.createSheetNameCallback ?? ys;
2253
+ this._strings = s.strings ?? new Ze(), this._ownStrings = !s.strings, this._richValues = s.richData ?? new He(), this._resources = s.resources ?? new ae(), this._ownResources = !s.resources, this._fetch = new es(this._resources, s.fetcher ?? new Zt()), this._createSheetName = s.createSheetNameCallback ?? ys;
2254
2254
  let t = s.createWorksheetCallback;
2255
- t || (t = (e) => new Y(e)), this._sheetOnNameChange = /* @__PURE__ */ new Map(), this._sheetOnVisibilityChange = /* @__PURE__ */ new Map(), this._sheetOnIndexChange = /* @__PURE__ */ new Map(), this._createSheet = (e, s, r, i, o, a, l) => {
2255
+ t || (t = (e) => new Ae(e)), this._sheetOnNameChange = /* @__PURE__ */ new Map(), this._sheetOnVisibilityChange = /* @__PURE__ */ new Map(), this._sheetOnIndexChange = /* @__PURE__ */ new Map(), this._createSheet = (e, s, r, i, o, a, l) => {
2256
2256
  let h = null;
2257
2257
  const c = {
2258
2258
  runtime: n._runtime,
@@ -2273,7 +2273,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
2273
2273
  h = t, n._addSheetRef({
2274
2274
  name: s,
2275
2275
  id: e,
2276
- visibility: r ?? re.Visibility.Visible,
2276
+ visibility: r ?? pe.Visibility.Visible,
2277
2277
  sheetId: o,
2278
2278
  sheet: t
2279
2279
  }, i);
@@ -2290,7 +2290,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
2290
2290
  },
2291
2291
  getVisibility: () => {
2292
2292
  const e = n._getSheetRef(h);
2293
- return e ? e.visibility : re.Visibility.Visible;
2293
+ return e ? e.visibility : pe.Visibility.Visible;
2294
2294
  },
2295
2295
  setVisibility: (e, t) => {
2296
2296
  n._setSheetVisibility(h, e, t);
@@ -2301,10 +2301,10 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
2301
2301
  duplicate: () => n._duplicateSheet(h),
2302
2302
  getIndex: () => {
2303
2303
  const e = n._getSheetRef(h);
2304
- return e ? n._getOffsetForId(e.id, n._getSheetRefs(re.Visibility.VeryHidden)) : i;
2304
+ return e ? n._getOffsetForId(e.id, n._getSheetRefs(pe.Visibility.VeryHidden)) : i;
2305
2305
  },
2306
2306
  setIndex: (e, t) => {
2307
- const s = n._getSheetRef(h, re.Visibility.VeryHidden);
2307
+ const s = n._getSheetRef(h, pe.Visibility.VeryHidden);
2308
2308
  return !!s && (n._moveSheet(s, e, t), !0);
2309
2309
  },
2310
2310
  setIndexCallback: (t) => {
@@ -2314,16 +2314,16 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
2314
2314
  }
2315
2315
  };
2316
2316
  return a && (c.json = a), void 0 !== l && (c.uid = () => l), h = t(c, s, i, r), h;
2317
- }, this._namedTableSource = new Ce({
2318
- getSheets: () => n._sheets ? n.getWorksheets().getItems({ visibility: re.Visibility.VeryHidden }) : c.EmptyArray,
2317
+ }, this._namedTableSource = new be({
2318
+ getSheets: () => n._sheets ? n.getWorksheets().getItems({ visibility: pe.Visibility.VeryHidden }) : c.EmptyArray,
2319
2319
  addSheetsListener: (e, t) => n.addListeners({ onSheetsChange: e }, t)
2320
- }), this._names = s.names ?? new me({
2320
+ }), this._names = s.names ?? new Ye({
2321
2321
  addressToRanges: (e) => n.getRanges(e),
2322
2322
  getCurrentScope: () => n.getSelectedWorksheet()?.getName() ?? null,
2323
2323
  isReadOnly: () => (n._options.readonly ?? !1) || n._isStructureProtected(),
2324
2324
  transactions: n._transactions,
2325
2325
  getSources: () => n._calculation ? [n._calculation.getNamedFormulas(), n._namedTableSource] : c.EmptyArray
2326
- }), this._ownNames = !s.names, this._calculation = s.calculation ?? new ze({
2326
+ }), this._ownNames = !s.names, this._calculation = s.calculation ?? new K({
2327
2327
  runtime: n._runtime,
2328
2328
  functions: s.functions,
2329
2329
  json: i?.calc,
@@ -2342,9 +2342,9 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
2342
2342
  getSheetIndex: (e) => {
2343
2343
  if (void 0 === e) {
2344
2344
  const e = n.getSelectedSheet();
2345
- return e ? this._getSheetRefs(re.Visibility.VeryHidden).findIndex((t) => t.sheet === e) : -1;
2345
+ return e ? this._getSheetRefs(pe.Visibility.VeryHidden).findIndex((t) => t.sheet === e) : -1;
2346
2346
  }
2347
- const t = this._getSheetRefs(re.Visibility.VeryHidden);
2347
+ const t = this._getSheetRefs(pe.Visibility.VeryHidden);
2348
2348
  e = e.toLowerCase();
2349
2349
  const s = t.length;
2350
2350
  for (let r = 0; r < s; r++) if (t[r].name.toLowerCase() === e) return r;
@@ -2354,7 +2354,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
2354
2354
  if (!t || 0 === t.length) return -1;
2355
2355
  let s = (t[0].getRanges?.()?.getCoords()?.[0])?.scope;
2356
2356
  if (!s) return -1;
2357
- const r = this._getSheetRefs(re.Visibility.VeryHidden);
2357
+ const r = this._getSheetRefs(pe.Visibility.VeryHidden);
2358
2358
  s = s.toLowerCase();
2359
2359
  const i = r.length;
2360
2360
  for (let e = 0; e < i; e++) if (r[e].name.toLowerCase() === s) return e;
@@ -2363,7 +2363,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
2363
2363
  }
2364
2364
  return -1;
2365
2365
  },
2366
- getSheetCount: () => n._getSheetRefs(re.Visibility.VeryHidden).length,
2366
+ getSheetCount: () => n._getSheetRefs(pe.Visibility.VeryHidden).length,
2367
2367
  externalBooks: i?.externalBooks,
2368
2368
  externalBookResolver: s.externalBookResolver,
2369
2369
  namedCollection: n._names,
@@ -2373,7 +2373,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
2373
2373
  },
2374
2374
  fetch: (e, t) => n._fetch.fetch(e, t),
2375
2375
  parseText: (t, s) => (async (t, s, r) => {
2376
- const i = await import("./Deu2acNFlgo__Mcd.js").then((t) => e(t.default, 1)), o = (i.default ?? i).parse(s, {
2376
+ const i = await import("./sIWsnPhnHm_MeeM9.js").then((t) => e(t.default, 1)), o = (i.default ?? i).parse(s, {
2377
2377
  delimiter: r?.delimiter ?? ",",
2378
2378
  skipEmptyLines: !1
2379
2379
  }).data;
@@ -2387,7 +2387,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
2387
2387
  const s = o[e], r = new Array(l);
2388
2388
  for (let e = 0; e < l; e++) {
2389
2389
  const i = s[e];
2390
- r[e] = void 0 === i || "" === i ? null : q(t, i).value;
2390
+ r[e] = void 0 === i || "" === i ? null : Ne(t, i).value;
2391
2391
  }
2392
2392
  h[e] = r;
2393
2393
  }
@@ -2399,7 +2399,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
2399
2399
  }), this._ownCalculation = !s.calculation, this._scripts = this._createScripts(i?.modules), this._ownNames = !s.names, this._options = Object.freeze({ ...s });
2400
2400
  const r = i?.sheets?.length ? i.sheets.map((e) => e.name) : [this._createSheetName(0)], o = r.map((e) => e + "-" + c.uuidV4()), l = (e) => {
2401
2401
  const t = i?.sheets?.[e]?.kind;
2402
- return !!t && t !== re.Kind.Worksheet;
2402
+ return !!t && t !== pe.Kind.Worksheet;
2403
2403
  };
2404
2404
  this._calculation._setSheets(r.map((e, t) => l(t) ? [
2405
2405
  o[t],
@@ -2445,7 +2445,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
2445
2445
  let e = this._getSheetRefs();
2446
2446
  for (let t = (e ? e.length : 0) - 1; t >= 0; t--);
2447
2447
  const t = this._options;
2448
- this._isDate1904 = t.runtime?.isDate1904() ?? !1, this._locale = null, this._localeOverrides = null, this._theme = t.theme ?? new de().getDefaultTheme(), this._styles = t?.styles ?? new je(this._theme), this._ownStyles = !t.styles, this._styles.getTheme() || this._styles.setTheme(this.getTheme()), this._activeSheetOffset = 0, this.setView(new ns()), this._listenerProtection?.(), this._protection = new ls(void 0, this._options.readonly ?? !1), this._listenerProtection = this._protection.addListeners({ onChange: (e) => {
2448
+ this._isDate1904 = t.runtime?.isDate1904() ?? !1, this._locale = null, this._localeOverrides = null, this._theme = t.theme ?? new Be().getDefaultTheme(), this._styles = t?.styles ?? new Je(this._theme), this._ownStyles = !t.styles, this._styles.getTheme() || this._styles.setTheme(this.getTheme()), this._activeSheetOffset = 0, this.setView(new ns()), this._listenerProtection?.(), this._protection = new ls(void 0, this._options.readonly ?? !1), this._listenerProtection = this._protection.addListeners({ onChange: (e) => {
2449
2449
  s._emitter.notify("onProtectionChange");
2450
2450
  } });
2451
2451
  const s = this;
@@ -2563,10 +2563,10 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
2563
2563
  return this._transactions;
2564
2564
  }
2565
2565
  getChanges(e) {
2566
- const t = this._transactions, [s, r] = t.getLog(e ?? t.getCurrentCommit(!1).getId(), 2), i = [], o = this.getWorksheets().getItems({ visibility: re.Visibility.VeryHidden });
2566
+ const t = this._transactions, [s, r] = t.getLog(e ?? t.getCurrentCommit(!1).getId(), 2), i = [], o = this.getWorksheets().getItems({ visibility: pe.Visibility.VeryHidden });
2567
2567
  for (let e = 0; e < o.length; e++) {
2568
2568
  const t = o[e];
2569
- t instanceof Y && i.push(...t._changeEventsOf(s, r ?? null));
2569
+ t instanceof Ae && i.push(...t._changeEventsOf(s, r ?? null));
2570
2570
  }
2571
2571
  return i;
2572
2572
  }
@@ -2619,7 +2619,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
2619
2619
  return this.getSelectedWorksheet();
2620
2620
  }
2621
2621
  getSheets(e) {
2622
- const t = this._getSheetRefs(e?.visibility ?? re.Visibility.Visible), s = new Array(t.length);
2622
+ const t = this._getSheetRefs(e?.visibility ?? pe.Visibility.Visible), s = new Array(t.length);
2623
2623
  for (let e = 0; e < t.length; e++) s[e] = t[e].sheet;
2624
2624
  return s;
2625
2625
  }
@@ -2630,7 +2630,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
2630
2630
  if (!t) throw new a(gs(e));
2631
2631
  return t.sheet;
2632
2632
  }
2633
- getWorksheet(e, t = re.Visibility.Visible) {
2633
+ getWorksheet(e, t = pe.Visibility.Visible) {
2634
2634
  if ("number" == typeof e) return this.getWorksheetAt(e, t);
2635
2635
  if (void 0 === e) return this._requireSelectedWorksheet();
2636
2636
  if (!e) throw new Error(g("error.workbook.sheetNameNotProvided"));
@@ -2639,7 +2639,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
2639
2639
  if (!xs(s)) throw new a(_s(s.name, s.sheet.getKind()));
2640
2640
  return s.sheet;
2641
2641
  }
2642
- getWorksheetAt(e, t = re.Visibility.Visible) {
2642
+ getWorksheetAt(e, t = pe.Visibility.Visible) {
2643
2643
  const s = this._getWorksheets(t)[e];
2644
2644
  if (!s) throw new a(function(e) {
2645
2645
  return g("error.workbook.sheetIndexNotFound", { index: e });
@@ -2650,10 +2650,10 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
2650
2650
  const e = this.getSelectedWorksheet();
2651
2651
  if (e) return e;
2652
2652
  const t = this.getSelectedSheet();
2653
- throw new _(fs(t?.getName() ?? "", t?.getKind() ?? re.Kind.Worksheet));
2653
+ throw new _(fs(t?.getName() ?? "", t?.getKind() ?? pe.Kind.Worksheet));
2654
2654
  }
2655
2655
  _anchorWorksheet() {
2656
- return this.getSelectedWorksheet() || (this._getWorksheets(re.Visibility.VeryHidden)[0] ?? null);
2656
+ return this.getSelectedWorksheet() || (this._getWorksheets(pe.Visibility.VeryHidden)[0] ?? null);
2657
2657
  }
2658
2658
  getWorksheets() {
2659
2659
  return this._sheets;
@@ -2661,7 +2661,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
2661
2661
  addWorksheet(e) {
2662
2662
  return this.getWorksheets().add(e);
2663
2663
  }
2664
- _getWorksheets(e = re.Visibility.Visible) {
2664
+ _getWorksheets(e = pe.Visibility.Visible) {
2665
2665
  const t = this._getSheetRefs(e), s = [], r = t.length;
2666
2666
  for (let e = 0; e < r; e++) {
2667
2667
  const r = t[e];
@@ -2669,11 +2669,11 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
2669
2669
  }
2670
2670
  return s;
2671
2671
  }
2672
- _getSheetRefs(e = re.Visibility.Visible) {
2672
+ _getSheetRefs(e = pe.Visibility.Visible) {
2673
2673
  const t = this._getState();
2674
- return t ? e === re.Visibility.Visible ? t.sheetRefsVisible : e === re.Visibility.Hidden ? t.sheetRefsVisibleAndHidden : e === re.Visibility.VeryHidden ? t.sheetRefsAll : c.EmptyArray : [];
2674
+ return t ? e === pe.Visibility.Visible ? t.sheetRefsVisible : e === pe.Visibility.Hidden ? t.sheetRefsVisibleAndHidden : e === pe.Visibility.VeryHidden ? t.sheetRefsAll : c.EmptyArray : [];
2675
2675
  }
2676
- _getSheetRef(e, t = re.Visibility.Visible) {
2676
+ _getSheetRef(e, t = pe.Visibility.Visible) {
2677
2677
  let s = null;
2678
2678
  return "number" == typeof e ? this._getSheetRefs(t)[e] : ("string" == typeof e ? s = this._getState().refsByLowerCaseName.get(e.toLowerCase()) : !0 === e?.isISheet ? s = this._getState().refsByInstance.get(e) : void 0 !== e?.id && (s = this._getState().refsById.get(e.id)), s);
2679
2679
  }
@@ -2747,7 +2747,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
2747
2747
  }
2748
2748
  _addSheet(e, t = null, s = null, r) {
2749
2749
  t = this._nextSheetName(t);
2750
- const i = this._getState(), o = this._createSheet(i.lastId, t, re.Visibility.Visible, s, void 0, null, r);
2750
+ const i = this._getState(), o = this._createSheet(i.lastId, t, pe.Visibility.Visible, s, void 0, null, r);
2751
2751
  if (!o) throw new _(g("error.workbook.sheetNameBlank"));
2752
2752
  return e && (this._tellSheets(), this._emitter.notify("onSheetsChange")), o;
2753
2753
  }
@@ -2767,41 +2767,42 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
2767
2767
  setName: (e, t) => {
2768
2768
  h._setSheetName(u, e, t);
2769
2769
  },
2770
- getVisibility: () => h._getSheetRef(u, re.Visibility.VeryHidden)?.visibility ?? re.Visibility.Visible,
2770
+ getVisibility: () => h._getSheetRef(u, pe.Visibility.VeryHidden)?.visibility ?? pe.Visibility.Visible,
2771
2771
  setVisibility: (e, t) => {
2772
2772
  h._setSheetVisibility(u, e, t);
2773
2773
  },
2774
2774
  getIndex: () => {
2775
- const e = h._getSheetRef(u, re.Visibility.VeryHidden);
2776
- return e ? h._getOffsetForId(e.id, h._getSheetRefs(re.Visibility.VeryHidden)) : -1;
2775
+ const e = h._getSheetRef(u, pe.Visibility.VeryHidden);
2776
+ return e ? h._getOffsetForId(e.id, h._getSheetRefs(pe.Visibility.VeryHidden)) : -1;
2777
2777
  },
2778
2778
  setIndex: (e, t) => {
2779
- const s = h._getSheetRef(u, re.Visibility.VeryHidden);
2779
+ const s = h._getSheetRef(u, pe.Visibility.VeryHidden);
2780
2780
  s && h._moveSheet(s, e, t);
2781
2781
  },
2782
2782
  requestSelect: () => h._requestSelect(u),
2783
- isAttached: () => !!h._getSheetRef(u, re.Visibility.VeryHidden)
2783
+ isAttached: () => !!h._getSheetRef(u, pe.Visibility.VeryHidden)
2784
2784
  }
2785
2785
  }), this._sheetOnNameChange.set(e, () => u._notify("onNameChange")), this._sheetOnVisibilityChange.set(e, () => u._notify("onVisibilityChange")), this._sheetOnIndexChange.set(e, () => u._notify("onIndexChange")), this._addSheetRef({
2786
2786
  name: t,
2787
2787
  id: e,
2788
- visibility: s ?? re.Visibility.Visible,
2788
+ visibility: s ?? pe.Visibility.Visible,
2789
2789
  sheetId: i,
2790
2790
  sheet: u
2791
2791
  }, r), u;
2792
2792
  }
2793
2793
  async _requestSelect(e) {
2794
- return this._setSelectedSheet(e), await this._emitter.notify("onRequestSelect", {
2794
+ const t = this._transactions.getPendingTransaction(), s = t ? this.getView().getActiveSheetId() : null;
2795
+ return this._setSelectedSheet(e), t ? (this._recordActiveSheet(t, s, this.getView().getActiveSheetId()), this.getSelectedSheet() === e) : (await this._emitter.notify("onRequestSelect", {
2795
2796
  source: this,
2796
2797
  params: e,
2797
2798
  async: !0
2798
- }), this.getSelectedSheet() === e;
2799
+ }), this.getSelectedSheet() === e);
2799
2800
  }
2800
2801
  _updateSheetRefStates(e) {
2801
2802
  if (this._closed) throw new Error(g("error.workbook.modelClosed"));
2802
2803
  if (!this._initializing && !this.getProtection().isStructureAllowed()) throw new t(g("error.workbook.protection"));
2803
2804
  const s = e, r = [], i = [], o = s.length;
2804
- for (let e = 0; e < o; e++) s[e].visibility === re.Visibility.Visible ? (r.push(s[e]), i.push(s[e])) : s[e].visibility === re.Visibility.Hidden && i.push(s[e]);
2805
+ for (let e = 0; e < o; e++) s[e].visibility === pe.Visibility.Visible ? (r.push(s[e]), i.push(s[e])) : s[e].visibility === pe.Visibility.Hidden && i.push(s[e]);
2805
2806
  this._updateState({
2806
2807
  sheetRefsAll: s,
2807
2808
  sheetRefsVisible: r,
@@ -2843,7 +2844,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
2843
2844
  _._validateDeleteSheet(e);
2844
2845
  },
2845
2846
  onDelete(e) {
2846
- let t = _._getSheetRef(e, re.Visibility.VeryHidden);
2847
+ let t = _._getSheetRef(e, pe.Visibility.VeryHidden);
2847
2848
  if (!t) return;
2848
2849
  const s = _._beginCommit({ description: g("op.deleteSheet", { name: t.name }) });
2849
2850
  try {
@@ -2932,7 +2933,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
2932
2933
  let s = this._view.getActiveSheetId();
2933
2934
  s ?? (this._view.setActiveSheetId(t), s = t);
2934
2935
  let r = e.refsById.get(s);
2935
- r || (this._view.setActiveSheetId(t), r = e.refsById.get(t), s = t), r.visibility === re.Visibility.Visible && (this._activeSheetOffset = this._getOffsetForId(s, e.sheetRefsVisible));
2936
+ r || (this._view.setActiveSheetId(t), r = e.refsById.get(t), s = t), r.visibility === pe.Visibility.Visible && (this._activeSheetOffset = this._getOffsetForId(s, e.sheetRefsVisible));
2936
2937
  }
2937
2938
  _validateDeleteSheet(e) {
2938
2939
  if (this._closed) throw new Error(g("error.workbook.modelClosed"));
@@ -2952,7 +2953,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
2952
2953
  find(e) {
2953
2954
  if (this._closed) throw new Error(g("error.workbook.modelClosed"));
2954
2955
  const t = this._getWorksheets();
2955
- if (0 === t.length) return { next: () => tt };
2956
+ if (0 === t.length) return { next: () => Le };
2956
2957
  if (1 === t.length) return t[0].find(e);
2957
2958
  "string" == typeof e && (e = { text: e });
2958
2959
  const s = !e?.reverse;
@@ -2981,7 +2982,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
2981
2982
  }
2982
2983
  if (!u && a && o === i && (c.done || !l || !c.done && _(c.value.getCoords(), l) >= 0) && (u = !0), u) {
2983
2984
  const e = c;
2984
- return c = tt, e;
2985
+ return c = Le, e;
2985
2986
  }
2986
2987
  const d = c;
2987
2988
  return c = h.next(), d;
@@ -2996,7 +2997,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
2996
2997
  let r = 0, i = null;
2997
2998
  const o = "function" == typeof t, n = s?.maxCount ?? Number.MAX_SAFE_INTEGER, a = !s?.maxCount;
2998
2999
  let l = "";
2999
- const h = "string" == typeof t ? it(t) : null;
3000
+ const h = "string" == typeof t ? Z(t) : null;
3000
3001
  let c = s?.description ?? f("op.replace");
3001
3002
  const u = this._transactions.beginCommit({ description: c });
3002
3003
  try {
@@ -3075,35 +3076,35 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
3075
3076
  return d;
3076
3077
  }
3077
3078
  _createRange(e, t) {
3078
- const s = e ? { ...e } : null, r = s ? this._getSheetRef(s.scope, re.Visibility.VeryHidden) : null;
3079
+ const s = e ? { ...e } : null, r = s ? this._getSheetRef(s.scope, pe.Visibility.VeryHidden) : null;
3079
3080
  if (r && !xs(r)) throw new _(_s(r.name, r.sheet.getKind()));
3080
3081
  if (!r) {
3081
3082
  const e = this._anchorWorksheet();
3082
3083
  return e ? (delete s?.scope, Ss(s, s ? {
3083
- scope: ke,
3084
+ scope: Qe,
3084
3085
  ...e.getEntireRange().getCoords()
3085
3086
  } : null)) : void console.warn(g("error.workbook.noVisibleRefs"));
3086
3087
  }
3087
3088
  const i = r.sheet;
3088
3089
  let o = null;
3089
- return t && (o = { getOptions: t }), new Is(e, we(i), this, o);
3090
+ return t && (o = { getOptions: t }), new Is(e, D(i), this, o);
3090
3091
  }
3091
3092
  _createRanges(e, t) {
3092
3093
  const s = this._anchorWorksheet();
3093
- if (!s) throw new _(fs("", re.Kind.Worksheet));
3094
+ if (!s) throw new _(fs("", pe.Kind.Worksheet));
3094
3095
  let r = null;
3095
- return t && (r = { getOptions: t }), new vs(e, we(s), this, r);
3096
+ return t && (r = { getOptions: t }), new vs(e, D(s), this, r);
3096
3097
  }
3097
3098
  getRange(e, t) {
3098
3099
  if (void 0 === e) return this.getSelectedRange(t);
3099
- "number" == typeof e && (e = De(arguments), t = void 0);
3100
+ "number" == typeof e && (e = oe(arguments), t = void 0);
3100
3101
  try {
3101
3102
  const s = this._rangesAddressToCoords(e);
3102
3103
  if (1 !== s.length) throw new _(g("error.address.singleRangeOnlyAlt"));
3103
3104
  return this._createRange(s[0], t);
3104
3105
  } catch (t) {
3105
3106
  if (t instanceof a) throw new a(t.message);
3106
- throw new _(t.message ?? le(e));
3107
+ throw new _(t.message ?? ye(e));
3107
3108
  }
3108
3109
  }
3109
3110
  getCell(e) {
@@ -3114,38 +3115,38 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
3114
3115
  }
3115
3116
  getRanges(e, t) {
3116
3117
  const s = this._rangesAddressToCoords(e);
3117
- if (0 === s.length) throw new _(le(e));
3118
+ if (0 === s.length) throw new _(ye(e));
3118
3119
  return this._createRanges(s, t);
3119
3120
  }
3120
3121
  _createGraphRanges(e, t) {
3121
3122
  const s = [], r = this.getCalculation()?.getNamedFormulas() ?? null;
3122
3123
  for (let e = 0; e < t.length; e++) {
3123
- const i = t[e], o = i.sheetName ? this._getSheetRef(i.sheetName, re.Visibility.VeryHidden) : null, n = o && xs(o) ? o.sheet : this._anchorWorksheet();
3124
- n && s.push(new Fe(i, r, we(n), null));
3124
+ const i = t[e], o = i.sheetName ? this._getSheetRef(i.sheetName, pe.Visibility.VeryHidden) : null, n = o && xs(o) ? o.sheet : this._anchorWorksheet();
3125
+ n && s.push(new se(i, r, D(n), null));
3125
3126
  }
3126
3127
  for (let t = 0; t < e.length; t++) s.push(e[t]);
3127
3128
  const i = this._anchorWorksheet();
3128
- return 0 !== s.length && i ? new vs(s, we(i), this, null) : null;
3129
+ return 0 !== s.length && i ? new vs(s, D(i), this, null) : null;
3129
3130
  }
3130
3131
  getAnomalies(e) {
3131
3132
  if (this._closed) throw new Error(g("error.workbook.modelClosed"));
3132
- const t = ie(e), s = this._getWorksheets(re.Visibility.VeryHidden).map((e) => {
3133
- const t = we(e);
3133
+ const t = ke(e), s = this._getWorksheets(pe.Visibility.VeryHidden).map((e) => {
3134
+ const t = D(e);
3134
3135
  return {
3135
3136
  bounds: t.getSheet().getEntireCoords(),
3136
3137
  internal: t,
3137
3138
  qualified: !0
3138
3139
  };
3139
3140
  });
3140
- return new D(s, () => (this.getSelectedWorksheet() ?? this._getWorksheets(re.Visibility.VeryHidden)[0]).getEntireRange(), t);
3141
+ return new G(s, () => (this.getSelectedWorksheet() ?? this._getWorksheets(pe.Visibility.VeryHidden)[0]).getEntireRange(), t);
3141
3142
  }
3142
3143
  getStats(e) {
3143
3144
  if (this._closed) throw new Error(g("error.workbook.modelClosed"));
3144
- const t = this._getWorksheets(re.Visibility.VeryHidden), s = t.length;
3145
+ const t = this._getWorksheets(pe.Visibility.VeryHidden), s = t.length;
3145
3146
  if (1 === s) return t[0].getStats(e);
3146
3147
  const r = new Array(s);
3147
3148
  for (let i = 0; i < s; i++) r[i] = t[i].getStats(e);
3148
- return new jt(r);
3149
+ return new Mt(r);
3149
3150
  }
3150
3151
  _activeRangeCoords() {
3151
3152
  const e = this._requireSelectedWorksheet(), t = e.getSelection().getRanges().getCoords(), s = e.getName(), r = t.length, i = new Array(r);
@@ -3170,7 +3171,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
3170
3171
  getSelectedCell() {
3171
3172
  return this._requireSelectedWorksheet().getSelectedCell();
3172
3173
  }
3173
- _rangesAddressToCoords(e, t = !0, s = re.Visibility.Hidden) {
3174
+ _rangesAddressToCoords(e, t = !0, s = pe.Visibility.Hidden) {
3174
3175
  if (!e) throw new _(g("error.address.noAddress"));
3175
3176
  const r = this.getSelectedWorksheet(), i = { ...(r ?? this._anchorWorksheet())?.getEntireRange().getCoords() }, o = r?.getName();
3176
3177
  if (o && (i.scope = o), "string" == typeof e) {
@@ -3180,11 +3181,11 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
3180
3181
  "r" === t ? r.rowStart = r.rowEnd = s.rowIndex : r.colStart = r.colEnd = s.colIndex, e = r;
3181
3182
  }
3182
3183
  }
3183
- const n = this, a = Re(e, i, se, (e) => {
3184
+ const n = this, a = ge(e, i, Oe, (e) => {
3184
3185
  if (!t) return null;
3185
3186
  if ("string" == typeof e) {
3186
- const t = pe(e, {
3187
- getTable: (e) => X(n.getNames().getByName(e)),
3187
+ const t = rt(e, {
3188
+ getTable: (e) => Ve(n.getNames().getByName(e)),
3188
3189
  getAnchor: () => r ? {
3189
3190
  sheet: r,
3190
3191
  coords: r.getSelectedCell().getCoords()
@@ -3199,7 +3200,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
3199
3200
  for (let e = 0; e < l; e++) this._validateCoords(a[e], s);
3200
3201
  return a;
3201
3202
  }
3202
- _validateCoords(e, t = re.Visibility.Visible, s = g("error.sheet.oobRange")) {
3203
+ _validateCoords(e, t = pe.Visibility.Visible, s = g("error.sheet.oobRange")) {
3203
3204
  if (null === e) return;
3204
3205
  const r = this.getWorksheet(e.scope ?? void 0, t).getEntireRange().getCoords();
3205
3206
  if (!d.isRangeWithinRange(e, r)) throw new a(s);
@@ -3247,24 +3248,24 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
3247
3248
  }
3248
3249
  return n;
3249
3250
  }
3250
- _setSheetVisibility(e, s = re.Visibility.Visible, r) {
3251
+ _setSheetVisibility(e, s = pe.Visibility.Visible, r) {
3251
3252
  if (this._closed) throw new Error(g("error.workbook.modelClosed"));
3252
3253
  if (!this.getProtection().isStructureAllowed()) throw new t(g("error.workbook.protection"));
3253
- const i = this._getSheetRef(e, re.Visibility.VeryHidden);
3254
+ const i = this._getSheetRef(e, pe.Visibility.VeryHidden);
3254
3255
  if (!i) return null;
3255
3256
  if (s === i.visibility) return;
3256
3257
  let o = null, n = "";
3257
- s === re.Visibility.Visible ? n = f("op.unhideSheet") : s === re.Visibility.Hidden ? n = f("op.hideSheet") : s === re.Visibility.VeryHidden && (n = f("op.veryHideSheet"));
3258
+ s === pe.Visibility.Visible ? n = f("op.unhideSheet") : s === pe.Visibility.Hidden ? n = f("op.hideSheet") : s === pe.Visibility.VeryHidden && (n = f("op.veryHideSheet"));
3258
3259
  const a = this.beginCommit(n);
3259
3260
  try {
3260
3261
  const e = this._getState().sheetRefsVisible;
3261
- if (s !== re.Visibility.Visible && 1 === e.length && e[0].id === i.id) throw new _(g("error.workbook.sheetOne"));
3262
+ if (s !== pe.Visibility.Visible && 1 === e.length && e[0].id === i.id) throw new _(g("error.workbook.sheetOne"));
3262
3263
  const t = {
3263
3264
  ...i,
3264
3265
  visibility: s
3265
3266
  };
3266
3267
  let n = -1;
3267
- s !== re.Visibility.Visible && (n = this._getOffsetForId(i.id, e)), o = this._updateSheetRef(i, t).sheet, s !== re.Visibility.Visible && this._adjustRemoveSelectionIfRequired(n, i.id), this._adjustSheetNamesIfRequired(), a.commit(r);
3268
+ s !== pe.Visibility.Visible && (n = this._getOffsetForId(i.id, e)), o = this._updateSheetRef(i, t).sheet, s !== pe.Visibility.Visible && this._adjustRemoveSelectionIfRequired(n, i.id), this._adjustSheetNamesIfRequired(), a.commit(r);
3268
3269
  } catch (e) {
3269
3270
  throw a.rollback(), e;
3270
3271
  }
@@ -3297,7 +3298,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
3297
3298
  const t = this._getSheetRef(e);
3298
3299
  if (!t) throw new _(ds(e));
3299
3300
  let s = null;
3300
- return t.visibility !== re.Visibility.Visible && this._setSheetVisibility(t, re.Visibility.Visible), this._view.setActiveSheetId(t.id), s = t.sheet, s;
3301
+ return t.visibility !== pe.Visibility.Visible && this._setSheetVisibility(t, pe.Visibility.Visible), this._view.setActiveSheetId(t.id), s = t.sheet, s;
3301
3302
  }
3302
3303
  getProtection() {
3303
3304
  return this._protection;
@@ -3315,7 +3316,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
3315
3316
  return this._calculation;
3316
3317
  }
3317
3318
  getFonts() {
3318
- return Ze.getShared();
3319
+ return X.getShared();
3319
3320
  }
3320
3321
  createFormula(e, t, s) {
3321
3322
  return this.getCalculation().createFormula(e, t, s);
@@ -3386,7 +3387,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
3386
3387
  const t = this._getSheetRef(e), s = t && xs(t) ? t.sheet : null;
3387
3388
  return s ? s._contentAddWatch(() => null) : null;
3388
3389
  }, s = (e) => {
3389
- for (const t of this._getSheetRefs(re.Visibility.VeryHidden)) {
3390
+ for (const t of this._getSheetRefs(pe.Visibility.VeryHidden)) {
3390
3391
  if (!xs(t)) continue;
3391
3392
  const s = t.sheet;
3392
3393
  if (s.getTables().getByName(e)) return s._contentAddWatch(() => null);
@@ -3396,14 +3397,14 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
3396
3397
  const s = this._getSheetRef(e);
3397
3398
  return s && xs(s) ? s.sheet.getRange(t) : null;
3398
3399
  }, i = (e) => {
3399
- for (const t of this._getSheetRefs(re.Visibility.VeryHidden)) {
3400
+ for (const t of this._getSheetRefs(pe.Visibility.VeryHidden)) {
3400
3401
  if (!xs(t)) continue;
3401
3402
  const s = t.sheet.getTables().getByName(e);
3402
3403
  if (s) return s;
3403
3404
  }
3404
3405
  return null;
3405
3406
  }, o = (e, t) => {
3406
- const s = this._pivotSourceNamed(e, t)?.getValue(), i = "string" == typeof s ? ne(s) : null;
3407
+ const s = this._pivotSourceNamed(e, t)?.getValue(), i = "string" == typeof s ? De(s) : null;
3407
3408
  return i && /^\$?[A-Za-z]+\$?\d+(?::\$?[A-Za-z]+\$?\d+)?$/.test(i.reference) ? r(i.sheet, i.reference.replaceAll("$", "")) : null;
3408
3409
  };
3409
3410
  for (let n = 0; n < e.length; n++) this._getState().pivotCacheData.has(e[n].cacheId) && (e[n]._hold(t, s), e[n]._watchSource(r, i, o));
@@ -3426,13 +3427,13 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
3426
3427
  if (e.isITable) return { name: e.getName() };
3427
3428
  let s = null;
3428
3429
  if ("string" == typeof e) {
3429
- for (const t of this._getSheetRefs(re.Visibility.VeryHidden)) if (xs(t) && t.sheet.getTables().getByName(e)) return { name: e };
3430
+ for (const t of this._getSheetRefs(pe.Visibility.VeryHidden)) if (xs(t) && t.sheet.getTables().getByName(e)) return { name: e };
3430
3431
  if (this.getNames().getByName(e)) return { name: e };
3431
3432
  if (t.getNames().getByName(e)?.getScope()) return {
3432
3433
  name: e,
3433
3434
  sheet: t.getName()
3434
3435
  };
3435
- const r = ne(e), i = r ? this._getSheetRef(r.sheet) : null;
3436
+ const r = De(e), i = r ? this._getSheetRef(r.sheet) : null;
3436
3437
  if (r && (!i || !xs(i))) return null;
3437
3438
  try {
3438
3439
  s = r ? i.sheet.getRange(r.reference) : t.getRange(e);
@@ -3444,7 +3445,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
3444
3445
  if (!s || s.isInvalid()) return null;
3445
3446
  const { rowStart: r, colStart: i, rowEnd: o, colEnd: n } = s.getCoords();
3446
3447
  return {
3447
- ref: He({
3448
+ ref: Q({
3448
3449
  rowStart: r,
3449
3450
  colStart: i,
3450
3451
  rowEnd: o,
@@ -3474,7 +3475,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
3474
3475
  }
3475
3476
  async _refreshPivotCaches(e, t) {
3476
3477
  const s = [];
3477
- for (const t of this._getSheetRefs(re.Visibility.VeryHidden)) if (xs(t)) for (const r of t.sheet.getPivotTables().getItems()) e.has(r.getCacheId()) && s.push(r);
3478
+ for (const t of this._getSheetRefs(pe.Visibility.VeryHidden)) if (xs(t)) for (const r of t.sheet.getPivotTables().getItems()) e.has(r.getCacheId()) && s.push(r);
3478
3479
  for (const e of s) e._assertRefreshAllowed();
3479
3480
  for (const r of e) {
3480
3481
  const e = this._getPivotCache(r), i = e ? await this._pivotSourceRangeOf(e._getSource()) : null;
@@ -3493,7 +3494,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
3493
3494
  async _refreshPivotCachesOnLoad() {
3494
3495
  const e = this._pivotCaches.filter((e) => !!e._getData().model?.refreshOnLoad);
3495
3496
  if (0 === e.length) return;
3496
- const s = await rt.load();
3497
+ const s = await Me.load();
3497
3498
  for (const r of e) {
3498
3499
  if (this._closed) return;
3499
3500
  try {
@@ -3511,7 +3512,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
3511
3512
  return t && xs(t) ? t.sheet.getRange(e.ref) : null;
3512
3513
  }
3513
3514
  if (!e.name) return null;
3514
- if (!e.sheet) for (const t of this._getSheetRefs(re.Visibility.VeryHidden)) {
3515
+ if (!e.sheet) for (const t of this._getSheetRefs(pe.Visibility.VeryHidden)) {
3515
3516
  if (!xs(t)) continue;
3516
3517
  const s = t.sheet.getTables().getByName(e.name);
3517
3518
  if (!s || s.isDeleted()) continue;
@@ -3538,7 +3539,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
3538
3539
  const s = this._getSheetRef(e);
3539
3540
  return (s && xs(s) ? s.sheet : null)?.getPivotTables().getByName(t) ?? null;
3540
3541
  };
3541
- for (const t of this._getSheetRefs(re.Visibility.VeryHidden)) {
3542
+ for (const t of this._getSheetRefs(pe.Visibility.VeryHidden)) {
3542
3543
  if (!xs(t)) continue;
3543
3544
  const s = t.sheet.getMovables().getItems();
3544
3545
  for (let t = 0; t < s.length; t++) {
@@ -3549,7 +3550,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
3549
3550
  }
3550
3551
  _fromJSON(e, t) {
3551
3552
  if (this._emitter.notify("onBeforeLoad", { params: e }), this._initState(), !e.sheets || 0 === e.sheets.length) throw new _(g("error.workbook.sheetOne"));
3552
- e.theme && (this._theme = new $(e.theme), this._styles.setTheme(this._theme));
3553
+ e.theme && (this._theme = new Pe(e.theme), this._styles.setTheme(this._theme));
3553
3554
  const s = this._strings.beginPersist(), r = this._resources.beginPersist(), i = this._styles.beginPersist(), o = this._richValues.beginPersist();
3554
3555
  try {
3555
3556
  s.fromJSON(e.strings), r.fromJSON(e.resources), this._fetch.adopt(this._resources.getItems()), i.fromJSON(e.styles), o.fromJSON(e.richData, {
@@ -3574,12 +3575,12 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
3574
3575
  let d = null, f = null;
3575
3576
  this._isLoadingSheets = !0;
3576
3577
  for (let s = 0; s < c; s++) {
3577
- const i = h[s], o = i.visibility || re.Visibility.Visible, n = s;
3578
- f = n, o === re.Visibility.Visible ? null === d && (d = n) : null !== u && u === n && (u = null);
3578
+ const i = h[s], o = i.visibility || pe.Visibility.Visible, n = s;
3579
+ f = n, o === pe.Visibility.Visible ? null === d && (d = n) : null !== u && u === n && (u = null);
3579
3580
  try {
3580
- const e = i.kind ?? re.Kind.Worksheet;
3581
- if (e !== re.Kind.Worksheet) {
3582
- const a = i.sheet, l = ge.fromJSON(a?.part, r.fromResourceId.bind(r));
3581
+ const e = i.kind ?? pe.Kind.Worksheet;
3582
+ if (e !== pe.Kind.Worksheet) {
3583
+ const a = i.sheet, l = qe.fromJSON(a?.part, r.fromResourceId.bind(r));
3583
3584
  if (!l) throw new _(g("error.workbook.sheetPartMissing", { sheetName: i.name }));
3584
3585
  this._createOpaqueSheet(n, i.name, o, s, i.sheetId, e, l, a?.tabColor ?? null, t?.[s]);
3585
3586
  } else this._createSheet(n, i.name, o, s, i.sheetId, i.sheet, t?.[s]);
@@ -3588,7 +3589,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
3588
3589
  }
3589
3590
  }
3590
3591
  this._isLoadingSheets = !1, this._tellSheets(), this._holdPivotCaches(), this._holdPivotSlicers();
3591
- for (const e of this._getSheetRefs(re.Visibility.VeryHidden)) xs(e) && e.sheet._tellPivots();
3592
+ for (const e of this._getSheetRefs(pe.Visibility.VeryHidden)) xs(e) && e.sheet._tellPivots();
3592
3593
  this._updateState({ lastId: f }), e.view.activeSheetId = u ?? d, this.setView(new ns({ json: e.view })), this._adjustSheetNamesIfRequired(), this._listenerProtection?.();
3593
3594
  const m = this;
3594
3595
  this._protection = new ls(e?.protection, this._options?.readonly), this._listenerProtection = this._protection.addListeners({ onChange: (e) => {
@@ -3618,7 +3619,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
3618
3619
  getBuiltInFunctions: () => t._calculation?.getFunctions(),
3619
3620
  onAdd: (e, s) => {
3620
3621
  const r = t._calculation;
3621
- r.getStatus() !== Ve.Status.Off && r.start().then(async () => {
3622
+ r.getStatus() !== Ke.Status.Off && r.start().then(async () => {
3622
3623
  if (t._startModules.has(s)) return;
3623
3624
  const e = s.getFunctions().getItems({
3624
3625
  type: "formula",
@@ -3641,7 +3642,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
3641
3642
  if (this._closed) throw new Error(g("error.workbook.modelClosed"));
3642
3643
  await Promise.resolve(this._starting);
3643
3644
  const t = this.getCalculation();
3644
- t.getStatus() !== Ve.Status.Off && (await t.ready(), await t._whenRequestsSettled?.()), await this._emitter.notify("onBeforeSave", { async: !0 });
3645
+ t.getStatus() !== Ke.Status.Off && (await t.ready(), await t._whenRequestsSettled?.()), await this._emitter.notify("onBeforeSave", { async: !0 });
3645
3646
  const s = { sheets: [] }, r = e?.ignoreStyles ?? !1;
3646
3647
  if (!r) {
3647
3648
  const e = this._theme.toJSON();
@@ -3668,14 +3669,14 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
3668
3669
  sheet: await o.sheet.toJSON(e)
3669
3670
  };
3670
3671
  else {
3671
- const e = h, t = l ? l.toResourceId.bind(l) : () => null, s = { part: ge.toJSON(e._getPart(), t) }, r = e.getTabColor();
3672
+ const e = h, t = l ? l.toResourceId.bind(l) : () => null, s = { part: qe.toJSON(e._getPart(), t) }, r = e.getTabColor();
3672
3673
  r && (s.tabColor = r.toString()), a = {
3673
3674
  name: o.name,
3674
3675
  kind: e.getKind(),
3675
3676
  sheet: s
3676
3677
  };
3677
3678
  }
3678
- void 0 !== o.sheetId && (a.sheetId = o.sheetId), o.visibility === re.Visibility.Visible ? null === u && (u = n) : a.visibility = o.visibility, o.id === t && (i = n), s.sheets.push(a);
3679
+ void 0 !== o.sheetId && (a.sheetId = o.sheetId), o.visibility === pe.Visibility.Visible ? null === u && (u = n) : a.visibility = o.visibility, o.id === t && (i = n), s.sheets.push(a);
3679
3680
  }
3680
3681
  if (!r) {
3681
3682
  const e = h.toJSON();
@@ -3699,7 +3700,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
3699
3700
  if (b.length > 0) {
3700
3701
  const e = l ? l.toResourceId.bind(l) : () => null, t = /* @__PURE__ */ new Set();
3701
3702
  for (const e of this.getPivotTables()) t.add(e.getCacheId());
3702
- const r = Le(this);
3703
+ const r = de(this);
3703
3704
  for (let e = 0; e < r.length; e++) {
3704
3705
  const s = r[e].toJSON()?.pivot?.cacheId;
3705
3706
  void 0 !== s && t.add(s);
@@ -3788,7 +3789,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
3788
3789
  get isIWorkbook() {
3789
3790
  return !0;
3790
3791
  }
3791
- }, Os = { address: null }, xs = (e) => e.sheet.getKind() === re.Kind.Worksheet, Es = class {
3792
+ }, Os = { address: null }, xs = (e) => e.sheet.getKind() === pe.Kind.Worksheet, Es = class {
3792
3793
  constructor() {
3793
3794
  this._readFormats = [], this._writeFormats = [], this._encryptions = [];
3794
3795
  }
@@ -3865,7 +3866,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
3865
3866
  return !0;
3866
3867
  });
3867
3868
  }
3868
- }, Ls = /* @__PURE__ */ new WeakMap(), Vs = (e) => !!e && "object" == typeof e && "function" == typeof e.getPath && "function" == typeof e.canWrite, As = class {
3869
+ }, Vs = /* @__PURE__ */ new WeakMap(), Ls = (e) => !!e && "object" == typeof e && "function" == typeof e.getPath && "function" == typeof e.canWrite, As = class {
3869
3870
  constructor() {
3870
3871
  this._setInstalled = /* @__PURE__ */ new WeakSet(), this._backingStore = null, this._emitter = new y(this), this._registry = new Es(), this._defaultStore = new pt(() => this.getWriteFormats(), () => this.getReadFormats());
3871
3872
  }
@@ -3907,7 +3908,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
3907
3908
  async read(e) {
3908
3909
  let t = null;
3909
3910
  if ("string" == typeof e) e = { source: e };
3910
- else if (Vs(e)) {
3911
+ else if (Ls(e)) {
3911
3912
  const s = e.getPath();
3912
3913
  if (!s) throw new Error("Cannot read from an unbound origin (no path).");
3913
3914
  _t(e) ? e = {
@@ -4018,7 +4019,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
4018
4019
  return this._writeArrayBuffer(e, s, t);
4019
4020
  }
4020
4021
  async write(e, t, s) {
4021
- return "string" == typeof t || Vs(t) ? this._write(e, t, !1, s) : this._write(e, e?.getOrigin?.(), !0, t ?? s);
4022
+ return "string" == typeof t || Ls(t) ? this._write(e, t, !1, s) : this._write(e, e?.getOrigin?.(), !0, t ?? s);
4022
4023
  }
4023
4024
  async writeAs(e, t, s) {
4024
4025
  if (!t) throw new Error("A target must be provided for writeAs (use write(workbook) for a plain save).");
@@ -4061,6 +4062,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
4061
4062
  const v = {
4062
4063
  workbook: e,
4063
4064
  format: n,
4065
+ formatNamed: !!r?.format,
4064
4066
  origin: i,
4065
4067
  suggestedName: p,
4066
4068
  prompt: r?.prompt,
@@ -4083,7 +4085,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
4083
4085
  }))(w, h), u = await b._writeArrayBuffer(e, l, {
4084
4086
  ...r,
4085
4087
  progress: c
4086
- }), d = Ls.get(a);
4088
+ }), d = Vs.get(a);
4087
4089
  if (h.some((e) => !d?.has(e.message)) && r?.onWarnings) {
4088
4090
  const t = await Promise.resolve(r.onWarnings({
4089
4091
  workbook: e,
@@ -4103,9 +4105,9 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
4103
4105
  if (!t.write) throw new Error("The active backing store is read-only (no write implementation).");
4104
4106
  if (I = await t.write(v), I) {
4105
4107
  if (void 0 !== f && I instanceof ut && (I.setPassword(f), I.update({ encryption: m ? m.key : null })), C.length) {
4106
- const e = Ls.get(I) ?? /* @__PURE__ */ new Set();
4108
+ const e = Vs.get(I) ?? /* @__PURE__ */ new Set();
4107
4109
  for (const t of C) e.add(t.message);
4108
- Ls.set(I, e);
4110
+ Vs.set(I, e);
4109
4111
  }
4110
4112
  s && I !== e.getOrigin() && _t(e.getOrigin())?.setOrigin(I);
4111
4113
  const t = k ?? e.getTransactions?.()?.getCurrentCommit() ?? null;
@@ -4140,7 +4142,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
4140
4142
  if (!t) throw new Error("A write format must be provided.");
4141
4143
  const r = t.handler;
4142
4144
  if (!r) throw new Error(`Unable to resolve a write handler for '${t.key}'.`);
4143
- return ue(t.key) || await U.assertUsable("exports", 0), r(e, {
4145
+ return Ie(t.key) || await Ge.assertUsable("exports", 0), r(e, {
4144
4146
  ...s,
4145
4147
  format: t.key
4146
4148
  });
@@ -4161,7 +4163,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
4161
4163
  reason: e?.message ?? String(e)
4162
4164
  }), { cause: e });
4163
4165
  }
4164
- return await oe(), i;
4166
+ return await J(), i;
4165
4167
  }
4166
4168
  get isIWorkbookIO() {
4167
4169
  return !0;
@@ -4190,7 +4192,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
4190
4192
  } : null;
4191
4193
  },
4192
4194
  place: (e, t) => t ? `${t}/${e}` : null
4193
- }, Ms = [
4195
+ }, js = [
4194
4196
  ".woff2",
4195
4197
  ".woff",
4196
4198
  ".ttf",
@@ -4200,7 +4202,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
4200
4202
  ].map((e) => ({
4201
4203
  suffix: e,
4202
4204
  place: (e, t) => t ? `${t}/${e}` : e
4203
- })), js = {
4205
+ })), Ms = {
4204
4206
  suffix: ".metrics.json",
4205
4207
  async extract(e) {
4206
4208
  const t = await e.readJson();
@@ -4217,7 +4219,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
4217
4219
  }, {
4218
4220
  kind: Bs,
4219
4221
  files: [
4220
- js,
4222
+ Ms,
4221
4223
  {
4222
4224
  suffix: ".hinted.json",
4223
4225
  async extract(e) {
@@ -4229,7 +4231,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
4229
4231
  hinted: !0
4230
4232
  } : null;
4231
4233
  },
4232
- place: js.place
4234
+ place: Ms.place
4233
4235
  },
4234
4236
  {
4235
4237
  suffix: ".rows.json",
@@ -4242,25 +4244,25 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends z {
4242
4244
  rows: !0
4243
4245
  } : null;
4244
4246
  },
4245
- place: js.place
4247
+ place: Ms.place
4246
4248
  },
4247
- ...Ms
4249
+ ...js
4248
4250
  ]
4249
4251
  }];
4250
- async function Hs(e, t) {
4251
- const { Chart: s } = await import("./C1xe-BzKWT17OO8a.js");
4252
+ async function zs(e, t) {
4253
+ const { Chart: s } = await import("./CtlrxXVgZDIOcuc1.js");
4252
4254
  return new s({
4253
4255
  json: e,
4254
4256
  getStyles: t?.getStyles
4255
4257
  });
4256
4258
  }
4257
- var zs = {
4259
+ var Hs = {
4258
4260
  showRowHeaders: !0,
4259
4261
  showColumnHeaders: !0,
4260
4262
  showRowStripes: !1,
4261
4263
  showColumnStripes: !1,
4262
4264
  showLastColumn: !0
4263
- }, $s = class extends ve {
4265
+ }, $s = class extends Ee {
4264
4266
  constructor(e, t, s, r) {
4265
4267
  super(e, t?.getProperties() ?? { name: "" }, {
4266
4268
  rowStart: 0,
@@ -4281,11 +4283,11 @@ var zs = {
4281
4283
  return "firstRowSubheading" === s ? `${e}` : "";
4282
4284
  }
4283
4285
  }, Us = (e, t, s, r = 5) => {
4284
- const i = Math.max(3, Math.floor(r)), o = new $s(e, t, s ?? zs, i);
4286
+ const i = Math.max(3, Math.floor(r)), o = new $s(e, t, s ?? Hs, i);
4285
4287
  return {
4286
4288
  rows: i,
4287
4289
  columns: 5,
4288
- getStyleAt: (t, s) => Se(void 0, e, o, {
4290
+ getStyleAt: (t, s) => he(void 0, e, o, {
4289
4291
  rowStart: t,
4290
4292
  colStart: s,
4291
4293
  rowEnd: t,
@@ -4297,7 +4299,7 @@ ks || (ks = {});
4297
4299
  var Js, qs, Ks, Gs = null;
4298
4300
  function Xs() {
4299
4301
  if (!Gs) {
4300
- const e = import("./BVDaUnmVOSaDw9e3.js").then((e) => e.loadScriptingDeclarations());
4302
+ const e = import("./DcO0gub7cRKVw4xB.js").then((e) => e.loadScriptingDeclarations());
4301
4303
  e.catch(() => {
4302
4304
  Gs = null;
4303
4305
  }), Gs = e;
@@ -4307,7 +4309,7 @@ function Xs() {
4307
4309
  var Zs = null;
4308
4310
  function Qs() {
4309
4311
  if (!Zs) {
4310
- const e = import("./BVDaUnmVOSaDw9e3.js").then((e) => e.loadScriptingApi()).then((e) => JSON.parse(e));
4312
+ const e = import("./DcO0gub7cRKVw4xB.js").then((e) => e.loadScriptingApi()).then((e) => JSON.parse(e));
4311
4313
  e.catch(() => {
4312
4314
  Zs = null;
4313
4315
  }), Zs = e;
@@ -4332,7 +4334,7 @@ Js || (Js = {}), (qs || (qs = {})).Type = {
4332
4334
  ComboEdit: "comboEdit",
4333
4335
  Simple: "simple"
4334
4336
  };
4335
- var Ys = class extends he {
4337
+ var Ys = class extends Ce {
4336
4338
  constructor(e) {
4337
4339
  super(e);
4338
4340
  }
@@ -4345,8 +4347,8 @@ var Ys = class extends he {
4345
4347
  colEnd: (e?.size?.width ?? 5) - 1,
4346
4348
  rowEnd: (e?.size?.height ?? 5) - 1
4347
4349
  },
4348
- getRanges: (e) => new Ye(null)
4350
+ getRanges: (e) => new je(null)
4349
4351
  }, super._initializeOptions(e);
4350
4352
  }
4351
- }, er = "0.8.0-beta.21", tr = "2026-11-10T04:59:38.813Z";
4352
- export { Ts as A, Ft as C, Pt as D, Ps as E, wt as F, Bs as I, qs as L, St as M, yt as N, bt as O, Ns as P, er as R, Fs as S, Ds as T, ut as _, Js as a, As as b, ct as c, rs as d, Qs as f, ot as g, Us as h, nt as i, ks as j, Xs as k, Ks as l, ns as m, zt as n, tr as o, Ys as p, at as r, ss as s, kt as t, Zt as u, Hs as v, Lt as w, Vt as x, Mt as y, Jt as z };
4353
+ }, er = "0.8.0-beta.23", tr = "2026-11-11T21:39:10.715Z";
4354
+ export { Ts as A, Ft as C, Pt as D, Ps as E, wt as F, Bs as I, qs as L, St as M, yt as N, bt as O, Ns as P, er as R, Fs as S, Ds as T, ut as _, tr as a, As as b, Ks as c, at as d, Qs as f, rs as g, Us as h, Js as i, ks as j, Xs as k, Zt as l, ns as m, ot as n, ss as o, Ys as p, nt as r, ct as s, kt as t, Ht as u, zs as v, Vt as w, Lt as x, jt as y, Jt as z };