@sheetxl/studio-vanilla 0.3.4 → 0.3.6

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 (197) hide show
  1. package/browser/cjs/3JKPVnbyR3hJBHBj.cjs +6 -0
  2. package/browser/cjs/B1_gRcAH1cv26X_U.cjs +301 -0
  3. package/browser/cjs/B2fgcYTdhA0facdy.cjs +6 -0
  4. package/browser/cjs/B5cmz4f50xr5iF-S.cjs +19 -0
  5. package/browser/cjs/B7eLEpR9cmunfRfq.cjs +6 -0
  6. package/browser/cjs/BDUaerzhOJJZeQgS.cjs +6 -0
  7. package/browser/cjs/BDcLV5_cJTh8yhJI.cjs +7 -0
  8. package/browser/cjs/{CdVKz1bz20BYztuB.cjs → BOSNEoFPpJAjkRsv.cjs} +1 -1
  9. package/browser/cjs/{BDmE5OFneHwyeeiD.cjs → BSfmlz8MvlIKFx_N.cjs} +4 -4
  10. package/browser/cjs/Bdhft6pu1-bwMbfv.cjs +12 -0
  11. package/browser/cjs/BmbGW13BR2649OAV.cjs +6 -0
  12. package/browser/cjs/{DzE824T4cXRcKowY.cjs → Bu6q4vuUt_6LDbk_.cjs} +1 -1
  13. package/browser/cjs/{DD0VHDU8F1FiLKcs.cjs → CXe_6K7OT1AVSgAV.cjs} +1 -1
  14. package/browser/cjs/ChqJwXboF-6-bjIC.cjs +6 -0
  15. package/browser/cjs/CyA00uY0ivUSWJ17.cjs +6 -0
  16. package/browser/cjs/D1jsD18kKrFBRLo8.cjs +12 -0
  17. package/browser/cjs/{D-I49Eh-SQg7zJYX.cjs → DC0sGYXEVcjL3fEu.cjs} +1 -1
  18. package/browser/cjs/{BTgA_stiR3dZAHop.cjs → DQJ0sG5gEZSPPLGp.cjs} +2 -2
  19. package/browser/cjs/{WPXWuf9j-uwazW31.cjs → DUIyD1-nWzOytYDo.cjs} +2 -2
  20. package/browser/cjs/{yZrSgyFKPqsiym7z.cjs → D_RushRsBoa4Hd6w.cjs} +2 -2
  21. package/browser/cjs/{46C8cTP5D1fDfsPs.cjs → D_gx4EJ1Z1jqCpC2.cjs} +1 -1
  22. package/browser/cjs/Dgv9C5kP5-0zdZ_n.cjs +6 -0
  23. package/browser/cjs/{BB5pxJh1jhHsvVZ1.cjs → Dp_f-iB1lirYu5mz.cjs} +1 -1
  24. package/browser/cjs/P2nQEqe-ae2Lk91E.cjs +11 -0
  25. package/browser/cjs/{CpPM7Ir1EZB_8bER.cjs → SvTvsTn26UgPTXmE.cjs} +1 -1
  26. package/browser/cjs/index.cjs +2 -2
  27. package/browser/cjs/{CuldnUeQxpcu8oJ7.cjs → oIH2DXvUemx8KBZE.cjs} +1 -1
  28. package/{cdn/assets/RWhi_dOrWDICNt1t.js → browser/esm/BEdBgMB0JXu6qm1p.mjs} +1 -1
  29. package/browser/esm/{BNq1DlA_v8-hm8PQ.mjs → BUVsXfFhbzBtVoTV.mjs} +71 -70
  30. package/browser/esm/{DLJ1zBZE-WPdkpt2.mjs → BWoHBg8cjtJL9xBv.mjs} +132 -131
  31. package/{cdn/assets/DjHCn_TmfObC_aJ1.js → browser/esm/Bc8I4T3hDcq3Tbe7.mjs} +13 -13
  32. package/{cdn/assets/dQu9CDkkTpS5h580.js → browser/esm/BpIA1_q9rYZhuE_V.mjs} +8 -8
  33. package/browser/esm/{BjLCBG20KyjNKCpy.mjs → BwpZ-CB67KJ8A2Pd.mjs} +2 -2
  34. package/browser/esm/{Dq1oxXMudxqdJaKZ.mjs → CAUWxMHzGpG7-P5A.mjs} +11 -10
  35. package/{cdn/assets/CGUSbWH383tudMFu.js → browser/esm/CFw_ZTxUHsgd5Pf5.mjs} +10 -10
  36. package/browser/esm/{CTdGamCv2VtpI05C.mjs → CIG-Y2tRBFYerBVK.mjs} +1 -1
  37. package/browser/esm/{s8U6UEvd4LQsvEnH.mjs → CRLFplTpJUvecqqq.mjs} +1 -1
  38. package/browser/esm/{CeWIrhJ_bsxOl7mw.mjs → CanwhkFG9e2Ojys-.mjs} +24 -23
  39. package/browser/esm/CcGOjkDDVya2Ff-b.mjs +50 -0
  40. package/browser/esm/{BfNo01-WwZl_5N1M.mjs → Ce53t5Ez6mDQoNNS.mjs} +192 -191
  41. package/browser/esm/{pxRv4ndPNkOMM_s3.mjs → Cmk4lwRc0QJqs2cT.mjs} +13 -13
  42. package/{cdn/assets/CG-YuIoWsi12_nu9.js → browser/esm/CnI4MLBb2ZtZInkh.mjs} +10 -10
  43. package/{cdn/assets/CNhPYXS_v3a2ATBg.js → browser/esm/CrZPGKZDaJ-22LSg.mjs} +791 -788
  44. package/{cdn/assets/Dl02UNFD2tNwtHQ9.js → browser/esm/D-GTj1DQOn_EIw_N.mjs} +1 -1
  45. package/{cdn/assets/ct9ztJbQB16MJoyP.js → browser/esm/D0YFJdBci18KKVSS.mjs} +7 -7
  46. package/{cdn/assets/BY5dcSv5nxuvXMsr.js → browser/esm/D7__-CZBbVdVmNms.mjs} +13 -13
  47. package/{cdn/assets/C-oc6cc0wXRVBFx2.js → browser/esm/DRX3PxyWmwYCO1oC.mjs} +1 -1
  48. package/browser/esm/DtS8vZkP_9xxg-8G.mjs +24893 -0
  49. package/browser/esm/{BXMZNx8rs4_V8pQL.mjs → DuOzS4aDJybvfnas.mjs} +2 -2
  50. package/browser/esm/{C2Ik_RfF43fmFDeS.mjs → ekyugPyyyBIdZgfX.mjs} +1 -1
  51. package/browser/esm/{BrWhLiIy81LKNSUX.mjs → evOdu9Z-9G0PNrGI.mjs} +1 -1
  52. package/browser/esm/{qchlbvmOxrybWJep.mjs → goTiQtfGVEDiRLX3.mjs} +1 -1
  53. package/browser/esm/index.mjs +2 -2
  54. package/browser/esm/{FCkxbRy2XiqD3GdL.mjs → ius8cYWSRDNFx-QU.mjs} +12 -12
  55. package/{browser/esm/BoL2rsWK1YyT1PP7.mjs → cdn/assets/6GT7WcmdWYVxOobM.js} +8 -8
  56. package/{browser/esm/RWhi_dOrWDICNt1t.mjs → cdn/assets/BEdBgMB0JXu6qm1p.js} +1 -1
  57. package/cdn/assets/{6tFlyQMvtppXfmuU.js → BH-qA3U2gj7snkKJ.js} +24 -23
  58. package/{browser/esm/im3UoVISx3VXhEFp.mjs → cdn/assets/BPeDOIBYCZkjaWRD.js} +13 -13
  59. package/cdn/assets/{mAWImp_J2v8z8hbZ.js → BVIGf25ixd6wvJVI.js} +132 -131
  60. package/cdn/assets/{BPStm90FUYfOgibU.js → BcGPdpUCizGdDlXm.js} +12 -12
  61. package/cdn/assets/Be-_CFU80fx1X1E9.js +50 -0
  62. package/cdn/assets/{CTdGamCv2VtpI05C.js → CIG-Y2tRBFYerBVK.js} +1 -1
  63. package/cdn/assets/{s8U6UEvd4LQsvEnH.js → CRLFplTpJUvecqqq.js} +1 -1
  64. package/cdn/assets/{BKDQtGZxRUUzBmnI.js → ChD-x-lrZKLslGbg.js} +2 -2
  65. package/cdn/assets/{COFTB6OufFls7NP1.js → CkMou3XlV2mmYqmq.js} +11 -10
  66. package/cdn/assets/{BMb4pCD8O5vK2p1B.js → Cx6czat4u0MrS9wL.js} +2 -2
  67. package/{browser/esm/Dl02UNFD2tNwtHQ9.mjs → cdn/assets/D-GTj1DQOn_EIw_N.js} +1 -1
  68. package/{browser/esm/GbTp1_3jFZu0Ex24.mjs → cdn/assets/D0YFJdBci18KKVSS.js} +7 -7
  69. package/{browser/esm/C-oc6cc0wXRVBFx2.mjs → cdn/assets/DRX3PxyWmwYCO1oC.js} +1 -1
  70. package/{browser/esm/CZRLp5H9dSrMEgaI.mjs → cdn/assets/DS9Og6WSj_kNksiq.js} +10 -10
  71. package/cdn/assets/De8HwbKM7sZJMZSq.js +24740 -0
  72. package/{browser/esm/CKHDKAaHkwZHUkoS.mjs → cdn/assets/DfoJr75R0GrjAv-i.js} +10 -10
  73. package/cdn/assets/{DYgFWlitgXmKdN_I.js → Dw1Rz_MNeT4QWFeY.js} +192 -191
  74. package/{browser/esm/Br4TnuxGRULZDhCA.mjs → cdn/assets/FSFNUan5QfhjNqMt.js} +791 -788
  75. package/cdn/assets/{Be9YovX6b_0gKXs5.js → Ijbe8IzzEjVScejo.js} +71 -70
  76. package/{browser/esm/Ddm9jggzrr5VJQ68.mjs → cdn/assets/YQRaiV0_mvhQsFVY.js} +13 -13
  77. package/cdn/assets/{LxoKYdUqZ4Zgxjza.js → _W5FqhFhYviNTP8H.js} +13 -13
  78. package/cdn/assets/{C2Ik_RfF43fmFDeS.js → ekyugPyyyBIdZgfX.js} +1 -1
  79. package/cdn/assets/{BrWhLiIy81LKNSUX.js → evOdu9Z-9G0PNrGI.js} +1 -1
  80. package/cdn/assets/{qchlbvmOxrybWJep.js → goTiQtfGVEDiRLX3.js} +1 -1
  81. package/cdn/index.js +8 -8
  82. package/cdn/loader.js +1 -1
  83. package/package.json +8 -7
  84. package/browser/cjs/0dkhOl0ItVZXnHg_.cjs +0 -6
  85. package/browser/cjs/7Xjct_4bBSU-vad1.cjs +0 -6
  86. package/browser/cjs/B2kFbeodTh3Gk-aQ.cjs +0 -6
  87. package/browser/cjs/B5UGK4AzAC9SjXJp.cjs +0 -6
  88. package/browser/cjs/B9kurj8mOePUlJX2.cjs +0 -6
  89. package/browser/cjs/BDACVe5nzEmYknRm.cjs +0 -19
  90. package/browser/cjs/BG8OR9VWCkyIRwrw.cjs +0 -6
  91. package/browser/cjs/BML8p6hKVpqMb-13.cjs +0 -124
  92. package/browser/cjs/BeGusiaaShhfh7Ch.cjs +0 -7
  93. package/browser/cjs/BgJ-surJf8jSxqmk.cjs +0 -6
  94. package/browser/cjs/BgJFVvwpAWB3ssLE.cjs +0 -6
  95. package/browser/cjs/Bi8tk3LAhLkM7IXm.cjs +0 -6
  96. package/browser/cjs/BlYpCVX1NOGpcNB6.cjs +0 -7
  97. package/browser/cjs/BnZdvx8z2BIDZv9J.cjs +0 -355
  98. package/browser/cjs/BvnUfF0WlIXumm-E.cjs +0 -6
  99. package/browser/cjs/BwGs6fp9j-iFwDlB.cjs +0 -32
  100. package/browser/cjs/C4JyilwtB4aWsWnG.cjs +0 -6
  101. package/browser/cjs/C8PUqW17bEbzJthE.cjs +0 -6
  102. package/browser/cjs/CBTWDt8vxgXfkDfh.cjs +0 -6
  103. package/browser/cjs/CJ29qM66PMBNE3G9.cjs +0 -6
  104. package/browser/cjs/CKtzkomrFnDVY5SY.cjs +0 -11
  105. package/browser/cjs/CLarA_vLTlgU3TCF.cjs +0 -13
  106. package/browser/cjs/CN8Y9NZjRCPl8CqY.cjs +0 -6
  107. package/browser/cjs/CNIPdrSO6Xr2gkt9.cjs +0 -6
  108. package/browser/cjs/CNkEdWYoHRiw_Uez.cjs +0 -6
  109. package/browser/cjs/CPFRW8nnIVWYeQYn.cjs +0 -12
  110. package/browser/cjs/CZih4fqvAIVbCVO4.cjs +0 -6
  111. package/browser/cjs/Cx3wCYZR6BKbOtgk.cjs +0 -6
  112. package/browser/cjs/Cx8xafhEESu639Ig.cjs +0 -6
  113. package/browser/cjs/CzqzVoUeKxH16SDC.cjs +0 -6
  114. package/browser/cjs/D-GDPxpVRx45cdpQ.cjs +0 -6
  115. package/browser/cjs/D50Wzp-4UIlO9uVc.cjs +0 -6
  116. package/browser/cjs/DB9rOzEP0g0ZGfBj.cjs +0 -6
  117. package/browser/cjs/DIeyUTfGkxwK6bdT.cjs +0 -15
  118. package/browser/cjs/DX_oDw_K4CB6Ej9i.cjs +0 -6
  119. package/browser/cjs/DcNRcLtSOkHAK_Mt.cjs +0 -6
  120. package/browser/cjs/Df8ZAsCgZ69F33-C.cjs +0 -6
  121. package/browser/cjs/DfCiN8VOEQt4cw-x.cjs +0 -12
  122. package/browser/cjs/DnkG5azaxDtt-73G.cjs +0 -6
  123. package/browser/cjs/Dr_HVAdkD1bM9yrW.cjs +0 -6
  124. package/browser/cjs/KbKjJCMErVEwKqoi.cjs +0 -6
  125. package/browser/cjs/Px_DbuQFWhjhPilq.cjs +0 -6
  126. package/browser/cjs/VmYEO_-N9Cn7JpZN.cjs +0 -6
  127. package/browser/cjs/c4HmqMqg3ugRd4gl.cjs +0 -1501
  128. package/browser/cjs/jmPMUQMT7KTdf9Sr.cjs +0 -6
  129. package/browser/cjs/zRbLzzCcfjQpsQ4j.cjs +0 -6
  130. package/browser/esm/0M23_yfYSvrAB5iY.mjs +0 -472
  131. package/browser/esm/2sPP8EL_OzSYDsKu.mjs +0 -10
  132. package/browser/esm/3SiPV9yNzSbQVINg.mjs +0 -10
  133. package/browser/esm/6CkscKSECxQpy0v6.mjs +0 -10
  134. package/browser/esm/94SRg1Gxbdr9B75m.mjs +0 -10
  135. package/browser/esm/B2I1Hudz2EIGw59h.mjs +0 -10
  136. package/browser/esm/B2fqssq7kMsGIg5g.mjs +0 -10
  137. package/browser/esm/BBBP9totA24zTbqh.mjs +0 -10
  138. package/browser/esm/BEYxIKe5B75ADXWP.mjs +0 -5582
  139. package/browser/esm/BIHHiMjUvXmWQ6w_.mjs +0 -10
  140. package/browser/esm/BYRVuU6FUEX6XBFW.mjs +0 -10
  141. package/browser/esm/Bq_HFm6_6_ycs_gE.mjs +0 -48519
  142. package/browser/esm/Bs6fth_bBoNrYDwE.mjs +0 -21
  143. package/browser/esm/C-QHwmJCeB3o-mzv.mjs +0 -3934
  144. package/browser/esm/C0U_bX9Hj97edVC9.mjs +0 -10
  145. package/browser/esm/CC8aO_pPT-tkJK_H.mjs +0 -10
  146. package/browser/esm/CGxu5NKxrEXE8QIe.mjs +0 -24
  147. package/browser/esm/CbTDhJiJfpR6Btxp.mjs +0 -10
  148. package/browser/esm/CsUNORBKkJ7f3diG.mjs +0 -10
  149. package/browser/esm/CyYXh2ng_dKgHzbE.mjs +0 -29
  150. package/browser/esm/DRFsMc27LyLwGu56.mjs +0 -820
  151. package/browser/esm/DT09m4FGTu5N2LZJ.mjs +0 -10
  152. package/browser/esm/DUgyehn3re1zGQT5.mjs +0 -10
  153. package/browser/esm/DWOT4LkGXRN4FrJI.mjs +0 -10
  154. package/browser/esm/Dx1J8HBJdbrROP0v.mjs +0 -10
  155. package/browser/esm/Dz8v5MSOgkaH_zTd.mjs +0 -49
  156. package/browser/esm/F7oUe3nLrtaRYTas.mjs +0 -10
  157. package/browser/esm/L5HOBW-m9BjZTUuw.mjs +0 -10
  158. package/browser/esm/XL9-bWRsLjEvW1Y0.mjs +0 -10
  159. package/browser/esm/ZXuNMFT0sYh8ui7O.mjs +0 -1575
  160. package/browser/esm/gX1gbnkwbpalR57F.mjs +0 -12
  161. package/browser/esm/kagl0zcUDaK1IX_X.mjs +0 -10
  162. package/browser/esm/t7CffsKJY64LMXgS.mjs +0 -10
  163. package/browser/esm/x9wy-F3t5pNOvOIp.mjs +0 -425
  164. package/cdn/assets/2sPP8EL_OzSYDsKu.js +0 -10
  165. package/cdn/assets/3SiPV9yNzSbQVINg.js +0 -10
  166. package/cdn/assets/6CkscKSECxQpy0v6.js +0 -10
  167. package/cdn/assets/94SRg1Gxbdr9B75m.js +0 -10
  168. package/cdn/assets/B2I1Hudz2EIGw59h.js +0 -10
  169. package/cdn/assets/B2fqssq7kMsGIg5g.js +0 -10
  170. package/cdn/assets/BBBP9totA24zTbqh.js +0 -10
  171. package/cdn/assets/BD1S4plUUe1NPAqV.js +0 -425
  172. package/cdn/assets/BIHHiMjUvXmWQ6w_.js +0 -10
  173. package/cdn/assets/BYRVuU6FUEX6XBFW.js +0 -10
  174. package/cdn/assets/Bs6fth_bBoNrYDwE.js +0 -21
  175. package/cdn/assets/BzlAT8jiYfNV3kGy.js +0 -820
  176. package/cdn/assets/C0U_bX9Hj97edVC9.js +0 -10
  177. package/cdn/assets/CC8aO_pPT-tkJK_H.js +0 -10
  178. package/cdn/assets/CGxu5NKxrEXE8QIe.js +0 -24
  179. package/cdn/assets/CJOmvmuvywU33q7C.js +0 -3934
  180. package/cdn/assets/CbTDhJiJfpR6Btxp.js +0 -10
  181. package/cdn/assets/CsUNORBKkJ7f3diG.js +0 -10
  182. package/cdn/assets/DBq5E3hmvVO5ss1V.js +0 -5582
  183. package/cdn/assets/DT09m4FGTu5N2LZJ.js +0 -10
  184. package/cdn/assets/DUgyehn3re1zGQT5.js +0 -10
  185. package/cdn/assets/DWOT4LkGXRN4FrJI.js +0 -10
  186. package/cdn/assets/Det1P4Jrl9aZHFGe.js +0 -472
  187. package/cdn/assets/Dt3qIbvMvgQhNgeR.js +0 -1575
  188. package/cdn/assets/Dx1J8HBJdbrROP0v.js +0 -10
  189. package/cdn/assets/F7oUe3nLrtaRYTas.js +0 -10
  190. package/cdn/assets/L5HOBW-m9BjZTUuw.js +0 -10
  191. package/cdn/assets/U_ihCP2tbaRnqD2g.js +0 -48366
  192. package/cdn/assets/XL9-bWRsLjEvW1Y0.js +0 -10
  193. package/cdn/assets/Z4Ov3rzhXnezd-gU.js +0 -29
  194. package/cdn/assets/dR_uwa9znq6_hDmB.js +0 -49
  195. package/cdn/assets/gX1gbnkwbpalR57F.js +0 -12
  196. package/cdn/assets/kagl0zcUDaK1IX_X.js +0 -10
  197. package/cdn/assets/t7CffsKJY64LMXgS.js +0 -10
