@sheetxl/mcp 0.8.0-beta.25 → 1.0.0

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 (171) hide show
  1. package/assets/{UdhH9UX9jQ4IV11J.js → 0WuReGsjIpidu0Cr.js} +1 -1
  2. package/assets/{DG9KGapq8eHlcTC7.js → 13QanvzRbNib7VHR.js} +1 -1
  3. package/assets/{cU78RT4WJKAp5mU_.js → 2c1OYsVAy_w-ex-F.js} +1 -1
  4. package/assets/{CGS7apShLtnlmF8D.js → 8114GVvAL1oaiJLV.js} +1 -1
  5. package/assets/{BbfSzxx5EzAvn-_F.js → 8hLtXHueDl7B_SEn.js} +15 -15
  6. package/assets/{CCOaNx5_BfWCc9yz.js → 8mWHFnE0j-CaNsxr.js} +1 -1
  7. package/assets/{CVWoX7wNwrZwm5XB.js → B-b7HyruDF2gdj3R.js} +2 -2
  8. package/assets/{BAowTO-7Utmg0UvM.js → B3J6davzttys1e7l.js} +3 -3
  9. package/assets/{DcHvH_I64hbnNh9G.js → B3lrS_GHkG6Mw5pN.js} +1 -1
  10. package/assets/{BSJ_L1gNOejEih6N.js → B5rrqMYFybo3oW9k.js} +40 -40
  11. package/assets/{O8YGVK4vtz39jQ84.js → BB39UJoWw8tjThqY.js} +1 -1
  12. package/assets/{70weNsvW2LMx5QcW.js → BBF_CDIKB2NIXiHg.js} +1 -1
  13. package/assets/{D6qQAWN_5p3FAshK.js → BBLuTiY3V4MpFphK.js} +194 -194
  14. package/assets/{BHIi-cAKnh_sAifV.js → BBZUslaSLC0vlZEb.js} +1 -1
  15. package/assets/{B_GZxEqqpKtEPbWC.js → BCdXK-2-AE6FAdRs.js} +1 -1
  16. package/assets/{H40qXR3Gazmnq4Mv.js → BF0C-5gSMHWBXI_k.js} +1 -1
  17. package/assets/{Cb7FKT3S78r6IYHi.js → BKGTzaNNBlRh7ua3.js} +1 -1
  18. package/assets/BOa1dD_9H3g65WbP.js +14 -0
  19. package/assets/{V_VVW06vjWkmlbdh.js → BPlrBhzIqyWK19E2.js} +536 -536
  20. package/assets/{CAI8p60cuWlgnlko.js → BR4Wpxs0eSlaoLOl.js} +8 -8
  21. package/assets/{s56uiNHMGbBV6xgZ.js → BTB4fa2DU21pP7At.js} +1 -1
  22. package/assets/{DXVfJfT6ftWk5kYi.js → BTamKr78GfsihW1a.js} +137 -137
  23. package/assets/{Cu4ok_jTnQif8QtX.js → BVfjBXAMgo4u8Y72.js} +1 -1
  24. package/assets/{DkS3EQvuEuPDvCws.js → BaZAIwIrqn1x69WH.js} +2 -2
  25. package/assets/{COXWiXy3DCfmXSm5.js → Ban4yk1SYcz9Cs7n.js} +1 -1
  26. package/assets/{DQlLgxA592HvgKzh.js → BfB7Vq09p5uO-L88.js} +1 -1
  27. package/assets/{B940vbTfpMYACpDE.js → BfEmSaLbKgcjIIpn.js} +2 -2
  28. package/assets/{C-FJab2sVwBbOTiA.js → Bfpf9b1s1bWyBXIw.js} +1 -1
  29. package/assets/{H_6CBe3t27jHlBHk.js → BgHOi7rAHLhztiz-.js} +168 -168
  30. package/assets/{Ci3R5B7bLke8NZRo.js → BgN67gyTyx_xz2Ny.js} +6 -6
  31. package/assets/{BV13tLgNXZ8MDaE_.js → BhxIJ8xdUxyMPJ_m.js} +1 -1
  32. package/assets/{DYx_I-o0yjx056Dq.js → BlMUrEA8V2S2KH0D.js} +1 -1
  33. package/assets/{Abkx7KJ6_X5avkR4.js → BloJ-e8xad1b_H7X.js} +3 -3
  34. package/assets/{DpGFb3hbAT5Murcv.js → Bm-wDNSoT-3JD2bJ.js} +1 -1
  35. package/assets/{D7NjohknztgMLqhT.js → BoE9cj92LVH2LLy0.js} +2 -2
  36. package/assets/{xSUMX6J9-MJIGgmG.js → BqH4txhrgR2S-2ji.js} +2 -2
  37. package/assets/{DwmlBb640xWfAMV2.js → BrHXHm2FNXsL53bo.js} +2 -2
  38. package/assets/{CSMsn9bKgR9kWG0m.js → BuFb0lPxYlHccrD9.js} +1 -1
  39. package/assets/{CX-KrjVgXM-7o--S.js → ByGn4tk2SE1MH_sZ.js} +2 -2
  40. package/assets/{C9DvPNfuz_0hun6C.js → C1IE0F-y65XqEYRl.js} +1 -1
  41. package/assets/{Brlza6Jd2oGGX9vB.js → C1JeIUEWW-RL1Rnu.js} +1 -1
  42. package/assets/{Bb7ZxgjHwiKgARXs.js → C2sDVxKGBNlTFg6y.js} +1 -1
  43. package/assets/{kmiMiNIUc6rS8DG8.js → C30apcFVvDHn2M4R.js} +4 -4
  44. package/assets/{V4pGXJr6fe-CPg7i.js → C3c2PUtIo-aWbjw4.js} +1 -1
  45. package/assets/{BW8ReYzx-CEJ-lAG.js → C4C3Ot0xeo1O0wm5.js} +1 -1
  46. package/assets/{DQBqVPRLkZFb2P_x.js → C8zzCf71C976X7SG.js} +2 -2
  47. package/assets/{DkT0-_t9Xgp4l-Mh.js → CCS6r_ru_-bq12nu.js} +1 -1
  48. package/assets/{DRvzD5Tkcb2OU0G2.js → CDDtXZTG6nNFBQZP.js} +1 -1
  49. package/assets/{B6e_DsVO4i91IYEO.js → CEa6wNiDRZrans9S.js} +3 -3
  50. package/assets/{DHCl7HWDbT3xqx8W.js → CF1fqmS030ry2XQ0.js} +2 -2
  51. package/assets/{cTLYCAhDs2fR2ITC.js → CFqF3aUKvOGFOK9O.js} +1 -1
  52. package/assets/{CGdayif_qNMtoATI.js → CI8Pu3ko8VzQYdRD.js} +1 -1
  53. package/assets/{C2kYWrsx5mg4XOES.js → CICMJpasl9o4FaZi.js} +1 -1
  54. package/assets/{BXxUz-sB48Z9nSFi.js → CJcyMzG19TOjqNHS.js} +1 -1
  55. package/assets/{BHeXL-Lo390ZSNV0.js → CJoREr6-3iOl7iU_.js} +1 -1
  56. package/assets/{DfaQvLAaU7HHPnSe.js → CMd7aLIwOA7bxcZm.js} +112 -112
  57. package/assets/{CDiutOsLAzu4c0Ej.js → CNikOloX_losH8Nz.js} +1 -1
  58. package/assets/{CYtkZMCX6dyEqjb9.js → CRZMD-wS-944FnD_.js} +4 -4
  59. package/assets/{C-Vt758qtn8QeCrw.js → CRlLpD9cfhJ9Ov9L.js} +1 -1
  60. package/assets/{Cmf4eJow6AIuPH_w.js → CS07BBUu6ZtXk4TZ.js} +1 -1
  61. package/assets/{ClRgSo0axU3lAOwR.js → CX-LNahzNZRc78er.js} +1 -1
  62. package/assets/{BktUuVP0Jew8_-ff.js → CY3Lmr-fgs6NqXRp.js} +1 -1
  63. package/assets/{BzU8BhgrkSoh-XJF.js → CbkCnjWs7Fpj5iQY.js} +8 -8
  64. package/assets/{DbHVXEt9qwlb8Gou.js → CdbucPAmUkkc5pcM.js} +21 -21
  65. package/assets/{m9BgbF-NgPIYW4kc.js → CfBJzpZuy1o216iZ.js} +1 -1
  66. package/assets/{DX94YgmfoL_ngS60.js → CoSNTR-pg7BZAU7o.js} +1 -1
  67. package/assets/{u8xtjHo43n-S_O6j.js → CpoqmW4E7rFdkRpf.js} +1 -1
  68. package/assets/{xMi-tFxI2s6e18L1.js → Cs1df4D35bBjqyvX.js} +1 -1
  69. package/assets/{BzLwCwXsh7eXQpeK.js → CsPyLus3kh4QnahD.js} +1 -1
  70. package/assets/{DZOzgVEOXfHTE3YC.js → Cwe_kiigxAfceEK9.js} +1 -1
  71. package/assets/{DaB9iRVJj3TmKH92.js → CwzSgovxnBMrgLmJ.js} +3 -3
  72. package/assets/{DJlQxf99HCszeCCD.js → D31pY9r4JAFWw3E4.js} +1 -1
  73. package/assets/DCWHNfq5qCxvALwe.js +199 -0
  74. package/assets/{DAnTpFc2vx3CmP8e.js → DF9WfdyjHuCpsEXh.js} +25 -25
  75. package/assets/{APcHum0Riw3QhLBQ.js → DOIpXsEXCaI-8VwJ.js} +1 -1
  76. package/assets/{DgE30NwKzEjZI1W6.js → DOXj80NXiglJXsMZ.js} +3 -3
  77. package/assets/{BNvsIyBwweYnfUz3.js → DQ2vEDfVfsIGSmId.js} +1 -1
  78. package/assets/{CcTDxlAqw6HuYmmm.js → DQtnL5nOzSzVJhit.js} +70 -70
  79. package/assets/{BFKj2ik7h-yM6oCR.js → DRcmbp80jMRjxelW.js} +1 -1
  80. package/assets/{DLW76uSURiQM07DD.js → DRy0AcTiSKQY3bih.js} +1 -1
  81. package/assets/{45FAgD1JyG2a1Rti.js → DWr6GqsnMpLwSUno.js} +2 -2
  82. package/assets/{Bwk-CZuGiTRT2ox_.js → DXrX5tIZ1J5BhpFk.js} +4 -4
  83. package/assets/{BtNEVWQWEp_Ie1nT.js → DZxHk5oKIVvu3iJR.js} +496 -496
  84. package/assets/{DBgHcEP-FcgSHLvx.js → Da0CtWhc7saaOdER.js} +212 -212
  85. package/assets/{Duw8QQGcrPmesb-M.js → Dbi1_JHT_4u0nhwc.js} +1 -1
  86. package/assets/{ckvxz2tZRlY1UPpg.js → Dcw7GSCgw_dgsum7.js} +9974 -10023
  87. package/assets/{BBccc8pDH-6AJdoT.js → DfuY8GdoSk8LxDFW.js} +5 -5
  88. package/assets/{CFrOPd_UcD7qclCq.js → DlARYdaCOVKiQzMH.js} +1 -1
  89. package/assets/{BD3Bc7ZHxenj4S7Q.js → DngX5ZuqqFGTp44B.js} +1 -1
  90. package/assets/{DZBfVpnngvY9Ra3C.js → DpwdC4SN_VYB9_ho.js} +1 -1
  91. package/assets/{DUfrvQDZKh_22F91.js → Dst0tyK__q2Q_AKk.js} +1 -1
  92. package/assets/{CfWSdzSpbErVA_1h.js → DvHZEP1wpb6549uf.js} +395 -395
  93. package/assets/{ixHQtoul8ubEJfWS.js → DzYvbv5u7E2H7IoB.js} +1 -1
  94. package/assets/{D5aWcMLJ2wyLm9Ws.js → G489eYf-lt3D1riX.js} +1 -1
  95. package/assets/{DbXqd8hGNQEyS-s0.js → L42Y17f0HUEpfS6U.js} +1 -1
  96. package/assets/{irrAIfw6CnCOHmPE.js → O3m_QwxIRXMPFTB8.js} +1 -1
  97. package/assets/{GfAXkT_vctdRX_9f.js → P3Or6rEY-fHmQZbH.js} +15 -15
  98. package/assets/{DcHo7BC8Ny3hWq0j.js → PAzPVx_0jajb_7cO.js} +2 -2
  99. package/assets/{DXDhH3F4N4OOigqN.js → PvRzzufo1V8BuC-I.js} +1 -1
  100. package/assets/Sm1ouHLiXlCuQVKV.js +304 -0
  101. package/assets/{D053O1kZ7JtMwiqh.js → WC-THJfezYSFdiMF.js} +1 -1
  102. package/assets/{Cplall3oc-_3AhCB.js → YK80feN98r6GVZv5.js} +1 -1
  103. package/assets/{COZ-bhj463kGINFA.js → cl0C9YlF3Ds-lHps.js} +1 -1
  104. package/assets/{TqxFLhPz3zbgi95t.js → eExV3IoVMxYkv5GO.js} +1 -1
  105. package/assets/{LQNEL4KjDxwZNwWq.js → g3TrQtFS0qJZeshT.js} +241 -241
  106. package/assets/{HLtC2gb8SfNmJU5q.js → gf6l-4XXMXtq8hpJ.js} +5 -5
  107. package/assets/{VkeNTI1TMsA1ZbGz.js → hiKRbrdbpmJglbWC.js} +3 -3
  108. package/assets/{DvkgborRc2vRq8E-.js → j4zqu8S2Be_yum7W.js} +1 -1
  109. package/assets/{C6Vsz4e_ASJdx3LP.js → jNZ7exipVCGRPbzr.js} +1 -1
  110. package/assets/{DunKnm-bQd0oHn9n.js → kThU6e6dkzEoaK6n.js} +2 -2
  111. package/assets/{Djl7cjJyCIS_Qvbd.js → knMcDWv3xN7yJBTT.js} +1 -1
  112. package/assets/{D8cqT2lbcP5Yp1Or.js → ov7L79VlksT4fw7T.js} +3 -3
  113. package/assets/{DZTVTdrwu05fNZk_.js → pLM8Pxl1CscUdvMh.js} +1 -1
  114. package/assets/{u9le-qZ3tbYKK1kU.js → pfa2CH5NQuzku6FP.js} +2 -2
  115. package/assets/{DlOCT6DI5bhPtQ8j.js → q6advQx4x6PXvl0i.js} +31 -31
  116. package/assets/{DB2MrmDLZ-OzVRQu.js → qVBjd-c5B8neljc0.js} +2 -2
  117. package/assets/{eCD6fmcTsgv76IZm.js → rlgXnCh6A88ozBRz.js} +4 -4
  118. package/assets/{DFd0JAiw5dkbnULM.js → rzi2XAwlfy8BsGEa.js} +1 -1
  119. package/assets/{B0FfnXdiZxExcdjB.js → xGASRbzSVVKfEAh-.js} +2 -2
  120. package/assets/{D8wjcRGgRdU34Ata.js → ybnQoU8_KttlHjiy.js} +1 -1
  121. package/index.js +105 -105
  122. package/lib.js +1 -1
  123. package/licenses/dependencies.txt +90 -90
  124. package/package.json +2 -2
  125. package/screenshot-page/assets/-HdF7KAN8PKqrASL.js +1 -0
  126. package/screenshot-page/assets/{CFS0h-wE9YlZRk_1.js → B-E9Dzx1wh9RA2yC.js} +1 -1
  127. package/screenshot-page/assets/B39YZkEvc1U8ZQ8H.js +2 -0
  128. package/screenshot-page/assets/B8Dy_WA9RlWuvMqF.js +4 -0
  129. package/screenshot-page/assets/BAzHRU12l2vyyXq-.js +39 -0
  130. package/screenshot-page/assets/{CCYEWK5QyGSnUAfh.js → BOF6KOmT8mH_NQnA.js} +1 -1
  131. package/screenshot-page/assets/{DbnmgPTSEii4OGkB.js → BfkbiKKbYlPpRZqZ.js} +1 -1
  132. package/screenshot-page/assets/{BVnzv_sY_58zEJyM.js → BhHceo22V3IBfap0.js} +1 -1
  133. package/screenshot-page/assets/BrEXXxB9tAI5mmZP.js +1 -0
  134. package/screenshot-page/assets/{CKdQfdZJGJFgnrr9.js → BwYQTcPRDDYIeAA5.js} +11 -11
  135. package/screenshot-page/assets/ByyC3p23DsLAbUpr.js +1 -0
  136. package/screenshot-page/assets/{D-jd_TJCN7AAn125.js → BzI5CCx73aXausKb.js} +8 -8
  137. package/screenshot-page/assets/{D98PlIA4qQ_6ciCu.js → CAKBmg6tXRtjEWgb.js} +2 -2
  138. package/screenshot-page/assets/{CRtk9ixuBWxhPfPU.js → CGNsyKbDXXz9qMa2.js} +1 -1
  139. package/screenshot-page/assets/CGZYePkVGI5DPBBY.js +1 -0
  140. package/screenshot-page/assets/{D53hpXNHxIgSWl80.js → CJAgr6wyQGYAd3ZV.js} +1 -1
  141. package/screenshot-page/assets/CWA4xGjOeBuxJOzW.js +3 -0
  142. package/screenshot-page/assets/CX-ITg5RXdV2cefd.js +13 -0
  143. package/screenshot-page/assets/{CMryHLEhCyKGuRSW.js → Cg9eIWL8fPmeZFHG.js} +4 -4
  144. package/screenshot-page/assets/{MqGbtsji4DVGCAMR.js → Cq1EzIAt4dHBkzfP.js} +1 -1
  145. package/screenshot-page/assets/D2TibFqUBAPLcu_2.js +1 -0
  146. package/screenshot-page/assets/DEy3e1rY-XMdI309.js +1 -0
  147. package/screenshot-page/assets/{DkTX5ZjGNQ5SrwJa.js → DOsZiE9rOdS_Mm2Q.js} +1 -1
  148. package/screenshot-page/assets/DaqAdr-mtpVZMOS8.js +2 -0
  149. package/screenshot-page/assets/DhnaoxNYwMobAVP6.js +1 -0
  150. package/screenshot-page/assets/{DmIjTb4kKfUHxWaF.js → QVGvXAvlw1c8vZjy.js} +22 -22
  151. package/screenshot-page/assets/{BCmGLxQEUabeee6Q.js → d8BvDCByceUNvHp7.js} +2 -2
  152. package/screenshot-page/assets/jFfcyGJ9xruiOUyS.js +1 -0
  153. package/screenshot-page/index.html +3 -3
  154. package/types/scripting.d.ts +1 -1
  155. package/assets/CD2yoEhIT8DyXBou.js +0 -199
  156. package/assets/CJubVukzHBNJb_Wf.js +0 -304
  157. package/assets/CehVpkp73IfWGN_b.js +0 -14
  158. package/screenshot-page/assets/3L7CY5dA_kT2UBjv.js +0 -1
  159. package/screenshot-page/assets/B6UwT0pG4sQeG7fA.js +0 -3
  160. package/screenshot-page/assets/BH2IWQ-8AfNbhYZJ.js +0 -39
  161. package/screenshot-page/assets/BkU12U7IqW7qjopk.js +0 -13
  162. package/screenshot-page/assets/Bs-IXwX9BKsCxwcJ.js +0 -2
  163. package/screenshot-page/assets/C7MXfx6zf_uTwcpu.js +0 -1
  164. package/screenshot-page/assets/CUQsrLir5jYpnRPM.js +0 -1
  165. package/screenshot-page/assets/CUgX7ETRCJsvqa2x.js +0 -1
  166. package/screenshot-page/assets/CfD1bn6b-NM38iZV.js +0 -1
  167. package/screenshot-page/assets/Ck5onwb1w_19WrtG.js +0 -1
  168. package/screenshot-page/assets/CvBPH5c-gnUG8Jen.js +0 -1
  169. package/screenshot-page/assets/DqOrgSpuJhQRhMoG.js +0 -4
  170. package/screenshot-page/assets/Dz_yLNMXKWGx1O6V.js +0 -2
  171. package/screenshot-page/assets/x1O923k1mN-CduO_.js +0 -1
