@sheetxl/studio-mui 0.4.7 → 0.4.8

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 (86) hide show
  1. package/browser/cjs/{D2F5d-KqoX6K87V-.cjs → B9VxvukbesYhdTdA.cjs} +2 -2
  2. package/browser/cjs/{6ahm9L_JadTVTVKM.cjs → BA7HloSCkIjbJehh.cjs} +2 -2
  3. package/browser/cjs/BJN1sH87EvdxRpOd.cjs +12 -0
  4. package/browser/cjs/{ZmZmJzyx8f56di-3.cjs → BXt_O5ZSE2LpILmE.cjs} +3 -3
  5. package/browser/cjs/{C0rgKqf5wJGFF0Pn.cjs → BZUPFYECmoclErqJ.cjs} +2 -2
  6. package/browser/cjs/{DK6e7OLzcRQFuNAR.cjs → Ba7K1ZdzfgXpvg7P.cjs} +1 -1
  7. package/browser/cjs/{D0g5Yi1sFZedrm8U.cjs → C1NVH5bp1otDYHTC.cjs} +2 -2
  8. package/browser/cjs/{BbvqKmxn6Rum-bk6.cjs → C1wsDeHNaWiFlCZh.cjs} +6 -6
  9. package/browser/cjs/{sia-JpDs1OJx3UqA.cjs → C7YVj8dlBBL_wOM9.cjs} +1 -1
  10. package/browser/cjs/{DQRGxRYSOKOEByUm.cjs → CPtvdlvWWilf8Vep.cjs} +2 -2
  11. package/browser/cjs/{CnIoJa4rGjDIRDt_.cjs → CTokFqp-O-Uhl0LW.cjs} +1 -1
  12. package/browser/cjs/{x0gHCGm4Ua404wtj.cjs → CeRQ0zAM1Xczv7Gm.cjs} +2 -2
  13. package/browser/cjs/{CzHIyuIwxVQd9I_P.cjs → CiJS-8DphNBc_B9t.cjs} +2 -2
  14. package/browser/cjs/{x5DxzBmBRyolQW8p.cjs → Cuyl2HX5ovut6vef.cjs} +2 -2
  15. package/browser/cjs/Czcg6yLU8uVHew0l.cjs +6 -0
  16. package/browser/cjs/D7ntR8K8guZD6yMH.cjs +6 -0
  17. package/browser/cjs/{BULArqiBp4j5hxyx.cjs → DIKyZ-hkjeexXMzY.cjs} +1 -1
  18. package/browser/cjs/{ojTdNwa8dIIVVsYa.cjs → DNjiEJT8EtVysR2q.cjs} +1 -1
  19. package/browser/cjs/DTaaqEmMOO2QrfZF.cjs +87 -0
  20. package/browser/cjs/{CmX_3VyTiwTzdJhI.cjs → DkfygXp4ZgvLr3Yw.cjs} +2 -2
  21. package/browser/cjs/{BnHBKznz1O8QEPEE.cjs → NRKyHbS2cOhmoSox.cjs} +2 -2
  22. package/browser/cjs/{B5H9gNIHdOkSXNhX.cjs → dYzaARxDkWvC98N4.cjs} +1 -1
  23. package/browser/cjs/index.cjs +2 -2
  24. package/browser/cjs/{CArewr_CDpxiRR66.cjs → k4ZW48PahXgf2WQD.cjs} +1 -1
  25. package/browser/cjs/z_x7DWNrjsFa45Nh.cjs +6 -0
  26. package/browser/cjs/{D5hBXjLlXQHJlC_R.cjs → znXBy3z9cM6mLfO7.cjs} +1 -1
  27. package/browser/esm/ABtrpK9yMoHh6oPr.mjs +864 -0
  28. package/browser/esm/{CAgqX2BO2DbnSbS0.mjs → BG3qcQNY_GZt3VHB.mjs} +2 -2
  29. package/browser/esm/{C2ogJhUgj6tBd2Ze.mjs → BG8pohDV-03DRiXx.mjs} +13 -13
  30. package/browser/esm/{DBhNx8LLdmzo5Avs.mjs → BYftsJS-zhpjBq1k.mjs} +2 -2
  31. package/browser/esm/{CJ46XJddcTe9sn3Q.mjs → Bd0yhfN0EoE3uahv.mjs} +2 -2
  32. package/browser/esm/{ww-U-PglTS7Dtu3g.mjs → CAvo3HCB981DM5OF.mjs} +2 -2
  33. package/browser/esm/{CIEN20sJj9GKW3yE.mjs → CHNZIKe6NNdfdZOr.mjs} +1 -1
  34. package/browser/esm/{D0TAETGiUzsAjxPY.mjs → CJxkcbtPJNL_Gloc.mjs} +16 -16
  35. package/browser/esm/{PjZRDfcmhPXxjS2K.mjs → COU2bYtN0WpsI4PY.mjs} +1 -1
  36. package/browser/esm/{CevfhoT-xtAPuMWS.mjs → CWtcMBj9hNKDPN_v.mjs} +2 -2
  37. package/browser/esm/{CMiuTssM0lBVhuJS.mjs → CzXTFr7g6RYXxPM1.mjs} +6 -6
  38. package/browser/esm/{DJJZ-Mz0hVMWcKq8.mjs → DIxDU9Lfq3hPWFPl.mjs} +2 -2
  39. package/browser/esm/{BSQXNtEzcvD1nZ07.mjs → DJBG1-2QdNbZKe_4.mjs} +7971 -7961
  40. package/browser/esm/{vs0v9un-v2S9Jnlo.mjs → DL8nFbYrab-MKQmF.mjs} +4 -4
  41. package/browser/esm/{DXbciCQNKY4_r5Et.mjs → DWOLWdzUONLf1nae.mjs} +1 -1
  42. package/browser/esm/{CRCvnu8AKE7fJq05.mjs → DatUamvfhoqxlf8D.mjs} +2 -2
  43. package/browser/esm/{BRio-IBtU98oZf5v.mjs → DdVyaTOGGjRcamT8.mjs} +1 -1
  44. package/browser/esm/{BgQK3a-xYWlmvNDD.mjs → DdzcCdPQ_zZbqH2p.mjs} +2 -2
  45. package/browser/esm/{DHsxjQ98xXj3tRTJ.mjs → DoDQcFwr66QfXlYi.mjs} +1 -1
  46. package/browser/esm/{54Y6CqDofk0Ryz8B.mjs → DwLP5jvXe3rwi5r2.mjs} +3 -3
  47. package/browser/esm/{D3DJPz0louDEmOOg.mjs → Dz_iWDlTCAECBFSF.mjs} +7 -7
  48. package/browser/esm/{BUxotxJXTYkCxXGj.mjs → GYPCajr96WY2V_je.mjs} +1 -1
  49. package/browser/esm/{BadcJIpfDDb6Oula.mjs → eq540RbNc68EuIvk.mjs} +1 -1
  50. package/browser/esm/index.mjs +26 -25
  51. package/browser/esm/{Ip_kfHi5bomcrUk6.mjs → lk_a0cAuz5HJsQKm.mjs} +1 -1
  52. package/browser/esm/{B5ZVjFCvGZMlskn5.mjs → zMjWIB_wUonhfIad.mjs} +2 -2
  53. package/licenses/dependencies.txt +6 -6
  54. package/node/esm/{D9INCGl89jNGldla.mjs → 0CnPehqlnzEMqDVS.mjs} +1 -1
  55. package/node/esm/{BeiZhSUAA8NyCua8.mjs → BFxNXzqwDw9mTzzX.mjs} +1 -1
  56. package/node/esm/{CTgcSkLGEwSlcrWM.mjs → BKkexYXFkC5jI1D4.mjs} +1 -1
  57. package/node/esm/{RPVynz_rpfz9lkAQ.mjs → BXF0I0KwKWFhkYfM.mjs} +7 -7
  58. package/node/esm/{CiFa6r-hL-KsSx0I.mjs → BpwzpczDCk32RxzY.mjs} +1 -1
  59. package/node/esm/{C2SG9zLSqOGo3vCR.mjs → C74xiDKgQep36e0D.mjs} +5 -5
  60. package/node/esm/{DQfxpSzOhUDp1tes.mjs → CE2Wff_Jx8m74lIm.mjs} +1 -1
  61. package/node/esm/{BK_IZrqK3_Xz2rfA.mjs → CVy5rNrHziJk0Xxc.mjs} +1 -1
  62. package/node/esm/{B_-60k30GZTVFJCG.mjs → ChbG8iQjvpz3jA7T.mjs} +1 -1
  63. package/node/esm/{xQKjfFNNUiXBnIeG.mjs → Cjw96KqgMSYqwdC4.mjs} +1 -1
  64. package/node/esm/{1YvclnJ1eNd7ibD-.mjs → ClUQ790AiAE9XIkY.mjs} +1 -1
  65. package/node/esm/{ClSJpKVPQuTKvJtg.mjs → D-Wu9vRF_DAsmME4.mjs} +14 -14
  66. package/node/esm/{DEtck55hesGlXNoj.mjs → D0ePiwz-m6oHmiUC.mjs} +1 -1
  67. package/node/esm/{BdwO--U2p6MiyekK.mjs → D4GNfE_QjFh3c9sT.mjs} +1 -1
  68. package/node/esm/DBDh50h4q3jgV4kn.mjs +312 -0
  69. package/node/esm/{BcfUxPgXAV1if9NT.mjs → DCLyoPsjP2qTWbca.mjs} +1 -1
  70. package/node/esm/{HAKu1GEoK2wZht5-.mjs → DTp1I9pWjg3-VyHr.mjs} +2 -2
  71. package/node/esm/{CJhxYk5D_7vcD7QG.mjs → DkTySui4bQaZlvaP.mjs} +1 -1
  72. package/node/esm/{BkzwNHPzd0DSf0FL.mjs → Dm3qRN9_dIcmeeTB.mjs} +19 -19
  73. package/node/esm/{DW9fZUq5TEVyK05B.mjs → cZHe3atogTKTMgvX.mjs} +1 -1
  74. package/node/esm/index.mjs +231 -221
  75. package/node/esm/{CVheJHEYC7Bxc-m9.mjs → q2jb3DavC5pzi-mZ.mjs} +1 -1
  76. package/node/esm/{DKqYePntZxW3fh6x.mjs → wxIEXtYch2hJq7Rz.mjs} +1 -1
  77. package/node/esm/{C-WOcvkTBKxqQfEZ.mjs → zfM7ir63qYOCXQWg.mjs} +20 -20
  78. package/package.json +8 -8
  79. package/types/index.d.ts +118 -81
  80. package/browser/cjs/Bi9ti1geH1gSoYX2.cjs +0 -6
  81. package/browser/cjs/Bt1aI3vb7h-PM53z.cjs +0 -6
  82. package/browser/cjs/CxMQIx_-k_XCclct.cjs +0 -87
  83. package/browser/cjs/DFkeNYQoyIagEEQ9.cjs +0 -6
  84. package/browser/cjs/iEu_JcRmrN7o_Gnt.cjs +0 -12
  85. package/browser/esm/BQoEwYUY9khnxsGk.mjs +0 -860
  86. package/node/esm/BlIGyiGNQyArtF2L.mjs +0 -308
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.7
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.8
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.
@@ -4978,12 +4978,12 @@ const ep = (e15 = null, t2, n2, o2) => {
4978
4978
  }, rp = z(N((e15, t2) => {
4979
4979
  const { nestedChildren: n2, variant: o2, disabled: r2 = false, createPopupPanel: i2, ...l2 } = e15, a2 = { disabled: r2, createPopupPanel: xc((e16) => {
4980
4980
  if (!n2 || 0 === n2.length) return null;
4981
- const { popupContainer: o3, floatReference: r3, ...i3 } = e16, l3 = [];
4981
+ const { popupContainer: o3, floatReference: r3, ref: i3, ...l3 } = e16, a3 = [];
4982
4982
  for (let e17 = 0; e17 < n2.length; e17++) {
4983
4983
  const t3 = n2[e17];
4984
- t3 && l3.push(R(rp, { parentFloat: r3, ...i3, ...t3 }, e17));
4984
+ t3 && a3.push(R(rp, { parentFloat: r3, ...l3, ...t3 }, e17));
4985
4985
  }
4986
- return D(J, { ref: t2, sx: { display: "flex", flexDirection: "column", paddingTop: "4px", paddingBottom: "4px" }, children: ["Children here", l3, R(fp, { parentFloat: r3, children: "Close other children" })] });
4986
+ return D(J, { ref: t2, sx: { display: "flex", flexDirection: "column", paddingTop: "4px", paddingBottom: "4px" }, children: ["Children here", a3, R(fp, { parentFloat: r3, children: "Close other children" })] });
4987
4987
  }, [n2]), ...l2 };
4988
4988
  return R(o2 === Nh.Toolbar ? bp : xp, { ...a2 });
4989
4989
  })), ip = { placement: "right-start" }, lp = z(N((e15, t2) => {
@@ -5204,14 +5204,14 @@ const Ep = { x: 0, y: 0 }, _p = z(N((e15, t2) => {
5204
5204
  const n3 = e16, o3 = n3.clientX ?? n3.touches?.[0]?.clientX, r3 = n3.clientY ?? n3.touches?.[0]?.clientY;
5205
5205
  p2({ x: o3 - f2.x, y: r3 - f2.y });
5206
5206
  }, children: R(o2, { ref: et([d2, t2]), ...c2 }) });
5207
- })), kp = { x: "50", y: "50" }, Tp = z((e15) => {
5208
- const t2 = ut({ props: e15, name: "MuiDialog" }), n2 = ct(), o2 = { enter: 0.66 * n2.transitions.duration.enteringScreen, exit: 0.66 * n2.transitions.duration.leavingScreen }, { title: r2 = "SheetXL", key: i2 = "draggable-window", onCancel: l2, onDone: a2, onShow: s2, onShown: c2, onHide: d2, refWindow: u2, open: h2, autoFocusSel: p2, children: m2, TransitionComponent: g2 = me, TransitionProps: f2, transitionDuration: y2 = o2, BackdropComponent: b2 = ge, BackdropProps: w2, PaperComponent: x2 = ie, PaperProps: v2, onBackdropClick: S2, sx: C2, className: E2, onMouseDown: _2, initialPosition: k2 = kp, isModal: T2 = false, ...M2 } = t2, I2 = P(null), [L2, z2] = O(null), [F2, H2] = O(false), [V2, N2] = O(false), B2 = P(null), [$2, W2] = Je(), j2 = P(null), [U2, Z2] = Je(), q2 = P(null);
5207
+ })), kp = { x: "50", y: "50" }, Tp = z(N((e15, t2) => {
5208
+ const n2 = ut({ props: e15, name: "MuiDialog" }), o2 = ct(), r2 = { enter: 0.66 * o2.transitions.duration.enteringScreen, exit: 0.66 * o2.transitions.duration.leavingScreen }, { title: i2 = "SheetXL", key: l2 = "draggable-window", onCancel: a2, onDone: s2, onShow: c2, onShown: d2, onHide: u2, open: h2, autoFocusSel: p2, children: m2, TransitionComponent: g2 = me, TransitionProps: f2, transitionDuration: y2 = r2, BackdropComponent: b2 = ge, BackdropProps: w2, PaperComponent: x2 = ie, PaperProps: v2, onBackdropClick: S2, sx: C2, className: E2, onMouseDown: _2, initialPosition: k2 = kp, isModal: T2 = false, ...M2 } = n2, I2 = P(null), [L2, z2] = O(null), [F2, H2] = O(false), [V2, N2] = O(false), B2 = P(null), [$2, W2] = Je(), j2 = P(null), [U2, Z2] = Je(), q2 = P(null);
5209
5209
  A(() => {
5210
5210
  L2 && H2(h2);
5211
5211
  }, [h2, L2]);
5212
5212
  const G2 = xc(() => {
5213
- l2?.(), H2(false);
5214
- }, [l2]);
5213
+ a2?.(), H2(false);
5214
+ }, [a2]);
5215
5215
  A(() => {
5216
5216
  if (0 === W2.width && 0 === W2.height || L2) return;
5217
5217
  const e16 = q2.current?.getBoundingClientRect(), t3 = W2.height - e16.height, n3 = W2.width - e16.width;
@@ -5225,26 +5225,26 @@ const Ep = { x: 0, y: 0 }, _p = z(N((e15, t2) => {
5225
5225
  if (t3 && t3.length > 0) return t3[0]?.focus?.(e16), true;
5226
5226
  }
5227
5227
  return j2.current?.focus?.(e16), false;
5228
- }, [ee2, p2]), le2 = Hc(u2, () => ({ focus: (e16) => {
5228
+ }, [ee2, p2]), le2 = Hc(t2, () => ({ focus: (e16) => {
5229
5229
  re2(e16);
5230
5230
  } }), []), ae2 = { ...f2, onExited: (e16) => {
5231
- a2?.(null), f2?.onExited?.(e16);
5231
+ s2?.(null), f2?.onExited?.(e16);
5232
5232
  }, onExit: (e16) => {
5233
5233
  const t3 = ne2;
5234
5234
  t3 && requestAnimationFrame(() => {
5235
5235
  le2.current?.contains(document.activeElement) && t3.focus();
5236
- }), d2?.(), N2(false), f2?.onExit?.(e16);
5236
+ }), u2?.(), N2(false), f2?.onExit?.(e16);
5237
5237
  }, onEntered: (e16, t3) => {
5238
- s2?.(), f2?.onEntered?.(e16, t3);
5238
+ c2?.(), f2?.onEntered?.(e16, t3);
5239
5239
  }, onEntering: (e16, t3) => {
5240
- N2(true), c2?.(le2.current);
5240
+ N2(true), d2?.(le2.current);
5241
5241
  } };
5242
5242
  A(() => {
5243
5243
  V2 && re2();
5244
5244
  }, [V2]);
5245
5245
  const se2 = R(Ul, { focusTrapOptions: { escapeDeactivates: false, allowOutsideClick: true, initialFocus: false }, ref: I2, active: V2, children: R(g2, { in: F2, timeout: y2, role: "presentation", ...ae2, children: R(J, { className: "MuiDialog-container", ref: j2, tabIndex: 0, sx: { outline: "none", position: "relative" }, onKeyDown: (e16) => {
5246
5246
  e16.which === bc.Escape && (G2(), B2.current?.start(e16, { center: false }), setTimeout(() => B2.current?.stop(e16), 180)), e16.stopPropagation();
5247
- }, children: D(_p, { className: X({ "Mui-focusVisible": K2 }, E2), sx: { "& *": (e16) => Gh(e16), pointerEvents: "auto", userSelect: "none", "&:hover:not([disabled]):not(.Mui-focusVisible)": { outline: (e16) => `solid ${it(e16.palette.text?.primary, 0.2)} 1px` }, "&.Mui-focusVisible": { outline: (e16) => `solid ${it(e16.palette.text?.primary, 0.2)} 1px` }, position: "absolute", maxWidth: "100%", ...C2 }, defaultPosition: L2, ref: q2, titleSize: Z2, rootSize: W2, PaperComponent: x2, ...M2, ...v2, children: [r2 ? R(fe, { className: X({ "Mui-selected": K2 }, "draggable-title"), sx: { cursor: "move", display: "flex", color: (e16) => e16.palette.text.secondary, boxSizing: "border-box", padding: "0 0", transitionProperty: "opacity", transitionDuration: (e16) => `${e16.transitions.duration.shortest}ms`, opacity: 0.7, "&.Mui-selected": { opacity: 1, transitionDuration: (e16) => e16.transitions.duration.shortest / 2 + "ms" }, backgroundColor: (e16) => it(e16.palette.action.hover, 0.03) }, ref: U2, children: D(J, { sx: { display: "flex", flex: "1 1 10%", flexDirection: "row", alignItems: "center", marginTop: (e16) => e16.spacing(1), marginLeft: (e16) => e16.spacing(1), marginRight: (e16) => e16.spacing(1) }, children: [R(J, { sx: { flex: "1 1 100%", paddingLeft: (e16) => e16.spacing(1) }, children: r2 }), R(up, { label: "Close", children: R(Q, { "aria-label": "close", sx: { color: (e16) => e16.palette.text.icon ?? e16.palette.action.active }, touchRippleRef: B2, onPointerDown: (e16) => {
5247
+ }, children: D(_p, { ref: et([q2, t2]), className: X({ "Mui-focusVisible": K2 }, E2), sx: { "& *": (e16) => Gh(e16), pointerEvents: "auto", userSelect: "none", "&:hover:not([disabled]):not(.Mui-focusVisible)": { outline: (e16) => `solid ${it(e16.palette.text?.primary, 0.2)} 1px` }, "&.Mui-focusVisible": { outline: (e16) => `solid ${it(e16.palette.text?.primary, 0.2)} 1px` }, position: "absolute", maxWidth: "100%", ...C2 }, defaultPosition: L2, titleSize: Z2, rootSize: W2, PaperComponent: x2, ...M2, ...v2, children: [i2 ? R(fe, { className: X({ "Mui-selected": K2 }, "draggable-title"), sx: { cursor: "move", display: "flex", color: (e16) => e16.palette.text.secondary, boxSizing: "border-box", padding: "0 0", transitionProperty: "opacity", transitionDuration: (e16) => `${e16.transitions.duration.shortest}ms`, opacity: 0.7, "&.Mui-selected": { opacity: 1, transitionDuration: (e16) => e16.transitions.duration.shortest / 2 + "ms" }, backgroundColor: (e16) => it(e16.palette.action.hover, 0.03) }, ref: U2, children: D(J, { sx: { display: "flex", flex: "1 1 10%", flexDirection: "row", alignItems: "center", marginTop: (e16) => e16.spacing(1), marginLeft: (e16) => e16.spacing(1), marginRight: (e16) => e16.spacing(1) }, children: [R(J, { sx: { flex: "1 1 100%", paddingLeft: (e16) => e16.spacing(1) }, children: i2 }), R(up, { label: "Close", children: R(Q, { "aria-label": "close", sx: { color: (e16) => e16.palette.text.icon ?? e16.palette.action.active }, touchRippleRef: B2, onPointerDown: (e16) => {
5248
5248
  B2.current?.start(e16, { center: false }), e16.stopPropagation(), e16.preventDefault();
5249
5249
  }, onPointerUp: G2, children: R(Pe, {}) }) })] }) }) : null, m2] }) }) }) });
5250
5250
  let ce2 = null;
@@ -5264,57 +5264,57 @@ const Ep = { x: 0, y: 0 }, _p = z(N((e15, t2) => {
5264
5264
  }, 100), I2.current?.focusTrap?.unpause(), Y2(true), j2.current?.contains(e16.target) && e16.target !== j2.current && te2(e16.target), e16.relatedTarget && !ne2 && oe2(e16.relatedTarget);
5265
5265
  }, onBlur: (e16) => {
5266
5266
  le2?.current?.contains(e16.relatedTarget) || (oe2(null), I2.current?.focusTrap?.pause(), Y2(false));
5267
- }, children: [ce2, se2] }), de2(), i2 + "");
5268
- }), Mp = ["Ok", "Cancel"], Rp = (e15) => {
5269
- const { description: t2, icon: n2, onCancel: o2, onOption: r2, onDone: i2, onValidateOption: l2, createOptionsButton: a2, options: s2 = Mp, autoFocusSel: c2 = ".defaultOption", defaultOption: d2 = s2[0], cancelOption: u2 = "Cancel", children: h2, ...p2 } = e15, m2 = ft({ shouldUseNativeValidation: false }), { handleSubmit: g2, formState: f2 } = m2, y2 = P(null), b2 = P(null), w2 = P(null), x2 = xc(async (e16) => {
5267
+ }, children: [ce2, se2] }), de2(), l2 + "");
5268
+ })), Mp = ["Ok", "Cancel"], Rp = z(N((e15, t2) => {
5269
+ const { description: n2, icon: o2, onCancel: r2, onOption: i2, onDone: l2, onValidateOption: a2, createOptionsButton: s2, options: c2 = Mp, autoFocusSel: d2 = ".defaultOption", defaultOption: u2 = c2[0], cancelOption: h2 = "Cancel", children: p2, ...m2 } = e15, g2 = ft({ shouldUseNativeValidation: false }), { handleSubmit: f2, formState: y2 } = g2, b2 = P(null), w2 = P(null), x2 = P(null), v2 = xc(async (e16) => {
5270
5270
  let t3;
5271
5271
  try {
5272
- if (t3 = await Promise.resolve(l2?.(e16)) ?? true, true !== t3) return;
5273
- await Promise.resolve(r2?.(e16, e16 === u2, e16 === d2)), i2?.(e16);
5272
+ if (t3 = await Promise.resolve(a2?.(e16)) ?? true, true !== t3) return;
5273
+ await Promise.resolve(i2?.(e16, e16 === h2, e16 === u2)), l2?.(e16);
5274
5274
  } catch (e17) {
5275
5275
  }
5276
- }, [r2, i2, l2, u2, d2]), v2 = xc((e16, t3) => {
5276
+ }, [i2, l2, a2, h2, u2]), S2 = xc((e16, t3) => {
5277
5277
  setTimeout(() => {
5278
- x2(d2);
5278
+ v2(u2);
5279
5279
  }, 180);
5280
- }, [x2]), S2 = xc(() => {
5281
- r2?.(u2, true, false), o2?.(), i2?.(null);
5282
- }, [r2, u2, o2, i2]), C2 = f2 && (Object.keys(f2.errors).length > 0 || f2.disabled || f2.isSubmitted), E2 = xc((e16, t3) => {
5283
- const n3 = e16 === u2, o3 = { className: t3 ? "defaultOption" : "action", type: t3 ? "submit" : "button", style: { minWidth: "75px" }, onClick: () => {
5284
- n3 ? S2() : t3 || x2(e16);
5280
+ }, [v2]), C2 = xc(() => {
5281
+ i2?.(h2, true, false), r2?.(), l2?.(null);
5282
+ }, [i2, h2, r2, l2]), E2 = y2 && (Object.keys(y2.errors).length > 0 || y2.disabled || y2.isSubmitted), _2 = xc((e16, t3) => {
5283
+ const n3 = e16 === h2, o3 = { className: t3 ? "defaultOption" : "action", type: t3 ? "submit" : "button", style: { minWidth: "75px" }, onClick: () => {
5284
+ n3 ? C2() : t3 || v2(e16);
5285
5285
  } };
5286
- if (a2) return a2(e16, o3, t3);
5287
- const r3 = { className: t3 ? "defaultOption" : "action", variant: t3 ? "contained" : "outlined", size: "small", disabled: !n3 && C2, color: "primary", ...o3 };
5286
+ if (s2) return s2(e16, o3, t3);
5287
+ const r3 = { className: t3 ? "defaultOption" : "action", variant: t3 ? "contained" : "outlined", size: "small", disabled: !n3 && E2, color: "primary", ...o3 };
5288
5288
  if (t3 || n3) {
5289
- const e17 = t3 ? y2 : b2;
5289
+ const e17 = t3 ? b2 : w2;
5290
5290
  r3.touchRippleRef = e17, r3.onPointerDown = (t4) => {
5291
5291
  e17.current?.start(t4, { center: false }), t4.stopPropagation(), t4.preventDefault();
5292
5292
  };
5293
5293
  }
5294
5294
  return R(ue, { ...r3, children: R("div", { style: { paddingTop: "3px" }, children: e16 }) }, `action:${e16}`);
5295
- }, [s2, d2, u2, a2, f2]), _2 = V(() => {
5295
+ }, [c2, u2, h2, s2, y2]), k2 = V(() => {
5296
5296
  const e16 = [];
5297
- for (let t3 = 0; t3 < s2.length; t3++) {
5298
- const n3 = s2[t3], o3 = d2 ? n3 === d2 : 0 === t3;
5299
- e16.push(E2(n3, o3));
5297
+ for (let t3 = 0; t3 < c2.length; t3++) {
5298
+ const n3 = c2[t3], o3 = u2 ? n3 === u2 : 0 === t3;
5299
+ e16.push(_2(n3, o3));
5300
5300
  }
5301
5301
  return e16;
5302
- }, [s2, d2, f2]);
5303
- return R(Tp, { onCancel: S2, initialPosition: { y: "touch" === yo ? "15" : "35" }, onDone: i2, autoFocusSel: c2, isModal: true, PaperProps: {}, ...p2, children: R(yt, { ...m2, children: D("form", { ref: w2, onSubmit: g2(v2), children: [R(he, { dividers: true, onKeyDown: (e16) => {
5302
+ }, [c2, u2, y2]);
5303
+ return R(Tp, { onCancel: C2, initialPosition: { y: "touch" === yo ? "15" : "35" }, onDone: l2, autoFocusSel: d2, isModal: true, ref: t2, PaperProps: {}, ...m2, children: R(yt, { ...g2, children: D("form", { ref: x2, onSubmit: f2(S2), children: [R(he, { dividers: true, onKeyDown: (e16) => {
5304
5304
  if (e16.isDefaultPrevented()) return;
5305
5305
  e16.stopPropagation();
5306
5306
  let t3 = null, n3 = null;
5307
- const o3 = e16.which === bc.Escape && u2;
5308
- if (o3) t3 = u2, n3 = b2;
5307
+ const o3 = e16.which === bc.Escape && h2;
5308
+ if (o3) t3 = h2, n3 = w2;
5309
5309
  else {
5310
- if (C2) return;
5311
- e16.which === bc.Enter && (t3 = d2 ?? s2[0], n3 = y2);
5310
+ if (E2) return;
5311
+ e16.which === bc.Enter && (t3 = u2 ?? c2[0], n3 = b2);
5312
5312
  }
5313
5313
  t3 && (n3.current?.start(e16, { center: false }), setTimeout(() => {
5314
- n3.current?.stop(e16), o3 && x2(t3);
5314
+ n3.current?.stop(e16), o3 && v2(t3);
5315
5315
  }, 180));
5316
- }, children: D(J, { sx: { display: "flex", flexDirection: "column", whiteSpace: "pre-wrap", rowGap: (e16) => e16.spacing(n2 || t2 ? 1.5 : 0) }, children: [D(J, { sx: { display: "flex", flexDirection: "column" }, children: [n2, t2] }), h2] }) }), R(pe, { sx: { paddingTop: (e16) => e16.spacing(1), paddingBottom: (e16) => e16.spacing(1), paddingLeft: (e16) => e16.spacing(1), paddingRight: (e16) => e16.spacing(1), backgroundColor: (e16) => it(e16.palette.action.hover, 0.03) }, children: _2 })] }) }) });
5317
- }, Dp = Object.freeze(Object.defineProperty({ __proto__: null, OptionsDialog: Rp, default: Rp }, Symbol.toStringTag, { value: "Module" })), Ip = L.lazy(() => Promise.resolve().then(() => Dp)), Lp = () => {
5316
+ }, children: D(J, { sx: { display: "flex", flexDirection: "column", whiteSpace: "pre-wrap", rowGap: (e16) => e16.spacing(o2 || n2 ? 1.5 : 0) }, children: [D(J, { sx: { display: "flex", flexDirection: "column" }, children: [o2, n2] }), p2] }) }), R(pe, { sx: { paddingTop: (e16) => e16.spacing(1), paddingBottom: (e16) => e16.spacing(1), paddingLeft: (e16) => e16.spacing(1), paddingRight: (e16) => e16.spacing(1), backgroundColor: (e16) => it(e16.palette.action.hover, 0.03) }, children: k2 })] }) }) });
5317
+ })), Dp = Object.freeze(Object.defineProperty({ __proto__: null, OptionsDialog: Rp, default: Rp }, Symbol.toStringTag, { value: "Module" })), Ip = L.lazy(() => Promise.resolve().then(() => Dp)), Lp = () => {
5318
5318
  const { showModal: e15 } = $i();
5319
5319
  return (t2) => new Promise((n2) => {
5320
5320
  const o2 = e15(Ip, { ...t2, onOption(e16) {
@@ -5323,7 +5323,7 @@ const Ep = { x: 0, y: 0 }, _p = z(N((e15, t2) => {
5323
5323
  t2?.onDone?.(), o2.hide();
5324
5324
  } });
5325
5325
  });
5326
- }, zp = L.lazy(() => import("./B_-60k30GZTVFJCG.mjs")), Pp = () => {
5326
+ }, zp = L.lazy(() => import("./ChbG8iQjvpz3jA7T.mjs")), Pp = () => {
5327
5327
  const { showModal: e15 } = $i();
5328
5328
  return (t2) => {
5329
5329
  const { defaultOption: n2 = t2.options?.[0], cancelOption: o2 = "Cancel", ...r2 } = t2;
@@ -5341,7 +5341,7 @@ const Ep = { x: 0, y: 0 }, _p = z(N((e15, t2) => {
5341
5341
  const { command: n2, disabled: o2 = false, shortcut: r2, children: i2, ...l2 } = e15;
5342
5342
  return hd(n2), R(up, { ref: t2, label: void 0 !== o2 ? n2?.label() : "", shortcut: void 0 !== r2 ? r2 : Array.isArray(n2?.shortcut()) ? n2?.shortcut()[0] : n2?.shortcut(), description: n2?.description(), disabled: o2, chips: n2?.tags(), componentDisabled: n2?.disabled(), ...l2, children: R("div", { style: { display: "flex", flex: "1 1 0%" }, children: i2 }) });
5343
5343
  })), Ap = z(N((e15, t2) => {
5344
- const { command: n2, commandHook: o2, scope: r2, context: i2, icon: l2, labelOverride: a2, disabled: s2 = false, variant: c2 = gd.Toolbar, shortcut: d2, commandState: u2, tooltipProps: h2, ...p2 } = e15, m2 = P(null), g2 = P(false), f2 = V(() => {
5344
+ const { command: n2, commandHook: o2, scope: r2, context: i2, icon: l2, label: a2, disabled: s2 = false, variant: c2 = gd.Toolbar, shortcut: d2, commandState: u2, tooltipProps: h2, ...p2 } = e15, m2 = P(null), g2 = P(false), f2 = V(() => {
5345
5345
  const e16 = { onExecute(e17, t3) {
5346
5346
  o2?.onExecute?.(e17, t3), g2.current || (m2.current?.start({ center: false }), setTimeout(() => m2.current?.stop({}), 180)), g2.current = false;
5347
5347
  }, onError(e17, t3, n3) {
@@ -5464,9 +5464,7 @@ const Bp = (e15) => {
5464
5464
  const { key: t2, ...n2 } = e15;
5465
5465
  return R(Ap, { ...n2 }, t2);
5466
5466
  }, $p = z(N((e15, t2) => {
5467
- const { popupCommandKeys: n2, renderCommandButton: o2, scope: r2, commands: i2, icon: l2, quickCommand: a2, popupScope: s2 = a2, commandState: c2, commandHook: d2, disabled: u2 = false, ...h2 } = e15;
5468
- md(i2, [a2, ...n2]);
5469
- const p2 = F((e16, t3) => {
5467
+ const { popupCommandKeys: n2, renderCommandButton: o2 = Bp, scope: r2, commands: i2, icon: l2, quickCommand: a2, popupScope: s2 = a2, commandState: c2, commandHook: d2, disabled: u2 = false, ...h2 } = e15, p2 = md(i2, n2 ? [a2, ...n2] : [a2]), m2 = F((e16, t3) => {
5470
5468
  const r3 = { variant: gd.Menuitem, commandHook: d2, commandState: c2, icon: l2, scope: s2, disabled: u2 }, i3 = [];
5471
5469
  for (let e17 = 0; e17 < n2?.length; e17++) {
5472
5470
  const l3 = n2[e17];
@@ -5474,12 +5472,12 @@ const Bp = (e15) => {
5474
5472
  i3.push(R(kh, { orientation: "horizontal" }, `element-${i3.length}`));
5475
5473
  continue;
5476
5474
  }
5477
- const a3 = t3.getCommand(l3), s3 = { key: `${l3}-${i3.length}`, command: a3, ...r3 }, c3 = o2?.(s3) ?? Bp(s3);
5475
+ const a3 = t3.getCommand(l3), s3 = { key: `${l3}-${i3.length}`, command: a3, ...r3 }, c3 = o2(s3);
5478
5476
  c3 && i3.push(c3);
5479
5477
  }
5480
5478
  return Bh({ ...e16, children: i3 });
5481
5479
  }, [u2, d2, c2, s2, n2, l2, o2]);
5482
- return R(Hp, { ref: t2, commands: i2, disabled: u2, commandHook: d2, commandState: c2, scope: r2, quickCommand: a2, icon: l2, createPopupPanel: p2, ...h2 });
5480
+ return n2 ? R(Hp, { ref: t2, commands: i2, disabled: u2, commandHook: d2, commandState: c2, scope: r2, quickCommand: a2, icon: l2, createPopupPanel: m2, ...h2 }) : o2({ ref: t2, disabled: u2, commandHook: d2, commandState: c2, scope: r2, command: p2[0], icon: l2, ...h2 });
5483
5481
  })), Wp = z(N((e15, t2) => {
5484
5482
  const { commands: n2, commandHook: o2, scope: r2, disabled: i2 = false, parentFloat: l2, ...a2 } = e15, s2 = Br(n2, ["formatAlignLeftToggle", "formatAlignCenterToggle", "formatAlignRightToggle", "formatAlignJustifyToggle", "formatAlignCenterContinuousToggle", "formatAlignFillToggle", "formatAlignDistributedHorizontalToggle"]), c2 = V(() => {
5485
5483
  for (let e16 = 0; e16 < s2.length; e16++) if (s2[e16]?.state()) return s2[e16].key();
@@ -5522,7 +5520,11 @@ const Bp = (e15) => {
5522
5520
  return R(Hp, { ref: t2, commands: n2, commandHook: o2, scope: r2, label: "Text Overflow", tooltip: "Configure how text behaves when it doesn't fit within a cell.", createPopupPanel: d2, icon: c2.get(s2) ?? Xs(R(Hs, {})), ...l2 });
5523
5521
  })), Zp = z(N((e15, t2) => {
5524
5522
  const { commands: n2, commandHook: o2, scope: r2, disabled: i2 = false, ...l2 } = e15, a2 = Br(n2, ["formatTextRotate0", "formatTextRotate315", "formatTextRotate45", "formatTextRotate90", "formatTextRotate270", "formatSubscriptToggle", "formatTextRotateCustom"]), s2 = V(() => {
5525
- for (let e16 = 0; e16 < a2.length; e16++) if (a2[e16]?.state()) return a2[e16].key();
5523
+ const e16 = a2.length;
5524
+ for (let t3 = 0; t3 < e16; t3++) {
5525
+ const e17 = a2[t3];
5526
+ if (e17?.state()) return e17.key();
5527
+ }
5526
5528
  return a2[1]?.key();
5527
5529
  }, [a2]), c2 = V(() => {
5528
5530
  const e16 = /* @__PURE__ */ new Map();
@@ -5530,7 +5532,7 @@ const Bp = (e15) => {
5530
5532
  }, []), d2 = F((e16, t3) => {
5531
5533
  const n3 = { variant: $r.Menuitem, commandHook: o2, scope: r2, disabled: i2 }, l3 = D(I, { children: [R(Ap, { ...n3, command: t3.getCommand("formatTextRotate0"), icon: Xs(R(iu, {})) }), R(kh, { orientation: "horizontal" }), R(Ap, { ...n3, command: t3.getCommand("formatTextRotate315"), icon: Xs(R(cu, {})) }), R(Ap, { ...n3, command: t3.getCommand("formatTextRotate45"), icon: Xs(R(lu, {})) }), R(Ap, { ...n3, command: t3.getCommand("formatTextRotate90"), icon: Xs(R(au, {})) }), R(Ap, { ...n3, command: t3.getCommand("formatTextRotate270"), icon: Xs(R(su, {})) }), R(kh, { orientation: "horizontal" }), R(Fp, { ...n3, command: t3.getCommand("formatTextRotateCustom"), icon: Xs(R(du, {})), label: "Custom" })] });
5532
5534
  return Bh({ ...e16, children: l3 });
5533
- }, [i2, o2, r2]), u2 = V(() => 0 !== (n2.getCommand("formatTextRotateCustom")?.state() ?? 0), [a2]);
5535
+ }, [i2, o2, r2, n2]), u2 = V(() => 0 !== (n2.getCommand("formatTextRotateCustom")?.state() ?? 0), [a2]);
5534
5536
  return R(Hp, { ref: t2, commands: n2, commandHook: o2, scope: r2, selected: u2, label: "Text Orientation", tooltip: "Rotate your text diagonally or vertically. This is a great way to label narrow columns.", createPopupPanel: d2, quickCommand: u2 ? "formatTextRotate0" : "formatTextRotate315", icon: Xs(c2.get(s2) ?? R(cu, {})), ...l2 });
5535
5537
  })), qp = "up", Gp = "down", Kp = "left", Xp = "right", Yp = "tl", Jp = "t", Qp = "l", em = "c", tm = "text/html", nm = "text/plain", om = "image/png", rm = Object.freeze({ left: 0, top: 0 }), im = Object.freeze({ left: 0, top: 0, bottom: 0, right: 0 }), lm = Object.freeze({ x: 0, y: 0, width: 0, height: 0 });
5536
5538
  Object.freeze(Object.defineProperty({ __proto__: null, EmptyBounds: lm, EmptyRect: im, EmptyTopLeft: rm }, Symbol.toStringTag, { value: "Module" }));
@@ -10322,7 +10324,7 @@ const Ux = Object.freeze([8, 9, 10, 11, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30,
10322
10324
  U2.current && document.activeElement !== U2.current && requestAnimationFrame(() => {
10323
10325
  U2.current.focus();
10324
10326
  });
10325
- }, ref: Z2, ...k2, style: { display: "flex", flexGrow: 1, alignSelf: "stretch", height: "100%", width: "100%", maxWidth: "100%", maxHeight: "100%", cursor: "initial", ...S2 }, children: R("div", { className: "editor-placement", style: { display: "flex", flexGrow: 1, position: "relative", top: ve2 * C2 + 1, left: ye2 * C2, width: `calc(100% - ${be2 * C2}px)`, maxWidth: `calc(100% - ${be2 * C2}px)`, height: (xe2 ?? we2) * C2, maxHeight: (xe2 ?? we2) * C2 }, children: R("textarea", { spellCheck: "false", placeholder: j2.placeholder, ref: U2, value: j2.textValue, disabled: pe2, readOnly: v2, name: "sheet-cell-editor", autoComplete: "off", autoCapitalize: "off", style: { flex: "1 1 100%", font: "inherit", ...Ee2, fontSize: Ce2 ? `${Ce2}px` : "inherit", textAlign: j2.textAlign, lineHeight: (q2?.lines[0]?.bounds.height ?? 0) * C2 + "px", height: (q2?.bounds.height ?? 0) * C2, boxSizing: "border-box", padding: "0px", margin: "0px", borderWidth: 0, outline: "none", resize: "none", overflow: "hidden", background: "transparent", maxHeight: "100%", maxWidth: "100%", width: "100%", userSelect: "text", position: "absolute", whiteSpace: j2.isWrapped ? "normal" : "pre", wordWrap: "break-word" }, onFocus: ge2, onBlur: () => {
10327
+ }, ref: Z2, ...k2, style: { display: "flex", flexGrow: 1, alignSelf: "stretch", height: "100%", width: "100%", maxWidth: "100%", maxHeight: "100%", cursor: "initial", ...S2 }, children: R("div", { className: "editor-placement", style: { display: "flex", flexGrow: 1, position: "relative", top: ve2 * C2 + 1, left: ye2 * C2, width: `calc(100% - ${be2 * C2}px)`, maxWidth: `calc(100% - ${be2 * C2}px)`, height: (xe2 ?? we2) * C2, maxHeight: (xe2 ?? we2) * C2 }, children: R("textarea", { spellCheck: "false", placeholder: j2.placeholder, ref: U2, value: j2.textValue, disabled: pe2, readOnly: v2 || f2.getProtection().isReadOnly(), name: "sheet-cell-editor", autoComplete: "off", autoCapitalize: "off", style: { flex: "1 1 100%", font: "inherit", ...Ee2, fontSize: Ce2 ? `${Ce2}px` : "inherit", textAlign: j2.textAlign, lineHeight: (q2?.lines[0]?.bounds.height ?? 0) * C2 + "px", height: (q2?.bounds.height ?? 0) * C2, boxSizing: "border-box", padding: "0px", margin: "0px", borderWidth: 0, outline: "none", resize: "none", overflow: "hidden", background: "transparent", maxHeight: "100%", maxWidth: "100%", width: "100%", userSelect: "text", position: "absolute", whiteSpace: j2.isWrapped ? "normal" : "pre", wordWrap: "break-word" }, onFocus: ge2, onBlur: () => {
10326
10328
  z2(false);
10327
10329
  }, onSelect: (e15) => {
10328
10330
  }, onChange: (e15) => {
@@ -10538,17 +10540,17 @@ const Ux = Object.freeze([8, 9, 10, 11, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30,
10538
10540
  const r2 = n2?.fireOnModelChange ?? true;
10539
10541
  A(() => {
10540
10542
  if (!e15 || !o2.current) return;
10541
- const t3 = Object.keys(o2.current), i2 = {};
10542
- for (let e16 = 0; e16 < t3.length; e16++) {
10543
+ const t3 = Object.keys(o2.current), i2 = {}, l2 = t3.length;
10544
+ for (let e16 = 0; e16 < l2; e16++) {
10543
10545
  const n3 = t3[e16];
10544
10546
  i2[n3] = (e17, t4) => {
10545
10547
  o2.current[n3]?.(e17, t4);
10546
10548
  };
10547
10549
  }
10548
- const l2 = e15.addListeners(i2, n2);
10549
- if (r2) for (let n3 = 0; n3 < t3.length; n3++) i2[t3[n3]](e15);
10550
+ const a2 = e15.addListeners(i2, n2);
10551
+ if (r2) for (let n3 = 0; n3 < l2; n3++) i2[t3[n3]](e15);
10550
10552
  return () => {
10551
- l2?.();
10553
+ a2?.();
10552
10554
  };
10553
10555
  }, [e15]);
10554
10556
  }, fv = new i("transparent");
@@ -11195,7 +11197,7 @@ const bv = (e15, t2, n2 = null) => {
11195
11197
  ye2.current = true;
11196
11198
  const e16 = L.lazy(async () => {
11197
11199
  try {
11198
- const e17 = await import("./xQKjfFNNUiXBnIeG.mjs");
11200
+ const e17 = await import("./Cjw96KqgMSYqwdC4.mjs");
11199
11201
  return ye2.current = false, be2.current = true, C2([...S2]), e17;
11200
11202
  } catch (e17) {
11201
11203
  return console.warn(e17), ee2.current?.(false), null;
@@ -11684,8 +11686,10 @@ const $v = z(N((e15, t2) => {
11684
11686
  W2({ eventType: "cancel" });
11685
11687
  }, []), onKeyboardEvent: q2, onPointerEvent: U2, onKeyboardEventNative: Z2, onPointerEventNative: j2, isEditing: y2 };
11686
11688
  })({ view: o2, activeCoords: h2, getCellEditor: _2, canEdit: () => {
11687
- const e16 = !r2.getProtection().isLocked();
11688
- return e16 || a2(), e16;
11689
+ const e16 = r2.getProtection();
11690
+ if (e16.isReadOnly()) return false;
11691
+ const t3 = e16.isLocked();
11692
+ return t3 && a2(), !t3;
11689
11693
  }, onBeforeStartEdit: (e16) => {
11690
11694
  const t3 = tv(() => r2.getRange(e16).getCell()), n2 = { sheet: r2, coords: e16, editState: Object.freeze(t3) };
11691
11695
  u2.setMode({ key: "edit", args: { stateAndCoords: n2 } }), g2(n2);
@@ -12361,9 +12365,9 @@ Continue?`, options: ["Convert", "Cancel"], defaultOption: "Convert" })) return;
12361
12365
  for (let t4 = 0; l2 && t4 < e15.length; t4++) l2 = Jt.isSingleCell(e15[t4]);
12362
12366
  ke3(i4), Ee3(0 === t3.length && !i4 && (o2 || !l2));
12363
12367
  }, [we3, v3, r3]), Br(m3, null, { onChange: () => {
12364
- const e15 = "formatPainter" === N3.getMode()?.key;
12365
- Se3.getCommand("formatPainterToggle").update({ disabled: !m3?.getCommand("copy"), state: () => e15 }).updateCallback(() => {
12366
- if (!e15) return Se3.getCommand("copy").execute({ editMode: { key: "formatPainter", description: "Use the mouse to apply the copied format to another selection.", cursor: `url("data:image/svg+xml,%3Csvg width='30' height='22' viewBox='0 0 30 22' xmlns='http://www.w3.org/2000/svg' %3E%3Cg%3E%3Cpath d='M 26.737611,2.811068 V 2.0241451 c 0,-0.4328075 -0.354115,-0.7869227 -0.786923,-0.7869227 h -9.443074 c -0.432808,0 -0.786923,0.3541152 -0.786923,0.7869227 v 3.1476914 c 0,0.4328076 0.354115,0.7869235 0.786923,0.7869235 h 9.443074 c 0.432808,0 0.786923,-0.3541159 0.786923,-0.7869235 V 4.3849137 h 0.786923 v 3.1476915 h -7.869229 v 8.6561518 c 0,0.432808 0.354116,0.786923 0.786923,0.786923 h 1.573846 c 0.432807,0 0.786923,-0.354115 0.786923,-0.786923 V 9.1064513 H 29.09838 V 2.811068 Z M 10.714339,6.2116849 c -1.60877,0.0017 -3.2175361,0.00425 -4.8263048,0.00609 0.0012,1.5756989 0.00158,3.1513905 0.00244,4.7270891 -1.5978311,0.0017 -3.1956617,0.0034 -4.7934919,0.0043 0.00335,1.740011 0.00655,3.480012 0.00988,5.220023 1.5954589,0 3.1909181,0 4.7863775,0 -0.0017,1.606793 -0.00353,3.213585 -0.0051,4.820375 1.7440936,0.0016 3.4881881,0.0033 5.2322842,0.005 -0.0014,-1.608503 -0.0018,-3.217015 -0.0028,-4.825519 1.58518,0 3.17036,0 4.755543,0 0.0033,-1.741851 0.0073,-3.483705 0.01072,-5.225556 -1.58808,0 -3.176158,0 -4.764238,0 0,-1.5775391 0,-3.1550792 0,-4.7326117 -0.135065,1.3e-4 -0.270128,1.982e-4 -0.40519,4.047e-4 z' stroke='black' fill='white'/%3E%3C/g%3E%3C/svg%3E%0A") 7 12, pointer` } });
12368
+ const e15 = !r3.getProtection().isFormatCellsAllowed(), t3 = "formatPainter" === N3.getMode()?.key;
12369
+ Se3.getCommand("formatPainterToggle").update({ disabled: e15 || !m3?.getCommand("copy"), state: () => t3 }).updateCallback(() => {
12370
+ if (!t3) return Se3.getCommand("copy").execute({ editMode: { key: "formatPainter", description: "Use the mouse to apply the copied format to another selection.", cursor: `url("data:image/svg+xml,%3Csvg width='30' height='22' viewBox='0 0 30 22' xmlns='http://www.w3.org/2000/svg' %3E%3Cg%3E%3Cpath d='M 26.737611,2.811068 V 2.0241451 c 0,-0.4328075 -0.354115,-0.7869227 -0.786923,-0.7869227 h -9.443074 c -0.432808,0 -0.786923,0.3541152 -0.786923,0.7869227 v 3.1476914 c 0,0.4328076 0.354115,0.7869235 0.786923,0.7869235 h 9.443074 c 0.432808,0 0.786923,-0.3541159 0.786923,-0.7869235 V 4.3849137 h 0.786923 v 3.1476915 h -7.869229 v 8.6561518 c 0,0.432808 0.354116,0.786923 0.786923,0.786923 h 1.573846 c 0.432807,0 0.786923,-0.354115 0.786923,-0.786923 V 9.1064513 H 29.09838 V 2.811068 Z M 10.714339,6.2116849 c -1.60877,0.0017 -3.2175361,0.00425 -4.8263048,0.00609 0.0012,1.5756989 0.00158,3.1513905 0.00244,4.7270891 -1.5978311,0.0017 -3.1956617,0.0034 -4.7934919,0.0043 0.00335,1.740011 0.00655,3.480012 0.00988,5.220023 1.5954589,0 3.1909181,0 4.7863775,0 -0.0017,1.606793 -0.00353,3.213585 -0.0051,4.820375 1.7440936,0.0016 3.4881881,0.0033 5.2322842,0.005 -0.0014,-1.608503 -0.0018,-3.217015 -0.0028,-4.825519 1.58518,0 3.17036,0 4.755543,0 0.0033,-1.741851 0.0073,-3.483705 0.01072,-5.225556 -1.58808,0 -3.176158,0 -4.764238,0 0,-1.5775391 0,-3.1550792 0,-4.7326117 -0.135065,1.3e-4 -0.270128,1.982e-4 -0.40519,4.047e-4 z' stroke='black' fill='white'/%3E%3C/g%3E%3C/svg%3E%0A") 7 12, pointer` } });
12367
12371
  N3.setMode(null);
12368
12372
  });
12369
12373
  } }, [N3, ye3, m3]), gv(r3.getView(), { onFreezeSplitChange: () => {
@@ -12603,20 +12607,20 @@ Continue?`, options: ["Convert", "Cancel"], defaultOption: "Convert" })) return;
12603
12607
  Se3.getCommand("formatAlignJustifyToggle").updateCallback(function() {
12604
12608
  G3(this, { alignment: { horizontal: C4() ? e.HorizontalAlignment.General : e.HorizontalAlignment.Justify } });
12605
12609
  }).update({ state: C4 });
12606
- const E4 = Le3 === e.HorizontalAlignment.CenterContinuous || Le3 === e.HorizontalAlignment.Fill;
12610
+ const E4 = !r3.getProtection().isFormatCellsAllowed(), _4 = Le3 === e.HorizontalAlignment.CenterContinuous || Le3 === e.HorizontalAlignment.Fill;
12607
12611
  Se3.getCommand("formatTextRotate0").updateCallback(function(e15) {
12608
12612
  G3(this, { alignment: { rotation: 0 } });
12609
- }).update({ disabled: E4, state: 0 === Oe3 }), Se3.getCommand("formatTextRotate45").updateCallback(function(e15) {
12613
+ }).update({ disabled: E4 || _4, state: 0 === Oe3 }), Se3.getCommand("formatTextRotate45").updateCallback(function(e15) {
12610
12614
  G3(this, { alignment: { rotation: e15 ?? 1 ? 45 : 0 } });
12611
- }).update({ disabled: E4, state: 45 === Oe3 }), Se3.getCommand("formatTextRotate90").updateCallback(function(e15) {
12615
+ }).update({ disabled: E4 || _4, state: 45 === Oe3 }), Se3.getCommand("formatTextRotate90").updateCallback(function(e15) {
12612
12616
  G3(this, { alignment: { rotation: e15 ?? 1 ? 90 : 0 } });
12613
- }).update({ disabled: E4, state: 90 === Oe3 }), Se3.getCommand("formatTextRotate270").updateCallback(function(e15) {
12617
+ }).update({ disabled: E4 || _4, state: 90 === Oe3 }), Se3.getCommand("formatTextRotate270").updateCallback(function(e15) {
12614
12618
  G3(this, { alignment: { rotation: e15 ?? 1 ? 270 : 0 } });
12615
- }).update({ disabled: E4, state: 270 === Oe3 }), Se3.getCommand("formatTextRotate315").updateCallback(function(e15) {
12619
+ }).update({ disabled: E4 || _4, state: 270 === Oe3 }), Se3.getCommand("formatTextRotate315").updateCallback(function(e15) {
12616
12620
  G3(this, { alignment: { rotation: e15 ?? 1 ? 315 : 0 } });
12617
- }).update({ disabled: E4, state: 315 === Oe3 }), Se3.getCommand("formatTextRotateCustom").updateCallback(function(e15) {
12621
+ }).update({ disabled: E4 || _4, state: 315 === Oe3 }), Se3.getCommand("formatTextRotateCustom").updateCallback(function(e15) {
12618
12622
  G3(this, { alignment: { rotation: e15 } });
12619
- }).update({ disabled: E4, state: Oe3 ?? 0 });
12623
+ }).update({ disabled: E4 || _4, state: Oe3 ?? 0 });
12620
12624
  }, [Re3, r3, a2, M3, L2]), A(() => {
12621
12625
  const t3 = !r3.getProtection().isFormatCellsAllowed(), o2 = r3.getSelectedRanges().getMerges().length > 0, i4 = async (t4, o3) => {
12622
12626
  q3(o3, async (r4) => {
@@ -12727,7 +12731,7 @@ Continue?`, options: ["Convert", "Cancel"], defaultOption: "Convert" })) return;
12727
12731
  } catch (e16) {
12728
12732
  r4?.(), f3?.showError?.(e16);
12729
12733
  }
12730
- }).update({ state: n2, label: () => n2 ? "Unprotect Sheet" : "Protect Sheet", scopedLabels: { sheet: n2 ? "Unprotect" : "Protect" } }), Se3.getCommand("deleteTable").update(i4), Se3.getCommand("sortAscending").update(i4), Se3.getCommand("sortDescending").update(i4), Se3.getCommand("sortCustom")?.update(i4), Se3.getCommand("updateComments").update(i4), Se3.getCommand("deleteComments").update(i4), Se3.getCommand("insertChart")?.update(i4), Se3.getCommand("insertImageFromFile").update(i4), Se3.getCommand("insertImageFromURL").update(i4), Se3.getCommand("formatBorder").update(i4), Se3.getCommand("formatFillColor").update(i4), Se3.getCommand("formatFontColor").update(i4), Se3.getCommand("formatBoldToggle").update(i4), Se3.getCommand("formatItalicToggle").update(i4), Se3.getCommand("formatUnderlinedToggle").update(i4), Se3.getCommand("formatStrikeThroughToggle").update(i4), Se3.getCommand("formatSuperscriptToggle").update(i4), Se3.getCommand("formatSubscriptToggle").update(i4), Se3.getCommand("formatAlignTopToggle").update(i4), Se3.getCommand("formatTextOverflowVisibleToggle").update(i4), Se3.getCommand("formatTextOverflowWrapToggle").update(i4), Se3.getCommand("formatTextOverflowClipToggle").update(i4), Se3.getCommand("formatTextOverflowShrinkToggle").update(i4), Se3.getCommand("formatAlignMiddleToggle").update(i4), Se3.getCommand("formatAlignBottomToggle").update(i4), Se3.getCommand("formatAlignDistributedVerticalToggle").update(i4), Se3.getCommand("formatAlignJustifyVerticalToggle").update(i4), Se3.getCommand("formatAlignLeftToggle").update(i4), Se3.getCommand("formatAlignCenterToggle").update(i4), Se3.getCommand("formatAlignRightToggle").update(i4), Se3.getCommand("formatAlignJustifyToggle").update(i4), Se3.getCommand("formatAlignCenterContinuousToggle").update(i4), Se3.getCommand("formatAlignDistributedHorizontalToggle").update(i4), Se3.getCommand("formatAlignFillToggle").update(i4), Se3.getCommand("formatFontSizeIncrease").update(i4), Se3.getCommand("formatFontSizeDecrease").update(i4), Se3.getCommand("formatFontFamily").update(i4), Se3.getCommand("formatFontSize").update(i4), Se3.getCommand("formatNumberFormat").update(i4), Se3.getCommand("formatNumberFormatGeneralStyle").update(i4), Se3.getCommand("formatNumberFormatNumberStyle").update(i4), Se3.getCommand("formatNumberFormatTimeStyle").update(i4), Se3.getCommand("formatNumberFormatDateStyle").update(i4), Se3.getCommand("formatNumberFormatAccountingStyle").update(i4), Se3.getCommand("formatNumberFormatPercentStyle").update(i4), Se3.getCommand("formatNumberFormatScientificStyle").update(i4), Se3.getCommand("formatNumberFormatCommaStyle").update(i4), Se3.getCommand("formatNumberFormatIncreaseDecimal").update(i4), Se3.getCommand("formatNumberFormatDecreaseDecimal").update(i4), Se3.getCommand("hideColumns").update(i4), Se3.getCommand("unhideColumns").update(i4), Se3.getCommand("hideRows").update(i4), Se3.getCommand("unhideRows").update(i4), Se3.getCommand("quickFormulaSum").update(i4), Se3.getCommand("quickFormulaAverage").update(i4), Se3.getCommand("quickFormulaCount").update(i4), Se3.getCommand("quickFormulaMax").update(i4), Se3.getCommand("quickFormulaMin").update(i4), Se3.getCommand("startEditCurrentTime").update(i4), Se3.getCommand("startEditCurrentDate").update(i4), Se3.getCommand("startEditValueAbove").update(i4), Se3.getCommand("fillDown").update(i4), Se3.getCommand("fillRight").update(i4), Se3.getCommand("fillUp").update(i4), Se3.getCommand("fillLeft").update(i4), Se3.getCommand("formatCellStyle").update(i4), Se3.getCommand("formatTableStyle").update(i4), Se3.getCommand("formatBorderAddOutline").update(i4), Se3.getCommand("formatBorderClearOutline").update(i4), Se3.getCommand("formatIndentDecrease").update(i4), Se3.getCommand("formatIndentIncrease").update(i4), Se3.getCommand("clearContents").update(i4), Se3.getCommand("clearFormats").update(i4), Se3.getCommand("clearAll").update(i4);
12734
+ }).update({ state: n2, label: () => n2 ? "Unprotect Sheet" : "Protect Sheet", scopedLabels: { sheet: n2 ? "Unprotect" : "Protect" } }), Se3.getCommand("deleteTable").update(i4), Se3.getCommand("sortAscending").update(i4), Se3.getCommand("sortDescending").update(i4), Se3.getCommand("sortCustom")?.update(i4), Se3.getCommand("updateComments").update(i4), Se3.getCommand("deleteComments").update(i4), Se3.getCommand("insertChart")?.update(i4), Se3.getCommand("insertImageFromFile").update(i4), Se3.getCommand("insertImageFromURL").update(i4), Se3.getCommand("formatBorder").update(i4), Se3.getCommand("formatFillColor").update(i4), Se3.getCommand("formatFontColor").update(i4), Se3.getCommand("formatBoldToggle").update(i4), Se3.getCommand("formatItalicToggle").update(i4), Se3.getCommand("formatUnderlinedToggle").update(i4), Se3.getCommand("formatStrikeThroughToggle").update(i4), Se3.getCommand("formatSuperscriptToggle").update(i4), Se3.getCommand("formatSubscriptToggle").update(i4), Se3.getCommand("formatAlignTopToggle").update(i4), Se3.getCommand("formatTextOverflowVisibleToggle").update(i4), Se3.getCommand("formatTextOverflowWrapToggle").update(i4), Se3.getCommand("formatTextOverflowClipToggle").update(i4), Se3.getCommand("formatTextOverflowShrinkToggle").update(i4), Se3.getCommand("formatAlignMiddleToggle").update(i4), Se3.getCommand("formatAlignBottomToggle").update(i4), Se3.getCommand("formatAlignDistributedVerticalToggle").update(i4), Se3.getCommand("formatAlignJustifyVerticalToggle").update(i4), Se3.getCommand("formatAlignLeftToggle").update(i4), Se3.getCommand("formatAlignCenterToggle").update(i4), Se3.getCommand("formatAlignRightToggle").update(i4), Se3.getCommand("formatAlignJustifyToggle").update(i4), Se3.getCommand("formatAlignCenterContinuousToggle").update(i4), Se3.getCommand("formatAlignDistributedHorizontalToggle").update(i4), Se3.getCommand("formatAlignFillToggle").update(i4), Se3.getCommand("formatFontSizeIncrease").update(i4), Se3.getCommand("formatFontSizeDecrease").update(i4), Se3.getCommand("formatFontFamily").update(i4), Se3.getCommand("formatFontSize").update(i4), Se3.getCommand("formatNumberFormat").update(i4), Se3.getCommand("formatNumberFormatGeneralStyle").update(i4), Se3.getCommand("formatNumberFormatNumberStyle").update(i4), Se3.getCommand("formatNumberFormatTimeStyle").update(i4), Se3.getCommand("formatNumberFormatDateStyle").update(i4), Se3.getCommand("formatNumberFormatAccountingStyle").update(i4), Se3.getCommand("formatNumberFormatPercentStyle").update(i4), Se3.getCommand("formatNumberFormatScientificStyle").update(i4), Se3.getCommand("formatNumberFormatCommaStyle").update(i4), Se3.getCommand("formatNumberFormatIncreaseDecimal").update(i4), Se3.getCommand("formatNumberFormatDecreaseDecimal").update(i4), Se3.getCommand("hideColumns").update(i4), Se3.getCommand("unhideColumns").update(i4), Se3.getCommand("hideRows").update(i4), Se3.getCommand("unhideRows").update(i4), Se3.getCommand("quickFormulaSum").update(i4), Se3.getCommand("quickFormulaAverage").update(i4), Se3.getCommand("quickFormulaCount").update(i4), Se3.getCommand("quickFormulaMax").update(i4), Se3.getCommand("quickFormulaMin").update(i4), Se3.getCommand("startEditCurrentTime").update(i4), Se3.getCommand("startEditCurrentDate").update(i4), Se3.getCommand("startEditValueAbove").update(i4), Se3.getCommand("fillDown").update(i4), Se3.getCommand("fillRight").update(i4), Se3.getCommand("fillUp").update(i4), Se3.getCommand("fillLeft").update(i4), Se3.getCommand("formatCellStyle").update(i4), Se3.getCommand("formatTableStyle").update(i4), Se3.getCommand("formatPainterToggle").update(i4), Se3.getCommand("formatBorderAddOutline").update(i4), Se3.getCommand("formatBorderClearOutline").update(i4), Se3.getCommand("formatIndentDecrease").update(i4), Se3.getCommand("formatIndentIncrease").update(i4), Se3.getCommand("clearContents").update(i4), Se3.getCommand("clearFormats").update(i4), Se3.getCommand("clearAll").update(i4), Se3.getCommand("clearComments").update(i4), Se3.getCommand("clearHyperlinks").update(i4), Se3.getCommand("autoFilterClear").update(i4), Se3.getCommand("autoFilterReapply").update(i4);
12731
12735
  const l2 = Le3 === e.HorizontalAlignment.CenterContinuous || Le3 === e.HorizontalAlignment.Fill, a3 = { disabled: o2 || l2 };
12732
12736
  Se3.getCommand("formatTextRotate0").update(a3), Se3.getCommand("formatTextRotate45").update(a3), Se3.getCommand("formatTextRotate90").update(a3), Se3.getCommand("formatTextRotate270").update(a3), Se3.getCommand("formatTextRotate315").update(a3), Se3.getCommand("formatTextRotateCustom").update(a3), Se3.getCommand("formatTextRotateVertical").update(a3);
12733
12737
  }, [we3]), Se3;
@@ -13165,7 +13169,7 @@ bS.displayName = "TabStrip";
13165
13169
  const wS = (e15) => D("svg", { ...e15, viewBox: "0 0 48 48", children: [R("path", { d: "M 2.2827924,0 C 1.5038324,0 0.87090248,0.52603 0.87090248,1.17149 v 25.39667 h -0.01 v 20.2607 c 0,0.39663 0.24025002,0.74639 0.60481992,0.95852 v 0.18499 h 0.50664 c 0.0972,0.0173 0.19732,0.0276 0.30092,0.0276 h 15.5346916 16.7448 v 0 h 11.35822 c 0.10311,0 0.20276,-0.0104 0.29945,-0.0276 h 0.0696 v -0.0182 c 0.59938,-0.13566 1.04238,-0.58606 1.04238,-1.12526 V 26.96484 c 0.006,-0.0429 0.009,-0.0853 0.009,-0.12925 V 1.17154 c 0,-0.64586 -0.63293,-1.17149 -1.41189,-1.17149 h -15.7478 v 2e-4 h -2.06997 V 5e-5 Z", fill: "#547DBE" }), R("path", { d: "m 2.8338324,2.7184 v 9.0404 H 11.538484 V 2.7184 Z m 11.2334116,0 v 9.0404 h 8.70465 V 2.7184 Z m 11.26696,0 v 9.0404 h 8.70465 V 2.7184 Z m 11.33258,0 v 9.0404 h 8.70465 V 2.7184 Z M 2.8338324,14.32723 v 8.84046 h 8.7046516 v -8.84046 z m 11.2334116,0 v 8.84046 h 8.70465 v -8.84046 z m 11.26696,0 v 8.84046 h 8.70465 v -8.84046 z m 11.33258,0 v 8.84046 h 8.70465 V 14.32723 Z M 2.8338324,25.73691 v 8.67308 h 8.7046516 v -8.67308 z m 11.2334116,0 v 8.67308 h 8.73721 v -8.67308 z m 11.26696,0 v 8.67308 h 8.70465 v -8.67308 z m 11.33258,0 v 8.67308 h 8.70465 V 25.73691 Z M 2.8693424,36.61859 v 8.67357 h 8.7046616 v -8.67357 z m 11.2339116,0 v 8.67357 h 8.73771 v -8.67357 z m 11.26697,0 v 8.67357 h 8.70465 v -8.67357 z m 11.33257,0 v 8.67357 h 8.70465 v -8.67357 z", fill: "#FFFFFF" }), R("path", { d: "m 2.8254424,2.72091 v 9.04041 H 11.570544 V 2.72091 Z m 0,11.60889 v 8.84036 H 11.570544 V 14.3298 Z m 0,11.40958 v 8.67357 h 8.7451016 v -8.67357 z m 0.036,10.88167 v 8.67358 h 8.7451116 v -8.67358 z", fill: "#547DBE", fillOpacity: "0.4" }), R("path", { d: "m 30.820434,6.19497 c 1.85291,0 3.66241,0.29708 5.4285,0.89113 1.7656,0.5942 3.49568,1.50108 5.19073,2.72107 l -2.37584,3.25571 c -1.40941,-1.01391 -2.79515,-1.76647 -4.15721,-2.25759 -1.36206,-0.49111 -2.72412,-0.73667 -4.08618,-0.73667 -2.5817,0 -4.58902,0.53064 -6.02232,1.59218 -1.43334,1.06143 -2.14989,2.56661 -2.14989,4.51523 v 0.0237 c 0,1.36241 0.41177,2.40021 1.23532,3.11315 0.82355,0.71288 1.89253,1.24367 3.20703,1.59217 1.31446,0.3485 2.71608,0.67341 4.20493,0.97439 1.29842,0.26929 2.58944,0.58216 3.87257,0.9386 1.28263,0.3565 2.45032,0.8635 3.50356,1.52097 1.05324,0.65747 1.89288,1.5486 2.51841,2.6734 0.62553,1.12485 0.93829,2.59035 0.93829,4.39635 v 0.0477 c 0,3.18435 -1.10849,5.64817 -3.32597,7.39066 -2.21698,1.7425 -5.33724,2.61399 -9.35978,2.61399 -1.67882,0 -3.25863,-0.15841 -4.73958,-0.47523 -1.4808,-0.31681 -2.86644,-0.79204 -4.15737,-1.42617 -1.29077,-0.63363 -2.49827,-1.42567 -3.6227,-2.37612 l 2.54179,-3.20819 c 1.39383,1.204 2.91819,2.10717 4.57323,2.70928 1.6549,0.60205 3.45641,0.90307 5.40463,0.90307 2.73991,0 4.85823,-0.52704 6.35447,-1.58048 1.49674,-1.05359 2.24511,-2.53098 2.24511,-4.43213 v -0.0237 c 0,-1.37834 -0.37197,-2.43583 -1.11639,-3.17245 -0.74442,-0.73668 -1.71824,-1.2912 -2.92194,-1.66359 -1.2037,-0.37223 -2.51051,-0.6851 -3.91993,-0.9386 -1.34627,-0.23762 -2.69635,-0.51485 -4.05046,-0.83182 -1.35417,-0.31677 -2.59339,-0.7841 -3.71782,-1.40204 -1.12448,-0.61779 -2.03125,-1.49708 -2.72017,-2.63782 -0.68898,-1.14078 -1.03341,-2.66156 -1.03341,-4.5627 v -0.0237 c 0,-3.21623 1.06898,-5.70753 3.20718,-7.47386 2.13805,-1.76648 5.15506,-2.64981 9.05121,-2.64981 z", strokeWidth: "2.5", stroke: "#EB594D", fill: "#f9CECB" })] }), xS = j(null), vS = () => {
13166
13170
  const e15 = q(xS), [t2] = O(() => new r());
13167
13171
  return V(() => e15 || t2, [e15]);
13168
- }, SS = L.lazy(() => import("./CVheJHEYC7Bxc-m9.mjs")), CS = { lightbulb: { enabled: false }, tabSize: 2, acceptSuggestionOnCommitCharacter: true, acceptSuggestionOnEnter: "on", accessibilitySupport: "auto", automaticLayout: true, autoIndent: false, codeLens: true, colorDecorators: true, contextmenu: true, cursorBlinking: "blink", cursorSmoothCaretAnimation: false, cursorStyle: "line", disableLayerHinting: false, disableMonospaceOptimizations: false, dragAndDrop: true, glyphMargin: true, fixedOverflowWidgets: false, folding: true, foldingStrategy: "auto", fontLigatures: false, formatOnPaste: true, formatOnType: false, hideCursorInOverviewRuler: false, highlightActiveIndentGuide: true, links: true, lineDecorationsWidth: 8, lineNumbersMinChars: 3, mouseWheelZoom: false, multiCursorMergeOverlapping: true, multiCursorModifier: "alt", overviewRulerBorder: true, overviewRulerLanes: 2, quickSuggestions: true, quickSuggestionsDelay: 100, readOnly: false, renderControlCharacters: false, renderFinalNewline: true, renderIndentGuides: true, renderLineHighlight: "all", renderWhitespace: "none", revealHorizontalRightPadding: 30, roundedSelection: true, rulers: [], scrollBeyondLastColumn: 5, scrollBeyondLastLine: true, selectOnLineNumbers: true, selectionClipboard: true, selectionHighlight: true, showLightbulbIconMode: false, showFoldingControls: "mouseover", smoothScrolling: true, suggestOnTriggerCharacters: true, wordBasedSuggestions: true, wordSeparators: `~!@#$%^&*()-=+[{]}|;:'",.<>/?`, wordWrap: "off", wordWrapBreakAfterCharacters: " })]?|&,;", wordWrapBreakBeforeCharacters: "{([+", wordWrapBreakObtrusiveCharacters: ".", wordWrapColumn: 80, wordWrapMinified: true, wrappingIndent: "none" }, ES = async (e15, t2, n2) => {
13172
+ }, SS = L.lazy(() => import("./q2jb3DavC5pzi-mZ.mjs")), CS = { lightbulb: { enabled: false }, tabSize: 2, acceptSuggestionOnCommitCharacter: true, acceptSuggestionOnEnter: "on", accessibilitySupport: "auto", automaticLayout: true, autoIndent: false, codeLens: true, colorDecorators: true, contextmenu: true, cursorBlinking: "blink", cursorSmoothCaretAnimation: false, cursorStyle: "line", disableLayerHinting: false, disableMonospaceOptimizations: false, dragAndDrop: true, glyphMargin: true, fixedOverflowWidgets: false, folding: true, foldingStrategy: "auto", fontLigatures: false, formatOnPaste: true, formatOnType: false, hideCursorInOverviewRuler: false, highlightActiveIndentGuide: true, links: true, lineDecorationsWidth: 8, lineNumbersMinChars: 3, mouseWheelZoom: false, multiCursorMergeOverlapping: true, multiCursorModifier: "alt", overviewRulerBorder: true, overviewRulerLanes: 2, quickSuggestions: true, quickSuggestionsDelay: 100, readOnly: false, renderControlCharacters: false, renderFinalNewline: true, renderIndentGuides: true, renderLineHighlight: "all", renderWhitespace: "none", revealHorizontalRightPadding: 30, roundedSelection: true, rulers: [], scrollBeyondLastColumn: 5, scrollBeyondLastLine: true, selectOnLineNumbers: true, selectionClipboard: true, selectionHighlight: true, showLightbulbIconMode: false, showFoldingControls: "mouseover", smoothScrolling: true, suggestOnTriggerCharacters: true, wordBasedSuggestions: true, wordSeparators: `~!@#$%^&*()-=+[{]}|;:'",.<>/?`, wordWrap: "off", wordWrapBreakAfterCharacters: " })]?|&,;", wordWrapBreakBeforeCharacters: "{([+", wordWrapBreakObtrusiveCharacters: ".", wordWrapColumn: 80, wordWrapMinified: true, wrappingIndent: "none" }, ES = async (e15, t2, n2) => {
13169
13173
  const o2 = e15.getModel();
13170
13174
  if (!o2) return;
13171
13175
  const r2 = await t2.languages.typescript.getTypeScriptWorker(), i2 = await r2(o2.uri), l2 = await i2.getNavigationTree(o2.uri.toString()), a2 = e15.getPosition();
@@ -13315,7 +13319,7 @@ const RS = z(N((e15, t2) => {
13315
13319
  }, []), I2 = P(null), L2 = Eo((e16, t3) => {
13316
13320
  h2.current = { monaco: t3, editor: e16 }, C2(true), T2("Loading Types");
13317
13321
  const n3 = w2.getScripts().getModules().search()[0]?.getSource() ?? "";
13318
- e16.setValue(n3), import("./BdwO--U2p6MiyekK.mjs").then((e17) => e17.c).then((n4) => {
13322
+ e16.setValue(n3), import("./D4GNfE_QjFh3c9sT.mjs").then((e17) => e17.c).then((n4) => {
13319
13323
  T2(""), n4.AutoTypings.create(e16, { shareCache: true, monaco: t3, onError: (e17) => {
13320
13324
  "Not implemented yet" === e17 && (e17 = "Compile Errors"), console.warn("Error compiling types", e17);
13321
13325
  } }).then(async (n5) => {
@@ -13500,7 +13504,7 @@ const RS = z(N((e15, t2) => {
13500
13504
  r2?.set(c2, s2);
13501
13505
  const d2 = s2.toRGBA().toString();
13502
13506
  l2?.set(d2, s2);
13503
- }, BS = L.lazy(() => import("./DW9fZUq5TEVyK05B.mjs")), $S = z(N((e15, t2) => {
13507
+ }, BS = L.lazy(() => import("./cZHe3atogTKTMgvX.mjs")), $S = z(N((e15, t2) => {
13504
13508
  const { selectedColor: n2 = null, previewColor: o2 = e15.selectedColor ?? null, recentColors: r2, schemeLookup: l2, disableAlpha: a2 = false, previewDebounceTime: s2 = 100, initialPanelType: c2, defaultButtonSize: d2 = 24, width: u2, onElementLoad: h2, onDone: p2, onEyeDropStart: m2, onEyeDropStop: g2, onPreviewColor: f2, onPreviewColorImmediate: y2, onSelectColor: b2, autoColor: w2, autoColorLabel: x2 = "Automatic", autoColorPosition: C2 = IS.Start, compareRGB: E2 = false, darkMode: _2 = false, ...k2 } = e15, T2 = o2 || n2, M2 = Eo(f2, [f2]), L2 = Eo(y2, [y2]), z2 = Eo(b2, [b2]), P2 = Eo(m2, [m2]), H2 = Eo(g2, [g2]), [N2, B2] = O(false), $2 = ct(), W2 = V(() => l2 || i.getDefaultSchemeLookup(), [l2]), j2 = V(() => {
13505
13509
  const e16 = /* @__PURE__ */ new Map(), t3 = /* @__PURE__ */ new Map(), n3 = [];
13506
13510
  NS("Primary Background", "bg1", W2, n3, e16, t3), NS("Primary Text", "tx1", W2, n3, e16, t3), NS("Secondary Background", "bg2", W2, n3, e16, t3), NS("Secondary Text", "tx2", W2, n3, e16, t3), NS("Accent 1", "accent1", W2, n3, e16, t3), NS("Accent 2", "accent2", W2, n3, e16, t3), NS("Accent 3", "accent3", W2, n3, e16, t3), NS("Accent 4", "accent4", W2, n3, e16, t3), NS("Accent 5", "accent5", W2, n3, e16, t3), NS("Accent 6", "accent6", W2, n3, e16, t3);
@@ -13598,24 +13602,24 @@ const RS = z(N((e15, t2) => {
13598
13602
  }, children: "Done" })] })] });
13599
13603
  })), WS = R(ec, {}), jS = z(N((e15, t2) => {
13600
13604
  const { selectedColor: n2, quickColor: o2, icon: r2 = WS, tooltip: i2, label: l2, onPreviewColor: a2, onPreviewColorImmediate: s2, onSelectColor: c2, variant: d2 = Nh.Toolbar, panelProps: u2, shouldCloseFloatAll: h2 = true, compareRGB: p2 = false, darkMode: m2 = false, ...g2 } = e15, f2 = Eo(a2, [a2]), y2 = Eo(s2, [s2]), b2 = Eo(c2, [c2]), [w2, x2] = O(() => {
13601
- }), v2 = o2 || (w2 || n2) || u2?.autoColor, S2 = r2, C2 = P(false), E2 = F(() => {
13602
- }, []), _2 = Eo(() => {
13605
+ }), v2 = o2 || (w2 || n2) || u2?.autoColor, S2 = P(false), C2 = F(() => {
13606
+ }, []), E2 = Eo(() => {
13603
13607
  x2(n2);
13604
- }, [n2]), k2 = Eo((e16) => {
13605
- C2.current || (x2(e16), f2?.(e16));
13606
- }, [f2]), T2 = Eo((e16) => {
13607
- C2.current || (x2(e16), y2?.(e16));
13608
- }, [y2]), M2 = Eo((e16, t3) => {
13609
- C2.current || (x2(void 0), b2?.(e16, t3));
13610
- }, [b2]), D2 = V(() => R(J, { sx: { width: "24px", height: "24px", color: "inherit", "--sxl-color-active": `${v2?.toCSS(m2) ?? "transparent"}`, "& .activeColor": { fill: `${v2?.toCSS(m2) ?? "transparent"}` }, "& .style_grey": { fill: (e16) => e16.palette.text.icon ?? e16.palette.action.active } }, children: S2 }), [v2, S2, m2]), I2 = Eo((e16) => {
13608
+ }, [n2]), _2 = Eo((e16) => {
13609
+ S2.current || (x2(e16), f2?.(e16));
13610
+ }, [f2]), k2 = Eo((e16) => {
13611
+ S2.current || (x2(e16), y2?.(e16));
13612
+ }, [y2]), T2 = Eo((e16, t3) => {
13613
+ S2.current || (x2(void 0), b2?.(e16, t3));
13614
+ }, [b2]), M2 = V(() => R(J, { sx: { width: "24px", height: "24px", color: "inherit", "--sxl-color-active": `${v2?.toCSS(m2) ?? "transparent"}`, "& .activeColor": { fill: `${v2?.toCSS(m2) ?? "transparent"}` }, "& .style_grey": { fill: (e16) => e16.palette.text.icon ?? e16.palette.action.active } }, children: "function" == typeof r2 ? r2() : r2 }), [v2, r2, m2]), D2 = Eo((e16) => {
13611
13615
  b2?.(o2, false);
13612
- }, [b2, o2]), [L2, z2] = O(false), A2 = F((e16) => {
13616
+ }, [b2, o2]), [I2, L2] = O(false), z2 = F((e16) => {
13613
13617
  const { closeFloat: t3, closeFloatAll: o3 } = e16;
13614
13618
  return R($S, { ...u2, selectedColor: n2, previewColor: w2, onDone: h2 ? o3 : t3, onKeyDown: (e17) => {
13615
13619
  e17.which === vo.Enter && (h2 ? o3() : t3());
13616
- }, onPreviewColorImmediate: T2, onPreviewColor: k2, onSelectColor: M2, onEyeDropStart: () => z2(true), onEyeDropStop: () => z2(false), compareRGB: p2, darkMode: m2 });
13617
- }, [n2, w2, h2, v2, u2?.autoColor, m2]), H2 = { onQuickClick: o2 ? I2 : void 0, createPopupPanel: A2, popupProps: { popperProps: { resizeOnOverflow: false } }, onPopupOpen: _2, onPopupClose: E2, tooltip: i2 || l2 || "Color", label: l2, icon: D2, ...g2 };
13618
- return d2 === Nh.Toolbar ? R(bp, { ref: t2, ...H2 }) : R(xp, { ref: t2, ...H2 });
13620
+ }, onPreviewColorImmediate: k2, onPreviewColor: _2, onSelectColor: T2, onEyeDropStart: () => L2(true), onEyeDropStop: () => L2(false), compareRGB: p2, darkMode: m2 });
13621
+ }, [n2, w2, h2, v2, u2?.autoColor, m2]), A2 = { onQuickClick: o2 ? D2 : void 0, createPopupPanel: z2, popupProps: { popperProps: { resizeOnOverflow: false } }, onPopupOpen: E2, onPopupClose: C2, tooltip: i2 || l2 || "Color", label: l2, icon: M2, ...g2 };
13622
+ return d2 === Nh.Toolbar ? R(bp, { ref: t2, ...A2 }) : R(xp, { ref: t2, ...A2 });
13619
13623
  })), US = 82, ZS = (e15) => {
13620
13624
  const { styleColor: t2, length: n2 = US, width: o2 = 1, dashArray: r2 = null, sx: i2, isDouble: l2 = false, isAngled: a2 = false, darkMode: s2 = false, ...c2 } = e15;
13621
13625
  return R(te, { sx: { width: `${n2}px`, height: `${o2}px`, color: "inherit", overflow: "visible", "& .activeColor": { stroke: (e16) => `${t2 ? t2.toRGBA(s2).toString() : e16.palette.text.icon ?? e16.palette.action.active}` }, "& .style_grey": { stroke: (e16) => e16.palette.text.icon ?? e16.palette.action.active }, ...i2 }, height: o2, width: n2, viewBox: `0 0 ${n2} ${o2}`, ...c2, children: R(nv, { length: n2, width: o2, dashArray: r2, isDouble: l2, isAngled: a2, className: "activeColor" }) });
@@ -13682,14 +13686,14 @@ const RS = z(N((e15, t2) => {
13682
13686
  g2?.(C2);
13683
13687
  }, quickButtonProps: { sx: {} }, disabled: a2, icon: L2, ...m2 });
13684
13688
  })), KS = z(N((e15, t2) => {
13685
- const { commands: n2, command: o2, commandHook: r2, variant: i2 = $r.Toolbar, disabled: l2 = false, autoColor: a2, autoStrokeStyle: s2, schemeLookup: c2, createTemporaryBorder: d2, selectedBorder: u2, onSelectBorder: h2, darkMode: p2, ...m2 } = e15, g2 = Br(n2, ["formatBorder"]), f2 = o2 ?? g2[0], y2 = f2?.context() ?? null, b2 = y2?.autoColor ?? a2, w2 = y2?.autoStyle ?? s2, x2 = u2 ?? y2?.quickBorder, v2 = p2 ?? y2?.darkMode, S2 = d2 ?? y2?.createTemporaryBorder, C2 = c2 ?? y2?.schemeLookup, E2 = Eo((e16) => {
13686
- y2?.onBorderSelect && y2.onBorderSelect(e16), h2?.(e16), f2?.execute(e16, r2);
13687
- }, [f2, h2, r2]), _2 = F((e16, t3) => {
13689
+ const { commands: n2, command: o2, commandHook: r2, variant: i2 = $r.Toolbar, disabled: l2 = false, autoColor: a2, autoStrokeStyle: s2, schemeLookup: c2, createTemporaryBorder: d2, selectedBorder: u2, onSelectBorder: h2, darkMode: p2, icon: m2, label: g2, ...f2 } = e15, y2 = Br(n2, ["formatBorder"]), b2 = o2 ?? y2[0], w2 = b2?.context() ?? null, x2 = w2?.autoColor ?? a2, v2 = w2?.autoStyle ?? s2, S2 = u2 ?? w2?.quickBorder, C2 = p2 ?? w2?.darkMode, E2 = d2 ?? w2?.createTemporaryBorder, _2 = c2 ?? w2?.schemeLookup, k2 = Eo((e16) => {
13690
+ w2?.onBorderSelect && w2.onBorderSelect(e16), h2?.(e16), b2?.execute(e16, r2);
13691
+ }, [b2, h2, r2]), T2 = F((e16, t3) => {
13688
13692
  const { children: n3, title: o3, ...r3 } = e16;
13689
13693
  let a3 = e16.children;
13690
- return (f2?.disabled() || l2) && (a3 = R("div", { children: a3 })), R(Op, { command: f2, placement: i2 === $r.Toolbar ? "bottom-start" : "right-start", disabled: t3, ...r3, children: a3 });
13691
- }, [f2, l2]);
13692
- return R(GS, { ref: t2, autoColor: b2, darkMode: v2, autoStrokeStyle: w2, createTemporaryBorder: S2, schemeLookup: C2, selectedBorder: x2, onSelectBorder: E2, createTooltip: _2, disabled: l2 || !f2 || f2.disabled(), ...m2 });
13694
+ return (b2?.disabled() || l2) && (a3 = R("div", { children: a3 })), R(Op, { command: b2, placement: i2 === $r.Toolbar ? "bottom-start" : "right-start", disabled: t3, ...r3, children: a3 });
13695
+ }, [b2, l2]);
13696
+ return R(GS, { ref: t2, autoColor: x2, darkMode: C2, autoStrokeStyle: v2, createTemporaryBorder: E2, schemeLookup: _2, selectedBorder: S2, onSelectBorder: k2, createTooltip: T2, disabled: l2 || !b2 || b2.disabled(), ...f2 });
13693
13697
  })), XS = z(N((e15, t2) => {
13694
13698
  const { commands: n2, commandHook: o2, scope: r2, disabled: i2 = false, ...l2 } = e15, a2 = F((e16, t3) => {
13695
13699
  const n3 = { variant: $r.Menuitem, commandHook: o2, scope: r2, disabled: i2 }, l3 = D(I, { children: [R(Ap, { ...n3, command: t3.getCommand("mergeToggle"), icon: Xs(R(tc, {})) }), R(Ap, { ...n3, command: t3.getCommand("mergeHorizontal"), icon: Xs(R(nc, {})) }), R(Ap, { ...n3, command: t3.getCommand("mergeVertical"), icon: Xs(R(oc, {})) }), R(kh, { orientation: "horizontal" }), R(Ap, { ...n3, command: t3.getCommand("unmerge"), icon: Xs(R(rc, {})) })] });
@@ -13709,40 +13713,40 @@ const RS = z(N((e15, t2) => {
13709
13713
  }, [i2, o2, r2]);
13710
13714
  return R(Hp, { ref: t2, commands: n2, commandHook: o2, createPopupPanel: a2, label: "Find & Select", tooltip: "Find and replace cells or go to a specific location.", quickCommand: "find", icon: Xs(R(Lu, {})), ...l2 });
13711
13715
  })), QS = z(N((e15, t2) => {
13712
- const { command: n2, commandHook: r2, showQuickButtons: i2 = !!e15.commands, commands: l2, fontSizes: a2 = qx.DefaultFontSizes, disabled: s2 = false, parentFloat: c2, sx: d2, ...u2 } = e15;
13716
+ const { command: n2, commandHook: r2, showQuickButtons: i2 = !!e15.commands, commands: l2, fontSizes: a2 = qx.DefaultFontSizes, disabled: s2 = false, parentFloat: c2, icon: d2, label: u2, sx: h2, ...p2 } = e15;
13713
13717
  Vr(n2);
13714
- const h2 = () => n2?.state()?.toString() || "11", [p2, m2] = O(h2), g2 = Eo(() => {
13715
- const e16 = parseFloat(p2);
13716
- isNaN(e16) ? m2(h2()) : parseFloat(h2()) !== e16 && n2.execute(e16, r2);
13717
- }, [h2, n2, p2, r2]);
13718
+ const m2 = () => n2?.state()?.toString() || "11", [g2, f2] = O(m2), y2 = Eo(() => {
13719
+ const e16 = parseFloat(g2);
13720
+ isNaN(e16) ? f2(m2()) : parseFloat(m2()) !== e16 && n2.execute(e16, r2);
13721
+ }, [m2, n2, g2, r2]);
13718
13722
  A(() => {
13719
- m2(h2());
13723
+ f2(m2());
13720
13724
  }, [n2?.state()]);
13721
- const f2 = V(() => {
13725
+ const b2 = V(() => {
13722
13726
  if (!r2) return null;
13723
13727
  const e16 = { ...r2 };
13724
13728
  return delete e16.beforeExecute, e16;
13725
- }, [r2]), y2 = Br(l2, ["formatFontSizeIncrease", "formatFontSizeDecrease"]), b2 = V(() => y2 ? D(J, { className: X("quick-buttons", {}), sx: { display: "flex", alignItems: "center", justifyContent: "center" }, onClick: (e16) => e16.stopPropagation(), children: [R(Ap, { command: y2[0], commandHook: f2, icon: Xs(R(Xd, {})) }), R(Ap, { command: y2[1], icon: Xs(R(Yd, {})) })] }) : null, [y2]), w2 = ct(), x2 = V(() => `${o.getSharedMeasurer()("12.3", Math.round(w2.typography.fontSize), w2.typography.fontFamily).width}px`, [w2]), v2 = F((e16) => {
13729
+ }, [r2]), w2 = Br(l2, ["formatFontSizeIncrease", "formatFontSizeDecrease"]), x2 = V(() => w2 ? D(J, { className: X("quick-buttons", {}), sx: { display: "flex", alignItems: "center", justifyContent: "center" }, onClick: (e16) => e16.stopPropagation(), children: [R(Ap, { command: w2[0], commandHook: b2, icon: Xs(R(Xd, {})) }), R(Ap, { command: w2[1], icon: Xs(R(Yd, {})) })] }) : null, [w2]), v2 = ct(), S2 = V(() => `${o.getSharedMeasurer()("12.3", Math.round(v2.typography.fontSize), v2.typography.fontFamily).width}px`, [v2]), C2 = F((e16) => {
13726
13730
  const { onMouseDown: t3, onMouseUp: o2, ...r3 } = e16;
13727
- return R(Q, { component: "div", ...r3, disableRipple: true, children: R(ee, { inputMode: "numeric", disabled: s2 || !n2 || n2.disabled(), inputProps: { name: "font-input", autoComplete: "off", tabIndex: 0, type: "number", maxLength: 4, max: 409, min: 2 }, sx: { "&::before": { borderBottom: "1px solid transparent" }, "&:hover:not(.Mui-disabled):not(.Mui-focused):not(.Mui-error):before": { borderBottom: (e17) => `1px solid ${e17.palette.text.icon ?? e17.palette.action.active}` }, "&:hover:not(.Mui-disabled):not(.Mui-error):before": { borderBottom: (e17) => `1px solid ${e17.palette.error.main}` }, "::after": { borderBottom: (e17) => `1px solid ${e17.palette.primary.main}` }, paddingTop: "0px", paddingBottom: "0px", paddingLeft: "0px", paddingRight: "0px", fontSize: (e17) => `${Math.round(e17.typography.fontSize)}px`, width: x2, color: (e17) => e17.palette.text.secondary, input: { padding: "0 0", textAlign: "center", MozAppearance: "textfield", "&:hover:not(.Mui-disabled):not(.Mui-error)": { color: (e17) => e17.palette.text.primary }, "&:focus:not(.Mui-disabled):not(.Mui-error)": { color: (e17) => e17.palette.text.primary } }, "input::-webkit-inner-spin-button": { WebkitAppearance: "none", margin: "0" }, minHeight: "24px" }, value: p2, onFocus: (e17) => {
13731
+ return R(Q, { component: "div", ...r3, disableRipple: true, children: R(ee, { inputMode: "numeric", disabled: s2 || !n2 || n2.disabled(), inputProps: { name: "font-input", autoComplete: "off", tabIndex: 0, type: "number", maxLength: 4, max: 409, min: 2 }, sx: { "&::before": { borderBottom: "1px solid transparent" }, "&:hover:not(.Mui-disabled):not(.Mui-focused):not(.Mui-error):before": { borderBottom: (e17) => `1px solid ${e17.palette.text.icon ?? e17.palette.action.active}` }, "&:hover:not(.Mui-disabled):not(.Mui-error):before": { borderBottom: (e17) => `1px solid ${e17.palette.error.main}` }, "::after": { borderBottom: (e17) => `1px solid ${e17.palette.primary.main}` }, paddingTop: "0px", paddingBottom: "0px", paddingLeft: "0px", paddingRight: "0px", fontSize: (e17) => `${Math.round(e17.typography.fontSize)}px`, width: S2, color: (e17) => e17.palette.text.secondary, input: { padding: "0 0", textAlign: "center", MozAppearance: "textfield", "&:hover:not(.Mui-disabled):not(.Mui-error)": { color: (e17) => e17.palette.text.primary }, "&:focus:not(.Mui-disabled):not(.Mui-error)": { color: (e17) => e17.palette.text.primary } }, "input::-webkit-inner-spin-button": { WebkitAppearance: "none", margin: "0" }, minHeight: "24px" }, value: g2, onFocus: (e17) => {
13728
13732
  e17.target?.select();
13729
13733
  }, onKeyDown: (e17) => {
13730
- if (e17.which === vo.Enter) h2() !== p2 && (e17.stopPropagation(), e17.preventDefault(), g2());
13731
- else if (e17.which === vo.Escape) h2() !== p2 && (m2(h2()), setTimeout(() => {
13734
+ if (e17.which === vo.Enter) m2() !== g2 && (e17.stopPropagation(), e17.preventDefault(), y2());
13735
+ else if (e17.which === vo.Escape) m2() !== g2 && (f2(m2()), setTimeout(() => {
13732
13736
  e17.target?.select();
13733
13737
  }, 0), e17.stopPropagation(), e17.preventDefault());
13734
13738
  else {
13735
13739
  if (e17.key.match("[-]")) return e17.stopPropagation(), void e17.preventDefault();
13736
- if (e17.key.match("[0-9.]") && (p2 + e17.key).length > 4) return e17.stopPropagation(), void e17.preventDefault();
13740
+ if (e17.key.match("[0-9.]") && (g2 + e17.key).length > 4) return e17.stopPropagation(), void e17.preventDefault();
13737
13741
  if (e17.which === vo.Space) return void e17.preventDefault();
13738
13742
  }
13739
13743
  }, onBlur: () => {
13740
- g2();
13744
+ y2();
13741
13745
  }, onChange: (e17) => {
13742
13746
  if (e17.target.value.length > 4) return e17.stopPropagation(), void e17.preventDefault();
13743
- m2(e17.target.value);
13747
+ f2(e17.target.value);
13744
13748
  } }) });
13745
- }, [p2, s2, n2]), S2 = F((e16) => {
13749
+ }, [g2, s2, n2]), E2 = F((e16) => {
13746
13750
  const t3 = (e17) => {
13747
13751
  n2?.execute(e17, r2);
13748
13752
  }, o2 = n2?.state(), i3 = [];
@@ -13756,10 +13760,10 @@ const RS = z(N((e15, t2) => {
13756
13760
  n3.keyCode !== vo.Enter && n3.keyCode !== vo.Space || t3(a2[e17]);
13757
13761
  }, sx: { paddingTop: "4px", paddingBottom: "4px" }, children: R(J, { sx: { display: "flex", flex: "1 1 100%", justifyContent: "end" }, children: a2[e17] }) }, "fontSize-" + e17));
13758
13762
  }
13759
- const l3 = D(J, { sx: { display: "flex", flexDirection: "column", flex: "1 1 100%", overflow: "hidden" }, ...u2, children: [b2, R(kh, { orientation: "horizontal" }), R(J, { sx: { overflow: "auto", flex: "1 1 100%" }, children: i3 })] });
13763
+ const l3 = D(J, { sx: { display: "flex", flexDirection: "column", flex: "1 1 100%", overflow: "hidden" }, ...p2, children: [x2, R(kh, { orientation: "horizontal" }), R(J, { sx: { overflow: "auto", flex: "1 1 100%" }, children: i3 })] });
13760
13764
  return Bh({ ...e16, children: l3 });
13761
13765
  }, [s2, n2?.state(), r2]);
13762
- return R(bp, { ref: t2, sx: { ...d2 }, tabIndex: -1, outlined: true, disabled: s2, parentFloat: c2, createPopupPanel: S2, createTooltip: ({ children: e16 }, t3) => R(up, { label: n2?.label(), description: n2?.description(), disabled: t3 || n2?.disabled(), children: e16 }), createQuickButton: v2, ...u2 });
13766
+ return R(bp, { ref: t2, sx: { ...h2 }, tabIndex: -1, outlined: true, disabled: s2, parentFloat: c2, createPopupPanel: E2, createTooltip: ({ children: e16 }, t3) => R(up, { label: n2?.label(), description: n2?.description(), disabled: t3 || n2?.disabled(), children: e16 }), createQuickButton: C2, ...p2 });
13763
13767
  })), eC = z((e15) => {
13764
13768
  const { selected: t2, disabled: n2, formattedValue: o2, handleSetFormat: r2, format: i2, sx: l2, ...a2 } = e15;
13765
13769
  return R(fp, { sx: { maxWidth: "360px", display: "flex", "*": { lineHeight: "1.2" }, ...l2 }, disabled: n2, selected: t2, icon: t2 ? R(Sp, {}) : void 0, onMouseDown: (e16) => {
@@ -13927,17 +13931,17 @@ const aC = z(N((e15, t2) => {
13927
13931
  })), uC = C.getFontList(), hC = /* @__PURE__ */ new Map();
13928
13932
  for (let e15 = 0; e15 < uC.length; e15++) hC.set(uC[e15].fontRef.getFamily(), uC[e15]);
13929
13933
  const pC = z(N((e15, t2) => {
13930
- const { command: n2, commandHook: r2, sx: i2, disabled: l2 = false, parentFloat: a2, ...s2 } = e15;
13934
+ const { command: n2, commandHook: r2, sx: i2, disabled: l2 = false, parentFloat: a2, icon: s2, label: c2, ...d2 } = e15;
13931
13935
  Vr(n2);
13932
- const c2 = n2?.state(), d2 = ct(), u2 = V(() => `${o.getSharedMeasurer()("Times New Roman", Math.round(d2.typography.fontSize), d2.typography.fontFamily).width}px`, [d2]), h2 = F((e16) => {
13936
+ const u2 = n2?.state(), h2 = ct(), p2 = V(() => `${o.getSharedMeasurer()("Times New Roman", Math.round(h2.typography.fontSize), h2.typography.fontFamily).width}px`, [h2]), m2 = F((e16) => {
13933
13937
  const t3 = (e17) => {
13934
13938
  n2?.execute(e17, r2);
13935
13939
  }, o2 = [];
13936
13940
  for (let e17 = 0; e17 < uC.length; e17++) o2.push({ key: uC[e17].fontRef.getFamily(), description: uC[e17].fontRef.getFamily() });
13937
- hC.get(c2) || o2.unshift({ key: c2, description: c2 });
13941
+ hC.get(u2) || o2.unshift({ key: u2, description: u2 });
13938
13942
  const i3 = [];
13939
13943
  for (let e17 = 0; e17 < o2.length; e17++) {
13940
- const r3 = o2[e17].key === c2;
13944
+ const r3 = o2[e17].key === u2;
13941
13945
  i3.push(R(fp, { sx: { display: "flex", paddingTop: "4px", paddingBottom: "4px" }, selected: r3, disabled: l2 || !n2 || n2.disabled(), icon: r3 ? R(Sp, {}) : void 0, onMouseUp: (n3) => {
13942
13946
  0 === n3.button && t3(o2[e17].key);
13943
13947
  }, onMouseDown: (e18) => {
@@ -13946,10 +13950,10 @@ const pC = z(N((e15, t2) => {
13946
13950
  n3.keyCode !== vo.Enter && n3.keyCode !== vo.Space || t3(o2[e17].key);
13947
13951
  }, children: R(J, { sx: { display: "flex", flex: "1 1 100%", flexDirection: "column", overflow: "hidden" }, children: R(re, { component: "div", sx: { whiteSpace: "nowrap", overflow: "hidden", textOverflow: "ellipsis", fontFamily: () => o2[e17]?.key }, children: o2[e17].description }) }) }, e17 + "" + o2[e17].key));
13948
13952
  }
13949
- const a3 = R(J, { sx: { display: "flex", flexDirection: "column", flex: "1 1 100%" }, ...s2, children: R(J, { sx: { overflow: "auto", flex: "1 1 100%" }, children: i3 }) });
13953
+ const a3 = R(J, { sx: { display: "flex", flexDirection: "column", flex: "1 1 100%" }, ...d2, children: R(J, { sx: { overflow: "auto", flex: "1 1 100%" }, children: i3 }) });
13950
13954
  return Bh({ ...e16, children: a3 });
13951
13955
  }, [l2, n2?.state()]);
13952
- return R(bp, { ref: t2, sx: { ...i2 }, outlined: true, disabled: l2, parentFloat: a2, createPopupPanel: h2, createTooltip: ({ children: e16 }, t3) => R(up, { label: n2?.label(), description: n2?.description(), disabled: t3, children: e16 }), icon: R(J, { sx: { display: "flex", paddingLeft: "4px", paddingRight: "4px", fontSize: (e16) => `${Math.round(e16.typography.fontSize)}px`, fontFamily: (e16) => e16.typography.fontFamily, color: (e16) => e16.palette.text.secondary, width: u2 }, children: R(J, { sx: { overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "pre" }, children: c2 }) }), ...s2 });
13956
+ return R(bp, { ref: t2, sx: { ...i2 }, outlined: true, disabled: l2, parentFloat: a2, createPopupPanel: m2, createTooltip: ({ children: e16 }, t3) => R(up, { label: n2?.label(), description: n2?.description(), disabled: t3, children: e16 }), icon: R(J, { sx: { display: "flex", paddingLeft: "4px", paddingRight: "4px", fontSize: (e16) => `${Math.round(e16.typography.fontSize)}px`, fontFamily: (e16) => e16.typography.fontFamily, color: (e16) => e16.palette.text.secondary, width: p2 }, children: R(J, { sx: { overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "pre" }, children: u2 }) }), ...d2 });
13953
13957
  })), mC = z(N((e15, t2) => {
13954
13958
  const { commands: n2, commandHook: o2, scope: r2, disabled: i2 = false, ...l2 } = e15, a2 = Br(n2, ["formatStrikeThroughToggle", "formatSuperscriptToggle", "formatSubscriptToggle"]), s2 = V(() => {
13955
13959
  for (let e16 = 0; e16 < a2.length; e16++) if (a2[e16]?.state()) return a2[e16].key();
@@ -14234,19 +14238,19 @@ The heading font is '${t2.getFontScheme().getMajorFont()}'.` }), placement: "bot
14234
14238
  }, [n2, o2, r2, d2, c2]), m2 = { createPopupPanel: p2, tooltip: l2 || a2 || "Theme", label: a2, icon: h2, ...u2 };
14235
14239
  return s2 === Nh.Toolbar ? R(bp, { ref: t2, ...m2 }) : R(xp, { ref: t2, ...m2 });
14236
14240
  })), PC = z(N((e15, t2) => {
14237
- const { command: n2, commandHook: o2, selectedTheme: r2, onSelectTheme: i2, disabled: l2 = false, darkMode: a2, variant: s2, ...c2 } = e15;
14241
+ const { command: n2, commandHook: o2, selectedTheme: r2, onSelectTheme: i2, disabled: l2 = false, darkMode: a2, label: s2, icon: c2, variant: d2, ...u2 } = e15;
14238
14242
  Vr(n2);
14239
- const d2 = n2?.context()?.themes, u2 = r2 || n2?.context()?.theme, h2 = a2 ?? n2?.context()?.darkMode, p2 = Eo((e16) => {
14243
+ const h2 = n2?.context()?.themes, p2 = r2 || n2?.context()?.theme, m2 = a2 ?? n2?.context()?.darkMode, g2 = l2 || n2?.disabled(), f2 = Eo((e16) => {
14240
14244
  i2?.(e16), n2?.execute(e16, o2);
14241
- }, [i2, o2]), m2 = F((e16, t3) => {
14245
+ }, [i2, o2]), y2 = F((e16, t3) => {
14242
14246
  const { children: o3, title: r3, ...i3 } = e16;
14243
- let a3 = e16.children;
14244
- return (n2?.disabled() || l2) && (a3 = R("div", { children: a3 })), R(Op, { command: n2, placement: s2 === $r.Toolbar ? "bottom-start" : "right-start", disabled: t3, ...i3, children: a3 });
14245
- }, [n2, l2]);
14246
- return R(zC, { ref: t2, themes: d2, selectedTheme: u2, onSelectTheme: p2, variant: s2 === $r.Menuitem ? Nh.Menuitem : Nh.Toolbar, createTooltip: m2, disabled: l2, darkMode: h2, icon: Xs(R(bu, {})), ...c2 });
14247
+ let l3 = e16.children;
14248
+ return (g2 || t3) && (l3 = R("div", { children: l3 })), R(Op, { command: n2, placement: d2 === $r.Toolbar ? "bottom-start" : "right-start", disabled: g2 || t3, ...i3, children: l3 });
14249
+ }, [n2, g2]);
14250
+ return R(zC, { ref: t2, themes: h2, selectedTheme: p2, onSelectTheme: f2, variant: d2 === $r.Menuitem ? Nh.Menuitem : Nh.Toolbar, createTooltip: y2, disabled: g2, darkMode: m2, icon: Xs(R(bu, {})), ...u2 });
14247
14251
  })), OC = z(N((e15, t2) => {
14248
14252
  const { commands: n2, commandHook: o2, scope: r2, disabled: i2 = false, ...l2 } = e15, a2 = Br(n2, ["themeMode"])[0], s2 = a2?.state(), c2 = null !== a2?.state(), d2 = we("(prefers-color-scheme: dark)"), u2 = "dark" === s2 || null === s2 && d2, h2 = Eo((e16, t3) => {
14249
- const n3 = { variant: $r.Menuitem, commandHook: o2, scope: "appearance", disabled: i2 }, r3 = D(I, { children: [R(Ap, { ...n3, command: a2, icon: Xs(R(u2 ? Ne : Be, {})) }), R(Ap, { ...n3, command: t3.getCommand("defaultThemeMode"), icon: Xs(R(d2 ? Eu : _u, {})) }), R(kh, { orientation: "horizontal" }), R(Ap, { ...n3, command: t3.getCommand("forceLightGrid") }), R(Ap, { ...n3, command: t3.getCommand("forceLightImages") })] });
14253
+ const n3 = { variant: $r.Menuitem, commandHook: o2, scope: "appearance", disabled: i2 }, r3 = D(I, { children: [R(Ap, { ...n3, command: a2, icon: Xs(R(u2 ? Ne : Be, {})) }), R(Ap, { ...n3, command: t3.getCommand("defaultThemeMode"), icon: Xs(R(d2 ? Eu : _u, {})) }), R(kh, { orientation: "horizontal" }), R(Ap, { ...n3, command: t3.getCommand("enableDarkGrid") }), R(Ap, { ...n3, command: t3.getCommand("enableDarkImages") })] });
14250
14254
  return Bh({ ...e16, children: r3 });
14251
14255
  }, [i2, a2, o2, r2, d2, s2, c2]);
14252
14256
  return R(Hp, { ref: t2, quickCommand: "themeMode", commands: n2, commandHook: o2, createPopupPanel: h2, label: "Appearance", tooltip: "Change the light/dark mode to match your viewing preference. This does not affect the view for others.", onQuickClick: () => {
@@ -14416,24 +14420,24 @@ const jC = z(N((e15, t2) => {
14416
14420
  }));
14417
14421
  jC.displayName = "StatusBar";
14418
14422
  const UC = z(N((e15, t2) => {
14419
- const { disabled: n2, names: r2, workbook: i2, restoreFocus: l2, disabled: a2 = false, commandPopupButtonProps: s2, sx: c2, notifier: d2, ...u2 } = e15, [h2, p2] = O(null), [m2, g2] = O(() => i2.getSelectedRanges().getCoords()), [y2, b2] = O(false), { reference: w2 } = op({ parentFloat: s2?.parentFloat }), x2 = () => h2?.text ?? "", [v2, C2] = O(x2), E2 = Eo(() => {
14420
- if (w2?.closeAll(), !v2) {
14421
- const e17 = x2();
14422
- return C2(x2()), e17;
14423
- }
14424
- if (x2() === v2) return v2;
14425
- const e16 = v2.trim().toLowerCase();
14426
- if ("r" === e16 || "c" === e16) return v2;
14423
+ const { disabled: n2, names: r2, workbook: i2, restoreFocus: l2, readonly: a2 = false, disabled: s2 = false, commandPopupButtonProps: c2, sx: d2, notifier: u2, ...h2 } = e15, [p2, m2] = O(null), [g2, y2] = O(() => i2.getSelectedRanges().getCoords()), [b2, w2] = O(false), { reference: x2 } = op({ parentFloat: c2?.parentFloat }), [v2, C2] = O(() => a2 || !i2.getProtection().isStructureAllowed()), E2 = () => p2?.text ?? "", [_2, k2] = O(E2), T2 = Eo(() => {
14424
+ if (x2?.closeAll(), !_2) {
14425
+ const e17 = E2();
14426
+ return k2(E2()), e17;
14427
+ }
14428
+ if (E2() === _2) return _2;
14429
+ const e16 = _2.trim().toLowerCase();
14430
+ if ("r" === e16 || "c" === e16) return _2;
14427
14431
  try {
14428
- const e17 = i2.getRanges(v2);
14432
+ const e17 = i2.getRanges(_2);
14429
14433
  if (e17) return e17.toString();
14430
14434
  } catch (e17) {
14431
14435
  }
14432
- const t3 = r2.getByName(v2);
14433
- if (t3 && t3.getRanges()) return v2;
14436
+ const t3 = r2.getByName(_2);
14437
+ if (t3 && t3.getRanges()) return _2;
14434
14438
  let n3 = null;
14435
14439
  try {
14436
- const e17 = i2.getRanges(v2), t4 = e17.getCoords().map((e18) => ({ $colEnd: true, $rowEnd: true, $colStart: true, $rowStart: true, ...e18 }));
14440
+ const e17 = i2.getRanges(_2), t4 = e17.getCoords().map((e18) => ({ $colEnd: true, $rowEnd: true, $colStart: true, $rowStart: true, ...e18 }));
14437
14441
  n3 = i2.getRanges(t4);
14438
14442
  } catch (e17) {
14439
14443
  }
@@ -14442,17 +14446,17 @@ const UC = z(N((e15, t2) => {
14442
14446
  n3 = i2.getRanges(e17);
14443
14447
  }
14444
14448
  try {
14445
- let e17 = r2.getByName(v2);
14446
- e17 || (e17 = r2.addReference(v2, n3)), p2({ text: e17.getName() });
14449
+ let e17 = r2.getByName(_2);
14450
+ v2 || e17 || (e17 = r2.addReference(_2, n3)), e17 && m2({ text: e17.getName() });
14447
14451
  } catch (e17) {
14448
- C2(x2()), d2.showMessage?.(e17.message, { type: Ko.Error });
14452
+ k2(E2()), u2.showMessage?.(e17.message, { type: Ko.Error });
14449
14453
  }
14450
14454
  return null;
14451
- }, [v2, r2, w2]), _2 = Eo(() => {
14455
+ }, [_2, r2, x2, v2]), M2 = Eo(() => {
14452
14456
  if (i2.isClosed()) return;
14453
14457
  const e16 = [];
14454
- for (let t4 = 0; t4 < m2.length; t4++) {
14455
- const n4 = m2[t4];
14458
+ for (let t4 = 0; t4 < g2.length; t4++) {
14459
+ const n4 = g2[t4];
14456
14460
  e16.push({ $colEnd: true, $rowEnd: true, $colStart: true, $rowStart: true, ...n4 });
14457
14461
  }
14458
14462
  let t3 = null;
@@ -14461,75 +14465,77 @@ const UC = z(N((e15, t2) => {
14461
14465
  } catch (e17) {
14462
14466
  }
14463
14467
  let n3 = null;
14464
- n3 = t3?.length > 0 ? t3[0].getName() : i2.getSelectedSheet().getSelectedRange().toString(), p2({ text: n3 });
14465
- }, [i2, m2]), [k2, T2] = O(() => r2?.search() ?? null);
14468
+ n3 = t3?.length > 0 ? t3[0].getName() : i2.getSelectedSheet().getSelectedRange().toString(), m2({ text: n3 });
14469
+ }, [i2, g2]), [L2, z2] = O(() => r2?.search() ?? null);
14466
14470
  gv(r2, { onCollectionChange(e16) {
14467
- T2(r2.search()), _2();
14471
+ z2(r2.search()), M2();
14468
14472
  }, onClose(e16) {
14469
- T2([]);
14473
+ z2([]);
14470
14474
  } }), A(() => {
14471
- C2(x2());
14472
- }, [h2, m2]);
14473
- const [M2, L2] = O(i2?.getSelectedSheet());
14474
- gv(i2, { onSheetsChange: (e16) => {
14475
- L2(e16?.getSelectedSheet());
14475
+ k2(E2());
14476
+ }, [p2, g2]);
14477
+ const [H2, V2] = O(i2?.getSelectedSheet());
14478
+ gv(i2, { onProtectionChange: (e16) => {
14479
+ C2(a2 || !e16.getProtection().isStructureAllowed());
14480
+ }, onSheetsChange: (e16) => {
14481
+ V2(e16?.getSelectedSheet());
14476
14482
  }, onViewChange(e16) {
14477
- L2(e16?.getSelectedSheet());
14483
+ V2(e16?.getSelectedSheet());
14478
14484
  } });
14479
- const [z2, H2] = O(null), V2 = Eo(S.debounce(_2, z2 ? 320 : 0), []);
14480
- gv(M2.getSelection(), { onChange: () => {
14481
- g2((e16) => {
14485
+ const [N2, B2] = O(null), $2 = Eo(S.debounce(M2, N2 ? 320 : 0), []);
14486
+ gv(H2.getSelection(), { onChange: () => {
14487
+ y2((e16) => {
14482
14488
  const t3 = i2.getSelectedRanges().getCoords();
14483
14489
  return f.isEqualRangesArrays(t3, e16) ? e16 : t3;
14484
14490
  });
14485
14491
  }, onAdjustingChange: (e16) => {
14486
- H2(e16.getAdjusting());
14492
+ B2(e16.getAdjusting());
14487
14493
  } }), A(() => {
14488
- if (z2) {
14494
+ if (N2) {
14489
14495
  const e16 = i2.getSelectedRange(), t3 = e16.getRowCount(), n3 = e16.getColumnCount();
14490
14496
  let o2 = `${t3}R x ${n3}C`;
14491
- if (o2.length > 17 && (o2 = `${t3}x${n3}`), t3 > 1 || n3 > 1) return void p2({ text: o2, fontStyle: "italic", justifyContent: "center" });
14497
+ if (o2.length > 17 && (o2 = `${t3}x${n3}`), t3 > 1 || n3 > 1) return void m2({ text: o2, fontStyle: "italic", justifyContent: "center" });
14492
14498
  }
14493
- p2({ text: i2.getSelectedSheet().getSelectedRange().toString() }), V2();
14494
- }, [m2, i2, z2]);
14495
- const N2 = P(null), B2 = F((e16) => {
14499
+ m2({ text: i2.getSelectedSheet().getSelectedRange().toString() }), $2();
14500
+ }, [g2, i2, N2]);
14501
+ const j2 = P(null), U2 = F((e16) => {
14496
14502
  const { onMouseDown: t3, onMouseUp: n3, ...r3 } = e16;
14497
- return R(Q, { ...r3, sx: { ...r3?.sx, display: "flex", flex: "1 1 100%" }, disableRipple: true, children: R(ee, { inputMode: "text", inputProps: { tabIndex: 0, name: "input-named-range", maxLength: 255, className: "input", autoFocus: false, spellCheck: false, autoComplete: "off", ref: N2 }, sx: { "&::before": { borderBottom: "1px solid transparent" }, "&:hover:not(.Mui-disabled):not(.Mui-focused):not(.Mui-error):before": { borderBottom: (e17) => `1px solid ${e17.palette.text.icon ?? e17.palette.action.active}` }, "&:hover:not(.Mui-disabled):not(.Mui-error):before": { borderBottom: (e17) => `1px solid ${e17.palette.primary.main}` }, "::after": { borderBottom: (e17) => `1px solid ${e17.palette.primary.main}` }, paddingTop: "0px", paddingBottom: "0px", fontSize: 11 * o.getDeviceScale(), fontStyle: h2?.fontStyle, paddingLeft: (e17) => e17.spacing(0.75), paddingRight: (e17) => e17.spacing(0.75), boxShadow: "none", flex: "1", color: (e17) => e17.palette.text.secondary, input: { padding: "0", textAlign: "left", "&:hover:not(.Mui-disabled):not(.Mui-error)": { color: (e17) => e17.palette.text.primary }, "&:focus:not(.Mui-disabled):not(.Mui-error)": { color: (e17) => e17.palette.text.primary } } }, value: v2, onFocus: (e17) => {
14503
+ return R(Q, { ...r3, sx: { ...r3?.sx, display: "flex", flex: "1 1 100%" }, disableRipple: true, children: R(ee, { inputMode: "text", inputProps: { tabIndex: 0, name: "input-named-range", maxLength: 255, className: "input", autoFocus: false, spellCheck: false, autoComplete: "off", ref: j2 }, sx: { "&::before": { borderBottom: "1px solid transparent" }, "&:hover:not(.Mui-disabled):not(.Mui-focused):not(.Mui-error):before": { borderBottom: (e17) => `1px solid ${e17.palette.text.icon ?? e17.palette.action.active}` }, "&:hover:not(.Mui-disabled):not(.Mui-error):before": { borderBottom: (e17) => `1px solid ${e17.palette.primary.main}` }, "::after": { borderBottom: (e17) => `1px solid ${e17.palette.primary.main}` }, paddingTop: "0px", paddingBottom: "0px", fontSize: 11 * o.getDeviceScale(), fontStyle: p2?.fontStyle, paddingLeft: (e17) => e17.spacing(0.75), paddingRight: (e17) => e17.spacing(0.75), boxShadow: "none", flex: "1", color: (e17) => e17.palette.text.secondary, input: { padding: "0", textAlign: "left", "&:hover:not(.Mui-disabled):not(.Mui-error)": { color: (e17) => e17.palette.text.primary }, "&:focus:not(.Mui-disabled):not(.Mui-error)": { color: (e17) => e17.palette.text.primary } } }, value: _2, onFocus: (e17) => {
14498
14504
  e17.target?.select();
14499
14505
  }, onKeyDown: (e17) => {
14500
14506
  if (e17.which === vo.Enter || e17.which === vo.Tab) {
14501
- let t4 = v2;
14502
- x2() !== v2 && (e17.stopPropagation(), e17.preventDefault(), t4 = E2()), t4 ? $2(t4) : l2?.();
14503
- } else if (e17.which === vo.Escape) x2() !== v2 ? (C2(x2()), setTimeout(() => {
14507
+ let t4 = _2;
14508
+ E2() !== _2 && (e17.stopPropagation(), e17.preventDefault(), t4 = T2()), t4 ? Z2(t4) : l2?.();
14509
+ } else if (e17.which === vo.Escape) E2() !== _2 ? (k2(E2()), setTimeout(() => {
14504
14510
  e17.target?.select();
14505
14511
  }, 0), e17.stopPropagation(), e17.preventDefault()) : l2?.();
14506
14512
  else if (e17.which === vo.Space) return void e17.stopPropagation();
14507
14513
  }, onBlur: () => {
14508
- C2(x2());
14514
+ k2(E2());
14509
14515
  }, onChange: (e17) => {
14510
- C2(e17.target.value);
14516
+ k2(e17.target.value);
14511
14517
  } }) });
14512
- }, [v2, h2]), $2 = Eo(async (e16) => {
14518
+ }, [_2, p2]), Z2 = Eo(async (e16) => {
14513
14519
  try {
14514
- w2?.closeAll();
14520
+ x2?.closeAll();
14515
14521
  const t3 = r2.lookupByRanges(e16)?.[0];
14516
14522
  t3 && await t3?.select(), await i2.getRanges(e16)?.select();
14517
14523
  } catch (e17) {
14518
- d2.showMessage?.(e17.message, { type: Ko.Error });
14524
+ u2.showMessage?.(e17.message, { type: Ko.Error });
14519
14525
  }
14520
- }, [r2, d2, i2]), j2 = F((e16) => {
14526
+ }, [r2, u2, i2]), q2 = F((e16) => {
14521
14527
  setTimeout(() => {
14522
- b2(true);
14528
+ w2(true);
14523
14529
  }, 0);
14524
- const t3 = { variant: $r.Menuitem, parentFloat: e16.floatReference, commandHook: { ...s2?.commandHook, beforeExecute: (e17, t4) => (w2?.closeAll(), s2?.commandHook?.beforeExecute?.(e17, t4)) }, scope: s2?.scope, commands: s2?.commands };
14530
+ const t3 = { variant: $r.Menuitem, parentFloat: e16.floatReference, commandHook: { ...c2?.commandHook, beforeExecute: (e17, t4) => (x2?.closeAll(), c2?.commandHook?.beforeExecute?.(e17, t4)) }, scope: c2?.scope, commands: c2?.commands };
14525
14531
  let n3 = r2.search({ scope: i2?.getSelectedSheet().getName() });
14526
14532
  n3 = n3.sort((e17, t4) => e17.getType() === t4.getType() ? e17.getName().localeCompare(t4.getName()) : "range" === e17.getType() ? -1 : 1);
14527
- const o2 = [];
14528
- for (let e17 = 0; e17 < n3.length; e17++) {
14533
+ const o2 = v2 ? null : ["editNamedReference", "deleteNamedReference"], l3 = v2 ? null : ["editTable", null, "convertTableToRange", "deleteTable"], a3 = [], d3 = n3.length;
14534
+ for (let e17 = 0; e17 < d3; e17++) {
14529
14535
  const r3 = n3[e17], i3 = r3.getRanges();
14530
14536
  if (!i3 || r3.isHidden()) continue;
14531
- const l4 = r3.getType();
14532
- l4 !== n3[e17 - 1]?.getType() && (e17 > 0 && o2.push(R(kh, { orientation: "horizontal" }, `type-divider-${o2.length}`)), o2.push(R(yp, { variant: "subtitle2", sx: { paddingLeft: "16px" }, children: "reference" === r3.getType() ? "Ranges" : "Tables" }, `type-header-${o2.length}`))), "reference" === l4 ? o2.push(W($p, { ...t3, key: "named-" + o2.length, popupCommandKeys: ["editNamedReference", "deleteNamedReference"], popupScope: "namedItem", scope: "namedItem", commandState: r3, commands: s2?.commands, label: r3.getName(), quickCommand: "selectNamed", disabled: !r3.getRanges() || a2, icon: (e18) => {
14537
+ const d4 = r3.getType();
14538
+ d4 !== n3[e17 - 1]?.getType() && (e17 > 0 && a3.push(R(kh, { orientation: "horizontal" }, `type-divider-${a3.length}`)), a3.push(R(yp, { variant: "subtitle2", sx: { paddingLeft: "16px" }, children: "reference" === r3.getType() ? "Ranges" : "Tables" }, `type-header-${a3.length}`))), "reference" === d4 ? a3.push(W($p, { ...t3, key: "named-" + a3.length, popupCommandKeys: o2, popupScope: "namedItem", scope: "namedItem", commandState: r3, commands: c2?.commands, label: r3.getName(), quickCommand: "selectNamed", disabled: !r3.getRanges() || s2, icon: (e18) => {
14533
14539
  switch (e18.key()) {
14534
14540
  case "editNamedReference":
14535
14541
  return Xs(R(Uu, {}));
@@ -14538,17 +14544,17 @@ const UC = z(N((e15, t2) => {
14538
14544
  default:
14539
14545
  return Xs(R(Wu, {}));
14540
14546
  }
14541
- } })) : "table" === l4 && o2.push(W($p, { ...t3, key: "namedItem-" + o2.length, popupCommandKeys: ["editTable", null, "convertTableToRange", "deleteTable"], popupScope: "namedItem", scope: "namedItem", commands: s2?.commands, commandState: r3, label: r3.getName(), quickCommand: "selectNamed", disabled: !i3 || a2, icon: (e18) => {
14547
+ } })) : "table" === d4 && a3.push(W($p, { ...t3, key: "namedItem-" + a3.length, popupCommandKeys: l3, popupScope: "namedItem", scope: "namedItem", commands: c2?.commands, commandState: r3, label: r3.getName(), quickCommand: "selectNamed", disabled: !i3 || s2, icon: (e18) => {
14542
14548
  e18.key();
14543
14549
  return Xs(R(Nd, {}));
14544
14550
  } }));
14545
14551
  }
14546
- const l3 = D(J, { sx: { display: "flex", flexDirection: "column", flex: "1 1 100%", overflow: "hidden" }, ...u2, children: [R(Ap, { ...t3, scope: "namedItem", command: s2?.commands.getCommand("addNamedReference"), icon: Xs(R(ju, {})) }), o2 && o2.length > 0 ? D(I, { children: [R(kh, { orientation: "horizontal" }), R(J, { sx: { overflow: "auto", flex: "1 1 100%" }, children: o2 })] }) : null] });
14547
- return Bh({ ...e16, children: l3 });
14548
- }, [i2, k2, r2, h2]), U2 = Uo(t2, () => ({ focus(e16) {
14549
- N2.current?.focus(e16);
14552
+ const u3 = D(J, { sx: { display: "flex", flexDirection: "column", flex: "1 1 100%", overflow: "hidden" }, ...h2, children: [v2 ? null : R(Ap, { ...t3, scope: "namedItem", command: c2?.commands.getCommand("addNamedReference"), icon: Xs(R(ju, {})) }), a3 && a3.length > 0 ? D(I, { children: [v2 ? null : R(kh, { orientation: "horizontal" }), R(J, { sx: { overflow: "auto", flex: "1 1 100%" }, children: a3 })] }) : null] });
14553
+ return Bh({ ...e16, children: u3 });
14554
+ }, [i2, L2, r2, p2, v2]), G2 = Uo(t2, () => ({ focus(e16) {
14555
+ j2.current?.focus(e16);
14550
14556
  } }), []);
14551
- return R(J, { className: "outer", sx: { minWidth: 120, flex: "1 1 100%", display: "flex", alignItems: "center", justifyContent: "start", ...c2 }, ref: et([U2, t2]), ...u2, children: R(bp, { className: "outer-button", sx: { display: "flex", flex: "1 1 100%", "& .tooltip-wrapper": { display: "flex", flex: "1 1 100%", width: "100%", height: "27px" }, ...c2 }, buttonProps: { sx: { backgroundColor: (e16) => e16.palette.background.paper, backgroundImage: `linear-gradient(${ht("#fff", pt(5))}, ${ht("#fff", pt(5))})` } }, tabIndex: -1, outlined: { color: (e16) => n2 ? e16.palette.action.disabled : ht(e16.palette.divider, 0.2) }, parentFloat: w2, createPopupPanel: j2, onPopupOpen: () => b2(true), onPopupClose: () => b2(false), createTooltip: ({ children: e16 }, t3) => R(up, { title: t3 || y2 ? "" : "Name Box", disabled: t3, leaveDelay: 0, sx: { opacity: t3 || y2 ? 0 : 1 }, children: e16 }), createQuickButton: B2 }) });
14557
+ return R(J, { className: "outer", sx: { minWidth: 120, flex: "1 1 100%", display: "flex", alignItems: "center", justifyContent: "start", ...d2 }, ref: et([G2, t2]), ...h2, children: R(bp, { className: "outer-button", sx: { display: "flex", flex: "1 1 100%", "& .tooltip-wrapper": { display: "flex", flex: "1 1 100%", width: "100%", height: "27px" }, ...d2 }, buttonProps: { sx: { backgroundColor: (e16) => e16.palette.background.paper, backgroundImage: `linear-gradient(${ht("#fff", pt(5))}, ${ht("#fff", pt(5))})` } }, tabIndex: -1, outlined: { color: (e16) => n2 ? e16.palette.action.disabled : ht(e16.palette.divider, 0.2) }, parentFloat: x2, createPopupPanel: q2, onPopupOpen: () => w2(true), onPopupClose: () => w2(false), createTooltip: ({ children: e16 }, t3) => R(up, { title: t3 || b2 ? "" : "Name Box", disabled: t3, leaveDelay: 0, sx: { opacity: t3 || b2 ? 0 : 1 }, children: e16 }), createQuickButton: U2 }) });
14552
14558
  }));
14553
14559
  UC.displayName = "NamedCollectionEditor";
14554
14560
  const ZC = (e15, t2) => R(UC, { ref: t2, ...e15 }), qC = z(N((e15, t2) => {
@@ -14798,7 +14804,7 @@ const iE = z(N((e15, t2) => {
14798
14804
  return Bh({ ...e16, children: n3 });
14799
14805
  }, [y2]);
14800
14806
  return D(J, { className: "overflow-palette", sx: { display: "flex", flexDirection: "row", flex: "1 1 100%", width: "100%", maxWidth: "100%", ...o2 }, ref: et([l2, a2, t2]), ...i2, children: [R(J, { sx: { flexDirection: "row", display: "flex", maxWidth: "100%", flex: "1 1 100%" }, children: g2 ?? p2 }), R(J, { sx: { display: null !== y2 && 0 === y2.length ? "none" : "flex", flex: "1 1 0" }, children: R(bp, { createPopupPanel: x2, ref: c2, parentFloat: w2, createTooltip: ({ children: e16 }, t3) => R(up, { label: "More", description: "More toolbar options…", disabled: t3, children: e16 }), icon: R(Ks, { children: R(Ge, {}) }) }) })] });
14801
- })), lE = "https://unpkg.com/@sheetxl/scripting-templates/dist", aE = [{ key: "SheetXL", description: "SheetXL", mimeType: ".sxl", exts: ["sxl"], isDefault: true, handler: async (e15, t2) => (await import("./RPVynz_rpfz9lkAQ.mjs")).fromBufferJSON(e15, t2) }, { key: "CSV", description: "Comma Delimited", mimeType: "text/csv", exts: ["csv"], handler: async (e15, t2) => (await import("./BkzwNHPzd0DSf0FL.mjs")).fromBufferCSV(e15, t2) }, { key: "Excel", description: "Excel Workbook", mimeType: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", exts: ["xlsx", "xls", "xlsm"], handler: async (e15, t2) => (await import("./C2SG9zLSqOGo3vCR.mjs").then((e16) => e16.i)).fromBufferXLSX(e15, t2) }], sE = [{ key: "SheetXL", mimeType: "application/vnd.sheetxl.sheet", description: "SheetXL", ext: "sxl", isDefault: true, handler: async (e15, t2) => (await import("./RPVynz_rpfz9lkAQ.mjs")).toBufferJSON(e15, t2) }, { key: "CSV", mimeType: "text/csv", description: "Comma Delimited", ext: "csv", handler: async (e15, t2) => (await import("./BkzwNHPzd0DSf0FL.mjs")).toBufferCSV(e15, t2) }, { key: "Excel", mimeType: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", description: "Excel Workbook", ext: "xlsx", tags: ["SheetJS Pro"], handler: async (e15, t2) => (await import("./C2SG9zLSqOGo3vCR.mjs").then((e16) => e16.i)).toBufferXLSX(e15, t2) }];
14807
+ })), lE = "https://unpkg.com/@sheetxl/scripting-templates/dist", aE = [{ key: "SheetXL", description: "SheetXL", mimeType: ".sxl", exts: ["sxl"], isDefault: true, handler: async (e15, t2) => (await import("./BXF0I0KwKWFhkYfM.mjs")).fromBufferJSON(e15, t2) }, { key: "CSV", description: "Comma Delimited", mimeType: "text/csv", exts: ["csv"], handler: async (e15, t2) => (await import("./Dm3qRN9_dIcmeeTB.mjs")).fromBufferCSV(e15, t2) }, { key: "Excel", description: "Excel Workbook", mimeType: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", exts: ["xlsx", "xls", "xlsm"], handler: async (e15, t2) => (await import("./C74xiDKgQep36e0D.mjs").then((e16) => e16.i)).fromBufferXLSX(e15, t2) }], sE = [{ key: "SheetXL", mimeType: "application/vnd.sheetxl.sheet", description: "SheetXL", ext: "sxl", isDefault: true, handler: async (e15, t2) => (await import("./BXF0I0KwKWFhkYfM.mjs")).toBufferJSON(e15, t2) }, { key: "CSV", mimeType: "text/csv", description: "Comma Delimited", ext: "csv", handler: async (e15, t2) => (await import("./Dm3qRN9_dIcmeeTB.mjs")).toBufferCSV(e15, t2) }, { key: "Excel", mimeType: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", description: "Excel Workbook", ext: "xlsx", tags: ["SheetJS Pro"], handler: async (e15, t2) => (await import("./C74xiDKgQep36e0D.mjs").then((e16) => e16.i)).toBufferXLSX(e15, t2) }];
14802
14808
  class cE {
14803
14809
  constructor(e15 = aE, t2 = sE) {
14804
14810
  this._readFormatTypes = [], this._writeFormatType = [], this._readFormatTypes = Object.freeze([...e15]), this._writeFormatType = Object.freeze([...t2]);
@@ -14853,9 +14859,9 @@ class cE {
14853
14859
  }
14854
14860
  const r2 = o2.handler;
14855
14861
  if (!r2) throw new Error(`Unable to resolve handler for type: ${o2?.description ?? t2}.`);
14856
- const i2 = { ...n2, ...n2?.typedConstructorOptions?.[t2] };
14862
+ const i2 = { ...n2, ...n2?.typedCreateWorkbookOptions?.[t2] };
14857
14863
  let l2;
14858
- delete i2.typedConstructorOptions;
14864
+ delete i2.typedCreateWorkbookOptions;
14859
14865
  try {
14860
14866
  l2 = await r2(e15, i2);
14861
14867
  } catch (e16) {
@@ -14944,8 +14950,8 @@ class cE {
14944
14950
  e15?.name && (o2 = `${y.getBaseName(e15.name)}`);
14945
14951
  const r2 = this.getReadFormatTypeForExt(y.getFileNameExtension(e15?.name));
14946
14952
  if (!r2) throw new Error(`Unknown file type: ${y.getFileNameExtension(e15?.name) ?? e15?.name ?? "(empty)"}.`);
14947
- const i2 = await e15.arrayBuffer(), l2 = { ...t2, ...t2?.typedConstructorOptions?.[r2.key] };
14948
- delete l2.typedConstructorOptions;
14953
+ const i2 = await e15.arrayBuffer(), l2 = { ...t2, ...t2?.typedCreateWorkbookOptions?.[r2.key] };
14954
+ delete l2.typedCreateWorkbookOptions;
14949
14955
  const a2 = r2.handler;
14950
14956
  if (!a2) throw new Error(`Unable to resolve handler for type: ${r2?.description ?? y.getFileNameExtension(e15?.name) ?? e15?.name ?? "(empty)"}.`);
14951
14957
  await l2.onStart?.(o2);
@@ -15172,7 +15178,7 @@ const _E = z(N((e15, t2) => {
15172
15178
  const n3 = { variant: $r.Menuitem, commandHook: o2, scope: "scripts", disabled: i2, shortcut: null }, r3 = a2?.getScripts(), l3 = r3?.searchFunction({ type: "macro" }), s3 = [];
15173
15179
  if (l3) for (let e17 = 0; e17 < l3.length; e17++) {
15174
15180
  const o3 = l3[e17];
15175
- s3.push(R(Ap, { ...n3, command: t3.getCommand("executeScript"), commandState: { declaration: o3 }, tooltipProps: { description: `Execute ${o3.getName() ?? "script"}` }, icon: Xs(R(xh, {})), labelOverride: o3.getName() ?? `Script '${o3.getName()}'` }, `script-${o3.getName()}-${e17}`));
15181
+ s3.push(R(Ap, { ...n3, command: t3.getCommand("executeScript"), commandState: { declaration: o3 }, tooltipProps: { description: `Execute ${o3.getName() ?? "script"}` }, icon: Xs(R(xh, {})), label: o3.getName() ?? `Script '${o3.getName()}'` }, `script-${o3.getName()}-${e17}`));
15176
15182
  }
15177
15183
  const c2 = D(J, { sx: { display: "flex", flexDirection: "column", flex: "1 1 100%", overflow: "hidden" }, children: [s3.length > 0 ? D(I, { children: [R(J, { sx: { overflow: "auto", flex: "1 1 100%" }, children: s3 }), R(kh, { orientation: "horizontal" })] }) : null, W(Ap, { ...n3, key: "show-editor", command: t3.getCommand("showScriptEditor"), icon: Xs(R(dh, {})) })] });
15178
15184
  return Bh({ ...e16, children: c2 });
@@ -15257,33 +15263,33 @@ const _E = z(N((e15, t2) => {
15257
15263
  }, onProtectionChange: (e16) => {
15258
15264
  M2(e16?.getProtection());
15259
15265
  } });
15260
- const I2 = V(() => {
15266
+ const I2 = a2 || !T2.isStructureAllowed(), L2 = V(() => {
15261
15267
  const e16 = [];
15262
15268
  for (let t3 = 0; t3 < _2.length; t3++) e16.push(_2[t3].getName());
15263
15269
  return e16;
15264
- }, [_2]), L2 = F((e16) => {
15270
+ }, [_2]), z2 = F((e16) => {
15265
15271
  false !== r2?.(e16) && (n2.getSheetAt(e16).select(), i2?.(e16));
15266
- }, [n2, r2, i2]), z2 = F((e16, t3) => {
15272
+ }, [n2, r2, i2]), H2 = F((e16, t3) => {
15267
15273
  n2.getSheetAt(e16).setName(t3), i2?.(e16);
15268
- }, [n2, i2]), H2 = F((e16, t3) => {
15274
+ }, [n2, i2]), N2 = F((e16, t3) => {
15269
15275
  n2.getSheetAt(e16).setPosition(t3), i2?.(t3);
15270
- }, [n2, i2]), N2 = Eo(() => {
15276
+ }, [n2, i2]), B2 = Eo(() => {
15271
15277
  if (false === r2?.(C2)) return;
15272
15278
  const e16 = C2 + 1;
15273
15279
  n2.getSheets().add({ name: void 0, autoSelect: true }), i2?.(e16);
15274
- }, [n2, r2, i2, C2]), B2 = V(() => ({ placement: "top-start" }), []), $2 = P(null), [W2, j2] = O(false), U2 = F((e16) => {
15280
+ }, [n2, r2, i2, C2]), $2 = V(() => ({ placement: "top-start" }), []), W2 = P(null), [j2, U2] = O(false), Z2 = F((e16) => {
15275
15281
  const { closeFloatAll: t3, floatReference: o3 } = e16;
15276
15282
  return u2({ workbook: n2, gridStyle: v2, floatReference: o3, closeFloatAll: t3, ...d2 });
15277
- }, [u2, d2, l2, n2, v2]), { reference: Z2, component: q2 } = op({ label: "allSheet", popperProps: B2, anchor: $2.current, onOpen: () => j2(true), onClose: () => j2(false), createPopupPanel: U2 }), G2 = P(null), [K2, Y2] = O(null), ee2 = F((e16) => {
15283
+ }, [u2, d2, l2, n2, v2]), { reference: q2, component: G2 } = op({ label: "allSheet", popperProps: $2, anchor: W2.current, onOpen: () => U2(true), onClose: () => U2(false), createPopupPanel: Z2 }), K2 = P(null), [Y2, ee2] = O(null), te2 = F((e16) => {
15278
15284
  const { floatReference: t3 } = e16;
15279
- return c2?.({ workbook: n2, index: K2?.index, tabStripRef: G2.current, commands: o2, disabled: l2, floatReference: t3, ...s2 });
15280
- }, [c2, s2, l2, n2, o2, K2]), { reference: te2, component: ne2 } = op({ label: "sheetTab", popperProps: B2, anchor: { getBoundingClientRect: () => new DOMRect(K2?.left || 0, K2?.top || 0, 0, 0) }, onClose: () => Y2(null), createPopupPanel: ee2 });
15285
+ return c2?.({ workbook: n2, index: Y2?.index, tabStripRef: K2.current, commands: o2, disabled: l2, floatReference: t3, ...s2 });
15286
+ }, [c2, s2, l2, n2, o2, Y2]), { reference: ne2, component: oe2 } = op({ label: "sheetTab", popperProps: $2, anchor: { getBoundingClientRect: () => new DOMRect(Y2?.left || 0, Y2?.top || 0, 0, 0) }, onClose: () => ee2(null), createPopupPanel: te2 });
15281
15287
  A(() => {
15282
- K2 ? te2.open(0) : te2.close(0);
15283
- }, [K2]);
15284
- const oe2 = F((e16, t3) => {
15285
- e16.preventDefault(), Y2({ left: e16.clientX - 2, top: e16.clientY - 4, index: t3 });
15286
- }, []), re2 = Eo((e16) => {
15288
+ Y2 ? ne2.open(0) : ne2.close(0);
15289
+ }, [Y2]);
15290
+ const re2 = F((e16, t3) => {
15291
+ e16.preventDefault(), ee2({ left: e16.clientX - 2, top: e16.clientY - 4, index: t3 });
15292
+ }, []), ie2 = Eo((e16) => {
15287
15293
  let t3;
15288
15294
  try {
15289
15295
  t3 = n2?.getSheetAt(e16.index);
@@ -15291,23 +15297,23 @@ const _E = z(N((e15, t2) => {
15291
15297
  }
15292
15298
  if (!t3) return null;
15293
15299
  return (p2 ?? AE)({ sheet: t3, gridTheme: x2, onContextMenu: (t4) => {
15294
- L2(e16.index), oe2(t4, e16.index);
15300
+ z2(e16.index), re2(t4, e16.index);
15295
15301
  }, ...e16, ...h2 });
15296
- }, [p2, h2, n2, x2]), ie2 = V(() => a2 || !T2?.isStructureAllowed() ? null : R(ap, { disableInteractive: true, title: "New sheet", children: R(Q, { disabled: l2, component: "div", sx: { padding: "0", "&:hover:not([disabled])": { color: (e16) => e16.palette.primary.main }, color: (e16) => e16.palette.text.icon ?? e16.palette.action.active, "& svg": { width: "18px", height: "18px" } }, "aria-label": "addTab", size: "small", onMouseDown: (e16) => {
15302
+ }, [p2, h2, n2, x2]), le2 = V(() => I2 ? null : R(ap, { disableInteractive: true, title: "New sheet", children: R(Q, { disabled: l2, component: "div", sx: { padding: "0", "&:hover:not([disabled])": { color: (e16) => e16.palette.primary.main }, color: (e16) => e16.palette.text.icon ?? e16.palette.action.active, "& svg": { width: "18px", height: "18px" } }, "aria-label": "addTab", size: "small", onMouseDown: (e16) => {
15297
15303
  0 === e16.button && e16.preventDefault();
15298
- }, onClick: () => N2(), children: R(Xe, {}) }) }), [a2, l2, T2, N2]);
15299
- return D(J, { ref: t2, className: X(g2), sx: { position: "relative", display: "flex", alignItems: "stretch", flex: "1 1 100%", maxWidth: "100%", ...y2 }, ...S2, children: [R(bS, { ref: G2, selectedTabIndex: C2, tabNames: I2, onSelectedTabIndexChange: L2, onTabNameChange: z2, onTabMove: H2, background: m2, borderColor: w2, borderWidth: b2, activeColor: null, disabled: l2, disableDrag: a2 || !T2.isStructureAllowed(), createScrollStartButton: Eh, createScrollEndButton: _h, createScrollEdgeButton: Sh, createTabButton: re2, createTabDivider: (e16) => {
15304
+ }, onClick: () => B2(), children: R(Xe, {}) }) }), [l2, I2, B2]);
15305
+ return D(J, { ref: t2, className: X(g2), sx: { position: "relative", display: "flex", alignItems: "stretch", flex: "1 1 100%", maxWidth: "100%", ...y2 }, ...S2, children: [R(bS, { ref: K2, selectedTabIndex: C2, tabNames: L2, onSelectedTabIndexChange: z2, onTabNameChange: H2, onTabMove: N2, background: m2, borderColor: w2, borderWidth: b2, activeColor: null, disabled: l2, disableDrag: I2, createScrollStartButton: Eh, createScrollEndButton: _h, createScrollEdgeButton: Sh, createTabButton: ie2, createTabDivider: (e16) => {
15300
15306
  const { key: t3, ...n3 } = e16;
15301
15307
  return R(kh, { sx: { marginLeft: "-1px", marginRight: "0px", marginTop: "6px", marginBottom: "6px", background: (e17) => ht(e17.palette.divider, 0.25) }, ...n3 }, t3);
15302
- }, editLabelProps: { maxLength: 31, styleHover: { fontWeight: "700" }, onKeyPress: (e16) => {
15308
+ }, editLabelProps: { readOnly: I2, maxLength: 31, styleHover: { fontWeight: "700" }, onKeyPress: (e16) => {
15303
15309
  n2.isValidSheetNameCharacter(e16.key) || e16.preventDefault();
15304
15310
  }, onCancel: () => {
15305
15311
  i2?.(C2);
15306
- }, notifier: f2 }, children: R(ap, { disableInteractive: true, title: W2 ? "" : "List all sheets", children: R(mp, { sx: { padding: "0px", ml: 0.5, mr: 0, mt: 0, mb: 0, "& svg": { transform: "scale(0.8, 1)" }, color: (e16) => e16.palette.text.icon ?? e16.palette.action.active }, ref: $2, dense: true, outlined: false, selected: W2, color: "primary", "aria-label": "menu", onMouseDown: (e16) => {
15312
+ }, notifier: f2 }, children: R(ap, { disableInteractive: true, title: j2 ? "" : "List all sheets", children: R(mp, { sx: { padding: "0px", ml: 0.5, mr: 0, mt: 0, mb: 0, "& svg": { transform: "scale(0.8, 1)" }, color: (e16) => e16.palette.text.icon ?? e16.palette.action.active }, ref: W2, dense: true, outlined: false, selected: j2, color: "primary", "aria-label": "menu", onMouseDown: (e16) => {
15307
15313
  0 === e16.button && e16.preventDefault();
15308
15314
  }, onClick: () => {
15309
- W2 ? Z2.close(0) : Z2.open(0);
15310
- }, icon: R(Ye, {}) }) }) }), R("div", { style: { borderTop: `solid ${w2} ${b2}px`, minWidth: "4px" } }), R("div", { style: { borderTop: `solid ${w2} ${b2}px`, flex: "none", display: "flex", alignItems: "center" }, children: ie2 }), R("div", { style: { borderTop: `solid ${w2} ${b2}px`, flex: 1, minWidth: "24px" } }), ne2, q2] });
15315
+ j2 ? q2.close(0) : q2.open(0);
15316
+ }, icon: R(Ye, {}) }) }) }), R("div", { style: { borderTop: `solid ${w2} ${b2}px`, minWidth: "4px" } }), R("div", { style: { borderTop: `solid ${w2} ${b2}px`, flex: "none", display: "flex", alignItems: "center" }, children: le2 }), R("div", { style: { borderTop: `solid ${w2} ${b2}px`, flex: 1, minWidth: "24px" } }), oe2, G2] });
15311
15317
  }));
15312
15318
  FE.displayName = "WorkbookStrip";
15313
15319
  const HE = z(N((e15, t2) => {
@@ -15388,7 +15394,7 @@ const VE = (e15) => {
15388
15394
  } catch (e18) {
15389
15395
  }
15390
15396
  return null;
15391
- }, getScripts: () => t2.getScripts(), isReadonly: () => false === t2.getProtection().isStructureAllowed() };
15397
+ }, getScripts: () => t2.getScripts(), isReadOnly: () => false === t2.getProtection().isStructureAllowed() };
15392
15398
  i3.update({ context: l3 });
15393
15399
  }, [f2, t2, n2, o2]), x2 = L.useRef(null);
15394
15400
  gv(t2, { onBeforeSave: async () => {
@@ -15405,7 +15411,7 @@ const VE = (e15) => {
15405
15411
  d2(e16?.getSelectedSheet());
15406
15412
  }, onProtectionChange: (e16) => {
15407
15413
  const t3 = { disabled: !e16.getProtection().isStructureAllowed() };
15408
- f2.getCommand("hideSheet").update(t3), f2.getCommand("deleteSheet").update(t3), f2.getCommand("addSheet").update(t3), f2.getCommand("duplicateSheet").update(t3);
15414
+ f2.getCommand("hideSheet").update(t3), f2.getCommand("deleteSheet").update(t3), f2.getCommand("addSheet").update(t3), f2.getCommand("duplicateSheet").update(t3), f2.getCommand("selectTheme").update(t3), f2.getCommand("addNamedReference").update(t3), f2.getCommand("editNamedReference").update(t3), f2.getCommand("deleteNamedReference").update(t3);
15409
15415
  }, onScriptsChange: (e16) => {
15410
15416
  w2();
15411
15417
  } });
@@ -15638,7 +15644,7 @@ const VE = (e15) => {
15638
15644
  }));
15639
15645
  BE.displayName = "MovableContextMenu";
15640
15646
  const $E = "_sheetxl-theme_4opcr_2", WE = "_sheetxl-workbook_1j3lu_5", jE = { fireOnModelChange: false }, UE = { flex: "1 1 100%", display: "flex" }, ZE = (e15) => R(jC, { ...e15 }), qE = (e15) => R(FE, { ...e15 }), GE = (e15) => R(BE, { ...e15 }), KE = (e15) => R(HE, { ...e15 }), XE = (e15) => R(GC, { ...e15 }), YE = (e15, t2) => R(qC, { ref: t2, ...e15 }), JE = (e15) => R(Dh, { ...e15 }), QE = (e15, t2) => R(tS, { ref: t2, ...e15 }), e_ = z(N((e15, t2) => {
15641
- const { workbook: n2, createWorkbookOptions: o2, onNewWorkbook: r2, onElementLoad: i2, notifier: l2, autoFocus: a2 = false, sx: s2, style: c2, className: d2, onFocus: u2, onBlur: h2, onKeyDown: p2, onRepeatCommandChange: m2, commands: g2, showFormulaBar: f2, formulaBarProps: y2, renderFormulaBar: b2 = YE, showTabs: w2, tabsProps: x2, renderTabs: v2 = qE, showStatusBar: C2, statusBarProps: E2, renderStatusBar: _2 = ZE, toolbarProps: k2, renderToolbar: z2 = RE, contextMenuSx: N2, renderContextMenu: B2 = KE, renderFilterMenu: W2 = XE, renderMovableMenu: j2 = GE, renderLoadingPanel: U2 = JE, loadingPanelProps: Z2, sheetProps: q2, renderSheet: G2 = QE, showHorizontalScrollbar: K2, showVerticalScrollbar: Y2, gridTheme: Q2, headersTheme: ee2, forceLightImages: te2, ...ne2 } = e15, oe2 = ct(), le2 = vS(), ae2 = V(() => {
15647
+ const { workbook: n2, createWorkbookOptions: o2, onNewWorkbook: r2, onElementLoad: i2, notifier: l2, autoFocus: a2 = false, sx: s2, style: c2, className: d2, onFocus: u2, onBlur: h2, onKeyDown: p2, onRepeatCommandChange: m2, commands: g2, showFormulaBar: f2, formulaBarProps: y2, renderFormulaBar: b2 = YE, showTabs: w2, tabsProps: x2, renderTabs: v2 = qE, showStatusBar: C2, statusBarProps: E2, renderStatusBar: _2 = ZE, toolbarProps: k2, renderToolbar: z2 = RE, contextMenuSx: N2, renderContextMenu: B2 = KE, renderFilterMenu: W2 = XE, renderMovableMenu: j2 = GE, renderLoadingPanel: U2 = JE, loadingPanelProps: Z2, sheetProps: q2, renderSheet: G2 = QE, showHorizontalScrollbar: K2, showVerticalScrollbar: Y2, gridTheme: Q2, headersTheme: ee2, enableDarkImages: te2, ...ne2 } = e15, oe2 = ct(), le2 = vS(), ae2 = V(() => {
15642
15648
  const e16 = { theme: le2.getDefaultTheme(), ...o2 };
15643
15649
  return n2 ?? new T(e16);
15644
15650
  }, [n2]), se2 = P(null), [ce2, de2] = O(false), ue2 = P(null), he2 = V(() => R(J, { className: "sheetxl-viewport", sx: { width: "100%", height: "100%", boxSizing: "border-box", position: "absolute", pointerEvents: "none !important", "& > :first-of-type": { position: "relative" } }, ref: ue2 }), []), [pe2, me2] = O(false), [ge2, fe2] = O(false), ye2 = F(() => {
@@ -15765,7 +15771,7 @@ const $E = "_sheetxl-theme_4opcr_2", WE = "_sheetxl-workbook_1j3lu_5", jE = { fi
15765
15771
  Ve2?.getCommand("insertImageFromFile")?.execute({ file: t3, options: { bounds: { x: r3.x, y: r3.y } }, goto: { range: { ...i3 } } });
15766
15772
  } else Ve2?.getCommand("openWorkbook")?.execute(t3);
15767
15773
  }
15768
- }, [Ve2, Dt2]), Pt2 = V(() => Dt2 ? R(J, { sx: { position: "absolute", width: "100%", height: "100%", boxSizing: "border-box", pointerEvents: "none", display: "flex", justifyContent: "center", alignItems: "center", background: (e16) => e16.palette.divider, color: (e16) => e16.palette.primary.dark }, children: R(re, { variant: "h4", children: Dt2 }) }) : null, [Dt2]), Ot2 = P(null), At2 = V(() => R(St, { in: !ge2, nodeRef: Ot2, timeout: 500, classNames: "animating", unmountOnExit: true, children: U2({ ref: Ot2, transitionDelay: "0", transparentBackground: false, sx: { opacity: ge2 ? 0 : s2?.opacity, pointerEvents: ge2 ? "none" : s2?.pointerEvents, position: "absolute", left: "0px", top: "0px", width: "100%", height: "100%", ...Z2 } }) }), [ge2, U2, Z2]), Ft2 = V(() => b2({ sx: { marginTop: (e16) => e16.spacing(0.25), marginLeft: (e16) => e16.spacing(1), marginRight: (e16) => e16.spacing(1) }, workbook: ae2, sheetElement: se2.current, gridStyle: Ie2, onFocus: Mt2, ...y2, NamedCollectionEditorProps: { restoreFocus: (e16) => se2.current.focus(e16), notifier: l2, ...y2?.NamedCollectionEditorProps, commandPopupButtonProps: { commands: Ve2, ...y2?.NamedCollectionEditorProps?.commandPopupButtonProps } } }, be2), [b2, y2, ae2, Ie2, Ve2, ge2]), Ht2 = F((e16) => {
15774
+ }, [Ve2, Dt2]), Pt2 = V(() => Dt2 ? R(J, { sx: { position: "absolute", width: "100%", height: "100%", boxSizing: "border-box", pointerEvents: "none", display: "flex", justifyContent: "center", alignItems: "center", background: (e16) => e16.palette.divider, color: (e16) => e16.palette.primary.dark }, children: R(re, { variant: "h4", children: Dt2 }) }) : null, [Dt2]), Ot2 = P(null), At2 = V(() => R(St, { in: !ge2, nodeRef: Ot2, timeout: 500, classNames: "animating", unmountOnExit: true, children: R(J, { style: { display: "flex", alignItems: "center", justifyContent: "center", left: "0px", top: "0px", width: "100%", height: "100%", pointerEvents: ge2 ? "none" : s2?.pointerEvents, position: "absolute", boxSizing: "border-box" }, children: U2({ ref: Ot2, transitionDelay: "0", transparentBackground: false, sx: { opacity: ge2 ? 0 : s2?.opacity, pointerEvents: ge2 ? "none" : s2?.pointerEvents, position: "absolute", left: "0px", top: "0px", width: "100%", height: "100%", ...Z2 } }) }) }), [ge2, U2, Z2]), Ft2 = V(() => b2({ sx: { marginTop: (e16) => e16.spacing(0.25), marginLeft: (e16) => e16.spacing(1), marginRight: (e16) => e16.spacing(1) }, workbook: ae2, sheetElement: se2.current, gridStyle: Ie2, onFocus: Mt2, ...y2, NamedCollectionEditorProps: { restoreFocus: (e16) => se2.current.focus(e16), notifier: l2, ...y2?.NamedCollectionEditorProps, commandPopupButtonProps: { commands: Ve2, ...y2?.NamedCollectionEditorProps?.commandPopupButtonProps } } }, be2), [b2, y2, ae2, Ie2, Ve2, ge2]), Ht2 = F((e16) => {
15769
15775
  const { movable: t3, ...n3 } = e16, o3 = { movable: t3, onContextMenuCapture: (e17) => {
15770
15776
  Et2(e17, t3);
15771
15777
  }, ...n3 }, r3 = t3.getContent().getType();
@@ -15818,7 +15824,7 @@ const $E = "_sheetxl-theme_4opcr_2", WE = "_sheetxl-workbook_1j3lu_5", jE = { fi
15818
15824
  const t3 = new Image();
15819
15825
  t3.src = e16.target.src, e16.dataTransfer.setDragImage(t3, 1, 1);
15820
15826
  }
15821
- }, onDragEnter: Lt2, onDragLeave: Lt2, onDragOver: Lt2, onDrop: zt2, children: [D("div", { className: X(SC), style: { flex: "1 1 100%", display: "flex", flexDirection: "column", opacity: ge2 ? void 0 : 0, "--sxl-app-color-high-contrast": oe2.palette.primary.main, "--sxl-app-color-primary": oe2.palette.primary.main, "--sxl-app-color-primary-dark": oe2.palette.primary.dark, "--sxl-app-color-primary-light": oe2.palette.primary.light, "--sxl-app-color-info": oe2.palette.info.main, "--sxl-app-color-info-dark": oe2.palette.info.dark, "--sxl-app-color-info-light": oe2.palette.info.light, "--sxl-app-color-secondary": oe2.palette.secondary.main, "--sxl-app-color-secondary-dark": oe2.palette.secondary.dark, "--sxl-app-color-secondary-light": oe2.palette.secondary.light, "--sxl-app-color-success": oe2.palette.success.main, "--sxl-app-color-success-dark": oe2.palette.success.dark, "--sxl-app-color-success-light": oe2.palette.success.light, "--sxl-app-color-warning": oe2.palette.warning.main, "--sxl-app-color-warning-dark": oe2.palette.warning.dark, "--sxl-app-color-warning-light": oe2.palette.warning.light, "--sxl-app-color-error": oe2.palette.error.main, "--sxl-app-color-error-dark": oe2.palette.error.dark, "--sxl-app-color-error-light": oe2.palette.error.light, "--sxl-app-color-text": oe2.palette.text.primary, "--sxl-app-color-text-secondary": oe2.palette.text.secondary, "--sxl-app-color-text-disabled": oe2.palette.text.disabled, "--sxl-app-color-background": oe2.palette.background.paper, "--sxl-app-color-button-surface": oe2.palette.grey[600], "--sxl-app-color-shadow": oe2.palette.action.focus, "--sxl-app-color-grey": oe2.palette.grey[500], "--sxl-app-filter-dark-invert": Ie2.body.darkMode && !te2 ? "hue-rotate(180deg) invert(1) brightness(95%)" : "none", "--sxl-app-image-background": Ie2.body.darkMode ? `linear-gradient(${ht("#fff", pt(5))}, ${ht("#fff", pt(5))})` : void 0 }, children: [at2, nt2 ? Ft2 : null, R(J, { sx: { marginBottom: (e16) => e16.spacing(0.75) } }), Bt2, lt2, R(ap, { arrow: true, disableInteractive: true, open: Be2, title: R(re, { variant: "subtitle2", component: "div", children: We2 }), placement: Ue2, TransitionProps: { timeout: { exit: 0 } }, PopperProps: { popperRef: Ne2, sx: { "& .MuiTooltip-tooltip": { padding: "2px 6px", "& .MuiTooltip-arrow": { display: Be2 ? "visible" : "none" } } }, anchorEl: { getBoundingClientRect: () => new DOMRect(qe2.x, qe2.y, qe2.width, qe2.height) }, modifiers: [{ name: "offset", options: { offset: [0, 0] } }] }, children: R(J, {}) }), xt2, Pt2] }), At2] });
15827
+ }, onDragEnter: Lt2, onDragLeave: Lt2, onDragOver: Lt2, onDrop: zt2, children: [D("div", { className: X(SC), style: { flex: "1 1 100%", display: "flex", flexDirection: "column", opacity: ge2 ? void 0 : 0, "--sxl-app-color-high-contrast": oe2.palette.primary.main, "--sxl-app-color-primary": oe2.palette.primary.main, "--sxl-app-color-primary-dark": oe2.palette.primary.dark, "--sxl-app-color-primary-light": oe2.palette.primary.light, "--sxl-app-color-info": oe2.palette.info.main, "--sxl-app-color-info-dark": oe2.palette.info.dark, "--sxl-app-color-info-light": oe2.palette.info.light, "--sxl-app-color-secondary": oe2.palette.secondary.main, "--sxl-app-color-secondary-dark": oe2.palette.secondary.dark, "--sxl-app-color-secondary-light": oe2.palette.secondary.light, "--sxl-app-color-success": oe2.palette.success.main, "--sxl-app-color-success-dark": oe2.palette.success.dark, "--sxl-app-color-success-light": oe2.palette.success.light, "--sxl-app-color-warning": oe2.palette.warning.main, "--sxl-app-color-warning-dark": oe2.palette.warning.dark, "--sxl-app-color-warning-light": oe2.palette.warning.light, "--sxl-app-color-error": oe2.palette.error.main, "--sxl-app-color-error-dark": oe2.palette.error.dark, "--sxl-app-color-error-light": oe2.palette.error.light, "--sxl-app-color-text": oe2.palette.text.primary, "--sxl-app-color-text-secondary": oe2.palette.text.secondary, "--sxl-app-color-text-disabled": oe2.palette.text.disabled, "--sxl-app-color-background": oe2.palette.background.paper, "--sxl-app-color-button-surface": oe2.palette.grey[600], "--sxl-app-color-shadow": oe2.palette.action.focus, "--sxl-app-color-grey": oe2.palette.grey[500], "--sxl-app-filter-dark-invert": Ie2.body.darkMode && te2 ? "hue-rotate(180deg) invert(1) brightness(95%)" : "none", "--sxl-app-image-background": Ie2.body.darkMode ? `linear-gradient(${ht("#fff", pt(5))}, ${ht("#fff", pt(5))})` : void 0 }, children: [at2, nt2 ? Ft2 : null, R(J, { sx: { marginBottom: (e16) => e16.spacing(0.75) } }), Bt2, lt2, R(ap, { arrow: true, disableInteractive: true, open: Be2, title: R(re, { variant: "subtitle2", component: "div", children: We2 }), placement: Ue2, TransitionProps: { timeout: { exit: 0 } }, PopperProps: { popperRef: Ne2, sx: { "& .MuiTooltip-tooltip": { padding: "2px 6px", "& .MuiTooltip-arrow": { display: Be2 ? "visible" : "none" } } }, anchorEl: { getBoundingClientRect: () => new DOMRect(qe2.x, qe2.y, qe2.width, qe2.height) }, modifiers: [{ name: "offset", options: { offset: [0, 0] } }] }, children: R(J, {}) }), xt2, Pt2] }), At2] });
15822
15828
  }));
15823
15829
  e_.displayName = "WorkbookElement";
15824
15830
  const t_ = (e15 = false, t2 = false) => t2 ? null : { "& input:not(:focus):not(:hover)": { color: (e16) => e16.palette.text.secondary }, backgroundColor: (e16) => ht(e16.palette.background.paper, 0.6), borderRadius: (e16) => `${e16.shape.borderRadius}px`, border: (t3) => `solid ${e15 ? t3.palette.divider : "transparent"} 1px`, "&.Mui-disabled": { border: (t3) => `solid ${e15 ? t3.palette.divider : "transparent"} 1px` }, "&:focus-within:not([disabled])": { backgroundColor: (e16) => e16.palette.background.paper }, "&:hover:not([disabled])": { border: (t3) => `solid ${e15 ? t3.palette.text?.primary : t3.palette.divider} 1px`, backgroundColor: null }, "&.Mui-focusVisible": { outline: (e16) => `solid ${e16.palette.primary.main} 1px !important`, border: (e16) => `1px solid ${e16.palette?.primary?.main} !important` } }, n_ = z(N((e15, t2) => {
@@ -15849,11 +15855,14 @@ const t_ = (e15 = false, t2 = false) => t2 ? null : { "& input:not(:focus):not(:
15849
15855
  }, value: m2 }), R(J, { ref: b2, sx: { position: "absolute", visibility: "hidden", top: "-9999px", fontWeight: "600 !important", whiteSpace: "pre", fontStyle: m2 !== f2 ? "italic" : void 0, fontFamily: (e16) => e16.typography.fontFamily, letterSpacing: "0.00938em" }, children: m2 || i2 })] }) }) });
15850
15856
  }));
15851
15857
  n_.displayName = "WorkbookTitle";
15852
- const o_ = L.lazy(() => import("./BlIGyiGNQyArtF2L.mjs")), r_ = z(N((e15, t2) => {
15853
- const { sx: n2, style: o2, className: r2, licenseKey: i2, ...l2 } = e15;
15854
- return i2 && a.setLicenseKey(i2), R(I, { children: R(o_, { ...l2, className: r2, sx: n2, style: o2, ref: t2 }) });
15858
+ const o_ = L.lazy(() => import("./DBDh50h4q3jgV4kn.mjs")), r_ = z(N((e15, t2) => {
15859
+ const { sx: n2, style: o2, className: r2, licenseKey: i2, renderLoadingPanel: l2, ...s2 } = e15;
15860
+ return i2 && a.setLicenseKey(i2), V(() => {
15861
+ const e16 = { transitionDelay: "160ms", transparentBackground: true };
15862
+ return R(J, { sx: n2, style: { display: "flex", alignItems: "center", justifyContent: "center", ...o2 }, children: l2?.(e16) ?? R(Dh, { ...e16 }) });
15863
+ }, [n2, o2, l2]), R(I, { children: R(o_, { ...s2, className: r2, sx: n2, renderLoadingPanel: l2, style: o2, ref: t2 }) });
15855
15864
  }));
15856
- r_.displayName = "StandaloneWorkbook";
15865
+ r_.displayName = "Studio";
15857
15866
  const i_ = [{ key: "SheetXL", description: "SheetXL", mimeType: ".sxl", exts: ["sxl"], handler: null, isDefault: true }, { key: "CSV", description: "Comma Delimited", mimeType: "text/csv", exts: ["csv"], handler: null }, { key: "Excel", description: "Excel Workbook", mimeType: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", exts: ["xlsx", "xls", "xlsm"], handler: null }], l_ = [{ key: "SheetXL", mimeType: "application/vnd.sheetxl.sheet", description: "SheetXL", ext: "sxl", handler: null, isDefault: true }, { key: "CSV", mimeType: "text/csv", description: "Comma Delimited", ext: "csv", handler: null }, { key: "Excel", mimeType: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", description: "Excel Workbook", ext: "xlsx", tags: ["SheetJS Pro"], handler: null }];
15858
15867
  class a_ {
15859
15868
  constructor(e15 = i_, t2 = l_) {
@@ -15964,8 +15973,8 @@ export {
15964
15973
  WC as SheetZoomScale,
15965
15974
  JC as SheetsAllMenu,
15966
15975
  sC as SortFilterCommandButton,
15967
- r_ as StandaloneWorkbook,
15968
15976
  jC as StatusBar,
15977
+ r_ as Studio,
15969
15978
  ZS as StyledStrokeIcon,
15970
15979
  Hp as T,
15971
15980
  kC as TableStyleCanvasPreview,
@@ -16021,6 +16030,7 @@ export {
16021
16030
  vS as p,
16022
16031
  Wo as q,
16023
16032
  RE as r,
16033
+ JE as renderWorkbookLoadingPanel,
16024
16034
  Ku as s,
16025
16035
  $r as t,
16026
16036
  $i as u,