@sheetxl/studio-mui 0.8.0-beta.17 → 0.8.0-beta.19

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 (143) hide show
  1. package/browser/esm/{CaI0Mfu6ECDIzCpr.mjs → 3pGM81cqNJ8DDWp_.mjs} +2 -2
  2. package/browser/esm/{DwiKIdqmaBk2pTBp.mjs → 8nIjNjh3EYKTlgnw.mjs} +8 -8
  3. package/browser/esm/B0NC2aGu9jgdelTz.mjs +14 -0
  4. package/browser/esm/{fSCwNKAcSc0mr2Ec.mjs → B2nWe09MDoBLwo_k.mjs} +1 -1
  5. package/browser/esm/{sjJ2Yb_cf_KL--Cl.mjs → B45dW1aZ8s9mufl_.mjs} +2 -2
  6. package/browser/esm/{BTb_Djaoxz3G27t-.mjs → B83kgckQsC0aY0NE.mjs} +5 -5
  7. package/browser/esm/{D9ija-5d57x-qUQv.mjs → B95vnhVq0KnbcA_Y.mjs} +1 -1
  8. package/browser/esm/{ChORBNItvZW0e8Nb.mjs → BBbQjMATTPG16Lr9.mjs} +1 -1
  9. package/browser/esm/{mP32LfcEodsaGDPi.mjs → BC0b8N0c-Yenu46_.mjs} +5 -5
  10. package/browser/esm/{BkABsPS9qbyYS2i7.mjs → BCJ3o3M62lsBKbae.mjs} +1 -1
  11. package/browser/esm/{Cb3HSSD7snyRPNh8.mjs → BJY1GNwcHIjXI6Dy.mjs} +1 -1
  12. package/browser/esm/{BnLdmQ91UIGs0zyR.mjs → BLZvY9XJL32hg1F-.mjs} +1 -1
  13. package/browser/esm/{Dx0ymWD1uI_Q63eZ.mjs → BMfZqSxbgNWsKjqY.mjs} +2 -2
  14. package/browser/esm/{C8kveDS4xm6D2Aaq.mjs → BQjxD6zW8juryZHL.mjs} +2 -2
  15. package/browser/esm/{BFN88LECqMerqLYN.mjs → BRfhOI9RpekZBcrO.mjs} +6 -6
  16. package/browser/esm/{g_bvg4HpyaF6f_JY.mjs → BSmY1OUM8_F-moJ0.mjs} +4 -4
  17. package/browser/esm/{BGNhe08mdWf8dIuk.mjs → BUr5VGHQCYpQeran.mjs} +5 -5
  18. package/browser/esm/{CvzzESAZRMWQ4cGq.mjs → B_Vk87a5g9DxCz2O.mjs} +5 -5
  19. package/browser/esm/{CMIM0wPs_KvfwLEl.mjs → Bece9zSczcJRj6iF.mjs} +2 -2
  20. package/browser/esm/{JqMZ95e5lhq09vm6.mjs → BgxFFejwP2YXqYGy.mjs} +2 -2
  21. package/browser/esm/{B2LvYLt27hzoarA9.mjs → BhHlzIhnBJqfHSKP.mjs} +2361 -2110
  22. package/browser/esm/{CmMD76_yBG4xmsEr.mjs → Bik5wGC75z2BvotX.mjs} +3 -3
  23. package/browser/esm/{DK39s_Fn9M22RfJm.mjs → BjdZOM-UvDoJaYFo.mjs} +2 -2
  24. package/browser/esm/{DmBu6kgMNT26tmsZ.mjs → Bkw1PteOYKjHz41s.mjs} +3 -3
  25. package/browser/esm/{DxFw-07oIjr7GRb3.mjs → BlE9-hSf71ZoAM0M.mjs} +1 -1
  26. package/browser/esm/{DGkQsCJP29nZteu8.mjs → BsBeOKW7EhSZ9E5v.mjs} +4 -4
  27. package/browser/esm/{DrtEkQTJM7oPvC9v.mjs → Bscb3ZfordY8Cyzo.mjs} +2 -2
  28. package/browser/esm/{_PlChb18jQMPAKJX.mjs → C8FnFcYHBHv7mRsK.mjs} +36 -36
  29. package/browser/esm/{GqSAEzE_2tOJlvNG.mjs → C8sDMsI-mfPVArSI.mjs} +2 -2
  30. package/browser/esm/{Bh1YkrKuSZs-xdlw.mjs → CDuVmLEi65HzZ-mo.mjs} +2 -2
  31. package/browser/esm/{BXhWCOPioL48V_9k.mjs → CEjud4n-8EggO2Im.mjs} +1 -1
  32. package/browser/esm/{LaC0D0C9yJ8y_l6X.mjs → CLVbEJee8eD3qMJR.mjs} +8 -8
  33. package/browser/esm/{BBGsto_-YGhTouc9.mjs → CMEIC_DYikQRzC9L.mjs} +602 -601
  34. package/browser/esm/{BNfIFd07bhGqs-U9.mjs → CUi2AR-pqVbpTLq4.mjs} +1 -1
  35. package/browser/esm/{BxHaU8-LCw4IHrDn.mjs → CdFz-uXCDYgv_iOM.mjs} +1 -1
  36. package/browser/esm/{C2ZbV5cXpGPYeqM1.mjs → Cmm97cKH5IugcalW.mjs} +1 -1
  37. package/browser/esm/{BoXCzcrUFER3B585.mjs → Cp6H28QXgHRfTJ_n.mjs} +4 -4
  38. package/browser/esm/{DL0r5MrPx8CkL_r_.mjs → CtJpnIXloxW2qFGC.mjs} +4 -4
  39. package/browser/esm/{D1_8p15KJ7DSZEis.mjs → CzGACZ7X-3Z7pXxH.mjs} +2 -2
  40. package/browser/esm/D1EKHirhjR-MmeXo.mjs +8 -0
  41. package/browser/esm/{Cvbms6f8QMP1ubyI.mjs → D3mfQHjRbA8iPLtv.mjs} +2 -2
  42. package/browser/esm/{D2Kz08pq5zPz2n3y.mjs → D4LGe9Sxrf-egOPN.mjs} +1 -1
  43. package/browser/esm/{DQjJFUPHg_aU2BDi.mjs → D5fCoDA2NoOFViRy.mjs} +4 -4
  44. package/browser/esm/{CP-c6sUINCv0Nf4P.mjs → D9ObD_aKgMWUPN0P.mjs} +4 -4
  45. package/browser/esm/{D078ssKRI39FdHNq.mjs → DApXGOAXNdSZdYbT.mjs} +2 -2
  46. package/browser/esm/{0FLmtunmoRFjO-dk.mjs → DIC6M937GziE0_9l.mjs} +2 -2
  47. package/browser/esm/{cNsbq0TIia7SdBHP.mjs → DJTesgYNvoQv2Obl.mjs} +4 -4
  48. package/browser/esm/{W5Rvml-3G4XekwoR.mjs → DM9uGmTSDdyoRyRM.mjs} +3 -3
  49. package/browser/esm/{BnMZSJdWZzdK-AXs.mjs → DMWgj1E1kYrTdAnf.mjs} +3 -3
  50. package/browser/esm/{BEIcp6BzAg3H6JBB.mjs → DeJenn9MUICppyMl.mjs} +2 -2
  51. package/browser/esm/{NQzIcNkm0QxNuzx9.mjs → DhXTTl8_kMjearig.mjs} +1 -1
  52. package/browser/esm/Dp2cNfLOjOTs8V8x.mjs +267 -0
  53. package/browser/esm/{D4FRExfK7RsdS08S.mjs → Dvjjsols1lZ1qITL.mjs} +1 -1
  54. package/browser/esm/{CHm8-sLarqD1--If.mjs → M-Rp0gM6kZb12Kim.mjs} +1 -1
  55. package/browser/esm/index.mjs +1075 -299
  56. package/browser/esm/{DcUtMgA17fh_UJlQ.mjs → mBFrzCJis1-EVKL7.mjs} +1 -1
  57. package/browser/esm/{CuysyoZ-rmDHwaJJ.mjs → p4Q_TpZ_s60_L7Ux.mjs} +1 -1
  58. package/browser/esm/{Cf855AHLcB7WuFr3.mjs → s1DZ7iQHOb3R9G7m.mjs} +2 -2
  59. package/browser/esm/v2EnJ1fOZEXqAVlO.mjs +94 -0
  60. package/browser/esm/{Dd6iR6EeV81idc-J.mjs → z7Sn4ncaTwiv23Fv.mjs} +4 -4
  61. package/licenses/dependencies.txt +33 -33
  62. package/node/esm/{sHdUrEwlYxyLkkL6.mjs → 9pdLzab-4aEax8pG.mjs} +3 -3
  63. package/node/esm/{Bp6WSG8tmXefxSlk.mjs → B16pFUEecGy6x7Sf.mjs} +2 -2
  64. package/node/esm/{CCy_wcDWd9xbQnyM.mjs → B47JoJYzEtS6ivoC.mjs} +1 -1
  65. package/node/esm/{Jp--thwzf0FSnHTH.mjs → B90Z94PB2O0Upt5h.mjs} +1 -1
  66. package/node/esm/{CD-S0_rfDY5u82_A.mjs → BB5L5Y9qCXXDTqg-.mjs} +1 -1
  67. package/node/esm/{D1XvISMVj1HimOTS.mjs → BUzCcr3jpBtj-9vH.mjs} +13 -13
  68. package/node/esm/{BzLnWJ1JhLnookTH.mjs → BdiSsEIgA0Pvd6bN.mjs} +1 -1
  69. package/node/esm/{lhMHEjzlz63h_qU0.mjs → BjEZxA3zF89uf47R.mjs} +188 -188
  70. package/node/esm/{DMfK0wa8UHeJyxii.mjs → BjwbCQEJ3tllXtIc.mjs} +340 -335
  71. package/node/esm/{CA2iwgwOkAwRJU9j.mjs → Bkeg-KR5CHgIgCHZ.mjs} +1 -1
  72. package/node/esm/{DJuEU0TbZXyTnThP.mjs → BpJ0H2dpKtg21Mtw.mjs} +3 -3
  73. package/node/esm/{r8bpi-MSpulvmozZ.mjs → BulNRuKygH0oLixF.mjs} +1 -1
  74. package/node/esm/{CQd5k9d0BWpU8yCQ.mjs → CASMs7A6E_qrcIMk.mjs} +1 -1
  75. package/node/esm/{D2ZUCui3Xosjj66H.mjs → CDbGB8TtNQhkBXqI.mjs} +1 -1
  76. package/node/esm/{Cb0TicO5Utg9e5Qy.mjs → CF7peiUJfmOOPRFn.mjs} +1 -1
  77. package/node/esm/{BINV_bzMi8YLqzor.mjs → CGZ_p4-_DZzlvhMG.mjs} +2 -2
  78. package/node/esm/{BWl0RjNZfoJvRX_2.mjs → CHaPiJTvsCR2Z3sC.mjs} +4 -4
  79. package/node/esm/{D71TbUFABfTixyiQ.mjs → CIAX0QoWY_xslYfv.mjs} +9 -9
  80. package/node/esm/{BrHbeFtSmaPq19cu.mjs → CPHJFMyFxjErRLvR.mjs} +2 -2
  81. package/node/esm/{akKdwInE4KLNjHQu.mjs → CY-1AXXWawiEXRDw.mjs} +3 -3
  82. package/node/esm/{DYRV7b1ZSbxrjcuA.mjs → CYP_F_suVtfwdtBl.mjs} +2 -2
  83. package/node/esm/{D9jTg0iWTubkisDB.mjs → ClDMRc2s0BBAKhHL.mjs} +5 -5
  84. package/node/esm/{Dm-skjfQUaumyQPp.mjs → D7-QWEykZGrgV_xs.mjs} +18 -18
  85. package/node/esm/{BySbwlaepgugcINA.mjs → D9Wle8u7Cs7tigPT.mjs} +4 -4
  86. package/node/esm/{DHiJ5D_q7YVsClMf.mjs → DCDqfmTkvT0D2Z5h.mjs} +2 -2
  87. package/node/esm/DGzJYFzo02DBhqYC.mjs +14 -0
  88. package/node/esm/DN7uFaCytRrXMJpu.mjs +267 -0
  89. package/node/esm/{D7__y1LhVOR38yxz.mjs → DSAtnDj1sXUS0LYj.mjs} +1 -1
  90. package/node/esm/{5Kkr-d9gc7GsfmI5.mjs → DV5zGC0IZiv_lqwa.mjs} +1 -1
  91. package/node/esm/{BiVdQ27eA1Rs9liu.mjs → DhKvwk063hs0qEKD.mjs} +1 -1
  92. package/node/esm/{ClwmPxZc7Uh4nRcr.mjs → DiCErpAUUdV9xdwZ.mjs} +1 -1
  93. package/node/esm/{DvN4Z2Hx4Es0sdaK.mjs → Dp-aLdsFlu4Aw1Li.mjs} +4 -4
  94. package/node/esm/{B6YmbuWU-fHrjOnB.mjs → DqZ4g3pHAK7bKVvG.mjs} +1 -1
  95. package/node/esm/DssxcB0PnN-PgzzK.mjs +94 -0
  96. package/node/esm/{axzlGUKK8euccdja.mjs → DzwUDrXp4uuQ6bv0.mjs} +2 -2
  97. package/node/esm/{C-Y0ELSBNT5h6V0l.mjs → _gNQ05R589In7vSm.mjs} +3 -3
  98. package/node/esm/{BGWb71anMM4S4UTg.mjs → e_kM3nD2aaiphEoS.mjs} +22 -22
  99. package/node/esm/{a69xG_vSg2OC9_22.mjs → i0R7voLYNUjkbop2.mjs} +1 -1
  100. package/node/esm/index.mjs +4827 -3799
  101. package/node/esm/{DN2KKVrC1ye0mldi.mjs → viu5OtK-dXOIQdlG.mjs} +1 -1
  102. package/package.json +9 -9
  103. package/resources/contents.json +6 -0
  104. package/resources/locales/contents.json +14 -0
  105. package/resources/locales/de/groups.cmd.json +29 -0
  106. package/resources/locales/de/ui.msg.json +48 -0
  107. package/resources/locales/de/workbookAnomalies.cmd.json +14 -0
  108. package/resources/locales/en/groups.cmd.json +29 -0
  109. package/resources/locales/en/ui.msg.json +48 -0
  110. package/resources/locales/en/workbookAnomalies.cmd.json +14 -0
  111. package/types/src/anomalies/AnomaliesCommands.d.ts +8 -0
  112. package/types/src/anomalies/AnomaliesMessages.d.ts +30 -0
  113. package/types/src/anomalies/AnomaliesPlugin.d.ts +9 -2
  114. package/types/src/anomalies/_source.d.ts +7 -0
  115. package/types/src/chart/ChartPlugin.d.ts +1 -1
  116. package/types/src/command/ColorCommandButton.d.ts +5 -0
  117. package/types/src/comments/CommentsPlugin.d.ts +1 -1
  118. package/types/src/conditionalFormat/ConditionalFormatPlugin.d.ts +1 -1
  119. package/types/src/dataValidation/DataValidationPlugin.d.ts +1 -1
  120. package/types/src/dialog/SparklineEditDialog.d.ts +10 -0
  121. package/types/src/dialog/SparklineNewDialog.d.ts +23 -0
  122. package/types/src/externalLink/ExternalLinksPlugin.d.ts +1 -1
  123. package/types/src/format/FormatPlugin.d.ts +1 -6
  124. package/types/src/formulaBar/IFormulaBar.d.ts +17 -1
  125. package/types/src/formulaBar/MobileFormulaBar.d.ts +11 -2
  126. package/types/src/index.d.ts +1 -0
  127. package/types/src/named/NamedPlugin.d.ts +1 -1
  128. package/types/src/picture/PicturePlugin.d.ts +1 -1
  129. package/types/src/pivot/PivotPlugin.d.ts +1 -1
  130. package/types/src/presence/PresenceOverlay.d.ts +14 -0
  131. package/types/src/presence/PresencePlugin.d.ts +31 -0
  132. package/types/src/presence/PresenceStrip.d.ts +22 -0
  133. package/types/src/presence/PresenceTaskPane.d.ts +13 -0
  134. package/types/src/presence/Timeline.d.ts +29 -0
  135. package/types/src/presence/index.d.ts +5 -0
  136. package/types/src/protection/ProtectionPlugin.d.ts +1 -1
  137. package/types/src/shape/ShapePlugin.d.ts +1 -1
  138. package/types/src/slicer/SlicerPlugin.d.ts +1 -1
  139. package/types/src/studio/StudioProps.d.ts +16 -9
  140. package/types/src/studio/useStudioApp.d.ts +6 -0
  141. package/types/src/table/TablePlugin.d.ts +1 -1
  142. package/browser/esm/Dd8j9U2Vlvrue2LA.mjs +0 -212
  143. package/node/esm/CyxhIZwqwx_Kt70P.mjs +0 -212
