@sheetxl/studio-vanilla 0.7.28-beta.3 → 0.8.0-beta.1

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 (339) hide show
  1. package/browser/cjs/2zXD3NPfuQT2KSZq.cjs +7 -0
  2. package/browser/cjs/{CN8lXPB3rJ4Ux6jN.cjs → B19QM3SGmPKKwD_o.cjs} +1 -1
  3. package/browser/cjs/{BYp7-QW_AGEONvMr.cjs → B5YBx0GqLor3i0O1.cjs} +1 -1
  4. package/browser/cjs/{Eja0Zsmdah-At3rJ.cjs → B9EI7wviSkHS9ZkH.cjs} +1 -1
  5. package/browser/cjs/BC2gCQkR1iykfAuC.cjs +1 -0
  6. package/browser/cjs/{Cf902jiI4KmAo0xm.cjs → BEJFcqVMDMKOvs11.cjs} +1 -1
  7. package/browser/cjs/{Bf__CHuG3Xml-c51.cjs → BEVqcFGFU6Ri9y8T.cjs} +2 -2
  8. package/browser/cjs/{CwBld2h5K_-uk804.cjs → BEzaum_kgG4yAOx0.cjs} +1 -1
  9. package/browser/cjs/BF-38Z7Z0FZOPl192.cjs +1 -0
  10. package/browser/cjs/{BOLM1QOvxUKhYbK5.cjs → BIQZDBQfv3Qm5iC8.cjs} +2 -2
  11. package/browser/cjs/BSCgCfORdZz1Ii5S.cjs +2 -0
  12. package/browser/cjs/{QH2fF4MqkcvdkNjz.cjs → BZr-IqNS1skh1hr6.cjs} +1 -1
  13. package/browser/cjs/BfzzZ9IR27ZPzj-8.cjs +3 -0
  14. package/browser/cjs/Bgke3PtMSF2Iaen4.cjs +1 -0
  15. package/browser/cjs/{udZZuwSKdGYCjFsn.cjs → BziOCn_XEGT4ynN5.cjs} +1 -1
  16. package/browser/cjs/C-HOJozu5NgCil1q.cjs +1 -0
  17. package/browser/cjs/{hI9m9CzcSN-spUI2.cjs → C2oTW2DjZypuqq7x.cjs} +1 -1
  18. package/browser/cjs/{DOkSIS6STTVNDKfk.cjs → C5rQELB0TUeXY6VM.cjs} +1 -1
  19. package/browser/cjs/C6yxQPAEgcGWAhYR.cjs +33 -0
  20. package/browser/cjs/{BHgdQUCqHS6ORa7c.cjs → CPgCih_KEqnUZ9Rv.cjs} +1 -1
  21. package/browser/cjs/CSNCOmYEOR-iTJ7K.cjs +5 -0
  22. package/browser/cjs/{Y0B5_Kqc0UL2taRO.cjs → CcneNtiqtKppCa-p.cjs} +2 -2
  23. package/browser/cjs/Ci8Uu7_b4lwwRLAD2.cjs +1 -0
  24. package/browser/cjs/{KzrnzN7NeOPdB-Ic.cjs → Cm21F18ga8TluA9h.cjs} +1 -1
  25. package/browser/cjs/{DP0yIsjVWme5C-UE.cjs → CojEXZgX08waZOoq.cjs} +1 -1
  26. package/browser/cjs/CrDTTLE9EvaGDSD4.cjs +88 -0
  27. package/browser/cjs/{CLb55xtEE2qOnXPJ2.cjs → CvV18ZJgssoHMkdf2.cjs} +1 -1
  28. package/browser/cjs/{BC9dJX0j0S8cLlfd.cjs → Cy-4IMt-AbR-ifP3.cjs} +1 -1
  29. package/browser/cjs/CyGzzWYDy-IniKCq2.cjs +7 -0
  30. package/browser/cjs/CzgwTfy2072Dmt5u.cjs +1 -0
  31. package/browser/cjs/{CJGPlP_eqUiNvS8J2.cjs → D19RglhKiroWfpQn2.cjs} +1 -1
  32. package/browser/cjs/DFHxNnJ-lHtv0hIq.cjs +1 -0
  33. package/browser/cjs/DH3WXPfGHwWJW0nH.cjs +1 -0
  34. package/browser/cjs/DNy-UU3NKNqQQngF.cjs +1 -0
  35. package/browser/cjs/{COpCKLHQ5jF_IoiS2.cjs → DPjEO7dwhCFd8DHR2.cjs} +1 -1
  36. package/browser/cjs/{CAEF_wXnxI6o5BkS.cjs → DfMJOaJ0GcUiSn4Q.cjs} +1 -1
  37. package/browser/cjs/{DCoIIJyPtSyIsTJb.cjs → DiZDRPIgbO3sQ8Vb.cjs} +1 -1
  38. package/browser/cjs/{D2KFRZ75pzopfyVC.cjs → DsIHLUKUrSrYhFHl.cjs} +1 -1
  39. package/browser/cjs/{BDSt3etlKFP344pX2.cjs → DvSvfeo9V0Abfd3q2.cjs} +1 -1
  40. package/browser/cjs/{BhZ21zg_gpygQ79x2.cjs → DxQkFYAFNZubVdn22.cjs} +1 -1
  41. package/browser/cjs/{CctPhNbQyX8s8ExI.cjs → E-IqDztfMb_xdszH.cjs} +1 -1
  42. package/browser/cjs/{BHpypCDUD5cP3vR92.cjs → ElcoSB--cCpS6i7R2.cjs} +1 -1
  43. package/browser/cjs/KNCocKN9uPR0tvUS.cjs +1 -0
  44. package/browser/cjs/{DuLz-mXv6patMuVn2.cjs → Kr8f1inOTt-MICaP2.cjs} +1 -1
  45. package/browser/cjs/{DMJpPocVk36TEmfa.cjs → PM3PrEWG3WHKxaDx.cjs} +1 -1
  46. package/browser/cjs/{DtgmpiVT0_CaM-eU2.cjs → YG320hBA20Dl3HoU2.cjs} +1 -1
  47. package/browser/cjs/{Dl_WSCZ-dmkNHosq.cjs → _H5j4dU7HOBYTawU.cjs} +1 -1
  48. package/browser/cjs/a0Z-SXs_N71CtqYb2.cjs +1 -0
  49. package/browser/cjs/{1KM7qHlz__nQ218X2.cjs → aYuNpndpwcZG5eik2.cjs} +1 -1
  50. package/browser/cjs/{BzvKaJw-3G3FMhao2.cjs → bGMaev70Zd_NXqLM2.cjs} +1 -1
  51. package/browser/cjs/bIaGoYEDSBCrAaB6.cjs +1 -0
  52. package/browser/cjs/{BCax8eUosvZxqJum2.cjs → hzUo76TXMOBqsI3U2.cjs} +1 -1
  53. package/browser/cjs/i2VboqjlOcozI9MQ.cjs +12 -0
  54. package/browser/cjs/index.cjs +2 -2
  55. package/browser/cjs/xBcvszV6x7ys-m532.cjs +1 -0
  56. package/browser/esm/{CecKVsBMvvKuk2Og.mjs → -vgNEEXiEad4bltZ.mjs} +4467 -3814
  57. package/browser/esm/{BIboUJ6YhTe0O5Ep.mjs → 1guzFZp1LHz_FwfL.mjs} +1 -1
  58. package/browser/esm/{C39fSQO6blxFky052.mjs → 3y_bCend8tkaewDG2.mjs} +7 -7
  59. package/browser/esm/{D7-Zv2k1IJkmQoxc.mjs → 47Yv4X226-93If7L.mjs} +1 -1
  60. package/browser/esm/{Ci7qcrvyeBaD36sR.mjs → 7rixDGGrR72lXkMV.mjs} +5 -5
  61. package/{cdn/assets/BM3Fxh1DBzKRDnJ-.js → browser/esm/8V-VceXEjpADM8qK2.mjs} +1 -1
  62. package/browser/esm/{DX0xvH5nQ8MjqsA02.mjs → 8f9hCbpXTTYEgG312.mjs} +2 -2
  63. package/browser/esm/{DqfIf41HljTIhC84.mjs → 9_bymSfTn_rR_v6W.mjs} +5 -5
  64. package/{cdn/assets/Cwee8HXWwJj0ASk32.js → browser/esm/At60x9FEPePwPP_J.mjs} +7589 -6421
  65. package/browser/esm/{CsK0x9jgM8z_DOl1.mjs → B0HA_dHcr0kKfudQ.mjs} +43 -43
  66. package/browser/esm/{CtZ4wSjG6QUWs7Nn.mjs → B1NoGosH2YQh01g7.mjs} +6 -6
  67. package/browser/esm/{rnntZ_PYlojxr5c4.mjs → B4h6iO7hQ9lCR7kj.mjs} +1828 -1445
  68. package/browser/esm/{BzilGTs3oFGxJ5uB.mjs → B4iT_CduJeJunwBc.mjs} +2 -2
  69. package/browser/esm/{CqSxZiLos0nQa69t2.mjs → B4vYIE3kSPTxCgpf2.mjs} +5 -5
  70. package/{cdn/assets/BG-wTTfaCHaJMI5b.js → browser/esm/B5ZqqASTcBEV5L9K2.mjs} +1 -1
  71. package/browser/esm/{MZKwwgG9APikaCAg.mjs → BBtOlJMVlsWorNJH.mjs} +184 -184
  72. package/browser/esm/{Bpp8p7LJo9K-1Tm-.mjs → BCZjYGV8AqIZghBH.mjs} +1 -1
  73. package/browser/esm/{sIWoD1UYd1XgTrIs2.mjs → BCkXtOM3yKocv7L-2.mjs} +1 -1
  74. package/{cdn/assets/DHd5k_mCX2iTwwRi.js → browser/esm/BD7RxHQgrqy_4tb5.mjs} +2 -2
  75. package/{cdn/assets/Bk-F9XzxhuyAOQqK2.js → browser/esm/BDkVAo0CDCTE04ZJ2.mjs} +1 -1
  76. package/browser/esm/{CdV0VXnaW6UyTd8E.mjs → BHBJtVTiQByD_y9j.mjs} +1 -1
  77. package/{cdn/assets/BMlDCj6kw-JTuDJ9.js → browser/esm/BHmYoIIbNW3GdcqV2.mjs} +1 -1
  78. package/{cdn/assets/Bk8tTxRXYv1v5QpX.js → browser/esm/BLcn1kGRsjURZSzk.mjs} +2 -2
  79. package/{cdn/assets/YGKMD1YfDLoo18Sy2.js → browser/esm/BMRav2VAqEzDSp3r2.mjs} +1 -1
  80. package/browser/esm/{HQv1oLV3ax-NKXZG.mjs → BOl4FzJRD7MplCU72.mjs} +1 -1
  81. package/browser/esm/{Bk13V_C0eSaqMClU.mjs → BPv6Pw1hW-sV5Fya.mjs} +1 -1
  82. package/browser/esm/{nBRFIzaPeMPPvIMQ2.mjs → BQDXkeSabbxB5DUB2.mjs} +6 -6
  83. package/browser/esm/{DjwllBVpUWlaltMT.mjs → BUCKq_2lHPd1ndvw.mjs} +6 -6
  84. package/browser/esm/{DUpHK7eGlzF6E3h5.mjs → BVRzmIk5PujkT_Ap.mjs} +12 -8
  85. package/{cdn/assets/DJzMm5FQXuMWHNom2.js → browser/esm/BVjXdv_wkL1x_8ZJ2.mjs} +1 -1
  86. package/browser/esm/{BT1lb0BHqaMUHJEH.mjs → BX4f6i2WMBMKFVCq.mjs} +4 -4
  87. package/browser/esm/{De-RIk_tQ6xW8NH2.mjs → BZsx0QHg1RZlM9ZN.mjs} +1 -1
  88. package/browser/esm/{BbgnnZj965cf_RAV2.mjs → BceIETi6JJRW6Ss62.mjs} +7 -7
  89. package/browser/esm/{BKX_mnqOl4t0M7Q-.mjs → Be4QC65cR8N84rTn.mjs} +1 -1
  90. package/browser/esm/{BamGz0uoayfOfFJD.mjs → BhxX7CZWSOlV2Dsz.mjs} +7 -7
  91. package/browser/esm/{DZyZNxEMnIWr2n8S.mjs → BhzLZRz2N8RxjQ_U.mjs} +3 -3
  92. package/browser/esm/{swjGzqq7IK8YnHrV.mjs → BjTf3XA9Swj0ngpH.mjs} +2 -2
  93. package/browser/esm/{Sm94kpOe8UUYLpaZ.mjs → BkSb_vyWe-AhyEDa.mjs} +3 -3
  94. package/browser/esm/{CC52ynv81P-LwXRT.mjs → Bl6bX86tSq8hfyb2.mjs} +6 -6
  95. package/browser/esm/{yFD3mg0KbvkE3s1Y2.mjs → Blc1T4zLkp8bRC_n2.mjs} +7 -7
  96. package/browser/esm/{CWQXDC8Qk5PH757v.mjs → Bp9qFBIcpIGXvMgo.mjs} +13 -13
  97. package/{cdn/assets/CxJliRXAfjf-8FJL.js → browser/esm/BqTFwWLbXXJ0Fu-X2.mjs} +1 -1
  98. package/browser/esm/{yqwkS9EO5146-Xhf2.mjs → BqwvP0318zI2izeL2.mjs} +9 -9
  99. package/{cdn/assets/CUj7kwIeQGAqyb6V.js → browser/esm/Bv_96nwOEMHN9Sa02.mjs} +1 -1
  100. package/browser/esm/{uk2_KQhVX77MWa7A2.mjs → BykiUmcpDgSRNQI12.mjs} +1 -1
  101. package/browser/esm/{Bpypf56n7jOOW7Ys.mjs → C0rS1uBqfsj-gPR8.mjs} +7 -7
  102. package/{cdn/assets/Nj1DgowT0KN0un7b.js → browser/esm/C1ZePT2B182vSnxW2.mjs} +1 -1
  103. package/browser/esm/{CI92jUOrJIKUlfGx2.mjs → C6CK_4GD9IpxKglV2.mjs} +1436 -1398
  104. package/browser/esm/{BEF8kcbXgMjyCP4C2.mjs → CAPgMrAKg07EREFD.mjs} +1 -1
  105. package/browser/esm/{Cjq-G2Seyww6IMSH.mjs → CEN8dYSpN2oew8HH.mjs} +1 -1
  106. package/{cdn/assets/BG8zQEmkmTTw8LXE.js → browser/esm/CG5v2hAwGR5Ptufn.mjs} +1 -1
  107. package/browser/esm/CGGJWgWSPZ0aP_C3.mjs +87 -0
  108. package/browser/esm/{CX0QhwSYuHoImWlY2.mjs → CGqvy5LwQ4z9J2oD2.mjs} +1 -1
  109. package/{cdn/assets/Dt8IOrB4ifUVtTff.js → browser/esm/CGyydD3tRb0ik50l2.mjs} +1 -1
  110. package/browser/esm/{DbGc-QtQMWI-VyUe.mjs → CH0of3GZTzHviuQV.mjs} +1 -1
  111. package/browser/esm/{CI8YyVegXUBlHR61.mjs → CJPemkFUzhcAD_qR.mjs} +1 -1
  112. package/browser/esm/{DgGF1ZaI3ti0c_Nz.mjs → COA_SZY2x8q6t4BD.mjs} +1 -1
  113. package/browser/esm/{jvvKubD9MdvZCawH2.mjs → CPUlpDM6aAzZzCat2.mjs} +11 -11
  114. package/{cdn/assets/DAN4gSLpoicGd0oX2.js → browser/esm/CQM87ZBN7Yzn4Yxr.mjs} +3 -3
  115. package/browser/esm/{Bynpw8CnO-1JkFdZ2.mjs → CR3jgkduTLczbMjH2.mjs} +1 -1
  116. package/browser/esm/{BV1A7fanbtryQZdr.mjs → CU1d8OvDv5TU6fSd.mjs} +254 -236
  117. package/browser/esm/{CEWWFcwu4AyqL0cQ.mjs → CY1zykikO58_ADk8.mjs} +250 -247
  118. package/browser/esm/{Bxt5fHMZXudQ1QHA.mjs → CZWIS7FuqNjbheSw.mjs} +6 -6
  119. package/browser/esm/Cb-FUOYcyRSkHG6u2.mjs +238 -0
  120. package/{cdn/assets/DNXCAcVGHeeoKPcx.js → browser/esm/Cbw0JeJURvQyxIoa.mjs} +1 -1
  121. package/browser/esm/{l9SSIWXeR5tPN95-.mjs → Cc5IufffX4N-8QpE.mjs} +3 -3
  122. package/browser/esm/{CEgIZKMC4XoMmPp5.mjs → Cd8HXAJlflkkTXxc.mjs} +3 -3
  123. package/browser/esm/{BC9RLqAWMPRx_1rS.mjs → CdMv3f8Gyxh8q2RR2.mjs} +1 -1
  124. package/browser/esm/{B3CqIagnCvfOrLBT.mjs → CfuhUkrvOq11d9FR.mjs} +7 -7
  125. package/{cdn/assets/y07oKUx2vGjEEZ0w2.js → browser/esm/CfvrjQGuf7vXiQCB.mjs} +1 -1
  126. package/browser/esm/{UOfj2s5X9yjL1iLF2.mjs → Ckl3FLCOeqw7yhkP2.mjs} +8 -8
  127. package/{cdn/assets/C_Kd0CPQvZsJLD6b.js → browser/esm/Clfp7SznkOrJoQvL.mjs} +1 -1
  128. package/browser/esm/{53p_EWlOxGgrMq-q.mjs → CpjX81WsWJbXMUoT.mjs} +908 -870
  129. package/browser/esm/{DwEiTFl_RN5oQzfh.mjs → CsufM5aF6VTLKDWM.mjs} +7 -7
  130. package/browser/esm/{5XtgjihhVCzNqyYJ2.mjs → CtXoSHbCUKMY-tSJ.mjs} +1 -1
  131. package/browser/esm/{CNZeWICVX0x6E3-Z.mjs → D3G3tI3DVCUF3Gdk.mjs} +1 -1
  132. package/browser/esm/{Clu5SMZriAkKa_np2.mjs → D4VqLbEWag8lTWzC2.mjs} +13 -13
  133. package/browser/esm/{2dJqxS99uENpvAC92.mjs → D6SKy2BtcWkhfiA02.mjs} +1 -1
  134. package/{cdn/assets/BbRZ0cO4t2haGX-o.js → browser/esm/D9-wpGVbTS9rRpxx.mjs} +1 -1
  135. package/{cdn/assets/DSY8maNeFb51KgKe.js → browser/esm/DBL3Qp5jyPrFg7KI2.mjs} +1 -1
  136. package/{cdn/assets/SNsjWQUbxOQzdnCT.js → browser/esm/DDOO4tcrO4OfMUDe.mjs} +1 -1
  137. package/browser/esm/DDUYQ8FPeh1TJU24.mjs +538 -0
  138. package/browser/esm/{BDHrIbkTx7Ii0RYb.mjs → DFdU1DsC1lXOrejZ.mjs} +950 -945
  139. package/browser/esm/{Dcbf_tge-hZbUfUD.mjs → DMLwXmjo28k_iNEU.mjs} +1120 -1052
  140. package/{cdn/assets/BHmeRWtpqOMknkon.js → browser/esm/DMX-ZlC_ljcf7oUN.mjs} +1 -1
  141. package/{cdn/assets/CtaapT_7WuEvy48w2.js → browser/esm/DQ-0yyFAwoWtxmhV2.mjs} +1 -1
  142. package/{cdn/assets/BmZX5BqczMfR2VlT.js → browser/esm/DQ4o4dG7gWbL1X8F2.mjs} +1 -1
  143. package/{cdn/assets/DDg-fxiIqpuutuyu.js → browser/esm/DRc_Wi5c7WdKHTVN2.mjs} +1 -1
  144. package/{cdn/assets/DyPUmQ-x13kFTQyg.js → browser/esm/DTaVECXVrgvC48BE.mjs} +3 -3
  145. package/browser/esm/{CKc-IOHYDEuo2FhB.mjs → DVJd6McdAG5udItH.mjs} +5 -5
  146. package/browser/esm/{IMAnmKax7yp8adEP2.mjs → DVQNQmjI2PKkwiOw2.mjs} +15 -15
  147. package/browser/esm/{CCvvNbrMzlFHlAbr2.mjs → DVZ_UnchuMRveDG32.mjs} +12 -4
  148. package/{cdn/assets/DR4uNNkaArYCuvNg.js → browser/esm/DW72HwfnJtQxzoGa.mjs} +2 -2
  149. package/browser/esm/{MJIl3u3WexRfuRxx.mjs → DXWmgQSeh0_HDxZj.mjs} +4 -4
  150. package/{cdn/assets/DT8AGfoENVVMPsi3.js → browser/esm/DZbR5R1fNikjgqYb.mjs} +1 -1
  151. package/{cdn/assets/DhnxpW56CJ43gVOI2.js → browser/esm/D_t53-8k73CNpV-p.mjs} +72 -46
  152. package/browser/esm/{B1AbnDun66mq_S2f.mjs → D_zNx76HGunFi7xJ.mjs} +12 -12
  153. package/browser/esm/{R3YBWWwMJAzbuwie2.mjs → Dc0BDcQUGy_WIVFa.mjs} +1 -1
  154. package/browser/esm/{CSlBZF1ezptA1LSS2.mjs → DfRGH6mEtIVDWEYN2.mjs} +1 -1
  155. package/{cdn/assets/B5G5aOCiy3kn0ADy.js → browser/esm/Dg5wjQp0fArKXlM3.mjs} +2 -2
  156. package/{cdn/assets/4Z5QgDDHi93cqy332.js → browser/esm/DnuaqN0xfgqzl8qG.mjs} +684 -622
  157. package/browser/esm/{BXf0y-wp2FQ5btCG2.mjs → Dnx3_xXfRlD6ECfZ2.mjs} +1 -1
  158. package/browser/esm/{BwekjT1bXcBAV6hi2.mjs → DrUEYcXg6N2D2s1Z2.mjs} +1 -1
  159. package/{cdn/assets/CAgzNDmM7lJZAN5m.js → browser/esm/DtXC6uPF2LLktqFE.mjs} +2 -2
  160. package/browser/esm/{B4094aQR3Q4KhALV2.mjs → DuPdSe-EXFTx9dsc2.mjs} +8 -8
  161. package/browser/esm/{Byl6FdOyv58rFwxZ.mjs → DzDwSOBdJh_lx_NM.mjs} +5 -5
  162. package/{cdn/assets/iKMg-svZQSvoVzqO.js → browser/esm/EwzqnZl1lTr56hH-2.mjs} +1 -1
  163. package/browser/esm/{Jw068AbKaxWlv8HJ2.mjs → Gy0CHZTvn4hY-rkx2.mjs} +1 -1
  164. package/browser/esm/{BEgQWG98wq54oeau2.mjs → NekeSGoazNCraGNC2.mjs} +7 -7
  165. package/browser/esm/{B7kOoeXeYeZqA_mU.mjs → R5bs6kCQSZmsCXz-.mjs} +1 -1
  166. package/browser/esm/{Be2V19M8IxytN_Aa.mjs → RW23HF8taEtW8q9D.mjs} +2 -2
  167. package/browser/esm/{DD-_f0jEXDy0dn6z.mjs → fJ1McMt7xzRA_lUX.mjs} +6 -6
  168. package/{cdn/assets/DKLwRgsx1WelayB62.js → browser/esm/hFSDx-LnUOObv-6h2.mjs} +1 -1
  169. package/browser/esm/index.mjs +6 -6
  170. package/browser/esm/{4-QoxOhoR614u5tO.mjs → nguMxPB9LKexKBRX.mjs} +12 -12
  171. package/browser/esm/{CNgKTif3Jo9FLV7d.mjs → oYdWyqsKo9ejAdVm.mjs} +2 -2
  172. package/browser/esm/{CsqtbHllm56zw5xh2.mjs → qG5zdZZAe6mQIJo32.mjs} +1 -1
  173. package/{cdn/assets/DL_Jd5k5JINA7woQ.js → browser/esm/qzhFT2j-mpQEQnKs.mjs} +2723 -2575
  174. package/{cdn/assets/DYaHqG1Xx-r7mlLq2.js → browser/esm/vcRSnmAqjwKglEkY.mjs} +1 -1
  175. package/cdn/assets/{BWcc3hnnAhelxjOr2.js → -2S675KWulPRlVNb2.js} +8 -8
  176. package/{browser/esm/BHmeRWtpqOMknkon.mjs → cdn/assets/1guzFZp1LHz_FwfL2.js} +1 -1
  177. package/cdn/assets/{BNU2ZqxIegIJr-572.js → 2CuCH0wi9XPgVzE42.js} +7 -7
  178. package/cdn/assets/{Dhmpgvzx9S-LYXr82.js → 2UHIeioUPXrwtZy-2.js} +9 -9
  179. package/cdn/assets/{D7-Zv2k1IJkmQoxc.js → 47Yv4X226-93If7L2.js} +1 -1
  180. package/{browser/esm/BM3Fxh1DBzKRDnJ-2.mjs → cdn/assets/8V-VceXEjpADM8qK.js} +1 -1
  181. package/cdn/assets/{DX0xvH5nQ8MjqsA0.js → 8f9hCbpXTTYEgG31.js} +2 -2
  182. package/{browser/esm/CVDNfe5yVj7xYGeO.mjs → cdn/assets/B55nrhIK6gAAu4ZA.js} +2 -2
  183. package/{browser/esm/BG-wTTfaCHaJMI5b2.mjs → cdn/assets/B5ZqqASTcBEV5L9K.js} +1 -1
  184. package/cdn/assets/{TO6gumfUOp2BgIlL.js → BAhvL7M7ZcgZ8eDc2.js} +7 -7
  185. package/cdn/assets/{Bpp8p7LJo9K-1Tm-2.js → BCZjYGV8AqIZghBH.js} +1 -1
  186. package/cdn/assets/{sIWoD1UYd1XgTrIs.js → BCkXtOM3yKocv7L-.js} +1 -1
  187. package/{browser/esm/Bk-F9XzxhuyAOQqK.mjs → cdn/assets/BDkVAo0CDCTE04ZJ.js} +1 -1
  188. package/cdn/assets/{CdV0VXnaW6UyTd8E.js → BHBJtVTiQByD_y9j2.js} +1 -1
  189. package/{browser/esm/BMlDCj6kw-JTuDJ92.mjs → cdn/assets/BHmYoIIbNW3GdcqV.js} +1 -1
  190. package/cdn/assets/{F-Y7Aw8fXxuX1LhE2.js → BJEpPEyFWtLzMIq-2.js} +1007 -969
  191. package/cdn/assets/{B1WYofA6cHbr8sxv2.js → BKEzd89UphJ8q1pp2.js} +277 -259
  192. package/cdn/assets/{rFTMJ-_CKVUSpQ9x2.js → BM7OqAUEUk-up7_82.js} +13 -13
  193. package/{browser/esm/YGKMD1YfDLoo18Sy.mjs → cdn/assets/BMRav2VAqEzDSp3r.js} +1 -1
  194. package/cdn/assets/{BSUsQ6-YD40bvOdG2.js → BNuoKAzs4zkxSocG2.js} +7 -7
  195. package/cdn/assets/{D-bML_q46je0p2os.js → BNybEGR813e3aNIv.js} +953 -948
  196. package/cdn/assets/{HQv1oLV3ax-NKXZG2.js → BOl4FzJRD7MplCU7.js} +1 -1
  197. package/cdn/assets/{Bk13V_C0eSaqMClU.js → BPv6Pw1hW-sV5Fya.js} +1 -1
  198. package/cdn/assets/{dywzP082Q24_9Q5U2.js → BU6uQhQhpaLElTT82.js} +8 -8
  199. package/cdn/assets/{BGlQEwuUWK6Oz7bC.js → BVgTMDEoPgsWFmku.js} +105 -105
  200. package/{browser/esm/DJzMm5FQXuMWHNom2.mjs → cdn/assets/BVjXdv_wkL1x_8ZJ2.js} +1 -1
  201. package/cdn/assets/BWlMK76Aj2d4ygsH.js +538 -0
  202. package/cdn/assets/{De-RIk_tQ6xW8NH22.js → BZsx0QHg1RZlM9ZN2.js} +1 -1
  203. package/cdn/assets/{BKX_mnqOl4t0M7Q-2.js → Be4QC65cR8N84rTn2.js} +1 -1
  204. package/cdn/assets/{ykS_w8WDHugwGY9S2.js → BhDLR-jtbOOG-tl12.js} +25 -25
  205. package/cdn/assets/{BhNQRWnlFUA4eX9Z2.js → BixsQGDDf3Iv_PtW2.js} +1120 -1052
  206. package/cdn/assets/Bl6C6xWT8E6b7OwJ2.js +239 -0
  207. package/{browser/esm/CxJliRXAfjf-8FJL2.mjs → cdn/assets/BqTFwWLbXXJ0Fu-X.js} +1 -1
  208. package/{browser/esm/CUj7kwIeQGAqyb6V.mjs → cdn/assets/Bv_96nwOEMHN9Sa0.js} +1 -1
  209. package/cdn/assets/{uk2_KQhVX77MWa7A.js → BykiUmcpDgSRNQI1.js} +1 -1
  210. package/cdn/assets/{_5fYV4ZbX0S6MIpD2.js → BzUU8y1IFjREzgog2.js} +8 -8
  211. package/{browser/esm/Nj1DgowT0KN0un7b2.mjs → cdn/assets/C1ZePT2B182vSnxW.js} +1 -1
  212. package/cdn/assets/{HT9FFYzSOuRaDcHS2.js → C8mUyjJ26jsHGl_D.js} +6 -6
  213. package/cdn/assets/{BEF8kcbXgMjyCP4C.js → CAPgMrAKg07EREFD2.js} +1 -1
  214. package/cdn/assets/{BDZq-VDymQAePI7X.js → CBuvbUg67ah_3BOZ.js} +2 -2
  215. package/cdn/assets/{Cjq-G2Seyww6IMSH2.js → CEN8dYSpN2oew8HH2.js} +1 -1
  216. package/{browser/esm/D99KkptfLQp60ECI.mjs → cdn/assets/CF8m5SqeMaRkGIYM.js} +2 -2
  217. package/{browser/esm/BG8zQEmkmTTw8LXE2.mjs → cdn/assets/CG5v2hAwGR5Ptufn2.js} +1 -1
  218. package/cdn/assets/{CX0QhwSYuHoImWlY.js → CGqvy5LwQ4z9J2oD.js} +1 -1
  219. package/{browser/esm/Dt8IOrB4ifUVtTff2.mjs → cdn/assets/CGyydD3tRb0ik50l.js} +1 -1
  220. package/cdn/assets/CH0of3GZTzHviuQV.js +24 -0
  221. package/cdn/assets/CH0of3GZTzHviuQV2.js +24 -0
  222. package/cdn/assets/{s2fSOFCKUPsjfoxR.js → CHttngK66Ido5dWW.js} +7 -7
  223. package/cdn/assets/{CI8YyVegXUBlHR61.js → CJPemkFUzhcAD_qR.js} +1 -1
  224. package/cdn/assets/{DgGF1ZaI3ti0c_Nz.js → COA_SZY2x8q6t4BD.js} +1 -1
  225. package/cdn/assets/{Bynpw8CnO-1JkFdZ.js → CR3jgkduTLczbMjH.js} +1 -1
  226. package/cdn/assets/{CK4ZQnpkZHN03RHP2.js → CT3G9YRPVfKtHWwf2.js} +9 -9
  227. package/{browser/esm/RFuzM5jhOgjn2C_7.mjs → cdn/assets/C_Io1QC4CeLGRBrz.js} +2 -2
  228. package/{browser/esm/DNXCAcVGHeeoKPcx2.mjs → cdn/assets/Cbw0JeJURvQyxIoa.js} +1 -1
  229. package/cdn/assets/{BC9RLqAWMPRx_1rS.js → CdMv3f8Gyxh8q2RR.js} +1 -1
  230. package/cdn/assets/{Cb1n0HtvwfvZOwZz.js → Ce5A_D4YBgi_s2KF.js} +8 -8
  231. package/{browser/esm/y07oKUx2vGjEEZ0w.mjs → cdn/assets/CfvrjQGuf7vXiQCB2.js} +1 -1
  232. package/cdn/assets/{ClWQjK8wtCNyfHiY.js → Chq4BwbjH0sbIkJN2.js} +2 -2
  233. package/{browser/esm/C_Kd0CPQvZsJLD6b2.mjs → cdn/assets/Clfp7SznkOrJoQvL.js} +1 -1
  234. package/{browser/esm/CmcKdn-U2ywgYm_9.mjs → cdn/assets/CopfZ7Y1Zn_PDNXK.js} +2 -2
  235. package/cdn/assets/{DmfSfK3IDzXPHkJL2.js → CpYlf4dXa_V2v-iS2.js} +602 -599
  236. package/cdn/assets/{v2SkWlVj3d1y2tfT2.js → CpnA5TZRkPDt4HnM2.js} +2 -2
  237. package/{browser/esm/Bs6uuY3i689nSdNa.mjs → cdn/assets/Crkvq5j5KIa6eTLI2.js} +13380 -12212
  238. package/cdn/assets/{5XtgjihhVCzNqyYJ.js → CtXoSHbCUKMY-tSJ2.js} +1 -1
  239. package/cdn/assets/{DBDr4dkaPZ8Gd8CD.js → Cv-KXN9kl0UeMezQ.js} +202 -202
  240. package/{browser/esm/BlC4_SZ2XYvtnkHw.mjs → cdn/assets/CvtkpvGzCHhNuwTm.js} +2274 -2126
  241. package/cdn/assets/{B8kiZt5i9HOHYeAo.js → D-fJXasEYyfRUcj2.js} +3 -3
  242. package/cdn/assets/{C0ioCmY0K9GI3SiM.js → D1MA2ed2cLMt7hV9.js} +7 -7
  243. package/cdn/assets/{CNZeWICVX0x6E3-Z.js → D3G3tI3DVCUF3Gdk2.js} +1 -1
  244. package/cdn/assets/{2dJqxS99uENpvAC9.js → D6SKy2BtcWkhfiA0.js} +1 -1
  245. package/{browser/esm/BbRZ0cO4t2haGX-o.mjs → cdn/assets/D9-wpGVbTS9rRpxx.js} +1 -1
  246. package/cdn/assets/{COaJqYKx8CJ595fz2.js → D9gETGi23d14kT7u2.js} +15 -15
  247. package/cdn/assets/{B4aainAlYLn-Q5H62.js → D9joTG0Z2zdWHAEa2.js} +3 -3
  248. package/{browser/esm/DSY8maNeFb51KgKe2.mjs → cdn/assets/DBL3Qp5jyPrFg7KI.js} +1 -1
  249. package/cdn/assets/{-wn5AXVsNdciGzNx.js → DC9obE_EVmxtvXCf.js} +2418 -2035
  250. package/cdn/assets/{BzNZfg3RJdx9PRAg2.js → DCnA2-zB7W_QB-tD2.js} +16 -12
  251. package/{browser/esm/CZy1bU6cVChuZKag.mjs → cdn/assets/DDNivpFWzQ3AIJia.js} +774 -712
  252. package/{browser/esm/SNsjWQUbxOQzdnCT.mjs → cdn/assets/DDOO4tcrO4OfMUDe.js} +1 -1
  253. package/cdn/assets/{Dm0riUQ_5Wg9oFgO.js → DEUY_zuVwmptMX4l.js} +7 -7
  254. package/cdn/assets/{CeD6pRhoV1LfiJjD.js → DIQf1pX-j-dWQu_e.js} +12 -12
  255. package/cdn/assets/{BITxO-ILVNOqgbA7.js → DJwQ9abZkyFO9Doy.js} +4 -4
  256. package/cdn/assets/{BV3cgeOVx6QLl85F.js → DKeLjEJPO9nT3bpr.js} +6 -6
  257. package/cdn/assets/{rT3DomLULA1xJhfY2.js → DLEdaT0MmrOxMa2h2.js} +16 -16
  258. package/cdn/assets/{ClkL86jz-4Gf_Uwg2.js → DOsbSsKsexrBoeXa2.js} +10 -10
  259. package/{browser/esm/CtaapT_7WuEvy48w2.mjs → cdn/assets/DQ-0yyFAwoWtxmhV2.js} +1 -1
  260. package/{browser/esm/BmZX5BqczMfR2VlT2.mjs → cdn/assets/DQ4o4dG7gWbL1X8F.js} +1 -1
  261. package/{browser/esm/DDg-fxiIqpuutuyu2.mjs → cdn/assets/DRc_Wi5c7WdKHTVN.js} +1 -1
  262. package/cdn/assets/{CsfLKTLGWgDLWY2z.js → DTCtbG90ip7Z7LaG.js} +6 -6
  263. package/cdn/assets/{BZbIcyw3tiUx7ztK2.js → DVS_5oDniuAFH3vT2.js} +1576 -1538
  264. package/cdn/assets/{CJMMds78eEvd6ivG2.js → DW7JlG-SQEdLYNar2.js} +11 -3
  265. package/{browser/esm/DbfFQif7awKrcxxB.mjs → cdn/assets/DZDynaLqNeVaDoiH2.js} +3 -3
  266. package/{browser/esm/DT8AGfoENVVMPsi3.mjs → cdn/assets/DZbR5R1fNikjgqYb.js} +1 -1
  267. package/cdn/assets/{wBchGa30DBwJnPZQ2.js → D_HeH7AJqWoxehn52.js} +3 -3
  268. package/{browser/esm/DhnxpW56CJ43gVOI.mjs → cdn/assets/D_t53-8k73CNpV-p2.js} +72 -46
  269. package/{browser/esm/BLq8q4tpQq7lW0jg.mjs → cdn/assets/DaBczM5xU9ev5_or.js} +2 -2
  270. package/cdn/assets/{CcJHQ6UROltFQL2I.js → DbEGszSW_J_k96KJ.js} +2 -2
  271. package/cdn/assets/{R3YBWWwMJAzbuwie.js → Dc0BDcQUGy_WIVFa.js} +1 -1
  272. package/cdn/assets/{CSlBZF1ezptA1LSS.js → DfRGH6mEtIVDWEYN.js} +1 -1
  273. package/cdn/assets/{BXf0y-wp2FQ5btCG.js → Dnx3_xXfRlD6ECfZ.js} +1 -1
  274. package/cdn/assets/{UtYZqTCpvZMQKdR8.js → DnzDlqizzNkbhJP7.js} +2 -2
  275. package/cdn/assets/{BwekjT1bXcBAV6hi.js → DrUEYcXg6N2D2s1Z.js} +1 -1
  276. package/cdn/assets/{3QC61uhcIBmRDR9w.js → DvItgGbf8IOWPyxd.js} +6901 -6248
  277. package/cdn/assets/{ZQsrI5kqNG_ZOdZD2.js → DvlpP6sUZ9Qzl9s22.js} +44 -44
  278. package/cdn/assets/{Bv8Sjub_HtVCmnyZ.js → EjOJX5m8OEL-IjPB.js} +6 -6
  279. package/{browser/esm/iKMg-svZQSvoVzqO2.mjs → cdn/assets/EwzqnZl1lTr56hH-.js} +1 -1
  280. package/cdn/assets/{Jw068AbKaxWlv8HJ.js → Gy0CHZTvn4hY-rkx.js} +1 -1
  281. package/cdn/assets/{B7kOoeXeYeZqA_mU2.js → R5bs6kCQSZmsCXz-2.js} +1 -1
  282. package/cdn/assets/{-OScuzLTidF7HNaK2.js → UYgwKnPX3US3Cj2k2.js} +14 -14
  283. package/cdn/assets/{DfMvz_tU8vJuV2Wl.js → WLUhtyUNK5QJ7Pff.js} +3 -3
  284. package/cdn/assets/{DupOTk4J52hzKr6p.js → c6VvwMHfXubjjtyj.js} +7 -7
  285. package/cdn/assets/{CjO9u_nQjtCD7xTH2.js → c7aIqKLOO4pvUsV12.js} +72 -72
  286. package/cdn/assets/{DQrSW7F6xwljb9vw2.js → gspQcUnmlRIwG609.js} +5 -5
  287. package/{browser/esm/DKLwRgsx1WelayB6.mjs → cdn/assets/hFSDx-LnUOObv-6h.js} +1 -1
  288. package/cdn/assets/{CaLQ8stna0cEenbY.js → iXWgTu3qpYZHcx1J.js} +8 -8
  289. package/cdn/assets/{BdI4wcd4XWPgeQnl.js → j8nXVEYbO2kPuEYQ.js} +3 -3
  290. package/cdn/assets/{ClHDdBXrC_nobC_N.js → mtI43hWjdp4E3Z_-.js} +7 -7
  291. package/{browser/esm/BTiq0pI-MmNI9sx6.mjs → cdn/assets/mtrwY1hjJeYlmzC-.js} +3 -3
  292. package/cdn/assets/{Bt-Xdgz1GdP9i0KH.js → nmR_PgTW7GrlbHHZ.js} +5 -5
  293. package/cdn/assets/{CsqtbHllm56zw5xh.js → qG5zdZZAe6mQIJo3.js} +1 -1
  294. package/cdn/assets/{ChBa56MbB_cDd9LM2.js → tVOVNvOs6ro8FXqa2.js} +8 -8
  295. package/cdn/assets/vTCuFafvRlSaT9wy.js +87 -0
  296. package/{browser/esm/DYaHqG1Xx-r7mlLq.mjs → cdn/assets/vcRSnmAqjwKglEkY2.js} +1 -1
  297. package/cdn/index.js +2 -2
  298. package/package.json +3 -3
  299. package/browser/cjs/B2cX7nid45K1XRcB.cjs +0 -1
  300. package/browser/cjs/BIcGM64pW8jzwXoR.cjs +0 -1
  301. package/browser/cjs/BQEk2bmRsrTs-zJu2.cjs +0 -7
  302. package/browser/cjs/BVN0uo1XwTCtE2mh.cjs +0 -7
  303. package/browser/cjs/BW4gFAFA5vc1x_8G.cjs +0 -1
  304. package/browser/cjs/Bq7bgCz2WfVwfQSv.cjs +0 -2
  305. package/browser/cjs/BxP_CBFuJxlFVfJP2.cjs +0 -1
  306. package/browser/cjs/C1tO7v57UD8xmj2X.cjs +0 -86
  307. package/browser/cjs/C9K6gYebhUCoGcyy.cjs +0 -5
  308. package/browser/cjs/CObKFza7rEOQcteD2.cjs +0 -1
  309. package/browser/cjs/CcBPECGj-X0W9a3_.cjs +0 -3
  310. package/browser/cjs/ChMPHLE_jFKu0JmZ2.cjs +0 -1
  311. package/browser/cjs/CtEazH3mA0Tj8qrG.cjs +0 -1
  312. package/browser/cjs/CxY5iqVeCdKKTzDq.cjs +0 -1
  313. package/browser/cjs/D6cjnwWR_iUSe1f62.cjs +0 -1
  314. package/browser/cjs/D9OGD2b5RCuNVkVt.cjs +0 -1
  315. package/browser/cjs/DDGqSmEUwpCyj2-T.cjs +0 -12
  316. package/browser/cjs/DDPxHIqx8aIbqTRE.cjs +0 -1
  317. package/browser/cjs/Dmdcgm3pqGKmXPGb.cjs +0 -33
  318. package/browser/cjs/Ds8fgjqVz8xPRHog.cjs +0 -1
  319. package/browser/cjs/gOdLq87FmaB-hTTZ.cjs +0 -1
  320. package/browser/esm/BibrryjUsSysyTSD2.mjs +0 -193
  321. package/browser/esm/D5MuKMXqFbc9B8JP.mjs +0 -87
  322. package/browser/esm/DA0VxVTFcWvrEQEv.mjs +0 -518
  323. package/cdn/assets/BHmeRWtpqOMknkon2.js +0 -24
  324. package/cdn/assets/BqA9-X1PlqRSSWll.js +0 -518
  325. package/cdn/assets/C8lUc_Lc03y-Whne2.js +0 -194
  326. package/cdn/assets/DbGc-QtQMWI-VyUe2.js +0 -24
  327. package/cdn/assets/i6PnYkX2rfHQQEvF.js +0 -87
  328. /package/browser/cjs/{BAxVLKkxFgI6cXnR2.cjs → BAxVLKkxFgI6cXnR.cjs} +0 -0
  329. /package/browser/cjs/{C9C-pr-T_ThweQX9.cjs → C9C-pr-T_ThweQX92.cjs} +0 -0
  330. /package/browser/cjs/{CJYewYJ5Z3iojl7J2.cjs → CJYewYJ5Z3iojl7J.cjs} +0 -0
  331. /package/browser/cjs/{CRx1WvmgBjT8WVyB.cjs → CRx1WvmgBjT8WVyB2.cjs} +0 -0
  332. /package/browser/cjs/{CW-b31_-r-_raT8Y.cjs → CW-b31_-r-_raT8Y2.cjs} +0 -0
  333. /package/browser/cjs/{CnZfa45XxA-9Jhmp2.cjs → CnZfa45XxA-9Jhmp.cjs} +0 -0
  334. /package/browser/cjs/{CpJJh4UnFl1_qFui2.cjs → CpJJh4UnFl1_qFui.cjs} +0 -0
  335. /package/browser/cjs/{CrZlUtdX1h2RUnCP2.cjs → CrZlUtdX1h2RUnCP.cjs} +0 -0
  336. /package/browser/cjs/{DDnGLOLTqLFsdUDS.cjs → DDnGLOLTqLFsdUDS2.cjs} +0 -0
  337. /package/browser/cjs/{DG2kqsWRUtVugjay.cjs → DG2kqsWRUtVugjay2.cjs} +0 -0
  338. /package/browser/cjs/{JfM6P_qoQQTWakZf2.cjs → JfM6P_qoQQTWakZf.cjs} +0 -0
  339. /package/browser/cjs/{h3dw1jAp2J5Pu4p3.cjs → h3dw1jAp2J5Pu4p32.cjs} +0 -0