@@ -1,15 +1,15 @@
1
1
  /**
2
- * @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.25
2
+ * @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v1.0.0
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
- import { r as e } from "./TqxFLhPz3zbgi95t.js";
8
- import { B as t, D as s, I as r, J as i, S as o, T as n, Z as a, bt as l, ct as h, ht as c, i as u, ot as d, p as g, tt as f, u as m, xt as _ } from "./ixHQtoul8ubEJfWS.js";
9
- import { a as p, c as w, s as y } from "./DkS3EQvuEuPDvCws.js";
10
- import { Bt as S, Ct as b, D as k, E as C, J as v, Kt as I, L as R, Lt as N, R as O, Ut as x, Wt as E, Xt as L, ct as V, it as A, lt as T, mt as P, r as F, rt as B, w as W } from "./BbfSzxx5EzAvn-_F.js";
11
- import { f as j, u as M } from "./CCOaNx5_BfWCc9yz.js";
12
- import { $n as D, Bn as z, C as H, Cr as $, Er as J, Et as U, Fn as q, Ga as K, Gi as G, I as X, Ir as Z, It as Q, J as Y, Ja as ee, Jt as te, Lr as se, Lt as re, M as ie, Ni as oe, Oi as ne, Or as ae, Qa as le, Si as he, T as ce, Ua as ue, Ur as de, Vi as ge, Vr as fe, Vt as me, Wr as _e, Xa as pe, Xr as we, Y as ye, Zi as Se, a as be, ao as ke, bn as Ce, c as ve, da as Ie, do as Re, ea as Ne, fr as Oe, ft as xe, gn as Ee, gr as Le, ha as Ve, ii as Ae, in as Te, it as Pe, j as Fe, ji as Be, jn as We, ki as je, la as Me, mi as De, mo as ze, nr as He, or as $e, pi as Je, po as Ue, qn as qe, qt as Ke, ri as Ge, si as Xe, sr as Ze, to as Qe, u as Ye, ui as et, vi as tt, vn as st, wn as rt, y as it } from "./ckvxz2tZRlY1UPpg.js";
7
+ import { r as e } from "./eExV3IoVMxYkv5GO.js";
8
+ import { B as t, D as s, I as r, J as i, S as o, T as n, Z as a, bt as l, ct as h, ht as c, i as u, ot as d, p as g, tt as f, u as m, xt as _ } from "./DzYvbv5u7E2H7IoB.js";
9
+ import { a as p, c as w, s as y } from "./BaZAIwIrqn1x69WH.js";
10
+ import { Bt as S, Ct as b, D as k, E as C, J as v, Kt as I, L as R, Lt as N, R as O, Ut as x, Wt as L, Xt as E, ct as V, it as A, lt as T, mt as P, r as F, rt as B, w as W } from "./8hLtXHueDl7B_SEn.js";
11
+ import { f as M, u as j } from "./8mWHFnE0j-CaNsxr.js";
12
+ import { Aa as D, D as z, G as H, Gn as $, Gr as J, Gt as U, Ir as q, Jr as K, Kn as G, Kt as X, Lt as Z, M as Q, Mt as Y, Ot as ee, R as te, Ra as se, Rn as re, Rr as ie, Si as oe, T as ne, Tn as ae, Ua as le, Va as he, Wa as ce, Wi as ue, Wn as de, X as ge, Xn as fe, Za as me, Zr as _e, b as pe, cr as we, d as ye, dr as Se, ei as be, er as ke, fa as Ce, g as ve, ga as Ie, gt as Re, hn as Ne, hr as Oe, ht as xe, ia as Le, j as Ee, ki as Ve, kr as Ae, l as Te, li as Pe, lo as Fe, ma as Be, n as We, ni as Me, o as je, oa as De, p as ze, pi as He, r as $e, ro as Je, rt as Ue, sn as qe, so as Ke, sr as Ge, t as Xe, to as Ze, ui as Qe, ur as Ye, wa as et, wt as tt, x as st, z as rt, zi as it } from "./Dcw7GSCgw_dgsum7.js";
13
13
  var ot, nt, at = class extends r {
14
14
  constructor(e, t = 50) {
15
15
  super(t), this._transactions = e, this._floorId = e ? e.getCurrentCommit(!1).getId() : null, this._removeListener = e?.addListener({ onCommitChange: () => this._notifyOnStackChange() });
@@ -172,7 +172,7 @@ var ut = class e {
172
172
  getName() {
173
173
  if (null !== this._name && void 0 !== this._name) return this._name;
174
174
  const e = this._cleanPath();
175
- return e && be(e) || null;
175
+ return e && We(e) || null;
176
176
  }
177
177
  getPath() {
178
178
  return this._path;
@@ -183,7 +183,7 @@ var ut = class e {
183
183
  getExtension() {
184
184
  const e = this._cleanPath();
185
185
  if (!e) return null;
186
- const t = He(e);
186
+ const t = G(e);
187
187
  return t ? t.toLowerCase() : null;
188
188
  }
189
189
  getEncryption() {
@@ -272,10 +272,10 @@ var ut = class e {
272
272
  }
273
273
  switch (n) {
274
274
  case "file": {
275
- const e = s, r = e?.name, n = r ? `${be(r)}` : "";
275
+ const e = s, r = e?.name, n = r ? `${We(r)}` : "";
276
276
  a = await e.arrayBuffer(), l = {
277
277
  format: o,
278
- ext: He(r),
278
+ ext: G(r),
279
279
  name: n,
280
280
  absolutePath: r,
281
281
  size: e.size,
@@ -315,7 +315,7 @@ var ut = class e {
315
315
  t = e.input, r = e.init, i = e.timeout;
316
316
  }
317
317
  }
318
- const n = i || 3e4, h = new AbortController(), c = setTimeout(() => h.abort(), n), u = "string" == typeof t ? t : t.toString(), d = He(u);
318
+ const n = i || 3e4, h = new AbortController(), c = setTimeout(() => h.abort(), n), u = "string" == typeof t ? t : t.toString(), d = G(u);
319
319
  try {
320
320
  const e = await fetch(t, {
321
321
  ...r,
@@ -327,7 +327,7 @@ var ut = class e {
327
327
  a = s, l = {
328
328
  format: o,
329
329
  ext: d,
330
- name: be(u, !0),
330
+ name: We(u, !0),
331
331
  absolutePath: u
332
332
  };
333
333
  } catch (e) {
@@ -509,8 +509,8 @@ var wt, yt, St, bt, kt = {
509
509
  [Ct.Bad]: m("style.builtin.bad"),
510
510
  [Ct.Neutral]: m("style.builtin.neutral"),
511
511
  [Ct.ExplanatoryText]: m("style.builtin.explanatoryText")
512
- }, It = m("style.builtin.heading"), Rt = m("style.builtin.accent"), Nt = m("style.builtin.accentTint"), Ot = /^Heading ([1-4])$/, xt = /^Accent([1-6])$/, Et = /^(20|40|60)% - Accent([1-6])$/;
513
- function Lt(e) {
512
+ }, It = m("style.builtin.heading"), Rt = m("style.builtin.accent"), Nt = m("style.builtin.accentTint"), Ot = /^Heading ([1-4])$/, xt = /^Accent([1-6])$/, Lt = /^(20|40|60)% - Accent([1-6])$/;
513
+ function Et(e) {
514
514
  const t = vt[e];
515
515
  if (t) return { key: t };
516
516
  let s = Ot.exec(e);
@@ -520,7 +520,7 @@ function Lt(e) {
520
520
  } : (s = xt.exec(e), s ? {
521
521
  key: Rt,
522
522
  params: { n: +s[1] }
523
- } : (s = Et.exec(e), s ? {
523
+ } : (s = Lt.exec(e), s ? {
524
524
  key: Nt,
525
525
  params: {
526
526
  pct: +s[1],
@@ -593,7 +593,7 @@ var Vt, At = (e, t, s, r, i) => {
593
593
  var Tt = null;
594
594
  function Pt() {
595
595
  if (!Tt) {
596
- const e = import("./CAI8p60cuWlgnlko.js").then(({ initializeFunctions: e }) => {
596
+ const e = import("./BR4Wpxs0eSlaoLOl.js").then(({ initializeFunctions: e }) => {
597
597
  const t = e(() => null);
598
598
  return Object.freeze(Array.from(t.keys()));
599
599
  });
@@ -604,11 +604,11 @@ function Pt() {
604
604
  return Tt;
605
605
  }
606
606
  function Ft(e) {
607
- return st.peek()?.readFormulaLiteral(e);
607
+ return Ke.peek()?.readFormulaLiteral(e);
608
608
  }
609
609
  function Bt(e, t) {
610
610
  const s = Wt(e), r = Wt(t);
611
- return s !== r ? s - r : e === t ? 0 : "number" == typeof e && "number" == typeof t ? e < t ? -1 : 1 : "string" == typeof e && "string" == typeof t ? e < t ? -1 : e > t ? 1 : 0 : "boolean" == typeof e ? e ? 1 : -1 : M.isError(e) && M.isError(t) ? e.getCode() - t.getCode() : 0;
611
+ return s !== r ? s - r : e === t ? 0 : "number" == typeof e && "number" == typeof t ? e < t ? -1 : 1 : "string" == typeof e && "string" == typeof t ? e < t ? -1 : e > t ? 1 : 0 : "boolean" == typeof e ? e ? 1 : -1 : j.isError(e) && j.isError(t) ? e.getCode() - t.getCode() : 0;
612
612
  }
613
613
  function Wt(e) {
614
614
  if (null === e) return 0;
@@ -616,18 +616,18 @@ function Wt(e) {
616
616
  case "number": return 1;
617
617
  case "string": return 2;
618
618
  case "boolean": return 3;
619
- default: return M.isError(e) ? 4 : 5;
619
+ default: return j.isError(e) ? 4 : 5;
620
620
  }
621
621
  }
622
622
  (function(e) {
623
623
  function t(e) {
624
- return st.peek()?.getFunctionDeclaration(e) ?? null;
624
+ return Ke.peek()?.getFunctionDeclaration(e) ?? null;
625
625
  }
626
626
  e.get = t, e.has = function(e) {
627
627
  return null !== t(e);
628
628
  };
629
629
  })(Vt || (Vt = {}));
630
- var jt, Mt = class {
630
+ var Mt, jt = class {
631
631
  constructor(e) {
632
632
  this._children = e;
633
633
  }
@@ -675,7 +675,7 @@ var jt, Mt = class {
675
675
  const s = t[e].getSortedNumbers().getValues();
676
676
  s.length > 0 && r.push(s);
677
677
  }
678
- e = new Ke(function(e) {
678
+ e = new xe(function(e) {
679
679
  const t = e.length;
680
680
  if (0 === t) return Dt;
681
681
  if (1 === t) return e[0];
@@ -687,7 +687,7 @@ var jt, Mt = class {
687
687
  return e;
688
688
  }
689
689
  getRanked(e) {
690
- return Y(this._children, e, Bt)[Symbol.iterator]();
690
+ return U(this._children, e, Bt)[Symbol.iterator]();
691
691
  }
692
692
  getFrequencies(e) {
693
693
  if (e) return this._mergeFrequencies(e);
@@ -695,7 +695,7 @@ var jt, Mt = class {
695
695
  return t || (t = this._mergeFrequencies(), this._frequencies = t), t;
696
696
  }
697
697
  _mergeFrequencies(e) {
698
- const t = e?.keyFn ?? X, s = e?.limit, r = /* @__PURE__ */ new Map(), i = this._children, o = i.length;
698
+ const t = e?.keyFn ?? Ne, s = e?.limit, r = /* @__PURE__ */ new Map(), i = this._children, o = i.length;
699
699
  let n = 0, a = 0, l = !1;
