@sheetxl/studio-vanilla 0.7.2 → 0.7.4

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/{tAQ8ynkWge4wOgYz.cjs → 8ORcPDrnyLtyRBC5.cjs} +4 -4
  2. package/browser/cjs/{WoKc4K_4RIU3ciM4.cjs → 8gwQqoquag37n7A4.cjs} +1 -1
  3. package/browser/cjs/{0xZaW8IXfmN9CdOY.cjs → 9YNUOzk1ChRHaQ0A.cjs} +1 -1
  4. package/browser/cjs/{qaCoVlKEYbGk9Tqd.cjs → A4yAgzK3Yi1hFoyF.cjs} +1 -1
  5. package/browser/cjs/{B74CYOTROrzYrxzb.cjs → B0Z0aRvslQ-luY7V.cjs} +2 -2
  6. package/browser/cjs/{BaCL4SywKL_MRWB3.cjs → B13vFaAy_2-LVET-.cjs} +1 -1
  7. package/browser/cjs/{D6JCF-VcFYHjJwSo.cjs → B2LQcZ92fWIJv2Gz.cjs} +1 -1
  8. package/browser/cjs/{EU7_mHgKH5vka7H8.cjs → B3C8eQFrLaL-fvH-.cjs} +23 -23
  9. package/browser/cjs/{k5QxXqB6_DGHKlbu.cjs → B47DWuTo-MqQ3jZz.cjs} +1 -1
  10. package/browser/cjs/{tiLC1pjWjzfWUm8X.cjs → B4foheVEUqSBFEkt.cjs} +1 -1
  11. package/browser/cjs/{PlCnIIYOcSprBGC5.cjs → B7MW5qdFHlXONQ6l.cjs} +2 -2
  12. package/browser/cjs/{FJ3mIQn7VY9GY22I.cjs → BNPrWaUmde-C-8Vx.cjs} +1 -1
  13. package/browser/cjs/{B1Z1xpkromy-czPe.cjs → BeOgEB1ihIJx02Af.cjs} +1 -1
  14. package/browser/cjs/{ClSF7YFaazHqAjnr.cjs → BgSDdeTv_xCIgBGD.cjs} +3 -3
  15. package/browser/cjs/{CSi4QGULUCdxSEbO.cjs → BlswEA5cHtxUqfLX.cjs} +2 -2
  16. package/browser/cjs/{TjH9kpedZhA38omO.cjs → BprNr_E9PJXMBdn3.cjs} +1 -1
  17. package/browser/cjs/{0JlIcUEueXhYyWNb.cjs → BrKvmHqdJp6qNOFB.cjs} +1 -1
  18. package/browser/cjs/{Bd2qyoxjnwrGhidp.cjs → ByA09xUI5G9YbxMz.cjs} +1 -1
  19. package/browser/cjs/{eG5JEAxSYONX-z9E.cjs → Bzqv14cPgkvKImRH.cjs} +1 -1
  20. package/browser/cjs/{lPSISi0qOjKDaqKy.cjs → C23bIG7E2r_Q0RAj.cjs} +3 -3
  21. package/browser/cjs/{DpZr7a_2HXVTydVH.cjs → C7GKCVS4tFPkLsu7.cjs} +1 -1
  22. package/browser/cjs/{BhifORO0sSYZAGwS.cjs → CAiDHxx6Gd0WmW60.cjs} +2 -2
  23. package/browser/cjs/{B5EGVpRROPipVKYS.cjs → CBNecyEra54crLep.cjs} +2 -2
  24. package/browser/cjs/{CfsbrfL6VcFwp3yu.cjs → CTT_jzhLio55PSMa.cjs} +4 -4
  25. package/browser/cjs/{Xg5oSKbplTfPt9TS.cjs → CWOIza8vwfNX5KIr.cjs} +1 -1
  26. package/browser/cjs/{XGegLQpr6FukJd8l.cjs → Cd4lc7sbp3kKfIbA.cjs} +2 -2
  27. package/browser/cjs/Cfr9LxunC2fgJtM2.cjs +11 -0
  28. package/browser/cjs/{BpHhfGxWIyW3QtUV.cjs → ChIk2dRWK_RpFnZl.cjs} +3 -3
  29. package/browser/cjs/{Bw1q6Sd1c2hMtOOR.cjs → CwsdwMi5Xs8b4Yhg.cjs} +1 -1
  30. package/browser/cjs/{C0RmPXQ-rfYPoI8u.cjs → D0ApB39VH979ZUCx.cjs} +1 -1
  31. package/browser/cjs/{CXeKLqjkMQXO9KhH.cjs → D3tIyPRHWxjXZjiu.cjs} +383 -383
  32. package/browser/cjs/{CIfWv7rMa38q6f0L.cjs → D4llH4xbqGzmuVYe.cjs} +1 -1
  33. package/browser/cjs/{x1FSXsaFxE99cok0.cjs → D6Gix9vU3zy6x0wx.cjs} +1 -1
  34. package/browser/cjs/{CU-2PUL6JBlRtpQz.cjs → D6RF346wXtLKkoJ-.cjs} +2 -2
  35. package/browser/cjs/{BGvpDHFhSuRHs5RO.cjs → D6pv0GOQycMcOyhu.cjs} +1 -1
  36. package/browser/cjs/{4iZvavwvmn0rhTxn.cjs → D80cB8tOFfQNF4oS.cjs} +2 -2
  37. package/browser/cjs/{RH9GrgAyL3AAYwDp.cjs → DAJLF0E4eUH-LX9t.cjs} +3 -3
  38. package/browser/cjs/{DYTBVHRt3b8uHzM4.cjs → DEzEcMfZx0I-QgJj.cjs} +1 -1
  39. package/browser/cjs/{BBMg-qJB22lUyI41.cjs → DFAQXO44wRvSlwCZ.cjs} +1 -1
  40. package/browser/cjs/DH59epfNQumKG6UO.cjs +6 -0
  41. package/browser/cjs/{BBtYU1Q1kNbnpDcm.cjs → DHdO6HcI4UB6Ks3h.cjs} +2 -2
  42. package/browser/cjs/{BGIyPGNEf8Lomntm.cjs → DQrZ7_9M-BH9Zqhw.cjs} +2 -2
  43. package/browser/cjs/{DlGLLcGeYLhHqRio.cjs → DVATnEUJxTQMsLOO.cjs} +1 -1
  44. package/browser/cjs/{CZwxHnjJ9xcBwYhh.cjs → De082R33Q24Czdd2.cjs} +2 -2
  45. package/browser/cjs/{D-2WwHIUUqSp3Jbe.cjs → Dg0Zl23k4ZwHK5Nt.cjs} +2 -2
  46. package/browser/cjs/{DIgRd--9FST0IdEP.cjs → DnirKDgaxys3R_a-.cjs} +1 -1
  47. package/browser/cjs/{Bg1_-pUM6oUckREE.cjs → DsWfniauN1Pu2Go3.cjs} +1 -1
  48. package/browser/cjs/{BSt1tONeiSRPAxTq.cjs → JZZCpLEpsC2LCYHH.cjs} +2 -2
  49. package/browser/cjs/{C6ZZ6T47QGouz4MT.cjs → KuiK9SKQWvWBM3--.cjs} +1 -1
  50. package/browser/cjs/MD9O1VNhhdH5RoiA.cjs +330 -0
  51. package/browser/cjs/{DqdVPoFTOkXqFYex.cjs → Xzq847s6zAFUFWcq.cjs} +1 -1
  52. package/browser/cjs/{cwuDUx-2alalzUBH.cjs → dGtOlClU3aLzqX9G.cjs} +1 -1
  53. package/browser/cjs/index.cjs +2 -2
  54. package/browser/cjs/{B0Mu1GGQ-3S5CU7d.cjs → ipGL9YCfyze4LbQj.cjs} +1 -1
  55. package/browser/cjs/oGzYb3Ra2l_2M4Fe.cjs +6 -0
  56. package/browser/cjs/{Do19-WLGnRk0_G0n.cjs → pI4yZSOoBjkftfKX.cjs} +1 -1
  57. package/browser/cjs/{BCnTUuUuevu6nEnz.cjs → q1y9tq62y47f7mxy.cjs} +1 -1
  58. package/browser/cjs/{CvqGbL6eEY3I8Ngz.cjs → v9zKXidk5AvKGkz7.cjs} +1 -1
  59. package/browser/esm/{CTsw0yf5bt7k3qWG.mjs → 0egw9xufQUK5XQZ5.mjs} +1 -1
  60. package/browser/esm/{CMkLnAVjJHFvCzoy.mjs → 6dkX2k_H0PA_iz5X.mjs} +1 -1
  61. package/browser/esm/{DP8s7iNkbbF7Eyzy.mjs → B3ECMs0QjPnXbJEw.mjs} +8 -8
  62. package/browser/esm/{B3XZbvaXV3ApK7Hj.mjs → B4U-HbDDW978wKeB.mjs} +3 -3
  63. package/browser/esm/{BBy8UbGSHIyzdpFD.mjs → B7wG8K-M9ldv3InT.mjs} +1 -1
  64. package/browser/esm/{BmNiBXRAfKWNXpUU.mjs → B9wr_AwSb0JtPoMv.mjs} +1 -1
  65. package/{cdn/assets/BWIBOomtdE2_KipC.js → browser/esm/BDSX8FAyHcAmsE-T.mjs} +1 -1
  66. package/browser/esm/{BEUfHNnN047_s26K.mjs → BTM0pYbZvfLqBj6Z.mjs} +2 -2
  67. package/{cdn/assets/CzbSPQUDABjZq2LB.js → browser/esm/BVvwFIl1xvigNZTj.mjs} +1 -1
  68. package/browser/esm/{BhuEAPol3Fq5l-Ed.mjs → BfH0870g7ogWyWTa.mjs} +1 -1
  69. package/browser/esm/{OlERfm9IV34QhIcB.mjs → Bgcy7JI6AzSoovcw.mjs} +1 -1
  70. package/browser/esm/{DOO-RkJmD1NR6_zg.mjs → Bioh6T6jynIt2aBf.mjs} +6 -6
  71. package/{cdn/assets/BvJC5tqT7q6QPgCu.js → browser/esm/BkjhtLKdZkaleH6j.mjs} +1 -1
  72. package/browser/esm/{BOd0fYlpKE4x288Z.mjs → BrGzSkrQVV-CCVui.mjs} +1 -1
  73. package/browser/esm/{DEHBBNT-niL-b_Gk.mjs → BsryTthQuZrS1w0h.mjs} +3 -3
  74. package/browser/esm/{Bg9pBWj8BDzNBARl.mjs → BzCCXyLxR1Tx_PQ6.mjs} +3 -3
  75. package/browser/esm/{DQZdcvjVesxbx4Iz.mjs → BzXLeceeaODxxlsN.mjs} +3 -3
  76. package/browser/esm/{BC5GJS88mZlCHjBC.mjs → C1TJTYVoSUvCsI72.mjs} +2 -2
  77. package/{cdn/assets/B6Mkrs8lfI41-MPU.js → browser/esm/C2sR98LOxBBkEECx.mjs} +1 -1
  78. package/browser/esm/{Cj2l0rI_2jrxoxK6.mjs → C3ZYwFCm4zV0PV7L.mjs} +1 -1
  79. package/browser/esm/{DvMvZWbJczQmEH5x.mjs → C4aAJQZlcVwK7Bv7.mjs} +1 -1
  80. package/browser/esm/{FdbEVcOmGb_TmHq-.mjs → C4dAWyoYzg5AFxSE.mjs} +13 -13
  81. package/browser/esm/{aRXG05KxC17tAM80.mjs → CFey64nL6K_JDHyo.mjs} +1 -1
  82. package/browser/esm/{CxX8qCo5JpvXo2TY.mjs → CHOlVNulci003tpR.mjs} +4 -4
  83. package/browser/esm/{CUr9ZV_ouv-d4YYB.mjs → CKOpVcqPaB2s4dTb.mjs} +1 -1
  84. package/browser/esm/{Dy8tHZ6dLxW5HIp0.mjs → CR9jsRCQsHJO01J4.mjs} +14 -12
  85. package/browser/esm/{Ch7fEnJjTfELcHep.mjs → CSU3ycILp620z_i8.mjs} +2 -2
  86. package/browser/esm/CUq15BKQ0G25o03H.mjs +48 -0
  87. package/{cdn/assets/CYCnpu04mAcFdf_Y.js → browser/esm/Cb1GBW9E5GfRvhuS.mjs} +1 -1
  88. package/browser/esm/{CX2k7Kcrs0NuRmVS.mjs → CbiCECqtZzDk6jeR.mjs} +2 -2
  89. package/browser/esm/{D8OjAcM-gsYs2yUT.mjs → Ce3pCanMx2TnvT0I.mjs} +16 -16
  90. package/browser/esm/{B5uRTCAV-kZQhqT-.mjs → CfEvt84zrQGwFpt2.mjs} +1 -1
  91. package/browser/esm/{CX6oHKRuMxCtELBt.mjs → ChrPZQnuQU-qVVa1.mjs} +25 -25
  92. package/browser/esm/{bqYPGVfNa1RL62BS.mjs → CqxLzaP5z64d6Lx4.mjs} +1 -1
  93. package/browser/esm/{BGZHht2E8MyhXZkj.mjs → CrqJMWWEjzFZ-_Pk.mjs} +1 -1
  94. package/browser/esm/{Nk3XfWGh2n78qlN9.mjs → CzgyRT7Dh3AVKcWl.mjs} +1 -1
  95. package/{cdn/assets/CnGlSn8YFgEr-PNs.js → browser/esm/DKrP22W3r6dc2ll8.mjs} +1 -1
  96. package/browser/esm/{CxJUNyIFNYQB4t5O.mjs → DRVrzDz7nVU_faHO.mjs} +383 -383
  97. package/{cdn/assets/WBfvZdqvuzGXYHn5.js → browser/esm/DYqsn4bTq8tt9z2d.mjs} +1 -1
  98. package/browser/esm/{Dka3m7ki7rwK4dJr.mjs → DhT-2pf586yDvyqZ.mjs} +1 -1
  99. package/browser/esm/{Ck-NL9kdky7yymfq.mjs → DjtYK-s8g6tP0TRw.mjs} +2 -2
  100. package/browser/esm/{DVMjIpRMHwBoLb17.mjs → DswWgS_zGnCjt804.mjs} +5 -5
  101. package/browser/esm/{eZNYVnXio8MjaUQ3.mjs → DvaoVWL-VdS7k_i3.mjs} +2 -2
  102. package/{cdn/assets/CEKVD84oEReoCt7z.js → browser/esm/J_m4I2bQAeYSJPWS.mjs} +1 -1
  103. package/browser/esm/{ChyLU-qambE5Cer8.mjs → JgQgURqWEwvTv_wi.mjs} +1 -1
  104. package/{cdn/assets/DIfZkG6g0X7_frZk.js → browser/esm/NohZsi_dnB1kc2oI.mjs} +1 -1
  105. package/browser/esm/{C-959c3hdMZBTFub.mjs → P5B5SOdOUaZr99nj.mjs} +5 -5
  106. package/{cdn/assets/CplNLHZTwRjhkgtZ.js → browser/esm/UQSXr-cpRWqp8Ktj.mjs} +2 -2
  107. package/{cdn/assets/D3IGZGUCTa6yCgZz.js → browser/esm/VzlXiTXfqwuLrkgg.mjs} +1 -1
  108. package/browser/esm/{CMPSu64y8soBjhZi.mjs → YFMiozbFWZjo74Td.mjs} +1 -1
  109. package/browser/esm/{BT_-L-P67i6wQIlA.mjs → Z1fSZhtHNjC6OoN6.mjs} +15091 -14998
  110. package/{cdn/assets/ByIejS8Hi0JXEWOv.js → browser/esm/_N4vH5kWapbfarDc.mjs} +1 -1
  111. package/browser/esm/ee5ZMqTpvvsprimB.mjs +1480 -0
  112. package/browser/esm/index.mjs +2 -2
  113. package/browser/esm/{CIFlNJX1V1NqOSL4.mjs → ji2x5yzvwhn2JiFp.mjs} +1 -1
  114. package/browser/esm/{ClsM8HBeXD4VTfzr.mjs → m7fz1VY0WrHhVE1u.mjs} +1 -1
  115. package/browser/esm/{INsil9MokeRZA1Yk.mjs → uYFnTWRHS-M71aW3.mjs} +48 -48
  116. package/{cdn/assets/DjV-m93GXkWlTn7n.js → browser/esm/wrn_BUWuBI2ou-lE.mjs} +1 -1
  117. package/cdn/assets/{CTsw0yf5bt7k3qWG.js → 0egw9xufQUK5XQZ5.js} +1 -1
  118. package/cdn/assets/{CMkLnAVjJHFvCzoy.js → 6dkX2k_H0PA_iz5X.js} +1 -1
  119. package/cdn/assets/{iT6CIjmMLScvb29H.js → B4MTgKmMZcXoDlYG.js} +2 -2
  120. package/cdn/assets/{BBy8UbGSHIyzdpFD.js → B7wG8K-M9ldv3InT.js} +1 -1
  121. package/cdn/assets/{BmNiBXRAfKWNXpUU.js → B9wr_AwSb0JtPoMv.js} +1 -1
  122. package/{browser/esm/BWIBOomtdE2_KipC.mjs → cdn/assets/BDSX8FAyHcAmsE-T.js} +1 -1
  123. package/cdn/assets/{BBkojPuL0y3TpSwy.js → BFfLoUaapPcM_eb0.js} +10 -10
  124. package/cdn/assets/{DlMXEBT9RML19eig.js → BHyn4CasWPQ92Eud.js} +26 -26
  125. package/{browser/esm/CzbSPQUDABjZq2LB.mjs → cdn/assets/BVvwFIl1xvigNZTj.js} +1 -1
  126. package/cdn/assets/{CuvMveChV8ylcO8-.js → BZ1FXLdV7kLoj8S2.js} +4 -4
  127. package/cdn/assets/{jmUU32lmlRPz8MPG.js → BZpRwfavZD9rO_v8.js} +383 -383
  128. package/{browser/esm/DAMIsTTJipXpdZXr.mjs → cdn/assets/BeENppGCoF_AwA6g.js} +2 -2
  129. package/cdn/assets/{BhuEAPol3Fq5l-Ed.js → BfH0870g7ogWyWTa.js} +1 -1
  130. package/cdn/assets/{OlERfm9IV34QhIcB.js → Bgcy7JI6AzSoovcw.js} +1 -1
  131. package/{browser/esm/BvJC5tqT7q6QPgCu.mjs → cdn/assets/BkjhtLKdZkaleH6j.js} +1 -1
  132. package/cdn/assets/{B-NY3UwkHp7hcB2a.js → Bp1BVz04Xy4W95PB.js} +8 -8
  133. package/cdn/assets/{CFi1_-HF6o0f_bgN.js → BqbxC6sS2OoaM51Y.js} +2 -2
  134. package/cdn/assets/{BOd0fYlpKE4x288Z.js → BrGzSkrQVV-CCVui.js} +1 -1
  135. package/cdn/assets/{DCUHKQhPbhG9Ko0f.js → Bv7E-FgORAWOkyiV.js} +2 -2
  136. package/{browser/esm/B6Mkrs8lfI41-MPU.mjs → cdn/assets/C2sR98LOxBBkEECx.js} +1 -1
  137. package/cdn/assets/{Cj2l0rI_2jrxoxK6.js → C3ZYwFCm4zV0PV7L.js} +1 -1
  138. package/cdn/assets/{DvMvZWbJczQmEH5x.js → C4aAJQZlcVwK7Bv7.js} +1 -1
  139. package/cdn/assets/{aRXG05KxC17tAM80.js → CFey64nL6K_JDHyo.js} +1 -1
  140. package/cdn/assets/{CUr9ZV_ouv-d4YYB.js → CKOpVcqPaB2s4dTb.js} +1 -1
  141. package/cdn/assets/{Bi0XAZnOKm1BHMDJ.js → CR-xAI2miMYh-gdy.js} +8 -8
  142. package/cdn/assets/{xZ-_PIgqrJR6Aoid.js → CaHwS8usPT5gIFuY.js} +14 -14
  143. package/{browser/esm/CYCnpu04mAcFdf_Y.mjs → cdn/assets/Cb1GBW9E5GfRvhuS.js} +1 -1
  144. package/cdn/assets/{DtQSYkSfDiYViQ1O.js → CdoIc8OarIB8C5y3.js} +18 -18
  145. package/cdn/assets/{B5uRTCAV-kZQhqT-.js → CfEvt84zrQGwFpt2.js} +1 -1
  146. package/cdn/assets/{BGZHht2E8MyhXZkj.js → CrqJMWWEjzFZ-_Pk.js} +1 -1
  147. package/cdn/assets/{BsXEhnx6Qr_4QdIP.js → CvTBNZMoY5-DwtAb.js} +2 -2
  148. package/cdn/assets/CxFPsh5ojrvYoLqP.js +1480 -0
  149. package/cdn/assets/{Nk3XfWGh2n78qlN9.js → CzgyRT7Dh3AVKcWl.js} +1 -1
  150. package/cdn/assets/{DIEyT2RH6embCVJO.js → D4aEzWRsHbRiDZQf.js} +15040 -14947
  151. package/cdn/assets/{DQ50XfTma-DdAwis.js → D6gMyvRPXwYEpaiW.js} +1 -1
  152. package/cdn/assets/{Dow86PcQmdzy6Gnj.js → DAMni_kLlITX8qAW.js} +50 -50
  153. package/cdn/assets/{BCr6-n9xQFLepSiu.js → DK5o4bmDWZoxlyie.js} +3 -3
  154. package/{browser/esm/CnGlSn8YFgEr-PNs.mjs → cdn/assets/DKrP22W3r6dc2ll8.js} +1 -1
  155. package/cdn/assets/{Dte0EXhwPe4nCvzs.js → DMOM_dk7px3Id2fD.js} +16 -14
  156. package/cdn/assets/{C-HpMtCGF2w8z3PH.js → DTHfoEyAv88YJtid.js} +2 -2
  157. package/cdn/assets/{CmMyE3YjiPCRzfG3.js → DWxb-keKnWDZ32ov.js} +2 -2
  158. package/{browser/esm/WBfvZdqvuzGXYHn5.mjs → cdn/assets/DYqsn4bTq8tt9z2d.js} +1 -1
  159. package/cdn/assets/{C27-HwlEm9v_nrCF.js → DZSQDf-SlYIAnwqI.js} +2 -2
  160. package/cdn/assets/{Dka3m7ki7rwK4dJr.js → DhT-2pf586yDvyqZ.js} +1 -1
  161. package/cdn/assets/{DpnxBLL2_2DUDk1n.js → DuVOZ5CVHDzuF-Wf.js} +5 -5
  162. package/cdn/assets/{srvA2b1zeAqE3hcv.js → IQp8evg14s1_pMGI.js} +3 -3
  163. package/{browser/esm/CEKVD84oEReoCt7z.mjs → cdn/assets/J_m4I2bQAeYSJPWS.js} +1 -1
  164. package/cdn/assets/{ChyLU-qambE5Cer8.js → JgQgURqWEwvTv_wi.js} +1 -1
  165. package/cdn/assets/{D0HYcOC6ppNt4ce3.js → McZLFG7PefCrtXxD.js} +1 -1
  166. package/{browser/esm/DIfZkG6g0X7_frZk.mjs → cdn/assets/NohZsi_dnB1kc2oI.js} +1 -1
  167. package/cdn/assets/{BN3YW5jMoCIzAxFC.js → TAuxEP6K9MOe8hvY.js} +3 -3
  168. package/cdn/assets/{BzsKavCtfHdYMELA.js → UGRaW68kY1lQin4c.js} +3 -3
  169. package/{browser/esm/D3IGZGUCTa6yCgZz.mjs → cdn/assets/VzlXiTXfqwuLrkgg.js} +1 -1
  170. package/cdn/assets/{CMPSu64y8soBjhZi.js → YFMiozbFWZjo74Td.js} +1 -1
  171. package/{browser/esm/ByIejS8Hi0JXEWOv.mjs → cdn/assets/_N4vH5kWapbfarDc.js} +1 -1
  172. package/cdn/assets/ddSl0Ga-rXVB9Yci.js +22 -0
  173. package/cdn/assets/gRJ4OcAtWEBEGLJD.js +48 -0
  174. package/cdn/assets/{BDo8bFO59SyelftP.js → jeiAiNavXwDjx5bH.js} +17 -17
  175. package/cdn/assets/{CIFlNJX1V1NqOSL4.js → ji2x5yzvwhn2JiFp.js} +1 -1
  176. package/cdn/assets/{ClsM8HBeXD4VTfzr.js → m7fz1VY0WrHhVE1u.js} +1 -1
  177. package/cdn/assets/{uAVHmmDWOwppE6xE.js → mgzh0Oj545G9VFmY.js} +9 -9
  178. package/cdn/assets/{D4-e75z6d_DXa5pJ.js → pv07rmyN2zy5KZrb.js} +2 -2
  179. package/cdn/assets/{DSU1d5GvO21PLhGa.js → tbqH71TvrNeRjwAy.js} +3 -3
  180. package/{browser/esm/DjV-m93GXkWlTn7n.mjs → cdn/assets/wrn_BUWuBI2ou-lE.js} +1 -1
  181. package/cdn/index.js +2 -2
  182. package/cdn/loader.js +1 -1
  183. package/package.json +3 -3
  184. package/browser/cjs/BHYQEIDiXdpDprGm.cjs +0 -11
  185. package/browser/cjs/BiBsgEVyhyvZhFwd.cjs +0 -6
  186. package/browser/cjs/D-llMen45swGBAKB.cjs +0 -6
  187. package/browser/cjs/kEkuRcJueaS4LnSp.cjs +0 -330
  188. package/browser/esm/BVCbjrRaSItDIulh.mjs +0 -46
  189. package/browser/esm/CqnQiMz-oVs4I6T2.mjs +0 -1467
  190. package/cdn/assets/B79KMEbZmWkwjtwf.js +0 -22
  191. package/cdn/assets/Bno4lvuzSHzTGzBR.js +0 -46
  192. package/cdn/assets/CWJl6FF_2vyPvPWJ.js +0 -1467