@@ -1,10 +1,11 @@
1
- import { jsx as g, jsxs as se, Fragment as Kt } from "react/jsx-runtime";
1
+ import { jsx as g, jsxs as se, Fragment as Gt } from "react/jsx-runtime";
2
2
  import * as ve from "react";
3
- import T, { memo as Me, forwardRef as ce, useRef as le, useMemo as te, useState as ae, useEffect as G, useLayoutEffect as dt, useCallback as ne, Component as Gt, createElement as fe, createContext as xn, useContext as yn, isValidElement as wn, cloneElement as vn } from "react";
4
- import { I as xt, K as yt, L as Je, M as En, N as Cn, Q as Sn, R as Ln, U as Mn, W as He, $ as wt, a0 as vt, a1 as Mt, a2 as Dn, a3 as Tn, a4 as Zt, a5 as On, a6 as Wn, a7 as ie, a8 as Qt, a9 as Dt, F as nt, aa as pt, ab as Fn, ac as Nn, Z as Tt, ad as ye, ae as Xt, af as Rn, ag as Jt, ah as An, ai as mt, aj as Yt, ak as In, al as Pn, am as Hn, an as jn, ao as zn, ap as _n, aq as qn, B as xe, ar as Bn, i as Vn, as as $n, at as ht, au as Un, av as Kn, aw as Gn, ax as Zn, ay as Qn, az as Xn, H as Jn, aA as ee, aB as We, aC as Ot, aD as Yn, aE as eo, aF as to, aG as no, aH as oo, aI as ro, aJ as ot, aK as Fe, aL as ao, aM as io, aN as so, aO as lo, aP as Wt, aQ as Ft, aR as co, aS as uo, aT as po, aU as mo, aV as _e, aW as ho } from "./U_ihCP2tbaRnqD2g.js";
5
- import { createPortal as fo } from "react-dom";
3
+ import T, { memo as Me, forwardRef as ce, useRef as le, useMemo as te, useState as ae, useEffect as K, useLayoutEffect as dt, useCallback as ne, Component as Kt, createElement as fe, createContext as xn, useContext as yn, isValidElement as wn, cloneElement as vn } from "react";
4
+ import { g as xt, f as yt, u as Ye, h as En, i as Cn, j as Sn, k as Ln, l as Mn, m as je, n as wt, o as vt, p as Mt, q as Dn, P as Tn, r as Zt, t as On, v as Wn, w as ie, x as Xt, I as Dt, U as pt, y as Fn, Z as ye, A as Qt, C as Nn, G as Yt, H as An, J as mt, K as Jt, L as Rn, R as In, M as Pn, N as jn, V as Hn, W as zn, $ as _n, B as xe, Y as qn, E as Bn, _ as Vn, a0 as ht, a1 as $n, a2 as Un, a3 as Gn, a4 as Kn, a5 as Zn, a6 as Xn, Q as Qn, a7 as ee, a8 as We, a9 as Tt, aa as Yn, ab as Jn, ac as eo, ad as to, ae as no, af as oo, ag as nt, ah as Fe, ai as ro, aj as ao, ak as io, al as so, am as Ot, an as Wt, ao as lo, ap as co, aq as uo, ar as po, as as _e } from "./De8HwbKM7sZJMZSq.js";
5
+ import { createPortal as mo } from "react-dom";
6
+ import { CommonUtils as ot, UndoManager as ho, Workbook as Ft, PartialError as fo } from "@sheetxl/sdk";
6
7
  /**
7
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.4
8
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.6
8
9
  *
9
10
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
10
11
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -13,26 +14,26 @@ function go(e) {
13
14
  return xt("MuiCollapse", e);
14
15
  }
15
16
  yt("MuiCollapse", ["root", "horizontal", "vertical", "entered", "hidden", "wrapper", "wrapperInner"]);
16
- const ko = He("div", { name: "MuiCollapse", slot: "Root", overridesResolver: (e, o) => {
17
+ const ko = je("div", { name: "MuiCollapse", slot: "Root", overridesResolver: (e, o) => {
17
18
  const { ownerState: r } = e;
18
19
  return [o.root, o[r.orientation], r.state === "entered" && o.entered, r.state === "exited" && !r.in && r.collapsedSize === "0px" && o.hidden];
19
- } })(Dn(({ 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" } }] }))), bo = He("div", { name: "MuiCollapse", slot: "Wrapper", overridesResolver: (e, o) => o.wrapper })({ display: "flex", width: "100%", variants: [{ props: { orientation: "horizontal" }, style: { width: "auto", height: "100%" } }] }), xo = He("div", { name: "MuiCollapse", slot: "WrapperInner", overridesResolver: (e, o) => o.wrapperInner })({ width: "100%", variants: [{ props: { orientation: "horizontal" }, style: { width: "auto", height: "100%" } }] }), ft = ve.forwardRef(function(e, o) {
20
- const r = Je({ props: e, name: "MuiCollapse" }), { addEndListener: t, children: n, className: a, collapsedSize: i = "0px", component: l, easing: s, in: c, onEnter: u, onEntered: m, onEntering: k, onExit: y, onExited: b, onExiting: f, orientation: x = "vertical", style: h, timeout: d = En.standard, TransitionComponent: L = Cn, ...w } = r, A = { ...r, orientation: x, collapsedSize: i }, M = ((C) => {
20
+ } })(Dn(({ 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" } }] }))), bo = je("div", { name: "MuiCollapse", slot: "Wrapper", overridesResolver: (e, o) => o.wrapper })({ display: "flex", width: "100%", variants: [{ props: { orientation: "horizontal" }, style: { width: "auto", height: "100%" } }] }), xo = je("div", { name: "MuiCollapse", slot: "WrapperInner", overridesResolver: (e, o) => o.wrapperInner })({ width: "100%", variants: [{ props: { orientation: "horizontal" }, style: { width: "auto", height: "100%" } }] }), ft = ve.forwardRef(function(e, o) {
21
+ const r = Ye({ props: e, name: "MuiCollapse" }), { addEndListener: t, children: n, className: a, collapsedSize: i = "0px", component: l, easing: s, in: c, onEnter: u, onEntered: m, onEntering: k, onExit: y, onExited: b, onExiting: f, orientation: x = "vertical", style: h, timeout: d = En.standard, TransitionComponent: L = Cn, ...w } = r, R = { ...r, orientation: x, collapsedSize: i }, M = ((C) => {
21
22
  const { orientation: W, classes: V } = C;
22
23
  return vt({ root: ["root", `${W}`], entered: ["entered"], hidden: ["hidden"], wrapper: ["wrapper", `${W}`], wrapperInner: ["wrapperInner", `${W}`] }, go, V);
23
- })(A), H = Sn(), q = Ln(), N = ve.useRef(null), z = ve.useRef(), K = typeof i == "number" ? `${i}px` : i, X = x === "horizontal", I = X ? "width" : "height", oe = ve.useRef(null), R = Mn(o, oe), E = (C) => (W) => {
24
+ })(R), j = Sn(), q = Ln(), N = ve.useRef(null), z = ve.useRef(), G = typeof i == "number" ? `${i}px` : i, Q = x === "horizontal", I = Q ? "width" : "height", oe = ve.useRef(null), A = Mn(o, oe), E = (C) => (W) => {
24
25
  if (C) {
25
26
  const V = oe.current;
26
27
  W === void 0 ? C(V) : C(V, W);
27
28
  }
28
- }, S = () => N.current ? N.current[X ? "clientWidth" : "clientHeight"] : 0, P = E((C, W) => {
29
- N.current && X && (N.current.style.position = "absolute"), C.style[I] = K, u && u(C, W);
29
+ }, S = () => N.current ? N.current[Q ? "clientWidth" : "clientHeight"] : 0, P = E((C, W) => {
30
+ N.current && Q && (N.current.style.position = "absolute"), C.style[I] = G, u && u(C, W);
30
31
  }), D = E((C, W) => {
31
32
  const V = S();
32
- N.current && X && (N.current.style.position = "");
33
+ N.current && Q && (N.current.style.position = "");
33
34
  const { duration: re, easing: me } = Mt({ style: h, timeout: d, easing: s }, { mode: "enter" });
34
35
  if (d === "auto") {
35
- const ue = H.transitions.getAutoHeightDuration(V);
36
+ const ue = j.transitions.getAutoHeightDuration(V);
36
37
  C.style.transitionDuration = `${ue}ms`, z.current = ue;
37
38
  } else C.style.transitionDuration = typeof re == "string" ? re : `${re}ms`;
38
39
  C.style[I] = `${V}px`, C.style.transitionTimingFunction = me, k && k(C, W);
@@ -40,24 +41,24 @@ const ko = He("div", { name: "MuiCollapse", slot: "Root", overridesResolver: (e,
40
41
  C.style[I] = "auto", m && m(C, W);
41
42
  }), _ = E((C) => {
42
43
  C.style[I] = `${S()}px`, y && y(C);
43
- }), J = E(b), j = E((C) => {
44
+ }), Y = E(b), H = E((C) => {
44
45
  const W = S(), { duration: V, easing: re } = Mt({ style: h, timeout: d, easing: s }, { mode: "exit" });
45
46
  if (d === "auto") {
46
- const me = H.transitions.getAutoHeightDuration(W);
47
+ const me = j.transitions.getAutoHeightDuration(W);
47
48
  C.style.transitionDuration = `${me}ms`, z.current = me;
48
49
  } else C.style.transitionDuration = typeof V == "string" ? V : `${V}ms`;
49
- C.style[I] = K, C.style.transitionTimingFunction = re, f && f(C);
50
+ C.style[I] = G, C.style.transitionTimingFunction = re, f && f(C);
50
51
  });
51
- return g(L, { in: c, onEnter: P, onEntered: B, onEntering: D, onExit: _, onExited: J, onExiting: j, addEndListener: (C) => {
52
+ return g(L, { in: c, onEnter: P, onEntered: B, onEntering: D, onExit: _, onExited: Y, onExiting: H, addEndListener: (C) => {
52
53
  d === "auto" && q.start(z.current || 0, C), t && t(oe.current, C);
53
- }, nodeRef: oe, timeout: d === "auto" ? null : d, ...w, children: (C, { ownerState: W, ...V }) => g(ko, { as: l, className: wt(M.root, a, { entered: M.entered, exited: !c && K === "0px" && M.hidden }[C]), style: { [X ? "minWidth" : "minHeight"]: K, ...h }, ref: R, ownerState: { ...A, state: C }, ...V, children: g(bo, { ownerState: { ...A, state: C }, className: M.wrapper, ref: N, children: g(xo, { ownerState: { ...A, state: C }, className: M.wrapperInner, children: n }) }) }) });
54
+ }, nodeRef: oe, timeout: d === "auto" ? null : d, ...w, children: (C, { ownerState: W, ...V }) => g(ko, { as: l, className: wt(M.root, a, { entered: M.entered, exited: !c && G === "0px" && M.hidden }[C]), style: { [Q ? "minWidth" : "minHeight"]: G, ...h }, ref: A, ownerState: { ...R, state: C }, ...V, children: g(bo, { ownerState: { ...R, state: C }, className: M.wrapper, ref: N, children: g(xo, { ownerState: { ...R, state: C }, className: M.wrapperInner, children: n }) }) }) });
54
55
  });
55
56
  function yo(e) {
56
57
  return xt("MuiCard", e);
57
58
  }
58
59
  ft && (ft.muiSupportAuto = !0), yt("MuiCard", ["root"]);
59
- const wo = He(Tn, { name: "MuiCard", slot: "Root", overridesResolver: (e, o) => o.root })({ overflow: "hidden" }), vo = ve.forwardRef(function(e, o) {
60
- const r = Je({ props: e, name: "MuiCard" }), { className: t, raised: n = !1, ...a } = r, i = { ...r, raised: n }, l = ((s) => {
60
+ const wo = je(Tn, { name: "MuiCard", slot: "Root", overridesResolver: (e, o) => o.root })({ overflow: "hidden" }), vo = ve.forwardRef(function(e, o) {
61
+ const r = Ye({ props: e, name: "MuiCard" }), { className: t, raised: n = !1, ...a } = r, i = { ...r, raised: n }, l = ((s) => {
61
62
  const { classes: c } = s;
62
63
  return vt({ root: ["root"] }, yo, c);
63
64
  })(i);
@@ -67,11 +68,11 @@ function Eo(e) {
67
68
  return xt("MuiCardActions", e);
68
69
  }
69
70
  yt("MuiCardActions", ["root", "spacing"]);
70
- const Co = He("div", { name: "MuiCardActions", slot: "Root", overridesResolver: (e, o) => {
71
+ const Co = je("div", { name: "MuiCardActions", slot: "Root", overridesResolver: (e, o) => {
71
72
  const { ownerState: r } = e;
72
73
  return [o.root, !r.disableSpacing && o.spacing];
73
74
  } })({ display: "flex", alignItems: "center", padding: 8, variants: [{ props: { disableSpacing: !1 }, style: { "& > :not(style) ~ :not(style)": { marginLeft: 8 } } }] }), So = ve.forwardRef(function(e, o) {
74
- const r = Je({ props: e, name: "MuiCardActions" }), { disableSpacing: t = !1, className: n, ...a } = r, i = { ...r, disableSpacing: t }, l = ((s) => {
75
+ const r = Ye({ props: e, name: "MuiCardActions" }), { disableSpacing: t = !1, className: n, ...a } = r, i = { ...r, disableSpacing: t }, l = ((s) => {
75
76
  const { classes: c, disableSpacing: u } = s;
76
77
  return vt({ root: ["root", !u && "spacing"] }, Eo, c);
77
78
  })(i);
@@ -93,11 +94,11 @@ const Co = He("div", { name: "MuiCardActions", slot: "Root", overridesResolver:
93
94
  }), r;
94
95
  })(e));
95
96
  function To(e) {
96
- const o = Je({ props: e, name: "MuiCssBaseline" }), { children: r, enableColorScheme: t = !1 } = o;
97
+ const o = Ye({ props: e, name: "MuiCssBaseline" }), { children: r, enableColorScheme: t = !1 } = o;
97
98
  return se(ve.Fragment, { children: [gt && g(Do, { enableColorScheme: t }), !gt && !t && g("span", { className: Ze, style: { display: "none" } }), r] });
98
99
  }
99
100
  const Oo = On(g("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"), Wo = xn(null), rt = { didCatch: !1, error: null };
100
- class Fo extends Gt {
101
+ class Fo extends Kt {
101
102
  constructor(o) {
102
103
  super(o), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = rt;
103
104
  }
@@ -149,7 +150,7 @@ function ge() {
149
150
  for (var e, o, r = 0, t = ""; r < arguments.length; ) (e = arguments[r++]) && (o = en(e)) && (t && (t += " "), t += o);
150
151
  return t;
151
152
  }
152
- let No = { data: "" }, Ro = /(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g, Ao = /\/\*[^]*?\*\/| +/g, Rt = /\n+/g, we = (e, o) => {
153
+ let No = { data: "" }, Ao = /(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g, Ro = /\/\*[^]*?\*\/| +/g, At = /\n+/g, we = (e, o) => {
153
154
  let r = "", t = "", n = "";
154
155
  for (let a in e) {
155
156
  let i = e[a];
@@ -174,8 +175,8 @@ function kt(e) {
174
175
  })(m));
175
176
  if (!de[k]) {
176
177
  let d = m !== i ? i : ((L) => {
177
- let w, A, M = [{}];
178
- for (; w = Ro.exec(L.replace(Ao, "")); ) w[4] ? M.shift() : w[3] ? (A = w[3].replace(Rt, " ").trim(), M.unshift(M[0][A] = M[0][A] || {})) : M[0][w[1]] = w[2].replace(Rt, " ").trim();
178
+ let w, R, M = [{}];
179
+ for (; w = Ao.exec(L.replace(Ro, "")); ) w[4] ? M.shift() : w[3] ? (R = w[3].replace(At, " ").trim(), M.unshift(M[0][R] = M[0][R] || {})) : M[0][w[1]] = w[2].replace(At, " ").trim();
179
180
  return M[0];
180
181
  })(i);
181
182
  de[k] = we(u ? { ["@keyframes " + k]: d } : d, s ? "" : "." + k);
@@ -213,26 +214,26 @@ function O() {
213
214
  function on(e, o) {
214
215
  e.prototype = Object.create(o.prototype), e.prototype.constructor = e, e.__proto__ = o;
215
216
  }
216
- function je(e, o) {
217
+ function He(e, o) {
217
218
  if (e == null) return {};
218
219
  var r, t, n = {}, a = Object.keys(e);
219
220
  for (t = 0; t < a.length; t++) r = a[t], o.indexOf(r) >= 0 || (n[r] = e[r]);
220
221
  return n;
221
222
  }
222
- function At(e) {
223
+ function Rt(e) {
223
224
  if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
224
225
  return e;
225
226
  }
226
227
  kt.bind({ g: 1 }), kt.bind({ k: 1 });
227
228
  var It = function() {
228
229
  return "";
229
- }, rn = T.createContext({ enqueueSnackbar: It, closeSnackbar: It }), at = "@media (max-width:599.95px)", Qe = "@media (min-width:600px)", Pt = function(e) {
230
+ }, rn = T.createContext({ enqueueSnackbar: It, closeSnackbar: It }), at = "@media (max-width:599.95px)", Xe = "@media (min-width:600px)", Pt = function(e) {
230
231
  return e.charAt(0).toUpperCase() + e.slice(1);
231
232
  }, Et = function(e) {
232
233
  return "" + Pt(e.vertical) + Pt(e.horizontal);
233
234
  }, qe = function(e) {
234
235
  return !!e || e === 0;
235
- }, Be = "unmounted", Ee = "exited", Ce = "entering", Ne = "entered", Ht = "exiting", Ct = function(e) {
236
+ }, Be = "unmounted", Ee = "exited", Ce = "entering", Ne = "entered", jt = "exiting", Ct = function(e) {
236
237
  function o(t) {
237
238
  var n;
238
239
  n = e.call(this, t) || this;
@@ -249,7 +250,7 @@ var It = function() {
249
250
  var n = null;
250
251
  if (t !== this.props) {
251
252
  var a = this.state.status;
252
- this.props.in ? a !== Ce && a !== Ne && (n = Ce) : a !== Ce && a !== Ne || (n = Ht);
253
+ this.props.in ? a !== Ce && a !== Ne && (n = Ce) : a !== Ce && a !== Ne || (n = jt);
253
254
  }
254
255
  this.updateStatus(!1, n);
255
256
  }, r.componentWillUnmount = function() {
@@ -272,7 +273,7 @@ var It = function() {
272
273
  });
273
274
  }, r.performExit = function() {
274
275
  var t = this, n = this.props.exit, a = this.getTimeouts();
275
- n ? (this.props.onExit && this.props.onExit(this.node), this.safeSetState({ status: Ht }, function() {
276
+ n ? (this.props.onExit && this.props.onExit(this.node), this.safeSetState({ status: jt }, function() {
276
277
  t.props.onExiting && t.props.onExiting(t.node), t.onTransitionEnd(a.exit, function() {
277
278
  t.safeSetState({ status: Ee }, function() {
278
279
  t.props.onExited && t.props.onExited(t.node);
@@ -300,7 +301,7 @@ var It = function() {
300
301
  var t = this.state.status;
301
302
  if (t === Be) return null;
302
303
  var n = this.props;
303
- return (0, n.children)(t, je(n, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]));
304
+ return (0, n.children)(t, He(n, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]));
304
305
  }, nn(o, [{ key: "node", get: function() {
305
306
  var t, n = (t = this.props.nodeRef) === null || t === void 0 ? void 0 : t.current;
306
307
  if (!n) throw new Error("notistack - Custom snackbar is not refForwarding");
@@ -309,17 +310,17 @@ var It = function() {
309
310
  }(T.Component);
310
311
  function Se() {
311
312
  }
312
- function jt(e, o) {
313
+ function Ht(e, o) {
313
314
  typeof e == "function" ? e(o) : e && (e.current = o);
314
315
  }
315
316
  function bt(e, o) {
316
317
  return te(function() {
317
318
  return e == null && o == null ? null : function(r) {
318
- jt(e, r), jt(o, r);
319
+ Ht(e, r), Ht(o, r);
319
320
  };
320
321
  }, [e, o]);
321
322
  }
322
- function Xe(e) {
323
+ function Qe(e) {
323
324
  var o = e.timeout, r = e.style, t = r === void 0 ? {} : r, n = e.mode;
324
325
  return { duration: typeof o == "object" ? o[n] || 0 : o, easing: t.transitionTimingFunction, delay: t.transitionDelay };
325
326
  }
@@ -370,22 +371,22 @@ function Ve(e, o) {
370
371
  }
371
372
  }
372
373
  var ln = ce(function(e, o) {
373
- var r = e.children, t = e.direction, n = t === void 0 ? "down" : t, a = e.in, i = e.style, l = e.timeout, s = l === void 0 ? 0 : l, c = e.onEnter, u = e.onEntered, m = e.onExit, k = e.onExited, y = je(e, ["children", "direction", "in", "style", "timeout", "onEnter", "onEntered", "onExit", "onExited"]), b = le(null), f = bt(r.ref, b), x = bt(f, o), h = ne(function() {
374
+ var r = e.children, t = e.direction, n = t === void 0 ? "down" : t, a = e.in, i = e.style, l = e.timeout, s = l === void 0 ? 0 : l, c = e.onEnter, u = e.onEntered, m = e.onExit, k = e.onExited, y = He(e, ["children", "direction", "in", "style", "timeout", "onEnter", "onEntered", "onExit", "onExited"]), b = le(null), f = bt(r.ref, b), x = bt(f, o), h = ne(function() {
374
375
  b.current && Ve(n, b.current);
375
376
  }, [n]);
376
- return G(function() {
377
+ return K(function() {
377
378
  if (!a && n !== "down" && n !== "right") {
378
- var d = function(w, A) {
379
+ var d = function(w, R) {
379
380
  var M;
380
- function H() {
381
- for (var q = this, N = arguments.length, z = new Array(N), K = 0; K < N; K++) z[K] = arguments[K];
381
+ function j() {
382
+ for (var q = this, N = arguments.length, z = new Array(N), G = 0; G < N; G++) z[G] = arguments[G];
382
383
  clearTimeout(M), M = setTimeout(function() {
383
384
  w.apply(q, z);
384
- }, A);
385
+ }, R);
385
386
  }
386
- return A === void 0 && (A = 166), H.clear = function() {
387
+ return R === void 0 && (R = 166), j.clear = function() {
387
388
  clearTimeout(M);
388
- }, H;
389
+ }, j;
389
390
  }(function() {
390
391
  b.current && Ve(n, b.current);
391
392
  }), L = sn(b.current);
@@ -393,15 +394,15 @@ var ln = ce(function(e, o) {
393
394
  d.clear(), L.removeEventListener("resize", d);
394
395
  };
395
396
  }
396
- }, [n, a]), G(function() {
397
+ }, [n, a]), K(function() {
397
398
  a || h();
398
399
  }, [a, h]), fe(Ct, Object.assign({ appear: !0, nodeRef: b, onEnter: function(d, L) {
399
400
  Ve(n, d), an(d), c && c(d, L);
400
401
  }, onEntered: u, onEntering: function(d) {
401
- var L = Xe({ timeout: s, mode: "enter", style: O({}, i, { transitionTimingFunction: i?.transitionTimingFunction || "cubic-bezier(0.0, 0, 0.2, 1)" }) });
402
+ var L = Qe({ timeout: s, mode: "enter", style: O({}, i, { transitionTimingFunction: i?.transitionTimingFunction || "cubic-bezier(0.0, 0, 0.2, 1)" }) });
402
403
  d.style.webkitTransition = Le("-webkit-transform", L), d.style.transition = Le("transform", L), d.style.webkitTransform = "none", d.style.transform = "none";
403
404
  }, onExit: function(d) {
404
- var L = Xe({ timeout: s, mode: "exit", style: O({}, i, { transitionTimingFunction: i?.transitionTimingFunction || "cubic-bezier(0.4, 0, 0.6, 1)" }) });
405
+ var L = Qe({ timeout: s, mode: "exit", style: O({}, i, { transitionTimingFunction: i?.transitionTimingFunction || "cubic-bezier(0.4, 0, 0.6, 1)" }) });
405
406
  d.style.webkitTransition = Le("-webkit-transform", L), d.style.transition = Le("transform", L), Ve(n, d), m && m(d);
406
407
  }, onExited: function(d) {
407
408
  d.style.webkitTransition = "", d.style.transition = "", k && k(d);
@@ -442,13 +443,13 @@ var cn = "notistack-CollapseWrapper", Io = function(e) {
442
443
  }, onEntered: function(c) {
443
444
  c.style.height = "auto";
444
445
  }, onEntering: function(c) {
445
- var u = s(), m = Xe({ timeout: 175, mode: "enter" }), k = m.duration, y = m.easing;
446
+ var u = s(), m = Qe({ timeout: 175, mode: "enter" }), k = m.duration, y = m.easing;
446
447
  c.style.transitionDuration = typeof k == "string" ? k : k + "ms", c.style.height = u + "px", c.style.transitionTimingFunction = y || "";
447
448
  }, onExit: function(c) {
448
449
  c.style.height = s() + "px";
449
450
  }, onExited: n, onExiting: function(c) {
450
451
  an(c);
451
- var u = Xe({ timeout: 175, mode: "exit" }), m = u.duration, k = u.easing;
452
+ var u = Qe({ timeout: 175, mode: "exit" }), m = u.duration, k = u.easing;
452
453
  c.style.transitionDuration = typeof m == "string" ? m : m + "ms", c.style.height = it, c.style.transitionTimingFunction = k || "";
453
454
  }, nodeRef: i, timeout: 175 }, function(c, u) {
454
455
  return fe("div", Object.assign({ ref: l, className: ge(_t.root, c === "entered" && _t.entered), style: O({ pointerEvents: "all", overflow: "hidden", minHeight: it, transition: Le("height") }, c === "entered" && { overflow: "visible" }, {}, c === "exited" && !t && { visibility: "hidden" }) }, u), fe("div", { ref: a, className: cn, style: { display: "flex", width: "100%" } }, r));
@@ -457,7 +458,7 @@ var cn = "notistack-CollapseWrapper", Io = function(e) {
457
458
  un.displayName = "Collapse";
458
459
  var qt = { right: "left", left: "right", bottom: "up", top: "down" }, Po = function(e) {
459
460
  return "anchorOrigin" + Et(e);
460
- }, Ho = function() {
461
+ }, jo = function() {
461
462
  };
462
463
  function Pe(e, o) {
463
464
  return e.reduce(function(r, t) {
@@ -466,12 +467,12 @@ function Pe(e, o) {
466
467
  var l = [].concat(a);
467
468
  o && l.indexOf(o) === -1 && l.push(o), r.apply(this, l), t.apply(this, l);
468
469
  };
469
- }, Ho);
470
+ }, jo);
470
471
  }
471
- var jo = typeof window < "u" ? dt : G;
472
+ var Ho = typeof window < "u" ? dt : K;
472
473
  function Bt(e) {
473
474
  var o = le(e);
474
- return jo(function() {
475
+ return Ho(function() {
475
476
  o.current = e;
476
477
  }), ne(function() {
477
478
  return o.current.apply(void 0, arguments);
@@ -485,7 +486,7 @@ var st, dn = ce(function(e, o) {
485
486
  y(null, "timeout", s);
486
487
  }, h));
487
488
  });
488
- G(function() {
489
+ K(function() {
489
490
  return c && b(n), function() {
490
491
  k.current && clearTimeout(k.current);
491
492
  };
@@ -495,7 +496,7 @@ var st, dn = ce(function(e, o) {
495
496
  }, x = ne(function() {
496
497
  n != null && b(0.5 * n);
497
498
  }, [n, b]);
498
- return G(function() {
499
+ return K(function() {
499
500
  if (!i && c) return window.addEventListener("focus", x), window.addEventListener("blur", f), function() {
500
501
  window.removeEventListener("focus", x), window.removeEventListener("blur", f);
501
502
  };
@@ -506,17 +507,17 @@ var st, dn = ce(function(e, o) {
506
507
  } }), r);
507
508
  });
508
509
  dn.displayName = "Snackbar";
509
- var zo = ze({ root: (st = { display: "flex", flexWrap: "wrap", flexGrow: 1 }, st[Qe] = { flexGrow: "initial", minWidth: "288px" }, st) }), St = ce(function(e, o) {
510
- var r = e.className, t = je(e, ["className"]);
510
+ var zo = ze({ root: (st = { display: "flex", flexWrap: "wrap", flexGrow: 1 }, st[Xe] = { flexGrow: "initial", minWidth: "288px" }, st) }), St = ce(function(e, o) {
511
+ var r = e.className, t = He(e, ["className"]);
511
512
  return T.createElement("div", Object.assign({ ref: o, className: ge(zo.root, r) }, t));
512
513
  });
513
514
  St.displayName = "SnackbarContent";
514
- var Re = ze({ 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" } }), Vt = "notistack-snackbar", pn = ce(function(e, o) {
515
+ var Ae = ze({ 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" } }), Vt = "notistack-snackbar", pn = ce(function(e, o) {
515
516
  var r = e.id, t = e.message, n = e.action, a = e.iconVariant, i = e.variant, l = e.hideIconVariant, s = e.style, c = e.className, u = a[i], m = n;
516
- return typeof m == "function" && (m = m(r)), T.createElement(St, { ref: o, role: "alert", "aria-describedby": Vt, style: s, className: ge("notistack-MuiContent", Io(i), Re.root, Re[i], c, !l && u && Re.lessPadding) }, T.createElement("div", { id: Vt, className: Re.message }, l ? null : u, t), m && T.createElement("div", { className: Re.action }, m));
517
+ return typeof m == "function" && (m = m(r)), T.createElement(St, { ref: o, role: "alert", "aria-describedby": Vt, style: s, className: ge("notistack-MuiContent", Io(i), Ae.root, Ae[i], c, !l && u && Ae.lessPadding) }, T.createElement("div", { id: Vt, className: Ae.message }, l ? null : u, t), m && T.createElement("div", { className: Ae.action }, m));
517
518
  });
518
519
  pn.displayName = "MaterialDesignContent";
519
- var Ae, lt, Ue, Ke, ct, _o = Me(pn), qo = ze({ wrappedRoot: { width: "100%", position: "relative", transform: "translateX(0)", top: 0, right: 0, bottom: 0, left: 0, minWidth: "288px" } }), Bo = function(e) {
520
+ var Re, lt, Ue, Ge, ct, _o = Me(pn), qo = ze({ wrappedRoot: { width: "100%", position: "relative", transform: "translateX(0)", top: 0, right: 0, bottom: 0, left: 0, minWidth: "288px" } }), Bo = function(e) {
520
521
  var o = le(), r = ae(!0), t = r[0], n = r[1], a = Pe([e.snack.onClose, e.onClose]), i = ne(function() {
521
522
  o.current = setTimeout(function() {
522
523
  n(function(q) {
@@ -524,7 +525,7 @@ var Ae, lt, Ue, Ke, ct, _o = Me(pn), qo = ze({ wrappedRoot: { width: "100%", pos
524
525
  });
525
526
  }, 125);
526
527
  }, []);
527
- G(function() {
528
+ K(function() {
528
529
  return function() {
529
530
  o.current && clearTimeout(o.current);
530
531
  };
@@ -535,22 +536,22 @@ var Ae, lt, Ue, Ke, ct, _o = Me(pn), qo = ze({ wrappedRoot: { width: "100%", pos
535
536
  var N = { containerRoot: !0, containerAnchorOriginTopCenter: !0, containerAnchorOriginBottomCenter: !0, containerAnchorOriginTopRight: !0, containerAnchorOriginBottomRight: !0, containerAnchorOriginTopLeft: !0, containerAnchorOriginBottomLeft: !0 };
536
537
  return Object.keys(q).filter(function(z) {
537
538
  return !N[z];
538
- }).reduce(function(z, K) {
539
- var X;
540
- return O({}, z, ((X = {})[K] = q[K], X));
539
+ }).reduce(function(z, G) {
540
+ var Q;
541
+ return O({}, z, ((Q = {})[G] = q[G], Q));
541
542
  }, {});
542
543
  }(c);
543
- }, [c]), y = s.open, b = s.SnackbarProps, f = s.TransitionComponent, x = s.TransitionProps, h = s.transitionDuration, d = s.disableWindowBlurListener, L = s.content, w = je(s, ["open", "SnackbarProps", "TransitionComponent", "TransitionProps", "transitionDuration", "disableWindowBlurListener", "content", "entered", "requestClose", "onEnter", "onEntered", "onExit", "onExited"]), A = O({ direction: (l = w.anchorOrigin, l.horizontal !== "center" ? qt[l.horizontal] : qt[l.vertical]), timeout: h }, x), M = L;
544
+ }, [c]), y = s.open, b = s.SnackbarProps, f = s.TransitionComponent, x = s.TransitionProps, h = s.transitionDuration, d = s.disableWindowBlurListener, L = s.content, w = He(s, ["open", "SnackbarProps", "TransitionComponent", "TransitionProps", "transitionDuration", "disableWindowBlurListener", "content", "entered", "requestClose", "onEnter", "onEntered", "onExit", "onExited"]), R = O({ direction: (l = w.anchorOrigin, l.horizontal !== "center" ? qt[l.horizontal] : qt[l.vertical]), timeout: h }, x), M = L;
544
545
  typeof M == "function" && (M = M(w.id, w.message));
545
- var H = ["onEnter", "onEntered", "onExit", "onExited"].reduce(function(q, N) {
546
+ var j = ["onEnter", "onEntered", "onExit", "onExited"].reduce(function(q, N) {
546
547
  var z;
547
548
  return O({}, q, ((z = {})[N] = Pe([e.snack[N], e[N]], w.id), z));
548
549
  }, {});
549
- return T.createElement(un, { in: t, onExited: H.onExited }, T.createElement(dn, { open: y, id: w.id, disableWindowBlurListener: d, autoHideDuration: w.autoHideDuration, className: ge(qo.wrappedRoot, k.root, k[Po(w.anchorOrigin)]), SnackbarProps: b, onClose: a }, T.createElement(f, Object.assign({}, A, { appear: !0, in: y, onExit: H.onExit, onExited: i, onEnter: H.onEnter, onEntered: Pe([H.onEntered, function() {
550
+ return T.createElement(un, { in: t, onExited: j.onExited }, T.createElement(dn, { open: y, id: w.id, disableWindowBlurListener: d, autoHideDuration: w.autoHideDuration, className: ge(qo.wrappedRoot, k.root, k[Po(w.anchorOrigin)]), SnackbarProps: b, onClose: a }, T.createElement(f, Object.assign({}, R, { appear: !0, in: y, onExit: j.onExit, onExited: i, onEnter: j.onEnter, onEntered: Pe([j.onEntered, function() {
550
551
  e.snack.requestClose && a(null, "instructed", e.snack.id);
551
552
  }], w.id) }), M || T.createElement(m, Object.assign({}, w)))));
552
- }, Ie = 20, ut = 6, Vo = 2, $t = "." + cn, Ge = ze({ root: (Ae = { boxSizing: "border-box", display: "flex", maxHeight: "100%", position: "fixed", zIndex: 1400, height: "auto", width: "auto", transition: Le(["top", "right", "bottom", "left", "max-width"], { duration: 300, easing: "ease" }), pointerEvents: "none" }, Ae[$t] = { padding: ut + "px 0px", transition: "padding 300ms ease 0ms" }, Ae.maxWidth = "calc(100% - " + 2 * Ie + "px)", Ae[at] = { width: "100%", maxWidth: "calc(100% - 32px)" }, Ae), rootDense: (lt = {}, lt[$t] = { padding: Vo + "px 0px" }, lt), top: { top: Ie - ut + "px", flexDirection: "column" }, bottom: { bottom: Ie - ut + "px", flexDirection: "column-reverse" }, left: (Ue = { left: Ie + "px" }, Ue[Qe] = { alignItems: "flex-start" }, Ue[at] = { left: "16px" }, Ue), right: (Ke = { right: Ie + "px" }, Ke[Qe] = { alignItems: "flex-end" }, Ke[at] = { right: "16px" }, Ke), center: (ct = { left: "50%", transform: "translateX(-50%)" }, ct[Qe] = { alignItems: "center" }, ct) }), $o = Me(function(e) {
553
- var o = e.classes, r = o === void 0 ? {} : o, t = e.anchorOrigin, n = e.dense, a = e.children, i = ge("notistack-SnackbarContainer", Ge[t.vertical], Ge[t.horizontal], Ge.root, r.containerRoot, r["containerAnchorOrigin" + Et(t)], n && Ge.rootDense);
553
+ }, Ie = 20, ut = 6, Vo = 2, $t = "." + cn, Ke = ze({ root: (Re = { boxSizing: "border-box", display: "flex", maxHeight: "100%", position: "fixed", zIndex: 1400, height: "auto", width: "auto", transition: Le(["top", "right", "bottom", "left", "max-width"], { duration: 300, easing: "ease" }), pointerEvents: "none" }, Re[$t] = { padding: ut + "px 0px", transition: "padding 300ms ease 0ms" }, Re.maxWidth = "calc(100% - " + 2 * Ie + "px)", Re[at] = { width: "100%", maxWidth: "calc(100% - 32px)" }, Re), rootDense: (lt = {}, lt[$t] = { padding: Vo + "px 0px" }, lt), top: { top: Ie - ut + "px", flexDirection: "column" }, bottom: { bottom: Ie - ut + "px", flexDirection: "column-reverse" }, left: (Ue = { left: Ie + "px" }, Ue[Xe] = { alignItems: "flex-start" }, Ue[at] = { left: "16px" }, Ue), right: (Ge = { right: Ie + "px" }, Ge[Xe] = { alignItems: "flex-end" }, Ge[at] = { right: "16px" }, Ge), center: (ct = { left: "50%", transform: "translateX(-50%)" }, ct[Xe] = { alignItems: "center" }, ct) }), $o = Me(function(e) {
554
+ var o = e.classes, r = o === void 0 ? {} : o, t = e.anchorOrigin, n = e.dense, a = e.children, i = ge("notistack-SnackbarContainer", Ke[t.vertical], Ke[t.horizontal], Ke.root, r.containerRoot, r["containerAnchorOrigin" + Et(t)], n && Ke.rootDense);
554
555
  return T.createElement("div", { className: i }, a);
555
556
  }), Ut = function(e) {
556
557
  return !(typeof e == "string" || wn(e));
@@ -559,16 +560,16 @@ var Ae, lt, Ue, Ke, ct, _o = Me(pn), qo = ze({ wrappedRoot: { width: "100%", pos
559
560
  var t;
560
561
  return (t = e.call(this, r) || this).enqueueSnackbar = function(n, a) {
561
562
  if (a === void 0 && (a = {}), n == null) throw new Error("enqueueSnackbar called with invalid argument");
562
- var i = Ut(n) ? n : a, l = Ut(n) ? n.message : n, s = i.key, c = i.preventDuplicate, u = je(i, ["key", "preventDuplicate"]), m = qe(s), k = m ? s : (/* @__PURE__ */ new Date()).getTime() + Math.random(), y = /* @__PURE__ */ function(f, x) {
563
+ var i = Ut(n) ? n : a, l = Ut(n) ? n.message : n, s = i.key, c = i.preventDuplicate, u = He(i, ["key", "preventDuplicate"]), m = qe(s), k = m ? s : (/* @__PURE__ */ new Date()).getTime() + Math.random(), y = /* @__PURE__ */ function(f, x) {
563
564
  return function(h, d) {
564
- return d === void 0 && (d = !1), d ? O({}, be[h], {}, x[h], {}, f[h]) : h === "autoHideDuration" ? (M = f.autoHideDuration, H = x.autoHideDuration, (q = function(N) {
565
+ return d === void 0 && (d = !1), d ? O({}, be[h], {}, x[h], {}, f[h]) : h === "autoHideDuration" ? (M = f.autoHideDuration, j = x.autoHideDuration, (q = function(N) {
565
566
  return typeof N == "number" || N === null;
566
- })(M) ? M : q(H) ? H : be.autoHideDuration) : h === "transitionDuration" ? (L = f.transitionDuration, w = x.transitionDuration, (A = function(N, z) {
567
- return z.some(function(K) {
568
- return typeof N === K;
567
+ })(M) ? M : q(j) ? j : be.autoHideDuration) : h === "transitionDuration" ? (L = f.transitionDuration, w = x.transitionDuration, (R = function(N, z) {
568
+ return z.some(function(G) {
569
+ return typeof N === G;
569
570
  });
570
- })(L, ["string", "number"]) ? L : A(L, ["object"]) ? O({}, be.transitionDuration, {}, A(w, ["object"]) && w, {}, L) : A(w, ["string", "number"]) ? w : A(w, ["object"]) ? O({}, be.transitionDuration, {}, w) : be.transitionDuration) : f[h] || x[h] || be[h];
571
- var L, w, A, M, H, q;
571
+ })(L, ["string", "number"]) ? L : R(L, ["object"]) ? O({}, be.transitionDuration, {}, R(w, ["object"]) && w, {}, L) : R(w, ["string", "number"]) ? w : R(w, ["object"]) ? O({}, be.transitionDuration, {}, w) : be.transitionDuration) : f[h] || x[h] || be[h];
572
+ var L, w, R, M, j, q;
572
573
  };
573
574
  }(u, t.props), b = O({ id: k }, u, { message: l, open: !0, entered: !1, requestClose: !1, persist: y("persist"), action: y("action"), content: y("content"), variant: y("variant"), anchorOrigin: y("anchorOrigin"), disableWindowBlurListener: y("disableWindowBlurListener"), autoHideDuration: y("autoHideDuration"), hideIconVariant: y("hideIconVariant"), TransitionComponent: y("TransitionComponent"), transitionDuration: y("transitionDuration"), TransitionProps: y("TransitionProps", !0), iconVariant: y("iconVariant", !0), style: y("style", !0), SnackbarProps: y("SnackbarProps", !0), className: ge(t.props.className, u.className) });
574
575
  return b.persist && (b.autoHideDuration = void 0), t.setState(function(f) {
@@ -628,7 +629,7 @@ var Ae, lt, Ue, Ke, ct, _o = Me(pn), qo = ze({ wrappedRoot: { width: "100%", pos
628
629
  }) }));
629
630
  return l.queue.length === 0 ? l : t.handleDismissOldest(l);
630
631
  });
631
- }, t.enqueueSnackbar, t.closeSnackbar, t.state = { snacks: [], queue: [], contextValue: { enqueueSnackbar: t.enqueueSnackbar.bind(At(t)), closeSnackbar: t.closeSnackbar.bind(At(t)) } }, t;
632
+ }, t.enqueueSnackbar, t.closeSnackbar, t.state = { snacks: [], queue: [], contextValue: { enqueueSnackbar: t.enqueueSnackbar.bind(Rt(t)), closeSnackbar: t.closeSnackbar.bind(Rt(t)) } }, t;
632
633
  }
