@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,11 +1,11 @@
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 { u as e } from "./D5mfuGSeGXSDHj9-.js";
8
- import { At as t, Da as n, Dn as i, Fr as r, Hi as s, Pa as o, Pi as a, Sn as c, T as h, Ur as l, Xt as u, Y as d, Yi as p, Yr as f, _i as m, dn as E, er as T, fr as g, in as O, j as A, ot as R, so as I, t as _, ta as N, u as L, wr as S, x as C, xa as y, z as k, zt as v } from "./Vo34QvIefEN595xl.js";
7
+ import { u as e } from "./BI8kb-rd9dW85XJs.js";
8
+ import { $i as t, D as n, Dn as i, Fn as r, Gn as s, Ia as o, Ji as a, Jr as c, Mt as h, N as l, Ur as u, Va as d, Wi as p, Ya as f, ai as m, ar as E, bn as T, er as g, ft as O, ha as A, hi as R, io as I, ka as _, ki as N, m as L, so as S, t as C, uo as y, xa as k, xi as v } from "./Cl04_aSpBHTwfsQR.js";
9
9
  function x(e) {
10
10
  console && console.error && console.error(`Error: ${e}`);
11
11
  }
@@ -92,7 +92,7 @@ var U = class {
92
92
  constructor(e) {
93
93
  super(e.definition), this.idx = 1, this.ignoreAmbiguities = !1, this.hasPredicates = !1, Object.assign(this, Y(e));
94
94
  }
95
- }, H = class {
95
+ }, V = class {
96
96
  constructor(e) {
97
97
  this.idx = 1, Object.assign(this, Y(e));
98
98
  }
@@ -100,9 +100,9 @@ var U = class {
100
100
  e.visit(this);
101
101
  }
102
102
  };
