@sheetxl/studio-mui 0.4.15 → 0.4.16

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 (76) hide show
  1. package/browser/cjs/{X9sJMKafafBPpNpK.cjs → 3eFeaOE8BdZL1wxv.cjs} +1 -1
  2. package/browser/cjs/{Cq2L49XjSKiIAsND.cjs → B7jcDdJUMAjZpGWo.cjs} +1 -1
  3. package/browser/cjs/{Cpo-h2pMpScosT7r.cjs → BNGY-twelLFkYYI6.cjs} +1 -1
  4. package/browser/cjs/{Blfxp7Ec3Yjx3gNU.cjs → BsjtiKh23e6v8G0f.cjs} +2 -2
  5. package/browser/cjs/{klnhoS0cqBpCC5fo.cjs → BzMxZOWpUV_RYST5.cjs} +2 -2
  6. package/browser/cjs/{BknKSPzyXctJohHb.cjs → C5nAx9uKHMANWBcf.cjs} +2 -2
  7. package/browser/cjs/{DwLcsRl4-LumKl6l.cjs → CQN6CMOb4-vmBky4.cjs} +2 -2
  8. package/browser/cjs/{DpZ5HlIMG95q2uIe.cjs → CVQnn-QAlTwmCcqi.cjs} +8 -8
  9. package/browser/cjs/{Gj8MlEhOCg_o7idM.cjs → CXs0QRWS8JCF5XHE.cjs} +2 -2
  10. package/browser/cjs/{C-pPuqiWtgMU4NgZ.cjs → CXwNI8k-NCP-Xytq.cjs} +1 -1
  11. package/browser/cjs/{BqFEcpPZjpwULlZk.cjs → CgzOmQLgtPYoapZz.cjs} +2 -2
  12. package/browser/cjs/{DZJO-_8PnMFRZMpg.cjs → Crjro8zyw3_OPSdv.cjs} +2 -2
  13. package/browser/cjs/{CB6DGRkCA3BLDEFr.cjs → Ctj6jurjmyOjmyC_.cjs} +2 -2
  14. package/browser/cjs/{BNHQPLsVdLmkPgyG.cjs → D3DP2KHrlCUvr5GM.cjs} +1 -1
  15. package/browser/cjs/{DmCCEKhedSOg163M.cjs → D6vlAfPBLlktoBgq.cjs} +2 -2
  16. package/browser/cjs/{CU900NraHPDHMGJt.cjs → DFqjzGGReUL-7MoI.cjs} +3 -3
  17. package/browser/cjs/{J3xq71qTV9LqCUzu.cjs → DKYqcrXsQ_6SuhnP.cjs} +1 -1
  18. package/browser/cjs/{Dy2vYVhrEqTHdzfD.cjs → DRXfWFboy9pbnpXC.cjs} +3 -3
  19. package/browser/cjs/{CO4rZgb0ObTZh6NO.cjs → Die-N4kV2bzafWfb.cjs} +2 -2
  20. package/browser/cjs/{BX8hkPMsPd9PSv0Z.cjs → DoxscTb4o7M2CzO-.cjs} +1 -1
  21. package/browser/cjs/{BUU_z9x81l1Qnv1t.cjs → htqwuaRLOx8unJxi.cjs} +2 -2
  22. package/browser/cjs/index.cjs +2 -2
  23. package/browser/cjs/{IllnWqWVClWDW1ot.cjs → nyCcUTXcNQz4oeHS.cjs} +2 -2
  24. package/browser/cjs/{C9eqE9OnPkiI-5Zd.cjs → omjToo5UJ4DJDaQ_.cjs} +1 -1
  25. package/browser/cjs/{D9X3UXVH6b_NJFeo.cjs → ovadKV9YIel9XeoD.cjs} +1 -1
  26. package/browser/esm/{BiQfhG8JMHeWuT63.mjs → B6X8Qvia5W098Liv.mjs} +1 -1
  27. package/browser/esm/{YS19x3zzRUKQqXu_.mjs → BHgGHdonH-Pv6AWm.mjs} +2 -2
  28. package/browser/esm/{D4DvAg7aaaWl0TPV.mjs → BKiH_cfuFpIWR0Kh.mjs} +6 -6
  29. package/browser/esm/{jqoS02EUPE2WEY1t.mjs → BPW1-Hf2PHIk0e2L.mjs} +1 -1
  30. package/browser/esm/{BQNKKCtIvfOMph3T.mjs → BSJUiUM1YTsyAkO6.mjs} +3 -3
  31. package/browser/esm/{CwjVlrJJqEGZX6q2.mjs → BWsWm5Ktnddf-7sU.mjs} +2 -2
  32. package/browser/esm/{Bvr3QlWdnOSnskWL.mjs → Be60UaEY4-jBg5EP.mjs} +1 -1
  33. package/browser/esm/{FZoe4QJ2ecSD1pjB.mjs → BfgjY48NUV6xeZZz.mjs} +2 -2
  34. package/browser/esm/{VpP_qw0lmgCaHdHR.mjs → Bm9oowz3XGKUJAwu.mjs} +2 -2
  35. package/browser/esm/{DSCE3cCea5d5Ip-N.mjs → C1PvMvQkRbbPczX9.mjs} +3 -3
  36. package/browser/esm/{UWejV3W_nMwWqnxY.mjs → CSJOA0MduTRibCPc.mjs} +2 -2
  37. package/browser/esm/{UCJVaz3qX1u53mgI.mjs → CVxFHP2hSU8M4x8L.mjs} +1 -1
  38. package/browser/esm/{DGoy2q9hDB7kive6.mjs → CYkAU_Fwrj5HpveQ.mjs} +2 -2
  39. package/browser/esm/{DGUm6rEOgO8WrVtT.mjs → CnpSLh6bctHwICAg.mjs} +2 -2
  40. package/browser/esm/{DAZNeiMI9sOM-xd8.mjs → DlVsPuV-HRiRBisB.mjs} +1 -1
  41. package/browser/esm/{Btyp6us1Vzz3ZfHk.mjs → DnqJg0A5zWCsTH6-.mjs} +1 -1
  42. package/browser/esm/{D0v3VaJtA3LjHpWR.mjs → DqaP59JHe_yjCNLN.mjs} +115 -115
  43. package/browser/esm/{HI5oLhcn8kfiky1k.mjs → DsE9LT7djZNC_bpr.mjs} +1 -1
  44. package/browser/esm/{CYpvNksOw1PyhLpA.mjs → DtYTMRjYASQHh47Z.mjs} +2 -2
  45. package/browser/esm/{DuzycndVID_eag8V.mjs → DusKklXwfexZKIz3.mjs} +1 -1
  46. package/browser/esm/{CcZUaOkODU7h0onP.mjs → RjtykFbCcbv4qS7T.mjs} +2 -2
  47. package/browser/esm/{DrTLuc1VQWQfDAej.mjs → bgdZRJ8Fv13W0mzX.mjs} +2 -2
  48. package/browser/esm/{CnXUhdLB8blNUvSr.mjs → i2tBquKvd69Lntmu.mjs} +1 -1
  49. package/browser/esm/{T2YlNqs-LGJBm08C.mjs → iUN2PzjdPItUTr7H.mjs} +3 -3
  50. package/browser/esm/index.mjs +11 -10
  51. package/licenses/dependencies.txt +6 -6
  52. package/node/esm/{CvYpf-Km1Rvg15q4.mjs → -nq4m1_-YnMSpDz2.mjs} +1 -1
  53. package/node/esm/{DCrdGvQ_vOB2o-ca.mjs → -wKDYIC7nV2UawT2.mjs} +1 -1
  54. package/node/esm/{CxhzSvAqksnasp3g.mjs → 6L31NM1-LL-KdFrd.mjs} +1 -1
  55. package/node/esm/{BGYSS0lvjSMTtreq.mjs → BKhroikdnIEO-cch.mjs} +1 -1
  56. package/node/esm/{DkhnVkboeZsdMJxH.mjs → BVDB8yUgU4Pe3e3J.mjs} +1 -1
  57. package/node/esm/{BGZpuIQG7RsGY_HH.mjs → BmnB45A5Kcks8H37.mjs} +1 -1
  58. package/node/esm/{Bnkt1wiWaLEq8xla.mjs → C-K2oA0Q20MmV5RC.mjs} +1 -1
  59. package/node/esm/{BTnlaEz7yZqa7QHP.mjs → CC2vphWASQ4iYaeu.mjs} +1 -1
  60. package/node/esm/{BwbOSLs2gcxOaV0i.mjs → CKJI-uruL_zkUxDv.mjs} +1 -1
  61. package/node/esm/{DnMRqYWKDGXlNm42.mjs → Cr0a6BIKIyYJjP1S.mjs} +1 -1
  62. package/node/esm/{imk332niB0MxWuGl.mjs → CtQxIh_WsWd2Iqtp.mjs} +5 -5
  63. package/node/esm/{BiJ5CZBAxg4-QDHh.mjs → DLPeWl4zrLTgco5e.mjs} +1 -1
  64. package/node/esm/{FzVegyt0upYkLobF.mjs → DavolEdR41s-e_Fj.mjs} +2 -2
  65. package/node/esm/{3htalFC0z5xbRnmH.mjs → DfkGEyNA6RPSKyEP.mjs} +1 -1
  66. package/node/esm/{DuyHq4Fs-_RQkwF_.mjs → Dn5QZmzECuToX8GV.mjs} +1 -1
  67. package/node/esm/{DhGXQOOW9FBpgCqI.mjs → DqZDYIleTnvpbErd.mjs} +1 -1
  68. package/node/esm/{BfUEFSGuAZXw2fvO.mjs → KPnfLrtriahFI_c0.mjs} +1 -1
  69. package/node/esm/{B-pzKiKMkbB9Es-9.mjs → OpLz9iqEueYpbPNa.mjs} +1 -1
  70. package/node/esm/{DsS5U5rJ5tNVEGXs.mjs → RM7navTE1C8IL9a9.mjs} +1 -1
  71. package/node/esm/{BFxzGj5sPFwrklFi.mjs → fYYkAOtCehA-pVps.mjs} +3 -3
  72. package/node/esm/{CAWLE2N0nA-FjUkH.mjs → iZ76esdFvFKIFxbE.mjs} +1 -1
  73. package/node/esm/index.mjs +736 -735
  74. package/node/esm/{CSnI8PJEgxEQEj1B.mjs → xiFL_cTYqzecUPE9.mjs} +1 -1
  75. package/package.json +8 -8
  76. package/types/index.d.ts +3 -1