633
634
  return on(o, e), o.prototype.render = function() {
634
635
  var r = this, t = this.state.contextValue, n = this.props, a = n.domRoot, i = n.children, l = n.dense, s = l !== void 0 && l, c = n.Components, u = c === void 0 ? {} : c, m = n.classes, k = this.state.snacks.reduce(function(b, f) {
@@ -640,74 +641,74 @@ var Ae, lt, Ue, Ke, ct, _o = Me(pn), qo = ze({ wrappedRoot: { width: "100%", pos
640
641
  return T.createElement(Bo, { key: h.id, snack: h, classes: m, Component: u[h.variant], onClose: r.handleCloseSnack, onEnter: r.props.onEnter, onExit: r.props.onExit, onExited: Pe([r.handleExitedSnack, r.props.onExited], h.id), onEntered: Pe([r.handleEnteredSnack, r.props.onEntered], h.id) });
641
642
  }));
642
643
  });
643
- return T.createElement(rn.Provider, { value: t }, i, a ? fo(y, a) : y);
644
+ return T.createElement(rn.Provider, { value: t }, i, a ? mo(y, a) : y);
644
645
  }, nn(o, [{ key: "maxSnack", get: function() {
645
646
  return this.props.maxSnack || be.maxSnack;
646
647
  } }]), o;