@@ -1,14 +1,14 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.28-beta.3
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.8.0-beta.1
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
6
  */
7
- import { A as e, C as t, F as n, O as r, P as i, T as a, V as o, _ as s, d as c, l, m as u, r as d, s as f, t as p, v as m } from "./Cjq-G2Seyww6IMSH.mjs";
8
- import { r as h } from "./BHmeRWtpqOMknkon.mjs";
9
- import { a as g, n as _ } from "./DhnxpW56CJ43gVOI.mjs";
10
- import { A as v, At as y, B as b, C as x, E as S, F as ee, Ft as C, H as te, Ht as ne, J as w, K as re, Kt as T, L as ie, Lt as ae, M as oe, Mt as E, Ot as D, P as O, Pt as se, Q as ce, Rt as le, T as ue, Tt as k, U as de, W as fe, X as pe, Yt as me, Z as he, _ as A, _t as ge, b as _e, cn as ve, dn as ye, dt as be, en as xe, et as Se, fn as Ce, g as we, gt as Te, h as Ee, ht as De, i as Oe, in as j, j as ke, jt as Ae, k as M, kt as je, l as Me, ln as Ne, m as Pe, nt as Fe, o as Ie, on as Le, ot as N, pn as P, r as Re, rt as ze, s as Be, u as Ve, un as F, ut as I, w as L, wt as R, x as He, yt as Ue } from "./Bs6uuY3i689nSdNa.mjs";
11
- import { r as We } from "./Sm94kpOe8UUYLpaZ.mjs";
7
+ import { A as e, C as t, F as n, O as r, P as i, T as a, V as o, _ as s, d as c, l, m as u, r as d, s as f, t as p, v as m } from "./CEN8dYSpN2oew8HH.mjs";
8
+ import { r as h } from "./CH0of3GZTzHviuQV.mjs";
9
+ import { o as g, t as _ } from "./D_t53-8k73CNpV-p.mjs";
10
+ import { $ as v, $t as y, A as b, At as x, C as S, Ct as C, Dt as w, Et as T, F as ee, Ft as te, Gt as ne, Ht as re, J as ie, K as ae, L as oe, Lt as se, Mt as E, Nt as D, O, Pt as ce, Q as k, Qt as le, R as ue, Rt as A, St as de, Tt as fe, Ut as pe, V as j, W as me, X as he, Y as ge, Yt as _e, Z as M, Zt as ve, _t as N, at as ye, bt as be, c as xe, ct as Se, dn as P, dt as Ce, f as F, fn as I, gt as we, h as Te, i as Ee, in as L, k as De, ln as Oe, lt as ke, mt as Ae, n as je, nt as Me, on as Ne, ot as Pe, pn as Fe, rn as Ie, sn as Le, ut as Re, vt as ze, w as R, xt as Be, y as Ve, yt as He, zt as Ue } from "./At60x9FEPePwPP_J.mjs";
11
+ import { r as We } from "./BkSb_vyWe-AhyEDa.mjs";
12
12
  var Ge;
