@sheetxl/mcp 0.8.0-beta.18 → 0.8.0-beta.19

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 (203) hide show
  1. package/assets/{BhHneZZ7gq4dRaEJ.js → -iaCg5U9jrEDEl_O.js} +1 -1
  2. package/assets/{BRQd_GNkeaBTl3Zr.js → 0hHP9xpWzhkDrCTL.js} +1 -1
  3. package/assets/{MfkAFluI0ZyU0UDV.js → 1bm0Yqgfehw1Z2QU.js} +9 -9
  4. package/assets/{DSDlxGN059KmkCxT.js → 2nx2Wljhbuct4aKx.js} +1 -1
  5. package/assets/{pg7E7B7ouG2qdZve.js → 7MIo82Ay8jEFMBH-.js} +1 -1
  6. package/assets/{CnLLwj7OCz4U71wa.js → ArL5bPq60ZcPcwU9.js} +1 -1
  7. package/assets/{DCHjwIx59QhiV2Zx.js → B6A2URH-mIs7J54h.js} +2 -2
  8. package/assets/{CDqOifqA400y7KQY.js → B7vRFm79CUJ1VvFw.js} +1 -1
  9. package/assets/{BQzUK7KiJeJpu-rK.js → B8Z4-80QEORmYOJ9.js} +1 -1
  10. package/assets/{BFGVZsstQm2MWi7Y.js → BGLlbVFS6J3lt9Lw.js} +1 -1
  11. package/assets/{D5wI7O_L6QVNXj5I.js → BHsQeg6najGesUM4.js} +1 -1
  12. package/assets/{CkO0JR629W2kcDMd.js → BPctZbHQFoqJNYzC.js} +2 -2
  13. package/assets/{Dhg0yeTmVfmRV5rK.js → BQkQNqRh5xxYhBy4.js} +1 -1
  14. package/assets/{Rpi4k7hMH8wPAIcB.js → BSNegq0YcivZJmkf.js} +1658 -1658
  15. package/assets/{DafqFM-FGeZJ_fzg.js → BTnTQBSbzYU7cwra.js} +1 -1
  16. package/assets/{CoQFpWEh4CUgcdwe.js → BUHEmX1fseJVV65_.js} +1 -1
  17. package/assets/{hLMlKg3lU36xZ6G6.js → Bbky1A_gIgE8i0Oy.js} +1 -1
  18. package/assets/{CL4BYdfIXgFQA8nY.js → BbvOmnXrmBNjeWjQ.js} +1 -1
  19. package/assets/{CT6kRDlkfvKq8XGZ.js → Bbxkz6vmyZJftTd-.js} +1 -1
  20. package/assets/{Ct8BhGWuqN5yOpUF.js → BcYdUKmFOf5rn2VZ.js} +1 -1
  21. package/assets/{BSvHkSY0R0EU0gC4.js → BfIJP4H3I51jnIVR.js} +1 -1
  22. package/assets/{BQsLqKWy17wy3znE.js → BgUHR-HVjZDY4SaH.js} +2 -2
  23. package/assets/{hvCnPO_Fu7Nqz0rs.js → BgVW1icycJewsx77.js} +1 -1
  24. package/assets/{BgGFX6QJ30T3seyX.js → Bgi6ubwGkGYsILci.js} +94 -94
  25. package/assets/{DbwDQlhCuGoasVUz.js → BiOrM24CFYL1JGFE.js} +2 -2
  26. package/assets/{DY1x1ZN7ZyE4OR1-.js → Bj1WHx6LIEq6RVGw.js} +8 -8
  27. package/assets/{CMXukie7sxP12H2E.js → Bk6A5eONxLTBIA_p.js} +4 -4
  28. package/assets/{BV11qLZKVWxFwVGV.js → Bk6SeqUJkn7ft1y1.js} +1 -1
  29. package/assets/{DN4zv4AjDxTsLFsA.js → BkhdNc3LdmcyAjwk.js} +9136 -9130
  30. package/assets/{DP-FzazhSKAvylUa.js → Bl77DvFa09DuVVuj.js} +137 -137
  31. package/assets/{Cv8UXBL7O7h1uMR8.js → Bpf9jHj5AFY9543y.js} +21 -21
  32. package/assets/{ARPN5UhoadZC1yqE.js → Bq6ocyztkvzKxMMC.js} +1 -1
  33. package/assets/{CLsD7YwSKAsliRZy.js → Bw2Nxye4Qj10uA3o.js} +1 -1
  34. package/assets/{CYUerpa6WB0Hc3fs.js → Bz1lp0mtNAoPuPve.js} +1 -1
  35. package/assets/{o9G5KuG1VkSazTvI.js → BzkTa7l_e7R--ejo.js} +402 -402
  36. package/assets/{BM-ax5N1GzF9KkI4.js → C06iKc7jZ6affk2m.js} +1 -1
  37. package/assets/{BatIfPAYElNTXVzb.js → C17Wflhw5IFSgFFY.js} +1 -1
  38. package/assets/{BMc-Hsrp_iifxzG_.js → C53f6C0pAU7_9FI-.js} +1 -1
  39. package/assets/{CmlxzZYM5hOAAcx5.js → C7Q4V5mU0wsErspO.js} +3 -3
  40. package/assets/{DjoFujVwGRAxviCF.js → CA_22AL82sRhLAko.js} +2 -2
  41. package/assets/{CzoexWLhnn08u05j.js → CBSSZrizrucIG_9i.js} +754 -757
  42. package/assets/{CLBxNjtPjuGX1KnU.js → CE4VYOniMmY8sXQ_.js} +1 -1
  43. package/assets/{DI_SAQ7hesioI9TW.js → CIOlYUuBZat8FhHa.js} +1 -1
  44. package/assets/{Dh2iae-q0IngEeyH.js → CIxf9Y_JsuEEO7Nu.js} +1 -1
  45. package/assets/{BQeb2zXfAs5lRoGt.js → CKvP54bJ4GkUqcZi.js} +3 -3
  46. package/assets/{Del35nO_1HyjItI0.js → CNPUPTd9h7hwijpZ.js} +69 -69
  47. package/assets/{D1pD8u8nRprUvn-u.js → CQZq4cA5kbES6htE.js} +1 -1
  48. package/assets/{BhJ1mH7pUONJScU7.js → CQiv3YkDRDxTjy0r.js} +31 -31
  49. package/assets/{BQ76ntZm9YFicjXj.js → CWHuM2GYuKmi0rZx.js} +1 -1
  50. package/assets/{DL3ms6Hf2uEGaMgH.js → CYTPpV3lqNGOwme7.js} +2 -2
  51. package/assets/{D2IMjoGcj5oz1Kr7.js → C_v4hb9WXIt639Cm.js} +1 -1
  52. package/assets/{Du9_Ajy9KvnwHApK.js → CcGrcjoI12MaDmwV.js} +2 -2
  53. package/assets/{CGGpkGg85FZsnYHc.js → Cgf5GQVN-D8SlQ7A.js} +15 -15
  54. package/assets/{CPkGFumcwSKh5zea.js → CiJq0zSDKpaKhL3y.js} +2 -2
  55. package/assets/{EDEUvF-L72a6fMCK.js → Cj4MYfqHewu8IOOL.js} +1 -1
  56. package/assets/{D0-I0aLr6w8IvxFD.js → CjoRkjB9NzS4LaFy.js} +1 -1
  57. package/assets/{B2C5njsdPylyQOCM.js → CjrzyKFdie6KYfsG.js} +3 -3
  58. package/assets/{Bi4pI6e3AwTjn-lQ.js → CkMXAUkUuJ2LJUBE.js} +1 -1
  59. package/assets/{VcmpHRbBIrw6av3U.js → CoXgI3MEnvkXeshj.js} +120 -120
  60. package/assets/{yBFl0kPv-nwFtG4Z.js → CqOzqRIQFCnEegoB.js} +1 -1
  61. package/assets/{XDQBri0_cS5paHej.js → CqvcgwQ0UcKndrhO.js} +2 -2
  62. package/assets/{C3PZVWI_SEXYrzVk.js → CrjUfkCuRaXUC8X8.js} +3 -3
  63. package/assets/{vXZw1AmMzswOZMiP.js → CubwsTFIaEVf039H.js} +1 -1
  64. package/assets/{nPoObUd0MvWI-j0F.js → Cur_-XiBPijLpwxX.js} +1 -1
  65. package/assets/{B7GE-6NROw0onnLD.js → Curuj_knAdRpMy1L.js} +157 -157
  66. package/assets/{8hZAYFV_v2KmJ_NL.js → Cz7tKgNBbnr4DZCb.js} +4 -4
  67. package/assets/{wZ-GQhOhikv-_3iQ.js → D-LrOz3Yvp17bUT8.js} +2 -2
  68. package/assets/{DWK-OKV0MErx-IrU.js → D005GbIBowRGfwed.js} +6 -6
  69. package/assets/{CPa4og3WQ7BgHrsO.js → D06A3fKIe3WCTFru.js} +28 -28
  70. package/assets/{C_UAskmm-u2Iw9Nl.js → D1ZekPxeTGzhFy2L.js} +1 -1
  71. package/assets/{BCeSyFXflYgNP_ES.js → D1kI9nJRL1RUF3-E.js} +1 -1
  72. package/assets/{Bz5ioWvl-Xl3xspC.js → D1nQ_BminCM0cyH0.js} +1 -1
  73. package/assets/{CiKd3BnRjhac2Hik.js → D4p9Pv82ECKCOlua.js} +1 -1
  74. package/assets/{Iv_Zbm3pMLOK2uxf.js → D5OYqo56iGB-5gFG.js} +1 -1
  75. package/assets/{10d0ZbYF23zeF8_1.js → D6fQheA4qCS5CxYQ.js} +1 -1
  76. package/assets/{DzEJwSC-_aavYiFd.js → D990KjcBrCaAEz5k.js} +1 -1
  77. package/assets/{CJoWPN_DsFbaGAiE.js → DAnSdO8615XsOPNe.js} +1 -1
  78. package/assets/{CNE-erNKNIT7bUb1.js → DFlL4pAqxaQ_hVe1.js} +30 -30
  79. package/assets/{DlWRvc1pLGPCRMwi.js → DHL-ZmN5GzB4pIrM.js} +1 -1
  80. package/assets/{CnCtLKkz0bdXIxn2.js → DIPDNtbm8FAru-FQ.js} +79 -79
  81. package/assets/{BEtUOCupmeICfGE1.js → DLJH6ppG9VHjHe_z.js} +3 -3
  82. package/assets/{F0HGXXl9AizCAcFy.js → DNtWf9lfGjzoB9Hy.js} +1 -1
  83. package/assets/{CQBFUsemb94zMBo6.js → DOg_zvSkhsKmw4q1.js} +3 -3
  84. package/assets/{BFcxaubQp1WMeknL.js → DS9HD6_BPxzdun0X.js} +4 -4
  85. package/assets/{BxizypreLEtLqpIc.js → DSNaHPvgqymqpsko.js} +1 -1
  86. package/assets/{BwQM6Q6HHQTXznpy.js → DT_kCIZ600UsFy4t.js} +2 -2
  87. package/assets/{DmCRCUmmkoRNCS9J.js → DXORLAVmseFlsxkG.js} +2 -2
  88. package/assets/{DcjJ_zTfdh6RqmVZ.js → DXe8SG12UJoGbbWR.js} +1 -1
  89. package/assets/{CWuPUrDsnBxboJ02.js → D_6TeeMN5zmoQPTm.js} +108 -108
  90. package/assets/{CvkibaXI8SOD22pw.js → Di_C31GTbBJ_xVOK.js} +1 -1
  91. package/assets/{DH7Rur7rNOYzv35r.js → DnMDfty7pU96BIEJ.js} +1 -1
  92. package/assets/{D5nleqRNvTcmN5_9.js → DngcuWO2cSuMCMu1.js} +1 -1
  93. package/assets/{DMGq2icilGiyfBTM.js → DppU35gFSUPaiCQH.js} +1 -1
  94. package/assets/{CcB4xmoUFWBbSISF.js → DrkfG324qZRPckuC.js} +1 -1
  95. package/assets/{SCOKwiDu6SYiQrQ0.js → Ds6LQkRDwXsJ-CFR.js} +1 -1
  96. package/assets/{CYcb-DojX92VNGzd.js → DtD0J-7IetHv5o6E.js} +3 -3
  97. package/assets/{DmUCKxOYIBM6DX64.js → DwWcXC4pUR3U2WXU.js} +1 -1
  98. package/assets/{rIReGgfQ90pzLAbU.js → DwcKSqV5YEBBA8hY.js} +1 -1
  99. package/assets/{B74Ls4nlmyBxWanf.js → DxKZjKyewqvj46S2.js} +2 -2
  100. package/assets/{B-6CmVJvxPNZB9bE.js → DxTzG7VM8v4WJ6cI.js} +1 -1
  101. package/assets/{Bi8ct8GYvMDKHCE3.js → EkavVNuGWG95UggH.js} +5 -5
  102. package/assets/{DKnwIboAj_Sg9aVP.js → GZJ4AFFt8qKRADOa.js} +2 -2
  103. package/assets/{VL-vwx7Pyw1zqIx9.js → Gd_0grQd-3D1VPXW.js} +1 -1
  104. package/assets/{BOdkvYo03yZ96iZt.js → HVm22OJ1gEeY8kii.js} +1 -1
  105. package/assets/{DMnhlFBJ2AlVx2_t.js → LV6tvjnxRzrWaFb8.js} +1 -1
  106. package/assets/{Bqq5Sl5E9ytcPJ3J.js → Ln7XTzksutZHFpml.js} +1 -1
  107. package/assets/{gAg9rL3U8fWUDeEb.js → Se9JmvmEtu4MfXJh.js} +38 -38
  108. package/assets/{9rJMq-cyOmajlBEQ.js → b6GPrIkdzfTW4f2j.js} +1 -1
  109. package/assets/{r9WSFw3a-_a5hlPm.js → bJ-XKvDf7IkAafUI.js} +3 -7
  110. package/assets/{D2sRTakzE5POMnhF.js → exNO4fmccU8Aq8cE.js} +65 -65
  111. package/assets/gCkru9Vv-Ban4DCD.js +14 -0
  112. package/assets/{BDNqot_JWBuVW_pC.js → ht0UxaAlRnuYUvpx.js} +1 -1
  113. package/assets/{BsYVa-oRhTLH6wnH.js → iP-shs7tsDGMVvQh.js} +1 -1
  114. package/assets/{Byd5zSRU6LWfL2No.js → jPim6WG_KS-ZDker.js} +1 -1
  115. package/assets/{NZeFs1MV5h-uMZqJ.js → mrif6ZBbTbZKYaLJ.js} +1 -1
  116. package/assets/{BrwNVveK5LvYkoGk.js → rT5f4v0Q_61nHkff.js} +1 -1
  117. package/assets/{BedBCvJP064ZYuO8.js → udbHvSLquJ5xGK3R.js} +2 -2
  118. package/assets/{D49iRcrfnODORRNC.js → vb-L2Q2jyjjgDvJy.js} +6 -6
  119. package/assets/{nnqtgWxMIc_Nc-IP.js → zEyWjY3NhC8w_spQ.js} +454 -454
  120. package/assets/{DwOPJ5TXttTx69oF.js → zkoJXSxpRzqfbG8k.js} +134 -134
  121. package/index.js +204 -204
  122. package/lib.js +1 -1
  123. package/licenses/dependencies.txt +59 -59
  124. package/package.json +2 -2
  125. package/screenshot-page/assets/{Di8Yn8O-rD9idC2h.js → 1yHlU53ypZZelMPx.js} +1 -1
  126. package/screenshot-page/assets/{C3QIYFX-vF_1DVmi.js → A_-Jwzwmm3lkcm2f.js} +11 -11
  127. package/screenshot-page/assets/{Btgo0VFTT0JxuaP3.js → B-8IMo2f1yGNXOyz.js} +86 -90
  128. package/screenshot-page/assets/{Cfs_rQCXBMVhJgat.js → BF6igzahAW9pl35p.js} +1 -1
  129. package/screenshot-page/assets/{C1lrvl0Ad1-NjWKG.js → BU5vg917ZnXC04e-.js} +2 -2
  130. package/screenshot-page/assets/{CaiPDssAQqXac5AG.js → BWDqL5_mwspr6CjI.js} +1 -1
  131. package/screenshot-page/assets/BX9VkTqZoroo08EG.js +13 -0
  132. package/screenshot-page/assets/BdDouZl3VrM4yBP5.js +2 -0
  133. package/screenshot-page/assets/{D1TqM0Bt65K6svMS.js → BqlVqRKpsFGl-elI.js} +23 -23
  134. package/screenshot-page/assets/{DNoZea7QMO9zB6D5.js → BuzI4z8RJGOw8BZD.js} +1 -1
  135. package/screenshot-page/assets/{DqXO_Zw1Cp7rAQ04.js → C7mXat-6esc1AmRD.js} +2 -2
  136. package/screenshot-page/assets/{D6WTzLygjgK85siu.js → CFl15-2FAF9f3V7L.js} +2 -2
  137. package/screenshot-page/assets/{C0F9BL11dkgzjp7Y.js → CJmdRzGWq0FZMrp5.js} +1 -1
  138. package/screenshot-page/assets/{CNFMt4XhKy4tlsUn.js → CLcTX_nmvaVPsxDl.js} +1 -1
  139. package/screenshot-page/assets/{BMf827t1Ul65MHd5.js → CQukCzhuewMuFOlO.js} +1 -1
  140. package/screenshot-page/assets/CZq2dMHs2MHHyyBl.js +1 -0
  141. package/screenshot-page/assets/CaTGa2NvuuE3qJAV.js +1 -0
  142. package/screenshot-page/assets/{F6yLCIlSWZ1lAUEp.js → Cb8ORg9ENgscK6yl.js} +2 -2
  143. package/screenshot-page/assets/{CM9cBiCjJIY64PWg.js → Chq6rvtA5qZAwYG4.js} +1 -1
  144. package/screenshot-page/assets/ClWDZixRy4DFZdI5.js +1 -0
  145. package/screenshot-page/assets/CmNlzN3DCl87wNU2.js +1 -0
  146. package/screenshot-page/assets/CoPUxkU9zZy0dXti.js +2 -0
  147. package/screenshot-page/assets/{Csjis_Fk8q4mSqdp.js → Cpwg3bWAqBBcgBmv.js} +2 -2
  148. package/screenshot-page/assets/{BwF-LAYFu91KqvJ8.js → CqogMOf7MzkOk7as.js} +2 -2
  149. package/screenshot-page/assets/{CpZHZoz3xpJMDWI0.js → CrUIo7hXByCWY7in.js} +1 -1
  150. package/screenshot-page/assets/Cv-YUArreXqhafcU.js +2 -0
  151. package/screenshot-page/assets/{DgtqX4DiBgkepVZZ.js → Cx1kZ2u_8JFV2Q8D.js} +1 -1
  152. package/screenshot-page/assets/{NDzpWLUA0pbyI-Rd.js → Cx9lvo3Q1xOwYkRK.js} +4 -4
  153. package/screenshot-page/assets/D0nZlczIH0ULuSyL.js +3 -0
  154. package/screenshot-page/assets/D1ZZiOS7_HFjpZCA.js +1 -0
  155. package/screenshot-page/assets/D23_69pojBfIh4nV.js +5 -0
  156. package/screenshot-page/assets/D24UBy2L73pOCPPw.js +1 -0
  157. package/screenshot-page/assets/D2q4M3I5Jmxm85P2.js +1 -0
  158. package/screenshot-page/assets/{D5kEl0N4l6MzdmTG.js → D6LmZnV2h3Kg7G3e.js} +1 -1
  159. package/screenshot-page/assets/{BYQZ8o8k3-MDoNat.js → D6Yv5cc1JE7DGd6j.js} +1 -1
  160. package/screenshot-page/assets/DAkSmFRVds51vhiy.js +1 -0
  161. package/screenshot-page/assets/DMhOGCTy8V0N14gY.js +1 -0
  162. package/screenshot-page/assets/{Bw4kRw8JKyNRlLE2.js → DUFPgv-3CtD_sCVO.js} +1 -1
  163. package/screenshot-page/assets/{B7u12-Sf0HF7g4wI.js → DeGMS3crYErjsRrw.js} +1 -1
  164. package/screenshot-page/assets/{Bwk0ScujWaYYqx5G.js → DegZKTNqt1LRnSxY.js} +1 -1
  165. package/screenshot-page/assets/{5TxlmdZxlCDkawVW.js → DjVxI3p3ssmCtYky.js} +1 -1
  166. package/screenshot-page/assets/Dt1A-DUBfvyouz_T.js +1 -0
  167. package/screenshot-page/assets/{iAWaCU0XkY0ktnNk.js → DwNHMH9f_lQyn50d.js} +1 -1
  168. package/screenshot-page/assets/{tPEJNcr51GaPfk3O.js → DwuLl9Ua1k8m9KcK.js} +1 -1
  169. package/screenshot-page/assets/EY31tFQrw7iYFrr6.js +4 -0
  170. package/screenshot-page/assets/{C3KvRJ_eXd6xnmlO.js → MzJpKWgPrxR1UN-Y.js} +1 -1
  171. package/screenshot-page/assets/{DGB9wBuDWt0bzTNE.js → RutPv2GFWmeBiWvn.js} +1 -1
  172. package/screenshot-page/assets/{DeyRZ5rprDbRbuf4.js → Tj3B5At0OAN3tDza.js} +1 -1
  173. package/screenshot-page/assets/fQ13z3k3bntY-jfw.js +1 -0
  174. package/screenshot-page/assets/oO6aFwepb3DDkGYF.js +39 -0
  175. package/screenshot-page/assets/{t4FRkJl27a0itCt6.js → pH9rKZYDE8xrhkC4.js} +1 -1
  176. package/screenshot-page/assets/qFyplGXRu7IepHio.js +1 -0
  177. package/screenshot-page/assets/w7IQEh1FiqZA6o5y.js +42 -0
  178. package/screenshot-page/assets/{DtihumgXQ7ETaN0A.js → zvxBjll3jnL0-vNn.js} +2 -2
  179. package/screenshot-page/index.html +11 -11
  180. package/types/scripting-api.json +7038 -7039
  181. package/types/scripting.d.ts +8 -15
  182. package/assets/LLdkCOYvtc1-vOsy.js +0 -14
  183. package/screenshot-page/assets/2XWoSsrRz2kognCK.js +0 -1
  184. package/screenshot-page/assets/BCOjWc-VhkuVoCVf.js +0 -1
  185. package/screenshot-page/assets/BqQ2A9WL6mcRxbSt.js +0 -2
  186. package/screenshot-page/assets/ByehV0cOs5aIySS-.js +0 -13
  187. package/screenshot-page/assets/C6vseMcEu3To1U6k.js +0 -4
  188. package/screenshot-page/assets/CafJ2T5GCjkumgLh.js +0 -1
  189. package/screenshot-page/assets/CijzqW2bsxOQdDxl.js +0 -2
  190. package/screenshot-page/assets/D6CzedWHXTesD55R.js +0 -1
  191. package/screenshot-page/assets/D7e00cCBTtcIRmjV.js +0 -1
  192. package/screenshot-page/assets/DTrnAtpccj55fGg5.js +0 -1
  193. package/screenshot-page/assets/DZ2zDgzt-mnhg3Kd.js +0 -1
  194. package/screenshot-page/assets/DaVBDkeZxbXnuyGz.js +0 -42
  195. package/screenshot-page/assets/DgNbqKuVd-Q170VZ.js +0 -2
  196. package/screenshot-page/assets/DjtXY9uxB3QP6hU3.js +0 -1
  197. package/screenshot-page/assets/Dv-4mfeFKIoD5jaY.js +0 -3
  198. package/screenshot-page/assets/HZAIE0lHXXFqlb2v.js +0 -1
  199. package/screenshot-page/assets/Lr2MYBmoCKMLBl_6.js +0 -5
  200. package/screenshot-page/assets/O-S3tcMip6iXUjQF.js +0 -1
  201. package/screenshot-page/assets/eV_6j-vFozPgfcjz.js +0 -1
  202. package/screenshot-page/assets/it1wnIFQtbJ4Dm8N.js +0 -1
  203. package/screenshot-page/assets/mCyh2440vZi8s1uY.js +0 -39
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.18
2
+ * @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.19
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 { d as e } from "./r9WSFw3a-_a5hlPm.js";
8
- import { $r as t, Ba as n, Ci as i, Ct as r, Da as s, Fa as o, Gt as a, Hi as c, Kr as h, Ln as l, Ni as u, S as d, Sn as p, W as f, Wn as m, Za as E, Zi as T, Zt as g, bn as O, do as A, gi as R, hr as I, in as _, kn as N, kr as L, or as S, pi as C, si as y, t as k, ya as v } from "./DN4zv4AjDxTsLFsA.js";
7
+ import { u as e } from "./bJ-XKvDf7IkAafUI.js";
8
+ import { An as t, Ba as n, Ci as i, Cn as r, Ct as s, Da as o, Fa as a, Gn as c, Gt as h, Hi as l, Ni as u, Rn as d, S as p, W as f, Za as m, Zi as E, Zt as T, do as g, ei as O, gi as A, hr as R, in as I, kr as _, or as N, pi as L, qr as S, si as C, t as y, xn as k, ya as v } from "./BkhdNc3LdmcyAjwk.js";
9
9
  function x(e) {
10
10
  console && console.error && console.error(`Error: ${e}`);
11
11
  }
