@sheetxl/studio-vanilla 0.3.1 → 0.3.2

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 (179) hide show
  1. package/browser/cjs/{C8hd-STurhDiTimj.cjs → 8Y7hlPEOJeSakYCm.cjs} +1 -1
  2. package/browser/cjs/{DjrGUr-awhOmDtrE.cjs → B4SOP0NZdUa_5syD.cjs} +39 -39
  3. package/browser/cjs/{Dj5Aixw77uvtuMcZ.cjs → B5XBWUdLMqS2HDaF.cjs} +2 -2
  4. package/browser/cjs/{CabhMyhLi9hYK9FO.cjs → BDItG-Ctn9btjJYc.cjs} +1 -1
  5. package/browser/cjs/{D9PapZZefCMRgdbF.cjs → BHCPp9yjpWH3JG34.cjs} +2 -2
  6. package/browser/cjs/{B29HyGkvyTaqtIuC.cjs → BKGew2NYE-aa2w6y.cjs} +2 -2
  7. package/browser/cjs/{DOgxIZ6SD7AX7tN7.cjs → BMBMwGW_zSiAe-XN.cjs} +1 -1
  8. package/browser/cjs/{DK7XNv54M-Rj1fg6.cjs → BPbd8bf2gOPV7ZtV.cjs} +3 -3
  9. package/browser/cjs/{BRQNzdFmQ9PNvWfV.cjs → BZWVOs1oqYkcQagx.cjs} +2 -2
  10. package/browser/cjs/{YWP5pMacbGbLcEZn.cjs → B_HrZqG_mlwYR4Ae.cjs} +2 -2
  11. package/browser/cjs/{J_OG6N-DJrUW5gl6.cjs → Bb4zRbBuFZbbsMgv.cjs} +1 -1
  12. package/browser/cjs/{cwVi8FCIym0yZxmX.cjs → BcapKXhCmLNJmfsN.cjs} +1 -1
  13. package/browser/cjs/{Cl4uI7uL1nugyAcD.cjs → BivyzwRCqS37kNIh.cjs} +1 -1
  14. package/browser/cjs/{DSNepPmduhFJYvxi.cjs → Boig6aZA2-R5_w21.cjs} +1 -1
  15. package/browser/cjs/{Do0vp6vAs3RSV-Wj.cjs → Bwi2m9xG4JvXPBHQ.cjs} +2 -2
  16. package/browser/cjs/{BIhAYujRx9pHZ67U.cjs → Bx6ZuxKkOWgx7s9X.cjs} +2 -2
  17. package/browser/cjs/{CFfzGa0ejQ07wxHV.cjs → C4Far2itXrJ3DMOt.cjs} +1 -1
  18. package/browser/cjs/{CxEt88bduUlmhV5K.cjs → C6MqpTvQKwY2D1nN.cjs} +3 -3
  19. package/browser/cjs/{D-ca3kpTC3bPbYMY.cjs → CDh1V-eGnwm_zj2N.cjs} +1 -1
  20. package/browser/cjs/{B_9pnEZ3P5dxBLVz.cjs → CDt2itaEJHdgdMf7.cjs} +1 -1
  21. package/browser/cjs/{OhHbe4dM7GBzMzB9.cjs → CFRAYmx7O_QuuqLm.cjs} +1 -1
  22. package/browser/cjs/{Ciie7NCkasQUFTqv.cjs → CLT2qTd_lmEX24Wq.cjs} +1 -1
  23. package/browser/cjs/{B8iSa6r3JrD4vHjL.cjs → CU5XR4xQQYjuDqWh.cjs} +2 -2
  24. package/browser/cjs/{ClXPeqKnCdO5VQd1.cjs → CV3O2HrGgeVyZSTI.cjs} +2 -2
  25. package/browser/cjs/{DWrbdNR6TNLNKinN.cjs → CWuna-uBlfjsma3U.cjs} +3 -3
  26. package/browser/cjs/{CBJAarKn0X6M88pE.cjs → C_-gd03rNpCoIWh3.cjs} +1 -1
  27. package/browser/cjs/{qhNuYY2km30jEjYq.cjs → CgBaptNB5xDzVtxH.cjs} +2 -2
  28. package/browser/cjs/{DMJ4JoGWQ1NWhoNM.cjs → CiCnx8sUQcc8athi.cjs} +2 -2
  29. package/browser/cjs/{Cy3k3rXLi24oJPm-.cjs → CiJXZ4MMq0-g5pRy.cjs} +2 -2
  30. package/browser/cjs/{CHT-XlD5pCRxYb1o.cjs → CkOqLhMfOSUO6hZc.cjs} +4 -4
  31. package/browser/cjs/{C7OrIlP5y8YNBUSH.cjs → CkboN9PqhMP8gVUO.cjs} +1 -1
  32. package/browser/cjs/{C8SAbjqWtcbByYiY.cjs → CpPLkq1qYpELtBVb.cjs} +2 -2
  33. package/browser/cjs/{CDO0e018-e_cnUym.cjs → CwhdUCDaoLQGcvJy.cjs} +2 -2
  34. package/browser/cjs/{dDk7hLjpihmO5-cX.cjs → Cx2rTk-O7yQO7-q6.cjs} +4 -4
  35. package/browser/cjs/{VqhUjfIqtv4hC74q.cjs → Cx39LdblHkleUMb1.cjs} +1 -1
  36. package/browser/cjs/{DO9ZaMqU-TGY63RK.cjs → D4HABltWISUjVaOO.cjs} +1 -1
  37. package/browser/cjs/{C5x7lcJ4jXraEzwd.cjs → D99WjfuVwM-YRm4a.cjs} +1 -1
  38. package/browser/cjs/{DdWNj_URRJBkxSgW.cjs → DCe0ifxJ2waXgr0H.cjs} +1 -1
  39. package/browser/cjs/{CV8cwUmZBb2eYPim.cjs → DDvILQ7_cSgi8K6F.cjs} +1 -1
  40. package/browser/cjs/{DFoejjkymKumh6SJ.cjs → DE3aCIXAZL7uLX0k.cjs} +1 -1
  41. package/browser/cjs/{Y2adlqLM2N2Vzjg9.cjs → DRvH_199sgRclUKY.cjs} +1 -1
  42. package/browser/cjs/{DnvWyFlaRONdjoOF.cjs → DV0r3gTeA-w2Q6Jx.cjs} +1 -1
  43. package/browser/cjs/{MSWIE9Rd2oZbZuZB.cjs → DWoR03zqV8zXWO-X.cjs} +1 -1
  44. package/browser/cjs/{DcQYUHhq5WoB1QxG.cjs → DZ3gARHylllIcJDT.cjs} +1 -1
  45. package/browser/cjs/{BF4_gTBFjNLsAuPo.cjs → DbdPbW-LrAm6toaO.cjs} +4 -4
  46. package/browser/cjs/{C4u2p0WIEc0W5hox.cjs → DciSg5hoXxvfqoKC.cjs} +1 -1
  47. package/browser/cjs/{Dy4AAvOJQs8TKfi3.cjs → DjmqyErluCMLOjsF.cjs} +1 -1
  48. package/browser/cjs/{BnWGeUEXNoVAHA9V.cjs → DlAB_CcYmXk8tpYL.cjs} +1 -1
  49. package/browser/cjs/{C3cZA4YXXR0nGmiX.cjs → DmhCjj0KeysXxIzX.cjs} +2 -2
  50. package/browser/cjs/{DoVq0lqvAcxtM1Q9.cjs → Dn1uL0GqyDGo3d67.cjs} +2 -2
  51. package/browser/cjs/{DzvuCPwdW59TYNeg.cjs → Dn4RfIZ9VHwQ7Eex.cjs} +1 -1
  52. package/browser/cjs/{BCwQKO-V-abKxWJ_.cjs → Dn6LoJinxzxUiMDg.cjs} +2 -2
  53. package/browser/cjs/{CzHenNm5o19h9rNf.cjs → Do_T0KvdhyBUnWx_.cjs} +1 -1
  54. package/browser/cjs/{BgGqhWOYof8HtKvS.cjs → DvtlLY8kPVwL4sgA.cjs} +1 -1
  55. package/browser/cjs/{DGZ-53usY93Q9LZJ.cjs → DyS1Kn_U7Em83Hsq.cjs} +1 -1
  56. package/browser/cjs/{CN7DAGeuWAMsmRhb.cjs → INcIs0jpLlM3mm-H.cjs} +1 -1
  57. package/browser/cjs/{oeYUTiYZNPC7s8k1.cjs → YHVbESGX6phJX20u.cjs} +1 -1
  58. package/browser/cjs/{CU_R48ZMXIyABak8.cjs → ZWsbkG6eb6seSRXv.cjs} +2 -2
  59. package/browser/cjs/index.cjs +2 -2
  60. package/{cdn/assets/Ct4edmJJhlsaXjWT.js → browser/esm/3N51fmivOwyOXT3l.mjs} +1 -1
  61. package/browser/esm/{CXufcwWBSTc0ufnJ.mjs → 3VzVhIOnlmOZ-dBg.mjs} +2 -2
  62. package/browser/esm/{COWqzRwRuDK_Bdic.mjs → 6nSiDtF6igNyrf2y.mjs} +2 -2
  63. package/browser/esm/{Bn7Uxz6sXrXta-rf.mjs → B0DAlgwfAWOXvq4_.mjs} +2 -2
  64. package/{cdn/assets/BfLOMcpVLb78_pS5.js → browser/esm/B1m-ozjxrnDeFhiZ.mjs} +1 -1
  65. package/browser/esm/{CNM_6Ekj85ca8CMj.mjs → B4LH4e6YQr0i0kbs.mjs} +2 -2
  66. package/browser/esm/{ZVFMnXncU5v2xxQj.mjs → BEdbC5wAfOjfWhGs.mjs} +1 -1
  67. package/{cdn/assets/ZozmNU1fZz0rIwnM.js → browser/esm/BH6ldKaAlNHAWreh.mjs} +1 -1
  68. package/{cdn/assets/gkLlKpramCNBfTs7.js → browser/esm/BM8e7ROZOHaAquLi.mjs} +1 -1
  69. package/{cdn/assets/CbAbkQUb6oMbznUI.js → browser/esm/BTTKTkAe7jTaQvjz.mjs} +1 -1
  70. package/browser/esm/{BFMayN3xlOUqRI_o.mjs → BbYZAR2suHjEBaES.mjs} +2 -2
  71. package/{cdn/assets/Bhhrqsmqp91hJqxG.js → browser/esm/Bjsc6wrUpvl_hjRj.mjs} +1 -1
  72. package/browser/esm/{CJG5baH0nxhKQDUu.mjs → Bjtb8lG8j5lZLmPO.mjs} +2 -2
  73. package/browser/esm/{D1i7jbpYgGHdUBHI.mjs → Bpt-cfH_EphAcLow.mjs} +3 -3
  74. package/browser/esm/{By7CDTFXYiSCNGfD.mjs → BsMA-6c4MCPqfDAq.mjs} +2 -2
  75. package/browser/esm/{-GyxMlVRTAiygfTi.mjs → C2nH1Z0Qv8dVA46o.mjs} +2 -2
  76. package/browser/esm/{CUny7mPoyQiagYdd.mjs → C4ADTbdoMYv-xYb_.mjs} +1 -1
  77. package/browser/esm/{uxqyDXIaFmgmll6p.mjs → C5ipzxDNB7mwOup8.mjs} +1 -1
  78. package/browser/esm/{Bk0J-4CfOjaMoUjW.mjs → CMICZ36cqe6eEELU.mjs} +3 -3
  79. package/browser/esm/{CQeoE2w94fROIlBe.mjs → CMwrohupcgVf9ovx.mjs} +4 -4
  80. package/browser/esm/{DjWavLHPu3GKEzTU.mjs → CSvpcvVrtQMi5YMH.mjs} +1 -1
  81. package/{cdn/assets/BZzMRDxX8W3pn7y9.js → browser/esm/CUFXsvWRmBglOxCh.mjs} +1 -1
  82. package/browser/esm/{B9y2dkVuJJxTR6Cu.mjs → CUrekuBvZp8HzDRR.mjs} +1 -1
  83. package/browser/esm/{DxxYtl4yGitwPRVP.mjs → CXM4duZAQ9xkx_-8.mjs} +1 -1
  84. package/browser/esm/{BGjWX_kSxlX68bbv.mjs → C_9Upo5I-PSK47R_.mjs} +1 -1
  85. package/{cdn/assets/CBmA6m_MD-T3IhT-.js → browser/esm/C_xUEkZ7r882X9Ha.mjs} +1 -1
  86. package/browser/esm/{BI0TtNjq7VHPYLFi.mjs → CnenkhTeaOhTTMqv.mjs} +2 -2
  87. package/{cdn/assets/CQqb_o_4QHZmqlml.js → browser/esm/Ct9ZcjuuaNCX6kIj.mjs} +1 -1
  88. package/browser/esm/{DeRdpzXPAT-NTuGX.mjs → Ctrv_0YzvwpnUr0y.mjs} +2 -2
  89. package/browser/esm/{md8aPMcWKEZYJq3K.mjs → Cux5PsvHYlpp5b2x.mjs} +6 -6
  90. package/browser/esm/{QuHaOall6bLwODh8.mjs → CvbAyNJlfhcCYfDr.mjs} +2 -2
  91. package/browser/esm/{BAmbFIYJN2lFgCcK.mjs → CxjY2TO23WNFisWX.mjs} +1 -1
  92. package/browser/esm/{DY-wznfI02TzBooB.mjs → Cz7RSKUHlEt4Sy6b.mjs} +16 -16
  93. package/browser/esm/{CdXVTrxlfpdxLJIW.mjs → D0wIYxN6_chAmwCc.mjs} +1 -1
  94. package/{cdn/assets/DIhOwgfJ-KW70dVG.js → browser/esm/D3XmnZGIfxT4lk3w.mjs} +1 -1
  95. package/{cdn/assets/BGTzGVKBHhjSJDwD.js → browser/esm/D6KZyFauO14Su023.mjs} +1 -1
  96. package/browser/esm/{C70QesBx8A7k3kJu.mjs → D8C3KeX9kFgFNEsb.mjs} +1 -1
  97. package/{cdn/assets/CRkdWAFwM0QqPkBl.js → browser/esm/DAW6ifi60VDar3-l.mjs} +1 -1
  98. package/browser/esm/{BhUrSLzqiTM2hBhI.mjs → DDfN1juzl1hT_UFe.mjs} +2 -2
  99. package/browser/esm/{_JHuVqxt7gNsoWn-.mjs → DOGg1qByRfg3Xspr.mjs} +6 -6
  100. package/{cdn/assets/BR58mmeGHPieLgMd.js → browser/esm/DTeYi36ajMzmUc3x.mjs} +1 -1
  101. package/browser/esm/{DeFkwgSUXcAL-4MI.mjs → Dc1H2furircZlzN8.mjs} +4 -4
  102. package/browser/esm/{DrCAbGKUtU3dQxf1.mjs → Dd9etqsWH04KVyov.mjs} +2 -2
  103. package/{cdn/assets/m6vgp5BteyB5mur7.js → browser/esm/DfKdydqLJ4MMUAow.mjs} +1 -1
  104. package/browser/esm/{uQZVXIPp9jLPfqko.mjs → DirjJILlmPlhPZwJ.mjs} +4 -4
  105. package/browser/esm/{C0uV2sp4PwEuNpbn.mjs → DlF4ox6px_a8KGDI.mjs} +1 -1
  106. package/browser/esm/{BiH9xaAzVGhk_0Qd.mjs → Dq8duLxf4-Tuo_wV.mjs} +2 -2
  107. package/browser/esm/{ILxB2ghS7La7VXBi.mjs → Dv5RrOnUwTMHeM7k.mjs} +4 -4
  108. package/browser/esm/{BuyGJm1GNrHBofAV.mjs → HPDpApJMbty0fOGh.mjs} +2 -2
  109. package/{cdn/assets/7LvL2PwFxo4tRjtC.js → browser/esm/Ld4Og9zF7kdwc9Bq.mjs} +1 -1
  110. package/browser/esm/{Cuy_iWJUt-DZPu_m.mjs → MhA9JYSNQknyC2-7.mjs} +1 -1
  111. package/{cdn/assets/Bai9y7ZvJNafZXkG.js → browser/esm/TCHZxTIhWMVkgX3o.mjs} +1 -1
  112. package/{cdn/assets/fwoCYLInyLSFnSZQ.js → browser/esm/TCyoIWnhQsOAGihq.mjs} +1 -1
  113. package/browser/esm/{TTzsQrEYYCtjJ_aM.mjs → XWOQU_sxt5_lFjJM.mjs} +1 -1
  114. package/{cdn/assets/BT81je-vUgJM770Z.js → browser/esm/blfFjNlrt7wIm8ac.mjs} +1 -1
  115. package/browser/esm/index.mjs +2 -2
  116. package/browser/esm/{ESh2pnYgW_hn_Y4g.mjs → nLQOv_3C-yTgOm_d.mjs} +1 -1
  117. package/browser/esm/{DI31ljXqecIkfzC_.mjs → nuGYHbGeWLkN7IFF.mjs} +1 -1
  118. package/browser/esm/{Cj_b4SBU9OExCjrq.mjs → on8xRgdppLtS76xu.mjs} +3 -3
  119. package/{browser/esm/Ct4edmJJhlsaXjWT.mjs → cdn/assets/3N51fmivOwyOXT3l.js} +1 -1
  120. package/cdn/assets/{D0lIj4chgObzK66x.js → 9ZJYmMX0oks56Dir.js} +3 -3
  121. package/cdn/assets/{B7pTGz0qoUEf5oRZ.js → B0h0MHiq87C7wRUG.js} +2 -2
  122. package/{browser/esm/BfLOMcpVLb78_pS5.mjs → cdn/assets/B1m-ozjxrnDeFhiZ.js} +1 -1
  123. package/cdn/assets/{wVem_Fk0Cp-sFmAO.js → B537hPIx4O8b3yYs.js} +4 -4
  124. package/cdn/assets/{CsNx7C_i1iOqmV3n.js → BDy4o1dgQMIqsMiY.js} +2 -2
  125. package/cdn/assets/{ZVFMnXncU5v2xxQj.js → BEdbC5wAfOjfWhGs.js} +1 -1
  126. package/{browser/esm/ZozmNU1fZz0rIwnM.mjs → cdn/assets/BH6ldKaAlNHAWreh.js} +1 -1
  127. package/cdn/assets/{BnEAWPtKX5CgVKkp.js → BHQC-R8MGLRzOxBA.js} +2 -2
  128. package/{browser/esm/gkLlKpramCNBfTs7.mjs → cdn/assets/BM8e7ROZOHaAquLi.js} +1 -1
  129. package/{browser/esm/CbAbkQUb6oMbznUI.mjs → cdn/assets/BTTKTkAe7jTaQvjz.js} +1 -1
  130. package/cdn/assets/{BjtNxCPTeumKQNaW.js → BTXU6Aai-Ialy3og.js} +15 -15
  131. package/cdn/assets/{DK1bSVHKRKH0lHUk.js → BUJQ7wUyL-iSUg8h.js} +2 -2
  132. package/cdn/assets/{CqgEiFyDq2dBshfr.js → BbtqTKem2BWD_lH0.js} +2 -2
  133. package/{browser/esm/Bhhrqsmqp91hJqxG.mjs → cdn/assets/Bjsc6wrUpvl_hjRj.js} +1 -1
  134. package/cdn/assets/{BSAajMR-86LIB0Wr.js → Bmo80_Qi8HeLXtBu.js} +2 -2
  135. package/cdn/assets/{Cu0RUSPX2LvwFQ6U.js → C0a277r4c7jdrbo-.js} +3 -3
  136. package/cdn/assets/{CUny7mPoyQiagYdd.js → C4ADTbdoMYv-xYb_.js} +1 -1
  137. package/cdn/assets/{uxqyDXIaFmgmll6p.js → C5ipzxDNB7mwOup8.js} +1 -1
  138. package/cdn/assets/{Ds4qf07Q_SexJRqj.js → C6VUt6vUMhiTBp21.js} +2 -2
  139. package/cdn/assets/{DXG92ERB-BJo0KZb.js → CKyyzgIojzuQ14Jb.js} +4 -4
  140. package/cdn/assets/{DjWavLHPu3GKEzTU.js → CSvpcvVrtQMi5YMH.js} +1 -1
  141. package/{browser/esm/BZzMRDxX8W3pn7y9.mjs → cdn/assets/CUFXsvWRmBglOxCh.js} +1 -1
  142. package/cdn/assets/{B9y2dkVuJJxTR6Cu.js → CUrekuBvZp8HzDRR.js} +1 -1
  143. package/cdn/assets/{C1-crlw6ThhTeBjo.js → CWmH4zsZyNsO9p41.js} +2 -2
  144. package/cdn/assets/{DxxYtl4yGitwPRVP.js → CXM4duZAQ9xkx_-8.js} +1 -1
  145. package/cdn/assets/{BGjWX_kSxlX68bbv.js → C_9Upo5I-PSK47R_.js} +1 -1
  146. package/{browser/esm/CBmA6m_MD-T3IhT-.mjs → cdn/assets/C_xUEkZ7r882X9Ha.js} +1 -1
  147. package/cdn/assets/{Bs1BVe17rehcBW3a.js → CaN6N1dq3iIVO1hT.js} +2 -2
  148. package/cdn/assets/{BXoIUikm6MxpGehl.js → Cd3KcqA1q1QnCheo.js} +2 -2
  149. package/cdn/assets/{mGs6ZnI3Kp7ca3V9.js → CscbwTq6KR8XJrxB.js} +4 -4
  150. package/{browser/esm/CQqb_o_4QHZmqlml.mjs → cdn/assets/Ct9ZcjuuaNCX6kIj.js} +1 -1
  151. package/cdn/assets/{BAmbFIYJN2lFgCcK.js → CxjY2TO23WNFisWX.js} +1 -1
  152. package/cdn/assets/{CdXVTrxlfpdxLJIW.js → D0wIYxN6_chAmwCc.js} +1 -1
  153. package/cdn/assets/{DGyubEhwYpXIK9_t.js → D1QeQpmRY9PDIMEz.js} +2 -2
  154. package/{browser/esm/DIhOwgfJ-KW70dVG.mjs → cdn/assets/D3XmnZGIfxT4lk3w.js} +1 -1
  155. package/{browser/esm/BGTzGVKBHhjSJDwD.mjs → cdn/assets/D6KZyFauO14Su023.js} +1 -1
  156. package/cdn/assets/{C70QesBx8A7k3kJu.js → D8C3KeX9kFgFNEsb.js} +1 -1
  157. package/{browser/esm/CRkdWAFwM0QqPkBl.mjs → cdn/assets/DAW6ifi60VDar3-l.js} +1 -1
  158. package/cdn/assets/{BUBhf8MVk-zzMvIn.js → DHDTA2yZ7ODlBAXM.js} +2 -2
  159. package/cdn/assets/{DK-NdTpBC0eQBgZV.js → DIOp5ZkL1dY68cMH.js} +2 -2
  160. package/{browser/esm/BR58mmeGHPieLgMd.mjs → cdn/assets/DTeYi36ajMzmUc3x.js} +1 -1
  161. package/{browser/esm/m6vgp5BteyB5mur7.mjs → cdn/assets/DfKdydqLJ4MMUAow.js} +1 -1
  162. package/cdn/assets/{DLrEolIaGLyUO3dd.js → DfNI2EiuegVK3udt.js} +2 -2
  163. package/cdn/assets/{CzPqPp4BsLzOooEG.js → DfQ3XXU3pjhhAldB.js} +2 -2
  164. package/cdn/assets/{C0uV2sp4PwEuNpbn.js → DlF4ox6px_a8KGDI.js} +1 -1
  165. package/cdn/assets/{BHQY35m5ZsNLGx4s.js → E-GOcSTy1uY4Oj3I.js} +6 -6
  166. package/{browser/esm/7LvL2PwFxo4tRjtC.mjs → cdn/assets/Ld4Og9zF7kdwc9Bq.js} +1 -1
  167. package/cdn/assets/{Cuy_iWJUt-DZPu_m.js → MhA9JYSNQknyC2-7.js} +1 -1
  168. package/cdn/assets/{D0LTvhKDv_AaR2AJ.js → OMD1-UUDvqKr1SYQ.js} +4 -4
  169. package/{browser/esm/Bai9y7ZvJNafZXkG.mjs → cdn/assets/TCHZxTIhWMVkgX3o.js} +1 -1
  170. package/{browser/esm/fwoCYLInyLSFnSZQ.mjs → cdn/assets/TCyoIWnhQsOAGihq.js} +1 -1
  171. package/cdn/assets/{TTzsQrEYYCtjJ_aM.js → XWOQU_sxt5_lFjJM.js} +1 -1
  172. package/cdn/assets/{BrOXBqkeDvOBK9Fc.js → b4A5hTjHI0rNI6Qk.js} +6 -6
  173. package/{browser/esm/BT81je-vUgJM770Z.mjs → cdn/assets/blfFjNlrt7wIm8ac.js} +1 -1
  174. package/cdn/assets/{BIUc5ppdovF97mnI.js → jNoWEx25dsSqFAso.js} +3 -3
  175. package/cdn/assets/{ESh2pnYgW_hn_Y4g.js → nLQOv_3C-yTgOm_d.js} +1 -1
  176. package/cdn/assets/{DI31ljXqecIkfzC_.js → nuGYHbGeWLkN7IFF.js} +1 -1
  177. package/cdn/index.js +2 -2
  178. package/cdn/loader.js +1 -1
  179. package/package.json +2 -2
