@sheetxl/studio-mui 0.8.0-beta.20 → 0.8.0-beta.22

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 (102) hide show
  1. package/browser/esm/{Cvwz0PddEGW1FJ4c.mjs → 4fBGyv6A2TxumCq-.mjs} +1 -1
  2. package/browser/esm/{DQNnDQPNut_4wO6Y.mjs → 94tsNi06fbT_N5QP.mjs} +1 -1
  3. package/browser/esm/{BuSv-OgJpZJGjcyA.mjs → B73fvq9CvO4zWnAU.mjs} +3 -3
  4. package/browser/esm/{C5ZWkOAoFpcZwFw2.mjs → BChPnCMzvz7cXxgX.mjs} +2 -2
  5. package/browser/esm/{UC9qbIWz2dYrCbJn.mjs → BKwBJsEKNY-Zg8CB.mjs} +2 -2
  6. package/browser/esm/{DHrJOjy3Du7ZBo96.mjs → BOlLywIc0l3AgTeQ.mjs} +3 -3
  7. package/browser/esm/{B4L3swgLGqcOHo7U.mjs → BYtWtukbMjjvrpmO.mjs} +6 -6
  8. package/browser/esm/{C72jL8eQk_hPFDLn.mjs → B_N6a3iKw4osibIz.mjs} +1 -1
  9. package/browser/esm/{bOlMSpqTkmRboj5-.mjs → BfiIvcOXqUoxIFoz.mjs} +2 -2
  10. package/browser/esm/{BRnwCembfaZpk0sc.mjs → BhT_uJEPxlXpMzZA.mjs} +35 -42
  11. package/browser/esm/{LQC_4LWJQR_JjcxV.mjs → BuAIHmOwBspXtuLo.mjs} +4 -4
  12. package/browser/esm/{BrdpRbJ-xKeF87FO.mjs → C-LSHx-5EgUmc44h.mjs} +6 -6
  13. package/browser/esm/{CgvHVv7iIzRRgmlF.mjs → C-rODYmI2nVNJxkV.mjs} +2 -2
  14. package/browser/esm/{D_VpGjXScR-D-TWZ.mjs → C1F9o-e9q6m9MuOd.mjs} +651 -651
  15. package/browser/esm/{BtrFK5bYpBJfHRDr.mjs → C1tObUn9YlTLNn25.mjs} +2 -2
  16. package/browser/esm/{CDJ0jdx7Km3a5v6w.mjs → C3lvgNO_MVml-Awy.mjs} +2 -2
  17. package/browser/esm/{VoncM-mkj4eoKD1J.mjs → CJlwai18BnsJScjr.mjs} +2 -2
  18. package/browser/esm/{LOzFCd9lrGWhNoCz.mjs → CMPdCzAvGvFQ_NOu.mjs} +2 -2
  19. package/browser/esm/{COkfKd7FvEtpgAAI.mjs → COFmQH3tB3uvu0v4.mjs} +1 -1
  20. package/browser/esm/{hbiHjiOvIyYM3TIl.mjs → CSgrMpZ0rZKxXZyj.mjs} +4 -4
  21. package/browser/esm/{ColttpEsydVwkHtf.mjs → CStCc2wP7hmm92t1.mjs} +2 -2
  22. package/browser/esm/{CSgwY4Yb3l0WoprP.mjs → CXvLc2JRNpJ9CiWw.mjs} +3 -3
  23. package/browser/esm/{6R-JS1ZrhnwQAyOl.mjs → CgtckX24zzJUIsPm.mjs} +4 -4
  24. package/browser/esm/{Bfb84N1ywaVZm9kH.mjs → CoVFWmiy6hWV8rPy.mjs} +4 -4
  25. package/browser/esm/{CzfkYZGGhFc_gq0P.mjs → CqmCCdvSBl4ksHpK.mjs} +4 -4
  26. package/browser/esm/{3xocDjPLOJXjOs3x.mjs → CtNLEdf5v8pGcG3C.mjs} +2 -2
  27. package/browser/esm/{BENsK9C3A3CnZyXZ.mjs → CuL7ggWqWMgPSTYd.mjs} +1 -1
  28. package/browser/esm/{BXVE3yfw5gdtyl-s.mjs → CwBN8jwNndijQgmx.mjs} +1 -1
  29. package/browser/esm/{DCxc5HMSf1ZSHRoi.mjs → CzhTxHyYCZp4qxKC.mjs} +2 -2
  30. package/browser/esm/{CGDNdoMTlI8f1kRw.mjs → D26ZjloyA6kyqhCO.mjs} +2 -2
  31. package/browser/esm/{D-3WlyQuxUZCwLkb.mjs → D3H9iUvXD2rOEXUz.mjs} +3 -3
  32. package/browser/esm/{D3bI-7D37_22_-T9.mjs → DB44ddihGazQSGaZ.mjs} +1 -1
  33. package/browser/esm/{DIZ9pueRPHaNzQqo.mjs → DCjDYZjRl7IH3hl7.mjs} +1 -1
  34. package/browser/esm/{BrZVnbTt-3DeAMxo.mjs → DEMQ4FkP_kNZF_wE.mjs} +1 -1
  35. package/browser/esm/{BAFzUBAc7BpGUWl_.mjs → DNdSq8U8iqBPrwOo.mjs} +1 -1
  36. package/browser/esm/{p-2ZZeZwGZfutcDk.mjs → DQbt4DNrmq-Uhlgk.mjs} +8 -8
  37. package/browser/esm/{DMifD__JRvHH4COB.mjs → DXRtL-ZwbSMLfMWu.mjs} +1 -1
  38. package/browser/esm/{D83oSH8xR3JfeRjI.mjs → DaCPqL3R4JLbgfKh.mjs} +2 -2
  39. package/browser/esm/{nmox4_ypwR5ILBKj.mjs → DdyE9R4gSZNhRZb0.mjs} +5 -5
  40. package/browser/esm/{D7ZdGXqJXmdAHu8I.mjs → De5GPX3SbEvetD0y.mjs} +1 -1
  41. package/browser/esm/{DF0hjPW_C_3TpnDs.mjs → Df0ygc7YMQG-3ATr.mjs} +1 -1
  42. package/browser/esm/{JBCZvp0T2f4n-Csb.mjs → Df13XIFEDDEusmq6.mjs} +2 -2
  43. package/browser/esm/{BTWjCKBwd6qXldxi.mjs → DkWzWQNmOvX1iJXV.mjs} +2 -2
  44. package/browser/esm/{C1XMVwyIJNbYmtkV.mjs → Dq5jd89jluXcrOEE.mjs} +5 -5
  45. package/browser/esm/{mlTMBwB5PG7Fo1mU.mjs → DqFTGLVzd9DQ8EhO.mjs} +20 -20
  46. package/browser/esm/{DobmIAozt-IiJp1P.mjs → Dqa4YY-GeaELqOWP.mjs} +2 -2
  47. package/browser/esm/{BWSZkGPSgg9pPKni.mjs → DrMsUvIwtq9dARmW.mjs} +4 -4
  48. package/browser/esm/{CGomW4hI6SQ96yIm.mjs → Dt3cLYWyjIUhoGv5.mjs} +2 -2
  49. package/browser/esm/{BSVc4NYkBnFa7T_w.mjs → IrJcYpXt_8rkAXkj.mjs} +3 -3
  50. package/browser/esm/{D3Aests6-QUrBfmJ.mjs → PujeLGgr7jXdyoVl.mjs} +1 -1
  51. package/browser/esm/{De7cege6OU7QJqBb.mjs → UkGnqCkXqASlUdkb.mjs} +4 -4
  52. package/browser/esm/{xLnpGjmsP-zJuXUE.mjs → dAjSLtkpLCkJDkhU.mjs} +1 -1
  53. package/browser/esm/{DGFdTu5VfKecMohK.mjs → eA3xhEFzK_Y-f3m3.mjs} +5 -5
  54. package/browser/esm/{C2MuUgU0H05eZ5qQ.mjs → es5d1Dk1vs-XYLkm.mjs} +2 -2
  55. package/browser/esm/{4RkuBXBVmw7VYQ2a.mjs → h0wby0g03NYV4-XW.mjs} +5 -5
  56. package/browser/esm/index.mjs +73 -46
  57. package/browser/esm/{ClqW5S7FR6Pwmp1U.mjs → ov0v-5BfNGRojfXZ.mjs} +2 -2
  58. package/browser/esm/{CHT8_XB3_hp307XA.mjs → t7Y081CM2JBXwlh-.mjs} +1 -1
  59. package/browser/esm/{DdtM4Sy4hFIFwWvO.mjs → veW5ER4LND6O438J.mjs} +1 -1
  60. package/browser/esm/{DwYjy-b-w1xnqteA.mjs → vsSZOEJBDfjVM46M.mjs} +2 -2
  61. package/node/esm/{GeLMvw9JlqlFr6jw.mjs → B5dbA7OTeRHtdFKK.mjs} +4 -4
  62. package/node/esm/{DAuVxjZwldORNkvx.mjs → BI4aQ23a2wqqskmY.mjs} +475 -475
  63. package/node/esm/{BXKb4oUGpTWCF8ni.mjs → BML2jZO-vGc6RS51.mjs} +2 -2
  64. package/node/esm/{D8RVd9U84QC8lAvP.mjs → BNJBkYIYk2zyHoU3.mjs} +1 -1
  65. package/node/esm/{BWIatgbno8eMdTy4.mjs → BPGz9KUMwgtyF6LG.mjs} +1 -1
  66. package/node/esm/{N8h_Ft32UJATwjlk.mjs → BjpAc-kSpia0lwjr.mjs} +1 -1
  67. package/node/esm/{Bqda2dQ0l75gjnDb.mjs → Bn2kMFZYznOun538.mjs} +1 -1
  68. package/node/esm/{BCYThTuIrSXfyd-N.mjs → Bppef7aHA2mOZ_sn.mjs} +1 -1
  69. package/node/esm/{XJAfD-_V2Sx4aW33.mjs → Bu647iy66qiv3-qM.mjs} +2 -2
  70. package/node/esm/{VeNMuIWoztqGMKsZ.mjs → BuDVpL6sgPNGIN7T.mjs} +1 -1
  71. package/node/esm/{DcIySopuRr-At74Y.mjs → Bzi3tHPQ3b7BGbwU.mjs} +1 -1
  72. package/node/esm/{CY8Mel9qXoQcoE6D.mjs → C4qWN7D3UW8jLaZK.mjs} +4 -4
  73. package/node/esm/{uCFRHXTVhzTQ53TT.mjs → C9dfS-Tk6WGogUSV.mjs} +2 -2
  74. package/node/esm/{CN5U8EzIhztKzktG.mjs → CF8UfOyBsfrrOyAH.mjs} +2 -2
  75. package/node/esm/{Cs9OyntWvICLrQk-.mjs → CM2JoqeXwIblrqJM.mjs} +2 -2
  76. package/node/esm/{CDj1mR4aA0wufjjK.mjs → CTsTUI34q8TBkdX5.mjs} +1 -1
  77. package/node/esm/{e5DJjIF9cuF9r_ub.mjs → Caf_ZRpLHj97cmhq.mjs} +1 -1
  78. package/node/esm/{539u16kqHOnXHBnN.mjs → CawfjLMD5X08VllQ.mjs} +2 -2
  79. package/node/esm/{DLx_RKfK6MMX0tiy.mjs → CbE22c6PmT_9BusX.mjs} +1 -1
  80. package/node/esm/{CJX21c9lbs0lFHFH.mjs → CcLCu4TIukHypMCt.mjs} +2 -2
  81. package/node/esm/{B5kuWO6ix3DmmdhQ.mjs → D1QZYBh1NZInkWaZ.mjs} +2 -2
  82. package/node/esm/{Dbg6kW_63xZ_x2es.mjs → DBB9QhddMWoyCmju.mjs} +2 -2
  83. package/node/esm/{Dpzk8tIhwke93vji.mjs → DLQ1x8uASVrHgCX2.mjs} +1 -1
  84. package/node/esm/{bIfQAr55kQq2xXaT.mjs → DLt7HmhROlJ1V8bV.mjs} +1 -1
  85. package/node/esm/{BqkiJZsCP2hEkJs9.mjs → DRigWgmIaYtEv5Lk.mjs} +1 -1
  86. package/node/esm/{D_dyzcsGBlCNrIVJ.mjs → DY96atQfGYmZ90TD.mjs} +4 -4
  87. package/node/esm/{BJLg7uLC_b9f_1NJ.mjs → Dg5D5zMNzygUWk51.mjs} +2 -2
  88. package/node/esm/{C-s3vhDAhWAnJntP.mjs → Dj16Fzha7o7DGv6z.mjs} +2 -2
  89. package/node/esm/{DcIZXVJ5TJYu8Xf1.mjs → DomLgHu8aLIg6y2l.mjs} +1 -1
  90. package/node/esm/{B_TEor8YFmwmyhWj.mjs → DrBGMrwOCXerStOS.mjs} +2 -2
  91. package/node/esm/{h0ih_bazDGjgIXQd.mjs → Dv8pWn_FIH1LYneP.mjs} +2 -2
  92. package/node/esm/{rEdJke7xorzb_Nmh.mjs → DxRENk3CWrgvcnJj.mjs} +2 -2
  93. package/node/esm/{B1WnY8cmRz7W1yrZ.mjs → G7AEbATGEFC09W8Z.mjs} +1 -1
  94. package/node/esm/{FHL9tW8a0eqpp8dm.mjs → GeB-AGYaOLPf4xIa.mjs} +127 -134
  95. package/node/esm/{CAfDDLrXsXte2avr.mjs → JieSP-_GeRIfiW8Z.mjs} +2 -2
  96. package/node/esm/{DSZIOgi3X_EmsT65.mjs → bXPPrX3OxYcCm85J.mjs} +1 -1
  97. package/node/esm/{CsnknBUOfx3FVTP_.mjs → eCWrCiaQxjPKI08p.mjs} +1 -1
  98. package/node/esm/index.mjs +542 -515
  99. package/node/esm/{3MP8rnjjEE0LpSoH.mjs → tt1hY7OYeKg-gSFj.mjs} +1 -1
  100. package/node/esm/{ymnOnQfaRduubuPk.mjs → wC3tHWypFfvBG8Fu.mjs} +1 -1
  101. package/package.json +9 -9
  102. package/types/src/studio/useStudioApp.d.ts +4 -3
@@ -1,24 +1,24 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.20
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.22
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: MIT
6
6
  */
7
- import { AutoFill as e, Color as t, CommonUtils as o, Condition as n, FontUtils as r, FormulaError as a, FormulaText as l, IBorders as i, ICalculation as s, ICell as c, ICellRange as d, ICellStyle as p, IColor as u, ICondition as m, IConditionalFormat as h, IFill as g, IFont as b, IFontCollection as f, IPivotTable as y, IRangeStats as x, ISheet as v, ITextFrame as k, ITheme as w, InternalClipboard as S, InteropScalarType as C, LicenseManager as T, LicenseManager as F, NumberFormat as D, ScalarType as N, Table as I, TimerUtils as B, builtInStyleNameDisplay as P, getLocaleProfile as R, pivotStylePreviewOf as M } from "@sheetxl/sdk";
8
- import { AUTO_FILL_PRESET_LABELS as O, COLOR_SCALE_PRESETS as A, COMMAND_META_KEY as L, DATA_BAR_PRESETS as K, DEFAULT_ANNOTATION_STYLES as E, DefaultSheetLayersRegistry as W, DefaultTaskPaneRegistry as z, DefaultTaskPaneRegistry as V, FunctionArgIcons as H, FunctionPreviewContent as $, FunctionSignature as G, ICON_SET_GALLERY_BLOCKS as U, IconSetGlyphs as q, LinkPreviewImage as j, NamedItemLabel as _, OutlineGlyph as Z, PRESENCE_ICON as Q, PRESENCE_PANE_KEY as Y, PRESENCE_PIN_ICON as X, PresenceCommandKeys as J, PresenceMessages as ee, PresenceStore as te, PresetChartType as oe, RangeAnnotationLayer as ne, ShapeGallery as re, SheetKindIcon as ae, SheetTab as le, SlicerStylePreview as ie, StaticBorderRenderer as se, StaticCellRenderer as ce, StyledStrokePath as de, TaskPaneKey as pe, ThemeStateDefaults as ue, ThemeStateKey as me, ThemedChartIcon as he, ValueChecklist as ge, WORKBOOK_TOOLBARS_KEY as be, WorkbookElement as fe, WorkbookIO as ye, WorkbookIO as xe, WorkbookStrip as ve, WorksheetElement as ke, argTypeKey as we, assembleCall as Se, contributeEditorCommands as Ce, createFunctionDescriptor as Te, createFunctionHint as Fe, createPresenceCommands as De, createSheetCellInput as Ne, describeConditionalIcon as Ie, editStringFromCell as Be, findSheetCircularReference as Pe, formatCellAddress as Re, formatCommentTime as Me, formatEvalValue as Oe, getConditionalIconSet as Ae, getPersonInitials as Le, getRangeAnnotationState as Ke, getSlicerStyleNames as Ee, iconSetPreset as We, isWalkedIntent as ze, outlineLevelColors as Ve, outlineLevelTextStyle as He, placeholderFromCell as $e, presetChartTypeDescriptor as Ge, registerMovableCommandGroups as Ue, registerPresenceCommandChrome as qe, selectCell as je, setPrintExamplesOnLoad as _e, shapeIconKey as Ze, toArgRows as Qe, useCommentThread as Ye, useFormulaInput as Xe, useFormulaInputParts as Je, useGridColorScheme as et, useInputField as tt, useInsertableCellControls as ot, useModelListener as nt, useModelListener as rt, useModelSync as at, usePresenceCommits as lt, usePresenceSnapshot as it, useRangeListener as st, useReferenceMode as ct, useTaskPaneArea as dt, useWindowChrome as pt, useWorkbook as ut, useWorkbookFormat as mt, useWorkbookName as ht, useWorksheet as gt } from "@sheetxl/react";
9
- import { Command as bt, CommandButtonEntryLabel as ft, CommandButtonType as yt, CommandScopeProvider as xt, DefaultCommandButtonRegistry as vt, DynamicIcon as kt, KeyCodes as wt, KeyboardAccessory as St, NotifierType as Ct, ReactUtils as Tt, RenderSlot as Ft, ResizableBox as Dt, SplitPane as Nt, ThemeModeFallbackContext as It, createThemeScopeClass as Bt, defaultTheme as Pt, exitEditMode as Rt, floatThemeScopeProps as Mt, isVirtualKeyboardUp as Ot, lazyComponent as At, measureUIText as Lt, themeSurfaceProps as Kt, useCallbackRef as Et, useCommandButtonEntry as Wt, useCommandButtonRegistry as zt, useCommandElement as Vt, useCommandScope as Ht, useCommands as $t, useDevicePixelRatio as Gt, useEditMode as Ut, useFloat as qt, useFloatStack as jt, useFloatSurface as _t, useImperativeElement as Zt, useLanguage as Qt, useLocationSearch as Yt, useMeasure as Xt, useMouseDownAndHoldListener as Jt, useNotifier as eo, useOptionalBoundSyncExternalStore as to, usePersistentState as oo, useResolvedThemeMode as no, useTextSelectionDrag as ro, useTranslator as ao, useVirtualKeyboard as lo } from "@sheetxl/utils-react";
10
- import io, { Fragment as so, Suspense as co, cloneElement as po, createContext as uo, createElement as mo, forwardRef as ho, isValidElement as go, memo as bo, useCallback as fo, useContext as yo, useEffect as xo, useId as vo, useImperativeHandle as ko, useLayoutEffect as wo, useMemo as So, useReducer as Co, useRef as To, useState as Fo } from "react";
7
+ import { AutoFill as e, Color as t, CommonUtils as o, Condition as n, FontUtils as r, FormulaError as a, FormulaText as l, IBorders as i, ICalculation as s, ICell as c, ICellRange as d, ICellStyle as p, IColor as u, ICondition as m, IConditionalFormat as h, IFill as g, IFont as b, IFontCollection as f, IPivotTable as y, IRangeStats as x, ISheet as k, ITextFrame as v, ITheme as w, InternalClipboard as S, InteropScalarType as C, LicenseManager as T, LicenseManager as F, NumberFormat as D, ScalarType as N, Table as I, TimerUtils as B, builtInStyleNameDisplay as P, getLocaleProfile as R, pivotStylePreviewOf as M } from "@sheetxl/sdk";
8
+ import { AUTO_FILL_PRESET_LABELS as O, COLOR_SCALE_PRESETS as A, COMMAND_META_KEY as L, DATA_BAR_PRESETS as K, DEFAULT_ANNOTATION_STYLES as E, DefaultSheetLayersRegistry as W, DefaultTaskPaneRegistry as z, DefaultTaskPaneRegistry as V, FunctionArgIcons as H, FunctionPreviewContent as $, FunctionSignature as G, ICON_SET_GALLERY_BLOCKS as U, IconSetGlyphs as q, LinkPreviewImage as j, NamedItemLabel as _, OutlineGlyph as Z, PRESENCE_ICON as Q, PRESENCE_PANE_KEY as Y, PRESENCE_PIN_ICON as X, PresenceCommandKeys as J, PresenceMessages as ee, PresenceStore as te, PresetChartType as oe, RangeAnnotationLayer as ne, ShapeGallery as re, SheetKindIcon as ae, SheetTab as le, SlicerStylePreview as ie, StaticBorderRenderer as se, StaticCellRenderer as ce, StyledStrokePath as de, TaskPaneKey as pe, ThemeStateDefaults as ue, ThemeStateKey as me, ThemedChartIcon as he, ValueChecklist as ge, WORKBOOK_TOOLBARS_KEY as be, WorkbookElement as fe, WorkbookIO as ye, WorkbookIO as xe, WorkbookStrip as ke, WorksheetElement as ve, argTypeKey as we, assembleCall as Se, contributeEditorCommands as Ce, createFunctionDescriptor as Te, createFunctionHint as Fe, createPresenceCommands as De, createSheetCellInput as Ne, describeConditionalIcon as Ie, editStringFromCell as Be, findSheetCircularReference as Pe, formatCellAddress as Re, formatCommentTime as Me, formatEvalValue as Oe, getConditionalIconSet as Ae, getPersonInitials as Le, getRangeAnnotationState as Ke, getSlicerStyleNames as Ee, iconSetPreset as We, isWalkedIntent as ze, outlineLevelColors as Ve, outlineLevelTextStyle as He, placeholderFromCell as $e, presetChartTypeDescriptor as Ge, registerMovableCommandGroups as Ue, registerPresenceCommandChrome as qe, selectCell as je, setPrintExamplesOnLoad as _e, shapeIconKey as Ze, toArgRows as Qe, useCommentThread as Ye, useFormulaInput as Xe, useFormulaInputParts as Je, useGridColorScheme as et, useInputField as tt, useInsertableCellControls as ot, useModelListener as nt, useModelListener as rt, useModelSync as at, usePresenceCommits as lt, usePresenceSnapshot as it, useRangeListener as st, useReferenceMode as ct, useTaskPaneArea as dt, useWindowChrome as pt, useWorkbook as ut, useWorkbookFormat as mt, useWorkbookName as ht, useWorksheet as gt } from "@sheetxl/react";
9
+ import { Command as bt, CommandButtonEntryLabel as ft, CommandButtonType as yt, CommandScopeProvider as xt, DefaultCommandButtonRegistry as kt, DynamicIcon as vt, KeyCodes as wt, KeyboardAccessory as St, NotifierType as Ct, ReactUtils as Tt, RenderSlot as Ft, ResizableBox as Dt, SplitPane as Nt, ThemeModeFallbackContext as It, createThemeScopeClass as Bt, defaultTheme as Pt, exitEditMode as Rt, floatThemeScopeProps as Mt, isVirtualKeyboardUp as Ot, lazyComponent as At, measureUIText as Lt, themeSurfaceProps as Kt, useCallbackRef as Et, useCommandButtonEntry as Wt, useCommandButtonRegistry as zt, useCommandElement as Vt, useCommandScope as Ht, useCommands as $t, useDevicePixelRatio as Gt, useEditMode as Ut, useFloat as qt, useFloatStack as jt, useFloatSurface as _t, useImperativeElement as Zt, useLanguage as Qt, useLocationSearch as Yt, useMeasure as Xt, useMouseDownAndHoldListener as Jt, useNotifier as eo, useOptionalBoundSyncExternalStore as to, usePersistentState as oo, useResolvedThemeMode as no, useTextSelectionDrag as ro, useTranslator as ao, useVirtualKeyboard as lo } from "@sheetxl/utils-react";
10
+ import io, { Fragment as so, Suspense as co, cloneElement as po, createContext as uo, createElement as mo, forwardRef as ho, isValidElement as go, memo as bo, useCallback as fo, useContext as yo, useEffect as xo, useId as ko, useImperativeHandle as vo, useLayoutEffect as wo, useMemo as So, useReducer as Co, useRef as To, useState as Fo } from "react";
11
11
  import { AnimatedLoadingPanel as Do, CommandButton as No, CommandGroup as Io, CommandPopupButton as Bo, CommandToolbar as Po, CommandTooltip as Ro, ContextMenu as Mo, ExhibitDivider as Oo, ExhibitFloatProvider as Ao, ExhibitIconButton as Lo, ExhibitMenuHeader as Ko, ExhibitMenuItem as Eo, ExhibitPopupIconButton as Wo, ExhibitPopupMenuItem as zo, ExhibitTooltip as Vo, InputCommandButton as Ho, LabelIcon as $o, LazyLoadErrorPanel as Go, MenuItemInsets as Uo, PopupButtonType as qo, SelectedIcon as jo, SimpleTooltip as _o, StackTraceErrorPanel as Zo, ToggleGroupButton as Qo, buttonLabelSx as Yo, createStrokeShadowFilter as Xo, defaultRenderPopupPanel as Jo, defaultRenderScrollButtonEdge as en, defaultRenderScrollButtonEnd as tn, defaultRenderScrollButtonStart as on, elevateColor as nn, hexToRGB as rn, lazyModal as an, lazyPanel as ln, renderMembers as sn, strokeShadowFilter as cn, useModal as dn } from "@sheetxl/utils-mui";
12
12
  import { Fragment as pn, jsx as un, jsxs as mn } from "react/jsx-runtime";
13
- import { Avatar as hn, Box as gn, Button as bn, ButtonBase as fn, Checkbox as yn, Collapse as xn, Divider as vn, FormControl as kn, FormControlLabel as wn, FormHelperText as Sn, IconButton as Cn, Input as Tn, InputAdornment as Fn, InputLabel as Dn, Link as Nn, List as In, ListItem as Bn, ListItemButton as Pn, ListItemIcon as Rn, ListItemText as Mn, ListSubheader as On, Menu as An, MenuItem as Ln, MenuList as Kn, Paper as En, Select as Wn, Slider as zn, SvgIcon as Vn, Tab as Hn, Tabs as $n, TextField as Gn, ToggleButton as Un, ToggleButtonGroup as qn, Typography as jn, alpha as _n, styled as Zn, tooltipClasses as Qn, useMediaQuery as Yn, useTheme as Xn } from "@mui/material";
13
+ import { Avatar as hn, Box as gn, Button as bn, ButtonBase as fn, Checkbox as yn, Collapse as xn, Divider as kn, FormControl as vn, FormControlLabel as wn, FormHelperText as Sn, IconButton as Cn, Input as Tn, InputAdornment as Fn, InputLabel as Dn, Link as Nn, List as In, ListItem as Bn, ListItemButton as Pn, ListItemIcon as Rn, ListItemText as Mn, ListSubheader as On, Menu as An, MenuItem as Ln, MenuList as Kn, Paper as En, Select as Wn, Slider as zn, SvgIcon as Vn, Tab as Hn, Tabs as $n, TextField as Gn, ToggleButton as Un, ToggleButtonGroup as qn, Typography as jn, alpha as _n, styled as Zn, tooltipClasses as Qn, useMediaQuery as Yn, useTheme as Xn } from "@mui/material";
14
14
  import { CommonUtils as Jn, CoordUtils as er, DOMUtils as tr, DefaultLanguagePackService as or, RangeAxis as nr, TimerUtils as rr, defineLazyModule as ar, messageKey as lr, t as ir } from "@sheetxl/utils";
15
15
  import sr, { clsx as cr } from "clsx";
16
16
  import { alpha as dr } from "@mui/system";
17
17
  import { useMergeRefs as pr } from "react-merge-refs";
18
18
  import { useFormContext as ur } from "react-hook-form";
19
19
  import { EditorDiv as mr, ListSearch as hr, PickList as gr, TooltipProvider as br, buildGridThemeCSS as fr, filterByText as yr, useTooltipSurface as xr } from "@sheetxl/grid-react";
