@sheetxl/studio-mui 0.3.2 → 0.3.3

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 (176) hide show
  1. package/LICENSE.md +11 -11
  2. package/README.md +24 -24
  3. package/browser/cjs/{CgaWzlL_p5dgqA4f.cjs → B0-aLTQ0dAlPdRnQ.cjs} +3 -3
  4. package/browser/cjs/{D0ByNhICkrbUC74Z.cjs → BAGEDalcFwfUrDOV.cjs} +1 -1
  5. package/browser/cjs/{ByKQeaRgOfTOn4P6.cjs → BH160EggM2K8qaSr.cjs} +1 -1
  6. package/browser/cjs/{DLeOkdGvdWl5tqCl.cjs → BL1st_QvuF5m8AaJ.cjs} +2 -2
  7. package/browser/cjs/{CGxAeOIqbsFk97UV.cjs → BMcvveT3JniLuWWw.cjs} +2 -2
  8. package/browser/cjs/{DLcyf5qNRNueXSur.cjs → BQyDL6TxMqPmkugH.cjs} +1 -1
  9. package/browser/cjs/{CkxuzW8FWE8vKkSL.cjs → B_JRx-UyLNBI8Jr9.cjs} +2 -2
  10. package/browser/cjs/{DFIMAvLgAQfQm3Bx.cjs → BbCINWmJNJ1UoABX.cjs} +1 -1
  11. package/browser/cjs/{Ce6nJl_bhnr51GJ3.cjs → BdPTNgv6BQFiJXiH.cjs} +30 -30
  12. package/browser/cjs/{BjaD6jFpWrhKL2dz.cjs → BgqUvcQGSrZtIsnp.cjs} +1 -1
  13. package/browser/cjs/{CMTXA4puzeAnzQwq.cjs → Bh785l7WNSK7G3hU.cjs} +1 -1
  14. package/browser/cjs/{C-4fmxJxBM8ThtN5.cjs → BlBsVySC7wICKf3b.cjs} +2 -2
  15. package/browser/cjs/{sNpLX232YHzUxZOr.cjs → Bub0lBbzpOagYy-6.cjs} +4 -4
  16. package/browser/cjs/{DkOOlgNR-NXixaQX.cjs → BvV0mrFKi8cdsSFF.cjs} +1 -1
  17. package/browser/cjs/{DAnQwP6m2P_AUhZh.cjs → BxCxDRRwMVIA9T0Q.cjs} +1 -1
  18. package/browser/cjs/{BLHCySywMnqptSI9.cjs → BxbbUhKRSHRfeoNL.cjs} +4 -4
  19. package/browser/cjs/{C19mJZkF3zJRRDNw.cjs → C3RxbodVdJ0MR0eY.cjs} +3 -3
  20. package/browser/cjs/{DUUZT0ElQBBkt4qe.cjs → C4zc2Ll270E135fR.cjs} +1 -1
  21. package/browser/cjs/{CsvjAXVeoKH34aZc.cjs → C9TJkm0tBPD04idM.cjs} +2 -2
  22. package/browser/cjs/{C2kX273f3kTe7viA.cjs → CEkRIfptK2yyy4PS.cjs} +1 -1
  23. package/browser/cjs/{CJFKRBbjz7X-rEau.cjs → CEx5ZMI8c4HYrxzW.cjs} +1 -1
  24. package/browser/cjs/{CSiwPeW0XIEaw5qn.cjs → CGp4fzG2ZIsJmB72.cjs} +1 -1
  25. package/browser/cjs/{CX6yLHEdmP8SVEfH.cjs → CPKZW7FfYlmkNYbE.cjs} +2 -2
  26. package/browser/cjs/{vEKDv57iikwYjhOc.cjs → CP_eU6V1jkcP4WtQ.cjs} +2 -2
  27. package/browser/cjs/{CxIFTPLgMN5VgKh1.cjs → CT5f8xMCNbOhih6R.cjs} +2 -2
  28. package/browser/cjs/{KNduwqq-J9uyLgsC.cjs → CV6WjeLkZrGoM4SB.cjs} +1 -1
  29. package/browser/cjs/{DI-wbtkuZm7yx_ek.cjs → CZA_Av5pG0M1RgJK.cjs} +2 -2
  30. package/browser/cjs/{_EleKbbhQWfp8mqy.cjs → Ca6YJnV2DBQrqx0b.cjs} +2 -2
  31. package/browser/cjs/{Cjs836g7b_ipAS4X.cjs → Ci7CqdgErq0IGcl5.cjs} +1 -1
  32. package/browser/cjs/{B-N31rKSrvqkcxZP.cjs → CmROQEOLO7s-rzZW.cjs} +1 -1
  33. package/browser/cjs/{LTnky81SCDfvEiub.cjs → Cnc0-T-tLmqyX7Mq.cjs} +1 -1
  34. package/browser/cjs/{CwgzXfkSX0s-h_0a.cjs → Ct6nh7ILtW_PHbB3.cjs} +1 -1
  35. package/browser/cjs/{1C6nE8JXbR1K_yhw.cjs → CtmTxxgCijL1ZuPa.cjs} +1 -1
  36. package/browser/cjs/{BbEnQfoP4EOJK3YQ.cjs → CyUaP6X--CmuILoU.cjs} +2 -2
  37. package/browser/cjs/{CsxexX1uKSMjAryZ.cjs → D598Bk4npBA6UESy.cjs} +1 -1
  38. package/browser/cjs/{BTSVJlDxWgqbdgwJ.cjs → D69p4DRnZE5Oa52x.cjs} +1 -1
  39. package/browser/cjs/{DmZIqrySryidgnRl.cjs → D7asEaPB97YVwe1v.cjs} +2 -2
  40. package/browser/cjs/{BZfQo-wrdJc4xy1p.cjs → D8qPzQKLyGrgGg08.cjs} +2 -2
  41. package/browser/cjs/{CaH2ZbfCFFqmTqKi.cjs → D9lDObZe3CkEPPGI.cjs} +1 -1
  42. package/browser/cjs/{BBJ57oaa6vu0zEjI.cjs → DAyHZyXZGsDWfbyd.cjs} +1 -1
  43. package/browser/cjs/{CM1UZZ4gfAch7cju.cjs → DFrTuKkfDctye00L.cjs} +3 -3
  44. package/browser/cjs/{BnaQy4xZm6MUD5Sg.cjs → DNquPukGj-6iRmmP.cjs} +2 -2
  45. package/browser/cjs/{DscIvkrfig_mffwY.cjs → DOXD9gLvRI-UN_9l.cjs} +1 -1
  46. package/browser/cjs/{C6MOXXmZPlw53ARk.cjs → DRhcrHz-whpKmHXb.cjs} +1 -1
  47. package/browser/cjs/{CEjq7KQ0zHIi69or.cjs → DSNu0kgR1_X-nK_Z.cjs} +2 -2
  48. package/browser/cjs/{IaiQe7d-LGA2611T.cjs → DdBygPkI15syG3qE.cjs} +4 -4
  49. package/browser/cjs/{6denMJxSAR1JnvVP.cjs → DrgfA0AIigevE5fO.cjs} +2 -2
  50. package/browser/cjs/{Cbffh394PX-rgpbL.cjs → DyjUI4ZuHoE2UtYP.cjs} +2 -2
  51. package/browser/cjs/{Dz8coNXp80TEXSyH.cjs → Ou0ysDOtKXD_MCyi.cjs} +1 -1
  52. package/browser/cjs/{Clh_-4NLLHCW3c-r.cjs → Tkr7WOf1Km7F6jc1.cjs} +1 -1
  53. package/browser/cjs/{C0vPGOmkrEmgMUC8.cjs → Ui6MyVXLy4hSZZln.cjs} +1 -1
  54. package/browser/cjs/{BtYvPg1MnEyGWx8E.cjs → YpWYrg3Eysqtr9aZ.cjs} +1 -1
  55. package/browser/cjs/{BszSSdQItUM3BnN1.cjs → ZSSSnynZ-cYurCZ4.cjs} +1 -1
  56. package/browser/cjs/{ChVT2EzsTJjDsozn.cjs → hDl6HNkylTvv-qT3.cjs} +1 -1
  57. package/browser/cjs/index.cjs +3 -3
  58. package/browser/cjs/{sxA11AN6vr9fiHaa.cjs → scolQa-PxnIvyiDb.cjs} +1 -1
  59. package/browser/cjs/{CLeyzaTKMMR0Hcac.cjs → tLWq6abRGIT6oIrd.cjs} +1 -1
  60. package/browser/cjs/{DfrXQdrMzJWgyX4S.cjs → xS50A4hbimnAA3g8.cjs} +1 -1
  61. package/browser/esm/{s-R04_lOf8TuzWvo.mjs → 0qppnWkLyeMGOizg.mjs} +1 -1
  62. package/browser/esm/{DudPyyE63O5X5Tij.mjs → 5uqs7KjiX3pi6cd5.mjs} +2 -2
  63. package/{node/esm/B1BxGO2lBpSxSvw1.mjs → browser/esm/6qF6HMFmVJEMu5ze.mjs} +1 -1
  64. package/browser/esm/{cOX4zBcY0-H_8kAj.mjs → 91ZejdYNSNvEQyri.mjs} +442 -441
  65. package/browser/esm/{BVDNIiq2e_loYVfc.mjs → B0k5xuPgYO9B-vto.mjs} +2 -2
  66. package/browser/esm/{DoCwq6ipapKirQSJ.mjs → B1fKMAH-vx3TJ0ii.mjs} +1 -1
  67. package/{node/esm/Be1UWt41K_Sp7nbQ.mjs → browser/esm/B6KWiZxcJDzPKz7A.mjs} +1 -1
  68. package/browser/esm/{C3dyK-h3mgD7XzKl.mjs → B9IRFHtuYz6_J4Sj.mjs} +2 -2
  69. package/browser/esm/{D645MdIazDB-hc3d.mjs → BCiGYy5wMbcNSF3g.mjs} +1 -1
  70. package/browser/esm/{BFtFjxXyhdNH6yAV.mjs → BGfz8kkDQwuckxnU.mjs} +1 -1
  71. package/browser/esm/{TFr0V-rb-KYQeRVW.mjs → BIQXdDApQqsa7WWH.mjs} +1 -1
  72. package/browser/esm/{_zJv_HkelROSMajR.mjs → BLiRvSBEJD-6dWH0.mjs} +1 -1
  73. package/browser/esm/{ob7IFBy7DLC-iS-g.mjs → BNWWT7cxdCiMaWFC.mjs} +1 -1
  74. package/browser/esm/{DWoRF-U96vWLWF5Q.mjs → BSB3k2C-vxhRI9pk.mjs} +2 -2
  75. package/browser/esm/{BRPqw1D9DgPK_A6V.mjs → BVjzMl2EkoD1ceqn.mjs} +2 -2
  76. package/browser/esm/{CRByH9Wf2wJ94di-.mjs → BXvDIYhOIHqmZQQo.mjs} +1 -1
  77. package/{node/esm/B8le6PM3dfy1qSHY.mjs → browser/esm/Baiv07hkxLIkAcoq.mjs} +1 -1
  78. package/browser/esm/{DRVlO95U75R3eY27.mjs → Bc6K-JiRW1SodxIq.mjs} +1 -1
  79. package/browser/esm/{B-DwCBC-vYtRKiGS.mjs → BeMVD9uqSXo5o9U7.mjs} +4 -4
  80. package/browser/esm/{DPw7ErLvgq_9jYHE.mjs → BpfyDNlbLX4dOPvj.mjs} +1 -1
  81. package/browser/esm/{UC5M3Z5HmOzupzqQ.mjs → Bs0RJigDhPR1WzFT.mjs} +1 -1
  82. package/browser/esm/{kjRF87FSQwIzB1KD.mjs → BtP3Wpc2YRk8W2KZ.mjs} +1 -1
  83. package/browser/esm/{C9uQaKOaImv5o9c3.mjs → BwWIlZYqfL7BAjSI.mjs} +1 -1
  84. package/browser/esm/{D2yV2gASA--bjve5.mjs → C7YTh7Sm32Nt_Kv5.mjs} +1 -1
  85. package/browser/esm/{ZwbkuvbehTjluIzn.mjs → C8eXD0cT7ZPGYNCl.mjs} +3 -3
  86. package/{node/esm/CNdA2-u6_d2tqz5J.mjs → browser/esm/CE1gssQmn8QAeBEI.mjs} +1 -1
  87. package/browser/esm/{FhyoG4Gyhb7gVRPB.mjs → CE3LjR3RfccnMUQt.mjs} +2 -2
  88. package/browser/esm/{BSv1o1DpwfEAWYSy.mjs → CE3vBPdWXPf3M3h2.mjs} +2 -2
  89. package/browser/esm/{CpD505ep5Z3oX287.mjs → CJigh9OXZ04sdTLc.mjs} +6 -6
  90. package/browser/esm/{CaFxIFV4dLSI4zDW.mjs → CLHgqHwohIYlAAUF.mjs} +4 -4
  91. package/browser/esm/{D_LHNgrCc-7V6FjT.mjs → CTdZQdi5BoNPu7rZ.mjs} +4 -4
  92. package/browser/esm/{DX8AE4p9fLlmEdTJ.mjs → CTuGnJMMNAi4EKiy.mjs} +1 -1
  93. package/{node/esm/BMsToxhQy4cSxlz-.mjs → browser/esm/CUZmKq_NPR_OCibb.mjs} +1 -1
  94. package/browser/esm/{BCIwvhxFiDXGEwES.mjs → ChIE2YGkU9_cnmDj.mjs} +1 -1
  95. package/browser/esm/{Dxl5GgDFgUsBkg-b.mjs → Cv8VSqfWEaftgiTH.mjs} +1 -1
  96. package/{node/esm/DYvwKUBbWi2NWsyf.mjs → browser/esm/CvJUNcDyz497Gxl7.mjs} +1 -1
  97. package/browser/esm/{B7mPpY5DOxEGMbPk.mjs → D2OQwThnobBdsQ1x.mjs} +3 -3
  98. package/browser/esm/{Bqmme9ilyvrHA-e_.mjs → D73ljnqYKCXMdyPd.mjs} +4 -4
  99. package/{node/esm/iIqrOkF_gUf_5m0C.mjs → browser/esm/DAPWMPwVGQJsblPQ.mjs} +1 -1
  100. package/browser/esm/{Dvi6qc2t9c_bRvzo.mjs → DJVGX60ly4BfiFse.mjs} +2 -2
  101. package/browser/esm/{AkfGEQyMAKNp1Ktw.mjs → DTW06ga7BIWfkpc3.mjs} +2 -2
  102. package/browser/esm/{Bt8Hem_KC6UibnGm.mjs → DpJqkBHKECEClAah.mjs} +2 -2
  103. package/browser/esm/{CdUwERsyanWuNPx8.mjs → DrzfnYtbTkZ0Vztm.mjs} +2 -2
  104. package/browser/esm/{26ozZ2-vj7N8rpiB.mjs → Dsu3RRvUfCUWRZ6q.mjs} +1 -1
  105. package/browser/esm/{VchKQpT2_B7Ca113.mjs → DxEtUnQEyEYWuqL7.mjs} +2 -2
  106. package/{node/esm/CXKMDzYsDLhyK3SV.mjs → browser/esm/Dxrje6uVvr2LGdV7.mjs} +1 -1
  107. package/browser/esm/{BNbDRm5P-Ha3rBv4.mjs → Dy7xNyqd4jfUcj2t.mjs} +1 -1
  108. package/browser/esm/{BvPUue2e8_ByeP7c.mjs → JMr0jtu67PC8clGf.mjs} +1 -1
  109. package/browser/esm/{9vaTrJzQjSFA2egn.mjs → PbEXrCdkQc02gfVZ.mjs} +2 -2
  110. package/browser/esm/{Dq2nqH2znDzDq0no.mjs → QNCUQO7a-oixacNG.mjs} +1 -1
  111. package/browser/esm/{Cz9BPykuRu_5ay57.mjs → QhTxW6tFl-So20AH.mjs} +2 -2
  112. package/browser/esm/{D6mAWXETxAqf416J.mjs → _tXPsCW6hHTdj45y.mjs} +1 -1
  113. package/browser/esm/{Qq233O5gbpRAP6un.mjs → bJWg5_Jxjizyivdn.mjs} +2 -2
  114. package/{node/esm/CBFDGZ_aqeLV3IIt.mjs → browser/esm/cVH-KYzKaUP4C3dh.mjs} +1 -1
  115. package/browser/esm/{CV-D1e318ShLCDie.mjs → cp8pKSzbJqh-zBtd.mjs} +1 -1
  116. package/browser/esm/{_5B66awyRsaDd_Hv.mjs → dmuee2Is7r5Q4B3M.mjs} +1 -1
  117. package/browser/esm/index.mjs +3 -3
  118. package/browser/esm/{ByYn00uYUmHj9zvS.mjs → q1cTyqrb2yKNSDq5.mjs} +5 -5
  119. package/licenses/dependencies.txt +77 -77
  120. package/node/assets/style.css +1 -1
  121. package/node/esm/{BK9EmmFbROJ0rZqB.mjs → 0CbEJyCpbWyFHdK1.mjs} +2 -2
  122. package/node/esm/{D95MPCm8ObgZN5_j.mjs → 6L7TnSLCvI3zabFK.mjs} +1 -1
  123. package/{browser/esm/B1BxGO2lBpSxSvw1.mjs → node/esm/6qF6HMFmVJEMu5ze.mjs} +1 -1
  124. package/node/esm/{D5uKz7a9v8FUVx0k.mjs → A5WewF_ecyRMfEW9.mjs} +3 -3
  125. package/node/esm/{Do5a0pvRN3hayzdD.mjs → B0rQMzpUsBE47H-k.mjs} +1 -1
  126. package/node/esm/{CV4Y5e_kU8o_sXoX.mjs → B3TBImEZBAbKsEAq.mjs} +1 -1
  127. package/{browser/esm/Be1UWt41K_Sp7nbQ.mjs → node/esm/B6KWiZxcJDzPKz7A.mjs} +1 -1
  128. package/node/esm/{_Wieg3dqzHo6_Crg.mjs → B8tFaB-W9JcM6xhy.mjs} +2 -2
  129. package/node/esm/{BFtFjxXyhdNH6yAV.mjs → BGfz8kkDQwuckxnU.mjs} +1 -1
  130. package/node/esm/{kTEpzGO5dC1M9dbV.mjs → BKb0zrP-OexxgIYb.mjs} +1 -1
  131. package/node/esm/{ob7IFBy7DLC-iS-g.mjs → BNWWT7cxdCiMaWFC.mjs} +1 -1
  132. package/node/esm/{pTSFPHHLPzmAcEKW.mjs → BQBHsnvwWPo5kQhy.mjs} +1 -1
  133. package/node/esm/{CwIlFXgoa_xv0Doi.mjs → BY1cZ8MXawge5drQ.mjs} +1 -1
  134. package/node/esm/{CYsd2qqC_WxLTKE1.mjs → BZTLlsc-NvE1_mTb.mjs} +1 -1
  135. package/{browser/esm/B8le6PM3dfy1qSHY.mjs → node/esm/Baiv07hkxLIkAcoq.mjs} +1 -1
  136. package/node/esm/{DRVlO95U75R3eY27.mjs → Bc6K-JiRW1SodxIq.mjs} +1 -1
  137. package/node/esm/{B7bDAwgd6OSbVJh_.mjs → BiVFM0O-4h4yY7oa.mjs} +1 -1
  138. package/node/esm/{CI9F84m6LzoOkVfK.mjs → BiiNcUkTIcWxOabS.mjs} +1 -1
  139. package/node/esm/{CYcFo_OeyApoGTg3.mjs → BnbhKW27rQ185mOb.mjs} +1 -1
  140. package/node/esm/{D61UbOtLixUCDQce.mjs → Bq-gS5qqB1Jrllm2.mjs} +5 -5
  141. package/node/esm/{CWRpbP9nAT2yR2r6.mjs → Br_lQeehvACsDkzu.mjs} +1 -1
  142. package/node/esm/{DdDxTsQsLWNqX7ee.mjs → Bv7SpuMBfsaGEFxP.mjs} +1 -1
  143. package/node/esm/{CS138m7XyLHvzDPV.mjs → BvOnjWMz5o3z-qWe.mjs} +1 -1
  144. package/node/esm/{C9uQaKOaImv5o9c3.mjs → BwWIlZYqfL7BAjSI.mjs} +1 -1
  145. package/node/esm/{B2Y6U5_PvKIFVtAh.mjs → C0eiYtK0Lkx4fQGc.mjs} +6 -6
  146. package/node/esm/{BpdsRwlUAUyUdrlR.mjs → C0qF-AAqNGDMeSVO.mjs} +2 -2
  147. package/node/esm/{ZVae6CkvsUOXzMKw.mjs → CBlVCA0uvCwlok1v.mjs} +1 -1
  148. package/{browser/esm/CNdA2-u6_d2tqz5J.mjs → node/esm/CE1gssQmn8QAeBEI.mjs} +1 -1
  149. package/node/esm/{B5jFauUSFpo_iDkW.mjs → CI3U9rEYT3a_Biw5.mjs} +1 -1
  150. package/{browser/esm/BMsToxhQy4cSxlz-.mjs → node/esm/CUZmKq_NPR_OCibb.mjs} +1 -1
  151. package/node/esm/{Bk7aoxfQtGp8id7D.mjs → CZA-oIez6io5vwv1.mjs} +1 -1
  152. package/node/esm/{DjLSO4d4T2JddYG_.mjs → CZlpZhqzgcRkv_bX.mjs} +3 -3
  153. package/node/esm/{Bth10k64kFkk36Hy.mjs → Cd5wE06_wa41Z6Wt.mjs} +2 -2
  154. package/node/esm/{BCIwvhxFiDXGEwES.mjs → ChIE2YGkU9_cnmDj.mjs} +1 -1
  155. package/{browser/esm/DYvwKUBbWi2NWsyf.mjs → node/esm/CvJUNcDyz497Gxl7.mjs} +1 -1
  156. package/node/esm/{BsSGinAqat7R8x_O.mjs → D4ydLNNfUH8D41A7.mjs} +1 -1
  157. package/node/esm/{DfXVaugDnucoDGYk.mjs → D6wjzUXEh-Q71uoB.mjs} +1 -1
  158. package/{browser/esm/iIqrOkF_gUf_5m0C.mjs → node/esm/DAPWMPwVGQJsblPQ.mjs} +1 -1
  159. package/node/esm/{rF9x01iQv2EpxorW.mjs → DJtTsiROzkkD2wRx.mjs} +1 -1
  160. package/node/esm/{CM9lgZdHfhhL2cv-.mjs → DLEDFraKFWvZtfvX.mjs} +1 -1
  161. package/node/esm/{CJiY4Wz9eiX2B9nv.mjs → DNYPU79SNlXuHN8j.mjs} +1 -1
  162. package/node/esm/{DuboCcThig3p0wzs.mjs → DbzTWKX0Q8SGsGA4.mjs} +1 -1
  163. package/node/esm/{BwnMNGZmp-FGW86J.mjs → DjhMNAleaI3hhcHG.mjs} +1 -1
  164. package/node/esm/{BeyDW_Yk6iu1JB4v.mjs → DtUFCYSrTGcBjdBN.mjs} +4 -4
  165. package/{browser/esm/CXKMDzYsDLhyK3SV.mjs → node/esm/Dxrje6uVvr2LGdV7.mjs} +1 -1
  166. package/node/esm/{8OtdJtJIKyA4POih.mjs → EebvqIVFwWH3slRt.mjs} +1 -1
  167. package/node/esm/{DYOAGczbRXmskyrr.mjs → Ro_fz9s3_2DHfiE-.mjs} +1 -1
  168. package/node/esm/{BjIAi3GfBAjiRIja.mjs → cT4-HbwV7TBlRjja.mjs} +3 -3
  169. package/{browser/esm/CBFDGZ_aqeLV3IIt.mjs → node/esm/cVH-KYzKaUP4C3dh.mjs} +1 -1
  170. package/node/esm/{CV-D1e318ShLCDie.mjs → cp8pKSzbJqh-zBtd.mjs} +1 -1
  171. package/node/esm/{_5B66awyRsaDd_Hv.mjs → dmuee2Is7r5Q4B3M.mjs} +1 -1
  172. package/node/esm/{CradKrxfiGQucTZ3.mjs → fENiUIb3u1Oy7Amv.mjs} +1 -1
  173. package/node/esm/index.mjs +54 -53
  174. package/node/esm/{N2xFXdAPXckWbqvN.mjs → tk69oRoeZHf4vk1z.mjs} +1 -1
  175. package/node/esm/{BX8KUYAnQx1vI-cS.mjs → zQ0ozpm04cC2OG19.mjs} +1 -1
  176. package/package.json +8 -8
@@ -9,7 +9,7 @@ import { alpha as Ut, darken as eA, lighten as tA, useTheme as a_, unstable_crea
9
9
  import rA, { internal_mutateStyles as iA, internal_serializeStyles as Q6, ThemeContext as sA } from "@mui/styled-engine";
10
10
  import { deepmerge as u_ } from "@mui/utils";
11
11
  /**
12
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.2
12
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.3
13
13
  *
14
14
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
15
15
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -222,11 +222,11 @@ for (let n = 0; n < e7.length; n++) {
222
222
  h_.set(o.getLabel(), o), y4.set(o.getCode(), o);
223
223
  }
224
224
  const lA = y4.get(Rt.Code.Unknown);
225
- var Ho;
226
- (Ho = Rt || (Rt = {})).BuiltIn = { Parse: new Ho.Parse(), Null: new Ho.Null(), Div0: new Ho.Div0(), Value: new Ho.Value(), Ref: new Ho.Ref(), Name: new Ho.Name(), Num: new Ho.Num(), NA: new Ho.NA(), GettingData: new Ho.GettingData(), Spill: new Ho.Spill(), Connect: new Ho.Connect(), Blocked: new Ho.Blocked(), Unknown: new Ho.Unknown(), Field: new Ho.Field(), Calc: new Ho.Calc(), Busy: new Ho.Busy(), Python: new Ho.Python(), Timeout: new Ho.Timeout() }, Ho.getBuiltInByLabel = (n) => h_.get(n), Ho.newTypedError = (n, e, t) => {
225
+ var $o;
226
+ ($o = Rt || (Rt = {})).BuiltIn = { Parse: new $o.Parse(), Null: new $o.Null(), Div0: new $o.Div0(), Value: new $o.Value(), Ref: new $o.Ref(), Name: new $o.Name(), Num: new $o.Num(), NA: new $o.NA(), GettingData: new $o.GettingData(), Spill: new $o.Spill(), Connect: new $o.Connect(), Blocked: new $o.Blocked(), Unknown: new $o.Unknown(), Field: new $o.Field(), Calc: new $o.Calc(), Busy: new $o.Busy(), Python: new $o.Python(), Timeout: new $o.Timeout() }, $o.getBuiltInByLabel = (n) => h_.get(n), $o.newTypedError = (n, e, t) => {
227
227
  let o;
228
- return o = typeof n == "string" ? p_.get(n) : g_.get(n), o || (o = Ho.Unknown), new o(e, t);
229
- }, Ho.getBuiltInById = (n) => y4.get(n) || lA;
228
+ return o = typeof n == "string" ? p_.get(n) : g_.get(n), o || (o = $o.Unknown), new o(e, t);
229
+ }, $o.getBuiltInById = (n) => y4.get(n) || lA;
230
230
  const Ao = { Up: "up", Down: "down", Left: "left", Right: "right" }, t7 = "l", eh = "c", n7 = "r", Qr = "text/html", Il = "text/plain", ap = "image/png", aA = Object.freeze({ left: 0, top: 0 }), cA = Object.freeze({ left: 0, top: 0, bottom: 0, right: 0 }), dA = Object.freeze({ x: 0, y: 0, width: 0, height: 0 }), vu = Object.freeze(Object.defineProperty({ __proto__: null, EmptyBounds: dA, EmptyRect: cA, EmptyTopLeft: aA }, Symbol.toStringTag, { value: "Module" })), dn = { Column: "column", Row: "row" }, J0 = { ...dn, Both: "both" }, uA = Object.freeze({ colIndex: 0, rowIndex: 0 }), hA = Object.freeze({ colStart: 0, rowStart: 0, colEnd: 0, rowEnd: 0 }), m_ = (n, e) => n.colStart === e.colStart ? n.rowStart - e.rowStart : n.colStart - e.colStart, f_ = (n, e) => n.rowStart === e.rowStart ? n.colStart - e.colStart : n.rowStart - e.rowStart, pA = (n, e) => n.rowEnd === e.rowEnd ? e.colEnd - n.colEnd : e.rowEnd - n.rowEnd, gA = (n, e) => n.colEnd === e.colEnd ? e.rowEnd - n.rowEnd : e.colEnd - n.colEnd, o7 = (n, e) => n.colIndex === e.colIndex ? n.rowIndex - e.rowIndex : n.colIndex - e.colIndex, r7 = (n, e) => n.rowIndex === e.rowIndex ? n.colIndex - e.colIndex : n.rowIndex - e.rowIndex, y_ = (n = dn.Row, e = !1) => e ? n !== dn.Column ? pA : gA : n !== dn.Column ? f_ : m_, i7 = (n, e) => n === e || !(!n || !e) && n.rowIndex === e.rowIndex && n.colIndex === e.colIndex, m5 = (n, e) => n === e || !(!n || !e) && n.rowStart === e.rowStart && n.rowEnd === e.rowEnd && n.colStart === e.colStart && n.colEnd === e.colEnd, f5 = (n, e) => !(!n || !e || n.colStart > e.colEnd || e.colStart > n.colEnd || n.rowStart > e.rowEnd || e.rowStart > n.rowEnd), s7 = (n, e) => {
231
231
  if (n === e) return !0;
232
232
  if (!n || !e || n.length !== e.length) return !1;
@@ -741,8 +741,8 @@ function Ug(n, e) {
741
741
  return r.splice(a, 1), "{" + l + "}";
742
742
  }(n);
743
743
  }
744
- var zo, w7;
745
- (w7 = zo || (zo = {})).resolveTypedUpdates = (n, e, t, o) => {
744
+ var Po, w7;
745
+ (w7 = Po || (Po = {})).resolveTypedUpdates = (n, e, t, o) => {
746
746
  if (n === null) return n;
747
747
  if (n === void 0) return o;
748
748
  let r = n;
@@ -1518,7 +1518,7 @@ class MA extends M_ {
1518
1518
  }
1519
1519
  const C1 = () => {
1520
1520
  try {
1521
- return "0.3.2";
1521
+ return "0.3.3";
1522
1522
  } catch {
1523
1523
  return "";
1524
1524
  }
@@ -1545,7 +1545,7 @@ const C1 = () => {
1545
1545
  } catch {
1546
1546
  throw new Error("Invalid license key.");
1547
1547
  }
1548
- }, I7 = (n) => ({ licensee: () => "Evaluation License", expiration: () => null, domains: () => [o2()], developerCount: () => 1, cpuCount: () => 0, type: () => "eval", isEval: () => !0, exceptions: () => [], isValidFor: () => !0, isValid: () => !1, features: () => Object.freeze({}), keyFrom: () => n, getBuildVersion: C1, getBuildDate: up }), yr = { promise: null, details: null, bannerPrinted: !1, detailsPrinted: !1, licenseKey: null, keyFrom: null };
1548
+ }, I7 = (n) => ({ licensee: () => "Evaluation License", expiration: () => null, domains: () => [o2()], developerCount: () => 1, cpuCount: () => 0, type: () => "eval", isEval: () => !0, exceptions: () => [], isValidFor: () => !0, isValid: () => !1, features: () => Object.freeze({}), keyFrom: () => n, getBuildVersion: C1, getBuildDate: up }), Fo = { promise: null, details: null, bannerPrinted: !1, detailsPrinted: !1, licenseKey: null, keyFrom: null };
1549
1549
  let Yg = !1, A7 = !1;
1550
1550
  const O7 = "cil.lxteehs".split("").reduce((n, e) => e + n, ""), _u = new class {
1551
1551
  constructor() {
@@ -1553,11 +1553,11 @@ const O7 = "cil.lxteehs".split("").reduce((n, e) => e + n, ""), _u = new class {
1553
1553
  }
1554
1554
  async setLicenseKey(n, e = !1) {
1555
1555
  if (!n || n.startsWith("visit ") || n.startsWith("email ") || n.startsWith("trial") || n.startsWith("eval")) return Yg = !0, await this._validate(!0);
1556
- if (Yg = !1, !e && yr.licenseKey) {
1556
+ if (Yg = !1, !e && Fo.licenseKey) {
1557
1557
  const o = await this._validate();
1558
1558
  if (o.isValid() && !o.isEval()) return o;
1559
1559
  }
1560
- yr.licenseKey = n, yr.keyFrom = "setLicenseKey", yr.details = null, yr.promise = null;
1560
+ Fo.licenseKey = n, Fo.keyFrom = "setLicenseKey", Fo.details = null, Fo.promise = null;
1561
1561
  const t = await this._validate();
1562
1562
  if (!t.isValid()) throw await this._print(!0), new Error("Invalid license key.");
1563
1563
  if (re.isNode() && (await (async () => {
@@ -1566,9 +1566,9 @@ const O7 = "cil.lxteehs".split("").reduce((n, e) => e + n, ""), _u = new class {
1566
1566
  return t;
1567
1567
  }
1568
1568
  async _validate(n = !1) {
1569
- if (yr.promise || (this.__proto__.valueFv || (this.__proto__.valueFv = new Error("FV")), yr.promise)) return yr.promise;
1569
+ if (Fo.promise || (this.__proto__.valueFv || (this.__proto__.valueFv = new Error("FV")), Fo.promise)) return Fo.promise;
1570
1570
  let e = null;
1571
- yr.promise = new Promise((s) => {
1571
+ Fo.promise = new Promise((s) => {
1572
1572
  e = s;
1573
1573
  });
1574
1574
  let t, o = null;
@@ -1597,7 +1597,7 @@ const O7 = "cil.lxteehs".split("").reduce((n, e) => e + n, ""), _u = new class {
1597
1597
  }
1598
1598
  var a;
1599
1599
  };
1600
- yr.licenseKey && (o = await r(yr.keyFrom, yr.licenseKey));
1600
+ Fo.licenseKey && (o = await r(Fo.keyFrom, Fo.licenseKey));
1601
1601
  let i = !1;
1602
1602
  if (Yg && (i = !0, o = I7("Eval License Key")), !o) if (re.isNode()) {
1603
1603
  if (!o) {
@@ -1631,16 +1631,16 @@ const O7 = "cil.lxteehs".split("").reduce((n, e) => e + n, ""), _u = new class {
1631
1631
  }
1632
1632
  !o && R7() && (i = !0);
1633
1633
  }
1634
- if (!o && i && (o = I7("No License Key")), !o && t && (o = t), o || (o = { licensee: () => null, expiration: () => null, domains: () => [], developerCount: () => 0, cpuCount: () => 0, type: () => null, isEval: () => !1, exceptions: () => ["No license provided"], isValidFor: (s) => !1, isValid: () => !1, features: () => Object.freeze({}), keyFrom: () => "No key", getBuildVersion: C1, getBuildDate: up }), yr.details = o, e(o), n && (!yr.bannerPrinted || !yr.detailsPrinted) && (i || o.exceptions().length > 0 || o.features()?.pb)) {
1634
+ if (!o && i && (o = I7("No License Key")), !o && t && (o = t), o || (o = { licensee: () => null, expiration: () => null, domains: () => [], developerCount: () => 0, cpuCount: () => 0, type: () => null, isEval: () => !1, exceptions: () => ["No license provided"], isValidFor: (s) => !1, isValid: () => !1, features: () => Object.freeze({}), keyFrom: () => "No key", getBuildVersion: C1, getBuildDate: up }), Fo.details = o, e(o), n && (!Fo.bannerPrinted || !Fo.detailsPrinted) && (i || o.exceptions().length > 0 || o.features()?.pb)) {
1635
1635
  if (A7) return void setTimeout(() => {
1636
1636
  this._print(!1, !1);
1637
1637
  }, 8e3);
1638
1638
  await this._print(!1, !1);
1639
1639
  }
1640
- return yr.details;
1640
+ return Fo.details;
1641
1641
  }
1642
1642
  async _printBanner(n) {
1643
- return yr.bannerPrinted = !0, await this.getDetails(), await (async (e) => {
1643
+ return Fo.bannerPrinted = !0, await this.getDetails(), await (async (e) => {
1644
1644
  const t = e ? console.log : re.consoleWithNoSource, o = `%c
1645
1645
  ███████╗██╗ ██╗███████╗███████╗████████╗ ██╗ ██╗██╗
1646
1646
  ██╔════╝██║ ██║██╔════╝██╔════╝╚══██╔══╝ ╚██╗██╔╝██║
@@ -1653,7 +1653,7 @@ const O7 = "cil.lxteehs".split("").reduce((n, e) => e + n, ""), _u = new class {
1653
1653
  })(n), Promise.resolve();
1654
1654
  }
1655
1655
  async _printDetails(n = !1, e = !1, t = !1) {
1656
- yr.detailsPrinted = !0;
1656
+ Fo.detailsPrinted = !0;
1657
1657
  const o = await this.getDetails();
1658
1658
  await (async (r, i = !1, s = !1, l = !1) => {
1659
1659
  let a;
@@ -1674,7 +1674,8 @@ KeyFrom: '${r.keyFrom()}'`), await c(`${a}`, ...d), Promise.resolve();
1674
1674
  })(o, n, e, t);
1675
1675
  }
1676
1676
  async _print(n, e) {
1677
- await this._printBanner(n);
1677
+ if (!n && (Fo.bannerPrinted || Fo.detailsPrinted)) return;
1678
+ Fo.bannerPrinted = !0, Fo.detailsPrinted = !0, await this._printBanner(n);
1678
1679
  const t = re.isNode(), o = n || t ? console.log : re.consoleWithNoSource;
1679
1680
  t && o(""), await this._printDetails(n, e), o("");
1680
1681
  }
@@ -1685,7 +1686,7 @@ KeyFrom: '${r.keyFrom()}'`), await c(`${a}`, ...d), Promise.resolve();
1685
1686
  return this._print(!0, n);
1686
1687
  }
1687
1688
  wasPrinted() {
1688
- return yr.bannerPrinted && yr.detailsPrinted;
1689
+ return Fo.bannerPrinted && Fo.detailsPrinted;
1689
1690
  }
1690
1691
  suppressPrint(n) {
1691
1692
  A7 = !0;
@@ -3707,11 +3708,11 @@ function Z7(n, e) {
3707
3708
  }
3708
3709
  return qa[e] = n, e;
3709
3710
  }
3710
- const pr = { format: q_, dateNumLocal: w4, load: Z7, split_fmt: W_, _table: qa, load_table: function(n) {
3711
+ const gr = { format: q_, dateNumLocal: w4, load: Z7, split_fmt: W_, _table: qa, load_table: function(n) {
3711
3712
  for (var e = 0; e !== 392; ++e) n[e] !== void 0 && Z7(n[e], e);
3712
3713
  }, parse_date_code: Xd, is_date: G_, get_table: function() {
3713
- return pr._table = qa;
3714
- } }, gr = "\\s*([-]?[0-9e]*[.]?[0-9]+)", dO = new RegExp(`^rgb\\(${gr},${gr},${gr}\\)$`), uO = new RegExp(`^rgba\\(${gr},${gr},${gr},${gr}\\)$`), hO = new RegExp(`^lrgb\\(${gr},${gr},${gr}\\)$`), pO = new RegExp(`^lrgba\\(${gr},${gr},${gr},${gr}\\)$`), gO = new RegExp(`^hsl\\(${gr},${gr},${gr}\\)$`), mO = new RegExp(`^hsla\\(${gr},${gr},${gr},${gr}\\)$`), fO = new RegExp(/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/), yO = new RegExp(/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/), wO = new RegExp("^index(\\d+)$", "i"), im = (n, e, t) => [parseFloat(n), parseFloat(e), parseFloat(t)], sm = (n, e = 255) => {
3714
+ return gr._table = qa;
3715
+ } }, mr = "\\s*([-]?[0-9e]*[.]?[0-9]+)", dO = new RegExp(`^rgb\\(${mr},${mr},${mr}\\)$`), uO = new RegExp(`^rgba\\(${mr},${mr},${mr},${mr}\\)$`), hO = new RegExp(`^lrgb\\(${mr},${mr},${mr}\\)$`), pO = new RegExp(`^lrgba\\(${mr},${mr},${mr},${mr}\\)$`), gO = new RegExp(`^hsl\\(${mr},${mr},${mr}\\)$`), mO = new RegExp(`^hsla\\(${mr},${mr},${mr},${mr}\\)$`), fO = new RegExp(/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/), yO = new RegExp(/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/), wO = new RegExp("^index(\\d+)$", "i"), im = (n, e, t) => [parseFloat(n), parseFloat(e), parseFloat(t)], sm = (n, e = 255) => {
3715
3716
  const t = [...n];
3716
3717
  for (var o = 0; o < n.length; o++) t[o] = n[o] / e;
3717
3718
  return t;
@@ -3890,7 +3891,7 @@ for (let n = 0; n < e8.length; n++) Va.set(n, yp(e8[n]));
3890
3891
  Va.set(-4105, null), Va.set(-4142, null), Va.set(64, yp("000000")), Va.set(65, yp("FFFFFF")), Va.set(81, yp("FFFFFF"));
3891
3892
  const l2 = (n) => Va.get(n), hn = { General: "General", Number: "Number", Currency: "Currency", Accounting: "Accounting", ShortDate: "Short Date", LongDate: "Long Date", MediumDate: "Medium Date", ShortTime: "Short Time", MediumTime: "Medium Time", LongTime: "Long Time", Comma: "Comma", Percentage: "Percentage", Fraction: "Fraction", Scientific: "Scientific", Text: "Text", Special: "Special", Custom: "Custom" };
3892
3893
  let um = null;
3893
- const X_ = () => um || (um = Intl.DateTimeFormat().resolvedOptions().locale ?? "en-US", um), MO = /^\[\$-(.*?)\]/i, RO = /^[0-9a-fA-F]+$/, IO = pr.split_fmt, S4 = (n, e, t) => {
3894
+ const X_ = () => um || (um = Intl.DateTimeFormat().resolvedOptions().locale ?? "en-US", um), MO = /^\[\$-(.*?)\]/i, RO = /^[0-9a-fA-F]+$/, IO = gr.split_fmt, S4 = (n, e, t) => {
3894
3895
  const o = MO.exec(n);
3895
3896
  let r = X_();
3896
3897
  if (o && o[1]) {
@@ -3901,7 +3902,7 @@ const X_ = () => um || (um = Intl.DateTimeFormat().resolvedOptions().locale ?? "
3901
3902
  const i = Zd(n, e, { locale: r, ...t });
3902
3903
  if (i !== null) return i.fmt;
3903
3904
  }
3904
- return pr.format(n, e, t);
3905
+ return gr.format(n, e, t);
3905
3906
  }, Zd = (n, e, t) => {
3906
3907
  if (typeof e != "number") return null;
3907
3908
  const o = Wc(e, t?.date1904 ?? !1), r = t?.locale ?? X_();
@@ -3911,7 +3912,7 @@ const X_ = () => um || (um = Intl.DateTimeFormat().resolvedOptions().locale ?? "
3911
3912
  s = s.substring(0, l) + a + s.substring(l + 10), i = !0;
3912
3913
  }
3913
3914
  if ((l = s.indexOf("Medium Date")) !== -1) {
3914
- const a = pr.format(pr.get_table()[15], e, t);
3915
+ const a = gr.format(gr.get_table()[15], e, t);
3915
3916
  s = s.substring(0, l) + a + s.substring(l + 11), i = !0;
3916
3917
  }
3917
3918
  if ((l = s.indexOf("Long Date")) !== -1) {
@@ -3919,11 +3920,11 @@ const X_ = () => um || (um = Intl.DateTimeFormat().resolvedOptions().locale ?? "
3919
3920
  s = s.substring(0, l) + a + s.substring(l + 9), i = !0;
3920
3921
  }
3921
3922
  if ((l = s.indexOf("Short Time")) !== -1) {
3922
- const a = pr.format(pr.get_table()[20], e, t);
3923
+ const a = gr.format(gr.get_table()[20], e, t);
3923
3924
  s = s.substring(0, l) + a + s.substring(l + 10), i = !0;
3924
3925
  }
3925
3926
  if ((l = s.indexOf("Medium Time")) !== -1) {
3926
- const a = pr.format(pr.get_table()[18], e, t);
3927
+ const a = gr.format(gr.get_table()[18], e, t);
3927
3928
  s = s.substring(0, l) + a + s.substring(l + 11), i = !0;
3928
3929
  }
3929
3930
  if ((l = s.indexOf("Long Time")) !== -1) {
@@ -3931,7 +3932,7 @@ const X_ = () => um || (um = Intl.DateTimeFormat().resolvedOptions().locale ?? "
3931
3932
  s = s.substring(0, l) + a + s.substring(l + 9), i = !0;
3932
3933
  }
3933
3934
  return i ? { fmt: s, date: o } : null;
3934
- }, t8 = Object.freeze({ "General Number": "General", "General Date": "m/d/yyyy h:mm", "Medium Date": pr.get_table()[15], "Medium Time": pr.get_table()[18], "Short Time": pr.get_table()[20], Currency: '"$"#,##0.00_);[Red]\\("$"#,##0.00\\)', Fixed: pr.get_table()[2], Standard: pr.get_table()[4], Percent: pr.get_table()[10], Scientific: pr.get_table()[11], "Yes/No": '"Yes";"Yes";"No";@', "True/False": '"True";"True";"False";@', "On/Off": '"Yes";"Yes";"No";@' }), AO = Object.freeze({ black: 0, white: 1, red: 2, green: 3, blue: 4, yellow: 5, magenta: 6, cyan: 7 }), OO = (n) => {
3935
+ }, t8 = Object.freeze({ "General Number": "General", "General Date": "m/d/yyyy h:mm", "Medium Date": gr.get_table()[15], "Medium Time": gr.get_table()[18], "Short Time": gr.get_table()[20], Currency: '"$"#,##0.00_);[Red]\\("$"#,##0.00\\)', Fixed: gr.get_table()[2], Standard: gr.get_table()[4], Percent: gr.get_table()[10], Scientific: gr.get_table()[11], "Yes/No": '"Yes";"Yes";"No";@', "True/False": '"True";"True";"False";@', "On/Off": '"Yes";"Yes";"No";@' }), AO = Object.freeze({ black: 0, white: 1, red: 2, green: 3, blue: 4, yellow: 5, magenta: 6, cyan: 7 }), OO = (n) => {
3935
3936
  let e = null;
3936
3937
  if ((n = n.toLowerCase()).startsWith("color")) {
3937
3938
  const t = parseInt(n.substring(5));
@@ -3985,9 +3986,9 @@ const NO = /(Black|Blue|Cyan|Green|Magenta|Red|White|Yellow|Color[0-9]+)/i, DO =
3985
3986
  }
3986
3987
  return console.warn("invalid unit" + t), null;
3987
3988
  }, Wc = (n, e = !1) => {
3988
- let t = pr.parse_date_code(n, { date1904: e });
3989
+ let t = gr.parse_date_code(n, { date1904: e });
3989
3990
  return t ? new Date(t.y, t.m - 1, t.d, t.H, t.M, t.S, Math.round(1e3 * t.u)) : null;
3990
- }, Cu = (n, e = !1) => isNaN(n) ? null : pr.dateNumLocal(n, e), BO = new class extends D_ {
3991
+ }, Cu = (n, e = !1) => isNaN(n) ? null : gr.dateNumLocal(n, e), BO = new class extends D_ {
3991
3992
  parse(n, e, t) {
3992
3993
  const o = (r) => r - 1;
3993
3994
  switch (e) {
@@ -4086,13 +4087,13 @@ const NO = /(Black|Blue|Cyan|Green|Magenta|Red|White|Yellow|Color[0-9]+)/i, DO =
4086
4087
  for (let c = 0; c < tl.length; c++) {
4087
4088
  let d = i;
4088
4089
  tl[c].containsDot ? d = s : tl[c].containsDash && (d = l);
4089
- let u = rO(d, tl[c].parseFormat, o, UO), h = pr.dateNumLocal(u, e);
4090
+ let u = rO(d, tl[c].parseFormat, o, UO), h = gr.dateNumLocal(u, e);
4090
4091
  if (jc(u) && (tl[c].windowYear || h > 0)) {
4091
4092
  if (tl[c].windowYear) {
4092
4093
  let g = u.getFullYear() <= 29 ? 2e3 + u.getFullYear() : 1900 + u.getFullYear();
4093
4094
  u.setFullYear(g);
4094
4095
  }
4095
- if (tl[c].todaysYear && u.setFullYear(r), h = pr.dateNumLocal(u, e), tl[c].parseFormat.indexOf("EEE") > -1) {
4096
+ if (tl[c].todaysYear && u.setFullYear(r), h = gr.dateNumLocal(u, e), tl[c].parseFormat.indexOf("EEE") > -1) {
4096
4097
  const g = S4("ddd", h, { date1904: e });
4097
4098
  if (!d.toLowerCase().includes(g.toLowerCase())) return null;
4098
4099
  }
@@ -5359,7 +5360,7 @@ for (let n = 0; n < ym.length; n++) R5.set(oe.AdjustmentType[ym[n]].toLowerCase(
5359
5360
  const O8 = new RegExp("\\s+\\s*(?![^()]*\\))|,\\s*(?![^()]*\\))"), N8 = new RegExp("\\s*[,]\\s*|\\s+");
5360
5361
  let wm = null;
5361
5362
  const D8 = { [oe.Scheme.Bg1]: "window", [oe.Scheme.Bg2]: "E7E6E6", [oe.Scheme.Tx1]: "windowText", [oe.Scheme.Tx2]: "44546A", [oe.Scheme.Accent1]: "4472C4", [oe.Scheme.Accent2]: "ED7D31", [oe.Scheme.Accent3]: "A5A5A5", [oe.Scheme.Accent4]: "FFC000", [oe.Scheme.Accent5]: "5B9BD5", [oe.Scheme.Accent6]: "70AD47", [oe.Scheme.Hlink]: "0563C1", [oe.Scheme.FolHlink]: "954F72" };
5362
- let Uo = class Ul {
5363
+ let Go = class Ul {
5363
5364
  constructor(e, t, o, r = null) {
5364
5365
  let i = null, s = null;
5365
5366
  if (e instanceof Ul) i = e.getVal(), e.getAdjustments() && (s = [...e.getAdjustments()]);
@@ -5562,7 +5563,7 @@ const z8 = (n) => !(!n.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/) && !n.match(/^# ([#0
5562
5563
  let i = IO(n);
5563
5564
  for (let s = 0; s < i.length; s++) r.push(o(i[s].trim(), e));
5564
5565
  return r.join(";");
5565
- } }), dN = pr._table, C4 = (n) => n === 14 ? "Short Date" : dN[n] ?? null, ld = [{ numberFormat: "General", formatType: hn.General, primary: 1 }, { numberFormat: "0", formatType: hn.Number, regMatch: /^0[.]{0,1}[0]*$/, args: { decimalPlaces: 0, separator: !1 } }, { numberFormat: "#,##0.00", formatType: hn.Number, regMatch: /^#,##0[.]{0,1}[0]*$/, primary: 2, args: { decimalPlaces: 2, separator: !0 } }, { numberFormat: "#,##0_);(#,##0)", formatType: hn.Number, args: { decimalPlaces: 0, separator: !0 } }, { numberFormat: "#,##0_);[Red](#,##0)", formatType: hn.Number, args: { decimalPlaces: 0, separator: !0 } }, { numberFormat: "#,##0.00_);(#,##0.00)", formatType: hn.Number, args: { decimalPlaces: 2, separator: !0 } }, { numberFormat: "#,##0.00_);[Red](#,##0.00)", formatType: hn.Number, args: { decimalPlaces: 2, separator: !0 } }, { numberFormat: "$#,##0.00", formatType: hn.Currency, primary: 3, args: { decimalPlaces: 2, currencySymbol: "$" } }, { numberFormat: "$#,##0_);($#,##0)", formatType: hn.Currency, args: { decimalPlaces: 0, currencySymbol: "$" } }, { numberFormat: "$#,##0_);[Red]($#,##0)", formatType: hn.Currency, args: { decimalPlaces: 0, currencySymbol: "$" } }, { numberFormat: "$#,##0.00_);($#,##0.00)", formatType: hn.Currency, args: { decimalPlaces: 2, currencySymbol: "$" } }, { numberFormat: "$#,##0.00_);[Red]($#,##0.00)", formatType: hn.Currency, args: { decimalPlaces: 2, currencySymbol: "$" } }, { numberFormat: '_($* #,##0.00_);_($* (#,##0.00);_($* "-"??_);_(@_)', primary: 4, formatType: hn.Accounting }, { numberFormat: '_($* #,##0_);_($* (#,##0);_($* "-"_);_(@_)', formatType: hn.Accounting }, { numberFormat: '_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)', formatType: hn.Accounting }, { numberFormat: '_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)', formatType: hn.Accounting }, { numberFormat: "Short Date", formatType: hn.ShortDate, primary: 5 }, { numberFormat: "d-mmm-yy", formatType: hn.MediumDate, primary: 5.5 }, { numberFormat: "Long Date", formatType: hn.LongDate, primary: 6 }, { numberFormat: "h:mm", formatType: hn.ShortTime, primary: 7 }, { numberFormat: "h:mm AM/PM", formatType: hn.MediumTime, primary: 7.5 }, { numberFormat: "Long Time", formatType: hn.LongTime, primary: 8 }, { numberFormat: '_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)', formatType: hn.Comma, primary: 9 }, { numberFormat: "0.00%", formatType: hn.Percentage, primary: 10, args: { decimalPlaces: 2 }, regMatch: /^^[0#?]*[.]{0,1}[0#?]*%*$/ }, { numberFormat: "0%", formatType: hn.Percentage, args: { decimalPlaces: 0 } }, { numberFormat: "# ?/?", formatType: hn.Fraction, primary: 11 }, { numberFormat: "# ??/??", formatType: hn.Fraction }, { numberFormat: "0.00E+00", formatType: hn.Scientific, primary: 12, args: { decimalPlaces: 2 }, regMatch: /^[0#?]*[.]{0,1}[0#?]*E\+[0#?]*$/ }, { numberFormat: "##0.0E+0", formatType: hn.Custom, args: { decimalPlaces: 0 } }, { numberFormat: "@", formatType: hn.Text, primary: 13 }, { numberFormat: "d-mmm", formatType: hn.Custom }, { numberFormat: "mmm-yy", formatType: hn.Custom }, { numberFormat: "h:mm:ss", formatType: hn.Custom }, { numberFormat: "m/d/yyyy h:mm", formatType: hn.Custom }, { numberFormat: "mm:ss", formatType: hn.Custom }, { numberFormat: "mm:ss.0", formatType: hn.Custom }, { numberFormat: "[h]:mm:ss", formatType: hn.Custom }], Sm = [{ numberFormat: "00000", formatType: hn.Special, primary: 11 }, { numberFormat: "00000-0000", formatType: hn.Special }, { numberFormat: "[<=9999999]###-####;(###) ###-####", formatType: hn.Special }, { numberFormat: "000-00-0000", formatType: hn.Special }], Tu = /* @__PURE__ */ new Map(), Yd = [];
5566
+ } }), dN = gr._table, C4 = (n) => n === 14 ? "Short Date" : dN[n] ?? null, ld = [{ numberFormat: "General", formatType: hn.General, primary: 1 }, { numberFormat: "0", formatType: hn.Number, regMatch: /^0[.]{0,1}[0]*$/, args: { decimalPlaces: 0, separator: !1 } }, { numberFormat: "#,##0.00", formatType: hn.Number, regMatch: /^#,##0[.]{0,1}[0]*$/, primary: 2, args: { decimalPlaces: 2, separator: !0 } }, { numberFormat: "#,##0_);(#,##0)", formatType: hn.Number, args: { decimalPlaces: 0, separator: !0 } }, { numberFormat: "#,##0_);[Red](#,##0)", formatType: hn.Number, args: { decimalPlaces: 0, separator: !0 } }, { numberFormat: "#,##0.00_);(#,##0.00)", formatType: hn.Number, args: { decimalPlaces: 2, separator: !0 } }, { numberFormat: "#,##0.00_);[Red](#,##0.00)", formatType: hn.Number, args: { decimalPlaces: 2, separator: !0 } }, { numberFormat: "$#,##0.00", formatType: hn.Currency, primary: 3, args: { decimalPlaces: 2, currencySymbol: "$" } }, { numberFormat: "$#,##0_);($#,##0)", formatType: hn.Currency, args: { decimalPlaces: 0, currencySymbol: "$" } }, { numberFormat: "$#,##0_);[Red]($#,##0)", formatType: hn.Currency, args: { decimalPlaces: 0, currencySymbol: "$" } }, { numberFormat: "$#,##0.00_);($#,##0.00)", formatType: hn.Currency, args: { decimalPlaces: 2, currencySymbol: "$" } }, { numberFormat: "$#,##0.00_);[Red]($#,##0.00)", formatType: hn.Currency, args: { decimalPlaces: 2, currencySymbol: "$" } }, { numberFormat: '_($* #,##0.00_);_($* (#,##0.00);_($* "-"??_);_(@_)', primary: 4, formatType: hn.Accounting }, { numberFormat: '_($* #,##0_);_($* (#,##0);_($* "-"_);_(@_)', formatType: hn.Accounting }, { numberFormat: '_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)', formatType: hn.Accounting }, { numberFormat: '_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)', formatType: hn.Accounting }, { numberFormat: "Short Date", formatType: hn.ShortDate, primary: 5 }, { numberFormat: "d-mmm-yy", formatType: hn.MediumDate, primary: 5.5 }, { numberFormat: "Long Date", formatType: hn.LongDate, primary: 6 }, { numberFormat: "h:mm", formatType: hn.ShortTime, primary: 7 }, { numberFormat: "h:mm AM/PM", formatType: hn.MediumTime, primary: 7.5 }, { numberFormat: "Long Time", formatType: hn.LongTime, primary: 8 }, { numberFormat: '_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)', formatType: hn.Comma, primary: 9 }, { numberFormat: "0.00%", formatType: hn.Percentage, primary: 10, args: { decimalPlaces: 2 }, regMatch: /^^[0#?]*[.]{0,1}[0#?]*%*$/ }, { numberFormat: "0%", formatType: hn.Percentage, args: { decimalPlaces: 0 } }, { numberFormat: "# ?/?", formatType: hn.Fraction, primary: 11 }, { numberFormat: "# ??/??", formatType: hn.Fraction }, { numberFormat: "0.00E+00", formatType: hn.Scientific, primary: 12, args: { decimalPlaces: 2 }, regMatch: /^[0#?]*[.]{0,1}[0#?]*E\+[0#?]*$/ }, { numberFormat: "##0.0E+0", formatType: hn.Custom, args: { decimalPlaces: 0 } }, { numberFormat: "@", formatType: hn.Text, primary: 13 }, { numberFormat: "d-mmm", formatType: hn.Custom }, { numberFormat: "mmm-yy", formatType: hn.Custom }, { numberFormat: "h:mm:ss", formatType: hn.Custom }, { numberFormat: "m/d/yyyy h:mm", formatType: hn.Custom }, { numberFormat: "mm:ss", formatType: hn.Custom }, { numberFormat: "mm:ss.0", formatType: hn.Custom }, { numberFormat: "[h]:mm:ss", formatType: hn.Custom }], Sm = [{ numberFormat: "00000", formatType: hn.Special, primary: 11 }, { numberFormat: "00000-0000", formatType: hn.Special }, { numberFormat: "[<=9999999]###-####;(###) ###-####", formatType: hn.Special }, { numberFormat: "000-00-0000", formatType: hn.Special }], Tu = /* @__PURE__ */ new Map(), Yd = [];
5566
5567
  for (let n = 0; n < ld.length; n++) {
5567
5568
  let e = ld[n].numberFormat.toLowerCase();
5568
5569
  Tu.set(e, ld[n]), ld[n].regMatch && Yd.unshift(ld[n]);
@@ -5601,7 +5602,7 @@ const uN = (n, e, t, o, r) => {
5601
5602
  i.adjs || (i.adjs = []);
5602
5603
  let s = "", l = 0, a = 0;
5603
5604
  e > 0 ? (a = e, l = 100 - e, s = `Lighter ${e}%`) : e < 0 && (l = 100 + e, s = `Darker ${-e}%`), l && i.adjs.push({ [oe.AdjustmentType.LumMod]: l }), a && i.adjs.push({ [oe.AdjustmentType.LumOff]: a });
5604
- const c = new Uo({ val: i.val, adjs: i.adjs }, t), d = c.toString();
5605
+ const c = new Go({ val: i.val, adjs: i.adjs }, t), d = c.toString();
5605
5606
  o?.set(d, c);
5606
5607
  const u = c.toRGBA().toString();
5607
5608
  return r?.set(u, c), { description: n.description + ", " + s, definition: i };
@@ -5615,7 +5616,7 @@ var A5, Ha;
5615
5616
  const l = (c) => {
5616
5617
  for (let d = 0; d < c.length; d++) s.push(uN(n[i], c[d], e, t, o));
5617
5618
  };
5618
- let a = new Uo({ val: n[i].definition.val, adjs: n[i].definition.adjs }, e).toHSLA().lum;
5619
+ let a = new Go({ val: n[i].definition.val, adjs: n[i].definition.adjs }, e).toHSLA().lum;
5619
5620
  l(a === 0 ? [50, 35, 25, 15, 5] : a === 100 ? [-5, -15, -25, -35, -50] : a <= 20 ? [90, 75, 50, 25, 10] : a >= 80 ? [-10, -25, -50, -75, -90] : [80, 60, 40, -25, -50]);
5620
5621
  }
5621
5622
  return r;
@@ -5628,7 +5629,7 @@ const hN = [["Office", "windowText", "window", "0E2841", "E8E8E8", "156082", "E9
5628
5629
  for (let s = 0; s < Mc.length; s++) {
5629
5630
  const l = Mc[s], a = o[s + 1];
5630
5631
  if (!a) continue;
5631
- const c = Uo.parse(a);
5632
+ const c = Go.parse(a);
5632
5633
  a && (i[l] = c.toString());
5633
5634
  }
5634
5635
  }
@@ -5646,7 +5647,7 @@ const yN = new class {
5646
5647
  constructor() {
5647
5648
  this._colors = {};
5648
5649
  for (let n = 0; n < Mc.length; n++) {
5649
- const e = Mc[n], t = Uo.parse(W1[e]);
5650
+ const e = Mc[n], t = Go.parse(W1[e]);
5650
5651
  this._colors[e] = t;
5651
5652
  }
5652
5653
  }
@@ -5702,7 +5703,7 @@ class wN {
5702
5703
  const t = Object.keys(e);
5703
5704
  if (t.length !== 0) for (let o = 0; o < t.length; o++) {
5704
5705
  const r = t[o];
5705
- this._overrides[r] = r === "name" ? e[r] : Uo.parse(e[r]);
5706
+ this._overrides[r] = r === "name" ? e[r] : Go.parse(e[r]);
5706
5707
  }
5707
5708
  }
5708
5709
  _value(e, t) {
@@ -5756,7 +5757,7 @@ const SN = new class {
5756
5757
  constructor() {
5757
5758
  this._colors = {};
5758
5759
  for (let n = 0; n < Mc.length; n++) {
5759
- const e = Mc[n], t = Uo.parse(W1[e]);
5760
+ const e = Mc[n], t = Go.parse(W1[e]);
5760
5761
  this._colors[e] = t;
5761
5762
  }
5762
5763
  }
@@ -5833,7 +5834,7 @@ let N5 = class {
5833
5834
  if (!c) throw new Error(`Invalid color scheme key: ${l}`);
5834
5835
  const d = s.getColorScheme();
5835
5836
  let u = d[c].bind(d)();
5836
- return u || (u = W1[V8[l] ?? l]), a = new Uo(u).toRGBA(), s._cacheColors[l] = a, a;
5837
+ return u || (u = W1[V8[l] ?? l]), a = new Go(u).toRGBA(), s._cacheColors[l] = a, a;
5837
5838
  };
5838
5839
  }
5839
5840
  get builtInID() {
@@ -5855,7 +5856,7 @@ let N5 = class {
5855
5856
  return this._schemeLookup;
5856
5857
  }
5857
5858
  parseColor(n) {
5858
- return Uo.parse(n, this._schemeLookup);
5859
+ return Go.parse(n, this._schemeLookup);
5859
5860
  }
5860
5861
  toJSON() {
5861
5862
  const n = { name: this.getName() }, e = this._colors.toJSON();
@@ -5918,7 +5919,7 @@ class E4 {
5918
5919
  return this._customMap.delete(t), o ?? null;
5919
5920
  }
5920
5921
  }
5921
- var $a, dr;
5922
+ var $a, ur;
5922
5923
  ($a || ($a = {})).ElementType = { WholeTable: "wholeTable", FirstColumnStripe: "firstColumnStripe", SecondColumnStripe: "secondColumnStripe", FirstRowStripe: "firstRowStripe", SecondRowStripe: "secondRowStripe", LastColumn: "lastColumn", FirstColumn: "firstColumn", HeaderRow: "headerRow", TotalRow: "totalRow", FirstHeaderCell: "firstHeaderCell", LastHeaderCell: "lastHeaderCell", FirstTotalCell: "firstTotalCell", LastTotalCell: "lastTotalCell" }, ($a || ($a = {})).Empty = class {
5923
5924
  constructor(n) {
5924
5925
  this._normalStyle = n;
@@ -5949,7 +5950,7 @@ var $a, dr;
5949
5950
  get isITableStyle() {
5950
5951
  return !0;
5951
5952
  }
5952
- }, (dr || (dr = {})).Type = { Absolute: "absolute", OneCell: "oneCell", TwoCell: "twoCell" };
5953
+ }, (ur || (ur = {})).Type = { Absolute: "absolute", OneCell: "oneCell", TwoCell: "twoCell" };
5953
5954
  const os = "Model has been closed. No further operations are allowed.", H8 = "Name is required";
5954
5955
  let Wr = class {
5955
5956
  constructor(n, e) {
@@ -7938,8 +7939,8 @@ let o0 = class z5 {
7938
7939
  m = e.reverse ?? !1, d = /* @__PURE__ */ ((_) => typeof _ != "boolean" ? _ : _ === !0 ? { done: !1, value: [{ colIndex: -1, rowIndex: -1 }, null] } : void 0)(e.reuseResult), a = t ? e.processColumnSkip : e.processRowSkip, a && (m ? h = a(h, m) : u = a(u, m)), c = t ? e.processRowSkip : e.processColumnSkip, c && (m ? g = c(h, m) : p = c(p, m));
7939
7940
  }
7940
7941
  if (!s) return xr;
7941
- r || u !== h || (r = !0), $o.bounds.min = u, $o.bounds.max = h, $o.reverse = m, $o.processSkip = a, $o.reuseResult = o1;
7942
- let f = this._major.entries($o), y = J8();
7942
+ r || u !== h || (r = !0), jo.bounds.min = u, jo.bounds.max = h, jo.reverse = m, jo.processSkip = a, jo.reuseResult = o1;
7943
+ let f = this._major.entries(jo), y = J8();
7943
7944
  const w = (x) => {
7944
7945
  if (!x.nextActive) return;
7945
7946
  const _ = (M) => {
@@ -8071,8 +8072,8 @@ let o0 = class z5 {
8071
8072
  const x = e[f], _ = x[0], E = x[1], R = new T1(m);
8072
8073
  p(R, E, _);
8073
8074
  }, w = this._major;
8074
- $o.bounds.min = t, $o.bounds.max = o, $o.reverse = !1, $o.processSkip = null, $o.reuseResult = o1;
8075
- const b = w.entries($o);
8075
+ jo.bounds.min = t, jo.bounds.max = o, jo.reverse = !1, jo.processSkip = null, jo.reuseResult = o1;
8076
+ const b = w.entries(jo);
8076
8077
  let v = b.next();
8077
8078
  for (; !v.done; ) {
8078
8079
  const x = v.value, _ = x[0];
@@ -8118,15 +8119,15 @@ let o0 = class z5 {
8118
8119
  let m = !1, f = 0;
8119
8120
  const y = this._major;
8120
8121
  if (c <= p && d >= g) {
8121
- $o.bounds.min = l, $o.bounds.max = a;
8122
- const R = y.entries($o);
8122
+ jo.bounds.min = l, jo.bounds.max = a;
8123
+ const R = y.entries(jo);
8123
8124
  let M = R.next();
8124
8125
  for (; !M.done; ) f -= M.value[1].getCount(), M = R.next();
8125
8126
  return y.delete(l, a - l + 1), this._count += f, this._dataCoords = null, f !== 0;
8126
8127
  }
8127
8128
  const w = [], b = this._isShared, v = [];
8128
- $o.bounds.min = l, $o.bounds.max = a, Zi.reverse = !1, Zi.processSkip = null, Zi.reuseResult = o1;
8129
- const x = y.entries($o);
8129
+ jo.bounds.min = l, jo.bounds.max = a, Zi.reverse = !1, Zi.processSkip = null, Zi.reuseResult = o1;
8130
+ const x = y.entries(jo);
8130
8131
  let _ = x.next();
8131
8132
  for (; !_.done; ) {
8132
8133
  const R = _.value, M = R[0];
@@ -8165,10 +8166,10 @@ let o0 = class z5 {
8165
8166
  if (!i && (b *= -1, me.isRangeWithinRange(h, e))) return this.clear(), !0;
8166
8167
  let v = 0;
8167
8168
  const x = this._major, _ = [];
8168
- if ($o.bounds.min = a, $o.bounds.max = w ? Number.MAX_SAFE_INTEGER : c, Zi.reverse = !i, Zi.processSkip = null, Zi.reuseResult = o1, w && y) {
8169
+ if (jo.bounds.min = a, jo.bounds.max = w ? Number.MAX_SAFE_INTEGER : c, Zi.reverse = !i, Zi.processSkip = null, Zi.reuseResult = o1, w && y) {
8169
8170
  if (!i) {
8170
- $o.bounds.max = c;
8171
- const F = x.entries($o);
8171
+ jo.bounds.max = c;
8172
+ const F = x.entries(jo);
8172
8173
  let $ = F.next();
8173
8174
  for (; !$.done; ) v -= $.value[1].getCount(), $ = F.next();
8174
8175
  }
@@ -8180,7 +8181,7 @@ let o0 = class z5 {
8180
8181
  i || (M = Number.MAX_SAFE_INTEGER, k = Number.MIN_SAFE_INTEGER);
8181
8182
  let C = Number.MAX_SAFE_INTEGER;
8182
8183
  r && (C = s ? r.colEnd : r.rowEnd);
8183
- const T = /* @__PURE__ */ new Set(), I = w ? /* @__PURE__ */ new Map() : null, A = [], O = x.entries($o), L = { bounds: { min: d, max: u } };
8184
+ const T = /* @__PURE__ */ new Set(), I = w ? /* @__PURE__ */ new Map() : null, A = [], O = x.entries(jo), L = { bounds: { min: d, max: u } };
8184
8185
  let N = O.next();
8185
8186
  for (; !N.done; ) {
8186
8187
  const B = N.value, F = B[0], $ = B[1].clone(), j = $.getCoords(), W = j.min, P = j.max;
@@ -8296,7 +8297,7 @@ let o0 = class z5 {
8296
8297
  o0 || (o0 = {});
8297
8298
  const qN = 12;
8298
8299
  Object.seal({ done: !1, value: null });
8299
- const Dl = [-1, -1, null], IC = Object.seal({ done: !1, value: [-1, null] }), o1 = Object.seal({ done: !1, value: [-1, null] }), Zi = { bounds: { min: -1, max: -1 }, reverse: !1, processSkip: null, reuseResult: IC }, $o = { bounds: { min: -1, max: -1 }, reverse: !1, processSkip: null, reuseResult: o1 }, J8 = () => ({ majorIndex: -1, minorIndex: -1, value: null, active: !1, nextMinorIndex: -1, nextActive: !1, nextMinorValue: null, minorIterator: null, nextMajorCursor: null, prevMajorCursor: null });
8300
+ const Dl = [-1, -1, null], IC = Object.seal({ done: !1, value: [-1, null] }), o1 = Object.seal({ done: !1, value: [-1, null] }), Zi = { bounds: { min: -1, max: -1 }, reverse: !1, processSkip: null, reuseResult: IC }, jo = { bounds: { min: -1, max: -1 }, reverse: !1, processSkip: null, reuseResult: o1 }, J8 = () => ({ majorIndex: -1, minorIndex: -1, value: null, active: !1, nextMinorIndex: -1, nextActive: !1, nextMinorValue: null, minorIterator: null, nextMajorCursor: null, prevMajorCursor: null });
8300
8301
  let KN = class P5 {
8301
8302
  constructor(e) {
8302
8303
  if (this._l = 0, this._at = null, this._dt = Q8.Undefined, this._a32 = null, this._a64 = null, this._cv = null, this._vt = null, this._vi32 = null, this._vi64 = null, this._vf32 = null, this._vf64 = null, !e) throw new Error("options is required");
@@ -10176,8 +10177,8 @@ const Ap = (n) => {
10176
10177
  t && i !== "]" && i !== '"' ? e += i : i === '"' ? (e += "\\0022", t = !t) : ["[", "]", ",", "#", ".", "@", "/", ":", ";", "-", " "].includes(i) ? (e += "\\" + i, i === "[" ? t = !0 : i === "]" && (t = !1)) : ["(", ")"].includes(i) ? e += o === "_" ? "\\" + i : "\\\\\\" + i : ["$"].includes(i) ? e += "\\0022" + i + "\\0022" : e += i, o = i;
10177
10178
  }
10178
10179
  return '"' + e + '"';
10179
- }, O9 = "Normal", jo = /* @__PURE__ */ new Map();
10180
- jo.set(re.textToKey("Thin"), 100), jo.set(re.textToKey("Hairline"), 100), jo.set(re.textToKey("Extra Light"), 200), jo.set(re.textToKey("Ultra Light"), 200), jo.set(re.textToKey("Light"), 300), jo.set(re.textToKey(O9), 400), jo.set(re.textToKey("Regular"), 400), jo.set(re.textToKey("Medium"), 500), jo.set(re.textToKey("Semi Bold"), 600), jo.set(re.textToKey("Demi Bold"), 600), jo.set(re.textToKey(O9), 400), jo.set(re.textToKey("Bold"), 700), jo.set(re.textToKey("Extra Bold"), 800), jo.set(re.textToKey("Ultra Bold"), 800), jo.set(re.textToKey("Black"), 900), jo.set(re.textToKey("Heavy"), 900), jo.set(re.textToKey("Extra Black"), 950), jo.set(re.textToKey("Ultra Black"), 950), jo.set(re.textToKey("lighter"), 100), jo.set(re.textToKey("normal"), 400), jo.set(re.textToKey("bold"), 700), jo.set(re.textToKey("bolder"), 700);
10180
+ }, O9 = "Normal", Wo = /* @__PURE__ */ new Map();
10181
+ Wo.set(re.textToKey("Thin"), 100), Wo.set(re.textToKey("Hairline"), 100), Wo.set(re.textToKey("Extra Light"), 200), Wo.set(re.textToKey("Ultra Light"), 200), Wo.set(re.textToKey("Light"), 300), Wo.set(re.textToKey(O9), 400), Wo.set(re.textToKey("Regular"), 400), Wo.set(re.textToKey("Medium"), 500), Wo.set(re.textToKey("Semi Bold"), 600), Wo.set(re.textToKey("Demi Bold"), 600), Wo.set(re.textToKey(O9), 400), Wo.set(re.textToKey("Bold"), 700), Wo.set(re.textToKey("Extra Bold"), 800), Wo.set(re.textToKey("Ultra Bold"), 800), Wo.set(re.textToKey("Black"), 900), Wo.set(re.textToKey("Heavy"), 900), Wo.set(re.textToKey("Extra Black"), 950), Wo.set(re.textToKey("Ultra Black"), 950), Wo.set(re.textToKey("lighter"), 100), Wo.set(re.textToKey("normal"), 400), Wo.set(re.textToKey("bold"), 700), Wo.set(re.textToKey("bolder"), 700);
10181
10182
  const wD = new RegExp("^[0-9]*[.]?[0-9]+$", "g"), Yi = /* @__PURE__ */ new Map();
10182
10183
  Yi.set(re.textToKey("xx-small"), (n) => 0.4 * n), Yi.set(re.textToKey("x-small"), (n) => 0.5 * n), Yi.set(re.textToKey("small"), (n) => 0.6 * n), Yi.set(re.textToKey("medium"), (n) => n), Yi.set(re.textToKey("large"), (n) => 1.1 * n), Yi.set(re.textToKey("x-large"), (n) => 1.25 * n), Yi.set(re.textToKey("xx-large"), (n) => 1.5 * n), Yi.set(re.textToKey("xxx-large"), (n) => 2 * n), Yi.set(re.textToKey("smaller"), (n) => 0.9 * n), Yi.set(re.textToKey("larger"), (n) => 1.1 * n), Yi.set(re.textToKey("math"), (n) => n);
10183
10184
  const wc = (n, e = 11, t = "pt") => {
@@ -10199,11 +10200,11 @@ const wc = (n, e = 11, t = "pt") => {
10199
10200
  if (l) return l(e);
10200
10201
  }
10201
10202
  return isNaN(o) ? null : o;
10202
- }, ar = /* @__PURE__ */ new Map();
10203
- ar.set(Tt.BuiltInSheetPattern.None, { description: "None", cssKey: "none" }), ar.set(Tt.BuiltInSheetPattern.Solid, { description: "Solid", cssKey: "solid" }), ar.set(Tt.BuiltInSheetPattern.DarkGray, { description: "75% gray", cssKey: "gray-75" }), ar.set(Tt.BuiltInSheetPattern.MediumGray, { description: "50% gray", cssKey: "gray-50" }), ar.set(Tt.BuiltInSheetPattern.LightGray, { description: "25% gray", cssKey: "gray-25" }), ar.set(Tt.BuiltInSheetPattern.Gray125, { description: "12.5% Gray", cssKey: "gray-125" }), ar.set(Tt.BuiltInSheetPattern.Gray0625, { description: "6.25% Gray", cssKey: "gray-0625" }), ar.set(Tt.BuiltInSheetPattern.DarkHorizontal, { description: "Horizontal Strip", cssKey: "horz-stripe" }), ar.set(Tt.BuiltInSheetPattern.DarkVertical, { description: "Vertical Strip", cssKey: "vert-stripe" }), ar.set(Tt.BuiltInSheetPattern.DarkDown, { description: "Reverse Diagonal Stripe", cssKey: "reverse-diag-stripe" }), ar.set(Tt.BuiltInSheetPattern.DarkUp, { description: "Diagonal Strip", cssKey: "diag-stripe" }), ar.set(Tt.BuiltInSheetPattern.DarkGrid, { description: "Diagonal Crosshatch", cssKey: "diag-cross" }), ar.set(Tt.BuiltInSheetPattern.DarkTrellis, { description: "Thick Diagonal Crosshatch", cssKey: "thick-diag-cross" }), ar.set(Tt.BuiltInSheetPattern.LightHorizontal, { description: "Thin Horizontal Stripe", cssKey: "thin-horz-stripe" }), ar.set(Tt.BuiltInSheetPattern.LightVertical, { description: "Thin Vertical Stripe", cssKey: "thin-vert-stripe" }), ar.set(Tt.BuiltInSheetPattern.LightDown, { description: "Thin Reverse Diagonal Stripe", cssKey: "thin-reverse-diag-stripe" }), ar.set(Tt.BuiltInSheetPattern.LightUp, { description: "Thin Diagonal Stripe", cssKey: "thin-diag-stripe" }), ar.set(Tt.BuiltInSheetPattern.LightGrid, { description: "Thin Horizontal Cross", cssKey: "thin-horz-cross" }), ar.set(Tt.BuiltInSheetPattern.LightTrellis, { description: "Thin Diagonal Cross", cssKey: "thin-diag-cross" });
10203
+ }, cr = /* @__PURE__ */ new Map();
10204
+ cr.set(Tt.BuiltInSheetPattern.None, { description: "None", cssKey: "none" }), cr.set(Tt.BuiltInSheetPattern.Solid, { description: "Solid", cssKey: "solid" }), cr.set(Tt.BuiltInSheetPattern.DarkGray, { description: "75% gray", cssKey: "gray-75" }), cr.set(Tt.BuiltInSheetPattern.MediumGray, { description: "50% gray", cssKey: "gray-50" }), cr.set(Tt.BuiltInSheetPattern.LightGray, { description: "25% gray", cssKey: "gray-25" }), cr.set(Tt.BuiltInSheetPattern.Gray125, { description: "12.5% Gray", cssKey: "gray-125" }), cr.set(Tt.BuiltInSheetPattern.Gray0625, { description: "6.25% Gray", cssKey: "gray-0625" }), cr.set(Tt.BuiltInSheetPattern.DarkHorizontal, { description: "Horizontal Strip", cssKey: "horz-stripe" }), cr.set(Tt.BuiltInSheetPattern.DarkVertical, { description: "Vertical Strip", cssKey: "vert-stripe" }), cr.set(Tt.BuiltInSheetPattern.DarkDown, { description: "Reverse Diagonal Stripe", cssKey: "reverse-diag-stripe" }), cr.set(Tt.BuiltInSheetPattern.DarkUp, { description: "Diagonal Strip", cssKey: "diag-stripe" }), cr.set(Tt.BuiltInSheetPattern.DarkGrid, { description: "Diagonal Crosshatch", cssKey: "diag-cross" }), cr.set(Tt.BuiltInSheetPattern.DarkTrellis, { description: "Thick Diagonal Crosshatch", cssKey: "thick-diag-cross" }), cr.set(Tt.BuiltInSheetPattern.LightHorizontal, { description: "Thin Horizontal Stripe", cssKey: "thin-horz-stripe" }), cr.set(Tt.BuiltInSheetPattern.LightVertical, { description: "Thin Vertical Stripe", cssKey: "thin-vert-stripe" }), cr.set(Tt.BuiltInSheetPattern.LightDown, { description: "Thin Reverse Diagonal Stripe", cssKey: "thin-reverse-diag-stripe" }), cr.set(Tt.BuiltInSheetPattern.LightUp, { description: "Thin Diagonal Stripe", cssKey: "thin-diag-stripe" }), cr.set(Tt.BuiltInSheetPattern.LightGrid, { description: "Thin Horizontal Cross", cssKey: "thin-horz-cross" }), cr.set(Tt.BuiltInSheetPattern.LightTrellis, { description: "Thin Diagonal Cross", cssKey: "thin-diag-cross" });
10204
10205
  let Op = "";
10205
10206
  const QC = /* @__PURE__ */ new Map();
10206
- ar.forEach((n, e) => {
10207
+ cr.forEach((n, e) => {
10207
10208
  Op.length > 0 && (Op += "|"), Op += "\\b" + n.cssKey + "\\b", QC.set(n.cssKey, e);
10208
10209
  });
10209
10210
  const SD = new RegExp(`(\\s*(?:${Op}))`, "g"), eE = (n, e = !1, t = null) => {
@@ -10272,7 +10273,7 @@ Kl.set(re.textToKey("start"), Oe.HorizontalAlignment.Left), Kl.set(re.textToKey(
10272
10273
  const al = /* @__PURE__ */ new Map();
10273
10274
  al.set(re.textToKey("baseline"), Oe.VerticalAlignment.Bottom), al.set(re.textToKey("top"), Oe.VerticalAlignment.Top), al.set(re.textToKey("middle"), Oe.VerticalAlignment.Center), al.set(re.textToKey("bottom"), Oe.VerticalAlignment.Bottom), al.set(re.textToKey("sub"), Oe.VerticalAlignment.Bottom), al.set(re.textToKey("text-top"), Oe.VerticalAlignment.Top), al.set(re.textToKey("justify"), Oe.VerticalAlignment.Justify), al.set(re.textToKey("distributed"), Oe.VerticalAlignment.Distributed);
10274
10275
  const nE = (n, e) => {
10275
- if (n instanceof Uo) return { color: n };
10276
+ if (n instanceof Go) return { color: n };
10276
10277
  if (typeof n == "string") try {
10277
10278
  return { color: n === "none" || n === "transparent" ? null : e(n) };
10278
10279
  } catch (t) {
@@ -10302,7 +10303,7 @@ const nE = (n, e) => {
10302
10303
  e?.toJSON && (e = e.toJSON());
10303
10304
  const o = Tt.BuiltInSheetPattern.MediumGray;
10304
10305
  return e?.type === Tt.Type.Pattern ? { ...e, ...n } : e?.type === Tt.Type.Solid ? { patternType: o, ...n, foreground: e?.color ?? oe.Named.WindowText, background: oe.Scheme.Bg1 } : e?.type === Tt.Type.Gradient ? { patternType: o, ...n, foreground: e?.stops?.[0]?.color ?? oe.Named.WindowText, background: e?.stops?.[1]?.color ?? oe.Scheme.Bg1 } : n ? { type: Tt.Type.Pattern, patternType: Tt.BuiltInSheetPattern.Solid, foreground: oe.Named.WindowText, background: oe.Scheme.Bg1, ...n } : null;
10305
- }, properties: { foreground: q1, background: q1 } }, er = { properties: { font: { shorthand: (n, e) => {
10306
+ }, properties: { foreground: q1, background: q1 } }, tr = { properties: { font: { shorthand: (n, e) => {
10306
10307
  if (typeof n == "string") {
10307
10308
  const t = Ap(n);
10308
10309
  if (t) {
@@ -10326,7 +10327,7 @@ const nE = (n, e) => {
10326
10327
  let r = 400;
10327
10328
  if (r = typeof o == "number" ? o : parseFloat(o), !isNaN(r)) return r;
10328
10329
  if (typeof o == "string") {
10329
- const i = re.textToKey(o), s = jo.get(i);
10330
+ const i = re.textToKey(o), s = Wo.get(i);
10330
10331
  if (s) return s;
10331
10332
  }
10332
10333
  return r;
@@ -10357,7 +10358,7 @@ const nE = (n, e) => {
10357
10358
  return t !== void 0 ? t : n;
10358
10359
  }
10359
10360
  return typeof n == "number" ? C4(n) : null;
10360
- } } } }, xD = { properties: { style: er } }, _D = Object.freeze({ displayText: "", conditionalColor: null, repeatChars: re.EmptyArray, spacingChars: re.EmptyArray, repeatPlaceholder: null, formattedRuns: Object.freeze({ runs: re.EmptyArray, length: 0, width: 0, lastRepeatIndex: -1 }), canWrap: !1, asDate: null, isDateFormat: !1, isTimeFormat: !1, isDate1904: !1 }), oE = (n, e, t, o, r, i = !1) => {
10361
+ } } } }, xD = { properties: { style: tr } }, _D = Object.freeze({ displayText: "", conditionalColor: null, repeatChars: re.EmptyArray, spacingChars: re.EmptyArray, repeatPlaceholder: null, formattedRuns: Object.freeze({ runs: re.EmptyArray, length: 0, width: 0, lastRepeatIndex: -1 }), canWrap: !1, asDate: null, isDateFormat: !1, isTimeFormat: !1, isDate1904: !1 }), oE = (n, e, t, o, r, i = !1) => {
10361
10362
  if (n == null) return _D;
10362
10363
  let s = "", l = null, a = null, c = null;
10363
10364
  if (t === mt.Error) s = n.getLabel();
@@ -10436,12 +10437,12 @@ const nE = (n, e) => {
10436
10437
  }
10437
10438
  })(o, n), _ = { displayText: s ?? "", conditionalColor: x ? r(x) : null, repeatChars: a ?? re.EmptyArray, spacingChars: c ?? re.EmptyArray, repeatPlaceholder: l, formattedRuns: p, canWrap: w, asDate: h, isDateFormat: d, isTimeFormat: u, isDate1904: i };
10438
10439
  return Object.freeze(_);
10439
- }, lr = Object.freeze({ fallbacks: re.EmptyArray, weight: 400, style: ct.Style.Normal, fill: oe.Scheme.Tx1, letterSpacing: null, underline: ct.UnderlineStyle.None, strike: !1, scheme: ct.Scheme.Minor, verticalAlign: ct.VerticalAlignment.Baseline, shadow: !1, outline: !1, extend: !1 }), Ll = Object.freeze({ style: De.StrokeStyle.None, color: oe.Scheme.Tx1 }), CD = Object.freeze({ [De.Edge.Top]: Ll, [De.Edge.Left]: Ll, [De.Edge.Bottom]: Ll, [De.Edge.Right]: Ll, [De.Edge.Horizontal]: Ll, [De.Edge.Vertical]: Ll, [De.Edge.DiagonalUp]: Ll, [De.Edge.DiagonalDown]: Ll }), ED = Object.freeze({ horizontal: Oe.HorizontalAlignment.General, vertical: Oe.VerticalAlignment.Bottom, indent: 0, relativeIndent: 0, overflow: Oe.Overflow.Visible, rotation: 0, stacked: !1, quotePrefix: !1, justifyLastLine: !1, readingOrder: Oe.ReadingDirection.Auto, readingDirection: Oe.ReadingDirection.Auto }), TD = Object.freeze({ locked: !1, formulaHidden: !1 }), rE = Object.freeze({ fill: { type: Tt.Type.None }, numberFormat: "General", alignment: ED, font: lr, border: CD, protection: TD, quotePrefix: !1, namedStyle: null }), kD = (() => {
10440
- const n = [{ named: ut.BuiltInName.Normal }, { named: ut.BuiltInName.RowLevel }, { named: ut.BuiltInName.ColLevel }, { named: ut.BuiltInName.Comma, numberFormat: '_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)' }, { named: ut.BuiltInName.Currency, numberFormat: '_($* #,##0.00_);_($* (#,##0.00);_($* "-"??_);_(@_)' }, { named: ut.BuiltInName.Percent, numberFormat: "0%" }, { named: ut.BuiltInName.Comma0, numberFormat: '_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)' }, { named: ut.BuiltInName.Currency0, numberFormat: '_($* #,##0_);_($* (#,##0);_($* "-"_);_(@_)' }, { named: ut.BuiltInName.Hyperlink, font: { ...lr, fill: oe.Scheme.Hlink, underline: ct.UnderlineStyle.Single } }, { named: ut.BuiltInName.FollowedHyperlink, font: { ...lr, fill: oe.Scheme.FolHlink, underline: ct.UnderlineStyle.Single } }, { named: ut.BuiltInName.Note, fill: "FFFFFFCC", font: { ...lr, style: ct.Style.Normal, fill: oe.Scheme.Tx1 }, border: { left: { style: De.StrokeStyle.Thin, color: "FFB2B2B2" }, top: { style: De.StrokeStyle.Thin, color: "FFB2B2B2" }, right: { style: De.StrokeStyle.Thin, color: "FFB2B2B2" }, bottom: { style: De.StrokeStyle.Thin, color: "FFB2B2B2" } } }, { named: ut.BuiltInName.WarningText, font: { ...lr, fill: "FFFF0000" } }, { named: ut.BuiltInName.Unknown12 }, { named: ut.BuiltInName.Unknown13 }, { named: ut.BuiltInName.Unknown14 }, { named: ut.BuiltInName.Title, font: { ...lr, size: 18, fill: oe.Scheme.Tx2 } }, { named: ut.BuiltInName.Heading1, font: { ...lr, size: 15, weight: "bold", fill: oe.Scheme.Tx2 }, border: { bottom: { style: De.StrokeStyle.Thick, color: oe.Scheme.Accent1 } } }, { named: ut.BuiltInName.Heading2, font: { ...lr, size: 13, weight: "bold", fill: oe.Scheme.Tx2 }, border: { bottom: { style: De.StrokeStyle.Thick, color: "accent1 lumMod 40, lumOff 60" } } }, { named: ut.BuiltInName.Heading3, font: { ...lr, weight: "bold", fill: oe.Scheme.Tx2 }, border: { bottom: { style: De.StrokeStyle.Medium, color: "accent1 lumMod 40, lumOff 60" } } }, { named: ut.BuiltInName.Heading4, font: { weight: "bold", fill: oe.Scheme.Tx2, ...lr } }, { named: ut.BuiltInName.Input, fill: "FFFFCC99", font: { ...lr, fill: "FF3F3F76" }, border: { left: { style: De.StrokeStyle.Thin, color: "FF7F7F7F" }, top: { style: De.StrokeStyle.Thin, color: "FF7F7F7F" }, right: { style: De.StrokeStyle.Thin, color: "FF7F7F7F" }, bottom: { style: De.StrokeStyle.Thin, color: "FF7F7F7F" } } }, { named: ut.BuiltInName.Output, fill: "FFF2F2F2", font: { ...lr, fill: "FF3F3F3F" }, border: { left: { style: De.StrokeStyle.Thin, color: "FF3F3F3F" }, top: { style: De.StrokeStyle.Thin, color: "FF3F3F3F" }, right: { style: De.StrokeStyle.Thin, color: "FF3F3F3F" }, bottom: { style: De.StrokeStyle.Thin, color: "FF3F3F3F" } } }, { named: ut.BuiltInName.Calculation, fill: "FFF2F2F2", font: { ...lr, fill: "FFFA7D00" }, border: { left: { style: De.StrokeStyle.Thin, color: "FF7F7F7F" }, top: { style: De.StrokeStyle.Thin, color: "FF7F7F7F" }, right: { style: De.StrokeStyle.Thin, color: "FF7F7F7F" }, bottom: { style: De.StrokeStyle.Thin, color: "FF7F7F7F" } } }, { named: ut.BuiltInName.CheckCell, fill: "FFA5A5A5", font: { ...lr, fill: oe.Scheme.Bg1 }, border: { left: { style: De.StrokeStyle.Double, color: "FF3F3F3F" }, top: { style: De.StrokeStyle.Double, color: "FF3F3F3F" }, right: { style: De.StrokeStyle.Double, color: "FF3F3F3F" }, bottom: { style: De.StrokeStyle.Double, color: "FF3F3F3F" } } }, { named: ut.BuiltInName.LinkedCell, font: { ...lr, fill: "FFFA7D00" }, border: { bottom: { style: De.StrokeStyle.Double, color: "FFFF8001" } } }, { named: ut.BuiltInName.Total, font: { ...lr, weight: "bold", fill: oe.Scheme.Tx1 }, border: { top: { style: De.StrokeStyle.Thin, color: oe.Scheme.Accent1 }, bottom: { style: De.StrokeStyle.Double, color: oe.Scheme.Accent1 } } }, { named: ut.BuiltInName.Good, fill: "FFC6EFCE", font: { ...lr, fill: "FF006100" } }, { named: ut.BuiltInName.Bad, fill: "FFFFC7CE", font: { ...lr, fill: "FF9C0006" } }, { named: ut.BuiltInName.Neutral, fill: "FFFFEB9C", font: { ...lr, fill: "FF9C5700" } }, { named: ut.BuiltInName.Accent1 }, { named: ut.BuiltInName.Accent1_20 }, { named: ut.BuiltInName.Accent1_40 }, { named: ut.BuiltInName.Accent1_60 }, { named: ut.BuiltInName.Accent2 }, { named: ut.BuiltInName.Accent2_20 }, { named: ut.BuiltInName.Accent2_40 }, { named: ut.BuiltInName.Accent2_60 }, { named: ut.BuiltInName.Accent3 }, { named: ut.BuiltInName.Accent3_20 }, { named: ut.BuiltInName.Accent3_40 }, { named: ut.BuiltInName.Accent3_60 }, { named: ut.BuiltInName.Accent4 }, { named: ut.BuiltInName.Accent4_20 }, { named: ut.BuiltInName.Accent4_40 }, { named: ut.BuiltInName.Accent4_60 }, { named: ut.BuiltInName.Accent5 }, { named: ut.BuiltInName.Accent5_20 }, { named: ut.BuiltInName.Accent5_40 }, { named: ut.BuiltInName.Accent5_60 }, { named: ut.BuiltInName.Accent6 }, { named: ut.BuiltInName.Accent6_20 }, { named: ut.BuiltInName.Accent6_40 }, { named: ut.BuiltInName.Accent6_60 }, { named: ut.BuiltInName.ExplanatoryText, font: { ...lr, style: ct.Style.Italic, fill: "FF7F7F7F" } }];
10440
+ }, ar = Object.freeze({ fallbacks: re.EmptyArray, weight: 400, style: ct.Style.Normal, fill: oe.Scheme.Tx1, letterSpacing: null, underline: ct.UnderlineStyle.None, strike: !1, scheme: ct.Scheme.Minor, verticalAlign: ct.VerticalAlignment.Baseline, shadow: !1, outline: !1, extend: !1 }), Ll = Object.freeze({ style: De.StrokeStyle.None, color: oe.Scheme.Tx1 }), CD = Object.freeze({ [De.Edge.Top]: Ll, [De.Edge.Left]: Ll, [De.Edge.Bottom]: Ll, [De.Edge.Right]: Ll, [De.Edge.Horizontal]: Ll, [De.Edge.Vertical]: Ll, [De.Edge.DiagonalUp]: Ll, [De.Edge.DiagonalDown]: Ll }), ED = Object.freeze({ horizontal: Oe.HorizontalAlignment.General, vertical: Oe.VerticalAlignment.Bottom, indent: 0, relativeIndent: 0, overflow: Oe.Overflow.Visible, rotation: 0, stacked: !1, quotePrefix: !1, justifyLastLine: !1, readingOrder: Oe.ReadingDirection.Auto, readingDirection: Oe.ReadingDirection.Auto }), TD = Object.freeze({ locked: !1, formulaHidden: !1 }), rE = Object.freeze({ fill: { type: Tt.Type.None }, numberFormat: "General", alignment: ED, font: ar, border: CD, protection: TD, quotePrefix: !1, namedStyle: null }), kD = (() => {
10441
+ const n = [{ named: ut.BuiltInName.Normal }, { named: ut.BuiltInName.RowLevel }, { named: ut.BuiltInName.ColLevel }, { named: ut.BuiltInName.Comma, numberFormat: '_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)' }, { named: ut.BuiltInName.Currency, numberFormat: '_($* #,##0.00_);_($* (#,##0.00);_($* "-"??_);_(@_)' }, { named: ut.BuiltInName.Percent, numberFormat: "0%" }, { named: ut.BuiltInName.Comma0, numberFormat: '_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)' }, { named: ut.BuiltInName.Currency0, numberFormat: '_($* #,##0_);_($* (#,##0);_($* "-"_);_(@_)' }, { named: ut.BuiltInName.Hyperlink, font: { ...ar, fill: oe.Scheme.Hlink, underline: ct.UnderlineStyle.Single } }, { named: ut.BuiltInName.FollowedHyperlink, font: { ...ar, fill: oe.Scheme.FolHlink, underline: ct.UnderlineStyle.Single } }, { named: ut.BuiltInName.Note, fill: "FFFFFFCC", font: { ...ar, style: ct.Style.Normal, fill: oe.Scheme.Tx1 }, border: { left: { style: De.StrokeStyle.Thin, color: "FFB2B2B2" }, top: { style: De.StrokeStyle.Thin, color: "FFB2B2B2" }, right: { style: De.StrokeStyle.Thin, color: "FFB2B2B2" }, bottom: { style: De.StrokeStyle.Thin, color: "FFB2B2B2" } } }, { named: ut.BuiltInName.WarningText, font: { ...ar, fill: "FFFF0000" } }, { named: ut.BuiltInName.Unknown12 }, { named: ut.BuiltInName.Unknown13 }, { named: ut.BuiltInName.Unknown14 }, { named: ut.BuiltInName.Title, font: { ...ar, size: 18, fill: oe.Scheme.Tx2 } }, { named: ut.BuiltInName.Heading1, font: { ...ar, size: 15, weight: "bold", fill: oe.Scheme.Tx2 }, border: { bottom: { style: De.StrokeStyle.Thick, color: oe.Scheme.Accent1 } } }, { named: ut.BuiltInName.Heading2, font: { ...ar, size: 13, weight: "bold", fill: oe.Scheme.Tx2 }, border: { bottom: { style: De.StrokeStyle.Thick, color: "accent1 lumMod 40, lumOff 60" } } }, { named: ut.BuiltInName.Heading3, font: { ...ar, weight: "bold", fill: oe.Scheme.Tx2 }, border: { bottom: { style: De.StrokeStyle.Medium, color: "accent1 lumMod 40, lumOff 60" } } }, { named: ut.BuiltInName.Heading4, font: { weight: "bold", fill: oe.Scheme.Tx2, ...ar } }, { named: ut.BuiltInName.Input, fill: "FFFFCC99", font: { ...ar, fill: "FF3F3F76" }, border: { left: { style: De.StrokeStyle.Thin, color: "FF7F7F7F" }, top: { style: De.StrokeStyle.Thin, color: "FF7F7F7F" }, right: { style: De.StrokeStyle.Thin, color: "FF7F7F7F" }, bottom: { style: De.StrokeStyle.Thin, color: "FF7F7F7F" } } }, { named: ut.BuiltInName.Output, fill: "FFF2F2F2", font: { ...ar, fill: "FF3F3F3F" }, border: { left: { style: De.StrokeStyle.Thin, color: "FF3F3F3F" }, top: { style: De.StrokeStyle.Thin, color: "FF3F3F3F" }, right: { style: De.StrokeStyle.Thin, color: "FF3F3F3F" }, bottom: { style: De.StrokeStyle.Thin, color: "FF3F3F3F" } } }, { named: ut.BuiltInName.Calculation, fill: "FFF2F2F2", font: { ...ar, fill: "FFFA7D00" }, border: { left: { style: De.StrokeStyle.Thin, color: "FF7F7F7F" }, top: { style: De.StrokeStyle.Thin, color: "FF7F7F7F" }, right: { style: De.StrokeStyle.Thin, color: "FF7F7F7F" }, bottom: { style: De.StrokeStyle.Thin, color: "FF7F7F7F" } } }, { named: ut.BuiltInName.CheckCell, fill: "FFA5A5A5", font: { ...ar, fill: oe.Scheme.Bg1 }, border: { left: { style: De.StrokeStyle.Double, color: "FF3F3F3F" }, top: { style: De.StrokeStyle.Double, color: "FF3F3F3F" }, right: { style: De.StrokeStyle.Double, color: "FF3F3F3F" }, bottom: { style: De.StrokeStyle.Double, color: "FF3F3F3F" } } }, { named: ut.BuiltInName.LinkedCell, font: { ...ar, fill: "FFFA7D00" }, border: { bottom: { style: De.StrokeStyle.Double, color: "FFFF8001" } } }, { named: ut.BuiltInName.Total, font: { ...ar, weight: "bold", fill: oe.Scheme.Tx1 }, border: { top: { style: De.StrokeStyle.Thin, color: oe.Scheme.Accent1 }, bottom: { style: De.StrokeStyle.Double, color: oe.Scheme.Accent1 } } }, { named: ut.BuiltInName.Good, fill: "FFC6EFCE", font: { ...ar, fill: "FF006100" } }, { named: ut.BuiltInName.Bad, fill: "FFFFC7CE", font: { ...ar, fill: "FF9C0006" } }, { named: ut.BuiltInName.Neutral, fill: "FFFFEB9C", font: { ...ar, fill: "FF9C5700" } }, { named: ut.BuiltInName.Accent1 }, { named: ut.BuiltInName.Accent1_20 }, { named: ut.BuiltInName.Accent1_40 }, { named: ut.BuiltInName.Accent1_60 }, { named: ut.BuiltInName.Accent2 }, { named: ut.BuiltInName.Accent2_20 }, { named: ut.BuiltInName.Accent2_40 }, { named: ut.BuiltInName.Accent2_60 }, { named: ut.BuiltInName.Accent3 }, { named: ut.BuiltInName.Accent3_20 }, { named: ut.BuiltInName.Accent3_40 }, { named: ut.BuiltInName.Accent3_60 }, { named: ut.BuiltInName.Accent4 }, { named: ut.BuiltInName.Accent4_20 }, { named: ut.BuiltInName.Accent4_40 }, { named: ut.BuiltInName.Accent4_60 }, { named: ut.BuiltInName.Accent5 }, { named: ut.BuiltInName.Accent5_20 }, { named: ut.BuiltInName.Accent5_40 }, { named: ut.BuiltInName.Accent5_60 }, { named: ut.BuiltInName.Accent6 }, { named: ut.BuiltInName.Accent6_20 }, { named: ut.BuiltInName.Accent6_40 }, { named: ut.BuiltInName.Accent6_60 }, { named: ut.BuiltInName.ExplanatoryText, font: { ...ar, style: ct.Style.Italic, fill: "FF7F7F7F" } }];
10441
10442
  for (let e = 29; e <= 52; e++) {
10442
10443
  const t = (e - 29) % 4, o = Math.floor((e - 29) / 4);
10443
10444
  let r = "";
10444
- t === 1 ? r = " lumMod 20, lumOff 80" : t === 2 ? r = " lumMod 40, lumOff 60" : t === 3 && (r = " lumMod 60, lumOff 40"), n[e].fill = `accent${o + 1}${r}`, n[e].font = { fill: t === 0 ? oe.Scheme.Bg1 : oe.Scheme.Tx1, ...lr };
10445
+ t === 1 ? r = " lumMod 20, lumOff 80" : t === 2 ? r = " lumMod 40, lumOff 60" : t === 3 && (r = " lumMod 60, lumOff 40"), n[e].fill = `accent${o + 1}${r}`, n[e].font = { fill: t === 0 ? oe.Scheme.Bg1 : oe.Scheme.Tx1, ...ar };
10445
10446
  }
10446
10447
  return re.deepFreeze(n);
10447
10448
  })(), MD = new class {
@@ -10886,7 +10887,7 @@ let _s = class Xl {
10886
10887
  }
10887
10888
  cloneWithUpdate(e) {
10888
10889
  if (e === void 0) return this;
10889
- const t = this._c, o = this._r, r = this._p, i = zo.resolveTypedUpdates(e, er, t, r);
10890
+ const t = this._c, o = this._r, r = this._p, i = Po.resolveTypedUpdates(e, tr, t, r);
10890
10891
  return new Xl(t, o, i);
10891
10892
  }
10892
10893
  copyTo(e, t) {
@@ -10947,7 +10948,7 @@ let _s = class Xl {
10947
10948
  if (y > 1 && !xa(E, c[_])) return;
10948
10949
  const R = w === 1 ? d[x] : d[_];
10949
10950
  if (w > 1 && !xa(R, d[_]) || !xa(E, R)) return;
10950
- const M = { border: { [h]: c[h], [p]: c[p], [b]: c[b], [_]: E, [x]: c[x], [v]: d[v] } }, k = zo.resolveTypedUpdates(M, er, u, i);
10951
+ const M = { border: { [h]: c[h], [p]: c[p], [b]: c[b], [_]: E, [x]: c[x], [v]: d[v] } }, k = Po.resolveTypedUpdates(M, tr, u, i);
10951
10952
  return new Xl(u, t, k);
10952
10953
  }
10953
10954
  return new Xl(u, t, this._p);
@@ -11108,13 +11109,13 @@ class WD {
11108
11109
  }
11109
11110
  let l = null;
11110
11111
  const a = this._table?.getPropertiesAt(e, t, o);
11111
- a && (l = l ? zo.resolveTypedUpdates(a, er, s, l) : a), r && (l = l ? zo.resolveTypedUpdates(r, er, s, l) : r);
11112
+ a && (l = l ? Po.resolveTypedUpdates(a, tr, s, l) : a), r && (l = l ? Po.resolveTypedUpdates(r, tr, s, l) : r);
11112
11113
  const c = this._conditionals;
11113
11114
  if (c) for (let d = 0; d < c.length; d++) {
11114
11115
  const u = c[d].getPropertiesAt(e, t, o);
11115
- u && (l = l ? zo.resolveTypedUpdates(u, er, s, l) : u);
11116
+ u && (l = l ? Po.resolveTypedUpdates(u, tr, s, l) : u);
11116
11117
  }
11117
- return i && (l = l ? zo.resolveTypedUpdates(i, er, s, l) : i), l;
11118
+ return i && (l = l ? Po.resolveTypedUpdates(i, tr, s, l) : i), l;
11118
11119
  }
11119
11120
  cloneWithUpdate(e) {
11120
11121
  return (this._rs.directStyle ?? this._styles.getNormalRanged()).cloneWithUpdate(e);
@@ -11824,7 +11825,7 @@ let pg = class {
11824
11825
  return this._getState()?.anchor ?? null;
11825
11826
  }
11826
11827
  getAnchorType() {
11827
- return this._getState()?.anchorType ?? dr.Type.TwoCell;
11828
+ return this._getState()?.anchorType ?? ur.Type.TwoCell;
11828
11829
  }
11829
11830
  isProtected() {
11830
11831
  return this._options.isProtected?.() ?? !1;
@@ -12297,7 +12298,7 @@ class gg extends pg {
12297
12298
  }, getCoords: () => o, getSource: () => s, getName: () => r, getMarkOptions: () => l, isISnapshot: !0 };
12298
12299
  }
12299
12300
  getAnchorType() {
12300
- return dr.Type.TwoCell;
12301
+ return ur.Type.TwoCell;
12301
12302
  }
12302
12303
  getStyle() {
12303
12304
  if (this._styleCache) return this._styleCache;
@@ -12714,7 +12715,7 @@ class tF {
12714
12715
  for (let s = 0; s < i; s++) {
12715
12716
  const l = r[s], a = e[l];
12716
12717
  if (!a || !re.isObject(a)) continue;
12717
- const c = zo.resolveTypedUpdates(Object.freeze(a), er, o);
12718
+ const c = Po.resolveTypedUpdates(Object.freeze(a), tr, o);
12718
12719
  t[l] = c;
12719
12720
  }
12720
12721
  return Object.freeze(t);
@@ -12747,7 +12748,7 @@ class tF {
12747
12748
  const C = { rowIndex: d, colIndex: R }, T = { rowStart: f, rowEnd: c - w - 1, colStart: 0, colEnd: Math.min(a - u, M ? _ : E) };
12748
12749
  M && R === 0 && u > 0 && k.border?.left && i.secondColumnStripe?.border.right && (k = { ...k }, k.border = { ...k.border }, delete k.border.left), M && R === _ - 1 && u < a - 1 && k.border?.right && i.secondColumnStripe?.border.left && (k = { ...k }, k.border = { ...k.border }, delete k.border.right);
12749
12750
  const I = k.border ? ws(k, C, T) : k;
12750
- g = zo.resolveTypedUpdates(I, er, r, g);
12751
+ g = Po.resolveTypedUpdates(I, tr, r, g);
12751
12752
  }
12752
12753
  }
12753
12754
  if (x && p.showRowStripes) {
@@ -12760,40 +12761,40 @@ class tF {
12760
12761
  const T = { colIndex: u, rowIndex: M }, I = { colStart: 0, colEnd: a - 1, rowStart: 0, rowEnd: Math.min(c - d, k ? E : R) };
12761
12762
  k && M === 0 && d > _ && C.border?.top && i.secondRowStripe?.border.bottom && (C = { ...C }, C.border = { ...C.border }, delete C.border.top), k && M === E - 1 && d < c - 1 && C.border?.bottom && i.secondRowStripe?.border.top && (C = { ...C }, C.border = { ...C.border }, delete C.border.bottom);
12762
12763
  const A = C.border ? ws(C, T, I) : C;
12763
- g = zo.resolveTypedUpdates(A, er, r, g);
12764
+ g = Po.resolveTypedUpdates(A, tr, r, g);
12764
12765
  }
12765
12766
  }
12766
12767
  if (b && i.lastColumn) {
12767
12768
  let _ = i.lastColumn;
12768
- _.border && (_ = ws(_, h, { rowStart: 0, rowEnd: c - 1, colStart: a - 1, colEnd: a - 1 })), g = zo.resolveTypedUpdates(_, er, r, g);
12769
+ _.border && (_ = ws(_, h, { rowStart: 0, rowEnd: c - 1, colStart: a - 1, colEnd: a - 1 })), g = Po.resolveTypedUpdates(_, tr, r, g);
12769
12770
  }
12770
12771
  if (v && i.firstColumn) {
12771
12772
  let _ = i.firstColumn;
12772
- _.border && (_ = ws(_, h, { rowStart: 0, rowEnd: c - 1, colStart: 0, colEnd: 0 })), g = zo.resolveTypedUpdates(_, er, r, g);
12773
+ _.border && (_ = ws(_, h, { rowStart: 0, rowEnd: c - 1, colStart: 0, colEnd: 0 })), g = Po.resolveTypedUpdates(_, tr, r, g);
12773
12774
  }
12774
12775
  if (m && i.headerRow) {
12775
12776
  let _ = i.headerRow;
12776
- _.border && (_ = ws(_, h, { rowStart: 0, rowEnd: f - 1, colStart: 0, colEnd: a - 1 })), g = zo.resolveTypedUpdates(_, er, r, g);
12777
+ _.border && (_ = ws(_, h, { rowStart: 0, rowEnd: f - 1, colStart: 0, colEnd: a - 1 })), g = Po.resolveTypedUpdates(_, tr, r, g);
12777
12778
  }
12778
12779
  if (y && i.totalRow) {
12779
12780
  let _ = i.totalRow;
12780
- _.border && (_ = ws(_, h, { rowStart: c - w, rowEnd: c - 1, colStart: 0, colEnd: a - 1 })), g = zo.resolveTypedUpdates(_, er, r, g);
12781
+ _.border && (_ = ws(_, h, { rowStart: c - w, rowEnd: c - 1, colStart: 0, colEnd: a - 1 })), g = Po.resolveTypedUpdates(_, tr, r, g);
12781
12782
  }
12782
12783
  if (m && v && i.firstHeaderCell) {
12783
12784
  let _ = i.firstHeaderCell;
12784
- _.border && (_ = ws(_, h, { rowStart: 0, rowEnd: f - 1, colStart: 0, colEnd: 0 })), g = zo.resolveTypedUpdates(_, er, r, g);
12785
+ _.border && (_ = ws(_, h, { rowStart: 0, rowEnd: f - 1, colStart: 0, colEnd: 0 })), g = Po.resolveTypedUpdates(_, tr, r, g);
12785
12786
  }
12786
12787
  if (m && b && i.lastHeaderCell) {
12787
12788
  let _ = i.lastHeaderCell;
12788
- _.border && (_ = ws(_, h, { rowStart: 0, rowEnd: f - 1, colStart: a - 1, colEnd: a - 1 })), g = zo.resolveTypedUpdates(_, er, r, g);
12789
+ _.border && (_ = ws(_, h, { rowStart: 0, rowEnd: f - 1, colStart: a - 1, colEnd: a - 1 })), g = Po.resolveTypedUpdates(_, tr, r, g);
12789
12790
  }
12790
12791
  if (y && v && i.firstTotalCell) {
12791
12792
  let _ = i.firstTotalCell;
12792
- _.border && (_ = ws(_, h, { rowStart: c - w, rowEnd: c - 1, colStart: 0, colEnd: 0 })), g = zo.resolveTypedUpdates(_, er, r, g);
12793
+ _.border && (_ = ws(_, h, { rowStart: c - w, rowEnd: c - 1, colStart: 0, colEnd: 0 })), g = Po.resolveTypedUpdates(_, tr, r, g);
12793
12794
  }
12794
12795
  if (y && b && i.lastTotalCell) {
12795
12796
  let _ = i.lastTotalCell;
12796
- _.border && (_ = ws(_, h, { rowStart: c - w, rowEnd: c - 1, colStart: a - 1, colEnd: a - 1 })), g = zo.resolveTypedUpdates(_, er, r, g);
12797
+ _.border && (_ = ws(_, h, { rowStart: c - w, rowEnd: c - 1, colStart: a - 1, colEnd: a - 1 })), g = Po.resolveTypedUpdates(_, tr, r, g);
12797
12798
  }
12798
12799
  return m && i.headerRow && o.getColumnFilter(u) && !o.getColumnFilter(u).hasHiddenButton() && (g.insets = { right: 15 }), g;
12799
12800
  }
@@ -12809,7 +12810,7 @@ class Y9 {
12809
12810
  for (let s = 0; s < i; s++) {
12810
12811
  const l = r[s], a = e[l];
12811
12812
  if (!a || !re.isObject(a)) continue;
12812
- const c = zo.resolveTypedUpdates(Object.freeze(a), er, o);
12813
+ const c = Po.resolveTypedUpdates(Object.freeze(a), tr, o);
12813
12814
  t[l] = c;
12814
12815
  }
12815
12816
  return Object.freeze(t);
@@ -12857,7 +12858,7 @@ class nF extends _s {
12857
12858
  }
12858
12859
  cloneWithUpdate(e) {
12859
12860
  if (e === void 0) return this;
12860
- const t = this._c, o = this._r, r = zo.resolveTypedUpdates(e, er, t, this._p);
12861
+ const t = this._c, o = this._r, r = Po.resolveTypedUpdates(e, tr, t, this._p);
12861
12862
  return new _s(t, o, r);
12862
12863
  }
12863
12864
  _createShifted(e) {
@@ -12966,7 +12967,7 @@ let oF = class {
12966
12967
  for (let t = 0; t < n.length; t++) {
12967
12968
  const o = n[t], r = { ...o }, i = o.named;
12968
12969
  delete r.named;
12969
- const s = zo.resolveTypedUpdates(r, er, this), l = new J9(this, { name: i, style: s }, this._hideOrRemoveNamed.bind(this), t);
12970
+ const s = Po.resolveTypedUpdates(r, tr, this), l = new J9(this, { name: i, style: s }, this._hideOrRemoveNamed.bind(this), t);
12970
12971
  i === ut.BuiltInName.Normal && (this._normalRanged = l.getRanged(), this._normalStyle = Oc(this, null)), e.set(i.toLowerCase(), l);
12971
12972
  }
12972
12973
  }
@@ -13086,7 +13087,7 @@ let oF = class {
13086
13087
  e && (s = (this._customCellStyles.get(o) ?? r)?._properties ?? null);
13087
13088
  const l = hg(0, n.style, this.getNormal());
13088
13089
  n = { ...n, style: l };
13089
- const a = zo.resolveTypedUpdates(n, xD, this, s), c = new J9(this, a, this._hideOrRemoveNamed.bind(this), i);
13090
+ const a = Po.resolveTypedUpdates(n, xD, this, s), c = new J9(this, a, this._hideOrRemoveNamed.bind(this), i);
13090
13091
  return a.name === ut.BuiltInName.Normal && (this._normalRanged = c.getRanged(), this._normalStyle = Oc(this, null)), this._customCellStyles.set(o, c), c;
13091
13092
  }
13092
13093
  _setCustomTableStyleInternal(n, e) {
@@ -13137,7 +13138,7 @@ let oF = class {
13137
13138
  }
13138
13139
  normalize(n) {
13139
13140
  if (!n) return null;
13140
- const e = zo.resolveTypedUpdates(n, er, this), t = rE;
13141
+ const e = Po.resolveTypedUpdates(n, tr, this), t = rE;
13141
13142
  let o = null;
13142
13143
  if (o = e.named ? this.getNamed(e.named)?.getRanged().getPropertiesAt(0, 0, null) : this._normalRanged.getPropertiesAt(0, 0, null), o) {
13143
13144
  const i = { ...o };
@@ -13153,7 +13154,7 @@ let oF = class {
13153
13154
  return this._indexedLookup;
13154
13155
  }
13155
13156
  parseColor(n) {
13156
- return Uo.parse(n, this._schemeLookup, this._indexedLookup);
13157
+ return Go.parse(n, this._schemeLookup, this._indexedLookup);
13157
13158
  }
13158
13159
  recentColors() {
13159
13160
  return this._mruColors;
@@ -13175,7 +13176,7 @@ let oF = class {
13175
13176
  }
13176
13177
  getCustomIndexedColors() {
13177
13178
  const n = Math.max(this._indexedColors?.length, 66), e = [];
13178
- for (let t = 0; t < n; t++) this._indexedColors[t] !== null && e.push(this._indexedColors[t] ?? new Uo(l2(t)?.toString()));
13179
+ for (let t = 0; t < n; t++) this._indexedColors[t] !== null && e.push(this._indexedColors[t] ?? new Go(l2(t)?.toString()));
13179
13180
  return e;
13180
13181
  }
13181
13182
  addListeners(n, e) {
@@ -14612,7 +14613,7 @@ class yF {
14612
14613
  async _initialize() {
14613
14614
  const e = await _u._validate(!0), t = SF();
14614
14615
  this._calcScope = t, this._runtime = new wF(this._options, e);
14615
- const { initializeBuiltIns: o } = await import("./B7mPpY5DOxEGMbPk.mjs"), r = this;
14616
+ const { initializeBuiltIns: o } = await import("./D2OQwThnobBdsQ1x.mjs"), r = this;
14616
14617
  return this._builtInFunctions = Object.freeze(o(() => r)), { builtInFunctions: this._builtInFunctions, calcScope: this._calcScope };
14617
14618
  }
14618
14619
  getBuiltInFunctions() {
@@ -14780,7 +14781,7 @@ class wF {
14780
14781
  }
14781
14782
  getVersion() {
14782
14783
  try {
14783
- const e = "0.3.2";
14784
+ const e = "0.3.3";
14784
14785
  if (e.indexOf(".env.") === -1) return `${e}`;
14785
14786
  } catch {
14786
14787
  return "local";
@@ -15323,7 +15324,7 @@ class fE extends S0 {
15323
15324
  this._context = r;
15324
15325
  const i = await r._initialize(), s = i.builtInFunctions;
15325
15326
  this._functions = new mE({ transactions: this._transactions, context: r, readonlyFunctions: s });
15326
- const l = await import("./DWoRF-U96vWLWF5Q.mjs");
15327
+ const l = await import("./BSB3k2C-vxhRI9pk.mjs");
15327
15328
  this._formulaParser = new l.FormulaParser(), this._scope = i.calcScope, this._status = Sr.Status.Ready, this._emitter.notify("onStatusChange"), this._emitter.notify("onReady");
15328
15329
  } catch (e) {
15329
15330
  throw this._status = Sr.Status.Off, this._emitter.notify("onError", e), this._emitter.notify("onStatusChange"), e;
@@ -15614,7 +15615,7 @@ class OF {
15614
15615
  }
15615
15616
  try {
15616
15617
  const r = new RF(this._styles, this._isDate1904, o ? "HTML" : "Text"), i = await Promise.resolve(t ? ((l, a = " ") => new Promise((c, d) => {
15617
- import("./Cz9BPykuRu_5ay57.mjs").then((u) => u.p).then((u) => {
15618
+ import("./QhTxW6tFl-So20AH.mjs").then((u) => u.p).then((u) => {
15618
15619
  try {
15619
15620
  const h = u.parse(l, { delimiter: a }).data;
15620
15621
  h.length > 1 && (h[h.length - 1].length === 0 || h[h.length - 1].length === 1 && h[h.length - 1][0].length === 0) && h.pop(), c(h);
@@ -15921,19 +15922,19 @@ let NF = class J5 extends pg {
15921
15922
  if (!e) return this;
15922
15923
  let o = { ...this.getBounds(), ...e };
15923
15924
  if (this._optionsMovable.getMaxBounds && (o = { x: Math.max(o.x, this._optionsMovable.getMaxBounds().x), y: Math.max(o.y, this._optionsMovable.getMaxBounds().y), width: Math.min(o.width, this._optionsMovable.getMaxBounds().width), height: Math.min(o.height, this._optionsMovable.getMaxBounds().height) }), o.width < 0 || o.height < 0) throw new Mo();
15924
- const r = this._updateMovableLocation({ bounds: o, anchorType: dr.Type.Absolute }), i = this._beginCommit(t?.description ?? "Set Movable Bounds");
15925
+ const r = this._updateMovableLocation({ bounds: o, anchorType: ur.Type.Absolute }), i = this._beginCommit(t?.description ?? "Set Movable Bounds");
15925
15926
  return this._updateState({ offsets: r.offsets, anchor: r.anchor }, { description: "Update Movable Bounds" }), this._options.setContainerCoords(r.anchor), this._invalidateBounds(), i.commit(), this;
15926
15927
  }
15927
15928
  _updateMovableLocation(e) {
15928
15929
  let t = e.offsets ?? { tl: { x: 0, y: 0 }, br: { x: 0, y: 0 } }, o = e.anchor ?? this.getAnchorCoords(), r = e.anchorType ?? this.getAnchorType();
15929
15930
  const i = e.bounds ?? this.getBounds();
15930
15931
  if (i) {
15931
- if (r === dr.Type.Absolute) {
15932
+ if (r === ur.Type.Absolute) {
15932
15933
  o = this._optionsMovable.getCoordsAtBounds(i);
15933
15934
  const s = this._optionsMovable.getBoundsAtCoords(o);
15934
15935
  t = { ...t, tl: { x: i.x - s.x, y: i.y - s.y } };
15935
15936
  }
15936
- if (r === dr.Type.Absolute || r === dr.Type.OneCell) {
15937
+ if (r === ur.Type.Absolute || r === ur.Type.OneCell) {
15937
15938
  const s = this._optionsMovable.getBoundsAtCoords({ rowStart: o.rowStart, colStart: o.colStart, colEnd: o.colStart, rowEnd: o.rowStart }), l = this._optionsMovable.getCoordsAtBounds({ x: s.x, y: s.y, width: i.width + Math.min(s.width, t.tl.x), height: i.height + Math.min(s.height, t.tl.y) });
15938
15939
  o = { ...o, colEnd: l.colEnd, rowEnd: l.rowEnd };
15939
15940
  const a = this._optionsMovable.getBoundsAtCoords({ colStart: o.colEnd, rowStart: o.rowEnd, colEnd: o.colEnd, rowEnd: o.rowEnd }), c = i.width - (a.x - s.x - Math.min(t?.tl.x ?? 0, s.width)), d = i.height - (a.y - s.y - Math.min(t?.tl.y ?? 0, s.height));
@@ -15953,18 +15954,18 @@ let NF = class J5 extends pg {
15953
15954
  return this._getState()?.bounds;
15954
15955
  }
15955
15956
  setAnchorType(e) {
15956
- return re.validEnumValue(dr.Type, e), this._updateState({ anchorType: e }, { description: "Set Movable Resize Behavior" }, ["onAnchorTypeChange"]), this;
15957
+ return re.validEnumValue(ur.Type, e), this._updateState({ anchorType: e }, { description: "Set Movable Resize Behavior" }, ["onAnchorTypeChange"]), this;
15957
15958
  }
15958
15959
  _processContainerShift(e) {
15959
15960
  const t = this.getAnchorType(), o = this._getState()?.offsets;
15960
15961
  let r = o, i = !1;
15961
15962
  const s = e.before, l = e.orientation === q.Orientation.Column, a = e.intersect, c = e.amount;
15962
15963
  let d = e.after;
15963
- if (t !== dr.Type.Absolute) {
15964
+ if (t !== ur.Type.Absolute) {
15964
15965
  let p = l ? a.colStart : a.rowStart, g = l ? s.colStart : s.rowStart;
15965
- t === dr.Type.TwoCell && (g = l ? s.colEnd : s.rowEnd), i = p <= g;
15966
+ t === ur.Type.TwoCell && (g = l ? s.colEnd : s.rowEnd), i = p <= g;
15966
15967
  }
15967
- if (i && (t !== dr.Type.OneCell || d) || (d = s), i && d && c < 0 && (l ? (a.colStart <= s.colStart && a.colEnd >= s.colStart && (r = { ...r, tl: { ...r.tl, x: 0 } }), r.br.x > 0 && a.colStart <= s.colEnd && a.colEnd >= s.colEnd && (r = { ...r, br: { ...r.br, x: 0 } }, d = { ...d, colEnd: d.colEnd + 1 })) : (a.rowStart <= s.rowStart && a.rowEnd >= s.rowStart && (r = { ...r, tl: { ...r.tl, y: 0 } }), r.br.y > 0 && a.rowStart <= s.rowEnd && a.rowEnd >= s.rowEnd && (r = { ...r, br: { ...r.br, y: 0 } }, d = { ...d, rowEnd: d.rowEnd + 1 }))), d !== null) {
15968
+ if (i && (t !== ur.Type.OneCell || d) || (d = s), i && d && c < 0 && (l ? (a.colStart <= s.colStart && a.colEnd >= s.colStart && (r = { ...r, tl: { ...r.tl, x: 0 } }), r.br.x > 0 && a.colStart <= s.colEnd && a.colEnd >= s.colEnd && (r = { ...r, br: { ...r.br, x: 0 } }, d = { ...d, colEnd: d.colEnd + 1 })) : (a.rowStart <= s.rowStart && a.rowEnd >= s.rowStart && (r = { ...r, tl: { ...r.tl, y: 0 } }), r.br.y > 0 && a.rowStart <= s.rowEnd && a.rowEnd >= s.rowEnd && (r = { ...r, br: { ...r.br, y: 0 } }, d = { ...d, rowEnd: d.rowEnd + 1 }))), d !== null) {
15968
15969
  const { offsets: p, anchor: g } = this._updateMovableLocation({ anchor: d, offsets: r });
15969
15970
  r = p, d = g;
15970
15971
  }
@@ -16015,7 +16016,7 @@ let NF = class J5 extends pg {
16015
16016
  const t = this._getState(), o = t.anchor, r = t.offsets, i = { tl: { c: o.colStart, r: o.rowStart }, br: { c: o.colEnd + (r.br.x ? 0 : 1), r: o.rowEnd + (r.br.y ? 0 : 1) } };
16016
16017
  r && (r.tl?.x && (i.tl.x = re.roundAccurately(r.tl.x, 1)), r.tl?.y && (i.tl.y = re.roundAccurately(r.tl.y, 1)), r.br?.x && (i.br.x = re.roundAccurately(r.br.x, 1)), r.br?.y && (i.br.y = re.roundAccurately(r.br.y, 1)));
16017
16018
  const s = this._content.toJSON(e) ?? {}, l = { anchor: i, content: { type: this._content.getType(), json: s } }, a = t.anchorType;
16018
- return a && a !== dr.Type.TwoCell && (l.anchorType = this.getAnchorType()), t.hidden && (l.hidden = t.hidden), t.name && (l.name = t.name), t.description && (l.name = t.description), t.rotation !== void 0 && t.rotation !== 0 && (l.rotation = t.rotation), re.isDefined(t.lockAspectRatio) && t.lockAspectRatio !== this._optionsMovable.defaultLockAspectRatio && (l.lockAspect = t.lockAspectRatio), l;
16019
+ return a && a !== ur.Type.TwoCell && (l.anchorType = this.getAnchorType()), t.hidden && (l.hidden = t.hidden), t.name && (l.name = t.name), t.description && (l.name = t.description), t.rotation !== void 0 && t.rotation !== 0 && (l.rotation = t.rotation), re.isDefined(t.lockAspectRatio) && t.lockAspectRatio !== this._optionsMovable.defaultLockAspectRatio && (l.lockAspect = t.lockAspectRatio), l;
16019
16020
  }
16020
16021
  get isIMovable() {
16021
16022
  return !0;
@@ -17071,7 +17072,7 @@ const fy = (n, e) => {
17071
17072
  const r = qs(o.getForeground()) || "";
17072
17073
  if (o.getPatternType() === Tt.BuiltInSheetPattern.Solid) n["mso-pattern"] = `${n.background} none`, n.background = r;
17073
17074
  else {
17074
- const i = (t = o.getPatternType(), ar.get(t)?.cssKey ?? "solid");
17075
+ const i = (t = o.getPatternType(), cr.get(t)?.cssKey ?? "solid");
17075
17076
  n["mso-pattern"] = r + (i ? " " : "") + i;
17076
17077
  }
17077
17078
  } else if (e.getType() === Tt.Type.Gradient) {
@@ -18040,7 +18041,7 @@ let tf = class {
18040
18041
  const r = this._state[e[o]];
18041
18042
  r != null && r !== ef[e[o]] && (n[e[o]] = r);
18042
18043
  }
18043
- delete n.movableSelection, delete n.gridLineColor, this._state.gridLineColor instanceof Uo && (n.gridLineColor = this._state.gridLineColor.toString()), delete n.topLeft, !this._state.topLeft || this._state.topLeft.left === 0 && this._state.topLeft.top === 0 || (n.topLeft = { left: this._state.topLeft.left ?? 0, top: this._state.topLeft.top ?? 0 }), delete n.selection;
18044
+ delete n.movableSelection, delete n.gridLineColor, this._state.gridLineColor instanceof Go && (n.gridLineColor = this._state.gridLineColor.toString()), delete n.topLeft, !this._state.topLeft || this._state.topLeft.left === 0 && this._state.topLeft.top === 0 || (n.topLeft = { left: this._state.topLeft.left ?? 0, top: this._state.topLeft.top ?? 0 }), delete n.selection;
18044
18045
  const t = this._state.selection;
18045
18046
  if (t) {
18046
18047
  let o = {};
@@ -18098,7 +18099,7 @@ let tf = class {
18098
18099
  }
18099
18100
  };
18100
18101
  async function xy() {
18101
- const { getCrypto: n } = await import("./kjRF87FSQwIzB1KD.mjs");
18102
+ const { getCrypto: n } = await import("./BtP3Wpc2YRk8W2KZ.mjs");
18102
18103
  return n();
18103
18104
  }
18104
18105
  const _y = async (n, e, ...t) => {
@@ -21492,7 +21493,7 @@ br
21492
21493
  }
21493
21494
  t?.bounds && t?.json?.lockAspect !== !1 && (re.isNullOrUndefined(t?.bounds.width) && re.isDefined(t?.bounds.height) && (c.width = c.height * l.width / l.height), re.isNullOrUndefined(t?.bounds.height) && re.isDefined(t?.bounds.width) && (c.height = c.width * l.height / l.width));
21494
21495
  const d = { ...t?.json, resId: 0 };
21495
- return await this._addMovable({ anchorType: dr.Type.OneCell, description: "Insert Image", ...t, bounds: c, type: "picture", json: d, fromResourceId: (u) => u !== 0 ? (console.warn("received an unexpected resourceId", u), null) : o });
21496
+ return await this._addMovable({ anchorType: ur.Type.OneCell, description: "Insert Image", ...t, bounds: c, type: "picture", json: d, fromResourceId: (u) => u !== 0 ? (console.warn("received an unexpected resourceId", u), null) : o });
21496
21497
  }
21497
21498
  getTables() {
21498
21499
  return this._tables;
@@ -22744,7 +22745,7 @@ class gL {
22744
22745
  return this._modules;
22745
22746
  }
22746
22747
  async createModule(e) {
22747
- const t = await import("./VchKQpT2_B7Ca113.mjs").then((r) => r.i), o = await t.ScriptingUtils.compileTypescript(e);
22748
+ const t = await import("./DxEtUnQEyEYWuqL7.mjs").then((r) => r.i), o = await t.ScriptingUtils.compileTypescript(e);
22748
22749
  return o ? await Dy(o, e?.declarationsOnly ?? !1) : null;
22749
22750
  }
22750
22751
  addModule(e, t, o) {
@@ -23704,11 +23705,11 @@ function RE(n) {
23704
23705
  } else for (t in n) n[t] && (o && (o += " "), o += t);
23705
23706
  return o;
23706
23707
  }
23707
- function Go() {
23708
+ function qo() {
23708
23709
  for (var n, e, t = 0, o = "", r = arguments.length; t < r; t++) (n = arguments[t]) && (e = RE(n)) && (o && (o += " "), o += e);
23709
23710
  return o;
23710
23711
  }
23711
- const Qo = { TopLeft: "tl", Top: "t", TopRight: "tr", Left: "l", Center: "c", Right: "r", BottomLeft: "bl", Bottom: "b", BottomRight: "br" }, ei = "text/html", cl = "text/plain", Pp = "image/png", xL = Object.freeze({ left: 0, top: 0 }), _L = Object.freeze({ left: 0, top: 0, bottom: 0, right: 0 }), CL = Object.freeze({ x: 0, y: 0, width: 0, height: 0 }), Y1 = Object.freeze(Object.defineProperty({ __proto__: null, EmptyBounds: CL, EmptyRect: _L, EmptyTopLeft: xL }, Symbol.toStringTag, { value: "Module" })), Za = "column", J1 = "row", EL = Object.freeze({ colIndex: 0, rowIndex: 0 }), TL = Object.freeze({ colStart: 0, rowStart: 0, colEnd: 0, rowEnd: 0 }), IE = (n, e) => n.colStart === e.colStart ? n.rowStart - e.rowStart : n.colStart - e.colStart, AE = (n, e) => n.rowStart === e.rowStart ? n.colStart - e.colStart : n.rowStart - e.rowStart, kL = (n, e) => n.rowEnd === e.rowEnd ? e.colEnd - n.colEnd : e.rowEnd - n.rowEnd, ML = (n, e) => n.colEnd === e.colEnd ? e.rowEnd - n.rowEnd : e.colEnd - n.colEnd, Py = (n, e) => n.colIndex === e.colIndex ? n.rowIndex - e.rowIndex : n.colIndex - e.colIndex, By = (n, e) => n.rowIndex === e.rowIndex ? n.colIndex - e.colIndex : n.rowIndex - e.rowIndex, OE = (n = J1, e = !1) => e ? n !== Za ? kL : ML : n !== Za ? AE : IE, Vy = (n, e) => n === e || !(!n || !e) && n.rowIndex === e.rowIndex && n.colIndex === e.colIndex, i3 = (n, e) => n === e || !(!n || !e) && n.rowStart === e.rowStart && n.rowEnd === e.rowEnd && n.colStart === e.colStart && n.colEnd === e.colEnd, s3 = (n, e) => !(!n || !e || n.colStart > e.colEnd || e.colStart > n.colEnd || n.rowStart > e.rowEnd || e.rowStart > n.rowEnd), Hy = (n, e) => {
23712
+ const er = { TopLeft: "tl", Top: "t", TopRight: "tr", Left: "l", Center: "c", Right: "r", BottomLeft: "bl", Bottom: "b", BottomRight: "br" }, ei = "text/html", cl = "text/plain", Pp = "image/png", xL = Object.freeze({ left: 0, top: 0 }), _L = Object.freeze({ left: 0, top: 0, bottom: 0, right: 0 }), CL = Object.freeze({ x: 0, y: 0, width: 0, height: 0 }), Y1 = Object.freeze(Object.defineProperty({ __proto__: null, EmptyBounds: CL, EmptyRect: _L, EmptyTopLeft: xL }, Symbol.toStringTag, { value: "Module" })), Za = "column", J1 = "row", EL = Object.freeze({ colIndex: 0, rowIndex: 0 }), TL = Object.freeze({ colStart: 0, rowStart: 0, colEnd: 0, rowEnd: 0 }), IE = (n, e) => n.colStart === e.colStart ? n.rowStart - e.rowStart : n.colStart - e.colStart, AE = (n, e) => n.rowStart === e.rowStart ? n.colStart - e.colStart : n.rowStart - e.rowStart, kL = (n, e) => n.rowEnd === e.rowEnd ? e.colEnd - n.colEnd : e.rowEnd - n.rowEnd, ML = (n, e) => n.colEnd === e.colEnd ? e.rowEnd - n.rowEnd : e.colEnd - n.colEnd, Py = (n, e) => n.colIndex === e.colIndex ? n.rowIndex - e.rowIndex : n.colIndex - e.colIndex, By = (n, e) => n.rowIndex === e.rowIndex ? n.colIndex - e.colIndex : n.rowIndex - e.rowIndex, OE = (n = J1, e = !1) => e ? n !== Za ? kL : ML : n !== Za ? AE : IE, Vy = (n, e) => n === e || !(!n || !e) && n.rowIndex === e.rowIndex && n.colIndex === e.colIndex, i3 = (n, e) => n === e || !(!n || !e) && n.rowStart === e.rowStart && n.rowEnd === e.rowEnd && n.colStart === e.colStart && n.colEnd === e.colEnd, s3 = (n, e) => !(!n || !e || n.colStart > e.colEnd || e.colStart > n.colEnd || n.rowStart > e.rowEnd || e.rowStart > n.rowEnd), Hy = (n, e) => {
23712
23713
  if (n === e) return !0;
23713
23714
  if (!n || !e || n.length !== e.length) return !1;
23714
23715
  for (let t = 0; t < n.length; t++) if (!i3(n[t], e[t])) return !1;
@@ -23760,7 +23761,7 @@ function jy(n, e = 2, t, o = J1, r) {
23760
23761
  } while (l < e && a && i.length > 1);
23761
23762
  return i;
23762
23763
  }
23763
- const hr = Object.freeze(Object.defineProperty({ __proto__: null, EmptyCell: EL, EmptyRange: TL, cellToRange: (n, e) => {
23764
+ const pr = Object.freeze(Object.defineProperty({ __proto__: null, EmptyCell: EL, EmptyRange: TL, cellToRange: (n, e) => {
23764
23765
  if (!n) return null;
23765
23766
  let t = e;
23766
23767
  return t || (t = { ...n }, delete t.colIndex, delete t.rowIndex), t.colStart = n.colIndex ?? 0, t.rowStart = n.rowIndex ?? 0, t.colEnd = n.colIndex ?? 0, t.rowEnd = n.rowIndex ?? 0, t;
@@ -24513,7 +24514,7 @@ var pf;
24513
24514
  try {
24514
24515
  if (typeof document < "u") {
24515
24516
  var n = document.createElement("style");
24516
- n.appendChild(document.createTextNode("._sheetxl-scrollbar_18qzf_11 ::-webkit-scrollbar-button{background:transparent}._fullscreen-portal-root_5qk7s_7{pointer-events:none;position:absolute;inset:0;width:100%;height:100%;z-index:1200}._fullscreen-portal-root_5qk7s_7>*{pointer-events:auto}")), document.head.appendChild(n);
24517
+ n.appendChild(document.createTextNode("._sheetxl-scrollbar_eblx4_6 ::-webkit-scrollbar-button{background:transparent}._fullscreen-portal-root_1mjsr_4{pointer-events:none;position:absolute;inset:0;width:100%;height:100%;z-index:1200}._fullscreen-portal-root_1mjsr_4>*{pointer-events:auto}")), document.head.appendChild(n);
24517
24518
  }
24518
24519
  } catch (e) {
24519
24520
  console.error("vite-plugin-css-injected-by-js", e);
@@ -24614,7 +24615,7 @@ const i0 = UE && window.ResizeObserver !== void 0 ? function() {
24614
24615
  const V = { orientation: l, disabled: Math.floor(I - T) <= Math.ceil(W), onMouseUp: $, onMouseLeave: $, onMouseDown: () => j(W, !0, !1) };
24615
24616
  return m?.(V);
24616
24617
  }, [d, l, W, A, I, T]);
24617
- return Q("div", { ref: e, style: { display: "flex", flex: "1", flexDirection: M ? "column" : "row", padding: "0", ...i }, className: tc("_sheetxl-scrollbar_18qzf_11", s), ...f, children: [P, S("div", { className: "pseudo-scrollbar", style: { flex: "1 1 100%", display: "flex", boxSizing: "content-box", flexDirection: M ? "column" : "row", justifyContent: "center", alignItems: "center" }, ref: b, children: S("div", { tabIndex: -1, style: { flex: "1 1 100%", overflowY: M ? "scroll" : "hidden", overflowX: M ? "hidden" : "scroll", position: "relative", willChange: "transform" }, onScroll: z, ref: w, children: S("div", { ref: _, style: { position: "absolute", height: M ? o - r + (x ?? 0) : 1, width: M ? 1 : o - r + (v ?? 0) }, className: "scrollbar-viewport" }) }) }), H] });
24618
+ return Q("div", { ref: e, style: { display: "flex", flex: "1", flexDirection: M ? "column" : "row", padding: "0", ...i }, className: tc("_sheetxl-scrollbar_eblx4_6", s), ...f, children: [P, S("div", { className: "pseudo-scrollbar", style: { flex: "1 1 100%", display: "flex", boxSizing: "content-box", flexDirection: M ? "column" : "row", justifyContent: "center", alignItems: "center" }, ref: b, children: S("div", { tabIndex: -1, style: { flex: "1 1 100%", overflowY: M ? "scroll" : "hidden", overflowX: M ? "hidden" : "scroll", position: "relative", willChange: "transform" }, onScroll: z, ref: w, children: S("div", { ref: _, style: { position: "absolute", height: M ? o - r + (x ?? 0) : 1, width: M ? 1 : o - r + (v ?? 0) }, className: "scrollbar-viewport" }) }) }), H] });
24618
24619
  }));
24619
24620
  B4.displayName = "Scrollbar";
24620
24621
  let sw = Date.now, Ql = {}, qL = 1;
@@ -25433,7 +25434,7 @@ const Nh = (n, e) => {
25433
25434
  }
25434
25435
  return t;
25435
25436
  };
25436
- function qo(n, e = null, t = null, o) {
25437
+ function Ko(n, e = null, t = null, o) {
25437
25438
  const r = Se(t);
25438
25439
  r.current = t, e && !Array.isArray(e) && (e = [e]);
25439
25440
  const [i, s] = de(Nh(n, e)), l = o ? [...o, n] : [n];
@@ -25771,7 +25772,7 @@ const Lz = Object.freeze([]), zz = Object.freeze({}), _w = (n) => n, Hp = () =>
25771
25772
  function mT() {
25772
25773
  return typeof process < "u" && process.release?.name === "node" || (typeof process < "u" && process.browser, !1);
25773
25774
  }
25774
- const Mw = (n, e = !1) => (document.hasFocus() || e) && (n === document.activeElement || n?.contains(document.activeElement)), Wo = Object.freeze(Object.defineProperty({ __proto__: null, EmptyArray: Lz, EmptyObject: zz, OSType: hi, arrayMove: function(n, e, t) {
25775
+ const Mw = (n, e = !1) => (document.hasFocus() || e) && (n === document.activeElement || n?.contains(document.activeElement)), Uo = Object.freeze(Object.defineProperty({ __proto__: null, EmptyArray: Lz, EmptyObject: zz, OSType: hi, arrayMove: function(n, e, t) {
25775
25776
  const o = n.slice();
25776
25777
  return o.splice(t < 0 ? o.length + t : t, 0, o.splice(e, 1)[0]), o;
25777
25778
  }, asNumber: (n) => {
@@ -26715,7 +26716,7 @@ function T2(n, e, t, o = t) {
26715
26716
  let r;
26716
26717
  return r = typeof n == "function" ? n(t) : Array.isArray(n) ? n[t] || o : wg(n, t) || o, e && (r = e(r, o, n)), r;
26717
26718
  }
26718
- function cr(n) {
26719
+ function dr(n) {
26719
26720
  const { prop: e, cssProperty: t = n.prop, themeKey: o, transform: r } = n, i = (s) => {
26720
26721
  if (s[e] == null) return null;
26721
26722
  const l = s[e], a = wg(s.theme, o) || {};
@@ -26762,10 +26763,10 @@ function OT(n, e) {
26762
26763
  return Cl(r, r[s], a);
26763
26764
  }(n, e, o, t)).reduce(R1, {});
26764
26765
  }
26765
- function Xo(n) {
26766
+ function Zo(n) {
26766
26767
  return OT(n, IT);
26767
26768
  }
26768
- function Zo(n) {
26769
+ function Yo(n) {
26769
26770
  return OT(n, AT);
26770
26771
  }
26771
26772
  function NT(n, e) {
@@ -26787,7 +26788,7 @@ function NT(n, e) {
26787
26788
  }
26788
26789
  return t;
26789
26790
  }
26790
- Xo.propTypes = {}, Xo.filterProps = IT, Zo.propTypes = {}, Zo.filterProps = AT;
26791
+ Zo.propTypes = {}, Zo.filterProps = IT, Yo.propTypes = {}, Yo.filterProps = AT;
26791
26792
  const eS = (n, e, t, o = []) => {
26792
26793
  let r = n;
26793
26794
  e.forEach((i, s) => {
@@ -26826,7 +26827,7 @@ function rs(n) {
26826
26827
  return typeof n != "number" ? n : `${n}px solid`;
26827
26828
  }
26828
26829
  function us(n, e) {
26829
- return cr({ prop: n, themeKey: "borders", transform: e });
26830
+ return dr({ prop: n, themeKey: "borders", transform: e });
26830
26831
  }
26831
26832
  const eP = us("border", rs), tP = us("borderTop", rs), nP = us("borderRight", rs), oP = us("borderBottom", rs), rP = us("borderLeft", rs), iP = us("borderColor"), sP = us("borderTopColor"), lP = us("borderRightColor"), aP = us("borderBottomColor"), cP = us("borderLeftColor"), dP = us("outline", rs), uP = us("outlineColor"), $p = (n) => {
26832
26833
  if (n.borderRadius !== void 0 && n.borderRadius !== null) {
@@ -26865,8 +26866,8 @@ function bc(n, e) {
26865
26866
  function Li(n) {
26866
26867
  return n <= 1 && n !== 0 ? 100 * n + "%" : n;
26867
26868
  }
26868
- jp.propTypes = {}, jp.filterProps = ["rowGap"], k2(M2, R2, jp, cr({ prop: "gridColumn" }), cr({ prop: "gridRow" }), cr({ prop: "gridAutoFlow" }), cr({ prop: "gridAutoColumns" }), cr({ prop: "gridAutoRows" }), cr({ prop: "gridTemplateColumns" }), cr({ prop: "gridTemplateRows" }), cr({ prop: "gridTemplateAreas" }), cr({ prop: "gridArea" })), k2(cr({ prop: "color", themeKey: "palette", transform: bc }), cr({ prop: "bgcolor", cssProperty: "backgroundColor", themeKey: "palette", transform: bc }), cr({ prop: "backgroundColor", themeKey: "palette", transform: bc }));
26869
- const hP = cr({ prop: "width", transform: Li }), Z4 = (n) => {
26869
+ jp.propTypes = {}, jp.filterProps = ["rowGap"], k2(M2, R2, jp, dr({ prop: "gridColumn" }), dr({ prop: "gridRow" }), dr({ prop: "gridAutoFlow" }), dr({ prop: "gridAutoColumns" }), dr({ prop: "gridAutoRows" }), dr({ prop: "gridTemplateColumns" }), dr({ prop: "gridTemplateRows" }), dr({ prop: "gridTemplateAreas" }), dr({ prop: "gridArea" })), k2(dr({ prop: "color", themeKey: "palette", transform: bc }), dr({ prop: "bgcolor", cssProperty: "backgroundColor", themeKey: "palette", transform: bc }), dr({ prop: "backgroundColor", themeKey: "palette", transform: bc }));
26870
+ const hP = dr({ prop: "width", transform: Li }), Z4 = (n) => {
26870
26871
  if (n.maxWidth !== void 0 && n.maxWidth !== null) {
26871
26872
  const e = (t) => {
26872
26873
  const o = n.theme?.breakpoints?.values?.[t] || yg[t];
@@ -26877,9 +26878,9 @@ const hP = cr({ prop: "width", transform: Li }), Z4 = (n) => {
26877
26878
  return null;
26878
26879
  };
26879
26880
  Z4.filterProps = ["maxWidth"];
26880
- const pP = cr({ prop: "minWidth", transform: Li }), gP = cr({ prop: "height", transform: Li }), mP = cr({ prop: "maxHeight", transform: Li }), fP = cr({ prop: "minHeight", transform: Li });
26881
- cr({ prop: "size", cssProperty: "width", transform: Li }), cr({ prop: "size", cssProperty: "height", transform: Li }), k2(hP, Z4, pP, gP, mP, fP, cr({ prop: "boxSizing" }));
26882
- const Sg = { border: { themeKey: "borders", transform: rs }, borderTop: { themeKey: "borders", transform: rs }, borderRight: { themeKey: "borders", transform: rs }, borderBottom: { themeKey: "borders", transform: rs }, borderLeft: { themeKey: "borders", transform: rs }, borderColor: { themeKey: "palette" }, borderTopColor: { themeKey: "palette" }, borderRightColor: { themeKey: "palette" }, borderBottomColor: { themeKey: "palette" }, borderLeftColor: { themeKey: "palette" }, outline: { themeKey: "borders", transform: rs }, outlineColor: { themeKey: "palette" }, borderRadius: { themeKey: "shape.borderRadius", style: $p }, color: { themeKey: "palette", transform: bc }, bgcolor: { themeKey: "palette", cssProperty: "backgroundColor", transform: bc }, backgroundColor: { themeKey: "palette", transform: bc }, p: { style: Zo }, pt: { style: Zo }, pr: { style: Zo }, pb: { style: Zo }, pl: { style: Zo }, px: { style: Zo }, py: { style: Zo }, padding: { style: Zo }, paddingTop: { style: Zo }, paddingRight: { style: Zo }, paddingBottom: { style: Zo }, paddingLeft: { style: Zo }, paddingX: { style: Zo }, paddingY: { style: Zo }, paddingInline: { style: Zo }, paddingInlineStart: { style: Zo }, paddingInlineEnd: { style: Zo }, paddingBlock: { style: Zo }, paddingBlockStart: { style: Zo }, paddingBlockEnd: { style: Zo }, m: { style: Xo }, mt: { style: Xo }, mr: { style: Xo }, mb: { style: Xo }, ml: { style: Xo }, mx: { style: Xo }, my: { style: Xo }, margin: { style: Xo }, marginTop: { style: Xo }, marginRight: { style: Xo }, marginBottom: { style: Xo }, marginLeft: { style: Xo }, marginX: { style: Xo }, marginY: { style: Xo }, marginInline: { style: Xo }, marginInlineStart: { style: Xo }, marginInlineEnd: { style: Xo }, marginBlock: { style: Xo }, marginBlockStart: { style: Xo }, marginBlockEnd: { style: Xo }, displayPrint: { cssProperty: !1, transform: (n) => ({ "@media print": { display: n } }) }, display: {}, overflow: {}, textOverflow: {}, visibility: {}, whiteSpace: {}, flexBasis: {}, flexDirection: {}, flexWrap: {}, justifyContent: {}, alignItems: {}, alignContent: {}, order: {}, flex: {}, flexGrow: {}, flexShrink: {}, alignSelf: {}, justifyItems: {}, justifySelf: {}, gap: { style: M2 }, rowGap: { style: jp }, columnGap: { style: R2 }, gridColumn: {}, gridRow: {}, gridAutoFlow: {}, gridAutoColumns: {}, gridAutoRows: {}, gridTemplateColumns: {}, gridTemplateRows: {}, gridTemplateAreas: {}, gridArea: {}, position: {}, zIndex: { themeKey: "zIndex" }, top: {}, right: {}, bottom: {}, left: {}, boxShadow: { themeKey: "shadows" }, width: { transform: Li }, maxWidth: { style: Z4 }, minWidth: { transform: Li }, height: { transform: Li }, maxHeight: { transform: Li }, minHeight: { transform: Li }, boxSizing: {}, font: { themeKey: "font" }, fontFamily: { themeKey: "typography" }, fontSize: { themeKey: "typography" }, fontStyle: { themeKey: "typography" }, fontWeight: { themeKey: "typography" }, letterSpacing: {}, textTransform: {}, lineHeight: {}, textAlign: {}, typography: { cssProperty: !1, themeKey: "typography" } }, Lc = /* @__PURE__ */ function() {
26881
+ const pP = dr({ prop: "minWidth", transform: Li }), gP = dr({ prop: "height", transform: Li }), mP = dr({ prop: "maxHeight", transform: Li }), fP = dr({ prop: "minHeight", transform: Li });
26882
+ dr({ prop: "size", cssProperty: "width", transform: Li }), dr({ prop: "size", cssProperty: "height", transform: Li }), k2(hP, Z4, pP, gP, mP, fP, dr({ prop: "boxSizing" }));
26883
+ const Sg = { border: { themeKey: "borders", transform: rs }, borderTop: { themeKey: "borders", transform: rs }, borderRight: { themeKey: "borders", transform: rs }, borderBottom: { themeKey: "borders", transform: rs }, borderLeft: { themeKey: "borders", transform: rs }, borderColor: { themeKey: "palette" }, borderTopColor: { themeKey: "palette" }, borderRightColor: { themeKey: "palette" }, borderBottomColor: { themeKey: "palette" }, borderLeftColor: { themeKey: "palette" }, outline: { themeKey: "borders", transform: rs }, outlineColor: { themeKey: "palette" }, borderRadius: { themeKey: "shape.borderRadius", style: $p }, color: { themeKey: "palette", transform: bc }, bgcolor: { themeKey: "palette", cssProperty: "backgroundColor", transform: bc }, backgroundColor: { themeKey: "palette", transform: bc }, p: { style: Yo }, pt: { style: Yo }, pr: { style: Yo }, pb: { style: Yo }, pl: { style: Yo }, px: { style: Yo }, py: { style: Yo }, padding: { style: Yo }, paddingTop: { style: Yo }, paddingRight: { style: Yo }, paddingBottom: { style: Yo }, paddingLeft: { style: Yo }, paddingX: { style: Yo }, paddingY: { style: Yo }, paddingInline: { style: Yo }, paddingInlineStart: { style: Yo }, paddingInlineEnd: { style: Yo }, paddingBlock: { style: Yo }, paddingBlockStart: { style: Yo }, paddingBlockEnd: { style: Yo }, m: { style: Zo }, mt: { style: Zo }, mr: { style: Zo }, mb: { style: Zo }, ml: { style: Zo }, mx: { style: Zo }, my: { style: Zo }, margin: { style: Zo }, marginTop: { style: Zo }, marginRight: { style: Zo }, marginBottom: { style: Zo }, marginLeft: { style: Zo }, marginX: { style: Zo }, marginY: { style: Zo }, marginInline: { style: Zo }, marginInlineStart: { style: Zo }, marginInlineEnd: { style: Zo }, marginBlock: { style: Zo }, marginBlockStart: { style: Zo }, marginBlockEnd: { style: Zo }, displayPrint: { cssProperty: !1, transform: (n) => ({ "@media print": { display: n } }) }, display: {}, overflow: {}, textOverflow: {}, visibility: {}, whiteSpace: {}, flexBasis: {}, flexDirection: {}, flexWrap: {}, justifyContent: {}, alignItems: {}, alignContent: {}, order: {}, flex: {}, flexGrow: {}, flexShrink: {}, alignSelf: {}, justifyItems: {}, justifySelf: {}, gap: { style: M2 }, rowGap: { style: jp }, columnGap: { style: R2 }, gridColumn: {}, gridRow: {}, gridAutoFlow: {}, gridAutoColumns: {}, gridAutoRows: {}, gridTemplateColumns: {}, gridTemplateRows: {}, gridTemplateAreas: {}, gridArea: {}, position: {}, zIndex: { themeKey: "zIndex" }, top: {}, right: {}, bottom: {}, left: {}, boxShadow: { themeKey: "shadows" }, width: { transform: Li }, maxWidth: { style: Z4 }, minWidth: { transform: Li }, height: { transform: Li }, maxHeight: { transform: Li }, minHeight: { transform: Li }, boxSizing: {}, font: { themeKey: "font" }, fontFamily: { themeKey: "typography" }, fontSize: { themeKey: "typography" }, fontStyle: { themeKey: "typography" }, fontWeight: { themeKey: "typography" }, letterSpacing: {}, textTransform: {}, lineHeight: {}, textAlign: {}, typography: { cssProperty: !1, themeKey: "typography" } }, Lc = /* @__PURE__ */ function() {
26883
26884
  function n(e, t, o, r) {
26884
26885
  const i = { [e]: t, theme: o }, s = r[e];
26885
26886
  if (!s) return { [e]: t };
@@ -27001,10 +27002,10 @@ function SP(n, e) {
27001
27002
  }, m = { h1: g(r, 96, 1.167, -1.5), h2: g(r, 60, 1.2, -0.5), h3: g(i, 48, 1.167, 0), h4: g(i, 34, 1.235, 0.25), h5: g(i, 24, 1.334, 0), h6: g(s, 20, 1.6, 0.15), subtitle1: g(i, 16, 1.75, 0.15), subtitle2: g(s, 14, 1.57, 0.1), body1: g(i, 16, 1.5, 0.15), body2: g(i, 14, 1.43, 0.15), button: g(s, 14, 1.75, 0.4, tS), caption: g(i, 12, 1.66, 0.4), overline: g(i, 12, 2.66, 1, tS), inherit: { fontFamily: "inherit", fontWeight: "inherit", fontSize: "inherit", lineHeight: "inherit", letterSpacing: "inherit" } };
27002
27003
  return Bi({ htmlFontSize: a, pxToRem: p, fontFamily: t, fontSize: o, fontWeightLight: r, fontWeightRegular: i, fontWeightMedium: s, fontWeightBold: l, ...m }, u, { clone: !1 });
27003
27004
  }
27004
- function Fo(...n) {
27005
+ function Lo(...n) {
27005
27006
  return [`${n[0]}px ${n[1]}px ${n[2]}px ${n[3]}px rgba(0,0,0,0.2)`, `${n[4]}px ${n[5]}px ${n[6]}px ${n[7]}px rgba(0,0,0,0.14)`, `${n[8]}px ${n[9]}px ${n[10]}px ${n[11]}px rgba(0,0,0,0.12)`].join(",");
27006
27007
  }
27007
- const bP = ["none", Fo(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), Fo(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), Fo(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), Fo(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), Fo(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), Fo(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), Fo(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), Fo(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), Fo(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), Fo(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), Fo(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), Fo(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), Fo(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), Fo(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), Fo(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), Fo(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), Fo(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), Fo(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), Fo(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), Fo(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), Fo(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), Fo(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), Fo(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), Fo(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], vP = { easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)", easeOut: "cubic-bezier(0.0, 0, 0.2, 1)", easeIn: "cubic-bezier(0.4, 0, 1, 1)", sharp: "cubic-bezier(0.4, 0, 0.6, 1)" }, xP = { shortest: 150, shorter: 200, short: 250, standard: 300, complex: 375, enteringScreen: 225, leavingScreen: 195 };
27008
+ const bP = ["none", Lo(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), Lo(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), Lo(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), Lo(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), Lo(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), Lo(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), Lo(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), Lo(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), Lo(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), Lo(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), Lo(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), Lo(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), Lo(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), Lo(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), Lo(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), Lo(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), Lo(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), Lo(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), Lo(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), Lo(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), Lo(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), Lo(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), Lo(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), Lo(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], vP = { easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)", easeOut: "cubic-bezier(0.0, 0, 0.2, 1)", easeIn: "cubic-bezier(0.4, 0, 1, 1)", sharp: "cubic-bezier(0.4, 0, 0.6, 1)" }, xP = { shortest: 150, shorter: 200, short: 250, standard: 300, complex: 375, enteringScreen: 225, leavingScreen: 195 };
27008
27009
  function oS(n) {
27009
27010
  return `${Math.round(n)}ms`;
27010
27011
  }
@@ -27348,7 +27349,7 @@ const zP = function(n = {}) {
27348
27349
  try {
27349
27350
  if (typeof document < "u") {
27350
27351
  var n = document.createElement("style");
27351
- n.appendChild(document.createTextNode("._sheetxl-scrollbar_18qzf_11 ::-webkit-scrollbar-button{background:transparent}._fullscreen-portal-root_5qk7s_7{pointer-events:none;position:absolute;inset:0;width:100%;height:100%;z-index:1200}._fullscreen-portal-root_5qk7s_7>*{pointer-events:auto}")), document.head.appendChild(n);
27352
+ n.appendChild(document.createTextNode("._sheetxl-scrollbar_eblx4_6 ::-webkit-scrollbar-button{background:transparent}._fullscreen-portal-root_1mjsr_4{pointer-events:none;position:absolute;inset:0;width:100%;height:100%;z-index:1200}._fullscreen-portal-root_1mjsr_4>*{pointer-events:auto}")), document.head.appendChild(n);
27352
27353
  }
27353
27354
  } catch (e) {
27354
27355
  console.error("vite-plugin-css-injected-by-js", e);
@@ -27448,7 +27449,7 @@ const n6 = Be(Ye((n, e) => {
27448
27449
  const V = { orientation: l, disabled: Math.floor(I - T) <= Math.ceil(W), onMouseUp: $, onMouseLeave: $, onMouseDown: () => j(W, !0, !1) };
27449
27450
  return m?.(V);
27450
27451
  }, [d, l, W, A, I, T]);
27451
- return Q("div", { ref: e, style: { display: "flex", flex: "1", flexDirection: M ? "column" : "row", padding: "0", ...i }, className: oc("_sheetxl-scrollbar_18qzf_11", s), ...f, children: [P, S("div", { className: "pseudo-scrollbar", style: { flex: "1 1 100%", display: "flex", boxSizing: "content-box", flexDirection: M ? "column" : "row", justifyContent: "center", alignItems: "center" }, ref: b, children: S("div", { tabIndex: -1, style: { flex: "1 1 100%", overflowY: M ? "scroll" : "hidden", overflowX: M ? "hidden" : "scroll", position: "relative", willChange: "transform" }, onScroll: z, ref: w, children: S("div", { ref: _, style: { position: "absolute", height: M ? o - r + (x ?? 0) : 1, width: M ? 1 : o - r + (v ?? 0) }, className: "scrollbar-viewport" }) }) }), H] });
27452
+ return Q("div", { ref: e, style: { display: "flex", flex: "1", flexDirection: M ? "column" : "row", padding: "0", ...i }, className: oc("_sheetxl-scrollbar_eblx4_6", s), ...f, children: [P, S("div", { className: "pseudo-scrollbar", style: { flex: "1 1 100%", display: "flex", boxSizing: "content-box", flexDirection: M ? "column" : "row", justifyContent: "center", alignItems: "center" }, ref: b, children: S("div", { tabIndex: -1, style: { flex: "1 1 100%", overflowY: M ? "scroll" : "hidden", overflowX: M ? "hidden" : "scroll", position: "relative", willChange: "transform" }, onScroll: z, ref: w, children: S("div", { ref: _, style: { position: "absolute", height: M ? o - r + (x ?? 0) : 1, width: M ? 1 : o - r + (v ?? 0) }, className: "scrollbar-viewport" }) }) }), H] });
27452
27453
  }));
27453
27454
  n6.displayName = "Scrollbar";
27454
27455
  let dS = Date.now, ea = {}, rB = 1;
@@ -27635,7 +27636,7 @@ const fB = Object.freeze(Object.defineProperty({ __proto__: null, EmptyCssProper
27635
27636
  t = !0, n.stopPropagation();
27636
27637
  }, isPropagationStopped: () => t, persist: () => {
27637
27638
  }, timeStamp: n.timeStamp, type: n.type };
27638
- }, detectIt: M3, focusableNodeNames: mB, toPrettyKeyCode: (n) => n === "BracketLeft" ? "[" : n === "BracketRight" ? "]" : Wo.camelToPrettyCase(n) }, Symbol.toStringTag, { value: "Module" })), yB = [];
27639
+ }, detectIt: M3, focusableNodeNames: mB, toPrettyKeyCode: (n) => n === "BracketLeft" ? "[" : n === "BracketRight" ? "]" : Uo.camelToPrettyCase(n) }, Symbol.toStringTag, { value: "Module" })), yB = [];
27639
27640
  function bg(n, e, t = yB) {
27640
27641
  const o = Se(null);
27641
27642
  return g0(n, () => {
@@ -27702,7 +27703,7 @@ function r6() {
27702
27703
  const e = document.fullscreenElement;
27703
27704
  if (!e) return;
27704
27705
  let t = e.querySelector(".fullscreen-portal-root");
27705
- t || (t = document.createElement("div"), t.className = "fullscreen-portal-root _fullscreen-portal-root_5qk7s_7", e.appendChild(t));
27706
+ t || (t = document.createElement("div"), t.className = "fullscreen-portal-root _fullscreen-portal-root_1mjsr_4", e.appendChild(t));
27706
27707
  }
27707
27708
  return Lh++, n(), document.addEventListener("fullscreenchange", n), () => {
27708
27709
  document.removeEventListener("fullscreenchange", n), Lh--, Lh <= 0 && (document.querySelectorAll(".fullscreen-portal-root").forEach((e) => {
@@ -27933,7 +27934,7 @@ function i6(n, e = null) {
27933
27934
  t.current?.onError?.(c, d, u);
27934
27935
  } });
27935
27936
  const a = /* @__PURE__ */ new Set();
27936
- for (let c = 0; c < i.length; c++) a.add(i[c]?.addPropertyListener(Wo.debounce(s, 0), !0)), e && a.add(i[c]?.addExecuteListener(l));
27937
+ for (let c = 0; c < i.length; c++) a.add(i[c]?.addPropertyListener(Uo.debounce(s, 0), !0)), e && a.add(i[c]?.addExecuteListener(l));
27937
27938
  return () => {
27938
27939
  a.forEach((c) => {
27939
27940
  c?.();
@@ -27944,7 +27945,7 @@ function i6(n, e = null) {
27944
27945
  KT(null, () => {
27945
27946
  const [n, e] = de(null);
27946
27947
  return n;
27947
- }), Wo.getOS() === Wo.OSType.MacOS || (Wo.getOS(), Wo.OSType.IOS), Wo.getOS() === Wo.OSType.MacOS || (Wo.getOS(), Wo.OSType.IOS);
27948
+ }), Uo.getOS() === Uo.OSType.MacOS || (Uo.getOS(), Uo.OSType.IOS), Uo.getOS() === Uo.OSType.MacOS || (Uo.getOS(), Uo.OSType.IOS);
27948
27949
  const Bh = (n, e) => {
27949
27950
  const t = [];
27950
27951
  if (e) for (let o = 0; o < e.length; o++) {
@@ -28074,7 +28075,7 @@ Be((n) => {
28074
28075
  });
28075
28076
  const iX = Be((n) => {
28076
28077
  const { sx: e, speed: t = 1, size: o = 13, width: r = 64, height: i = 17, ...s } = n;
28077
- return Q(Fe, { sx: { width: `${r}px`, height: `${i}px`, "& .primary": { backgroundColor: (l) => l.palette.grey[600], top: (i - o) / 2 + "px", width: () => `${o}px`, height: () => `${o}px` }, ...e }, className: Dr("_traverse-ellipsis_w67fc_1", "animated-icon"), ...s, children: [S("div", { className: "primary" }), S("div", { className: "primary" }), S("div", { className: "primary" }), S("div", { className: "primary" })] });
28078
+ return Q(Fe, { sx: { width: `${r}px`, height: `${i}px`, "& .primary": { backgroundColor: (l) => l.palette.grey[600], top: (i - o) / 2 + "px", width: () => `${o}px`, height: () => `${o}px` }, ...e }, className: Dr("_traverse-ellipsis_14l1h_1", "animated-icon"), ...s, children: [S("div", { className: "primary" }), S("div", { className: "primary" }), S("div", { className: "primary" }), S("div", { className: "primary" })] });
28078
28079
  }), XV = S(KV, {}), Fu = Be(Ye((n, e) => {
28079
28080
  const { sx: t, style: o, onMount: r, onUnmount: i, transitionDelay: s = "1200ms", panel: l = !1, transparentBackground: a = !0, icon: c = XV, label: d, ...u } = n, h = ee(() => typeof d == "string" ? S(qn, { variant: "caption", component: "div", sx: { fontSize: "0.875rem", lineHeight: 1.43, letterSpacing: "0.01071em" }, children: d }) : d, [d]), p = Se(null), g = ee(() => {
28080
28081
  let y = Q(Fe, { sx: { display: "flex", flexDirection: "column", alignItems: "center", rowGap: "8px" }, children: [h, c] });
@@ -28420,7 +28421,7 @@ const ds = { Toolbar: "toolbar", Menuitem: "menuitem" }, eo = (n) => {
28420
28421
  function d6(n, e) {
28421
28422
  e = u_({ track: Ji(n.palette.background.paper, 0.05, n?.palette.mode), thumb: Ji(n.palette.background.paper, 0.3, n?.palette.mode), active: n.palette.primary.main, corner: n.palette.background.paper, outline: !1 }, e || {});
28422
28423
  const t = { "&::-webkit-scrollbar, & *::-webkit-scrollbar": { backgroundColor: Ut(e.track, 0.2), width: "13px", height: "13px" }, "&::-webkit-scrollbar-button": { display: "none" }, "& .scrollbar-button": { fill: e.thumb, backgroundColor: "transparent", transition: "fill opacity 260ms ease", width: "13px", height: "13px" }, "& .scrollbar-button:hover:not([disabled])": { fill: e.active }, "& .scrollbar-button:disabled": { opacity: 0.8 }, "&::-webkit-scrollbar-track, & *::-webkit-scrollbar-track": {}, "&::-webkit-scrollbar-track-piece, & *::-webkit-scrollbar-track-piece": {}, "&::-webkit-scrollbar-thumb, & *::-webkit-scrollbar-thumb": { borderRadius: 8, backgroundColor: e.thumb, minHeight: "24px", minWidth: "24px", border: `2px solid ${e.track}` }, "&::-webkit-scrollbar-thumb:focus, & *::-webkit-scrollbar-thumb:focus": { backgroundColor: e.active, border: e.outline ? e.outline : void 0 }, "&::-webkit-scrollbar-thumb:active, & *::-webkit-scrollbar-thumb:active": { backgroundColor: e.active, border: e.outline ? e.outline : void 0 }, "&::-webkit-scrollbar-thumb:hover, & *::-webkit-scrollbar-thumb:hover": { backgroundColor: e.active, border: e.outline ? e.outline : void 0 }, "&::-webkit-scrollbar-corner, & *::-webkit-scrollbar-corner": { backgroundColor: e.corner || e.thumb } };
28423
- return Wo.getOS() === Wo.OSType.Firefox && (t["* .pseudo-scrollbar"] = { scrollbarColor: `${e.thumb} transparent` }, t["* .pseudo-scrollbar:hover:not([disabled])"] = { scrollbarColor: `${e.active} transparent` }), t;
28424
+ return Uo.getOS() === Uo.OSType.Firefox && (t["* .pseudo-scrollbar"] = { scrollbarColor: `${e.thumb} transparent` }, t["* .pseudo-scrollbar:hover:not([disabled])"] = { scrollbarColor: `${e.active} transparent` }), t;
28424
28425
  }
28425
28426
  const pk = Be(Ye((n, e) => {
28426
28427
  const { open: t, anchorEl: o, anchorPosition: r, label: i, floatReference: s, createPopupPanel: l = eo, popperProps: a, onMount: c, onClosing: d, onClose: u, onOpening: h, onOpen: p, children: g, sx: m, ...f } = n, y = Bn(d, [d]), w = Bn(u, [u]), b = Bn(h, [h]), v = Bn(p, [p]), [x, _] = de(), E = Se(null), R = Bn((k, C) => {
@@ -28436,7 +28437,7 @@ const Zl = /* @__PURE__ */ new Map();
28436
28437
  let Nf = null;
28437
28438
  const Yl = /* @__PURE__ */ new Map();
28438
28439
  let pl = null;
28439
- const Df = (n = null, e, t, o) => (pl && (pl.fn.clear(), pl = null), n === 0 ? e : (n === null && (n = 120), pl = { fn: Wo.debounce(() => e(), n), setReferences: t, isClose: o }, pl.fn)), gk = (n, e) => {
28440
+ const Df = (n = null, e, t, o) => (pl && (pl.fn.clear(), pl = null), n === 0 ? e : (n === null && (n = 120), pl = { fn: Uo.debounce(() => e(), n), setReferences: t, isClose: o }, pl.fn)), gk = (n, e) => {
28440
28441
  if (e === null) return;
28441
28442
  n.add(e);
28442
28443
  const t = Zl.get(e.key);
@@ -28565,7 +28566,7 @@ Wi.displayName = "SimpleTooltip";
28565
28566
  const Ad = Be((n) => {
28566
28567
  const { modifier: e, sx: t, ...o } = n;
28567
28568
  return S(Fe, { sx: { marginLeft: "1px", marginRight: "1px", borderRadius: "4px", borderStyle: "solid", borderTopWidth: "1px", borderLeftWidth: "1px", borderRightWidth: "1px", borderBottomWidth: "2px", borderTopColor: (r) => Ut(r.palette.background.paper, r.palette.action.disabledOpacity), borderLeftColor: (r) => Ut(r.palette.background.paper, r.palette.action.disabledOpacity), borderRightColor: (r) => Ut(r.palette.background.paper, r.palette.action.disabledOpacity), borderBottomColor: (r) => Ut(r.palette.background.paper, 1 - r.palette.action.disabledOpacity), backgroundColor: (r) => Ut(r.palette.action.hover, r.palette.action.disabledOpacity), paddingLeft: "4px", paddingRight: "4px", minHeight: "1.6em", display: "flex", justifyContent: "center", alignItems: "center", boxSizing: "content-box", overflow: "hidden", ...t }, ...o, children: S(Fe, { sx: { display: "flex", alignItems: "center", justifyContent: "center", textAlign: "center", "& *": { fontWeight: "500" } }, children: e }) });
28568
- }), aH = Wo.getOS() === Wo.OSType.MacOS || Wo.getOS() === Wo.OSType.IOS ? "Cmd" : "Ctrl", fk = (n, e = !1, t = null) => {
28569
+ }), aH = Uo.getOS() === Uo.OSType.MacOS || Uo.getOS() === Uo.OSType.IOS ? "Cmd" : "Ctrl", fk = (n, e = !1, t = null) => {
28569
28570
  if (Array.isArray(n)) {
28570
28571
  let i = [], s = n;
28571
28572
  for (let l = 0; l < s.length; l++) i.push(fk(s[l], e, t ?? "" + l));
@@ -28583,7 +28584,7 @@ const Ad = Be((n) => {
28583
28584
  })), vg = S(Fc, {}), cH = Le(S(j4, {})), Hi = Be(Ye((n, e) => {
28584
28585
  const { dense: t = !0, outlined: o = !1, disableHover: r = !1, parentFloat: i, selected: s, icon: l, tooltipProps: a, children: c, primary: d, sx: u, className: h, onFocus: p, onBlur: g, ...m } = n, [f, y] = de(!1), w = { marginRight: "0px", padding: t ? "2px" : "7px", borderRadius: (E) => `${E.shape.borderRadius}px`, color: (E) => d ? void 0 : E.palette.text.icon ?? E.palette.action.active, border: (E) => `solid ${o ? E.palette.divider : "transparent"} 1px`, "& .MuiTouchRipple-child": { borderRadius: (E) => `${E.shape.borderRadius}px !important` }, "&.Mui-selected": { backgroundColor: (E) => Ut(E.palette.text.primary, E.palette.action.selectedOpacity), border: (E) => `solid ${o ? E.palette.text?.primary : E.palette.divider} 1px` }, "&.Mui-disabled": { border: (E) => `solid ${o ? E.palette.divider : "transparent"} 1px` }, "&.Mui-disabled path.styled": { filter: "grayscale(65%)", opacity: ".8" }, "&.Mui-focusVisible": { outline: "solid transparent 1px", border: "1px solid transparent" }, ...u }, b = { "&:hover:not(.Mui-disabled, [disabled])": { color: (E) => E.palette.text.primary, border: (E) => `solid ${o ? E.palette.text?.primary : E.palette.divider} 1px`, "&.Mui-selected": { backgroundColor: (E) => Ut(E.palette.text.primary, E.palette.action.selectedOpacity + E.palette.action.hoverOpacity) }, "> .outline-hover": { outline: (E) => `solid ${o ? E.palette.text?.primary : E.palette.divider} 1px` }, backgroundColor: null }, "&.Mui-focusVisible": { outline: (E) => `solid ${E.palette.primary.main} 1px`, border: (E) => `1px solid ${E.palette?.primary?.main}`, zIndex: 1 } };
28585
28586
  let v = w;
28586
- r || (v = Wo.mergeContentful(w, b));
28587
+ r || (v = Uo.mergeContentful(w, b));
28587
28588
  const x = ee(() => {
28588
28589
  let E = typeof l == "function" ? l() : l;
28589
28590
  return E === null ? E : E || (s === void 0 ? vg : cH);
@@ -28619,7 +28620,7 @@ const Ad = Be((n) => {
28619
28620
  const { children: t, sx: o, primary: r = !1, variant: i = "subtitle1", ...s } = n;
28620
28621
  return S(zt, { children: S(qn, { ref: e, variant: i, component: "div", sx: { userSelect: "none", fontWeight: "500", paddingLeft: "8px", paddingTop: i === "subtitle1" ? "2px" : void 0, paddingBottom: i === "subtitle1" ? "2px" : void 0, color: (l) => r ? void 0 : l.palette.text.secondary, ...o }, ...s, children: t }) });
28621
28622
  })), Os = Be(Ye((n, e) => {
28622
- const { dense: t = !0, outlined: o = !1, label: r, selected: i = !1, onQuickClick: s, parentFloat: l, createPopupPanel: a, popupProps: c, onPopupOpen: d, onPopupClose: u, quickButtonProps: h, createQuickButton: p, tooltip: g = "", createTooltip: m, icon: f, disabled: y, buttonProps: w = Wo.EmptyObject, disableHover: b, touchRippleRef: v, primary: x, children: _, sx: E, className: R, ...M } = n, k = Q4(), C = ee(() => {
28623
+ const { dense: t = !0, outlined: o = !1, label: r, selected: i = !1, onQuickClick: s, parentFloat: l, createPopupPanel: a, popupProps: c, onPopupOpen: d, onPopupClose: u, quickButtonProps: h, createQuickButton: p, tooltip: g = "", createTooltip: m, icon: f, disabled: y, buttonProps: w = Uo.EmptyObject, disableHover: b, touchRippleRef: v, primary: x, children: _, sx: E, className: R, ...M } = n, k = Q4(), C = ee(() => {
28623
28624
  const Y = (ie, ye, we, te = we) => {
28624
28625
  const le = typeof o == "boolean" ? null : o[ie];
28625
28626
  return typeof le == "function" ? le(ye) : le || (o ? we : te);
@@ -28634,8 +28635,8 @@ const Ad = Be((n) => {
28634
28635
  }, [s, B]), $ = Bn(() => {
28635
28636
  T ? B.reference.close(0) : B.reference.open(0);
28636
28637
  }, [T, B, l, r]), j = ee(() => {
28637
- const Y = { "&.bordered": { borderWidth: "1px", borderRadius: "0px", borderTopStyle: "solid", borderBottomStyle: "solid", borderColor: (fe) => C.outline.color(fe), "&.Mui-focusVisible": { border: (fe) => `1px solid ${C.outline.focusColor(fe)} !important` }, "&:hover:not(.Mui-disabled, [disabled])": { borderColor: () => b ? "transparent" : void 0, backgroundColor: () => b ? "transparent" : void 0 }, "&.Mui-hovered:not(.Mui-disabled, [disabled])": { borderColor: (fe) => C.outline.hoverColor(fe) }, "&.Mui-selected:not(.Mui-disabled, [disabled])": { borderColor: (fe) => C.outline.hoverColor(fe) }, "&.left": { borderTopLeftRadius: (fe) => `${fe.shape.borderRadius}px`, borderBottomLeftRadius: (fe) => `${fe.shape.borderRadius}px`, borderLeftStyle: "solid" }, "&.hard-right": { borderRightStyle: "solid", borderRightWidth: "1px", borderRightColor: (fe) => C.outline.color(fe) }, "&.right": { borderTopRightRadius: (fe) => `${fe.shape.borderRadius}px`, borderBottomRightRadius: (fe) => `${fe.shape.borderRadius}px`, borderRightStyle: "solid" }, "&.divider": { borderLeftWidth: "0px !important" } }, "& .MuiTouchRipple-child": { borderRadius: (fe) => `${fe.shape.borderRadius}px !important` } }, ie = { "&.Mui-selected": { backgroundColor: (fe) => Ut(fe.palette.primary.main, fe.palette.action.selectedOpacity), "&:hover:not(.Mui-disabled)": { backgroundColor: (fe) => Ut(fe.palette.primary.main, fe.palette.action.selectedOpacity + fe.palette.action.hoverOpacity), "@media (hover: none)": { backgroundColor: (fe) => Ut(fe.palette.primary.main, fe.palette.action.selectedOpacity) } } } }, ye = { maxHeight: "100%", "&.Mui-selected": { backgroundColor: (fe) => Ut(fe.palette.text.icon ?? fe.palette.action.active, fe.palette.action.selectedOpacity), "&:hover:not(.Mui-disabled)": { backgroundColor: (fe) => Ut(fe.palette.text.icon ?? fe.palette.action.active, fe.palette.action.selectedOpacity + fe.palette.action.hoverOpacity), "@media (hover: none)": { backgroundColor: (fe) => Ut(fe.palette.text.icon ?? fe.palette.action.active, fe.palette.action.selectedOpacity) } } }, "&:hover:not(.Mui-disabled, [disabled])": { color: (fe) => fe.palette.text.primary }, backgroundColor: () => b ? "transparent" : void 0, color: (fe) => fe.palette.text.icon, "&.Mui-disabled path.styled": { filter: "grayscale(65%)", opacity: ".8" }, padding: () => t ? "2px 3px" : "7px", marginRight: "0" }, we = Wo.mergeContentful(ye, Y), te = Wo.mergeContentful(we, ie), le = Wo.mergeContentful(ye, Y);
28638
- return { quickButtonStyling: we, openQuickButtonStyling: te, compoundStyling: le, openCompoundStyling: Wo.mergeContentful(le, ie) };
28638
+ const Y = { "&.bordered": { borderWidth: "1px", borderRadius: "0px", borderTopStyle: "solid", borderBottomStyle: "solid", borderColor: (fe) => C.outline.color(fe), "&.Mui-focusVisible": { border: (fe) => `1px solid ${C.outline.focusColor(fe)} !important` }, "&:hover:not(.Mui-disabled, [disabled])": { borderColor: () => b ? "transparent" : void 0, backgroundColor: () => b ? "transparent" : void 0 }, "&.Mui-hovered:not(.Mui-disabled, [disabled])": { borderColor: (fe) => C.outline.hoverColor(fe) }, "&.Mui-selected:not(.Mui-disabled, [disabled])": { borderColor: (fe) => C.outline.hoverColor(fe) }, "&.left": { borderTopLeftRadius: (fe) => `${fe.shape.borderRadius}px`, borderBottomLeftRadius: (fe) => `${fe.shape.borderRadius}px`, borderLeftStyle: "solid" }, "&.hard-right": { borderRightStyle: "solid", borderRightWidth: "1px", borderRightColor: (fe) => C.outline.color(fe) }, "&.right": { borderTopRightRadius: (fe) => `${fe.shape.borderRadius}px`, borderBottomRightRadius: (fe) => `${fe.shape.borderRadius}px`, borderRightStyle: "solid" }, "&.divider": { borderLeftWidth: "0px !important" } }, "& .MuiTouchRipple-child": { borderRadius: (fe) => `${fe.shape.borderRadius}px !important` } }, ie = { "&.Mui-selected": { backgroundColor: (fe) => Ut(fe.palette.primary.main, fe.palette.action.selectedOpacity), "&:hover:not(.Mui-disabled)": { backgroundColor: (fe) => Ut(fe.palette.primary.main, fe.palette.action.selectedOpacity + fe.palette.action.hoverOpacity), "@media (hover: none)": { backgroundColor: (fe) => Ut(fe.palette.primary.main, fe.palette.action.selectedOpacity) } } } }, ye = { maxHeight: "100%", "&.Mui-selected": { backgroundColor: (fe) => Ut(fe.palette.text.icon ?? fe.palette.action.active, fe.palette.action.selectedOpacity), "&:hover:not(.Mui-disabled)": { backgroundColor: (fe) => Ut(fe.palette.text.icon ?? fe.palette.action.active, fe.palette.action.selectedOpacity + fe.palette.action.hoverOpacity), "@media (hover: none)": { backgroundColor: (fe) => Ut(fe.palette.text.icon ?? fe.palette.action.active, fe.palette.action.selectedOpacity) } } }, "&:hover:not(.Mui-disabled, [disabled])": { color: (fe) => fe.palette.text.primary }, backgroundColor: () => b ? "transparent" : void 0, color: (fe) => fe.palette.text.icon, "&.Mui-disabled path.styled": { filter: "grayscale(65%)", opacity: ".8" }, padding: () => t ? "2px 3px" : "7px", marginRight: "0" }, we = Uo.mergeContentful(ye, Y), te = Uo.mergeContentful(we, ie), le = Uo.mergeContentful(ye, Y);
28639
+ return { quickButtonStyling: we, openQuickButtonStyling: te, compoundStyling: le, openCompoundStyling: Uo.mergeContentful(le, ie) };
28639
28640
  }, [C, b]), W = Bn((Y) => {
28640
28641
  const { children: ie, ...ye } = Y;
28641
28642
  return S(Wi, { ...ye, disableInteractive: !0, children: ie });
@@ -29411,7 +29412,7 @@ var XS, ZS, IH = function() {
29411
29412
  return c.propTypes = { active: s.bool, paused: s.bool, focusTrapOptions: s.shape({ document: s.object, onActivate: s.func, onPostActivate: s.func, checkCanFocusTrap: s.func, onPause: s.func, onPostPause: s.func, onUnpause: s.func, onPostUnpause: s.func, onDeactivate: s.func, onPostDeactivate: s.func, checkCanReturnFocus: s.func, initialFocus: s.oneOfType([s.instanceOf(d), s.string, s.bool, s.func]), fallbackFocus: s.oneOfType([s.instanceOf(d), s.string, s.func]), escapeDeactivates: s.oneOfType([s.bool, s.func]), clickOutsideDeactivates: s.oneOfType([s.bool, s.func]), returnFocusOnDeactivate: s.bool, setReturnFocus: s.oneOfType([s.instanceOf(d), s.string, s.bool, s.func]), allowOutsideClick: s.oneOfType([s.bool, s.func]), preventScroll: s.bool, tabbableOptions: s.shape({ displayCheck: s.oneOf(["full", "legacy-full", "non-zero-area", "none"]), getShadowRoot: s.oneOfType([s.bool, s.func]) }), trapStack: s.array, isKeyForward: s.func, isKeyBackward: s.func }), containerElements: s.arrayOf(s.instanceOf(d)), children: s.oneOfType([s.element, s.instanceOf(d)]) }, c.defaultProps = { active: !0, paused: !1, focusTrapOptions: {}, _createFocusTrap: l }, XS = c;
29412
29413
  }();
29413
29414
  const AH = xT(IH);
29414
- var YS, JS, Nd = { exports: {} }, QS = {}, jh = { exports: {} }, or = {}, ka = {};
29415
+ var YS, JS, Nd = { exports: {} }, QS = {}, jh = { exports: {} }, rr = {}, ka = {};
29415
29416
  function z2() {
29416
29417
  return JS || (JS = 1, Object.defineProperty(ka, "__esModule", { value: !0 }), ka.dontSetMe = function(n, e, t) {
29417
29418
  if (n[e]) return new Error(`Invalid prop ${e} passed to ${t} - do not set this, set it on the child.`);
@@ -29427,35 +29428,35 @@ function z2() {
29427
29428
  }
29428
29429
  var eb, tb, Vl = {};
29429
29430
  function H3() {
29430
- if (tb) return or;
29431
- tb = 1, Object.defineProperty(or, "__esModule", { value: !0 }), or.addClassName = s, or.addEvent = function(a, c, d, u) {
29431
+ if (tb) return rr;
29432
+ tb = 1, Object.defineProperty(rr, "__esModule", { value: !0 }), rr.addClassName = s, rr.addEvent = function(a, c, d, u) {
29432
29433
  if (!a) return;
29433
29434
  const h = { capture: !0, ...u };
29434
29435
  a.addEventListener ? a.addEventListener(c, d, h) : a.attachEvent ? a.attachEvent("on" + c, d) : a["on" + c] = d;
29435
- }, or.addUserSelectStyles = function(a) {
29436
+ }, rr.addUserSelectStyles = function(a) {
29436
29437
  if (!a) return;
29437
29438
  let c = a.getElementById("react-draggable-style-el");
29438
29439
  c || (c = a.createElement("style"), c.type = "text/css", c.id = "react-draggable-style-el", c.innerHTML = `.react-draggable-transparent-selection *::-moz-selection {all: inherit;}
29439
29440
  `, c.innerHTML += `.react-draggable-transparent-selection *::selection {all: inherit;}
29440
29441
  `, a.getElementsByTagName("head")[0].appendChild(c)), a.body && s(a.body, "react-draggable-transparent-selection");
29441
- }, or.createCSSTransform = function(a, c) {
29442
+ }, rr.createCSSTransform = function(a, c) {
29442
29443
  const d = r(a, c, "px");
29443
29444
  return { [(0, e.browserPrefixToKey)("transform", e.default)]: d };
29444
- }, or.createSVGTransform = function(a, c) {
29445
+ }, rr.createSVGTransform = function(a, c) {
29445
29446
  return r(a, c, "");
29446
- }, or.getTouch = function(a, c) {
29447
+ }, rr.getTouch = function(a, c) {
29447
29448
  return a.targetTouches && (0, n.findInArray)(a.targetTouches, (d) => c === d.identifier) || a.changedTouches && (0, n.findInArray)(a.changedTouches, (d) => c === d.identifier);
29448
- }, or.getTouchIdentifier = function(a) {
29449
+ }, rr.getTouchIdentifier = function(a) {
29449
29450
  return a.targetTouches && a.targetTouches[0] ? a.targetTouches[0].identifier : a.changedTouches && a.changedTouches[0] ? a.changedTouches[0].identifier : void 0;
29450
- }, or.getTranslation = r, or.innerHeight = function(a) {
29451
+ }, rr.getTranslation = r, rr.innerHeight = function(a) {
29451
29452
  let c = a.clientHeight;
29452
29453
  const d = a.ownerDocument.defaultView.getComputedStyle(a);
29453
29454
  return c -= (0, n.int)(d.paddingTop), c -= (0, n.int)(d.paddingBottom), c;
29454
- }, or.innerWidth = function(a) {
29455
+ }, rr.innerWidth = function(a) {
29455
29456
  let c = a.clientWidth;
29456
29457
  const d = a.ownerDocument.defaultView.getComputedStyle(a);
29457
29458
  return c -= (0, n.int)(d.paddingLeft), c -= (0, n.int)(d.paddingRight), c;
29458
- }, or.matchesSelector = o, or.matchesSelectorAndParentsTo = function(a, c, d) {
29459
+ }, rr.matchesSelector = o, rr.matchesSelectorAndParentsTo = function(a, c, d) {
29459
29460
  let u = a;
29460
29461
  do {
29461
29462
  if (o(u, c)) return !0;
@@ -29463,22 +29464,22 @@ function H3() {
29463
29464
  u = u.parentNode;
29464
29465
  } while (u);
29465
29466
  return !1;
29466
- }, or.offsetXYFromParent = function(a, c, d) {
29467
+ }, rr.offsetXYFromParent = function(a, c, d) {
29467
29468
  const u = c === c.ownerDocument.body ? { left: 0, top: 0 } : c.getBoundingClientRect();
29468
29469
  return { x: (a.clientX + c.scrollLeft - u.left) / d, y: (a.clientY + c.scrollTop - u.top) / d };
29469
- }, or.outerHeight = function(a) {
29470
+ }, rr.outerHeight = function(a) {
29470
29471
  let c = a.clientHeight;
29471
29472
  const d = a.ownerDocument.defaultView.getComputedStyle(a);
29472
29473
  return c += (0, n.int)(d.borderTopWidth), c += (0, n.int)(d.borderBottomWidth), c;
29473
- }, or.outerWidth = function(a) {
29474
+ }, rr.outerWidth = function(a) {
29474
29475
  let c = a.clientWidth;
29475
29476
  const d = a.ownerDocument.defaultView.getComputedStyle(a);
29476
29477
  return c += (0, n.int)(d.borderLeftWidth), c += (0, n.int)(d.borderRightWidth), c;
29477
- }, or.removeClassName = l, or.removeEvent = function(a, c, d, u) {
29478
+ }, rr.removeClassName = l, rr.removeEvent = function(a, c, d, u) {
29478
29479
  if (!a) return;
29479
29480
  const h = { capture: !0, ...u };
29480
29481
  a.removeEventListener ? a.removeEventListener(c, d, h) : a.detachEvent ? a.detachEvent("on" + c, d) : a["on" + c] = null;
29481
- }, or.scheduleRemoveUserSelectStyles = function(a) {
29482
+ }, rr.scheduleRemoveUserSelectStyles = function(a) {
29482
29483
  window.requestAnimationFrame ? window.requestAnimationFrame(() => {
29483
29484
  i(a);
29484
29485
  }) : i(a);
@@ -29545,7 +29546,7 @@ function H3() {
29545
29546
  function l(a, c) {
29546
29547
  a.classList ? a.classList.remove(c) : a.className = a.className.replace(new RegExp(`(?:^|\\s)${c}(?!\\S)`, "g"), "");
29547
29548
  }
29548
- return or;
29549
+ return rr;
29549
29550
  }
29550
29551
  var nb, Ls = {};
29551
29552
  function ob() {
@@ -29913,24 +29914,24 @@ var cs = typeof window < "u" ? window : { screen: {}, navigator: {} }, Vc = (cs.
29913
29914
  cs.addEventListener && cs.addEventListener("p", db, PH), cs.removeEventListener && cs.removeEventListener("p", db, !1);
29914
29915
  var h6 = "ontouchstart" in cs, BH = h6 || "TouchEvent" in cs && Vc("(any-pointer: coarse)").matches, ub = (cs.navigator.maxTouchPoints || 0) > 0 || BH, Mk = cs.navigator.userAgent || "", VH = Vc("(pointer: coarse)").matches && /iPad|Macintosh/.test(Mk) && Math.min(cs.screen.width || 0, cs.screen.height || 0) >= 768, Rk = (Vc("(pointer: coarse)").matches || !Vc("(pointer: fine)").matches && h6) && !/Windows.*Firefox/.test(Mk), HH = Vc("(any-pointer: fine)").matches || Vc("(any-hover: hover)").matches || VH || !h6, hb = !ub || !HH && Rk ? ub ? "touchOnly" : "mouseOnly" : "hybrid", $H = hb === "mouseOnly" ? "mouse" : hb === "touchOnly" || Rk ? "touch" : "mouse", O1 = (n) => n.type === "checkbox", Ua = (n) => n instanceof Date, mi = (n) => n == null;
29915
29916
  const Ik = (n) => typeof n == "object";
29916
- var mr = (n) => !mi(n) && !Array.isArray(n) && Ik(n) && !Ua(n), p6 = typeof window < "u" && window.HTMLElement !== void 0 && typeof document < "u";
29917
+ var fr = (n) => !mi(n) && !Array.isArray(n) && Ik(n) && !Ua(n), p6 = typeof window < "u" && window.HTMLElement !== void 0 && typeof document < "u";
29917
29918
  function Zr(n) {
29918
29919
  let e;
29919
29920
  const t = Array.isArray(n), o = typeof FileList < "u" && n instanceof FileList;
29920
29921
  if (n instanceof Date) e = new Date(n);
29921
29922
  else if (n instanceof Set) e = new Set(n);
29922
29923
  else {
29923
- if (p6 && (n instanceof Blob || o) || !t && !mr(n)) return n;
29924
+ if (p6 && (n instanceof Blob || o) || !t && !fr(n)) return n;
29924
29925
  if (e = t ? [] : {}, t || ((r) => {
29925
29926
  const i = r.constructor && r.constructor.prototype;
29926
- return mr(i) && i.hasOwnProperty("isPrototypeOf");
29927
+ return fr(i) && i.hasOwnProperty("isPrototypeOf");
29927
29928
  })(n)) for (const r in n) n.hasOwnProperty(r) && (e[r] = Zr(n[r]));
29928
29929
  else e = n;
29929
29930
  }
29930
29931
  return e;
29931
29932
  }
29932
29933
  var xg = (n) => /^\w*$/.test(n), br = (n) => n === void 0, $3 = (n) => Array.isArray(n) ? n.filter(Boolean) : [], g6 = (n) => $3(n.replace(/["|']|\]/g, "").split(/\.|\[/)), ln = (n, e, t) => {
29933
- if (!e || !mr(n)) return t;
29934
+ if (!e || !fr(n)) return t;
29934
29935
  const o = (xg(e) ? [e] : g6(e)).reduce((r, i) => mi(r) ? r : r[i], n);
29935
29936
  return br(o) || o === n ? br(n[e]) ? t : n[e] : o;
29936
29937
  }, js = (n) => typeof n == "boolean", Io = (n, e, t) => {
@@ -29941,7 +29942,7 @@ var xg = (n) => /^\w*$/.test(n), br = (n) => n === void 0, $3 = (n) => Array.isA
29941
29942
  let a = t;
29942
29943
  if (o !== s) {
29943
29944
  const c = n[l];
29944
- a = mr(c) || Array.isArray(c) ? c : isNaN(+r[o + 1]) ? {} : [];
29945
+ a = fr(c) || Array.isArray(c) ? c : isNaN(+r[o + 1]) ? {} : [];
29945
29946
  }
29946
29947
  if (l === "__proto__" || l === "constructor" || l === "prototype") return;
29947
29948
  n[l] = a, n = n[l];
@@ -29975,12 +29976,12 @@ function sa(n, e) {
29975
29976
  if (!o.includes(r)) return !1;
29976
29977
  if (r !== "ref") {
29977
29978
  const s = e[r];
29978
- if (Ua(i) && Ua(s) || mr(i) && mr(s) || Array.isArray(i) && Array.isArray(s) ? !sa(i, s) : i !== s) return !1;
29979
+ if (Ua(i) && Ua(s) || fr(i) && fr(s) || Array.isArray(i) && Array.isArray(s) ? !sa(i, s) : i !== s) return !1;
29979
29980
  }
29980
29981
  }
29981
29982
  return !0;
29982
29983
  }
29983
- var xi = (n) => mr(n) && !Object.keys(n).length, m6 = (n) => n.type === "file", Es = (n) => typeof n == "function", P2 = (n) => {
29984
+ var xi = (n) => fr(n) && !Object.keys(n).length, m6 = (n) => n.type === "file", Es = (n) => typeof n == "function", P2 = (n) => {
29984
29985
  if (!p6) return !1;
29985
29986
  const e = n ? n.ownerDocument : 0;
29986
29987
  return n instanceof (e && e.defaultView ? e.defaultView.HTMLElement : HTMLElement);
@@ -29992,7 +29993,7 @@ function Cr(n, e) {
29992
29993
  for (; c < a; ) s = br(s) ? c++ : s[l[c++]];
29993
29994
  return s;
29994
29995
  }(n, t), r = t.length - 1, i = t[r];
29995
- return o && delete o[i], r !== 0 && (mr(o) && xi(o) || Array.isArray(o) && function(s) {
29996
+ return o && delete o[i], r !== 0 && (fr(o) && xi(o) || Array.isArray(o) && function(s) {
29996
29997
  for (const l in s) if (s.hasOwnProperty(l) && !br(s[l])) return !1;
29997
29998
  return !0;
29998
29999
  }(o)) && Cr(n, t.slice(0, -1)), n;
@@ -30003,12 +30004,12 @@ var Fk = (n) => {
30003
30004
  };
30004
30005
  function B2(n, e = {}) {
30005
30006
  const t = Array.isArray(n);
30006
- if (mr(n) || t) for (const o in n) Array.isArray(n[o]) || mr(n[o]) && !Fk(n[o]) ? (e[o] = Array.isArray(n[o]) ? [] : {}, B2(n[o], e[o])) : mi(n[o]) || (e[o] = !0);
30007
+ if (fr(n) || t) for (const o in n) Array.isArray(n[o]) || fr(n[o]) && !Fk(n[o]) ? (e[o] = Array.isArray(n[o]) ? [] : {}, B2(n[o], e[o])) : mi(n[o]) || (e[o] = !0);
30007
30008
  return e;
30008
30009
  }
30009
30010
  function Lk(n, e, t) {
30010
30011
  const o = Array.isArray(n);
30011
- if (mr(n) || o) for (const r in n) Array.isArray(n[r]) || mr(n[r]) && !Fk(n[r]) ? br(e) || j3(t[r]) ? t[r] = Array.isArray(n[r]) ? B2(n[r], []) : { ...B2(n[r]) } : Lk(n[r], mi(e) ? {} : e[r], t[r]) : t[r] = !sa(n[r], e[r]);
30012
+ if (fr(n) || o) for (const r in n) Array.isArray(n[r]) || fr(n[r]) && !Fk(n[r]) ? br(e) || j3(t[r]) ? t[r] = Array.isArray(n[r]) ? B2(n[r], []) : { ...B2(n[r]) } : Lk(n[r], mi(e) ? {} : e[r], t[r]) : t[r] = !sa(n[r], e[r]);
30012
30013
  return t;
30013
30014
  }
30014
30015
  var Fd = (n, e) => Lk(n, e, B2(e));
@@ -30029,9 +30030,9 @@ function Sb(n) {
30029
30030
  const e = n.ref;
30030
30031
  return m6(e) ? e.files : f6(e) ? Bk(n.refs).value : Dk(e) ? [...e.selectedOptions].map(({ value: t }) => t) : O1(e) ? zk(n.refs).value : Pk(br(e.value) ? n.ref.value : e.value, n);
30031
30032
  }
30032
- var V2 = (n) => n instanceof RegExp, Ld = (n) => br(n) ? n : V2(n) ? n.source : mr(n) ? V2(n.value) ? n.value.source : n.value : n, bb = (n) => ({ isOnSubmit: !n || n === Ok, isOnBlur: n === "onBlur", isOnChange: n === Ak, isOnAll: n === su, isOnTouch: n === "onTouched" });
30033
+ var V2 = (n) => n instanceof RegExp, Ld = (n) => br(n) ? n : V2(n) ? n.source : fr(n) ? V2(n.value) ? n.value.source : n.value : n, bb = (n) => ({ isOnSubmit: !n || n === Ok, isOnBlur: n === "onBlur", isOnChange: n === Ak, isOnAll: n === su, isOnTouch: n === "onTouched" });
30033
30034
  const vb = "AsyncFunction";
30034
- var GH = (n) => !!n && !!n.validate && !!(Es(n.validate) && n.validate.constructor.name === vb || mr(n.validate) && Object.values(n.validate).find((e) => e.constructor.name === vb)), xb = (n, e, t) => !t && (e.watchAll || e.watch.has(n) || [...e.watch].some((o) => n.startsWith(o) && /^\.\w+/.test(n.slice(o.length))));
30035
+ var GH = (n) => !!n && !!n.validate && !!(Es(n.validate) && n.validate.constructor.name === vb || fr(n.validate) && Object.values(n.validate).find((e) => e.constructor.name === vb)), xb = (n, e, t) => !t && (e.watchAll || e.watch.has(n) || [...e.watch].some((o) => n.startsWith(o) && /^\.\w+/.test(n.slice(o.length))));
30035
30036
  const N1 = (n, e, t, o) => {
30036
30037
  for (const r of t || Object.keys(n)) {
30037
30038
  const i = ln(n, r);
@@ -30040,7 +30041,7 @@ const N1 = (n, e, t, o) => {
30040
30041
  if (s) {
30041
30042
  if (s.refs && s.refs[0] && e(s.refs[0], r) && !o || s.ref && e(s.ref, s.name) && !o) return !0;
30042
30043
  if (N1(l, e)) break;
30043
- } else if (mr(l) && N1(l, e)) break;
30044
+ } else if (fr(l) && N1(l, e)) break;
30044
30045
  }
30045
30046
  }
30046
30047
  };
@@ -30064,7 +30065,7 @@ var qH = (n, e, t) => {
30064
30065
  function Cb(n, e, t = "validate") {
30065
30066
  if (Xp(n) || Array.isArray(n) && n.every(Xp) || js(n) && !n) return { type: t, message: Xp(n) ? n : "", ref: e };
30066
30067
  }
30067
- var $0 = (n) => mr(n) && !V2(n) ? n : { value: n, message: "" }, Eb = async (n, e, t, o, r, i) => {
30068
+ var $0 = (n) => fr(n) && !V2(n) ? n : { value: n, message: "" }, Eb = async (n, e, t, o, r, i) => {
30068
30069
  const { ref: s, refs: l, required: a, maxLength: c, minLength: d, min: u, max: h, pattern: p, validate: g, name: m, valueAsNumber: f, mount: y } = n._f, w = ln(t, m);
30069
30070
  if (!y || e.has(m)) return {};
30070
30071
  const b = l ? l[0] : s, v = (T) => {
@@ -30101,7 +30102,7 @@ var $0 = (n) => mr(n) && !V2(n) ? n : { value: n, message: "" }, Eb = async (n,
30101
30102
  if (Es(g)) {
30102
30103
  const T = Cb(await g(w, t), b);
30103
30104
  if (T && (x[m] = { ...T, ...k("validate", T.message) }, !o)) return v(T.message), x;
30104
- } else if (mr(g)) {
30105
+ } else if (fr(g)) {
30105
30106
  let T = {};
30106
30107
  for (const I in g) {
30107
30108
  if (!xi(T) && !o) break;
@@ -30117,7 +30118,7 @@ const KH = { mode: Ok, reValidateMode: Ak, shouldFocusError: !0 };
30117
30118
  function XH(n = {}) {
30118
30119
  let e = { ...KH, ...n }, t = { submitCount: 0, isDirty: !1, isReady: !1, isLoading: Es(e.defaultValues), isValidating: !1, isSubmitted: !1, isSubmitting: !1, isSubmitSuccessful: !1, isValid: !1, touchedFields: {}, dirtyFields: {}, validatingFields: {}, errors: e.errors || {}, disabled: e.disabled || !1 };
30119
30120
  const o = {};
30120
- let r, i = (mr(e.defaultValues) || mr(e.values)) && Zr(e.defaultValues || e.values) || {}, s = e.shouldUnregister ? {} : Zr(i), l = { action: !1, mount: !1, watch: !1 }, a = { mount: /* @__PURE__ */ new Set(), disabled: /* @__PURE__ */ new Set(), unMount: /* @__PURE__ */ new Set(), array: /* @__PURE__ */ new Set(), watch: /* @__PURE__ */ new Set() }, c = 0;
30121
+ let r, i = (fr(e.defaultValues) || fr(e.values)) && Zr(e.defaultValues || e.values) || {}, s = e.shouldUnregister ? {} : Zr(i), l = { action: !1, mount: !1, watch: !1 }, a = { mount: /* @__PURE__ */ new Set(), disabled: /* @__PURE__ */ new Set(), unMount: /* @__PURE__ */ new Set(), array: /* @__PURE__ */ new Set(), watch: /* @__PURE__ */ new Set() }, c = 0;
30121
30122
  const d = { isDirty: !1, dirtyFields: !1, validatingFields: !1, touchedFields: !1, isValidating: !1, isValid: !1, errors: !1 };
30122
30123
  let u = { ...d };
30123
30124
  const h = { array: mb(), state: mb() }, p = e.criteriaMode === su, g = async (P) => {
@@ -30192,7 +30193,7 @@ function XH(n = {}) {
30192
30193
  for (const G in H) {
30193
30194
  if (!H.hasOwnProperty(G)) return;
30194
30195
  const U = H[G], ne = P + "." + G, Z = ln(o, ne);
30195
- (a.array.has(P) || mr(U) || Z && !Z._f) && !Ua(U) ? E(ne, U, V) : _(ne, U, V);
30196
+ (a.array.has(P) || fr(U) || Z && !Z._f) && !Ua(U) ? E(ne, U, V) : _(ne, U, V);
30196
30197
  }
30197
30198
  }, R = (P, H, V = {}) => {
30198
30199
  const G = ln(o, P), U = a.array.has(P), ne = Zr(H);
@@ -30206,7 +30207,7 @@ function XH(n = {}) {
30206
30207
  }, Z = bb(e.mode), J = bb(e.reValidateMode);
30207
30208
  if (U) {
30208
30209
  let pe, ue;
30209
- const Y = H.type ? Sb(U._f) : ((fe) => mr(fe) && fe.target ? O1(fe.target) ? fe.target.checked : fe.target.value : fe)(P), ie = P.type === "blur" || P.type === "focusout", ye = !((fe) => fe.mount && (fe.required || fe.min || fe.max || fe.maxLength || fe.minLength || fe.pattern || fe.validate))(U._f) && !e.resolver && !ln(t.errors, V) && !U._f.deps || ((fe, je, Ze, bt, vt) => !vt.isOnAll && (!Ze && vt.isOnTouch ? !(je || fe) : (Ze ? bt.isOnBlur : vt.isOnBlur) ? !fe : !(Ze ? bt.isOnChange : vt.isOnChange) || fe))(ie, ln(t.touchedFields, V), t.isSubmitted, J, Z), we = xb(V, a, ie);
30210
+ const Y = H.type ? Sb(U._f) : ((fe) => fr(fe) && fe.target ? O1(fe.target) ? fe.target.checked : fe.target.value : fe)(P), ie = P.type === "blur" || P.type === "focusout", ye = !((fe) => fe.mount && (fe.required || fe.min || fe.max || fe.maxLength || fe.minLength || fe.pattern || fe.validate))(U._f) && !e.resolver && !ln(t.errors, V) && !U._f.deps || ((fe, je, Ze, bt, vt) => !vt.isOnAll && (!Ze && vt.isOnTouch ? !(je || fe) : (Ze ? bt.isOnBlur : vt.isOnBlur) ? !fe : !(Ze ? bt.isOnChange : vt.isOnChange) || fe))(ie, ln(t.touchedFields, V), t.isSubmitted, J, Z), we = xb(V, a, ie);
30210
30211
  Io(s, V, Y), ie ? (U._f.onBlur && U._f.onBlur(P), r && r(0)) : U._f.onChange && U._f.onChange(P);
30211
30212
  const te = y(V, Y, ie), le = !xi(te) || we;
30212
30213
  if (!ie && h.state.next({ name: V, type: P.type, values: Zr(s) }), ye) return (d.isValid || u.isValid) && (e.mode === "onBlur" ? ie && g() : ie || g()), le && h.state.next({ name: V, ...we ? {} : te });
@@ -30485,7 +30486,7 @@ const ZH = ["Ok", "Cancel"], Tb = (n) => {
30485
30486
  e?.onDone?.(), o.hide();
30486
30487
  } });
30487
30488
  });
30488
- }, QH = rt.lazy(() => import("./9vaTrJzQjSFA2egn.mjs")), dX = () => {
30489
+ }, QH = rt.lazy(() => import("./PbEXrCdkQc02gfVZ.mjs")), dX = () => {
30489
30490
  const { showModal: n } = u6();
30490
30491
  return (e) => {
30491
30492
  const { defaultOption: t = e.options?.[0], cancelOption: o = "Cancel", ...r } = e;
@@ -30643,14 +30644,14 @@ const t$ = (n) => {
30643
30644
  try {
30644
30645
  if (typeof document < "u") {
30645
30646
  var n = document.createElement("style");
30646
- n.appendChild(document.createTextNode("._traverse-ellipsis_w67fc_1{display:inline-block;position:relative}._traverse-ellipsis_w67fc_1 div{position:absolute;border-radius:50%}._traverse-ellipsis_w67fc_1 div:nth-child(1){left:0;animation:_traverse-ellipsis1_w67fc_1 .6s infinite}._traverse-ellipsis_w67fc_1 div:nth-child(2){left:0;animation:_traverse-ellipsis2_w67fc_1 .6s infinite}._traverse-ellipsis_w67fc_1 div:nth-child(3){left:24px;animation:_traverse-ellipsis2_w67fc_1 .6s infinite}._traverse-ellipsis_w67fc_1 div:nth-child(4){left:48px;animation:_traverse-ellipsis3_w67fc_1 .6s infinite}@keyframes _traverse-ellipsis1_w67fc_1{0%{transform:scale(0)}to{transform:scale(1)}}@keyframes _traverse-ellipsis3_w67fc_1{0%{transform:scale(1)}to{transform:scale(0)}}@keyframes _traverse-ellipsis2_w67fc_1{0%{transform:translate(0)}to{transform:translate(24px)}}")), document.head.appendChild(n);
30647
+ n.appendChild(document.createTextNode("._traverse-ellipsis_14l1h_1{display:inline-block;position:relative}._traverse-ellipsis_14l1h_1 div{position:absolute;border-radius:50%}._traverse-ellipsis_14l1h_1 div:nth-child(1){left:0;animation:_traverse-ellipsis1_14l1h_1 .6s infinite}._traverse-ellipsis_14l1h_1 div:nth-child(2){left:0;animation:_traverse-ellipsis2_14l1h_1 .6s infinite}._traverse-ellipsis_14l1h_1 div:nth-child(3){left:24px;animation:_traverse-ellipsis2_14l1h_1 .6s infinite}._traverse-ellipsis_14l1h_1 div:nth-child(4){left:48px;animation:_traverse-ellipsis3_14l1h_1 .6s infinite}@keyframes _traverse-ellipsis1_14l1h_1{0%{transform:scale(0)}to{transform:scale(1)}}@keyframes _traverse-ellipsis3_14l1h_1{0%{transform:scale(1)}to{transform:scale(0)}}@keyframes _traverse-ellipsis2_14l1h_1{0%{transform:translate(0)}to{transform:translate(24px)}}")), document.head.appendChild(n);
30647
30648
  }
30648
30649
  } catch (e) {
30649
30650
  console.error("vite-plugin-css-injected-by-js", e);
30650
30651
  }
30651
30652
  })();
30652
30653
  const n$ = Be(Ye((n, e) => {
30653
- const { commands: t, commandHook: o, scope: r, disabled: i = !1, parentFloat: s, ...l } = n, a = qo(t, ["formatAlignLeftToggle", "formatAlignCenterToggle", "formatAlignRightToggle", "formatAlignJustifyToggle", "formatAlignCenterContinuousToggle", "formatAlignFillToggle", "formatAlignDistributedHorizontalToggle"]), c = ee(() => {
30654
+ const { commands: t, commandHook: o, scope: r, disabled: i = !1, parentFloat: s, ...l } = n, a = Ko(t, ["formatAlignLeftToggle", "formatAlignCenterToggle", "formatAlignRightToggle", "formatAlignJustifyToggle", "formatAlignCenterContinuousToggle", "formatAlignFillToggle", "formatAlignDistributedHorizontalToggle"]), c = ee(() => {
30654
30655
  for (let p = 0; p < a.length; p++) if (a[p]?.state()) return a[p].key();
30655
30656
  return a[0]?.key();
30656
30657
  }, [a]), d = ee(() => {
@@ -30661,12 +30662,12 @@ const n$ = Be(Ye((n, e) => {
30661
30662
  const p = { ...o };
30662
30663
  return delete p.beforeExecute, p;
30663
30664
  }, [o]), h = ce((p, g) => {
30664
- const m = { variant: pn.Menuitem, commandHook: o, scope: r, disabled: i }, f = Q(zt, { children: [S(qe, { ...m, command: g.getCommand("formatAlignLeftToggle"), icon: d.get("formatAlignLeftToggle") }), S(qe, { ...m, command: g.getCommand("formatAlignCenterToggle"), icon: d.get("formatAlignCenterToggle") }), S(qe, { ...m, command: g.getCommand("formatAlignRightToggle"), icon: d.get("formatAlignRightToggle") }), S(qe, { ...m, command: g.getCommand("formatAlignJustifyToggle"), icon: d.get("formatAlignJustifyToggle") }), S(en, { orientation: "horizontal" }), S(qe, { ...m, command: g.getCommand("formatAlignCenterContinuousToggle"), icon: d.get("formatAlignCenterContinuousToggle") }), S(qe, { ...m, command: g.getCommand("formatAlignFillToggle"), icon: d.get("formatAlignFillToggle") }), S(qe, { ...m, command: g.getCommand("formatAlignDistributedHorizontalToggle"), icon: d.get("formatAlignDistributedHorizontalToggle") })] }), y = Q(Fe, { sx: { className: Go("quick-buttons"), display: "flex", alignItems: "center", justifyContent: "center" }, onClick: (b) => b.stopPropagation(), children: [S(qe, { command: g.getCommand("formatIndentDecrease"), commandHook: u, scope: r, disabled: i, icon: Le(S(KB, {})) }), S(qe, { command: g.getCommand("formatIndentIncrease"), commandHook: u, scope: r, disabled: i, icon: Le(S(qB, {})) })] }), w = Q(Fe, { sx: { display: "flex", flexDirection: "column", flex: "1 1 100%", overflow: "hidden" }, ...l, children: [y, S(en, { orientation: "horizontal" }), S(Fe, { sx: { overflow: "auto", flex: "1 1 100%" }, children: f })] });
30665
+ const m = { variant: pn.Menuitem, commandHook: o, scope: r, disabled: i }, f = Q(zt, { children: [S(qe, { ...m, command: g.getCommand("formatAlignLeftToggle"), icon: d.get("formatAlignLeftToggle") }), S(qe, { ...m, command: g.getCommand("formatAlignCenterToggle"), icon: d.get("formatAlignCenterToggle") }), S(qe, { ...m, command: g.getCommand("formatAlignRightToggle"), icon: d.get("formatAlignRightToggle") }), S(qe, { ...m, command: g.getCommand("formatAlignJustifyToggle"), icon: d.get("formatAlignJustifyToggle") }), S(en, { orientation: "horizontal" }), S(qe, { ...m, command: g.getCommand("formatAlignCenterContinuousToggle"), icon: d.get("formatAlignCenterContinuousToggle") }), S(qe, { ...m, command: g.getCommand("formatAlignFillToggle"), icon: d.get("formatAlignFillToggle") }), S(qe, { ...m, command: g.getCommand("formatAlignDistributedHorizontalToggle"), icon: d.get("formatAlignDistributedHorizontalToggle") })] }), y = Q(Fe, { sx: { className: qo("quick-buttons"), display: "flex", alignItems: "center", justifyContent: "center" }, onClick: (b) => b.stopPropagation(), children: [S(qe, { command: g.getCommand("formatIndentDecrease"), commandHook: u, scope: r, disabled: i, icon: Le(S(KB, {})) }), S(qe, { command: g.getCommand("formatIndentIncrease"), commandHook: u, scope: r, disabled: i, icon: Le(S(qB, {})) })] }), w = Q(Fe, { sx: { display: "flex", flexDirection: "column", flex: "1 1 100%", overflow: "hidden" }, ...l, children: [y, S(en, { orientation: "horizontal" }), S(Fe, { sx: { overflow: "auto", flex: "1 1 100%" }, children: f })] });
30665
30666
  return eo({ ...p, children: w });
30666
30667
  }, [i, o]);
30667
30668
  return S(go, { ref: e, parentFloat: s, commands: t, commandHook: o, scope: r, createPopupPanel: h, label: "Horizontal Alignment", tooltip: "Configure how text is placed in the horizontal direction of the cell.", quickCommand: c, icon: d.get(c) ?? S(X6, {}), ...l });
30668
30669
  })), o$ = Be(Ye((n, e) => {
30669
- const { commands: t, commandHook: o, scope: r, disabled: i = !1, ...s } = n, l = qo(t, ["formatAlignTopToggle", "formatAlignMiddleToggle", "formatAlignBottomToggle", "formatAlignJustifyVerticalToggle", "formatAlignDistributedVerticalToggle"]), a = ee(() => {
30670
+ const { commands: t, commandHook: o, scope: r, disabled: i = !1, ...s } = n, l = Ko(t, ["formatAlignTopToggle", "formatAlignMiddleToggle", "formatAlignBottomToggle", "formatAlignJustifyVerticalToggle", "formatAlignDistributedVerticalToggle"]), a = ee(() => {
30670
30671
  for (let u = 0; u < l.length; u++) if (l[u]?.state()) return l[u].key();
30671
30672
  return l[0]?.key();
30672
30673
  }, [l]), c = ee(() => {
@@ -30678,7 +30679,7 @@ const n$ = Be(Ye((n, e) => {
30678
30679
  }, [i, o, c]);
30679
30680
  return S(go, { ref: e, commands: t, commandHook: o, createPopupPanel: d, label: "Vertical Alignment", tooltip: "Configure how text is placed in the vertical direction of the cell.", icon: c.get(a) ?? Le(S(RS, {})), ...s });
30680
30681
  })), r$ = Be(Ye((n, e) => {
30681
- const { commands: t, commandHook: o, scope: r, disabled: i = !1, ...s } = n, l = qo(t, ["formatTextOverflowVisibleToggle", "formatTextOverflowWrapToggle", "formatTextOverflowClipToggle", "formatTextOverflowShrinkToggle"]), a = ee(() => {
30682
+ const { commands: t, commandHook: o, scope: r, disabled: i = !1, ...s } = n, l = Ko(t, ["formatTextOverflowVisibleToggle", "formatTextOverflowWrapToggle", "formatTextOverflowClipToggle", "formatTextOverflowShrinkToggle"]), a = ee(() => {
30682
30683
  for (let u = 0; u < l.length; u++) if (l[u]?.state()) return l[u].key();
30683
30684
  return l[0]?.key();
30684
30685
  }, [l]), c = ee(() => {
@@ -30690,7 +30691,7 @@ const n$ = Be(Ye((n, e) => {
30690
30691
  }, [i, o, r]);
30691
30692
  return S(go, { ref: e, commands: t, commandHook: o, scope: r, label: "Text Overflow", tooltip: "Configure how text behaves when it doesn't fit within a cell.", createPopupPanel: d, icon: c.get(a) ?? Le(S(Lw, {})), ...s });
30692
30693
  })), i$ = Be(Ye((n, e) => {
30693
- const { commands: t, commandHook: o, scope: r, disabled: i = !1, ...s } = n, l = qo(t, ["formatTextRotate0", "formatTextRotate315", "formatTextRotate45", "formatTextRotate90", "formatTextRotate270", "formatSubscriptToggle", "formatTextRotateCustom"]), a = ee(() => {
30694
+ const { commands: t, commandHook: o, scope: r, disabled: i = !1, ...s } = n, l = Ko(t, ["formatTextRotate0", "formatTextRotate315", "formatTextRotate45", "formatTextRotate90", "formatTextRotate270", "formatSubscriptToggle", "formatTextRotateCustom"]), a = ee(() => {
30694
30695
  for (let h = 0; h < l.length; h++) if (l[h]?.state()) return l[h].key();
30695
30696
  return l[1]?.key();
30696
30697
  }, [l]), c = ee(() => {
@@ -31031,7 +31032,7 @@ function H2(n, e, t, o = t) {
31031
31032
  let r;
31032
31033
  return r = typeof n == "function" ? n(t) : Array.isArray(n) ? n[t] || o : Tg(n, t) || o, e && (r = e(r, o, n)), r;
31033
31034
  }
31034
- function ur(n) {
31035
+ function hr(n) {
31035
31036
  const { prop: e, cssProperty: t = n.prop, themeKey: o, transform: r } = n, i = (s) => {
31036
31037
  if (s[e] == null) return null;
31037
31038
  const l = s[e], a = Tg(s.theme, o) || {};
@@ -31079,13 +31080,13 @@ function Kk(n, e) {
31079
31080
  const t = v6(n.theme);
31080
31081
  return Object.keys(n).map((o) => G$(n, e, o, t)).reduce(D1, {});
31081
31082
  }
31082
- function Yo(n) {
31083
+ function Jo(n) {
31083
31084
  return Kk(n, Gk);
31084
31085
  }
31085
- function Jo(n) {
31086
+ function Qo(n) {
31086
31087
  return Kk(n, qk);
31087
31088
  }
31088
- Yo.propTypes = {}, Yo.filterProps = Gk, Jo.propTypes = {}, Jo.filterProps = qk;
31089
+ Jo.propTypes = {}, Jo.filterProps = Gk, Qo.propTypes = {}, Qo.filterProps = qk;
31089
31090
  const $b = (n, e, t, o = []) => {
31090
31091
  let r = n;
31091
31092
  e.forEach((i, s) => {
@@ -31123,7 +31124,7 @@ function is(n) {
31123
31124
  return typeof n != "number" ? n : `${n}px solid`;
31124
31125
  }
31125
31126
  function hs(n, e) {
31126
- return ur({ prop: n, themeKey: "borders", transform: e });
31127
+ return hr({ prop: n, themeKey: "borders", transform: e });
31127
31128
  }
31128
31129
  const K$ = hs("border", is), X$ = hs("borderTop", is), Z$ = hs("borderRight", is), Y$ = hs("borderBottom", is), J$ = hs("borderLeft", is), Q$ = hs("borderColor"), ej = hs("borderTopColor"), tj = hs("borderRightColor"), nj = hs("borderBottomColor"), oj = hs("borderLeftColor"), rj = hs("outline", is), ij = hs("outlineColor"), Zp = (n) => {
31129
31130
  if (n.borderRadius !== void 0 && n.borderRadius !== null) {
@@ -31160,12 +31161,12 @@ W2.propTypes = {}, W2.filterProps = ["rowGap"];
31160
31161
  function _c(n, e) {
31161
31162
  return e === "grey" ? e : n;
31162
31163
  }
31163
- kg($2, j2, W2, ur({ prop: "gridColumn" }), ur({ prop: "gridRow" }), ur({ prop: "gridAutoFlow" }), ur({ prop: "gridAutoColumns" }), ur({ prop: "gridAutoRows" }), ur({ prop: "gridTemplateColumns" }), ur({ prop: "gridTemplateRows" }), ur({ prop: "gridTemplateAreas" }), ur({ prop: "gridArea" }));
31164
+ kg($2, j2, W2, hr({ prop: "gridColumn" }), hr({ prop: "gridRow" }), hr({ prop: "gridAutoFlow" }), hr({ prop: "gridAutoColumns" }), hr({ prop: "gridAutoRows" }), hr({ prop: "gridTemplateColumns" }), hr({ prop: "gridTemplateRows" }), hr({ prop: "gridTemplateAreas" }), hr({ prop: "gridArea" }));
31164
31165
  function zi(n) {
31165
31166
  return n <= 1 && n !== 0 ? 100 * n + "%" : n;
31166
31167
  }
31167
- kg(ur({ prop: "color", themeKey: "palette", transform: _c }), ur({ prop: "bgcolor", cssProperty: "backgroundColor", themeKey: "palette", transform: _c }), ur({ prop: "backgroundColor", themeKey: "palette", transform: _c }));
31168
- const sj = ur({ prop: "width", transform: zi }), x6 = (n) => {
31168
+ kg(hr({ prop: "color", themeKey: "palette", transform: _c }), hr({ prop: "bgcolor", cssProperty: "backgroundColor", themeKey: "palette", transform: _c }), hr({ prop: "backgroundColor", themeKey: "palette", transform: _c }));
31169
+ const sj = hr({ prop: "width", transform: zi }), x6 = (n) => {
31169
31170
  if (n.maxWidth !== void 0 && n.maxWidth !== null) {
31170
31171
  const e = (t) => {
31171
31172
  const o = n.theme?.breakpoints?.values?.[t] || Eg[t];
@@ -31176,10 +31177,10 @@ const sj = ur({ prop: "width", transform: zi }), x6 = (n) => {
31176
31177
  return null;
31177
31178
  };
31178
31179
  x6.filterProps = ["maxWidth"];
31179
- const lj = ur({ prop: "minWidth", transform: zi }), aj = ur({ prop: "height", transform: zi }), cj = ur({ prop: "maxHeight", transform: zi }), dj = ur({ prop: "minHeight", transform: zi });
31180
- ur({ prop: "size", cssProperty: "width", transform: zi }), ur({ prop: "size", cssProperty: "height", transform: zi });
31181
- kg(sj, x6, lj, aj, cj, dj, ur({ prop: "boxSizing" }));
31182
- const Mg = { border: { themeKey: "borders", transform: is }, borderTop: { themeKey: "borders", transform: is }, borderRight: { themeKey: "borders", transform: is }, borderBottom: { themeKey: "borders", transform: is }, borderLeft: { themeKey: "borders", transform: is }, borderColor: { themeKey: "palette" }, borderTopColor: { themeKey: "palette" }, borderRightColor: { themeKey: "palette" }, borderBottomColor: { themeKey: "palette" }, borderLeftColor: { themeKey: "palette" }, outline: { themeKey: "borders", transform: is }, outlineColor: { themeKey: "palette" }, borderRadius: { themeKey: "shape.borderRadius", style: Zp }, color: { themeKey: "palette", transform: _c }, bgcolor: { themeKey: "palette", cssProperty: "backgroundColor", transform: _c }, backgroundColor: { themeKey: "palette", transform: _c }, p: { style: Jo }, pt: { style: Jo }, pr: { style: Jo }, pb: { style: Jo }, pl: { style: Jo }, px: { style: Jo }, py: { style: Jo }, padding: { style: Jo }, paddingTop: { style: Jo }, paddingRight: { style: Jo }, paddingBottom: { style: Jo }, paddingLeft: { style: Jo }, paddingX: { style: Jo }, paddingY: { style: Jo }, paddingInline: { style: Jo }, paddingInlineStart: { style: Jo }, paddingInlineEnd: { style: Jo }, paddingBlock: { style: Jo }, paddingBlockStart: { style: Jo }, paddingBlockEnd: { style: Jo }, m: { style: Yo }, mt: { style: Yo }, mr: { style: Yo }, mb: { style: Yo }, ml: { style: Yo }, mx: { style: Yo }, my: { style: Yo }, margin: { style: Yo }, marginTop: { style: Yo }, marginRight: { style: Yo }, marginBottom: { style: Yo }, marginLeft: { style: Yo }, marginX: { style: Yo }, marginY: { style: Yo }, marginInline: { style: Yo }, marginInlineStart: { style: Yo }, marginInlineEnd: { style: Yo }, marginBlock: { style: Yo }, marginBlockStart: { style: Yo }, marginBlockEnd: { style: Yo }, displayPrint: { cssProperty: !1, transform: (n) => ({ "@media print": { display: n } }) }, display: {}, overflow: {}, textOverflow: {}, visibility: {}, whiteSpace: {}, flexBasis: {}, flexDirection: {}, flexWrap: {}, justifyContent: {}, alignItems: {}, alignContent: {}, order: {}, flex: {}, flexGrow: {}, flexShrink: {}, alignSelf: {}, justifyItems: {}, justifySelf: {}, gap: { style: $2 }, rowGap: { style: W2 }, columnGap: { style: j2 }, gridColumn: {}, gridRow: {}, gridAutoFlow: {}, gridAutoColumns: {}, gridAutoRows: {}, gridTemplateColumns: {}, gridTemplateRows: {}, gridTemplateAreas: {}, gridArea: {}, position: {}, zIndex: { themeKey: "zIndex" }, top: {}, right: {}, bottom: {}, left: {}, boxShadow: { themeKey: "shadows" }, width: { transform: zi }, maxWidth: { style: x6 }, minWidth: { transform: zi }, height: { transform: zi }, maxHeight: { transform: zi }, minHeight: { transform: zi }, boxSizing: {}, font: { themeKey: "font" }, fontFamily: { themeKey: "typography" }, fontSize: { themeKey: "typography" }, fontStyle: { themeKey: "typography" }, fontWeight: { themeKey: "typography" }, letterSpacing: {}, textTransform: {}, lineHeight: {}, textAlign: {}, typography: { cssProperty: !1, themeKey: "typography" } }, Hu = /* @__PURE__ */ function() {
31180
+ const lj = hr({ prop: "minWidth", transform: zi }), aj = hr({ prop: "height", transform: zi }), cj = hr({ prop: "maxHeight", transform: zi }), dj = hr({ prop: "minHeight", transform: zi });
31181
+ hr({ prop: "size", cssProperty: "width", transform: zi }), hr({ prop: "size", cssProperty: "height", transform: zi });
31182
+ kg(sj, x6, lj, aj, cj, dj, hr({ prop: "boxSizing" }));
31183
+ const Mg = { border: { themeKey: "borders", transform: is }, borderTop: { themeKey: "borders", transform: is }, borderRight: { themeKey: "borders", transform: is }, borderBottom: { themeKey: "borders", transform: is }, borderLeft: { themeKey: "borders", transform: is }, borderColor: { themeKey: "palette" }, borderTopColor: { themeKey: "palette" }, borderRightColor: { themeKey: "palette" }, borderBottomColor: { themeKey: "palette" }, borderLeftColor: { themeKey: "palette" }, outline: { themeKey: "borders", transform: is }, outlineColor: { themeKey: "palette" }, borderRadius: { themeKey: "shape.borderRadius", style: Zp }, color: { themeKey: "palette", transform: _c }, bgcolor: { themeKey: "palette", cssProperty: "backgroundColor", transform: _c }, backgroundColor: { themeKey: "palette", transform: _c }, p: { style: Qo }, pt: { style: Qo }, pr: { style: Qo }, pb: { style: Qo }, pl: { style: Qo }, px: { style: Qo }, py: { style: Qo }, padding: { style: Qo }, paddingTop: { style: Qo }, paddingRight: { style: Qo }, paddingBottom: { style: Qo }, paddingLeft: { style: Qo }, paddingX: { style: Qo }, paddingY: { style: Qo }, paddingInline: { style: Qo }, paddingInlineStart: { style: Qo }, paddingInlineEnd: { style: Qo }, paddingBlock: { style: Qo }, paddingBlockStart: { style: Qo }, paddingBlockEnd: { style: Qo }, m: { style: Jo }, mt: { style: Jo }, mr: { style: Jo }, mb: { style: Jo }, ml: { style: Jo }, mx: { style: Jo }, my: { style: Jo }, margin: { style: Jo }, marginTop: { style: Jo }, marginRight: { style: Jo }, marginBottom: { style: Jo }, marginLeft: { style: Jo }, marginX: { style: Jo }, marginY: { style: Jo }, marginInline: { style: Jo }, marginInlineStart: { style: Jo }, marginInlineEnd: { style: Jo }, marginBlock: { style: Jo }, marginBlockStart: { style: Jo }, marginBlockEnd: { style: Jo }, displayPrint: { cssProperty: !1, transform: (n) => ({ "@media print": { display: n } }) }, display: {}, overflow: {}, textOverflow: {}, visibility: {}, whiteSpace: {}, flexBasis: {}, flexDirection: {}, flexWrap: {}, justifyContent: {}, alignItems: {}, alignContent: {}, order: {}, flex: {}, flexGrow: {}, flexShrink: {}, alignSelf: {}, justifyItems: {}, justifySelf: {}, gap: { style: $2 }, rowGap: { style: W2 }, columnGap: { style: j2 }, gridColumn: {}, gridRow: {}, gridAutoFlow: {}, gridAutoColumns: {}, gridAutoRows: {}, gridTemplateColumns: {}, gridTemplateRows: {}, gridTemplateAreas: {}, gridArea: {}, position: {}, zIndex: { themeKey: "zIndex" }, top: {}, right: {}, bottom: {}, left: {}, boxShadow: { themeKey: "shadows" }, width: { transform: zi }, maxWidth: { style: x6 }, minWidth: { transform: zi }, height: { transform: zi }, maxHeight: { transform: zi }, minHeight: { transform: zi }, boxSizing: {}, font: { themeKey: "font" }, fontFamily: { themeKey: "typography" }, fontSize: { themeKey: "typography" }, fontStyle: { themeKey: "typography" }, fontWeight: { themeKey: "typography" }, letterSpacing: {}, textTransform: {}, lineHeight: {}, textAlign: {}, typography: { cssProperty: !1, themeKey: "typography" } }, Hu = /* @__PURE__ */ function() {
31183
31184
  function n(e, t, o, r) {
31184
31185
  const i = { [e]: t, theme: o }, s = r[e];
31185
31186
  if (!s) return { [e]: t };
@@ -31280,10 +31281,10 @@ function Xk(n, e) {
31280
31281
  }, m = { h1: g(r, 96, 1.167, -1.5), h2: g(r, 60, 1.2, -0.5), h3: g(i, 48, 1.167, 0), h4: g(i, 34, 1.235, 0.25), h5: g(i, 24, 1.334, 0), h6: g(s, 20, 1.6, 0.15), subtitle1: g(i, 16, 1.75, 0.15), subtitle2: g(s, 14, 1.57, 0.1), body1: g(i, 16, 1.5, 0.15), body2: g(i, 14, 1.43, 0.15), button: g(s, 14, 1.75, 0.4, jb), caption: g(i, 12, 1.66, 0.4), overline: g(i, 12, 2.66, 1, jb), inherit: { fontFamily: "inherit", fontWeight: "inherit", fontSize: "inherit", lineHeight: "inherit", letterSpacing: "inherit" } };
31281
31282
  return $i({ htmlFontSize: a, pxToRem: p, fontFamily: t, fontSize: o, fontWeightLight: r, fontWeightRegular: i, fontWeightMedium: s, fontWeightBold: l, ...m }, u, { clone: !1 });
31282
31283
  }
31283
- function Lo(...n) {
31284
+ function zo(...n) {
31284
31285
  return [`${n[0]}px ${n[1]}px ${n[2]}px ${n[3]}px rgba(0,0,0,0.2)`, `${n[4]}px ${n[5]}px ${n[6]}px ${n[7]}px rgba(0,0,0,0.14)`, `${n[8]}px ${n[9]}px ${n[10]}px ${n[11]}px rgba(0,0,0,0.12)`].join(",");
31285
31286
  }
31286
- const gj = ["none", Lo(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), Lo(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), Lo(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), Lo(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), Lo(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), Lo(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), Lo(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), Lo(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), Lo(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), Lo(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), Lo(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), Lo(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), Lo(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), Lo(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), Lo(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), Lo(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), Lo(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), Lo(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), Lo(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), Lo(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), Lo(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), Lo(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), Lo(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), Lo(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], mj = { easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)", easeOut: "cubic-bezier(0.0, 0, 0.2, 1)", easeIn: "cubic-bezier(0.4, 0, 1, 1)", sharp: "cubic-bezier(0.4, 0, 0.6, 1)" }, fj = { shortest: 150, shorter: 200, short: 250, standard: 300, complex: 375, enteringScreen: 225, leavingScreen: 195 };
31287
+ const gj = ["none", zo(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), zo(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), zo(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), zo(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), zo(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), zo(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), zo(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), zo(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), zo(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), zo(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), zo(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), zo(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), zo(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), zo(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), zo(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), zo(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), zo(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), zo(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), zo(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), zo(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), zo(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), zo(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), zo(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), zo(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], mj = { easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)", easeOut: "cubic-bezier(0.0, 0, 0.2, 1)", easeIn: "cubic-bezier(0.4, 0, 1, 1)", sharp: "cubic-bezier(0.4, 0, 0.6, 1)" }, fj = { shortest: 150, shorter: 200, short: 250, standard: 300, complex: 375, enteringScreen: 225, leavingScreen: 195 };
31287
31288
  function Ub(n) {
31288
31289
  return `${Math.round(n)}ms`;
31289
31290
  }
@@ -31518,7 +31519,7 @@ function Nj({ theme: n, ...e }) {
31518
31519
  try {
31519
31520
  if (typeof document < "u") {
31520
31521
  var n = document.createElement("style");
31521
- n.appendChild(document.createTextNode("._sheetxl-grid_11irg_13{position:relative;box-sizing:border-box;user-select:none}._sheetxl-grid_11irg_13 *{box-sizing:border-box!important}._sheetxl-grid_11irg_13 *:focus{outline:none}._sheetxl-grid_11irg_13 .cell-container{position:absolute;overflow:visible;white-space:pre}._sheetxl-grid_11irg_13 .cell-container>*{inset:0;position:absolute}._sheetxl-grid_11irg_13 .sheetxl-stage{contain:strict}._sheetxl-grid_11irg_13 .sheetxl-stage>*{contain:strict}")), document.head.appendChild(n);
31522
+ n.appendChild(document.createTextNode("._sheetxl-grid_h9wwa_7{position:relative;box-sizing:border-box;user-select:none}._sheetxl-grid_h9wwa_7 *{box-sizing:border-box!important}._sheetxl-grid_h9wwa_7 *:focus{outline:none}._sheetxl-grid_h9wwa_7 .cell-container{position:absolute;overflow:visible;white-space:pre}._sheetxl-grid_h9wwa_7 .cell-container>*{inset:0;position:absolute}._sheetxl-grid_h9wwa_7 .sheetxl-stage{contain:strict}._sheetxl-grid_h9wwa_7 .sheetxl-stage>*{contain:strict}")), document.head.appendChild(n);
31522
31523
  }
31523
31524
  } catch (e) {
31524
31525
  console.error("vite-plugin-css-injected-by-js", e);
@@ -32325,13 +32326,13 @@ var Kf;
32325
32326
  try {
32326
32327
  if (typeof document < "u") {
32327
32328
  var n = document.createElement("style");
32328
- n.appendChild(document.createTextNode("._sheetxl-scrollbar_18qzf_11 ::-webkit-scrollbar-button{background:transparent}._fullscreen-portal-root_5qk7s_7{pointer-events:none;position:absolute;inset:0;width:100%;height:100%;z-index:1200}._fullscreen-portal-root_5qk7s_7>*{pointer-events:auto}")), document.head.appendChild(n);
32329
+ n.appendChild(document.createTextNode("._sheetxl-scrollbar_eblx4_6 ::-webkit-scrollbar-button{background:transparent}._fullscreen-portal-root_1mjsr_4{pointer-events:none;position:absolute;inset:0;width:100%;height:100%;z-index:1200}._fullscreen-portal-root_1mjsr_4>*{pointer-events:auto}")), document.head.appendChild(n);
32329
32330
  }
32330
32331
  } catch (e) {
32331
32332
  console.error("vite-plugin-css-injected-by-js", e);
32332
32333
  }
32333
32334
  }();
32334
- const S1 = { Left: "left", Right: "right", Center: "center" }, rr = "shift", Ma = "alt", Vr = "ctrl", ya = { Horizontal: "horizontal", Vertical: "vertical" };
32335
+ const S1 = { Left: "left", Right: "right", Center: "center" }, ir = "shift", Ma = "alt", Vr = "ctrl", ya = { Horizontal: "horizontal", Vertical: "vertical" };
32335
32336
  function dM(n) {
32336
32337
  var e, t, o = "";
32337
32338
  if (typeof n == "string" || typeof n == "number") o += n;
@@ -32425,7 +32426,7 @@ const _6 = Be(Ye((n, e) => {
32425
32426
  const V = { orientation: l, disabled: Math.floor(I - T) <= Math.ceil(W), onMouseUp: $, onMouseLeave: $, onMouseDown: () => j(W, !0, !1) };
32426
32427
  return m?.(V);
32427
32428
  }, [d, l, W, A, I, T]);
32428
- return Q("div", { ref: e, style: { display: "flex", flex: "1", flexDirection: M ? "column" : "row", padding: "0", ...i }, className: ic("_sheetxl-scrollbar_18qzf_11", s), ...f, children: [P, S("div", { className: "pseudo-scrollbar", style: { flex: "1 1 100%", display: "flex", boxSizing: "content-box", flexDirection: M ? "column" : "row", justifyContent: "center", alignItems: "center" }, ref: b, children: S("div", { tabIndex: -1, style: { flex: "1 1 100%", overflowY: M ? "scroll" : "hidden", overflowX: M ? "hidden" : "scroll", position: "relative", willChange: "transform" }, onScroll: z, ref: w, children: S("div", { ref: _, style: { position: "absolute", height: M ? o - r + (x ?? 0) : 1, width: M ? 1 : o - r + (v ?? 0) }, className: "scrollbar-viewport" }) }) }), H] });
32429
+ return Q("div", { ref: e, style: { display: "flex", flex: "1", flexDirection: M ? "column" : "row", padding: "0", ...i }, className: ic("_sheetxl-scrollbar_eblx4_6", s), ...f, children: [P, S("div", { className: "pseudo-scrollbar", style: { flex: "1 1 100%", display: "flex", boxSizing: "content-box", flexDirection: M ? "column" : "row", justifyContent: "center", alignItems: "center" }, ref: b, children: S("div", { tabIndex: -1, style: { flex: "1 1 100%", overflowY: M ? "scroll" : "hidden", overflowX: M ? "hidden" : "scroll", position: "relative", willChange: "transform" }, onScroll: z, ref: w, children: S("div", { ref: _, style: { position: "absolute", height: M ? o - r + (x ?? 0) : 1, width: M ? 1 : o - r + (v ?? 0) }, className: "scrollbar-viewport" }) }) }), H] });
32429
32430
  }));
32430
32431
  _6.displayName = "Scrollbar";
32431
32432
  let yv = Date.now, ta = {}, eW = 1;
@@ -32679,7 +32680,7 @@ function SM() {
32679
32680
  const e = document.fullscreenElement;
32680
32681
  if (!e) return;
32681
32682
  let t = e.querySelector(".fullscreen-portal-root");
32682
- t || (t = document.createElement("div"), t.className = "fullscreen-portal-root _fullscreen-portal-root_5qk7s_7", e.appendChild(t));
32683
+ t || (t = document.createElement("div"), t.className = "fullscreen-portal-root _fullscreen-portal-root_1mjsr_4", e.appendChild(t));
32683
32684
  }
32684
32685
  return Gh++, n(), document.addEventListener("fullscreenchange", n), () => {
32685
32686
  document.removeEventListener("fullscreenchange", n), Gh--, Gh <= 0 && (document.querySelectorAll(".fullscreen-portal-root").forEach((e) => {
@@ -33822,7 +33823,7 @@ const ai = -10, jW = Object.freeze({ rowStart: 0, colStart: 0, rowEnd: 0, colEnd
33822
33823
  }, []), Oo = ce((K = !1) => {
33823
33824
  const X = { colIndex: H().left };
33824
33825
  K ? Ae(X) : Ne(X), Pe(X);
33825
- }, []), Po = ce((K = !1) => {
33826
+ }, []), Bo = ce((K = !1) => {
33826
33827
  const X = H(), Ce = { rowIndex: X.top, colIndex: X.left };
33827
33828
  K ? Ae(Ce) : Ne(Ce), Pe(Ce);
33828
33829
  }, []), Jn = ce((K = !1) => {
@@ -33862,7 +33863,7 @@ const ai = -10, jW = Object.freeze({ rowStart: 0, colStart: 0, rowEnd: 0, colEnd
33862
33863
  Ot(fo, K, !1, n.current.getDimensions().containerHeight);
33863
33864
  }, []), kn = ce((K = !1) => {
33864
33865
  Ot(mo, K, !1, n.current.getDimensions().containerHeight);
33865
- }, []), Bo = ce((K = !1) => {
33866
+ }, []), Vo = ce((K = !1) => {
33866
33867
  Ot(ro, K, !1, n.current.getDimensions().containerWidth);
33867
33868
  }, []), _r = ce((K = !1) => {
33868
33869
  Ot(po, K, !1, n.current.getDimensions().containerWidth);
@@ -34071,8 +34072,8 @@ const ai = -10, jW = Object.freeze({ rowStart: 0, colStart: 0, rowEnd: 0, colEnd
34071
34072
  let wi = null;
34072
34073
  if (cn || In) {
34073
34074
  if (wi = K.toClipBounds(ao, ai), Object.keys(K.allViews()).length > 1) {
34074
- const Rl = K.getVisibleRangeCoords(), ju = K.allViews()[U2], Mr = K.allViews()[cu], tr = K.allViews()[du], sn = K.getAnchor();
34075
- (In && (sn === cu && ju || sn === Di && tr || !nn.isCellWithinRange({ colIndex: on.colStart, rowIndex: on.rowEnd }, Rl) && !nn.isCellWithinRange({ colIndex: on.colStart, rowIndex: on.rowEnd + 1 }, Rl)) || cn && (sn === du && ju || sn === Di && Mr || !nn.isCellWithinRange({ colIndex: on.colEnd, rowIndex: on.rowStart }, Rl) && !nn.isCellWithinRange({ colIndex: on.colEnd + 1, rowIndex: on.rowStart }, Rl))) && (wi = null);
34075
+ const Rl = K.getVisibleRangeCoords(), ju = K.allViews()[U2], Mr = K.allViews()[cu], nr = K.allViews()[du], sn = K.getAnchor();
34076
+ (In && (sn === cu && ju || sn === Di && nr || !nn.isCellWithinRange({ colIndex: on.colStart, rowIndex: on.rowEnd }, Rl) && !nn.isCellWithinRange({ colIndex: on.colStart, rowIndex: on.rowEnd + 1 }, Rl)) || cn && (sn === du && ju || sn === Di && Mr || !nn.isCellWithinRange({ colIndex: on.colEnd, rowIndex: on.rowStart }, Rl) && !nn.isCellWithinRange({ colIndex: on.colEnd + 1, rowIndex: on.rowStart }, Rl))) && (wi = null);
34076
34077
  }
34077
34078
  } else wi = K.toClipBounds(ao, ai);
34078
34079
  if (!wi || wi.width === 0 || wi.height === 0) continue;
@@ -34103,9 +34104,9 @@ const ai = -10, jW = Object.freeze({ rowStart: 0, colStart: 0, rowEnd: 0, colEnd
34103
34104
  return S("div", { children: zn }, "selection");
34104
34105
  }, [_e, $e, g, ge, L, _n, H, m, F, B, $, j, W, P, Ge]), Bt = ee(() => {
34105
34106
  const K = () => n.current;
34106
- return [new Nn("moveToPageDown", K, { label: "Page Down", description: "Shift viewport down one page.", shortcut: [{ key: "PageDown" }] }, () => Yn(!1)), new Nn("selectToPageDown", K, { label: "Select To Page Down", description: "Shift viewport and select down one page.", shortcut: [{ key: "PageDown", modifiers: [rr] }] }, () => Yn(!0)), new Nn("moveToPageRight", K, { label: "Page Right", description: "Shift viewport right one page.", shortcut: [{ key: "PageDown", modifiers: [Ma] }] }, () => Bo(!1)), new Nn("selectToPageRight", K, { label: "Page Right", description: "Shift viewport right one page.", shortcut: [{ key: "PageDown", modifiers: [Ma, rr] }] }, () => Bo(!0)), new Nn("moveToPageUp", K, { label: "Page Up", description: "Shift viewport up one page.", shortcut: [{ key: "PageUp" }] }, () => kn(!1)), new Nn("selectToPageUp", K, { label: "Page Up", description: "Shift viewport up one page.", shortcut: [{ key: "PageUp", modifiers: [rr] }] }, () => kn(!0)), new Nn("moveToPageLeft", K, { label: "Page Left", description: "Shift viewport left one page.", shortcut: [{ key: "PageUp", modifiers: [Ma] }] }, () => _r(!1)), new Nn("selectToPageLeft", K, { label: "Page Left", description: "Shift viewport left one page.", shortcut: [{ key: "PageUp", modifiers: [Ma, rr] }] }, () => _r(!0)), new Nn("selectColumn", K, { label: "Select Column", description: "Select the columns for the selected cells.", shortcut: { key: "Space", modifiers: [Vr] } }, an), new Nn("selectRow", K, { label: "Select Row", description: "Select the rows for the selected cells.", shortcut: { key: "Space", modifiers: [rr] } }, mn), new Nn("selectToColumnStart", K, { label: "Select To Column Start", description: "Select the columns to the beginning of the sheet." }, () => Hn(!0)), new Nn("selectToColumnEnd", K, { label: "Select To Column End", description: "Select the columns to the end of the sheet." }, () => lo(!0)), new Nn("moveToRowStart", K, { label: "Move to Row Home", description: "Move to the beginning of the row.", shortcut: [{ key: "Home" }] }, () => Oo(!1)), new Nn("selectToRowStart", K, { label: "Select to Row Home", description: "Select to the beginning of the row.", shortcut: [{ key: "Home", modifiers: [rr] }] }, () => Oo(!0)), new Nn("moveToSheetStart", K, { label: "Move to Sheet Home", description: "Move to the beginning of the sheet.", shortcut: [{ key: "Home", modifiers: [Vr] }] }, () => Po(!1)), new Nn("selectToSheetStart", K, { label: "Select to Sheet Home", description: "Select to the beginning of the sheet.", shortcut: [{ key: "Home", modifiers: [Vr, rr] }] }, () => Po(!0)), new Nn("moveToRowEnd", K, { label: "Move to Row End", description: "Move to the end of the row.", shortcut: [{ key: "End" }] }, () => Jn(!1)), new Nn("selectToRowEnd", K, { label: "Select to Row End", description: "Select to the end of the row.", shortcut: [{ key: "End", modifiers: [rr] }] }, () => Jn(!0)), new Nn("moveToSheetEnd", K, { label: "Move to Sheet End", description: "Move to the end of the sheet.", shortcut: [{ key: "End", modifiers: [Vr] }] }, () => Dt(!1)), new Nn("selectToSheetEnd", K, { label: "Select to Sheet End", description: "Select to the end of the sheet.", shortcut: [{ key: "End", modifiers: [Vr, rr] }] }, () => Dt(!0)), new Nn("scrollToActiveCoords", K, { label: "Scroll to Active Cell", description: "Scroll to the Active Cell.", shortcut: { key: "Backspace", modifiers: [Vr] } }, Rn), new Nn("scrollToActiveCoordsClearSelection", K, { label: "Scroll to Active Cell", description: "Scroll to the Active Cell and clear selection.", shortcut: { key: "Backspace", modifiers: [rr] } }, () => {
34107
+ return [new Nn("moveToPageDown", K, { label: "Page Down", description: "Shift viewport down one page.", shortcut: [{ key: "PageDown" }] }, () => Yn(!1)), new Nn("selectToPageDown", K, { label: "Select To Page Down", description: "Shift viewport and select down one page.", shortcut: [{ key: "PageDown", modifiers: [ir] }] }, () => Yn(!0)), new Nn("moveToPageRight", K, { label: "Page Right", description: "Shift viewport right one page.", shortcut: [{ key: "PageDown", modifiers: [Ma] }] }, () => Vo(!1)), new Nn("selectToPageRight", K, { label: "Page Right", description: "Shift viewport right one page.", shortcut: [{ key: "PageDown", modifiers: [Ma, ir] }] }, () => Vo(!0)), new Nn("moveToPageUp", K, { label: "Page Up", description: "Shift viewport up one page.", shortcut: [{ key: "PageUp" }] }, () => kn(!1)), new Nn("selectToPageUp", K, { label: "Page Up", description: "Shift viewport up one page.", shortcut: [{ key: "PageUp", modifiers: [ir] }] }, () => kn(!0)), new Nn("moveToPageLeft", K, { label: "Page Left", description: "Shift viewport left one page.", shortcut: [{ key: "PageUp", modifiers: [Ma] }] }, () => _r(!1)), new Nn("selectToPageLeft", K, { label: "Page Left", description: "Shift viewport left one page.", shortcut: [{ key: "PageUp", modifiers: [Ma, ir] }] }, () => _r(!0)), new Nn("selectColumn", K, { label: "Select Column", description: "Select the columns for the selected cells.", shortcut: { key: "Space", modifiers: [Vr] } }, an), new Nn("selectRow", K, { label: "Select Row", description: "Select the rows for the selected cells.", shortcut: { key: "Space", modifiers: [ir] } }, mn), new Nn("selectToColumnStart", K, { label: "Select To Column Start", description: "Select the columns to the beginning of the sheet." }, () => Hn(!0)), new Nn("selectToColumnEnd", K, { label: "Select To Column End", description: "Select the columns to the end of the sheet." }, () => lo(!0)), new Nn("moveToRowStart", K, { label: "Move to Row Home", description: "Move to the beginning of the row.", shortcut: [{ key: "Home" }] }, () => Oo(!1)), new Nn("selectToRowStart", K, { label: "Select to Row Home", description: "Select to the beginning of the row.", shortcut: [{ key: "Home", modifiers: [ir] }] }, () => Oo(!0)), new Nn("moveToSheetStart", K, { label: "Move to Sheet Home", description: "Move to the beginning of the sheet.", shortcut: [{ key: "Home", modifiers: [Vr] }] }, () => Bo(!1)), new Nn("selectToSheetStart", K, { label: "Select to Sheet Home", description: "Select to the beginning of the sheet.", shortcut: [{ key: "Home", modifiers: [Vr, ir] }] }, () => Bo(!0)), new Nn("moveToRowEnd", K, { label: "Move to Row End", description: "Move to the end of the row.", shortcut: [{ key: "End" }] }, () => Jn(!1)), new Nn("selectToRowEnd", K, { label: "Select to Row End", description: "Select to the end of the row.", shortcut: [{ key: "End", modifiers: [ir] }] }, () => Jn(!0)), new Nn("moveToSheetEnd", K, { label: "Move to Sheet End", description: "Move to the end of the sheet.", shortcut: [{ key: "End", modifiers: [Vr] }] }, () => Dt(!1)), new Nn("selectToSheetEnd", K, { label: "Select to Sheet End", description: "Select to the end of the sheet.", shortcut: [{ key: "End", modifiers: [Vr, ir] }] }, () => Dt(!0)), new Nn("scrollToActiveCoords", K, { label: "Scroll to Active Cell", description: "Scroll to the Active Cell.", shortcut: { key: "Backspace", modifiers: [Vr] } }, Rn), new Nn("scrollToActiveCoordsClearSelection", K, { label: "Scroll to Active Cell", description: "Scroll to the Active Cell and clear selection.", shortcut: { key: "Backspace", modifiers: [ir] } }, () => {
34107
34108
  xt(), Tn(te.cell, !0);
34108
- }), new Nn("traverseSelectionRight", K, { label: "Traverse Right", description: "Traverse the selection moving rightward.", shortcut: { key: "Tab" } }, si), new Nn("traverseSelectionLeft", K, { label: "Traverse Left", description: "Traverse the selection moving leftward.", shortcut: { key: "Tab", modifiers: [rr] } }, Ur), new Nn("traverseSelectionDown", K, { label: "Traverse Down", description: "Traverse the selection moving downward.", shortcut: [{ key: "Enter" }, { key: "NumpadEnter" }] }, li), new Nn("traverseSelectionUp", K, { label: "Traverse Up", description: "Traverse the selection moving upward.", shortcut: [{ key: "Enter", modifiers: [rr] }, { key: "NumpadEnter", modifiers: [rr] }] }, ps), new Nn("moveLeft", K, { label: "Move Left", description: "Move active cell to the left.", shortcut: [{ key: "ArrowLeft" }] }, Fr), new Nn("selectLeft", K, { label: "Select Left", description: "Extend selection left.", shortcut: [{ key: "ArrowLeft", modifiers: [rr] }] }, tt), new Nn("moveContentfulLeft", K, { label: "Move Left Contentful", description: "Move left to the next cell with content.", shortcut: [{ key: "ArrowLeft", modifiers: [Vr] }] }, Et), new Nn("selectContentfulLeft", K, { label: "Select Left Contentful", description: "Extend selection left to the next cell with content.", shortcut: [{ key: "ArrowLeft", modifiers: [Vr, rr] }] }, Mt), new Nn("moveRight", K, { label: "Move Right", description: "Move active cell to the right.", shortcut: [{ key: "ArrowRight" }] }, ht), new Nn("selectRight", K, { label: "Select Right", description: "Extend selection right.", shortcut: [{ key: "ArrowRight", modifiers: [rr] }] }, At), new Nn("moveContentfulRight", K, { label: "Move Right Contentful", description: "Move right to the next cell with content.", shortcut: [{ key: "ArrowRight", modifiers: [Vr] }] }, jt), new Nn("selectContentfulRight", K, { label: "Select Right Contentful", description: "Extend selection right to the next cell with content.", shortcut: [{ key: "ArrowRight", modifiers: [Vr, rr] }] }, Kt), new Nn("moveUp", K, { label: "Move Up", description: "Move active cell to the up.", shortcut: [{ key: "ArrowUp" }] }, Wt), new Nn("selectUp", K, { label: "Select Up", description: "Extend selection up.", shortcut: [{ key: "ArrowUp", modifiers: [rr] }] }, Jt), new Nn("moveContentfulUp", K, { label: "Move Up Contentful", description: "Move up to the next cell with content.", shortcut: [{ key: "ArrowUp", modifiers: [Vr] }] }, Zt), new Nn("selectContentfulUp", K, { label: "Select Up Contentful", description: "Extend selection up to the next cell with content.", shortcut: [{ key: "ArrowUp", modifiers: [Vr, rr] }] }, Mn), new Nn("moveDown", K, { label: "Move Down", description: "Move active cell to the down.", shortcut: [{ key: "ArrowDown" }] }, Zn), new Nn("selectDown", K, { label: "Select Down", description: "Extend selection down.", shortcut: [{ key: "ArrowDown", modifiers: [rr] }] }, Fn), new Nn("moveContentfulDown", K, { label: "Move Down Contentful", description: "Move down to the next cell with content.", shortcut: [{ key: "ArrowDown", modifiers: [Vr] }] }, Ve), new Nn("selectContentfulDown", K, { label: "Select Down Contentful", description: "Extend selection down to the next cell with content.", shortcut: [{ key: "ArrowDown", modifiers: [Vr, rr] }] }, Pt), new Nn("selectVisible", K, { label: "Select Visible", description: "Select visible cells only.", shortcut: { key: ";", modifiers: [Ma] } }, Xn), new Nn("traverseSelectionPreviousRange", K, { label: "Traverse Previous Range", description: "Traverse the selection to the previous range.", shortcut: { key: "ArrowLeft", modifiers: [Vr, Ma] } }, Ui), new Nn("traverseSelectionNextRange", K, { label: "Traverse Next Range", description: "Traverse the selection to the next range.", shortcut: { key: "ArrowRight", modifiers: [Vr, Ma] } }, Ns), new Nn("traverseSelectionCorners", K, { label: "Traverse Corners", description: "Traverse the selection through the corners of the selected range.", shortcut: { key: ".", modifiers: [Vr] } }, Gi)];
34109
+ }), new Nn("traverseSelectionRight", K, { label: "Traverse Right", description: "Traverse the selection moving rightward.", shortcut: { key: "Tab" } }, si), new Nn("traverseSelectionLeft", K, { label: "Traverse Left", description: "Traverse the selection moving leftward.", shortcut: { key: "Tab", modifiers: [ir] } }, Ur), new Nn("traverseSelectionDown", K, { label: "Traverse Down", description: "Traverse the selection moving downward.", shortcut: [{ key: "Enter" }, { key: "NumpadEnter" }] }, li), new Nn("traverseSelectionUp", K, { label: "Traverse Up", description: "Traverse the selection moving upward.", shortcut: [{ key: "Enter", modifiers: [ir] }, { key: "NumpadEnter", modifiers: [ir] }] }, ps), new Nn("moveLeft", K, { label: "Move Left", description: "Move active cell to the left.", shortcut: [{ key: "ArrowLeft" }] }, Fr), new Nn("selectLeft", K, { label: "Select Left", description: "Extend selection left.", shortcut: [{ key: "ArrowLeft", modifiers: [ir] }] }, tt), new Nn("moveContentfulLeft", K, { label: "Move Left Contentful", description: "Move left to the next cell with content.", shortcut: [{ key: "ArrowLeft", modifiers: [Vr] }] }, Et), new Nn("selectContentfulLeft", K, { label: "Select Left Contentful", description: "Extend selection left to the next cell with content.", shortcut: [{ key: "ArrowLeft", modifiers: [Vr, ir] }] }, Mt), new Nn("moveRight", K, { label: "Move Right", description: "Move active cell to the right.", shortcut: [{ key: "ArrowRight" }] }, ht), new Nn("selectRight", K, { label: "Select Right", description: "Extend selection right.", shortcut: [{ key: "ArrowRight", modifiers: [ir] }] }, At), new Nn("moveContentfulRight", K, { label: "Move Right Contentful", description: "Move right to the next cell with content.", shortcut: [{ key: "ArrowRight", modifiers: [Vr] }] }, jt), new Nn("selectContentfulRight", K, { label: "Select Right Contentful", description: "Extend selection right to the next cell with content.", shortcut: [{ key: "ArrowRight", modifiers: [Vr, ir] }] }, Kt), new Nn("moveUp", K, { label: "Move Up", description: "Move active cell to the up.", shortcut: [{ key: "ArrowUp" }] }, Wt), new Nn("selectUp", K, { label: "Select Up", description: "Extend selection up.", shortcut: [{ key: "ArrowUp", modifiers: [ir] }] }, Jt), new Nn("moveContentfulUp", K, { label: "Move Up Contentful", description: "Move up to the next cell with content.", shortcut: [{ key: "ArrowUp", modifiers: [Vr] }] }, Zt), new Nn("selectContentfulUp", K, { label: "Select Up Contentful", description: "Extend selection up to the next cell with content.", shortcut: [{ key: "ArrowUp", modifiers: [Vr, ir] }] }, Mn), new Nn("moveDown", K, { label: "Move Down", description: "Move active cell to the down.", shortcut: [{ key: "ArrowDown" }] }, Zn), new Nn("selectDown", K, { label: "Select Down", description: "Extend selection down.", shortcut: [{ key: "ArrowDown", modifiers: [ir] }] }, Fn), new Nn("moveContentfulDown", K, { label: "Move Down Contentful", description: "Move down to the next cell with content.", shortcut: [{ key: "ArrowDown", modifiers: [Vr] }] }, Ve), new Nn("selectContentfulDown", K, { label: "Select Down Contentful", description: "Extend selection down to the next cell with content.", shortcut: [{ key: "ArrowDown", modifiers: [Vr, ir] }] }, Pt), new Nn("selectVisible", K, { label: "Select Visible", description: "Select visible cells only.", shortcut: { key: ";", modifiers: [Ma] } }, Xn), new Nn("traverseSelectionPreviousRange", K, { label: "Traverse Previous Range", description: "Traverse the selection to the previous range.", shortcut: { key: "ArrowLeft", modifiers: [Vr, Ma] } }, Ui), new Nn("traverseSelectionNextRange", K, { label: "Traverse Next Range", description: "Traverse the selection to the next range.", shortcut: { key: "ArrowRight", modifiers: [Vr, Ma] } }, Ns), new Nn("traverseSelectionCorners", K, { label: "Traverse Corners", description: "Traverse the selection through the corners of the selected range.", shortcut: { key: ".", modifiers: [Vr] } }, Gi)];
34109
34110
  }, []);
34110
34111
  return ee(() => {
34111
34112
  e?.addCommands(Bt, !0);
@@ -34114,7 +34115,7 @@ const ai = -10, jW = Object.freeze({ rowStart: 0, colStart: 0, rowEnd: 0, colEnd
34114
34115
  function Qp(n, e) {
34115
34116
  if (!n) throw new Error("Invariant failed");
34116
34117
  }
34117
- const Ov = { "sheetxl-grid": "_sheetxl-grid_11irg_13" }, UW = Object.freeze({ top: 0, left: 0 }), GW = Object.freeze({ bottom: -4, right: -4 }), qW = Object.freeze({ horizontal: !0, vertical: !0 }), Nv = [U2, cu, du, Di], Ps = 3e3, e5 = {}, IM = Be(Ye((n, e) => {
34118
+ const Ov = { "sheetxl-grid": "_sheetxl-grid_h9wwa_7" }, UW = Object.freeze({ top: 0, left: 0 }), GW = Object.freeze({ bottom: -4, right: -4 }), qW = Object.freeze({ horizontal: !0, vertical: !0 }), Nv = [U2, cu, du, Di], Ps = 3e3, e5 = {}, IM = Be(Ye((n, e) => {
34118
34119
  const { width: t, height: o, rowCount: r = 1, columnCount: i = 1, defaultRowHeight: s, defaultColumnWidth: l, getRowHeight: a, getColumnWidth: c, layout: d, onViewportScroll: u, onImmediateScroll: h, showGridLines: p = !0, gridLineColor: g = "rgb(224, 224, 224)", gridLineRowsProps: m, gridLineColumnsProps: f, clipCells: y = !0, cursor: w, freezeLeft: b = 0, freezeTop: v = 0, freezeLeftProps: x, freezeTopProps: _, cellRenderer: E, onViewportChange: R, onFirstRender: M, overlayRenderer: k, overlayProps: C, overlays: T, overlaysProps: I, allowOverlaysOverflow: A = !1, stageProps: O, stageWrapper: L = null, hiddenRowsAt: N, hiddenColumnsAt: D, hiddenCellAt: z, getVisibleCells: B, zoom: F = 1, enableMouseWheel: $ = !0, onWheelScroll: j, getCellCoordsAsRangeCoords: W = nn.cellToRange, scrollPoint: P = UW, style: H = {}, ...V } = n;
34119
34120
  Qp(E), Qp(!n?.children);
34120
34121
  const G = Nt(h, [h]), U = Nt(R, [R]), ne = Nt(u, [u]), Z = Nt(j, [j]), J = Nt(M, [M]), pe = Se(null), ue = Se(null), Y = Se(null), [ie, ye] = ri((tt) => tt + 1, 0), [we, te] = de({ left: P?.left ?? 0, top: P?.top ?? 0, horizontalScrollDirection: null, verticalScrollDirection: null }), le = Se(null), fe = Se(we), { top: je, left: Ze, verticalScrollDirection: bt, horizontalScrollDirection: vt } = we, ge = Se(!1), wt = ((tt) => {
@@ -34276,7 +34277,7 @@ const Ov = { "sheetxl-grid": "_sheetxl-grid_11irg_13" }, UW = Object.freeze({ to
34276
34277
  Ht(yn);
34277
34278
  }
34278
34279
  });
34279
- }, [St, ot, We, W]), Po = Nt((tt) => {
34280
+ }, [St, ot, We, W]), Bo = Nt((tt) => {
34280
34281
  const Et = tt.shiftKey;
34281
34282
  tt.preventDefault();
34282
34283
  const { deltaX: Mt, deltaY: ht, deltaMode: At } = tt;
@@ -34292,11 +34293,11 @@ const Ov = { "sheetxl-grid": "_sheetxl-grid_11irg_13" }, UW = Object.freeze({ to
34292
34293
  Gn(() => {
34293
34294
  Jn();
34294
34295
  }, [E]);
34295
- const Dt = Rg(e, () => ({ stage: pe.current, focus: ze, contains: Pe, invalidate: Jn, scrollTo: Rn, scrollBy: Hn, scrollCellCoordsIntoView: Oo, getScrollPosition: ke, getDimensions: dt, getViewport: Ot, handleWheel: Po, rowCount: r, columnCount: i, getLayout: () => $e, getRelativePointFromClient: ft, getViewFromClient: Gt, getViewFromCellCoords: lo, getViewFromLocation: Ct, onViewChangeOnce: (tt) => {
34296
+ const Dt = Rg(e, () => ({ stage: pe.current, focus: ze, contains: Pe, invalidate: Jn, scrollTo: Rn, scrollBy: Hn, scrollCellCoordsIntoView: Oo, getScrollPosition: ke, getDimensions: dt, getViewport: Ot, handleWheel: Bo, rowCount: r, columnCount: i, getLayout: () => $e, getRelativePointFromClient: ft, getViewFromClient: Gt, getViewFromCellCoords: lo, getViewFromLocation: Ct, onViewChangeOnce: (tt) => {
34296
34297
  Ne.current.push(tt);
34297
34298
  } }), [r, i, We]);
34298
- Re(() => ($ && Dt.current?.addEventListener("wheel", Po, { passive: !1 }), ge.current = !0, le.current = null, () => {
34299
- Dt.current?.removeEventListener("wheel", Po);
34299
+ Re(() => ($ && Dt.current?.addEventListener("wheel", Bo, { passive: !1 }), ge.current = !0, le.current = null, () => {
34300
+ Dt.current?.removeEventListener("wheel", Bo);
34300
34301
  }), [$]);
34301
34302
  const xn = Se([]), Xn = (tt, Et) => {
34302
34303
  !tt || !k || (xn.current = [], Et.push(((Mt) => {
@@ -34380,7 +34381,7 @@ const Ov = { "sheetxl-grid": "_sheetxl-grid_11irg_13" }, UW = Object.freeze({ to
34380
34381
  Yn(We[jt], Jt, Kt, Wt, /* @__PURE__ */ new Set(), tt, Et), Mt[jt] = { cells: Jt, rangesH: Kt, rangesV: Wt };
34381
34382
  }
34382
34383
  return yt.current = Et, Mt;
34383
- }, [ie, r, i, ve, se, p, H, y, z, B, W]), Bo = (tt, Et, Mt, ht, At) => {
34384
+ }, [ie, r, i, ve, se, p, H, y, z, B, W]), Vo = (tt, Et, Mt, ht, At) => {
34384
34385
  if (tt) if (Et) {
34385
34386
  const jt = `view:${tt.getAnchor()}:hl:`, Kt = tt.getVisibleRows();
34386
34387
  if (!Kt || Kt.length === 0) return;
@@ -34437,7 +34438,7 @@ const Ov = { "sheetxl-grid": "_sheetxl-grid_11irg_13" }, UW = Object.freeze({ to
34437
34438
  const Et = {};
34438
34439
  for (let Mt = 0; Mt < xt.length; Mt++) {
34439
34440
  const ht = xt[Mt], At = We[ht], jt = [];
34440
- Bo(At, tt, 0, jt, tt ? kn[ht].rangesH : kn[ht].rangesV);
34441
+ Vo(At, tt, 0, jt, tt ? kn[ht].rangesH : kn[ht].rangesV);
34441
34442
  const Kt = At.getRangeCoordsBounds(), Wt = Math.ceil(Kt.width), Jt = Math.ceil(Kt.height);
34442
34443
  Et[ht] = S("svg", { width: `${Wt}`, height: `${Jt}`, viewBox: `0 0 ${Wt} ${Jt}`, preserveAspectRatio: "none", shapeRendering: "crispEdges", style: { position: "absolute" }, children: jt });
34443
34444
  }
@@ -34655,7 +34656,7 @@ Be(Ye((n, e) => {
34655
34656
  try {
34656
34657
  if (typeof document < "u") {
34657
34658
  var n = document.createElement("style");
34658
- n.appendChild(document.createTextNode(`._sheetxl-sheet_1tnw9_9 ._viewport-overlay_1tnw9_11{pointer-events:none}._sheetxl-sheet_1tnw9_9 ._viewport-overlay_1tnw9_11 *{pointer-events:initial}._sheetxl-sheet_1tnw9_9 .cell-container>*{overflow:hidden}._sheetxl-sheet_1tnw9_9 .cell-container .text-box{position:absolute}._sheetxl-sheet_1tnw9_9 .cell-container .text-line{text-rendering:optimizespeed;position:absolute;vertical-align:baseline;white-space:pre}._sheetxl-sheet_1tnw9_9 .cell-container .filter-button{position:absolute;display:flex;align-items:center;justify-content:center;flex-direction:row;margin-bottom:4px}._sheetxl-sheet_1tnw9_9 .cell-container .text-debug-bounds{position:absolute;background:green;pointer-events:none;opacity:.2}._sheetxl-sheet_1tnw9_9 .cell-container .fill{position:absolute}._sheetxl-sheet_1tnw9_9 .cell-container .pending{width:6px;height:6px;top:5px;left:4px;position:absolute;border:var(--sxl-app-color-primary-dark, grey) .5px;border-style:double;border-radius:50%;background-color:var(--sxl-app-color-button-surface, grey);opacity:1;animation:_pulse_1tnw9_1 1.5s infinite alternate}@keyframes _pulse_1tnw9_1{0%{transform:scale(1);opacity:1}50%{transform:scale(1.2);opacity:.8}to{transform:scale(1);opacity:1}}._sheetxl-sheet_1tnw9_9 .cell-container .slider{position:absolute;width:130%;height:2px;bottom:1px;opacity:0;animation:_fadeIn_1tnw9_1 0s .5s forwards;overflow-x:hidden}._sheetxl-sheet_1tnw9_9 .cell-container .line{position:absolute;opacity:.3;background:var(--sxl-app-color-primary-light, rgb(173, 173, 173)) .5px;width:100%;height:2px}._sheetxl-sheet_1tnw9_9 .cell-container .subline{position:absolute;background:var(--sxl-app-color-primary, rgb(77, 77, 77)) .5px;opacity:.9;height:3px}._sheetxl-sheet_1tnw9_9 .cell-container .inc{animation-delay:0s;animation:_increase_1tnw9_1 3s infinite}@keyframes _fadeIn_1tnw9_1{0%{opacity:0;height:0px}to{opacity:1;height:2px}}@keyframes _increase_1tnw9_1{0%{left:-150%;width:30%;animation-timing-function:ease}to{left:100%;width:30%}}._sheet-selection_1tbzy_9 .fill-handle .dragging,._movable-area_1xcl8_9 .moveable-control-box .dragging{opacity:0}._movable-area_1xcl8_9 .moveable-control-box .moveable-control{width:11px;height:11px;margin-top:-5.5px;margin-left:-5.5px;background-color:var(--sxl-app-color-background, white);background-image:var(--sxl-app-image-background);border:2px solid var(--sxl-app-color-primary-dark, grey)}._movable-area_1xcl8_9 .moveable-control-box .moveable-line{background:var(--sxl-app-color-grey, grey)}@media (pointer: coarse){._movable-area_1xcl8_9 .moveable-control-box .moveable-control{width:22px;height:22px;margin-top:-11px;margin-left:-11px}}._editable-input_w34rk_11{position:absolute;left:0;top:0;width:100%;min-height:calc(100% + 1px);border:none;padding:0;outline:none;color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:1.2;letter-spacing:inherit;text-transform:inherit;background:transparent}@keyframes _pop_6tyma_1{0%{transform:scale(1)}to{transform:scale(var(--scale))}}@keyframes _fadeIn_6tyma_65{0%{opacity:0}to{opacity:1}}._Wrapper_6tyma_49{display:flex;box-sizing:border-box;transform:translate3d(var(--translate-x, 0),var(--translate-y, 0),0) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1));transform-origin:0 0;touch-action:manipulation}._Wrapper_6tyma_49._dragOverlay_6tyma_73{z-index:999}._Item_6tyma_93{position:relative;display:flex;align-items:center;outline:none;box-sizing:border-box;transform-origin:50% 50%;-webkit-tap-highlight-color:transparent;transform:scale(var(--scale, 1))}._Item_6tyma_93:not(._withHandle_6tyma_121){touch-action:manipulation}._Item_6tyma_93._dragging_6tyma_131:not(._dragOverlay_6tyma_73){z-index:999}._Item_6tyma_93._dragOverlay_6tyma_73{cursor:inherit;animation:_pop_6tyma_1 .2s cubic-bezier(.18,.67,.6,1.22);transform:scale(var(--scale));opacity:1}._Row_11qr0_1{display:flex;box-sizing:border-box}._TabStrip_nciwy_1::-webkit-scrollbar{display:none;height:0px}._TabStrip_nciwy_1{overflow-y:auto;overflow-x:hidden;position:relative}._script-editor_faoxm_9 .monaco-editor{position:absolute}._script-editor_faoxm_9 .monaco-editor .margin-icon{display:block;width:16px;height:16px;background-size:16px;background-repeat:no-repeat;background-position:center;background-size:contain}._script-editor_faoxm_9 .monaco-editor .formula{background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="grey"><path d="m 12.106007,8.1692949 c 0.124174,-0.1578352 0.181773,-0.3565642 0.283755,-0.5271169 0.10273,-0.1715492 0.04413,-0.2027176 -0.129161,-0.2014713 -0.685452,0.00576 -1.371152,-0.00277 -2.056604,0.00501 C 10.021228,7.4479573 9.9586414,7.407817 9.9935503,7.2080883 10.145401,6.3413623 10.291269,5.4736396 10.51219,4.6213758 10.642847,4.1167002 10.782479,3.6117747 11.061498,3.1622046 11.339518,2.7138809 11.726751,2.5974365 12.2035,2.829328 c 0.398455,0.1934923 0.722604,0.4827333 0.990152,0.8340617 0.116944,0.1535968 0.27079,0.2740306 0.449073,0.1715499 0.343348,-0.1974819 0.644807,-0.4383502 0.819599,-0.826332 0.100985,-0.2244112 0.157836,-0.476001 0.04039,-0.7058977 C 14.339646,1.9840253 14.038187,1.7618584 13.707056,1.6394296 13.156999,1.4362128 12.562559,1.4840872 12.017239,1.6758341 11.38789,1.8970037 10.783727,2.2625445 10.259602,2.6724688 10.066109,2.8238217 9.8783519,2.9839017 9.7013165,3.1547035 9.0502751,3.7823067 8.5657962,4.529097 8.2246919,5.3651534 7.9823276,5.9595939 7.7888351,6.5660026 7.6913412,7.2015842 7.673637,7.318528 7.6357391,7.423253 7.5065759,7.4432009 7.3472438,7.4678879 7.1592376,7.4436995 6.9974121,7.4441728 6.6351128,7.4451447 6.2598478,7.3676233 5.9915515,7.6815496 5.8721151,7.8211835 5.7461952,7.9840062 5.6439635,8.1371045 c -0.1009847,0.1518511 -0.093255,0.3002122 0.085027,0.367535 0.1957362,0.073561 0.4528118,0.026182 0.6530361,0.0197 0.2645558,-0.00847 0.5291116,0.00501 0.7936674,-7.476e-4 0.1820229,-0.00374 0.2413669,0.030421 0.2064588,0.2358807 C 7.3487406,8.9587006 7.3095941,9.1492003 7.2804197,9.3464333 7.1804317,10.024404 7.0667304,10.700629 6.9525298,11.376606 6.7936963,12.314146 6.6371075,13.252434 6.4655575,14.188478 6.3017374,15.082631 6.1855427,15.985013 5.983074,16.873433 5.8249883,17.568607 5.7240037,18.277248 5.5556954,18.969682 5.4145655,19.550158 5.293882,20.143601 4.9722259,20.665731 4.7380909,21.045734 4.3959882,21.206312 3.9663652,21.104829 3.5778849,21.012322 3.2115961,20.866205 2.8951763,20.608631 2.6862246,20.438328 2.4473513,20.31141 2.1920214,20.458026 1.9519014,20.595915 1.7791048,20.851743 1.646453,21.088123 1.2205704,21.847879 1.915497,22.569984 2.6655289,22.684434 3.1692071,22.760986 3.666153,22.580208 4.1087416,22.356046 4.6996913,22.056582 5.2103511,21.635437 5.6387269,21.13874 5.9898058,20.731558 6.3575906,20.343327 6.6500737,19.890016 6.8450616,19.58756 7.0238427,19.274881 7.1866655,18.954471 7.7639005,17.817206 8.1227091,16.589926 8.4189318,15.354418 8.5613081,14.760227 8.716401,14.169777 8.8478064,13.572843 9.0268365,12.760724 9.1741996,11.934891 9.3083481,11.114294 9.3749255,10.707112 9.4310263,10.300679 9.5160532,9.8967389 9.5861222,9.5636133 9.6442168,9.2185186 9.6890985,8.8814035 9.7414633,8.4891827 9.990308,8.5136187 10.329668,8.4762164 c 0.286249,-0.03167 0.574492,-0.046376 0.861739,-0.067571 0.230395,-0.016703 0.494951,0.00396 0.711881,-0.088019 0.07754,-0.032911 0.147613,-0.080788 0.202719,-0.1513533 z"/><path d="M 22.473802,7.8481382 C 22.426924,7.6912996 22.341898,7.5501696 22.231437,7.4294861 22.130452,7.3192756 21.987827,7.1749046 21.851933,7.1098255 21.411589,6.8988785 20.817398,7.0838898 20.436149,7.3422154 20.23343,7.479854 20.052405,7.6519026 19.871131,7.8167201 19.691352,7.9802913 19.517061,8.1488492 19.35723,8.3321177 19.025101,8.7128687 18.724639,9.1210479 18.436396,9.5354601 18.296263,9.7374301 17.901549,10.472252 17.781115,10.399942 17.654198,10.323892 17.495365,9.5905657 17.435023,9.3843566 17.351243,9.0978583 17.29539,8.8016361 17.161741,8.5323425 16.97922,8.1643081 16.865268,7.7623629 16.608941,7.4307332 16.325934,7.0639457 16.001036,6.9584722 15.558946,7.092371 c -0.43436,0.1314054 -0.78469,0.4049374 -1.128539,0.6819608 -0.503927,0.4056851 -0.879442,0.926319 -1.256951,1.4439609 -0.28226,0.387483 -0.284753,0.3857373 0.04488,0.7380631 0.206458,0.2211702 0.202718,0.2184272 0.389229,-0.00847 0.2663,-0.3251469 0.524872,-0.6595196 0.882433,-0.8934057 0.261315,-0.1713009 0.417904,-0.1368908 0.57948,0.1326518 0.07929,0.1326517 0.146866,0.2752777 0.200225,0.4208957 0.335619,0.9141014 0.590201,1.8541344 0.89191,2.7784594 0.03815,0.117691 -0.01122,0.193991 -0.06707,0.278519 -0.356565,0.538837 -0.719363,1.074182 -1.123054,1.578607 -0.320409,0.401198 -0.643312,0.803891 -1.073932,1.097621 -0.187757,0.128912 -0.40768,0.217679 -0.635831,0.156839 -0.233887,-0.06283 -0.37377,-0.27478 -0.587459,-0.373521 -0.006,-0.003 -0.01272,-0.0052 -0.01895,-0.0079 -0.09974,-0.04064 -0.249845,-0.0389 -0.353074,-0.01571 -0.454059,0.102482 -0.697669,0.614139 -0.790177,1.023813 -0.08379,0.371776 -0.0013,0.778209 0.261315,1.062463 0.228899,0.24785 0.572248,0.351327 0.901634,0.356315 0.189003,0.0028 0.39995,-0.04663 0.57549,-0.11445 0.670241,-0.262062 1.181649,-0.887172 1.605038,-1.441717 0.285501,-0.374517 0.550555,-0.763994 0.829573,-1.143499 0.230645,-0.313677 0.68595,-1.247726 0.81586,-1.250718 0.07854,-0.0017 0.09924,0.185762 0.114199,0.241117 0.03341,0.123675 0.06658,0.247351 0.102232,0.370279 0.167561,0.578481 0.343848,1.156464 0.525122,1.730458 0.120934,0.384242 0.315921,0.782697 0.560779,1.103356 0.07431,0.09749 0.167311,0.190749 0.26306,0.266799 0.371276,0.296972 0.838799,0.27453 1.266177,0.123177 0.191498,-0.06757 0.370029,-0.163071 0.539335,-0.275527 0.781948,-0.519886 1.340732,-1.244235 1.868598,-2.002495 0.124423,-0.178781 0.107467,-0.278769 -0.03441,-0.428127 -0.367286,-0.386237 -0.357062,-0.389727 -0.705149,0.01995 -0.261066,0.306446 -0.527117,0.612643 -0.879442,0.818851 -0.245855,0.144621 -0.413416,0.103229 -0.592696,-0.118439 -0.14861,-0.183518 -0.246353,-0.396709 -0.33138,-0.614886 -0.349831,-0.901136 -0.588954,-1.838675 -0.885177,-2.757515 -0.21743,-0.674231 -0.223414,-0.680464 0.20945,-1.248723 0.447575,-0.587708 0.875703,-1.1968602 1.462163,-1.6613914 0.431119,-0.3416031 0.73183,-0.3226534 1.129037,0.059094 0.0788,0.075801 0.207456,0.1388856 0.316919,0.1476127 0.369781,0.029674 0.691187,-0.3024566 0.880939,-0.5792304 0.188006,-0.2727835 0.259319,-0.6183768 0.163072,-0.9392845 z"/></svg>');cursor:pointer}._script-editor_faoxm_9 .monaco-editor .macro{background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="grey"><path d="M 5.1933594,1.4433594 6.3417969,2.5234375 6.2109375,2.6621094 c -3.466072,3.6769426 -3.467641,9.6565186 0,13.3339846 l 0.1308594,0.136718 -1.1484375,1.082032 -0.1328125,-0.140625 c -4.0371886,-4.28224 -4.0373752,-11.2077961 0,-15.4902346 z m 14.4726566,0 0.132812,0.140625 c 4.03717,4.2822197 4.037356,11.2058636 0,15.4882816 l -0.132812,0.140625 -1.148438,-1.080079 0.130859,-0.138671 c 3.465532,-3.675243 3.466902,-9.6542123 0,-13.3320316 L 18.517578,2.5234375 Z M 7.7597656,4.4335937 8.8769531,5.5488281 8.7421875,5.6816406 c -2.0366665,2.0366662 -2.037411,5.3404354 0,7.3769534 L 8.8769531,13.191406 7.7597656,14.310547 7.625,14.173828 C 4.9718615,11.520692 4.9723209,7.222936 7.6269531,4.5683594 Z m 9.3398434,0 0.132813,0.1347657 c 2.653779,2.6537788 2.65545,6.9500666 0,9.6054686 l -0.132813,0.136719 -1.117187,-1.119141 0.134765,-0.132812 c 2.036637,-2.035554 2.037534,-5.3391996 0,-7.3769534 L 15.982422,5.5488281 Z m -4.669921,1.7011719 c 0.811773,0 1.627703,0.304374 2.25,0.90625 1.260638,1.2198223 1.260413,3.1986104 0,4.4179684 -0.355144,0.343115 -0.779063,0.585007 -1.226563,0.732422 l -0.234375,0.07617 v 3.386719 h 0.002 v 6.048828 c 0,0.436615 -0.351565,0.791016 -0.789062,0.791016 -0.43763,0 -0.791016,-0.354618 -0.791016,-0.791016 v -3.308594 -6.126953 l -0.234375,-0.07617 c -0.448339,-0.147699 -0.871819,-0.38969 -1.226562,-0.732422 -1.2608671,-1.22004 -1.2605877,-3.1984433 0,-4.4179684 0.62227,-0.6019293 1.438264,-0.90625 2.25,-0.90625 z m 0,1.5820313 c -0.417461,0 -0.829931,0.1510762 -1.146485,0.4570312 -0.615751,0.5967629 -0.616877,1.5583713 0,2.1562499 0.314469,0.303373 0.726552,0.455078 1.146485,0.455078 0.421182,0 0.833304,-0.153008 1.148437,-0.457031 0.61548,-0.5965047 0.616739,-1.5585025 0,-2.15625 C 13.261859,7.8661993 12.846121,7.7167969 12.429688,7.7167969 Z"/></svg>');cursor:pointer}._script-editor_faoxm_9 .monaco-editor .autorun{background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="grey"><path d="M10 15h5.88c.27-.31.67-.5 1.12-.5.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5c-.44 0-.84-.19-1.12-.5H11.9c-.46 2.28-2.48 4-4.9 4-2.76 0-5-2.24-5-5 0-2.42 1.72-4.44 4-4.9v2.07c-1.16.41-2 1.53-2 2.83 0 1.65 1.35 3 3 3s3-1.35 3-3zm2.5-11c1.65 0 3 1.35 3 3h2c0-2.76-2.24-5-5-5s-5 2.24-5 5c0 1.43.6 2.71 1.55 3.62l-2.35 3.9c-.68.14-1.2.75-1.2 1.48 0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5c0-.16-.02-.31-.07-.45l3.38-5.63C10.49 9.61 9.5 8.42 9.5 7c0-1.65 1.35-3 3-3m4.5 9c-.64 0-1.23.2-1.72.54l-3.05-5.07C11.53 8.35 11 7.74 11 7c0-.83.67-1.5 1.5-1.5S14 6.17 14 7c0 .15-.02.29-.06.43l2.19 3.65c.28-.05.57-.08.87-.08 2.76 0 5 2.24 5 5s-2.24 5-5 5c-1.85 0-3.47-1.01-4.33-2.5h2.67c.48.32 1.05.5 1.66.5 1.65 0 3-1.35 3-3s-1.35-3-3-3"/></svg>');cursor:pointer}`)), document.head.appendChild(n);
34659
+ n.appendChild(document.createTextNode(`._sheetxl-sheet_1qeq6_5 ._viewport-overlay_1qeq6_6{pointer-events:none}._sheetxl-sheet_1qeq6_5 ._viewport-overlay_1qeq6_6 *{pointer-events:initial}._sheetxl-sheet_1qeq6_5 .cell-container>*{overflow:hidden}._sheetxl-sheet_1qeq6_5 .cell-container .text-box{position:absolute}._sheetxl-sheet_1qeq6_5 .cell-container .text-line{text-rendering:optimizespeed;position:absolute;vertical-align:baseline;white-space:pre}._sheetxl-sheet_1qeq6_5 .cell-container .filter-button{position:absolute;display:flex;align-items:center;justify-content:center;flex-direction:row;margin-bottom:4px}._sheetxl-sheet_1qeq6_5 .cell-container .text-debug-bounds{position:absolute;background:green;pointer-events:none;opacity:.2}._sheetxl-sheet_1qeq6_5 .cell-container .fill{position:absolute}._sheetxl-sheet_1qeq6_5 .cell-container .pending{width:6px;height:6px;top:5px;left:4px;position:absolute;border:var(--sxl-app-color-primary-dark, grey) .5px;border-style:double;border-radius:50%;background-color:var(--sxl-app-color-button-surface, grey);opacity:1;animation:_pulse_1qeq6_1 1.5s infinite alternate}@keyframes _pulse_1qeq6_1{0%{transform:scale(1);opacity:1}50%{transform:scale(1.2);opacity:.8}to{transform:scale(1);opacity:1}}._sheetxl-sheet_1qeq6_5 .cell-container .slider{position:absolute;width:130%;height:2px;bottom:1px;opacity:0;animation:_fadeIn_1qeq6_1 0s .5s forwards;overflow-x:hidden}._sheetxl-sheet_1qeq6_5 .cell-container .line{position:absolute;opacity:.3;background:var(--sxl-app-color-primary-light, rgb(173, 173, 173)) .5px;width:100%;height:2px}._sheetxl-sheet_1qeq6_5 .cell-container .subline{position:absolute;background:var(--sxl-app-color-primary, rgb(77, 77, 77)) .5px;opacity:.9;height:3px}._sheetxl-sheet_1qeq6_5 .cell-container .inc{animation-delay:0s;animation:_increase_1qeq6_1 3s infinite}@keyframes _fadeIn_1qeq6_1{0%{opacity:0;height:0px}to{opacity:1;height:2px}}@keyframes _increase_1qeq6_1{0%{left:-150%;width:30%;animation-timing-function:ease}to{left:100%;width:30%}}._sheet-selection_12wyx_5 .fill-handle .dragging,._movable-area_314c6_5 .moveable-control-box .dragging{opacity:0}._movable-area_314c6_5 .moveable-control-box .moveable-control{width:11px;height:11px;margin-top:-5.5px;margin-left:-5.5px;background-color:var(--sxl-app-color-background, white);background-image:var(--sxl-app-image-background);border:2px solid var(--sxl-app-color-primary-dark, grey)}._movable-area_314c6_5 .moveable-control-box .moveable-line{background:var(--sxl-app-color-grey, grey)}@media (pointer: coarse){._movable-area_314c6_5 .moveable-control-box .moveable-control{width:22px;height:22px;margin-top:-11px;margin-left:-11px}}._editable-input_1bqx6_6{position:absolute;left:0;top:0;width:100%;min-height:calc(100% + 1px);border:none;padding:0;outline:none;color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:1.2;letter-spacing:inherit;text-transform:inherit;background:transparent}@keyframes _pop_1wyun_1{0%{transform:scale(1)}to{transform:scale(var(--scale))}}@keyframes _fadeIn_1wyun_33{0%{opacity:0}to{opacity:1}}._Wrapper_1wyun_25{display:flex;box-sizing:border-box;transform:translate3d(var(--translate-x, 0),var(--translate-y, 0),0) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1));transform-origin:0 0;touch-action:manipulation}._Wrapper_1wyun_25._dragOverlay_1wyun_37{z-index:999}._Item_1wyun_47{position:relative;display:flex;align-items:center;outline:none;box-sizing:border-box;transform-origin:50% 50%;-webkit-tap-highlight-color:transparent;transform:scale(var(--scale, 1))}._Item_1wyun_47:not(._withHandle_1wyun_61){touch-action:manipulation}._Item_1wyun_47._dragging_1wyun_66:not(._dragOverlay_1wyun_37){z-index:999}._Item_1wyun_47._dragOverlay_1wyun_37{cursor:inherit;animation:_pop_1wyun_1 .2s cubic-bezier(.18,.67,.6,1.22);transform:scale(var(--scale));opacity:1}._Row_1kr10_1{display:flex;box-sizing:border-box}._TabStrip_3x0dp_1::-webkit-scrollbar{display:none;height:0px}._TabStrip_3x0dp_1{overflow-y:auto;overflow-x:hidden;position:relative}._script-editor_iy654_5 .monaco-editor{position:absolute}._script-editor_iy654_5 .monaco-editor .margin-icon{display:block;width:16px;height:16px;background-size:16px;background-repeat:no-repeat;background-position:center;background-size:contain}._script-editor_iy654_5 .monaco-editor .formula{background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="grey"><path d="m 12.106007,8.1692949 c 0.124174,-0.1578352 0.181773,-0.3565642 0.283755,-0.5271169 0.10273,-0.1715492 0.04413,-0.2027176 -0.129161,-0.2014713 -0.685452,0.00576 -1.371152,-0.00277 -2.056604,0.00501 C 10.021228,7.4479573 9.9586414,7.407817 9.9935503,7.2080883 10.145401,6.3413623 10.291269,5.4736396 10.51219,4.6213758 10.642847,4.1167002 10.782479,3.6117747 11.061498,3.1622046 11.339518,2.7138809 11.726751,2.5974365 12.2035,2.829328 c 0.398455,0.1934923 0.722604,0.4827333 0.990152,0.8340617 0.116944,0.1535968 0.27079,0.2740306 0.449073,0.1715499 0.343348,-0.1974819 0.644807,-0.4383502 0.819599,-0.826332 0.100985,-0.2244112 0.157836,-0.476001 0.04039,-0.7058977 C 14.339646,1.9840253 14.038187,1.7618584 13.707056,1.6394296 13.156999,1.4362128 12.562559,1.4840872 12.017239,1.6758341 11.38789,1.8970037 10.783727,2.2625445 10.259602,2.6724688 10.066109,2.8238217 9.8783519,2.9839017 9.7013165,3.1547035 9.0502751,3.7823067 8.5657962,4.529097 8.2246919,5.3651534 7.9823276,5.9595939 7.7888351,6.5660026 7.6913412,7.2015842 7.673637,7.318528 7.6357391,7.423253 7.5065759,7.4432009 7.3472438,7.4678879 7.1592376,7.4436995 6.9974121,7.4441728 6.6351128,7.4451447 6.2598478,7.3676233 5.9915515,7.6815496 5.8721151,7.8211835 5.7461952,7.9840062 5.6439635,8.1371045 c -0.1009847,0.1518511 -0.093255,0.3002122 0.085027,0.367535 0.1957362,0.073561 0.4528118,0.026182 0.6530361,0.0197 0.2645558,-0.00847 0.5291116,0.00501 0.7936674,-7.476e-4 0.1820229,-0.00374 0.2413669,0.030421 0.2064588,0.2358807 C 7.3487406,8.9587006 7.3095941,9.1492003 7.2804197,9.3464333 7.1804317,10.024404 7.0667304,10.700629 6.9525298,11.376606 6.7936963,12.314146 6.6371075,13.252434 6.4655575,14.188478 6.3017374,15.082631 6.1855427,15.985013 5.983074,16.873433 5.8249883,17.568607 5.7240037,18.277248 5.5556954,18.969682 5.4145655,19.550158 5.293882,20.143601 4.9722259,20.665731 4.7380909,21.045734 4.3959882,21.206312 3.9663652,21.104829 3.5778849,21.012322 3.2115961,20.866205 2.8951763,20.608631 2.6862246,20.438328 2.4473513,20.31141 2.1920214,20.458026 1.9519014,20.595915 1.7791048,20.851743 1.646453,21.088123 1.2205704,21.847879 1.915497,22.569984 2.6655289,22.684434 3.1692071,22.760986 3.666153,22.580208 4.1087416,22.356046 4.6996913,22.056582 5.2103511,21.635437 5.6387269,21.13874 5.9898058,20.731558 6.3575906,20.343327 6.6500737,19.890016 6.8450616,19.58756 7.0238427,19.274881 7.1866655,18.954471 7.7639005,17.817206 8.1227091,16.589926 8.4189318,15.354418 8.5613081,14.760227 8.716401,14.169777 8.8478064,13.572843 9.0268365,12.760724 9.1741996,11.934891 9.3083481,11.114294 9.3749255,10.707112 9.4310263,10.300679 9.5160532,9.8967389 9.5861222,9.5636133 9.6442168,9.2185186 9.6890985,8.8814035 9.7414633,8.4891827 9.990308,8.5136187 10.329668,8.4762164 c 0.286249,-0.03167 0.574492,-0.046376 0.861739,-0.067571 0.230395,-0.016703 0.494951,0.00396 0.711881,-0.088019 0.07754,-0.032911 0.147613,-0.080788 0.202719,-0.1513533 z"/><path d="M 22.473802,7.8481382 C 22.426924,7.6912996 22.341898,7.5501696 22.231437,7.4294861 22.130452,7.3192756 21.987827,7.1749046 21.851933,7.1098255 21.411589,6.8988785 20.817398,7.0838898 20.436149,7.3422154 20.23343,7.479854 20.052405,7.6519026 19.871131,7.8167201 19.691352,7.9802913 19.517061,8.1488492 19.35723,8.3321177 19.025101,8.7128687 18.724639,9.1210479 18.436396,9.5354601 18.296263,9.7374301 17.901549,10.472252 17.781115,10.399942 17.654198,10.323892 17.495365,9.5905657 17.435023,9.3843566 17.351243,9.0978583 17.29539,8.8016361 17.161741,8.5323425 16.97922,8.1643081 16.865268,7.7623629 16.608941,7.4307332 16.325934,7.0639457 16.001036,6.9584722 15.558946,7.092371 c -0.43436,0.1314054 -0.78469,0.4049374 -1.128539,0.6819608 -0.503927,0.4056851 -0.879442,0.926319 -1.256951,1.4439609 -0.28226,0.387483 -0.284753,0.3857373 0.04488,0.7380631 0.206458,0.2211702 0.202718,0.2184272 0.389229,-0.00847 0.2663,-0.3251469 0.524872,-0.6595196 0.882433,-0.8934057 0.261315,-0.1713009 0.417904,-0.1368908 0.57948,0.1326518 0.07929,0.1326517 0.146866,0.2752777 0.200225,0.4208957 0.335619,0.9141014 0.590201,1.8541344 0.89191,2.7784594 0.03815,0.117691 -0.01122,0.193991 -0.06707,0.278519 -0.356565,0.538837 -0.719363,1.074182 -1.123054,1.578607 -0.320409,0.401198 -0.643312,0.803891 -1.073932,1.097621 -0.187757,0.128912 -0.40768,0.217679 -0.635831,0.156839 -0.233887,-0.06283 -0.37377,-0.27478 -0.587459,-0.373521 -0.006,-0.003 -0.01272,-0.0052 -0.01895,-0.0079 -0.09974,-0.04064 -0.249845,-0.0389 -0.353074,-0.01571 -0.454059,0.102482 -0.697669,0.614139 -0.790177,1.023813 -0.08379,0.371776 -0.0013,0.778209 0.261315,1.062463 0.228899,0.24785 0.572248,0.351327 0.901634,0.356315 0.189003,0.0028 0.39995,-0.04663 0.57549,-0.11445 0.670241,-0.262062 1.181649,-0.887172 1.605038,-1.441717 0.285501,-0.374517 0.550555,-0.763994 0.829573,-1.143499 0.230645,-0.313677 0.68595,-1.247726 0.81586,-1.250718 0.07854,-0.0017 0.09924,0.185762 0.114199,0.241117 0.03341,0.123675 0.06658,0.247351 0.102232,0.370279 0.167561,0.578481 0.343848,1.156464 0.525122,1.730458 0.120934,0.384242 0.315921,0.782697 0.560779,1.103356 0.07431,0.09749 0.167311,0.190749 0.26306,0.266799 0.371276,0.296972 0.838799,0.27453 1.266177,0.123177 0.191498,-0.06757 0.370029,-0.163071 0.539335,-0.275527 0.781948,-0.519886 1.340732,-1.244235 1.868598,-2.002495 0.124423,-0.178781 0.107467,-0.278769 -0.03441,-0.428127 -0.367286,-0.386237 -0.357062,-0.389727 -0.705149,0.01995 -0.261066,0.306446 -0.527117,0.612643 -0.879442,0.818851 -0.245855,0.144621 -0.413416,0.103229 -0.592696,-0.118439 -0.14861,-0.183518 -0.246353,-0.396709 -0.33138,-0.614886 -0.349831,-0.901136 -0.588954,-1.838675 -0.885177,-2.757515 -0.21743,-0.674231 -0.223414,-0.680464 0.20945,-1.248723 0.447575,-0.587708 0.875703,-1.1968602 1.462163,-1.6613914 0.431119,-0.3416031 0.73183,-0.3226534 1.129037,0.059094 0.0788,0.075801 0.207456,0.1388856 0.316919,0.1476127 0.369781,0.029674 0.691187,-0.3024566 0.880939,-0.5792304 0.188006,-0.2727835 0.259319,-0.6183768 0.163072,-0.9392845 z"/></svg>');cursor:pointer}._script-editor_iy654_5 .monaco-editor .macro{background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="grey"><path d="M 5.1933594,1.4433594 6.3417969,2.5234375 6.2109375,2.6621094 c -3.466072,3.6769426 -3.467641,9.6565186 0,13.3339846 l 0.1308594,0.136718 -1.1484375,1.082032 -0.1328125,-0.140625 c -4.0371886,-4.28224 -4.0373752,-11.2077961 0,-15.4902346 z m 14.4726566,0 0.132812,0.140625 c 4.03717,4.2822197 4.037356,11.2058636 0,15.4882816 l -0.132812,0.140625 -1.148438,-1.080079 0.130859,-0.138671 c 3.465532,-3.675243 3.466902,-9.6542123 0,-13.3320316 L 18.517578,2.5234375 Z M 7.7597656,4.4335937 8.8769531,5.5488281 8.7421875,5.6816406 c -2.0366665,2.0366662 -2.037411,5.3404354 0,7.3769534 L 8.8769531,13.191406 7.7597656,14.310547 7.625,14.173828 C 4.9718615,11.520692 4.9723209,7.222936 7.6269531,4.5683594 Z m 9.3398434,0 0.132813,0.1347657 c 2.653779,2.6537788 2.65545,6.9500666 0,9.6054686 l -0.132813,0.136719 -1.117187,-1.119141 0.134765,-0.132812 c 2.036637,-2.035554 2.037534,-5.3391996 0,-7.3769534 L 15.982422,5.5488281 Z m -4.669921,1.7011719 c 0.811773,0 1.627703,0.304374 2.25,0.90625 1.260638,1.2198223 1.260413,3.1986104 0,4.4179684 -0.355144,0.343115 -0.779063,0.585007 -1.226563,0.732422 l -0.234375,0.07617 v 3.386719 h 0.002 v 6.048828 c 0,0.436615 -0.351565,0.791016 -0.789062,0.791016 -0.43763,0 -0.791016,-0.354618 -0.791016,-0.791016 v -3.308594 -6.126953 l -0.234375,-0.07617 c -0.448339,-0.147699 -0.871819,-0.38969 -1.226562,-0.732422 -1.2608671,-1.22004 -1.2605877,-3.1984433 0,-4.4179684 0.62227,-0.6019293 1.438264,-0.90625 2.25,-0.90625 z m 0,1.5820313 c -0.417461,0 -0.829931,0.1510762 -1.146485,0.4570312 -0.615751,0.5967629 -0.616877,1.5583713 0,2.1562499 0.314469,0.303373 0.726552,0.455078 1.146485,0.455078 0.421182,0 0.833304,-0.153008 1.148437,-0.457031 0.61548,-0.5965047 0.616739,-1.5585025 0,-2.15625 C 13.261859,7.8661993 12.846121,7.7167969 12.429688,7.7167969 Z"/></svg>');cursor:pointer}._script-editor_iy654_5 .monaco-editor .autorun{background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="grey"><path d="M10 15h5.88c.27-.31.67-.5 1.12-.5.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5c-.44 0-.84-.19-1.12-.5H11.9c-.46 2.28-2.48 4-4.9 4-2.76 0-5-2.24-5-5 0-2.42 1.72-4.44 4-4.9v2.07c-1.16.41-2 1.53-2 2.83 0 1.65 1.35 3 3 3s3-1.35 3-3zm2.5-11c1.65 0 3 1.35 3 3h2c0-2.76-2.24-5-5-5s-5 2.24-5 5c0 1.43.6 2.71 1.55 3.62l-2.35 3.9c-.68.14-1.2.75-1.2 1.48 0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5c0-.16-.02-.31-.07-.45l3.38-5.63C10.49 9.61 9.5 8.42 9.5 7c0-1.65 1.35-3 3-3m4.5 9c-.64 0-1.23.2-1.72.54l-3.05-5.07C11.53 8.35 11 7.74 11 7c0-.83.67-1.5 1.5-1.5S14 6.17 14 7c0 .15-.02.29-.06.43l2.19 3.65c.28-.05.57-.08.87-.08 2.76 0 5 2.24 5 5s-2.24 5-5 5c-1.85 0-3.47-1.01-4.33-2.5h2.67c.48.32 1.05.5 1.66.5 1.65 0 3-1.35 3-3s-1.35-3-3-3"/></svg>');cursor:pointer}`)), document.head.appendChild(n);
34659
34660
  }
34660
34661
  } catch (e) {
34661
34662
  console.error("vite-plugin-css-injected-by-js", e);
@@ -34670,9 +34671,9 @@ const DM = Object.freeze([8, 9, 10, 11, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30,
34670
34671
  let o = un.findEqualOrGreater(t, n);
34671
34672
  return e ? (t[o] === n && (o += 1), t[o] || (o -= 1), t[o]) : (o -= 1, t[o]);
34672
34673
  }, eU = Object.freeze(Object.defineProperty({ __proto__: null, DefaultFontSizes: DM, findNextFontSize: r4 }, Symbol.toStringTag, { value: "Module" })), Fv = Be((n) => {
34673
- const { anchorLocation: e = Qo.TopLeft, cellWidth: t, cellHeight: o, size: r = 7, inset: i = 1, darkMode: s, fill: l, pathProps: a, style: c, ...d } = n, u = r, h = i;
34674
+ const { anchorLocation: e = er.TopLeft, cellWidth: t, cellHeight: o, size: r = 7, inset: i = 1, darkMode: s, fill: l, pathProps: a, style: c, ...d } = n, u = r, h = i;
34674
34675
  let p = "red", g = [], m = [];
34675
- return e === Qo.TopLeft ? (p = s ? "rgb(255, 198, 246)" : "green", g.push(h), m.push(h), g.push(h + u), m.push(h), g.push(h), m.push(h + u)) : e === Qo.TopRight ? (p = s ? "rgb(0, 255, 255)" : "red", g.push(t - h), m.push(h), g.push(t - (h + u)), m.push(h), g.push(t - h), m.push(h + u)) : e === Qo.BottomRight ? (p = s ? "rgb(236, 252, 211)" : "purple", g.push(t - h), m.push(o - h), g.push(t - (h + u)), m.push(o - h), g.push(t - h), m.push(o - (h + u))) : e === Qo.BottomLeft && (p = s ? "rgb(255, 236, 183)" : "blue", g.push(h), m.push(o - h), g.push(h + u), m.push(o - h), g.push(h), m.push(o - (h + u))), S("svg", { width: `${t}`, height: `${o}`, viewBox: `0 0 ${t} ${o}`, style: { position: "absolute", width: `${t}px`, height: `${o}px`, pointerEvents: "none", ...c }, ...d, children: S("path", { d: `M ${g[0]} ${m[0]} L ${g[1]} ${m[1]} L ${g[2]} ${m[2]} L ${g[0]} ${m[0]} Z`, fill: l ?? p, ...a }) });
34676
+ return e === er.TopLeft ? (p = s ? "rgb(255, 198, 246)" : "green", g.push(h), m.push(h), g.push(h + u), m.push(h), g.push(h), m.push(h + u)) : e === er.TopRight ? (p = s ? "rgb(0, 255, 255)" : "red", g.push(t - h), m.push(h), g.push(t - (h + u)), m.push(h), g.push(t - h), m.push(h + u)) : e === er.BottomRight ? (p = s ? "rgb(236, 252, 211)" : "purple", g.push(t - h), m.push(o - h), g.push(t - (h + u)), m.push(o - h), g.push(t - h), m.push(o - (h + u))) : e === er.BottomLeft && (p = s ? "rgb(255, 236, 183)" : "blue", g.push(h), m.push(o - h), g.push(h + u), m.push(o - h), g.push(h), m.push(o - (h + u))), S("svg", { width: `${t}`, height: `${o}`, viewBox: `0 0 ${t} ${o}`, style: { position: "absolute", width: `${t}px`, height: `${o}px`, pointerEvents: "none", ...c }, ...d, children: S("path", { d: `M ${g[0]} ${m[0]} L ${g[1]} ${m[1]} L ${g[2]} ${m[2]} L ${g[0]} ${m[0]} Z`, fill: l ?? p, ...a }) });
34676
34677
  }), tU = (n) => {
34677
34678
  const { renderBounds: e, darkMode: t, zoom: o, disabled: r, filter: i, onFilterButtonMouseDown: s, style: l, ...a } = n, c = ee(() => {
34678
34679
  let p = null;
@@ -34716,7 +34717,7 @@ const DM = Object.freeze([8, 9, 10, 11, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30,
34716
34717
  const G = x.getComments(), U = x.getWarnings(), ne = x.getErrors();
34717
34718
  if (G || C || ne.length > 0 || U.length > 0) {
34718
34719
  const Qe = { size: 7 * l, darkMode: R, cellWidth: N * l + 2, cellHeight: b * l + 2, style: { top: -1, left: D * l - 1 } };
34719
- V = V ?? [], (U.length > 0 || ne.length > 0 || C) && V.push(S(Fv, { anchorLocation: Qo.TopLeft, ...Qe }, `indicator-${V.length}`)), G && V.push(S(Fv, { anchorLocation: Qo.TopRight, ...Qe }, `indicator-${V.length}`));
34720
+ V = V ?? [], (U.length > 0 || ne.length > 0 || C) && V.push(S(Fv, { anchorLocation: er.TopLeft, ...Qe }, `indicator-${V.length}`)), G && V.push(S(Fv, { anchorLocation: er.TopRight, ...Qe }, `indicator-${V.length}`));
34720
34721
  }
34721
34722
  const Z = E.getFont();
34722
34723
  let J = M?.conditionalColor;
@@ -34814,7 +34815,7 @@ const DM = Object.freeze([8, 9, 10, 11, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30,
34814
34815
  Dt[Ot.lastRepeatIndex] = { type: uo.ParseRunType.Repeat, text: Kn, width: Xn }, Rn = Dt, ae = { ...ae, width: Ot.width + Xn };
34815
34816
  }
34816
34817
  }
34817
- const lo = (Jn, Dt, xn, Xn, Kn, Yn, kn, Bo, _r, Ur = null) => {
34818
+ const lo = (Jn, Dt, xn, Xn, Kn, Yn, kn, Vo, _r, Ur = null) => {
34818
34819
  let si, ps = mn.width;
34819
34820
  Ct === Oe.HorizontalAlignment.Justify ? (ps = Kn, Gt || (si = "justify")) : Ct === Oe.HorizontalAlignment.Distributed && (ps = Kn, si = Gt || Jn.text.split(" ").length - 1 == 0 ? "center" : "justify");
34820
34821
  const { style: li, className: Ui, ...Ns } = Ur;
@@ -34856,8 +34857,8 @@ const DM = Object.freeze([8, 9, 10, 11, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30,
34856
34857
  }
34857
34858
  let Oo = mn.x;
34858
34859
  Ct === Oe.HorizontalAlignment.Right ? Oo += ae.width - mn.width : Ct !== Oe.HorizontalAlignment.Center && Ct !== Oe.HorizontalAlignment.CenterContinuous || (Oo += (ae.width - mn.width) / 2), Ot?.lastRepeatIndex >= 0 && (Oo = mn.x);
34859
- const Po = Rn.length;
34860
- for (let Jn = 0; Jn < Po; Jn++) {
34860
+ const Bo = Rn.length;
34861
+ for (let Jn = 0; Jn < Bo; Jn++) {
34861
34862
  const Dt = Rn[Jn];
34862
34863
  (Dt.type === uo.ParseRunType.Text || Dt.type === uo.ParseRunType.Repeat) && (Dt.type, uo.ParseRunType.Repeat, lo(Dt, Oo, Jn, kt, Ct === Oe.HorizontalAlignment.Justify || Ct === Oe.HorizontalAlignment.Distributed || Ot?.lastRepeatIndex >= 0 ? Pe : mn.width, vt, { x: Ge.x + L, y: Ge.y, width: Dt.width, height: ae.height }, 0, ft, gn)), Oo += Dt.width;
34863
34864
  }
@@ -35195,7 +35196,7 @@ const h0 = PM && window.ResizeObserver !== void 0 ? function() {
35195
35196
  const M = d[R], k = M.coords;
35196
35197
  if (!k) continue;
35197
35198
  const C = M?.range ?? { rowStart: k.rowIndex, colStart: k.colIndex, rowEnd: k.rowIndex, colEnd: k.colIndex }, T = a.getVisibleRangeCoords();
35198
- if (!hr.isRangesIntersect(C, T) && !hr.isRangeWithinRange(C, T)) continue;
35199
+ if (!pr.isRangesIntersect(C, T) && !pr.isRangeWithinRange(C, T)) continue;
35199
35200
  const I = k.colIndex, A = k.rowIndex, O = u[I], L = h[A];
35200
35201
  if (C.rowEnd !== C.rowStart) {
35201
35202
  const V = h[C.rowStart]?.spanIndex ?? -1, G = h[C.rowEnd]?.spanIndex ?? h[f[f.length - 1]].spanIndex + 1;
@@ -35262,7 +35263,7 @@ const h0 = PM && window.ResizeObserver !== void 0 ? function() {
35262
35263
  }
35263
35264
  return S("svg", { width: `${c.width}`, height: `${c.height}`, viewBox: `0 0 ${c.width} ${c.height}`, preserveAspectRatio: "none", shapeRendering: "crispEdges", style: { position: "absolute", left: "0px", top: "0px", width: `${c.width}px`, height: `${c.height}px`, pointerEvents: "none", transitionTimingFunction: "linear", transitionDelay: "0", transitionProperty: "left, top, width, height", willChange: "left, top, width, height, stroke-dashoffset", overflow: "visible" }, children: b }, "borders");
35264
35265
  }, [n, o]) };
35265
- }, Bv = Qo.Center, cU = Object.freeze({ horizontal: !1, vertical: !1 }), Vv = Y1.EmptyTopLeft, dU = (n, e) => hr.EmptyCell, uU = (n, e) => new Promise((t, o) => {
35266
+ }, Bv = er.Center, cU = Object.freeze({ horizontal: !1, vertical: !1 }), Vv = Y1.EmptyTopLeft, dU = (n, e) => pr.EmptyCell, uU = (n, e) => new Promise((t, o) => {
35266
35267
  o("StaticBorderRenderer does not support scrolling");
35267
35268
  }), T6 = Be((n) => {
35268
35269
  const { getBorderAt: e, width: t, height: o, style: r, rowCount: i = 2, columnCount: s = 2, darkMode: l, forceThinBorder: a, children: c, ...d } = n, u = Se(null), [h, { width: p, height: g }] = h0(), m = t ?? p, f = o ?? g, y = ee(() => {
@@ -35282,7 +35283,7 @@ const h0 = PM && window.ResizeObserver !== void 0 ? function() {
35282
35283
  return O;
35283
35284
  }, [m, f]);
35284
35285
  if (!b) return null;
35285
- const C = { width: m, height: f }, T = { width: m, height: f }, I = { getStage: () => u.current, getTotalSize: () => C, getViewportSize: () => T, getLayout: () => _, getCellCoordsAsRangeCoords: hr.cellToRange, getVisibleRangeCoords: () => E, getVisibleRows: () => {
35286
+ const C = { width: m, height: f }, T = { width: m, height: f }, I = { getStage: () => u.current, getTotalSize: () => C, getViewportSize: () => T, getLayout: () => _, getCellCoordsAsRangeCoords: pr.cellToRange, getVisibleRangeCoords: () => E, getVisibleRows: () => {
35286
35287
  const O = [];
35287
35288
  for (let L = 0; L < i; L++) O.push(L);
35288
35289
  return O;
@@ -35349,7 +35350,7 @@ const hU = (n) => {
35349
35350
  l?.();
35350
35351
  };
35351
35352
  }, [n]);
35352
- }, Yh = new Uo("transparent");
35353
+ }, Yh = new Go("transparent");
35353
35354
  var Hv, $v;
35354
35355
  (function() {
35355
35356
  if ($v) return Hv;
@@ -35513,11 +35514,11 @@ const Z2 = Be(Ye((n, e) => {
35513
35514
  const j = r.getView().getFreezePanes();
35514
35515
  return o === Hr.Vertical ? j.coords.rowIndex === 0 ? { shift: 0, scroll: 0 } : { shift: r.getRowHeaders().findOffset(j.coords.rowIndex) - j.topLeft.top, scroll: j.topLeft.top } : j.coords.colIndex === 0 ? { shift: 0, scroll: 0 } : { shift: r.getColumnHeaders().findOffset(j.coords.colIndex) - j.topLeft.left, scroll: j.topLeft.left };
35515
35516
  }, [_, E] = de(x), [R, M] = de(null), [k, C] = de(!1), T = o === Hr.Vertical ? r.getRowHeaders() : r.getColumnHeaders(), I = () => {
35516
- const j = r.getUsedRange()?.getCoords() ?? hr.EmptyRange, W = r.getSelection().getCoords().cell;
35517
+ const j = r.getUsedRange()?.getCoords() ?? pr.EmptyRange, W = r.getSelection().getCoords().cell;
35517
35518
  return { colIndex: Math.max(j.colEnd, W.colIndex), rowIndex: Math.max(j.rowEnd, W.rowIndex) };
35518
35519
  }, [A, O] = de(I), L = A ? (o === Hr.Vertical ? A.rowIndex : A.colIndex) + 1 : 0, N = () => {
35519
35520
  const j = I();
35520
- hr.isEqualCells(A, j) || O(j);
35521
+ pr.isEqualCells(A, j) || O(j);
35521
35522
  };
35522
35523
  vn(r.getView(), { onFreezeSplitChange: () => {
35523
35524
  E(x);
@@ -35646,22 +35647,22 @@ const Xv = (n, e, t = null) => {
35646
35647
  }, []), lo = ce((Dt, xn = !1) => {
35647
35648
  let Xn = Dt;
35648
35649
  return xn || (Xn = { ...Dt }, he === vl ? delete Xn.colIndex : delete Xn.rowIndex), xe.current?.scrollCellCoordsIntoView(Xn);
35649
- }, [he]), Oo = Nt(Ae, [Ae]), Po = Nt(se, [se]), Jn = ee(() => ({ onPointerDown: (Dt) => {
35650
+ }, [he]), Oo = Nt(Ae, [Ae]), Bo = Nt(se, [se]), Jn = ee(() => ({ onPointerDown: (Dt) => {
35650
35651
  if (!be || !be.current || Dt.nativeEvent.defaultPrevented) return;
35651
35652
  const xn = Hn(Dt.nativeEvent.clientX, Dt.nativeEvent.clientY);
35652
35653
  if (!xn) return;
35653
35654
  Dt.nativeEvent.which;
35654
35655
  const Xn = Dt.nativeEvent.shiftKey, Kn = Dt.nativeEvent.ctrlKey || Dt.nativeEvent.metaKey;
35655
35656
  if (Ne?.(Dt, xn) === !1) return;
35656
- Po?.(), Ot.current = !0;
35657
- const Yn = xe.current?.getViewFromClient(Dt.nativeEvent.clientX, Dt.nativeEvent.clientY), kn = ((Bo, _r) => he === _i ? { ...Bo, rowIndex: _r.rowStart } : { ...Bo, colIndex: _r.colStart })(xn, Yn.getVisibleRangeCoords());
35657
+ Bo?.(), Ot.current = !0;
35658
+ const Yn = xe.current?.getViewFromClient(Dt.nativeEvent.clientX, Dt.nativeEvent.clientY), kn = ((Vo, _r) => he === _i ? { ...Vo, rowIndex: _r.rowStart } : { ...Vo, colIndex: _r.colStart })(xn, Yn.getVisibleRangeCoords());
35658
35659
  if (Xn) Rn(xn);
35659
35660
  else {
35660
- if (Kn) return ((Bo, _r = Bo, Ur) => {
35661
- Ct.current = an(Bo), Gt.current = mn(_r), kt(Ct.current, Gt.current, Ur);
35661
+ if (Kn) return ((Vo, _r = Vo, Ur) => {
35662
+ Ct.current = an(Vo), Gt.current = mn(_r), kt(Ct.current, Gt.current, Ur);
35662
35663
  })(xn, xn, kn), void (ve && lo(kn, !0));
35663
- ((Bo, _r = Bo, Ur) => {
35664
- Ct.current = an(Bo), Gt.current = mn(_r), St(Ct.current, Gt.current, Ur);
35664
+ ((Vo, _r = Vo, Ur) => {
35665
+ Ct.current = an(Vo), Gt.current = mn(_r), St(Ct.current, Gt.current, Ur);
35665
35666
  })(xn, xn, kn), Rn(xn), ve && lo(kn, !0);
35666
35667
  }
35667
35668
  }, onPointerMoveOrWait: vr.throttle((Dt) => {
@@ -35806,7 +35807,7 @@ const Xv = (n, e, t = null) => {
35806
35807
  if (!z && k.getMode()?.key === "copy") {
35807
35808
  const B = N.getItem().getCoords(), F = h.getSelectedRanges().getCoords();
35808
35809
  let $ = !1;
35809
- if (!$ && B && F && N.getItem().getSource?.() === h) for (let j = 0; !$ && j < F.length; j++) $ = hr.isRangesIntersect(B, F[j]);
35810
+ if (!$ && B && F && N.getItem().getSource?.() === h) for (let j = 0; !$ && j < F.length; j++) $ = pr.isRangesIntersect(B, F[j]);
35810
35811
  z = $;
35811
35812
  }
35812
35813
  z && k.setMode(null), u?.()?.focus(), f?.(N, D);
@@ -35849,9 +35850,9 @@ The content is not applied.` }), new Ue("pasteFormulas", N, { label: "Paste Form
35849
35850
  }, [t?.getStage()]), d && t ? d(t) : null;
35850
35851
  })), CU = { key: "dragCut", description: "Drag selection to move cell contents.", cursor: "move" }, EU = { key: "dragCutInsert", description: "Drag selection to insert cell contents.", cursor: "copy" }, TU = { key: "dragCopy", description: "Drag selection to copy cell contents." }, kU = { key: "dragCopyInsert", description: "Drag selection to insert copied cell contents.", cursor: "move" }, Yv = (n, e) => e.ctrlKey && e.shiftKey ? kU : e.ctrlKey ? TU : e.shiftKey ? EU : CU, MU = { key: "fill", description: "Drag selection to extend series or fill.", cursor: "crosshair" }, RU = Be(Ye((n, e) => {
35851
35852
  const { view: t, commands: o, className: r, onFirstRender: i, notifier: s, onShowTooltip: l, onCloseTooltip: a, sheet: c, gridRef: d, gridStyle: u, isActive: h, editingCoords: p, ...g } = n, m = t?.getBounds(), f = Te(l, [l]), y = Te(a, [a]), [w, b] = de(() => c?.getSelection().getCoords()), v = Te((Z) => {
35852
- hr.isEqualSelectionCoords(Z, w) || c && c.getSelection().updateCoords(Z);
35853
+ pr.isEqualSelectionCoords(Z, w) || c && c.getSelection().updateCoords(Z);
35853
35854
  }, [c, w]), x = Is(), _ = Se(null), [E, R] = de(c?.getProtection().isLocked()), [M, k] = de(c?.getView().getMovableSelection().length > 0), C = Wn.detectIt().primaryInput === "touch", T = !C && h, I = p !== null || M, A = Te((Z) => {
35854
- const J = hr.cellToRange(Z);
35855
+ const J = pr.cellToRange(Z);
35855
35856
  if (c.isClosed()) return J;
35856
35857
  const pe = c.getRange(J, { excludeHidden: !0 }).getMerges();
35857
35858
  return pe.length === 0 ? J : pe[0];
@@ -35893,7 +35894,7 @@ The content is not applied.` }), new Ue("pasteFormulas", N, { label: "Paste Form
35893
35894
  }, onMoveDragEnd: (Z, J) => {
35894
35895
  x.setMode(null);
35895
35896
  }, onMoveDragDone: async (Z, J, pe) => {
35896
- if (hr.isEqualRanges(Z, J)) return;
35897
+ if (pr.isEqualRanges(Z, J)) return;
35897
35898
  const ue = c.getRange(J);
35898
35899
  if (s?.showOptions) {
35899
35900
  const te = ue.getDifferences(Z);
@@ -35937,7 +35938,7 @@ The content is not applied.` }), new Ue("pasteFormulas", N, { label: "Paste Form
35937
35938
  if (!ue || ue.isEmpty()) return;
35938
35939
  const Y = ue.toText();
35939
35940
  if (!Y) return;
35940
- const ie = hr.cellToRange(ue.getCoords()), ye = t.getRelativePointFromClient(0, 0);
35941
+ const ie = pr.cellToRange(ue.getCoords()), ye = t.getRelativePointFromClient(0, 0);
35941
35942
  let we = 0, te = 0, le = gf;
35942
35943
  if (pe === q.Direction.Down) {
35943
35944
  we = W.getColOffset(ie.colEnd + 1) - ye.x;
@@ -35973,7 +35974,7 @@ The content is not applied.` }), new Ue("pasteFormulas", N, { label: "Paste Form
35973
35974
  };
35974
35975
  }, [t?.getStage()]);
35975
35976
  const U = kr(e, () => ({}), []), ne = Se(null);
35976
- return S("div", { className: Ti(r, "sheet-selection", "_sheet-selection_1tbzy_9"), style: { position: "absolute", width: m?.width, height: m?.height, overflow: "hidden", pointerEvents: "none", willChange: "none" }, ref: Gc([U, ne]), ...g, children: H(t) });
35977
+ return S("div", { className: Ti(r, "sheet-selection", "_sheet-selection_12wyx_5"), style: { position: "absolute", width: m?.width, height: m?.height, overflow: "hidden", pointerEvents: "none", willChange: "none" }, ref: Gc([U, ne]), ...g, children: H(t) });
35977
35978
  })), Qh = Object.freeze({ x: 0, y: 0, width: 0, height: 0 }), IU = { fireOnModelChange: !1 }, AU = Be(Ye((n, e) => {
35978
35979
  const { children: t, view: o, movable: r, onRefLoad: i, onRefUnload: s, onHide: l, onShow: a, onUnFocus: c, isDragging: d, updateFrameBounds: u, dragStart: h, style: p, disabled: g, renderMovable: m, ...f } = n, [y, w] = de(Qh), [b, v] = de(null), [x, _] = de(!1), E = Se(null);
35979
35980
  Gn(() => {
@@ -36137,7 +36138,7 @@ The content is not applied.` }), new Ue("pasteFormulas", N, { label: "Paste Form
36137
36138
  je.current = !0;
36138
36139
  const ge = rt.lazy(async () => {
36139
36140
  try {
36140
- const wt = await import("./s-R04_lOf8TuzWvo.mjs");
36141
+ const wt = await import("./0qppnWkLyeMGOizg.mjs");
36141
36142
  return je.current = !1, Ze.current = !0, _([...x]), wt;
36142
36143
  } catch (wt) {
36143
36144
  return console.warn(wt), P.current?.(!1), null;
@@ -36181,7 +36182,7 @@ The content is not applied.` }), new Ue("pasteFormulas", N, { label: "Paste Form
36181
36182
  }, onDragEnd: (ge) => {
36182
36183
  }, onMouseUp: (ge) => {
36183
36184
  } }) }), [F, le, x, t, c, d, u, E, M]);
36184
- return S("div", { className: Ti(h, "movable-area", "_movable-area_1xcl8_9"), style: { width: y.width, height: y.height, ...p, position: "absolute", overflow: "hidden", willChange: "transform" }, ref: Gc([te, we]), ...f, children: S("div", { className: "movable-scroll", style: { position: "absolute", cursor: "initial", left: 0, top: 0, width: y.width, height: y.height }, ...f, children: Q("div", { ref: D, style: { position: "absolute", pointerEvents: "auto" }, onFocus: (ge) => {
36185
+ return S("div", { className: Ti(h, "movable-area", "_movable-area_314c6_5"), style: { width: y.width, height: y.height, ...p, position: "absolute", overflow: "hidden", willChange: "transform" }, ref: Gc([te, we]), ...f, children: S("div", { className: "movable-scroll", style: { position: "absolute", cursor: "initial", left: 0, top: 0, width: y.width, height: y.height }, ...f, children: Q("div", { ref: D, style: { position: "absolute", pointerEvents: "auto" }, onFocus: (ge) => {
36185
36186
  v?.(), ne(!0);
36186
36187
  }, onBlur: (ge) => {
36187
36188
  ne(!1);
@@ -36322,15 +36323,15 @@ The content is not applied.` }), new Ue("pasteFormulas", N, { label: "Paste Form
36322
36323
  });
36323
36324
  }), new Ue("formatAnchorTypeTwoCell", y, { label: "Move and size with cells", description: "Set your drawing to move and resize when underling sheet resizes." }, function() {
36324
36325
  R(this, (O) => {
36325
- O.setAnchorType(dr.Type.TwoCell);
36326
+ O.setAnchorType(ur.Type.TwoCell);
36326
36327
  });
36327
36328
  }), new Ue("formatAnchorTypeOneCell", y, { label: "Move but don't size with cells", description: "Set your drawing to only move when underling sheet resizes." }, function() {
36328
36329
  R(this, (O) => {
36329
- O.setAnchorType(dr.Type.OneCell);
36330
+ O.setAnchorType(ur.Type.OneCell);
36330
36331
  });
36331
36332
  }), new Ue("formatAnchorTypeAbsolute", y, { label: "Don't move or size with cells", description: "Set your drawing to never move or resize when underling sheet resizes." }, function() {
36332
36333
  R(this, (O) => {
36333
- O.setAnchorType(dr.Type.Absolute);
36334
+ O.setAnchorType(ur.Type.Absolute);
36334
36335
  });
36335
36336
  }), new Ue("formatDrawAlignLeft", y, { label: "Align Left", description: "Align the selected drawings to the left." }, function() {
36336
36337
  R(this, (O, L) => {
@@ -36372,7 +36373,7 @@ The content is not applied.` }), new Ue("pasteFormulas", N, { label: "Paste Form
36372
36373
  return O = f ? f.createChildGroup(y, "movable", !1) : new Au(y, "movable"), O.addCommands(I, !0), O;
36373
36374
  }, [f, I]);
36374
36375
  return vn(M, { onAnyChange: () => {
36375
- A.getCommand("formatAnchorTypeTwoCell").update({ state: M?.getAnchorType() === dr.Type.TwoCell }), A.getCommand("formatAnchorTypeOneCell").update({ state: M?.getAnchorType() === dr.Type.OneCell }), A.getCommand("formatAnchorTypeAbsolute").update({ state: M?.getAnchorType() === dr.Type.Absolute }), A.getCommand("formatAnchorTypeAbsolute").update({ state: M?.getAnchorType() === dr.Type.Absolute }), A.getCommand("toggleLockAspectRatio").update({ state: M?.isLockAspectRatio() });
36376
+ A.getCommand("formatAnchorTypeTwoCell").update({ state: M?.getAnchorType() === ur.Type.TwoCell }), A.getCommand("formatAnchorTypeOneCell").update({ state: M?.getAnchorType() === ur.Type.OneCell }), A.getCommand("formatAnchorTypeAbsolute").update({ state: M?.getAnchorType() === ur.Type.Absolute }), A.getCommand("formatAnchorTypeAbsolute").update({ state: M?.getAnchorType() === ur.Type.Absolute }), A.getCommand("toggleLockAspectRatio").update({ state: M?.isLockAspectRatio() });
36376
36377
  }, onProtectedChange: (O) => {
36377
36378
  T(O.isProtected());
36378
36379
  }, onDelete: () => {
@@ -36428,7 +36429,7 @@ The content is not applied.` }), new Ue("pasteFormulas", N, { label: "Paste Form
36428
36429
  throw c.showError(new Error(`Unable to enter '${D}'.`, { cause: z })), z;
36429
36430
  }
36430
36431
  }
36431
- }, [o, p, c]), _ = Te((N) => o.getRange(N).getCell().getExtrusions() ?? hr.cellToRange(N), [o]);
36432
+ }, [o, p, c]), _ = Te((N) => o.getRange(N).getCell().getExtrusions() ?? pr.cellToRange(N), [o]);
36432
36433
  Te((N) => {
36433
36434
  let D = q.Orientation.Row, z = !1;
36434
36435
  N !== q.Direction.Up && N !== q.Direction.Down || (D = q.Orientation.Column), N !== q.Direction.Left && N !== q.Direction.Up || (z = !0), o.getSelection().traverse(D, z);
@@ -36725,7 +36726,7 @@ The content is not applied.` }), new Ue("pasteFormulas", N, { label: "Paste Form
36725
36726
  })), BU = Be(Ye((n, e) => {
36726
36727
  const { view: t, sheet: o, animationTime: r = 60 } = n, [i, s] = rt.useState(null), [l, a] = rt.useState(null), c = rt.useRef(null), d = Te(() => {
36727
36728
  const f = o.getSelectedCell(), y = f.getSpill()?.getCoords() ?? null;
36728
- hr.isEqualRanges(y, i) || (a(y ? { transition: i ? "move" : "in", bounds: t.getRangeCoordsBounds(y), coords: y } : { transition: "out", bounds: t.getRangeCoordsBounds(i), coords: i }), s(y));
36729
+ pr.isEqualRanges(y, i) || (a(y ? { transition: i ? "move" : "in", bounds: t.getRangeCoordsBounds(y), coords: y } : { transition: "out", bounds: t.getRangeCoordsBounds(i), coords: i }), s(y));
36729
36730
  }, [o, t, i]);
36730
36731
  rt.useEffect(() => (c.current && (clearTimeout(c.current), c.current = null), l && (c.current = setTimeout(() => {
36731
36732
  a(null), c.current = null;
@@ -36779,14 +36780,14 @@ The content is not applied.` }), new Ue("pasteFormulas", N, { label: "Paste Form
36779
36780
  });
36780
36781
  }, [se, t]);
36781
36782
  const [xt, St] = de(() => t?.getView().getTopLeft()), ot = Te((Xe) => {
36782
- const _e = hr.cellToRange(Xe);
36783
+ const _e = pr.cellToRange(Xe);
36783
36784
  if (t.isClosed()) return _e;
36784
36785
  const Ft = t.getRange(_e, { excludeHidden: !0 }).getMerges();
36785
36786
  return Ft.length === 0 ? _e : Ft[0];
36786
36787
  }, [t]), kt = (Xe) => {
36787
36788
  if (!Xe || Xe.coords.colIndex === 0 && Xe.coords.rowIndex === 0) return null;
36788
36789
  const _e = {};
36789
- return Xe.coords.colIndex > 0 && (_e[Qo.Left] = { index: Xe.coords.colIndex, scrollOffset: Xe.topLeft.left }), Xe.coords.rowIndex > 0 && (_e[Qo.Top] = { index: Xe.coords.rowIndex, scrollOffset: Xe.topLeft.top }), _e;
36790
+ return Xe.coords.colIndex > 0 && (_e[er.Left] = { index: Xe.coords.colIndex, scrollOffset: Xe.topLeft.left }), Xe.coords.rowIndex > 0 && (_e[er.Top] = { index: Xe.coords.rowIndex, scrollOffset: Xe.topLeft.top }), _e;
36790
36791
  }, [dt, ft] = de(() => kt(t.getView().getFreezePanes())), Ct = Is(), Gt = ce(() => ue.current, []), Ot = Te((Xe) => {
36791
36792
  Ct.setMode((_e) => _e?.key === "edit" ? { ..._e, args: { ..._e.args } } : { key: "edit", args: { stateAndCoords: null, start: Xe } });
36792
36793
  }, []), gn = Te(() => se, [se]), an = function(Xe) {
@@ -36796,7 +36797,7 @@ The content is not applied.` }), new Ue("pasteFormulas", N, { label: "Paste Form
36796
36797
  if (Yt.current !== _e) return;
36797
36798
  const Ee = _e.getSelectedRanges();
36798
36799
  let nt = null;
36799
- ao.length > 0 && hr.isCellWithinRange(gt, ao[0].getRange().getCoords()) && (nt = ao[0]);
36800
+ ao.length > 0 && pr.isCellWithinRange(gt, ao[0].getRange().getCoords()) && (nt = ao[0]);
36800
36801
  const pt = _e?.getSelectedCell(), Ke = pt?.getCoords() ?? null;
36801
36802
  ca(() => {
36802
36803
  Pg(nt), st(Ke), Qt(Ee);
@@ -36805,7 +36806,7 @@ The content is not applied.` }), new Ue("pasteFormulas", N, { label: "Paste Form
36805
36806
  Re(() => {
36806
36807
  Yt.current = _e, Rl();
36807
36808
  }, [_e]);
36808
- const Mr = Te(() => _e.getRange(gt).getCell(), [_e, gt]), tr = Te(async (Ee, nt, pt = null, Ke = !1, _t = !0) => {
36809
+ const Mr = Te(() => _e.getRange(gt).getCell(), [_e, gt]), nr = Te(async (Ee, nt, pt = null, Ke = !1, _t = !0) => {
36809
36810
  const It = Ee?.label?.(), An = async () => {
36810
36811
  const Cn = await Promise.resolve(_t && Ce?.showBusy?.(It ?? "Busy..."));
36811
36812
  try {
@@ -36834,23 +36835,23 @@ The content is not applied.` }), new Ue("pasteFormulas", N, { label: "Paste Form
36834
36835
  Ft(Cn);
36835
36836
  }
36836
36837
  return Pn();
36837
- }, [_e, Ft, Ce]), sn = Te((Ee, nt, pt = !1, Ke) => tr(Ee, (_t) => {
36838
+ }, [_e, Ft, Ce]), sn = Te((Ee, nt, pt = !1, Ke) => nr(Ee, (_t) => {
36838
36839
  const It = _t.getSelectedRanges();
36839
36840
  pt && It.updateStyle(null, Ke), It.updateStyle(nt, Ke), It.autoFit({ expandOnly: q.Orientation.Column, minContent: !0, skipCustomSize: !0 });
36840
36841
  }), [_e]), P6 = Te((Ee, nt, pt) => {
36841
- tr(Ee, (Ke) => {
36842
+ nr(Ee, (Ke) => {
36842
36843
  let _t = nt;
36843
36844
  (pt || nt?.address) && (_t = _t ?? {}, !pt && nt?.address?.startsWith("#") ? pt = nt?.address.substring(1) : pt && (_t.displayText = pt)), Ke.getSelectedRange().setHyperlink(_t);
36844
36845
  });
36845
36846
  }, [_e]), B6 = Te((Ee, nt) => {
36846
- tr(Ee, (pt) => {
36847
+ nr(Ee, (pt) => {
36847
36848
  pt.getSelectedRange().setComments(nt);
36848
36849
  });
36849
36850
  }, [_e]), Xc = Te((Ee, nt) => {
36850
- tr(Ee, (pt) => {
36851
+ nr(Ee, (pt) => {
36851
36852
  pt.getSelectedRanges().clear(nt);
36852
36853
  });
36853
- }, [_e]), Sa = Te(async (Ee, nt, pt = !1, Ke = !1) => tr(Ee, async (_t) => {
36854
+ }, [_e]), Sa = Te(async (Ee, nt, pt = !1, Ke = !1) => nr(Ee, async (_t) => {
36854
36855
  let It = _t.getSelectedRanges();
36855
36856
  pt && (nt === q.Orientation.Row ? It = It.getEntireRows(Ke) : nt === q.Orientation.Column && (It = It.getEntireColumns(Ke)));
36856
36857
  let An = null;
@@ -36866,7 +36867,7 @@ The content is not applied.` }), new Ue("pasteFormulas", N, { label: "Paste Form
36866
36867
  }, "Insert Cells", !1), [cn]), [Qs, Pg] = de(null), aI = Te((Ee) => _e.getStyles().setDefaultTableStyle(Ee), [_e]), cI = Te((Ee) => {
36867
36868
  _e.getStyles().getTableStyle(Ee)?.delete();
36868
36869
  }, [_e]), Zc = Te((Ee, nt) => {
36869
- tr(Ee, async (pt) => {
36870
+ nr(Ee, async (pt) => {
36870
36871
  const Ke = pt.getSelectedRange(), _t = pt.getSelectedCell().getCoords();
36871
36872
  let It = null, An = 0;
36872
36873
  const On = _t.rowIndex > 0 ? pt.getRange({ rowIndex: _t.rowIndex, colIndex: _t.colIndex }).getExtended(q.Direction.Up) : null;
@@ -36891,13 +36892,13 @@ The content is not applied.` }), new Ue("pasteFormulas", N, { label: "Paste Form
36891
36892
  Pn.colEnd = _t.colIndex - 1;
36892
36893
  }
36893
36894
  if (Ke.size !== 1 && It) {
36894
- const Cn = Ke.getCoords(), vo = Ke.startIncrementalUpdates({ orientation: q.Orientation.Column }), Ko = { ...Pn }, qr = Cn.rowStart, ms = Cn.rowEnd, fs = Cn.colStart, ys = Cn.colEnd, Si = It === q.Direction.Up;
36895
+ const Cn = Ke.getCoords(), vo = Ke.startIncrementalUpdates({ orientation: q.Orientation.Column }), Xo = { ...Pn }, qr = Cn.rowStart, ms = Cn.rowEnd, fs = Cn.colStart, ys = Cn.colEnd, Si = It === q.Direction.Up;
36895
36896
  for (let zr = fs; zr <= ys; zr++) {
36896
- Ko.colStart = Si ? zr : Pn.colStart + (zr - fs), Ko.colEnd = Si ? zr : Pn.colEnd + (zr - fs);
36897
- for (let nr = qr; nr <= ms; nr++) {
36898
- Ko.rowStart = Si ? Pn.rowStart + (nr - qr) : nr, Ko.rowEnd = Si ? Pn.rowEnd + (nr - qr) : nr;
36899
- const Un = pt.getRange(Ko).toString();
36900
- vo.pushAt(nr, zr, `=${nt}(${Un})`);
36897
+ Xo.colStart = Si ? zr : Pn.colStart + (zr - fs), Xo.colEnd = Si ? zr : Pn.colEnd + (zr - fs);
36898
+ for (let or = qr; or <= ms; or++) {
36899
+ Xo.rowStart = Si ? Pn.rowStart + (or - qr) : or, Xo.rowEnd = Si ? Pn.rowEnd + (or - qr) : or;
36900
+ const Un = pt.getRange(Xo).toString();
36901
+ vo.pushAt(or, zr, `=${nt}(${Un})`);
36901
36902
  }
36902
36903
  }
36903
36904
  vo.apply();
@@ -36907,15 +36908,15 @@ The content is not applied.` }), new Ue("pasteFormulas", N, { label: "Paste Form
36907
36908
  }
36908
36909
  }, !1);
36909
36910
  }, [_e]), Wu = Te((Ee, nt, pt = !1, Ke = !0) => {
36910
- tr(Ee, async (_t) => {
36911
+ nr(Ee, async (_t) => {
36911
36912
  let It = null;
36912
36913
  if (Qs) return void Qs.updateStyleOptions(nt);
36913
36914
  {
36914
36915
  const wn = _t.getSelectedRanges().getFixed(!0), Pn = _t.getSelectedRange().getDefaultSortCriteria();
36915
36916
  let Cn = { ranges: wn, hasHeader: Pn?.options?.hasHeader ?? !1 };
36916
- It = Ke ? new Promise((vo, Ko) => {
36917
+ It = Ke ? new Promise((vo, Xo) => {
36917
36918
  const qr = { tableOptions: Cn, onCancel: () => {
36918
- Ko();
36919
+ Xo();
36919
36920
  }, onDone: (ms) => {
36920
36921
  vo(ms);
36921
36922
  }, context: { getNames: () => _t.getNames() } };
@@ -36974,12 +36975,12 @@ The content is not applied.` }), new Ue("pasteFormulas", N, { label: "Paste Form
36974
36975
  if (It > 1e4 && await Ce?.showOptions({ title: "Confirm", description: `Converting a table to range with '${It}' cells will set a large number of cell styles and may affect performance.
36975
36976
  Continue?`, options: ["Convert", "Cancel"], defaultOption: "Convert" }) !== "Convert") return;
36976
36977
  }
36977
- tr(Ee, async () => {
36978
+ nr(Ee, async () => {
36978
36979
  pt ? Ke.delete() : Ke.convertToRange();
36979
36980
  }, !1, !0);
36980
36981
  }
36981
36982
  }, [Ce]), Bg = Te((Ee, nt, pt) => {
36982
- tr(Ee, async (Ke) => {
36983
+ nr(Ee, async (Ke) => {
36983
36984
  let _t = Ke.getSelectedRanges();
36984
36985
  if (_t.getCount() > 1) throw new Error("Can not sort on multiple cell ranges. Please select a single range and try again.");
36985
36986
  let It = _t.at(0);
@@ -36992,12 +36993,12 @@ Continue?`, options: ["Convert", "Cancel"], defaultOption: "Convert" }) !== "Con
36992
36993
  }
36993
36994
  let wn = On.options;
36994
36995
  if (pt && (wn = new Promise((Cn, vo) => {
36995
- const Ko = { range: It, options: On.options, cell: An, onCancel: () => {
36996
+ const Xo = { range: It, options: On.options, cell: An, onCancel: () => {
36996
36997
  vo();
36997
36998
  }, onDone: (qr) => {
36998
36999
  qr ? Cn(qr.options) : vo();
36999
37000
  } };
37000
- Ce.showWindow?.("sort", Ko);
37001
+ Ce.showWindow?.("sort", Xo);
37001
37002
  })), wn = await Promise.resolve(wn), !wn) return;
37002
37003
  const Pn = await Promise.resolve(Ce?.showBusy?.(Ee.label()));
37003
37004
  try {
@@ -37020,8 +37021,8 @@ Continue?`, options: ["Convert", "Cancel"], defaultOption: "Convert" }) !== "Con
37020
37021
  pt.terminate(), console.log("Worker terminated");
37021
37022
  }, 5e3);
37022
37023
  let Ke = -1;
37023
- for (let It = 0; Ke === -1 && It < nt.length; It++) hr.isCellWithinRange(Ee.cell, nt[It]) && (Ke = It);
37024
- if (hr.isEqualRangesArrays(Ee.ranges, nt)) return;
37024
+ for (let It = 0; Ke === -1 && It < nt.length; It++) pr.isCellWithinRange(Ee.cell, nt[It]) && (Ke = It);
37025
+ if (pr.isEqualRangesArrays(Ee.ranges, nt)) return;
37025
37026
  const _t = { cell: Ee.cell, ranges: nt, rangeIndex: Ke };
37026
37027
  _e.getSelection().updateCoords(_t);
37027
37028
  }, [_e]), hI = Te(() => {
@@ -37038,7 +37039,7 @@ Continue?`, options: ["Convert", "Cancel"], defaultOption: "Convert" }) !== "Con
37038
37039
  }
37039
37040
  pt && await pt.select();
37040
37041
  }, [_e]), Yc = Te((Ee, nt, pt) => {
37041
- tr(Ee, async (Ke) => {
37042
+ nr(Ee, async (Ke) => {
37042
37043
  let _t = Ke.getSelectedRanges();
37043
37044
  pt && (nt === q.Orientation.Row ? _t = _t.getEntireRows() : nt === q.Orientation.Column && (_t = _t.getEntireColumns())), _t.delete(nt);
37044
37045
  }, "Delete Cells");
@@ -37064,18 +37065,18 @@ Continue?`, options: ["Convert", "Cancel"], defaultOption: "Convert" }) !== "Con
37064
37065
  typeof It != "string" && (console.warn(_t), It = "Unable to resolve image."), Ce?.showMessage?.(It, { type: _l.Error });
37065
37066
  }
37066
37067
  }, [_e, Ce]), Uu = Te((Ee, nt) => {
37067
- tr(Ee, async (pt) => {
37068
+ nr(Ee, async (pt) => {
37068
37069
  const Ke = pt.getSelectedRanges();
37069
37070
  Ke.doBatch(() => {
37070
- const _t = nt === q.Direction.Up || nt === q.Direction.Down, It = Ke.getCoords().slice().sort(hr.createRangeComparator(_t ? q.Orientation.Row : q.Orientation.Column));
37071
+ const _t = nt === q.Direction.Up || nt === q.Direction.Down, It = Ke.getCoords().slice().sort(pr.createRangeComparator(_t ? q.Orientation.Row : q.Orientation.Column));
37071
37072
  for (let An = 0; An < It.length; An++) {
37072
37073
  const On = It[An];
37073
37074
  let wn = On;
37074
37075
  const Pn = pt.getRange(wn).getMerges();
37075
37076
  let Cn = 0, vo = 0;
37076
37077
  if (Pn.length > 0) {
37077
- const Ko = Pn[0];
37078
- Cn = Ko.rowEnd - Ko.rowStart, vo = Ko.colEnd - Ko.colStart;
37078
+ const Xo = Pn[0];
37079
+ Cn = Xo.rowEnd - Xo.rowStart, vo = Xo.colEnd - Xo.colStart;
37079
37080
  }
37080
37081
  nt === q.Direction.Left ? wn = { ...On, colStart: On.colEnd + vo } : nt === q.Direction.Right ? wn = { ...On, colEnd: On.colStart + vo } : nt === q.Direction.Up ? wn = { ...On, rowStart: On.rowEnd + Cn } : nt === q.Direction.Down && (wn = { ...On, rowEnd: On.rowStart + Cn }), pt.getRange(wn).autoFill(On, { filler: j1.Types.Copy }), pt.getRange(On).autoFit({ orientations: q.Orientations.Row, skipCustomSize: !0, minContent: !0 });
37081
37082
  }
@@ -37288,12 +37289,12 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
37288
37289
  Re(() => {
37289
37290
  if (Yt.current !== _e || !qt) return;
37290
37291
  const Ee = qt.getCoords(), nt = _e.getTables().search({ address: Ee[0] });
37291
- wi((An) => un.isEqualArrays(An, nt) ? An : nt), gt && nt[0] && hr.isCellWithinRange(gt, nt[0].getRange().getCoords()) ? Pg(nt[0] ?? null) : Pg(null);
37292
+ wi((An) => un.isEqualArrays(An, nt) ? An : nt), gt && nt[0] && pr.isCellWithinRange(gt, nt[0].getRange().getCoords()) ? Pg(nt[0] ?? null) : Pg(null);
37292
37293
  const pt = _e.getSelectedRanges(), Ke = pt.getMerges().length > 0, _t = pt.isOverlapping();
37293
37294
  let It = !0;
37294
- for (let An = 0; It && An < Ee.length; An++) It = hr.isSingleCell(Ee[An]);
37295
+ for (let An = 0; It && An < Ee.length; An++) It = pr.isSingleCell(Ee[An]);
37295
37296
  fI(_t), mI(nt.length === 0 && !_t && (Ke || !It));
37296
- }, [Gu, qt, _e]), qo(K, null, { onChange: () => {
37297
+ }, [Gu, qt, _e]), Ko(K, null, { onChange: () => {
37297
37298
  const Ee = cn.getMode()?.key === "formatPainter";
37298
37299
  Ie.getCommand("formatPainterToggle").update({ disabled: !K?.getCommand("copy"), state: () => Ee }).updateCallback(() => Ee ? void cn.setMode(null) : Ie.getCommand("copy").execute({ editMode: { key: "formatPainter", description: "Use the mouse to apply the copied format to another selection.", cursor: `url("data:image/svg+xml,%3Csvg width='30' height='22' viewBox='0 0 30 22' xmlns='http://www.w3.org/2000/svg' %3E%3Cg%3E%3Cpath d='M 26.737611,2.811068 V 2.0241451 c 0,-0.4328075 -0.354115,-0.7869227 -0.786923,-0.7869227 h -9.443074 c -0.432808,0 -0.786923,0.3541152 -0.786923,0.7869227 v 3.1476914 c 0,0.4328076 0.354115,0.7869235 0.786923,0.7869235 h 9.443074 c 0.432808,0 0.786923,-0.3541159 0.786923,-0.7869235 V 4.3849137 h 0.786923 v 3.1476915 h -7.869229 v 8.6561518 c 0,0.432808 0.354116,0.786923 0.786923,0.786923 h 1.573846 c 0.432807,0 0.786923,-0.354115 0.786923,-0.786923 V 9.1064513 H 29.09838 V 2.811068 Z M 10.714339,6.2116849 c -1.60877,0.0017 -3.2175361,0.00425 -4.8263048,0.00609 0.0012,1.5756989 0.00158,3.1513905 0.00244,4.7270891 -1.5978311,0.0017 -3.1956617,0.0034 -4.7934919,0.0043 0.00335,1.740011 0.00655,3.480012 0.00988,5.220023 1.5954589,0 3.1909181,0 4.7863775,0 -0.0017,1.606793 -0.00353,3.213585 -0.0051,4.820375 1.7440936,0.0016 3.4881881,0.0033 5.2322842,0.005 -0.0014,-1.608503 -0.0018,-3.217015 -0.0028,-4.825519 1.58518,0 3.17036,0 4.755543,0 0.0033,-1.741851 0.0073,-3.483705 0.01072,-5.225556 -1.58808,0 -3.176158,0 -4.764238,0 0,-1.5775391 0,-3.1550792 0,-4.7326117 -0.135065,1.3e-4 -0.270128,1.982e-4 -0.40519,4.047e-4 z' stroke='black' fill='white'/%3E%3C/g%3E%3C/svg%3E%0A") 7 12, pointer` } }));
37299
37300
  } }, [cn, Jc, K]), vn(_e.getView(), { onFreezeSplitChange: () => {
@@ -37389,7 +37390,7 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
37389
37390
  _e.getView().setFreezePanes(null);
37390
37391
  }).update({ disabled: () => !Ke() });
37391
37392
  }, [Gu, gt, _e, Bt]);
37392
- const _0 = Mr().getStyle(), fr = _0.getFont(), Ku = _0.getAlignment(), gs = Ku.getHorizontal(), td = Ku.getVertical(), nd = Ku.getOverflow(), C0 = Ku.getRotation();
37393
+ const _0 = Mr().getStyle(), yr = _0.getFont(), Ku = _0.getAlignment(), gs = Ku.getHorizontal(), td = Ku.getVertical(), nd = Ku.getOverflow(), C0 = Ku.getRotation();
37393
37394
  return Re(() => {
37394
37395
  Ie.getCommand("formatCellStyle").update({ context: () => ({ styles: () => _e.getStyles(), named: () => Mr().getStyle(!0).getNamed(), bodyStyle: V6, createTemporaryCell: (Un) => _e.createTemporaryCell(Un) }) }), Ie.getCommand("formatFillColor").update({ state: () => {
37395
37396
  let Un = null;
@@ -37400,39 +37401,39 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
37400
37401
  return { onColorSelect: (Rr) => {
37401
37402
  Lt(Rr ?? Yh);
37402
37403
  }, darkMode: Bt.darkMode, quickColor: ho, autoColor: Yh, schemeLookup: Un.schemeLookup(), recentColors: Un.recentColors(), addRecentColor: (Rr) => Un.addRecentColor(Rr), clearRecentColors: () => Un.clearRecentColors() };
37403
- } }), Ie.getCommand("formatFontColor").update({ state: () => fr.toJSON()?.fill ? fr.getFill() : null, context: () => {
37404
+ } }), Ie.getCommand("formatFontColor").update({ state: () => yr.toJSON()?.fill ? yr.getFill() : null, context: () => {
37404
37405
  const Un = _e.getStyles();
37405
37406
  return { onColorSelect: (Rr) => {
37406
37407
  Do(Rr);
37407
37408
  }, darkMode: Bt.darkMode, quickColor: bn, autoColor: Un.getNormal().getFont().getFill(), schemeLookup: Un.schemeLookup(), recentColors: Un.recentColors(), addRecentColor: (Rr) => Un.addRecentColor(Rr), clearRecentColors: () => Un.clearRecentColors() };
37408
- } }), Ie.getCommand("formatNumberFormat").update({ state: () => _0.getNumberFormat(), context: () => Mr }), Ie.getCommand("formatNumberDialog").update({ state: () => _0.getNumberFormat(), context: () => Mr }), Ie.getCommand("formatFontFamily").update({ state: () => fr.getFamily() }), Ie.getCommand("formatFontSize").update({ state: () => fr.getSize() });
37409
+ } }), Ie.getCommand("formatNumberFormat").update({ state: () => _0.getNumberFormat(), context: () => Mr }), Ie.getCommand("formatNumberDialog").update({ state: () => _0.getNumberFormat(), context: () => Mr }), Ie.getCommand("formatFontFamily").update({ state: () => yr.getFamily() }), Ie.getCommand("formatFontSize").update({ state: () => yr.getSize() });
37409
37410
  const Ee = function() {
37410
- const Un = fr.getWeight() || 0;
37411
+ const Un = yr.getWeight() || 0;
37411
37412
  return !isNaN(Un) && Un > 500;
37412
37413
  };
37413
37414
  Ie.getCommand("formatBoldToggle").updateCallback(function() {
37414
37415
  sn(this, { font: { weight: Ee() ? 400 : 700 } });
37415
37416
  }).update({ state: Ee });
37416
37417
  const nt = function() {
37417
- return fr.getStyle() === ct.Style.Italic;
37418
+ return yr.getStyle() === ct.Style.Italic;
37418
37419
  };
37419
37420
  Ie.getCommand("formatItalicToggle").updateCallback(function() {
37420
37421
  sn(this, { font: { style: nt() ? ct.Style.Normal : ct.Style.Italic } });
37421
37422
  }).update({ state: nt }), Ie.getCommand("formatStrikeThroughToggle").updateCallback(function() {
37422
- sn(this, { font: { strike: !fr.getStrike() } });
37423
- }).update({ state: fr.getStrike() }), Ie.getCommand("formatUnderlinedToggle").updateCallback(function() {
37424
- sn(this, { font: { underline: fr.getUnderline() !== ct.UnderlineStyle.Single ? ct.UnderlineStyle.Single : ct.UnderlineStyle.None } });
37425
- }).update({ state: fr.getUnderline() === ct.UnderlineStyle.Single }), Ie.getCommand("formatUnderlinedDoubleToggle").updateCallback(function() {
37426
- sn(this, { font: { underline: fr.getUnderline() !== ct.UnderlineStyle.Double ? ct.UnderlineStyle.Double : ct.UnderlineStyle.None } });
37427
- }).update({ state: fr.getUnderline() === ct.UnderlineStyle.Double }), Ie.getCommand("formatUnderlinedAccountingToggle").updateCallback(function() {
37428
- sn(this, { font: { underline: fr.getUnderline() !== ct.UnderlineStyle.SingleAccounting ? ct.UnderlineStyle.SingleAccounting : ct.UnderlineStyle.None } });
37429
- }).update({ state: fr.getUnderline() === ct.UnderlineStyle.SingleAccounting }), Ie.getCommand("formatUnderlinedAccountingDoubleToggle").updateCallback(function() {
37430
- sn(this, { font: { underline: fr.getUnderline() !== ct.UnderlineStyle.DoubleAccounting ? ct.UnderlineStyle.DoubleAccounting : ct.UnderlineStyle.None } });
37431
- }).update({ state: fr.getUnderline() === ct.UnderlineStyle.DoubleAccounting }), Ie.getCommand("formatSuperscriptToggle").updateCallback(function() {
37432
- sn(this, { font: { verticalAlign: fr.getVerticalAlignment() !== ct.VerticalAlignment.Super ? ct.VerticalAlignment.Super : ct.VerticalAlignment.Baseline } });
37433
- }).update({ state: fr.getVerticalAlignment() === ct.VerticalAlignment.Super }), Ie.getCommand("formatSubscriptToggle").updateCallback(function() {
37434
- sn(this, { font: { verticalAlign: fr.getVerticalAlignment() !== ct.VerticalAlignment.Sub ? ct.VerticalAlignment.Sub : ct.VerticalAlignment.Baseline } });
37435
- }).update({ state: fr.getVerticalAlignment() === ct.VerticalAlignment.Sub });
37423
+ sn(this, { font: { strike: !yr.getStrike() } });
37424
+ }).update({ state: yr.getStrike() }), Ie.getCommand("formatUnderlinedToggle").updateCallback(function() {
37425
+ sn(this, { font: { underline: yr.getUnderline() !== ct.UnderlineStyle.Single ? ct.UnderlineStyle.Single : ct.UnderlineStyle.None } });
37426
+ }).update({ state: yr.getUnderline() === ct.UnderlineStyle.Single }), Ie.getCommand("formatUnderlinedDoubleToggle").updateCallback(function() {
37427
+ sn(this, { font: { underline: yr.getUnderline() !== ct.UnderlineStyle.Double ? ct.UnderlineStyle.Double : ct.UnderlineStyle.None } });
37428
+ }).update({ state: yr.getUnderline() === ct.UnderlineStyle.Double }), Ie.getCommand("formatUnderlinedAccountingToggle").updateCallback(function() {
37429
+ sn(this, { font: { underline: yr.getUnderline() !== ct.UnderlineStyle.SingleAccounting ? ct.UnderlineStyle.SingleAccounting : ct.UnderlineStyle.None } });
37430
+ }).update({ state: yr.getUnderline() === ct.UnderlineStyle.SingleAccounting }), Ie.getCommand("formatUnderlinedAccountingDoubleToggle").updateCallback(function() {
37431
+ sn(this, { font: { underline: yr.getUnderline() !== ct.UnderlineStyle.DoubleAccounting ? ct.UnderlineStyle.DoubleAccounting : ct.UnderlineStyle.None } });
37432
+ }).update({ state: yr.getUnderline() === ct.UnderlineStyle.DoubleAccounting }), Ie.getCommand("formatSuperscriptToggle").updateCallback(function() {
37433
+ sn(this, { font: { verticalAlign: yr.getVerticalAlignment() !== ct.VerticalAlignment.Super ? ct.VerticalAlignment.Super : ct.VerticalAlignment.Baseline } });
37434
+ }).update({ state: yr.getVerticalAlignment() === ct.VerticalAlignment.Super }), Ie.getCommand("formatSubscriptToggle").updateCallback(function() {
37435
+ sn(this, { font: { verticalAlign: yr.getVerticalAlignment() !== ct.VerticalAlignment.Sub ? ct.VerticalAlignment.Sub : ct.VerticalAlignment.Baseline } });
37436
+ }).update({ state: yr.getVerticalAlignment() === ct.VerticalAlignment.Sub });
37436
37437
  const pt = () => nd === Oe.Overflow.Visible;
37437
37438
  Ie.getCommand("formatTextOverflowVisibleToggle").updateCallback(function() {
37438
37439
  sn(this, { alignment: { overflow: (pt(), Oe.Overflow.Visible) } });
@@ -37489,12 +37490,12 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
37489
37490
  Ie.getCommand("formatAlignDistributedVerticalToggle").updateCallback(function() {
37490
37491
  sn(this, { alignment: { vertical: vo() ? Oe.VerticalAlignment.Bottom : Oe.VerticalAlignment.Distributed } });
37491
37492
  }).update({ state: vo });
37492
- const Ko = function() {
37493
+ const Xo = function() {
37493
37494
  return gs === Oe.HorizontalAlignment.Left;
37494
37495
  };
37495
37496
  Ie.getCommand("formatAlignLeftToggle").updateCallback(function() {
37496
- sn(this, { alignment: { horizontal: Ko() ? Oe.HorizontalAlignment.General : Oe.HorizontalAlignment.Left } });
37497
- }).update({ state: Ko });
37497
+ sn(this, { alignment: { horizontal: Xo() ? Oe.HorizontalAlignment.General : Oe.HorizontalAlignment.Left } });
37498
+ }).update({ state: Xo });
37498
37499
  const qr = function() {
37499
37500
  return gs === Oe.HorizontalAlignment.Center;
37500
37501
  };
@@ -37533,28 +37534,28 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
37533
37534
  Ie.getCommand("formatAlignJustifyToggle").updateCallback(function() {
37534
37535
  sn(this, { alignment: { horizontal: zr() ? Oe.HorizontalAlignment.General : Oe.HorizontalAlignment.Justify } });
37535
37536
  }).update({ state: zr });
37536
- const nr = gs === Oe.HorizontalAlignment.CenterContinuous || gs === Oe.HorizontalAlignment.Fill;
37537
+ const or = gs === Oe.HorizontalAlignment.CenterContinuous || gs === Oe.HorizontalAlignment.Fill;
37537
37538
  Ie.getCommand("formatTextRotate0").updateCallback(function(Un) {
37538
37539
  sn(this, { alignment: { rotation: 0 } });
37539
- }).update({ disabled: nr, state: C0 === 0 }), Ie.getCommand("formatTextRotate45").updateCallback(function(Un) {
37540
+ }).update({ disabled: or, state: C0 === 0 }), Ie.getCommand("formatTextRotate45").updateCallback(function(Un) {
37540
37541
  sn(this, { alignment: { rotation: Un ?? 1 ? 45 : 0 } });
37541
- }).update({ disabled: nr, state: C0 === 45 }), Ie.getCommand("formatTextRotate90").updateCallback(function(Un) {
37542
+ }).update({ disabled: or, state: C0 === 45 }), Ie.getCommand("formatTextRotate90").updateCallback(function(Un) {
37542
37543
  sn(this, { alignment: { rotation: Un ?? 1 ? 90 : 0 } });
37543
- }).update({ disabled: nr, state: C0 === 90 }), Ie.getCommand("formatTextRotate270").updateCallback(function(Un) {
37544
+ }).update({ disabled: or, state: C0 === 90 }), Ie.getCommand("formatTextRotate270").updateCallback(function(Un) {
37544
37545
  sn(this, { alignment: { rotation: Un ?? 1 ? 270 : 0 } });
37545
- }).update({ disabled: nr, state: C0 === 270 }), Ie.getCommand("formatTextRotate315").updateCallback(function(Un) {
37546
+ }).update({ disabled: or, state: C0 === 270 }), Ie.getCommand("formatTextRotate315").updateCallback(function(Un) {
37546
37547
  sn(this, { alignment: { rotation: Un ?? 1 ? 315 : 0 } });
37547
- }).update({ disabled: nr, state: C0 === 315 }), Ie.getCommand("formatTextRotateCustom").updateCallback(function(Un) {
37548
+ }).update({ disabled: or, state: C0 === 315 }), Ie.getCommand("formatTextRotateCustom").updateCallback(function(Un) {
37548
37549
  sn(this, { alignment: { rotation: Un } });
37549
- }).update({ disabled: nr, state: C0 ?? 0 });
37550
+ }).update({ disabled: or, state: C0 ?? 0 });
37550
37551
  }, [_0, _e, Bt, ho, bn]), Re(() => {
37551
- const Ee = !_e.getProtection().isFormatCellsAllowed(), nt = _e.getSelectedRanges().getMerges().length > 0, pt = async (Vo, Xu) => {
37552
- tr(Xu, async (E0) => {
37552
+ const Ee = !_e.getProtection().isFormatCellsAllowed(), nt = _e.getSelectedRanges().getMerges().length > 0, pt = async (Ho, Xu) => {
37553
+ nr(Xu, async (E0) => {
37553
37554
  const Zu = async (Yu = !1) => {
37554
37555
  const yI = await Promise.resolve(Ce?.showBusy?.(Xu.label()));
37555
37556
  try {
37556
37557
  const Ju = E0.getSelectedRanges();
37557
- if (Ju.merge({ orientations: Vo, discardMultipleValues: Yu }), Vo === q.Orientations.Both) {
37558
+ if (Ju.merge({ orientations: Ho, discardMultipleValues: Yu }), Ho === q.Orientations.Both) {
37558
37559
  const wI = { alignment: { horizontal: Oe.HorizontalAlignment.Center } };
37559
37560
  Ju.updateStyle(wI);
37560
37561
  }
@@ -37576,8 +37577,8 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
37576
37577
  await Zu(!0);
37577
37578
  }
37578
37579
  }, void 0, void 0, !1);
37579
- }, Ke = (Vo) => {
37580
- tr(Vo, async (Xu) => {
37580
+ }, Ke = (Ho) => {
37581
+ nr(Ho, async (Xu) => {
37581
37582
  try {
37582
37583
  const E0 = Xu.getSelectedRanges();
37583
37584
  E0.unmerge();
@@ -37589,7 +37590,7 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
37589
37590
  });
37590
37591
  };
37591
37592
  Ie.getCommand("mergeToggle").updateCallback(function() {
37592
- hr.isSingleCell(_e.getSelectedRange().getCoords()) || (nt ? Ke(this) : pt(q.Orientations.Both, this));
37593
+ pr.isSingleCell(_e.getSelectedRange().getCoords()) || (nt ? Ke(this) : pt(q.Orientations.Both, this));
37593
37594
  }).update({ state: nt, disabled: !Qc || Ee }), Ie.getCommand("mergeHorizontal").updateCallback(function() {
37594
37595
  pt(q.Orientations.Column, this);
37595
37596
  }).update({ disabled: !Qc || Ee }), Ie.getCommand("mergeVertical").updateCallback(function() {
@@ -37599,46 +37600,46 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
37599
37600
  }).update({ disabled: !nt || !Qc || Ee });
37600
37601
  const _t = { disabled: Ee };
37601
37602
  Ie.getCommand("hideRows").updateCallback(function() {
37602
- tr(this, (Vo) => {
37603
- Vo.getRowHeaders().setHidden(Vo.getSelectedRanges().getCoords(), !0);
37603
+ nr(this, (Ho) => {
37604
+ Ho.getRowHeaders().setHidden(Ho.getSelectedRanges().getCoords(), !0);
37604
37605
  });
37605
37606
  }).update(_t), Ie.getCommand("hideColumns").updateCallback(function() {
37606
- tr(this, (Vo) => {
37607
- Vo.getColumnHeaders().setHidden(Vo.getSelectedRanges().getCoords(), !0);
37607
+ nr(this, (Ho) => {
37608
+ Ho.getColumnHeaders().setHidden(Ho.getSelectedRanges().getCoords(), !0);
37608
37609
  });
37609
37610
  }).update(_t), Ie.getCommand("unhideRows").updateCallback(function() {
37610
- tr(this, (Vo) => {
37611
- Vo.getRowHeaders().setHidden(Vo.getSelectedRanges().getCoords(), !1);
37611
+ nr(this, (Ho) => {
37612
+ Ho.getRowHeaders().setHidden(Ho.getSelectedRanges().getCoords(), !1);
37612
37613
  });
37613
37614
  }).update(_t), Ie.getCommand("unhideColumns").updateCallback(function() {
37614
- tr(this, (Vo) => {
37615
- Vo.getColumnHeaders().setHidden(Vo.getSelectedRanges().getCoords(), !1);
37615
+ nr(this, (Ho) => {
37616
+ Ho.getColumnHeaders().setHidden(Ho.getSelectedRanges().getCoords(), !1);
37616
37617
  });
37617
37618
  }).update(_t), Ie.getCommand("autoFitRows").updateCallback(function() {
37618
- tr(this, (Vo) => {
37619
- Vo.getSelectedRanges().autoFit({ orientations: q.Orientations.Row });
37619
+ nr(this, (Ho) => {
37620
+ Ho.getSelectedRanges().autoFit({ orientations: q.Orientations.Row });
37620
37621
  });
37621
37622
  }).update(_t), Ie.getCommand("autoFitColumns").updateCallback(function() {
37622
- tr(this, (Vo) => {
37623
- Vo.getSelectedRanges().autoFit({ orientations: q.Orientations.Column });
37623
+ nr(this, (Ho) => {
37624
+ Ho.getSelectedRanges().autoFit({ orientations: q.Orientations.Column });
37624
37625
  });
37625
37626
  }).update(_t);
37626
37627
  let It = !1, An = 0, On = !1, wn = !1, Pn = 0, Cn = !1;
37627
37628
  !qt || Ee || ed || (It = qt.isEntireColumnsAny(), It && !qt.isEntireColumns() ? On = !0 : An = qt.getColumnCount(), wn = qt.isEntireRowsAny(), wn && !qt.isEntireRows() ? Cn = !0 : Pn = qt.getRowCount());
37628
37629
  const vo = { disabled: Ee || qt && qt.getCount() !== 1 };
37629
37630
  Ie.getCommand("sortAscending").update(vo), Ie.getCommand("sortDescending").update(vo);
37630
- const Ko = { disabled: It || wn || Ee || ed }, qr = It || Ee || ed || Cn;
37631
+ const Xo = { disabled: It || wn || Ee || ed }, qr = It || Ee || ed || Cn;
37631
37632
  qr && (An = 1);
37632
37633
  const ms = wn || Ee || ed || On;
37633
37634
  ms && (Pn = 1);
37634
- let fs = "", ys = "", Si = "", zr = "", nr = "", Un = "", Rr = "", Hg = "", $g = "";
37635
- An > 1 && (Un = ys = An + " ", Rr = Si = "s"), Pn > 1 && (Hg = zr = Pn + " ", $g = nr = "s"), cn.getMode()?.key === "copy" ? (fs = zr = ys = "Copied ", Si = nr = "s") : cn.getMode()?.key === "cut" && (fs = zr = ys = "Cut ", Si = nr = "s");
37635
+ let fs = "", ys = "", Si = "", zr = "", or = "", Un = "", Rr = "", Hg = "", $g = "";
37636
+ An > 1 && (Un = ys = An + " ", Rr = Si = "s"), Pn > 1 && (Hg = zr = Pn + " ", $g = or = "s"), cn.getMode()?.key === "copy" ? (fs = zr = ys = "Copied ", Si = or = "s") : cn.getMode()?.key === "cut" && (fs = zr = ys = "Cut ", Si = or = "s");
37636
37637
  let G6 = "", q6 = "";
37637
37638
  if (qt) {
37638
- const Vo = qt.getDefaultShiftOrientation() === q.Orientation.Column;
37639
- G6 = ` (${Vo ? "Shift Right" : "Shift Down"})`, q6 = ` (${Vo ? "Shift Left" : "Shift up"})`, Ie.getCommand("deleteCells").update({ label: `Delete Cells${q6}` });
37639
+ const Ho = qt.getDefaultShiftOrientation() === q.Orientation.Column;
37640
+ G6 = ` (${Ho ? "Shift Right" : "Shift Down"})`, q6 = ` (${Ho ? "Shift Left" : "Shift up"})`, Ie.getCommand("deleteCells").update({ label: `Delete Cells${q6}` });
37640
37641
  }
37641
- Ie.getCommand("insertCells").update({ label: `Insert ${fs}Cells${G6}`, scopedLabels: { insertCells: `${fs}At Selection` } }), Ie.getCommand("insertCellsShiftRight").update(Ko), Ie.getCommand("insertCellsShiftDown").update(Ko), Ie.getCommand("deleteCellsShiftUp").update(Ko), Ie.getCommand("deleteCellsShiftLeft").update(Ko), Ie.getCommand("insertRows").update({ label: `Insert ${zr}Row${nr}`, scopedLabels: { insertCells: `${zr}Row${nr}` }, disabled: ms }), Ie.getCommand("insertRowsAfter").update({ label: `Insert ${zr}Row${nr} Below`, disabled: ms }), Ie.getCommand("insertColumns").update({ label: `Insert ${ys}Column${Si}`, scopedLabels: { insertCells: `${ys}Column${Si}` }, disabled: qr }), Ie.getCommand("insertColumnsAfter").update({ label: `Insert ${ys}Column${Si} After`, disabled: qr }), Ie.getCommand("deleteRows").update({ label: `Delete ${Hg}Row${$g}`, scopedLabels: { deleteCells: `${Hg}Row${$g}` }, disabled: ms }), Ie.getCommand("deleteColumns").update({ label: `Delete ${Un}Column${Rr}`, scopedLabels: { deleteCells: `${Un}Column${Rr}` }, disabled: qr });
37642
+ Ie.getCommand("insertCells").update({ label: `Insert ${fs}Cells${G6}`, scopedLabels: { insertCells: `${fs}At Selection` } }), Ie.getCommand("insertCellsShiftRight").update(Xo), Ie.getCommand("insertCellsShiftDown").update(Xo), Ie.getCommand("deleteCellsShiftUp").update(Xo), Ie.getCommand("deleteCellsShiftLeft").update(Xo), Ie.getCommand("insertRows").update({ label: `Insert ${zr}Row${or}`, scopedLabels: { insertCells: `${zr}Row${or}` }, disabled: ms }), Ie.getCommand("insertRowsAfter").update({ label: `Insert ${zr}Row${or} Below`, disabled: ms }), Ie.getCommand("insertColumns").update({ label: `Insert ${ys}Column${Si}`, scopedLabels: { insertCells: `${ys}Column${Si}` }, disabled: qr }), Ie.getCommand("insertColumnsAfter").update({ label: `Insert ${ys}Column${Si} After`, disabled: qr }), Ie.getCommand("deleteRows").update({ label: `Delete ${Hg}Row${$g}`, scopedLabels: { deleteCells: `${Hg}Row${$g}` }, disabled: ms }), Ie.getCommand("deleteColumns").update({ label: `Delete ${Un}Column${Rr}`, scopedLabels: { deleteCells: `${Un}Column${Rr}` }, disabled: qr });
37642
37643
  }, [Gu, Qc, ed, qt, cn, Ce, Jc]), Re(() => {
37643
37644
  const Ee = _e.getProtection(), nt = _e.getProtection().isLocked(), pt = !Ee.isFormatCellsAllowed(), Ke = { disabled: pt };
37644
37645
  Ie.getCommand("protectionSheetToggle").updateCallback(async (An, On) => {
@@ -37661,7 +37662,7 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
37661
37662
  const _t = gs === Oe.HorizontalAlignment.CenterContinuous || gs === Oe.HorizontalAlignment.Fill, It = { disabled: pt || _t };
37662
37663
  Ie.getCommand("formatTextRotate0").update(It), Ie.getCommand("formatTextRotate45").update(It), Ie.getCommand("formatTextRotate90").update(It), Ie.getCommand("formatTextRotate270").update(It), Ie.getCommand("formatTextRotate315").update(It), Ie.getCommand("formatTextRotateCustom").update(It), Ie.getCommand("formatTextRotateVertical").update(It);
37663
37664
  }, [Gu]), Ie;
37664
- }({ sheet: t, commands: p, target: Gt, onRepeatCommandChange: g, bodyStyle: U, notifier: R, onStartEdit: Ot, getViewport: gn }), [mn, Rn] = de(t.getSelection().isEntire()), [Hn, lo] = de(Y?.getMovableSelection().length > 0), Oo = he !== null || Hn, Po = null, [Jn, Dt] = de(!1);
37665
+ }({ sheet: t, commands: p, target: Gt, onRepeatCommandChange: g, bodyStyle: U, notifier: R, onStartEdit: Ot, getViewport: gn }), [mn, Rn] = de(t.getSelection().isEntire()), [Hn, lo] = de(Y?.getMovableSelection().length > 0), Oo = he !== null || Hn, Bo = null, [Jn, Dt] = de(!1);
37665
37666
  Re(() => {
37666
37667
  Dt(!1);
37667
37668
  }, [t.getProtection()]);
@@ -37670,7 +37671,7 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
37670
37671
  }, [R, Jn]), Xn = ee(() => {
37671
37672
  const Xe = Ct.getMode();
37672
37673
  return Xe?.cursor ? Xe.cursor : null;
37673
- }, [Po, Ct]), [Kn, Yn] = de(null), kn = Se(!1), [Bo, _r] = de([]), Ur = Se(null), [si, ps] = de(Y1.EmptyTopLeft), [li, Ui] = de(Y1.EmptyTopLeft);
37674
+ }, [Bo, Ct]), [Kn, Yn] = de(null), kn = Se(!1), [Vo, _r] = de([]), Ur = Se(null), [si, ps] = de(Y1.EmptyTopLeft), [li, Ui] = de(Y1.EmptyTopLeft);
37674
37675
  Re(() => {
37675
37676
  ps({ left: xt?.left, top: 0 });
37676
37677
  }, [xt?.left]), Re(() => {
@@ -37703,7 +37704,7 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
37703
37704
  kn.current = !0, Yn([(K) => {
37704
37705
  if (!K.toClipBounds(K.getRangeCoordsBounds({ rowStart: 0, rowEnd: je.height, colStart: Ft, colEnd: Ft }))) return;
37705
37706
  const X = K.getLayout(), Ce = Math.max(0, X.getColOffset(Ft)), Me = K.getBounds(), et = Math.min(Me.x + Me.width, X.getColOffset(Ft + 1)), gt = K.getAnchor();
37706
- if (Bt !== null && (gt === Qo.Left || gt === Qo.Center || gt === Qo.Right)) {
37707
+ if (Bt !== null && (gt === er.Left || gt === er.Center || gt === er.Right)) {
37707
37708
  const zn = un.roundAccurately(Bt * un.getDPI(), 0), tn = un.roundAccurately(t?.getColumnWidthAsFontUnit(Bt / ye), 2).toFixed(2), on = "Width: " + (Bt ? tn + " (" + zn + " pixels)" : "Hidden"), ho = Xt.current.getGridElement().getRelativePointFromClient(0, 0), Lt = 0 - ho.y, bn = 0 - ho.y + ge, Do = { x: Ce - (ho.x - Me.x), y: Lt, width: et - Ce, height: bn - Lt };
37708
37709
  requestAnimationFrame(() => {
37709
37710
  kn.current && $?.({ anchor: Do, display: on });
@@ -37730,7 +37731,7 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
37730
37731
  kn.current = !0, Yn([(K) => {
37731
37732
  if (!K.toClipBounds(K.getRangeCoordsBounds({ rowStart: Ft, rowEnd: Ft, colStart: 0, colEnd: je.width }))) return;
37732
37733
  const X = K.getLayout(), Ce = Math.max(0, X.getRowOffset(Ft)), Me = K.getBounds(), et = Math.min(Me.y + Me.height, X.getRowOffset(Ft + 1)), gt = K.getAnchor();
37733
- if (Bt !== null && (gt === Qo.Top || gt === Qo.Center || gt === Qo.Bottom)) {
37734
+ if (Bt !== null && (gt === er.Top || gt === er.Center || gt === er.Bottom)) {
37734
37735
  const zn = Math.floor(10 * un.getDPI()) / 10, tn = un.roundAccurately(Bt * zn, 0), on = un.roundAccurately(tn / ye / (t?.getRowHeaders().getScaleFactor() * un.getDPI()), 2).toFixed(2), ho = "Height: " + (Bt ? on + " (" + tn + " pixels)" : "Hidden"), Lt = Ve.current.getGridElement().getRelativePointFromClient(0, 0), bn = 0 - Lt.x, Do = 0 - Lt.x + vt, cn = { x: bn, y: Ce - (Lt.y - Me.y), width: Do - bn, height: et - Ce };
37735
37736
  requestAnimationFrame(() => {
37736
37737
  kn.current && j?.({ anchor: cn, display: ho });
@@ -37779,7 +37780,7 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
37779
37780
  Re(() => {
37780
37781
  tt();
37781
37782
  }, [V]);
37782
- const Et = mn ? pe.edgeStrokeFill : Z.fill, Mt = mn ? J.fill : typeof V.headerHover == "function" ? V.headerHover(Z)?.fill : Z.fill, ht = ee(() => w ? S("div", { className: Ti("sheetxl-viewport-overlay", "_viewport-overlay_1tnw9_11"), style: { width: "100%", height: "100%", boxSizing: "border-box", position: "absolute" }, children: w }) : S(zt, {}), [w]);
37783
+ const Et = mn ? pe.edgeStrokeFill : Z.fill, Mt = mn ? J.fill : typeof V.headerHover == "function" ? V.headerHover(Z)?.fill : Z.fill, ht = ee(() => w ? S("div", { className: Ti("sheetxl-viewport-overlay", "_viewport-overlay_1qeq6_6"), style: { width: "100%", height: "100%", boxSizing: "border-box", position: "absolute" }, children: w }) : S(zt, {}), [w]);
37783
37784
  let At = null;
37784
37785
  le && fe && (At = Q("div", { tabIndex: -1, className: "top-left-corner", style: { padding: "2 2", position: "absolute", height: `${ge}px`, width: `${vt}px`, zIndex: 1, boxSizing: "border-box", cursor: "cell" }, onMouseDown: (Xe) => {
37785
37786
  let _e = !Xe.ctrlKey;
@@ -37827,7 +37828,7 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
37827
37828
  }, [Ct]), Fn = Te(async (Xe) => {
37828
37829
  const _e = Ct.getMode();
37829
37830
  return Xe.keyCode === Sn.Escape && _e ? (Xe.preventDefault(), void Ct.setMode(null)) : Xe.keyCode === Sn.Enter && Zn ? (Xe.preventDefault(), await an?.getCommand("paste")?.execute(), void Ct.setMode(null)) : void an?.dispatchToFocusedCommand(Xe);
37830
- }, [an, Ct]), Ve = Se(null), Pt = ee(() => S("div", { tabIndex: -1, style: { position: "relative", flex: "0", top: `${ge + 1}px`, width: `${vt + Z.edgeStrokeWidth}px`, minWidth: `${vt + Z.edgeStrokeWidth}px`, borderRight: `solid ${Z.edgeStrokeWidth}px ${Z.edgeStrokeFill}`, height: `calc(100% - ${ge}px)`, boxSizing: "border-box", zIndex: "2" }, children: S(Zv, { ref: Ve, sheetElement: Fr.current, gridRef: ue, freezeStart: dt?.[Qo.Top], oppositeSize: vt, containerWidth: vt, containerHeight: yt, sheetHeader: t.getRowHeaders(), gridStyle: G, verticalPadding: Math.max(0, Math.floor(t.getStyles().getNormal().getFont().getSize() / 10)), scrollPoint: li, onSheetContextMenu: i, tabIndex: -1, style: { position: "relative", flex: "0", top: `${ge + 1}px`, width: `${vt + Z.edgeStrokeWidth}px`, minWidth: `${vt + Z.edgeStrokeWidth}px`, borderRight: `solid ${Z.edgeStrokeWidth}px ${Z.edgeStrokeFill}`, height: `calc(100% - ${ge}px)`, boxSizing: "border-box", zIndex: "2", ...Gi?.style }, ...Gi }) }), [vt, ge, yt, t, li, dt?.[Qo.Top], V, Pe, i, Z.fill, c]), Xt = Se(null), Ln = ee(() => S("div", { tabIndex: -1, style: { position: "relative", left: "0px", width: "100%", height: `${ge + Z.edgeStrokeWidth}px`, minHeight: `${ge + Z.edgeStrokeWidth}px`, borderBottom: `solid ${Z.edgeStrokeWidth}px ${Z.edgeStrokeFill}`, boxSizing: "border-box", zIndex: "1" }, children: S(Zv, { ref: Xt, sheetElement: Fr.current, gridRef: ue, freezeStart: dt?.[Qo.Left], oppositeSize: ge, containerWidth: wt, containerHeight: ge, sheetHeader: t.getColumnHeaders(), gridStyle: G, scrollPoint: si, onSheetContextMenu: i, ...Ns, style: { ...Ns?.style, position: "relative", left: "0px", width: "100%", height: `${ge + Z.edgeStrokeWidth}px`, minHeight: `${ge + Z.edgeStrokeWidth}px`, borderBottom: `solid ${Z.edgeStrokeWidth}px ${Z.edgeStrokeFill}`, boxSizing: "border-box", zIndex: "1" } }) }), [ge, wt, t, si, dt?.[Qo.Left], V, Z.fill, Pe, i, l]), Tn = Te((Xe) => {
37831
+ }, [an, Ct]), Ve = Se(null), Pt = ee(() => S("div", { tabIndex: -1, style: { position: "relative", flex: "0", top: `${ge + 1}px`, width: `${vt + Z.edgeStrokeWidth}px`, minWidth: `${vt + Z.edgeStrokeWidth}px`, borderRight: `solid ${Z.edgeStrokeWidth}px ${Z.edgeStrokeFill}`, height: `calc(100% - ${ge}px)`, boxSizing: "border-box", zIndex: "2" }, children: S(Zv, { ref: Ve, sheetElement: Fr.current, gridRef: ue, freezeStart: dt?.[er.Top], oppositeSize: vt, containerWidth: vt, containerHeight: yt, sheetHeader: t.getRowHeaders(), gridStyle: G, verticalPadding: Math.max(0, Math.floor(t.getStyles().getNormal().getFont().getSize() / 10)), scrollPoint: li, onSheetContextMenu: i, tabIndex: -1, style: { position: "relative", flex: "0", top: `${ge + 1}px`, width: `${vt + Z.edgeStrokeWidth}px`, minWidth: `${vt + Z.edgeStrokeWidth}px`, borderRight: `solid ${Z.edgeStrokeWidth}px ${Z.edgeStrokeFill}`, height: `calc(100% - ${ge}px)`, boxSizing: "border-box", zIndex: "2", ...Gi?.style }, ...Gi }) }), [vt, ge, yt, t, li, dt?.[er.Top], V, Pe, i, Z.fill, c]), Xt = Se(null), Ln = ee(() => S("div", { tabIndex: -1, style: { position: "relative", left: "0px", width: "100%", height: `${ge + Z.edgeStrokeWidth}px`, minHeight: `${ge + Z.edgeStrokeWidth}px`, borderBottom: `solid ${Z.edgeStrokeWidth}px ${Z.edgeStrokeFill}`, boxSizing: "border-box", zIndex: "1" }, children: S(Zv, { ref: Xt, sheetElement: Fr.current, gridRef: ue, freezeStart: dt?.[er.Left], oppositeSize: ge, containerWidth: wt, containerHeight: ge, sheetHeader: t.getColumnHeaders(), gridStyle: G, scrollPoint: si, onSheetContextMenu: i, ...Ns, style: { ...Ns?.style, position: "relative", left: "0px", width: "100%", height: `${ge + Z.edgeStrokeWidth}px`, minHeight: `${ge + Z.edgeStrokeWidth}px`, borderBottom: `solid ${Z.edgeStrokeWidth}px ${Z.edgeStrokeFill}`, boxSizing: "border-box", zIndex: "1" } }) }), [ge, wt, t, si, dt?.[er.Left], V, Z.fill, Pe, i, l]), Tn = Te((Xe) => {
37831
37832
  const { value: _e, key: Ft, ...Bt } = Xe;
37832
37833
  let K = _e, X = he;
37833
37834
  if (!X || X.colIndex === Xe.coords.colIndex && X.rowIndex === Xe.coords.rowIndex || (X = null), !K) {
@@ -37861,13 +37862,13 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
37861
37862
  let et = Y?.getGridLineColor()?.toRGBA(U.darkMode).toString() ?? U.strokeFill;
37862
37863
  return K || (Ce = Me(Bt.getBottom(), Ce, !0), Ce = Me(Bt.getTop(), Ce, !0), X = Me(Bt.getRight(), X, !0), X = Me(Bt.getLeft(), X, !0)), S(Ag, { className: "sheetxl-sheet-primary", style: { ...VU, ...Ft.toCSS(U.darkMode), ..._e.toCSS(U.darkMode, ye), "--sxl-app-color-background": U.fill, "--sxl-app-color-shadow": V.colorShadow, "--sxl-app-color-grey": V.colorGrey, "--sxl-app-color-button-fill": ne.fill, "--sxl-app-color-button-text": ne.text?.fill, "--sxl-app-color-button-border": ne.edgeStrokeFill, "--sxl-app-color-primary-dark": V.selection.strokeFill }, ref: ue, zoom: ye, ...I, onFirstRender: (gt) => {
37863
37864
  Lr(!0), I?.onFirstRender?.(gt), an?.activate();
37864
- }, showGridLines: we, gridLineColor: et, gridLineColumnsProps: X, gridLineRowsProps: Ce, freezeLeft: dt?.[Qo.Left], freezeLeftProps: Zt, freezeTop: dt?.[Qo.Top], freezeTopProps: Zt, width: wt, height: yt, columnCount: je.width, rowCount: je.height, cursor: Xn ?? Po ?? "cell", clipCells: !0, layout: ae, cellRenderer: Tn, overlayRenderer: Ht, getCellCoordsAsRangeCoords: ot, getVisibleCells: Jt, onWheelScroll: Wt, onPointerDown: Mn, onKeyDown: Fn, onViewportChange: Ne, onImmediateScroll: jt, scrollPoint: xt, stageProps: { onFocus: () => {
37865
+ }, showGridLines: we, gridLineColor: et, gridLineColumnsProps: X, gridLineRowsProps: Ce, freezeLeft: dt?.[er.Left], freezeLeftProps: Zt, freezeTop: dt?.[er.Top], freezeTopProps: Zt, width: wt, height: yt, columnCount: je.width, rowCount: je.height, cursor: Xn ?? Bo ?? "cell", clipCells: !0, layout: ae, cellRenderer: Tn, overlayRenderer: Ht, getCellCoordsAsRangeCoords: ot, getVisibleCells: Jt, onWheelScroll: Wt, onPointerDown: Mn, onKeyDown: Fn, onViewportChange: Ne, onImmediateScroll: jt, scrollPoint: xt, stageProps: { onFocus: () => {
37865
37866
  an?.activate();
37866
- } }, overlays: Bo });
37867
+ } }, overlays: Vo });
37867
37868
  }, [L]);
37868
37869
  Re(() => {
37869
37870
  P.current || N();
37870
- }, [ae, dt, ye, an, xt?.left, xt?.top, U, I, wt, yt, Xn, Bo, Pe, Po]);
37871
+ }, [ae, dt, ye, an, xt?.left, xt?.top, U, I, wt, yt, Xn, Vo, Pe, Bo]);
37871
37872
  let _n = { flex: "1 1 100%", display: "flex", alignContent: "stretch", position: "relative" };
37872
37873
  d || (_n = { ..._n, ...E });
37873
37874
  const to = ee(() => {
@@ -37880,7 +37881,7 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
37880
37881
  xe(!0), x?.(Xe);
37881
37882
  }, onBlur: (Xe) => {
37882
37883
  xe(!1), _?.(Xe);
37883
- }, ref: Fr, ...O, children: S("div", { className: Ti("sheetxl-sheet", "_sheetxl-sheet_1tnw9_9"), style: { position: "absolute", width: "100%", height: "100%", boxSizing: "border-box", display: "flex", flexDirection: "column", flex: "1 1 100%", zIndex: "0", ...to }, children: Q("div", { style: { display: "flex", flexDirection: "row", flex: "1 1 100%" }, children: [At, Pt, Q("div", { style: { display: "flex", flexDirection: "column", flex: "1 1 100%", overflow: "hidden", position: "relative" }, children: [Ln, Q("div", { style: { display: "flex", flexDirection: "column", flex: "1 1 100%", position: "relative", borderRight: `solid ${Z.edgeStrokeWidth}px ${Z.edgeStrokeFill}`, backgroundColor: U.fill }, ref: D, onContextMenu: Kt, children: [Gr, ht, S(pU, { style: { position: "absolute", right: 24, bottom: 4 }, colorLicensee: V?.selection?.strokeFill, colorCredits: V?.body?.text?.fill })] })] })] }) }) });
37884
+ }, ref: Fr, ...O, children: S("div", { className: Ti("sheetxl-sheet", "_sheetxl-sheet_1qeq6_5"), style: { position: "absolute", width: "100%", height: "100%", boxSizing: "border-box", display: "flex", flexDirection: "column", flex: "1 1 100%", zIndex: "0", ...to }, children: Q("div", { style: { display: "flex", flexDirection: "row", flex: "1 1 100%" }, children: [At, Pt, Q("div", { style: { display: "flex", flexDirection: "column", flex: "1 1 100%", overflow: "hidden", position: "relative" }, children: [Ln, Q("div", { style: { display: "flex", flexDirection: "column", flex: "1 1 100%", position: "relative", borderRight: `solid ${Z.edgeStrokeWidth}px ${Z.edgeStrokeFill}`, backgroundColor: U.fill }, ref: D, onContextMenu: Kt, children: [Gr, ht, S(pU, { style: { position: "absolute", right: 24, bottom: 4 }, colorLicensee: V?.selection?.strokeFill, colorCredits: V?.body?.text?.fill })] })] })] }) }) });
37884
37885
  if (d) {
37885
37886
  const Xe = (_e) => S(Z2, { ..._e, sheet: t });
37886
37887
  $n = S(H4, { style: { flex: "1 1 100%", overflow: "hidden", background: `${Z.fill}`, minHeight: 2 * bt.height, minWidth: 2 * bt.width, ...E }, viewport: se, touchElement: ue.current?.stage, disableTouch: Oo, onScrollViewport: (_e) => {
@@ -37948,7 +37949,7 @@ const $U = Be(Ye((n, e) => {
37948
37949
  x(r), _.current = null, b(!1), l?.();
37949
37950
  }, [l, r]), T = ee(() => {
37950
37951
  if (!w) return null;
37951
- const L = { className: Ti("_editable-input_w34rk_11"), autoFocus: !0, spellCheck: !1, name: "editable-label", autoComplete: "off", maxLength: h, type: "text", value: v, onFocus: (N) => {
37952
+ const L = { className: Ti("_editable-input_1bqx6_6"), autoFocus: !0, spellCheck: !1, name: "editable-label", autoComplete: "off", maxLength: h, type: "text", value: v, onFocus: (N) => {
37952
37953
  _.current || (_.current = N.target, setTimeout(() => {
37953
37954
  N.target?.select();
37954
37955
  }, 0));
@@ -38777,8 +38778,8 @@ const vG = Be(function(n) {
38777
38778
  Hn.set(lo.id, lo.rect.current);
38778
38779
  continue;
38779
38780
  }
38780
- const Oo = lo.node.current, Po = Oo ? new s4(dt(Oo), Oo) : null;
38781
- lo.rect.current = Po, Po && Hn.set(lo.id, Po);
38781
+ const Oo = lo.node.current, Bo = Oo ? new s4(dt(Oo), Oo) : null;
38782
+ lo.rect.current = Bo, Bo && Hn.set(lo.id, Bo);
38782
38783
  }
38783
38784
  return Hn;
38784
38785
  }
@@ -38974,8 +38975,8 @@ const vG = Be(function(n) {
38974
38975
  const Kn = Y2(xn);
38975
38976
  return v1((Yn) => {
38976
38977
  if (Xn || !Kn || !Yn) return pG;
38977
- const kn = Math.sign(xn.x - Kn.x), Bo = Math.sign(xn.y - Kn.y);
38978
- return { x: { [Nr.Backward]: Yn.x[Nr.Backward] || kn === -1, [Nr.Forward]: Yn.x[Nr.Forward] || kn === 1 }, y: { [Nr.Backward]: Yn.y[Nr.Backward] || Bo === -1, [Nr.Forward]: Yn.y[Nr.Forward] || Bo === 1 } };
38978
+ const kn = Math.sign(xn.x - Kn.x), Vo = Math.sign(xn.y - Kn.y);
38979
+ return { x: { [Nr.Backward]: Yn.x[Nr.Backward] || kn === -1, [Nr.Forward]: Yn.x[Nr.Forward] || kn === 1 }, y: { [Nr.Backward]: Yn.y[Nr.Backward] || Vo === -1, [Nr.Forward]: Yn.y[Nr.Forward] || Vo === 1 } };
38979
38980
  }, [Xn, xn, Kn]);
38980
38981
  }({ delta: Gt, disabled: !St }), [an, mn] = function() {
38981
38982
  const Dt = Se(null);
@@ -38991,7 +38992,7 @@ const vG = Be(function(n) {
38991
38992
  case z1.DraggableRect:
38992
38993
  return xt;
38993
38994
  }
38994
- }, [Ne, xt, dt]), Oo = Se(null), Po = ce(() => {
38995
+ }, [Ne, xt, dt]), Oo = Se(null), Bo = ce(() => {
38995
38996
  const Dt = Oo.current;
38996
38997
  if (!Dt) return;
38997
38998
  const xn = Rn.current.x * Hn.current.x, Xn = Rn.current.y * Hn.current.y;
@@ -39005,11 +39006,11 @@ const vG = Be(function(n) {
39005
39006
  if (!Xn) continue;
39006
39007
  const { direction: Kn, speed: Yn } = sG(Dt, Xn, lo, Ae, Ot);
39007
39008
  for (const kn of ["x", "y"]) gn[kn][Kn[kn]] || (Yn[kn] = 0, Kn[kn] = 0);
39008
- if (Yn.x > 0 || Yn.y > 0) return mn(), Oo.current = Dt, an(Po, ot), Rn.current = Yn, void (Hn.current = Kn);
39009
+ if (Yn.x > 0 || Yn.y > 0) return mn(), Oo.current = Dt, an(Bo, ot), Rn.current = Yn, void (Hn.current = Kn);
39009
39010
  }
39010
39011
  Rn.current = { x: 0, y: 0 }, Hn.current = { x: 0, y: 0 }, mn();
39011
39012
  } else mn();
39012
- }, [Ae, Po, We, mn, St, ot, JSON.stringify(lo), JSON.stringify(gn), an, ft, Jn, Ct, JSON.stringify(Ot)]);
39013
+ }, [Ae, Bo, We, mn, St, ot, JSON.stringify(lo), JSON.stringify(gn), an, ft, Jn, Ct, JSON.stringify(Ot)]);
39013
39014
  }({ ...G, delta: R, draggingRect: $e, pointerCoordinates: bt, scrollableAncestors: fe, scrollableAncestorRects: je });
39014
39015
  const ke = ee(() => ({ active: T, activeNode: H, activeNodeRect: ne, activatorEvent: L, collisions: it, containerNodeRect: Z, dragOverlay: ue, draggableNodes: E, droppableContainers: M, droppableRects: j, over: ae, measureDroppableContainers: W, scrollableAncestors: fe, scrollableAncestorRects: je, measuringConfiguration: F, measuringScheduled: P, windowRect: le }), [T, H, ne, L, it, Z, ue, E, M, j, ae, W, fe, je, F, P, le]), ve = ee(() => ({ activatorEvent: L, activators: Pe, active: T, activeNodeRect: ne, ariaDescribedById: { draggable: z }, dispatch: f, draggableNodes: E, over: ae, measureDroppableContainers: W }), [L, Pe, T, ne, f, z, E, ae, W]);
39015
39016
  return rt.createElement(qM.Provider, { value: w }, rt.createElement(yu.Provider, { value: ve }, rt.createElement(uR.Provider, { value: ke }, rt.createElement(Lg.Provider, { value: be }, a)), rt.createElement(bG, { disabled: s?.restoreFocus === !1 })), rt.createElement(YU, { ...s, hiddenTextDescribedById: z }));
@@ -39273,7 +39274,7 @@ const $G = (n) => {
39273
39274
  }, jG = Be(Ye((n, e) => {
39274
39275
  const { children: t, style: o, className: r, index: i, editing: s, editable: l, selectedIndex: a, background: c, activeColor: d, borderColor: u, borderWidth: h, dragging: p, ...g } = n;
39275
39276
  return Q("div", { ref: e, className: Ti(r), style: { ...o, display: "flex", flexDirection: "column", background: a === i ? "white" : c, minHeight: "0px", fontFamily: "inherit", fontSize: "16px", fontWeight: a === i ? "700" : "400", lineHeight: "1", letterSpacing: "0px", textTransform: "none", minWidth: "unset" }, ...g, children: [Q("div", { style: { flex: "1 1 100%", display: "flex", flexDirection: "row" }, children: [S("div", { style: { marginLeft: a === i ? "0px" : "-1px", marginTop: a === i ? "0px" : "4px", marginBottom: "0px", background: "grey", minWidth: "1px" } }), t, a === i ? S("div", { style: { marginLeft: "0px", marginTop: "0px", marginBottom: "0px", background: "grey", minWidth: "1px" } }) : S(zt, {})] }), S("div", { style: { flex: "1 1 100%", background: a === i && d ? d?.toCSS() : "none", minHeight: "2px" } })] });
39276
- })), vs = { Wrapper: "_Wrapper_6tyma_49", fadeIn: "_fadeIn_6tyma_65", dragOverlay: "_dragOverlay_6tyma_73", Item: "_Item_6tyma_93", withHandle: "_withHandle_6tyma_121", dragging: "_dragging_6tyma_131", disabled: "_disabled_6tyma_147" }, wR = rt.memo(rt.forwardRef(({ color: n, dragOverlay: e, dragging: t, disabled: o, fadeIn: r, handle: i, height: s, index: l, listeners: a, onRemove: c, renderItem: d, sorting: u, style: h, transition: p, transform: g, value: m, wrapperStyle: f, ...y }, w) => {
39277
+ })), vs = { Wrapper: "_Wrapper_1wyun_25", fadeIn: "_fadeIn_1wyun_33", dragOverlay: "_dragOverlay_1wyun_37", Item: "_Item_1wyun_47", withHandle: "_withHandle_1wyun_61", dragging: "_dragging_1wyun_66", disabled: "_disabled_1wyun_74" }, wR = rt.memo(rt.forwardRef(({ color: n, dragOverlay: e, dragging: t, disabled: o, fadeIn: r, handle: i, height: s, index: l, listeners: a, onRemove: c, renderItem: d, sorting: u, style: h, transition: p, transform: g, value: m, wrapperStyle: f, ...y }, w) => {
39277
39278
  Re(() => {
39278
39279
  if (e) return document.body.style.cursor = "grabbing", () => {
39279
39280
  document.body.style.cursor = "";
@@ -39281,7 +39282,7 @@ const $G = (n) => {
39281
39282
  }, [e]);
39282
39283
  const b = d ? d({ dragOverlay: !!e, dragging: !!t, sorting: !!u, index: l, fadeIn: !!r, listeners: a, ref: w, style: h, transform: g, transition: p, value: m }) : S(zt, { children: m });
39283
39284
  return S("div", { className: Ti("tab-item", vs.Wrapper, r && vs.fadeIn, u && vs.sorting, e && vs.dragOverlay), style: { ...f, transition: [p, f?.transition].filter(Boolean).join(", "), "--translate-x": g ? `${Math.round(g.x)}px` : void 0, "--translate-y": g ? `${Math.round(g.y)}px` : void 0, "--scale-x": g?.scaleX ? `${g.scaleX}` : void 0, "--scale-y": g?.scaleY ? `${g.scaleY}` : void 0, "--index": l }, ref: w, children: S("div", { className: Ti(vs.Item, t && vs.dragging, i && vs.withHandle, e && vs.dragOverlay, o && vs.disabled, n && vs.color, "dragging"), style: h, "data-cypress": "draggable-item", ...i ? void 0 : a, ...y, tabIndex: i ? void 0 : -1, children: b }) });
39284
- })), Sx = { Row: "_Row_11qr0_1" }, WG = Be(Ye(({ children: n, horizontal: e, style: t }, o) => S("div", { ref: o, style: { ...t }, className: Ti(Sx.Row, e && Sx.horizontal), children: n }))), UG = { ...gR }, GG = Be(Ye((n, e) => {
39285
+ })), Sx = { Row: "_Row_1kr10_1" }, WG = Be(Ye(({ children: n, horizontal: e, style: t }, o) => S("div", { ref: o, style: { ...t }, className: Ti(Sx.Row, e && Sx.horizontal), children: n }))), UG = { ...gR }, GG = Be(Ye((n, e) => {
39285
39286
  const { className: t, activationConstraint: o, animateLayoutChanges: r, adjustScale: i = !1, collisionDetection: s = eG, coordinateGetter: l = HG, dropAnimation: a = UG, getItemStyles: c = () => ({}), getNewIndex: d, handle: u = !1, items: h, onMove: p, isDisabled: g = () => !1, measuring: m, modifiers: f, renderItem: y, renderDivider: w, reorderItems: b = A6, strategy: v = O6, style: x, useDragOverlay: _ = !0, onDragStart: E, wrapperStyle: R = () => ({}) } = n, [M, k] = de(() => h);
39286
39287
  Re(() => {
39287
39288
  k(h);
@@ -39300,7 +39301,7 @@ const $G = (n) => {
39300
39301
  const z = document.fullscreenElement;
39301
39302
  if (!z) return;
39302
39303
  let B = z.querySelector(".fullscreen-portal-root");
39303
- B || (B = document.createElement("div"), B.className = "fullscreen-portal-root _fullscreen-portal-root_5qk7s_7", z.appendChild(B));
39304
+ B || (B = document.createElement("div"), B.className = "fullscreen-portal-root _fullscreen-portal-root_1mjsr_4", z.appendChild(B));
39304
39305
  }
39305
39306
  return Ih++, D(), document.addEventListener("fullscreenchange", D), () => {
39306
39307
  document.removeEventListener("fullscreenchange", D), Ih--, Ih <= 0 && (document.querySelectorAll(".fullscreen-portal-root").forEach((z) => {
@@ -39324,7 +39325,7 @@ function qG({ disabled: n, animateLayoutChanges: e, getNewIndex: t, handle: o, i
39324
39325
  const { attributes: u, isDragging: h, isSorting: p, listeners: g, overIndex: m, setNodeRef: f, transform: y, transition: w } = BG({ id: r, animateLayoutChanges: e, disabled: n, getNewIndex: t });
39325
39326
  return S(wR, { ref: f, value: r, disabled: n, dragging: h, sorting: p, handle: o, renderItem: a, index: i, style: l({ index: i, id: r, isDragging: h, isSorting: p, overIndex: m }), onRemove: s ? () => s(r) : void 0, transform: y, transition: w, wrapperStyle: d({ index: i, isDragging: h, id: r }), listeners: g, "data-index": i, "data-id": r, dragOverlay: !c && h, ...u });
39326
39327
  }
39327
- const KG = new Uo("rgb(33, 115, 70)"), XG = "#eee", ZG = (n) => S(jG, { ...n }), SR = Be(Ye((n, e) => {
39328
+ const KG = new Go("rgb(33, 115, 70)"), XG = "#eee", ZG = (n) => S(jG, { ...n }), SR = Be(Ye((n, e) => {
39328
39329
  const { children: t, style: o, className: r, selectedTabIndex: i = 0, tabNames: s = [], onSelectedTabIndexChange: l, onTabNameChange: a, onTabMove: c, createScrollStartButton: d = GE, createScrollEndButton: u = qE, createScrollEdgeButton: h = GL, createTabButton: p = ZG, createTabDivider: g, editLabelProps: m, disabled: f = !1, disableDrag: y = !1, background: w = "white", activeColor: b = KG, borderColor: v = XG, borderWidth: x = 1 } = n, [_, E] = de(i), [R, M] = de(s), k = ce((we) => {
39329
39330
  const te = N.current?.[we]?.closest(".tab-item") ?? N.current?.[we];
39330
39331
  te && W.current?.scrollTo({ top: te.offsetTop, left: te.offsetLeft, behavior: "smooth" });
@@ -39382,7 +39383,7 @@ const KG = new Uo("rgb(33, 115, 70)"), XG = "#eee", ZG = (n) => S(jG, { ...n }),
39382
39383
  }, [U, ne, pe]);
39383
39384
  Re(() => () => pe(), [pe]);
39384
39385
  const Y = ee(() => ({ style: { marginLeft: "4px", marginRight: "6px" }, disabled: Math.floor(P.left) <= 0 || Math.floor(j - F) === 0, orientation: Hr.Horizontal, onMouseUp: pe, onMouseLeave: pe, onMouseDown: () => ue(W.current.scrollLeft, !0), onClick: (we) => U(Math.min(W.current.scrollLeft, V ?? Number.MAX_SAFE_INTEGER), we.ctrlKey) }), [P, V, j, F]), ie = ee(() => ({ style: { marginLeft: "6px", marginRight: "4px" }, disabled: Math.floor(j - F) <= Math.ceil(P.left), orientation: Hr.Horizontal, onMouseUp: pe, onMouseLeave: pe, onMouseDown: () => ue(W.current.scrollLeft, !1), onClick: (we) => ne(Math.max(W.current.scrollLeft, V ?? 0), we.ctrlKey) }), [P, V, j, F]), ye = ee(() => Q(zt, { children: [S("div", { style: { minWidth: "16px" } }), t, h?.(Y)] }), [Y, ie, d, u, t, h]);
39385
- return Q("div", { style: { ...o, display: "flex", alignItems: "stretch" }, className: Ti("_TabStrip_nciwy_1", r), ref: D, children: [S("div", { style: { borderTop: `solid ${v} ${x}px`, position: "absolute", width: "100%" } }), S("div", { style: { flex: "none", display: "flex", alignItems: "center" }, children: ye }), S("div", { className: "Tabs", ref: B, style: { flex: "1 1 100%", display: "flex", position: "relative", overflow: "hidden" }, children: S("div", { style: { position: "relative", overflowY: "hidden", overflowX: "hidden", marginBottom: "3px" }, ref: W, onScroll: (we) => {
39386
+ return Q("div", { style: { ...o, display: "flex", alignItems: "stretch" }, className: Ti("_TabStrip_3x0dp_1", r), ref: D, children: [S("div", { style: { borderTop: `solid ${v} ${x}px`, position: "absolute", width: "100%" } }), S("div", { style: { flex: "none", display: "flex", alignItems: "center" }, children: ye }), S("div", { className: "Tabs", ref: B, style: { flex: "1 1 100%", display: "flex", position: "relative", overflow: "hidden" }, children: S("div", { style: { position: "relative", overflowY: "hidden", overflowX: "hidden", marginBottom: "3px" }, ref: W, onScroll: (we) => {
39386
39387
  H({ left: we.target.scrollLeft, top: we.target.scrollTop, width: we.target.scrollWidth, height: we.target.scrollHeight });
39387
39388
  }, children: S(GG, { isDisabled: (we) => f || y, items: R, strategy: OG, modifiers: [$G], ref: $, renderItem: z, renderDivider: g, onMove: T, activationConstraint: { distance: 15 } }) }) }), S("div", { style: { flex: "none", display: "flex", alignItems: "center" }, children: h(ie) })] });
39388
39389
  }));
@@ -39390,7 +39391,7 @@ SR.displayName = "TabStrip";
39390
39391
  const gX = (n) => Q("svg", { ...n, viewBox: "0 0 48 48", children: [S("path", { d: "M 2.2827924,0 C 1.5038324,0 0.87090248,0.52603 0.87090248,1.17149 v 25.39667 h -0.01 v 20.2607 c 0,0.39663 0.24025002,0.74639 0.60481992,0.95852 v 0.18499 h 0.50664 c 0.0972,0.0173 0.19732,0.0276 0.30092,0.0276 h 15.5346916 16.7448 v 0 h 11.35822 c 0.10311,0 0.20276,-0.0104 0.29945,-0.0276 h 0.0696 v -0.0182 c 0.59938,-0.13566 1.04238,-0.58606 1.04238,-1.12526 V 26.96484 c 0.006,-0.0429 0.009,-0.0853 0.009,-0.12925 V 1.17154 c 0,-0.64586 -0.63293,-1.17149 -1.41189,-1.17149 h -15.7478 v 2e-4 h -2.06997 V 5e-5 Z", fill: "#547DBE" }), S("path", { d: "m 2.8338324,2.7184 v 9.0404 H 11.538484 V 2.7184 Z m 11.2334116,0 v 9.0404 h 8.70465 V 2.7184 Z m 11.26696,0 v 9.0404 h 8.70465 V 2.7184 Z m 11.33258,0 v 9.0404 h 8.70465 V 2.7184 Z M 2.8338324,14.32723 v 8.84046 h 8.7046516 v -8.84046 z m 11.2334116,0 v 8.84046 h 8.70465 v -8.84046 z m 11.26696,0 v 8.84046 h 8.70465 v -8.84046 z m 11.33258,0 v 8.84046 h 8.70465 V 14.32723 Z M 2.8338324,25.73691 v 8.67308 h 8.7046516 v -8.67308 z m 11.2334116,0 v 8.67308 h 8.73721 v -8.67308 z m 11.26696,0 v 8.67308 h 8.70465 v -8.67308 z m 11.33258,0 v 8.67308 h 8.70465 V 25.73691 Z M 2.8693424,36.61859 v 8.67357 h 8.7046616 v -8.67357 z m 11.2339116,0 v 8.67357 h 8.73771 v -8.67357 z m 11.26697,0 v 8.67357 h 8.70465 v -8.67357 z m 11.33257,0 v 8.67357 h 8.70465 v -8.67357 z", fill: "#FFFFFF" }), S("path", { d: "m 2.8254424,2.72091 v 9.04041 H 11.570544 V 2.72091 Z m 0,11.60889 v 8.84036 H 11.570544 V 14.3298 Z m 0,11.40958 v 8.67357 h 8.7451016 v -8.67357 z m 0.036,10.88167 v 8.67358 h 8.7451116 v -8.67358 z", fill: "#547DBE", fillOpacity: "0.4" }), S("path", { d: "m 30.820434,6.19497 c 1.85291,0 3.66241,0.29708 5.4285,0.89113 1.7656,0.5942 3.49568,1.50108 5.19073,2.72107 l -2.37584,3.25571 c -1.40941,-1.01391 -2.79515,-1.76647 -4.15721,-2.25759 -1.36206,-0.49111 -2.72412,-0.73667 -4.08618,-0.73667 -2.5817,0 -4.58902,0.53064 -6.02232,1.59218 -1.43334,1.06143 -2.14989,2.56661 -2.14989,4.51523 v 0.0237 c 0,1.36241 0.41177,2.40021 1.23532,3.11315 0.82355,0.71288 1.89253,1.24367 3.20703,1.59217 1.31446,0.3485 2.71608,0.67341 4.20493,0.97439 1.29842,0.26929 2.58944,0.58216 3.87257,0.9386 1.28263,0.3565 2.45032,0.8635 3.50356,1.52097 1.05324,0.65747 1.89288,1.5486 2.51841,2.6734 0.62553,1.12485 0.93829,2.59035 0.93829,4.39635 v 0.0477 c 0,3.18435 -1.10849,5.64817 -3.32597,7.39066 -2.21698,1.7425 -5.33724,2.61399 -9.35978,2.61399 -1.67882,0 -3.25863,-0.15841 -4.73958,-0.47523 -1.4808,-0.31681 -2.86644,-0.79204 -4.15737,-1.42617 -1.29077,-0.63363 -2.49827,-1.42567 -3.6227,-2.37612 l 2.54179,-3.20819 c 1.39383,1.204 2.91819,2.10717 4.57323,2.70928 1.6549,0.60205 3.45641,0.90307 5.40463,0.90307 2.73991,0 4.85823,-0.52704 6.35447,-1.58048 1.49674,-1.05359 2.24511,-2.53098 2.24511,-4.43213 v -0.0237 c 0,-1.37834 -0.37197,-2.43583 -1.11639,-3.17245 -0.74442,-0.73668 -1.71824,-1.2912 -2.92194,-1.66359 -1.2037,-0.37223 -2.51051,-0.6851 -3.91993,-0.9386 -1.34627,-0.23762 -2.69635,-0.51485 -4.05046,-0.83182 -1.35417,-0.31677 -2.59339,-0.7841 -3.71782,-1.40204 -1.12448,-0.61779 -2.03125,-1.49708 -2.72017,-2.63782 -0.68898,-1.14078 -1.03341,-2.66156 -1.03341,-4.5627 v -0.0237 c 0,-3.21623 1.06898,-5.70753 3.20718,-7.47386 2.13805,-1.76648 5.15506,-2.64981 9.05121,-2.64981 z", strokeWidth: "2.5", stroke: "#EB594D", fill: "#f9CECB" })] }), YG = f0(null), bR = () => {
39391
39392
  const n = Gs(YG), [e] = de(() => new E4());
39392
39393
  return ee(() => n || e, [n]);
39393
- }, JG = rt.lazy(() => import("./Dq2nqH2znDzDq0no.mjs")), QG = { lightbulb: { enabled: !1 }, tabSize: 2, acceptSuggestionOnCommitCharacter: !0, acceptSuggestionOnEnter: "on", accessibilitySupport: "auto", automaticLayout: !0, autoIndent: !1, codeLens: !0, colorDecorators: !0, contextmenu: !0, cursorBlinking: "blink", cursorSmoothCaretAnimation: !1, cursorStyle: "line", disableLayerHinting: !1, disableMonospaceOptimizations: !1, dragAndDrop: !0, glyphMargin: !0, fixedOverflowWidgets: !1, folding: !0, foldingStrategy: "auto", fontLigatures: !1, formatOnPaste: !0, formatOnType: !1, hideCursorInOverviewRuler: !1, highlightActiveIndentGuide: !0, links: !0, lineDecorationsWidth: 8, lineNumbersMinChars: 3, mouseWheelZoom: !1, multiCursorMergeOverlapping: !0, multiCursorModifier: "alt", overviewRulerBorder: !0, overviewRulerLanes: 2, quickSuggestions: !0, quickSuggestionsDelay: 100, readOnly: !1, renderControlCharacters: !1, renderFinalNewline: !0, renderIndentGuides: !0, renderLineHighlight: "all", renderWhitespace: "none", revealHorizontalRightPadding: 30, roundedSelection: !0, rulers: [], scrollBeyondLastColumn: 5, scrollBeyondLastLine: !0, selectOnLineNumbers: !0, selectionClipboard: !0, selectionHighlight: !0, showLightbulbIconMode: !1, showFoldingControls: "mouseover", smoothScrolling: !0, suggestOnTriggerCharacters: !0, wordBasedSuggestions: !0, wordSeparators: `~!@#$%^&*()-=+[{]}|;:'",.<>/?`, wordWrap: "off", wordWrapBreakAfterCharacters: " })]?|&,;", wordWrapBreakBeforeCharacters: "{([+", wordWrapBreakObtrusiveCharacters: ".", wordWrapColumn: 80, wordWrapMinified: !0, wrappingIndent: "none" }, bx = `
39394
+ }, JG = rt.lazy(() => import("./QNCUQO7a-oixacNG.mjs")), QG = { lightbulb: { enabled: !1 }, tabSize: 2, acceptSuggestionOnCommitCharacter: !0, acceptSuggestionOnEnter: "on", accessibilitySupport: "auto", automaticLayout: !0, autoIndent: !1, codeLens: !0, colorDecorators: !0, contextmenu: !0, cursorBlinking: "blink", cursorSmoothCaretAnimation: !1, cursorStyle: "line", disableLayerHinting: !1, disableMonospaceOptimizations: !1, dragAndDrop: !0, glyphMargin: !0, fixedOverflowWidgets: !1, folding: !0, foldingStrategy: "auto", fontLigatures: !1, formatOnPaste: !0, formatOnType: !1, hideCursorInOverviewRuler: !1, highlightActiveIndentGuide: !0, links: !0, lineDecorationsWidth: 8, lineNumbersMinChars: 3, mouseWheelZoom: !1, multiCursorMergeOverlapping: !0, multiCursorModifier: "alt", overviewRulerBorder: !0, overviewRulerLanes: 2, quickSuggestions: !0, quickSuggestionsDelay: 100, readOnly: !1, renderControlCharacters: !1, renderFinalNewline: !0, renderIndentGuides: !0, renderLineHighlight: "all", renderWhitespace: "none", revealHorizontalRightPadding: 30, roundedSelection: !0, rulers: [], scrollBeyondLastColumn: 5, scrollBeyondLastLine: !0, selectOnLineNumbers: !0, selectionClipboard: !0, selectionHighlight: !0, showLightbulbIconMode: !1, showFoldingControls: "mouseover", smoothScrolling: !0, suggestOnTriggerCharacters: !0, wordBasedSuggestions: !0, wordSeparators: `~!@#$%^&*()-=+[{]}|;:'",.<>/?`, wordWrap: "off", wordWrapBreakAfterCharacters: " })]?|&,;", wordWrapBreakBeforeCharacters: "{([+", wordWrapBreakObtrusiveCharacters: ".", wordWrapColumn: 80, wordWrapMinified: !0, wrappingIndent: "none" }, bx = `
39394
39395
  /**
39395
39396
  * Placeholder for SheetXL scripting types.
39396
39397
  */
@@ -39515,7 +39516,7 @@ const nq = Be(Ye((n, e) => {
39515
39516
  let D = null;
39516
39517
  const z = () => m;
39517
39518
  return D = r ? r.createChildGroup(z, "scriptEditor", !1) : new Au(z, "scriptEditor"), D.addCommands(f, !0), D;
39518
- }, [r, f]), w = qo(y, ["executeSelectedScript"])[0], b = w?.context(), v = Te((D) => {
39519
+ }, [r, f]), w = Ko(y, ["executeSelectedScript"])[0], b = w?.context(), v = Te((D) => {
39519
39520
  w?.execute(D);
39520
39521
  }, [w]), x = Se(""), [_, E] = de(!1), R = Te(async () => {
39521
39522
  if (!h.current) return null;
@@ -39592,7 +39593,7 @@ const nq = Be(Ye((n, e) => {
39592
39593
  }, []), I = Se(null), A = Te((D, z) => {
39593
39594
  h.current = { monaco: z, editor: D }, E(!0), C("Loading Types");
39594
39595
  const B = b.getScripts().getModules().search()[0]?.getSource() ?? "";
39595
- D.setValue(B), import("./_zJv_HkelROSMajR.mjs").then(($) => $.c).then(($) => {
39596
+ D.setValue(B), import("./BLiRvSBEJD-6dWH0.mjs").then(($) => $.c).then(($) => {
39596
39597
  C(""), $.AutoTypings.create(D, { shareCache: !0, monaco: z, onError: (j) => {
39597
39598
  j === "Not implemented yet" && (j = "Compile Errors"), console.warn("Error compiling types", j);
39598
39599
  } }).then(async (j) => {
@@ -39760,7 +39761,7 @@ declare module '@sheetxl/primitives' {
39760
39761
  h.current?.editor && requestAnimationFrame(() => {
39761
39762
  N.current?.contains(document.activeElement) && T();
39762
39763
  });
39763
- }), []), S("div", { className: Ti("script-editor", "_script-editor_faoxm_9", t), style: { display: "flex", flexDirection: "row", flex: "1 1 100%", position: "relative", ...o }, ref: N, ...u, children: L });
39764
+ }), []), S("div", { className: Ti("script-editor", "_script-editor_iy654_5", t), style: { display: "flex", flexDirection: "row", flex: "1 1 100%", position: "relative", ...o }, ref: N, ...u, children: L });
39764
39765
  })), oq = { Preset: "preset", Custom: "custom" }, B1 = { Start: "start", End: "end" }, l5 = {}, rq = (n, e, t, o) => {
39765
39766
  const r = n + "-" + e + "-" + t + (o ? "-server" : "");
39766
39767
  if (l5[r]) return l5[r];
@@ -39791,7 +39792,7 @@ declare module '@sheetxl/primitives' {
39791
39792
  }, [t, i, e]), x = ee(() => e.toRGBA().alpha === 1 ? null : S(sq, { size: g, white: u, grey: h, style: { position: "absolute", width: "calc(100% - 1.5px)", height: "calc(100% - 1.5px)", top: "0.75px", left: "0.75px" } }), [u, h, e]);
39792
39793
  return Q("div", { style: { position: "absolute", height: "100%", width: "100%", top: "0px", left: "0px", cursor: "pointer", outline: "none", ...c }, tabIndex: 0, ...m, onClick: f, onKeyDown: v, onMouseOver: y, onMouseLeave: w, onFocus: b, children: [x, S("div", { style: { position: "absolute", top: "0px", left: "0px", height: "100%", width: "100%", background: e.toCSS(p) }, children: d })] });
39793
39794
  }), D6 = Be((n) => {
39794
- const { schemeColorLookup: e, selectedColor: t, previewColor: o, colorDef: r, onSelectColorDef: i, onPreviewColorDef: s, swatchProps: l, defaultButtonSize: a = 24, isLarge: c = !1, compareRGB: d = !1, darkMode: u = !1, ...h } = n, p = new Uo({ val: r.definition.val, adjs: r.definition.adjs }, (x) => e(x)), g = d ? p.toRGBA().toString() : p.toString(), m = t && (d ? t.toRGBA().toString() : t.toString()) === g, f = o && (d ? o.toRGBA().toString() : o.toString()) === g, y = [];
39795
+ const { schemeColorLookup: e, selectedColor: t, previewColor: o, colorDef: r, onSelectColorDef: i, onPreviewColorDef: s, swatchProps: l, defaultButtonSize: a = 24, isLarge: c = !1, compareRGB: d = !1, darkMode: u = !1, ...h } = n, p = new Go({ val: r.definition.val, adjs: r.definition.adjs }, (x) => e(x)), g = d ? p.toRGBA().toString() : p.toString(), m = t && (d ? t.toRGBA().toString() : t.toString()) === g, f = o && (d ? o.toRGBA().toString() : o.toString()) === g, y = [];
39795
39796
  y.push({ [oe.AdjustmentType.Inv]: !0 }), y.push({ [oe.AdjustmentType.Alpha]: 100 });
39796
39797
  const w = p.adjust(y), b = ce(() => {
39797
39798
  i?.(r);
@@ -39825,19 +39826,19 @@ declare module '@sheetxl/primitives' {
39825
39826
  return w;
39826
39827
  }, [p, r, i, g, m]), y = ee(() => e ? S(qn, { noWrap: !0, component: "div", sx: { display: "flex", flexShrink: "0", paddingLeft: "6px", paddingBottom: "4px", paddingTop: "0px", userSelect: "none", color: (w) => w.palette.text.secondary }, children: e }) : null, [e]);
39827
39828
  return Q(Fe, { style: { ...a }, children: [y, S(Fe, { sx: { display: "flex", flexDirection: "row", gap: "6px", marginBottom: "14px", flexWrap: "wrap", justifyContent: "flex-start" }, ...h, children: f })] });
39828
- }), xs = (n, e) => ({ description: n, definition: { val: e, adjs: [] } }), ir = (n, e, t, o, r, i) => {
39829
+ }), xs = (n, e) => ({ description: n, definition: { val: e, adjs: [] } }), sr = (n, e, t, o, r, i) => {
39829
39830
  const s = xs(n, e);
39830
39831
  o?.push(s);
39831
- const l = new Uo({ val: s.definition.val, adjs: s.definition.adjs }, t), a = l.toString();
39832
+ const l = new Go({ val: s.definition.val, adjs: s.definition.adjs }, t), a = l.toString();
39832
39833
  r?.set(a, l);
39833
39834
  const c = l.toRGBA().toString();
39834
39835
  i?.set(c, l);
39835
- }, aq = rt.lazy(() => import("./CdUwERsyanWuNPx8.mjs")), cq = Be(Ye((n, e) => {
39836
- const { selectedColor: t = null, previewColor: o = n.selectedColor ?? null, recentColors: r, schemeLookup: i, disableAlpha: s = !1, previewDebounceTime: l = 100, initialPanelType: a, defaultButtonSize: c = 24, width: d, onElementLoad: u, onDone: h, onEyeDropStart: p, onEyeDropStop: g, onPreviewColor: m, onPreviewColorImmediate: f, onSelectColor: y, autoColor: w, autoColorLabel: b = "Automatic", autoColorPosition: v = B1.Start, compareRGB: x = !1, darkMode: _ = !1, ...E } = n, R = o || t, M = Te(m, [m]), k = Te(f, [f]), C = Te(y, [y]), T = Te(p, [p]), I = Te(g, [g]), [A, O] = de(!1), L = Js(), N = ee(() => i || Uo.getDefaultSchemeLookup(), [i]), D = ee(() => {
39836
+ }, aq = rt.lazy(() => import("./DrzfnYtbTkZ0Vztm.mjs")), cq = Be(Ye((n, e) => {
39837
+ const { selectedColor: t = null, previewColor: o = n.selectedColor ?? null, recentColors: r, schemeLookup: i, disableAlpha: s = !1, previewDebounceTime: l = 100, initialPanelType: a, defaultButtonSize: c = 24, width: d, onElementLoad: u, onDone: h, onEyeDropStart: p, onEyeDropStop: g, onPreviewColor: m, onPreviewColorImmediate: f, onSelectColor: y, autoColor: w, autoColorLabel: b = "Automatic", autoColorPosition: v = B1.Start, compareRGB: x = !1, darkMode: _ = !1, ...E } = n, R = o || t, M = Te(m, [m]), k = Te(f, [f]), C = Te(y, [y]), T = Te(p, [p]), I = Te(g, [g]), [A, O] = de(!1), L = Js(), N = ee(() => i || Go.getDefaultSchemeLookup(), [i]), D = ee(() => {
39837
39838
  const Y = /* @__PURE__ */ new Map(), ie = /* @__PURE__ */ new Map(), ye = [];
39838
- ir("Primary Background", "bg1", N, ye, Y, ie), ir("Primary Text", "tx1", N, ye, Y, ie), ir("Secondary Background", "bg2", N, ye, Y, ie), ir("Secondary Text", "tx2", N, ye, Y, ie), ir("Accent 1", "accent1", N, ye, Y, ie), ir("Accent 2", "accent2", N, ye, Y, ie), ir("Accent 3", "accent3", N, ye, Y, ie), ir("Accent 4", "accent4", N, ye, Y, ie), ir("Accent 5", "accent5", N, ye, Y, ie), ir("Accent 6", "accent6", N, ye, Y, ie);
39839
+ sr("Primary Background", "bg1", N, ye, Y, ie), sr("Primary Text", "tx1", N, ye, Y, ie), sr("Secondary Background", "bg2", N, ye, Y, ie), sr("Secondary Text", "tx2", N, ye, Y, ie), sr("Accent 1", "accent1", N, ye, Y, ie), sr("Accent 2", "accent2", N, ye, Y, ie), sr("Accent 3", "accent3", N, ye, Y, ie), sr("Accent 4", "accent4", N, ye, Y, ie), sr("Accent 5", "accent5", N, ye, Y, ie), sr("Accent 6", "accent6", N, ye, Y, ie);
39839
39840
  const we = A5.buildPalette(ye, N, Y, ie), te = [];
39840
- if (ir("Dark Red", "C00000", N, te, Y, ie), ir("Red", "FF0000", N, te, Y, ie), ir("Orange", "FFC000", N, te, Y, ie), ir("Yellow", "FFFF00", N, te, Y, ie), ir("Light Green", "92D050", N, te, Y, ie), ir("Green", "00B050", N, te, Y, ie), ir("Light Blue", "00B0F0", N, te, Y, ie), ir("Blue", "0070C0", N, te, Y, ie), ir("Dark Blue", "002060", N, te, Y, ie), s ? ir("Purple Is A Fruit", "7030A0", N, te, Y, ie) : ir("Transparent", "00000000", N, te, Y, ie), w) {
39841
+ if (sr("Dark Red", "C00000", N, te, Y, ie), sr("Red", "FF0000", N, te, Y, ie), sr("Orange", "FFC000", N, te, Y, ie), sr("Yellow", "FFFF00", N, te, Y, ie), sr("Light Green", "92D050", N, te, Y, ie), sr("Green", "00B050", N, te, Y, ie), sr("Light Blue", "00B0F0", N, te, Y, ie), sr("Blue", "0070C0", N, te, Y, ie), sr("Dark Blue", "002060", N, te, Y, ie), s ? sr("Purple Is A Fruit", "7030A0", N, te, Y, ie) : sr("Transparent", "00000000", N, te, Y, ie), w) {
39841
39842
  const Ze = w.toString();
39842
39843
  Y.set(Ze, w);
39843
39844
  }
@@ -39872,7 +39873,7 @@ declare module '@sheetxl/primitives' {
39872
39873
  const P = Te((Y) => {
39873
39874
  k && (k(Y), $(Y));
39874
39875
  }, [k]), H = Te((Y) => {
39875
- P(Y ? new Uo({ val: Y.definition.val, adjs: Y.definition.adjs }, N) : null);
39876
+ P(Y ? new Go({ val: Y.definition.val, adjs: Y.definition.adjs }, N) : null);
39876
39877
  }, [N]), V = ce((Y) => {
39877
39878
  Y.ctrlKey && B(!0);
39878
39879
  }, []), G = Te((Y) => {
@@ -39883,16 +39884,16 @@ declare module '@sheetxl/primitives' {
39883
39884
  }
39884
39885
  C?.(Y, ie);
39885
39886
  }, [C, D]), U = Te((Y) => {
39886
- const ie = Y ? new Uo({ val: Y.definition.val, adjs: Y.definition.adjs }, N) : null;
39887
+ const ie = Y ? new Go({ val: Y.definition.val, adjs: Y.definition.adjs }, N) : null;
39887
39888
  Promise.resolve(h?.()).then(() => {
39888
39889
  G(ie);
39889
39890
  });
39890
39891
  }, [N, h]), ne = Te((Y) => {
39891
- P(Y ? new Uo(Y, N) : null);
39892
+ P(Y ? new Go(Y, N) : null);
39892
39893
  }, [N]), Z = ee(() => window.EyeDropper === void 0 ? S(zt, {}) : S(yi, { "aria-label": "eye dropper", size: "small", sx: { color: (Y) => Y.palette.text.icon ?? Y.palette.action.active }, onClick: async () => {
39893
39894
  O(!0), T?.(), await new EyeDropper().open().then((Y) => {
39894
39895
  O(!1), I?.();
39895
- let ie = new Uo(Y.sRGBHex), ye = ie.toString(), we = D.mapAllPresets.get(ye);
39896
+ let ie = new Go(Y.sRGBHex), ye = ie.toString(), we = D.mapAllPresets.get(ye);
39896
39897
  if (we || (ye = ie.toRGBA().toString(), we = D.mapAllPresetsRGB.get(ye)), !we) {
39897
39898
  const te = ie.toRGBA(), le = 3;
39898
39899
  let fe = 255;
@@ -40000,7 +40001,7 @@ declare module '@sheetxl/primitives' {
40000
40001
  return S(Hi, { icon: _(j), sx: { background: `linear-gradient(${Ut("#fff", no(5))}, ${Ut("#fff", no(5))})` }, tooltipProps: { label: z, simple: !0, placement: B }, onClick: () => {
40001
40002
  I(), M($), R($);
40002
40003
  } });
40003
- }, L = Q(zt, { children: [Q(Fe, { sx: { display: "flex", padding: "6px 16px", justifyContent: "center", rowGap: "2px", gap: "2px" }, children: [O([De.Edge.Left, De.Edge.Top, De.Edge.Right, De.Edge.Bottom, De.Edge.Horizontal, De.Edge.Vertical], "All Borders", "top"), O([De.Edge.Horizontal, De.Edge.Vertical], "Inner Borders", "top"), O([De.Edge.Horizontal], "Inside Horizontal Borders", "top"), O([De.Edge.Vertical], "Inside Vertical Borders", "top"), O([De.Edge.Left, De.Edge.Top, De.Edge.Right, De.Edge.Bottom], "Outside Borders", "top")] }), Q(Fe, { sx: { display: "flex", padding: "6px 16px", justifyContent: "center", rowGap: "2px", gap: "2px" }, children: [O([De.Edge.Left], "Left Borders"), O([De.Edge.Top], "Top Borders"), O([De.Edge.Right], "Right Borders"), O([De.Edge.Bottom], "Bottom Borders"), O([De.Edge.Left, De.Edge.Top, De.Edge.Right, De.Edge.Bottom, De.Edge.Horizontal, De.Edge.Vertical, De.Edge.DiagonalUp, De.Edge.DiagonalDown], "No Borders", "bottom", !0)] })] }), N = S(zt, { children: Q(Fe, { sx: { display: "flex", padding: "6px 16px", flexDirection: "row", gap: "6px" }, children: [S(vR, { variant: ds.Toolbar, icon: S(e6, {}), selectedColor: b === De.StrokeStyle.None ? new Uo("transparent") : v, onPreviewColor: (D) => {
40004
+ }, L = Q(zt, { children: [Q(Fe, { sx: { display: "flex", padding: "6px 16px", justifyContent: "center", rowGap: "2px", gap: "2px" }, children: [O([De.Edge.Left, De.Edge.Top, De.Edge.Right, De.Edge.Bottom, De.Edge.Horizontal, De.Edge.Vertical], "All Borders", "top"), O([De.Edge.Horizontal, De.Edge.Vertical], "Inner Borders", "top"), O([De.Edge.Horizontal], "Inside Horizontal Borders", "top"), O([De.Edge.Vertical], "Inside Vertical Borders", "top"), O([De.Edge.Left, De.Edge.Top, De.Edge.Right, De.Edge.Bottom], "Outside Borders", "top")] }), Q(Fe, { sx: { display: "flex", padding: "6px 16px", justifyContent: "center", rowGap: "2px", gap: "2px" }, children: [O([De.Edge.Left], "Left Borders"), O([De.Edge.Top], "Top Borders"), O([De.Edge.Right], "Right Borders"), O([De.Edge.Bottom], "Bottom Borders"), O([De.Edge.Left, De.Edge.Top, De.Edge.Right, De.Edge.Bottom, De.Edge.Horizontal, De.Edge.Vertical, De.Edge.DiagonalUp, De.Edge.DiagonalDown], "No Borders", "bottom", !0)] })] }), N = S(zt, { children: Q(Fe, { sx: { display: "flex", padding: "6px 16px", flexDirection: "row", gap: "6px" }, children: [S(vR, { variant: ds.Toolbar, icon: S(e6, {}), selectedColor: b === De.StrokeStyle.None ? new Go("transparent") : v, onPreviewColor: (D) => {
40004
40005
  w(D);
40005
40006
  }, onSelectColor: (D, z) => {
40006
40007
  w(D);
@@ -40011,7 +40012,7 @@ declare module '@sheetxl/primitives' {
40011
40012
  p?.(x);
40012
40013
  }, quickButtonProps: { sx: {} }, disabled: i, icon: C, ...h });
40013
40014
  })), pq = Be(Ye((n, e) => {
40014
- const { commands: t, command: o, commandHook: r, variant: i = pn.Toolbar, disabled: s = !1, autoColor: l, autoStrokeStyle: a, schemeLookup: c, createTemporaryBorder: d, selectedBorder: u, onSelectBorder: h, darkMode: p, ...g } = n, m = qo(t, ["formatBorder"]), f = o ?? m[0], y = f?.context() ?? null, w = y?.autoColor ?? l, b = y?.autoStyle ?? a, v = u ?? y?.quickBorder, x = p ?? y?.darkMode, _ = d ?? y?.createTemporaryBorder, E = c ?? y?.schemeLookup, R = Te((k) => {
40015
+ const { commands: t, command: o, commandHook: r, variant: i = pn.Toolbar, disabled: s = !1, autoColor: l, autoStrokeStyle: a, schemeLookup: c, createTemporaryBorder: d, selectedBorder: u, onSelectBorder: h, darkMode: p, ...g } = n, m = Ko(t, ["formatBorder"]), f = o ?? m[0], y = f?.context() ?? null, w = y?.autoColor ?? l, b = y?.autoStyle ?? a, v = u ?? y?.quickBorder, x = p ?? y?.darkMode, _ = d ?? y?.createTemporaryBorder, E = c ?? y?.schemeLookup, R = Te((k) => {
40015
40016
  y?.onBorderSelect && y.onBorderSelect(k), h?.(k), f?.execute(k, r);
40016
40017
  }, [f, h, r]), M = ce((k, C) => {
40017
40018
  const { children: T, title: I, ...A } = k;
@@ -40051,7 +40052,7 @@ declare module '@sheetxl/primitives' {
40051
40052
  if (!o) return null;
40052
40053
  const _ = { ...o };
40053
40054
  return delete _.beforeExecute, _;
40054
- }, [o]), f = qo(i, ["formatFontSizeIncrease", "formatFontSizeDecrease"]), y = ee(() => f ? Q(Fe, { className: Go("quick-buttons", {}), sx: { display: "flex", alignItems: "center", justifyContent: "center" }, onClick: (_) => _.stopPropagation(), children: [S(qe, { command: f[0], commandHook: m, icon: Le(S(YB, {})) }), S(qe, { command: f[1], icon: Le(S(JB, {})) })] }) : null, [f]), w = Js(), b = ee(() => `${ct.getSharedMeasurer()("12.3", Math.round(w.typography.fontSize), w.typography.fontFamily).width}px`, [w]), v = ce((_) => {
40055
+ }, [o]), f = Ko(i, ["formatFontSizeIncrease", "formatFontSizeDecrease"]), y = ee(() => f ? Q(Fe, { className: qo("quick-buttons", {}), sx: { display: "flex", alignItems: "center", justifyContent: "center" }, onClick: (_) => _.stopPropagation(), children: [S(qe, { command: f[0], commandHook: m, icon: Le(S(YB, {})) }), S(qe, { command: f[1], icon: Le(S(JB, {})) })] }) : null, [f]), w = Js(), b = ee(() => `${ct.getSharedMeasurer()("12.3", Math.round(w.typography.fontSize), w.typography.fontFamily).width}px`, [w]), v = ce((_) => {
40055
40056
  const { onMouseDown: E, onMouseUp: R, ...M } = _;
40056
40057
  return S(yi, { component: "div", ...M, disableRipple: !0, children: S(ig, { inputMode: "numeric", disabled: l || !t || t.disabled(), inputProps: { name: "font-input", autoComplete: "off", tabIndex: 0, type: "number", maxLength: 4, max: 409, min: 2 }, sx: { "&::before": { borderBottom: "1px solid transparent" }, "&:hover:not(.Mui-disabled):not(.Mui-focused):not(.Mui-error):before": { borderBottom: (k) => `1px solid ${k.palette.text.icon ?? k.palette.action.active}` }, "&:hover:not(.Mui-disabled):not(.Mui-error):before": { borderBottom: (k) => `1px solid ${k.palette.error.main}` }, "::after": { borderBottom: (k) => `1px solid ${k.palette.primary.main}` }, paddingTop: "0px", paddingBottom: "0px", paddingLeft: "0px", paddingRight: "0px", fontSize: (k) => `${Math.round(k.typography.fontSize)}px`, width: b, color: (k) => k.palette.text.secondary, input: { padding: "0 0", textAlign: "center", MozAppearance: "textfield", "&:hover:not(.Mui-disabled):not(.Mui-error)": { color: (k) => k.palette.text.primary }, "&:focus:not(.Mui-disabled):not(.Mui-error)": { color: (k) => k.palette.text.primary } }, "input::-webkit-inner-spin-button": { WebkitAppearance: "none", margin: "0" }, minHeight: "24px" }, value: h, onFocus: (k) => {
40057
40058
  k.target?.select();
@@ -40098,7 +40099,7 @@ declare module '@sheetxl/primitives' {
40098
40099
  a.keyCode !== Sn.Enter && a.keyCode !== Sn.Space || r(i.numberFormat);
40099
40100
  }, ...l, children: Q(Fe, { sx: { display: "flex", flex: "1 1 100%", flexDirection: "column", overflow: "hidden" }, children: [Q(qn, { component: "div", children: [i.formatType, i.formatType === uo.Type.Custom ? "…" : ""] }), S(qn, { variant: "caption", component: "div", sx: { color: (a) => Ut(a.palette.text.primary, 0.6), paddingTop: o && o.length > 0 ? "1px" : void 0, overflow: "hidden", textOverflow: "ellipsis" }, children: o && o.length > 0 ? o : " " })] }) });
40100
40101
  }), wq = Be(Ye((n, e) => {
40101
- const { commands: t, commandHook: o, scope: r, sx: i, disabled: s = !1, parentFloat: l, ...a } = n, c = qo(t, ["formatNumberFormat"])[0], d = c?.state() ? uo.Styles.lookupStyle(c?.state()).formatType : uo.Type.General, u = ee(() => {
40102
+ const { commands: t, commandHook: o, scope: r, sx: i, disabled: s = !1, parentFloat: l, ...a } = n, c = Ko(t, ["formatNumberFormat"])[0], d = c?.state() ? uo.Styles.lookupStyle(c?.state()).formatType : uo.Type.General, u = ee(() => {
40102
40103
  if (!o) return null;
40103
40104
  const m = { ...o };
40104
40105
  return delete m.beforeExecute, m;
@@ -40139,7 +40140,7 @@ declare module '@sheetxl/primitives' {
40139
40140
  }, [i, o, r]);
40140
40141
  return S(go, { ref: e, commands: t, disabled: i, commandHook: o, label: "Fill", tooltip: "Fill the selected cells with the value from one of the corners.", createPopupPanel: l, icon: Le(S(Rd, {})), ...s });
40141
40142
  })), _R = Be(Ye((n, e) => {
40142
- const { commands: t, commandHook: o, scope: r, disabled: i = !1, disableSheet: s = !1, preferSingleMenu: l = !0, showQuickButton: a = !0, variant: c = pn.Toolbar, ...d } = n, u = ["insertCellsShiftDown", "insertCellsShiftRight", "insertRows", "insertColumns"], h = qo(t, u), { singleCommand: p, allDisabled: g } = ee(() => {
40143
+ const { commands: t, commandHook: o, scope: r, disabled: i = !1, disableSheet: s = !1, preferSingleMenu: l = !0, showQuickButton: a = !0, variant: c = pn.Toolbar, ...d } = n, u = ["insertCellsShiftDown", "insertCellsShiftRight", "insertRows", "insertColumns"], h = Ko(t, u), { singleCommand: p, allDisabled: g } = ee(() => {
40143
40144
  let y = null, w = 0;
40144
40145
  for (let b = 0; b < h.length; b++) h[b] && !h[b]?.disabled() && (l && c === pn.Menuitem && (y = w === 0 ? h[b] : null), w++);
40145
40146
  return { singleCommand: y, allDisabled: w === 0 };
@@ -40155,7 +40156,7 @@ declare module '@sheetxl/primitives' {
40155
40156
  }, [i, h, o, r, m]);
40156
40157
  return p ? S(qe, { ref: e, variant: c, commandHook: o, disabled: i, command: p, icon: m.get(p.key()), ...d }) : S(go, { ref: e, variant: c, quickCommand: "insertCells", commands: t, commandHook: o, scope: r, disabled: i || g, tooltip: Q(zt, { children: [S("span", { children: "Insert new cells, rows or columns to your workbook." }), S("br", {}), S("span", { children: "To insert multiple rows or columns at a time, select multiple rows or columns in the sheet and click Insert." })] }), createPopupPanel: f, icon: Le(S(wS, {})), ...d });
40157
40158
  })), CR = Be(Ye((n, e) => {
40158
- const { commands: t, commandHook: o, scope: r, disabled: i = !1, disableSheet: s = !1, preferSingleMenu: l = !0, showQuickButton: a = !0, variant: c = pn.Toolbar, ...d } = n, u = qo(t, ["deleteCellsShiftUp", "deleteCellsShiftLeft", "deleteRows", "deleteColumns"]), { singleCommand: h, allDisabled: p } = ee(() => {
40159
+ const { commands: t, commandHook: o, scope: r, disabled: i = !1, disableSheet: s = !1, preferSingleMenu: l = !0, showQuickButton: a = !0, variant: c = pn.Toolbar, ...d } = n, u = Ko(t, ["deleteCellsShiftUp", "deleteCellsShiftLeft", "deleteRows", "deleteColumns"]), { singleCommand: h, allDisabled: p } = ee(() => {
40159
40160
  let f = null, y = 0;
40160
40161
  for (let w = 0; w < u.length; w++) u[w] && !u[w]?.disabled() && (l && c === pn.Menuitem && (f = y === 0 ? u[w] : null), y++);
40161
40162
  return { singleCommand: f, allDisabled: y === 0 };
@@ -40176,7 +40177,7 @@ declare module '@sheetxl/primitives' {
40176
40177
  v0(t);
40177
40178
  const y = t?.context();
40178
40179
  let w = l ?? y?.quickColor;
40179
- c && !w && (w = new Uo("transparent"));
40180
+ c && !w && (w = new Go("transparent"));
40180
40181
  const b = p ?? y?.autoColor, v = g ?? y?.schemeLookup, x = m ?? y?.recentColors, _ = d ?? y?.darkMode, E = ee(() => ({ autoColor: b, schemeLookup: v, recentColors: x, darkMode: _, ...f }), [b, v, x, _]), R = Te((k, C) => {
40181
40182
  k && C && y?.addRecentColor && y.addRecentColor(k), y?.onColorSelect && y.onColorSelect(k), r?.(k, C), t?.execute(k, o);
40182
40183
  }, [t, r, o, y]), M = ce((k, C) => {
@@ -40188,7 +40189,7 @@ declare module '@sheetxl/primitives' {
40188
40189
  }));
40189
40190
  wu.displayName = "ColorCommandButton";
40190
40191
  const bq = Be(Ye((n, e) => {
40191
- const { commands: t, commandHook: o, scope: r, disabled: i = !1, parentFloat: s, ...l } = n, a = qo(t, ["gridlinesToggle", "sheetViewToggleGridlinesColumns", "sheetViewToggleGridlinesRows"]), c = ce((d, u) => {
40192
+ const { commands: t, commandHook: o, scope: r, disabled: i = !1, parentFloat: s, ...l } = n, a = Ko(t, ["gridlinesToggle", "sheetViewToggleGridlinesColumns", "sheetViewToggleGridlinesRows"]), c = ce((d, u) => {
40192
40193
  const h = { variant: pn.Menuitem, parentFloat: d.floatReference, commandHook: o, scope: r, disabled: i }, p = Q(zt, { children: [S(qe, { ...h, command: u.getCommand("gridlinesToggle") }), S(wu, { ...h, command: u.getCommand("sheetViewFormatGridlinesColor"), icon: S(e6, {}), panelProps: { disableAlpha: !0 } }), S(en, { orientation: "horizontal" }), S(qe, { ...h, command: u.getCommand("sheetViewToggleGridlinesColumns") }), S(qe, { ...h, command: u.getCommand("sheetViewToggleGridlinesRows") })] });
40193
40194
  return eo({ ...d, children: p });
40194
40195
  }, [i, o]);
@@ -40208,7 +40209,7 @@ const bq = Be(Ye((n, e) => {
40208
40209
  })), TR = Be(Ye((n, e) => {
40209
40210
  const { quickCommand: t, icon: o, isRedo: r = !1, nestRedo: i = !0, undoManager: s, scope: l, sx: a, disabled: c, commands: d, ...u } = n, h = [t];
40210
40211
  !r && i && h.push("redo");
40211
- const p = qo(d, h), g = p[0], m = p[1], f = s ?? g?.context?.()?.undoManager;
40212
+ const p = Ko(d, h), g = p[0], m = p[1], f = s ?? g?.context?.()?.undoManager;
40212
40213
  let y = c;
40213
40214
  c || (y = !g || g.disabled(), m && !m.disabled() && (y = !1));
40214
40215
  const [w, b] = de(0), v = ce((x, _) => {
@@ -40279,7 +40280,7 @@ const vq = Be(Ye((n, e) => {
40279
40280
  }, [i, t?.state()]);
40280
40281
  return S(Os, { ref: e, sx: { ...r }, outlined: !0, disabled: i, parentFloat: s, createPopupPanel: u, createTooltip: ({ children: h }, p) => S(ii, { label: t?.label(), description: t?.description(), disabled: p, children: h }), icon: S(Fe, { sx: { display: "flex", paddingLeft: "4px", paddingRight: "4px", fontSize: (h) => `${Math.round(h.typography.fontSize)}px`, fontFamily: (h) => h.typography.fontFamily, color: (h) => h.palette.text.secondary, width: d }, children: S(Fe, { sx: { overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "pre" }, children: a }) }), ...l });
40281
40282
  })), xq = Be(Ye((n, e) => {
40282
- const { commands: t, commandHook: o, scope: r, disabled: i = !1, ...s } = n, l = qo(t, ["formatStrikeThroughToggle", "formatSuperscriptToggle", "formatSubscriptToggle"]), a = ee(() => {
40283
+ const { commands: t, commandHook: o, scope: r, disabled: i = !1, ...s } = n, l = Ko(t, ["formatStrikeThroughToggle", "formatSuperscriptToggle", "formatSubscriptToggle"]), a = ee(() => {
40283
40284
  for (let u = 0; u < l.length; u++) if (l[u]?.state()) return l[u].key();
40284
40285
  return l[0]?.key();
40285
40286
  }, [l]), c = ee(() => {
@@ -40291,7 +40292,7 @@ const vq = Be(Ye((n, e) => {
40291
40292
  }, [i, o, r]);
40292
40293
  return S(go, { ref: e, quickCommand: a, commands: t, commandHook: o, createPopupPanel: d, label: "Text Effects", tooltip: "Style your text to differentiate it.", icon: c.get(a) ?? Le(S(vS, {})), ...s });
40293
40294
  })), _q = Be(Ye((n, e) => {
40294
- const { commands: t, commandHook: o, scope: r, disabled: i = !1, ...s } = n, l = qo(t, ["formatUnderlinedToggle", "formatUnderlinedDoubleToggle", "formatUnderlinedAccountingToggle", "formatUnderlinedAccountingDoubleToggle"]), a = ee(() => {
40295
+ const { commands: t, commandHook: o, scope: r, disabled: i = !1, ...s } = n, l = Ko(t, ["formatUnderlinedToggle", "formatUnderlinedDoubleToggle", "formatUnderlinedAccountingToggle", "formatUnderlinedAccountingDoubleToggle"]), a = ee(() => {
40295
40296
  for (let u = 0; u < l.length; u++) if (l[u]?.state()) return l[u].key();
40296
40297
  return l[0]?.key();
40297
40298
  }, [l]), c = ee(() => {
@@ -40309,7 +40310,7 @@ const vq = Be(Ye((n, e) => {
40309
40310
  }, [l, r, i, s]);
40310
40311
  return S(go, { ref: e, commands: o, commandHook: r, scope: i, createPopupPanel: c, label: "Paste", tooltip: "Add content to the clipboard to your document.", quickCommand: "paste", icon: S(fS, {}), ...a });
40311
40312
  })), Cq = Be(Ye((n, e) => {
40312
- const { commands: t, commandHook: o, scope: r, disabled: i = !1, parentFloat: s, ...l } = n, a = qo(t, ["sheetViewToggleShowHeadings", "sheetViewToggleShowHeadingColumns", "sheetViewToggleShowHeadingRows"]), c = ce((d, u) => {
40313
+ const { commands: t, commandHook: o, scope: r, disabled: i = !1, parentFloat: s, ...l } = n, a = Ko(t, ["sheetViewToggleShowHeadings", "sheetViewToggleShowHeadingColumns", "sheetViewToggleShowHeadingRows"]), c = ce((d, u) => {
40313
40314
  const h = { variant: pn.Menuitem, parentFloat: d.floatReference, commandHook: o, scope: r, disabled: i }, p = Q(zt, { children: [S(qe, { ...h, command: u.getCommand("sheetViewToggleShowHeadings") }), S(qe, { ...h, command: u.getCommand("sheetViewToggleShowHeadingsNumeric") }), S(en, { orientation: "horizontal" }), S(qe, { ...h, command: u.getCommand("sheetViewToggleShowHeadingColumns") }), S(qe, { ...h, command: u.getCommand("sheetViewToggleShowHeadingRows") })] });
40314
40315
  return eo({ ...d, children: p });
40315
40316
  }, [i, o, r]);
@@ -40368,7 +40369,7 @@ const vq = Be(Ye((n, e) => {
40368
40369
  return _.getStyle().getFont().getSize() <= x ? _ : _.createTemporaryCell({ style: { font: { size: x } } });
40369
40370
  }, [u?.createTemporaryCell]), w = l || !o || o.disabled(), b = ee(() => u && c ? S(RR, { value: p?.getName() ?? "Custom", cellStyle: p ? { named: p.getName() } : void 0, styles: u.styles(), createTemporaryCell: y, bodyStyle: u.bodyStyle(), className: "outline-hover", disabled: w, sx: { maxHeight: "24px", height: "24px", marginRight: "2px", outline: (v) => `1px solid ${v.palette.action.hover}` }, borderProps: {} }) : Le(S(iu, {})), [p, g, w]);
40370
40371
  return S(go, { ref: e, createPopupPanel: f, outlined: c, commands: t, createTooltip: ({ children: v }, x) => S(ii, { label: o?.label(), description: o?.description(), disabled: x, children: v }), selected: !1, disabled: w, label: o?.label(), icon: b, ...d });
40371
- })), IR = "_sheetxl-reset_14ang_1", Mq = 10, Rq = Be(Ye((n, e) => {
40372
+ })), IR = "_sheetxl-reset_ods65_1", Mq = 10, Rq = Be(Ye((n, e) => {
40372
40373
  const { styles: t, table: o, tableStyle: r = o?.getStyle() ?? t.getDefaultTableStyle(), bodyStyle: i, sx: s, disabled: l, className: a, forceThinBorder: c, cellHeight: d = Mq, isLive: u = !1, ...h } = n, p = Math.ceil(1.3 * d), [g, m] = ri((v) => v + 1, 0);
40373
40374
  Re(() => {
40374
40375
  if (u && o) return o.addListeners({ onAnyChange: () => {
@@ -40402,7 +40403,7 @@ const vq = Be(Ye((n, e) => {
40402
40403
  }
40403
40404
  return x;
40404
40405
  }, [f, r, i]), b = ce((v, x) => y[x].getBorder() ?? null, [y]);
40405
- return S(Fe, { ref: e, className: "table-format-preview", sx: { background: i?.fill, filter: l ? "grayscale(0.4) opacity(0.8);" : "none", "& .styled-element": { position: "absolute" }, ...s }, ...h, children: S(T6, { getBorderAt: b, rowCount: 5, columnCount: 5, forceThinBorder: c, width: 5 * (p - 1) + 1, height: 5 * (d - 1) + 1, darkMode: i?.darkMode ?? !1, style: { pointerEvents: "none" }, children: S("table", { className: Go(a, "sheetxl-table-preview", IR), style: { borderCollapse: "collapse", width: 5 * (p - 1) + 1, height: 5 * (d - 1) + 1 }, children: S("tbody", { children: w }) }) }) });
40406
+ return S(Fe, { ref: e, className: "table-format-preview", sx: { background: i?.fill, filter: l ? "grayscale(0.4) opacity(0.8);" : "none", "& .styled-element": { position: "absolute" }, ...s }, ...h, children: S(T6, { getBorderAt: b, rowCount: 5, columnCount: 5, forceThinBorder: c, width: 5 * (p - 1) + 1, height: 5 * (d - 1) + 1, darkMode: i?.darkMode ?? !1, style: { pointerEvents: "none" }, children: S("table", { className: qo(a, "sheetxl-table-preview", IR), style: { borderCollapse: "collapse", width: 5 * (p - 1) + 1, height: 5 * (d - 1) + 1 }, children: S("tbody", { children: w }) }) }) });
40406
40407
  })), Bd = (n, e, t, o, r) => {
40407
40408
  n.beginPath(), n.moveTo(e + 0.5, t + 0.5), n.lineTo(o + 0.5, r + 0.5), n.stroke();
40408
40409
  }, Iq = Be(Ye((n, e) => {
@@ -40449,7 +40450,7 @@ const vq = Be(Ye((n, e) => {
40449
40450
  }
40450
40451
  return `url(${g.toDataURL()})`;
40451
40452
  }, [c, u, o, i]);
40452
- return S("div", { ref: e, className: Go("table-style-preview", a), style: { backgroundImage: p, width: 61, height: 46, ...l }, ...d });
40453
+ return S("div", { ref: e, className: qo("table-style-preview", a), style: { backgroundImage: p, width: 61, height: 46, ...l }, ...d });
40453
40454
  })), fX = Be(Ye((n, e) => {
40454
40455
  const { styleOptions: t, onStyleOptionsChange: o, showHeaderRow: r, onShowHeaderRowChange: i, showTotalRow: s, onShowTotalRowChange: l, showFilterButton: a, onShowFilterButtonChange: c, sx: d, disabled: u, ...h } = n;
40455
40456
  return Q(Fe, { sx: { display: "flex", flexDirection: "column", flexWrap: "wrap", userSelect: "none", pt: 1, pb: 1, "& .MuiFormControlLabel-root": { marginLeft: (p) => `${p.spacing(2)}`, marginRight: (p) => `${p.spacing(2)}` }, "& .MuiCheckbox-root": { padding: (p) => `${p.spacing(0.5)}` }, ...d }, ...h, ref: e, children: [i && S(ba, { control: S(va, { checked: r ?? !1, indeterminate: r == null, onChange: () => i(!r), disabled: u || r == null }), label: "Header Row", labelPlacement: "end" }), l && S(ba, { control: S(va, { checked: s ?? !1, indeterminate: s == null, onChange: () => l(!s), disabled: u || s == null }), label: "Total Row", labelPlacement: "end" }), S(ba, { control: S(va, { checked: t?.showRowStripes ?? !1, indeterminate: !t, disabled: u || !t, onChange: () => {
@@ -40573,7 +40574,7 @@ The heading font is '${e.getFontScheme().getMajorFont()}'.` }), placement: "bott
40573
40574
  }, [t, s]);
40574
40575
  return S(Fq, { ref: e, themes: d, selectedTheme: u, onSelectTheme: p, variant: a === pn.Menuitem ? ds.Menuitem : ds.Toolbar, createTooltip: g, disabled: s, darkMode: h, icon: Le(S(ZT, {})), ...c });
40575
40576
  })), yX = Be(Ye((n, e) => {
40576
- const { commands: t, commandHook: o, scope: r, disabled: i = !1, ...s } = n, l = qo(t, ["themeMode"])[0], a = l?.state(), c = l?.state() !== null, d = OI("(prefers-color-scheme: dark)"), u = a === "dark" || a === null && d, h = Te((p, g) => {
40577
+ const { commands: t, commandHook: o, scope: r, disabled: i = !1, ...s } = n, l = Ko(t, ["themeMode"])[0], a = l?.state(), c = l?.state() !== null, d = OI("(prefers-color-scheme: dark)"), u = a === "dark" || a === null && d, h = Te((p, g) => {
40577
40578
  const m = { variant: pn.Menuitem, commandHook: o, scope: "appearance", disabled: i }, f = Q(zt, { children: [S(qe, { ...m, command: l, icon: Le(S(u ? Y6 : J6, {})) }), S(qe, { ...m, command: g.getCommand("defaultThemeMode"), icon: Le(S(d ? lV : aV, {})) }), S(en, { orientation: "horizontal" }), S(qe, { ...m, command: g.getCommand("forceLightGrid") }), S(qe, { ...m, command: g.getCommand("forceLightImages") })] });
40578
40579
  return eo({ ...p, children: f });
40579
40580
  }, [i, l, o, r, d, a, c]);
@@ -40587,7 +40588,7 @@ The heading font is '${e.getFontScheme().getMajorFont()}'.` }), placement: "bott
40587
40588
  }, [i, o]);
40588
40589
  return S(go, { ref: e, sx: s, commands: t, disabled: i, commandHook: o, scope: r, label: "Help", tooltip: "Help, feedback, and keyboard shortcuts.", createPopupPanel: a, icon: Le(S(cV, { sx: { transform: "scale(0.75)" } })), ...l });
40589
40590
  })), AR = Be(Ye((n, e) => {
40590
- const { commands: t, commandHook: o, scope: r, disabled: i = !1, preferSingleMenu: s = !0, showQuickButton: l = !0, variant: a = pn.Toolbar, ...c } = n, d = qo(t, ["insertImageFromFile", "insertImageFromURL"]), { singleMenuCommand: u, allDisabled: h } = ee(() => {
40591
+ const { commands: t, commandHook: o, scope: r, disabled: i = !1, preferSingleMenu: s = !0, showQuickButton: l = !0, variant: a = pn.Toolbar, ...c } = n, d = Ko(t, ["insertImageFromFile", "insertImageFromURL"]), { singleMenuCommand: u, allDisabled: h } = ee(() => {
40591
40592
  let g = null, m = 0;
40592
40593
  for (let f = 0; f < d.length; f++) d[f] && !d[f]?.disabled() && (s && a === pn.Menuitem && (g = m === 0 ? d[f] : null), m++);
40593
40594
  return { singleMenuCommand: g, allDisabled: m === 0 };
@@ -40638,7 +40639,7 @@ const NR = () => rt.useContext(OR), zq = Be(Ye((n, e) => {
40638
40639
  }, []), k = ce((C) => {
40639
40640
  _(C.target.value), m?.onChange(C);
40640
40641
  }, [m]);
40641
- return S(m4, { sx: { paddingTop: (C) => C.spacing(1.5), minWidth: 135, width: "100%", ...i }, size: "small", ref: e, className: Go("named-input", r), ...p, children: S(r_, { label: "Name", placeholder: s, onFocus: R, onBlur: M, inputRef: m?.ref, disabled: t, error: !!w, helperText: w || " ", sx: { "& .MuiFormHelperText-root": { marginTop: (C) => C.spacing(0.5) } }, InputLabelProps: { shrink: !0 }, InputProps: { inputProps: { className: "autoFocus", name: a, spellCheck: !1, autoComplete: "off", readOnly: t, sx: { paddingTop: (C) => C.spacing(1.25), paddingBottom: (C) => C.spacing(0.75), backgroundImage: `linear-gradient(${Ut("#fff", no(5))}, ${Ut("#fff", no(5))})` } } }, value: v ?? "", onChange: k, onKeyDownCapture: E, onContextMenu: (C) => {
40642
+ return S(m4, { sx: { paddingTop: (C) => C.spacing(1.5), minWidth: 135, width: "100%", ...i }, size: "small", ref: e, className: qo("named-input", r), ...p, children: S(r_, { label: "Name", placeholder: s, onFocus: R, onBlur: M, inputRef: m?.ref, disabled: t, error: !!w, helperText: w || " ", sx: { "& .MuiFormHelperText-root": { marginTop: (C) => C.spacing(0.5) } }, InputLabelProps: { shrink: !0 }, InputProps: { inputProps: { className: "autoFocus", name: a, spellCheck: !1, autoComplete: "off", readOnly: t, sx: { paddingTop: (C) => C.spacing(1.25), paddingBottom: (C) => C.spacing(0.75), backgroundImage: `linear-gradient(${Ut("#fff", no(5))}, ${Ut("#fff", no(5))})` } } }, value: v ?? "", onChange: k, onKeyDownCapture: E, onContextMenu: (C) => {
40642
40643
  C.stopPropagation();
40643
40644
  } }) });
40644
40645
  }));
@@ -40671,7 +40672,7 @@ const op = (n) => n === null ? "" : n.toString(), Pq = Be(Ye((n, e) => {
40671
40672
  }, [g]), [M, k] = de(!1), C = ee(() => S(NI, { tabIndex: -1, sx: { display: "flex", position: "relative", flex: "0" }, position: "end", children: S(hH, { disabled: !0, selected: M, onSelectToggle: (T) => {
40672
40673
  k(T);
40673
40674
  }, label: "Select Range", icon: Le(S(FV, {})) }) }), [M]);
40674
- return S(m4, { sx: { paddingTop: (T) => T.spacing(1.5), minWidth: 135, width: "100%", ...l }, size: "small", ref: e, className: Go("range-input", s), ...h, children: S(r_, { label: "Range", placeholder: "Enter Range", onBlur: E, disabled: r, error: !!m, inputRef: g?.ref, helperText: m || " ", sx: { "& .MuiFormHelperText-root": { marginTop: (T) => T.spacing(0.5) } }, InputLabelProps: { shrink: !0 }, InputProps: { inputProps: { spellCheck: !1, autoComplete: "off", readOnly: r, name: t, sx: { paddingTop: (T) => T.spacing(1.25), paddingBottom: (T) => T.spacing(0.75) } }, sx: { backgroundImage: `linear-gradient(${Ut("#fff", no(5))}, ${Ut("#fff", no(5))})` }, endAdornment: C }, value: b ?? "", onChange: R, onKeyDownCapture: _, onContextMenu: (T) => {
40675
+ return S(m4, { sx: { paddingTop: (T) => T.spacing(1.5), minWidth: 135, width: "100%", ...l }, size: "small", ref: e, className: qo("range-input", s), ...h, children: S(r_, { label: "Range", placeholder: "Enter Range", onBlur: E, disabled: r, error: !!m, inputRef: g?.ref, helperText: m || " ", sx: { "& .MuiFormHelperText-root": { marginTop: (T) => T.spacing(0.5) } }, InputLabelProps: { shrink: !0 }, InputProps: { inputProps: { spellCheck: !1, autoComplete: "off", readOnly: r, name: t, sx: { paddingTop: (T) => T.spacing(1.25), paddingBottom: (T) => T.spacing(0.75) } }, sx: { backgroundImage: `linear-gradient(${Ut("#fff", no(5))}, ${Ut("#fff", no(5))})` }, endAdornment: C }, value: b ?? "", onChange: R, onKeyDownCapture: _, onContextMenu: (T) => {
40675
40676
  T.stopPropagation();
40676
40677
  } }) });
40677
40678
  }));
@@ -40701,7 +40702,7 @@ const DR = Be(Ye((n, e) => {
40701
40702
  }, []), b = hw(() => {
40702
40703
  h(p(re.findNextStep(t.getView().getZoomScale(), !1, 10)));
40703
40704
  }), v = hw(() => h(p(re.findNextStep(t.getView().getZoomScale(), !0, 10)))), x = Js(), _ = ee(() => `${ct.getSharedMeasurer()("100%", Math.round(x.typography.fontSize), x.typography.fontFamily).width}px`, [x]);
40704
- return Q(Fe, { ref: e, className: Go(o), sx: { padding: "0px 0px", display: "flex", alignItems: "center", color: (E) => E.palette.text.secondary, ...i }, onFocus: (E) => {
40705
+ return Q(Fe, { ref: e, className: qo(o), sx: { padding: "0px 0px", display: "flex", alignItems: "center", color: (E) => E.palette.text.secondary, ...i }, onFocus: (E) => {
40705
40706
  E.relatedTarget && !m && f(E.relatedTarget);
40706
40707
  }, onBlur: (E) => {
40707
40708
  m && !y?.current?.contains(E.relatedTarget) && f(null);
@@ -40741,7 +40742,7 @@ const FR = Be(Ye((n, e) => {
40741
40742
  return Q(Fe, { ref: a, sx: { display: "flex", alignItems: "stretch", flexDirection: "row", flex: "0", paddingLeft: "12px", paddingRight: "12px", gap: "8px", paddingTop: "1px", minHeight: "calc(1em + 8px)", overflow: u ? "visible" : "hidden", boxShadow: `0px -1px 0px ${r.header.edgeStrokeFill}`, ...t }, onMouseOver: () => h(!0), onMouseLeave: () => h(!1), ...l, children: [i, S("div", { style: { flex: "1 1 100%", display: "flex", alignItems: "end", overflow: "hidden" }, children: S(qn, { component: "div", sx: { userSelect: "none", whiteSpace: "pre", overflow: "hidden", textOverflow: "ellipsis", color: (p) => p.palette.text.secondary }, variant: "caption", children: d }) }), s ? S(Fe, { sx: { display: "flex", alignItems: "center" }, children: s }) : null, S(en, { style: { marginTop: "6px", marginBottom: "6px" } }), S(DR, { sx: { paddingLeft: "4px", minWidth: "175px" }, sheet: o })] });
40742
40743
  }));
40743
40744
  FR.displayName = "StatusBar";
40744
- var Cx, rp = { exports: {} }, Vd = {}, Hd = { exports: {} }, Ex = {}, ip = { exports: {} }, Tx, sr = {}, jl = {};
40745
+ var Cx, rp = { exports: {} }, Vd = {}, Hd = { exports: {} }, Ex = {}, ip = { exports: {} }, Tx, lr = {}, jl = {};
40745
40746
  function zg() {
40746
40747
  return Tx || (Tx = 1, Object.defineProperty(jl, "__esModule", { value: !0 }), jl.dontSetMe = function(n, e, t) {
40747
40748
  if (n[e]) return new Error(`Invalid prop ${e} passed to ${t} - do not set this, set it on the child.`);
@@ -40757,36 +40758,36 @@ function zg() {
40757
40758
  }
40758
40759
  var kx, Mx, Wl = {};
40759
40760
  function L6() {
40760
- if (Mx) return sr;
40761
- Mx = 1, Object.defineProperty(sr, "__esModule", { value: !0 }), sr.addClassName = s, sr.addEvent = function(a, c, d, u) {
40761
+ if (Mx) return lr;
40762
+ Mx = 1, Object.defineProperty(lr, "__esModule", { value: !0 }), lr.addClassName = s, lr.addEvent = function(a, c, d, u) {
40762
40763
  if (!a) return;
40763
40764
  const h = { capture: !0, ...u };
40764
40765
  a.addEventListener ? a.addEventListener(c, d, h) : a.attachEvent ? a.attachEvent("on" + c, d) : a["on" + c] = d;
40765
- }, sr.addUserSelectStyles = function(a) {
40766
+ }, lr.addUserSelectStyles = function(a) {
40766
40767
  if (!a) return;
40767
40768
  let c = a.getElementById("react-draggable-style-el");
40768
40769
  c || (c = a.createElement("style"), c.type = "text/css", c.id = "react-draggable-style-el", c.innerHTML = `.react-draggable-transparent-selection *::-moz-selection {all: inherit;}
40769
40770
  `, c.innerHTML += `.react-draggable-transparent-selection *::selection {all: inherit;}
40770
40771
  `, a.getElementsByTagName("head")[0].appendChild(c)), a.body && s(a.body, "react-draggable-transparent-selection");
40771
- }, sr.createCSSTransform = function(a, c) {
40772
+ }, lr.createCSSTransform = function(a, c) {
40772
40773
  const d = r(a, c, "px");
40773
40774
  return { [(0, e.browserPrefixToKey)("transform", e.default)]: d };
40774
- }, sr.createSVGTransform = function(a, c) {
40775
+ }, lr.createSVGTransform = function(a, c) {
40775
40776
  return r(a, c, "");
40776
- }, sr.getTouch = function(a, c) {
40777
+ }, lr.getTouch = function(a, c) {
40777
40778
  return a.targetTouches && (0, n.findInArray)(a.targetTouches, (d) => c === d.identifier) || a.changedTouches && (0, n.findInArray)(a.changedTouches, (d) => c === d.identifier);
40778
- }, sr.getTouchIdentifier = function(a) {
40779
+ }, lr.getTouchIdentifier = function(a) {
40779
40780
  if (a.targetTouches && a.targetTouches[0]) return a.targetTouches[0].identifier;
40780
40781
  if (a.changedTouches && a.changedTouches[0]) return a.changedTouches[0].identifier;
40781
- }, sr.getTranslation = r, sr.innerHeight = function(a) {
40782
+ }, lr.getTranslation = r, lr.innerHeight = function(a) {
40782
40783
  let c = a.clientHeight;
40783
40784
  const d = a.ownerDocument.defaultView.getComputedStyle(a);
40784
40785
  return c -= (0, n.int)(d.paddingTop), c -= (0, n.int)(d.paddingBottom), c;
40785
- }, sr.innerWidth = function(a) {
40786
+ }, lr.innerWidth = function(a) {
40786
40787
  let c = a.clientWidth;
40787
40788
  const d = a.ownerDocument.defaultView.getComputedStyle(a);
40788
40789
  return c -= (0, n.int)(d.paddingLeft), c -= (0, n.int)(d.paddingRight), c;
40789
- }, sr.matchesSelector = o, sr.matchesSelectorAndParentsTo = function(a, c, d) {
40790
+ }, lr.matchesSelector = o, lr.matchesSelectorAndParentsTo = function(a, c, d) {
40790
40791
  let u = a;
40791
40792
  do {
40792
40793
  if (o(u, c)) return !0;
@@ -40794,22 +40795,22 @@ function L6() {
40794
40795
  u = u.parentNode;
40795
40796
  } while (u);
40796
40797
  return !1;
40797
- }, sr.offsetXYFromParent = function(a, c, d) {
40798
+ }, lr.offsetXYFromParent = function(a, c, d) {
40798
40799
  const u = c === c.ownerDocument.body ? { left: 0, top: 0 } : c.getBoundingClientRect(), h = (a.clientX + c.scrollLeft - u.left) / d, p = (a.clientY + c.scrollTop - u.top) / d;
40799
40800
  return { x: h, y: p };
40800
- }, sr.outerHeight = function(a) {
40801
+ }, lr.outerHeight = function(a) {
40801
40802
  let c = a.clientHeight;
40802
40803
  const d = a.ownerDocument.defaultView.getComputedStyle(a);
40803
40804
  return c += (0, n.int)(d.borderTopWidth), c += (0, n.int)(d.borderBottomWidth), c;
40804
- }, sr.outerWidth = function(a) {
40805
+ }, lr.outerWidth = function(a) {
40805
40806
  let c = a.clientWidth;
40806
40807
  const d = a.ownerDocument.defaultView.getComputedStyle(a);
40807
40808
  return c += (0, n.int)(d.borderLeftWidth), c += (0, n.int)(d.borderRightWidth), c;
40808
- }, sr.removeClassName = l, sr.removeEvent = function(a, c, d, u) {
40809
+ }, lr.removeClassName = l, lr.removeEvent = function(a, c, d, u) {
40809
40810
  if (!a) return;
40810
40811
  const h = { capture: !0, ...u };
40811
40812
  a.removeEventListener ? a.removeEventListener(c, d, h) : a.detachEvent ? a.detachEvent("on" + c, d) : a["on" + c] = null;
40812
- }, sr.scheduleRemoveUserSelectStyles = function(a) {
40813
+ }, lr.scheduleRemoveUserSelectStyles = function(a) {
40813
40814
  window.requestAnimationFrame ? window.requestAnimationFrame(() => {
40814
40815
  i(a);
40815
40816
  }) : i(a);
@@ -40876,7 +40877,7 @@ function L6() {
40876
40877
  function l(a, c) {
40877
40878
  a.classList ? a.classList.remove(c) : a.className = a.className.replace(new RegExp(`(?:^|\\s)${c}(?!\\S)`, "g"), "");
40878
40879
  }
40879
- return sr;
40880
+ return lr;
40880
40881
  }
40881
40882
  var Rx, Bs = {};
40882
40883
  function LR() {
@@ -41684,7 +41685,7 @@ const jR = Be(Ye((n, e) => {
41684
41685
  jR.displayName = "FilterColumnMenu";
41685
41686
  const Uq = Be(Ye((n, e) => {
41686
41687
  const { children: t, className: o, disabled: r, style: i, filter: s, ...l } = n, a = kr(e, () => ({ isFilters: () => !0 }), []);
41687
- return S("div", { ref: a, className: Go("filters", o), style: { position: "relative", display: "flex", flexDirection: "column", alignItems: "center", gap: "8px", ...i }, ...l, children: Q("div", { style: { flex: "1 1 100%", display: "flex", minHeight: "100px", minWidth: "220px", alignItems: "center", border: "grey solid 1px", padding: "4px 4px", overflow: "hidden", flexDirection: "column", justifyContent: "space-evenly", marginTop: "4px", marginBottom: "4px", marginLeft: "16px", marginRight: "16px" }, children: [S("div", { children: s.getName() }), S("div", { children: "Filter Widget" })] }) });
41688
+ return S("div", { ref: a, className: qo("filters", o), style: { position: "relative", display: "flex", flexDirection: "column", alignItems: "center", gap: "8px", ...i }, ...l, children: Q("div", { style: { flex: "1 1 100%", display: "flex", minHeight: "100px", minWidth: "220px", alignItems: "center", border: "grey solid 1px", padding: "4px 4px", overflow: "hidden", flexDirection: "column", justifyContent: "space-evenly", marginTop: "4px", marginBottom: "4px", marginLeft: "16px", marginRight: "16px" }, children: [S("div", { children: s.getName() }), S("div", { children: "Filter Widget" })] }) });
41688
41689
  }));
41689
41690
  Uq.displayName = "Filters";
41690
41691
  const WR = Be(Ye((n, e) => {
@@ -41705,7 +41706,7 @@ const WR = Be(Ye((n, e) => {
41705
41706
  let T = null;
41706
41707
  typeof p == "string" ? T = p : p?.toCSS && (T = p.toCSS());
41707
41708
  const I = M ? S(Fe, { sx: { width: "100%", borderRadius: "4px", minWidth: "4px", height: "2px", backgroundColor: (A) => A.palette.primary.main } }) : null;
41708
- return S(Nj, { theme: M ? w ?? R : R, children: S(Fe, { ref: e, className: Go(i), sx: { ...r, display: "flex", flexDirection: "column", minHeight: "0px", fontWeight: M ? "700" : "400", fontSize: "0.85rem", letterSpacing: "0", lineHeight: "1", textTransform: "none", minWidth: "unset", cursor: h ? "grabbing" : void 0 }, ...b, children: S(gz, { style: { flex: "1 1 100%", display: "flex", flexDirection: "row" }, radius: y, strokeColor: M ? T : "transparent", children: S(V1, { sx: { textTransform: "none", borderRadius: "0px", minHeight: "0px", paddingLeft: "11px", paddingRight: "12px", paddingTop: "3px", flex: "1 1 100%", paddingBottom: "3px", fontWeight: M ? "700" : "400", fontSize: "0.85rem", letterSpacing: "0", transition: "none", cursor: h ? "grabbing" : void 0, color: M ? "primary" : C || "text.secondary", backgroundColor: M ? f : "transparent", "&:hover:not([disabled])": { backgroundColor: M ? f : "transparent" }, "& input": { color: (A) => `${A.palette.text.primary}`, textAlign: "center", fontWeight: "500" }, marginTop: "0px", minWidth: "unset" }, disabled: d, disableRipple: a, component: "div", children: Q(zt, { children: [k, Q(Fe, { sx: { zIndex: "1", display: "flex", flexDirection: "row", alignItems: "center" }, children: [Q(Fe, { sx: { display: "flex", flexDirection: "column", alignItems: "center", rowGap: "1px", lineHeight: "1", marginTop: M ? void 0 : "1px" }, children: [t, I] }), v ? S(lg, { sx: { scale: "0.80", marginLeft: "2px", width: "22px", height: "22px" }, color: "secondary" }) : S(Fe, { sx: { minHeight: "22px" } })] })] }) }, s + ":" + l) }) }) });
41709
+ return S(Nj, { theme: M ? w ?? R : R, children: S(Fe, { ref: e, className: qo(i), sx: { ...r, display: "flex", flexDirection: "column", minHeight: "0px", fontWeight: M ? "700" : "400", fontSize: "0.85rem", letterSpacing: "0", lineHeight: "1", textTransform: "none", minWidth: "unset", cursor: h ? "grabbing" : void 0 }, ...b, children: S(gz, { style: { flex: "1 1 100%", display: "flex", flexDirection: "row" }, radius: y, strokeColor: M ? T : "transparent", children: S(V1, { sx: { textTransform: "none", borderRadius: "0px", minHeight: "0px", paddingLeft: "11px", paddingRight: "12px", paddingTop: "3px", flex: "1 1 100%", paddingBottom: "3px", fontWeight: M ? "700" : "400", fontSize: "0.85rem", letterSpacing: "0", transition: "none", cursor: h ? "grabbing" : void 0, color: M ? "primary" : C || "text.secondary", backgroundColor: M ? f : "transparent", "&:hover:not([disabled])": { backgroundColor: M ? f : "transparent" }, "& input": { color: (A) => `${A.palette.text.primary}`, textAlign: "center", fontWeight: "500" }, marginTop: "0px", minWidth: "unset" }, disabled: d, disableRipple: a, component: "div", children: Q(zt, { children: [k, Q(Fe, { sx: { zIndex: "1", display: "flex", flexDirection: "row", alignItems: "center" }, children: [Q(Fe, { sx: { display: "flex", flexDirection: "column", alignItems: "center", rowGap: "1px", lineHeight: "1", marginTop: M ? void 0 : "1px" }, children: [t, I] }), v ? S(lg, { sx: { scale: "0.80", marginLeft: "2px", width: "22px", height: "22px" }, color: "secondary" }) : S(Fe, { sx: { minHeight: "22px" } })] })] }) }, s + ":" + l) }) }) });
41709
41710
  }));
41710
41711
  WR.displayName = "SheetTab";
41711
41712
  const UR = Be(Ye((n, e) => {
@@ -41723,7 +41724,7 @@ const UR = Be(Ye((n, e) => {
41723
41724
  d?.startEdit(o);
41724
41725
  });
41725
41726
  }, disabled: s || !h.isStructureAllowed(), parentFloat: l, children: ["Rename", i !== "sheet" ? " Sheet" : ""] }), S(qe, { command: r.getCommand("duplicateSheet"), ...f, variant: pn.Menuitem }), S(qe, { command: r?.getCommand("protectionSheetToggle"), ...f, variant: pn.Menuitem, icon: S(lg, {}) }), S(wu, { variant: pn.Menuitem, command: r.getCommand("formatSheetTabColor"), icon: S(e6, {}), panelProps: { disableAlpha: !0, autoColorLabel: "No Tab Color", autoColorPosition: B1.End }, parentFloat: l }), S(en, { orientation: "horizontal" }), S(qe, { command: r.getCommand("hideSheet"), ...f, variant: pn.Menuitem, icon: Le(S(YT, {})) })] });
41726
- return S(Fe, { ref: e, className: Go("menu", c), sx: { ...a }, ...u, children: y });
41727
+ return S(Fe, { ref: e, className: qo("menu", c), sx: { ...a }, ...u, children: y });
41727
41728
  }));
41728
41729
  UR.displayName = "SheetTabMenu";
41729
41730
  const GR = Be(Ye((n, e) => {
@@ -41757,7 +41758,7 @@ const GR = Be(Ye((n, e) => {
41757
41758
  }
41758
41759
  return p;
41759
41760
  }, [t, d, a, r, o]);
41760
- return S(Fe, { ref: e, className: Go("menu", s), ...l, children: h });
41761
+ return S(Fe, { ref: e, className: qo("menu", s), ...l, children: h });
41761
41762
  }));
41762
41763
  GR.displayName = "SheetsAllMenu";
41763
41764
  var Gq = function() {
@@ -42059,7 +42060,7 @@ const Su = Be(Ye((n, e) => {
42059
42060
  return eo({ ...x, children: E });
42060
42061
  }, [y]);
42061
42062
  return Q(Fe, { className: "overflow-palette", sx: { display: "flex", flexDirection: "row", flex: "1 1 100%", width: "100%", maxWidth: "100%", ...o }, ref: z6([s, l, e]), ...i, children: [S(Fe, { sx: { flexDirection: "row", display: "flex", maxWidth: "100%", flex: "1 1 100%" }, children: m ?? p }), S(Fe, { sx: { display: y !== null && y.length === 0 ? "none" : "flex", flex: "1 1 0" }, children: S(Os, { createPopupPanel: v, ref: c, parentFloat: b, createTooltip: ({ children: x }, _) => S(ii, { label: "More", description: "More toolbar options…", disabled: _, children: x }), icon: S(LT, { children: S(YI, {}) }) }) })] });
42062
- })), JR = "https://unpkg.com/@sheetxl/scripting-templates/dist", Kq = [{ key: "SheetXL", description: "SheetXL", mimeType: ".sxl", exts: ["sxl"], isDefault: !0, handler: async (n, e) => (await import("./BRPqw1D9DgPK_A6V.mjs")).fromBufferJSON(n, e) }, { key: "CSV", description: "Comma Delimited", mimeType: "text/csv", exts: ["csv"], handler: async (n, e) => (await import("./B-DwCBC-vYtRKiGS.mjs")).fromBufferCSV(n, e) }, { key: "Excel", description: "Excel Workbook", mimeType: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", exts: ["xlsx", "xls", "xlsm"], handler: async (n, e) => (await import("./CpD505ep5Z3oX287.mjs").then((t) => t.i)).fromBufferXLSX(n, e) }], Xq = [{ key: "SheetXL", mimeType: "application/vnd.sheetxl.sheet", description: "SheetXL", ext: "sxl", isDefault: !0, handler: async (n, e) => (await import("./BRPqw1D9DgPK_A6V.mjs")).toBufferJSON(n, e) }, { key: "CSV", mimeType: "text/csv", description: "Comma Delimited", ext: "csv", handler: async (n, e) => (await import("./B-DwCBC-vYtRKiGS.mjs")).toBufferCSV(n, e) }, { key: "Excel", mimeType: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", description: "Excel Workbook", ext: "xlsx", tags: ["SheetJS Pro"], handler: async (n, e) => (await import("./CpD505ep5Z3oX287.mjs").then((t) => t.i)).toBufferXLSX(n, e) }];
42063
+ })), JR = "https://unpkg.com/@sheetxl/scripting-templates/dist", Kq = [{ key: "SheetXL", description: "SheetXL", mimeType: ".sxl", exts: ["sxl"], isDefault: !0, handler: async (n, e) => (await import("./BVjzMl2EkoD1ceqn.mjs")).fromBufferJSON(n, e) }, { key: "CSV", description: "Comma Delimited", mimeType: "text/csv", exts: ["csv"], handler: async (n, e) => (await import("./BeMVD9uqSXo5o9U7.mjs")).fromBufferCSV(n, e) }, { key: "Excel", description: "Excel Workbook", mimeType: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", exts: ["xlsx", "xls", "xlsm"], handler: async (n, e) => (await import("./CJigh9OXZ04sdTLc.mjs").then((t) => t.i)).fromBufferXLSX(n, e) }], Xq = [{ key: "SheetXL", mimeType: "application/vnd.sheetxl.sheet", description: "SheetXL", ext: "sxl", isDefault: !0, handler: async (n, e) => (await import("./BVjzMl2EkoD1ceqn.mjs")).toBufferJSON(n, e) }, { key: "CSV", mimeType: "text/csv", description: "Comma Delimited", ext: "csv", handler: async (n, e) => (await import("./BeMVD9uqSXo5o9U7.mjs")).toBufferCSV(n, e) }, { key: "Excel", mimeType: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", description: "Excel Workbook", ext: "xlsx", tags: ["SheetJS Pro"], handler: async (n, e) => (await import("./CJigh9OXZ04sdTLc.mjs").then((t) => t.i)).toBufferXLSX(n, e) }];
42063
42064
  class QR {
42064
42065
  constructor(e = Kq, t = Xq) {
42065
42066
  this._readFormatTypes = [], this._writeFormatType = [], this._readFormatTypes = Object.freeze([...e]), this._writeFormatType = Object.freeze([...t]);
@@ -42455,7 +42456,7 @@ const qx = /^(con|prn|aux|nul|com\d|lpt\d)$/i, Kx = /[<>:"/\\|?*\u0000-\u001F]/g
42455
42456
  a.keyCode !== Sn.Enter && a.keyCode !== Sn.Space || r(t);
42456
42457
  }, ...s, children: Q(Fe, { sx: { display: "flex", flex: "1 1 100%", flexDirection: "column", overflow: "hidden" }, children: [S(qn, { component: "div", children: t.metadata?.title ?? t.path }), S(qn, { variant: "caption", component: "div", sx: { color: (a) => Ut(a.palette.text.secondary ?? a.palette.text.primary, 0.6), overflow: "hidden", textOverflow: "ellipsis" }, children: t.metadata?.summary })] }) });
42457
42458
  }), tK = Be(Ye((n, e) => {
42458
- const { commands: t, commandHook: o, scope: r, disabled: i = !1, scriptPath: s = JR, ...l } = n, [a, c] = de([]), [d, u] = de(!0), h = qo(t, ["executeSelectedScript"]), p = h[0]?.context?.();
42459
+ const { commands: t, commandHook: o, scope: r, disabled: i = !1, scriptPath: s = JR, ...l } = n, [a, c] = de([]), [d, u] = de(!0), h = Ko(t, ["executeSelectedScript"]), p = h[0]?.context?.();
42459
42460
  Re(() => {
42460
42461
  (async () => {
42461
42462
  try {
@@ -42506,14 +42507,14 @@ const h5 = { fontSize: "1rem" }, nI = Be(Ye((n, e) => {
42506
42507
  u(w), p(!1);
42507
42508
  }
42508
42509
  })();
42509
- }, [t]), h) return S(Fe, { display: "flex", justifyContent: "center", alignItems: "center", height: "100%", className: Go(i, "script-select"), sx: { background: (w) => w.palette.background.paper, zIndex: 1e3, backgroundImage: `linear-gradient(${Ut("#fff", no(5))}, ${Ut("#fff", no(5))})`, ...r }, ...c, children: S(FI, {}) });
42510
+ }, [t]), h) return S(Fe, { display: "flex", justifyContent: "center", alignItems: "center", height: "100%", className: qo(i, "script-select"), sx: { background: (w) => w.palette.background.paper, zIndex: 1e3, backgroundImage: `linear-gradient(${Ut("#fff", no(5))}, ${Ut("#fff", no(5))})`, ...r }, ...c, children: S(FI, {}) });
42510
42511
  let f = null;
42511
- g && (f = Q(Fe, { display: "flex", justifyContent: "center", alignItems: "center", className: Go(i, "script-select", "error-results"), sx: { background: (w) => w.palette.error.light, flex: "0", zIndex: 1e3, flexDirection: "column", padding: (w) => w.spacing(1), border: (w) => `1px solid ${w.palette.error.main}`, borderBottomLeftRadius: 1, borderBottomRightRadius: 1, backgroundImage: `linear-gradient(${Ut("#fff", no(5))}, ${Ut("#fff", no(5))})` }, ...c, children: [S(qn, { color: "error", variant: "h6", component: "div", gutterBottom: !0, children: "Error loading Templates" }), S(qn, { color: "error", component: "div", children: g })] }));
42512
+ g && (f = Q(Fe, { display: "flex", justifyContent: "center", alignItems: "center", className: qo(i, "script-select", "error-results"), sx: { background: (w) => w.palette.error.light, flex: "0", zIndex: 1e3, flexDirection: "column", padding: (w) => w.spacing(1), border: (w) => `1px solid ${w.palette.error.main}`, borderBottomLeftRadius: 1, borderBottomRightRadius: 1, backgroundImage: `linear-gradient(${Ut("#fff", no(5))}, ${Ut("#fff", no(5))})` }, ...c, children: [S(qn, { color: "error", variant: "h6", component: "div", gutterBottom: !0, children: "Error loading Templates" }), S(qn, { color: "error", component: "div", children: g })] }));
42512
42513
  const y = (w) => {
42513
42514
  const b = w.metadata?.icon;
42514
42515
  return b === "macro" ? S(l6, { sx: h5 }) : b === "formula" ? S(QT, { sx: h5 }) : b === "autostart" ? S(l_, { sx: h5 }) : null;
42515
42516
  };
42516
- return Q(Fe, { ref: e, className: Go(i, "script-select"), sx: { background: (w) => w.palette.background.paper, zIndex: 1e3, backgroundImage: `linear-gradient(${Ut("#fff", no(5))}, ${Ut("#fff", no(5))})`, ...r }, ...c, children: [Q(Fe, { p: 3, className: "script-select-content", sx: { overflow: "auto", flex: "1 1 auto" }, children: [S(qn, { variant: "h6", gutterBottom: !0, children: "Script Template" }), S(qn, { variant: "body2", component: "div", color: "text.secondary", gutterBottom: !0, children: "Choose from a template to provide a starting point to automate tasks or create user defined functions." }), S(qn, { variant: "body2", component: "div", color: "text.secondary", gutterBottom: !0, children: "Templates provide a foundation to customize and meet your specific needs." }), S(Fe, { sx: { display: "grid", gridTemplateColumns: `repeat(auto-fill, minmax(${s}px, 1fr))`, gap: `${a}px`, padding: 2, paddingLeft: "0px", paddingRight: "0px" }, children: d.map((w, b) => Q(V1, { variant: "outlined", sx: { minWidth: s, minHeight: l, display: "flex", flexDirection: "column", justifyContent: "flex-start", alignItems: "flex-start", textAlign: "left", padding: 2, textTransform: "none", overflow: "hidden", ...b === 0 && { borderStyle: "dashed", marginBottom: "8px" }, ...b === 1 && { gridColumn: "1" } }, onClick: () => o?.(w), children: [Q(Fe, { sx: { display: "flex", flexDirection: "row", justifyContent: "space-between", alignItems: "center", width: "100%", marginBottom: 0.5 }, children: [S(qn, { variant: "subtitle2", component: "div", children: w.metadata?.title || w.path.split("/").pop()?.replace(/\.\w+$/, "") || "Untitled" }), y(w)] }), w.metadata?.summary && S(qn, { variant: "body2", component: "div", color: "text.secondary", sx: { overflow: "hidden", display: "flex", flexDirection: "column", textOverflow: "ellipsis", alignItems: "flex-start" }, children: w.metadata.summary })] }, `${w.path}-${b}`)) })] }), f] });
42517
+ return Q(Fe, { ref: e, className: qo(i, "script-select"), sx: { background: (w) => w.palette.background.paper, zIndex: 1e3, backgroundImage: `linear-gradient(${Ut("#fff", no(5))}, ${Ut("#fff", no(5))})`, ...r }, ...c, children: [Q(Fe, { p: 3, className: "script-select-content", sx: { overflow: "auto", flex: "1 1 auto" }, children: [S(qn, { variant: "h6", gutterBottom: !0, children: "Script Template" }), S(qn, { variant: "body2", component: "div", color: "text.secondary", gutterBottom: !0, children: "Choose from a template to provide a starting point to automate tasks or create user defined functions." }), S(qn, { variant: "body2", component: "div", color: "text.secondary", gutterBottom: !0, children: "Templates provide a foundation to customize and meet your specific needs." }), S(Fe, { sx: { display: "grid", gridTemplateColumns: `repeat(auto-fill, minmax(${s}px, 1fr))`, gap: `${a}px`, padding: 2, paddingLeft: "0px", paddingRight: "0px" }, children: d.map((w, b) => Q(V1, { variant: "outlined", sx: { minWidth: s, minHeight: l, display: "flex", flexDirection: "column", justifyContent: "flex-start", alignItems: "flex-start", textAlign: "left", padding: 2, textTransform: "none", overflow: "hidden", ...b === 0 && { borderStyle: "dashed", marginBottom: "8px" }, ...b === 1 && { gridColumn: "1" } }, onClick: () => o?.(w), children: [Q(Fe, { sx: { display: "flex", flexDirection: "row", justifyContent: "space-between", alignItems: "center", width: "100%", marginBottom: 0.5 }, children: [S(qn, { variant: "subtitle2", component: "div", children: w.metadata?.title || w.path.split("/").pop()?.replace(/\.\w+$/, "") || "Untitled" }), y(w)] }), w.metadata?.summary && S(qn, { variant: "body2", component: "div", color: "text.secondary", sx: { overflow: "hidden", display: "flex", flexDirection: "column", textOverflow: "ellipsis", alignItems: "flex-start" }, children: w.metadata.summary })] }, `${w.path}-${b}`)) })] }), f] });
42517
42518
  }));
42518
42519
  nI.displayName = "TemplateSelectPanel";
42519
42520
  const oI = Be(Ye((n, e) => {
@@ -42538,7 +42539,7 @@ const oI = Be(Ye((n, e) => {
42538
42539
  if (z && z.length > 0) return z[0]?.focus?.(D), !0;
42539
42540
  }
42540
42541
  return _.current?.focus?.(D), !1;
42541
- }, [E, a, c]), C = ee(() => S(Fu, { transitionDelay: "160ms", style: { position: "absolute", width: "100%", height: "100%" }, transparentBackground: !1 }), []), T = ee(() => S(Zs, { elevation: 1, tabIndex: 0, sx: { display: "flex", alignItems: "center", userSelect: "none", flexGrow: 1, backgroundImage: `linear-gradient(${Ut("#fff", no(5))}, ${Ut("#fff", no(5))})`, marginLeft: (D) => D.spacing(0.5), marginRight: (D) => D.spacing(0.5), marginTop: (D) => D.spacing(1), marginBottom: (D) => D.spacing(1) }, children: S(tI, { commands: i }) }), [h, i]), I = ee(() => S(Fe, { className: Go("script-status-panel", "status-panel"), sx: { display: "flex", alignItems: "stretch", flexDirection: "row", flex: "0", paddingLeft: "12px", paddingRight: "12px", gap: "8px", paddingTop: "1px", minHeight: "calc(1em + 8px)", margin: 0, borderTop: `solid 1px ${h.palette.divider}` }, children: Q("div", { style: { flex: "1 1 100%", display: "flex", alignItems: "center", flexDirection: "row", justifyContent: "center" }, children: [S(qn, { component: "div", sx: { userSelect: "none", whiteSpace: "pre", overflow: "hidden", textOverflow: "ellipsis", flex: "1 1 100%", color: (D) => D.palette.text.secondary }, variant: "caption", children: f.message }), S(qn, { component: "div", sx: { userSelect: "none", whiteSpace: "pre", overflow: "hidden", textOverflow: "ellipsis", flex: "none", color: (D) => D.palette.text.secondary }, variant: "caption", children: f.dirty ? "Unsaved" : "" }), S(qn, { component: "div", sx: { userSelect: "none", whiteSpace: "pre", overflow: "hidden", textOverflow: "ellipsis", flex: "none", marginLeft: "8px", minWidth: "90px", display: "flex", justifyContent: "end", color: (D) => D.palette.text.secondary }, variant: "caption", children: f.cursor })] }) }), [f]), A = ee(() => Q(Fe, { className: Go("script-editor-content"), sx: { display: "flex", flex: "1 1 100%", width: "100%", flexDirection: "column", boxSizing: "border-box" }, children: [T, S(Fe, { sx: { display: "flex", flex: "1 1 100%", width: "100%", flexDirection: "row", position: "relative", boxSizing: "border-box" }, children: S(nq, { ref: _, loadingPanel: C, readOnly: s, onClose: l, autoFocus: c, commands: i, onStatusChange: v, darkMode: h.palette.mode === "dark", ...r }) }), I] }), [h, i, T, I, p, C, s, r, c, a, l, v]), O = ee(() => S(o_, { className: Go({ "Mui-selected": m.current }), sx: { display: "flex", color: (D) => D.palette.text.secondary, boxSizing: "border-box", padding: "0 0", transitionProperty: "opacity", transitionDuration: (D) => `${D.transitions.duration.shortest}ms`, opacity: 0.7, "&.Mui-selected": { opacity: 1, transitionDuration: (D) => D.transitions.duration.shortest / 2 + "ms" }, backgroundColor: (D) => Ut(D.palette.action.hover, 0.03), borderBottom: (D) => `solid ${Ut(D.palette.divider, 0.2)} 1px` }, onPointerDown: (D) => {
42542
+ }, [E, a, c]), C = ee(() => S(Fu, { transitionDelay: "160ms", style: { position: "absolute", width: "100%", height: "100%" }, transparentBackground: !1 }), []), T = ee(() => S(Zs, { elevation: 1, tabIndex: 0, sx: { display: "flex", alignItems: "center", userSelect: "none", flexGrow: 1, backgroundImage: `linear-gradient(${Ut("#fff", no(5))}, ${Ut("#fff", no(5))})`, marginLeft: (D) => D.spacing(0.5), marginRight: (D) => D.spacing(0.5), marginTop: (D) => D.spacing(1), marginBottom: (D) => D.spacing(1) }, children: S(tI, { commands: i }) }), [h, i]), I = ee(() => S(Fe, { className: qo("script-status-panel", "status-panel"), sx: { display: "flex", alignItems: "stretch", flexDirection: "row", flex: "0", paddingLeft: "12px", paddingRight: "12px", gap: "8px", paddingTop: "1px", minHeight: "calc(1em + 8px)", margin: 0, borderTop: `solid 1px ${h.palette.divider}` }, children: Q("div", { style: { flex: "1 1 100%", display: "flex", alignItems: "center", flexDirection: "row", justifyContent: "center" }, children: [S(qn, { component: "div", sx: { userSelect: "none", whiteSpace: "pre", overflow: "hidden", textOverflow: "ellipsis", flex: "1 1 100%", color: (D) => D.palette.text.secondary }, variant: "caption", children: f.message }), S(qn, { component: "div", sx: { userSelect: "none", whiteSpace: "pre", overflow: "hidden", textOverflow: "ellipsis", flex: "none", color: (D) => D.palette.text.secondary }, variant: "caption", children: f.dirty ? "Unsaved" : "" }), S(qn, { component: "div", sx: { userSelect: "none", whiteSpace: "pre", overflow: "hidden", textOverflow: "ellipsis", flex: "none", marginLeft: "8px", minWidth: "90px", display: "flex", justifyContent: "end", color: (D) => D.palette.text.secondary }, variant: "caption", children: f.cursor })] }) }), [f]), A = ee(() => Q(Fe, { className: qo("script-editor-content"), sx: { display: "flex", flex: "1 1 100%", width: "100%", flexDirection: "column", boxSizing: "border-box" }, children: [T, S(Fe, { sx: { display: "flex", flex: "1 1 100%", width: "100%", flexDirection: "row", position: "relative", boxSizing: "border-box" }, children: S(nq, { ref: _, loadingPanel: C, readOnly: s, onClose: l, autoFocus: c, commands: i, onStatusChange: v, darkMode: h.palette.mode === "dark", ...r }) }), I] }), [h, i, T, I, p, C, s, r, c, a, l, v]), O = ee(() => S(o_, { className: qo({ "Mui-selected": m.current }), sx: { display: "flex", color: (D) => D.palette.text.secondary, boxSizing: "border-box", padding: "0 0", transitionProperty: "opacity", transitionDuration: (D) => `${D.transitions.duration.shortest}ms`, opacity: 0.7, "&.Mui-selected": { opacity: 1, transitionDuration: (D) => D.transitions.duration.shortest / 2 + "ms" }, backgroundColor: (D) => Ut(D.palette.action.hover, 0.03), borderBottom: (D) => `solid ${Ut(D.palette.divider, 0.2)} 1px` }, onPointerDown: (D) => {
42542
42543
  D.isDefaultPrevented() || (D.preventDefault(), k());
42543
42544
  }, children: Q(Fe, { sx: { display: "flex", flex: "1 1 10%", flexDirection: "row", alignItems: "center", marginTop: (D) => D.spacing(0.25), marginBottom: (D) => D.spacing(0.25), marginLeft: (D) => D.spacing(1), marginRight: (D) => D.spacing(1) }, children: [S(Fe, { sx: { flex: "1 1 100%", paddingLeft: (D) => D.spacing(1) }, children: "Script (Typescript)" }), S(ii, { label: "Close", children: S(yi, { "aria-label": "close", sx: { color: (D) => D.palette.text.icon ?? D.palette.action.active }, touchRippleRef: x, onPointerDown: (D) => {
42544
42545
  x.current?.start(D, { center: !1 }), D.stopPropagation(), D.preventDefault();
@@ -42548,7 +42549,7 @@ const oI = Be(Ye((n, e) => {
42548
42549
  let D;
42549
42550
  return w === null ? null : (w.source === null && (D = S(nI, { sx: { display: "flex", flex: "1 1 100%", flexDirection: "column", overflow: "hidden", position: "absolute", boxSizing: "border-box", width: "100%", height: "100%" }, onScriptSelect: (z) => {
42550
42551
  _.current?.getEditor().insertSnippet(z.content), b({ source: z.content ?? "" });
42551
- } })), Q(Fe, { tabIndex: 0, className: Go("script-workspace", t), sx: { display: "flex", flex: "1 1 100%", flexDirection: "column", overflow: "hidden", alignItems: "stretch", userSelect: "none", flexGrow: 0, outline: "none", backgroundImage: `linear-gradient(${Ut("#fff", no(5))}, ${Ut("#fff", no(5))})` }, onPointerDown: (z) => {
42552
+ } })), Q(Fe, { tabIndex: 0, className: qo("script-workspace", t), sx: { display: "flex", flex: "1 1 100%", flexDirection: "column", overflow: "hidden", alignItems: "stretch", userSelect: "none", flexGrow: 0, outline: "none", backgroundImage: `linear-gradient(${Ut("#fff", no(5))}, ${Ut("#fff", no(5))})` }, onPointerDown: (z) => {
42552
42553
  z.isDefaultPrevented() || _.current?.focus();
42553
42554
  }, children: [O, Q(Fe, { sx: { flex: "1 1 100%", position: "relative", display: "flex" }, children: [A, D] })] }));
42554
42555
  }, [T, A, t, w]), N = kr(e, () => ({ isScriptWorkspaceElement: () => !0, focus: (D) => {
@@ -42562,8 +42563,8 @@ const oI = Be(Ye((n, e) => {
42562
42563
  }));
42563
42564
  oI.displayName = "ScriptWorkspace";
42564
42565
  const rI = Be(Ye((n, e) => {
42565
- const { commands: t, commandHook: o, scope: r, disabled: i = !1, ...s } = n, l = qo(t, ["executeScript"])[0].context();
42566
- qo(t, ["showScriptEditor"]);
42566
+ const { commands: t, commandHook: o, scope: r, disabled: i = !1, ...s } = n, l = Ko(t, ["executeScript"])[0].context();
42567
+ Ko(t, ["showScriptEditor"]);
42567
42568
  const a = ce((c, d) => {
42568
42569
  const u = { variant: pn.Menuitem, commandHook: o, scope: "scripts", disabled: i, shortcut: null }, h = l?.getScripts(), p = h?.searchFunction({ type: "macro" }), g = [];
42569
42570
  if (p) for (let f = 0; f < p.length; f++) {
@@ -42575,7 +42576,7 @@ const rI = Be(Ye((n, e) => {
42575
42576
  }, [i, l, o, r]);
42576
42577
  return S(go, { ref: e, commands: t, commandHook: o, createPopupPanel: a, selected: t.getCommand("showScriptEditor").state(), label: "Macros", tooltip: "Run or manage macros.", quickCommand: "showScriptEditor", icon: Le(S(HV, {})), ...s });
42577
42578
  })), nK = Be(Ye((n, e) => {
42578
- const { commands: t, parentFloat: o, commandButtonProps: r, ...i } = n, s = qo(t, ["executeScript", "showScriptEditor"]), l = s[0]?.context?.(), a = ce((c) => {
42579
+ const { commands: t, parentFloat: o, commandButtonProps: r, ...i } = n, s = Ko(t, ["executeScript", "showScriptEditor"]), l = s[0]?.context?.(), a = ce((c) => {
42579
42580
  const { commandButtonProps: d, commandPopupProps: u } = c, h = S(wu, { ...u, command: t.getCommand("formatFontColor"), icon: S(VP, {}), isSplit: !0, panelProps: { disableAlpha: !0 } }), p = S(wu, { ...u, command: t.getCommand("formatFillColor"), icon: S(BP, {}), isSplit: !0, panelProps: { disableAlpha: !0, autoColorLabel: "No Fill", autoColorPosition: B1.End } }), g = t.getCommand("undo") ? S(zt, { children: S(TR, { ...u, quickCommand: "undo" }) }) : null, m = t.getCommand("find") ? S(zt, { children: S(fq, { ...u }) }) : null;
42580
42581
  let f = null;
42581
42582
  const y = l?.getScripts();
@@ -42687,7 +42688,7 @@ const rI = Be(Ye((n, e) => {
42687
42688
  }, [p, h, t, v]), pe = ee(() => l || !C?.isStructureAllowed() ? null : S(Wi, { disableInteractive: !0, title: "New sheet", children: S(yi, { disabled: s, component: "div", sx: { padding: "0", "&:hover:not([disabled])": { color: (ue) => ue.palette.primary.main }, color: (ue) => ue.palette.text.icon ?? ue.palette.action.active, "& svg": { width: "18px", height: "18px" } }, "aria-label": "addTab", size: "small", onMouseDown: (ue) => {
42688
42689
  ue.button === 0 && ue.preventDefault();
42689
42690
  }, onClick: () => N(), children: S(JI, {}) }) }), [l, s, C, N]);
42690
- return Q(Fe, { ref: e, className: Go(m), sx: { position: "relative", display: "flex", alignItems: "stretch", flex: "1 1 100%", maxWidth: "100%", ...y }, ..._, children: [S(SR, { ref: P, selectedTabIndex: E, tabNames: I, onSelectedTabIndexChange: A, onTabNameChange: O, onTabMove: L, background: g, borderColor: b, borderWidth: w, activeColor: null, disabled: s, disableDrag: l || !C.isStructureAllowed(), createScrollStartButton: UV, createScrollEndButton: GV, createScrollEdgeButton: WV, createTabButton: J, createTabDivider: (ue) => {
42691
+ return Q(Fe, { ref: e, className: qo(m), sx: { position: "relative", display: "flex", alignItems: "stretch", flex: "1 1 100%", maxWidth: "100%", ...y }, ..._, children: [S(SR, { ref: P, selectedTabIndex: E, tabNames: I, onSelectedTabIndexChange: A, onTabNameChange: O, onTabMove: L, background: g, borderColor: b, borderWidth: w, activeColor: null, disabled: s, disableDrag: l || !C.isStructureAllowed(), createScrollStartButton: UV, createScrollEndButton: GV, createScrollEdgeButton: WV, createTabButton: J, createTabDivider: (ue) => {
42691
42692
  const { key: Y, ...ie } = ue;
42692
42693
  return S(en, { sx: { marginLeft: "-1px", marginRight: "0px", marginTop: "6px", marginBottom: "6px", background: (ye) => Ut(ye.palette.divider, 0.25) }, ...ie }, Y);
42693
42694
  }, editLabelProps: { maxLength: 31, styleHover: { fontWeight: "700" }, onKeyPress: (ue) => {
@@ -42707,7 +42708,7 @@ const sI = Be(Ye((n, e) => {
42707
42708
  h(t.getSelectedSheet());
42708
42709
  } }), vn(u.getSelection(), { onChange() {
42709
42710
  g(u.getSelectedRanges()), f(u.getSelectedCell());
42710
- } }), qo(o, [], { onChange: () => {
42711
+ } }), Ko(o, [], { onChange: () => {
42711
42712
  d();
42712
42713
  } });
42713
42714
  const y = ee(() => ({}), []), w = ee(() => ({ commandHook: { beforeExecute: (T, I) => s.closeAll(), onExecute() {
@@ -42731,7 +42732,7 @@ const sI = Be(Ye((n, e) => {
42731
42732
  k ? R.push(yo(Xs, { ...v, variant: pn.Menuitem, key: "contextBefore:" + R.length, popupCommandKeys: ["convertTableToRange", "deleteTable"], popupScope: "table", scope: "context", commandState: k, quickCommand: "editTable", icon: (T) => (T.key(), Le(S(O2, {}))) })) : R.push(yo(qe, { command: o.getCommand("insertTable"), ...b, icon: Le(S(O2, {})), key: "context:" + x.length })), R.push(yo(AR, { ...v, key: "contextBefore:" + R.length }));
42732
42733
  }
42733
42734
  const C = Q(zt, { children: [S(qe, { command: o.getCommand("cut"), ...b, icon: S(QP, {}) }), S(F6, { command: o.getCommand("copy"), ...b }), S(MR, { command: o.getCommand("paste"), ...v, includePasteAllInPopup: !1 }), S(en, { orientation: "horizontal" }), S(ER, { ...v }), S(en, { orientation: "horizontal" }), S(_R, { commands: o, ...v, disableSheet: !0 }), S(CR, { commands: o, ...v, disableSheet: !0 }), S(xR, { ...v }), R, x] });
42734
- return S(Fe, { ref: e, className: Go("menu", l), sx: { ...i }, ...a, children: C });
42735
+ return S(Fe, { ref: e, className: qo("menu", l), sx: { ...i }, ...a, children: C });
42735
42736
  }));
42736
42737
  var Zx, Yx;
42737
42738
  sI.displayName = "WorkbookContextMenu", function() {
@@ -43202,7 +43203,7 @@ Names can be used as a substitute for cell references.`, shortcut: { key: "F3",
43202
43203
  return S(Fe, { ref: e, sx: { paddingTop: "4px", paddingBottom: "4px", ...i }, ...l, children: p });
43203
43204
  }));
43204
43205
  lI.displayName = "MovableContextMenu";
43205
- const fK = "_sheetxl-theme_1yhqm_3", yK = "_sheetxl-workbook_ys7wp_9", wK = { fireOnModelChange: !1 }, g5 = { flex: "1 1 100%", display: "flex" }, SK = (n) => S(FR, { ...n }), bK = (n) => S(iI, { ...n }), vK = (n) => S(lI, { ...n }), xK = (n) => S(sI, { ...n }), _K = (n) => S(jR, { ...n }), CK = (n, e) => S($R, { ref: e, ...n }), EK = (n) => S(Fu, { ...n }), TK = (n, e) => S(jM, { ref: e, ...n }), kK = Be(Ye((n, e) => {
43206
+ const fK = "_sheetxl-theme_4opcr_2", yK = "_sheetxl-workbook_1j3lu_5", wK = { fireOnModelChange: !1 }, g5 = { flex: "1 1 100%", display: "flex" }, SK = (n) => S(FR, { ...n }), bK = (n) => S(iI, { ...n }), vK = (n) => S(lI, { ...n }), xK = (n) => S(sI, { ...n }), _K = (n) => S(jR, { ...n }), CK = (n, e) => S($R, { ref: e, ...n }), EK = (n) => S(Fu, { ...n }), TK = (n, e) => S(jM, { ref: e, ...n }), kK = Be(Ye((n, e) => {
43206
43207
  const { workbook: t, createWorkbookOptions: o, onNewWorkbook: r, onElementLoad: i, notifier: s, autoFocus: l = !1, sx: a, style: c, className: d, onFocus: u, onBlur: h, onKeyDown: p, onRepeatCommandChange: g, commands: m, showFormulaBar: f, formulaBarProps: y, renderFormulaBar: w = CK, showTabs: b, tabsProps: v, renderTabs: x = bK, showStatusBar: _, statusBarProps: E, renderStatusBar: R = SK, toolbarProps: M, renderToolbar: k = iK, contextMenuSx: C, renderContextMenu: T = xK, renderFilterMenu: I = _K, renderMovableMenu: A = vK, renderLoadingPanel: O = EK, loadingPanelProps: L, sheetProps: N, renderSheet: D = TK, showHorizontalScrollbar: z, showVerticalScrollbar: B, gridTheme: F, headersTheme: $, forceLightImages: j, ...W } = n, P = Js(), H = bR(), V = ee(() => {
43207
43208
  const Ve = { theme: H.getDefaultTheme(), ...o };
43208
43209
  return t ?? new vL(Ve);
@@ -43244,7 +43245,7 @@ const fK = "_sheetxl-theme_1yhqm_3", yK = "_sheetxl-workbook_ys7wp_9", wK = { fi
43244
43245
  Ae(!1), We(null);
43245
43246
  }, ft = (Ve, Pt, Xt = mf) => {
43246
43247
  kt(Ve), St(Xt), We(Pt), ve.current !== null && ve.current.update(), Ae(!0);
43247
- }, [Ct, Gt] = de("sheet"), Ot = b ?? $e?.isShowTabs(), gn = z ?? $e?.isShowHorizontalScrollbar(), an = f ?? $e?.isShowFormulaBar(), mn = _ ?? $e?.isShowStatusBar(), Rn = B ?? $e?.isShowVerticalScrollbar(), Hn = Qe?.header?.edgeStrokeFill || "rgb(171,171,171)", lo = ee(() => mn ? R({ sheet: Ze, gridStyle: Qe, ...E }) : null, [R, E, mn, Qe, Ze]), Oo = ee(() => k({ commands: ke, workbook: te.current, ...M }), [ke, k, M, P]), [Po, { width: Jn }] = og(), Dt = Jn === 0 || Jn > 560, xn = ee(() => {
43248
+ }, [Ct, Gt] = de("sheet"), Ot = b ?? $e?.isShowTabs(), gn = z ?? $e?.isShowHorizontalScrollbar(), an = f ?? $e?.isShowFormulaBar(), mn = _ ?? $e?.isShowStatusBar(), Rn = B ?? $e?.isShowVerticalScrollbar(), Hn = Qe?.header?.edgeStrokeFill || "rgb(171,171,171)", lo = ee(() => mn ? R({ sheet: Ze, gridStyle: Qe, ...E }) : null, [R, E, mn, Qe, Ze]), Oo = ee(() => k({ commands: ke, workbook: te.current, ...M }), [ke, k, M, P]), [Bo, { width: Jn }] = og(), Dt = Jn === 0 || Jn > 560, xn = ee(() => {
43248
43249
  if (!Ot) return null;
43249
43250
  let Ve = x({ background: Qe.body.fill, borderWidth: 1, borderColor: Hn, gridTheme: it, gridStyle: Qe, onBeforeUserChange: fe, onUserChange: je, workbook: V, commands: ke, sheetTabProps: {}, notifier: s, ...v });
43250
43251
  return Dt || (Ve = S("div", { style: { flex: "none", display: "flex" }, children: Ve })), Ve;
@@ -43262,9 +43263,9 @@ const fK = "_sheetxl-theme_1yhqm_3", yK = "_sheetxl-workbook_ys7wp_9", wK = { fi
43262
43263
  Xt = Tn;
43263
43264
  }
43264
43265
  return S(Fe, { sx: { display: "flex", flex: "1", position: "relative", alignContent: "center" }, children: Xt });
43265
- }, [Ze, fe, V, Qe, it, ke, Ot, gn, mn, Dt]), [Kn, Yn] = rt.useState(null), kn = ee(() => ({ placement: "right-start", ...Kn?.popperProps }), [Kn?.popperProps]), { reference: Bo, component: _r } = El({ label: "contextMenu", popperProps: kn, anchor: Kn?.anchor ?? { getBoundingClientRect: () => new DOMRect(Kn?.clientX || 0, Kn?.clientY || 0) }, onClose: () => Yn(null), createPopupPanel: Kn?.createPopupPanel });
43266
+ }, [Ze, fe, V, Qe, it, ke, Ot, gn, mn, Dt]), [Kn, Yn] = rt.useState(null), kn = ee(() => ({ placement: "right-start", ...Kn?.popperProps }), [Kn?.popperProps]), { reference: Vo, component: _r } = El({ label: "contextMenu", popperProps: kn, anchor: Kn?.anchor ?? { getBoundingClientRect: () => new DOMRect(Kn?.clientX || 0, Kn?.clientY || 0) }, onClose: () => Yn(null), createPopupPanel: Kn?.createPopupPanel });
43266
43267
  Re(() => {
43267
- Kn ? Bo.open(0) : Bo.close(0);
43268
+ Kn ? Vo.open(0) : Vo.close(0);
43268
43269
  }, [Kn]);
43269
43270
  const Ur = Te((Ve, Pt) => {
43270
43271
  if (Ve?.isDefaultPrevented()) return !0;
@@ -43370,9 +43371,9 @@ const fK = "_sheetxl-theme_1yhqm_3", yK = "_sheetxl-workbook_ys7wp_9", wK = { fi
43370
43371
  let Pt = Ve;
43371
43372
  Dt || (Pt = Q(zt, { children: [Ve, xn] }));
43372
43373
  let Xt = null, Ln = 4, Tn = 13;
43373
- return Dt ? Xt = "m 3.6261898,11.36243 c 0,0.88365 -0.71627,1.59991 -1.59991,1.59991 -0.8836498,0 -1.60004965,-0.71626 -1.60004965,-1.59991 0,-0.88365 0.71639985,-1.6000508 1.60004965,-1.6000508 0.88364,0 1.59991,0.7164008 1.59991,1.6000508 m 0,-4.881294 c 0,0.88364 -0.71627,1.60004 -1.59991,1.60004 -0.8836498,0 -1.60004965,-0.7164 -1.60004965,-1.60004 0,-0.88365 0.71639985,-1.60005 1.60004965,-1.60005 0.88364,0 1.59991,0.7164 1.59991,1.60005 m 0,-4.881226 c 0,0.88365 -0.71627,1.60005 -1.59991,1.60005 C 1.14263,3.19996 0.42623015,2.48356 0.42623015,1.59991 0.42623015,0.71626 1.14263,0 2.0262798,0 c 0.88364,0 1.59991,0.71626 1.59991,1.59991" : (Xt = "M 1.59991,3.62619 C 0.71626,3.62619 0,2.90992 0,2.02628 0,1.1426301 0.71626,0.42623015 1.59991,0.42623015 c 0.88365,0 1.6000508,0.71639995 1.6000508,1.60004985 0,0.88364 -0.7164008,1.59991 -1.6000508,1.59991 m 4.881294,0 c -0.88364,0 -1.60004,-0.71627 -1.60004,-1.59991 0,-0.8836499 0.7164,-1.60004985 1.60004,-1.60004985 0.88365,0 1.60005,0.71639995 1.60005,1.60004985 0,0.88364 -0.7164,1.59991 -1.60005,1.59991 m 4.881226,0 c -0.88365,0 -1.60005,-0.71627 -1.60005,-1.59991 0,-0.8836499 0.7164,-1.60004985 1.60005,-1.60004985 0.88365,0 1.59991,0.71639995 1.59991,1.60004985 0,0.88364 -0.71626,1.59991 -1.59991,1.59991", Ln = 13, Tn = 4), S(g3, { fixedPane: "after", position: "40%", minAfter: Dt ? "280px" : "120px", splitDirection: Dt ? "row" : "column", style: g5, ref: Po, resizerProps: { className: "styled-resizer", style: { minWidth: Dt ? "6px" : void 0, minHeight: Dt ? void 0 : "6px", maskImage: `url("data:image/svg+xml,%3Csvg width='${Ln}' height='${Tn}' viewBox='0 0 ${Ln} ${Tn}' version='1.1' fill='${P.palette.text.icon ?? P.palette.action.active}' xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg'%3E%3Cpath d='${Xt}' /%3E%3C/svg%3E%0A")`, maskRepeat: "no-repeat", maskPosition: Dt ? "left center" : "top center" } }, elementBefore: Pt, paneBeforeProps: { style: { flexDirection: "column" } }, elementAfter: Mn, paneAfterProps: { style: { marginLeft: Dt ? "0px" : "4px", marginRight: Dt ? "8px" : "4px" } } });
43374
+ return Dt ? Xt = "m 3.6261898,11.36243 c 0,0.88365 -0.71627,1.59991 -1.59991,1.59991 -0.8836498,0 -1.60004965,-0.71626 -1.60004965,-1.59991 0,-0.88365 0.71639985,-1.6000508 1.60004965,-1.6000508 0.88364,0 1.59991,0.7164008 1.59991,1.6000508 m 0,-4.881294 c 0,0.88364 -0.71627,1.60004 -1.59991,1.60004 -0.8836498,0 -1.60004965,-0.7164 -1.60004965,-1.60004 0,-0.88365 0.71639985,-1.60005 1.60004965,-1.60005 0.88364,0 1.59991,0.7164 1.59991,1.60005 m 0,-4.881226 c 0,0.88365 -0.71627,1.60005 -1.59991,1.60005 C 1.14263,3.19996 0.42623015,2.48356 0.42623015,1.59991 0.42623015,0.71626 1.14263,0 2.0262798,0 c 0.88364,0 1.59991,0.71626 1.59991,1.59991" : (Xt = "M 1.59991,3.62619 C 0.71626,3.62619 0,2.90992 0,2.02628 0,1.1426301 0.71626,0.42623015 1.59991,0.42623015 c 0.88365,0 1.6000508,0.71639995 1.6000508,1.60004985 0,0.88364 -0.7164008,1.59991 -1.6000508,1.59991 m 4.881294,0 c -0.88364,0 -1.60004,-0.71627 -1.60004,-1.59991 0,-0.8836499 0.7164,-1.60004985 1.60004,-1.60004985 0.88365,0 1.60005,0.71639995 1.60005,1.60004985 0,0.88364 -0.7164,1.59991 -1.60005,1.59991 m 4.881226,0 c -0.88365,0 -1.60005,-0.71627 -1.60005,-1.59991 0,-0.8836499 0.7164,-1.60004985 1.60005,-1.60004985 0.88365,0 1.59991,0.71639995 1.59991,1.60004985 0,0.88364 -0.71626,1.59991 -1.59991,1.59991", Ln = 13, Tn = 4), S(g3, { fixedPane: "after", position: "40%", minAfter: Dt ? "280px" : "120px", splitDirection: Dt ? "row" : "column", style: g5, ref: Bo, resizerProps: { className: "styled-resizer", style: { minWidth: Dt ? "6px" : void 0, minHeight: Dt ? void 0 : "6px", maskImage: `url("data:image/svg+xml,%3Csvg width='${Ln}' height='${Tn}' viewBox='0 0 ${Ln} ${Tn}' version='1.1' fill='${P.palette.text.icon ?? P.palette.action.active}' xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg'%3E%3Cpath d='${Xt}' /%3E%3C/svg%3E%0A")`, maskRepeat: "no-repeat", maskPosition: Dt ? "left center" : "top center" } }, elementBefore: Pt, paneBeforeProps: { style: { flexDirection: "column" } }, elementAfter: Mn, paneAfterProps: { style: { marginLeft: Dt ? "0px" : "4px", marginRight: Dt ? "8px" : "4px" } } });
43374
43375
  }, [gn, Ot, Xn, Rn, be, Mn, Zt, xn, P, Dt]), Fn = ee(() => ({ boxSizing: "border-box", background: (Ve) => Ve.palette.mode !== "dark" ? Qe.header.fill : Ve.palette.background.paper, "& *": { ...d6(P), fontWeight: 400 }, "&.Mui-focusVisible": {}, "& .viewport-overlay": { borderRight: `solid ${Hn} 1px` }, ...a }), [a, Qe]);
43375
- return Q(Zs, { className: Go("sheetxl-workbook", yK, { "Mui-focusVisible": U }, fK, d), sx: Fn, style: c, square: !1, ...W, ref: te, onFocus: (Ve) => {
43376
+ return Q(Zs, { className: qo("sheetxl-workbook", yK, { "Mui-focusVisible": U }, fK, d), sx: Fn, style: c, square: !1, ...W, ref: te, onFocus: (Ve) => {
43376
43377
  ne(!0), Ui(), u?.(Ve);
43377
43378
  }, onBlur: (Ve) => {
43378
43379
  ne(!1), h?.(Ve);
@@ -43383,7 +43384,7 @@ const fK = "_sheetxl-theme_1yhqm_3", yK = "_sheetxl-workbook_ys7wp_9", wK = { fi
43383
43384
  const Pt = new Image();
43384
43385
  Pt.src = Ve.target.src, Ve.dataTransfer.setDragImage(Pt, 1, 1);
43385
43386
  }
43386
- }, onDragEnter: Mt, onDragLeave: Mt, onDragOver: Mt, onDrop: ht, children: [Q("div", { className: Go(IR), style: { flex: "1 1 100%", display: "flex", flexDirection: "column", opacity: Y ? void 0 : 0, "--sxl-app-color-high-contrast": P.palette.primary.main, "--sxl-app-color-primary": P.palette.primary.main, "--sxl-app-color-primary-dark": P.palette.primary.dark, "--sxl-app-color-primary-light": P.palette.primary.light, "--sxl-app-color-info": P.palette.info.main, "--sxl-app-color-info-dark": P.palette.info.dark, "--sxl-app-color-info-light": P.palette.info.light, "--sxl-app-color-secondary": P.palette.secondary.main, "--sxl-app-color-secondary-dark": P.palette.secondary.dark, "--sxl-app-color-secondary-light": P.palette.secondary.light, "--sxl-app-color-success": P.palette.success.main, "--sxl-app-color-success-dark": P.palette.success.dark, "--sxl-app-color-success-light": P.palette.success.light, "--sxl-app-color-warning": P.palette.warning.main, "--sxl-app-color-warning-dark": P.palette.warning.dark, "--sxl-app-color-warning-light": P.palette.warning.light, "--sxl-app-color-error": P.palette.error.main, "--sxl-app-color-error-dark": P.palette.error.dark, "--sxl-app-color-error-light": P.palette.error.light, "--sxl-app-color-text": P.palette.text.primary, "--sxl-app-color-text-secondary": P.palette.text.secondary, "--sxl-app-color-text-disabled": P.palette.text.disabled, "--sxl-app-color-background": P.palette.background.paper, "--sxl-app-color-button-surface": P.palette.grey[600], "--sxl-app-color-shadow": P.palette.action.focus, "--sxl-app-color-grey": P.palette.grey[500], "--sxl-app-filter-dark-invert": Qe.body.darkMode && !j ? "hue-rotate(180deg) invert(1) brightness(95%)" : "none", "--sxl-app-image-background": Qe.body.darkMode ? `linear-gradient(${Ut("#fff", no(5))}, ${Ut("#fff", no(5))})` : void 0 }, children: [Oo, an ? Wt : null, S(Fe, { sx: { marginBottom: (Ve) => Ve.spacing(0.75) } }), Zn, lo, S(Wi, { arrow: !0, disableInteractive: !0, open: se, title: S(qn, { variant: "subtitle2", component: "div", children: Ne }), placement: xt, TransitionProps: { timeout: { exit: 0 } }, PopperProps: { popperRef: ve, sx: { "& .MuiTooltip-tooltip": { padding: "2px 6px", "& .MuiTooltip-arrow": { display: se ? "visible" : "none" } } }, anchorEl: { getBoundingClientRect: () => new DOMRect(ot.x, ot.y, ot.width, ot.height) }, modifiers: [{ name: "offset", options: { offset: [0, 0] } }] }, children: S(Fe, {}) }), _r, At] }), Kt] });
43387
+ }, onDragEnter: Mt, onDragLeave: Mt, onDragOver: Mt, onDrop: ht, children: [Q("div", { className: qo(IR), style: { flex: "1 1 100%", display: "flex", flexDirection: "column", opacity: Y ? void 0 : 0, "--sxl-app-color-high-contrast": P.palette.primary.main, "--sxl-app-color-primary": P.palette.primary.main, "--sxl-app-color-primary-dark": P.palette.primary.dark, "--sxl-app-color-primary-light": P.palette.primary.light, "--sxl-app-color-info": P.palette.info.main, "--sxl-app-color-info-dark": P.palette.info.dark, "--sxl-app-color-info-light": P.palette.info.light, "--sxl-app-color-secondary": P.palette.secondary.main, "--sxl-app-color-secondary-dark": P.palette.secondary.dark, "--sxl-app-color-secondary-light": P.palette.secondary.light, "--sxl-app-color-success": P.palette.success.main, "--sxl-app-color-success-dark": P.palette.success.dark, "--sxl-app-color-success-light": P.palette.success.light, "--sxl-app-color-warning": P.palette.warning.main, "--sxl-app-color-warning-dark": P.palette.warning.dark, "--sxl-app-color-warning-light": P.palette.warning.light, "--sxl-app-color-error": P.palette.error.main, "--sxl-app-color-error-dark": P.palette.error.dark, "--sxl-app-color-error-light": P.palette.error.light, "--sxl-app-color-text": P.palette.text.primary, "--sxl-app-color-text-secondary": P.palette.text.secondary, "--sxl-app-color-text-disabled": P.palette.text.disabled, "--sxl-app-color-background": P.palette.background.paper, "--sxl-app-color-button-surface": P.palette.grey[600], "--sxl-app-color-shadow": P.palette.action.focus, "--sxl-app-color-grey": P.palette.grey[500], "--sxl-app-filter-dark-invert": Qe.body.darkMode && !j ? "hue-rotate(180deg) invert(1) brightness(95%)" : "none", "--sxl-app-image-background": Qe.body.darkMode ? `linear-gradient(${Ut("#fff", no(5))}, ${Ut("#fff", no(5))})` : void 0 }, children: [Oo, an ? Wt : null, S(Fe, { sx: { marginBottom: (Ve) => Ve.spacing(0.75) } }), Zn, lo, S(Wi, { arrow: !0, disableInteractive: !0, open: se, title: S(qn, { variant: "subtitle2", component: "div", children: Ne }), placement: xt, TransitionProps: { timeout: { exit: 0 } }, PopperProps: { popperRef: ve, sx: { "& .MuiTooltip-tooltip": { padding: "2px 6px", "& .MuiTooltip-arrow": { display: se ? "visible" : "none" } } }, anchorEl: { getBoundingClientRect: () => new DOMRect(ot.x, ot.y, ot.width, ot.height) }, modifiers: [{ name: "offset", options: { offset: [0, 0] } }] }, children: S(Fe, {}) }), _r, At] }), Kt] });
43387
43388
  }));
43388
43389
  kK.displayName = "WorkbookElement";
43389
43390
  const MK = (n = !1, e = !1) => e ? null : { "& input:not(:focus):not(:hover)": { color: (t) => t.palette.text.secondary }, backgroundColor: (t) => Ut(t.palette.background.paper, 0.6), borderRadius: (t) => `${t.shape.borderRadius}px`, border: (t) => `solid ${n ? t.palette.divider : "transparent"} 1px`, "&.Mui-disabled": { border: (t) => `solid ${n ? t.palette.divider : "transparent"} 1px` }, "&:focus-within:not([disabled])": { backgroundColor: (t) => t.palette.background.paper }, "&:hover:not([disabled])": { border: (t) => `solid ${n ? t.palette.text?.primary : t.palette.divider} 1px`, backgroundColor: null }, "&.Mui-focusVisible": { outline: (t) => `solid ${t.palette.primary.main} 1px !important`, border: (t) => `1px solid ${t.palette?.primary?.main} !important` } }, RK = Be(Ye((n, e) => {
@@ -43400,7 +43401,7 @@ const MK = (n = !1, e = !1) => e ? null : { "& input:not(:focus):not(:hover)": {
43400
43401
  }, 300)();
43401
43402
  }, [_, b]), Re(() => {
43402
43403
  p(g && !Ga.isValidWindowsFilename(g));
43403
- }, [g]), a ? null : S(Fe, { sx: { display: "flex", flexDirection: "column", justifyContent: "center", alignItems: "center", opacity: _ ? "0" : "1", transition: _ ? void 0 : "opacity .25s ease-in", "& .tooltip-wrapper": { maxWidth: "100%" } }, ref: z6([k, v, e]), ...c, children: S(ii, { label: M.current?.requestReason ?? "Workbook Name", children: Q(Fe, { className: Go({ "Mui-focusVisible": d }), sx: { visibility: b === 0 ? "hidden" : "visible", display: "block", maxWidth: "100%", overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap", paddingLeft: "12px", paddingRight: "12px", marginLeft: "2px", marginRight: "2px", paddingTop: "2px", paddingBottom: "1px", ...MK(!0, l), ...t }, children: [l ? S(qn, { variant: "subtitle1", component: "div", sx: { whiteSpace: "nowrap", fontStyle: g !== f ? "italic" : void 0, userSelect: "none", textOverflow: "ellipsis", lineHeight: "1.4375em", border: "transparent 1px solid", color: (C) => h ? C.palette.error.dark : void 0 }, children: r ?? i }) : S(ig, { sx: { width: `${Math.min(b + 3, Math.max(x, k.current?.getBoundingClientRect()?.width))}px`, overflow: "hidden", whiteSpace: "nowrap", fontWeight: "600", maxWidth: "100%", border: "none", padding: "0px", margin: "0px", color: (C) => h ? C.palette.error.dark : void 0, fontStyle: g !== f ? "italic" : void 0, "& input": { paddingTop: "0px", paddingBottom: "0px", textOverflow: "ellipsis" } }, disableUnderline: !0, fullWidth: !1, multiline: !1, readOnly: l, spellCheck: !1, placeholder: i, onFocus: (C) => {
43404
+ }, [g]), a ? null : S(Fe, { sx: { display: "flex", flexDirection: "column", justifyContent: "center", alignItems: "center", opacity: _ ? "0" : "1", transition: _ ? void 0 : "opacity .25s ease-in", "& .tooltip-wrapper": { maxWidth: "100%" } }, ref: z6([k, v, e]), ...c, children: S(ii, { label: M.current?.requestReason ?? "Workbook Name", children: Q(Fe, { className: qo({ "Mui-focusVisible": d }), sx: { visibility: b === 0 ? "hidden" : "visible", display: "block", maxWidth: "100%", overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap", paddingLeft: "12px", paddingRight: "12px", marginLeft: "2px", marginRight: "2px", paddingTop: "2px", paddingBottom: "1px", ...MK(!0, l), ...t }, children: [l ? S(qn, { variant: "subtitle1", component: "div", sx: { whiteSpace: "nowrap", fontStyle: g !== f ? "italic" : void 0, userSelect: "none", textOverflow: "ellipsis", lineHeight: "1.4375em", border: "transparent 1px solid", color: (C) => h ? C.palette.error.dark : void 0 }, children: r ?? i }) : S(ig, { sx: { width: `${Math.min(b + 3, Math.max(x, k.current?.getBoundingClientRect()?.width))}px`, overflow: "hidden", whiteSpace: "nowrap", fontWeight: "600", maxWidth: "100%", border: "none", padding: "0px", margin: "0px", color: (C) => h ? C.palette.error.dark : void 0, fontStyle: g !== f ? "italic" : void 0, "& input": { paddingTop: "0px", paddingBottom: "0px", textOverflow: "ellipsis" } }, disableUnderline: !0, fullWidth: !1, multiline: !1, readOnly: l, spellCheck: !1, placeholder: i, onFocus: (C) => {
43404
43405
  u(!0), C.target?.select();
43405
43406
  }, inputProps: { name: "input-workbook-title", autoComplete: "off", ref: R }, onBlur: () => {
43406
43407
  u(!1), h ? m(f) : (g !== f && (s?.(g), g && M.current?.onAccept?.(g, "blur")), M.current = null);
@@ -43414,7 +43415,7 @@ const MK = (n = !1, e = !1) => e ? null : { "& input:not(:focus):not(:hover)": {
43414
43415
  }, value: g }), S(Fe, { ref: w, sx: { position: "absolute", visibility: "hidden", top: "-9999px", fontWeight: "600 !important", whiteSpace: "pre", fontStyle: g !== f ? "italic" : void 0, fontFamily: (C) => C.typography.fontFamily, letterSpacing: "0.00938em" }, children: g || i })] }) }) });
43415
43416
  }));
43416
43417
  RK.displayName = "WorkbookTitle";
43417
- const IK = rt.lazy(() => import("./ByYn00uYUmHj9zvS.mjs").then((n) => n.E)), AK = Be(Ye((n, e) => {
43418
+ const IK = rt.lazy(() => import("./q1cTyqrb2yKNSDq5.mjs").then((n) => n.E)), AK = Be(Ye((n, e) => {
43418
43419
  const { sx: t, style: o, className: r, licenseKey: i, ...s } = n;
43419
43420
  return i && _u.setLicenseKey(i), S(zt, { children: S(IK, { ...s, className: r, sx: t, style: o, ref: e }) });
43420
43421
  }));
@@ -43630,7 +43631,7 @@ export {
43630
43631
  tI as c4,
43631
43632
  m1 as d,
43632
43633
  Wn as e,
43633
- Go as f,
43634
+ qo as f,
43634
43635
  uX as g,
43635
43636
  yC as h,
43636
43637
  qe as i,