103
- function V(e) {
103
+ function H(e) {
104
104
  function t(e) {
105
- return e.map(V);
105
+ return e.map(H);
106
106
  }
107
107
  if (e instanceof w) {
108
108
  const t = {
@@ -129,13 +129,13 @@ function V(e) {
129
129
  if (e instanceof j) return {
130
130
  type: "RepetitionMandatoryWithSeparator",
131
131
  idx: e.idx,
132
- separator: V(new H({ terminalType: e.separator })),
132
+ separator: H(new V({ terminalType: e.separator })),
133
133
  definition: t(e.definition)
134
134
  };
135
135
  if (e instanceof K) return {
136
136
  type: "RepetitionWithSeparator",
137
137
  idx: e.idx,
138
- separator: V(new H({ terminalType: e.separator })),
138
+ separator: H(new V({ terminalType: e.separator })),
139
139
  definition: t(e.definition)
140
140
  };
141
141
  if (e instanceof G) return {
@@ -148,7 +148,7 @@ function V(e) {
148
148
  idx: e.idx,
149
149
  definition: t(e.definition)
150
150
  };
151
- if (e instanceof H) {
151
+ if (e instanceof V) {
152
152
  const t = {
153
153
  type: "Terminal",
154
154
  name: e.terminalType.name,
@@ -183,7 +183,7 @@ var z = class {
183
183
  case K: return this.visitRepetitionWithSeparator(t);
184
184
  case G: return this.visitRepetition(t);
185
185
  case W: return this.visitAlternation(t);
186
- case H: return this.visitTerminal(t);
186
+ case V: return this.visitTerminal(t);
187
187
  case F: return this.visitRule(t);
188
188
  default: throw Error("non exhaustive match");
189
189
  }
@@ -210,7 +210,7 @@ function q(e) {
210
210
  if (e instanceof j) return "AT_LEAST_ONE_SEP";
211
211
  if (e instanceof K) return "MANY_SEP";
212
212
  if (e instanceof G) return "MANY";
213
- if (e instanceof H) return "CONSUME";
213
+ if (e instanceof V) return "CONSUME";
214
214
  throw Error("non exhaustive match");
215
215
  }
216
216
  var Q = class {
@@ -218,7 +218,7 @@ var Q = class {
218
218
  e.definition.forEach((n, i) => {
219
219
  const r = e.definition.slice(i + 1);
220
220
  if (n instanceof w) this.walkProdRef(n, r, t);
221
- else if (n instanceof H) this.walkTerminal(n, r, t);
221
+ else if (n instanceof V) this.walkTerminal(n, r, t);
222
222
  else if (n instanceof D) this.walkFlat(n, r, t);
223
223
  else if (n instanceof B) this.walkOption(n, r, t);
224
224
  else if (n instanceof $) this.walkAtLeastOne(n, r, t);
@@ -266,13 +266,13 @@ var Q = class {
266
266
  }
267
267
  };
268
268
  function Z(e, t, n) {
269
- return [new B({ definition: [new H({ terminalType: e.separator })].concat(e.definition) })].concat(t, n);
269
+ return [new B({ definition: [new V({ terminalType: e.separator })].concat(e.definition) })].concat(t, n);
270
270
  }
271
271
  function J(e) {
272
272
  if (e instanceof w) return J(e.referencedRule);
273
- if (e instanceof H) return [e.terminalType];
273
+ if (e instanceof V) return [e.terminalType];
274
274
  if (function(e) {
275
- return e instanceof D || e instanceof B || e instanceof G || e instanceof $ || e instanceof j || e instanceof K || e instanceof H || e instanceof F;
275
+ return e instanceof D || e instanceof B || e instanceof G || e instanceof $ || e instanceof j || e instanceof K || e instanceof V || e instanceof F;
276
276
  }(e)) return function(e) {
277
277
  let t = [];
278
278
  const n = e.definition;
@@ -1508,7 +1508,7 @@ function Ke(e, t) {
1508
1508
  function We(e, t) {
1509
1509
  return e.tokenTypeIdx === t.tokenTypeIdx;
1510
1510
  }
1511
- var He = 1, Ve = {};
1511
+ var Ve = 1, He = {};
1512
1512
  function Ye(e) {
1513
1513
  const t = function(e) {
1514
1514
  let t = [...e], n = e, i = !0;
@@ -1522,7 +1522,7 @@ function Ye(e) {
1522
1522
  (function(e) {
1523
1523
  e.forEach((e) => {
1524
1524
  var t;
1525
- Xe(e) || (Ve[He] = e, e.tokenTypeIdx = He++), qe(e) && !Array.isArray(e.CATEGORIES) && (e.CATEGORIES = [e.CATEGORIES]), qe(e) || (e.CATEGORIES = []), t = e, Object.hasOwn(null != t ? t : {}, "categoryMatches") || (e.categoryMatches = []), function(e) {
1525
+ Xe(e) || (He[Ve] = e, e.tokenTypeIdx = Ve++), qe(e) && !Array.isArray(e.CATEGORIES) && (e.CATEGORIES = [e.CATEGORIES]), qe(e) || (e.CATEGORIES = []), t = e, Object.hasOwn(null != t ? t : {}, "categoryMatches") || (e.categoryMatches = []), function(e) {
1526
1526
  return Object.hasOwn(null != e ? e : {}, "categoryMatchesMap");
1527
1527
  }(e) || (e.categoryMatchesMap = {});
1528
1528
  });
@@ -1533,7 +1533,7 @@ function Ye(e) {
1533
1533
  }(t), function(e) {
1534
1534
  e.forEach((e) => {
1535
1535
  e.categoryMatches = [], Object.keys(e.categoryMatchesMap).forEach((t) => {
1536
- e.categoryMatches.push(Ve[t].tokenTypeIdx);
1536
+ e.categoryMatches.push(He[t].tokenTypeIdx);
1537
1537
  });
1538
1538
  });
1539
1539
  }(t), t.forEach((e) => {
@@ -1946,7 +1946,7 @@ var Et = {
1946
1946
  Object.freeze(Et);
1947
1947
  var Tt = { buildRuleNotFoundError: (e, t) => "Invalid grammar, reference to a rule which is not defined: ->" + t.nonTerminalName + "<-\ninside top level rule: ->" + e.name + "<-" }, gt = {
1948
1948
  buildDuplicateFoundError(e, t) {
1949
- const n = e.name, i = t[0], r = i.idx, s = q(i), o = (a = i) instanceof H ? a.terminalType.name : a instanceof w ? a.nonTerminalName : "";
1949
+ const n = e.name, i = t[0], r = i.idx, s = q(i), o = (a = i) instanceof V ? a.terminalType.name : a instanceof w ? a.nonTerminalName : "";
1950
1950
  var a;
1951
1951
  let c = `->${s}${r > 0 ? r : ""}<- ${o ? `with argument: ->${o}<-` : ""}\n appears more than once (${t.length} times) in the top level rule: ->${n}<-. \n For further details see: https://chevrotain.io/docs/FAQ.html#NUMERICAL_SUFFIXES \n `;
1952
1952
  return c = c.replace(/[ \t]+/g, " "), c = c.replace(/\s\s+/g, "\n"), c;
@@ -2047,28 +2047,28 @@ var Ot, At = class extends z {
2047
2047
  walkMany(e, t, n) {
2048
2048
  if (e.idx === this.occurrence) {
2049
2049
  const e = t.concat(n)[0];
2050
- this.result.isEndOfRule = void 0 === e, e instanceof H && (this.result.token = e.terminalType, this.result.occurrence = e.idx);
2050
+ this.result.isEndOfRule = void 0 === e, e instanceof V && (this.result.token = e.terminalType, this.result.occurrence = e.idx);
2051
2051
  } else super.walkMany(e, t, n);
2052
2052
  }
2053
2053
  }, Lt = class extends _t {
2054
2054
  walkManySep(e, t, n) {
2055
2055
  if (e.idx === this.occurrence) {
2056
2056
  const e = t.concat(n)[0];
2057
- this.result.isEndOfRule = void 0 === e, e instanceof H && (this.result.token = e.terminalType, this.result.occurrence = e.idx);
2057
+ this.result.isEndOfRule = void 0 === e, e instanceof V && (this.result.token = e.terminalType, this.result.occurrence = e.idx);
2058
2058
  } else super.walkManySep(e, t, n);
2059
2059
  }
2060
2060
  }, St = class extends _t {
2061
2061
  walkAtLeastOne(e, t, n) {
2062
2062
  if (e.idx === this.occurrence) {
2063
2063
  const e = t.concat(n)[0];
2064
- this.result.isEndOfRule = void 0 === e, e instanceof H && (this.result.token = e.terminalType, this.result.occurrence = e.idx);
2064
+ this.result.isEndOfRule = void 0 === e, e instanceof V && (this.result.token = e.terminalType, this.result.occurrence = e.idx);
2065
2065
  } else super.walkAtLeastOne(e, t, n);
2066
2066
  }
2067
2067
  }, Ct = class extends _t {
2068
2068
  walkAtLeastOneSep(e, t, n) {
2069
2069
  if (e.idx === this.occurrence) {
2070
2070
  const e = t.concat(n)[0];
2071
- this.result.isEndOfRule = void 0 === e, e instanceof H && (this.result.token = e.terminalType, this.result.occurrence = e.idx);
2071
+ this.result.isEndOfRule = void 0 === e, e instanceof V && (this.result.token = e.terminalType, this.result.occurrence = e.idx);
2072
2072
  } else super.walkAtLeastOneSep(e, t, n);
2073
2073
  }
2074
2074
  };
@@ -2086,14 +2086,14 @@ function yt(e, t, n = []) {
2086
2086
  if (t instanceof B) i = s(t.definition);
2087
2087
  else {
2088
2088
  if (t instanceof $) return s(t.definition.concat([new G({ definition: t.definition })]));
2089
- if (t instanceof j) return s([new D({ definition: t.definition }), new G({ definition: [new H({ terminalType: t.separator })].concat(t.definition) })]);
2090
- if (t instanceof K) i = s(t.definition.concat([new G({ definition: [new H({ terminalType: t.separator })].concat(t.definition) })]));
2089
+ if (t instanceof j) return s([new D({ definition: t.definition }), new G({ definition: [new V({ terminalType: t.separator })].concat(t.definition) })]);
2090
+ if (t instanceof K) i = s(t.definition.concat([new G({ definition: [new V({ terminalType: t.separator })].concat(t.definition) })]));
2091
2091
  else if (t instanceof G) i = s(t.definition.concat([new G({ definition: t.definition })]));
2092
2092
  else {
2093
2093
  if (t instanceof W) return t.definition.forEach((e) => {
2094
2094
  0 !== e.definition.length && (i = s(e.definition));
2095
2095
  }), i;
2096
- if (!(t instanceof H)) throw Error("non exhaustive match");
2096
+ if (!(t instanceof V)) throw Error("non exhaustive match");
2097
2097
  n.push(t.terminalType);
2098
2098
  }
2099
2099
  }
@@ -2338,7 +2338,7 @@ function Gt(e) {
2338
2338
  }
2339
2339
  function Kt(e, t, n, i) {
2340
2340
  const r = e.flatMap((e) => function(e, t) {
2341
- const n = new Vt();
2341
+ const n = new Ht();
2342
2342
  e.accept(n);
2343
2343
  const i = n.allProductions, r = Object.groupBy(i, Wt), s = Object.fromEntries(Object.entries(r).filter(([e, t]) => t.length > 1));
2344
2344
  return Object.values(s).map((n) => {
@@ -2348,7 +2348,7 @@ function Kt(e, t, n, i) {
2348
2348
  ruleName: e.name,
2349
2349
  dslName: s,
2350
2350
  occurrence: i.idx
2351
- }, a = Ht(i);
2351
+ }, a = Vt(i);
2352
2352
  return a && (o.parameter = a), o;
2353
2353
  });
2354
2354
  }(e, n)), s = function(e, t, n) {
@@ -2393,12 +2393,12 @@ function Kt(e, t, n, i) {
2393
2393
  return r.concat(s, o, a);
2394
2394
  }
2395
2395
  function Wt(e) {
2396
- return `${q(e)}_#_${e.idx}_#_${Ht(e)}`;
2396
+ return `${q(e)}_#_${e.idx}_#_${Vt(e)}`;
2397
2397
  }
2398
- function Ht(e) {
2399
- return e instanceof H ? e.terminalType.name : e instanceof w ? e.nonTerminalName : "";
2398
+ function Vt(e) {
2399
+ return e instanceof V ? e.terminalType.name : e instanceof w ? e.nonTerminalName : "";
2400
2400
  }
2401
- var Vt = class extends z {
2401
+ var Ht = class extends z {
2402
2402
  constructor() {
2403
2403
  super(...arguments), this.allProductions = [];
2404
2404
  }
@@ -2454,7 +2454,7 @@ function zt(e) {
2454
2454
  if (n instanceof w) t.push(n.referencedRule);
2455
2455
  else if (n instanceof D || n instanceof B || n instanceof $ || n instanceof j || n instanceof K || n instanceof G) t = t.concat(zt(n.definition));
2456
2456
  else if (n instanceof W) t = n.definition.map((e) => zt(e.definition)).flat();
2457
- else if (!(n instanceof H)) throw Error("non exhaustive match");
2457
+ else if (!(n instanceof V)) throw Error("non exhaustive match");
2458
2458
  const i = X(n), r = e.length > 1;
2459
2459
  if (i && r) {
2460
2460
  const n = e.slice(1);
@@ -2498,7 +2498,7 @@ function qt(e, t) {
2498
2498
  occurrenceStack: f.slice(0, -1)
2499
2499
  };
2500
2500
  u.push(e);
2501
- } else if (m instanceof H) if (d < c - 1) {
2501
+ } else if (m instanceof V) if (d < c - 1) {
2502
2502
  const e = d + 1;
2503
2503
  if (n(t[e], m.terminalType)) {
2504
2504
  const t = {
@@ -2558,7 +2558,7 @@ function qt(e, t) {
2558
2558
  u.push(t);
2559
2559
  } else if (m instanceof j) {
2560
2560
  const t = new G({
2561
- definition: [new H({ terminalType: m.separator })].concat(m.definition),
2561
+ definition: [new V({ terminalType: m.separator })].concat(m.definition),
2562
2562
  idx: m.idx
2563
2563
  }), n = {
2564
2564
  idx: d,
@@ -2576,7 +2576,7 @@ function qt(e, t) {
2576
2576
  };
2577
2577
  u.push(e), u.push(o);
2578
2578
  const n = new G({
2579
- definition: [new H({ terminalType: m.separator })].concat(m.definition),
2579
+ definition: [new V({ terminalType: m.separator })].concat(m.definition),
2580
2580
  idx: m.idx
2581
2581
  }), r = {
2582
2582
  idx: d,
@@ -3990,7 +3990,7 @@ $n.DEFER_DEFINITION_ERRORS_HANDLING = !1, Bn = $n, [
3990
3990
  return this.gastProductionsCache;
3991
3991
  }
3992
3992
  getSerializedGastProductions() {
3993
- return Object.values(this.gastProductionsCache).map(V);
3993
+ return Object.values(this.gastProductionsCache).map(H);
3994
3994
  }
3995
3995
  },
3996
3996
  class {
@@ -4145,7 +4145,7 @@ $n.DEFER_DEFINITION_ERRORS_HANDLING = !1, Bn = $n, [
4145
4145
  const n = /* @__PURE__ */ new Error(`<CONSUME${Mn(t)}> argument is invalid expecting a TokenType reference but got: <${JSON.stringify(e)}>\n inside top level rule: <${this.recordingProdStack[0].name}>`);
4146
4146
  throw n.KNOWN_RECORDER_ERROR = !0, n;
4147
4147
  }
4148
- const i = this.recordingProdStack.at(-1), r = new H({
4148
+ const i = this.recordingProdStack.at(-1), r = new V({
4149
4149
  idx: t,
4150
4150
  terminalType: e,
4151
4151
  label: null == n ? void 0 : n.LABEL
@@ -4187,9 +4187,9 @@ var jn = class extends $n {
4187
4187
  }
4188
4188
  }, Gn = class t {
4189
4189
  static shared(e) {
4190
- const n = e?.locale ?? h, i = e?.maxColumn ?? Vn, r = e?.maxRow ?? Yn;
4191
- let s = Hn.get(n);
4192
- s || (s = /* @__PURE__ */ new Map(), Hn.set(n, s));
4190
+ const n = e?.locale ?? S, i = e?.maxColumn ?? Hn, r = e?.maxRow ?? Yn;
4191
+ let s = Vn.get(n);
4192
+ s || (s = /* @__PURE__ */ new Map(), Vn.set(n, s));
4193
4193
  const o = `${i}:${r}`;
4194
4194
  let a = s.get(o);
4195
4195
  return a || (a = new t({
@@ -4199,34 +4199,34 @@ var jn = class extends $n {
4199
4199
  }), s.set(o, a)), a;
4200
4200
  }
4201
4201
  constructor(e) {
4202
- const t = e?.maxColumn ?? Vn, n = e?.maxRow ?? Yn, i = e?.locale ?? h;
4203
- this._locale = i, this._maxColumn = t, this._maxRow = n;
4204
- const { separatorFunction: r, separatorColumn: s, separatorRow: o, separatorDecimal: a } = i.separators;
4205
- if (s === o) throw new Error(`FormulaLexer: separatorColumn and separatorRow must differ (both '${s}')`);
4206
- const c = pt({
4202
+ const t = e?.maxColumn ?? Hn, n = e?.maxRow ?? Yn, s = e?.locale ?? S;
4203
+ this._locale = s, this._maxColumn = t, this._maxRow = n;
4204
+ const { separatorFunction: o, separatorColumn: a, separatorRow: c, separatorDecimal: h } = s.separators;
4205
+ if (a === c) throw new Error(`FormulaLexer: separatorColumn and separatorRow must differ (both '${a}')`);
4206
+ const l = pt({
4207
4207
  name: "WhiteSpace",
4208
4208
  pattern: /[ \n\v\f\r\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,
4209
4209
  group: tt.SKIPPED
4210
- }), l = pt({
4210
+ }), u = pt({
4211
4211
  name: "StringToken",
4212
4212
  pattern: /"(""|[^"])*"/
4213
- }), u = pt({
4213
+ }), d = pt({
4214
4214
  name: "FunctionToken",
4215
4215
  pattern: /[a-zA-Z_\u007F-\uFFFF]+[a-zA-Z0-9_.\u007F-\uFFFF]*(?=\()/
4216
- }), d = pt({
4216
+ }), p = pt({
4217
4217
  name: "TableReference",
4218
- pattern: { exec: I },
4218
+ pattern: { exec: r },
4219
4219
  line_breaks: !1,
4220
4220
  start_chars_hint: Wn
4221
- }), p = pt({
4221
+ }), f = pt({
4222
4222
  name: "BracketedString",
4223
- pattern: { exec: T },
4223
+ pattern: { exec: i },
4224
4224
  line_breaks: !1,
4225
4225
  start_chars_hint: [91],
4226
- longer_alt: [d, l]
4227
- }), f = (e) => (e ?? []).map((e) => e?.trim()).filter(Boolean).map((e) => e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")).map((e) => e + "|").join(""), m = (e) => e.replace(/[A-Za-z]/g, (e) => `[${e.toUpperCase()}${e.toLowerCase()}]`), E = pt({
4226
+ longer_alt: [p, u]
4227
+ }), m = (e) => (e ?? []).map((e) => e?.trim()).filter(Boolean).map((e) => e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")).map((e) => e + "|").join(""), E = (e) => e.replace(/[A-Za-z]/g, (e) => `[${e.toUpperCase()}${e.toLowerCase()}]`), T = pt({
4228
4228
  name: "LiteralError",
4229
- pattern: new RegExp(f(i.errorLiterals) + [
4229
+ pattern: new RegExp(m(s.errorLiterals) + [
4230
4230
  "#PARSE!",
4231
4231
  "#NULL!",
4232
4232
  "#DIV\\/0!",
@@ -4243,10 +4243,10 @@ var jn = class extends $n {
4243
4243
  "#BUSY!",
4244
4244
  "#PYTHON!",
4245
4245
  "#TIMEOUT!"
4246
- ].map(m).join("|"))
4246
+ ].map(E).join("|"))
4247
4247
  }), g = pt({
4248
4248
  name: "RefError",
4249
- pattern: new RegExp(f(i.errorRefs) + ["#REF!", "#NAME\\?"].map(m).join("|"))
4249
+ pattern: new RegExp(m(s.errorRefs) + ["#REF!", "#NAME\\?"].map(E).join("|"))
4250
4250
  }), O = pt({
4251
4251
  name: "SingleQuotedString",
4252
4252
  pattern: /'(''|[^'])*'/
@@ -4256,11 +4256,11 @@ var jn = class extends $n {
4256
4256
  }), R = pt({
4257
4257
  name: "Sheet",
4258
4258
  pattern: /[A-Za-z_.\d\u007F-\uFFFF]*!/
4259
- }), _ = /[a-zA-Z_\\\u007F-\uFFFF][a-zA-Z0-9_.?\\\u007F-\uFFFF]*:?/y, N = pt({
4259
+ }), I = /[a-zA-Z_\\\u007F-\uFFFF][a-zA-Z0-9_.?\\\u007F-\uFFFF]*:?/y, _ = pt({
4260
4260
  name: "NamedToken",
4261
4261
  pattern: { exec: (e, t) => {
4262
- _.lastIndex = t;
4263
- const n = _.exec(e);
4262
+ I.lastIndex = t;
4263
+ const n = I.exec(e);
4264
4264
  if (!n) return null;
4265
4265
  let i = n[0];
4266
4266
  const r = i.indexOf(".:");
@@ -4268,22 +4268,22 @@ var jn = class extends $n {
4268
4268
  } },
4269
4269
  line_breaks: !1,
4270
4270
  start_chars_hint: Wn
4271
- }), L = pt({
4271
+ }), N = pt({
4272
4272
  name: "Cell",
4273
4273
  pattern: { exec: qn(t, n) },
4274
4274
  line_breaks: !1,
4275
4275
  start_chars_hint: [36, ...Kn],
4276
- longer_alt: N
4277
- }), S = pt({
4276
+ longer_alt: _
4277
+ }), L = pt({
4278
4278
  name: "Column",
4279
4279
  pattern: { exec: Xn(t) },
4280
4280
  line_breaks: !1,
4281
4281
  start_chars_hint: [36, ...Kn],
4282
- longer_alt: N
4282
+ longer_alt: _
4283
4283
  }), C = pt({
4284
4284
  name: "AbsRow",
4285
4285
  pattern: /[$][0-9]+/
4286
- }), y = "." === a ? "\\." : a, k = pt({
4286
+ }), y = "." === h ? "\\." : h, k = pt({
4287
4287
  name: "NumberToken",
4288
4288
  pattern: new RegExp(`[0-9]+${y}(?!:)[0-9]*([eE][+-]?[0-9]+|\\*\\*[+-]?[0-9]+)?|${y}[0-9]+([eE][+-]?[0-9]+|\\*\\*[+-]?[0-9]+)?|[0-9]+[eE][+-]?[0-9]+`)
4289
4289
  }), v = pt({
@@ -4293,7 +4293,7 @@ var jn = class extends $n {
4293
4293
  name: "DigitToken",
4294
4294
  pattern: /[0-9]+/
4295
4295
  }), P = ["TRUE", "FALSE"];
4296
- for (const e of [i.booleanTrue, i.booleanFalse]) {
4296
+ for (const e of [s.booleanTrue, s.booleanFalse]) {
4297
4297
  const t = e?.trim();
4298
4298
  t && !P.some((e) => e.toLowerCase() === t.toLowerCase()) && P.push(t.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"));
4299
4299
  }
@@ -4302,13 +4302,13 @@ var jn = class extends $n {
4302
4302
  pattern: new RegExp(P.join("|"), "i")
4303
4303
  }), b = pt({
4304
4304
  name: "ArgSeparator",
4305
- pattern: Qn(r)
4305
+ pattern: Qn(o)
4306
4306
  }), U = pt({
4307
4307
  name: "ColSeparator",
4308
- pattern: Qn(s)
4308
+ pattern: Qn(a)
4309
4309
  }), w = pt({
4310
4310
  name: "RowSeparator",
4311
- pattern: Qn(o)
4311
+ pattern: Qn(c)
4312
4312
  }), F = pt({
4313
4313
  name: "RangeOp",
4314
4314
  pattern: /:/
@@ -4333,10 +4333,10 @@ var jn = class extends $n {
4333
4333
  }), W = pt({
4334
4334
  name: "CloseCurlyParen",
4335
4335
  pattern: /}/
4336
- }), H = pt({
4336
+ }), V = pt({
4337
4337
  name: "QuoteS",
4338
4338
  pattern: /'/
4339
- }), V = pt({
4339
+ }), H = pt({
4340
4340
  name: "MulOp",
4341
4341
  pattern: /\*(?!\*)/
4342
4342
  }), Y = pt({
@@ -4363,7 +4363,7 @@ var jn = class extends $n {
4363
4363
  }), ee = pt({
4364
4364
  name: "ArrayAnchorOp",
4365
4365
  pattern: /#/,
4366
- longer_alt: [E, g]
4366
+ longer_alt: [T, g]
4367
4367
  }), te = pt({
4368
4368
  name: "GtOp",
4369
4369
  pattern: />/
@@ -4374,39 +4374,39 @@ var jn = class extends $n {
4374
4374
  name: "LtOp",
4375
4375
  pattern: /</
4376
4376
  }), re = [
4377
- c,
4378
4377
  l,
4378
+ u,
4379
4379
  A,
4380
4380
  O,
4381
4381
  R,
4382
- u,
4383
4382
  d,
4384
4383
  p,
4385
- E,
4384
+ f,
4385
+ T,
4386
4386
  g,
4387
4387
  b,
4388
- ...s !== r ? [U] : [],
4388
+ ...a !== o ? [U] : [],
4389
4389
  w,
4390
4390
  D,
4391
4391
  B,
4392
4392
  $,
4393
4393
  F,
4394
- L,
4394
+ N,
4395
4395
  M,
4396
- S,
4396
+ L,
4397
4397
  C,
4398
4398
  k,
4399
4399
  v,
4400
4400
  x,
4401
4401
  ee,
4402
4402
  q,
4403
- N,
4403
+ _,
4404
4404
  j,
4405
4405
  G,
4406
4406
  K,
4407
4407
  W,
4408
- H,
4409
4408
  V,
4409
+ H,
4410
4410
  Y,
4411
4411
  z,
4412
4412
  X,
@@ -4433,7 +4433,7 @@ var jn = class extends $n {
4433
4433
  const se = {};
4434
4434
  re.forEach((e) => {
4435
4435
  se[e.name] = e;
4436
- }), s === r && (se.ColSeparator = b), this._vocabulary = se;
4436
+ }), a === o && (se.ColSeparator = b), this._vocabulary = se;
4437
4437
  }
4438
4438
  tokenize(t, n = !0) {
4439
4439
  const i = this._lexer.tokenize(t);
@@ -4477,7 +4477,7 @@ var jn = class extends $n {
4477
4477
  ];
4478
4478
  for (let t = 127; t <= 65535; t++) e.push(t);
4479
4479
  return e;
4480
- })(), Hn = /* @__PURE__ */ new WeakMap(), Vn = 16384, Yn = 1048576;
4480
+ })(), Vn = /* @__PURE__ */ new WeakMap(), Hn = 16384, Yn = 1048576;
4481
4481
  function zn(e, t, n) {
4482
4482
  let i = 0;
4483
4483
  for (let r = t; r < n; r++) {
@@ -4533,9 +4533,9 @@ function Qn(e) {
4533
4533
  return new RegExp(e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"));
4534
4534
  }
4535
4535
  var Zn = class {
4536
- constructor(e = h) {
4536
+ constructor(e = S) {
4537
4537
  const t = function(e) {
4538
- const t = [...O];
4538
+ const t = [...T];
4539
4539
  if (e) for (const n of Object.values(e)) {
4540
4540
  const e = n?.trim();
4541
4541
  e && !t.some((t) => t.toLowerCase() === e.toLowerCase()) && t.push(e);
@@ -4582,7 +4582,7 @@ var Zn = class {
4582
4582
  return this._lexer.tokenize(e);
4583
4583
  }
4584
4584
  }, Jn = class extends jn {
4585
- constructor(e = h) {
4585
+ constructor(e = S) {
4586
4586
  const t = new Zn(e), n = t.getVocabulary();
4587
4587
  super(n, {
4588
4588
  nodeLocationTracking: "none",
@@ -4606,13 +4606,13 @@ var Zn = class {
4606
4606
  }), c.RULE("ruleItem", () => c.OR([{ ALT: () => c.SUBRULE(c.ruleSpecifier) }, { ALT: () => c.SUBRULE(c.ruleColumnOrRange) }])), c.RULE("ruleSpecifier", () => c.OR([{ ALT: () => {
4607
4607
  const t = c.CONSUME(i);
4608
4608
  return c.ACTION(() => {
4609
- const n = d(t.image, e);
4609
+ const n = l(t.image, e);
4610
4610
  return n.image = t.image, n;
4611
4611
  });
4612
4612
  } }, { ALT: () => {
4613
4613
  const t = c.CONSUME(s);
4614
4614
  return c.ACTION(() => {
4615
- const n = d(t.image, e);
4615
+ const n = l(t.image, e);
4616
4616
  return n.image = t.image, n;
4617
4617
  });
4618
4618
  } }])), c.RULE("ruleColumnOrRange", () => {
@@ -4621,11 +4621,11 @@ var Zn = class {
4621
4621
  return c.OPTION(() => {
4622
4622
  t = c.CONSUME(o), n = c.CONSUME2(r);
4623
4623
  }), c.ACTION(() => {
4624
- const i = _(e.image);
4624
+ const i = g(e.image);
4625
4625
  if (i.image = e.image, !n) return i;
4626
- const r = _(n.image);
4626
+ const r = g(n.image);
4627
4627
  r.image = n.image;
4628
- const s = g(":", i, r, !0);
4628
+ const s = y(":", i, r, !0);
4629
4629
  return s.image = t?.image ?? ":", s;
4630
4630
  });
4631
4631
  }), c.performSelfAnalysis();
@@ -4642,23 +4642,23 @@ var Zn = class {
4642
4642
  if ("@" === n) {
4643
4643
  const e = t.slice(1).trim();
4644
4644
  if (!e) {
4645
- const e = l("@", null, !0);
4645
+ const e = s("@", null, !0);
4646
4646
  return e.image = "@", [e];
4647
4647
  }
4648
4648
  if ("[" === e.charAt(0)) {
4649
4649
  const t = this._parseInner(e);
4650
4650
  if (1 === t.length && "infix" === t[0].type) {
4651
- const e = l("@", t[0], !0);
4651
+ const e = s("@", t[0], !0);
4652
4652
  return e.image = "@", [e];
4653
4653
  }
4654
4654
  }
4655
- const n = _(e);
4655
+ const n = g(e);
4656
4656
  n.image = e;
4657
- const i = l("@", n, !0);
4657
+ const i = s("@", n, !0);
4658
4658
  return i.image = "@", [i];
4659
4659
  }
4660
4660
  if ("[" !== n && "#" !== n) {
4661
- const t = _(e);
4661
+ const t = g(e);
4662
4662
  return t.image = e, [t];
4663
4663
  }
4664
4664
  return this._parseInner(t);
@@ -4666,7 +4666,7 @@ var Zn = class {
4666
4666
  parse(e, t, n) {
4667
4667
  this.reset();
4668
4668
  const i = () => ({
4669
- root: u("", []),
4669
+ root: O("", []),
4670
4670
  errors: []
4671
4671
  });
4672
4672
  if (!n) return i();
@@ -4679,7 +4679,7 @@ var Zn = class {
4679
4679
  if (-1 === s) return i();
4680
4680
  const o = n.slice(0, s), a = n.slice(s + 1, -1), c = this._parseContent(a);
4681
4681
  return {
4682
- root: u(o, c),
4682
+ root: O(o, c),
4683
4683
  errors: this.errors.length > 0 ? [...this.errors] : []
4684
4684
  };
4685
4685
  }
@@ -4694,7 +4694,7 @@ var Zn = class {
4694
4694
  ":."
4695
4695
  ]), ni = (e) => {
4696
4696
  if (!e) return null;
4697
- if (e.type === E.Cell) {
4697
+ if (e.type === f.Cell) {
4698
4698
  const t = e.value;
4699
4699
  return t.rowIndex === Number.MIN_SAFE_INTEGER ? "col" : t.colIndex === Number.MIN_SAFE_INTEGER ? "row" : null;
4700
4700
  }
@@ -4725,8 +4725,8 @@ var ai = {
4725
4725
  }
4726
4726
  }, ci = class extends jn {
4727
4727
  constructor(e) {
4728
- const h = e?.lexer ?? Gn.shared(e?.lexerOptions), u = h.getVocabulary();
4729
- super(u, {
4728
+ const i = e?.lexer ?? Gn.shared(e?.lexerOptions), r = i.getVocabulary();
4729
+ super(r, {
4730
4730
  skipValidations: !0,
4731
4731
  recoveryEnabled: !0,
4732
4732
  ...e,
@@ -4734,46 +4734,46 @@ var ai = {
4734
4734
  errorMessageProvider: ai,
4735
4735
  maxLookahead: 1
4736
4736
  }), this._ruleInfixOp = this.RULE("ruleInfixOp", () => {
4737
- const { PlusOp: e, MinOp: t, MulOp: n, DivOp: i, ExOp: r, ConcatOp: o, GtOp: a, EqOp: h, LtOp: l, NeqOp: u, GteOp: d, LteOp: p } = this._vocab, f = [];
4738
- return f.push({ node: this.SUBRULE(this._rulePostfixOp) }), this.MANY(() => {
4739
- const s = this.OR(this._c1 || (this._c1 = [
4737
+ const { PlusOp: e, MinOp: t, MulOp: n, DivOp: i, ExOp: r, ConcatOp: s, GtOp: o, EqOp: a, LtOp: c, NeqOp: h, GteOp: l, LteOp: u } = this._vocab, d = [];
4738
+ return d.push({ node: this.SUBRULE(this._rulePostfixOp) }), this.MANY(() => {
4739
+ const f = this.OR(this._c1 || (this._c1 = [
4740
4740
  { ALT: () => this.CONSUME(e).image },
4741
4741
  { ALT: () => this.CONSUME(t).image },
4742
4742
  { ALT: () => this.CONSUME(n).image },
4743
4743
  { ALT: () => this.CONSUME(i).image },
4744
4744
  { ALT: () => this.CONSUME(r).image },
4745
+ { ALT: () => this.CONSUME(s).image },
4745
4746
  { ALT: () => this.CONSUME(o).image },
4746
4747
  { ALT: () => this.CONSUME(a).image },
4748
+ { ALT: () => this.CONSUME(c).image },
4747
4749
  { ALT: () => this.CONSUME(h).image },
4748
4750
  { ALT: () => this.CONSUME(l).image },
4749
- { ALT: () => this.CONSUME(u).image },
4750
- { ALT: () => this.CONSUME(d).image },
4751
- { ALT: () => this.CONSUME(p).image }
4751
+ { ALT: () => this.CONSUME(u).image }
4752
4752
  ])), m = {
4753
- value: s,
4753
+ value: f,
4754
4754
  index: this.getLexerPosition(),
4755
- isRange: c.includes(s)
4755
+ isRange: p.includes(f)
4756
4756
  }, E = this.SUBRULE2(this._rulePostfixOp);
4757
- f.push({
4757
+ d.push({
4758
4758
  op: m,
4759
4759
  node: E
4760
4760
  });
4761
4761
  }), this.ACTION(() => {
4762
- let e = f.length - 1;
4763
- const t = s.length;
4762
+ let e = d.length - 1;
4763
+ const t = L.length;
4764
4764
  for (let n = 0; e > 0 && n < t; n++) {
4765
- const t = s[n];
4765
+ const t = L[n];
4766
4766
  let i = 1;
4767
- for (; i < f.length;) {
4768
- const n = f[i].op;
4767
+ for (; i < d.length;) {
4768
+ const n = d[i].op;
4769
4769
  if (t.includes(n.value)) {
4770
- const t = f[i - 1].node, r = f[i].node;
4771
- let s = g(n.value, t, r, n.isRange);
4772
- s = this._tag(s, n.index), f[i - 1].node = s, f.splice(i, 1), e--;
4770
+ const t = d[i - 1].node, r = d[i].node;
4771
+ let s = y(n.value, t, r, n.isRange);
4772
+ s = this._tag(s, n.index), d[i - 1].node = s, d.splice(i, 1), e--;
4773
4773
  } else i++;
4774
4774
  }
4775
4775
  }
4776
- }), f[0].node;
4776
+ }), d[0].node;
4777
4777
  }), this._rulePlusMinusOp = this.RULE("rulePlusMinusOp", () => {
4778
4778
  const { PlusOp: e, MinOp: t } = this._vocab;
4779
4779
  return this.OR([{ ALT: () => this.CONSUME(e) }, { ALT: () => this.CONSUME(t) }]);
@@ -4789,8 +4789,8 @@ var ai = {
4789
4789
  }), this.ACTION(() => {
4790
4790
  const e = n.length;
4791
4791
  if (0 !== e) for (let i = 0; i < e; i++) {
4792
- const e = n[i], r = e[0], s = e[1], a = c.includes(r);
4793
- t = o(r, t, a), t = this._tag(t, s);
4792
+ const e = n[i], r = e[0], s = e[1], o = p.includes(r);
4793
+ t = v(r, t, o), t = this._tag(t, s);
4794
4794
  }
4795
4795
  }), t;
4796
4796
  }), this._rulePrefixOp = this.RULE("rulePrefixOp", () => {
@@ -4809,8 +4809,8 @@ var ai = {
4809
4809
  return this.ACTION(() => {
4810
4810
  const e = i.length;
4811
4811
  if (0 !== e) for (let t = e - 1; t >= 0; t--) {
4812
- const e = i[t], n = e[0], s = e[1], o = c.includes(n);
4813
- r = l(n, r, o), r = this._tag(r, s);
4812
+ const e = i[t], n = e[0], o = e[1], a = p.includes(n);
4813
+ r = s(n, r, a), r = this._tag(r, o);
4814
4814
  }
4815
4815
  }), r;
4816
4816
  }), this._ruleRangeOp = this.RULE("ruleRangeOp", () => {
@@ -4838,16 +4838,16 @@ var ai = {
4838
4838
  const t = s[e], n = s[e + 1];
4839
4839
  if (":" !== t.op?.value || ":" !== n.op?.value) continue;
4840
4840
  const i = ni(t.node);
4841
- i && ni(n.node) === i && ni(s[e - 1].node) !== i && (t.node = this._tag(g(":", t.node, n.node, !0), n.op.index), s.splice(e + 1, 1));
4841
+ i && ni(n.node) === i && ni(s[e - 1].node) !== i && (t.node = this._tag(y(":", t.node, n.node, !0), n.op.index), s.splice(e + 1, 1));
4842
4842
  }
4843
4843
  for (let e = 1; e < s.length; e++) {
4844
4844
  const t = s[e];
4845
4845
  if (void 0 !== t.anchor) {
4846
- s[0].node = this._tag(o("#", s[0].node, !0), t.anchor);
4846
+ s[0].node = this._tag(v("#", s[0].node, !0), t.anchor);
4847
4847
  continue;
4848
4848
  }
4849
4849
  const n = t.op;
4850
- let i = g(n.value, s[0].node, t.node, !0);
4850
+ let i = y(n.value, s[0].node, t.node, !0);
4851
4851
  i = this._tag(i, n.index), s[0].node = i;
4852
4852
  }
4853
4853
  }), s[0].node;
@@ -4861,7 +4861,7 @@ var ai = {
4861
4861
  },
4862
4862
  DEF: () => {
4863
4863
  this.CONSUME(e);
4864
- const i = this.getLexerPosition(), r = this.SUBRULE(this._ruleFunctionArguments), s = n, o = this.ACTION(() => this._tag(k(s, r), i)), a = this.OPTION(() => this.CONSUME(t));
4864
+ const i = this.getLexerPosition(), r = this.SUBRULE(this._ruleFunctionArguments), s = n, o = this.ACTION(() => this._tag(h(s, r), i)), a = this.OPTION(() => this.CONSUME(t));
4865
4865
  this.ACTION(() => {
4866
4866
  a || this._reportError(o, "Missing closing parenthesis ')'", i), this._tagClose(o, this.getLexerPosition()), n = o;
4867
4867
  });
@@ -4883,7 +4883,7 @@ var ai = {
4883
4883
  for (; e.length > 1;) {
4884
4884
  let t = e.length - 1;
4885
4885
  for (let n = 0; n < t; n++) {
4886
- const i = e[n], r = e[n + 1], s = g(" ", i, r, !0), o = this._tokenMap.get(i);
4886
+ const i = e[n], r = e[n + 1], s = y(" ", i, r, !0), o = this._tokenMap.get(i);
4887
4887
  o && delete o.tokenIndexClose;
4888
4888
  const a = this._tokenMap.get(r), c = a?.tokenIndex;
4889
4889
  if (void 0 !== c) {
@@ -4913,81 +4913,81 @@ var ai = {
4913
4913
  }), t;
4914
4914
  }), this._ruleParen = this.RULE("ruleParen", () => {
4915
4915
  const { OpenParen: e, CloseParen: t } = this._vocab;
4916
- return this._processParen(E.Paren, e, t);
4916
+ return this._processParen(f.Paren, e, t);
4917
4917
  }), this._ruleLiteralArray = this.RULE("ruleLiteralArray", () => {
4918
- const { OpenCurlyParen: e, CloseCurlyParen: t, ColSeparator: n, RowSeparator: i } = this._vocab;
4919
- let r = a();
4918
+ const { OpenCurlyParen: e, CloseCurlyParen: n, ColSeparator: i, RowSeparator: r } = this._vocab;
4919
+ let s = t();
4920
4920
  this.CONSUME(e);
4921
- const s = this.getLexerPosition();
4922
- let o = this.ACTION(() => this._tag(m(r), s));
4923
- const c = this.SUBRULE(this._ruleLiteralForArray);
4921
+ const o = this.getLexerPosition();
4922
+ let c = this.ACTION(() => this._tag(a(s), o));
4923
+ const h = this.SUBRULE(this._ruleLiteralForArray);
4924
4924
  this.ACTION(() => {
4925
- r.value.push(c);
4925
+ s.value.push(h);
4926
4926
  }), this.MANY(() => {
4927
4927
  let e = !1;
4928
4928
  this.OR([{ ALT: () => {
4929
- this.CONSUME(n), e = !0;
4930
- } }, { ALT: () => this.CONSUME(i) }]);
4931
- const t = this.SUBRULE2(this._ruleLiteralForArray);
4929
+ this.CONSUME(i), e = !0;
4930
+ } }, { ALT: () => this.CONSUME(r) }]);
4931
+ const n = this.SUBRULE2(this._ruleLiteralForArray);
4932
4932
  this.ACTION(() => {
4933
- e || (r = a(), o.value.push(r)), r.value.push(t);
4933
+ e || (s = t(), c.value.push(s)), s.value.push(n);
4934
4934
  });
4935
4935
  });
4936
- const h = this.OPTION(() => this.CONSUME(t));
4937
- return o = this.ACTION(() => (h || this._reportError(o, "Missing closing parenthesis '}'", s), this._tagClose(o, this.getLexerPosition()))), o;
4936
+ const l = this.OPTION(() => this.CONSUME(n));
4937
+ return c = this.ACTION(() => (l || this._reportError(c, "Missing closing parenthesis '}'", o), this._tagClose(c, this.getLexerPosition()))), c;
4938
4938
  }), this._ruleLiteralForArray = this.RULE("ruleLiteralForArray", () => {
4939
- const { StringToken: e, BooleanToken: t, LiteralError: i, RefError: s } = this._vocab;
4939
+ const { StringToken: e, BooleanToken: t, LiteralError: n, RefError: i } = this._vocab;
4940
4940
  return this.OR([
4941
4941
  { ALT: () => {
4942
- const e = this.OPTION(() => this.SUBRULE(this._rulePlusMinusOp)), t = this.SUBRULE(this._ruleNumber), n = this.ACTION(() => this._tag(y(t.image, this._locale), this.getLexerPosition()));
4943
- return this.ACTION(() => e ? p(e.image, n) : n);
4942
+ const e = this.OPTION(() => this.SUBRULE(this._rulePlusMinusOp)), t = this.SUBRULE(this._ruleNumber), n = this.ACTION(() => this._tag(_(t.image, this._locale), this.getLexerPosition()));
4943
+ return this.ACTION(() => e ? C(e.image, n) : n);
4944
4944
  } },
4945
4945
  { ALT: () => {
4946
4946
  const t = this.CONSUME(e);
4947
- return this.ACTION(() => this._tag(n(t.image), this.getLexerPosition()));
4947
+ return this.ACTION(() => this._tag(c(t.image), this.getLexerPosition()));
4948
4948
  } },
4949
4949
  { ALT: () => {
4950
4950
  const e = this.CONSUME(t);
4951
- return this.ACTION(() => this._tag(S(e.image, this._locale), this.getLexerPosition()));
4951
+ return this.ACTION(() => this._tag(A(e.image, this._locale), this.getLexerPosition()));
4952
4952
  } },
4953
4953
  { ALT: () => {
4954
- const e = this.CONSUME(i);
4955
- return this.ACTION(() => this._tag(L(e.image, this._locale), this.getLexerPosition()));
4954
+ const e = this.CONSUME(n);
4955
+ return this.ACTION(() => this._tag(k(e.image, this._locale), this.getLexerPosition()));
4956
4956
  } },
4957
4957
  { ALT: () => {
4958
- const e = this.CONSUME(s);
4959
- return this.ACTION(() => this._tag(r(e.image, this._locale), this.getLexerPosition()));
4958
+ const e = this.CONSUME(i);
4959
+ return this.ACTION(() => this._tag(R(e.image, this._locale), this.getLexerPosition()));
4960
4960
  } }
4961
4961
  ]);
4962
4962
  }), this._ruleLiteral = this.RULE("ruleLiteral", () => {
4963
- const { StringToken: e, BooleanToken: t, LiteralError: i, RefError: s } = this._vocab;
4963
+ const { StringToken: e, BooleanToken: t, LiteralError: n, RefError: i } = this._vocab;
4964
4964
  return this.OR([
4965
4965
  { ALT: () => {
4966
4966
  const e = this.SUBRULE(this._ruleNumber);
4967
- return this.ACTION(() => this._tag(y(e.image, this._locale), this.getLexerPosition()));
4967
+ return this.ACTION(() => this._tag(_(e.image, this._locale), this.getLexerPosition()));
4968
4968
  } },
4969
4969
  { ALT: () => {
4970
4970
  const t = this.CONSUME(e);
4971
- return this.ACTION(() => this._tag(n(t.image), this.getLexerPosition()));
4971
+ return this.ACTION(() => this._tag(c(t.image), this.getLexerPosition()));
4972
4972
  } },
4973
4973
  { ALT: () => {
4974
4974
  const e = this.CONSUME(t);
4975
- return this.ACTION(() => this._tag(S(e.image, this._locale), this.getLexerPosition()));
4975
+ return this.ACTION(() => this._tag(A(e.image, this._locale), this.getLexerPosition()));
4976
4976
  } },
4977
4977
  { ALT: () => {
4978
- const e = this.CONSUME(i);
4979
- return this.ACTION(() => this._tag(L(e.image, this._locale), this.getLexerPosition()));
4978
+ const e = this.CONSUME(n);
4979
+ return this.ACTION(() => this._tag(k(e.image, this._locale), this.getLexerPosition()));
4980
4980
  } },
4981
4981
  { ALT: () => {
4982
- const e = this.CONSUME(s);
4983
- return this.ACTION(() => this._tag(r(e.image, this._locale), this.getLexerPosition()));
4982
+ const e = this.CONSUME(i);
4983
+ return this.ACTION(() => this._tag(R(e.image, this._locale), this.getLexerPosition()));
4984
4984
  } }
4985
4985
  ]);
4986
4986
  }), this._ruleFunction = this.RULE("ruleFunction", () => {
4987
- const { FunctionToken: e, OpenParen: n, CloseParen: i } = this._vocab, r = this.CONSUME(e).image, s = this.getLexerPosition();
4988
- this.CONSUME(n);
4987
+ const { FunctionToken: e, OpenParen: t, CloseParen: i } = this._vocab, r = this.CONSUME(e).image, s = this.getLexerPosition();
4988
+ this.CONSUME(t);
4989
4989
  const o = this.SUBRULE(this._ruleFunctionArguments);
4990
- let a = this.ACTION(() => this._tag(t(r, o), s));
4990
+ let a = this.ACTION(() => this._tag(n(r, o), s));
4991
4991
  const c = this.OPTION(() => this.CONSUME(i));
4992
4992
  return a = this.ACTION(() => (c || this._reportError(a, "Missing closing parenthesis ')'", s), this._tagClose(a, this.getLexerPosition()))), a;
4993
4993
  }), this._ruleFunctionArguments = this.RULE("ruleFunctionArguments", () => {
@@ -4998,11 +4998,11 @@ var ai = {
4998
4998
  let t;
4999
4999
  this.OPTION2(() => {
5000
5000
  t = this.SUBRULE(this._ruleIntersectOp);
5001
- }), t = this.ACTION(() => t ?? this._tagClose(C(), this.getLexerPosition())), n.push(t), this.MANY(() => {
5001
+ }), t = this.ACTION(() => t ?? this._tagClose(m(), this.getLexerPosition())), n.push(t), this.MANY(() => {
5002
5002
  let t;
5003
5003
  this.CONSUME(e), this.OPTION3(() => {
5004
5004
  t = this.SUBRULE2(this._ruleIntersectOp);
5005
- }), t = this.ACTION(() => t ?? this._tagClose(C(), this.getLexerPosition())), n.push(t);
5005
+ }), t = this.ACTION(() => t ?? this._tagClose(m(), this.getLexerPosition())), n.push(t);
5006
5006
  });
5007
5007
  }
5008
5008
  }), n;
@@ -5021,14 +5021,14 @@ var ai = {
5021
5021
  return this._tag(e.root, n);
5022
5022
  });
5023
5023
  }), this._ruleReference = this.RULE("ruleReference", () => {
5024
- const { Sheet: e, SheetQuoted: t, DivOp: n, MulOp: s, PlusOp: o, MinOp: a, ArgSeparator: c, Cell: h, NamedToken: l, SingleQuotedString: u, Column: d, AbsRow: p, DigitToken: f, RefError: m } = this._vocab;
5024
+ const { Sheet: e, SheetQuoted: t, DivOp: n, MulOp: i, PlusOp: r, MinOp: s, ArgSeparator: o, Cell: a, NamedToken: c, SingleQuotedString: h, Column: l, AbsRow: u, DigitToken: p, RefError: m } = this._vocab;
5025
5025
  let T, g;
5026
5026
  this.OPTION2({
5027
5027
  GATE: () => {
5028
- for (let i = 1; i < 6; i++) {
5029
- const r = this.LA(i);
5030
- if (r.tokenType === e || r.tokenType === t) return !0;
5031
- if ("" === r.image || ")" === r.image || r.tokenType === n || r.tokenType === s || r.tokenType === o || r.tokenType === a || r.tokenType === c) break;
5028
+ for (let a = 1; a < 6; a++) {
5029
+ const c = this.LA(a);
5030
+ if (c.tokenType === e || c.tokenType === t) return !0;
5031
+ if ("" === c.image || ")" === c.image || c.tokenType === n || c.tokenType === i || c.tokenType === r || c.tokenType === s || c.tokenType === o) break;
5032
5032
  }
5033
5033
  return !1;
5034
5034
  },
@@ -5038,37 +5038,37 @@ var ai = {
5038
5038
  });
5039
5039
  let O = this.OR([
5040
5040
  { ALT: () => {
5041
- const e = this.CONSUME(h), t = this.getLexerPosition();
5042
- return this.ACTION(() => this._tag(A(e.image, this.rowIndex, this.colIndex), t));
5041
+ const e = this.CONSUME(a), t = this.getLexerPosition();
5042
+ return this.ACTION(() => this._tag(d(e.image, this.rowIndex, this.colIndex), t));
5043
5043
  } },
5044
5044
  { ALT: () => {
5045
- const e = this.OR2([{ ALT: () => this.CONSUME(l) }, { ALT: () => this.CONSUME(u) }]);
5046
- return this.ACTION(() => this._tag(N(e.image), this.getLexerPosition()));
5045
+ const e = this.OR2([{ ALT: () => this.CONSUME(c) }, { ALT: () => this.CONSUME(h) }]);
5046
+ return this.ACTION(() => this._tag(E(e.image), this.getLexerPosition()));
5047
5047
  } },
5048
5048
  { ALT: () => this.SUBRULE(this._ruleBracketedString) },
5049
5049
  { ALT: () => this.SUBRULE(this._ruleFunction) },
5050
5050
  { ALT: () => {
5051
- const e = this.CONSUME(d);
5052
- return this.ACTION(() => this._tag(v(e.image, this.colIndex), this.getLexerPosition()));
5051
+ const e = this.CONSUME(l);
5052
+ return this.ACTION(() => this._tag(N(e.image, this.colIndex), this.getLexerPosition()));
5053
5053
  } },
5054
5054
  { ALT: () => {
5055
- const e = this.CONSUME(p);
5056
- return this.ACTION(() => this._tag(i(e.image, this.rowIndex), this.getLexerPosition()));
5055
+ const e = this.CONSUME(u);
5056
+ return this.ACTION(() => this._tag(I(e.image, this.rowIndex), this.getLexerPosition()));
5057
5057
  } },
5058
5058
  { ALT: () => {
5059
- const e = this.CONSUME(f);
5060
- return this.ACTION(() => this._tag(i(e.image, this.rowIndex), this.getLexerPosition()));
5059
+ const e = this.CONSUME(p);
5060
+ return this.ACTION(() => this._tag(I(e.image, this.rowIndex), this.getLexerPosition()));
5061
5061
  } },
5062
5062
  { ALT: () => {
5063
5063
  const e = this.CONSUME(m);
5064
- return this.ACTION(() => this._tag(r(e.image, this._locale), this.getLexerPosition()));
5064
+ return this.ACTION(() => this._tag(R(e.image, this._locale), this.getLexerPosition()));
5065
5065
  } }
5066
5066
  ]);
5067
5067
  return this.ACTION(() => {
5068
5068
  if (T && O) {
5069
5069
  if ("" === T.name) return void this._reportError(O, `'${T.image}' is not a valid sheet reference — a '!' needs a sheet name before it`);
5070
5070
  let e = O;
5071
- if (O.type === E.Postfix && O.inputs?.[0] && (e = O.inputs[0]), e.type === E.Cell || e.type === E.Named || e.type === E.Row || e.type === E.TableColumn || e.type === E.Error) {
5071
+ if (O.type === f.Postfix && O.inputs?.[0] && (e = O.inputs[0]), e.type === f.Cell || e.type === f.Named || e.type === f.Row || e.type === f.TableColumn || e.type === f.Error) {
5072
5072
  e.value.scope = T.name, e.value.scopeImage = T.image;
5073
5073
  const t = this._tokenMap.get(e);
5074
5074
  t && void 0 !== g && (t.tokenIndex = g);
@@ -5114,48 +5114,48 @@ var ai = {
5114
5114
  return this.MANY(() => {
5115
5115
  this.CONSUME(e), n.push(this.SUBRULE2(this._ruleIntersectOp));
5116
5116
  }), this.ACTION(() => 0 === n.length ? t : {
5117
- type: E.List,
5117
+ type: f.List,
5118
5118
  value: ",",
5119
5119
  inputs: [t, ...n],
5120
5120
  isReference: !0
5121
5121
  });
5122
- }), this._lexer = h, this._locale = h.getLocale(), this._vocab = u, this._srParser = e?.srParser ?? new Jn(this._locale), this.performSelfAnalysis();
5122
+ }), this._lexer = i, this._locale = i.getLocale(), this._vocab = r, this._srParser = e?.srParser ?? new Jn(this._locale), this.performSelfAnalysis();
5123
5123
  }
5124
5124
  getLexer() {
5125
5125
  return this._lexer;
5126
5126
  }
5127
- parse(t, n, r) {
5128
- const s = this._lexer.tokenize(r);
5129
- let o;
5130
- if (!s) return {
5127
+ parse(t, n, i) {
5128
+ const r = this._lexer.tokenize(i);
5129
+ let s;
5130
+ if (!r) return {
5131
5131
  root: {
5132
- type: E.Unparsed,
5133
- value: r
5132
+ type: f.Unparsed,
5133
+ value: i
5134
5134
  },
5135
5135
  errors: []
5136
5136
  };
5137
- const a = s.tokens;
5137
+ const a = r.tokens;
5138
5138
  if (0 === a.length) throw new e.Parse(ri);
5139
- return this.input = a, this._inputText = r, this._inputTextLength = r.length, this.rowIndex = t, this.colIndex = n, this._astErrors = [], this._tokenMap = /* @__PURE__ */ new Map(), this.reset(), o = this._ruleRoot(), o && this._bindAllWhitespace(o), o = R(o, (e, n) => {
5140
- const r = e.type, s = n?.isReference ? n.value : void 0, o = "string" == typeof s && ei.has(s), a = "string" == typeof s && ti.has(s), c = o ? n.inputs : void 0, h = c ? c[0] === e ? c[1] : c[0] : void 0, l = this._lexer.getMaxRow();
5141
- if (o && r !== E.Cell && Number.isInteger(e.value)) {
5142
- const n = i(e.image, t);
5143
- return f(n, e), "row" !== ni(h) ? this._reportError(n, `'${e.image}' is not a valid reference — a whole row can only pair with another row (as in ${e.image}:${e.image})`) : ii(e.image, l) || this._reportError(n, `'${e.image}' is not a valid row — rows run from 1 to ${l}`), n;
5139
+ return this.input = a, this._inputText = i, this._inputTextLength = i.length, this.rowIndex = t, this.colIndex = n, this._astErrors = [], this._tokenMap = /* @__PURE__ */ new Map(), this.reset(), s = this._ruleRoot(), s && this._bindAllWhitespace(s), s = u(s, (e, n) => {
5140
+ const i = e.type, r = n?.isReference ? n.value : void 0, s = "string" == typeof r && ei.has(r), a = "string" == typeof r && ti.has(r), c = s ? n.inputs : void 0, h = c ? c[0] === e ? c[1] : c[0] : void 0, l = this._lexer.getMaxRow();
5141
+ if (s && i !== f.Cell && Number.isInteger(e.value)) {
5142
+ const n = I(e.image, t);
5143
+ return o(n, e), "row" !== ni(h) ? this._reportError(n, `'${e.image}' is not a valid reference — a whole row can only pair with another row (as in ${e.image}:${e.image})`) : ii(e.image, l) || this._reportError(n, `'${e.image}' is not a valid row — rows run from 1 to ${l}`), n;
5144
5144
  }
5145
- if (a && r === E.Named) return this._reportError(e, `'${e.image ?? e.value?.nameId}' is a name — '${s}' needs a cell or range on both sides`), e;
5146
- if (r === E.Cell) {
5145
+ if (a && i === f.Named) return this._reportError(e, `'${e.image ?? e.value?.nameId}' is a name — '${r}' needs a cell or range on both sides`), e;
5146
+ if (i === f.Cell) {
5147
5147
  const t = e.value, n = t.colIndex === Number.MIN_SAFE_INTEGER, i = t.rowIndex === Number.MIN_SAFE_INTEGER;
5148
5148
  if ((n || i) && ni(h) === (n ? "row" : "col")) return n && !ii(e.image, l) && this._reportError(e, `'${e.image}' is not a valid row — rows run from 1 to ${l}`), e;
5149
5149
  if (n || i || t.colIndex >= 16384) {
5150
- const r = N(e.image);
5151
- f(r, e);
5152
- const o = t.scope;
5153
- return o && (r.value.scope = o, r.value.scopeImage = t.scopeImage), n ? this._reportError(r, `'${e.image}' is not a valid reference — a row needs a column (use ${e.image}:${e.image} for the whole row)`) : i && e.image.includes("$") ? this._reportError(r, `'${e.image}' is not a valid reference — a whole column can only pair with another column (as in ${e.image}:${e.image})`) : a && this._reportError(r, `'${e.image}' is a name — '${s}' needs a cell or range on both sides`), r;
5150
+ const s = E(e.image);
5151
+ o(s, e);
5152
+ const c = t.scope;
5153
+ return c && (s.value.scope = c, s.value.scopeImage = t.scopeImage), n ? this._reportError(s, `'${e.image}' is not a valid reference — a row needs a column (use ${e.image}:${e.image} for the whole row)`) : i && e.image.includes("$") ? this._reportError(s, `'${e.image}' is not a valid reference — a whole column can only pair with another column (as in ${e.image}:${e.image})`) : a && this._reportError(s, `'${e.image}' is a name — '${r}' needs a cell or range on both sides`), s;
5154
5154
  }
5155
5155
  }
5156
5156
  return e;
5157
5157
  }), {
5158
- root: o,
5158
+ root: s,
5159
5159
  errors: [...this.errors, ...this._astErrors]
5160
5160
  };
5161
5161
  }
@@ -5211,7 +5211,7 @@ var ai = {
5211
5211
  _bindAllWhitespace(e) {
5212
5212
  if (e) {
5213
5213
  if (this._bindNodeWhitespace(e), e.inputs) for (const t of e.inputs) t && this._bindAllWhitespace(t);
5214
- if (e.type === E.Array && Array.isArray(e.value)) {
5214
+ if (e.type === f.Array && Array.isArray(e.value)) {
5215
5215
  for (const t of e.value) if (t && Array.isArray(t.value)) for (const e of t.value) e && this._bindAllWhitespace(e);
5216
5216
  }
5217
5217
  }