700
700
  for (let h = 0; h < o; h++) {
701
701
  const o = i[h].getFrequencies(e);
@@ -710,22 +710,22 @@ var jt, Mt = class {
710
710
  }) : l = !0, u = c.next();
711
711
  }
712
712
  }
713
- return ge.fromGroups(r, t, e, Bt, n, a, l);
713
+ return Se.fromGroups(r, t, e, Bt, n, a, l);
714
714
  }
715
715
  getTypedCounts(e) {
716
716
  let t = this._typedCounts;
717
717
  if (!t) {
718
718
  const e = {
719
- [j.Number]: 0,
720
- [j.String]: 0,
721
- [j.Boolean]: 0,
722
- [j.Error]: 0,
723
- [j.RichData]: 0,
724
- [j.Null]: 0
719
+ [M.Number]: 0,
720
+ [M.String]: 0,
721
+ [M.Boolean]: 0,
722
+ [M.Error]: 0,
723
+ [M.RichData]: 0,
724
+ [M.Null]: 0
725
725
  }, s = this._children, r = s.length;
726
726
  for (let t = 0; t < r; t++) {
727
727
  const r = s[t].getTypedCounts();
728
- e[j.Number] += r[j.Number] ?? 0, e[j.String] += r[j.String] ?? 0, e[j.Boolean] += r[j.Boolean] ?? 0, e[j.Error] += r[j.Error] ?? 0, e[j.RichData] += r[j.RichData] ?? 0, e[j.Null] += r[j.Null] ?? 0;
728
+ e[M.Number] += r[M.Number] ?? 0, e[M.String] += r[M.String] ?? 0, e[M.Boolean] += r[M.Boolean] ?? 0, e[M.Error] += r[M.Error] ?? 0, e[M.RichData] += r[M.RichData] ?? 0, e[M.Null] += r[M.Null] ?? 0;
729
729
  }
730
730
  t = Object.freeze(e), this._typedCounts = t;
731
731
  }
@@ -746,12 +746,12 @@ var jt, Mt = class {
746
746
  sum: 0,
747
747
  sumSq: 0,
748
748
  typed: {
749
- [j.Number]: 0,
750
- [j.String]: 0,
751
- [j.Boolean]: 0,
752
- [j.Error]: 0,
753
- [j.RichData]: 0,
754
- [j.Null]: 0
749
+ [M.Number]: 0,
750
+ [M.String]: 0,
751
+ [M.Boolean]: 0,
752
+ [M.Error]: 0,
753
+ [M.RichData]: 0,
754
+ [M.Null]: 0
755
755
  }
756
756
  };
757
757
  for (let i = 0; i < s; i++) {
@@ -760,7 +760,7 @@ var jt, Mt = class {
760
760
  const o = s.numericalCount;
761
761
  o <= 0 || (r.numericalCount += o, r.sum += s.sum, r.sumSq += s.varP * o + s.sum * s.sum / o, (void 0 === r.min || s.min < r.min) && (r.min = s.min), (void 0 === r.max || s.max > r.max) && (r.max = s.max));
762
762
  }
763
- return Me(r);
763
+ return Ze(r);
764
764
  }
765
765
  }, Dt = Object.freeze([]);
