@sheetxl/studio-vanilla 0.7.17 → 0.7.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (192) hide show
  1. package/browser/cjs/{CqQ-Ghs12y1q6QxY.cjs → 6G3wZkFD7xZzSZ54.cjs} +1 -1
  2. package/browser/cjs/{Df550p_OyCcGYwdV.cjs → 8GtVZ0BXzEqDySKa.cjs} +1 -1
  3. package/browser/cjs/{DfgitTR6RekXoIxp.cjs → AUq5HkyXu5Li7hmX.cjs} +2 -2
  4. package/browser/cjs/{C61MOdhGMszg1C2U.cjs → B8OfgzVKDYm2gwv2.cjs} +2 -2
  5. package/browser/cjs/{DlLE_Nt_2RfEsi1R.cjs → BJuDAGGLWB2yeOFQ.cjs} +1 -1
  6. package/browser/cjs/{DYZCCgXdxrwFqk6H.cjs → BOdBlrTync7JSM9V.cjs} +2 -2
  7. package/browser/cjs/{BUoCeZCjrMUTZVmg.cjs → BZyCcU37CRRUujVa.cjs} +1 -1
  8. package/browser/cjs/{Cz4OiBFPd7Yw_Acp.cjs → BlLQA3N-dVogR5AL.cjs} +4 -4
  9. package/browser/cjs/{CcMGshOE5d1m-1f8.cjs → BmWKngDPUtGx2oyg.cjs} +1 -1
  10. package/browser/cjs/{DyJfDZ8fsBLfMsm2.cjs → BpfpP1auSfKYKi3y.cjs} +4 -4
  11. package/browser/cjs/Bt9xFGGN34d5HCKh.cjs +12 -0
  12. package/browser/cjs/{moxrtL1Unv4EfhfP.cjs → BtnAFMq0FY6QcR9q.cjs} +1 -1
  13. package/browser/cjs/{B4Ljh1SX5IaGkIGX.cjs → By09RPB6-Zs7cCC8.cjs} +1 -1
  14. package/browser/cjs/{BKy2QI_dqY2u6-VR.cjs → C4EyjRvmNPSYfzrk.cjs} +3 -3
  15. package/browser/cjs/{D63UluXUHli4tPea.cjs → C4TAC3X7Fr4jTe35.cjs} +1 -1
  16. package/browser/cjs/{uPv2EqsX1ASXnEBq.cjs → C9gGCv5W6jo9lenL.cjs} +240 -236
  17. package/browser/cjs/{7wPFcItyHeByUtaC.cjs → CADzueR-wE3wLlbX.cjs} +1 -1
  18. package/browser/cjs/{BXoogJgfvlBdGjcy.cjs → CDnd06N_hxKvkkq-.cjs} +1 -1
  19. package/browser/cjs/{C_dMA8qMOlFifojV.cjs → CPbZWiQMVudU1PmI.cjs} +1 -1
  20. package/browser/cjs/{QkU8n6EvDcxQgLhb.cjs → CXPURayE9T5c1xyI.cjs} +3 -3
  21. package/browser/cjs/{C57_RaSyTwNsLDLn.cjs → Cc_X2-Rt58m9MOa7.cjs} +6 -6
  22. package/browser/cjs/{BxEuVP9ucIWFkTqo.cjs → CeZTEpALgbyMb2Zl.cjs} +2 -2
  23. package/browser/cjs/{1tRhHl303E8Hkn92.cjs → CgaWa15NfhIQZXWf.cjs} +2 -2
  24. package/browser/cjs/ChnistDO497Y61ua.cjs +6 -0
  25. package/browser/cjs/{oHQTaFi48ojf1BCO.cjs → Ck7kT3K8178HStPr.cjs} +19 -19
  26. package/browser/cjs/{D0_IINTrfXlXfxER.cjs → Cmbk7RIr3oJ8_crB.cjs} +1 -1
  27. package/browser/cjs/{CHrOzHV0mkXxphBw.cjs → Cn0DhbMbL__w-fzz.cjs} +2 -2
  28. package/browser/cjs/{pNhPF__fvekXJqRB.cjs → CuT8iDL2TswRLUjr.cjs} +1 -1
  29. package/browser/cjs/{G-QjJ2QtlB1ifjtA.cjs → D1I1a4lhD7mIEeFT.cjs} +1 -1
  30. package/browser/cjs/{bbKVKsorljm1bnzm.cjs → DAV0XTQLfkITQOWv.cjs} +1 -1
  31. package/browser/cjs/{nZp9cR-GUPKzhRZy.cjs → DHitw_grB793KQEL.cjs} +1 -1
  32. package/browser/cjs/{BW6iAFSygqnaIrpk.cjs → DJ7uFtZBeUszjiLC.cjs} +1 -1
  33. package/browser/cjs/{CYEVzTL4XEeM2iSw.cjs → DLPMsc0csv1wYnSH.cjs} +1 -1
  34. package/browser/cjs/{k5XY8CCJ-UHv--Zx.cjs → DM-Mq1eShkzQbF2P.cjs} +2 -2
  35. package/browser/cjs/{aEUt2dyQJHwNzcZd.cjs → DMAGeMFYLhrKvYq0.cjs} +1 -1
  36. package/browser/cjs/{D6Eb2t4J5DXL45oX.cjs → DMC4eifs4iwfHs44.cjs} +2 -2
  37. package/browser/cjs/{B9qgit8PjHJuyYOp.cjs → DQQpQX6GqGFZEnCJ.cjs} +1 -1
  38. package/browser/cjs/{B3W1PqoqSxsvCJnt.cjs → DRVFzMhcQXKbpKm7.cjs} +2 -2
  39. package/browser/cjs/{BqSFxp6kFYBlkmS3.cjs → DWoGF8C_C7EdaCNx.cjs} +2 -2
  40. package/browser/cjs/{uSvdH1mCWlg3dNFu.cjs → Dgc5q8UlfJR_yG-D.cjs} +1 -1
  41. package/browser/cjs/{Vrfwy0e6SweDE7FV.cjs → DjBTSnWMmc_2AVQB.cjs} +2 -2
  42. package/browser/cjs/{D6_ZKruhsxbB1XZ1.cjs → DwLb1jP6dznc2mZ0.cjs} +2 -2
  43. package/browser/cjs/{mvvx-Old8nlHmKS_.cjs → DwleRZYf6uvRQcLl.cjs} +1 -1
  44. package/browser/cjs/{DtNVqHp3Dnl0KJ8v.cjs → DxKSTB52bepxFYOp.cjs} +1 -1
  45. package/browser/cjs/{Cs5r68wlb5QQB-n6.cjs → DxYC9TawNFEEcLKr.cjs} +3 -3
  46. package/browser/cjs/{BE6S5mD2X6XYhB73.cjs → IINJgiLeuIbuioD5.cjs} +1 -1
  47. package/browser/cjs/{DKY6Y9cdzHn7BZ6_.cjs → QxDDrOjt_hMD6DtL.cjs} +1 -1
  48. package/browser/cjs/{-yNm4nZGW6oBCNWD.cjs → WTVrAt5KZ4GRSZea.cjs} +1 -1
  49. package/browser/cjs/a1u892SuaZ0Yzflb.cjs +327 -0
  50. package/browser/cjs/{CfsUAQKIJfZVfpqY.cjs → diRdUGh06Skr8P66.cjs} +2 -2
  51. package/browser/cjs/{BDrmEZxdgPIWjAqS.cjs → dufuxo2tie8vlSOn.cjs} +1 -1
  52. package/browser/cjs/index.cjs +2 -2
  53. package/browser/cjs/{G8sgs7T7l4lEGGAK.cjs → jCI_40ihd3wtnnNj.cjs} +2 -2
  54. package/browser/cjs/{CJOyjFElORFuUIdv.cjs → pfYzABL5F_j4WxXE.cjs} +2 -2
  55. package/browser/cjs/{pWvj2l2ScVN9bGc8.cjs → sBolZJI4xHg2O5JO.cjs} +1 -1
  56. package/browser/cjs/{jlt5U7AG4nC1c7oH.cjs → sgLOri9jDZrGC3lo.cjs} +1 -1
  57. package/browser/cjs/{BDI2X-uxO9RqgVcA.cjs → wbNq_okaMH-3Il1R.cjs} +1 -1
  58. package/browser/cjs/{DAZYE-uQx0b5Dc0g.cjs → wgVrsjCw5o1VkBiI.cjs} +1 -1
  59. package/browser/cjs/{CrFB5S_hHBLEOhWe.cjs → xA6O-vgZXdOuV_HR.cjs} +1 -1
  60. package/browser/esm/{De8PFvFXtxsbABmk.mjs → 1ggFE3isqO2V-CIX.mjs} +2 -2
  61. package/browser/esm/{eIbYx1yYfg3hhocM.mjs → 6TSgBZHjfUk28lWJ.mjs} +3 -3
  62. package/{cdn/assets/DmEn4HUVOzbZjsSk.js → browser/esm/AIs60voJQ9fkBbpa.mjs} +1 -1
  63. package/{cdn/assets/DAnK8hVf7ME_llxx.js → browser/esm/B47w7PUveixXKjV4.mjs} +1 -1
  64. package/{cdn/assets/D2erHtC_3enJU853.js → browser/esm/B4NeWRsWibcr2UIo.mjs} +1 -1
  65. package/{cdn/assets/CHSNxi2e3P1I018K.js → browser/esm/BB41DCywf-4x6Wa5.mjs} +1 -1
  66. package/browser/esm/{YIbtKjVM1nOvMZvP.mjs → BFTIF9N4iDUtv0cL.mjs} +1 -1
  67. package/browser/esm/{BcG6cGAs6SCKT2oq.mjs → BOQa4qYE5yX3-RWz.mjs} +1 -1
  68. package/browser/esm/{2nmuU0mX4kghWbEO.mjs → BRk-4nWwNObq2XBH.mjs} +2 -2
  69. package/browser/esm/{BeUphXMXj6wR4ELr.mjs → BU5xb3-gVi-Z8bxG.mjs} +6 -6
  70. package/{cdn/assets/CbujxmVSzwTt_RHu.js → browser/esm/BXFpZZjLpDAYfij9.mjs} +1 -1
  71. package/browser/esm/{DGVQdAEWtlwON-QH.mjs → BY7XJvgJiR8FIIGA.mjs} +2 -2
  72. package/browser/esm/{CeUu1iTV_1cWEzfR.mjs → BZ9u0I2KrR8iX95X.mjs} +1 -1
  73. package/browser/esm/{C4heXWzPixq--HbZ.mjs → B_ZmJ2eJe49Jj5qv.mjs} +2 -2
  74. package/{cdn/assets/CjYCxM1grAhz8MF-.js → browser/esm/BcWyKhPi9t85pwd7.mjs} +1 -1
  75. package/browser/esm/{DaJvsWdDzhPO_KIB.mjs → BcqXlf4BN5a-yreW.mjs} +1 -1
  76. package/browser/esm/{hlZWtfgr0-z0tiwM.mjs → BiDvReQjtqGsrEcG.mjs} +1 -1
  77. package/browser/esm/{BIXlt1qCRcCQqrsR.mjs → BrCiF7ljEOZ0j6mo.mjs} +1 -1
  78. package/browser/esm/{-Lv1TANUNicVCyny.mjs → Bug-PVDnrmc1QMPE.mjs} +2 -2
  79. package/{cdn/assets/DOVHwS9l7XB0D112.js → browser/esm/Bwjgq8hdAFOoPahG.mjs} +1 -1
  80. package/browser/esm/{BDkW7UhKjVpgiLQm.mjs → CGfVwWucPraqqLYZ.mjs} +2 -2
  81. package/browser/esm/{B1644qru3veN3T5N.mjs → CI-oHEkHOo3xFtoH.mjs} +1 -1
  82. package/browser/esm/{Cb704H2clLYJVxU2.mjs → CLACT9f5pxngZ9fd.mjs} +1 -1
  83. package/browser/esm/{CDMMTs9q-mk9qhOn.mjs → CP0E_WsGdXVqPokU.mjs} +1 -1
  84. package/browser/esm/{C5ufMjxY0KI2t1Gq.mjs → CTHHoNZxuqDqb7_d.mjs} +12 -12
  85. package/browser/esm/{DWSx2x2G37z5aM1G.mjs → CaqdUKlNnd7dmszx.mjs} +3 -3
  86. package/browser/esm/{DlsPnPOwcNdbXstf.mjs → Cculdw1pkcnbNSGA.mjs} +15860 -15823
  87. package/browser/esm/{DjdhT3BrIwhOORnu.mjs → CfFbWTa-L5WMWTCO.mjs} +1 -1
  88. package/browser/esm/{hajtbAiDiQCKDskz.mjs → Cho_qEL7pbEjiB3T.mjs} +1 -1
  89. package/{cdn/assets/CSreUySDfbsDpQe5.js → browser/esm/CoPM3wTh9Ote6q-H.mjs} +1 -1
  90. package/browser/esm/{B_mQxm5atVJx4CYN.mjs → Cq55zKkr5eBdCfZF.mjs} +49 -49
  91. package/browser/esm/{5jfaCJ2A21vE6L3j.mjs → D4ij20XhEjUYIZPu.mjs} +1 -1
  92. package/browser/esm/{DhfmpKK0j4zwjrFw.mjs → D5--2_VUyOrMtmcB.mjs} +12 -12
  93. package/browser/esm/{Bp_7px9kGtrnUsTb.mjs → D5A5fnXYvAUdPRaT.mjs} +1 -1
  94. package/browser/esm/{BXZXRiaWfhtpKMVk.mjs → D7Z1zdw-RLVN-3Ls.mjs} +1 -1
  95. package/browser/esm/{eEBVB8oAzikfUmDV.mjs → DEMDGmo5kSRvDnHp.mjs} +240 -236
  96. package/{cdn/assets/KTk6BV5FEQiYRj_u.js → browser/esm/DK2KWhKNd93kl2kE.mjs} +1 -1
  97. package/{cdn/assets/B852x-CAFndzl1Pn.js → browser/esm/DRn3C3MLnZ-KMH4g.mjs} +1 -1
  98. package/browser/esm/{Rvb4UIwb_H9QhRrb.mjs → DWzi9GvIPVFueBJ7.mjs} +1 -1
  99. package/{cdn/assets/H7eht2HhDaexkvUx.js → browser/esm/DYN0490BjV0r4F44.mjs} +1 -1
  100. package/browser/esm/{BtR8V5RjbS9dJ33d.mjs → DleO8qAx2LgVFtsk.mjs} +1 -1
  101. package/{cdn/assets/D8tj5ehHlhzfheNn.js → browser/esm/Dmfr2PKo4XMQUec_.mjs} +1 -1
  102. package/browser/esm/{1d7Aft4vQaznJBBw.mjs → DwJJCEZYO9uHPhrW.mjs} +8 -8
  103. package/{cdn/assets/Bvicutnw4ljOuDH0.js → browser/esm/DyRuNVuHvHCjoVW1.mjs} +1 -1
  104. package/{cdn/assets/BPx7oySRllCMbzuD.js → browser/esm/J-isbDj53wmwpAy-.mjs} +1 -1
  105. package/browser/esm/L_l8BGjzdmT2Wme8.mjs +48 -0
  106. package/browser/esm/{D9UwsCo-ppUuUVR_.mjs → SnpevHKgGtEDdXnc.mjs} +5 -5
  107. package/browser/esm/{welsuZV-uT5GqtOR.mjs → StmZcJM9ToxqDuz5.mjs} +9 -9
  108. package/browser/esm/{C8tIYj16xuImSN-9.mjs → TV6DBYoKaf9hRfQ7.mjs} +2 -2
  109. package/browser/esm/{CSqQov357rbKyWqy.mjs → WxXfcvzIJGSwcDyC.mjs} +1 -1
  110. package/browser/esm/{C0mYBVeD88eyNteC.mjs → _Q2jMl7Gd_ehoRoV.mjs} +4 -4
  111. package/browser/esm/{CfXL0PI_uELS5881.mjs → a3frdoXMJG4a-QQP.mjs} +8 -8
  112. package/browser/esm/{DYQxeskdOPHye_nf.mjs → iHsQFFNfHlNFaOGy.mjs} +11 -11
  113. package/browser/esm/index.mjs +2 -2
  114. package/browser/esm/{9YCLdoqEoVsTaLW1.mjs → oArxBwfS8YjRFtCD.mjs} +34 -34
  115. package/{cdn/assets/BEzbLdDUgWgWjutq.js → browser/esm/qQ6f7bLStjj7TTzF.mjs} +1 -1
  116. package/browser/esm/{DDgjJDjkrt3iMr3H.mjs → tYJT2ABoxQBj433T.mjs} +9 -9
  117. package/browser/esm/{B33Rpu-kjzxmYcoc.mjs → ujzQD_ZRSqkq2LLT.mjs} +3 -3
  118. package/browser/esm/{Wv9k21i-bgCAr9Jt.mjs → zXHgV5kkdvNl3ho-.mjs} +33 -33
  119. package/{browser/esm/DmEn4HUVOzbZjsSk.mjs → cdn/assets/AIs60voJQ9fkBbpa.js} +1 -1
  120. package/cdn/assets/{A7agAc3eTsrqP7Qr.js → B2s4XDzxT0wMQgfj.js} +3 -3
  121. package/{browser/esm/DAnK8hVf7ME_llxx.mjs → cdn/assets/B47w7PUveixXKjV4.js} +1 -1
  122. package/{browser/esm/D2erHtC_3enJU853.mjs → cdn/assets/B4NeWRsWibcr2UIo.js} +1 -1
  123. package/{browser/esm/CHSNxi2e3P1I018K.mjs → cdn/assets/BB41DCywf-4x6Wa5.js} +1 -1
  124. package/cdn/assets/{1sfmqGUYA777Xk9y.js → BDN8HrQBmRQYAITJ.js} +2 -2
  125. package/cdn/assets/{YIbtKjVM1nOvMZvP.js → BFTIF9N4iDUtv0cL.js} +1 -1
  126. package/cdn/assets/{BcG6cGAs6SCKT2oq.js → BOQa4qYE5yX3-RWz.js} +1 -1
  127. package/cdn/assets/{DW0DCdCA-Yz3t9mF.js → BRhRAKDmewivuq2-.js} +240 -236
  128. package/cdn/assets/{BtUkR7Puu4tMW6y6.js → BSZNfIJisYoJMneC.js} +10 -10
  129. package/{browser/esm/CbujxmVSzwTt_RHu.mjs → cdn/assets/BXFpZZjLpDAYfij9.js} +1 -1
  130. package/cdn/assets/{CeUu1iTV_1cWEzfR.js → BZ9u0I2KrR8iX95X.js} +1 -1
  131. package/cdn/assets/{D7GOwlSXDP3fd_yH.js → BaCJCBTNoZDULFZk.js} +4 -4
  132. package/{browser/esm/CjYCxM1grAhz8MF-.mjs → cdn/assets/BcWyKhPi9t85pwd7.js} +1 -1
  133. package/cdn/assets/{DaJvsWdDzhPO_KIB.js → BcqXlf4BN5a-yreW.js} +1 -1
  134. package/cdn/assets/{B0Nii2H246KHPawx.js → BdDKDfNHY38boXN8.js} +5 -5
  135. package/cdn/assets/{hlZWtfgr0-z0tiwM.js → BiDvReQjtqGsrEcG.js} +1 -1
  136. package/cdn/assets/{D0Q4vwBbwR62z8I3.js → BimqgxoRSQBjywh0.js} +7 -7
  137. package/cdn/assets/{BIXlt1qCRcCQqrsR.js → BrCiF7ljEOZ0j6mo.js} +1 -1
  138. package/cdn/assets/{DfkdRvK69HToiXoA.js → BsEG1j-6LL-ZHRra.js} +4 -4
  139. package/{browser/esm/DOVHwS9l7XB0D112.mjs → cdn/assets/Bwjgq8hdAFOoPahG.js} +1 -1
  140. package/cdn/assets/{BcZyRqrwdUSmE_J0.js → BzcBAhihXimz7Pm3.js} +2 -2
  141. package/cdn/assets/{CNqQdQQbMwsHaClt.js → CENqAGzgzPx94ePo.js} +1 -1
  142. package/cdn/assets/{CYiVmEg8u-gjkWca.js → CGkY7ZPDlb_NVT0w.js} +2 -2
  143. package/cdn/assets/CHcdhFuhL3bUUL0-.js +41 -0
  144. package/cdn/assets/{B1644qru3veN3T5N.js → CI-oHEkHOo3xFtoH.js} +1 -1
  145. package/cdn/assets/{Cb704H2clLYJVxU2.js → CLACT9f5pxngZ9fd.js} +1 -1
  146. package/cdn/assets/{CDMMTs9q-mk9qhOn.js → CP0E_WsGdXVqPokU.js} +1 -1
  147. package/cdn/assets/{DpzQd_HDbcmhJkli.js → CQhLsrkjwj_0M21G.js} +3 -3
  148. package/cdn/assets/{BiDnChpXWqg41lNb.js → CZzh01u6s-0ONPqW.js} +1 -1
  149. package/cdn/assets/{DjdhT3BrIwhOORnu.js → CfFbWTa-L5WMWTCO.js} +1 -1
  150. package/cdn/assets/{hajtbAiDiQCKDskz.js → Cho_qEL7pbEjiB3T.js} +1 -1
  151. package/{browser/esm/CSreUySDfbsDpQe5.mjs → cdn/assets/CoPM3wTh9Ote6q-H.js} +1 -1
  152. package/cdn/assets/{Dn_feNW7bNmSup19.js → Coc65lX6IvJKXkAS.js} +16322 -16285
  153. package/cdn/assets/{D4uvuiZcnrixFxe7.js → D1eSJaVgUdtcXO0c.js} +2 -2
  154. package/cdn/assets/{Oz5TCDin3n5hZ6HZ.js → D2SNpr52mALnvU-6.js} +10 -10
  155. package/cdn/assets/{5jfaCJ2A21vE6L3j.js → D4ij20XhEjUYIZPu.js} +1 -1
  156. package/cdn/assets/{Bp_7px9kGtrnUsTb.js → D5A5fnXYvAUdPRaT.js} +1 -1
  157. package/cdn/assets/{BXZXRiaWfhtpKMVk.js → D7Z1zdw-RLVN-3Ls.js} +1 -1
  158. package/cdn/assets/{ClZu4lGWP2KkCF_D.js → D9lsoZLyNT3YnRKD.js} +12 -12
  159. package/cdn/assets/{DZ5n_bHdPFfYqHOM.js → DJfD1Of7XnIO99Vu.js} +3 -3
  160. package/{browser/esm/KTk6BV5FEQiYRj_u.mjs → cdn/assets/DK2KWhKNd93kl2kE.js} +1 -1
  161. package/{browser/esm/B852x-CAFndzl1Pn.mjs → cdn/assets/DRn3C3MLnZ-KMH4g.js} +1 -1
  162. package/cdn/assets/{D60NeKIQnzvT49Vu.js → DUU-mtqgoPobErkk.js} +16 -16
  163. package/cdn/assets/{Rvb4UIwb_H9QhRrb.js → DWzi9GvIPVFueBJ7.js} +1 -1
  164. package/{browser/esm/H7eht2HhDaexkvUx.mjs → cdn/assets/DYN0490BjV0r4F44.js} +1 -1
  165. package/cdn/assets/{C4Empjom6ZoRDo_o.js → DdMTBEKdTxBEC0CH.js} +13 -13
  166. package/cdn/assets/{CxCKTE1Jf5koh9hk.js → DgrX7Y9SiY3X7gOp.js} +6 -6
  167. package/cdn/assets/{BpSHQqYfSGgEOF_j.js → DjRlhCDP79COT8cu.js} +4 -4
  168. package/{browser/esm/D8tj5ehHlhzfheNn.mjs → cdn/assets/Dmfr2PKo4XMQUec_.js} +1 -1
  169. package/cdn/assets/{DdeSfSM3gLzpMLBO.js → DoSfwMyLmLRTw_Bd.js} +2 -2
  170. package/cdn/assets/{CJ9LF_V3xRMb0gUd.js → DpbOFt0S00FmxGYt.js} +2 -2
  171. package/{browser/esm/Bvicutnw4ljOuDH0.mjs → cdn/assets/DyRuNVuHvHCjoVW1.js} +1 -1
  172. package/cdn/assets/{b_km3ns3cOyV9TWu.js → GsXdWfv7Tzy6DDvJ.js} +3 -3
  173. package/{browser/esm/BPx7oySRllCMbzuD.mjs → cdn/assets/J-isbDj53wmwpAy-.js} +1 -1
  174. package/cdn/assets/{BqIxBsOQ_Mjm9Qfs.js → J4iDL0_0TW6Jvv_w.js} +3 -3
  175. package/cdn/assets/{DBDZCz98Rpa3_dGk.js → LcYBd92cdUPlYyVs.js} +49 -49
  176. package/cdn/assets/{DiNBHfEVqxyPFbPH.js → S7tnZ2JSgeqIU2Ik.js} +2 -2
  177. package/cdn/assets/{CSqQov357rbKyWqy.js → WxXfcvzIJGSwcDyC.js} +1 -1
  178. package/cdn/assets/{DJIupEi1yOa-zI6F.js → ZohbbPReZ8R6DXT0.js} +13 -13
  179. package/cdn/assets/{oxOOv9uPE2sfO6Y5.js → aVUHn41Xjkw01VZY.js} +2 -2
  180. package/cdn/assets/{Ce0flzxPSvcAkcQn.js → i_jXmsODYQjjPYrt.js} +33 -33
  181. package/cdn/assets/iher43-Ku7eJKDlh.js +48 -0
  182. package/{browser/esm/BEzbLdDUgWgWjutq.mjs → cdn/assets/qQ6f7bLStjj7TTzF.js} +1 -1
  183. package/cdn/assets/{ByNVXcfFmojElIOz.js → wCxFU2Ml1gPfya0Y.js} +3 -3
  184. package/cdn/index.js +2 -2
  185. package/cdn/loader.js +1 -1
  186. package/package.json +3 -3
  187. package/browser/cjs/B6gPKX91bKPL030F.cjs +0 -12
  188. package/browser/cjs/Bly2wUGVevTrN1mC.cjs +0 -327
  189. package/browser/cjs/nD_bO9BhkQkZENX3.cjs +0 -6
  190. package/browser/esm/DHE7UmNpfh-p40tp.mjs +0 -48
  191. package/cdn/assets/CHWGRV2rkf_9btAc.js +0 -48
  192. package/cdn/assets/DMfsGc2IpANuqJQY.js +0 -41