@@ -1,10 +1,10 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.2
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.4
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 i=new Error(r.message);i.stack=r.stack,r.cause&&(i.cause=r.cause),o.reject(i)}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.2
7
+ * @license @sheetxl/primitives - Primitives - Base types for SheetXL functions. - v0.7.4
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.
@@ -40,7 +40,7 @@ var Re, ae, d;
40
40
  }
41
41
  }
42
42
  e.Known = t;
43
- class n extends t {
43
+ class r extends t {
44
44
  constructor(c, h) {
45
45
  super(e.Code.Parse, e.Label.Parse, c, h);
46
46
  }
@@ -52,8 +52,8 @@ var Re, ae, d;
52
52
  return { line: c?.line ?? 1, column: c?.column ?? 1, offset: c?.offset ?? 0, length: c?.length ?? 0 };
53
53
  }
54
54
  }
55
- e.Parse = n;
56
- class r extends t {
55
+ e.Parse = r;
56
+ class n extends t {
57
57
  constructor(c, h) {
58
58
  super(e.Code.Null, e.Label.Null, c, h);
59
59
  }
@@ -61,7 +61,7 @@ var Re, ae, d;
61
61
  this.code = e.Code.Null;
62
62
  }
63
63
  }
64
- e.Null = r;
64
+ e.Null = n;
65
65
  class o extends t {
66
66
  constructor(c, h) {
67
67
  super(e.Code.Div0, e.Label.Div0, c, h);
@@ -209,21 +209,21 @@ var Re, ae, 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(_);
212
+ const rt = /* @__PURE__ */ new Map(), Te = /* @__PURE__ */ new Map(), nt = /* @__PURE__ */ new Map(), ot = /* @__PURE__ */ new Map(), ke = Object.keys(_);
213
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);
216
- const r = new n();
217
- nt.set(r.getLabel(), r), Te.set(r.getCode(), r);
214
+ const t = ke[e], r = _[t];
215
+ nt.set(d.Label[t], r), ot.set(d.Code[t], r);
216
+ const n = new r();
217
+ rt.set(n.getLabel(), n), Te.set(n.getCode(), n);
218
218
  }