@@ -1,12 +1,12 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.2
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
- */const m=require("react/jsx-runtime"),l=require("react"),r=require("./DjrGUr-awhOmDtrE.cjs"),Wt=require("react-dom");function Rt(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const i in e)if(i!=="default"){const t=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(o,i,t.get?t:{enumerable:!0,get:()=>e[i]})}}return o.default=e,Object.freeze(o)}const de=Rt(l);function Pt(e){return r.generateUtilityClass("MuiCollapse",e)}r.generateUtilityClasses("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const Ft=r.styled("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:i}=e;return[o.root,o[i.orientation],i.state==="entered"&&o.entered,i.state==="exited"&&!i.in&&i.collapsedSize==="0px"&&o.hidden]}})(r.memoTheme(({theme:e})=>({height:0,overflow:"hidden",transition:e.transitions.create("height"),variants:[{props:{orientation:"horizontal"},style:{height:"auto",width:0,transition:e.transitions.create("width")}},{props:{state:"entered"},style:{height:"auto",overflow:"visible"}},{props:{state:"entered",orientation:"horizontal"},style:{width:"auto"}},{props:({ownerState:o})=>o.state==="exited"&&!o.in&&o.collapsedSize==="0px",style:{visibility:"hidden"}}]}))),Nt=r.styled("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,o)=>o.wrapper})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),At=r.styled("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,o)=>o.wrapperInner})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),Fe=de.forwardRef(function(e,o){const i=r.useDefaultProps({props:e,name:"MuiCollapse"}),{addEndListener:t,children:n,className:a,collapsedSize:s="0px",component:u,easing:c,in:d,onEnter:p,onEntered:f,onEntering:x,onExit:v,onExited:y,onExiting:b,orientation:w="vertical",style:k,timeout:h=r.duration.standard,TransitionComponent:T=r.Transition,...E}=i,N={...i,orientation:w,collapsedSize:s},L=(j=>{const{orientation:W,classes:X}=j,Y={root:["root",`${W}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${W}`],wrapperInner:["wrapperInner",`${W}`]};return r.composeClasses(Y,Pt,X)})(N),H=r.useTheme(),_=r.useTimeout(),P=de.useRef(null),z=de.useRef(),$=typeof s=="number"?`${s}px`:s,J=w==="horizontal",A=J?"width":"height",te=de.useRef(null),F=r.useForkRef(o,te),S=j=>W=>{if(j){const X=te.current;W===void 0?j(X):j(X,W)}},M=()=>P.current?P.current[J?"clientWidth":"clientHeight"]:0,I=S((j,W)=>{P.current&&J&&(P.current.style.position="absolute"),j.style[A]=$,p&&p(j,W)}),D=S((j,W)=>{const X=M();P.current&&J&&(P.current.style.position="");const{duration:Y,easing:ae}=r.getTransitionProps({style:k,timeout:h,easing:c},{mode:"enter"});if(h==="auto"){const ne=H.transitions.getAutoHeightDuration(X);j.style.transitionDuration=`${ne}ms`,z.current=ne}else j.style.transitionDuration=typeof Y=="string"?Y:`${Y}ms`;j.style[A]=`${X}px`,j.style.transitionTimingFunction=ae,x&&x(j,W)}),U=S((j,W)=>{j.style[A]="auto",f&&f(j,W)}),B=S(j=>{j.style[A]=`${M()}px`,v&&v(j)}),Q=S(y),q=S(j=>{const W=M(),{duration:X,easing:Y}=r.getTransitionProps({style:k,timeout:h,easing:c},{mode:"exit"});if(h==="auto"){const ae=H.transitions.getAutoHeightDuration(W);j.style.transitionDuration=`${ae}ms`,z.current=ae}else j.style.transitionDuration=typeof X=="string"?X:`${X}ms`;j.style[A]=$,j.style.transitionTimingFunction=Y,b&&b(j)});return m.jsx(T,{in:d,onEnter:I,onEntered:U,onEntering:D,onExit:B,onExited:Q,onExiting:q,addEndListener:j=>{h==="auto"&&_.start(z.current||0,j),t&&t(te.current,j)},nodeRef:te,timeout:h==="auto"?null:h,...E,children:(j,{ownerState:W,...X})=>m.jsx(Ft,{as:u,className:r.clsx(L.root,a,{entered:L.entered,exited:!d&&$==="0px"&&L.hidden}[j]),style:{[J?"minWidth":"minHeight"]:$,...k},ref:F,ownerState:{...N,state:j},...X,children:m.jsx(Nt,{ownerState:{...N,state:j},className:L.wrapper,ref:P,children:m.jsx(At,{ownerState:{...N,state:j},className:L.wrapperInner,children:n})})})})});function It(e){return r.generateUtilityClass("MuiCard",e)}Fe&&(Fe.muiSupportAuto=!0),r.generateUtilityClasses("MuiCard",["root"]);const Ht=r.styled(r.Paper,{name:"MuiCard",slot:"Root",overridesResolver:(e,o)=>o.root})({overflow:"hidden"}),qt=de.forwardRef(function(e,o){const i=r.useDefaultProps({props:e,name:"MuiCard"}),{className:t,raised:n=!1,...a}=i,s={...i,raised:n},u=(c=>{const{classes:d}=c;return r.composeClasses({root:["root"]},It,d)})(s);return m.jsx(Ht,{className:r.clsx(u.root,t),elevation:n?8:void 0,ref:o,ownerState:s,...a})});function zt(e){return r.generateUtilityClass("MuiCardActions",e)}r.generateUtilityClasses("MuiCardActions",["root","spacing"]);const Bt=r.styled("div",{name:"MuiCardActions",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:i}=e;return[o.root,!i.disableSpacing&&o.spacing]}})({display:"flex",alignItems:"center",padding:8,variants:[{props:{disableSpacing:!1},style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),_t=de.forwardRef(function(e,o){const i=r.useDefaultProps({props:e,name:"MuiCardActions"}),{disableSpacing:t=!1,className:n,...a}=i,s={...i,disableSpacing:t},u=(c=>{const{classes:d,disableSpacing:p}=c,f={root:["root",!p&&"spacing"]};return r.composeClasses(f,zt,d)})(s);return m.jsx(Bt,{className:r.clsx(u.root,n),ownerState:s,ref:o,...a})}),Ke=typeof r.globalCss({})=="function",Ut=(e,o)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...o&&!e.vars&&{colorScheme:e.palette.mode}}),Xt=e=>({color:(e.vars||e).palette.text.primary,...e.typography.body1,backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),et=(e,o=!1)=>{const i={};o&&e.colorSchemes&&typeof e.getColorSchemeSelector=="function"&&Object.entries(e.colorSchemes).forEach(([a,s])=>{const u=e.getColorSchemeSelector(a);u.startsWith("@")?i[u]={":root":{colorScheme:s.palette?.mode}}:i[u.replace(/\s*&/,"")]={colorScheme:s.palette?.mode}});let t={html:Ut(e,o),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:{margin:0,...Xt(e),"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}},...i};const n=e.components?.MuiCssBaseline?.styleOverrides;return n&&(t=[t,n]),t},Re="mui-ecs",Vt=r.globalCss(Ke?({theme:e,enableColorScheme:o})=>et(e,o):({theme:e})=>(o=>{const i=et(o,!1),t=Array.isArray(i)?i[0]:i;return!o.vars&&t&&(t.html[`:root:has(${Re})`]={colorScheme:o.palette.mode}),o.colorSchemes&&Object.entries(o.colorSchemes).forEach(([n,a])=>{const s=o.getColorSchemeSelector(n);s.startsWith("@")?t[s]={[`:root:not(:has(.${Re}))`]:{colorScheme:a.palette?.mode}}:t[s.replace(/\s*&/,"")]={[`&:not(:has(.${Re}))`]:{colorScheme:a.palette?.mode}}}),i})(e));function Kt(e){const o=r.useDefaultProps({props:e,name:"MuiCssBaseline"}),{children:i,enableColorScheme:t=!1}=o;return m.jsxs(de.Fragment,{children:[Ke&&m.jsx(Vt,{enableColorScheme:t}),!Ke&&!t&&m.jsx("span",{className:Re,style:{display:"none"}}),i]})}const $t=r.createSvgIcon(m.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m3.59-13L12 10.59 8.41 7 7 8.41 10.59 12 7 15.59 8.41 17 12 13.41 15.59 17 17 15.59 13.41 12 17 8.41z"}),"CancelOutlined"),Gt=l.createContext(null),qe={didCatch:!1,error:null};class Zt extends l.Component{constructor(o){super(o),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=qe}static getDerivedStateFromError(o){return{didCatch:!0,error:o}}resetErrorBoundary(){const{error:o}=this.state;if(o!==null){for(var i,t,n=arguments.length,a=new Array(n),s=0;s<n;s++)a[s]=arguments[s];(i=(t=this.props).onReset)===null||i===void 0||i.call(t,{args:a,reason:"imperative-api"}),this.setState(qe)}}componentDidCatch(o,i){var t,n;(t=(n=this.props).onError)===null||t===void 0||t.call(n,o,i)}componentDidUpdate(o,i){const{didCatch:t}=this.state,{resetKeys:n}=this.props;var a,s;t&&i.error!==null&&function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return u.length!==c.length||u.some((d,p)=>!Object.is(d,c[p]))}(o.resetKeys,n)&&((a=(s=this.props).onReset)===null||a===void 0||a.call(s,{next:n,prev:o.resetKeys,reason:"keys"}),this.setState(qe))}render(){const{children:o,fallbackRender:i,FallbackComponent:t,fallback:n}=this.props,{didCatch:a,error:s}=this.state;let u=o;if(a){const c={error:s,resetErrorBoundary:this.resetErrorBoundary};if(typeof i=="function")u=i(c);else if(t)u=l.createElement(t,c);else{if(n===void 0)throw s;u=n}}return l.createElement(Gt.Provider,{value:{didCatch:a,error:s,resetErrorBoundary:this.resetErrorBoundary}},u)}}function ft(e){var o,i,t="";if(typeof e=="string"||typeof e=="number")t+=e;else if(typeof e=="object")if(Array.isArray(e))for(o=0;o<e.length;o++)e[o]&&(i=ft(e[o]))&&(t&&(t+=" "),t+=i);else for(o in e)e[o]&&(t&&(t+=" "),t+=o);return t}function ie(){for(var e,o,i=0,t="";i<arguments.length;)(e=arguments[i++])&&(o=ft(e))&&(t&&(t+=" "),t+=o);return t}let Jt={data:""},Qt=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,Yt=/\/\*[^]*?\*\/| +/g,tt=/\n+/g,ue=(e,o)=>{let i="",t="",n="";for(let a in e){let s=e[a];a[0]=="@"?a[1]=="i"?i=a+" "+s+";":t+=a[1]=="f"?ue(s,a):a+"{"+ue(s,a[1]=="k"?"":o)+"}":typeof s=="object"?t+=ue(s,o?o.replace(/([^,])+/g,u=>a.replace(/([^,]*:\S+\([^)]*\))|([^,])+/g,c=>/&/.test(c)?c.replace(/&/g,u):u?u+" "+c:c)):a):s!=null&&(a=/^--/.test(a)?a:a.replace(/[A-Z]/g,"-$&").toLowerCase(),n+=ue.p?ue.p(a,s):a+":"+s+";")}return i+(o&&n?o+"{"+n+"}":n)+t},oe={},ht=e=>{if(typeof e=="object"){let o="";for(let i in e)o+=i+ht(e[i]);return o}return e};function $e(e){let o=this||{},i=e.call?e(o.p):e;return((s,u,c,d,p)=>{let f=ht(s),x=oe[f]||(oe[f]=(h=>{let T=0,E=11;for(;T<h.length;)E=101*E+h.charCodeAt(T++)>>>0;return"go"+E})(f));if(!oe[x]){let h=f!==s?s:(T=>{let E,N,L=[{}];for(;E=Qt.exec(T.replace(Yt,""));)E[4]?L.shift():E[3]?(N=E[3].replace(tt," ").trim(),L.unshift(L[0][N]=L[0][N]||{})):L[0][E[1]]=E[2].replace(tt," ").trim();return L[0]})(s);oe[x]=ue(p?{["@keyframes "+x]:h}:h,c?"":"."+x)}let v=c&&oe.g?oe.g:null;return c&&(oe.g=oe[x]),y=oe[x],b=u,w=d,(k=v)?b.data=b.data.replace(k,y):b.data.indexOf(y)===-1&&(b.data=w?y+b.data:b.data+y),x;var y,b,w,k})(i.unshift?i.raw?(t=i,n=[].slice.call(arguments,1),a=o.p,t.reduce((s,u,c)=>{let d=n[c];if(d&&d.call){let p=d(a),f=p&&p.props&&p.props.className||/^go/.test(p)&&p;d=f?"."+f:p&&typeof p=="object"?p.props?"":ue(p,""):p===!1?"":p}return s+u+(d??"")},"")):i.reduce((s,u)=>Object.assign(s,u&&u.call?u(o.p):u),{}):i,(s=>typeof window=="object"?((s?s.querySelector("#_goober"):window._goober)||Object.assign((s||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:s||Jt)(o.target),o.g,o.o,o.k);var t,n,a}function gt(e,o,i){return o&&function(t,n){for(var a=0;a<n.length;a++){var s=n[a];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,s.key,s)}}(e.prototype,o),e}function O(){return O=Object.assign||function(e){for(var o=1;o<arguments.length;o++){var i=arguments[o];for(var t in i)Object.prototype.hasOwnProperty.call(i,t)&&(e[t]=i[t])}return e},O.apply(this,arguments)}function kt(e,o){e.prototype=Object.create(o.prototype),e.prototype.constructor=e,e.__proto__=o}function Ce(e,o){if(e==null)return{};var i,t,n={},a=Object.keys(e);for(t=0;t<a.length;t++)i=a[t],o.indexOf(i)>=0||(n[i]=e[i]);return n}function nt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}$e.bind({g:1}),$e.bind({k:1});var ot=function(){return""},bt=l.createContext({enqueueSnackbar:ot,closeSnackbar:ot}),ze="@media (max-width:599.95px)",Pe="@media (min-width:600px)",rt=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},Ze=function(e){return""+rt(e.vertical)+rt(e.horizontal)},je=function(e){return!!e||e===0},Me="unmounted",pe="exited",me="entering",xe="entered",it="exiting",Je=function(e){function o(t){var n;n=e.call(this,t)||this;var a,s=t.appear;return n.appearStatus=null,t.in?s?(a=pe,n.appearStatus=me):a=xe:a=t.unmountOnExit||t.mountOnEnter?Me:pe,n.state={status:a},n.nextCallback=null,n}kt(o,e),o.getDerivedStateFromProps=function(t,n){return t.in&&n.status===Me?{status:pe}:null};var i=o.prototype;return i.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},i.componentDidUpdate=function(t){var n=null;if(t!==this.props){var a=this.state.status;this.props.in?a!==me&&a!==xe&&(n=me):a!==me&&a!==xe||(n=it)}this.updateStatus(!1,n)},i.componentWillUnmount=function(){this.cancelNextCallback()},i.getTimeouts=function(){var t=this.props.timeout,n=t,a=t;return t!=null&&typeof t!="number"&&typeof t!="string"&&(a=t.exit,n=t.enter),{exit:a,enter:n}},i.updateStatus=function(t,n){t===void 0&&(t=!1),n!==null?(this.cancelNextCallback(),n===me?this.performEnter(t):this.performExit()):this.props.unmountOnExit&&this.state.status===pe&&this.setState({status:Me})},i.performEnter=function(t){var n=this,a=this.props.enter,s=t,u=this.getTimeouts();t||a?(this.props.onEnter&&this.props.onEnter(this.node,s),this.safeSetState({status:me},function(){n.props.onEntering&&n.props.onEntering(n.node,s),n.onTransitionEnd(u.enter,function(){n.safeSetState({status:xe},function(){n.props.onEntered&&n.props.onEntered(n.node,s)})})})):this.safeSetState({status:xe},function(){n.props.onEntered&&n.props.onEntered(n.node,s)})},i.performExit=function(){var t=this,n=this.props.exit,a=this.getTimeouts();n?(this.props.onExit&&this.props.onExit(this.node),this.safeSetState({status:it},function(){t.props.onExiting&&t.props.onExiting(t.node),t.onTransitionEnd(a.exit,function(){t.safeSetState({status:pe},function(){t.props.onExited&&t.props.onExited(t.node)})})})):this.safeSetState({status:pe},function(){t.props.onExited&&t.props.onExited(t.node)})},i.cancelNextCallback=function(){this.nextCallback!==null&&this.nextCallback.cancel&&(this.nextCallback.cancel(),this.nextCallback=null)},i.safeSetState=function(t,n){n=this.setNextCallback(n),this.setState(t,n)},i.setNextCallback=function(t){var n=this,a=!0;return this.nextCallback=function(){a&&(a=!1,n.nextCallback=null,t())},this.nextCallback.cancel=function(){a=!1},this.nextCallback},i.onTransitionEnd=function(t,n){this.setNextCallback(n);var a=t==null&&!this.props.addEndListener;this.node&&!a?(this.props.addEndListener&&this.props.addEndListener(this.node,this.nextCallback),t!=null&&setTimeout(this.nextCallback,t)):setTimeout(this.nextCallback,0)},i.render=function(){var t=this.state.status;if(t===Me)return null;var n=this.props;return(0,n.children)(t,Ce(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]))},gt(o,[{key:"node",get:function(){var t,n=(t=this.props.nodeRef)===null||t===void 0?void 0:t.current;if(!n)throw new Error("notistack - Custom snackbar is not refForwarding");return n}}]),o}(l.Component);function fe(){}function at(e,o){typeof e=="function"?e(o):e&&(e.current=o)}function Ge(e,o){return l.useMemo(function(){return e==null&&o==null?null:function(i){at(e,i),at(o,i)}},[e,o])}function Ne(e){var o=e.timeout,i=e.style,t=i===void 0?{}:i,n=e.mode;return{duration:typeof o=="object"?o[n]||0:o,easing:t.transitionTimingFunction,delay:t.transitionDelay}}Je.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:fe,onEntering:fe,onEntered:fe,onExit:fe,onExiting:fe,onExited:fe};var xt=function(e){e.scrollTop=e.scrollTop},st=function(e){return Math.round(e)+"ms"};function he(e,o){e===void 0&&(e=["all"]);var i=o||{},t=i.duration,n=t===void 0?300:t,a=i.easing,s=a===void 0?"cubic-bezier(0.4, 0, 0.2, 1)":a,u=i.delay,c=u===void 0?0:u;return(Array.isArray(e)?e:[e]).map(function(d){var p=typeof n=="string"?n:st(n),f=typeof c=="string"?c:st(c);return d+" "+p+" "+s+" "+f}).join(",")}function yt(e){var o;return((o=e)&&o.ownerDocument||document).defaultView||window}function Te(e,o){if(o){var i=function(t,n){var a,s=n.getBoundingClientRect(),u=yt(n);if(n.fakeTransform)a=n.fakeTransform;else{var c=u.getComputedStyle(n);a=c.getPropertyValue("-webkit-transform")||c.getPropertyValue("transform")}var d=0,p=0;if(a&&a!=="none"&&typeof a=="string"){var f=a.split("(")[1].split(")")[0].split(",");d=parseInt(f[4],10),p=parseInt(f[5],10)}switch(t){case"left":return"translateX("+(u.innerWidth+d-s.left)+"px)";case"right":return"translateX(-"+(s.left+s.width-d)+"px)";case"up":return"translateY("+(u.innerHeight+p-s.top)+"px)";default:return"translateY(-"+(s.top+s.height-p)+"px)"}}(e,o);i&&(o.style.webkitTransform=i,o.style.transform=i)}}var wt=l.forwardRef(function(e,o){var i=e.children,t=e.direction,n=t===void 0?"down":t,a=e.in,s=e.style,u=e.timeout,c=u===void 0?0:u,d=e.onEnter,p=e.onEntered,f=e.onExit,x=e.onExited,v=Ce(e,["children","direction","in","style","timeout","onEnter","onEntered","onExit","onExited"]),y=l.useRef(null),b=Ge(i.ref,y),w=Ge(b,o),k=l.useCallback(function(){y.current&&Te(n,y.current)},[n]);return l.useEffect(function(){if(!a&&n!=="down"&&n!=="right"){var h=function(E,N){var L;function H(){for(var _=this,P=arguments.length,z=new Array(P),$=0;$<P;$++)z[$]=arguments[$];clearTimeout(L),L=setTimeout(function(){E.apply(_,z)},N)}return N===void 0&&(N=166),H.clear=function(){clearTimeout(L)},H}(function(){y.current&&Te(n,y.current)}),T=yt(y.current);return T.addEventListener("resize",h),function(){h.clear(),T.removeEventListener("resize",h)}}},[n,a]),l.useEffect(function(){a||k()},[a,k]),l.createElement(Je,Object.assign({appear:!0,nodeRef:y,onEnter:function(h,T){Te(n,h),xt(h),d&&d(h,T)},onEntered:p,onEntering:function(h){var T=Ne({timeout:c,mode:"enter",style:O({},s,{transitionTimingFunction:s?.transitionTimingFunction||"cubic-bezier(0.0, 0, 0.2, 1)"})});h.style.webkitTransition=he("-webkit-transform",T),h.style.transition=he("transform",T),h.style.webkitTransform="none",h.style.transform="none"},onExit:function(h){var T=Ne({timeout:c,mode:"exit",style:O({},s,{transitionTimingFunction:s?.transitionTimingFunction||"cubic-bezier(0.4, 0, 0.6, 1)"})});h.style.webkitTransition=he("-webkit-transform",T),h.style.transition=he("transform",T),Te(n,h),f&&f(h)},onExited:function(h){h.style.webkitTransition="",h.style.transition="",x&&x(h)},in:a,timeout:c},v),function(h,T){return l.cloneElement(i,O({ref:w,style:O({visibility:h!=="exited"||a?void 0:"hidden"},s,{},i.props.style)},T))})});wt.displayName="Slide";var Le=function(e){return l.createElement("svg",Object.assign({viewBox:"0 0 24 24",focusable:"false",style:{fontSize:20,marginInlineEnd:8,userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0}},e))},ce={maxSnack:3,persist:!1,hideIconVariant:!1,disableWindowBlurListener:!1,variant:"default",autoHideDuration:5e3,iconVariant:{default:void 0,success:l.createElement(function(){return l.createElement(Le,null,l.createElement("path",{d:`M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41
6
+ */const m=require("react/jsx-runtime"),l=require("react"),r=require("./B4SOP0NZdUa_5syD.cjs"),Wt=require("react-dom");function Rt(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const i in e)if(i!=="default"){const t=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(o,i,t.get?t:{enumerable:!0,get:()=>e[i]})}}return o.default=e,Object.freeze(o)}const de=Rt(l);function Pt(e){return r.generateUtilityClass("MuiCollapse",e)}r.generateUtilityClasses("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const Ft=r.styled("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:i}=e;return[o.root,o[i.orientation],i.state==="entered"&&o.entered,i.state==="exited"&&!i.in&&i.collapsedSize==="0px"&&o.hidden]}})(r.memoTheme(({theme:e})=>({height:0,overflow:"hidden",transition:e.transitions.create("height"),variants:[{props:{orientation:"horizontal"},style:{height:"auto",width:0,transition:e.transitions.create("width")}},{props:{state:"entered"},style:{height:"auto",overflow:"visible"}},{props:{state:"entered",orientation:"horizontal"},style:{width:"auto"}},{props:({ownerState:o})=>o.state==="exited"&&!o.in&&o.collapsedSize==="0px",style:{visibility:"hidden"}}]}))),Nt=r.styled("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,o)=>o.wrapper})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),At=r.styled("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,o)=>o.wrapperInner})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),Fe=de.forwardRef(function(e,o){const i=r.useDefaultProps({props:e,name:"MuiCollapse"}),{addEndListener:t,children:n,className:a,collapsedSize:s="0px",component:u,easing:c,in:d,onEnter:p,onEntered:f,onEntering:x,onExit:v,onExited:y,onExiting:b,orientation:w="vertical",style:k,timeout:h=r.duration.standard,TransitionComponent:T=r.Transition,...E}=i,N={...i,orientation:w,collapsedSize:s},L=(j=>{const{orientation:W,classes:V}=j,Q={root:["root",`${W}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${W}`],wrapperInner:["wrapperInner",`${W}`]};return r.composeClasses(Q,Pt,V)})(N),H=r.useTheme(),U=r.useTimeout(),P=de.useRef(null),z=de.useRef(),$=typeof s=="number"?`${s}px`:s,Y=w==="horizontal",A=Y?"width":"height",te=de.useRef(null),F=r.useForkRef(o,te),S=j=>W=>{if(j){const V=te.current;W===void 0?j(V):j(V,W)}},M=()=>P.current?P.current[Y?"clientWidth":"clientHeight"]:0,I=S((j,W)=>{P.current&&Y&&(P.current.style.position="absolute"),j.style[A]=$,p&&p(j,W)}),D=S((j,W)=>{const V=M();P.current&&Y&&(P.current.style.position="");const{duration:Q,easing:ae}=r.getTransitionProps({style:k,timeout:h,easing:c},{mode:"enter"});if(h==="auto"){const ne=H.transitions.getAutoHeightDuration(V);j.style.transitionDuration=`${ne}ms`,z.current=ne}else j.style.transitionDuration=typeof Q=="string"?Q:`${Q}ms`;j.style[A]=`${V}px`,j.style.transitionTimingFunction=ae,x&&x(j,W)}),_=S((j,W)=>{j.style[A]="auto",f&&f(j,W)}),B=S(j=>{j.style[A]=`${M()}px`,v&&v(j)}),J=S(y),q=S(j=>{const W=M(),{duration:V,easing:Q}=r.getTransitionProps({style:k,timeout:h,easing:c},{mode:"exit"});if(h==="auto"){const ae=H.transitions.getAutoHeightDuration(W);j.style.transitionDuration=`${ae}ms`,z.current=ae}else j.style.transitionDuration=typeof V=="string"?V:`${V}ms`;j.style[A]=$,j.style.transitionTimingFunction=Q,b&&b(j)});return m.jsx(T,{in:d,onEnter:I,onEntered:_,onEntering:D,onExit:B,onExited:J,onExiting:q,addEndListener:j=>{h==="auto"&&U.start(z.current||0,j),t&&t(te.current,j)},nodeRef:te,timeout:h==="auto"?null:h,...E,children:(j,{ownerState:W,...V})=>m.jsx(Ft,{as:u,className:r.clsx(L.root,a,{entered:L.entered,exited:!d&&$==="0px"&&L.hidden}[j]),style:{[Y?"minWidth":"minHeight"]:$,...k},ref:F,ownerState:{...N,state:j},...V,children:m.jsx(Nt,{ownerState:{...N,state:j},className:L.wrapper,ref:P,children:m.jsx(At,{ownerState:{...N,state:j},className:L.wrapperInner,children:n})})})})});function It(e){return r.generateUtilityClass("MuiCard",e)}Fe&&(Fe.muiSupportAuto=!0),r.generateUtilityClasses("MuiCard",["root"]);const Ht=r.styled(r.Paper,{name:"MuiCard",slot:"Root",overridesResolver:(e,o)=>o.root})({overflow:"hidden"}),qt=de.forwardRef(function(e,o){const i=r.useDefaultProps({props:e,name:"MuiCard"}),{className:t,raised:n=!1,...a}=i,s={...i,raised:n},u=(c=>{const{classes:d}=c;return r.composeClasses({root:["root"]},It,d)})(s);return m.jsx(Ht,{className:r.clsx(u.root,t),elevation:n?8:void 0,ref:o,ownerState:s,...a})});function zt(e){return r.generateUtilityClass("MuiCardActions",e)}r.generateUtilityClasses("MuiCardActions",["root","spacing"]);const Bt=r.styled("div",{name:"MuiCardActions",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:i}=e;return[o.root,!i.disableSpacing&&o.spacing]}})({display:"flex",alignItems:"center",padding:8,variants:[{props:{disableSpacing:!1},style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),Ut=de.forwardRef(function(e,o){const i=r.useDefaultProps({props:e,name:"MuiCardActions"}),{disableSpacing:t=!1,className:n,...a}=i,s={...i,disableSpacing:t},u=(c=>{const{classes:d,disableSpacing:p}=c,f={root:["root",!p&&"spacing"]};return r.composeClasses(f,zt,d)})(s);return m.jsx(Bt,{className:r.clsx(u.root,n),ownerState:s,ref:o,...a})}),Ke=typeof r.globalCss({})=="function",_t=(e,o)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...o&&!e.vars&&{colorScheme:e.palette.mode}}),Vt=e=>({color:(e.vars||e).palette.text.primary,...e.typography.body1,backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),et=(e,o=!1)=>{const i={};o&&e.colorSchemes&&typeof e.getColorSchemeSelector=="function"&&Object.entries(e.colorSchemes).forEach(([a,s])=>{const u=e.getColorSchemeSelector(a);u.startsWith("@")?i[u]={":root":{colorScheme:s.palette?.mode}}:i[u.replace(/\s*&/,"")]={colorScheme:s.palette?.mode}});let t={html:_t(e,o),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:{margin:0,...Vt(e),"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}},...i};const n=e.components?.MuiCssBaseline?.styleOverrides;return n&&(t=[t,n]),t},Re="mui-ecs",Xt=r.globalCss(Ke?({theme:e,enableColorScheme:o})=>et(e,o):({theme:e})=>(o=>{const i=et(o,!1),t=Array.isArray(i)?i[0]:i;return!o.vars&&t&&(t.html[`:root:has(${Re})`]={colorScheme:o.palette.mode}),o.colorSchemes&&Object.entries(o.colorSchemes).forEach(([n,a])=>{const s=o.getColorSchemeSelector(n);s.startsWith("@")?t[s]={[`:root:not(:has(.${Re}))`]:{colorScheme:a.palette?.mode}}:t[s.replace(/\s*&/,"")]={[`&:not(:has(.${Re}))`]:{colorScheme:a.palette?.mode}}}),i})(e));function Kt(e){const o=r.useDefaultProps({props:e,name:"MuiCssBaseline"}),{children:i,enableColorScheme:t=!1}=o;return m.jsxs(de.Fragment,{children:[Ke&&m.jsx(Xt,{enableColorScheme:t}),!Ke&&!t&&m.jsx("span",{className:Re,style:{display:"none"}}),i]})}const $t=r.createSvgIcon(m.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m3.59-13L12 10.59 8.41 7 7 8.41 10.59 12 7 15.59 8.41 17 12 13.41 15.59 17 17 15.59 13.41 12 17 8.41z"}),"CancelOutlined"),Gt=l.createContext(null),qe={didCatch:!1,error:null};class Zt extends l.Component{constructor(o){super(o),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=qe}static getDerivedStateFromError(o){return{didCatch:!0,error:o}}resetErrorBoundary(){const{error:o}=this.state;if(o!==null){for(var i,t,n=arguments.length,a=new Array(n),s=0;s<n;s++)a[s]=arguments[s];(i=(t=this.props).onReset)===null||i===void 0||i.call(t,{args:a,reason:"imperative-api"}),this.setState(qe)}}componentDidCatch(o,i){var t,n;(t=(n=this.props).onError)===null||t===void 0||t.call(n,o,i)}componentDidUpdate(o,i){const{didCatch:t}=this.state,{resetKeys:n}=this.props;var a,s;t&&i.error!==null&&function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return u.length!==c.length||u.some((d,p)=>!Object.is(d,c[p]))}(o.resetKeys,n)&&((a=(s=this.props).onReset)===null||a===void 0||a.call(s,{next:n,prev:o.resetKeys,reason:"keys"}),this.setState(qe))}render(){const{children:o,fallbackRender:i,FallbackComponent:t,fallback:n}=this.props,{didCatch:a,error:s}=this.state;let u=o;if(a){const c={error:s,resetErrorBoundary:this.resetErrorBoundary};if(typeof i=="function")u=i(c);else if(t)u=l.createElement(t,c);else{if(n===void 0)throw s;u=n}}return l.createElement(Gt.Provider,{value:{didCatch:a,error:s,resetErrorBoundary:this.resetErrorBoundary}},u)}}function ft(e){var o,i,t="";if(typeof e=="string"||typeof e=="number")t+=e;else if(typeof e=="object")if(Array.isArray(e))for(o=0;o<e.length;o++)e[o]&&(i=ft(e[o]))&&(t&&(t+=" "),t+=i);else for(o in e)e[o]&&(t&&(t+=" "),t+=o);return t}function ie(){for(var e,o,i=0,t="";i<arguments.length;)(e=arguments[i++])&&(o=ft(e))&&(t&&(t+=" "),t+=o);return t}let Yt={data:""},Jt=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,Qt=/\/\*[^]*?\*\/| +/g,tt=/\n+/g,ue=(e,o)=>{let i="",t="",n="";for(let a in e){let s=e[a];a[0]=="@"?a[1]=="i"?i=a+" "+s+";":t+=a[1]=="f"?ue(s,a):a+"{"+ue(s,a[1]=="k"?"":o)+"}":typeof s=="object"?t+=ue(s,o?o.replace(/([^,])+/g,u=>a.replace(/([^,]*:\S+\([^)]*\))|([^,])+/g,c=>/&/.test(c)?c.replace(/&/g,u):u?u+" "+c:c)):a):s!=null&&(a=/^--/.test(a)?a:a.replace(/[A-Z]/g,"-$&").toLowerCase(),n+=ue.p?ue.p(a,s):a+":"+s+";")}return i+(o&&n?o+"{"+n+"}":n)+t},oe={},ht=e=>{if(typeof e=="object"){let o="";for(let i in e)o+=i+ht(e[i]);return o}return e};function $e(e){let o=this||{},i=e.call?e(o.p):e;return((s,u,c,d,p)=>{let f=ht(s),x=oe[f]||(oe[f]=(h=>{let T=0,E=11;for(;T<h.length;)E=101*E+h.charCodeAt(T++)>>>0;return"go"+E})(f));if(!oe[x]){let h=f!==s?s:(T=>{let E,N,L=[{}];for(;E=Jt.exec(T.replace(Qt,""));)E[4]?L.shift():E[3]?(N=E[3].replace(tt," ").trim(),L.unshift(L[0][N]=L[0][N]||{})):L[0][E[1]]=E[2].replace(tt," ").trim();return L[0]})(s);oe[x]=ue(p?{["@keyframes "+x]:h}:h,c?"":"."+x)}let v=c&&oe.g?oe.g:null;return c&&(oe.g=oe[x]),y=oe[x],b=u,w=d,(k=v)?b.data=b.data.replace(k,y):b.data.indexOf(y)===-1&&(b.data=w?y+b.data:b.data+y),x;var y,b,w,k})(i.unshift?i.raw?(t=i,n=[].slice.call(arguments,1),a=o.p,t.reduce((s,u,c)=>{let d=n[c];if(d&&d.call){let p=d(a),f=p&&p.props&&p.props.className||/^go/.test(p)&&p;d=f?"."+f:p&&typeof p=="object"?p.props?"":ue(p,""):p===!1?"":p}return s+u+(d??"")},"")):i.reduce((s,u)=>Object.assign(s,u&&u.call?u(o.p):u),{}):i,(s=>typeof window=="object"?((s?s.querySelector("#_goober"):window._goober)||Object.assign((s||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:s||Yt)(o.target),o.g,o.o,o.k);var t,n,a}function gt(e,o,i){return o&&function(t,n){for(var a=0;a<n.length;a++){var s=n[a];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,s.key,s)}}(e.prototype,o),e}function O(){return O=Object.assign||function(e){for(var o=1;o<arguments.length;o++){var i=arguments[o];for(var t in i)Object.prototype.hasOwnProperty.call(i,t)&&(e[t]=i[t])}return e},O.apply(this,arguments)}function kt(e,o){e.prototype=Object.create(o.prototype),e.prototype.constructor=e,e.__proto__=o}function Ce(e,o){if(e==null)return{};var i,t,n={},a=Object.keys(e);for(t=0;t<a.length;t++)i=a[t],o.indexOf(i)>=0||(n[i]=e[i]);return n}function nt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}$e.bind({g:1}),$e.bind({k:1});var ot=function(){return""},bt=l.createContext({enqueueSnackbar:ot,closeSnackbar:ot}),ze="@media (max-width:599.95px)",Pe="@media (min-width:600px)",rt=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},Ze=function(e){return""+rt(e.vertical)+rt(e.horizontal)},je=function(e){return!!e||e===0},Me="unmounted",pe="exited",me="entering",xe="entered",it="exiting",Ye=function(e){function o(t){var n;n=e.call(this,t)||this;var a,s=t.appear;return n.appearStatus=null,t.in?s?(a=pe,n.appearStatus=me):a=xe:a=t.unmountOnExit||t.mountOnEnter?Me:pe,n.state={status:a},n.nextCallback=null,n}kt(o,e),o.getDerivedStateFromProps=function(t,n){return t.in&&n.status===Me?{status:pe}:null};var i=o.prototype;return i.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},i.componentDidUpdate=function(t){var n=null;if(t!==this.props){var a=this.state.status;this.props.in?a!==me&&a!==xe&&(n=me):a!==me&&a!==xe||(n=it)}this.updateStatus(!1,n)},i.componentWillUnmount=function(){this.cancelNextCallback()},i.getTimeouts=function(){var t=this.props.timeout,n=t,a=t;return t!=null&&typeof t!="number"&&typeof t!="string"&&(a=t.exit,n=t.enter),{exit:a,enter:n}},i.updateStatus=function(t,n){t===void 0&&(t=!1),n!==null?(this.cancelNextCallback(),n===me?this.performEnter(t):this.performExit()):this.props.unmountOnExit&&this.state.status===pe&&this.setState({status:Me})},i.performEnter=function(t){var n=this,a=this.props.enter,s=t,u=this.getTimeouts();t||a?(this.props.onEnter&&this.props.onEnter(this.node,s),this.safeSetState({status:me},function(){n.props.onEntering&&n.props.onEntering(n.node,s),n.onTransitionEnd(u.enter,function(){n.safeSetState({status:xe},function(){n.props.onEntered&&n.props.onEntered(n.node,s)})})})):this.safeSetState({status:xe},function(){n.props.onEntered&&n.props.onEntered(n.node,s)})},i.performExit=function(){var t=this,n=this.props.exit,a=this.getTimeouts();n?(this.props.onExit&&this.props.onExit(this.node),this.safeSetState({status:it},function(){t.props.onExiting&&t.props.onExiting(t.node),t.onTransitionEnd(a.exit,function(){t.safeSetState({status:pe},function(){t.props.onExited&&t.props.onExited(t.node)})})})):this.safeSetState({status:pe},function(){t.props.onExited&&t.props.onExited(t.node)})},i.cancelNextCallback=function(){this.nextCallback!==null&&this.nextCallback.cancel&&(this.nextCallback.cancel(),this.nextCallback=null)},i.safeSetState=function(t,n){n=this.setNextCallback(n),this.setState(t,n)},i.setNextCallback=function(t){var n=this,a=!0;return this.nextCallback=function(){a&&(a=!1,n.nextCallback=null,t())},this.nextCallback.cancel=function(){a=!1},this.nextCallback},i.onTransitionEnd=function(t,n){this.setNextCallback(n);var a=t==null&&!this.props.addEndListener;this.node&&!a?(this.props.addEndListener&&this.props.addEndListener(this.node,this.nextCallback),t!=null&&setTimeout(this.nextCallback,t)):setTimeout(this.nextCallback,0)},i.render=function(){var t=this.state.status;if(t===Me)return null;var n=this.props;return(0,n.children)(t,Ce(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]))},gt(o,[{key:"node",get:function(){var t,n=(t=this.props.nodeRef)===null||t===void 0?void 0:t.current;if(!n)throw new Error("notistack - Custom snackbar is not refForwarding");return n}}]),o}(l.Component);function fe(){}function at(e,o){typeof e=="function"?e(o):e&&(e.current=o)}function Ge(e,o){return l.useMemo(function(){return e==null&&o==null?null:function(i){at(e,i),at(o,i)}},[e,o])}function Ne(e){var o=e.timeout,i=e.style,t=i===void 0?{}:i,n=e.mode;return{duration:typeof o=="object"?o[n]||0:o,easing:t.transitionTimingFunction,delay:t.transitionDelay}}Ye.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:fe,onEntering:fe,onEntered:fe,onExit:fe,onExiting:fe,onExited:fe};var xt=function(e){e.scrollTop=e.scrollTop},st=function(e){return Math.round(e)+"ms"};function he(e,o){e===void 0&&(e=["all"]);var i=o||{},t=i.duration,n=t===void 0?300:t,a=i.easing,s=a===void 0?"cubic-bezier(0.4, 0, 0.2, 1)":a,u=i.delay,c=u===void 0?0:u;return(Array.isArray(e)?e:[e]).map(function(d){var p=typeof n=="string"?n:st(n),f=typeof c=="string"?c:st(c);return d+" "+p+" "+s+" "+f}).join(",")}function yt(e){var o;return((o=e)&&o.ownerDocument||document).defaultView||window}function Te(e,o){if(o){var i=function(t,n){var a,s=n.getBoundingClientRect(),u=yt(n);if(n.fakeTransform)a=n.fakeTransform;else{var c=u.getComputedStyle(n);a=c.getPropertyValue("-webkit-transform")||c.getPropertyValue("transform")}var d=0,p=0;if(a&&a!=="none"&&typeof a=="string"){var f=a.split("(")[1].split(")")[0].split(",");d=parseInt(f[4],10),p=parseInt(f[5],10)}switch(t){case"left":return"translateX("+(u.innerWidth+d-s.left)+"px)";case"right":return"translateX(-"+(s.left+s.width-d)+"px)";case"up":return"translateY("+(u.innerHeight+p-s.top)+"px)";default:return"translateY(-"+(s.top+s.height-p)+"px)"}}(e,o);i&&(o.style.webkitTransform=i,o.style.transform=i)}}var wt=l.forwardRef(function(e,o){var i=e.children,t=e.direction,n=t===void 0?"down":t,a=e.in,s=e.style,u=e.timeout,c=u===void 0?0:u,d=e.onEnter,p=e.onEntered,f=e.onExit,x=e.onExited,v=Ce(e,["children","direction","in","style","timeout","onEnter","onEntered","onExit","onExited"]),y=l.useRef(null),b=Ge(i.ref,y),w=Ge(b,o),k=l.useCallback(function(){y.current&&Te(n,y.current)},[n]);return l.useEffect(function(){if(!a&&n!=="down"&&n!=="right"){var h=function(E,N){var L;function H(){for(var U=this,P=arguments.length,z=new Array(P),$=0;$<P;$++)z[$]=arguments[$];clearTimeout(L),L=setTimeout(function(){E.apply(U,z)},N)}return N===void 0&&(N=166),H.clear=function(){clearTimeout(L)},H}(function(){y.current&&Te(n,y.current)}),T=yt(y.current);return T.addEventListener("resize",h),function(){h.clear(),T.removeEventListener("resize",h)}}},[n,a]),l.useEffect(function(){a||k()},[a,k]),l.createElement(Ye,Object.assign({appear:!0,nodeRef:y,onEnter:function(h,T){Te(n,h),xt(h),d&&d(h,T)},onEntered:p,onEntering:function(h){var T=Ne({timeout:c,mode:"enter",style:O({},s,{transitionTimingFunction:s?.transitionTimingFunction||"cubic-bezier(0.0, 0, 0.2, 1)"})});h.style.webkitTransition=he("-webkit-transform",T),h.style.transition=he("transform",T),h.style.webkitTransform="none",h.style.transform="none"},onExit:function(h){var T=Ne({timeout:c,mode:"exit",style:O({},s,{transitionTimingFunction:s?.transitionTimingFunction||"cubic-bezier(0.4, 0, 0.6, 1)"})});h.style.webkitTransition=he("-webkit-transform",T),h.style.transition=he("transform",T),Te(n,h),f&&f(h)},onExited:function(h){h.style.webkitTransition="",h.style.transition="",x&&x(h)},in:a,timeout:c},v),function(h,T){return l.cloneElement(i,O({ref:w,style:O({visibility:h!=="exited"||a?void 0:"hidden"},s,{},i.props.style)},T))})});wt.displayName="Slide";var Le=function(e){return l.createElement("svg",Object.assign({viewBox:"0 0 24 24",focusable:"false",style:{fontSize:20,marginInlineEnd:8,userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0}},e))},ce={maxSnack:3,persist:!1,hideIconVariant:!1,disableWindowBlurListener:!1,variant:"default",autoHideDuration:5e3,iconVariant:{default:void 0,success:l.createElement(function(){return l.createElement(Le,null,l.createElement("path",{d:`M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41
7
7
  10.59L10 14.17L17.59 6.58L19 8L10 17Z`}))},null),warning:l.createElement(function(){return l.createElement(Le,null,l.createElement("path",{d:"M13,14H11V10H13M13,18H11V16H13M1,21H23L12,2L1,21Z"}))},null),error:l.createElement(function(){return l.createElement(Le,null,l.createElement("path",{d:`M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,
8
8
  6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,
9
9
  13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z`}))},null),info:l.createElement(function(){return l.createElement(Le,null,l.createElement("path",{d:`M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,
10
- 0 22,12A10,10 0 0,0 12,2Z`}))},null)},anchorOrigin:{vertical:"bottom",horizontal:"left"},TransitionComponent:wt,transitionDuration:{enter:225,exit:195}};function Se(e){return Object.entries(e).reduce(function(o,i){var t,n=i[0],a=i[1];return O({},o,((t={})[n]=$e(a),t))},{})}var vt="notistack-CollapseWrapper",en=function(e){return"notistack-MuiContent-"+e},lt=Se({root:{height:0},entered:{height:"auto"}}),Be="0px",Et=l.forwardRef(function(e,o){var i=e.children,t=e.in,n=e.onExited,a=l.useRef(null),s=l.useRef(null),u=Ge(o,s),c=function(){return a.current?a.current.clientHeight:0};return l.createElement(Je,{in:t,unmountOnExit:!0,onEnter:function(d){d.style.height=Be},onEntered:function(d){d.style.height="auto"},onEntering:function(d){var p=c(),f=Ne({timeout:175,mode:"enter"}),x=f.duration,v=f.easing;d.style.transitionDuration=typeof x=="string"?x:x+"ms",d.style.height=p+"px",d.style.transitionTimingFunction=v||""},onExit:function(d){d.style.height=c()+"px"},onExited:n,onExiting:function(d){xt(d);var p=Ne({timeout:175,mode:"exit"}),f=p.duration,x=p.easing;d.style.transitionDuration=typeof f=="string"?f:f+"ms",d.style.height=Be,d.style.transitionTimingFunction=x||""},nodeRef:s,timeout:175},function(d,p){return l.createElement("div",Object.assign({ref:u,className:ie(lt.root,d==="entered"&&lt.entered),style:O({pointerEvents:"all",overflow:"hidden",minHeight:Be,transition:he("height")},d==="entered"&&{overflow:"visible"},{},d==="exited"&&!t&&{visibility:"hidden"})},p),l.createElement("div",{ref:a,className:vt,style:{display:"flex",width:"100%"}},i))})});Et.displayName="Collapse";var ct={right:"left",left:"right",bottom:"up",top:"down"},tn=function(e){return"anchorOrigin"+Ze(e)},nn=function(){};function Ee(e,o){return e.reduce(function(i,t){return t==null?i:function(){for(var n=arguments.length,a=new Array(n),s=0;s<n;s++)a[s]=arguments[s];var u=[].concat(a);o&&u.indexOf(o)===-1&&u.push(o),i.apply(this,u),t.apply(this,u)}},nn)}var on=typeof window<"u"?l.useLayoutEffect:l.useEffect;function ut(e){var o=l.useRef(e);return on(function(){o.current=e}),l.useCallback(function(){return o.current.apply(void 0,arguments)},[])}var _e,Ct=l.forwardRef(function(e,o){var i=e.children,t=e.className,n=e.autoHideDuration,a=e.disableWindowBlurListener,s=a!==void 0&&a,u=e.onClose,c=e.id,d=e.open,p=e.SnackbarProps,f=p===void 0?{}:p,x=l.useRef(),v=ut(function(){u&&u.apply(void 0,arguments)}),y=ut(function(k){u&&k!=null&&(x.current&&clearTimeout(x.current),x.current=setTimeout(function(){v(null,"timeout",c)},k))});l.useEffect(function(){return d&&y(n),function(){x.current&&clearTimeout(x.current)}},[d,n,y]);var b=function(){x.current&&clearTimeout(x.current)},w=l.useCallback(function(){n!=null&&y(.5*n)},[n,y]);return l.useEffect(function(){if(!s&&d)return window.addEventListener("focus",w),window.addEventListener("blur",b),function(){window.removeEventListener("focus",w),window.removeEventListener("blur",b)}},[s,w,d]),l.createElement("div",Object.assign({ref:o},f,{className:ie("notistack-Snackbar",t),onMouseEnter:function(k){f.onMouseEnter&&f.onMouseEnter(k),b()},onMouseLeave:function(k){f.onMouseLeave&&f.onMouseLeave(k),w()}}),i)});Ct.displayName="Snackbar";var rn=Se({root:(_e={display:"flex",flexWrap:"wrap",flexGrow:1},_e[Pe]={flexGrow:"initial",minWidth:"288px"},_e)}),Qe=l.forwardRef(function(e,o){var i=e.className,t=Ce(e,["className"]);return l.createElement("div",Object.assign({ref:o,className:ie(rn.root,i)},t))});Qe.displayName="SnackbarContent";var ye=Se({root:{backgroundColor:"#313131",fontSize:"0.875rem",lineHeight:1.43,letterSpacing:"0.01071em",color:"#fff",alignItems:"center",padding:"6px 16px",borderRadius:"4px",boxShadow:"0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12)"},lessPadding:{paddingLeft:"20px"},default:{backgroundColor:"#313131"},success:{backgroundColor:"#43a047"},error:{backgroundColor:"#d32f2f"},warning:{backgroundColor:"#ff9800"},info:{backgroundColor:"#2196f3"},message:{display:"flex",alignItems:"center",padding:"8px 0"},action:{display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:"16px",marginRight:"-8px"}}),dt="notistack-snackbar",St=l.forwardRef(function(e,o){var i=e.id,t=e.message,n=e.action,a=e.iconVariant,s=e.variant,u=e.hideIconVariant,c=e.style,d=e.className,p=a[s],f=n;return typeof f=="function"&&(f=f(i)),l.createElement(Qe,{ref:o,role:"alert","aria-describedby":dt,style:c,className:ie("notistack-MuiContent",en(s),ye.root,ye[s],d,!u&&p&&ye.lessPadding)},l.createElement("div",{id:dt,className:ye.message},u?null:p,t),f&&l.createElement("div",{className:ye.action},f))});St.displayName="MaterialDesignContent";var we,Ue,De,Oe,Xe,an=l.memo(St),sn=Se({wrappedRoot:{width:"100%",position:"relative",transform:"translateX(0)",top:0,right:0,bottom:0,left:0,minWidth:"288px"}}),ln=function(e){var o=l.useRef(),i=l.useState(!0),t=i[0],n=i[1],a=Ee([e.snack.onClose,e.onClose]),s=l.useCallback(function(){o.current=setTimeout(function(){n(function(_){return!_})},125)},[]);l.useEffect(function(){return function(){o.current&&clearTimeout(o.current)}},[]);var u,c=e.snack,d=e.classes,p=e.Component,f=p===void 0?an:p,x=l.useMemo(function(){return function(_){_===void 0&&(_={});var P={containerRoot:!0,containerAnchorOriginTopCenter:!0,containerAnchorOriginBottomCenter:!0,containerAnchorOriginTopRight:!0,containerAnchorOriginBottomRight:!0,containerAnchorOriginTopLeft:!0,containerAnchorOriginBottomLeft:!0};return Object.keys(_).filter(function(z){return!P[z]}).reduce(function(z,$){var J;return O({},z,((J={})[$]=_[$],J))},{})}(d)},[d]),v=c.open,y=c.SnackbarProps,b=c.TransitionComponent,w=c.TransitionProps,k=c.transitionDuration,h=c.disableWindowBlurListener,T=c.content,E=Ce(c,["open","SnackbarProps","TransitionComponent","TransitionProps","transitionDuration","disableWindowBlurListener","content","entered","requestClose","onEnter","onEntered","onExit","onExited"]),N=O({direction:(u=E.anchorOrigin,u.horizontal!=="center"?ct[u.horizontal]:ct[u.vertical]),timeout:k},w),L=T;typeof L=="function"&&(L=L(E.id,E.message));var H=["onEnter","onEntered","onExit","onExited"].reduce(function(_,P){var z;return O({},_,((z={})[P]=Ee([e.snack[P],e[P]],E.id),z))},{});return l.createElement(Et,{in:t,onExited:H.onExited},l.createElement(Ct,{open:v,id:E.id,disableWindowBlurListener:h,autoHideDuration:E.autoHideDuration,className:ie(sn.wrappedRoot,x.root,x[tn(E.anchorOrigin)]),SnackbarProps:y,onClose:a},l.createElement(b,Object.assign({},N,{appear:!0,in:v,onExit:H.onExit,onExited:s,onEnter:H.onEnter,onEntered:Ee([H.onEntered,function(){e.snack.requestClose&&a(null,"instructed",e.snack.id)}],E.id)}),L||l.createElement(f,Object.assign({},E)))))},ve=20,Ve=6,cn=2,pt="."+vt,We=Se({root:(we={boxSizing:"border-box",display:"flex",maxHeight:"100%",position:"fixed",zIndex:1400,height:"auto",width:"auto",transition:he(["top","right","bottom","left","max-width"],{duration:300,easing:"ease"}),pointerEvents:"none"},we[pt]={padding:Ve+"px 0px",transition:"padding 300ms ease 0ms"},we.maxWidth="calc(100% - "+2*ve+"px)",we[ze]={width:"100%",maxWidth:"calc(100% - 32px)"},we),rootDense:(Ue={},Ue[pt]={padding:cn+"px 0px"},Ue),top:{top:ve-Ve+"px",flexDirection:"column"},bottom:{bottom:ve-Ve+"px",flexDirection:"column-reverse"},left:(De={left:ve+"px"},De[Pe]={alignItems:"flex-start"},De[ze]={left:"16px"},De),right:(Oe={right:ve+"px"},Oe[Pe]={alignItems:"flex-end"},Oe[ze]={right:"16px"},Oe),center:(Xe={left:"50%",transform:"translateX(-50%)"},Xe[Pe]={alignItems:"center"},Xe)}),un=l.memo(function(e){var o=e.classes,i=o===void 0?{}:o,t=e.anchorOrigin,n=e.dense,a=e.children,s=ie("notistack-SnackbarContainer",We[t.vertical],We[t.horizontal],We.root,i.containerRoot,i["containerAnchorOrigin"+Ze(t)],n&&We.rootDense);return l.createElement("div",{className:s},a)}),mt=function(e){return!(typeof e=="string"||l.isValidElement(e))},dn=function(e){function o(i){var t;return(t=e.call(this,i)||this).enqueueSnackbar=function(n,a){if(a===void 0&&(a={}),n==null)throw new Error("enqueueSnackbar called with invalid argument");var s=mt(n)?n:a,u=mt(n)?n.message:n,c=s.key,d=s.preventDuplicate,p=Ce(s,["key","preventDuplicate"]),f=je(c),x=f?c:new Date().getTime()+Math.random(),v=function(b,w){return function(k,h){return h===void 0&&(h=!1),h?O({},ce[k],{},w[k],{},b[k]):k==="autoHideDuration"?(L=b.autoHideDuration,H=w.autoHideDuration,(_=function(P){return typeof P=="number"||P===null})(L)?L:_(H)?H:ce.autoHideDuration):k==="transitionDuration"?(T=b.transitionDuration,E=w.transitionDuration,(N=function(P,z){return z.some(function($){return typeof P===$})})(T,["string","number"])?T:N(T,["object"])?O({},ce.transitionDuration,{},N(E,["object"])&&E,{},T):N(E,["string","number"])?E:N(E,["object"])?O({},ce.transitionDuration,{},E):ce.transitionDuration):b[k]||w[k]||ce[k];var T,E,N,L,H,_}}(p,t.props),y=O({id:x},p,{message:u,open:!0,entered:!1,requestClose:!1,persist:v("persist"),action:v("action"),content:v("content"),variant:v("variant"),anchorOrigin:v("anchorOrigin"),disableWindowBlurListener:v("disableWindowBlurListener"),autoHideDuration:v("autoHideDuration"),hideIconVariant:v("hideIconVariant"),TransitionComponent:v("TransitionComponent"),transitionDuration:v("transitionDuration"),TransitionProps:v("TransitionProps",!0),iconVariant:v("iconVariant",!0),style:v("style",!0),SnackbarProps:v("SnackbarProps",!0),className:ie(t.props.className,p.className)});return y.persist&&(y.autoHideDuration=void 0),t.setState(function(b){if(d===void 0&&t.props.preventDuplicate||d){var w=function(T){return f?T.id===x:T.message===u},k=b.queue.findIndex(w)>-1,h=b.snacks.findIndex(w)>-1;if(k||h)return b}return t.handleDisplaySnack(O({},b,{queue:[].concat(b.queue,[y])}))}),x},t.handleDisplaySnack=function(n){return n.snacks.length>=t.maxSnack?t.handleDismissOldest(n):t.processQueue(n)},t.processQueue=function(n){var a=n.queue,s=n.snacks;return a.length>0?O({},n,{snacks:[].concat(s,[a[0]]),queue:a.slice(1,a.length)}):n},t.handleDismissOldest=function(n){if(n.snacks.some(function(c){return!c.open||c.requestClose}))return n;var a=!1,s=!1;n.snacks.reduce(function(c,d){return c+(d.open&&d.persist?1:0)},0)===t.maxSnack&&(s=!0);var u=n.snacks.map(function(c){return a||c.persist&&!s?O({},c):(a=!0,c.entered?(c.onClose&&c.onClose(null,"maxsnack",c.id),t.props.onClose&&t.props.onClose(null,"maxsnack",c.id),O({},c,{open:!1})):O({},c,{requestClose:!0}))});return O({},n,{snacks:u})},t.handleEnteredSnack=function(n,a,s){if(!je(s))throw new Error("handleEnteredSnack Cannot be called with undefined key");t.setState(function(u){return{snacks:u.snacks.map(function(c){return c.id===s?O({},c,{entered:!0}):O({},c)})}})},t.handleCloseSnack=function(n,a,s){t.props.onClose&&t.props.onClose(n,a,s);var u=s===void 0;t.setState(function(c){var d=c.snacks,p=c.queue;return{snacks:d.map(function(f){return u||f.id===s?f.entered?O({},f,{open:!1}):O({},f,{requestClose:!0}):O({},f)}),queue:p.filter(function(f){return f.id!==s})}})},t.closeSnackbar=function(n){var a=t.state.snacks.find(function(s){return s.id===n});je(n)&&a&&a.onClose&&a.onClose(null,"instructed",n),t.handleCloseSnack(null,"instructed",n)},t.handleExitedSnack=function(n,a){if(!je(a))throw new Error("handleExitedSnack Cannot be called with undefined key");t.setState(function(s){var u=t.processQueue(O({},s,{snacks:s.snacks.filter(function(c){return c.id!==a})}));return u.queue.length===0?u:t.handleDismissOldest(u)})},t.enqueueSnackbar,t.closeSnackbar,t.state={snacks:[],queue:[],contextValue:{enqueueSnackbar:t.enqueueSnackbar.bind(nt(t)),closeSnackbar:t.closeSnackbar.bind(nt(t))}},t}return kt(o,e),o.prototype.render=function(){var i=this,t=this.state.contextValue,n=this.props,a=n.domRoot,s=n.children,u=n.dense,c=u!==void 0&&u,d=n.Components,p=d===void 0?{}:d,f=n.classes,x=this.state.snacks.reduce(function(y,b){var w,k=Ze(b.anchorOrigin),h=y[k]||[];return O({},y,((w={})[k]=[].concat(h,[b]),w))},{}),v=Object.keys(x).map(function(y){var b=x[y],w=b[0];return l.createElement(un,{key:y,dense:c,anchorOrigin:w.anchorOrigin,classes:f},b.map(function(k){return l.createElement(ln,{key:k.id,snack:k,classes:f,Component:p[k.variant],onClose:i.handleCloseSnack,onEnter:i.props.onEnter,onExit:i.props.onExit,onExited:Ee([i.handleExitedSnack,i.props.onExited],k.id),onEntered:Ee([i.handleEnteredSnack,i.props.onEntered],k.id)})}))});return l.createElement(bt.Provider,{value:t},s,a?Wt.createPortal(v,a):v)},gt(o,[{key:"maxSnack",get:function(){return this.props.maxSnack||ce.maxSnack}}]),o}(l.Component),jt=function(){return l.useContext(bt)};const re={card:"_card_r6a8n_13",actionRoot:"_actionRoot_r6a8n_21",icons:"_icons_r6a8n_31",expand:"_expand_r6a8n_43",expandOpen:"_expandOpen_r6a8n_57",stackTraceContainer:"_stackTraceContainer_r6a8n_65"},Mt=l.forwardRef((e,o)=>{const{id:i,message:t,iconVariant:n,error:a,hideIconVariant:s,...u}=e,{closeSnackbar:c}=jt(),d=r.Js(),[p,f]=l.useState(!1),x=l.useCallback(()=>{f(b=>!b)},[]),v=l.useCallback(()=>{c(i)},[i,c]),y=a?.message||String(t);return m.jsx(Qe,{ref:o,className:r.Go(re.root,"error-snackbar"),children:m.jsxs(qt,{className:re.card,style:{backgroundColor:d.palette.error.dark,border:`1px solid ${d.palette.error.dark}`},children:[m.jsxs(_t,{className:re.actionRoot,children:[s?null:n?.error,m.jsx(r.Typography,{variant:"body2",component:"div",className:re.typography,style:{color:d.palette.text.primary},children:y}),m.jsx("div",{style:{flex:"1 1 auto"}}),m.jsxs("div",{className:re.icons,children:[a?m.jsx(r.IconButton,{"aria-label":"Show more",size:"small",className:r.Go(re.expand,{[re.expandOpen]:p}),style:{color:d.palette.action.active},onClick:x,children:m.jsx(r.Xn,{})}):null,m.jsx(r.IconButton,{size:"small",className:re.expand,style:{color:d.palette.action.active},onClick:v,children:m.jsx(r.vo,{fontSize:"small"})})]})]}),a?m.jsx(Fe,{in:p,timeout:"auto",unmountOnExit:!0,children:m.jsx("div",{className:re.stackTraceContainer,style:{backgroundColor:d.palette.error.light,borderTop:`1px solid ${d.palette.error.main}`},children:m.jsx(r.ok,{error:a,hideLineNumbers:!0})})}):null]})})});Mt.displayName="ToastError";const Tt=l.memo(l.forwardRef((e,o)=>{const{commands:i,commandHook:t,scope:n="workbook",disabled:a=!1,...s}=e,u=r.Te(d=>{const p={variant:r.pn.Menuitem,parentFloat:d.floatReference,commandHook:t,scope:n,disabled:a},f=m.jsxs(m.Fragment,{children:[m.jsx(r.qe,{...p,command:i.getCommand("newWorkbook"),icon:r.Le(m.jsx(r.qK,{}))}),m.jsx(r.en,{orientation:"horizontal"}),m.jsx(r.qe,{...p,command:i.getCommand("openWorkbook"),icon:r.Le(m.jsx(r.KK,{}))}),m.jsx(r.go,{...p,commands:i,quickCommand:"saveWorkbook",icon:r.Le(m.jsx(r.XK,{})),createPopupPanel:x=>{const v={...p,parentFloat:x.floatReference,scope:"saveWorkbook"},y=[];return r.xX.getWriteFormats().forEach(b=>{if(b.isDefault)return;let w=null;b.key==="CSV"?w=r.Le(m.jsx(r.YK,{})):b.key==="Excel"&&(w=r.Le(m.jsx(r.ZK,{})));const k=i.getCommand(`saveWorkbookAs${b.key}`);k?y.push(l.createElement(r.qe,{...v,key:b.key,command:k,icon:w})):console.warn(`Unable to resolve command: 'saveWorkbookAs${b.key}'`)}),r.eo({...x,children:y,onClick:()=>{x.closeFloatAll()}})}})]});return r.eo({...d,children:f,onClick:x=>{x.isDefaultPrevented||d.closeFloatAll()}})},[a,i,t,n]),c="File";return m.jsx(r.go,{commands:i,disabled:a,commandHook:t,scope:n,label:c,tooltip:"Options for saving and loading the workbook.",sx:{paddingBottom:"0px","& button":{paddingTop:"0px",paddingBottom:"0px",height:d=>`calc(1.25rem + ${d.spacing(2)}px)`}},...s,createPopupPanel:u,icon:m.jsx(r.lu,{className:"label",icon:null,label:c})})}));Tt.displayName="StandaloneFileCommandButton";const pn=m.jsx(r.ii,{label:"SheetXL",description:"Visit me at sheetxl.com.",children:m.jsx(r.Box,{sx:{width:"24px",height:"24px",marginBottom:"4px",marginLeft:"6px"},children:m.jsx(r.gX,{onClick:()=>{window?.open("https://www.sheetxl.com","_blank")},style:{width:"24px",height:"24px",cursor:"pointer"}})})}),Lt=l.memo(l.forwardRef((e,o)=>{const{commands:i,workbook:t,logo:n=pn,mainElement:a,showFileMenu:s=!0,showAppearanceMenu:u=!0,...c}=e,{reference:d}=r.El(),[p,{width:f}]=r.og(),x=f<530,v=s?m.jsx(Tt,{commands:i,commandHook:{beforeExecute(){d?.closeAll()},onError(k,h,T){}}}):null,y=u?m.jsx(r.yX,{commands:i,commandHook:{beforeExecute(){d?.closeAll()},onError(k,h,T){}}}):null,b=l.useMemo(()=>({paddingLeft:k=>k.spacing(1),paddingRight:k=>k.spacing(1)}),[]),w=l.useRef(null);return m.jsx(r.Box,{ref:r.z6([w,p,o]),...c,children:r.iK({commands:i,renderCompact:x,workbook:t,selectWrapper:k=>m.jsxs(r.Box,{sx:{display:"flex",flex:"1",flexDirection:"row",alignItems:"stretch",gap:h=>h.spacing(1),paddingLeft:h=>h.spacing(1),paddingRight:h=>h.spacing(1)},children:[m.jsxs(r.Box,{sx:{display:"flex",flexDirection:"row",alignItems:"center",flex:"1 1 100%",gap:h=>h.spacing(.5)},children:[n,m.jsxs(r.Box,{sx:{display:"flex",flexDirection:"row",alignItems:"center",gap:h=>h.spacing(.25)},children:[v,k]})]}),m.jsx(r.Box,{sx:{display:"flex",flexDirection:"row",flex:"1 1 300%",overflow:"hidden",alignItems:"center",justifyContent:"center"},children:a}),m.jsx(r.Box,{sx:{display:"flex",alignItems:"center",justifyContent:"end",flex:x&&!y?"0 0 auto":"1 1 100%"},children:y})]}),selectProps:b,toolbarsProps:{Home:{sx:{}}}})})}));Lt.displayName="StandaloneWorkbookToolbar";const Dt=l.memo(l.forwardRef((e,o)=>{const{workbook:i,setWorkbook:t,refWorkbookTitle:n,titleWorkbook:a,setWorkbookTitle:s,titlePlaceHolder:u,children:c,undoManager:d,commands:p,importExportDisabled:f,themeModeOptions:x}=e,v=jt(),y=v?v.enqueueSnackbar:()=>{},b=v?v.closeSnackbar:()=>{},[w,k]=l.useState({isMounted:!1,label:null,starting:new Map,running:new Map}),h=l.useCallback(()=>{k(F=>({...F,isMounted:!0}))},[]),T=l.useCallback(()=>{k(F=>({...F,isMounted:!1}))},[]),E=r.aX(),N=r.cX(),L=r.dX(),H=l.useRef(new Set),_=l.useMemo(()=>{const F=(S,M)=>{if(M?.onceKey){if(H.current.has(M.onceKey))return;const D=new Set(H.current);D.add(M.onceKey),H.current=D}const I={variant:M?.type??r._l.Info,anchorOrigin:{vertical:"top",horizontal:"center"},preventDuplicate:M?.preventDuplicate,persist:M?.persist??M?.type===r._l.Error,action:D=>m.jsx(r.IconButton,{onClick:()=>b(D),children:m.jsx($t,{})})};M?.enqueueProps&&Object.assign(I,M.enqueueProps),S||console.log("message is 'null'",M),y(S??"Alert",I)};return{showMessage:F,showBusy:(S,M)=>{let I=null;const D=new Promise(U=>{I=U});return k(U=>{const B=new Map(U.starting);return B.set(D,I),{...U,label:S,starting:B}}),D},showWindow:(S,M,I)=>{const D={...M,onKeyDown:U=>{p?.dispatchToFocusedCommand(U),U.isDefaultPrevented()||U.isPropagationStopped()||M?.onKeyDown?.(U)}};return E(S,{sort:()=>Promise.resolve().then(()=>require("./BCwQKO-V-abKxWJ_.cjs")),numberFormat:()=>Promise.resolve().then(()=>require("./B29HyGkvyTaqtIuC.cjs")),hyperlink:()=>Promise.resolve().then(()=>require("./CU_R48ZMXIyABak8.cjs")),comments:()=>Promise.resolve().then(()=>require("./Dj5Aixw77uvtuMcZ.cjs")),find:()=>Promise.resolve().then(()=>require("./D9PapZZefCMRgdbF.cjs")),tableDetails:()=>Promise.resolve().then(()=>require("./C3cZA4YXXR0nGmiX.cjs")),tableNew:()=>Promise.resolve().then(()=>require("./BIhAYujRx9pHZ67U.cjs")),namedDetails:()=>Promise.resolve().then(()=>require("./ClXPeqKnCdO5VQd1.cjs"))}[S],D,I)},showOptions:N,showInputOptions:L,showError:S=>{let M,I=r._l.Error,D="Unknown Error";typeof S=="string"?D=S:S instanceof Error&&(M=S,S.message&&(D=S.message)),S instanceof r.EA&&(I=r._l.Info),F(D,{type:I,enqueueProps:{error:M}})}}},[]),P=l.useCallback(()=>{},[]),z=(F=>{const{workbook:S,setWorkbook:M,importExportDisabled:I,workbookTitle:D="export",setWorkbookTitle:U,notifier:B,requestWorkbookTitle:Q,themeModeOptions:q,undoManager:j,commands:W,onExecute:X}=F,Y=r.Te(q?.onForceModeChange,[q?.onForceModeChange]),ae=r.Te(q?.onForceLightGridChange,[q?.onForceLightGridChange]),ne=r.Te(q?.onForceLightImagesChange,[q?.onForceLightImagesChange]),Ae=r.Te(async(R=null,Z=null)=>{const g=[];let C,V=null,ee=null;if(typeof R=="string"?ee=R:V=R,C=V?R:await r.un.openFileDialog(ee??r.xX.getAllReadFormatTypeAsString().join(",")),!C)return null;const se={source:C,constructorOptions:Z,onWarning:He=>{g.push(He)}},be=await r.xX.read(se,B);return g.length>0&&(B?.showMessage?.("Some elements were not able to be imported. See console for details."),console.warn(`Import warnings:
10
+ 0 22,12A10,10 0 0,0 12,2Z`}))},null)},anchorOrigin:{vertical:"bottom",horizontal:"left"},TransitionComponent:wt,transitionDuration:{enter:225,exit:195}};function Se(e){return Object.entries(e).reduce(function(o,i){var t,n=i[0],a=i[1];return O({},o,((t={})[n]=$e(a),t))},{})}var vt="notistack-CollapseWrapper",en=function(e){return"notistack-MuiContent-"+e},lt=Se({root:{height:0},entered:{height:"auto"}}),Be="0px",Et=l.forwardRef(function(e,o){var i=e.children,t=e.in,n=e.onExited,a=l.useRef(null),s=l.useRef(null),u=Ge(o,s),c=function(){return a.current?a.current.clientHeight:0};return l.createElement(Ye,{in:t,unmountOnExit:!0,onEnter:function(d){d.style.height=Be},onEntered:function(d){d.style.height="auto"},onEntering:function(d){var p=c(),f=Ne({timeout:175,mode:"enter"}),x=f.duration,v=f.easing;d.style.transitionDuration=typeof x=="string"?x:x+"ms",d.style.height=p+"px",d.style.transitionTimingFunction=v||""},onExit:function(d){d.style.height=c()+"px"},onExited:n,onExiting:function(d){xt(d);var p=Ne({timeout:175,mode:"exit"}),f=p.duration,x=p.easing;d.style.transitionDuration=typeof f=="string"?f:f+"ms",d.style.height=Be,d.style.transitionTimingFunction=x||""},nodeRef:s,timeout:175},function(d,p){return l.createElement("div",Object.assign({ref:u,className:ie(lt.root,d==="entered"&&lt.entered),style:O({pointerEvents:"all",overflow:"hidden",minHeight:Be,transition:he("height")},d==="entered"&&{overflow:"visible"},{},d==="exited"&&!t&&{visibility:"hidden"})},p),l.createElement("div",{ref:a,className:vt,style:{display:"flex",width:"100%"}},i))})});Et.displayName="Collapse";var ct={right:"left",left:"right",bottom:"up",top:"down"},tn=function(e){return"anchorOrigin"+Ze(e)},nn=function(){};function Ee(e,o){return e.reduce(function(i,t){return t==null?i:function(){for(var n=arguments.length,a=new Array(n),s=0;s<n;s++)a[s]=arguments[s];var u=[].concat(a);o&&u.indexOf(o)===-1&&u.push(o),i.apply(this,u),t.apply(this,u)}},nn)}var on=typeof window<"u"?l.useLayoutEffect:l.useEffect;function ut(e){var o=l.useRef(e);return on(function(){o.current=e}),l.useCallback(function(){return o.current.apply(void 0,arguments)},[])}var Ue,Ct=l.forwardRef(function(e,o){var i=e.children,t=e.className,n=e.autoHideDuration,a=e.disableWindowBlurListener,s=a!==void 0&&a,u=e.onClose,c=e.id,d=e.open,p=e.SnackbarProps,f=p===void 0?{}:p,x=l.useRef(),v=ut(function(){u&&u.apply(void 0,arguments)}),y=ut(function(k){u&&k!=null&&(x.current&&clearTimeout(x.current),x.current=setTimeout(function(){v(null,"timeout",c)},k))});l.useEffect(function(){return d&&y(n),function(){x.current&&clearTimeout(x.current)}},[d,n,y]);var b=function(){x.current&&clearTimeout(x.current)},w=l.useCallback(function(){n!=null&&y(.5*n)},[n,y]);return l.useEffect(function(){if(!s&&d)return window.addEventListener("focus",w),window.addEventListener("blur",b),function(){window.removeEventListener("focus",w),window.removeEventListener("blur",b)}},[s,w,d]),l.createElement("div",Object.assign({ref:o},f,{className:ie("notistack-Snackbar",t),onMouseEnter:function(k){f.onMouseEnter&&f.onMouseEnter(k),b()},onMouseLeave:function(k){f.onMouseLeave&&f.onMouseLeave(k),w()}}),i)});Ct.displayName="Snackbar";var rn=Se({root:(Ue={display:"flex",flexWrap:"wrap",flexGrow:1},Ue[Pe]={flexGrow:"initial",minWidth:"288px"},Ue)}),Je=l.forwardRef(function(e,o){var i=e.className,t=Ce(e,["className"]);return l.createElement("div",Object.assign({ref:o,className:ie(rn.root,i)},t))});Je.displayName="SnackbarContent";var ye=Se({root:{backgroundColor:"#313131",fontSize:"0.875rem",lineHeight:1.43,letterSpacing:"0.01071em",color:"#fff",alignItems:"center",padding:"6px 16px",borderRadius:"4px",boxShadow:"0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12)"},lessPadding:{paddingLeft:"20px"},default:{backgroundColor:"#313131"},success:{backgroundColor:"#43a047"},error:{backgroundColor:"#d32f2f"},warning:{backgroundColor:"#ff9800"},info:{backgroundColor:"#2196f3"},message:{display:"flex",alignItems:"center",padding:"8px 0"},action:{display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:"16px",marginRight:"-8px"}}),dt="notistack-snackbar",St=l.forwardRef(function(e,o){var i=e.id,t=e.message,n=e.action,a=e.iconVariant,s=e.variant,u=e.hideIconVariant,c=e.style,d=e.className,p=a[s],f=n;return typeof f=="function"&&(f=f(i)),l.createElement(Je,{ref:o,role:"alert","aria-describedby":dt,style:c,className:ie("notistack-MuiContent",en(s),ye.root,ye[s],d,!u&&p&&ye.lessPadding)},l.createElement("div",{id:dt,className:ye.message},u?null:p,t),f&&l.createElement("div",{className:ye.action},f))});St.displayName="MaterialDesignContent";var we,_e,De,Oe,Ve,an=l.memo(St),sn=Se({wrappedRoot:{width:"100%",position:"relative",transform:"translateX(0)",top:0,right:0,bottom:0,left:0,minWidth:"288px"}}),ln=function(e){var o=l.useRef(),i=l.useState(!0),t=i[0],n=i[1],a=Ee([e.snack.onClose,e.onClose]),s=l.useCallback(function(){o.current=setTimeout(function(){n(function(U){return!U})},125)},[]);l.useEffect(function(){return function(){o.current&&clearTimeout(o.current)}},[]);var u,c=e.snack,d=e.classes,p=e.Component,f=p===void 0?an:p,x=l.useMemo(function(){return function(U){U===void 0&&(U={});var P={containerRoot:!0,containerAnchorOriginTopCenter:!0,containerAnchorOriginBottomCenter:!0,containerAnchorOriginTopRight:!0,containerAnchorOriginBottomRight:!0,containerAnchorOriginTopLeft:!0,containerAnchorOriginBottomLeft:!0};return Object.keys(U).filter(function(z){return!P[z]}).reduce(function(z,$){var Y;return O({},z,((Y={})[$]=U[$],Y))},{})}(d)},[d]),v=c.open,y=c.SnackbarProps,b=c.TransitionComponent,w=c.TransitionProps,k=c.transitionDuration,h=c.disableWindowBlurListener,T=c.content,E=Ce(c,["open","SnackbarProps","TransitionComponent","TransitionProps","transitionDuration","disableWindowBlurListener","content","entered","requestClose","onEnter","onEntered","onExit","onExited"]),N=O({direction:(u=E.anchorOrigin,u.horizontal!=="center"?ct[u.horizontal]:ct[u.vertical]),timeout:k},w),L=T;typeof L=="function"&&(L=L(E.id,E.message));var H=["onEnter","onEntered","onExit","onExited"].reduce(function(U,P){var z;return O({},U,((z={})[P]=Ee([e.snack[P],e[P]],E.id),z))},{});return l.createElement(Et,{in:t,onExited:H.onExited},l.createElement(Ct,{open:v,id:E.id,disableWindowBlurListener:h,autoHideDuration:E.autoHideDuration,className:ie(sn.wrappedRoot,x.root,x[tn(E.anchorOrigin)]),SnackbarProps:y,onClose:a},l.createElement(b,Object.assign({},N,{appear:!0,in:v,onExit:H.onExit,onExited:s,onEnter:H.onEnter,onEntered:Ee([H.onEntered,function(){e.snack.requestClose&&a(null,"instructed",e.snack.id)}],E.id)}),L||l.createElement(f,Object.assign({},E)))))},ve=20,Xe=6,cn=2,pt="."+vt,We=Se({root:(we={boxSizing:"border-box",display:"flex",maxHeight:"100%",position:"fixed",zIndex:1400,height:"auto",width:"auto",transition:he(["top","right","bottom","left","max-width"],{duration:300,easing:"ease"}),pointerEvents:"none"},we[pt]={padding:Xe+"px 0px",transition:"padding 300ms ease 0ms"},we.maxWidth="calc(100% - "+2*ve+"px)",we[ze]={width:"100%",maxWidth:"calc(100% - 32px)"},we),rootDense:(_e={},_e[pt]={padding:cn+"px 0px"},_e),top:{top:ve-Xe+"px",flexDirection:"column"},bottom:{bottom:ve-Xe+"px",flexDirection:"column-reverse"},left:(De={left:ve+"px"},De[Pe]={alignItems:"flex-start"},De[ze]={left:"16px"},De),right:(Oe={right:ve+"px"},Oe[Pe]={alignItems:"flex-end"},Oe[ze]={right:"16px"},Oe),center:(Ve={left:"50%",transform:"translateX(-50%)"},Ve[Pe]={alignItems:"center"},Ve)}),un=l.memo(function(e){var o=e.classes,i=o===void 0?{}:o,t=e.anchorOrigin,n=e.dense,a=e.children,s=ie("notistack-SnackbarContainer",We[t.vertical],We[t.horizontal],We.root,i.containerRoot,i["containerAnchorOrigin"+Ze(t)],n&&We.rootDense);return l.createElement("div",{className:s},a)}),mt=function(e){return!(typeof e=="string"||l.isValidElement(e))},dn=function(e){function o(i){var t;return(t=e.call(this,i)||this).enqueueSnackbar=function(n,a){if(a===void 0&&(a={}),n==null)throw new Error("enqueueSnackbar called with invalid argument");var s=mt(n)?n:a,u=mt(n)?n.message:n,c=s.key,d=s.preventDuplicate,p=Ce(s,["key","preventDuplicate"]),f=je(c),x=f?c:new Date().getTime()+Math.random(),v=function(b,w){return function(k,h){return h===void 0&&(h=!1),h?O({},ce[k],{},w[k],{},b[k]):k==="autoHideDuration"?(L=b.autoHideDuration,H=w.autoHideDuration,(U=function(P){return typeof P=="number"||P===null})(L)?L:U(H)?H:ce.autoHideDuration):k==="transitionDuration"?(T=b.transitionDuration,E=w.transitionDuration,(N=function(P,z){return z.some(function($){return typeof P===$})})(T,["string","number"])?T:N(T,["object"])?O({},ce.transitionDuration,{},N(E,["object"])&&E,{},T):N(E,["string","number"])?E:N(E,["object"])?O({},ce.transitionDuration,{},E):ce.transitionDuration):b[k]||w[k]||ce[k];var T,E,N,L,H,U}}(p,t.props),y=O({id:x},p,{message:u,open:!0,entered:!1,requestClose:!1,persist:v("persist"),action:v("action"),content:v("content"),variant:v("variant"),anchorOrigin:v("anchorOrigin"),disableWindowBlurListener:v("disableWindowBlurListener"),autoHideDuration:v("autoHideDuration"),hideIconVariant:v("hideIconVariant"),TransitionComponent:v("TransitionComponent"),transitionDuration:v("transitionDuration"),TransitionProps:v("TransitionProps",!0),iconVariant:v("iconVariant",!0),style:v("style",!0),SnackbarProps:v("SnackbarProps",!0),className:ie(t.props.className,p.className)});return y.persist&&(y.autoHideDuration=void 0),t.setState(function(b){if(d===void 0&&t.props.preventDuplicate||d){var w=function(T){return f?T.id===x:T.message===u},k=b.queue.findIndex(w)>-1,h=b.snacks.findIndex(w)>-1;if(k||h)return b}return t.handleDisplaySnack(O({},b,{queue:[].concat(b.queue,[y])}))}),x},t.handleDisplaySnack=function(n){return n.snacks.length>=t.maxSnack?t.handleDismissOldest(n):t.processQueue(n)},t.processQueue=function(n){var a=n.queue,s=n.snacks;return a.length>0?O({},n,{snacks:[].concat(s,[a[0]]),queue:a.slice(1,a.length)}):n},t.handleDismissOldest=function(n){if(n.snacks.some(function(c){return!c.open||c.requestClose}))return n;var a=!1,s=!1;n.snacks.reduce(function(c,d){return c+(d.open&&d.persist?1:0)},0)===t.maxSnack&&(s=!0);var u=n.snacks.map(function(c){return a||c.persist&&!s?O({},c):(a=!0,c.entered?(c.onClose&&c.onClose(null,"maxsnack",c.id),t.props.onClose&&t.props.onClose(null,"maxsnack",c.id),O({},c,{open:!1})):O({},c,{requestClose:!0}))});return O({},n,{snacks:u})},t.handleEnteredSnack=function(n,a,s){if(!je(s))throw new Error("handleEnteredSnack Cannot be called with undefined key");t.setState(function(u){return{snacks:u.snacks.map(function(c){return c.id===s?O({},c,{entered:!0}):O({},c)})}})},t.handleCloseSnack=function(n,a,s){t.props.onClose&&t.props.onClose(n,a,s);var u=s===void 0;t.setState(function(c){var d=c.snacks,p=c.queue;return{snacks:d.map(function(f){return u||f.id===s?f.entered?O({},f,{open:!1}):O({},f,{requestClose:!0}):O({},f)}),queue:p.filter(function(f){return f.id!==s})}})},t.closeSnackbar=function(n){var a=t.state.snacks.find(function(s){return s.id===n});je(n)&&a&&a.onClose&&a.onClose(null,"instructed",n),t.handleCloseSnack(null,"instructed",n)},t.handleExitedSnack=function(n,a){if(!je(a))throw new Error("handleExitedSnack Cannot be called with undefined key");t.setState(function(s){var u=t.processQueue(O({},s,{snacks:s.snacks.filter(function(c){return c.id!==a})}));return u.queue.length===0?u:t.handleDismissOldest(u)})},t.enqueueSnackbar,t.closeSnackbar,t.state={snacks:[],queue:[],contextValue:{enqueueSnackbar:t.enqueueSnackbar.bind(nt(t)),closeSnackbar:t.closeSnackbar.bind(nt(t))}},t}return kt(o,e),o.prototype.render=function(){var i=this,t=this.state.contextValue,n=this.props,a=n.domRoot,s=n.children,u=n.dense,c=u!==void 0&&u,d=n.Components,p=d===void 0?{}:d,f=n.classes,x=this.state.snacks.reduce(function(y,b){var w,k=Ze(b.anchorOrigin),h=y[k]||[];return O({},y,((w={})[k]=[].concat(h,[b]),w))},{}),v=Object.keys(x).map(function(y){var b=x[y],w=b[0];return l.createElement(un,{key:y,dense:c,anchorOrigin:w.anchorOrigin,classes:f},b.map(function(k){return l.createElement(ln,{key:k.id,snack:k,classes:f,Component:p[k.variant],onClose:i.handleCloseSnack,onEnter:i.props.onEnter,onExit:i.props.onExit,onExited:Ee([i.handleExitedSnack,i.props.onExited],k.id),onEntered:Ee([i.handleEnteredSnack,i.props.onEntered],k.id)})}))});return l.createElement(bt.Provider,{value:t},s,a?Wt.createPortal(v,a):v)},gt(o,[{key:"maxSnack",get:function(){return this.props.maxSnack||ce.maxSnack}}]),o}(l.Component),jt=function(){return l.useContext(bt)};const re={card:"_card_r6a8n_13",actionRoot:"_actionRoot_r6a8n_21",icons:"_icons_r6a8n_31",expand:"_expand_r6a8n_43",expandOpen:"_expandOpen_r6a8n_57",stackTraceContainer:"_stackTraceContainer_r6a8n_65"},Mt=l.forwardRef((e,o)=>{const{id:i,message:t,iconVariant:n,error:a,hideIconVariant:s,...u}=e,{closeSnackbar:c}=jt(),d=r.Js(),[p,f]=l.useState(!1),x=l.useCallback(()=>{f(b=>!b)},[]),v=l.useCallback(()=>{c(i)},[i,c]),y=a?.message||String(t);return m.jsx(Je,{ref:o,className:r.Go(re.root,"error-snackbar"),children:m.jsxs(qt,{className:re.card,style:{backgroundColor:d.palette.error.dark,border:`1px solid ${d.palette.error.dark}`},children:[m.jsxs(Ut,{className:re.actionRoot,children:[s?null:n?.error,m.jsx(r.Typography,{variant:"body2",component:"div",className:re.typography,style:{color:d.palette.text.primary},children:y}),m.jsx("div",{style:{flex:"1 1 auto"}}),m.jsxs("div",{className:re.icons,children:[a?m.jsx(r.IconButton,{"aria-label":"Show more",size:"small",className:r.Go(re.expand,{[re.expandOpen]:p}),style:{color:d.palette.action.active},onClick:x,children:m.jsx(r.Xn,{})}):null,m.jsx(r.IconButton,{size:"small",className:re.expand,style:{color:d.palette.action.active},onClick:v,children:m.jsx(r.vo,{fontSize:"small"})})]})]}),a?m.jsx(Fe,{in:p,timeout:"auto",unmountOnExit:!0,children:m.jsx("div",{className:re.stackTraceContainer,style:{backgroundColor:d.palette.error.light,borderTop:`1px solid ${d.palette.error.main}`},children:m.jsx(r.ok,{error:a,hideLineNumbers:!0})})}):null]})})});Mt.displayName="ToastError";const Tt=l.memo(l.forwardRef((e,o)=>{const{commands:i,commandHook:t,scope:n="workbook",disabled:a=!1,...s}=e,u=r.Te(d=>{const p={variant:r.pn.Menuitem,parentFloat:d.floatReference,commandHook:t,scope:n,disabled:a},f=m.jsxs(m.Fragment,{children:[m.jsx(r.qe,{...p,command:i.getCommand("newWorkbook"),icon:r.Le(m.jsx(r.qK,{}))}),m.jsx(r.en,{orientation:"horizontal"}),m.jsx(r.qe,{...p,command:i.getCommand("openWorkbook"),icon:r.Le(m.jsx(r.KK,{}))}),m.jsx(r.go,{...p,commands:i,quickCommand:"saveWorkbook",icon:r.Le(m.jsx(r.XK,{})),createPopupPanel:x=>{const v={...p,parentFloat:x.floatReference,scope:"saveWorkbook"},y=[];return r.xX.getWriteFormats().forEach(b=>{if(b.isDefault)return;let w=null;b.key==="CSV"?w=r.Le(m.jsx(r.YK,{})):b.key==="Excel"&&(w=r.Le(m.jsx(r.ZK,{})));const k=i.getCommand(`saveWorkbookAs${b.key}`);k?y.push(l.createElement(r.qe,{...v,key:b.key,command:k,icon:w})):console.warn(`Unable to resolve command: 'saveWorkbookAs${b.key}'`)}),r.eo({...x,children:y,onClick:()=>{x.closeFloatAll()}})}})]});return r.eo({...d,children:f,onClick:x=>{x.isDefaultPrevented||d.closeFloatAll()}})},[a,i,t,n]),c="File";return m.jsx(r.go,{commands:i,disabled:a,commandHook:t,scope:n,label:c,tooltip:"Options for saving and loading the workbook.",sx:{paddingBottom:"0px","& button":{paddingTop:"0px",paddingBottom:"0px",height:d=>`calc(1.25rem + ${d.spacing(2)}px)`}},...s,createPopupPanel:u,icon:m.jsx(r.lu,{className:"label",icon:null,label:c})})}));Tt.displayName="StandaloneFileCommandButton";const pn=m.jsx(r.ii,{label:"SheetXL",description:"Visit me at sheetxl.com.",children:m.jsx(r.Box,{sx:{width:"24px",height:"24px",marginBottom:"4px",marginLeft:"6px"},children:m.jsx(r.gX,{onClick:()=>{window?.open("https://www.sheetxl.com","_blank")},style:{width:"24px",height:"24px",cursor:"pointer"}})})}),Lt=l.memo(l.forwardRef((e,o)=>{const{commands:i,workbook:t,logo:n=pn,mainElement:a,showFileMenu:s=!0,showAppearanceMenu:u=!0,...c}=e,{reference:d}=r.El(),[p,{width:f}]=r.og(),x=f<530,v=s?m.jsx(Tt,{commands:i,commandHook:{beforeExecute(){d?.closeAll()},onError(k,h,T){}}}):null,y=u?m.jsx(r.yX,{commands:i,commandHook:{beforeExecute(){d?.closeAll()},onError(k,h,T){}}}):null,b=l.useMemo(()=>({paddingLeft:k=>k.spacing(1),paddingRight:k=>k.spacing(1)}),[]),w=l.useRef(null);return m.jsx(r.Box,{ref:r.z6([w,p,o]),...c,children:r.iK({commands:i,renderCompact:x,workbook:t,selectWrapper:k=>m.jsxs(r.Box,{sx:{display:"flex",flex:"1",flexDirection:"row",alignItems:"stretch",gap:h=>h.spacing(1),paddingLeft:h=>h.spacing(1),paddingRight:h=>h.spacing(1)},children:[m.jsxs(r.Box,{sx:{display:"flex",flexDirection:"row",alignItems:"center",flex:"1 1 100%",gap:h=>h.spacing(.5)},children:[n,m.jsxs(r.Box,{sx:{display:"flex",flexDirection:"row",alignItems:"center",gap:h=>h.spacing(.25)},children:[v,k]})]}),m.jsx(r.Box,{sx:{display:"flex",flexDirection:"row",flex:"1 1 300%",overflow:"hidden",alignItems:"center",justifyContent:"center"},children:a}),m.jsx(r.Box,{sx:{display:"flex",alignItems:"center",justifyContent:"end",flex:x&&!y?"0 0 auto":"1 1 100%"},children:y})]}),selectProps:b,toolbarsProps:{Home:{sx:{}}}})})}));Lt.displayName="StandaloneWorkbookToolbar";const Dt=l.memo(l.forwardRef((e,o)=>{const{workbook:i,setWorkbook:t,refWorkbookTitle:n,titleWorkbook:a,setWorkbookTitle:s,titlePlaceHolder:u,children:c,undoManager:d,commands:p,importExportDisabled:f,themeModeOptions:x}=e,v=jt(),y=v?v.enqueueSnackbar:()=>{},b=v?v.closeSnackbar:()=>{},[w,k]=l.useState({isMounted:!1,label:null,starting:new Map,running:new Map}),h=l.useCallback(()=>{k(F=>({...F,isMounted:!0}))},[]),T=l.useCallback(()=>{k(F=>({...F,isMounted:!1}))},[]),E=r.aX(),N=r.cX(),L=r.dX(),H=l.useRef(new Set),U=l.useMemo(()=>{const F=(S,M)=>{if(M?.onceKey){if(H.current.has(M.onceKey))return;const D=new Set(H.current);D.add(M.onceKey),H.current=D}const I={variant:M?.type??r._l.Info,anchorOrigin:{vertical:"top",horizontal:"center"},preventDuplicate:M?.preventDuplicate,persist:M?.persist??M?.type===r._l.Error,action:D=>m.jsx(r.IconButton,{onClick:()=>b(D),children:m.jsx($t,{})})};M?.enqueueProps&&Object.assign(I,M.enqueueProps),S||console.log("message is 'null'",M),y(S??"Alert",I)};return{showMessage:F,showBusy:(S,M)=>{let I=null;const D=new Promise(_=>{I=_});return k(_=>{const B=new Map(_.starting);return B.set(D,I),{..._,label:S,starting:B}}),D},showWindow:(S,M,I)=>{const D={...M,onKeyDown:_=>{p?.dispatchToFocusedCommand(_),_.isDefaultPrevented()||_.isPropagationStopped()||M?.onKeyDown?.(_)}};return E(S,{sort:()=>Promise.resolve().then(()=>require("./Dn6LoJinxzxUiMDg.cjs")),numberFormat:()=>Promise.resolve().then(()=>require("./BKGew2NYE-aa2w6y.cjs")),hyperlink:()=>Promise.resolve().then(()=>require("./ZWsbkG6eb6seSRXv.cjs")),comments:()=>Promise.resolve().then(()=>require("./B5XBWUdLMqS2HDaF.cjs")),find:()=>Promise.resolve().then(()=>require("./BHCPp9yjpWH3JG34.cjs")),tableDetails:()=>Promise.resolve().then(()=>require("./DmhCjj0KeysXxIzX.cjs")),tableNew:()=>Promise.resolve().then(()=>require("./Bx6ZuxKkOWgx7s9X.cjs")),namedDetails:()=>Promise.resolve().then(()=>require("./CV3O2HrGgeVyZSTI.cjs"))}[S],D,I)},showOptions:N,showInputOptions:L,showError:S=>{let M,I=r._l.Error,D="Unknown Error";typeof S=="string"?D=S:S instanceof Error&&(M=S,S.message&&(D=S.message)),S instanceof r.EA&&(I=r._l.Info),F(D,{type:I,enqueueProps:{error:M}})}}},[]),P=l.useCallback(()=>{},[]),z=(F=>{const{workbook:S,setWorkbook:M,importExportDisabled:I,workbookTitle:D="export",setWorkbookTitle:_,notifier:B,requestWorkbookTitle:J,themeModeOptions:q,undoManager:j,commands:W,onExecute:V}=F,Q=r.Te(q?.onForceModeChange,[q?.onForceModeChange]),ae=r.Te(q?.onForceLightGridChange,[q?.onForceLightGridChange]),ne=r.Te(q?.onForceLightImagesChange,[q?.onForceLightImagesChange]),Ae=r.Te(async(R=null,Z=null)=>{const g=[];let C,X=null,ee=null;if(typeof R=="string"?ee=R:X=R,C=X?R:await r.un.openFileDialog(ee??r.xX.getAllReadFormatTypeAsString().join(",")),!C)return null;const se={source:C,constructorOptions:Z,onWarning:He=>{g.push(He)}},be=await r.xX.read(se,B);return g.length>0&&(B?.showMessage?.("Some elements were not able to be imported. See console for details."),console.warn(`Import warnings:
11
11
  `+g.join(`
12
- `))),be},[X,B,S]),ge=r.Te(async(R,Z,g)=>{if(!Z&&Q){const C=await Q("Enter Workbook name to "+(g.isDefault?"Save.":`Export as ${g.description}.`));return C!==null&&r.xX.writeFile(C,R,{formatType:g.key})}return r.xX.writeFile(Z,R,{formatType:g.key})},[B,S,Q]),K=l.useCallback(()=>({contains:R=>!0,focus(){}}),[]),le=l.useMemo(()=>{const R=[];I||(r.xX.getWriteFormats().forEach(g=>{const C=g.isDefault,V={label:C?"Save Workbook":`Save Workbook as ${g.description}`,scopedLabels:{workbook:"Save",saveWorkbook:`as ${g.description}`},tags:g.tags,description:`Save the workbook to the desktop${C?"":` as ${g.description}`}.`};C&&(V.shortcut={key:"S",modifiers:[r.He.Ctrl]},R.push(new r.Ue("saveWorkbookAs",K,{label:"Save Workbook As…",scopedLabels:{workbook:"Save as…",saveWorkbook:"as…"},shortcut:[{key:"S",modifiers:[r.He.Shift,r.He.Ctrl]},{key:"F12"}],description:"Save the workbook to the desktop with the provided name."},()=>{ge(S,null,g).catch(se=>{B?.showError?.(se)})})));const ee=C?"saveWorkbook":`saveWorkbookAs${g.key}`;R.push(new r.Ue(ee,K,V,se=>{ge(S,se??D,g).catch(be=>{B?.showError?.(be)})}))}),R.push(new r.Ue("openWorkbook",K,{label:"Open Workbook…",scopedLabels:{workbook:"Open…"},description:"Open a workbook from the desktop.",shortcut:{key:"O",modifiers:[r.He.Ctrl]}},async(g=null)=>{const C={date1904:S.isDate1904(),...S.options};try{const V=await Ae(g,C);if(!V)return;const ee=V.title,se=V.workbook,be=se.getSelectedSheet();if(V.formatType.mimeType==="text/csv"){const He=S.findValidSheetName(ee);await S.doBatch(async()=>{const Ye=be.getUsedRange();Ye?await S.getSheets().add({name:He,autoSelect:!0}).getRange({colStart:0,rowStart:0,colEnd:0,rowEnd:0}).copyFrom(Ye):B?.showMessage("The file appears to be blank.")},`Import CSV '${ee}'`)}else S?.close(),U?.(ee),M(se)}catch(V){B?.showError?.(V)}})),R.push(new r.Ue("openWorkbookFromUrl",K,{label:"Open Workbook From Web",scopedLabels:{insert:"From Web",workbook:"From Web…"},description:"Open a workbook from the web."},async function(g){if(!g){const C=await B?.showInputOptions?.({title:"Open Workbook from the Web",description:"Enter the web address for the workbook to open.",inputLabel:"Address",initialValue:"https://www.sheetxl.com/examples/features-checklist.xlsx",inputProps:{style:{minWidth:"440px"}},options:["Open"]});if(C.option!=="Open")return;g=C.input}g&&console.log("openWorkbookFromUrl",g)})));let Z=[];return q&&(Z=[new r.Ue("themeMode",K,{label:"Light/Dark Mode",scopedLabels:{appearance:"Light/Dark Mode"},description:"Toggle the application styling between light and dark mode."}),new r.Ue("defaultThemeMode",K,{label:"Use System Light/Dark Mode",scopedLabels:{appearance:"Use System Default"},description:"Use the system settings to determine styling for light and dark mode."}),new r.Ue("forceLightGrid",K,{label:"Force Light Grid",description:"Force the grid to always render in light mode if dark mode is being used. This is ensures that the grid will render the colors as specified in another tools (for example Excel)."}),new r.Ue("forceLightImages",K,{label:"Force Light Images",description:"Force the images to always render in light mode if dark mode is being used. This is ensures that the images will render the colors as specified in another tools (for example Excel). This only has any effect if the grid is in dark mode."})]),[...R,...Z,new r.Vt("help",K,{label:"Show Help",description:"Provide Help.",shortcut:{key:"F1"}},()=>{}),new r.Vt("showKeyboardShortcuts",K,{label:"Keyboard Shortcuts",description:"Show keyboard shortcuts.",shortcut:{key:"/",modifiers:[r.He.Ctrl]}},()=>{}),new r.Ue("gotoUrlGithub",K,{label:"Github",description:"Download examples, explore source code, and leave a star."},()=>{window?.open("https://github.com/sheetxl/sheetxl")}),new r.Ue("gotoUrlDiscord",K,{label:"Discord",description:"Join our community on discord."},()=>{window?.open("https://discord.gg/NTKdwUgK9p")}),new r.Ue("gotoUrlDocumentation",K,{label:"Documentation",description:"Read the documentation."},()=>{window?.open("https://www.sheetxl.com/docs")}),new r.Ue("gotoUrlIssue",K,{label:"Create Issue",description:"Create an issue to identify a bug or a feature request."},()=>{window?.open("https://github.com/sheetxl/sheetxl/issues")})]},[S,D,B,I,q,W,j]),G=l.useMemo(()=>{let R=null;return R=W?W.createChildGroup(K,"standaloneWorkbook",!1):new r.Au(K,"standaloneWorkbook"),R.addCommands(le,!0),R},[W,le]);r.GK({manager:j,commands:G,notifier:B});const{themeMode:ke}=r.vX();l.useEffect(()=>{if(!q||!G)return;const R=q.forceMode==="dark"||!q.forceMode&&ke==="dark";G.getCommand("themeMode").update({state:q.forceMode??null,label:R?"Dark Mode":"Light Mode",scopedLabels:{appearance:R?"Dark Mode":"Light Mode"}}).updateCallback(()=>{Y(R?r.bX.Light:r.bX.Dark)}),G.getCommand("defaultThemeMode").update({state:!q.forceMode}).updateCallback(()=>{Y(null)}),G.getCommand("forceLightGrid").update({state:q.forceLightGrid}).updateCallback(()=>{ae(!q.forceLightGrid)}),G.getCommand("forceLightImages").update({state:q.forceLightImages}).updateCallback(()=>{ne(!q.forceLightImages)})},[ke,q,le]);const{showModal:Ie}=r.u6();return l.useEffect(()=>{const R=()=>new Promise((Z,g)=>{const C=l.lazy(()=>Promise.resolve().then(()=>require("./DK7XNv54M-Rj1fg6.cjs"))),V=Ie(C,{title:"Shortcut Keys Reference",commands:G,onDone:()=>{V.hide()},TransitionProps:{onExited:()=>{Z(!0)}}})});G.getCommand("showKeyboardShortcuts").updateCallback(()=>R()),G.getCommand("help").updateCallback(()=>R())},[le,G]),G})({workbook:i,setWorkbook:t,importExportDisabled:f,workbookTitle:a,setWorkbookTitle:s,commands:p,requestWorkbookTitle:F=>new Promise(S=>{n.current?n.current.requestWorkbookTitle((M,I)=>{S(M)},{selectAll:!0,requestReason:F}):S(u)}),themeModeOptions:x,undoManager:d,notifier:_,onExecute:P});l.useEffect(()=>{w.starting.size<=0||!w.isMounted||k(F=>{const S=new Map(F.running);return F.starting.forEach((M,I)=>{const D=()=>{k(U=>{const B=new Map(U.running);return B.delete(I),{...U,running:B}})};S.set(I,D),M(D)}),{...F,starting:new Map,running:S}})},[w]);const[$,J]=l.useState(null);l.useEffect(()=>{w.starting.size!==0||w.running.size!==0?J(m.jsx(r.Fu,{icon:m.jsx(r.iX,{sx:{transform:"scale(0.7)",marginLeft:"-6px"}}),panel:!0,label:w.label,onMount:h,onUnmount:T,sx:{position:"absolute",left:"0",top:"0",width:"100%",height:"100%",zIndex:"9999"}})):J(null)},[w.starting,w.running]);const A=l.useMemo(()=>m.jsx(r.wX,{commands:z,disableHover:!0,sx:{padding:"0"},buttonProps:{sx:{maxHeight:"22px"}}}),[z]),te={notifier:_,commands:z};return i&&(te.statusBarProps={childrenEnd:A}),m.jsxs(m.Fragment,{children:[$,c?l.cloneElement(c,te):null]})}));Dt.displayName="SnackbarAndCommandsWrapper";const Ot=l.memo(l.forwardRef((e,o)=>{const{className:i,sx:t,style:n,onElementLoad:a,onError:s,undoManager:u,errorPanel:c=r.JV,onKeyDown:d,workbook:p,createWorkbookOptions:f,onWorkbookChange:x,logo:v,importExportDisabled:y=!1,themeModeOptions:b,autoFocus:w=!1,commands:k,title:h,onTitleChange:T,titleProps:E,...N}=e,L=l.useRef(null),H=r.Te(x,[x]),_=r.Te(T??E?.onTitleChange,[T??E?.onTitleChange]),P=E?.placeHolder??"Untitled",z=b?.forceMode,{themeMode:$,source:J}=r.vX({mode:z}),A=l.useMemo(()=>({...b,light:r.sX(!1,r.re.deepMerge(b?.theme??{},b?.light??{})),dark:r.sX(!0,r.re.deepMerge(b?.theme??{},b?.dark??{}))}),[b]),te=$===r.bX.Dark,[F,S]=l.useState(null);l.useEffect(()=>{S(u??new r.WK)},[u]);const[M,I]=l.useState(null),[D,U]=l.useState(null),B=r.bR();l.useLayoutEffect(()=>{if(!p||Object.keys(p).length===0&&!r.re.isPromiseLike(p)){const g={theme:B.getDefaultTheme(),...f};U(new r.vL(g))}else U(p)},[p]),l.useLayoutEffect(()=>{if(D){if(D instanceof r.vL)return I({workbook:D}),void(p!==D&&H?.(D));(async()=>{try{let g,C=await Promise.resolve(D);C&&C.source&&(C=await r.xX.read(C)),C.workbook?(X(C.title),g=C.workbook):g=C,H?.(g),I({workbook:g})}catch(g){H?.(null),I({error:g})}})()}},[D]);const[Q,q]=l.useState(null);l.useEffect(()=>{if(!F||!M)return;F.clear();const g=M?.workbook?.getTransactions();return g?g.addListener({onCommitEnd:C=>{C.getDescription()?F.addUndoOperation({description:C.getDescription(),undo:()=>(g.revert(C.getId()),Q.source?.focus(),()=>{g.restore(C.getId()),Q.source?.focus()})}):console.warn("commit has no description",C)}}):void 0},[F,M,Q]);const j=r.Te(g=>{g?F.setRepeatableOperation({description:g.label(),repeat:async()=>g.execute()}):F.setRepeatableOperation(null)},[F]),[W,X]=l.useState(h??E?.title??"");l.useEffect(()=>{X(h??E?.title??"")},[h??E?.title]),l.useEffect(()=>{_?.(W)},[W]);const[Y,ae]=l.useState(null),ne=l.useMemo(()=>{const g=()=>({contains:C=>!0,focus(){}});return k?k.createChildGroup(g,"application",!1):new r.Au(g,"application")},[k]),Ae=r.Te(g=>{ae(g.source.getViewportElement()),q(g),ne.activate("sheet"),a?.(g)},[ne]);l.useEffect(()=>{Q&&w&&Q.source?.focus(typeof w=="object"?w:void 0)},[Q]);const ge=l.useRef(null),K=l.useCallback(g=>{let C=null;return E?.hidden||(C=m.jsx(r.RK,{...E,style:{maxWidth:"100%",...E?.style},workbook:L.current,ref:ge,title:W,placeHolder:P,onTitleChange:V=>{X(V)}})),m.jsx(Lt,{...g,logo:v,mainElement:C,showFileMenu:!y,showAppearanceMenu:!!(A?.onForceLightGridChange||A?.onForceLightImagesChange||A?.onForceModeChange)})},[v,W,E,A,y,ne]);l.useEffect(()=>{const g=C=>C.preventDefault();return L.current?.addEventListener("wheel",g,{passive:!1}),()=>{L.current?.removeEventListener("wheel",g)}},[]);const le=l.useMemo(()=>m.jsx(r.Fu,{transparentBackground:!0,sx:t,style:n}),[t,n]),G=l.useCallback(({error:g})=>(s?.(g),m.jsx(c,{sx:t,style:n,error:g??"Unable to display empty workbook."})),[t,n,s]),ke=l.useMemo(()=>({...t,"& .SnackbarContainer-root":{position:"absolute !important"},"& .notistack-Snackbar":{minWidth:"unset"},"& .notistack-MuiContent *":{fontFamily:g=>g.typography.fontFamily},"& #notistack-snackbar":{maxWidth:"560px",whiteSpace:"pre-wrap"},"*":{userSelect:"none"}}),[t]),Ie=r.z6([L,o]),R=l.useMemo(()=>{if(!M)return le;if(M.error||!M.workbook)return G({error:M.error});let g=null,C=null,V=!1;return A&&(g=te?A.dark:A.light,C=te&&!A.forceLightGrid?A.dark:A.light,V=A.forceLightImages),m.jsx(r.kK,{sx:ke,style:n,tabIndex:0,autoFocus:!0,workbook:M.workbook,ref:Ie,renderToolbar:K,onElementLoad:Ae,onRepeatCommandChange:j,onKeyDown:ee=>{d?.(ee)},gridTheme:C,headersTheme:g,forceLightImages:V,className:r.Go(i,"sheetxl-workbook"),onContextMenu:ee=>ee.preventDefault(),...N},"WorkbookElement")},[M,W,F,le,A,N,K,ke]);let Z=m.jsx(Zt,{fallbackRender:G,children:m.jsx(dn,{maxSnack:3,domRoot:Y,anchorOrigin:{vertical:"bottom",horizontal:"right"},autoHideDuration:3500,onClose:(g,C,V)=>{L.current?.focus()},Components:{error:Mt},iconVariant:{success:m.jsx(r.SvgIcon,{style:{marginRight:"8px"},children:m.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"})}),error:m.jsx(r.rX,{style:{marginRight:"8px"}})},children:m.jsx(r.lX,{children:m.jsx(Dt,{workbook:M?.workbook,setWorkbook:U,importExportDisabled:y,titlePlaceHolder:P,titleWorkbook:W,setWorkbookTitle:X,refWorkbookTitle:ge,commands:ne,undoManager:F,themeModeOptions:A,children:R})})})});return A&&(Z=m.jsxs(r.Nj,{theme:te?A.dark:A.light,children:[A.cssBaseline?m.jsx(Kt,{}):null,Z]})),Z}));Ot.displayName="EagerStandaloneWorkbook";const mn=Object.freeze(Object.defineProperty({__proto__:null,default:Ot},Symbol.toStringTag,{value:"Module"})),fn=Object.freeze(Object.defineProperty({__proto__:null,E:mn,c:ie},Symbol.toStringTag,{value:"Module"}));exports.Collapse=Fe,exports.fe=ie,exports.sBOX_jXfdNOE_89x=fn;
12
+ `))),be},[V,B,S]),ge=r.Te(async(R,Z,g)=>{if(!Z&&J){const C=await J("Enter Workbook name to "+(g.isDefault?"Save.":`Export as ${g.description}.`));return C!==null&&r.xX.writeFile(C,R,{formatType:g.key})}return r.xX.writeFile(Z,R,{formatType:g.key})},[B,S,J]),K=l.useCallback(()=>({contains:R=>!0,focus(){}}),[]),le=l.useMemo(()=>{const R=[];I||(r.xX.getWriteFormats().forEach(g=>{const C=g.isDefault,X={label:C?"Save Workbook":`Save Workbook as ${g.description}`,scopedLabels:{workbook:"Save",saveWorkbook:`as ${g.description}`},tags:g.tags,description:`Save the workbook to the desktop${C?"":` as ${g.description}`}.`};C&&(X.shortcut={key:"S",modifiers:[r.He.Ctrl]},R.push(new r.Ue("saveWorkbookAs",K,{label:"Save Workbook As…",scopedLabels:{workbook:"Save as…",saveWorkbook:"as…"},shortcut:[{key:"S",modifiers:[r.He.Shift,r.He.Ctrl]},{key:"F12"}],description:"Save the workbook to the desktop with the provided name."},()=>{ge(S,null,g).catch(se=>{B?.showError?.(se)})})));const ee=C?"saveWorkbook":`saveWorkbookAs${g.key}`;R.push(new r.Ue(ee,K,X,se=>{ge(S,se??D,g).catch(be=>{B?.showError?.(be)})}))}),R.push(new r.Ue("openWorkbook",K,{label:"Open Workbook…",scopedLabels:{workbook:"Open…"},description:"Open a workbook from the desktop.",shortcut:{key:"O",modifiers:[r.He.Ctrl]}},async(g=null)=>{const C={date1904:S.isDate1904(),...S.options};try{const X=await Ae(g,C);if(!X)return;const ee=X.title,se=X.workbook,be=se.getSelectedSheet();if(X.formatType.mimeType==="text/csv"){const He=S.findValidSheetName(ee);await S.doBatch(async()=>{const Qe=be.getUsedRange();Qe?await S.getSheets().add({name:He,autoSelect:!0}).getRange({colStart:0,rowStart:0,colEnd:0,rowEnd:0}).copyFrom(Qe):B?.showMessage("The file appears to be blank.")},`Import CSV '${ee}'`)}else S?.close(),_?.(ee),M(se)}catch(X){B?.showError?.(X)}})),R.push(new r.Ue("openWorkbookFromUrl",K,{label:"Open Workbook From Web",scopedLabels:{insert:"From Web",workbook:"From Web…"},description:"Open a workbook from the web."},async function(g){if(!g){const C=await B?.showInputOptions?.({title:"Open Workbook from the Web",description:"Enter the web address for the workbook to open.",inputLabel:"Address",initialValue:"https://www.sheetxl.com/examples/features-checklist.xlsx",inputProps:{style:{minWidth:"440px"}},options:["Open"]});if(C.option!=="Open")return;g=C.input}g&&console.log("openWorkbookFromUrl",g)})));let Z=[];return q&&(Z=[new r.Ue("themeMode",K,{label:"Light/Dark Mode",scopedLabels:{appearance:"Light/Dark Mode"},description:"Toggle the application styling between light and dark mode."}),new r.Ue("defaultThemeMode",K,{label:"Use System Light/Dark Mode",scopedLabels:{appearance:"Use System Default"},description:"Use the system settings to determine styling for light and dark mode."}),new r.Ue("forceLightGrid",K,{label:"Force Light Grid",description:"Force the grid to always render in light mode if dark mode is being used. This is ensures that the grid will render the colors as specified in another tools (for example Excel)."}),new r.Ue("forceLightImages",K,{label:"Force Light Images",description:"Force the images to always render in light mode if dark mode is being used. This is ensures that the images will render the colors as specified in another tools (for example Excel). This only has any effect if the grid is in dark mode."})]),[...R,...Z,new r.Vt("help",K,{label:"Show Help",description:"Provide Help.",shortcut:{key:"F1"}},()=>{}),new r.Vt("showKeyboardShortcuts",K,{label:"Keyboard Shortcuts",description:"Show keyboard shortcuts.",shortcut:{key:"/",modifiers:[r.He.Ctrl]}},()=>{}),new r.Ue("gotoUrlGithub",K,{label:"Github",description:"Download examples, explore source code, and leave a star."},()=>{window?.open("https://github.com/sheetxl/sheetxl")}),new r.Ue("gotoUrlDiscord",K,{label:"Discord",description:"Join our community on discord."},()=>{window?.open("https://discord.gg/NTKdwUgK9p")}),new r.Ue("gotoUrlDocumentation",K,{label:"Documentation",description:"Read the documentation."},()=>{window?.open("https://www.sheetxl.com/docs")}),new r.Ue("gotoUrlIssue",K,{label:"Create Issue",description:"Create an issue to identify a bug or a feature request."},()=>{window?.open("https://github.com/sheetxl/sheetxl/issues")})]},[S,D,B,I,q,W,j]),G=l.useMemo(()=>{let R=null;return R=W?W.createChildGroup(K,"standaloneWorkbook",!1):new r.Au(K,"standaloneWorkbook"),R.addCommands(le,!0),R},[W,le]);r.GK({manager:j,commands:G,notifier:B});const{themeMode:ke}=r.vX();l.useEffect(()=>{if(!q||!G)return;const R=q.forceMode==="dark"||!q.forceMode&&ke==="dark";G.getCommand("themeMode").update({state:q.forceMode??null,label:R?"Dark Mode":"Light Mode",scopedLabels:{appearance:R?"Dark Mode":"Light Mode"}}).updateCallback(()=>{Q(R?r.bX.Light:r.bX.Dark)}),G.getCommand("defaultThemeMode").update({state:!q.forceMode}).updateCallback(()=>{Q(null)}),G.getCommand("forceLightGrid").update({state:q.forceLightGrid}).updateCallback(()=>{ae(!q.forceLightGrid)}),G.getCommand("forceLightImages").update({state:q.forceLightImages}).updateCallback(()=>{ne(!q.forceLightImages)})},[ke,q,le]);const{showModal:Ie}=r.u6();return l.useEffect(()=>{const R=()=>new Promise((Z,g)=>{const C=l.lazy(()=>Promise.resolve().then(()=>require("./BPbd8bf2gOPV7ZtV.cjs"))),X=Ie(C,{title:"Shortcut Keys Reference",commands:G,onDone:()=>{X.hide()},TransitionProps:{onExited:()=>{Z(!0)}}})});G.getCommand("showKeyboardShortcuts").updateCallback(()=>R()),G.getCommand("help").updateCallback(()=>R())},[le,G]),G})({workbook:i,setWorkbook:t,importExportDisabled:f,workbookTitle:a,setWorkbookTitle:s,commands:p,requestWorkbookTitle:F=>new Promise(S=>{n.current?n.current.requestWorkbookTitle((M,I)=>{S(M)},{selectAll:!0,requestReason:F}):S(u)}),themeModeOptions:x,undoManager:d,notifier:U,onExecute:P});l.useEffect(()=>{w.starting.size<=0||!w.isMounted||k(F=>{const S=new Map(F.running);return F.starting.forEach((M,I)=>{const D=()=>{k(_=>{const B=new Map(_.running);return B.delete(I),{..._,running:B}})};S.set(I,D),M(D)}),{...F,starting:new Map,running:S}})},[w]);const[$,Y]=l.useState(null);l.useEffect(()=>{w.starting.size!==0||w.running.size!==0?Y(m.jsx(r.Fu,{icon:m.jsx(r.iX,{sx:{transform:"scale(0.7)",marginLeft:"-6px"}}),panel:!0,label:w.label,onMount:h,onUnmount:T,sx:{position:"absolute",left:"0",top:"0",width:"100%",height:"100%",zIndex:"9999"}})):Y(null)},[w.starting,w.running]);const A=l.useMemo(()=>m.jsx(r.wX,{commands:z,disableHover:!0,sx:{padding:"0"},buttonProps:{sx:{maxHeight:"22px"}}}),[z]),te={notifier:U,commands:z};return i&&(te.statusBarProps={childrenEnd:A}),m.jsxs(m.Fragment,{children:[$,c?l.cloneElement(c,te):null]})}));Dt.displayName="SnackbarAndCommandsWrapper";const Ot=l.memo(l.forwardRef((e,o)=>{const{className:i,sx:t,style:n,onElementLoad:a,onError:s,undoManager:u,errorPanel:c=r.JV,onKeyDown:d,workbook:p,createWorkbookOptions:f,onWorkbookChange:x,logo:v,importExportDisabled:y=!1,themeModeOptions:b,autoFocus:w=!1,commands:k,title:h,onTitleChange:T,titleProps:E,...N}=e,L=l.useRef(null),H=r.Te(x,[x]),U=r.Te(T??E?.onTitleChange,[T??E?.onTitleChange]),P=E?.placeHolder??"Untitled",z=b?.forceMode,{themeMode:$,source:Y}=r.vX({mode:z}),A=l.useMemo(()=>({...b,light:r.sX(!1,r.re.deepMerge(b?.theme??{},b?.light??{})),dark:r.sX(!0,r.re.deepMerge(b?.theme??{},b?.dark??{}))}),[b]),te=$===r.bX.Dark,[F,S]=l.useState(null);l.useEffect(()=>{S(u??new r.WK)},[u]);const[M,I]=l.useState(null),[D,_]=l.useState(null),B=r.bR();l.useLayoutEffect(()=>{if(!p||Object.keys(p).length===0&&!r.re.isPromiseLike(p)){const g={theme:B.getDefaultTheme(),...f};_(new r.vL(g))}else _(p)},[p]),l.useLayoutEffect(()=>{if(D){if(D instanceof r.vL)return I({workbook:D}),void(p!==D&&H?.(D));(async()=>{try{let g,C=await Promise.resolve(D);C&&C.source&&(C=await r.xX.read(C)),C.workbook?(V(C.title),g=C.workbook):g=C,H?.(g),I({workbook:g})}catch(g){H?.(null),I({error:g})}})()}},[D]);const[J,q]=l.useState(null);l.useEffect(()=>{if(!F||!M)return;F.clear();const g=M?.workbook?.getTransactions();return g?g.addListener({onCommitEnd:C=>{C.getDescription()?F.addUndoOperation({description:C.getDescription(),undo:()=>(g.revert(C.getId()),J.source?.focus(),()=>{g.restore(C.getId()),J.source?.focus()})}):console.warn("commit has no description",C)}}):void 0},[F,M,J]);const j=r.Te(g=>{g?F.setRepeatableOperation({description:g.label(),repeat:async()=>g.execute()}):F.setRepeatableOperation(null)},[F]),[W,V]=l.useState(h??E?.title??"");l.useEffect(()=>{V(h??E?.title??"")},[h??E?.title]),l.useEffect(()=>{U?.(W)},[W]);const[Q,ae]=l.useState(null),ne=l.useMemo(()=>{const g=()=>({contains:C=>!0,focus(){}});return k?k.createChildGroup(g,"application",!1):new r.Au(g,"application")},[k]),Ae=r.Te(g=>{ae(g.source.getViewportElement()),q(g),ne.activate("sheet"),a?.(g)},[ne]);l.useEffect(()=>{J&&w&&J.source?.focus(typeof w=="object"?w:void 0)},[J]);const ge=l.useRef(null),K=l.useCallback(g=>{let C=null;return E?.hidden||(C=m.jsx(r.RK,{...E,style:{maxWidth:"100%",...E?.style},workbook:L.current,ref:ge,title:W,placeHolder:P,onTitleChange:X=>{V(X)}})),m.jsx(Lt,{...g,logo:v,mainElement:C,showFileMenu:!y,showAppearanceMenu:!!(A?.onForceLightGridChange||A?.onForceLightImagesChange||A?.onForceModeChange)})},[v,W,E,A,y,ne]);l.useEffect(()=>{const g=C=>C.preventDefault();return L.current?.addEventListener("wheel",g,{passive:!1}),()=>{L.current?.removeEventListener("wheel",g)}},[]);const le=l.useMemo(()=>m.jsx(r.Fu,{transparentBackground:!0,sx:t,style:n}),[t,n]),G=l.useCallback(({error:g})=>(s?.(g),m.jsx(c,{sx:t,style:n,error:g??"Unable to display empty workbook."})),[t,n,s]),ke=l.useMemo(()=>({...t,"& .SnackbarContainer-root":{position:"absolute !important"},"& .notistack-Snackbar":{minWidth:"unset"},"& .notistack-MuiContent *":{fontFamily:g=>g.typography.fontFamily},"& #notistack-snackbar":{maxWidth:"560px",whiteSpace:"pre-wrap"},"*":{userSelect:"none"}}),[t]),Ie=r.z6([L,o]),R=l.useMemo(()=>{if(!M)return le;if(M.error||!M.workbook)return G({error:M.error});let g=null,C=null,X=!1;return A&&(g=te?A.dark:A.light,C=te&&!A.forceLightGrid?A.dark:A.light,X=A.forceLightImages),m.jsx(r.kK,{sx:ke,style:n,tabIndex:0,autoFocus:!0,workbook:M.workbook,ref:Ie,renderToolbar:K,onElementLoad:Ae,onRepeatCommandChange:j,onKeyDown:ee=>{d?.(ee)},gridTheme:C,headersTheme:g,forceLightImages:X,className:r.Go(i,"sheetxl-workbook"),onContextMenu:ee=>ee.preventDefault(),...N},"WorkbookElement")},[M,W,F,le,A,N,K,ke]);let Z=m.jsx(Zt,{fallbackRender:G,children:m.jsx(dn,{maxSnack:3,domRoot:Q,anchorOrigin:{vertical:"bottom",horizontal:"right"},autoHideDuration:3500,onClose:(g,C,X)=>{L.current?.focus()},Components:{error:Mt},iconVariant:{success:m.jsx(r.SvgIcon,{style:{marginRight:"8px"},children:m.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"})}),error:m.jsx(r.rX,{style:{marginRight:"8px"}})},children:m.jsx(r.lX,{children:m.jsx(Dt,{workbook:M?.workbook,setWorkbook:_,importExportDisabled:y,titlePlaceHolder:P,titleWorkbook:W,setWorkbookTitle:V,refWorkbookTitle:ge,commands:ne,undoManager:F,themeModeOptions:A,children:R})})})});return A&&(Z=m.jsxs(r.Nj,{theme:te?A.dark:A.light,children:[A.cssBaseline?m.jsx(Kt,{}):null,Z]})),Z}));Ot.displayName="EagerStandaloneWorkbook";const mn=Object.freeze(Object.defineProperty({__proto__:null,default:Ot},Symbol.toStringTag,{value:"Module"})),fn=Object.freeze(Object.defineProperty({__proto__:null,E:mn,c:ie},Symbol.toStringTag,{value:"Module"}));exports.ByYn00uYUmHj9zvS=fn,exports.Collapse=Fe,exports.fe=ie;
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.2
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.2
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.2
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,6 +1,6 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.2
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
- */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),a=require("react"),t=require("./DjrGUr-awhOmDtrE.cjs"),p=a.memo(h=>{const{title:f,onHide:y,autoFocusSel:b=".range-input input",context:j,notifier:l=t.$4,command:r,commands:c,...w}=h,[S,d]=a.useState(!1),[g,x]=a.useState(!1),m=a.useRef(null),[F,C]=a.useReducer(e=>e+1,0),[v,{width:H}]=t.og();t.v0(r);const i=j??r.context(),n=i.table(),[T,R]=a.useState(()=>n?i.getNames().getRanges(n.getRange()):null),B=a.useMemo(()=>n?.getName()??"",[n]);t.vn(i.table(),{onAnchorCoordsChange(e){R(i.getNames().getRanges(e.getRange()))},onProtectedChange(e){C()}});const N=t.Te(e=>{i?.table().setName(e)},[i]),D=t.Te(e=>{i?.table().resize(e.at(0))},[i]);let u=null;return i.table()||(u=o.jsx("div",{style:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%",opacity:1,display:"flex",alignItems:"center",justifyItems:"center",justifyContent:"center",boxSizing:"border-box"},children:o.jsx("div",{children:"No table selected"})})),o.jsx(t.zH,{title:f??"Table Details",initialPosition:{y:"35"},autoFocusSel:b,refWindow:m,onHide:y,onFocus:()=>d(!0),onBlur:e=>{m?.current?.contains(e.relatedTarget)||d(!1)},PaperProps:{elevation:S?3:1},...w,children:o.jsxs(t.DialogContent,{dividers:!0,ref:v,sx:{display:"flex",flexDirection:"column",position:"relative",paddingLeft:e=>e.spacing(1.5),paddingRight:e=>e.spacing(1.5)},children:[o.jsxs(t.Box,{sx:{display:"flex",flexDirection:"column",transition:"opacity 60ms",opacity:i.table()?1:0},children:[o.jsx(t.Box,{sx:{display:"flex",flexDirection:"row",gap:e=>e.spacing(1)},children:o.jsx(t.Box,{sx:{display:"flex",flexDirection:"column",maxWidth:"100%",boxSizing:"border-box",paddingLeft:e=>e.spacing(2),paddingRight:e=>e.spacing(2)},children:o.jsxs(t.Box,{sx:{display:"flex",flexDirection:"column",alignItems:"center"},children:[o.jsx(t.zq,{formName:"name",defaultInput:B,value:n?.getName()??"No table",onChangeInput:N,onValidate:e=>{n&&n.getName().toLowerCase()===e.toLowerCase()||i?.getNames().validateName(e)},disabled:n?.isProtected()??!0,onFocus:e=>{g||e.target?.select(),x(!0)}}),o.jsx(t.Pq,{formName:"range",value:T,onChangeInput:D,resolvedAddress:i.getNames().getRanges.bind(i.getNames()),disabled:n?.isProtected()??!0,onFocus:e=>{g||e.target?.select(),x(!0)}})]})})}),o.jsxs(t.Box,{sx:{minHeight:"10px",flex:"1 1 100%",display:"flex",flexDirection:"column",gap:e=>e.spacing(.5),marginTop:e=>e.spacing(1)},children:[o.jsx(t.en,{orientation:"horizontal",sx:{marginTop:e=>e.spacing(1.5),marginBottom:e=>e.spacing(.75)}}),o.jsx(t.fX,{disabled:n?.isProtected(),styleOptions:n?.getStyleOptions()??null,onStyleOptionsChange:e=>{n.updateStyleOptions(e)},showHeaderRow:n?.getShowHeaders(),onShowHeaderRowChange:e=>{try{n.setShowHeaders(e)}catch(s){l.showError(s)}},showTotalRow:n?.getShowTotals(),onShowTotalRowChange:e=>{try{n.setShowTotals(e)}catch(s){l.showError(s)}},showFilterButton:n?.getFilter()?n.getShowFilterButton():null,onShowFilterButtonChange:e=>{try{n.setShowFilterButton(e)}catch(s){l.showError(s)}}}),o.jsx(t.Box,{sx:{display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"column",marginTop:e=>e.spacing(2),marginBottom:e=>e.spacing(1)},children:o.jsx(t.Rq,{table:n,styles:i.styles(),bodyStyle:i.bodyStyle(),cellHeight:30,isLive:!0})}),o.jsx(t.en,{orientation:"horizontal"}),o.jsxs(t.Box,{sx:{display:"flex",flexDirection:"column",justifyContent:"center"},children:[o.jsx(t.qe,{variant:t.pn.Menuitem,command:c.getCommand("convertTableToRange"),commandState:n,icon:t.Le(o.jsx(t.O2,{}))}),o.jsx(t.qe,{variant:t.pn.Menuitem,commandState:n,command:c.getCommand("deleteTable"),icon:t.Le(o.jsx(t.O2,{}))})]})]})]}),u]})})});exports.TableDetailsWindow=p,exports.default=p;
6
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),a=require("react"),t=require("./B4SOP0NZdUa_5syD.cjs"),p=a.memo(h=>{const{title:f,onHide:y,autoFocusSel:b=".range-input input",context:j,notifier:l=t.$4,command:r,commands:c,...w}=h,[S,d]=a.useState(!1),[g,x]=a.useState(!1),m=a.useRef(null),[F,C]=a.useReducer(e=>e+1,0),[v,{width:H}]=t.og();t.v0(r);const i=j??r.context(),n=i.table(),[T,R]=a.useState(()=>n?i.getNames().getRanges(n.getRange()):null),B=a.useMemo(()=>n?.getName()??"",[n]);t.vn(i.table(),{onAnchorCoordsChange(e){R(i.getNames().getRanges(e.getRange()))},onProtectedChange(e){C()}});const N=t.Te(e=>{i?.table().setName(e)},[i]),D=t.Te(e=>{i?.table().resize(e.at(0))},[i]);let u=null;return i.table()||(u=o.jsx("div",{style:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%",opacity:1,display:"flex",alignItems:"center",justifyItems:"center",justifyContent:"center",boxSizing:"border-box"},children:o.jsx("div",{children:"No table selected"})})),o.jsx(t.zH,{title:f??"Table Details",initialPosition:{y:"35"},autoFocusSel:b,refWindow:m,onHide:y,onFocus:()=>d(!0),onBlur:e=>{m?.current?.contains(e.relatedTarget)||d(!1)},PaperProps:{elevation:S?3:1},...w,children:o.jsxs(t.DialogContent,{dividers:!0,ref:v,sx:{display:"flex",flexDirection:"column",position:"relative",paddingLeft:e=>e.spacing(1.5),paddingRight:e=>e.spacing(1.5)},children:[o.jsxs(t.Box,{sx:{display:"flex",flexDirection:"column",transition:"opacity 60ms",opacity:i.table()?1:0},children:[o.jsx(t.Box,{sx:{display:"flex",flexDirection:"row",gap:e=>e.spacing(1)},children:o.jsx(t.Box,{sx:{display:"flex",flexDirection:"column",maxWidth:"100%",boxSizing:"border-box",paddingLeft:e=>e.spacing(2),paddingRight:e=>e.spacing(2)},children:o.jsxs(t.Box,{sx:{display:"flex",flexDirection:"column",alignItems:"center"},children:[o.jsx(t.zq,{formName:"name",defaultInput:B,value:n?.getName()??"No table",onChangeInput:N,onValidate:e=>{n&&n.getName().toLowerCase()===e.toLowerCase()||i?.getNames().validateName(e)},disabled:n?.isProtected()??!0,onFocus:e=>{g||e.target?.select(),x(!0)}}),o.jsx(t.Pq,{formName:"range",value:T,onChangeInput:D,resolvedAddress:i.getNames().getRanges.bind(i.getNames()),disabled:n?.isProtected()??!0,onFocus:e=>{g||e.target?.select(),x(!0)}})]})})}),o.jsxs(t.Box,{sx:{minHeight:"10px",flex:"1 1 100%",display:"flex",flexDirection:"column",gap:e=>e.spacing(.5),marginTop:e=>e.spacing(1)},children:[o.jsx(t.en,{orientation:"horizontal",sx:{marginTop:e=>e.spacing(1.5),marginBottom:e=>e.spacing(.75)}}),o.jsx(t.fX,{disabled:n?.isProtected(),styleOptions:n?.getStyleOptions()??null,onStyleOptionsChange:e=>{n.updateStyleOptions(e)},showHeaderRow:n?.getShowHeaders(),onShowHeaderRowChange:e=>{try{n.setShowHeaders(e)}catch(s){l.showError(s)}},showTotalRow:n?.getShowTotals(),onShowTotalRowChange:e=>{try{n.setShowTotals(e)}catch(s){l.showError(s)}},showFilterButton:n?.getFilter()?n.getShowFilterButton():null,onShowFilterButtonChange:e=>{try{n.setShowFilterButton(e)}catch(s){l.showError(s)}}}),o.jsx(t.Box,{sx:{display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"column",marginTop:e=>e.spacing(2),marginBottom:e=>e.spacing(1)},children:o.jsx(t.Rq,{table:n,styles:i.styles(),bodyStyle:i.bodyStyle(),cellHeight:30,isLive:!0})}),o.jsx(t.en,{orientation:"horizontal"}),o.jsxs(t.Box,{sx:{display:"flex",flexDirection:"column",justifyContent:"center"},children:[o.jsx(t.qe,{variant:t.pn.Menuitem,command:c.getCommand("convertTableToRange"),commandState:n,icon:t.Le(o.jsx(t.O2,{}))}),o.jsx(t.qe,{variant:t.pn.Menuitem,commandState:n,command:c.getCommand("deleteTable"),icon:t.Le(o.jsx(t.O2,{}))})]})]})]}),u]})})});exports.TableDetailsWindow=p,exports.default=p;
@@ -1,6 +1,6 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.2
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
- */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.TypeScriptCompiler=class{constructor(r={}){this.workerWrapper=null}async getWorkerWrapper(){if(this.workerWrapper)return this.workerWrapper;const{createCompilerWorker:r}=await Promise.resolve().then(()=>require("./CHT-XlD5pCRxYb1o.cjs"));return this.workerWrapper=await r(),this.workerWrapper}async compileModule(r){try{return(await this.getWorkerWrapper()).execute(r)}catch(e){throw console.error("Failed to compile using worker:",e),e}}terminate(){this.workerWrapper?.terminate(),this.workerWrapper=null}};
6
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.TypeScriptCompiler=class{constructor(r={}){this.workerWrapper=null}async getWorkerWrapper(){if(this.workerWrapper)return this.workerWrapper;const{createCompilerWorker:r}=await Promise.resolve().then(()=>require("./CkOqLhMfOSUO6hZc.cjs"));return this.workerWrapper=await r(),this.workerWrapper}async compileModule(r){try{return(await this.getWorkerWrapper()).execute(r)}catch(e){throw console.error("Failed to compile using worker:",e),e}}terminate(){this.workerWrapper?.terminate(),this.workerWrapper=null}};
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.2
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,6 +1,6 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.2
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
- */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),u=require("react"),e=require("./DjrGUr-awhOmDtrE.cjs"),a=({range:c,options:r,cell:d,onDone:s,...b})=>{const[t,i]=u.useState(r??e.pc.DefaultRangeOptions),C=e.Te(n=>{let l=null;n==="Sort"&&(l={...r,options:t}),s?.(l)},[t,s,r]);return o.jsx(e.Tb,{title:"Sort",options:["Sort","Cancel"],onDone:C,...b,children:o.jsxs(e.Box,{sx:{display:"flex",flexDirection:"column"},children:[o.jsx(e.FormControlLabel,{control:o.jsx(e.Checkbox,{checked:!t.reverse,onChange:()=>i(n=>({...n,reverse:!n.reverse}))}),label:"Is Ascending",labelPlacement:"end"}),o.jsx(e.FormControlLabel,{control:o.jsx(e.Checkbox,{checked:t.hasHeader,onChange:()=>i(n=>({...n,hasHeader:!n.hasHeader}))}),label:"Has Header",labelPlacement:"end"}),o.jsx(e.FormControlLabel,{control:o.jsx(e.Checkbox,{checked:t.collatorOptions?.sensitivity===e.pc.CaseSensitiveOptions.sensitivity,onChange:()=>i(n=>({...n,collatorOptions:t.collatorOptions?.sensitivity===e.pc.CaseSensitiveOptions.sensitivity?e.pc.CaseInsensitiveOptions:e.pc.CaseSensitiveOptions}))}),label:"Case Sensitive",labelPlacement:"end"}),o.jsx(e.FormControlLabel,{control:o.jsx(e.Checkbox,{checked:t.orientation===e.q.Orientation.Row,onChange:()=>i(n=>{const l=n.orientation===e.q.Orientation.Row?e.q.Orientation.Column:e.q.Orientation.Row;return{...c.getDefaultSortCriteria(l,d).options,includeHidden:n.includeHidden,reverse:n.reverse,orientation:l}})}),label:"Row Sort",labelPlacement:"end"}),o.jsx(e.FormControlLabel,{control:o.jsx(e.Checkbox,{checked:t.includeHidden,onChange:()=>i(n=>({...n,includeHidden:!n.includeHidden}))}),label:"Include Hidden",labelPlacement:"end"})]})})};exports.SortDialog=a,exports.default=a;
6
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),u=require("react"),e=require("./B4SOP0NZdUa_5syD.cjs"),a=({range:c,options:r,cell:d,onDone:s,...b})=>{const[t,i]=u.useState(r??e.pc.DefaultRangeOptions),C=e.Te(n=>{let l=null;n==="Sort"&&(l={...r,options:t}),s?.(l)},[t,s,r]);return o.jsx(e.Tb,{title:"Sort",options:["Sort","Cancel"],onDone:C,...b,children:o.jsxs(e.Box,{sx:{display:"flex",flexDirection:"column"},children:[o.jsx(e.FormControlLabel,{control:o.jsx(e.Checkbox,{checked:!t.reverse,onChange:()=>i(n=>({...n,reverse:!n.reverse}))}),label:"Is Ascending",labelPlacement:"end"}),o.jsx(e.FormControlLabel,{control:o.jsx(e.Checkbox,{checked:t.hasHeader,onChange:()=>i(n=>({...n,hasHeader:!n.hasHeader}))}),label:"Has Header",labelPlacement:"end"}),o.jsx(e.FormControlLabel,{control:o.jsx(e.Checkbox,{checked:t.collatorOptions?.sensitivity===e.pc.CaseSensitiveOptions.sensitivity,onChange:()=>i(n=>({...n,collatorOptions:t.collatorOptions?.sensitivity===e.pc.CaseSensitiveOptions.sensitivity?e.pc.CaseInsensitiveOptions:e.pc.CaseSensitiveOptions}))}),label:"Case Sensitive",labelPlacement:"end"}),o.jsx(e.FormControlLabel,{control:o.jsx(e.Checkbox,{checked:t.orientation===e.q.Orientation.Row,onChange:()=>i(n=>{const l=n.orientation===e.q.Orientation.Row?e.q.Orientation.Column:e.q.Orientation.Row;return{...c.getDefaultSortCriteria(l,d).options,includeHidden:n.includeHidden,reverse:n.reverse,orientation:l}})}),label:"Row Sort",labelPlacement:"end"}),o.jsx(e.FormControlLabel,{control:o.jsx(e.Checkbox,{checked:t.includeHidden,onChange:()=>i(n=>({...n,includeHidden:!n.includeHidden}))}),label:"Include Hidden",labelPlacement:"end"})]})})};exports.SortDialog=a,exports.default=a;
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.2
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.2
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.2
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.2
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.2
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,6 +1,6 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.2
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
- */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),a=require("react"),t=require("./DjrGUr-awhOmDtrE.cjs"),S=["Ok","Cancel"],k=a.memo(C=>{const{initialHyperlink:l=null,initialDisplay:b=null,onUpdateHyperlink:g,context:s,onOption:x,onValidateOption:p,onDone:u,options:m=S,defaultOption:d=m?.[0],cancelOption:r="Cancel",sx:F,...O}=C,P=a.useMemo(()=>(l??s?.()?.getHyperlink())!==null,[]),f=a.useMemo(()=>{let e=null,o=null;l&&(typeof l=="string"?o=l:e=l);const y=e??s?.()?.getHyperlink();return{address:o??y?.getAddress()??"",textToDisplay:y?.getDisplayText()??""}},[l,s]),[n,D]=a.useState(f.address),[c,j]=a.useState(()=>{const e=s?.().toTextUnformatted()??b;return e===f.address?"":e}),[v,h]=a.useState(!1),H=a.useCallback(e=>{j(e.target.value)},[]),T=a.useCallback(async(e,o)=>null,[]),I=t.Te(async e=>{e!==r&&g?.(n===""?null:{address:n},c),x?.(e,e===r,e===d),u?.()},[n,c,g,u,x,d,r]),M=t.Te(e=>{D(e.target.value),T(e.target.value,null)},[p]),w=t.Te(async e=>{let o=await Promise.resolve(p?.(e));try{o!==!1&&(o=await T(n,e))}catch{}return o??!0},[p]);return i.jsx(t.Tb,{title:(P?"Edit":"Insert")+" Link",options:m,onDone:u,onOption:e=>I(e),onValidateOption:w,defaultOption:d,cancelOption:r,autoFocusSel:".autoFocus",sx:{width:"480px",...F},...O,children:i.jsxs(t.Box,{sx:{paddingTop:e=>e.spacing(1),paddingBottom:e=>e.spacing(0),rowGap:e=>e.spacing(1),display:"flex",flexDirection:"column"},children:[i.jsx(t.FormControl,{sx:{paddingTop:e=>e.spacing(1.5),minWidth:135,width:"100%"},size:"small",children:i.jsx(t.TextField,{label:"Address",placeholder:"Enter a url or cell reference.",onFocus:e=>{v||e.target?.select(),h(!0)},sx:{"& .MuiFormHelperText-root":{marginTop:e=>e.spacing(.5)}},InputLabelProps:{shrink:!0},InputProps:{inputProps:{className:"autoFocus",spellCheck:!1,autoComplete:"off",sx:{paddingTop:e=>e.spacing(1.25),paddingBottom:e=>e.spacing(.75),backgroundImage:`linear-gradient(${t.alpha("#fff",t.no(5))}, ${t.alpha("#fff",t.no(5))})`}}},value:n,onChange:M,onContextMenu:e=>{e.stopPropagation()}})}),i.jsx(t.FormControl,{sx:{paddingTop:e=>e.spacing(1.5),minWidth:135,width:"100%"},size:"small",children:i.jsx(t.TextField,{label:"Display Text",placeholder:n?.startsWith("#")?n.substring(1):n,onFocus:()=>{h(!0)},sx:{"& .MuiFormHelperText-root":{marginTop:e=>e.spacing(.5)}},InputLabelProps:{shrink:!0},InputProps:{inputProps:{spellCheck:!1,autoComplete:"off",sx:{paddingTop:e=>e.spacing(1.25),paddingBottom:e=>e.spacing(.75),backgroundImage:`linear-gradient(${t.alpha("#fff",t.no(5))}, ${t.alpha("#fff",t.no(5))})`}}},value:c,onChange:H,onContextMenu:e=>{e.stopPropagation()}})})]})})});exports.HyperlinkDialog=k,exports.default=k;
6
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),a=require("react"),t=require("./B4SOP0NZdUa_5syD.cjs"),S=["Ok","Cancel"],k=a.memo(C=>{const{initialHyperlink:l=null,initialDisplay:b=null,onUpdateHyperlink:g,context:s,onOption:x,onValidateOption:p,onDone:u,options:m=S,defaultOption:d=m?.[0],cancelOption:r="Cancel",sx:F,...O}=C,P=a.useMemo(()=>(l??s?.()?.getHyperlink())!==null,[]),f=a.useMemo(()=>{let e=null,o=null;l&&(typeof l=="string"?o=l:e=l);const y=e??s?.()?.getHyperlink();return{address:o??y?.getAddress()??"",textToDisplay:y?.getDisplayText()??""}},[l,s]),[n,D]=a.useState(f.address),[c,j]=a.useState(()=>{const e=s?.().toTextUnformatted()??b;return e===f.address?"":e}),[v,h]=a.useState(!1),H=a.useCallback(e=>{j(e.target.value)},[]),T=a.useCallback(async(e,o)=>null,[]),I=t.Te(async e=>{e!==r&&g?.(n===""?null:{address:n},c),x?.(e,e===r,e===d),u?.()},[n,c,g,u,x,d,r]),M=t.Te(e=>{D(e.target.value),T(e.target.value,null)},[p]),w=t.Te(async e=>{let o=await Promise.resolve(p?.(e));try{o!==!1&&(o=await T(n,e))}catch{}return o??!0},[p]);return i.jsx(t.Tb,{title:(P?"Edit":"Insert")+" Link",options:m,onDone:u,onOption:e=>I(e),onValidateOption:w,defaultOption:d,cancelOption:r,autoFocusSel:".autoFocus",sx:{width:"480px",...F},...O,children:i.jsxs(t.Box,{sx:{paddingTop:e=>e.spacing(1),paddingBottom:e=>e.spacing(0),rowGap:e=>e.spacing(1),display:"flex",flexDirection:"column"},children:[i.jsx(t.FormControl,{sx:{paddingTop:e=>e.spacing(1.5),minWidth:135,width:"100%"},size:"small",children:i.jsx(t.TextField,{label:"Address",placeholder:"Enter a url or cell reference.",onFocus:e=>{v||e.target?.select(),h(!0)},sx:{"& .MuiFormHelperText-root":{marginTop:e=>e.spacing(.5)}},InputLabelProps:{shrink:!0},InputProps:{inputProps:{className:"autoFocus",spellCheck:!1,autoComplete:"off",sx:{paddingTop:e=>e.spacing(1.25),paddingBottom:e=>e.spacing(.75),backgroundImage:`linear-gradient(${t.alpha("#fff",t.no(5))}, ${t.alpha("#fff",t.no(5))})`}}},value:n,onChange:M,onContextMenu:e=>{e.stopPropagation()}})}),i.jsx(t.FormControl,{sx:{paddingTop:e=>e.spacing(1.5),minWidth:135,width:"100%"},size:"small",children:i.jsx(t.TextField,{label:"Display Text",placeholder:n?.startsWith("#")?n.substring(1):n,onFocus:()=>{h(!0)},sx:{"& .MuiFormHelperText-root":{marginTop:e=>e.spacing(.5)}},InputLabelProps:{shrink:!0},InputProps:{inputProps:{spellCheck:!1,autoComplete:"off",sx:{paddingTop:e=>e.spacing(1.25),paddingBottom:e=>e.spacing(.75),backgroundImage:`linear-gradient(${t.alpha("#fff",t.no(5))}, ${t.alpha("#fff",t.no(5))})`}}},value:c,onChange:H,onContextMenu:e=>{e.stopPropagation()}})})]})})});exports.HyperlinkDialog=k,exports.default=k;
@@ -1,6 +1,6 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.2
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
- */require("react"),require("react/jsx-runtime"),require("react-dom/client");const e=require("./DjrGUr-awhOmDtrE.cjs");module.exports=e.SheetXL;
6
+ */require("react"),require("react/jsx-runtime"),require("react-dom/client");const e=require("./B4SOP0NZdUa_5syD.cjs");module.exports=e.SheetXL;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.2
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,8 +1,8 @@
1
1
  import { jsx as o, jsxs as A } from "react/jsx-runtime";
2
2
  import { memo as E, useMemo as b, useState as g, useCallback as O } from "react";
3
- import { a7 as f, T as S, c as U, F as P, f as D, g as l, b6 as p } from "./DY-wznfI02TzBooB.mjs";
3
+ import { a7 as f, T as S, c as U, F as P, f as D, g as l, b6 as p } from "./Cz7RSKUHlEt4Sy6b.mjs";
4
4
  /**
5
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.1
5
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.2
6
6
  *
7
7
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
8
8
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,8 +1,8 @@
1
1
  import { jsx as t, jsxs as y } from "react/jsx-runtime";
2
2
  import { memo as G, useState as x, useCallback as F, useEffect as H, useMemo as w } from "react";
3
- import { a7 as l, b3 as K, n, T as q, c as P, F as S, b4 as A, b5 as J, g as p, b6 as c, f as Q, as as D, b7 as U } from "./DY-wznfI02TzBooB.mjs";
3
+ import { a7 as l, b3 as K, n, T as q, c as P, F as S, b4 as A, b5 as J, g as p, b6 as c, f as Q, as as D, b7 as U } from "./Cz7RSKUHlEt4Sy6b.mjs";
4
4
  /**
5
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.1
5
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.2
6
6
  *
7
7
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
8
8
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,8 +1,8 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
2
  import { memo as E, useMemo as M, useState as x, useCallback as j } from "react";
3
- import { a7 as r, T as S, c as V, F as $, f as z, g as h, b6 as C } from "./DY-wznfI02TzBooB.mjs";
3
+ import { a7 as r, T as S, c as V, F as $, f as z, g as h, b6 as C } from "./Cz7RSKUHlEt4Sy6b.mjs";
4
4
  /**
5
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.1
5
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.2
6
6
  *
7
7
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
8
8
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.2
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.2
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -10,7 +10,7 @@ class o {
10
10
  }
11
11
  async getWorkerWrapper() {
12
12
  if (this.workerWrapper) return this.workerWrapper;
13
- const { createCompilerWorker: r } = await import("./ILxB2ghS7La7VXBi.mjs");
13
+ const { createCompilerWorker: r } = await import("./Dv5RrOnUwTMHeM7k.mjs");
14
14
  return this.workerWrapper = await r(), this.workerWrapper;
15
15
  }
16
16
  async compileModule(r) {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.2
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,7 +1,7 @@
1
1
  import * as Je from "react";
2
2
  import { createElement as $r, forwardRef as Ya, useRef as Xa, useImperativeHandle as Wa, useEffect as Ha } from "react";
3
3
  /**
4
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.1
4
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.2
5
5
  *
6
6
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
7
7
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.2
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.2
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.2
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -13,7 +13,7 @@ const i = { reactUrl: "https://esm.sh/react@19.1.0", reactJsxTransform: "https:/
13
13
  e.type = "importmap", e.textContent = JSON.stringify({ imports: { react: n, "react/jsx-runtime": a, "react-dom": s, "react-dom/client": c } }), document.head.appendChild(e), console.log("SheetXL: Import map injected:", e.textContent);
14
14
  }
15
15
  await new Promise((e) => setTimeout(e, 0));
16
- const o = await Promise.all([import("react"), import("react/jsx-runtime"), import("react-dom"), import("react-dom/client"), import("./DY-wznfI02TzBooB.mjs").then((e) => e.bI)]);
16
+ const o = await Promise.all([import("react"), import("react/jsx-runtime"), import("react-dom"), import("react-dom/client"), import("./Cz7RSKUHlEt4Sy6b.mjs").then((e) => e.bI)]);
17
17
  return console.log("SheetXL: Dependencies resolved:", o), { React: o[0], ReactJSXTransform: o[1], ReactDOM: o[2], ReactDOMClient: o[3], StudioMUI: o[4] };
18
18
  })(), r));
19
19
  export {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.2
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.