@@ -4187,7 +4187,7 @@ var jn = class extends $n {
4187
4187
  }
4188
4188
  }, Gn = class t {
4189
4189
  static shared(e) {
4190
- const n = e?.locale ?? O, i = e?.maxColumn ?? Vn, r = e?.maxRow ?? Yn;
4190
+ const n = e?.locale ?? k, i = e?.maxColumn ?? Vn, r = e?.maxRow ?? Yn;
4191
4191
  let s = Hn.get(n);
4192
4192
  s || (s = /* @__PURE__ */ new Map(), Hn.set(n, s));
4193
4193
  const o = `${i}:${r}`;
@@ -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 ?? O;
4202
+ const t = e?.maxColumn ?? Vn, n = e?.maxRow ?? Yn, i = e?.locale ?? k;
4203
4203
  this._locale = i, this._maxColumn = t, this._maxRow = n;
4204
4204
  const { separatorFunction: r, separatorColumn: s, separatorRow: o, separatorDecimal: a } = i.separators;
4205
4205
  if (s === o) throw new Error(`FormulaLexer: separatorColumn and separatorRow must differ (both '${s}')`);
4206
- const c = pt({
4206
+ const h = 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
- }), h = pt({
4210
+ }), l = pt({
4211
4211
  name: "StringToken",
4212
4212
  pattern: /"(""|[^"])*"/
4213
- }), l = pt({
4213
+ }), u = pt({
4214
4214
  name: "FunctionToken",
4215
4215
  pattern: /[a-zA-Z_\u007F-\uFFFF]+[a-zA-Z0-9_.\u007F-\uFFFF]*(?=\()/
4216
- }), u = pt({
4216
+ }), d = pt({
4217
4217
  name: "TableReference",
4218
- pattern: { exec: m },
4218
+ pattern: { exec: c },
4219
4219
  line_breaks: !1,
4220
4220
  start_chars_hint: Wn
4221
- }), d = pt({
4221
+ }), p = pt({
4222
4222
  name: "BracketedString",
4223
- pattern: { exec: A },
4223
+ pattern: { exec: g },
4224
4224
  line_breaks: !1,
4225
4225
  start_chars_hint: [91],
4226
- longer_alt: [u, h]
4227
- }), p = (e) => (e ?? []).map((e) => e?.trim()).filter(Boolean).map((e) => e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")).map((e) => e + "|").join(""), f = (e) => e.replace(/[A-Za-z]/g, (e) => `[${e.toUpperCase()}${e.toLowerCase()}]`), E = pt({
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({
4228
4228
  name: "LiteralError",
4229
- pattern: new RegExp(p(i.errorLiterals) + [
4229
+ pattern: new RegExp(f(i.errorLiterals) + [
4230
4230
  "#PARSE!",
4231
4231
  "#NULL!",
4232
4232
  "#DIV\\/0!",
@@ -4243,24 +4243,24 @@ var jn = class extends $n {
4243
4243
  "#BUSY!",
4244
4244
  "#PYTHON!",
4245
4245
  "#TIMEOUT!"
4246
- ].map(f).join("|"))
4246
+ ].map(m).join("|"))
4247
4247
  }), T = pt({
4248
4248
  name: "RefError",
4249
- pattern: new RegExp(p(i.errorRefs) + ["#REF!", "#NAME\\?"].map(f).join("|"))
4250
- }), g = pt({
4249
+ pattern: new RegExp(f(i.errorRefs) + ["#REF!", "#NAME\\?"].map(m).join("|"))
4250
+ }), O = pt({
4251
4251
  name: "SingleQuotedString",
4252
4252
  pattern: /'(''|[^'])*'/
4253
- }), R = pt({
4253
+ }), A = pt({
4254
4254
  name: "SheetQuoted",
4255
4255
  pattern: /'(?:''|[^'])*?'!/
4256
- }), I = pt({
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,24 +4268,24 @@ 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
4283
- }), C = pt({
4282
+ longer_alt: _
4283
+ }), S = pt({
4284
4284
  name: "AbsRow",
4285
4285
  pattern: /[$][0-9]+/
4286
- }), y = "." === a ? "\\." : a, k = pt({
4286
+ }), C = "." === a ? "\\." : a, y = pt({
4287
4287
  name: "NumberToken",
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]+`)
4288
+ pattern: new RegExp(`[0-9]+${C}(?!:)[0-9]*([eE][+-]?[0-9]+|\\*\\*[+-]?[0-9]+)?|${C}[0-9]+([eE][+-]?[0-9]+|\\*\\*[+-]?[0-9]+)?|[0-9]+[eE][+-]?[0-9]+`)
4289
4289
  }), v = pt({
4290
4290
  name: "ScientificDigit",
4291
4291
  pattern: /[0-9]+\*\*[+-]?[0-9]+/
@@ -4374,14 +4374,14 @@ var jn = class extends $n {
4374
4374
  name: "LtOp",
4375
4375
  pattern: /</
4376
4376
  }), re = [
4377
- c,
4378
4377
  h,
4379
- R,
4380
- g,
4381
- I,
4382
4378
  l,
4379
+ A,
4380
+ O,
4381
+ R,
4383
4382
  u,
4384
4383
  d,
4384
+ p,
4385
4385
  E,
4386
4386
  T,
4387
4387
  b,
@@ -4391,16 +4391,16 @@ var jn = class extends $n {
4391
4391
  B,
4392
4392
  $,
4393
4393
  F,
4394
- L,
4394
+ N,
4395
4395
  M,
4396
+ L,
4396
4397
  S,
4397
- C,
4398
- k,
4398
+ y,
4399
4399
  v,
4400
4400
  x,
4401
4401
  ee,
4402
4402
  q,
4403
- N,
4403
+ _,
4404
4404
  j,
4405
4405
  G,
4406
4406
  K,
@@ -4533,9 +4533,9 @@ function Zn(e) {
4533
4533
  return new RegExp(e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"));
4534
4534
  }
4535
4535
  var Qn = class {
4536
- constructor(e = O) {
4536
+ constructor(e = k) {
4537
4537
  const t = function(e) {
4538
- const t = [..._];
4538
+ const t = [...I];
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 Qn = class {
4582
4582
  return this._lexer.tokenize(e);
4583
4583
  }
4584
4584
  }, Jn = class extends jn {
4585
- constructor(e = O) {
4585
+ constructor(e = k) {
4586
4586
  const t = new Qn(e), n = t.getVocabulary();
4587
4587
  super(n, {
4588
4588
  nodeLocationTracking: "none",
@@ -4590,7 +4590,7 @@ var Qn = class {
4590
4590
  skipValidations: !0,
4591
4591
  recoveryEnabled: !1
4592
4592
  }), this._lexer = t;
4593
- const { TableSpecifier: i, BracketedColumn: s, BareSpecifier: o, ColumnSep: a, ListSep: c } = n, h = this;
4593
+ const { TableSpecifier: i, BracketedColumn: r, BareSpecifier: o, ColumnSep: a, ListSep: c } = n, h = this;
4594
4594
  h.RULE("ruleContent", () => {
4595
4595
  const e = [], t = h.SUBRULE(h.ruleItem);
4596
4596
  return h.ACTION(() => {
@@ -4606,26 +4606,26 @@ var Qn = class {
4606
4606
  }), h.RULE("ruleItem", () => h.OR([{ ALT: () => h.SUBRULE(h.ruleSpecifier) }, { ALT: () => h.SUBRULE(h.ruleColumnOrRange) }])), h.RULE("ruleSpecifier", () => h.OR([{ ALT: () => {
4607
4607
  const t = h.CONSUME(i);
4608
4608
  return h.ACTION(() => {
4609
- const n = r(t.image, e);
4609
+ const n = s(t.image, e);
4610
4610
  return n.image = t.image, n;
4611
4611
  });
4612
4612
  } }, { ALT: () => {
4613
4613
  const t = h.CONSUME(o);
4614
4614
  return h.ACTION(() => {
4615
- const n = r(t.image, e);
4615
+ const n = s(t.image, e);
4616
4616
  return n.image = t.image, n;
4617
4617
  });
4618
4618
  } }])), h.RULE("ruleColumnOrRange", () => {
4619
- const e = h.CONSUME(s);
4619
+ const e = h.CONSUME(r);
4620
4620
  let t, n;
4621
4621
  return h.OPTION(() => {
4622
- t = h.CONSUME(a), n = h.CONSUME2(s);
4622
+ t = h.CONSUME(a), n = h.CONSUME2(r);
4623
4623
  }), h.ACTION(() => {
4624
- const i = R(e.image);
4624
+ const i = A(e.image);
4625
4625
  if (i.image = e.image, !n) return i;
4626
- const r = R(n.image);
4626
+ const r = A(n.image);
4627
4627
  r.image = n.image;
4628
- const s = S(":", i, r, !0);
4628
+ const s = N(":", i, r, !0);
4629
4629
  return s.image = t?.image ?? ":", s;
4630
4630
  });
4631
4631
  }), h.performSelfAnalysis();
@@ -4642,23 +4642,23 @@ var Qn = class {
4642
4642
  if ("@" === n) {
4643
4643
  const e = t.slice(1).trim();
4644
4644
  if (!e) {
4645
- const e = I("@", null, !0);
4645
+ const e = R("@", 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 = I("@", t[0], !0);
4651
+ const e = R("@", t[0], !0);
4652
4652
  return e.image = "@", [e];
4653
4653
  }
4654
4654
  }
4655
- const n = R(e);
4655
+ const n = A(e);
4656
4656
  n.image = e;
4657
- const i = I("@", n, !0);
4657
+ const i = R("@", n, !0);
4658
4658
  return i.image = "@", [i];
4659
4659
  }
4660
4660
  if ("[" !== n && "#" !== n) {
4661
- const t = R(e);
4661
+ const t = A(e);
4662
4662
  return t.image = e, [t];
4663
4663
  }
4664
4664
  return this._parseInner(t);
@@ -4666,7 +4666,7 @@ var Qn = class {
4666
4666
  parse(e, t, n) {
4667
4667
  this.reset();
4668
4668
  const i = () => ({
4669
- root: l("", []),
4669
+ root: d("", []),
4670
4670
  errors: []
4671
4671
  });
4672
4672
  if (!n) return i();
@@ -4679,7 +4679,7 @@ var Qn = 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: l(o, c),
4682
+ root: d(o, c),
4683
4683
  errors: this.errors.length > 0 ? [...this.errors] : []
4684
4684
  };
4685
4685
  }
@@ -4694,7 +4694,7 @@ var Qn = class {
4694
4694
  ":."
4695
4695
  ]), ni = (e) => {
4696
4696
  if (!e) return null;
4697
- if (e.type === p.Cell) {
4697
+ if (e.type === r.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 r = e?.lexer ?? Gn.shared(e?.lexerOptions), l = r.getVocabulary();
4729
- super(l, {
4728
+ const s = e?.lexer ?? Gn.shared(e?.lexerOptions), c = s.getVocabulary();
4729
+ super(c, {
4730
4730
  skipValidations: !0,
4731
4731
  recoveryEnabled: !0,
4732
4732
  ...e,
@@ -4734,10 +4734,11 @@ var ai = {
4734
4734
  errorMessageProvider: ai,
4735
4735
  maxLookahead: 1
4736
4736
  }), this._ruleInfixOp = this.RULE("ruleInfixOp", () => {
4737
- const { PlusOp: e, MinOp: n, MulOp: i, DivOp: r, ExOp: s, ConcatOp: o, GtOp: a, EqOp: c, LtOp: h, NeqOp: l, GteOp: u, LteOp: d } = this._vocab, p = [];
4738
- return p.push({ node: this.SUBRULE(this._rulePostfixOp) }), this.MANY(() => {
4739
- const t = 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 p = this.OR(this._c1 || (this._c1 = [
4740
4740
  { ALT: () => this.CONSUME(e).image },
4741
+ { ALT: () => this.CONSUME(t).image },
4741
4742
  { ALT: () => this.CONSUME(n).image },
4742
4743
  { ALT: () => this.CONSUME(i).image },
4743
4744
  { ALT: () => this.CONSUME(r).image },
@@ -4747,33 +4748,32 @@ var ai = {
4747
4748
  { ALT: () => this.CONSUME(c).image },
4748
4749
  { ALT: () => this.CONSUME(h).image },
4749
4750
  { ALT: () => this.CONSUME(l).image },
4750
- { ALT: () => this.CONSUME(u).image },
4751
- { ALT: () => this.CONSUME(d).image }
4751
+ { ALT: () => this.CONSUME(u).image }
4752
4752
  ])), f = {
4753
- value: t,
4753
+ value: p,
4754
4754
  index: this.getLexerPosition(),
4755
- isRange: E.includes(t)
4756
- }, m = this.SUBRULE2(this._rulePostfixOp);
4757
- p.push({
4755
+ isRange: m.includes(p)
4756
+ }, E = this.SUBRULE2(this._rulePostfixOp);
4757
+ d.push({
4758
4758
  op: f,
4759
- node: m
4759
+ node: E
4760
4760
  });
4761
4761
  }), this.ACTION(() => {
4762
- let e = p.length - 1;
4763
- const n = t.length;
4764
- for (let i = 0; e > 0 && i < n; i++) {
4765
- const n = t[i];
4766
- let r = 1;
4767
- for (; r < p.length;) {
4768
- const t = p[r].op;
4769
- if (n.includes(t.value)) {
4770
- const n = p[r - 1].node, i = p[r].node;
4771
- let s = S(t.value, n, i, t.isRange);
4772
- s = this._tag(s, t.index), p[r - 1].node = s, p.splice(r, 1), e--;
4773
- } else r++;
4762
+ let e = d.length - 1;
4763
+ const t = O.length;
4764
+ for (let n = 0; e > 0 && n < t; n++) {
4765
+ const t = O[n];
4766
+ let i = 1;
4767
+ for (; i < d.length;) {
4768
+ const n = d[i].op;
4769
+ if (t.includes(n.value)) {
4770
+ const t = d[i - 1].node, r = d[i].node;
4771
+ let s = N(n.value, t, r, n.isRange);
4772
+ s = this._tag(s, n.index), d[i - 1].node = s, d.splice(i, 1), e--;
4773
+ } else i++;
4774
4774
  }
4775
4775
  }
4776
- }), p[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], o = E.includes(r);
4793
- t = k(r, t, o), t = this._tag(t, s);
4792
+ const e = n[i], r = e[0], s = e[1], o = m.includes(r);
4793
+ t = y(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 = E.includes(n);
4813
- r = I(n, r, o), r = this._tag(r, s);
4812
+ const e = i[t], n = e[0], s = e[1], o = m.includes(n);
4813
+ r = R(n, r, o), r = this._tag(r, s);
4814
4814
  }
4815
4815
  }), r;
4816
4816
  }), this._ruleRangeOp = this.RULE("ruleRangeOp", () => {
@@ -4838,22 +4838,22 @@ 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(S(":", 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(N(":", 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(k("#", s[0].node, !0), t.anchor);
4846
+ s[0].node = this._tag(y("#", s[0].node, !0), t.anchor);
4847
4847
  continue;
4848
4848
  }
4849
4849
  const n = t.op;
4850
- let i = S(n.value, s[0].node, t.node, !0);
4850
+ let i = N(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;
4854
4854
  }), this._ruleCallOp = this.RULE("ruleCallOp", () => {
4855
- const { OpenParen: e, CloseParen: t } = this._vocab;
4856
- let n = this.SUBRULE(this._ruleFormula);
4855
+ const { OpenParen: e, CloseParen: n } = this._vocab;
4856
+ let i = this.SUBRULE(this._ruleFormula);
4857
4857
  return this.MANY({
4858
4858
  GATE: () => {
4859
4859
  const t = this.LA(0), n = this.LA(1);
@@ -4861,12 +4861,12 @@ 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(N(s, r), i)), a = this.OPTION(() => this.CONSUME(t));
4864
+ const r = this.getLexerPosition(), s = this.SUBRULE(this._ruleFunctionArguments), o = i, a = this.ACTION(() => this._tag(t(o, s), r)), c = this.OPTION(() => this.CONSUME(n));
4865
4865
  this.ACTION(() => {
4866
- a || this._reportError(o, "Missing closing parenthesis ')'", i), this._tagClose(o, this.getLexerPosition()), n = o;
4866
+ c || this._reportError(a, "Missing closing parenthesis ')'", r), this._tagClose(a, this.getLexerPosition()), i = a;
4867
4867
  });
4868
4868
  }
4869
- }), n;
4869
+ }), i;
4870
4870
  }), this._ruleIntersectOp = this.RULE("ruleIntersectOp", () => {
4871
4871
  const e = [this.SUBRULE(this._ruleInfixOp)];
4872
4872
  return this.MANY(() => {
@@ -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 = S(" ", i, r, !0), o = this._tokenMap.get(i);
4886
+ const i = e[n], r = e[n + 1], s = N(" ", 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,13 +4913,13 @@ 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(p.Paren, e, t);
4916
+ return this._processParen(r.Paren, e, t);
4917
4917
  }), this._ruleLiteralArray = this.RULE("ruleLiteralArray", () => {
4918
4918
  const { OpenCurlyParen: e, CloseCurlyParen: t, ColSeparator: n, RowSeparator: i } = this._vocab;
4919
- let r = s();
4919
+ let r = o();
4920
4920
  this.CONSUME(e);
4921
- const o = this.getLexerPosition();
4922
- let a = this.ACTION(() => this._tag(v(r), o));
4921
+ const s = this.getLexerPosition();
4922
+ let a = this.ACTION(() => this._tag(v(r), s));
4923
4923
  const c = this.SUBRULE(this._ruleLiteralForArray);
4924
4924
  this.ACTION(() => {
4925
4925
  r.value.push(c);
@@ -4930,25 +4930,25 @@ var ai = {
4930
4930
  } }, { ALT: () => this.CONSUME(i) }]);
4931
4931
  const t = this.SUBRULE2(this._ruleLiteralForArray);
4932
4932
  this.ACTION(() => {
4933
- e || (r = s(), a.value.push(r)), r.value.push(t);
4933
+ e || (r = o(), a.value.push(r)), r.value.push(t);
4934
4934
  });
4935
4935
  });
4936
4936
  const h = this.OPTION(() => this.CONSUME(t));
4937
- return a = this.ACTION(() => (h || this._reportError(a, "Missing closing parenthesis '}'", o), this._tagClose(a, this.getLexerPosition()))), a;
4937
+ return a = this.ACTION(() => (h || this._reportError(a, "Missing closing parenthesis '}'", s), this._tagClose(a, this.getLexerPosition()))), a;
4938
4938
  }), this._ruleLiteralForArray = this.RULE("ruleLiteralForArray", () => {
4939
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(c(t.image, this._locale), this.getLexerPosition()));
4943
- return this.ACTION(() => e ? o(e.image, n) : n);
4942
+ const e = this.OPTION(() => this.SUBRULE(this._rulePlusMinusOp)), t = this.SUBRULE(this._ruleNumber), n = this.ACTION(() => this._tag(l(t.image, this._locale), this.getLexerPosition()));
4943
+ return this.ACTION(() => e ? a(e.image, n) : n);
4944
4944
  } },
4945
4945
  { ALT: () => {
4946
4946
  const t = this.CONSUME(e);
4947
- return this.ACTION(() => this._tag(T(t.image), this.getLexerPosition()));
4947
+ return this.ACTION(() => this._tag(E(t.image), this.getLexerPosition()));
4948
4948
  } },
4949
4949
  { ALT: () => {
4950
4950
  const e = this.CONSUME(t);
4951
- return this.ACTION(() => this._tag(C(e.image, this._locale), this.getLexerPosition()));
4951
+ return this.ACTION(() => this._tag(L(e.image, this._locale), this.getLexerPosition()));
4952
4952
  } },
4953
4953
  { ALT: () => {
4954
4954
  const e = this.CONSUME(n);
@@ -4956,7 +4956,7 @@ var ai = {
4956
4956
  } },
4957
4957
  { ALT: () => {
4958
4958
  const e = this.CONSUME(i);
4959
- return this.ACTION(() => this._tag(L(e.image, this._locale), this.getLexerPosition()));
4959
+ return this.ACTION(() => this._tag(_(e.image, this._locale), this.getLexerPosition()));
4960
4960
  } }
4961
4961
  ]);
4962
4962
  }), this._ruleLiteral = this.RULE("ruleLiteral", () => {
@@ -4964,15 +4964,15 @@ var ai = {
4964
4964
  return this.OR([
4965
4965
  { ALT: () => {
4966
4966
  const e = this.SUBRULE(this._ruleNumber);
4967
- return this.ACTION(() => this._tag(c(e.image, this._locale), this.getLexerPosition()));
4967
+ return this.ACTION(() => this._tag(l(e.image, this._locale), this.getLexerPosition()));
4968
4968
  } },
4969
4969
  { ALT: () => {
4970
4970
  const t = this.CONSUME(e);
4971
- return this.ACTION(() => this._tag(T(t.image), this.getLexerPosition()));
4971
+ return this.ACTION(() => this._tag(E(t.image), this.getLexerPosition()));
4972
4972
  } },
4973
4973
  { ALT: () => {
4974
4974
  const e = this.CONSUME(t);
4975
- return this.ACTION(() => this._tag(C(e.image, this._locale), this.getLexerPosition()));
4975
+ return this.ACTION(() => this._tag(L(e.image, this._locale), this.getLexerPosition()));
4976
4976
  } },
4977
4977
  { ALT: () => {
4978
4978
  const e = this.CONSUME(n);
@@ -4980,16 +4980,16 @@ var ai = {
4980
4980
  } },
4981
4981
  { ALT: () => {
4982
4982
  const e = this.CONSUME(i);
4983
- return this.ACTION(() => this._tag(L(e.image, this._locale), this.getLexerPosition()));
4983
+ return this.ACTION(() => this._tag(_(e.image, this._locale), this.getLexerPosition()));
4984
4984
  } }
4985
4985
  ]);
4986
4986
  }), this._ruleFunction = this.RULE("ruleFunction", () => {
4987
4987
  const { FunctionToken: e, OpenParen: t, CloseParen: n } = this._vocab, i = this.CONSUME(e).image, r = this.getLexerPosition();
4988
4988
  this.CONSUME(t);
4989
4989
  const s = this.SUBRULE(this._ruleFunctionArguments);
4990
- let o = this.ACTION(() => this._tag(a(i, s), r));
4991
- const c = this.OPTION(() => this.CONSUME(n));
4992
- return o = this.ACTION(() => (c || this._reportError(o, "Missing closing parenthesis ')'", r), this._tagClose(o, this.getLexerPosition()))), o;
4990
+ let o = this.ACTION(() => this._tag(h(i, s), r));
4991
+ const a = this.OPTION(() => this.CONSUME(n));
4992
+ return o = this.ACTION(() => (a || this._reportError(o, "Missing closing parenthesis ')'", r), this._tagClose(o, this.getLexerPosition()))), o;
4993
4993
  }), this._ruleFunctionArguments = this.RULE("ruleFunctionArguments", () => {
4994
4994
  const { ArgSeparator: e, CloseParen: t } = this._vocab, i = [];
4995
4995
  return this.OPTION({
@@ -5021,29 +5021,29 @@ 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: r, PlusOp: s, MinOp: o, ArgSeparator: a, Cell: c, NamedToken: l, SingleQuotedString: u, Column: d, AbsRow: m, DigitToken: E, RefError: T } = this._vocab;
5025
- let O, A;
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: m, RefError: E } = this._vocab;
5025
+ let g, O;
5026
5026
  this.OPTION2({
5027
5027
  GATE: () => {
5028
5028
  for (let i = 1; i < 6; i++) {
5029
- const c = this.LA(i);
5030
- if (c.tokenType === e || c.tokenType === t) return !0;
5031
- if ("" === c.image || ")" === c.image || c.tokenType === n || c.tokenType === r || c.tokenType === s || c.tokenType === o || c.tokenType === a) break;
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;
5032
5032
  }
5033
5033
  return !1;
5034
5034
  },
5035
5035
  DEF: () => {
5036
- A = this.getLexerPosition() + 1, O = this.SUBRULE(this._rulePrefixSheetName);
5036
+ O = this.getLexerPosition() + 1, g = this.SUBRULE(this._rulePrefixSheetName);
5037
5037
  }
5038
5038
  });
5039
- let R = this.OR([
5039
+ let A = this.OR([
5040
5040
  { ALT: () => {
5041
- const e = this.CONSUME(c), t = this.getLexerPosition();
5041
+ const e = this.CONSUME(h), t = this.getLexerPosition();
5042
5042
  return this.ACTION(() => this._tag(i(e.image, this.rowIndex, this.colIndex), t));
5043
5043
  } },
5044
5044
  { ALT: () => {
5045
5045
  const e = this.OR2([{ ALT: () => this.CONSUME(l) }, { ALT: () => this.CONSUME(u) }]);
5046
- return this.ACTION(() => this._tag(h(e.image), this.getLexerPosition()));
5046
+ return this.ACTION(() => this._tag(S(e.image), this.getLexerPosition()));
5047
5047
  } },
5048
5048
  { ALT: () => this.SUBRULE(this._ruleBracketedString) },
5049
5049
  { ALT: () => this.SUBRULE(this._ruleFunction) },
@@ -5052,29 +5052,29 @@ var ai = {
5052
5052
  return this.ACTION(() => this._tag(f(e.image, this.colIndex), this.getLexerPosition()));
5053
5053
  } },
5054
5054
  { ALT: () => {
5055
- const e = this.CONSUME(m);
5056
- return this.ACTION(() => this._tag(g(e.image, this.rowIndex), this.getLexerPosition()));
5055
+ const e = this.CONSUME(p);
5056
+ return this.ACTION(() => this._tag(T(e.image, this.rowIndex), this.getLexerPosition()));
5057
5057
  } },
5058
5058
  { ALT: () => {
5059
- const e = this.CONSUME(E);
5060
- return this.ACTION(() => this._tag(g(e.image, this.rowIndex), this.getLexerPosition()));
5059
+ const e = this.CONSUME(m);
5060
+ return this.ACTION(() => this._tag(T(e.image, this.rowIndex), this.getLexerPosition()));
5061
5061
  } },
5062
5062
  { ALT: () => {
5063
- const e = this.CONSUME(T);
5064
- return this.ACTION(() => this._tag(L(e.image, this._locale), this.getLexerPosition()));
5063
+ const e = this.CONSUME(E);
5064
+ return this.ACTION(() => this._tag(_(e.image, this._locale), this.getLexerPosition()));
5065
5065
  } }
5066
5066
  ]);
5067
5067
  return this.ACTION(() => {
5068
- if (O && R) {
5069
- if ("" === O.name) return void this._reportError(R, `'${O.image}' is not a valid sheet reference — a '!' needs a sheet name before it`);
5070
- let e = R;
5071
- if (R.type === p.Postfix && R.inputs?.[0] && (e = R.inputs[0]), e.type === p.Cell || e.type === p.Named || e.type === p.Row || e.type === p.TableColumn || e.type === p.Error) {
5072
- e.value.scope = O.name, e.value.scopeImage = O.image;
5068
+ if (g && A) {
5069
+ if ("" === g.name) return void this._reportError(A, `'${g.image}' is not a valid sheet reference — a '!' needs a sheet name before it`);
5070
+ let e = A;
5071
+ if (A.type === r.Postfix && A.inputs?.[0] && (e = A.inputs[0]), e.type === r.Cell || e.type === r.Named || e.type === r.Row || e.type === r.TableColumn || e.type === r.Error) {
5072
+ e.value.scope = g.name, e.value.scopeImage = g.image;
5073
5073
  const t = this._tokenMap.get(e);
5074
- t && void 0 !== A && (t.tokenIndex = A);
5074
+ t && void 0 !== O && (t.tokenIndex = O);
5075
5075
  }
5076
5076
  }
5077
- }), R;
5077
+ }), A;
5078
5078
  }), this._rulePrefixSheetName = this.RULE("rulePrefixSheetName", () => {
5079
5079
  const { SheetQuoted: e, BracketedString: t, NamedToken: n, Column: i, RangeOp: r, Sheet: s } = this._vocab;
5080
5080
  return this.OR([{ ALT: () => {
@@ -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: p.List,
5117
+ type: r.List,
5118
5118
  value: ",",
5119
5119
  inputs: [t, ...n],
5120
5120
  isReference: !0
5121
5121
  });
5122
- }), this._lexer = r, this._locale = r.getLocale(), this._vocab = l, this._srParser = e?.srParser ?? new Jn(this._locale), this.performSelfAnalysis();
5122
+ }), this._lexer = s, this._locale = s.getLocale(), this._vocab = c, this._srParser = e?.srParser ?? new Jn(this._locale), this.performSelfAnalysis();
5123
5123
  }
5124
5124
  getLexer() {
5125
5125
  return this._lexer;
5126
5126
  }
5127
5127
  parse(t, n, i) {
5128
- const r = this._lexer.tokenize(i);
5129
- let s;
5130
- if (!r) return {
5128
+ const s = this._lexer.tokenize(i);
5129
+ let o;
5130
+ if (!s) return {
5131
5131
  root: {
5132
- type: p.Unparsed,
5132
+ type: r.Unparsed,
5133
5133
  value: i
5134
5134
  },
5135
5135
  errors: []
5136
5136
  };
5137
- const o = r.tokens;
5138
- if (0 === o.length) throw new e.Parse(ri);
5139
- return this.input = o, 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 = y(s, (e, n) => {
5140
- const i = e.type, r = n?.isReference ? n.value : void 0, s = "string" == typeof r && ei.has(r), o = "string" == typeof r && ti.has(r), a = s ? n.inputs : void 0, c = a ? a[0] === e ? a[1] : a[0] : void 0, l = this._lexer.getMaxRow();
5141
- if (s && i !== p.Cell && Number.isInteger(e.value)) {
5142
- const n = g(e.image, t);
5143
- return d(n, e), "row" !== ni(c) ? 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;
5137
+ const a = s.tokens;
5138
+ if (0 === a.length) throw new e.Parse(ri);
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(), o = this._ruleRoot(), o && this._bindAllWhitespace(o), o = C(o, (e, n) => {
5140
+ const i = 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 && i !== r.Cell && Number.isInteger(e.value)) {
5142
+ const n = T(e.image, t);
5143
+ return p(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 (o && i === p.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 === p.Cell) {
5145
+ if (a && i === r.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 (i === r.Cell) {
5147
5147
  const t = e.value, n = t.colIndex === Number.MIN_SAFE_INTEGER, i = t.rowIndex === Number.MIN_SAFE_INTEGER;
5148
- if ((n || i) && ni(c) === (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;
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 s = h(e.image);
5151
- d(s, e);
5152
- const a = t.scope;
5153
- return a && (s.value.scope = a, 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})`) : o && this._reportError(s, `'${e.image}' is a name — '${r}' needs a cell or range on both sides`), s;
5150
+ const r = S(e.image);
5151
+ p(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;
5154
5154
  }
5155
5155
  }
5156
5156
  return e;
5157
5157
  }), {
5158
- root: s,
5158
+ root: o,
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 === p.Array && Array.isArray(e.value)) {
5214
+ if (e.type === r.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
  }