@@ -2,15 +2,15 @@ import { ITextFrame as pt, ScalarType as ds, IRange as bt, IFont as Rn, ThemeCol
2
2
  import { jsx as d, jsxs as K, Fragment as wt } from "react/jsx-runtime";
3
3
  import * as pi from "react";
4
4
  import Oe, { memo as Ce, useRef as re, useState as Q, useEffect as me, useCallback as J, useReducer as dr, useMemo as Z, forwardRef as Pe, useImperativeHandle as il, useLayoutEffect as _n, version as ll, createElement as Pn, createContext as yi, Suspense as Ps, Fragment as Fy, useContext as u0, cloneElement as ap, isValidElement as t5, Component as sp } from "react";
5
- import { Divider as Ai, Box as we, IconButton as Xo, Input as Kc, SvgIcon as Be, ListItemIcon as Ny, MenuItem as Xc, Typography as Ln, Paper as M0, Tooltip as Vy, Toolbar as Hy, Chip as By, Popper as $y, Grow as jy, Button as us, DialogContent as Wy, DialogActions as Uy, Fade as qy, Backdrop as Zy, DialogTitle as cp, FormControlLabel as xi, Checkbox as Si, useMediaQuery as Gy, FormControl as n5, TextField as dp, InputAdornment as Ky, Slider as Xy, CircularProgress as Yy, Select as Jy, Tabs as Qy, Tab as eb, Card as tb, CardActions as nb, Collapse as ob, CssBaseline as rb } from "@mui/material";
6
- import { ArrowRight as up, ArrowLeft as ib, Error as lb, ArrowDropDown as ab, ContentCopy as sb, BugReport as cb, Close as o5, FormatAlignLeft as y3, FormatAlignCenter as b3, FormatAlignRight as db, FormatAlignJustify as Ya, Colorize as ub, DarkMode as w3, LightMode as v3, Keyboard as hb, Remove as pb, Add as mb, ExpandLess as fb, ExpandMore as hp, Lock as Yc, MoreHoriz as gb, WebhookOutlined as pp, AddCircleOutline as yb, Menu as bb, CancelOutlined as wb } from "@mui/icons-material";
7
- import { createRoot as r5 } from "react-dom/client";
5
+ import { Typography as Ln, Box as we, Paper as M0, Divider as Ai, IconButton as Xo, Input as Kc, SvgIcon as Be, ListItemIcon as Ny, MenuItem as Xc, Tooltip as Vy, Toolbar as Hy, Chip as By, Popper as $y, Grow as jy, Button as us, DialogContent as Wy, DialogActions as Uy, Fade as qy, Backdrop as Zy, DialogTitle as cp, FormControlLabel as xi, Checkbox as Si, useMediaQuery as Gy, FormControl as n5, TextField as dp, InputAdornment as Ky, Slider as Xy, CircularProgress as Yy, Select as Jy, Tabs as Qy, Tab as eb, Card as tb, CardActions as nb, Collapse as ob, CssBaseline as rb } from "@mui/material";
6
+ import { alpha as It, darken as ib, lighten as lb, useTheme as up, unstable_createGetCssVar as hp, createSpacing as pp, ThemeProvider as ab, unstable_createCssVarsProvider as sb } from "@mui/system";
7
+ import { createRoot as o5 } from "react-dom/client";
8
8
  import ui, { unstable_batchedUpdates as hi, createPortal as Ql } from "react-dom";
9
- import { alpha as It, darken as vb, lighten as xb, useTheme as mp, unstable_createGetCssVar as fp, createSpacing as gp, ThemeProvider as Sb, unstable_createCssVarsProvider as Cb } from "@mui/system";
10
- import kb, { internal_mutateStyles as Eb, internal_serializeStyles as ji, ThemeContext as _b } from "@mui/styled-engine";
9
+ import cb, { internal_mutateStyles as db, internal_serializeStyles as ji, ThemeContext as ub } from "@mui/styled-engine";
10
+ import { ArrowRight as mp, ArrowLeft as hb, Error as pb, ArrowDropDown as mb, ContentCopy as fb, BugReport as gb, Close as r5, FormatAlignLeft as y3, FormatAlignCenter as b3, FormatAlignRight as yb, FormatAlignJustify as Ya, Colorize as bb, DarkMode as w3, LightMode as v3, Keyboard as wb, Remove as vb, Add as xb, ExpandLess as Sb, ExpandMore as fp, Lock as Yc, MoreHoriz as Cb, WebhookOutlined as gp, AddCircleOutline as kb, Menu as Eb, CancelOutlined as _b } from "@mui/icons-material";
11
11
  import { deepmerge as yp } from "@mui/utils";
12
12
  /**
13
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.15
13
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.16
14
14
  *
15
15
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
16
16
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1462,7 +1462,7 @@ const Z1 = [], Tl = [], mc = () => {
1462
1462
  return Z1.push({ hook: f, key: m }), Tl.length === 0 && Wp === !1 && (Y2 = !0, ((g) => {
1463
1463
  if (Ad.document && Ad.document.createElement) {
1464
1464
  const y = Ad.document.createElement("div");
1465
- r5(y).render(d(g, { automaticContainerInternalUseOnly: !0 }));
1465
+ o5(y).render(d(g, { automaticContainerInternalUseOnly: !0 }));
1466
1466
  } else X2("Can not mount SingletonHooksContainer on server side. Did you manage to run useEffect on server? Please mount SingletonHooksContainer into your components tree manually.");
1467
1467
  })(Ew)), mc(), () => {
1468
1468
  Z1.splice(Z1.findIndex((g) => g.key === m), 1), mc();
@@ -3447,7 +3447,7 @@ function iu(e = {}, ...t) {
3447
3447
  return p.defaultColorScheme = s, p.colorSchemes = c, p.palette.mode === "light" && (p.colorSchemes.light = { ...c.light !== !0 && c.light, palette: p.palette }, q6(p, "dark", c.dark)), p.palette.mode === "dark" && (p.colorSchemes.dark = { ...c.dark !== !0 && c.dark, palette: p.palette }, q6(p, "light", c.light)), p;
3448
3448
  }
3449
3449
  return n || "light" in c || s !== "light" || (c.light = !0), function(u = {}, ...p) {
3450
- const { colorSchemes: h = { light: !0 }, defaultColorScheme: f, disableCssColorScheme: m = !1, cssVarPrefix: g = "mui", shouldSkipGeneratingVar: y = zv, colorSchemeSelector: w = h.light && h.dark ? "media" : void 0, rootSelector: b = ":root", ...S } = u, C = Object.keys(h)[0], k = f || (h.light && C !== "light" ? "light" : C), M = ((B = "mui") => fp(B))(g), { [k]: _, light: z, dark: E, ...I } = h, x = { ...I };
3450
+ const { colorSchemes: h = { light: !0 }, defaultColorScheme: f, disableCssColorScheme: m = !1, cssVarPrefix: g = "mui", shouldSkipGeneratingVar: y = zv, colorSchemeSelector: w = h.light && h.dark ? "media" : void 0, rootSelector: b = ":root", ...S } = u, C = Object.keys(h)[0], k = f || (h.light && C !== "light" ? "light" : C), M = ((B = "mui") => hp(B))(g), { [k]: _, light: z, dark: E, ...I } = h, x = { ...I };
3451
3451
  let v = _;
3452
3452
  if ((k === "dark" && !("dark" in h) || k === "light" && !("light" in h)) && (v = !0), !v) throw new Error(Ji(21, k));
3453
3453
  const L = jd(x, v, S, k);
@@ -3521,7 +3521,7 @@ function iu(e = {}, ...t) {
3521
3521
  return T.vars = R, Object.entries(T.colorSchemes[T.defaultColorScheme]).forEach(([B, A]) => {
3522
3522
  T[B] = A;
3523
3523
  }), T.generateThemeVars = O, T.generateStyleSheets = V, T.generateSpacing = function() {
3524
- return gp(S.spacing, f5(this));
3524
+ return pp(S.spacing, f5(this));
3525
3525
  }, T.getColorSchemeSelector = /* @__PURE__ */ function(B) {
3526
3526
  return function(A) {
3527
3527
  return B === "media" ? `@media (prefers-color-scheme: ${A})` : B ? B.startsWith("data-") && !B.includes("%s") ? `[${B}="${A}"] &` : B === "class" ? `.${A} &` : B === "data" ? `[data-${A}] &` : `${B.replace("%s", A)} &` : "&";
@@ -3533,7 +3533,7 @@ function iu(e = {}, ...t) {
3533
3533
  }
3534
3534
  const b5 = iu();
3535
3535
  function w5() {
3536
- const e = mp(b5);
3536
+ const e = up(b5);
3537
3537
  return e[d5] || e;
3538
3538
  }
3539
3539
  function Nv(e) {
@@ -3543,7 +3543,7 @@ function Nv(e) {
3543
3543
  function Vv({ props: e, name: t, defaultTheme: n, themeId: o }) {
3544
3544
  let r = function(i = kv) {
3545
3545
  return function(l = null) {
3546
- const s = pi.useContext(_b);
3546
+ const s = pi.useContext(ub);
3547
3547
  return s && (a = s, Object.keys(a).length !== 0) ? s : l;
3548
3548
  var a;
3549
3549
  }(i);
@@ -3599,13 +3599,13 @@ const jv = function(e = {}) {
3599
3599
  })(l, t, n);
3600
3600
  }
3601
3601
  return (l, s = {}) => {
3602
- Eb(l, (k) => k.filter((M) => M !== Ul));
3602
+ db(l, (k) => k.filter((M) => M !== Ul));
3603
3603
  const { name: a, slot: c, skipVariantsResolver: u, skipSx: p, overridesResolver: h = Bv($v(c)), ...f } = s, m = a && a.startsWith("Mui") || c ? "components" : "custom", g = u !== void 0 ? u : c && c !== "Root" && c !== "root" || !1, y = p || !1;
3604
3604
  let w = Wd;
3605
3605
  c === "Root" || c === "root" ? w = o : c ? w = r : function(k) {
3606
3606
  return typeof k == "string" && k.charCodeAt(0) > 96;
3607
3607
  }(l) && (w = void 0);
3608
- const b = kb(l, { shouldForwardProp: w, label: void 0, ...f }), S = (k) => {
3608
+ const b = cb(l, { shouldForwardProp: w, label: void 0, ...f }), S = (k) => {
3609
3609
  if (k.__emotion_real === k) return k;
3610
3610
  if (typeof k == "function") return function(M) {
3611
3611
  return Y1(M, k, M.theme.modularCssLayers ? m : void 0);
@@ -4260,7 +4260,7 @@ const J1 = [], Dl = [], xc = () => {
4260
4260
  return J1.push({ hook: f, key: m }), Dl.length === 0 && A9 === !1 && (uu = !0, ((g) => {
4261
4261
  if (qd.document && qd.document.createElement) {
4262
4262
  const y = qd.document.createElement("div");
4263
- r5(y).render(d(g, { automaticContainerInternalUseOnly: !0 }));
4263
+ o5(y).render(d(g, { automaticContainerInternalUseOnly: !0 }));
4264
4264
  } else du("Can not mount SingletonHooksContainer on server side. Did you manage to run useEffect on server? Please mount SingletonHooksContainer into your components tree manually.");
4265
4265
  })(Fx)), xc(), () => {
4266
4266
  J1.splice(J1.findIndex((g) => g.key === m), 1), xc();
@@ -4365,7 +4365,7 @@ const t4 = () => "sheetxl-ui-" + Nx++, Hx = Oe.useId ?? function() {
4365
4365
  })({ style: { cursor: "pointer" }, ...e }), B9 = (e, t, n, o) => {
4366
4366
  const { style: r, ...i } = e, l = d(Xo, { component: "div", ...i, style: { ...r, padding: "0px" }, sx: { padding: "0" }, color: e.disabled ? void 0 : "primary", "aria-label": n, size: "small", children: t });
4367
4367
  return d(Vr, { title: e.disabled ? n : o, enterDelay: 800, enterNextDelay: 1600, children: e.disabled ? d("div", { style: { display: "flex" }, children: l }) : l });
4368
- }, oC = (e) => B9(e, d(ib, { fontSize: "small" }), "Scroll " + (e.orientation === _r.Horizontal ? "Left" : "Up"), `Scroll ${e.orientation === _r.Horizontal ? "left" : "up"}, 'Ctrl+Click' to scroll to the beginning`), rC = (e) => B9(e, d(up, { fontSize: "small" }), "Scroll " + (e.orientation === _r.Horizontal ? "Right" : "Down"), `Scroll ${e.orientation === _r.Horizontal ? "right" : "down"}, 'Ctrl+Click' to scroll to the end`), $t = Ce(Pe((e, t) => {
4368
+ }, oC = (e) => B9(e, d(hb, { fontSize: "small" }), "Scroll " + (e.orientation === _r.Horizontal ? "Left" : "Up"), `Scroll ${e.orientation === _r.Horizontal ? "left" : "up"}, 'Ctrl+Click' to scroll to the beginning`), rC = (e) => B9(e, d(mp, { fontSize: "small" }), "Scroll " + (e.orientation === _r.Horizontal ? "Right" : "Down"), `Scroll ${e.orientation === _r.Horizontal ? "right" : "down"}, 'Ctrl+Click' to scroll to the end`), $t = Ce(Pe((e, t) => {
4369
4369
  const { orientation: n = "vertical", sx: o, ...r } = e, i = n === "vertical";
4370
4370
  return d(Ai, { ref: t, sx: { marginLeft: i ? "1px" : void 0, marginRight: i ? "1px" : void 0, backgroundColor: "transparent !important", borderColor: (l) => l.palette.divider, ...o }, orientation: n, variant: "middle", flexItem: !0, ...r });
4371
4371
  }));
@@ -4499,13 +4499,13 @@ const cC = /^\s*at\s+(?:(async|new|await)\s+)?(.+?)\s+\((.+?):(\d+):(\d+)\)$/, d
4499
4499
  } catch (c) {
4500
4500
  r("Can't copy!"), console.warn("Failed to copy stack trace:", c);
4501
4501
  }
4502
- }, sx: { color: "inherit", opacity: 0.7, "&:hover": { opacity: 1 } }, title: "Copy stack trace", children: d(sb, { sx: { fontSize: "0.875rem" } }) }), d(Xo, { size: "small", onClick: () => {
4502
+ }, sx: { color: "inherit", opacity: 0.7, "&:hover": { opacity: 1 } }, title: "Copy stack trace", children: d(fb, { sx: { fontSize: "0.875rem" } }) }), d(Xo, { size: "small", onClick: () => {
4503
4503
  console.log(e);
4504
- }, sx: { color: "inherit", opacity: 0.7, "&:hover": { opacity: 1 } }, title: "Log error to console", children: d(cb, { sx: { fontSize: "0.875rem" } }) })] }), K(we, { sx: { mt: 1, backgroundColor: "rgba(0, 0, 0, 0.2)", borderRadius: 1, p: 1, maxHeight: "300px", overflow: "auto", fontFamily: "monospace", fontSize: "0.75rem", lineHeight: 1.4 }, children: [s.map((c, u) => c.isBoundary ? d(we, { sx: { py: 1, mt: u > 0 ? 1 : 0, mb: 0.5, borderTop: u > 0 ? "1px solid rgba(255, 255, 255, 0.1)" : "none" }, children: d(Ln, { variant: "caption", component: "div", sx: { fontSize: "0.75rem", fontWeight: "bold", color: (p) => c.isBoundary ? p.palette.text.primary : p.palette.text.secondary, display: "block" }, children: c.line }) }, `error-${u}`) : K(we, { sx: { display: "flex", alignItems: "flex-start", gap: 1, py: 0.25, pl: 1, "&:hover": { backgroundColor: "rgba(255, 255, 255, 0.05)" } }, children: [!n && d(Ln, { variant: "caption", component: "div", sx: { fontSize: "0.625rem", opacity: 0.5, minWidth: "20px", textAlign: "right", userSelect: "none" }, children: u + 1 }), K(we, { sx: { flex: 1, overflow: "hidden" }, children: [d(Ln, { variant: "caption", component: "div", sx: { fontSize: "0.75rem", whiteSpace: "nowrap", overflow: "hidden", textOverflow: "ellipsis", color: "inherit" }, children: c.line }), c.location && c.line !== c.location && d(Ln, { variant: "caption", component: "div", sx: { fontSize: "0.625rem", opacity: 0.6, fontStyle: "italic" }, children: c.location })] })] }, `stack-${u}`)), a && K(Ln, { variant: "caption", component: "div", sx: { fontSize: "0.625rem", opacity: 0.6, fontStyle: "italic", textAlign: "center", display: "block", mt: 1 }, children: ["... and ", l.length - t, " more frames"] })] })] });
4504
+ }, sx: { color: "inherit", opacity: 0.7, "&:hover": { opacity: 1 } }, title: "Log error to console", children: d(gb, { sx: { fontSize: "0.875rem" } }) })] }), K(we, { sx: { mt: 1, backgroundColor: "rgba(0, 0, 0, 0.2)", borderRadius: 1, p: 1, maxHeight: "300px", overflow: "auto", fontFamily: "monospace", fontSize: "0.75rem", lineHeight: 1.4 }, children: [s.map((c, u) => c.isBoundary ? d(we, { sx: { py: 1, mt: u > 0 ? 1 : 0, mb: 0.5, borderTop: u > 0 ? "1px solid rgba(255, 255, 255, 0.1)" : "none" }, children: d(Ln, { variant: "caption", component: "div", sx: { fontSize: "0.75rem", fontWeight: "bold", color: (p) => c.isBoundary ? p.palette.text.primary : p.palette.text.secondary, display: "block" }, children: c.line }) }, `error-${u}`) : K(we, { sx: { display: "flex", alignItems: "flex-start", gap: 1, py: 0.25, pl: 1, "&:hover": { backgroundColor: "rgba(255, 255, 255, 0.05)" } }, children: [!n && d(Ln, { variant: "caption", component: "div", sx: { fontSize: "0.625rem", opacity: 0.5, minWidth: "20px", textAlign: "right", userSelect: "none" }, children: u + 1 }), K(we, { sx: { flex: 1, overflow: "hidden" }, children: [d(Ln, { variant: "caption", component: "div", sx: { fontSize: "0.75rem", whiteSpace: "nowrap", overflow: "hidden", textOverflow: "ellipsis", color: "inherit" }, children: c.line }), c.location && c.line !== c.location && d(Ln, { variant: "caption", component: "div", sx: { fontSize: "0.625rem", opacity: 0.6, fontStyle: "italic" }, children: c.location })] })] }, `stack-${u}`)), a && K(Ln, { variant: "caption", component: "div", sx: { fontSize: "0.625rem", opacity: 0.6, fontStyle: "italic", textAlign: "center", display: "block", mt: 1 }, children: ["... and ", l.length - t, " more frames"] })] })] });
4505
4505
  });