219
219
  const xt = Te.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) => {
222
- let r;
223
- return r = typeof e == "string" ? rt.get(e) : ot.get(e), r || (r = T.Unknown), new r(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, r) => {
222
+ let n;
223
+ return n = typeof e == "string" ? nt.get(e) : ot.get(e), n || (n = T.Unknown), new n(t, r);
224
224
  }, T.getBuiltInById = (e) => Te.get(e) || xt;
225
225
  /**
226
- * @license @sheetxl/utils - Utils - Utilities used by most SheetXL components. - v0.7.2
226
+ * @license @sheetxl/utils - Utils - Utilities used by most SheetXL components. - v0.7.4
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.
@@ -233,30 +233,30 @@ Object.freeze(Object.defineProperty({ __proto__: null, EmptyBounds: Tt, EmptyRec
233
233
  const j = { Column: "column", Row: "row" }, _t = Object.freeze({ colIndex: 0, rowIndex: 0 }), Ot = 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, at = (e, t) => e.rowStart === t.rowStart ? e.colStart - t.colStart : e.rowStart - t.rowStart, It = (e, t) => e.rowEnd === t.rowEnd ? t.colEnd - e.colEnd : t.rowEnd - e.rowEnd, Nt = (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 ? It : Nt : e !== j.Column ? at : it, 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) => {
234
234
  if (e === t) return !0;
235
235
  if (!e || !t || e.length !== t.length) return !1;
236
- for (let n = 0; n < e.length; n++) if (!Se(e[n], t[n])) return !1;
236
+ for (let r = 0; r < e.length; r++) if (!Se(e[r], t[r])) return !1;
237
237
  return !0;
238
- }, me = (e, t, n) => {
238
+ }, me = (e, t, r) => {
239
239
  if (!e && !t) return null;
240
- if (!e) return n ? t : { ...t };
241
- if (!t) return n ? e : { ...e };
242
- const r = Math.min(e.colStart, t.colStart), o = Math.min(e.rowStart, t.rowStart), i = Math.max(e.colEnd, t.colEnd), a = Math.max(e.rowEnd, t.rowEnd);
243
- let l = n;
244
- return l ? (l.colStart = r, l.rowStart = o, l.colEnd = i, l.rowEnd = a) : l = { colStart: r, rowStart: o, colEnd: i, rowEnd: a }, l;
240
+ if (!e) return r ? t : { ...t };
241
+ if (!t) return r ? e : { ...e };
242
+ const n = Math.min(e.colStart, t.colStart), o = Math.min(e.rowStart, t.rowStart), i = Math.max(e.colEnd, t.colEnd), a = Math.max(e.rowEnd, t.rowEnd);
243
+ let l = r;
244
+ return l ? (l.colStart = n, l.rowStart = o, l.colEnd = i, l.rowEnd = a) : l = { colStart: n, rowStart: o, colEnd: i, rowEnd: a }, l;
245
245
  }, De = (e, t) => {
246
246
  if (!t || t.length === 0) return e;
247
- const n = { ...e };
248
- for (let r = 0; r < t.length; r++) {
249
- const o = t[r];
250
- 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));
247
+ const r = { ...e };
248
+ for (let n = 0; n < t.length; n++) {
249
+ const o = t[n];
250
+ xe(r, o) && (r.rowStart = Math.min(r.rowStart, o.rowStart), r.colStart = Math.min(r.colStart, o.colStart), r.rowEnd = Math.max(r.rowEnd, o.rowEnd), r.colEnd = Math.max(r.colEnd, o.colEnd));
251
251
  }
252
- return n;
253
- }, Rt = [null, null], kt = (e, t, n) => {
252
+ return r;
253
+ }, Rt = [null, null], kt = (e, t, r) => {
254
254
  if (e[0].value === e[1].value) return t;
255
255
  };
256
- function Ue(e, t = 2, n, r = j.Row, o) {
256
+ function Ue(e, t = 2, r, n = j.Row, o) {
257
257
  let i = [...e];
258
258
  if (t <= 0 || e.length <= 1) return i;
259
- let a = r === j.Column, l = 0, u = !1;
259
+ let a = n === j.Column, l = 0, u = !1;
260
260
  do {
261
261
  const p = i.sort(lt(a ? j.Row : j.Column));
262
262
  i = [], i.push(p[0]);
@@ -267,9 +267,9 @@ function Ue(e, t = 2, n, r = j.Row, o) {
267
267
  let J = !1;
268
268
  if (J = a ? f && x === I.rowStart && D === I.rowEnd && A + 1 === I.colStart : f && y === I.colStart && A === I.colEnd && D + 1 === I.rowStart, J) {
269
269
  let E = { colStart: y, rowStart: x, colEnd: a ? I.colEnd : A, rowEnd: a ? D : I.rowEnd };
270
- if (f.value !== void 0 && (E.value = f.value), n) {
270
+ if (f.value !== void 0 && (E.value = f.value), r) {
271
271
  const c = o ?? [null, null];
272
- c[0] = f, c[1] = I, E = n(c, E, r);
272
+ c[0] = f, c[1] = I, E = r(c, E, n);
273
273
  }
274
274
  if (E) {
275
275
  i[g] = E, u = !0, f = E, y = f.colStart, x = f.rowStart, A = f.colEnd, D = f.rowEnd;
@@ -284,11 +284,11 @@ function Ue(e, t = 2, n, r = j.Row, o) {
284
284
  }
285
285
  Object.freeze(Object.defineProperty({ __proto__: null, EmptyCell: _t, EmptyRange: Ot, cellToRange: (e, t) => {
286
286
  if (!e) return null;
287
- let n = t;
288
- 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
+ let r = t;
288
+ return r || (r = { ...e }, delete r.colIndex, delete r.rowIndex), r.colStart = e.colIndex ?? 0, r.rowStart = e.rowIndex ?? 0, r.colEnd = e.colIndex ?? 0, r.rowEnd = e.rowIndex ?? 0, r;
289
289
  }, columnFirstCellComparator: Le, columnFirstRangeComparator: it, createCellComparator: (e = j.Row, t = !1) => t ? e !== j.Column ? Me : je : e !== j.Column ? Ae : Le, createConflatingRanges: (e, t = !1) => {
290
- const n = [];
291
- let r, o, i = Number.MIN_SAFE_INTEGER, a = Number.MIN_SAFE_INTEGER;
290
+ const r = [];
291
+ let n, o, i = Number.MIN_SAFE_INTEGER, a = Number.MIN_SAFE_INTEGER;
292
292
  return { append: (l, u, p) => {
293
293
  let w = !0;
294
294
  const g = p !== void 0;
@@ -296,44 +296,44 @@ Object.freeze(Object.defineProperty({ __proto__: null, EmptyCell: _t, EmptyRange
296
296
  const x = e ? e(o, p, t) : o === p ? p : void 0;
297
297
  x === void 0 ? w = !1 : p = x;
298
298
  }
299
- if (w && u === a + 1 && l === i) return t ? r.rowEnd = u : r.colEnd = u, a = u, void (o = p);
300
- r && n.push(r);
299
+ if (w && u === a + 1 && l === i) return t ? n.rowEnd = u : n.colEnd = u, a = u, void (o = p);
300
+ n && r.push(n);
301
301
  const f = t ? l : u, y = t ? u : l;
302
- r = { colStart: f, rowStart: y, colEnd: f, rowEnd: y }, g && (r.value = p), i = l, a = u, o = p;
303
- }, done: (l) => (r && (n.push(r), r = null), l ? Ue(n, 3, l === !0 ? kt : l, t ? j.Column : j.Row, Rt) : n) };
304
- }, 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) => {
302
+ n = { colStart: f, rowStart: y, colEnd: f, rowEnd: y }, g && (n.value = p), i = l, a = u, o = p;
303
+ }, done: (l) => (n && (r.push(n), n = null), l ? Ue(r, 3, l === !0 ? kt : l, t ? j.Column : j.Row, Rt) : r) };
304
+ }, createRangeComparator: lt, defaultRange: (e, t, r) => e ? r ? (r.colStart = e.colStart ?? t.colStart, r.rowStart = e.rowStart ?? t.rowStart, r.colEnd = e.colEnd ?? t.colEnd, r.rowEnd = e.rowEnd ?? t.rowEnd, r) : { 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) => {
305
305
  if (!t || t.length === 0) return e;
306
- let n = e, r = null;
307
- for (; !Se(n, r); ) r = n, n = De(r, t);
308
- return n;
306
+ let r = e, n = null;
307
+ for (; !Se(r, n); ) n = r, r = De(n, t);
308
+ return r;
309
309
  }, indexOfCoords: (e, t) => {
310
- const n = { colStart: e.colIndex, rowStart: e.rowIndex, colEnd: e.colIndex, rowEnd: e.rowIndex };
311
- for (let r = t.length - 1; r >= 0; r--) if (xe(n, t[r])) return r;
310
+ const r = { colStart: e.colIndex, rowStart: e.rowIndex, colEnd: e.colIndex, rowEnd: e.rowIndex };
311
+ for (let n = t.length - 1; n >= 0; n--) if (xe(r, t[n])) return n;
312
312
  return -1;
313
- }, intersectRanges: (e, t, n) => {
314
- if (!e) return n ? t : { ...t };
315
- if (!t) return n ? e : { ...e };
313
+ }, intersectRanges: (e, t, r) => {
314
+ if (!e) return r ? t : { ...t };
315
+ if (!t) return r ? e : { ...e };
316
316
  if (!e && !t || e.rowStart > t.rowEnd || e.rowEnd < t.rowStart || e.colStart > t.colEnd || e.colEnd < t.colStart) return null;
317
- const r = Math.max(e.colStart, t.colStart), o = Math.max(e.rowStart, t.rowStart), i = Math.min(e.colEnd, t.colEnd), a = Math.min(e.rowEnd, t.rowEnd);
318
- let l = n;
319
- return l ? (l.colStart = r, l.rowStart = o, l.colEnd = i, l.rowEnd = a) : l = { colStart: r, rowStart: o, colEnd: i, rowEnd: a }, l;
317
+ const n = Math.max(e.colStart, t.colStart), o = Math.max(e.rowStart, t.rowStart), i = Math.min(e.colEnd, t.colEnd), a = Math.min(e.rowEnd, t.rowEnd);
318
+ let l = r;
319
+ return l ? (l.colStart = n, l.rowStart = o, l.colEnd = i, l.rowEnd = a) : l = { colStart: n, rowStart: o, colEnd: i, rowEnd: a }, l;
320
320
  }, isCellWithinRange: (e, t) => {
321
321
  if (!e || !t) return !1;
322
- const n = e.rowIndex;
323
- if (n < t.rowStart || n > t.rowEnd) return !1;
324
- const r = e.colIndex;
325
- return !(r < t.colStart || r > t.colEnd);
326
- }, 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: at, 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) => {
322
+ const r = e.rowIndex;
323
+ if (r < t.rowStart || r > t.rowEnd) return !1;
324
+ const n = e.colIndex;
325
+ return !(n < t.colStart || n > t.colEnd);
326
+ }, 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: at, 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, r = -e.colStart, n) => n ? (n.colStart = e.colStart + r, n.rowStart = e.rowStart + t, n.colEnd = e.colEnd + r, n.rowEnd = e.rowEnd + t, n) : { colStart: e.colStart + r, rowStart: e.rowStart + t, colEnd: e.colEnd + r, rowEnd: e.rowEnd + t }, unionRanges: me, unionRangesArrays: (e, t, r) => {
327
327
  if (!e || e.length === 0) return null;
328
328
  if (e.length === 1 && !t) return e[0];
329
- let r = e[0];
330
- for (let o = 1; o < e.length; o++) r = me(r, e[o], n);
331
- return t && (r = me(r, t, n)), r;
329
+ let n = e[0];
330
+ for (let o = 1; o < e.length; o++) n = me(n, e[o], r);
331
+ return t && (n = me(n, t, r)), n;
332
332
  } }, Symbol.toStringTag, { value: "Module" }));
333
333
  function Lt(e) {
334
334
  const t = Object.prototype.toString.call(e);
335
- return t === "[object RegExp]" || t === "[object Date]" || (function(n) {
336
- return n.$$typeof === At;
335
+ return t === "[object RegExp]" || t === "[object Date]" || (function(r) {
336
+ return r.$$typeof === At;
337
337
  })(e);
338
338
  }
339
339
  const At = typeof Symbol == "function" && Symbol.for ? Symbol.for("react.element") : 60103;
@@ -342,19 +342,19 @@ function Mt(e) {
342
342
  return !!t && typeof t == "object";
343
343
  })(e) && !Lt(e);
344
344
  }
345
- function re(e, t) {
346
- return t.clone !== !1 && t.isMergeableObject(e) ? Y((n = e, Array.isArray(n) ? [] : {}), e, t) : e;
347
- var n;
345
+ function ne(e, t) {
346
+ return t.clone !== !1 && t.isMergeableObject(e) ? Y((r = e, Array.isArray(r) ? [] : {}), e, t) : e;
347
+ var r;
348
348
  }
349
- function jt(e, t, n) {
350
- return e.concat(t).map(function(r) {
351
- return re(r, n);
349
+ function jt(e, t, r) {
350
+ return e.concat(t).map(function(n) {
351
+ return ne(n, r);
352
352
  });
353
353
  }
354
354
  function Be(e) {
355
355
  return Object.keys(e).concat((function(t) {
356
- return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(t).filter(function(n) {
357
- return Object.propertyIsEnumerable.call(t, n);
356
+ return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(t).filter(function(r) {
357
+ return Object.propertyIsEnumerable.call(t, r);
358
358
  }) : [];
359
359
  })(e));
360
360
  }
@@ -365,45 +365,45 @@ function $e(e, t) {
365
365
  return !1;
366
366
  }
367
367
  }
368
- function Pt(e, t, n) {
369
- const r = {};
370
- return n.isMergeableObject(e) && Be(e).forEach(function(o) {
371
- r[o] = re(e[o], n);
368
+ function Pt(e, t, r) {
369
+ const n = {};
370
+ return r.isMergeableObject(e) && Be(e).forEach(function(o) {
371
+ n[o] = ne(e[o], r);
372
372
  }), Be(t).forEach(function(o) {
373
373
  (function(i, a) {
374
374
  return $e(i, a) && !(Object.hasOwnProperty.call(i, a) && Object.propertyIsEnumerable.call(i, a));
375
- })(e, o) || ($e(e, o) && n.isMergeableObject(t[o]) ? r[o] = (function(i, a) {
375
+ })(e, o) || ($e(e, o) && r.isMergeableObject(t[o]) ? n[o] = (function(i, a) {
376
376
  if (!a.customMerge) return Y;
377
377
  const l = a.customMerge(i);
378
378
  return typeof l == "function" ? l : Y;
379
- })(o, n)(e[o], t[o], n) : r[o] = re(t[o], n));
380
- }), r;
379
+ })(o, r)(e[o], t[o], r) : n[o] = ne(t[o], r));
380
+ }), n;
381
381
  }
382
- function Y(e, t, n) {
383
- (n = n || {}).arrayMerge = n.arrayMerge || jt, n.isMergeableObject = n.isMergeableObject || Mt, n.cloneUnlessOtherwiseSpecified = re;
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);
382
+ function Y(e, t, r) {
383
+ (r = r || {}).arrayMerge = r.arrayMerge || jt, r.isMergeableObject = r.isMergeableObject || Mt, r.cloneUnlessOtherwiseSpecified = ne;
384
+ const n = Array.isArray(t);
385
+ return n === Array.isArray(e) ? n ? r.arrayMerge(e, t, r) : Pt(e, t, r) : ne(t, r);
386
386
  }
387
387
  Y.all = function(e, t) {
388
388
  if (!Array.isArray(e)) throw new Error("first argument should be an array");
389
- return e.reduce(function(n, r) {
390
- return Y(n, r, t);
389
+ return e.reduce(function(r, n) {
390
+ return Y(r, n, t);
391
391
  }, {});
392
392
  };
393
393
  const Ft = Object.freeze([]), Dt = Object.freeze({}), ze = (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) {
396
+ }), Ut = (e) => 1 * e, st = (e, t) => e === t || !(!Array.isArray(e) || !Array.isArray(t) || e.length !== t.length) && e.every((r, n) => r === t[n]), re = (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
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) => {
398
+ }), Object.keys(e).length === 0 ? null : e), Bt = (e, t) => !(e !== t && !st(e, t)) || !!e.isEqual?.(t), ut = (e, t, r = Bt) => {
399
399
  if (e == null || e === t) return null;
400
- if (!e || typeof e != "object" || Array.isArray(e) || e.isImmutable?.()) return n(e, t) ? null : e;
401
- const r = Object.keys(e);
402
- if (r.length === 0) return null;
400
+ if (!e || typeof e != "object" || Array.isArray(e) || e.isImmutable?.()) return r(e, t) ? null : e;
401
+ const n = Object.keys(e);
402
+ if (n.length === 0) return null;
403
403
  let o = !1;
404
- for (let i = 0; i < r.length; i++) {
405
- const a = r[i];
406
- ut(e[a], t?.[a], n) === null && (o = !0, delete e[a]);
404
+ for (let i = 0; i < n.length; i++) {
405
+ const a = n[i];
406
+ ut(e[a], t?.[a], r) === null && (o = !0, delete e[a]);
407
407
  }
408
408
  return o && Object.keys(e).length === 0 ? null : void 0;
409
409
  }, Ke = typeof performance == "object" && typeof performance.now == "function" ? () => performance.now() : () => Date.now(), Ve = (e) => e == null, qe = (e, t) => !(t.left > e.right || t.right < e.left || t.top > e.bottom || t.bottom < e.top), Ge = !(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 = () => {
@@ -414,9 +414,9 @@ const Ft = Object.freeze([]), Dt = Object.freeze({}), ze = (e) => e, de = () =>
414
414
  function dt() {
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) {
418
- const r = e.slice();
419
- return r.splice(n < 0 ? r.length + n : n, 0, r.splice(t, 1)[0]), r;
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, r) {
418
+ const n = e.slice();
419
+ return n.splice(r < 0 ? n.length + r : r, 0, n.splice(t, 1)[0]), n;
420
420
  }, asNumber: (e) => {
421
421
  const t = Ut(e);
422
422
  return Number.isFinite(t) ? t : 0;
@@ -428,267 +428,267 @@ const We = (e, t = !1) => (document.hasFocus() || t) && (e === document.activeEl
428
428
  setTimeout(() => {
429
429
  Function("console.log.apply(console, arguments)").apply(null, e), t();
430
430
  });
431
- }), debounce: function(e, t = 300, n = !1) {
432
- let r, o, i, a, l = 0;
431
+ }), debounce: function(e, t = 300, r = !1) {
432
+ let n, o, i, a, l = 0;
433
433
  function u() {
434
434
  let w = Date.now() - l;
435
- w < t && w >= 0 ? r = setTimeout(u, t - w) : (r = null, n || (a = e.apply(i, o), i = o = null));
435
+ w < t && w >= 0 ? n = setTimeout(u, t - w) : (n = null, r || (a = e.apply(i, o), i = o = null));
436
436
  }
437
437
  t == null && (t = 100);
438
438
  const p = function() {
439
439
  i = globalThis, o = arguments, l = Date.now();
440
- var w = n && !r;
441
- return r || (r = setTimeout(u, t)), w && (a = e.apply(i, o), i = o = null), a;
440
+ var w = r && !n;
441
+ return n || (n = setTimeout(u, t)), w && (a = e.apply(i, o), i = o = null), a;
442
442
  };
443
443
  return p.clear = function() {
444
- r && (clearTimeout(r), r = null);
444
+ n && (clearTimeout(n), n = null);
445
445
  }, p.flush = function() {
446
- r && (a = e.apply(i, o), i = o = null, clearTimeout(r), r = null);
446
+ n && (a = e.apply(i, o), i = o = null, clearTimeout(n), n = null);
447
447
  }, p;
448
- }, deepEqual: function e(t, n) {
449
- if (t === n) return !0;
450
- if (t && n && typeof t == "object" && typeof n == "object") {
451
- if (t.constructor !== n.constructor) return !1;
452
- let r, o, i;
448
+ }, deepEqual: function e(t, r) {
449
+ if (t === r) return !0;
450
+ if (t && r && typeof t == "object" && typeof r == "object") {
451
+ if (t.constructor !== r.constructor) return !1;
452
+ let n, o, i;
453
453
  if (Array.isArray(t)) {
454
- if (r = t.length, r != n.length) return !1;
455
- for (o = r; o-- !== 0; ) if (!e(t[o], n[o])) return !1;
454
+ if (n = t.length, n != r.length) return !1;
455
+ for (o = n; o-- !== 0; ) if (!e(t[o], r[o])) return !1;
456
456
  return !0;
457
457
  }
458
- if (t instanceof Map && n instanceof Map) {
459
- if (t.size !== n.size) return !1;
460
- for (o of t.entries()) if (!n.has(o[0])) return !1;
461
- for (o of t.entries()) if (!e(o[1], n.get(o[0]))) return !1;
458
+ if (t instanceof Map && r instanceof Map) {
459
+ if (t.size !== r.size) return !1;
460
+ for (o of t.entries()) if (!r.has(o[0])) return !1;
461
+ for (o of t.entries()) if (!e(o[1], r.get(o[0]))) return !1;
462
462
  return !0;
463
463
  }
464
- if (t instanceof Set && n instanceof Set) {
465
- if (t.size !== n.size) return !1;
466
- for (o of t.entries()) if (!n.has(o[0])) return !1;
464
+ if (t instanceof Set && r instanceof Set) {
465
+ if (t.size !== r.size) return !1;
466
+ for (o of t.entries()) if (!r.has(o[0])) return !1;
467
467
  return !0;
468
468
  }
469
- if (ArrayBuffer.isView(t) && ArrayBuffer.isView(n)) {
470
- if (r = t.length, r != n.length) return !1;
471
- for (o = r; o-- !== 0; ) if (t[o] !== n[o]) return !1;
469
+ if (ArrayBuffer.isView(t) && ArrayBuffer.isView(r)) {
470
+ if (n = t.length, n != r.length) return !1;
471
+ for (o = n; o-- !== 0; ) if (t[o] !== r[o]) return !1;
472
472
  return !0;
473
473
  }
474
- if (t.constructor === RegExp) return t.source === n.source && t.flags === n.flags;
475
- if (t.valueOf !== Object.prototype.valueOf) return t.valueOf() === n.valueOf();
476
- if (t.toString !== Object.prototype.toString) return t.toString() === n.toString();
477
- if (i = Object.keys(t), r = i.length, r !== Object.keys(n).length) return !1;
478
- for (o = r; o-- !== 0; ) if (!Object.prototype.hasOwnProperty.call(n, i[o])) return !1;
479
- for (o = r; o-- !== 0; ) {
474
+ if (t.constructor === RegExp) return t.source === r.source && t.flags === r.flags;
475
+ if (t.valueOf !== Object.prototype.valueOf) return t.valueOf() === r.valueOf();
476
+ if (t.toString !== Object.prototype.toString) return t.toString() === r.toString();
477
+ if (i = Object.keys(t), n = i.length, n !== Object.keys(r).length) return !1;
478
+ for (o = n; o-- !== 0; ) if (!Object.prototype.hasOwnProperty.call(r, i[o])) return !1;
479
+ for (o = n; o-- !== 0; ) {
480
480
  let a = i[o];
481
- if ((a !== "_owner" || !t.$$typeof) && !e(t[a], n[a])) return !1;
481
+ if ((a !== "_owner" || !t.$$typeof) && !e(t[a], r[a])) return !1;
482
482
  }
483
483
  return !0;
484
484
  }
485
- return t != t && n != n;
485
+ return t != t && r != r;
486
486
  }, deepFreeze: function e(t) {
487
- return Object.freeze(t), Object.keys(t).forEach((n) => {
488
- typeof t[n] != "object" || t[n] === null || Object.isFrozen(t[n]) || e(t[n]);
487
+ return Object.freeze(t), Object.keys(t).forEach((r) => {
488
+ typeof t[r] != "object" || t[r] === null || Object.isFrozen(t[r]) || e(t[r]);
489
489
  }), t;
490
490
  }, deepMerge: Y, diffValues: (e, t) => {
491
- const n = {}, r = Object.keys(t), o = r.length;
491
+ const r = {}, n = Object.keys(t), o = n.length;
492
492
  for (let i = 0; i < o; i++) {
493
- const a = r[i];
494
- e[a] !== t[a] && (e[a] === void 0 ? n[a] = t[a] : n[a] = e[a]);
495
- }
496
- return Object.keys(n).length === 0 ? null : n;
497
- }, findEqualOrGreater: function(e, t, n = ze) {
498
- let r = 0, o = e.length - 1;
499
- for (; r <= o; ) {
500
- let i = Math.floor((r + o) / 2), a = n(e[i]);
493
+ const a = n[i];
494
+ e[a] !== t[a] && (e[a] === void 0 ? r[a] = t[a] : r[a] = e[a]);
495
+ }
496
+ return Object.keys(r).length === 0 ? null : r;
497
+ }, findEqualOrGreater: function(e, t, r = ze) {
498
+ let n = 0, o = e.length - 1;
499
+ for (; n <= o; ) {
500
+ let i = Math.floor((n + o) / 2), a = r(e[i]);
501
501
  if (a === t) return i;
502
- a < t ? r = i + 1 : o = i - 1;
502
+ a < t ? n = i + 1 : o = i - 1;
503
503
  }
504
- return r;
505
- }, findEqualOrLesser: function(e, t, n = ze) {
506
- let r = e.length - 1, o = 0;
507
- for (; r >= o; ) {
508
- let i = Math.floor((r + o) / 2), a = n(e[i]);
504
+ return n;
505
+ }, findEqualOrLesser: function(e, t, r = ze) {
506
+ let n = e.length - 1, o = 0;
507
+ for (; n >= o; ) {
508
+ let i = Math.floor((n + o) / 2), a = r(e[i]);
509
509
  if (a === t) return i;
510
- a > t ? r = i - 1 : o = i + 1;
510
+ a > t ? n = i - 1 : o = i + 1;
511
511
  }
512
- return r;
513
- }, findNextStep: (e, t = !0, n = 15, r = 10, o = 400) => {
514
- const i = Math.max(e - r, 0) + (t ? 1 : -1);
515
- return Math.min(o, Math[t ? "ceil" : "floor"](i / n) * n + r);
512
+ return n;
513
+ }, findNextStep: (e, t = !0, r = 15, n = 10, o = 400) => {
514
+ const i = Math.max(e - n, 0) + (t ? 1 : -1);
515
+ return Math.min(o, Math[t ? "ceil" : "floor"](i / r) * r + n);
516
516
  }, getDPI: () => {
517
517
  let e = 1;
518
518
  return typeof window == "object" && (e = window.devicePixelRatio || 1), e;
519
519
  }, getFromPath: (e, t) => {
520
- const n = t.split(".");
521
- let r = e;
522
- for (let o = 0; o < n.length; o++) {
523
- const i = n[o];
524
- if (!r) return null;
525
- let a = r[i];
526
- if (typeof a == "function" && (a = a.bind(r)()), !a || !ne(a)) return a;
527
- r = a;
528
- }
529
- return r ?? null;
520
+ const r = t.split(".");
521
+ let n = e;
522
+ for (let o = 0; o < r.length; o++) {
523
+ const i = r[o];
524
+ if (!n) return null;
525
+ let a = n[i];
526
+ if (typeof a == "function" && (a = a.bind(n)()), !a || !re(a)) return a;
527
+ n = a;
528
+ }
529
+ return n ?? null;
530
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) => {
531
531
  if (e === t) return !0;
532
532
  if (e && !t || t && !e) return !1;
533
- const n = Object.keys(e);
534
- if (n.length !== Object.keys(t).length) return !1;
535
- for (let r = 0; r < n.length; r++) if (e[n[r]] !== t[n[r]]) return !1;
533
+ const r = Object.keys(e);
534
+ if (r.length !== Object.keys(t).length) return !1;
535
+ for (let n = 0; n < r.length; n++) if (e[r[n]] !== t[r[n]]) return !1;
536
536
  return !0;
537
537
  }, isNode: dt, isNullOrUndefined: Ve, isNumeric: (e) => {
538
538
  const t = 1 * e;
539
539
  return Number.isFinite(t) && typeof t == "number";
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: qe, mergeContentful: (...e) => {
540
+ }, isObject: re, 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: qe, mergeContentful: (...e) => {
541
541
  const t = e.length;
542
- if (t > 0 && e[t - 1] !== void 0 && !ne(e[t - 1])) return e[t - 1];
543
- let n = e[0] || {};
544
- for (let r = 1; r < t; r++) n = Y(n, e[r] || {}, { arrayMerge: (o, i) => [...i] });
545
- return n;
542
+ if (t > 0 && e[t - 1] !== void 0 && !re(e[t - 1])) return e[t - 1];
543
+ let r = e[0] || {};
544
+ for (let n = 1; n < t; n++) r = Y(r, e[n] || {}, { arrayMerge: (o, i) => [...i] });
545
+ return r;
546
546
  }, nextTick: (e) => {
547
547
  typeof window < "u" && typeof window.requestAnimationFrame == "function" ? window.requestAnimationFrame(() => {
548
548
  e();
549
549
  }) : (typeof setImmediate == "function" ? setImmediate : setTimeout)(() => {
550
550
  e();
551
551
  });
552
- }, openFileDialog: (e = "*.*") => new Promise((t, n) => {
553
- if (!Ge) return void n("Unable to open dialog with no dom.");
554
- const r = document.createElement("input");
555
- r.type = "file", r.accept = e;
552
+ }, openFileDialog: (e = "*.*") => new Promise((t, r) => {
553
+ if (!Ge) return void r("Unable to open dialog with no dom.");
554
+ const n = document.createElement("input");
555
+ n.type = "file", n.accept = e;
556
556
  let o = null, i = !1;
557
557
  globalThis.addEventListener?.("focus", () => {
558
558
  setTimeout(() => {
559
559
  o || i || (i = !0, t(null));
560
560
  }, 1e3);
561
- }, { once: !0, passive: !0 }), r.onchange = () => {
562
- if (o = r.files[0], o) {
561
+ }, { once: !0, passive: !0 }), n.onchange = () => {
562
+ if (o = n.files[0], o) {
563
563
  if (i) return void console.warn("File open detected after faux cancel.", o);
564
564
  t(o);
565
565
  }
566
- }, r.autofocus = !0, r.click();
566
+ }, n.autofocus = !0, n.click();
567
567
  }), rafThrottle: (e) => {
568
- let t, n = !1, r = function() {
569
- n = !1, e(t);
568
+ let t, r = !1, n = function() {
569
+ r = !1, e(t);
570
570
  };
571
571
  return function(o) {
572
- t = o, t && t.persist && t.persist(), n || (n = !0, requestAnimationFrame(r));
572
+ t = o, t && t.persist && t.persist(), r || (r = !0, requestAnimationFrame(n));
573
573
  };
574
574
  }, removeEmptyProperties: ct, removeEqualValues: ut, removeListenerAll: (e) => {
575
575
  if (!e) return [];
576
576
  for (let t = 0; t < e.length; t++) e[t] && e[t]();
577
577
  return [];
578
578
  }, requestTimeout: (e, t) => {
579
- const n = Ke(), r = { id: requestAnimationFrame(function o() {
580
- Ke() - n >= t ? e.call(null) : r.id = requestAnimationFrame(o);
579
+ const r = Ke(), n = { id: requestAnimationFrame(function o() {
580
+ Ke() - r >= t ? e.call(null) : n.id = requestAnimationFrame(o);
581
581
  }) };
582
- return r;
582
+ return n;
583
583
  }, roundAccurately: (e, t = 0) => {
584
584
  if (e == null || !isFinite(e)) return null;
585
- const n = 10 ** t;
586
- return Number(Math.round(e * n) / n);
587
- }, setToPath: (e, t, n) => {
588
- const r = t.split(".");
585
+ const r = 10 ** t;
586
+ return Number(Math.round(e * r) / r);
587
+ }, setToPath: (e, t, r) => {
588
+ const n = t.split(".");
589
589
  let o = e;
590
590
  if (!o) throw new Error("Can not set path to a null path.");
591
- for (let i = 0; o && i < r.length - 1; i++) {
592
- const a = r[i];
591
+ for (let i = 0; o && i < n.length - 1; i++) {
592
+ const a = n[i];
593
593
  let l = o[a];
594
- if (l == null && (l = {}, o[a] = l), !ne(l)) throw new Error("Can not set path to a non object path.");
594
+ if (l == null && (l = {}, o[a] = l), !re(l)) throw new Error("Can not set path to a non object path.");
595
595
  o = l;
596
596
  }
597
- if (typeof n != "number" && typeof n != "boolean" && typeof n != "string" && !ne(n)) throw new Error(\`Can not set path to \${n} that is not a a supported primitive.\`);
598
- return o[r[r.length - 1]] = n, e;
597
+ if (typeof r != "number" && typeof r != "boolean" && typeof r != "string" && !re(r)) throw new Error(\`Can not set path to \${r} that is not a a supported primitive.\`);
598
+ return o[n[n.length - 1]] = r, e;
599
599
  }, splitNumber: (e) => {
600
600
  let t = Math.abs(e);
601
601
  if (isNaN(t) || !isFinite(e)) return null;
602
- let n = 0 | t, r = t - n, o = 0, i = 0, a = 1;
603
- if (r > 5e-8) for (; i < 8 && Math.abs(o / a - r) > 5e-8; ) i++, a *= 10, o = Math.round(r * a);
604
- return { ip: Math.trunc(e), fp: o, ipLength: Math.ceil(Math.log10(n + 1)), fpLength: i };
605
- }, subtractRect: (e, t, n = !1) => {
602
+ let r = 0 | t, n = t - r, o = 0, i = 0, a = 1;
603
+ if (n > 5e-8) for (; i < 8 && Math.abs(o / a - n) > 5e-8; ) i++, a *= 10, o = Math.round(n * a);
604
+ return { ip: Math.trunc(e), fp: o, ipLength: Math.ceil(Math.log10(r + 1)), fpLength: i };
605
+ }, subtractRect: (e, t, r = !1) => {
606
606
  if (!t) return [e];
607
607
  if (!qe(e, t)) return [];
608
- const r = [];
608
+ const n = [];
609
609
  let o = e;
610
610
  const i = () => {
611
- t.top > o.top && t.top < o.bottom && (r.push({ ...o, bottom: t.top }), o = { ...o, top: t.top });
611
+ t.top > o.top && t.top < o.bottom && (n.push({ ...o, bottom: t.top }), o = { ...o, top: t.top });
612
612
  }, a = () => {
613
- t.bottom > o.top && t.bottom < o.bottom && (r.push({ ...o, top: t.bottom }), o = { ...o, bottom: t.bottom });
613
+ t.bottom > o.top && t.bottom < o.bottom && (n.push({ ...o, top: t.bottom }), o = { ...o, bottom: t.bottom });
614
614
  }, l = () => {
615
- t.right > o.left && t.right < o.right && (r.push({ ...o, left: t.right }), o = { ...o, right: t.right });
615
+ t.right > o.left && t.right < o.right && (n.push({ ...o, left: t.right }), o = { ...o, right: t.right });
616
616
  }, u = () => {
617
- t.left > o.left && t.left < o.right && (r.push({ ...o, right: t.left }), o = { ...o, left: t.left });
617
+ t.left > o.left && t.left < o.right && (n.push({ ...o, right: t.left }), o = { ...o, left: t.left });
618
618
  };
619
- return n ? (u(), l(), i(), a()) : (i(), a(), l(), u()), r;
619
+ return r ? (u(), l(), i(), a()) : (i(), a(), l(), u()), n;
620
620
  }, textToKey: (e) => e.replace(/[^a-zA-Z0-9]/g, "").toLowerCase(), throttle: function(e, t) {
621
- let n = null;
622
- return (...r) => {
621
+ let r = null;
622
+ return (...n) => {
623
623
  const o = Date.now();
624
- (!n || o - n >= t) && (n = o, e(...r));
624
+ (!r || o - r >= t) && (r = o, e(...n));
625
625
  };
626
626
  }, toSafeJSON: function e(t) {
627
627
  if (t === null || typeof t != "object") return t;
628
628
  if (typeof t.toJSON == "function") return t.toJSON();
629
- if (Array.isArray(t)) return t.map((r) => e(r));
629
+ if (Array.isArray(t)) return t.map((n) => e(n));
630
630
  if (typeof t.toString == "function" && t.toString !== Object.prototype.toString) return t.toString();
631
- const n = {};
632
- for (const r in t) t.hasOwnProperty(r) && (n[r] = e(t[r]));
633
- return n;
631
+ const r = {};
632
+ for (const n in t) t.hasOwnProperty(n) && (r[n] = e(t[n]));
633
+ return r;
634
634
  }, transpose: (e) => {
635
635
  if (!e) return e;
636
- const t = e.length, n = e[0].length, r = [];
637
- for (let o = 0; o < n; o++) r[o] = Array(t);
638
- for (let o = 0; o < t; o++) for (let i = 0; i < n; i++) r[i][o] = e[o][i];
639
- return r;
636
+ const t = e.length, r = e[0].length, n = [];
637
+ for (let o = 0; o < r; o++) n[o] = Array(t);
638
+ for (let o = 0; o < t; o++) for (let i = 0; i < r; i++) n[i][o] = e[o][i];
639
+ return n;
640
640
  }, uuidV4: de, validEnumValue: (e, t) => {
641
641
  if (!Object.values(e).includes(t)) throw new Error(\`Invalid type: \${t ?? "null"}. Must be one of: \${Object.values(t).join(", ")}.\`);
642
- }, whenFocus: async (e, t = !1) => new Promise((n) => {
643
- We(e, t) ? n(!0) : e.addEventListener("focusin", () => {
644
- n(!0);
642
+ }, whenFocus: async (e, t = !1) => new Promise((r) => {
643
+ We(e, t) ? r(!0) : e.addEventListener("focusin", () => {
644
+ r(!0);
645
645
  }, { once: !0 }), e.focus();
646
646
  }) }, Symbol.toStringTag, { value: "Module" }));
647
647
  Object.freeze(Object.defineProperty({ __proto__: null, MESSAGE_ERROR_INVALID_ARG: (e) => \`Invalid argument: '\${e}'.\` }, Symbol.toStringTag, { value: "Module" }));
648
648
  const ft = (e) => {
649
- const t = new Uint8Array(e), n = t.byteLength;
650
- let r = "";
651
- for (let o = 0; o < n; o++) r += String.fromCharCode(t[o]);
652
- if (typeof window < "u" && typeof globalThis.btoa == "function") return globalThis.btoa(r);
653
- if (typeof Buffer < "u") return Buffer.from(r, "binary").toString("base64");
649
+ const t = new Uint8Array(e), r = t.byteLength;
650
+ let n = "";
651
+ for (let o = 0; o < r; o++) n += String.fromCharCode(t[o]);
652
+ if (typeof window < "u" && typeof globalThis.btoa == "function") return globalThis.btoa(n);
653
+ if (typeof Buffer < "u") return Buffer.from(n, "binary").toString("base64");
654
654
  throw new Error("Unsupported environment");
655
- }, Ce = (e) => new Promise((t, n) => {
655
+ }, Ce = (e) => new Promise((t, r) => {
656
656
  if (e) if (typeof FileReader < "u") {
657
- const r = new FileReader();
658
- r.onload = () => {
659
- t(r.result);
660
- }, r.onerror = () => {
661
- n(r.error);
662
- }, r.readAsText(e);
657
+ const n = new FileReader();
658
+ n.onload = () => {
659
+ t(n.result);
660
+ }, n.onerror = () => {
661
+ r(n.error);
662
+ }, n.readAsText(e);
663
663
  } else if (typeof Buffer < "u") {
664
- const r = (o) => Buffer.from(o).toString("utf-8");
664
+ const n = (o) => Buffer.from(o).toString("utf-8");
665
665
  e.arrayBuffer().then((o) => {
666
- t(r(o));
666
+ t(n(o));
667
667
  }).catch((o) => {
668
- n(o);
668
+ r(o);
669
669
  });
670
- } else n(new Error("Unsupported environment"));
670
+ } else r(new Error("Unsupported environment"));
671
671
  else t("");
672
672
  });
673
673
  Object.freeze(Object.defineProperty({ __proto__: null, DEFAULT_MIME_TYPE: "*/*", arrayBufferToBase64: ft, base64ToArrayBuffer: (e) => {
674
- 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
- for (let o = 0; o < n; o++) r[o] = t.charCodeAt(o);
676
- return r.buffer;
674
+ const t = typeof window < "u" && typeof globalThis.atob == "function" ? globalThis.atob(e) : Buffer.from(e, "base64").toString("binary"), r = t.length, n = new Uint8Array(r);
675
+ for (let o = 0; o < r; o++) n[o] = t.charCodeAt(o);
676
+ return n.buffer;
677
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) => {
679
- let r = null;
678
+ const pt = "data:image/png;base64,", ht = "Unable to resolve image.", Ye = (e) => new Promise(async (t, r) => {
679
+ let n = null;
680
680
  try {
681
- r = new Image(), r.src = e, r.addEventListener("load", function() {
682
- t({ width: r.naturalWidth, height: r.naturalHeight });
683
- }, { once: !0 }), r.addEventListener("error", function() {
684
- URL.revokeObjectURL(e), n("Invalid Image");
685
- }, { once: !0 }), await r.decode("sync");
681
+ n = new Image(), n.src = e, n.addEventListener("load", function() {
682
+ t({ width: n.naturalWidth, height: n.naturalHeight });
683
+ }, { once: !0 }), n.addEventListener("error", function() {
684
+ URL.revokeObjectURL(e), r("Invalid Image");
685
+ }, { once: !0 }), await n.decode("sync");
686
686
  } catch {
687
- r?.src && URL.revokeObjectURL(r.src);
687
+ n?.src && URL.revokeObjectURL(n.src);
688
688
  }
689
- r || n(ht);
689
+ n || r(ht);
690
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) => {
691
+ Object.freeze(Object.defineProperty({ __proto__: null, DATA_URL_PNG_PREFIX: pt, getImageDataUrl: (e, t = 1) => new Promise(async (r, n) => {
692
692
  let o = null;
693
693
  try {
694
694
  o = new Image(), o.src = e, o.addEventListener("load", function() {
@@ -696,42 +696,42 @@ Object.freeze(Object.defineProperty({ __proto__: null, DATA_URL_PNG_PREFIX: pt,
696
696
  const i = document.createElement("canvas");
697
697
  i.width = o.naturalWidth, i.height = o.naturalHeight, i.getContext("2d").drawImage(o, 0, 0);
698
698
  const a = i.toDataURL("image/png", t);
699
- n({ elemImg: o, dataUrl: a });
699
+ r({ elemImg: o, dataUrl: a });
700
700
  } catch (i) {
701
- URL.revokeObjectURL(e), r(i);
701
+ URL.revokeObjectURL(e), n(i);
702
702
  }
703
703
  }, { once: !0 }), o.addEventListener("error", function() {
704
- URL.revokeObjectURL(e), r("Invalid Image");
704
+ URL.revokeObjectURL(e), n("Invalid Image");
705
705
  }, { once: !0 }), await o.decode("sync");
706
706
  } catch {
707
707
  o?.src && URL.revokeObjectURL(o.src);
708
708
  }
709
- o || r(ht);
709
+ o || n(ht);
710
710
  }), loadImageDetails: async (e, t = null) => {
711
- let n = null;
712
- const r = async () => {
711
+ let r = null;
712
+ const n = async () => {
713
713
  try {
714
714
  const i = t ?? "image/*", a = URL.createObjectURL(new Blob([e], { type: i })), l = await Ye(a);
715
- n = { mimeType: i, naturalDimensions: l, asUrl: a };
715
+ r = { mimeType: i, naturalDimensions: l, asUrl: a };
716
716
  } catch {
717
717
  }
718
718
  }, o = async () => {
719
719
  try {
720
720
  const i = new TextDecoder().decode(e), a = URL.createObjectURL(new Blob([i], { type: we })), l = await Ye(a);
721
- n = { mimeType: t ?? we, naturalDimensions: l, asUrl: a, asSVGText: i };
721
+ r = { mimeType: t ?? we, naturalDimensions: l, asUrl: a, asSVGText: i };
722
722
  } catch {
723
723
  }
724
724
  };
725
- if (t === we ? await o() : t.startsWith("image/") ? await r() : (await r(), n || await o()), !n) throw new Error("Failed to load image");
726
- return n;
725
+ if (t === we ? await o() : t.startsWith("image/") ? await n() : (await n(), r || await o()), !r) throw new Error("Failed to load image");
726
+ return r;
727
727
  } }, Symbol.toStringTag, { value: "Module" }));
728
728
  var Je, He;
729
- (He = Je || (Je = {})).resolveTypedUpdates = (e, t, n, r) => {
729
+ (He = Je || (Je = {})).resolveTypedUpdates = (e, t, r, n) => {
730
730
  if (e === null) return e;
731
- if (e === void 0) return r;
731
+ if (e === void 0) return n;
732
732
  let o = e;
733
733
  if (t?.shorthand) {
734
- const u = t?.shorthand(e, n);
734
+ const u = t?.shorthand(e, r);
735
735
  u !== void 0 && (o = u);
736
736
  }
737
737
  if (o !== null && t?.getSubType) {
@@ -740,9 +740,9 @@ var Je, He;
740
740
  }
741
741
  const i = t?.properties, a = t?.arrayType ?? !1;
742
742
  let l = o;
743
- if (t && t.merge && l && r) l = t.merge(l, r, n);
743
+ if (t && t.merge && l && n) l = t.merge(l, n, r);
744
744
  else if (!a && i) {
745
- const u = Object.keys({ ...o, ...r });
745
+ const u = Object.keys({ ...o, ...n });
746
746
  l = null;
747
747
  const p = u.length;
748
748
  for (let w = 0; w < p; w++) {
@@ -750,8 +750,8 @@ var Je, He;
750
750
  let f, y = o[g];
751
751
  if (y !== void 0) {
752
752
  const x = i[g];
753
- f = x ? (0, He.resolveTypedUpdates)(y, x, n, r?.[g]) : y;
754
- } else f = r?.[g];
753
+ f = x ? (0, He.resolveTypedUpdates)(y, x, r, n?.[g]) : y;
754
+ } else f = n?.[g];
755
755
  f != null && (l = l ?? {}, l[g] = f);
756
756
  }
757
757
  }
@@ -768,10 +768,10 @@ Please use Chrome or Edge if external copy and paste is required.\`, Perms: ye,
768
768
  document.hasFocus() ? e() : globalThis.addEventListener?.("focus", () => {
769
769
  e();
770
770
  }, { once: !0 }), document.activeElement.focus?.();
771
- }), be = async (e, t, n) => {
772
- if (oe() === k.Safari) return await n(new Error(mt.Safari));
771
+ }), be = async (e, t, r) => {
772
+ if (oe() === k.Safari) return await r(new Error(mt.Safari));
773
773
  try {
774
- const r = async (a) => {
774
+ const n = async (a) => {
775
775
  try {
776
776
  return await a();
777
777
  } catch (l) {
@@ -780,9 +780,9 @@ Please use Chrome or Edge if external copy and paste is required.\`, Perms: ye,
780
780
  }
781
781
  }, o = await globalThis?.navigator?.permissions?.query({ name: e, allowWithoutGesture: !0, allowWithoutSanitization: !0 });
782
782
  let i = !1;
783
- if (o.state === "prompt" && (i = await r(t)), i || o.state !== "granted" || (i = await t()), !i) return await n(new Error(o.state));
784
- } catch (r) {
785
- return r.message === "No valid data on clipboard" || r.name === "DataError" ? void 0 : await n(r);
783
+ if (o.state === "prompt" && (i = await n(t)), i || o.state !== "granted" || (i = await t()), !i) return await r(new Error(o.state));
784
+ } catch (n) {
785
+ return n.message === "No valid data on clipboard" || n.name === "DataError" ? void 0 : await r(n);
786
786
  }
787
787
  }, wt = async (e) => {
788
788
  try {
@@ -792,21 +792,21 @@ Please use Chrome or Edge if external copy and paste is required.\`, Perms: ye,
792
792
  return await e.read();
793
793
  }, zt = async (e, t) => {
794
794
  if (!e) return null;
795
- const n = await wt(e);
796
- let r = !1;
797
- for (let o = 0; !r && n && o < n.length; o++) if (r = n[o].types.includes(t), r)
798
- return await n[o].getType(t);
799
- return r ? void 0 : null;
795
+ const r = await wt(e);
796
+ let n = !1;
797
+ for (let o = 0; !n && r && o < r.length; o++) if (n = r[o].types.includes(t), n)
798
+ return await r[o].getType(t);
799
+ return n ? void 0 : null;
800
800
  };
801
801
  if (!globalThis.ClipboardItem) {
802
- const e = (n, r) => new Blob([r], { type: n });
802
+ const e = (r, n) => new Blob([n], { type: r });
803
803
  class t {
804
- constructor(r, o) {
805
- this._items = {}, this._types = Object.keys(r);
806
- const i = {}, a = Object.keys(r);
804
+ constructor(n, o) {
805
+ this._items = {}, this._types = Object.keys(n);
806
+ const i = {}, a = Object.keys(n);
807
807
  for (let l = 0; l < a.length; l++) {
808
808
  const u = a[l];
809
- let p = r[u];
809
+ let p = n[u];
810
810
  i[u] = typeof p == "string" ? e(u, p) : p;
811
811
  }
812
812
  this._items = i, this._presentationStyle = o?.presentationStyle ?? "unspecified";
@@ -814,55 +814,55 @@ if (!globalThis.ClipboardItem) {
814
814
  get types() {
815
815
  return this._types;
816
816
  }
817
- getType(r) {
818
- return Promise.resolve(this._items[r]);
817
+ getType(n) {
818
+ return Promise.resolve(this._items[n]);
819
819
  }
820
- supports(r) {
820
+ supports(n) {
821
821
  return !0;
822
822
  }
823
823
  }
824
824
  globalThis.ClipboardItem = t;
825
825
  }
826
- const ve = async (e, t = S.html) => new Promise(async (n, r) => {
826
+ const ve = async (e, t = S.html) => new Promise(async (r, n) => {
827
827
  try {
828
828
  const o = await zt(e, t);
829
829
  if (o) {
830
830
  const i = new FileReader();
831
831
  i.onload = () => {
832
- n(i.result);
832
+ r(i.result);
833
833
  }, i.onerror = () => {
834
- n("");
834
+ r("");
835
835
  }, i.readAsText(o);
836
- } else n("");
836
+ } else r("");
837
837
  } catch (o) {
838
- r(o);
838
+ n(o);
839
839
  }
840
840
  }), Ze = async (e, t = S.html) => {
841
- const n = await ve(e, t);
842
- if (!n) return null;
843
- let r = null;
841
+ const r = await ve(e, t);
842
+ if (!r) return null;
843
+ let n = null;
844
844
  try {
845
- r = new DOMParser().parseFromString(n, S.html);
845
+ n = new DOMParser().parseFromString(r, S.html);
846
846
  } catch {
847
847
  console.warn("Can't parse html from clipboard.");
848
848
  }
849
- return r;
849
+ return n;
850
850
  }, Kt = async (e) => {
851
851
  e && await e.writeText("");
852
852
  }, ie = "clipboard-uuid", Q = "web text/uuid", Qe = (e) => \`<div style="display:none" \${ie}="\${e}"/>\`, Vt = (e, t) => {
853
- let n = null;
853
+ let r = null;
854
854
  try {
855
- const r = new DOMParser().parseFromString(t, S.html);
856
- r.body.firstElementChild.setAttribute(ie, e), n = r.getElementsByTagName("body")[0].innerHTML;
857
- } catch (r) {
858
- console.warn("Can't embed uuid.", r);
855
+ const n = new DOMParser().parseFromString(t, S.html);
856
+ n.body.firstElementChild.setAttribute(ie, e), r = n.getElementsByTagName("body")[0].innerHTML;
857
+ } catch (n) {
858
+ console.warn("Can't embed uuid.", n);
859
859
  }
860
- return n;
860
+ return r;
861
861
  }, et = (e, t) => {
862
862
  if (!t || !e) return !1;
863
863
  try {
864
- const n = t.querySelectorAll(\`[\${ie}="\${e}"]\`);
865
- if (n && n.length === 1) return !0;
864
+ const r = t.querySelectorAll(\`[\${ie}="\${e}"]\`);
865
+ if (r && r.length === 1) return !0;
866
866
  if (t.querySelector("parsererror")) throw new Error("We are unable to parse node");
867
867
  return !1;
868
868
  } catch {
@@ -884,8 +884,8 @@ class tt {
884
884
  await ge();
885
885
  const t = await ve(this._nativeClipboard, Q);
886
886
  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);
887
+ const r = await Ze(this._nativeClipboard, S.html);
888
+ return !this._state || (et(this._state.uuid, r) || this.clear(), !0);
889
889
  }, async (t) => {
890
890
  t?.message === "denied" || t.message?.includes("Document is not focused") || oe() === k.Safari || console.warn("Unable to detect clipboard changes: ", t);
891
891
  });
@@ -896,7 +896,7 @@ class tt {
896
896
  t._checkForChanges();
897
897
  }, this._onBlur = () => {
898
898
  globalThis.addEventListener?.("focus", t._onFocus, { once: !0 });
899
- }, globalThis.addEventListener?.("blur", this._onBlur), this._nativeClipboard.addEventListener("clipboardchange", (n) => {
899
+ }, globalThis.addEventListener?.("blur", this._onBlur), this._nativeClipboard.addEventListener("clipboardchange", (r) => {
900
900
  t._checkForChanges();
901
901
  }));
902
902
  }
@@ -905,13 +905,13 @@ class tt {
905
905
  const t = this;
906
906
  return await be("clipboard-read", async () => {
907
907
  if (await ge(), this._state?.uuid) {
908
- const n = await ve(this._nativeClipboard, Q);
909
- 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;
908
+ const r = await ve(this._nativeClipboard, Q);
909
+ if (r && r === t._state.uuid) return !0;
910
+ const n = await Ze(this._nativeClipboard, S.html);
911
+ if (et(t._state?.uuid, n)) return !0;
912
912
  }
913
913
  return t._state = { items: await wt(this._nativeClipboard), uuid: null, ref: null }, this.dispatchEvent(new Event("clipboardread")), !0;
914
- }, async (n) => {
914
+ }, async (r) => {
915
915
  this.dispatchEvent(new Event("clipboarderrorread"));
916
916
  }), this._state?.items ?? [];
917
917
  }
@@ -920,10 +920,10 @@ class tt {
920
920
  }
921
921
  async _write(t) {
922
922
  if (!this._nativeClipboard) return this._state = t, this.dispatchEvent(new Event("clipboardwrite")), this.dispatchEvent(new Event("clipboardchange")), null;
923
- const n = this, r = [], o = t.uuid;
923
+ const r = this, n = [], o = t.uuid;
924
924
  let i = t.items ?? [];
925
925
  const a = () => {
926
- n._state = { uuid: o, ref: t.ref, items: r }, n.dispatchEvent(new Event("clipboardwrite")), n.dispatchEvent(new Event("clipboardchange"));
926
+ r._state = { uuid: o, ref: t.ref, items: n }, r.dispatchEvent(new Event("clipboardwrite")), r.dispatchEvent(new Event("clipboardchange"));
927
927
  };
928
928
  await be("clipboard-write", async () => {
929
929
  await ge(), o && i.length === 0 && (i.push(new ClipboardItem({ [Q]: new Blob([o], { type: Q }) })), i.push(new ClipboardItem({ [S.html]: new Blob([Qe(o)], { type: S.html }) })));
@@ -951,10 +951,10 @@ class tt {
951
951
  const x = u.types[y];
952
952
  f[x] = y === p ? g : u.getType(x);
953
953
  }
954
- w && p === -1 && (f[S.html] = g), o && (f[Q] = new Blob([o], { type: Q })), r.push(new ClipboardItem(f));
954
+ w && p === -1 && (f[S.html] = g), o && (f[Q] = new Blob([o], { type: Q })), n.push(new ClipboardItem(f));
955
955
  }
956
956
  try {
957
- r && r.length !== 0 ? await this._nativeClipboard.write(r) : await Kt(this._nativeClipboard);
957
+ n && n.length !== 0 ? await this._nativeClipboard.write(n) : await Kt(this._nativeClipboard);
958
958
  } catch (l) {
959
959
  l.message?.includes("Document is not focused") || console.warn("Unable to write to native clipboard: ", l);
960
960
  }
@@ -965,28 +965,28 @@ class tt {
965
965
  }
966
966
  async writeReference(t) {
967
967
  if (!t) return void this.clear();
968
- let n = null;
969
- const r = {};
968
+ let r = null;
969
+ const n = {};
970
970
  try {
971
971
  const i = await t.toText?.() ?? null;
972
- i && (r[S.plain] = new Blob([i ?? ""], { type: S.plain }));
972
+ i && (n[S.plain] = new Blob([i ?? ""], { type: S.plain }));
973
973
  } catch (i) {
974
- n = i;
974
+ r = i;
975
975
  }
976
976
  try {
977
977
  const i = await t.toHtml?.() ?? null;
978
- i && (r[S.html] = new Blob([i], { type: S.html }));
978
+ i && (n[S.html] = new Blob([i], { type: S.html }));
979
979
  } catch (i) {
980
- n = i, console.warn("export to html", i);
980
+ r = i, console.warn("export to html", i);
981
981
  }
982
982
  try {
983
983
  const i = await t.toImage?.() ?? null;
984
- i && (r[S.png] = i);
984
+ i && (n[S.png] = i);
985
985
  } catch (i) {
986
- n = i, console.warn("export to png", i);
986
+ r = i, console.warn("export to png", i);
987
987
  }
988
- const o = this._write({ uuid: de(), ref: t, items: Object.keys(r).length > 0 ? [new ClipboardItem(r)] : null });
989
- if (n) throw n;
988
+ const o = this._write({ uuid: de(), ref: t, items: Object.keys(n).length > 0 ? [new ClipboardItem(n)] : null });
989
+ if (r) throw r;
990
990
  return o;
991
991
  }
992
992
  clear(t = !1) {
@@ -996,32 +996,32 @@ class tt {
996
996
  return await this.read(), this._state?.ref ?? null;
997
997
  }
998
998
  readText() {
999
- return new Promise(async (t, n) => {
1000
- const r = await this.read();
999
+ return new Promise(async (t, r) => {
1000
+ const n = await this.read();
1001
1001
  let o = null;
1002
- for (let a = 0; !o && r && a < r.length; a++) r[a].types.includes(S.plain) && (o = await r[a].getType(S.plain));
1002
+ for (let a = 0; !o && n && a < n.length; a++) n[a].types.includes(S.plain) && (o = await n[a].getType(S.plain));
1003
1003
  if (!o) return void t("");
1004
1004
  const i = new FileReader();
1005
1005
  i.onload = () => {
1006
1006
  t(i.result);
1007
1007
  }, i.readAsText(o), i.onerror = (a) => {
1008
- n(a);
1008
+ r(a);
1009
1009
  };
1010
1010
  });
1011
1011
  }
1012
1012
  async writeText(t) {
1013
- const n = [new ClipboardItem({ [S.plain]: new Blob([t], { type: S.plain }) })];
1014
- return this._write({ uuid: de(), items: n, ref: null });
1013
+ const r = [new ClipboardItem({ [S.plain]: new Blob([t], { type: S.plain }) })];
1014
+ return this._write({ uuid: de(), items: r, ref: null });
1015
1015
  }
1016
- addEventListener(t, n, r = {}) {
1017
- const o = r?.capture ? this._listenersCapture : this._listeners;
1016
+ addEventListener(t, r, n = {}) {
1017
+ const o = n?.capture ? this._listenersCapture : this._listeners;
1018
1018
  let i = o.get(t);
1019
- i || (i = /* @__PURE__ */ new Map(), o.set(t, i)), i.set(n, typeof r == "boolean" ? {} : r);
1019
+ i || (i = /* @__PURE__ */ new Map(), o.set(t, i)), i.set(r, typeof n == "boolean" ? {} : n);
1020
1020
  }
1021
1021
  dispatchEvent(t) {
1022
1022
  if (!t) return;
1023
- const n = (r) => {
1024
- const o = r.get(t.type);
1023
+ const r = (n) => {
1024
+ const o = n.get(t.type);
1025
1025
  o && o.forEach((i, a) => {
1026
1026
  try {
1027
1027
  typeof a == "function" ? a(t) : a.handleEvent && a.handleEvent(t), i.once && o.delete(a);
@@ -1030,11 +1030,11 @@ class tt {
1030
1030
  }
1031
1031
  });
1032
1032
  };
1033
- return n(this._listenersCapture), n(this._listeners), !0;
1033
+ return r(this._listenersCapture), r(this._listeners), !0;
1034
1034
  }
1035
- removeEventListener(t, n, r) {
1036
- const o = r?.capture ? this._listenersCapture : this._listeners, i = o.get(t);
1037
- i && (i.delete(n), i.size === 0 && o.delete(t));
1035
+ removeEventListener(t, r, n) {
1036
+ const o = n?.capture ? this._listenersCapture : this._listeners, i = o.get(t);
1037
+ i && (i.delete(r), i.size === 0 && o.delete(t));
1038
1038
  }
1039
1039
  close() {
1040
1040
  globalThis.removeEventListener?.("focus", this._onFocus), globalThis.removeEventListener?.("blur", this._onBlur);
@@ -1053,16 +1053,16 @@ async function Gt() {
1053
1053
  return ee;
1054
1054
  }
1055
1055
  let e, t;
1056
- le = new Promise((n, r) => {
1057
- e = n, t = r;
1056
+ le = new Promise((r, n) => {
1057
+ e = r, t = n;
1058
1058
  });
1059
1059
  try {
1060
- const { initialize: n } = await Promise.resolve().then(function() {
1061
- return on;
1060
+ const { initialize: r } = await Promise.resolve().then(function() {
1061
+ return or;
1062
1062
  });
1063
- return ee = await n(), e(), ee;
1064
- } catch (n) {
1065
- throw console.error("Failed to import or initialize esbuild:", n), le = null, t(n), n;
1063
+ return ee = await r(), e(), ee;
1064
+ } catch (r) {
1065
+ throw console.error("Failed to import or initialize esbuild:", r), le = null, t(r), r;
1066
1066
  }
1067
1067
  }
1068
1068
  const Wt = {
@@ -1071,21 +1071,21 @@ const Wt = {
1071
1071
  target: "esnext"
1072
1072
  }
1073
1073
  };
1074
- async function Yt(e, t, n = "/script.js", r = qt) {
1074
+ async function Yt(e, t, r = "/script.js", n = qt) {
1075
1075
  try {
1076
1076
  const o = await Gt(), i = "@sheetxl/primitives", a = \`
1077
- export const FormulaContext = globalThis.\${r}?.FormulaContext;
1078
- export const ScalarType = globalThis.\${r}?.ScalarType;
1079
- export const Observable = globalThis.\${r}?.Observable;
1080
- export const IRange = globalThis.\${r}?.IRange;
1081
- export const FormulaError = globalThis.\${r}?.FormulaError;
1077
+ export const FormulaContext = globalThis.\${n}?.FormulaContext;
1078
+ export const ScalarType = globalThis.\${n}?.ScalarType;
1079
+ export const Observable = globalThis.\${n}?.Observable;
1080
+ export const IRange = globalThis.\${n}?.IRange;
1081
+ export const FormulaError = globalThis.\${n}?.FormulaError;
1082
1082
  // Add more exports as needed
1083
1083
  \`, l = {
1084
1084
  // ESBuild.Plugin = {
1085
1085
  name: "sheetxl-esbuild-in-memory",
1086
1086
  setup(p) {
1087
1087
  const w = "sheetxl-" + (/* @__PURE__ */ new Date()).getTime();
1088
- p.onResolve({ filter: new RegExp(\`^(\${n.replace("/", "\\\\/")}|\${i})$\`) }, (g) => ({
1088
+ p.onResolve({ filter: new RegExp(\`^(\${r.replace("/", "\\\\/")}|\${i})$\`) }, (g) => ({
1089
1089
  path: g.path,
1090
1090
  namespace: w
1091
1091
  })), p.onResolve({ filter: /.*/ }, (g) => {
@@ -1093,7 +1093,7 @@ async function Yt(e, t, n = "/script.js", r = qt) {
1093
1093
  return console.warn(\`esbuild: Treating import "\${g.path}" as external.\`), { path: g.path, external: !0 };
1094
1094
  }), p.onLoad({ filter: /.*/, namespace: w }, (g) => {
1095
1095
  let f;
1096
- if (g.path === n)
1096
+ if (g.path === r)
1097
1097
  f = t;
1098
1098
  else if (g.path === i)
1099
1099
  f = a;
@@ -1109,7 +1109,7 @@ async function Yt(e, t, n = "/script.js", r = qt) {
1109
1109
  });
1110
1110
  }
1111
1111
  }, u = await o.build({
1112
- entryPoints: [n],
1112
+ entryPoints: [r],
1113
1113
  // Use the virtual entry point
1114
1114
  bundle: !0,
1115
1115
  // IMPORTANT: Enable bundling
@@ -1166,9 +1166,9 @@ interface Promise<T> {
1166
1166
  ["ICellRange", "range"],
1167
1167
  ["IFormulaContext", "context"]
1168
1168
  ]), _e = (e, t) => {
1169
- Array.from(t.keys()).forEach((r) => {
1170
- const o = t.get(r);
1171
- t.set(\`\${e}.\${r}\`, o);
1169
+ Array.from(t.keys()).forEach((n) => {
1170
+ const o = t.get(n);
1171
+ t.set(\`\${e}.\${n}\`, o);
1172
1172
  });
1173
1173
  }, Zt = /* @__PURE__ */ new Map([
1174
1174
  ["Scalar", "*"],
@@ -1181,7 +1181,7 @@ interface Promise<T> {
1181
1181
  _e(Oe, yt);
1182
1182
  _e(Oe, gt);
1183
1183
  _e(Oe, Qt);
1184
- const en = /* @__PURE__ */ new Map([
1184
+ const er = /* @__PURE__ */ new Map([
1185
1185
  ["Promise", () => ({ async: !0 })],
1186
1186
  // ['PromiseLike', (): Partial<IFunction.ReturnTypeJSON> => {
1187
1187
  // return { async: true };
@@ -1189,12 +1189,12 @@ const en = /* @__PURE__ */ new Map([
1189
1189
  ["Observable", () => ({ stream: !0 })]
1190
1190
  ]);
1191
1191
  let se = null;
1192
- async function tn() {
1192
+ async function tr() {
1193
1193
  if (se)
1194
1194
  return se;
1195
1195
  try {
1196
1196
  return await (await Promise.resolve().then(function() {
1197
- return ln;
1197
+ return ar;
1198
1198
  })).initialize();
1199
1199
  } catch (e) {
1200
1200
  throw se = null, e;
@@ -1202,14 +1202,14 @@ async function tn() {
1202
1202
  se = null;
1203
1203
  }
1204
1204
  }
1205
- async function nn(e) {
1205
+ async function rr(e) {
1206
1206
  const t = e?.source ?? null;
1207
1207
  if (!t) return null;
1208
- const n = (e.disableBundle || e.declarationsOnly) ?? !1, r = [
1208
+ const r = (e.disableBundle || e.declarationsOnly) ?? !1, n = [
1209
1209
  Xt(),
1210
1210
  //import('typescript'), // when bundled, but node check causes issues. We could bundle replace isNode but felt hacky
1211
- tn()
1212
- ], o = await Promise.all(r), i = o[0], a = o[1];
1211
+ tr()
1212
+ ], o = await Promise.all(n), i = o[0], a = o[1];
1213
1213
  let l = "", u = null;
1214
1214
  const p = [], w = {
1215
1215
  allowJs: !0,
@@ -1286,7 +1286,7 @@ async function nn(e) {
1286
1286
  if (R)
1287
1287
  return R;
1288
1288
  } else {
1289
- const R = en.get(M);
1289
+ const R = er.get(M);
1290
1290
  if (R) {
1291
1291
  const b = { ...m, ...R() };
1292
1292
  let N = 0;
@@ -1433,7 +1433,7 @@ async function nn(e) {
1433
1433
  throw new Error("No exported functions.");
1434
1434
  const bt = \`\${$t.uuidV4()}-script\`;
1435
1435
  try {
1436
- !n && B.length === 0 && (l = await Yt(a, l, g));
1436
+ !r && B.length === 0 && (l = await Yt(a, l, g));
1437
1437
  } catch {
1438
1438
  console.warn("Error bundling script");
1439
1439
  }
@@ -1449,30 +1449,30 @@ async function nn(e) {
1449
1449
  return u && (Ie.autoRun = u), Ie;
1450
1450
  }
1451
1451
  self.addEventListener("message", async (e) => {
1452
- const { id: t, params: n } = e.data;
1452
+ const { id: t, params: r } = e.data;
1453
1453
  try {
1454
- const r = await nn(n);
1455
- self.postMessage({ id: t, result: r, error: null });
1456
- } catch (r) {
1454
+ const n = await rr(r);
1455
+ self.postMessage({ id: t, result: n, error: null });
1456
+ } catch (n) {
1457
1457
  self.postMessage({
1458
1458
  id: t,
1459
1459
  result: null,
1460
1460
  error: {
1461
- message: r.message,
1462
- stack: r.stack,
1463
- cause: r.cause
1461
+ message: n.message,
1462
+ stack: n.stack,
1463
+ cause: n.cause
1464
1464
  }
1465
1465
  });
1466
1466
  }
1467
1467
  });
1468
1468
  let ce = null;
1469
- async function rn() {
1469
+ async function nr() {
1470
1470
  return ce || (ce = new Promise(async (e, t) => {
1471
1471
  try {
1472
- const n = "0.20.2", r = \`https://esm.sh/esbuild-wasm@\${n}\`, o = \`https://esm.sh/esbuild-wasm@\${n}/esbuild.wasm\`, a = (await import(
1472
+ const r = "0.20.2", n = \`https://esm.sh/esbuild-wasm@\${r}\`, o = \`https://esm.sh/esbuild-wasm@\${r}/esbuild.wasm\`, a = (await import(
1473
1473
  /* webpackIgnore: true */
1474
1474
  /* @vite-ignore */
1475
- r
1475
+ n
1476
1476
  )).default;
1477
1477
  await a.initialize({
1478
1478
  wasmURL: o,
@@ -1480,29 +1480,29 @@ async function rn() {
1480
1480
  worker: !1
1481
1481
  // Keep processing on the current thread
1482
1482
  }), e(a);
1483
- } catch (n) {
1484
- console.error("Error initializing esbuild:", n), t(n);
1483
+ } catch (r) {
1484
+ console.error("Error initializing esbuild:", r), t(r);
1485
1485
  }
1486
1486
  }), ce);
1487
1487
  }
1488
- var on = /* @__PURE__ */ Object.freeze({
1488
+ var or = /* @__PURE__ */ Object.freeze({
1489
1489
  __proto__: null,
1490
- initialize: rn
1490
+ initialize: nr
1491
1491
  });
1492
1492
  let ue = null;
1493
- async function an() {
1493
+ async function ir() {
1494
1494
  return ue || (ue = new Promise(async (e, t) => {
1495
- let n = null;
1495
+ let r = null;
1496
1496
  try {
1497
- n = await import("https://esm.sh/typescript@5.7.2");
1498
- } catch (r) {
1499
- console.error("Error initializing Browser TypeScript module:", r);
1497
+ r = await import("https://esm.sh/typescript@5.7.2");
1498
+ } catch (n) {
1499
+ console.error("Error initializing Browser TypeScript module:", n);
1500
1500
  }
1501
- n || console.log("use script fallback"), e(n);
1501
+ r || console.log("use script fallback"), e(r);
1502
1502
  }), ue);
1503
1503
  }
1504
- var ln = /* @__PURE__ */ Object.freeze({
1504
+ var ar = /* @__PURE__ */ Object.freeze({
1505
1505
  __proto__: null,
1506
- initialize: an
1506
+ initialize: ir
1507
1507
  });
1508
- `,a=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=a&&(self.URL||self.webkitURL).createObjectURL(a),!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("./CfsbrfL6VcFwp3yu.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()};
1508
+ `,a=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=a&&(self.URL||self.webkitURL).createObjectURL(a),!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("./CTT_jzhLio55PSMa.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()};