@univerjs/ui 0.1.8 → 0.1.10

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.
package/lib/es/index.js CHANGED
@@ -1,12 +1,12 @@
1
1
  var T2 = Object.defineProperty;
2
2
  var V2 = (e, t, n) => t in e ? T2(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var B = (e, t, n) => (V2(e, typeof t != "symbol" ? t + "" : t, n), n);
4
- var kt = (e, t, n) => {
4
+ var At = (e, t, n) => {
5
5
  if (t.has(e))
6
6
  throw TypeError("Cannot add the same private member more than once");
7
7
  t instanceof WeakSet ? t.add(e) : t.set(e, n);
8
8
  };
9
- import { toDisposable as O1, IUniverInstanceService as Oe, LocaleService as ie, ColorKit as An, Disposable as z1, EDITOR_ACTIVATED as At, FOCUSING_EDITOR_STANDALONE as $t, FOCUSING_UNIVER_EDITOR_STANDALONE_SINGLE_MODE as N2, FOCUSING_EDITOR_INPUT_FORMULA as D2, UniverInstanceType as le, DEFAULT_EMPTY_DOCUMENT_VALUE as k2, VerticalAlign as A2, HorizontalAlign as $2, IContextService as S3, Workbook as j2, DocumentDataModel as P2, SlideDataModel as U2, remove as q3, FOCUSING_UNIVER_EDITOR as Xt, OnLifecycle as ht, LifecycleStages as ve, ILogService as $n, ICommandService as Ae, isRealNum as B2, CommandType as $e, IUndoRedoService as jn, UndoCommand as Pn, RedoCommand as Un, Tools as Ee, ThemeService as Bn, LifecycleService as z2, ErrorService as F2, Plugin as Z2, ILocalStorageService as W2, IConfigService as Y2, BaselineOffset as jt, getBorderStyleType as se, BorderStyleTypes as G2, isInternalEditorID as X2, debounce as Q3 } from "@univerjs/core";
9
+ import { toDisposable as I1, IUniverInstanceService as Oe, LocaleService as ie, ColorKit as An, Disposable as z1, EDITOR_ACTIVATED as $t, FOCUSING_EDITOR_STANDALONE as jt, FOCUSING_UNIVER_EDITOR_STANDALONE_SINGLE_MODE as N2, FOCUSING_EDITOR_INPUT_FORMULA as D2, UniverInstanceType as le, DEFAULT_EMPTY_DOCUMENT_VALUE as k2, VerticalAlign as A2, HorizontalAlign as $2, IContextService as ht, Workbook as j2, DocumentDataModel as P2, SlideDataModel as U2, remove as q3, FOCUSING_UNIVER_EDITOR as qt, OnLifecycle as gt, LifecycleStages as ve, ILogService as $n, ICommandService as Ae, isRealNum as B2, CommandType as $e, IUndoRedoService as jn, UndoCommand as Pn, RedoCommand as Un, Tools as Ee, ThemeService as Bn, LifecycleService as z2, ErrorService as F2, Plugin as Z2, mergeOverrideWithDependencies as W2, ILocalStorageService as Y2, BaselineOffset as Pt, getBorderStyleType as se, BorderStyleTypes as G2, isInternalEditorID as X2, debounce as Q3 } from "@univerjs/core";
10
10
  import { Observable as ot, isObservable as st, Subject as x1, fromEvent as q2, BehaviorSubject as L3, combineLatest as Q2, map as J2, filter as K2, delay as ea, take as ta, distinctUntilChanged as na } from "rxjs";
11
11
  import { useDependency as u1, useInjector as zn, connectInjector as ra } from "@wendellhu/redi/react-bindings";
12
12
  import * as t1 from "react";
@@ -16,7 +16,7 @@ import { IRenderManagerService as Wn, UNIVER_GLOBAL_DEFAULT_FONT_SIZE as oa, ITe
16
16
  import { operatorToken as la, isReferenceStrings as ca, LexerTreeBuilder as ua, serializeRange as da, serializeRangeWithSheet as fa, serializeRangeWithSpreadsheet as ha, isReferenceStringWithEffectiveColumn as J3, getRangeWithRefsString as ga } from "@univerjs/engine-formula";
17
17
  import { map as Gn } from "rxjs/operators";
18
18
  import Xn, { createPortal as pa } from "react-dom";
19
- import { InputNumber as ma, Menu as va, MenuItemGroup as Ca, MenuItem as qt, SubMenu as K3, Tooltip as w3, Dropdown as Qt, ConfigContext as _a, Confirm as ba, Popup as qn, Dialog as Qn, RectPopup as ya, defaultTheme as Sa, themeInstance as en, ConfigProvider as La, Message as Ma, MessageType as wa, Button as Pt, Input as xa } from "@univerjs/design";
19
+ import { InputNumber as ma, Menu as va, MenuItemGroup as Ca, MenuItem as Qt, SubMenu as K3, Tooltip as w3, Dropdown as Jt, ConfigContext as _a, Confirm as ya, Popup as qn, Dialog as Qn, RectPopup as ba, defaultTheme as Sa, themeInstance as en, ConfigProvider as La, Message as Ma, MessageType as wa, Button as Ut, Input as xa } from "@univerjs/design";
20
20
  import k1 from "clsx";
21
21
  var X1 = function() {
22
22
  return X1 = Object.assign || function(e) {
@@ -233,22 +233,22 @@ var Ja = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 17 17", width: "1em"
233
233
  }));
234
234
  });
235
235
  _6.displayName = "ContentSingle16";
236
- var Ka = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_102_1141", style: { maskType: "alpha" }, width: 16, height: 16, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#DCDCDC", d: "M0 0H16V16H0z" } }] }, { tag: "g", attrs: { mask: "url(#mask0_102_1141)", fillRule: "evenodd", clipRule: "evenodd" }, children: [{ tag: "path", attrs: { fill: "colorChannel1", d: "M5.4004 2.60213C5.25792 2.60213 5.14241 2.71763 5.14241 2.86011V4.32679C5.14241 4.67752 4.85809 4.96184 4.50736 4.96184C4.15663 4.96184 3.87231 4.67752 3.87231 4.32679V2.86011C3.87231 2.01618 4.55646 1.33203 5.4004 1.33203H13.14C13.984 1.33203 14.6681 2.01618 14.6681 2.86011V10.5998C14.6681 11.4437 13.984 12.1278 13.14 12.1278H11.6568C11.3061 12.1278 11.0218 11.8435 11.0218 11.4928C11.0218 11.1421 11.3061 10.8577 11.6568 10.8577H13.14C13.2825 10.8577 13.398 10.7422 13.398 10.5998V2.86011C13.398 2.71763 13.2825 2.60213 13.14 2.60213H5.4004Z" } }, { tag: "path", attrs: { fill: "currentColor", d: "M1.33203 5.40015C1.33203 4.55622 2.01618 3.87207 2.86011 3.87207H10.5998C11.4437 3.87207 12.1278 4.55622 12.1278 5.40015V13.1398C12.1278 13.9837 11.4437 14.6679 10.5998 14.6679H2.86011C2.01618 14.6679 1.33203 13.9837 1.33203 13.1398V5.40015ZM2.86011 5.14217C2.71763 5.14217 2.60213 5.25767 2.60213 5.40015V13.1398C2.60213 13.2823 2.71763 13.3978 2.86011 13.3978H10.5998C10.7422 13.3978 10.8577 13.2823 10.8577 13.1398V5.40015C10.8577 5.25767 10.7422 5.14217 10.5998 5.14217H2.86011Z" } }] }] }, b6 = H(function(e, t) {
236
+ var Ka = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_102_1141", style: { maskType: "alpha" }, width: 16, height: 16, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#DCDCDC", d: "M0 0H16V16H0z" } }] }, { tag: "g", attrs: { mask: "url(#mask0_102_1141)", fillRule: "evenodd", clipRule: "evenodd" }, children: [{ tag: "path", attrs: { fill: "colorChannel1", d: "M5.4004 2.60213C5.25792 2.60213 5.14241 2.71763 5.14241 2.86011V4.32679C5.14241 4.67752 4.85809 4.96184 4.50736 4.96184C4.15663 4.96184 3.87231 4.67752 3.87231 4.32679V2.86011C3.87231 2.01618 4.55646 1.33203 5.4004 1.33203H13.14C13.984 1.33203 14.6681 2.01618 14.6681 2.86011V10.5998C14.6681 11.4437 13.984 12.1278 13.14 12.1278H11.6568C11.3061 12.1278 11.0218 11.8435 11.0218 11.4928C11.0218 11.1421 11.3061 10.8577 11.6568 10.8577H13.14C13.2825 10.8577 13.398 10.7422 13.398 10.5998V2.86011C13.398 2.71763 13.2825 2.60213 13.14 2.60213H5.4004Z" } }, { tag: "path", attrs: { fill: "currentColor", d: "M1.33203 5.40015C1.33203 4.55622 2.01618 3.87207 2.86011 3.87207H10.5998C11.4437 3.87207 12.1278 4.55622 12.1278 5.40015V13.1398C12.1278 13.9837 11.4437 14.6679 10.5998 14.6679H2.86011C2.01618 14.6679 1.33203 13.9837 1.33203 13.1398V5.40015ZM2.86011 5.14217C2.71763 5.14217 2.60213 5.25767 2.60213 5.40015V13.1398C2.60213 13.2823 2.71763 13.3978 2.86011 13.3978H10.5998C10.7422 13.3978 10.8577 13.2823 10.8577 13.1398V5.40015C10.8577 5.25767 10.7422 5.14217 10.5998 5.14217H2.86011Z" } }] }] }, y6 = H(function(e, t) {
237
237
  return O(R, Object.assign({}, e, {
238
238
  id: "copy",
239
239
  ref: t,
240
240
  icon: Ka
241
241
  }));
242
242
  });
243
- b6.displayName = "Copy";
244
- var eo = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_102_1093", style: { maskType: "alpha" }, width: 16, height: 16, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#DCDCDC", d: "M0 0H16V16H0z" } }] }, { tag: "g", attrs: { mask: "url(#mask0_102_1093)", fillRule: "evenodd", clipRule: "evenodd" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M7.69148 5.44796C7.69148 5.07977 7.393 4.7813 7.02481 4.7813H3.25445C2.88626 4.7813 2.58779 5.07977 2.58779 5.44796V10.5516C2.58779 10.9198 2.88626 11.2183 3.25445 11.2183H7.02481C7.393 11.2183 7.69148 10.9198 7.69148 10.5516V5.44796ZM2.58779 3.50537C1.88311 3.50537 1.31186 4.07662 1.31186 4.7813V11.2183C1.31186 11.923 1.88311 12.4942 2.58779 12.4942H7.69148C8.39613 12.4942 8.96739 11.923 8.96739 11.2183V4.7813C8.96739 4.07662 8.39613 3.50537 7.69148 3.50537H2.58779Z" } }, { tag: "path", attrs: { fill: "colorChannel1", d: "M11.8919 10.4557C11.9671 10.4869 12.0496 10.5041 12.1361 10.5041C12.2226 10.5041 12.3051 10.4869 12.3803 10.4557C12.4555 10.4246 12.526 10.3784 12.5872 10.3172L14.5011 8.40335C14.7502 8.15421 14.7502 7.75028 14.5011 7.50114C14.2519 7.252 13.848 7.252 13.5989 7.50114L12.774 8.32595V6.13406C12.774 5.78172 12.4884 5.49609 12.1361 5.49609C11.7837 5.49609 11.4981 5.78172 11.4981 6.13406V8.32595L10.6733 7.50114C10.4241 7.252 10.0202 7.252 9.77106 7.50114C9.52192 7.75028 9.52192 8.15421 9.77106 8.40335L11.6847 10.3169M6.97288 9.84189C6.69858 10.1235 6.25386 10.1235 5.97956 9.84189L5.17866 9.01974L4.37769 9.84195C4.1034 10.1235 3.65867 10.1235 3.38437 9.84195C3.11008 9.56038 3.11008 9.10385 3.38437 8.82228L4.18534 8.00007L3.38439 7.17787C3.11009 6.8963 3.11009 6.43977 3.38439 6.1582C3.65869 5.87663 4.10341 5.87663 4.37771 6.1582L5.17866 6.9804L5.97954 6.15826C6.25384 5.87669 6.69857 5.87669 6.97287 6.15826C7.24716 6.43984 7.24716 6.89636 6.97286 7.17793L6.17198 8.00007L6.97288 8.82222C7.24718 9.10379 7.24718 9.56031 6.97288 9.84189Z" } }] }] }, y6 = H(function(e, t) {
243
+ y6.displayName = "Copy";
244
+ var eo = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_102_1093", style: { maskType: "alpha" }, width: 16, height: 16, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#DCDCDC", d: "M0 0H16V16H0z" } }] }, { tag: "g", attrs: { mask: "url(#mask0_102_1093)", fillRule: "evenodd", clipRule: "evenodd" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M7.69148 5.44796C7.69148 5.07977 7.393 4.7813 7.02481 4.7813H3.25445C2.88626 4.7813 2.58779 5.07977 2.58779 5.44796V10.5516C2.58779 10.9198 2.88626 11.2183 3.25445 11.2183H7.02481C7.393 11.2183 7.69148 10.9198 7.69148 10.5516V5.44796ZM2.58779 3.50537C1.88311 3.50537 1.31186 4.07662 1.31186 4.7813V11.2183C1.31186 11.923 1.88311 12.4942 2.58779 12.4942H7.69148C8.39613 12.4942 8.96739 11.923 8.96739 11.2183V4.7813C8.96739 4.07662 8.39613 3.50537 7.69148 3.50537H2.58779Z" } }, { tag: "path", attrs: { fill: "colorChannel1", d: "M11.8919 10.4557C11.9671 10.4869 12.0496 10.5041 12.1361 10.5041C12.2226 10.5041 12.3051 10.4869 12.3803 10.4557C12.4555 10.4246 12.526 10.3784 12.5872 10.3172L14.5011 8.40335C14.7502 8.15421 14.7502 7.75028 14.5011 7.50114C14.2519 7.252 13.848 7.252 13.5989 7.50114L12.774 8.32595V6.13406C12.774 5.78172 12.4884 5.49609 12.1361 5.49609C11.7837 5.49609 11.4981 5.78172 11.4981 6.13406V8.32595L10.6733 7.50114C10.4241 7.252 10.0202 7.252 9.77106 7.50114C9.52192 7.75028 9.52192 8.15421 9.77106 8.40335L11.6847 10.3169M6.97288 9.84189C6.69858 10.1235 6.25386 10.1235 5.97956 9.84189L5.17866 9.01974L4.37769 9.84195C4.1034 10.1235 3.65867 10.1235 3.38437 9.84195C3.11008 9.56038 3.11008 9.10385 3.38437 8.82228L4.18534 8.00007L3.38439 7.17787C3.11009 6.8963 3.11009 6.43977 3.38439 6.1582C3.65869 5.87663 4.10341 5.87663 4.37771 6.1582L5.17866 6.9804L5.97954 6.15826C6.25384 5.87669 6.69857 5.87669 6.97287 6.15826C7.24716 6.43984 7.24716 6.89636 6.97286 7.17793L6.17198 8.00007L6.97288 8.82222C7.24718 9.10379 7.24718 9.56031 6.97288 9.84189Z" } }] }] }, b6 = H(function(e, t) {
245
245
  return O(R, Object.assign({}, e, {
246
246
  id: "delete-cell-move-down",
247
247
  ref: t,
248
248
  icon: eo
249
249
  }));
250
250
  });
251
- y6.displayName = "DeleteCellMoveDown";
251
+ b6.displayName = "DeleteCellMoveDown";
252
252
  var to = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_252_31", style: { maskType: "alpha" }, width: 16, height: 16, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#DCDCDC", d: "M16 16H32V32H16z", transform: "rotate(180 16 16)" } }] }, { tag: "g", attrs: { mask: "url(#mask0_252_31)", fillRule: "evenodd", clipRule: "evenodd" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M8.29012 10.552C8.29012 10.9202 8.5886 11.2187 8.95679 11.2187L12.7271 11.2187C13.0953 11.2187 13.3938 10.9202 13.3938 10.552L13.3938 5.44836C13.3938 5.08016 13.0953 4.7817 12.7271 4.7817L8.95678 4.7817C8.5886 4.7817 8.29012 5.08016 8.29012 5.44836L8.29012 10.552ZM13.3938 12.4946C14.0985 12.4946 14.6697 11.9234 14.6697 11.2187L14.6697 4.7817C14.6697 4.07703 14.0985 3.50576 13.3938 3.50576L8.29012 3.50576C7.58547 3.50576 7.0142 4.07703 7.0142 4.7817L7.0142 11.2187C7.0142 11.9234 7.58547 12.4946 8.29012 12.4946L13.3938 12.4946Z" } }, { tag: "path", attrs: { fill: "colorChannel1", d: "M1.37899 7.7562C1.34779 7.83142 1.33053 7.9139 1.33053 8.0004C1.33053 8.0869 1.34779 8.16938 1.37899 8.2446C1.41013 8.31985 1.45626 8.39034 1.51739 8.45151L3.43133 10.3654C3.68046 10.6145 4.08439 10.6145 4.33353 10.3654C4.58266 10.1163 4.58266 9.71232 4.33353 9.46318L3.50873 8.63836L5.70059 8.63836C6.05293 8.63836 6.33855 8.35273 6.33855 8.0004C6.33855 7.64806 6.05293 7.36244 5.70059 7.36244L3.50873 7.36244L4.33353 6.53762C4.58266 6.28848 4.58266 5.88455 4.33353 5.63541C4.08439 5.38627 3.68046 5.38627 3.43133 5.63541L1.51773 7.54899M9.00896 6.15858C9.28326 5.87701 9.72798 5.87701 10.0023 6.15858L10.8032 6.98073L11.6042 6.15852C11.8784 5.87695 12.3232 5.87695 12.5975 6.15852C12.8718 6.44009 12.8718 6.89661 12.5975 7.17819L11.7965 8.00041L12.5975 8.8226C12.8718 9.10417 12.8718 9.56069 12.5975 9.84227C12.3232 10.1238 11.8784 10.1238 11.6041 9.84227L10.8032 9.02007L10.0023 9.84221C9.728 10.1238 9.28327 10.1238 9.00897 9.84221C8.73468 9.56063 8.73468 9.10411 9.00898 8.82254L9.80987 8.00041L9.00896 7.17825C8.73466 6.89668 8.73466 6.44016 9.00896 6.15858Z" } }] }] }, S6 = H(function(e, t) {
253
253
  return O(R, Object.assign({}, e, {
254
254
  id: "delete-cell-shift-left",
@@ -379,19 +379,19 @@ var _o = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 17", width: "1em"
379
379
  }));
380
380
  });
381
381
  A6.displayName = "FreezeRowSingle";
382
- var bo = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 17", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_102_721", style: { maskType: "alpha" }, width: 16, height: 17, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#D9D9D9", d: "M0 0H16V16.55H0z" } }] }, { tag: "g", attrs: { mask: "url(#mask0_102_721)" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M13.3335 1.37866C14.0699 1.37866 14.6668 1.99595 14.6668 2.75741V13.7874C14.6668 14.5489 14.0699 15.1661 13.3335 15.1661H2.66683C1.93046 15.1661 1.3335 14.5489 1.3335 13.7874V2.75741C1.3335 1.99595 1.93045 1.37866 2.66683 1.37866H13.3335ZM13.3335 6.54896V4.70313L11.3997 6.54896H13.3335ZM9.43397 6.54896L13.2146 2.94023C13.2517 2.90486 13.2916 2.87466 13.3335 2.84959V2.75741H11.9291L7.99087 6.54896H9.43397ZM7.00016 7.92771H13.3335V13.7874H7.00016V10.3685C7.0009 10.3498 7.0009 10.331 7.00016 10.3123V7.92771ZM5.66683 13.7874V11.9383L3.76985 13.7874H5.66683ZM5.66683 8.78641V10.0435L2.66683 12.9678V11.6747L5.66683 8.78641ZM9.97243 2.75741L2.66683 9.79085V8.57945L8.92354 2.75741H9.97243ZM5.62805 2.75741H6.93026L2.66683 6.72465V5.47976L5.62805 2.75741ZM3.62132 2.75741L2.66683 3.63491V2.75741H3.62132Z", fillRule: "evenodd", clipRule: "evenodd" } }] }] }, $6 = H(function(e, t) {
382
+ var yo = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 17", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_102_721", style: { maskType: "alpha" }, width: 16, height: 17, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#D9D9D9", d: "M0 0H16V16.55H0z" } }] }, { tag: "g", attrs: { mask: "url(#mask0_102_721)" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M13.3335 1.37866C14.0699 1.37866 14.6668 1.99595 14.6668 2.75741V13.7874C14.6668 14.5489 14.0699 15.1661 13.3335 15.1661H2.66683C1.93046 15.1661 1.3335 14.5489 1.3335 13.7874V2.75741C1.3335 1.99595 1.93045 1.37866 2.66683 1.37866H13.3335ZM13.3335 6.54896V4.70313L11.3997 6.54896H13.3335ZM9.43397 6.54896L13.2146 2.94023C13.2517 2.90486 13.2916 2.87466 13.3335 2.84959V2.75741H11.9291L7.99087 6.54896H9.43397ZM7.00016 7.92771H13.3335V13.7874H7.00016V10.3685C7.0009 10.3498 7.0009 10.331 7.00016 10.3123V7.92771ZM5.66683 13.7874V11.9383L3.76985 13.7874H5.66683ZM5.66683 8.78641V10.0435L2.66683 12.9678V11.6747L5.66683 8.78641ZM9.97243 2.75741L2.66683 9.79085V8.57945L8.92354 2.75741H9.97243ZM5.62805 2.75741H6.93026L2.66683 6.72465V5.47976L5.62805 2.75741ZM3.62132 2.75741L2.66683 3.63491V2.75741H3.62132Z", fillRule: "evenodd", clipRule: "evenodd" } }] }] }, $6 = H(function(e, t) {
383
383
  return O(R, Object.assign({}, e, {
384
384
  id: "freeze-to-selected-single",
385
385
  ref: t,
386
- icon: bo
386
+ icon: yo
387
387
  }));
388
388
  });
389
389
  $6.displayName = "FreezeToSelectedSingle";
390
- var yo = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M2.71141 2.48718C2.81434 2.23868 3.05682 2.07666 3.32579 2.07666H11.7978C11.9742 2.07666 12.1433 2.14672 12.268 2.27143L13.1445 3.14785C13.4042 3.40755 13.4042 3.8286 13.1445 4.0883C12.8848 4.348 12.4637 4.348 12.204 4.0883L11.5224 3.40666H4.93124L9.05451 7.52993C9.31421 7.78963 9.31421 8.21069 9.05451 8.47039L4.93124 12.5937H11.5224L12.204 11.912C12.4637 11.6523 12.8848 11.6523 13.1445 11.912C13.4042 12.1717 13.4042 12.5928 13.1445 12.8525L12.268 13.7289C12.1433 13.8536 11.9742 13.9237 11.7978 13.9237H3.32579C3.05682 13.9237 2.81434 13.7616 2.71141 13.5131C2.60848 13.2647 2.66537 12.9786 2.85556 12.7884L7.64383 8.00016L2.85556 3.21189C2.66537 3.0217 2.60848 2.73567 2.71141 2.48718Z", fillRule: "evenodd", clipRule: "evenodd" } }] }, j6 = H(function(e, t) {
390
+ var bo = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M2.71141 2.48718C2.81434 2.23868 3.05682 2.07666 3.32579 2.07666H11.7978C11.9742 2.07666 12.1433 2.14672 12.268 2.27143L13.1445 3.14785C13.4042 3.40755 13.4042 3.8286 13.1445 4.0883C12.8848 4.348 12.4637 4.348 12.204 4.0883L11.5224 3.40666H4.93124L9.05451 7.52993C9.31421 7.78963 9.31421 8.21069 9.05451 8.47039L4.93124 12.5937H11.5224L12.204 11.912C12.4637 11.6523 12.8848 11.6523 13.1445 11.912C13.4042 12.1717 13.4042 12.5928 13.1445 12.8525L12.268 13.7289C12.1433 13.8536 11.9742 13.9237 11.7978 13.9237H3.32579C3.05682 13.9237 2.81434 13.7616 2.71141 13.5131C2.60848 13.2647 2.66537 12.9786 2.85556 12.7884L7.64383 8.00016L2.85556 3.21189C2.66537 3.0217 2.60848 2.73567 2.71141 2.48718Z", fillRule: "evenodd", clipRule: "evenodd" } }] }, j6 = H(function(e, t) {
391
391
  return O(R, Object.assign({}, e, {
392
392
  id: "function-single",
393
393
  ref: t,
394
- icon: yo
394
+ icon: bo
395
395
  }));
396
396
  });
397
397
  j6.displayName = "FunctionSingle";
@@ -671,22 +671,22 @@ var r9 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em"
671
671
  }));
672
672
  });
673
673
  _r.displayName = "PasteSpecial";
674
- var i9 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M3.44719 4.0002H2.00004C1.63185 4.0002 1.33337 3.70173 1.33337 3.33354C1.33337 2.96535 1.63185 2.66687 2.00004 2.66687H3.44716C3.72171 1.89005 4.46255 1.3335 5.33337 1.3335C6.2042 1.3335 6.94504 1.89005 7.21958 2.66687H11.6666C13.3628 2.66687 14.6669 3.93225 14.6667 5.66694C14.6666 7.4014 13.3629 8.66687 11.6666 8.66687H6.66683L6.6594 8.66683H4.33351C3.36298 8.66683 2.66662 9.34592 2.66671 10.3334C2.6668 11.3212 3.36309 12.0002 4.33351 12.0002H8.78051C9.05508 11.2234 9.79589 10.6669 10.6667 10.6669C11.5375 10.6669 12.2783 11.2234 12.5529 12.0001H14C14.3682 12.0001 14.6667 12.2986 14.6667 12.6668C14.6667 13.035 14.3682 13.3335 14 13.3335H12.5529C12.2784 14.1103 11.5375 14.6669 10.6667 14.6669C9.79586 14.6669 9.05502 14.1103 8.78048 13.3335H4.33351C2.63723 13.3335 1.33353 12.068 1.33337 10.3336C1.33322 8.59887 2.63735 7.3335 4.33351 7.3335H6.66671L6.67414 7.33354H11.6666C12.637 7.33354 13.3333 6.65454 13.3334 5.66681C13.3335 4.67929 12.6371 4.0002 11.6666 4.0002H7.21956C6.94499 4.77698 6.20417 5.3335 5.33337 5.3335C4.46258 5.3335 3.72176 4.77698 3.44719 4.0002ZM4.66671 3.3335C4.66671 2.96531 4.96518 2.66683 5.33337 2.66683C5.70156 2.66683 6.00004 2.96531 6.00004 3.3335C6.00004 3.70169 5.70156 4.00016 5.33337 4.00016C4.96518 4.00016 4.66671 3.70169 4.66671 3.3335ZM10 12.6701C10.0018 13.0368 10.2996 13.3335 10.6667 13.3335C11.0349 13.3335 11.3334 13.0351 11.3334 12.6669C11.3334 12.2987 11.0349 12.0002 10.6667 12.0002C10.2996 12.0002 10.0018 12.2969 10 12.6636L10 12.6668L10 12.6701Z", fillRule: "evenodd", clipRule: "evenodd" } }] }, br = H(function(e, t) {
674
+ var i9 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M3.44719 4.0002H2.00004C1.63185 4.0002 1.33337 3.70173 1.33337 3.33354C1.33337 2.96535 1.63185 2.66687 2.00004 2.66687H3.44716C3.72171 1.89005 4.46255 1.3335 5.33337 1.3335C6.2042 1.3335 6.94504 1.89005 7.21958 2.66687H11.6666C13.3628 2.66687 14.6669 3.93225 14.6667 5.66694C14.6666 7.4014 13.3629 8.66687 11.6666 8.66687H6.66683L6.6594 8.66683H4.33351C3.36298 8.66683 2.66662 9.34592 2.66671 10.3334C2.6668 11.3212 3.36309 12.0002 4.33351 12.0002H8.78051C9.05508 11.2234 9.79589 10.6669 10.6667 10.6669C11.5375 10.6669 12.2783 11.2234 12.5529 12.0001H14C14.3682 12.0001 14.6667 12.2986 14.6667 12.6668C14.6667 13.035 14.3682 13.3335 14 13.3335H12.5529C12.2784 14.1103 11.5375 14.6669 10.6667 14.6669C9.79586 14.6669 9.05502 14.1103 8.78048 13.3335H4.33351C2.63723 13.3335 1.33353 12.068 1.33337 10.3336C1.33322 8.59887 2.63735 7.3335 4.33351 7.3335H6.66671L6.67414 7.33354H11.6666C12.637 7.33354 13.3333 6.65454 13.3334 5.66681C13.3335 4.67929 12.6371 4.0002 11.6666 4.0002H7.21956C6.94499 4.77698 6.20417 5.3335 5.33337 5.3335C4.46258 5.3335 3.72176 4.77698 3.44719 4.0002ZM4.66671 3.3335C4.66671 2.96531 4.96518 2.66683 5.33337 2.66683C5.70156 2.66683 6.00004 2.96531 6.00004 3.3335C6.00004 3.70169 5.70156 4.00016 5.33337 4.00016C4.96518 4.00016 4.66671 3.70169 4.66671 3.3335ZM10 12.6701C10.0018 13.0368 10.2996 13.3335 10.6667 13.3335C11.0349 13.3335 11.3334 13.0351 11.3334 12.6669C11.3334 12.2987 11.0349 12.0002 10.6667 12.0002C10.2996 12.0002 10.0018 12.2969 10 12.6636L10 12.6668L10 12.6701Z", fillRule: "evenodd", clipRule: "evenodd" } }] }, yr = H(function(e, t) {
675
675
  return O(R, Object.assign({}, e, {
676
676
  id: "piping-single",
677
677
  ref: t,
678
678
  icon: i9
679
679
  }));
680
680
  });
681
- br.displayName = "PipingSingle";
682
- var a9 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_102_659", style: { maskType: "alpha" }, width: 16, height: 16, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#DCDCDC", d: "M0 0H16V16H0z" } }] }, { tag: "g", attrs: { mask: "url(#mask0_102_659)" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M14.1876 6.47237C14.4479 6.22371 14.4479 5.82055 14.1876 5.57189L9.94491 1.51975C9.68456 1.27109 9.26245 1.27109 9.0021 1.51975C8.74175 1.76841 8.74175 2.17156 9.0021 2.42022L12.1067 5.3854H6.47602C3.79261 5.3854 1.61727 7.46307 1.61727 10.026C1.61727 12.5889 3.7926 14.6666 6.47602 14.6666H9.79268C10.1443 14.6666 10.4294 14.3815 10.4294 14.0299C10.4294 13.6782 10.1443 13.3931 9.79268 13.3931H6.47602C4.52899 13.3931 2.9506 11.8856 2.9506 10.026C2.9506 8.16638 4.52899 6.65887 6.47602 6.65887H12.1067L9.0021 9.62404C8.74175 9.8727 8.74175 10.2759 9.0021 10.5245C9.26245 10.7732 9.68456 10.7732 9.94491 10.5245L14.1876 6.47237Z", fillRule: "evenodd", clipRule: "evenodd" } }] }] }, yr = H(function(e, t) {
681
+ yr.displayName = "PipingSingle";
682
+ var a9 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_102_659", style: { maskType: "alpha" }, width: 16, height: 16, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#DCDCDC", d: "M0 0H16V16H0z" } }] }, { tag: "g", attrs: { mask: "url(#mask0_102_659)" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M14.1876 6.47237C14.4479 6.22371 14.4479 5.82055 14.1876 5.57189L9.94491 1.51975C9.68456 1.27109 9.26245 1.27109 9.0021 1.51975C8.74175 1.76841 8.74175 2.17156 9.0021 2.42022L12.1067 5.3854H6.47602C3.79261 5.3854 1.61727 7.46307 1.61727 10.026C1.61727 12.5889 3.7926 14.6666 6.47602 14.6666H9.79268C10.1443 14.6666 10.4294 14.3815 10.4294 14.0299C10.4294 13.6782 10.1443 13.3931 9.79268 13.3931H6.47602C4.52899 13.3931 2.9506 11.8856 2.9506 10.026C2.9506 8.16638 4.52899 6.65887 6.47602 6.65887H12.1067L9.0021 9.62404C8.74175 9.8727 8.74175 10.2759 9.0021 10.5245C9.26245 10.7732 9.68456 10.7732 9.94491 10.5245L14.1876 6.47237Z", fillRule: "evenodd", clipRule: "evenodd" } }] }] }, br = H(function(e, t) {
683
683
  return O(R, Object.assign({}, e, {
684
684
  id: "redo-single",
685
685
  ref: t,
686
686
  icon: a9
687
687
  }));
688
688
  });