4506
4506
  M5.displayName = "StackTrace";
4507
4507
  const W9 = Ce(Pe((e, t) => {
4508
- const { sx: n, icon: o = d(lb, { style: { fontSize: 48 } }), error: r, hideStackTrace: i = !1, stackTraceExpanded: l = !1, ...s } = e, a = Z(() => ((c, u = !1) => {
4508
+ const { sx: n, icon: o = d(pb, { style: { fontSize: 48 } }), error: r, hideStackTrace: i = !1, stackTraceExpanded: l = !1, ...s } = e, a = Z(() => ((c, u = !1) => {
4509
4509
  if (Oe.isValidElement(c)) return c;
4510
4510
  if (c instanceof Error) return K(we, { sx: { display: "flex", flexDirection: "column", maxWidth: "500px", width: "100%" }, children: [d(Ln, { variant: "caption", component: "div", sx: { fontSize: "0.875rem", lineHeight: 1.43, mb: 1 }, children: c.message }), c.cause ? K(Ln, { variant: "caption", component: "div", sx: { fontSize: "0.875rem", lineHeight: 1.43, letterSpacing: "0.01071em", mb: 1, opacity: 0.8 }, children: ["Caused by: ", c.cause instanceof Error ? c.cause.message : String(c.cause)] }) : null, !u && d(M5, { error: c, hideLineNumbers: !0 })] });
4511
4511
  const p = c === "string" ? c : `Unknown Error: ${String(c)}`;
@@ -4744,7 +4744,7 @@ Q9.displayName = "ExhibitPopper";
4744
4744
  const Qr = { Toolbar: "toolbar", Menuitem: "menuitem" }, zn = (e) => {
4745
4745
  const { closeFloat: t, closeFloatAll: n, floatReference: o, popupContainer: r, children: i, className: l, sx: s, ...a } = e;
4746
4746
  return d(we, { className: Ko("menu", l), sx: { display: "flex", flexDirection: "column", ...s }, ...a, children: i });
4747
- }, M4 = (e, t, n) => d(ab, { sx: { marginLeft: e ? void 0 : t ? "-5px" : "-3px", marginRight: e ? void 0 : t ? "-5px" : "-6px", transform: () => {
4747
+ }, M4 = (e, t, n) => d(mb, { sx: { marginLeft: e ? void 0 : t ? "-5px" : "-3px", marginRight: e ? void 0 : t ? "-5px" : "-6px", transform: () => {
4748
4748
  let o;
4749
4749
  return t && (o = (o ? o + " " : "") + "scale(0.8)"), n && (o = (o ? o + " " : "") + "rotate(180deg)"), o;
4750
4750
  } }, color: "inherit" }), gC = /^#?([a-f\d])([a-f\d])([a-f\d])$/i, yC = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i, vu = function(e, t = null) {
@@ -4757,7 +4757,7 @@ const Qr = { Toolbar: "toolbar", Menuitem: "menuitem" }, zn = (e) => {
4757
4757
  }, Ur = function(e, t = 0.2, n = "light") {
4758
4758
  if (!e) return e;
4759
4759
  let o = n !== "dark";
4760
- return t < 0 && (o = !o, t *= -1), e = vu(e), o ? vb(e, Math.max(0, Math.min(1, 1 * t))) : xb(e, Math.max(0, Math.min(1, 1.5 * t)));
4760
+ return t < 0 && (o = !o, t *= -1), e = vu(e), o ? ib(e, Math.max(0, Math.min(1, 1 * t))) : lb(e, Math.max(0, Math.min(1, 1.5 * t)));
4761
4761
  }, D4 = (e, t) => {
4762
4762
  let n = iu({ palette: { mode: e ? "dark" : "light" } }), o = { typography: {}, palette: { mode: e ? "dark" : "light", text: { secondary: e ? n.palette.text.secondary : It(n.palette.text.secondary, 0.75), icon: e ? It(n.palette.text.secondary, 0.7) : It(n.palette.text.primary, 0.75) } }, components: { MuiDialogTitle: { styleOverrides: { root: { fontWeight: "normal" } } }, MuiSelect: { styleOverrides: { iconOutlined: { top: "unset" } } }, MuiListItemIcon: { styleOverrides: { root: { minWidth: "0px !important", overflow: "hidden", marginLeft: "0px", marginRight: "6px", padding: "1px 1px", border: "solid transparent 1px" } } }, MuiMenuItem: { styleOverrides: { root: { paddingTop: "2px", paddingBottom: "2px", marginLeft: "4px", marginRight: "4px", paddingLeft: "6px", paddingRight: "18px", borderRadius: "4px", fontSize: "0.875em", "@media (pointer: coarse)": { fontSize: "1em" }, "&.Mui-selected": {} } } }, MuiDivider: { styleOverrides: { root: { marginTop: "4px !important", marginBottom: "4px !important", marginLeft: "0px", marginRight: "0px" } } }, MuiPopper: { styleOverrides: { root: { "& .menu": { marginTop: "4px", marginBottom: "4px", borderRadius: "4px" } } } }, SmartInputField: { styleOverrides: { automatic: { transition: "opacity 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms", color: function() {
4763
4763
  return n.palette.text.secondary;
@@ -5030,7 +5030,7 @@ const CC = {}, Vs = Ce(Pe((e, t) => {
5030
5030
  M(!0), a?.();
5031
5031
  } }), R = kn((H) => {
5032
5032
  H.button === 0 && (r?.(H), P.reference.close(0));
5033
- }, [r]), O = d(up, { sx: { transform: () => {
5033
+ }, [r]), O = d(mp, { sx: { transform: () => {
5034
5034
  } } }), V = { "&.Mui-selected": { color: (H) => H.palette.text.primary, "& svg * ": { color: (H) => H.palette.text.primary } } }, B = J((H) => {
5035
5035
  const { children: F, ref: j, ...U } = H;
5036
5036
  return d(Vr, { ref: j, ...U, disableInteractive: !0, children: F });
@@ -6219,7 +6219,7 @@ const ZC = d9(qC), X4 = { x: 0, y: 0 }, GC = Ce(Pe((e, t) => {
6219
6219
  oe.which === cr.Escape && (F(), B.current?.start(oe, { center: !1 }), setTimeout(() => B.current?.stop(oe), 180)), oe.stopPropagation();
6220
6220
  }, children: K(GC, { ref: Cc([H, t]), className: Ko({ "Mui-focusVisible": j }, z), sx: { "& *": (oe) => R5(oe), pointerEvents: "auto", userSelect: "none", "&:hover:not([disabled]):not(.Mui-focusVisible)": { outline: (oe) => `solid ${It(oe.palette.text?.primary, 0.2)} 1px` }, "&.Mui-focusVisible": { outline: (oe) => `solid ${It(oe.palette.text?.primary, 0.2)} 1px` }, position: "absolute", maxWidth: "100%", ..._ }, defaultPosition: T, titleSize: N, rootSize: $, PaperComponent: C, ...v, ...k, children: [i ? d(cp, { className: Ko({ "Mui-selected": j }, "draggable-title"), sx: { cursor: "move", display: "flex", color: (oe) => oe.palette.text.secondary, boxSizing: "border-box", padding: "0 0", transitionProperty: "opacity", transitionDuration: (oe) => `${oe.transitions.duration.shortest}ms`, opacity: 0.7, "&.Mui-selected": { opacity: 1, transitionDuration: (oe) => oe.transitions.duration.shortest / 2 + "ms" }, backgroundColor: (oe) => It(oe.palette.action.hover, 0.03) }, ref: te, children: K(we, { sx: { display: "flex", flex: "1 1 10%", flexDirection: "row", alignItems: "center", marginTop: (oe) => oe.spacing(1), marginLeft: (oe) => oe.spacing(1), marginRight: (oe) => oe.spacing(1) }, children: [d(we, { sx: { flex: "1 1 100%", paddingLeft: (oe) => oe.spacing(1) }, children: i }), d(nr, { label: "Close", children: d(Xo, { "aria-label": "close", sx: { color: (oe) => oe.palette.text.icon ?? oe.palette.action.active }, touchRippleRef: B, onPointerDown: (oe) => {
6221
6221
  B.current?.start(oe, { center: !1 }), oe.stopPropagation(), oe.preventDefault();
6222
- }, onPointerUp: F, children: d(o5, {}) }) })] }) }) : null, m] }) }) }) });
6222
+ }, onPointerUp: F, children: d(r5, {}) }) })] }) }) : null, m] }) }) }) });
6223
6223
  let ze = null;