20
- import { IOUtils as vr } from "@sheetxl/io";
21
- var kr = {
20
+ import { IOUtils as kr } from "@sheetxl/io";
21
+ var vr = {
22
22
  "anomalies.analyze": "Analyze",
23
23
  "anomalies.check.approximateMatch": "Approximate match",
24
24
  "anomalies.check.calculatedColumn": "Inconsistent calculated column formula",
@@ -1479,7 +1479,7 @@ var kr = {
1479
1479
  ], { DefaultCommandCatalogService: Sr } = bt, Cr = !1;
1480
1480
  function Tr() {
1481
1481
  Cr || (Cr = !0, Sr.registerFromManifest("@sheetxl/studio-mui", import.meta.url, {
1482
- messages: kr,
1482
+ messages: vr,
1483
1483
  catalogs: wr
1484
1484
  }));
1485
1485
  }
@@ -1648,13 +1648,13 @@ var Ir = {
1648
1648
  n,
1649
1649
  s,
1650
1650
  t
1651
- ]), v = fo((e) => {
1651
+ ]), k = fo((e) => {
1652
1652
  a?.(e), e.isDefaultPrevented() || e.keyCode === wt.Enter && o?.(t.toRGBA());
1653
1653
  }, [
1654
1654
  o,
1655
1655
  a,
1656
1656
  t
1657
- ]), k = So(() => 1 === t.toRGBA().alpha ? null : un(Or, {
1657
+ ]), v = So(() => 1 === t.toRGBA().alpha ? null : un(Or, {
1658
1658
  size: h,
1659
1659
  white: p,
1660
1660
  grey: u,
@@ -1684,11 +1684,11 @@ var Ir = {
1684
1684
  tabIndex: 0,
1685
1685
  ...g,
1686
1686
  onClick: b,
1687
- onKeyDown: v,
1687
+ onKeyDown: k,
1688
1688
  onMouseOver: f,
1689
1689
  onMouseLeave: y,
1690
1690
  onFocus: x,
1691
- children: [k, un("div", {
1691
+ children: [v, un("div", {
1692
1692
  style: {
1693
1693
  position: "absolute",
1694
1694
  top: "0px",
@@ -1706,7 +1706,7 @@ var Ir = {
1706
1706
  adjs: a.definition.adjs
1707
1707
  }, (e) => o(e)), b = p ? g.toRGBA().toString() : g.toString(), f = n && (p ? n.toRGBA().toString() : n.toString()) === b, y = r && (p ? r.toRGBA().toString() : r.toString()) === b, x = [];
1708
1708
  x.push({ [u.AdjustmentType.Inv]: !0 }), x.push({ [u.AdjustmentType.Alpha]: 100 });
1709
- const v = 0 === g.toRGBA().alpha && s?.alphaGrey ? s.alphaGrey : g.adjust(x).toRGBA(m).toString(), k = fo(() => {
1709
+ const k = 0 === g.toRGBA().alpha && s?.alphaGrey ? s.alphaGrey : g.adjust(x).toRGBA(m).toString(), v = fo(() => {
1710
1710
  l?.(a);
1711
1711
  }, [l, a]), w = fo((e) => {
1712
1712
  i?.(a);
@@ -1740,7 +1740,7 @@ var Ir = {
1740
1740
  children: mn(Ar, {
1741
1741
  selectedColor: g,
1742
1742
  title: void 0,
1743
- onSelectColor: k,
1743
+ onSelectColor: v,
1744
1744
  onPreviewColor: w,
1745
1745
  alphaCheckSize: d ? 9 : void 0,
1746
1746
  darkMode: m,
@@ -1752,7 +1752,7 @@ var Ir = {
1752
1752
  top: "0px",
1753
1753
  left: "0px",
1754
1754
  pointerEvents: "none",
1755
- borderColor: v,
1755
+ borderColor: k,
1756
1756
  borderWidth: "2px",
1757
1757
  borderStyle: "solid",
1758
1758
  boxSizing: "border-box",
@@ -1765,7 +1765,7 @@ var Ir = {
1765
1765
  top: "calc(50% - 0.5px)",
1766
1766
  transform: "translate(-50%,-50%)",
1767
1767
  pointerEvents: "none",
1768
- background: v,
1768
+ background: k,
1769
1769
  borderRadius: "50%",
1770
1770
  opacity: y ? "1" : "0"
1771
1771
  } })]
@@ -1868,8 +1868,8 @@ var Ir = {
1868
1868
  a?.set(c, s);
1869
1869
  const d = s.toRGBA().toString();
1870
1870
  l?.set(d, s);
1871
- }, zr = At(ar("studio:customColorPanel", () => import("./BCYThTuIrSXfyd-N.mjs")).load, { renderError: ({ error: e }) => un(Go, { error: e }) }), Vr = bo(ho((e, o) => {
1872
- const { selectedColor: n = null, previewColor: r = e.selectedColor ?? null, recentColors: a, schemeLookup: l, disableAlpha: i = !1, previewDebounceTime: s = 100, initialPanelType: c, defaultButtonSize: d = 24, width: p, onElementLoad: u, onDone: m, onEyeDropStart: h, onEyeDropStop: g, onPreviewColor: b, onPreviewColorImmediate: f, onSelectColor: y, autoColor: x, autoColorLabel: v, autoColorLabelKey: k, autoColorPosition: S = Br.Start, compareRGB: C = !1, darkMode: T = !1, style: F, ...D } = e, N = ao(), I = v ?? N(k ?? lr("color.automatic")), B = r || n, P = Et(b ?? ((e) => {}), [b]), R = Et(f ?? ((e) => {}), [f]), M = Et(y ?? ((e, t) => {}), [y]), O = Et(h ?? (() => {}), [h]), A = Et(g ?? (() => {}), [g]), [L, K] = Fo(!1), E = Xn(), W = So(() => l || t.getDefaultSchemeLookup(), [l]), z = So(() => {
1871
+ }, zr = At(ar("studio:customColorPanel", () => import("./Bppef7aHA2mOZ_sn.mjs")).load, { renderError: ({ error: e }) => un(Go, { error: e }) }), Vr = bo(ho((e, o) => {
1872
+ const { selectedColor: n = null, previewColor: r = e.selectedColor ?? null, recentColors: a, schemeLookup: l, disableAlpha: i = !1, previewDebounceTime: s = 100, initialPanelType: c, defaultButtonSize: d = 24, width: p, onElementLoad: u, onDone: m, onEyeDropStart: h, onEyeDropStop: g, onPreviewColor: b, onPreviewColorImmediate: f, onSelectColor: y, autoColor: x, autoColorLabel: k, autoColorLabelKey: v, autoColorPosition: S = Br.Start, compareRGB: C = !1, darkMode: T = !1, style: F, ...D } = e, N = ao(), I = k ?? N(v ?? lr("color.automatic")), B = r || n, P = Et(b ?? ((e) => {}), [b]), R = Et(f ?? ((e) => {}), [f]), M = Et(y ?? ((e, t) => {}), [y]), O = Et(h ?? (() => {}), [h]), A = Et(g ?? (() => {}), [g]), [L, K] = Fo(!1), E = Xn(), W = So(() => l || t.getDefaultSchemeLookup(), [l]), z = So(() => {
1873
1873
  const e = /* @__PURE__ */ new Map(), t = /* @__PURE__ */ new Map(), o = [];
1874
1874
  Wr(N("color.scheme.bg1"), "bg1", W, o, e, t), Wr(N("color.scheme.tx1"), "tx1", W, o, e, t), Wr(N("color.scheme.bg2"), "bg2", W, o, e, t), Wr(N("color.scheme.tx2"), "tx2", W, o, e, t), Wr(N("color.scheme.accent", { n: 1 }), "accent1", W, o, e, t), Wr(N("color.scheme.accent", { n: 2 }), "accent2", W, o, e, t), Wr(N("color.scheme.accent", { n: 3 }), "accent3", W, o, e, t), Wr(N("color.scheme.accent", { n: 4 }), "accent4", W, o, e, t), Wr(N("color.scheme.accent", { n: 5 }), "accent5", W, o, e, t), Wr(N("color.scheme.accent", { n: 6 }), "accent6", W, o, e, t);
1875
1875
  const n = w.buildPalette(o, W, e, t), r = [];
@@ -1970,7 +1970,7 @@ var Ir = {
1970
1970
  K(!1), "AbortError" !== e?.name && console.error(e);
1971
1971
  });
1972
1972
  },
1973
- children: un(kt, { iconKey: "Colorize" })
1973
+ children: un(vt, { iconKey: "Colorize" })
1974
1974
  });
1975
1975
  }, [z, T]), ee = So(() => {
1976
1976
  if (!V) return;
@@ -2079,7 +2079,7 @@ var Ir = {
2079
2079
  children: [mn("div", {
2080
2080
  style: { opacity: V ? "0" : 1 },
2081
2081
  children: [
2082
- oe && S === Br.Start ? mn(pn, { children: [oe, un(vn, { style: {
2082
+ oe && S === Br.Start ? mn(pn, { children: [oe, un(kn, { style: {
2083
2083
  marginTop: "2px",
2084
2084
  marginBottom: "10px"
2085
2085
  } })] }) : null,
@@ -2106,7 +2106,7 @@ var Ir = {
2106
2106
  compareRGB: C,
2107
2107
  darkMode: T
2108
2108
  }),
2109
- un(vn, { style: { marginBottom: "10px" } }),
2109
+ un(kn, { style: { marginBottom: "10px" } }),
2110
2110
  un(Kr, {
2111
2111
  title: N("color.standardColors"),
2112
2112
  schemeColorLookup: W,
@@ -2124,7 +2124,7 @@ var Ir = {
2124
2124
  opacity: 0 === z.recentColorsLimited.length ? "0" : void 0,
2125
2125
  display: 0 === z.recentColorsLimited.length ? "none" : void 0
2126
2126
  },
2127
- children: [un(vn, { style: { marginBottom: "10px" } }), un(Kr, {
2127
+ children: [un(kn, { style: { marginBottom: "10px" } }), un(Kr, {
2128
2128
  title: N("color.recentColors"),
2129
2129
  schemeColorLookup: W,
2130
2130
  colorDefs: z.recentColorsLimited,
@@ -2138,7 +2138,7 @@ var Ir = {
2138
2138
  })]
2139
2139
  }),
2140
2140
  oe && S === Br.End ? mn(pn, { children: [
2141
- un(vn, { sx: {
2141
+ un(kn, { sx: {
2142
2142
  marginTop: "2px",
2143
2143
  marginBottom: "2px"
2144
2144
  } }),
@@ -2148,7 +2148,7 @@ var Ir = {
2148
2148
  ]
2149
2149
  }), ee]
2150
2150
  }),
2151
- un(vn, { style: { marginBottom: "10px" } }),
2151
+ un(kn, { style: { marginBottom: "10px" } }),
2152
2152
  mn("div", {
2153
2153
  style: {
2154
2154
  display: "flex",
@@ -2210,20 +2210,20 @@ var Ir = {
2210
2210
  })
2211
2211
  ]
2212
2212
  });
2213
- })), Hr = un(kt, { iconKey: "circle.colored" }), $r = bo(ho((e, t) => {
2214
- const { selectedColor: o, quickColor: n, icon: r = Hr, tooltip: a, label: l, onPreviewColor: i, onPreviewColorImmediate: s, onSelectColor: c, variant: d = qo.Toolbar, propsPanel: p, shouldCloseFloatAll: u = !0, compareRGB: m = !1, darkMode: h = !1, ...g } = e, b = Et(i ?? ((e) => {}), [i]), f = Et(s ?? ((e) => {}), [s]), y = Et(c ?? ((e, t) => {}), [c]), [x, v] = Fo(() => {}), [k, w] = Fo(!1), S = n || (k ? x : void 0) || o || p?.autoColor, C = To(!1), T = fo(() => {
2213
+ })), Hr = un(vt, { iconKey: "circle.colored" }), $r = bo(ho((e, t) => {
2214
+ const { selectedColor: o, quickColor: n, icon: r = Hr, tooltip: a, label: l, onPreviewColor: i, onPreviewColorImmediate: s, onSelectColor: c, variant: d = qo.Toolbar, propsPanel: p, shouldCloseFloatAll: u = !0, compareRGB: m = !1, darkMode: h = !1, ...g } = e, b = Et(i ?? ((e) => {}), [i]), f = Et(s ?? ((e) => {}), [s]), y = Et(c ?? ((e, t) => {}), [c]), [x, k] = Fo(() => {}), [v, w] = Fo(!1), S = n || (v ? x : void 0) || o || p?.autoColor, C = To(!1), T = fo(() => {
2215
2215
  w(!1);
2216
2216
  }, []), F = Et(() => {
2217
- v(o), w(!0);
2217
+ k(o), w(!0);
2218
2218
  }, [o]), D = Et((e) => {
2219
- C.current || (v(e), b?.(e));
2219
+ C.current || (k(e), b?.(e));
2220
2220
  }, [b]), N = Et((e) => {
2221
- C.current || (v(e), f?.(e));
2221
+ C.current || (k(e), f?.(e));
2222
2222
  }, [f]), I = Et((e, t) => {
2223
- C.current || (v(void 0), y?.(e, t));
2223
+ C.current || (k(void 0), y?.(e, t));
2224
2224
  }, [y]), B = So(() => {
2225
2225
  let e = "function" == typeof r ? r() : r;
2226
- "string" == typeof e && (e = un(kt, { iconKey: e }));
2226
+ "string" == typeof e && (e = un(vt, { iconKey: e }));
2227
2227
  const t = (e) => e && "none" !== e ? e : void 0, o = t(S?.toCSS(h)) ?? t(p?.autoColor?.toCSS(h)) ?? "transparent";
2228
2228
  return un(gn, {
2229
2229
  className: "color-wrapper",
@@ -2456,7 +2456,7 @@ var qr = (e) => {
2456
2456
  h += `M ${(e + i * t / 4 + .5) / l - a},${(e + o * t / 4 + .5) / l - a} h ${r} v ${r} h ${-r} Z `;
2457
2457
  }
2458
2458
  }
2459
- return mn(kt, { children: [" ", un(gn, {
2459
+ return mn(vt, { children: [" ", un(gn, {
2460
2460
  ref: n,
2461
2461
  className: "border-icon",
2462
2462
  sx: {
@@ -2533,10 +2533,10 @@ var Zr = Object.freeze({
2533
2533
  dot: n
2534
2534
  };
2535
2535
  }, Xr = bo(ho((e, o) => {
2536
- const { autoColor: n, schemeLookup: r, autoStrokeStyle: a = i.StrokeStyle.Thin, disabled: l, darkMode: s = !1, showStylingBefore: c = !0, onSelectBorder: d, onPreviewBorder: p, selectedBorder: m, createBorder: h, ...g } = e, b = Et(d ?? ((e) => {}), [d]), f = Et(p ?? ((e) => {}), [p]), y = ao(), x = Wt("borderOptions"), [v, k] = Fo(), [w, S] = Fo(), C = m || { bottom: {
2536
+ const { autoColor: n, schemeLookup: r, autoStrokeStyle: a = i.StrokeStyle.Thin, disabled: l, darkMode: s = !1, showStylingBefore: c = !0, onSelectBorder: d, onPreviewBorder: p, selectedBorder: m, createBorder: h, ...g } = e, b = Et(d ?? ((e) => {}), [d]), f = Et(p ?? ((e) => {}), [p]), y = ao(), x = Wt("borderOptions"), [k, v] = Fo(), [w, S] = Fo(), C = m || { bottom: {
2537
2537
  style: a,
2538
2538
  color: n?.toString() ?? u.Named.Gray
2539
- } }, T = v ?? C?.bottom?.style ?? a, F = w ?? (C?.bottom?.color ? new t(C?.bottom?.color, r) : void 0) ?? n ?? null, D = Et((e) => un(_r, {
2539
+ } }, T = k ?? C?.bottom?.style ?? a, F = w ?? (C?.bottom?.color ? new t(C?.bottom?.color, r) : void 0) ?? n ?? null, D = Et((e) => un(_r, {
2540
2540
  border: e,
2541
2541
  createBorder: h
2542
2542
  }), [h]), N = fo((e, t, o) => {
@@ -2629,7 +2629,7 @@ var Zr = Object.freeze({
2629
2629
  },
2630
2630
  children: [un($r, {
2631
2631
  variant: qo.Toolbar,
2632
- icon: un(kt, { iconKey: "stroke.colored" }),
2632
+ icon: un(vt, { iconKey: "stroke.colored" }),
2633
2633
  selectedColor: T === i.StrokeStyle.None ? new t("transparent") : F ?? new t("transparent"),
2634
2634
  onPreviewColor: (e) => {
2635
2635
  S(e);
@@ -2649,7 +2649,7 @@ var Zr = Object.freeze({
2649
2649
  shouldCloseFloatAll: !1
2650
2650
  }), un(jr, {
2651
2651
  selectedStyle: T,
2652
- onSelectStyle: k,
2652
+ onSelectStyle: v,
2653
2653
  styleColor: F,
2654
2654
  darkMode: s,
2655
2655
  variant: qo.Toolbar
@@ -2697,7 +2697,7 @@ var Zr = Object.freeze({
2697
2697
  ...g
2698
2698
  });
2699
2699
  })), Jr = bo(ho((e, t) => {
2700
- const { commandKey: o, variant: n = yt.Toolbar, disabled: r, autoColor: a, autoStrokeStyle: l, schemeLookup: i, createBorder: s, selectedBorder: c, onSelectBorder: d, darkMode: p, icon: u, label: m, ...h } = e, g = $t([o ?? "formatBorder"])[0], b = g?.getContext() ?? null, f = b?.autoColor ?? a, y = b?.autoStyle ?? l, x = c ?? b?.quickBorder, v = et(), k = p ?? "dark" === v, w = s ?? b?.createBorder, S = i ?? b?.schemeLookup, C = Et((e) => {
2700
+ const { commandKey: o, variant: n = yt.Toolbar, disabled: r, autoColor: a, autoStrokeStyle: l, schemeLookup: i, createBorder: s, selectedBorder: c, onSelectBorder: d, darkMode: p, icon: u, label: m, ...h } = e, g = $t([o ?? "formatBorder"])[0], b = g?.getContext() ?? null, f = b?.autoColor ?? a, y = b?.autoStyle ?? l, x = c ?? b?.quickBorder, k = et(), v = p ?? "dark" === k, w = s ?? b?.createBorder, S = i ?? b?.schemeLookup, C = Et((e) => {
2701
2701
  b?.onBorderSelect && b.onBorderSelect(e), d?.(e), g?.execute(e);
2702
2702
  }, [g, d]), T = fo((e) => {
2703
2703
  const { disabled: t, children: a, title: l, ...i } = e;
@@ -2713,7 +2713,7 @@ var Zr = Object.freeze({
2713
2713
  return un(Xr, {
2714
2714
  ref: t,
2715
2715
  autoColor: f,
2716
- darkMode: k,
2716
+ darkMode: v,
2717
2717
  autoStrokeStyle: y,
2718
2718
  createBorder: w,
2719
2719
  schemeLookup: S,
@@ -2746,7 +2746,7 @@ var Zr = Object.freeze({
2746
2746
  }) : null, [b]), y = Xn(), x = So(() => `${Lt("12.3", {
2747
2747
  size: Math.round(y.typography.fontSize),
2748
2748
  family: y.typography.fontFamily ?? ""
2749
- })}px`, [y]), v = l ?? (!p || p.disabled()), k = ro(), w = fo((e) => {
2749
+ })}px`, [y]), k = l ?? (!p || p.disabled()), v = ro(), w = fo((e) => {
2750
2750
  const { onMouseDown: t, onMouseUp: o, ...n } = e;
2751
2751
  return un(Cn, {
2752
2752
  component: "div",
@@ -2758,8 +2758,8 @@ var Zr = Object.freeze({
2758
2758
  inputProps: {
2759
2759
  name: "font-input",
2760
2760
  autoComplete: "off",
2761
- onPointerDown: k.onPointerDown,
2762
- onDragStart: k.onDragStart,
2761
+ onPointerDown: v.onPointerDown,
2762
+ onDragStart: v.onDragStart,
2763
2763
  tabIndex: 0,
2764
2764
  type: "number",
2765
2765
  maxLength: 4,
@@ -2817,9 +2817,9 @@ var Zr = Object.freeze({
2817
2817
  });
2818
2818
  }, [
2819
2819
  m,
2820
- v,
2820
+ k,
2821
2821
  p,
2822
- k
2822
+ v
2823
2823
  ]), S = fo((e) => {
2824
2824
  const t = (e) => {
2825
2825
  p?.execute(e);
@@ -2877,13 +2877,13 @@ var Zr = Object.freeze({
2877
2877
  ...e,
2878
2878
  children: r
2879
2879
  });
2880
- }, [v, p]);
2880
+ }, [k, p]);
2881
2881
  return un(Wo, {
2882
2882
  ref: t,
2883
2883
  sx: { ...c },
2884
2884
  tabIndex: -1,
2885
2885
  outlined: !0,
2886
- disabled: v,
2886
+ disabled: k,
2887
2887
  renderPopupPanel: S,
2888
2888
  renderTooltip: ({ children: e, disabled: t }) => un(Vo, {
2889
2889
  label: p?.getLabel(),
@@ -3095,7 +3095,7 @@ var oa = (e, t) => {
3095
3095
  disabled: t,
3096
3096
  children: e
3097
3097
  }),
3098
- icon: un(kt, { iconKey: "CurrencyDollar" }),
3098
+ icon: un(vt, { iconKey: "CurrencyDollar" }),
3099
3099
  label: s?.getLabel?.(r),
3100
3100
  ...a
3101
3101
  });
@@ -3294,7 +3294,7 @@ var pa = bo(ho((e, t) => {
3294
3294
  pa.displayName = "NumberFormatCommandButton";
3295
3295
  var ua = ({ entry: e }) => {
3296
3296
  const t = e.meta[L] ?? "", [o] = $t([t]), n = t ? o?.getIcon() : void 0;
3297
- return n ? "string" == typeof n ? un(kt, { iconKey: n }) : n : un(kt, {});
3297
+ return n ? "string" == typeof n ? un(vt, { iconKey: n }) : n : un(vt, {});
3298
3298
  }, ma = { agent: {
3299
3299
  icon: "Agent",
3300
3300
  label: (e) => e("undo.author.agent")
@@ -3315,7 +3315,7 @@ var ua = ({ entry: e }) => {
3315
3315
  ml: 1,
3316
3316
  color: "text.secondary"
3317
3317
  },
3318
- children: un(kt, { iconKey: o.icon })
3318
+ children: un(vt, { iconKey: o.icon })
3319
3319
  })
3320
3320
  });
3321
3321
  }, ga = bo(ho((e, t) => {
@@ -3324,7 +3324,7 @@ var ua = ({ entry: e }) => {
3324
3324
  const u = $t(p), m = ao(), h = u[0], g = u[1], b = l ?? h?.getContext?.()?.undoManager;
3325
3325
  let f = c;
3326
3326
  c || (f = !h || h.disabled(), g && !g.disabled() && (f = !1));
3327
- const [y, x] = Fo(0), v = fo((e) => {
3327
+ const [y, x] = Fo(0), k = fo((e) => {
3328
3328
  let t = 0 === y ? "Cancel" : `${h?.getLabel()} ${y} Action${1 === y ? "" : "s"}`, o = !1;
3329
3329
  b || (o = !0), o || (o = a ? !b.hasRedo() && !b.hasUndo() : !b.hasRedo());
3330
3330
  const n = (e) => {
@@ -3463,7 +3463,7 @@ var ua = ({ entry: e }) => {
3463
3463
  disabled: f,
3464
3464
  label: h?.getLabel(i) ?? (r ? "Redo" : "Undo"),
3465
3465
  tooltip: un(pn, { children: un("span", { children: `${h?.getLabel() ?? "No"} last actions.` }) }),
3466
- renderPopupPanel: v,
3466
+ renderPopupPanel: k,
3467
3467
  icon: n ?? (r ? "Redo" : "Undo"),
3468
3468
  selected: !1,
3469
3469
  ...d
@@ -3472,17 +3472,17 @@ var ua = ({ entry: e }) => {
3472
3472
  const { commandKey: n, groupKey: r, onSelectColor: a, disabled: l, variant: i = yt.Toolbar, quickColor: s, propsPanel: c, isSplit: d = !1, darkMode: p, icon: u, ...m } = e, { autoColor: h, schemeLookup: g, recentColors: b, ...f } = c ?? {};
3473
3473
  if (m.selectedColor) throw new Error("Command selectedColor will be used. Do not try to provide one as a direct argument");
3474
3474
  const [y] = $t([n ?? ""]), x = y?.getContext();
3475
- let v = s ?? x?.quickColor;
3476
- d && !v && (v = new t("transparent"));
3477
- const k = void 0 !== h ? h : x?.autoColor, w = g ?? x?.schemeLookup, S = b ?? x?.recentColors, C = et(), T = p ?? "dark" === C, F = So(() => ({
3478
- autoColor: k,
3475
+ let k = s ?? x?.quickColor;
3476
+ d && !k && (k = new t("transparent"));
3477
+ const v = void 0 !== h ? h : x?.autoColor, w = g ?? x?.schemeLookup, S = b ?? x?.recentColors, C = et(), T = p ?? "dark" === C, F = So(() => ({
3478
+ autoColor: v,
3479
3479
  schemeLookup: w,
3480
3480
  recentColors: S,
3481
3481
  darkMode: T,
3482
3482
  ...Kt("grid", T ? "dark" : "light"),
3483
3483
  ...f
3484
3484
  }), [
3485
- k,
3485
+ v,
3486
3486
  w,
3487
3487
  S,
3488
3488
  T
@@ -3507,7 +3507,7 @@ var ua = ({ entry: e }) => {
3507
3507
  ref: o,
3508
3508
  propsPanel: F,
3509
3509
  icon: u ?? y?.getIcon(),
3510
- quickColor: v,
3510
+ quickColor: k,
3511
3511
  selectedColor: y?.getState(),
3512
3512
  onSelectColor: D,
3513
3513
  variant: i === yt.Menuitem ? qo.Menuitem : qo.Toolbar,
@@ -3708,12 +3708,12 @@ var fa = bo(ho((e, t) => {
3708
3708
  quickCommand: "paste",
3709
3709
  ...r
3710
3710
  });
3711
- })), va = (e, t) => {
3711
+ })), ka = (e, t) => {
3712
3712
  const o = P(e);
3713
3713
  return o ? t(o.key, o.params) : e;
3714
- }, ka = (e, t) => {
3714
+ }, va = (e, t) => {
3715
3715
  const o = new Intl.Collator(or.getActive(), { numeric: !0 });
3716
- return [...e].sort((e, n) => o.compare(va(e, t), va(n, t)));
3716
+ return [...e].sort((e, n) => o.compare(ka(e, t), ka(n, t)));
3717
3717
  }, wa = bo((e) => {
3718
3718
  const { namedStyle: t, selectedNamed: o, hasContextMenu: n = !0, onSelectNamed: r, createCell: a, disabled: l, ...i } = e, s = ao(), c = fo((e) => {
3719
3719
  const o = {
@@ -3768,7 +3768,7 @@ var fa = bo(ho((e, t) => {
3768
3768
  border: (e) => `solid ${d ? e.palette.primary.dark : "transparent"} 1px`
3769
3769
  },
3770
3770
  propsTooltip: {
3771
- label: va(t.getName(), s),
3771
+ label: ka(t.getName(), s),
3772
3772
  placement: "bottom-start"
3773
3773
  },
3774
3774
  disabled: l,
@@ -3778,13 +3778,13 @@ var fa = bo(ho((e, t) => {
3778
3778
  },
3779
3779
  ...i,
3780
3780
  children: un(ce, {
3781
- value: va(t.getName(), s),
3781
+ value: ka(t.getName(), s),
3782
3782
  cellStyle: { named: t.getName() },
3783
3783
  createCell: a
3784
3784
  })
3785
3785
  }, t.getName());
3786
3786
  return n && (u = un(Mo, {
3787
- label: va(t.getName(), s),
3787
+ label: ka(t.getName(), s),
3788
3788
  renderPopupPanel: c,
3789
3789
  children: u
3790
3790
  })), u;
@@ -3841,11 +3841,11 @@ var fa = bo(ho((e, t) => {
3841
3841
  children: o
3842
3842
  }, e + "-presets");
3843
3843
  }, b = [];
3844
- b.push(d(c("cellStyle.category.custom"), l, !1)), b.push(d(c("cellStyle.category.goodBadNeutral"), [p.BuiltInName.Normal, ...ka([
3844
+ b.push(d(c("cellStyle.category.custom"), l, !1)), b.push(d(c("cellStyle.category.goodBadNeutral"), [p.BuiltInName.Normal, ...va([
3845
3845
  p.BuiltInName.Bad,
3846
3846
  p.BuiltInName.Good,
3847
3847
  p.BuiltInName.Neutral
3848
- ], c)], l.length > 0)), b.push(d(c("cellStyle.category.dataModel"), ka([
3848
+ ], c)], l.length > 0)), b.push(d(c("cellStyle.category.dataModel"), va([
3849
3849
  p.BuiltInName.Calculation,
3850
3850
  p.BuiltInName.CheckCell,
3851
3851
  p.BuiltInName.ExplanatoryText,
@@ -3856,7 +3856,7 @@ var fa = bo(ho((e, t) => {
3856
3856
  p.BuiltInName.Note,
3857
3857
  p.BuiltInName.Output,
3858
3858
  p.BuiltInName.WarningText
3859
- ], c))), b.push(d(c("cellStyle.category.titlesHeadings"), ka([
3859
+ ], c))), b.push(d(c("cellStyle.category.titlesHeadings"), va([
3860
3860
  p.BuiltInName.Heading1,
3861
3861
  p.BuiltInName.Heading2,
3862
3862
  p.BuiltInName.Heading3,
@@ -3865,7 +3865,7 @@ var fa = bo(ho((e, t) => {
3865
3865
  p.BuiltInName.Total
3866
3866
  ], c)));
3867
3867
  let x = [];
3868
- var v, k;
3868
+ var k, v;
3869
3869
  return x.push(g("Accent 1", [
3870
3870
  p.BuiltInName.Accent1_20,
3871
3871
  p.BuiltInName.Accent1_40,
@@ -3896,9 +3896,9 @@ var fa = bo(ho((e, t) => {
3896
3896
  p.BuiltInName.Accent6_40,
3897
3897
  p.BuiltInName.Accent6_60,
3898
3898
  p.BuiltInName.Accent6
3899
- ])), b.push((v = c("cellStyle.category.themed"), k = x, mn(gn, { children: [
3899
+ ])), b.push((k = c("cellStyle.category.themed"), v = x, mn(gn, { children: [
3900
3900
  un(Oo, { orientation: "horizontal" }),
3901
- un(Ko, { children: v }, v + "-header"),
3901
+ un(Ko, { children: k }, k + "-header"),
3902
3902
  un(gn, {
3903
3903
  sx: {
3904
3904
  display: "flex",
@@ -3907,9 +3907,9 @@ var fa = bo(ho((e, t) => {
3907
3907
  alignItems: "start",
3908
3908
  flexDirection: "row"
3909
3909
  },
3910
- children: k
3911
- }, v + "-presets")
3912
- ] }, v))), b.push(d(c("cellStyle.category.numberFormat"), [
3910
+ children: v
3911
+ }, k + "-presets")
3912
+ ] }, k))), b.push(d(c("cellStyle.category.numberFormat"), [
3913
3913
  p.BuiltInName.Comma,
3914
3914
  p.BuiltInName.Comma0,
3915
3915
  p.BuiltInName.Currency,
@@ -3953,17 +3953,17 @@ var fa = bo(ho((e, t) => {
3953
3953
  h,
3954
3954
  m?.().getTheme(),
3955
3955
  c
3956
- ]), v = Et((e) => {
3956
+ ]), k = Et((e) => {
3957
3957
  if (!u) return null;
3958
- const t = 18 / b.getDeviceScale(), o = u.createCell(e), n = { vertical: k.VerticalAlignment.Center };
3958
+ const t = 18 / b.getDeviceScale(), o = u.createCell(e), n = { vertical: v.VerticalAlignment.Center };
3959
3959
  return o.getStyle().getFont().getSize() <= t ? o.createCell({ style: { alignment: n } }) : o.createCell({ style: {
3960
3960
  alignment: n,
3961
3961
  font: { size: t }
3962
3962
  } });
3963
3963
  }, [u?.createCell]), w = a ?? (!d || d.disabled()), S = So(() => l ? un(ce, {
3964
- value: h ? va(h.getName(), c) : "",
3964
+ value: h ? ka(h.getName(), c) : "",
3965
3965
  cellStyle: h ? { named: h.getName() } : {},
3966
- createCell: v,
3966
+ createCell: k,
3967
3967
  className: "outline-hover",
3968
3968
  disabled: w,
3969
3969
  style: {
@@ -3979,7 +3979,7 @@ var fa = bo(ho((e, t) => {
3979
3979
  height: "calc(100% - 2px)",
3980
3980
  width: "calc(100% - 1px)"
3981
3981
  } }
3982
- }) : d?.getIcon() ?? un(kt, {}), [
3982
+ }) : d?.getIcon() ?? un(vt, {}), [
3983
3983
  h,
3984
3984
  w,
3985
3985
  d,
@@ -4087,7 +4087,7 @@ var fa = bo(ho((e, t) => {
4087
4087
  r,
4088
4088
  m,
4089
4089
  f.isHiddenButtons()
4090
- ]), v = fo((e, t) => y[t].getBorders() ?? null, [y]);
4090
+ ]), k = fo((e, t) => y[t].getBorders() ?? null, [y]);
4091
4091
  return un(gn, {
4092
4092
  ref: t,
4093
4093
  className: "table-format-preview",
@@ -4101,7 +4101,7 @@ var fa = bo(ho((e, t) => {
4101
4101
  },
4102
4102
  ...p,
4103
4103
  children: un(se, {
4104
- getBorderAt: v,
4104
+ getBorderAt: k,
4105
4105
  rowCount: 5,
4106
4106
  columnCount: 5,
4107
4107
  forceThinBorder: s,
@@ -4218,7 +4218,7 @@ var fa = bo(ho((e, t) => {
4218
4218
  })), Aa = (e) => {
4219
4219
  0 === e.button && e.preventDefault();
4220
4220
  }, La = bo(ho((e, t) => {
4221
- const { disabled: o, className: n, sx: r, defaultInput: a, value: l, formName: i, formOptions: s, onChangeInput: c, onChangeText: d, onDone: p, changeOn: u, onValidate: m, apiRef: h, label: g, helperText: b, showError: f = !0, onChangeError: y, hideAdornment: x, propsInput: v, onKeyDown: k, onFocus: w, ...S } = e, C = ao(), T = ro(), F = g ?? C("namedInput.label"), D = ur(), N = i && D ? D.register(i, s) : null, I = tt({
4221
+ const { disabled: o, className: n, sx: r, defaultInput: a, value: l, formName: i, formOptions: s, onChangeInput: c, onChangeText: d, onDone: p, changeOn: u, onValidate: m, apiRef: h, label: g, helperText: b, showError: f = !0, onChangeError: y, hideAdornment: x, propsInput: k, onKeyDown: v, onFocus: w, ...S } = e, C = ao(), T = ro(), F = g ?? C("namedInput.label"), D = ur(), N = i && D ? D.register(i, s) : null, I = tt({
4222
4222
  value: l ?? "",
4223
4223
  onChange: c,
4224
4224
  onChangeText: d,
@@ -4227,7 +4227,7 @@ var fa = bo(ho((e, t) => {
4227
4227
  onValidate: m,
4228
4228
  disabled: o
4229
4229
  });
4230
- ko(h, () => I, [I]);
4230
+ vo(h, () => I, [I]);
4231
4231
  const B = To(D);
4232
4232
  B.current = D;
4233
4233
  const P = To(y);
@@ -4259,7 +4259,7 @@ var fa = bo(ho((e, t) => {
4259
4259
  outlined: !1,
4260
4260
  color: "primary",
4261
4261
  "aria-label": "commit-input",
4262
- icon: un(kt, { iconKey: "CheckSuccess" }),
4262
+ icon: un(vt, { iconKey: "CheckSuccess" }),
4263
4263
  propsTooltip: {
4264
4264
  label: C("referenceInput.commit"),
4265
4265
  simple: !0
@@ -4275,7 +4275,7 @@ var fa = bo(ho((e, t) => {
4275
4275
  outlined: !1,
4276
4276
  color: "warning",
4277
4277
  "aria-label": "cancel-input",
4278
- icon: un(kt, { iconKey: "CloseError" }),
4278
+ icon: un(vt, { iconKey: "CloseError" }),
4279
4279
  propsTooltip: {
4280
4280
  label: C("referenceInput.cancel"),
4281
4281
  simple: !0
@@ -4295,7 +4295,7 @@ var fa = bo(ho((e, t) => {
4295
4295
  I.cancel,
4296
4296
  !!I.error
4297
4297
  ]);
4298
- return un(kn, {
4298
+ return un(vn, {
4299
4299
  sx: {
4300
4300
  minWidth: 135,
4301
4301
  width: "100%",
@@ -4320,8 +4320,8 @@ var fa = bo(ho((e, t) => {
4320
4320
  autoComplete: "off",
4321
4321
  onPointerDown: T.onPointerDown,
4322
4322
  onDragStart: T.onDragStart,
4323
- ...v,
4324
- className: sr("autoFocus", v?.className),
4323
+ ...k,
4324
+ className: sr("autoFocus", k?.className),
4325
4325
  name: i,
4326
4326
  readOnly: o,
4327
4327
  sx: {
@@ -4338,7 +4338,7 @@ var fa = bo(ho((e, t) => {
4338
4338
  I.inputProps.onChange(e), N?.onChange(e);
4339
4339
  },
4340
4340
  onKeyDown: (e) => {
4341
- I.inputProps.onKeyDown(e), e.defaultPrevented || k?.(e);
4341
+ I.inputProps.onKeyDown(e), e.defaultPrevented || v?.(e);
4342
4342
  },
4343
4343
  onFocus: (e) => {
4344
4344
  I.inputProps.onFocus(e), w?.(e);
@@ -4356,7 +4356,7 @@ La.displayName = "InputField";
4356
4356
  var Ka = (e) => {
4357
4357
  0 === e.button && e.preventDefault();
4358
4358
  }, Ea = "20px", Wa = "4px", za = `calc(${Ea} + ${Wa})`, Va = bo(ho((e, t) => {
4359
- const { grammar: o = "formula", formName: n, formOptions: r, disabled: a, className: l, sx: i, onKeyDown: s, onFocus: c, value: d, onChangeInput: p, onChangeText: u, onDone: m, changeOn: h, apiRef: g, workbook: b, home: f, equals: y, pickAs: x, pickSpills: v, allowMulti: k, allowCrossSheet: w, required: S, label: C, labelPlacement: T = "floating", placeholder: F, helperText: D, showError: N = !0, onChangeError: I, validationError: B, hideAdornment: P, classNameInput: R, argument: M, id: O, ...A } = e, L = ao(), K = "above" === T, E = vo(), W = O ?? E, z = "formula" === o, V = void 0 === C ? L(z ? "formulaInput.label" : "rangeInput.label") : C, H = F ?? L(z ? "formulaInput.placeholder" : "rangeInput.placeholder"), $ = ur(), G = n && $ ? $.register(n, r) : null, U = Xe({
4359
+ const { grammar: o = "formula", formName: n, formOptions: r, disabled: a, className: l, sx: i, onKeyDown: s, onFocus: c, value: d, onChangeInput: p, onChangeText: u, onDone: m, changeOn: h, apiRef: g, workbook: b, home: f, equals: y, pickAs: x, pickSpills: k, allowMulti: v, allowCrossSheet: w, required: S, label: C, labelPlacement: T = "floating", placeholder: F, helperText: D, showError: N = !0, onChangeError: I, validationError: B, hideAdornment: P, classNameInput: R, argument: M, id: O, ...A } = e, L = ao(), K = "above" === T, E = ko(), W = O ?? E, z = "formula" === o, V = void 0 === C ? L(z ? "formulaInput.label" : "rangeInput.label") : C, H = F ?? L(z ? "formulaInput.placeholder" : "rangeInput.placeholder"), $ = ur(), G = n && $ ? $.register(n, r) : null, U = Xe({
4360
4360
  value: d,
4361
4361
  onChange: p,
4362
4362
  onChangeText: u,
@@ -4366,13 +4366,13 @@ var Ka = (e) => {
4366
4366
  home: f,
4367
4367
  equals: y,
4368
4368
  pickAs: x,
4369
- pickSpills: v,
4370
- allowMulti: k,
4369
+ pickSpills: k,
4370
+ allowMulti: v,
4371
4371
  allowCrossSheet: w,
4372
4372
  required: S,
4373
4373
  disabled: a
4374
4374
  }, o);
4375
- ko(g, () => U, [U]);
4375
+ vo(g, () => U, [U]);
4376
4376
  const q = Je({
4377
4377
  api: U,
4378
4378
  grammar: o,
@@ -4400,7 +4400,7 @@ var Ka = (e) => {
4400
4400
  outlined: !1,
4401
4401
  color: "primary",
4402
4402
  "aria-label": "commit-reference",
4403
- icon: un(kt, { iconKey: "CheckSuccess" }),
4403
+ icon: un(vt, { iconKey: "CheckSuccess" }),
4404
4404
  propsTooltip: {
4405
4405
  label: L("referenceInput.commit"),
4406
4406
  simple: !0
@@ -4416,7 +4416,7 @@ var Ka = (e) => {
4416
4416
  outlined: !1,
4417
4417
  color: "warning",
4418
4418
  "aria-label": "cancel-reference",
4419
- icon: un(kt, { iconKey: "CloseError" }),
4419
+ icon: un(vt, { iconKey: "CloseError" }),
4420
4420
  propsTooltip: {
4421
4421
  label: L("referenceInput.cancel"),
4422
4422
  simple: !0
@@ -4432,7 +4432,7 @@ var Ka = (e) => {
4432
4432
  disabled: a || !U.canSelectCurrent,
4433
4433
  sx: { "&.Mui-disabled": { opacity: .35 } },
4434
4434
  "aria-label": "select-current-range",
4435
- icon: un(kt, { iconKey: "SelectRangeMode" }),
4435
+ icon: un(vt, { iconKey: "SelectRangeMode" }),
4436
4436
  propsTooltip: {
4437
4437
  label: L("referenceInput.selectCurrent"),
4438
4438
  simple: !0
@@ -4467,7 +4467,7 @@ var Ka = (e) => {
4467
4467
  U.cancel,
4468
4468
  !!U.error
4469
4469
  ]);
4470
- return mn(kn, {
4470
+ return mn(vn, {
4471
4471
  sx: {
4472
4472
  minWidth: 135,
4473
4473
  width: "100%",
@@ -4564,7 +4564,7 @@ var Ka = (e) => {
4564
4564
  });
4565
4565
  }));
4566
4566
  Va.displayName = "FormulaField";
4567
- var Ha = ln(ar("studio:tableDetailsTaskPane", () => import("./BWIatgbno8eMdTy4.mjs"), { select: (e) => ({ default: e.TableDetailsTaskPane }) }).load), $a = () => V.registerTaskPane({
4567
+ var Ha = ln(ar("studio:tableDetailsTaskPane", () => import("./BPGz9KUMwgtyF6LG.mjs"), { select: (e) => ({ default: e.TableDetailsTaskPane }) }).load), $a = () => V.registerTaskPane({
4568
4568
  key: pe.TableDetails,
4569
4569
  component: Ha
4570
4570
  }, !0), Ga = bo((e) => {
@@ -4676,15 +4676,15 @@ var Ha = ln(ar("studio:tableDetailsTaskPane", () => import("./BWIatgbno8eMdTy4.m
4676
4676
  totalsRowCount: 0,
4677
4677
  style: e
4678
4678
  }
4679
- }))(g?.getStyleOptions(), h), [h?.getTableStyles().getDefault(), g?.getStyleOptions()]), y = g ?? f, [x, v] = Fo(y);
4679
+ }))(g?.getStyleOptions(), h), [h?.getTableStyles().getDefault(), g?.getStyleOptions()]), y = g ?? f, [x, k] = Fo(y);
4680
4680
  xo(() => {
4681
- v(y);
4681
+ k(y);
4682
4682
  }, [y]);
4683
- const k = Et((e) => {
4683
+ const v = Et((e) => {
4684
4684
  r?.(e), p?.execute({ name: e });
4685
4685
  }, [p, r]), w = To(null), S = fo((e) => {
4686
4686
  const t = {
4687
- onSelectTableStyleName: k,
4687
+ onSelectTableStyleName: v,
4688
4688
  styles: h
4689
4689
  };
4690
4690
  w.current || (w.current = document.createElement("canvas"));
@@ -5179,7 +5179,7 @@ var Xa = [
5179
5179
  })
5180
5180
  });
5181
5181
  })), tl = bo(ho((e, t) => {
5182
- const { themes: o, selectedTheme: n, onSelectTheme: r, icon: a, tooltip: l, label: i, variant: s = qo.Toolbar, darkMode: c, propsPanel: d, ...p } = e, u = a || un(kt, { iconKey: "Theme2" }), m = {
5182
+ const { themes: o, selectedTheme: n, onSelectTheme: r, icon: a, tooltip: l, label: i, variant: s = qo.Toolbar, darkMode: c, propsPanel: d, ...p } = e, u = a || un(vt, { iconKey: "Theme2" }), m = {
5183
5183
  renderPopupPanel: fo((e) => {
5184
5184
  const { closeFloatAll: t } = e;
5185
5185
  return un(el, {
@@ -5574,7 +5574,7 @@ var hl = bo((e) => {
5574
5574
  pb: 1
5575
5575
  },
5576
5576
  children: [
5577
- un(Rn, { children: un(kt, {}) }),
5577
+ un(Rn, { children: un(vt, {}) }),
5578
5578
  un(ml, {
5579
5579
  label: n("calcOptions.maxIterations"),
5580
5580
  value: a?.maxIteration ?? 100,
@@ -5661,7 +5661,7 @@ var bl = bo(ho((e, t) => {
5661
5661
  }, [r]), un(No, {
5662
5662
  ref: t,
5663
5663
  commandKey: o,
5664
- icon: un(kt, {
5664
+ icon: un(vt, {
5665
5665
  iconKey: "copy.walking",
5666
5666
  propsSource: {
5667
5667
  isWalking: a,
@@ -5695,7 +5695,7 @@ var bl = bo(ho((e, t) => {
5695
5695
  ...Kt("grid", t)
5696
5696
  }
5697
5697
  };
5698
- }, xl = "var(--sxl-color-base-100, rgb(255, 255, 255))", vl = "var(--sxl-color-base-300, rgb(224, 224, 224))", kl = "var(--sxl-color-primary, rgb(33, 115, 70))", wl = "var(--sxl-color-base-content, rgba(0, 0, 0, 0.87))", Sl = "var(--sxl-color-error, rgb(211, 47, 47))", Cl = (e) => Math.round(e).toString(16).padStart(2, "0"), Tl = (e, o, n) => new t(`#${Cl(e)}${Cl(o)}${Cl(n)}`).toCSS("adaptive"), Fl = (e, t, o, n) => {
5698
+ }, xl = "var(--sxl-color-base-100, rgb(255, 255, 255))", kl = "var(--sxl-color-base-300, rgb(224, 224, 224))", vl = "var(--sxl-color-primary, rgb(33, 115, 70))", wl = "var(--sxl-color-base-content, rgba(0, 0, 0, 0.87))", Sl = "var(--sxl-color-error, rgb(211, 47, 47))", Cl = (e) => Math.round(e).toString(16).padStart(2, "0"), Tl = (e, o, n) => new t(`#${Cl(e)}${Cl(o)}${Cl(n)}`).toCSS("adaptive"), Fl = (e, t, o, n) => {
5699
5699
  if (0 === e.length) return o;
5700
5700
  const r = (t) => fl(e[t].color, n)?.toRGBA() ?? null;
5701
5701
  if (1 === e.length) {
@@ -5730,7 +5730,7 @@ var bl = bo(ho((e, t) => {
5730
5730
  width: `${r}%`,
5731
5731
  height: "100%",
5732
5732
  boxSizing: "border-box",
5733
- background: e.gradient ? `linear-gradient(to ${n ? "left" : "right"}, ${t}, transparent)` : t,
5733
+ background: e.solidFill ? t : `linear-gradient(to ${n ? "left" : "right"}, ${t}, transparent)`,
5734
5734
  border: `1px solid ${o ?? t}`,
5735
5735
  borderRadius: "1px"
5736
5736
  } })
@@ -5739,7 +5739,7 @@ var bl = bo(ho((e, t) => {
5739
5739
  const { rows: t, ...o } = e, n = et(), r = (e, o) => ({
5740
5740
  borderRight: o < 2 ? 1 : 0,
5741
5741
  borderBottom: e < t.length - 1 ? 1 : 0,
5742
- borderColor: vl,
5742
+ borderColor: kl,
5743
5743
  minWidth: 0,
5744
5744
  overflow: "hidden",
5745
5745
  display: "flex",
@@ -5789,7 +5789,7 @@ var Pl = bo((e) => {
5789
5789
  overflow: "hidden",
5790
5790
  background: o ? xl : "none",
5791
5791
  color: o ? wl : void 0,
5792
- border: (e) => `1px solid ${o ? vl : e.palette.divider}`,
5792
+ border: (e) => `1px solid ${o ? kl : e.palette.divider}`,
5793
5793
  borderRadius: 1,
5794
5794
  fontSize: "12px",
5795
5795
  lineHeight: 1,
@@ -5877,10 +5877,10 @@ var Rl = {
5877
5877
  });
5878
5878
  }, El = Object.freeze([{
5879
5879
  labelKey: lr("conditionalFormat.gradientFill"),
5880
- presets: K.filter((e) => e.gradient)
5880
+ presets: K.filter((e) => !e.solidFill)
5881
5881
  }, {
5882
5882
  labelKey: lr("conditionalFormat.solidFill"),
5883
- presets: K.filter((e) => !e.gradient)
5883
+ presets: K.filter((e) => e.solidFill)
5884
5884
  }]), Wl = Object.freeze([{
5885
5885
  labelKey: lr("conditionalFormat.threeColor"),
5886
5886
  presets: A.filter((e) => 3 === e.stops.length)
@@ -5976,23 +5976,23 @@ var jl = (e) => (t, o) => un(ba, {
5976
5976
  groupKey: o,
5977
5977
  propsPanel: { disableAlpha: !0 }
5978
5978
  }), _l = () => {
5979
- vt.register({
5979
+ kt.register({
5980
5980
  key: "insertImageInCellOptions",
5981
5981
  members: ["insertImageInCellFromFile", "insertImageInCellFromURL"]
5982
- }, !0), vt.register({
5982
+ }, !0), kt.register({
5983
5983
  key: "insertImageOverCellsOptions",
5984
5984
  members: ["insertImageFromFile", "insertImageFromURL"]
5985
- }, !0), vt.register({
5985
+ }, !0), kt.register({
5986
5986
  key: "insertImageOptions",
5987
5987
  members: ["insertImageInCellOptions", "insertImageOverCellsOptions"]
5988
- }, !0), vt.register({
5988
+ }, !0), kt.register({
5989
5989
  key: "insertSparklineOptions",
5990
5990
  members: [
5991
5991
  "insertSparklineLine",
5992
5992
  "insertSparklineColumn",
5993
5993
  "insertSparklineWinLoss"
5994
5994
  ]
5995
- }, !0), vt.register({
5995
+ }, !0), kt.register({
5996
5996
  key: "commentOptions",
5997
5997
  defaultKey: "updateComments",
5998
5998
  members: [
@@ -6004,7 +6004,7 @@ var jl = (e) => (t, o) => un(ba, {
6004
6004
  "-",
6005
6005
  "deleteComments"
6006
6006
  ]
6007
- }, !0), vt.register({
6007
+ }, !0), kt.register({
6008
6008
  key: "sheetBackgroundOptions",
6009
6009
  defaultKey: "sheetBackgroundToggle",
6010
6010
  showLabel: !0,
@@ -6014,7 +6014,7 @@ var jl = (e) => (t, o) => un(ba, {
6014
6014
  "-",
6015
6015
  "sheetBackgroundDelete"
6016
6016
  ]
6017
- }, !0), vt.register({
6017
+ }, !0), kt.register({
6018
6018
  key: "mergeOptions",
6019
6019
  defaultKey: "mergeToggle",
6020
6020
  members: [
@@ -6024,7 +6024,7 @@ var jl = (e) => (t, o) => un(ba, {
6024
6024
  "-",
6025
6025
  "unmerge"
6026
6026
  ]
6027
- }, !0), vt.register({
6027
+ }, !0), kt.register({
6028
6028
  key: "underlineOptions",
6029
6029
  render: (e, t) => un(Qo, {
6030
6030
  ...e,
@@ -6037,7 +6037,7 @@ var jl = (e) => (t, o) => un(ba, {
6037
6037
  "formatUnderlinedAccountingToggle",
6038
6038
  "formatUnderlinedAccountingDoubleToggle"
6039
6039
  ]
6040
- }, !0), vt.register({
6040
+ }, !0), kt.register({
6041
6041
  key: "textOverflowOptions",
6042
6042
  render: (e, t) => un(Qo, {
6043
6043
  ...e,
@@ -6052,7 +6052,7 @@ var jl = (e) => (t, o) => un(ba, {
6052
6052
  "-",
6053
6053
  "formatTextOverflowShrinkToggle"
6054
6054
  ]
6055
- }, !0), vt.register({
6055
+ }, !0), kt.register({
6056
6056
  key: "sortOptions",
6057
6057
  defaultKey: "sortAscending",
6058
6058
  showLabel: !0,
@@ -6061,7 +6061,7 @@ var jl = (e) => (t, o) => un(ba, {
6061
6061
  "sortDescending",
6062
6062
  "sortCustom"
6063
6063
  ]
6064
- }, !0), vt.register({
6064
+ }, !0), kt.register({
6065
6065
  key: "filterOptions",
6066
6066
  defaultKey: "tableFilterToggle",
6067
6067
  showLabel: !0,
@@ -6070,7 +6070,7 @@ var jl = (e) => (t, o) => un(ba, {
6070
6070
  "tableFilterClear",
6071
6071
  "tableFilterRefresh"
6072
6072
  ]
6073
- }, !0), vt.register({
6073
+ }, !0), kt.register({
6074
6074
  key: "dataTextToColumnsOptions",
6075
6075
  defaultKey: "dataTextToColumns",
6076
6076
  showLabel: !0,
@@ -6109,7 +6109,7 @@ var jl = (e) => (t, o) => un(ba, {
6109
6109
  })
6110
6110
  }
6111
6111
  ]
6112
- }, !0), vt.register({
6112
+ }, !0), kt.register({
6113
6113
  key: "fillOptions",
6114
6114
  members: [
6115
6115
  "fillDown",
@@ -6119,7 +6119,7 @@ var jl = (e) => (t, o) => un(ba, {
6119
6119
  "-",
6120
6120
  "fillSeries"
6121
6121
  ]
6122
- }, !0), vt.register({
6122
+ }, !0), kt.register({
6123
6123
  key: "clearOptions",
6124
6124
  members: [
6125
6125
  "clearAll",
@@ -6131,7 +6131,7 @@ var jl = (e) => (t, o) => un(ba, {
6131
6131
  "-",
6132
6132
  "clearHyperlinks"
6133
6133
  ]
6134
- }, !0), vt.register({
6134
+ }, !0), kt.register({
6135
6135
  key: "conditionalFormatHighlightOptions",
6136
6136
  members: [
6137
6137
  "conditionalFormatGreaterThan",
@@ -6143,7 +6143,7 @@ var jl = (e) => (t, o) => un(ba, {
6143
6143
  "conditionalFormatDateOccurring",
6144
6144
  "conditionalFormatDuplicateValues"
6145
6145
  ]
6146
- }, !0), vt.register({
6146
+ }, !0), kt.register({
6147
6147
  key: "conditionalFormatTopBottomOptions",
6148
6148
  members: [
6149
6149
  "conditionalFormatTopItems",
@@ -6154,13 +6154,13 @@ var jl = (e) => (t, o) => un(ba, {
6154
6154
  "conditionalFormatAboveAverage",
6155
6155
  "conditionalFormatBelowAverage"
6156
6156
  ]
6157
- }, !0), vt.register({
6157
+ }, !0), kt.register({
6158
6158
  key: "conditionalFormatClearOptions",
6159
6159
  members: ["conditionalFormatClearSelection", "conditionalFormatClearSheet"]
6160
- }, !0), vt.register({
6160
+ }, !0), kt.register({
6161
6161
  key: "dataValidationClearOptions",
6162
6162
  members: ["dataValidationClearSelection", "dataValidationClearSheet"]
6163
- }, !0), vt.register({
6163
+ }, !0), kt.register({
6164
6164
  key: "dataValidationOptions",
6165
6165
  members: [
6166
6166
  "dataValidationList",
@@ -6172,7 +6172,7 @@ var jl = (e) => (t, o) => un(ba, {
6172
6172
  "dataValidationClearOptions",
6173
6173
  "manageDataValidation"
6174
6174
  ]
6175
- }, !0), vt.register({
6175
+ }, !0), kt.register({
6176
6176
  key: "conditionalFormatOptions",
6177
6177
  members: [
6178
6178
  "conditionalFormatHighlightOptions",
@@ -6186,7 +6186,7 @@ var jl = (e) => (t, o) => un(ba, {
6186
6186
  "conditionalFormatClearOptions",
6187
6187
  "manageConditionalFormat"
6188
6188
  ]
6189
- }, !0), vt.register({
6189
+ }, !0), kt.register({
6190
6190
  key: "pasteOptions",
6191
6191
  defaultKey: "paste",
6192
6192
  members: [
@@ -6198,13 +6198,13 @@ var jl = (e) => (t, o) => un(ba, {
6198
6198
  "pasteTranspose",
6199
6199
  "pasteLinks"
6200
6200
  ]
6201
- }, !0), vt.register({
6201
+ }, !0), kt.register({
6202
6202
  key: "copy",
6203
6203
  render: (e) => un(bl, {
6204
6204
  ...e,
6205
6205
  commandKey: "copy"
6206
6206
  })
6207
- }, !0), vt.register({
6207
+ }, !0), kt.register({
6208
6208
  key: "sortFilterOptions",
6209
6209
  defaultKey: "tableFilterToggle",
6210
6210
  members: [
@@ -6216,7 +6216,7 @@ var jl = (e) => (t, o) => un(ba, {
6216
6216
  "tableFilterClear",
6217
6217
  "tableFilterRefresh"
6218
6218
  ]
6219
- }, !0), vt.register({
6219
+ }, !0), kt.register({
6220
6220
  key: "findOptions",
6221
6221
  defaultKey: "find",
6222
6222
  members: [
@@ -6224,7 +6224,7 @@ var jl = (e) => (t, o) => un(ba, {
6224
6224
  "findReplace",
6225
6225
  "goto"
6226
6226
  ]
6227
- }, !0), vt.register({
6227
+ }, !0), kt.register({
6228
6228
  key: "insertFunctionSumOptions",
6229
6229
  defaultKey: "insertFunctionSum",
6230
6230
  members: [
@@ -6244,11 +6244,11 @@ var jl = (e) => (t, o) => un(ba, {
6244
6244
  "insertRows",
6245
6245
  "insertColumns"
6246
6246
  ];
6247
- vt.register({
6247
+ kt.register({
6248
6248
  key: "insertCellsOptions",
6249
6249
  defaultKey: "insertCells",
6250
6250
  members: e
6251
- }, !0), vt.register({
6251
+ }, !0), kt.register({
6252
6252
  key: "insertSheetOptions",
6253
6253
  defaultKey: "insertCells",
6254
6254
  members: [
@@ -6264,11 +6264,11 @@ var jl = (e) => (t, o) => un(ba, {
6264
6264
  "deleteRows",
6265
6265
  "deleteColumns"
6266
6266
  ];
6267
- vt.register({
6267
+ kt.register({
6268
6268
  key: "deleteCellsOptions",
6269
6269
  defaultKey: "deleteCells",
6270
6270
  members: t
6271
- }, !0), vt.register({
6271
+ }, !0), kt.register({
6272
6272
  key: "deleteSheetOptions",
6273
6273
  defaultKey: "deleteCells",
6274
6274
  members: [
@@ -6276,7 +6276,7 @@ var jl = (e) => (t, o) => un(ba, {
6276
6276
  "-",
6277
6277
  "deleteSheet"
6278
6278
  ]
6279
- }, !0), vt.register({
6279
+ }, !0), kt.register({
6280
6280
  key: "groupOptions",
6281
6281
  defaultKey: "group",
6282
6282
  members: [
@@ -6286,7 +6286,7 @@ var jl = (e) => (t, o) => un(ba, {
6286
6286
  "autoOutline",
6287
6287
  "outlineSettings"
6288
6288
  ]
6289
- }, !0), vt.register({
6289
+ }, !0), kt.register({
6290
6290
  key: "ungroupOptions",
6291
6291
  defaultKey: "ungroup",
6292
6292
  members: [
@@ -6295,10 +6295,10 @@ var jl = (e) => (t, o) => un(ba, {
6295
6295
  "-",
6296
6296
  "clearOutline"
6297
6297
  ]
6298
- }, !0), vt.register({
6298
+ }, !0), kt.register({
6299
6299
  key: "textEffectsOptions",
6300
6300
  render: (e) => un(ya, { ...e })
6301
- }, !0), vt.register({
6301
+ }, !0), kt.register({
6302
6302
  key: "horizontalAlignOptions",
6303
6303
  render: (e, t) => un(Qo, {
6304
6304
  ...e,
@@ -6332,7 +6332,7 @@ var jl = (e) => (t, o) => un(ba, {
6332
6332
  "formatAlignFillToggle",
6333
6333
  "formatAlignDistributedHorizontalToggle"
6334
6334
  ]
6335
- }, !0), vt.register({
6335
+ }, !0), kt.register({
6336
6336
  key: "verticalAlignOptions",
6337
6337
  render: (e, t) => un(Qo, {
6338
6338
  ...e,
@@ -6348,7 +6348,7 @@ var jl = (e) => (t, o) => un(ba, {
6348
6348
  "formatAlignJustifyVerticalToggle",
6349
6349
  "formatAlignDistributedVerticalToggle"
6350
6350
  ]
6351
- }, !0), vt.register({
6351
+ }, !0), kt.register({
6352
6352
  key: "textRotateOptions",
6353
6353
  render: (e, t) => un(Fr, {
6354
6354
  ...e,
@@ -6365,7 +6365,7 @@ var jl = (e) => (t, o) => un(ba, {
6365
6365
  "-",
6366
6366
  "formatTextRotateCustom"
6367
6367
  ]
6368
- }, !0), vt.register({
6368
+ }, !0), kt.register({
6369
6369
  key: "formatTextRotateCustom",
6370
6370
  render: (e) => un(Ho, {
6371
6371
  ...e,
@@ -6381,25 +6381,25 @@ var jl = (e) => (t, o) => un(ba, {
6381
6381
  maxLength: 4
6382
6382
  }
6383
6383
  })
6384
- }, !0), vt.register({
6384
+ }, !0), kt.register({
6385
6385
  key: "numberFormatOptions",
6386
6386
  render: (e, t) => un(pa, {
6387
6387
  ...e,
6388
6388
  groupKey: t
6389
6389
  })
6390
- }, !0), vt.register({
6390
+ }, !0), kt.register({
6391
6391
  key: "sheetZoomOptions",
6392
6392
  render: (e, t) => un(Nr, {
6393
6393
  ...e,
6394
6394
  groupKey: t
6395
6395
  })
6396
- }, !0), vt.register({
6396
+ }, !0), kt.register({
6397
6397
  key: "formatCellStyle",
6398
6398
  render: (e) => un(Sa, {
6399
6399
  ...e,
6400
6400
  commandKey: "formatCellStyle"
6401
6401
  })
6402
- }, !0), vt.register({
6402
+ }, !0), kt.register({
6403
6403
  key: "formatTableStyle",
6404
6404
  contributions: { tableToolbar: {
6405
6405
  anchor: "formatTableStyleClearTableStyle",
@@ -6409,14 +6409,14 @@ var jl = (e) => (t, o) => un(ba, {
6409
6409
  ...e,
6410
6410
  commandKey: "formatTableStyle"
6411
6411
  })
6412
- }, !0), vt.register({
6412
+ }, !0), kt.register({
6413
6413
  key: "sparklineColorSeries",
6414
6414
  contributions: { sparklineToolbar: {
6415
6415
  anchor: "sparklineAxisOptions",
6416
6416
  order: -2
6417
6417
  } },
6418
6418
  render: jl("sparklineColorSeries")
6419
- }, !0), vt.register({
6419
+ }, !0), kt.register({
6420
6420
  key: "sparklineMarkerColorOptions",
6421
6421
  contributions: { sparklineToolbar: {
6422
6422
  anchor: "sparklineAxisOptions",
@@ -6431,25 +6431,25 @@ var jl = (e) => (t, o) => un(ba, {
6431
6431
  "sparklineColorFirst",
6432
6432
  "sparklineColorLast"
6433
6433
  ]
6434
- }, !0), vt.register({
6434
+ }, !0), kt.register({
6435
6435
  key: "sparklineColorNegative",
6436
6436
  render: jl("sparklineColorNegative")
6437
- }, !0), vt.register({
6437
+ }, !0), kt.register({
6438
6438
  key: "sparklineColorMarkers",
6439
6439
  render: jl("sparklineColorMarkers")
6440
- }, !0), vt.register({
6440
+ }, !0), kt.register({
6441
6441
  key: "sparklineColorHigh",
6442
6442
  render: jl("sparklineColorHigh")
6443
- }, !0), vt.register({
6443
+ }, !0), kt.register({
6444
6444
  key: "sparklineColorLow",
6445
6445
  render: jl("sparklineColorLow")
6446
- }, !0), vt.register({
6446
+ }, !0), kt.register({
6447
6447
  key: "sparklineColorFirst",
6448
6448
  render: jl("sparklineColorFirst")
6449
- }, !0), vt.register({
6449
+ }, !0), kt.register({
6450
6450
  key: "sparklineColorLast",
6451
6451
  render: jl("sparklineColorLast")
6452
- }, !0), vt.register({
6452
+ }, !0), kt.register({
6453
6453
  key: "sparklineOptions",
6454
6454
  members: [
6455
6455
  "sparklineEditData",
@@ -6457,20 +6457,20 @@ var jl = (e) => (t, o) => un(ba, {
6457
6457
  "sparklineClear",
6458
6458
  "sparklineClearGroups"
6459
6459
  ]
6460
- }, !0), vt.register({
6460
+ }, !0), kt.register({
6461
6461
  key: "sparklineColorAxis",
6462
6462
  contributions: { sparklineAxisOptions: {
6463
6463
  anchor: "sparklineRightToLeftToggle",
6464
6464
  order: -1
6465
6465
  } },
6466
6466
  render: jl("sparklineColorAxis")
6467
- }, !0), vt.register({
6467
+ }, !0), kt.register({
6468
6468
  key: "formatPivotStyle",
6469
6469
  render: (e) => un(Ya, {
6470
6470
  ...e,
6471
6471
  commandKey: "formatPivotStyle"
6472
6472
  })
6473
- }, !0), vt.register({
6473
+ }, !0), kt.register({
6474
6474
  key: "conditionalFormatDataBar",
6475
6475
  render: (e, t) => un(ql, {
6476
6476
  ...e,
@@ -6478,7 +6478,7 @@ var jl = (e) => (t, o) => un(ba, {
6478
6478
  commandKey: "conditionalFormatDataBar",
6479
6479
  scaleType: "dataBar"
6480
6480
  })
6481
- }, !0), vt.register({
6481
+ }, !0), kt.register({
6482
6482
  key: "conditionalFormatColorScale",
6483
6483
  render: (e, t) => un(ql, {
6484
6484
  ...e,
@@ -6486,7 +6486,7 @@ var jl = (e) => (t, o) => un(ba, {
6486
6486
  commandKey: "conditionalFormatColorScale",
6487
6487
  scaleType: "colorScale"
6488
6488
  })
6489
- }, !0), vt.register({
6489
+ }, !0), kt.register({
6490
6490
  key: "conditionalFormatIconSet",
6491
6491
  render: (e, t) => un(ql, {
6492
6492
  ...e,
@@ -6803,7 +6803,7 @@ var Xl = bo(ho((e, t) => {
6803
6803
  disabled: t,
6804
6804
  children: e
6805
6805
  }),
6806
- icon: un(kt, { iconKey: "Locale" }),
6806
+ icon: un(vt, { iconKey: "Locale" }),
6807
6807
  label: i?.getLabel?.(),
6808
6808
  ...r
6809
6809
  });
@@ -6835,7 +6835,7 @@ var ri = "insertCellControlOptions", ai = bo(ho((e, t) => {
6835
6835
  key: "insertCellControl",
6836
6836
  state: e.type,
6837
6837
  getLabel: () => e.label,
6838
- getIcon: () => "string" == typeof e.icon ? un(kt, { iconKey: e.icon }) : e.icon
6838
+ getIcon: () => "string" == typeof e.icon ? un(vt, { iconKey: e.icon }) : e.icon
6839
6839
  })),
6840
6840
  "-",
6841
6841
  { key: "formatCellControl" }
@@ -7088,7 +7088,7 @@ var li = bo((e) => {
7088
7088
  label: c(e.label),
7089
7089
  simple: !0
7090
7090
  },
7091
- icon: un(kt, { iconKey: Ze(e.key) }),
7091
+ icon: un(vt, { iconKey: Ze(e.key) }),
7092
7092
  onClick: () => {
7093
7093
  t?.(), b(e);
7094
7094
  }
@@ -7124,11 +7124,11 @@ var li = bo((e) => {
7124
7124
  label: r ?? d?.getLabel(o),
7125
7125
  disabled: u,
7126
7126
  selected: !1,
7127
- icon: a ?? un(kt, { iconKey: Ze("Shapes") }),
7127
+ icon: a ?? un(vt, { iconKey: Ze("Shapes") }),
7128
7128
  ...s
7129
7129
  });
7130
7130
  })), pi = () => {
7131
- _l(), vt.register({
7131
+ _l(), kt.register({
7132
7132
  key: "hideUnhideOptions",
7133
7133
  members: [
7134
7134
  "hideColumns",
@@ -7138,7 +7138,7 @@ var li = bo((e) => {
7138
7138
  "unhideColumns",
7139
7139
  "unhideRows"
7140
7140
  ]
7141
- }, !0), vt.register({
7141
+ }, !0), kt.register({
7142
7142
  key: "cellsFormatOptions",
7143
7143
  members: [
7144
7144
  "resizeRows",
@@ -7151,22 +7151,22 @@ var li = bo((e) => {
7151
7151
  "-",
7152
7152
  "formatCells"
7153
7153
  ]
7154
- }, !0), vt.register({
7154
+ }, !0), kt.register({
7155
7155
  key: "formatFontFamily",
7156
7156
  render: (e) => un(fa, {
7157
7157
  ...e,
7158
7158
  commandKey: "formatFontFamily"
7159
7159
  })
7160
- }, !0), vt.register({
7160
+ }, !0), kt.register({
7161
7161
  key: "formatFontSize",
7162
7162
  render: (e) => un(ea, {
7163
7163
  ...e,
7164
7164
  commandKey: "formatFontSize"
7165
7165
  })
7166
- }, !0), vt.register({
7166
+ }, !0), kt.register({
7167
7167
  key: "formatBorder",
7168
7168
  render: (e) => un(Jr, { ...e })
7169
- }, !0), vt.register({
7169
+ }, !0), kt.register({
7170
7170
  key: "formatFontColor",
7171
7171
  render: (e) => un(ba, {
7172
7172
  ...e,
@@ -7174,7 +7174,7 @@ var li = bo((e) => {
7174
7174
  isSplit: !0,
7175
7175
  propsPanel: { disableAlpha: !0 }
7176
7176
  })
7177
- }, !0), vt.register({
7177
+ }, !0), kt.register({
7178
7178
  key: "formatFillColor",
7179
7179
  render: (e) => un(ba, {
7180
7180
  ...e,
@@ -7186,7 +7186,7 @@ var li = bo((e) => {
7186
7186
  autoColorPosition: Br.End
7187
7187
  }
7188
7188
  })
7189
- }, !0), vt.register({
7189
+ }, !0), kt.register({
7190
7190
  key: "homeToolbar",
7191
7191
  members: [
7192
7192
  "-",
@@ -7226,7 +7226,7 @@ var li = bo((e) => {
7226
7226
  "sortFilterOptions",
7227
7227
  "findOptions"
7228
7228
  ]
7229
- }, !0), vt.register({
7229
+ }, !0), kt.register({
7230
7230
  key: "dataToolbar",
7231
7231
  members: [
7232
7232
  "refreshAll",
@@ -7260,14 +7260,14 @@ var li = bo((e) => {
7260
7260
  "database",
7261
7261
  "web"
7262
7262
  ];
7263
- for (const t of e) vt.register({
7263
+ for (const t of e) kt.register({
7264
7264
  key: `formulaCategory.${t}`,
7265
7265
  render: (e) => un(Yl, {
7266
7266
  category: t,
7267
7267
  ...e
7268
7268
  })
7269
7269
  }, !0);
7270
- vt.register({
7270
+ kt.register({
7271
7271
  key: "formulaToolbar",
7272
7272
  members: [
7273
7273
  {
@@ -7287,10 +7287,10 @@ var li = bo((e) => {
7287
7287
  "calculateAll",
7288
7288
  "calculate"
7289
7289
  ]
7290
- }, !0), vt.register({
7290
+ }, !0), kt.register({
7291
7291
  key: "calculationOptions",
7292
7292
  render: (e) => un(gl, { ...e })
7293
- }, !0), vt.register({
7293
+ }, !0), kt.register({
7294
7294
  key: "insertToolbar",
7295
7295
  members: [
7296
7296
  "insertPivotTable",
@@ -7310,7 +7310,7 @@ var li = bo((e) => {
7310
7310
  "updateHyperlink",
7311
7311
  "updateComments"
7312
7312
  ]
7313
- }, !0), vt.register({
7313
+ }, !0), kt.register({
7314
7314
  key: "contextMenu",
7315
7315
  members: [
7316
7316
  "cut",
@@ -7327,7 +7327,7 @@ var li = bo((e) => {
7327
7327
  "-",
7328
7328
  "sortFilterOptions"
7329
7329
  ]
7330
- }, !0), Ue(), vt.register({
7330
+ }, !0), Ue(), kt.register({
7331
7331
  key: "movableContextMenu",
7332
7332
  members: [
7333
7333
  "copy",
@@ -7345,7 +7345,7 @@ var li = bo((e) => {
7345
7345
  "-",
7346
7346
  "formatMovable"
7347
7347
  ]
7348
- }, !0), vt.register({
7348
+ }, !0), kt.register({
7349
7349
  key: "sheetTabMenu",
7350
7350
  members: [
7351
7351
  "addSheet",
@@ -7355,7 +7355,7 @@ var li = bo((e) => {
7355
7355
  { render: () => un(ba, {
7356
7356
  variant: yt.Menuitem,
7357
7357
  commandKey: "formatSheetTabColor",
7358
- icon: un(kt, { iconKey: "stroke.colored" }),
7358
+ icon: un(vt, { iconKey: "stroke.colored" }),
7359
7359
  propsPanel: {
7360
7360
  disableAlpha: !0,
7361
7361
  autoColorLabelKey: lr("color.noTabColor"),
@@ -7365,7 +7365,7 @@ var li = bo((e) => {
7365
7365
  "-",
7366
7366
  "hideSheet"
7367
7367
  ]
7368
- }, !0), vt.register({
7368
+ }, !0), kt.register({
7369
7369
  key: "freezeOptions",
7370
7370
  defaultKey: "freezeToggle",
7371
7371
  members: [
@@ -7375,7 +7375,7 @@ var li = bo((e) => {
7375
7375
  "-",
7376
7376
  "unfreeze"
7377
7377
  ]
7378
- }, !0), vt.register({
7378
+ }, !0), kt.register({
7379
7379
  key: "protectionOptions",
7380
7380
  defaultKey: "protectionSheetProtectOrPause",
7381
7381
  members: [
@@ -7387,7 +7387,7 @@ var li = bo((e) => {
7387
7387
  "-",
7388
7388
  "manageProtection"
7389
7389
  ]
7390
- }, !0), vt.register({
7390
+ }, !0), kt.register({
7391
7391
  key: "gridlinesOptions",
7392
7392
  defaultKey: "gridlinesToggle",
7393
7393
  showLabel: !0,
@@ -7396,14 +7396,14 @@ var li = bo((e) => {
7396
7396
  { render: (e) => un(ba, {
7397
7397
  ...e,
7398
7398
  commandKey: "sheetViewFormatGridlinesColor",
7399
- icon: un(kt, { iconKey: "stroke.colored" }),
7399
+ icon: un(vt, { iconKey: "stroke.colored" }),
7400
7400
  propsPanel: { disableAlpha: !0 }
7401
7401
  }) },
7402
7402
  "-",
7403
7403
  "sheetViewToggleGridlinesColumns",
7404
7404
  "sheetViewToggleGridlinesRows"
7405
7405
  ]
7406
- }, !0), vt.register({
7406
+ }, !0), kt.register({
7407
7407
  key: "headingsOptions",
7408
7408
  defaultKey: "sheetViewToggleShowHeadings",
7409
7409
  showLabel: !0,
@@ -7414,13 +7414,13 @@ var li = bo((e) => {
7414
7414
  "sheetViewToggleShowHeadingColumns",
7415
7415
  "sheetViewToggleShowHeadingRows"
7416
7416
  ]
7417
- }, !0), vt.register({
7417
+ }, !0), kt.register({
7418
7418
  key: "locale",
7419
7419
  render: (e) => un(ei, {
7420
7420
  ...e,
7421
7421
  variant: "menuitem"
7422
7422
  })
7423
- }, !0), vt.register({
7423
+ }, !0), kt.register({
7424
7424
  key: "workbookViewOptions",
7425
7425
  showLabel: !0,
7426
7426
  members: [
@@ -7431,13 +7431,13 @@ var li = bo((e) => {
7431
7431
  "workbookViewToggleShowHorizontalScrollBar",
7432
7432
  "workbookViewToggleShowVerticalScrollBar"
7433
7433
  ]
7434
- }, !0), vt.register({
7434
+ }, !0), kt.register({
7435
7435
  key: "selectTheme",
7436
7436
  render: (e) => un(dl, {
7437
7437
  ...e,
7438
7438
  commandKey: "selectTheme"
7439
7439
  })
7440
- }, !0), vt.register({
7440
+ }, !0), kt.register({
7441
7441
  key: "reviewToolbar",
7442
7442
  members: [
7443
7443
  "workbookStatistics",
@@ -7448,7 +7448,7 @@ var li = bo((e) => {
7448
7448
  "-",
7449
7449
  "protectionOptions"
7450
7450
  ]
7451
- }, !0), vt.register({
7451
+ }, !0), kt.register({
7452
7452
  key: "viewToolbar",
7453
7453
  members: [
7454
7454
  "sheetZoomOptions",
@@ -7467,7 +7467,7 @@ var li = bo((e) => {
7467
7467
  "-",
7468
7468
  "selectTheme"
7469
7469
  ]
7470
- }, !0), vt.register({
7470
+ }, !0), kt.register({
7471
7471
  key: be,
7472
7472
  members: [
7473
7473
  "homeToolbar",
@@ -7555,7 +7555,7 @@ var li = bo((e) => {
7555
7555
  disabled: t,
7556
7556
  children: e
7557
7557
  }),
7558
- icon: un(kt, { iconKey: "Language" }),
7558
+ icon: un(vt, { iconKey: "Language" }),
7559
7559
  label: a?.getLabel?.(),
7560
7560
  ...r
7561
7561
  });
@@ -7568,55 +7568,55 @@ function mi(e) {
7568
7568
  }
7569
7569
  }
7570
7570
  var hi = () => {
7571
- pi(), vt.register({ key: "fileOptions" }, !0), vt.register({
7571
+ pi(), kt.register({ key: "fileOptions" }, !0), kt.register({
7572
7572
  key: "newWorkbookOptions",
7573
7573
  defaultKey: "newWorkbook",
7574
7574
  members: ["newWorkbook"]
7575
- }, !0), vt.register({ key: "appearanceOptions" }, !0), vt.register({ key: "insertChartOptions" }, !0), vt.register({
7575
+ }, !0), kt.register({ key: "appearanceOptions" }, !0), kt.register({ key: "insertChartOptions" }, !0), kt.register({
7576
7576
  key: "insertCellControlOptions",
7577
7577
  defaultKey: "insertCheckbox"
7578
- }, !0), vt.register({ key: "borderOptions" }, !0), vt.register({
7578
+ }, !0), kt.register({ key: "borderOptions" }, !0), kt.register({
7579
7579
  key: "insertDataOptions",
7580
7580
  defaultKey: "insertDataFromFile",
7581
7581
  contributions: { dataToolbar: { order: -1 } },
7582
7582
  members: ["insertDataFromFile", "insertDataFromURL"]
7583
- }, !0), vt.register({
7583
+ }, !0), kt.register({
7584
7584
  key: "undo",
7585
7585
  contributions: { homeToolbar: { order: -1 } },
7586
7586
  render: (e) => un(ga, {
7587
7587
  ...e,
7588
7588
  quickCommand: "undo"
7589
7589
  })
7590
- }, !0), vt.register({
7590
+ }, !0), kt.register({
7591
7591
  key: "darkModeOptions",
7592
7592
  contributions: { viewToolbar: {
7593
7593
  anchor: "sheetBackgroundOptions",
7594
7594
  order: -1
7595
7595
  } },
7596
7596
  members: ["enableDarkGrid", "enableDarkImages"]
7597
- }, !0), vt.register({
7597
+ }, !0), kt.register({
7598
7598
  key: "language",
7599
7599
  render: (e) => un(ui, {
7600
7600
  ...e,
7601
7601
  variant: "menuitem"
7602
7602
  })
7603
- }, !0), vt.register({
7603
+ }, !0), kt.register({
7604
7604
  key: "languageOptions",
7605
7605
  contributions: { viewToolbar: {
7606
7606
  anchor: "selectTheme",
7607
7607
  order: 1
7608
7608
  } },
7609
7609
  members: ["language", "locale"]
7610
- }, !0), vt.register({
7610
+ }, !0), kt.register({
7611
7611
  key: "fullScreenToggleView",
7612
7612
  defaultKey: "fullScreenToggle",
7613
7613
  contributions: { viewToolbar: {
7614
7614
  anchor: "freezeOptions",
7615
7615
  order: 1
7616
7616
  } }
7617
- }, !0), vt.register({
7617
+ }, !0), kt.register({
7618
7618
  key: "helpOptions",
7619
- getIcon: () => un(kt, {
7619
+ getIcon: () => un(vt, {
7620
7620
  iconKey: "Help",
7621
7621
  style: { transform: "scale(0.75)" }
7622
7622
  }),
@@ -7658,7 +7658,7 @@ var bi = {
7658
7658
  onClick: (e) => {
7659
7659
  e.stopPropagation(), o();
7660
7660
  },
7661
- children: un(kt, {
7661
+ children: un(vt, {
7662
7662
  style: { transform: "scale(0.85)" },
7663
7663
  iconKey: t
7664
7664
  })
@@ -7667,15 +7667,15 @@ var bi = {
7667
7667
  }));
7668
7668
  fi.displayName = "ItemCardAction";
7669
7669
  var yi = bo((e) => {
7670
- const { item: t, messageKeys: o, title: n, subtitle: r, caption: a, Subtitle: l, readOnly: i = !1, selected: s = !1, canMoveUp: c = !1, canMoveDown: d = !1, onEdit: p, onSelect: u, onMoveBy: m, onDuplicate: h, onDelete: g, actions: b, subscribeItem: f, Media: y, Body: x, className: v, sx: k, ...w } = e, S = ao(), C = !i && !!p, T = null != a, [F, D] = Fo(!1), [N, I] = Co((e) => e + 1, 0);
7670
+ const { item: t, messageKeys: o, title: n, subtitle: r, caption: a, Subtitle: l, readOnly: i = !1, selected: s = !1, canMoveUp: c = !1, canMoveDown: d = !1, onEdit: p, onSelect: u, onMoveBy: m, onDuplicate: h, onDelete: g, actions: b, subscribeItem: f, Media: y, Body: x, className: k, sx: v, ...w } = e, S = ao(), C = !i && !!p, T = null != a, [F, D] = Fo(!1), [N, I] = Co((e) => e + 1, 0);
7671
7671
  xo(() => {
7672
7672
  if (f) return f(t, I);
7673
7673
  }, [t, f]), xo(() => {}, [F]);
7674
- const B = So(() => sr("sxl-item-card", "sxl-anchor-item-card", v, {
7674
+ const B = So(() => sr("sxl-item-card", "sxl-anchor-item-card", k, {
7675
7675
  "sxl-read-only": i,
7676
7676
  "Mui-selected": s
7677
7677
  }, bi.card), [
7678
- v,
7678
+ k,
7679
7679
  i,
7680
7680
  s
7681
7681
  ]);
@@ -7716,7 +7716,7 @@ var yi = bo((e) => {
7716
7716
  width: "auto"
7717
7717
  }
7718
7718
  }
7719
- }, ...Array.isArray(k) ? k : [k]],
7719
+ }, ...Array.isArray(v) ? v : [v]],
7720
7720
  className: B,
7721
7721
  children: [
7722
7722
  mn(gn, {
@@ -7835,7 +7835,7 @@ var yi = bo((e) => {
7835
7835
  });
7836
7836
  });
7837
7837
  yi.displayName = "ItemCard";
7838
- var xi = yi, vi = bo((e) => {
7838
+ var xi = yi, ki = bo((e) => {
7839
7839
  const { value: t, onChange: o, placeholder: n, clearLabel: r, sx: a } = e;
7840
7840
  return un(Gn, {
7841
7841
  className: "sxl-items-search",
@@ -7852,7 +7852,7 @@ var xi = yi, vi = bo((e) => {
7852
7852
  sx: { backgroundColor: "background.paper" },
7853
7853
  startAdornment: un(Fn, {
7854
7854
  position: "start",
7855
- children: un(kt, { iconKey: "Find" })
7855
+ children: un(vt, { iconKey: "Find" })
7856
7856
  }),
7857
7857
  endAdornment: t ? un(Fn, {
7858
7858
  position: "end",
@@ -7863,7 +7863,7 @@ var xi = yi, vi = bo((e) => {
7863
7863
  0 === e.button && e.preventDefault();
7864
7864
  },
7865
7865
  onClick: () => o(""),
7866
- icon: un(kt, { iconKey: "Close" }),
7866
+ icon: un(vt, { iconKey: "Close" }),
7867
7867
  size: "small"
7868
7868
  })
7869
7869
  }) : void 0
@@ -7876,16 +7876,16 @@ var xi = yi, vi = bo((e) => {
7876
7876
  }
7877
7877
  });
7878
7878
  });
7879
- vi.displayName = "ItemsSearchField";
7880
- var ki = uo(null), wi = (e) => {
7881
- const t = yo(ki), o = To(e);
7879
+ ki.displayName = "ItemsSearchField";
7880
+ var vi = uo(null), wi = (e) => {
7881
+ const t = yo(vi), o = To(e);
7882
7882
  o.current = e, xo(() => {
7883
7883
  if (t) return t.register(() => o.current());
7884
7884
  }, [t]);
7885
7885
  }, Si = bo((e) => {
7886
- const { context: t, selected: o, onChangeSelected: n, onActivate: r, autoFocus: a = !1, className: l } = e, i = ao(), s = ut(), [c, d] = Fo([]), [p, u] = Fo("*"), [m, h] = Fo(""), [g, b] = Fo(""), [f, y] = Fo([]), [x, v] = Fo(null), k = "*" === (w = p) ? void 0 : w;
7886
+ const { context: t, selected: o, onChangeSelected: n, onActivate: r, autoFocus: a = !1, className: l } = e, i = ao(), s = ut(), [c, d] = Fo([]), [p, u] = Fo("*"), [m, h] = Fo(""), [g, b] = Fo(""), [f, y] = Fo([]), [x, k] = Fo(null), v = "*" === (w = p) ? void 0 : w;
7887
7887
  var w;
7888
- const S = To(null), C = To(null), T = vo(), F = (e) => `${T}${e}`;
7888
+ const S = To(null), C = To(null), T = ko(), F = (e) => `${T}${e}`;
7889
7889
  xo(() => {
7890
7890
  const e = setTimeout(() => b(m.trim()), 150);
7891
7891
  return () => clearTimeout(e);
@@ -7907,26 +7907,26 @@ var ki = uo(null), wi = (e) => {
7907
7907
  const o = t?.();
7908
7908
  if (!o) return;
7909
7909
  const n = g ? await o.searchByText(g, {
7910
- category: k,
7910
+ category: v,
7911
7911
  limit: 100
7912
- }) : await o.searchByCategory(k);
7912
+ }) : await o.searchByCategory(v);
7913
7913
  e || (y(n), D(n[0] ?? null));
7914
7914
  })(), () => {
7915
7915
  e = !0;
7916
7916
  };
7917
7917
  }, [
7918
7918
  t,
7919
- k,
7919
+ v,
7920
7920
  g,
7921
7921
  D
7922
7922
  ]), xo(() => {
7923
- if (!o) return void v(null);
7923
+ if (!o) return void k(null);
7924
7924
  let e = !1;
7925
7925
  const t = o.getName();
7926
7926
  return o.getDescriptor().then((o) => {
7927
- e || v(Te(t, o));
7927
+ e || k(Te(t, o));
7928
7928
  }).catch(() => {
7929
- e || v(null);
7929
+ e || k(null);
7930
7930
  }), () => {
7931
7931
  e = !0;
7932
7932
  };
@@ -8043,7 +8043,7 @@ var ki = uo(null), wi = (e) => {
8043
8043
  input: {
8044
8044
  startAdornment: un(Fn, {
8045
8045
  position: "start",
8046
- children: un(kt, { iconKey: "Find" })
8046
+ children: un(vt, { iconKey: "Find" })
8047
8047
  }),
8048
8048
  endAdornment: m ? un(Fn, {
8049
8049
  position: "end",
@@ -8054,7 +8054,7 @@ var ki = uo(null), wi = (e) => {
8054
8054
  0 === e.button && e.preventDefault();
8055
8055
  },
8056
8056
  onClick: () => h(""),
8057
- icon: un(kt, { iconKey: "Close" }),
8057
+ icon: un(vt, { iconKey: "Close" }),
8058
8058
  size: "small"
8059
8059
  })
8060
8060
  }) : void 0
@@ -8146,7 +8146,7 @@ var ki = uo(null), wi = (e) => {
8146
8146
  });
8147
8147
  Si.displayName = "FunctionSearchPanel";
8148
8148
  var Ci = bo((e) => {
8149
- const { func: t, workbook: o, home: n, autoFocus: r = !1, onChangeCall: a, className: l } = e, i = ao(), s = ut(), c = void 0 !== o ? o : s, [d, p] = Fo([]), [u, m] = Fo([]), [h, g] = Fo([]), [b, f] = Fo(null), [y, x] = Fo(0), [v, k] = Fo(null), w = To(null), S = To(/* @__PURE__ */ new Map()), C = So(() => t.getDeclaration().getParameters(), [t]), T = So(() => Qe(C, d), [C, d]), F = So(() => Fe(t, { locale: c?.getLocale() }), [t, c]), D = So(() => Se(F.nameLocal ?? F.name, T, d, { separator: F.argSeparator }), [
8149
+ const { func: t, workbook: o, home: n, autoFocus: r = !1, onChangeCall: a, className: l } = e, i = ao(), s = ut(), c = void 0 !== o ? o : s, [d, p] = Fo([]), [u, m] = Fo([]), [h, g] = Fo([]), [b, f] = Fo(null), [y, x] = Fo(0), [k, v] = Fo(null), w = To(null), S = To(/* @__PURE__ */ new Map()), C = So(() => t.getDeclaration().getParameters(), [t]), T = So(() => Qe(C, d), [C, d]), F = So(() => Fe(t, { locale: c?.getLocale() }), [t, c]), D = So(() => Se(F.nameLocal ?? F.name, T, d, { separator: F.argSeparator }), [
8150
8150
  F,
8151
8151
  T,
8152
8152
  d
@@ -8157,9 +8157,9 @@ var Ci = bo((e) => {
8157
8157
  let e = !1;
8158
8158
  const o = t.getName();
8159
8159
  return t.getDescriptor().then((t) => {
8160
- e || k(Te(o, t));
8160
+ e || v(Te(o, t));
8161
8161
  }).catch(() => {
8162
- e || k(null);
8162
+ e || v(null);
8163
8163
  }), () => {
8164
8164
  e = !0;
8165
8165
  };
@@ -8234,11 +8234,11 @@ var Ci = bo((e) => {
8234
8234
  i
8235
8235
  ]), M = So(() => {
8236
8236
  const e = T[y];
8237
- if (e && v?.name === t.getName()) return v?.params?.[e.descKey]?.description;
8237
+ if (e && k?.name === t.getName()) return k?.params?.[e.descKey]?.description;
8238
8238
  }, [
8239
8239
  T,
8240
8240
  y,
8241
- v,
8241
+ k,
8242
8242
  t
8243
8243
  ]), O = So(() => T.map((e, o) => mn(gn, {
8244
8244
  sx: {
@@ -8362,12 +8362,12 @@ var Ci = bo((e) => {
8362
8362
  textOverflow: "ellipsis"
8363
8363
  },
8364
8364
  children: F.nameLocal ?? F.name
8365
- }), v?.name === t.getName() ? un(gn, {
8365
+ }), k?.name === t.getName() ? un(gn, {
8366
8366
  sx: {
8367
8367
  paddingTop: "2px",
8368
8368
  color: "text.secondary"
8369
8369
  },
8370
- children: v.summary
8370
+ children: k.summary
8371
8371
  }) : null]
8372
8372
  }),
8373
8373
  un(gn, {
@@ -8605,7 +8605,7 @@ var Ii = [
8605
8605
  }
8606
8606
  return e;
8607
8607
  }, [t, o]);
8608
- return un(kn, {
8608
+ return un(vn, {
8609
8609
  sx: {
8610
8610
  minWidth: "125px",
8611
8611
  maxWidth: "125px",
@@ -8666,7 +8666,7 @@ var Ii = [
8666
8666
  m,
8667
8667
  f,
8668
8668
  r
8669
- ]), { sx: v, ...k } = i, w = un(En, {
8669
+ ]), { sx: k, ...v } = i, w = un(En, {
8670
8670
  elevation: 2,
8671
8671
  tabIndex: 0,
8672
8672
  sx: {
@@ -8681,9 +8681,9 @@ var Ii = [
8681
8681
  marginRight: (e) => e.spacing(1),
8682
8682
  marginTop: (e) => e.spacing(.5),
8683
8683
  marginBottom: (e) => e.spacing(.5),
8684
- ...v
8684
+ ...k
8685
8685
  },
8686
- ...k,
8686
+ ...v,
8687
8687
  children: h[f]
8688
8688
  });
8689
8689
  return mn(gn, {
@@ -8718,12 +8718,12 @@ var Ai = { placement: "top-end" }, Li = bo(ho((e, t) => {
8718
8718
  }, [s]), g = (e) => {
8719
8719
  let t = e;
8720
8720
  return e < 100 ? t = 10 / 9 * (e - 10) : e > 100 && (t = (e + 200) / 3), t;
8721
- }, b = g(c), [f, y] = Fo(null), x = To(null), v = fo(() => {
8721
+ }, b = g(c), [f, y] = Fo(null), x = To(null), k = fo(() => {
8722
8722
  const e = f;
8723
8723
  e && requestAnimationFrame(() => {
8724
8724
  x.current?.contains(document.activeElement) && e.focus();
8725
8725
  });
8726
- }, []), k = Jt(() => {
8726
+ }, []), v = Jt(() => {
8727
8727
  s && h(g(s.getNextZoomScale(!1, 10)));
8728
8728
  }), w = Jt(() => {
8729
8729
  s && h(g(s.getNextZoomScale(!0, 10)));
@@ -8748,7 +8748,7 @@ var Ai = { placement: "top-end" }, Li = bo(ho((e, t) => {
8748
8748
  0 === e.button && e.preventDefault();
8749
8749
  },
8750
8750
  onMouseUp: (e) => {
8751
- 0 === e.button && v();
8751
+ 0 === e.button && k();
8752
8752
  },
8753
8753
  ...l,
8754
8754
  children: [mn(gn, {
@@ -8776,9 +8776,9 @@ var Ai = { placement: "top-end" }, Li = bo(ho((e, t) => {
8776
8776
  },
8777
8777
  size: "small",
8778
8778
  onPointerDown: (e) => {
8779
- 0 !== e.button ? e.preventDefault() : k(e);
8779
+ 0 !== e.button ? e.preventDefault() : v(e);
8780
8780
  },
8781
- children: un(kt, { iconKey: "Remove" })
8781
+ children: un(vt, { iconKey: "Remove" })
8782
8782
  })
8783
8783
  }),
8784
8784
  un(zn, {
@@ -8815,7 +8815,7 @@ var Ai = { placement: "top-end" }, Li = bo(ho((e, t) => {
8815
8815
  s && h(g(s.getNextZoomScale(e.deltaY < 0, 10)));
8816
8816
  },
8817
8817
  onKeyDown: (e) => {
8818
- e.which === wt.Down || e.which === wt.Right ? (s && h(g(s.getNextZoomScale(!0, 10))), e.preventDefault()) : e.which === wt.Up || e.which === wt.Left ? (s && h(g(s.getNextZoomScale(!1, 10))), e.preventDefault()) : e.which !== wt.Enter && e.which !== wt.Escape || v();
8818
+ e.which === wt.Down || e.which === wt.Right ? (s && h(g(s.getNextZoomScale(!0, 10))), e.preventDefault()) : e.which === wt.Up || e.which === wt.Left ? (s && h(g(s.getNextZoomScale(!1, 10))), e.preventDefault()) : e.which !== wt.Enter && e.which !== wt.Escape || k();
8819
8819
  },
8820
8820
  onChange: (e, t) => {
8821
8821
  Math.abs(t - 100) < 3 ? h(100) : h(t);
@@ -8838,7 +8838,7 @@ var Ai = { placement: "top-end" }, Li = bo(ho((e, t) => {
8838
8838
  onPointerDown: (e) => {
8839
8839
  0 !== e.button ? e.preventDefault() : w(e);
8840
8840
  },
8841
- children: un(kt, { iconKey: "Add" })
8841
+ children: un(vt, { iconKey: "Add" })
8842
8842
  })
8843
8843
  })
8844
8844
  ]
@@ -9095,7 +9095,7 @@ var _i = bo((e) => {
9095
9095
  },
9096
9096
  children: c > 0 && un(Lo, {
9097
9097
  "aria-label": "pending-results",
9098
- icon: un(kt, { iconKey: "PendingResults" }),
9098
+ icon: un(vt, { iconKey: "PendingResults" }),
9099
9099
  propsTooltip: {
9100
9100
  label: l("statusBar.pending", { count: c }),
9101
9101
  simple: !0
@@ -9132,11 +9132,11 @@ var Zi = bo(ho((e, t) => {
9132
9132
  g,
9133
9133
  p,
9134
9134
  u
9135
- ]), f = g?.cancel, y = g?.done, x = !(!f && !y), v = To(null), [k, w] = Fo(null), S = x && k?.message === b;
9135
+ ]), f = g?.cancel, y = g?.done, x = !(!f && !y), k = To(null), [v, w] = Fo(null), S = x && v?.message === b;
9136
9136
  wo(() => {
9137
- if (!x) return void (k && w(null));
9137
+ if (!x) return void (v && w(null));
9138
9138
  if (S) return;
9139
- const e = v.current, t = c.current;
9139
+ const e = k.current, t = c.current;
9140
9140
  !e || !t || e.scrollWidth <= e.clientWidth || w({
9141
9141
  message: b,
9142
9142
  width: t.clientWidth
@@ -9145,10 +9145,10 @@ var Zi = bo(ho((e, t) => {
9145
9145
  const e = c.current;
9146
9146
  if (!S || !e || "undefined" == typeof ResizeObserver) return;
9147
9147
  const t = new ResizeObserver(() => {
9148
- e.clientWidth > k.width && w(null);
9148
+ e.clientWidth > v.width && w(null);
9149
9149
  });
9150
9150
  return t.observe(e), () => t.disconnect();
9151
- }, [S, k]);
9151
+ }, [S, v]);
9152
9152
  const C = So(() => {
9153
9153
  const e = (e) => {
9154
9154
  0 === e.button && e.preventDefault();
@@ -9169,7 +9169,7 @@ var Zi = bo(ho((e, t) => {
9169
9169
  f && un(Lo, {
9170
9170
  "aria-label": "cancel-mode",
9171
9171
  color: "warning",
9172
- icon: un(kt, { iconKey: "CloseError" }),
9172
+ icon: un(vt, { iconKey: "CloseError" }),
9173
9173
  propsTooltip: {
9174
9174
  label: u("statusBar.cancelMode"),
9175
9175
  simple: !0
@@ -9181,7 +9181,7 @@ var Zi = bo(ho((e, t) => {
9181
9181
  y && un(Lo, {
9182
9182
  "aria-label": "done-mode",
9183
9183
  color: "primary",
9184
- icon: un(kt, { iconKey: "CheckSuccess" }),
9184
+ icon: un(vt, { iconKey: "CheckSuccess" }),
9185
9185
  propsTooltip: {
9186
9186
  label: u("statusBar.doneMode"),
9187
9187
  simple: !0
@@ -9191,7 +9191,7 @@ var Zi = bo(ho((e, t) => {
9191
9191
  sx: { marginRight: "4px" }
9192
9192
  }),
9193
9193
  un(jn, {
9194
- ref: v,
9194
+ ref: k,
9195
9195
  component: "div",
9196
9196
  sx: {
9197
9197
  flex: "0 1 auto",
@@ -9285,8 +9285,8 @@ var Zi = bo(ho((e, t) => {
9285
9285
  }));
9286
9286
  Zi.displayName = "StatusBar";
9287
9287
  var Qi = bo(ho((e, t) => {
9288
- const { className: o, style: n, disabled: r, names: a, workbook: l, restoreFocus: i, readonly: s = !1, disabled: c, propsCommandPopupButton: d, ...p } = e, u = eo(), m = ao(), [h, g] = Fo(null), [f, y] = Fo(null), [x, v] = Fo(!1), { reference: k } = jt({ parentFloat: d?.parentFloat }), [w, S] = Fo(() => s || !l.getProtection().isStructureAllowed()), C = () => h?.text ?? "", [T, F] = Fo(C), D = Et(() => {
9289
- if (k?.closeAll(), !T) {
9288
+ const { className: o, style: n, disabled: r, names: a, workbook: l, restoreFocus: i, readonly: s = !1, disabled: c, propsCommandPopupButton: d, ...p } = e, u = eo(), m = ao(), [h, g] = Fo(null), [f, y] = Fo(null), [x, k] = Fo(!1), { reference: v } = jt({ parentFloat: d?.parentFloat }), [w, S] = Fo(() => s || !l.getProtection().isStructureAllowed()), C = () => h?.text ?? "", [T, F] = Fo(C), D = Et(() => {
9289
+ if (v?.closeAll(), !T) {
9290
9290
  const e = C();
9291
9291
  return F(C()), e;
9292
9292
  }
@@ -9330,7 +9330,7 @@ var Qi = bo(ho((e, t) => {
9330
9330
  }, [
9331
9331
  T,
9332
9332
  a,
9333
- k,
9333
+ v,
9334
9334
  w,
9335
9335
  u
9336
9336
  ]), N = Et(() => {
@@ -9470,7 +9470,7 @@ var Qi = bo(ho((e, t) => {
9470
9470
  M
9471
9471
  ]), A = Et(async (e) => {
9472
9472
  try {
9473
- k?.closeAll();
9473
+ v?.closeAll();
9474
9474
  const t = a.getItems({ address: e })?.[0];
9475
9475
  t && await t?.select(), await l.getRanges(e)?.select({ autoFocus: !0 });
9476
9476
  } catch (e) {
@@ -9482,7 +9482,7 @@ var Qi = bo(ho((e, t) => {
9482
9482
  l
9483
9483
  ]), L = fo((e) => {
9484
9484
  setTimeout(() => {
9485
- v(!0);
9485
+ k(!0);
9486
9486
  }, 0);
9487
9487
  const t = {
9488
9488
  variant: yt.Menuitem,
@@ -9620,8 +9620,8 @@ var Qi = bo(ho((e, t) => {
9620
9620
  tabIndex: -1,
9621
9621
  outlined: { color: (e) => r ? e.palette.action.disabled : "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255, 255, 255, 0.2)))" },
9622
9622
  renderPopupPanel: L,
9623
- onPopupOpen: () => v(!0),
9624
- onPopupClose: () => v(!1),
9623
+ onPopupOpen: () => k(!0),
9624
+ onPopupClose: () => k(!1),
9625
9625
  renderTooltip: ({ children: e, disabled: t }) => un(Vo, {
9626
9626
  title: t || x ? "" : m("nameBox.title"),
9627
9627
  disabled: t,
@@ -9634,7 +9634,7 @@ var Qi = bo(ho((e, t) => {
9634
9634
  });
9635
9635
  }));
9636
9636
  Qi.displayName = "NamedCollectionEditor";
9637
- var Yi = ln(ar("studio:namedDetailsTaskPane", () => import("./h0ih_bazDGjgIXQd.mjs"), { select: (e) => ({ default: e.NamedDetailsTaskPane }) }).load), Xi = () => V.registerTaskPane({
9637
+ var Yi = ln(ar("studio:namedDetailsTaskPane", () => import("./Dv8pWn_FIH1LYneP.mjs"), { select: (e) => ({ default: e.NamedDetailsTaskPane }) }).load), Xi = () => V.registerTaskPane({
9638
9638
  key: pe.Names,
9639
9639
  component: Yi
9640
9640
  }, !0), Ji = "formula-bar", es = (e) => {
@@ -9663,7 +9663,7 @@ var Yi = ln(ar("studio:namedDetailsTaskPane", () => import("./h0ih_bazDGjgIXQd.m
9663
9663
  m((e) => e + 1);
9664
9664
  });
9665
9665
  }, [s, d]);
9666
- const x = to(o, (e) => e.getSession()), v = !!x, w = Et(() => {
9666
+ const x = to(o, (e) => e.getSession()), k = !!x, w = Et(() => {
9667
9667
  o?.cancel();
9668
9668
  }, [o]), S = Et(() => {
9669
9669
  o?.commit();
@@ -9685,10 +9685,10 @@ var Yi = ln(ar("studio:namedDetailsTaskPane", () => import("./h0ih_bazDGjgIXQd.m
9685
9685
  },
9686
9686
  contributor: { dynamic: Ce },
9687
9687
  data: T
9688
- } : null, [T]), D = So(() => v || !s ? null : $e(s.getRange(d).getCell()), [
9688
+ } : null, [T]), D = So(() => k || !s ? null : $e(s.getRange(d).getCell()), [
9689
9689
  s,
9690
9690
  d,
9691
- v,
9691
+ k,
9692
9692
  u
9693
9693
  ]);
9694
9694
  return {
@@ -9696,7 +9696,7 @@ var Yi = ln(ar("studio:namedDetailsTaskPane", () => import("./h0ih_bazDGjgIXQd.m
9696
9696
  activeCoords: d,
9697
9697
  disabled: y,
9698
9698
  session: x,
9699
- isEditing: v,
9699
+ isEditing: k,
9700
9700
  cancel: w,
9701
9701
  commit: S,
9702
9702
  editorSpec: F,
@@ -9720,9 +9720,9 @@ var Yi = ln(ar("studio:namedDetailsTaskPane", () => import("./h0ih_bazDGjgIXQd.m
9720
9720
  weight: null
9721
9721
  },
9722
9722
  alignment: {
9723
- horizontal: k.HorizontalAlignment.Left,
9724
- vertical: k.VerticalAlignment.Top,
9725
- overflow: k.Overflow.Visible
9723
+ horizontal: v.HorizontalAlignment.Left,
9724
+ vertical: v.VerticalAlignment.Top,
9725
+ overflow: v.Overflow.Visible
9726
9726
  },
9727
9727
  fill: { type: g.Type.None }
9728
9728
  } }) : null,
@@ -9755,7 +9755,7 @@ var Yi = ln(ar("studio:namedDetailsTaskPane", () => import("./h0ih_bazDGjgIXQd.m
9755
9755
  ])
9756
9756
  };
9757
9757
  }, ts = "_formula-bar_uer84_1", os = (e) => un(Qi, { ...e }), ns = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255, 255, 255, 0.2)))", rs = bo(ho((e, t) => {
9758
- const { className: o, style: n, workbook: r, editable: a, showNamedCollectionEditor: l = !0, propsNamedCollectionEditor: i, renderNamedCollectionEditor: c = os, disabled: d, showCalculateNow: p = !0, placement: u = "top", floatOnKeyboard: m, ...h } = e, g = r, f = 20, { sheet: y, disabled: x, isEditing: v, cancel: k, commit: w, editorSpec: S, cellEditor: C } = es({
9758
+ const { className: o, style: n, workbook: r, editable: a, showNamedCollectionEditor: l = !0, propsNamedCollectionEditor: i, renderNamedCollectionEditor: c = os, disabled: d, showCalculateNow: p = !0, placement: u = "top", floatOnKeyboard: m, ...h } = e, g = r, f = 20, { sheet: y, disabled: x, isEditing: k, cancel: v, commit: w, editorSpec: S, cellEditor: C } = es({
9759
9759
  workbook: g,
9760
9760
  editable: a,
9761
9761
  disabled: d,
@@ -9807,7 +9807,7 @@ var Yi = ln(ar("studio:namedDetailsTaskPane", () => import("./h0ih_bazDGjgIXQd.m
9807
9807
  outlined: !1,
9808
9808
  disabled: !D || D.disabled(),
9809
9809
  "aria-label": "calculate-now",
9810
- icon: un(kt, { iconKey: "Calculate" }),
9810
+ icon: un(vt, { iconKey: "Calculate" }),
9811
9811
  propsTooltip: {
9812
9812
  label: D?.getLabel() ?? R("statusBar.calculate"),
9813
9813
  simple: !0
@@ -9826,16 +9826,16 @@ var Yi = ln(ar("studio:namedDetailsTaskPane", () => import("./h0ih_bazDGjgIXQd.m
9826
9826
  outlined: !1,
9827
9827
  color: "warning",
9828
9828
  "aria-label": "cancel-formula-edit",
9829
- icon: un(kt, { iconKey: "CloseError" }),
9829
+ icon: un(vt, { iconKey: "CloseError" }),
9830
9830
  propsTooltip: {
9831
9831
  label: R("formulaBar.cancel"),
9832
9832
  simple: !0
9833
9833
  },
9834
- disabled: x || !v,
9834
+ disabled: x || !k,
9835
9835
  onMouseDown: (e) => {
9836
9836
  0 === e.button && e.preventDefault();
9837
9837
  },
9838
- onClick: k
9838
+ onClick: v
9839
9839
  }),
9840
9840
  un(Lo, {
9841
9841
  sx: {
@@ -9847,12 +9847,12 @@ var Yi = ln(ar("studio:namedDetailsTaskPane", () => import("./h0ih_bazDGjgIXQd.m
9847
9847
  outlined: !1,
9848
9848
  color: "primary",
9849
9849
  "aria-label": "commit-formula-edit",
9850
- icon: un(kt, { iconKey: "CheckSuccess" }),
9850
+ icon: un(vt, { iconKey: "CheckSuccess" }),
9851
9851
  propsTooltip: {
9852
9852
  label: R("formulaBar.enter"),
9853
9853
  simple: !0
9854
9854
  },
9855
- disabled: x || !v,
9855
+ disabled: x || !k,
9856
9856
  onMouseDown: (e) => {
9857
9857
  0 === e.button && e.preventDefault();
9858
9858
  },
@@ -9868,7 +9868,7 @@ var Yi = ln(ar("studio:namedDetailsTaskPane", () => import("./h0ih_bazDGjgIXQd.m
9868
9868
  outlined: !1,
9869
9869
  disabled: !F || F.disabled(),
9870
9870
  "aria-label": "commit-formula-function",
9871
- icon: un(kt, {
9871
+ icon: un(vt, {
9872
9872
  iconKey: "Function",
9873
9873
  style: { transform: "scale(0.85)" }
9874
9874
  }),
@@ -9883,9 +9883,9 @@ var Yi = ln(ar("studio:namedDetailsTaskPane", () => import("./h0ih_bazDGjgIXQd.m
9883
9883
  ]
9884
9884
  }), [
9885
9885
  x,
9886
- v,
9887
- F,
9888
9886
  k,
9887
+ F,
9888
+ v,
9889
9889
  w,
9890
9890
  R,
9891
9891
  P,
@@ -9979,7 +9979,7 @@ var Yi = ln(ar("studio:namedDetailsTaskPane", () => import("./h0ih_bazDGjgIXQd.m
9979
9979
  dense: !0,
9980
9980
  outlined: !1,
9981
9981
  "aria-label": "toggle-expand-formula-edit",
9982
- icon: un(kt, { iconKey: K > 1 ? "ExpandLess" : "ExpandMore" }),
9982
+ icon: un(vt, { iconKey: K > 1 ? "ExpandLess" : "ExpandMore" }),
9983
9983
  propsTooltip: {
9984
9984
  label: R(K > 1 ? "formulaBar.collapse" : "formulaBar.expand"),
9985
9985
  simple: !0
@@ -10086,7 +10086,7 @@ var as = (e) => un(Lo, {
10086
10086
  un(as, {
10087
10087
  "aria-label": "input-mode-text",
10088
10088
  selected: n && "text" === r,
10089
- icon: un(kt, { iconKey: "KeyboardLetters" }),
10089
+ icon: un(vt, { iconKey: "KeyboardLetters" }),
10090
10090
  propsTooltip: {
10091
10091
  label: u("formulaBar.lettersKeyboard"),
10092
10092
  simple: !0
@@ -10097,7 +10097,7 @@ var as = (e) => un(Lo, {
10097
10097
  un(as, {
10098
10098
  "aria-label": "input-mode-decimal",
10099
10099
  selected: n && "decimal" === r,
10100
- icon: un(kt, { iconKey: "KeyboardNumbers" }),
10100
+ icon: un(vt, { iconKey: "KeyboardNumbers" }),
10101
10101
  propsTooltip: {
10102
10102
  label: u("formulaBar.numbersKeyboard"),
10103
10103
  simple: !0
@@ -10107,7 +10107,7 @@ var as = (e) => un(Lo, {
10107
10107
  }),
10108
10108
  un(as, {
10109
10109
  "aria-label": "insert-date",
10110
- icon: un(kt, { iconKey: "KeyboardDate" }),
10110
+ icon: un(vt, { iconKey: "KeyboardDate" }),
10111
10111
  propsTooltip: {
10112
10112
  label: u("formulaBar.dateInput"),
10113
10113
  simple: !0
@@ -10118,7 +10118,7 @@ var as = (e) => un(Lo, {
10118
10118
  un(gn, { sx: { flex: "1 1 auto" } }),
10119
10119
  un(as, {
10120
10120
  "aria-label": "tab-formula-edit",
10121
- icon: un(kt, { iconKey: "KeyboardTab" }),
10121
+ icon: un(vt, { iconKey: "KeyboardTab" }),
10122
10122
  propsTooltip: {
10123
10123
  label: u("formulaBar.tab"),
10124
10124
  simple: !0
@@ -10128,7 +10128,7 @@ var as = (e) => un(Lo, {
10128
10128
  }),
10129
10129
  un(as, {
10130
10130
  "aria-label": "enter-formula-edit",
10131
- icon: un(kt, { iconKey: "KeyboardEnter" }),
10131
+ icon: un(vt, { iconKey: "KeyboardEnter" }),
10132
10132
  propsTooltip: {
10133
10133
  label: u("formulaBar.enterKey"),
10134
10134
  simple: !0
@@ -10141,7 +10141,7 @@ var as = (e) => un(Lo, {
10141
10141
  un(as, {
10142
10142
  "aria-label": "cancel-formula-edit",
10143
10143
  color: "warning",
10144
- icon: un(kt, { iconKey: "CloseError" }),
10144
+ icon: un(vt, { iconKey: "CloseError" }),
10145
10145
  propsTooltip: {
10146
10146
  label: u("formulaBar.cancel"),
10147
10147
  simple: !0
@@ -10152,7 +10152,7 @@ var as = (e) => un(Lo, {
10152
10152
  un(as, {
10153
10153
  "aria-label": "commit-formula-edit",
10154
10154
  color: "primary",
10155
- icon: un(kt, { iconKey: "CheckSuccess" }),
10155
+ icon: un(vt, { iconKey: "CheckSuccess" }),
10156
10156
  propsTooltip: {
10157
10157
  label: u("formulaBar.enter"),
10158
10158
  simple: !0
@@ -10183,7 +10183,7 @@ var is = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
10183
10183
  }, cs = ({ elementRef: e }) => (Vt(Ht(), e), null), ds = bo(ho((e, t) => {
10184
10184
  const { className: o, style: n, workbook: r, editable: a, disabled: l, showCancelCommit: i, floatOnKeyboard: s = !0, showNamedCollectionEditor: c, propsNamedCollectionEditor: d, renderNamedCollectionEditor: p, showCalculateNow: u, placement: m, ...h } = e, g = r, f = lo(), y = f.getInputMode();
10185
10185
  xo(() => f.registerEditor(Ji), [f]);
10186
- const { sheet: x, activeCoords: v, disabled: k, isEditing: w, cancel: S, commit: C, editorSpec: T, cellEditor: F } = es({
10186
+ const { sheet: x, activeCoords: k, disabled: v, isEditing: w, cancel: S, commit: C, editorSpec: T, cellEditor: F } = es({
10187
10187
  workbook: g,
10188
10188
  editable: a,
10189
10189
  disabled: l,
@@ -10212,8 +10212,8 @@ var is = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
10212
10212
  const o = t.inputMode !== e;
10213
10213
  t.inputMode = e, document.activeElement !== t ? t.focus({ preventScroll: !0 }) : !o && Ot() || (U.current = performance.now(), t.blur(), t.focus({ preventScroll: !0 }));
10214
10214
  }, [f]), j = Et(() => {
10215
- k || G()?.focus({ preventScroll: !0 });
10216
- }, [k]), _ = Et(() => {
10215
+ v || G()?.focus({ preventScroll: !0 });
10216
+ }, [v]), _ = Et(() => {
10217
10217
  if (performance.now() - U.current < 800) return;
10218
10218
  const e = document.activeElement;
10219
10219
  e && O.current?.contains(e) && V.current?.focus({ preventScroll: !0 });
@@ -10260,7 +10260,7 @@ var is = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
10260
10260
  }, [X]);
10261
10261
  let re = null;
10262
10262
  if (s) {
10263
- const e = x && !x.isDeleted() ? x.getRange(v).getCell() : null, t = e ? Be(e) : "", o = e && !t ? $e(e) : null;
10263
+ const e = x && !x.isDeleted() ? x.getRange(k).getCell() : null, t = e ? Be(e) : "", o = e && !t ? $e(e) : null;
10264
10264
  re = un(gn, {
10265
10265
  className: "formula-bar-display",
10266
10266
  sx: {
@@ -10269,7 +10269,7 @@ var is = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
10269
10269
  overflow: "hidden",
10270
10270
  textOverflow: "ellipsis",
10271
10271
  wordBreak: "break-word",
10272
- color: (e) => k || o ? e.palette.text.disabled : e.palette.text.primary
10272
+ color: (e) => v || o ? e.palette.text.disabled : e.palette.text.primary
10273
10273
  },
10274
10274
  children: t || o
10275
10275
  });
@@ -10287,7 +10287,7 @@ var is = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
10287
10287
  children: [un(ss, {
10288
10288
  disabled: !D || D.disabled(),
10289
10289
  "aria-label": "commit-formula-function",
10290
- icon: un(kt, {
10290
+ icon: un(vt, {
10291
10291
  iconKey: "Function",
10292
10292
  style: { transform: "scale(0.85)" }
10293
10293
  }),
@@ -10316,8 +10316,8 @@ var is = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
10316
10316
  boxShadow: "none",
10317
10317
  borderRadius: (e) => `${e.shape.borderRadius}px`,
10318
10318
  backgroundColor: "var(--sxl-color-input, var(--sxl-color-base-100))",
10319
- border: (e) => `solid ${k ? e.palette.action.disabled : is} 1px`,
10320
- "& textarea": { color: (e) => k ? `${e.palette.text.disabled} !important` : e.palette.text.primary }
10319
+ border: (e) => `solid ${v ? e.palette.action.disabled : is} 1px`,
10320
+ "& textarea": { color: (e) => v ? `${e.palette.text.disabled} !important` : e.palette.text.primary }
10321
10321
  },
10322
10322
  onFocus: t ? void 0 : () => R(!0),
10323
10323
  onBlur: t ? void 0 : () => R(!1),
@@ -10332,7 +10332,7 @@ var is = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
10332
10332
  justifyContent: "center",
10333
10333
  alignSelf: "center",
10334
10334
  overflow: "hidden",
10335
- cursor: t && !k ? "text" : void 0
10335
+ cursor: t && !v ? "text" : void 0
10336
10336
  },
10337
10337
  style: { height: 20 * M + "px" },
10338
10338
  onClick: t ? j : void 0,
@@ -10340,7 +10340,7 @@ var is = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
10340
10340
  }),
10341
10341
  un(ss, {
10342
10342
  "aria-label": "toggle-expand-formula-edit",
10343
- icon: un(kt, { iconKey: I ? "ExpandMore" : "ExpandLess" }),
10343
+ icon: un(vt, { iconKey: I ? "ExpandMore" : "ExpandLess" }),
10344
10344
  propsTooltip: {
10345
10345
  label: N(I ? "formulaBar.collapse" : "formulaBar.expand"),
10346
10346
  simple: !0
@@ -10381,7 +10381,7 @@ var is = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
10381
10381
  }),
10382
10382
  un(ls, {
10383
10383
  isEditing: w,
10384
- disabled: k,
10384
+ disabled: v,
10385
10385
  keyboardShown: f.isActive(),
10386
10386
  inputMode: y,
10387
10387
  showCancelCommit: i,
@@ -10448,7 +10448,7 @@ var is = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
10448
10448
  });
10449
10449
  }));
10450
10450
  ds.displayName = "MobileFormulaBar";
10451
- var ps = ln(ar("studio:externalLinksTaskPane", () => import("./uCFRHXTVhzTQ53TT.mjs"), { select: (e) => ({ default: e.ExternalLinksTaskPane }) }).load), us = () => V.registerTaskPane({
10451
+ var ps = ln(ar("studio:externalLinksTaskPane", () => import("./C9dfS-Tk6WGogUSV.mjs"), { select: (e) => ({ default: e.ExternalLinksTaskPane }) }).load), us = () => V.registerTaskPane({
10452
10452
  key: pe.ExternalLinks,
10453
10453
  component: ps
10454
10454
  }, !0), ms = {
@@ -10583,7 +10583,7 @@ var ps = ln(ar("studio:externalLinksTaskPane", () => import("./uCFRHXTVhzTQ53TT.
10583
10583
  onClick: (e) => {
10584
10584
  e.stopPropagation(), i(e.currentTarget);
10585
10585
  },
10586
- children: un(kt, {
10586
+ children: un(vt, {
10587
10587
  style: { transform: "scale(0.85)" },
10588
10588
  iconKey: "MoreHorizontal"
10589
10589
  })
@@ -10621,9 +10621,9 @@ var ps = ln(ar("studio:externalLinksTaskPane", () => import("./uCFRHXTVhzTQ53TT.
10621
10621
  })]
10622
10622
  });
10623
10623
  }, ys = bo((e) => {
10624
- const { sheet: t, coords: o, comment: n, focusRequest: r = 0, highlighted: a = !1, elevated: l = !1, onSelect: i, onClose: s, onPosted: c, className: d, ref: p, ...u } = e, m = ao(), h = eo(), g = Ye(n), b = Mt(_t()?.themeScope), [f, y] = Fo(null), [x, v] = Fo(null), k = To(null);
10624
+ const { sheet: t, coords: o, comment: n, focusRequest: r = 0, highlighted: a = !1, elevated: l = !1, onSelect: i, onClose: s, onPosted: c, className: d, ref: p, ...u } = e, m = ao(), h = eo(), g = Ye(n), b = Mt(_t()?.themeScope), [f, y] = Fo(null), [x, k] = Fo(null), v = To(null);
10625
10625
  xo(() => {
10626
- r && k.current?.focus();
10626
+ r && v.current?.focus();
10627
10627
  }, [r]);
10628
10628
  const w = (e) => {
10629
10629
  try {
@@ -10651,7 +10651,7 @@ var ps = ln(ar("studio:externalLinksTaskPane", () => import("./uCFRHXTVhzTQ53TT.
10651
10651
  borderColor: "divider"
10652
10652
  },
10653
10653
  children: [
10654
- un(kt, {
10654
+ un(vt, {
10655
10655
  style: { transform: "scale(0.85)" },
10656
10656
  iconKey: "Check"
10657
10657
  }),
@@ -10672,7 +10672,7 @@ var ps = ln(ar("studio:externalLinksTaskPane", () => import("./uCFRHXTVhzTQ53TT.
10672
10672
  onClick: () => w(() => {
10673
10673
  n.setResolved(!1);
10674
10674
  }),
10675
- children: un(kt, {
10675
+ children: un(vt, {
10676
10676
  style: { transform: "scale(0.85)" },
10677
10677
  iconKey: "Undo"
10678
10678
  })
@@ -10689,7 +10689,7 @@ var ps = ln(ar("studio:externalLinksTaskPane", () => import("./uCFRHXTVhzTQ53TT.
10689
10689
  onClick: () => w(() => {
10690
10690
  n.delete();
10691
10691
  }),
10692
- children: un(kt, {
10692
+ children: un(vt, {
10693
10693
  style: { transform: "scale(0.85)" },
10694
10694
  iconKey: "Delete"
10695
10695
  })
@@ -10750,7 +10750,7 @@ var ps = ln(ar("studio:externalLinksTaskPane", () => import("./uCFRHXTVhzTQ53TT.
10750
10750
  editor: f && null === f.replyId ? R(g.content, (e) => {
10751
10751
  n.setContent(e);
10752
10752
  }) : void 0,
10753
- onMenu: I ? void 0 : (e) => v({
10753
+ onMenu: I ? void 0 : (e) => k({
10754
10754
  anchor: e,
10755
10755
  replyId: null
10756
10756
  })
@@ -10771,7 +10771,7 @@ var ps = ln(ar("studio:externalLinksTaskPane", () => import("./uCFRHXTVhzTQ53TT.
10771
10771
  editor: f?.replyId === e.getId() ? R(e.getContent(), (t) => {
10772
10772
  e.setContent(t);
10773
10773
  }) : void 0,
10774
- onMenu: I ? void 0 : (t) => v({
10774
+ onMenu: I ? void 0 : (t) => k({
10775
10775
  anchor: t,
10776
10776
  replyId: e.getId()
10777
10777
  })
@@ -10789,7 +10789,7 @@ var ps = ln(ar("studio:externalLinksTaskPane", () => import("./uCFRHXTVhzTQ53TT.
10789
10789
  submitLabel: m(ms.post),
10790
10790
  cancelLabel: m(ms.cancel),
10791
10791
  alwaysShowActions: !0,
10792
- refInput: k,
10792
+ refInput: v,
10793
10793
  onSubmit: (e) => {
10794
10794
  w(() => {
10795
10795
  const n = t.getComments().add(er.cellToRange(o), e);
@@ -10802,7 +10802,7 @@ var ps = ln(ar("studio:externalLinksTaskPane", () => import("./uCFRHXTVhzTQ53TT.
10802
10802
  placeholder: m(ms.reply),
10803
10803
  submitLabel: m(ms.post),
10804
10804
  cancelLabel: m(ms.cancel),
10805
- refInput: k,
10805
+ refInput: v,
10806
10806
  onSubmit: (e) => w(() => {
10807
10807
  n.addReply(e);
10808
10808
  })
@@ -10812,33 +10812,33 @@ var ps = ln(ar("studio:externalLinksTaskPane", () => import("./uCFRHXTVhzTQ53TT.
10812
10812
  anchorEl: x.anchor,
10813
10813
  className: b.className,
10814
10814
  ...b.attrs,
10815
- onClose: () => v(null),
10815
+ onClose: () => k(null),
10816
10816
  onClick: (e) => {
10817
10817
  e.stopPropagation();
10818
10818
  },
10819
10819
  children: [
10820
10820
  un(Eo, {
10821
- icon: un(kt, { iconKey: "CardEdit" }),
10821
+ icon: un(vt, { iconKey: "CardEdit" }),
10822
10822
  onClick: () => {
10823
- y({ replyId: x.replyId }), v(null);
10823
+ y({ replyId: x.replyId }), k(null);
10824
10824
  },
10825
10825
  children: m(ms.edit)
10826
10826
  }),
10827
10827
  null === x.replyId ? un(Eo, {
10828
- icon: un(kt, { iconKey: g?.resolved ? "Undo" : "Check" }),
10828
+ icon: un(vt, { iconKey: g?.resolved ? "Undo" : "Check" }),
10829
10829
  onClick: () => {
10830
10830
  w(() => {
10831
10831
  n.setResolved(!n.isResolved());
10832
- }), v(null);
10832
+ }), k(null);
10833
10833
  },
10834
10834
  children: m(g?.resolved ? ms.reopen : ms.resolve)
10835
10835
  }) : null,
10836
10836
  un(Eo, {
10837
- icon: un(kt, { iconKey: "Delete" }),
10837
+ icon: un(vt, { iconKey: "Delete" }),
10838
10838
  onClick: () => {
10839
10839
  w(() => {
10840
10840
  null === x.replyId ? n.delete() : P?.delete();
10841
- }), v(null);
10841
+ }), k(null);
10842
10842
  },
10843
10843
  children: m(ms.delete)
10844
10844
  })
@@ -10848,10 +10848,10 @@ var ps = ln(ar("studio:externalLinksTaskPane", () => import("./uCFRHXTVhzTQ53TT.
10848
10848
  });
10849
10849
  });
10850
10850
  ys.displayName = "CommentCard";
10851
- var xs = ln(ar("studio:commentsTaskPane", () => import("./bIfQAr55kQq2xXaT.mjs"), { select: (e) => ({ default: e.CommentsTaskPane }) }).load), vs = () => V.registerTaskPane({
10851
+ var xs = ln(ar("studio:commentsTaskPane", () => import("./DLt7HmhROlJ1V8bV.mjs"), { select: (e) => ({ default: e.CommentsTaskPane }) }).load), ks = () => V.registerTaskPane({
10852
10852
  key: pe.Comments,
10853
10853
  component: xs
10854
- }, !0), ks = "anomalies", ws = "anomalies", Ss = "showAnomaliesPane", Cs = bo((e) => {
10854
+ }, !0), vs = "anomalies", ws = "anomalies", Ss = "showAnomaliesPane", Cs = bo((e) => {
10855
10855
  const { scope: t } = e, o = dt(), n = o.getOpen().includes(ws);
10856
10856
  return xo(() => {
10857
10857
  if (!t) return;
@@ -10872,9 +10872,9 @@ var xs = ln(ar("studio:commentsTaskPane", () => import("./bIfQAr55kQq2xXaT.mjs")
10872
10872
  ]), null;
10873
10873
  });
10874
10874
  Cs.displayName = "AnomaliesCommands";
10875
- var Ts = ln(ar("studio:anomaliesTaskPane", () => import("./Bqda2dQ0l75gjnDb.mjs"), { select: (e) => ({ default: e.AnomaliesTaskPane }) }).load), Fs = (e) => e.source === ks, Ds = "anomalies.showPane.review", Ns = () => {
10875
+ var Ts = ln(ar("studio:anomaliesTaskPane", () => import("./Bn2kMFZYznOun538.mjs"), { select: (e) => ({ default: e.AnomaliesTaskPane }) }).load), Fs = (e) => e.source === vs, Ds = "anomalies.showPane.review", Ns = () => {
10876
10876
  Tr();
10877
- const e = bt.DefaultCommandRegistry.registerDynamic("workbook", Cs), t = vt.register({
10877
+ const e = bt.DefaultCommandRegistry.registerDynamic("workbook", Cs), t = kt.register({
10878
10878
  key: Ds,
10879
10879
  defaultKey: Ss,
10880
10880
  contributions: { reviewToolbar: {
@@ -10953,7 +10953,7 @@ var Ms = ({ activity: e, children: t }) => {
10953
10953
  dense: !0,
10954
10954
  ...Os,
10955
10955
  "aria-label": e,
10956
- icon: un(kt, {
10956
+ icon: un(vt, {
10957
10957
  iconKey: t,
10958
10958
  size: 16
10959
10959
  }),
@@ -11151,7 +11151,7 @@ var Ms = ({ activity: e, children: t }) => {
11151
11151
  height: 18
11152
11152
  }
11153
11153
  },
11154
- children: un(kt, { iconKey: "Help" })
11154
+ children: un(vt, { iconKey: "Help" })
11155
11155
  })
11156
11156
  })
11157
11157
  })
@@ -11234,7 +11234,7 @@ var Ms = ({ activity: e, children: t }) => {
11234
11234
  ml: .5,
11235
11235
  mt: .25
11236
11236
  },
11237
- children: un(kt, {
11237
+ children: un(vt, {
11238
11238
  iconKey: s ? "ExpandLess" : "ExpandMore",
11239
11239
  size: 16,
11240
11240
  ariaHidden: !0
@@ -11321,7 +11321,7 @@ var Ms = ({ activity: e, children: t }) => {
11321
11321
  fontVariantNumeric: "tabular-nums",
11322
11322
  opacity: "stale" === e.finding.status ? .5 : 1
11323
11323
  },
11324
- children: e.ordinal > 0 ? e.ordinal : un(kt, {
11324
+ children: e.ordinal > 0 ? e.ordinal : un(vt, {
11325
11325
  iconKey: "question" === e.finding.intent ? "Help" : "CheckSuccess",
11326
11326
  size: 14,
11327
11327
  ariaHidden: !0
@@ -11536,7 +11536,7 @@ var _s = ({ item: e, isCurrent: t, onSelect: o, onDismiss: n }) => {
11536
11536
  at: e.timestamp,
11537
11537
  commit: e
11538
11538
  }))].sort((e, t) => t.at - e.at), p = d.filter((e) => "finding" === e.kind ? c(e.finding.label, e.finding.range) : c(e.commit.description ?? t(ee.changesUntitled))), u = new Map(n.map((e) => [e.id, e]));
11539
- return mn(pn, { children: [un(vi, {
11539
+ return mn(pn, { children: [un(ki, {
11540
11540
  value: l,
11541
11541
  onChange: i,
11542
11542
  placeholder: t(ee.historySearch),
@@ -11680,14 +11680,14 @@ var sc = bo((e) => {
11680
11680
  ...h,
11681
11681
  "& .MuiSelect-icon": { display: "none" },
11682
11682
  "& .MuiOutlinedInput-notchedOutline": { borderColor: "action.disabled" }
11683
- }), mn(kn, {
11683
+ }), mn(vn, {
11684
11684
  size: "small",
11685
11685
  ...c,
11686
11686
  children: [un(Dn, { children: p }), mn(Wn, {
11687
11687
  value: s ?? t?.getName() ?? "null",
11688
11688
  label: p,
11689
11689
  readOnly: l,
11690
- IconComponent: (e) => un(kt, {
11690
+ IconComponent: (e) => un(vt, {
11691
11691
  iconKey: "ExpandMore",
11692
11692
  ...e
11693
11693
  }),
@@ -11737,7 +11737,7 @@ var cc = 0, dc = /* @__PURE__ */ new WeakMap(), pc = (e) => {
11737
11737
  const o = t.getAcceptsTypes?.();
11738
11738
  return !o || o.includes(l);
11739
11739
  }).sort(yc(o));
11740
- }, vc = (e, t, o, n) => {
11740
+ }, kc = (e, t, o, n) => {
11741
11741
  const r = yc(n), a = /* @__PURE__ */ new Map();
11742
11742
  for (const t of e) {
11743
11743
  const e = bc.get(t);
@@ -11751,16 +11751,16 @@ var cc = 0, dc = /* @__PURE__ */ new WeakMap(), pc = (e) => {
11751
11751
  sx: wc,
11752
11752
  children: e
11753
11753
  }, `__header:${e}`)), o.forEach((e) => s.push(t(e)));
11754
- return a.size > 0 && l.length > 0 && s.push(un(vn, {}, "__divider:grouped")), l.length > 0 && (s.push(un(On, {
11754
+ return a.size > 0 && l.length > 0 && s.push(un(kn, {}, "__divider:grouped")), l.length > 0 && (s.push(un(On, {
11755
11755
  disableSticky: !0,
11756
11756
  sx: wc,
11757
11757
  children: o("condition.groupBasic")
11758
- }, "__header:leaf")), l.forEach((e) => s.push(t(e)))), l.length > 0 && i.length > 0 && s.push(un(vn, {}, "__divider")), i.length > 0 && (s.push(un(On, {
11758
+ }, "__header:leaf")), l.forEach((e) => s.push(t(e)))), l.length > 0 && i.length > 0 && s.push(un(kn, {}, "__divider")), i.length > 0 && (s.push(un(On, {
11759
11759
  disableSticky: !0,
11760
11760
  sx: wc,
11761
11761
  children: o("condition.groupCombine")
11762
11762
  }, "__header:combinator")), i.forEach((e) => s.push(t(e)))), s;
11763
- }, kc = (e, t, o = null, n) => {
11763
+ }, vc = (e, t, o = null, n) => {
11764
11764
  if (!e.isCombinator?.()) return e.createDefaultParam?.(o ?? void 0, n) ?? null;
11765
11765
  const r = t.find((e) => !e.isCombinator?.()) ?? null, a = r ? {
11766
11766
  operator: r.getName(),
@@ -11778,11 +11778,11 @@ var cc = 0, dc = /* @__PURE__ */ new WeakMap(), pc = (e) => {
11778
11778
  }, Sc = { pl: 2 }, Cc = bo(ho((e, t) => {
11779
11779
  const { icon: o, tooltip: n, label: r, darkMode: a, propsPanel: l, value: i, operators: s, onChange: c, title: d, readOnly: p = !1, ...u } = e, m = ao(), h = Qt();
11780
11780
  d ?? m("condition.operatorTitle");
11781
- const g = o || un(kt, { iconKey: "Add" }), b = To(c);
11781
+ const g = o || un(vt, { iconKey: "Add" }), b = To(c);
11782
11782
  b.current = c;
11783
11783
  const f = {
11784
11784
  renderPopupPanel: fo((e) => {
11785
- const { closeFloatAll: t } = e, o = vc(s, (e) => un(Ln, {
11785
+ const { closeFloatAll: t } = e, o = kc(s, (e) => un(Ln, {
11786
11786
  sx: Sc,
11787
11787
  value: e.getName(),
11788
11788
  onClick: () => {
@@ -11826,19 +11826,19 @@ var cc = 0, dc = /* @__PURE__ */ new WeakMap(), pc = (e) => {
11826
11826
  o.forEach((e) => {
11827
11827
  d.set(e.getName(), e);
11828
11828
  });
11829
- const p = vc(o, (e) => un(Ln, {
11829
+ const p = kc(o, (e) => un(Ln, {
11830
11830
  value: e.getName(),
11831
11831
  sx: Sc,
11832
11832
  children: e.getTitle?.()
11833
11833
  }, e.getName()), i, s);
11834
- return mn(kn, {
11834
+ return mn(vn, {
11835
11835
  size: "small",
11836
11836
  ...l,
11837
11837
  children: [un(Dn, { children: c }), un(Wn, {
11838
11838
  value: t?.getName() ?? "null",
11839
11839
  label: c,
11840
11840
  readOnly: a,
11841
- IconComponent: (e) => un(kt, {
11841
+ IconComponent: (e) => un(vt, {
11842
11842
  iconKey: "ExpandMore",
11843
11843
  ...e
11844
11844
  }),
@@ -12090,13 +12090,13 @@ var Wc = {}, zc = bo((e) => {
12090
12090
  gap: .25,
12091
12091
  ...a?.sx
12092
12092
  },
12093
- children: [un(kn, {
12093
+ children: [un(vn, {
12094
12094
  sx: { flex: .5 },
12095
12095
  size: "small",
12096
12096
  children: mn(Wn, {
12097
12097
  value: i,
12098
12098
  sx: c,
12099
- IconComponent: (e) => un(kt, {
12099
+ IconComponent: (e) => un(vt, {
12100
12100
  iconKey: "ExpandMore",
12101
12101
  ...e
12102
12102
  }),
@@ -12290,12 +12290,12 @@ var Vc = bo((e) => {
12290
12290
  gap: 2,
12291
12291
  ...r?.sx
12292
12292
  },
12293
- children: un(kn, {
12293
+ children: un(vn, {
12294
12294
  size: "small",
12295
12295
  children: un(Wn, {
12296
12296
  value: l,
12297
12297
  sx: { backgroundColor: "background.paper" },
12298
- IconComponent: (e) => un(kt, {
12298
+ IconComponent: (e) => un(vt, {
12299
12299
  iconKey: "ExpandMore",
12300
12300
  ...e
12301
12301
  }),
@@ -12309,7 +12309,7 @@ var Vc = bo((e) => {
12309
12309
  disabled: n,
12310
12310
  children: a.map((e, t) => {
12311
12311
  const o = [];
12312
- return t > 0 && o.push(un(vn, {}, `divider-${t}`)), o.push(un(On, {
12312
+ return t > 0 && o.push(un(kn, {}, `divider-${t}`)), o.push(un(On, {
12313
12313
  sx: wc,
12314
12314
  children: e.header
12315
12315
  }, `header-${t}`)), e.options.map((e) => o.push(un(Ln, {
@@ -12334,13 +12334,13 @@ var Hc = bo((e) => {
12334
12334
  ...r?.sx
12335
12335
  },
12336
12336
  children: [
12337
- un(kn, {
12337
+ un(vn, {
12338
12338
  size: "small",
12339
12339
  sx: { flex: 1 },
12340
12340
  children: mn(Wn, {
12341
12341
  value: l ? "top" : "bottom",
12342
12342
  sx: { backgroundColor: "background.paper" },
12343
- IconComponent: (e) => un(kt, {
12343
+ IconComponent: (e) => un(vt, {
12344
12344
  iconKey: "ExpandMore",
12345
12345
  ...e
12346
12346
  }),
@@ -12374,13 +12374,13 @@ var Hc = bo((e) => {
12374
12374
  slotProps: { input: { sx: { backgroundColor: "background.paper" } } },
12375
12375
  sx: { flex: .6 }
12376
12376
  }),
12377
- un(kn, {
12377
+ un(vn, {
12378
12378
  size: "small",
12379
12379
  sx: { flex: 1 },
12380
12380
  children: mn(Wn, {
12381
12381
  value: s ? "percent" : "items",
12382
12382
  sx: { backgroundColor: "background.paper" },
12383
- IconComponent: (e) => un(kt, {
12383
+ IconComponent: (e) => un(vt, {
12384
12384
  iconKey: "ExpandMore",
12385
12385
  ...e
12386
12386
  }),
@@ -12541,7 +12541,7 @@ var Uc = "\0blank", qc = (e) => "string" == typeof e ? "s:" + e.toLowerCase() :
12541
12541
  u,
12542
12542
  a
12543
12543
  ]);
12544
- const v = So(() => {
12544
+ const k = So(() => {
12545
12545
  if (!m) return [];
12546
12546
  const e = ((e, t, o) => {
12547
12547
  const n = /* @__PURE__ */ new Map();
@@ -12572,7 +12572,7 @@ var Uc = "\0blank", qc = (e) => "string" == typeof e ? "s:" + e.toLowerCase() :
12572
12572
  u,
12573
12573
  a,
12574
12574
  p
12575
- ]), k = fo((e, t) => {
12575
+ ]), v = fo((e, t) => {
12576
12576
  l || b((o) => {
12577
12577
  const n = new Set(o);
12578
12578
  for (const o of e) t ? n.add(o) : n.delete(o);
@@ -12603,10 +12603,10 @@ var Uc = "\0blank", qc = (e) => "string" == typeof e ? "s:" + e.toLowerCase() :
12603
12603
  ...i
12604
12604
  },
12605
12605
  children: un(ge, {
12606
- items: v,
12606
+ items: k,
12607
12607
  dates: m?.dates,
12608
12608
  checked: g,
12609
- onCheckedChange: k,
12609
+ onCheckedChange: v,
12610
12610
  byDisplay: u,
12611
12611
  onByDisplayChange: r ? w : void 0,
12612
12612
  truncated: m?.truncated ?? !1,
@@ -12628,14 +12628,14 @@ var Xc = (e) => null == e ? "" : "boolean" == typeof e ? e ? "TRUE" : "FALSE" :
12628
12628
  }
12629
12629
  if (g) for (let t = 0; t < g.length; t++) e.push(g[t]);
12630
12630
  return e;
12631
- }, [m, g]), [v, k] = Fo(null), w = To(0);
12631
+ }, [m, g]), [k, v] = Fo(null), w = To(0);
12632
12632
  xo(() => {
12633
- if (!d?.getListItemsAt || !c) return void k(null);
12633
+ if (!d?.getListItemsAt || !c) return void v(null);
12634
12634
  const e = ++w.current, { rowIndex: t, colIndex: o } = Bc(c);
12635
12635
  d.getListItemsAt(t, o).then((t) => {
12636
- e === w.current && k(t);
12636
+ e === w.current && v(t);
12637
12637
  }, () => {
12638
- e === w.current && k([]);
12638
+ e === w.current && v([]);
12639
12639
  });
12640
12640
  }, [
12641
12641
  d,
@@ -12648,9 +12648,9 @@ var Xc = (e) => null == e ? "" : "boolean" == typeof e ? e ? "TRUE" : "FALSE" :
12648
12648
  ]);
12649
12649
  const S = So(() => {
12650
12650
  const e = [];
12651
- if (v) {
12652
- for (let t = 0; t < v.length; t++) {
12653
- const o = v[t];
12651
+ if (k) {
12652
+ for (let t = 0; t < k.length; t++) {
12653
+ const o = k[t];
12654
12654
  null !== o.value ? e.push({ text: o.text }) : n || e.push({ text: s("checklist.blank") });
12655
12655
  }
12656
12656
  return e;
@@ -12658,7 +12658,7 @@ var Xc = (e) => null == e ? "" : "boolean" == typeof e ? e ? "TRUE" : "FALSE" :
12658
12658
  for (let t = 0; t < x.length; t++) e.push({ text: x[t] });
12659
12659
  return f && !n && e.push({ text: s("checklist.blank") }), e;
12660
12660
  }, [
12661
- v,
12661
+ k,
12662
12662
  x,
12663
12663
  f,
12664
12664
  n,
@@ -12808,7 +12808,7 @@ var td = m.BuiltInOperatorNames, od = /* @__PURE__ */ new Set([
12808
12808
  td.Before,
12809
12809
  td.BeforeEqualTo
12810
12810
  ]), nd = bo((e) => {
12811
- const { operatorParam: t, onOperatorParamChange: o, onRemove: n, renderRemove: r, operators: a, selector: l, onSelectorChange: i, getItems: s, propsChecklist: c, ignoreBlank: d, operatorTitle: p, operatorFixed: u = !1, readOnly: h, required: g, ...b } = e, f = ao(), y = p ?? f("condition.when"), x = t?.operator ?? null, v = () => h || g || null === r ? null : r ? un(Ft, {
12811
+ const { operatorParam: t, onOperatorParamChange: o, onRemove: n, renderRemove: r, operators: a, selector: l, onSelectorChange: i, getItems: s, propsChecklist: c, ignoreBlank: d, operatorTitle: p, operatorFixed: u = !1, readOnly: h, required: g, ...b } = e, f = ao(), y = p ?? f("condition.when"), x = t?.operator ?? null, k = () => h || g || null === r ? null : r ? un(Ft, {
12812
12812
  render: r,
12813
12813
  props: {
12814
12814
  onClick: n,
@@ -12816,10 +12816,10 @@ var td = m.BuiltInOperatorNames, od = /* @__PURE__ */ new Set([
12816
12816
  readOnly: h
12817
12817
  }
12818
12818
  }) : un(Lo, {
12819
- icon: un(kt, { iconKey: "Close" }),
12819
+ icon: un(vt, { iconKey: "Close" }),
12820
12820
  onClick: n
12821
- }), k = a.find((e) => e.getName() === x) ?? null, w = t?.param ?? null, S = !!k?.isCombinator?.(), C = x === m.BuiltInOperatorNames.InSet, [T, { width: F }] = Xt(), D = So(() => !k || S ? null : k.getParamType?.(l ?? void 0) ?? null, [
12822
- k,
12821
+ }), v = a.find((e) => e.getName() === x) ?? null, w = t?.param ?? null, S = !!v?.isCombinator?.(), C = x === m.BuiltInOperatorNames.InSet, [T, { width: F }] = Xt(), D = So(() => !v || S ? null : v.getParamType?.(l ?? void 0) ?? null, [
12822
+ v,
12823
12823
  S,
12824
12824
  l
12825
12825
  ]), N = u || !S && !C && F > 360, I = Et((e) => {
@@ -12828,7 +12828,7 @@ var td = m.BuiltInOperatorNames, od = /* @__PURE__ */ new Set([
12828
12828
  param: e
12829
12829
  });
12830
12830
  }, [o, x]), B = So(() => {
12831
- if (!k || S) return null;
12831
+ if (!v || S) return null;
12832
12832
  const e = {
12833
12833
  sx: {
12834
12834
  flex: u ? 1 : .6,
@@ -12879,7 +12879,7 @@ var td = m.BuiltInOperatorNames, od = /* @__PURE__ */ new Set([
12879
12879
  selector: l
12880
12880
  }) : D === m.BuiltInOperatorNames.Expression ? un(Gc, { ...e }) : null;
12881
12881
  }, [
12882
- k,
12882
+ v,
12883
12883
  S,
12884
12884
  C,
12885
12885
  s,
@@ -12892,14 +12892,14 @@ var td = m.BuiltInOperatorNames, od = /* @__PURE__ */ new Set([
12892
12892
  i,
12893
12893
  u,
12894
12894
  f
12895
- ]), P = So(() => S && w ? Array.isArray(w) ? w : [w] : [], [S, w]), R = S && "not" === k?.getName(), M = (e) => {
12896
- if (!e || e === k) return;
12895
+ ]), P = So(() => S && w ? Array.isArray(w) ? w : [w] : [], [S, w]), R = S && "not" === v?.getName(), M = (e) => {
12896
+ if (!e || e === v) return;
12897
12897
  const t = !!e.isCombinator?.();
12898
12898
  let n;
12899
- if (t && S) n = "not" === e.getName() ? P[0] ?? kc(e, a, l) : P.length > 0 ? P : kc(e, a, l);
12899
+ if (t && S) n = "not" === e.getName() ? P[0] ?? vc(e, a, l) : P.length > 0 ? P : vc(e, a, l);
12900
12900
  else {
12901
- const o = k?.getParamType?.(l ?? void 0) ?? null, r = e.getParamType?.(l ?? void 0) ?? null;
12902
- n = t || S || !r || r !== o ? kc(e, a, l) : w;
12901
+ const o = v?.getParamType?.(l ?? void 0) ?? null, r = e.getParamType?.(l ?? void 0) ?? null;
12902
+ n = t || S || !r || r !== o ? vc(e, a, l) : w;
12903
12903
  }
12904
12904
  o({
12905
12905
  operator: e?.getName() ?? null,
@@ -12930,13 +12930,13 @@ var td = m.BuiltInOperatorNames, od = /* @__PURE__ */ new Set([
12930
12930
  u ? null : un(Tc, {
12931
12931
  title: y,
12932
12932
  sx: { flex: .4 },
12933
- value: k,
12933
+ value: v,
12934
12934
  operators: a,
12935
12935
  onChange: M,
12936
12936
  readOnly: h
12937
12937
  }),
12938
12938
  B,
12939
- v()
12939
+ k()
12940
12940
  ]
12941
12941
  }) : mn(pn, { children: [mn(gn, {
12942
12942
  sx: {
@@ -12949,19 +12949,19 @@ var td = m.BuiltInOperatorNames, od = /* @__PURE__ */ new Set([
12949
12949
  un(Tc, {
12950
12950
  title: y,
12951
12951
  sx: { flex: 1 },
12952
- value: k,
12952
+ value: v,
12953
12953
  operators: a,
12954
12954
  onChange: M,
12955
12955
  readOnly: h
12956
12956
  }),
12957
12957
  S && !R && !h && un(Cc, {
12958
- label: k?.getTitle?.(),
12959
- icon: un(kt, { iconKey: "Add" }),
12958
+ label: v?.getTitle?.(),
12959
+ icon: un(vt, { iconKey: "Add" }),
12960
12960
  operators: a,
12961
12961
  value: null,
12962
12962
  onChange: (e) => {
12963
12963
  if (!e) return;
12964
- const t = kc(e, a, l), n = [...P, {
12964
+ const t = vc(e, a, l), n = [...P, {
12965
12965
  operator: e?.getName() ?? null,
12966
12966
  param: t
12967
12967
  }];
@@ -12971,10 +12971,10 @@ var td = m.BuiltInOperatorNames, od = /* @__PURE__ */ new Set([
12971
12971
  });
12972
12972
  }
12973
12973
  }),
12974
- v()
12974
+ k()
12975
12975
  ]
12976
12976
  }), S ? un(Fc, {
12977
- operator: k,
12977
+ operator: v,
12978
12978
  inputs: P,
12979
12979
  onOptionChange: (e) => {
12980
12980
  o({
@@ -12998,7 +12998,7 @@ var rd = {
12998
12998
  borderColor: "divider",
12999
12999
  borderRadius: 1
13000
13000
  }, ad = "formula", ld = bo((e) => {
13001
- const { condition: t, onConditionChange: o, showIncludeBlanks: r = !0, qualifiers: a, selectorTitle: l, readOnly: i, operators: s, selectors: c, ranges: d, getItems: p, propsChecklist: u, showSelector: h = !0, operatorTitle: g, renderRemove: b, sx: f, ...y } = e, x = ao(), v = Qt(), [k, w] = Fo(() => t?.getSelector() ?? null), [S, C] = Fo(() => t?.getOperator() ? {
13001
+ const { condition: t, onConditionChange: o, showIncludeBlanks: r = !0, qualifiers: a, selectorTitle: l, readOnly: i, operators: s, selectors: c, ranges: d, getItems: p, propsChecklist: u, showSelector: h = !0, operatorTitle: g, renderRemove: b, sx: f, ...y } = e, x = ao(), k = Qt(), [v, w] = Fo(() => t?.getSelector() ?? null), [S, C] = Fo(() => t?.getOperator() ? {
13002
13002
  operator: t.getOperator().getName(),
13003
13003
  param: t.getParam()
13004
13004
  } : null), [T, F] = Fo(() => t?.isIncludeBlanks() ?? !1);
@@ -13010,26 +13010,26 @@ var rd = {
13010
13010
  param: t.getParam()
13011
13011
  } : null), F(t.isIncludeBlanks());
13012
13012
  }, [t]);
13013
- const D = So(() => (c ?? Object.values(n.BuiltInSelectors)).slice().sort((e, t) => (e.getTitle?.() ?? "").localeCompare(t.getTitle?.() ?? "", v)), [c, v]), N = So(() => s ?? Object.values(n.BuiltInOperators), [s]), I = So(() => N.find((e) => e.getName() === m.BuiltInOperatorNames.Expression) ?? null, [N]), B = h && !!I, P = B && S?.operator === m.BuiltInOperatorNames.Expression, R = So(() => {
13013
+ const D = So(() => (c ?? Object.values(n.BuiltInSelectors)).slice().sort((e, t) => (e.getTitle?.() ?? "").localeCompare(t.getTitle?.() ?? "", k)), [c, k]), N = So(() => s ?? Object.values(n.BuiltInOperators), [s]), I = So(() => N.find((e) => e.getName() === m.BuiltInOperatorNames.Expression) ?? null, [N]), B = h && !!I, P = B && S?.operator === m.BuiltInOperatorNames.Expression, R = So(() => {
13014
13014
  if (s) return null;
13015
13015
  const e = N.find((e) => e.getName() === m.BuiltInOperatorNames.InSet);
13016
13016
  return e ? (t = Object.create(e), gc.add(t), t) : null;
13017
13017
  var t;
13018
13018
  }, [N, s]), M = So(() => {
13019
- const e = xc(h ? k : null, N, v, s ? [] : void 0);
13019
+ const e = xc(h ? v : null, N, k, s ? [] : void 0);
13020
13020
  if (p) {
13021
13021
  const t = N.find((e) => e.getName() === m.BuiltInOperatorNames.InSet);
13022
13022
  t && !e.includes(t) && e.unshift(t);
13023
13023
  }
13024
- if (R && !k) {
13024
+ if (R && !v) {
13025
13025
  const t = e.findIndex((e) => e.getName() === m.BuiltInOperatorNames.InSet);
13026
13026
  t >= 0 && e.splice(t, 1, R);
13027
13027
  }
13028
13028
  return e;
13029
13029
  }, [
13030
- k,
13031
- N,
13032
13030
  v,
13031
+ N,
13032
+ k,
13033
13033
  s,
13034
13034
  p,
13035
13035
  h,
@@ -13040,17 +13040,17 @@ var rd = {
13040
13040
  E.current = !1;
13041
13041
  const e = Array.from(K.current?.querySelectorAll("input:not([type=\"checkbox\"]):not([type=\"radio\"]):not([type=\"hidden\"]):not([tabindex=\"-1\"]), textarea") ?? []).find((e) => !e.disabled && !e.readOnly && "true" !== e.getAttribute("aria-hidden"));
13042
13042
  e && (e.focus(), e.select());
13043
- }, [k, S]);
13043
+ }, [v, S]);
13044
13044
  const W = (e) => {
13045
- const t = N.find((t) => t.getName() === e.operator) ?? null, n = h || !k || !t || ((e, t) => {
13045
+ const t = N.find((t) => t.getName() === e.operator) ?? null, n = h || !v || !t || ((e, t) => {
13046
13046
  if (!e) return !0;
13047
13047
  const o = t.getName();
13048
13048
  if (o === m.BuiltInOperatorNames.Blank) return !0;
13049
13049
  if (e.getName() === m.BuiltInSelectorNames.Display && hc.has(o)) return !1;
13050
13050
  const n = t.getAcceptsTypes?.();
13051
13051
  return !n || n.includes(e.getSelectType() ?? null);
13052
- })(k, t) ? k : null;
13053
- n !== k && w(n), C(e), o?.({
13052
+ })(v, t) ? v : null;
13053
+ n !== v && w(n), C(e), o?.({
13054
13054
  selector: n,
13055
13055
  ...e,
13056
13056
  includeBlanks: T
@@ -13067,9 +13067,9 @@ var rd = {
13067
13067
  h ? un(sc, {
13068
13068
  title: l,
13069
13069
  selectors: D,
13070
- value: k,
13070
+ value: v,
13071
13071
  onChange: (e, t) => {
13072
- if (S && A.current.set(P ? ad : L(k), S), t === ad && I) {
13072
+ if (S && A.current.set(P ? ad : L(v), S), t === ad && I) {
13073
13073
  const e = A.current.get(ad) ?? {
13074
13074
  operator: I.getName(),
13075
13075
  param: I.createDefaultParam?.() ?? ""
@@ -13089,16 +13089,16 @@ var rd = {
13089
13089
  const e = (c.getParamType?.(t ?? void 0) ?? null) !== (c.getParamType?.(o ?? void 0) ?? null);
13090
13090
  return c.isCombinator?.() || e ? {
13091
13091
  operator: n.operator,
13092
- param: kc(c, i, o)
13092
+ param: vc(c, i, o)
13093
13093
  } : n;
13094
13094
  }
13095
13095
  const d = o?.getDefaultCondition?.(l) ?? null, p = s(d?.operator);
13096
13096
  return d && p ? {
13097
13097
  operator: d.operator,
13098
- param: void 0 !== d.param ? d.param : kc(p, i, o)
13098
+ param: void 0 !== d.param ? d.param : vc(p, i, o)
13099
13099
  } : null;
13100
13100
  })({
13101
- from: k,
13101
+ from: v,
13102
13102
  to: e,
13103
13103
  current: P ? null : S,
13104
13104
  remembered: A.current.get(L(e)) ?? null,
@@ -13130,7 +13130,7 @@ var rd = {
13130
13130
  onOperatorParamChange: W,
13131
13131
  onRemove: () => {
13132
13132
  C(null), o?.({
13133
- selector: k,
13133
+ selector: v,
13134
13134
  operator: null,
13135
13135
  param: null,
13136
13136
  includeBlanks: T
@@ -13140,7 +13140,7 @@ var rd = {
13140
13140
  operatorTitle: g,
13141
13141
  operators: P ? M : O,
13142
13142
  operatorFixed: P,
13143
- selector: k,
13143
+ selector: v,
13144
13144
  onSelectorChange: (e) => {
13145
13145
  const t = e ? D.find((t) => t.getName() === e) ?? n.Selectors.get(e) ?? null : null;
13146
13146
  w(t), o?.({
@@ -13163,7 +13163,7 @@ var rd = {
13163
13163
  onChange: (e) => {
13164
13164
  e && (E.current = !0, W({
13165
13165
  operator: e?.getName() ?? null,
13166
- param: kc(e, M, k, p ? void 0 : { ranges: d })
13166
+ param: vc(e, M, v, p ? void 0 : { ranges: d })
13167
13167
  }));
13168
13168
  },
13169
13169
  readOnly: i
@@ -13184,7 +13184,7 @@ var rd = {
13184
13184
  checked: T,
13185
13185
  onChange: (e) => {
13186
13186
  t = e.target.checked, F(t), o?.({
13187
- selector: k,
13187
+ selector: v,
13188
13188
  ...S,
13189
13189
  includeBlanks: t
13190
13190
  });
@@ -13252,7 +13252,7 @@ var id = m.BuiltInOperatorNames, sd = m.BuiltInSelectorNames, cd = /* @__PURE__
13252
13252
  texts: (o[N.String] ?? 0) + (o[N.Boolean] ?? 0),
13253
13253
  showsDates: n
13254
13254
  };
13255
- })(u), [u])), y = c("number" === f ? "filter.numberFilters" : "date" === f ? "filter.dateFilters" : "filter.textFilters"), x = c("number" === f ? "filter.family.number" : "date" === f ? "filter.family.date" : "filter.family.text"), v = So(() => ((e, t, o) => {
13255
+ })(u), [u])), y = c("number" === f ? "filter.numberFilters" : "date" === f ? "filter.dateFilters" : "filter.textFilters"), x = c("number" === f ? "filter.family.number" : "date" === f ? "filter.family.date" : "filter.family.text"), k = So(() => ((e, t, o) => {
13256
13256
  const n = pd[e], r = md[e], a = (e) => {
13257
13257
  const t = r.indexOf(e.getName());
13258
13258
  return t < 0 ? r.length : t;
@@ -13262,12 +13262,12 @@ var id = m.BuiltInOperatorNames, sd = m.BuiltInSelectorNames, cd = /* @__PURE__
13262
13262
  f,
13263
13263
  y,
13264
13264
  p
13265
- ]), k = So(() => new Set(v.map((e) => e.getName())), [v]), w = So(() => ((e) => {
13265
+ ]), v = So(() => new Set(k.map((e) => e.getName())), [k]), w = So(() => ((e) => {
13266
13266
  const t = new Set(e.map((e) => e.getName())), o = hd().filter((e) => !t.has(e.getName()) && !mc.includes(e.getName()));
13267
13267
  return [...e, ...o];
13268
- })(v), [v]), S = So(() => {
13268
+ })(k), [k]), S = So(() => {
13269
13269
  if (u) return (e) => u.getItems(e);
13270
- }, [u]), [C] = Fo(() => g ? null : m ? m.toJSON() : null), [T, F] = Fo(() => C ? gd(C, k) : "values"), [D, I] = Fo(() => C && "values" === gd(C, k) ? dd(C.selector) : sd.Display), [B, P] = Fo(() => C && "values" === gd(C, k) ? C.param : null), [R, M] = Fo("values" === T), O = So(() => D ? n.Selectors.get(D) ?? null : null, [D]), A = So(() => ({
13270
+ }, [u]), [C] = Fo(() => g ? null : m ? m.toJSON() : null), [T, F] = Fo(() => C ? gd(C, v) : "values"), [D, I] = Fo(() => C && "values" === gd(C, v) ? dd(C.selector) : sd.Display), [B, P] = Fo(() => C && "values" === gd(C, v) ? C.param : null), [R, M] = Fo("values" === T), O = So(() => D ? n.Selectors.get(D) ?? null : null, [D]), A = So(() => ({
13271
13271
  selector: D,
13272
13272
  operator: id.InSet,
13273
13273
  param: B ?? {},
@@ -13275,7 +13275,7 @@ var id = m.BuiltInOperatorNames, sd = m.BuiltInSelectorNames, cd = /* @__PURE__
13275
13275
  }), [D, B]), L = To({
13276
13276
  values: !1,
13277
13277
  blanks: !0
13278
- }), [K, E] = Fo(() => C && "family" === gd(C, k) ? C : null), [W, z] = Fo(() => C && "custom" === gd(C, k) ? C : null), V = So(() => K ? n.resolveInput(K) : null, [K]), H = So(() => W ? n.resolveInput(W) : null, [W]), $ = "values" === T ? A : "family" === T ? K : W, G = So(() => "values" === T ? n.resolveInput(A) : "family" === T ? V : H, [
13278
+ }), [K, E] = Fo(() => C && "family" === gd(C, v) ? C : null), [W, z] = Fo(() => C && "custom" === gd(C, v) ? C : null), V = So(() => K ? n.resolveInput(K) : null, [K]), H = So(() => W ? n.resolveInput(W) : null, [W]), $ = "values" === T ? A : "family" === T ? K : W, G = So(() => "values" === T ? n.resolveInput(A) : "family" === T ? V : H, [
13279
13279
  T,
13280
13280
  A,
13281
13281
  V,
@@ -13284,32 +13284,32 @@ var id = m.BuiltInOperatorNames, sd = m.BuiltInSelectorNames, cd = /* @__PURE__
13284
13284
  disabled: r,
13285
13285
  variant: yt.Menuitem
13286
13286
  }), [r]), j = fo((e) => {
13287
- const t = v[0] ?? null, o = ud[f], r = o ? n.Selectors.get(o) ?? null : null;
13287
+ const t = k[0] ?? null, o = ud[f], r = o ? n.Selectors.get(o) ?? null : null;
13288
13288
  return {
13289
13289
  selector: o,
13290
13290
  operator: t?.getName() ?? null,
13291
- param: t ? kc(t, v, r) : null,
13291
+ param: t ? vc(t, k, r) : null,
13292
13292
  includeBlanks: e
13293
13293
  };
13294
- }, [f, v]), _ = fo((e, t) => {
13294
+ }, [f, k]), _ = fo((e, t) => {
13295
13295
  if (!e || e.operator === t?.operator || e.selector) return e;
13296
13296
  const o = dd(e.operator);
13297
13297
  if (o === id.InSet) return {
13298
13298
  ...e,
13299
13299
  selector: sd.Display
13300
13300
  };
13301
- const r = null !== o && k.has(o) ? ud[f] : null;
13301
+ const r = null !== o && v.has(o) ? ud[f] : null;
13302
13302
  if (!r) return e;
13303
13303
  const a = ((e) => Object.values(n.BuiltInOperators).find((t) => t.getName() === e) ?? null)(o), l = n.Selectors.get(r) ?? null;
13304
13304
  return {
13305
13305
  ...e,
13306
13306
  selector: r,
13307
- param: a ? kc(a, v, l) : e.param
13307
+ param: a ? vc(a, k, l) : e.param
13308
13308
  };
13309
13309
  }, [
13310
13310
  f,
13311
- k,
13312
- v
13311
+ v,
13312
+ k
13313
13313
  ]), Z = fo((e) => {
13314
13314
  E((t) => _(e, t));
13315
13315
  }, [_]), Q = fo((e) => {
@@ -13368,7 +13368,7 @@ var id = m.BuiltInOperatorNames, sd = m.BuiltInSelectorNames, cd = /* @__PURE__
13368
13368
  includeBlanks: t
13369
13369
  };
13370
13370
  const o = W, n = dd(o?.operator);
13371
- return o && null !== n && k.has(n) ? {
13371
+ return o && null !== n && v.has(n) ? {
13372
13372
  ...o,
13373
13373
  includeBlanks: t
13374
13374
  } : j(t);
@@ -13384,7 +13384,7 @@ var id = m.BuiltInOperatorNames, sd = m.BuiltInSelectorNames, cd = /* @__PURE__
13384
13384
  $,
13385
13385
  K,
13386
13386
  W,
13387
- k,
13387
+ v,
13388
13388
  j
13389
13389
  ]), ce = To(null);
13390
13390
  xo(() => {
@@ -13414,7 +13414,7 @@ var id = m.BuiltInOperatorNames, sd = m.BuiltInSelectorNames, cd = /* @__PURE__
13414
13414
  },
13415
13415
  condition: "family" === e ? V : H,
13416
13416
  onConditionChange: "family" === e ? Z : Q,
13417
- operators: "family" === e ? v : w,
13417
+ operators: "family" === e ? k : w,
13418
13418
  showSelector: !1,
13419
13419
  operatorTitle: "",
13420
13420
  renderRemove: null,
@@ -13529,7 +13529,7 @@ var id = m.BuiltInOperatorNames, sd = m.BuiltInSelectorNames, cd = /* @__PURE__
13529
13529
  propsChecklist: ae
13530
13530
  })
13531
13531
  }) : null,
13532
- mn(ki.Provider, {
13532
+ mn(vi.Provider, {
13533
13533
  value: ee,
13534
13534
  children: ["family" === T ? ue("family") : null, "custom" === T ? ue("custom") : null]
13535
13535
  })
@@ -13561,11 +13561,11 @@ var id = m.BuiltInOperatorNames, sd = m.BuiltInSelectorNames, cd = /* @__PURE__
13561
13561
  });
13562
13562
  }));
13563
13563
  bd.displayName = "ColumnMenu";
13564
- var fd = m.BuiltInOperatorNames, yd = m.BuiltInSelectorNames, xd = n.Selectors.get(yd.Display) ?? null, vd = [
13564
+ var fd = m.BuiltInOperatorNames, yd = m.BuiltInSelectorNames, xd = n.Selectors.get(yd.Display) ?? null, kd = [
13565
13565
  fd.And,
13566
13566
  fd.Or,
13567
13567
  fd.Not
13568
- ], kd = {
13568
+ ], vd = {
13569
13569
  label: [
13570
13570
  fd.EqualTo,
13571
13571
  fd.TextStartsWith,
@@ -13600,16 +13600,16 @@ var fd = m.BuiltInOperatorNames, yd = m.BuiltInSelectorNames, xd = n.Selectors.g
13600
13600
  value: null
13601
13601
  }, Sd = (e, t) => {
13602
13602
  const o = Object.values(n.BuiltInOperators), r = (e) => o.find((t) => t.getName() === e);
13603
- return [...kd[e].flatMap((e) => {
13603
+ return [...vd[e].flatMap((e) => {
13604
13604
  const o = r(e);
13605
13605
  return o ? [fc(Object.create(o), t)] : [];
13606
- }), ...vd.flatMap((e) => r(e) ?? [])];
13606
+ }), ...kd.flatMap((e) => r(e) ?? [])];
13607
13607
  }, Cd = (e, t) => {
13608
13608
  const o = t[0] ?? null, r = wd[e], a = r ? n.Selectors.get(r) ?? null : null;
13609
13609
  return {
13610
13610
  selector: r,
13611
13611
  operator: o?.getName() ?? null,
13612
- param: o ? kc(o, t, a) : null,
13612
+ param: o ? vc(o, t, a) : null,
13613
13613
  includeBlanks: !1
13614
13614
  };
13615
13615
  }, Td = bo((e) => {
@@ -13619,7 +13619,7 @@ var fd = m.BuiltInOperatorNames, yd = m.BuiltInSelectorNames, xd = n.Selectors.g
13619
13619
  })(t)), p = So(() => s.date || !s.label && ((e) => {
13620
13620
  const t = e.getPivotTable(), o = t.getFields().findIndex((t) => t.getName() === e.getName()), n = t.toJSON()?.fields?.[o]?.numberFormat;
13621
13621
  return "string" == typeof n && D.getEngine().isDateFormat(n);
13622
- })(t) ? "date" : "label", [s, t]), u = l("date" === p ? "filter.dateFilters" : "filter.labelFilters"), m = l("filter.valueFilters"), h = So(() => Sd(p, u), [p, u]), g = So(() => Sd("value", m), [m]), b = s[p] ?? null, f = s.value?.condition ?? null, [x, v] = Fo(() => i || s.manual ? "values" : b ? "rule" : f ? "value" : "values"), k = So(() => async () => {
13622
+ })(t) ? "date" : "label", [s, t]), u = l("date" === p ? "filter.dateFilters" : "filter.labelFilters"), m = l("filter.valueFilters"), h = So(() => Sd(p, u), [p, u]), g = So(() => Sd("value", m), [m]), b = s[p] ?? null, f = s.value?.condition ?? null, [x, k] = Fo(() => i || s.manual ? "values" : b ? "rule" : f ? "value" : "values"), v = So(() => async () => {
13623
13623
  const e = i ? t.getCurrentPage()?.getName() ?? null : null, o = t.getItems().map((t) => {
13624
13624
  const o = t.getName();
13625
13625
  return {
@@ -13645,7 +13645,7 @@ var fd = m.BuiltInOperatorNames, yd = m.BuiltInSelectorNames, xd = n.Selectors.g
13645
13645
  if (!e || e.selector || e.operator === t?.operator) return e;
13646
13646
  const o = (n = e.operator) ? "string" == typeof n ? n : n.getName() : null;
13647
13647
  var n;
13648
- return "label" === p || null === o || vd.includes(o) ? e : {
13648
+ return "label" === p || null === o || kd.includes(o) ? e : {
13649
13649
  ...e,
13650
13650
  selector: wd[p]
13651
13651
  };
@@ -13653,7 +13653,7 @@ var fd = m.BuiltInOperatorNames, yd = m.BuiltInSelectorNames, xd = n.Selectors.g
13653
13653
  }, [p]), K = fo((e) => {
13654
13654
  P(e);
13655
13655
  }, []), E = fo((e) => {
13656
- e && ("rule" === e && I((e) => e ?? Cd(p, h)), "value" === e && P((e) => e ?? Cd("value", g)), v(e));
13656
+ e && ("rule" === e && I((e) => e ?? Cd(p, h)), "value" === e && P((e) => e ?? Cd("value", g)), k(e));
13657
13657
  }, [
13658
13658
  p,
13659
13659
  h,
@@ -13756,7 +13756,7 @@ var fd = m.BuiltInOperatorNames, yd = m.BuiltInSelectorNames, xd = n.Selectors.g
13756
13756
  display: "flex",
13757
13757
  flexDirection: "column"
13758
13758
  },
13759
- children: un(ki.Provider, {
13759
+ children: un(vi.Provider, {
13760
13760
  value: H,
13761
13761
  children: un(ld, {
13762
13762
  sx: {
@@ -13841,7 +13841,7 @@ var fd = m.BuiltInOperatorNames, yd = m.BuiltInSelectorNames, xd = n.Selectors.g
13841
13841
  children: un(ed, {
13842
13842
  option: w,
13843
13843
  onOptionChange: F,
13844
- getItems: k,
13844
+ getItems: v,
13845
13845
  selector: xd,
13846
13846
  ignoreBlank: !1,
13847
13847
  readOnly: o,
@@ -14085,7 +14085,7 @@ var Nd = bo(ho((e, t) => {
14085
14085
  }));
14086
14086
  Nd.displayName = "InsertSlicerCommandButton";
14087
14087
  var Id = () => {
14088
- const e = vt.register({
14088
+ const e = kt.register({
14089
14089
  key: "formatSlicerStyle",
14090
14090
  contributions: { slicerToolbar: {
14091
14091
  order: -1,
@@ -14095,7 +14095,7 @@ var Id = () => {
14095
14095
  ...e,
14096
14096
  commandKey: "formatSlicerStyle"
14097
14097
  })
14098
- }, !0), t = vt.register({
14098
+ }, !0), t = kt.register({
14099
14099
  key: "insertSlicer",
14100
14100
  render: (e) => un(Nd, {
14101
14101
  ...e,
@@ -14357,11 +14357,11 @@ var Ad = {
14357
14357
  });
14358
14358
  Hd.displayName = "StopPositionField";
14359
14359
  var $d = bo((e) => {
14360
- const { index: o, stop: n, offset: r, schemeLookup: a, recentColors: l, darkMode: i, disabled: s, canRemove: c, rampRef: d, onDrag: p, onMove: u, onPreviewColor: m, onChangeColor: h, onRemove: g, onOpenChange: b } = e, f = ao(), y = Xn(), x = So(() => new t(n.color, a), [n.color, a]), [v, k] = Fo(void 0), [w, S] = Fo(null), [C, T] = Fo(!1), [F, D] = Fo(!1), [N, I] = Fo(!1), [B, P] = Fo(!1), R = To(null), M = To(!1), O = Et((e) => {
14361
- k(e), m(o, e ?? null);
14360
+ const { index: o, stop: n, offset: r, schemeLookup: a, recentColors: l, darkMode: i, disabled: s, canRemove: c, rampRef: d, onDrag: p, onMove: u, onPreviewColor: m, onChangeColor: h, onRemove: g, onOpenChange: b } = e, f = ao(), y = Xn(), x = So(() => new t(n.color, a), [n.color, a]), [k, v] = Fo(void 0), [w, S] = Fo(null), [C, T] = Fo(!1), [F, D] = Fo(!1), [N, I] = Fo(!1), [B, P] = Fo(!1), R = To(null), M = To(!1), O = Et((e) => {
14361
+ v(e), m(o, e ?? null);
14362
14362
  }, [o, m]), A = Et((e) => {
14363
14363
  u(o, e / 100);
14364
- }, [o, u]), L = Math.round(100 * r), K = Ed(v ?? x, a, i), E = fo((e) => {
14364
+ }, [o, u]), L = Math.round(100 * r), K = Ed(k ?? x, a, i), E = fo((e) => {
14365
14365
  const { closeFloat: t } = e;
14366
14366
  return mn(gn, {
14367
14367
  className: "sxl-gradient-stop-popup",
@@ -14371,7 +14371,7 @@ var $d = bo((e) => {
14371
14371
  },
14372
14372
  children: [un(Vr, {
14373
14373
  selectedColor: x,
14374
- previewColor: v,
14374
+ previewColor: k,
14375
14375
  disableAlpha: !0,
14376
14376
  schemeLookup: a,
14377
14377
  recentColors: l,
@@ -14400,7 +14400,7 @@ var $d = bo((e) => {
14400
14400
  });
14401
14401
  }, [
14402
14402
  x,
14403
- v,
14403
+ k,
14404
14404
  L,
14405
14405
  o,
14406
14406
  a,
@@ -14529,7 +14529,7 @@ var $d = bo((e) => {
14529
14529
  lineHeight: 0,
14530
14530
  "& .activeColor": { fill: K }
14531
14531
  },
14532
- children: un(kt, { iconKey: "circle.colored" })
14532
+ children: un(vt, { iconKey: "circle.colored" })
14533
14533
  }),
14534
14534
  onClick: () => {
14535
14535
  P(!1), V();
@@ -14541,7 +14541,7 @@ var $d = bo((e) => {
14541
14541
  label: f("fill.gradientRemoveStop"),
14542
14542
  simple: !0
14543
14543
  },
14544
- icon: un(kt, { iconKey: "Close" }),
14544
+ icon: un(vt, { iconKey: "Close" }),
14545
14545
  onClick: () => g(o)
14546
14546
  })]
14547
14547
  });
@@ -14633,7 +14633,7 @@ var Gd = bo((e) => {
14633
14633
  stops: t,
14634
14634
  keys: o
14635
14635
  }, ...e.known].slice(0, 3)), o;
14636
- }, [t]), [g, b] = Fo(null), [f, y] = Fo(null), [x, v] = Fo(null);
14636
+ }, [t]), [g, b] = Fo(null), [f, y] = Fo(null), [x, k] = Fo(null);
14637
14637
  wo(() => {
14638
14638
  b((e) => {
14639
14639
  if (!e?.released) return e;
@@ -14645,7 +14645,7 @@ var Gd = bo((e) => {
14645
14645
  const e = window.setTimeout(() => b((e) => e?.released ? null : e), 1e3);
14646
14646
  return () => window.clearTimeout(e);
14647
14647
  }, [g]);
14648
- const k = !s && t.length < r, w = !s && t.length > n, S = Et((e) => {
14648
+ const v = !s && t.length < r, w = !s && t.length > n, S = Et((e) => {
14649
14649
  const t = [...e].sort((e, t) => e.stop.offset - t.stop.offset), n = {
14650
14650
  stops: t.map((e) => e.stop),
14651
14651
  keys: t.map((e) => e.key)
@@ -14675,7 +14675,7 @@ var Gd = bo((e) => {
14675
14675
  } : null);
14676
14676
  }, [h]), N = Et((e, t) => {
14677
14677
  const o = h[e];
14678
- v((e) => t ? o : e === o ? null : e);
14678
+ k((e) => t ? o : e === o ? null : e);
14679
14679
  }, [h]), I = Et((e, t) => {
14680
14680
  S(C().map((o, n) => n === e ? {
14681
14681
  ...o,
@@ -14718,12 +14718,12 @@ var Gd = bo((e) => {
14718
14718
  C,
14719
14719
  S
14720
14720
  ]), R = Et((e) => {
14721
- if (!k || 0 !== e.button || null !== x) return;
14721
+ if (!v || 0 !== e.button || null !== x) return;
14722
14722
  if (e.target.closest(".sxl-gradient-stop")) return;
14723
14723
  const t = e.currentTarget.getBoundingClientRect();
14724
14724
  t.width <= 0 || P(Kd((e.clientX - t.left) / t.width));
14725
14725
  }, [
14726
- k,
14726
+ v,
14727
14727
  x,
14728
14728
  P
14729
14729
  ]), M = So(() => {
@@ -14767,7 +14767,7 @@ var Gd = bo((e) => {
14767
14767
  border: (e) => `1px solid ${e.palette.divider}`,
14768
14768
  backgroundImage: M,
14769
14769
  backgroundRepeat: "no-repeat",
14770
- cursor: k ? "copy" : "default",
14770
+ cursor: v ? "copy" : "default",
14771
14771
  opacity: s ? .5 : 1
14772
14772
  },
14773
14773
  children: t.map((e, t) => un($d, {
@@ -14789,12 +14789,12 @@ var Gd = bo((e) => {
14789
14789
  }, h[t]))
14790
14790
  })
14791
14791
  }), un(Lo, {
14792
- disabled: !k,
14792
+ disabled: !v,
14793
14793
  propsTooltip: {
14794
14794
  label: p("fill.gradientAddStop"),
14795
14795
  simple: !0
14796
14796
  },
14797
- icon: un(kt, { iconKey: "Add" }),
14797
+ icon: un(vt, { iconKey: "Add" }),
14798
14798
  onClick: () => P(),
14799
14799
  sx: { marginTop: "-3px" }
14800
14800
  })]
@@ -14824,7 +14824,7 @@ var Ud = bo((e) => {
14824
14824
  gap: 1,
14825
14825
  alignItems: "center"
14826
14826
  },
14827
- children: [mn(kn, {
14827
+ children: [mn(vn, {
14828
14828
  size: "small",
14829
14829
  sx: {
14830
14830
  minWidth: 132,
@@ -14913,7 +14913,7 @@ var qd = (e) => {
14913
14913
  offset: 1,
14914
14914
  color: "4472c4"
14915
14915
  }]
14916
- }), _d = ln(ar("studio:formatTaskPane", () => import("./GeLMvw9JlqlFr6jw.mjs"), { select: (e) => ({ default: e.FormatTaskPane }) }).load), Zd = () => V.registerTaskPane({
14916
+ }), _d = ln(ar("studio:formatTaskPane", () => import("./B5dbA7OTeRHtdFKK.mjs"), { select: (e) => ({ default: e.FormatTaskPane }) }).load), Zd = () => V.registerTaskPane({
14917
14917
  key: pe.FormatCells,
14918
14918
  component: _d
14919
14919
  }, !0), Qd = bo((e) => {
@@ -14954,7 +14954,7 @@ var qd = (e) => {
14954
14954
  gap: (e) => e.spacing(.75),
14955
14955
  minWidth: 0
14956
14956
  },
14957
- children: [un(kt, {
14957
+ children: [un(vt, {
14958
14958
  iconKey: t ? "Lock" : "LockOpen",
14959
14959
  size: 18,
14960
14960
  ariaHidden: !0
@@ -14992,7 +14992,7 @@ var qd = (e) => {
14992
14992
  });
14993
14993
  });
14994
14994
  Qd.displayName = "PasswordField";
14995
- var Yd = ar("studio:manageProtectionTaskPane", () => import("./Dbg6kW_63xZ_x2es.mjs")), Xd = ln(() => Yd.load().then((e) => ({ default: e.ManageProtectionTaskPane }))), Jd = ln(() => Yd.load().then((e) => ({ default: e.ProtectedRangeDetailsTaskPane }))), ep = () => {
14995
+ var Yd = ar("studio:manageProtectionTaskPane", () => import("./DBB9QhddMWoyCmju.mjs")), Xd = ln(() => Yd.load().then((e) => ({ default: e.ManageProtectionTaskPane }))), Jd = ln(() => Yd.load().then((e) => ({ default: e.ProtectedRangeDetailsTaskPane }))), ep = () => {
14996
14996
  const e = V.registerTaskPane({
14997
14997
  key: pe.Protection,
14998
14998
  component: Xd
@@ -15051,10 +15051,10 @@ var op = bo(ho((e, t) => {
15051
15051
  }
15052
15052
  });
15053
15053
  const p = So(() => {
15054
- const e = [], t = o.getSheets({ visibility: v.Visibility.Hidden }), r = o.getSelectedSheet();
15054
+ const e = [], t = o.getSheets({ visibility: k.Visibility.Hidden }), r = o.getSelectedSheet();
15055
15055
  for (let o = 0; o < t.length; o++) {
15056
15056
  const a = t[o], l = a.getVisibility();
15057
- if (l === v.Visibility.VeryHidden) continue;
15057
+ if (l === k.Visibility.VeryHidden) continue;
15058
15058
  const i = r === a, s = !!a.isIWorksheet && a.getProtection().isLocked(), d = a.getTabColor(), p = "var(--sxl-color-base-100)";
15059
15059
  let u = null, m = null, h = p;
15060
15060
  d && (h = d.toCSS(), i || (m = d.toBlackOrWhite().toCSS()), u = un(gn, {
@@ -15073,14 +15073,14 @@ var op = bo(ho((e, t) => {
15073
15073
  children: un(gn, { sx: {
15074
15074
  flex: "1 1 100%",
15075
15075
  boxSizing: "content-box",
15076
- opacity: i || l === v.Visibility.Hidden ? "50%" : "100%",
15076
+ opacity: i || l === k.Visibility.Hidden ? "50%" : "100%",
15077
15077
  border: (e) => i ? `${p} solid 1.5px` : `${e.palette.divider} solid 1px`,
15078
15078
  background: i && d ? `linear-gradient(0deg, ${h} 0%, ${p})` : h,
15079
15079
  borderRadius: "4px"
15080
15080
  } })
15081
15081
  }));
15082
15082
  let g = null;
15083
- s && (g = un(kt, { iconKey: "Lock" })), l !== v.Visibility.Visible && (g = un(kt, {
15083
+ s && (g = un(vt, { iconKey: "Lock" })), l !== k.Visibility.Visible && (g = un(vt, {
15084
15084
  iconKey: "VisibilityOff",
15085
15085
  style: { opacity: c.isStructureAllowed() ? 1 : .7 },
15086
15086
  color: "secondary"
@@ -15098,11 +15098,11 @@ var op = bo(ho((e, t) => {
15098
15098
  },
15099
15099
  children: g
15100
15100
  })), e.push(un(Eo, {
15101
- disabled: !c.isStructureAllowed() && l === v.Visibility.Hidden,
15101
+ disabled: !c.isStructureAllowed() && l === k.Visibility.Hidden,
15102
15102
  sx: {
15103
15103
  color: (e) => {
15104
15104
  let t = i ? e.palette.primary.main : e.palette.text.secondary;
15105
- return m && (t = m), l === v.Visibility.Hidden && (t = dr(t, e.palette.action.disabledOpacity)), t;
15105
+ return m && (t = m), l === k.Visibility.Hidden && (t = dr(t, e.palette.action.disabledOpacity)), t;
15106
15106
  },
15107
15107
  borderLeft: (e) => `${i ? e.palette.primary.main : "transparent"} solid 2px`,
15108
15108
  paddingLeft: "4px",
@@ -15221,18 +15221,18 @@ var rp = bo(ho((e, t) => {
15221
15221
  i,
15222
15222
  l,
15223
15223
  o
15224
- ]), { reference: x, component: v } = jt({
15224
+ ]), { reference: x, component: k } = jt({
15225
15225
  label: "allSheet",
15226
15226
  propsPopper: h,
15227
15227
  anchor: g.current,
15228
15228
  onOpen: () => f(!0),
15229
15229
  onClose: () => f(!1),
15230
15230
  renderPopupPanel: y
15231
- }), [k, w] = Fo(null), S = fo((e) => {
15231
+ }), [v, w] = Fo(null), S = fo((e) => {
15232
15232
  const { floatReference: t } = e;
15233
15233
  return a ? a({
15234
15234
  workbook: o,
15235
- index: k?.index,
15235
+ index: v?.index,
15236
15236
  tabStripRef: u.current ?? void 0,
15237
15237
  disabled: n,
15238
15238
  floatReference: t,
@@ -15243,17 +15243,17 @@ var rp = bo(ho((e, t) => {
15243
15243
  r,
15244
15244
  n,
15245
15245
  o,
15246
- k
15246
+ v
15247
15247
  ]), { reference: C, component: T } = jt({
15248
15248
  label: "sheetTab",
15249
15249
  propsPopper: h,
15250
- anchor: { getBoundingClientRect: () => new DOMRect(k?.left || 0, k?.top || 0, 0, 0) },
15250
+ anchor: { getBoundingClientRect: () => new DOMRect(v?.left || 0, v?.top || 0, 0, 0) },
15251
15251
  onClose: () => w(null),
15252
15252
  renderPopupPanel: S
15253
15253
  });
15254
15254
  xo(() => {
15255
- k ? C.open(0) : C.close(0);
15256
- }, [k]);
15255
+ v ? C.open(0) : C.close(0);
15256
+ }, [v]);
15257
15257
  const F = fo((e, t) => {
15258
15258
  e.preventDefault(), w({
15259
15259
  left: e.clientX - 2,
@@ -15288,10 +15288,10 @@ var rp = bo(ho((e, t) => {
15288
15288
  onClick: () => {
15289
15289
  b ? x.close(0) : x.open(0);
15290
15290
  },
15291
- icon: un(kt, { iconKey: "Menu" })
15291
+ icon: un(vt, { iconKey: "Menu" })
15292
15292
  })
15293
15293
  });
15294
- return mn(ve, {
15294
+ return mn(ke, {
15295
15295
  ref: m,
15296
15296
  workbook: o,
15297
15297
  disabled: n,
@@ -15304,7 +15304,7 @@ var rp = bo(ho((e, t) => {
15304
15304
  children: [
15305
15305
  N,
15306
15306
  T,
15307
- v
15307
+ k
15308
15308
  ]
15309
15309
  });
15310
15310
  }));
@@ -15358,13 +15358,13 @@ var ap = bo(ho((e, t) => {
15358
15358
  }
15359
15359
  const x = [];
15360
15360
  b && x.push("-", "hideRows", "unhideRows"), f && x.push("-", "hideColumns", "unhideColumns"), (b || f) && x.push("-"), b && x.push("autoFitRows", "resizeRows"), f && x.push("autoFitColumns", "resizeColumns");
15361
- const v = [
15361
+ const k = [
15362
15362
  ...h.resolveMembers("contextMenu") ?? [],
15363
15363
  ...y,
15364
15364
  ...x,
15365
15365
  "-",
15366
15366
  "formatCells"
15367
- ], k = sn(v, {
15367
+ ], v = sn(k, {
15368
15368
  variant: yt.Menuitem,
15369
15369
  dividerOrientation: "horizontal",
15370
15370
  groupKey: "contextMenu",
@@ -15376,7 +15376,7 @@ var ap = bo(ho((e, t) => {
15376
15376
  ref: t,
15377
15377
  className: sr("menu", l),
15378
15378
  ...i,
15379
- children: k
15379
+ children: v
15380
15380
  });
15381
15381
  }));
15382
15382
  lp.displayName = "WorkbookContextMenuBody", ap.displayName = "WorkbookContextMenu";
@@ -15623,7 +15623,7 @@ var pp = (e, t) => ({
15623
15623
  children: [
15624
15624
  un(Lo, {
15625
15625
  dense: !0,
15626
- icon: un(kt, { iconKey: "HyperlinkGoto" }),
15626
+ icon: un(vt, { iconKey: "HyperlinkGoto" }),
15627
15627
  propsTooltip: { title: c("hyperlink.open") },
15628
15628
  onClick: u
15629
15629
  }),
@@ -15662,7 +15662,7 @@ var pp = (e, t) => ({
15662
15662
  children: [
15663
15663
  un(Lo, {
15664
15664
  dense: !0,
15665
- icon: un(kt, { iconKey: "ContentCopy" }),
15665
+ icon: un(vt, { iconKey: "ContentCopy" }),
15666
15666
  propsTooltip: { title: c("hyperlink.copy") },
15667
15667
  onClick: () => {
15668
15668
  n();
@@ -15670,14 +15670,14 @@ var pp = (e, t) => ({
15670
15670
  }),
15671
15671
  un(Lo, {
15672
15672
  dense: !0,
15673
- icon: un(kt, { iconKey: "HyperlinkEdit" }),
15673
+ icon: un(vt, { iconKey: "HyperlinkEdit" }),
15674
15674
  propsTooltip: { title: c("hyperlink.edit") },
15675
15675
  disabled: l,
15676
15676
  onClick: r
15677
15677
  }),
15678
15678
  un(Lo, {
15679
15679
  dense: !0,
15680
- icon: un(kt, { iconKey: "HyperlinkDelete" }),
15680
+ icon: un(vt, { iconKey: "HyperlinkDelete" }),
15681
15681
  propsTooltip: { title: c("hyperlink.remove") },
15682
15682
  disabled: l,
15683
15683
  onClick: a
@@ -15703,7 +15703,7 @@ var pp = (e, t) => ({
15703
15703
  }, yp = (e) => un(fp, { ...e }), xp = {
15704
15704
  color: "transparent",
15705
15705
  hoverColor: "transparent"
15706
- }, vp = { sx: { mx: 0 } }, kp = ({ props: e, label: t, children: o }) => {
15706
+ }, kp = { sx: { mx: 0 } }, vp = ({ props: e, label: t, children: o }) => {
15707
15707
  const { floatProps: n } = e;
15708
15708
  return un(En, {
15709
15709
  ...n,
@@ -15724,21 +15724,21 @@ var pp = (e, t) => ({
15724
15724
  });
15725
15725
  }, wp = (e) => {
15726
15726
  const { table: t, setHeld: o } = e;
15727
- return un(kp, {
15727
+ return un(vp, {
15728
15728
  props: e,
15729
15729
  label: t.getName(),
15730
15730
  children: un(Ua, {
15731
15731
  commandKey: "formatTableStyle",
15732
15732
  selectedTable: t,
15733
15733
  outlined: xp,
15734
- propsButton: vp,
15734
+ propsButton: kp,
15735
15735
  onPopupOpen: () => o(!0),
15736
15736
  onPopupClose: () => o(!1)
15737
15737
  })
15738
15738
  });
15739
15739
  }, Sp = (e) => un(wp, { ...e }), Cp = (e) => {
15740
15740
  const { pivot: t, setHeld: o } = e;
15741
- return un(kp, {
15741
+ return un(vp, {
15742
15742
  props: e,
15743
15743
  label: t.getName(),
15744
15744
  children: un(Ya, {
@@ -15746,7 +15746,7 @@ var pp = (e, t) => ({
15746
15746
  selectedPivot: t,
15747
15747
  quickCommand: "editPivotTable",
15748
15748
  outlined: xp,
15749
- propsButton: vp,
15749
+ propsButton: kp,
15750
15750
  onPopupOpen: () => o(!0),
15751
15751
  onPopupClose: () => o(!1)
15752
15752
  })
@@ -15760,7 +15760,7 @@ var pp = (e, t) => ({
15760
15760
  ...e
15761
15761
  }), Lp = (e) => {
15762
15762
  const { key: t, ...o } = e;
15763
- return un(ke, { ...o }, t);
15763
+ return un(ve, { ...o }, t);
15764
15764
  }, Kp = (e) => {
15765
15765
  const { key: t, ...o } = e;
15766
15766
  return un(Zi, { ...o }, t);
@@ -15831,7 +15831,7 @@ var Gp = (e = !1, t = !1) => t ? null : {
15831
15831
  border: (e) => `1px solid ${e.palette?.primary?.main} !important`
15832
15832
  }
15833
15833
  }, Up = bo(ho((e, t) => {
15834
- const { sx: o, workbook: n, title: r = "", placeHolder: a, onTitleChange: l, readOnly: i = !1, modified: s = !1, encrypted: c = !1, hidden: d, ...p } = e, u = ao(), m = a ?? u("workbook.untitled"), [h, g] = Fo(!1), [b, f] = Fo(!1), [y, x] = Fo(r ?? ""), [v, k] = Fo(""), [w, { width: S }] = Xt(), [C, { width: T }] = Xt(), [F, D] = Fo(!1), N = To(null), I = To(null), B = Zt(t, () => ({
15834
+ const { sx: o, workbook: n, title: r = "", placeHolder: a, onTitleChange: l, readOnly: i = !1, modified: s = !1, encrypted: c = !1, hidden: d, ...p } = e, u = ao(), m = a ?? u("workbook.untitled"), [h, g] = Fo(!1), [b, f] = Fo(!1), [y, x] = Fo(r ?? ""), [k, v] = Fo(""), [w, { width: S }] = Xt(), [C, { width: T }] = Xt(), [F, D] = Fo(!1), N = To(null), I = To(null), B = Zt(t, () => ({
15835
15835
  requestTitle: (e, t) => {
15836
15836
  I.current = {
15837
15837
  onAccept: e,
@@ -15843,13 +15843,13 @@ var Gp = (e = !1, t = !1) => t ? null : {
15843
15843
  }
15844
15844
  }), []);
15845
15845
  wo(() => {
15846
- D(r !== y), k(r), x(r);
15846
+ D(r !== y), v(r), x(r);
15847
15847
  }, [r]), xo(() => {
15848
15848
  F && 0 !== S && rr.debounce(() => {
15849
15849
  D(!1);
15850
15850
  }, 300)();
15851
15851
  }, [F, S]), xo(() => {
15852
- f(!!y && !vr.isValidFileName(y));
15852
+ f(!!y && !kr.isValidFileName(y));
15853
15853
  }, [y]);
15854
15854
  const P = pr([
15855
15855
  B,
@@ -15883,7 +15883,7 @@ var Gp = (e = !1, t = !1) => t ? null : {
15883
15883
  height: "0.9em"
15884
15884
  }
15885
15885
  },
15886
- children: un(kt, { iconKey: "Lock" })
15886
+ children: un(vt, { iconKey: "Lock" })
15887
15887
  })
15888
15888
  }) : null, un(Vo, {
15889
15889
  label: I.current?.requestReason ?? u("documentTitle.label"),
@@ -15911,7 +15911,7 @@ var Gp = (e = !1, t = !1) => t ? null : {
15911
15911
  component: "div",
15912
15912
  sx: {
15913
15913
  whiteSpace: "nowrap",
15914
- fontStyle: y === v && r ? void 0 : "italic",
15914
+ fontStyle: y === k && r ? void 0 : "italic",
15915
15915
  userSelect: "none",
15916
15916
  textOverflow: "ellipsis",
15917
15917
  lineHeight: "1.4375em",
@@ -15938,7 +15938,7 @@ var Gp = (e = !1, t = !1) => t ? null : {
15938
15938
  padding: "0px",
15939
15939
  margin: "0px",
15940
15940
  color: (e) => b ? e.palette.error.dark : void 0,
15941
- fontStyle: y !== v ? "italic" : void 0,
15941
+ fontStyle: y !== k ? "italic" : void 0,
15942
15942
  "& input": {
15943
15943
  paddingTop: "0px",
15944
15944
  paddingBottom: "0px",
@@ -15960,14 +15960,14 @@ var Gp = (e = !1, t = !1) => t ? null : {
15960
15960
  ref: N
15961
15961
  },
15962
15962
  onBlur: () => {
15963
- g(!1), b ? x(v) : (y !== v && (l?.(y), y && I.current?.onAccept?.(y, "blur")), I.current = null);
15963
+ g(!1), b ? x(k) : (y !== k && (l?.(y), y && I.current?.onAccept?.(y, "blur")), I.current = null);
15964
15964
  },
15965
15965
  onChange: (e) => {
15966
- if (e.target.value.length > vr.MAX_WORKBOOK_NAME_SIZE) return e.stopPropagation(), void e.preventDefault();
15966
+ if (e.target.value.length > kr.MAX_WORKBOOK_NAME_SIZE) return e.stopPropagation(), void e.preventDefault();
15967
15967
  x(e.target.value);
15968
15968
  },
15969
15969
  onKeyDown: (e) => {
15970
- (vr.isReservedFileNameChar(e.key) || e.target?.value.length > vr.MAX_WORKBOOK_NAME_SIZE) && e.preventDefault(), e.which === wt.Enter || e.which === wt.Tab ? (b ? x(v) : (l?.(y), y && (I.current?.onAccept?.(y, "keydown"), I.current = null)), e.stopPropagation(), e.preventDefault(), n?.focus()) : e.which === wt.Escape && (y === v ? n?.focus() : (x(v), setTimeout(() => {
15970
+ (kr.isReservedFileNameChar(e.key) || e.target?.value.length > kr.MAX_WORKBOOK_NAME_SIZE) && e.preventDefault(), e.which === wt.Enter || e.which === wt.Tab ? (b ? x(k) : (l?.(y), y && (I.current?.onAccept?.(y, "keydown"), I.current = null)), e.stopPropagation(), e.preventDefault(), n?.focus()) : e.which === wt.Escape && (y === k ? n?.focus() : (x(k), setTimeout(() => {
15971
15971
  e.target?.select();
15972
15972
  }, 0)), I.current = null, e.stopPropagation(), e.preventDefault());
15973
15973
  },
@@ -15980,7 +15980,7 @@ var Gp = (e = !1, t = !1) => t ? null : {
15980
15980
  top: "-9999px",
15981
15981
  fontWeight: "600 !important",
15982
15982
  whiteSpace: "pre",
15983
- fontStyle: y !== v ? "italic" : void 0,
15983
+ fontStyle: y !== k ? "italic" : void 0,
15984
15984
  fontFamily: (e) => e.typography.fontFamily,
15985
15985
  letterSpacing: "0.00938em"
15986
15986
  },
@@ -16031,7 +16031,7 @@ var qp = /* @__PURE__ */ new Set([
16031
16031
  "autoFocus",
16032
16032
  "licenseKey",
16033
16033
  "prefetch"
16034
- ]), jp = ar("studio:eagerStudio", () => import("./DAuVxjZwldORNkvx.mjs").then((e) => e.t)), _p = ({ error: e, onShown: t }) => (xo(() => {
16034
+ ]), jp = ar("studio:eagerStudio", () => import("./BI4aQ23a2wqqskmY.mjs").then((e) => e.t)), _p = ({ error: e, onShown: t }) => (xo(() => {
16035
16035
  t();
16036
16036
  }, []), un(Go, { error: e })), Zp = bo(ho((e, t) => {
16037
16037
  const { sx: o, style: n, className: r, licenseKey: a, renderDocumentLoading: l = Op, propsDocumentLoading: i, onWorkbookLoad: s, onDocumentError: c, ...d } = e, [p, u] = ((e) => {
@@ -16045,7 +16045,7 @@ var qp = /* @__PURE__ */ new Set([
16045
16045
  const [m] = oo(me.Mode, ue[me.Mode]), { themeMode: h } = no({
16046
16046
  mode: m ?? void 0,
16047
16047
  fallback: "system"
16048
- }), g = "dark" === h, [b, f] = Fo(null), y = Bt("studio", vo()), [x, v] = Fo(!1), k = So(() => !l || x ? null : un(En, {
16048
+ }), g = "dark" === h, [b, f] = Fo(null), y = Bt("studio", ko()), [x, k] = Fo(!1), v = So(() => !l || x ? null : un(En, {
16049
16049
  style: {
16050
16050
  backgroundColor: `var(--sxl-color-base-100, ${g ? "#121212" : "#fff"})`,
16051
16051
  inset: 0,
@@ -16068,7 +16068,7 @@ var qp = /* @__PURE__ */ new Set([
16068
16068
  x
16069
16069
  ]), w = So(() => At(jp.load, { renderError: ({ error: e }) => un(_p, {
16070
16070
  error: e,
16071
- onShown: () => v(!0)
16071
+ onShown: () => k(!0)
16072
16072
  }) }), []);
16073
16073
  return un(It.Provider, {
16074
16074
  value: "system",
@@ -16096,17 +16096,17 @@ var qp = /* @__PURE__ */ new Set([
16096
16096
  ...p,
16097
16097
  host: b,
16098
16098
  scopeClass: y,
16099
- onWorkbookLoad: (e) => (requestAnimationFrame(() => requestAnimationFrame(() => v(!0))), s?.(e)),
16100
- onDocumentError: (e) => (v(!0), c?.(e)),
16099
+ onWorkbookLoad: (e) => (requestAnimationFrame(() => requestAnimationFrame(() => k(!0))), s?.(e)),
16100
+ onDocumentError: (e) => (k(!0), c?.(e)),
16101
16101
  renderDocumentLoading: null,
16102
16102
  ref: t
16103
16103
  })
16104
- }), k]
16104
+ }), v]
16105
16105
  })
16106
16106
  });
16107
16107
  }));
16108
16108
  Zp.displayName = "Studio";
16109
- var Qp = an(ar("studio:templateDialog", () => import("./XJAfD-_V2Sx4aW33.mjs")).load), Yp = ar("studio:welcomeDialog", () => import("./539u16kqHOnXHBnN.mjs")), Xp = an(Yp.load), Jp = bo((e) => {
16109
+ var Qp = an(ar("studio:templateDialog", () => import("./Bu647iy66qiv3-qM.mjs")).load), Yp = ar("studio:welcomeDialog", () => import("./CawfjLMD5X08VllQ.mjs")), Xp = an(Yp.load), Jp = bo((e) => {
16110
16110
  const { scope: t } = e, { showModal: o } = dn(), n = eo(), r = To(void 0), [a, l] = oo("studio.welcome.showAtStartup", !0), i = (e, o) => {
16111
16111
  t.resolve(e)?.execute(o);
16112
16112
  }, s = (e) => {
@@ -16181,46 +16181,58 @@ var Qp = an(ar("studio:templateDialog", () => import("./XJAfD-_V2Sx4aW33.mjs")).
16181
16181
  });
16182
16182
  Jp.displayName = "TemplateCommands";
16183
16183
  var eu = !1, tu = () => {
16184
- eu || (eu = !0, bt.DefaultCommandRegistry.registerDynamic("app", Jp), vt.register({
16184
+ eu || (eu = !0, bt.DefaultCommandRegistry.registerDynamic("app", Jp), kt.register({
16185
16185
  key: "templates.newFromTemplate",
16186
16186
  defaultKey: "newWorkbookFromTemplate",
16187
16187
  contributions: { newWorkbookOptions: { order: 1 } }
16188
16188
  }, !0));
16189
- }, ou = (e = {}) => {
16189
+ }, ou = () => {
16190
+ if ("undefined" == typeof window) return null;
16191
+ const e = window.location.hash.substring(1);
16192
+ if (!e) return null;
16193
+ try {
16194
+ return decodeURIComponent(e);
16195
+ } catch {
16196
+ return e;
16197
+ }
16198
+ }, nu = (e = {}) => {
16190
16199
  const { source: t, startWith: o, templatePath: n, onWorkbookLoad: r, onWorkbookChange: a, onDirtyChange: l, documentTitle: i, confirmOnClose: s, keyboardGuard: c, ...d } = e, p = Yt(), [u, m] = Fo(null), [h, g] = Fo(!1), b = ht(u);
16191
16200
  pt(b, h, {
16192
16201
  documentTitle: i,
16193
16202
  confirmOnClose: s,
16194
16203
  keyboardGuard: c
16195
16204
  });
16196
- const { workbook: f, urlTitle: y } = So(() => {
16205
+ const { workbook: f, urlTitle: y, urlAddress: x } = So(() => {
16197
16206
  if (null != t) return {
16198
16207
  workbook: "string" == typeof t ? { source: t } : t,
16199
- urlTitle: null
16208
+ urlTitle: null,
16209
+ urlAddress: null
16200
16210
  };
16201
16211
  if (p) {
16202
16212
  const e = new URLSearchParams(p), t = e.get("source");
16203
16213
  if (t) return {
16204
16214
  workbook: { source: t },
16205
- urlTitle: e.get("title")
16215
+ urlTitle: e.get("title"),
16216
+ urlAddress: ou()
16206
16217
  };
16207
16218
  }
16208
16219
  return {
16209
16220
  workbook: void 0,
16210
- urlTitle: null
16221
+ urlTitle: null,
16222
+ urlAddress: null
16211
16223
  };
16212
- }, [t, p]), x = To(null);
16224
+ }, [t, p]), k = To(null);
16213
16225
  So(() => {
16214
- x.current = y;
16226
+ k.current = y;
16215
16227
  }, [y]);
16216
16228
  const v = To(a);
16217
16229
  v.current = a;
16218
- const k = fo((e) => {
16219
- e && x.current && (e.getOrigin().setName(x.current), x.current = null), m(e), v.current?.(e);
16220
- }, []), w = To(l);
16221
- w.current = l;
16222
- const S = fo((e) => {
16223
- g(e), w.current?.(e);
16230
+ const w = fo((e) => {
16231
+ e && k.current && (e.getOrigin().setName(k.current), k.current = null), m(e), v.current?.(e);
16232
+ }, []), S = To(l);
16233
+ S.current = l;
16234
+ const C = fo((e) => {
16235
+ g(e), S.current?.(e);
16224
16236
  }, []);
16225
16237
  xo(() => {
16226
16238
  "welcome" === o && void 0 === f && ((e) => {
@@ -16231,25 +16243,40 @@ var eu = !1, tu = () => {
16231
16243
  f,
16232
16244
  n
16233
16245
  ]);
16234
- const C = To(!1), T = To(r);
16235
- T.current = r;
16236
- const F = fo((e) => (C.current || (C.current = !0, "welcome" === o && void 0 === f && requestAnimationFrame(() => requestAnimationFrame(() => {
16237
- e.source?.getCommandScope?.()?.resolve("showWelcome")?.execute({
16238
- templatePath: n,
16239
- atStartup: !0
16240
- });
16241
- }))), T.current?.(e)), [
16246
+ const T = To(!1), F = To(r);
16247
+ F.current = r;
16248
+ const D = fo((e) => {
16249
+ if (!T.current) {
16250
+ if (T.current = !0, "welcome" === o && void 0 === f) requestAnimationFrame(() => requestAnimationFrame(() => {
16251
+ e.source?.getCommandScope?.()?.resolve("showWelcome")?.execute({
16252
+ templatePath: n,
16253
+ atStartup: !0
16254
+ });
16255
+ }));
16256
+ else if (x) {
16257
+ const t = e.source?.getWorkbook?.();
16258
+ t && (async (e, t) => {
16259
+ try {
16260
+ const o = e.getWorksheets().getByName(t);
16261
+ o ? await o.select() : await e.getRange(t).select();
16262
+ } catch {}
16263
+ })(t, x);
16264
+ }
16265
+ }
16266
+ return F.current?.(e);
16267
+ }, [
16242
16268
  o,
16243
16269
  n,
16244
- f
16270
+ f,
16271
+ x
16245
16272
  ]);
16246
16273
  return {
16247
16274
  virtualKeyboard: "resize",
16248
16275
  ...d,
16249
16276
  workbook: f,
16250
- onWorkbookChange: k,
16251
- onDirtyChange: S,
16252
- onWorkbookLoad: F
16277
+ onWorkbookChange: w,
16278
+ onDirtyChange: C,
16279
+ onWorkbookLoad: D
16253
16280
  };
16254
16281
  };
16255
- export { Ds as ANOMALIES_REVIEW_BUTTON, Ns as AnomaliesPlugin, ul as AppearanceCommandButton, Br as AutoColorPosition, Jr as BorderCommandButton, Xr as BorderPopupButton, jr as BorderStylePopupButton, _r as BorderTemplateIcon, ca as C, gl as CalculationOptionsCommandButton, ji as CalculationRequiredStatus, qi as CircularReferenceStatus, Lr as ColorButton, Kr as ColorButtonList, ba as ColorCommandButton, Vr as ColorPanel, Ir as ColorPanelType, $r as ColorPopupButton, bd as ColumnMenu, ys as CommentCard, vs as CommentsPlugin, jd as DEFAULT_GRADIENT, z as DefaultTaskPaneRegistry, Ii as DefaultWorkbookToolbars, dl as DocThemeCommandButton, Up as DocumentTitle, us as ExternalLinksPlugin, Ji as FORMULA_BAR_EDITOR_ID, za as FORMULA_FIELD_ABOVE_LABEL_HEIGHT, pl as FileCommandButton, dp as FillMenu, fa as FontFamilyCommandButton, ea as FontSizeCommandButton, Zd as FormatPlugin, rs as FormulaBar, Va as FormulaField, Ci as FunctionArgumentsPanel, Si as FunctionSearchPanel, Ud as GradientEditor, Gd as GradientStopsBar, ri as INSERT_CELL_CONTROL_OPTIONS_KEY, Ti as INSERT_FUNCTION_PAGE_CLASS, La as InputField, ai as InsertCellControlCommandButton, Yl as InsertFunctionCommandPopupButton, Fi as InsertFunctionOption, gi as InsertFunctionSumCommandPopupButton, Ni as InsertFunctionWizard, xi as ItemCard, fi as ItemCardAction, vi as ItemsSearchField, T as LicenseManager, ds as MobileFormulaBar, ls as MobileInputToolbar, Qi as NamedCollectionEditor, Xi as NamedPlugin, pa as NumberFormatCommandButton, ta as NumberFormatOption, zi as NumberStats, Rd as PATTERN_GALLERY, Qd as PasswordField, xa as PasteCommandButton, Od as PatternPopupButton, Pd as PatternSwatch, _i as PendingStatus, Fd as PivotMenu, Cp as PivotToolbar, ac as PresenceOverlay, ic as PresencePlugin, Ws as PresenceStrip, rc as PresenceTaskPane, Sa as PresetCellStylesCommandButton, Pl as PresetChip, Ya as PresetPivotStylesCommandButton, Dd as PresetSlicerStylesCommandButton, Ua as PresetTableStylesCommandButton, ep as ProtectionPlugin, yl as S, tp as SheetTabMenu, Nr as SheetZoomCommandButton, Li as SheetZoomScale, op as SheetsAllMenu, Id as SlicerPlugin, Zi as StatusBar, Zp as Studio, qr as StyledStrokeIcon, $a as TablePlugin, Oa as TableStyleCanvasPreview, Fa as TableStylePreview, wp as TableToolbar, ya as TextEffectsCommandButton, Fr as TextRotateGroupButton, Ja as ThemeSelectButton, el as ThemeSelectPanel, tl as ThemeSelectPopupButton, ga as UndoRedoCommandButton, bl as WalkingCopyCommandButton, ap as WorkbookContextMenu, $p as WorkbookElement, ye as WorkbookIO, rp as WorkbookStrip, Oi as WorkbookToolbars, wl as _, Rc as a, Il as b, wi as c, cl as createStudioThemeCSS, al as createThemeFromMUITheme, zl as d, Pp as defaultRenderColumnMenu, bp as defaultRenderCommentCard, Bp as defaultRenderContextMenu, Ip as defaultRenderFillMenu, Mp as defaultRenderFormulaBar, yp as defaultRenderHyperlinkCard, Np as defaultRenderMovableMenu, Fp as defaultRenderOutlineButton, Dp as defaultRenderOutlineLevelButton, Rp as defaultRenderPivotMenu, Tp as defaultRenderPivotToolbar, Hp as defaultRenderSheetTab, Wp as defaultRenderSheetTabMenu, zp as defaultRenderSheetsAll, Kp as defaultRenderStatusBar, Sp as defaultRenderTableToolbar, Ep as defaultRenderTabs, Bi as defaultRenderToolbar, gp as defaultRenderTooltip, Ap as defaultRenderWorkbookError, Op as defaultRenderWorkbookLoading, Lp as defaultRenderWorksheet, Gl as f, Sl as g, xl as h, Ic as i, bi as l, kl as m, ld as n, na as numberFormatCategoryLabel, oa as numberFormatTypeLabel, ks as o, Di as optionsForPage, Kl as p, Md as patternLabel, rd as r, _l as registerSheetCommandGroups, Tr as registerStudioCommandCatalogs, hi as registerStudioCommandGroups, pi as registerWorkbookCommandGroups, ki as s, _e as setPrintExamplesOnLoad, tu as t, qd as toGradientValue, Bd as toPatternSlots, ll as tokensToMuiOptions, di as u, es as useFormulaBarSession, nt as useModelListener, st as useRangeListener, ou as useStudioApp, Bl as v, Or as w, fl as x, Dl as y };
16282
+ export { Ds as ANOMALIES_REVIEW_BUTTON, Ns as AnomaliesPlugin, ul as AppearanceCommandButton, Br as AutoColorPosition, Jr as BorderCommandButton, Xr as BorderPopupButton, jr as BorderStylePopupButton, _r as BorderTemplateIcon, ca as C, gl as CalculationOptionsCommandButton, ji as CalculationRequiredStatus, qi as CircularReferenceStatus, Lr as ColorButton, Kr as ColorButtonList, ba as ColorCommandButton, Vr as ColorPanel, Ir as ColorPanelType, $r as ColorPopupButton, bd as ColumnMenu, ys as CommentCard, ks as CommentsPlugin, jd as DEFAULT_GRADIENT, z as DefaultTaskPaneRegistry, Ii as DefaultWorkbookToolbars, dl as DocThemeCommandButton, Up as DocumentTitle, us as ExternalLinksPlugin, Ji as FORMULA_BAR_EDITOR_ID, za as FORMULA_FIELD_ABOVE_LABEL_HEIGHT, pl as FileCommandButton, dp as FillMenu, fa as FontFamilyCommandButton, ea as FontSizeCommandButton, Zd as FormatPlugin, rs as FormulaBar, Va as FormulaField, Ci as FunctionArgumentsPanel, Si as FunctionSearchPanel, Ud as GradientEditor, Gd as GradientStopsBar, ri as INSERT_CELL_CONTROL_OPTIONS_KEY, Ti as INSERT_FUNCTION_PAGE_CLASS, La as InputField, ai as InsertCellControlCommandButton, Yl as InsertFunctionCommandPopupButton, Fi as InsertFunctionOption, gi as InsertFunctionSumCommandPopupButton, Ni as InsertFunctionWizard, xi as ItemCard, fi as ItemCardAction, ki as ItemsSearchField, T as LicenseManager, ds as MobileFormulaBar, ls as MobileInputToolbar, Qi as NamedCollectionEditor, Xi as NamedPlugin, pa as NumberFormatCommandButton, ta as NumberFormatOption, zi as NumberStats, Rd as PATTERN_GALLERY, Qd as PasswordField, xa as PasteCommandButton, Od as PatternPopupButton, Pd as PatternSwatch, _i as PendingStatus, Fd as PivotMenu, Cp as PivotToolbar, ac as PresenceOverlay, ic as PresencePlugin, Ws as PresenceStrip, rc as PresenceTaskPane, Sa as PresetCellStylesCommandButton, Pl as PresetChip, Ya as PresetPivotStylesCommandButton, Dd as PresetSlicerStylesCommandButton, Ua as PresetTableStylesCommandButton, ep as ProtectionPlugin, yl as S, tp as SheetTabMenu, Nr as SheetZoomCommandButton, Li as SheetZoomScale, op as SheetsAllMenu, Id as SlicerPlugin, Zi as StatusBar, Zp as Studio, qr as StyledStrokeIcon, $a as TablePlugin, Oa as TableStyleCanvasPreview, Fa as TableStylePreview, wp as TableToolbar, ya as TextEffectsCommandButton, Fr as TextRotateGroupButton, Ja as ThemeSelectButton, el as ThemeSelectPanel, tl as ThemeSelectPopupButton, ga as UndoRedoCommandButton, bl as WalkingCopyCommandButton, ap as WorkbookContextMenu, $p as WorkbookElement, ye as WorkbookIO, rp as WorkbookStrip, Oi as WorkbookToolbars, wl as _, Rc as a, Il as b, wi as c, cl as createStudioThemeCSS, al as createThemeFromMUITheme, zl as d, Pp as defaultRenderColumnMenu, bp as defaultRenderCommentCard, Bp as defaultRenderContextMenu, Ip as defaultRenderFillMenu, Mp as defaultRenderFormulaBar, yp as defaultRenderHyperlinkCard, Np as defaultRenderMovableMenu, Fp as defaultRenderOutlineButton, Dp as defaultRenderOutlineLevelButton, Rp as defaultRenderPivotMenu, Tp as defaultRenderPivotToolbar, Hp as defaultRenderSheetTab, Wp as defaultRenderSheetTabMenu, zp as defaultRenderSheetsAll, Kp as defaultRenderStatusBar, Sp as defaultRenderTableToolbar, Ep as defaultRenderTabs, Bi as defaultRenderToolbar, gp as defaultRenderTooltip, Ap as defaultRenderWorkbookError, Op as defaultRenderWorkbookLoading, Lp as defaultRenderWorksheet, Gl as f, Sl as g, xl as h, Ic as i, bi as l, vl as m, ld as n, na as numberFormatCategoryLabel, oa as numberFormatTypeLabel, vs as o, Di as optionsForPage, Kl as p, Md as patternLabel, rd as r, _l as registerSheetCommandGroups, Tr as registerStudioCommandCatalogs, hi as registerStudioCommandGroups, pi as registerWorkbookCommandGroups, vi as s, _e as setPrintExamplesOnLoad, tu as t, qd as toGradientValue, Bd as toPatternSlots, ll as tokensToMuiOptions, di as u, es as useFormulaBarSession, nt as useModelListener, st as useRangeListener, nu as useStudioApp, Bl as v, Or as w, fl as x, Dl as y };