766
766
  function zt(e, t) {
@@ -778,7 +778,7 @@ var Ht, $t = class e {
778
778
  static dataOf(t, s) {
779
779
  const r = e.modelOf(t);
780
780
  return {
781
- part: Ae.fromJSON(t.part, s),
781
+ part: et.fromJSON(t.part, s),
782
782
  model: r,
783
783
  partFormats: !r && t.partFormats ? t.partFormats : null,
784
784
  source: !r && t.source ? t.source : null
@@ -820,7 +820,7 @@ var Ht, $t = class e {
820
820
  if (this._source) return;
821
821
  const { ref: s, sheet: r, name: i } = this._sourceAsRead() ?? {};
822
822
  let o = null, n = null;
823
- if (s && r && !s.includes("#REF!") ? (o = e(r), n = `${Ze(r)}!${ne(s)}`) : !i || s || r ? i && r && !s && (o = e(r), n = `${Ze(r)}!${i}`) : (o = t(i), n = `${i}[#All]`), !o || !n) return;
823
+ if (s && r && !s.includes("#REF!") ? (o = e(r), n = `${$(r)}!${Ge(s)}`) : !i || s || r ? i && r && !s && (o = e(r), n = `${$(r)}!${i}`) : (o = t(i), n = `${i}[#All]`), !o || !n) return;
824
824
  const a = {
825
825
  formula: null,
826
826
  wired: null,
@@ -874,17 +874,17 @@ var Ht, $t = class e {
874
874
  if (null === t || t === e.wired) return null;
875
875
  const s = this._sourceAsRead();
876
876
  if (s?.name && s.sheet) {
877
- const e = ie(t)?.sheet;
877
+ const e = Q(t)?.sheet;
878
878
  return e ? { sheet: e } : null;
879
879
  }
880
880
  const r = /^(.+)\[#All\]$/.exec(t)?.[1];
881
881
  if (r) return { name: r };
882
- const i = ie(t);
882
+ const i = Q(t);
883
883
  return i ? {
884
884
  name: null,
885
- ref: D(i.reference),
885
+ ref: se(i.reference),
886
886
  sheet: i.sheet
887
- } : { ref: D(t) };
887
+ } : { ref: se(t) };
888
888
  }
889
889
  _getSource() {
890
890
  const e = this._sourceAsRead();
@@ -903,7 +903,7 @@ var Ht, $t = class e {
903
903
  return t;
904
904
  }
905
905
  toJSON(e) {
906
- const t = { cacheId: this.cacheId }, s = Ae.toJSON(this.part, e);
906
+ const t = { cacheId: this.cacheId }, s = et.toJSON(this.part, e);
907
907
  if (s) {
908
908
  t.part = s;
909
909
  const e = this._store.get().partFormats;
@@ -948,7 +948,7 @@ var Ht, $t = class e {
948
948
  get isIPerson() {
949
949
  return !0;
950
950
  }
951
- }, Ut = class extends Ve {
951
+ }, Ut = class extends Ce {
952
952
  constructor(e) {
953
953
  super(), this._byId = /* @__PURE__ */ new Map(), this._byDisplayName = /* @__PURE__ */ new Map(), this._items = null, this._current = null, e && this.fromJSON(e);
954
954
  }
@@ -1032,22 +1032,22 @@ var Ht, $t = class e {
1032
1032
  }
1033
1033
  }
1034
1034
  async createModule(e) {
1035
- const t = await (await import("./CVWoX7wNwrZwm5XB.js")).ScriptCompiler.compile({
1035
+ const t = await (await import("./B-b7HyruDF2gdj3R.js")).ScriptCompiler.compile({
1036
1036
  builtInNames: this._builtInNames(),
1037
1037
  minify: !0,
1038
1038
  ...e
1039
1039
  });
1040
- return t.module ? await pe(Ne.DEFAULT_MODULE, t.module, e?.declarationsOnly ?? !1, t.diagnostics) : null;
1040
+ return t.module ? await ye(He.DEFAULT_MODULE, t.module, e?.declarationsOnly ?? !1, t.diagnostics) : null;
1041
1041
  }
1042
1042
  addModule(e, t, s) {
1043
1043
  this._modules.add(e, t, s);
1044
1044
  }
1045
1045
  async addModuleFromJSON(e, t, s) {
1046
- const r = await pe(e, t);
1046
+ const r = await ye(e, t);
1047
1047
  return this.addModule(e, r, s), r;
1048
1048
  }
1049
1049
  async executeMacro(e, t, s) {
1050
- await K.assertUsable("scripts");
1050
+ await _e.assertUsable("scripts");
1051
1051
  const r = this._modules.getItems({ name: t }), i = r.length;
1052
1052
  for (let t = 0; t < i; t++) {
1053
1053
  const i = r[t].getFunctions().getByName(e);
@@ -1060,8 +1060,8 @@ var Ht, $t = class e {
1060
1060
  }
1061
1061
  async run(e, t) {
1062
1062
  try {
1063
- await K.assertUsable("scripts");
1064
- const s = "string" == typeof e ? await this.createModule({ source: e }) : await pe(Ne.DEFAULT_MODULE, e), r = "string" == typeof e ? e : e?.source ?? "";
1063
+ await _e.assertUsable("scripts");
1064
+ const s = "string" == typeof e ? await this.createModule({ source: e }) : await ye(He.DEFAULT_MODULE, e), r = "string" == typeof e ? e : e?.source ?? "";
1065
1065
  return await this._runModule(s, r, t);
1066
1066
  } catch (e) {
1067
1067
  return {
@@ -1143,7 +1143,7 @@ var Ht, $t = class e {
1143
1143
  }
1144
1144
  if (!i || 0 === i.length) return c.EmptyArray;
1145
1145
  const n = e?.text ? e.text.trim().toUpperCase() : null;
1146
- return n ? fe(i, n) : i.sort((e, t) => {
1146
+ return n ? he(i, n) : i.sort((e, t) => {
1147
1147
  const s = e.getName().toUpperCase(), r = t.getName().toUpperCase();
1148
1148
  return s < r ? -1 : s > r ? 1 : 0;
1149
1149
  }), void 0 !== s && i.length > s ? i.slice(0, s) : i;
@@ -1182,13 +1182,13 @@ var Ht, $t = class e {
1182
1182
  for (let o = 0; o < r.length; o++) {
1183
1183
  const n = r[o], a = t[n];
1184
1184
  try {
1185
- s[n] = await pe(n, a, !1, [], "workbook" === a?.scope ? e : null);
1185
+ s[n] = await ye(n, a, !1, [], "workbook" === a?.scope ? e : null);
1186
1186
  } catch (e) {
1187
1187
  i.error(`Could not load script '${n}'; it will be unavailable.`, e);
1188
1188
  }
1189
1189
  }
1190
1190
  }
1191
- const r = this, o = new Oe({
1191
+ const r = this, o = new fe({
1192
1192
  transactions: this._options?.transactions,
1193
1193
  initial: s,
1194
1194
  isReadOnly: () => r.isReadOnly(),
@@ -1238,7 +1238,7 @@ var Ht, $t = class e {
1238
1238
  } finally {
1239
1239
  clearTimeout(i), r.abort();
1240
1240
  }
1241
- })(e, t)) throw new M.Blocked("This site is restricted: it doesn't allow web apps to read its data, so the browser blocked the request for security.", { cause: s });
1241
+ })(e, t)) throw new j.Blocked("This site is restricted: it doesn't allow web apps to read its data, so the browser blocked the request for security.", { cause: s });
1242
1242
  throw s;
1243
1243
  }
1244
1244
  }, Zt = class {
@@ -1334,14 +1334,14 @@ var Ht, $t = class e {
1334
1334
  body: r
1335
1335
  };
1336
1336
  if (s.ok && r && r.byteLength > 0) {
1337
- const t = await new ye({ source: { buffer: r } }).getType();
1337
+ const t = await new X({ source: { buffer: r } }).getType();
1338
1338
  t?.mime.startsWith("image/") ? (o.headers = i.filter(([e]) => "content-type" !== e.toLowerCase()), o.headers.push(["content-type", t.mime])) : this._cached.set(e, o);
1339
1339
  }
1340
1340
  return o;
1341
1341
  }
1342
1342
  }, ts = class {
1343
1343
  constructor(e, t, s, r) {
1344
- this._mergedReading = [], this._colsReading = [], this._rowsReading = [], this._styles = s, this._topLeft = t ?? d.EmptyCell, this._sheet = new te({
1344
+ this._mergedReading = [], this._colsReading = [], this._rowsReading = [], this._styles = s, this._topLeft = t ?? d.EmptyCell, this._sheet = new Re({
1345
1345
  runtime: e,
1346
1346
  styles: this._styles,
1347
1347
  calcOnLoad: "none",
@@ -1378,14 +1378,14 @@ var Ht, $t = class e {
1378
1378
  };
1379
1379
  i.border && "none" !== i.border && (l("top", i.border), l("left", i.border), l("right", i.border), l("bottom", i.border)), i.borderTop && l("top", i.borderTop), i.borderLeft && l("left", i.borderLeft), i.borderRight && l("right", i.borderRight), i.borderBottom && l("bottom", i.borderBottom), i.msoDiagonalUp && l("diagonalUp", i.msoDiagonalUp), i.msoDiagonalDown && l("diagonalDown", i.msoDiagonalDown);
1380
1380
  let h = r.numberFormat;
1381
- i.msoNumberFormat && (h = B(i.msoNumberFormat), h.includes("\\") ? h = null : "Fixed" === h ? h = L.Styles.lookupStyle(r.numberFormat).formatType === L.Type.Number ? null : L.Type.Number : "Percent" === h && (h = L.Styles.lookupStyle(r.numberFormat).formatType === L.Type.Percentage ? null : L.Type.Percentage)), h && (r.numberFormat = h), e.style = this._styles.normalize(r), s && 0 === Object.keys(e.style).length && delete e.style;
1381
+ i.msoNumberFormat && (h = B(i.msoNumberFormat), h.includes("\\") ? h = null : "Fixed" === h ? h = E.Styles.lookupStyle(r.numberFormat).formatType === E.Type.Number ? null : E.Type.Number : "Percent" === h && (h = E.Styles.lookupStyle(r.numberFormat).formatType === E.Type.Percentage ? null : E.Type.Percentage)), h && (r.numberFormat = h), e.style = this._styles.normalize(r), s && 0 === Object.keys(e.style).length && delete e.style;
1382
1382
  }
1383
1383
  onCell(e, t, s, r, i) {
1384
1384
  const o = r(i);
1385
1385
  let n = { value: void 0 !== t ? t : s ?? "" };
1386
1386
  if ("string" == typeof n.value && 0 === n.value.length && (n.value = void 0), o && this.applyCSSStyle(n, o), "string" == typeof n.value && /^#+$/.test(n.value)) {
1387
1387
  const e = n.style?.numberFormat;
1388
- e && (T(e) || A(e)) && (n.value = M.BuiltIn.Num);
1388
+ e && (T(e) || A(e)) && (n.value = j.BuiltIn.Num);
1389
1389
  }
1390
1390
  if ("TD" === i?.tagName.toUpperCase()) {
1391
1391
  let e = n.style, t = e?.font ?? {};
@@ -1437,9 +1437,9 @@ var Ht, $t = class e {
1437
1437
  if ("userset" !== i.msoHeightSource) return;
1438
1438
  if (!r) return;
1439
1439
  let o = r.getAttribute("height") ?? i.height, n = null;
1440
- if (o && (n = E(o, this._styles.getNormal().getFont().getSize(), "px")), null === n) for (let e = 0; e < r.cells.length; e++) {
1440
+ if (o && (n = L(o, this._styles.getNormal().getFont().getSize(), "px")), null === n) for (let e = 0; e < r.cells.length; e++) {
1441
1441
  const t = r.cells[e], i = t.getAttribute("height") ?? s(t).height;
1442
- let o = E(i, this._styles.getNormal().getFont().getSize(), "px");
1442
+ let o = L(i, this._styles.getNormal().getFont().getSize(), "px");
1443
1443
  null !== o && (n = Math.max(o, n ?? 0));
1444
1444
  }
1445
1445
  null !== n && this._rowsReading.push({
@@ -1455,7 +1455,7 @@ var Ht, $t = class e {
1455
1455
  if ("userset" !== i.msoWidthSource) return;
1456
1456
  if (!r) return;
1457
1457
  let o = r.getAttribute("width") ?? i.width, n = null;
1458
- o && (n = E(o, this._styles.getNormal().getFont().getSize(), "px")), null !== n && this._colsReading.push({
1458
+ o && (n = L(o, this._styles.getNormal().getFont().getSize(), "px")), null !== n && this._colsReading.push({
1459
1459
  address: {
1460
1460
  min: this._topLeft.colIndex + e,
1461
1461
  max: this._topLeft.colIndex + e + t - 1
@@ -1558,9 +1558,9 @@ var Ht, $t = class e {
1558
1558
  console.warn("Discovered text as html table but could could not parse.");
1559
1559
  }
1560
1560
  try {
1561
- const r = new ts(this._runtime, this._topLeft, this._styles, s ? "HTML" : "Text"), i = await Promise.resolve(t ? ae(t) : [[]]);
1561
+ const r = new ts(this._runtime, this._topLeft, this._styles, s ? "HTML" : "Text"), i = await Promise.resolve(t ? Me(t) : [[]]);
1562
1562
  let o;
1563
- if (Je(s, i, r) ? (e = r.sheet(), o = e.getUsedRange()) : s = null, o) {
1563
+ if (Pe(s, i, r) ? (e = r.sheet(), o = e.getUsedRange()) : s = null, o) {
1564
1564
  const t = o.getSnapshot();
1565
1565
  return this._parsed = {
1566
1566
  prepare: (e, s) => t.prepare?.(e, s),
@@ -1619,11 +1619,11 @@ var Ht, $t = class e {
1619
1619
  return this._assertOpen(), this._container.setName(e, t), this;
1620
1620
  }
1621
1621
  getVisibility() {
1622
- return this._closed ? ve.Visibility.VeryHidden : this._container.getVisibility();
1622
+ return this._closed ? q.Visibility.VeryHidden : this._container.getVisibility();
1623
1623
  }
1624
1624
  setVisibility(e = !0, t) {
1625
1625
  let s;
1626
- return this._assertOpen(), s = !0 === e ? ve.Visibility.Visible : !1 === e ? ve.Visibility.Hidden : e, this._container.setVisibility(s, t), this;
1626
+ return this._assertOpen(), s = !0 === e ? q.Visibility.Visible : !1 === e ? q.Visibility.Hidden : e, this._container.setVisibility(s, t), this;
1627
1627
  }
1628
1628
  getIndex() {
1629
1629
  return this._container.getIndex();
@@ -1691,7 +1691,7 @@ var Ht, $t = class e {
1691
1691
  return !0;
1692
1692
  }
1693
1693
  };
1694
- (jt || (jt = {})).Visibility = {
1694
+ (Mt || (Mt = {})).Visibility = {
1695
1695
  Visible: "visible",
1696
1696
  Hidden: "hidden",
1697
1697
  VeryHidden: "veryHidden"
@@ -1707,7 +1707,7 @@ var os = {
1707
1707
  firstTab: 0,
1708
1708
  windowBounds: null,
1709
1709
  minimized: !1,
1710
- visibility: jt.Visibility.Visible,
1710
+ visibility: Mt.Visibility.Visible,
1711
1711
  autoFilterDateGrouping: !0
1712
1712
  }, ns = class {
1713
1713
  constructor(e) {
@@ -1831,7 +1831,7 @@ var os = {
1831
1831
  revision: !0,
1832
1832
  password: null,
1833
1833
  revisionsPassword: null
1834
- }), ls = class extends ke {
1834
+ }), ls = class extends Y {
1835
1835
  isWindowsAllowed() {
1836
1836
  return this._isPropertyAllowed("windows");
1837
1837
  }
@@ -2051,7 +2051,7 @@ function fs(e, t) {
2051
2051
  function ms(e, t) {
2052
2052
  return "chart" === t ? g("error.workbook.selectedIsChart", { sheetName: e }) : "macro" === t ? g("error.workbook.selectedIsMacro", { sheetName: e }) : "dialog" === t ? g("error.workbook.selectedIsDialog", { sheetName: e }) : g("error.workbook.noWorksheet");
2053
2053
  }
2054
- var _s = class extends Ve {
2054
+ var _s = class extends Ce {
2055
2055
  constructor(e, t, s, r) {
2056
2056
  super(), this._add = e, this._get = t, this._addListeners = s, this._getSelected = r;
2057
2057
  }
@@ -2089,9 +2089,9 @@ function ys(e) {
2089
2089
  }
2090
2090
  function Ss(e, t) {
2091
2091
  return {
2092
- ...Fe,
2092
+ ...Ee,
2093
2093
  getWorksheet: () => null,
2094
- toString: () => Se(e, t)
2094
+ toString: () => D(e, t)
2095
2095
  };
2096
2096
  }
2097
2097
  function bs(e, t = !1) {
@@ -2114,7 +2114,7 @@ function bs(e, t = !1) {
2114
2114
  }
2115
2115
  return e;
2116
2116
  }
2117
- var ks, Cs = "workbook.activeSheet", vs = class e extends H {
2117
+ var ks, Cs = "workbook.activeSheet", vs = class e extends Le {
2118
2118
  constructor(e, t, s, r) {
2119
2119
  super(e, t, r), this._workbook = s;
2120
2120
  }
@@ -2125,24 +2125,24 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
2125
2125
  let r = this._options;
2126
2126
  return s && (r = {
2127
2127
  ...this._options,
2128
- getOptions: we(this._options?.getOptions, s)
2128
+ getOptions: ve(this._options?.getOptions, s)
2129
2129
  }), new e(t, this._internal, this._workbook, r);
2130
2130
  }
2131
2131
  _createRange(e, t) {
2132
- const s = e ? { ...e } : null, r = this._workbook, i = s ? r._getSheetRef(s.scope, ve.Visibility.VeryHidden) : null;
2132
+ const s = e ? { ...e } : null, r = this._workbook, i = s ? r._getSheetRef(s.scope, q.Visibility.VeryHidden) : null;
2133
2133
  if (i && !i.sheet.isIWorksheet) throw new f(fs(i.name, i.sheet.getKind()));
2134
2134
  if (!i) {
2135
2135
  const e = r._anchorWorksheet();
2136
2136
  return delete s?.scope, Ss(s, s ? {
2137
- scope: se,
2137
+ scope: st,
2138
2138
  ...e.getEntireRange().getCoords()
2139
2139
  } : null);
2140
2140
  }
2141
2141
  let o = this._options;
2142
2142
  return t && (o = {
2143
2143
  ...this._options,
2144
- getOptions: we(this._options.getOptions, t)
2145
- }), new Is(e, Q(i.sheet), this._workbook, o);
2144
+ getOptions: ve(this._options.getOptions, t)
2145
+ }), new Is(e, te(i.sheet), this._workbook, o);
2146
2146
  }
2147
2147
  async select(e) {
2148
2148
  const t = [];
@@ -2168,15 +2168,15 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
2168
2168
  }
2169
2169
  getAddress(e) {
2170
2170
  const t = this._internal.getSheet(), s = t.getEntireRange().getCoords();
2171
- return Ye(this.getCoords(), {
2171
+ return ie(this.getCoords(), {
2172
2172
  ...s,
2173
2173
  scope: t.getName()
2174
- }, Se, z, e);
2174
+ }, D, oe, e);
2175
2175
  }
2176
2176
  toString() {
2177
2177
  return this.getAddress();
2178
2178
  }
2179
- }, Is = class e extends it {
2179
+ }, Is = class e extends Ae {
2180
2180
  constructor(e, t, s, r) {
2181
2181
  super(e, t, r), this._workbook = s;
2182
2182
  }
@@ -2184,17 +2184,17 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
2184
2184
  let s = this._options;
2185
2185
  return t && (s = {
2186
2186
  ...this._options,
2187
- getOptions: we(this._options?.getOptions, t)
2187
+ getOptions: ve(this._options?.getOptions, t)
2188
2188
  }), new vs(e, this._internal, this._workbook, s);
2189
2189
  }
2190
2190
  _createRange(t, s) {
2191
2191
  const r = this._internal;
2192
- if (!t) return We(r.getSheet(), r.getSheet().getEntireCoords());
2193
- if (r.validateCoords(t), r.getSheet().isClosed()) return We(null, r.getSheet().getEntireCoords(), t);
2192
+ if (!t) return H(r.getSheet(), r.getSheet().getEntireCoords());
2193
+ if (r.validateCoords(t), r.getSheet().isClosed()) return H(null, r.getSheet().getEntireCoords(), t);
2194
2194
  let i = this._options;
2195
2195
  return s && (i = {
2196
2196
  ...this._options,
2197
- getOptions: we(this._options?.getOptions, s)
2197
+ getOptions: ve(this._options?.getOptions, s)
2198
2198
  }), new e(t, this._internal, this._workbook, i);
2199
2199
  }
2200
2200
  addListener(e, t) {
@@ -2207,7 +2207,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
2207
2207
  }
2208
2208
  getAddress(e) {
2209
2209
  const t = this._internal.getSheet(), s = t?.getEntireRange().getCoords() ?? null;
2210
- return Se(this.getCoords(), {
2210
+ return D(this.getCoords(), {
2211
2211
  ...s,
2212
2212
  scope: t.getName()
2213
2213
  });
@@ -2217,13 +2217,13 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
2217
2217
  }
2218
2218
  }, Rs = (e) => !!e && "object" == typeof e && "function" == typeof e.getOrigin, Ns = class {
2219
2219
  constructor(t) {
2220
- this._isLoadingSheets = !1, this._lastTransactionUUID = null, this._starting = null, this._closed = !1, this._listenerOriginProvider = null, this._listenerOrigin = null, this._lastOriginName = null, this._initializing = !0, this._pivotCaches = [], this._pivotTableCollection = new de(() => {
2220
+ this._isLoadingSheets = !1, this._lastTransactionUUID = null, this._starting = null, this._closed = !1, this._listenerOriginProvider = null, this._listenerOrigin = null, this._lastOriginName = null, this._initializing = !0, this._pivotCaches = [], this._pivotTableCollection = new le(() => {
2221
2221
  const e = [];
2222
- for (const t of this.getWorksheets().getItems({ visibility: ve.Visibility.VeryHidden })) e.push(...t.getPivotTables());
2222
+ for (const t of this.getWorksheets().getItems({ visibility: q.Visibility.VeryHidden })) e.push(...t.getPivotTables());
2223
2223
  return e;
2224
- }, (e, t) => this.doBatch(e, t)), this._people = new Ut(), this._commentCollection = new je(null, (e, t, s) => {
2224
+ }, (e, t) => this.doBatch(e, t)), this._people = new Ut(), this._commentCollection = new we(null, (e, t, s) => {
2225
2225
  const r = [];
2226
- for (const i of this.getWorksheets().getItems({ visibility: ve.Visibility.VeryHidden })) r.push(...i.getComments().getItems(e ? {
2226
+ for (const i of this.getWorksheets().getItems({ visibility: q.Visibility.VeryHidden })) r.push(...i.getComments().getItems(e ? {
2227
2227
  address: e,
2228
2228
  ignoreHidden: t,
2229
2229
  fullyContained: s
@@ -2240,19 +2240,19 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
2240
2240
  const s = "string" == typeof t ? { origin: t } : { ...t }, r = s.origin;
2241
2241
  this._ownOriginProvider = !Rs(r), this._originProvider = Rs(r) ? r : new mt("string" == typeof r ? new ut(null, { name: r }) : r ?? new ut(null)), delete s.origin, this._bindOrigin(this._originProvider.getOrigin()), this._listenerOriginProvider = this._originProvider.addListeners({ onOriginChange: () => this._onOriginChange() });
2242
2242
  const i = s.json;
2243
- delete s.json, this._transactions = s.transactions ?? new p(), this._id = this._transactions.create(), this._ownTransactions = !s.transactions, this._emitter = new y(this, this._transactions), this._runtime = s.runtime ?? new G("Workbook Runtime", {
2243
+ delete s.json, this._transactions = s.transactions ?? new p(), this._id = this._transactions.create(), this._ownTransactions = !s.transactions, this._emitter = new y(this, this._transactions), this._runtime = s.runtime ?? new Oe("Workbook Runtime", {
2244
2244
  isDate1904: () => this._isDate1904,
2245
2245
  getNow: () => this._transactions.getCurrentCommit().getTimestamp(),
2246
- getLocale: () => this._locale ?? Ie() ?? xe(),
2246
+ getLocale: () => this._locale ?? Je() ?? it(),
2247
2247
  getLocaleOverrides: () => this._localeOverrides
2248
2248
  }), this._listenerLanguage = o.addChangeListener(() => {
2249
2249
  this._closed || this._notifyAllChange();
2250
2250
  });
2251
2251
  const n = this, a = this._beginCommit({ description: m(i ? "op.openWorkbook" : "op.newWorkbook") });
2252
2252
  try {
2253
- this._strings = s.strings ?? new Te(), this._ownStrings = !s.strings, this._richValues = s.richData ?? new et(), this._resources = s.resources ?? new Pe(), this._ownResources = !s.resources, this._fetch = new es(this._resources, s.fetcher ?? new Zt()), this._createSheetName = s.createSheetNameCallback ?? ys;
2253
+ this._strings = s.strings ?? new Be(), this._ownStrings = !s.strings, this._richValues = s.richData ?? new z(), this._resources = s.resources ?? new re(), this._ownResources = !s.resources, this._fetch = new es(this._resources, s.fetcher ?? new Zt()), this._createSheetName = s.createSheetNameCallback ?? ys;
2254
2254
  let t = s.createWorksheetCallback;
2255
- t || (t = (e) => new te(e)), this._sheetOnNameChange = /* @__PURE__ */ new Map(), this._sheetOnVisibilityChange = /* @__PURE__ */ new Map(), this._sheetOnIndexChange = /* @__PURE__ */ new Map(), this._createSheet = (e, s, r, i, o, a, l) => {
2255
+ t || (t = (e) => new Re(e)), this._sheetOnNameChange = /* @__PURE__ */ new Map(), this._sheetOnVisibilityChange = /* @__PURE__ */ new Map(), this._sheetOnIndexChange = /* @__PURE__ */ new Map(), this._createSheet = (e, s, r, i, o, a, l) => {
2256
2256
  let h = null;
2257
2257
  const c = {
2258
2258
  runtime: n._runtime,
@@ -2273,7 +2273,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
2273
2273
  h = t, n._addSheetRef({
2274
2274
  name: s,
2275
2275
  id: e,
2276
- visibility: r ?? ve.Visibility.Visible,
2276
+ visibility: r ?? q.Visibility.Visible,
2277
2277
  sheetId: o,
2278
2278
  sheet: t
2279
2279
  }, i);
@@ -2290,7 +2290,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
2290
2290
  },
2291
2291
  getVisibility: () => {
2292
2292
  const e = n._getSheetRef(h);
2293
- return e ? e.visibility : ve.Visibility.Visible;
2293
+ return e ? e.visibility : q.Visibility.Visible;
2294
2294
  },
2295
2295
  setVisibility: (e, t) => {
2296
2296
  n._setSheetVisibility(h, e, t);
@@ -2301,10 +2301,10 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
2301
2301
  duplicate: () => n._duplicateSheet(h),
2302
2302
  getIndex: () => {
2303
2303
  const e = n._getSheetRef(h);
2304
- return e ? n._getOffsetForId(e.id, n._getSheetRefs(ve.Visibility.VeryHidden)) : i;
2304
+ return e ? n._getOffsetForId(e.id, n._getSheetRefs(q.Visibility.VeryHidden)) : i;
2305
2305
  },
2306
2306
  setIndex: (e, t) => {
2307
- const s = n._getSheetRef(h, ve.Visibility.VeryHidden);
2307
+ const s = n._getSheetRef(h, q.Visibility.VeryHidden);
2308
2308
  return !!s && (n._moveSheet(s, e, t), !0);
2309
2309
  },
2310
2310
  setIndexCallback: (t) => {
@@ -2314,16 +2314,16 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
2314
2314
  }
2315
2315
  };
2316
2316
  return a && (c.json = a), void 0 !== l && (c.uid = () => l), h = t(c, s, i, r), h;
2317
- }, this._namedTableSource = new J({
2318
- getSheets: () => n._sheets ? n.getWorksheets().getItems({ visibility: ve.Visibility.VeryHidden }) : c.EmptyArray,
2317
+ }, this._namedTableSource = new be({
2318
+ getSheets: () => n._sheets ? n.getWorksheets().getItems({ visibility: q.Visibility.VeryHidden }) : c.EmptyArray,
2319
2319
  addSheetsListener: (e, t) => n.addListeners({ onSheetsChange: e }, t)
2320
- }), this._names = s.names ?? new Ue({
2320
+ }), this._names = s.names ?? new Xe({
2321
2321
  addressToRanges: (e) => n.getRanges(e),
2322
2322
  getCurrentScope: () => n.getSelectedWorksheet()?.getName() ?? null,
2323
2323
  isReadOnly: () => (n._options.readonly ?? !1) || n._isStructureProtected(),
2324
2324
  transactions: n._transactions,
2325
2325
  getSources: () => n._calculation ? [n._calculation.getNamedFormulas(), n._namedTableSource] : c.EmptyArray
2326
- }), this._ownNames = !s.names, this._calculation = s.calculation ?? new tt({
2326
+ }), this._ownNames = !s.names, this._calculation = s.calculation ?? new K({
2327
2327
  runtime: n._runtime,
2328
2328
  functions: s.functions,
2329
2329
  json: i?.calc,
@@ -2342,9 +2342,9 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
2342
2342
  getSheetIndex: (e) => {
2343
2343
  if (void 0 === e) {
2344
2344
  const e = n.getSelectedSheet();
2345
- return e ? this._getSheetRefs(ve.Visibility.VeryHidden).findIndex((t) => t.sheet === e) : -1;
2345
+ return e ? this._getSheetRefs(q.Visibility.VeryHidden).findIndex((t) => t.sheet === e) : -1;
2346
2346
  }
2347
- const t = this._getSheetRefs(ve.Visibility.VeryHidden);
2347
+ const t = this._getSheetRefs(q.Visibility.VeryHidden);
2348
2348
  e = e.toLowerCase();
2349
2349
  const s = t.length;
2350
2350
  for (let r = 0; r < s; r++) if (t[r].name.toLowerCase() === e) return r;
@@ -2354,7 +2354,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
2354
2354
  if (!t || 0 === t.length) return -1;
2355
2355
  let s = (t[0].getRanges?.()?.getCoords()?.[0])?.scope;
2356
2356
  if (!s) return -1;
2357
- const r = this._getSheetRefs(ve.Visibility.VeryHidden);
2357
+ const r = this._getSheetRefs(q.Visibility.VeryHidden);
2358
2358
  s = s.toLowerCase();
2359
2359
  const i = r.length;
2360
2360
  for (let e = 0; e < i; e++) if (r[e].name.toLowerCase() === s) return e;
@@ -2363,7 +2363,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
2363
2363
  }
2364
2364
  return -1;
2365
2365
  },
2366
- getSheetCount: () => n._getSheetRefs(ve.Visibility.VeryHidden).length,
2366
+ getSheetCount: () => n._getSheetRefs(q.Visibility.VeryHidden).length,
2367
2367
  externalBooks: i?.externalBooks,
2368
2368
  externalBookResolver: s.externalBookResolver,
2369
2369
  namedCollection: n._names,
@@ -2373,7 +2373,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
2373
2373
  },
2374
2374
  fetch: (e, t) => n._fetch.fetch(e, t),
2375
2375
  parseText: (t, s) => (async (t, s, r) => {
2376
- const i = await import("./u9le-qZ3tbYKK1kU.js").then((t) => e(t.default, 1)), o = (i.default ?? i).parse(s, {
2376
+ const i = await import("./pfa2CH5NQuzku6FP.js").then((t) => e(t.default, 1)), o = (i.default ?? i).parse(s, {
2377
2377
  delimiter: r?.delimiter ?? ",",
2378
2378
  skipEmptyLines: !1
2379
2379
  }).data;
@@ -2387,7 +2387,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
2387
2387
  const s = o[e], r = new Array(l);
2388
2388
  for (let e = 0; e < l; e++) {
2389
2389
  const i = s[e];
2390
- r[e] = void 0 === i || "" === i ? null : Le(t, i).value;
2390
+ r[e] = void 0 === i || "" === i ? null : ue(t, i).value;
2391
2391
  }
2392
2392
  h[e] = r;
2393
2393
  }
@@ -2399,7 +2399,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
2399
2399
  }), this._ownCalculation = !s.calculation, this._scripts = this._createScripts(i?.modules), this._ownNames = !s.names, this._options = Object.freeze({ ...s });
2400
2400
  const r = i?.sheets?.length ? i.sheets.map((e) => e.name) : [this._createSheetName(0)], o = r.map((e) => e + "-" + c.uuidV4()), l = (e) => {
2401
2401
  const t = i?.sheets?.[e]?.kind;
2402
- return !!t && t !== ve.Kind.Worksheet;
2402
+ return !!t && t !== q.Kind.Worksheet;
2403
2403
  };
2404
2404
  this._calculation._setSheets(r.map((e, t) => l(t) ? [
2405
2405
  o[t],
@@ -2445,7 +2445,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
2445
2445
  let e = this._getSheetRefs();
2446
2446
  for (let t = (e ? e.length : 0) - 1; t >= 0; t--);
2447
2447
  const t = this._options;
2448
- this._isDate1904 = t.runtime?.isDate1904() ?? !1, this._locale = null, this._localeOverrides = null, this._theme = t.theme ?? new rt().getDefaultTheme(), this._styles = t?.styles ?? new ze(this._theme), this._ownStyles = !t.styles, this._styles.getTheme() || this._styles.setTheme(this.getTheme()), this._activeSheetOffset = 0, this.setView(new ns()), this._listenerProtection?.(), this._protection = new ls(void 0, this._options.readonly ?? !1), this._listenerProtection = this._protection.addListeners({ onChange: (e) => {
2448
+ this._isDate1904 = t.runtime?.isDate1904() ?? !1, this._locale = null, this._localeOverrides = null, this._theme = t.theme ?? new ae().getDefaultTheme(), this._styles = t?.styles ?? new $e(this._theme), this._ownStyles = !t.styles, this._styles.getTheme() || this._styles.setTheme(this.getTheme()), this._activeSheetOffset = 0, this.setView(new ns()), this._listenerProtection?.(), this._protection = new ls(void 0, this._options.readonly ?? !1), this._listenerProtection = this._protection.addListeners({ onChange: (e) => {
2449
2449
  s._emitter.notify("onProtectionChange");
2450
2450
  } });
2451
2451
  const s = this;
@@ -2563,10 +2563,10 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
2563
2563
  return this._transactions;
2564
2564
  }
2565
2565
  getChanges(e) {
2566
- const t = this._transactions, [s, r] = t.getLog(e ?? t.getCurrentCommit(!1).getId(), 2), i = [], o = this.getWorksheets().getItems({ visibility: ve.Visibility.VeryHidden });
2566
+ const t = this._transactions, [s, r] = t.getLog(e ?? t.getCurrentCommit(!1).getId(), 2), i = [], o = this.getWorksheets().getItems({ visibility: q.Visibility.VeryHidden });
2567
2567
  for (let e = 0; e < o.length; e++) {
2568
2568
  const t = o[e];
2569
- t instanceof te && i.push(...t._changeEventsOf(s, r ?? null));
2569
+ t instanceof Re && i.push(...t._changeEventsOf(s, r ?? null));
2570
2570
  }
2571
2571
  return i;
2572
2572
  }
@@ -2619,7 +2619,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
2619
2619
  return this.getSelectedWorksheet();
2620
2620
  }
2621
2621
  getSheets(e) {
2622
- const t = this._getSheetRefs(e?.visibility ?? ve.Visibility.Visible), s = new Array(t.length);
2622
+ const t = this._getSheetRefs(e?.visibility ?? q.Visibility.Visible), s = new Array(t.length);
2623
2623
  for (let e = 0; e < t.length; e++) s[e] = t[e].sheet;
2624
2624
  return s;
2625
2625
  }
@@ -2630,7 +2630,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
2630
2630
  if (!t) throw new a(gs(e));
2631
2631
  return t.sheet;
2632
2632
  }
2633
- getWorksheet(e, t = ve.Visibility.Visible) {
2633
+ getWorksheet(e, t = q.Visibility.Visible) {
2634
2634
  if ("number" == typeof e) return this.getWorksheetAt(e, t);
2635
2635
  if (void 0 === e) return this._requireSelectedWorksheet();
2636
2636
  if (!e) throw new Error(g("error.workbook.sheetNameNotProvided"));
@@ -2639,7 +2639,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
2639
2639
  if (!xs(s)) throw new a(fs(s.name, s.sheet.getKind()));
2640
2640
  return s.sheet;
2641
2641
  }
2642
- getWorksheetAt(e, t = ve.Visibility.Visible) {
2642
+ getWorksheetAt(e, t = q.Visibility.Visible) {
2643
2643
  const s = this._getWorksheets(t)[e];
2644
2644
  if (!s) throw new a(function(e) {
2645
2645
  return g("error.workbook.sheetIndexNotFound", { index: e });
@@ -2650,10 +2650,10 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
2650
2650
  const e = this.getSelectedWorksheet();
2651
2651
  if (e) return e;
2652
2652
  const t = this.getSelectedSheet();
2653
- throw new f(ms(t?.getName() ?? "", t?.getKind() ?? ve.Kind.Worksheet));
2653
+ throw new f(ms(t?.getName() ?? "", t?.getKind() ?? q.Kind.Worksheet));
2654
2654
  }
2655
2655
  _anchorWorksheet() {
2656
- return this.getSelectedWorksheet() || (this._getWorksheets(ve.Visibility.VeryHidden)[0] ?? null);
2656
+ return this.getSelectedWorksheet() || (this._getWorksheets(q.Visibility.VeryHidden)[0] ?? null);
2657
2657
  }
2658
2658
  getWorksheets() {
2659
2659
  return this._sheets;
@@ -2661,7 +2661,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
2661
2661
  addWorksheet(e) {
2662
2662
  return this.getWorksheets().add(e);
2663
2663
  }
2664
- _getWorksheets(e = ve.Visibility.Visible) {
2664
+ _getWorksheets(e = q.Visibility.Visible) {
2665
2665
  const t = this._getSheetRefs(e), s = [], r = t.length;
2666
2666
  for (let e = 0; e < r; e++) {
2667
2667
  const r = t[e];
@@ -2669,11 +2669,11 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
2669
2669
  }
2670
2670
  return s;
2671
2671
  }
2672
- _getSheetRefs(e = ve.Visibility.Visible) {
2672
+ _getSheetRefs(e = q.Visibility.Visible) {
2673
2673
  const t = this._getState();
2674
- return t ? e === ve.Visibility.Visible ? t.sheetRefsVisible : e === ve.Visibility.Hidden ? t.sheetRefsVisibleAndHidden : e === ve.Visibility.VeryHidden ? t.sheetRefsAll : c.EmptyArray : [];
2674
+ return t ? e === q.Visibility.Visible ? t.sheetRefsVisible : e === q.Visibility.Hidden ? t.sheetRefsVisibleAndHidden : e === q.Visibility.VeryHidden ? t.sheetRefsAll : c.EmptyArray : [];
2675
2675
  }
2676
- _getSheetRef(e, t = ve.Visibility.Visible) {
2676
+ _getSheetRef(e, t = q.Visibility.Visible) {
2677
2677
  let s = null;
2678
2678
  return "number" == typeof e ? this._getSheetRefs(t)[e] : ("string" == typeof e ? s = this._getState().refsByLowerCaseName.get(e.toLowerCase()) : !0 === e?.isISheet ? s = this._getState().refsByInstance.get(e) : void 0 !== e?.id && (s = this._getState().refsById.get(e.id)), s);
2679
2679
  }
@@ -2747,7 +2747,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
2747
2747
  }
2748
2748
  _addSheet(e, t = null, s = null, r) {
2749
2749
  t = this._nextSheetName(t);
2750
- const i = this._getState(), o = this._createSheet(i.lastId, t, ve.Visibility.Visible, s, void 0, null, r);
2750
+ const i = this._getState(), o = this._createSheet(i.lastId, t, q.Visibility.Visible, s, void 0, null, r);
2751
2751
  if (!o) throw new f(g("error.workbook.sheetNameBlank"));
2752
2752
  return e && (this._tellSheets(), this._emitter.notify("onSheetsChange")), o;
2753
2753
  }
@@ -2767,25 +2767,25 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
2767
2767
  setName: (e, t) => {
2768
2768
  h._setSheetName(u, e, t);
2769
2769
  },
2770
- getVisibility: () => h._getSheetRef(u, ve.Visibility.VeryHidden)?.visibility ?? ve.Visibility.Visible,
2770
+ getVisibility: () => h._getSheetRef(u, q.Visibility.VeryHidden)?.visibility ?? q.Visibility.Visible,
2771
2771
  setVisibility: (e, t) => {
2772
2772
  h._setSheetVisibility(u, e, t);
2773
2773
  },
2774
2774
  getIndex: () => {
2775
- const e = h._getSheetRef(u, ve.Visibility.VeryHidden);
2776
- return e ? h._getOffsetForId(e.id, h._getSheetRefs(ve.Visibility.VeryHidden)) : -1;
2775
+ const e = h._getSheetRef(u, q.Visibility.VeryHidden);
2776
+ return e ? h._getOffsetForId(e.id, h._getSheetRefs(q.Visibility.VeryHidden)) : -1;
2777
2777
  },
2778
2778
  setIndex: (e, t) => {
2779
- const s = h._getSheetRef(u, ve.Visibility.VeryHidden);
2779
+ const s = h._getSheetRef(u, q.Visibility.VeryHidden);
2780
2780
  s && h._moveSheet(s, e, t);
2781
2781
  },
2782
2782
  requestSelect: () => h._requestSelect(u),
2783
- isAttached: () => !!h._getSheetRef(u, ve.Visibility.VeryHidden)
2783
+ isAttached: () => !!h._getSheetRef(u, q.Visibility.VeryHidden)
2784
2784
  }
2785
2785
  }), this._sheetOnNameChange.set(e, () => u._notify("onNameChange")), this._sheetOnVisibilityChange.set(e, () => u._notify("onVisibilityChange")), this._sheetOnIndexChange.set(e, () => u._notify("onIndexChange")), this._addSheetRef({
2786
2786
  name: t,
2787
2787
  id: e,
2788
- visibility: s ?? ve.Visibility.Visible,
2788
+ visibility: s ?? q.Visibility.Visible,
2789
2789
  sheetId: i,
2790
2790
  sheet: u
2791
2791
  }, r), u;
@@ -2802,7 +2802,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
2802
2802
  if (this._closed) throw new Error(g("error.workbook.modelClosed"));
2803
2803
  if (!this._initializing && !this.getProtection().isStructureAllowed()) throw new t(g("error.workbook.protection"));
2804
2804
  const s = e, r = [], i = [], o = s.length;
2805
- for (let e = 0; e < o; e++) s[e].visibility === ve.Visibility.Visible ? (r.push(s[e]), i.push(s[e])) : s[e].visibility === ve.Visibility.Hidden && i.push(s[e]);
2805
+ for (let e = 0; e < o; e++) s[e].visibility === q.Visibility.Visible ? (r.push(s[e]), i.push(s[e])) : s[e].visibility === q.Visibility.Hidden && i.push(s[e]);
2806
2806
  this._updateState({
2807
2807
  sheetRefsAll: s,
2808
2808
  sheetRefsVisible: r,
@@ -2844,7 +2844,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
2844
2844
  f._validateDeleteSheet(e);
2845
2845
  },
2846
2846
  onDelete(e) {
2847
- let t = f._getSheetRef(e, ve.Visibility.VeryHidden);
2847
+ let t = f._getSheetRef(e, q.Visibility.VeryHidden);
2848
2848
  if (!t) return;
2849
2849
  const s = f._beginCommit({ description: g("op.deleteSheet", { name: t.name }) });
2850
2850
  try {
@@ -2933,7 +2933,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
2933
2933
  let s = this._view.getActiveSheetId();
2934
2934
  s ?? (this._view.setActiveSheetId(t), s = t);
2935
2935
  let r = e.refsById.get(s);
2936
- r || (this._view.setActiveSheetId(t), r = e.refsById.get(t), s = t), r.visibility === ve.Visibility.Visible && (this._activeSheetOffset = this._getOffsetForId(s, e.sheetRefsVisible));
2936
+ r || (this._view.setActiveSheetId(t), r = e.refsById.get(t), s = t), r.visibility === q.Visibility.Visible && (this._activeSheetOffset = this._getOffsetForId(s, e.sheetRefsVisible));
2937
2937
  }
2938
2938
  _validateDeleteSheet(e) {
2939
2939
  if (this._closed) throw new Error(g("error.workbook.modelClosed"));
@@ -2953,7 +2953,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
2953
2953
  find(e) {
2954
2954
  if (this._closed) throw new Error(g("error.workbook.modelClosed"));
2955
2955
  const t = this._getWorksheets();
2956
- if (0 === t.length) return { next: () => q };
2956
+ if (0 === t.length) return { next: () => ge };
2957
2957
  if (1 === t.length) return t[0].find(e);
2958
2958
  "string" == typeof e && (e = { text: e });
2959
2959
  const s = !e?.reverse;
@@ -2982,7 +2982,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
2982
2982
  }
2983
2983
  if (!u && a && o === i && (c.done || !l || !c.done && f(c.value.getCoords(), l) >= 0) && (u = !0), u) {
2984
2984
  const e = c;
2985
- return c = q, e;
2985
+ return c = ge, e;
2986
2986
  }
2987
2987
  const d = c;
2988
2988
  return c = h.next(), d;
@@ -2997,7 +2997,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
2997
2997
  let r = 0, i = null;
2998
2998
  const o = "function" == typeof t, n = s?.maxCount ?? Number.MAX_SAFE_INTEGER, a = !s?.maxCount;
2999
2999
  let l = "";
3000
- const h = "string" == typeof t ? Ge(t) : null;
3000
+ const h = "string" == typeof t ? J(t) : null;
3001
3001
  let c = s?.description ?? m("op.replace");
3002
3002
  const u = this._transactions.beginCommit({ description: c });
3003
3003
  try {
@@ -3076,35 +3076,35 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
3076
3076
  return d;
3077
3077
  }
3078
3078
  _createRange(e, t) {
3079
- const s = e ? { ...e } : null, r = s ? this._getSheetRef(s.scope, ve.Visibility.VeryHidden) : null;
3079
+ const s = e ? { ...e } : null, r = s ? this._getSheetRef(s.scope, q.Visibility.VeryHidden) : null;
3080
3080
  if (r && !xs(r)) throw new f(fs(r.name, r.sheet.getKind()));
3081
3081
  if (!r) {
3082
3082
  const e = this._anchorWorksheet();
3083
3083
  return e ? (delete s?.scope, Ss(s, s ? {
3084
- scope: se,
3084
+ scope: st,
3085
3085
  ...e.getEntireRange().getCoords()
3086
3086
  } : null)) : void console.warn(g("error.workbook.noVisibleRefs"));
3087
3087
  }
3088
3088
  const i = r.sheet;
3089
3089
  let o = null;
3090
- return t && (o = { getOptions: t }), new Is(e, Q(i), this, o);
3090
+ return t && (o = { getOptions: t }), new Is(e, te(i), this, o);
3091
3091
  }
3092
3092
  _createRanges(e, t) {
3093
3093
  const s = this._anchorWorksheet();
3094
- if (!s) throw new f(ms("", ve.Kind.Worksheet));
3094
+ if (!s) throw new f(ms("", q.Kind.Worksheet));
3095
3095
  let r = null;
3096
- return t && (r = { getOptions: t }), new vs(e, Q(s), this, r);
3096
+ return t && (r = { getOptions: t }), new vs(e, te(s), this, r);
3097
3097
  }
3098
3098
  getRange(e, t) {
3099
3099
  if (void 0 === e) return this.getSelectedRange(t);
3100
- "number" == typeof e && (e = ue(arguments), t = void 0);
3100
+ "number" == typeof e && (e = Ue(arguments), t = void 0);
3101
3101
  try {
3102
3102
  const s = this._rangesAddressToCoords(e);
3103
3103
  if (1 !== s.length) throw new f(g("error.address.singleRangeOnlyAlt"));
3104
3104
  return this._createRange(s[0], t);
3105
3105
  } catch (t) {
3106
3106
  if (t instanceof a) throw new a(t.message);
3107
- throw new f(t.message ?? re(e));
3107
+ throw new f(t.message ?? rt(e));
3108
3108
  }
3109
3109
  }
3110
3110
  getCell(e) {
@@ -3115,38 +3115,38 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
3115
3115
  }
3116
3116
  getRanges(e, t) {
3117
3117
  const s = this._rangesAddressToCoords(e);
3118
- if (0 === s.length) throw new f(re(e));
3118
+ if (0 === s.length) throw new f(rt(e));
3119
3119
  return this._createRanges(s, t);
3120
3120
  }
3121
3121
  _createGraphRanges(e, t) {
3122
3122
  const s = [], r = this.getCalculation()?.getNamedFormulas() ?? null;
3123
3123
  for (let e = 0; e < t.length; e++) {
3124
- const i = t[e], o = i.sheetName ? this._getSheetRef(i.sheetName, ve.Visibility.VeryHidden) : null, n = o && xs(o) ? o.sheet : this._anchorWorksheet();
3125
- n && s.push(new Ee(i, r, Q(n), null));
3124
+ const i = t[e], o = i.sheetName ? this._getSheetRef(i.sheetName, q.Visibility.VeryHidden) : null, n = o && xs(o) ? o.sheet : this._anchorWorksheet();
3125
+ n && s.push(new Ve(i, r, te(n), null));
3126
3126
  }
3127
3127
  for (let t = 0; t < e.length; t++) s.push(e[t]);
3128
3128
  const i = this._anchorWorksheet();
3129
- return 0 !== s.length && i ? new vs(s, Q(i), this, null) : null;
3129
+ return 0 !== s.length && i ? new vs(s, te(i), this, null) : null;
3130
3130
  }
3131
3131
  getAnomalies(e) {
3132
3132
  if (this._closed) throw new Error(g("error.workbook.modelClosed"));
3133
- const t = le(e), s = this._getWorksheets(ve.Visibility.VeryHidden).map((e) => {
3134
- const t = Q(e);
3133
+ const t = ze(e), s = this._getWorksheets(q.Visibility.VeryHidden).map((e) => {
3134
+ const t = te(e);
3135
3135
  return {
3136
3136
  bounds: t.getSheet().getEntireCoords(),
3137
3137
  internal: t,
3138
3138
  qualified: !0
3139
3139
  };
3140
3140
  });
3141
- return new $(s, () => (this.getSelectedWorksheet() ?? this._getWorksheets(ve.Visibility.VeryHidden)[0]).getEntireRange(), t);
3141
+ return new qe(s, () => (this.getSelectedWorksheet() ?? this._getWorksheets(q.Visibility.VeryHidden)[0]).getEntireRange(), t);
3142
3142
  }
3143
3143
  getStats(e) {
3144
3144
  if (this._closed) throw new Error(g("error.workbook.modelClosed"));
3145
- const t = this._getWorksheets(ve.Visibility.VeryHidden), s = t.length;
3145
+ const t = this._getWorksheets(q.Visibility.VeryHidden), s = t.length;
3146
3146
  if (1 === s) return t[0].getStats(e);
3147
3147
  const r = new Array(s);
3148
3148
  for (let i = 0; i < s; i++) r[i] = t[i].getStats(e);
3149
- return new Mt(r);
3149
+ return new jt(r);
3150
3150
  }
3151
3151
  _activeRangeCoords() {
3152
3152
  const e = this._requireSelectedWorksheet(), t = e.getSelection().getRanges().getCoords(), s = e.getName(), r = t.length, i = new Array(r);
@@ -3171,7 +3171,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
3171
3171
  getSelectedCell() {
3172
3172
  return this._requireSelectedWorksheet().getSelectedCell();
3173
3173
  }
3174
- _rangesAddressToCoords(e, t = !0, s = ve.Visibility.Hidden) {
3174
+ _rangesAddressToCoords(e, t = !0, s = q.Visibility.Hidden) {
3175
3175
  if (!e) throw new f(g("error.address.noAddress"));
3176
3176
  const r = this.getSelectedWorksheet(), i = { ...(r ?? this._anchorWorksheet())?.getEntireRange().getCoords() }, o = r?.getName();
3177
3177
  if (o && (i.scope = o), "string" == typeof e) {
@@ -3181,11 +3181,11 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
3181
3181
  "r" === t ? r.rowStart = r.rowEnd = s.rowIndex : r.colStart = r.colEnd = s.colIndex, e = r;
3182
3182
  }
3183
3183
  }
3184
- const n = this, a = ce(e, i, he, (e) => {
3184
+ const n = this, a = De(e, i, je, (e) => {
3185
3185
  if (!t) return null;
3186
3186
  if ("string" == typeof e) {
3187
- const t = De(e, {
3188
- getTable: (e) => _e(n.getNames().getByName(e)),
3187
+ const t = Qe(e, {
3188
+ getTable: (e) => ce(n.getNames().getByName(e)),
3189
3189
  getAnchor: () => r ? {
3190
3190
  sheet: r,
3191
3191
  coords: r.getSelectedCell().getCoords()
@@ -3200,7 +3200,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
3200
3200
  for (let e = 0; e < l; e++) this._validateCoords(a[e], s);
3201
3201
  return a;
3202
3202
  }
3203
- _validateCoords(e, t = ve.Visibility.Visible, s = g("error.sheet.oobRange")) {
3203
+ _validateCoords(e, t = q.Visibility.Visible, s = g("error.sheet.oobRange")) {
3204
3204
  if (null === e) return;
3205
3205
  const r = this.getWorksheet(e.scope ?? void 0, t).getEntireRange().getCoords();
3206
3206
  if (!d.isRangeWithinRange(e, r)) throw new a(s);
@@ -3248,24 +3248,24 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
3248
3248
  }
3249
3249
  return n;
3250
3250
  }
3251
- _setSheetVisibility(e, s = ve.Visibility.Visible, r) {
3251
+ _setSheetVisibility(e, s = q.Visibility.Visible, r) {
3252
3252
  if (this._closed) throw new Error(g("error.workbook.modelClosed"));
3253
3253
  if (!this.getProtection().isStructureAllowed()) throw new t(g("error.workbook.protection"));
3254
- const i = this._getSheetRef(e, ve.Visibility.VeryHidden);
3254
+ const i = this._getSheetRef(e, q.Visibility.VeryHidden);
3255
3255
  if (!i) return null;
3256
3256
  if (s === i.visibility) return;
3257
3257
  let o = null, n = "";
3258
- s === ve.Visibility.Visible ? n = m("op.unhideSheet") : s === ve.Visibility.Hidden ? n = m("op.hideSheet") : s === ve.Visibility.VeryHidden && (n = m("op.veryHideSheet"));
3258
+ s === q.Visibility.Visible ? n = m("op.unhideSheet") : s === q.Visibility.Hidden ? n = m("op.hideSheet") : s === q.Visibility.VeryHidden && (n = m("op.veryHideSheet"));
3259
3259
  const a = this.beginCommit(n);
3260
3260
  try {
3261
3261
  const e = this._getState().sheetRefsVisible;
3262
- if (s !== ve.Visibility.Visible && 1 === e.length && e[0].id === i.id) throw new f(g("error.workbook.sheetOne"));
3262
+ if (s !== q.Visibility.Visible && 1 === e.length && e[0].id === i.id) throw new f(g("error.workbook.sheetOne"));
3263
3263
  const t = {
3264
3264
  ...i,
3265
3265
  visibility: s
3266
3266
  };
3267
3267
  let n = -1;
3268
- s !== ve.Visibility.Visible && (n = this._getOffsetForId(i.id, e)), o = this._updateSheetRef(i, t).sheet, s !== ve.Visibility.Visible && this._adjustRemoveSelectionIfRequired(n, i.id), this._adjustSheetNamesIfRequired(), a.commit(r);
3268
+ s !== q.Visibility.Visible && (n = this._getOffsetForId(i.id, e)), o = this._updateSheetRef(i, t).sheet, s !== q.Visibility.Visible && this._adjustRemoveSelectionIfRequired(n, i.id), this._adjustSheetNamesIfRequired(), a.commit(r);
3269
3269
  } catch (e) {
3270
3270
  throw a.rollback(), e;
3271
3271
  }
@@ -3298,7 +3298,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
3298
3298
  const t = this._getSheetRef(e);
3299
3299
  if (!t) throw new f(ds(e));
3300
3300
  let s = null;
3301
- return t.visibility !== ve.Visibility.Visible && this._setSheetVisibility(t, ve.Visibility.Visible), this._view.setActiveSheetId(t.id), s = t.sheet, s;
3301
+ return t.visibility !== q.Visibility.Visible && this._setSheetVisibility(t, q.Visibility.Visible), this._view.setActiveSheetId(t.id), s = t.sheet, s;
3302
3302
  }
3303
3303
  getProtection() {
3304
3304
  return this._protection;
@@ -3316,7 +3316,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
3316
3316
  return this._calculation;
3317
3317
  }
3318
3318
  getFonts() {
3319
- return $e.getShared();
3319
+ return de.getShared();
3320
3320
  }
3321
3321
  createFormula(e, t, s) {
3322
3322
  return this.getCalculation().createFormula(e, t, s);
@@ -3387,7 +3387,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
3387
3387
  const t = this._getSheetRef(e), s = t && xs(t) ? t.sheet : null;
3388
3388
  return s ? s._contentAddWatch(() => null) : null;
3389
3389
  }, s = (e) => {
3390
- for (const t of this._getSheetRefs(ve.Visibility.VeryHidden)) {
3390
+ for (const t of this._getSheetRefs(q.Visibility.VeryHidden)) {
3391
3391
  if (!xs(t)) continue;
3392
3392
  const s = t.sheet;
3393
3393
  if (s.getTables().getByName(e)) return s._contentAddWatch(() => null);
@@ -3397,14 +3397,14 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
3397
3397
  const s = this._getSheetRef(e);
3398
3398
  return s && xs(s) ? s.sheet.getRange(t) : null;
3399
3399
  }, i = (e) => {
3400
- for (const t of this._getSheetRefs(ve.Visibility.VeryHidden)) {
3400
+ for (const t of this._getSheetRefs(q.Visibility.VeryHidden)) {
3401
3401
  if (!xs(t)) continue;
3402
3402
  const s = t.sheet.getTables().getByName(e);
3403
3403
  if (s) return s;
3404
3404
  }
3405
3405
  return null;
3406
3406
  }, o = (e, t) => {
3407
- const s = this._pivotSourceNamed(e, t)?.getValue(), i = "string" == typeof s ? ie(s) : null;
3407
+ const s = this._pivotSourceNamed(e, t)?.getValue(), i = "string" == typeof s ? Q(s) : null;
3408
3408
  return i && /^\$?[A-Za-z]+\$?\d+(?::\$?[A-Za-z]+\$?\d+)?$/.test(i.reference) ? r(i.sheet, i.reference.replaceAll("$", "")) : null;
3409
3409
  };
3410
3410
  for (let n = 0; n < e.length; n++) this._getState().pivotCacheData.has(e[n].cacheId) && (e[n]._hold(t, s), e[n]._watchSource(r, i, o));
@@ -3427,13 +3427,13 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
3427
3427
  if (e.isITable) return { name: e.getName() };
3428
3428
  let s = null;
3429
3429
  if ("string" == typeof e) {
3430
- for (const t of this._getSheetRefs(ve.Visibility.VeryHidden)) if (xs(t) && t.sheet.getTables().getByName(e)) return { name: e };
3430
+ for (const t of this._getSheetRefs(q.Visibility.VeryHidden)) if (xs(t) && t.sheet.getTables().getByName(e)) return { name: e };
3431
3431
  if (this.getNames().getByName(e)) return { name: e };
3432
3432
  if (t.getNames().getByName(e)?.getScope()) return {
3433
3433
  name: e,
3434
3434
  sheet: t.getName()
3435
3435
  };
3436
- const r = ie(e), i = r ? this._getSheetRef(r.sheet) : null;
3436
+ const r = Q(e), i = r ? this._getSheetRef(r.sheet) : null;
3437
3437
  if (r && (!i || !xs(i))) return null;
3438
3438
  try {
3439
3439
  s = r ? i.sheet.getRange(r.reference) : t.getRange(e);
@@ -3445,7 +3445,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
3445
3445
  if (!s || s.isInvalid()) return null;
3446
3446
  const { rowStart: r, colStart: i, rowEnd: o, colEnd: n } = s.getCoords();
3447
3447
  return {
3448
- ref: Be({
3448
+ ref: Ye({
3449
3449
  rowStart: r,
3450
3450
  colStart: i,
3451
3451
  rowEnd: o,
@@ -3475,7 +3475,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
3475
3475
  }
3476
3476
  async _refreshPivotCaches(e, t) {
3477
3477
  const s = [];
3478
- for (const t of this._getSheetRefs(ve.Visibility.VeryHidden)) if (xs(t)) for (const r of t.sheet.getPivotTables().getItems()) e.has(r.getCacheId()) && s.push(r);
3478
+ for (const t of this._getSheetRefs(q.Visibility.VeryHidden)) if (xs(t)) for (const r of t.sheet.getPivotTables().getItems()) e.has(r.getCacheId()) && s.push(r);
3479
3479
  for (const e of s) e._assertRefreshAllowed();
3480
3480
  for (const r of e) {
3481
3481
  const e = this._getPivotCache(r), i = e ? await this._pivotSourceRangeOf(e._getSource()) : null;
@@ -3494,7 +3494,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
3494
3494
  async _refreshPivotCachesOnLoad() {
3495
3495
  const e = this._pivotCaches.filter((e) => !!e._getData().model?.refreshOnLoad);
3496
3496
  if (0 === e.length) return;
3497
- const s = await Z.load();
3497
+ const s = await pe.load();
3498
3498
  for (const r of e) {
3499
3499
  if (this._closed) return;
3500
3500
  try {
@@ -3512,7 +3512,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
3512
3512
  return t && xs(t) ? t.sheet.getRange(e.ref) : null;
3513
3513
  }
3514
3514
  if (!e.name) return null;
3515
- if (!e.sheet) for (const t of this._getSheetRefs(ve.Visibility.VeryHidden)) {
3515
+ if (!e.sheet) for (const t of this._getSheetRefs(q.Visibility.VeryHidden)) {
3516
3516
  if (!xs(t)) continue;
3517
3517
  const s = t.sheet.getTables().getByName(e.name);
3518
3518
  if (!s || s.isDeleted()) continue;
@@ -3539,7 +3539,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
3539
3539
  const s = this._getSheetRef(e);
3540
3540
  return (s && xs(s) ? s.sheet : null)?.getPivotTables().getByName(t) ?? null;
3541
3541
  };
3542
- for (const t of this._getSheetRefs(ve.Visibility.VeryHidden)) {
3542
+ for (const t of this._getSheetRefs(q.Visibility.VeryHidden)) {
3543
3543
  if (!xs(t)) continue;
3544
3544
  const s = t.sheet.getMovables().getItems();
3545
3545
  for (let t = 0; t < s.length; t++) {
@@ -3550,7 +3550,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
3550
3550
  }
3551
3551
  _fromJSON(e, t) {
3552
3552
  if (this._emitter.notify("onBeforeLoad", { params: e }), this._initState(), !e.sheets || 0 === e.sheets.length) throw new f(g("error.workbook.sheetOne"));
3553
- e.theme && (this._theme = new me(e.theme), this._styles.setTheme(this._theme));
3553
+ e.theme && (this._theme = new tt(e.theme), this._styles.setTheme(this._theme));
3554
3554
  const s = this._strings.beginPersist(), r = this._resources.beginPersist(), i = this._styles.beginPersist(), o = this._richValues.beginPersist();
3555
3555
  try {
3556
3556
  s.fromJSON(e.strings), r.fromJSON(e.resources), this._fetch.adopt(this._resources.getItems()), i.fromJSON(e.styles), o.fromJSON(e.richData, {
@@ -3575,12 +3575,12 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
3575
3575
  let d = null, m = null;
3576
3576
  this._isLoadingSheets = !0;
3577
3577
  for (let s = 0; s < c; s++) {
3578
- const i = h[s], o = i.visibility || ve.Visibility.Visible, n = s;
3579
- m = n, o === ve.Visibility.Visible ? null === d && (d = n) : null !== u && u === n && (u = null);
3578
+ const i = h[s], o = i.visibility || q.Visibility.Visible, n = s;
3579
+ m = n, o === q.Visibility.Visible ? null === d && (d = n) : null !== u && u === n && (u = null);
3580
3580
  try {
3581
- const e = i.kind ?? ve.Kind.Worksheet;
3582
- if (e !== ve.Kind.Worksheet) {
3583
- const a = i.sheet, l = Ae.fromJSON(a?.part, r.fromResourceId.bind(r));
3581
+ const e = i.kind ?? q.Kind.Worksheet;
3582
+ if (e !== q.Kind.Worksheet) {
3583
+ const a = i.sheet, l = et.fromJSON(a?.part, r.fromResourceId.bind(r));
3584
3584
  if (!l) throw new f(g("error.workbook.sheetPartMissing", { sheetName: i.name }));
3585
3585
  this._createOpaqueSheet(n, i.name, o, s, i.sheetId, e, l, a?.tabColor ?? null, t?.[s]);
3586
3586
  } else this._createSheet(n, i.name, o, s, i.sheetId, i.sheet, t?.[s]);
@@ -3589,7 +3589,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
3589
3589
  }
3590
3590
  }
3591
3591
  this._isLoadingSheets = !1, this._tellSheets(), this._holdPivotCaches(), this._holdPivotSlicers();
3592
- for (const e of this._getSheetRefs(ve.Visibility.VeryHidden)) xs(e) && e.sheet._tellPivots();
3592
+ for (const e of this._getSheetRefs(q.Visibility.VeryHidden)) xs(e) && e.sheet._tellPivots();
3593
3593
  this._updateState({ lastId: m }), e.view.activeSheetId = u ?? d, this.setView(new ns({ json: e.view })), this._adjustSheetNamesIfRequired(), this._listenerProtection?.();
3594
3594
  const _ = this;
3595
3595
  this._protection = new ls(e?.protection, this._options?.readonly), this._listenerProtection = this._protection.addListeners({ onChange: (e) => {
@@ -3619,7 +3619,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
3619
3619
  getBuiltInFunctions: () => t._calculation?.getFunctions(),
3620
3620
  onAdd: (e, s) => {
3621
3621
  const r = t._calculation;
3622
- r.getStatus() !== ee.Status.Off && r.start().then(async () => {
3622
+ r.getStatus() !== Te.Status.Off && r.start().then(async () => {
3623
3623
  if (t._startModules.has(s)) return;
3624
3624
  const e = s.getFunctions().getItems({
3625
3625
  type: "formula",
@@ -3642,7 +3642,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
3642
3642
  if (this._closed) throw new Error(g("error.workbook.modelClosed"));
3643
3643
  await Promise.resolve(this._starting);
3644
3644
  const t = this.getCalculation();
3645
- t.getStatus() !== ee.Status.Off && (await t.ready(), await t._whenRequestsSettled?.()), await this._emitter.notify("onBeforeSave", { async: !0 });
3645
+ t.getStatus() !== Te.Status.Off && (await t.ready(), await t._whenRequestsSettled?.()), await this._emitter.notify("onBeforeSave", { async: !0 });
3646
3646
  const s = { sheets: [] }, r = e?.ignoreStyles ?? !1;
3647
3647
  if (!r) {
3648
3648
  const e = this._theme.toJSON();
@@ -3669,14 +3669,14 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
3669
3669
  sheet: await o.sheet.toJSON(e)
3670
3670
  };
3671
3671
  else {
3672
- const e = h, t = l ? l.toResourceId.bind(l) : () => null, s = { part: Ae.toJSON(e._getPart(), t) }, r = e.getTabColor();
3672
+ const e = h, t = l ? l.toResourceId.bind(l) : () => null, s = { part: et.toJSON(e._getPart(), t) }, r = e.getTabColor();
3673
3673
  r && (s.tabColor = r.toString()), a = {
3674
3674
  name: o.name,
3675
3675
  kind: e.getKind(),
3676
3676
  sheet: s
3677
3677
  };
3678
3678
  }
3679
- void 0 !== o.sheetId && (a.sheetId = o.sheetId), o.visibility === ve.Visibility.Visible ? null === u && (u = n) : a.visibility = o.visibility, o.id === t && (i = n), s.sheets.push(a);
3679
+ void 0 !== o.sheetId && (a.sheetId = o.sheetId), o.visibility === q.Visibility.Visible ? null === u && (u = n) : a.visibility = o.visibility, o.id === t && (i = n), s.sheets.push(a);
3680
3680
  }
3681
3681
  if (!r) {
3682
3682
  const e = h.toJSON();
@@ -3700,7 +3700,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
3700
3700
  if (b.length > 0) {
3701
3701
  const e = l ? l.toResourceId.bind(l) : () => null, t = /* @__PURE__ */ new Set();
3702
3702
  for (const e of this.getPivotTables()) t.add(e.getCacheId());
3703
- const r = qe(this);
3703
+ const r = ke(this);
3704
3704
  for (let e = 0; e < r.length; e++) {
3705
3705
  const s = r[e].toJSON()?.pivot?.cacheId;
3706
3706
  void 0 !== s && t.add(s);
@@ -3789,7 +3789,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
3789
3789
  get isIWorkbook() {
3790
3790
  return !0;
3791
3791
  }
3792
- }, Os = { address: null }, xs = (e) => e.sheet.getKind() === ve.Kind.Worksheet, Es = class {
3792
+ }, Os = { address: null }, xs = (e) => e.sheet.getKind() === q.Kind.Worksheet, Ls = class {
3793
3793
  constructor() {
3794
3794
  this._readFormats = [], this._writeFormats = [], this._encryptions = [];
3795
3795
  }
@@ -3866,9 +3866,9 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
3866
3866
  return !0;
3867
3867
  });
3868
3868
  }
3869
- }, Ls = /* @__PURE__ */ new WeakMap(), Vs = (e) => !!e && "object" == typeof e && "function" == typeof e.getPath && "function" == typeof e.canWrite, As = class {
3869
+ }, Es = /* @__PURE__ */ new WeakMap(), Vs = (e) => !!e && "object" == typeof e && "function" == typeof e.getPath && "function" == typeof e.canWrite, As = class {
3870
3870
  constructor() {
3871
- this._setInstalled = /* @__PURE__ */ new WeakSet(), this._backingStore = null, this._emitter = new y(this), this._registry = new Es(), this._defaultStore = new pt(() => this.getWriteFormats(), () => this.getReadFormats());
3871
+ this._setInstalled = /* @__PURE__ */ new WeakSet(), this._backingStore = null, this._emitter = new y(this), this._registry = new Ls(), this._defaultStore = new pt(() => this.getWriteFormats(), () => this.getReadFormats());
3872
3872
  }
3873
3873
  getBackingStore() {
3874
3874
  return this._backingStore ?? this._defaultStore;
@@ -4045,7 +4045,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
4045
4045
  }
4046
4046
  if ("string" == typeof t) {
4047
4047
  const e = i.getPath();
4048
- i = new ut(He(e) ? e : `${e}.${n.exts[0]}`, { format: n.key });
4048
+ i = new ut(G(e) ? e : `${e}.${n.exts[0]}`, { format: n.key });
4049
4049
  }
4050
4050
  const h = i.getEncryption(), c = e.getOrigin?.(), u = (i instanceof ut ? i.getPassword() : null) ?? (c instanceof ut ? c.getPassword() : null), d = i.isEncrypted() || (c?.isEncrypted() ?? !1), m = void 0 !== r?.password ? r.password : u ?? (d ? void 0 : null);
4051
4051
  let _ = null;
@@ -4085,7 +4085,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
4085
4085
  }))(w, h), u = await b._writeArrayBuffer(e, l, {
4086
4086
  ...r,
4087
4087
  progress: c
4088
- }), d = Ls.get(a);
4088
+ }), d = Es.get(a);
4089
4089
  if (h.some((e) => !d?.has(e.message)) && r?.onWarnings) {
4090
4090
  const t = await Promise.resolve(r.onWarnings({
4091
4091
  workbook: e,
@@ -4105,9 +4105,9 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
4105
4105
  if (!t.write) throw new Error("The active backing store is read-only (no write implementation).");
4106
4106
  if (I = await t.write(v), I) {
4107
4107
  if (void 0 !== m && I instanceof ut && (I.setPassword(m), I.update({ encryption: _ ? _.key : null })), C.length) {
4108
- const e = Ls.get(I) ?? /* @__PURE__ */ new Set();
4108
+ const e = Es.get(I) ?? /* @__PURE__ */ new Set();
4109
4109
  for (const t of C) e.add(t.message);
4110
- Ls.set(I, e);
4110
+ Es.set(I, e);
4111
4111
  }
4112
4112
  s && I !== e.getOrigin() && ft(e.getOrigin())?.setOrigin(I);
4113
4113
  const t = k ?? e.getTransactions?.()?.getCurrentCommit() ?? null;
@@ -4130,7 +4130,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
4130
4130
  return I;
4131
4131
  }
4132
4132
  _stripExtension(e) {
4133
- const t = He(e);
4133
+ const t = G(e);
4134
4134
  return t ? e.slice(0, e.length - t.length - 1) : e;
4135
4135
  }
4136
4136
  _baseName(e) {
@@ -4142,7 +4142,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
4142
4142
  if (!t) throw new Error("A write format must be provided.");
4143
4143
  const r = t.handler;
4144
4144
  if (!r) throw new Error(`Unable to resolve a write handler for '${t.key}'.`);
4145
- return U(t.key) || await K.assertUsable("exports", 0), r(e, {
4145
+ return Ie(t.key) || await _e.assertUsable("exports", 0), r(e, {
4146
4146
  ...s,
4147
4147
  format: t.key
4148
4148
  });
@@ -4163,7 +4163,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
4163
4163
  reason: e?.message ?? String(e)
4164
4164
  }), { cause: e });
4165
4165
  }
4166
- return await Qe(), i;
4166
+ return await ee(), i;
4167
4167
  }
4168
4168
  get isIWorkbookIO() {
4169
4169
  return !0;
@@ -4192,7 +4192,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
4192
4192
  } : null;
4193
4193
  },
4194
4194
  place: (e, t) => t ? `${t}/${e}` : null
4195
- }, js = [
4195
+ }, Ms = [
4196
4196
  ".woff2",
4197
4197
  ".woff",
4198
4198
  ".ttf",
@@ -4202,7 +4202,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
4202
4202
  ].map((e) => ({
4203
4203
  suffix: e,
4204
4204
  place: (e, t) => t ? `${t}/${e}` : e
4205
- })), Ms = {
4205
+ })), js = {
4206
4206
  suffix: ".metrics.json",
4207
4207
  async extract(e) {
4208
4208
  const t = await e.readJson();
@@ -4219,7 +4219,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
4219
4219
  }, {
4220
4220
  kind: Bs,
4221
4221
  files: [
4222
- Ms,
4222
+ js,
4223
4223
  {
4224
4224
  suffix: ".hinted.json",
4225
4225
  async extract(e) {
@@ -4231,7 +4231,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
4231
4231
  hinted: !0
4232
4232
  } : null;
4233
4233
  },
4234
- place: Ms.place
4234
+ place: js.place
4235
4235
  },
4236
4236
  {
4237
4237
  suffix: ".rows.json",
@@ -4244,13 +4244,13 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends H {
4244
4244
  rows: !0
4245
4245
  } : null;
4246
4246
  },
4247
- place: Ms.place
4247
+ place: js.place
4248
4248
  },
4249
- ...js
4249
+ ...Ms
4250
4250
  ]
4251
4251
  }];
4252
4252
  async function zs(e, t) {
4253
- const { Chart: s } = await import("./GfAXkT_vctdRX_9f.js");
4253
+ const { Chart: s } = await import("./P3Or6rEY-fHmQZbH.js");
4254
4254
  return new s({
4255
4255
  json: e,
4256
4256
  getStyles: t?.getStyles
@@ -4262,7 +4262,7 @@ var Hs = {
4262
4262
  showRowStripes: !1,
4263
4263
  showColumnStripes: !1,
4264
4264
  showLastColumn: !0
4265
- }, $s = class extends Xe {
4265
+ }, $s = class extends ne {
4266
4266
  constructor(e, t, s, r) {
4267
4267
  super(e, t?.getProperties() ?? { name: "" }, {
4268
4268
  rowStart: 0,
@@ -4287,7 +4287,7 @@ var Hs = {
4287
4287
  return {
4288
4288
  rows: i,
4289
4289
  columns: 5,
4290
- getStyleAt: (t, s) => Ce(void 0, e, o, {
4290
+ getStyleAt: (t, s) => Fe(void 0, e, o, {
4291
4291
  rowStart: t,
4292
4292
  colStart: s,
4293
4293
  rowEnd: t,
@@ -4299,7 +4299,7 @@ ks || (ks = {});
4299
4299
  var Us, qs, Ks, Gs = null;
4300
4300
  function Xs() {
4301
4301
  if (!Gs) {
4302
- const e = import("./BXxUz-sB48Z9nSFi.js").then((e) => e.loadScriptingDeclarations());
4302
+ const e = import("./CJcyMzG19TOjqNHS.js").then((e) => e.loadScriptingDeclarations());
4303
4303
  e.catch(() => {
4304
4304
  Gs = null;
4305
4305
  }), Gs = e;
@@ -4309,7 +4309,7 @@ function Xs() {
4309
4309
  var Zs = null;
4310
4310
  function Qs() {
4311
4311
  if (!Zs) {
4312
- const e = import("./BXxUz-sB48Z9nSFi.js").then((e) => e.loadScriptingApi()).then((e) => JSON.parse(e));
4312
+ const e = import("./CJcyMzG19TOjqNHS.js").then((e) => e.loadScriptingApi()).then((e) => JSON.parse(e));
4313
4313
  e.catch(() => {
4314
4314
  Zs = null;
4315
4315
  }), Zs = e;
@@ -4334,7 +4334,7 @@ Us || (Us = {}), (qs || (qs = {})).Type = {
4334
4334
  ComboEdit: "comboEdit",
4335
4335
  Simple: "simple"
4336
4336
  };
4337
- var Ys = class extends Re {
4337
+ var Ys = class extends me {
4338
4338
  constructor(e) {
4339
4339
  super(e);
4340
4340
  }
@@ -4347,8 +4347,8 @@ var Ys = class extends Re {
4347
4347
  colEnd: (e?.size?.width ?? 5) - 1,
4348
4348
  rowEnd: (e?.size?.height ?? 5) - 1
4349
4349
  },
4350
- getRanges: (e) => new oe(null)
4350
+ getRanges: (e) => new Z(null)
4351
4351
  }, super._initializeOptions(e);
4352
4352
  }
4353
- }, er = "0.8.0-beta.25", tr = "2026-11-12T18:15:14.120Z";
4354
- export { Ts as A, Ft as C, Pt as D, Ps as E, wt as F, Bs as I, qs as L, St as M, yt as N, bt as O, Ns as P, er as R, Fs as S, Ds as T, ut as _, ot as a, As as b, Zt as c, Qs as d, Ys as f, ss as g, tr as h, Us as i, ks as j, Xs as k, Ht as l, Js as m, rs as n, ct as o, ns as p, nt as r, Ks as s, kt as t, at as u, zs as v, Lt as w, Vt as x, jt as y, Ut as z };
4353
+ }, er = "1.0.0", tr = "2026-11-12T22:16:50.393Z";
4354
+ export { Ts as A, Ft as C, Pt as D, Ps as E, wt as F, Bs as I, qs as L, St as M, yt as N, bt as O, Ns as P, er as R, Fs as S, Ds as T, ut as _, ot as a, As as b, Zt as c, Qs as d, Ys as f, ss as g, tr as h, Us as i, ks as j, Xs as k, Ht as l, Js as m, rs as n, ct as o, ns as p, nt as r, Ks as s, kt as t, at as u, zs as v, Et as w, Vt as x, Mt as y, Ut as z };