@@ -1,37 +1,37 @@
1
1
  (function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`._sheetxl-reset_11z3j_1{margin:0;padding:0;line-height:1;display:block}._sheetxl-reset_11z3j_1 table,._sheetxl-reset_11z3j_1 thead,._sheetxl-reset_11z3j_1 tbody,._sheetxl-reset_11z3j_1 tfoot,._sheetxl-reset_11z3j_1 tr,._sheetxl-reset_11z3j_1 th,._sheetxl-reset_11z3j_1 td{border-collapse:inherit;border-spacing:0;border:none;border-color:inherit;width:auto;height:auto;vertical-align:inherit;text-align:left;font-weight:inherit;-webkit-border-horizontal-spacing:0;-webkit-border-vertical-spacing:0;margin:0;padding:0;display:block}._sheetxl-reset_11z3j_1 th,._sheetxl-reset_11z3j_1 td{display:inline}html{color:initial}._stats-items_151a8_1{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:2px;min-width:0;max-height:1rem;display:flex;overflow:hidden}._stats-item_151a8_1{flex-shrink:0}._stats-item-label_151a8_15{user-select:none;white-space:nowrap;cursor:pointer;border-radius:2px;align-items:center;gap:4px;padding:0 4px;transition:background-color .2s;display:flex}._stats-item-label_151a8_15:hover{background-color:#0000000a}._stats-item-label_151a8_15:active{background-color:#00000014}._formula-bar_uer84_1{flex-direction:row;flex:100%;align-items:start;display:flex}._details-panel_mdq6z_1{box-sizing:border-box;background:0 0;flex-direction:column;flex:auto;align-items:stretch;width:100%;height:100%;display:flex;overflow:hidden}._editor_mdq6z_13{flex-direction:column;height:100%;display:flex}._editor-panel_mdq6z_19{flex-direction:column;display:flex}._editor-buttons_mdq6z_24{justify-content:flex-end;display:flex}._card_mdq6z_29{flex-direction:column;display:flex}._table-style-options-container_1kfn2_1{container-type:inline-size}._table-style-options_1kfn2_1{user-select:none;grid-template-columns:1fr;display:grid;@container (width>600px){grid-template-rows:repeat(3,auto);grid-auto-columns:1fr;grid-auto-flow:column;gap:2px}}._range-row_1yps2_1{flex-direction:column;flex:100%;align-items:center;row-gap:8px;width:100%;display:flex;@container (width>600px){flex-direction:row;justify-content:space-between;gap:12px}}._action-row_1yps2_17{flex-direction:column;align-items:start;gap:4px;width:100%;display:flex;@container (width>600px){flex-direction:row;justify-content:space-evenly;align-items:center}}._card_h0jnt_7{width:100%}._actionRoot_h0jnt_11{justify-content:space-between;padding:8px 8px 8px 16px}._icons_h0jnt_16{align-items:center;margin-left:auto;display:flex}._expand_h0jnt_22{color:var(--sxl-color-error-content);padding:8px;transition:all .2s ease-in-out;transform:rotate(0)}._expandOpen_h0jnt_29{transform:rotate(180deg)}._stackTraceContainer_h0jnt_33{padding:16px}._paper_h0jnt_37{background-color:#fff;padding:16px}._checkIcon_h0jnt_42{padding-right:4px;font-size:20px}._button_h0jnt_47{text-transform:none;padding:0}._styled-resizer_fdl5y_3{background-color:var(--sxl-color-neutral,grey)}._styled-resizer_fdl5y_3:hover,.splitPane.dragging ._styled-resizer_fdl5y_3{background-color:var(--sxl-color-primary,blue)}/*$vite$:1*/`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();
2
2
  /**
3
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.17
3
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.19
4
4
  *
5
5
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
6
6
  * License: MIT
7
7
  */
8
- import { $ as e, A as t, At as n, B as r, C as i, Ct as a, D as o, Dt as s, E as c, Et as l, F as u, G as d, H as f, I as p, J as m, K as h, L as g, M as _, N as v, O as y, Ot as b, P as x, Q as S, R as C, S as w, St as T, T as E, Tt as D, U as O, V as k, W as A, X as j, Y as M, Z as N, _ as P, _t as F, a as ee, at as te, b as I, bt as ne, c as re, ct as L, d as ie, dt as ae, et as oe, f as se, ft as ce, g as le, gt as ue, h as de, ht as fe, i as pe, it as me, j as he, jt as ge, k as _e, kt as ve, l as ye, lt as be, m as xe, mt as Se, n as Ce, nt as we, o as Te, ot as Ee, p as De, pt as Oe, q as ke, r as Ae, rt as je, s as Me, tt as Ne, u as Pe, ut as Fe, v as Ie, vt as Le, w as Re, wt as ze, x as Be, xt as Ve, y as He, yt as Ue, z as We } from "./B2LvYLt27hzoarA9.mjs";
9
- import { c as Ge, i as Ke, l as qe, n as Je, o as Ye, r as Xe, s as Ze, t as Qe } from "./DmBu6kgMNT26tmsZ.mjs";
10
- import { t as $e } from "./ChORBNItvZW0e8Nb.mjs";
11
- import { a as et } from "./cNsbq0TIia7SdBHP.mjs";
12
- import { t as R } from "./BxHaU8-LCw4IHrDn.mjs";
13
- import { n as tt, r as nt, t as rt } from "./_PlChb18jQMPAKJX.mjs";
14
- import { a as it, i as at, r as ot } from "./BNfIFd07bhGqs-U9.mjs";
15
- import { a as st, n as ct, t as lt } from "./CMIM0wPs_KvfwLEl.mjs";
16
- import { t as ut } from "./BkABsPS9qbyYS2i7.mjs";
17
- import { n as dt, t as ft } from "./W5Rvml-3G4XekwoR.mjs";
18
- import { t as pt } from "./DxFw-07oIjr7GRb3.mjs";
19
- import { n as mt, r as ht, t as gt } from "./DK39s_Fn9M22RfJm.mjs";
20
- import { a as _t, i as vt, n as yt, o as bt, r as xt, t as St } from "./0FLmtunmoRFjO-dk.mjs";
21
- import { t as Ct } from "./Bh1YkrKuSZs-xdlw.mjs";
22
- import { t as wt } from "./D4FRExfK7RsdS08S.mjs";
23
- import { Color as z, IFill as B, LicenseManager as Tt, LicenseManager as Et } from "@sheetxl/sdk";
24
- import { DefaultTaskPaneRegistry as Dt, ThemeStateDefaults as Ot, ThemeStateKey as kt, WorkbookIO as At, WorkbookIO as jt, setPrintExamplesOnLoad as Mt, useInputField as Nt, useModelListener as Pt, useRangeListener as Ft, useWindowChrome as It, useWorkbook as Lt, useWorkbookFormat as Rt, useWorkbookName as zt } from "@sheetxl/react";
25
- import { CommandButtonType as Bt, DynamicIcon as V, RenderSlot as Vt, createThemeScopeClass as Ht, lazyComponent as Ut, useCallbackRef as H, useCommandButtonEntry as Wt, useCommandButtonRegistry as Gt, useCommands as Kt, useFloatStack as qt, useLocationSearch as Jt, usePersistentState as Yt, useResolvedThemeMode as Xt, useTextSelectionDrag as Zt, useTranslator as U } from "@sheetxl/utils-react";
26
- import { Suspense as Qt, createElement as $t, forwardRef as en, memo as W, useCallback as tn, useEffect as G, useId as nn, useImperativeHandle as rn, useLayoutEffect as an, useMemo as K, useRef as q, useState as J } from "react";
27
- import { CommandButton as Y, CommandGroup as on, CommandPopupButton as sn, ExhibitDivider as cn, ExhibitIconButton as X, ExhibitPopupIconButton as ln, ExhibitTooltip as un, LabelIcon as dn, LazyLoadErrorPanel as fn, SimpleTooltip as pn, defaultRenderPopupPanel as mn, renderMembers as hn } from "@sheetxl/utils-mui";
28
- import { Fragment as gn, jsx as Z, jsxs as Q } from "react/jsx-runtime";
29
- import { Box as $, FormControl as _n, InputAdornment as vn, InputLabel as yn, MenuItem as bn, Paper as xn, Select as Sn, TextField as Cn, Typography as wn, useMediaQuery as Tn, useTheme as En } from "@mui/material";
30
- import { defineLazyModule as Dn } from "@sheetxl/utils";
31
- var On = (e) => {
8
+ import { $ as e, A as t, At as n, B as r, C as i, Ct as a, D as o, Dt as s, E as c, Et as l, F as u, G as d, H as f, I as p, J as m, K as h, L as g, M as _, N as v, O as y, Ot as b, P as x, Q as S, R as C, S as w, St as T, T as E, Tt as D, U as O, V as k, W as A, X as j, Y as M, Z as N, _ as P, _t as ee, a as te, at as ne, b as F, bt as re, c as ie, ct as I, d as ae, dt as oe, et as se, f as ce, ft as le, g as ue, gt as de, h as fe, ht as pe, i as me, it as he, j as ge, jt as _e, k as ve, kt as ye, l as be, lt as xe, m as Se, mt as Ce, n as we, nt as Te, o as Ee, ot as De, p as Oe, pt as ke, q as Ae, r as je, rt as Me, s as Ne, tt as Pe, u as Fe, ut as Ie, v as Le, vt as Re, w as ze, wt as Be, x as Ve, xt as He, y as Ue, yt as We, z as Ge } from "./BhHlzIhnBJqfHSKP.mjs";
9
+ import { c as Ke, i as qe, l as Je, n as Ye, o as Xe, r as Ze, s as Qe, t as $e } from "./Bkw1PteOYKjHz41s.mjs";
10
+ import { t as et } from "./BBbQjMATTPG16Lr9.mjs";
11
+ import { a as tt } from "./DJTesgYNvoQv2Obl.mjs";
12
+ import { t as L } from "./CdFz-uXCDYgv_iOM.mjs";
13
+ import { n as nt, r as rt, t as it } from "./C8FnFcYHBHv7mRsK.mjs";
14
+ import { a as at, i as ot, r as st } from "./CUi2AR-pqVbpTLq4.mjs";
15
+ import { a as ct, n as lt, t as ut } from "./Bece9zSczcJRj6iF.mjs";
16
+ import { t as dt } from "./BCJ3o3M62lsBKbae.mjs";
17
+ import { n as ft, t as pt } from "./DM9uGmTSDdyoRyRM.mjs";
18
+ import { t as mt } from "./BlE9-hSf71ZoAM0M.mjs";
19
+ import { n as ht, r as gt, t as _t } from "./BjdZOM-UvDoJaYFo.mjs";
20
+ import { a as vt, i as yt, n as bt, o as xt, r as St, t as Ct } from "./DIC6M937GziE0_9l.mjs";
21
+ import { t as wt } from "./CDuVmLEi65HzZ-mo.mjs";
22
+ import { t as Tt } from "./Dvjjsols1lZ1qITL.mjs";
23
+ import { Color as Et, IFill as R, LicenseManager as Dt, LicenseManager as Ot } from "@sheetxl/sdk";
24
+ import { DEFAULT_ANNOTATION_STYLES as kt, DefaultSheetLayersRegistry as At, DefaultTaskPaneRegistry as jt, DefaultTaskPaneRegistry as Mt, PRESENCE_ICON as Nt, PRESENCE_PANE_KEY as Pt, PRESENCE_PIN_ICON as Ft, PresenceCommandKeys as It, PresenceMessages as z, PresenceStore as Lt, RangeAnnotationLayer as Rt, ThemeStateDefaults as zt, ThemeStateKey as Bt, WorkbookIO as Vt, WorkbookIO as Ht, createPresenceCommands as Ut, getRangeAnnotationState as Wt, isWalkedIntent as Gt, registerPresenceCommandChrome as Kt, setPrintExamplesOnLoad as qt, useInputField as Jt, useModelListener as Yt, usePresenceCommits as Xt, usePresenceSnapshot as Zt, useRangeListener as Qt, useWindowChrome as $t, useWorkbook as en, useWorkbookFormat as tn, useWorkbookName as nn } from "@sheetxl/react";
25
+ import { Command as rn, CommandButtonType as an, DynamicIcon as B, RenderSlot as on, ThemeModeFallbackContext as sn, createThemeScopeClass as cn, lazyComponent as ln, useCallbackRef as V, useCommandButtonEntry as un, useCommandButtonRegistry as dn, useCommands as fn, useFloatStack as pn, useLocationSearch as mn, usePersistentState as hn, useResolvedThemeMode as gn, useTextSelectionDrag as _n, useTranslator as H } from "@sheetxl/utils-react";
26
+ import vn, { Suspense as yn, createElement as U, forwardRef as bn, memo as W, useCallback as xn, useEffect as G, useId as Sn, useImperativeHandle as Cn, useLayoutEffect as wn, useMemo as K, useRef as q, useState as J } from "react";
27
+ import { CommandButton as Y, CommandGroup as Tn, CommandPopupButton as En, ExhibitDivider as Dn, ExhibitIconButton as On, ExhibitPopupIconButton as kn, ExhibitTooltip as An, LabelIcon as jn, LazyLoadErrorPanel as Mn, SimpleTooltip as Nn, defaultRenderPopupPanel as Pn, renderMembers as Fn } from "@sheetxl/utils-mui";
28
+ import { Fragment as X, jsx as Z, jsxs as Q } from "react/jsx-runtime";
29
+ import { Box as $, Button as In, ButtonBase as Ln, Collapse as Rn, FormControl as zn, InputAdornment as Bn, InputLabel as Vn, Link as Hn, List as Un, ListItem as Wn, ListItemButton as Gn, ListItemText as Kn, MenuItem as qn, Paper as Jn, Select as Yn, Tab as Xn, Tabs as Zn, TextField as Qn, Typography as $n, useMediaQuery as er, useTheme as tr } from "@mui/material";
30
+ import { defineLazyModule as nr, t as rr } from "@sheetxl/utils";
31
+ var ir = (e) => {
32
32
  e.button === 0 && e.preventDefault();
33
- }, kn = W(en((e, t) => {
34
- let { disabled: n, className: r, sx: i, defaultInput: a, value: o, formName: s, formOptions: c, onChangeInput: l, onChangeText: u, onDone: d, changeOn: f, onValidate: p, apiRef: m, label: h, helperText: g, showError: _ = !0, onChangeError: v, hideAdornment: y, propsInput: b, onKeyDown: x, onFocus: S, ...C } = e, w = U(), T = Zt(), E = h ?? w("namedInput.label"), D = ut(), O = s && D ? D.register(s, c) : null, k = Nt({
33
+ }, ar = W(bn((e, t) => {
34
+ let { disabled: n, className: r, sx: i, defaultInput: a, value: o, formName: s, formOptions: c, onChangeInput: l, onChangeText: u, onDone: d, changeOn: f, onValidate: p, apiRef: m, label: h, helperText: g, showError: _ = !0, onChangeError: v, hideAdornment: y, propsInput: b, onKeyDown: x, onFocus: S, ...C } = e, w = H(), T = _n(), E = h ?? w("namedInput.label"), D = dt(), O = s && D ? D.register(s, c) : null, k = Jt({
35
35
  value: o ?? "",
36
36
  onChange: l,
37
37
  onChangeText: u,
@@ -40,7 +40,7 @@ var On = (e) => {
40
40
  onValidate: p,
41
41
  disabled: n
42
42
  });
43
- rn(m, () => k, [k]);
43
+ Cn(m, () => k, [k]);
44
44
  let A = q(D);
45
45
  A.current = D;
46
46
  let j = q(v);
@@ -51,10 +51,10 @@ var On = (e) => {
51
51
  let e = A.current;
52
52
  e && (k.error ? e.setError(s, { message: w(k.error) }) : e.clearErrors(s));
53
53
  }, [k.error, s]);
54
- let N = f === "done", P = k.engaged && k.dirty, F = K(() => {
55
- if (!y && N) return Q(vn, {
54
+ let N = f === "done", P = k.engaged && k.dirty, ee = K(() => {
55
+ if (!y && N) return Q(Bn, {
56
56
  tabIndex: -1,
57
- onMouseDown: On,
57
+ onMouseDown: ir,
58
58
  "aria-hidden": !P,
59
59
  sx: {
60
60
  display: "flex",
@@ -66,34 +66,34 @@ var On = (e) => {
66
66
  }
67
67
  },
68
68
  position: "end",
69
- children: [Z(X, {
69
+ children: [Z(On, {
70
70
  dense: !0,
71
71
  outlined: !1,
72
72
  color: "primary",
73
73
  "aria-label": "commit-input",
74
- icon: Z(V, { iconKey: "CheckSuccess" }),
74
+ icon: Z(B, { iconKey: "CheckSuccess" }),
75
75
  propsTooltip: {
76
76
  label: w("referenceInput.commit"),
77
77
  simple: !0
78
78
  },
79
79
  disabled: !!k.error,
80
80
  tabIndex: -1,
81
- onMouseDown: On,
81
+ onMouseDown: ir,
82
82
  onClick: () => {
83
83
  k.commit();
84
84
  }
85
- }), Z(X, {
85
+ }), Z(On, {
86
86
  dense: !0,
87
87
  outlined: !1,
88
88
  color: "warning",
89
89
  "aria-label": "cancel-input",
90
- icon: Z(V, { iconKey: "CloseError" }),
90
+ icon: Z(B, { iconKey: "CloseError" }),
91
91
  propsTooltip: {
92
92
  label: w("referenceInput.cancel"),
93
93
  simple: !0
94
94
  },
95
95
  tabIndex: -1,
96
- onMouseDown: On,
96
+ onMouseDown: ir,
97
97
  onClick: () => {
98
98
  k.cancel();
99
99
  }
@@ -107,7 +107,7 @@ var On = (e) => {
107
107
  k.cancel,
108
108
  !!k.error
109
109
  ]);
110
- return Z(_n, {
110
+ return Z(zn, {
111
111
  sx: {
112
112
  minWidth: 135,
113
113
  width: "100%",
@@ -115,9 +115,9 @@ var On = (e) => {
115
115
  },
116
116
  size: "small",
117
117
  ref: t,
118
- className: R("sxl-input-field", r),
118
+ className: L("sxl-input-field", r),
119
119
  ...C,
120
- children: Z(Cn, {
120
+ children: Z(Qn, {
121
121
  label: E,
122
122
  placeholder: a,
123
123
  disabled: n,
@@ -125,7 +125,7 @@ var On = (e) => {
125
125
  helperText: k.error && _ ? w(k.error) : g === void 0 ? " " : g,
126
126
  sx: { "& .MuiFormHelperText-root": { marginTop: (e) => e.spacing(.5) } },
127
127
  slotProps: {
128
- input: { endAdornment: F },
128
+ input: { endAdornment: ee },
129
129
  inputLabel: { shrink: !0 },
130
130
  htmlInput: {
131
131
  spellCheck: !1,
@@ -133,7 +133,7 @@ var On = (e) => {
133
133
  onPointerDown: T.onPointerDown,
134
134
  onDragStart: T.onDragStart,
135
135
  ...b,
136
- className: R("autoFocus", b?.className),
136
+ className: L("autoFocus", b?.className),
137
137
  name: s,
138
138
  readOnly: n,
139
139
  sx: {
@@ -164,40 +164,40 @@ var On = (e) => {
164
164
  })
165
165
  });
166
166
  }));
167
- kn.displayName = "InputField";
168
- var An = W(en((e, t) => {
169
- let { groupKey: n = "workbook", disabled: r, ...i } = e, [a, o] = J([]), s = jt.canWrite(), c = jt.canRead();
167
+ ar.displayName = "InputField";
168
+ var or = W(bn((e, t) => {
169
+ let { groupKey: n = "workbook", disabled: r, ...i } = e, [a, o] = J([]), s = Ht.canWrite(), c = Ht.canRead();
170
170
  G(() => {
171
171
  let e = !0;
172
- return jt.getWriteFormats().then((t) => {
172
+ return Ht.getWriteFormats().then((t) => {
173
173
  e && o(t);
174
174
  }), () => {
175
175
  e = !1;
176
176
  };
177
177
  }, []);
178
- let l = Lt(), u = Rt(l), d = K(() => {
178
+ let l = en(), u = tn(l), d = K(() => {
179
179
  if (a.length === 0) return null;
180
180
  let e = u?.toLowerCase();
181
181
  return (e ? a.find((t) => t.key.toLowerCase() === e) ?? a.find((t) => t.exts?.some((t) => t.toLowerCase() === e)) : void 0) ?? a.find((e) => e.exts?.some((e) => e.toLowerCase() === "sxl")) ?? a.find((e) => !e.advanced) ?? a[0];
182
- }, [a, u]), [f] = Kt(d ? `saveWorkbookAs${d.key}` : []), p = Gt(), m = p.resolveMembers("newWorkbookOptions") ?? ["newWorkbook"], h = H((e) => {
182
+ }, [a, u]), [f] = fn(d ? `saveWorkbookAs${d.key}` : []), p = dn(), m = p.resolveMembers("newWorkbookOptions") ?? ["newWorkbook"], h = V((e) => {
183
183
  let t = {
184
- variant: Bt.Menuitem,
184
+ variant: an.Menuitem,
185
185
  groupKey: n,
186
186
  disabled: r
187
- }, i = Q(gn, { children: [
188
- m.length > 1 ? Z(sn, {
187
+ }, i = Q(X, { children: [
188
+ m.length > 1 ? Z(En, {
189
189
  ...t,
190
190
  quickCommand: "newWorkbook",
191
191
  renderPopupPanel: (e) => {
192
- let t = hn(m, {
193
- variant: Bt.Menuitem,
192
+ let t = Fn(m, {
193
+ variant: an.Menuitem,
194
194
  dividerOrientation: "horizontal",
195
195
  groupKey: "newWorkbookOptions",
196
196
  registry: p,
197
197
  propsCommandButton: { disabled: r },
198
198
  propsCommandPopup: { disabled: r }
199
199
  });
200
- return mn({
200
+ return Pn({
201
201
  ...e,
202
202
  children: t,
203
203
  onClick: () => {
@@ -209,24 +209,24 @@ var An = W(en((e, t) => {
209
209
  ...t,
210
210
  commandKey: "newWorkbook"
211
211
  }),
212
- Z(cn, { orientation: "horizontal" }),
213
- c ? Z(sn, {
212
+ Z(Dn, { orientation: "horizontal" }),
213
+ c ? Z(En, {
214
214
  ...t,
215
215
  quickCommand: "openWorkbook",
216
216
  renderPopupPanel: (e) => {
217
217
  let n = {
218
218
  ...t,
219
219
  groupKey: "openWorkbookOptions"
220
- }, r = [$t(Y, {
220
+ }, r = [U(Y, {
221
221
  ...n,
222
222
  key: "device",
223
223
  commandKey: "openWorkbook"
224
- }), $t(Y, {
224
+ }), U(Y, {
225
225
  ...n,
226
226
  key: "web",
227
227
  commandKey: "openWorkbookFromUrl"
228
228
  })];
229
- return mn({
229
+ return Pn({
230
230
  ...e,
231
231
  children: r,
232
232
  onClick: () => {
@@ -235,28 +235,28 @@ var An = W(en((e, t) => {
235
235
  });
236
236
  }
237
237
  }) : null,
238
- s && a.length > 0 ? Z(sn, {
238
+ s && a.length > 0 ? Z(En, {
239
239
  ...t,
240
240
  quickCommand: "saveWorkbook",
241
241
  renderPopupPanel: (e) => {
242
242
  let n = {
243
243
  ...t,
244
244
  groupKey: "saveWorkbookOptions"
245
- }, r = [$t(Y, {
245
+ }, r = [U(Y, {
246
246
  ...n,
247
247
  key: "saveWorkbookAs",
248
248
  commandKey: "saveWorkbookAs",
249
249
  label: f?.getLabel("saveWorkbookOptions"),
250
250
  icon: f?.getIcon("saveWorkbookOptions")
251
251
  })], i = a.filter((e) => !e.advanced && e.key !== d?.key);
252
- return i.length > 0 && r.push(Z(cn, { orientation: "horizontal" }, "divider")), i.forEach((e) => {
252
+ return i.length > 0 && r.push(Z(Dn, { orientation: "horizontal" }, "divider")), i.forEach((e) => {
253
253
  let t = e.key, i = `saveWorkbookAs${t}`;
254
- r.push($t(Y, {
254
+ r.push(U(Y, {
255
255
  ...n,
256
256
  key: t,
257
257
  commandKey: i
258
258
  }));
259
- }), mn({
259
+ }), Pn({
260
260
  ...e,
261
261
  children: r,
262
262
  onClick: () => {
@@ -266,7 +266,7 @@ var An = W(en((e, t) => {
266
266
  }
267
267
  }) : null
268
268
  ] });
269
- return mn({
269
+ return Pn({
270
270
  ...e,
271
271
  children: i,
272
272
  onClick: (t) => {
@@ -281,8 +281,8 @@ var An = W(en((e, t) => {
281
281
  f,
282
282
  m,
283
283
  p
284
- ]), g = Wt("fileOptions"), _ = g?.getLabel?.() ?? "File", v = g?.getDescription?.() ?? "Options for saving and loading the workbook.";
285
- return Z(sn, {
284
+ ]), g = un("fileOptions"), _ = g?.getLabel?.() ?? "File", v = g?.getDescription?.() ?? "Options for saving and loading the workbook.";
285
+ return Z(En, {
286
286
  disabled: r,
287
287
  groupKey: n,
288
288
  label: _,
@@ -297,21 +297,21 @@ var An = W(en((e, t) => {
297
297
  },
298
298
  ...i,
299
299
  renderPopupPanel: h,
300
- icon: Z(dn, {
300
+ icon: Z(jn, {
301
301
  className: "label",
302
302
  icon: null,
303
303
  label: _
304
304
  })
305
305
  });
306
306
  }));
307
- An.displayName = "FileCommandButton";
308
- var jn = W(en((e, t) => {
309
- let { groupKey: n, disabled: r, ...i } = e, [a] = Kt(["themeMode"]), o = Wt("appearanceOptions"), s = H((e) => {
307
+ or.displayName = "FileCommandButton";
308
+ var sr = W(bn((e, t) => {
309
+ let { groupKey: n, disabled: r, ...i } = e, [a] = fn(["themeMode"]), o = un("appearanceOptions"), s = V((e) => {
310
310
  let t = {
311
- variant: Bt.Menuitem,
311
+ variant: an.Menuitem,
312
312
  groupKey: "appearanceOptions",
313
313
  disabled: r
314
- }, n = Q(gn, { children: [
314
+ }, n = Q(X, { children: [
315
315
  Z(Y, {
316
316
  ...t,
317
317
  commandKey: "themeMode"
@@ -320,7 +320,7 @@ var jn = W(en((e, t) => {
320
320
  ...t,
321
321
  commandKey: "defaultThemeMode"
322
322
  }),
323
- Z(cn, { orientation: "horizontal" }),
323
+ Z(Dn, { orientation: "horizontal" }),
324
324
  Z(Y, {
325
325
  ...t,
326
326
  commandKey: "enableDarkGrid"
@@ -330,7 +330,7 @@ var jn = W(en((e, t) => {
330
330
  commandKey: "enableDarkImages"
331
331
  })
332
332
  ] });
333
- return mn({
333
+ return Pn({
334
334
  ...e,
335
335
  children: n
336
336
  });
@@ -338,8 +338,8 @@ var jn = W(en((e, t) => {
338
338
  r,
339
339
  a,
340
340
  n
341
- ]), c = a?.getState(), l = Tn("(prefers-color-scheme: dark)"), u = c === "dark" || c === null && l, d = a?.getState() !== null;
342
- return Z(sn, {
341
+ ]), c = a?.getState(), l = er("(prefers-color-scheme: dark)"), u = c === "dark" || c === null && l, d = a?.getState() !== null;
342
+ return Z(En, {
343
343
  ref: t,
344
344
  quickCommand: "themeMode",
345
345
  renderPopupPanel: s,
@@ -351,16 +351,786 @@ var jn = W(en((e, t) => {
351
351
  selected: d,
352
352
  ...i
353
353
  });
354
- })), Mn = W(en((e, t) => {
354
+ })), cr = W(bn((e, t) => {
355
355
  let { ...n } = e;
356
- return Z(on, {
356
+ return Z(Tn, {
357
357
  ref: t,
358
358
  groupKey: "insertFunctionSumOptions",
359
359
  ...n
360
360
  });
361
361
  }));
362
- function Nn(e, t, n) {
363
- return e === B.BuiltInSheetPattern.Solid ? {
362
+ cr.displayName = "InsertFunctionSumCommandPopupButton";
363
+ var lr = 20, ur = kt.working.chip, dr = "sxl-agent-strip-style";
364
+ function fr() {
365
+ if (typeof document > "u" || document.getElementById(dr)) return;
366
+ let e = document.createElement("style");
367
+ e.id = dr, e.textContent = `@keyframes sxl-agent-pulse { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.25); opacity: 0; } }\n@keyframes sxl-agent-working { 0%, 60% { border-color: ${ur}; } 30% { border-color: transparent; } }`, document.head.appendChild(e);
368
+ }
369
+ var pr = ({ activity: e, children: t }) => {
370
+ fr();
371
+ let n = tr(), [r, i] = J(0), a = q(e), o = q(0), s = q(null);
372
+ return G(() => {
373
+ if (e === a.current) return;
374
+ let t = Date.now(), n = t - o.current > 3e3;
375
+ o.current = t, n && (i(e), s.current && clearTimeout(s.current), s.current = setTimeout(() => i(0), 1400));
376
+ }, [e]), G(() => () => {
377
+ s.current && clearTimeout(s.current);
378
+ }, []), Z($, {
379
+ sx: {
380
+ display: "flex",
381
+ alignItems: "center"
382
+ },
383
+ children: Q($, {
384
+ sx: {
385
+ position: "relative",
386
+ display: "flex",
387
+ alignItems: "center"
388
+ },
389
+ children: [r ? Z("span", {
390
+ "aria-hidden": !0,
391
+ style: {
392
+ position: "absolute",
393
+ inset: 0,
394
+ borderRadius: 6,
395
+ pointerEvents: "none",
396
+ border: `2px solid ${n.palette.primary.main}`,
397
+ animation: "sxl-agent-pulse 1400ms ease-out"
398
+ }
399
+ }, r) : null, t]
400
+ })
401
+ });
402
+ }, mr = {
403
+ tabIndex: -1,
404
+ onMouseDown: (e) => {
405
+ e.button === 0 && e.preventDefault();
406
+ },
407
+ disableRipple: !0
408
+ }, hr = {
409
+ width: lr,
410
+ height: lr,
411
+ padding: 0,
412
+ borderRadius: "50%",
413
+ "& .MuiTouchRipple-child": { borderRadius: "50% !important" }
414
+ }, gr = {
415
+ height: lr,
416
+ lineHeight: 1,
417
+ borderRadius: "10px"
418
+ }, _r = ({ title: e, iconKey: t, onClick: n, disabled: r, selected: i }) => Z(On, {
419
+ dense: !0,
420
+ ...mr,
421
+ "aria-label": e,
422
+ icon: Z(B, {
423
+ iconKey: t,
424
+ size: 16
425
+ }),
426
+ propsTooltip: { label: e },
427
+ disabled: r,
428
+ selected: i,
429
+ onClick: n,
430
+ sx: hr
431
+ }), vr = ({ open: e, max: t, className: n, children: r }) => Z($, {
432
+ className: n,
433
+ inert: !e,
434
+ sx: {
435
+ display: "flex",
436
+ justifyContent: "flex-end",
437
+ overflow: "hidden",
438
+ height: 24,
439
+ alignItems: "center",
440
+ maxWidth: e ? t : 0,
441
+ opacity: +!!e,
442
+ transition: "max-width 0.25s ease, opacity 0.2s ease"
443
+ },
444
+ children: Z($, {
445
+ sx: {
446
+ display: "flex",
447
+ alignItems: "center",
448
+ gap: .25,
449
+ flex: "0 0 auto"
450
+ },
451
+ children: r
452
+ })
453
+ }), yr = ({ store: e }) => {
454
+ fr();
455
+ let t = Zt(e), n = H(), [r, i] = J(!1), [a, o] = J(!1), s = q(null), { status: c, navigable: l, position: u, needsAttention: d, working: f } = t, p = l.length, m = p > 0 && (r || a), h = m || p > 0 || d || !!f;
456
+ return G(() => {
457
+ p === 0 && i(!1);
458
+ }, [p]), G(() => () => {
459
+ s.current && clearTimeout(s.current);
460
+ }, []), Q($, {
461
+ className: "sxl-agent-strip",
462
+ sx: {
463
+ display: "flex",
464
+ alignItems: "center",
465
+ height: 28,
466
+ pr: .5
467
+ },
468
+ children: [Q($, {
469
+ className: "sxl-agent-pill",
470
+ onMouseEnter: () => {
471
+ s.current && clearTimeout(s.current), s.current = null, o(!0);
472
+ },
473
+ onMouseLeave: () => {
474
+ s.current && clearTimeout(s.current), s.current = setTimeout(() => o(!1), 400);
475
+ },
476
+ sx: {
477
+ display: "flex",
478
+ alignItems: "center",
479
+ height: 26,
480
+ borderRadius: "13px",
481
+ px: h ? "3px" : 0,
482
+ mr: h ? .75 : 0,
483
+ backgroundColor: h ? "var(--sxl-color-elevated, var(--sxl-color-base-100))" : "transparent",
484
+ border: "1px solid",
485
+ borderColor: h ? "var(--sxl-color-elevated-border, transparent)" : "transparent",
486
+ animation: f ? "sxl-agent-working 1600ms ease-in-out infinite" : "none",
487
+ transition: "padding 0.25s ease, margin 0.25s ease, background-color 0.2s ease, border-color 0.2s ease"
488
+ },
489
+ children: [
490
+ Q(vr, {
491
+ className: "sxl-agent-navigator",
492
+ open: m,
493
+ max: 180,
494
+ children: [
495
+ Z(Nn, {
496
+ disableInteractive: !0,
497
+ title: n(z.goToCurrent),
498
+ children: Z(In, {
499
+ size: "small",
500
+ color: "inherit",
501
+ ...mr,
502
+ "aria-label": n(z.goToCurrent),
503
+ onClick: () => {
504
+ t.current ? e.goTo(t.current.id) : e.next();
505
+ },
506
+ sx: {
507
+ ...gr,
508
+ minWidth: 36,
509
+ py: 0,
510
+ px: .5,
511
+ fontSize: 12,
512
+ textTransform: "none",
513
+ fontVariantNumeric: "tabular-nums"
514
+ },
515
+ children: n(z.position, {
516
+ position: u || "–",
517
+ total: p
518
+ })
519
+ })
520
+ }),
521
+ Z(_r, {
522
+ title: n(z.previous),
523
+ iconKey: "ArrowUpward",
524
+ onClick: () => e.prev()
525
+ }),
526
+ Z(_r, {
527
+ title: n(z.next),
528
+ iconKey: "ArrowDownward",
529
+ onClick: () => e.next()
530
+ }),
531
+ Z(_r, {
532
+ title: n(z.dismiss),
533
+ iconKey: "Close",
534
+ disabled: !t.current,
535
+ onClick: () => e.dismissCurrent()
536
+ }),
537
+ Z(_r, {
538
+ title: n(r ? z.unpin : z.pin),
539
+ iconKey: Ft,
540
+ selected: r,
541
+ onClick: () => i(!r)
542
+ })
543
+ ]
544
+ }),
545
+ Z(vr, {
546
+ className: "sxl-agent-working",
547
+ open: !!f,
548
+ max: 30,
549
+ children: Z(Nn, {
550
+ disableInteractive: !0,
551
+ title: f ? n(z.working, { where: f.label ? `${f.label} (${f.range})` : f.range }) : "",
552
+ children: Z(Ln, {
553
+ ...mr,
554
+ "aria-label": n(z.working, { where: f ? f.label ?? f.range : "" }),
555
+ onClick: () => {
556
+ f && e.goTo(f.id);
557
+ },
558
+ sx: {
559
+ width: lr,
560
+ height: lr,
561
+ borderRadius: "50%"
562
+ },
563
+ children: Z($, {
564
+ component: "span",
565
+ sx: {
566
+ width: 8,
567
+ height: 8,
568
+ borderRadius: "50%",
569
+ backgroundColor: ur
570
+ }
571
+ })
572
+ })
573
+ })
574
+ }),
575
+ Z(vr, {
576
+ className: "sxl-agent-badge",
577
+ open: p > 0 && !m,
578
+ max: 60,
579
+ children: Z(In, {
580
+ size: "small",
581
+ color: "inherit",
582
+ ...mr,
583
+ "aria-label": n(z.findingsOpen, { count: p }),
584
+ onClick: () => {
585
+ t.current || e.next(), i(!0);
586
+ },
587
+ sx: {
588
+ ...gr,
589
+ minWidth: lr,
590
+ py: 0,
591
+ px: .5,
592
+ fontSize: 12,
593
+ fontWeight: 600,
594
+ fontVariantNumeric: "tabular-nums"
595
+ },
596
+ children: p
597
+ })
598
+ }),
599
+ Z(vr, {
600
+ className: "sxl-agent-attention",
601
+ open: d,
602
+ max: 30,
603
+ children: Z(Nn, {
604
+ disableInteractive: !0,
605
+ title: n(z.needsAttention),
606
+ children: Z($, {
607
+ component: "span",
608
+ role: "img",
609
+ "aria-label": n(z.needsAttention),
610
+ sx: {
611
+ display: "inline-flex",
612
+ px: .5,
613
+ color: "warning.main",
614
+ "& svg": {
615
+ width: 18,
616
+ height: 18
617
+ }
618
+ },
619
+ children: Z(B, { iconKey: "Help" })
620
+ })
621
+ })
622
+ })
623
+ ]
624
+ }), Z(pr, {
625
+ activity: c.activity,
626
+ children: Z(En, {
627
+ className: "sxl-agent-menu",
628
+ quickCommand: It.showPane,
629
+ renderPopupPanel: (e) => Pn({
630
+ ...e,
631
+ children: Q(X, { children: [Z(Y, {
632
+ variant: an.Menuitem,
633
+ commandKey: It.showPane
634
+ }), Z(Y, {
635
+ variant: an.Menuitem,
636
+ commandKey: It.clearFindings
637
+ })] })
638
+ })
639
+ })
640
+ })]
641
+ });
642
+ }, br = ({ className: e, children: t }) => Z(Un, {
643
+ dense: !0,
644
+ disablePadding: !0,
645
+ className: e ? `sxl-agent-timeline ${e}` : "sxl-agent-timeline",
646
+ sx: {
647
+ position: "relative",
648
+ "&::before": {
649
+ content: "\"\"",
650
+ position: "absolute",
651
+ left: 9,
652
+ top: 12,
653
+ bottom: 12,
654
+ width: 2,
655
+ borderRadius: 1,
656
+ bgcolor: "divider"
657
+ }
658
+ },
659
+ children: t
660
+ }), xr = (e) => {
661
+ let { dotColor: t, primary: n, secondary: r, actions: i, onClick: a, details: o, className: s } = e, [c, l] = J(!1), u = o != null, d = u ? () => l((e) => !e) : a, f = Q(X, { children: [
662
+ Z($, {
663
+ component: "span",
664
+ "aria-hidden": !0,
665
+ sx: {
666
+ position: "absolute",
667
+ left: 6,
668
+ top: 12,
669
+ width: 8,
670
+ height: 8,
671
+ borderRadius: "50%",
672
+ bgcolor: t
673
+ }
674
+ }),
675
+ Z(Kn, {
676
+ primary: n,
677
+ secondary: r,
678
+ sx: { my: 0 },
679
+ slotProps: {
680
+ primary: {
681
+ variant: "body2",
682
+ noWrap: !0
683
+ },
684
+ secondary: {
685
+ variant: "caption",
686
+ noWrap: !0,
687
+ sx: {
688
+ color: "text.disabled",
689
+ display: "block"
690
+ }
691
+ }
692
+ }
693
+ }),
694
+ u ? Z($, {
695
+ component: "span",
696
+ sx: {
697
+ display: "inline-flex",
698
+ color: "text.secondary",
699
+ ml: .5,
700
+ mt: .25
701
+ },
702
+ children: Z(B, {
703
+ iconKey: c ? "ExpandLess" : "ExpandMore",
704
+ size: 16,
705
+ ariaHidden: !0
706
+ })
707
+ }) : null
708
+ ] }), p = {
709
+ position: "relative",
710
+ alignItems: "flex-start",
711
+ pl: "32px",
712
+ py: .5,
713
+ borderRadius: 1
714
+ };
715
+ return Q(X, { children: [Z(Wn, {
716
+ disablePadding: !0,
717
+ className: s,
718
+ secondaryAction: i,
719
+ sx: {
720
+ borderRadius: 1,
721
+ ...d ? null : { "&:hover": { bgcolor: "action.hover" } },
722
+ "& .MuiListItemSecondaryAction-root": {
723
+ top: 2,
724
+ transform: "none",
725
+ opacity: 0,
726
+ transition: "opacity 0.15s ease"
727
+ },
728
+ "&:hover .MuiListItemSecondaryAction-root, &:focus-within .MuiListItemSecondaryAction-root": { opacity: 1 }
729
+ },
730
+ children: d ? Z(Gn, {
731
+ onClick: d,
732
+ "aria-expanded": u ? c : void 0,
733
+ sx: p,
734
+ children: f
735
+ }) : Z($, {
736
+ sx: {
737
+ ...p,
738
+ display: "flex",
739
+ width: "100%",
740
+ pr: 2
741
+ },
742
+ children: f
743
+ })
744
+ }), u ? Z(Rn, {
745
+ in: c,
746
+ unmountOnExit: !0,
747
+ children: Z($, {
748
+ sx: {
749
+ pl: "32px",
750
+ pr: 1,
751
+ pb: 1
752
+ },
753
+ children: o
754
+ })
755
+ }) : null] });
756
+ }, Sr = (e) => (kt[e.intent] ?? kt.finding).chip, Cr = {}, wr = ({ title: e, className: t, children: n }) => Q($, {
757
+ className: t,
758
+ sx: {
759
+ display: "flex",
760
+ flexDirection: "column",
761
+ gap: 1
762
+ },
763
+ children: [Z($n, {
764
+ variant: "body2",
765
+ children: e
766
+ }), n]
767
+ }), Tr = ({ children: e }) => Z($n, {
768
+ variant: "body2",
769
+ sx: {
770
+ color: "text.secondary",
771
+ pl: 1
772
+ },
773
+ children: e
774
+ }), Er = ({ item: e }) => Z(mt, {
775
+ className: "sxl-agent-finding-media",
776
+ sx: {
777
+ width: "auto",
778
+ minWidth: 20,
779
+ height: 20,
780
+ px: .5,
781
+ fontSize: 11,
782
+ background: Sr(e.finding),
783
+ borderColor: Sr(e.finding),
784
+ color: "#fff",
785
+ fontWeight: 600,
786
+ fontVariantNumeric: "tabular-nums",
787
+ opacity: e.finding.status === "stale" ? .5 : 1
788
+ },
789
+ children: e.ordinal > 0 ? e.ordinal : Z(B, {
790
+ iconKey: e.finding.intent === "question" ? "Help" : "CheckSuccess",
791
+ size: 14,
792
+ ariaHidden: !0
793
+ })
794
+ });
795
+ function Dr(e) {
796
+ let t = new Date(e), n = /* @__PURE__ */ new Date();
797
+ return t.toDateString() === n.toDateString() ? t.toLocaleTimeString() : t.toLocaleString();
798
+ }
799
+ var Or = ({ item: e, isCurrent: t, onSelect: n, onDismiss: r }) => {
800
+ let i = H(), { finding: a } = e;
801
+ return Z(ht, {
802
+ className: "sxl-agent-finding",
803
+ item: e,
804
+ messageKeys: Cr,
805
+ title: a.label ?? a.range,
806
+ selected: t,
807
+ onSelect: n,
808
+ caption: a.status === "stale" ? i(z.findingsStale) : a.range,
809
+ sx: { "&.Mui-selected": { outline: `2px solid ${Sr(a)}` } },
810
+ Media: Er,
811
+ actions: Z(gt, {
812
+ title: i(z.dismiss),
813
+ iconKey: "Close",
814
+ onClick: r
815
+ })
816
+ });
817
+ }, kr = ({ parts: e }) => Z(X, { children: e.filter((e) => e != null && !1 !== e).map((e, t) => Q(vn.Fragment, { children: [t > 0 ? " · " : null, e] }, t)) }), Ar = ({ range: e, onSelect: t }) => {
818
+ let n = H(), r = (e) => {
819
+ e.stopPropagation(), t();
820
+ };
821
+ return Z(Hn, {
822
+ component: "span",
823
+ role: "link",
824
+ tabIndex: 0,
825
+ underline: "hover",
826
+ title: n(z.promptGoto, { range: e }),
827
+ onMouseDown: (e) => e.stopPropagation(),
828
+ onClick: r,
829
+ onKeyDown: (e) => {
830
+ e.key !== "Enter" && e.key !== " " || (e.preventDefault(), r(e));
831
+ },
832
+ sx: { cursor: "pointer" },
833
+ children: e
834
+ });
835
+ }, jr = ({ commit: e }) => {
836
+ let t = H();
837
+ return Z(xr, {
838
+ className: "sxl-agent-commit",
839
+ dotColor: "primary.main",
840
+ primary: e.description ?? t(z.changesUntitled),
841
+ secondary: Z(kr, { parts: [t(z.historyKindChange), Dr(e.timestamp)] })
842
+ });
843
+ }, Mr = ({ finding: e, onSelect: t, onSelectRange: n }) => {
844
+ let r = H();
845
+ return Z(xr, {
846
+ className: "sxl-agent-logged-finding",
847
+ dotColor: Sr(e),
848
+ primary: e.label ?? e.range,
849
+ secondary: Z(kr, { parts: [
850
+ e.intent === "question" ? r(z.historyKindQuestion) : r(z.historyKindFinding),
851
+ Dr(e.raisedAt),
852
+ n ? Z(Ar, {
853
+ range: e.range,
854
+ onSelect: n
855
+ }) : e.range
856
+ ] }),
857
+ onClick: t
858
+ });
859
+ }, Nr = ({ store: e }) => {
860
+ let t = H(), { findings: n, navigable: r, current: i } = Zt(e), a = [];
861
+ for (let e of n) {
862
+ if (e.intent === "working") continue;
863
+ let t = a[a.length - 1];
864
+ t && t[0].walk === e.walk ? t.push(e) : a.push([e]);
865
+ }
866
+ return Z(X, { children: Z(wr, {
867
+ className: "sxl-agent-findings",
868
+ title: t(z.sectionFindings),
869
+ children: a.length === 0 ? Z(Tr, { children: t(z.findingsNone) }) : Q(X, { children: [a.map((t) => Z($, {
870
+ sx: {
871
+ display: "flex",
872
+ flexDirection: "column",
873
+ gap: .75
874
+ },
875
+ children: t.map((t) => Z(Or, {
876
+ item: {
877
+ finding: t,
878
+ ordinal: r.indexOf(t) + 1
879
+ },
880
+ isCurrent: t === i,
881
+ onSelect: t.status === "stale" ? void 0 : () => e.goTo(t.id),
882
+ onDismiss: () => e.dismiss(t.id)
883
+ }, t.id))
884
+ }, t[0].walk)), Z($, {
885
+ sx: {
886
+ display: "flex",
887
+ justifyContent: "flex-end"
888
+ },
889
+ children: Z(In, {
890
+ size: "small",
891
+ onClick: () => e.dismissAll(),
892
+ sx: { textTransform: "none" },
893
+ children: t(z.dismissAll)
894
+ })
895
+ })] })
896
+ }) });
897
+ }, Pr = ({ className: e, color: t, text: n, onClick: r }) => Q(Ln, {
898
+ className: e,
899
+ disabled: !r,
900
+ onClick: r,
901
+ sx: {
902
+ display: "flex",
903
+ alignItems: "center",
904
+ justifyContent: "flex-start",
905
+ gap: 1,
906
+ width: "100%",
907
+ borderRadius: 1,
908
+ px: .5,
909
+ py: .25,
910
+ "&:hover": { bgcolor: "action.hover" }
911
+ },
912
+ children: [Z($, {
913
+ component: "span",
914
+ "aria-hidden": !0,
915
+ sx: {
916
+ flex: "0 0 auto",
917
+ width: 8,
918
+ height: 8,
919
+ borderRadius: "50%",
920
+ bgcolor: t
921
+ }
922
+ }), Z($n, {
923
+ variant: "caption",
924
+ noWrap: !0,
925
+ sx: {
926
+ color: "text.primary",
927
+ minWidth: 0
928
+ },
929
+ children: n
930
+ })]
931
+ }), Fr = ({ store: e, working: t }) => {
932
+ let n = H(), r = t.label ? `${t.label} (${t.range})` : t.range;
933
+ return Z(Nn, {
934
+ disableInteractive: !0,
935
+ title: n(z.working, { where: r }),
936
+ children: Z(Ln, {
937
+ className: "sxl-agent-status-working",
938
+ "aria-label": n(z.working, { where: r }),
939
+ onClick: () => e.goTo(t.id),
940
+ sx: {
941
+ width: 16,
942
+ height: 16,
943
+ borderRadius: "50%"
944
+ },
945
+ children: Z($, {
946
+ component: "span",
947
+ sx: {
948
+ width: 8,
949
+ height: 8,
950
+ borderRadius: "50%",
951
+ bgcolor: kt.working.chip
952
+ }
953
+ })
954
+ })
955
+ });
956
+ }, Ir = ({ store: e }) => {
957
+ let t = H(), { promptQuestion: n, working: r, status: i } = Zt(e);
958
+ return n || r || i.meter !== void 0 ? Q($, {
959
+ className: "sxl-agent-status",
960
+ sx: {
961
+ flex: "0 0 auto",
962
+ display: "flex",
963
+ flexDirection: "column",
964
+ gap: .25,
965
+ px: 1,
966
+ py: .75,
967
+ borderTop: 1,
968
+ borderColor: "divider"
969
+ },
970
+ children: [n ? Z(Pr, {
971
+ className: "sxl-agent-status-waiting",
972
+ color: "warning.main",
973
+ text: t(z.waitingOnYou, { question: n.header ?? n.message }),
974
+ onClick: n.range ? () => e.reveal(n.range) : void 0
975
+ }) : null, r || i.meter !== void 0 ? Q($, {
976
+ sx: {
977
+ display: "flex",
978
+ alignItems: "center",
979
+ gap: .75,
980
+ px: .5,
981
+ minHeight: 20
982
+ },
983
+ children: [r ? Z(Fr, {
984
+ store: e,
985
+ working: r
986
+ }) : null, i.meter === void 0 ? null : Z($n, {
987
+ className: "sxl-agent-meter",
988
+ variant: "caption",
989
+ sx: { color: "text.secondary" },
990
+ children: t(z.meter, { count: i.meter })
991
+ })]
992
+ }) : null]
993
+ }) : null;
994
+ }, Lr = ({ store: e }) => {
995
+ let t = H(), { log: n, findings: r, workbook: i } = Zt(e), a = Xt(i, 1e3), [o, s] = J(""), c = o.trim().toLowerCase(), l = (...e) => !c || e.some((e) => !!e && e.toLowerCase().includes(c)), u = [...n.map((e) => ({
996
+ kind: "finding",
997
+ at: e.raisedAt,
998
+ finding: e
999
+ })), ...a.map((e) => ({
1000
+ kind: "change",
1001
+ at: e.timestamp,
1002
+ commit: e
1003
+ }))].sort((e, t) => t.at - e.at), d = u.filter((e) => e.kind === "finding" ? l(e.finding.label, e.finding.range) : l(e.commit.description ?? t(z.changesUntitled))), f = new Map(r.map((e) => [e.id, e]));
1004
+ return Q(X, { children: [Z(_t, {
1005
+ value: o,
1006
+ onChange: s,
1007
+ placeholder: t(z.historySearch),
1008
+ clearLabel: t(z.historyClearSearch),
1009
+ sx: { flexShrink: 0 }
1010
+ }), u.length === 0 ? Z(Tr, { children: t(z.historyNone) }) : d.length === 0 ? Z(Tr, { children: t(z.historyNoMatches) }) : Z(br, {
1011
+ className: "sxl-agent-history",
1012
+ children: d.map((t) => {
1013
+ if (t.kind === "change") return Z(jr, { commit: t.commit }, t.commit.id);
1014
+ let { finding: n } = t, r = f.get(n.id), i = !!r && r.status === "open";
1015
+ return Z(Mr, {
1016
+ finding: n,
1017
+ onSelect: i ? () => e.goTo(n.id) : r?.status === "stale" ? void 0 : () => e.select(n.range),
1018
+ onSelectRange: r?.status === "stale" ? void 0 : () => e.select(n.range)
1019
+ }, n.id);
1020
+ })
1021
+ })] });
1022
+ }, Rr = W((e) => {
1023
+ let { store: t, model: n, args: r, entryKey: i, frame: a, ref: o, ...s } = e, c = H(), [l, u] = J("review");
1024
+ return Q($, {
1025
+ ref: o,
1026
+ ...s,
1027
+ className: "sxl-agent-pane",
1028
+ sx: {
1029
+ display: "flex",
1030
+ flexDirection: "column",
1031
+ width: "100%",
1032
+ minWidth: 0,
1033
+ flex: "1 1 auto",
1034
+ height: "100%",
1035
+ minHeight: 0,
1036
+ overflowX: "hidden"
1037
+ },
1038
+ children: [
1039
+ Q(Zn, {
1040
+ value: l,
1041
+ onChange: (e, t) => u(t),
1042
+ variant: "fullWidth",
1043
+ sx: {
1044
+ width: "100%",
1045
+ flex: "0 0 auto",
1046
+ minHeight: "36px",
1047
+ borderBottom: 1,
1048
+ borderColor: "divider",
1049
+ "& .MuiTab-root": {
1050
+ minHeight: "36px",
1051
+ textTransform: "none",
1052
+ pt: .5,
1053
+ pb: .5,
1054
+ px: .5,
1055
+ minWidth: 0
1056
+ }
1057
+ },
1058
+ children: [Z(Xn, {
1059
+ value: "review",
1060
+ label: c(z.tabReview)
1061
+ }), Z(Xn, {
1062
+ value: "history",
1063
+ label: c(z.tabHistory)
1064
+ })]
1065
+ }),
1066
+ Z($, {
1067
+ sx: {
1068
+ flex: "1 1 auto",
1069
+ minHeight: 0,
1070
+ overflowY: "auto",
1071
+ display: "flex",
1072
+ flexDirection: "column",
1073
+ gap: 2,
1074
+ p: 1.5
1075
+ },
1076
+ children: Z(l === "review" ? Nr : Lr, { store: t })
1077
+ }),
1078
+ Z(Ir, { store: t })
1079
+ ]
1080
+ });
1081
+ });
1082
+ Rr.displayName = "PresenceTaskPane";
1083
+ var zr = ({ store: e }) => {
1084
+ let { prompt: t, working: n, workbook: r } = Zt(e), i = !!n;
1085
+ return G(() => {
1086
+ if (!i || t) return;
1087
+ let n = (t) => {
1088
+ if (t.key !== "Escape" || t.defaultPrevented) return;
1089
+ let n = r ? Wt(r) : null;
1090
+ n?.current || n?.hovered || e.clearWorking();
1091
+ };
1092
+ return window.addEventListener("keydown", n, !0), () => window.removeEventListener("keydown", n, !0);
1093
+ }, [
1094
+ i,
1095
+ t,
1096
+ e,
1097
+ r
1098
+ ]), null;
1099
+ }, Br = (e) => Gt(e.intent);
1100
+ function Vr(e) {
1101
+ let t = new Lt(e);
1102
+ Kt();
1103
+ let n = rn.DefaultCommandRegistry.registerDynamic("workbook", Ut(t)), r = Mt.registerTaskPane({
1104
+ key: Pt,
1105
+ getTitle: () => rr(z.paneTitle),
1106
+ getIcon: () => Nt,
1107
+ component: (e) => U(Rr, {
1108
+ ...e,
1109
+ store: t
1110
+ })
1111
+ }, !0), i = At.register({
1112
+ key: "presence",
1113
+ layers: U(Rt, {
1114
+ key: "presence-findings",
1115
+ className: "sxl-agent-highlights",
1116
+ filter: (e) => {
1117
+ let n = t.getSnapshot().sessionId;
1118
+ return !!n && e.source === n;
1119
+ },
1120
+ showChip: Br
1121
+ })
1122
+ }, !0);
1123
+ return {
1124
+ store: t,
1125
+ strip: U(yr, { store: t }),
1126
+ overlay: U(zr, { store: t }),
1127
+ dispose() {
1128
+ i(), r(), n(), t.dispose();
1129
+ }
1130
+ };
1131
+ }
1132
+ function Hr(e, t, n) {
1133
+ return e === R.BuiltInSheetPattern.Solid ? {
364
1134
  foreground: n,
365
1135
  background: t
366
1136
  } : {
@@ -368,12 +1138,11 @@ function Nn(e, t, n) {
368
1138
  background: n
369
1139
  };
370
1140
  }
371
- Mn.displayName = "InsertFunctionSumCommandPopupButton";
372
- var Pn = W((e) => {
1141
+ var Ur = W((e) => {
373
1142
  let { patternType: t, foreground: n, background: r, createCell: i, darkMode: a = !1, className: o, style: s, ...c } = e, l = K(() => {
374
- let e = Nn(t, n, r);
1143
+ let e = Hr(t, n, r);
375
1144
  return i({ style: { fill: {
376
- type: B.Type.Pattern,
1145
+ type: R.Type.Pattern,
377
1146
  patternType: t,
378
1147
  foreground: e.foreground ?? void 0,
379
1148
  background: e.background ?? void 0
@@ -386,7 +1155,7 @@ var Pn = W((e) => {
386
1155
  a
387
1156
  ]);
388
1157
  return Z("div", {
389
- className: R("sxl-pattern-swatch", o),
1158
+ className: L("sxl-pattern-swatch", o),
390
1159
  style: {
391
1160
  width: "100%",
392
1161
  height: "100%",
@@ -396,53 +1165,53 @@ var Pn = W((e) => {
396
1165
  ...c
397
1166
  });
398
1167
  });
399
- Pn.displayName = "PatternSwatch";
400
- var Fn = Object.freeze([
401
- B.BuiltInSheetPattern.Solid,
402
- B.BuiltInSheetPattern.DarkGray,
403
- B.BuiltInSheetPattern.MediumGray,
404
- B.BuiltInSheetPattern.LightGray,
405
- B.BuiltInSheetPattern.Gray125,
406
- B.BuiltInSheetPattern.Gray0625,
407
- B.BuiltInSheetPattern.DarkHorizontal,
408
- B.BuiltInSheetPattern.DarkVertical,
409
- B.BuiltInSheetPattern.DarkDown,
410
- B.BuiltInSheetPattern.DarkUp,
411
- B.BuiltInSheetPattern.DarkGrid,
412
- B.BuiltInSheetPattern.DarkTrellis,
413
- B.BuiltInSheetPattern.LightHorizontal,
414
- B.BuiltInSheetPattern.LightVertical,
415
- B.BuiltInSheetPattern.LightDown,
416
- B.BuiltInSheetPattern.LightUp,
417
- B.BuiltInSheetPattern.LightGrid,
418
- B.BuiltInSheetPattern.LightTrellis
1168
+ Ur.displayName = "PatternSwatch";
1169
+ var Wr = Object.freeze([
1170
+ R.BuiltInSheetPattern.Solid,
1171
+ R.BuiltInSheetPattern.DarkGray,
1172
+ R.BuiltInSheetPattern.MediumGray,
1173
+ R.BuiltInSheetPattern.LightGray,
1174
+ R.BuiltInSheetPattern.Gray125,
1175
+ R.BuiltInSheetPattern.Gray0625,
1176
+ R.BuiltInSheetPattern.DarkHorizontal,
1177
+ R.BuiltInSheetPattern.DarkVertical,
1178
+ R.BuiltInSheetPattern.DarkDown,
1179
+ R.BuiltInSheetPattern.DarkUp,
1180
+ R.BuiltInSheetPattern.DarkGrid,
1181
+ R.BuiltInSheetPattern.DarkTrellis,
1182
+ R.BuiltInSheetPattern.LightHorizontal,
1183
+ R.BuiltInSheetPattern.LightVertical,
1184
+ R.BuiltInSheetPattern.LightDown,
1185
+ R.BuiltInSheetPattern.LightUp,
1186
+ R.BuiltInSheetPattern.LightGrid,
1187
+ R.BuiltInSheetPattern.LightTrellis
419
1188
  ]);
420
- function In(e, t) {
1189
+ function Gr(e, t) {
421
1190
  switch (t) {
422
- case B.BuiltInSheetPattern.None: return e("fill.pattern.none");
423
- case B.BuiltInSheetPattern.Solid: return e("fill.pattern.solid");
424
- case B.BuiltInSheetPattern.Gray0625: return e("fill.pattern.gray0625");
425
- case B.BuiltInSheetPattern.Gray125: return e("fill.pattern.gray125");
426
- case B.BuiltInSheetPattern.LightGray: return e("fill.pattern.lightGray");
427
- case B.BuiltInSheetPattern.MediumGray: return e("fill.pattern.mediumGray");
428
- case B.BuiltInSheetPattern.DarkGray: return e("fill.pattern.darkGray");
429
- case B.BuiltInSheetPattern.LightHorizontal: return e("fill.pattern.lightHorizontal");
430
- case B.BuiltInSheetPattern.LightVertical: return e("fill.pattern.lightVertical");
431
- case B.BuiltInSheetPattern.LightDown: return e("fill.pattern.lightDown");
432
- case B.BuiltInSheetPattern.LightUp: return e("fill.pattern.lightUp");
433
- case B.BuiltInSheetPattern.LightGrid: return e("fill.pattern.lightGrid");
434
- case B.BuiltInSheetPattern.LightTrellis: return e("fill.pattern.lightTrellis");
435
- case B.BuiltInSheetPattern.DarkHorizontal: return e("fill.pattern.darkHorizontal");
436
- case B.BuiltInSheetPattern.DarkVertical: return e("fill.pattern.darkVertical");
437
- case B.BuiltInSheetPattern.DarkDown: return e("fill.pattern.darkDown");
438
- case B.BuiltInSheetPattern.DarkUp: return e("fill.pattern.darkUp");
439
- case B.BuiltInSheetPattern.DarkGrid: return e("fill.pattern.darkGrid");
440
- case B.BuiltInSheetPattern.DarkTrellis: return e("fill.pattern.darkTrellis");
1191
+ case R.BuiltInSheetPattern.None: return e("fill.pattern.none");
1192
+ case R.BuiltInSheetPattern.Solid: return e("fill.pattern.solid");
1193
+ case R.BuiltInSheetPattern.Gray0625: return e("fill.pattern.gray0625");
1194
+ case R.BuiltInSheetPattern.Gray125: return e("fill.pattern.gray125");
1195
+ case R.BuiltInSheetPattern.LightGray: return e("fill.pattern.lightGray");
1196
+ case R.BuiltInSheetPattern.MediumGray: return e("fill.pattern.mediumGray");
1197
+ case R.BuiltInSheetPattern.DarkGray: return e("fill.pattern.darkGray");
1198
+ case R.BuiltInSheetPattern.LightHorizontal: return e("fill.pattern.lightHorizontal");
1199
+ case R.BuiltInSheetPattern.LightVertical: return e("fill.pattern.lightVertical");
1200
+ case R.BuiltInSheetPattern.LightDown: return e("fill.pattern.lightDown");
1201
+ case R.BuiltInSheetPattern.LightUp: return e("fill.pattern.lightUp");
1202
+ case R.BuiltInSheetPattern.LightGrid: return e("fill.pattern.lightGrid");
1203
+ case R.BuiltInSheetPattern.LightTrellis: return e("fill.pattern.lightTrellis");
1204
+ case R.BuiltInSheetPattern.DarkHorizontal: return e("fill.pattern.darkHorizontal");
1205
+ case R.BuiltInSheetPattern.DarkVertical: return e("fill.pattern.darkVertical");
1206
+ case R.BuiltInSheetPattern.DarkDown: return e("fill.pattern.darkDown");
1207
+ case R.BuiltInSheetPattern.DarkUp: return e("fill.pattern.darkUp");
1208
+ case R.BuiltInSheetPattern.DarkGrid: return e("fill.pattern.darkGrid");
1209
+ case R.BuiltInSheetPattern.DarkTrellis: return e("fill.pattern.darkTrellis");
441
1210
  default: return t;
442
1211
  }
443
1212
  }
444
- var Ln = W((e) => {
445
- let { selectedPattern: t, foreground: n, background: r, onSelectPattern: i, createCell: a, darkMode: o = !1, disabled: s, ...c } = e, l = U(), u = H(i ?? ((e) => {}), [i]), d = tn((e) => {
1213
+ var Kr = W((e) => {
1214
+ let { selectedPattern: t, foreground: n, background: r, onSelectPattern: i, createCell: a, darkMode: o = !1, disabled: s, ...c } = e, l = H(), u = V(i ?? ((e) => {}), [i]), d = xn((e) => {
446
1215
  let { closeFloat: i } = e;
447
1216
  return Z($, {
448
1217
  sx: {
@@ -451,12 +1220,12 @@ var Ln = W((e) => {
451
1220
  gap: "4px",
452
1221
  padding: "8px"
453
1222
  },
454
- children: Fn.map((e) => Z(un, {
455
- label: In(l, e),
1223
+ children: Wr.map((e) => Z(An, {
1224
+ label: Gr(l, e),
456
1225
  children: Z($, {
457
1226
  role: "button",
458
1227
  tabIndex: 0,
459
- "aria-label": In(l, e),
1228
+ "aria-label": Gr(l, e),
460
1229
  "aria-pressed": e === t,
461
1230
  onMouseDown: (e) => e.preventDefault(),
462
1231
  onMouseUp: () => {
@@ -474,7 +1243,7 @@ var Ln = W((e) => {
474
1243
  outlineOffset: "-1px",
475
1244
  "&:hover": { outline: (e) => `2px solid ${e.palette.primary.light}` }
476
1245
  },
477
- children: Z(Pn, {
1246
+ children: Z(Ur, {
478
1247
  patternType: e,
479
1248
  foreground: n,
480
1249
  background: r,
@@ -493,9 +1262,9 @@ var Ln = W((e) => {
493
1262
  u,
494
1263
  l
495
1264
  ]);
496
- return Z(ln, {
1265
+ return Z(kn, {
497
1266
  disabled: s,
498
- tooltip: l("fill.patternTooltip", { pattern: In(l, t) }),
1267
+ tooltip: l("fill.patternTooltip", { pattern: Gr(l, t) }),
499
1268
  renderPopupPanel: d,
500
1269
  icon: Z($, {
501
1270
  sx: {
@@ -506,7 +1275,7 @@ var Ln = W((e) => {
506
1275
  outlineOffset: "-1px",
507
1276
  overflow: "hidden"
508
1277
  },
509
- children: Z(Pn, {
1278
+ children: Z(Ur, {
510
1279
  patternType: t,
511
1280
  foreground: n,
512
1281
  background: r,
@@ -517,13 +1286,13 @@ var Ln = W((e) => {
517
1286
  ...c
518
1287
  });
519
1288
  });
520
- Ln.displayName = "PatternPopupButton";
521
- var Rn = {
1289
+ Kr.displayName = "PatternPopupButton";
1290
+ var qr = {
522
1291
  resizeOnOverflow: !1,
523
1292
  placement: "bottom",
524
1293
  offsets: [0, 2],
525
1294
  shift: { padding: 8 }
526
- }, zn = ((e) => {
1295
+ }, Jr = ((e) => {
527
1296
  let t = [], n = e.length;
528
1297
  for (let r = 0; r < n; r++) {
529
1298
  let [i, a] = e[(r + n - 1) % n], [o, s, c] = e[r], [l, u] = e[(r + 1) % n], d = (e, t) => {
@@ -559,24 +1328,24 @@ var Rn = {
559
1328
  6,
560
1329
  1.5
561
1330
  ]
562
- ]), Bn = (e) => Math.max(0, Math.min(1, e)), Vn = (e, t, n) => {
1331
+ ]), Yr = (e) => Math.max(0, Math.min(1, e)), Xr = (e, t, n) => {
563
1332
  try {
564
- return (e instanceof z ? e : new z(e, t)).toCSS(n);
1333
+ return (e instanceof Et ? e : new Et(e, t)).toCSS(n);
565
1334
  } catch {
566
1335
  return "transparent";
567
1336
  }
568
- }, Hn = (e, t, n) => {
1337
+ }, Zr = (e, t, n) => {
569
1338
  try {
570
- let r = new z(e, n).toRGBA(), i = new z(t, n).toRGBA(), a = (e, t) => Math.round((e + t) / 2).toString(16).padStart(2, "0");
1339
+ let r = new Et(e, n).toRGBA(), i = new Et(t, n).toRGBA(), a = (e, t) => Math.round((e + t) / 2).toString(16).padStart(2, "0");
571
1340
  return `${a(r.red, i.red)}${a(r.green, i.green)}${a(r.blue, i.blue)}`;
572
1341
  } catch {
573
1342
  return e;
574
1343
  }
575
- }, Un = (e, t) => e.offset === t.offset && String(e.color) === String(t.color), Wn = (e, t) => e.length === t.length && e.every((e, n) => Un(e, t[n])), Gn = W((e) => {
576
- let { percent: t, disabled: n, inputRef: r, onChange: i } = e, a = U(), [o, s] = J(String(t)), [c, l] = J(!1);
1344
+ }, Qr = (e, t) => e.offset === t.offset && String(e.color) === String(t.color), $r = (e, t) => e.length === t.length && e.every((e, n) => Qr(e, t[n])), ei = W((e) => {
1345
+ let { percent: t, disabled: n, inputRef: r, onChange: i } = e, a = H(), [o, s] = J(String(t)), [c, l] = J(!1);
577
1346
  return G(() => {
578
1347
  c || s(String(t));
579
- }, [t, c]), Z(Cn, {
1348
+ }, [t, c]), Z(Qn, {
580
1349
  type: "number",
581
1350
  size: "small",
582
1351
  disabled: n,
@@ -600,7 +1369,7 @@ var Rn = {
600
1369
  style: { textAlign: "right" }
601
1370
  },
602
1371
  inputLabel: { shrink: !0 },
603
- input: { endAdornment: Z(vn, {
1372
+ input: { endAdornment: Z(Bn, {
604
1373
  position: "end",
605
1374
  disableTypography: !0,
606
1375
  children: "%"
@@ -609,13 +1378,13 @@ var Rn = {
609
1378
  sx: { width: 120 }
610
1379
  });
611
1380
  });
612
- Gn.displayName = "StopPositionField";
613
- var Kn = W((e) => {
614
- let { index: t, stop: n, offset: r, schemeLookup: i, recentColors: a, darkMode: o, disabled: s, canRemove: c, rampRef: l, onDrag: u, onMove: d, onPreviewColor: f, onChangeColor: p, onRemove: m, onOpenChange: h } = e, g = U(), _ = En(), v = K(() => new z(n.color, i), [n.color, i]), [y, b] = J(void 0), [x, S] = J(null), [C, w] = J(!1), [T, E] = J(!1), [D, O] = J(!1), [k, A] = J(!1), j = q(null), M = q(!1), N = H((e) => {
1381
+ ei.displayName = "StopPositionField";
1382
+ var ti = W((e) => {
1383
+ let { index: t, stop: n, offset: r, schemeLookup: i, recentColors: a, darkMode: o, disabled: s, canRemove: c, rampRef: l, onDrag: u, onMove: d, onPreviewColor: f, onChangeColor: p, onRemove: m, onOpenChange: h } = e, g = H(), _ = tr(), v = K(() => new Et(n.color, i), [n.color, i]), [y, b] = J(void 0), [x, S] = J(null), [C, w] = J(!1), [T, E] = J(!1), [D, O] = J(!1), [k, A] = J(!1), j = q(null), M = q(!1), N = V((e) => {
615
1384
  b(e), f(t, e ?? null);
616
- }, [t, f]), P = H((e) => {
1385
+ }, [t, f]), P = V((e) => {
617
1386
  d(t, e / 100);
618
- }, [t, d]), F = Math.round(100 * r), ee = Vn(y ?? v, i, o), te = tn((e) => {
1387
+ }, [t, d]), ee = Math.round(100 * r), te = Xr(y ?? v, i, o), ne = xn((e) => {
619
1388
  let { closeFloat: n } = e;
620
1389
  return Q($, {
621
1390
  className: "sxl-gradient-stop-popup",
@@ -623,7 +1392,7 @@ var Kn = W((e) => {
623
1392
  display: "flex",
624
1393
  flexDirection: "column"
625
1394
  },
626
- children: [Z(Ke, {
1395
+ children: [Z(qe, {
627
1396
  selectedColor: v,
628
1397
  previewColor: y,
629
1398
  disableAlpha: !0,
@@ -644,8 +1413,8 @@ var Kn = W((e) => {
644
1413
  paddingX: 1,
645
1414
  paddingBottom: 1
646
1415
  },
647
- children: Z(Gn, {
648
- percent: F,
1416
+ children: Z(ei, {
1417
+ percent: ee,
649
1418
  disabled: s,
650
1419
  inputRef: j,
651
1420
  onChange: P
@@ -655,7 +1424,7 @@ var Kn = W((e) => {
655
1424
  }, [
656
1425
  v,
657
1426
  y,
658
- F,
1427
+ ee,
659
1428
  t,
660
1429
  i,
661
1430
  a,
@@ -664,71 +1433,71 @@ var Kn = W((e) => {
664
1433
  N,
665
1434
  p,
666
1435
  P
667
- ]), I = qt({
1436
+ ]), F = pn({
668
1437
  anchor: x,
669
1438
  label: "gradient-stop",
670
- renderPopupPanel: te,
671
- propsPopper: Rn,
1439
+ renderPopupPanel: ne,
1440
+ propsPopper: qr,
672
1441
  onOpen: () => {
673
1442
  w(!0), h(t, !0), M.current && (M.current = !1, requestAnimationFrame(() => j.current?.focus()));
674
1443
  },
675
1444
  onClose: () => {
676
1445
  w(!1), h(t, !1), N(void 0);
677
1446
  }
678
- }), ne = H((e) => {
679
- M.current = e, I.reference.open(0);
680
- }, [I]), re = H(() => {
681
- C ? I.reference.close(0) : ne(!1);
1447
+ }), re = V((e) => {
1448
+ M.current = e, F.reference.open(0);
1449
+ }, [F]), ie = V(() => {
1450
+ C ? F.reference.close(0) : re(!1);
682
1451
  }, [
683
1452
  C,
684
- I,
685
- ne
686
- ]), L = q(null), ie = H((e) => {
687
- s || e.button !== 0 || (e.currentTarget.setPointerCapture(e.pointerId), L.current = {
1453
+ F,
1454
+ re
1455
+ ]), I = q(null), ae = V((e) => {
1456
+ s || e.button !== 0 || (e.currentTarget.setPointerCapture(e.pointerId), I.current = {
688
1457
  pointerId: e.pointerId,
689
1458
  startX: e.clientX,
690
1459
  startOffset: r,
691
1460
  moved: !1,
692
1461
  offset: r
693
1462
  });
694
- }, [s, r]), ae = H((e) => {
695
- let n = L.current;
1463
+ }, [s, r]), oe = V((e) => {
1464
+ let n = I.current;
696
1465
  if (!n || n.pointerId !== e.pointerId) return;
697
1466
  let r = e.clientX - n.startX;
698
1467
  if (!n.moved) {
699
1468
  if (Math.abs(r) < 3) return;
700
- n.moved = !0, E(!0), A(!1), I.reference.close(0);
1469
+ n.moved = !0, E(!0), A(!1), F.reference.close(0);
701
1470
  }
702
1471
  let i = l.current?.getBoundingClientRect().width ?? 0;
703
- n.offset = i > 0 ? Bn(n.startOffset + r / i) : n.startOffset, u(t, n.offset, !1);
1472
+ n.offset = i > 0 ? Yr(n.startOffset + r / i) : n.startOffset, u(t, n.offset, !1);
704
1473
  }, [
705
1474
  t,
706
1475
  l,
707
- I,
1476
+ F,
708
1477
  u
709
- ]), oe = H((e) => {
710
- let n = L.current;
1478
+ ]), se = V((e) => {
1479
+ let n = I.current;
711
1480
  if (n && n.pointerId === e.pointerId) {
712
- if (L.current = null, n.moved) return E(!1), u(t, n.offset, !0), void d(t, n.offset);
713
- re();
1481
+ if (I.current = null, n.moved) return E(!1), u(t, n.offset, !0), void d(t, n.offset);
1482
+ ie();
714
1483
  }
715
1484
  }, [
716
1485
  t,
717
1486
  u,
718
1487
  d,
719
- re
720
- ]), se = H((e) => {
721
- let n = L.current;
722
- n && n.pointerId === e.pointerId && (L.current = null, n.moved && (E(!1), u(t, n.startOffset, !0)));
723
- }, [t, u]), ce = H((e) => {
1488
+ ie
1489
+ ]), ce = V((e) => {
1490
+ let n = I.current;
1491
+ n && n.pointerId === e.pointerId && (I.current = null, n.moved && (E(!1), u(t, n.startOffset, !0)));
1492
+ }, [t, u]), le = V((e) => {
724
1493
  if (s) return;
725
1494
  let n = e.shiftKey ? .1 : .01;
726
1495
  switch (e.key) {
727
1496
  case "ArrowLeft":
728
- d(t, Bn(r - n));
1497
+ d(t, Yr(r - n));
729
1498
  break;
730
1499
  case "ArrowRight":
731
- d(t, Bn(r + n));
1500
+ d(t, Yr(r + n));
732
1501
  break;
733
1502
  case "Home":
734
1503
  d(t, 0);
@@ -742,11 +1511,11 @@ var Kn = W((e) => {
742
1511
  break;
743
1512
  case "Enter":
744
1513
  case " ":
745
- ne(!0);
1514
+ re(!0);
746
1515
  break;
747
1516
  case "Escape":
748
1517
  if (!C) return;
749
- I.reference.close(0);
1518
+ F.reference.close(0);
750
1519
  break;
751
1520
  default: return;
752
1521
  }
@@ -757,11 +1526,11 @@ var Kn = W((e) => {
757
1526
  r,
758
1527
  c,
759
1528
  C,
760
- I,
761
- ne,
1529
+ F,
1530
+ re,
762
1531
  d,
763
1532
  m
764
- ]), le = C || T || D, ue = !s && !T && !C && k, de = Q($, {
1533
+ ]), ue = C || T || D, de = !s && !T && !C && k, fe = Q($, {
765
1534
  className: "sxl-gradient-stop-toolbar",
766
1535
  onPointerDown: (e) => {
767
1536
  e.stopPropagation();
@@ -771,7 +1540,7 @@ var Kn = W((e) => {
771
1540
  alignItems: "center",
772
1541
  gap: .25
773
1542
  },
774
- children: [Z(X, {
1543
+ children: [Z(On, {
775
1544
  tabIndex: -1,
776
1545
  propsTooltip: {
777
1546
  label: g("fill.gradientStopColor"),
@@ -781,27 +1550,27 @@ var Kn = W((e) => {
781
1550
  className: "color-wrapper",
782
1551
  sx: {
783
1552
  lineHeight: 0,
784
- "& .activeColor": { fill: ee }
1553
+ "& .activeColor": { fill: te }
785
1554
  },
786
- children: Z(V, { iconKey: "circle.colored" })
1555
+ children: Z(B, { iconKey: "circle.colored" })
787
1556
  }),
788
1557
  onClick: () => {
789
- A(!1), re();
1558
+ A(!1), ie();
790
1559
  }
791
- }), Z(X, {
1560
+ }), Z(On, {
792
1561
  tabIndex: -1,
793
1562
  disabled: !c,
794
1563
  propsTooltip: {
795
1564
  label: g("fill.gradientRemoveStop"),
796
1565
  simple: !0
797
1566
  },
798
- icon: Z(V, { iconKey: "Close" }),
1567
+ icon: Z(B, { iconKey: "Close" }),
799
1568
  onClick: () => m(t)
800
1569
  })]
801
1570
  });
802
- return Q(gn, { children: [Z(pn, {
803
- title: de,
804
- open: ue,
1571
+ return Q(X, { children: [Z(Nn, {
1572
+ title: fe,
1573
+ open: de,
805
1574
  onOpen: () => A(!0),
806
1575
  onClose: () => A(!1),
807
1576
  enterDelay: 250,
@@ -822,19 +1591,19 @@ var Kn = W((e) => {
822
1591
  ref: S,
823
1592
  role: "button",
824
1593
  tabIndex: s ? -1 : 0,
825
- "aria-label": g("fill.gradientStop", { position: F }),
1594
+ "aria-label": g("fill.gradientStop", { position: ee }),
826
1595
  "aria-disabled": s || void 0,
827
- className: R("sxl-gradient-stop", {
1596
+ className: L("sxl-gradient-stop", {
828
1597
  "sxl-gradient-stop-open": C,
829
1598
  "sxl-gradient-stop-dragging": T
830
1599
  }),
831
- onPointerDown: ie,
832
- onPointerMove: ae,
833
- onPointerUp: oe,
834
- onPointerCancel: se,
1600
+ onPointerDown: ae,
1601
+ onPointerMove: oe,
1602
+ onPointerUp: se,
1603
+ onPointerCancel: ce,
835
1604
  onFocus: () => O(!0),
836
1605
  onBlur: () => O(!1),
837
- onKeyDown: ce,
1606
+ onKeyDown: le,
838
1607
  sx: {
839
1608
  position: "absolute",
840
1609
  left: 100 * r + "%",
@@ -848,7 +1617,7 @@ var Kn = W((e) => {
848
1617
  touchAction: "none",
849
1618
  outline: "none",
850
1619
  zIndex: +!!T,
851
- filter: le ? `drop-shadow(0 1px 2px ${_.palette.action.active})` : void 0
1620
+ filter: ue ? `drop-shadow(0 1px 2px ${_.palette.action.active})` : void 0
852
1621
  },
853
1622
  children: Z("svg", {
854
1623
  width: 14,
@@ -856,28 +1625,28 @@ var Kn = W((e) => {
856
1625
  viewBox: "0 0 14 17",
857
1626
  "aria-hidden": "true",
858
1627
  children: Z("path", {
859
- d: zn,
860
- fill: ee,
861
- stroke: le ? _.palette.primary.main : _.palette.text.secondary,
862
- strokeWidth: le ? 1.5 : 1,
1628
+ d: Jr,
1629
+ fill: te,
1630
+ stroke: ue ? _.palette.primary.main : _.palette.text.secondary,
1631
+ strokeWidth: ue ? 1.5 : 1,
863
1632
  strokeLinejoin: "round"
864
1633
  })
865
1634
  })
866
1635
  })
867
- }), I.component] });
1636
+ }), F.component] });
868
1637
  });
869
- Kn.displayName = "StopHandle";
870
- var qn = W((e) => {
871
- let { stops: t, onChange: n, minStops: r = 2, maxStops: i = 8, schemeLookup: a, recentColors: o, darkMode: s = !1, disabled: c = !1, className: l, ...u } = e, d = U(), f = q(null), p = q({
1638
+ ti.displayName = "StopHandle";
1639
+ var ni = W((e) => {
1640
+ let { stops: t, onChange: n, minStops: r = 2, maxStops: i = 8, schemeLookup: a, recentColors: o, darkMode: s = !1, disabled: c = !1, className: l, ...u } = e, d = H(), f = q(null), p = q({
872
1641
  known: [],
873
1642
  next: 1
874
1643
  }), m = K(() => {
875
1644
  let e = p.current, n = ((e, t, n) => {
876
- for (let n of t) if (Wn(e, n.stops)) return n.keys;
1645
+ for (let n of t) if ($r(e, n.stops)) return n.keys;
877
1646
  let r = /* @__PURE__ */ new Set();
878
1647
  return e.map((e) => {
879
1648
  for (let n of t) {
880
- let t = n.stops.findIndex((t, i) => !r.has(n.keys[i]) && Un(t, e));
1649
+ let t = n.stops.findIndex((t, i) => !r.has(n.keys[i]) && Qr(t, e));
881
1650
  if (t >= 0) return r.add(n.keys[t]), n.keys[t];
882
1651
  }
883
1652
  return -1;
@@ -888,33 +1657,33 @@ var qn = W((e) => {
888
1657
  keys: n
889
1658
  }, ...e.known].slice(0, 3)), n;
890
1659
  }, [t]), [h, g] = J(null), [_, v] = J(null), [y, b] = J(null);
891
- an(() => {
1660
+ wn(() => {
892
1661
  g((e) => {
893
1662
  if (!e?.released) return e;
894
1663
  let n = m.indexOf(e.key);
895
1664
  return n >= 0 && t[n].offset === e.offset ? null : e;
896
1665
  });
897
- }, [t, m]), an(() => {
1666
+ }, [t, m]), wn(() => {
898
1667
  if (!h?.released) return;
899
1668
  let e = window.setTimeout(() => g((e) => e?.released ? null : e), 1e3);
900
1669
  return () => window.clearTimeout(e);
901
1670
  }, [h]);
902
- let x = !c && t.length < i, S = !c && t.length > r, C = H((e) => {
1671
+ let x = !c && t.length < i, S = !c && t.length > r, C = V((e) => {
903
1672
  let t = [...e].sort((e, t) => e.stop.offset - t.stop.offset), r = {
904
1673
  stops: t.map((e) => e.stop),
905
1674
  keys: t.map((e) => e.key)
906
1675
  }, i = p.current;
907
1676
  i.known = [r, ...i.known].slice(0, 3), n(r.stops.slice());
908
- }, [n]), w = H(() => t.map((e, t) => ({
1677
+ }, [n]), w = V(() => t.map((e, t) => ({
909
1678
  stop: e,
910
1679
  key: m[t]
911
- })), [t, m]), T = H((e, t, n) => {
1680
+ })), [t, m]), T = V((e, t, n) => {
912
1681
  g({
913
1682
  key: m[e],
914
1683
  offset: t,
915
1684
  released: n
916
1685
  });
917
- }, [m]), E = H((e, t) => {
1686
+ }, [m]), E = V((e, t) => {
918
1687
  C(w().map((n, r) => r === e ? {
919
1688
  ...n,
920
1689
  stop: {
@@ -922,15 +1691,15 @@ var qn = W((e) => {
922
1691
  offset: t
923
1692
  }
924
1693
  } : n));
925
- }, [w, C]), D = H((e, t) => {
1694
+ }, [w, C]), D = V((e, t) => {
926
1695
  v(t ? {
927
1696
  key: m[e],
928
1697
  color: t
929
1698
  } : null);
930
- }, [m]), O = H((e, t) => {
1699
+ }, [m]), O = V((e, t) => {
931
1700
  let n = m[e];
932
1701
  b((e) => t ? n : e === n ? null : e);
933
- }, [m]), k = H((e, t) => {
1702
+ }, [m]), k = V((e, t) => {
934
1703
  C(w().map((n, r) => r === e ? {
935
1704
  ...n,
936
1705
  stop: {
@@ -938,14 +1707,14 @@ var qn = W((e) => {
938
1707
  color: t.toString()
939
1708
  }
940
1709
  } : n));
941
- }, [w, C]), A = H((e) => {
1710
+ }, [w, C]), A = V((e) => {
942
1711
  t.length <= r || C(w().filter((t, n) => n !== e));
943
1712
  }, [
944
1713
  t,
945
1714
  r,
946
1715
  w,
947
1716
  C
948
- ]), j = H((e) => {
1717
+ ]), j = V((e) => {
949
1718
  if (t.length >= i) return;
950
1719
  let n = [...t].sort((e, t) => e.offset - t.offset), r = e;
951
1720
  if (r === void 0) {
@@ -960,7 +1729,7 @@ var qn = W((e) => {
960
1729
  C([...w(), {
961
1730
  stop: {
962
1731
  offset: r,
963
- color: Hn(o.color, s.color, a)
1732
+ color: Zr(o.color, s.color, a)
964
1733
  },
965
1734
  key: p.current.next++
966
1735
  }]);
@@ -970,10 +1739,10 @@ var qn = W((e) => {
970
1739
  a,
971
1740
  w,
972
1741
  C
973
- ]), M = H((e) => {
1742
+ ]), M = V((e) => {
974
1743
  if (!x || e.button !== 0 || y !== null || e.target.closest(".sxl-gradient-stop")) return;
975
1744
  let t = e.currentTarget.getBoundingClientRect();
976
- t.width <= 0 || j(Bn((e.clientX - t.left) / t.width));
1745
+ t.width <= 0 || j(Yr((e.clientX - t.left) / t.width));
977
1746
  }, [
978
1747
  x,
979
1748
  y,
@@ -981,7 +1750,7 @@ var qn = W((e) => {
981
1750
  ]), N = K(() => {
982
1751
  let e = t.map((e, t) => ({
983
1752
  offset: h?.key === m[t] ? h.offset : e.offset,
984
- css: Vn(_?.key === m[t] ? _.color : e.color, a, s)
1753
+ css: Xr(_?.key === m[t] ? _.color : e.color, a, s)
985
1754
  }));
986
1755
  return e.sort((e, t) => e.offset - t.offset), `linear-gradient(90deg, ${e.map((e) => `${e.css} ${(100 * e.offset).toFixed(2)}%`).join(", ")})`;
987
1756
  }, [
@@ -993,7 +1762,7 @@ var qn = W((e) => {
993
1762
  s
994
1763
  ]);
995
1764
  return Q($, {
996
- className: R("sxl-gradient-stops", l),
1765
+ className: L("sxl-gradient-stops", l),
997
1766
  sx: {
998
1767
  display: "flex",
999
1768
  alignItems: "flex-start",
@@ -1022,7 +1791,7 @@ var qn = W((e) => {
1022
1791
  cursor: x ? "copy" : "default",
1023
1792
  opacity: c ? .5 : 1
1024
1793
  },
1025
- children: t.map((e, t) => Z(Kn, {
1794
+ children: t.map((e, t) => Z(ti, {
1026
1795
  index: t,
1027
1796
  stop: e,
1028
1797
  offset: h?.key === m[t] ? h.offset : e.offset,
@@ -1040,28 +1809,28 @@ var qn = W((e) => {
1040
1809
  onOpenChange: O
1041
1810
  }, m[t]))
1042
1811
  })
1043
- }), Z(X, {
1812
+ }), Z(On, {
1044
1813
  disabled: !x,
1045
1814
  propsTooltip: {
1046
1815
  label: d("fill.gradientAddStop"),
1047
1816
  simple: !0
1048
1817
  },
1049
- icon: Z(V, { iconKey: "Add" }),
1818
+ icon: Z(B, { iconKey: "Add" }),
1050
1819
  onClick: () => j(),
1051
1820
  sx: { marginTop: "-3px" }
1052
1821
  })]
1053
1822
  });
1054
1823
  });
1055
- qn.displayName = "GradientStopsBar";
1056
- var Jn = W((e) => {
1057
- let { value: t, onChange: n, minStops: r, maxStops: i, schemeLookup: a, recentColors: o, darkMode: s = !1, disabled: c = !1, className: l, ...u } = e, d = U(), f = H((e) => {
1824
+ ni.displayName = "GradientStopsBar";
1825
+ var ri = W((e) => {
1826
+ let { value: t, onChange: n, minStops: r, maxStops: i, schemeLookup: a, recentColors: o, darkMode: s = !1, disabled: c = !1, className: l, ...u } = e, d = H(), f = V((e) => {
1058
1827
  n({
1059
1828
  ...t,
1060
1829
  ...e
1061
1830
  });
1062
- }, [t, n]), p = t.gradientType === B.GradientType.Linear;
1831
+ }, [t, n]), p = t.gradientType === R.GradientType.Linear;
1063
1832
  return Q($, {
1064
- className: R("sxl-gradient-editor", l),
1833
+ className: L("sxl-gradient-editor", l),
1065
1834
  sx: {
1066
1835
  display: "flex",
1067
1836
  flexDirection: "column",
@@ -1076,30 +1845,30 @@ var Jn = W((e) => {
1076
1845
  gap: 1,
1077
1846
  alignItems: "center"
1078
1847
  },
1079
- children: [Q(_n, {
1848
+ children: [Q(zn, {
1080
1849
  size: "small",
1081
1850
  sx: {
1082
1851
  minWidth: 132,
1083
1852
  flex: "1 1 132px"
1084
1853
  },
1085
- children: [Z(yn, {
1854
+ children: [Z(Vn, {
1086
1855
  shrink: !0,
1087
1856
  children: d("fill.gradientStyle")
1088
- }), Q(Sn, {
1857
+ }), Q(Yn, {
1089
1858
  label: d("fill.gradientStyle"),
1090
1859
  notched: !0,
1091
1860
  disabled: c,
1092
1861
  value: t.gradientType,
1093
1862
  onChange: (e) => f({ gradientType: e.target.value }),
1094
- children: [Z(bn, {
1095
- value: B.GradientType.Linear,
1863
+ children: [Z(qn, {
1864
+ value: R.GradientType.Linear,
1096
1865
  children: d("fill.gradientLinear")
1097
- }), Z(bn, {
1098
- value: B.GradientType.Path,
1866
+ }), Z(qn, {
1867
+ value: R.GradientType.Path,
1099
1868
  children: d("fill.gradientRadial")
1100
1869
  })]
1101
1870
  })]
1102
- }), Z(Cn, {
1871
+ }), Z(Qn, {
1103
1872
  label: d("fill.gradientAngle"),
1104
1873
  type: "number",
1105
1874
  size: "small",
@@ -1126,12 +1895,12 @@ var Jn = W((e) => {
1126
1895
  gap: .5,
1127
1896
  minWidth: 0
1128
1897
  },
1129
- children: [Z(wn, {
1898
+ children: [Z($n, {
1130
1899
  variant: "caption",
1131
1900
  component: "div",
1132
1901
  sx: { color: "text.secondary" },
1133
1902
  children: d("fill.gradientStops")
1134
- }), Z(qn, {
1903
+ }), Z(ni, {
1135
1904
  stops: t.stops,
1136
1905
  onChange: (e) => f({ stops: e }),
1137
1906
  minStops: r,
@@ -1144,8 +1913,8 @@ var Jn = W((e) => {
1144
1913
  })]
1145
1914
  });
1146
1915
  });
1147
- Jn.displayName = "GradientEditor";
1148
- var Yn = (e) => {
1916
+ ri.displayName = "GradientEditor";
1917
+ var ii = (e) => {
1149
1918
  let t = e.getStops();
1150
1919
  return {
1151
1920
  gradientType: e.getGradientType(),
@@ -1153,10 +1922,10 @@ var Yn = (e) => {
1153
1922
  stops: t.length >= 2 ? t.map((e) => ({
1154
1923
  offset: e.getOffset(),
1155
1924
  color: e.getColor().toString()
1156
- })) : [...Xn.stops]
1925
+ })) : [...ai.stops]
1157
1926
  };
1158
- }, Xn = Object.freeze({
1159
- gradientType: B.GradientType.Linear,
1927
+ }, ai = Object.freeze({
1928
+ gradientType: R.GradientType.Linear,
1160
1929
  angle: 90,
1161
1930
  stops: [{
1162
1931
  offset: 0,
@@ -1165,18 +1934,21 @@ var Yn = (e) => {
1165
1934
  offset: 1,
1166
1935
  color: "4472c4"
1167
1936
  }]
1168
- }), Zn = /* @__PURE__ */ new Set(/* @__PURE__ */ "square.elevation.variant.title.onKeyDown.workbook.onWorkbookChange.onDocumentError.propsDocumentError.renderDocumentError.propsDocumentLoading.renderDocumentLoading.propsWorkbook.onWorkbookLoad.propsTaskPaneArea.renderTaskPaneArea.taskPaneSide.logo.onDirtyChange.propsDocumentTitle.showFormulaBar.propsFormulaBar.renderFormulaBar.formulaBarPlacement.manageVisualViewport.editable.showStatusBar.propsStatusBar.renderStatusBar.propsToolbar.renderToolbar.topLeft.topRight.muiTheme.tokens.cssBaseline.autoFocus.licenseKey.prefetch".split(".")), Qn = Dn("studio:eagerStudio", () => import("./BBGsto_-YGhTouc9.mjs").then((e) => e.t)), $n = ({ error: e, onShown: t }) => (G(() => {
1937
+ }), oi = /* @__PURE__ */ new Set(/* @__PURE__ */ "square.elevation.variant.title.onKeyDown.workbook.onWorkbookChange.onDocumentError.propsDocumentError.renderDocumentError.propsDocumentLoading.renderDocumentLoading.propsWorkbook.onWorkbookLoad.propsTaskPaneArea.renderTaskPaneArea.taskPaneSide.logo.onDirtyChange.propsDocumentTitle.showFormulaBar.propsFormulaBar.renderFormulaBar.formulaBarPlacement.virtualKeyboard.editable.showStatusBar.propsStatusBar.renderStatusBar.propsToolbar.renderToolbar.topLeft.topRight.muiTheme.tokens.cssBaseline.autoFocus.licenseKey.prefetch".split(".")), si = nr("studio:eagerStudio", () => import("./CMEIC_DYikQRzC9L.mjs").then((e) => e.t)), ci = ({ error: e, onShown: t }) => (G(() => {
1169
1938
  t();
1170
- }, []), Z(fn, { error: e })), er = W(en((e, t) => {
1939
+ }, []), Z(Mn, { error: e })), li = W(bn((e, t) => {
1171
1940
  let { sx: n, style: r, className: i, licenseKey: a, renderDocumentLoading: o = c, propsDocumentLoading: s, onWorkbookLoad: l, onDocumentError: u, ...d } = e, [f, p] = ((e) => {
1172
1941
  let t = {}, n = {};
1173
- for (let r in e) (Zn.has(r) ? t : n)[r] = e[r];
1942
+ for (let r in e) (oi.has(r) ? t : n)[r] = e[r];
1174
1943
  return [t, n];
1175
1944
  })(d);
1176
1945
  K(() => {
1177
- a && Et.setLicenseKey(a).catch(() => {});
1946
+ a && Ot.setLicenseKey(a).catch(() => {});
1178
1947
  }, [a]);
1179
- let [m] = Yt(kt.Mode, Ot[kt.Mode]), { themeMode: h } = Xt({ mode: m ?? void 0 }), g = h === "dark", [_, v] = J(null), y = Ht("studio", nn()), [b, x] = J(!1), S = K(() => !o || b ? null : Z(xn, {
1948
+ let [m] = hn(Bt.Mode, zt[Bt.Mode]), { themeMode: h } = gn({
1949
+ mode: m ?? void 0,
1950
+ fallback: "system"
1951
+ }), g = h === "dark", [_, v] = J(null), y = cn("studio", Sn()), [b, x] = J(!1), S = K(() => !o || b ? null : Z(Jn, {
1180
1952
  style: {
1181
1953
  backgroundColor: `var(--sxl-color-base-100, ${g ? "#121212" : "#fff"})`,
1182
1954
  inset: 0,
@@ -1188,7 +1960,7 @@ var Yn = (e) => {
1188
1960
  justifyContent: "center",
1189
1961
  zIndex: 9900
1190
1962
  },
1191
- children: Z(Vt, {
1963
+ children: Z(on, {
1192
1964
  render: o,
1193
1965
  props: s ?? {}
1194
1966
  })
@@ -1197,46 +1969,49 @@ var Yn = (e) => {
1197
1969
  s,
1198
1970
  g,
1199
1971
  b
1200
- ]), C = K(() => Ut(Qn.load, { renderError: ({ error: e }) => Z($n, {
1972
+ ]), C = K(() => ln(si.load, { renderError: ({ error: e }) => Z(ci, {
1201
1973
  error: e,
1202
1974
  onShown: () => x(!0)
1203
1975
  }) }), []);
1204
- return Q($, {
1205
- ref: v,
1206
- className: R("sheetxl-studio", y, i),
1207
- "data-sxl-theme-mode": h,
1208
- sx: n,
1209
- style: {
1210
- display: "flex",
1211
- flexDirection: "column",
1212
- flex: "1 1 100%",
1213
- width: "100%",
1214
- height: "100%",
1215
- minWidth: 0,
1216
- minHeight: 0,
1217
- position: "relative",
1218
- overflow: "hidden",
1219
- ...r
1220
- },
1221
- ...p,
1222
- children: [Z(Qt, {
1223
- fallback: null,
1224
- children: Z(C, {
1225
- ...f,
1226
- host: _,
1227
- scopeClass: y,
1228
- onWorkbookLoad: (e) => (requestAnimationFrame(() => requestAnimationFrame(() => x(!0))), l?.(e)),
1229
- onDocumentError: (e) => (x(!0), u?.(e)),
1230
- renderDocumentLoading: null,
1231
- ref: t
1232
- })
1233
- }), S]
1976
+ return Z(sn.Provider, {
1977
+ value: "system",
1978
+ children: Q($, {
1979
+ ref: v,
1980
+ className: L("sheetxl-studio", y, i),
1981
+ "data-sxl-theme-mode": h,
1982
+ sx: n,
1983
+ style: {
1984
+ display: "flex",
1985
+ flexDirection: "column",
1986
+ flex: "1 1 100%",
1987
+ width: "100%",
1988
+ height: "100%",
1989
+ minWidth: 0,
1990
+ minHeight: 0,
1991
+ position: "relative",
1992
+ overflow: "hidden",
1993
+ ...r
1994
+ },
1995
+ ...p,
1996
+ children: [Z(yn, {
1997
+ fallback: null,
1998
+ children: Z(C, {
1999
+ ...f,
2000
+ host: _,
2001
+ scopeClass: y,
2002
+ onWorkbookLoad: (e) => (requestAnimationFrame(() => requestAnimationFrame(() => x(!0))), l?.(e)),
2003
+ onDocumentError: (e) => (x(!0), u?.(e)),
2004
+ renderDocumentLoading: null,
2005
+ ref: t
2006
+ })
2007
+ }), S]
2008
+ })
1234
2009
  });
1235
2010
  }));
1236
- er.displayName = "Studio";
1237
- var tr = (e = {}) => {
1238
- let { source: t, startWith: n, templatePath: r, onWorkbookLoad: i, onWorkbookChange: a, onDirtyChange: o, documentTitle: s, confirmOnClose: c, keyboardGuard: l, ...u } = e, d = Jt(), [f, p] = J(null), [m, h] = J(!1), g = zt(f);
1239
- It(g, m, {
2011
+ li.displayName = "Studio";
2012
+ var ui = (e = {}) => {
2013
+ let { source: t, startWith: n, templatePath: r, onWorkbookLoad: i, onWorkbookChange: a, onDirtyChange: o, documentTitle: s, confirmOnClose: c, keyboardGuard: l, ...u } = e, d = mn(), [f, p] = J(null), [m, h] = J(!1), g = nn(f);
2014
+ $t(g, m, {
1240
2015
  documentTitle: s,
1241
2016
  confirmOnClose: c,
1242
2017
  keyboardGuard: l
@@ -1263,15 +2038,15 @@ var tr = (e = {}) => {
1263
2038
  }, [v]);
1264
2039
  let b = q(a);
1265
2040
  b.current = a;
1266
- let x = tn((e) => {
2041
+ let x = xn((e) => {
1267
2042
  e && y.current && (e.getOrigin().setName(y.current), y.current = null), p(e), b.current?.(e);
1268
2043
  }, []), S = q(o);
1269
2044
  S.current = o;
1270
- let C = tn((e) => {
2045
+ let C = xn((e) => {
1271
2046
  h(e), S.current?.(e);
1272
2047
  }, []);
1273
2048
  G(() => {
1274
- n === "welcome" && _ === void 0 && Ce(r);
2049
+ n === "welcome" && _ === void 0 && we(r);
1275
2050
  }, [
1276
2051
  n,
1277
2052
  _,
@@ -1279,7 +2054,7 @@ var tr = (e = {}) => {
1279
2054
  ]);
1280
2055
  let w = q(!1), T = q(i);
1281
2056
  T.current = i;
1282
- let E = tn((e) => (w.current || (w.current = !0, n === "welcome" && _ === void 0 && requestAnimationFrame(() => requestAnimationFrame(() => {
2057
+ let E = xn((e) => (w.current || (w.current = !0, n === "welcome" && _ === void 0 && requestAnimationFrame(() => requestAnimationFrame(() => {
1283
2058
  e.source?.getCommandScope?.()?.resolve("showWelcome")?.execute({
1284
2059
  templatePath: r,
1285
2060
  atStartup: !0
@@ -1290,6 +2065,7 @@ var tr = (e = {}) => {
1290
2065
  _
1291
2066
  ]);
1292
2067
  return {
2068
+ virtualKeyboard: "resize",
1293
2069
  ...u,
1294
2070
  workbook: _,
1295
2071
  onWorkbookChange: x,
@@ -1297,4 +2073,4 @@ var tr = (e = {}) => {
1297
2073
  onWorkbookLoad: E
1298
2074
  };
1299
2075
  };
1300
- export { r as AnomaliesPlugin, jn as AppearanceCommandButton, Ge as AutoColorPosition, b as BorderCommandButton, et as BorderPopupButton, Qe as BorderStylePopupButton, $e as BorderTemplateIcon, Oe as CalculationOptionsCommandButton, S as CalculationRequiredStatus, e as CircularReferenceStatus, Ze as ColorButton, Ye as ColorButtonList, tt as ColorCommandButton, Ke as ColorPanel, qe as ColorPanelType, Xe as ColorPopupButton, We as ColumnMenu, Ct as CommentCard, k as CommentsPlugin, Xn as DEFAULT_GRADIENT, Dt as DefaultTaskPaneRegistry, we as DefaultWorkbookToolbars, Se as DocThemeCommandButton, Ae as DocumentTitle, f as ExternalLinksPlugin, x as FORMAT_TASK_PANE_KEY, h as FORMULA_BAR_EDITOR_ID, ft as FORMULA_FIELD_ABOVE_LABEL_HEIGHT, An as FileCommandButton, y as FillMenu, rt as FontFamilyCommandButton, nt as FontSizeCommandButton, u as FormatPlugin, d as FormulaBar, dt as FormulaField, _t as FunctionArgumentsPanel, bt as FunctionSearchPanel, Jn as GradientEditor, qn as GradientStopsBar, L as INSERT_CELL_CONTROL_OPTIONS_KEY, St as INSERT_FUNCTION_PAGE_CLASS, kn as InputField, be as InsertCellControlCommandButton, Fe as InsertFunctionCommandPopupButton, yt as InsertFunctionOption, Mn as InsertFunctionSumCommandPopupButton, xt as InsertFunctionWizard, mt as ItemCard, ht as ItemCardAction, gt as ItemsSearchField, Tt as LicenseManager, O as MobileFormulaBar, A as MobileInputToolbar, M as NamedCollectionEditor, m as NamedPlugin, s as NumberFormatCommandButton, ot as NumberFormatOption, oe as NumberStats, Fn as PATTERN_GALLERY, wt as PasswordField, ze as PasteCommandButton, Ln as PatternPopupButton, Pn as PatternSwatch, N as PendingStatus, C as PivotMenu, ee as PivotToolbar, a as PresetCellStylesCommandButton, pt as PresetChip, Ve as PresetPivotStylesCommandButton, g as PresetSlicerStylesCommandButton, lt as PresetTableStylesCommandButton, v as ProtectionPlugin, _ as SheetTabMenu, ve as SheetZoomCommandButton, Ne as SheetZoomScale, he as SheetsAllMenu, p as SlicerPlugin, j as StatusBar, er as Studio, Je as StyledStrokeIcon, T as TablePlugin, ct as TableStyleCanvasPreview, st as TableStylePreview, Te as TableToolbar, D as TextEffectsCommandButton, n as TextRotateGroupButton, ne as ThemeSelectButton, Ue as ThemeSelectPanel, Le as ThemeSelectPopupButton, l as UndoRedoCommandButton, ce as WalkingCopyCommandButton, _e as WorkbookContextMenu, pe as WorkbookElement, At as WorkbookIO, t as WorkbookStrip, je as WorkbookToolbars, fe as createStudioThemeCSS, ue as createThemeFromMUITheme, Me as defaultRenderColumnMenu, re as defaultRenderCommentCard, ye as defaultRenderContextMenu, Pe as defaultRenderFillMenu, ie as defaultRenderFormulaBar, se as defaultRenderHyperlinkCard, De as defaultRenderMovableMenu, xe as defaultRenderOutlineButton, de as defaultRenderOutlineLevelButton, le as defaultRenderPivotMenu, P as defaultRenderPivotToolbar, Ie as defaultRenderSheetTab, He as defaultRenderSheetTabMenu, I as defaultRenderSheetsAll, Be as defaultRenderStatusBar, w as defaultRenderTableToolbar, i as defaultRenderTabs, me as defaultRenderToolbar, Re as defaultRenderTooltip, E as defaultRenderWorkbookError, c as defaultRenderWorkbookLoading, o as defaultRenderWorksheet, at as numberFormatCategoryLabel, it as numberFormatTypeLabel, vt as optionsForPage, In as patternLabel, ae as registerSheetCommandGroups, ge as registerStudioCommandCatalogs, te as registerStudioCommandGroups, Ee as registerWorkbookCommandGroups, Mt as setPrintExamplesOnLoad, Yn as toGradientValue, Nn as toPatternSlots, F as tokensToMuiOptions, ke as useFormulaBarSession, Pt as useModelListener, Ft as useRangeListener, tr as useStudioApp };
2076
+ export { Ge as ANOMALIES_REVIEW_BUTTON, r as AnomaliesPlugin, sr as AppearanceCommandButton, Ke as AutoColorPosition, b as BorderCommandButton, tt as BorderPopupButton, $e as BorderStylePopupButton, et as BorderTemplateIcon, ke as CalculationOptionsCommandButton, S as CalculationRequiredStatus, e as CircularReferenceStatus, Qe as ColorButton, Xe as ColorButtonList, nt as ColorCommandButton, qe as ColorPanel, Je as ColorPanelType, Ze as ColorPopupButton, C as ColumnMenu, wt as CommentCard, k as CommentsPlugin, ai as DEFAULT_GRADIENT, jt as DefaultTaskPaneRegistry, Te as DefaultWorkbookToolbars, Ce as DocThemeCommandButton, je as DocumentTitle, f as ExternalLinksPlugin, h as FORMULA_BAR_EDITOR_ID, pt as FORMULA_FIELD_ABOVE_LABEL_HEIGHT, or as FileCommandButton, y as FillMenu, it as FontFamilyCommandButton, rt as FontSizeCommandButton, x as FormatPlugin, d as FormulaBar, ft as FormulaField, vt as FunctionArgumentsPanel, xt as FunctionSearchPanel, ri as GradientEditor, ni as GradientStopsBar, I as INSERT_CELL_CONTROL_OPTIONS_KEY, Ct as INSERT_FUNCTION_PAGE_CLASS, ar as InputField, xe as InsertCellControlCommandButton, Ie as InsertFunctionCommandPopupButton, bt as InsertFunctionOption, cr as InsertFunctionSumCommandPopupButton, St as InsertFunctionWizard, ht as ItemCard, gt as ItemCardAction, _t as ItemsSearchField, Dt as LicenseManager, O as MobileFormulaBar, A as MobileInputToolbar, M as NamedCollectionEditor, m as NamedPlugin, s as NumberFormatCommandButton, st as NumberFormatOption, se as NumberStats, Wr as PATTERN_GALLERY, Tt as PasswordField, Be as PasteCommandButton, Kr as PatternPopupButton, Ur as PatternSwatch, N as PendingStatus, g as PivotMenu, te as PivotToolbar, zr as PresenceOverlay, Vr as PresencePlugin, yr as PresenceStrip, Rr as PresenceTaskPane, a as PresetCellStylesCommandButton, mt as PresetChip, He as PresetPivotStylesCommandButton, p as PresetSlicerStylesCommandButton, ut as PresetTableStylesCommandButton, v as ProtectionPlugin, _ as SheetTabMenu, ye as SheetZoomCommandButton, Pe as SheetZoomScale, ge as SheetsAllMenu, u as SlicerPlugin, j as StatusBar, li as Studio, Ye as StyledStrokeIcon, T as TablePlugin, lt as TableStyleCanvasPreview, ct as TableStylePreview, Ee as TableToolbar, D as TextEffectsCommandButton, n as TextRotateGroupButton, re as ThemeSelectButton, We as ThemeSelectPanel, Re as ThemeSelectPopupButton, l as UndoRedoCommandButton, le as WalkingCopyCommandButton, ve as WorkbookContextMenu, me as WorkbookElement, Vt as WorkbookIO, t as WorkbookStrip, Me as WorkbookToolbars, pe as createStudioThemeCSS, de as createThemeFromMUITheme, Ne as defaultRenderColumnMenu, ie as defaultRenderCommentCard, be as defaultRenderContextMenu, Fe as defaultRenderFillMenu, ae as defaultRenderFormulaBar, ce as defaultRenderHyperlinkCard, Oe as defaultRenderMovableMenu, Se as defaultRenderOutlineButton, fe as defaultRenderOutlineLevelButton, ue as defaultRenderPivotMenu, P as defaultRenderPivotToolbar, Le as defaultRenderSheetTab, Ue as defaultRenderSheetTabMenu, F as defaultRenderSheetsAll, Ve as defaultRenderStatusBar, w as defaultRenderTableToolbar, i as defaultRenderTabs, he as defaultRenderToolbar, ze as defaultRenderTooltip, E as defaultRenderWorkbookError, c as defaultRenderWorkbookLoading, o as defaultRenderWorksheet, ot as numberFormatCategoryLabel, at as numberFormatTypeLabel, yt as optionsForPage, Gr as patternLabel, oe as registerSheetCommandGroups, _e as registerStudioCommandCatalogs, ne as registerStudioCommandGroups, De as registerWorkbookCommandGroups, qt as setPrintExamplesOnLoad, ii as toGradientValue, Hr as toPatternSlots, ee as tokensToMuiOptions, Ae as useFormulaBarSession, Yt as useModelListener, Qt as useRangeListener, ui as useStudioApp };