@univerjs/ui 0.15.0-insiders.20260108-7b9120d → 0.15.0-insiders.20260110-48b77c8

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/index.js CHANGED
@@ -7,8 +7,8 @@ var B = (e, t, n) => v2(e, typeof t != "symbol" ? t + "" : t, n);
7
7
  var v3 = (e, t, n) => t.has(e) ? C2("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n);
8
8
  import { Disposable as d1, createIdentifier as h1, CommandType as Qe, toDisposable as c1, IUniverInstanceService as N1, DocumentFlavor as Ot, LocaleService as m1, ColorKit as S3, NAMED_STYLE_MAP as g2, IConfigService as Y1, ICommandService as F1, NamedStyleType as B1, Workbook as p2, UniverInstanceType as g3, DocumentDataModel as d9, SlideDataModel as m2, remove as $t, FOCUSING_UNIVER_EDITOR as Oe, IContextService as fe, Inject as g1, Injector as I1, merge as $e, convertObservableToBehaviorSubject as b2, isRealNum as L2, ErrorService as w2, RedoCommand as j3, UndoCommand as U3, IUndoRedoService as y2, EDITOR_ACTIVATED as h9, FOCUSING_FX_BAR_EDITOR as f9, Optional as C9, dedupeBy as _2, generateRandomId as ue, throttle as M2, ThemeService as z3, LifecycleStages as p3, LifecycleUnreachableError as I2, isInternalEditorID as x2, LifecycleService as v9, ILogService as H2, IConfirmService as W3, DependentOn as g9, Plugin as p9, registerDependencies as m9, mergeOverrideWithDependencies as b9, ILocalStorageService as L9, touchDependencies as K1, BaselineOffset as m3, getBorderStyleType as O1, BorderStyleTypes as S2, Tools as w9 } from "@univerjs/core";
9
9
  import { BehaviorSubject as S1, distinctUntilChanged as y9, Observable as de, switchMap as R2, isObservable as Ee, fromEvent as V2, Subject as $1, of as Ce, combineLatest as W1, merge as O2, first as $2, throttleTime as b3, animationFrameScheduler as L3, map as _9, filter as Et, debounceTime as E2, startWith as N2, ReplaySubject as D2 } from "rxjs";
10
- import { useRef as J, createElement as x, forwardRef as H, useEffect as W, useMemo as G, useState as z, useCallback as Ke, memo as M9, createContext as I9, useContext as e3, useImperativeHandle as T2, Fragment as Nt, useLayoutEffect as R3, cloneElement as Z2 } from "react";
11
- import { jsx as f, Fragment as t3, jsxs as q } from "react/jsx-runtime";
10
+ import { useRef as J, createElement as H, forwardRef as S, useEffect as W, useMemo as G, useState as z, useCallback as Ke, memo as M9, createContext as I9, useContext as e3, useImperativeHandle as T2, Fragment as Nt, useLayoutEffect as R3, cloneElement as Z2 } from "react";
11
+ import { jsx as C, Fragment as t3, jsxs as q } from "react/jsx-runtime";
12
12
  import { useDependency as P, useObservable as r1, useInjector as A2, connectInjector as R1 } from "@wendellhu/redi/react-bindings";
13
13
  export * from "@wendellhu/redi/react-bindings";
14
14
  import { clsx as K, isBrowser as B2, resizeObserverCtor as P2, Button as w3, DropdownMenu as V3, Tooltip as Y3, InputNumber as F2, TinyMenuGroup as k2, Menu as j2, MenuItem as O3, MenuItemGroup as $3, SubMenu as Dt, MessageType as U2, KBD as z2, divideYClassName as W2, HoverCard as Y2, borderClassName as G2, Dropdown as x9, divideXClassName as Tt, borderBottomClassName as Ne, Popup as H9, borderLeftBottomClassName as X2, scrollbarClassName as q2, ConfigProvider as S9, ConfigContext as J2, ColorPicker as Q2, unmount as R9, render as V9, Confirm as K2, Dialog as e4, Gallery as t4, Messager as n4, removeMessage as Le, message as r4, toast as i4, Toaster as o4 } from "@univerjs/design";
@@ -57,7 +57,7 @@ function R({ ref: e, ...t }) {
57
57
  }, o);
58
58
  }