6224
6224
  x && (ze = d(b, { ...S, open: P, onMouseDown: (oe) => {
6225
6225
  F(), S?.onMouseDown?.(oe);
@@ -6812,7 +6812,7 @@ const ck = ["Ok", "Cancel"], p7 = Ce(Pe((e, t) => {
6812
6812
  L.current?.stop(x), T && k(v);
6813
6813
  }, 180));
6814
6814
  }, children: K(we, { sx: { display: "flex", flexDirection: "column", whiteSpace: "pre-wrap", rowGap: (x) => x.spacing(o || n ? 1.5 : 0) }, children: [K(we, { sx: { display: "flex", flexDirection: "column" }, children: [o, n] }), f] }) }), d(Uy, { sx: { paddingTop: (x) => x.spacing(1), paddingBottom: (x) => x.spacing(1), paddingLeft: (x) => x.spacing(1), paddingRight: (x) => x.spacing(1), backgroundColor: (x) => It(x.palette.action.hover, 0.03) }, children: I })] }) }) });
6815
- })), dk = Object.freeze(Object.defineProperty({ __proto__: null, OptionsDialog: p7, default: p7 }, Symbol.toStringTag, { value: "Module" })), uk = Oe.lazy(() => Promise.resolve().then(() => dk)), hk = Oe.lazy(() => import("./FZoe4QJ2ecSD1pjB.mjs")), ea = Ce(Pe((e, t) => {
6815
+ })), dk = Object.freeze(Object.defineProperty({ __proto__: null, OptionsDialog: p7, default: p7 }, Symbol.toStringTag, { value: "Module" })), uk = Oe.lazy(() => Promise.resolve().then(() => dk)), hk = Oe.lazy(() => import("./BfgjY48NUV6xeZZz.mjs")), ea = Ce(Pe((e, t) => {
6816
6816
  const { command: n, disabled: o = !1, shortcut: r, children: i, ...l } = e;
6817
6817
  return E5(n), d(nr, { ref: t, label: o !== void 0 ? n?.label() : "", shortcut: r !== void 0 ? r : Array.isArray(n?.shortcut()) ? n?.shortcut()[0] : n?.shortcut(), description: n?.description(), disabled: o, chips: n?.tags(), componentDisabled: n?.disabled(), ...l, children: d("div", { style: { display: "flex", flex: "1 1 0%" }, children: i }) });
6818
6818
  })), Ae = Ce(Pe((e, t) => {
@@ -6966,7 +6966,7 @@ const fk = Ce(Pe((e, t) => {
6966
6966
  return a[0]?.key();
6967
6967
  }, [a]), u = Z(() => {
6968
6968
  const f = /* @__PURE__ */ new Map();
6969
- return f.set("formatAlignLeftToggle", xe(d(y3, {}))), f.set("formatAlignCenterToggle", xe(d(b3, {}))), f.set("formatAlignRightToggle", xe(d(db, {}))), f.set("formatAlignJustifyToggle", xe(d(Ya, {}))), f.set("formatAlignCenterContinuousToggle", xe(d(b3, {}))), f.set("formatAlignFillToggle", xe(d(Ya, {}))), f.set("formatAlignDistributedHorizontalToggle", xe(d(Ya, {}))), f;
6969
+ return f.set("formatAlignLeftToggle", xe(d(y3, {}))), f.set("formatAlignCenterToggle", xe(d(b3, {}))), f.set("formatAlignRightToggle", xe(d(yb, {}))), f.set("formatAlignJustifyToggle", xe(d(Ya, {}))), f.set("formatAlignCenterContinuousToggle", xe(d(b3, {}))), f.set("formatAlignFillToggle", xe(d(Ya, {}))), f.set("formatAlignDistributedHorizontalToggle", xe(d(Ya, {}))), f;
6970
6970
  }, []), p = Z(() => {
6971
6971
  if (!o) return null;
6972
6972
  const f = { ...o };
@@ -7712,7 +7712,7 @@ function r2(e, t, n, o) {
7712
7712
  return e[o] = { ...t, palette: i, opacity: { ...P7(r), ...t?.opacity }, overlays: t?.overlays || z7(r) }, l;
7713
7713
  }
7714
7714
  function NE(e = {}, ...t) {
7715
- const { colorSchemes: n = { light: !0 }, defaultColorScheme: o, disableCssColorScheme: r = !1, cssVarPrefix: i = "mui", shouldSkipGeneratingVar: l = zE, colorSchemeSelector: s = n.light && n.dark ? "media" : void 0, rootSelector: a = ":root", ...c } = e, u = Object.keys(n)[0], p = o || (n.light && u !== "light" ? "light" : u), h = ((I = "mui") => fp(I))(i), { [p]: f, light: m, dark: g, ...y } = n, w = { ...y };
7715
+ const { colorSchemes: n = { light: !0 }, defaultColorScheme: o, disableCssColorScheme: r = !1, cssVarPrefix: i = "mui", shouldSkipGeneratingVar: l = zE, colorSchemeSelector: s = n.light && n.dark ? "media" : void 0, rootSelector: a = ":root", ...c } = e, u = Object.keys(n)[0], p = o || (n.light && u !== "light" ? "light" : u), h = ((I = "mui") => hp(I))(i), { [p]: f, light: m, dark: g, ...y } = n, w = { ...y };
7716
7716
  let b = f;
7717
7717
  if ((p === "dark" && !("dark" in n) || p === "light" && !("light" in n)) && (b = !0), !b) throw new Error(el(21, p));
7718
7718
  const S = r2(w, b, c, p);
@@ -7787,7 +7787,7 @@ function NE(e = {}, ...t) {
7787
7787
  return C.vars = _, Object.entries(C.colorSchemes[C.defaultColorScheme]).forEach(([I, x]) => {
7788
7788
  C[I] = x;
7789
7789
  }), C.generateThemeVars = z, C.generateStyleSheets = E, C.generateSpacing = function() {
7790
- return gp(c.spacing, H5(this));
7790
+ return pp(c.spacing, H5(this));
7791
7791
  }, C.getColorSchemeSelector = /* @__PURE__ */ function(I) {
7792
7792
  return function(x) {
7793
7793
  return I === "media" ? `@media (prefers-color-scheme: ${x})` : I ? I.startsWith("data-") && !I.includes("%s") ? `[${I}="${x}"] &` : I === "class" ? `.${x} &` : I === "data" ? `[data-${x}] &` : `${I.replace("%s", x)} &` : "&";
@@ -7812,14 +7812,14 @@ function Nm(e = {}, ...t) {
7812
7812
  }
7813
7813
  const VE = Nm();
7814
7814
  function g0() {
7815
- const e = mp(VE);
7815
+ const e = up(VE);
7816
7816
  return e[Zi] || e;
7817
7817
  }
7818
7818
  function HE({ theme: e, ...t }) {
7819
7819
  const n = Zi in e ? e[Zi] : void 0;
7820
- return d(Sb, { ...t, themeId: n ? Zi : void 0, theme: n || e });
7820
+ return d(ab, { ...t, themeId: n ? Zi : void 0, theme: n || e });
7821
7821
  }
7822
- const BE = "mui-color-scheme", $E = "light", jE = "dark", WE = "mui-mode", { CssVarsProvider: UE, useColorScheme: jL, getInitColorSchemeScript: WL } = Cb({ themeId: Zi, theme: () => Nm({ cssVariables: !0 }), colorSchemeStorageKey: BE, modeStorageKey: WE, defaultColorScheme: { light: $E, dark: jE }, resolveTheme: (e) => {
7822
+ const BE = "mui-color-scheme", $E = "light", jE = "dark", WE = "mui-mode", { CssVarsProvider: UE, useColorScheme: jL, getInitColorSchemeScript: WL } = sb({ themeId: Zi, theme: () => Nm({ cssVariables: !0 }), colorSchemeStorageKey: BE, modeStorageKey: WE, defaultColorScheme: { light: $E, dark: jE }, resolveTheme: (e) => {
7823
7823
  const t = { ...e, typography: zm(e.palette, e.typography) };
7824
7824
  return t.unstable_sx = function(n) {
7825
7825
  return Ws({ sx: n, theme: this });
@@ -9267,7 +9267,7 @@ const lc = [], Ll = [], Vc = () => {
9267
9267
  return lc.push({ hook: f, key: m }), Ll.length === 0 && sf === !1 && (Pu = !0, ((g) => {
9268
9268
  if (p2.document && p2.document.createElement) {
9269
9269
  const y = p2.document.createElement("div");
9270
- r5(y).render(d(g, { automaticContainerInternalUseOnly: !0 }));
9270
+ o5(y).render(d(g, { automaticContainerInternalUseOnly: !0 }));
9271
9271
  } else Au("Can not mount SingletonHooksContainer on server side. Did you manage to run useEffect on server? Please mount SingletonHooksContainer into your components tree manually.");
9272
9272
  })(N_)), Vc(), () => {
9273
9273
  lc.splice(lc.findIndex((g) => g.key === m), 1), Vc();
@@ -12666,7 +12666,7 @@ The content is not applied.` }), new Le("pasteFormulas", R, { label: "Paste Form
12666
12666
  qe.current = !0;
12667
12667
  const De = Oe.lazy(async () => {
12668
12668
  try {
12669
- const St = await import("./HI5oLhcn8kfiky1k.mjs");
12669
+ const St = await import("./DsE9LT7djZNC_bpr.mjs");
12670
12670
  return qe.current = !1, Ge.current = !0, M([...k]), St;
12671
12671
  } catch (St) {
12672
12672
  return console.warn(St), N.current?.(!1), null;
@@ -15755,7 +15755,7 @@ ag.displayName = "TabStrip";
15755
15755
  const hD = (e) => K("svg", { ...e, viewBox: "0 0 48 48", children: [d("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" }), d("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" }), d("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" }), d("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" })] }), pD = yi(null), J5 = () => {
15756
15756
  const e = u0(pD), [t] = Q(() => new My());
15757
15757
  return Z(() => e || t, [e]);
15758
- }, mD = Oe.lazy(() => import("./Bvr3QlWdnOSnskWL.mjs")), fD = { lightbulb: { enabled: !1 }, tabSize: 2, acceptSuggestionOnCommitCharacter: !0, acceptSuggestionOnEnter: "on", accessibilitySupport: "auto", automaticLayout: !0, autoIndent: !1, codeLens: !0, colorDecorators: !0, contextmenu: !0, cursorBlinking: "blink", cursorSmoothCaretAnimation: !1, cursorStyle: "line", disableLayerHinting: !1, disableMonospaceOptimizations: !1, dragAndDrop: !0, glyphMargin: !0, fixedOverflowWidgets: !1, folding: !0, foldingStrategy: "auto", fontLigatures: !1, formatOnPaste: !0, formatOnType: !1, hideCursorInOverviewRuler: !1, highlightActiveIndentGuide: !0, links: !0, lineDecorationsWidth: 8, lineNumbersMinChars: 3, mouseWheelZoom: !1, multiCursorMergeOverlapping: !0, multiCursorModifier: "alt", overviewRulerBorder: !0, overviewRulerLanes: 2, quickSuggestions: !0, quickSuggestionsDelay: 100, readOnly: !1, renderControlCharacters: !1, renderFinalNewline: !0, renderIndentGuides: !0, renderLineHighlight: "all", renderWhitespace: "none", revealHorizontalRightPadding: 30, roundedSelection: !0, rulers: [], scrollBeyondLastColumn: 5, scrollBeyondLastLine: !0, selectOnLineNumbers: !0, selectionClipboard: !0, selectionHighlight: !0, showLightbulbIconMode: !1, showFoldingControls: "mouseover", smoothScrolling: !0, suggestOnTriggerCharacters: !0, wordBasedSuggestions: !0, wordSeparators: `~!@#$%^&*()-=+[{]}|;:'",.<>/?`, wordWrap: "off", wordWrapBreakAfterCharacters: " })]?|&,;", wordWrapBreakBeforeCharacters: "{([+", wordWrapBreakObtrusiveCharacters: ".", wordWrapColumn: 80, wordWrapMinified: !0, wrappingIndent: "none" }, ch = async (e, t, n) => {
15758
+ }, mD = Oe.lazy(() => import("./Be60UaEY4-jBg5EP.mjs")), fD = { lightbulb: { enabled: !1 }, tabSize: 2, acceptSuggestionOnCommitCharacter: !0, acceptSuggestionOnEnter: "on", accessibilitySupport: "auto", automaticLayout: !0, autoIndent: !1, codeLens: !0, colorDecorators: !0, contextmenu: !0, cursorBlinking: "blink", cursorSmoothCaretAnimation: !1, cursorStyle: "line", disableLayerHinting: !1, disableMonospaceOptimizations: !1, dragAndDrop: !0, glyphMargin: !0, fixedOverflowWidgets: !1, folding: !0, foldingStrategy: "auto", fontLigatures: !1, formatOnPaste: !0, formatOnType: !1, hideCursorInOverviewRuler: !1, highlightActiveIndentGuide: !0, links: !0, lineDecorationsWidth: 8, lineNumbersMinChars: 3, mouseWheelZoom: !1, multiCursorMergeOverlapping: !0, multiCursorModifier: "alt", overviewRulerBorder: !0, overviewRulerLanes: 2, quickSuggestions: !0, quickSuggestionsDelay: 100, readOnly: !1, renderControlCharacters: !1, renderFinalNewline: !0, renderIndentGuides: !0, renderLineHighlight: "all", renderWhitespace: "none", revealHorizontalRightPadding: 30, roundedSelection: !0, rulers: [], scrollBeyondLastColumn: 5, scrollBeyondLastLine: !0, selectOnLineNumbers: !0, selectionClipboard: !0, selectionHighlight: !0, showLightbulbIconMode: !1, showFoldingControls: "mouseover", smoothScrolling: !0, suggestOnTriggerCharacters: !0, wordBasedSuggestions: !0, wordSeparators: `~!@#$%^&*()-=+[{]}|;:'",.<>/?`, wordWrap: "off", wordWrapBreakAfterCharacters: " })]?|&,;", wordWrapBreakBeforeCharacters: "{([+", wordWrapBreakObtrusiveCharacters: ".", wordWrapColumn: 80, wordWrapMinified: !0, wrappingIndent: "none" }, ch = async (e, t, n) => {
15759
15759
  const o = e.getModel();
15760
15760
  if (!o) return;
15761
15761
  const r = await t.languages.typescript.getTypeScriptWorker(), i = await r(o.uri), l = await i.getNavigationTree(o.uri.toString()), s = e.getPosition();
@@ -15911,7 +15911,7 @@ const bD = Ce(Pe((e, t) => {
15911
15911
  }, []), L = re(null), T = he((O, V) => {
15912
15912
  h.current = { monaco: V, editor: O }, _(!0), x("Loading Types");
15913
15913
  const B = S.getScripts().getModules().search()[0]?.getSource() ?? "";
15914
- O.setValue(B), import("./DAZNeiMI9sOM-xd8.mjs").then(($) => $.c).then(($) => {
15914
+ O.setValue(B), import("./DlVsPuV-HRiRBisB.mjs").then(($) => $.c).then(($) => {
15915
15915
  x(""), $.AutoTypings.create(O, { shareCache: !0, monaco: V, onError: (G) => {
15916
15916
  G === "Not implemented yet" && (G = "Compile Errors"), console.warn("Error compiling types", G);
15917
15917
  } }).then(async (G) => {
@@ -16094,7 +16094,7 @@ const bD = Ce(Pe((e, t) => {
16094
16094
  r?.set(a, s);
16095
16095
  const c = s.toRGBA().toString();
16096
16096
  i?.set(c, s);
16097
- }, kD = Oe.lazy(() => import("./YS19x3zzRUKQqXu_.mjs")), ED = Ce(Pe((e, t) => {
16097
+ }, kD = Oe.lazy(() => import("./BHgGHdonH-Pv6AWm.mjs")), ED = Ce(Pe((e, t) => {
16098
16098
  const { selectedColor: n = null, previewColor: o = e.selectedColor ?? null, recentColors: r, schemeLookup: i, disableAlpha: l = !1, previewDebounceTime: s = 100, initialPanelType: a, defaultButtonSize: c = 24, width: u, onElementLoad: p, onDone: h, onEyeDropStart: f, onEyeDropStop: m, onPreviewColor: g, onPreviewColorImmediate: y, onSelectColor: w, autoColor: b, autoColorLabel: S = "Automatic", autoColorPosition: C = ss.Start, compareRGB: k = !1, darkMode: M = !1, ..._ } = e, z = o || n, E = he(g, [g]), I = he(y, [y]), x = he(w, [w]), v = he(f, [f]), L = he(m, [m]), [T, D] = Q(!1), P = g0(), R = Z(() => i || c0.getDefaultSchemeLookup(), [i]), O = Z(() => {
16099
16099
  const Y = /* @__PURE__ */ new Map(), de = /* @__PURE__ */ new Map(), Te = [];
16100
16100
  Oo("Primary Background", "bg1", R, Te, Y, de), Oo("Primary Text", "tx1", R, Te, Y, de), Oo("Secondary Background", "bg2", R, Te, Y, de), Oo("Secondary Text", "tx2", R, Te, Y, de), Oo("Accent 1", "accent1", R, Te, Y, de), Oo("Accent 2", "accent2", R, Te, Y, de), Oo("Accent 3", "accent3", R, Te, Y, de), Oo("Accent 4", "accent4", R, Te, Y, de), Oo("Accent 5", "accent5", R, Te, Y, de), Oo("Accent 6", "accent6", R, Te, Y, de);
@@ -16167,7 +16167,7 @@ const bD = Ce(Pe((e, t) => {
16167
16167
  }).catch((Y) => {
16168
16168
  D(!1), Y?.name !== "AbortError" && console.error(Y);
16169
16169
  });
16170
- }, children: d(ub, {}) }), [O, M]), ne = Z(() => {
16170
+ }, children: d(bb, {}) }), [O, M]), ne = Z(() => {
16171
16171
  if (!V) return;
16172
16172
  const Y = { opacity: V ? 1 : "0", position: "absolute", top: "0px", left: "0px", width: "100%", height: "100%", boxSizing: "border-box" };
16173
16173
  return d(Ps, { fallback: d("div", { style: Y, children: d(bi, {}) }), children: d(kD, { style: Y, selectedColor: z ? z.toRGBA().toString() : "transparent", onColorChange: ee, disableAlpha: l }) });
@@ -16844,7 +16844,7 @@ The heading font is '${t.getFontScheme().getMajorFont()}'.` }), placement: "bott
16844
16844
  }, selected: c, icon: xe(d(p ? w3 : v3, {})), ...l });
16845
16845
  })), eR = Ce(Pe((e, t) => {
16846
16846
  const { commands: n, commandHook: o, scope: r, disabled: i = !1, sx: l, ...s } = e, a = J((c, u) => {
16847
- const p = { variant: Qt.Menuitem, scope: "help", commandHook: { ...o, beforeExecute: (f, m) => o?.beforeExecute?.(f, m) !== !1 && c.floatReference.closeAll() }, disabled: i }, h = K(wt, { children: [d(Ae, { ...p, command: u.getCommand("showKeyboardShortcuts"), icon: xe(d(hb, {})) }), d($t, { orientation: "horizontal" }), d(Ae, { ...p, command: u.getCommand("gotoUrlGithub"), icon: xe(d(CS, {})) }), d(Ae, { ...p, command: u.getCommand("gotoUrlDiscord"), icon: xe(d(SS, {})) }), d(Ae, { ...p, command: u.getCommand("gotoUrlDocumentation"), icon: xe(d(V9, {})) }), d(Ae, { ...p, command: u.getCommand("gotoUrlIssue"), icon: xe(d(xS, {})) })] });
16847
+ const p = { variant: Qt.Menuitem, scope: "help", commandHook: { ...o, beforeExecute: (f, m) => o?.beforeExecute?.(f, m) !== !1 && c.floatReference.closeAll() }, disabled: i }, h = K(wt, { children: [d(Ae, { ...p, command: u.getCommand("showKeyboardShortcuts"), icon: xe(d(wb, {})) }), d($t, { orientation: "horizontal" }), d(Ae, { ...p, command: u.getCommand("gotoUrlGithub"), icon: xe(d(CS, {})) }), d(Ae, { ...p, command: u.getCommand("gotoUrlDiscord"), icon: xe(d(SS, {})) }), d(Ae, { ...p, command: u.getCommand("gotoUrlDocumentation"), icon: xe(d(V9, {})) }), d(Ae, { ...p, command: u.getCommand("gotoUrlIssue"), icon: xe(d(xS, {})) })] });
16848
16848
  return zn({ ...c, children: h });
16849
16849
  }, [i, o]);
16850
16850
  return d(Zn, { ref: t, sx: l, commands: n, disabled: i, commandHook: o, scope: r, label: "Help", tooltip: "Help, feedback, and keyboard shortcuts.", createPopupPanel: a, icon: xe(d(vS, { sx: { transform: "scale(0.75)" } })), ...s });
@@ -16973,7 +16973,7 @@ const xg = Ce(Pe((e, t) => {
16973
16973
  _.button === 0 && b();
16974
16974
  }, ...l, children: [d(Vr, { disableInteractive: !0, title: "Zoom Out", children: d(Xo, { sx: { padding: "0", "&:hover:not([disabled])": { color: (_) => _.palette.primary.main }, "& svg": { width: "12px", height: "12px" } }, size: "small", onPointerDown: (_) => {
16975
16975
  _.button !== 0 ? _.preventDefault() : S(_);
16976
- }, children: d(pb, {}) }) }), d(Xy, { ref: w, sx: { flex: "1 1 100%", padding: "6px 0px !important", marginRight: "2px", marginLeft: "2px", "& .MuiSlider-thumb": { height: 14, width: 6, borderRadius: 0.75, "&.Mui-focusVisible": { boxShadow: (_) => `0px 0px 0px 3px ${vu(_.palette.primary.main, 0.16)}` }, "&:focus, &:hover, &.Mui-active": { boxShadow: (_) => `0px 0px 0px 2px ${vu(_.palette.primary.main, 0.16)}` } }, "& .MuiSlider-mark": { width: "1px", height: "8px" }, "& .MuiSlider-markActive": { backgroundColor: "currentColor" }, "& .MuiSlider-thumb:not(.MuiSlider-active)": { transition: c ? "left 260ms ease-in" : "none" } }, valueLabelDisplay: "auto", size: "small", track: !1, min: 0, step: 1, value: m, max: 200, marks: [{ value: 100 }], onAnimationEnd: () => u(!1), onWheel: (_) => {
16976
+ }, children: d(vb, {}) }) }), d(Xy, { ref: w, sx: { flex: "1 1 100%", padding: "6px 0px !important", marginRight: "2px", marginLeft: "2px", "& .MuiSlider-thumb": { height: 14, width: 6, borderRadius: 0.75, "&.Mui-focusVisible": { boxShadow: (_) => `0px 0px 0px 3px ${vu(_.palette.primary.main, 0.16)}` }, "&:focus, &:hover, &.Mui-active": { boxShadow: (_) => `0px 0px 0px 2px ${vu(_.palette.primary.main, 0.16)}` } }, "& .MuiSlider-mark": { width: "1px", height: "8px" }, "& .MuiSlider-markActive": { backgroundColor: "currentColor" }, "& .MuiSlider-thumb:not(.MuiSlider-active)": { transition: c ? "left 260ms ease-in" : "none" } }, valueLabelDisplay: "auto", size: "small", track: !1, min: 0, step: 1, value: m, max: 200, marks: [{ value: 100 }], onAnimationEnd: () => u(!1), onWheel: (_) => {
16977
16977
  h(f(sr.findNextStep(n.getView().getZoomScale(), _.deltaY < 0, 10)));
16978
16978
  }, onKeyDown: (_) => {
16979
16979
  _.which === rn.Down || _.which === rn.Right ? (h(f(sr.findNextStep(n.getView().getZoomScale(), !0, 10))), _.preventDefault()) : _.which === rn.Up || _.which === rn.Left ? (h(f(sr.findNextStep(n.getView().getZoomScale(), !1, 10))), _.preventDefault()) : _.which !== rn.Enter && _.which !== rn.Escape || b();
@@ -16981,7 +16981,7 @@ const xg = Ce(Pe((e, t) => {
16981
16981
  Math.abs(z - 100) < 3 ? h(100) : h(z);
16982
16982
  }, valueLabelFormat: (_, z) => `Zoom: ${Math.round(s)}%` }), d(Vr, { disableInteractive: !0, title: "Zoom In", children: d(Xo, { sx: { padding: "0", "&:hover:not([disabled])": { color: (_) => _.palette.primary.main }, "& svg": { width: "12px", height: "12px" } }, size: "small", onPointerDown: (_) => {
16983
16983
  _.button !== 0 ? _.preventDefault() : C(_);
16984
- }, children: d(mb, {}) }) }), K(we, { sx: { display: "flex", flexDirection: "row" }, children: [d(we, { sx: { minWidth: "8px" } }), d(Ln, { noWrap: !0, component: "div", onClick: () => {
16984
+ }, children: d(xb, {}) }) }), K(we, { sx: { display: "flex", flexDirection: "row" }, children: [d(we, { sx: { minWidth: "8px" } }), d(Ln, { noWrap: !0, component: "div", onClick: () => {
16985
16985
  h(100);
16986
16986
  }, sx: { cursor: "pointer", display: "flex", flex: "1 1 100%", fontSize: "0.70rem", marginLeft: "2px", marginRight: "2px", userSelect: "none", justifyContent: "center", width: M }, children: d("div", { children: Math.round(s) + "%" }) })] })] });
16987
16987
  }));
@@ -17929,7 +17929,7 @@ const sR = (e, t) => d(Mg, { ref: t, ...e }), Dg = Ce(Pe((e, t) => {
17929
17929
  H.button === 0 && H.preventDefault();
17930
17930
  } })] }), [w, D]), B = g0(), [A, $] = Q(!1), G = Z(() => K(we, { sx: { display: "flex", flexDirection: "row", flex: "1 1 100%", gap: (H) => H.spacing(0.5), alignItems: "start" }, children: [V, K(M0, { elevation: 0, sx: { display: "flex", flexDirection: "row", flex: "1 1 100%", position: "relative", fontFamily: (H) => H.typography.fontFamily, fontSize: 11 * Rn.getDeviceScale(), "& .editor-placement": { top: "2px !important" }, boxShadow: "none", borderRadius: (H) => `${H.shape.borderRadius}px`, backgroundImage: `linear-gradient(${It("#fff", jn(5))}, ${It("#fff", jn(5))})`, border: (H) => `solid ${w ? H.palette.action.disabled : It(H.palette.divider, 0.2)} 1px`, "& textarea": { color: (H) => w ? `${H.palette.text.disabled} !important` : H.palette.text.primary }, "& .react-resizable-handle": { width: "100%", height: "8px", backgroundColor: "transparent", boxSizing: "content-box", zIndex: 1e3 }, "& .react-resizable-handle-s": { position: "absolute", bottom: "-10px", cursor: "s-resize" } }, onFocus: () => $(!0), onBlur: () => $(!1), onMouseDown: (H) => {
17931
17931
  H.target?.classList.contains("react-resizable-handle") && H.preventDefault();
17932
- }, children: [d(we, { className: "formula-editor", sx: { display: "flex", flexDirection: "row", flex: "1 1 100%", position: "relative", alignSelf: "baseline", paddingLeft: (H) => H.spacing(1), paddingRight: (H) => H.spacing(1) }, children: d(aR.ResizableBox, { height: k, draggableOpts: { grid: [C, C] }, minConstraints: [C, C], maxConstraints: [15 * C, 15 * C], onResize: v, onResizeStop: x, resizeHandles: ["s"], axis: "y", style: { display: "flex", flexDirection: "column", flex: "1 1 100%", overflow: "hidden" }, children: P }) }), d(zr, { sx: { padding: "0px", margin: "0px 0px", border: "none !important", "&.Mui-focusVisible": { border: "none" }, "&:hover:not([disabled])": { border: "none" } }, dense: !0, outlined: !1, "aria-label": "toggle-expand-formula-edit", icon: xe(d(E > 1 ? fb : hp, {})), tooltipProps: { label: (E > 1 ? "Collapse" : "Expand") + " Formula Bar", simple: !0 }, onMouseDown: (H) => {
17932
+ }, children: [d(we, { className: "formula-editor", sx: { display: "flex", flexDirection: "row", flex: "1 1 100%", position: "relative", alignSelf: "baseline", paddingLeft: (H) => H.spacing(1), paddingRight: (H) => H.spacing(1) }, children: d(aR.ResizableBox, { height: k, draggableOpts: { grid: [C, C] }, minConstraints: [C, C], maxConstraints: [15 * C, 15 * C], onResize: v, onResizeStop: x, resizeHandles: ["s"], axis: "y", style: { display: "flex", flexDirection: "column", flex: "1 1 100%", overflow: "hidden" }, children: P }) }), d(zr, { sx: { padding: "0px", margin: "0px 0px", border: "none !important", "&.Mui-focusVisible": { border: "none" }, "&:hover:not([disabled])": { border: "none" } }, dense: !0, outlined: !1, "aria-label": "toggle-expand-formula-edit", icon: xe(d(E > 1 ? Sb : fp, {})), tooltipProps: { label: (E > 1 ? "Collapse" : "Expand") + " Formula Bar", simple: !0 }, onMouseDown: (H) => {
17933
17933
  H.button === 0 && H.preventDefault();
17934
17934
  }, onClick: () => {
17935
17935
  const H = E > 1 ? 1 : _;
@@ -18271,8 +18271,8 @@ function Hg(e) {
18271
18271
  return { themeMode: Ih(), source: "media" };
18272
18272
  });
18273
18273
  return me(() => {
18274
- if (t && t !== n?.themeMode) return void o({ themeMode: t, source: "prop" });
18275
18274
  const r = () => {
18275
+ if (t) return void (t === n.themeMode && n.source === "prop" || o((c) => ({ ...c, themeMode: t, source: "prop" })));
18276
18276
  const a = Oh();
18277
18277
  if (a) o({ themeMode: a, source: "class" });
18278
18278
  else {
@@ -18352,8 +18352,8 @@ const As = Ce(Pe((e, t) => {
18352
18352
  const _ = d(we, { className: "overflow-palette-popup-panel", sx: { display: "flex", flexDirection: "row", flexWrap: "wrap", paddingTop: (z) => z.spacing(0.5), paddingBottom: (z) => z.spacing(0.5), paddingLeft: (z) => z.spacing(1), paddingRight: (z) => z.spacing(1), overflow: "hidden" }, children: M });
18353
18353
  return zn({ ...k, children: _ });
18354
18354
  }, [w]);
18355
- return K(we, { className: "overflow-palette", sx: { display: "flex", flexDirection: "row", flex: "1 1 100%", width: "100%", maxWidth: "100%", ...o }, ref: qs([l, s, t]), ...i, children: [d(we, { sx: { flexDirection: "row", display: "flex", maxWidth: "100%", flex: "1 1 100%" }, children: g ?? f }), d(we, { sx: { display: w !== null && w.length === 0 ? "none" : "flex", flex: "1 1 0" }, children: d(f0, { createPopupPanel: C, ref: c, parentFloat: S, createTooltip: ({ children: k }, M) => d(nr, { label: "More", description: "More toolbar options…", disabled: M, children: k }), icon: d(k9, { children: d(gb, {}) }) }) })] });
18356
- })), Bg = "https://unpkg.com/@sheetxl/scripting-templates/dist", hR = [{ key: "SheetXL", description: "SheetXL", mimeType: ".sxl", exts: ["sxl"], isDefault: !0, handler: async (e, t) => (await import("./CnXUhdLB8blNUvSr.mjs")).fromBufferJSON(e, t) }, { key: "CSV", description: "Comma Delimited", mimeType: "text/csv", exts: ["csv"], handler: async (e, t) => (await import("./T2YlNqs-LGJBm08C.mjs")).fromBufferCSV(e, t) }, { key: "Excel", description: "Excel Workbook", mimeType: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", exts: ["xlsx", "xls", "xlsm"], handler: async (e, t) => (await import("./D4DvAg7aaaWl0TPV.mjs").then((n) => n.i)).fromBufferXLSX(e, t) }], pR = [{ key: "SheetXL", mimeType: "application/vnd.sheetxl.sheet", description: "SheetXL", ext: "sxl", isDefault: !0, handler: async (e, t) => (await import("./CnXUhdLB8blNUvSr.mjs")).toBufferJSON(e, t) }, { key: "CSV", mimeType: "text/csv", description: "Comma Delimited", ext: "csv", handler: async (e, t) => (await import("./T2YlNqs-LGJBm08C.mjs")).toBufferCSV(e, t) }, { key: "Excel", mimeType: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", description: "Excel Workbook", ext: "xlsx", tags: ["SheetJS Pro"], handler: async (e, t) => (await import("./D4DvAg7aaaWl0TPV.mjs").then((n) => n.i)).toBufferXLSX(e, t) }];
18355
+ return K(we, { className: "overflow-palette", sx: { display: "flex", flexDirection: "row", flex: "1 1 100%", width: "100%", maxWidth: "100%", ...o }, ref: qs([l, s, t]), ...i, children: [d(we, { sx: { flexDirection: "row", display: "flex", maxWidth: "100%", flex: "1 1 100%" }, children: g ?? f }), d(we, { sx: { display: w !== null && w.length === 0 ? "none" : "flex", flex: "1 1 0" }, children: d(f0, { createPopupPanel: C, ref: c, parentFloat: S, createTooltip: ({ children: k }, M) => d(nr, { label: "More", description: "More toolbar options…", disabled: M, children: k }), icon: d(k9, { children: d(Cb, {}) }) }) })] });
18356
+ })), Bg = "https://unpkg.com/@sheetxl/scripting-templates/dist", hR = [{ key: "SheetXL", description: "SheetXL", mimeType: ".sxl", exts: ["sxl"], isDefault: !0, handler: async (e, t) => (await import("./i2tBquKvd69Lntmu.mjs")).fromBufferJSON(e, t) }, { key: "CSV", description: "Comma Delimited", mimeType: "text/csv", exts: ["csv"], handler: async (e, t) => (await import("./iUN2PzjdPItUTr7H.mjs")).fromBufferCSV(e, t) }, { key: "Excel", description: "Excel Workbook", mimeType: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", exts: ["xlsx", "xls", "xlsm"], handler: async (e, t) => (await import("./BKiH_cfuFpIWR0Kh.mjs").then((n) => n.i)).fromBufferXLSX(e, t) }], pR = [{ key: "SheetXL", mimeType: "application/vnd.sheetxl.sheet", description: "SheetXL", ext: "sxl", isDefault: !0, handler: async (e, t) => (await import("./i2tBquKvd69Lntmu.mjs")).toBufferJSON(e, t) }, { key: "CSV", mimeType: "text/csv", description: "Comma Delimited", ext: "csv", handler: async (e, t) => (await import("./iUN2PzjdPItUTr7H.mjs")).toBufferCSV(e, t) }, { key: "Excel", mimeType: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", description: "Excel Workbook", ext: "xlsx", tags: ["SheetJS Pro"], handler: async (e, t) => (await import("./BKiH_cfuFpIWR0Kh.mjs").then((n) => n.i)).toBufferXLSX(e, t) }];
18357
18357
  class $g {
18358
18358
  constructor(t = hR, n = pR) {
18359
18359
  this._readFormatTypes = [], this._writeFormatType = [], this._readFormatTypes = Object.freeze([...t]), this._writeFormatType = Object.freeze([...n]);
@@ -18742,7 +18742,7 @@ const zh = /^(con|prn|aux|nul|com\d|lpt\d)$/i, Fh = /[<>:"/\\|?*\u0000-\u001F]/g
18742
18742
  }, M2 = { fontSize: "0.8rem", marginRight: "4px" }, bR = Ce((e) => {
18743
18743
  const { disabled: t, snippet: n, description: o, handleInsert: r, sx: i, ...l } = e;
18744
18744
  let s;
18745
- return s = n.metadata?.icon === "formula" ? d(H9, { sx: M2 }) : n.metadata?.icon === "macro" ? d(T5, { sx: M2 }) : d(pp, { sx: M2 }), d(Tr, { sx: { maxWidth: "460px", display: "flex", "*": { lineHeight: "1.2" }, ...i }, disabled: t, icon: s, onMouseDown: (a) => {
18745
+ return s = n.metadata?.icon === "formula" ? d(H9, { sx: M2 }) : n.metadata?.icon === "macro" ? d(T5, { sx: M2 }) : d(gp, { sx: M2 }), d(Tr, { sx: { maxWidth: "460px", display: "flex", "*": { lineHeight: "1.2" }, ...i }, disabled: t, icon: s, onMouseDown: (a) => {
18746
18746
  a.button === 0 && a.preventDefault();
18747
18747
  }, onMouseUp: (a) => {
18748
18748
  a.button === 0 && r(n);
@@ -18806,7 +18806,7 @@ const D2 = { fontSize: "1rem" }, Ug = Ce(Pe((e, t) => {
18806
18806
  m && (y = K(we, { display: "flex", justifyContent: "center", alignItems: "center", className: co(i, "script-select", "error-results"), sx: { background: (b) => b.palette.error.light, flex: "0", zIndex: 1e3, flexDirection: "column", padding: (b) => b.spacing(1), border: (b) => `1px solid ${b.palette.error.main}`, borderBottomLeftRadius: 1, borderBottomRightRadius: 1, backgroundImage: `linear-gradient(${It("#fff", jn(5))}, ${It("#fff", jn(5))})` }, ...c, children: [d(Ln, { color: "error", variant: "h6", component: "div", gutterBottom: !0, children: "Error loading Templates" }), d(Ln, { color: "error", component: "div", children: m })] }));
18807
18807
  const w = (b) => {
18808
18808
  const S = b.metadata?.icon;
18809
- return S === "macro" ? d(T5, { sx: D2 }) : S === "formula" ? d(H9, { sx: D2 }) : S === "autostart" ? d(pp, { sx: D2 }) : null;
18809
+ return S === "macro" ? d(T5, { sx: D2 }) : S === "formula" ? d(H9, { sx: D2 }) : S === "autostart" ? d(gp, { sx: D2 }) : null;
18810
18810
  };
18811
18811
  return K(we, { ref: t, className: co(i, "script-select"), sx: { background: (b) => b.palette.background.paper, zIndex: 1e3, backgroundImage: `linear-gradient(${It("#fff", jn(5))}, ${It("#fff", jn(5))})`, ...r }, ...c, children: [K(we, { p: 3, className: "script-select-content", sx: { overflow: "auto", flex: "1 1 auto" }, children: [d(Ln, { variant: "h6", gutterBottom: !0, children: "Script Template" }), d(Ln, { variant: "body2", component: "div", color: "text.secondary", gutterBottom: !0, children: "Choose from a template to provide a starting point to automate tasks or create user defined functions." }), d(Ln, { variant: "body2", component: "div", color: "text.secondary", gutterBottom: !0, children: "Templates provide a foundation to customize and meet your specific needs." }), d(we, { sx: { display: "grid", gridTemplateColumns: `repeat(auto-fill, minmax(${l}px, 1fr))`, gap: `${a}px`, padding: 2, paddingLeft: "0px", paddingRight: "0px" }, children: u.map((b, S) => K(us, { variant: "outlined", sx: { minWidth: l, minHeight: s, display: "flex", flexDirection: "column", justifyContent: "flex-start", alignItems: "flex-start", textAlign: "left", padding: 2, textTransform: "none", overflow: "hidden", ...S === 0 && { borderStyle: "dashed", marginBottom: "8px" }, ...S === 1 && { gridColumn: "1" } }, onClick: () => o?.(b), children: [K(we, { sx: { display: "flex", flexDirection: "row", justifyContent: "space-between", alignItems: "center", width: "100%", marginBottom: 0.5 }, children: [d(Ln, { variant: "subtitle2", component: "div", children: b.metadata?.title || b.path.split("/").pop()?.replace(/\.\w+$/, "") || "Untitled" }), w(b)] }), b.metadata?.summary && d(Ln, { variant: "body2", component: "div", color: "text.secondary", sx: { overflow: "hidden", display: "flex", flexDirection: "column", textOverflow: "ellipsis", alignItems: "flex-start" }, children: b.metadata.summary })] }, `${b.path}-${S}`)) })] }), y] });
18812
18812
  }));
@@ -18839,7 +18839,7 @@ const qg = Ce(Pe((e, t) => {
18839
18839
  k.current?.start(O, { center: !1 }), O.stopPropagation(), O.preventDefault();
18840
18840
  }, onPointerUp: () => {
18841
18841
  M.current?.close();
18842
- }, children: d(o5, {}) }) })] }) }), [h, f]), P = Z(() => {
18842
+ }, children: d(r5, {}) }) })] }) }), [h, f]), P = Z(() => {
18843
18843
  let O;
18844
18844
  return b === null ? null : (b.source === null && (O = d(Ug, { sx: { display: "flex", flex: "1 1 100%", flexDirection: "column", overflow: "hidden", position: "absolute", boxSizing: "border-box", width: "100%", height: "100%" }, onScriptSelect: (V) => {
18845
18845
  M.current?.getEditor().insertSnippet(V.content), S({ source: V.content ?? "" });
@@ -18985,7 +18985,7 @@ const Zg = Ce(Pe((e, t) => {
18985
18985
  }, ...Y, ...h }) : null;
18986
18986
  }, [f, h, n, C]), ve = Z(() => L ? null : d(Vr, { disableInteractive: !0, title: "New sheet", children: d(Xo, { disabled: l, component: "div", sx: { padding: "0", "&:hover:not([disabled])": { color: (Y) => Y.palette.primary.main }, color: (Y) => Y.palette.text.icon ?? Y.palette.action.active, "& svg": { width: "18px", height: "18px" } }, "aria-label": "addTab", size: "small", onMouseDown: (Y) => {
18987
18987
  Y.button === 0 && Y.preventDefault();
18988
- }, onClick: () => O(), children: d(yb, {}) }) }), [l, L, O]);
18988
+ }, onClick: () => O(), children: d(kb, {}) }) }), [l, L, O]);
18989
18989
  return K(we, { ref: t, className: co(g), sx: { position: "relative", display: "flex", alignItems: "stretch", flex: "1 1 100%", maxWidth: "100%", ...w }, ...M, children: [d(ag, { ref: H, selectedTabIndex: _, tabNames: T, onSelectedTabIndexChange: D, onTabNameChange: P, onTabMove: R, background: m, borderColor: S, borderWidth: b, activeColor: null, disabled: l, disableDrag: L, createScrollStartButton: oC, createScrollEndButton: rC, createScrollEdgeButton: nC, createTabButton: le, createTabDivider: (Y) => {
18990
18990
  const { key: de, ...Te } = Y;
18991
18991
  return d($t, { sx: { marginLeft: "-1px", marginRight: "0px", marginTop: "6px", marginBottom: "6px", background: (ze) => It(ze.palette.divider, 0.25) }, ...Te }, de);
@@ -18997,7 +18997,7 @@ const Zg = Ce(Pe((e, t) => {
18997
18997
  Y.button === 0 && Y.preventDefault();
18998
18998
  }, onClick: () => {
18999
18999
  A ? te.close(0) : te.open(0);
19000
- }, icon: d(bb, {}) }) }) }), d("div", { style: { borderTop: `solid ${S} ${b}px`, minWidth: "4px" } }), d("div", { style: { borderTop: `solid ${S} ${b}px`, flex: "none", display: "flex", alignItems: "center" }, children: ve }), d("div", { style: { borderTop: `solid ${S} ${b}px`, flex: 1, minWidth: "24px" } }), X, N] });
19000
+ }, icon: d(Eb, {}) }) }) }), d("div", { style: { borderTop: `solid ${S} ${b}px`, minWidth: "4px" } }), d("div", { style: { borderTop: `solid ${S} ${b}px`, flex: "none", display: "flex", alignItems: "center" }, children: ve }), d("div", { style: { borderTop: `solid ${S} ${b}px`, flex: 1, minWidth: "24px" } }), X, N] });
19001
19001
  }));
19002
19002
  Kg.displayName = "WorkbookStrip";
19003
19003
  const Xg = Ce(Pe((e, t) => {
@@ -20329,7 +20329,7 @@ const zi = new SL(), P0 = { card: "_card_1a398_7", actionRoot: "_actionRoot_1a39
20329
20329
  a(n);
20330
20330
  }, [n, a]);
20331
20331
  let m = i?.message;
20332
- return !m && t5(o) && (m = o), m || typeof o != "string" || (m = o), m || (m = `Unknown Error: ${o}`), d(i3, { ref: t, className: co(P0.root, "error-snackbar"), children: K(tb, { className: P0.card, style: { backgroundColor: c.palette.error.dark, border: `1px solid ${c.palette.error.dark}` }, children: [K(nb, { className: P0.actionRoot, children: [l ? null : r?.error, d(Ln, { variant: "body2", component: "div", className: P0.typography, style: { color: c.palette.text.primary }, children: m }), d("div", { style: { flex: "1 1 auto" } }), K("div", { className: P0.icons, children: [i ? d(Xo, { "aria-label": "Show more", size: "small", className: co(P0.expand, { [P0.expandOpen]: u }), style: { color: c.palette.action.active }, onClick: h, children: d(hp, {}) }) : null, d(Xo, { size: "small", className: P0.expand, style: { color: c.palette.action.active }, onClick: f, children: d(o5, { fontSize: "small" }) })] })] }), i ? d(ob, { in: u, timeout: "auto", unmountOnExit: !0, children: d("div", { className: P0.stackTraceContainer, style: { backgroundColor: c.palette.error.light, borderTop: `1px solid ${c.palette.error.main}` }, children: d(M5, { error: i, hideLineNumbers: !0 }) }) }) : null] }) });
20332
+ return !m && t5(o) && (m = o), m || typeof o != "string" || (m = o), m || (m = `Unknown Error: ${o}`), d(i3, { ref: t, className: co(P0.root, "error-snackbar"), children: K(tb, { className: P0.card, style: { backgroundColor: c.palette.error.dark, border: `1px solid ${c.palette.error.dark}` }, children: [K(nb, { className: P0.actionRoot, children: [l ? null : r?.error, d(Ln, { variant: "body2", component: "div", className: P0.typography, style: { color: c.palette.text.primary }, children: m }), d("div", { style: { flex: "1 1 auto" } }), K("div", { className: P0.icons, children: [i ? d(Xo, { "aria-label": "Show more", size: "small", className: co(P0.expand, { [P0.expandOpen]: u }), style: { color: c.palette.action.active }, onClick: h, children: d(fp, {}) }) : null, d(Xo, { size: "small", className: P0.expand, style: { color: c.palette.action.active }, onClick: f, children: d(r5, { fontSize: "small" }) })] })] }), i ? d(ob, { in: u, timeout: "auto", unmountOnExit: !0, children: d("div", { className: P0.stackTraceContainer, style: { backgroundColor: c.palette.error.light, borderTop: `1px solid ${c.palette.error.main}` }, children: d(M5, { error: i, hideLineNumbers: !0 }) }) }) : null] }) });
20333
20333
  });
20334
20334
  py.displayName = "ToastError";
20335
20335
  const my = Ce(Pe((e, t) => {
@@ -20492,7 +20492,7 @@ const kL = (e) => {
20492
20492
  const { showModal: k } = ec();
20493
20493
  return me(() => {
20494
20494
  const M = () => new Promise((_, z) => {
20495
- const E = Oe.lazy(() => import("./BQNKKCtIvfOMph3T.mjs")), I = k(E, { title: "Shortcut Keys Reference", commands: S, onDone: () => {
20495
+ const E = Oe.lazy(() => import("./BSJUiUM1YTsyAkO6.mjs")), I = k(E, { title: "Shortcut Keys Reference", commands: S, onDone: () => {
20496
20496
  I.hide();
20497
20497
  }, TransitionProps: { onExited: () => {
20498
20498
  _(!0);
@@ -20557,7 +20557,7 @@ const kL = (e) => {
20557
20557
  const V = new Set(_.current);
20558
20558
  V.add(R.onceKey), _.current = V;
20559
20559
  }
20560
- const O = { variant: R?.type ?? G3, anchorOrigin: { vertical: "top", horizontal: "center" }, preventDuplicate: R?.preventDuplicate, persist: R?.persist ?? R?.type === D0, action: (V) => d(Xo, { onClick: () => g(V), children: d(wb, {}) }) };
20560
+ const O = { variant: R?.type ?? G3, anchorOrigin: { vertical: "top", horizontal: "center" }, preventDuplicate: R?.preventDuplicate, persist: R?.persist ?? R?.type === D0, action: (V) => d(Xo, { onClick: () => g(V), children: d(_b, {}) }) };
20561
20561
  R?.enqueueProps && Object.assign(O, R.enqueueProps), P || console.log("message is 'null'", R), m(P ?? "Alert", O);
20562
20562
  };
20563
20563
  return { showMessage: D, showBusy: (P, R) => {
@@ -20573,7 +20573,7 @@ const kL = (e) => {
20573
20573
  const V = { ...R, onKeyDown: (B) => {
20574
20574
  u?.dispatchToFocusedCommand(B), B.isDefaultPrevented() || B.isPropagationStopped() || R?.onKeyDown?.(B);
20575
20575
  } };
20576
- return C(P, { sort: () => import("./CcZUaOkODU7h0onP.mjs"), numberFormat: () => import("./CwjVlrJJqEGZX6q2.mjs"), hyperlink: () => import("./UWejV3W_nMwWqnxY.mjs"), comments: () => import("./CYpvNksOw1PyhLpA.mjs"), find: () => import("./VpP_qw0lmgCaHdHR.mjs"), tableDetails: () => import("./DrTLuc1VQWQfDAej.mjs"), tableNew: () => import("./DGUm6rEOgO8WrVtT.mjs"), namedDetails: () => import("./DGoy2q9hDB7kive6.mjs") }[P], V, O);
20576
+ return C(P, { sort: () => import("./RjtykFbCcbv4qS7T.mjs"), numberFormat: () => import("./BWsWm5Ktnddf-7sU.mjs"), hyperlink: () => import("./CSJOA0MduTRibCPc.mjs"), comments: () => import("./DtYTMRjYASQHh47Z.mjs"), find: () => import("./Bm9oowz3XGKUJAwu.mjs"), tableDetails: () => import("./bgdZRJ8Fv13W0mzX.mjs"), tableNew: () => import("./CnpSLh6bctHwICAg.mjs"), namedDetails: () => import("./CYkAU_Fwrj5HpveQ.mjs") }[P], V, O);
20577
20577
  }, showOptions: k, showInputOptions: M, showError: (P) => {
20578
20578
  let R, O = D0, V = "Unknown Error";
20579
20579
  typeof P == "string" ? V = P : P instanceof Error && (R = P, P.message && (V = P.message)), P instanceof Py && (O = G3), D(V, { type: O, enqueueProps: { error: R } });
@@ -20710,80 +20710,80 @@ export {
20710
20710
  $t as P,
20711
20711
  fk as Q,
20712
20712
  Av as R,
20713
- yk as S,
20713
+ UR as S,
20714
20714
  he as T,
20715
- bk as U,
20715
+ yk as U,
20716
20716
  gk as V,
20717
20717
  BL as W,
20718
- DD as X,
20718
+ bk as X,
20719
20719
  Yt as Y,
20720
20720
  cr as Z,
20721
20721
  Zu as _,
20722
20722
  jn as a,
20723
20723
  zi as a$,
20724
- RD as a0,
20725
- LD as a1,
20726
- OD as a2,
20727
- ID as a3,
20728
- AD as a4,
20729
- cg as a5,
20730
- PD as a6,
20731
- dg as a7,
20732
- ug as a8,
20733
- zD as a9,
20734
- KD as aA,
20735
- XD as aB,
20736
- YD as aC,
20737
- Sg as aD,
20738
- xg as aE,
20739
- Dg as aF,
20740
- Mg as aG,
20741
- Rg as aH,
20742
- cR as aI,
20743
- qD as aJ,
20744
- Lg as aK,
20745
- Og as aL,
20746
- Ig as aM,
20747
- GL as aN,
20748
- $R as aO,
20749
- Jg as aP,
20750
- Qg as aQ,
20751
- Xg as aR,
20752
- Kg as aS,
20753
- LR as aT,
20754
- OR as aU,
20755
- Xu as aV,
20756
- Lh as aW,
20757
- Hg as aX,
20758
- UR as aY,
20724
+ DD as a0,
20725
+ RD as a1,
20726
+ LD as a2,
20727
+ OD as a3,
20728
+ ID as a4,
20729
+ AD as a5,
20730
+ cg as a6,
20731
+ PD as a7,
20732
+ dg as a8,
20733
+ ug as a9,
20734
+ sg as aA,
20735
+ KD as aB,
20736
+ XD as aC,
20737
+ YD as aD,
20738
+ Sg as aE,
20739
+ xg as aF,
20740
+ Dg as aG,
20741
+ Mg as aH,
20742
+ Rg as aI,
20743
+ cR as aJ,
20744
+ qD as aK,
20745
+ Lg as aL,
20746
+ Og as aM,
20747
+ Ig as aN,
20748
+ GL as aO,
20749
+ $R as aP,
20750
+ Jg as aQ,
20751
+ Qg as aR,
20752
+ Xg as aS,
20753
+ Kg as aT,
20754
+ LR as aU,
20755
+ OR as aV,
20756
+ Xu as aW,
20757
+ Lh as aX,
20758
+ Hg as aY,
20759
20759
  Qu as aZ,
20760
20760
  SL as a_,
20761
- hg as aa,
20762
- UL as ab,
20763
- pg as ac,
20764
- Os as ad,
20765
- FD as ae,
20766
- ND as af,
20767
- VD as ag,
20768
- fg as ah,
20769
- HD as ai,
20770
- BD as aj,
20771
- jD as ak,
20772
- GD as al,
20773
- JD as am,
20774
- QD as an,
20775
- eR as ao,
20776
- bg as ap,
20777
- t3 as aq,
20778
- ZL as ar,
20779
- MD as as,
20780
- dh as at,
20781
- TD as au,
20782
- wD as av,
20783
- ss as aw,
20784
- ED as ax,
20785
- e3 as ay,
20786
- sg as az,
20761
+ zD as aa,
20762
+ hg as ab,
20763
+ UL as ac,
20764
+ pg as ad,
20765
+ Os as ae,
20766
+ FD as af,
20767
+ ND as ag,
20768
+ VD as ah,
20769
+ fg as ai,
20770
+ HD as aj,
20771
+ BD as ak,
20772
+ jD as al,
20773
+ GD as am,
20774
+ JD as an,
20775
+ QD as ao,
20776
+ eR as ap,
20777
+ bg as aq,
20778
+ t3 as ar,
20779
+ ZL as as,
20780
+ MD as at,
20781
+ dh as au,
20782
+ TD as av,
20783
+ wD as aw,
20784
+ ss as ax,
20785
+ ED as ay,
20786
+ e3 as az,
20787
20787
  Is as b,
20788
20788
  qg as b0,
20789
20789
  Zg as b1,