13
13
  Ge ||= {};
14
14
  var Ke = class extends u {
@@ -106,7 +106,7 @@ var Ke = class extends u {
106
106
  }
107
107
  }, qe = class {
108
108
  constructor(e, t) {
109
- this._dirty = !1, this._store = e, this._savedCommitId = e.getCurrentCommit()?.getId() ?? null, this._emitter = new k(this);
109
+ this._dirty = !1, this._store = e, this._savedCommitId = e.getCurrentCommit()?.getId() ?? null, this._emitter = new x(this);
110
110
  let n = this;
111
111
  this._removeStoreListener = e.addListener({
112
112
  onCommitEnd() {
@@ -143,7 +143,7 @@ var Ke = class extends u {
143
143
  }
144
144
  }, z = class e {
145
145
  constructor(t, n = {}) {
146
- this._password = null, this._emitter = new k(this), this._path = t ?? null, this._name = n.name ?? null, this._format = n.format ?? null, this._size = n.size ?? null, this._canWrite = n.canWrite ?? e._defaultCanWrite(this._path), this._encryption = n.encryption ?? null;
146
+ this._password = null, this._emitter = new x(this), this._path = t ?? null, this._name = n.name ?? null, this._format = n.format ?? null, this._size = n.size ?? null, this._canWrite = n.canWrite ?? e._defaultCanWrite(this._path), this._encryption = n.encryption ?? null;
147
147
  }
148
148
  static _defaultCanWrite(e) {
149
149
  return !!e && !/^(https?:|data:|blob:)/i.test(e);
@@ -154,7 +154,7 @@ var Ke = class extends u {
154
154
  getName() {
155
155
  if (this._name !== null && this._name !== void 0) return this._name;
156
156
  let e = this._cleanPath();
157
- return e && I(e) || null;
157
+ return e && N(e) || null;
158
158
  }
159
159
  getPath() {
160
160
  return this._path;
@@ -228,7 +228,7 @@ var Ke = class extends u {
228
228
  }
229
229
  switch (a) {
230
230
  case "file": {
231
- let e = r, t = e?.name, n = t ? `${I(t)}` : "";
231
+ let e = r, t = e?.name, n = t ? `${N(t)}` : "";
232
232
  o = await e.arrayBuffer(), s = {
233
233
  format: i,
234
234
  ext: D(t),
@@ -282,7 +282,7 @@ var Ke = class extends u {
282
282
  o = r, s = {
283
283
  format: i,
284
284
  ext: d,
285
- name: I(u, !0),
285
+ name: N(u, !0),
286
286
  absolutePath: u
287
287
  };
288
288
  } catch (e) {
@@ -476,9 +476,9 @@ var $e = class {
476
476
  return !0;
477
477
  }
478
478
  }, et = h({
479
- findBestMatch: () => it,
480
- getFontList: () => rt,
481
- setFontList: () => U
479
+ findBestMatch: () => at,
480
+ getFontList: () => it,
481
+ setFontList: () => H
482
482
  }), tt = [
483
483
  "Arial",
484
484
  "Arial Black",
@@ -496,19 +496,19 @@ var $e = class {
496
496
  "Trebuchet MS",
497
497
  "Verdana"
498
498
  ], B = /* @__PURE__ */ new Map();
499
- B.set(w.GenericName.Serif, ["Tahoma"]), B.set(w.GenericName.SanSerif, ["Calibri"]), B.set(w.GenericName.MonoSpace, ["Courier New"]), B.set(w.GenericName.Cursive, ["Comic Sans MS"]), B.set(w.GenericName.Fantasy, ["Luminari"]), B.set(w.GenericName.UISystem, ["Arial"]), B.set(w.GenericName.UISerif, ["Tahoma"]), B.set(w.GenericName.UISanSerif, ["Arial"]), B.set(w.GenericName.UIMonoSpace, ["Courier New"]), B.set(w.GenericName.UIRounded, ["Arial"]), B.set(w.GenericName.Math, []), B.set(w.GenericName.Emoji, []), B.set(w.GenericName.Fangsong, []);
500
- var V = /* @__PURE__ */ new Map(), H = [];
501
- U(tt);
502
- var nt = eval;
503
- function U(e) {
504
- e || U(tt);
499
+ B.set(k.GenericName.Serif, ["Tahoma"]), B.set(k.GenericName.SanSerif, ["Calibri"]), B.set(k.GenericName.MonoSpace, ["Courier New"]), B.set(k.GenericName.Cursive, ["Comic Sans MS"]), B.set(k.GenericName.Fantasy, ["Luminari"]), B.set(k.GenericName.UISystem, ["Arial"]), B.set(k.GenericName.UISerif, ["Tahoma"]), B.set(k.GenericName.UISanSerif, ["Arial"]), B.set(k.GenericName.UIMonoSpace, ["Courier New"]), B.set(k.GenericName.UIRounded, ["Arial"]), B.set(k.GenericName.Math, []), B.set(k.GenericName.Emoji, []), B.set(k.GenericName.Fangsong, []);
500
+ var V = /* @__PURE__ */ new Map(), nt = [];
501
+ H(tt);
502
+ var rt = eval;
503
+ function H(e) {
504
+ e || H(tt);
505
505
  let t = [];
506
506
  for (let n = 0; n < e.length; n++) {
507
507
  let r = e[n];
508
508
  typeof r == "string" && (r = new $e(r));
509
509
  let i = !0;
510
510
  try {
511
- i = nt(`document.fonts.check('12px ${r.getFamily()}')`);
511
+ i = rt(`document.fonts.check('12px ${r.getFamily()}')`);
512
512
  } catch {}
513
513
  let a = {
514
514
  fontRef: r,
@@ -516,14 +516,14 @@ function U(e) {
516
516
  };
517
517
  t.push(a), V.set(r.getFamily(), a);
518
518
  }
519
- H = Object.freeze(t);
519
+ nt = Object.freeze(t);
520
520
  }
521
- function rt() {
522
- return H;
521
+ function it() {
522
+ return nt;
523
523
  }
524
- var W, G, K, q, J = /* @__PURE__ */ new Map();
525
- function it(e, t) {
526
- let n = J.get(e);
524
+ var U, W, G, K, q = /* @__PURE__ */ new Map();
525
+ function at(e, t) {
526
+ let n = q.get(e);
527
527
  if (n) return n.fontRef === null ? null : n;
528
528
  let r = [e];
529
529
  t?.fallbacks && (r = r.concat(t.fallbacks));
@@ -535,15 +535,15 @@ function it(e, t) {
535
535
  if (e) for (let t = 0; !i && t < e.length; t++) i = V.get(e[t]);
536
536
  }
537
537
  }
538
- return i ? J.set(e, i) : J.set(e, {
538
+ return i ? q.set(e, i) : q.set(e, {
539
539
  fontRef: null,
540
540
  loaded: !1
541
541
  }), i;
542
542
  }
543
- var at = h({
544
- DefaultFontSizes: () => ot,
545
- findNextFontSize: () => st
546
- }), ot = Object.freeze([
543
+ var ot = h({
544
+ DefaultFontSizes: () => st,
545
+ findNextFontSize: () => ct
546
+ }), st = Object.freeze([
547
547
  8,
548
548
  9,
549
549
  10,
@@ -562,42 +562,42 @@ var at = h({
562
562
  48,
563
563
  72
564
564
  ]);
565
- function st(t, n = !0, r = ot) {
565
+ function ct(t, n = !0, r = st) {
566
566
  if (!r || r.length === 0) return t;
567
567
  if (t === void 0) return r[0];
568
568
  if (n && t >= r[r.length - 1] || !n && t <= r[0]) return t;
569
569
  let i = e.findEqualOrGreater(r, t);
570
570
  return n ? (r[i] === t && (i += 1), r[i] || --i, r[i]) : (--i, r[i]);
571
571
  }
572
- (W ||= {}).SortOn = {
572
+ (U ||= {}).SortOn = {
573
573
  Value: "value",
574
574
  FillColor: "fillColor",
575
575
  FontColor: "fontColor",
576
576
  Icon: "icon"
577
- }, (K = G ||= {}).Compound = {
577
+ }, (G = W ||= {}).Compound = {
578
578
  Single: "sng",
579
579
  Double: "dbl",
580
580
  ThickThin: "thickThin",
581
581
  ThinThick: "thinThick",
582
582
  Triple: "tri"
583
- }, K.Align = {
583
+ }, G.Align = {
584
584
  Center: "ctr",
585
585
  Inset: "in",
586
586
  Outset: "outset"
587
- }, K.LineCap = {
587
+ }, G.LineCap = {
588
588
  Butt: "butt",
589
589
  Round: "round",
590
590
  Square: "square"
591
- }, K.LineJoin = {
591
+ }, G.LineJoin = {
592
592
  Bevel: "bevel",
593
593
  Miter: "miter",
594
594
  Round: "round"
595
- }, K.PresetMarkerShape = {
595
+ }, G.PresetMarkerShape = {
596
596
  Single: "none",
597
597
  Double: "double",
598
598
  ThickThin: "thickThin",
599
599
  ThinThick: "thickThin"
600
- }, K.StrokeStyle = {
600
+ }, G.StrokeStyle = {
601
601
  None: "none",
602
602
  Dashed: "dashed",
603
603
  Dotted: "dotted",
@@ -609,7 +609,7 @@ function st(t, n = !0, r = ot) {
609
609
  SysDashDot: "sysDashDot",
610
610
  SysDashDotDot: "sysDashDotDot",
611
611
  SysDot: "sysDot"
612
- }, (q ||= {}).Type = {
612
+ }, (K ||= {}).Type = {
613
613
  OuterShadow: "outerShadow",
614
614
  InnerShadow: "innerShadow",
615
615
  PresetShadow: "presetShadow",
@@ -617,53 +617,53 @@ function st(t, n = !0, r = ot) {
617
617
  SoftEdge: "softEdge",
618
618
  Reflection: "reflection"
619
619
  };
620
- var ct, lt, ut, dt, Y = Fe.BuiltInName, ft = {
621
- [Y.Normal]: m("style.builtin.normal"),
622
- [Y.Comma]: m("style.builtin.comma"),
623
- [Y.Currency]: m("style.builtin.currency"),
624
- [Y.Percent]: m("style.builtin.percent"),
625
- [Y.Comma0]: m("style.builtin.comma0"),
626
- [Y.Currency0]: m("style.builtin.currency0"),
627
- [Y.Hyperlink]: m("style.builtin.hyperlink"),
628
- [Y.FollowedHyperlink]: m("style.builtin.followedHyperlink"),
629
- [Y.Note]: m("style.builtin.note"),
630
- [Y.WarningText]: m("style.builtin.warningText"),
631
- [Y.Title]: m("style.builtin.title"),
632
- [Y.Input]: m("style.builtin.input"),
633
- [Y.Output]: m("style.builtin.output"),
634
- [Y.Calculation]: m("style.builtin.calculation"),
635
- [Y.CheckCell]: m("style.builtin.checkCell"),
636
- [Y.LinkedCell]: m("style.builtin.linkedCell"),
637
- [Y.Total]: m("style.builtin.total"),
638
- [Y.Good]: m("style.builtin.good"),
639
- [Y.Bad]: m("style.builtin.bad"),
640
- [Y.Neutral]: m("style.builtin.neutral"),
641
- [Y.ExplanatoryText]: m("style.builtin.explanatoryText")
642
- }, pt = m("style.builtin.heading"), mt = m("style.builtin.accent"), ht = m("style.builtin.accentTint"), gt = /^Heading ([1-4])$/, _t = /^Accent([1-6])$/, vt = /^(20|40|60)% - Accent([1-6])$/;
643
- function yt(e) {
644
- let t = ft[e];
620
+ var lt, ut, dt, ft, J = Se.BuiltInName, pt = {
621
+ [J.Normal]: m("style.builtin.normal"),
622
+ [J.Comma]: m("style.builtin.comma"),
623
+ [J.Currency]: m("style.builtin.currency"),
624
+ [J.Percent]: m("style.builtin.percent"),
625
+ [J.Comma0]: m("style.builtin.comma0"),
626
+ [J.Currency0]: m("style.builtin.currency0"),
627
+ [J.Hyperlink]: m("style.builtin.hyperlink"),
628
+ [J.FollowedHyperlink]: m("style.builtin.followedHyperlink"),
629
+ [J.Note]: m("style.builtin.note"),
630
+ [J.WarningText]: m("style.builtin.warningText"),
631
+ [J.Title]: m("style.builtin.title"),
632
+ [J.Input]: m("style.builtin.input"),
633
+ [J.Output]: m("style.builtin.output"),
634
+ [J.Calculation]: m("style.builtin.calculation"),
635
+ [J.CheckCell]: m("style.builtin.checkCell"),
636
+ [J.LinkedCell]: m("style.builtin.linkedCell"),
637
+ [J.Total]: m("style.builtin.total"),
638
+ [J.Good]: m("style.builtin.good"),
639
+ [J.Bad]: m("style.builtin.bad"),
640
+ [J.Neutral]: m("style.builtin.neutral"),
641
+ [J.ExplanatoryText]: m("style.builtin.explanatoryText")
642
+ }, mt = m("style.builtin.heading"), ht = m("style.builtin.accent"), gt = m("style.builtin.accentTint"), _t = /^Heading ([1-4])$/, vt = /^Accent([1-6])$/, yt = /^(20|40|60)% - Accent([1-6])$/;
643
+ function bt(e) {
644
+ let t = pt[e];
645
645
  if (t) return { key: t };
646
- let n = gt.exec(e);
646
+ let n = _t.exec(e);
647
647
  return n ? {
648
- key: pt,
649
- params: { n: +n[1] }
650
- } : (n = _t.exec(e), n ? {
651
648
  key: mt,
652
649
  params: { n: +n[1] }
653
650
  } : (n = vt.exec(e), n ? {
654
651
  key: ht,
652
+ params: { n: +n[1] }
653
+ } : (n = yt.exec(e), n ? {
654
+ key: gt,
655
655
  params: {
656
656
  pct: +n[1],
657
657
  n: +n[2]
658
658
  }
659
659
  } : null));
660
660
  }
661
- var bt = (e, t, n, r, i) => {
661
+ var xt = (e, t, n, r, i) => {
662
662
  let a = JSON.parse(JSON.stringify(e.definition));
663
663
  a.adjs ||= [];
664
664
  let o = "", c = 0, l = 0;
665
- t > 0 ? (l = t, c = 100 - t, o = s("op.lighterPercent", { percent: t })) : t < 0 && (c = 100 + t, o = s("op.darkerPercent", { percent: -t })), c && a.adjs.push({ [L.AdjustmentType.LumMod]: c }), l && a.adjs.push({ [L.AdjustmentType.LumOff]: l });
666
- let u = new ue({
665
+ t > 0 ? (l = t, c = 100 - t, o = s("op.lighterPercent", { percent: t })) : t < 0 && (c = 100 + t, o = s("op.darkerPercent", { percent: -t })), c && a.adjs.push({ [S.AdjustmentType.LumMod]: c }), l && a.adjs.push({ [S.AdjustmentType.LumOff]: l });
666
+ let u = new ge({
667
667
  val: a.val,
668
668
  adjs: a.adjs
669
669
  }, n), d = u.toString();
@@ -674,7 +674,7 @@ var bt = (e, t, n, r, i) => {
674
674
  definition: a
675
675
  };
676
676
  };
677
- function xt(e) {
677
+ function St(e) {
678
678
  let t, n = e.trim();
679
679
  if (!n) return;
680
680
  try {
@@ -696,24 +696,24 @@ function xt(e) {
696
696
  case "NumberToken":
697
697
  case "ScientificDigit":
698
698
  case "DigitToken": {
699
- let e = Ae(o).value;
699
+ let e = De(o).value;
700
700
  return r === 0 ? e : r * e;
701
701
  }
702
- case "StringToken": return r === 0 ? je(o).value : void 0;
703
- case "BooleanToken": return r === 0 ? ye(o).value : void 0;
702
+ case "StringToken": return r === 0 ? _e(o).value : void 0;
703
+ case "BooleanToken": return r === 0 ? ke(o).value : void 0;
704
704
  case "LiteralError":
705
- case "RefError": return r === 0 ? Te(o).value : void 0;
705
+ case "RefError": return r === 0 ? Ae(o).value : void 0;
706
706
  default: return;
707
707
  }
708
708
  } catch {
709
709
  return;
710
710
  }
711
711
  }
712
- function St(e, t) {
713
- let n = Ct(e), r = Ct(t);
712
+ function Ct(e, t) {
713
+ let n = wt(e), r = wt(t);
714
714
  return n === r ? e === t ? 0 : typeof e == "number" && typeof t == "number" ? e < t ? -1 : 1 : typeof e == "string" && typeof t == "string" ? e < t ? -1 : +(e > t) : typeof e == "boolean" ? e ? 1 : -1 : g.isError(e) && g.isError(t) ? e.getCode() - t.getCode() : 0 : n - r;
715
715
  }
716
- function Ct(e) {
716
+ function wt(e) {
717
717
  if (e === null) return 0;
718
718
  switch (typeof e) {
719
719
  case "number": return 1;
@@ -722,14 +722,14 @@ function Ct(e) {
722
722
  default: return g.isError(e) ? 4 : 5;
723
723
  }
724
724
  }
725
- (ct ||= {}).buildPalette = function(e, t, n, r) {
725
+ (lt ||= {}).buildPalette = function(e, t, n, r) {
726
726
  let i = [];
727
727
  for (let a = 0; a < e.length; a++) {
728
728
  let o = [];
729
729
  i.push(o);
730
730
  let s = (i) => {
731
- for (let s = 0; s < i.length; s++) o.push(bt(e[a], i[s], t, n, r));
732
- }, c = new ue({
731
+ for (let s = 0; s < i.length; s++) o.push(xt(e[a], i[s], t, n, r));
732
+ }, c = new ge({
733
733
  val: e[a].definition.val,
734
734
  adjs: e[a].definition.adjs
735
735
  }, t).toHSLA().lum;
@@ -766,8 +766,8 @@ function Ct(e) {
766
766
  ]);
767
767
  }
768
768
  return i;
769
- }, lt ||= {}, ut ||= {}, dt ||= {};
770
- var wt = class {
769
+ }, ut ||= {}, dt ||= {}, ft ||= {};
770
+ var Tt = class {
771
771
  constructor(e) {
772
772
  this._children = e;
773
773
  }
@@ -799,19 +799,19 @@ var wt = class {
799
799
  let n = t[e].getSortedNumbers().getValues();
800
800
  n.length > 0 && r.push(n);
801
801
  }
802
- e = new de(function(e) {
802
+ e = new oe(function(e) {
803
803
  let t = e.length;
804
- if (t === 0) return Tt;
804
+ if (t === 0) return Et;
805
805
  if (t === 1) return e[0];
806
806
  let n = e[0];
807
- for (let r = 1; r < t; r++) n = Et(n, e[r]);
807
+ for (let r = 1; r < t; r++) n = Dt(n, e[r]);
808
808
  return Object.freeze(n);
809
809
  }(r)), this._sortedNumbers = e;
810
810
  }
811
811
  return e;
812
812
  }
813
813
  getRanked(e) {
814
- return Ne(this._children, e, St)[Symbol.iterator]();
814
+ return Ue(this._children, e, Ct)[Symbol.iterator]();
815
815
  }
816
816
  getFrequencies(e) {
817
817
  if (e) return this._mergeFrequencies(e);
@@ -819,7 +819,7 @@ var wt = class {
819
819
  return t || (t = this._mergeFrequencies(), this._frequencies = t), t;
820
820
  }
821
821
  _mergeFrequencies(e) {
822
- let t = e?.keyFn ?? Ve, n = e?.limit, r = /* @__PURE__ */ new Map(), i = this._children, a = i.length, o = 0, s = 0, c = !1;
822
+ let t = e?.keyFn ?? le, n = e?.limit, r = /* @__PURE__ */ new Map(), i = this._children, a = i.length, o = 0, s = 0, c = !1;
823
823
  for (let l = 0; l < a; l++) {
824
824
  let a = i[l].getFrequencies(e);
825
825
  o += a.getVisitedCount(), s += a.getTotalCount(), c ||= a.isTruncated();
@@ -832,7 +832,7 @@ var wt = class {
832
832
  }) : c = !0, d = u.next();
833
833
  }
834
834
  }
835
- return re.fromGroups(r, t, e, St, o, s, c);
835
+ return ne.fromGroups(r, t, e, Ct, o, s, c);
836
836
  }
837
837
  getTypedCounts(e) {
838
838
  let t = this._typedCounts;
@@ -882,17 +882,17 @@ var wt = class {
882
882
  let a = n.numericalCount;
883
883
  a <= 0 || (r.numericalCount += a, r.sum += n.sum, r.sumSq += n.varP * a + n.sum * n.sum / a, (r.min === void 0 || n.min < r.min) && (r.min = n.min), (r.max === void 0 || n.max > r.max) && (r.max = n.max));
884
884
  }
885
- return me(r);
885
+ return Le(r);
886
886
  }
887
- }, Tt = Object.freeze([]);
888
- function Et(e, t) {
887
+ }, Et = Object.freeze([]);
888
+ function Dt(e, t) {
889
889
  let n = e.length, r = t.length, i = Array(n + r), a = 0, o = 0, s = 0;
890
890
  for (; a < n && o < r;) i[s++] = e[a] <= t[o] ? e[a++] : t[o++];
891
891
  for (; a < n;) i[s++] = e[a++];
892
892
  for (; o < r;) i[s++] = t[o++];
893
893
  return i;
894
894
  }
895
- var Dt = class {
895
+ var Ot = class {
896
896
  constructor(e) {
897
897
  this.isIExternalBook = !0, this._json = e;
898
898
  }
@@ -911,9 +911,9 @@ var Dt = class {
911
911
  toJSON() {
912
912
  return this._json;
913
913
  }
914
- }, Ot = class {
914
+ }, kt = class {
915
915
  constructor(e) {
916
- this.isIExternalBookCollection = !0, this._items = (e?.json ?? []).map((e) => e ? new Dt(e) : null);
916
+ this.isIExternalBookCollection = !0, this._items = (e?.json ?? []).map((e) => e ? new Ot(e) : null);
917
917
  }
918
918
  [Symbol.iterator]() {
919
919
  return this.getItems()[Symbol.iterator]();
@@ -935,13 +935,13 @@ var Dt = class {
935
935
  toJSON() {
936
936
  return this._items.length === 0 ? null : this._items.map((e) => e?.toJSON() ?? null);
937
937
  }
938
- }, kt = class {
938
+ }, At = class {
939
939
  constructor(e) {
940
940
  this._closed = !1, this._options = { ...e };
941
941
  let t = this;
942
- this._transactions = this._options.transactions ?? new ge({ transient: !0 }), this._stateId = this._transactions.create(), this._transactionsRemoveListener = this._transactions.addStateListener(this._stateId, { onAfterStateChange(e, n, r) {
942
+ this._transactions = this._options.transactions ?? new fe({ transient: !0 }), this._stateId = this._transactions.create(), this._transactionsRemoveListener = this._transactions.addStateListener(this._stateId, { onAfterStateChange(e, n, r) {
943
943
  t._emitter.notify("onCollectionChange");
944
- } }), this._emitter = new k(this, this._transactions), this._initState(e?.initial);
944
+ } }), this._emitter = new x(this, this._transactions), this._initState(e?.initial);
945
945
  }
946
946
  add(e, t, n) {
947
947
  let r = this;
@@ -1044,9 +1044,9 @@ var Dt = class {
1044
1044
  get isFunctionCollection() {
1045
1045
  return !0;
1046
1046
  }
1047
- }, At = class {
1047
+ }, jt = class {
1048
1048
  constructor(e) {
1049
- this._options = e, this._emitter = new k(this), this._initState();
1049
+ this._options = e, this._emitter = new x(this), this._initState();
1050
1050
  }
1051
1051
  _initState() {}
1052
1052
  getModules() {
@@ -1064,17 +1064,17 @@ var Dt = class {
1064
1064
  }
1065
1065
  }
1066
1066
  async createModule(e) {
1067
- let t = await (await import("./B3CqIagnCvfOrLBT.mjs").then((e) => e.t)).ScriptCompiler.compile({
1067
+ let t = await (await import("./CfuhUkrvOq11d9FR.mjs").then((e) => e.t)).ScriptCompiler.compile({
1068
1068
  builtInNames: this._builtInNames(),
1069
1069
  ...e
1070
1070
  });
1071
- return t.module ? await M("scripts", t.module, e?.declarationsOnly ?? !1, t.diagnostics) : null;
1071
+ return t.module ? await L("scripts", t.module, e?.declarationsOnly ?? !1, t.diagnostics) : null;
1072
1072
  }
1073
1073
  addModule(e, t, n) {
1074
1074
  this._modules.add(e, t, n);
1075
1075
  }
1076
1076
  async addModuleFromJSON(e, t, n) {
1077
- let r = await M(e, t);
1077
+ let r = await L(e, t);
1078
1078
  return this.addModule(e, r, n), r;
1079
1079
  }
1080
1080
  executeMacro(e, t, n) {
@@ -1090,7 +1090,7 @@ var Dt = class {
1090
1090
  }
1091
1091
  async run(e, t) {
1092
1092
  try {
1093
- let n = typeof e == "string" ? await this.createModule({ source: e }) : await M("scripts", e), r = typeof e == "string" ? e : e?.source ?? "";
1093
+ let n = typeof e == "string" ? await this.createModule({ source: e }) : await L("scripts", e), r = typeof e == "string" ? e : e?.source ?? "";
1094
1094
  return await this._runModule(n, r, t);
1095
1095
  } catch (e) {
1096
1096
  return {
@@ -1172,7 +1172,7 @@ var Dt = class {
1172
1172
  }
1173
1173
  if (!r || r.length === 0) return e.EmptyArray;
1174
1174
  let s = t?.text ? t.text.trim().toUpperCase() : null;
1175
- return s && n.length > 1 && ke(r, s), i !== void 0 && r.length > i ? r.slice(0, i) : r;
1175
+ return s && n.length > 1 && He(r, s), i !== void 0 && r.length > i ? r.slice(0, i) : r;
1176
1176
  }
1177
1177
  async getFunctionCategories(t) {
1178
1178
  await this._emitter.notify("onBeforeSearch", { async: !0 });
@@ -1215,13 +1215,13 @@ var Dt = class {
1215
1215
  for (let t = 0; t < e.length; t++) {
1216
1216
  let i = e[t], a = n[i];
1217
1217
  try {
1218
- r[i] = await M(i, a);
1218
+ r[i] = await L(i, a);
1219
1219
  } catch (e) {
1220
1220
  o.error(`Could not load script '${i}'; it will be unavailable.`, e);
1221
1221
  }
1222
1222
  }
1223
1223
  }
1224
- let i = this, a = new kt({
1224
+ let i = this, a = new At({
1225
1225
  transactions: this._options?.transactions,
1226
1226
  initial: r,
1227
1227
  onRemove: (e, t) => {
@@ -1257,7 +1257,7 @@ var Dt = class {
1257
1257
  if (!e) throw Error("Scripts is initializing.");
1258
1258
  return e.toJSON();
1259
1259
  }
1260
- }, jt = class {
1260
+ }, Mt = class {
1261
1261
  constructor(e, t, n, r) {
1262
1262
  this._mergedReading = [], this._colsReading = [], this._rowsReading = [], this._styles = n, this._topLeft = t ?? l.EmptyCell, this._sheet = new E({
1263
1263
  runtime: e,
@@ -1279,28 +1279,28 @@ var Dt = class {
1279
1279
  e.includes(r) && delete i[r];
1280
1280
  }
1281
1281
  }
1282
- let a = se(i.fontFamily);
1282
+ let a = ze(i.fontFamily);
1283
1283
  r.font = {}, a && (r.font.family = a.family, r.font.fallbacks = a.fallbacks, r.font.size = a.size), r.font.size = i.fontSize, r.font.weight = i.fontWeight, r.font.style = i.fontStyle, r.font.color = i.color;
1284
- let o = x(i.textDecoration);
1285
- r.font.underline = o.underline, r.font.strike = o.strike, i.textUnderlineStyle && (r.font.underline = v(i.textUnderlineStyle)), r.alignment = {}, i?.textAlign && (r.alignment.horizontal = ne(i.textAlign)), i?.textAlign && !r.alignment.horizontal && i?.textAlign !== "general" && (i.textAlign === "center-across" ? r.alignment.horizontal = P.HorizontalAlignment.CenterContinuous : i.textAlign === "fill" ? r.alignment.horizontal = P.HorizontalAlignment.Fill : i.textAlign === "121" || i.textAlign === "010" ? (r.alignment.horizontal = P.HorizontalAlignment.Distributed, r.alignment.justifyLastLine = i.textAlign === "121") : console.warn("unknown text-align", i.textAlign)), i.verticalAlign && (i.verticalAlign.toLowerCase() === "super" ? r.font.verticalAlign = w.VerticalAlignment.Super : i.verticalAlign.toLowerCase() === "sup" ? r.font.verticalAlign = w.VerticalAlignment.Sub : r.alignment.vertical = Ue(i.verticalAlign), r.alignment.vertical || (i.verticalAlign === "121" ? r.alignment.vertical = P.VerticalAlignment.Distributed : console.warn("unknown vertical-align", i.verticalAlign))), i.msoCharIndentCount && (r.alignment.indent = i.msoCharIndentCount), i.whiteSpace && (r.alignment.overflow = i.whiteSpace === "no-wrap" || i.whiteSpace === "nowrap" ? P.Overflow.Visible : P.Overflow.Wrap), i.msoTextControl === "shrinktofit" && (r.alignment.overflow = P.Overflow.Shrink);
1284
+ let o = Ie(i.textDecoration);
1285
+ r.font.underline = o.underline, r.font.strike = o.strike, i.textUnderlineStyle && (r.font.underline = w(i.textUnderlineStyle)), r.alignment = {}, i?.textAlign && (r.alignment.horizontal = ue(i.textAlign)), i?.textAlign && !r.alignment.horizontal && i?.textAlign !== "general" && (i.textAlign === "center-across" ? r.alignment.horizontal = I.HorizontalAlignment.CenterContinuous : i.textAlign === "fill" ? r.alignment.horizontal = I.HorizontalAlignment.Fill : i.textAlign === "121" || i.textAlign === "010" ? (r.alignment.horizontal = I.HorizontalAlignment.Distributed, r.alignment.justifyLastLine = i.textAlign === "121") : console.warn("unknown text-align", i.textAlign)), i.verticalAlign && (i.verticalAlign.toLowerCase() === "super" ? r.font.verticalAlign = k.VerticalAlignment.Super : i.verticalAlign.toLowerCase() === "sup" ? r.font.verticalAlign = k.VerticalAlignment.Sub : r.alignment.vertical = Ve(i.verticalAlign), r.alignment.vertical || (i.verticalAlign === "121" ? r.alignment.vertical = I.VerticalAlignment.Distributed : console.warn("unknown vertical-align", i.verticalAlign))), i.msoCharIndentCount && (r.alignment.indent = i.msoCharIndentCount), i.whiteSpace && (r.alignment.overflow = i.whiteSpace === "no-wrap" || i.whiteSpace === "nowrap" ? I.Overflow.Visible : I.Overflow.Wrap), i.msoTextControl === "shrinktofit" && (r.alignment.overflow = I.Overflow.Shrink);
1286
1286
  let s = null;
1287
1287
  if (i.background ? s = i.background : i.backgroundColor && (s = i.backgroundColor), s && (r.fill = { color: s }), i.msoPattern) {
1288
- let e = ae(i.msoPattern);
1289
- e && (e.patternType === N.BuiltInSheetPattern.Solid ? r.fill = { color: e.foreground } : e.patternType !== N.BuiltInSheetPattern.None && (s && (e.background = s), r.fill = e));
1288
+ let e = ve(i.msoPattern);
1289
+ e && (e.patternType === Ce.BuiltInSheetPattern.Solid ? r.fill = { color: e.foreground } : e.patternType !== Ce.BuiltInSheetPattern.None && (s && (e.background = s), r.fill = e));
1290
1290
  }
1291
- i.msoRotate !== void 0 && (r.alignment.rotation = Oe(i.msoRotate));
1291
+ i.msoRotate !== void 0 && (r.alignment.rotation = se(i.msoRotate));
1292
1292
  let c = (e, t) => {
1293
1293
  e && (r.border ||= {}, r.border[e] = t);
1294
1294
  };
1295
1295
  i.border && i.border !== "none" && (c("top", i.border), c("left", i.border), c("right", i.border), c("bottom", i.border)), i.borderTop && c("top", i.borderTop), i.borderLeft && c("left", i.borderLeft), i.borderRight && c("right", i.borderRight), i.borderBottom && c("bottom", i.borderBottom), i.msoDiagonalUp && c("diagonalUp", i.msoDiagonalUp), i.msoDiagonalDown && c("diagonalDown", i.msoDiagonalDown);
1296
1296
  let l = r.numberFormat;
1297
- i.msoNumberFormat && (l = He(i.msoNumberFormat), l.includes("\\") ? l = null : l === "Fixed" ? l = A.Styles.lookupStyle(r.numberFormat).formatType === A.Type.Number ? null : A.Type.Number : l === "Percent" && (l = A.Styles.lookupStyle(r.numberFormat).formatType === A.Type.Percentage ? null : A.Type.Percentage)), l && (r.numberFormat = l), e.style = this._styles.normalize(r), n && Object.keys(e.style).length === 0 && delete e.style;
1297
+ i.msoNumberFormat && (l = ce(i.msoNumberFormat), l.includes("\\") ? l = null : l === "Fixed" ? l = O.Styles.lookupStyle(r.numberFormat).formatType === O.Type.Number ? null : O.Type.Number : l === "Percent" && (l = O.Styles.lookupStyle(r.numberFormat).formatType === O.Type.Percentage ? null : O.Type.Percentage)), l && (r.numberFormat = l), e.style = this._styles.normalize(r), n && Object.keys(e.style).length === 0 && delete e.style;
1298
1298
  }
1299
1299
  onCell(e, t, n, r, i) {
1300
1300
  let a = r(i), o = { value: t === void 0 ? n ?? "" : t };
1301
1301
  if (typeof o.value == "string" && o.value.length === 0 && (o.value = void 0), a && this.applyCSSStyle(o, a), i?.tagName.toUpperCase() === "TD") {
1302
1302
  let e = o.style, t = e?.font ?? {};
1303
- (i.querySelectorAll("s").length > 0 || i.querySelectorAll("strike").length > 0) && (t.strike = !0), i.querySelectorAll("sub").length > 0 && (t.verticalAlign = w.VerticalAlignment.Sub), i.querySelectorAll("sup").length > 0 && (t.verticalAlign = w.VerticalAlignment.Super), (i.querySelectorAll("b").length > 0 || i.querySelectorAll("strong").length > 0) && (t.weight = 700), i.querySelectorAll("i").length > 0 && (t.style = w.Style.Italic), i.querySelectorAll("u").length > 0 && (t.underline = w.UnderlineStyle.Single), Object.keys(t).length > 0 && (e || (e = {}, o.style = e), e.font ||= t);
1303
+ (i.querySelectorAll("s").length > 0 || i.querySelectorAll("strike").length > 0) && (t.strike = !0), i.querySelectorAll("sub").length > 0 && (t.verticalAlign = k.VerticalAlignment.Sub), i.querySelectorAll("sup").length > 0 && (t.verticalAlign = k.VerticalAlignment.Super), (i.querySelectorAll("b").length > 0 || i.querySelectorAll("strong").length > 0) && (t.weight = 700), i.querySelectorAll("i").length > 0 && (t.style = k.Style.Italic), i.querySelectorAll("u").length > 0 && (t.underline = k.UnderlineStyle.Single), Object.keys(t).length > 0 && (e || (e = {}, o.style = e), e.font ||= t);
1304
1304
  let n = i.querySelectorAll("a");
1305
1305
  if (n.length > 0) {
1306
1306
  let e = n[0].getAttribute("href");
@@ -1356,7 +1356,7 @@ var Dt = class {
1356
1356
  min: this._topLeft.rowIndex + e,
1357
1357
  max: this._topLeft.rowIndex + e + t - 1
1358
1358
  },
1359
- update: { size: o * w.getDeviceScale() }
1359
+ update: { size: o * k.getDeviceScale() }
1360
1360
  });
1361
1361
  }
1362
1362
  onColumn(e, t, n, r) {
@@ -1368,7 +1368,7 @@ var Dt = class {
1368
1368
  min: this._topLeft.colIndex + e,
1369
1369
  max: this._topLeft.colIndex + e + t - 1
1370
1370
  },
1371
- update: { size: o * w.getDeviceScale() }
1371
+ update: { size: o * k.getDeviceScale() }
1372
1372
  });
1373
1373
  }
1374
1374
  onDone() {
@@ -1379,7 +1379,7 @@ var Dt = class {
1379
1379
  sheet() {
1380
1380
  return this._sheet;
1381
1381
  }
1382
- }, Mt = class {
1382
+ }, Nt = class {
1383
1383
  constructor(e) {
1384
1384
  if (!e) throw new r("snapshot is required.");
1385
1385
  this._snapshot = e;
@@ -1411,7 +1411,7 @@ var Dt = class {
1411
1411
  get isClipboardItem() {
1412
1412
  return !0;
1413
1413
  }
1414
- }, Nt = class {
1414
+ }, Pt = class {
1415
1415
  constructor(e, t, n, i, a) {
1416
1416
  if (this._parsed = void 0, this._runtime = e, !t) throw new r("nativeItems are required.");
1417
1417
  this._topLeft = n ?? l.EmptyCell, this._native = t, this._markOptions = Object.freeze(i ?? {}), this._styles = a;
@@ -1462,10 +1462,10 @@ var Dt = class {
1462
1462
  console.warn("Discovered text as html table but could could not parse.");
1463
1463
  }
1464
1464
  try {
1465
- let r = new jt(this._runtime, this._topLeft, this._styles, n ? "HTML" : "Text");
1465
+ let r = new Mt(this._runtime, this._topLeft, this._styles, n ? "HTML" : "Text");
1466
1466
  await r.sheet().getCalculation().ready(), await r.sheet().getCalculation().stop();
1467
- let i, a = await Promise.resolve(t ? C(t) : [[]]);
1468
- if (ee(n, a, r) ? (e = r.sheet(), i = e.getUsedRange()) : n = null, i) return this._parsed = {
1467
+ let i, a = await Promise.resolve(t ? we(t) : [[]]);
1468
+ if (be(n, a, r) ? (e = r.sheet(), i = e.getUsedRange()) : n = null, i) return this._parsed = {
1469
1469
  copyTo: async (e, t) => (await e.copyFrom(i, t))?.getCoords() ?? null,
1470
1470
  getCoords: () => i.getCoords(),
1471
1471
  getSource: () => e,
@@ -1492,7 +1492,7 @@ var Dt = class {
1492
1492
  get isClipboardItem() {
1493
1493
  return !0;
1494
1494
  }
1495
- }, X = {
1495
+ }, Y = {
1496
1496
  showFormulaBar: !0,
1497
1497
  showTabs: !0,
1498
1498
  tabRatio: 600,
@@ -1500,9 +1500,9 @@ var Dt = class {
1500
1500
  showVerticalScrollbar: !0,
1501
1501
  showStatusBar: !0,
1502
1502
  activeSheetId: 0
1503
- }, Pt = class {
1503
+ }, Ft = class {
1504
1504
  constructor(e) {
1505
- this._emitter = new k(this), this._state = { ...X }, e?.json && this._fromJSON(e?.json);
1505
+ this._emitter = new x(this), this._state = { ...Y }, e?.json && this._fromJSON(e?.json);
1506
1506
  }
1507
1507
  isShowFormulaBar() {
1508
1508
  return this._state.showFormulaBar;
@@ -1554,7 +1554,7 @@ var Dt = class {
1554
1554
  let e = {}, t = Object.keys(this._state), n = t.length;
1555
1555
  for (let r = 0; r < n; r++) {
1556
1556
  let n = t[r], i = this._state[n];
1557
- i != null && i !== X[n] && (e[n] = i);
1557
+ i != null && i !== Y[n] && (e[n] = i);
1558
1558
  }
1559
1559
  return Object.keys(e).length === 0 && (e = null), e;
1560
1560
  }
@@ -1564,7 +1564,7 @@ var Dt = class {
1564
1564
  }
1565
1565
  update(e, t = !0) {
1566
1566
  this._state = {
1567
- ...X,
1567
+ ...Y,
1568
1568
  ...this._state,
1569
1569
  ...e
1570
1570
  }, t && this._emitter.notify("onViewChange");
@@ -1576,13 +1576,13 @@ var Dt = class {
1576
1576
  let e = this.toJSON();
1577
1577
  return e ? JSON.stringify(e) : "DefaultWorkbookView";
1578
1578
  }
1579
- }, Ft = Object.freeze({
1579
+ }, It = Object.freeze({
1580
1580
  structure: !1,
1581
1581
  windows: !1,
1582
1582
  revision: !1,
1583
1583
  password: null,
1584
1584
  revisionsPassword: null
1585
- }), It = class extends _e {
1585
+ }), Lt = class extends te {
1586
1586
  isWindowsAllowed() {
1587
1587
  return this._isPropertyAllowed("windows");
1588
1588
  }
@@ -1605,7 +1605,7 @@ var Dt = class {
1605
1605
  let n = Object.keys(t), r = n.length;
1606
1606
  for (let i = 0; i < r; i++) {
1607
1607
  let r = n[i], a = t[r];
1608
- a != null && a !== Ft[r] && (e[r] = a);
1608
+ a != null && a !== It[r] && (e[r] = a);
1609
1609
  }
1610
1610
  }
1611
1611
  return super._toJSON(e);
@@ -1614,10 +1614,10 @@ var Dt = class {
1614
1614
  return "[WorkbookProtection]";
1615
1615
  }
1616
1616
  };
1617
- function Z(e) {
1617
+ function X(e) {
1618
1618
  return s("error.workbook.invalidSheetKey", { key: e });
1619
1619
  }
1620
- var Lt, Rt, zt = class {
1620
+ var Rt, zt, Bt = class {
1621
1621
  constructor(e, t) {
1622
1622
  this._add = e, this._get = t;
1623
1623
  }
@@ -1636,25 +1636,25 @@ var Lt, Rt, zt = class {
1636
1636
  getCount() {
1637
1637
  return this._get().length;
1638
1638
  }
1639
- }, Q = /* @__PURE__ */ new RegExp(/[\\/\\*?:[\]]+/), Bt = /* @__PURE__ */ new RegExp(/\(((\d+)(?!.*\d))\)$/, "g");
1640
- function Vt(e) {
1639
+ }, Z = /* @__PURE__ */ new RegExp(/[\\/\\*?:[\]]+/), Vt = /* @__PURE__ */ new RegExp(/\(((\d+)(?!.*\d))\)$/, "g");
1640
+ function Ht(e) {
1641
1641
  let t = s(m("workbook.defaultSheetName"), { n: e + 1 });
1642
1642
  return t === "workbook.defaultSheetName" ? `Sheet${e + 1}` : t;
1643
1643
  }
1644
- function Ht(e, t) {
1644
+ function Ut(e, t) {
1645
1645
  return {
1646
- ...ce,
1646
+ ...je,
1647
1647
  getSheet: () => null,
1648
- toString: () => O(e, t)
1648
+ toString: () => F(e, t)
1649
1649
  };
1650
1650
  }
1651
- function Ut(e, t = !1) {
1651
+ function Wt(e, t = !1) {
1652
1652
  if (!e) throw Error(s("error.workbook.sheetNameBlank"));
1653
- if (Q.test(e)) {
1653
+ if (Z.test(e)) {
1654
1654
  if (!t) throw Error(function(e) {
1655
1655
  return e ? s("error.workbook.sheetNameInvalidCharsNamed", { sheetName: e }) : s("error.workbook.sheetNameInvalidChars");
1656
1656
  }(e));
1657
- e = e.replace(Q, "");
1657
+ e = e.replace(Z, "");
1658
1658
  }
1659
1659
  if (e.length === 0) throw Error(s("error.workbook.sheetNameBlank"));
1660
1660
  let n = e.length;
@@ -1668,7 +1668,7 @@ function Ut(e, t = !1) {
1668
1668
  }
1669
1669
  return e;
1670
1670
  }
1671
- var Wt, $ = class e extends Me {
1671
+ var Gt, Q = class e extends me {
1672
1672
  constructor(e, t, n, r) {
1673
1673
  super(e, t, r), this._workbook = n;
1674
1674
  }
@@ -1679,23 +1679,23 @@ var Wt, $ = class e extends Me {
1679
1679
  let r = this._options;
1680
1680
  return n && (r = {
1681
1681
  ...this._options,
1682
- getOptions: R(this._options?.getOptions, n)
1682
+ getOptions: M(this._options?.getOptions, n)
1683
1683
  }), new e(t, this._internal, this._workbook, r);
1684
1684
  }
1685
1685
  _createRange(e, t) {
1686
- let n = e ? { ...e } : null, r = n ? this._workbook._getSheetRef(n.scope, T.Visibility.VeryHidden) : null;
1686
+ let n = e ? { ...e } : null, r = n ? this._workbook._getSheetRef(n.scope, R.Visibility.VeryHidden) : null;
1687
1687
  if (!r) {
1688
1688
  let e = this._workbook.getSelectedSheet();
1689
- return delete n?.scope, Ht(n, n ? {
1690
- scope: F,
1689
+ return delete n?.scope, Ut(n, n ? {
1690
+ scope: C,
1691
1691
  ...e.getEntireRange().getCoords()
1692
1692
  } : null);
1693
1693
  }
1694
1694
  let i = this._options;
1695
1695
  return t && (i = {
1696
1696
  ...this._options,
1697
- getOptions: R(this._options.getOptions, t)
1698
- }), new Gt(e, S(r.sheet), this._workbook, i);
1697
+ getOptions: M(this._options.getOptions, t)
1698
+ }), new Kt(e, A(r.sheet), this._workbook, i);
1699
1699
  }
1700
1700
  async select(e) {
1701
1701
  let t = [], n = null, r = this.getCoords();
@@ -1719,15 +1719,15 @@ var Wt, $ = class e extends Me {
1719
1719
  }
1720
1720
  getAddress(e) {
1721
1721
  let t = this._internal.getSheet(), n = t.getEntireRange().getCoords();
1722
- return Ie(this.getCoords(), {
1722
+ return Me(this.getCoords(), {
1723
1723
  ...n,
1724
1724
  scope: t.getName()
1725
- }, O, Be, e);
1725
+ }, F, ee, e);
1726
1726
  }
1727
1727
  toString() {
1728
1728
  return this.getAddress();
1729
1729
  }
1730
- }, Gt = class e extends Se {
1730
+ }, Kt = class e extends Ne {
1731
1731
  constructor(e, t, n, r) {
1732
1732
  super(e, t, r), this._workbook = n;
1733
1733
  }
@@ -1735,17 +1735,17 @@ var Wt, $ = class e extends Me {
1735
1735
  let n = this._options;
1736
1736
  return t && (n = {
1737
1737
  ...this._options,
1738
- getOptions: R(this._options?.getOptions, t)
1739
- }), new $(e, this._internal, this._workbook, n);
1738
+ getOptions: M(this._options?.getOptions, t)
1739
+ }), new Q(e, this._internal, this._workbook, n);
1740
1740
  }
1741
1741
  _createRange(t, n) {
1742
1742
  let r = this._internal;
1743
- if (!t) return ze(r.getSheet(), r.getSheet().getEntireCoords());
1744
- if (r.validateCoords(t), r.getSheet().isClosed()) return ze(null, r.getSheet().getEntireCoords(), t);
1743
+ if (!t) return T(r.getSheet(), r.getSheet().getEntireCoords());
1744
+ if (r.validateCoords(t), r.getSheet().isClosed()) return T(null, r.getSheet().getEntireCoords(), t);
1745
1745
  let i = this._options;
1746
1746
  return n && (i = {
1747
1747
  ...this._options,
1748
- getOptions: R(this._options?.getOptions, n)
1748
+ getOptions: M(this._options?.getOptions, n)
1749
1749
  }), new e(t, this._internal, this._workbook, i);
1750
1750
  }
1751
1751
  addListener(e, t) {
@@ -1758,7 +1758,7 @@ var Wt, $ = class e extends Me {
1758
1758
  }
1759
1759
  getAddress(e) {
1760
1760
  let t = this._internal.getSheet(), n = t?.getEntireRange().getCoords() ?? null;
1761
- return O(this.getCoords(), {
1761
+ return F(this.getCoords(), {
1762
1762
  ...n,
1763
1763
  scope: t.getName()
1764
1764
  });
@@ -1766,7 +1766,7 @@ var Wt, $ = class e extends Me {
1766
1766
  toString() {
1767
1767
  return this.getAddress();
1768
1768
  }
1769
- }, Kt = class {
1769
+ }, $ = class {
1770
1770
  constructor(t) {
1771
1771
  this._lastTransactionUUID = null, this._closed = !1, this._listenerOrigin = null, this._lastOriginName = null, this._initializing = !0, this._isDate1904 = !1, this._locale = null, this._localeOverrides = null;
1772
1772
  let n = typeof t == "string" ? { origin: t } : { ...t }, r = n.origin;
@@ -1776,16 +1776,16 @@ var Wt, $ = class e extends Me {
1776
1776
  e !== this._lastOriginName && (this._lastOriginName = e, this._emitter.notify("onNameChange"));
1777
1777
  } });
1778
1778
  let i = n.json;
1779
- delete n.json, this._transactions = n.transactions ?? new ge(), this._id = this._transactions.create(), this._ownTransactions = !n.transactions, this._emitter = new k(this, this._transactions), this._runtime = n.runtime ?? new te("Workbook Runtime", {
1779
+ delete n.json, this._transactions = n.transactions ?? new fe(), this._id = this._transactions.create(), this._ownTransactions = !n.transactions, this._emitter = new x(this, this._transactions), this._runtime = n.runtime ?? new xe("Workbook Runtime", {
1780
1780
  isDate1904: () => this._isDate1904,
1781
- getLocale: () => this._locale ?? Le() ?? ve(),
1781
+ getLocale: () => this._locale ?? ie() ?? de(),
1782
1782
  getLocaleOverrides: () => this._localeOverrides
1783
1783
  }), this._listenerLanguage = c.addChangeListener(() => {
1784
1784
  this._locale !== null || this._closed || this._notifyAllChange();
1785
1785
  });
1786
1786
  let a = this, o = this._beginCommit({ description: m(i ? "op.openWorkbook" : "op.newWorkbook") });
1787
1787
  try {
1788
- this._strings = n.strings ?? new xe(), this._ownStrings = !n.strings, this._externalBooks = new Ot({ json: i?.externalBooks }), this._resources = n.resources ?? new le(), this._ownResources = !n.resources, this._createSheetName = n.createSheetNameCallback ?? Vt;
1788
+ this._strings = n.strings ?? new ae(), this._ownStrings = !n.strings, this._externalBooks = new kt({ json: i?.externalBooks }), this._resources = n.resources ?? new b(), this._ownResources = !n.resources, this._createSheetName = n.createSheetNameCallback ?? Ht;
1789
1789
  let t = n.createSheetCallback;
1790
1790
  t ||= (e) => new E(e), this._sheetOnNameChange = /* @__PURE__ */ new Map(), this._sheetOnVisibilityChange = /* @__PURE__ */ new Map(), this._sheetOnIndexChange = /* @__PURE__ */ new Map(), this._createSheet = (e, n, r, i, o) => {
1791
1791
  let s = null, c = {
@@ -1807,7 +1807,7 @@ var Wt, $ = class e extends Me {
1807
1807
  s = t, a._addSheetRef({
1808
1808
  name: n,
1809
1809
  id: e,
1810
- visibility: r ?? T.Visibility.Visible,
1810
+ visibility: r ?? R.Visibility.Visible,
1811
1811
  sheet: t
1812
1812
  }, i);
1813
1813
  },
@@ -1823,7 +1823,7 @@ var Wt, $ = class e extends Me {
1823
1823
  },
1824
1824
  getVisibility: () => {
1825
1825
  let e = a._getSheetRef(s);
1826
- return e ? e.visibility : T.Visibility.Visible;
1826
+ return e ? e.visibility : R.Visibility.Visible;
1827
1827
  },
1828
1828
  setVisibility: (e, t) => {
1829
1829
  a._setSheetVisibility(s, e, t);
@@ -1834,10 +1834,10 @@ var Wt, $ = class e extends Me {
1834
1834
  duplicate: () => a._duplicateSheet(s),
1835
1835
  getIndex: () => {
1836
1836
  let e = a._getSheetRef(s);
1837
- return e ? a._getOffsetForId(e.id, a._getSheetRefs(T.Visibility.VeryHidden)) : i;
1837
+ return e ? a._getOffsetForId(e.id, a._getSheetRefs(R.Visibility.VeryHidden)) : i;
1838
1838
  },
1839
1839
  setIndex: (e, t) => {
1840
- let n = a._getSheetRef(s, T.Visibility.VeryHidden);
1840
+ let n = a._getSheetRef(s, R.Visibility.VeryHidden);
1841
1841
  return !!n && (a._moveSheet(n, e, t), !0);
1842
1842
  },
1843
1843
  setIndexCallback: (t) => {
@@ -1851,18 +1851,19 @@ var Wt, $ = class e extends Me {
1851
1851
  }
1852
1852
  };
1853
1853
  return o && (c.json = o), s = t(c, n, i, r), s;
1854
- }, this._namedTableSource = new fe({
1854
+ }, this._namedTableSource = new Ee({
1855
1855
  getSheets: () => a._sheets ? a.getSheets().getItems() : e.EmptyArray,
1856
1856
  addSheetsListener: (e, t) => a.addListeners({ onSheetsChange: e }, t)
1857
- }), this._names = n.names ?? new oe({
1857
+ }), this._names = n.names ?? new pe({
1858
1858
  addressToRanges: (e) => a.getRanges(e),
1859
1859
  getCurrentScope: () => a.getSelectedSheet().getName(),
1860
1860
  isReadOnly: () => a._options.readonly ?? !1,
1861
1861
  transactions: a._transactions,
1862
1862
  getSources: () => a._calculation ? [a._calculation.getNamedFormulas(), a._namedTableSource] : e.EmptyArray
1863
- }), this._ownNames = !n.names, this._calculation = n.calculation ?? new ie({
1863
+ }), this._ownNames = !n.names, this._calculation = n.calculation ?? new re({
1864
1864
  runtime: a._runtime,
1865
1865
  functions: n.functions,
1866
+ json: i?.calc,
1866
1867
  getActiveCell: () => {
1867
1868
  let e = a.getSelectedSheet(), t = e?.getSelectedRange()?.getCoords();
1868
1869
  return t ? {
@@ -1877,9 +1878,9 @@ var Wt, $ = class e extends Me {
1877
1878
  getSheetIndex: (e) => {
1878
1879
  if (e === void 0) {
1879
1880
  let e = a.getSelectedSheet();
1880
- return e ? this._getSheetRefs(T.Visibility.VeryHidden).findIndex((t) => t.sheet === e) : -1;
1881
+ return e ? this._getSheetRefs(R.Visibility.VeryHidden).findIndex((t) => t.sheet === e) : -1;
1881
1882
  }
1882
- let t = this._getSheetRefs(T.Visibility.VeryHidden);
1883
+ let t = this._getSheetRefs(R.Visibility.VeryHidden);
1883
1884
  e = e.toLowerCase();
1884
1885
  let n = t.length;
1885
1886
  for (let r = 0; r < n; r++) if (t[r].name.toLowerCase() === e) return r;
@@ -1889,7 +1890,7 @@ var Wt, $ = class e extends Me {
1889
1890
  if (!t || t.length === 0) return -1;
1890
1891
  let n = t[0].getRanges?.()?.getCoords()?.[0]?.scope;
1891
1892
  if (!n) return -1;
1892
- let r = this._getSheetRefs(T.Visibility.VeryHidden);
1893
+ let r = this._getSheetRefs(R.Visibility.VeryHidden);
1893
1894
  n = n.toLowerCase();
1894
1895
  let i = r.length;
1895
1896
  for (let e = 0; e < i; e++) if (r[e].name.toLowerCase() === n) return e;
@@ -1898,9 +1899,9 @@ var Wt, $ = class e extends Me {
1898
1899
  }
1899
1900
  return -1;
1900
1901
  },
1901
- getSheetCount: () => a.getSheets().getItems({ visibility: T.Visibility.VeryHidden }).length,
1902
+ getSheetCount: () => a.getSheets().getItems({ visibility: R.Visibility.VeryHidden }).length,
1902
1903
  getSheetById: (e) => {
1903
- let t = a.getSheets().getItems({ visibility: T.Visibility.VeryHidden }), n = t.length;
1904
+ let t = a.getSheets().getItems({ visibility: R.Visibility.VeryHidden }), n = t.length;
1904
1905
  for (let r = 0; r < n; r++) if (t[r].getId() === e) return t[r];
1905
1906
  return null;
1906
1907
  },
@@ -1920,7 +1921,7 @@ var Wt, $ = class e extends Me {
1920
1921
  let r = async () => {
1921
1922
  this._ownCalculation && await this._calculation.start(), await this._scripts.start(), this._starting = null;
1922
1923
  };
1923
- this._starting = r(), this._starting?.catch(() => {}), i ? this._fromJSON(i) : (this._initState(), this._addSheet(!1)), this._sheets = new zt((e) => a._addSheetOptions(e), (t, n) => {
1924
+ this._starting = r(), this._starting?.catch(() => {}), i ? this._fromJSON(i) : (this._initState(), this._addSheet(!1)), this._sheets = new Bt((e) => a._addSheetOptions(e), (t, n) => {
1924
1925
  if (t) {
1925
1926
  let r = this._getSheetRef(t, n);
1926
1927
  return r ? [r.sheet] : e.EmptyArray;
@@ -1936,7 +1937,7 @@ var Wt, $ = class e extends Me {
1936
1937
  let e = this._getSheetRefs();
1937
1938
  for (let t = (e ? e.length : 0) - 1; t >= 0; t--);
1938
1939
  let t = this._options;
1939
- this._isDate1904 = t.runtime?.isDate1904() ?? !1, this._locale = null, this._localeOverrides = null, this._theme = t.theme ?? new be().getDefaultTheme(), this._styles = t?.styles ?? new we(this._theme), this._ownStyles = !t.styles, this._styles.getTheme() || this._styles.setTheme(this.getTheme()), this._activeSheetOffset = 0, this.setView(new Pt()), this._listenerProtection?.(), this._protection = new It(void 0, this._options.readonly ?? !1), this._listenerProtection = this._protection.addListeners({ onChange: (e) => {
1940
+ this._isDate1904 = t.runtime?.isDate1904() ?? !1, this._locale = null, this._localeOverrides = null, this._theme = t.theme ?? new Te().getDefaultTheme(), this._styles = t?.styles ?? new Oe(this._theme), this._ownStyles = !t.styles, this._styles.getTheme() || this._styles.setTheme(this.getTheme()), this._activeSheetOffset = 0, this.setView(new Ft()), this._listenerProtection?.(), this._protection = new Lt(void 0, this._options.readonly ?? !1), this._listenerProtection = this._protection.addListeners({ onChange: (e) => {
1940
1941
  n._emitter.notify("onProtectionChange");
1941
1942
  } });
1942
1943
  let n = this;
@@ -2060,14 +2061,14 @@ var Wt, $ = class e extends Me {
2060
2061
  let e = this._getSheetRef(this.getSelectedSheetIndex());
2061
2062
  return e ? e?.sheet : null;
2062
2063
  }
2063
- getSheet(e, n = T.Visibility.Visible) {
2064
+ getSheet(e, n = R.Visibility.Visible) {
2064
2065
  if (e === void 0) return this.getSelectedSheet();
2065
2066
  if (!e) throw Error(s("error.workbook.sheetNameNotProvided"));
2066
2067
  let r = this._getSheetRef(e, n);
2067
2068
  if (!r) throw new t(s("error.workbook.sheetNameNotFound", { sheetName: e }));
2068
2069
  return r.sheet;
2069
2070
  }
2070
- getSheetAt(e, n = T.Visibility.Visible) {
2071
+ getSheetAt(e, n = R.Visibility.Visible) {
2071
2072
  let r = this._getSheetRef(e, n);
2072
2073
  if (!r) throw new t(function(e) {
2073
2074
  return s("error.workbook.sheetIndexNotFound", { index: e });
@@ -2080,32 +2081,32 @@ var Wt, $ = class e extends Me {
2080
2081
  addSheet(e) {
2081
2082
  return this.getSheets().add(e);
2082
2083
  }
2083
- _getSheets(e = T.Visibility.Visible) {
2084
+ _getSheets(e = R.Visibility.Visible) {
2084
2085
  let t = this._getSheetRefs(e), n = [], r = t.length;
2085
2086
  for (let e = 0; e < r; e++) n.push(t[e].sheet);
2086
2087
  return n;
2087
2088
  }
2088
- _getSheetRefs(t = T.Visibility.Visible) {
2089
+ _getSheetRefs(t = R.Visibility.Visible) {
2089
2090
  let n = this._getState();
2090
- return n ? t === T.Visibility.Visible ? n.sheetRefsVisible : t === T.Visibility.Hidden ? n.sheetRefsVisibleAndHidden : t === T.Visibility.VeryHidden ? n.sheetRefsAll : e.EmptyArray : [];
2091
+ return n ? t === R.Visibility.Visible ? n.sheetRefsVisible : t === R.Visibility.Hidden ? n.sheetRefsVisibleAndHidden : t === R.Visibility.VeryHidden ? n.sheetRefsAll : e.EmptyArray : [];
2091
2092
  }
2092
- _getSheetRef(e, t = T.Visibility.Visible) {
2093
+ _getSheetRef(e, t = R.Visibility.Visible) {
2093
2094
  let n = null;
2094
2095
  return typeof e == "number" ? this._getSheetRefs(t)[e] : (typeof e == "string" ? n = this._getState().refsByLowerCaseName.get(e.toLowerCase()) : e instanceof E ? n = this._getState().refsByInstance.get(e) : e?.id !== void 0 && (n = this._getState().refsById.get(e.id)), n);
2095
2096
  }
2096
2097
  _validateNewSheetName(e, t = !0) {
2097
2098
  if (e == null) return e;
2098
- if (Ut(e), t && this._getState().sheetsByLowerCaseName.has(e.toLowerCase())) throw new f(s("error.workbook.nameTaken"));
2099
+ if (Wt(e), t && this._getState().sheetsByLowerCaseName.has(e.toLowerCase())) throw new f(s("error.workbook.nameTaken"));
2099
2100
  return e.substring(0, 31);
2100
2101
  }
2101
2102
  findValidSheetName(e) {
2102
- e &&= Ut(e, !0);
2103
+ e &&= Wt(e, !0);
2103
2104
  try {
2104
2105
  return function(e, t) {
2105
2106
  try {
2106
2107
  if (t(e)) return e;
2107
2108
  } catch {}
2108
- let n, r, i = Bt.exec(e);
2109
+ let n, r, i = Vt.exec(e);
2109
2110
  for (i === null ? (n = e + " ", r = 1) : (n = e.substring(0, i.index), r = parseFloat(i[1])); r < 256;) {
2110
2111
  r++;
2111
2112
  let e = "(" + r + ")", i = n.substring(0, 31 - e.length) + e;
@@ -2120,7 +2121,7 @@ var Wt, $ = class e extends Me {
2120
2121
  }
2121
2122
  }
2122
2123
  isValidSheetNameCharacter(e) {
2123
- return !Q.test(e);
2124
+ return !Z.test(e);
2124
2125
  }
2125
2126
  _addSheetOptions(e) {
2126
2127
  if (this._closed) throw Error(s("error.workbook.modelClosed"));
@@ -2173,7 +2174,7 @@ var Wt, $ = class e extends Me {
2173
2174
  }
2174
2175
  _addSheet(e, t = null, n = null) {
2175
2176
  t = this._nextSheetName(t);
2176
- let r = this._getState(), i = this._createSheet(r.lastId, t, T.Visibility.Visible, n, null);
2177
+ let r = this._getState(), i = this._createSheet(r.lastId, t, R.Visibility.Visible, n, null);
2177
2178
  if (!i) throw new f(s("error.workbook.sheetNameBlank"));
2178
2179
  return e && this._emitter.notify("onSheetsChange"), i;
2179
2180
  }
@@ -2181,7 +2182,7 @@ var Wt, $ = class e extends Me {
2181
2182
  if (this._closed) throw Error(s("error.workbook.modelClosed"));
2182
2183
  if (!this._initializing && !this.getProtection().isStructureAllowed()) throw new f(s("error.workbook.protection"));
2183
2184
  let t = e, n = [], r = [], i = t.length;
2184
- for (let e = 0; e < i; e++) t[e].visibility === T.Visibility.Visible ? (n.push(t[e]), r.push(t[e])) : t[e].visibility === T.Visibility.Hidden && r.push(t[e]);
2185
+ for (let e = 0; e < i; e++) t[e].visibility === R.Visibility.Visible ? (n.push(t[e]), r.push(t[e])) : t[e].visibility === R.Visibility.Hidden && r.push(t[e]);
2185
2186
  this._updateState({
2186
2187
  sheetRefsAll: t,
2187
2188
  sheetRefsVisible: n,
@@ -2212,7 +2213,7 @@ var Wt, $ = class e extends Me {
2212
2213
  m._validateDeleteSheet(e);
2213
2214
  },
2214
2215
  onDelete(e) {
2215
- let t = m._getSheetRef(e, T.Visibility.VeryHidden);
2216
+ let t = m._getSheetRef(e, R.Visibility.VeryHidden);
2216
2217
  if (!t) return;
2217
2218
  let n = m._beginCommit({ description: s("op.deleteSheet", { name: t.name }) });
2218
2219
  try {
@@ -2278,7 +2279,7 @@ var Wt, $ = class e extends Me {
2278
2279
  let n = this._view.getActiveSheetId();
2279
2280
  n ??= (this._view.setActiveSheetId(t), t);
2280
2281
  let r = e.refsById.get(n);
2281
- r || (this._view.setActiveSheetId(t), r = e.refsById.get(t), n = t), r.visibility === T.Visibility.Visible && (this._activeSheetOffset = this._getOffsetForId(n, e.sheetRefsVisible));
2282
+ r || (this._view.setActiveSheetId(t), r = e.refsById.get(t), n = t), r.visibility === R.Visibility.Visible && (this._activeSheetOffset = this._getOffsetForId(n, e.sheetRefsVisible));
2282
2283
  }
2283
2284
  _validateDeleteSheet(e) {
2284
2285
  if (this._closed) throw Error(s("error.workbook.modelClosed"));
@@ -2323,7 +2324,7 @@ var Wt, $ = class e extends Me {
2323
2324
  }
2324
2325
  if (!p && c && a === i && (f.done || !u || !f.done && m(f.value.getCoords(), u) >= 0) && (p = !0), p) {
2325
2326
  let e = f;
2326
- return f = pe, e;
2327
+ return f = ye, e;
2327
2328
  }
2328
2329
  let s = f;
2329
2330
  return f = d.next(), s;
@@ -2335,7 +2336,7 @@ var Wt, $ = class e extends Me {
2335
2336
  } };
2336
2337
  }
2337
2338
  replace(e, t, n) {
2338
- let r = 0, i = null, a = typeof t == "function", o = n?.maxCount ?? 2 ** 53 - 1, c = !n?.maxCount, l = "", u = typeof t == "string" ? De(t) : null, d = n?.description ?? m("op.replace"), f = this._transactions.beginCommit({ description: d });
2339
+ let r = 0, i = null, a = typeof t == "function", o = n?.maxCount ?? 2 ** 53 - 1, c = !n?.maxCount, l = "", u = typeof t == "string" ? Be(t) : null, d = n?.description ?? m("op.replace"), f = this._transactions.beginCommit({ description: d });
2339
2340
  try {
2340
2341
  let d = null, p = null, h = e.next();
2341
2342
  for (; !h.done && r < o;) {
@@ -2385,7 +2386,7 @@ var Wt, $ = class e extends Me {
2385
2386
  if (!this.getProtection().isStructureAllowed()) throw new f(s("error.workbook.protection"));
2386
2387
  let t = this._getSheetRefs(), n = this.getSelectedSheetIndex(), r = null;
2387
2388
  if (e) {
2388
- if (r = this._getSheetRef(e), !r) throw new f(Z(r));
2389
+ if (r = this._getSheetRef(e), !r) throw new f(X(r));
2389
2390
  } else r = t[n];
2390
2391
  if (!r) return null;
2391
2392
  let i = r.sheet, a = this._strings.beginPersist(), o = this.getResources().beginPersist(), c = this.getStyles().beginPersist(), l = null, u = this.beginCommit(s("op.duplicateNamed", { name: i.getName() }));
@@ -2400,20 +2401,20 @@ var Wt, $ = class e extends Me {
2400
2401
  return l;
2401
2402
  }
2402
2403
  _createRange(e, t) {
2403
- let n = e ? { ...e } : null, r = n ? this._getSheetRef(n.scope, T.Visibility.VeryHidden) : null;
2404
+ let n = e ? { ...e } : null, r = n ? this._getSheetRef(n.scope, R.Visibility.VeryHidden) : null;
2404
2405
  if (!r) {
2405
2406
  let e = this.getSelectedSheet();
2406
- return e ? (delete n?.scope, Ht(n, n ? {
2407
- scope: F,
2407
+ return e ? (delete n?.scope, Ut(n, n ? {
2408
+ scope: C,
2408
2409
  ...e.getEntireRange().getCoords()
2409
2410
  } : null)) : void console.warn(s("error.workbook.noVisibleRefs"));
2410
2411
  }
2411
2412
  let i = r.sheet, a = null;
2412
- return t && (a = { getOptions: t }), new Gt(e, S(i), this, a);
2413
+ return t && (a = { getOptions: t }), new Kt(e, A(i), this, a);
2413
2414
  }
2414
2415
  _createRanges(e, t) {
2415
2416
  let n = this.getSelectedSheet(), r = null;
2416
- return t && (r = { getOptions: t }), new $(e, S(n), this, r);
2417
+ return t && (r = { getOptions: t }), new Q(e, A(n), this, r);
2417
2418
  }
2418
2419
  getRange(e, n) {
2419
2420
  if (e === void 0) return this.getSelectedRange(n);
@@ -2422,7 +2423,7 @@ var Wt, $ = class e extends Me {
2422
2423
  if (t.length !== 1) throw new f(s("error.address.singleRangeOnlyAlt"));
2423
2424
  return this._createRange(t[0], n);
2424
2425
  } catch (n) {
2425
- throw n instanceof t ? new t(n.message) : new f(n.message ?? Pe(e));
2426
+ throw n instanceof t ? new t(n.message) : new f(n.message ?? P(e));
2426
2427
  }
2427
2428
  }
2428
2429
  getCell(e) {
@@ -2433,25 +2434,25 @@ var Wt, $ = class e extends Me {
2433
2434
  }
2434
2435
  getRanges(e, t) {
2435
2436
  let n = this._rangesAddressToCoords(e);
2436
- if (n.length === 0) throw new f(Pe(e));
2437
+ if (n.length === 0) throw new f(P(e));
2437
2438
  return this._createRanges(n, t);
2438
2439
  }
2439
2440
  _createGraphRanges(e, t) {
2440
2441
  let n = [];
2441
2442
  for (let e = 0; e < t.length; e++) {
2442
- let r = t[e], i = (r.sheetName ? this._getSheetRef(r.sheetName, T.Visibility.VeryHidden) : null)?.sheet ?? this.getSelectedSheet();
2443
- i && n.push(new Ee(r, S(i), null));
2443
+ let r = t[e], i = (r.sheetName ? this._getSheetRef(r.sheetName, R.Visibility.VeryHidden) : null)?.sheet ?? this.getSelectedSheet();
2444
+ i && n.push(new he(r, A(i), null));
2444
2445
  }
2445
2446
  for (let t = 0; t < e.length; t++) n.push(e[t]);
2446
- return n.length === 0 ? null : new $(n, S(this.getSelectedSheet()), this, null);
2447
+ return n.length === 0 ? null : new Q(n, A(this.getSelectedSheet()), this, null);
2447
2448
  }
2448
2449
  getStats(e) {
2449
2450
  if (this._closed) throw Error(s("error.workbook.modelClosed"));
2450
- let t = this._getSheets(T.Visibility.VeryHidden), n = t.length;
2451
+ let t = this._getSheets(R.Visibility.VeryHidden), n = t.length;
2451
2452
  if (n === 1) return t[0].getStats(e);
2452
2453
  let r = Array(n);
2453
2454
  for (let i = 0; i < n; i++) r[i] = t[i].getStats(e);
2454
- return new wt(r);
2455
+ return new Tt(r);
2455
2456
  }
2456
2457
  _activeRangeCoords() {
2457
2458
  let e = this.getSelectedSheet(), t = e.getSelection().getRanges().getCoords(), n = e.getName(), r = t.length, i = Array(r);
@@ -2476,7 +2477,7 @@ var Wt, $ = class e extends Me {
2476
2477
  getSelectedCell() {
2477
2478
  return this.getSelectedSheet().getSelectedCell();
2478
2479
  }
2479
- _rangesAddressToCoords(e, t = !0, n = T.Visibility.Hidden) {
2480
+ _rangesAddressToCoords(e, t = !0, n = R.Visibility.Hidden) {
2480
2481
  if (!e) throw new f(s("error.address.noAddress"));
2481
2482
  let r = this.getSelectedSheet(), i = { ...r?.getEntireRange().getCoords() }, a = r?.getName();
2482
2483
  if (a && (i.scope = a), typeof e == "string") {
@@ -2486,7 +2487,7 @@ var Wt, $ = class e extends Me {
2486
2487
  t === "r" ? r.rowStart = r.rowEnd = n.rowIndex : r.colStart = r.colEnd = n.colIndex, e = r;
2487
2488
  }
2488
2489
  }
2489
- let o = this, c = he(e, i, b, (e) => {
2490
+ let o = this, c = Pe(e, i, Fe, (e) => {
2490
2491
  if (!t) return null;
2491
2492
  if (typeof e == "string") {
2492
2493
  let t = o.getNames().getByName(e)?.getRanges?.();
@@ -2497,7 +2498,7 @@ var Wt, $ = class e extends Me {
2497
2498
  for (let e = 0; e < l; e++) this._validateCoords(c[e], n);
2498
2499
  return c;
2499
2500
  }
2500
- _validateCoords(e, n = T.Visibility.Visible, r = s("error.sheet.oobRange")) {
2501
+ _validateCoords(e, n = R.Visibility.Visible, r = s("error.sheet.oobRange")) {
2501
2502
  if (e === null) return;
2502
2503
  let i = this.getSheet(e.scope, n).getEntireRange().getCoords();
2503
2504
  if (!l.isRangeWithinRange(e, i)) throw new t(r);
@@ -2524,7 +2525,7 @@ var Wt, $ = class e extends Me {
2524
2525
  if (this._closed) throw Error(s("error.workbook.modelClosed"));
2525
2526
  if (!this.getProtection().isStructureAllowed()) throw new f(s("error.workbook.protection"));
2526
2527
  let r = this._getSheetRef(e);
2527
- if (!r) throw new f(Z(e));
2528
+ if (!r) throw new f(X(e));
2528
2529
  if (t === r.name) return r.sheet;
2529
2530
  if ((t = this._validateNewSheetName(t)) == null) throw new f(s("error.workbook.sheetNameNotProvided"));
2530
2531
  let i = Object.freeze({
@@ -2541,23 +2542,23 @@ var Wt, $ = class e extends Me {
2541
2542
  }
2542
2543
  return a;
2543
2544
  }
2544
- _setSheetVisibility(e, t = T.Visibility.Visible, n) {
2545
+ _setSheetVisibility(e, t = R.Visibility.Visible, n) {
2545
2546
  if (this._closed) throw Error(s("error.workbook.modelClosed"));
2546
2547
  if (!this.getProtection().isStructureAllowed()) throw new f(s("error.workbook.protection"));
2547
- let r = this._getSheetRef(e, T.Visibility.VeryHidden);
2548
+ let r = this._getSheetRef(e, R.Visibility.VeryHidden);
2548
2549
  if (!r) return null;
2549
2550
  if (t === r.visibility) return;
2550
2551
  let i = null, a = "";
2551
- t === T.Visibility.Visible ? a = m("op.unhideSheet") : t === T.Visibility.Hidden ? a = m("op.hideSheet") : t === T.Visibility.VeryHidden && (a = m("op.veryHideSheet"));
2552
+ t === R.Visibility.Visible ? a = m("op.unhideSheet") : t === R.Visibility.Hidden ? a = m("op.hideSheet") : t === R.Visibility.VeryHidden && (a = m("op.veryHideSheet"));
2552
2553
  let o = this.beginCommit(a);
2553
2554
  try {
2554
2555
  let e = this._getState().sheetRefsVisible;
2555
- if (t !== T.Visibility.Visible && e.length === 1 && e[0].id === r.id) throw new f(s("error.workbook.sheetOne"));
2556
+ if (t !== R.Visibility.Visible && e.length === 1 && e[0].id === r.id) throw new f(s("error.workbook.sheetOne"));
2556
2557
  let a = {
2557
2558
  ...r,
2558
2559
  visibility: t
2559
2560
  }, c = -1;
2560
- t !== T.Visibility.Visible && (c = this._getOffsetForId(r.id, e)), i = this._updateSheetRef(r, a).sheet, t !== T.Visibility.Visible && this._adjustRemoveSelectionIfRequired(c, r.id), this._adjustSheetNamesIfRequired(), o.commit(n);
2561
+ t !== R.Visibility.Visible && (c = this._getOffsetForId(r.id, e)), i = this._updateSheetRef(r, a).sheet, t !== R.Visibility.Visible && this._adjustRemoveSelectionIfRequired(c, r.id), this._adjustSheetNamesIfRequired(), o.commit(n);
2561
2562
  } catch (e) {
2562
2563
  throw o.rollback(), e;
2563
2564
  }
@@ -2596,9 +2597,9 @@ var Wt, $ = class e extends Me {
2596
2597
  _setSelectedSheet(e) {
2597
2598
  if (this._closed) throw Error(s("error.workbook.modelClosed"));
2598
2599
  let t = this._getSheetRef(e);
2599
- if (!t) throw new f(Z(e));
2600
+ if (!t) throw new f(X(e));
2600
2601
  let n = null;
2601
- return t.visibility !== T.Visibility.Visible && this._setSheetVisibility(t, T.Visibility.Visible), this._view.setActiveSheetId(t.id), n = t.sheet, n;
2602
+ return t.visibility !== R.Visibility.Visible && this._setSheetVisibility(t, R.Visibility.Visible), this._view.setActiveSheetId(t.id), n = t.sheet, n;
2602
2603
  }
2603
2604
  getProtection() {
2604
2605
  return this._protection;
@@ -2666,7 +2667,7 @@ var Wt, $ = class e extends Me {
2666
2667
  }
2667
2668
  _fromJSON(e) {
2668
2669
  if (this._emitter.notify("onBeforeLoad", { params: e }), this._initState(), !e.sheets || e.sheets.length === 0) throw new f(s("error.workbook.sheetOne"));
2669
- e.theme && (this._theme = new y(e.theme), this._styles.setTheme(this._theme));
2670
+ e.theme && (this._theme = new v(e.theme), this._styles.setTheme(this._theme));
2670
2671
  let t = this._strings.beginPersist(), n = this._resources.beginPersist(), r = this._styles.beginPersist();
2671
2672
  try {
2672
2673
  t.fromJSON(e.strings), n.fromJSON(e.resources), r.fromJSON(e.styles), e.date1904 && (this._isDate1904 = !0), e.locale && (this._locale = e.locale), e.localeOverrides && (this._localeOverrides = e.localeOverrides), e.view ||= {};
@@ -2674,12 +2675,12 @@ var Wt, $ = class e extends Me {
2674
2675
  o !== null && (o = Math.min(Math.max(0, o), a - 1));
2675
2676
  let s = null, c = null, l = -1;
2676
2677
  for (let e = 0; e < a; e++) {
2677
- let t = i[e], n = t.visibility || T.Visibility.Visible, r = e;
2678
- c = r, n === T.Visibility.Visible ? (l++, s === null && (s = r)) : o !== null && o === r && (o = null), this._createSheet(r, t.name, n, l, t.sheet);
2678
+ let t = i[e], n = t.visibility || R.Visibility.Visible, r = e;
2679
+ c = r, n === R.Visibility.Visible ? (l++, s === null && (s = r)) : o !== null && o === r && (o = null), this._createSheet(r, t.name, n, l, t.sheet);
2679
2680
  }
2680
- this._updateState({ lastId: c }), e.view.activeSheetId = o ?? s, this.setView(new Pt({ json: e.view })), this._adjustSheetNamesIfRequired(), this._listenerProtection?.();
2681
+ this._updateState({ lastId: c }), e.view.activeSheetId = o ?? s, this.setView(new Ft({ json: e.view })), this._adjustSheetNamesIfRequired(), this._listenerProtection?.();
2681
2682
  let u = this;
2682
- this._protection = new It(e?.protection, this._options?.readonly), this._listenerProtection = this._protection.addListeners({ onChange: (e) => {
2683
+ this._protection = new Lt(e?.protection, this._options?.readonly), this._listenerProtection = this._protection.addListeners({ onChange: (e) => {
2683
2684
  u._emitter.notify("onProtectionChange", { source: e });
2684
2685
  } }), e.scripts && (this._scripts = this._createScripts(e.scripts)), this._emitter.notify("onLoad");
2685
2686
  } finally {
@@ -2688,14 +2689,14 @@ var Wt, $ = class e extends Me {
2688
2689
  }
2689
2690
  _createScripts(e) {
2690
2691
  let t = this;
2691
- return new At({
2692
+ return new jt({
2692
2693
  transactions: this._transactions,
2693
2694
  json: e,
2694
2695
  workbook: t,
2695
2696
  getBuiltInFunctions: () => t._calculation?.getFunctions(),
2696
2697
  onAdd: (e, n) => {
2697
2698
  let r = t._calculation;
2698
- r.getStatus() !== Re.Status.Off && r.start().then(async () => {
2699
+ r.getStatus() !== y.Status.Off && r.start().then(async () => {
2699
2700
  let e = n.getFunctions().getItems({ type: "formula" }), t = e.length;
2700
2701
  for (let n = 0; n < t; n++) {
2701
2702
  let t = e[n];
@@ -2731,7 +2732,7 @@ var Wt, $ = class e extends Me {
2731
2732
  name: r.name,
2732
2733
  sheet: a
2733
2734
  };
2734
- r.visibility === T.Visibility.Visible ? l === null && (l = i) : o.visibility = r.visibility, r.id === s && (c = i), t.sheets.push(o);
2735
+ r.visibility === R.Visibility.Visible ? l === null && (l = i) : o.visibility = r.visibility, r.id === s && (c = i), t.sheets.push(o);
2735
2736
  }
2736
2737
  if (!n) {
2737
2738
  let e = o.toJSON();
@@ -2739,17 +2740,19 @@ var Wt, $ = class e extends Me {
2739
2740
  }
2740
2741
  let m = this.getProtection().toJSON();
2741
2742
  m && (t.protection = m);
2742
- let h = await i.toJSONAsync();
2743
- h && h.length > 0 && (t.strings = h);
2744
- let g = this._externalBooks.toJSON();
2745
- if (g && (t.externalBooks = g), !r) {
2743
+ let h = this._calculation.toJSON();
2744
+ Object.keys(h).length > 0 && (t.calc = h);
2745
+ let g = await i.toJSONAsync();
2746
+ g && g.length > 0 && (t.strings = g);
2747
+ let _ = this._externalBooks.toJSON();
2748
+ if (_ && (t.externalBooks = _), !r) {
2746
2749
  let e = await a.toJSONAsync();
2747
2750
  e && e.length > 0 && (t.resources = e);
2748
2751
  }
2749
- let _ = this._calculation.getNamedFormulas().toJSON();
2750
- _ && _.length > 0 && (t.names = _);
2751
- let v = this._view.toJSON();
2752
- v && (c === l ? delete v.activeSheetId : v.activeSheetId = c, Object.keys(v).length > 0 && (t.view = v));
2752
+ let v = this._calculation.getNamedFormulas().toJSON();
2753
+ v && v.length > 0 && (t.names = v);
2754
+ let y = this._view.toJSON();
2755
+ y && (c === l ? delete y.activeSheetId : y.activeSheetId = c, Object.keys(y).length > 0 && (t.view = y));
2753
2756
  } finally {
2754
2757
  o.endPersist(), r || a.endPersist(), i.endPersist();
2755
2758
  }
@@ -2894,7 +2897,7 @@ var Wt, $ = class e extends Me {
2894
2897
  }
2895
2898
  }, Yt = (e) => !!e && typeof e == "object" && typeof e.getPath == "function" && typeof e.canWrite == "function", Xt = new class {
2896
2899
  constructor() {
2897
- this._setInstalled = /* @__PURE__ */ new WeakSet(), this._backingStore = null, this._emitter = new k(this), this._registry = new Jt(), this._defaultStore = new Ye(() => this.getWriteFormats(), () => this.getReadFormats());
2900
+ this._setInstalled = /* @__PURE__ */ new WeakSet(), this._backingStore = null, this._emitter = new x(this), this._registry = new Jt(), this._defaultStore = new Ye(() => this.getWriteFormats(), () => this.getReadFormats());
2898
2901
  }
2899
2902
  getBackingStore() {
2900
2903
  return this._backingStore ?? this._defaultStore;
@@ -3054,7 +3057,7 @@ var Wt, $ = class e extends Me {
3054
3057
  throw new a(e ? s("error.io.passwordRequiredSave", { name: e }) : s("error.io.passwordRequiredSaveUnnamed"));
3055
3058
  }
3056
3059
  } else if (g !== null && (_ = await this._registry.getEncryption(d), !_)) throw new f(s("error.io.encryptionUnavailable"));
3057
- let v = `${l.getName() ?? s("workbook.defaultName")}.${o.exts[0]}`, y = r?.progress, b = !1, x = this, S = null, ee = {
3060
+ let v = `${l.getName() ?? s("workbook.defaultName")}.${o.exts[0]}`, y = r?.progress, b = !1, x = this, S = null, C = {
3058
3061
  workbook: e,
3059
3062
  format: o,
3060
3063
  origin: l,
@@ -3067,29 +3070,29 @@ var Wt, $ = class e extends Me {
3067
3070
  let n = t ? (await x._registry.getWriteFormats({ search: t }))[0] ?? o : o, i = await x._writeArrayBuffer(e, n, r);
3068
3071
  return _ ? _.encode(i, g) : i;
3069
3072
  }
3070
- }, C = null;
3073
+ }, w = null;
3071
3074
  try {
3072
3075
  let t = this.getBackingStore();
3073
3076
  if (!t.write) throw Error("The active backing store is read-only (no write implementation).");
3074
- if (C = await t.write(ee), C) {
3075
- g !== void 0 && C instanceof z && (C.setPassword(g), C.update({ encryption: _ ? _.key : null }));
3077
+ if (w = await t.write(C), w) {
3078
+ g !== void 0 && w instanceof z && (w.setPassword(g), w.update({ encryption: _ ? _.key : null }));
3076
3079
  let t = S ?? e.getTransactions?.()?.getCurrentCommit() ?? null;
3077
3080
  this._emitter.notify("onWrite", {
3078
3081
  params: {
3079
3082
  workbook: e,
3080
- origin: C,
3083
+ origin: w,
3081
3084
  commitId: t?.getId() ?? null,
3082
3085
  save: c
3083
3086
  },
3084
3087
  transactional: !1
3085
3088
  });
3086
3089
  }
3087
- y?.onComplete && await Promise.resolve(y.onComplete(C));
3090
+ y?.onComplete && await Promise.resolve(y.onComplete(w));
3088
3091
  } catch (e) {
3089
3092
  let t = e instanceof Error ? e : Error(String(e));
3090
3093
  throw y?.onError && await Promise.resolve(y.onError(t)), y?.onComplete && await Promise.resolve(y.onComplete(null)), t instanceof f ? t : Error(s("error.io.writeFailed", { reason: t.message }), { cause: e });
3091
3094
  }
3092
- return C;
3095
+ return w;
3093
3096
  }
3094
3097
  async writeAs(e, t, n) {
3095
3098
  if (!t) throw Error("A target must be provided for writeAs (use write(workbook) for a plain save).");
@@ -3136,7 +3139,7 @@ var Wt, $ = class e extends Me {
3136
3139
  async _readArrayBuffer(e, t, n) {
3137
3140
  if (!e) throw Error("ArrayBuffer must be specified.");
3138
3141
  if (!t) throw Error("format must be specified.");
3139
- if (e.byteLength === 0) return new Kt(n?.createWorkbookOptions);
3142
+ if (e.byteLength === 0) return new $(n?.createWorkbookOptions);
3140
3143
  let r, i = t.handler;
3141
3144
  if (!i) throw Error(`Unable to resolve a read handler for '${t.key}'.`);
3142
3145
  try {
@@ -3159,13 +3162,13 @@ var Wt, $ = class e extends Me {
3159
3162
  ].map((e) => ({
3160
3163
  suffix: e,
3161
3164
  place: (e, t) => t ? `${t}/${e}` : e
3162
- })), Lt ||= {}, Rt ||= {};
3165
+ })), Rt ||= {}, zt ||= {};
3163
3166
  var Zt = h({ nowWithPrecision: () => Qt });
3164
3167
  function Qt(e = 6e4) {
3165
3168
  return new Date(Math.floor(Date.now() / e) * e);
3166
3169
  }
3167
- Wt ||= {};
3168
- var $t = class extends Ce {
3170
+ Gt ||= {};
3171
+ var $t = class extends Re {
3169
3172
  constructor(e) {
3170
3173
  super(e);
3171
3174
  }
@@ -3182,4 +3185,4 @@ var $t = class extends Ce {
3182
3185
  }, super._initializeOptions(e);
3183
3186
  }
3184
3187
  };
3185
- export { Ke as _, yt as a, at as c, ct as d, Nt as f, xt as g, et as h, G as i, qe as l, Kt as m, W as n, q as o, Mt as p, $t as r, Xt as s, Zt as t, z as u };
3188
+ export { Ke as _, bt as a, ot as c, lt as d, Pt as f, St as g, et as h, W as i, qe as l, $ as m, U as n, K as o, Nt as p, $t as r, Xt as s, Zt as t, z as u };