647
- }(Gt), mn = function() {
648
+ }(Kt), mn = function() {
648
649
  return yn(rn);
649
650
  };
650
651
  const pe = { card: "_card_1a398_7", actionRoot: "_actionRoot_1a398_11", icons: "_icons_1a398_16", expand: "_expand_1a398_22", expandOpen: "_expandOpen_1a398_29", stackTraceContainer: "_stackTraceContainer_1a398_33" }, hn = ce((e, o) => {
651
- const { id: r, message: t, iconVariant: n, error: a, hideIconVariant: i, ...l } = e, { closeSnackbar: s } = mn(), c = Vn(), [u, m] = ae(!1), k = ne(() => {
652
+ const { id: r, message: t, iconVariant: n, error: a, hideIconVariant: i, ...l } = e, { closeSnackbar: s } = mn(), c = Bn(), [u, m] = ae(!1), k = ne(() => {
652
653
  m((f) => !f);
653
654
  }, []), y = ne(() => {
654
655
  s(r);
655
656
  }, [r, s]), b = a?.message || String(t);
656
- return g(St, { ref: o, className: mt(pe.root, "error-snackbar"), children: se(vo, { className: pe.card, style: { backgroundColor: c.palette.error.dark, border: `1px solid ${c.palette.error.dark}` }, children: [se(So, { className: pe.actionRoot, children: [i ? null : n?.error, g($n, { variant: "body2", component: "div", className: pe.typography, style: { color: c.palette.text.primary }, children: b }), g("div", { style: { flex: "1 1 auto" } }), se("div", { className: pe.icons, children: [a ? g(ht, { "aria-label": "Show more", size: "small", className: mt(pe.expand, { [pe.expandOpen]: u }), style: { color: c.palette.action.active }, onClick: k, children: g(Un, {}) }) : null, g(ht, { size: "small", className: pe.expand, style: { color: c.palette.action.active }, onClick: y, children: g(Kn, { fontSize: "small" }) })] })] }), a ? g(ft, { in: u, timeout: "auto", unmountOnExit: !0, children: g("div", { className: pe.stackTraceContainer, style: { backgroundColor: c.palette.error.light, borderTop: `1px solid ${c.palette.error.main}` }, children: g(Gn, { error: a, hideLineNumbers: !0 }) }) }) : null] }) });
657
+ return g(St, { ref: o, className: mt(pe.root, "error-snackbar"), children: se(vo, { className: pe.card, style: { backgroundColor: c.palette.error.dark, border: `1px solid ${c.palette.error.dark}` }, children: [se(So, { className: pe.actionRoot, children: [i ? null : n?.error, g(Vn, { variant: "body2", component: "div", className: pe.typography, style: { color: c.palette.text.primary }, children: b }), g("div", { style: { flex: "1 1 auto" } }), se("div", { className: pe.icons, children: [a ? g(ht, { "aria-label": "Show more", size: "small", className: mt(pe.expand, { [pe.expandOpen]: u }), style: { color: c.palette.action.active }, onClick: k, children: g($n, {}) }) : null, g(ht, { size: "small", className: pe.expand, style: { color: c.palette.action.active }, onClick: y, children: g(Un, { fontSize: "small" }) })] })] }), a ? g(ft, { in: u, timeout: "auto", unmountOnExit: !0, children: g("div", { className: pe.stackTraceContainer, style: { backgroundColor: c.palette.error.light, borderTop: `1px solid ${c.palette.error.main}` }, children: g(Gn, { error: a, hideLineNumbers: !0 }) }) }) : null] }) });
657
658
  });
658
659
  hn.displayName = "ToastError";
659
660
  const fn = Me(ce((e, o) => {
660
661
  const { commands: r, commandHook: t, scope: n = "workbook", disabled: a = !1, ...i } = e, l = ie((c) => {
661
- const u = { variant: ao.Menuitem, parentFloat: c.floatReference, commandHook: t, scope: n, disabled: a }, m = se(Kt, { children: [g(ot, { ...u, command: r.getCommand("newWorkbook"), icon: Fe(g(io, {})) }), g(so, { orientation: "horizontal" }), g(ot, { ...u, command: r.getCommand("openWorkbook"), icon: Fe(g(lo, {})) }), g(Wt, { ...u, commands: r, quickCommand: "saveWorkbook", icon: Fe(g(po, {})), createPopupPanel: (k) => {
662
+ const u = { variant: ro.Menuitem, parentFloat: c.floatReference, commandHook: t, scope: n, disabled: a }, m = se(Gt, { children: [g(nt, { ...u, command: r.getCommand("newWorkbook"), icon: Fe(g(ao, {})) }), g(io, { orientation: "horizontal" }), g(nt, { ...u, command: r.getCommand("openWorkbook"), icon: Fe(g(so, {})) }), g(Ot, { ...u, commands: r, quickCommand: "saveWorkbook", icon: Fe(g(uo, {})), createPopupPanel: (k) => {
662
663
  const y = { ...u, parentFloat: k.floatReference, scope: "saveWorkbook" }, b = [];
663
664
  return ye.getWriteFormats().forEach((f) => {
664
665
  if (f.isDefault) return;
665
666
  let x = null;
666
- f.key === "CSV" ? x = Fe(g(co, {})) : f.key === "Excel" && (x = Fe(g(uo, {})));
667
+ f.key === "CSV" ? x = Fe(g(lo, {})) : f.key === "Excel" && (x = Fe(g(co, {})));
667
668
  const h = r.getCommand(`saveWorkbookAs${f.key}`);
668
- h ? b.push(fe(ot, { ...y, key: f.key, command: h, icon: x })) : console.warn(`Unable to resolve command: 'saveWorkbookAs${f.key}'`);
669
- }), Ft({ ...k, children: b, onClick: () => {
669
+ h ? b.push(fe(nt, { ...y, key: f.key, command: h, icon: x })) : console.warn(`Unable to resolve command: 'saveWorkbookAs${f.key}'`);
670
+ }), Wt({ ...k, children: b, onClick: () => {
670
671
  k.closeFloatAll();
671
672
  } });
672
673
  } })] });
673
- return Ft({ ...c, children: m, onClick: (k) => {
674
+ return Wt({ ...c, children: m, onClick: (k) => {
674
675
  k.isDefaultPrevented || c.closeFloatAll();
675
676
  } });
676
677
  }, [a, r, t, n]), s = "File";
677
- return g(Wt, { commands: r, disabled: a, commandHook: t, scope: n, label: s, tooltip: "Options for saving and loading the workbook.", sx: { paddingBottom: "0px", "& button": { paddingTop: "0px", paddingBottom: "0px", height: (c) => `calc(1.25rem + ${c.spacing(2)}px)` } }, ...i, createPopupPanel: l, icon: g(mo, { className: "label", icon: null, label: s }) });
678
+ return g(Ot, { commands: r, disabled: a, commandHook: t, scope: n, label: s, tooltip: "Options for saving and loading the workbook.", sx: { paddingBottom: "0px", "& button": { paddingTop: "0px", paddingBottom: "0px", height: (c) => `calc(1.25rem + ${c.spacing(2)}px)` } }, ...i, createPopupPanel: l, icon: g(po, { className: "label", icon: null, label: s }) });
678
679
  }));
679
680
  fn.displayName = "StandaloneFileCommandButton";
680
- const Ko = g(oo, { label: "SheetXL", description: "Visit me at sheetxl.com.", children: g(xe, { sx: { width: "24px", height: "24px", marginBottom: "4px", marginLeft: "6px" }, children: g(ro, { onClick: () => {
681
+ const Go = g(no, { label: "SheetXL", description: "Visit me at sheetxl.com.", children: g(xe, { sx: { width: "24px", height: "24px", marginBottom: "4px", marginLeft: "6px" }, children: g(oo, { onClick: () => {
681
682
  window?.open("https://www.sheetxl.com", "_blank");
682
683
  }, style: { width: "24px", height: "24px", cursor: "pointer" } }) }) }), gn = Me(ce((e, o) => {
683
- const { commands: r, workbook: t, logo: n = Ko, mainElement: a, showFileMenu: i = !0, showAppearanceMenu: l = !0, ...s } = e, { reference: c } = zn(), [u, { width: m }] = _n(), k = m < 530, y = i ? g(fn, { commands: r, commandHook: { beforeExecute() {
684
+ const { commands: r, workbook: t, logo: n = Go, mainElement: a, showFileMenu: i = !0, showAppearanceMenu: l = !0, ...s } = e, { reference: c } = Hn(), [u, { width: m }] = zn(), k = m < 530, y = i ? g(fn, { commands: r, commandHook: { beforeExecute() {
684
685
  c?.closeAll();
685
686
  }, onError(h, d, L) {
686
- } } }) : null, b = l ? g(qn, { commands: r, commandHook: { beforeExecute() {
687
+ } } }) : null, b = l ? g(_n, { commands: r, commandHook: { beforeExecute() {
687
688
  c?.closeAll();
688
689
  }, onError(h, d, L) {
689
690
  } } }) : null, f = te(() => ({ paddingLeft: (h) => h.spacing(1), paddingRight: (h) => h.spacing(1) }), []), x = le(null);
690
- return g(xe, { ref: Yt([x, u, o]), ...s, children: Bn({ commands: r, renderCompact: k, workbook: t, selectWrapper: (h) => se(xe, { sx: { display: "flex", flex: "1", flexDirection: "row", alignItems: "stretch", gap: (d) => d.spacing(1), paddingLeft: (d) => d.spacing(1), paddingRight: (d) => d.spacing(1) }, children: [se(xe, { sx: { display: "flex", flexDirection: "row", alignItems: "center", flex: "1 1 100%", gap: (d) => d.spacing(0.5) }, children: [n, se(xe, { sx: { display: "flex", flexDirection: "row", alignItems: "center", gap: (d) => d.spacing(0.25) }, children: [y, h] })] }), g(xe, { sx: { display: "flex", flexDirection: "row", flex: "1 1 300%", overflow: "hidden", alignItems: "center", justifyContent: "center" }, children: a }), g(xe, { sx: { display: "flex", alignItems: "center", justifyContent: "end", flex: k && !b ? "0 0 auto" : "1 1 100%" }, children: b })] }), selectProps: f, toolbarsProps: { Home: { sx: {} } } }) });
691
+ return g(xe, { ref: Jt([x, u, o]), ...s, children: qn({ commands: r, renderCompact: k, workbook: t, selectWrapper: (h) => se(xe, { sx: { display: "flex", flex: "1", flexDirection: "row", alignItems: "stretch", gap: (d) => d.spacing(1), paddingLeft: (d) => d.spacing(1), paddingRight: (d) => d.spacing(1) }, children: [se(xe, { sx: { display: "flex", flexDirection: "row", alignItems: "center", flex: "1 1 100%", gap: (d) => d.spacing(0.5) }, children: [n, se(xe, { sx: { display: "flex", flexDirection: "row", alignItems: "center", gap: (d) => d.spacing(0.25) }, children: [y, h] })] }), g(xe, { sx: { display: "flex", flexDirection: "row", flex: "1 1 300%", overflow: "hidden", alignItems: "center", justifyContent: "center" }, children: a }), g(xe, { sx: { display: "flex", alignItems: "center", justifyContent: "end", flex: k && !b ? "0 0 auto" : "1 1 100%" }, children: b })] }), selectProps: f, toolbarsProps: { Home: { sx: {} } } }) });
691
692
  }));
692
693
  gn.displayName = "StandaloneWorkbookToolbar";
693
694
  const kn = Me(ce((e, o) => {
694
695
  const { workbook: r, setWorkbook: t, refWorkbookTitle: n, titleWorkbook: a, setWorkbookTitle: i, titlePlaceHolder: l, children: s, undoManager: c, commands: u, importExportDisabled: m, themeModeOptions: k } = e, y = mn(), b = y ? y.enqueueSnackbar : () => {
695
696
  }, f = y ? y.closeSnackbar : () => {
696
697
  }, [x, h] = ae({ isMounted: !1, label: null, starting: /* @__PURE__ */ new Map(), running: /* @__PURE__ */ new Map() }), d = ne(() => {
697
- h((R) => ({ ...R, isMounted: !0 }));
698
+ h((A) => ({ ...A, isMounted: !0 }));
698
699
  }, []), L = ne(() => {
699
- h((R) => ({ ...R, isMounted: !1 }));
700
- }, []), w = Zn(), A = Qn(), M = Xn(), H = le(/* @__PURE__ */ new Set()), q = te(() => {
701
- const R = (E, S) => {
700
+ h((A) => ({ ...A, isMounted: !1 }));
701
+ }, []), w = Kn(), R = Zn(), M = Xn(), j = le(/* @__PURE__ */ new Set()), q = te(() => {
702
+ const A = (E, S) => {
702
703
  if (S?.onceKey) {
703
- if (H.current.has(S.onceKey)) return;
704
- const D = new Set(H.current);
705
- D.add(S.onceKey), H.current = D;
704
+ if (j.current.has(S.onceKey)) return;
705
+ const D = new Set(j.current);
706
+ D.add(S.onceKey), j.current = D;
706
707
  }
707
708
  const P = { variant: S?.type ?? _e.Info, anchorOrigin: { vertical: "top", horizontal: "center" }, preventDuplicate: S?.preventDuplicate, persist: S?.persist ?? S?.type === _e.Error, action: (D) => g(ht, { onClick: () => f(D), children: g(Oo, {}) }) };
708
709
  S?.enqueueProps && Object.assign(P, S.enqueueProps), E || console.log("message is 'null'", S), b(E ?? "Alert", P);
709
710
  };
710
- return { showMessage: R, showBusy: (E, S) => {
711
+ return { showMessage: A, showBusy: (E, S) => {
711
712
  let P = null;
712
713
  const D = new Promise((B) => {
713
714
  P = B;
@@ -720,30 +721,30 @@ const kn = Me(ce((e, o) => {
720
721
  const D = { ...S, onKeyDown: (B) => {
721
722
  u?.dispatchToFocusedCommand(B), B.isDefaultPrevented() || B.isPropagationStopped() || S?.onKeyDown?.(B);
722
723
  } };
723
- return w(E, { sort: () => import("./COFTB6OufFls7NP1.js"), numberFormat: () => import("./dR_uwa9znq6_hDmB.js"), hyperlink: () => import("./DjHCn_TmfObC_aJ1.js"), comments: () => import("./dQu9CDkkTpS5h580.js"), find: () => import("./Be9YovX6b_0gKXs5.js"), tableDetails: () => import("./BY5dcSv5nxuvXMsr.js"), tableNew: () => import("./CG-YuIoWsi12_nu9.js"), namedDetails: () => import("./CGUSbWH383tudMFu.js") }[E], D, P);
724
- }, showOptions: A, showInputOptions: M, showError: (E) => {
724
+ return w(E, { sort: () => import("./CkMou3XlV2mmYqmq.js"), numberFormat: () => import("./Be-_CFU80fx1X1E9.js"), hyperlink: () => import("./BPeDOIBYCZkjaWRD.js"), comments: () => import("./6GT7WcmdWYVxOobM.js"), find: () => import("./Ijbe8IzzEjVScejo.js"), tableDetails: () => import("./YQRaiV0_mvhQsFVY.js"), tableNew: () => import("./DfoJr75R0GrjAv-i.js"), namedDetails: () => import("./DS9Og6WSj_kNksiq.js") }[E], D, P);
725
+ }, showOptions: R, showInputOptions: M, showError: (E) => {
725
726
  let S, P = _e.Error, D = "Unknown Error";
726
- typeof E == "string" ? D = E : E instanceof Error && (S = E, E.message && (D = E.message)), E instanceof ho && (P = _e.Info), R(D, { type: P, enqueueProps: { error: S } });
727
+ typeof E == "string" ? D = E : E instanceof Error && (S = E, E.message && (D = E.message)), E instanceof fo && (P = _e.Info), A(D, { type: P, enqueueProps: { error: S } });
727
728
  } };
728
729
  }, []), N = ne(() => {
729
- }, []), z = ((R) => {
730
- const { workbook: E, setWorkbook: S, importExportDisabled: P, workbookTitle: D = "export", setWorkbookTitle: B, notifier: _, requestWorkbookTitle: J, themeModeOptions: j, undoManager: C, commands: W, onExecute: V } = R, re = ie(j?.onForceModeChange, [j?.onForceModeChange]), me = ie(j?.onForceLightGridChange, [j?.onForceLightGridChange]), ue = ie(j?.onForceLightImagesChange, [j?.onForceLightImagesChange]), Ye = ie(async (F = null, Q = null) => {
730
+ }, []), z = ((A) => {
731
+ const { workbook: E, setWorkbook: S, importExportDisabled: P, workbookTitle: D = "export", setWorkbookTitle: B, notifier: _, requestWorkbookTitle: Y, themeModeOptions: H, undoManager: C, commands: W, onExecute: V } = A, re = ie(H?.onForceModeChange, [H?.onForceModeChange]), me = ie(H?.onForceLightGridChange, [H?.onForceLightGridChange]), ue = ie(H?.onForceLightImagesChange, [H?.onForceLightImagesChange]), Je = ie(async (F = null, X = null) => {
731
732
  const p = [];
732
- let v, $ = null, Y = null;
733
- if (typeof F == "string" ? Y = F : $ = F, v = $ ? F : await Jn.openFileDialog(Y ?? ye.getAllReadFormatTypeAsString().join(",")), !v) return null;
734
- const he = { source: v, constructorOptions: Q, onWarning: (tt) => {
733
+ let v, $ = null, J = null;
734
+ if (typeof F == "string" ? J = F : $ = F, v = $ ? F : await Qn.openFileDialog(J ?? ye.getAllReadFormatTypeAsString().join(",")), !v) return null;
735
+ const he = { source: v, constructorOptions: X, onWarning: (tt) => {
735
736
  p.push(tt);
736
737
  } }, Oe = await ye.read(he, _);
737
738
  return p.length > 0 && (_?.showMessage?.("Some elements were not able to be imported. See console for details."), console.warn(`Import warnings:
738
739
  ` + p.join(`
739
740
  `))), Oe;
740
- }, [V, _, E]), De = ie(async (F, Q, p) => {
741
- if (!Q && J) {
742
- const v = await J("Enter Workbook name to " + (p.isDefault ? "Save." : `Export as ${p.description}.`));
741
+ }, [V, _, E]), De = ie(async (F, X, p) => {
742
+ if (!X && Y) {
743
+ const v = await Y("Enter Workbook name to " + (p.isDefault ? "Save." : `Export as ${p.description}.`));
743
744
  return v !== null && ye.writeFile(v, F, { formatType: p.key });
744
745
  }
745
- return ye.writeFile(Q, F, { formatType: p.key });
746
- }, [_, E, J]), U = ne(() => ({ contains: (F) => !0, focus() {
746
+ return ye.writeFile(X, F, { formatType: p.key });
747
+ }, [_, E, Y]), U = ne(() => ({ contains: (F) => !0, focus() {
747
748
  } }), []), ke = te(() => {
748
749
  const F = [];
749
750
  P || (ye.getWriteFormats().forEach((p) => {
@@ -753,8 +754,8 @@ const kn = Me(ce((e, o) => {
753
754
  _?.showError?.(he);
754
755
  });
755
756
  })));
756
- const Y = v ? "saveWorkbook" : `saveWorkbookAs${p.key}`;
757
- F.push(new ee(Y, U, $, (he) => {
757
+ const J = v ? "saveWorkbook" : `saveWorkbookAs${p.key}`;
758
+ F.push(new ee(J, U, $, (he) => {
758
759
  De(E, he ?? D, p).catch((Oe) => {
759
760
  _?.showError?.(Oe);
760
761
  });
@@ -762,16 +763,16 @@ const kn = Me(ce((e, o) => {
762
763
  }), F.push(new ee("openWorkbook", U, { label: "Open Workbook…", scopedLabels: { workbook: "Open…" }, description: "Open a workbook from the desktop.", shortcut: { key: "O", modifiers: [We.Ctrl] } }, async (p = null) => {
763
764
  const v = { date1904: E.isDate1904(), ...E.options };
764
765
  try {
765
- const $ = await Ye(p, v);
766
+ const $ = await Je(p, v);
766
767
  if (!$) return;
767
- const Y = $.title, he = $.workbook, Oe = he.getSelectedSheet();
768
+ const J = $.title, he = $.workbook, Oe = he.getSelectedSheet();
768
769
  if ($.formatType.mimeType === "text/csv") {
769
- const tt = E.findValidSheetName(Y);
770
+ const tt = E.findValidSheetName(J);
770
771
  await E.doBatch(async () => {
771
772
  const Lt = Oe.getUsedRange();
772
773
  Lt ? await E.getSheets().add({ name: tt, autoSelect: !0 }).getRange({ colStart: 0, rowStart: 0, colEnd: 0, rowEnd: 0 }).copyFrom(Lt) : _?.showMessage("The file appears to be blank.");
773
- }, `Import CSV '${Y}'`);
774
- } else E?.close(), B?.(Y), S(he);
774
+ }, `Import CSV '${J}'`);
775
+ } else E?.close(), B?.(J), S(he);
775
776
  } catch ($) {
776
777
  _?.showError?.($);
777
778
  }
@@ -783,9 +784,9 @@ const kn = Me(ce((e, o) => {
783
784
  }
784
785
  p && console.log("openWorkbookFromUrl", p);
785
786
  })));
786
- let Q = [];
787
- return j && (Q = [new ee("themeMode", U, { label: "Light/Dark Mode", scopedLabels: { appearance: "Light/Dark Mode" }, description: "Toggle the application styling between light and dark mode." }), new ee("defaultThemeMode", U, { 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 ee("forceLightGrid", U, { 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 ee("forceLightImages", U, { 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." })]), [...F, ...Q, new Ot("help", U, { label: "Show Help", description: "Provide Help.", shortcut: { key: "F1" } }, () => {
788
- }), new Ot("showKeyboardShortcuts", U, { label: "Keyboard Shortcuts", description: "Show keyboard shortcuts.", shortcut: { key: "/", modifiers: [We.Ctrl] } }, () => {
787
+ let X = [];
788
+ return H && (X = [new ee("themeMode", U, { label: "Light/Dark Mode", scopedLabels: { appearance: "Light/Dark Mode" }, description: "Toggle the application styling between light and dark mode." }), new ee("defaultThemeMode", U, { 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 ee("forceLightGrid", U, { 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 ee("forceLightImages", U, { 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." })]), [...F, ...X, new Tt("help", U, { label: "Show Help", description: "Provide Help.", shortcut: { key: "F1" } }, () => {
789
+ }), new Tt("showKeyboardShortcuts", U, { label: "Keyboard Shortcuts", description: "Show keyboard shortcuts.", shortcut: { key: "/", modifiers: [We.Ctrl] } }, () => {
789
790
  }), new ee("gotoUrlGithub", U, { label: "Github", description: "Download examples, explore source code, and leave a star." }, () => {
790
791
  window?.open("https://github.com/sheetxl/sheetxl");
791
792
  }), new ee("gotoUrlDiscord", U, { label: "Discord", description: "Join our community on discord." }, () => {
@@ -795,45 +796,45 @@ const kn = Me(ce((e, o) => {
795
796
  }), new ee("gotoUrlIssue", U, { label: "Create Issue", description: "Create an issue to identify a bug or a feature request." }, () => {
796
797
  window?.open("https://github.com/sheetxl/sheetxl/issues");
797
798
  })];
798
- }, [E, D, _, P, j, W, C]), Z = te(() => {
799
+ }, [E, D, _, P, H, W, C]), Z = te(() => {
799
800
  let F = null;
800
- return F = W ? W.createChildGroup(U, "standaloneWorkbook", !1) : new Xt(U, "standaloneWorkbook"), F.addCommands(ke, !0), F;
801
+ return F = W ? W.createChildGroup(U, "standaloneWorkbook", !1) : new Qt(U, "standaloneWorkbook"), F.addCommands(ke, !0), F;
801
802
  }, [W, ke]);
802
803
  Yn({ manager: C, commands: Z, notifier: _ });
803
- const { themeMode: Te } = Qt();
804
- G(() => {
805
- if (!j || !Z) return;
806
- const F = j.forceMode === "dark" || !j.forceMode && Te === "dark";
807
- Z.getCommand("themeMode").update({ state: j.forceMode ?? null, label: F ? "Dark Mode" : "Light Mode", scopedLabels: { appearance: F ? "Dark Mode" : "Light Mode" } }).updateCallback(() => {
804
+ const { themeMode: Te } = Xt();
805
+ K(() => {
806
+ if (!H || !Z) return;
807
+ const F = H.forceMode === "dark" || !H.forceMode && Te === "dark";
808
+ Z.getCommand("themeMode").update({ state: H.forceMode ?? null, label: F ? "Dark Mode" : "Light Mode", scopedLabels: { appearance: F ? "Dark Mode" : "Light Mode" } }).updateCallback(() => {
808
809
  re(F ? pt.Light : pt.Dark);
809
- }), Z.getCommand("defaultThemeMode").update({ state: !j.forceMode }).updateCallback(() => {
810
+ }), Z.getCommand("defaultThemeMode").update({ state: !H.forceMode }).updateCallback(() => {
810
811
  re(null);
811
- }), Z.getCommand("forceLightGrid").update({ state: j.forceLightGrid }).updateCallback(() => {
812
- me(!j.forceLightGrid);
813
- }), Z.getCommand("forceLightImages").update({ state: j.forceLightImages }).updateCallback(() => {
814
- ue(!j.forceLightImages);
812
+ }), Z.getCommand("forceLightGrid").update({ state: H.forceLightGrid }).updateCallback(() => {
813
+ me(!H.forceLightGrid);
814
+ }), Z.getCommand("forceLightImages").update({ state: H.forceLightImages }).updateCallback(() => {
815
+ ue(!H.forceLightImages);
815
816
  });
816
- }, [Te, j, ke]);
817
- const { showModal: et } = eo();
818
- return G(() => {
819
- const F = () => new Promise((Q, p) => {
820
- const v = T.lazy(() => import("./CNhPYXS_v3a2ATBg.js")), $ = et(v, { title: "Shortcut Keys Reference", commands: Z, onDone: () => {
817
+ }, [Te, H, ke]);
818
+ const { showModal: et } = Jn();
819
+ return K(() => {
820
+ const F = () => new Promise((X, p) => {
821
+ const v = T.lazy(() => import("./FSFNUan5QfhjNqMt.js")), $ = et(v, { title: "Shortcut Keys Reference", commands: Z, onDone: () => {
821
822
  $.hide();
822
823
  }, TransitionProps: { onExited: () => {
823
- Q(!0);
824
+ X(!0);
824
825
  } } });
825
826
  });
826
827
  Z.getCommand("showKeyboardShortcuts").updateCallback(() => F()), Z.getCommand("help").updateCallback(() => F());
827
828
  }, [ke, Z]), Z;
828
- })({ workbook: r, setWorkbook: t, importExportDisabled: m, workbookTitle: a, setWorkbookTitle: i, commands: u, requestWorkbookTitle: (R) => new Promise((E) => {
829
+ })({ workbook: r, setWorkbook: t, importExportDisabled: m, workbookTitle: a, setWorkbookTitle: i, commands: u, requestWorkbookTitle: (A) => new Promise((E) => {
829
830
  n.current ? n.current.requestWorkbookTitle((S, P) => {
830
831
  E(S);
831
- }, { selectAll: !0, requestReason: R }) : E(l);
832
+ }, { selectAll: !0, requestReason: A }) : E(l);
832
833
  }), themeModeOptions: k, undoManager: c, notifier: q, onExecute: N });
833
- G(() => {
834
- x.starting.size <= 0 || !x.isMounted || h((R) => {
835
- const E = new Map(R.running);
836
- return R.starting.forEach((S, P) => {
834
+ K(() => {
835
+ x.starting.size <= 0 || !x.isMounted || h((A) => {
836
+ const E = new Map(A.running);
837
+ return A.starting.forEach((S, P) => {
837
838
  const D = () => {
838
839
  h((B) => {
839
840
  const _ = new Map(B.running);
@@ -841,99 +842,99 @@ const kn = Me(ce((e, o) => {
841
842
  });
842
843
  };
843
844
  E.set(P, D), S(D);
844
- }), { ...R, starting: /* @__PURE__ */ new Map(), running: E };
845
+ }), { ...A, starting: /* @__PURE__ */ new Map(), running: E };
845
846
  });
846
847
  }, [x]);
847
- const [K, X] = ae(null);
848
- G(() => {
849
- x.starting.size !== 0 || x.running.size !== 0 ? X(g(Jt, { icon: g(to, { sx: { transform: "scale(0.7)", marginLeft: "-6px" } }), panel: !0, label: x.label, onMount: d, onUnmount: L, sx: { position: "absolute", left: "0", top: "0", width: "100%", height: "100%", zIndex: "9999" } })) : X(null);
848
+ const [G, Q] = ae(null);
849
+ K(() => {
850
+ x.starting.size !== 0 || x.running.size !== 0 ? Q(g(Yt, { icon: g(eo, { sx: { transform: "scale(0.7)", marginLeft: "-6px" } }), panel: !0, label: x.label, onMount: d, onUnmount: L, sx: { position: "absolute", left: "0", top: "0", width: "100%", height: "100%", zIndex: "9999" } })) : Q(null);
850
851
  }, [x.starting, x.running]);
851
- const I = te(() => g(no, { commands: z, disableHover: !0, sx: { padding: "0" }, buttonProps: { sx: { maxHeight: "22px" } } }), [z]), oe = { notifier: q, commands: z };
852
- return r && (oe.statusBarProps = { childrenEnd: I }), se(Kt, { children: [K, s ? T.cloneElement(s, oe) : null] });
852
+ const I = te(() => g(to, { commands: z, disableHover: !0, sx: { padding: "0" }, buttonProps: { sx: { maxHeight: "22px" } } }), [z]), oe = { notifier: q, commands: z };
853
+ return r && (oe.statusBarProps = { childrenEnd: I }), se(Gt, { children: [G, s ? T.cloneElement(s, oe) : null] });
853
854
  }));
854
855
  kn.displayName = "SnackbarAndCommandsWrapper";
855
856
  const bn = Me(ce((e, o) => {
856
- const { className: r, sx: t, style: n, onElementLoad: a, onError: i, undoManager: l, errorPanel: s = Wn, onKeyDown: c, workbook: u, createWorkbookOptions: m, onWorkbookChange: k, logo: y, importExportDisabled: b = !1, themeModeOptions: f, autoFocus: x = !1, commands: h, title: d, onTitleChange: L, titleProps: w, ...A } = e, M = le(null), H = ie(k, [k]), q = ie(L ?? w?.onTitleChange, [L ?? w?.onTitleChange]), N = w?.placeHolder ?? "Untitled", z = f?.forceMode, { themeMode: K, source: X } = Qt({ mode: z }), I = te(() => ({ ...f, light: Dt(!1, nt.deepMerge(f?.theme ?? {}, f?.light ?? {})), dark: Dt(!0, nt.deepMerge(f?.theme ?? {}, f?.dark ?? {})) }), [f]), oe = K === pt.Dark, [R, E] = ae(null);
857
- G(() => {
858
- E(l ?? new Fn());
857
+ const { className: r, sx: t, style: n, onElementLoad: a, onError: i, undoManager: l, errorPanel: s = Wn, onKeyDown: c, workbook: u, createWorkbookOptions: m, onWorkbookChange: k, logo: y, importExportDisabled: b = !1, themeModeOptions: f, autoFocus: x = !1, commands: h, title: d, onTitleChange: L, titleProps: w, ...R } = e, M = le(null), j = ie(k, [k]), q = ie(L ?? w?.onTitleChange, [L ?? w?.onTitleChange]), N = w?.placeHolder ?? "Untitled", z = f?.forceMode, { themeMode: G, source: Q } = Xt({ mode: z }), I = te(() => ({ ...f, light: Dt(!1, ot.deepMerge(f?.theme ?? {}, f?.light ?? {})), dark: Dt(!0, ot.deepMerge(f?.theme ?? {}, f?.dark ?? {})) }), [f]), oe = G === pt.Dark, [A, E] = ae(null);
858
+ K(() => {
859
+ E(l ?? new ho());
859
860
  }, [l]);
860
- const [S, P] = ae(null), [D, B] = ae(null), _ = Nn();
861
+ const [S, P] = ae(null), [D, B] = ae(null), _ = Fn();
861
862
  dt(() => {
862
- if (!u || Object.keys(u).length === 0 && !nt.isPromiseLike(u)) {
863
+ if (!u || Object.keys(u).length === 0 && !ot.isPromiseLike(u)) {
863
864
  const p = { theme: _.getDefaultTheme(), ...m };
864
- B(new Tt(p));
865
+ B(new Ft(p));
865
866
  } else B(u);
866
867
  }, [u]), dt(() => {
867
868
  if (D) {
868
- if (D instanceof Tt) return P({ workbook: D }), void (u !== D && H?.(D));
869
+ if (D instanceof Ft) return P({ workbook: D }), void (u !== D && j?.(D));
869
870
  (async () => {
870
871
  try {
871
872
  let p, v = await Promise.resolve(D);
872
- v && v.source && (v = await ye.read(v)), v.workbook ? (V(v.title), p = v.workbook) : p = v, H?.(p), P({ workbook: p });
873
+ v && v.source && (v = await ye.read(v)), v.workbook ? (V(v.title), p = v.workbook) : p = v, j?.(p), P({ workbook: p });
873
874
  } catch (p) {
874
- H?.(null), P({ error: p });
875
+ j?.(null), P({ error: p });
875
876
  }
876
877
  })();
877
878
  }
878
879
  }, [D]);
879
- const [J, j] = ae(null);
880
- G(() => {
881
- if (!R || !S) return;
882
- R.clear();
880
+ const [Y, H] = ae(null);
881
+ K(() => {
882
+ if (!A || !S) return;
883
+ A.clear();
883
884
  const p = S?.workbook?.getTransactions();
884
885
  return p ? p.addListener({ onCommitEnd: (v) => {
885
- v.getDescription() ? R.addUndoOperation({ description: v.getDescription(), undo: () => (p.revert(v.getId()), J.source?.focus(), () => {
886
- p.restore(v.getId()), J.source?.focus();
886
+ v.getDescription() ? A.addUndoOperation({ description: v.getDescription(), undo: () => (p.revert(v.getId()), Y.source?.focus(), () => {
887
+ p.restore(v.getId()), Y.source?.focus();
887
888
  }) }) : console.warn("commit has no description", v);
888
889
  } }) : void 0;
889
- }, [R, S, J]);
890
+ }, [A, S, Y]);
890
891
  const C = ie((p) => {
891
- p ? R.setRepeatableOperation({ description: p.label(), repeat: async () => p.execute() }) : R.setRepeatableOperation(null);
892
- }, [R]), [W, V] = ae(d ?? w?.title ?? "");
893
- G(() => {
892
+ p ? A.setRepeatableOperation({ description: p.label(), repeat: async () => p.execute() }) : A.setRepeatableOperation(null);
893
+ }, [A]), [W, V] = ae(d ?? w?.title ?? "");
894
+ K(() => {
894
895
  V(d ?? w?.title ?? "");
895
- }, [d ?? w?.title]), G(() => {
896
+ }, [d ?? w?.title]), K(() => {
896
897
  q?.(W);
897
898
  }, [W]);
898
899
  const [re, me] = ae(null), ue = te(() => {
899
900
  const p = () => ({ contains: (v) => !0, focus() {
900
901
  } });
901
- return h ? h.createChildGroup(p, "application", !1) : new Xt(p, "application");
902
- }, [h]), Ye = ie((p) => {
903
- me(p.source.getViewportElement()), j(p), ue.activate("sheet"), a?.(p);
902
+ return h ? h.createChildGroup(p, "application", !1) : new Qt(p, "application");
903
+ }, [h]), Je = ie((p) => {
904
+ me(p.source.getViewportElement()), H(p), ue.activate("sheet"), a?.(p);
904
905
  }, [ue]);
905
- G(() => {
906
- J && x && J.source?.focus(typeof x == "object" ? x : void 0);
907
- }, [J]);
906
+ K(() => {
907
+ Y && x && Y.source?.focus(typeof x == "object" ? x : void 0);
908
+ }, [Y]);
908
909
  const De = le(null), U = ne((p) => {
909
910
  let v = null;
910
- return w?.hidden || (v = g(Rn, { ...w, style: { maxWidth: "100%", ...w?.style }, workbook: M.current, ref: De, title: W, placeHolder: N, onTitleChange: ($) => {
911
+ return w?.hidden || (v = g(Nn, { ...w, style: { maxWidth: "100%", ...w?.style }, workbook: M.current, ref: De, title: W, placeHolder: N, onTitleChange: ($) => {
911
912
  V($);
912
913
  } })), g(gn, { ...p, logo: y, mainElement: v, showFileMenu: !b, showAppearanceMenu: !!(I?.onForceLightGridChange || I?.onForceLightImagesChange || I?.onForceModeChange) });
913
914
  }, [y, W, w, I, b, ue]);
914
- G(() => {
915
+ K(() => {
915
916
  const p = (v) => v.preventDefault();
916
917
  return M.current?.addEventListener("wheel", p, { passive: !1 }), () => {
917
918
  M.current?.removeEventListener("wheel", p);
918
919
  };
919
920
  }, []);
920
- const ke = te(() => g(Jt, { transparentBackground: !0, sx: t, style: n }), [t, n]), Z = ne(({ error: p }) => (i?.(p), g(s, { sx: t, style: n, error: p ?? "Unable to display empty workbook." })), [t, n, i]), Te = te(() => ({ ...t, "& .SnackbarContainer-root": { position: "absolute !important" }, "& .notistack-Snackbar": { minWidth: "unset" }, "& .notistack-MuiContent *": { fontFamily: (p) => p.typography.fontFamily }, "& #notistack-snackbar": { maxWidth: "560px", whiteSpace: "pre-wrap" }, "*": { userSelect: "none" } }), [t]), et = Yt([M, o]), F = te(() => {
921
+ const ke = te(() => g(Yt, { transparentBackground: !0, sx: t, style: n }), [t, n]), Z = ne(({ error: p }) => (i?.(p), g(s, { sx: t, style: n, error: p ?? "Unable to display empty workbook." })), [t, n, i]), Te = te(() => ({ ...t, "& .SnackbarContainer-root": { position: "absolute !important" }, "& .notistack-Snackbar": { minWidth: "unset" }, "& .notistack-MuiContent *": { fontFamily: (p) => p.typography.fontFamily }, "& #notistack-snackbar": { maxWidth: "560px", whiteSpace: "pre-wrap" }, "*": { userSelect: "none" } }), [t]), et = Jt([M, o]), F = te(() => {
921
922
  if (!S) return ke;
922
923
  if (S.error || !S.workbook) return Z({ error: S.error });
923
924
  let p = null, v = null, $ = !1;
924
- return I && (p = oe ? I.dark : I.light, v = oe && !I.forceLightGrid ? I.dark : I.light, $ = I.forceLightImages), g(An, { sx: Te, style: n, tabIndex: 0, autoFocus: !0, workbook: S.workbook, ref: et, renderToolbar: U, onElementLoad: Ye, onRepeatCommandChange: C, onKeyDown: (Y) => {
925
- c?.(Y);
926
- }, gridTheme: v, headersTheme: p, forceLightImages: $, className: mt(r, "sheetxl-workbook"), onContextMenu: (Y) => Y.preventDefault(), ...A }, "WorkbookElement");
927
- }, [S, W, R, ke, I, A, U, Te]);
928
- let Q = g(Fo, { fallbackRender: Z, children: g(Uo, { maxSnack: 3, domRoot: re, anchorOrigin: { vertical: "bottom", horizontal: "right" }, autoHideDuration: 3500, onClose: (p, v, $) => {
925
+ return I && (p = oe ? I.dark : I.light, v = oe && !I.forceLightGrid ? I.dark : I.light, $ = I.forceLightImages), g(An, { sx: Te, style: n, tabIndex: 0, autoFocus: !0, workbook: S.workbook, ref: et, renderToolbar: U, onElementLoad: Je, onRepeatCommandChange: C, onKeyDown: (J) => {
926
+ c?.(J);
927
+ }, gridTheme: v, headersTheme: p, forceLightImages: $, className: mt(r, "sheetxl-workbook"), onContextMenu: (J) => J.preventDefault(), ...R }, "WorkbookElement");
928
+ }, [S, W, A, ke, I, R, U, Te]);
929
+ let X = g(Fo, { fallbackRender: Z, children: g(Uo, { maxSnack: 3, domRoot: re, anchorOrigin: { vertical: "bottom", horizontal: "right" }, autoHideDuration: 3500, onClose: (p, v, $) => {
929
930
  M.current?.focus();
930
- }, Components: { error: hn }, iconVariant: { success: g(Hn, { style: { marginRight: "8px" }, children: g("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: g(Pn, { style: { marginRight: "8px" } }) }, children: g(In, { children: g(kn, { workbook: S?.workbook, setWorkbook: B, importExportDisabled: b, titlePlaceHolder: N, titleWorkbook: W, setWorkbookTitle: V, refWorkbookTitle: De, commands: ue, undoManager: R, themeModeOptions: I, children: F }) }) }) });
931
- return I && (Q = se(jn, { theme: oe ? I.dark : I.light, children: [I.cssBaseline ? g(To, {}) : null, Q] })), Q;
931
+ }, Components: { error: hn }, iconVariant: { success: g(Pn, { style: { marginRight: "8px" }, children: g("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: g(In, { style: { marginRight: "8px" } }) }, children: g(Rn, { children: g(kn, { workbook: S?.workbook, setWorkbook: B, importExportDisabled: b, titlePlaceHolder: N, titleWorkbook: W, setWorkbookTitle: V, refWorkbookTitle: De, commands: ue, undoManager: A, themeModeOptions: I, children: F }) }) }) });
932
+ return I && (X = se(jn, { theme: oe ? I.dark : I.light, children: [I.cssBaseline ? g(To, {}) : null, X] })), X;
932
933
  }));
933
934
  bn.displayName = "EagerStandaloneWorkbook";
934
- const Go = Object.freeze(Object.defineProperty({ __proto__: null, default: bn }, Symbol.toStringTag, { value: "Module" })), Yo = Object.freeze(Object.defineProperty({ __proto__: null, E: Go, c: ge }, Symbol.toStringTag, { value: "Module" }));
935
+ const Ko = Object.freeze(Object.defineProperty({ __proto__: null, default: bn }, Symbol.toStringTag, { value: "Module" })), er = Object.freeze(Object.defineProperty({ __proto__: null, E: Ko, c: ge }, Symbol.toStringTag, { value: "Module" }));
935
936
  export {
937
+ er as B,
936
938
  ft as C,
937
- Yo as D,
938
939
  ge as f
939
940
  };