@@ -1,21 +1,21 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.17
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.19
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
6
  */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});let c=class{constructor(e){this._worker=null,this._nextId=1,this._pendingRequests=new Map,this._workerFactory=e}start(){if(typeof Worker>"u")throw new Error("Web Workers are not supported in this environment.");return this._worker||(this._worker=this._workerFactory(),this._worker.onmessage=e=>{const{id:n,result:t,error:r}=e.data,o=this._pendingRequests.get(n);if(o)if(this._pendingRequests.delete(n),r){const a=new Error(r.message);a.stack=r.stack,r.cause&&(a.cause=r.cause),o.reject(a)}else o.resolve(t)},this._worker.onerror=e=>{console.error("Worker error:",e),this._pendingRequests.forEach(n=>{n.reject(new Error(`Worker failed: ${e.message}`))}),this._pendingRequests.clear(),this._worker=null}),Promise.resolve()}execute(e){if(!this._worker)throw new Error("Worker is not initialized. Call start() first.");const n=this._nextId++;return new Promise((t,r)=>{this._pendingRequests.set(n,{resolve:t,reject:r}),this._worker.postMessage({id:n,params:e})})}terminate(){this._worker&&(this._worker.terminate(),this._worker=null)}};class u{constructor(n){this._onExecute=n}execute(n){return this._onExecute(n)}start(){return Promise.resolve()}terminate(){}}const s=`/**
7
- * @license @sheetxl/primitives - Primitives - Base types for SheetXL functions. - v0.7.17
7
+ * @license @sheetxl/primitives - Primitives - Base types for SheetXL functions. - v0.7.19
8
8
  *
9
9
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
10
10
  * License: The license can be found at https://www.sheetxl.com/license.
11
11
  */
12
12
  const W = { Number: "n", String: "s", Boolean: "b", Error: "e", Null: "z" };
13
- var Re, ie, d;
14
- (ie = Re || (Re = {})).Orientation = { Column: "column", Row: "row" }, ie.Orientations = { ...ie.Orientation, Both: "both" }, ie.Direction = { Up: "up", Down: "down", Left: "left", Right: "right" }, ((e) => {
13
+ var ke, ie, d;
14
+ (ie = ke || (ke = {})).Orientation = { Column: "column", Row: "row" }, ie.Orientations = { ...ie.Orientation, Both: "both" }, ie.Direction = { Up: "up", Down: "down", Left: "left", Right: "right" }, ((e) => {
15
15
  e.Code = { Parse: 0, Null: 1, Div0: 2, Value: 3, Ref: 4, Name: 5, Num: 6, NA: 7, GettingData: 8, Spill: 9, Connect: 10, Blocked: 11, Unknown: 12, Field: 13, Calc: 14, Busy: 16, Python: 19, Timeout: 20 }, e.Label = { Parse: "#PARSE!", Null: "#NULL!", Div0: "#DIV/0!", Value: "#VALUE!", Ref: "#REF!", Name: "#NAME?", Num: "#NUM!", NA: "#N/A", GettingData: "#GETTING_DATA", Spill: "#SPILL!", Connect: "#CONNECT!", Blocked: "#BLOCKED!", Unknown: "#UNKNOWN!", Field: "#FIELD!", Calc: "#CALC!", Busy: "#BUSY!", Python: "#PYTHON!", Timeout: "#TIMEOUT!" };
16
16
  class t extends Error {
17
- constructor(c, h, fe, B) {
18
- super(fe, B), this._label = h, this._code = c, this.details = B;
17
+ constructor(u, h, fe, B) {
18
+ super(fe, B), this._label = h, this._code = u, this.details = B;
19
19
  }
20
20
  static {
21
21
  this.code = e.Code.Unknown;
@@ -29,8 +29,8 @@ var Re, ie, d;
29
29
  getCode() {
30
30
  return this._code;
31
31
  }
32
- equals(c) {
33
- return !!c && (this._code === c._code || this._code === c.code);
32
+ equals(u) {
33
+ return !!u && (this._code === u._code || this._code === u.code);
34
34
  }
35
35
  get [Symbol.toStringTag]() {
36
36
  return "[FormulaError]";
@@ -41,21 +41,21 @@ var Re, ie, d;
41
41
  }
42
42
  e.Known = t;
43
43
  class n extends t {
44
- constructor(c, h) {
45
- super(e.Code.Parse, e.Label.Parse, c, h);
44
+ constructor(u, h) {
45
+ super(e.Code.Parse, e.Label.Parse, u, h);
46
46
  }
47
47
  static {
48
48
  this.code = e.Code.Parse;
49
49
  }
50
50
  getDetails() {
51
- const c = this.details;
52
- return { line: c?.line ?? 1, column: c?.column ?? 1, offset: c?.offset ?? 0, length: c?.length ?? 0 };
51
+ const u = this.details;
52
+ return { line: u?.line ?? 1, column: u?.column ?? 1, offset: u?.offset ?? 0, length: u?.length ?? 0 };
53
53
  }
54
54
  }
55
55
  e.Parse = n;
56
56
  class r extends t {
57
- constructor(c, h) {
58
- super(e.Code.Null, e.Label.Null, c, h);
57
+ constructor(u, h) {
58
+ super(e.Code.Null, e.Label.Null, u, h);
59
59
  }
60
60
  static {
61
61
  this.code = e.Code.Null;
@@ -63,8 +63,8 @@ var Re, ie, d;
63
63
  }
64
64
  e.Null = r;
65
65
  class o extends t {
66
- constructor(c, h) {
67
- super(e.Code.Div0, e.Label.Div0, c, h);
66
+ constructor(u, h) {
67
+ super(e.Code.Div0, e.Label.Div0, u, h);
68
68
  }
69
69
  static {
70
70
  this.code = e.Code.Div0;
@@ -72,8 +72,8 @@ var Re, ie, d;
72
72
  }
73
73
  e.Div0 = o;
74
74
  class a extends t {
75
- constructor(c, h) {
76
- super(e.Code.Value, e.Label.Value, c, h);
75
+ constructor(u, h) {
76
+ super(e.Code.Value, e.Label.Value, u, h);
77
77
  }
78
78
  static {
79
79
  this.code = e.Code.Value;
@@ -81,8 +81,8 @@ var Re, ie, d;
81
81
  }
82
82
  e.Value = a;
83
83
  class i extends t {
84
- constructor(c, h) {
85
- super(e.Code.Ref, e.Label.Ref, c, h);
84
+ constructor(u, h) {
85
+ super(e.Code.Ref, e.Label.Ref, u, h);
86
86
  }
87
87
  static {
88
88
  this.code = e.Code.Ref;
@@ -90,26 +90,26 @@ var Re, ie, d;
90
90
  }
91
91
  e.Ref = i;
92
92
  class l extends t {
93
- constructor(c, h) {
94
- super(e.Code.Name, e.Label.Name, c, h);
93
+ constructor(u, h) {
94
+ super(e.Code.Name, e.Label.Name, u, h);
95
95
  }
96
96
  static {
97
97
  this.code = e.Code.Name;
98
98
  }
99
99
  }
100
100
  e.Name = l;
101
- class u extends t {
102
- constructor(c, h) {
103
- super(e.Code.Num, e.Label.Num, c, h);
101
+ class c extends t {
102
+ constructor(u, h) {
103
+ super(e.Code.Num, e.Label.Num, u, h);
104
104
  }
105
105
  static {
106
106
  this.code = e.Code.Num;
107
107
  }
108
108
  }
109
- e.Num = u;
109
+ e.Num = c;
110
110
  class p extends t {
111
- constructor(c, h) {
112
- super(e.Code.NA, e.Label.NA, c, h);
111
+ constructor(u, h) {
112
+ super(e.Code.NA, e.Label.NA, u, h);
113
113
  }
114
114
  static {
115
115
  this.code = e.Code.NA;
@@ -117,8 +117,8 @@ var Re, ie, d;
117
117
  }
118
118
  e.NA = p;
119
119
  class w extends t {
120
- constructor(c, h) {
121
- super(e.Code.GettingData, e.Label.GettingData, c, h);
120
+ constructor(u, h) {
121
+ super(e.Code.GettingData, e.Label.GettingData, u, h);
122
122
  }
123
123
  static {
124
124
  this.code = e.Code.GettingData;
@@ -126,8 +126,8 @@ var Re, ie, d;
126
126
  }
127
127
  e.GettingData = w;
128
128
  class g extends t {
129
- constructor(c, h) {
130
- super(e.Code.Spill, e.Label.Spill, c, h);
129
+ constructor(u, h) {
130
+ super(e.Code.Spill, e.Label.Spill, u, h);
131
131
  }
132
132
  static {
133
133
  this.code = e.Code.Spill;
@@ -135,8 +135,8 @@ var Re, ie, d;
135
135
  }
136
136
  e.Spill = g;
137
137
  class f extends t {
138
- constructor(c, h) {
139
- super(e.Code.Connect, e.Label.Connect, c, h);
138
+ constructor(u, h) {
139
+ super(e.Code.Connect, e.Label.Connect, u, h);
140
140
  }
141
141
  static {
142
142
  this.code = e.Code.Connect;
@@ -144,8 +144,8 @@ var Re, ie, d;
144
144
  }
145
145
  e.Connect = f;
146
146
  class y extends t {
147
- constructor(c, h) {
148
- super(e.Code.Blocked, e.Label.Blocked, c, h);
147
+ constructor(u, h) {
148
+ super(e.Code.Blocked, e.Label.Blocked, u, h);
149
149
  }
150
150
  static {
151
151
  this.code = e.Code.Blocked;
@@ -153,8 +153,8 @@ var Re, ie, d;
153
153
  }
154
154
  e.Blocked = y;
155
155
  class x extends t {
156
- constructor(c, h) {
157
- super(e.Code.Unknown, e.Label.Unknown, c, h);
156
+ constructor(u, h) {
157
+ super(e.Code.Unknown, e.Label.Unknown, u, h);
158
158
  }
159
159
  static {
160
160
  this.code = e.Code.Unknown;
@@ -162,8 +162,8 @@ var Re, ie, d;
162
162
  }
163
163
  e.Unknown = x;
164
164
  class A extends t {
165
- constructor(c, h) {
166
- super(e.Code.Field, e.Label.Field, c, h);
165
+ constructor(u, h) {
166
+ super(e.Code.Field, e.Label.Field, u, h);
167
167
  }
168
168
  static {
169
169
  this.code = e.Code.Field;
@@ -171,8 +171,8 @@ var Re, ie, d;
171
171
  }
172
172
  e.Field = A;
173
173
  class D extends t {
174
- constructor(c, h) {
175
- super(e.Code.Calc, e.Label.Calc, c, h);
174
+ constructor(u, h) {
175
+ super(e.Code.Calc, e.Label.Calc, u, h);
176
176
  }
177
177
  static {
178
178
  this.code = e.Code.Calc;
@@ -180,8 +180,8 @@ var Re, ie, d;
180
180
  }
181
181
  e.Calc = D;
182
182
  class U extends t {
183
- constructor(c, h) {
184
- super(e.Code.Busy, e.Label.Busy, c, h);
183
+ constructor(u, h) {
184
+ super(e.Code.Busy, e.Label.Busy, u, h);
185
185
  }
186
186
  static {
187
187
  this.code = e.Code.Busy;
@@ -189,8 +189,8 @@ var Re, ie, d;
189
189
  }
190
190
  e.Busy = U;
191
191
  class I extends t {
192
- constructor(c, h) {
193
- super(e.Code.Python, e.Label.Python, c, h);
192
+ constructor(u, h) {
193
+ super(e.Code.Python, e.Label.Python, u, h);
194
194
  }
195
195
  static {
196
196
  this.code = e.Code.Python;
@@ -198,8 +198,8 @@ var Re, ie, d;
198
198
  }
199
199
  e.Python = I;
200
200
  class J extends t {
201
- constructor(c, h) {
202
- super(e.Code.Timeout, e.Label.Timeout, c, h);
201
+ constructor(u, h) {
202
+ super(e.Code.Timeout, e.Label.Timeout, u, h);
203
203
  }
204
204
  static {
205
205
  this.code = e.Code.Timeout;
@@ -209,29 +209,29 @@ var Re, ie, d;
209
209
  })(d || (d = {}));
210
210
  const _ = {};
211
211
  _[d.Code.Parse] = d.Parse, _[d.Code.Null] = d.Null, _[d.Code.Div0] = d.Div0, _[d.Code.Value] = d.Value, _[d.Code.Ref] = d.Ref, _[d.Code.Name] = d.Name, _[d.Code.Num] = d.Num, _[d.Code.NA] = d.NA, _[d.Code.GettingData] = d.GettingData, _[d.Code.Spill] = d.Spill, _[d.Code.Connect] = d.Connect, _[d.Code.Blocked] = d.Blocked, _[d.Code.Unknown] = d.Unknown, _[d.Code.Field] = d.Field, _[d.Code.Calc] = d.Calc, _[d.Code.Busy] = d.Busy, _[d.Code.Python] = d.Python, _[d.Code.Timeout] = d.Timeout;
212
- const nt = /* @__PURE__ */ new Map(), Te = /* @__PURE__ */ new Map(), rt = /* @__PURE__ */ new Map(), ot = /* @__PURE__ */ new Map(), ke = Object.keys(_);
213
- for (let e = 0; e < ke.length; e++) {
214
- const t = ke[e], n = _[t];
215
- rt.set(d.Label[t], n), ot.set(d.Code[t], n);
212
+ const rt = /* @__PURE__ */ new Map(), _e = /* @__PURE__ */ new Map(), ot = /* @__PURE__ */ new Map(), at = /* @__PURE__ */ new Map(), Le = Object.keys(_);
213
+ for (let e = 0; e < Le.length; e++) {
214
+ const t = Le[e], n = _[t];
215
+ ot.set(d.Label[t], n), at.set(d.Code[t], n);
216
216
  const r = new n();
217
- nt.set(r.getLabel(), r), Te.set(r.getCode(), r);
217
+ rt.set(r.getLabel(), r), _e.set(r.getCode(), r);
218
218
  }
219
- const xt = Te.get(d.Code.Unknown);
219
+ const Ct = _e.get(d.Code.Unknown);
220
220
  var T;
221
- (T = d || (d = {})).BuiltIn = { Parse: new T.Parse(), Null: new T.Null(), Div0: new T.Div0(), Value: new T.Value(), Ref: new T.Ref(), Name: new T.Name(), Num: new T.Num(), NA: new T.NA(), GettingData: new T.GettingData(), Spill: new T.Spill(), Connect: new T.Connect(), Blocked: new T.Blocked(), Unknown: new T.Unknown(), Field: new T.Field(), Calc: new T.Calc(), Busy: new T.Busy(), Python: new T.Python(), Timeout: new T.Timeout() }, T.getBuiltInByLabel = (e) => nt.get(e), T.newTypedError = (e, t, n) => {
221
+ (T = d || (d = {})).BuiltIn = { Parse: new T.Parse(), Null: new T.Null(), Div0: new T.Div0(), Value: new T.Value(), Ref: new T.Ref(), Name: new T.Name(), Num: new T.Num(), NA: new T.NA(), GettingData: new T.GettingData(), Spill: new T.Spill(), Connect: new T.Connect(), Blocked: new T.Blocked(), Unknown: new T.Unknown(), Field: new T.Field(), Calc: new T.Calc(), Busy: new T.Busy(), Python: new T.Python(), Timeout: new T.Timeout() }, T.getBuiltInByLabel = (e) => rt.get(e), T.newTypedError = (e, t, n) => {
222
222
  let r;
223
- return r = typeof e == "string" ? rt.get(e) : ot.get(e), r || (r = T.Unknown), new r(t, n);
224
- }, T.getBuiltInById = (e) => Te.get(e) || xt;
223
+ return r = typeof e == "string" ? ot.get(e) : at.get(e), r || (r = T.Unknown), new r(t, n);
224
+ }, T.getBuiltInById = (e) => _e.get(e) || Ct;
225
225
  /**
226
- * @license @sheetxl/utils - Utils - Utilities used by most SheetXL components. - v0.7.17
226
+ * @license @sheetxl/utils - Utils - Utilities used by most SheetXL components. - v0.7.19
227
227
  *
228
228
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
229
229
  * License: The license can be found at https://www.sheetxl.com/license.
230
230
  */
231
- const j = { Column: "column", Row: "row" }, Ct = Object.freeze({ colIndex: 0, rowIndex: 0 }), vt = Object.freeze({ colStart: 0, rowStart: 0, colEnd: 0, rowEnd: 0 }), at = (e, t) => e.colStart === t.colStart ? e.rowStart - t.rowStart : e.colStart - t.colStart, it = (e, t) => e.rowStart === t.rowStart ? e.colStart - t.colStart : e.rowStart - t.rowStart, Tt = (e, t) => e.rowEnd === t.rowEnd ? t.colEnd - e.colEnd : t.rowEnd - e.rowEnd, _t = (e, t) => e.colEnd === t.colEnd ? t.rowEnd - e.rowEnd : t.colEnd - e.colEnd, Le = (e, t) => e.colIndex === t.colIndex ? e.rowIndex - t.rowIndex : e.colIndex - t.colIndex, Ae = (e, t) => e.rowIndex === t.rowIndex ? e.colIndex - t.colIndex : e.rowIndex - t.rowIndex, Me = (e, t) => e.rowIndex === t.rowIndex ? t.colIndex - e.colIndex : t.rowIndex - e.rowIndex, je = (e, t) => e.colIndex === t.colIndex ? t.rowIndex - e.rowIndex : t.colIndex - e.colIndex, lt = (e = j.Row, t = !1) => t ? e !== j.Column ? Tt : _t : e !== j.Column ? it : at, Pe = (e, t) => e === t || !(!e || !t) && e.rowIndex === t.rowIndex && e.colIndex === t.colIndex, Se = (e, t) => e === t || !(!e || !t) && e.rowStart === t.rowStart && e.rowEnd === t.rowEnd && e.colStart === t.colStart && e.colEnd === t.colEnd, xe = (e, t) => !(!e || !t) && !(e.colStart > t.colEnd || t.colStart > e.colEnd) && !(e.rowStart > t.rowEnd || t.rowStart > e.rowEnd), Fe = (e, t) => {
231
+ const j = { Column: "column", Row: "row" }, vt = Object.freeze({ colIndex: 0, rowIndex: 0 }), Tt = Object.freeze({ colStart: 0, rowStart: 0, colEnd: 0, rowEnd: 0 }), it = (e, t) => e.colStart === t.colStart ? e.rowStart - t.rowStart : e.colStart - t.colStart, lt = (e, t) => e.rowStart === t.rowStart ? e.colStart - t.colStart : e.rowStart - t.rowStart, _t = (e, t) => e.rowEnd === t.rowEnd ? t.colEnd - e.colEnd : t.rowEnd - e.rowEnd, Ot = (e, t) => e.colEnd === t.colEnd ? t.rowEnd - e.rowEnd : t.colEnd - e.colEnd, Ae = (e, t) => e.colIndex === t.colIndex ? e.rowIndex - t.rowIndex : e.colIndex - t.colIndex, Me = (e, t) => e.rowIndex === t.rowIndex ? e.colIndex - t.colIndex : e.rowIndex - t.rowIndex, je = (e, t) => e.rowIndex === t.rowIndex ? t.colIndex - e.colIndex : t.rowIndex - e.rowIndex, Pe = (e, t) => e.colIndex === t.colIndex ? t.rowIndex - e.rowIndex : t.colIndex - e.colIndex, st = (e = j.Row, t = !1) => t ? e !== j.Column ? _t : Ot : e !== j.Column ? lt : it, Fe = (e, t) => e === t || !(!e || !t) && e.rowIndex === t.rowIndex && e.colIndex === t.colIndex, xe = (e, t) => e === t || !(!e || !t) && e.rowStart === t.rowStart && e.rowEnd === t.rowEnd && e.colStart === t.colStart && e.colEnd === t.colEnd, Ce = (e, t) => !(!e || !t) && !(e.colStart > t.colEnd || t.colStart > e.colEnd) && !(e.rowStart > t.rowEnd || t.rowStart > e.rowEnd), De = (e, t) => {
232
232
  if (e === t) return !0;
233
233
  if (!e || !t || e.length !== t.length) return !1;
234
- for (let n = 0; n < e.length; n++) if (!Se(e[n], t[n])) return !1;
234
+ for (let n = 0; n < e.length; n++) if (!xe(e[n], t[n])) return !1;
235
235
  return !0;
236
236
  }, me = (e, t, n) => {
237
237
  if (!e && !t) return null;
@@ -240,23 +240,23 @@ const j = { Column: "column", Row: "row" }, Ct = Object.freeze({ colIndex: 0, ro
240
240
  const r = Math.min(e.colStart, t.colStart), o = Math.min(e.rowStart, t.rowStart), a = Math.max(e.colEnd, t.colEnd), i = Math.max(e.rowEnd, t.rowEnd);
241
241
  let l = n;
242
242
  return l ? (l.colStart = r, l.rowStart = o, l.colEnd = a, l.rowEnd = i) : l = { colStart: r, rowStart: o, colEnd: a, rowEnd: i }, l;
243
- }, De = (e, t) => {
243
+ }, Ue = (e, t) => {
244
244
  if (!t || t.length === 0) return e;
245
245
  const n = { ...e };
246
246
  for (let r = 0; r < t.length; r++) {
247
247
  const o = t[r];
248
- xe(n, o) && (n.rowStart = Math.min(n.rowStart, o.rowStart), n.colStart = Math.min(n.colStart, o.colStart), n.rowEnd = Math.max(n.rowEnd, o.rowEnd), n.colEnd = Math.max(n.colEnd, o.colEnd));
248
+ Ce(n, o) && (n.rowStart = Math.min(n.rowStart, o.rowStart), n.colStart = Math.min(n.colStart, o.colStart), n.rowEnd = Math.max(n.rowEnd, o.rowEnd), n.colEnd = Math.max(n.colEnd, o.colEnd));
249
249
  }
250
250
  return n;
251
- }, Ot = [null, null], It = (e, t, n) => {
251
+ }, It = [null, null], Nt = (e, t, n) => {
252
252
  if (e[0].value === e[1].value) return t;
253
253
  };
254
- function Ue(e, t = 2, n, r = j.Row, o) {
254
+ function Be(e, t = 2, n, r = j.Row, o) {
255
255
  let a = [...e];
256
256
  if (t <= 0 || e.length <= 1) return a;
257
- let i = r === j.Column, l = 0, u = !1;
257
+ let i = r === j.Column, l = 0, c = !1;
258
258
  do {
259
- const p = a.sort(lt(i ? j.Row : j.Column));
259
+ const p = a.sort(st(i ? j.Row : j.Column));
260
260
  a = [], a.push(p[0]);
261
261
  const w = p.length;
262
262
  let g = 0, f = p[0], y = f.colStart, x = f.rowStart, A = f.colEnd, D = f.rowEnd;
@@ -266,47 +266,47 @@ function Ue(e, t = 2, n, r = j.Row, o) {
266
266
  if (J = i ? f && x === I.rowStart && D === I.rowEnd && A + 1 === I.colStart : f && y === I.colStart && A === I.colEnd && D + 1 === I.rowStart, J) {
267
267
  let E = { colStart: y, rowStart: x, colEnd: i ? I.colEnd : A, rowEnd: i ? D : I.rowEnd };
268
268
  if (f.value !== void 0 && (E.value = f.value), n) {
269
- const c = o ?? [null, null];
270
- c[0] = f, c[1] = I, E = n(c, E, r);
269
+ const u = o ?? [null, null];
270
+ u[0] = f, u[1] = I, E = n(u, E, r);
271
271
  }
272
272
  if (E) {
273
- a[g] = E, u = !0, f = E, y = f.colStart, x = f.rowStart, A = f.colEnd, D = f.rowEnd;
273
+ a[g] = E, c = !0, f = E, y = f.colStart, x = f.rowStart, A = f.colEnd, D = f.rowEnd;
274
274
  continue;
275
275
  }
276
276
  }
277
277
  a[++g] = I, f = I, y = f.colStart, x = f.rowStart, A = f.colEnd, D = f.rowEnd;
278
278
  }
279
- l++, i = !i, l === 1 && (u = !0);
280
- } while (l < t && u && a.length > 1);
279
+ l++, i = !i, l === 1 && (c = !0);
280
+ } while (l < t && c && a.length > 1);
281
281
  return a;
282
282
  }
283
- Object.freeze(Object.defineProperty({ __proto__: null, EmptyCell: Ct, EmptyRange: vt, cellToRange: (e, t) => {
283
+ Object.freeze(Object.defineProperty({ __proto__: null, EmptyCell: vt, EmptyRange: Tt, cellToRange: (e, t) => {
284
284
  if (!e) return null;
285
285
  let n = t;
286
286
  return n || (n = { ...e }, delete n.colIndex, delete n.rowIndex), n.colStart = e.colIndex ?? 0, n.rowStart = e.rowIndex ?? 0, n.colEnd = e.colIndex ?? 0, n.rowEnd = e.rowIndex ?? 0, n;
287
- }, columnFirstCellComparator: Le, columnFirstRangeComparator: at, createCellComparator: (e = j.Row, t = !1) => t ? e !== j.Column ? Me : je : e !== j.Column ? Ae : Le, createConflatingRanges: (e, t = !1) => {
287
+ }, columnFirstCellComparator: Ae, columnFirstRangeComparator: it, createCellComparator: (e = j.Row, t = !1) => t ? e !== j.Column ? je : Pe : e !== j.Column ? Me : Ae, createConflatingRanges: (e, t = !1) => {
288
288
  const n = [];
289
289
  let r, o, a = Number.MIN_SAFE_INTEGER, i = Number.MIN_SAFE_INTEGER;
290
- return { append: (l, u, p) => {
290
+ return { append: (l, c, p) => {
291
291
  let w = !0;
292
292
  const g = p !== void 0;
293
293
  if (g) {
294
294
  const x = e ? e(o, p, t) : o === p ? p : void 0;
295
295
  x === void 0 ? w = !1 : p = x;
296
296
  }
297
- if (w && u === i + 1 && l === a) return t ? r.rowEnd = u : r.colEnd = u, i = u, void (o = p);
297
+ if (w && c === i + 1 && l === a) return t ? r.rowEnd = c : r.colEnd = c, i = c, void (o = p);
298
298
  r && n.push(r);
299
- const f = t ? l : u, y = t ? u : l;
300
- r = { colStart: f, rowStart: y, colEnd: f, rowEnd: y }, g && (r.value = p), a = l, i = u, o = p;
301
- }, done: (l) => (r && (n.push(r), r = null), l ? Ue(n, 3, l === !0 ? It : l, t ? j.Column : j.Row, Ot) : n) };
302
- }, createRangeComparator: lt, defaultRange: (e, t, n) => e ? n ? (n.colStart = e.colStart ?? t.colStart, n.rowStart = e.rowStart ?? t.rowStart, n.colEnd = e.colEnd ?? t.colEnd, n.rowEnd = e.rowEnd ?? t.rowEnd, n) : { colStart: e.colStart ?? t.colStart, rowStart: e.rowStart ?? t.rowStart, colEnd: e.colEnd ?? t.colEnd, rowEnd: e.rowEnd ?? t.rowEnd } : t, extendRangeToIntersectingRanges: De, extendRangeToUnionRanges: (e, t) => {
299
+ const f = t ? l : c, y = t ? c : l;
300
+ r = { colStart: f, rowStart: y, colEnd: f, rowEnd: y }, g && (r.value = p), a = l, i = c, o = p;
301
+ }, done: (l) => (r && (n.push(r), r = null), l ? Be(n, 3, l === !0 ? Nt : l, t ? j.Column : j.Row, It) : n) };
302
+ }, createRangeComparator: st, defaultRange: (e, t, n) => e ? n ? (n.colStart = e.colStart ?? t.colStart, n.rowStart = e.rowStart ?? t.rowStart, n.colEnd = e.colEnd ?? t.colEnd, n.rowEnd = e.rowEnd ?? t.rowEnd, n) : { colStart: e.colStart ?? t.colStart, rowStart: e.rowStart ?? t.rowStart, colEnd: e.colEnd ?? t.colEnd, rowEnd: e.rowEnd ?? t.rowEnd } : t, extendRangeToIntersectingRanges: Ue, extendRangeToUnionRanges: (e, t) => {
303
303
  if (!t || t.length === 0) return e;
304
304
  let n = e, r = null;
305
- for (; !Se(n, r); ) r = n, n = De(r, t);
305
+ for (; !xe(n, r); ) r = n, n = Ue(r, t);
306
306
  return n;
307
307
  }, indexOfCoords: (e, t) => {
308
308
  const n = { colStart: e.colIndex, rowStart: e.rowIndex, colEnd: e.colIndex, rowEnd: e.rowIndex };
309
- for (let r = t.length - 1; r >= 0; r--) if (xe(n, t[r])) return r;
309
+ for (let r = t.length - 1; r >= 0; r--) if (Ce(n, t[r])) return r;
310
310
  return -1;
311
311
  }, intersectRanges: (e, t, n) => {
312
312
  if (!e) return n ? t : { ...t };
@@ -321,58 +321,58 @@ Object.freeze(Object.defineProperty({ __proto__: null, EmptyCell: Ct, EmptyRange
321
321
  if (n < t.rowStart || n > t.rowEnd) return !1;
322
322
  const r = e.colIndex;
323
323
  return !(r < t.colStart || r > t.colEnd);
324
- }, isEqualCells: Pe, isEqualRanges: Se, isEqualRangesArrays: Fe, isEqualSelectionCoords: (e, t) => e === t || !(!e || !t) && e.rangeIndex === t.rangeIndex && !!Pe(e.cell, t.cell) && Fe(e.ranges, t.ranges), isRangeWithinRange: (e, t) => !(e.rowStart < t.rowStart || e.rowEnd > t.rowEnd) && !(e.colStart < t.colStart || e.colEnd > t.colEnd), isRangesIntersect: xe, isSingleCell: (e) => !!e && e.rowEnd === e.rowStart && e.colStart === e.colEnd, isValidRange: (e) => !!e && !(typeof e.colStart != "number" || e.colStart < 0) && !(typeof e.colEnd != "number" || e.colEnd < e.colStart) && !(typeof e.rowStart != "number" || e.rowStart < 0) && !(typeof e.rowEnd != "number" || e.rowEnd < e.rowStart), mergeRangedValues: Ue, reverseColumnFirstCellComparator: je, reverseRowFirstCellComparator: Me, rowFirstCellComparator: Ae, rowFirstRangeComparator: it, sanitizeRange: (e) => e ? { colStart: e.colIndex ?? e.colStart ?? 0, rowStart: e.rowIndex ?? e.rowStart ?? 0, colEnd: e.colIndex ?? e.colEnd ?? 0, rowEnd: e.rowIndex ?? e.rowEnd ?? 0 } : null, translateRange: (e, t = -e.rowStart, n = -e.colStart, r) => r ? (r.colStart = e.colStart + n, r.rowStart = e.rowStart + t, r.colEnd = e.colEnd + n, r.rowEnd = e.rowEnd + t, r) : { colStart: e.colStart + n, rowStart: e.rowStart + t, colEnd: e.colEnd + n, rowEnd: e.rowEnd + t }, unionRanges: me, unionRangesArrays: (e, t, n) => {
324
+ }, isEqualCells: Fe, isEqualRanges: xe, isEqualRangesArrays: De, isEqualSelectionCoords: (e, t) => e === t || !(!e || !t) && e.rangeIndex === t.rangeIndex && !!Fe(e.cell, t.cell) && De(e.ranges, t.ranges), isRangeWithinRange: (e, t) => !(e.rowStart < t.rowStart || e.rowEnd > t.rowEnd) && !(e.colStart < t.colStart || e.colEnd > t.colEnd), isRangesIntersect: Ce, isSingleCell: (e) => !!e && e.rowEnd === e.rowStart && e.colStart === e.colEnd, isValidRange: (e) => !!e && !(typeof e.colStart != "number" || e.colStart < 0) && !(typeof e.colEnd != "number" || e.colEnd < e.colStart) && !(typeof e.rowStart != "number" || e.rowStart < 0) && !(typeof e.rowEnd != "number" || e.rowEnd < e.rowStart), mergeRangedValues: Be, reverseColumnFirstCellComparator: Pe, reverseRowFirstCellComparator: je, rowFirstCellComparator: Me, rowFirstRangeComparator: lt, sanitizeRange: (e) => e ? { colStart: e.colIndex ?? e.colStart ?? 0, rowStart: e.rowIndex ?? e.rowStart ?? 0, colEnd: e.colIndex ?? e.colEnd ?? 0, rowEnd: e.rowIndex ?? e.rowEnd ?? 0 } : null, translateRange: (e, t = -e.rowStart, n = -e.colStart, r) => r ? (r.colStart = e.colStart + n, r.rowStart = e.rowStart + t, r.colEnd = e.colEnd + n, r.rowEnd = e.rowEnd + t, r) : { colStart: e.colStart + n, rowStart: e.rowStart + t, colEnd: e.colEnd + n, rowEnd: e.rowEnd + t }, unionRanges: me, unionRangesArrays: (e, t, n) => {
325
325
  if (!e || e.length === 0) return null;
326
326
  if (e.length === 1 && !t) return e[0];
327
327
  let r = e[0];
328
328
  for (let o = 1; o < e.length; o++) r = me(r, e[o], n);
329
329
  return t && (r = me(r, t, n)), r;
330
330
  } }, Symbol.toStringTag, { value: "Module" }));
331
- const S = { html: "text/html", plain: "text/plain", png: "image/png" }, Nt = Object.freeze({ left: 0, top: 0 }), Rt = Object.freeze({ left: 0, top: 0, bottom: 0, right: 0 }), kt = Object.freeze({ x: 0, y: 0, width: 0, height: 0 });
332
- Object.freeze(Object.defineProperty({ __proto__: null, EmptyBounds: kt, EmptyRect: Rt, EmptyTopLeft: Nt }, Symbol.toStringTag, { value: "Module" }));
333
- function Lt(e) {
331
+ const S = { html: "text/html", plain: "text/plain", png: "image/png" }, Rt = Object.freeze({ left: 0, top: 0 }), kt = Object.freeze({ left: 0, top: 0, bottom: 0, right: 0 }), Lt = Object.freeze({ x: 0, y: 0, width: 0, height: 0 });
332
+ Object.freeze(Object.defineProperty({ __proto__: null, EmptyBounds: Lt, EmptyRect: kt, EmptyTopLeft: Rt }, Symbol.toStringTag, { value: "Module" }));
333
+ function At(e) {
334
334
  const t = Object.prototype.toString.call(e);
335
335
  return t === "[object RegExp]" || t === "[object Date]" || (function(n) {
336
- return n.$$typeof === At;
336
+ return n.$$typeof === Mt;
337
337
  })(e);
338
338
  }
339
- const At = typeof Symbol == "function" && Symbol.for ? Symbol.for("react.element") : 60103;
340
- function Mt(e) {
339
+ const Mt = typeof Symbol == "function" && Symbol.for ? Symbol.for("react.element") : 60103;
340
+ function jt(e) {
341
341
  return /* @__PURE__ */ (function(t) {
342
342
  return !!t && typeof t == "object";
343
- })(e) && !Lt(e);
343
+ })(e) && !At(e);
344
344
  }
345
345
  function re(e, t) {
346
346
  return t.clone !== !1 && t.isMergeableObject(e) ? Y((n = e, Array.isArray(n) ? [] : {}), e, t) : e;
347
347
  var n;
348
348
  }
349
- function jt(e, t, n) {
349
+ function Pt(e, t, n) {
350
350
  return e.concat(t).map(function(r) {
351
351
  return re(r, n);
352
352
  });
353
353
  }
354
- function Be(e) {
354
+ function $e(e) {
355
355
  return Object.keys(e).concat((function(t) {
356
356
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(t).filter(function(n) {
357
357
  return Object.propertyIsEnumerable.call(t, n);
358
358
  }) : [];
359
359
  })(e));
360
360
  }
361
- function $e(e, t) {
361
+ function ze(e, t) {
362
362
  try {
363
363
  return t in e;
364
364
  } catch {
365
365
  return !1;
366
366
  }
367
367
  }
368
- function Pt(e, t, n) {
368
+ function Ft(e, t, n) {
369
369
  const r = {};
370
- return n.isMergeableObject(e) && Be(e).forEach(function(o) {
370
+ return n.isMergeableObject(e) && $e(e).forEach(function(o) {
371
371
  r[o] = re(e[o], n);
372
- }), Be(t).forEach(function(o) {
372
+ }), $e(t).forEach(function(o) {
373
373
  (function(a, i) {
374
- return $e(a, i) && !(Object.hasOwnProperty.call(a, i) && Object.propertyIsEnumerable.call(a, i));
375
- })(e, o) || ($e(e, o) && n.isMergeableObject(t[o]) ? r[o] = (function(a, i) {
374
+ return ze(a, i) && !(Object.hasOwnProperty.call(a, i) && Object.propertyIsEnumerable.call(a, i));
375
+ })(e, o) || (ze(e, o) && n.isMergeableObject(t[o]) ? r[o] = (function(a, i) {
376
376
  if (!i.customMerge) return Y;
377
377
  const l = i.customMerge(a);
378
378
  return typeof l == "function" ? l : Y;
@@ -380,9 +380,9 @@ function Pt(e, t, n) {
380
380
  }), r;
381
381
  }
382
382
  function Y(e, t, n) {
383
- (n = n || {}).arrayMerge = n.arrayMerge || jt, n.isMergeableObject = n.isMergeableObject || Mt, n.cloneUnlessOtherwiseSpecified = re;
383
+ (n = n || {}).arrayMerge = n.arrayMerge || Pt, n.isMergeableObject = n.isMergeableObject || jt, n.cloneUnlessOtherwiseSpecified = re;
384
384
  const r = Array.isArray(t);
385
- return r === Array.isArray(e) ? r ? n.arrayMerge(e, t, n) : Pt(e, t, n) : re(t, n);
385
+ return r === Array.isArray(e) ? r ? n.arrayMerge(e, t, n) : Ft(e, t, n) : re(t, n);
386
386
  }
387
387
  Y.all = function(e, t) {
388
388
  if (!Array.isArray(e)) throw new Error("first argument should be an array");
@@ -390,12 +390,12 @@ Y.all = function(e, t) {
390
390
  return Y(n, r, t);
391
391
  }, {});
392
392
  };
393
- const Ft = Object.freeze([]), Dt = Object.freeze({}), ze = (e) => e, de = () => "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(e) {
393
+ const we = Object.freeze([]), Dt = Object.freeze({}), Ke = (e) => e, de = () => "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(e) {
394
394
  let t = 16 * Math.random() | 0;
395
395
  return (e === "x" ? t : 3 & t | 8).toString(16);
396
- }), Ut = (e) => 1 * e, st = (e, t) => e === t || !(!Array.isArray(e) || !Array.isArray(t) || e.length !== t.length) && e.every((n, r) => n === t[r]), ne = (e) => typeof e == "object" && !Array.isArray(e) && e !== null, ct = (e) => typeof e != "object" || Array.isArray(e) || e === null ? e : (Object.keys(e).forEach(function(t) {
397
- e[t] && typeof e[t] == "object" ? ct(e[t]) : e[t] !== null && e[t] !== void 0 || delete e[t], typeof e[t] == "object" && Object.keys(e[t]).length === 0 && delete e[t];
398
- }), Object.keys(e).length === 0 ? null : e), Bt = (e, t) => !(e !== t && !st(e, t)) || !!e.isEqual?.(t), ut = (e, t, n = Bt) => {
396
+ }), Ut = (e) => 1 * e, ct = (e, t) => e === t || !(!Array.isArray(e) || !Array.isArray(t) || e.length !== t.length) && e.every((n, r) => n === t[r]), ne = (e) => typeof e == "object" && !Array.isArray(e) && e !== null, ut = (e) => typeof e != "object" || Array.isArray(e) || e === null ? e : (Object.keys(e).forEach(function(t) {
397
+ e[t] && typeof e[t] == "object" ? ut(e[t]) : e[t] !== null && e[t] !== void 0 || delete e[t], typeof e[t] == "object" && Object.keys(e[t]).length === 0 && delete e[t];
398
+ }), Object.keys(e).length === 0 ? null : e), Bt = (e, t) => !(e !== t && !ct(e, t)) || !!e.isEqual?.(t), dt = (e, t, n = Bt) => {
399
399
  if (e == null || e === t) return null;
400
400
  if (!e || typeof e != "object" || Array.isArray(e) || e.isImmutable?.()) return n(e, t) ? null : e;
401
401
  const r = Object.keys(e);
@@ -403,18 +403,18 @@ const Ft = Object.freeze([]), Dt = Object.freeze({}), ze = (e) => e, de = () =>
403
403
  let o = !1;
404
404
  for (let a = 0; a < r.length; a++) {
405
405
  const i = r[a];
406
- ut(e[i], t?.[i], n) === null && (o = !0, delete e[i]);
406
+ dt(e[i], t?.[i], n) === null && (o = !0, delete e[i]);
407
407
  }
408
408
  return o && Object.keys(e).length === 0 ? null : void 0;
409
- }, Ke = typeof performance == "object" && typeof performance.now == "function" ? () => performance.now() : () => Date.now(), Ve = (e) => e == null, Ge = (e, t) => !(t.left > e.right || t.right < e.left || t.top > e.bottom || t.bottom < e.top), qe = !(typeof window > "u" || !window.document || !window.document.createElement), k = { Windows: "windows", MacOS: "macos", IOS: "ios", Linux: "linux", Android: "android", Safari: "safari", Firefox: "firefox", Node: "node", Unknown: "unknown" }, oe = () => {
410
- if (dt()) return k.Node;
409
+ }, Ve = typeof performance == "object" && typeof performance.now == "function" ? () => performance.now() : () => Date.now(), qe = (e) => e == null, Ge = (e, t) => !(t.left > e.right || t.right < e.left || t.top > e.bottom || t.bottom < e.top), We = !(typeof window > "u" || !window.document || !window.document.createElement), k = { Windows: "windows", MacOS: "macos", IOS: "ios", Linux: "linux", Android: "android", Safari: "safari", Firefox: "firefox", Node: "node", Unknown: "unknown" }, oe = () => {
410
+ if (ft()) return k.Node;
411
411
  const e = globalThis.navigator !== void 0 && globalThis.navigator.userAgent ? globalThis.navigator.userAgent.toLowerCase() : "";
412
412
  return e ? /(win32|win64|windows|wince)/i.test(e) ? k.Windows : /(macintosh|macintel|macppc|mac68k|macos)/i.test(e) ? k.MacOS : /(iphone|ipad|ipod)/i.test(e) ? k.IOS : /android/.test(e) ? k.Android : /linux/.test(e) ? k.Linux : /^((?!chrome|android|).)*safari/i.test(e) ? k.Safari : /^((?!chrome|android|Seamonkey).)*firefox/i.test(e) ? k.Firefox : k.Unknown : k.Unknown;
413
413
  };
414
- function dt() {
414
+ function ft() {
415
415
  return typeof process < "u" && process.release?.name === "node" || (typeof process < "u" && process.browser, !1);
416
416
  }
417
- const We = (e, t = !1) => (document.hasFocus() || t) && (e === document.activeElement || e?.contains(document.activeElement)), $t = Object.freeze(Object.defineProperty({ __proto__: null, EmptyArray: Ft, EmptyObject: Dt, OSType: k, arrayMove: function(e, t, n) {
417
+ const Ye = (e, t = !1) => (document.hasFocus() || t) && (e === document.activeElement || e?.contains(document.activeElement)), $t = Object.freeze(Object.defineProperty({ __proto__: null, EmptyArray: we, EmptyObject: Dt, OSType: k, arrayMove: function(e, t, n) {
418
418
  const r = e.slice();
419
419
  return r.splice(n < 0 ? r.length + n : n, 0, r.splice(t, 1)[0]), r;
420
420
  }, asNumber: (e) => {
@@ -422,23 +422,23 @@ const We = (e, t = !1) => (document.hasFocus() || t) && (e === document.activeEl
422
422
  return Number.isFinite(t) ? t : 0;
423
423
  }, camelToPrettyCase: (e) => e.length === 1 ? e.toUpperCase() : e.replace(/([A-Z])/g, " $1").replace(/^./, function(t) {
424
424
  return t.toUpperCase();
425
- }).trim(), canUseDOM: qe, cancelTimeout: (e) => {
425
+ }).trim(), canUseDOM: We, cancelTimeout: (e) => {
426
426
  cancelAnimationFrame(e.id);
427
- }, castToString: (e) => e == null || e === void 0 ? "" : typeof e != "string" ? "" + e : e, cloneObject: (e) => Ve(e) ? e : JSON.parse(JSON.stringify(e)), consoleWithNoSource: (...e) => new Promise((t) => {
427
+ }, castToString: (e) => e == null || e === void 0 ? "" : typeof e != "string" ? "" + e : e, cloneObject: (e) => qe(e) ? e : JSON.parse(JSON.stringify(e)), consoleWithNoSource: (...e) => new Promise((t) => {
428
428
  setTimeout(() => {
429
429
  Function("console.log.apply(console, arguments)").apply(null, e), t();
430
430
  });
431
431
  }), debounce: function(e, t = 300, n = !1) {
432
432
  let r, o, a, i, l = 0;
433
- function u() {
433
+ function c() {
434
434
  let w = Date.now() - l;
435
- w < t && w >= 0 ? r = setTimeout(u, t - w) : (r = null, n || (i = e.apply(a, o), a = o = null));
435
+ w < t && w >= 0 ? r = setTimeout(c, t - w) : (r = null, n || (i = e.apply(a, o), a = o = null));
436
436
  }
437
437
  t == null && (t = 100);
438
438
  const p = function() {
439
439
  a = globalThis, o = arguments, l = Date.now();
440
440
  var w = n && !r;
441
- return r || (r = setTimeout(u, t)), w && (i = e.apply(a, o), a = o = null), i;
441
+ return r || (r = setTimeout(c, t)), w && (i = e.apply(a, o), a = o = null), i;
442
442
  };
443
443
  return p.clear = function() {
444
444
  r && (clearTimeout(r), r = null);
@@ -490,11 +490,11 @@ const We = (e, t = !1) => (document.hasFocus() || t) && (e === document.activeEl
490
490
  }, deepMerge: Y, diffValues: (e, t) => {
491
491
  const n = {}, r = Object.keys(t), o = r.length;
492
492
  for (let a = 0; a < o; a++) {
493
- const i = r[a];
494
- e[i] !== t[i] && (e[i] === void 0 ? n[i] = t[i] : n[i] = e[i]);
493
+ const i = r[a], l = e[i], c = t[i];
494
+ l !== c && (n[i] = l === void 0 ? c : l);
495
495
  }
496
496
  return Object.keys(n).length === 0 ? null : n;
497
- }, findEqualOrGreater: function(e, t, n = ze) {
497
+ }, findEqualOrGreater: function(e, t, n = Ke) {
498
498
  let r = 0, o = e.length - 1;
499
499
  for (; r <= o; ) {
500
500
  let a = Math.floor((r + o) / 2), i = n(e[a]);
@@ -502,7 +502,7 @@ const We = (e, t = !1) => (document.hasFocus() || t) && (e === document.activeEl
502
502
  i < t ? r = a + 1 : o = a - 1;
503
503
  }
504
504
  return r;
505
- }, findEqualOrLesser: function(e, t, n = ze) {
505
+ }, findEqualOrLesser: function(e, t, n = Ke) {
506
506
  let r = e.length - 1, o = 0;
507
507
  for (; r >= o; ) {
508
508
  let a = Math.floor((r + o) / 2), i = n(e[a]);
@@ -527,14 +527,14 @@ const We = (e, t = !1) => (document.hasFocus() || t) && (e === document.activeEl
527
527
  r = i;
528
528
  }
529
529
  return r ?? null;
530
- }, getOS: oe, hasFocus: We, isDefined: (e) => e != null, isEmpty: (e) => e == null || e === "", isEqualArrays: st, isEqualBounds: (e, t) => e === t || !(e && !t || t && !e) && e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height, isEqualObjectKeys: (e, t) => {
530
+ }, getOS: oe, hasFocus: Ye, isDefined: (e) => e != null, isEmpty: (e) => e == null || e === "", isEqualArrays: ct, isEqualBounds: (e, t) => e === t || !(e && !t || t && !e) && e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height, isEqualObjectKeys: (e, t) => {
531
531
  if (e === t) return !0;
532
532
  if (e && !t || t && !e) return !1;
533
533
  const n = Object.keys(e);
534
534
  if (n.length !== Object.keys(t).length) return !1;
535
535
  for (let r = 0; r < n.length; r++) if (e[n[r]] !== t[n[r]]) return !1;
536
536
  return !0;
537
- }, isNode: dt, isNullOrUndefined: Ve, isNumeric: (e) => {
537
+ }, isNode: ft, isNullOrUndefined: qe, isNumeric: (e) => {
538
538
  const t = 1 * e;
539
539
  return Number.isFinite(t) && typeof t == "number";
540
540
  }, isObject: ne, isPromiseLike: (e) => !!e && typeof e.then == "function", isRectInsideRect: (e, t) => e.top >= t.top && e.bottom <= t.bottom && e.left >= t.left && e.right <= t.right, isRectIntersect: Ge, mergeContentful: (...e) => {
@@ -550,7 +550,7 @@ const We = (e, t = !1) => (document.hasFocus() || t) && (e === document.activeEl
550
550
  e();
551
551
  });
552
552
  }, openFileDialog: (e = "*.*") => new Promise((t, n) => {
553
- if (!qe) return void n("Unable to open dialog with no dom.");
553
+ if (!We) return void n("Unable to open dialog with no dom.");
554
554
  const r = document.createElement("input");
555
555
  r.type = "file", r.accept = e;
556
556
  let o = null, a = !1;
@@ -571,13 +571,17 @@ const We = (e, t = !1) => (document.hasFocus() || t) && (e === document.activeEl
571
571
  return function(o) {
572
572
  t = o, t && t.persist && t.persist(), n || (n = !0, requestAnimationFrame(r));
573
573
  };
574
- }, removeEmptyProperties: ct, removeEqualValues: ut, removeListenerAll: (e) => {
575
- if (!e) return [];
576
- for (let t = 0; t < e.length; t++) e[t] && e[t]();
577
- return [];
574
+ }, removeEmptyProperties: ut, removeEqualValues: dt, removeListenerAll: (e) => {
575
+ if (!e) return we;
576
+ const t = e.length;
577
+ for (let n = 0; n < t; n++) {
578
+ const r = e[n];
579
+ r && r();
580
+ }
581
+ return we;
578
582
  }, requestTimeout: (e, t) => {
579
- const n = Ke(), r = { id: requestAnimationFrame(function o() {
580
- Ke() - n >= t ? e.call(null) : r.id = requestAnimationFrame(o);
583
+ const n = Ve(), r = { id: requestAnimationFrame(function o() {
584
+ Ve() - n >= t ? e.call(null) : r.id = requestAnimationFrame(o);
581
585
  }) };
582
586
  return r;
583
587
  }, roundAccurately: (e, t = 0) => {
@@ -613,10 +617,10 @@ const We = (e, t = !1) => (document.hasFocus() || t) && (e === document.activeEl
613
617
  t.bottom > o.top && t.bottom < o.bottom && (r.push({ ...o, top: t.bottom }), o = { ...o, bottom: t.bottom });
614
618
  }, l = () => {
615
619
  t.right > o.left && t.right < o.right && (r.push({ ...o, left: t.right }), o = { ...o, right: t.right });
616
- }, u = () => {
620
+ }, c = () => {
617
621
  t.left > o.left && t.left < o.right && (r.push({ ...o, right: t.left }), o = { ...o, left: t.left });
618
622
  };
619
- return n ? (u(), l(), a(), i()) : (a(), i(), l(), u()), r;
623
+ return n ? (c(), l(), a(), i()) : (a(), i(), l(), c()), r;
620
624
  }, textToKey: (e) => e.replace(/[^a-zA-Z0-9]/g, "").toLowerCase(), throttle: function(e, t) {
621
625
  let n = null;
622
626
  return (...r) => {
@@ -640,19 +644,19 @@ const We = (e, t = !1) => (document.hasFocus() || t) && (e === document.activeEl
640
644
  }, uuidV4: de, validEnumValue: (e, t) => {
641
645
  if (!Object.values(e).includes(t)) throw new Error(\`Invalid type: \${t ?? "null"}. Must be one of: \${Object.values(t).join(", ")}.\`);
642
646
  }, whenFocus: async (e, t = !1) => new Promise((n) => {
643
- We(e, t) ? n(!0) : e.addEventListener("focusin", () => {
647
+ Ye(e, t) ? n(!0) : e.addEventListener("focusin", () => {
644
648
  n(!0);
645
649
  }, { once: !0 }), e.focus();
646
650
  }) }, Symbol.toStringTag, { value: "Module" }));
647
651
  Object.freeze(Object.defineProperty({ __proto__: null, MESSAGE_ERROR_INVALID_ARG: (e) => \`Invalid argument: '\${e}'.\` }, Symbol.toStringTag, { value: "Module" }));
648
- const ft = (e) => {
652
+ const pt = (e) => {
649
653
  const t = new Uint8Array(e), n = t.byteLength;
650
654
  let r = "";
651
655
  for (let o = 0; o < n; o++) r += String.fromCharCode(t[o]);
652
656
  if (typeof window < "u" && typeof globalThis.btoa == "function") return globalThis.btoa(r);
653
657
  if (typeof Buffer < "u") return Buffer.from(r, "binary").toString("base64");
654
658
  throw new Error("Unsupported environment");
655
- }, Ce = (e) => new Promise((t, n) => {
659
+ }, ve = (e) => new Promise((t, n) => {
656
660
  if (e) if (typeof FileReader < "u") {
657
661
  const r = new FileReader();
658
662
  r.onload = () => {
@@ -670,12 +674,12 @@ const ft = (e) => {
670
674
  } else n(new Error("Unsupported environment"));
671
675
  else t("");
672
676
  });
673
- Object.freeze(Object.defineProperty({ __proto__: null, DEFAULT_MIME_TYPE: "*/*", arrayBufferToBase64: ft, base64ToArrayBuffer: (e) => {
677
+ Object.freeze(Object.defineProperty({ __proto__: null, DEFAULT_MIME_TYPE: "*/*", arrayBufferToBase64: pt, base64ToArrayBuffer: (e) => {
674
678
  const t = typeof window < "u" && typeof globalThis.atob == "function" ? globalThis.atob(e) : Buffer.from(e, "base64").toString("binary"), n = t.length, r = new Uint8Array(n);
675
679
  for (let o = 0; o < n; o++) r[o] = t.charCodeAt(o);
676
680
  return r.buffer;
677
- }, blobToString: Ce }, Symbol.toStringTag, { value: "Module" }));
678
- const pt = "data:image/png;base64,", ht = "Unable to resolve image.", Ye = (e) => new Promise(async (t, n) => {
681
+ }, blobToString: ve }, Symbol.toStringTag, { value: "Module" }));
682
+ const ht = "data:image/png;base64,", mt = "Unable to resolve image.", Je = (e) => new Promise(async (t, n) => {
679
683
  let r = null;
680
684
  try {
681
685
  r = new Image(), r.src = e, r.addEventListener("load", function() {
@@ -686,9 +690,9 @@ const pt = "data:image/png;base64,", ht = "Unable to resolve image.", Ye = (e) =
686
690
  } catch {
687
691
  r?.src && URL.revokeObjectURL(r.src);
688
692
  }
689
- r || n(ht);
690
- }), we = "image/svg+xml";
691
- Object.freeze(Object.defineProperty({ __proto__: null, DATA_URL_PNG_PREFIX: pt, getImageDataUrl: (e, t = 1) => new Promise(async (n, r) => {
693
+ r || n(mt);
694
+ }), ye = "image/svg+xml";
695
+ Object.freeze(Object.defineProperty({ __proto__: null, DATA_URL_PNG_PREFIX: ht, getImageDataUrl: (e, t = 1) => new Promise(async (n, r) => {
692
696
  let o = null;
693
697
  try {
694
698
  o = new Image(), o.src = e, o.addEventListener("load", function() {
@@ -706,70 +710,70 @@ Object.freeze(Object.defineProperty({ __proto__: null, DATA_URL_PNG_PREFIX: pt,
706
710
  } catch {
707
711
  o?.src && URL.revokeObjectURL(o.src);
708
712
  }
709
- o || r(ht);
713
+ o || r(mt);
710
714
  }), loadImageDetails: async (e, t = null) => {
711
715
  let n = null;
712
716
  const r = async () => {
713
717
  try {
714
- const a = t ?? "image/*", i = URL.createObjectURL(new Blob([e], { type: a })), l = await Ye(i);
718
+ const a = t ?? "image/*", i = URL.createObjectURL(new Blob([e], { type: a })), l = await Je(i);
715
719
  n = { mimeType: a, naturalSize: l, asUrl: i };
716
720
  } catch {
717
721
  }
718
722
  }, o = async () => {
719
723
  try {
720
- const a = new TextDecoder().decode(e), i = URL.createObjectURL(new Blob([a], { type: we })), l = await Ye(i);
721
- n = { mimeType: t ?? we, naturalSize: l, asUrl: i, asSVGText: a };
724
+ const a = new TextDecoder().decode(e), i = URL.createObjectURL(new Blob([a], { type: ye })), l = await Je(i);
725
+ n = { mimeType: t ?? ye, naturalSize: l, asUrl: i, asSVGText: a };
722
726
  } catch {
723
727
  }
724
728
  };
725
- if (t === we ? await o() : t.startsWith("image/") ? await r() : (await r(), n || await o()), !n) throw new Error("Failed to load image");
729
+ if (t === ye ? await o() : t.startsWith("image/") ? await r() : (await r(), n || await o()), !n) throw new Error("Failed to load image");
726
730
  return n;
727
731
  } }, Symbol.toStringTag, { value: "Module" }));
728
- var Je, He;
729
- (He = Je || (Je = {})).resolveTypedUpdates = (e, t, n, r) => {
732
+ var He, Xe;
733
+ (Xe = He || (He = {})).resolveTypedUpdates = (e, t, n, r) => {
730
734
  if (e === null) return e;
731
735
  if (e === void 0) return r;
732
736
  let o = e;
733
737
  if (t?.shorthand) {
734
- const u = t?.shorthand(e, n);
735
- u !== void 0 && (o = u);
738
+ const c = t?.shorthand(e, n);
739
+ c !== void 0 && (o = c);
736
740
  }
737
741
  if (o !== null && t?.getSubType) {
738
- const u = t.getSubType(o);
739
- u && (t = u);
742
+ const c = t.getSubType(o);
743
+ c && (t = c);
740
744
  }
741
745
  const a = t?.properties, i = t?.arrayType ?? !1;
742
746
  let l = o;
743
747
  if (t && t.merge && l && r) l = t.merge(l, r, n);
744
748
  else if (!i && a) {
745
- const u = Object.keys({ ...o, ...r });
749
+ const c = Object.keys({ ...o, ...r });
746
750
  l = null;
747
- const p = u.length;
751
+ const p = c.length;
748
752
  for (let w = 0; w < p; w++) {
749
- const g = u[w];
753
+ const g = c[w];
750
754
  let f, y = o[g];
751
755
  if (y !== void 0) {
752
756
  const x = a[g];
753
- f = x ? (0, He.resolveTypedUpdates)(y, x, n, r?.[g]) : y;
757
+ f = x ? (0, Xe.resolveTypedUpdates)(y, x, n, r?.[g]) : y;
754
758
  } else f = r?.[g];
755
759
  f != null && (l = l ?? {}, l[g] = f);
756
760
  }
757
761
  }
758
762
  return l;
759
763
  };
760
- const Xe = \`The Safari browser does not support advanced copy and paste.
764
+ const Ze = \`The Safari browser does not support advanced copy and paste.
761
765
  Copy and paste will be limited to within the browser tab.
762
766
 
763
- Please use Chrome or Edge if external copy and paste is required.\`, ye = \`You do not have permissions to access the clipboard.
764
- All copy and paste operations will be limited to the browser tab.\`, mt = { Safari: \`The Safari browser does not support advanced copy and paste.
767
+ Please use Chrome or Edge if external copy and paste is required.\`, ge = \`You do not have permissions to access the clipboard.
768
+ All copy and paste operations will be limited to the browser tab.\`, wt = { Safari: \`The Safari browser does not support advanced copy and paste.
765
769
  Copy and paste will be limited to within the browser tab.
766
770
 
767
- Please use Chrome or Edge if external copy and paste is required.\`, Perms: ye, PermsWrite: oe() === k.Safari ? Xe : ye, PermsRead: oe() === k.Safari ? Xe : ye }, ge = async () => new Promise((e) => {
771
+ Please use Chrome or Edge if external copy and paste is required.\`, Perms: ge, PermsWrite: oe() === k.Safari ? Ze : ge, PermsRead: oe() === k.Safari ? Ze : ge }, be = async () => new Promise((e) => {
768
772
  document.hasFocus() ? e() : globalThis.addEventListener?.("focus", () => {
769
773
  e();
770
774
  }, { once: !0 }), document.activeElement.focus?.();
771
- }), be = async (e, t, n) => {
772
- if (oe() === k.Safari) return await n(new Error(mt.Safari));
775
+ }), Ee = async (e, t, n) => {
776
+ if (oe() === k.Safari) return await n(new Error(wt.Safari));
773
777
  try {
774
778
  const r = async (i) => {
775
779
  try {
@@ -784,7 +788,7 @@ Please use Chrome or Edge if external copy and paste is required.\`, Perms: ye,
784
788
  } catch (r) {
785
789
  return r.message === "No valid data on clipboard" || r.name === "DataError" ? void 0 : await n(r);
786
790
  }
787
- }, wt = async (e) => {
791
+ }, yt = async (e) => {
788
792
  try {
789
793
  return await e.read({ unsanitized: [S.html] });
790
794
  } catch {
@@ -792,7 +796,7 @@ Please use Chrome or Edge if external copy and paste is required.\`, Perms: ye,
792
796
  return await e.read();
793
797
  }, zt = async (e, t) => {
794
798
  if (!e) return null;
795
- const n = await wt(e);
799
+ const n = await yt(e);
796
800
  let r = !1;
797
801
  for (let o = 0; !r && n && o < n.length; o++) if (r = n[o].types.includes(t), r)
798
802
  return await n[o].getType(t);
@@ -805,9 +809,9 @@ if (!globalThis.ClipboardItem) {
805
809
  this._items = {}, this._types = Object.keys(r);
806
810
  const a = {}, i = Object.keys(r);
807
811
  for (let l = 0; l < i.length; l++) {
808
- const u = i[l];
809
- let p = r[u];
810
- a[u] = typeof p == "string" ? e(u, p) : p;
812
+ const c = i[l];
813
+ let p = r[c];
814
+ a[c] = typeof p == "string" ? e(c, p) : p;
811
815
  }
812
816
  this._items = a, this._presentationStyle = o?.presentationStyle ?? "unspecified";
813
817
  }
@@ -823,7 +827,7 @@ if (!globalThis.ClipboardItem) {
823
827
  }
824
828
  globalThis.ClipboardItem = t;
825
829
  }
826
- const ve = async (e, t = S.html) => new Promise(async (n, r) => {
830
+ const Te = async (e, t = S.html) => new Promise(async (n, r) => {
827
831
  try {
828
832
  const o = await zt(e, t);
829
833
  if (o) {
@@ -837,8 +841,8 @@ const ve = async (e, t = S.html) => new Promise(async (n, r) => {
837
841
  } catch (o) {
838
842
  r(o);
839
843
  }
840
- }), Ze = async (e, t = S.html) => {
841
- const n = await ve(e, t);
844
+ }), Qe = async (e, t = S.html) => {
845
+ const n = await Te(e, t);
842
846
  if (!n) return null;
843
847
  let r = null;
844
848
  try {
@@ -849,7 +853,7 @@ const ve = async (e, t = S.html) => new Promise(async (n, r) => {
849
853
  return r;
850
854
  }, Kt = async (e) => {
851
855
  e && await e.writeText("");
852
- }, ae = "clipboard-uuid", Q = "web text/uuid", Qe = (e) => \`<div style="display:none" \${ae}="\${e}"/>\`, Vt = (e, t) => {
856
+ }, ae = "clipboard-uuid", Q = "web text/uuid", et = (e) => \`<div style="display:none" \${ae}="\${e}"/>\`, Vt = (e, t) => {
853
857
  let n = null;
854
858
  try {
855
859
  const r = new DOMParser().parseFromString(t, S.html);
@@ -858,7 +862,7 @@ const ve = async (e, t = S.html) => new Promise(async (n, r) => {
858
862
  console.warn("Can't embed uuid.", r);
859
863
  }
860
864
  return n;
861
- }, et = (e, t) => {
865
+ }, tt = (e, t) => {
862
866
  if (!t || !e) return !1;
863
867
  try {
864
868
  const n = t.querySelectorAll(\`[\${ae}="\${e}"]\`);
@@ -869,7 +873,7 @@ const ve = async (e, t = S.html) => new Promise(async (n, r) => {
869
873
  return !1;
870
874
  }
871
875
  };
872
- class tt {
876
+ class nt {
873
877
  constructor(t) {
874
878
  if (t?.nativeClipboard === void 0 || t?.nativeClipboard === !0) try {
875
879
  this._nativeClipboard = globalThis?.navigator.clipboard;
@@ -880,12 +884,12 @@ class tt {
880
884
  this._disableCheckOnFocus = t?.disableCheckOnFocus ?? !1, this._init();
881
885
  }
882
886
  async _checkForChanges() {
883
- this._nativeClipboard && this._state && !this._disableCheckOnFocus && await be("clipboard-read", async () => {
884
- await ge();
885
- const t = await ve(this._nativeClipboard, Q);
887
+ this._nativeClipboard && this._state && !this._disableCheckOnFocus && await Ee("clipboard-read", async () => {
888
+ await be();
889
+ const t = await Te(this._nativeClipboard, Q);
886
890
  if (!this._state || t && t === this._state.uuid) return !0;
887
- const n = await Ze(this._nativeClipboard, S.html);
888
- return !this._state || (et(this._state.uuid, n) || this.clear(), !0);
891
+ const n = await Qe(this._nativeClipboard, S.html);
892
+ return !this._state || (tt(this._state.uuid, n) || this.clear(), !0);
889
893
  }, async (t) => {
890
894
  t?.message === "denied" || t.message?.includes("Document is not focused") || oe() === k.Safari || console.warn("Unable to detect clipboard changes: ", t);
891
895
  });
@@ -903,14 +907,14 @@ class tt {
903
907
  async read() {
904
908
  if (!this._nativeClipboard) return this._state?.items ?? null;
905
909
  const t = this;
906
- return await be("clipboard-read", async () => {
907
- if (await ge(), this._state?.uuid) {
908
- const n = await ve(this._nativeClipboard, Q);
910
+ return await Ee("clipboard-read", async () => {
911
+ if (await be(), this._state?.uuid) {
912
+ const n = await Te(this._nativeClipboard, Q);
909
913
  if (n && n === t._state.uuid) return !0;
910
- const r = await Ze(this._nativeClipboard, S.html);
911
- if (et(t._state?.uuid, r)) return !0;
914
+ const r = await Qe(this._nativeClipboard, S.html);
915
+ if (tt(t._state?.uuid, r)) return !0;
912
916
  }
913
- return t._state = { items: await wt(this._nativeClipboard), uuid: null, ref: null }, this.dispatchEvent(new Event("clipboardread")), !0;
917
+ return t._state = { items: await yt(this._nativeClipboard), uuid: null, ref: null }, this.dispatchEvent(new Event("clipboardread")), !0;
914
918
  }, async (n) => {
915
919
  this.dispatchEvent(new Event("clipboarderrorread"));
916
920
  }), this._state?.items ?? [];
@@ -925,31 +929,31 @@ class tt {
925
929
  const i = () => {
926
930
  n._state = { uuid: o, ref: t.ref, items: r }, n.dispatchEvent(new Event("clipboardwrite")), n.dispatchEvent(new Event("clipboardchange"));
927
931
  };
928
- await be("clipboard-write", async () => {
929
- await ge(), o && a.length === 0 && (a.push(new ClipboardItem({ [Q]: new Blob([o], { type: Q }) })), a.push(new ClipboardItem({ [S.html]: new Blob([Qe(o)], { type: S.html }) })));
932
+ await Ee("clipboard-write", async () => {
933
+ await be(), o && a.length === 0 && (a.push(new ClipboardItem({ [Q]: new Blob([o], { type: Q }) })), a.push(new ClipboardItem({ [S.html]: new Blob([et(o)], { type: S.html }) })));
930
934
  for (let l = 0; l < Math.min(1, a.length); l++) {
931
- const u = a[l];
932
- let p = u.types.indexOf(S.html), w = null;
935
+ const c = a[l];
936
+ let p = c.types.indexOf(S.html), w = null;
933
937
  if (p !== -1) {
934
- const y = await u.getType(S.html);
935
- w = await Ce(y), w && (w = Vt(o, w));
938
+ const y = await c.getType(S.html);
939
+ w = await ve(y), w && (w = Vt(o, w));
936
940
  }
937
- if (!w && u.types.includes(S.plain)) {
938
- const y = await u.getType(S.plain);
941
+ if (!w && c.types.includes(S.plain)) {
942
+ const y = await c.getType(S.plain);
939
943
  if (y) {
940
944
  let x = null;
941
- typeof y == "string" ? (console.warn("text as string", y), x = y) : x = await Ce(y), x && (w = \`<div \${ae}="\${o}">\${x}</div>\`);
945
+ typeof y == "string" ? (console.warn("text as string", y), x = y) : x = await ve(y), x && (w = \`<div \${ae}="\${o}">\${x}</div>\`);
942
946
  }
943
947
  }
944
- if (!w && u.types.includes(S.png)) {
945
- const y = await u.getType(S.png), x = ft(await y.arrayBuffer());
946
- w = \`<div \${ae}="\${o}"><img src="\${pt + x}"/></div>\`;
948
+ if (!w && c.types.includes(S.png)) {
949
+ const y = await c.getType(S.png), x = pt(await y.arrayBuffer());
950
+ w = \`<div \${ae}="\${o}"><img src="\${ht + x}"/></div>\`;
947
951
  }
948
- !w && o && (w = Qe(o));
952
+ !w && o && (w = et(o));
949
953
  const g = new Blob([w ?? ""], { type: S.html }), f = {};
950
- for (let y = 0; y < u.types.length; y++) {
951
- const x = u.types[y];
952
- f[x] = y === p ? g : u.getType(x);
954
+ for (let y = 0; y < c.types.length; y++) {
955
+ const x = c.types[y];
956
+ f[x] = y === p ? g : c.getType(x);
953
957
  }
954
958
  w && p === -1 && (f[S.html] = g), o && (f[Q] = new Blob([o], { type: Q })), r.push(new ClipboardItem(f));
955
959
  }
@@ -1040,11 +1044,11 @@ class tt {
1040
1044
  globalThis.removeEventListener?.("focus", this._onFocus), globalThis.removeEventListener?.("blur", this._onBlur);
1041
1045
  }
1042
1046
  }
1043
- var Ee;
1044
- (Ee = tt || (tt = {})).ErrorMessages = mt, Ee.Global = new Ee();
1045
- const Gt = "__SHEETXL";
1047
+ var Se;
1048
+ (Se = nt || (nt = {})).ErrorMessages = wt, Se.Global = new Se();
1049
+ const qt = "__SHEETXL";
1046
1050
  let ee = null, le = null;
1047
- async function qt() {
1051
+ async function Gt() {
1048
1052
  if (ee)
1049
1053
  return ee;
1050
1054
  if (le) {
@@ -1071,9 +1075,9 @@ const Wt = {
1071
1075
  target: "esnext"
1072
1076
  }
1073
1077
  };
1074
- async function Yt(e, t, n = "/script.js", r = Gt) {
1078
+ async function Yt(e, t, n = "/script.js", r = qt) {
1075
1079
  try {
1076
- const o = await qt(), a = "@sheetxl/primitives", i = \`
1080
+ const o = await Gt(), a = "@sheetxl/primitives", i = \`
1077
1081
  export const FormulaContext = globalThis.\${r}?.FormulaContext;
1078
1082
  export const ScalarType = globalThis.\${r}?.ScalarType;
1079
1083
  export const Observable = globalThis.\${r}?.Observable;
@@ -1108,7 +1112,7 @@ async function Yt(e, t, n = "/script.js", r = Gt) {
1108
1112
  };
1109
1113
  });
1110
1114
  }
1111
- }, u = await o.build({
1115
+ }, c = await o.build({
1112
1116
  entryPoints: [n],
1113
1117
  // Use the virtual entry point
1114
1118
  bundle: !0,
@@ -1131,9 +1135,9 @@ async function Yt(e, t, n = "/script.js", r = Gt) {
1131
1135
  platform: "neutral"
1132
1136
  // not really needed
1133
1137
  });
1134
- if (u.outputFiles && u.outputFiles.length > 0)
1135
- return u.outputFiles[0].text;
1136
- throw u.errors && u.errors.length > 0 ? new Error(\`esbuild bundling failed: \${u.errors.map((p) => p.text).join(\`
1138
+ if (c.outputFiles && c.outputFiles.length > 0)
1139
+ return c.outputFiles[0].text;
1140
+ throw c.errors && c.errors.length > 0 ? new Error(\`esbuild bundling failed: \${c.errors.map((p) => p.text).join(\`
1137
1141
  \`)}\`) : new Error("esbuild did not produce an output file.");
1138
1142
  } catch (o) {
1139
1143
  throw console.error("esbuild bundling process failed:", o), o;
@@ -1156,16 +1160,16 @@ interface Promise<T> {
1156
1160
  interface FirstTest {
1157
1161
  isTrue?: boolean;
1158
1162
  }
1159
- \`, Xt = async () => Ht, yt = /* @__PURE__ */ new Map([
1163
+ \`, Xt = async () => Ht, gt = /* @__PURE__ */ new Map([
1160
1164
  ["IReferenceRange", "r"],
1161
1165
  ["IRange", "l"]
1162
- ]), gt = /* @__PURE__ */ new Map([
1166
+ ]), bt = /* @__PURE__ */ new Map([
1163
1167
  ["IWorkbook", "workbook"],
1164
1168
  ["ISheet", "sheet"],
1165
1169
  ["ICellRanges", "ranges"],
1166
1170
  ["ICellRange", "range"],
1167
1171
  ["IFormulaContext", "context"]
1168
- ]), _e = (e, t) => {
1172
+ ]), Oe = (e, t) => {
1169
1173
  Array.from(t.keys()).forEach((r) => {
1170
1174
  const o = t.get(r);
1171
1175
  t.set(\`\${e}.\${r}\`, o);
@@ -1177,10 +1181,10 @@ interface Promise<T> {
1177
1181
  ["JSON", "JSON"]
1178
1182
  ]), Qt = /* @__PURE__ */ new Map([
1179
1183
  // Repeating
1180
- ]), Oe = "SheetXL";
1181
- _e(Oe, yt);
1182
- _e(Oe, gt);
1183
- _e(Oe, Qt);
1184
+ ]), Ie = "SheetXL";
1185
+ Oe(Ie, gt);
1186
+ Oe(Ie, bt);
1187
+ Oe(Ie, Qt);
1184
1188
  const en = /* @__PURE__ */ new Map([
1185
1189
  ["Promise", () => ({ async: !0 })],
1186
1190
  // ['PromiseLike', (): Partial<IFunction.ReturnTypeJSON> => {
@@ -1210,7 +1214,7 @@ async function nn(e) {
1210
1214
  //import('typescript'), // when bundled, but node check causes issues. We could bundle replace isNode but felt hacky
1211
1215
  tn()
1212
1216
  ], o = await Promise.all(r), a = o[0], i = o[1];
1213
- let l = "", u = null;
1217
+ let l = "", c = null;
1214
1218
  const p = [], w = {
1215
1219
  allowJs: !0,
1216
1220
  declaration: !1,
@@ -1247,7 +1251,7 @@ async function nn(e) {
1247
1251
  \`
1248
1252
  }, U = i.createProgram([f, x], w, D), I = U.getTypeChecker(), J = U.getSourceFile(f), E = U.emit();
1249
1253
  E.diagnostics.length > 0 && console.warn(E.diagnostics), l = A[\`\${g}.js\`];
1250
- const c = (s, m, L, P) => {
1254
+ const u = (s, m, L, P) => {
1251
1255
  if (!s) {
1252
1256
  $(s, new Error(\`Type is not defined for '\${m?.name ?? "return"}'.\`));
1253
1257
  return;
@@ -1274,15 +1278,15 @@ async function nn(e) {
1274
1278
  $(s, new Error(\`'Array' must be typed: '\${s?.parent?.name?.escapedText}'.\`));
1275
1279
  return;
1276
1280
  }
1277
- m.arrayDepth = (m.arrayDepth ?? 0) + 1, c(M, m, L, P);
1281
+ m.arrayDepth = (m.arrayDepth ?? 0) + 1, u(M, m, L, P);
1278
1282
  } else if (s.kind !== i.SyntaxKind.TupleType) {
1279
1283
  if (s.kind === i.SyntaxKind.TypeReference) {
1280
- const M = s.typeName?.getText?.() ?? null, K = yt.get(M);
1284
+ const M = s.typeName?.getText?.() ?? null, K = gt.get(M);
1281
1285
  let V = !1;
1282
1286
  K && (m.range = K, V = !0);
1283
- const G = Zt.get(M);
1284
- if (G && (m.scalar = G), G !== void 0 && (V = !0), P) {
1285
- const R = gt.get(M);
1287
+ const q = Zt.get(M);
1288
+ if (q && (m.scalar = q), q !== void 0 && (V = !0), P) {
1289
+ const R = bt.get(M);
1286
1290
  if (R)
1287
1291
  return R;
1288
1292
  } else {
@@ -1307,7 +1311,7 @@ async function nn(e) {
1307
1311
  $(s, new Error(\`'\${M}' must be typed with exactly 1 type: '\${s?.parent?.name?.escapedText}'.\`));
1308
1312
  return;
1309
1313
  }
1310
- c(H[0], m, L, P);
1314
+ u(H[0], m, L, P);
1311
1315
  }
1312
1316
  }
1313
1317
  }
@@ -1327,14 +1331,14 @@ async function nn(e) {
1327
1331
  R = R.replace(/[\\r\\n]+/g, "\\\\n").trim(), L.summary = R;
1328
1332
  }
1329
1333
  const V = {};
1330
- c(s.type, V, m, !1), m.returnType = V;
1331
- const G = {};
1332
- fe(s) && (G.default = !0, u = P), Object.keys(G).length > 0 && (m.behavior = G), m.parameters = [];
1334
+ u(s.type, V, m, !1), m.returnType = V;
1335
+ const q = {};
1336
+ fe(s) && (q.default = !0, c = P), Object.keys(q).length > 0 && (m.behavior = q), m.parameters = [];
1333
1337
  const H = /* @__PURE__ */ new Map();
1334
1338
  for (let R = 0; R < s.parameters.length; R++) {
1335
1339
  const b = s.parameters[R], N = {};
1336
1340
  N.name = b.name?.getText();
1337
- const X = c(b.type, N, m, !0);
1341
+ const X = u(b.type, N, m, !0);
1338
1342
  if (X) {
1339
1343
  if (m.parameters.length !== 0) {
1340
1344
  const F = s?.parent?.name?.getText();
@@ -1355,8 +1359,8 @@ async function nn(e) {
1355
1359
  b.dotDotDotToken && (N.rest = !0), m.parameters.push(N);
1356
1360
  const C = { description: "" };
1357
1361
  L.parameters[N.name] = C;
1358
- const q = I.getSymbolAtLocation(b.name).getDocumentationComment(I);
1359
- q && q.length > 0 && q[0].text && (C.description = q[0].text), v !== void 0 && (C.defaultValue = v), H.set(N.name, N);
1362
+ const G = I.getSymbolAtLocation(b.name).getDocumentationComment(I);
1363
+ G && G.length > 0 && G[0].text && (C.description = G[0].text), v !== void 0 && (C.defaultValue = v), H.set(N.name, N);
1360
1364
  }
1361
1365
  if (s.jsDoc && s.jsDoc.length > 0) {
1362
1366
  const R = s.jsDoc;
@@ -1369,14 +1373,14 @@ async function nn(e) {
1369
1373
  if (!v) continue;
1370
1374
  v = v.toLowerCase();
1371
1375
  let C = z.comment;
1372
- const q = v === "hidden";
1373
- if (!(typeof C != "string" && !q) && (typeof C == "string" && (C = C.replace(/[\\r\\n]+/g, "\\\\n").trim()), !(!q && C && (C = C.split(/\\\\n/)[0], !C || C.length === 0)))) {
1376
+ const G = v === "hidden";
1377
+ if (!(typeof C != "string" && !G) && (typeof C == "string" && (C = C.replace(/[\\r\\n]+/g, "\\\\n").trim()), !(!G && C && (C = C.split(/\\\\n/)[0], !C || C.length === 0)))) {
1374
1378
  if (C && typeof C == "string") {
1375
1379
  const O = /\\{@link(code|plain)?\\s+([^}|]+)(?:\\s*\\|\\s*([^}]+))?\\}/g;
1376
1380
  let F, Z = C, te = [];
1377
1381
  for (; (F = O.exec(C)) !== null; ) {
1378
- const [pe, he, Et, Ne] = F, St = [Et.trim()];
1379
- Ne && St.push(Ne.trim());
1382
+ const [pe, he, St, Re] = F, xt = [St.trim()];
1383
+ Re && xt.push(Re.trim());
1380
1384
  }
1381
1385
  C = Z, te.length > 0 && v === "see" && (L.links || (L.links = []), L.links.push(...te));
1382
1386
  }
@@ -1431,22 +1435,22 @@ async function nn(e) {
1431
1435
  throw console.warn(B), new Error("There were compilation errors.", { cause: B });
1432
1436
  if (p.length === 0)
1433
1437
  throw new Error("No exported functions.");
1434
- const bt = \`\${$t.uuidV4()}-script\`;
1438
+ const Et = \`\${$t.uuidV4()}-script\`;
1435
1439
  try {
1436
1440
  !n && B.length === 0 && (l = await Yt(i, l, g));
1437
1441
  } catch {
1438
1442
  console.warn("Error bundling script");
1439
1443
  }
1440
- const Ie = {
1444
+ const Ne = {
1441
1445
  functions: p,
1442
- commitId: bt,
1446
+ commitId: Et,
1443
1447
  source: t,
1444
1448
  name: "Script",
1445
1449
  language: "typescript",
1446
1450
  // default
1447
1451
  compiled: l
1448
1452
  };
1449
- return u && (Ie.autoRun = u), Ie;
1453
+ return c && (Ne.autoRun = c), Ne;
1450
1454
  }
1451
1455
  self.addEventListener("message", async (e) => {
1452
1456
  const { id: t, params: n } = e.data;
@@ -1505,4 +1509,4 @@ var ln = /* @__PURE__ */ Object.freeze({
1505
1509
  __proto__: null,
1506
1510
  initialize: an
1507
1511
  });
1508
- `,i=typeof self<"u"&&self.Blob&&new Blob(["URL.revokeObjectURL(import.meta.url);",s],{type:"text/javascript;charset=utf-8"});function d(e){let n;try{if(n=i&&(self.URL||self.webkitURL).createObjectURL(i),!n)throw"";const t=new Worker(n,{type:"module",name:e?.name});return t.addEventListener("error",()=>{(self.URL||self.webkitURL).revokeObjectURL(n)}),t}catch{return new Worker("data:text/javascript;charset=utf-8,"+encodeURIComponent(s),{type:"module",name:e?.name})}}const l=async()=>{const{compileModule:e}=await Promise.resolve().then(()=>require("./Cz4OiBFPd7Yw_Acp.cjs")),n=new u(t=>e(t));return await n.start(),n};exports.createCompilerWorker=async function(){if(typeof process<"u"&&process.versions?.node&&typeof Worker>"u")return await l();if(typeof Worker<"u"){const e=new c(()=>new d);try{return await e.start(),e}catch(n){console.error("Failed to start TypescriptCompiler worker reverting to fallback:",n)}}return await l()};
1512
+ `,i=typeof self<"u"&&self.Blob&&new Blob(["URL.revokeObjectURL(import.meta.url);",s],{type:"text/javascript;charset=utf-8"});function d(e){let n;try{if(n=i&&(self.URL||self.webkitURL).createObjectURL(i),!n)throw"";const t=new Worker(n,{type:"module",name:e?.name});return t.addEventListener("error",()=>{(self.URL||self.webkitURL).revokeObjectURL(n)}),t}catch{return new Worker("data:text/javascript;charset=utf-8,"+encodeURIComponent(s),{type:"module",name:e?.name})}}const l=async()=>{const{compileModule:e}=await Promise.resolve().then(()=>require("./BlLQA3N-dVogR5AL.cjs")),n=new u(t=>e(t));return await n.start(),n};exports.createCompilerWorker=async function(){if(typeof process<"u"&&process.versions?.node&&typeof Worker>"u")return await l();if(typeof Worker<"u"){const e=new c(()=>new d);try{return await e.start(),e}catch(n){console.error("Failed to start TypescriptCompiler worker reverting to fallback:",n)}}return await l()};