59
59
  function D9(e, t, n, r, i) {
60
- return x(e.tag, {
60
+ return H(e.tag, {
61
61
  key: t,
62
62
  ...l4(e, n, i),
63
63
  ...r
@@ -134,8 +134,8 @@ const u4 = {
134
134
  }
135
135
  }
136
136
  ]
137
- }, T9 = H(function(t, n) {
138
- return x(R, Object.assign({}, t, {
137
+ }, T9 = S(function(t, n) {
138
+ return H(R, Object.assign({}, t, {
139
139
  id: "add-digits-icon",
140
140
  ref: n,
141
141
  icon: u4
@@ -166,8 +166,8 @@ const d4 = {
166
166
  d: "M11.8097 1.14783C12.1411 1.14783 12.4097 1.41646 12.4097 1.74783V3.297H14.1541C14.4855 3.297 14.7541 3.56563 14.7541 3.897C14.7541 4.22837 14.4855 4.497 14.1541 4.497H12.4097V6.24167C12.4097 6.57304 12.1411 6.84167 11.8097 6.84167C11.4783 6.84167 11.2097 6.57304 11.2097 6.24167V4.497H9.6603C9.32893 4.497 9.0603 4.22837 9.0603 3.897C9.0603 3.56563 9.32893 3.297 9.6603 3.297H11.2097V1.74783C11.2097 1.41646 11.4783 1.14783 11.8097 1.14783Z"
167
167
  }
168
168
  }]
169
- }, Z9 = H(function(t, n) {
170
- return x(R, Object.assign({}, t, {
169
+ }, Z9 = S(function(t, n) {
170
+ return H(R, Object.assign({}, t, {
171
171
  id: "add-image-icon",
172
172
  ref: n,
173
173
  icon: d4
@@ -215,8 +215,8 @@ const h4 = {
215
215
  }
216
216
  }
217
217
  ]
218
- }, A9 = H(function(t, n) {
219
- return x(R, Object.assign({}, t, {
218
+ }, A9 = S(function(t, n) {
219
+ return H(R, Object.assign({}, t, {
220
220
  id: "addition-and-subtraction-icon",
221
221
  ref: n,
222
222
  icon: h4
@@ -261,8 +261,8 @@ const f4 = {
261
261
  }
262
262
  }
263
263
  ]
264
- }, B9 = H(function(t, n) {
265
- return x(R, Object.assign({}, t, {
264
+ }, B9 = S(function(t, n) {
265
+ return H(R, Object.assign({}, t, {
266
266
  id: "align-bottom-icon",
267
267
  ref: n,
268
268
  icon: f4
@@ -308,8 +308,8 @@ const C4 = {
308
308
  }
309
309
  }
310
310
  ]
311
- }, P9 = H(function(t, n) {
312
- return x(R, Object.assign({}, t, {
311
+ }, P9 = S(function(t, n) {
312
+ return H(R, Object.assign({}, t, {
313
313
  id: "align-text-both-icon",
314
314
  ref: n,
315
315
  icon: C4
@@ -338,8 +338,8 @@ const v4 = {
338
338
  d: "M8.22957 5.47839C8.30034 5.50767 8.36664 5.55107 8.42417 5.6086L10.4242 7.6086C10.6585 7.84291 10.6585 8.22281 10.4242 8.45713C10.1899 8.69144 9.80995 8.69144 9.57564 8.45713L8.5999 7.48139V13.6995C8.5999 14.0309 8.33127 14.2995 7.9999 14.2995C7.66853 14.2995 7.3999 14.0309 7.3999 13.6995V7.48139L6.42417 8.45713C6.18985 8.69144 5.80995 8.69144 5.57564 8.45713C5.34132 8.22281 5.34132 7.84291 5.57564 7.6086L7.57541 5.60882C7.7522 5.43203 8.01209 5.38841 8.22957 5.47839Z"
339
339
  }
340
340
  }]
341
- }, F9 = H(function(t, n) {
342
- return x(R, Object.assign({}, t, {
341
+ }, F9 = S(function(t, n) {
342
+ return H(R, Object.assign({}, t, {
343
343
  id: "align-top-icon",
344
344
  ref: n,
345
345
  icon: v4
@@ -364,8 +364,8 @@ const g4 = {
364
364
  clipRule: "evenodd"
365
365
  }
366
366
  }]
367
- }, k9 = H(function(t, n) {
368
- return x(R, Object.assign({}, t, {
367
+ }, k9 = S(function(t, n) {
368
+ return H(R, Object.assign({}, t, {
369
369
  id: "all-border-icon",
370
370
  ref: n,
371
371
  icon: g4
@@ -396,8 +396,8 @@ const p4 = {
396
396
  clipRule: "evenodd"
397
397
  }
398
398
  }]
399
- }, j9 = H(function(t, n) {
400
- return x(R, Object.assign({}, t, {
399
+ }, j9 = S(function(t, n) {
400
+ return H(R, Object.assign({}, t, {
401
401
  id: "amplify-icon",
402
402
  ref: n,
403
403
  icon: p4
@@ -443,8 +443,8 @@ const m4 = {
443
443
  }
444
444
  }
445
445
  ]
446
- }, U9 = H(function(t, n) {
447
- return x(R, Object.assign({}, t, {
446
+ }, U9 = S(function(t, n) {
447
+ return H(R, Object.assign({}, t, {
448
448
  id: "autowrap-icon",
449
449
  ref: n,
450
450
  icon: m4
@@ -507,8 +507,8 @@ const b4 = {
507
507
  }
508
508
  }
509
509
  ]
510
- }, z9 = H(function(t, n) {
511
- return x(R, Object.assign({}, t, {
510
+ }, z9 = S(function(t, n) {
511
+ return H(R, Object.assign({}, t, {
512
512
  id: "avg-icon",
513
513
  ref: n,
514
514
  icon: b4
@@ -533,8 +533,8 @@ const L4 = {
533
533
  clipRule: "evenodd"
534
534
  }
535
535
  }]
536
- }, W9 = H(function(t, n) {
537
- return x(R, Object.assign({}, t, {
536
+ }, W9 = S(function(t, n) {
537
+ return H(R, Object.assign({}, t, {
538
538
  id: "bold-icon",
539
539
  ref: n,
540
540
  icon: L4
@@ -559,8 +559,8 @@ const w4 = {
559
559
  clipRule: "evenodd"
560
560
  }
561
561
  }]
562
- }, Y9 = H(function(t, n) {
563
- return x(R, Object.assign({}, t, {
562
+ }, Y9 = S(function(t, n) {
563
+ return H(R, Object.assign({}, t, {
564
564
  id: "brush-icon",
565
565
  ref: n,
566
566
  icon: w4
@@ -591,8 +591,8 @@ const y4 = {
591
591
  d: "M8.73877 9.00298C8.73877 9.55526 9.18649 10.003 9.73877 10.003H11.7792C12.1106 10.003 12.3792 9.73435 12.3792 9.40298C12.3792 9.07161 12.1106 8.80298 11.7792 8.80298H10.7874L12.2304 7.36157C12.7051 6.88734 13.4743 6.88754 13.9488 7.36202C14.4234 7.83667 14.4234 8.60624 13.9488 9.0809L13.2095 9.82016C12.9752 10.0545 12.9752 10.4344 13.2095 10.6687C13.4439 10.903 13.8238 10.903 14.0581 10.6687L14.7973 9.92943C15.7406 8.98614 15.7406 7.45678 14.7973 6.51349C13.8544 5.57056 12.3257 5.57015 11.3823 6.51259L9.93877 7.95459V6.96255C9.93877 6.63118 9.67014 6.36255 9.33877 6.36255C9.0074 6.36255 8.73877 6.63118 8.73877 6.96255V9.00298Z"
592
592
  }
593
593
  }]
594
- }, G9 = H(function(t, n) {
595
- return x(R, Object.assign({}, t, {
594
+ }, G9 = S(function(t, n) {
595
+ return H(R, Object.assign({}, t, {
596
596
  id: "cancel-freeze-icon",
597
597
  ref: n,
598
598
  icon: y4
@@ -638,8 +638,8 @@ const _4 = {
638
638
  }
639
639
  }
640
640
  ]
641
- }, X9 = H(function(t, n) {
642
- return x(R, Object.assign({}, t, {
641
+ }, X9 = S(function(t, n) {
642
+ return H(R, Object.assign({}, t, {
643
643
  id: "cancel-merge-icon",
644
644
  ref: n,
645
645
  icon: _4
@@ -664,8 +664,8 @@ const M4 = {
664
664
  clipRule: "evenodd"
665
665
  }
666
666
  }]
667
- }, X3 = H(function(t, n) {
668
- return x(R, Object.assign({}, t, {
667
+ }, X3 = S(function(t, n) {
668
+ return H(R, Object.assign({}, t, {
669
669
  id: "check-mark-icon",
670
670
  ref: n,
671
671
  icon: M4
@@ -688,8 +688,8 @@ const I4 = {
688
688
  d: "M3.71274 2.86421C3.47843 2.6299 3.09853 2.6299 2.86421 2.86421C2.6299 3.09853 2.6299 3.47843 2.86421 3.71274L7.15154 8.00007L2.86421 12.2874C2.6299 12.5217 2.6299 12.9016 2.86421 13.1359C3.09853 13.3702 3.47843 13.3702 3.71274 13.1359L8.00007 8.84859L12.2874 13.1359C12.5217 13.3702 12.9016 13.3702 13.1359 13.1359C13.3702 12.9016 13.3702 12.5217 13.1359 12.2874L8.84859 8.00007L13.1359 3.71274C13.3702 3.47843 13.3702 3.09853 13.1359 2.86421C12.9016 2.6299 12.5217 2.6299 12.2874 2.86421L8.00007 7.15154L3.71274 2.86421Z"
689
689
  }
690
690
  }]
691
- }, q3 = H(function(t, n) {
692
- return x(R, Object.assign({}, t, {
691
+ }, q3 = S(function(t, n) {
692
+ return H(R, Object.assign({}, t, {
693
693
  id: "close-icon",
694
694
  ref: n,
695
695
  icon: I4
@@ -752,8 +752,8 @@ const x4 = {
752
752
  }
753
753
  }
754
754
  ]
755
- }, q9 = H(function(t, n) {
756
- return x(R, Object.assign({}, t, {
755
+ }, q9 = S(function(t, n) {
756
+ return H(R, Object.assign({}, t, {
757
757
  id: "cnt-icon",
758
758
  ref: n,
759
759
  icon: x4
@@ -792,8 +792,8 @@ const H4 = {
792
792
  }
793
793
  }
794
794
  ]
795
- }, J9 = H(function(t, n) {
796
- return x(R, Object.assign({}, t, {
795
+ }, J9 = S(function(t, n) {
796
+ return H(R, Object.assign({}, t, {
797
797
  id: "code-icon",
798
798
  ref: n,
799
799
  icon: H4
@@ -818,8 +818,8 @@ const S4 = {
818
818
  clipRule: "evenodd"
819
819
  }
820
820
  }]
821
- }, Q9 = H(function(t, n) {
822
- return x(R, Object.assign({}, t, {
821
+ }, Q9 = S(function(t, n) {
822
+ return H(R, Object.assign({}, t, {
823
823
  id: "cut-icon",
824
824
  ref: n,
825
825
  icon: S4
@@ -842,8 +842,8 @@ const R4 = {
842
842
  d: "M8 0.866961C5.018 0.866961 2 1.78296 2 3.53363V12.3675C2 14.1182 5.018 15.0342 8 15.0342C10.982 15.0342 14 14.1182 14 12.3675V3.53363C14 1.78296 10.982 0.866961 8 0.866961ZM12.6667 12.3675C12.6667 12.7542 11.0313 13.7008 8 13.7008C4.96867 13.7008 3.33333 12.7542 3.33333 12.3675V9.86434C4.49067 10.4797 6.24933 10.7977 8 10.7977C9.75067 10.7977 11.5093 10.4797 12.6667 9.86434V12.3675ZM12.6667 8.131C12.6667 8.51767 11.0313 9.46434 8 9.46434C4.96867 9.46434 3.33333 8.51767 3.33333 8.131L3.33333 5.26696C4.49067 5.88229 6.24933 6.20029 8 6.20029C9.75067 6.20029 11.5093 5.88229 12.6667 5.26696V8.131ZM8 4.86696C4.96867 4.86696 3.33333 3.92029 3.33333 3.53363C3.33333 3.14696 4.96867 2.20029 8 2.20029C11.0313 2.20029 12.6667 3.14696 12.6667 3.53363C12.6667 3.92029 11.0313 4.86696 8 4.86696Z"
843
843
  }
844
844
  }]
845
- }, K9 = H(function(t, n) {
846
- return x(R, Object.assign({}, t, {
845
+ }, K9 = S(function(t, n) {
846
+ return H(R, Object.assign({}, t, {
847
847
  id: "database-icon",
848
848
  ref: n,
849
849
  icon: R4
@@ -884,8 +884,8 @@ const V4 = {
884
884
  }
885
885
  }
886
886
  ]
887
- }, e6 = H(function(t, n) {
888
- return x(R, Object.assign({}, t, {
887
+ }, e6 = S(function(t, n) {
888
+ return H(R, Object.assign({}, t, {
889
889
  id: "direct-export-icon",
890
890
  ref: n,
891
891
  icon: V4
@@ -908,8 +908,8 @@ const O4 = {
908
908
  d: "M7.3999 2.8999V1.6C7.3999 1.26863 7.66853 1 7.9999 1C8.33127 1 8.5999 1.26863 8.5999 1.6V2.8999H10.2044C11.6655 2.8999 12.8499 4.08431 12.8499 5.54536C12.8499 5.87673 12.5813 6.14536 12.2499 6.14536C11.9185 6.14536 11.6499 5.87673 11.6499 5.54536C11.6499 4.74705 11.0028 4.0999 10.2044 4.0999H5.7384C4.97155 4.0999 4.3499 4.72155 4.3499 5.4884C4.3499 6.14439 4.80899 6.71087 5.45074 6.84677L10.7977 7.97906C11.994 8.23242 12.8499 9.28849 12.8499 10.5114C12.8499 11.941 11.691 13.0999 10.2614 13.0999H8.5999V14.4C8.5999 14.7314 8.33127 15 7.9999 15C7.66853 15 7.3999 14.7314 7.3999 14.4V13.0999H5.79536C4.33431 13.0999 3.1499 11.9155 3.1499 10.4544C3.1499 10.1231 3.41853 9.85445 3.7499 9.85445C4.08127 9.85445 4.3499 10.1231 4.3499 10.4544C4.3499 11.2527 4.99705 11.8999 5.79536 11.8999H10.2614C11.0283 11.8999 11.6499 11.2782 11.6499 10.5114C11.6499 9.85542 11.1908 9.28893 10.5491 9.15303L5.20214 8.02074C4.00575 7.76739 3.1499 6.71132 3.1499 5.4884C3.1499 4.05881 4.30881 2.8999 5.7384 2.8999H7.3999Z"
909
909
  }
910
910
  }]
911
- }, t6 = H(function(t, n) {
912
- return x(R, Object.assign({}, t, {
911
+ }, t6 = S(function(t, n) {
912
+ return H(R, Object.assign({}, t, {
913
913
  id: "dollar-icon",
914
914
  ref: n,
915
915
  icon: O4
@@ -940,8 +940,8 @@ const $4 = {
940
940
  d: "M10.3911 3.84419C10.6254 3.60988 11.0053 3.60988 11.2396 3.84419L11.8818 4.48643V1.93496C11.8818 1.60359 12.1505 1.33496 12.4818 1.33496C12.8132 1.33496 13.0818 1.60359 13.0818 1.93496V4.48676L13.7244 3.84419C13.9587 3.60988 14.3386 3.60988 14.5729 3.84419C14.8072 4.07851 14.8072 4.45841 14.5729 4.69272L12.9063 6.35939C12.6719 6.5937 12.292 6.5937 12.0577 6.35939L10.3911 4.69272C10.1568 4.45841 10.1568 4.07851 10.3911 3.84419Z"
941
941
  }
942
942
  }]
943
- }, n6 = H(function(t, n) {
944
- return x(R, Object.assign({}, t, {
943
+ }, n6 = S(function(t, n) {
944
+ return H(R, Object.assign({}, t, {
945
945
  id: "download-image-icon",
946
946
  ref: n,
947
947
  icon: $4
@@ -964,8 +964,8 @@ const E4 = {
964
964
  d: "M5.84964 5.80918C6.71946 3.63548 8.84516 2.2 11.3295 2.2C11.8324 2.2 12.3198 2.26279 12.7846 2.38065C13.1058 2.46209 13.4322 2.26773 13.5137 1.94652C13.5951 1.62532 13.4008 1.2989 13.0795 1.21746C12.5191 1.07535 11.9327 1 11.3295 1C8.17278 1 5.49724 2.96009 4.57394 5.80918H3.06582C2.73445 5.80918 2.46582 6.07781 2.46582 6.40918C2.46582 6.74055 2.73445 7.00918 3.06582 7.00918H4.29808C4.25287 7.33297 4.22949 7.66376 4.22949 8C4.22949 8.33608 4.25284 8.6667 4.29801 8.99033H3.06582C2.73445 8.99033 2.46582 9.25896 2.46582 9.59033C2.46582 9.9217 2.73445 10.1903 3.06582 10.1903H4.57378C5.49693 13.0397 8.1726 15 11.3295 15C11.9336 15 12.5209 14.9244 13.0821 14.7819C13.4033 14.7003 13.5975 14.3738 13.5159 14.0527C13.4344 13.7315 13.1079 13.5373 12.7867 13.6188C12.3213 13.737 11.8332 13.8 11.3295 13.8C8.84497 13.8 6.71914 12.3643 5.84944 10.1903H11.4291C11.7605 10.1903 12.0291 9.9217 12.0291 9.59033C12.0291 9.25896 11.7605 8.99033 11.4291 8.99033H5.51225C5.45783 8.66834 5.42949 8.33748 5.42949 8C5.42949 7.66235 5.45786 7.33133 5.51233 7.00918H11.4291C11.7605 7.00918 12.0291 6.74055 12.0291 6.40918C12.0291 6.07781 11.7605 5.80918 11.4291 5.80918H5.84964Z"
965
965
  }
966
966
  }]
967
- }, r6 = H(function(t, n) {
968
- return x(R, Object.assign({}, t, {
967
+ }, r6 = S(function(t, n) {
968
+ return H(R, Object.assign({}, t, {
969
969
  id: "euro-icon",
970
970
  ref: n,
971
971
  icon: E4
@@ -994,8 +994,8 @@ const N4 = {
994
994
  d: "M11.6167 5.26668C11.851 5.03236 12.2309 5.03236 12.4652 5.26668L14.7743 7.57575C15.0086 7.81007 15.0086 8.18997 14.7743 8.42428L12.4652 10.7334C12.2309 10.9677 11.851 10.9677 11.6167 10.7334C11.3823 10.499 11.3823 10.1191 11.6167 9.88483L12.9015 8.60002H6.63784C6.30647 8.60002 6.03784 8.3314 6.03784 8.00002C6.03784 7.66865 6.30647 7.40002 6.63784 7.40002H12.9015L11.6167 6.11521C11.3823 5.88089 11.3823 5.50099 11.6167 5.26668Z"
995
995
  }
996
996
  }]
997
- }, i6 = H(function(t, n) {
998
- return x(R, Object.assign({}, t, {
997
+ }, i6 = S(function(t, n) {
998
+ return H(R, Object.assign({}, t, {
999
999
  id: "export-icon",
1000
1000
  ref: n,
1001
1001
  icon: N4
@@ -1028,8 +1028,8 @@ const D4 = {
1028
1028
  clipRule: "evenodd"
1029
1029
  }
1030
1030
  }]
1031
- }, o6 = H(function(t, n) {
1032
- return x(R, Object.assign({}, t, {
1031
+ }, o6 = S(function(t, n) {
1032
+ return H(R, Object.assign({}, t, {
1033
1033
  id: "eye-icon",
1034
1034
  ref: n,
1035
1035
  icon: D4
@@ -1058,8 +1058,8 @@ const T4 = {
1058
1058
  d: "M7.99967 12.6663C3.69701 12.6663 1.33301 9.16101 1.33301 7.99967C1.33301 6.89034 4.40767 3.33301 7.99967 3.33301C11.5917 3.33301 14.6663 6.89034 14.6663 7.99967C14.6663 9.16101 12.3023 12.6663 7.99967 12.6663ZM2.67501 8.01834C3.14932 9.02475 3.90405 9.87286 4.84857 10.4608C5.79309 11.0488 6.88725 11.3517 7.99967 11.333C9.1121 11.3517 10.2063 11.0488 11.1508 10.4608C12.0953 9.87286 12.85 9.02475 13.3243 8.01834C13.0823 7.37167 10.8363 4.66634 7.99967 4.66634C5.16301 4.66634 2.91701 7.37167 2.67501 8.01834Z"
1059
1059
  }
1060
1060
  }]
1061
- }, s6 = H(function(t, n) {
1062
- return x(R, Object.assign({}, t, {
1061
+ }, s6 = S(function(t, n) {
1062
+ return H(R, Object.assign({}, t, {
1063
1063
  id: "eye-outline-icon",
1064
1064
  ref: n,
1065
1065
  icon: T4
@@ -1084,8 +1084,8 @@ const Z4 = {
1084
1084
  clipRule: "evenodd"
1085
1085
  }
1086
1086
  }]
1087
- }, l6 = H(function(t, n) {
1088
- return x(R, Object.assign({}, t, {
1087
+ }, l6 = S(function(t, n) {
1088
+ return H(R, Object.assign({}, t, {
1089
1089
  id: "folder-icon",
1090
1090
  ref: n,
1091
1091
  icon: Z4
@@ -1116,8 +1116,8 @@ const A4 = {
1116
1116
  d: "M13.0504 2.47954C13.0504 2.14817 12.7818 1.87954 12.4504 1.87954C12.1191 1.87954 11.8504 2.14817 11.8504 2.47954V4.11554H10.2144C9.88305 4.11554 9.61442 4.38417 9.61442 4.71554C9.61442 5.04691 9.88305 5.31554 10.2144 5.31554H11.8504V6.95155C11.8504 7.28292 12.1191 7.55155 12.4504 7.55155C12.7818 7.55155 13.0504 7.28292 13.0504 6.95155V5.31554H14.6864C15.0178 5.31554 15.2864 5.04691 15.2864 4.71554C15.2864 4.38417 15.0178 4.11554 14.6864 4.11554H13.0504V2.47954Z"
1117
1117
  }
1118
1118
  }]
1119
- }, a6 = H(function(t, n) {
1120
- return x(R, Object.assign({}, t, {
1119
+ }, a6 = S(function(t, n) {
1120
+ return H(R, Object.assign({}, t, {
1121
1121
  id: "font-size-increase-icon",
1122
1122
  ref: n,
1123
1123
  icon: A4
@@ -1148,8 +1148,8 @@ const B4 = {
1148
1148
  d: "M9.61442 4.71554C9.61442 4.38417 9.88305 4.11554 10.2144 4.11554H14.6864C15.0178 4.11554 15.2864 4.38417 15.2864 4.71554C15.2864 5.04691 15.0178 5.31554 14.6864 5.31554H10.2144C9.88305 5.31554 9.61442 5.04691 9.61442 4.71554Z"
1149
1149
  }
1150
1150
  }]
1151
- }, c6 = H(function(t, n) {
1152
- return x(R, Object.assign({}, t, {
1151
+ }, c6 = S(function(t, n) {
1152
+ return H(R, Object.assign({}, t, {
1153
1153
  id: "font-size-reduce-icon",
1154
1154
  ref: n,
1155
1155
  icon: B4
@@ -1174,8 +1174,8 @@ const P4 = {
1174
1174
  clipRule: "evenodd"
1175
1175
  }
1176
1176
  }]
1177
- }, u6 = H(function(t, n) {
1178
- return x(R, Object.assign({}, t, {
1177
+ }, u6 = S(function(t, n) {
1178
+ return H(R, Object.assign({}, t, {
1179
1179
  id: "freeze-column-icon",
1180
1180
  ref: n,
1181
1181
  icon: P4
@@ -1200,8 +1200,8 @@ const F4 = {
1200
1200
  clipRule: "evenodd"
1201
1201
  }
1202
1202
  }]
1203
- }, d6 = H(function(t, n) {
1204
- return x(R, Object.assign({}, t, {
1203
+ }, d6 = S(function(t, n) {
1204
+ return H(R, Object.assign({}, t, {
1205
1205
  id: "freeze-row-icon",
1206
1206
  ref: n,
1207
1207
  icon: F4
@@ -1226,8 +1226,8 @@ const k4 = {
1226
1226
  clipRule: "evenodd"
1227
1227
  }
1228
1228
  }]
1229
- }, h6 = H(function(t, n) {
1230
- return x(R, Object.assign({}, t, {
1229
+ }, h6 = S(function(t, n) {
1230
+ return H(R, Object.assign({}, t, {
1231
1231
  id: "freeze-to-selected-icon",
1232
1232
  ref: n,
1233
1233
  icon: k4
@@ -1252,8 +1252,8 @@ const j4 = {
1252
1252
  clipRule: "evenodd"
1253
1253
  }
1254
1254
  }]
1255
- }, J3 = H(function(t, n) {
1256
- return x(R, Object.assign({}, t, {
1255
+ }, J3 = S(function(t, n) {
1256
+ return H(R, Object.assign({}, t, {
1257
1257
  id: "function-icon",
1258
1258
  ref: n,
1259
1259
  icon: j4
@@ -1278,8 +1278,8 @@ const U4 = {
1278
1278
  clipRule: "evenodd"
1279
1279
  }
1280
1280
  }]
1281
- }, f6 = H(function(t, n) {
1282
- return x(R, Object.assign({}, t, {
1281
+ }, f6 = S(function(t, n) {
1282
+ return H(R, Object.assign({}, t, {
1283
1283
  id: "grid-icon",
1284
1284
  ref: n,
1285
1285
  icon: U4
@@ -1320,8 +1320,8 @@ const z4 = {
1320
1320
  }
1321
1321
  }
1322
1322
  ]
1323
- }, C6 = H(function(t, n) {
1324
- return x(R, Object.assign({}, t, {
1323
+ }, C6 = S(function(t, n) {
1324
+ return H(R, Object.assign({}, t, {
1325
1325
  id: "header-footer-icon",
1326
1326
  ref: n,
1327
1327
  icon: z4
@@ -1346,8 +1346,8 @@ const W4 = {
1346
1346
  clipRule: "evenodd"
1347
1347
  }
1348
1348
  }]
1349
- }, v6 = H(function(t, n) {
1350
- return x(R, Object.assign({}, t, {
1349
+ }, v6 = S(function(t, n) {
1350
+ return H(R, Object.assign({}, t, {
1351
1351
  id: "home-icon",
1352
1352
  ref: n,
1353
1353
  icon: W4
@@ -1380,8 +1380,8 @@ const Y4 = {
1380
1380
  clipRule: "evenodd"
1381
1381
  }
1382
1382
  }]
1383
- }, g6 = H(function(t, n) {
1384
- return x(R, Object.assign({}, t, {
1383
+ }, g6 = S(function(t, n) {
1384
+ return H(R, Object.assign({}, t, {
1385
1385
  id: "horizontal-merge-icon",
1386
1386
  ref: n,
1387
1387
  icon: Y4
@@ -1427,8 +1427,8 @@ const G4 = {
1427
1427
  }
1428
1428
  }
1429
1429
  ]
1430
- }, p6 = H(function(t, n) {
1431
- return x(R, Object.assign({}, t, {
1430
+ }, p6 = S(function(t, n) {
1431
+ return H(R, Object.assign({}, t, {
1432
1432
  id: "horizontally-icon",
1433
1433
  ref: n,
1434
1434
  icon: G4
@@ -1451,8 +1451,8 @@ const X4 = {
1451
1451
  d: "M8.6 1.99991C8.60001 1.66854 8.33138 1.39991 8.00001 1.3999C7.66864 1.3999 7.40001 1.66853 7.4 1.9999L7.39996 7.3999H1.9999C1.66853 7.3999 1.3999 7.66853 1.3999 7.9999C1.3999 8.33127 1.66853 8.5999 1.9999 8.5999H7.39995L7.3999 13.9999C7.3999 14.3313 7.66853 14.5999 7.9999 14.5999C8.33127 14.5999 8.5999 14.3313 8.5999 13.9999L8.59995 8.5999H13.9999C14.3313 8.5999 14.5999 8.33127 14.5999 7.9999C14.5999 7.66853 14.3313 7.3999 13.9999 7.3999H8.59996L8.6 1.99991Z"
1452
1452
  }
1453
1453
  }]
1454
- }, m6 = H(function(t, n) {
1455
- return x(R, Object.assign({}, t, {
1454
+ }, m6 = S(function(t, n) {
1455
+ return H(R, Object.assign({}, t, {
1456
1456
  id: "increase-icon",
1457
1457
  ref: n,
1458
1458
  icon: X4
@@ -1475,8 +1475,8 @@ const q4 = {
1475
1475
  d: "M8.00016 1.33203C6.68162 1.33203 5.39269 1.72302 4.29636 2.45557C3.20004 3.18811 2.34555 4.2293 1.84097 5.44747C1.33638 6.66565 1.20436 8.00609 1.4616 9.2993C1.71883 10.5925 2.35377 11.7804 3.28612 12.7127C4.21847 13.6451 5.40636 14.28 6.69956 14.5373C7.99277 14.7945 9.33321 14.6625 10.5514 14.1579C11.7696 13.6533 12.8108 12.7988 13.5433 11.7025C14.2758 10.6062 14.6668 9.31724 14.6668 7.9987C14.6649 6.23118 13.9619 4.53662 12.7121 3.2868C11.4622 2.03697 9.76768 1.33397 8.00016 1.33203ZM7.66683 3.9987C7.86461 3.9987 8.05795 4.05735 8.2224 4.16723C8.38685 4.27711 8.51502 4.43329 8.59071 4.61601C8.6664 4.79874 8.6862 4.99981 8.64762 5.19379C8.60903 5.38777 8.51379 5.56595 8.37394 5.7058C8.23409 5.84566 8.0559 5.9409 7.86192 5.97948C7.66794 6.01807 7.46687 5.99826 7.28415 5.92258C7.10142 5.84689 6.94524 5.71872 6.83536 5.55427C6.72548 5.38982 6.66683 5.19648 6.66683 4.9987C6.66683 4.73348 6.77219 4.47913 6.95972 4.29159C7.14726 4.10405 7.40162 3.9987 7.66683 3.9987ZM9.3335 11.332H6.66683C6.49002 11.332 6.32045 11.2618 6.19543 11.1368C6.0704 11.0117 6.00016 10.8422 6.00016 10.6654C6.00016 10.4886 6.0704 10.319 6.19543 10.194C6.32045 10.0689 6.49002 9.9987 6.66683 9.9987H7.3335V7.9987H6.66683C6.49002 7.9987 6.32045 7.92846 6.19543 7.80343C6.0704 7.67841 6.00016 7.50884 6.00016 7.33203C6.00016 7.15522 6.0704 6.98565 6.19543 6.86063C6.32045 6.7356 6.49002 6.66536 6.66683 6.66536H8.00016C8.17698 6.66536 8.34655 6.7356 8.47157 6.86063C8.59659 6.98565 8.66683 7.15522 8.66683 7.33203V9.9987H9.3335C9.51031 9.9987 9.67988 10.0689 9.8049 10.194C9.92993 10.319 10.0002 10.4886 10.0002 10.6654C10.0002 10.8422 9.92993 11.0117 9.8049 11.1368C9.67988 11.2618 9.51031 11.332 9.3335 11.332Z"
1476
1476
  }
1477
1477
  }]
1478
- }, b6 = H(function(t, n) {
1479
- return x(R, Object.assign({}, t, {
1478
+ }, b6 = S(function(t, n) {
1479
+ return H(R, Object.assign({}, t, {
1480
1480
  id: "info-icon",
1481
1481
  ref: n,
1482
1482
  icon: q4
@@ -1515,8 +1515,8 @@ const J4 = {
1515
1515
  }
1516
1516
  }
1517
1517
  ]
1518
- }, L6 = H(function(t, n) {
1519
- return x(R, Object.assign({}, t, {
1518
+ }, L6 = S(function(t, n) {
1519
+ return H(R, Object.assign({}, t, {
1520
1520
  id: "insert-icon",
1521
1521
  ref: n,
1522
1522
  icon: J4
@@ -1539,8 +1539,8 @@ const Q4 = {
1539
1539
  d: "M9.80385 1.40005H11.9997C12.3311 1.40005 12.5997 1.66868 12.5997 2.00005C12.5997 2.33143 12.3311 2.60005 11.9997 2.60005H10.1185L7.12251 13.4001H9.33324C9.66461 13.4001 9.93324 13.6687 9.93324 14.0001C9.93324 14.3314 9.66461 14.6001 9.33324 14.6001H6.34785C6.33847 14.6003 6.32905 14.6003 6.31962 14.6001H3.9999C3.66853 14.6001 3.3999 14.3314 3.3999 14.0001C3.3999 13.6687 3.66853 13.4001 3.9999 13.4001H5.87719L8.87322 2.60005H6.66641C6.33504 2.60005 6.06641 2.33143 6.06641 2.00005C6.06641 1.66868 6.33504 1.40005 6.66641 1.40005H9.52916C9.61698 1.37929 9.71064 1.3781 9.80385 1.40005Z"
1540
1540
  }
1541
1541
  }]
1542
- }, w6 = H(function(t, n) {
1543
- return x(R, Object.assign({}, t, {
1542
+ }, w6 = S(function(t, n) {
1543
+ return H(R, Object.assign({}, t, {
1544
1544
  id: "italic-icon",
1545
1545
  ref: n,
1546
1546
  icon: Q4
@@ -1595,8 +1595,8 @@ const K4 = {
1595
1595
  }
1596
1596
  }
1597
1597
  ]
1598
- }, y6 = H(function(t, n) {
1599
- return x(R, Object.assign({}, t, {
1598
+ }, y6 = S(function(t, n) {
1599
+ return H(R, Object.assign({}, t, {
1600
1600
  id: "keyboard-icon",
1601
1601
  ref: n,
1602
1602
  icon: K4
@@ -1642,8 +1642,8 @@ const e0 = {
1642
1642
  }
1643
1643
  }
1644
1644
  ]
1645
- }, _6 = H(function(t, n) {
1646
- return x(R, Object.assign({}, t, {
1645
+ }, _6 = S(function(t, n) {
1646
+ return H(R, Object.assign({}, t, {
1647
1647
  id: "left-justifying-icon",
1648
1648
  ref: n,
1649
1649
  icon: e0
@@ -1674,8 +1674,8 @@ const t0 = {
1674
1674
  d: "M4.56311 13.7359C4.32879 13.9702 4.32879 14.3501 4.56311 14.5844C4.79742 14.8188 5.17732 14.8188 5.41163 14.5844L13.3083 6.68776L13.3842 8.21165C13.4006 8.54261 13.6823 8.79755 14.0133 8.78108C14.3442 8.76461 14.5992 8.48295 14.5827 8.15199L14.4844 6.17786C14.4413 5.3118 13.3917 4.90732 12.7786 5.52046L4.56311 13.7359Z"
1675
1675
  }
1676
1676
  }]
1677
- }, M6 = H(function(t, n) {
1678
- return x(R, Object.assign({}, t, {
1677
+ }, M6 = S(function(t, n) {
1678
+ return H(R, Object.assign({}, t, {
1679
1679
  id: "left-rotation-forty-five-degrees-icon",
1680
1680
  ref: n,
1681
1681
  icon: t0
@@ -1706,8 +1706,8 @@ const n0 = {
1706
1706
  clipRule: "evenodd"
1707
1707
  }
1708
1708
  }]
1709
- }, I6 = H(function(t, n) {
1710
- return x(R, Object.assign({}, t, {
1709
+ }, I6 = S(function(t, n) {
1710
+ return H(R, Object.assign({}, t, {
1711
1711
  id: "left-rotation-ninety-degrees-icon",
1712
1712
  ref: n,
1713
1713
  icon: n0
@@ -1770,8 +1770,8 @@ const r0 = {
1770
1770
  }
1771
1771
  }
1772
1772
  ]
1773
- }, x6 = H(function(t, n) {
1774
- return x(R, Object.assign({}, t, {
1773
+ }, x6 = S(function(t, n) {
1774
+ return H(R, Object.assign({}, t, {
1775
1775
  id: "max-icon",
1776
1776
  ref: n,
1777
1777
  icon: r0
@@ -1810,8 +1810,8 @@ const i0 = {
1810
1810
  }
1811
1811
  }
1812
1812
  ]
1813
- }, H6 = H(function(t, n) {
1814
- return x(R, Object.assign({}, t, {
1813
+ }, H6 = S(function(t, n) {
1814
+ return H(R, Object.assign({}, t, {
1815
1815
  id: "menu-icon",
1816
1816
  ref: n,
1817
1817
  icon: i0
@@ -1840,8 +1840,8 @@ const o0 = {
1840
1840
  d: "M5.33889 1.13919L3.4057 1.13926C2.30115 1.13931 1.40576 2.03474 1.40578 3.13928L1.40582 7.99139L1.40576 8.00012L1.40582 8.00886L1.40587 12.8612C1.40588 13.9658 2.30131 14.8612 3.40587 14.8612H5.33897C6.44354 14.8612 7.33897 13.9658 7.33897 12.8612V11.8084C7.33897 11.4771 7.07034 11.2084 6.73897 11.2084C6.4076 11.2084 6.13897 11.4771 6.13897 11.8084V12.8612C6.13897 13.303 5.7808 13.6612 5.33897 13.6612H3.40587C2.96405 13.6612 2.60588 13.303 2.60587 12.8612L2.60583 8.60012H5.53538L4.95357 9.18193C4.71925 9.41624 4.71925 9.79614 4.95357 10.0305C5.18788 10.2648 5.56778 10.2648 5.8021 10.0305L6.68599 9.14656C7.31083 8.52172 7.31083 7.50866 6.68599 6.88382L5.8021 5.99993C5.56778 5.76561 5.18788 5.76561 4.95357 5.99993C4.71925 6.23424 4.71925 6.61414 4.95357 6.84845L5.50523 7.40012H2.60582L2.60578 3.13927C2.60577 2.69745 2.96393 2.33928 3.40574 2.33926L5.33894 2.33919C5.78078 2.33917 6.13897 2.69735 6.13897 3.13919V4.192C6.13897 4.52337 6.4076 4.792 6.73897 4.792C7.07034 4.792 7.33897 4.52337 7.33897 4.192V3.13919C7.33897 2.03459 6.44349 1.13914 5.33889 1.13919Z"
1841
1841
  }
1842
1842
  }]
1843
- }, S6 = H(function(t, n) {
1844
- return x(R, Object.assign({}, t, {
1843
+ }, S6 = S(function(t, n) {
1844
+ return H(R, Object.assign({}, t, {
1845
1845
  id: "merge-all-icon",
1846
1846
  ref: n,
1847
1847
  icon: o0
@@ -1904,8 +1904,8 @@ const s0 = {
1904
1904
  }
1905
1905
  }
1906
1906
  ]
1907
- }, R6 = H(function(t, n) {
1908
- return x(R, Object.assign({}, t, {
1907
+ }, R6 = S(function(t, n) {
1908
+ return H(R, Object.assign({}, t, {
1909
1909
  id: "min-icon",
1910
1910
  ref: n,
1911
1911
  icon: s0
@@ -1930,8 +1930,8 @@ const l0 = {
1930
1930
  clipRule: "evenodd"
1931
1931
  }
1932
1932
  }]
1933
- }, he = H(function(t, n) {
1934
- return x(R, Object.assign({}, t, {
1933
+ }, he = S(function(t, n) {
1934
+ return H(R, Object.assign({}, t, {
1935
1935
  id: "more-down-icon",
1936
1936
  ref: n,
1937
1937
  icon: l0
@@ -1970,8 +1970,8 @@ const a0 = {
1970
1970
  }
1971
1971
  }
1972
1972
  ]
1973
- }, Q3 = H(function(t, n) {
1974
- return x(R, Object.assign({}, t, {
1973
+ }, Q3 = S(function(t, n) {
1974
+ return H(R, Object.assign({}, t, {
1975
1975
  id: "more-function-icon",
1976
1976
  ref: n,
1977
1977
  icon: a0
@@ -1996,8 +1996,8 @@ const c0 = {
1996
1996
  clipRule: "evenodd"
1997
1997
  }
1998
1998
  }]
1999
- }, E3 = H(function(t, n) {
2000
- return x(R, Object.assign({}, t, {
1999
+ }, E3 = S(function(t, n) {
2000
+ return H(R, Object.assign({}, t, {
2001
2001
  id: "more-icon",
2002
2002
  ref: n,
2003
2003
  icon: c0
@@ -2071,8 +2071,8 @@ const u0 = {
2071
2071
  }
2072
2072
  }
2073
2073
  ]
2074
- }, V6 = H(function(t, n) {
2075
- return x(R, Object.assign({}, t, {
2074
+ }, V6 = S(function(t, n) {
2075
+ return H(R, Object.assign({}, t, {
2076
2076
  id: "no-border-icon",
2077
2077
  ref: n,
2078
2078
  icon: u0
@@ -2103,8 +2103,8 @@ const d0 = {
2103
2103
  d: "M1.9999 11.4246C1.66853 11.4246 1.3999 11.6933 1.3999 12.0246C1.3999 12.356 1.66853 12.6246 1.9999 12.6246H13.1675L12.1436 13.7558C11.9212 14.0015 11.9401 14.3809 12.1858 14.6033C12.4314 14.8257 12.8109 14.8068 13.0332 14.5611L14.3597 13.0957C14.9416 12.4528 14.4854 11.4246 13.6183 11.4246H1.9999Z"
2104
2104
  }
2105
2105
  }]
2106
- }, O6 = H(function(t, n) {
2107
- return x(R, Object.assign({}, t, {
2106
+ }, O6 = S(function(t, n) {
2107
+ return H(R, Object.assign({}, t, {
2108
2108
  id: "no-rotation-icon",
2109
2109
  ref: n,
2110
2110
  icon: d0
@@ -2164,8 +2164,8 @@ const h0 = {
2164
2164
  }
2165
2165
  }
2166
2166
  ]
2167
- }, $6 = H(function(t, n) {
2168
- return x(R, Object.assign({}, t, {
2167
+ }, $6 = S(function(t, n) {
2168
+ return H(R, Object.assign({}, t, {
2169
2169
  id: "order-icon",
2170
2170
  ref: n,
2171
2171
  icon: h0
@@ -2211,8 +2211,8 @@ const f0 = {
2211
2211
  }
2212
2212
  }
2213
2213
  ]
2214
- }, E6 = H(function(t, n) {
2215
- return x(R, Object.assign({}, t, {
2214
+ }, E6 = S(function(t, n) {
2215
+ return H(R, Object.assign({}, t, {
2216
2216
  id: "overflow-icon",
2217
2217
  ref: n,
2218
2218
  icon: f0
@@ -2255,8 +2255,8 @@ const C0 = {
2255
2255
  }
2256
2256
  }
2257
2257
  ]
2258
- }, N6 = H(function(t, n) {
2259
- return x(R, Object.assign({}, t, {
2258
+ }, N6 = S(function(t, n) {
2259
+ return H(R, Object.assign({}, t, {
2260
2260
  id: "percent-icon",
2261
2261
  ref: n,
2262
2262
  icon: C0
@@ -2281,8 +2281,8 @@ const v0 = {
2281
2281
  clipRule: "evenodd"
2282
2282
  }
2283
2283
  }]
2284
- }, D6 = H(function(t, n) {
2285
- return x(R, Object.assign({}, t, {
2284
+ }, D6 = S(function(t, n) {
2285
+ return H(R, Object.assign({}, t, {
2286
2286
  id: "piping-icon",
2287
2287
  ref: n,
2288
2288
  icon: v0
@@ -2305,8 +2305,8 @@ const g0 = {
2305
2305
  d: "M11.273 2.72206C11.0214 2.50641 10.9922 2.12763 11.2079 1.87603C11.4235 1.62444 11.8023 1.59531 12.0539 1.81097L14.3833 3.80761C14.5134 3.91733 14.5962 4.08137 14.5967 4.26477L14.5967 4.2665C14.5967 4.41745 14.541 4.55538 14.4489 4.66083C14.44 4.67109 14.4307 4.68108 14.421 4.69077L12.0877 7.02411C11.8534 7.25842 11.4735 7.25843 11.2392 7.02412C11.0049 6.78981 11.0049 6.40991 11.2392 6.17559L12.5482 4.8665H6.63324C4.40569 4.8665 2.5999 6.67229 2.5999 8.89984C2.5999 11.1274 4.40569 12.9332 6.63324 12.9332H11.9972C12.3286 12.9332 12.5972 13.2018 12.5972 13.5332C12.5972 13.8645 12.3286 14.1332 11.9972 14.1332H6.63324C3.74295 14.1332 1.3999 11.7901 1.3999 8.89984C1.3999 6.00955 3.74295 3.6665 6.63324 3.6665H12.3748L11.273 2.72206Z"
2306
2306
  }
2307
2307
  }]
2308
- }, T6 = H(function(t, n) {
2309
- return x(R, Object.assign({}, t, {
2308
+ }, T6 = S(function(t, n) {
2309
+ return H(R, Object.assign({}, t, {
2310
2310
  id: "redo-icon",
2311
2311
  ref: n,
2312
2312
  icon: g0
@@ -2347,8 +2347,8 @@ const p0 = {
2347
2347
  }
2348
2348
  }
2349
2349
  ]
2350
- }, Z6 = H(function(t, n) {
2351
- return x(R, Object.assign({}, t, {
2350
+ }, Z6 = S(function(t, n) {
2351
+ return H(R, Object.assign({}, t, {
2352
2352
  id: "reduce-digits-icon",
2353
2353
  ref: n,
2354
2354
  icon: p0
@@ -2373,8 +2373,8 @@ const m0 = {
2373
2373
  clipRule: "evenodd"
2374
2374
  }
2375
2375
  }]
2376
- }, K3 = H(function(t, n) {
2377
- return x(R, Object.assign({}, t, {
2376
+ }, K3 = S(function(t, n) {
2377
+ return H(R, Object.assign({}, t, {
2378
2378
  id: "reduce-icon",
2379
2379
  ref: n,
2380
2380
  icon: m0
@@ -2420,8 +2420,8 @@ const b0 = {
2420
2420
  }
2421
2421
  }
2422
2422
  ]
2423
- }, A6 = H(function(t, n) {
2424
- return x(R, Object.assign({}, t, {
2423
+ }, A6 = S(function(t, n) {
2424
+ return H(R, Object.assign({}, t, {
2425
2425
  id: "right-justifying-icon",
2426
2426
  ref: n,
2427
2427
  icon: b0
@@ -2452,8 +2452,8 @@ const L0 = {
2452
2452
  d: "M2.40366 4.68273C2.16934 4.44842 1.78945 4.44842 1.55513 4.68273C1.32082 4.91705 1.32082 5.29695 1.55513 5.53126L9.45182 13.4279L7.92792 13.5038C7.59696 13.5203 7.34202 13.8019 7.35849 14.1329C7.37497 14.4639 7.65662 14.7188 7.98758 14.7023L9.96172 14.6041C10.8278 14.5609 11.2323 13.5113 10.6191 12.8982L2.40366 4.68273Z"
2453
2453
  }
2454
2454
  }]
2455
- }, B6 = H(function(t, n) {
2456
- return x(R, Object.assign({}, t, {
2455
+ }, B6 = S(function(t, n) {
2456
+ return H(R, Object.assign({}, t, {
2457
2457
  id: "right-rotation-forty-five-degrees-icon",
2458
2458
  ref: n,
2459
2459
  icon: L0
@@ -2502,8 +2502,8 @@ const w0 = {
2502
2502
  }]
2503
2503
  }],
2504
2504
  defIds: ["right-rotation-ninety-degrees-icon_clip0_927_166"]
2505
- }, P6 = H(function(t, n) {
2506
- return x(R, Object.assign({}, t, {
2505
+ }, P6 = S(function(t, n) {
2506
+ return H(R, Object.assign({}, t, {
2507
2507
  id: "right-rotation-ninety-degrees-icon",
2508
2508
  ref: n,
2509
2509
  icon: w0
@@ -2526,8 +2526,8 @@ const y0 = {
2526
2526
  d: "M11.9445 1.55649C12.2184 1.744 12.2895 2.11755 12.1033 2.39085L9.24342 6.58659H12.8001C13.1315 6.58659 13.4001 6.85522 13.4001 7.18659C13.4001 7.51796 13.1315 7.78659 12.8001 7.78659H8.5999V9.91276H13.2221C13.5534 9.91276 13.8221 10.1814 13.8221 10.5128C13.8221 10.8441 13.5534 11.1128 13.2221 11.1128H8.5999V14.0877C8.5999 14.4191 8.33127 14.6877 7.9999 14.6877C7.66853 14.6877 7.3999 14.4191 7.3999 14.0877V11.1128H2.77773C2.44636 11.1128 2.17773 10.8441 2.17773 10.5128C2.17773 10.1814 2.44636 9.91276 2.77773 9.91276H7.3999V7.78659H3.2001C2.86873 7.78659 2.6001 7.51796 2.6001 7.18659C2.6001 6.85522 2.86873 6.58659 3.2001 6.58659H6.75736L3.89753 2.39085C3.71125 2.11755 3.78234 1.744 4.05631 1.55649C4.33029 1.36899 4.7034 1.43854 4.88968 1.71184L7.94595 6.19577C7.96752 6.22741 7.98564 6.2604 8.00039 6.29429C8.01514 6.2604 8.03326 6.22741 8.05483 6.19577L11.1111 1.71184C11.2974 1.43854 11.6705 1.36899 11.9445 1.55649Z"
2527
2527
  }
2528
2528
  }]
2529
- }, F6 = H(function(t, n) {
2530
- return x(R, Object.assign({}, t, {
2529
+ }, F6 = S(function(t, n) {
2530
+ return H(R, Object.assign({}, t, {
2531
2531
  id: "rmb-icon",
2532
2532
  ref: n,
2533
2533
  icon: y0
@@ -2552,8 +2552,8 @@ const _0 = {
2552
2552
  clipRule: "evenodd"
2553
2553
  }
2554
2554
  }]
2555
- }, k6 = H(function(t, n) {
2556
- return x(R, Object.assign({}, t, {
2555
+ }, k6 = S(function(t, n) {
2556
+ return H(R, Object.assign({}, t, {
2557
2557
  id: "rouble-icon",
2558
2558
  ref: n,
2559
2559
  icon: _0
@@ -2657,8 +2657,8 @@ const M0 = {
2657
2657
  }
2658
2658
  }
2659
2659
  ]
2660
- }, j6 = H(function(t, n) {
2661
- return x(R, Object.assign({}, t, {
2660
+ }, j6 = S(function(t, n) {
2661
+ return H(R, Object.assign({}, t, {
2662
2662
  id: "shortcut-icon",
2663
2663
  ref: n,
2664
2664
  icon: M0
@@ -2687,8 +2687,8 @@ const I0 = {
2687
2687
  d: "M2.11953 8.5999H7.88935C10.1109 9.46549 10.5895 10.7649 10.4268 11.6869C10.2475 12.703 9.26939 13.5898 8.00009 13.5898C6.63323 13.5898 5.77631 13.0502 5.25534 12.528C4.99021 12.2623 4.80823 11.9965 4.69365 11.7993C4.63659 11.7011 4.59698 11.6211 4.5727 11.5686C4.56059 11.5424 4.55236 11.5231 4.54774 11.512L4.54352 11.5016C4.4267 11.193 4.0823 11.0363 3.77279 11.1516C3.46228 11.2673 3.30438 11.6129 3.4201 11.9234L3.9649 11.7203C3.4201 11.9234 3.41998 11.9231 3.4201 11.9234L3.4206 11.9247L3.42118 11.9263L3.42262 11.9301L3.42661 11.9403C3.42977 11.9484 3.43394 11.9588 3.43914 11.9713C3.44956 11.9965 3.46418 12.0304 3.48334 12.0719C3.52161 12.1547 3.57828 12.2682 3.65608 12.4021C3.81124 12.6692 4.0534 13.0223 4.40584 13.3756C5.12 14.0914 6.27196 14.7898 8.00009 14.7898C9.82574 14.7898 11.3236 13.5101 11.6085 11.8955C11.812 10.7422 11.3901 9.55402 10.2665 8.5999H13.8804C14.2117 8.5999 14.4803 8.33127 14.4803 7.9999C14.4803 7.66853 14.2117 7.3999 13.8804 7.3999H8.01411C8.0048 7.39968 7.99551 7.39969 7.98625 7.3999H2.11953C1.78816 7.3999 1.51953 7.66853 1.51953 7.9999C1.51953 8.33127 1.78816 8.5999 2.11953 8.5999Z"
2688
2688
  }
2689
2689
  }]
2690
- }, U6 = H(function(t, n) {
2691
- return x(R, Object.assign({}, t, {
2690
+ }, U6 = S(function(t, n) {
2691
+ return H(R, Object.assign({}, t, {
2692
2692
  id: "strikethrough-icon",
2693
2693
  ref: n,
2694
2694
  icon: I0
@@ -2733,8 +2733,8 @@ const x0 = {
2733
2733
  }
2734
2734
  }
2735
2735
  ]
2736
- }, z6 = H(function(t, n) {
2737
- return x(R, Object.assign({}, t, {
2736
+ }, z6 = S(function(t, n) {
2737
+ return H(R, Object.assign({}, t, {
2738
2738
  id: "subscript-icon",
2739
2739
  ref: n,
2740
2740
  icon: x0
@@ -2788,8 +2788,8 @@ const H0 = {
2788
2788
  }
2789
2789
  }
2790
2790
  ]
2791
- }, W6 = H(function(t, n) {
2792
- return x(R, Object.assign({}, t, {
2791
+ }, W6 = S(function(t, n) {
2792
+ return H(R, Object.assign({}, t, {
2793
2793
  id: "sum-icon",
2794
2794
  ref: n,
2795
2795
  icon: H0
@@ -2834,8 +2834,8 @@ const S0 = {
2834
2834
  }
2835
2835
  }
2836
2836
  ]
2837
- }, Y6 = H(function(t, n) {
2838
- return x(R, Object.assign({}, t, {
2837
+ }, Y6 = S(function(t, n) {
2838
+ return H(R, Object.assign({}, t, {
2839
2839
  id: "superscript-icon",
2840
2840
  ref: n,
2841
2841
  icon: S0
@@ -2864,8 +2864,8 @@ const R0 = {
2864
2864
  d: "M13.7841 1.80029C14.1155 1.80029 14.3841 2.06892 14.3841 2.40029V14.0003C14.3841 14.3317 14.1155 14.6003 13.7841 14.6003C13.4527 14.6003 13.1841 14.3317 13.1841 14.0003V8.60259H7.13467C6.8033 8.60259 6.53467 8.33396 6.53467 8.00259C6.53467 7.67122 6.8033 7.40259 7.13467 7.40259H13.1841V2.40029C13.1841 2.06892 13.4527 1.80029 13.7841 1.80029Z"
2865
2865
  }
2866
2866
  }]
2867
- }, G6 = H(function(t, n) {
2868
- return x(R, Object.assign({}, t, {
2867
+ }, G6 = S(function(t, n) {
2868
+ return H(R, Object.assign({}, t, {
2869
2869
  id: "truncation-icon",
2870
2870
  ref: n,
2871
2871
  icon: R0
@@ -2894,8 +2894,8 @@ const V0 = {
2894
2894
  d: "M2.66641 13.4663C2.33504 13.4663 2.06641 13.7349 2.06641 14.0663C2.06641 14.3977 2.33504 14.6663 2.66641 14.6663H13.3331C13.6644 14.6663 13.9331 14.3977 13.9331 14.0663C13.9331 13.7349 13.6644 13.4663 13.3331 13.4663H2.66641Z"
2895
2895
  }
2896
2896
  }]
2897
- }, X6 = H(function(t, n) {
2898
- return x(R, Object.assign({}, t, {
2897
+ }, X6 = S(function(t, n) {
2898
+ return H(R, Object.assign({}, t, {
2899
2899
  id: "underline-icon",
2900
2900
  ref: n,
2901
2901
  icon: V0
@@ -2918,8 +2918,8 @@ const O0 = {
2918
2918
  d: "M4.72365 2.72206C4.97524 2.50641 5.00437 2.12763 4.78872 1.87603C4.57306 1.62444 4.19428 1.59531 3.94269 1.81097L1.61333 3.80761C1.48281 3.91768 1.3999 4.08241 1.3999 4.2665C1.3999 4.41745 1.45564 4.55538 1.54766 4.66083C1.55661 4.67109 1.56594 4.68108 1.57563 4.69077L3.9089 7.02411C4.14321 7.25842 4.52311 7.25843 4.75743 7.02412C4.99175 6.78981 4.99175 6.40991 4.75744 6.17559L3.44839 4.8665H9.36337C11.5909 4.8665 13.3967 6.67229 13.3967 8.89984C13.3967 11.1274 11.5909 12.9332 9.36337 12.9332H3.99937C3.668 12.9332 3.39937 13.2018 3.39937 13.5332C3.39937 13.8645 3.668 14.1332 3.99937 14.1332H9.36337C12.2537 14.1332 14.5967 11.7901 14.5967 8.89984C14.5967 6.00955 12.2537 3.6665 9.36337 3.6665H3.62183L4.72365 2.72206Z"
2919
2919
  }
2920
2920
  }]
2921
- }, q6 = H(function(t, n) {
2922
- return x(R, Object.assign({}, t, {
2921
+ }, q6 = S(function(t, n) {
2922
+ return H(R, Object.assign({}, t, {
2923
2923
  id: "undo-icon",
2924
2924
  ref: n,
2925
2925
  icon: O0
@@ -2979,8 +2979,8 @@ const $0 = {
2979
2979
  }
2980
2980
  }
2981
2981
  ]
2982
- }, J6 = H(function(t, n) {
2983
- return x(R, Object.assign({}, t, {
2982
+ }, J6 = S(function(t, n) {
2983
+ return H(R, Object.assign({}, t, {
2984
2984
  id: "unorder-icon",
2985
2985
  ref: n,
2986
2986
  icon: $0
@@ -3019,8 +3019,8 @@ const E0 = {
3019
3019
  }
3020
3020
  }
3021
3021
  ]
3022
- }, Q6 = H(function(t, n) {
3023
- return x(R, Object.assign({}, t, {
3022
+ }, Q6 = S(function(t, n) {
3023
+ return H(R, Object.assign({}, t, {
3024
3024
  id: "vertical-center-icon",
3025
3025
  ref: n,
3026
3026
  icon: E0
@@ -3053,8 +3053,8 @@ const N0 = {
3053
3053
  clipRule: "evenodd"
3054
3054
  }
3055
3055
  }]
3056
- }, K6 = H(function(t, n) {
3057
- return x(R, Object.assign({}, t, {
3056
+ }, K6 = S(function(t, n) {
3057
+ return H(R, Object.assign({}, t, {
3058
3058
  id: "vertical-integration-icon",
3059
3059
  ref: n,
3060
3060
  icon: N0
@@ -3085,8 +3085,8 @@ const D0 = {
3085
3085
  clipRule: "evenodd"
3086
3086
  }
3087
3087
  }]
3088
- }, en = H(function(t, n) {
3089
- return x(R, Object.assign({}, t, {
3088
+ }, en = S(function(t, n) {
3089
+ return H(R, Object.assign({}, t, {
3090
3090
  id: "vertical-text-icon",
3091
3091
  ref: n,
3092
3092
  icon: D0
@@ -3125,8 +3125,8 @@ const T0 = {
3125
3125
  }
3126
3126
  }
3127
3127
  ]
3128
- }, tn = H(function(t, n) {
3129
- return x(R, Object.assign({}, t, {
3128
+ }, tn = S(function(t, n) {
3129
+ return H(R, Object.assign({}, t, {
3130
3130
  id: "adjust-height-double-icon",
3131
3131
  ref: n,
3132
3132
  icon: T0
@@ -3165,8 +3165,8 @@ const Z0 = {
3165
3165
  }
3166
3166
  }
3167
3167
  ]
3168
- }, nn = H(function(t, n) {
3169
- return x(R, Object.assign({}, t, {
3168
+ }, nn = S(function(t, n) {
3169
+ return H(R, Object.assign({}, t, {
3170
3170
  id: "adjust-width-double-icon",
3171
3171
  ref: n,
3172
3172
  icon: Z0
@@ -3207,8 +3207,8 @@ const A0 = {
3207
3207
  }
3208
3208
  }
3209
3209
  ]
3210
- }, rn = H(function(t, n) {
3211
- return x(R, Object.assign({}, t, {
3210
+ }, rn = S(function(t, n) {
3211
+ return H(R, Object.assign({}, t, {
3212
3212
  id: "auto-height-double-icon",
3213
3213
  ref: n,
3214
3214
  icon: A0
@@ -3249,8 +3249,8 @@ const B0 = {
3249
3249
  }
3250
3250
  }
3251
3251
  ]
3252
- }, on = H(function(t, n) {
3253
- return x(R, Object.assign({}, t, {
3252
+ }, on = S(function(t, n) {
3253
+ return H(R, Object.assign({}, t, {
3254
3254
  id: "auto-width-double-icon",
3255
3255
  ref: n,
3256
3256
  icon: B0
@@ -3283,8 +3283,8 @@ const P0 = {
3283
3283
  clipRule: "evenodd"
3284
3284
  }
3285
3285
  }]
3286
- }, sn = H(function(t, n) {
3287
- return x(R, Object.assign({}, t, {
3286
+ }, sn = S(function(t, n) {
3287
+ return H(R, Object.assign({}, t, {
3288
3288
  id: "back-slash-double-icon",
3289
3289
  ref: n,
3290
3290
  icon: P0
@@ -3315,8 +3315,8 @@ const F0 = {
3315
3315
  clipRule: "evenodd"
3316
3316
  }
3317
3317
  }]
3318
- }, ln = H(function(t, n) {
3319
- return x(R, Object.assign({}, t, {
3318
+ }, ln = S(function(t, n) {
3319
+ return H(R, Object.assign({}, t, {
3320
3320
  id: "clear-format-double-icon",
3321
3321
  ref: n,
3322
3322
  icon: F0
@@ -3347,8 +3347,8 @@ const k0 = {
3347
3347
  clipRule: "evenodd"
3348
3348
  }
3349
3349
  }]
3350
- }, an = H(function(t, n) {
3351
- return x(R, Object.assign({}, t, {
3350
+ }, an = S(function(t, n) {
3351
+ return H(R, Object.assign({}, t, {
3352
3352
  id: "conditions-double-icon",
3353
3353
  ref: n,
3354
3354
  icon: k0
@@ -3381,8 +3381,8 @@ const j0 = {
3381
3381
  clipRule: "evenodd"
3382
3382
  }
3383
3383
  }]
3384
- }, cn = H(function(t, n) {
3385
- return x(R, Object.assign({}, t, {
3384
+ }, cn = S(function(t, n) {
3385
+ return H(R, Object.assign({}, t, {
3386
3386
  id: "copy-double-icon",
3387
3387
  ref: n,
3388
3388
  icon: j0
@@ -3415,8 +3415,8 @@ const U0 = {
3415
3415
  clipRule: "evenodd"
3416
3416
  }
3417
3417
  }]
3418
- }, un = H(function(t, n) {
3419
- return x(R, Object.assign({}, t, {
3418
+ }, un = S(function(t, n) {
3419
+ return H(R, Object.assign({}, t, {
3420
3420
  id: "delete-cell-move-down-double-icon",
3421
3421
  ref: n,
3422
3422
  icon: U0
@@ -3449,8 +3449,8 @@ const z0 = {
3449
3449
  clipRule: "evenodd"
3450
3450
  }
3451
3451
  }]
3452
- }, dn = H(function(t, n) {
3453
- return x(R, Object.assign({}, t, {
3452
+ }, dn = S(function(t, n) {
3453
+ return H(R, Object.assign({}, t, {
3454
3454
  id: "delete-cell-shift-left-double-icon",
3455
3455
  ref: n,
3456
3456
  icon: z0
@@ -3483,8 +3483,8 @@ const W0 = {
3483
3483
  clipRule: "evenodd"
3484
3484
  }
3485
3485
  }]
3486
- }, hn = H(function(t, n) {
3487
- return x(R, Object.assign({}, t, {
3486
+ }, hn = S(function(t, n) {
3487
+ return H(R, Object.assign({}, t, {
3488
3488
  id: "delete-cell-shift-right-double-icon",
3489
3489
  ref: n,
3490
3490
  icon: W0
@@ -3517,8 +3517,8 @@ const Y0 = {
3517
3517
  clipRule: "evenodd"
3518
3518
  }
3519
3519
  }]
3520
- }, fn = H(function(t, n) {
3521
- return x(R, Object.assign({}, t, {
3520
+ }, fn = S(function(t, n) {
3521
+ return H(R, Object.assign({}, t, {
3522
3522
  id: "delete-cell-shift-up-double-icon",
3523
3523
  ref: n,
3524
3524
  icon: Y0
@@ -3551,8 +3551,8 @@ const G0 = {
3551
3551
  clipRule: "evenodd"
3552
3552
  }
3553
3553
  }]
3554
- }, Cn = H(function(t, n) {
3555
- return x(R, Object.assign({}, t, {
3554
+ }, Cn = S(function(t, n) {
3555
+ return H(R, Object.assign({}, t, {
3556
3556
  id: "delete-column-double-icon",
3557
3557
  ref: n,
3558
3558
  icon: G0
@@ -3585,8 +3585,8 @@ const X0 = {
3585
3585
  clipRule: "evenodd"
3586
3586
  }
3587
3587
  }]
3588
- }, vn = H(function(t, n) {
3589
- return x(R, Object.assign({}, t, {
3588
+ }, vn = S(function(t, n) {
3589
+ return H(R, Object.assign({}, t, {
3590
3590
  id: "delete-row-double-icon",
3591
3591
  ref: n,
3592
3592
  icon: X0
@@ -3660,8 +3660,8 @@ const q0 = {
3660
3660
  }
3661
3661
  }
3662
3662
  ]
3663
- }, gn = H(function(t, n) {
3664
- return x(R, Object.assign({}, t, {
3663
+ }, gn = S(function(t, n) {
3664
+ return H(R, Object.assign({}, t, {
3665
3665
  id: "down-border-double-icon",
3666
3666
  ref: n,
3667
3667
  icon: q0
@@ -3692,8 +3692,8 @@ const J0 = {
3692
3692
  clipRule: "evenodd"
3693
3693
  }
3694
3694
  }]
3695
- }, pn = H(function(t, n) {
3696
- return x(R, Object.assign({}, t, {
3695
+ }, pn = S(function(t, n) {
3696
+ return H(R, Object.assign({}, t, {
3697
3697
  id: "font-color-double-icon",
3698
3698
  ref: n,
3699
3699
  icon: J0
@@ -3726,8 +3726,8 @@ const Q0 = {
3726
3726
  clipRule: "evenodd"
3727
3727
  }
3728
3728
  }]
3729
- }, mn = H(function(t, n) {
3730
- return x(R, Object.assign({}, t, {
3729
+ }, mn = S(function(t, n) {
3730
+ return H(R, Object.assign({}, t, {
3731
3731
  id: "hide-double-icon",
3732
3732
  ref: n,
3733
3733
  icon: Q0
@@ -3815,8 +3815,8 @@ const K0 = {
3815
3815
  }
3816
3816
  }
3817
3817
  ]
3818
- }, bn = H(function(t, n) {
3819
- return x(R, Object.assign({}, t, {
3818
+ }, bn = S(function(t, n) {
3819
+ return H(R, Object.assign({}, t, {
3820
3820
  id: "horizontal-border-double-icon",
3821
3821
  ref: n,
3822
3822
  icon: K0
@@ -3847,8 +3847,8 @@ const e5 = {
3847
3847
  d: "M8.66693 7.33415V2.66748H7.3336V7.33415H2.66693V8.66748H7.3336V13.3341H8.66693V8.66748H13.3336V7.33415H8.66693Z"
3848
3848
  }
3849
3849
  }]
3850
- }, Ln = H(function(t, n) {
3851
- return x(R, Object.assign({}, t, {
3850
+ }, Ln = S(function(t, n) {
3851
+ return H(R, Object.assign({}, t, {
3852
3852
  id: "inner-border-double-icon",
3853
3853
  ref: n,
3854
3854
  icon: e5
@@ -3881,8 +3881,8 @@ const t5 = {
3881
3881
  clipRule: "evenodd"
3882
3882
  }
3883
3883
  }]
3884
- }, wn = H(function(t, n) {
3885
- return x(R, Object.assign({}, t, {
3884
+ }, wn = S(function(t, n) {
3885
+ return H(R, Object.assign({}, t, {
3886
3886
  id: "insert-cell-down-double-icon",
3887
3887
  ref: n,
3888
3888
  icon: t5
@@ -3915,8 +3915,8 @@ const n5 = {
3915
3915
  clipRule: "evenodd"
3916
3916
  }
3917
3917
  }]
3918
- }, yn = H(function(t, n) {
3919
- return x(R, Object.assign({}, t, {
3918
+ }, yn = S(function(t, n) {
3919
+ return H(R, Object.assign({}, t, {
3920
3920
  id: "insert-cell-shift-right-double-icon",
3921
3921
  ref: n,
3922
3922
  icon: n5
@@ -3945,8 +3945,8 @@ const r5 = {
3945
3945
  d: "M11.0573 7.33327L10.1953 6.47127C10.0703 6.34627 10.0001 6.17672 10.0001 5.99994C10.0001 5.82315 10.0703 5.65361 10.1953 5.52861C10.3203 5.4036 10.4899 5.33337 10.6667 5.33337C10.8434 5.33337 11.013 5.4036 11.138 5.52861L13.138 7.5286C13.2 7.59046 13.2491 7.66393 13.2827 7.74481C13.3162 7.82569 13.3335 7.91238 13.3335 7.99994C13.3335 8.08749 13.3162 8.17419 13.2827 8.25507C13.2491 8.33594 13.2 8.40941 13.138 8.47127L11.138 10.4713C11.0761 10.5332 11.0026 10.5823 10.9217 10.6158C10.8409 10.6493 10.7542 10.6665 10.6667 10.6665C10.5791 10.6665 10.4925 10.6493 10.4116 10.6158C10.3307 10.5823 10.2572 10.5332 10.1953 10.4713C10.1334 10.4094 10.0843 10.3359 10.0508 10.255C10.0173 10.1742 10.0001 10.0875 10.0001 9.99994C10.0001 9.9124 10.0173 9.82573 10.0508 9.74486C10.0843 9.66398 10.1334 9.5905 10.1953 9.52861L11.0573 8.6666L3.33333 8.66661C3.15652 8.66661 2.98695 8.59637 2.86193 8.47134C2.7369 8.34632 2.66666 8.17675 2.66666 7.99994C2.66666 7.82313 2.7369 7.65356 2.86193 7.52853C2.98695 7.40351 3.15652 7.33327 3.33333 7.33327L11.0573 7.33327Z"
3946
3946
  }
3947
3947
  }]
3948
- }, _n = H(function(t, n) {
3949
- return x(R, Object.assign({}, t, {
3948
+ }, _n = S(function(t, n) {
3949
+ return H(R, Object.assign({}, t, {
3950
3950
  id: "insert-double-icon",
3951
3951
  ref: n,
3952
3952
  icon: r5
@@ -3979,8 +3979,8 @@ const i5 = {
3979
3979
  clipRule: "evenodd"
3980
3980
  }
3981
3981
  }]
3982
- }, Mn = H(function(t, n) {
3983
- return x(R, Object.assign({}, t, {
3982
+ }, Mn = S(function(t, n) {
3983
+ return H(R, Object.assign({}, t, {
3984
3984
  id: "insert-row-above-double-icon",
3985
3985
  ref: n,
3986
3986
  icon: i5
@@ -4013,8 +4013,8 @@ const o5 = {
4013
4013
  clipRule: "evenodd"
4014
4014
  }
4015
4015
  }]
4016
- }, In = H(function(t, n) {
4017
- return x(R, Object.assign({}, t, {
4016
+ }, In = S(function(t, n) {
4017
+ return H(R, Object.assign({}, t, {
4018
4018
  id: "insert-row-below-double-icon",
4019
4019
  ref: n,
4020
4020
  icon: o5
@@ -4088,8 +4088,8 @@ const s5 = {
4088
4088
  }
4089
4089
  }
4090
4090
  ]
4091
- }, xn = H(function(t, n) {
4092
- return x(R, Object.assign({}, t, {
4091
+ }, xn = S(function(t, n) {
4092
+ return H(R, Object.assign({}, t, {
4093
4093
  id: "left-border-double-icon",
4094
4094
  ref: n,
4095
4095
  icon: s5
@@ -4120,8 +4120,8 @@ const l5 = {
4120
4120
  clipRule: "evenodd"
4121
4121
  }
4122
4122
  }]
4123
- }, Hn = H(function(t, n) {
4124
- return x(R, Object.assign({}, t, {
4123
+ }, Hn = S(function(t, n) {
4124
+ return H(R, Object.assign({}, t, {
4125
4125
  id: "left-double-diagonal-double-icon",
4126
4126
  ref: n,
4127
4127
  icon: l5
@@ -4154,8 +4154,8 @@ const a5 = {
4154
4154
  clipRule: "evenodd"
4155
4155
  }
4156
4156
  }]
4157
- }, Sn = H(function(t, n) {
4158
- return x(R, Object.assign({}, t, {
4157
+ }, Sn = S(function(t, n) {
4158
+ return H(R, Object.assign({}, t, {
4159
4159
  id: "left-insert-column-double-icon",
4160
4160
  ref: n,
4161
4161
  icon: a5
@@ -4186,8 +4186,8 @@ const c5 = {
4186
4186
  clipRule: "evenodd"
4187
4187
  }
4188
4188
  }]
4189
- }, Rn = H(function(t, n) {
4190
- return x(R, Object.assign({}, t, {
4189
+ }, Rn = S(function(t, n) {
4190
+ return H(R, Object.assign({}, t, {
4191
4191
  id: "left-tridiagonal-double-icon",
4192
4192
  ref: n,
4193
4193
  icon: c5
@@ -4220,8 +4220,8 @@ const u5 = {
4220
4220
  clipRule: "evenodd"
4221
4221
  }
4222
4222
  }]
4223
- }, Vn = H(function(t, n) {
4224
- return x(R, Object.assign({}, t, {
4223
+ }, Vn = S(function(t, n) {
4224
+ return H(R, Object.assign({}, t, {
4225
4225
  id: "no-color-double-icon",
4226
4226
  ref: n,
4227
4227
  icon: u5
@@ -4276,8 +4276,8 @@ const d5 = {
4276
4276
  }
4277
4277
  }
4278
4278
  ]
4279
- }, On = H(function(t, n) {
4280
- return x(R, Object.assign({}, t, {
4279
+ }, On = S(function(t, n) {
4280
+ return H(R, Object.assign({}, t, {
4281
4281
  id: "outer-border-double-icon",
4282
4282
  ref: n,
4283
4283
  icon: d5
@@ -4318,8 +4318,8 @@ const h5 = {
4318
4318
  }
4319
4319
  }
4320
4320
  ]
4321
- }, $n = H(function(t, n) {
4322
- return x(R, Object.assign({}, t, {
4321
+ }, $n = S(function(t, n) {
4322
+ return H(R, Object.assign({}, t, {
4323
4323
  id: "paint-bucket-double-icon",
4324
4324
  ref: n,
4325
4325
  icon: h5
@@ -4360,8 +4360,8 @@ const f5 = {
4360
4360
  }
4361
4361
  }
4362
4362
  ]
4363
- }, En = H(function(t, n) {
4364
- return x(R, Object.assign({}, t, {
4363
+ }, En = S(function(t, n) {
4364
+ return H(R, Object.assign({}, t, {
4365
4365
  id: "paste-special-double-icon",
4366
4366
  ref: n,
4367
4367
  icon: f5
@@ -4390,8 +4390,8 @@ const C5 = {
4390
4390
  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"
4391
4391
  }
4392
4392
  }]
4393
- }, Nn = H(function(t, n) {
4394
- return x(R, Object.assign({}, t, {
4393
+ }, Nn = S(function(t, n) {
4394
+ return H(R, Object.assign({}, t, {
4395
4395
  id: "reduce-double-icon",
4396
4396
  ref: n,
4397
4397
  icon: C5
@@ -4465,8 +4465,8 @@ const v5 = {
4465
4465
  }
4466
4466
  }
4467
4467
  ]
4468
- }, Dn = H(function(t, n) {
4469
- return x(R, Object.assign({}, t, {
4468
+ }, Dn = S(function(t, n) {
4469
+ return H(R, Object.assign({}, t, {
4470
4470
  id: "right-border-double-icon",
4471
4471
  ref: n,
4472
4472
  icon: v5
@@ -4497,8 +4497,8 @@ const g5 = {
4497
4497
  clipRule: "evenodd"
4498
4498
  }
4499
4499
  }]
4500
- }, Tn = H(function(t, n) {
4501
- return x(R, Object.assign({}, t, {
4500
+ }, Tn = S(function(t, n) {
4501
+ return H(R, Object.assign({}, t, {
4502
4502
  id: "right-double-diagonal-double-icon",
4503
4503
  ref: n,
4504
4504
  icon: g5
@@ -4531,8 +4531,8 @@ const p5 = {
4531
4531
  clipRule: "evenodd"
4532
4532
  }
4533
4533
  }]
4534
- }, Zn = H(function(t, n) {
4535
- return x(R, Object.assign({}, t, {
4534
+ }, Zn = S(function(t, n) {
4535
+ return H(R, Object.assign({}, t, {
4536
4536
  id: "right-insert-column-double-icon",
4537
4537
  ref: n,
4538
4538
  icon: p5
@@ -4565,8 +4565,8 @@ const m5 = {
4565
4565
  clipRule: "evenodd"
4566
4566
  }
4567
4567
  }]
4568
- }, An = H(function(t, n) {
4569
- return x(R, Object.assign({}, t, {
4568
+ }, An = S(function(t, n) {
4569
+ return H(R, Object.assign({}, t, {
4570
4570
  id: "slash-double-icon",
4571
4571
  ref: n,
4572
4572
  icon: m5
@@ -4640,8 +4640,8 @@ const b5 = {
4640
4640
  }
4641
4641
  }
4642
4642
  ]
4643
- }, Bn = H(function(t, n) {
4644
- return x(R, Object.assign({}, t, {
4643
+ }, Bn = S(function(t, n) {
4644
+ return H(R, Object.assign({}, t, {
4645
4645
  id: "up-border-double-icon",
4646
4646
  ref: n,
4647
4647
  icon: b5
@@ -4729,8 +4729,8 @@ const L5 = {
4729
4729
  }
4730
4730
  }
4731
4731
  ]
4732
- }, Pn = H(function(t, n) {
4733
- return x(R, Object.assign({}, t, {
4732
+ }, Pn = S(function(t, n) {
4733
+ return H(R, Object.assign({}, t, {
4734
4734
  id: "vertical-border-double-icon",
4735
4735
  ref: n,
4736
4736
  icon: L5
@@ -4854,7 +4854,7 @@ class M1 extends d1 {
4854
4854
  B(this, "_components", /* @__PURE__ */ new Map());
4855
4855
  B(this, "_componentsReverse", /* @__PURE__ */ new Map());
4856
4856
  B(this, "reactUtils", {
4857
- createElement: x,
4857
+ createElement: H,
4858
4858
  useEffect: W,
4859
4859
  useRef: J
4860
4860
  });
@@ -4923,10 +4923,10 @@ F3 = new WeakMap(), k3 = new WeakMap(), v3(De, F3, 2147483647), v3(De, k3, -2147
4923
4923
  function o7(e, t, n, r) {
4924
4924
  const i = e.get(N1);
4925
4925
  return new de((o) => {
4926
- const s = i.focused$.subscribe((C) => {
4927
- if (C == null || n && n !== C || r && (Array.isArray(r) ? r.includes(C) : r === C))
4926
+ const s = i.focused$.subscribe((f) => {
4927
+ if (f == null || n && n !== f || r && (Array.isArray(r) ? r.includes(f) : r === f))
4928
4928
  return o.next(!0);
4929
- const v = i.getUnitType(C);
4929
+ const v = i.getUnitType(f);
4930
4930
  o.next(v !== t);
4931
4931
  }), a = i.getFocusedUnit();
4932
4932
  if (a == null)
@@ -4988,7 +4988,7 @@ const I5 = (e) => {
4988
4988
  var o, s;
4989
4989
  return t == null ? "" : r.t((s = (o = n.find((a) => a.value === t)) == null ? void 0 : o.label) != null ? s : "");
4990
4990
  }, [t, n]);
4991
- return /* @__PURE__ */ f(
4991
+ return /* @__PURE__ */ C(
4992
4992
  "div",
4993
4993
  {
4994
4994
  className: "univer-truncate univer-text-sm",
@@ -4997,7 +4997,7 @@ const I5 = (e) => {
4997
4997
  );
4998
4998
  }, x5 = "UI_PLUGIN_COMMON_LABEL_COMPONENT";
4999
4999
  function L1(e) {
5000
- const { className: t, title: n, icon: r, label: i, value: o, value$: s } = e, a = P(m1), d = P(M1), [C, v] = z(o), [c, p] = z(""), L = [];
5000
+ const { className: t, title: n, icon: r, label: i, value: o, value$: s } = e, a = P(m1), d = P(M1), [f, v] = z(o), [c, p] = z(""), L = [];
5001
5001
  let M = 0;
5002
5002
  W(() => {
5003
5003
  if (s) {
@@ -5009,7 +5009,7 @@ function L1(e) {
5009
5009
  };
5010
5010
  }
5011
5011
  }, [s]);
5012
- const O = G(() => o != null ? o : C, [C, o]);
5012
+ const O = G(() => o != null ? o : f, [f, o]);
5013
5013
  W(() => {
5014
5014
  let w = null;
5015
5015
  return Ee(r) ? w = r.subscribe((I) => {
@@ -5022,7 +5022,7 @@ function L1(e) {
5022
5022
  if (r) {
5023
5023
  const w = d.get(c != null ? c : "");
5024
5024
  w && L.push(
5025
- /* @__PURE__ */ f(
5025
+ /* @__PURE__ */ C(
5026
5026
  w,
5027
5027
  {
5028
5028
  className: "univer-text-base",
@@ -5033,9 +5033,9 @@ function L1(e) {
5033
5033
  );
5034
5034
  }
5035
5035
  if (i) {
5036
- const w = typeof i == "string", I = w ? { ...e } : { ...i == null ? void 0 : i.props, ...e }, S = w ? i : i == null ? void 0 : i.name, E = d.get(S);
5036
+ const w = typeof i == "string", I = w ? { ...e } : { ...i == null ? void 0 : i.props, ...e }, x = w ? i : i == null ? void 0 : i.name, E = d.get(x);
5037
5037
  E ? L.push(
5038
- /* @__PURE__ */ f(
5038
+ /* @__PURE__ */ C(
5039
5039
  E,
5040
5040
  {
5041
5041
  ...I,
@@ -5045,24 +5045,24 @@ function L1(e) {
5045
5045
  M++
5046
5046
  )
5047
5047
  ) : L.push(
5048
- /* @__PURE__ */ f(
5048
+ /* @__PURE__ */ C(
5049
5049
  "span",
5050
5050
  {
5051
5051
  className: t,
5052
- children: a.t(S)
5052
+ children: a.t(x)
5053
5053
  },
5054
5054
  M++
5055
5055
  )
5056
5056
  );
5057
5057
  }
5058
5058
  return n && L.push(
5059
- /* @__PURE__ */ f("span", { className: t, children: typeof n == "string" ? a.t(n) : n }, M++)
5060
- ), /* @__PURE__ */ f(t3, { children: L });
5059
+ /* @__PURE__ */ C("span", { className: t, children: typeof n == "string" ? a.t(n) : n }, M++)
5060
+ ), /* @__PURE__ */ C(t3, { children: L });
5061
5061
  }
5062
5062
  const H5 = (e) => {
5063
5063
  var o, s;
5064
5064
  const { value: t, text: n } = e, r = g2[t], i = P(m1);
5065
- return /* @__PURE__ */ f(
5065
+ return /* @__PURE__ */ C(
5066
5066
  "span",
5067
5067
  {
5068
5068
  className: K("univer-text-sm", {
@@ -5090,12 +5090,12 @@ function R5(e, t) {
5090
5090
  const n = ee(() => {
5091
5091
  if (!e || !t)
5092
5092
  return;
5093
- const r = e.style, i = e.getBoundingClientRect(), { y: o, height: s } = i, a = t.getBoundingClientRect(), d = e.scrollHeight > s, C = o < 0 || o + s > a.height;
5094
- if (!C && !d) {
5093
+ const r = e.style, i = e.getBoundingClientRect(), { y: o, height: s } = i, a = t.getBoundingClientRect(), d = e.scrollHeight > s, f = o < 0 || o + s > a.height;
5094
+ if (!f && !d) {
5095
5095
  r.overflowY = "", r.maxHeight = "";
5096
5096
  return;
5097
5097
  }
5098
- C && (r.overflowY = "auto", r.maxHeight = o < 0 ? `${e.scrollHeight + o}px` : `${a.height - o}px`);
5098
+ f && (r.overflowY = "auto", r.maxHeight = o < 0 ? `${e.scrollHeight + o}px` : `${a.height - o}px`);
5099
5099
  });
5100
5100
  W(() => {
5101
5101
  if (!B2() || !e || !t) return;
@@ -5116,7 +5116,7 @@ function V5(e) {
5116
5116
  const ye = 116;
5117
5117
  function l7(e) {
5118
5118
  P(m1);
5119
- const { value: t, min: n = 0, max: r = 400, disabled: i = !1, resetPoint: o = 100, shortcuts: s, onChange: a } = e, d = J(null), [C, v] = z(!1);
5119
+ const { value: t, min: n = 0, max: r = 400, disabled: i = !1, resetPoint: o = 100, shortcuts: s, onChange: a } = e, d = J(null), [f, v] = z(!1);
5120
5120
  function c() {
5121
5121
  i || a && a(o);
5122
5122
  }
@@ -5137,9 +5137,9 @@ function l7(e) {
5137
5137
  if (i) return;
5138
5138
  w.preventDefault();
5139
5139
  const I = d.current;
5140
- let S = !0;
5140
+ let x = !0;
5141
5141
  function E(D) {
5142
- if (S) {
5142
+ if (x) {
5143
5143
  let j = D.clientX - I.getBoundingClientRect().x;
5144
5144
  j <= 0 ? j = 0 : j >= ye && (j = ye);
5145
5145
  const Q = j / ye;
@@ -5148,7 +5148,7 @@ function l7(e) {
5148
5148
  }
5149
5149
  }
5150
5150
  function y() {
5151
- S = !1, document.removeEventListener("pointermove", E), window.removeEventListener("pointerup", y);
5151
+ x = !1, document.removeEventListener("pointermove", E), window.removeEventListener("pointerup", y);
5152
5152
  }
5153
5153
  function N(D) {
5154
5154
  D.relatedTarget === null && y();
@@ -5171,7 +5171,7 @@ function l7(e) {
5171
5171
  "univer-cursor-not-allowed": i
5172
5172
  }),
5173
5173
  children: [
5174
- /* @__PURE__ */ f(
5174
+ /* @__PURE__ */ C(
5175
5175
  w3,
5176
5176
  {
5177
5177
  className: "univer-size-6 univer-p-0",
@@ -5179,10 +5179,10 @@ function l7(e) {
5179
5179
  variant: "text",
5180
5180
  disabled: t <= n || i,
5181
5181
  onClick: () => p(-10),
5182
- children: /* @__PURE__ */ f(K3, {})
5182
+ children: /* @__PURE__ */ C(K3, {})
5183
5183
  }
5184
5184
  ),
5185
- /* @__PURE__ */ f(
5185
+ /* @__PURE__ */ C(
5186
5186
  "div",
5187
5187
  {
5188
5188
  className: "univer-relative univer-hidden univer-h-0.5 univer-rounded-2xl univer-bg-gray-400 univer-px-1.5 sm:!univer-block",
@@ -5190,7 +5190,7 @@ function l7(e) {
5190
5190
  width: `${ye}px`
5191
5191
  },
5192
5192
  children: /* @__PURE__ */ q("div", { ref: d, role: "track", className: "univer-relative univer-h-0.5", children: [
5193
- /* @__PURE__ */ f(
5193
+ /* @__PURE__ */ C(
5194
5194
  "a",
5195
5195
  {
5196
5196
  className: "univer-absolute univer-left-1/2 univer-top-1/2 univer-box-border univer-block univer-h-0.5 univer-w-0.5 -univer-translate-x-1/2 -univer-translate-y-1/2 univer-cursor-pointer univer-rounded-full univer-bg-white",
@@ -5199,7 +5199,7 @@ function l7(e) {
5199
5199
  },
5200
5200
  "reset-button"
5201
5201
  ),
5202
- /* @__PURE__ */ f(
5202
+ /* @__PURE__ */ C(
5203
5203
  "button",
5204
5204
  {
5205
5205
  className: K("univer-absolute univer-top-[calc(50%-6px)] univer-size-3 -univer-translate-x-1/2 univer-rounded-full univer-border-none univer-bg-white univer-shadow univer-transition-colors", {
@@ -5217,7 +5217,7 @@ function l7(e) {
5217
5217
  ] })
5218
5218
  }
5219
5219
  ),
5220
- /* @__PURE__ */ f(
5220
+ /* @__PURE__ */ C(
5221
5221
  w3,
5222
5222
  {
5223
5223
  className: "univer-size-6 univer-p-0",
@@ -5225,15 +5225,15 @@ function l7(e) {
5225
5225
  variant: "text",
5226
5226
  disabled: t >= r || i,
5227
5227
  onClick: () => p(10),
5228
- children: /* @__PURE__ */ f(m6, {})
5228
+ children: /* @__PURE__ */ C(m6, {})
5229
5229
  }
5230
5230
  ),
5231
- /* @__PURE__ */ f(
5231
+ /* @__PURE__ */ C(
5232
5232
  V3,
5233
5233
  {
5234
5234
  align: "end",
5235
5235
  items: _,
5236
- open: C,
5236
+ open: f,
5237
5237
  onOpenChange: v,
5238
5238
  children: /* @__PURE__ */ q(
5239
5239
  w3,
@@ -5370,10 +5370,10 @@ N3 = E5([
5370
5370
  N5(0, Y1)
5371
5371
  ], N3);
5372
5372
  const D5 = ({ id: e, value: t, disabled$: n }) => {
5373
- const r = r1(n), i = P(F1), o = P(m1), s = P(et), [a, d] = z(""), [C, v] = z([]);
5373
+ const r = r1(n), i = P(F1), o = P(m1), s = P(et), [a, d] = z(""), [f, v] = z([]);
5374
5374
  W(() => {
5375
- const I = s.fonts$.subscribe((S) => {
5376
- v(S);
5375
+ const I = s.fonts$.subscribe((x) => {
5376
+ v(x);
5377
5377
  });
5378
5378
  return () => {
5379
5379
  I.unsubscribe();
@@ -5381,9 +5381,9 @@ const D5 = ({ id: e, value: t, disabled$: n }) => {
5381
5381
  }, []);
5382
5382
  const c = G(() => {
5383
5383
  if (t == null) return "";
5384
- let I = o.t(`fontFamily.${`${t != null ? t : ""}`.replace(/\s/g, "")}`);
5385
- return I.startsWith("fontFamily.") && typeof t == "string" && (I = t.split(",")[0]), I;
5386
- }, [t]);
5384
+ const I = `${t != null ? t : ""}`.replace(/\s/g, ""), x = f.find((E) => E.value === I);
5385
+ return x ? o.t(x.label) : I;
5386
+ }, [t, f]);
5387
5387
  G(() => {
5388
5388
  d(c);
5389
5389
  }, [t]);
@@ -5404,7 +5404,7 @@ const D5 = ({ id: e, value: t, disabled$: n }) => {
5404
5404
  p();
5405
5405
  return;
5406
5406
  }
5407
- const I = C.find((S) => S.value.toLowerCase() === a.trim().toLowerCase());
5407
+ const I = f.find((x) => x.value.toLowerCase() === a.trim().toLowerCase());
5408
5408
  if (!I) {
5409
5409
  p();
5410
5410
  return;
@@ -5414,12 +5414,12 @@ const D5 = ({ id: e, value: t, disabled$: n }) => {
5414
5414
  function w(I) {
5415
5415
  i.executeCommand(e, { value: I });
5416
5416
  }
5417
- return /* @__PURE__ */ f(
5417
+ return /* @__PURE__ */ C(
5418
5418
  "div",
5419
5419
  {
5420
5420
  className: "univer-w-32 univer-truncate univer-text-sm",
5421
5421
  style: { fontFamily: t },
5422
- children: /* @__PURE__ */ f(
5422
+ children: /* @__PURE__ */ C(
5423
5423
  "input",
5424
5424
  {
5425
5425
  className: "univer-block univer-h-6 univer-border-none univer-bg-transparent univer-leading-6 focus:univer-outline-none dark:!univer-text-white [&_input:focus]:!univer-ring-0 [&_input]:univer-h-6 [&_input]:univer-w-7 [&_input]:univer-border-none [&_input]:!univer-bg-transparent [&_input]:univer-p-0 [&_input]:univer-text-sm",
@@ -5436,8 +5436,8 @@ const D5 = ({ id: e, value: t, disabled$: n }) => {
5436
5436
  }, T5 = ({ id: e, value: t }) => {
5437
5437
  const n = P(F1), r = P(et), [i, o] = z([]);
5438
5438
  W(() => {
5439
- const d = r.fonts$.subscribe((C) => {
5440
- o(C);
5439
+ const d = r.fonts$.subscribe((f) => {
5440
+ o(f);
5441
5441
  });
5442
5442
  return () => {
5443
5443
  d.unsubscribe();
@@ -5447,12 +5447,12 @@ const D5 = ({ id: e, value: t, disabled$: n }) => {
5447
5447
  function a(d) {
5448
5448
  n.executeCommand(e, { value: d });
5449
5449
  }
5450
- return /* @__PURE__ */ f(
5450
+ return /* @__PURE__ */ C(
5451
5451
  "ul",
5452
5452
  {
5453
5453
  className: "univer-m-0 univer-list-none univer-p-0 univer-text-sm",
5454
5454
  style: { fontFamily: t },
5455
- children: i.map((d) => /* @__PURE__ */ f("li", { children: /* @__PURE__ */ q(
5455
+ children: i.map((d) => /* @__PURE__ */ C("li", { children: /* @__PURE__ */ q(
5456
5456
  "button",
5457
5457
  {
5458
5458
  className: "univer-flex univer-h-7 univer-w-full univer-appearance-none univer-items-center univer-justify-between univer-gap-6 univer-rounded univer-border-none univer-bg-transparent univer-px-2 hover:univer-bg-gray-100 dark:!univer-text-white dark:hover:!univer-bg-gray-700",
@@ -5463,7 +5463,7 @@ const D5 = ({ id: e, value: t, disabled$: n }) => {
5463
5463
  onClick: () => a(d.value),
5464
5464
  children: [
5465
5465
  s.t(d.label),
5466
- !r.isFontSupported(d.value) && /* @__PURE__ */ f(Y3, { title: s.t("fontFamily.not-supported"), children: /* @__PURE__ */ f(
5466
+ !r.isFontSupported(d.value) && /* @__PURE__ */ C(Y3, { title: s.t("fontFamily.not-supported"), children: /* @__PURE__ */ C(
5467
5467
  b6,
5468
5468
  {
5469
5469
  className: "univer-text-gray-300 dark:!univer-text-gray-400"
@@ -5475,18 +5475,18 @@ const D5 = ({ id: e, value: t, disabled$: n }) => {
5475
5475
  }
5476
5476
  );
5477
5477
  }, Z5 = "UI_FONT_FAMILY_COMPONENT", A5 = "UI_FONT_FAMILY_ITEM_COMPONENT", B5 = (e) => {
5478
- const { value: t, min: n, max: r, onChange: i, disabled$: o } = e, s = r1(o), [a, d] = z(Number(t != null ? t : 0)), C = G(() => Number(t != null ? t : a), [t]);
5478
+ const { value: t, min: n, max: r, onChange: i, disabled$: o } = e, s = r1(o), [a, d] = z(Number(t != null ? t : 0)), f = G(() => Number(t != null ? t : a), [t]);
5479
5479
  function v(p) {
5480
5480
  p !== null && d(p);
5481
5481
  }
5482
5482
  function c(p) {
5483
5483
  p.stopPropagation(), p.code === "Enter" && i(a.toString());
5484
5484
  }
5485
- return /* @__PURE__ */ f("div", { className: "univer-h-6 univer-w-7 univer-text-sm", children: /* @__PURE__ */ f(
5485
+ return /* @__PURE__ */ C("div", { className: "univer-h-6 univer-w-7 univer-text-sm", children: /* @__PURE__ */ C(
5486
5486
  F2,
5487
5487
  {
5488
5488
  className: "univer-block univer-h-6 univer-border-none univer-bg-transparent univer-leading-6 [&_input:focus]:!univer-ring-0 [&_input]:univer-h-6 [&_input]:univer-w-7 [&_input]:univer-border-none [&_input]:!univer-bg-transparent [&_input]:univer-p-0 [&_input]:univer-text-sm",
5489
- value: C,
5489
+ value: f,
5490
5490
  controls: !1,
5491
5491
  min: n,
5492
5492
  max: r,
@@ -5622,35 +5622,35 @@ function F5(e) {
5622
5622
  return t.current = e, t;
5623
5623
  }
5624
5624
  const f7 = (e, t) => {
5625
- const { containerTarget: n, itemHeight: r, overscan: i = 5 } = t, o = F5(r), [s, a] = z(null), d = J(!1), [C, v] = z([]), [c, p] = z({ height: void 0, marginTop: void 0 }), L = (S, E) => {
5625
+ const { containerTarget: n, itemHeight: r, overscan: i = 5 } = t, o = F5(r), [s, a] = z(null), d = J(!1), [f, v] = z([]), [c, p] = z({ height: void 0, marginTop: void 0 }), L = (x, E) => {
5626
5626
  if (typeof o.current == "number")
5627
- return Math.ceil(S / o.current);
5627
+ return Math.ceil(x / o.current);
5628
5628
  let y = 0, N = 0;
5629
5629
  for (let D = E; D < e.length; D++) {
5630
5630
  const k = o.current(D, e[D]);
5631
- if (y += k, N = D, y >= S)
5631
+ if (y += k, N = D, y >= x)
5632
5632
  break;
5633
5633
  }
5634
5634
  return N - E;
5635
- }, M = (S) => {
5635
+ }, M = (x) => {
5636
5636
  if (At(o.current))
5637
- return Math.floor(S / o.current);
5637
+ return Math.floor(x / o.current);
5638
5638
  let E = 0, y = 0;
5639
5639
  for (let N = 0; N < e.length; N++) {
5640
5640
  const D = o.current(N, e[N]);
5641
- if (E += D, E >= S) {
5641
+ if (E += D, E >= x) {
5642
5642
  y = N;
5643
5643
  break;
5644
5644
  }
5645
5645
  }
5646
5646
  return y + 1;
5647
- }, O = (S) => typeof o.current == "number" ? S * o.current : e.slice(0, S).reduce((y, N, D) => y + o.current(D, e[D]), 0), _ = G(() => At(o.current) ? e.length * o.current : e.reduce(
5648
- (S, E, y) => S + o.current(y, e[y]),
5647
+ }, O = (x) => typeof o.current == "number" ? x * o.current : e.slice(0, x).reduce((y, N, D) => y + o.current(D, e[D]), 0), _ = G(() => At(o.current) ? e.length * o.current : e.reduce(
5648
+ (x, E, y) => x + o.current(y, e[y]),
5649
5649
  0
5650
5650
  ), [e]), w = () => {
5651
- const S = n.current;
5652
- if (S) {
5653
- const { scrollTop: E, clientHeight: y } = S, N = M(E), D = L(y, N), k = Math.max(0, N - i), j = Math.min(e.length, N + D + i), Q = O(k);
5651
+ const x = n.current;
5652
+ if (x) {
5653
+ const { scrollTop: E, clientHeight: y } = x, N = M(E), D = L(y, N), k = Math.max(0, N - i), j = Math.min(e.length, N + D + i), Q = O(k);
5654
5654
  p({
5655
5655
  height: `${_ - Q}px`,
5656
5656
  marginTop: `${Q}px`
@@ -5664,12 +5664,12 @@ const f7 = (e, t) => {
5664
5664
  };
5665
5665
  return W(() => {
5666
5666
  if (n.current) {
5667
- const S = () => {
5667
+ const x = () => {
5668
5668
  const y = n.current.clientWidth, N = n.current.clientHeight;
5669
5669
  (y !== (s == null ? void 0 : s.width) || N !== (s == null ? void 0 : s.height)) && a({ width: y, height: N });
5670
5670
  };
5671
- S();
5672
- const E = new ResizeObserver(S);
5671
+ x();
5672
+ const E = new ResizeObserver(x);
5673
5673
  return E.observe(n.current), () => {
5674
5674
  E.disconnect();
5675
5675
  };
@@ -5677,20 +5677,20 @@ const f7 = (e, t) => {
5677
5677
  }, []), W(() => {
5678
5678
  !(s != null && s.width) || !(s != null && s.height) || w();
5679
5679
  }, [s == null ? void 0 : s.width, s == null ? void 0 : s.height, e]), [
5680
- C,
5680
+ f,
5681
5681
  {
5682
5682
  wrapperStyle: c,
5683
- scrollTo: ee((S) => {
5683
+ scrollTo: ee((x) => {
5684
5684
  const E = n.current;
5685
- E && (d.current = !0, E.scrollTop = O(S), w());
5685
+ E && (d.current = !0, E.scrollTop = O(x), w());
5686
5686
  }),
5687
5687
  containerProps: {
5688
- onScroll: (S) => {
5688
+ onScroll: (x) => {
5689
5689
  if (d.current) {
5690
5690
  d.current = !1;
5691
5691
  return;
5692
5692
  }
5693
- S.preventDefault(), w();
5693
+ x.preventDefault(), w();
5694
5694
  }
5695
5695
  }
5696
5696
  }
@@ -6056,23 +6056,23 @@ function G5(e) {
6056
6056
  const { item: t, onOptionSelect: n } = e, [r, i] = z([]), o = P(M1), s = P(m1);
6057
6057
  return W(() => {
6058
6058
  if (!t.children) return;
6059
- const a = t.children.map((C) => {
6059
+ const a = t.children.map((f) => {
6060
6060
  var v, c;
6061
- return b2((c = (v = C.item) == null ? void 0 : v.activated$) != null ? c : Ce(!1), !1);
6062
- }), d = W1(a).subscribe((C) => {
6063
- const v = C.map((c, p) => ({ actived: c, item: t.children[p].item.id })).filter((c) => c.actived);
6061
+ return b2((c = (v = f.item) == null ? void 0 : v.activated$) != null ? c : Ce(!1), !1);
6062
+ }), d = W1(a).subscribe((f) => {
6063
+ const v = f.map((c, p) => ({ actived: c, item: t.children[p].item.id })).filter((c) => c.actived);
6064
6064
  v.length === 0 ? i([]) : i(v.map((c) => c.item));
6065
6065
  });
6066
6066
  return () => {
6067
- d.unsubscribe(), a.forEach((C) => {
6068
- C.complete();
6067
+ d.unsubscribe(), a.forEach((f) => {
6068
+ f.complete();
6069
6069
  });
6070
6070
  };
6071
- }, [t]), t.children ? /* @__PURE__ */ f(
6071
+ }, [t]), t.children ? /* @__PURE__ */ C(
6072
6072
  k2,
6073
6073
  {
6074
6074
  items: t.children.map((a) => {
6075
- var d, C;
6075
+ var d, f;
6076
6076
  return {
6077
6077
  key: a.key,
6078
6078
  onClick: () => {
@@ -6087,7 +6087,7 @@ function G5(e) {
6087
6087
  },
6088
6088
  className: "",
6089
6089
  Icon: o.get(a.item.icon),
6090
- active: r.includes((C = (d = a.item) == null ? void 0 : d.id) != null ? C : "")
6090
+ active: r.includes((f = (d = a.item) == null ? void 0 : d.id) != null ? f : "")
6091
6091
  };
6092
6092
  })
6093
6093
  }
@@ -6095,14 +6095,14 @@ function G5(e) {
6095
6095
  }
6096
6096
  const ce = "univer-inline-flex univer-gap-2 univer-items-center", kt = "univer-size-3.5 univer-text-gray-900 dark:!univer-text-white";
6097
6097
  function kn(e) {
6098
- const { menuType: t, onOptionSelect: n } = e, r = P(m1), i = P(D1), o = G(() => t ? i.getMenuByPositionKey(t) : [], [t, i]), [s, a] = z({}), d = G(() => o.filter((C) => {
6098
+ const { menuType: t, onOptionSelect: n } = e, r = P(m1), i = P(D1), o = G(() => t ? i.getMenuByPositionKey(t) : [], [t, i]), [s, a] = z({}), d = G(() => o.filter((f) => {
6099
6099
  var c;
6100
- if (!C.children) return C;
6101
- const v = ((c = C.key) == null ? void 0 : c.toString()) || "";
6100
+ if (!f.children) return f;
6101
+ const v = ((c = f.key) == null ? void 0 : c.toString()) || "";
6102
6102
  return !s[v];
6103
6103
  }), [o, s]);
6104
6104
  return W(() => {
6105
- const C = o.map((v) => {
6105
+ const f = o.map((v) => {
6106
6106
  if (!v.children) return null;
6107
6107
  const c = v.children.map((p) => {
6108
6108
  var L, M;
@@ -6117,20 +6117,20 @@ function kn(e) {
6117
6117
  });
6118
6118
  });
6119
6119
  return () => {
6120
- C.forEach((v) => v == null ? void 0 : v.unsubscribe()), a({});
6120
+ f.forEach((v) => v == null ? void 0 : v.unsubscribe()), a({});
6121
6121
  };
6122
- }, [o]), t ? d && d.map((C) => {
6122
+ }, [o]), t ? d && d.map((f) => {
6123
6123
  var v;
6124
- return C.item ? /* @__PURE__ */ f(
6124
+ return f.item ? /* @__PURE__ */ C(
6125
6125
  jt,
6126
6126
  {
6127
- menuItem: C.item,
6127
+ menuItem: f.item,
6128
6128
  onClick: (c) => {
6129
- n == null || n({ value: "", label: C.key, ...c });
6129
+ n == null || n({ value: "", label: f.key, ...c });
6130
6130
  }
6131
6131
  },
6132
- C.key
6133
- ) : (v = C.children) != null && v.length ? C.key === l1.QUICK ? /* @__PURE__ */ f(G5, { item: C, onOptionSelect: n }, C.key) : /* @__PURE__ */ f($3, { eventKey: C.key, title: C.title ? r.t(C.title) : void 0, children: C.children.map((c) => c.item && /* @__PURE__ */ f(
6132
+ f.key
6133
+ ) : (v = f.children) != null && v.length ? f.key === l1.QUICK ? /* @__PURE__ */ C(G5, { item: f, onOptionSelect: n }, f.key) : /* @__PURE__ */ C($3, { eventKey: f.key, title: f.title ? r.t(f.title) : void 0, children: f.children.map((c) => c.item && /* @__PURE__ */ C(
6134
6134
  jt,
6135
6135
  {
6136
6136
  menuItem: c.item,
@@ -6139,7 +6139,7 @@ function kn(e) {
6139
6139
  }
6140
6140
  },
6141
6141
  c.key
6142
- )) }, C.key) : null;
6142
+ )) }, f.key) : null;
6143
6143
  }) : null;
6144
6144
  }
6145
6145
  function jn(e) {
@@ -6147,7 +6147,7 @@ function jn(e) {
6147
6147
  const { options: t, value: n, onOptionSelect: r, parentKey: i } = e;
6148
6148
  return (o = t == null ? void 0 : t.map((s, a) => {
6149
6149
  var p, L, M;
6150
- const d = `${i}-${(p = s.label) != null ? p : s.id}-${a}`, C = (O) => {
6150
+ const d = `${i}-${(p = s.label) != null ? p : s.id}-${a}`, f = (O) => {
6151
6151
  r == null || r({ value: O, label: s == null ? void 0 : s.label, commandId: s == null ? void 0 : s.commandId });
6152
6152
  }, v = () => {
6153
6153
  typeof s.value > "u" || r == null || r({
@@ -6156,22 +6156,22 @@ function jn(e) {
6156
6156
  }, c = K({
6157
6157
  "univer-bg-none": typeof s.label != "string" && !((L = s.label) != null && L.hoverable)
6158
6158
  });
6159
- return /* @__PURE__ */ f(O3, { disabled: s.disabled, eventKey: d, className: c, onClick: v, children: /* @__PURE__ */ q(
6159
+ return /* @__PURE__ */ C(O3, { disabled: s.disabled, eventKey: d, className: c, onClick: v, children: /* @__PURE__ */ q(
6160
6160
  "span",
6161
6161
  {
6162
6162
  className: K(ce, {
6163
6163
  "univer-relative univer-pl-5": !(typeof s.label != "string" && !((M = s.label) != null && M.hoverable))
6164
6164
  }),
6165
6165
  children: [
6166
- typeof n < "u" && String(n) === String(s.value) && /* @__PURE__ */ f("span", { className: "univer-absolute univer-left-0 univer-inline-flex univer-items-center", children: /* @__PURE__ */ f(X3, { className: "univer-text-primary-600" }) }),
6167
- /* @__PURE__ */ f(
6166
+ typeof n < "u" && String(n) === String(s.value) && /* @__PURE__ */ C("span", { className: "univer-absolute univer-left-0 univer-inline-flex univer-items-center", children: /* @__PURE__ */ C(X3, { className: "univer-text-primary-600" }) }),
6167
+ /* @__PURE__ */ C(
6168
6168
  L1,
6169
6169
  {
6170
6170
  value$: s.value$,
6171
6171
  value: s.value,
6172
6172
  label: s.label,
6173
6173
  icon: s.icon,
6174
- onChange: C
6174
+ onChange: f
6175
6175
  }
6176
6176
  )
6177
6177
  ]
@@ -6192,14 +6192,14 @@ const X5 = (e) => {
6192
6192
  ref: a,
6193
6193
  selectable: !1,
6194
6194
  children: [
6195
- /* @__PURE__ */ f(jn, { ...r }),
6196
- /* @__PURE__ */ f(kn, { ...r })
6195
+ /* @__PURE__ */ C(jn, { ...r }),
6196
+ /* @__PURE__ */ C(kn, { ...r })
6197
6197
  ]
6198
6198
  }
6199
6199
  );
6200
6200
  };
6201
6201
  function jt({ menuItem: e, onClick: t }) {
6202
- const n = P(D1), r = r1(e.disabled$, !1), i = r1(e.activated$, !1), o = r1(e.hidden$, !1), s = r1(e.value$), a = e, d = r1(Ee(a.selections) ? a.selections : void 0), [C, v] = z(s);
6202
+ const n = P(D1), r = r1(e.disabled$, !1), i = r1(e.activated$, !1), o = r1(e.hidden$, !1), s = r1(e.value$), a = e, d = r1(Ee(a.selections) ? a.selections : void 0), [f, v] = z(s);
6203
6203
  if (W(() => {
6204
6204
  v(s);
6205
6205
  }, [s]), o)
@@ -6209,7 +6209,7 @@ function jt({ menuItem: e, onClick: t }) {
6209
6209
  v(w);
6210
6210
  }, p = () => {
6211
6211
  const _ = e, { title: w, label: I } = _;
6212
- return /* @__PURE__ */ f(
6212
+ return /* @__PURE__ */ C(
6213
6213
  O3,
6214
6214
  {
6215
6215
  eventKey: _.id,
@@ -6218,9 +6218,9 @@ function jt({ menuItem: e, onClick: t }) {
6218
6218
  "univer-bg-gray-200": i
6219
6219
  }),
6220
6220
  onClick: () => {
6221
- t({ commandId: _.commandId, value: C, id: _.id });
6221
+ t({ commandId: _.commandId, value: f, id: _.id });
6222
6222
  },
6223
- children: /* @__PURE__ */ f("span", { className: ce, children: /* @__PURE__ */ f(
6223
+ children: /* @__PURE__ */ C("span", { className: ce, children: /* @__PURE__ */ C(
6224
6224
  L1,
6225
6225
  {
6226
6226
  value: s,
@@ -6236,17 +6236,17 @@ function jt({ menuItem: e, onClick: t }) {
6236
6236
  }, L = () => {
6237
6237
  var w;
6238
6238
  const _ = (w = d != null ? d : a.selections) != null ? w : [];
6239
- return _.length > 0 ? /* @__PURE__ */ f(
6239
+ return _.length > 0 ? /* @__PURE__ */ C(
6240
6240
  Dt,
6241
6241
  {
6242
6242
  eventKey: a.id,
6243
6243
  popupOffset: [18, 0],
6244
6244
  title: /* @__PURE__ */ q("span", { className: ce, children: [
6245
- /* @__PURE__ */ f(
6245
+ /* @__PURE__ */ C(
6246
6246
  L1,
6247
6247
  {
6248
6248
  title: a.title,
6249
- value: C,
6249
+ value: f,
6250
6250
  onChange: c,
6251
6251
  icon: a.icon,
6252
6252
  label: a.label
@@ -6254,8 +6254,8 @@ function jt({ menuItem: e, onClick: t }) {
6254
6254
  ),
6255
6255
  a.shortcut && ` (${a.shortcut})`
6256
6256
  ] }),
6257
- expandIcon: /* @__PURE__ */ f(E3, { className: kt }),
6258
- children: /* @__PURE__ */ f($3, { children: _.length > 0 && /* @__PURE__ */ f(
6257
+ expandIcon: /* @__PURE__ */ C(E3, { className: kt }),
6258
+ children: /* @__PURE__ */ C($3, { children: _.length > 0 && /* @__PURE__ */ C(
6259
6259
  jn,
6260
6260
  {
6261
6261
  parentKey: a.id,
@@ -6268,12 +6268,12 @@ function jt({ menuItem: e, onClick: t }) {
6268
6268
  ) })
6269
6269
  },
6270
6270
  a.id
6271
- ) : /* @__PURE__ */ f(O3, { eventKey: a.id, children: /* @__PURE__ */ q("span", { className: ce, children: [
6272
- /* @__PURE__ */ f(
6271
+ ) : /* @__PURE__ */ C(O3, { eventKey: a.id, children: /* @__PURE__ */ q("span", { className: ce, children: [
6272
+ /* @__PURE__ */ C(
6273
6273
  L1,
6274
6274
  {
6275
6275
  title: a.title,
6276
- value: C,
6276
+ value: f,
6277
6277
  icon: a.icon,
6278
6278
  label: a.label,
6279
6279
  onChange: c
@@ -6283,14 +6283,14 @@ function jt({ menuItem: e, onClick: t }) {
6283
6283
  ] }) }, a.id);
6284
6284
  }, M = e.id ? n.getMenuByPositionKey(e.id) : [], O = () => {
6285
6285
  const _ = e;
6286
- return /* @__PURE__ */ f(
6286
+ return /* @__PURE__ */ C(
6287
6287
  Dt,
6288
6288
  {
6289
6289
  eventKey: _.id,
6290
6290
  popupOffset: [18, 0],
6291
- title: /* @__PURE__ */ f("span", { className: ce, children: /* @__PURE__ */ f(L1, { title: _.title, icon: _.icon, label: _.label, onChange: c }) }),
6292
- expandIcon: /* @__PURE__ */ f(E3, { className: kt }),
6293
- children: /* @__PURE__ */ f($3, { children: M.length && /* @__PURE__ */ f(kn, { menuType: _.id, parentKey: _.id, onOptionSelect: t }) })
6291
+ title: /* @__PURE__ */ C("span", { className: ce, children: /* @__PURE__ */ C(L1, { title: _.title, icon: _.icon, label: _.label, onChange: c }) }),
6292
+ expandIcon: /* @__PURE__ */ C(E3, { className: kt }),
6293
+ children: /* @__PURE__ */ C($3, { children: M.length && /* @__PURE__ */ C(kn, { menuType: _.id, parentKey: _.id, onOptionSelect: t }) })
6294
6294
  },
6295
6295
  _.id
6296
6296
  );
@@ -6302,7 +6302,7 @@ function jt({ menuItem: e, onClick: t }) {
6302
6302
  ] });
6303
6303
  }
6304
6304
  function v7(e) {
6305
- const { barColor: t, progress: n, onTerminate: r, onClearProgress: i } = e, { count: o, done: s, label: a = "" } = n, d = J(null), [C, v] = z(!1);
6305
+ const { barColor: t, progress: n, onTerminate: r, onClearProgress: i } = e, { count: o, done: s, label: a = "" } = n, d = J(null), [f, v] = z(!1);
6306
6306
  return W(() => {
6307
6307
  const c = d.current;
6308
6308
  if (o === 0 && s === 0) {
@@ -6327,12 +6327,12 @@ function v7(e) {
6327
6327
  "div",
6328
6328
  {
6329
6329
  className: K("univer-mx-2 univer-flex univer-items-center univer-gap-2", {
6330
- "univer-flex": C,
6331
- "univer-hidden univer-w-0": !C
6330
+ "univer-flex": f,
6331
+ "univer-hidden univer-w-0": !f
6332
6332
  }),
6333
6333
  children: [
6334
- /* @__PURE__ */ f(Y3, { showIfEllipsis: !0, title: a, children: /* @__PURE__ */ f("span", { className: "univer-w-24 univer-truncate univer-text-right univer-text-xs", children: a }) }),
6335
- /* @__PURE__ */ f("div", { className: "univer-h-1 univer-w-40 univer-overflow-hidden univer-rounded-lg univer-bg-gray-200", children: /* @__PURE__ */ f(
6334
+ /* @__PURE__ */ C(Y3, { showIfEllipsis: !0, title: a, children: /* @__PURE__ */ C("span", { className: "univer-w-24 univer-truncate univer-text-right univer-text-xs", children: a }) }),
6335
+ /* @__PURE__ */ C("div", { className: "univer-h-1 univer-w-40 univer-overflow-hidden univer-rounded-lg univer-bg-gray-200", children: /* @__PURE__ */ C(
6336
6336
  "div",
6337
6337
  {
6338
6338
  ref: d,
@@ -6342,13 +6342,13 @@ function v7(e) {
6342
6342
  }
6343
6343
  }
6344
6344
  ) }),
6345
- /* @__PURE__ */ f(
6345
+ /* @__PURE__ */ C(
6346
6346
  "button",
6347
6347
  {
6348
6348
  className: "univer-flex univer-size-4 univer-cursor-pointer univer-items-center univer-justify-center univer-border-none univer-bg-transparent univer-p-0 hover:univer-opacity-50",
6349
6349
  type: "button",
6350
6350
  onClick: r,
6351
- children: /* @__PURE__ */ f(
6351
+ children: /* @__PURE__ */ C(
6352
6352
  q3,
6353
6353
  {
6354
6354
  className: "univer-size-3.5 dark:!univer-text-white"
@@ -6574,8 +6574,8 @@ let Pe = class extends d1 {
6574
6574
  r ? r.add(t) : this._shortCutMapping.set(n, /* @__PURE__ */ new Set([t]));
6575
6575
  const i = t.id, o = this._commandIDMapping.get(i);
6576
6576
  return o ? o.add(t) : this._commandIDMapping.set(i, /* @__PURE__ */ new Set([t])), this._emitShortcutChanged(), c1(() => {
6577
- var s, a, d, C;
6578
- (s = this._shortCutMapping.get(n)) == null || s.delete(t), ((a = this._shortCutMapping.get(n)) == null ? void 0 : a.size) === 0 && this._shortCutMapping.delete(n), (d = this._commandIDMapping.get(i)) == null || d.delete(t), ((C = this._commandIDMapping.get(i)) == null ? void 0 : C.size) === 0 && this._commandIDMapping.delete(i), this._emitShortcutChanged();
6577
+ var s, a, d, f;
6578
+ (s = this._shortCutMapping.get(n)) == null || s.delete(t), ((a = this._shortCutMapping.get(n)) == null ? void 0 : a.size) === 0 && this._shortCutMapping.delete(n), (d = this._commandIDMapping.get(i)) == null || d.delete(t), ((f = this._commandIDMapping.get(i)) == null ? void 0 : f.size) === 0 && this._commandIDMapping.delete(i), this._emitShortcutChanged();
6579
6579
  });
6580
6580
  }
6581
6581
  getShortcutDisplayOfCommand(t) {
@@ -6702,11 +6702,11 @@ ne = li([
6702
6702
  ], ne);
6703
6703
  function fi() {
6704
6704
  const e = P(ge), t = P(m1), n = r1(t.currentLocale$), [r, i] = z([]), o = Ke(() => {
6705
- var C;
6705
+ var f;
6706
6706
  const s = /* @__PURE__ */ new Map(), a = e.getAllShortcuts().filter((v) => !!v.group);
6707
6707
  for (const v of a) {
6708
6708
  const c = v.group, p = {
6709
- title: t.t((C = v.description) != null ? C : v.id),
6709
+ title: t.t((f = v.description) != null ? f : v.id),
6710
6710
  shortcut: e.getShortcutDisplay(v)
6711
6711
  };
6712
6712
  if (!/\d+_[a-zA-Z0-9]/.test(c))
@@ -6727,13 +6727,13 @@ function fi() {
6727
6727
  o();
6728
6728
  const s = e.shortcutChanged$.subscribe(() => o());
6729
6729
  return () => s.unsubscribe();
6730
- }, [e, o]), /* @__PURE__ */ f(
6730
+ }, [e, o]), /* @__PURE__ */ C(
6731
6731
  "ul",
6732
6732
  {
6733
6733
  className: "univer-m-0 univer-list-none univer-p-0 univer-text-gray-900 dark:!univer-text-white",
6734
6734
  children: r.map((s) => /* @__PURE__ */ q("li", { children: [
6735
- /* @__PURE__ */ f("div", { className: "univer-flex univer-h-10 univer-items-center univer-text-sm univer-font-semibold", children: s.name }),
6736
- /* @__PURE__ */ f(
6735
+ /* @__PURE__ */ C("div", { className: "univer-flex univer-h-10 univer-items-center univer-text-sm univer-font-semibold", children: s.name }),
6736
+ /* @__PURE__ */ C(
6737
6737
  "ul",
6738
6738
  {
6739
6739
  className: K("univer-list-none univer-p-0", W2),
@@ -6742,8 +6742,8 @@ function fi() {
6742
6742
  {
6743
6743
  className: "univer-flex univer-h-10 univer-items-center univer-justify-between univer-py-0.5 univer-text-sm last:univer-border-b-0",
6744
6744
  children: [
6745
- /* @__PURE__ */ f("span", { className: "univer-line-clamp-2", children: a.title }),
6746
- a.shortcut && /* @__PURE__ */ f(z2, { keyboard: a.shortcut })
6745
+ /* @__PURE__ */ C("span", { className: "univer-line-clamp-2", children: a.title }),
6746
+ a.shortcut && /* @__PURE__ */ C(z2, { keyboard: a.shortcut })
6747
6747
  ]
6748
6748
  },
6749
6749
  `${a.title}-${a.shortcut}`
@@ -6842,16 +6842,16 @@ const pi = M9((e) => {
6842
6842
  var w, I;
6843
6843
  const { layer: t, id: n } = e, r = G(() => t.position$.pipe(
6844
6844
  y9(
6845
- (S, E) => S.absolute.left === E.absolute.left && S.absolute.top === E.absolute.top && S.endX - S.startX === E.endX - E.startX && S.endY - S.startY === E.endY - E.startY
6845
+ (x, E) => x.absolute.left === E.absolute.left && x.absolute.top === E.absolute.top && x.endX - x.startX === E.endX - E.startX && x.endY - x.startY === E.endY - E.startY
6846
6846
  )
6847
- ), [t.position$]), i = P(N1), o = r1(G(() => t.position$.pipe($2()), [t.position$])), s = J(null), a = J(null), d = J(`transform: rotate(${o == null ? void 0 : o.rotate}deg) translate(${o == null ? void 0 : o.startX}px, ${o == null ? void 0 : o.startY}px)`), C = J((w = o == null ? void 0 : o.startY) != null ? w : 0), v = J((I = o == null ? void 0 : o.startX) != null ? I : 0), c = J({}), p = typeof t.componentKey == "string" ? P(M1).get(t.componentKey) : t.componentKey, L = G(() => ({
6847
+ ), [t.position$]), i = P(N1), o = r1(G(() => t.position$.pipe($2()), [t.position$])), s = J(null), a = J(null), d = J(`transform: rotate(${o == null ? void 0 : o.rotate}deg) translate(${o == null ? void 0 : o.startX}px, ${o == null ? void 0 : o.startY}px)`), f = J((w = o == null ? void 0 : o.startY) != null ? w : 0), v = J((I = o == null ? void 0 : o.startX) != null ? I : 0), c = J({}), p = typeof t.componentKey == "string" ? P(M1).get(t.componentKey) : t.componentKey, L = G(() => ({
6848
6848
  data: t.data,
6849
6849
  ...t.props
6850
6850
  }), [t.data, t.props]);
6851
6851
  W(() => {
6852
- const S = t.position$.subscribe((y) => {
6852
+ const x = t.position$.subscribe((y) => {
6853
6853
  var N;
6854
- d.current = `rotate(${y.rotate}deg)`, C.current = y.startY, v.current = y.startX, s.current && (s.current.style.transform = d.current, s.current.style.top = `${C.current}px`, s.current.style.left = `${v.current}px`, s.current.style.opacity = `${(N = y.opacity) != null ? N : 1}`);
6854
+ d.current = `rotate(${y.rotate}deg)`, f.current = y.startY, v.current = y.startX, s.current && (s.current.style.transform = d.current, s.current.style.top = `${f.current}px`, s.current.style.left = `${v.current}px`, s.current.style.opacity = `${(N = y.opacity) != null ? N : 1}`);
6855
6855
  }), E = r.subscribe((y) => {
6856
6856
  if (s.current && (s.current.style.width = `${Math.max(y.endX - y.startX - 2, 0)}px`, s.current.style.height = `${Math.max(y.endY - y.startY - 2, 0)}px`), a.current) {
6857
6857
  const N = {
@@ -6866,10 +6866,10 @@ const pi = M9((e) => {
6866
6866
  }
6867
6867
  });
6868
6868
  return () => {
6869
- S.unsubscribe(), E.unsubscribe();
6869
+ x.unsubscribe(), E.unsubscribe();
6870
6870
  };
6871
6871
  }, [t.position$, r]);
6872
- const M = i.getUnit(t.unitId), O = M instanceof d9 ? M.getDisabled() : void 0, _ = G(() => p ? /* @__PURE__ */ f(
6872
+ const M = i.getUnit(t.unitId), O = M instanceof d9 ? M.getDisabled() : void 0, _ = G(() => p ? /* @__PURE__ */ C(
6873
6873
  p,
6874
6874
  {
6875
6875
  ...L,
@@ -6882,14 +6882,14 @@ const pi = M9((e) => {
6882
6882
  }
6883
6883
  }
6884
6884
  ) : null, [p, L]);
6885
- return o ? /* @__PURE__ */ f(
6885
+ return o ? /* @__PURE__ */ C(
6886
6886
  "div",
6887
6887
  {
6888
6888
  ref: s,
6889
6889
  className: "univer-z-10",
6890
6890
  style: {
6891
6891
  position: "absolute",
6892
- top: C.current,
6892
+ top: f.current,
6893
6893
  left: v.current,
6894
6894
  width: Math.max(o.endX - o.startX - 2, 0),
6895
6895
  height: Math.max(o.endY - o.startY - 2, 0),
@@ -6897,19 +6897,19 @@ const pi = M9((e) => {
6897
6897
  overflow: "hidden",
6898
6898
  transformOrigin: "center center"
6899
6899
  },
6900
- onPointerMove: (S) => {
6901
- t.onPointerMove(S.nativeEvent);
6900
+ onPointerMove: (x) => {
6901
+ t.onPointerMove(x.nativeEvent);
6902
6902
  },
6903
- onPointerDown: (S) => {
6904
- t.onPointerDown(S.nativeEvent);
6903
+ onPointerDown: (x) => {
6904
+ t.onPointerDown(x.nativeEvent);
6905
6905
  },
6906
- onPointerUp: (S) => {
6907
- t.onPointerUp(S.nativeEvent);
6906
+ onPointerUp: (x) => {
6907
+ t.onPointerUp(x.nativeEvent);
6908
6908
  },
6909
- onWheel: (S) => {
6910
- t.onWheel(S.nativeEvent);
6909
+ onWheel: (x) => {
6910
+ t.onWheel(x.nativeEvent);
6911
6911
  },
6912
- children: /* @__PURE__ */ f(
6912
+ children: /* @__PURE__ */ C(
6913
6913
  "div",
6914
6914
  {
6915
6915
  id: n,
@@ -6926,7 +6926,7 @@ const pi = M9((e) => {
6926
6926
  const t = P(N1), n = P(rt), r = r1(n.domLayers$), i = r1(t.focused$), o = e || i;
6927
6927
  return (s = r == null ? void 0 : r.filter((a) => a[1].unitId === o)) == null ? void 0 : s.map((a) => {
6928
6928
  var d;
6929
- return /* @__PURE__ */ f(
6929
+ return /* @__PURE__ */ C(
6930
6930
  pi,
6931
6931
  {
6932
6932
  id: (d = a[1].domId) != null ? d : a[0],
@@ -6974,9 +6974,9 @@ class Kn extends d1 {
6974
6974
  }
6975
6975
  const er = I9({ current: void 0 }), J1 = 8;
6976
6976
  function tr(e) {
6977
- const { position: t, width: n, height: r, containerHeight: i, containerWidth: o, direction: s = "vertical", noPushMinimumGap: a = !1 } = e, d = a ? -1 / 0 : J1, C = a ? 1 / 0 : i - r - J1, v = a ? -1 / 0 : J1, c = a ? 1 / 0 : o - n - J1;
6977
+ const { position: t, width: n, height: r, containerHeight: i, containerWidth: o, direction: s = "vertical", noPushMinimumGap: a = !1 } = e, d = a ? -1 / 0 : J1, f = a ? 1 / 0 : i - r - J1, v = a ? -1 / 0 : J1, c = a ? 1 / 0 : o - n - J1;
6978
6978
  if (s === "vertical" || s.indexOf("top") === 0 || s.indexOf("bottom") === 0) {
6979
- const { left: I, top: S, right: E, bottom: y } = t, N = s === "vertical" && y > C || s.indexOf("top") > -1 ? { top: Math.max(Math.min(S - r, C), d) } : { top: Math.max(Math.min(y, C), d) };
6979
+ const { left: I, top: x, right: E, bottom: y } = t, N = s === "vertical" && y > f || s.indexOf("top") > -1 ? { top: Math.max(Math.min(x - r, f), d) } : { top: Math.max(Math.min(y, f), d) };
6980
6980
  let D;
6981
6981
  if (s.includes("center")) {
6982
6982
  const j = (E - I - n) / 2;
@@ -6987,13 +6987,13 @@ function tr(e) {
6987
6987
  const { left: p, top: L, right: M, bottom: O } = t, _ = s.includes("left") ? { left: Math.max(Math.min(p - n, c), v) } : { left: Math.max(Math.min(M, c), v) };
6988
6988
  let w;
6989
6989
  if (s.includes("center")) {
6990
- const S = (O - L - r) / 2;
6991
- w = Math.max(L + S, d) + r > i ? { top: Math.max(Math.min(C, O - r - S), d) } : { top: Math.max(d, Math.min(L + S, C)) };
6990
+ const x = (O - L - r) / 2;
6991
+ w = Math.max(L + x, d) + r > i ? { top: Math.max(Math.min(f, O - r - x), d) } : { top: Math.max(d, Math.min(L + x, f)) };
6992
6992
  } else s.includes("top") ? w = {
6993
- top: Math.max(Math.min(L, C), d)
6993
+ top: Math.max(Math.min(L, f), d)
6994
6994
  } : s.includes("bottom") ? w = {
6995
- top: Math.max(Math.min(O - r, C), d)
6996
- } : w = L + r > i ? Math.max(O - r, d) < J1 ? { top: Math.max(Math.min(L, C), d) } : { top: Math.max(Math.min(O - r, C), d) } : { top: Math.max(Math.min(L, C), d) };
6995
+ top: Math.max(Math.min(O - r, f), d)
6996
+ } : w = L + r > i ? Math.max(O - r, d) < J1 ? { top: Math.max(Math.min(L, f), d) } : { top: Math.max(Math.min(O - r, f), d) } : { top: Math.max(Math.min(L, f), d) };
6997
6997
  return { ...w, ..._ };
6998
6998
  }
6999
6999
  function ot(e) {
@@ -7007,7 +7007,7 @@ function ot(e) {
7007
7007
  onClickOutside: s,
7008
7008
  excludeOutside: a,
7009
7009
  excludeRects: d,
7010
- onPointerEnter: C,
7010
+ onPointerEnter: f,
7011
7011
  onPointerLeave: v,
7012
7012
  onClick: c,
7013
7013
  hidden: p,
@@ -7017,15 +7017,15 @@ function ot(e) {
7017
7017
  onMaskClick: _,
7018
7018
  noPushMinimumGap: w,
7019
7019
  autoRelayout: I = !0
7020
- } = e, S = J(null), E = ee(s != null ? s : (() => {
7020
+ } = e, x = J(null), E = ee(s != null ? s : (() => {
7021
7021
  })), y = ee(L != null ? L : (() => {
7022
7022
  })), N = J({
7023
7023
  top: -9999,
7024
7024
  left: -9999
7025
7025
  }), D = d, k = P(Y1), j = J(void 0), Q = k.getConfig(ie), n1 = (X = Q == null ? void 0 : Q.popupRootId) != null ? X : "univer-popup-portal", i1 = ee((U) => {
7026
7026
  requestAnimationFrame(() => {
7027
- if (!S.current) return;
7028
- const { clientWidth: s1, clientHeight: f1 } = S.current, x1 = window.innerWidth, E1 = window.innerHeight;
7027
+ if (!x.current) return;
7028
+ const { clientWidth: s1, clientHeight: f1 } = x.current, x1 = window.innerWidth, E1 = window.innerHeight;
7029
7029
  N.current = tr(
7030
7030
  {
7031
7031
  position: U,
@@ -7036,17 +7036,17 @@ function ot(e) {
7036
7036
  direction: o,
7037
7037
  noPushMinimumGap: w
7038
7038
  }
7039
- ), S.current.style.top = `${N.current.top}px`, S.current.style.left = `${N.current.left}px`;
7039
+ ), x.current.style.top = `${N.current.top}px`, x.current.style.left = `${N.current.left}px`;
7040
7040
  });
7041
7041
  });
7042
7042
  W(() => {
7043
7043
  let U;
7044
- return S.current && (U = new ResizeObserver(() => {
7044
+ return x.current && (U = new ResizeObserver(() => {
7045
7045
  I && j.current && i1(j.current);
7046
- }), U.observe(S.current)), () => {
7046
+ }), U.observe(x.current)), () => {
7047
7047
  U == null || U.disconnect();
7048
7048
  };
7049
- }, [S.current, I]), W(() => {
7049
+ }, [x.current, I]), W(() => {
7050
7050
  const U = i.subscribe((s1) => {
7051
7051
  j.current = s1, i1(s1);
7052
7052
  });
@@ -7077,7 +7077,7 @@ function ot(e) {
7077
7077
  };
7078
7078
  }, [y]);
7079
7079
  const o1 = /* @__PURE__ */ q(t3, { children: [
7080
- t && /* @__PURE__ */ f(
7080
+ t && /* @__PURE__ */ C(
7081
7081
  "div",
7082
7082
  {
7083
7083
  "data-u-comp": "rect-popup-mask",
@@ -7086,11 +7086,11 @@ function ot(e) {
7086
7086
  onClick: _
7087
7087
  }
7088
7088
  ),
7089
- /* @__PURE__ */ f(
7089
+ /* @__PURE__ */ C(
7090
7090
  "section",
7091
7091
  {
7092
7092
  "data-u-comp": "rect-popup",
7093
- ref: S,
7093
+ ref: x,
7094
7094
  className: K("univer-pointer-events-auto univer-fixed univer-left-[-9999px] univer-top-[-9999px] univer-z-[1020]", {
7095
7095
  "univer-hidden": p,
7096
7096
  "univer-animate-in univer-fade-in-70": !p
@@ -7098,9 +7098,9 @@ function ot(e) {
7098
7098
  style: { ...N.current, zIndex: M },
7099
7099
  onPointerDown: (U) => U.stopPropagation(),
7100
7100
  onClick: c,
7101
- onPointerEnter: C,
7101
+ onPointerEnter: f,
7102
7102
  onPointerLeave: v,
7103
- children: /* @__PURE__ */ f(er.Provider, { value: j, children: r })
7103
+ children: /* @__PURE__ */ C(er.Provider, { value: j, children: r })
7104
7104
  }
7105
7105
  )
7106
7106
  ] });
@@ -7127,19 +7127,19 @@ const mi = ({ popup: e, children: t }) => {
7127
7127
  }, [e.hiddenRects$]), s = G(() => {
7128
7128
  var c;
7129
7129
  return (c = e.excludeRects$) == null ? void 0 : c.pipe(b3(0, L3));
7130
- }, [e.excludeRects$]), a = M5(s, e.excludeRects), { canvasElement: d, hideOnInvisible: C = !0, hiddenType: v = "destroy" } = e;
7130
+ }, [e.excludeRects$]), a = M5(s, e.excludeRects), { canvasElement: d, hideOnInvisible: f = !0, hiddenType: v = "destroy" } = e;
7131
7131
  return W(() => {
7132
- if (!C)
7132
+ if (!f)
7133
7133
  return;
7134
7134
  const c = W1([i, o]).subscribe(([p, L]) => {
7135
- const M = d.getBoundingClientRect(), { top: O, left: _, bottom: w, right: I } = M, S = p.bottom - p.top, E = p.right - p.left, y = L.some((N) => {
7136
- const D = Math.min(0.5 * S, 10), k = Math.min(0.5 * E, 10);
7135
+ const M = d.getBoundingClientRect(), { top: O, left: _, bottom: w, right: I } = M, x = p.bottom - p.top, E = p.right - p.left, y = L.some((N) => {
7136
+ const D = Math.min(0.5 * x, 10), k = Math.min(0.5 * E, 10);
7137
7137
  return p.top >= N.top - D && p.bottom <= N.bottom + D && p.left >= N.left - k && p.right <= N.right + k;
7138
7138
  });
7139
7139
  p.bottom < O || p.top > w || p.right < _ || p.left > I || y ? r(!0) : r(!1);
7140
7140
  });
7141
7141
  return () => c.unsubscribe();
7142
- }, [d, C, i, o]), n && v === "destroy" ? null : /* @__PURE__ */ f(
7142
+ }, [d, f, i, o]), n && v === "destroy" ? null : /* @__PURE__ */ C(
7143
7143
  ot,
7144
7144
  {
7145
7145
  ...e,
@@ -7169,11 +7169,11 @@ function nr() {
7169
7169
  const e = P(it), t = P(M1);
7170
7170
  return r1(e.popups$, void 0, !0).map((r) => {
7171
7171
  const [i, o] = r, s = t.get(o.componentKey);
7172
- return /* @__PURE__ */ f(
7172
+ return /* @__PURE__ */ C(
7173
7173
  mi,
7174
7174
  {
7175
7175
  popup: o,
7176
- children: s ? /* @__PURE__ */ f(s, { popup: o }) : null
7176
+ children: s ? /* @__PURE__ */ C(s, { popup: o }) : null
7177
7177
  },
7178
7178
  i
7179
7179
  );
@@ -7232,7 +7232,7 @@ let T3 = class extends d1 {
7232
7232
  return;
7233
7233
  }
7234
7234
  W1(n).pipe(y3(new Array(n.length).fill(!1))).subscribe((o) => {
7235
- var d, C, v, c, p, L;
7235
+ var d, f, v, c, p, L;
7236
7236
  const s = [], a = o.map((M, O) => M ? r[O] : null).filter((M) => !!M);
7237
7237
  for (const M of t) {
7238
7238
  const O = { ...M, children: [] };
@@ -7240,12 +7240,12 @@ let T3 = class extends d1 {
7240
7240
  for (const _ of M.children) {
7241
7241
  const w = { ..._, children: [] };
7242
7242
  let I = !0;
7243
- if ((C = _.children) != null && C.length) {
7244
- for (const S of _.children)
7245
- a.includes(S.key) || (v = w.children) == null || v.push(S);
7246
- (c = w.children) != null && c.every((S) => {
7243
+ if ((f = _.children) != null && f.length) {
7244
+ for (const x of _.children)
7245
+ a.includes(x.key) || (v = w.children) == null || v.push(x);
7246
+ (c = w.children) != null && c.every((x) => {
7247
7247
  var E;
7248
- return ((E = S.children) == null ? void 0 : E.length) === 0;
7248
+ return ((E = x.children) == null ? void 0 : E.length) === 0;
7249
7249
  }) && (I = !1);
7250
7250
  }
7251
7251
  I && ((p = O.children) == null || p.push(w));
@@ -7267,7 +7267,7 @@ function y1(e) {
7267
7267
  const { components: t, fallback: n, sharedProps: r } = e;
7268
7268
  return !t || t.size === 0 ? n != null ? n : null : Array.from(t.values()).map((i, o) => {
7269
7269
  var s;
7270
- return x(i, { key: `${(s = i.displayName) != null ? s : o}`, ...r });
7270
+ return H(i, { key: `${(s = i.displayName) != null ? s : o}`, ...r });
7271
7271
  });
7272
7272
  }
7273
7273
  function w1(e, t) {
@@ -7292,7 +7292,7 @@ function wi({
7292
7292
  onSelectTab: n
7293
7293
  }) {
7294
7294
  const r = P(m1);
7295
- return /* @__PURE__ */ f(
7295
+ return /* @__PURE__ */ C(
7296
7296
  "div",
7297
7297
  {
7298
7298
  className: "univer-flex univer-h-full univer-w-full univer-items-center univer-justify-center univer-gap-1 univer-overflow-x-auto univer-rounded-md univer-bg-gray-50 univer-px-3 dark:!univer-bg-gray-900",
@@ -7300,7 +7300,7 @@ function wi({
7300
7300
  "aria-label": r.t("ribbon.menu"),
7301
7301
  children: e.map((i) => {
7302
7302
  const o = t === i.key;
7303
- return /* @__PURE__ */ f(
7303
+ return /* @__PURE__ */ C(
7304
7304
  "button",
7305
7305
  {
7306
7306
  type: "button",
@@ -7342,13 +7342,13 @@ function _i({
7342
7342
  function s(a) {
7343
7343
  n(a), o(!1);
7344
7344
  }
7345
- return /* @__PURE__ */ f(
7345
+ return /* @__PURE__ */ C(
7346
7346
  Y2,
7347
7347
  {
7348
7348
  className: "univer-max-w-96 !univer-rounded-xl",
7349
7349
  align: "start",
7350
7350
  open: i,
7351
- overlay: /* @__PURE__ */ f("div", { className: "univer-grid univer-gap-1 univer-px-2 univer-py-1", children: e.map((a) => {
7351
+ overlay: /* @__PURE__ */ C("div", { className: "univer-grid univer-gap-1 univer-px-2 univer-py-1", children: e.map((a) => {
7352
7352
  const d = yi[a.key];
7353
7353
  return /* @__PURE__ */ q(
7354
7354
  "a",
@@ -7358,11 +7358,11 @@ function _i({
7358
7358
  role: "button",
7359
7359
  onClick: () => s(a),
7360
7360
  children: [
7361
- /* @__PURE__ */ f(
7361
+ /* @__PURE__ */ C(
7362
7362
  "span",
7363
7363
  {
7364
7364
  className: K("univer-box-border univer-flex univer-size-9 univer-flex-shrink-0 univer-items-center univer-justify-center univer-rounded-lg", G2),
7365
- children: /* @__PURE__ */ f(
7365
+ children: /* @__PURE__ */ C(
7366
7366
  d,
7367
7367
  {
7368
7368
  className: "univer-text-gray-500 dark:!univer-text-gray-300"
@@ -7371,14 +7371,14 @@ function _i({
7371
7371
  }
7372
7372
  ),
7373
7373
  /* @__PURE__ */ q("span", { className: "univer-flex univer-flex-col", children: [
7374
- /* @__PURE__ */ f(
7374
+ /* @__PURE__ */ C(
7375
7375
  "strong",
7376
7376
  {
7377
7377
  className: "univer-text-sm univer-font-semibold univer-text-gray-800 dark:!univer-text-gray-200",
7378
7378
  children: r.t(a.key)
7379
7379
  }
7380
7380
  ),
7381
- /* @__PURE__ */ f("span", { className: "univer-text-xs univer-text-gray-400", children: r.t(`${a.key}Desc`) })
7381
+ /* @__PURE__ */ C("span", { className: "univer-text-xs univer-text-gray-400", children: r.t(`${a.key}Desc`) })
7382
7382
  ] })
7383
7383
  ]
7384
7384
  },
@@ -7393,7 +7393,7 @@ function _i({
7393
7393
  onClick: () => o(!0),
7394
7394
  children: [
7395
7395
  r.t(t),
7396
- /* @__PURE__ */ f(
7396
+ /* @__PURE__ */ C(
7397
7397
  he,
7398
7398
  {
7399
7399
  className: "univer-text-gray-200 dark:!univer-text-gray-500"
@@ -7423,7 +7423,7 @@ function Mi(e) {
7423
7423
  noIcon: s,
7424
7424
  onClick: a,
7425
7425
  onDoubleClick: d,
7426
- ...C
7426
+ ...f
7427
7427
  } = e, v = (p) => {
7428
7428
  if (i) {
7429
7429
  p.preventDefault();
@@ -7437,7 +7437,7 @@ function Mi(e) {
7437
7437
  }
7438
7438
  d && d(p);
7439
7439
  };
7440
- return /* @__PURE__ */ f(
7440
+ return /* @__PURE__ */ C(
7441
7441
  "button",
7442
7442
  {
7443
7443
  type: "button",
@@ -7449,25 +7449,25 @@ function Mi(e) {
7449
7449
  disabled: i,
7450
7450
  onClick: v,
7451
7451
  onDoubleClick: c,
7452
- ...C,
7452
+ ...f,
7453
7453
  children: t
7454
7454
  }
7455
7455
  );
7456
7456
  }
7457
7457
  function Ii(e) {
7458
- const { disabled$: t, hidden$: n, activated$: r, value$: i } = e, [o, s] = z(), [a, d] = z(!1), [C, v] = z(!1), [c, p] = z(!1);
7458
+ const { disabled$: t, hidden$: n, activated$: r, value$: i } = e, [o, s] = z(), [a, d] = z(!1), [f, v] = z(!1), [c, p] = z(!1);
7459
7459
  return W(() => {
7460
7460
  const L = [];
7461
7461
  return t && L.push(t.subscribe((M) => d(M))), n && L.push(n.subscribe((M) => p(M))), r && L.push(r.subscribe((M) => v(M))), i && L.push(i.subscribe((M) => s(M))), () => L.forEach((M) => M.unsubscribe());
7462
- }, [r, t, n, i]), { disabled: a, value: o, activated: C, hidden: c };
7462
+ }, [r, t, n, i]), { disabled: a, value: o, activated: f, hidden: c };
7463
7463
  }
7464
7464
  const st = I9({
7465
7465
  dropdownVisible: !1,
7466
7466
  setDropdownVisible: (e) => {
7467
7467
  }
7468
- }), xi = H((e, t) => {
7468
+ }), xi = S((e, t) => {
7469
7469
  const { children: n, ...r } = e, i = J(null), [o, s] = z(!1), [a, d] = z(!1);
7470
- function C(p) {
7470
+ function f(p) {
7471
7471
  s(a ? !1 : p);
7472
7472
  }
7473
7473
  function v(p) {
@@ -7479,30 +7479,30 @@ const st = I9({
7479
7479
  }), [a]);
7480
7480
  return T2(t, () => ({
7481
7481
  el: i.current
7482
- })), r.title ? /* @__PURE__ */ f(
7482
+ })), r.title ? /* @__PURE__ */ C(
7483
7483
  Y3,
7484
7484
  {
7485
7485
  visible: o,
7486
- onVisibleChange: C,
7486
+ onVisibleChange: f,
7487
7487
  ...r,
7488
- children: /* @__PURE__ */ f("span", { ref: i, children: /* @__PURE__ */ f(st.Provider, { value: c, children: n }) })
7488
+ children: /* @__PURE__ */ C("span", { ref: i, children: /* @__PURE__ */ C(st.Provider, { value: c, children: n }) })
7489
7489
  }
7490
- ) : /* @__PURE__ */ f("span", { ref: i, children: n });
7490
+ ) : /* @__PURE__ */ C("span", { ref: i, children: n });
7491
7491
  });
7492
7492
  function Hi(e) {
7493
7493
  const { children: t, overlay: n, disabled: r, align: i = "start" } = e, { dropdownVisible: o, setDropdownVisible: s } = e3(st);
7494
7494
  function a(d) {
7495
7495
  s(d);
7496
7496
  }
7497
- return /* @__PURE__ */ f(
7497
+ return /* @__PURE__ */ C(
7498
7498
  x9,
7499
7499
  {
7500
7500
  align: i,
7501
- overlay: /* @__PURE__ */ f("div", { className: "univer-grid univer-gap-2", children: n }),
7501
+ overlay: /* @__PURE__ */ C("div", { className: "univer-grid univer-gap-2", children: n }),
7502
7502
  disabled: r,
7503
7503
  open: o,
7504
7504
  onOpenChange: a,
7505
- children: /* @__PURE__ */ f("div", { className: "univer-h-full", onClick: (d) => d.stopPropagation(), children: t })
7505
+ children: /* @__PURE__ */ C("div", { className: "univer-h-full", onClick: (d) => d.stopPropagation(), children: t })
7506
7506
  }
7507
7507
  );
7508
7508
  }
@@ -7518,13 +7518,13 @@ function Ie({ icon: e, value: t, option: n, onOptionSelect: r }) {
7518
7518
  "univer-pl-6": o
7519
7519
  }),
7520
7520
  children: [
7521
- o && String(t) === String(n.value) && /* @__PURE__ */ f(
7521
+ o && String(t) === String(n.value) && /* @__PURE__ */ C(
7522
7522
  X3,
7523
7523
  {
7524
7524
  className: "univer-absolute univer-left-1 univer-top-0.5 univer-text-primary-600"
7525
7525
  }
7526
7526
  ),
7527
- /* @__PURE__ */ f(
7527
+ /* @__PURE__ */ C(
7528
7528
  L1,
7529
7529
  {
7530
7530
  className: "univer-text-sm",
@@ -7549,7 +7549,7 @@ function qt({
7549
7549
  onOptionSelect: s
7550
7550
  }) {
7551
7551
  var O;
7552
- const { dropdownVisible: a, setDropdownVisible: d } = e3(st), C = P(D1), [v, c] = z({}), p = G(() => e ? C.getMenuByPositionKey(e) : [], [e]), L = G(() => p.filter((_) => {
7552
+ const { dropdownVisible: a, setDropdownVisible: d } = e3(st), f = P(D1), [v, c] = z({}), p = G(() => e ? f.getMenuByPositionKey(e) : [], [e]), L = G(() => p.filter((_) => {
7553
7553
  var I;
7554
7554
  if (!_.children)
7555
7555
  return !v[_.key];
@@ -7564,10 +7564,10 @@ function qt({
7564
7564
  return p.forEach((w) => {
7565
7565
  var I;
7566
7566
  if (w.children) {
7567
- const S = w.children.map((y) => {
7567
+ const x = w.children.map((y) => {
7568
7568
  var N, D;
7569
7569
  return (D = (N = y.item) == null ? void 0 : N.hidden$) != null ? D : Ce(!1);
7570
- }), E = W1(S).subscribe((y) => {
7570
+ }), E = W1(x).subscribe((y) => {
7571
7571
  const N = y.every((D) => D === !0);
7572
7572
  c((D) => ({
7573
7573
  ...D,
@@ -7576,23 +7576,23 @@ function qt({
7576
7576
  });
7577
7577
  _.push(E);
7578
7578
  } else if ((I = w.item) != null && I.hidden$) {
7579
- const S = w.item.hidden$.subscribe((E) => {
7579
+ const x = w.item.hidden$.subscribe((E) => {
7580
7580
  c((y) => ({
7581
7581
  ...y,
7582
7582
  [w.key]: E
7583
7583
  }));
7584
7584
  });
7585
- _.push(S);
7585
+ _.push(x);
7586
7586
  }
7587
7587
  }), () => {
7588
7588
  _.forEach((w) => w == null ? void 0 : w.unsubscribe()), c({});
7589
7589
  };
7590
7590
  }, [p]), t)
7591
- return /* @__PURE__ */ f(
7591
+ return /* @__PURE__ */ C(
7592
7592
  Hi,
7593
7593
  {
7594
7594
  disabled: o,
7595
- overlay: r.map((_, w) => /* @__PURE__ */ f(
7595
+ overlay: r.map((_, w) => /* @__PURE__ */ C(
7596
7596
  Ie,
7597
7597
  {
7598
7598
  value: n,
@@ -7612,7 +7612,7 @@ function qt({
7612
7612
  className: K({
7613
7613
  "focus:univer-bg-white": typeof w.label != "string" && ((I = w.label) == null ? void 0 : I.hoverable) === !1
7614
7614
  }),
7615
- children: /* @__PURE__ */ f(
7615
+ children: /* @__PURE__ */ C(
7616
7616
  Ie,
7617
7617
  {
7618
7618
  icon: w.icon,
@@ -7631,12 +7631,12 @@ function qt({
7631
7631
  });
7632
7632
  for (const w of L) {
7633
7633
  if (!w.item) continue;
7634
- const { title: I, id: S, commandId: E, icon: y } = w.item;
7634
+ const { title: I, id: x, commandId: E, icon: y } = w.item;
7635
7635
  if (!I)
7636
7636
  throw new Error("Menu item title is required");
7637
7637
  _.push({
7638
7638
  type: "item",
7639
- children: /* @__PURE__ */ f(
7639
+ children: /* @__PURE__ */ C(
7640
7640
  Ie,
7641
7641
  {
7642
7642
  icon: y,
@@ -7652,12 +7652,12 @@ function qt({
7652
7652
  onSelect: () => {
7653
7653
  s == null || s({
7654
7654
  commandId: E,
7655
- id: S
7655
+ id: x
7656
7656
  });
7657
7657
  }
7658
7658
  });
7659
7659
  }
7660
- return /* @__PURE__ */ f(
7660
+ return /* @__PURE__ */ C(
7661
7661
  V3,
7662
7662
  {
7663
7663
  align: "start",
@@ -7672,12 +7672,12 @@ function qt({
7672
7672
  const _ = [];
7673
7673
  for (const w of L)
7674
7674
  if (w.item) {
7675
- const { title: I, id: S, commandId: E, icon: y } = w.item;
7675
+ const { title: I, id: x, commandId: E, icon: y } = w.item;
7676
7676
  if (!I)
7677
7677
  throw new Error("Menu item title is required");
7678
7678
  _.push({
7679
7679
  type: "item",
7680
- children: /* @__PURE__ */ f(
7680
+ children: /* @__PURE__ */ C(
7681
7681
  Ie,
7682
7682
  {
7683
7683
  icon: y,
@@ -7693,12 +7693,12 @@ function qt({
7693
7693
  onSelect: () => {
7694
7694
  s == null || s({
7695
7695
  commandId: E,
7696
- id: S
7696
+ id: x
7697
7697
  });
7698
7698
  }
7699
7699
  });
7700
7700
  } else (O = w.children) != null && O.length;
7701
- return /* @__PURE__ */ f(
7701
+ return /* @__PURE__ */ C(
7702
7702
  V3,
7703
7703
  {
7704
7704
  align: "start",
@@ -7711,10 +7711,10 @@ function qt({
7711
7711
  );
7712
7712
  }
7713
7713
  }
7714
- const xe = H((e, t) => {
7715
- const n = P(m1), r = P(F1), i = P(k1), o = P(M1), { value: s, hidden: a, disabled: d, activated: C } = Ii(e), v = (X, U) => {
7714
+ const xe = S((e, t) => {
7715
+ const n = P(m1), r = P(F1), i = P(k1), o = P(M1), { value: s, hidden: a, disabled: d, activated: f } = Ii(e), v = (X, U) => {
7716
7716
  i.focus(), r.executeCommand(X, U);
7717
- }, { tooltip: c, shortcut: p, icon: L, title: M, label: O, id: _, commandId: w, type: I, slot: S, params: E } = e, y = n.t(c != null ? c : "") + (p ? ` (${p})` : ""), { selections: N } = e, D = G(() => Ee(N) ? N : new de((X) => {
7717
+ }, { tooltip: c, shortcut: p, icon: L, title: M, label: O, id: _, commandId: w, type: I, slot: x, params: E } = e, y = n.t(c != null ? c : "") + (p ? ` (${p})` : ""), { selections: N } = e, D = G(() => Ee(N) ? N : new de((X) => {
7718
7718
  X.next(N);
7719
7719
  }), [N]), k = r1(D), j = G(() => Ee(L) ? L : new de((X) => {
7720
7720
  var s1, f1;
@@ -7745,15 +7745,15 @@ const xe = H((e, t) => {
7745
7745
  "univer-pointer-events-none univer-cursor-not-allowed univer-text-gray-300 dark:!univer-text-gray-600": d
7746
7746
  }),
7747
7747
  children: [
7748
- /* @__PURE__ */ f(
7748
+ /* @__PURE__ */ C(
7749
7749
  "div",
7750
7750
  {
7751
7751
  className: K("univer-relative univer-z-[1] univer-flex univer-h-full univer-items-center univer-rounded-l univer-px-1 univer-transition-colors hover:univer-bg-gray-200 dark:hover:!univer-bg-gray-600", {
7752
- "univer-bg-gray-200 dark:!univer-bg-gray-500": C,
7753
- "univer-bg-gray-100": C && d
7752
+ "univer-bg-gray-200 dark:!univer-bg-gray-500": f,
7753
+ "univer-bg-gray-100": f && d
7754
7754
  }),
7755
7755
  onClick: X1,
7756
- children: /* @__PURE__ */ f(
7756
+ children: /* @__PURE__ */ C(
7757
7757
  L1,
7758
7758
  {
7759
7759
  icon: Q,
@@ -7765,36 +7765,36 @@ const xe = H((e, t) => {
7765
7765
  )
7766
7766
  }
7767
7767
  ),
7768
- /* @__PURE__ */ f(
7768
+ /* @__PURE__ */ C(
7769
7769
  qt,
7770
7770
  {
7771
7771
  menuId: _,
7772
- slot: S,
7772
+ slot: x,
7773
7773
  value: s,
7774
7774
  options: k,
7775
7775
  disabled: d,
7776
7776
  onOptionSelect: x1,
7777
- children: /* @__PURE__ */ f(
7777
+ children: /* @__PURE__ */ C(
7778
7778
  "div",
7779
7779
  {
7780
7780
  className: K("univer-absolute univer-right-0 univer-top-0 univer-box-border univer-flex univer-h-6 univer-w-5 univer-items-center univer-justify-center univer-rounded-r univer-transition-colors hover:univer-bg-gray-200 dark:hover:!univer-bg-gray-600", {
7781
7781
  "univer-pointer-events-none univer-cursor-not-allowed univer-text-gray-300 dark:!univer-text-gray-600": d,
7782
- "univer-bg-gray-200 dark:!univer-bg-gray-500": C,
7783
- "univer-bg-gray-100": C && d
7782
+ "univer-bg-gray-200 dark:!univer-bg-gray-500": f,
7783
+ "univer-bg-gray-100": f && d
7784
7784
  }),
7785
7785
  "data-disabled": d,
7786
- children: /* @__PURE__ */ f(he, {})
7786
+ children: /* @__PURE__ */ C(he, {})
7787
7787
  }
7788
7788
  )
7789
7789
  }
7790
7790
  )
7791
7791
  ]
7792
7792
  }
7793
- ) : /* @__PURE__ */ f(
7793
+ ) : /* @__PURE__ */ C(
7794
7794
  qt,
7795
7795
  {
7796
7796
  menuId: _,
7797
- slot: S,
7797
+ slot: x,
7798
7798
  value: s,
7799
7799
  options: k,
7800
7800
  disabled: d,
@@ -7806,11 +7806,11 @@ const xe = H((e, t) => {
7806
7806
  className: K("univer-animate-in univer-fade-in univer-relative univer-flex univer-h-6 univer-cursor-pointer univer-items-center univer-gap-2 univer-whitespace-nowrap univer-rounded univer-px-1 univer-transition-colors hover:univer-bg-gray-100 dark:hover:!univer-bg-gray-700", {
7807
7807
  "univer-text-gray-900 dark:!univer-text-white": !d,
7808
7808
  "univer-pointer-events-none univer-cursor-not-allowed univer-text-gray-300 dark:!univer-text-gray-600": d,
7809
- "univer-bg-gray-200": C,
7810
- "univer-bg-gray-100": C && d
7809
+ "univer-bg-gray-200": f,
7810
+ "univer-bg-gray-100": f && d
7811
7811
  }),
7812
7812
  children: [
7813
- /* @__PURE__ */ f(
7813
+ /* @__PURE__ */ C(
7814
7814
  L1,
7815
7815
  {
7816
7816
  icon: Q,
@@ -7820,13 +7820,13 @@ const xe = H((e, t) => {
7820
7820
  onChange: E1
7821
7821
  }
7822
7822
  ),
7823
- /* @__PURE__ */ f(
7823
+ /* @__PURE__ */ C(
7824
7824
  "div",
7825
7825
  {
7826
7826
  className: K("univer-flex univer-h-full univer-items-center", {
7827
7827
  "univer-pointer-events-none univer-cursor-not-allowed univer-text-gray-300 dark:!univer-text-gray-600": d
7828
7828
  }),
7829
- children: /* @__PURE__ */ f(he, {})
7829
+ children: /* @__PURE__ */ C(he, {})
7830
7830
  }
7831
7831
  )
7832
7832
  ]
@@ -7838,20 +7838,20 @@ const xe = H((e, t) => {
7838
7838
  function i1() {
7839
7839
  var s1;
7840
7840
  const X = o.get(typeof O == "string" ? O : (s1 = O == null ? void 0 : O.name) != null ? s1 : ""), U = (s != null ? s : typeof E == "function") ? E() : E;
7841
- return /* @__PURE__ */ f(
7841
+ return /* @__PURE__ */ C(
7842
7842
  Mi,
7843
7843
  {
7844
7844
  "data-u-command": _,
7845
7845
  className: "univer-text-sm",
7846
7846
  noIcon: !L,
7847
- active: C,
7847
+ active: f,
7848
7848
  disabled: d,
7849
7849
  onClick: () => {
7850
7850
  var f1;
7851
7851
  return v((f1 = e.commandId) != null ? f1 : e.id, U);
7852
7852
  },
7853
7853
  onDoubleClick: () => e.subId && v(e.subId),
7854
- children: X ? /* @__PURE__ */ f(L1, { title: M, value: s, label: O }) : L ? /* @__PURE__ */ f(L1, { icon: L }) : /* @__PURE__ */ f(L1, { title: M })
7854
+ children: X ? /* @__PURE__ */ C(L1, { title: M, value: s, label: O }) : L ? /* @__PURE__ */ C(L1, { icon: L }) : /* @__PURE__ */ C(L1, { title: M })
7855
7855
  }
7856
7856
  );
7857
7857
  }
@@ -7866,7 +7866,7 @@ const xe = H((e, t) => {
7866
7866
  return i1();
7867
7867
  }
7868
7868
  }
7869
- return !a && /* @__PURE__ */ f(
7869
+ return !a && /* @__PURE__ */ C(
7870
7870
  xi,
7871
7871
  {
7872
7872
  ref: t,
@@ -7877,14 +7877,14 @@ const xe = H((e, t) => {
7877
7877
  );
7878
7878
  });
7879
7879
  function Si(e) {
7880
- const { ribbonType: t, headerMenuComponents: n, headerMenu: r = !0 } = e, i = P(rr), o = P(m1), s = J(null), a = J({}), d = r1(i.ribbon$, []), C = r1(i.activatedTab$, p1.START), v = r1(i.collapsedIds$, []), c = r1(i.fakeToolbarVisible$, !1), p = G(() => {
7880
+ const { ribbonType: t, headerMenuComponents: n, headerMenu: r = !0 } = e, i = P(rr), o = P(m1), s = J(null), a = J({}), d = r1(i.ribbon$, []), f = r1(i.activatedTab$, p1.START), v = r1(i.collapsedIds$, []), c = r1(i.fakeToolbarVisible$, !1), p = G(() => {
7881
7881
  if (t === "simple") {
7882
7882
  const _ = [{ key: p1.START, children: [], order: 0 }];
7883
7883
  return d.forEach((w) => {
7884
7884
  var I;
7885
- (I = w.children) == null || I.forEach((S) => {
7885
+ (I = w.children) == null || I.forEach((x) => {
7886
7886
  var E;
7887
- (E = _[0].children) == null || E.push(S);
7887
+ (E = _[0].children) == null || E.push(x);
7888
7888
  });
7889
7889
  }), _;
7890
7890
  }
@@ -7892,8 +7892,8 @@ function Si(e) {
7892
7892
  }, [t, d]), L = Ke((_) => {
7893
7893
  a.current = {}, i.setActivatedTab(_.key);
7894
7894
  }, []), M = G(() => {
7895
- var S, E;
7896
- const _ = (E = (S = p.find((y) => y.key === C)) == null ? void 0 : S.children) != null ? E : [], w = [], I = [];
7895
+ var x, E;
7896
+ const _ = (E = (x = p.find((y) => y.key === f)) == null ? void 0 : x.children) != null ? E : [], w = [], I = [];
7897
7897
  for (const y of _)
7898
7898
  if (y.children) {
7899
7899
  const N = y.children.filter((D) => !v.includes(D.key));
@@ -7910,16 +7910,16 @@ function Si(e) {
7910
7910
  visibleGroups: w,
7911
7911
  hiddenGroups: I
7912
7912
  };
7913
- }, [v, p, C]);
7913
+ }, [v, p, f]);
7914
7914
  W(() => {
7915
7915
  let _ = null;
7916
7916
  const w = new ResizeObserver(M2((I) => {
7917
- for (const S of I)
7917
+ for (const x of I)
7918
7918
  i.setFakeToolbarVisible(!0), _ = requestAnimationFrame(() => {
7919
7919
  var n1, i1;
7920
- const { width: E } = S.contentRect, N = Object.values(a.current).sort((o1, X) => o1.order - X.order || o1.groupOrder - X.groupOrder || o1.itemOrder - X.itemOrder), D = [];
7920
+ const { width: E } = x.contentRect, N = Object.values(a.current).sort((o1, X) => o1.order - X.order || o1.groupOrder - X.groupOrder || o1.itemOrder - X.itemOrder), D = [];
7921
7921
  let k = 32;
7922
- const Q = (((i1 = (n1 = p.find((o1) => o1.key === C)) == null ? void 0 : n1.children) != null ? i1 : []).length - 1) * 8;
7922
+ const Q = (((i1 = (n1 = p.find((o1) => o1.key === f)) == null ? void 0 : n1.children) != null ? i1 : []).length - 1) * 8;
7923
7923
  k += Q;
7924
7924
  for (const { el: o1, key: X } of N) {
7925
7925
  const { width: U } = o1.getBoundingClientRect();
@@ -7931,8 +7931,8 @@ function Si(e) {
7931
7931
  return w.observe(s.current), () => {
7932
7932
  _ && cancelAnimationFrame(_), w.disconnect();
7933
7933
  };
7934
- }, [p, C]);
7935
- const O = G(() => /* @__PURE__ */ f(
7934
+ }, [p, f]);
7935
+ const O = G(() => /* @__PURE__ */ C(
7936
7936
  "div",
7937
7937
  {
7938
7938
  "aria-hidden": "true",
@@ -7940,8 +7940,8 @@ function Si(e) {
7940
7940
  "univer-hidden": !c
7941
7941
  }, Tt, Ne),
7942
7942
  children: M.allGroups.map((_, w) => {
7943
- var I, S;
7944
- return (((I = _.children) == null ? void 0 : I.length) || _.item) && /* @__PURE__ */ f(Nt, { children: /* @__PURE__ */ f("div", { className: "univer-grid univer-shrink-0 univer-grid-flow-col univer-gap-2 univer-px-2", children: _.children && ((S = _.children) == null ? void 0 : S.map((E) => E.item && /* @__PURE__ */ f(
7943
+ var I, x;
7944
+ return (((I = _.children) == null ? void 0 : I.length) || _.item) && /* @__PURE__ */ C(Nt, { children: /* @__PURE__ */ C("div", { className: "univer-grid univer-shrink-0 univer-grid-flow-col univer-gap-2 univer-px-2", children: _.children && ((x = _.children) == null ? void 0 : x.map((E) => E.item && /* @__PURE__ */ C(
7945
7945
  xe,
7946
7946
  {
7947
7947
  ...E.item,
@@ -7969,19 +7969,19 @@ function Si(e) {
7969
7969
  "univer-h-9": t === "classic" || n && n.size > 0
7970
7970
  }),
7971
7971
  children: [
7972
- t === "classic" && p.length > 1 && /* @__PURE__ */ f(
7972
+ t === "classic" && p.length > 1 && /* @__PURE__ */ C(
7973
7973
  wi,
7974
7974
  {
7975
7975
  ribbon: p,
7976
- activatedTab: C,
7976
+ activatedTab: f,
7977
7977
  onSelectTab: L
7978
7978
  }
7979
7979
  ),
7980
- r && n && n.size > 0 && /* @__PURE__ */ f(
7980
+ r && n && n.size > 0 && /* @__PURE__ */ C(
7981
7981
  "div",
7982
7982
  {
7983
7983
  className: "univer-absolute univer-right-2 univer-top-0 univer-flex univer-h-full univer-items-center univer-gap-2 [&>*]:univer-inline-flex [&>*]:univer-h-6 [&>*]:univer-items-center [&>*]:univer-rounded [&>*]:univer-px-1 [&>*]:univer-transition-colors hover:[&>*]:univer-bg-gray-100",
7984
- children: /* @__PURE__ */ f(y1, { components: n })
7984
+ children: /* @__PURE__ */ C(y1, { components: n })
7985
7985
  }
7986
7986
  )
7987
7987
  ]
@@ -7990,17 +7990,17 @@ function Si(e) {
7990
7990
  /* @__PURE__ */ q(
7991
7991
  "div",
7992
7992
  {
7993
- className: K("univer-box-border univer-grid univer-h-10 univer-grid-flow-col univer-items-center univer-px-3", {
7993
+ className: K("univer-box-border univer-grid univer-h-10 univer-grid-flow-col univer-items-center univer-px-3 univer-text-sm", {
7994
7994
  "univer-grid-cols-[1fr] univer-justify-center": t === "classic",
7995
7995
  "univer-grid-cols-[auto,1fr]": p.length > 1 && t !== "classic",
7996
7996
  "univer-grid-cols-none": p.length === 1
7997
7997
  }, Ne),
7998
7998
  children: [
7999
- t === "default" && p.length > 1 && /* @__PURE__ */ f(
7999
+ t === "default" && p.length > 1 && /* @__PURE__ */ C(
8000
8000
  _i,
8001
8001
  {
8002
8002
  ribbon: p,
8003
- activatedTab: C,
8003
+ activatedTab: f,
8004
8004
  onSelectTab: L
8005
8005
  }
8006
8006
  ),
@@ -8013,47 +8013,47 @@ function Si(e) {
8013
8013
  "univer-justify-center": t === "classic"
8014
8014
  }),
8015
8015
  role: "toolbar",
8016
- "aria-label": o.t(C),
8016
+ "aria-label": o.t(f),
8017
8017
  children: [
8018
8018
  M.visibleGroups.map((_) => {
8019
8019
  var w, I;
8020
- return (((w = _.children) == null ? void 0 : w.length) || _.item) && /* @__PURE__ */ f(Nt, { children: /* @__PURE__ */ f("div", { className: "univer-grid univer-shrink-0 univer-grid-flow-col univer-gap-2 univer-px-2", children: _.children && ((I = _.children) == null ? void 0 : I.map((S) => S.item && /* @__PURE__ */ f(xe, { ...S.item }, S.key))) }) }, _.key);
8020
+ return (((w = _.children) == null ? void 0 : w.length) || _.item) && /* @__PURE__ */ C(Nt, { children: /* @__PURE__ */ C("div", { className: "univer-grid univer-shrink-0 univer-grid-flow-col univer-gap-2 univer-px-2", children: _.children && ((I = _.children) == null ? void 0 : I.map((x) => x.item && /* @__PURE__ */ C(xe, { ...x.item }, x.key))) }) }, _.key);
8021
8021
  }),
8022
- v.length > 0 && /* @__PURE__ */ f(
8022
+ v.length > 0 && /* @__PURE__ */ C(
8023
8023
  "div",
8024
8024
  {
8025
8025
  "data-u-comp": "ribbon-toolbar-more",
8026
8026
  className: "univer-pl-2 rtl:univer-pr-2",
8027
- children: /* @__PURE__ */ f(
8027
+ children: /* @__PURE__ */ C(
8028
8028
  x9,
8029
8029
  {
8030
8030
  collisionPadding: { right: 12, left: 12 },
8031
8031
  onOpenAutoFocus: (_) => _.preventDefault(),
8032
- overlay: /* @__PURE__ */ f(
8032
+ overlay: /* @__PURE__ */ C(
8033
8033
  "div",
8034
8034
  {
8035
8035
  className: "univer-box-border univer-grid univer-max-w-[var(--radix-popper-available-width)] univer-gap-2 univer-p-2",
8036
8036
  children: M.hiddenGroups.map((_) => {
8037
8037
  var w;
8038
- return /* @__PURE__ */ f(
8038
+ return /* @__PURE__ */ C(
8039
8039
  "div",
8040
8040
  {
8041
8041
  className: "univer-flex univer-items-center univer-gap-2",
8042
- children: /* @__PURE__ */ f("div", { className: "univer-flex univer-flex-wrap univer-gap-2", children: _.children ? (w = _.children) == null ? void 0 : w.map((I) => I.item && /* @__PURE__ */ f(xe, { ...I.item }, I.key)) : _.item && /* @__PURE__ */ f(xe, { ..._.item }, _.key) })
8042
+ children: /* @__PURE__ */ C("div", { className: "univer-flex univer-flex-wrap univer-gap-2", children: _.children ? (w = _.children) == null ? void 0 : w.map((I) => I.item && /* @__PURE__ */ C(xe, { ...I.item }, I.key)) : _.item && /* @__PURE__ */ C(xe, { ..._.item }, _.key) })
8043
8043
  },
8044
8044
  _.key
8045
8045
  );
8046
8046
  })
8047
8047
  }
8048
8048
  ),
8049
- children: /* @__PURE__ */ f(
8049
+ children: /* @__PURE__ */ C(
8050
8050
  "button",
8051
8051
  {
8052
8052
  type: "button",
8053
8053
  className: ir,
8054
8054
  "aria-label": o.t("ribbon.more"),
8055
8055
  "aria-haspopup": "true",
8056
- children: /* @__PURE__ */ f(Q3, {})
8056
+ children: /* @__PURE__ */ C(Q3, {})
8057
8057
  }
8058
8058
  )
8059
8059
  }
@@ -8076,14 +8076,14 @@ class r3 extends d1 {
8076
8076
  }
8077
8077
  injectThemeToHead(n) {
8078
8078
  function r(a, d = "--univer") {
8079
- const C = [];
8079
+ const f = [];
8080
8080
  function v(c, p = "") {
8081
8081
  for (const L in c) {
8082
8082
  const M = c[L], O = p ? `${p}-${L}` : L;
8083
- typeof M == "object" && M !== null ? v(M, O) : C.push(`${d}-${O}: ${M};`);
8083
+ typeof M == "object" && M !== null ? v(M, O) : f.push(`${d}-${O}: ${M};`);
8084
8084
  }
8085
8085
  }
8086
- return v(a), C.join(`
8086
+ return v(a), f.join(`
8087
8087
  `);
8088
8088
  }
8089
8089
  const i = r(n), o = document.getElementById(this._styleSheetId);
@@ -8129,7 +8129,7 @@ class or extends d1 {
8129
8129
  }
8130
8130
  }
8131
8131
  function Ri() {
8132
- const e = J(null), [t, n] = z(!1), [r, i] = z(""), [o, s] = z([0, 0]), a = J(t), d = P(i3), C = P(F1), v = A2();
8132
+ const e = J(null), [t, n] = z(!1), [r, i] = z(""), [o, s] = z([0, 0]), a = J(t), d = P(i3), f = P(F1), v = A2();
8133
8133
  a.current = t, W(() => {
8134
8134
  const L = d.registerContextMenuHandler({
8135
8135
  handleContextMenu: c,
@@ -8155,13 +8155,13 @@ function Ri() {
8155
8155
  function p() {
8156
8156
  n(!1);
8157
8157
  }
8158
- return /* @__PURE__ */ f(H9, { visible: t, offset: o, children: /* @__PURE__ */ f("section", { ref: e, children: r && /* @__PURE__ */ f(
8158
+ return /* @__PURE__ */ C(H9, { visible: t, offset: o, children: /* @__PURE__ */ C("section", { ref: e, children: r && /* @__PURE__ */ C(
8159
8159
  X5,
8160
8160
  {
8161
8161
  menuType: r,
8162
8162
  onOptionSelect: (L) => {
8163
8163
  const { label: M, commandId: O, value: _ } = L;
8164
- C && C.executeCommand(O != null ? O : M, { value: _ }), v.get(k1).focus(), n(!1);
8164
+ f && f.executeCommand(O != null ? O : M, { value: _ }), v.get(k1).focus(), n(!1);
8165
8165
  }
8166
8166
  }
8167
8167
  ) }) });
@@ -8180,7 +8180,7 @@ function sr() {
8180
8180
  return () => {
8181
8181
  s.unsubscribe();
8182
8182
  };
8183
- }, [e.visible$]), t ? /* @__PURE__ */ f(
8183
+ }, [e.visible$]), t ? /* @__PURE__ */ C(
8184
8184
  "section",
8185
8185
  {
8186
8186
  className: K(
@@ -8190,7 +8190,7 @@ function sr() {
8190
8190
  "univer-inset-0 univer-z-[100] univer-block univer-size-full": t
8191
8191
  }
8192
8192
  ),
8193
- children: o && /* @__PURE__ */ f(o, {})
8193
+ children: o && /* @__PURE__ */ C(o, {})
8194
8194
  }
8195
8195
  ) : null;
8196
8196
  }
@@ -8202,8 +8202,8 @@ function lr() {
8202
8202
  for (const a of ["children", "header", "footer"]) {
8203
8203
  const d = a;
8204
8204
  if (t[d]) {
8205
- const { key: C, ...v } = t[d];
8206
- v && (s[d] = /* @__PURE__ */ f(L1, { ...v }, C));
8205
+ const { key: f, ...v } = t[d];
8206
+ v && (s[d] = /* @__PURE__ */ C(L1, { ...v }, f));
8207
8207
  }
8208
8208
  }
8209
8209
  return s;
@@ -8227,7 +8227,7 @@ function lr() {
8227
8227
  };
8228
8228
  e.options.visible = !1, e.sidebarOptions$.next(s), (a = s == null ? void 0 : s.onClose) == null || a.call(s);
8229
8229
  }
8230
- return /* @__PURE__ */ f(
8230
+ return /* @__PURE__ */ C(
8231
8231
  "section",
8232
8232
  {
8233
8233
  "data-u-comp": "sidebar",
@@ -8248,19 +8248,19 @@ function lr() {
8248
8248
  className: "univer-sticky univer-top-0 univer-z-10 univer-box-border univer-flex univer-items-center univer-justify-between univer-bg-white univer-p-4 univer-pb-2 univer-text-base univer-font-medium univer-text-gray-800 dark:!univer-bg-gray-900 dark:!univer-text-white",
8249
8249
  children: [
8250
8250
  r == null ? void 0 : r.header,
8251
- /* @__PURE__ */ f(
8251
+ /* @__PURE__ */ C(
8252
8252
  "a",
8253
8253
  {
8254
8254
  className: "univer-cursor-pointer univer-text-gray-500 dark:!univer-text-gray-300",
8255
8255
  onClick: o,
8256
- children: /* @__PURE__ */ f(q3, {})
8256
+ children: /* @__PURE__ */ C(q3, {})
8257
8257
  }
8258
8258
  )
8259
8259
  ]
8260
8260
  }
8261
8261
  ),
8262
- /* @__PURE__ */ f("section", { className: "univer-box-border univer-px-4", style: r == null ? void 0 : r.bodyStyle, children: r == null ? void 0 : r.children }),
8263
- (r == null ? void 0 : r.footer) && /* @__PURE__ */ f(
8262
+ /* @__PURE__ */ C("section", { className: "univer-box-border univer-px-4", style: r == null ? void 0 : r.bodyStyle, children: r == null ? void 0 : r.children }),
8263
+ (r == null ? void 0 : r.footer) && /* @__PURE__ */ C(
8264
8264
  "footer",
8265
8265
  {
8266
8266
  className: "univer-sticky univer-bottom-0 univer-box-border univer-bg-white univer-p-4 dark:!univer-bg-gray-900",
@@ -8278,16 +8278,16 @@ function ar() {
8278
8278
  const e = P(at), [t, n] = z(!1), [r, i] = z(), o = r1(e.temporaryHidden$), s = P(M1);
8279
8279
  W(() => {
8280
8280
  const d = [
8281
- e.visible$.subscribe((C) => {
8282
- n(C);
8281
+ e.visible$.subscribe((f) => {
8282
+ n(f);
8283
8283
  }),
8284
- e.componentKey$.subscribe((C) => {
8285
- i(C);
8284
+ e.componentKey$.subscribe((f) => {
8285
+ i(f);
8286
8286
  })
8287
8287
  ];
8288
8288
  return () => {
8289
- d.forEach((C) => {
8290
- C.unsubscribe();
8289
+ d.forEach((f) => {
8290
+ f.unsubscribe();
8291
8291
  });
8292
8292
  };
8293
8293
  }, []);
@@ -8296,20 +8296,20 @@ function ar() {
8296
8296
  if (d)
8297
8297
  return d;
8298
8298
  }, [r]);
8299
- return /* @__PURE__ */ f(
8299
+ return /* @__PURE__ */ C(
8300
8300
  "section",
8301
8301
  {
8302
8302
  className: K("univer-absolute univer-z-[-1] univer-flex", {
8303
8303
  "univer-animate-in univer-fade-in univer-inset-0 univer-z-[100] univer-bg-gray-100": t,
8304
8304
  "univer-hidden": o
8305
8305
  }),
8306
- children: /* @__PURE__ */ f("div", { className: "univer-relative univer-flex-1", children: a && /* @__PURE__ */ f(a, {}) })
8306
+ children: /* @__PURE__ */ C("div", { className: "univer-relative univer-flex-1", children: a && /* @__PURE__ */ C(a, {}) })
8307
8307
  }
8308
8308
  );
8309
8309
  }
8310
8310
  function Vi(e) {
8311
8311
  const t = V5(ie);
8312
- return /* @__PURE__ */ f(Oi, { ...e, ...t });
8312
+ return /* @__PURE__ */ C(Oi, { ...e, ...t });
8313
8313
  }
8314
8314
  function Oi(e) {
8315
8315
  var o1;
@@ -8322,7 +8322,7 @@ function Oi(e) {
8322
8322
  ribbonType: s = "default",
8323
8323
  mountContainer: a,
8324
8324
  onRendered: d
8325
- } = e, C = P(m1), v = P(z3), c = P(r3), p = J(null), M = P(Y1).getConfig(ie), O = w1(a1.CUSTOM_HEADER), _ = w1(a1.FOOTER), w = w1(a1.HEADER), I = w1(a1.HEADER_MENU), S = w1(a1.CONTENT), E = w1(a1.LEFT_SIDEBAR), y = w1(a1.GLOBAL), N = w1(a1.TOOLBAR), D = (o1 = M == null ? void 0 : M.popupRootId) != null ? o1 : "univer-popup-portal";
8325
+ } = e, f = P(m1), v = P(z3), c = P(r3), p = J(null), M = P(Y1).getConfig(ie), O = w1(a1.CUSTOM_HEADER), _ = w1(a1.FOOTER), w = w1(a1.HEADER), I = w1(a1.HEADER_MENU), x = w1(a1.CONTENT), E = w1(a1.LEFT_SIDEBAR), y = w1(a1.GLOBAL), N = w1(a1.TOOLBAR), D = (o1 = M == null ? void 0 : M.popupRootId) != null ? o1 : "univer-popup-portal";
8326
8326
  R3(() => {
8327
8327
  const X = v.currentTheme$.subscribe((U) => {
8328
8328
  c.injectThemeToHead(U);
@@ -8342,18 +8342,18 @@ function Oi(e) {
8342
8342
  }, []), W(() => {
8343
8343
  p.current && (d == null || d(p.current));
8344
8344
  }, [d]);
8345
- const [Q, n1] = z(C.getLocales()), i1 = G(() => document.createElement("div"), []);
8345
+ const [Q, n1] = z(f.getLocales()), i1 = G(() => document.createElement("div"), []);
8346
8346
  return W(() => {
8347
8347
  document.body.appendChild(i1);
8348
8348
  const X = [
8349
- C.localeChanged$.subscribe(() => {
8350
- n1(C.getLocales());
8349
+ f.localeChanged$.subscribe(() => {
8350
+ n1(f.getLocales());
8351
8351
  })
8352
8352
  ];
8353
8353
  return () => {
8354
8354
  X.forEach((U) => U.unsubscribe()), document.body.removeChild(i1);
8355
8355
  };
8356
- }, [C, a, i1]), /* @__PURE__ */ q(S9, { locale: Q == null ? void 0 : Q.design, mountContainer: i1, children: [
8356
+ }, [f, a, i1]), /* @__PURE__ */ q(S9, { locale: Q == null ? void 0 : Q.design, mountContainer: i1, children: [
8357
8357
  /* @__PURE__ */ q(
8358
8358
  "div",
8359
8359
  {
@@ -8365,19 +8365,19 @@ function Oi(e) {
8365
8365
  onBlur: (X) => X.stopPropagation(),
8366
8366
  onContextMenu: (X) => X.preventDefault(),
8367
8367
  children: [
8368
- /* @__PURE__ */ f(
8368
+ /* @__PURE__ */ C(
8369
8369
  "div",
8370
8370
  {
8371
8371
  className: "univer-relative univer-flex univer-min-h-0 univer-flex-col univer-bg-white dark:!univer-bg-gray-800",
8372
- children: /* @__PURE__ */ f(y1, { components: O }, "custom-header")
8372
+ children: /* @__PURE__ */ C(y1, { components: O }, "custom-header")
8373
8373
  }
8374
8374
  ),
8375
- t && n && /* @__PURE__ */ f(
8375
+ t && n && /* @__PURE__ */ C(
8376
8376
  "header",
8377
8377
  {
8378
8378
  "data-u-comp": "headerbar",
8379
8379
  className: "univer-relative univer-z-10 univer-w-full univer-overflow-hidden",
8380
- children: /* @__PURE__ */ f(
8380
+ children: /* @__PURE__ */ C(
8381
8381
  y1,
8382
8382
  {
8383
8383
  components: N,
@@ -8397,46 +8397,46 @@ function Oi(e) {
8397
8397
  {
8398
8398
  className: "univer-grid univer-h-full univer-grid-cols-[auto_1fr_auto] univer-grid-rows-[100%] univer-overflow-hidden",
8399
8399
  children: [
8400
- /* @__PURE__ */ f("aside", { "data-u-comp": "left-sidebar", className: "univer-h-full", children: /* @__PURE__ */ f(y1, { components: E }, "left-sidebar") }),
8400
+ /* @__PURE__ */ C("aside", { "data-u-comp": "left-sidebar", className: "univer-h-full", children: /* @__PURE__ */ C(y1, { components: E }, "left-sidebar") }),
8401
8401
  /* @__PURE__ */ q(
8402
8402
  "section",
8403
8403
  {
8404
8404
  className: K("univer-relative univer-grid univer-flex-1 univer-grid-rows-[auto_1fr] univer-overflow-hidden univer-bg-white dark:!univer-bg-gray-800", Ne),
8405
8405
  children: [
8406
- /* @__PURE__ */ f("header", { children: t && /* @__PURE__ */ f(y1, { components: w }, "header") }),
8407
- /* @__PURE__ */ f(
8406
+ /* @__PURE__ */ C("header", { children: t && /* @__PURE__ */ C(y1, { components: w }, "header") }),
8407
+ /* @__PURE__ */ C(
8408
8408
  "section",
8409
8409
  {
8410
8410
  className: "univer-relative univer-overflow-hidden dark:!univer-bg-gray-900",
8411
8411
  ref: p,
8412
8412
  "data-range-selector": !0,
8413
8413
  onContextMenu: (X) => X.preventDefault(),
8414
- children: /* @__PURE__ */ f(y1, { components: S }, "content")
8414
+ children: /* @__PURE__ */ C(y1, { components: x }, "content")
8415
8415
  }
8416
8416
  )
8417
8417
  ]
8418
8418
  }
8419
8419
  ),
8420
- /* @__PURE__ */ f("aside", { "data-u-comp": "right-sidebar", className: "univer-z-[100] univer-h-full", children: /* @__PURE__ */ f(lr, {}) })
8420
+ /* @__PURE__ */ C("aside", { "data-u-comp": "right-sidebar", className: "univer-z-[100] univer-h-full", children: /* @__PURE__ */ C(lr, {}) })
8421
8421
  ]
8422
8422
  }
8423
8423
  ),
8424
- r && /* @__PURE__ */ f("footer", { children: /* @__PURE__ */ f(y1, { components: _, sharedProps: { contextMenu: o } }, "footer") }),
8425
- /* @__PURE__ */ f(ar, {})
8424
+ r && /* @__PURE__ */ C("footer", { children: /* @__PURE__ */ C(y1, { components: _, sharedProps: { contextMenu: o } }, "footer") }),
8425
+ /* @__PURE__ */ C(ar, {})
8426
8426
  ] })
8427
8427
  ]
8428
8428
  }
8429
8429
  ),
8430
- /* @__PURE__ */ f(y1, { components: y }, "global"),
8431
- /* @__PURE__ */ f(sr, {}),
8432
- o && /* @__PURE__ */ f(Ri, {}),
8433
- /* @__PURE__ */ f($i, {}),
8434
- /* @__PURE__ */ f("div", { id: D })
8430
+ /* @__PURE__ */ C(y1, { components: y }, "global"),
8431
+ /* @__PURE__ */ C(sr, {}),
8432
+ o && /* @__PURE__ */ C(Ri, {}),
8433
+ /* @__PURE__ */ C($i, {}),
8434
+ /* @__PURE__ */ C("div", { id: D })
8435
8435
  ] });
8436
8436
  }
8437
8437
  function $i() {
8438
8438
  const { mountContainer: e } = e3(J2), t = w1(a1.FLOATING);
8439
- return E9(/* @__PURE__ */ f(y1, { components: t }, "floating"), e);
8439
+ return E9(/* @__PURE__ */ C(y1, { components: t }, "floating"), e);
8440
8440
  }
8441
8441
  const Ei = 3e3;
8442
8442
  class cr extends d1 {
@@ -8540,7 +8540,7 @@ function Ti(e, t, n) {
8540
8540
  const o = R1(Vi, e), s = (d) => n(d, r);
8541
8541
  function a() {
8542
8542
  V9(
8543
- /* @__PURE__ */ f(
8543
+ /* @__PURE__ */ C(
8544
8544
  o,
8545
8545
  {
8546
8546
  ...t,
@@ -8567,18 +8567,18 @@ function Zi(e) {
8567
8567
  const i = G(() => {
8568
8568
  const o = r.getMenuByPositionKey(t);
8569
8569
  function s(a) {
8570
- return a.reduce((d, C) => C.children ? [...d, ...s(C.children)] : [...d, C], []);
8570
+ return a.reduce((d, f) => f.children ? [...d, ...s(f.children)] : [...d, f], []);
8571
8571
  }
8572
8572
  return s(o);
8573
8573
  }, [t]);
8574
- return /* @__PURE__ */ f(
8574
+ return /* @__PURE__ */ C(
8575
8575
  "div",
8576
8576
  {
8577
8577
  className: "univer-box-border univer-grid univer-min-w-8 univer-max-w-52 univer-gap-1 univer-rounded univer-bg-gray-900 univer-px-2 univer-py-1",
8578
8578
  style: {
8579
8579
  gridTemplateColumns: `repeat(${Math.min(2, i.length)}, 72px)`
8580
8580
  },
8581
- children: i.map((o) => o.item && /* @__PURE__ */ f(
8581
+ children: i.map((o) => o.item && /* @__PURE__ */ C(
8582
8582
  Ai,
8583
8583
  {
8584
8584
  menuItem: o.item,
@@ -8593,15 +8593,15 @@ function Ai(e) {
8593
8593
  const { menuItem: t, onClick: n } = e, { id: r, type: i, title: o, label: s, icon: a } = t;
8594
8594
  if (i !== _1.BUTTON)
8595
8595
  throw new Error(`[MobileMenuItem]: on mobile devices only "BUTTON" type menu items are supported. Please check "${r}".`);
8596
- const d = r1(t.disabled$, !1), C = r1(t.value$);
8597
- return /* @__PURE__ */ f(
8596
+ const d = r1(t.disabled$, !1), f = r1(t.value$);
8597
+ return /* @__PURE__ */ C(
8598
8598
  "button",
8599
8599
  {
8600
8600
  type: "button",
8601
8601
  className: K("univer-w-18 univer-flex univer-flex-col univer-items-center univer-justify-center univer-border-none univer-bg-transparent univer-text-white [&>span]:univer-mt-0.5 [&>span]:univer-w-full [&>span]:univer-truncate [&>span]:univer-text-sm [&>svg]:univer-size-[18px] [&>svg]:univer-text-lg"),
8602
8602
  disabled: d,
8603
8603
  onClick: () => n({ id: r }),
8604
- children: /* @__PURE__ */ f(L1, { value: C, title: o, label: s, icon: a })
8604
+ children: /* @__PURE__ */ C(L1, { value: f, title: o, label: s, icon: a })
8605
8605
  },
8606
8606
  r
8607
8607
  );
@@ -8610,7 +8610,7 @@ function Bi() {
8610
8610
  const [e, t] = z(!1), [n, r] = z(""), [i, o] = z([0, 0]), s = J(e), a = P(i3), d = P(F1);
8611
8611
  s.current = e, W(() => {
8612
8612
  const c = a.registerContextMenuHandler({
8613
- handleContextMenu: C,
8613
+ handleContextMenu: f,
8614
8614
  hideContextMenu() {
8615
8615
  t(!1);
8616
8616
  },
@@ -8622,14 +8622,14 @@ function Bi() {
8622
8622
  document.removeEventListener("pointerdown", v), document.removeEventListener("wheel", v), c.dispose();
8623
8623
  };
8624
8624
  }, [a]);
8625
- function C(c, p) {
8625
+ function f(c, p) {
8626
8626
  r(p), o([c.clientX, c.clientY]), t(!0);
8627
8627
  }
8628
8628
  function v() {
8629
8629
  t(!1);
8630
8630
  }
8631
- return /* @__PURE__ */ f(H9, { visible: e, offset: i, children: /* @__PURE__ */ f("section", { onPointerDown: (c) => c.stopPropagation(), children: n && // TODO@wzhudev: change to mobile menu
8632
- /* @__PURE__ */ f(
8631
+ return /* @__PURE__ */ C(H9, { visible: e, offset: i, children: /* @__PURE__ */ C("section", { onPointerDown: (c) => c.stopPropagation(), children: n && // TODO@wzhudev: change to mobile menu
8632
+ /* @__PURE__ */ C(
8633
8633
  Zi,
8634
8634
  {
8635
8635
  menuType: n,
@@ -8647,7 +8647,7 @@ function Pi(e) {
8647
8647
  contextMenu: r = !0,
8648
8648
  mountContainer: i,
8649
8649
  onRendered: o
8650
- } = e, s = P(m1), a = P(z3), d = P(r3), C = J(null), v = w1(a1.FOOTER), c = w1(a1.HEADER), p = w1(a1.CONTENT), L = w1(a1.LEFT_SIDEBAR), M = w1(a1.GLOBAL), [O, _] = z(!1);
8650
+ } = e, s = P(m1), a = P(z3), d = P(r3), f = J(null), v = w1(a1.FOOTER), c = w1(a1.HEADER), p = w1(a1.CONTENT), L = w1(a1.LEFT_SIDEBAR), M = w1(a1.GLOBAL), [O, _] = z(!1);
8651
8651
  W(() => {
8652
8652
  const E = a.darkMode$.subscribe((y) => {
8653
8653
  _(y);
@@ -8656,9 +8656,9 @@ function Pi(e) {
8656
8656
  E.unsubscribe();
8657
8657
  };
8658
8658
  }, []), W(() => {
8659
- C.current && (o == null || o(C.current));
8659
+ f.current && (o == null || o(f.current));
8660
8660
  }, [o]);
8661
- const [w, I] = z(s.getLocales()), S = G(() => document.createElement("div"), []);
8661
+ const [w, I] = z(s.getLocales()), x = G(() => document.createElement("div"), []);
8662
8662
  return R3(() => {
8663
8663
  const E = a.currentTheme$.subscribe((y) => {
8664
8664
  d.injectThemeToHead(y);
@@ -8667,16 +8667,16 @@ function Pi(e) {
8667
8667
  E.unsubscribe();
8668
8668
  };
8669
8669
  }, []), W(() => {
8670
- document.body.appendChild(S);
8670
+ document.body.appendChild(x);
8671
8671
  const E = [
8672
8672
  s.localeChanged$.subscribe(() => {
8673
8673
  I(s.getLocales());
8674
8674
  })
8675
8675
  ];
8676
8676
  return () => {
8677
- E.forEach((y) => y.unsubscribe()), document.body.removeChild(S);
8677
+ E.forEach((y) => y.unsubscribe()), document.body.removeChild(x);
8678
8678
  };
8679
- }, [s, i, S]), /* @__PURE__ */ q(S9, { locale: w == null ? void 0 : w.design, mountContainer: S, children: [
8679
+ }, [s, i, x]), /* @__PURE__ */ q(S9, { locale: w == null ? void 0 : w.design, mountContainer: x, children: [
8680
8680
  /* @__PURE__ */ q(
8681
8681
  "div",
8682
8682
  {
@@ -8687,46 +8687,46 @@ function Pi(e) {
8687
8687
  tabIndex: -1,
8688
8688
  onBlur: (E) => E.stopPropagation(),
8689
8689
  children: [
8690
- t && /* @__PURE__ */ f("header", { className: "univer-relative univer-z-10 univer-w-full" }),
8690
+ t && /* @__PURE__ */ C("header", { className: "univer-relative univer-z-10 univer-w-full" }),
8691
8691
  /* @__PURE__ */ q("section", { className: "univer-relative univer-flex univer-min-h-0 univer-flex-1 univer-flex-col", children: [
8692
8692
  /* @__PURE__ */ q(
8693
8693
  "div",
8694
8694
  {
8695
8695
  className: "univer-grid univer-h-full univer-grid-cols-[auto_1fr_auto] univer-grid-rows-[100%] univer-overflow-hidden",
8696
8696
  children: [
8697
- /* @__PURE__ */ f("aside", { className: "univer-h-full", children: /* @__PURE__ */ f(y1, { components: L }, "left-sidebar") }),
8697
+ /* @__PURE__ */ C("aside", { className: "univer-h-full", children: /* @__PURE__ */ C(y1, { components: L }, "left-sidebar") }),
8698
8698
  /* @__PURE__ */ q(
8699
8699
  "section",
8700
8700
  {
8701
8701
  className: K("univer-relative univer-grid univer-flex-1 univer-grid-rows-[auto_1fr] univer-overflow-hidden univer-bg-white dark:!univer-bg-gray-800", Ne),
8702
8702
  children: [
8703
- /* @__PURE__ */ f("header", { className: "univer-w-screen", children: t && /* @__PURE__ */ f(y1, { components: c }, "header") }),
8704
- /* @__PURE__ */ f(
8703
+ /* @__PURE__ */ C("header", { className: "univer-w-screen", children: t && /* @__PURE__ */ C(y1, { components: c }, "header") }),
8704
+ /* @__PURE__ */ C(
8705
8705
  "section",
8706
8706
  {
8707
- ref: C,
8707
+ ref: f,
8708
8708
  className: "univer-relative univer-overflow-hidden",
8709
8709
  "data-range-selector": !0,
8710
8710
  onContextMenu: (E) => E.preventDefault(),
8711
- children: /* @__PURE__ */ f(y1, { components: p }, "content")
8711
+ children: /* @__PURE__ */ C(y1, { components: p }, "content")
8712
8712
  }
8713
8713
  )
8714
8714
  ]
8715
8715
  }
8716
8716
  ),
8717
- /* @__PURE__ */ f("aside", { className: "univer-h-full", children: /* @__PURE__ */ f(lr, {}) })
8717
+ /* @__PURE__ */ C("aside", { className: "univer-h-full", children: /* @__PURE__ */ C(lr, {}) })
8718
8718
  ]
8719
8719
  }
8720
8720
  ),
8721
- n && /* @__PURE__ */ f("footer", { children: /* @__PURE__ */ f(y1, { components: v }, "footer") }),
8722
- /* @__PURE__ */ f(sr, {}),
8723
- /* @__PURE__ */ f(ar, {})
8721
+ n && /* @__PURE__ */ C("footer", { children: /* @__PURE__ */ C(y1, { components: v }, "footer") }),
8722
+ /* @__PURE__ */ C(sr, {}),
8723
+ /* @__PURE__ */ C(ar, {})
8724
8724
  ] })
8725
8725
  ]
8726
8726
  }
8727
8727
  ),
8728
- /* @__PURE__ */ f(y1, { components: M }, "global"),
8729
- r && /* @__PURE__ */ f(Bi, {})
8728
+ /* @__PURE__ */ C(y1, { components: M }, "global"),
8729
+ r && /* @__PURE__ */ C(Bi, {})
8730
8730
  ] });
8731
8731
  }
8732
8732
  var Fi = Object.getOwnPropertyDescriptor, ki = (e, t, n, r) => {
@@ -8763,7 +8763,7 @@ function ji(e, t, n) {
8763
8763
  const o = R1(Pi, e), s = (d) => n(d, r);
8764
8764
  function a() {
8765
8765
  V9(
8766
- /* @__PURE__ */ f(
8766
+ /* @__PURE__ */ C(
8767
8767
  o,
8768
8768
  {
8769
8769
  ...t,
@@ -8947,7 +8947,7 @@ function t9(e) {
8947
8947
  }
8948
8948
  const no = (e) => {
8949
8949
  const { children: t, onClose: n, onConfirm: r } = e, [i] = z({}), o = t ? Z2(t, { hooks: i }) : null;
8950
- return /* @__PURE__ */ f(
8950
+ return /* @__PURE__ */ C(
8951
8951
  K2,
8952
8952
  {
8953
8953
  ...e,
@@ -8989,13 +8989,13 @@ function ro() {
8989
8989
  }, []);
8990
8990
  const r = t.map((i) => {
8991
8991
  const { children: o, title: s, ...a } = i, d = a;
8992
- for (const C of ["children", "title"]) {
8993
- const v = C, c = i[v];
8994
- c && (d[v] = /* @__PURE__ */ f(L1, { ...c }));
8992
+ for (const f of ["children", "title"]) {
8993
+ const v = f, c = i[v];
8994
+ c && (d[v] = /* @__PURE__ */ C(L1, { ...c }));
8995
8995
  }
8996
8996
  return d;
8997
8997
  });
8998
- return r == null ? void 0 : r.map((i, o) => /* @__PURE__ */ f(no, { ...i, children: i.children }, o));
8998
+ return r == null ? void 0 : r.map((i, o) => /* @__PURE__ */ C(no, { ...i, children: i.children }, o));
8999
8999
  }
9000
9000
  var io = Object.getOwnPropertyDescriptor, oo = (e, t, n, r) => {
9001
9001
  for (var i = r > 1 ? void 0 : r ? io(t, n) : t, o = e.length - 1, s; o >= 0; o--)
@@ -9059,14 +9059,14 @@ function so() {
9059
9059
  return () => o.unsubscribe();
9060
9060
  }, []);
9061
9061
  const r = G(() => t.map((i) => {
9062
- const { children: o, title: s, footer: a, ...d } = i, C = d;
9062
+ const { children: o, title: s, footer: a, ...d } = i, f = d;
9063
9063
  for (const v of ["children", "title", "footer"]) {
9064
9064
  const c = v, p = i[c];
9065
- p && (C[c] = /* @__PURE__ */ f(L1, { ...p }));
9065
+ p && (f[c] = /* @__PURE__ */ C(L1, { ...p }));
9066
9066
  }
9067
- return C;
9067
+ return f;
9068
9068
  }), [t]);
9069
- return r == null ? void 0 : r.map((i) => /* @__PURE__ */ f(e4, { ...i }, i.id));
9069
+ return r == null ? void 0 : r.map((i) => /* @__PURE__ */ C(e4, { ...i }, i.id));
9070
9070
  }
9071
9071
  var lo = Object.getOwnPropertyDescriptor, ao = (e, t, n, r) => {
9072
9072
  for (var i = r > 1 ? void 0 : r ? lo(t, n) : t, o = e.length - 1, s; o >= 0; o--)
@@ -9123,7 +9123,7 @@ ze = ao([
9123
9123
  const ut = h1("univer.ui.gallery-service");
9124
9124
  function co() {
9125
9125
  const e = P(ut), t = r1(e.gallery$);
9126
- return t ? /* @__PURE__ */ f(t4, { ...t }) : null;
9126
+ return t ? /* @__PURE__ */ C(t4, { ...t }) : null;
9127
9127
  }
9128
9128
  var uo = Object.getOwnPropertyDescriptor, ho = (e, t, n, r) => {
9129
9129
  for (var i = r > 1 ? void 0 : r ? uo(t, n) : t, o = e.length - 1, s; o >= 0; o--)
@@ -9225,22 +9225,22 @@ function po() {
9225
9225
  e.exports = n();
9226
9226
  })(function() {
9227
9227
  return (function n(r, i, o) {
9228
- function s(C, v) {
9229
- if (!i[C]) {
9230
- if (!r[C]) {
9228
+ function s(f, v) {
9229
+ if (!i[f]) {
9230
+ if (!r[f]) {
9231
9231
  var c = typeof Se == "function" && Se;
9232
- if (!v && c) return c(C, !0);
9233
- if (a) return a(C, !0);
9234
- var p = new Error("Cannot find module '" + C + "'");
9232
+ if (!v && c) return c(f, !0);
9233
+ if (a) return a(f, !0);
9234
+ var p = new Error("Cannot find module '" + f + "'");
9235
9235
  throw p.code = "MODULE_NOT_FOUND", p;
9236
9236
  }
9237
- var L = i[C] = { exports: {} };
9238
- r[C][0].call(L.exports, function(M) {
9239
- var O = r[C][1][M];
9237
+ var L = i[f] = { exports: {} };
9238
+ r[f][0].call(L.exports, function(M) {
9239
+ var O = r[f][1][M];
9240
9240
  return s(O || M);
9241
9241
  }, L, L.exports, n, r, i, o);
9242
9242
  }
9243
- return i[C].exports;
9243
+ return i[f].exports;
9244
9244
  }
9245
9245
  for (var a = typeof Se == "function" && Se, d = 0; d < o.length; d++) s(o[d]);
9246
9246
  return s;
@@ -9248,8 +9248,8 @@ function po() {
9248
9248
  (function(o) {
9249
9249
  var s = o.MutationObserver || o.WebKitMutationObserver, a;
9250
9250
  if (s) {
9251
- var d = 0, C = new s(M), v = o.document.createTextNode("");
9252
- C.observe(v, {
9251
+ var d = 0, f = new s(M), v = o.document.createTextNode("");
9252
+ f.observe(v, {
9253
9253
  characterData: !0
9254
9254
  }), a = function() {
9255
9255
  v.data = d = ++d % 2;
@@ -9286,7 +9286,7 @@ function po() {
9286
9286
  var o = n(1);
9287
9287
  function s() {
9288
9288
  }
9289
- var a = {}, d = ["REJECTED"], C = ["FULFILLED"], v = ["PENDING"];
9289
+ var a = {}, d = ["REJECTED"], f = ["FULFILLED"], v = ["PENDING"];
9290
9290
  r.exports = c;
9291
9291
  function c(y) {
9292
9292
  if (typeof y != "function")
@@ -9296,11 +9296,11 @@ function po() {
9296
9296
  c.prototype.catch = function(y) {
9297
9297
  return this.then(null, y);
9298
9298
  }, c.prototype.then = function(y, N) {
9299
- if (typeof y != "function" && this.state === C || typeof N != "function" && this.state === d)
9299
+ if (typeof y != "function" && this.state === f || typeof N != "function" && this.state === d)
9300
9300
  return this;
9301
9301
  var D = new this.constructor(s);
9302
9302
  if (this.state !== v) {
9303
- var k = this.state === C ? y : N;
9303
+ var k = this.state === f ? y : N;
9304
9304
  L(D, k, this.outcome);
9305
9305
  } else
9306
9306
  this.queue.push(new p(D, y, N));
@@ -9337,7 +9337,7 @@ function po() {
9337
9337
  if (k)
9338
9338
  O(y, k);
9339
9339
  else {
9340
- y.state = C, y.outcome = N;
9340
+ y.state = f, y.outcome = N;
9341
9341
  for (var j = -1, Q = y.queue.length; ++j < Q; )
9342
9342
  y.queue[j].callFulfilled(N);
9343
9343
  }
@@ -9387,8 +9387,8 @@ function po() {
9387
9387
  var N = new this(s);
9388
9388
  return a.reject(N, y);
9389
9389
  }
9390
- c.all = S;
9391
- function S(y) {
9390
+ c.all = x;
9391
+ function x(y) {
9392
9392
  var N = this;
9393
9393
  if (Object.prototype.toString.call(y) !== "[object Array]")
9394
9394
  return this.reject(new TypeError("must be an array"));
@@ -9457,7 +9457,7 @@ function po() {
9457
9457
  }
9458
9458
  }
9459
9459
  var d = a();
9460
- function C() {
9460
+ function f() {
9461
9461
  try {
9462
9462
  if (!d || !d.open)
9463
9463
  return !1;
@@ -9502,7 +9502,7 @@ function po() {
9502
9502
  if (arguments.length && typeof arguments[arguments.length - 1] == "function")
9503
9503
  return arguments[arguments.length - 1];
9504
9504
  }
9505
- var _ = "local-forage-detect-blob-support", w = void 0, I = {}, S = Object.prototype.toString, E = "readonly", y = "readwrite";
9505
+ var _ = "local-forage-detect-blob-support", w = void 0, I = {}, x = Object.prototype.toString, E = "readonly", y = "readwrite";
9506
9506
  function N(l) {
9507
9507
  for (var h = l.length, u = new ArrayBuffer(h), m = new Uint8Array(u), b = 0; b < h; b++)
9508
9508
  m[b] = l.charCodeAt(b);
@@ -9755,7 +9755,7 @@ function po() {
9755
9755
  var b = new c(function(g, V) {
9756
9756
  var $;
9757
9757
  m.ready().then(function() {
9758
- return $ = m._dbInfo, S.call(h) === "[object Blob]" ? k($.db).then(function(T) {
9758
+ return $ = m._dbInfo, x.call(h) === "[object Blob]" ? k($.db).then(function(T) {
9759
9759
  return T ? h : s1(h);
9760
9760
  }) : h;
9761
9761
  }).then(function(T) {
@@ -9991,7 +9991,7 @@ function po() {
9991
9991
  var xr = {
9992
9992
  _driver: "asyncStorage",
9993
9993
  _initStorage: pe,
9994
- _support: C(),
9994
+ _support: f(),
9995
9995
  iterate: mr,
9996
9996
  getItem: pr,
9997
9997
  setItem: br,
@@ -10715,7 +10715,7 @@ Ge = Lo([
10715
10715
  ], Ge);
10716
10716
  function wo() {
10717
10717
  const e = P(z3), t = r1(e.darkMode$);
10718
- return /* @__PURE__ */ f(o4, { theme: t ? "dark" : "light" });
10718
+ return /* @__PURE__ */ C(o4, { theme: t ? "dark" : "light" });
10719
10719
  }
10720
10720
  const yo = {
10721
10721
  show: (e) => {
@@ -11029,9 +11029,9 @@ function gr(e) {
11029
11029
  o += `\r
11030
11030
  `;
11031
11031
  for (let d = 0; d < t.length; d++) {
11032
- let C = t[`${d}`], v;
11033
- C.nodeName === "#text" ? (v = (a = C.textContent) != null ? a : "", C = C.parentElement) : v = C.innerText;
11034
- const c = dt(C);
11032
+ let f = t[`${d}`], v;
11033
+ f.nodeName === "#text" ? (v = (a = f.textContent) != null ? a : "", f = f.parentElement) : v = f.innerText;
11034
+ const c = dt(f);
11035
11035
  jo(v).forEach((L) => {
11036
11036
  const M = L.length;
11037
11037
  i += M, r = i - M;
@@ -11066,7 +11066,7 @@ function dt(e, t = "") {
11066
11066
  };
11067
11067
  return r.forEach((d) => {
11068
11068
  var p;
11069
- const C = d.toLowerCase(), v = H3(C.substr(0, C.indexOf(":"))), c = H3(C.substr(C.indexOf(":") + 1));
11069
+ const f = d.toLowerCase(), v = H3(f.substr(0, f.indexOf(":"))), c = H3(f.substr(f.indexOf(":") + 1));
11070
11070
  if (v === "font-weight")
11071
11071
  c === "bold" || c === "700" ? i.bl = 1 : i.bl = 0;
11072
11072
  else if (v === "font-style")
@@ -11275,8 +11275,8 @@ function _7(e) {
11275
11275
  const s = r[i].querySelectorAll("td");
11276
11276
  let a = Je(s[0].style.height, 19);
11277
11277
  for (let d = 0; d < s.length; d++) {
11278
- const C = s[d].getAttribute("rowSpan");
11279
- if (!(C && +C > 1)) {
11278
+ const f = s[d].getAttribute("rowSpan");
11279
+ if (!(f && +f > 1)) {
11280
11280
  a = Je(s[d].style.height, 19);
11281
11281
  break;
11282
11282
  }
@@ -11293,36 +11293,36 @@ function M7(e) {
11293
11293
  const i = n.querySelectorAll("table tr");
11294
11294
  i[0].querySelectorAll("td").forEach((a) => {
11295
11295
  let d = 0;
11296
- const C = a.getAttribute("colSpan");
11297
- C !== null ? d = +C : d = 1, r += d;
11296
+ const f = a.getAttribute("colSpan");
11297
+ f !== null ? d = +f : d = 1, r += d;
11298
11298
  });
11299
11299
  for (let a = 0; a < t.length; a++)
11300
11300
  t[a] = new Array(r);
11301
11301
  let s = 0;
11302
11302
  return i.forEach((a) => {
11303
11303
  let d = 0;
11304
- a.querySelectorAll("td").forEach((C) => {
11304
+ a.querySelectorAll("td").forEach((f) => {
11305
11305
  var L, M;
11306
11306
  const v = {};
11307
- if (C.querySelectorAll("span").length || C.querySelectorAll("font").length) {
11308
- const O = gr(C);
11307
+ if (f.querySelectorAll("span").length || f.querySelectorAll("font").length) {
11308
+ const O = gr(f);
11309
11309
  typeof O != "string" && (v.p = O);
11310
11310
  }
11311
- const c = C.innerText;
11311
+ const c = f.innerText;
11312
11312
  c.trim().length === 0 ? v.v = "" : v.v = c;
11313
- const p = dt(C);
11313
+ const p = dt(f);
11314
11314
  for (w9.isPlainObject(p) && (v.s = p); d < r && t[s][d] != null; )
11315
11315
  d++;
11316
11316
  if (d !== r) {
11317
11317
  if (t[s][d] == null) {
11318
11318
  t[s][d] = v;
11319
- const O = (L = Number(C.getAttribute("rowSpan"))) != null ? L : 1, _ = (M = Number(C.getAttribute("colSpan"))) != null ? M : 1;
11319
+ const O = (L = Number(f.getAttribute("rowSpan"))) != null ? L : 1, _ = (M = Number(f.getAttribute("colSpan"))) != null ? M : 1;
11320
11320
  if (O > 1 || _ > 1) {
11321
11321
  const w = { rs: +O - 1, cs: +_ - 1, r: s, c: d };
11322
11322
  t[s][d].mc = w;
11323
11323
  for (let I = 0; I < O; I++)
11324
- for (let S = 0; S < _; S++)
11325
- I === 0 && S === 0 || (t[s + I][d + S] = { mc: null });
11324
+ for (let x = 0; x < _; x++)
11325
+ I === 0 && x === 0 || (t[s + I][d + x] = { mc: null });
11326
11326
  }
11327
11327
  }
11328
11328
  d++;
@@ -11354,8 +11354,8 @@ function x7(e, t) {
11354
11354
  for (let s = 0; s < e[o].length; s++)
11355
11355
  if (e[o][s] && typeof e[o][s] == "object" && "mc" in e[o][s])
11356
11356
  if (e[o][s].mc) {
11357
- const a = e[o][s].mc, d = a.r + n, C = d + a.rs, v = a.c + r, c = v + a.cs;
11358
- i.push({ startRow: d, endRow: C, startColumn: v, endColumn: c }), delete e[o][s].mc;
11357
+ const a = e[o][s].mc, d = a.r + n, f = d + a.rs, v = a.c + r, c = v + a.cs;
11358
+ i.push({ startRow: d, endRow: f, startColumn: v, endColumn: c }), delete e[o][s].mc;
11359
11359
  } else
11360
11360
  e[o][s] = null;
11361
11361
  return {
@@ -11364,11 +11364,11 @@ function x7(e, t) {
11364
11364
  };
11365
11365
  }
11366
11366
  function H7(e) {
11367
- var C;
11367
+ var f;
11368
11368
  let t = [];
11369
11369
  const n = document.createElement("html");
11370
11370
  n.innerHTML = e;
11371
- const r = (C = n.querySelector("style")) == null ? void 0 : C.innerText;
11371
+ const r = (f = n.querySelector("style")) == null ? void 0 : f.innerText;
11372
11372
  if (!r) return;
11373
11373
  const i = Uo(r);
11374
11374
  if (t = new Array(n.querySelectorAll("table tr").length), !t.length) return [];
@@ -11388,25 +11388,25 @@ function H7(e) {
11388
11388
  var w, I;
11389
11389
  const L = {};
11390
11390
  if (p.querySelectorAll("span").length || p.querySelectorAll("font").length) {
11391
- const S = gr(p);
11392
- typeof S != "string" && (L.p = S);
11391
+ const x = gr(p);
11392
+ typeof x != "string" && (L.p = x);
11393
11393
  }
11394
11394
  const M = p.innerText;
11395
11395
  M.trim().length === 0 ? L.v = "" : L.v = M;
11396
11396
  let O = "";
11397
- for (const S in i)
11398
- p.classList.contains(S) && (O += i[S]);
11397
+ for (const x in i)
11398
+ p.classList.contains(x) && (O += i[x]);
11399
11399
  const _ = dt(p, O);
11400
11400
  for (w9.isPlainObject(_) && (L.s = _); c < o && t[d][c] != null; )
11401
11401
  c++;
11402
11402
  if (c !== o) {
11403
11403
  if (t[d][c] == null) {
11404
11404
  t[d][c] = L;
11405
- const S = (w = Number(p.getAttribute("rowSpan"))) != null ? w : 1, E = (I = Number(p.getAttribute("colSpan"))) != null ? I : 1;
11406
- if (S > 1 || E > 1) {
11407
- const y = { rs: +S - 1, cs: +E - 1, r: d, c };
11405
+ const x = (w = Number(p.getAttribute("rowSpan"))) != null ? w : 1, E = (I = Number(p.getAttribute("colSpan"))) != null ? I : 1;
11406
+ if (x > 1 || E > 1) {
11407
+ const y = { rs: +x - 1, cs: +E - 1, r: d, c };
11408
11408
  t[d][c].mc = y;
11409
- for (let N = 0; N < S; N++)
11409
+ for (let N = 0; N < x; N++)
11410
11410
  for (let D = 0; D < E; D++)
11411
11411
  N === 0 && D === 0 || (t[d + N][c + D] = { mc: null });
11412
11412
  }
@@ -11438,7 +11438,7 @@ function Wo(e) {
11438
11438
  }
11439
11439
  const S7 = M9((e) => {
11440
11440
  var O, _;
11441
- const { layer: t, id: n, position: r } = e, i = P(N1), o = J(null), s = J(null), a = J(`transform: rotate(${r == null ? void 0 : r.rotate}deg) translate(${r == null ? void 0 : r.startX}px, ${r == null ? void 0 : r.startY}px)`), d = J((O = r == null ? void 0 : r.startY) != null ? O : 0), C = J((_ = r == null ? void 0 : r.startX) != null ? _ : 0), v = typeof t.componentKey == "string" ? P(M1).get(t.componentKey) : t.componentKey, c = G(() => ({
11441
+ const { layer: t, id: n, position: r } = e, i = P(N1), o = J(null), s = J(null), a = J(`transform: rotate(${r == null ? void 0 : r.rotate}deg) translate(${r == null ? void 0 : r.startX}px, ${r == null ? void 0 : r.startY}px)`), d = J((O = r == null ? void 0 : r.startY) != null ? O : 0), f = J((_ = r == null ? void 0 : r.startX) != null ? _ : 0), v = typeof t.componentKey == "string" ? P(M1).get(t.componentKey) : t.componentKey, c = G(() => ({
11442
11442
  data: t.data,
11443
11443
  ...t.props
11444
11444
  }), [t.data, t.props]), p = {
@@ -11449,8 +11449,8 @@ const S7 = M9((e) => {
11449
11449
  right: `${r.absolute.left ? "auto" : 0}`,
11450
11450
  bottom: `${r.absolute.top ? "auto" : 0}`
11451
11451
  };
11452
- a.current = `rotate(${r.rotate}deg)`, d.current = r.startY, C.current = r.startX;
11453
- const L = i.getUnit(t.unitId), M = G(() => v ? /* @__PURE__ */ f(
11452
+ a.current = `rotate(${r.rotate}deg)`, d.current = r.startY, f.current = r.startX;
11453
+ const L = i.getUnit(t.unitId), M = G(() => v ? /* @__PURE__ */ C(
11454
11454
  v,
11455
11455
  {
11456
11456
  ...c,
@@ -11462,14 +11462,14 @@ const S7 = M9((e) => {
11462
11462
  }
11463
11463
  }
11464
11464
  ) : null, [v, c]);
11465
- return r ? /* @__PURE__ */ f(
11465
+ return r ? /* @__PURE__ */ C(
11466
11466
  "div",
11467
11467
  {
11468
11468
  ref: o,
11469
11469
  className: "univer-absolute univer-z-10 univer-origin-center univer-overflow-hidden",
11470
11470
  style: {
11471
11471
  top: d.current,
11472
- left: C.current,
11472
+ left: f.current,
11473
11473
  width: Math.max(r.endX - r.startX - 2, 0),
11474
11474
  height: Math.max(r.endY - r.startY - 2, 0),
11475
11475
  transform: a.current
@@ -11486,7 +11486,7 @@ const S7 = M9((e) => {
11486
11486
  onWheel: (w) => {
11487
11487
  t.onWheel(w.nativeEvent);
11488
11488
  },
11489
- children: /* @__PURE__ */ f(
11489
+ children: /* @__PURE__ */ C(
11490
11490
  "div",
11491
11491
  {
11492
11492
  ref: s,