689
- yr.displayName = "RedoSingle";
689
+ br.displayName = "RedoSingle";
690
690
  var o9 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_233_11", style: { maskType: "alpha" }, width: 16, height: 16, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#D9D9D9", d: "M0 0H16V16H0z" } }] }, { tag: "g", attrs: { mask: "url(#mask0_233_11)" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M2.53331 14C2.35652 14 2.18697 13.9297 2.06197 13.8047C1.93697 13.6797 1.86675 13.5101 1.86675 13.3333C1.86675 13.1565 1.93697 12.987 2.06197 12.862C2.18697 12.7369 2.35652 12.6667 2.53331 12.6667L13.4666 12.6667C13.6434 12.6667 13.813 12.7369 13.938 12.862C14.063 12.987 14.1332 13.1565 14.1332 13.3333C14.1332 13.5101 14.063 13.6797 13.938 13.8047C13.813 13.9297 13.6434 14 13.4666 14L2.53331 14ZM2.53331 3.33333C2.35652 3.33331 2.18697 3.26306 2.06197 3.13804C1.93697 3.01301 1.86675 2.84346 1.86675 2.66667C1.86675 2.48987 1.93697 2.32032 2.06197 2.1953C2.18697 2.07028 2.35652 2.00003 2.53331 2L13.4666 2C13.6434 2.00003 13.813 2.07028 13.938 2.1953C14.063 2.32032 14.1332 2.48987 14.1332 2.66667C14.1332 2.84346 14.063 3.01301 13.938 3.13803C13.813 3.26306 13.6434 3.33331 13.4666 3.33333L2.53331 3.33333Z" } }, { tag: "path", attrs: { fill: "colorChannel1", d: "M10.8142 10.8141C10.5588 11.0695 10.1447 11.0695 9.88929 10.8141L7.97868 8.90354L6.14021 10.742C5.89652 10.9857 5.50142 10.9857 5.25774 10.742C5.01405 10.4983 5.01405 10.1032 5.25774 9.85955L7.09621 8.02107L5.18561 6.11047C4.93021 5.85507 4.93021 5.44098 5.18561 5.18557C5.44101 4.93017 5.8551 4.93017 6.11051 5.18557L8.02111 7.09618L9.85959 5.2577C10.1033 5.01401 10.4984 5.01401 10.7421 5.2577C10.9857 5.50139 10.9857 5.89648 10.7421 6.14017L8.90358 7.97865L10.8142 9.88925C11.0696 10.1447 11.0696 10.5587 10.8142 10.8141Z" } }] }] }, Sr = H(function(e, t) {
691
691
  return O(R, Object.assign({}, e, {
692
692
  id: "reduce",
@@ -785,19 +785,19 @@ var C9 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em"
785
785
  });
786
786
  Vr.displayName = "SuccessSingle";
787
787
  const _9 = Vr;
788
- var b9 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M9.82566 11.9312C9.52779 11.9312 9.28632 11.5404 9.28632 11.0583V6.74777C9.28632 6.28962 9.51581 5.91821 9.79891 5.91821H9.8257C10.0608 5.91821 10.2615 6.1933 10.3001 6.56863L10.3086 6.65107C10.3103 6.66723 10.3189 6.67908 10.329 6.67908L10.329 6.67908C10.3345 6.67908 10.3398 6.67553 10.3437 6.66925 10.6488 6.17698 10.9678 5.77026 11.4673 5.77026 11.9831 5.77026 12.2966 6.11899 12.4859 6.76362 12.8059 6.23524 13.152 5.77026 13.6482 5.77026 14.4579 5.77026 14.8106 6.71078 14.8106 8.21138V10.9907C14.8106 11.5101 14.5504 11.9312 14.2294 11.9312L14.2294 11.9312C13.9084 11.9312 13.6482 11.5101 13.6482 10.9907V8.44387C13.6482 7.61959 13.5176 7.37654 13.2238 7.37654L13.2238 7.37654C12.7759 7.37654 12.6296 8.32093 12.6296 9.04573V10.9854C12.6296 11.5077 12.3679 11.9312 12.0452 11.9312L12.0452 11.9312C11.7224 11.9312 11.4608 11.5077 11.4608 10.9854V8.44387C11.4608 7.61959 11.3302 7.37654 11.0363 7.37654L11.0363 7.37654C10.5884 7.37654 10.4421 8.32093 10.4421 9.04573V10.9959C10.4421 11.5125 10.1834 11.9312 9.86421 11.9312H9.82566zM6.13008 12.0791C5.32039 12.0791 4.9743 11.1386 4.9743 9.63801V6.85873C4.9743 6.3393 5.2345 5.91821 5.55546 5.91821 5.87642 5.91821 6.13661 6.3393 6.13661 6.85873V9.40552C6.13661 10.2404 6.27374 10.4729 6.56758 10.4729 6.62884 10.4729 6.6847 10.4636 6.73686 10.4436 7.11099 10.3004 7.18792 9.52547 7.18792 8.90331V6.85873C7.18792 6.3393 7.44811 5.91821 7.76907 5.91821 8.09003 5.91821 8.35023 6.3393 8.35023 6.85873V11.1016C8.35023 11.5598 8.12073 11.9312 7.83763 11.9312H7.66158C7.5126 11.9312 7.38545 11.7569 7.36096 11.519L7.32128 11.1338C7.31968 11.1183 7.31139 11.1069 7.30167 11.1069 7.29579 11.1069 7.29019 11.1112 7.2864 11.1184 6.98098 11.7036 6.6361 12.0791 6.13008 12.0791zM2.443 12.0791C1.96527 12.0791 1.46153 11.8627 1.02705 11.4343.78714 11.1978.767027 10.6738.945295 10.3224 1.13322 9.95206 1.47075 9.91354 1.73469 10.1308 1.9783 10.3314 2.2357 10.4517 2.46912 10.4517 2.90009 10.4517 3.10252 10.1875 3.10252 9.76478 3.10252 9.31038 2.83479 9.16243 2.41689 8.8771L1.79655 8.4544C1.28722 8.12681.810547 7.43991.810547 6.29861.810547 4.97766 1.54189 3.9209 2.5736 3.9209 2.99475 3.9209 3.43427 4.11704 3.80676 4.50486 4.02057 4.72747 4.0344 5.19974 3.87623 5.52185 3.70738 5.86574 3.40456 5.90897 3.15592 5.73283 2.97499 5.60465 2.7867 5.53774 2.5736 5.53774 2.21446 5.53774 1.99245 5.77023 1.99245 6.19293 1.99245 6.62621 2.29935 6.79529 2.73032 7.07004L3.33759 7.46105C3.93834 7.85205 4.29748 8.50724 4.29748 9.61684 4.29748 10.9272 3.61837 12.0791 2.443 12.0791z" } }] }, Nr = H(function(e, t) {
788
+ var y9 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M9.82566 11.9312C9.52779 11.9312 9.28632 11.5404 9.28632 11.0583V6.74777C9.28632 6.28962 9.51581 5.91821 9.79891 5.91821H9.8257C10.0608 5.91821 10.2615 6.1933 10.3001 6.56863L10.3086 6.65107C10.3103 6.66723 10.3189 6.67908 10.329 6.67908L10.329 6.67908C10.3345 6.67908 10.3398 6.67553 10.3437 6.66925 10.6488 6.17698 10.9678 5.77026 11.4673 5.77026 11.9831 5.77026 12.2966 6.11899 12.4859 6.76362 12.8059 6.23524 13.152 5.77026 13.6482 5.77026 14.4579 5.77026 14.8106 6.71078 14.8106 8.21138V10.9907C14.8106 11.5101 14.5504 11.9312 14.2294 11.9312L14.2294 11.9312C13.9084 11.9312 13.6482 11.5101 13.6482 10.9907V8.44387C13.6482 7.61959 13.5176 7.37654 13.2238 7.37654L13.2238 7.37654C12.7759 7.37654 12.6296 8.32093 12.6296 9.04573V10.9854C12.6296 11.5077 12.3679 11.9312 12.0452 11.9312L12.0452 11.9312C11.7224 11.9312 11.4608 11.5077 11.4608 10.9854V8.44387C11.4608 7.61959 11.3302 7.37654 11.0363 7.37654L11.0363 7.37654C10.5884 7.37654 10.4421 8.32093 10.4421 9.04573V10.9959C10.4421 11.5125 10.1834 11.9312 9.86421 11.9312H9.82566zM6.13008 12.0791C5.32039 12.0791 4.9743 11.1386 4.9743 9.63801V6.85873C4.9743 6.3393 5.2345 5.91821 5.55546 5.91821 5.87642 5.91821 6.13661 6.3393 6.13661 6.85873V9.40552C6.13661 10.2404 6.27374 10.4729 6.56758 10.4729 6.62884 10.4729 6.6847 10.4636 6.73686 10.4436 7.11099 10.3004 7.18792 9.52547 7.18792 8.90331V6.85873C7.18792 6.3393 7.44811 5.91821 7.76907 5.91821 8.09003 5.91821 8.35023 6.3393 8.35023 6.85873V11.1016C8.35023 11.5598 8.12073 11.9312 7.83763 11.9312H7.66158C7.5126 11.9312 7.38545 11.7569 7.36096 11.519L7.32128 11.1338C7.31968 11.1183 7.31139 11.1069 7.30167 11.1069 7.29579 11.1069 7.29019 11.1112 7.2864 11.1184 6.98098 11.7036 6.6361 12.0791 6.13008 12.0791zM2.443 12.0791C1.96527 12.0791 1.46153 11.8627 1.02705 11.4343.78714 11.1978.767027 10.6738.945295 10.3224 1.13322 9.95206 1.47075 9.91354 1.73469 10.1308 1.9783 10.3314 2.2357 10.4517 2.46912 10.4517 2.90009 10.4517 3.10252 10.1875 3.10252 9.76478 3.10252 9.31038 2.83479 9.16243 2.41689 8.8771L1.79655 8.4544C1.28722 8.12681.810547 7.43991.810547 6.29861.810547 4.97766 1.54189 3.9209 2.5736 3.9209 2.99475 3.9209 3.43427 4.11704 3.80676 4.50486 4.02057 4.72747 4.0344 5.19974 3.87623 5.52185 3.70738 5.86574 3.40456 5.90897 3.15592 5.73283 2.97499 5.60465 2.7867 5.53774 2.5736 5.53774 2.21446 5.53774 1.99245 5.77023 1.99245 6.19293 1.99245 6.62621 2.29935 6.79529 2.73032 7.07004L3.33759 7.46105C3.93834 7.85205 4.29748 8.50724 4.29748 9.61684 4.29748 10.9272 3.61837 12.0791 2.443 12.0791z" } }] }, Nr = H(function(e, t) {
789
789
  return O(R, Object.assign({}, e, {
790
790
  id: "sum-single",
791
791
  ref: t,
792
- icon: b9
792
+ icon: y9
793
793
  }));
794
794
  });
795
795
  Nr.displayName = "SumSingle";
796
- var y9 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M13.0221 3.60995C13.0221 3.90929 12.8545 4.26213 12.5304 4.68012 12.2085 5.09515 11.7454 5.55802 11.1825 6.07553 11.0649 6.18363 10.9967 6.3363 10.9967 6.49688 10.9967 6.81115 11.2515 7.06592 11.5657 7.06592H13.9773C14.307 7.06592 14.5742 6.79864 14.5742 6.46894 14.5742 6.13924 14.307 5.87196 13.9773 5.87196H13.5735C13.4387 5.87196 13.2624 5.88419 13.092 5.90085L13.0906 5.90087C13.0906 5.90087 13.0882 5.89908 13.0868 5.89632 13.0855 5.89356 13.0855 5.89096 13.0855 5.89096L13.0863 5.88997C13.4178 5.53574 13.7329 5.149 13.9656 4.75332 14.1978 4.35858 14.3528 3.94689 14.3528 3.54482 14.3528 3.05586 14.18 2.64528 13.8761 2.35728 13.5728 2.06986 13.1473 1.91235 12.6552 1.91235 12.3802 1.91235 12.1555 1.93768 11.9494 2.00529 11.7424 2.0732 11.5606 2.18165 11.3682 2.33937 11.2524 2.43436 11.1771 2.57996 11.1545 2.72547 11.1319 2.87094 11.1599 3.03463 11.2771 3.15062 11.4897 3.36103 11.8118 3.39998 12.0629 3.22793 12.1882 3.14209 12.3689 3.0865 12.5271 3.0865 12.7029 3.0865 12.8211 3.12974 12.8963 3.20472 12.9714 3.27967 13.0221 3.40498 13.0221 3.60995zM2.60384 2.50216C2.39447 2.21055 1.98835 2.14388 1.69674 2.35324 1.40513 2.56261 1.33846 2.96873 1.54782 3.26034L5.06527 8.15954 1.54784 13.0587C1.33847 13.3503 1.40514 13.7565 1.69675 13.9658 1.98836 14.1752 2.39448 14.1085 2.60385 13.8169L5.86545 9.27405 9.12705 13.8169C9.33642 14.1085 9.74254 14.1752 10.0341 13.9658 10.3258 13.7565 10.3924 13.3503 10.1831 13.0587L6.66563 8.15954 10.1831 3.26034C10.3924 2.96873 10.3258 2.56261 10.0342 2.35324 9.74255 2.14388 9.33643 2.21055 9.12706 2.50216L5.86545 7.04503 2.60384 2.50216z" } }] }, Dr = H(function(e, t) {
796
+ var b9 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M13.0221 3.60995C13.0221 3.90929 12.8545 4.26213 12.5304 4.68012 12.2085 5.09515 11.7454 5.55802 11.1825 6.07553 11.0649 6.18363 10.9967 6.3363 10.9967 6.49688 10.9967 6.81115 11.2515 7.06592 11.5657 7.06592H13.9773C14.307 7.06592 14.5742 6.79864 14.5742 6.46894 14.5742 6.13924 14.307 5.87196 13.9773 5.87196H13.5735C13.4387 5.87196 13.2624 5.88419 13.092 5.90085L13.0906 5.90087C13.0906 5.90087 13.0882 5.89908 13.0868 5.89632 13.0855 5.89356 13.0855 5.89096 13.0855 5.89096L13.0863 5.88997C13.4178 5.53574 13.7329 5.149 13.9656 4.75332 14.1978 4.35858 14.3528 3.94689 14.3528 3.54482 14.3528 3.05586 14.18 2.64528 13.8761 2.35728 13.5728 2.06986 13.1473 1.91235 12.6552 1.91235 12.3802 1.91235 12.1555 1.93768 11.9494 2.00529 11.7424 2.0732 11.5606 2.18165 11.3682 2.33937 11.2524 2.43436 11.1771 2.57996 11.1545 2.72547 11.1319 2.87094 11.1599 3.03463 11.2771 3.15062 11.4897 3.36103 11.8118 3.39998 12.0629 3.22793 12.1882 3.14209 12.3689 3.0865 12.5271 3.0865 12.7029 3.0865 12.8211 3.12974 12.8963 3.20472 12.9714 3.27967 13.0221 3.40498 13.0221 3.60995zM2.60384 2.50216C2.39447 2.21055 1.98835 2.14388 1.69674 2.35324 1.40513 2.56261 1.33846 2.96873 1.54782 3.26034L5.06527 8.15954 1.54784 13.0587C1.33847 13.3503 1.40514 13.7565 1.69675 13.9658 1.98836 14.1752 2.39448 14.1085 2.60385 13.8169L5.86545 9.27405 9.12705 13.8169C9.33642 14.1085 9.74254 14.1752 10.0341 13.9658 10.3258 13.7565 10.3924 13.3503 10.1831 13.0587L6.66563 8.15954 10.1831 3.26034C10.3924 2.96873 10.3258 2.56261 10.0342 2.35324 9.74255 2.14388 9.33643 2.21055 9.12706 2.50216L5.86545 7.04503 2.60384 2.50216z" } }] }, Dr = H(function(e, t) {
797
797
  return O(R, Object.assign({}, e, {
798
798
  id: "superscript-single",
799
799
  ref: t,
800
- icon: y9
800
+ icon: b9
801
801
  }));
802
802
  });
803
803
  Dr.displayName = "SuperscriptSingle";
@@ -893,7 +893,7 @@ class ue {
893
893
  AutowrapSingle: s6,
894
894
  BoldSingle: u6,
895
895
  BrushSingle: d6,
896
- Copy: b6,
896
+ Copy: y6,
897
897
  ClearFormat: p6,
898
898
  DownBorder: H6,
899
899
  FontColor: V6,
@@ -910,7 +910,7 @@ class ue {
910
910
  MergeAllSingle: sr,
911
911
  HorizontalMergeSingle: B6,
912
912
  VerticalIntegrationSingle: zr,
913
- PipingSingle: br,
913
+ PipingSingle: yr,
914
914
  CancelMergeSingle: h6,
915
915
  NoBorderSingle: fr,
916
916
  NoColor: hr,
@@ -919,7 +919,7 @@ class ue {
919
919
  OverflowSingle: vr,
920
920
  PaintBucket: Cr,
921
921
  PasteSpecial: _r,
922
- RedoSingle: yr,
922
+ RedoSingle: br,
923
923
  RightBorder: Lr,
924
924
  RightJustifyingSingle: xr,
925
925
  AlignTextBothSingle: n6,
@@ -949,7 +949,7 @@ class ue {
949
949
  DeleteCellShiftUp: M6,
950
950
  DeleteCellShiftRight: L6,
951
951
  DeleteCellShiftLeft: S6,
952
- DeleteCellMoveDown: y6,
952
+ DeleteCellMoveDown: b6,
953
953
  Reduce: Sr,
954
954
  Hide: P6,
955
955
  HorizontalBorder: U6,
@@ -985,7 +985,7 @@ class ue {
985
985
  return this._components.has(t) && console.warn(`Component ${t} already exists.`), this._components.set(t, {
986
986
  framework: i,
987
987
  component: n
988
- }), O1(() => this._components.delete(t));
988
+ }), I1(() => this._components.delete(t));
989
989
  }
990
990
  get(t) {
991
991
  if (!t)
@@ -1020,8 +1020,8 @@ function V9(e) {
1020
1020
  t.current && T9(n, t.current, r);
1021
1021
  }, [r]), O("div", { ref: t });
1022
1022
  }
1023
- var b3, y3;
1024
- class Jt {
1023
+ var b3, S3;
1024
+ class Kt {
1025
1025
  constructor() {
1026
1026
  B(this, "_list", /* @__PURE__ */ new Map());
1027
1027
  }
@@ -1041,7 +1041,7 @@ class Jt {
1041
1041
  }), t;
1042
1042
  }
1043
1043
  }
1044
- b3 = new WeakMap(), y3 = new WeakMap(), kt(Jt, b3, 2147483647), kt(Jt, y3, -2147483647);
1044
+ b3 = new WeakMap(), S3 = new WeakMap(), At(Kt, b3, 2147483647), At(Kt, S3, -2147483647);
1045
1045
  function N9(e, t) {
1046
1046
  const n = e.get(Oe);
1047
1047
  return new ot((r) => {
@@ -1061,7 +1061,7 @@ var Ye = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1061
1061
  function Wr(e) {
1062
1062
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1063
1063
  }
1064
- var Yr = { exports: {} }, gt = {};
1064
+ var Yr = { exports: {} }, pt = {};
1065
1065
  /**
1066
1066
  * @license React
1067
1067
  * react-jsx-runtime.production.min.js
@@ -1082,10 +1082,10 @@ function Gr(e, t, n) {
1082
1082
  i[r] === void 0 && (i[r] = t[r]);
1083
1083
  return { $$typeof: k9, type: e, key: a, ref: o, props: i, _owner: j9.current };
1084
1084
  }
1085
- gt.Fragment = A9;
1086
- gt.jsx = Gr;
1087
- gt.jsxs = Gr;
1088
- Yr.exports = gt;
1085
+ pt.Fragment = A9;
1086
+ pt.jsx = Gr;
1087
+ pt.jsxs = Gr;
1088
+ Yr.exports = pt;
1089
1089
  var m = Yr.exports;
1090
1090
  function rn(e) {
1091
1091
  return typeof e == "function" ? e() : e;
@@ -1098,22 +1098,22 @@ function U1(e, t, n, r) {
1098
1098
  if (typeof e == "function" && !r)
1099
1099
  throw new Error("[useObservable]: expect deps when observable is a function! Otherwise it would cause an infinite loop.");
1100
1100
  const i = S1(null), a = S1(null), o = S1(r != null ? r : void 0), c = S1(!1), [d, h] = l1(0), g = S1((() => {
1101
- let y;
1101
+ let b;
1102
1102
  return e && rn(e).subscribe((A) => {
1103
- c.current = !0, y = A;
1104
- }).unsubscribe(), y != null ? y : t;
1103
+ c.current = !0, b = A;
1104
+ }).unsubscribe(), b != null ? b : t;
1105
1105
  })()), u = (() => {
1106
1106
  if (typeof o.current < "u") {
1107
- const y = r != null ? r : [];
1108
- return U9(o.current, y) ? (o.current = y, !0) : !1;
1107
+ const b = r != null ? r : [];
1108
+ return U9(o.current, b) ? (o.current = b, !0) : !1;
1109
1109
  }
1110
1110
  return i.current !== e;
1111
1111
  })();
1112
- if ((!a.current || u) && e && (i.current = rn(e), (C = a.current) == null || C.unsubscribe(), a.current = i.current.subscribe((y) => {
1113
- g.current = y, h((b) => b + 1);
1112
+ if ((!a.current || u) && e && (i.current = rn(e), (C = a.current) == null || C.unsubscribe(), a.current = i.current.subscribe((b) => {
1113
+ g.current = b, h((y) => y + 1);
1114
1114
  })), v1(() => () => {
1115
- var y;
1116
- (y = a.current) == null || y.unsubscribe(), a.current = null;
1115
+ var b;
1116
+ (b = a.current) == null || b.unsubscribe(), a.current = null;
1117
1117
  }, []), n && !c.current)
1118
1118
  throw new Error("[useObservable]: expect shouldHaveSyncValue but not getting a sync value!");
1119
1119
  return g.current;
@@ -1126,10 +1126,10 @@ function Z1(e) {
1126
1126
  st(n) ? u = U1(n, void 0, !0) : u = n;
1127
1127
  let C = !1;
1128
1128
  if (g && typeof g == "string" && (C = new An(g).isValid), n) {
1129
- const y = c.get(u != null ? u : "");
1130
- y && d.push(
1129
+ const b = c.get(u != null ? u : "");
1130
+ b && d.push(
1131
1131
  /* @__PURE__ */ m.jsx(
1132
- y,
1132
+ b,
1133
1133
  {
1134
1134
  extend: { colorChannel1: C ? g : "rgb(var(--primary-color))" }
1135
1135
  },
@@ -1138,8 +1138,8 @@ function Z1(e) {
1138
1138
  );
1139
1139
  }
1140
1140
  if (r) {
1141
- const y = typeof r == "string", b = y ? { ...e } : { ...r == null ? void 0 : r.props, ...e }, A = y ? r : r == null ? void 0 : r.name, x = c.get(A);
1142
- x ? d.push(/* @__PURE__ */ m.jsx(x, { ...b, value: g }, h++)) : d.push(/* @__PURE__ */ m.jsx("span", { children: o.t(A) }, h++));
1141
+ const b = typeof r == "string", y = b ? { ...e } : { ...r == null ? void 0 : r.props, ...e }, A = b ? r : r == null ? void 0 : r.name, x = c.get(A);
1142
+ x ? d.push(/* @__PURE__ */ m.jsx(x, { ...y, value: g }, h++)) : d.push(/* @__PURE__ */ m.jsx("span", { children: o.t(A) }, h++));
1143
1143
  }
1144
1144
  return t && d.push(/* @__PURE__ */ m.jsx("span", { children: typeof t == "string" ? o.t(t) : t }, h++)), /* @__PURE__ */ m.jsx(m.Fragment, { children: d });
1145
1145
  }
@@ -1301,7 +1301,7 @@ const B9 = "univer-ui-plugin-sheets-font-family", z9 = "univer-ui-plugin-sheets-
1301
1301
  ];
1302
1302
  var te = /* @__PURE__ */ ((e) => (e.VOID = "void", e.TOOLBAR_START = "uiToolbar.start", e.TOOLBAR_INSERT = "uiToolbar.insert", e.TOOLBAR_FORMULAS = "uiToolbar.formulas", e.TOOLBAR_DATA = "uiToolbar.data", e.TOOLBAR_VIEW = "uiToolbar.view", e.TOOLBAR_OTHERS = "uiToolbar.others", e.CONTEXT_MENU = "contextMenu", e))(te || {}), Ce = /* @__PURE__ */ ((e) => (e[e.TOOLBAR_HISTORY = 0] = "TOOLBAR_HISTORY", e[e.TOOLBAR_FORMAT = 1] = "TOOLBAR_FORMAT", e[e.TOOLBAR_LAYOUT = 2] = "TOOLBAR_LAYOUT", e[e.TOOLBAR_FORMULAS_INSERT = 3] = "TOOLBAR_FORMULAS_INSERT", e[e.TOOLBAR_FORMULAS_VIEW = 4] = "TOOLBAR_FORMULAS_VIEW", e[e.TOOLBAR_FILE = 5] = "TOOLBAR_FILE", e[e.TOOLBAR_OTHERS = 6] = "TOOLBAR_OTHERS", e[e.CONTEXT_MENU_FORMAT = 7] = "CONTEXT_MENU_FORMAT", e[e.CONTEXT_MENU_LAYOUT = 8] = "CONTEXT_MENU_LAYOUT", e[e.CONTEXT_MENU_DATA = 9] = "CONTEXT_MENU_DATA", e[e.CONTEXT_MENU_OTHERS = 10] = "CONTEXT_MENU_OTHERS", e))(Ce || {}), F1 = /* @__PURE__ */ ((e) => (e[e.BUTTON = 0] = "BUTTON", e[e.SELECTOR = 1] = "SELECTOR", e[e.BUTTON_SELECTOR = 2] = "BUTTON_SELECTOR", e[e.SUBITEMS = 3] = "SUBITEMS", e))(F1 || {});
1303
1303
  function W9(e, t, n) {
1304
- return window.addEventListener(e, t, n), O1(() => window.removeEventListener(e, t, n));
1304
+ return window.addEventListener(e, t, n), I1(() => window.removeEventListener(e, t, n));
1305
1305
  }
1306
1306
  var Y9 = Object.defineProperty, G9 = Object.getOwnPropertyDescriptor, X9 = (e, t, n, r) => {
1307
1307
  for (var i = r > 1 ? void 0 : r ? G9(t, n) : t, a = e.length - 1, o; a >= 0; a--)
@@ -1418,7 +1418,7 @@ class q9 {
1418
1418
  (r = this._param.canvasStyle) != null && r.fontSize && (n.textStyle == null && (n.textStyle = {}), n.textStyle.fs = this._param.canvasStyle.fontSize), t.updateDocumentStyle(n);
1419
1419
  }
1420
1420
  }
1421
- let Kt = class extends z1 {
1421
+ let e3 = class extends z1 {
1422
1422
  constructor(t, n, r, i, a) {
1423
1423
  super();
1424
1424
  B(this, "_editors", /* @__PURE__ */ new Map());
@@ -1470,7 +1470,7 @@ let Kt = class extends z1 {
1470
1470
  if (!t)
1471
1471
  return;
1472
1472
  const n = t.getUnitId();
1473
- this._contextService.setContextValue(At, !1), this._contextService.setContextValue($t, !1), !(!this.isEditor(n) || this.isSheetEditor(n)) && (this.changeSpreadsheetFocusState(!1), this.blur());
1473
+ this._contextService.setContextValue($t, !1), this._contextService.setContextValue(jt, !1), !(!this.isEditor(n) || this.isSheetEditor(n)) && (this.changeSpreadsheetFocusState(!1), this.blur());
1474
1474
  }
1475
1475
  changeSpreadsheetFocusState(t) {
1476
1476
  this._spreadsheetFocusState = t;
@@ -1482,7 +1482,7 @@ let Kt = class extends z1 {
1482
1482
  const n = this.getEditor(t);
1483
1483
  if (!n)
1484
1484
  return !1;
1485
- n.setFocus(!0), this._contextService.setContextValue(At, !0), this._contextService.setContextValue($t, !0), this._contextService.setContextValue(N2, n.isSingle()), this._spreadsheetFocusState || this.singleSelection(n.isSingleChoice()), this._focusStyle$.next(t), this.setFocusId(t);
1485
+ n.setFocus(!0), this._contextService.setContextValue($t, !0), this._contextService.setContextValue(jt, !0), this._contextService.setContextValue(N2, n.isSingle()), this._spreadsheetFocusState || this.singleSelection(n.isSingleChoice()), this._focusStyle$.next(t), this.setFocusId(t);
1486
1486
  }
1487
1487
  singleSelection(t) {
1488
1488
  this._singleSelection$.next(t);
@@ -1495,7 +1495,7 @@ let Kt = class extends z1 {
1495
1495
  return !n || n.isSheetEditor() ? !0 : n.onlyInputRange() !== !0 && n.onlyInputFormula() !== !0 ? (this.blur(), !0) : n.onlyInputFormula() === !0 && this._contextService.getContextValue(D2) !== !0 ? (this.blur(), !0) : !this.getSpreadsheetFocusState();
1496
1496
  }
1497
1497
  blur() {
1498
- this._spreadsheetFocusState || (this._closeRangePrompt$.next(null), this.singleSelection(!1), this.setFocusId(null), this._contextService.setContextValue(At, !1), this._contextService.setContextValue($t, !1)), this.getAllEditor().forEach((t) => {
1498
+ this._spreadsheetFocusState || (this._closeRangePrompt$.next(null), this.singleSelection(!1), this.setFocusId(null), this._contextService.setContextValue($t, !1), this._contextService.setContextValue(jt, !1)), this.getAllEditor().forEach((t) => {
1499
1499
  t.setFocus(!1);
1500
1500
  }), this._focusStyle$.next(), this._blur$.next(null);
1501
1501
  }
@@ -1581,7 +1581,7 @@ let Kt = class extends z1 {
1581
1581
  let c = this._renderManagerService.getRenderById(i);
1582
1582
  c == null && (this._renderManagerService.create(i), c = this._renderManagerService.getRenderById(i)), c.engine.setContainer(n);
1583
1583
  const d = new q9({ ...t, render: c, documentDataModel: o, editorDom: n, canvasStyle: a });
1584
- return this._editors.set(i, d), (C = (u = (g = (h = c.mainComponent) == null ? void 0 : h.getScene()) == null ? void 0 : g.getViewports()) == null ? void 0 : u[0].getScrollBar()) == null || C.dispose(), d.isSheetEditor() || (d.verticalAlign(), d.updateCanvasStyle()), O1(() => {
1584
+ return this._editors.set(i, d), (C = (u = (g = (h = c.mainComponent) == null ? void 0 : h.getScene()) == null ? void 0 : g.getViewports()) == null ? void 0 : u[0].getScrollBar()) == null || C.dispose(), d.isSheetEditor() || (d.verticalAlign(), d.updateCanvasStyle()), I1(() => {
1585
1585
  this._unRegister(i);
1586
1586
  });
1587
1587
  }
@@ -1651,14 +1651,14 @@ let Kt = class extends z1 {
1651
1651
  };
1652
1652
  }
1653
1653
  };
1654
- Kt = X9([
1654
+ e3 = X9([
1655
1655
  Te(0, W1(je)),
1656
1656
  Te(1, Oe),
1657
1657
  Te(2, Wn),
1658
1658
  Te(3, W1(ua)),
1659
- Te(4, S3)
1660
- ], Kt);
1661
- const pt = T1(
1659
+ Te(4, ht)
1660
+ ], e3);
1661
+ const mt = T1(
1662
1662
  "univer.editor.service"
1663
1663
  );
1664
1664
  var Q9 = Object.defineProperty, J9 = Object.getOwnPropertyDescriptor, K9 = (e, t, n, r) => {
@@ -1666,8 +1666,15 @@ var Q9 = Object.defineProperty, J9 = Object.getOwnPropertyDescriptor, K9 = (e, t
1666
1666
  (o = e[a]) && (i = (r ? o(t, n, i) : o(i)) || i);
1667
1667
  return r && i && Q9(t, n, i), i;
1668
1668
  }, Ge = (e, t) => (n, r) => t(n, r, e);
1669
- const e4 = "FOCUSING_UNIVER", t4 = ["univer-app-layout", "univer-toolbar-btn", "univer-menu-item", "univer-button", "univer-sheet-bar-btn"], mt = T1("ui.layout-service");
1670
- let e3 = class extends z1 {
1669
+ const e4 = "FOCUSING_UNIVER", t4 = [
1670
+ "univer-app-layout",
1671
+ "univer-toolbar-btn",
1672
+ "univer-menu-item",
1673
+ "univer-button",
1674
+ "univer-sheet-bar-btn",
1675
+ "univer-render-canvas"
1676
+ ], vt = T1("ui.layout-service");
1677
+ let t3 = class extends z1 {
1671
1678
  constructor(t, n, r, i) {
1672
1679
  super();
1673
1680
  B(this, "_rootContainerElement", null);
@@ -1690,11 +1697,11 @@ let e3 = class extends z1 {
1690
1697
  registerFocusHandler(t, n) {
1691
1698
  if (this._focusHandlers.has(t))
1692
1699
  throw new Error(`[DesktopLayoutService]: handler of type ${t} bas been registered!`);
1693
- return this._focusHandlers.set(t, n), O1(() => this._focusHandlers.delete(t));
1700
+ return this._focusHandlers.set(t, n), I1(() => this._focusHandlers.delete(t));
1694
1701
  }
1695
1702
  registerCanvasElement(t) {
1696
1703
  if (this._canvasContainers.indexOf(t) === -1)
1697
- return this._canvasContainers.push(t), O1(() => q3(this._canvasContainers, t));
1704
+ return this._canvasContainers.push(t), I1(() => q3(this._canvasContainers, t));
1698
1705
  throw new Error("[DesktopLayoutService]: canvas container already registered!");
1699
1706
  }
1700
1707
  registerRootContainerElement(t) {
@@ -1702,13 +1709,13 @@ let e3 = class extends z1 {
1702
1709
  throw new Error("[DesktopLayoutService]: root container already registered!");
1703
1710
  this._rootContainerElement = t;
1704
1711
  const n = this.registerContainerElement(t);
1705
- return O1(() => {
1712
+ return I1(() => {
1706
1713
  this._rootContainerElement = null, n.dispose();
1707
1714
  });
1708
1715
  }
1709
1716
  registerContainerElement(t) {
1710
1717
  if (this._allContainers.indexOf(t) === -1)
1711
- return this._allContainers.push(t), O1(() => q3(this._allContainers, t));
1718
+ return this._allContainers.push(t), I1(() => q3(this._allContainers, t));
1712
1719
  throw new Error("[LayoutService]: container already registered!");
1713
1720
  }
1714
1721
  checkElementInCurrentContainers(t) {
@@ -1722,31 +1729,28 @@ let e3 = class extends z1 {
1722
1729
  q2(window, "focusin").subscribe((t) => {
1723
1730
  const n = t.target;
1724
1731
  if (t4.some((r) => n.classList.contains(r))) {
1725
- this._editorBlurListener(), queueMicrotask(() => this.focus());
1732
+ this._blurSheetEditor(), queueMicrotask(() => this.focus());
1726
1733
  return;
1727
1734
  }
1728
- n && this.checkElementInCurrentContainers(n) ? this._isFocused = !0 : this._isFocused = !1, this._contextService.setContextValue(e4, this._isFocused), this._contextService.setContextValue(Xt, on());
1735
+ n && this.checkElementInCurrentContainers(n) ? this._isFocused = !0 : this._isFocused = !1, this._contextService.setContextValue(e4, this._isFocused), this._contextService.setContextValue(qt, on());
1729
1736
  })
1730
1737
  );
1731
1738
  }
1732
1739
  _initEditorStatus() {
1733
- this._contextService.setContextValue(
1734
- Xt,
1735
- on()
1736
- );
1740
+ this._contextService.setContextValue(qt, on());
1737
1741
  }
1738
- _editorBlurListener() {
1742
+ _blurSheetEditor() {
1739
1743
  const t = this._editorService.getFocusEditor();
1740
1744
  t && t.isSheetEditor() !== !0 && this._editorService.blur();
1741
1745
  }
1742
1746
  };
1743
- e3 = K9([
1744
- ht(ve.Ready, mt),
1745
- Ge(0, S3),
1747
+ t3 = K9([
1748
+ gt(ve.Ready, vt),
1749
+ Ge(0, ht),
1746
1750
  Ge(1, Oe),
1747
1751
  Ge(2, $n),
1748
- Ge(3, pt)
1749
- ], e3);
1752
+ Ge(3, mt)
1753
+ ], t3);
1750
1754
  function on() {
1751
1755
  var e;
1752
1756
  return !!((e = document.activeElement) != null && e.classList.contains("univer-editor"));
@@ -1763,7 +1767,7 @@ class n4 {
1763
1767
  return /Linux/.test(navigator.appVersion);
1764
1768
  }
1765
1769
  }
1766
- var be = /* @__PURE__ */ ((e) => (e[e.UNKNOWN = 0] = "UNKNOWN", e[e.BACKSPACE = 8] = "BACKSPACE", e[e.TAB = 9] = "TAB", e[e.ENTER = 13] = "ENTER", e[e.ESC = 27] = "ESC", e[e.SPACE = 32] = "SPACE", e[e.ARROW_LEFT = 37] = "ARROW_LEFT", e[e.ARROW_UP = 38] = "ARROW_UP", e[e.ARROW_RIGHT = 39] = "ARROW_RIGHT", e[e.ARROW_DOWN = 40] = "ARROW_DOWN", e[e.INSERT = 45] = "INSERT", e[e.DELETE = 46] = "DELETE", e[e.Digit0 = 48] = "Digit0", e[e.Digit1 = 49] = "Digit1", e[e.Digit2 = 50] = "Digit2", e[e.Digit3 = 51] = "Digit3", e[e.Digit4 = 52] = "Digit4", e[e.Digit5 = 53] = "Digit5", e[e.Digit6 = 54] = "Digit6", e[e.Digit7 = 55] = "Digit7", e[e.Digit8 = 56] = "Digit8", e[e.Digit9 = 57] = "Digit9", e[e.A = 65] = "A", e[e.B = 66] = "B", e[e.C = 67] = "C", e[e.D = 68] = "D", e[e.E = 69] = "E", e[e.F = 70] = "F", e[e.G = 71] = "G", e[e.H = 72] = "H", e[e.I = 73] = "I", e[e.J = 74] = "J", e[e.K = 75] = "K", e[e.L = 76] = "L", e[e.M = 77] = "M", e[e.N = 78] = "N", e[e.O = 79] = "O", e[e.P = 80] = "P", e[e.Q = 81] = "Q", e[e.R = 82] = "R", e[e.S = 83] = "S", e[e.T = 84] = "T", e[e.U = 85] = "U", e[e.V = 86] = "V", e[e.W = 87] = "W", e[e.X = 88] = "X", e[e.Y = 89] = "Y", e[e.Z = 90] = "Z", e[e.F1 = 112] = "F1", e[e.F2 = 113] = "F2", e[e.F3 = 114] = "F3", e[e.F4 = 115] = "F4", e[e.F5 = 116] = "F5", e[e.F6 = 117] = "F6", e[e.F7 = 118] = "F7", e[e.F8 = 119] = "F8", e[e.F9 = 120] = "F9", e[e.F10 = 121] = "F10", e[e.F11 = 122] = "F11", e[e.F12 = 123] = "F12", e[e.NUM_LOCK = 144] = "NUM_LOCK", e[e.SCROLL_LOCK = 145] = "SCROLL_LOCK", e[e.MINUS = 189] = "MINUS", e[e.EQUAL = 187] = "EQUAL", e[e.BACK_SLASH = 220] = "BACK_SLASH", e))(be || {});
1770
+ var ye = /* @__PURE__ */ ((e) => (e[e.UNKNOWN = 0] = "UNKNOWN", e[e.BACKSPACE = 8] = "BACKSPACE", e[e.TAB = 9] = "TAB", e[e.ENTER = 13] = "ENTER", e[e.ESC = 27] = "ESC", e[e.SPACE = 32] = "SPACE", e[e.ARROW_LEFT = 37] = "ARROW_LEFT", e[e.ARROW_UP = 38] = "ARROW_UP", e[e.ARROW_RIGHT = 39] = "ARROW_RIGHT", e[e.ARROW_DOWN = 40] = "ARROW_DOWN", e[e.INSERT = 45] = "INSERT", e[e.DELETE = 46] = "DELETE", e[e.Digit0 = 48] = "Digit0", e[e.Digit1 = 49] = "Digit1", e[e.Digit2 = 50] = "Digit2", e[e.Digit3 = 51] = "Digit3", e[e.Digit4 = 52] = "Digit4", e[e.Digit5 = 53] = "Digit5", e[e.Digit6 = 54] = "Digit6", e[e.Digit7 = 55] = "Digit7", e[e.Digit8 = 56] = "Digit8", e[e.Digit9 = 57] = "Digit9", e[e.A = 65] = "A", e[e.B = 66] = "B", e[e.C = 67] = "C", e[e.D = 68] = "D", e[e.E = 69] = "E", e[e.F = 70] = "F", e[e.G = 71] = "G", e[e.H = 72] = "H", e[e.I = 73] = "I", e[e.J = 74] = "J", e[e.K = 75] = "K", e[e.L = 76] = "L", e[e.M = 77] = "M", e[e.N = 78] = "N", e[e.O = 79] = "O", e[e.P = 80] = "P", e[e.Q = 81] = "Q", e[e.R = 82] = "R", e[e.S = 83] = "S", e[e.T = 84] = "T", e[e.U = 85] = "U", e[e.V = 86] = "V", e[e.W = 87] = "W", e[e.X = 88] = "X", e[e.Y = 89] = "Y", e[e.Z = 90] = "Z", e[e.F1 = 112] = "F1", e[e.F2 = 113] = "F2", e[e.F3 = 114] = "F3", e[e.F4 = 115] = "F4", e[e.F5 = 116] = "F5", e[e.F6 = 117] = "F6", e[e.F7 = 118] = "F7", e[e.F8 = 119] = "F8", e[e.F9 = 120] = "F9", e[e.F10 = 121] = "F10", e[e.F11 = 122] = "F11", e[e.F12 = 123] = "F12", e[e.NUM_LOCK = 144] = "NUM_LOCK", e[e.SCROLL_LOCK = 145] = "SCROLL_LOCK", e[e.MINUS = 189] = "MINUS", e[e.EQUAL = 187] = "EQUAL", e[e.BACK_SLASH = 220] = "BACK_SLASH", e))(ye || {});
1767
1771
  const r4 = {
1768
1772
  8: "Backspace",
1769
1773
  9: "Tab",
@@ -1821,7 +1825,7 @@ var P1 = /* @__PURE__ */ ((e) => (e[e.SHIFT = 1024] = "SHIFT", e[e.ALT = 2048] =
1821
1825
  return r && i && i4(t, n, i), i;
1822
1826
  }, Xe = (e, t) => (n, r) => t(n, r, e);
1823
1827
  const Pe = T1("univer.shortcut");
1824
- let t3 = class extends z1 {
1828
+ let n3 = class extends z1 {
1825
1829
  constructor(t, n, r, i) {
1826
1830
  super();
1827
1831
  B(this, "_shortCutMapping", /* @__PURE__ */ new Map());
@@ -1848,7 +1852,7 @@ let t3 = class extends z1 {
1848
1852
  const n = this._getBindingFromItem(t), r = this._shortCutMapping.get(n);
1849
1853
  r ? r.add(t) : this._shortCutMapping.set(n, /* @__PURE__ */ new Set([t]));
1850
1854
  const i = t.id, a = this._commandIDMapping.get(i);
1851
- return a ? a.add(t) : this._commandIDMapping.set(i, /* @__PURE__ */ new Set([t])), this._emitShortcutChanged(), O1(() => {
1855
+ return a ? a.add(t) : this._commandIDMapping.set(i, /* @__PURE__ */ new Set([t])), this._emitShortcutChanged(), I1(() => {
1852
1856
  var o, c, d, h;
1853
1857
  (o = this._shortCutMapping.get(n)) == null || o.delete(t), ((c = this._shortCutMapping.get(n)) == null ? void 0 : c.size) === 0 && this._shortCutMapping.delete(n), (d = this._commandIDMapping.get(i)) == null || d.delete(t), ((h = this._commandIDMapping.get(i)) == null ? void 0 : h.size) === 0 && this._commandIDMapping.delete(i), this._emitShortcutChanged();
1854
1858
  });
@@ -1866,7 +1870,7 @@ let t3 = class extends z1 {
1866
1870
  this._shortcutChanged$.next();
1867
1871
  }
1868
1872
  forceEscape() {
1869
- return this._forceEscaped = !0, O1(() => this._forceEscaped = !1);
1873
+ return this._forceEscaped = !0, I1(() => this._forceEscaped = !1);
1870
1874
  }
1871
1875
  _resolveKeyboardEvent(t) {
1872
1876
  if (this._forceEscaped || this._disable || this._layoutService && !this._layoutService.checkElementInCurrentContainers(t.target))
@@ -1898,19 +1902,19 @@ let t3 = class extends z1 {
1898
1902
  return n && (o |= P1.SHIFT), i && (o |= P1.ALT), (this._platformService.isMac ? r : t.ctrlKey) && (o |= P1.CTRL_COMMAND), this._platformService.isMac && t.ctrlKey && (o |= P1.MAC_CTRL), o;
1899
1903
  }
1900
1904
  };
1901
- t3 = o4([
1905
+ n3 = o4([
1902
1906
  Xe(0, Ae),
1903
1907
  Xe(1, qr),
1904
- Xe(2, S3),
1905
- Xe(3, M3(mt))
1906
- ], t3);
1908
+ Xe(2, ht),
1909
+ Xe(3, M3(vt))
1910
+ ], n3);
1907
1911
  var s4 = Object.defineProperty, l4 = Object.getOwnPropertyDescriptor, c4 = (e, t, n, r) => {
1908
1912
  for (var i = r > 1 ? void 0 : r ? l4(t, n) : t, a = e.length - 1, o; a >= 0; a--)
1909
1913
  (o = e[a]) && (i = (r ? o(t, n, i) : o(i)) || i);
1910
1914
  return r && i && s4(t, n, i), i;
1911
1915
  }, u4 = (e, t) => (n, r) => t(n, r, e);
1912
1916
  const He = T1("univer.menu-service");
1913
- let n3 = class extends z1 {
1917
+ let r3 = class extends z1 {
1914
1918
  constructor(t) {
1915
1919
  super();
1916
1920
  B(this, "_menuItemMap", /* @__PURE__ */ new Map());
@@ -1925,7 +1929,7 @@ let n3 = class extends z1 {
1925
1929
  addMenuItem(t) {
1926
1930
  if (this._menuItemMap.has(t.id))
1927
1931
  throw new Error(`Menu item with the same id ${t.id} has already been added!`);
1928
- return this._menuItemMap.set(t.id, t), Array.isArray(t.positions) ? t.positions.forEach((n) => this._appendMenuToPosition(t, n)) : this._appendMenuToPosition(t, t.positions), this._menuChanged$.next(), O1(() => {
1932
+ return this._menuItemMap.set(t.id, t), Array.isArray(t.positions) ? t.positions.forEach((n) => this._appendMenuToPosition(t, n)) : this._appendMenuToPosition(t, t.positions), this._menuChanged$.next(), I1(() => {
1929
1933
  if (this._menuItemMap.delete(t.id), Array.isArray(t.positions))
1930
1934
  t.positions.forEach((n) => {
1931
1935
  const r = this._menuByPositions.get(n);
@@ -1970,9 +1974,9 @@ let n3 = class extends z1 {
1970
1974
  r.push([t.id, t]);
1971
1975
  }
1972
1976
  };
1973
- n3 = c4([
1977
+ r3 = c4([
1974
1978
  u4(0, Pe)
1975
- ], n3);
1979
+ ], r3);
1976
1980
  const d4 = "univer-menu-item-no-hover", f4 = "univer-menu-item-activated", h4 = "univer-menu-item-content", g4 = "univer-menu-item-selectable", p4 = "univer-menu-item-selectable-icon", m4 = "univer-menu-item-more-icon", K1 = {
1977
1981
  menuItemNoHover: d4,
1978
1982
  menuItemActivated: f4,
@@ -2023,7 +2027,7 @@ function Jr(e) {
2023
2027
  var a;
2024
2028
  const { options: t, value: n, onOptionSelect: r, parentKey: i } = e;
2025
2029
  return (a = t == null ? void 0 : t.map((o, c) => {
2026
- var C, y, b;
2030
+ var C, b, y;
2027
2031
  const d = `${i}-${(C = o.label) != null ? C : o.id}-${c}`, h = (A) => {
2028
2032
  r == null || r({ value: A, label: o == null ? void 0 : o.label });
2029
2033
  }, g = () => {
@@ -2031,13 +2035,13 @@ function Jr(e) {
2031
2035
  ...o
2032
2036
  });
2033
2037
  }, u = k1({
2034
- [K1.menuItemNoHover]: typeof o.label != "string" && !((y = o.label) != null && y.hoverable)
2038
+ [K1.menuItemNoHover]: typeof o.label != "string" && !((b = o.label) != null && b.hoverable)
2035
2039
  });
2036
- return /* @__PURE__ */ m.jsx(qt, { disabled: o.disabled, eventKey: d, className: u, onClick: g, children: /* @__PURE__ */ m.jsxs(
2040
+ return /* @__PURE__ */ m.jsx(Qt, { disabled: o.disabled, eventKey: d, className: u, onClick: g, children: /* @__PURE__ */ m.jsxs(
2037
2041
  "span",
2038
2042
  {
2039
2043
  className: k1(K1.menuItemContent, {
2040
- [K1.menuItemSelectable]: !(typeof o.label != "string" && !((b = o.label) != null && b.hoverable))
2044
+ [K1.menuItemSelectable]: !(typeof o.label != "string" && !((y = o.label) != null && y.hoverable))
2041
2045
  }),
2042
2046
  children: [
2043
2047
  typeof n < "u" && String(n) === String(o.value) && /* @__PURE__ */ m.jsx("span", { className: K1.menuItemSelectableIcon, children: /* @__PURE__ */ m.jsx(Ya, { style: { color: "rgb(var(--success-color))" } }) }),
@@ -2056,96 +2060,96 @@ function Jr(e) {
2056
2060
  ) }, d);
2057
2061
  })) != null ? a : /* @__PURE__ */ m.jsx(m.Fragment, {});
2058
2062
  }
2059
- const r3 = (e) => /* @__PURE__ */ m.jsxs(va, { selectable: !1, children: [
2063
+ const i3 = (e) => /* @__PURE__ */ m.jsxs(va, { selectable: !1, children: [
2060
2064
  /* @__PURE__ */ m.jsx(Jr, { ...e }),
2061
2065
  /* @__PURE__ */ m.jsx(Qr, { ...e })
2062
2066
  ] });
2063
2067
  function sn({ menuItem: e, onClick: t }) {
2064
- const n = u1(He), r = e.id ? n.getMenuItems(e.id) : [], i = U1(e.disabled$, !1), a = U1(e.activated$, !1), o = U1(e.hidden$, !1), c = U1(e.value$), [d, h] = l1(c), g = (b) => {
2065
- const A = B2(b) && typeof b == "string" ? Number.parseInt(b) : b;
2068
+ const n = u1(He), r = e.id ? n.getMenuItems(e.id) : [], i = U1(e.disabled$, !1), a = U1(e.activated$, !1), o = U1(e.hidden$, !1), c = U1(e.value$), [d, h] = l1(c), g = (y) => {
2069
+ const A = B2(y) && typeof y == "string" ? Number.parseInt(y) : y;
2066
2070
  h(A);
2067
2071
  }, u = () => {
2068
- const b = e, { title: A, label: x } = b;
2072
+ const y = e, { title: A, label: x } = y;
2069
2073
  return /* @__PURE__ */ m.jsx(
2070
- qt,
2074
+ Qt,
2071
2075
  {
2072
- eventKey: b.id,
2076
+ eventKey: y.id,
2073
2077
  disabled: i,
2074
2078
  className: k1({
2075
2079
  [K1.menuItemActivated]: a
2076
2080
  }),
2077
2081
  onClick: () => {
2078
- t({ value: d, id: b.id });
2082
+ t({ value: d, id: y.id });
2079
2083
  },
2080
- children: /* @__PURE__ */ m.jsx("span", { className: K1.menuItemContent, children: /* @__PURE__ */ m.jsx(Z1, { value: c, title: A, label: x, icon: b.icon, onChange: g }) })
2084
+ children: /* @__PURE__ */ m.jsx("span", { className: K1.menuItemContent, children: /* @__PURE__ */ m.jsx(Z1, { value: c, title: A, label: x, icon: y.icon, onChange: g }) })
2081
2085
  },
2082
- b.id
2086
+ y.id
2083
2087
  );
2084
2088
  }, C = () => {
2085
2089
  var D;
2086
- const b = e, A = U1(st(b.selections) ? b.selections : void 0), x = (D = A != null ? A : b.selections) != null ? D : [];
2090
+ const y = e, A = U1(st(y.selections) ? y.selections : void 0), x = (D = A != null ? A : y.selections) != null ? D : [];
2087
2091
  return x.length > 0 ? /* @__PURE__ */ m.jsx(
2088
2092
  K3,
2089
2093
  {
2090
- eventKey: b.id,
2094
+ eventKey: y.id,
2091
2095
  popupOffset: [18, 0],
2092
2096
  title: /* @__PURE__ */ m.jsxs("span", { className: K1.menuItemContent, children: [
2093
2097
  /* @__PURE__ */ m.jsx(
2094
2098
  Z1,
2095
2099
  {
2096
- title: b.title,
2100
+ title: y.title,
2097
2101
  value: d,
2098
2102
  onChange: g,
2099
- icon: b.icon,
2100
- label: b.label
2103
+ icon: y.icon,
2104
+ label: y.label
2101
2105
  }
2102
2106
  ),
2103
- b.shortcut && ` (${b.shortcut})`
2107
+ y.shortcut && ` (${y.shortcut})`
2104
2108
  ] }),
2105
2109
  expandIcon: /* @__PURE__ */ m.jsx(tn, { className: K1.menuItemMoreIcon }),
2106
2110
  children: x.length > 0 && /* @__PURE__ */ m.jsx(
2107
2111
  Jr,
2108
2112
  {
2109
- parentKey: b.id,
2110
- menuType: b.id,
2113
+ parentKey: y.id,
2114
+ menuType: y.id,
2111
2115
  options: x,
2112
2116
  onOptionSelect: (N) => {
2113
- t({ value: N.value, id: b.id });
2117
+ t({ value: N.value, id: y.id });
2114
2118
  }
2115
2119
  }
2116
2120
  )
2117
2121
  },
2118
- b.id
2119
- ) : /* @__PURE__ */ m.jsx(qt, { eventKey: b.id, children: /* @__PURE__ */ m.jsxs("span", { className: K1.menuItemContent, children: [
2122
+ y.id
2123
+ ) : /* @__PURE__ */ m.jsx(Qt, { eventKey: y.id, children: /* @__PURE__ */ m.jsxs("span", { className: K1.menuItemContent, children: [
2120
2124
  /* @__PURE__ */ m.jsx(
2121
2125
  Z1,
2122
2126
  {
2123
- title: b.title,
2127
+ title: y.title,
2124
2128
  value: d,
2125
- icon: b.icon,
2126
- label: b.label,
2129
+ icon: y.icon,
2130
+ label: y.label,
2127
2131
  onChange: g
2128
2132
  }
2129
2133
  ),
2130
- b.shortcut && ` (${b.shortcut})`
2131
- ] }) }, b.id);
2132
- }, y = () => {
2133
- const b = e;
2134
+ y.shortcut && ` (${y.shortcut})`
2135
+ ] }) }, y.id);
2136
+ }, b = () => {
2137
+ const y = e;
2134
2138
  return /* @__PURE__ */ m.jsx(
2135
2139
  K3,
2136
2140
  {
2137
- eventKey: b.id,
2141
+ eventKey: y.id,
2138
2142
  popupOffset: [18, 0],
2139
- title: /* @__PURE__ */ m.jsx("span", { className: K1.menuItemContent, children: /* @__PURE__ */ m.jsx(Z1, { title: b.title, icon: b.icon, label: b.label, onChange: g }) }),
2143
+ title: /* @__PURE__ */ m.jsx("span", { className: K1.menuItemContent, children: /* @__PURE__ */ m.jsx(Z1, { title: y.title, icon: y.icon, label: y.label, onChange: g }) }),
2140
2144
  expandIcon: /* @__PURE__ */ m.jsx(tn, { className: K1.menuItemMoreIcon }),
2141
- children: r.length && /* @__PURE__ */ m.jsx(Qr, { menuType: b.id, parentKey: b.id, onOptionSelect: t })
2145
+ children: r.length && /* @__PURE__ */ m.jsx(Qr, { menuType: y.id, parentKey: y.id, onOptionSelect: t })
2142
2146
  },
2143
- b.id
2147
+ y.id
2144
2148
  );
2145
2149
  };
2146
2150
  return o ? null : /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
2147
2151
  e.type === F1.SELECTOR && C(),
2148
- e.type === F1.SUBITEMS && y(),
2152
+ e.type === F1.SUBITEMS && b(),
2149
2153
  e.type === F1.BUTTON && u()
2150
2154
  ] });
2151
2155
  }
@@ -2214,44 +2218,44 @@ function _4(e) {
2214
2218
  disabled$: t.undoRedoStatus$.pipe(Gn((n) => n.redos <= 0))
2215
2219
  };
2216
2220
  }
2217
- var b4 = Object.defineProperty, y4 = Object.getOwnPropertyDescriptor, S4 = (e, t, n, r) => {
2218
- for (var i = r > 1 ? void 0 : r ? y4(t, n) : t, a = e.length - 1, o; a >= 0; a--)
2221
+ var y4 = Object.defineProperty, b4 = Object.getOwnPropertyDescriptor, S4 = (e, t, n, r) => {
2222
+ for (var i = r > 1 ? void 0 : r ? b4(t, n) : t, a = e.length - 1, o; a >= 0; a--)
2219
2223
  (o = e[a]) && (i = (r ? o(t, n, i) : o(i)) || i);
2220
- return r && i && b4(t, n, i), i;
2224
+ return r && i && y4(t, n, i), i;
2221
2225
  }, qe = (e, t) => (n, r) => t(n, r, e);
2222
- function vt(e) {
2223
- return e.getContextValue(Xt);
2226
+ function Ct(e) {
2227
+ return e.getContextValue(qt);
2224
2228
  }
2225
2229
  const L4 = {
2226
2230
  id: Kr.id,
2227
2231
  description: "shortcut.copy",
2228
2232
  group: "1_common-edit",
2229
- binding: be.C | P1.CTRL_COMMAND,
2230
- preconditions: vt
2233
+ binding: ye.C | P1.CTRL_COMMAND,
2234
+ preconditions: Ct
2231
2235
  }, M4 = {
2232
2236
  id: ei.id,
2233
2237
  description: "shortcut.cut",
2234
2238
  group: "1_common-edit",
2235
- binding: be.X | P1.CTRL_COMMAND,
2236
- preconditions: vt
2239
+ binding: ye.X | P1.CTRL_COMMAND,
2240
+ preconditions: Ct
2237
2241
  }, w4 = {
2238
2242
  id: ti.id,
2239
2243
  description: "shortcut.paste",
2240
2244
  group: "1_common-edit",
2241
- binding: be.V | P1.CTRL_COMMAND,
2245
+ binding: ye.V | P1.CTRL_COMMAND,
2242
2246
  preconditions: () => !1
2243
2247
  }, x4 = {
2244
2248
  id: Pn.id,
2245
2249
  description: "shortcut.undo",
2246
2250
  group: "1_common-edit",
2247
- binding: be.Z | P1.CTRL_COMMAND,
2248
- preconditions: vt
2251
+ binding: ye.Z | P1.CTRL_COMMAND,
2252
+ preconditions: Ct
2249
2253
  }, E4 = {
2250
2254
  id: Un.id,
2251
2255
  description: "shortcut.redo",
2252
2256
  group: "1_common-edit",
2253
- binding: be.Y | P1.CTRL_COMMAND,
2254
- preconditions: vt
2257
+ binding: ye.Y | P1.CTRL_COMMAND,
2258
+ preconditions: Ct
2255
2259
  };
2256
2260
  let nt = class extends z1 {
2257
2261
  constructor(e, t, n, r) {
@@ -2276,13 +2280,13 @@ let nt = class extends z1 {
2276
2280
  }
2277
2281
  };
2278
2282
  nt = S4([
2279
- ht(ve.Ready, nt),
2283
+ gt(ve.Ready, nt),
2280
2284
  qe(0, W1(je)),
2281
2285
  qe(1, He),
2282
2286
  qe(2, Pe),
2283
2287
  qe(3, Ae)
2284
2288
  ], nt);
2285
- const i3 = T1("univer.ui-controller");
2289
+ const a3 = T1("univer.ui-controller");
2286
2290
  var Ue = {}, ni = { exports: {} }, ri = { exports: {} };
2287
2291
  (function(e) {
2288
2292
  function t(n) {
@@ -2362,13 +2366,13 @@ var H4 = ii.exports, ai = { exports: {} };
2362
2366
  return E[Y] = Z;
2363
2367
  };
2364
2368
  }
2365
- function y(M, S, E, Y) {
2369
+ function b(M, S, E, Y) {
2366
2370
  var Z = S && S.prototype instanceof W ? S : W, X = Object.create(Z.prototype), n1 = new h1(Y || []);
2367
2371
  return c(X, "_invoke", {
2368
2372
  value: J(M, E, n1)
2369
2373
  }), X;
2370
2374
  }
2371
- function b(M, S, E) {
2375
+ function y(M, S, E) {
2372
2376
  try {
2373
2377
  return {
2374
2378
  type: "normal",
@@ -2381,7 +2385,7 @@ var H4 = ii.exports, ai = { exports: {} };
2381
2385
  };
2382
2386
  }
2383
2387
  }
2384
- i.wrap = y;
2388
+ i.wrap = b;
2385
2389
  var A = "suspendedStart", x = "suspendedYield", D = "executing", N = "completed", z = {};
2386
2390
  function W() {
2387
2391
  }
@@ -2405,27 +2409,27 @@ var H4 = ii.exports, ai = { exports: {} };
2405
2409
  }
2406
2410
  function Q(M, S) {
2407
2411
  function E(Z, X, n1, i1) {
2408
- var y1 = b(M[Z], M, X);
2409
- if (y1.type !== "throw") {
2410
- var V1 = y1.arg, H1 = V1.value;
2411
- return H1 && t(H1) == "object" && o.call(H1, "__await") ? S.resolve(H1.__await).then(function(M1) {
2412
+ var b1 = y(M[Z], M, X);
2413
+ if (b1.type !== "throw") {
2414
+ var V1 = b1.arg, O1 = V1.value;
2415
+ return O1 && t(O1) == "object" && o.call(O1, "__await") ? S.resolve(O1.__await).then(function(M1) {
2412
2416
  E("next", M1, n1, i1);
2413
2417
  }, function(M1) {
2414
2418
  E("throw", M1, n1, i1);
2415
- }) : S.resolve(H1).then(function(M1) {
2419
+ }) : S.resolve(O1).then(function(M1) {
2416
2420
  V1.value = M1, n1(V1);
2417
2421
  }, function(M1) {
2418
2422
  return E("throw", M1, n1, i1);
2419
2423
  });
2420
2424
  }
2421
- i1(y1.arg);
2425
+ i1(b1.arg);
2422
2426
  }
2423
2427
  var Y;
2424
2428
  c(this, "_invoke", {
2425
2429
  value: function(X, n1) {
2426
2430
  function i1() {
2427
- return new S(function(y1, V1) {
2428
- E(X, n1, y1, V1);
2431
+ return new S(function(b1, V1) {
2432
+ E(X, n1, b1, V1);
2429
2433
  });
2430
2434
  }
2431
2435
  return Y = Y ? Y.then(i1, i1) : i1();
@@ -2464,16 +2468,16 @@ var H4 = ii.exports, ai = { exports: {} };
2464
2468
  } else
2465
2469
  E.method === "return" && E.abrupt("return", E.arg);
2466
2470
  Y = D;
2467
- var y1 = b(M, S, E);
2468
- if (y1.type === "normal") {
2469
- if (Y = E.done ? N : x, y1.arg === z)
2471
+ var b1 = y(M, S, E);
2472
+ if (b1.type === "normal") {
2473
+ if (Y = E.done ? N : x, b1.arg === z)
2470
2474
  continue;
2471
2475
  return {
2472
- value: y1.arg,
2476
+ value: b1.arg,
2473
2477
  done: E.done
2474
2478
  };
2475
2479
  }
2476
- y1.type === "throw" && (Y = N, E.method = "throw", E.arg = y1.arg);
2480
+ b1.type === "throw" && (Y = N, E.method = "throw", E.arg = b1.arg);
2477
2481
  }
2478
2482
  };
2479
2483
  }
@@ -2481,7 +2485,7 @@ var H4 = ii.exports, ai = { exports: {} };
2481
2485
  var E = S.method, Y = M.iterator[E];
2482
2486
  if (Y === r)
2483
2487
  return S.delegate = null, E === "throw" && M.iterator.return && (S.method = "return", S.arg = r, f1(M, S), S.method === "throw") || E !== "return" && (S.method = "throw", S.arg = new TypeError("The iterator does not provide a '" + E + "' method")), z;
2484
- var Z = b(Y, M.iterator, S.arg);
2488
+ var Z = y(Y, M.iterator, S.arg);
2485
2489
  if (Z.type === "throw")
2486
2490
  return S.method = "throw", S.arg = Z.arg, S.delegate = null, z;
2487
2491
  var X = Z.arg;
@@ -2540,7 +2544,7 @@ var H4 = ii.exports, ai = { exports: {} };
2540
2544
  return this;
2541
2545
  }), i.AsyncIterator = Q, i.async = function(M, S, E, Y, Z) {
2542
2546
  Z === void 0 && (Z = Promise);
2543
- var X = new Q(y(M, S, E, Y), Z);
2547
+ var X = new Q(b(M, S, E, Y), Z);
2544
2548
  return i.isGeneratorFunction(S) ? X : X.next().then(function(n1) {
2545
2549
  return n1.done ? n1.value : X.next();
2546
2550
  });
@@ -2578,16 +2582,16 @@ var H4 = ii.exports, ai = { exports: {} };
2578
2582
  if (this.done)
2579
2583
  throw S;
2580
2584
  var E = this;
2581
- function Y(V1, H1) {
2582
- return n1.type = "throw", n1.arg = S, E.next = V1, H1 && (E.method = "next", E.arg = r), !!H1;
2585
+ function Y(V1, O1) {
2586
+ return n1.type = "throw", n1.arg = S, E.next = V1, O1 && (E.method = "next", E.arg = r), !!O1;
2583
2587
  }
2584
2588
  for (var Z = this.tryEntries.length - 1; Z >= 0; --Z) {
2585
2589
  var X = this.tryEntries[Z], n1 = X.completion;
2586
2590
  if (X.tryLoc === "root")
2587
2591
  return Y("end");
2588
2592
  if (X.tryLoc <= this.prev) {
2589
- var i1 = o.call(X, "catchLoc"), y1 = o.call(X, "finallyLoc");
2590
- if (i1 && y1) {
2593
+ var i1 = o.call(X, "catchLoc"), b1 = o.call(X, "finallyLoc");
2594
+ if (i1 && b1) {
2591
2595
  if (this.prev < X.catchLoc)
2592
2596
  return Y(X.catchLoc, !0);
2593
2597
  if (this.prev < X.finallyLoc)
@@ -2596,7 +2600,7 @@ var H4 = ii.exports, ai = { exports: {} };
2596
2600
  if (this.prev < X.catchLoc)
2597
2601
  return Y(X.catchLoc, !0);
2598
2602
  } else {
2599
- if (!y1)
2603
+ if (!b1)
2600
2604
  throw Error("try statement without catch or finally");
2601
2605
  if (this.prev < X.finallyLoc)
2602
2606
  return Y(X.finallyLoc);
@@ -2746,16 +2750,16 @@ var N4 = li.exports;
2746
2750
  }
2747
2751
  e.exports = r, e.exports.__esModule = !0, e.exports.default = e.exports;
2748
2752
  })(si);
2749
- var D4 = si.exports, k4 = O4.default, Ct = H4.default;
2753
+ var D4 = si.exports, k4 = O4.default, _t = H4.default;
2750
2754
  Object.defineProperty(Ue, "__esModule", {
2751
2755
  value: !0
2752
2756
  });
2753
2757
  Ue._r = G4;
2754
2758
  Ue._u = J4;
2755
- var A4 = Ue.render = X4, $4 = Ue.unmount = K4, lt = Ct(R4), di = Ct(I4), j4 = Ct(Be), P4 = Ct(D4), U4 = k4(Xn), ze = (0, P4.default)({}, U4), B4 = ze.version, z4 = ze.render, F4 = ze.unmountComponentAtNode, _t;
2759
+ var A4 = Ue.render = X4, $4 = Ue.unmount = K4, lt = _t(R4), di = _t(I4), j4 = _t(Be), P4 = _t(D4), U4 = k4(Xn), ze = (0, P4.default)({}, U4), B4 = ze.version, z4 = ze.render, F4 = ze.unmountComponentAtNode, yt;
2756
2760
  try {
2757
2761
  var Z4 = Number((B4 || "").split(".")[0]);
2758
- Z4 >= 18 && (_t = ze.createRoot);
2762
+ Z4 >= 18 && (yt = ze.createRoot);
2759
2763
  } catch {
2760
2764
  }
2761
2765
  function dn(e) {
@@ -2765,7 +2769,7 @@ function dn(e) {
2765
2769
  var ct = "__rc_react_root__";
2766
2770
  function W4(e, t) {
2767
2771
  dn(!0);
2768
- var n = t[ct] || _t(t);
2772
+ var n = t[ct] || yt(t);
2769
2773
  dn(!1), n.render(e), t[ct] = n;
2770
2774
  }
2771
2775
  function Y4(e, t) {
@@ -2774,17 +2778,17 @@ function Y4(e, t) {
2774
2778
  function G4(e, t) {
2775
2779
  }
2776
2780
  function X4(e, t) {
2777
- if (_t) {
2781
+ if (yt) {
2778
2782
  W4(e, t);
2779
2783
  return;
2780
2784
  }
2781
2785
  Y4(e, t);
2782
2786
  }
2783
2787
  function q4(e) {
2784
- return a3.apply(this, arguments);
2788
+ return o3.apply(this, arguments);
2785
2789
  }
2786
- function a3() {
2787
- return a3 = (0, di.default)(/* @__PURE__ */ (0, lt.default)().mark(function e(t) {
2790
+ function o3() {
2791
+ return o3 = (0, di.default)(/* @__PURE__ */ (0, lt.default)().mark(function e(t) {
2788
2792
  return (0, lt.default)().wrap(function(r) {
2789
2793
  for (; ; )
2790
2794
  switch (r.prev = r.next) {
@@ -2798,7 +2802,7 @@ function a3() {
2798
2802
  return r.stop();
2799
2803
  }
2800
2804
  }, e);
2801
- })), a3.apply(this, arguments);
2805
+ })), o3.apply(this, arguments);
2802
2806
  }
2803
2807
  function Q4(e) {
2804
2808
  F4(e);
@@ -2806,15 +2810,15 @@ function Q4(e) {
2806
2810
  function J4(e) {
2807
2811
  }
2808
2812
  function K4(e) {
2809
- return o3.apply(this, arguments);
2813
+ return s3.apply(this, arguments);
2810
2814
  }
2811
- function o3() {
2812
- return o3 = (0, di.default)(/* @__PURE__ */ (0, lt.default)().mark(function e(t) {
2815
+ function s3() {
2816
+ return s3 = (0, di.default)(/* @__PURE__ */ (0, lt.default)().mark(function e(t) {
2813
2817
  return (0, lt.default)().wrap(function(r) {
2814
2818
  for (; ; )
2815
2819
  switch (r.prev = r.next) {
2816
2820
  case 0:
2817
- if (_t === void 0) {
2821
+ if (yt === void 0) {
2818
2822
  r.next = 2;
2819
2823
  break;
2820
2824
  }
@@ -2826,7 +2830,7 @@ function o3() {
2826
2830
  return r.stop();
2827
2831
  }
2828
2832
  }, e);
2829
- })), o3.apply(this, arguments);
2833
+ })), s3.apply(this, arguments);
2830
2834
  }
2831
2835
  const E3 = T1("univer.message-service"), e5 = "univer-app-layout", t5 = "univer-app-container", n5 = "univer-app-container-header", r5 = "univer-app-container-wrapper", i5 = "univer-app-container-content", a5 = "univer-app-container-canvas", o5 = "univer-app-container-left-sidebar", s5 = "univer-app-container-sidebar", ce = {
2832
2836
  appLayout: e5,
@@ -2890,7 +2894,7 @@ function fi(e) {
2890
2894
  }
2891
2895
  );
2892
2896
  }
2893
- const u5 = "univer-headerbar", d5 = "univer-header-menu", f5 = "univer-menubar", h5 = "univer-menubar-item", g5 = "univer-menubar-item-active", p5 = "univer-toolbar", m5 = "univer-toolbar-container", v5 = "univer-toolbar-more", C5 = "univer-toolbar-more-container", _5 = "univer-toolbar-group", b5 = "univer-toolbar-item-select-button", y5 = "univer-toolbar-item-select-button-disabled", S5 = "univer-toolbar-item-select-button-activated", L5 = "univer-toolbar-item-select-button-label", M5 = "univer-toolbar-item-select-button-arrow", w5 = "univer-toolbar-item-select", x5 = "univer-toolbar-item-select-disabled", E5 = "univer-toolbar-item-select-activated", O5 = "univer-toolbar-item-select-arrow", H5 = "univer-toolbar-item-select-arrow-disabled", R5 = "univer-toolbar-item-select-arrow-activated", c1 = {
2897
+ const u5 = "univer-headerbar", d5 = "univer-header-menu", f5 = "univer-menubar", h5 = "univer-menubar-item", g5 = "univer-menubar-item-active", p5 = "univer-toolbar", m5 = "univer-toolbar-container", v5 = "univer-toolbar-more", C5 = "univer-toolbar-more-container", _5 = "univer-toolbar-group", y5 = "univer-toolbar-item-select-button", b5 = "univer-toolbar-item-select-button-disabled", S5 = "univer-toolbar-item-select-button-activated", L5 = "univer-toolbar-item-select-button-label", M5 = "univer-toolbar-item-select-button-arrow", w5 = "univer-toolbar-item-select", x5 = "univer-toolbar-item-select-disabled", E5 = "univer-toolbar-item-select-activated", O5 = "univer-toolbar-item-select-arrow", H5 = "univer-toolbar-item-select-arrow-disabled", R5 = "univer-toolbar-item-select-arrow-activated", c1 = {
2894
2898
  headerbar: u5,
2895
2899
  headerMenu: d5,
2896
2900
  menubar: f5,
@@ -2901,8 +2905,8 @@ const u5 = "univer-headerbar", d5 = "univer-header-menu", f5 = "univer-menubar",
2901
2905
  toolbarMore: v5,
2902
2906
  toolbarMoreContainer: C5,
2903
2907
  toolbarGroup: _5,
2904
- toolbarItemSelectButton: b5,
2905
- toolbarItemSelectButtonDisabled: y5,
2908
+ toolbarItemSelectButton: y5,
2909
+ toolbarItemSelectButtonDisabled: b5,
2906
2910
  toolbarItemSelectButtonActivated: S5,
2907
2911
  toolbarItemSelectButtonLabel: L5,
2908
2912
  toolbarItemSelectButtonArrow: M5,
@@ -2912,15 +2916,15 @@ const u5 = "univer-headerbar", d5 = "univer-header-menu", f5 = "univer-menubar",
2912
2916
  toolbarItemSelectArrow: O5,
2913
2917
  toolbarItemSelectArrowDisabled: H5,
2914
2918
  toolbarItemSelectArrowActivated: R5
2915
- }, Ut = H((e, t) => {
2916
- const n = u1(ie), r = u1(Ae), i = zn(), [a, o] = l1(), [c, d] = l1(!1), [h, g] = l1(!1), [u, C] = l1(!1), [y, b] = l1(!1), [A, x] = l1(!1), D = (M, S) => {
2919
+ }, Bt = H((e, t) => {
2920
+ const n = u1(ie), r = u1(Ae), i = zn(), [a, o] = l1(), [c, d] = l1(!1), [h, g] = l1(!1), [u, C] = l1(!1), [b, y] = l1(!1), [A, x] = l1(!1), D = (M, S) => {
2917
2921
  r.executeCommand(M, S), i.get(Yn).focus();
2918
2922
  };
2919
2923
  function N(M) {
2920
- b(M);
2924
+ y(M);
2921
2925
  }
2922
2926
  function z(M) {
2923
- x(M), M || b(!1);
2927
+ x(M), M || y(!1);
2924
2928
  }
2925
2929
  v1(() => {
2926
2930
  const M = [];
@@ -2999,9 +3003,9 @@ const u5 = "univer-headerbar", d5 = "univer-header-menu", f5 = "univer-menubar",
2999
3003
  children: /* @__PURE__ */ m.jsx(We, {})
3000
3004
  }
3001
3005
  ) : /* @__PURE__ */ m.jsx(
3002
- Qt,
3006
+ Jt,
3003
3007
  {
3004
- overlay: /* @__PURE__ */ m.jsx(r3, { menuType: P, options: J, onOptionSelect: S, value: a }),
3008
+ overlay: /* @__PURE__ */ m.jsx(i3, { menuType: P, options: J, onOptionSelect: S, value: a }),
3005
3009
  onVisibleChange: z,
3006
3010
  children: /* @__PURE__ */ m.jsx(
3007
3011
  "div",
@@ -3049,9 +3053,9 @@ const u5 = "univer-headerbar", d5 = "univer-header-menu", f5 = "univer-menubar",
3049
3053
  ]
3050
3054
  }
3051
3055
  ) : /* @__PURE__ */ m.jsx(
3052
- Qt,
3056
+ Jt,
3053
3057
  {
3054
- overlay: /* @__PURE__ */ m.jsx(r3, { menuType: P, options: J, onOptionSelect: S, value: a }),
3058
+ overlay: /* @__PURE__ */ m.jsx(i3, { menuType: P, options: J, onOptionSelect: S, value: a }),
3055
3059
  onVisibleChange: z,
3056
3060
  children: /* @__PURE__ */ m.jsxs(
3057
3061
  "div",
@@ -3116,7 +3120,7 @@ const u5 = "univer-headerbar", d5 = "univer-header-menu", f5 = "univer-menubar",
3116
3120
  w3,
3117
3121
  {
3118
3122
  ref: t,
3119
- visible: A ? !1 : y,
3123
+ visible: A ? !1 : b,
3120
3124
  title: G,
3121
3125
  placement: "bottom",
3122
3126
  onVisibleChange: N,
@@ -3132,7 +3136,7 @@ const u5 = "univer-headerbar", d5 = "univer-header-menu", f5 = "univer-menubar",
3132
3136
  te.TOOLBAR_OTHERS
3133
3137
  ];
3134
3138
  function T5(e) {
3135
- const { headerMenuComponents: t } = e, n = u1(ie), r = u1(He), [i, a] = l1(te.TOOLBAR_START), o = S1(null), c = S1({}), [d, h] = l1([]), [g, u] = l1([]), [C, y] = l1([]);
3139
+ const { headerMenuComponents: t } = e, n = u1(ie), r = u1(He), [i, a] = l1(te.TOOLBAR_START), o = S1(null), c = S1({}), [d, h] = l1([]), [g, u] = l1([]), [C, b] = l1([]);
3136
3140
  v1(() => {
3137
3141
  var z, W;
3138
3142
  const x = (W = (z = d.find((L) => L.name === i)) == null ? void 0 : z.menuItems) != null ? W : [], N = Q2(
@@ -3143,7 +3147,7 @@ function T5(e) {
3143
3147
  ).pipe(
3144
3148
  J2((L) => x.filter((T, k) => !L[k]))
3145
3149
  ).subscribe((L) => {
3146
- y(L);
3150
+ b(L);
3147
3151
  });
3148
3152
  return () => {
3149
3153
  N.unsubscribe();
@@ -3184,7 +3188,7 @@ function T5(e) {
3184
3188
  D.unobserve(document.body);
3185
3189
  };
3186
3190
  }, [C, d, i]);
3187
- const b = re(() => {
3191
+ const y = re(() => {
3188
3192
  var x, D;
3189
3193
  return (D = (x = d.find((N) => N.name === i)) == null ? void 0 : x.menuItems.reduce(
3190
3194
  (N, z) => {
@@ -3213,16 +3217,16 @@ function T5(e) {
3213
3217
  /* @__PURE__ */ m.jsx("div", { className: c1.headerMenu, children: /* @__PURE__ */ m.jsx(Me, { components: t }) })
3214
3218
  ] }) : null,
3215
3219
  /* @__PURE__ */ m.jsx("div", { ref: o, className: c1.toolbar, children: /* @__PURE__ */ m.jsxs("div", { className: c1.toolbarContainer, children: [
3216
- Object.entries(b).filter(([x, D]) => D.filter((z) => !g.includes(z.id)).length).map(([x, D]) => /* @__PURE__ */ m.jsx("div", { className: c1.toolbarGroup, children: D.map(
3217
- (N) => !g.includes(N.id) && /* @__PURE__ */ m.jsx(Ut, { ...N }, N.id)
3220
+ Object.entries(y).filter(([x, D]) => D.filter((z) => !g.includes(z.id)).length).map(([x, D]) => /* @__PURE__ */ m.jsx("div", { className: c1.toolbarGroup, children: D.map(
3221
+ (N) => !g.includes(N.id) && /* @__PURE__ */ m.jsx(Bt, { ...N }, N.id)
3218
3222
  ) }, x)),
3219
3223
  g.length > 0 && /* @__PURE__ */ m.jsx(w3, { title: n.t("more"), placement: "bottom", children: /* @__PURE__ */ m.jsx(
3220
- Qt,
3224
+ Jt,
3221
3225
  {
3222
3226
  forceRender: !0,
3223
3227
  className: c1.toolbarMore,
3224
- overlay: /* @__PURE__ */ m.jsx("div", { className: c1.toolbarMoreContainer, onClick: (x) => x.stopPropagation(), children: Object.entries(b).map(([x, D]) => /* @__PURE__ */ m.jsx("div", { className: c1.toolbarGroup, children: D.map(
3225
- (N) => g.includes(N.id) && /* @__PURE__ */ m.jsx(Ut, { ...N }, N.id)
3228
+ overlay: /* @__PURE__ */ m.jsx("div", { className: c1.toolbarMoreContainer, onClick: (x) => x.stopPropagation(), children: Object.entries(y).map(([x, D]) => /* @__PURE__ */ m.jsx("div", { className: c1.toolbarGroup, children: D.map(
3229
+ (N) => g.includes(N.id) && /* @__PURE__ */ m.jsx(Bt, { ...N }, N.id)
3226
3230
  ) }, x)) }),
3227
3231
  children: /* @__PURE__ */ m.jsx(fi, { className: c1.toolbarItemTextButton, children: /* @__PURE__ */ m.jsx(Go, {}) })
3228
3232
  }
@@ -3238,8 +3242,8 @@ function T5(e) {
3238
3242
  left: -9999,
3239
3243
  opacity: 0
3240
3244
  },
3241
- children: Object.entries(b).map(([x, D]) => /* @__PURE__ */ m.jsx("div", { className: c1.toolbarGroup, children: D.map((N) => /* @__PURE__ */ m.jsx(
3242
- Ut,
3245
+ children: Object.entries(y).map(([x, D]) => /* @__PURE__ */ m.jsx("div", { className: c1.toolbarGroup, children: D.map((N) => /* @__PURE__ */ m.jsx(
3246
+ Bt,
3243
3247
  {
3244
3248
  ref: (z) => {
3245
3249
  c.current[N.id] = {
@@ -3302,7 +3306,7 @@ function P5() {
3302
3306
  (r == null ? void 0 : r.footer) && /* @__PURE__ */ m.jsx("footer", { className: ge.sidebarFooter, children: r.footer })
3303
3307
  ] }) });
3304
3308
  }
3305
- const hi = T1("univer.zen-zone-service"), U5 = "univer-zen-zone", B5 = "univer-zen-zone-open", z5 = "univer-zen-zone-close", Bt = {
3309
+ const hi = T1("univer.zen-zone-service"), U5 = "univer-zen-zone", B5 = "univer-zen-zone-open", z5 = "univer-zen-zone-close", zt = {
3306
3310
  zenZone: U5,
3307
3311
  zenZoneOpen: B5,
3308
3312
  zenZoneClose: z5
@@ -3324,14 +3328,14 @@ function F5() {
3324
3328
  });
3325
3329
  };
3326
3330
  }, []);
3327
- const o = k1(Bt.zenZone, t ? Bt.zenZoneOpen : Bt.zenZoneClose), c = re(() => {
3331
+ const o = k1(zt.zenZone, t ? zt.zenZoneOpen : zt.zenZoneClose), c = re(() => {
3328
3332
  const d = a.get(r != null ? r : "");
3329
3333
  if (d)
3330
3334
  return d;
3331
3335
  }, [r]);
3332
3336
  return /* @__PURE__ */ m.jsx("section", { className: o, children: c && /* @__PURE__ */ m.jsx(c, {}) });
3333
3337
  }
3334
- function s3(e, t) {
3338
+ function l3(e, t) {
3335
3339
  (t == null || t > e.length) && (t = e.length);
3336
3340
  for (var n = 0, r = new Array(t); n < t; n++)
3337
3341
  r[n] = e[n];
@@ -3339,7 +3343,7 @@ function s3(e, t) {
3339
3343
  }
3340
3344
  function Z5(e) {
3341
3345
  if (Array.isArray(e))
3342
- return s3(e);
3346
+ return l3(e);
3343
3347
  }
3344
3348
  function W5(e) {
3345
3349
  if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null)
@@ -3348,12 +3352,12 @@ function W5(e) {
3348
3352
  function gi(e, t) {
3349
3353
  if (e) {
3350
3354
  if (typeof e == "string")
3351
- return s3(e, t);
3355
+ return l3(e, t);
3352
3356
  var n = Object.prototype.toString.call(e).slice(8, -1);
3353
3357
  if (n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set")
3354
3358
  return Array.from(e);
3355
3359
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
3356
- return s3(e, t);
3360
+ return l3(e, t);
3357
3361
  }
3358
3362
  }
3359
3363
  function Y5() {
@@ -3526,7 +3530,7 @@ function e0(e) {
3526
3530
  function t0(e) {
3527
3531
  return e0(e) ? e : e instanceof fe.Component ? Xn.findDOMNode(e) : null;
3528
3532
  }
3529
- var vi = { exports: {} }, b1 = {};
3533
+ var vi = { exports: {} }, y1 = {};
3530
3534
  /**
3531
3535
  * @license React
3532
3536
  * react-is.production.min.js
@@ -3536,7 +3540,7 @@ var vi = { exports: {} }, b1 = {};
3536
3540
  * This source code is licensed under the MIT license found in the
3537
3541
  * LICENSE file in the root directory of this source tree.
3538
3542
  */
3539
- var H3 = Symbol.for("react.element"), R3 = Symbol.for("react.portal"), bt = Symbol.for("react.fragment"), yt = Symbol.for("react.strict_mode"), St = Symbol.for("react.profiler"), Lt = Symbol.for("react.provider"), Mt = Symbol.for("react.context"), n0 = Symbol.for("react.server_context"), wt = Symbol.for("react.forward_ref"), xt = Symbol.for("react.suspense"), Et = Symbol.for("react.suspense_list"), Ot = Symbol.for("react.memo"), Ht = Symbol.for("react.lazy"), r0 = Symbol.for("react.offscreen"), Ci;
3543
+ var H3 = Symbol.for("react.element"), R3 = Symbol.for("react.portal"), bt = Symbol.for("react.fragment"), St = Symbol.for("react.strict_mode"), Lt = Symbol.for("react.profiler"), Mt = Symbol.for("react.provider"), wt = Symbol.for("react.context"), n0 = Symbol.for("react.server_context"), xt = Symbol.for("react.forward_ref"), Et = Symbol.for("react.suspense"), Ot = Symbol.for("react.suspense_list"), Ht = Symbol.for("react.memo"), Rt = Symbol.for("react.lazy"), r0 = Symbol.for("react.offscreen"), Ci;
3540
3544
  Ci = Symbol.for("react.module.reference");
3541
3545
  function Q1(e) {
3542
3546
  if (typeof e == "object" && e !== null) {
@@ -3545,19 +3549,19 @@ function Q1(e) {
3545
3549
  case H3:
3546
3550
  switch (e = e.type, e) {
3547
3551
  case bt:
3552
+ case Lt:
3548
3553
  case St:
3549
- case yt:
3550
- case xt:
3551
3554
  case Et:
3555
+ case Ot:
3552
3556
  return e;
3553
3557
  default:
3554
3558
  switch (e = e && e.$$typeof, e) {
3555
3559
  case n0:
3556
- case Mt:
3557
3560
  case wt:
3561
+ case xt:
3562
+ case Rt:
3558
3563
  case Ht:
3559
- case Ot:
3560
- case Lt:
3564
+ case Mt:
3561
3565
  return e;
3562
3566
  default:
3563
3567
  return t;
@@ -3568,72 +3572,72 @@ function Q1(e) {
3568
3572
  }
3569
3573
  }
3570
3574
  }
3571
- b1.ContextConsumer = Mt;
3572
- b1.ContextProvider = Lt;
3573
- b1.Element = H3;
3574
- b1.ForwardRef = wt;
3575
- b1.Fragment = bt;
3576
- b1.Lazy = Ht;
3577
- b1.Memo = Ot;
3578
- b1.Portal = R3;
3579
- b1.Profiler = St;
3580
- b1.StrictMode = yt;
3581
- b1.Suspense = xt;
3582
- b1.SuspenseList = Et;
3583
- b1.isAsyncMode = function() {
3575
+ y1.ContextConsumer = wt;
3576
+ y1.ContextProvider = Mt;
3577
+ y1.Element = H3;
3578
+ y1.ForwardRef = xt;
3579
+ y1.Fragment = bt;
3580
+ y1.Lazy = Rt;
3581
+ y1.Memo = Ht;
3582
+ y1.Portal = R3;
3583
+ y1.Profiler = Lt;
3584
+ y1.StrictMode = St;
3585
+ y1.Suspense = Et;
3586
+ y1.SuspenseList = Ot;
3587
+ y1.isAsyncMode = function() {
3584
3588
  return !1;
3585
3589
  };
3586
- b1.isConcurrentMode = function() {
3590
+ y1.isConcurrentMode = function() {
3587
3591
  return !1;
3588
3592
  };
3589
- b1.isContextConsumer = function(e) {
3590
- return Q1(e) === Mt;
3593
+ y1.isContextConsumer = function(e) {
3594
+ return Q1(e) === wt;
3591
3595
  };
3592
- b1.isContextProvider = function(e) {
3593
- return Q1(e) === Lt;
3596
+ y1.isContextProvider = function(e) {
3597
+ return Q1(e) === Mt;
3594
3598
  };
3595
- b1.isElement = function(e) {
3599
+ y1.isElement = function(e) {
3596
3600
  return typeof e == "object" && e !== null && e.$$typeof === H3;
3597
3601
  };
3598
- b1.isForwardRef = function(e) {
3599
- return Q1(e) === wt;
3602
+ y1.isForwardRef = function(e) {
3603
+ return Q1(e) === xt;
3600
3604
  };
3601
- b1.isFragment = function(e) {
3605
+ y1.isFragment = function(e) {
3602
3606
  return Q1(e) === bt;
3603
3607
  };
3604
- b1.isLazy = function(e) {
3605
- return Q1(e) === Ht;
3608
+ y1.isLazy = function(e) {
3609
+ return Q1(e) === Rt;
3606
3610
  };
3607
- b1.isMemo = function(e) {
3608
- return Q1(e) === Ot;
3611
+ y1.isMemo = function(e) {
3612
+ return Q1(e) === Ht;
3609
3613
  };
3610
- b1.isPortal = function(e) {
3614
+ y1.isPortal = function(e) {
3611
3615
  return Q1(e) === R3;
3612
3616
  };
3613
- b1.isProfiler = function(e) {
3614
- return Q1(e) === St;
3615
- };
3616
- b1.isStrictMode = function(e) {
3617
- return Q1(e) === yt;
3617
+ y1.isProfiler = function(e) {
3618
+ return Q1(e) === Lt;
3618
3619
  };
3619
- b1.isSuspense = function(e) {
3620
- return Q1(e) === xt;
3620
+ y1.isStrictMode = function(e) {
3621
+ return Q1(e) === St;
3621
3622
  };
3622
- b1.isSuspenseList = function(e) {
3623
+ y1.isSuspense = function(e) {
3623
3624
  return Q1(e) === Et;
3624
3625
  };
3625
- b1.isValidElementType = function(e) {
3626
- return typeof e == "string" || typeof e == "function" || e === bt || e === St || e === yt || e === xt || e === Et || e === r0 || typeof e == "object" && e !== null && (e.$$typeof === Ht || e.$$typeof === Ot || e.$$typeof === Lt || e.$$typeof === Mt || e.$$typeof === wt || e.$$typeof === Ci || e.getModuleId !== void 0);
3626
+ y1.isSuspenseList = function(e) {
3627
+ return Q1(e) === Ot;
3628
+ };
3629
+ y1.isValidElementType = function(e) {
3630
+ return typeof e == "string" || typeof e == "function" || e === bt || e === Lt || e === St || e === Et || e === Ot || e === r0 || typeof e == "object" && e !== null && (e.$$typeof === Rt || e.$$typeof === Ht || e.$$typeof === Mt || e.$$typeof === wt || e.$$typeof === xt || e.$$typeof === Ci || e.getModuleId !== void 0);
3627
3631
  };
3628
- b1.typeOf = Q1;
3629
- vi.exports = b1;
3630
- var zt = vi.exports;
3632
+ y1.typeOf = Q1;
3633
+ vi.exports = y1;
3634
+ var Ft = vi.exports;
3631
3635
  function i0(e, t) {
3632
3636
  typeof e == "function" ? e(t) : q1(e) === "object" && e && "current" in e && (e.current = t);
3633
3637
  }
3634
3638
  function a0(e) {
3635
- var t, n, r = zt.isMemo(e) ? e.type.type : e.type;
3636
- return !(typeof r == "function" && !((t = r.prototype) !== null && t !== void 0 && t.render) && r.$$typeof !== zt.ForwardRef || typeof e == "function" && !((n = e.prototype) !== null && n !== void 0 && n.render) && e.$$typeof !== zt.ForwardRef);
3639
+ var t, n, r = Ft.isMemo(e) ? e.type.type : e.type;
3640
+ return !(typeof r == "function" && !((t = r.prototype) !== null && t !== void 0 && t.render) && r.$$typeof !== Ft.ForwardRef || typeof e == "function" && !((n = e.prototype) !== null && n !== void 0 && n.render) && e.$$typeof !== Ft.ForwardRef);
3637
3641
  }
3638
3642
  var o0 = /* @__PURE__ */ t1.createContext({});
3639
3643
  function _i(e, t) {
@@ -3646,17 +3650,17 @@ function gn(e, t) {
3646
3650
  r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, pi(r.key), r);
3647
3651
  }
3648
3652
  }
3649
- function bi(e, t, n) {
3653
+ function yi(e, t, n) {
3650
3654
  return t && gn(e.prototype, t), n && gn(e, n), Object.defineProperty(e, "prototype", {
3651
3655
  writable: !1
3652
3656
  }), e;
3653
3657
  }
3654
- function l3(e, t) {
3655
- return l3 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, i) {
3658
+ function c3(e, t) {
3659
+ return c3 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, i) {
3656
3660
  return r.__proto__ = i, r;
3657
- }, l3(e, t);
3661
+ }, c3(e, t);
3658
3662
  }
3659
- function yi(e, t) {
3663
+ function bi(e, t) {
3660
3664
  if (typeof t != "function" && t !== null)
3661
3665
  throw new TypeError("Super expression must either be null or a function");
3662
3666
  e.prototype = Object.create(t && t.prototype, {
@@ -3667,7 +3671,7 @@ function yi(e, t) {
3667
3671
  }
3668
3672
  }), Object.defineProperty(e, "prototype", {
3669
3673
  writable: !1
3670
- }), t && l3(e, t);
3674
+ }), t && c3(e, t);
3671
3675
  }
3672
3676
  function dt(e) {
3673
3677
  return dt = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(n) {
@@ -3684,7 +3688,7 @@ function Si() {
3684
3688
  return !!e;
3685
3689
  })();
3686
3690
  }
3687
- function c3(e) {
3691
+ function u3(e) {
3688
3692
  if (e === void 0)
3689
3693
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
3690
3694
  return e;
@@ -3694,7 +3698,7 @@ function s0(e, t) {
3694
3698
  return t;
3695
3699
  if (t !== void 0)
3696
3700
  throw new TypeError("Derived constructors may only return object or undefined");
3697
- return c3(e);
3701
+ return u3(e);
3698
3702
  }
3699
3703
  function Li(e) {
3700
3704
  var t = Si();
@@ -3709,12 +3713,12 @@ function Li(e) {
3709
3713
  };
3710
3714
  }
3711
3715
  var l0 = /* @__PURE__ */ function(e) {
3712
- yi(n, e);
3716
+ bi(n, e);
3713
3717
  var t = Li(n);
3714
3718
  function n() {
3715
3719
  return _i(this, n), t.apply(this, arguments);
3716
3720
  }
3717
- return bi(n, [{
3721
+ return yi(n, [{
3718
3722
  key: "render",
3719
3723
  value: function() {
3720
3724
  return this.props.children;
@@ -3806,14 +3810,14 @@ typeof window < "u" && "requestAnimationFrame" in window && (Ii = function(t) {
3806
3810
  }, Ti = function(t) {
3807
3811
  return window.cancelAnimationFrame(t);
3808
3812
  });
3809
- var bn = 0, V3 = /* @__PURE__ */ new Map();
3813
+ var yn = 0, V3 = /* @__PURE__ */ new Map();
3810
3814
  function Vi(e) {
3811
3815
  V3.delete(e);
3812
3816
  }
3813
- var u3 = function(t) {
3817
+ var d3 = function(t) {
3814
3818
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;
3815
- bn += 1;
3816
- var r = bn;
3819
+ yn += 1;
3820
+ var r = yn;
3817
3821
  function i(a) {
3818
3822
  if (a === 0)
3819
3823
  Vi(r), t();
@@ -3826,19 +3830,19 @@ var u3 = function(t) {
3826
3830
  }
3827
3831
  return i(n), r;
3828
3832
  };
3829
- u3.cancel = function(e) {
3833
+ d3.cancel = function(e) {
3830
3834
  var t = V3.get(e);
3831
3835
  return Vi(e), Ti(t);
3832
3836
  };
3833
3837
  const h0 = function() {
3834
3838
  var e = t1.useRef(null);
3835
3839
  function t() {
3836
- u3.cancel(e.current);
3840
+ d3.cancel(e.current);
3837
3841
  }
3838
3842
  function n(r) {
3839
3843
  var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 2;
3840
3844
  t();
3841
- var a = u3(function() {
3845
+ var a = d3(function() {
3842
3846
  i <= 1 ? r({
3843
3847
  isCanceled: function() {
3844
3848
  return a !== e.current;
@@ -3865,10 +3869,10 @@ const v0 = function(e, t, n) {
3865
3869
  var C = t ? p0 : g0;
3866
3870
  return Ri(function() {
3867
3871
  if (a !== pn && a !== I3) {
3868
- var y = C.indexOf(a), b = C[y + 1], A = n(a);
3869
- A === Ni ? o(b, !0) : b && h(function(x) {
3872
+ var b = C.indexOf(a), y = C[b + 1], A = n(a);
3873
+ A === Ni ? o(y, !0) : y && h(function(x) {
3870
3874
  function D() {
3871
- x.isCanceled() || o(b, !0);
3875
+ x.isCanceled() || o(y, !0);
3872
3876
  }
3873
3877
  A === !0 ? D() : Promise.resolve(A).then(D);
3874
3878
  });
@@ -3880,7 +3884,7 @@ const v0 = function(e, t, n) {
3880
3884
  }, []), [u, a];
3881
3885
  };
3882
3886
  function C0(e, t, n, r) {
3883
- var i = r.motionEnter, a = i === void 0 ? !0 : i, o = r.motionAppear, c = o === void 0 ? !0 : o, d = r.motionLeave, h = d === void 0 ? !0 : d, g = r.motionDeadline, u = r.motionLeaveImmediately, C = r.onAppearPrepare, y = r.onEnterPrepare, b = r.onLeavePrepare, A = r.onAppearStart, x = r.onEnterStart, D = r.onLeaveStart, N = r.onAppearActive, z = r.onEnterActive, W = r.onLeaveActive, L = r.onAppearEnd, T = r.onEnterEnd, k = r.onLeaveEnd, V = r.onVisibleChanged, P = rt(), G = A1(P, 2), F = G[0], Q = G[1], J = rt(me), f1 = A1(J, 2), s1 = f1[0], r1 = f1[1], h1 = rt(null), L1 = A1(h1, 2), M = L1[0], S = L1[1], E = S1(!1), Y = S1(null);
3887
+ var i = r.motionEnter, a = i === void 0 ? !0 : i, o = r.motionAppear, c = o === void 0 ? !0 : o, d = r.motionLeave, h = d === void 0 ? !0 : d, g = r.motionDeadline, u = r.motionLeaveImmediately, C = r.onAppearPrepare, b = r.onEnterPrepare, y = r.onLeavePrepare, A = r.onAppearStart, x = r.onEnterStart, D = r.onLeaveStart, N = r.onAppearActive, z = r.onEnterActive, W = r.onLeaveActive, L = r.onAppearEnd, T = r.onEnterEnd, k = r.onLeaveEnd, V = r.onVisibleChanged, P = rt(), G = A1(P, 2), F = G[0], Q = G[1], J = rt(me), f1 = A1(J, 2), s1 = f1[0], r1 = f1[1], h1 = rt(null), L1 = A1(h1, 2), M = L1[0], S = L1[1], E = S1(!1), Y = S1(null);
3884
3888
  function Z() {
3885
3889
  return n();
3886
3890
  }
@@ -3895,15 +3899,15 @@ function C0(e, t, n, r) {
3895
3899
  s1 === Qe && g1 ? j1 = L == null ? void 0 : L(d1, w1) : s1 === Je && g1 ? j1 = T == null ? void 0 : T(d1, w1) : s1 === Ke && g1 && (j1 = k == null ? void 0 : k(d1, w1)), s1 !== me && g1 && j1 !== !1 && n1();
3896
3900
  }
3897
3901
  }
3898
- var y1 = f0(i1), V1 = A1(y1, 1), H1 = V1[0], M1 = function(d1) {
3902
+ var b1 = f0(i1), V1 = A1(b1, 1), O1 = V1[0], M1 = function(d1) {
3899
3903
  var g1, j1, ae;
3900
3904
  switch (d1) {
3901
3905
  case Qe:
3902
3906
  return g1 = {}, N1(g1, ee, C), N1(g1, we, A), N1(g1, xe, N), g1;
3903
3907
  case Je:
3904
- return j1 = {}, N1(j1, ee, y), N1(j1, we, x), N1(j1, xe, z), j1;
3908
+ return j1 = {}, N1(j1, ee, b), N1(j1, we, x), N1(j1, xe, z), j1;
3905
3909
  case Ke:
3906
- return ae = {}, N1(ae, ee, b), N1(ae, we, D), N1(ae, xe, W), ae;
3910
+ return ae = {}, N1(ae, ee, y), N1(ae, we, D), N1(ae, xe, W), ae;
3907
3911
  default:
3908
3912
  return {};
3909
3913
  }
@@ -3918,7 +3922,7 @@ function C0(e, t, n, r) {
3918
3922
  var g1;
3919
3923
  S(((g1 = J1[e1]) === null || g1 === void 0 ? void 0 : g1.call(J1, Z(), null)) || null);
3920
3924
  }
3921
- return e1 === xe && (H1(Z()), g > 0 && (clearTimeout(Y.current), Y.current = setTimeout(function() {
3925
+ return e1 === xe && (O1(Z()), g > 0 && (clearTimeout(Y.current), Y.current = setTimeout(function() {
3922
3926
  i1({
3923
3927
  deadline: !0
3924
3928
  });
@@ -3946,10 +3950,10 @@ function C0(e, t, n, r) {
3946
3950
  v1(function() {
3947
3951
  F && ($1.current = !0), F !== void 0 && s1 === me && (($1.current || F) && (V == null || V(F)), $1.current = !0);
3948
3952
  }, [F, s1]);
3949
- var R1 = M;
3950
- return J1[ee] && e1 === we && (R1 = m1({
3953
+ var H1 = M;
3954
+ return J1[ee] && e1 === we && (H1 = m1({
3951
3955
  transition: "none"
3952
- }, R1)), [s1, e1, R1, F != null ? F : t];
3956
+ }, H1)), [s1, e1, H1, F != null ? F : t];
3953
3957
  }
3954
3958
  function _0(e) {
3955
3959
  var t = e;
@@ -3958,7 +3962,7 @@ function _0(e) {
3958
3962
  return !!(i.motionName && t && a !== !1);
3959
3963
  }
3960
3964
  var r = /* @__PURE__ */ t1.forwardRef(function(i, a) {
3961
- var o = i.visible, c = o === void 0 ? !0 : o, d = i.removeOnLeave, h = d === void 0 ? !0 : d, g = i.forceRender, u = i.children, C = i.motionName, y = i.leavedClassName, b = i.eventProps, A = t1.useContext(o0), x = A.motion, D = n(i, x), N = S1(), z = S1();
3965
+ var o = i.visible, c = o === void 0 ? !0 : o, d = i.removeOnLeave, h = d === void 0 ? !0 : d, g = i.forceRender, u = i.children, C = i.motionName, b = i.leavedClassName, y = i.eventProps, A = t1.useContext(o0), x = A.motion, D = n(i, x), N = S1(), z = S1();
3962
3966
  function W() {
3963
3967
  try {
3964
3968
  return N.current instanceof HTMLElement ? N.current : t0(z.current);
@@ -3970,15 +3974,15 @@ function _0(e) {
3970
3974
  G && (F.current = !0);
3971
3975
  var Q = t1.useCallback(function(S) {
3972
3976
  N.current = S, i0(a, S);
3973
- }, [a]), J, f1 = m1(m1({}, b), {}, {
3977
+ }, [a]), J, f1 = m1(m1({}, y), {}, {
3974
3978
  visible: c
3975
3979
  });
3976
3980
  if (!u)
3977
3981
  J = null;
3978
3982
  else if (k === me)
3979
- G ? J = u(m1({}, f1), Q) : !h && F.current && y ? J = u(m1(m1({}, f1), {}, {
3980
- className: y
3981
- }), Q) : g || !h && !y ? J = u(m1(m1({}, f1), {}, {
3983
+ G ? J = u(m1({}, f1), Q) : !h && F.current && b ? J = u(m1(m1({}, f1), {}, {
3984
+ className: b
3985
+ }), Q) : g || !h && !b ? J = u(m1(m1({}, f1), {}, {
3982
3986
  style: {
3983
3987
  display: "none"
3984
3988
  }
@@ -4004,9 +4008,9 @@ function _0(e) {
4004
4008
  });
4005
4009
  return r.displayName = "CSSMotion", r;
4006
4010
  }
4007
- const b0 = _0(Hi);
4008
- var d3 = "add", f3 = "keep", h3 = "remove", Ft = "removed";
4009
- function y0(e) {
4011
+ const y0 = _0(Hi);
4012
+ var f3 = "add", h3 = "keep", g3 = "remove", Zt = "removed";
4013
+ function b0(e) {
4010
4014
  var t;
4011
4015
  return e && q1(e) === "object" && "key" in e ? t = e : t = {
4012
4016
  key: e
@@ -4014,32 +4018,32 @@ function y0(e) {
4014
4018
  key: String(t.key)
4015
4019
  });
4016
4020
  }
4017
- function g3() {
4021
+ function p3() {
4018
4022
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [];
4019
- return e.map(y0);
4023
+ return e.map(b0);
4020
4024
  }
4021
4025
  function S0() {
4022
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], n = [], r = 0, i = t.length, a = g3(e), o = g3(t);
4026
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], n = [], r = 0, i = t.length, a = p3(e), o = p3(t);
4023
4027
  a.forEach(function(h) {
4024
4028
  for (var g = !1, u = r; u < i; u += 1) {
4025
4029
  var C = o[u];
4026
4030
  if (C.key === h.key) {
4027
- r < u && (n = n.concat(o.slice(r, u).map(function(y) {
4028
- return m1(m1({}, y), {}, {
4029
- status: d3
4031
+ r < u && (n = n.concat(o.slice(r, u).map(function(b) {
4032
+ return m1(m1({}, b), {}, {
4033
+ status: f3
4030
4034
  });
4031
4035
  })), r = u), n.push(m1(m1({}, C), {}, {
4032
- status: f3
4036
+ status: h3
4033
4037
  })), r += 1, g = !0;
4034
4038
  break;
4035
4039
  }
4036
4040
  }
4037
4041
  g || n.push(m1(m1({}, h), {}, {
4038
- status: h3
4042
+ status: g3
4039
4043
  }));
4040
4044
  }), r < i && (n = n.concat(o.slice(r).map(function(h) {
4041
4045
  return m1(m1({}, h), {}, {
4042
- status: d3
4046
+ status: f3
4043
4047
  });
4044
4048
  })));
4045
4049
  var c = {};
@@ -4053,46 +4057,46 @@ function S0() {
4053
4057
  return d.forEach(function(h) {
4054
4058
  n = n.filter(function(g) {
4055
4059
  var u = g.key, C = g.status;
4056
- return u !== h || C !== h3;
4060
+ return u !== h || C !== g3;
4057
4061
  }), n.forEach(function(g) {
4058
- g.key === h && (g.status = f3);
4062
+ g.key === h && (g.status = h3);
4059
4063
  });
4060
4064
  }), n;
4061
4065
  }
4062
4066
  var L0 = ["component", "children", "onVisibleChanged", "onAllRemoved"], M0 = ["status"], w0 = ["eventProps", "visible", "children", "motionName", "motionAppear", "motionEnter", "motionLeave", "motionLeaveImmediately", "motionDeadline", "removeOnLeave", "leavedClassName", "onAppearPrepare", "onAppearStart", "onAppearActive", "onAppearEnd", "onEnterStart", "onEnterActive", "onEnterEnd", "onLeaveStart", "onLeaveActive", "onLeaveEnd"];
4063
4067
  function x0(e) {
4064
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : b0, n = /* @__PURE__ */ function(r) {
4065
- yi(a, r);
4068
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : y0, n = /* @__PURE__ */ function(r) {
4069
+ bi(a, r);
4066
4070
  var i = Li(a);
4067
4071
  function a() {
4068
4072
  var o;
4069
4073
  _i(this, a);
4070
4074
  for (var c = arguments.length, d = new Array(c), h = 0; h < c; h++)
4071
4075
  d[h] = arguments[h];
4072
- return o = i.call.apply(i, [this].concat(d)), N1(c3(o), "state", {
4076
+ return o = i.call.apply(i, [this].concat(d)), N1(u3(o), "state", {
4073
4077
  keyEntities: []
4074
- }), N1(c3(o), "removeKey", function(g) {
4075
- var u = o.state.keyEntities, C = u.map(function(y) {
4076
- return y.key !== g ? y : m1(m1({}, y), {}, {
4077
- status: Ft
4078
+ }), N1(u3(o), "removeKey", function(g) {
4079
+ var u = o.state.keyEntities, C = u.map(function(b) {
4080
+ return b.key !== g ? b : m1(m1({}, b), {}, {
4081
+ status: Zt
4078
4082
  });
4079
4083
  });
4080
4084
  return o.setState({
4081
4085
  keyEntities: C
4082
- }), C.filter(function(y) {
4083
- var b = y.status;
4084
- return b !== Ft;
4086
+ }), C.filter(function(b) {
4087
+ var y = b.status;
4088
+ return y !== Zt;
4085
4089
  }).length;
4086
4090
  }), o;
4087
4091
  }
4088
- return bi(a, [{
4092
+ return yi(a, [{
4089
4093
  key: "render",
4090
4094
  value: function() {
4091
- var c = this, d = this.state.keyEntities, h = this.props, g = h.component, u = h.children, C = h.onVisibleChanged, y = h.onAllRemoved, b = ut(h, L0), A = g || t1.Fragment, x = {};
4095
+ var c = this, d = this.state.keyEntities, h = this.props, g = h.component, u = h.children, C = h.onVisibleChanged, b = h.onAllRemoved, y = ut(h, L0), A = g || t1.Fragment, x = {};
4092
4096
  return w0.forEach(function(D) {
4093
- x[D] = b[D], delete b[D];
4094
- }), delete b.keys, /* @__PURE__ */ t1.createElement(A, b, d.map(function(D, N) {
4095
- var z = D.status, W = ut(D, M0), L = z === d3 || z === f3;
4097
+ x[D] = y[D], delete y[D];
4098
+ }), delete y.keys, /* @__PURE__ */ t1.createElement(A, y, d.map(function(D, N) {
4099
+ var z = D.status, W = ut(D, M0), L = z === f3 || z === h3;
4096
4100
  return /* @__PURE__ */ t1.createElement(t, _e({}, x, {
4097
4101
  key: W.key,
4098
4102
  visible: L,
@@ -4102,7 +4106,7 @@ function x0(e) {
4102
4106
  key: W.key
4103
4107
  }), !k) {
4104
4108
  var V = c.removeKey(W.key);
4105
- V === 0 && y && y();
4109
+ V === 0 && b && b();
4106
4110
  }
4107
4111
  }
4108
4112
  }), function(T, k) {
@@ -4115,14 +4119,14 @@ function x0(e) {
4115
4119
  }], [{
4116
4120
  key: "getDerivedStateFromProps",
4117
4121
  value: function(c, d) {
4118
- var h = c.keys, g = d.keyEntities, u = g3(h), C = S0(g, u);
4122
+ var h = c.keys, g = d.keyEntities, u = p3(h), C = S0(g, u);
4119
4123
  return {
4120
- keyEntities: C.filter(function(y) {
4121
- var b = g.find(function(A) {
4124
+ keyEntities: C.filter(function(b) {
4125
+ var y = g.find(function(A) {
4122
4126
  var x = A.key;
4123
- return y.key === x;
4127
+ return b.key === x;
4124
4128
  });
4125
- return !(b && b.status === Ft && y.status === h3);
4129
+ return !(y && y.status === Zt && b.status === g3);
4126
4130
  })
4127
4131
  };
4128
4132
  }
@@ -4664,7 +4668,7 @@ var K = {
4664
4668
  onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
4665
4669
  onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
4666
4670
  onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`, R0 = "".concat(O0, " ").concat(H0).split(/[\s\n]+/), I0 = "aria-", T0 = "data-";
4667
- function yn(e, t) {
4671
+ function bn(e, t) {
4668
4672
  return e.indexOf(t) === 0;
4669
4673
  }
4670
4674
  function V0(e) {
@@ -4679,14 +4683,14 @@ function V0(e) {
4679
4683
  var r = {};
4680
4684
  return Object.keys(e).forEach(function(i) {
4681
4685
  // Aria
4682
- (n.aria && (i === "role" || yn(i, I0)) || // Data
4683
- n.data && yn(i, T0) || // Attr
4686
+ (n.aria && (i === "role" || bn(i, I0)) || // Data
4687
+ n.data && bn(i, T0) || // Attr
4684
4688
  n.attr && R0.includes(i)) && (r[i] = e[i]);
4685
4689
  }), r;
4686
4690
  }
4687
4691
  var N0 = /* @__PURE__ */ t1.forwardRef(function(e, t) {
4688
- var n = e.prefixCls, r = e.style, i = e.className, a = e.duration, o = a === void 0 ? 4.5 : a, c = e.eventKey, d = e.content, h = e.closable, g = e.closeIcon, u = g === void 0 ? "x" : g, C = e.props, y = e.onClick, b = e.onNoticeClose, A = e.times, x = e.hovering, D = t1.useState(!1), N = A1(D, 2), z = N[0], W = N[1], L = x || z, T = function() {
4689
- b(c);
4692
+ var n = e.prefixCls, r = e.style, i = e.className, a = e.duration, o = a === void 0 ? 4.5 : a, c = e.eventKey, d = e.content, h = e.closable, g = e.closeIcon, u = g === void 0 ? "x" : g, C = e.props, b = e.onClick, y = e.onNoticeClose, A = e.times, x = e.hovering, D = t1.useState(!1), N = A1(D, 2), z = N[0], W = N[1], L = x || z, T = function() {
4693
+ y(c);
4690
4694
  }, k = function(Q) {
4691
4695
  (Q.key === "Enter" || Q.code === "Enter" || Q.keyCode === K.ENTER) && T();
4692
4696
  };
@@ -4717,7 +4721,7 @@ var N0 = /* @__PURE__ */ t1.forwardRef(function(e, t) {
4717
4721
  var J;
4718
4722
  W(!1), C == null || (J = C.onMouseLeave) === null || J === void 0 || J.call(C, Q);
4719
4723
  },
4720
- onClick: y
4724
+ onClick: b
4721
4725
  }), /* @__PURE__ */ t1.createElement("div", {
4722
4726
  className: "".concat(G, "-content")
4723
4727
  }, d), h && /* @__PURE__ */ t1.createElement("a", _e({
@@ -4742,7 +4746,7 @@ var N0 = /* @__PURE__ */ t1.forwardRef(function(e, t) {
4742
4746
  }
4743
4747
  return [!!t, n];
4744
4748
  }, A0 = ["className", "style", "classNames", "styles"], $0 = function(t) {
4745
- var n = t.configList, r = t.placement, i = t.prefixCls, a = t.className, o = t.style, c = t.motion, d = t.onAllNoticeRemoved, h = t.onNoticeClose, g = t.stack, u = Zn(D0), C = u.classNames, y = S1({}), b = l1(null), A = A1(b, 2), x = A[0], D = A[1], N = l1([]), z = A1(N, 2), W = z[0], L = z[1], T = n.map(function(r1) {
4749
+ var n = t.configList, r = t.placement, i = t.prefixCls, a = t.className, o = t.style, c = t.motion, d = t.onAllNoticeRemoved, h = t.onNoticeClose, g = t.stack, u = Zn(D0), C = u.classNames, b = S1({}), y = l1(null), A = A1(y, 2), x = A[0], D = A[1], N = l1([]), z = A1(N, 2), W = z[0], L = z[1], T = n.map(function(r1) {
4746
4750
  return {
4747
4751
  config: r1,
4748
4752
  key: String(r1.key)
@@ -4759,9 +4763,9 @@ var N0 = /* @__PURE__ */ t1.forwardRef(function(e, t) {
4759
4763
  });
4760
4764
  }, [W, T, P]), v1(function() {
4761
4765
  var r1;
4762
- if (P && y.current[(r1 = T[T.length - 1]) === null || r1 === void 0 ? void 0 : r1.key]) {
4766
+ if (P && b.current[(r1 = T[T.length - 1]) === null || r1 === void 0 ? void 0 : r1.key]) {
4763
4767
  var h1;
4764
- D(y.current[(h1 = T[T.length - 1]) === null || h1 === void 0 ? void 0 : h1.key]);
4768
+ D(b.current[(h1 = T[T.length - 1]) === null || h1 === void 0 ? void 0 : h1.key]);
4765
4769
  }
4766
4770
  }, [T, P]), /* @__PURE__ */ fe.createElement(E0, _e({
4767
4771
  key: r,
@@ -4774,26 +4778,26 @@ var N0 = /* @__PURE__ */ t1.forwardRef(function(e, t) {
4774
4778
  d(r);
4775
4779
  }
4776
4780
  }), function(r1, h1) {
4777
- var L1 = r1.config, M = r1.className, S = r1.style, E = r1.index, Y = L1, Z = Y.key, X = Y.times, n1 = String(Z), i1 = L1, y1 = i1.className, V1 = i1.style, H1 = i1.classNames, M1 = i1.styles, J1 = ut(i1, A0), Y1 = T.findIndex(function(he) {
4781
+ var L1 = r1.config, M = r1.className, S = r1.style, E = r1.index, Y = L1, Z = Y.key, X = Y.times, n1 = String(Z), i1 = L1, b1 = i1.className, V1 = i1.style, O1 = i1.classNames, M1 = i1.styles, J1 = ut(i1, A0), Y1 = T.findIndex(function(he) {
4778
4782
  return he.key === n1;
4779
4783
  }), B1 = {};
4780
4784
  if (P) {
4781
4785
  var a1 = T.length - 1 - (Y1 > -1 ? Y1 : E - 1), e1 = r === "top" || r === "bottom" ? "-50%" : "0";
4782
4786
  if (a1 > 0) {
4783
- var C1, $1, R1;
4784
- B1.height = f1 ? (C1 = y.current[n1]) === null || C1 === void 0 ? void 0 : C1.offsetHeight : x == null ? void 0 : x.offsetHeight;
4787
+ var C1, $1, H1;
4788
+ B1.height = f1 ? (C1 = b.current[n1]) === null || C1 === void 0 ? void 0 : C1.offsetHeight : x == null ? void 0 : x.offsetHeight;
4785
4789
  for (var w1 = 0, d1 = 0; d1 < a1; d1++) {
4786
4790
  var g1;
4787
- w1 += ((g1 = y.current[T[T.length - 1 - d1].key]) === null || g1 === void 0 ? void 0 : g1.offsetHeight) + J;
4791
+ w1 += ((g1 = b.current[T[T.length - 1 - d1].key]) === null || g1 === void 0 ? void 0 : g1.offsetHeight) + J;
4788
4792
  }
4789
- var j1 = (f1 ? w1 : a1 * F) * (r.startsWith("top") ? 1 : -1), ae = !f1 && x !== null && x !== void 0 && x.offsetWidth && ($1 = y.current[n1]) !== null && $1 !== void 0 && $1.offsetWidth ? ((x == null ? void 0 : x.offsetWidth) - F * 2 * (a1 < 3 ? a1 : 3)) / ((R1 = y.current[n1]) === null || R1 === void 0 ? void 0 : R1.offsetWidth) : 1;
4793
+ var j1 = (f1 ? w1 : a1 * F) * (r.startsWith("top") ? 1 : -1), ae = !f1 && x !== null && x !== void 0 && x.offsetWidth && ($1 = b.current[n1]) !== null && $1 !== void 0 && $1.offsetWidth ? ((x == null ? void 0 : x.offsetWidth) - F * 2 * (a1 < 3 ? a1 : 3)) / ((H1 = b.current[n1]) === null || H1 === void 0 ? void 0 : H1.offsetWidth) : 1;
4790
4794
  B1.transform = "translate3d(".concat(e1, ", ").concat(j1, "px, 0) scaleX(").concat(ae, ")");
4791
4795
  } else
4792
4796
  B1.transform = "translate3d(".concat(e1, ", 0, 0)");
4793
4797
  }
4794
4798
  return /* @__PURE__ */ fe.createElement("div", {
4795
4799
  ref: h1,
4796
- className: ke("".concat(i, "-notice-wrapper"), M, H1 == null ? void 0 : H1.wrapper),
4800
+ className: ke("".concat(i, "-notice-wrapper"), M, O1 == null ? void 0 : O1.wrapper),
4797
4801
  style: m1(m1(m1({}, S), B1), M1 == null ? void 0 : M1.wrapper),
4798
4802
  onMouseEnter: function() {
4799
4803
  return L(function(oe) {
@@ -4809,12 +4813,12 @@ var N0 = /* @__PURE__ */ t1.forwardRef(function(e, t) {
4809
4813
  }
4810
4814
  }, /* @__PURE__ */ fe.createElement(N0, _e({}, J1, {
4811
4815
  ref: function(oe) {
4812
- Y1 > -1 ? y.current[n1] = oe : delete y.current[n1];
4816
+ Y1 > -1 ? b.current[n1] = oe : delete b.current[n1];
4813
4817
  },
4814
4818
  prefixCls: i,
4815
- classNames: H1,
4819
+ classNames: O1,
4816
4820
  styles: M1,
4817
- className: ke(y1, C == null ? void 0 : C.notice),
4821
+ className: ke(b1, C == null ? void 0 : C.notice),
4818
4822
  style: V1,
4819
4823
  times: X,
4820
4824
  key: Z,
@@ -4824,8 +4828,8 @@ var N0 = /* @__PURE__ */ t1.forwardRef(function(e, t) {
4824
4828
  })));
4825
4829
  });
4826
4830
  }, j0 = /* @__PURE__ */ t1.forwardRef(function(e, t) {
4827
- var n = e.prefixCls, r = n === void 0 ? "rc-notification" : n, i = e.container, a = e.motion, o = e.maxCount, c = e.className, d = e.style, h = e.onAllRemoved, g = e.stack, u = e.renderNotifications, C = t1.useState([]), y = A1(C, 2), b = y[0], A = y[1], x = function(P) {
4828
- var G, F = b.find(function(Q) {
4831
+ var n = e.prefixCls, r = n === void 0 ? "rc-notification" : n, i = e.container, a = e.motion, o = e.maxCount, c = e.className, d = e.style, h = e.onAllRemoved, g = e.stack, u = e.renderNotifications, C = t1.useState([]), b = A1(C, 2), y = b[0], A = b[1], x = function(P) {
4832
+ var G, F = y.find(function(Q) {
4829
4833
  return Q.key === P;
4830
4834
  });
4831
4835
  F == null || (G = F.onClose) === null || G === void 0 || G.call(F), A(function(Q) {
@@ -4860,13 +4864,13 @@ var N0 = /* @__PURE__ */ t1.forwardRef(function(e, t) {
4860
4864
  var D = t1.useState({}), N = A1(D, 2), z = N[0], W = N[1];
4861
4865
  t1.useEffect(function() {
4862
4866
  var V = {};
4863
- b.forEach(function(P) {
4867
+ y.forEach(function(P) {
4864
4868
  var G = P.placement, F = G === void 0 ? "topRight" : G;
4865
4869
  F && (V[F] = V[F] || [], V[F].push(P));
4866
4870
  }), Object.keys(z).forEach(function(P) {
4867
4871
  V[P] = V[P] || [];
4868
4872
  }), W(V);
4869
- }, [b]);
4873
+ }, [y]);
4870
4874
  var L = function(P) {
4871
4875
  W(function(G) {
4872
4876
  var F = m1({}, G), Q = F[P] || [];
@@ -4910,8 +4914,8 @@ function B0() {
4910
4914
  }), e;
4911
4915
  }
4912
4916
  function z0() {
4913
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.getContainer, n = t === void 0 ? U0 : t, r = e.motion, i = e.prefixCls, a = e.maxCount, o = e.className, c = e.style, d = e.onAllRemoved, h = e.stack, g = e.renderNotifications, u = ut(e, P0), C = t1.useState(), y = A1(C, 2), b = y[0], A = y[1], x = t1.useRef(), D = /* @__PURE__ */ t1.createElement(j0, {
4914
- container: b,
4917
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.getContainer, n = t === void 0 ? U0 : t, r = e.motion, i = e.prefixCls, a = e.maxCount, o = e.className, c = e.style, d = e.onAllRemoved, h = e.stack, g = e.renderNotifications, u = ut(e, P0), C = t1.useState(), b = A1(C, 2), y = b[0], A = b[1], x = t1.useRef(), D = /* @__PURE__ */ t1.createElement(j0, {
4918
+ container: y,
4915
4919
  ref: x,
4916
4920
  prefixCls: i,
4917
4921
  motion: r,
@@ -4971,7 +4975,7 @@ function z0() {
4971
4975
  }));
4972
4976
  }, [W]), [T, D];
4973
4977
  }
4974
- const F0 = "univer-notification", Z0 = "univer-notification-notice", W0 = "univer-notification-notice-wrapper", Y0 = "univer-notification-notice-content", G0 = "univer-notification-notice-close", X0 = "univer-notification-icon", q0 = "univer-notification-icon-success", Q0 = "univer-notification-icon-info", J0 = "univer-notification-icon-warning", K0 = "univer-notification-icon-error", e7 = "univer-notification-content-container", t7 = "univer-notification-title", n7 = "univer-notification-content", r7 = "univer-notification-content-ellipsis", i7 = "univer-notification-top", a7 = "univer-notification-topLeft", o7 = "univer-notification-topRight", s7 = "univer-notification-bottom", l7 = "univer-notification-bottomRight", c7 = "univer-notification-bottomLeft", u7 = "univer-notification-fade", d7 = "univer-notification-fade-appear-prepare", f7 = "univer-notification-fade-appear-start", h7 = "univer-notification-fade-appear-active", g7 = "univer-notification-fade-appear", p7 = "univer-notification-fade-enter", m7 = "univer-notification-fade-leave", v7 = "univer-notification-fade-enter-active", C7 = "univer-notification-fade-in", _7 = "univer-notification-fade-leave-active", b7 = "univer-notification-fade-out", ne = {
4978
+ const F0 = "univer-notification", Z0 = "univer-notification-notice", W0 = "univer-notification-notice-wrapper", Y0 = "univer-notification-notice-content", G0 = "univer-notification-notice-close", X0 = "univer-notification-icon", q0 = "univer-notification-icon-success", Q0 = "univer-notification-icon-info", J0 = "univer-notification-icon-warning", K0 = "univer-notification-icon-error", e7 = "univer-notification-content-container", t7 = "univer-notification-title", n7 = "univer-notification-content", r7 = "univer-notification-content-ellipsis", i7 = "univer-notification-top", a7 = "univer-notification-topLeft", o7 = "univer-notification-topRight", s7 = "univer-notification-bottom", l7 = "univer-notification-bottomRight", c7 = "univer-notification-bottomLeft", u7 = "univer-notification-fade", d7 = "univer-notification-fade-appear-prepare", f7 = "univer-notification-fade-appear-start", h7 = "univer-notification-fade-appear-active", g7 = "univer-notification-fade-appear", p7 = "univer-notification-fade-enter", m7 = "univer-notification-fade-leave", v7 = "univer-notification-fade-enter-active", C7 = "univer-notification-fade-in", _7 = "univer-notification-fade-leave-active", y7 = "univer-notification-fade-out", ne = {
4975
4979
  notification: F0,
4976
4980
  notificationNotice: Z0,
4977
4981
  notificationNoticeWrapper: W0,
@@ -5002,8 +5006,8 @@ const F0 = "univer-notification", Z0 = "univer-notification-notice", W0 = "unive
5002
5006
  notificationFadeEnterActive: v7,
5003
5007
  notificationFadeIn: C7,
5004
5008
  notificationFadeLeaveActive: _7,
5005
- notificationFadeOut: b7
5006
- }, y7 = {
5009
+ notificationFadeOut: y7
5010
+ }, b7 = {
5007
5011
  success: /* @__PURE__ */ m.jsx(_9, { className: ne.notificationIconSuccess }),
5008
5012
  info: /* @__PURE__ */ m.jsx(nn, { className: ne.notificationIconInfo }),
5009
5013
  warning: /* @__PURE__ */ m.jsx(nn, { className: ne.notificationIconWarning }),
@@ -5013,7 +5017,7 @@ const F0 = "univer-notification", Z0 = "univer-notification-notice", W0 = "unive
5013
5017
  [ne.notificationContentEllipsis]: i !== 0
5014
5018
  });
5015
5019
  return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
5016
- /* @__PURE__ */ m.jsx("span", { className: ne.notificationIcon, children: y7[t] }),
5020
+ /* @__PURE__ */ m.jsx("span", { className: ne.notificationIcon, children: b7[t] }),
5017
5021
  /* @__PURE__ */ m.jsxs("div", { className: ne.notificationContentContainer, children: [
5018
5022
  /* @__PURE__ */ m.jsx("span", { className: ne.notificationTitle, children: r }),
5019
5023
  /* @__PURE__ */ m.jsx("span", { className: a, style: { WebkitLineClamp: i }, children: n })
@@ -5082,7 +5086,7 @@ function w7() {
5082
5086
  }
5083
5087
  return d;
5084
5088
  });
5085
- return r == null ? void 0 : r.map((i, a) => /* @__PURE__ */ m.jsx(ba, { ...i }, a));
5089
+ return r == null ? void 0 : r.map((i, a) => /* @__PURE__ */ m.jsx(ya, { ...i }, a));
5086
5090
  }
5087
5091
  const $i = T1("univer.context-menu-service");
5088
5092
  class x7 extends z1 {
@@ -5104,7 +5108,7 @@ class x7 extends z1 {
5104
5108
  registerContextMenuHandler(n) {
5105
5109
  if (this._currentHandler)
5106
5110
  throw new Error("There is already a context menu handler!");
5107
- return this._currentHandler = n, O1(() => {
5111
+ return this._currentHandler = n, I1(() => {
5108
5112
  this._currentHandler = null;
5109
5113
  });
5110
5114
  }
@@ -5126,12 +5130,12 @@ function E7() {
5126
5130
  t(!1);
5127
5131
  }
5128
5132
  return /* @__PURE__ */ m.jsx(qn, { visible: e, offset: i, children: /* @__PURE__ */ m.jsx("section", { onPointerDown: (u) => u.stopPropagation(), children: n && /* @__PURE__ */ m.jsx(
5129
- r3,
5133
+ i3,
5130
5134
  {
5131
5135
  menuType: [n],
5132
5136
  onOptionSelect: (u) => {
5133
- const { label: C, value: y } = u;
5134
- c && c.executeCommand(C, { value: y }), d.get(Yn).focus(), t(!1);
5137
+ const { label: C, value: b } = u;
5138
+ c && c.executeCommand(C, { value: b }), d.get(Yn).focus(), t(!1);
5135
5139
  }
5136
5140
  }
5137
5141
  ) }) });
@@ -5140,18 +5144,16 @@ const ji = T1("univer.ui.dialog-service");
5140
5144
  function O7() {
5141
5145
  const e = u1(ji), [t, n] = l1([]);
5142
5146
  v1(() => {
5143
- const a = e.getObservableDialog().subscribe((o) => {
5147
+ const a = e.getDialogs$().subscribe((o) => {
5144
5148
  n(o);
5145
5149
  });
5146
- return () => {
5147
- a.unsubscribe();
5148
- };
5150
+ return () => a.unsubscribe();
5149
5151
  }, [e]);
5150
5152
  const r = t.map((i) => {
5151
5153
  const { children: a, title: o, closeIcon: c, footer: d, ...h } = i, g = h;
5152
5154
  for (const u of ["children", "title", "closeIcon", "footer"]) {
5153
- const C = u, y = i[C];
5154
- y && (g[C] = /* @__PURE__ */ m.jsx(Z1, { ...y }));
5155
+ const C = u, b = i[C];
5156
+ b && (g[C] = /* @__PURE__ */ m.jsx(Z1, { ...b }));
5155
5157
  }
5156
5158
  return g;
5157
5159
  });
@@ -5163,11 +5165,11 @@ const Pi = T1("univer.global-zone-service"), H7 = "univer-global-zone", R7 = "un
5163
5165
  globalZoneClose: I7
5164
5166
  };
5165
5167
  function T7() {
5166
- const e = u1(Pi), [t, n] = l1(!1), r = U1(e.componentKey$), i = u1(ue), a = k1(xn.globalZone, xn.globalZoneOpen), o = re(() => {
5168
+ const e = u1(Pi), [t, n] = l1(!1), r = U1(e.componentKey$, e.componentKey), i = u1(ue), a = k1(xn.globalZone, xn.globalZoneOpen), o = re(() => {
5167
5169
  const c = i.get(r != null ? r : "");
5168
5170
  if (c)
5169
5171
  return c;
5170
- }, [r]);
5172
+ }, [r, i]);
5171
5173
  return v1(() => {
5172
5174
  const c = e.visible$.subscribe((d) => {
5173
5175
  n(d);
@@ -5219,7 +5221,7 @@ const D7 = ({ popup: e, children: t }) => {
5219
5221
  };
5220
5222
  }, [n.bottom, n.left, n.right, n.top, e.offset]);
5221
5223
  return /* @__PURE__ */ m.jsx(
5222
- ya,
5224
+ ba,
5223
5225
  {
5224
5226
  anchorRect: r,
5225
5227
  direction: e.direction,
@@ -5245,13 +5247,13 @@ function k7() {
5245
5247
  });
5246
5248
  }
5247
5249
  function A7(e) {
5248
- const { header: t, footer: n, mountContainer: r, headerComponents: i, headerMenuComponents: a, contentComponents: o, footerComponents: c, leftSidebarComponents: d, onRendered: h } = e, g = u1(ie), u = u1(Bn), C = u1(E3), y = S1(null);
5250
+ const { header: t, footer: n, mountContainer: r, headerComponents: i, headerMenuComponents: a, contentComponents: o, footerComponents: c, leftSidebarComponents: d, onRendered: h } = e, g = u1(ie), u = u1(Bn), C = u1(E3), b = S1(null);
5249
5251
  v1(() => {
5250
5252
  u.getCurrentTheme() || u.setTheme(Sa);
5251
5253
  }, []), v1(() => {
5252
- y.current && (h == null || h(y.current));
5254
+ b.current && (h == null || h(b.current));
5253
5255
  }, [h]);
5254
- const [b, A] = l1(g.getLocales()), x = re(() => document.createElement("div"), []);
5256
+ const [y, A] = l1(g.getLocales()), x = re(() => document.createElement("div"), []);
5255
5257
  return v1(() => {
5256
5258
  document.body.appendChild(x), C.setContainer(x);
5257
5259
  const D = [
@@ -5265,7 +5267,7 @@ function A7(e) {
5265
5267
  return () => {
5266
5268
  D.forEach((N) => N.unsubscribe()), document.body.removeChild(x);
5267
5269
  };
5268
- }, [g, C, r, x, u.currentTheme$]), /* @__PURE__ */ m.jsxs(La, { locale: b, mountContainer: x, children: [
5270
+ }, [g, C, r, x, u.currentTheme$]), /* @__PURE__ */ m.jsxs(La, { locale: y, mountContainer: x, children: [
5269
5271
  /* @__PURE__ */ m.jsxs("div", { className: ce.appLayout, tabIndex: -1, onBlur: (D) => D.stopPropagation(), children: [
5270
5272
  t && /* @__PURE__ */ m.jsx("header", { className: ce.appContainerHeader, children: /* @__PURE__ */ m.jsx(T5, { headerMenuComponents: a }) }),
5271
5273
  /* @__PURE__ */ m.jsxs("section", { className: ce.appContainer, children: [
@@ -5277,7 +5279,7 @@ function A7(e) {
5277
5279
  "section",
5278
5280
  {
5279
5281
  className: ce.appContainerCanvas,
5280
- ref: y,
5282
+ ref: b,
5281
5283
  "data-range-selector": !0,
5282
5284
  onContextMenu: (D) => D.preventDefault(),
5283
5285
  children: /* @__PURE__ */ m.jsx(Me, { components: o })
@@ -5300,7 +5302,7 @@ var $7 = Object.defineProperty, j7 = Object.getOwnPropertyDescriptor, P7 = (e, t
5300
5302
  return r && i && $7(t, n, i), i;
5301
5303
  }, Ve = (e, t) => (n, r) => t(n, r, e), U7 = /* @__PURE__ */ ((e) => (e.HEADER = "header", e.HEADER_MENU = "header-menu", e.CONTENT = "content", e.FOOTER = "footer", e.LEFT_SIDEBAR = "left-sidebar", e))(U7 || {});
5302
5304
  const B7 = 3e3;
5303
- let p3 = class extends z1 {
5305
+ let m3 = class extends z1 {
5304
5306
  constructor(t, n, r, i, a) {
5305
5307
  super();
5306
5308
  B(this, "_componentsByPart", /* @__PURE__ */ new Map());
@@ -5328,7 +5330,7 @@ let p3 = class extends z1 {
5328
5330
  }
5329
5331
  registerComponent(t, n) {
5330
5332
  const r = (this._componentsByPart.get(t) || this._componentsByPart.set(t, /* @__PURE__ */ new Set()).get(t)).add(n);
5331
- return this._componentRegistered$.next(), O1(() => {
5333
+ return this._componentRegistered$.next(), I1(() => {
5332
5334
  r.delete(n), r.size === 0 && this._componentsByPart.delete(t);
5333
5335
  });
5334
5336
  }
@@ -5336,13 +5338,13 @@ let p3 = class extends z1 {
5336
5338
  return /* @__PURE__ */ new Set([...this._componentsByPart.get(t) || /* @__PURE__ */ new Set()]);
5337
5339
  }
5338
5340
  };
5339
- p3 = P7([
5341
+ m3 = P7([
5340
5342
  Ve(0, Oe),
5341
5343
  Ve(1, Wn),
5342
5344
  Ve(2, W1(je)),
5343
5345
  Ve(3, W1(z2)),
5344
- Ve(4, M3(mt))
5345
- ], p3);
5346
+ Ve(4, M3(vt))
5347
+ ], m3);
5346
5348
  function z7(e, t, n) {
5347
5349
  let r;
5348
5350
  const i = t.container;
@@ -5351,7 +5353,7 @@ function z7(e, t, n) {
5351
5353
  g ? r = g : r = En(i);
5352
5354
  } else
5353
5355
  i instanceof HTMLElement ? r = i : r = En("univer");
5354
- const a = ra(A7, e), o = e.get(i3), c = (g) => n(g, r);
5356
+ const a = ra(A7, e), o = e.get(a3), c = (g) => n(g, r);
5355
5357
  function d() {
5356
5358
  const g = o.getComponents(
5357
5359
  "header"
@@ -5362,10 +5364,10 @@ function z7(e, t, n) {
5362
5364
  ), C = o.getComponents(
5363
5365
  "footer"
5364
5366
  /* FOOTER */
5365
- ), y = o.getComponents(
5367
+ ), b = o.getComponents(
5366
5368
  "header-menu"
5367
5369
  /* HEADER_MENU */
5368
- ), b = o.getComponents(
5370
+ ), y = o.getComponents(
5369
5371
  "left-sidebar"
5370
5372
  /* LEFT_SIDEBAR */
5371
5373
  );
@@ -5376,8 +5378,8 @@ function z7(e, t, n) {
5376
5378
  ...t,
5377
5379
  mountContainer: r,
5378
5380
  headerComponents: g,
5379
- headerMenuComponents: y,
5380
- leftSidebarComponents: b,
5381
+ headerMenuComponents: b,
5382
+ leftSidebarComponents: y,
5381
5383
  contentComponents: u,
5382
5384
  onRendered: c,
5383
5385
  footerComponents: C
@@ -5387,7 +5389,7 @@ function z7(e, t, n) {
5387
5389
  );
5388
5390
  }
5389
5391
  const h = o.componentRegistered$.subscribe(d);
5390
- return d(), O1(() => {
5392
+ return d(), I1(() => {
5391
5393
  $4(r), h.unsubscribe();
5392
5394
  });
5393
5395
  }
@@ -5522,7 +5524,7 @@ var Y7 = Object.defineProperty, G7 = Object.getOwnPropertyDescriptor, X7 = (e, t
5522
5524
  return r && i && Y7(t, n, i), i;
5523
5525
  }, q7 = (e, t) => (n, r) => t(n, r, e);
5524
5526
  const Q7 = T1("univer.ui.before-close-service");
5525
- let m3 = class {
5527
+ let v3 = class {
5526
5528
  constructor(e) {
5527
5529
  B(this, "_beforeUnloadCallbacks", []);
5528
5530
  B(this, "_onCloseCallbacks", []);
@@ -5557,9 +5559,9 @@ let m3 = class {
5557
5559
  });
5558
5560
  }
5559
5561
  };
5560
- m3 = X7([
5562
+ v3 = X7([
5561
5563
  q7(0, N3)
5562
- ], m3);
5564
+ ], v3);
5563
5565
  function J7() {
5564
5566
  return typeof navigator.clipboard < "u" && typeof navigator.clipboard.readText < "u";
5565
5567
  }
@@ -5567,11 +5569,11 @@ var K7 = Object.defineProperty, es = Object.getOwnPropertyDescriptor, ts = (e, t
5567
5569
  for (var i = r > 1 ? void 0 : r ? es(t, n) : t, a = e.length - 1, o; a >= 0; a--)
5568
5570
  (o = e[a]) && (i = (r ? o(t, n, i) : o(i)) || i);
5569
5571
  return r && i && K7(t, n, i), i;
5570
- }, Zt = (e, t) => (n, r) => t(n, r, e);
5572
+ }, Wt = (e, t) => (n, r) => t(n, r, e);
5571
5573
  const On = "text/plain", Hn = "text/html", ns = T1(
5572
5574
  "univer.clipboard-interface-service"
5573
5575
  );
5574
- let v3 = class extends z1 {
5576
+ let C3 = class extends z1 {
5575
5577
  constructor(e, t, n) {
5576
5578
  super(), this._localeService = e, this._logService = t, this._notificationService = n;
5577
5579
  }
@@ -5646,11 +5648,11 @@ let v3 = class extends z1 {
5646
5648
  });
5647
5649
  }
5648
5650
  };
5649
- v3 = ts([
5650
- Zt(0, W1(ie)),
5651
- Zt(1, $n),
5652
- Zt(2, M3(N3))
5653
- ], v3);
5651
+ C3 = ts([
5652
+ Wt(0, W1(ie)),
5653
+ Wt(1, $n),
5654
+ Wt(2, M3(N3))
5655
+ ], C3);
5654
5656
  function rs() {
5655
5657
  const e = document.createElement("textarea");
5656
5658
  return e.style.position = "absolute", e.style.height = "1px", e.style.width = "1px", e.style.opacity = "0", e.readOnly = !0, e;
@@ -5684,7 +5686,7 @@ class as {
5684
5686
  })) : this._confirmOptions.push({
5685
5687
  ...t,
5686
5688
  visible: !0
5687
- }), this.confirmOptions$.next(this._confirmOptions), O1(() => {
5689
+ }), this.confirmOptions$.next(this._confirmOptions), I1(() => {
5688
5690
  this._confirmOptions = [], this.confirmOptions$.next([]);
5689
5691
  });
5690
5692
  }
@@ -5724,7 +5726,7 @@ class os extends z1 {
5724
5726
  })) : this._dialogOptions.push({
5725
5727
  ...n,
5726
5728
  visible: !0
5727
- }), this._dialogOptions$.next(this._dialogOptions), O1(() => {
5729
+ }), this._dialogOptions$.next(this._dialogOptions), I1(() => {
5728
5730
  this._dialogOptions = [], this._dialogOptions$.next([]);
5729
5731
  });
5730
5732
  }
@@ -5734,7 +5736,7 @@ class os extends z1 {
5734
5736
  visible: r.id === n ? !1 : r.visible
5735
5737
  })), this._dialogOptions$.next([...this._dialogOptions]);
5736
5738
  }
5737
- getObservableDialog() {
5739
+ getDialogs$() {
5738
5740
  return this._dialogOptions$;
5739
5741
  }
5740
5742
  }
@@ -5747,14 +5749,15 @@ class ss {
5747
5749
  this.portalContainer = t, this.message = new Ma(t);
5748
5750
  }
5749
5751
  show(t) {
5752
+ if (!this.message)
5753
+ throw new Error("[DesktopMessageService]: no message implementation!");
5750
5754
  const { type: n, ...r } = t;
5751
- return this.message && this.message[n](r), O1(() => {
5752
- });
5755
+ return this.message[n](r);
5753
5756
  }
5754
5757
  }
5755
5758
  class ls {
5756
5759
  show(t) {
5757
- return M7.show(t), O1(() => {
5760
+ return M7.show(t), I1(() => {
5758
5761
  });
5759
5762
  }
5760
5763
  }
@@ -5763,14 +5766,18 @@ var cs = Object.defineProperty, us = Object.getOwnPropertyDescriptor, ds = (e, t
5763
5766
  (o = e[a]) && (i = (r ? o(t, n, i) : o(i)) || i);
5764
5767
  return r && i && cs(t, n, i), i;
5765
5768
  }, fs = (e, t) => (n, r) => t(n, r, e);
5766
- let C3 = class {
5769
+ let _3 = class {
5767
5770
  constructor(e) {
5768
5771
  B(this, "visible$", new x1());
5769
5772
  B(this, "componentKey$", new x1());
5773
+ B(this, "_componentKey", "");
5770
5774
  this._componentManager = e;
5771
5775
  }
5776
+ get componentKey() {
5777
+ return this._componentKey;
5778
+ }
5772
5779
  set(e, t) {
5773
- return this._componentManager.register(e, t), this.componentKey$.next(e), O1(() => {
5780
+ return this._componentManager.register(e, t), this.componentKey$.next(e), this._componentKey = e, I1(() => {
5774
5781
  this._componentManager.delete(e), this.visible$.complete(), this.componentKey$.complete();
5775
5782
  });
5776
5783
  }
@@ -5781,9 +5788,9 @@ let C3 = class {
5781
5788
  this.visible$.next(!1);
5782
5789
  }
5783
5790
  };
5784
- C3 = ds([
5791
+ _3 = ds([
5785
5792
  fs(0, W1(ue))
5786
- ], C3);
5793
+ ], _3);
5787
5794
  class hs {
5788
5795
  constructor() {
5789
5796
  B(this, "_sidebarOptions", {});
@@ -5793,7 +5800,7 @@ class hs {
5793
5800
  return this._sidebarOptions = {
5794
5801
  ...t,
5795
5802
  visible: !0
5796
- }, this.sidebarOptions$.next(this._sidebarOptions), O1(() => {
5803
+ }, this.sidebarOptions$.next(this._sidebarOptions), I1(() => {
5797
5804
  this.sidebarOptions$.complete();
5798
5805
  });
5799
5806
  }
@@ -5817,7 +5824,7 @@ var gs = Object.defineProperty, ps = Object.getOwnPropertyDescriptor, ms = (e, t
5817
5824
  let it = class extends z1 {
5818
5825
  constructor(e, t) {
5819
5826
  super(), this._errorService = e, this._messageService = t, this.disposeWithMe(
5820
- O1(
5827
+ I1(
5821
5828
  this._errorService.error$.subscribe((n) => {
5822
5829
  this._messageService.show({
5823
5830
  content: n.errorKey,
@@ -5829,7 +5836,7 @@ let it = class extends z1 {
5829
5836
  }
5830
5837
  };
5831
5838
  it = ms([
5832
- ht(ve.Starting, it),
5839
+ gt(ve.Starting, it),
5833
5840
  In(0, W1(F2)),
5834
5841
  In(1, E3)
5835
5842
  ], it);
@@ -5862,13 +5869,13 @@ const zi = "ShortcutPanel", D3 = {
5862
5869
  children: { label: zi }
5863
5870
  })), !0;
5864
5871
  }
5865
- }, vs = "univer-shortcut-panel-group-title", Cs = "univer-shortcut-panel-item", _s = "univer-shortcut-panel-item-title", bs = "univer-shortcut-panel-item-shortcut", Se = {
5872
+ }, vs = "univer-shortcut-panel-group-title", Cs = "univer-shortcut-panel-item", _s = "univer-shortcut-panel-item-title", ys = "univer-shortcut-panel-item-shortcut", Se = {
5866
5873
  shortcutPanelGroupTitle: vs,
5867
5874
  shortcutPanelItem: Cs,
5868
5875
  shortcutPanelItemTitle: _s,
5869
- shortcutPanelItemShortcut: bs
5876
+ shortcutPanelItemShortcut: ys
5870
5877
  };
5871
- function ys() {
5878
+ function bs() {
5872
5879
  const e = u1(Pe), t = u1(ie), [n, r] = fe.useState([]), i = Fn(() => {
5873
5880
  var d;
5874
5881
  const a = /* @__PURE__ */ new Map(), o = e.getAllShortcuts().filter((h) => !!h.group);
@@ -5922,17 +5929,17 @@ var Ls = Object.defineProperty, Ms = Object.getOwnPropertyDescriptor, ws = (e, t
5922
5929
  }, Ne = (e, t) => (n, r) => t(n, r, e);
5923
5930
  const xs = {
5924
5931
  id: D3.id,
5925
- binding: P1.CTRL_COMMAND | be.BACK_SLASH,
5932
+ binding: P1.CTRL_COMMAND | ye.BACK_SLASH,
5926
5933
  description: "shortcut.shortcut-panel",
5927
5934
  group: "10_global-shortcut"
5928
5935
  };
5929
5936
  let at = class extends z1 {
5930
5937
  constructor(e, t, n, r, i) {
5931
- super(), this.disposeWithMe(r.addMenuItem(e.invoke(Ss))), this.disposeWithMe(t.register(zi, ys)), this.disposeWithMe(i.registerCommand(D3)), this.disposeWithMe(n.registerShortcut(xs));
5938
+ super(), this.disposeWithMe(r.addMenuItem(e.invoke(Ss))), this.disposeWithMe(t.register(zi, bs)), this.disposeWithMe(i.registerCommand(D3)), this.disposeWithMe(n.registerShortcut(xs));
5932
5939
  }
5933
5940
  };
5934
5941
  at = ws([
5935
- ht(ve.Steady, at),
5942
+ gt(ve.Steady, at),
5936
5943
  Ne(0, W1(je)),
5937
5944
  Ne(1, W1(ue)),
5938
5945
  Ne(2, Pe),
@@ -5965,11 +5972,11 @@ var Fi = { exports: {} };
5965
5972
  var C = new Error("Cannot find module '" + h + "'");
5966
5973
  throw C.code = "MODULE_NOT_FOUND", C;
5967
5974
  }
5968
- var y = i[h] = { exports: {} };
5969
- r[h][0].call(y.exports, function(b) {
5970
- var A = r[h][1][b];
5971
- return o(A || b);
5972
- }, y, y.exports, n, r, i, a);
5975
+ var b = i[h] = { exports: {} };
5976
+ r[h][0].call(b.exports, function(y) {
5977
+ var A = r[h][1][y];
5978
+ return o(A || y);
5979
+ }, b, b.exports, n, r, i, a);
5973
5980
  }
5974
5981
  return i[h].exports;
5975
5982
  }
@@ -5980,7 +5987,7 @@ var Fi = { exports: {} };
5980
5987
  (function(a) {
5981
5988
  var o = a.MutationObserver || a.WebKitMutationObserver, c;
5982
5989
  if (o) {
5983
- var d = 0, h = new o(b), g = a.document.createTextNode("");
5990
+ var d = 0, h = new o(y), g = a.document.createTextNode("");
5984
5991
  h.observe(g, {
5985
5992
  characterData: !0
5986
5993
  }), c = function() {
@@ -5988,31 +5995,31 @@ var Fi = { exports: {} };
5988
5995
  };
5989
5996
  } else if (!a.setImmediate && typeof a.MessageChannel < "u") {
5990
5997
  var u = new a.MessageChannel();
5991
- u.port1.onmessage = b, c = function() {
5998
+ u.port1.onmessage = y, c = function() {
5992
5999
  u.port2.postMessage(0);
5993
6000
  };
5994
6001
  } else
5995
6002
  "document" in a && "onreadystatechange" in a.document.createElement("script") ? c = function() {
5996
6003
  var x = a.document.createElement("script");
5997
6004
  x.onreadystatechange = function() {
5998
- b(), x.onreadystatechange = null, x.parentNode.removeChild(x), x = null;
6005
+ y(), x.onreadystatechange = null, x.parentNode.removeChild(x), x = null;
5999
6006
  }, a.document.documentElement.appendChild(x);
6000
6007
  } : c = function() {
6001
- setTimeout(b, 0);
6008
+ setTimeout(y, 0);
6002
6009
  };
6003
- var C, y = [];
6004
- function b() {
6010
+ var C, b = [];
6011
+ function y() {
6005
6012
  C = !0;
6006
- for (var x, D, N = y.length; N; ) {
6007
- for (D = y, y = [], x = -1; ++x < N; )
6013
+ for (var x, D, N = b.length; N; ) {
6014
+ for (D = b, b = [], x = -1; ++x < N; )
6008
6015
  D[x]();
6009
- N = y.length;
6016
+ N = b.length;
6010
6017
  }
6011
6018
  C = !1;
6012
6019
  }
6013
6020
  r.exports = A;
6014
6021
  function A(x) {
6015
- y.push(x) === 1 && !C && c();
6022
+ b.push(x) === 1 && !C && c();
6016
6023
  }
6017
6024
  }).call(this, typeof Ye < "u" ? Ye : typeof self < "u" ? self : typeof window < "u" ? window : {});
6018
6025
  }, {}], 2: [function(n, r, i) {
@@ -6034,7 +6041,7 @@ var Fi = { exports: {} };
6034
6041
  var k = new this.constructor(o);
6035
6042
  if (this.state !== g) {
6036
6043
  var V = this.state === h ? L : T;
6037
- y(k, V, this.outcome);
6044
+ b(k, V, this.outcome);
6038
6045
  } else
6039
6046
  this.queue.push(new C(k, L, T));
6040
6047
  return k;
@@ -6045,13 +6052,13 @@ var Fi = { exports: {} };
6045
6052
  C.prototype.callFulfilled = function(L) {
6046
6053
  c.resolve(this.promise, L);
6047
6054
  }, C.prototype.otherCallFulfilled = function(L) {
6048
- y(this.promise, this.onFulfilled, L);
6055
+ b(this.promise, this.onFulfilled, L);
6049
6056
  }, C.prototype.callRejected = function(L) {
6050
6057
  c.reject(this.promise, L);
6051
6058
  }, C.prototype.otherCallRejected = function(L) {
6052
- y(this.promise, this.onRejected, L);
6059
+ b(this.promise, this.onRejected, L);
6053
6060
  };
6054
- function y(L, T, k) {
6061
+ function b(L, T, k) {
6055
6062
  a(function() {
6056
6063
  var V;
6057
6064
  try {
@@ -6063,7 +6070,7 @@ var Fi = { exports: {} };
6063
6070
  });
6064
6071
  }
6065
6072
  c.resolve = function(L, T) {
6066
- var k = x(b, T);
6073
+ var k = x(y, T);
6067
6074
  if (k.status === "error")
6068
6075
  return c.reject(L, k.value);
6069
6076
  var V = k.value;
@@ -6081,7 +6088,7 @@ var Fi = { exports: {} };
6081
6088
  L.queue[k].callRejected(T);
6082
6089
  return L;
6083
6090
  };
6084
- function b(L) {
6091
+ function y(L) {
6085
6092
  var T = L && L.then;
6086
6093
  if (L && (typeof L == "object" || typeof L == "function") && typeof T == "function")
6087
6094
  return function() {
@@ -6225,10 +6232,10 @@ var Fi = { exports: {} };
6225
6232
  f(l);
6226
6233
  });
6227
6234
  }
6228
- function y(s, f, l) {
6235
+ function b(s, f, l) {
6229
6236
  typeof f == "function" && s.then(f), typeof l == "function" && s.catch(l);
6230
6237
  }
6231
- function b(s) {
6238
+ function y(s) {
6232
6239
  return typeof s != "string" && (console.warn(s + " used as a key, but it is not a string."), s = String(s)), s;
6233
6240
  }
6234
6241
  function A() {
@@ -6352,7 +6359,7 @@ var Fi = { exports: {} };
6352
6359
  if (v && v.dbReady)
6353
6360
  return v.dbReady;
6354
6361
  });
6355
- return y(l, s, s), l;
6362
+ return b(l, s, s), l;
6356
6363
  }
6357
6364
  function S(s) {
6358
6365
  P(s);
@@ -6432,7 +6439,7 @@ var Fi = { exports: {} };
6432
6439
  }
6433
6440
  function X(s, f) {
6434
6441
  var l = this;
6435
- s = b(s);
6442
+ s = y(s);
6436
6443
  var v = new u(function(_, p) {
6437
6444
  l.ready().then(function() {
6438
6445
  E(l._dbInfo, W, function(w, I) {
@@ -6484,7 +6491,7 @@ var Fi = { exports: {} };
6484
6491
  }
6485
6492
  function i1(s, f, l) {
6486
6493
  var v = this;
6487
- s = b(s);
6494
+ s = y(s);
6488
6495
  var _ = new u(function(p, w) {
6489
6496
  var I;
6490
6497
  v.ready().then(function() {
@@ -6513,9 +6520,9 @@ var Fi = { exports: {} };
6513
6520
  });
6514
6521
  return C(_, l), _;
6515
6522
  }
6516
- function y1(s, f) {
6523
+ function b1(s, f) {
6517
6524
  var l = this;
6518
- s = b(s);
6525
+ s = y(s);
6519
6526
  var v = new u(function(_, p) {
6520
6527
  l.ready().then(function() {
6521
6528
  E(l._dbInfo, L, function(w, I) {
@@ -6561,7 +6568,7 @@ var Fi = { exports: {} };
6561
6568
  });
6562
6569
  return C(l, s), l;
6563
6570
  }
6564
- function H1(s) {
6571
+ function O1(s) {
6565
6572
  var f = this, l = new u(function(v, _) {
6566
6573
  f.ready().then(function() {
6567
6574
  E(f._dbInfo, W, function(p, w) {
@@ -6663,11 +6670,11 @@ var Fi = { exports: {} };
6663
6670
  var o1 = U[q];
6664
6671
  o1._dbInfo.db = null, o1._dbInfo.version = $;
6665
6672
  }
6666
- var p1 = new u(function(_1, I1) {
6673
+ var p1 = new u(function(_1, R1) {
6667
6674
  var E1 = d.open(s.name, $);
6668
6675
  E1.onerror = function(G1) {
6669
6676
  var Ie = E1.result;
6670
- Ie.close(), I1(G1);
6677
+ Ie.close(), R1(G1);
6671
6678
  }, E1.onupgradeneeded = function() {
6672
6679
  var G1 = E1.result;
6673
6680
  G1.deleteObjectStore(s.storeName);
@@ -6678,8 +6685,8 @@ var Fi = { exports: {} };
6678
6685
  });
6679
6686
  return p1.then(function(_1) {
6680
6687
  j.db = _1;
6681
- for (var I1 = 0; I1 < U.length; I1++) {
6682
- var E1 = U[I1];
6688
+ for (var R1 = 0; R1 < U.length; R1++) {
6689
+ var E1 = U[R1];
6683
6690
  E1._dbInfo.db = _1, G(E1._dbInfo);
6684
6691
  }
6685
6692
  }).catch(function(_1) {
@@ -6696,22 +6703,22 @@ var Fi = { exports: {} };
6696
6703
  q._dbInfo.db = null;
6697
6704
  }
6698
6705
  var o1 = new u(function(p1, _1) {
6699
- var I1 = d.deleteDatabase(s.name);
6700
- I1.onerror = function() {
6701
- var E1 = I1.result;
6702
- E1 && E1.close(), _1(I1.error);
6703
- }, I1.onblocked = function() {
6706
+ var R1 = d.deleteDatabase(s.name);
6707
+ R1.onerror = function() {
6708
+ var E1 = R1.result;
6709
+ E1 && E1.close(), _1(R1.error);
6710
+ }, R1.onblocked = function() {
6704
6711
  console.warn('dropInstance blocked for database "' + s.name + '" until all open connections are closed');
6705
- }, I1.onsuccess = function() {
6706
- var E1 = I1.result;
6712
+ }, R1.onsuccess = function() {
6713
+ var E1 = R1.result;
6707
6714
  E1 && E1.close(), p1(E1);
6708
6715
  };
6709
6716
  });
6710
6717
  return o1.then(function(p1) {
6711
6718
  $.db = p1;
6712
6719
  for (var _1 = 0; _1 < j.length; _1++) {
6713
- var I1 = j[_1];
6714
- G(I1._dbInfo);
6720
+ var R1 = j[_1];
6721
+ G(R1._dbInfo);
6715
6722
  }
6716
6723
  }).catch(function(p1) {
6717
6724
  throw (F(s, p1) || u.resolve()).catch(function() {
@@ -6728,9 +6735,9 @@ var Fi = { exports: {} };
6728
6735
  iterate: n1,
6729
6736
  getItem: X,
6730
6737
  setItem: i1,
6731
- removeItem: y1,
6738
+ removeItem: b1,
6732
6739
  clear: V1,
6733
- length: H1,
6740
+ length: O1,
6734
6741
  key: M1,
6735
6742
  keys: J1,
6736
6743
  dropInstance: Y1
@@ -6738,7 +6745,7 @@ var Fi = { exports: {} };
6738
6745
  function a1() {
6739
6746
  return typeof openDatabase == "function";
6740
6747
  }
6741
- var e1 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", C1 = "~~local_forage_type~", $1 = /^~~local_forage_type~([^~]+)~/, R1 = "__lfsc__:", w1 = R1.length, d1 = "arbf", g1 = "blob", j1 = "si08", ae = "ui08", he = "uic8", oe = "si16", Fe = "si32", A3 = "ur16", $3 = "ui32", j3 = "fl32", P3 = "fl64", U3 = w1 + d1.length, B3 = Object.prototype.toString;
6748
+ var e1 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", C1 = "~~local_forage_type~", $1 = /^~~local_forage_type~([^~]+)~/, H1 = "__lfsc__:", w1 = H1.length, d1 = "arbf", g1 = "blob", j1 = "si08", ae = "ui08", he = "uic8", oe = "si16", Fe = "si32", A3 = "ur16", $3 = "ui32", j3 = "fl32", P3 = "fl64", U3 = w1 + d1.length, B3 = Object.prototype.toString;
6742
6749
  function z3(s) {
6743
6750
  var f = s.length * 0.75, l = s.length, v, _ = 0, p, w, I, $;
6744
6751
  s[s.length - 1] === "=" && (f--, s[s.length - 2] === "=" && f--);
@@ -6747,7 +6754,7 @@ var Fi = { exports: {} };
6747
6754
  p = e1.indexOf(s[v]), w = e1.indexOf(s[v + 1]), I = e1.indexOf(s[v + 2]), $ = e1.indexOf(s[v + 3]), U[_++] = p << 2 | w >> 4, U[_++] = (w & 15) << 4 | I >> 2, U[_++] = (I & 3) << 6 | $ & 63;
6748
6755
  return j;
6749
6756
  }
6750
- function Rt(s) {
6757
+ function It(s) {
6751
6758
  var f = new Uint8Array(s), l = "", v;
6752
6759
  for (v = 0; v < f.length; v += 3)
6753
6760
  l += e1[f[v] >> 2], l += e1[(f[v] & 3) << 4 | f[v + 1] >> 4], l += e1[(f[v + 1] & 15) << 2 | f[v + 2] >> 6], l += e1[f[v + 2] & 63];
@@ -6756,13 +6763,13 @@ var Fi = { exports: {} };
6756
6763
  function Gi(s, f) {
6757
6764
  var l = "";
6758
6765
  if (s && (l = B3.call(s)), s && (l === "[object ArrayBuffer]" || s.buffer && B3.call(s.buffer) === "[object ArrayBuffer]")) {
6759
- var v, _ = R1;
6760
- s instanceof ArrayBuffer ? (v = s, _ += d1) : (v = s.buffer, l === "[object Int8Array]" ? _ += j1 : l === "[object Uint8Array]" ? _ += ae : l === "[object Uint8ClampedArray]" ? _ += he : l === "[object Int16Array]" ? _ += oe : l === "[object Uint16Array]" ? _ += A3 : l === "[object Int32Array]" ? _ += Fe : l === "[object Uint32Array]" ? _ += $3 : l === "[object Float32Array]" ? _ += j3 : l === "[object Float64Array]" ? _ += P3 : f(new Error("Failed to get type for BinaryArray"))), f(_ + Rt(v));
6766
+ var v, _ = H1;
6767
+ s instanceof ArrayBuffer ? (v = s, _ += d1) : (v = s.buffer, l === "[object Int8Array]" ? _ += j1 : l === "[object Uint8Array]" ? _ += ae : l === "[object Uint8ClampedArray]" ? _ += he : l === "[object Int16Array]" ? _ += oe : l === "[object Uint16Array]" ? _ += A3 : l === "[object Int32Array]" ? _ += Fe : l === "[object Uint32Array]" ? _ += $3 : l === "[object Float32Array]" ? _ += j3 : l === "[object Float64Array]" ? _ += P3 : f(new Error("Failed to get type for BinaryArray"))), f(_ + It(v));
6761
6768
  } else if (l === "[object Blob]") {
6762
6769
  var p = new FileReader();
6763
6770
  p.onload = function() {
6764
- var w = C1 + s.type + "~" + Rt(this.result);
6765
- f(R1 + g1 + w);
6771
+ var w = C1 + s.type + "~" + It(this.result);
6772
+ f(H1 + g1 + w);
6766
6773
  }, p.readAsArrayBuffer(s);
6767
6774
  } else
6768
6775
  try {
@@ -6772,7 +6779,7 @@ var Fi = { exports: {} };
6772
6779
  }
6773
6780
  }
6774
6781
  function Xi(s) {
6775
- if (s.substring(0, w1) !== R1)
6782
+ if (s.substring(0, w1) !== H1)
6776
6783
  return JSON.parse(s);
6777
6784
  var f = s.substring(U3), l = s.substring(w1, U3), v;
6778
6785
  if (l === g1 && $1.test(f)) {
@@ -6807,11 +6814,11 @@ var Fi = { exports: {} };
6807
6814
  throw new Error("Unkown type: " + l);
6808
6815
  }
6809
6816
  }
6810
- var It = {
6817
+ var Tt = {
6811
6818
  serialize: Gi,
6812
6819
  deserialize: Xi,
6813
6820
  stringToBuffer: z3,
6814
- bufferToString: Rt
6821
+ bufferToString: It
6815
6822
  };
6816
6823
  function F3(s, f, l, v) {
6817
6824
  s.executeSql("CREATE TABLE IF NOT EXISTS " + f.storeName + " (id INTEGER PRIMARY KEY, key unique, value)", [], l, v);
@@ -6837,7 +6844,7 @@ var Fi = { exports: {} };
6837
6844
  });
6838
6845
  }, w);
6839
6846
  });
6840
- return l.serializer = It, _;
6847
+ return l.serializer = Tt, _;
6841
6848
  }
6842
6849
  function de(s, f, l, v, _, p) {
6843
6850
  s.executeSql(l, v, _, function(w, I) {
@@ -6850,7 +6857,7 @@ var Fi = { exports: {} };
6850
6857
  }
6851
6858
  function Qi(s, f) {
6852
6859
  var l = this;
6853
- s = b(s);
6860
+ s = y(s);
6854
6861
  var v = new u(function(_, p) {
6855
6862
  l.ready().then(function() {
6856
6863
  var w = l._dbInfo;
@@ -6890,7 +6897,7 @@ var Fi = { exports: {} };
6890
6897
  }
6891
6898
  function Z3(s, f, l, v) {
6892
6899
  var _ = this;
6893
- s = b(s);
6900
+ s = y(s);
6894
6901
  var p = new u(function(w, I) {
6895
6902
  _.ready().then(function() {
6896
6903
  f === void 0 && (f = null);
@@ -6921,7 +6928,7 @@ var Fi = { exports: {} };
6921
6928
  }
6922
6929
  function e2(s, f) {
6923
6930
  var l = this;
6924
- s = b(s);
6931
+ s = y(s);
6925
6932
  var v = new u(function(_, p) {
6926
6933
  l.ready().then(function() {
6927
6934
  var w = l._dbInfo;
@@ -7033,11 +7040,11 @@ var Fi = { exports: {} };
7033
7040
  return new u(function(w, I) {
7034
7041
  p.db.transaction(function($) {
7035
7042
  function j(p1) {
7036
- return new u(function(_1, I1) {
7043
+ return new u(function(_1, R1) {
7037
7044
  $.executeSql("DROP TABLE IF EXISTS " + p1, [], function() {
7038
7045
  _1();
7039
7046
  }, function(E1, G1) {
7040
- I1(G1);
7047
+ R1(G1);
7041
7048
  });
7042
7049
  });
7043
7050
  }
@@ -7096,7 +7103,7 @@ var Fi = { exports: {} };
7096
7103
  if (s)
7097
7104
  for (var v in s)
7098
7105
  l[v] = s[v];
7099
- return l.keyPrefix = W3(s, f._defaultConfig), u2() ? (f._dbInfo = l, l.serializer = It, u.resolve()) : u.reject();
7106
+ return l.keyPrefix = W3(s, f._defaultConfig), u2() ? (f._dbInfo = l, l.serializer = Tt, u.resolve()) : u.reject();
7100
7107
  }
7101
7108
  function f2(s) {
7102
7109
  var f = this, l = f.ready().then(function() {
@@ -7109,7 +7116,7 @@ var Fi = { exports: {} };
7109
7116
  }
7110
7117
  function h2(s, f) {
7111
7118
  var l = this;
7112
- s = b(s);
7119
+ s = y(s);
7113
7120
  var v = l.ready().then(function() {
7114
7121
  var _ = l._dbInfo, p = localStorage.getItem(_.keyPrefix + s);
7115
7122
  return p && (p = _.serializer.deserialize(p)), p;
@@ -7159,7 +7166,7 @@ var Fi = { exports: {} };
7159
7166
  }
7160
7167
  function C2(s, f) {
7161
7168
  var l = this;
7162
- s = b(s);
7169
+ s = y(s);
7163
7170
  var v = l.ready().then(function() {
7164
7171
  var _ = l._dbInfo;
7165
7172
  localStorage.removeItem(_.keyPrefix + s);
@@ -7168,7 +7175,7 @@ var Fi = { exports: {} };
7168
7175
  }
7169
7176
  function _2(s, f, l) {
7170
7177
  var v = this;
7171
- s = b(s);
7178
+ s = y(s);
7172
7179
  var _ = v.ready().then(function() {
7173
7180
  f === void 0 && (f = null);
7174
7181
  var p = f;
@@ -7188,7 +7195,7 @@ var Fi = { exports: {} };
7188
7195
  });
7189
7196
  return C(_, l), _;
7190
7197
  }
7191
- function b2(s, f) {
7198
+ function y2(s, f) {
7192
7199
  if (f = A.apply(this, arguments), s = typeof s != "function" && s || {}, !s.name) {
7193
7200
  var l = this.config();
7194
7201
  s.name = s.name || l.name, s.storeName = s.storeName || l.storeName;
@@ -7203,7 +7210,7 @@ var Fi = { exports: {} };
7203
7210
  }
7204
7211
  }) : _ = u.reject("Invalid arguments"), C(_, f), _;
7205
7212
  }
7206
- var y2 = {
7213
+ var b2 = {
7207
7214
  _driver: "localStorageWrapper",
7208
7215
  _initStorage: d2,
7209
7216
  _support: l2(),
@@ -7215,7 +7222,7 @@ var Fi = { exports: {} };
7215
7222
  length: v2,
7216
7223
  key: p2,
7217
7224
  keys: m2,
7218
- dropInstance: b2
7225
+ dropInstance: y2
7219
7226
  }, S2 = function(f, l) {
7220
7227
  return f === l || typeof f == "number" && typeof l == "number" && isNaN(f) && isNaN(l);
7221
7228
  }, L2 = function(f, l) {
@@ -7227,11 +7234,11 @@ var Fi = { exports: {} };
7227
7234
  return !1;
7228
7235
  }, Y3 = Array.isArray || function(s) {
7229
7236
  return Object.prototype.toString.call(s) === "[object Array]";
7230
- }, Re = {}, G3 = {}, ye = {
7237
+ }, Re = {}, G3 = {}, be = {
7231
7238
  INDEXEDDB: B1,
7232
7239
  WEBSQL: s2,
7233
- LOCALSTORAGE: y2
7234
- }, M2 = [ye.INDEXEDDB._driver, ye.WEBSQL._driver, ye.LOCALSTORAGE._driver], Ze = ["dropInstance"], Tt = ["clear", "getItem", "iterate", "key", "keys", "length", "removeItem", "setItem"].concat(Ze), w2 = {
7240
+ LOCALSTORAGE: b2
7241
+ }, M2 = [be.INDEXEDDB._driver, be.WEBSQL._driver, be.LOCALSTORAGE._driver], Ze = ["dropInstance"], Vt = ["clear", "getItem", "iterate", "key", "keys", "length", "removeItem", "setItem"].concat(Ze), w2 = {
7235
7242
  description: "",
7236
7243
  driver: M2.slice(),
7237
7244
  name: "localforage",
@@ -7249,7 +7256,7 @@ var Fi = { exports: {} };
7249
7256
  });
7250
7257
  };
7251
7258
  }
7252
- function Vt() {
7259
+ function Nt() {
7253
7260
  for (var s = 1; s < arguments.length; s++) {
7254
7261
  var f = arguments[s];
7255
7262
  if (f)
@@ -7261,12 +7268,12 @@ var Fi = { exports: {} };
7261
7268
  var E2 = function() {
7262
7269
  function s(f) {
7263
7270
  o(this, s);
7264
- for (var l in ye)
7265
- if (ye.hasOwnProperty(l)) {
7266
- var v = ye[l], _ = v._driver;
7271
+ for (var l in be)
7272
+ if (be.hasOwnProperty(l)) {
7273
+ var v = be[l], _ = v._driver;
7267
7274
  this[l] = _, Re[_] || this.defineDriver(v);
7268
7275
  }
7269
- this._defaultConfig = Vt({}, w2), this._config = Vt({}, this._defaultConfig, f), this._driverSet = null, this._initDriver = null, this._ready = !1, this._dbInfo = null, this._wrapLibraryMethodsWithReady(), this.setDriver(this._config.driver).catch(function() {
7276
+ this._defaultConfig = Nt({}, w2), this._config = Nt({}, this._defaultConfig, f), this._driverSet = null, this._initDriver = null, this._ready = !1, this._dbInfo = null, this._wrapLibraryMethodsWithReady(), this.setDriver(this._config.driver).catch(function() {
7270
7277
  });
7271
7278
  }
7272
7279
  return s.prototype.config = function(l) {
@@ -7289,25 +7296,25 @@ var Fi = { exports: {} };
7289
7296
  I(j);
7290
7297
  return;
7291
7298
  }
7292
- for (var U = Tt.concat("_initStorage"), q = 0, o1 = U.length; q < o1; q++) {
7299
+ for (var U = Vt.concat("_initStorage"), q = 0, o1 = U.length; q < o1; q++) {
7293
7300
  var p1 = U[q], _1 = !L2(Ze, p1);
7294
7301
  if ((_1 || l[p1]) && typeof l[p1] != "function") {
7295
7302
  I(j);
7296
7303
  return;
7297
7304
  }
7298
7305
  }
7299
- var I1 = function() {
7306
+ var R1 = function() {
7300
7307
  for (var Ie = function(R2) {
7301
7308
  return function() {
7302
7309
  var I2 = new Error("Method " + R2 + " is not implemented by the current driver"), X3 = u.reject(I2);
7303
7310
  return C(X3, arguments[arguments.length - 1]), X3;
7304
7311
  };
7305
- }, Nt = 0, H2 = Ze.length; Nt < H2; Nt++) {
7306
- var Dt = Ze[Nt];
7307
- l[Dt] || (l[Dt] = Ie(Dt));
7312
+ }, Dt = 0, H2 = Ze.length; Dt < H2; Dt++) {
7313
+ var kt = Ze[Dt];
7314
+ l[kt] || (l[kt] = Ie(kt));
7308
7315
  }
7309
7316
  };
7310
- I1();
7317
+ R1();
7311
7318
  var E1 = function(Ie) {
7312
7319
  Re[$] && console.info("Redefining LocalForage driver: " + $), Re[$] = l, G3[$] = Ie, w();
7313
7320
  };
@@ -7316,20 +7323,20 @@ var Fi = { exports: {} };
7316
7323
  I(G1);
7317
7324
  }
7318
7325
  });
7319
- return y(p, v, _), p;
7326
+ return b(p, v, _), p;
7320
7327
  }, s.prototype.driver = function() {
7321
7328
  return this._driver || null;
7322
7329
  }, s.prototype.getDriver = function(l, v, _) {
7323
7330
  var p = Re[l] ? u.resolve(Re[l]) : u.reject(new Error("Driver not found."));
7324
- return y(p, v, _), p;
7331
+ return b(p, v, _), p;
7325
7332
  }, s.prototype.getSerializer = function(l) {
7326
- var v = u.resolve(It);
7327
- return y(v, l), v;
7333
+ var v = u.resolve(Tt);
7334
+ return b(v, l), v;
7328
7335
  }, s.prototype.ready = function(l) {
7329
7336
  var v = this, _ = v._driverSet.then(function() {
7330
7337
  return v._ready === null && (v._ready = v._initDriver()), v._ready;
7331
7338
  });
7332
- return y(_, l, l), _;
7339
+ return b(_, l, l), _;
7333
7340
  }, s.prototype.setDriver = function(l, v, _) {
7334
7341
  var p = this;
7335
7342
  Y3(l) || (l = [l]);
@@ -7349,8 +7356,8 @@ var Fi = { exports: {} };
7349
7356
  return o1++, p._dbInfo = null, p._ready = null, p.getDriver(_1).then($).catch(p1);
7350
7357
  }
7351
7358
  I();
7352
- var I1 = new Error("No available storage method found.");
7353
- return p._driverSet = u.reject(I1), p._driverSet;
7359
+ var R1 = new Error("No available storage method found.");
7360
+ return p._driverSet = u.reject(R1), p._driverSet;
7354
7361
  }
7355
7362
  return p1();
7356
7363
  };
@@ -7367,11 +7374,11 @@ var Fi = { exports: {} };
7367
7374
  I();
7368
7375
  var q = new Error("No available storage method found.");
7369
7376
  return p._driverSet = u.reject(q), p._driverSet;
7370
- }), y(this._driverSet, v, _), this._driverSet;
7377
+ }), b(this._driverSet, v, _), this._driverSet;
7371
7378
  }, s.prototype.supports = function(l) {
7372
7379
  return !!G3[l];
7373
7380
  }, s.prototype._extend = function(l) {
7374
- Vt(this, l);
7381
+ Nt(this, l);
7375
7382
  }, s.prototype._getSupportedDrivers = function(l) {
7376
7383
  for (var v = [], _ = 0, p = l.length; _ < p; _++) {
7377
7384
  var w = l[_];
@@ -7379,8 +7386,8 @@ var Fi = { exports: {} };
7379
7386
  }
7380
7387
  return v;
7381
7388
  }, s.prototype._wrapLibraryMethodsWithReady = function() {
7382
- for (var l = 0, v = Tt.length; l < v; l++)
7383
- x2(this, Tt[l]);
7389
+ for (var l = 0, v = Vt.length; l < v; l++)
7390
+ x2(this, Vt[l]);
7384
7391
  }, s.prototype.createInstance = function(l) {
7385
7392
  return new s(l);
7386
7393
  }, s;
@@ -7419,14 +7426,14 @@ var Hs = Object.defineProperty, Rs = Object.getOwnPropertyDescriptor, Is = (e, t
7419
7426
  (o = e[a]) && (i = (r ? o(t, n, i) : o(i)) || i);
7420
7427
  return r && i && Hs(t, n, i), i;
7421
7428
  }, Ts = (e, t) => (n, r) => t(n, r, e);
7422
- let _3 = class {
7429
+ let y3 = class {
7423
7430
  constructor(e) {
7424
7431
  B(this, "visible$", new x1());
7425
7432
  B(this, "componentKey$", new x1());
7426
7433
  this._componentManager = e;
7427
7434
  }
7428
7435
  set(e, t) {
7429
- return this._componentManager.register(e, t), this.componentKey$.next(e), O1(() => {
7436
+ return this._componentManager.register(e, t), this.componentKey$.next(e), I1(() => {
7430
7437
  this._componentManager.delete(e), this.visible$.complete(), this.componentKey$.complete();
7431
7438
  });
7432
7439
  }
@@ -7437,9 +7444,9 @@ let _3 = class {
7437
7444
  this.visible$.next(!1);
7438
7445
  }
7439
7446
  };
7440
- _3 = Is([
7447
+ y3 = Is([
7441
7448
  Ts(0, W1(ue))
7442
- ], _3);
7449
+ ], y3);
7443
7450
  class Vs extends z1 {
7444
7451
  constructor() {
7445
7452
  super(...arguments);
@@ -7513,10 +7520,10 @@ var Ds = Object.defineProperty, ks = Object.getOwnPropertyDescriptor, As = (e, t
7513
7520
  for (var i = r > 1 ? void 0 : r ? ks(t, n) : t, a = e.length - 1, o; a >= 0; a--)
7514
7521
  (o = e[a]) && (i = (r ? o(t, n, i) : o(i)) || i);
7515
7522
  return r && i && Ds(t, n, i), i;
7516
- }, Wt = (e, t) => (n, r) => t(n, r, e);
7523
+ }, Yt = (e, t) => (n, r) => t(n, r, e);
7517
7524
  const $s = "ui", js = "DISABLE_AUTO_FOCUS";
7518
- var Gt;
7519
- let Tn = (Gt = class extends Z2 {
7525
+ var Xt;
7526
+ let Tn = (Xt = class extends Z2 {
7520
7527
  constructor(e = {}, t, n, r) {
7521
7528
  super(), this._config = e, this._contextService = t, this._injector = n, this._localeService = r, this._localeService.load({ zhCN: W7 }), this._config.disableAutoFocus && this._contextService.setContextValue(js, !0);
7522
7529
  }
@@ -7524,48 +7531,47 @@ let Tn = (Gt = class extends Z2 {
7524
7531
  this._initDependencies(e), this._initUI();
7525
7532
  }
7526
7533
  _initDependencies(e) {
7527
- [
7528
- // legacy managers - deprecated
7534
+ W2([
7529
7535
  [ue],
7530
- [Jt],
7536
+ [Kt],
7531
7537
  // services
7532
7538
  [Bi],
7533
- [mt, { useClass: e3 }],
7534
- [Pe, { useClass: t3 }],
7539
+ [vt, { useClass: t3 }],
7540
+ [Pe, { useClass: n3 }],
7535
7541
  [qr, { useClass: n4 }],
7536
- [He, { useClass: n3 }],
7542
+ [He, { useClass: r3 }],
7537
7543
  [$i, { useClass: x7 }],
7538
- [ns, { useClass: v3, lazy: !0 }],
7544
+ [ns, { useClass: C3, lazy: !0 }],
7539
7545
  [N3, { useClass: ls, lazy: !0 }],
7540
7546
  [ji, { useClass: os, lazy: !0 }],
7541
7547
  [Ai, { useClass: as, lazy: !0 }],
7542
7548
  [O3, { useClass: hs, lazy: !0 }],
7543
- [hi, { useClass: _3, lazy: !0 }],
7544
- [Pi, { useClass: C3, lazy: !0 }],
7549
+ [hi, { useClass: y3, lazy: !0 }],
7550
+ [Pi, { useClass: _3, lazy: !0 }],
7545
7551
  [E3, { useClass: ss, lazy: !0 }],
7546
- [W2, { useClass: Os, lazy: !0 }],
7547
- [Q7, { useClass: m3 }],
7548
- [pt, { useClass: Kt }],
7552
+ [Y2, { useClass: Os, lazy: !0 }],
7553
+ [Q7, { useClass: v3 }],
7554
+ [mt, { useClass: e3 }],
7549
7555
  [Zi, { useClass: Vs }],
7550
7556
  [Ui, { useClass: N7 }],
7551
7557
  [Wi, { useClass: Ns }],
7552
7558
  // controllers
7553
- [i3, { useClass: p3 }],
7559
+ [a3, { useClass: m3 }],
7554
7560
  [nt],
7555
7561
  [it],
7556
7562
  [at]
7557
- ].forEach((n) => e.add(n));
7563
+ ], this._config.override).forEach((n) => e.add(n));
7558
7564
  }
7559
7565
  _initUI() {
7560
- Promise.resolve().then(() => this._injector.get(i3).bootstrapWorkbench(this._config));
7566
+ Promise.resolve().then(() => this._injector.get(a3).bootstrapWorkbench(this._config));
7561
7567
  }
7562
- }, B(Gt, "pluginName", $s), Gt);
7568
+ }, B(Xt, "pluginName", $s), Xt);
7563
7569
  Tn = As([
7564
- Wt(1, Y2),
7565
- Wt(2, W1(je)),
7566
- Wt(3, W1(ie))
7570
+ Yt(1, ht),
7571
+ Yt(2, W1(je)),
7572
+ Yt(3, W1(ie))
7567
7573
  ], Tn);
7568
- function Yt(e) {
7574
+ function Gt(e) {
7569
7575
  return e.length === 0 ? e : e.replace(/^\s+|\s+$/gm, "");
7570
7576
  }
7571
7577
  const Ps = 0.75, Vn = 78, Nn = 9, Us = "rgba(0,0,0,0)", Bs = "rgb(0,0,0)";
@@ -7584,9 +7590,9 @@ function Yi(e) {
7584
7590
  let h = t[`${d}`], g;
7585
7591
  h.nodeName === "#text" ? (g = (c = h.textContent) != null ? c : "", h = h.parentElement) : g = h.innerText;
7586
7592
  const u = k3(h);
7587
- zs(g).forEach((y) => {
7588
- const b = y.length;
7589
- i += b, r = i - b;
7593
+ zs(g).forEach((b) => {
7594
+ const y = b.length;
7595
+ i += y, r = i - y;
7590
7596
  const A = Ee.generateRandomId(6);
7591
7597
  n.push({
7592
7598
  sId: A,
@@ -7620,27 +7626,27 @@ function k3(e, t = "") {
7620
7626
  var C;
7621
7627
  const h = d;
7622
7628
  d = d.toLowerCase();
7623
- const g = Yt(d.substr(0, d.indexOf(":"))), u = Yt(d.substr(d.indexOf(":") + 1));
7629
+ const g = Gt(d.substr(0, d.indexOf(":"))), u = Gt(d.substr(d.indexOf(":") + 1));
7624
7630
  if (g === "font-weight")
7625
7631
  u === "bold" || u === "700" ? i.bl = 1 : i.bl = 0;
7626
7632
  else if (g === "font-style")
7627
7633
  u === "italic" ? i.it = 1 : i.it = 0;
7628
7634
  else if (g === "font-family") {
7629
- const y = Yt(h.substr(h.indexOf(":") + 1));
7630
- i.ff = y;
7635
+ const b = Gt(h.substr(h.indexOf(":") + 1));
7636
+ i.ff = b;
7631
7637
  } else if (g === "font-size") {
7632
- let y = Number.parseInt(u);
7633
- n.indexOf("vertical-align") > -1 && (n.indexOf("sub") > -1 || n.indexOf("sup") > -1) && (y *= 2), u.indexOf("px") !== -1 && (y = Zs(Number.parseInt(u, 10))), i.fs = y;
7638
+ let b = Number.parseInt(u);
7639
+ n.indexOf("vertical-align") > -1 && (n.indexOf("sub") > -1 || n.indexOf("sup") > -1) && (b *= 2), u.indexOf("px") !== -1 && (b = Zs(Number.parseInt(u, 10))), i.fs = b;
7634
7640
  } else if (g === "color")
7635
7641
  i.cl = {
7636
7642
  rgb: u
7637
7643
  };
7638
7644
  else if (g === "background" || g === "background-color") {
7639
- const y = new An(u);
7640
- if (y) {
7641
- const b = y.toRgbString();
7642
- b !== Us && b !== Bs && (i.bg = {
7643
- rgb: y.toRgbString()
7645
+ const b = new An(u);
7646
+ if (b) {
7647
+ const y = b.toRgbString();
7648
+ y !== Us && y !== Bs && (i.bg = {
7649
+ rgb: b.toRgbString()
7644
7650
  });
7645
7651
  }
7646
7652
  } else if (g === "text-decoration-line")
@@ -7656,15 +7662,15 @@ function k3(e, t = "") {
7656
7662
  else if (g === "text-decoration-style")
7657
7663
  i.hasOwnProperty("ul") && (i.ul || (i.ul = { s: 1, t: Number(u) }), i.ul.t = Number(u)), i.hasOwnProperty("st") && (i.st || (i.st = { s: 1, t: Number(u) }), i.st.t = Number(u)), i.hasOwnProperty("ol") && (i.ol || (i.ol = { s: 1, t: Number(u) }), i.ol.t = Number(u));
7658
7664
  else if (g === "text-decoration" || g === "univer-strike") {
7659
- const y = (C = u.split(" ")) == null ? void 0 : C[0];
7660
- y === "underline" ? (i.ul || (i.ul = { s: 1 }), i.ul.s = 1) : y === "line-through" ? (i.st || (i.st = { s: 1 }), i.st.s = 1) : y === "overline" && (i.ol || (i.ol = { s: 1 }), i.ol.s = 1);
7665
+ const b = (C = u.split(" ")) == null ? void 0 : C[0];
7666
+ b === "underline" ? (i.ul || (i.ul = { s: 1 }), i.ul.s = 1) : b === "line-through" ? (i.st || (i.st = { s: 1 }), i.st.s = 1) : b === "overline" && (i.ol || (i.ol = { s: 1 }), i.ol.s = 1);
7661
7667
  }
7662
7668
  if (g === "univer-underline" && (i.ul = {
7663
7669
  s: 1
7664
- }), g === "vertical-align" && (u === "sub" ? i.va = jt.SUBSCRIPT : u === "super" ? i.va = jt.SUPERSCRIPT : u === "top" ? i.vt = 1 : u === "middle" ? i.vt = 2 : u === "bottom" ? i.vt = 3 : i.va = jt.NORMAL), g === "transform") {
7665
- const y = u.split(")"), b = y.findIndex((A) => A.includes("rotate"));
7666
- if (b > -1) {
7667
- const A = y[b].match(/\d+/g);
7670
+ }), g === "vertical-align" && (u === "sub" ? i.va = Pt.SUBSCRIPT : u === "super" ? i.va = Pt.SUPERSCRIPT : u === "top" ? i.vt = 1 : u === "middle" ? i.vt = 2 : u === "bottom" ? i.vt = 3 : i.va = Pt.NORMAL), g === "transform") {
7671
+ const b = u.split(")"), y = b.findIndex((A) => A.includes("rotate"));
7672
+ if (y > -1) {
7673
+ const A = b[y].match(/\d+/g);
7668
7674
  let x = 0, D = 0;
7669
7675
  A != null && A.length && (x = +A[0]), e != null && e.dataset.vertical && (D = +e.dataset.vertical), i.tr = {
7670
7676
  a: x,
@@ -7673,10 +7679,10 @@ function k3(e, t = "") {
7673
7679
  }
7674
7680
  }
7675
7681
  if (g === "text-align" && (u === "left" ? i.ht = 1 : u === "center" ? i.ht = 2 : u === "right" ? i.ht = 3 : u === "justify" ? i.ht = 4 : i.ht = 0), g === "overflow-wrap" || g === "word-wrap" ? u === "break-word" && (i.tb = 3) : g === "text-overflow" ? u === "clip" && (i.tb = 2) : g === "text-break" && u === "overflow" && (i.tb = 1), g === "white-space" && (u === "nowrap" ? i.tb = 1 : u === "normal" ? i.tb = 3 : u === "clip" && (i.tb = 2)), g === "border-color") {
7676
- const y = Dn(u, ")");
7682
+ const b = Dn(u, ")");
7677
7683
  if (i.bd)
7678
- for (const b in y)
7679
- i.bd[b].cl.rgb = y[b];
7684
+ for (const y in b)
7685
+ i.bd[y].cl.rgb = b[y];
7680
7686
  else {
7681
7687
  i.bd = {
7682
7688
  b: {
@@ -7704,14 +7710,14 @@ function k3(e, t = "") {
7704
7710
  s: 0
7705
7711
  }
7706
7712
  };
7707
- for (const b in y)
7708
- i.bd[b].cl.rgb = y[b];
7713
+ for (const y in b)
7714
+ i.bd[y].cl.rgb = b[y];
7709
7715
  }
7710
7716
  }
7711
7717
  if (g === "border-width" || g === "border-style") {
7712
- const y = Dn(u, " ");
7713
- for (const b in y)
7714
- a[b] += ` ${y[b]}`;
7718
+ const b = Dn(u, " ");
7719
+ for (const y in b)
7720
+ a[y] += ` ${b[y]}`;
7715
7721
  i.bd ? (i.bd.b.s = se(a.b), i.bd.t.s = se(a.t), i.bd.l.s = se(a.l), i.bd.r.s = se(a.r)) : i.bd = {
7716
7722
  b: {
7717
7723
  cl: {
@@ -7741,15 +7747,15 @@ function k3(e, t = "") {
7741
7747
  }
7742
7748
  if (g === "border-bottom" || g === "border-top" || g === "border-left" || g === "border-right" || g === "border") {
7743
7749
  i.bd || (i.bd = {});
7744
- const y = u.split(" "), b = `${y[0]} ${y[1]}`;
7745
- y.splice(0, 2);
7746
- const A = y.join("");
7747
- if (se(b) !== G2.NONE) {
7750
+ const b = u.split(" "), y = `${b[0]} ${b[1]}`;
7751
+ b.splice(0, 2);
7752
+ const A = b.join("");
7753
+ if (se(y) !== G2.NONE) {
7748
7754
  const D = {
7749
7755
  cl: {
7750
7756
  rgb: A
7751
7757
  },
7752
- s: se(b)
7758
+ s: se(y)
7753
7759
  };
7754
7760
  g === "border-bottom" ? i.bd.b = u === "none" ? null : D : g === "border-top" ? i.bd.t = u === "none" ? null : D : g === "border-left" ? i.bd.l = u === "none" ? null : D : g === "border-right" ? i.bd.r = u === "none" ? null : D : g === "border" && (i.bd = {
7755
7761
  r: u === "none" ? null : D,
@@ -7759,8 +7765,8 @@ function k3(e, t = "") {
7759
7765
  });
7760
7766
  }
7761
7767
  } else if (g === "data-rotate") {
7762
- const y = /[+-]?\d+/, b = u.match(y);
7763
- u === "(0deg ,1)" ? i.tr = { a: 0, v: 1 } : b && (i.tr = { a: Number(b[0]) });
7768
+ const b = /[+-]?\d+/, y = u.match(b);
7769
+ u === "(0deg ,1)" ? i.tr = { a: 0, v: 1 } : y && (i.tr = { a: Number(y[0]) });
7764
7770
  }
7765
7771
  }), Object.keys(i).forEach((d) => {
7766
7772
  typeof i[d] == "object" && !Object.keys(i[d]).length && delete i[d];
@@ -7863,7 +7869,7 @@ function j8(e) {
7863
7869
  return i.forEach((c) => {
7864
7870
  let d = 0;
7865
7871
  c.querySelectorAll("td").forEach((h) => {
7866
- var y, b;
7872
+ var b, y;
7867
7873
  const g = {};
7868
7874
  if (h.querySelectorAll("span").length || h.querySelectorAll("font").length) {
7869
7875
  const A = Yi(h);
@@ -7877,7 +7883,7 @@ function j8(e) {
7877
7883
  if (d !== r) {
7878
7884
  if (t[o][d] == null) {
7879
7885
  t[o][d] = g;
7880
- const A = (y = Number(h.getAttribute("rowSpan"))) != null ? y : 1, x = (b = Number(h.getAttribute("colSpan"))) != null ? b : 1;
7886
+ const A = (b = Number(h.getAttribute("rowSpan"))) != null ? b : 1, x = (y = Number(h.getAttribute("colSpan"))) != null ? y : 1;
7881
7887
  if (A > 1 || x > 1) {
7882
7888
  const D = { rs: +A - 1, cs: +x - 1, r: o, c: d };
7883
7889
  t[o][d].mc = D;
@@ -7949,22 +7955,22 @@ function B8(e) {
7949
7955
  let u = 0;
7950
7956
  g.querySelectorAll("td").forEach((C) => {
7951
7957
  var D, N;
7952
- const y = {};
7958
+ const b = {};
7953
7959
  if (C.querySelectorAll("span").length || C.querySelectorAll("font").length) {
7954
7960
  const z = Yi(C);
7955
- typeof z != "string" && (y.p = z);
7961
+ typeof z != "string" && (b.p = z);
7956
7962
  }
7957
- const b = C.innerText;
7958
- b.trim().length === 0 ? y.v = "" : y.v = b;
7963
+ const y = C.innerText;
7964
+ y.trim().length === 0 ? b.v = "" : b.v = y;
7959
7965
  let A = "";
7960
7966
  for (const z in i)
7961
7967
  C.classList.contains(z) && (A += i[z]);
7962
7968
  const x = k3(C, A);
7963
- for (Ee.isPlainObject(x) && (y.s = x); u < a && t[d][u] != null; )
7969
+ for (Ee.isPlainObject(x) && (b.s = x); u < a && t[d][u] != null; )
7964
7970
  u++;
7965
7971
  if (u !== a) {
7966
7972
  if (t[d][u] == null) {
7967
- t[d][u] = y;
7973
+ t[d][u] = b;
7968
7974
  const z = (D = Number(C.getAttribute("rowSpan"))) != null ? D : 1, W = (N = Number(C.getAttribute("colSpan"))) != null ? N : 1;
7969
7975
  if (z > 1 || W > 1) {
7970
7976
  const L = { rs: +z - 1, cs: +W - 1, r: d, c: u };
@@ -8037,14 +8043,14 @@ function Ks(e) {
8037
8043
  onlyInputFormula: g = !1,
8038
8044
  onlyInputRange: u = !1,
8039
8045
  onlyInputContent: C = !1,
8040
- isSingleChoice: y = !1,
8041
- openForSheetUnitId: b,
8046
+ isSingleChoice: b = !1,
8047
+ openForSheetUnitId: y,
8042
8048
  openForSheetSubUnitId: A,
8043
8049
  onChange: x,
8044
8050
  onActive: D,
8045
8051
  onValid: N,
8046
8052
  placeholder: z = ""
8047
- } = e, W = u1(pt), L = u1(ie), [T, k] = l1(""), [V, P] = l1(!1), [G, F] = l1([0, 0]), Q = S1(null), [J, f1] = l1(!1);
8053
+ } = e, W = u1(mt), L = u1(ie), [T, k] = l1(""), [V, P] = l1(!1), [G, F] = l1([0, 0]), Q = S1(null), [J, f1] = l1(!1);
8048
8054
  if (!X2(t))
8049
8055
  throw new Error("Invalid editor ID");
8050
8056
  v1(() => {
@@ -8064,25 +8070,25 @@ function Ks(e) {
8064
8070
  canvasStyle: o,
8065
8071
  isSingle: d,
8066
8072
  isReadonly: h,
8067
- isSingleChoice: y,
8073
+ isSingleChoice: b,
8068
8074
  onlyInputFormula: g,
8069
8075
  onlyInputRange: u,
8070
8076
  onlyInputContent: C,
8071
- openForSheetUnitId: b,
8077
+ openForSheetUnitId: y,
8072
8078
  openForSheetSubUnitId: A
8073
8079
  },
8074
8080
  M
8075
8081
  ), Y = Q3((i1) => {
8076
8082
  f1(i1), D && D(i1);
8077
8083
  }, 30), Z = W.focusStyle$.subscribe((i1) => {
8078
- let y1 = !1;
8079
- i1 === t && (y1 = !0), Y(y1);
8084
+ let b1 = !1;
8085
+ i1 === t && (b1 = !0), Y(b1);
8080
8086
  }), X = Q3((i1) => {
8081
- const y1 = i1.editorUnitId, V1 = W.checkValueLegality(y1);
8087
+ const b1 = i1.editorUnitId, V1 = W.checkValueLegality(b1);
8082
8088
  setTimeout(() => {
8083
8089
  const M1 = i1.getBoundingClientRect();
8084
8090
  F([M1.left, M1.top - 16]), M1.left + M1.top > 0 && P(!V1), i1.onlyInputFormula() ? k(L.t("textEditor.formulaError")) : k(L.t("textEditor.rangeError"));
8085
- }, 100), W.getValue(y1) !== c && (N && N(V1), x && x(W.getValue(t)));
8091
+ }, 100), W.getValue(b1) !== c && (N && N(V1), x && x(W.getValue(t)));
8086
8092
  }, 30), n1 = W.valueChange$.subscribe((i1) => {
8087
8093
  i1.isSheetEditor() || i1.editorUnitId === t && X(i1);
8088
8094
  });
@@ -8094,14 +8100,14 @@ function Ks(e) {
8094
8100
  M != null && M.update({
8095
8101
  isReadonly: h,
8096
8102
  isSingle: d,
8097
- isSingleChoice: y,
8103
+ isSingleChoice: b,
8098
8104
  onlyInputContent: C,
8099
8105
  onlyInputFormula: g,
8100
8106
  onlyInputRange: u,
8101
8107
  openForSheetSubUnitId: A,
8102
- openForSheetUnitId: b
8108
+ openForSheetUnitId: y
8103
8109
  });
8104
- }, [h, d, y, C, g, u, A, b]), v1(() => {
8110
+ }, [h, d, b, C, g, u, A, y]), v1(() => {
8105
8111
  c != null && W.setValueNoRefresh(c, t);
8106
8112
  }, [c]);
8107
8113
  function s1() {
@@ -8135,7 +8141,7 @@ const e8 = "univer-range-selector", t8 = "univer-range-selector-editor", n8 = "u
8135
8141
  rangeSelectorModalAddButton: f8
8136
8142
  };
8137
8143
  function z8(e) {
8138
- const { onChange: t, id: n, value: r = "", width: i = 220, placeholder: a = "", size: o = "middle", onActive: c, onValid: d, isSingleChoice: h = !1, openForSheetUnitId: g, openForSheetSubUnitId: u, isReadonly: C = !1, className: y } = e, [b, A] = l1([""]), x = (a1) => {
8144
+ const { onChange: t, id: n, value: r = "", width: i = 220, placeholder: a = "", size: o = "middle", onActive: c, onValid: d, isSingleChoice: h = !1, openForSheetUnitId: g, openForSheetSubUnitId: u, isReadonly: C = !1, className: b } = e, [y, A] = l1([""]), x = (a1) => {
8139
8145
  A((e1) => [...e1, a1]);
8140
8146
  }, D = (a1) => {
8141
8147
  A(
@@ -8144,7 +8150,7 @@ function z8(e) {
8144
8150
  }, N = (a1, e1) => {
8145
8151
  A(
8146
8152
  (C1) => C1.map(
8147
- ($1, R1) => R1 === a1 ? e1 : $1
8153
+ ($1, H1) => H1 === a1 ? e1 : $1
8148
8154
  )
8149
8155
  );
8150
8156
  }, z = (a1) => {
@@ -8152,7 +8158,7 @@ function z8(e) {
8152
8158
  const C1 = [...e1];
8153
8159
  return C1.length > 0 && (C1[C1.length - 1] = a1), C1;
8154
8160
  });
8155
- }, W = u1(pt), L = u1(Zi), T = u1(Oe), [k, V] = l1(!1), P = u1(ie), [G, F] = l1(!1), [Q, J] = l1(!0), [f1, s1] = l1(r), [r1, h1] = l1(-1), L1 = S1(null), M = S1(-1), S = S1(g), E = S1(u), Y = S1(h), Z = S1(C);
8161
+ }, W = u1(mt), L = u1(Zi), T = u1(Oe), [k, V] = l1(!1), P = u1(ie), [G, F] = l1(!1), [Q, J] = l1(!0), [f1, s1] = l1(r), [r1, h1] = l1(-1), L1 = S1(null), M = S1(-1), S = S1(g), E = S1(u), Y = S1(h), Z = S1(C);
8156
8162
  v1(() => {
8157
8163
  const a1 = L1.current;
8158
8164
  if (!a1)
@@ -8162,17 +8168,17 @@ function z8(e) {
8162
8168
  });
8163
8169
  e1.observe(a1);
8164
8170
  let C1 = 1;
8165
- const $1 = L.selectionChange$.subscribe((R1) => {
8171
+ const $1 = L.selectionChange$.subscribe((H1) => {
8166
8172
  if (L.getCurrentSelectorId() !== n)
8167
8173
  return;
8168
- if (R1.length === 0) {
8174
+ if (H1.length === 0) {
8169
8175
  C1 = 0;
8170
8176
  return;
8171
8177
  }
8172
- const w1 = R1.length - C1;
8173
- if (C1 = R1.length, w1 < 0)
8178
+ const w1 = H1.length - C1;
8179
+ if (C1 = H1.length, w1 < 0)
8174
8180
  return;
8175
- const d1 = R1[R1.length - 1];
8181
+ const d1 = H1[H1.length - 1];
8176
8182
  let g1 = "";
8177
8183
  d1.unitId === S.current && d1.sheetId === E.current ? g1 = da(d1.range) : d1.unitId === S.current ? g1 = fa(d1.sheetName, d1.range) : g1 = ha(d1.unitId, d1.sheetName, d1.range), w1 >= 1 && !Y.current ? (x(g1), h1(-1)) : M.current === -1 ? z(g1) : N(M.current, g1);
8178
8184
  });
@@ -8193,7 +8199,7 @@ function z8(e) {
8193
8199
  function i1(a1) {
8194
8200
  F(a1), c && c(a1);
8195
8201
  }
8196
- function y1(a1) {
8202
+ function b1(a1) {
8197
8203
  J(a1), d && d(a1);
8198
8204
  }
8199
8205
  function V1() {
@@ -8202,7 +8208,7 @@ function z8(e) {
8202
8208
  return;
8203
8209
  }
8204
8210
  let a1 = "";
8205
- const e1 = b.filter((C1) => J3(C1.trim()));
8211
+ const e1 = y.filter((C1) => J3(C1.trim()));
8206
8212
  if (e1.length === 1) {
8207
8213
  const C1 = e1[0];
8208
8214
  J3(C1.trim()) && (a1 = C1.trim());
@@ -8210,7 +8216,7 @@ function z8(e) {
8210
8216
  a1 = e1.join(",");
8211
8217
  W.setValue(a1, n), X();
8212
8218
  }
8213
- function H1() {
8219
+ function O1() {
8214
8220
  x(""), h1(-1);
8215
8221
  }
8216
8222
  function M1(a1) {
@@ -8230,7 +8236,7 @@ function z8(e) {
8230
8236
  let B1 = 28;
8231
8237
  return o === "mini" ? B1 = 20 : o === "small" ? B1 = 24 : o === "large" && (B1 = 32), /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
8232
8238
  /* @__PURE__ */ m.jsxs("div", { className: Y1, ref: L1, style: { width: i, height: B1 }, children: [
8233
- /* @__PURE__ */ m.jsx(Ks, { placeholder: a, value: r, isReadonly: C, isSingleChoice: h, openForSheetUnitId: g, openForSheetSubUnitId: u, onValid: y1, onActive: i1, onChange: J1, id: n, onlyInputRange: !0, canvasStyle: { fontSize: 10 }, className: D1.rangeSelectorEditor }),
8239
+ /* @__PURE__ */ m.jsx(Ks, { placeholder: a, value: r, isReadonly: C, isSingleChoice: h, openForSheetUnitId: g, openForSheetSubUnitId: u, onValid: b1, onActive: i1, onChange: J1, id: n, onlyInputRange: !0, canvasStyle: { fontSize: 10 }, className: D1.rangeSelectorEditor }),
8234
8240
  /* @__PURE__ */ m.jsx(w3, { title: P.t("rangeSelector.buttonTooltip"), placement: "bottom", children: /* @__PURE__ */ m.jsx("button", { className: D1.rangeSelectorIcon, onClick: n1, children: /* @__PURE__ */ m.jsx(g9, {}) }) })
8235
8241
  ] }),
8236
8242
  /* @__PURE__ */ m.jsx(
@@ -8242,16 +8248,16 @@ function z8(e) {
8242
8248
  draggable: !0,
8243
8249
  closeIcon: /* @__PURE__ */ m.jsx(x3, {}),
8244
8250
  footer: /* @__PURE__ */ m.jsxs("footer", { children: [
8245
- /* @__PURE__ */ m.jsx(Pt, { onClick: X, children: P.t("rangeSelector.cancel") }),
8246
- /* @__PURE__ */ m.jsx(Pt, { style: { marginLeft: 10 }, onClick: V1, type: "primary", children: P.t("rangeSelector.confirm") })
8251
+ /* @__PURE__ */ m.jsx(Ut, { onClick: X, children: P.t("rangeSelector.cancel") }),
8252
+ /* @__PURE__ */ m.jsx(Ut, { style: { marginLeft: 10 }, onClick: V1, type: "primary", children: P.t("rangeSelector.confirm") })
8247
8253
  ] }),
8248
8254
  onClose: X,
8249
- children: /* @__PURE__ */ m.jsxs("div", { className: k1(D1.rangeSelectorModal, y), children: [
8250
- b.map((a1, e1) => /* @__PURE__ */ m.jsxs("div", { className: D1.rangeSelectorModalContainer, children: [
8251
- /* @__PURE__ */ m.jsx("div", { style: { width: b.length === 1 ? "280px" : "252px" }, className: D1.rangeSelectorModalContainerInput, children: /* @__PURE__ */ m.jsx(
8255
+ children: /* @__PURE__ */ m.jsxs("div", { className: k1(D1.rangeSelectorModal, b), children: [
8256
+ y.map((a1, e1) => /* @__PURE__ */ m.jsxs("div", { className: D1.rangeSelectorModalContainer, children: [
8257
+ /* @__PURE__ */ m.jsx("div", { style: { width: y.length === 1 ? "280px" : "252px" }, className: D1.rangeSelectorModalContainerInput, children: /* @__PURE__ */ m.jsx(
8252
8258
  xa,
8253
8259
  {
8254
- className: r1 === e1 || b.length - 1 === e1 && r1 === -1 ? D1.rangeSelectorModalContainerInputActive : "",
8260
+ className: r1 === e1 || y.length - 1 === e1 && r1 === -1 ? D1.rangeSelectorModalContainerInputActive : "",
8255
8261
  placeholder: P.t("rangeSelector.placeHolder"),
8256
8262
  affixWrapperStyle: { width: "100%" },
8257
8263
  onClick: () => h1(e1),
@@ -8260,9 +8266,9 @@ function z8(e) {
8260
8266
  },
8261
8267
  `input${e1}`
8262
8268
  ) }),
8263
- /* @__PURE__ */ m.jsx("div", { style: { display: b.length === 1 ? "none" : "inline-block" }, className: D1.rangeSelectorModalContainerButton, children: /* @__PURE__ */ m.jsx(so, { onClick: () => D(e1) }) })
8269
+ /* @__PURE__ */ m.jsx("div", { style: { display: y.length === 1 ? "none" : "inline-block" }, className: D1.rangeSelectorModalContainerButton, children: /* @__PURE__ */ m.jsx(so, { onClick: () => D(e1) }) })
8264
8270
  ] }, e1)),
8265
- /* @__PURE__ */ m.jsx("div", { style: { display: h ? "none" : "unset" }, className: D1.rangeSelectorModalAdd, children: /* @__PURE__ */ m.jsxs(Pt, { type: "link", size: "small", onClick: H1, className: D1.rangeSelectorModalAddButton, children: [
8271
+ /* @__PURE__ */ m.jsx("div", { style: { display: h ? "none" : "unset" }, className: D1.rangeSelectorModalAdd, children: /* @__PURE__ */ m.jsxs(Ut, { type: "link", size: "small", onClick: O1, className: D1.rangeSelectorModalAddButton, children: [
8266
8272
  /* @__PURE__ */ m.jsx(Eo, {}),
8267
8273
  /* @__PURE__ */ m.jsx("span", { children: P.t("rangeSelector.addAnotherRange") })
8268
8274
  ] }) })
@@ -8309,7 +8315,7 @@ function Z8() {
8309
8315
  ) });
8310
8316
  }
8311
8317
  export {
8312
- v3 as BrowserClipboardService,
8318
+ C3 as BrowserClipboardService,
8313
8319
  N7 as CanvasPopupService,
8314
8320
  ue as ComponentManager,
8315
8321
  Kr as CopyCommand,
@@ -8320,22 +8326,22 @@ export {
8320
8326
  Bs as DEFAULT_BACKGROUND_COLOR_RGB,
8321
8327
  Us as DEFAULT_BACKGROUND_COLOR_RGBA,
8322
8328
  js as DISABLE_AUTO_FOCUS_KEY,
8323
- m3 as DesktopBeforeCloseService,
8329
+ v3 as DesktopBeforeCloseService,
8324
8330
  as as DesktopConfirmService,
8325
8331
  x7 as DesktopContextMenuService,
8326
8332
  os as DesktopDialogService,
8327
- C3 as DesktopGlobalZoneService,
8328
- e3 as DesktopLayoutService,
8333
+ _3 as DesktopGlobalZoneService,
8334
+ t3 as DesktopLayoutService,
8329
8335
  Os as DesktopLocalStorageService,
8330
- n3 as DesktopMenuService,
8336
+ r3 as DesktopMenuService,
8331
8337
  ss as DesktopMessageService,
8332
8338
  ls as DesktopNotificationService,
8333
8339
  n4 as DesktopPlatformService,
8334
- t3 as DesktopShortcutService,
8340
+ n3 as DesktopShortcutService,
8335
8341
  hs as DesktopSidebarService,
8336
- p3 as DesktopUIController,
8342
+ m3 as DesktopUIController,
8337
8343
  U7 as DesktopUIPart,
8338
- Kt as EditorService,
8344
+ e3 as EditorService,
8339
8345
  I8 as FONT_FAMILY_LIST,
8340
8346
  V8 as FONT_SIZE_LIST,
8341
8347
  H8 as FontFamily,
@@ -8348,9 +8354,9 @@ export {
8348
8354
  Ai as IConfirmService,
8349
8355
  $i as IContextMenuService,
8350
8356
  ji as IDialogService,
8351
- pt as IEditorService,
8357
+ mt as IEditorService,
8352
8358
  Pi as IGlobalZoneService,
8353
- mt as ILayoutService,
8359
+ vt as ILayoutService,
8354
8360
  He as IMenuService,
8355
8361
  E3 as IMessageService,
8356
8362
  N3 as INotificationService,
@@ -8359,10 +8365,10 @@ export {
8359
8365
  Zi as IRangeSelectorService,
8360
8366
  Pe as IShortcutService,
8361
8367
  O3 as ISidebarService,
8362
- i3 as IUIController,
8368
+ a3 as IUIController,
8363
8369
  hi as IZenZoneService,
8364
- be as KeyCode,
8365
- r3 as Menu,
8370
+ ye as KeyCode,
8371
+ i3 as Menu,
8366
8372
  Ce as MenuGroup,
8367
8373
  F1 as MenuItemType,
8368
8374
  te as MenuPosition,
@@ -8378,7 +8384,7 @@ export {
8378
8384
  x4 as UndoShortcutItem,
8379
8385
  Tn as UniverUIPlugin,
8380
8386
  V9 as VueComponentWrapper,
8381
- Jt as ZIndexManager,
8387
+ Kt as ZIndexManager,
8382
8388
  k8 as enUS,
8383
8389
  N9 as getMenuHiddenObservable,
8384
8390
  B8 as handelExcelToJson,
@@ -8391,7 +8397,7 @@ export {
8391
8397
  $8 as handleTableRowGroup,
8392
8398
  zs as splitSpanText,
8393
8399
  N8 as t,
8394
- Yt as textTrim,
8400
+ Gt as textTrim,
8395
8401
  h8 as useActiveWorkbook,
8396
8402
  F8 as useActiveWorksheet,
8397
8403
  D8 as useEvent,