@univerjs/sheets-formula-ui 0.3.0-nightly.202410101606
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/README.md +39 -0
- package/lib/cjs/index.js +1 -0
- package/lib/es/index.js +1 -0
- package/lib/index.css +1 -0
- package/lib/locale/en-US.json +10987 -0
- package/lib/locale/ru-RU.json +10938 -0
- package/lib/locale/vi-VN.json +9511 -0
- package/lib/locale/zh-CN.json +10987 -0
- package/lib/locale/zh-TW.json +10987 -0
- package/lib/types/commands/commands/formula-clipboard.command.d.ts +2 -0
- package/lib/types/commands/operations/__tests__/create-command-test-bed.d.ts +13 -0
- package/lib/types/commands/operations/__tests__/insert-function.operation.spec.d.ts +16 -0
- package/lib/types/commands/operations/editor-formula.operation.d.ts +11 -0
- package/lib/types/commands/operations/help-function.operation.d.ts +2 -0
- package/lib/types/commands/operations/insert-function.operation.d.ts +19 -0
- package/lib/types/commands/operations/more-functions.operation.d.ts +2 -0
- package/lib/types/commands/operations/reference-absolute.operation.d.ts +2 -0
- package/lib/types/commands/operations/search-function.operation.d.ts +2 -0
- package/lib/types/common/plugin-name.d.ts +16 -0
- package/lib/types/common/prompt.d.ts +16 -0
- package/lib/types/common/selection.d.ts +4 -0
- package/lib/types/controllers/__tests__/create-command-test-bed.d.ts +7 -0
- package/lib/types/controllers/__tests__/formula-auto-fill.controller.spec.d.ts +16 -0
- package/lib/types/controllers/__tests__/formula-clipboard.controller.spec.d.ts +16 -0
- package/lib/types/controllers/__tests__/update-formula.controller.spec.d.ts +16 -0
- package/lib/types/controllers/config.schema.d.ts +15 -0
- package/lib/types/controllers/formula-alert-render.controller.d.ts +15 -0
- package/lib/types/controllers/formula-auto-fill.controller.d.ts +10 -0
- package/lib/types/controllers/formula-clipboard.controller.d.ts +25 -0
- package/lib/types/controllers/formula-editor-show.controller.d.ts +28 -0
- package/lib/types/controllers/formula-process.controller.d.ts +15 -0
- package/lib/types/controllers/formula-render.controller.d.ts +6 -0
- package/lib/types/controllers/formula-ui.controller.d.ts +19 -0
- package/lib/types/controllers/menu.d.ts +5 -0
- package/lib/types/controllers/menu.schema.d.ts +2 -0
- package/lib/types/controllers/prompt.controller.d.ts +170 -0
- package/lib/types/controllers/shortcuts/prompt.shortcut.d.ts +9 -0
- package/lib/types/controllers/utils/__tests__/offset-formula-data.spec.d.ts +16 -0
- package/lib/types/controllers/utils/__tests__/ref-range-formula.spec.d.ts +16 -0
- package/lib/types/controllers/utils/__tests__/utils.spec.d.ts +16 -0
- package/lib/types/controllers/utils/offset-formula-data.d.ts +15 -0
- package/lib/types/controllers/utils/ref-range-formula.d.ts +71 -0
- package/lib/types/controllers/utils/utils.d.ts +15 -0
- package/lib/types/index.d.ts +25 -0
- package/lib/types/locale/en-US.d.ts +9983 -0
- package/lib/types/locale/function-list/array/en-US.d.ts +17 -0
- package/lib/types/locale/function-list/array/ja-JP.d.ts +17 -0
- package/lib/types/locale/function-list/array/ru-RU.d.ts +2 -0
- package/lib/types/locale/function-list/array/vi-VN.d.ts +17 -0
- package/lib/types/locale/function-list/array/zh-CN.d.ts +17 -0
- package/lib/types/locale/function-list/array/zh-TW.d.ts +17 -0
- package/lib/types/locale/function-list/compatibility/en-US.d.ts +762 -0
- package/lib/types/locale/function-list/compatibility/ja-JP.d.ts +762 -0
- package/lib/types/locale/function-list/compatibility/ru-RU.d.ts +2 -0
- package/lib/types/locale/function-list/compatibility/vi-VN.d.ts +762 -0
- package/lib/types/locale/function-list/compatibility/zh-CN.d.ts +762 -0
- package/lib/types/locale/function-list/compatibility/zh-TW.d.ts +762 -0
- package/lib/types/locale/function-list/cube/en-US.d.ts +144 -0
- package/lib/types/locale/function-list/cube/ja-JP.d.ts +144 -0
- package/lib/types/locale/function-list/cube/ru-RU.d.ts +144 -0
- package/lib/types/locale/function-list/cube/vi-VN.d.ts +144 -0
- package/lib/types/locale/function-list/cube/zh-CN.d.ts +144 -0
- package/lib/types/locale/function-list/cube/zh-TW.d.ts +144 -0
- package/lib/types/locale/function-list/database/en-US.d.ts +234 -0
- package/lib/types/locale/function-list/database/ja-JP.d.ts +234 -0
- package/lib/types/locale/function-list/database/ru-RU.d.ts +234 -0
- package/lib/types/locale/function-list/database/vi-VN.d.ts +234 -0
- package/lib/types/locale/function-list/database/zh-CN.d.ts +234 -0
- package/lib/types/locale/function-list/database/zh-TW.d.ts +234 -0
- package/lib/types/locale/function-list/date/en-US.d.ts +458 -0
- package/lib/types/locale/function-list/date/ja-JP.d.ts +458 -0
- package/lib/types/locale/function-list/date/ru-RU.d.ts +2 -0
- package/lib/types/locale/function-list/date/vi-VN.d.ts +458 -0
- package/lib/types/locale/function-list/date/zh-CN.d.ts +458 -0
- package/lib/types/locale/function-list/date/zh-TW.d.ts +458 -0
- package/lib/types/locale/function-list/engineering/en-US.d.ts +894 -0
- package/lib/types/locale/function-list/engineering/ja-JP.d.ts +894 -0
- package/lib/types/locale/function-list/engineering/ru-RU.d.ts +2 -0
- package/lib/types/locale/function-list/engineering/vi-VN.d.ts +894 -0
- package/lib/types/locale/function-list/engineering/zh-CN.d.ts +894 -0
- package/lib/types/locale/function-list/engineering/zh-TW.d.ts +894 -0
- package/lib/types/locale/function-list/financial/en-US.d.ts +1608 -0
- package/lib/types/locale/function-list/financial/ja-JP.d.ts +1608 -0
- package/lib/types/locale/function-list/financial/ru-RU.d.ts +2 -0
- package/lib/types/locale/function-list/financial/vi-VN.d.ts +1608 -0
- package/lib/types/locale/function-list/financial/zh-CN.d.ts +1608 -0
- package/lib/types/locale/function-list/financial/zh-TW.d.ts +1608 -0
- package/lib/types/locale/function-list/information/en-US.d.ts +327 -0
- package/lib/types/locale/function-list/information/ja-JP.d.ts +327 -0
- package/lib/types/locale/function-list/information/ru-RU.d.ts +2 -0
- package/lib/types/locale/function-list/information/vi-VN.d.ts +255 -0
- package/lib/types/locale/function-list/information/zh-CN.d.ts +327 -0
- package/lib/types/locale/function-list/information/zh-TW.d.ts +327 -0
- package/lib/types/locale/function-list/logical/en-US.d.ts +390 -0
- package/lib/types/locale/function-list/logical/ja-JP.d.ts +390 -0
- package/lib/types/locale/function-list/logical/ru-RU.d.ts +2 -0
- package/lib/types/locale/function-list/logical/vi-VN.d.ts +390 -0
- package/lib/types/locale/function-list/logical/zh-CN.d.ts +390 -0
- package/lib/types/locale/function-list/logical/zh-TW.d.ts +390 -0
- package/lib/types/locale/function-list/lookup/en-US.d.ts +812 -0
- package/lib/types/locale/function-list/lookup/ja-JP.d.ts +812 -0
- package/lib/types/locale/function-list/lookup/ru-RU.d.ts +2 -0
- package/lib/types/locale/function-list/lookup/vi-VN.d.ts +722 -0
- package/lib/types/locale/function-list/lookup/zh-CN.d.ts +812 -0
- package/lib/types/locale/function-list/lookup/zh-TW.d.ts +812 -0
- package/lib/types/locale/function-list/math/en-US.d.ts +1388 -0
- package/lib/types/locale/function-list/math/ja-JP.d.ts +1388 -0
- package/lib/types/locale/function-list/math/ru-RU.d.ts +2 -0
- package/lib/types/locale/function-list/math/vi-VN.d.ts +1298 -0
- package/lib/types/locale/function-list/math/zh-CN.d.ts +1388 -0
- package/lib/types/locale/function-list/math/zh-TW.d.ts +1388 -0
- package/lib/types/locale/function-list/statistical/en-US.d.ts +2160 -0
- package/lib/types/locale/function-list/statistical/ja-JP.d.ts +2160 -0
- package/lib/types/locale/function-list/statistical/ru-RU.d.ts +2 -0
- package/lib/types/locale/function-list/statistical/vi-VN.d.ts +1188 -0
- package/lib/types/locale/function-list/statistical/zh-CN.d.ts +2160 -0
- package/lib/types/locale/function-list/statistical/zh-TW.d.ts +2160 -0
- package/lib/types/locale/function-list/text/en-US.d.ts +904 -0
- package/lib/types/locale/function-list/text/ja-JP.d.ts +905 -0
- package/lib/types/locale/function-list/text/ru-RU.d.ts +856 -0
- package/lib/types/locale/function-list/text/vi-VN.d.ts +784 -0
- package/lib/types/locale/function-list/text/zh-CN.d.ts +904 -0
- package/lib/types/locale/function-list/text/zh-TW.d.ts +904 -0
- package/lib/types/locale/function-list/univer/en-US.d.ts +17 -0
- package/lib/types/locale/function-list/univer/ja-JP.d.ts +17 -0
- package/lib/types/locale/function-list/univer/ru-RU.d.ts +17 -0
- package/lib/types/locale/function-list/univer/vi-VN.d.ts +17 -0
- package/lib/types/locale/function-list/univer/zh-CN.d.ts +17 -0
- package/lib/types/locale/function-list/univer/zh-TW.d.ts +17 -0
- package/lib/types/locale/function-list/web/en-US.d.ts +72 -0
- package/lib/types/locale/function-list/web/ja-JP.d.ts +72 -0
- package/lib/types/locale/function-list/web/ru-RU.d.ts +72 -0
- package/lib/types/locale/function-list/web/vi-VN.d.ts +2 -0
- package/lib/types/locale/function-list/web/zh-CN.d.ts +72 -0
- package/lib/types/locale/function-list/web/zh-TW.d.ts +72 -0
- package/lib/types/locale/ru-RU.d.ts +9934 -0
- package/lib/types/locale/vi-VN.d.ts +8657 -0
- package/lib/types/locale/zh-CN.d.ts +9983 -0
- package/lib/types/locale/zh-TW.d.ts +9983 -0
- package/lib/types/services/formula-common.d.ts +18 -0
- package/lib/types/services/prompt.service.d.ts +160 -0
- package/lib/types/services/render-services/ref-selections.render-service.d.ts +42 -0
- package/lib/types/services/utils.d.ts +8 -0
- package/lib/types/sheets-formula-ui.plugin.d.ts +19 -0
- package/lib/types/views/FormulaPromptContainer.d.ts +2 -0
- package/lib/types/views/more-functions/MoreFunctions.d.ts +2 -0
- package/lib/types/views/more-functions/function-help/FunctionHelp.d.ts +22 -0
- package/lib/types/views/more-functions/function-params/FunctionParams.d.ts +8 -0
- package/lib/types/views/more-functions/input-params/InputParams.d.ts +7 -0
- package/lib/types/views/more-functions/interface.d.ts +16 -0
- package/lib/types/views/more-functions/select-function/SelectFunction.d.ts +6 -0
- package/lib/types/views/prompt/help-function/HelpFunction.d.ts +2 -0
- package/lib/types/views/prompt/resize-scroll-observer.d.ts +18 -0
- package/lib/types/views/prompt/search-function/SearchFunction.d.ts +2 -0
- package/lib/umd/index.js +1 -0
- package/package.json +113 -0
package/lib/umd/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function _0x1c26(_0x50734e,_0x33038a){const _0x5a6ae6=_0x5a6a();return _0x1c26=function(_0x1c263b,_0xccd08a){_0x1c263b=_0x1c263b-0xcf;let _0x4ef628=_0x5a6ae6[_0x1c263b];return _0x4ef628;},_0x1c26(_0x50734e,_0x33038a);}function _0x5a6a(){const _0xa1e137=['getSearchListByNameFirstLetter','querySelectorAll','react','onPointerDown$','current','FORMULAS_INSERT','7HoDQLE','reset','extend','whenEditorStandalone','IZenZoneService','getSheetObject','onStarting','_existsSequenceNode','_registerMenus','update','_getSheetIdByName','isMerged','formulaSearchFunctionItemNameLight','getUnitId','FunctionHelp','_getEditorOpenedForSheet','setValue','formulaInputParams','location','help','formula.moreFunctions.allFunctions','formulaHelpFunctionContentParams','cols','menu','ComponentManager','currentColor','registerCommand','findStartColumn','_isSelectingMode','register','_registerCommands','IConfigService','_descriptionService','ArrowDown','_getCurrentChar','NORMAL','_setSelectionStyle','toLocaleUpperCase','intercept','_previousEditorUnitId','height','isContinue','require','setFormula','_formulaRefColors','SheetsSelectionsService','3422205CEVfNl','search$','_pressEnter','use','replaceTextRanges','382355mVuYot','useInjector','toLocaleLowerCase',',...]','_contextSwitch','flat','MAX','_MORE_FUNCTIONS_COMPONENT','ref','__decorateClass$4','getFormulaData','SelectFunction','LocaleService','disableLockedSelectionChange','SPECIAL_PASTE_FORMULA','TAB','_sequenceNodes','IAutoFillService','_helping','length','formulaHelpFunctionTitle','_pasteFormulaHook','pasteType','479302DnpkPL','currentCell$','NAME','univer-formula-input-params-list-item-selector','_getEditorObject','getCurrentUniverDocInstance','enable','RANGE_TYPE','COMMAND','Rectangle','accept$','@univerjs/sheets-ui','ThemeService','_resetSequenceNodes','@univerjs/core','unshift','getSequenceNodes','@univerjs/engine-render','getArrayFormulaRange','rows','row','_configService','SheetOnlyPasteFormulaCommand','_editorModelUnitIds','formulaInputParamsList','handleLiMouseEnter','endAbsoluteRefType','RefSelectionsRenderService','MoveCursorOperation','univer-formula-search-function-item-name','formulaSelectFunctionResultItem','switchMap','getCurrent','ROW','range','loopColor5','_commandService','removeAlert','Disposable','20PvYoIF','_registerRenderModules','ExpandSelectionCommand','formulaHelpParamItem','CellAlertManagerService','ICommandService','_commandExecutedListener','splice','getBody','loopColor1','_inputPanelState','formulaInputParamsListItemSelector','Enter','handleClose','_arrowMoveActionState','scroll','svg','addSelections','formula.insert.tooltip','UNIVER_DOC','setRemainLastEnabled','_registerComponents','RangeProtectionPermissionEditPoint','getData','CELL_CONTENT','@univerjs/sheets-formula','rxjs','getSpecialPasteFormulaValueMatrix','univer-formula-select-function-result-item','_formulaDataModel','Subject','toString','DisposableCollection','throttleTime','updateControlForCurrentByRangeData','getSelectionControls','loopColor7','setSequenceNodes','formulaSelectFunctionResultItemNameLight','handleLiMouseLeave','entries','_navigate$','0\x200\x2016\x2016','_closeRangePromptWhenEditorInvisible','scrollTo','directionToOffset','_highlightFormula','_initUserActionSyncListener','url(#$1','currentStyle','getSelectionDataWithStyle','menuClipboardDisabledObservable','getCurrentSkeleton','getCellAtRowCol','endColumn','markers','_previousShape','Fragment','forValue','_exceedCurrentRange','VIEW_MAIN','getCellValueType','formulaHelpParamActive','offsetY','_changeRefString','button','currentSkeleton$','attrs','promptSelectionShortcutItemShift','selectionMoveStart$','LexerTreeBuilder','IShortcutService','dispose','getCoordByOffset','formulaFunctionParams','with','add','isLockedSelectionInsert','FunctionType','react.element','FORMULA','onPasteCells','__decorateParam$1','_contextMenuService','_getFormulaAndCellEditorBody','Keyboard','preconditions','_userMouseListener','parentNode','actualColumn','isSingleCell','symbol','Observable','focus','isSearching','_generateRefString','FOCUSING_UNIVER_EDITOR_STANDALONE_SINGLE_MODE','fromSelection','slice','Dblclick','CONTENT','defs','univer-formula-select-function-content','_autoFillService','_injector','ERROR','_editorBridgeService','enableSelectionChanging','updateSequenceRef','IRefSelectionsService','IContextMenuService','formula.prompt.optional','FUNCTION','subscribeEvent','ILayoutService','rotateZ(90deg)','@univerjs/ui','univer-formula-help-function-title','num','_onPasteCells','apply','onChange','_currentUniverSheet','formula-ui.prompt-service','for','setConfig','throttledCallback','formulaHelpFunctionContentInner','colorChannel1','_quitSelectingMode','formula.insert.more','getContextValue','__decorateParam$3','setEvent','defaultProps','distinctUntilChanged','formulaFunctionParamsDetail','DEFAULT_EMPTY_DOCUMENT_VALUE','loopColor6','univer-formula-select-function-result-item-active','_previousSequenceNodes','_fitEditorSize','_sheetsSelectionsService','debug','INTERCEPTOR_POINT','left','useState','__publicField','@univerjs/design','IContextService','type','formula.operation.pasteFormula','onlyInputRange','getUniverSheetInstance','UniverSheets','@univerjs/docs-ui','JumpOver','help$','_checkCurrentSheet','formula.prompt.helpAbstract','has','isEditor','_docSelectionManagerService','univer-formula-help-function-title-icons','match','DOWN','formulaHelpFunctionActive','DeviceInputEventType','functionParameter','insertSequenceString','univer-formula-search-function-item-active','generateParam','getCurrentRangeDisable$','getViewModel','__decorateClass$5','_renderManagerService','getDefaultPasteValueMatrix','hasOwnProperty','FormulaDataModel','formulaSelectFunctionContent','SelectEditorFormulaOperation','navigate$','changeVisible','MOVING','_acceptFormulaName$','CYCLE','calculate','getInterceptPoints','DATA_TYPE','serializeRange','disableHelperSelection','nodeType','_updateSelecting','options','MinSingle','SUM','loopColor12','string','4235016FxlNsh','_listenInputCache','AbsoluteRefType','univer-formula-help-function-content','getSearchListByName','_checkClearingLastSelection','calc','getRange','which','_initSkeletonChangeListener','formulaHelpFunctionContentParamsDetail','interceptor','univer-formula-select-function-result','Input','ERROR_TYPE_SET','toDisposable','clone','MetaKeys','alert','set','_fillCopyFormula','pipe','_insertControlSelectionReplace','univer-formula-function-params','formulaHelpFunctionContent','SheetPasteCommand','UniverSheetsFormulaUi','Vector2','setSelections','SPILL','_allSelectionRenderServices','body','executeCommand','UniverEngineRender','formula-ui.operation.change-ref-to-absolute','__decorateClass$6','generateShortUuid','push','__decorateParam$2','connect','SetArrayFormulaDataMutation','whenFormulaEditorActivated','_lexerTreeBuilder','_resetTemp','highlightSearchText','formulaSearchFunction','actualRow','getRenderById','forwardRef','getOpenForSheetSubUnitId','smooth','inputFormula$','useDependency','_refreshSelectionControl','addClipboardHook','_componentManager','_initialCursorSync','formulaInputParamsInfo','NULL','formula-ui.operation.help-function','formula.functionType.','getCurrentTypeOfUnit$','_search$','IUniverInstanceService','onlyInputContent','verdancy800','Help','compareToken','_refreshSelectionForReference','getActiveSheet','promptSelectionShortcutItem','SelectionMoveType','defineProperty','27SrJtfh','hasDefinedNameDescription','tag','path','PASTE_SPECIAL_MENU_ID','SheetSkeletonManagerService','_currentInsertRefStringIndex','currentAlert','token','CloseSingle','__decorateParam$8','UniverDocs','formula.moreFunctions.prev','_contextService','primary','skeleton','DefinedName','params','InsertFunctionMenuItemFactory','formulaSearchFunctionItem','substring','getSheetBySheetId','invoke','enableLockedSelectionInsert','isFormulaDefinedName','SetWorksheetRowAutoHeightMutation','__decorateParam$6','formula.moreFunctions.syntax','MIN','COLUMN','min','map','_focusIsOnlyRange','details-single','CellValueType','getArrayFormulaCellData','@univerjs/docs','onSteady','unitId','_help$','SelectionShape','SELECTOR','stopPropagation','formulaSelectFunctionSelect','_initialChangeEditor','_sheetClipboardService','_pressEsc','ISidebarService','null','_getContextState','@univerjs/sheets','_selectionsChangeDisposables','getSpecialPasteValueValueMatrix','ARROW_RIGHT','textSelection$','handleSearchInputChange','selectionScaling$','spill','children','addEventListener','trim','asObservable','createElement','IEditorBridgeService','_shortcutService','COUNT','document','displayName','render','_closeRangePrompt','subscribeContextValue$','_stringColor','_getCurrentDataStream','enableLockedSelectionChange','random','registerRenderModule','Params','CheckMarkSingle','large','CommandType','getUniverDocInstance','Tools','_userCursorMove','IRenderManagerService','replaceRuntimeIdsAndExtInAttrs','_updateRefSelectionStyle','getCurrentSequenceNodeByIndex','matchToken','search','WorkbookEditablePermission','M14.1544\x203.75557C14.3887\x203.98988\x2014.3887\x204.36978\x2014.1544\x204.6041L6.51409\x2012.2444C6.40157\x2012.3569\x206.24896\x2012.4201\x206.08983\x2012.4201C5.9307\x2012.4201\x205.77808\x2012.3569\x205.66556\x2012.2444L1.84541\x208.42425C1.6111\x208.18993\x201.6111\x207.81003\x201.84541\x207.57572C2.07973\x207.34141\x202.45963\x207.34141\x202.69394\x207.57572L6.08983\x2010.9716L13.3059\x203.75557C13.5402\x203.52126\x2013.9201\x203.52126\x2014.1544\x203.75557Z','jsxs','attachSelectionWithCoord','useRef','updateStyle','__decorateClass$9','__decorateClass$8','univer-formula-help-param-item','acceptFormulaName','zIndex','UniverIcon','HelpFunctionOperation','ILogService','_getSheetObject','isFormulaString','hasRowHeader','formula-ui.operation.more-functions','filter','UniverSheetsUi','singleEditorPromptSelectionShortcutItem','endIndex','_onSelectionControlChange','_logService','setEndForRange','SetRangeValuesMutation','getPrimaryForRange','Style','isFormulaEditor','deepClone','SHIFT','isSheetEditor','formulaHelpDecorator','_initSelectionChangeListener','_updateArrayFormulaRangeShape','MenuItemType','NONE','DocSelectionManagerService','detail','some','promptSelectionShortcutItemCtrlAndShift','isVisible','univer-formula-search-function-item-desc','CntSingle','getSheetId','moveGap','getFunctionInfo','FormulaUIController','join','setAlpha','getCell','_registerShortcuts','_updateEditorModel','_removeArrayFormulaRangeShape','isLockedSelectionChange','_initCellAlertPopup','functionName','univer-formula-help-function-active','offsetHeight','_changeHelpFunctionPanelState','disable','ARROW_DOWN','univer-formula-more-functions-operation','formulaFunctionParamsTitle','COPY','split','formula.error.','PasteFormulaMenuItemFactory','_initSelectionsEndListener','formula-ui.operation.search-function','formulaHelpFunctionTitleIcons','hyacinth700','getCellMatrix','NUMBER','_refSelectionsService','disableForceKeepVisible','handleSelectListKeyDown','_changeSingleRef','cycle','handler','clear','span','ErrorType','IClipboardInterfaceService','getCurrentSequenceNodeIndex','scrollEvent$','getCurrentUnitForType','_displayArrayFormulaRangeShape','_config','_getActiveViewport','FORMULA_PROMPT_ACTIVATED','_inputFormulaListener','UniverSheetsFormulaPlugin','Injector','_initCanvasEventListeners','_hideFunctionPanel','_cellAlertManagerService','startAbsoluteRefType','_refreshArrayFormulaRangeShapeByRow','SPECIAL_PASTE_FORMAT','disposeWithMe','univer-formula-help-function-title-icon','getSheetCommandTarget','OPEN_BRACKET','clearSequenceNodes','getFormulaRefSelectionStyle','icon','FOCUSING_EDITOR_INPUT_FORMULA','DISABLE_NORMAL_SELECTIONS','univer-formula-search-function-item','visible','_addSelectionControlBySelectionData','offsetTop','__decorateClass$2','open','insertSequenceRef','_enterSelectingMode','removeEventListener','_initInterceptorEditorStart','next','univer-formula-help-param-prefix','getDefaultRefSelectionStyle','2451230bAtgwf','_onPointerDown','value','clearLastSelection','setSingleSelectionEnabled','_isLockedOnSelectionChangeRefString','getAllSelection','_createArrayFormulaRangeShape','pluginName','_searching','_getCurrentBodyDataStreamAndOffset','sheet.command.paste-formula','subscribe','7PzguZP','7588273uikVlO','_disableSelectionChanging','desc','_pressTab','className','MoreFunctions','FunctionParams','_editorService','startColumn','scrollBar','MoreFunctionsMenuItemFactory','evenodd','_updateSelections','FormulaEditorShowController','ENTER','sequenceNodeType','_getPrimary','IEditorService','_getSheetNameById','isHelping','_eventDisposables','_sheetSkeletonManagerService','_initZenService','getEditor','worksheet','col','setSkipLastEnabled','_previousInsertRefStringIndex','acceptFormulaName$','description','IDescriptionService','getPosition','top','8312124LupfYo','serializeRangeToRefString','_menuManagerService','_refreshArrayFormulaRangeShape','getAllRenderersOfType','onMouseEnter','jsx','__decorateParam$9','FormulaRenderManagerController','getFocusEditor','ReferenceAbsoluteOperation','univer-formula-help-function','_insertSelections','getName','default-paste-formula','_univerInstanceService','offset','BEFORE_CELL_EDIT','LEFT','idSuffix','UniverCore','endRow','KeyCode','FormulaPromptService','MoreFunctionsOperation','_getCurrentUnitIdAndSheetId','_sheetInterceptorService','UNIVER_SHEET','Select','OPERATION','_layoutService','setContextValue','_reset','getDataLength','__decorateClass','getFunctionAndParameter','formula.moreFunctions.next','copyType','handleSwitchActive','colorWhite','error','propertyIsEnumerable','defIds','UniverDesign','_zenZoneService','textRuns','univerjs-icon\x20univerjs-icon-','getFunctionTypeValues','CellAlertType','ReactCurrentOwner','getSearchListByType','SetSelectionsOperation','__decorateClass$7','formulaSelectFunctionResultItemActive','find','specialPaste.formula','selectionMoving$','getLocation','getCellInfoInMergeData','univer-formula-function-params-detail','_isSheetOrFormulaEditor','Inject','offsetX','getEditorObject','EQUALS','_initAcceptFormula','forEach','formulaSelectFunctionResultItemSelected','InterceptorEffectEnum','example','InsertFunctionOperation','_initialEditorInputChange','getFormulaStringByCell','DOCS_NORMAL_EDITOR_UNIT_ID_KEY','isICellData','setCurrentFunctionInfo','_formulaPromptService','1em','_init','COPY_TYPE','getViewport','_accept$','_initialize','getNormalSelectionStyle','ObjectMatrix','_pressArrowKey','univer-formula-more-functions','get','isFormulaId','_changeRuntime','isStringNumber','xlink:href','getColumnCount','convertSelectionDataToRange','DIV_BY_ZERO','moveFormulaRefOffset','ARROW_LEFT','formulaHelpParam','BuiltInUIPart','getBoundingClientRect','name','ARROW_UP','formulaMoreFunctions','indexOf','event','concat','amd','key','univer-formula-help-function-content-inner','loopColor3','getCurrentSequenceNode','_registerAutoFill','getRowCount','repeat','_selectionControls','SHEET_VIEWPORT_KEY','_disposeSelectionsChangeListeners','IUIPartsService','object','_themeService','formula-ui.operation.insert-function','M8.75\x205.32495C8.75\x205.73916\x208.41421\x206.07495\x208\x206.07495\x207.58579\x206.07495\x207.25\x205.73916\x207.25\x205.32495\x207.25\x204.91074\x207.58579\x204.57495\x208\x204.57495\x208.41421\x204.57495\x208.75\x204.91074\x208.75\x205.32495zM8.5999\x207.52505C8.5999\x207.19368\x208.33127\x206.92505\x207.9999\x206.92505\x207.66853\x206.92505\x207.3999\x207.19368\x207.3999\x207.52505V11.425C7.3999\x2011.7564\x207.66853\x2012.025\x207.9999\x2012.025\x208.33127\x2012.025\x208.5999\x2011.7564\x208.5999\x2011.425V7.52505z','enableForceKeepVisible','loopColor11','WorksheetEditPermission','getCurrentLastSelection','toRgbString','subUnitId','_selectionRenderService','resize','UNI_DISABLE_CHANGING_FOCUS_KEY','FOCUSING_DOC','BUTTON','formula-ui.operation.select-editor-formula','MoveSelectionCommand','WorksheetSetCellValuePermission','SumSingle','_pasteWithFormulaHook','call','Direction','ALL','univer-formula-help-decorator','MOVE_START','_currentlyWorkingRefRenderer','small','includes','showAlert','assign','matchRefDrawToken','getCurrentSelections','_isSelectionMovingRefSelections','Popup','formula.prompt.helpExample','_workbookSelections','startIndex','getActiveTextRange','_cursorStateListener','ColorKit','PREDEFINED_HOOK_NAME','FormulaAutoFillController','BaseSelectionRenderService','formulaInputParamsListItemName','selectionMoveEnd$','getSkeleton','_refreshFormulaAndCellEditor','formula.prompt.required','_numberColor','handleSelectChange','UniverInstanceType','accept','SearchFunctionOperation','formulaSearchFunctionItemName','getCurrentTheme','UniverSheetsFormulaUIPlugin','unsubscribe','_hoverManagerService','findStartRow','selectionMoved$','Module','function','AvgSingle','univer-formula-help-function-content-params-detail','AVERAGE','ArrowUp','_previousRangesCount','startRow','_registerClipboardHook','useEffect','FormulaClipboardController','NUM','mergeMenu','isMultiRowsColumnsRange','_localeService','RenderFormulaPromptContent','RIGHT','useResizeScrollObserver','CTRL_COMMAND','ScrollTimerType','CALC','_skeleton','_syncToEditor','disableLockedSelectionInsert','COLON','deserializeRangeWithSheet','selectionChangingState','hasColumnHeader','div','_changeRangeRef','REFERENCE','navigate','CONNECT','_isLockedOnSelectionInsertRefString','_context','isRealNum','dataStream','univer-formula-help-param','M0.899902\x208.00002C0.899902\x204.0788\x204.07868\x200.900024\x207.9999\x200.900024C11.9211\x200.900024\x2015.0999\x204.0788\x2015.0999\x208.00002C15.0999\x2011.9212\x2011.9211\x2015.1\x207.9999\x2015.1C4.07868\x2015.1\x200.899902\x2011.9212\x200.899902\x208.00002ZM7.9999\x202.10002C4.74142\x202.10002\x202.0999\x204.74154\x202.0999\x208.00002C2.0999\x2011.2585\x204.74142\x2013.9\x207.9999\x2013.9C11.2584\x2013.9\x2013.8999\x2011.2585\x2013.8999\x208.00002C13.8999\x204.74154\x2011.2584\x202.10002\x207.9999\x202.10002Z','toStringTag','updatePosition','onClick','loopColor2','getValueMatrixOfPasteFromIsNull','unit','complete','more-single','generateRandomId','none','_enableRefSelectionsRenderService','getEditCellState','_checkShouldEnterSelectingMode','#409f11','getSheetBySheetName','rotateZ(-90deg)','getActiveViewportByCoord','sequenceNodesBuilder','_buildTextRuns','prototype','React','getOwnPropertyDescriptor','loopColor10','UniverFormulaEnginePlugin','toUpperCase','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','ESC','getValueMatrix','SELECTION_SHAPE_DEPTH','VALUE','univer-formula-search-function','formulaHelpFunctionTitleIcon','__decorateClass$3','UniverUi','FORMULA_EDITOR_ACTIVATED'];_0x5a6a=function(){return _0xa1e137;};return _0x5a6a();}(function(_0x166a8b,_0xd70ef){const _0x296e25=_0x1c26,_0x3a2e0c=_0x166a8b();while(!![]){try{const _0x59990c=-parseInt(_0x296e25(0x16f))/0x1*(-parseInt(_0x296e25(0x2dd))/0x2)+parseInt(_0x296e25(0x2c1))/0x3+parseInt(_0x296e25(0x304))/0x4*(parseInt(_0x296e25(0x2c6))/0x5)+-parseInt(_0x296e25(0x191))/0x6+parseInt(_0x296e25(0x293))/0x7*(parseInt(_0x296e25(0x3ca))/0x8)+parseInt(_0x296e25(0x413))/0x9*(-parseInt(_0x296e25(0x162))/0xa)+-parseInt(_0x296e25(0x170))/0xb;if(_0x59990c===_0xd70ef)break;else _0x3a2e0c['push'](_0x3a2e0c['shift']());}catch(_0x4160f6){_0x3a2e0c['push'](_0x3a2e0c['shift']());}}}(_0x5a6a,0xe07a2),function(_0x414d93,_0x15d906){const _0xeea50c=_0x1c26;typeof exports==_0xeea50c(0x207)&&typeof module<'u'?_0x15d906(exports,require(_0xeea50c(0x2eb)),require(_0xeea50c(0x2e8)),require('@univerjs/engine-formula'),require(_0xeea50c(0x31e)),require(_0xeea50c(0x39f)),require('@univerjs/sheets'),require(_0xeea50c(0x31d)),require(_0xeea50c(0x378)),require(_0xeea50c(0x2ee)),require(_0xeea50c(0x28f)),require(_0xeea50c(0x398)),require(_0xeea50c(0x437))):typeof define==_0xeea50c(0x244)&&define[_0xeea50c(0x1fb)]?define(['exports',_0xeea50c(0x2eb),_0xeea50c(0x2e8),'@univerjs/engine-formula',_0xeea50c(0x31e),'@univerjs/docs-ui',_0xeea50c(0x445),'@univerjs/sheets-formula',_0xeea50c(0x378),_0xeea50c(0x2ee),_0xeea50c(0x28f),_0xeea50c(0x398),'@univerjs/docs'],_0x15d906):(_0x414d93=typeof globalThis<'u'?globalThis:_0x414d93||self,_0x15d906(_0x414d93[_0xeea50c(0x3e4)]={},_0x414d93[_0xeea50c(0x1a5)],_0x414d93[_0xeea50c(0xfb)],_0x414d93['UniverEngineFormula'],_0x414d93[_0xeea50c(0x31e)],_0x414d93['UniverDocsUi'],_0x414d93[_0xeea50c(0x39e)],_0x414d93['UniverSheetsFormula'],_0x414d93[_0xeea50c(0x28b)],_0x414d93[_0xeea50c(0x3eb)],_0x414d93[_0xeea50c(0x27e)],_0x414d93[_0xeea50c(0x1bc)],_0x414d93[_0xeea50c(0x41e)]));}(this,function(_0x41b79f,_0xe425a9,_0x4ad090,_0x4b6226,_0x45a77a,_0x475155,_0x282719,_0x42f993,_0x26b696,_0x2d766b,_0x1a370f,_0x1d93ab,_0x17db01){'use strict';const _0x357959=_0x1c26;var _0x450ac1=Object['defineProperty'],_0x4c3b62=(_0x497e1f,_0x536cc0,_0x3bb762)=>_0x536cc0 in _0x497e1f?_0x450ac1(_0x497e1f,_0x536cc0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3bb762}):_0x497e1f[_0x536cc0]=_0x3bb762,_0x3d5e2f=(_0x3eb8f9,_0x129623)=>_0x450ac1(_0x3eb8f9,'name',{'value':_0x129623,'configurable':!0x0}),_0x285b0f=(_0x130f01,_0x3c62d2,_0x243067)=>_0x4c3b62(_0x130f01,typeof _0x3c62d2!=_0x357959(0x35f)?_0x3c62d2+'':_0x3c62d2,_0x243067),_0x39f92d,_0x214bdb,_0x19bd22,_0x55483a,_0x5b26e3,_0x46c20a,_0x29bfad,_0x59c261,_0x44caeb,_0x421332;const _0x4da2cd={'id':_0x357959(0x16d),'type':_0xe425a9[_0x357959(0xde)][_0x357959(0x2e5)],'handler':_0x3d5e2f(async _0x519e17=>_0x519e17['get'](_0xe425a9[_0x357959(0x309)])['executeCommand'](_0x4ad090[_0x357959(0x3e3)]['id'],{'value':_0x4ad090[_0x357959(0x22f)]['SPECIAL_PASTE_FORMULA']}),_0x357959(0x137))},_0x38df5a={'id':_0x357959(0x216),'type':_0xe425a9[_0x357959(0xde)][_0x357959(0x1ae)],'handler':_0x3d5e2f((_0x214de3,_0xa525e7)=>!0x0,_0x357959(0x137))};var _0x45b967=Object[_0x357959(0x412)],_0x4c11b6=Object['getOwnPropertyDescriptor'],_0x400ce9=_0x3d5e2f((_0x15a731,_0x236e92,_0x1b98d0,_0x52337d)=>{const _0x5c0eed=_0x357959;for(var _0x5684a5=_0x52337d>0x1?void 0x0:_0x52337d?_0x4c11b6(_0x236e92,_0x1b98d0):_0x236e92,_0x366ded=_0x15a731[_0x5c0eed(0x2d9)]-0x1,_0x19d4ab;_0x366ded>=0x0;_0x366ded--)(_0x19d4ab=_0x15a731[_0x366ded])&&(_0x5684a5=(_0x52337d?_0x19d4ab(_0x236e92,_0x1b98d0,_0x5684a5):_0x19d4ab(_0x5684a5))||_0x5684a5);return _0x52337d&&_0x5684a5&&_0x45b967(_0x236e92,_0x1b98d0,_0x5684a5),_0x5684a5;},_0x357959(0xee)),_0x222ecb=_0x3d5e2f((_0x521b51,_0x47db03)=>(_0x493ebe,_0x57f661)=>_0x47db03(_0x493ebe,_0x57f661,_0x521b51),_0x357959(0x198));const _0x4ae58f=_0x357959(0x142),_0x1a63ed=_0xe425a9['createIdentifier'](_0x357959(0x37f));let _0x369ef7=(_0x39f92d=class{constructor(_0x3b8ad0){const _0x2b35e5=_0x357959;_0x285b0f(this,_0x2b35e5(0x408),new _0x45a77a[(_0x2b35e5(0x322))]()),_0x285b0f(this,'_help$',new _0x45a77a['Subject']()),_0x285b0f(this,_0x2b35e5(0x32d),new _0x45a77a[(_0x2b35e5(0x322))]()),_0x285b0f(this,'_accept$',new _0x45a77a[(_0x2b35e5(0x322))]()),_0x285b0f(this,_0x2b35e5(0x3bc),new _0x45a77a[(_0x2b35e5(0x322))]()),_0x285b0f(this,_0x2b35e5(0x2c2),this['_search$'][_0x2b35e5(0x450)]()),_0x285b0f(this,_0x2b35e5(0x3a1),this[_0x2b35e5(0x43a)][_0x2b35e5(0x450)]()),_0x285b0f(this,'navigate$',this['_navigate$'][_0x2b35e5(0x450)]()),_0x285b0f(this,'accept$',this['_accept$'][_0x2b35e5(0x450)]()),_0x285b0f(this,_0x2b35e5(0x18c),this[_0x2b35e5(0x3bc)][_0x2b35e5(0x450)]()),_0x285b0f(this,'_searching',!0x1),_0x285b0f(this,'_helping',!0x1),_0x285b0f(this,'_sequenceNodes',[]),_0x285b0f(this,_0x2b35e5(0x167),!0x1),_0x285b0f(this,_0x2b35e5(0x264),!0x1),this[_0x2b35e5(0x420)]=_0x3b8ad0;}[_0x357959(0x34c)](){const _0x319f38=_0x357959;this[_0x319f38(0x408)][_0x319f38(0x270)](),this[_0x319f38(0x43a)][_0x319f38(0x270)](),this[_0x319f38(0x32d)][_0x319f38(0x270)](),this[_0x319f38(0x1e2)][_0x319f38(0x270)](),this[_0x319f38(0x3bc)][_0x319f38(0x270)](),this['_sequenceNodes']=[];}['search'](_0x419d13){const _0x5d6f9b=_0x357959;this['_contextService'][_0x5d6f9b(0x1b0)](_0x4ae58f,_0x419d13['visible']),this[_0x5d6f9b(0x16b)]=_0x419d13['visible'],this[_0x5d6f9b(0x408)][_0x5d6f9b(0x15f)](_0x419d13);}[_0x357959(0x362)](){const _0x410916=_0x357959;return this[_0x410916(0x16b)];}[_0x357959(0x2a6)](_0x30385e){const _0x7f5d3a=_0x357959;this[_0x7f5d3a(0x2d8)]=_0x30385e[_0x7f5d3a(0x156)],this[_0x7f5d3a(0x43a)][_0x7f5d3a(0x15f)](_0x30385e);}[_0x357959(0x183)](){const _0x454924=_0x357959;return this[_0x454924(0x2d8)];}[_0x357959(0x262)](_0x52b6d4){const _0x30063d=_0x357959;this[_0x30063d(0x32d)][_0x30063d(0x15f)](_0x52b6d4);}[_0x357959(0x23a)](_0x2c5cc1){const _0x2f0c88=_0x357959;this[_0x2f0c88(0x1e2)][_0x2f0c88(0x15f)](_0x2c5cc1);}[_0x357959(0xf1)](_0x57fcb6){this['_acceptFormulaName$']['next'](_0x57fcb6);}[_0x357959(0x2ed)](){const _0xd7e53d=_0x357959;return[...this[_0xd7e53d(0x2d6)]];}[_0x357959(0x329)](_0x48e1bc){const _0x160f22=_0x357959;this[_0x160f22(0x2d6)]=_0x48e1bc;}[_0x357959(0x150)](){this['_sequenceNodes']=[];}['getCurrentSequenceNode'](_0x153bc8){const _0xed56c3=_0x357959;return this[_0xed56c3(0x2d6)][this[_0xed56c3(0x13c)](_0x153bc8)];}[_0x357959(0xe5)](_0x1b7489){const _0x5be3eb=_0x357959;return this[_0x5be3eb(0x2d6)][_0x1b7489];}['getCurrentSequenceNodeIndex'](_0x3f4611){const _0x33f28d=_0x357959;let _0x6d72c2=0x0;const _0x2d04be=this[_0x33f28d(0x2d6)][0x0];for(let _0x29cae7=0x0,_0x3c9906=this['_sequenceNodes']['length'];_0x29cae7<_0x3c9906;_0x29cae7++){const _0x223ea7=this[_0x33f28d(0x2d6)][_0x29cae7];if(typeof _0x223ea7==_0x33f28d(0x3c9))_0x6d72c2++;else{const {endIndex:_0x4a1e93}=_0x223ea7;_0x6d72c2=_0x4a1e93;}if(_0x3f4611<=_0x6d72c2)return typeof _0x2d04be==_0x33f28d(0x3c9)&&_0x3f4611!==0x0?_0x29cae7+0x1:_0x29cae7;}return this[_0x33f28d(0x2d6)][_0x33f28d(0x2d9)];}['updateSequenceRef'](_0x2c6159,_0x2198cc){const _0x17fbfb=_0x357959,_0x20ebd6=this[_0x17fbfb(0x2d6)][_0x2c6159];if(typeof _0x20ebd6==_0x17fbfb(0x3c9)||_0x20ebd6[_0x17fbfb(0x3c3)]!==_0x4b6226[_0x17fbfb(0x17f)]['REFERENCE'])return;const _0x556d5a=_0x2198cc[_0x17fbfb(0x2d9)]-_0x20ebd6['token'][_0x17fbfb(0x2d9)],_0x31cd58={..._0x20ebd6};_0x31cd58[_0x17fbfb(0x41b)]=_0x2198cc,_0x31cd58[_0x17fbfb(0xfd)]+=_0x556d5a,this[_0x17fbfb(0x2d6)][_0x2c6159]=_0x31cd58;for(let _0x4c1db8=_0x2c6159+0x1,_0x1604ec=this['_sequenceNodes'][_0x17fbfb(0x2d9)];_0x4c1db8<_0x1604ec;_0x4c1db8++){const _0x24aef8=this[_0x17fbfb(0x2d6)][_0x4c1db8];if(typeof _0x24aef8==_0x17fbfb(0x3c9))continue;const _0x1095da={..._0x24aef8};_0x1095da['startIndex']+=_0x556d5a,_0x1095da[_0x17fbfb(0xfd)]+=_0x556d5a,this[_0x17fbfb(0x2d6)][_0x4c1db8]=_0x1095da;}}[_0x357959(0x15b)](_0x51391b,_0x339933){const _0x521917=_0x357959,_0xa8c3c2=_0x339933['length'],_0x5a5dec=this[_0x521917(0x13c)](_0x51391b);this['_sequenceNodes']['splice'](_0x5a5dec,0x0,{'token':_0x339933,'startIndex':_0x51391b,'endIndex':_0x51391b+_0xa8c3c2-0x1,'nodeType':_0x4b6226[_0x521917(0x17f)][_0x521917(0x261)]});for(let _0x42fe1b=_0x5a5dec+0x1,_0x8a3e34=this['_sequenceNodes']['length'];_0x42fe1b<_0x8a3e34;_0x42fe1b++){const _0x4d4476=this[_0x521917(0x2d6)][_0x42fe1b];if(typeof _0x4d4476==_0x521917(0x3c9))continue;const _0x10c895={..._0x4d4476};_0x10c895['startIndex']+=_0xa8c3c2,_0x10c895[_0x521917(0xfd)]+=_0xa8c3c2,this[_0x521917(0x2d6)][_0x42fe1b]=_0x10c895;}}['insertSequenceString'](_0x3e3a42,_0x5ceaf4){const _0x5b56d8=_0x357959,_0x57fb6b=this[_0x5b56d8(0x13c)](_0x3e3a42),_0x3b0ba9=_0x5ceaf4['split']('');this[_0x5b56d8(0x2d6)][_0x5b56d8(0x30b)](_0x57fb6b,0x0,..._0x3b0ba9);const _0x5ace36=_0x3b0ba9[_0x5b56d8(0x2d9)];for(let _0x20d32c=_0x57fb6b+_0x5ace36,_0xdeaae1=this['_sequenceNodes'][_0x5b56d8(0x2d9)];_0x20d32c<_0xdeaae1;_0x20d32c++){const _0x2a7bae=this[_0x5b56d8(0x2d6)][_0x20d32c];if(typeof _0x2a7bae==_0x5b56d8(0x3c9))continue;const _0x218f01={..._0x2a7bae};_0x218f01[_0x5b56d8(0x22b)]+=_0x5ace36,_0x218f01[_0x5b56d8(0xfd)]+=_0x5ace36,this[_0x5b56d8(0x2d6)][_0x20d32c]=_0x218f01;}}[_0x357959(0xd8)](){this['_isLockedOnSelectionChangeRefString']=!0x0;}['disableLockedSelectionChange'](){const _0x2ffb82=_0x357959;this[_0x2ffb82(0x167)]=!0x1;}[_0x357959(0x11e)](){const _0x12be7e=_0x357959;return this[_0x12be7e(0x167)];}[_0x357959(0x42a)](){const _0x29f1a=_0x357959;this[_0x29f1a(0x264)]=!0x0;}[_0x357959(0x25a)](){const _0x24fce5=_0x357959;this[_0x24fce5(0x264)]=!0x1;}[_0x357959(0x351)](){const _0x17537b=_0x357959;return this[_0x17537b(0x264)];}},_0x3d5e2f(_0x39f92d,_0x357959(0x1a8)),_0x39f92d);_0x369ef7=_0x400ce9([_0x222ecb(0x0,_0xe425a9[_0x357959(0x399)])],_0x369ef7);const _0x4b97be={'id':_0x357959(0x405),'type':_0xe425a9[_0x357959(0xde)][_0x357959(0x1ae)],'handler':_0x3d5e2f(async(_0x31d013,_0x10b54a)=>(_0x31d013[_0x357959(0x1e8)](_0x1a63ed)[_0x357959(0x2a6)](_0x10b54a),!0x0),_0x357959(0x137))},_0x3a0b05={'id':_0x357959(0x209),'type':_0xe425a9[_0x357959(0xde)]['OPERATION'],'handler':_0x3d5e2f(async(_0x4145f7,_0x142edb)=>{const _0x5aaad4=_0x357959;var _0x221eec,_0x131f7c;const _0x5b8340=_0x4145f7['get'](_0x282719[_0x5aaad4(0x2c0)]),_0x1f75d4=_0x4145f7['get'](_0x475155['IEditorService']),_0x3d5d28=_0x5b8340[_0x5aaad4(0x226)]();if(!_0x3d5d28||!_0x3d5d28[_0x5aaad4(0x2d9)])return!0x1;const _0x597b13=_0x282719[_0x5aaad4(0x14e)](_0x4145f7['get'](_0xe425a9[_0x5aaad4(0x409)]));if(!_0x597b13)return!0x1;const {worksheet:_0x3849e4,unitId:_0x3ec95a,subUnitId:_0x2d634b}=_0x597b13,_0x22fd42=_0x3849e4[_0x5aaad4(0x130)](),{value:_0x7301e8}=_0x142edb,_0x25aab8=_0x4145f7[_0x5aaad4(0x1e8)](_0xe425a9[_0x5aaad4(0x309)]),_0x7c6b12=[];let _0x19593c=null,_0x22fdc8=0x0,_0x57dd5d=0x0,_0x44e503='';if(_0x3d5d28[_0x5aaad4(0x2d9)]===0x1&&(_0x5e9b72(_0x3d5d28[0x0][_0x5aaad4(0x2ff)])||_0x5c57db(_0x3d5d28[0x0]['range']))){const {range:_0x102c56,primary:_0xaa8420}=_0x3d5d28[0x0],_0x349819=(_0x221eec=_0xaa8420==null?void 0x0:_0xaa8420['actualRow'])!=null?_0x221eec:_0x102c56[_0x5aaad4(0x24a)],_0x369a04=(_0x131f7c=_0xaa8420==null?void 0x0:_0xaa8420[_0x5aaad4(0x35d)])!=null?_0x131f7c:_0x102c56[_0x5aaad4(0x178)];_0x19593c=_0x102c56,_0x22fdc8=_0x349819,_0x57dd5d=_0x369a04;const _0x312ff9=_0xf5a970(_0x22fd42,_0x349819,_0x369a04);_0x312ff9&&(_0x44e503=_0x4b6226['serializeRange'](_0x312ff9));}else _0x3d5d28[_0x5aaad4(0x10f)](_0x2f6028=>{const _0x9ca0bf=_0x5aaad4;var _0x456364,_0x525640;const {range:_0x314b34,primary:_0x4626a0}=_0x2f6028,_0x296fcf=(_0x456364=_0x4626a0==null?void 0x0:_0x4626a0[_0x9ca0bf(0x3f8)])!=null?_0x456364:_0x314b34['startRow'],_0x59bc0c=(_0x525640=_0x4626a0==null?void 0x0:_0x4626a0['actualColumn'])!=null?_0x525640:_0x314b34[_0x9ca0bf(0x178)],_0x586ae1=_0xf5a970(_0x22fd42,_0x296fcf,_0x59bc0c);if(!_0x586ae1)return _0x19593c=_0x314b34,_0x22fdc8=_0x296fcf,_0x57dd5d=_0x59bc0c,!0x0;const _0x31aadc=_0x4b6226[_0x9ca0bf(0x3c1)](_0x586ae1),_0x45fc0e='='+_0x7301e8+'('+_0x31aadc+')';return _0x7c6b12[_0x9ca0bf(0x3ef)]({'range':_0x314b34,'primary':{'row':_0x296fcf,'column':_0x59bc0c},'formula':_0x45fc0e}),!0x1;});if(_0x19593c){const _0x27a63d=_0x282719[_0x5aaad4(0x339)](_0x22fdc8,_0x57dd5d,_0x3849e4),_0x566eab={'range':_0xe425a9[_0x5aaad4(0x2e6)][_0x5aaad4(0x3da)](_0x19593c),'primary':{'startRow':_0x27a63d[_0x5aaad4(0x24a)],'startColumn':_0x27a63d[_0x5aaad4(0x178)],'endRow':_0x27a63d[_0x5aaad4(0x1a6)],'endColumn':_0x27a63d['endColumn'],'actualRow':_0x22fdc8,'actualColumn':_0x57dd5d,'isMerged':_0x27a63d[_0x5aaad4(0x29e)],'isMergedMainCell':_0x27a63d[_0x5aaad4(0x24a)]===_0x22fdc8&&_0x27a63d['startColumn']===_0x57dd5d}},_0x1fb8b7={'unitId':_0x3ec95a,'subUnitId':_0x2d634b,'selections':[_0x566eab]};await _0x25aab8[_0x5aaad4(0x3ea)](_0x282719[_0x5aaad4(0x1c4)]['id'],_0x1fb8b7),setTimeout(()=>{const _0x1a87d7=_0x5aaad4;_0x1f75d4[_0x1a87d7(0x2be)]('='+_0x7301e8+'('+_0x44e503);},0x0);}return _0x7c6b12['length']===0x0?!0x1:_0x25aab8['executeCommand'](_0x42f993['InsertFunctionCommand']['id'],{'list':_0x7c6b12});},'handler')};function _0xf5a970(_0x164315,_0x3f48d5,_0x37285b){const _0x1fd586=_0x2f8478(_0x164315,_0x3f48d5,_0x37285b);if(_0x1fd586!==_0x3f48d5)return{'startRow':_0x1fd586,'endRow':_0x3f48d5-0x1,'startColumn':_0x37285b,'endColumn':_0x37285b};const _0x4aaf63=_0x532971(_0x164315,_0x3f48d5,_0x37285b);return _0x4aaf63!==_0x37285b?{'startRow':_0x3f48d5,'endRow':_0x3f48d5,'startColumn':_0x4aaf63,'endColumn':_0x37285b-0x1}:null;}_0x3d5e2f(_0xf5a970,'findRefRange');function _0x2f8478(_0xafce70,_0x57eb0b,_0x3f6eb0){let _0x51847e=!0x1;if(_0x57eb0b===0x0)return _0x57eb0b;for(let _0x331b98=_0x57eb0b-0x1;_0x331b98>=0x0;_0x331b98--){const _0x11a3f8=_0xafce70['getValue'](_0x331b98,_0x3f6eb0);if(_0x58d3f7(_0x11a3f8)&&!_0x51847e){if(_0x331b98===0x0)return 0x0;_0x51847e=!0x0;}else{if(_0x51847e&&!_0x58d3f7(_0x11a3f8))return _0x331b98+0x1;if(_0x51847e&&_0x331b98===0x0)return 0x0;}}return _0x57eb0b;}_0x3d5e2f(_0x2f8478,_0x357959(0x241));function _0x532971(_0x8bb501,_0x4c8c2c,_0x5e0ed3){let _0x2e70ac=!0x1;if(_0x5e0ed3===0x0)return _0x5e0ed3;for(let _0x25d386=_0x5e0ed3-0x1;_0x25d386>=0x0;_0x25d386--){const _0x2c3a59=_0x8bb501['getValue'](_0x4c8c2c,_0x25d386);if(_0x58d3f7(_0x2c3a59)&&!_0x2e70ac){if(_0x25d386===0x0)return 0x0;_0x2e70ac=!0x0;}else{if(_0x2e70ac&&!_0x58d3f7(_0x2c3a59))return _0x25d386+0x1;if(_0x2e70ac&&_0x25d386===0x0)return 0x0;}}return _0x5e0ed3;}_0x3d5e2f(_0x532971,_0x357959(0x2ae));function _0x58d3f7(_0x5274f9){const _0x1a8a67=_0x357959;if(_0x5274f9!=null&&_0x5274f9['p']){const _0x2c00d5=_0x5274f9==null?void 0x0:_0x5274f9['p'][_0x1a8a67(0x3e9)];if(_0x2c00d5==null)return!0x1;const _0x867e43=_0x2c00d5[_0x1a8a67(0x267)],_0x404024=_0x867e43['substring'](_0x867e43['length']-0x2,_0x867e43[_0x1a8a67(0x2d9)])===_0xe425a9[_0x1a8a67(0x38d)]?_0x867e43[_0x1a8a67(0x427)](0x0,_0x867e43[_0x1a8a67(0x2d9)]-0x2):_0x867e43;return _0xe425a9[_0x1a8a67(0x266)](_0x404024);}return _0x5274f9&&(_0x5274f9['t']===_0xe425a9[_0x1a8a67(0x435)][_0x1a8a67(0x131)]||_0xe425a9[_0x1a8a67(0x341)](_0x5274f9)===_0xe425a9[_0x1a8a67(0x435)][_0x1a8a67(0x131)]);}_0x3d5e2f(_0x58d3f7,'isNumberCell');function _0x5e9b72(_0x15d03c){const _0x112335=_0x357959;return _0x15d03c[_0x112335(0x24a)]===_0x15d03c['endRow']&&_0x15d03c[_0x112335(0x178)]===_0x15d03c[_0x112335(0x33a)];}_0x3d5e2f(_0x5e9b72,_0x357959(0x35e));function _0x5c57db(_0x3189b9){const _0x6c59cd=_0x357959;return _0x3189b9[_0x6c59cd(0x24a)]!==_0x3189b9[_0x6c59cd(0x1a6)]&&_0x3189b9[_0x6c59cd(0x178)]!==_0x3189b9[_0x6c59cd(0x33a)];}_0x3d5e2f(_0x5c57db,_0x357959(0x250));const _0x2a1115='SHEET_FORMULA_UI_PLUGIN',_0x45d642=_0x2a1115+_0x357959(0x2cd),_0x34d7de={'id':_0x357959(0xf9),'type':_0xe425a9[_0x357959(0xde)]['OPERATION'],'handler':_0x3d5e2f(async _0x1b3485=>(_0x1b3485[_0x357959(0x1e8)](_0x26b696[_0x357959(0x442)])[_0x357959(0x15a)]({'header':{'title':_0x357959(0x316)},'children':{'label':_0x45d642}}),!0x0),'handler')},_0x53d061={'id':_0x357959(0x3ec),'type':_0xe425a9[_0x357959(0xde)][_0x357959(0x1ae)],'handler':_0x3d5e2f(async _0x376698=>!0x0,_0x357959(0x137))},_0x1785d6={'id':_0x357959(0x12d),'type':_0xe425a9[_0x357959(0xde)][_0x357959(0x1ae)],'handler':_0x3d5e2f(async(_0x1876c1,_0x22b76d)=>(_0x1876c1['get'](_0x1a63ed)[_0x357959(0xe7)](_0x22b76d),!0x0),'handler')},_0x2dd73e='sheets-formula.base.config',_0x11a1ed={};function _0x3068a4(_0x20a9cc){const _0x41cecc=_0x357959;return _0x20a9cc['getContextValue'](_0xe425a9[_0x41cecc(0x214)])&&_0x20a9cc['getContextValue'](_0xe425a9['FOCUSING_UNIVER_EDITOR'])&&_0x20a9cc['getContextValue'](_0xe425a9[_0x41cecc(0x364)]);}_0x3d5e2f(_0x3068a4,_0x357959(0x296));function _0x4b8fb1(_0x3ff89f){const _0xb7eb5a=_0x357959;return(_0xe425a9['isFormulaString'](_0x3ff89f==null?void 0x0:_0x3ff89f['f'])||_0xe425a9[_0xb7eb5a(0x1e9)](_0x3ff89f==null?void 0x0:_0x3ff89f['si']))&&typeof(_0x3ff89f==null?void 0x0:_0x3ff89f['v'])==_0xb7eb5a(0x3c9)&&_0x4b6226[_0xb7eb5a(0x3d8)][_0xb7eb5a(0x3a4)](_0x3ff89f['v'])?_0x3ff89f['v']:null;}_0x3d5e2f(_0x4b8fb1,'extractFormulaError');var _0x25c520=Object[_0x357959(0x412)],_0x16cb89=Object['getOwnPropertyDescriptor'],_0x4b5c61=_0x3d5e2f((_0xec2b87,_0x1f884b,_0x14f13e,_0x296c39)=>{const _0x13b0fd=_0x357959;for(var _0x5cca34=_0x296c39>0x1?void 0x0:_0x296c39?_0x16cb89(_0x1f884b,_0x14f13e):_0x1f884b,_0x78ce0c=_0xec2b87[_0x13b0fd(0x2d9)]-0x1,_0x125b26;_0x78ce0c>=0x0;_0x78ce0c--)(_0x125b26=_0xec2b87[_0x78ce0c])&&(_0x5cca34=(_0x296c39?_0x125b26(_0x1f884b,_0x14f13e,_0x5cca34):_0x125b26(_0x5cca34))||_0x5cca34);return _0x296c39&&_0x5cca34&&_0x25c520(_0x1f884b,_0x14f13e,_0x5cca34),_0x5cca34;},_0x357959(0xef)),_0x354404=_0x3d5e2f((_0x3d5297,_0x337503)=>(_0x52ec41,_0x33e7b1)=>_0x337503(_0x52ec41,_0x33e7b1,_0x3d5297),_0x357959(0x41d));const _0x59c41b='SHEET_FORMULA_ALERT',_0x262e15={[_0x4b6226[_0x357959(0x13a)][_0x357959(0x1ef)]]:'divByZero',[_0x4b6226[_0x357959(0x13a)][_0x357959(0x2df)]]:_0x357959(0x1f5),[_0x4b6226[_0x357959(0x13a)][_0x357959(0x287)]]:_0x357959(0x164),[_0x4b6226['ErrorType'][_0x357959(0x24e)]]:_0x357959(0x37a),[_0x4b6226[_0x357959(0x13a)]['NA']]:'na',[_0x4b6226[_0x357959(0x13a)][_0x357959(0x3bd)]]:_0x357959(0x136),[_0x4b6226['ErrorType']['REF']]:_0x357959(0x2ce),[_0x4b6226[_0x357959(0x13a)]['SPILL']]:_0x357959(0x44c),[_0x4b6226['ErrorType'][_0x357959(0x257)]]:_0x357959(0x3d0),[_0x4b6226[_0x357959(0x13a)][_0x357959(0x36d)]]:_0x357959(0x1b9),[_0x4b6226[_0x357959(0x13a)][_0x357959(0x263)]]:_0x357959(0x3f1),[_0x4b6226[_0x357959(0x13a)][_0x357959(0x404)]]:_0x357959(0x443)};let _0x578075=(_0x214bdb=class extends _0xe425a9['Disposable']{constructor(_0x584f96,_0x672ee,_0xea3f89,_0x3b298,_0x54ce3f){const _0x3ada65=_0x357959;super(),this[_0x3ada65(0x265)]=_0x584f96,this[_0x3ada65(0x240)]=_0x672ee,this[_0x3ada65(0x148)]=_0xea3f89,this['_localeService']=_0x3b298,this['_zenZoneService']=_0x54ce3f,this[_0x3ada65(0x1df)]();}[_0x357959(0x1df)](){const _0x416758=_0x357959;this[_0x416758(0x11f)](),this[_0x416758(0x186)]();}[_0x357959(0x11f)](){const _0x3c68cc=_0x357959;this[_0x3c68cc(0x14c)](this[_0x3c68cc(0x240)][_0x3c68cc(0x2de)][_0x3c68cc(0x16e)](_0x4e08aa=>{const _0x336407=_0x3c68cc;var _0x5e4ce5;if(_0x4e08aa){const _0x304f1d=this['_context']['unit'][_0x336407(0x40f)]();if(!_0x304f1d)return;const _0x25574e=_0x304f1d[_0x336407(0x11a)](_0x4e08aa[_0x336407(0x2a5)][_0x336407(0x2f1)],_0x4e08aa[_0x336407(0x2a5)]['col']);if(_0xe425a9[_0x336407(0x1db)](_0x25574e)){const _0x2fb0da=_0x4b8fb1(_0x25574e);if(!_0x2fb0da)return;const _0x8fb016=this[_0x336407(0x148)][_0x336407(0x41a)][_0x336407(0x1e8)](_0x59c41b),_0x409ecd=(_0x5e4ce5=_0x8fb016==null?void 0x0:_0x8fb016[_0x336407(0x3dc)])==null?void 0x0:_0x5e4ce5[_0x336407(0x2a5)];if(_0x409ecd&&_0x409ecd[_0x336407(0x2f1)]===_0x4e08aa[_0x336407(0x2a5)][_0x336407(0x2f1)]&&_0x409ecd[_0x336407(0x189)]===_0x4e08aa['location'][_0x336407(0x189)]&&_0x409ecd[_0x336407(0x210)]===_0x4e08aa['location']['subUnitId']&&_0x409ecd[_0x336407(0x439)]===_0x4e08aa[_0x336407(0x2a5)]['unitId'])return;this[_0x336407(0x148)][_0x336407(0x223)]({'type':_0x4ad090[_0x336407(0x1c1)][_0x336407(0x36d)],'title':this[_0x336407(0x251)]['t']('formula.error.title'),'message':this[_0x336407(0x251)]['t'](_0x336407(0x12a)+_0x262e15[_0x2fb0da]),'location':_0x4e08aa[_0x336407(0x2a5)],'width':0xc8,'height':0x4a,'key':_0x59c41b});return;}}this[_0x336407(0x148)][_0x336407(0x302)](_0x59c41b);}));}['_initZenService'](){const _0x2dbc63=_0x357959;this[_0x2dbc63(0x14c)](this[_0x2dbc63(0x1bd)]['visible$'][_0x2dbc63(0x16e)](_0x19108a=>{const _0x3fb9c5=_0x2dbc63;_0x19108a&&this['_cellAlertManagerService'][_0x3fb9c5(0x302)](_0x59c41b);}));}},_0x3d5e2f(_0x214bdb,'FormulaAlertRenderController'),_0x214bdb);_0x578075=_0x4b5c61([_0x354404(0x1,_0xe425a9['Inject'](_0x4ad090['HoverManagerService'])),_0x354404(0x2,_0xe425a9[_0x357959(0x1ce)](_0x4ad090[_0x357959(0x308)])),_0x354404(0x3,_0xe425a9[_0x357959(0x1ce)](_0xe425a9[_0x357959(0x2d2)])),_0x354404(0x4,_0x26b696[_0x357959(0x297)])],_0x578075);var _0x5ed2ca=Object['defineProperty'],_0x320900=Object[_0x357959(0x27f)],_0x25d0ff=_0x3d5e2f((_0x1ec3bb,_0x54b854,_0x45fa2a,_0x1fdba0)=>{for(var _0x541611=_0x1fdba0>0x1?void 0x0:_0x1fdba0?_0x320900(_0x54b854,_0x45fa2a):_0x54b854,_0x21cbef=_0x1ec3bb['length']-0x1,_0x6de2a8;_0x21cbef>=0x0;_0x21cbef--)(_0x6de2a8=_0x1ec3bb[_0x21cbef])&&(_0x541611=(_0x1fdba0?_0x6de2a8(_0x54b854,_0x45fa2a,_0x541611):_0x6de2a8(_0x541611))||_0x541611);return _0x1fdba0&&_0x541611&&_0x5ed2ca(_0x54b854,_0x45fa2a,_0x541611),_0x541611;},_0x357959(0x1c5)),_0x1ab9b7=_0x3d5e2f((_0x24790b,_0x4524ce)=>(_0x5df95c,_0x157585)=>_0x4524ce(_0x5df95c,_0x157585,_0x24790b),'__decorateParam$7');let _0x52aa17=(_0x19bd22=class extends _0xe425a9[_0x357959(0x303)]{constructor(_0xc82839,_0x9bc38e){const _0xb04fc2=_0x357959;super(),this[_0xb04fc2(0x36b)]=_0xc82839,this[_0xb04fc2(0x3f4)]=_0x9bc38e,this[_0xb04fc2(0x200)]();}[_0x357959(0x200)](){const _0x2ec2bb=_0x357959,_0x23a8d9={'type':_0x4ad090[_0x2ec2bb(0x3c0)][_0x2ec2bb(0x354)],'priority':0x3e9,'match':_0x3d5e2f(_0x59b76b=>_0xe425a9['isFormulaString'](_0x59b76b==null?void 0x0:_0x59b76b['f'])||_0xe425a9[_0x2ec2bb(0x1e9)](_0x59b76b==null?void 0x0:_0x59b76b['si']),_0x2ec2bb(0x3a8)),'isContinue':_0x3d5e2f((_0x16cc43,_0x1d7b5c)=>_0x16cc43['type']===_0x4ad090[_0x2ec2bb(0x3c0)][_0x2ec2bb(0x354)],_0x2ec2bb(0x2bc)),'applyFunctions':{[_0x4ad090['APPLY_TYPE'][_0x2ec2bb(0x128)]]:(_0x46c00e,_0x55f403,_0x1e6517,_0x48cd7d)=>{const _0x2641a7=_0x2ec2bb,{data:_0x264573,index:_0xc615fe}=_0x46c00e;return this[_0x2641a7(0x3de)](_0x264573,_0x55f403,_0x1e6517,_0xc615fe,_0x48cd7d);}}};this[_0x2ec2bb(0x36b)]['registerRule'](_0x23a8d9);}[_0x357959(0x3de)](_0x4abf9a,_0x346ef6,_0x516905,_0x283b15,_0x317213){const _0x4cab06=_0x357959;var _0x555272,_0x50a1a4;const _0x4e555a=_0x3fa8cb(_0x317213),_0x4274b6=[],_0x534a3c=new Map();for(let _0xdfce84=0x1;_0xdfce84<=_0x346ef6;_0xdfce84++){const _0x1bc113=(_0xdfce84-0x1)%_0x4abf9a[_0x4cab06(0x2d9)],_0x19e722=_0xe425a9[_0x4cab06(0xe0)][_0x4cab06(0x105)](_0x4abf9a[_0x1bc113]);if(_0x19e722){const _0x2472ea=((_0x555272=_0x4abf9a[_0x1bc113])==null?void 0x0:_0x555272['f'])||'',_0x501e76=((_0x50a1a4=_0x4abf9a[_0x1bc113])==null?void 0x0:_0x50a1a4['si'])||'',_0x30ed29=_0xe425a9['isFormulaString'](_0x2472ea);if(_0xe425a9[_0x4cab06(0x1e9)](_0x501e76))_0x19e722['si']=_0x501e76,_0x19e722['f']=null,_0x19e722['v']=null,_0x19e722['p']=null,_0x19e722['t']=null,_0x516905===_0xe425a9[_0x4cab06(0x21c)][_0x4cab06(0x3a9)]||_0x516905===_0xe425a9[_0x4cab06(0x21c)][_0x4cab06(0x253)]?_0x4274b6['push'](_0x19e722):_0x4274b6[_0x4cab06(0x2ec)](_0x19e722);else{if(_0x30ed29){let _0x43ba3d=_0x534a3c[_0x4cab06(0x1e8)](_0x1bc113);if(_0x43ba3d)_0x19e722['si']=_0x43ba3d,_0x19e722['f']=null,_0x19e722['v']=null,_0x19e722['p']=null,_0x19e722['t']=null;else{_0x43ba3d=_0xe425a9[_0x4cab06(0xe0)][_0x4cab06(0x272)](0x6),_0x534a3c[_0x4cab06(0x3dd)](_0x1bc113,_0x43ba3d);const {offsetX:_0x2452d9,offsetY:_0x1d6c94}=_0x3a04f1(_0x4e555a,_0x516905),_0x3e9aa8=this['_lexerTreeBuilder']['moveFormulaRefOffset'](_0x2472ea,_0x2452d9,_0x1d6c94);_0x19e722['si']=_0x43ba3d,_0x19e722['f']=_0x3e9aa8,_0x19e722['v']=null,_0x19e722['p']=null,_0x19e722['t']=null;}_0x516905===_0xe425a9[_0x4cab06(0x21c)][_0x4cab06(0x3a9)]||_0x516905===_0xe425a9[_0x4cab06(0x21c)]['RIGHT']?_0x4274b6[_0x4cab06(0x3ef)](_0x19e722):_0x4274b6[_0x4cab06(0x2ec)](_0x19e722);}}}}return _0x4274b6;}},_0x3d5e2f(_0x19bd22,_0x357959(0x230)),_0x19bd22);_0x52aa17=_0x25d0ff([_0x1ab9b7(0x0,_0x4ad090[_0x357959(0x2d7)]),_0x1ab9b7(0x1,_0xe425a9[_0x357959(0x1ce)](_0x4b6226[_0x357959(0x34a)]))],_0x52aa17);function _0x3a04f1(_0x7460b1,_0x2c5ac5){const _0x58ad3e=_0x357959;let _0x5c52ad=0x0,_0x458671=0x0;switch(_0x2c5ac5){case _0xe425a9[_0x58ad3e(0x21c)]['UP']:_0x458671=-_0x7460b1;break;case _0xe425a9[_0x58ad3e(0x21c)][_0x58ad3e(0x253)]:_0x5c52ad=_0x7460b1;break;case _0xe425a9[_0x58ad3e(0x21c)][_0x58ad3e(0x3a9)]:_0x458671=_0x7460b1;break;case _0xe425a9['Direction'][_0x58ad3e(0x1a3)]:_0x5c52ad=-_0x7460b1;break;}return{'offsetX':_0x5c52ad,'offsetY':_0x458671};}_0x3d5e2f(_0x3a04f1,_0x357959(0x331));function _0x3fa8cb(_0x192796){let _0x5409a4=0x0;for(const _0x4dc671 in _0x192796)_0x192796[_0x4dc671]['forEach'](_0xf478da=>{_0x5409a4+=_0xf478da['data']['length'];});return _0x5409a4;}_0x3d5e2f(_0x3fa8cb,_0x357959(0x1b2));var _0x51738f=Object[_0x357959(0x412)],_0x27ff4a=Object['getOwnPropertyDescriptor'],_0x9f2d37=_0x3d5e2f((_0x4ef3c0,_0x4ec47c,_0x57aada,_0xa3422)=>{const _0xd10910=_0x357959;for(var _0x32eada=_0xa3422>0x1?void 0x0:_0xa3422?_0x27ff4a(_0x4ec47c,_0x57aada):_0x4ec47c,_0x502789=_0x4ef3c0[_0xd10910(0x2d9)]-0x1,_0x4dc0ea;_0x502789>=0x0;_0x502789--)(_0x4dc0ea=_0x4ef3c0[_0x502789])&&(_0x32eada=(_0xa3422?_0x4dc0ea(_0x4ec47c,_0x57aada,_0x32eada):_0x4dc0ea(_0x32eada))||_0x32eada);return _0xa3422&&_0x32eada&&_0x51738f(_0x4ec47c,_0x57aada,_0x32eada),_0x32eada;},_0x357959(0x3ed)),_0x4c5e7b=_0x3d5e2f((_0x33095c,_0x47f211)=>(_0x2ab744,_0x48577f)=>_0x47f211(_0x2ab744,_0x48577f,_0x33095c),_0x357959(0x42d));const _0x2929a4=_0x357959(0x19f);let _0x30c5f3=(_0x55483a=class extends _0xe425a9[_0x357959(0x303)]{constructor(_0x359c6c,_0xee261c,_0x4a04ab,_0xa587b6,_0x2366c0){const _0x22e18a=_0x357959;super(),this[_0x22e18a(0x37e)]=_0x359c6c,this[_0x22e18a(0x3f4)]=_0xee261c,this[_0x22e18a(0x440)]=_0x4a04ab,this[_0x22e18a(0x36c)]=_0xa587b6,this[_0x22e18a(0x321)]=_0x2366c0,this[_0x22e18a(0x1e3)]();}[_0x357959(0x1e3)](){const _0x4a4baf=_0x357959;this[_0x4a4baf(0x24b)]();}[_0x357959(0x24b)](){const _0x30f116=_0x357959;this['disposeWithMe'](this[_0x30f116(0x440)][_0x30f116(0x400)](this[_0x30f116(0x2db)]())),this['disposeWithMe'](this[_0x30f116(0x440)][_0x30f116(0x400)](this[_0x30f116(0x21a)]()));}['_pasteFormulaHook'](){const _0x56bb1b=_0x357959;return{'id':_0x4ad090[_0x56bb1b(0x22f)][_0x56bb1b(0x2d4)],'priority':0xa,'specialPasteInfo':{'label':_0x56bb1b(0x1c8)},'onPasteCells':_0x3d5e2f((_0x5a7dfc,_0x3fece0,_0x419c95,_0x107705)=>this['_onPasteCells'](_0x5a7dfc,_0x3fece0,_0x419c95,_0x107705,!0x0),'onPasteCells')};}['_pasteWithFormulaHook'](){const _0x5588eb=_0x357959;return{'id':_0x2929a4,'priority':0xa,'onPasteCells':_0x3d5e2f((_0x42bd5c,_0x11f3f8,_0x7916d9,_0x474ef0)=>this[_0x5588eb(0x37b)](_0x42bd5c,_0x11f3f8,_0x7916d9,_0x474ef0,!0x1),_0x5588eb(0x355))};}[_0x357959(0x37b)](_0x7b53a2,_0x43edfe,_0x379efd,_0x2fd60c,_0x3a1fa6){const _0x420fcb=_0x357959;var _0x2cbdb5;if([_0x4ad090['PREDEFINED_HOOK_NAME'][_0x420fcb(0x14b)],_0x4ad090[_0x420fcb(0x22f)]['SPECIAL_PASTE_COL_WIDTH']][_0x420fcb(0x222)](_0x2fd60c[_0x420fcb(0x2dc)]))return{'undos':[],'redos':[]};const _0x5dc049=this[_0x420fcb(0x37e)][_0x420fcb(0x13e)](_0xe425a9[_0x420fcb(0x239)][_0x420fcb(0x1ac)]),_0x36b588=_0x43edfe[_0x420fcb(0x439)]||_0x5dc049['getUnitId'](),_0x1e4021=_0x43edfe[_0x420fcb(0x210)]||((_0x2cbdb5=_0x5dc049[_0x420fcb(0x40f)]())==null?void 0x0:_0x2cbdb5['getSheetId']());if(!_0x36b588||!_0x1e4021)return{'undos':[],'redos':[]};const _0x2756c1=_0x43edfe['range'],_0xd9e15b=_0x379efd,_0x1b8a2b={'copyType':_0x2fd60c[_0x420fcb(0x1b6)]||_0x4ad090[_0x420fcb(0x1e0)][_0x420fcb(0x128)],'copyRange':_0x7b53a2==null?void 0x0:_0x7b53a2[_0x420fcb(0x2ff)],'pasteType':_0x2fd60c[_0x420fcb(0x2dc)]};return this[_0x420fcb(0x36c)][_0x420fcb(0x429)](_0x52245f=>_0xc405e(_0x36b588,_0x1e4021,_0x2756c1,_0xd9e15b,_0x52245f,_0x1b8a2b,this[_0x420fcb(0x3f4)],this[_0x420fcb(0x321)],_0x3a1fa6,_0x7b53a2));}},_0x3d5e2f(_0x55483a,_0x357959(0x24d)),_0x55483a);_0x30c5f3=_0x9f2d37([_0x4c5e7b(0x0,_0xe425a9[_0x357959(0x409)]),_0x4c5e7b(0x1,_0xe425a9['Inject'](_0x4b6226[_0x357959(0x34a)])),_0x4c5e7b(0x2,_0x4ad090['ISheetClipboardService']),_0x4c5e7b(0x3,_0xe425a9[_0x357959(0x1ce)](_0xe425a9['Injector'])),_0x4c5e7b(0x4,_0xe425a9[_0x357959(0x1ce)](_0x4b6226['FormulaDataModel']))],_0x30c5f3);function _0xc405e(_0x473c5e,_0x146d6a,_0x3757e7,_0x284251,_0x38d6cf,_0x48181a,_0x8823c3,_0x1b2cd2,_0x285950=!0x1,_0x1c7c5e){const _0x3ee900=_0x357959,_0x5ad76c=[],_0x4f1824=[],_0x550321=_0x298280(_0x473c5e,_0x146d6a,_0x3757e7,_0x284251,_0x48181a,_0x8823c3,_0x1b2cd2,_0x1c7c5e),_0x1b739d={'unitId':_0x473c5e,'subUnitId':_0x146d6a,'cellValue':_0x550321[_0x3ee900(0x31b)]()};_0x5ad76c[_0x3ee900(0x3ef)]({'id':_0x282719[_0x3ee900(0x101)]['id'],'params':_0x1b739d});const _0x501fb8=_0x282719['SetRangeValuesUndoMutationFactory'](_0x38d6cf,_0x1b739d);return _0x4f1824['push']({'id':_0x282719['SetRangeValuesMutation']['id'],'params':_0x501fb8}),{'undos':_0x4f1824,'redos':_0x5ad76c};}_0x3d5e2f(_0xc405e,'getSetCellFormulaMutations');function _0x298280(_0x466962,_0x1002f0,_0x4caeb8,_0x109d91,_0x32e1f0,_0x405432,_0x464a1e,_0x2e5c28){const _0x425dae=_0x357959;return _0x2e5c28?_0x32e1f0[_0x425dae(0x2dc)]===_0x4ad090[_0x425dae(0x22f)]['SPECIAL_PASTE_VALUE']?_0x2c12da(_0x466962,_0x1002f0,_0x4caeb8,_0x109d91,_0x464a1e,_0x2e5c28):_0x32e1f0[_0x425dae(0x2dc)]===_0x4ad090[_0x425dae(0x22f)][_0x425dae(0x2d4)]?_0x4b0de0(_0x466962,_0x1002f0,_0x4caeb8,_0x109d91,_0x405432,_0x464a1e,_0x2e5c28):_0x37bae4(_0x466962,_0x1002f0,_0x4caeb8,_0x109d91,_0x405432,_0x464a1e,_0x2e5c28):_0x5754e4(_0x466962,_0x1002f0,_0x4caeb8,_0x109d91,_0x464a1e);}_0x3d5e2f(_0x298280,_0x357959(0x285));function _0x5754e4(_0xeb26b3,_0x181703,_0x51692f,_0x4d2670,_0x14f572){const _0x2eb246=_0x357959;var _0x58523a,_0x5c41d8;const _0x2a8b78=new _0xe425a9[(_0x2eb246(0x1e5))](),_0x20f294=(_0x5c41d8=(_0x58523a=_0x14f572[_0x2eb246(0x2d0)]())==null?void 0x0:_0x58523a[_0xeb26b3])==null?void 0x0:_0x5c41d8[_0x181703];return _0x4d2670['forValue']((_0x4e53e4,_0x30dd93,_0x49d471)=>{const _0x5925f8=_0x2eb246;var _0x31efc2;const _0x1cbe45=_0x51692f[_0x5925f8(0x2f0)][_0x4e53e4],_0x1fa86e=_0x51692f[_0x5925f8(0x2a9)][_0x30dd93],_0x15677a={};_0xe425a9['isFormulaString'](_0x49d471['v'])?(_0x15677a['v']=null,_0x15677a['f']=''+_0x49d471['v'],_0x15677a['si']=null,_0x15677a['p']=null,_0x2a8b78['setValue'](_0x1cbe45,_0x1fa86e,_0x15677a)):(_0x31efc2=_0x20f294==null?void 0x0:_0x20f294[_0x1cbe45])!=null&&_0x31efc2[_0x1fa86e]&&(_0x15677a['v']=_0x49d471['v'],_0x15677a['f']=null,_0x15677a['si']=null,_0x15677a['p']=null,_0x2a8b78[_0x5925f8(0x2a3)](_0x1cbe45,_0x1fa86e,_0x15677a));}),_0x2a8b78;}_0x3d5e2f(_0x5754e4,_0x357959(0x26e));function _0x2c12da(_0x4fffbf,_0x2183bc,_0x429099,_0x1f8491,_0x408047,_0x9b3318){const _0xe662c2=_0x357959;var _0x3cc825,_0x4648a2,_0x1524b3,_0x590ec5;const _0xfe0887=new _0xe425a9[(_0xe662c2(0x1e5))](),_0x2222f7=(_0x4648a2=(_0x3cc825=_0x408047[_0xe662c2(0x436)]())==null?void 0x0:_0x3cc825[_0x9b3318[_0xe662c2(0x439)]])==null?void 0x0:_0x4648a2[_0x9b3318[_0xe662c2(0x210)]],_0xe2a228=(_0x590ec5=(_0x1524b3=_0x408047[_0xe662c2(0x2d0)]())==null?void 0x0:_0x1524b3[_0x4fffbf])==null?void 0x0:_0x590ec5[_0x2183bc];return _0x1f8491[_0xe662c2(0x33e)]((_0x26daef,_0x497152,_0x243611)=>{const _0xd65170=_0xe662c2;var _0x529f40,_0x894934;const _0x4fcfed=_0x9b3318[_0xd65170(0x2ff)][_0xd65170(0x2f0)][_0x26daef%_0x9b3318[_0xd65170(0x2ff)][_0xd65170(0x2f0)][_0xd65170(0x2d9)]],_0x5eb9d1=_0x9b3318[_0xd65170(0x2ff)][_0xd65170(0x2a9)][_0x497152%_0x9b3318['range'][_0xd65170(0x2a9)]['length']],_0x5a7feb=_0x429099[_0xd65170(0x2f0)][_0x26daef],_0x258cab=_0x429099['cols'][_0x497152],_0x2c4683={};if(_0xe425a9['isFormulaString'](_0x243611['f'])||_0xe425a9[_0xd65170(0x1e9)](_0x243611['si']))_0x2c4683['v']=_0x243611['v'],_0x2c4683['f']=null,_0x2c4683['si']=null,_0x2c4683['p']=null,_0xfe0887[_0xd65170(0x2a3)](_0x5a7feb,_0x258cab,_0x2c4683);else{if((_0x529f40=_0x2222f7==null?void 0x0:_0x2222f7[_0x4fcfed])!=null&&_0x529f40[_0x5eb9d1]){const _0x10f114=_0x2222f7[_0x4fcfed][_0x5eb9d1];_0x2c4683['v']=_0x10f114['v'],_0x2c4683['f']=null,_0x2c4683['si']=null,_0x2c4683['p']=null,_0xfe0887[_0xd65170(0x2a3)](_0x5a7feb,_0x258cab,_0x2c4683);}else{if((_0x894934=_0xe2a228==null?void 0x0:_0xe2a228[_0x5a7feb])!=null&&_0x894934[_0x258cab]){if(_0x2c4683['v']=_0x243611['v'],_0x2c4683['f']=null,_0x2c4683['si']=null,_0x2c4683['p']=null,_0x243611['p']){const _0x4a292b=_0x55d3eb(_0x243611);_0x4a292b&&(_0x2c4683['v']=_0x4a292b);}_0xfe0887[_0xd65170(0x2a3)](_0x5a7feb,_0x258cab,_0x2c4683);}}}}),_0xfe0887;}_0x3d5e2f(_0x2c12da,_0x357959(0x447));function _0x4b0de0(_0x4d6c15,_0x926c8,_0xcc9c72,_0x8dc9ac,_0x33bd8a,_0x54d787,_0xe7f687){const _0xf7559f=_0x357959,_0x5c4ffd=new _0xe425a9[(_0xf7559f(0x1e5))](),_0x56b33f=new Map();return _0x8dc9ac[_0xf7559f(0x33e)]((_0x13467a,_0xc464ec,_0xf4c70b)=>{const _0x302b1d=_0xf7559f,_0x1015ce=_0xcc9c72[_0x302b1d(0x2f0)][_0x13467a],_0x4bbec0=_0xcc9c72[_0x302b1d(0x2a9)][_0xc464ec],_0x386949={};if(_0xe425a9['isFormulaId'](_0xf4c70b['si'])){if(_0xe7f687[_0x302b1d(0x439)]!==_0x4d6c15||_0xe7f687[_0x302b1d(0x210)]!==_0x926c8){const _0x199b99=_0x54d787[_0x302b1d(0x1d9)](_0xe7f687['range']['rows'][_0x13467a%_0xe7f687[_0x302b1d(0x2ff)][_0x302b1d(0x2f0)]['length']],_0xe7f687[_0x302b1d(0x2ff)]['cols'][_0xc464ec%_0xe7f687[_0x302b1d(0x2ff)][_0x302b1d(0x2a9)][_0x302b1d(0x2d9)]],_0xe7f687['subUnitId'],_0xe7f687[_0x302b1d(0x439)]),_0x2a927e=_0xcc9c72['cols'][_0xc464ec]-_0xe7f687[_0x302b1d(0x2ff)][_0x302b1d(0x2a9)][_0xc464ec%_0xe7f687[_0x302b1d(0x2ff)][_0x302b1d(0x2a9)]['length']],_0x364f83=_0xcc9c72[_0x302b1d(0x2f0)][_0x13467a]-_0xe7f687[_0x302b1d(0x2ff)]['rows'][_0x13467a%_0xe7f687['range'][_0x302b1d(0x2f0)][_0x302b1d(0x2d9)]],_0x5d9b3f=_0x33bd8a[_0x302b1d(0x1f0)](_0x199b99||'',_0x2a927e,_0x364f83);_0x386949['si']=null,_0x386949['f']=_0x5d9b3f;}else _0x386949['si']=_0xf4c70b['si'],_0x386949['f']=null;_0x386949['v']=null,_0x386949['p']=null,_0x5c4ffd[_0x302b1d(0x2a3)](_0x1015ce,_0x4bbec0,_0x386949);}else{if(_0xe425a9['isFormulaString'](_0xf4c70b['f'])){const _0x2b650b=_0x13467a%_0xe7f687['range'][_0x302b1d(0x2f0)][_0x302b1d(0x2d9)]+'_'+_0xc464ec%_0xe7f687[_0x302b1d(0x2ff)][_0x302b1d(0x2a9)][_0x302b1d(0x2d9)];let _0x397b00=_0x56b33f[_0x302b1d(0x1e8)](_0x2b650b);if(_0x397b00)_0x386949['si']=_0x397b00,_0x386949['f']=null;else{_0x397b00=_0xe425a9['Tools'][_0x302b1d(0x272)](0x6),_0x56b33f['set'](_0x2b650b,_0x397b00);const _0x1f5f75=_0xcc9c72['cols'][_0xc464ec]-_0xe7f687['range'][_0x302b1d(0x2a9)][_0xc464ec%_0xe7f687['range'][_0x302b1d(0x2a9)][_0x302b1d(0x2d9)]],_0x3f525a=_0xcc9c72['rows'][_0x13467a]-_0xe7f687[_0x302b1d(0x2ff)][_0x302b1d(0x2f0)][_0x13467a%_0xe7f687['range'][_0x302b1d(0x2f0)][_0x302b1d(0x2d9)]],_0x4e2f73=_0x33bd8a[_0x302b1d(0x1f0)](_0xf4c70b['f']||'',_0x1f5f75,_0x3f525a);_0x386949['si']=_0x397b00,_0x386949['f']=_0x4e2f73;}_0x386949['v']=null,_0x386949['p']=null,_0x5c4ffd['setValue'](_0x1015ce,_0x4bbec0,_0x386949);}else{if(_0x386949['v']=_0xf4c70b['v'],_0x386949['f']=null,_0x386949['si']=null,_0x386949['p']=null,_0xf4c70b['p']){const _0x24cba8=_0x55d3eb(_0xf4c70b);_0x24cba8&&(_0x386949['v']=_0x24cba8);}_0x5c4ffd['setValue'](_0x1015ce,_0x4bbec0,_0x386949);}}}),_0x5c4ffd;}_0x3d5e2f(_0x4b0de0,_0x357959(0x31f));function _0x37bae4(_0x406000,_0x50f638,_0x3bb42a,_0x1e1ec1,_0x1c9f20,_0x113edd,_0x212bbc){const _0x506ef3=_0x357959;var _0x127800,_0x4abe96;const _0x1af469=new _0xe425a9[(_0x506ef3(0x1e5))](),_0x52f736=new Map(),_0x1d1db9=(_0x4abe96=(_0x127800=_0x113edd[_0x506ef3(0x2d0)]())==null?void 0x0:_0x127800[_0x406000])==null?void 0x0:_0x4abe96[_0x50f638];return _0x1e1ec1[_0x506ef3(0x33e)]((_0x10c892,_0x77243f,_0x11eb00)=>{const _0x44b288=_0x506ef3;var _0x25a743;const _0x1db8ec=_0x3bb42a[_0x44b288(0x2f0)][_0x10c892],_0x3e7422=_0x3bb42a['cols'][_0x77243f],_0x1b6300={};if(_0xe425a9[_0x44b288(0x1e9)](_0x11eb00['si'])){if(_0x212bbc[_0x44b288(0x439)]!==_0x406000||_0x212bbc[_0x44b288(0x210)]!==_0x50f638){const _0x1a7c05=_0x113edd['getFormulaStringByCell'](_0x212bbc[_0x44b288(0x2ff)][_0x44b288(0x2f0)][_0x10c892%_0x212bbc['range'][_0x44b288(0x2f0)][_0x44b288(0x2d9)]],_0x212bbc['range'][_0x44b288(0x2a9)][_0x77243f%_0x212bbc[_0x44b288(0x2ff)][_0x44b288(0x2a9)]['length']],_0x212bbc['subUnitId'],_0x212bbc[_0x44b288(0x439)]),_0x25e37d=_0x3bb42a[_0x44b288(0x2a9)][_0x77243f]-_0x212bbc[_0x44b288(0x2ff)]['cols'][_0x77243f%_0x212bbc[_0x44b288(0x2ff)][_0x44b288(0x2a9)]['length']],_0x1b3ff8=_0x3bb42a[_0x44b288(0x2f0)][_0x10c892]-_0x212bbc[_0x44b288(0x2ff)][_0x44b288(0x2f0)][_0x10c892%_0x212bbc[_0x44b288(0x2ff)][_0x44b288(0x2f0)][_0x44b288(0x2d9)]],_0x507e50=_0x1c9f20['moveFormulaRefOffset'](_0x1a7c05||'',_0x25e37d,_0x1b3ff8);_0x1b6300['si']=null,_0x1b6300['f']=_0x507e50;}else _0x1b6300['si']=_0x11eb00['si'],_0x1b6300['f']=null;_0x1b6300['v']=null,_0x1b6300['p']=null,_0x1af469[_0x44b288(0x2a3)](_0x1db8ec,_0x3e7422,_0x1b6300);}else{if(_0xe425a9[_0x44b288(0xf7)](_0x11eb00['f'])){const _0x1d270a=_0x10c892%_0x212bbc[_0x44b288(0x2ff)][_0x44b288(0x2f0)]['length']+'_'+_0x77243f%_0x212bbc[_0x44b288(0x2ff)]['cols']['length'];let _0x3a41a4=_0x52f736[_0x44b288(0x1e8)](_0x1d270a);if(_0x3a41a4)_0x1b6300['si']=_0x3a41a4,_0x1b6300['f']=null;else{_0x3a41a4=_0xe425a9[_0x44b288(0xe0)][_0x44b288(0x272)](0x6),_0x52f736[_0x44b288(0x3dd)](_0x1d270a,_0x3a41a4);const _0xf0ab1b=_0x3bb42a['cols'][_0x77243f]-_0x212bbc[_0x44b288(0x2ff)][_0x44b288(0x2a9)][_0x77243f%_0x212bbc['range']['cols'][_0x44b288(0x2d9)]],_0x5a2842=_0x3bb42a[_0x44b288(0x2f0)][_0x10c892]-_0x212bbc[_0x44b288(0x2ff)][_0x44b288(0x2f0)][_0x10c892%_0x212bbc['range'][_0x44b288(0x2f0)]['length']],_0x316226=_0x1c9f20[_0x44b288(0x1f0)](_0x11eb00['f']||'',_0xf0ab1b,_0x5a2842);_0x1b6300['si']=_0x3a41a4,_0x1b6300['f']=_0x316226;}_0x1b6300['v']=null,_0x1b6300['p']=null,_0x1af469[_0x44b288(0x2a3)](_0x1db8ec,_0x3e7422,_0x1b6300);}else(_0x25a743=_0x1d1db9==null?void 0x0:_0x1d1db9[_0x1db8ec])!=null&&_0x25a743[_0x3e7422]&&(_0x1b6300['v']=_0x11eb00['v'],_0x1b6300['f']=null,_0x1b6300['si']=null,_0x1b6300['p']=_0x11eb00['p'],_0x1af469[_0x44b288(0x2a3)](_0x1db8ec,_0x3e7422,_0x1b6300));}}),_0x1af469;}_0x3d5e2f(_0x37bae4,_0x357959(0x3b4));function _0x55d3eb(_0x46554f){const _0x55f21b=_0x357959;if(_0x46554f!=null&&_0x46554f['p']){const _0x260689=_0x46554f==null?void 0x0:_0x46554f['p'][_0x55f21b(0x3e9)];if(_0x260689==null)return;const _0x5f0e59=_0x260689['dataStream'];return _0x5f0e59[_0x55f21b(0x427)](_0x5f0e59[_0x55f21b(0x2d9)]-0x2,_0x5f0e59['length'])===_0xe425a9['DEFAULT_EMPTY_DOCUMENT_VALUE']?_0x5f0e59[_0x55f21b(0x427)](0x0,_0x5f0e59[_0x55f21b(0x2d9)]-0x2):_0x5f0e59;}}_0x3d5e2f(_0x55d3eb,'getCellRichText');var _0x4f32d5=Object[_0x357959(0x412)],_0x566b60=Object[_0x357959(0x27f)],_0x9f0693=_0x3d5e2f((_0x5d55a1,_0x16e3e0,_0x45ae8f,_0x2c42ca)=>{for(var _0x52a2fb=_0x2c42ca>0x1?void 0x0:_0x2c42ca?_0x566b60(_0x16e3e0,_0x45ae8f):_0x16e3e0,_0x11f8e1=_0x5d55a1['length']-0x1,_0x3e3821;_0x11f8e1>=0x0;_0x11f8e1--)(_0x3e3821=_0x5d55a1[_0x11f8e1])&&(_0x52a2fb=(_0x2c42ca?_0x3e3821(_0x16e3e0,_0x45ae8f,_0x52a2fb):_0x3e3821(_0x52a2fb))||_0x52a2fb);return _0x2c42ca&&_0x52a2fb&&_0x4f32d5(_0x16e3e0,_0x45ae8f,_0x52a2fb),_0x52a2fb;},_0x357959(0x3b2)),_0x32b1e2=_0x3d5e2f((_0x219b29,_0x3fabaa)=>(_0x48538b,_0x39dafa)=>_0x3fabaa(_0x48538b,_0x39dafa,_0x219b29),'__decorateParam$5');let _0x2cd411=(_0x5b26e3=class extends _0xe425a9[_0x357959(0x303)]{constructor(_0x1308a5,_0x10cf46,_0x41fdff,_0x593859,_0x3ec749,_0x2d4f7e,_0x2d2cbb,_0x17b919){const _0x5af97c=_0x357959;super(),_0x285b0f(this,_0x5af97c(0x33c)),_0x285b0f(this,'_skeleton'),(this[_0x5af97c(0x265)]=_0x1308a5,this['_editorBridgeService']=_0x10cf46,this[_0x5af97c(0x321)]=_0x41fdff,this[_0x5af97c(0x208)]=_0x593859,this[_0x5af97c(0x3b3)]=_0x3ec749,this[_0x5af97c(0x185)]=_0x2d4f7e,this[_0x5af97c(0x301)]=_0x2d2cbb,this['_logService']=_0x17b919,this[_0x5af97c(0x3d3)](),this['_initInterceptorEditorStart'](),this[_0x5af97c(0x30a)]());}['_initSkeletonChangeListener'](){const _0x434318=_0x357959;this[_0x434318(0x14c)](this[_0x434318(0x185)][_0x434318(0x346)]['subscribe'](_0x2b42ac=>{const _0x2ac3a3=_0x434318;var _0x419716,_0x2cf906;if(_0x2b42ac==null)this[_0x2ac3a3(0xff)][_0x2ac3a3(0x393)]('[FormulaEditorShowController]:\x20should\x20not\x20receive\x20currentSkeleton$\x20as\x20null!');else{const {skeleton:_0x2364f4}=_0x2b42ac,_0xd3569=(_0x2cf906=(_0x419716=this[_0x2ac3a3(0x258)])==null?void 0x0:_0x419716[_0x2ac3a3(0x188)])==null?void 0x0:_0x2cf906[_0x2ac3a3(0x114)]();if(this[_0x2ac3a3(0x1ea)](_0x2364f4),_0xd3569!==_0x2364f4['worksheet'][_0x2ac3a3(0x114)]())this[_0x2ac3a3(0x11d)]();else{const {unitId:_0x107c4b,sheetId:_0x2c0362}=_0x2b42ac;this[_0x2ac3a3(0x10a)](_0x107c4b,_0x2c0362);}}}));}[_0x357959(0x1ea)](_0x3cecf5){this['_skeleton']=_0x3cecf5;}[_0x357959(0x15e)](){const _0x35be52=_0x357959;this['disposeWithMe'](_0xe425a9[_0x35be52(0x3d9)](this[_0x35be52(0x36e)][_0x35be52(0x3d5)][_0x35be52(0x2b9)](this['_editorBridgeService'][_0x35be52(0x3d5)][_0x35be52(0x3bf)]()[_0x35be52(0x1a2)],{'handler':_0x3d5e2f((_0x25d6e2,_0x1f976d,_0x249a70)=>{const _0x52981a=_0x35be52;var _0x2b4e14,_0x5fde7d,_0x309474,_0x4c7627;const {row:_0x5eda55,col:_0x1892cb,unitId:_0x44627a,subUnitId:_0x2a3aeb,worksheet:_0x87fda2}=_0x1f976d,_0x539963=this[_0x52981a(0x321)][_0x52981a(0x2ef)](),_0xc585fe=this[_0x52981a(0x321)][_0x52981a(0x436)]();if(this['_removeArrayFormulaRangeShape'](),_0x25d6e2==null)return _0x249a70(_0x25d6e2);let _0x5db86e=null;const _0xa2e188=this[_0x52981a(0x321)][_0x52981a(0x1d9)](_0x5eda55,_0x1892cb,_0x2a3aeb,_0x44627a);if(_0xa2e188!==null&&(_0x5db86e={'f':_0xa2e188}),_0x25d6e2['v']!=null&&_0x25d6e2['v']!==''&&((_0x309474=(_0x5fde7d=(_0x2b4e14=_0xc585fe[_0x44627a])==null?void 0x0:_0x2b4e14[_0x2a3aeb])==null?void 0x0:_0x5fde7d[_0x5eda55])==null?void 0x0:_0x309474[_0x1892cb])==null)return _0x5db86e?{..._0x25d6e2,..._0x5db86e}:_0x249a70(_0x25d6e2);const _0x545830=(_0x4c7627=_0x539963==null?void 0x0:_0x539963[_0x44627a])==null?void 0x0:_0x4c7627[_0x2a3aeb];return _0x545830!=null&&(_0x5db86e=this[_0x52981a(0x13f)](_0x545830,_0x5eda55,_0x1892cb,_0x44627a,_0x2a3aeb,_0x87fda2,_0x5db86e)),_0x5db86e?{..._0x25d6e2,..._0x5db86e}:_0x249a70(_0x25d6e2);},_0x35be52(0x137))})));}['_commandExecutedListener'](){const _0x2f8681=_0x357959;this['disposeWithMe'](this['_commandService']['onCommandExecuted']((_0xc742aa,_0x3526bc)=>{const _0x5d36e6=_0x1c26;(_0xc742aa['id']===_0x4b6226['SetFormulaCalculationResultMutation']['id']||_0xc742aa['id']===_0x4b6226[_0x5d36e6(0x3f2)]['id']&&_0x3526bc&&_0x3526bc['remove'])&&this[_0x5d36e6(0x11d)]();})),this[_0x2f8681(0x14c)](this[_0x2f8681(0x301)]['beforeCommandExecuted'](_0x35c98d=>{const _0x9fd6c6=_0x2f8681;_0x282719[_0x9fd6c6(0x42c)]['id']===_0x35c98d['id']&&requestIdleCallback(()=>{const _0x484b1b=_0x9fd6c6,_0x477495=_0x35c98d[_0x484b1b(0x424)],{unitId:_0xf2c4ab,subUnitId:_0x564507,rowsAutoHeightInfo:_0x2680b2}=_0x477495;this[_0x484b1b(0x14a)](_0xf2c4ab,_0x564507,_0x2680b2);});}));}[_0x357959(0x13f)](_0x505edf,_0x55e57c,_0x360159,_0x12e874,_0x3782ac,_0x1aaa6d,_0x32764c){const _0x36a50b=_0x357959;return new _0xe425a9[(_0x36a50b(0x1e5))](_0x505edf)[_0x36a50b(0x33e)]((_0x1b51c2,_0x35e825,_0x11a8dd)=>{const _0x410985=_0x36a50b;if(_0x11a8dd==null)return!0x0;const {startRow:_0x59d29a,startColumn:_0x4ea4d0,endRow:_0x39b5a8,endColumn:_0x4bad54}=_0x11a8dd;if(_0x1b51c2===_0x55e57c&&_0x35e825===_0x360159)return this['_createArrayFormulaRangeShape'](_0x11a8dd,_0x12e874),!0x1;if(_0x55e57c>=_0x59d29a&&_0x55e57c<=_0x39b5a8&&_0x360159>=_0x4ea4d0&&_0x360159<=_0x4bad54){const _0x204ba8=_0x1aaa6d[_0x410985(0x11a)](_0x59d29a,_0x4ea4d0);if((_0x204ba8==null?void 0x0:_0x204ba8['v'])===_0x4b6226[_0x410985(0x13a)][_0x410985(0x3e7)])return;const _0x5e7335=this[_0x410985(0x321)]['getFormulaDataItem'](_0x1b51c2,_0x35e825,_0x3782ac,_0x12e874);return _0x5e7335==null||_0x5e7335['f']==null?!0x0:(_0x32764c==null&&(_0x32764c={'f':_0x5e7335['f'],'isInArrayFormulaRange':!0x0}),this[_0x410985(0x169)](_0x11a8dd,_0x12e874),!0x1);}}),_0x32764c;}[_0x357959(0x169)](_0x50d467,_0x360153){const _0x4eefff=_0x357959,_0x4fa727=this['_themeService']['getCurrentTheme'](),_0x5aac12=new _0xe425a9[(_0x4eefff(0x22e))](_0x4fa727[_0x4eefff(0x1b8)])[_0x4eefff(0x119)](0x0)[_0x4eefff(0x323)](),_0x860273={'strokeWidth':0x1,'stroke':_0x4fa727[_0x4eefff(0x12f)],'fill':_0x5aac12,'widgets':{},'hasAutoFill':!0x1,'hasRowHeader':!0x1,'hasColumnHeader':!0x1},_0x4a8a16=this[_0x4eefff(0x3b3)]['getRenderById'](_0x360153);if(!_0x4a8a16)return;const {scene:_0x181f99}=_0x4a8a16,{rangeWithCoord:_0x1ee24f,primaryWithCoord:_0x2a8366}=_0x4a8a16[_0x4eefff(0x34f)](_0x4ad090['ISheetSelectionRenderService'])['attachSelectionWithCoord']({'range':_0x50d467,'primary':null,'style':_0x860273}),_0x27b581=this['_sheetSkeletonManagerService'][_0x4eefff(0x338)]();if(!_0x181f99||!_0x27b581)return;const {rowHeaderWidth:_0x5c9f6e,columnHeaderHeight:_0x96550d}=_0x27b581,_0x5e6cec=new _0x4ad090[(_0x4eefff(0x43b))](_0x181f99,_0x4ad090[_0x4eefff(0x286)]['FORMULA_EDITOR_SHOW'],this[_0x4eefff(0x208)],!0x1);_0x5e6cec[_0x4eefff(0x29c)](_0x1ee24f,_0x5c9f6e,_0x96550d,_0x860273,_0x2a8366),_0x5e6cec[_0x4eefff(0x389)](!0x1),this[_0x4eefff(0x33c)]=_0x5e6cec;}[_0x357959(0x11d)](){const _0x4caaf4=_0x357959;this[_0x4caaf4(0x33c)]!=null&&(this['_previousShape'][_0x4caaf4(0x34c)](),this[_0x4caaf4(0x33c)]=null);}[_0x357959(0x194)](_0x53fd22,_0x582c7b){const _0x25fd73=_0x357959;if(this['_previousShape']){const {startRow:_0x4d7784,endRow:_0x3ce74a,startColumn:_0x8af058,endColumn:_0x41220f}=this['_previousShape'][_0x25fd73(0x3d1)](),_0xe66351={'startRow':_0x4d7784,'endRow':_0x3ce74a,'startColumn':_0x8af058,'endColumn':_0x41220f};this[_0x25fd73(0x11d)](),this[_0x25fd73(0x169)](_0xe66351,_0x53fd22);}}[_0x357959(0x3a2)](_0x58965d,_0x229042){const _0x1470bd=_0x357959,_0x7ada46=this[_0x1470bd(0x185)][_0x1470bd(0x338)]();if(!_0x7ada46)return!0x1;const _0x2e2b34=_0x7ada46[_0x1470bd(0x188)];return _0x2e2b34?_0x2e2b34[_0x1470bd(0x439)]===_0x58965d&&_0x2e2b34['getSheetId']()===_0x229042:!0x1;}[_0x357959(0x10a)](_0x3654ab,_0x38a05c){const _0xd5670a=_0x357959;this['_checkCurrentSheet'](_0x3654ab,_0x38a05c)&&this[_0xd5670a(0x33c)]&&this[_0xd5670a(0x194)](_0x3654ab);}['_refreshArrayFormulaRangeShapeByRow'](_0x2433f6,_0x4e8286,_0x1fa5f6){const _0x1de9c8=_0x357959;if(!this[_0x1de9c8(0x3a2)](_0x2433f6,_0x4e8286)||!this[_0x1de9c8(0x33c)])return;const {startRow:_0xf41663,endRow:_0x2db147,startColumn:_0x365535,endColumn:_0x28d6b3}=this[_0x1de9c8(0x33c)][_0x1de9c8(0x3d1)]();for(let _0x386551=0x0;_0x386551<_0x1fa5f6[_0x1de9c8(0x2d9)];_0x386551++){const {row:_0x2ac8e7}=_0x1fa5f6[_0x386551];if(_0xf41663>=_0x2ac8e7){const _0x5bf4a2={'startRow':_0xf41663,'endRow':_0x2db147,'startColumn':_0x365535,'endColumn':_0x28d6b3};this['_refreshArrayFormulaRangeShape'](_0x2433f6,_0x5bf4a2);break;}}}},_0x3d5e2f(_0x5b26e3,_0x357959(0x17d)),_0x5b26e3);_0x2cd411=_0x9f0693([_0x32b1e2(0x1,_0xe425a9[_0x357959(0x1ce)](_0x4ad090[_0x357959(0x452)])),_0x32b1e2(0x2,_0xe425a9[_0x357959(0x1ce)](_0x4b6226[_0x357959(0x3b6)])),_0x32b1e2(0x3,_0xe425a9['Inject'](_0xe425a9[_0x357959(0x2e9)])),_0x32b1e2(0x4,_0x2d766b[_0x357959(0xe2)]),_0x32b1e2(0x5,_0xe425a9[_0x357959(0x1ce)](_0x4ad090[_0x357959(0x418)])),_0x32b1e2(0x6,_0xe425a9['ICommandService']),_0x32b1e2(0x7,_0xe425a9[_0x357959(0xf5)])],_0x2cd411);var _0x2c6e03=Object['defineProperty'],_0x5acd14=Object['getOwnPropertyDescriptor'],_0x1ee13a=_0x3d5e2f((_0x353a17,_0x2fb93c,_0x33bffb,_0x1f8d0f)=>{const _0x30b288=_0x357959;for(var _0x3cd7ff=_0x1f8d0f>0x1?void 0x0:_0x1f8d0f?_0x5acd14(_0x2fb93c,_0x33bffb):_0x2fb93c,_0x35c8c1=_0x353a17[_0x30b288(0x2d9)]-0x1,_0x200442;_0x35c8c1>=0x0;_0x35c8c1--)(_0x200442=_0x353a17[_0x35c8c1])&&(_0x3cd7ff=(_0x1f8d0f?_0x200442(_0x2fb93c,_0x33bffb,_0x3cd7ff):_0x200442(_0x3cd7ff))||_0x3cd7ff);return _0x1f8d0f&&_0x3cd7ff&&_0x2c6e03(_0x2fb93c,_0x33bffb,_0x3cd7ff),_0x3cd7ff;},_0x357959(0x2cf)),_0x39e500=_0x3d5e2f((_0xc3bfe,_0x11cf58)=>(_0x1d708c,_0x495fb9)=>_0x11cf58(_0x1d708c,_0x495fb9,_0xc3bfe),'__decorateParam$4');const _0x2e1153={'tl':{'size':0x6,'color':_0x357959(0x277)}};let _0x26197d=(_0x46c20a=class extends _0xe425a9['RxDisposable']{constructor(_0x5e45c2){const _0x54bb54=_0x357959;super(),this['_sheetInterceptorService']=_0x5e45c2,this['disposeWithMe'](this[_0x54bb54(0x1ab)][_0x54bb54(0x2b9)](_0x282719[_0x54bb54(0x394)][_0x54bb54(0x31c)],{'effect':_0xe425a9[_0x54bb54(0x1d5)][_0x54bb54(0x103)],'handler':_0x3d5e2f((_0x3c685e,_0x653886,_0x2cda44)=>_0x4b8fb1(_0x3c685e)?_0x2cda44({..._0x3c685e,'markers':{..._0x3c685e==null?void 0x0:_0x3c685e[_0x54bb54(0x33b)],..._0x2e1153}}):_0x2cda44(_0x3c685e),_0x54bb54(0x137)),'priority':0xa}));}},_0x3d5e2f(_0x46c20a,_0x357959(0x199)),_0x46c20a);_0x26197d=_0x1ee13a([_0x39e500(0x0,_0xe425a9['Inject'](_0x282719['SheetInterceptorService']))],_0x26197d);var _0x1f07fd={'exports':{}},_0x42dfb1={},_0x4182fe=_0x1a370f,_0x5146ee=Symbol[_0x357959(0x380)](_0x357959(0x353)),_0x268b5b=Symbol[_0x357959(0x380)]('react.fragment'),_0x298961=Object[_0x357959(0x27d)][_0x357959(0x3b5)],_0x33eddc=_0x4182fe[_0x357959(0x283)][_0x357959(0x1c2)],_0x5dbdc8={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x34429d(_0x39c1a0,_0x1f2987,_0x2b5f4e){const _0xcbbb11=_0x357959;var _0x4feb65,_0x2cdca0={},_0xb4ce=null,_0x4333b7=null;_0x2b5f4e!==void 0x0&&(_0xb4ce=''+_0x2b5f4e),_0x1f2987['key']!==void 0x0&&(_0xb4ce=''+_0x1f2987[_0xcbbb11(0x1fc)]),_0x1f2987[_0xcbbb11(0x2ce)]!==void 0x0&&(_0x4333b7=_0x1f2987[_0xcbbb11(0x2ce)]);for(_0x4feb65 in _0x1f2987)_0x298961[_0xcbbb11(0x21b)](_0x1f2987,_0x4feb65)&&!_0x5dbdc8[_0xcbbb11(0x3b5)](_0x4feb65)&&(_0x2cdca0[_0x4feb65]=_0x1f2987[_0x4feb65]);if(_0x39c1a0&&_0x39c1a0[_0xcbbb11(0x38a)]){for(_0x4feb65 in(_0x1f2987=_0x39c1a0[_0xcbbb11(0x38a)],_0x1f2987))_0x2cdca0[_0x4feb65]===void 0x0&&(_0x2cdca0[_0x4feb65]=_0x1f2987[_0x4feb65]);}return{'$$typeof':_0x5146ee,'type':_0x39c1a0,'key':_0xb4ce,'ref':_0x4333b7,'props':_0x2cdca0,'_owner':_0x33eddc[_0xcbbb11(0x291)]};}_0x3d5e2f(_0x34429d,'q'),_0x42dfb1['Fragment']=_0x268b5b,_0x42dfb1[_0x357959(0x197)]=_0x34429d,_0x42dfb1[_0x357959(0xea)]=_0x34429d,_0x1f07fd['exports']=_0x42dfb1;var _0x4d4197=_0x1f07fd['exports'],_0xaf9168=function(){const _0xf0df92=_0x357959;return _0xaf9168=Object['assign']||function(_0x13492e){const _0x3ce227=_0x1c26;for(var _0x46ee31,_0x344425=0x1,_0x3e54d1=arguments[_0x3ce227(0x2d9)];_0x344425<_0x3e54d1;_0x344425++){_0x46ee31=arguments[_0x344425];for(var _0x49f210 in _0x46ee31)Object[_0x3ce227(0x27d)][_0x3ce227(0x3b5)][_0x3ce227(0x21b)](_0x46ee31,_0x49f210)&&(_0x13492e[_0x49f210]=_0x46ee31[_0x49f210]);}return _0x13492e;},_0xaf9168[_0xf0df92(0x37c)](this,arguments);},_0x22830c=function(_0x274e0c,_0x14b43a){const _0x311b4f=_0x357959;var _0x5b0e45={};for(var _0x3ee303 in _0x274e0c)Object[_0x311b4f(0x27d)][_0x311b4f(0x3b5)][_0x311b4f(0x21b)](_0x274e0c,_0x3ee303)&&_0x14b43a[_0x311b4f(0x1f8)](_0x3ee303)<0x0&&(_0x5b0e45[_0x3ee303]=_0x274e0c[_0x3ee303]);if(_0x274e0c!=null&&typeof Object['getOwnPropertySymbols']==_0x311b4f(0x244)){for(var _0x5539be=0x0,_0x3ee303=Object['getOwnPropertySymbols'](_0x274e0c);_0x5539be<_0x3ee303[_0x311b4f(0x2d9)];_0x5539be++)_0x14b43a[_0x311b4f(0x1f8)](_0x3ee303[_0x5539be])<0x0&&Object[_0x311b4f(0x27d)][_0x311b4f(0x1ba)]['call'](_0x274e0c,_0x3ee303[_0x5539be])&&(_0x5b0e45[_0x3ee303[_0x5539be]]=_0x274e0c[_0x3ee303[_0x5539be]]);}return _0x5b0e45;},_0x4a894a=_0x1a370f['forwardRef'](function(_0x20beae,_0xb88249){const _0x578978=_0x357959;var _0x42892f=_0x20beae[_0x578978(0x152)],_0x4c0dae=_0x20beae['id'],_0x432617=_0x20beae[_0x578978(0x174)],_0x5e3f90=_0x20beae[_0x578978(0x295)],_0x533d4b=_0x22830c(_0x20beae,[_0x578978(0x152),'id',_0x578978(0x174),_0x578978(0x295)]),_0x57b539=_0x578978(0x1bf)[_0x578978(0x1fa)](_0x4c0dae,'\x20')['concat'](_0x432617||'')[_0x578978(0x44f)](),_0x5a3b39=_0x1a370f[_0x578978(0xec)]('_'[_0x578978(0x1fa)](_0x5b22de()));return _0x1d834b(_0x42892f,''[_0x578978(0x1fa)](_0x4c0dae),{'defIds':_0x42892f[_0x578978(0x1bb)],'idSuffix':_0x5a3b39['current']},_0xaf9168({'ref':_0xb88249,'className':_0x57b539},_0x533d4b),_0x5e3f90);});function _0x1d834b(_0x5bf7a6,_0x4148b4,_0x2cb045,_0x200d1c,_0x44ef82){const _0x5f15d1=_0x357959;return _0x1a370f[_0x5f15d1(0x451)](_0x5bf7a6[_0x5f15d1(0x415)],_0xaf9168(_0xaf9168({'key':_0x4148b4},_0x278224(_0x5bf7a6,_0x2cb045,_0x44ef82)),_0x200d1c),(_0x6a96a(_0x5bf7a6,_0x2cb045)[_0x5f15d1(0x44d)]||[])[_0x5f15d1(0x432)](function(_0x16dd82,_0xab7511){const _0x3c9795=_0x5f15d1;return _0x1d834b(_0x16dd82,''[_0x3c9795(0x1fa)](_0x4148b4,'-')[_0x3c9795(0x1fa)](_0x5bf7a6[_0x3c9795(0x415)],'-')['concat'](_0xab7511),_0x2cb045,void 0x0,_0x44ef82);}));}_0x3d5e2f(_0x1d834b,'render');function _0x278224(_0x276a97,_0x1cd224,_0x34bf08){const _0x250d93=_0x357959;var _0x5c3104=_0xaf9168({},_0x276a97['attrs']);_0x34bf08!=null&&_0x34bf08[_0x250d93(0x384)]&&_0x5c3104['fill']==='colorChannel1'&&(_0x5c3104['fill']=_0x34bf08[_0x250d93(0x384)]);var _0x1fc05f=_0x1cd224[_0x250d93(0x1bb)];return!_0x1fc05f||_0x1fc05f['length']===0x0||(_0x276a97['tag']===_0x250d93(0x2c4)&&_0x5c3104[_0x250d93(0x1ec)]&&(_0x5c3104[_0x250d93(0x1ec)]=_0x5c3104[_0x250d93(0x1ec)]+_0x1cd224[_0x250d93(0x1a4)]),Object[_0x250d93(0x32c)](_0x5c3104)[_0x250d93(0x1d3)](function(_0x301033){const _0x53d2dc=_0x250d93;var _0x5c5180=_0x301033[0x0],_0x16f923=_0x301033[0x1];typeof _0x16f923==_0x53d2dc(0x3c9)&&(_0x5c3104[_0x5c5180]=_0x16f923['replace'](/url\(#(.*)\)/,_0x53d2dc(0x334)[_0x53d2dc(0x1fa)](_0x1cd224[_0x53d2dc(0x1a4)],')')));})),_0x5c3104;}_0x3d5e2f(_0x278224,_0x357959(0xe3));function _0x6a96a(_0x15c28d,_0x221d73){const _0x58e039=_0x357959;var _0x571b93,_0x21c0fd=_0x221d73['defIds'];return!_0x21c0fd||_0x21c0fd[_0x58e039(0x2d9)]===0x0?_0x15c28d:_0x15c28d[_0x58e039(0x415)]===_0x58e039(0x369)&&(!((_0x571b93=_0x15c28d[_0x58e039(0x44d)])===null||_0x571b93===void 0x0)&&_0x571b93[_0x58e039(0x2d9)])?_0xaf9168(_0xaf9168({},_0x15c28d),{'children':_0x15c28d[_0x58e039(0x44d)][_0x58e039(0x432)](function(_0x291ecb){const _0x2c38c8=_0x58e039;return typeof _0x291ecb[_0x2c38c8(0x347)]['id']==_0x2c38c8(0x3c9)&&_0x21c0fd&&_0x21c0fd['indexOf'](_0x291ecb[_0x2c38c8(0x347)]['id'])>-0x1?_0xaf9168(_0xaf9168({},_0x291ecb),{'attrs':_0xaf9168(_0xaf9168({},_0x291ecb[_0x2c38c8(0x347)]),{'id':_0x291ecb['attrs']['id']+_0x221d73[_0x2c38c8(0x1a4)]})}):_0x291ecb;})}):_0x15c28d;}_0x3d5e2f(_0x6a96a,'replaceRuntimeIdsInDefs');function _0x5b22de(){const _0x12f8e6=_0x357959;return Math[_0x12f8e6(0xd9)]()['toString'](0x24)[_0x12f8e6(0x427)](0x2,0x8);}_0x3d5e2f(_0x5b22de,_0x357959(0x3ee)),_0x4a894a[_0x357959(0xd2)]=_0x357959(0xf3);var _0x266824={'tag':_0x357959(0x314),'attrs':{'fill':_0x357959(0x273),'viewBox':_0x357959(0x32e),'width':_0x357959(0x1de),'height':_0x357959(0x1de)},'children':[{'tag':_0x357959(0x416),'attrs':{'fill':'currentColor','d':_0x357959(0xe9),'fillRule':_0x357959(0x17b),'clipRule':_0x357959(0x17b)}}]},_0x27d2ef=_0x1a370f[_0x357959(0x3fa)](function(_0x435008,_0x43d33f){const _0x2f17e0=_0x357959;return _0x1a370f['createElement'](_0x4a894a,Object[_0x2f17e0(0x224)]({},_0x435008,{'id':'check-mark-single','ref':_0x43d33f,'icon':_0x266824}));});_0x27d2ef['displayName']=_0x357959(0xdc);var _0x2b8824={'tag':_0x357959(0x314),'attrs':{'fill':_0x357959(0x273),'viewBox':_0x357959(0x32e),'width':_0x357959(0x1de),'height':_0x357959(0x1de)},'children':[{'tag':_0x357959(0x416),'attrs':{'fill':_0x357959(0x2ac),'d':'M3.71274\x202.86421C3.47843\x202.6299\x203.09853\x202.6299\x202.86421\x202.86421C2.6299\x203.09853\x202.6299\x203.47843\x202.86421\x203.71274L7.15154\x208.00007L2.86421\x2012.2874C2.6299\x2012.5217\x202.6299\x2012.9016\x202.86421\x2013.1359C3.09853\x2013.3702\x203.47843\x2013.3702\x203.71274\x2013.1359L8.00007\x208.84859L12.2874\x2013.1359C12.5217\x2013.3702\x2012.9016\x2013.3702\x2013.1359\x2013.1359C13.3702\x2012.9016\x2013.3702\x2012.5217\x2013.1359\x2012.2874L8.84859\x208.00007L13.1359\x203.71274C13.3702\x203.47843\x2013.3702\x203.09853\x2013.1359\x202.86421C12.9016\x202.6299\x2012.5217\x202.6299\x2012.2874\x202.86421L8.00007\x207.15154L3.71274\x202.86421Z'}}]},_0x5935a7=_0x1a370f[_0x357959(0x3fa)](function(_0x45ae25,_0x1a0981){const _0x2fcb6=_0x357959;return _0x1a370f[_0x2fcb6(0x451)](_0x4a894a,Object['assign']({},_0x45ae25,{'id':'close-single','ref':_0x1a0981,'icon':_0x2b8824}));});_0x5935a7['displayName']=_0x357959(0x41c);var _0x559a84={'tag':'svg','attrs':{'fill':'none','viewBox':_0x357959(0x32e),'width':_0x357959(0x1de),'height':_0x357959(0x1de)},'children':[{'tag':_0x357959(0x416),'attrs':{'fill':_0x357959(0x2ac),'d':_0x357959(0x20a)}},{'tag':_0x357959(0x416),'attrs':{'fill':'currentColor','d':_0x357959(0x269),'fillRule':'evenodd','clipRule':'evenodd'}}]},_0x1d10ee=_0x1a370f['forwardRef'](function(_0x17fb13,_0x32ae19){const _0x2ef1b0=_0x357959;return _0x1a370f[_0x2ef1b0(0x451)](_0x4a894a,Object[_0x2ef1b0(0x224)]({},_0x17fb13,{'id':_0x2ef1b0(0x434),'ref':_0x32ae19,'icon':_0x559a84}));});_0x1d10ee['displayName']='DetailsSingle';var _0x4dddad={'tag':_0x357959(0x314),'attrs':{'fill':_0x357959(0x273),'viewBox':_0x357959(0x32e),'width':_0x357959(0x1de),'height':'1em'},'children':[{'tag':_0x357959(0x416),'attrs':{'fill':'currentColor','d':'M5.90913\x203.57564C6.14345\x203.34132\x206.52335\x203.34132\x206.75766\x203.57564L10.7577\x207.57564C10.992\x207.80995\x2010.992\x208.18985\x2010.7577\x208.42417L6.75766\x2012.4242C6.52335\x2012.6585\x206.14345\x2012.6585\x205.90913\x2012.4242C5.67482\x2012.1899\x205.67482\x2011.81\x205.90913\x2011.5756L9.48487\x207.9999L5.90913\x204.42417C5.67482\x204.18985\x205.67482\x203.80995\x205.90913\x203.57564Z','fillRule':_0x357959(0x17b),'clipRule':_0x357959(0x17b)}}]},_0x36f6e1=_0x1a370f[_0x357959(0x3fa)](function(_0x412532,_0x41b6fc){const _0x57c37d=_0x357959;return _0x1a370f[_0x57c37d(0x451)](_0x4a894a,Object['assign']({},_0x412532,{'id':_0x57c37d(0x271),'ref':_0x41b6fc,'icon':_0x4dddad}));});_0x36f6e1[_0x357959(0xd2)]='MoreSingle';function _0x2e8a14(_0x88748f,_0x3d92f8){const _0x334c5b=_0x357959;return Object['keys'](_0x88748f)[_0x334c5b(0xfa)](_0xd96407=>isNaN(Number(_0xd96407))&&_0xd96407!==_0x334c5b(0x423))['map'](_0x458a26=>({'label':_0x3d92f8['t'](_0x334c5b(0x406)+_0x458a26[_0x334c5b(0x2c8)]()),'value':''+_0x88748f[_0x458a26]}));}_0x3d5e2f(_0x2e8a14,_0x357959(0x1c0));function _0x204300(_0x3152d8){const _0x348d1c=_0x357959;if(!_0x3152d8[_0x348d1c(0x2bd)]&&!_0x3152d8[_0x348d1c(0x202)])return'['+_0x3152d8[_0x348d1c(0x1f5)]+']';if(_0x3152d8[_0x348d1c(0x2bd)]&&!_0x3152d8[_0x348d1c(0x202)])return _0x3152d8['name'];if(!_0x3152d8[_0x348d1c(0x2bd)]&&_0x3152d8[_0x348d1c(0x202)])return'['+_0x3152d8[_0x348d1c(0x1f5)]+_0x348d1c(0x2c9);if(_0x3152d8[_0x348d1c(0x2bd)]&&_0x3152d8['repeat'])return _0x3152d8[_0x348d1c(0x1f5)]+',...';}_0x3d5e2f(_0x204300,_0x357959(0x3af));const _0x4951e4=_0x3d5e2f((_0x4192af,_0x182a95=0x64)=>{const _0x4d221d=_0x357959;_0x1a370f[_0x4d221d(0x24c)](()=>{const _0x3d9230=_0x4d221d;let _0x17624a=null;const _0x2ee717=_0x3d5e2f(()=>{_0x17624a===null&&(_0x17624a=window['setTimeout'](()=>{_0x4192af(),_0x17624a=null;},_0x182a95));},_0x3d9230(0x382));return window[_0x3d9230(0x44e)](_0x3d9230(0x313),_0x2ee717),window[_0x3d9230(0x44e)](_0x3d9230(0x212),_0x2ee717),()=>{const _0x24207b=_0x3d9230;_0x17624a!==null&&clearTimeout(_0x17624a),window[_0x24207b(0x15d)](_0x24207b(0x313),_0x2ee717),window[_0x24207b(0x15d)](_0x24207b(0x212),_0x2ee717);};},[_0x4192af,_0x182a95]);},_0x357959(0x254)),_0x488265={'formulaHelpFunction':_0x357959(0x19c),'formulaHelpFunctionTitle':_0x357959(0x379),'formulaHelpFunctionTitleIcons':_0x357959(0x3a7),'formulaHelpFunctionTitleIcon':_0x357959(0x14d),'formulaHelpFunctionContent':_0x357959(0x3cd),'formulaHelpFunctionContentInner':_0x357959(0x1fd),'formulaHelpFunctionContentParams':'univer-formula-help-function-content-params','formulaHelpFunctionContentParamsTitle':'univer-formula-help-function-content-params-title','formulaHelpFunctionContentParamsDetail':_0x357959(0x246),'formulaHelpFunctionActive':_0x357959(0x121),'formulaHelpDecorator':_0x357959(0x21e),'formulaHelpParam':_0x357959(0x268),'formulaHelpParamPrefix':_0x357959(0x160),'formulaHelpParamItem':_0x357959(0xf0),'formulaHelpParamActive':'univer-formula-help-param-active'};function _0x4d08e0(){const _0x268b71=_0x357959,[_0xa9f163,_0x144c9f]=_0x1a370f['useState'](!0x1),[_0x3eb8dc,_0x3994af]=_0x1a370f[_0x268b71(0x396)](!0x0),[_0x177a68,_0x4c2392]=_0x1a370f[_0x268b71(0x396)](!0x0),[_0x76b44c,_0xf84276]=_0x1a370f[_0x268b71(0x396)](0x0),[_0x724a12,_0x19af87]=_0x1a370f[_0x268b71(0x396)]([0x0,0x0]),[_0x321169,_0x5c04eb]=_0x1a370f[_0x268b71(0x396)]({'left':0x0,'top':0x0}),[_0x316ef0,_0x3173c5]=_0x1a370f[_0x268b71(0x396)](null),_0x18c292=_0xe425a9[_0x268b71(0x3fe)](_0x1a63ed),_0x41bb7e=_0xe425a9[_0x268b71(0x3fe)](_0xe425a9[_0x268b71(0x2d2)]),_0x34e305=_0x41bb7e['t'](_0x268b71(0x236)),_0x28166b=_0x41bb7e['t']('formula.prompt.optional'),_0x8362d0=_0xe425a9[_0x268b71(0x3fe)](_0xe425a9[_0x268b71(0x409)]),_0x55e578=_0xe425a9['useDependency'](_0x475155[_0x268b71(0x181)]),_0x480885=_0xe425a9[_0x268b71(0x3fe)](_0x26b696[_0x268b71(0x442)]),_0x1a7790=_0xe425a9[_0x268b71(0x2c7)]();_0x4951e4(_0x4a29d2),_0x1a370f[_0x268b71(0x24c)](()=>{const _0x279e9d=_0x268b71,_0x2b37e9=_0x18c292['help$'][_0x279e9d(0x16e)](_0x3fb2d5=>{const _0x44e059=_0x279e9d,{visible:_0x540c89,paramIndex:_0x4cbd52,functionInfo:_0x3dfe2c}=_0x3fb2d5;if(!_0x540c89){_0x144c9f(_0x540c89);return;}const _0x24b640=_0x1fbd6d();if(_0x24b640==null)return;const {left:_0x39c3c2,top:_0x403588,height:_0x15b143}=_0x24b640;_0x3dfe2c[_0x44e059(0x18d)]===''&&_0x3dfe2c['functionParameter'][_0x44e059(0x2d9)]===0x0||(_0x19af87([_0x39c3c2,_0x403588+_0x15b143]),_0xf84276(_0x4cbd52),_0x3173c5(_0x3dfe2c),_0x5c04eb({'left':_0x39c3c2,'top':_0x403588}),_0x144c9f(_0x540c89));}),_0x4aa593=_0x480885[_0x279e9d(0x13d)][_0x279e9d(0x3df)](_0x45a77a[_0x279e9d(0x325)](0x64))['subscribe'](_0x4a29d2);return()=>{const _0x4ffaef=_0x279e9d;_0x2b37e9==null||_0x2b37e9[_0x4ffaef(0x23f)](),_0x4aa593[_0x4ffaef(0x23f)]();};},[]);function _0x4a29d2(){if(!_0x177a68)return;const _0x31e506=_0x1fbd6d();if(_0x31e506==null)return;const {left:_0x9f6479,top:_0x349500,height:_0x2f51f5}=_0x31e506;_0x19af87([_0x9f6479,_0x349500+_0x2f51f5]);}_0x3d5e2f(_0x4a29d2,_0x268b71(0x26b));function _0x1fbd6d(){const _0x4539fe=_0x268b71,_0x4cde3b=_0x8362d0[_0x4539fe(0x2e2)]();if(!_0x4cde3b)return;const _0x55c4b9=_0x4cde3b[_0x4539fe(0x2a0)]();if(!_0x55e578['isEditor'](_0x55c4b9))return;const _0x5e9894=_0x55e578[_0x4539fe(0x187)](_0x55c4b9);return _0x5e9894==null?void 0x0:_0x5e9894[_0x4539fe(0x1f4)]();}_0x3d5e2f(_0x1fbd6d,_0x268b71(0x18f));function _0x322b02(_0x5f4422){_0xf84276(_0x5f4422);}_0x3d5e2f(_0x322b02,_0x268b71(0x1b7));function _0x380a11(){const _0x9cd41d=_0x268b71;_0x4c2392(!_0x177a68),_0x1a7790[_0x9cd41d(0x1e8)](_0x26b696[_0x9cd41d(0x376)])[_0x9cd41d(0x361)]();}return _0x3d5e2f(_0x380a11,_0x268b71(0x311)),_0x4d4197[_0x268b71(0x197)](_0x4d4197[_0x268b71(0x33d)],{'children':_0x177a68?_0x4d4197[_0x268b71(0x197)](_0x1d93ab['Popup'],{'visible':_0xa9f163,'offset':_0x724a12,'children':_0x316ef0?_0x4d4197[_0x268b71(0xea)](_0x268b71(0x25f),{'className':_0x488265['formulaHelpFunction'],'children':[_0x4d4197[_0x268b71(0xea)](_0x268b71(0x25f),{'className':_0x488265[_0x268b71(0x2da)],'children':[_0x4d4197[_0x268b71(0x197)](_0x43538c,{'prefix':_0x316ef0[_0x268b71(0x120)],'value':_0x316ef0['functionParameter'],'active':_0x76b44c,'onClick':_0x322b02}),_0x4d4197['jsxs']('div',{'className':_0x488265[_0x268b71(0x12e)],'children':[_0x4d4197[_0x268b71(0x197)](_0x268b71(0x25f),{'className':_0x488265[_0x268b71(0x289)],'style':{'transform':_0x3eb8dc?_0x268b71(0x279):_0x268b71(0x377)},'onClick':_0x3d5e2f(()=>_0x3994af(!_0x3eb8dc),'onClick'),'children':_0x4d4197[_0x268b71(0x197)](_0x36f6e1,{})}),_0x4d4197[_0x268b71(0x197)]('div',{'className':_0x488265[_0x268b71(0x289)],'onClick':_0x380a11,'children':_0x4d4197[_0x268b71(0x197)](_0x5935a7,{})})]})]}),_0x4d4197[_0x268b71(0x197)](_0x268b71(0x25f),{'className':_0x488265[_0x268b71(0x3e2)],'style':{'height':_0x3eb8dc?'unset':0x0,'padding':_0x3eb8dc?'revert-layer':0x0},'children':_0x4d4197[_0x268b71(0xea)](_0x268b71(0x25f),{'className':_0x488265[_0x268b71(0x383)],'children':[_0x4d4197['jsx'](_0x367787,{'title':_0x41bb7e['t'](_0x268b71(0x229)),'value':_0x316ef0['functionName']+'('+_0x316ef0['functionParameter']['map'](_0x276fcd=>_0x276fcd[_0x268b71(0x1d6)])[_0x268b71(0x118)](',')+')'}),_0x4d4197['jsx'](_0x367787,{'title':_0x41bb7e['t'](_0x268b71(0x3a3)),'value':_0x316ef0['description']}),_0x316ef0&&_0x316ef0[_0x268b71(0x3ac)]&&_0x316ef0[_0x268b71(0x3ac)][_0x268b71(0x432)]((_0x55d704,_0x1ce453)=>_0x4d4197[_0x268b71(0x197)](_0x367787,{'className':_0x76b44c===_0x1ce453?_0x488265[_0x268b71(0x3aa)]:'','title':_0x55d704[_0x268b71(0x1f5)],'value':(_0x55d704[_0x268b71(0x2bd)]?_0x34e305:_0x28166b)+'\x20'+_0x55d704[_0x268b71(0x10e)]},_0x1ce453))]})})]}):_0x4d4197['jsx'](_0x4d4197[_0x268b71(0x33d)],{})}):_0xa9f163?_0x4d4197[_0x268b71(0x197)](_0x268b71(0x25f),{'className':_0x488265[_0x268b71(0x108)],'onClick':_0x3d5e2f(()=>_0x4c2392(!_0x177a68),'onClick'),'style':{'left':_0x321169[_0x268b71(0x395)]-0x18,'top':_0x321169[_0x268b71(0x190)]},'children':_0x4d4197[_0x268b71(0x197)](_0x1d10ee,{})}):_0x4d4197[_0x268b71(0x197)](_0x4d4197[_0x268b71(0x33d)],{})});}_0x3d5e2f(_0x4d08e0,'HelpFunction');const _0x367787=_0x3d5e2f(_0x2585c5=>_0x4d4197[_0x357959(0xea)](_0x357959(0x25f),{'className':_0x488265[_0x357959(0x2a8)],'children':[_0x4d4197[_0x357959(0x197)](_0x357959(0x25f),{'className':_0x488265['formulaHelpFunctionContentParamsTitle']+'\x20'+_0x2585c5[_0x357959(0x174)],'children':_0x2585c5['title']}),_0x4d4197[_0x357959(0x197)](_0x357959(0x25f),{'className':_0x488265[_0x357959(0x3d4)],'children':_0x2585c5['value']})]}),_0x357959(0xdb)),_0x43538c=_0x3d5e2f(_0x435019=>{const _0xcc9941=_0x357959,{prefix:_0xea3a1d,value:_0x408d98,active:_0x364cb5,onClick:_0x5b126d}=_0x435019;return _0x4d4197[_0xcc9941(0xea)](_0xcc9941(0x25f),{'className':_0x488265[_0xcc9941(0x1f2)],'children':[_0x4d4197[_0xcc9941(0xea)]('span',{'className':_0x488265['formulaHelpParamPrefix'],'children':[_0xea3a1d,'(']}),_0x408d98&&_0x408d98[_0xcc9941(0x432)]((_0x566572,_0x17ee4d)=>_0x4d4197[_0xcc9941(0xea)](_0xcc9941(0x139),{'className':_0x488265[_0xcc9941(0x307)],'children':[_0x4d4197[_0xcc9941(0x197)](_0xcc9941(0x139),{'className':_0x364cb5===_0x17ee4d?_0x488265[_0xcc9941(0x3aa)]:_0x488265[_0xcc9941(0x342)],'onClick':_0x3d5e2f(()=>_0x5b126d(_0x17ee4d),_0xcc9941(0x26c)),'children':_0x204300(_0x566572)}),_0x17ee4d===_0x408d98[_0xcc9941(0x2d9)]-0x1?'':',']},_0x17ee4d)),')']});},_0x357959(0x40c)),_0xab4e9d={'formulaSearchFunction':_0x357959(0x288),'formulaSearchFunctionItem':_0x357959(0x155),'formulaSearchFunctionItemName':_0x357959(0x2fa),'formulaSearchFunctionItemNameLight':'univer-formula-search-function-item-name-light','formulaSearchFunctionItemDesc':_0x357959(0x112),'formulaSearchFunctionItemActive':_0x357959(0x3ae)};function _0x5d1069(){const _0xae8d95=_0x357959,[_0x1f26a0,_0x13cc2f]=_0x1a370f['useState'](!0x1),[_0x42ba70,_0x197c75]=_0x1a370f[_0xae8d95(0x396)](0x0),[_0x4eca86,_0x109b38]=_0x1a370f['useState']([0x0,0x0]),[_0x547e4f,_0x1b43d1]=_0x1a370f[_0xae8d95(0x396)]([]),[_0x8fb68c,_0x785edb]=_0x1a370f[_0xae8d95(0x396)](''),_0x2c8062=_0x1a370f[_0xae8d95(0xec)](null),_0x74b901=_0xe425a9['useDependency'](_0x1a63ed),_0x5afa6d=_0xe425a9['useDependency'](_0xe425a9[_0xae8d95(0x409)]),_0x174a89=_0xe425a9[_0xae8d95(0x3fe)](_0x475155['IEditorService']);_0x1a370f[_0xae8d95(0x24c)](()=>{const _0x5d0367=_0xae8d95;let _0x53d6a4=[],_0x4ecbc1=0x0;const _0x43b1f3=_0x74b901[_0x5d0367(0x2c2)][_0x5d0367(0x16e)](_0x4c18bf=>{const {visible:_0x2ed1b6,searchText:_0x284b00,searchList:_0x18932a}=_0x4c18bf;if(!_0x2ed1b6){_0x13cc2f(_0x2ed1b6);return;}const _0x2481be=_0x6ad398();if(_0x2481be==null)return;const {left:_0x345ab2,top:_0x2e4af4,height:_0x43168e}=_0x2481be;_0x785edb(_0x284b00),_0x1b43d1(_0x18932a),_0x53d6a4=_0x18932a,_0x109b38([_0x345ab2,_0x2e4af4+_0x43168e]),_0x13cc2f(_0x2ed1b6),_0x197c75(0x0),_0x4ecbc1=0x0;}),_0x3321e2=_0x74b901[_0x5d0367(0x3b9)][_0x5d0367(0x16e)](_0xc9a6c=>{const _0x1f4b0d=_0x5d0367,{direction:_0x5924c0}=_0xc9a6c;if(_0x5924c0===_0xe425a9['Direction']['UP']){let _0x2318c7=_0x4ecbc1-0x1;_0x2318c7=_0x2318c7<0x0?_0x53d6a4[_0x1f4b0d(0x2d9)]-0x1:_0x2318c7,_0x197c75(_0x2318c7),_0x4ecbc1=_0x2318c7;}else{if(_0x5924c0===_0xe425a9[_0x1f4b0d(0x21c)][_0x1f4b0d(0x3a9)]){let _0x555d0a=_0x4ecbc1+0x1;_0x555d0a=_0x555d0a>=_0x53d6a4[_0x1f4b0d(0x2d9)]?0x0:_0x555d0a,_0x197c75(_0x555d0a),_0x4ecbc1=_0x555d0a;}}_0x4476b8(_0x4ecbc1);}),_0x289f5f=_0x74b901[_0x5d0367(0x2e7)]['subscribe'](_0x59a708=>{const _0x377299=_0x5d0367,_0x5817db=_0x53d6a4[_0x4ecbc1][_0x377299(0x1f5)];_0x74b901[_0x377299(0xf1)](_0x5817db);});return()=>{const _0x1d8656=_0x5d0367;_0x43b1f3==null||_0x43b1f3[_0x1d8656(0x23f)](),_0x3321e2==null||_0x3321e2[_0x1d8656(0x23f)](),_0x289f5f==null||_0x289f5f[_0x1d8656(0x23f)]();};},[]);function _0x6ad398(){const _0x258a1d=_0xae8d95,_0x292323=_0x5afa6d[_0x258a1d(0x2e2)]()['getUnitId']();if(!_0x174a89[_0x258a1d(0x3a5)](_0x292323))return;const _0x1a1015=_0x174a89[_0x258a1d(0x187)](_0x292323);return _0x1a1015==null?void 0x0:_0x1a1015[_0x258a1d(0x1f4)]();}_0x3d5e2f(_0x6ad398,'getPosition');function _0x94de05(_0x2dc72c){_0x197c75(_0x2dc72c);}_0x3d5e2f(_0x94de05,_0xae8d95(0x2f6));function _0x3af672(){_0x197c75(-0x1);}_0x3d5e2f(_0x3af672,_0xae8d95(0x32b));function _0x4476b8(_0x18d5e7){const _0x544970=_0xae8d95;var _0x209af9;const _0x3cf475=(_0x209af9=_0x2c8062[_0x544970(0x291)])==null?void 0x0:_0x209af9[_0x544970(0x28e)]('.'+_0xab4e9d[_0x544970(0x426)])[_0x18d5e7];if(!_0x3cf475)return;const _0x1194aa=_0x3cf475[_0x544970(0x35c)];if(!_0x1194aa)return;const _0x696d2e=_0x1194aa[_0x544970(0x1f4)]()[_0x544970(0x190)],_0x195cf5=_0x1194aa[_0x544970(0x122)],_0x545483=_0x3cf475[_0x544970(0x1f4)](),_0x3c1ff5=_0x545483['top'],_0x538fd4=_0x545483[_0x544970(0x2bb)];if(_0x3c1ff5>=0x0&&_0x3c1ff5>_0x696d2e&&_0x3c1ff5-_0x696d2e+_0x538fd4<=_0x195cf5)return;const _0x49cd7f=_0x3cf475[_0x544970(0x158)]-(_0x195cf5-_0x538fd4)/0x2;_0x1194aa[_0x544970(0x330)]({'top':_0x49cd7f,'behavior':_0x544970(0x3fc)});}return _0x3d5e2f(_0x4476b8,'scrollToVisible'),_0x547e4f['length']>0x0&&_0x4d4197[_0xae8d95(0x197)](_0x1d93ab[_0xae8d95(0x228)],{'visible':_0x1f26a0,'offset':_0x4eca86,'children':_0x4d4197[_0xae8d95(0x197)]('ul',{'className':_0xab4e9d[_0xae8d95(0x3f7)],'ref':_0x2c8062,'children':_0x547e4f['map']((_0x3a77f2,_0x5a4562)=>_0x4d4197[_0xae8d95(0xea)]('li',{'className':_0x42ba70===_0x5a4562?_0xab4e9d[_0xae8d95(0x426)]+'\x20'+_0xab4e9d['formulaSearchFunctionItemActive']:_0xab4e9d[_0xae8d95(0x426)],'onMouseEnter':_0x3d5e2f(()=>_0x94de05(_0x5a4562),_0xae8d95(0x196)),'onMouseLeave':_0x3af672,'onClick':_0x3d5e2f(()=>_0x74b901[_0xae8d95(0xf1)](_0x3a77f2[_0xae8d95(0x1f5)]),'onClick'),'children':[_0x4d4197[_0xae8d95(0xea)](_0xae8d95(0x139),{'className':_0xab4e9d[_0xae8d95(0x23c)],'children':[_0x4d4197['jsx'](_0xae8d95(0x139),{'className':_0xab4e9d[_0xae8d95(0x29f)],'children':_0x3a77f2['name'][_0xae8d95(0x427)](0x0,_0x8fb68c['length'])}),_0x4d4197[_0xae8d95(0x197)](_0xae8d95(0x139),{'children':_0x3a77f2[_0xae8d95(0x1f5)][_0xae8d95(0x366)](_0x8fb68c[_0xae8d95(0x2d9)])})]}),_0x4d4197[_0xae8d95(0x197)]('span',{'className':_0xab4e9d['formulaSearchFunctionItemDesc'],'children':_0x3a77f2[_0xae8d95(0x172)]})]},_0x5a4562))})});}_0x3d5e2f(_0x5d1069,'SearchFunction');function _0x53613d(){const _0x5a4725=_0x357959;return _0x4d4197[_0x5a4725(0xea)](_0x4d4197[_0x5a4725(0x33d)],{'children':[_0x4d4197[_0x5a4725(0x197)](_0x5d1069,{}),_0x4d4197[_0x5a4725(0x197)](_0x4d08e0,{})]});}_0x3d5e2f(_0x53613d,_0x357959(0x252));const _0x1af5f7={'formulaMoreFunctions':_0x357959(0x1e7),'formulaMoreFunctionsOperation':_0x357959(0x126)};function _0x419010(_0xf4c866){const _0x1bd0c5=_0x357959,{prefix:_0x41d93c,value:_0x1d4d4c}=_0xf4c866;return _0x4d4197[_0x1bd0c5(0xea)]('div',{'children':[_0x4d4197[_0x1bd0c5(0xea)](_0x1bd0c5(0x139),{'children':[_0x41d93c,'(']}),_0x1d4d4c&&_0x1d4d4c[_0x1bd0c5(0x432)]((_0xff0597,_0x22f55b)=>_0x4d4197['jsxs']('span',{'children':[_0x4d4197[_0x1bd0c5(0x197)]('span',{'children':_0x204300(_0xff0597)}),_0x22f55b===_0x1d4d4c[_0x1bd0c5(0x2d9)]-0x1?'':',']},_0x22f55b)),')']});}_0x3d5e2f(_0x419010,_0x357959(0x2a1));const _0x32373c={'formulaFunctionParams':_0x357959(0x3e1),'formulaFunctionParamsTitle':'univer-formula-function-params-title','formulaFunctionParamsDetail':_0x357959(0x1cc)};function _0x5c228f(_0x400d8a){const _0x3e25fe=_0x357959,{className:_0x1951e3,value:_0x4b1b04,title:_0x29b8e4}=_0x400d8a;return _0x4d4197[_0x3e25fe(0xea)](_0x3e25fe(0x25f),{'className':_0x32373c[_0x3e25fe(0x34e)],'children':[_0x4d4197[_0x3e25fe(0x197)](_0x3e25fe(0x25f),{'className':_0x32373c[_0x3e25fe(0x127)]+'\x20'+_0x1951e3,'children':_0x29b8e4}),_0x4d4197['jsx']('div',{'className':_0x32373c[_0x3e25fe(0x38c)],'children':_0x4b1b04})]});}_0x3d5e2f(_0x5c228f,_0x357959(0x176));const _0x129633={'formulaInputParamsList':'univer-formula-input-params-list','formulaInputParamsListItemName':'univer-formula-input-params-list-item-name','formulaInputParamsListItemSelector':_0x357959(0x2e0)};function _0x731640(_0x388cfe){const _0x130d7a=_0x357959,{functionInfo:_0x101025,onChange:_0xb0d704}=_0x388cfe;if(!_0x101025)return null;_0x1a370f['useState']([]);const [_0x504228,_0x15a4fb]=_0x1a370f[_0x130d7a(0x396)](_0x101025[_0x130d7a(0x3ac)]),[_0x22ba0b,_0x5481d8]=_0x1a370f[_0x130d7a(0x396)](-0x1);return _0x4d4197[_0x130d7a(0xea)](_0x130d7a(0x25f),{'className':_0x129633[_0x130d7a(0x2a4)],'children':[_0x4d4197[_0x130d7a(0x197)](_0x130d7a(0x25f),{'className':_0x129633[_0x130d7a(0x2f5)],'children':_0x504228['map']((_0x43c29d,_0x22732b)=>_0x4d4197['jsxs'](_0x130d7a(0x25f),{'children':[_0x4d4197[_0x130d7a(0x197)]('div',{'className':_0x129633[_0x130d7a(0x232)],'children':_0x43c29d[_0x130d7a(0x1f5)]}),_0x4d4197['jsx'](_0x130d7a(0x25f),{'className':_0x129633[_0x130d7a(0x30f)]})]},_0x22732b))}),_0x4d4197[_0x130d7a(0x197)](_0x130d7a(0x25f),{'className':_0x129633[_0x130d7a(0x403)],'children':_0x4d4197['jsx'](_0x5c228f,{'title':_0x22ba0b===-0x1?_0x4d4197[_0x130d7a(0x197)](_0x419010,{'prefix':_0x101025[_0x130d7a(0x120)],'value':_0x504228}):_0x504228[_0x22ba0b][_0x130d7a(0x1f5)],'value':_0x22ba0b===-0x1?_0x101025[_0x130d7a(0x18d)]:_0x504228[_0x22ba0b][_0x130d7a(0x10e)]})})]});}_0x3d5e2f(_0x731640,'InputParams');const _0x56272d={'formulaSelectFunctionSelect':'univer-formula-select-function-select','formulaSelectFunctionResult':_0x357959(0x3d6),'formulaSelectFunctionResultItem':_0x357959(0x320),'formulaSelectFunctionResultItemNameLight':'univer-formula-select-function-result-item-name-light','formulaSelectFunctionResultItemSelected':'univer-formula-select-function-result-item-selected','formulaSelectFunctionResultItemActive':_0x357959(0x38f),'formulaSelectFunctionContent':_0x357959(0x36a)};function _0x5f0ab5(_0x4ef162){const _0x478757=_0x357959,{onChange:_0x463bcb}=_0x4ef162,_0x4d17d4='-1',[_0x2968f4,_0x21d70b]=_0x1a370f[_0x478757(0x396)](''),[_0x52687d,_0x5aec2a]=_0x1a370f['useState']([]),[_0x2f3a3d,_0x1ac0b3]=_0x1a370f[_0x478757(0x396)](0x0),[_0x5ef4ab,_0x7fc48b]=_0x1a370f['useState'](_0x4d17d4),[_0x59fcf6,_0x2759d3]=_0x1a370f['useState'](0x0),[_0x30a94f,_0x3ec1cc]=_0x1a370f[_0x478757(0x396)](null),_0x5c8d58=_0xe425a9[_0x478757(0x3fe)](_0x42f993[_0x478757(0x18e)]),_0x5ef83c=_0xe425a9['useDependency'](_0xe425a9[_0x478757(0x2d2)]),_0x52c13a=_0x2e8a14(_0x4b6226[_0x478757(0x352)],_0x5ef83c);_0x52c13a[_0x478757(0x2ec)]({'label':_0x5ef83c['t'](_0x478757(0x2a7)),'value':_0x4d17d4});const _0x411fd5=_0x5ef83c['t'](_0x478757(0x236)),_0x524fd9=_0x5ef83c['t'](_0x478757(0x373));_0x1a370f['useEffect'](()=>{_0x2e18c7(_0x4d17d4);},[]),_0x1a370f['useEffect'](()=>{_0x4ea8ca(0x0);},[_0x52687d]);const _0x4ad540=_0x3d5e2f(_0x5204a6=>{const _0x15a263=_0x478757;if(_0x2968f4[_0x15a263(0x44f)]()==='')return _0x5204a6;const _0x1632d5=new RegExp('('+_0x2968f4[_0x15a263(0x2b8)]()+')');return _0x5204a6[_0x15a263(0x129)](_0x1632d5)[_0x15a263(0xfa)](Boolean)[_0x15a263(0x432)]((_0x160c9b,_0x5b501a)=>_0x160c9b['match'](_0x1632d5)?_0x4d4197['jsx']('span',{'className':_0x56272d[_0x15a263(0x32a)],'children':_0x160c9b},_0x5b501a):_0x160c9b);},_0x478757(0x3f6)),_0x4ea8ca=_0x3d5e2f(_0x490167=>{const _0x531818=_0x478757;if(_0x52687d['length']===0x0){_0x3ec1cc(null);return;}_0x2759d3(_0x490167);const _0x3ad01d=_0x5c8d58[_0x531818(0x116)](_0x52687d[_0x490167][_0x531818(0x1f5)]);if(!_0x3ad01d){_0x3ec1cc(null);return;}_0x3ec1cc(_0x3ad01d),_0x463bcb(_0x3ad01d);},_0x478757(0x1dc));function _0x2e18c7(_0x472f26){const _0x296796=_0x478757;_0x7fc48b(_0x472f26);const _0x983344=_0x5c8d58[_0x296796(0x1c3)](+_0x472f26);_0x5aec2a(_0x983344);}_0x3d5e2f(_0x2e18c7,_0x478757(0x238));function _0x539ed5(_0x341387){const _0x8dcc4b=_0x478757;_0x21d70b(_0x341387);const _0x33fc3a=_0x5c8d58[_0x8dcc4b(0x3ce)](_0x341387);_0x5aec2a(_0x33fc3a);}_0x3d5e2f(_0x539ed5,_0x478757(0x44a));function _0x5b9278(_0x462b42){const _0x26fd5c=_0x478757;if(_0x462b42[_0x26fd5c(0x43d)](),_0x462b42[_0x26fd5c(0x1fc)]===_0x26fd5c(0x2b4)){const _0x650812=_0x2f3a3d+0x1;_0x1ac0b3(_0x650812===_0x52687d[_0x26fd5c(0x2d9)]?0x0:_0x650812);}else{if(_0x462b42[_0x26fd5c(0x1fc)]===_0x26fd5c(0x248)){const _0xddc89a=_0x2f3a3d-0x1;_0x1ac0b3(_0xddc89a===-0x1?_0x52687d[_0x26fd5c(0x2d9)]-0x1:_0xddc89a);}else _0x462b42[_0x26fd5c(0x1fc)]===_0x26fd5c(0x310)&&_0x4ea8ca(_0x2f3a3d);}}_0x3d5e2f(_0x5b9278,_0x478757(0x134));const _0x108ba0=_0x3d5e2f(_0x37d0b8=>{_0x1ac0b3(_0x37d0b8);},_0x478757(0x2f6)),_0x13dd8f=_0x3d5e2f(()=>{_0x1ac0b3(-0x1);},_0x478757(0x32b));return _0x4d4197['jsxs'](_0x478757(0x25f),{'children':[_0x4d4197[_0x478757(0xea)](_0x478757(0x25f),{'className':_0x56272d[_0x478757(0x43e)],'children':[_0x4d4197[_0x478757(0x197)](_0x1d93ab[_0x478757(0x1ad)],{'value':_0x5ef4ab,'options':_0x52c13a,'onChange':_0x2e18c7}),_0x4d4197[_0x478757(0x197)](_0x1d93ab[_0x478757(0x3d7)],{'placeholder':_0x5ef83c['t']('formula.moreFunctions.searchFunctionPlaceholder'),'onKeyDown':_0x5b9278,'value':_0x2968f4,'onChange':_0x539ed5,'size':_0x478757(0xdd),'allowClear':!0x0})]}),_0x4d4197['jsx']('ul',{'className':_0x56272d['formulaSelectFunctionResult'],'onKeyDown':_0x5b9278,'tabIndex':-0x1,'children':_0x52687d[_0x478757(0x432)](({name:_0x35a82b},_0x2f515f)=>_0x4d4197['jsxs']('li',{'className':_0x2f3a3d===_0x2f515f?_0x56272d[_0x478757(0x2fb)]+'\x20'+_0x56272d[_0x478757(0x1c6)]:_0x56272d[_0x478757(0x2fb)],'onMouseEnter':_0x3d5e2f(()=>_0x108ba0(_0x2f515f),_0x478757(0x196)),'onMouseLeave':_0x13dd8f,'onClick':_0x3d5e2f(()=>_0x4ea8ca(_0x2f515f),_0x478757(0x26c)),'children':[_0x59fcf6===_0x2f515f&&_0x4d4197[_0x478757(0x197)](_0x27d2ef,{'className':_0x56272d[_0x478757(0x1d4)]}),_0x4d4197[_0x478757(0x197)]('span',{'className':_0x56272d['formulaSelectFunctionResultItemName'],'children':_0x4ad540(_0x35a82b)})]},_0x2f515f))}),_0x30a94f&&_0x4d4197[_0x478757(0xea)](_0x478757(0x25f),{'className':_0x56272d[_0x478757(0x3b7)],'children':[_0x4d4197[_0x478757(0x197)](_0x5c228f,{'title':_0x30a94f['functionName'],'value':_0x30a94f[_0x478757(0x18d)]}),_0x4d4197[_0x478757(0x197)](_0x5c228f,{'title':_0x5ef83c['t'](_0x478757(0x42e)),'value':_0x4d4197['jsx'](_0x419010,{'prefix':_0x30a94f['functionName'],'value':_0x30a94f[_0x478757(0x3ac)]})}),_0x4d4197[_0x478757(0x197)](_0x5c228f,{'title':_0x5ef83c['t'](_0x478757(0x229)),'value':_0x30a94f['functionName']+'('+_0x30a94f[_0x478757(0x3ac)]['map'](_0x3e3b45=>_0x3e3b45[_0x478757(0x1d6)])[_0x478757(0x118)](',')+')'}),_0x30a94f[_0x478757(0x3ac)]&&_0x30a94f[_0x478757(0x3ac)][_0x478757(0x432)]((_0x386738,_0x4b8697)=>_0x4d4197[_0x478757(0x197)](_0x5c228f,{'title':_0x386738[_0x478757(0x1f5)],'value':(_0x386738['require']?_0x411fd5:_0x524fd9)+'\x20'+_0x386738[_0x478757(0x10e)]},_0x4b8697))]})]});}_0x3d5e2f(_0x5f0ab5,_0x357959(0x2d1));function _0x45a028(){const _0x203963=_0x357959,_0x23fbde=_0x4ad090['useActiveWorkbook'](),[_0x1f965a,_0x485e70]=_0x1a370f['useState'](!0x0),[_0x242516,_0xc3b4a7]=_0x1a370f['useState'](!0x1),[_0xe11326,_0xf87d34]=_0x1a370f[_0x203963(0x396)](null),_0x223b18=_0xe425a9['useDependency'](_0xe425a9[_0x203963(0x2d2)]),_0x3457b2=_0xe425a9['useDependency'](_0x475155[_0x203963(0x181)]);function _0x82491f(){_0x485e70(!_0x1f965a),_0xc3b4a7(!_0x242516);}_0x3d5e2f(_0x82491f,'handleClickNextPrev');function _0x86f806(){const _0xcb3279=_0x203963;_0x3457b2[_0xcb3279(0x2be)]('='+(_0xe11326==null?void 0x0:_0xe11326['functionName'])+'(');}return _0x3d5e2f(_0x86f806,'handleConfirm'),_0x4d4197[_0x203963(0xea)](_0x203963(0x25f),{'className':_0x1af5f7[_0x203963(0x1f7)],'children':[_0x1f965a&&_0x4d4197[_0x203963(0x197)](_0x5f0ab5,{'onChange':_0xf87d34}),_0x242516&&_0x4d4197['jsx'](_0x731640,{'functionInfo':_0xe11326,'onChange':_0x3d5e2f(()=>{},_0x203963(0x37d))}),_0x4d4197[_0x203963(0xea)]('div',{'className':_0x1af5f7['formulaMoreFunctionsOperation'],'children':[_0x242516&&_0x4d4197[_0x203963(0x197)](_0x1d93ab['Button'],{'type':'primary','size':_0x203963(0x221),'onClick':_0x82491f,'children':_0x223b18['t'](_0x203963(0x1b5))}),_0x242516&&_0x4d4197[_0x203963(0x197)](_0x1d93ab['Button'],{'size':_0x203963(0x221),'onClick':_0x82491f,'children':_0x223b18['t'](_0x203963(0x41f))}),_0x1f965a&&!!_0x23fbde&&_0x4d4197[_0x203963(0x197)](_0x1d93ab['Button'],{'type':_0x203963(0x421),'size':_0x203963(0x221),'onClick':_0x86f806,'children':_0x223b18['t']('formula.moreFunctions.confirm')})]})]});}_0x3d5e2f(_0x45a028,_0x357959(0x175));function _0x5a62c2(_0x3ea418){const _0x1d566=_0x357959;return{'id':_0x3a0b05['id'],'icon':'FunctionSingle','tooltip':_0x1d566(0x316),'type':_0x26b696['MenuItemType'][_0x1d566(0x43c)],'selections':[{'label':_0x1d566(0x3c7),'value':_0x1d566(0x3c7),'icon':_0x1d566(0x219)},{'label':_0x1d566(0x247),'value':'AVERAGE','icon':_0x1d566(0x245)},{'label':_0x1d566(0xd0),'value':_0x1d566(0xd0),'icon':_0x1d566(0x113)},{'label':_0x1d566(0x2cc),'value':_0x1d566(0x2cc),'icon':'MaxSingle'},{'label':_0x1d566(0x42f),'value':_0x1d566(0x42f),'icon':_0x1d566(0x3c6)}],'hidden$':_0x26b696['getMenuHiddenObservable'](_0x3ea418,_0xe425a9['UniverInstanceType']['UNIVER_SHEET']),'disabled$':_0x4ad090[_0x1d566(0x3b0)](_0x3ea418,{'workbookTypes':[_0x282719[_0x1d566(0xe8)]],'worksheetTypes':[_0x282719[_0x1d566(0x20d)],_0x282719[_0x1d566(0x218)]],'rangeTypes':[_0x282719[_0x1d566(0x31a)]]})};}_0x3d5e2f(_0x5a62c2,_0x357959(0x425));function _0x1051ae(_0x4b79b6){const _0x267e47=_0x357959;return{'id':_0x34d7de['id'],'title':_0x267e47(0x386),'type':_0x26b696[_0x267e47(0x10b)][_0x267e47(0x215)]};}_0x3d5e2f(_0x1051ae,_0x357959(0x17a));function _0x3e96c6(_0x1711d1){const _0x32d54b=_0x357959;return _0x1711d1['get'](_0xe425a9['IUniverInstanceService'])[_0x32d54b(0x407)](_0xe425a9[_0x32d54b(0x239)]['UNIVER_SHEET'])[_0x32d54b(0x3df)](_0x45a77a[_0x32d54b(0x2fc)](_0x561766=>_0x561766&&_0x1711d1[_0x32d54b(0x1e8)](_0x26b696['IClipboardInterfaceService'])?new _0x45a77a[(_0x32d54b(0x360))](_0xd757e1=>_0xd757e1[_0x32d54b(0x15f)](!_0x1711d1['get'](_0x26b696[_0x32d54b(0x13b)])['supportClipboard'])):_0x45a77a['of'](!0x0)));}_0x3d5e2f(_0x3e96c6,_0x357959(0x337));function _0x8fcbd0(_0x10ca50){const _0x12cc89=_0x357959;return{'id':_0x4da2cd['id'],'type':_0x26b696['MenuItemType'][_0x12cc89(0x215)],'title':_0x12cc89(0x39b),'disabled$':_0x3e96c6(_0x10ca50)[_0x12cc89(0x3df)](_0x45a77a['combineLatestWith'](_0x4ad090['getCurrentRangeDisable$'](_0x10ca50,{'workbookTypes':[_0x282719[_0x12cc89(0xe8)]],'rangeTypes':[_0x282719[_0x12cc89(0x31a)]],'worksheetTypes':[_0x282719[_0x12cc89(0x218)],_0x282719[_0x12cc89(0x20d)]]})),_0x45a77a[_0x12cc89(0x432)](([_0x43f446,_0xf54c67])=>_0x43f446||_0xf54c67))};}_0x3d5e2f(_0x8fcbd0,_0x357959(0x12b));const _0x1c5e0a={[_0x26b696['RibbonStartGroup'][_0x357959(0x292)]]:{[_0x3a0b05['id']]:{'order':0x1,'menuItemFactory':_0x5a62c2,[_0x34d7de['id']]:{'order':0x1,'menuItemFactory':_0x1051ae}}},[_0x4ad090[_0x357959(0x417)]]:{[_0x4da2cd['id']]:{'order':0x4,'menuItemFactory':_0x8fcbd0}}},_0x5a80d7='meta_key_ctrl_And_Shift',_0xabb3bd=[_0x26b696[_0x357959(0x1a7)][_0x357959(0x125)],_0x26b696[_0x357959(0x1a7)]['ARROW_UP'],_0x26b696[_0x357959(0x1a7)][_0x357959(0x1f1)],_0x26b696[_0x357959(0x1a7)][_0x357959(0x448)]],_0x2e2e5a=[..._0xabb3bd,_0x26b696[_0x357959(0x1a7)][_0x357959(0x17e)],_0x26b696['KeyCode'][_0x357959(0x2d5)],_0x26b696[_0x357959(0x1a7)][_0x357959(0x284)]];function _0x2221b2(){const _0x545b23=_0x357959,_0x2ba0d1=[];for(const _0x1851dd of _0x2e2e5a)_0x2ba0d1['push']({'id':_0x38df5a['id'],'binding':_0x1851dd,'preconditions':_0x3d5e2f(_0x4fcdca=>_0x4ad090['whenFormulaEditorActivated'](_0x4fcdca),_0x545b23(0x35a)),'staticParameters':{'eventType':_0x2d766b[_0x545b23(0x3ab)]['Keyboard'],'keycode':_0x1851dd}});return _0x2ba0d1;}_0x3d5e2f(_0x2221b2,_0x357959(0x410));function _0x3366f5(){const _0x37215a=_0x357959,_0x5a57fb=[];for(const _0x51844b of _0xabb3bd)_0x5a57fb['push']({'id':_0x38df5a['id'],'binding':_0x51844b|_0x26b696[_0x37215a(0x3db)]['SHIFT'],'preconditions':_0x3d5e2f(_0x29456c=>_0x4ad090[_0x37215a(0x3f3)](_0x29456c),_0x37215a(0x35a)),'staticParameters':{'eventType':_0x2d766b[_0x37215a(0x3ab)]['Keyboard'],'keycode':_0x51844b,'metaKey':_0x26b696[_0x37215a(0x3db)][_0x37215a(0x106)]}});return _0x5a57fb;}_0x3d5e2f(_0x3366f5,_0x357959(0x348));function _0x5e045f(){const _0x2c7824=_0x357959,_0x2c7d08=[];for(const _0x19ef8d of _0xabb3bd)_0x2c7d08[_0x2c7824(0x3ef)]({'id':_0x38df5a['id'],'binding':_0x19ef8d|_0x26b696[_0x2c7824(0x3db)]['CTRL_COMMAND'],'preconditions':_0x3d5e2f(_0x2737b5=>_0x4ad090[_0x2c7824(0x3f3)](_0x2737b5),'preconditions'),'staticParameters':{'eventType':_0x2d766b[_0x2c7824(0x3ab)][_0x2c7824(0x359)],'keycode':_0x19ef8d,'metaKey':_0x26b696[_0x2c7824(0x3db)][_0x2c7824(0x255)]}});return _0x2c7d08;}_0x3d5e2f(_0x5e045f,'promptSelectionShortcutItemCtrl');function _0x3488de(){const _0x22dbb7=_0x357959,_0x7c8f09=[];for(const _0x1819d0 of _0xabb3bd)_0x7c8f09[_0x22dbb7(0x3ef)]({'id':_0x38df5a['id'],'binding':_0x1819d0|_0x26b696[_0x22dbb7(0x3db)]['SHIFT']|_0x26b696[_0x22dbb7(0x3db)][_0x22dbb7(0x255)],'preconditions':_0x3d5e2f(_0x3958fe=>_0x4ad090[_0x22dbb7(0x3f3)](_0x3958fe),_0x22dbb7(0x35a)),'staticParameters':{'eventType':_0x2d766b[_0x22dbb7(0x3ab)][_0x22dbb7(0x359)],'keycode':_0x1819d0,'metaKey':_0x5a80d7}});return _0x7c8f09;}_0x3d5e2f(_0x3488de,_0x357959(0x110));const _0x3580de={'id':_0x53d061['id'],'binding':_0x26b696['KeyCode']['F4'],'preconditions':_0x3d5e2f(_0x442742=>_0x4ad090[_0x357959(0x3f3)](_0x442742),_0x357959(0x35a))};function _0x5b504c(){const _0x563caa=_0x357959,_0x41f82a=[];for(const _0x59dc10 of[_0x26b696['KeyCode']['ENTER'],_0x26b696[_0x563caa(0x1a7)][_0x563caa(0x2d5)],_0x26b696[_0x563caa(0x1a7)][_0x563caa(0x125)],_0x26b696[_0x563caa(0x1a7)][_0x563caa(0x1f6)]])_0x41f82a[_0x563caa(0x3ef)]({'id':_0x38df5a['id'],'binding':_0x59dc10,'preconditions':_0x3d5e2f(_0x22edbf=>_0x3068a4(_0x22edbf),_0x563caa(0x35a)),'staticParameters':{'eventType':_0x2d766b['DeviceInputEventType'][_0x563caa(0x359)],'keycode':_0x59dc10,'isSingleEditor':!0x0}});return _0x41f82a;}_0x3d5e2f(_0x5b504c,_0x357959(0xfc));var _0x26e571=Object[_0x357959(0x412)],_0x24642d=Object['getOwnPropertyDescriptor'],_0x2d33ee=_0x3d5e2f((_0x2d37fc,_0x4a210c,_0x4b3eae,_0x2e01da)=>{for(var _0x3ceace=_0x2e01da>0x1?void 0x0:_0x2e01da?_0x24642d(_0x4a210c,_0x4b3eae):_0x4a210c,_0x3b15ea=_0x2d37fc['length']-0x1,_0x4af015;_0x3b15ea>=0x0;_0x3b15ea--)(_0x4af015=_0x2d37fc[_0x3b15ea])&&(_0x3ceace=(_0x2e01da?_0x4af015(_0x4a210c,_0x4b3eae,_0x3ceace):_0x4af015(_0x3ceace))||_0x3ceace);return _0x2e01da&&_0x3ceace&&_0x26e571(_0x4a210c,_0x4b3eae,_0x3ceace),_0x3ceace;},_0x357959(0x28a)),_0x201022=_0x3d5e2f((_0x51fd1c,_0x38a5c2)=>(_0x4eb0d3,_0x472bec)=>_0x38a5c2(_0x4eb0d3,_0x472bec,_0x51fd1c),_0x357959(0x388));let _0x2b2855=(_0x29bfad=class extends _0xe425a9[_0x357959(0x303)]{constructor(_0x1252be,_0xf1f3cb,_0x1069ab,_0x29e8d0,_0x383783,_0x531e6d,_0x3f8371){const _0x4f00c9=_0x357959;super(),this[_0x4f00c9(0x36c)]=_0x1252be,this[_0x4f00c9(0x193)]=_0xf1f3cb,this[_0x4f00c9(0x301)]=_0x1069ab,this['_shortcutService']=_0x29e8d0,this['_uiPartsService']=_0x383783,this[_0x4f00c9(0x3b3)]=_0x531e6d,this[_0x4f00c9(0x401)]=_0x3f8371,this[_0x4f00c9(0x1e3)]();}['_initialize'](){const _0x2f8384=_0x357959;this[_0x2f8384(0x2b1)](),this['_registerMenus'](),this[_0x2f8384(0x11b)](),this[_0x2f8384(0x319)](),this[_0x2f8384(0x305)]();}[_0x357959(0x29b)](){const _0x44bc6e=_0x357959;this['_menuManagerService'][_0x44bc6e(0x24f)](_0x1c5e0a);}['_registerCommands'](){const _0x507c74=_0x357959;[_0x4da2cd,_0x3a0b05,_0x34d7de,_0x1785d6,_0x4b97be,_0x38df5a,_0x53d061][_0x507c74(0x1d3)](_0x4ece67=>this['disposeWithMe'](this[_0x507c74(0x301)][_0x507c74(0x2ad)](_0x4ece67)));}[_0x357959(0x11b)](){const _0x30b6e6=_0x357959;[..._0x2221b2(),..._0x3366f5(),..._0x5e045f(),..._0x3488de(),..._0x5b504c(),_0x3580de][_0x30b6e6(0x1d3)](_0x2c9b52=>{const _0x3a9f5c=_0x30b6e6;this[_0x3a9f5c(0x14c)](this[_0x3a9f5c(0xcf)]['registerShortcut'](_0x2c9b52));});}['_registerComponents'](){const _0x169a08=_0x357959;this[_0x169a08(0x14c)](this['_uiPartsService']['registerComponent'](_0x26b696[_0x169a08(0x1f3)][_0x169a08(0x368)],()=>_0xe425a9['connectInjector'](_0x53613d,this['_injector']))),this[_0x169a08(0x401)][_0x169a08(0x2b0)](_0x45d642,_0x45a028);}[_0x357959(0x305)](){const _0x314aec=_0x357959;this[_0x314aec(0x14c)](this['_renderManagerService'][_0x314aec(0xda)](_0xe425a9[_0x314aec(0x239)][_0x314aec(0x1ac)],[_0x2cd411]));}},_0x3d5e2f(_0x29bfad,_0x357959(0x117)),_0x29bfad);_0x2b2855=_0x2d33ee([_0x201022(0x0,_0xe425a9['Inject'](_0xe425a9['Injector'])),_0x201022(0x1,_0x26b696['IMenuManagerService']),_0x201022(0x2,_0xe425a9[_0x357959(0x309)]),_0x201022(0x3,_0x26b696[_0x357959(0x34b)]),_0x201022(0x4,_0x26b696[_0x357959(0x206)]),_0x201022(0x5,_0x2d766b[_0x357959(0xe2)]),_0x201022(0x6,_0xe425a9[_0x357959(0x1ce)](_0x26b696[_0x357959(0x2ab)]))],_0x2b2855);function _0x7fa1a0(_0x348f57,_0x25c21f,_0x14983c){const _0x273935=_0x357959,_0x272a36=_0x348f57[_0x273935(0x23d)](),_0x3e66c8=new _0xe425a9[(_0x273935(0x22e))](_0x25c21f)['setAlpha'](0.05)[_0x273935(0x20f)]();return{'id':_0x14983c,'strokeWidth':0x1,'stroke':_0x25c21f,'fill':_0x3e66c8,'widgets':{'tl':!0x0,'tc':!0x0,'tr':!0x0,'ml':!0x0,'mr':!0x0,'bl':!0x0,'bc':!0x0,'br':!0x0},'widgetSize':0x6,'widgetStrokeWidth':0x1,'widgetStroke':_0x272a36['colorWhite'],'hasAutoFill':!0x1,'hasRowHeader':!0x1,'hasColumnHeader':!0x1};}_0x3d5e2f(_0x7fa1a0,_0x357959(0x151));var _0x49cb0a=Object[_0x357959(0x412)],_0x3946c0=Object['getOwnPropertyDescriptor'],_0x162093=_0x3d5e2f((_0x179f82,_0x31d05c,_0x373195,_0x354da5)=>{const _0x250923=_0x357959;for(var _0xe2f16d=_0x354da5>0x1?void 0x0:_0x354da5?_0x3946c0(_0x31d05c,_0x373195):_0x31d05c,_0x450fd6=_0x179f82[_0x250923(0x2d9)]-0x1,_0x1d7a01;_0x450fd6>=0x0;_0x450fd6--)(_0x1d7a01=_0x179f82[_0x450fd6])&&(_0xe2f16d=(_0x354da5?_0x1d7a01(_0x31d05c,_0x373195,_0xe2f16d):_0x1d7a01(_0xe2f16d))||_0xe2f16d);return _0x354da5&&_0xe2f16d&&_0x49cb0a(_0x31d05c,_0x373195,_0xe2f16d),_0xe2f16d;},_0x357959(0x159)),_0x1a94ab=_0x3d5e2f((_0x1869c9,_0x7975f2)=>(_0x3ca725,_0xde92b2)=>_0x7975f2(_0x3ca725,_0xde92b2,_0x1869c9),_0x357959(0x3f0));let _0x58f59e=(_0x59c261=class extends _0x4ad090[_0x357959(0x231)]{constructor(_0x82a588,_0x2fbec2,_0x35b301,_0x597e45,_0x5980bb,_0x32be0b){const _0xa49145=_0x357959;super(_0x2fbec2,_0x35b301,_0x597e45,_0x5980bb),_0x285b0f(this,_0xa49145(0x22a)),_0x285b0f(this,'_eventDisposables'),(this[_0xa49145(0x265)]=_0x82a588,this[_0xa49145(0x132)]=_0x32be0b,this[_0xa49145(0x22a)]=this[_0xa49145(0x132)]['getWorkbookSelections'](this[_0xa49145(0x265)]['unitId']),this[_0xa49145(0x109)](),this[_0xa49145(0x3d3)](),this['_initUserActionSyncListener'](),this[_0xa49145(0x2b7)](_0x42bf73(this[_0xa49145(0x208)])),this['_remainLastEnabled']=!0x0);}[_0x357959(0x1ca)](){const _0x49910f=_0x357959;return this[_0x49910f(0x258)]['getLocation']();}[_0x357959(0x318)](_0x3e57b8){this['_remainLastEnabled']=_0x3e57b8;}['setSkipLastEnabled'](_0x1482b4){this['_skipLastEnabled']=_0x1482b4;}[_0x357959(0x165)](){const _0x24898f=_0x357959,_0x1e295e=this[_0x24898f(0x203)][this[_0x24898f(0x203)][_0x24898f(0x2d9)]-0x1];_0x1e295e&&(_0x1e295e['dispose'](),this[_0x24898f(0x203)]['pop']());}[_0x357959(0x36f)](){const _0x1e2faa=_0x357959;return this['_disableSelectionChanging'](),this[_0x1e2faa(0x184)]=this[_0x1e2faa(0x146)](),_0xe425a9[_0x1e2faa(0x3d9)](()=>this[_0x1e2faa(0x171)]());}[_0x357959(0x171)](){const _0x2cd5eb=_0x357959;var _0x1cdcd5;(_0x1cdcd5=this[_0x2cd5eb(0x184)])==null||_0x1cdcd5[_0x2cd5eb(0x34c)](),this['_eventDisposables']=null;}[_0x357959(0x146)](){const _0x202fb5=_0x357959,_0x1b06e8=this['_getSheetObject'](),{spreadsheetRowHeader:_0x5cc941,spreadsheetColumnHeader:_0x1be4f6,spreadsheet:_0x314d47,spreadsheetLeftTopPlaceholder:_0x4bf997}=_0x1b06e8,{scene:_0x5c6e44}=this[_0x202fb5(0x265)],_0x2db356=new _0xe425a9['DisposableCollection']();return _0x2db356['add'](_0x314d47==null?void 0x0:_0x314d47[_0x202fb5(0x290)][_0x202fb5(0x375)]((_0x52b227,_0x32d06d)=>{const _0x17abad=_0x202fb5;this[_0x17abad(0x163)](_0x52b227,_0x314d47[_0x17abad(0xf2)]+0x1,_0xe425a9[_0x17abad(0x2e4)][_0x17abad(0x2b6)],this[_0x17abad(0x141)](_0x52b227)),_0x52b227['button']!==0x2&&_0x32d06d[_0x17abad(0x43d)]();})),_0x2db356[_0x202fb5(0x350)](_0x5cc941==null?void 0x0:_0x5cc941[_0x202fb5(0x290)][_0x202fb5(0x375)]((_0x68330e,_0x1275d1)=>{const _0x5e8b77=_0x202fb5,_0xb12c6d=this[_0x5e8b77(0x185)][_0x5e8b77(0x2fd)]()[_0x5e8b77(0x422)],{row:_0x197e84}=_0x4ad090[_0x5e8b77(0x34d)](_0x68330e[_0x5e8b77(0x1cf)],_0x68330e[_0x5e8b77(0x343)],_0x5c6e44,_0xb12c6d);_0x4ad090['checkInHeaderRanges'](this[_0x5e8b77(0x22a)][_0x5e8b77(0x226)](),_0x197e84,_0xe425a9['RANGE_TYPE'][_0x5e8b77(0x2fe)])||(this[_0x5e8b77(0x163)](_0x68330e,(_0x314d47[_0x5e8b77(0xf2)]||0x1)+0x1,_0xe425a9['RANGE_TYPE'][_0x5e8b77(0x2fe)],this[_0x5e8b77(0x141)](_0x68330e),_0x2d766b[_0x5e8b77(0x256)]['Y']),_0x68330e[_0x5e8b77(0x345)]!==0x2&&_0x1275d1[_0x5e8b77(0x43d)]());})),_0x2db356[_0x202fb5(0x350)](_0x1be4f6==null?void 0x0:_0x1be4f6['onPointerDown$'][_0x202fb5(0x375)]((_0x3e2214,_0x367871)=>{const _0xea4e84=_0x202fb5,_0x5dff93=this['_sheetSkeletonManagerService'][_0xea4e84(0x2fd)]()[_0xea4e84(0x422)],{column:_0x5b0cd0}=_0x4ad090['getCoordByOffset'](_0x3e2214[_0xea4e84(0x1cf)],_0x3e2214[_0xea4e84(0x343)],_0x5c6e44,_0x5dff93);_0x4ad090['checkInHeaderRanges'](this[_0xea4e84(0x22a)][_0xea4e84(0x226)](),_0x5b0cd0,_0xe425a9[_0xea4e84(0x2e4)][_0xea4e84(0x430)])||(this[_0xea4e84(0x163)](_0x3e2214,(_0x314d47['zIndex']||0x1)+0x1,_0xe425a9[_0xea4e84(0x2e4)][_0xea4e84(0x430)],this[_0xea4e84(0x141)](_0x3e2214),_0x2d766b[_0xea4e84(0x256)]['X']),_0x3e2214[_0xea4e84(0x345)]!==0x2&&_0x367871[_0xea4e84(0x43d)]());})),_0x2db356[_0x202fb5(0x350)](_0x4bf997==null?void 0x0:_0x4bf997[_0x202fb5(0x290)][_0x202fb5(0x375)]((_0x47586c,_0x3380ac)=>{const _0x107079=_0x202fb5;this[_0x107079(0x1b1)]();const _0x5d7ccd=this['_sheetSkeletonManagerService'][_0x107079(0x2fd)]()[_0x107079(0x422)],_0x2f7403=_0x4ad090[_0x107079(0x168)](_0x5d7ccd),_0x56947c=this[_0x107079(0xeb)](_0x2f7403);this['_addSelectionControlBySelectionData'](_0x56947c),this['_selectionMoveStart$'][_0x107079(0x15f)](this[_0x107079(0x336)]()),_0x47586c[_0x107079(0x345)]!==0x2&&_0x3380ac['stopPropagation']();})),_0x2db356;}[_0x357959(0x333)](){const _0x5ab53a=_0x357959;this[_0x5ab53a(0x14c)](this[_0x5ab53a(0x349)][_0x5ab53a(0x16e)](_0x5a3fe7=>{const _0x1fbe13=_0x5ab53a;this[_0x1fbe13(0x17c)](_0x5a3fe7,_0x282719[_0x1fbe13(0x411)][_0x1fbe13(0x21f)]);})),this['disposeWithMe'](this['selectionMoving$']['subscribe'](_0x3fb83b=>{const _0x51d41d=_0x5ab53a;this['_updateSelections'](_0x3fb83b,_0x282719[_0x51d41d(0x411)][_0x51d41d(0x3bb)]);})),this['disposeWithMe'](this[_0x5ab53a(0x233)][_0x5ab53a(0x16e)](_0xbc808a=>{const _0x4b5408=_0x5ab53a;this[_0x4b5408(0x17c)](_0xbc808a,_0x282719[_0x4b5408(0x411)]['MOVE_END']);}));}[_0x357959(0x17c)](_0x2dc27e,_0x4a410c){const _0x3bd7eb=_0x357959,_0x3ab739=this[_0x3bd7eb(0x265)][_0x3bd7eb(0x26f)]['getActiveSheet']()['getSheetId']();_0x2dc27e[_0x3bd7eb(0x2d9)]!==0x0&&this[_0x3bd7eb(0x22a)][_0x3bd7eb(0x3e6)](_0x3ab739,_0x2dc27e[_0x3bd7eb(0x432)](_0x12f697=>_0x282719[_0x3bd7eb(0x1ee)](_0x12f697)),_0x4a410c);}['_initSelectionChangeListener'](){const _0x3d1c0f=_0x357959;this['disposeWithMe'](this['_workbookSelections'][_0x3d1c0f(0x233)][_0x3d1c0f(0x16e)](_0x188d15=>{const _0x1698ee=_0x3d1c0f;this['_reset']();for(const _0x5e4b80 of _0x188d15){const _0x5c89ae=this[_0x1698ee(0xeb)](_0x5e4b80);this[_0x1698ee(0x157)](_0x5c89ae);}}));}['_initSkeletonChangeListener'](){const _0x4edcd6=_0x357959;this[_0x4edcd6(0x14c)](this[_0x4edcd6(0x185)]['currentSkeleton$']['subscribe'](_0x1f99ac=>{const _0x5c487f=_0x4edcd6;if(!_0x1f99ac)return;const {skeleton:_0x21c06e}=_0x1f99ac,{scene:_0x536695}=this['_context'],_0x466fba=_0x536695[_0x5c487f(0x1e1)](_0x2d766b[_0x5c487f(0x204)][_0x5c487f(0x340)]);this[_0x5c487f(0x258)]&&this['_skeleton'][_0x5c487f(0x188)]['getSheetId']()!==_0x21c06e['worksheet']['getSheetId']()&&this[_0x5c487f(0x1b1)](),this['_changeRuntime'](_0x21c06e,_0x536695,_0x466fba);const _0x689e51=this[_0x5c487f(0x22a)][_0x5c487f(0x226)]();this['_refreshSelectionControl'](_0x689e51||[]);}));}[_0x357959(0x3ff)](_0x56cfba){const _0x393ce5=_0x357959,_0x1fcc3b=_0x56cfba[_0x393ce5(0x432)](_0x5f6fda=>_0x4ad090['attachSelectionWithCoord'](_0x5f6fda,this[_0x393ce5(0x258)]));this[_0x393ce5(0x326)](_0x1fcc3b);}['_getActiveViewport'](_0xbdc601){const _0x432a69=_0x357959,_0x338de7=this[_0x432a69(0xf6)]();return _0x338de7==null?void 0x0:_0x338de7['scene'][_0x432a69(0x27a)](_0x2d766b[_0x432a69(0x3e5)]['FromArray']([_0xbdc601['offsetX'],_0xbdc601[_0x432a69(0x343)]]));}[_0x357959(0xf6)](){const _0x432057=_0x357959;return _0x4ad090[_0x432057(0x298)](this[_0x432057(0x265)][_0x432057(0x26f)],this[_0x432057(0x265)]);}},_0x3d5e2f(_0x59c261,_0x357959(0x2f8)),_0x59c261);_0x58f59e=_0x162093([_0x1a94ab(0x1,_0xe425a9['Inject'](_0xe425a9[_0x357959(0x145)])),_0x1a94ab(0x2,_0xe425a9[_0x357959(0x1ce)](_0xe425a9[_0x357959(0x2e9)])),_0x1a94ab(0x3,_0x26b696[_0x357959(0x34b)]),_0x1a94ab(0x4,_0xe425a9[_0x357959(0x1ce)](_0x4ad090['SheetSkeletonManagerService'])),_0x1a94ab(0x5,_0x282719[_0x357959(0x371)])],_0x58f59e);function _0x42bf73(_0x50bd12){const _0x47a95d=_0x357959,_0x2395ae=_0x282719[_0x47a95d(0x1e4)](_0x50bd12);return _0x2395ae['hasAutoFill']=!0x1,_0x2395ae[_0x47a95d(0xf8)]=!0x1,_0x2395ae[_0x47a95d(0x25e)]=!0x1,_0x2395ae['widgets']={'tl':!0x0,'tc':!0x0,'tr':!0x0,'ml':!0x0,'mr':!0x0,'bl':!0x0,'bc':!0x0,'br':!0x0},_0x2395ae;}_0x3d5e2f(_0x42bf73,_0x357959(0x161));var _0x494b6d=Object[_0x357959(0x412)],_0x4f3ef3=Object[_0x357959(0x27f)],_0x230da0=_0x3d5e2f((_0x3e174c,_0x4f6bf0,_0x3b2399,_0x1ac1ce)=>{const _0x1bd6b5=_0x357959;for(var _0x203822=_0x1ac1ce>0x1?void 0x0:_0x1ac1ce?_0x4f3ef3(_0x4f6bf0,_0x3b2399):_0x4f6bf0,_0x1ca85b=_0x3e174c[_0x1bd6b5(0x2d9)]-0x1,_0x411247;_0x1ca85b>=0x0;_0x1ca85b--)(_0x411247=_0x3e174c[_0x1ca85b])&&(_0x203822=(_0x1ac1ce?_0x411247(_0x4f6bf0,_0x3b2399,_0x203822):_0x411247(_0x203822))||_0x203822);return _0x1ac1ce&&_0x203822&&_0x494b6d(_0x4f6bf0,_0x3b2399,_0x203822),_0x203822;},'__decorateClass$1'),_0x2f9abe=_0x3d5e2f((_0x98b324,_0x557e1d)=>(_0x18d66c,_0x487484)=>_0x557e1d(_0x18d66c,_0x487484,_0x98b324),_0x357959(0x356));const _0x6d96ed=[_0xe425a9['DOCS_FORMULA_BAR_EDITOR_UNIT_ID_KEY'],_0xe425a9[_0x357959(0x1da)]];let _0x22fc5d=(_0x44caeb=class extends _0xe425a9[_0x357959(0x303)]{constructor(_0x587fe8,_0x520324,_0x2d7af2,_0x3740e5,_0x14397e,_0x43419e,_0xa77b4,_0x55253e,_0x10ee4f,_0x29d869,_0x37f770,_0x5c4ec5,_0x1f40ba,_0x5c164,_0x380c58){const _0x2cbf41=_0x357959;super(),_0x285b0f(this,_0x2cbf41(0x3cb),new Set()),_0x285b0f(this,'_formulaRefColors',[]),_0x285b0f(this,_0x2cbf41(0x390)),_0x285b0f(this,'_previousRangesCount',0x0),_0x285b0f(this,'_previousInsertRefStringIndex'),_0x285b0f(this,'_currentInsertRefStringIndex',-0x1),_0x285b0f(this,_0x2cbf41(0x312),0x0),_0x285b0f(this,_0x2cbf41(0x227),[]),_0x285b0f(this,_0x2cbf41(0xd6),''),_0x285b0f(this,_0x2cbf41(0x237),''),_0x285b0f(this,_0x2cbf41(0x19d),[]),_0x285b0f(this,_0x2cbf41(0x30e),0x0),_0x285b0f(this,_0x2cbf41(0xe1),!0x1),_0x285b0f(this,_0x2cbf41(0x2ba)),_0x285b0f(this,_0x2cbf41(0x29a),!0x1),_0x285b0f(this,_0x2cbf41(0x220),null),_0x285b0f(this,_0x2cbf41(0x446)),_0x285b0f(this,_0x2cbf41(0x2af),!0x1),(this[_0x2cbf41(0x301)]=_0x587fe8,this[_0x2cbf41(0x420)]=_0x520324,this[_0x2cbf41(0x36e)]=_0x2d7af2,this[_0x2cbf41(0x1dd)]=_0x3740e5,this[_0x2cbf41(0x3f4)]=_0x14397e,this['_renderManagerService']=_0x43419e,this[_0x2cbf41(0x208)]=_0xa77b4,this['_sheetsSelectionsService']=_0x55253e,this[_0x2cbf41(0x132)]=_0x10ee4f,this['_univerInstanceService']=_0x29d869,this[_0x2cbf41(0x2b3)]=_0x37f770,this[_0x2cbf41(0x3a6)]=_0x5c4ec5,this['_contextMenuService']=_0x1f40ba,this[_0x2cbf41(0x177)]=_0x5c164,this[_0x2cbf41(0x1af)]=_0x380c58,this['_initialize']());}get[_0x357959(0x211)](){const _0x3df741=_0x357959;return this['_renderManagerService']['getRenderById'](this['_univerInstanceService'][_0x3df741(0x13e)](_0xe425a9[_0x3df741(0x239)][_0x3df741(0x1ac)])[_0x3df741(0x2a0)]())[_0x3df741(0x34f)](_0x58f59e);}get['_allSelectionRenderServices'](){const _0x5b9320=_0x357959;return this[_0x5b9320(0x3b3)][_0x5b9320(0x195)](_0xe425a9[_0x5b9320(0x239)]['UNIVER_SHEET'])[_0x5b9320(0x432)](_0x14aeee=>_0x14aeee['with'](_0x58f59e));}['dispose'](){const _0x190e86=_0x357959;this[_0x190e86(0x2bf)]=[],this['_resetTemp']();}[_0x357959(0x3f5)](){const _0x5f0a29=_0x357959;this['_previousSequenceNodes']=null,this[_0x5f0a29(0x18b)]=null,this['_isSelectionMovingRefSelections']=[],this[_0x5f0a29(0x249)]=0x0,this[_0x5f0a29(0x419)]=-0x1;}[_0x357959(0x1e3)](){const _0x4659d6=_0x357959;this[_0x4659d6(0x402)](),this[_0x4659d6(0x1d2)](),this['_initialFormulaTheme'](),this[_0x4659d6(0x12c)](),this['_closeRangePromptWhenEditorInvisible'](),this[_0x4659d6(0x1d8)](),this['_commandExecutedListener'](),this[_0x4659d6(0x22d)](),this[_0x4659d6(0x143)](),this[_0x4659d6(0x35b)](),this[_0x4659d6(0x43f)]();}['_initialFormulaTheme'](){const _0x58f209=_0x357959,_0x17c870=this[_0x58f209(0x208)]['getCurrentTheme']();this['_formulaRefColors']=[_0x17c870[_0x58f209(0x30d)],_0x17c870[_0x58f209(0x26d)],_0x17c870[_0x58f209(0x1fe)],_0x17c870['loopColor4'],_0x17c870[_0x58f209(0x300)],_0x17c870[_0x58f209(0x38e)],_0x17c870[_0x58f209(0x328)],_0x17c870['loopColor8'],_0x17c870['loopColor9'],_0x17c870[_0x58f209(0x280)],_0x17c870[_0x58f209(0x20c)],_0x17c870[_0x58f209(0x3c8)]],this[_0x58f209(0x237)]=_0x17c870[_0x58f209(0x12f)],this['_stringColor']=_0x17c870[_0x58f209(0x40b)];}['_initialCursorSync'](){const _0x506c87=_0x357959;this[_0x506c87(0x14c)](this[_0x506c87(0x3a6)][_0x506c87(0x449)][_0x506c87(0x16e)](_0x23643a=>{const _0x19943e=_0x506c87;var _0x392374;if((_0x23643a==null?void 0x0:_0x23643a[_0x19943e(0x439)])==null)return;const _0x25351b=this[_0x19943e(0x177)]['getEditor'](_0x23643a[_0x19943e(0x439)]);if(!_0x25351b||_0x25351b[_0x19943e(0x40a)]()||_0x25351b[_0x19943e(0x107)]()&&!this['_isFormulaEditorActivated']()||_0x25351b[_0x19943e(0x424)][_0x19943e(0x179)])return;const _0x543e44=_0x25351b['onlyInputRange']();(_0x392374=_0x23643a==null?void 0x0:_0x23643a[_0x19943e(0x3c5)])!=null&&_0x392374[_0x19943e(0x365)]||(this[_0x19943e(0x385)](),this[_0x19943e(0x2ca)](),this['_checkShouldEnterSelectingMode'](_0x543e44),!this[_0x19943e(0x1dd)][_0x19943e(0x11e)]()&&(this[_0x19943e(0x332)](),!_0x543e44&&this['_changeFunctionPanelState']()));}));}['_initialEditorInputChange'](){const _0xfe6d51=_0x357959,_0x5a9bfc=[_0x26b696['KeyCode'][_0xfe6d51(0x125)],_0x26b696[_0xfe6d51(0x1a7)]['ARROW_UP'],_0x26b696[_0xfe6d51(0x1a7)][_0xfe6d51(0x1f1)],_0x26b696['KeyCode'][_0xfe6d51(0x448)],_0x26b696['KeyCode']['CTRL'],_0x26b696[_0xfe6d51(0x1a7)]['SHIFT']];this[_0xfe6d51(0x1a0)][_0xfe6d51(0x407)](_0xe425a9[_0xfe6d51(0x239)][_0xfe6d51(0x317)])[_0xfe6d51(0x16e)](_0x107857=>{const _0x11339b=_0xfe6d51;var _0x59144c;const _0x41fdb0=_0x107857==null?void 0x0:_0x107857[_0x11339b(0x2a0)]();if(_0x41fdb0==null||this[_0x11339b(0x3cb)][_0x11339b(0x3a4)](_0x41fdb0)||this[_0x11339b(0x177)][_0x11339b(0x187)](_0x41fdb0)==null)return;const _0x7e9f1e=(_0x59144c=this['_renderManagerService'][_0x11339b(0x3f9)](_0x41fdb0))==null?void 0x0:_0x59144c[_0x11339b(0x34f)](_0x475155['DocSelectionRenderService']);_0x7e9f1e&&this['disposeWithMe'](_0x7e9f1e['onInputBefore$'][_0x11339b(0x16e)](_0x3ba802=>{const _0x5bad38=_0x11339b;this[_0x5bad38(0x390)]=null,this[_0x5bad38(0x18b)]=null,this[_0x5bad38(0x211)][_0x5bad38(0x18a)](!0x0);const _0x5d4f2c=_0x3ba802==null?void 0x0:_0x3ba802[_0x5bad38(0x1f9)];_0x5d4f2c&&(_0x5a9bfc['includes'](_0x5d4f2c['which'])?this[_0x5bad38(0x30e)]=0x2:(this[_0x5bad38(0x312)]!==0x1&&(this['_arrowMoveActionState']=0x2),this[_0x5bad38(0x30e)]=0x1),_0x5d4f2c[_0x5bad38(0x3d2)]!==_0x26b696[_0x5bad38(0x1a7)]['F4']&&(this[_0x5bad38(0xe1)]=!0x1));})),this[_0x11339b(0x3cb)][_0x11339b(0x350)](_0x41fdb0);});}[_0x357959(0x32f)](){const _0x4f2d69=_0x357959;this[_0x4f2d69(0x14c)](this[_0x4f2d69(0x36e)]['afterVisible$'][_0x4f2d69(0x3df)](_0x45a77a['distinctUntilKeyChanged'](_0x4f2d69(0x156)))[_0x4f2d69(0x16e)](_0x1c8f1b=>{const _0x21d21a=_0x4f2d69;_0x1c8f1b[_0x21d21a(0x156)]||this[_0x21d21a(0xd4)]();})),this[_0x4f2d69(0x14c)](this[_0x4f2d69(0x420)][_0x4f2d69(0xd5)](_0xe425a9[_0x4f2d69(0x28c)])[_0x4f2d69(0x3df)](_0x45a77a[_0x4f2d69(0x38b)]())['subscribe'](_0xd5787=>{const _0x5dc020=_0x4f2d69;_0xd5787||this[_0x5dc020(0xd4)]();}));}[_0x357959(0x43f)](){const _0x1d7ead=_0x357959;this[_0x1d7ead(0x14c)](this[_0x1d7ead(0x1a0)][_0x1d7ead(0x407)](_0xe425a9[_0x1d7ead(0x239)]['UNIVER_DOC'])[_0x1d7ead(0x16e)](_0x42cfdf=>{const _0x25cca0=_0x1d7ead;if(_0x42cfdf==null)return;const _0x3678fd=_0x42cfdf[_0x25cca0(0x2a0)]();!this[_0x25cca0(0x177)][_0x25cca0(0x3a5)](_0x3678fd)||this[_0x25cca0(0x2ba)]===_0x3678fd||this['_editorService'][_0x25cca0(0x107)](_0x3678fd)||(this['_closeRangePrompt'](_0x3678fd),this['_previousEditorUnitId']=_0x3678fd);})),this[_0x1d7ead(0x14c)](this[_0x1d7ead(0x177)]['closeRangePrompt$'][_0x1d7ead(0x16e)](()=>{const _0x5f55d6=_0x1d7ead;(!this[_0x5f55d6(0x177)]['getSpreadsheetFocusState']()||!this['_formulaPromptService'][_0x5f55d6(0x351)]())&&this[_0x5f55d6(0xd4)]();}));}[_0x357959(0xd4)](_0x22bdf4){const _0x5697bf=_0x357959;this[_0x5697bf(0x19d)]=[],this[_0x5697bf(0x132)][_0x5697bf(0x138)](),_0x22bdf4&&this[_0x5697bf(0x177)][_0x5697bf(0x107)](_0x22bdf4)&&this[_0x5697bf(0x11c)]('\x0d\x0a',[]),this[_0x5697bf(0x420)][_0x5697bf(0x1b0)](_0xe425a9[_0x5697bf(0x153)],!0x1),this[_0x5697bf(0x420)][_0x5697bf(0x1b0)](_0x282719[_0x5697bf(0x154)],!0x1),this[_0x5697bf(0x420)][_0x5697bf(0x1b0)](_0x26b696[_0x5697bf(0x213)],!0x1),this[_0x5697bf(0x385)](),this['_resetTemp'](),this[_0x5697bf(0x147)]();}[_0x357959(0x12c)](){const _0x52a8f1=_0x357959,_0x14b868=new _0xe425a9[(_0x52a8f1(0x324))]();this[_0x52a8f1(0x14c)](this[_0x52a8f1(0x132)][_0x52a8f1(0x233)][_0x52a8f1(0x16e)](_0x3df32d=>{const _0xd1222f=_0x52a8f1;if(_0x14b868[_0xd1222f(0x34c)](),_0x3df32d[_0xd1222f(0x2d9)]===0x0)return;this['_allSelectionRenderServices']['map'](_0x4a8d61=>_0x4a8d61[_0xd1222f(0x327)]())[_0xd1222f(0x2cb)]()[_0xd1222f(0x1d3)](_0x5d8392=>{const _0x219e54=_0xd1222f;_0x5d8392[_0x219e54(0x3c2)](),_0x14b868['add'](_0x5d8392[_0x219e54(0x1c9)][_0x219e54(0x16e)](_0x331264=>this['_onSelectionControlChange'](_0x331264,_0x5d8392))),_0x14b868['add'](_0x5d8392[_0x219e54(0x44b)][_0x219e54(0x16e)](_0x57225=>this[_0x219e54(0xfe)](_0x57225,_0x5d8392))),_0x14b868[_0x219e54(0x350)](_0x5d8392[_0x219e54(0x242)]['subscribe'](()=>this[_0x219e54(0x1dd)][_0x219e54(0x2d3)]())),_0x14b868[_0x219e54(0x350)](_0x5d8392['selectionScaled$'][_0x219e54(0x16e)](()=>this[_0x219e54(0x1dd)]['disableLockedSelectionChange']()));});}));}['_updateSelecting'](_0x381bd2,_0x2b5d2d=!0x1){const _0x2159ed=_0x357959;if(_0x381bd2[_0x2159ed(0x2d9)]!==0x0&&!(this[_0x2159ed(0x177)][_0x2159ed(0x25d)]()&&!this['_formulaPromptService'][_0x2159ed(0x351)]())&&(this['_insertControlSelections'](_0x381bd2),_0x2b5d2d)){const _0x17a683=_0x381bd2[_0x381bd2[_0x2159ed(0x2d9)]-0x1];this[_0x2159ed(0x3e0)](_0x17a683);}}[_0x357959(0x274)](){const _0x58a2f5=_0x357959,_0x303a22=this[_0x58a2f5(0x446)]=new _0xe425a9[(_0x58a2f5(0x324))]();this[_0x58a2f5(0x3e8)]['forEach'](_0x189db4=>{const _0x4f3ba4=_0x58a2f5;_0x303a22[_0x4f3ba4(0x350)](_0x189db4[_0x4f3ba4(0x36f)]()),_0x303a22['add'](_0x189db4['selectionMoving$'][_0x4f3ba4(0x16e)](_0x24275b=>{const _0x2c1557=_0x4f3ba4;this[_0x2c1557(0x3c4)](_0x24275b[_0x2c1557(0x432)](_0x592a1a=>_0x282719[_0x2c1557(0x1ee)](_0x592a1a)));})),_0x303a22['add'](_0x189db4[_0x4f3ba4(0x349)][_0x4f3ba4(0x16e)](_0x49c9c1=>{const _0x5abb66=_0x4f3ba4,_0x35ebf0=this['_checkClearingLastSelection'](_0x189db4);this['_currentlyWorkingRefRenderer']=_0x189db4,this[_0x5abb66(0x3c4)](_0x49c9c1[_0x5abb66(0x432)](_0x4fa314=>_0x282719[_0x5abb66(0x1ee)](_0x4fa314)),_0x35ebf0);}));});}[_0x357959(0x3cf)](_0x4efd4c){const _0x2ce0c7=_0x357959;return this[_0x2ce0c7(0x220)]&&this[_0x2ce0c7(0x220)]!==_0x4efd4c?(this[_0x2ce0c7(0x220)][_0x2ce0c7(0x165)](),!0x1):!0x0;}[_0x357959(0x205)](){const _0x1d6cc8=_0x357959;var _0x5dd038;(_0x5dd038=this['_selectionsChangeDisposables'])==null||_0x5dd038[_0x1d6cc8(0x34c)](),this[_0x1d6cc8(0x446)]=null;}['_insertControlSelections'](_0x55b0dc){const _0x328c9b=_0x357959,_0x1afa55=_0x55b0dc[_0x55b0dc[_0x328c9b(0x2d9)]-0x1];if(this[_0x328c9b(0x2ea)](_0x55b0dc[_0x328c9b(0x2d9)]),(_0x55b0dc['length']===this['_previousRangesCount']||this[_0x328c9b(0x249)]===0x0)&&this[_0x328c9b(0x390)]!=null)this[_0x328c9b(0x3e0)](_0x1afa55);else{let _0x47cd5c=this[_0x328c9b(0x1dd)][_0x328c9b(0x2ed)]();const _0x59e9a4=this[_0x328c9b(0x2b5)]();_0x47cd5c[_0x328c9b(0x2d9)]===0x0&&this['_currentInsertRefStringIndex']>0x0&&(this[_0x328c9b(0x419)]=-0x1),this[_0x328c9b(0x18b)]=this[_0x328c9b(0x419)],!_0x4b6226[_0x328c9b(0x225)](_0x59e9a4)&&this[_0x328c9b(0x433)](_0x55b0dc[_0x328c9b(0x2d9)])&&(this['_formulaPromptService'][_0x328c9b(0x3ad)](this[_0x328c9b(0x419)],_0x4b6226[_0x328c9b(0xe6)]['COMMA']),_0x47cd5c=this[_0x328c9b(0x1dd)]['getSequenceNodes'](),this[_0x328c9b(0x18b)]+=0x1),this[_0x328c9b(0x390)]=_0xe425a9[_0x328c9b(0xe0)]['deepClone'](_0x47cd5c),this[_0x328c9b(0x1dd)]['setSequenceNodes'](_0x47cd5c);const _0x9e34fc=this[_0x328c9b(0x363)](_0x1afa55);this[_0x328c9b(0x1dd)][_0x328c9b(0x15b)](this[_0x328c9b(0x18b)],_0x9e34fc),this[_0x328c9b(0x211)]['setSkipLastEnabled'](!0x1);}this[_0x328c9b(0x312)]=0x2,this[_0x328c9b(0x249)]=_0x55b0dc[_0x328c9b(0x2d9)];}[_0x357959(0x1d2)](){const _0x35ddc8=_0x357959;this[_0x35ddc8(0x14c)](this[_0x35ddc8(0x1dd)][_0x35ddc8(0x18c)][_0x35ddc8(0x16e)](_0x1c235f=>{const _0x3e5944=_0x35ddc8,_0x28d3ba=this['_docSelectionManagerService'][_0x3e5944(0x22c)]();if(_0x28d3ba==null){this['_hideFunctionPanel']();return;}const {startOffset:_0x1614e4}=_0x28d3ba,_0xa7f0f9=this['_formulaPromptService'][_0x3e5944(0x2ed)](),_0x271bf6=this['_formulaPromptService'][_0x3e5944(0x13c)](_0x1614e4-0x2),_0x1613ce=_0xa7f0f9[_0x271bf6];if(_0x1613ce==null||typeof _0x1613ce==_0x3e5944(0x3c9)){this['_hideFunctionPanel']();return;}const _0x21b0bb=_0x1c235f[_0x3e5944(0x2d9)]-_0x1613ce[_0x3e5944(0x41b)][_0x3e5944(0x2d9)],_0xfb4253={..._0x1613ce};_0xfb4253['token']=_0x1c235f,_0xfb4253[_0x3e5944(0xfd)]+=_0x21b0bb,_0xa7f0f9[_0x271bf6]=_0xfb4253;const _0x176915=this[_0x3e5944(0x2b3)][_0x3e5944(0x414)](_0x1c235f),_0x53ac83=this[_0x3e5944(0x2b3)][_0x3e5944(0x42b)](_0x1c235f),_0x27399a=_0x1c235f[_0x3e5944(0x2d9)]+0x1,_0x492323=!_0x176915||_0x53ac83;_0x492323&&_0xa7f0f9[_0x3e5944(0x30b)](_0x271bf6+0x1,0x0,_0x4b6226[_0x3e5944(0xe6)][_0x3e5944(0x14f)]);for(let _0x3ba07c=_0x271bf6+0x2,_0x5f3166=_0xa7f0f9[_0x3e5944(0x2d9)];_0x3ba07c<_0x5f3166;_0x3ba07c++){const _0x3e18f8=_0xa7f0f9[_0x3ba07c];if(typeof _0x3e18f8==_0x3e5944(0x3c9))continue;const _0x181183={..._0x3e18f8};_0x181183[_0x3e5944(0x22b)]+=_0x27399a,_0x181183[_0x3e5944(0xfd)]+=_0x27399a,_0xa7f0f9[_0x3ba07c]=_0x181183;}let _0x2c9c49=_0xfb4253[_0x3e5944(0xfd)]+0x1;_0x492323&&(_0x2c9c49+=0x1),this['_syncToEditor'](_0xa7f0f9,_0x2c9c49,void 0x0,!0x0,!0x1);}));}['_changeFunctionPanelState'](){const _0x34fb70=_0x357959,_0x5d9643=this[_0x34fb70(0x3a6)][_0x34fb70(0x22c)]();if(_0x5d9643==null){this[_0x34fb70(0x147)]();return;}const {startOffset:_0x2ddcab}=_0x5d9643,_0x194110=this['_formulaPromptService'][_0x34fb70(0x1ff)](_0x2ddcab-0x2);if(_0x194110==null){this[_0x34fb70(0x147)]();return;}if(typeof _0x194110!=_0x34fb70(0x3c9)&&_0x194110[_0x34fb70(0x3c3)]===_0x4b6226[_0x34fb70(0x17f)][_0x34fb70(0x374)]&&!this[_0x34fb70(0x2b3)][_0x34fb70(0x414)](_0x194110[_0x34fb70(0x41b)][_0x34fb70(0x44f)]())){const _0x46ba2e=_0x194110[_0x34fb70(0x41b)][_0x34fb70(0x282)]();if(this[_0x34fb70(0x30e)]===0x1){const _0x121696=this[_0x34fb70(0x2b3)][_0x34fb70(0x28d)](_0x46ba2e);if(this[_0x34fb70(0x147)](),_0x121696==null||_0x121696[_0x34fb70(0x2d9)]===0x0)return;this['_commandService'][_0x34fb70(0x3ea)](_0x1785d6['id'],{'visible':!0x0,'searchText':_0x46ba2e,'searchList':_0x121696});}else this['_changeHelpFunctionPanelState'](_0x46ba2e,-0x1);return;}const _0x561f5a=this[_0x34fb70(0x16c)](),_0x1e21ff=this['_lexerTreeBuilder'][_0x34fb70(0x1b4)]((_0x561f5a==null?void 0x0:_0x561f5a[_0x34fb70(0x267)])||'',_0x2ddcab-0x1+((_0x561f5a==null?void 0x0:_0x561f5a[_0x34fb70(0x1a1)])||0x0));if(!_0x1e21ff){this['_hideFunctionPanel']();return;}const {functionName:_0x59ae89,paramIndex:_0x3ff41b}=_0x1e21ff;this[_0x34fb70(0x123)](_0x59ae89['toUpperCase'](),_0x3ff41b);}[_0x357959(0x123)](_0x1e1059,_0x3976a4){const _0x175807=_0x357959,_0x2798a5=this[_0x175807(0x2b3)][_0x175807(0x116)](_0x1e1059);this[_0x175807(0x147)](),_0x2798a5!=null&&this[_0x175807(0x301)][_0x175807(0x3ea)](_0x4b97be['id'],{'visible':!0x0,'paramIndex':_0x3976a4,'functionInfo':_0x2798a5});}[_0x357959(0x147)](){const _0x1e64fb=_0x357959;this[_0x1e64fb(0x301)][_0x1e64fb(0x3ea)](_0x1785d6['id'],{'visible':!0x1,'searchText':''}),this['_commandService'][_0x1e64fb(0x3ea)](_0x4b97be['id'],{'visible':!0x1,'paramIndex':-0x1});}[_0x357959(0x276)](_0x2cbfe1=!0x1){const _0x20fe79=_0x357959;if(_0x2cbfe1){this[_0x20fe79(0x15c)]();return;}const _0xcb022f=this[_0x20fe79(0x2b5)](),_0x53789a=this['_getCurrentDataStream']();(_0x53789a==null?void 0x0:_0x53789a['substring'](0x0,0x1))==='='&&_0xcb022f&&_0x4b6226['matchRefDrawToken'](_0xcb022f)?this[_0x20fe79(0x15c)]():this[_0x20fe79(0x385)]();}[_0x357959(0x2b5)](){const _0x1d8f44=_0x357959,_0x3e872e=this[_0x1d8f44(0x3a6)][_0x1d8f44(0x22c)]();if(_0x3e872e==null)return;const {startOffset:_0x4ca0ea}=_0x3e872e,_0x44a16c=this[_0x1d8f44(0x16c)]();return _0x44a16c==null||_0x4ca0ea==null?void 0x0:_0x44a16c[_0x1d8f44(0x267)][_0x4ca0ea-0x1+_0x44a16c[_0x1d8f44(0x1a1)]];}[_0x357959(0xd7)](){const _0x4fda27=_0x357959,_0x511978=this[_0x4fda27(0x16c)]();return _0x511978==null?void 0x0:_0x511978['dataStream'];}[_0x357959(0x15c)](){const _0x38ce0d=_0x357959;this[_0x38ce0d(0x2af)]||(this[_0x38ce0d(0x36e)][_0x38ce0d(0x20b)](),this[_0x38ce0d(0x357)][_0x38ce0d(0x124)](),this[_0x38ce0d(0x1dd)][_0x38ce0d(0x42a)](),this[_0x38ce0d(0x211)][_0x38ce0d(0x318)](!0x0),this[_0x38ce0d(0x274)](),this[_0x38ce0d(0x220)]=null,this[_0x38ce0d(0x312)]!==0x1&&(this['_arrowMoveActionState']=0x2),this[_0x38ce0d(0x2af)]=!0x0);}[_0x357959(0x385)](){const _0x49de13=_0x357959;this[_0x49de13(0x2af)]&&(this['_editorBridgeService'][_0x49de13(0x133)](),this[_0x49de13(0x357)][_0x49de13(0x2e3)](),this[_0x49de13(0x1dd)][_0x49de13(0x25a)](),this[_0x49de13(0x419)]=-0x1,this[_0x49de13(0x205)](),this[_0x49de13(0x312)]===0x2&&(this[_0x49de13(0x312)]=0x4),this[_0x49de13(0x2af)]=!0x1);}[_0x357959(0x16c)](){const _0x534e1a=_0x357959;var _0x25f0b5,_0x382d15;const _0x590d3a=this[_0x534e1a(0x1a0)][_0x534e1a(0x2e2)]();if(!(_0x590d3a!=null&&_0x590d3a[_0x534e1a(0x30c)]()))return;const _0x256bb0=_0x590d3a[_0x534e1a(0x2a0)](),_0x4334aa=this['_editorService'][_0x534e1a(0x187)](_0x256bb0),_0x181cdc=(_0x382d15=(_0x25f0b5=_0x590d3a[_0x534e1a(0x30c)]())==null?void 0x0:_0x25f0b5[_0x534e1a(0x267)])!=null?_0x382d15:'';return!_0x4334aa||!_0x4334aa['onlyInputRange']()?{'dataStream':_0x181cdc,'offset':0x0}:{'dataStream':_0x4b6226[_0x534e1a(0x40d)][_0x534e1a(0x1d1)]+_0x181cdc,'offset':0x1};}[_0x357959(0x358)](_0x339413){const _0x225ffd=_0x357959;return _0x339413[_0x225ffd(0x432)](_0x12b749=>{const _0x1467dc=_0x225ffd,_0x4af3e0=this[_0x1467dc(0x1a0)][_0x1467dc(0xdf)](_0x12b749);return _0x4af3e0==null?void 0x0:_0x4af3e0[_0x1467dc(0x30c)]();});}[_0x357959(0x2f4)](){const _0x162551=_0x357959,_0x1c7de3=this[_0x162551(0x1a0)]['getCurrentUniverDocInstance']()['getUnitId']();return this[_0x162551(0x177)]['isEditor'](_0x1c7de3)&&!this[_0x162551(0x177)][_0x162551(0x107)](_0x1c7de3)?[_0x1c7de3]:_0x6d96ed;}[_0x357959(0x2ca)](){const _0x51beb0=_0x357959,_0x4b8fcf=this[_0x51beb0(0x16c)]();if(_0x4b8fcf&&_0xe425a9[_0x51beb0(0xf7)](_0x4b8fcf[_0x51beb0(0x267)])){this['_contextService'][_0x51beb0(0x1b0)](_0xe425a9[_0x51beb0(0x153)],!0x0),this[_0x51beb0(0x420)][_0x51beb0(0x1b0)](_0x282719['DISABLE_NORMAL_SELECTIONS'],!0x0),this[_0x51beb0(0x420)][_0x51beb0(0x1b0)](_0x26b696[_0x51beb0(0x213)],!0x0);const _0x5cc511=this[_0x51beb0(0x3f4)][_0x51beb0(0x27b)](_0x4b8fcf[_0x51beb0(0x267)])||[];this[_0x51beb0(0x1dd)][_0x51beb0(0x329)](_0x5cc511);const _0x2b4ba5=this[_0x51beb0(0x3a6)][_0x51beb0(0x22c)]();if(_0x2b4ba5==null)return;const {startOffset:_0x327827}=_0x2b4ba5;this[_0x51beb0(0x419)]=_0x327827-0x1+_0x4b8fcf['offset'];return;}this[_0x51beb0(0x420)]['setContextValue'](_0xe425a9[_0x51beb0(0x153)],!0x1),this[_0x51beb0(0x420)][_0x51beb0(0x1b0)](_0x282719[_0x51beb0(0x154)],!0x1),this[_0x51beb0(0x420)][_0x51beb0(0x1b0)](_0x26b696[_0x51beb0(0x213)],!0x1),this[_0x51beb0(0x1dd)][_0x51beb0(0x2d3)](),this[_0x51beb0(0x1dd)][_0x51beb0(0x25a)](),this[_0x51beb0(0x1dd)][_0x51beb0(0x150)](),this[_0x51beb0(0x147)]();}[_0x357959(0x444)](){const _0x4ebc19=_0x357959;return this[_0x4ebc19(0x420)][_0x4ebc19(0x387)](_0xe425a9['FOCUSING_EDITOR_INPUT_FORMULA']);}[_0x357959(0x332)](){const _0x5c0075=_0x357959;if(this['_getContextState']()===!0x1)return;const _0x52297a=this[_0x5c0075(0x1dd)][_0x5c0075(0x2ed)](),_0x9dee46=this[_0x5c0075(0x2f4)](),_0x44c67a=this[_0x5c0075(0x358)](_0x9dee46)[_0x5c0075(0xfa)](_0x33d71b=>!!_0x33d71b);if(this[_0x5c0075(0x132)][_0x5c0075(0x138)](),_0x52297a==null||_0x52297a[_0x5c0075(0x2d9)]===0x0)this[_0x5c0075(0x29a)]=!0x1,_0x44c67a[_0x5c0075(0x1d3)](_0x316ea3=>_0x316ea3[_0x5c0075(0x1be)]=[]);else{this[_0x5c0075(0x29a)]=!0x0;const {textRuns:_0x4a428e,refSelections:_0x5e764a}=this[_0x5c0075(0x27c)](_0x52297a);_0x44c67a['forEach'](_0x287e7c=>_0x287e7c[_0x5c0075(0x1be)]=_0x4a428e),this['_allSelectionRenderServices'][_0x5c0075(0x1d3)](_0x4d57eb=>this[_0x5c0075(0x40e)](_0x4d57eb,_0x5e764a));}this[_0x5c0075(0x235)](_0x9dee46);}[_0x357959(0x27c)](_0x2405df){const _0x870102=_0x357959;var _0x2b880e;const _0xc5e1c4=[],_0x50e565=[],_0x9ad6b0=new Map();let _0x166c6c=0x0;const _0x180677=((_0x2b880e=this[_0x870102(0x16c)]())==null?void 0x0:_0x2b880e['offset'])||0x0;for(let _0x1936eb=0x0,_0x4764bd=_0x2405df[_0x870102(0x2d9)];_0x1936eb<_0x4764bd;_0x1936eb++){const _0x265eb6=_0x2405df[_0x1936eb];if(typeof _0x265eb6==_0x870102(0x3c9)||this[_0x870102(0x2b3)][_0x870102(0x414)](_0x265eb6['token'][_0x870102(0x44f)]()))continue;const {startIndex:_0x2f0aef,endIndex:_0x222155,nodeType:_0x2905a1,token:_0x1799ca}=_0x265eb6;let _0x12b3ac='';if(_0x2905a1===_0x4b6226['sequenceNodeType'][_0x870102(0x261)]){if(_0x9ad6b0[_0x870102(0x3a4)](_0x1799ca))_0x12b3ac=_0x9ad6b0[_0x870102(0x1e8)](_0x1799ca);else{const _0x11b916=_0x166c6c%this['_formulaRefColors']['length'];_0x12b3ac=this['_formulaRefColors'][_0x11b916],_0x9ad6b0[_0x870102(0x3dd)](_0x1799ca,_0x12b3ac),_0x166c6c++;}_0x50e565[_0x870102(0x3ef)]({'refIndex':_0x1936eb,'themeColor':_0x12b3ac,'token':_0x1799ca});}else _0x2905a1===_0x4b6226[_0x870102(0x17f)]['NUMBER']?_0x12b3ac=this['_numberColor']:_0x2905a1===_0x4b6226['sequenceNodeType']['STRING']?_0x12b3ac=this['_stringColor']:_0x2905a1===_0x4b6226[_0x870102(0x17f)]['ARRAY']&&(_0x12b3ac=this['_stringColor']);_0x12b3ac&&_0x12b3ac[_0x870102(0x2d9)]>0x0&&_0xc5e1c4[_0x870102(0x3ef)]({'st':_0x2f0aef+0x1-_0x180677,'ed':_0x222155+0x2-_0x180677,'ts':{'cl':{'rgb':_0x12b3ac}}});}return{'textRuns':_0xc5e1c4,'refSelections':_0x50e565};}[_0x357959(0x33f)](_0x20a0de,_0x46c1ea,_0x3daa02){const {endRow:_0x246c64,endColumn:_0x3bca74}=_0x20a0de;return _0x246c64>_0x46c1ea||_0x3bca74>_0x3daa02;}[_0x357959(0x40e)](_0x32856f,_0x362b32){const _0x16d6ea=_0x357959,{unitId:_0x263999,sheetId:_0x19e60d}=this[_0x16d6ea(0x36e)][_0x16d6ea(0x275)](),{unitId:_0xa57895,sheetId:_0x2618b4}=this[_0x16d6ea(0x1aa)](),_0x15e016=_0x19e60d===_0x2618b4,_0x1b2418=this[_0x16d6ea(0x1a0)][_0x16d6ea(0x39d)](_0x263999)[_0x16d6ea(0x428)](_0x19e60d);let _0x220b95=null;const _0x541711=[];for(let _0x58ca63=0x0,_0x427231=_0x362b32['length'];_0x58ca63<_0x427231;_0x58ca63++){const _0xc1b50e=_0x362b32[_0x58ca63],{themeColor:_0x443808,token:_0x432bb7,refIndex:_0x519365}=_0xc1b50e,_0x333ecd=_0x4b6226[_0x16d6ea(0x25c)](_0x432bb7),{unitId:_0x1a9d25,sheetName:_0x33ba6f,range:_0x3e8b78}=_0x333ecd,_0x10a70a=_0x282719[_0x16d6ea(0x100)](_0x3e8b78,_0x1b2418['getRowCount'](),_0x1b2418[_0x16d6ea(0x1ed)]());if(_0x1a9d25!=null&&_0x1a9d25[_0x16d6ea(0x2d9)]>0x0&&_0x263999!==_0x1a9d25)continue;const _0x4f8f8b=this[_0x16d6ea(0x29d)](_0x263999,_0x33ba6f['trim']());if(!_0x15e016&&_0x4f8f8b!==_0x2618b4||_0x15e016&&_0x33ba6f[_0x16d6ea(0x2d9)]!==0x0&&_0x4f8f8b!==_0x19e60d||this[_0x16d6ea(0x33f)](_0x10a70a,_0x1b2418[_0x16d6ea(0x201)](),_0x1b2418[_0x16d6ea(0x1ed)]()))continue;const _0x38ecbe=this[_0x16d6ea(0x180)](_0x10a70a,_0x443808,_0x519365);if(_0x38ecbe){_0x220b95=_0x38ecbe;continue;}const _0x273ea4=_0x282719[_0x16d6ea(0x102)](_0x10a70a,_0x1b2418);!_0xe425a9['Rectangle']['equals'](_0x273ea4,_0x10a70a)&&_0x10a70a[_0x16d6ea(0x24a)]===_0x10a70a[_0x16d6ea(0x1a6)]&&_0x10a70a[_0x16d6ea(0x178)]===_0x10a70a[_0x16d6ea(0x33a)]&&(_0x10a70a[_0x16d6ea(0x24a)]=_0x273ea4[_0x16d6ea(0x24a)],_0x10a70a[_0x16d6ea(0x1a6)]=_0x273ea4['endRow'],_0x10a70a[_0x16d6ea(0x178)]=_0x273ea4[_0x16d6ea(0x178)],_0x10a70a[_0x16d6ea(0x33a)]=_0x273ea4[_0x16d6ea(0x33a)]),_0x541711['push']({'range':_0x10a70a,'primary':_0x273ea4,'style':_0x7fa1a0(this[_0x16d6ea(0x208)],_0x443808,_0x519365[_0x16d6ea(0x323)]())});}_0x220b95&&_0x541711[_0x16d6ea(0x3ef)](_0x220b95),_0x541711[_0x16d6ea(0x2d9)]&&this[_0x16d6ea(0x132)][_0x16d6ea(0x315)](_0x263999,_0x19e60d,_0x541711);}[_0x357959(0x180)](_0x3896f1,_0x469fbc,_0x579423){const _0x3a5341=_0x357959;var _0x173959;const _0x5ec987=(_0x173959=this['_insertSelections'][_0x3a5341(0x1c7)](_0x1780c1=>{const _0x15d0f1=_0x3a5341,{startRow:_0x334ac2,startColumn:_0x5ee9aa,endRow:_0x8c1782,endColumn:_0x2b6086}=_0x1780c1[_0x15d0f1(0x2ff)];return _0x334ac2===_0x3896f1[_0x15d0f1(0x24a)]&&_0x5ee9aa===_0x3896f1['startColumn']&&_0x8c1782===_0x3896f1[_0x15d0f1(0x1a6)]&&_0x2b6086===_0x3896f1[_0x15d0f1(0x33a)]||_0x334ac2===_0x3896f1[_0x15d0f1(0x24a)]&&_0x5ee9aa===_0x3896f1['startColumn']&&_0x3896f1[_0x15d0f1(0x24a)]===_0x3896f1[_0x15d0f1(0x1a6)]&&_0x3896f1['startColumn']===_0x3896f1[_0x15d0f1(0x33a)];}))==null?void 0x0:_0x173959[_0x3a5341(0x421)];if(_0x5ec987==null)return;const {isMerged:_0x240e35,isMergedMainCell:_0x3463f9,startRow:_0x97cb35,endRow:_0x160362,startColumn:_0x44ba6e,endColumn:_0x4e4e2f}=_0x5ec987;return(_0x240e35||_0x3463f9)&&_0x97cb35===_0x3896f1[_0x3a5341(0x24a)]&&_0x44ba6e===_0x3896f1[_0x3a5341(0x178)]&&_0x3896f1[_0x3a5341(0x24a)]===_0x3896f1[_0x3a5341(0x1a6)]&&_0x3896f1[_0x3a5341(0x178)]===_0x3896f1[_0x3a5341(0x33a)]&&(_0x3896f1[_0x3a5341(0x1a6)]=_0x160362,_0x3896f1['endColumn']=_0x4e4e2f),{'range':_0x3896f1,'primary':_0x5ec987,'style':_0x7fa1a0(this[_0x3a5341(0x208)],_0x469fbc,_0x579423[_0x3a5341(0x323)]())};}['_getSheetIdByName'](_0x424deb,_0x2d5011){const _0x425743=_0x357959;var _0x2a92fd;const _0x253681=this[_0x425743(0x1a0)][_0x425743(0x39d)](_0x424deb);return(_0x2a92fd=_0x253681==null?void 0x0:_0x253681[_0x425743(0x278)](_0x4b6226['normalizeSheetName'](_0x2d5011)))==null?void 0x0:_0x2a92fd[_0x425743(0x114)]();}[_0x357959(0x182)](_0x11e50c,_0x5685b4){const _0x11e2c2=_0x357959;var _0x9a60d5;const _0x551c9a=this['_univerInstanceService']['getUniverSheetInstance'](_0x11e50c);return((_0x9a60d5=_0x551c9a==null?void 0x0:_0x551c9a[_0x11e2c2(0x428)](_0x5685b4))==null?void 0x0:_0x9a60d5[_0x11e2c2(0x19e)]())||'';}[_0x357959(0x1aa)](){const _0x1a2acf=_0x357959;var _0x56c002,_0x5789d5;const _0x2d6e0b=this[_0x1a2acf(0x1a0)][_0x1a2acf(0x13e)](_0xe425a9[_0x1a2acf(0x239)][_0x1a2acf(0x1ac)]),_0x3a236a=_0x2d6e0b['getActiveSheet'](),_0x25d733=(_0x5789d5=(_0x56c002=this['_renderManagerService'][_0x1a2acf(0x3f9)](_0x2d6e0b[_0x1a2acf(0x2a0)]()))==null?void 0x0:_0x56c002[_0x1a2acf(0x34f)](_0x4ad090['SheetSkeletonManagerService']))==null?void 0x0:_0x5789d5['getCurrentSkeleton']();return{'unitId':_0x2d6e0b[_0x1a2acf(0x2a0)](),'sheetId':(_0x3a236a==null?void 0x0:_0x3a236a[_0x1a2acf(0x114)]())||'','skeleton':_0x25d733};}[_0x357959(0x2a2)](){const _0x5c204d=_0x357959,_0xd9cf91=this[_0x5c204d(0x1a0)][_0x5c204d(0x2e2)]()['getUnitId'](),_0x5ef7ef=this[_0x5c204d(0x177)][_0x5c204d(0x187)](_0xd9cf91);return _0x5ef7ef?{'openUnitId':_0x5ef7ef['getOpenForSheetUnitId'](),'openSheetId':_0x5ef7ef[_0x5c204d(0x3fb)]()}:{'openUnitId':null,'openSheetId':null};}[_0x357959(0x363)](_0x41a9a9){const _0x5e659a=_0x357959;let _0x25f25f='',_0x1fcfdc='';const {unitId:_0x456123,sheetId:_0x252350}=_0x41a9a9['range'],{openUnitId:_0x290874,openSheetId:_0x3c4363}=this['_getEditorOpenedForSheet']();_0x456123!==_0x290874&&_0x456123&&(_0x25f25f=_0x456123),_0x252350!==_0x3c4363&&_0x456123&&_0x252350&&(_0x1fcfdc=this['_getSheetNameById'](_0x456123,_0x252350));const {range:_0x28b090,primary:_0x136b10}=_0x41a9a9;let {startRow:_0x5132d6,endRow:_0x1da9a4,startColumn:_0x196819,endColumn:_0x2899f6}=_0x28b090;const {startAbsoluteRefType:_0x50984c,endAbsoluteRefType:_0x4607e1,rangeType:_0x343be9}=_0x28b090;if(_0x136b10){const {isMerged:_0x52e8d8,isMergedMainCell:_0x1ee557,startRow:_0x58bb41,endRow:_0x4b3acb,startColumn:_0x51f77b,endColumn:_0x43834e}=_0x136b10;(_0x52e8d8||_0x1ee557)&&_0x58bb41===_0x5132d6&&_0x51f77b===_0x196819&&_0x4b3acb===_0x1da9a4&&_0x43834e===_0x2899f6&&(_0x5132d6=_0x58bb41,_0x196819=_0x51f77b,_0x1da9a4=_0x58bb41,_0x2899f6=_0x51f77b);}return _0x4b6226[_0x5e659a(0x192)]({'sheetName':_0x1fcfdc,'unitId':_0x25f25f,'range':{'startRow':_0x5132d6,'endRow':_0x1da9a4,'startColumn':_0x196819,'endColumn':_0x2899f6,'rangeType':_0x343be9,'startAbsoluteRefType':_0x50984c,'endAbsoluteRefType':_0x4607e1}});}[_0x357959(0x259)](_0x53ffb1,_0x39e314,_0x2c4b69,_0x383cc3=!0x0,_0x1409fe=!0x0){const _0x188ca9=_0x357959;let _0x9c5f0f=_0x4b6226['generateStringWithSequence'](_0x53ffb1);const {textRuns:_0x12e96f,refSelections:_0x92397a}=this[_0x188ca9(0x27c)](_0x53ffb1);this[_0x188ca9(0x227)]=_0x92397a,this[_0x188ca9(0x3e8)][_0x188ca9(0x1d3)](_0x215642=>this[_0x188ca9(0xe4)](_0x215642,this[_0x188ca9(0x227)]));const _0x56cd8b=this['_docSelectionManagerService']['getActiveTextRange']();if(_0x56cd8b==null)return;this['_currentInsertRefStringIndex']=_0x39e314,_0x2c4b69==null&&(_0x2c4b69=this[_0x188ca9(0x1a0)][_0x188ca9(0x2e2)]()[_0x188ca9(0x2a0)]()),this[_0x188ca9(0x391)]();const _0x3e0d3e=this[_0x188ca9(0x177)][_0x188ca9(0x187)](_0x2c4b69);_0x3e0d3e!=null&&_0x3e0d3e['isSingleChoice']()?(_0x9c5f0f=_0x9c5f0f['split'](',')[0x0],this[_0x188ca9(0x211)][_0x188ca9(0x166)](!0x0)):this['_selectionRenderService'][_0x188ca9(0x166)](!0x1);let _0x434419=_0x9c5f0f,_0x3a72da=0x1;(!_0x3e0d3e||!_0x3e0d3e['onlyInputRange']())&&(_0x434419=''+_0x4b6226[_0x188ca9(0x40d)]['EQUALS']+_0x9c5f0f,_0x3a72da=0x0);const {collapsed:_0x3d6f6f,style:_0x18d8aa}=_0x56cd8b;_0x383cc3?(this[_0x188ca9(0x301)][_0x188ca9(0x3ea)](_0x475155['ReplaceContentCommand']['id'],{'unitId':_0x2c4b69,'body':{'dataStream':_0x434419,'textRuns':_0x12e96f},'textRanges':[{'startOffset':_0x39e314+0x1-_0x3a72da,'endOffset':_0x39e314+0x1-_0x3a72da,'collapsed':_0x3d6f6f,'style':_0x18d8aa}],'segmentId':null,'options':{'fromSelection':_0x1409fe}}),this['_docSelectionManagerService'][_0x188ca9(0x2c5)]([{'startOffset':_0x39e314+0x1-_0x3a72da,'endOffset':_0x39e314+0x1-_0x3a72da,'style':_0x18d8aa}],!0x0,{'fromSelection':_0x1409fe})):(this[_0x188ca9(0x11c)](_0x434419+'\x0d\x0a',_0x12e96f),this['_docSelectionManagerService'][_0x188ca9(0x2c5)]([{'startOffset':_0x39e314+0x1-_0x3a72da,'endOffset':_0x39e314+0x1-_0x3a72da,'style':_0x18d8aa}],!0x0,{'fromSelection':_0x1409fe})),this[_0x188ca9(0x1af)][_0x188ca9(0x361)]();}[_0x357959(0x391)](){const _0x3b1e58=_0x357959,_0x7a156=this[_0x3b1e58(0x1a0)][_0x3b1e58(0x2e2)]()[_0x3b1e58(0x2a0)]();this[_0x3b1e58(0x177)][_0x3b1e58(0x3a5)](_0x7a156)&&!this[_0x3b1e58(0x177)]['isSheetEditor'](_0x7a156)||this[_0x3b1e58(0x301)]['executeCommand'](_0x26b696['SetEditorResizeOperation']['id'],{'unitId':_0x7a156});}[_0x357959(0x11c)](_0x19e6b1,_0x23853d){const _0x45059d=_0x357959;var _0x562d00;const _0xc88759=this[_0x45059d(0x1a0)][_0x45059d(0x2e2)](),_0x38281f=_0xc88759[_0x45059d(0x2a0)]();if(!this['_editorService']['isEditor'](_0x38281f))return;const _0x384e6e=(_0x562d00=this[_0x45059d(0x3b3)][_0x45059d(0x3f9)](_0x38281f))==null?void 0x0:_0x562d00[_0x45059d(0x34f)](_0x17db01['DocSkeletonManagerService'])[_0x45059d(0x3b1)]();if(_0x384e6e==null||_0xc88759==null)return;const _0x57b465=_0xc88759==null?void 0x0:_0xc88759['getSnapshot']();if(_0x57b465==null)return;const _0x1e052f={'dataStream':_0x19e6b1,'textRuns':_0x23853d};_0x57b465[_0x45059d(0x3e9)]=_0x1e052f,_0x384e6e[_0x45059d(0x294)](_0xc88759);}[_0x357959(0x3e0)](_0x1046c8){const _0x19a0bb=_0x357959;this[_0x19a0bb(0x390)]==null&&(this[_0x19a0bb(0x390)]=this[_0x19a0bb(0x1dd)]['getSequenceNodes']()),this['_previousInsertRefStringIndex']==null&&(this[_0x19a0bb(0x18b)]=this[_0x19a0bb(0x419)]);const _0x53f49c=_0xe425a9['Tools'][_0x19a0bb(0x105)](this[_0x19a0bb(0x390)]);if(_0x53f49c==null)return;const _0xe9d668=this[_0x19a0bb(0x363)](_0x1046c8);this[_0x19a0bb(0x1dd)][_0x19a0bb(0x329)](_0x53f49c),this[_0x19a0bb(0x1dd)][_0x19a0bb(0x15b)](this['_previousInsertRefStringIndex'],_0xe9d668),this[_0x19a0bb(0x259)](_0x53f49c,this[_0x19a0bb(0x18b)]+_0xe9d668[_0x19a0bb(0x2d9)]);const _0xbd7c4f=this[_0x19a0bb(0x211)]['getSelectionDataWithStyle']();this[_0x19a0bb(0x19d)]=[],_0xbd7c4f[_0x19a0bb(0x1d3)](_0x3726f5=>{const _0x10e9f9=_0x19a0bb,_0x3b6c09=_0x282719[_0x10e9f9(0x1ee)](_0x3726f5);this[_0x10e9f9(0x19d)][_0x10e9f9(0x3ef)](_0x3b6c09);});}[_0x357959(0x433)](_0x4ddcf3){const _0x2746d9=_0x357959,_0x2f13d2=this[_0x2746d9(0x177)][_0x2746d9(0x19a)]();return!_0x2f13d2||!_0x2f13d2[_0x2746d9(0x39c)]()||this[_0x2746d9(0x29a)]||_0x4ddcf3>0x1||this[_0x2746d9(0x390)]!=null&&this[_0x2746d9(0x390)]['length']>0x0?!0x0:(this[_0x2746d9(0x18b)]!=null&&(this['_previousInsertRefStringIndex']+=0x1),!0x1);}[_0x357959(0x2ea)](_0x269c87){const _0xe31e2f=_0x357959,_0x1d9fec=this['_editorService'][_0xe31e2f(0x19a)]();_0x1d9fec&&_0x1d9fec[_0xe31e2f(0x39c)]()&&(_0x269c87>0x1||this[_0xe31e2f(0x29a)]&&(this[_0xe31e2f(0x1dd)][_0xe31e2f(0x150)](),this['_previousRangesCount']=0x0,this[_0xe31e2f(0x29a)]=!0x1));}[_0x357959(0xe4)](_0x351f37,_0x4c9122){const _0x1b75dd=_0x357959,_0x73356c=_0x351f37['getSelectionControls'](),[_0x3429ef,_0x2b34d5]=_0x351f37[_0x1b75dd(0x1ca)](),_0x1b36fa=new Set();for(let _0x262496=0x0,_0x1376fa=_0x4c9122[_0x1b75dd(0x2d9)];_0x262496<_0x1376fa;_0x262496++){const _0x29b899=_0x4c9122[_0x262496],{refIndex:_0x14574f,themeColor:_0x331926,token:_0x335bf2}=_0x29b899,_0x48e6d0=_0x4b6226['deserializeRangeWithSheet'](_0x335bf2),{unitId:_0x29857b,sheetName:_0x2ce1ac,range:_0x1cfc6c}=_0x48e6d0;if(!_0x29857b&&_0x29857b[_0x1b75dd(0x2d9)]>0x0&&_0x3429ef!==_0x29857b)continue;const _0x39b8b6=this[_0x1b75dd(0x29d)](_0x3429ef,_0x2ce1ac[_0x1b75dd(0x44f)]());if(_0x39b8b6&&_0x39b8b6!==_0x2b34d5)continue;const _0x485860=_0x73356c['find'](_0x199390=>{const _0xc1a78a=_0x1b75dd,{startRow:_0x5b7488,startColumn:_0x3c3a7c,endRow:_0x36c150,endColumn:_0xfe9f1a,rangeType:_0x10d5bb}=_0x199390[_0xc1a78a(0x3d1)]();return _0x10d5bb===_0xe425a9[_0xc1a78a(0x2e4)][_0xc1a78a(0x430)]&&_0x3c3a7c===_0x1cfc6c[_0xc1a78a(0x178)]&&_0xfe9f1a===_0x1cfc6c[_0xc1a78a(0x33a)]||_0x10d5bb===_0xe425a9[_0xc1a78a(0x2e4)][_0xc1a78a(0x2fe)]&&_0x5b7488===_0x1cfc6c[_0xc1a78a(0x24a)]&&_0x36c150===_0x1cfc6c[_0xc1a78a(0x1a6)]||_0x5b7488===_0x1cfc6c[_0xc1a78a(0x24a)]&&_0x3c3a7c===_0x1cfc6c[_0xc1a78a(0x178)]&&_0x36c150===_0x1cfc6c['endRow']&&_0xfe9f1a===_0x1cfc6c[_0xc1a78a(0x33a)]||_0x5b7488===_0x1cfc6c[_0xc1a78a(0x24a)]&&_0x3c3a7c===_0x1cfc6c[_0xc1a78a(0x178)]&&_0x1cfc6c['startRow']===_0x1cfc6c['endRow']&&_0x1cfc6c[_0xc1a78a(0x178)]===_0x1cfc6c['endColumn'];});if(_0x485860){const _0x538793=_0x7fa1a0(this['_themeService'],_0x331926,_0x14574f[_0x1b75dd(0x323)]());_0x485860[_0x1b75dd(0xed)](_0x538793),_0x1b36fa['add'](_0x485860);}}}[_0x357959(0xfe)](_0x6f78e5,_0x45c2f0){const _0x1a2eaa=_0x357959;var _0xccf124;const {skeleton:_0x50433d}=this[_0x1a2eaa(0x1aa)]();this[_0x1a2eaa(0x1dd)][_0x1a2eaa(0xd8)]();const _0x859d05=(_0xccf124=_0x45c2f0[_0x1a2eaa(0x335)])==null?void 0x0:_0xccf124['id'];if(!_0x859d05||!_0xe425a9[_0x1a2eaa(0xe0)][_0x1a2eaa(0x1eb)](_0x859d05))return;let {startRow:_0x1b6be6,endRow:_0x418fee,startColumn:_0x4c41f5,endColumn:_0x398545}=_0x6f78e5;const _0x519da5=_0x50433d?_0x50433d[_0x1a2eaa(0x188)][_0x1a2eaa(0x1cb)](_0x1b6be6,_0x4c41f5):{'actualRow':_0x1b6be6,'actualColumn':_0x4c41f5,'isMergedMainCell':!0x1,'isMerged':!0x1,'endRow':_0x1b6be6,'endColumn':_0x4c41f5,'startRow':_0x1b6be6,'startColumn':_0x4c41f5};if(_0x519da5){const {isMerged:_0x4b2c4f,isMergedMainCell:_0x4635db,startRow:_0xbe3057,endRow:_0x30dc7b,startColumn:_0x21d660,endColumn:_0x473c95}=_0x519da5;(_0x4b2c4f||_0x4635db)&&_0xbe3057===_0x1b6be6&&_0x21d660===_0x4c41f5&&_0x30dc7b===_0x418fee&&_0x473c95===_0x398545&&(_0x1b6be6=_0xbe3057,_0x4c41f5=_0x21d660,_0x418fee=_0xbe3057,_0x398545=_0x21d660);}const _0x3730f0=Number(_0x859d05),_0x49fed0=this[_0x1a2eaa(0x1dd)][_0x1a2eaa(0xe5)](_0x3730f0);let _0x346d63={'startAbsoluteRefType':_0xe425a9[_0x1a2eaa(0x3cc)][_0x1a2eaa(0x10c)]};if(typeof _0x49fed0!=_0x1a2eaa(0x3c9)){const _0x3c6193=_0x49fed0[_0x1a2eaa(0x41b)];_0x346d63=_0x4b6226['getAbsoluteRefTypeWitString'](_0x3c6193),_0x346d63['endAbsoluteRefType']==null&&(_0x346d63[_0x1a2eaa(0x2f7)]=_0x346d63[_0x1a2eaa(0x149)]);}const _0x7ff51e=_0x50433d==null?void 0x0:_0x50433d[_0x1a2eaa(0x188)][_0x1a2eaa(0x2a0)](),_0x4d18d7=_0x50433d==null?void 0x0:_0x50433d[_0x1a2eaa(0x188)][_0x1a2eaa(0x114)](),_0x477c26=this[_0x1a2eaa(0x363)]({'range':{'startRow':Math[_0x1a2eaa(0x431)](_0x1b6be6,_0x418fee),'endRow':Math['max'](_0x1b6be6,_0x418fee),'startColumn':Math['min'](_0x4c41f5,_0x398545),'endColumn':Math['max'](_0x4c41f5,_0x398545),..._0x346d63,'sheetId':_0x4d18d7,'unitId':_0x7ff51e},'primary':_0x519da5,'style':null});this[_0x1a2eaa(0x1dd)][_0x1a2eaa(0x370)](_0x3730f0,_0x477c26);const _0x375b74=this[_0x1a2eaa(0x1dd)][_0x1a2eaa(0x2ed)](),_0xe59c9f=_0x375b74[_0x3730f0];typeof _0xe59c9f!=_0x1a2eaa(0x3c9)&&(this['_syncToEditor'](_0x375b74,_0xe59c9f[_0x1a2eaa(0xfd)]+0x1),_0x45c2f0[_0x1a2eaa(0x29c)](_0x6f78e5,void 0x0,void 0x0,void 0x0,this[_0x1a2eaa(0x211)]['attachPrimaryWithCoord'](_0x519da5)));}[_0x357959(0x235)](_0xf2dd72){const _0x415c2e=_0x357959;var _0x2c050;for(const _0x585c1c of _0xf2dd72){const _0x522d41=_0x4ad090[_0x415c2e(0x1d0)](_0x585c1c,this[_0x415c2e(0x3b3)]),_0xfa007b=_0x522d41==null?void 0x0:_0x522d41[_0x415c2e(0xd1)];_0xfa007b!=null&&((_0x2c050=_0xfa007b[_0x415c2e(0x234)]())==null||_0x2c050[_0x415c2e(0x3be)](),_0xfa007b['makeDirty']());}}[_0x357959(0x22d)](){const _0x550ccc=_0x357959,_0x31b10c=this['_getEditorObject']();if(_0x31b10c==null)return;const {mainComponent:_0x11ac0b}=_0x31b10c;_0x11ac0b&&this[_0x550ccc(0x14c)](_0x11ac0b[_0x550ccc(0x290)][_0x550ccc(0x375)](()=>{const _0xb30dcf=_0x550ccc;this[_0xb30dcf(0x312)]=0x1,this['_inputPanelState']=0x3;}));}[_0x357959(0x2c3)](_0x117f5a){const _0xff33b9=_0x357959,{keycode:_0x49fcec,isSingleEditor:isSingleEditor=!0x1}=_0x117f5a;if(this['_formulaPromptService'][_0xff33b9(0x362)]()){this[_0xff33b9(0x1dd)][_0xff33b9(0x23a)](!0x0);return;}isSingleEditor!==!0x0&&this[_0xff33b9(0x36e)][_0xff33b9(0x3ba)]({'visible':!0x1,'eventType':_0x2d766b[_0xff33b9(0x3ab)]['Keyboard'],'keycode':_0x49fcec,'unitId':''});}[_0x357959(0x173)](_0x2c6f97){const _0x59f11e=_0x357959,{keycode:_0x3a92bc,isSingleEditor:isSingleEditor=!0x1}=_0x2c6f97;if(this[_0x59f11e(0x1dd)][_0x59f11e(0x362)]()){this[_0x59f11e(0x1dd)][_0x59f11e(0x23a)](!0x0);return;}isSingleEditor!==!0x0&&this['_editorBridgeService'][_0x59f11e(0x3ba)]({'visible':!0x1,'eventType':_0x2d766b[_0x59f11e(0x3ab)][_0x59f11e(0x359)],'keycode':_0x3a92bc,'unitId':''});}['_pressEsc'](_0x161a54){const _0x459383=_0x357959,{keycode:_0x440b24}=_0x161a54,_0x4927fb=this[_0x459383(0x177)][_0x459383(0x19a)]();(!_0x4927fb||(_0x4927fb==null?void 0x0:_0x4927fb[_0x459383(0x107)]())===!0x0)&&this[_0x459383(0x36e)][_0x459383(0x3ba)]({'visible':!0x1,'eventType':_0x2d766b[_0x459383(0x3ab)][_0x459383(0x359)],'keycode':_0x440b24,'unitId':''});}[_0x357959(0x1e6)](_0x288384){const _0x628bf5=_0x357959,{keycode:_0x2ea366,metaKey:_0x5073ca}=_0x288384;let _0x319270=_0xe425a9['Direction'][_0x628bf5(0x3a9)];_0x2ea366===_0x26b696[_0x628bf5(0x1a7)]['ARROW_DOWN']?_0x319270=_0xe425a9[_0x628bf5(0x21c)][_0x628bf5(0x3a9)]:_0x2ea366===_0x26b696[_0x628bf5(0x1a7)]['ARROW_UP']?_0x319270=_0xe425a9[_0x628bf5(0x21c)]['UP']:_0x2ea366===_0x26b696[_0x628bf5(0x1a7)]['ARROW_LEFT']?_0x319270=_0xe425a9['Direction']['LEFT']:_0x2ea366===_0x26b696[_0x628bf5(0x1a7)][_0x628bf5(0x448)]&&(_0x319270=_0xe425a9[_0x628bf5(0x21c)][_0x628bf5(0x253)]),_0x5073ca===_0x26b696[_0x628bf5(0x3db)][_0x628bf5(0x255)]?this[_0x628bf5(0x301)]['executeCommand'](_0x4ad090[_0x628bf5(0x217)]['id'],{'direction':_0x319270,'jumpOver':_0x4ad090[_0x628bf5(0x3a0)][_0x628bf5(0x115)]}):_0x5073ca===_0x26b696[_0x628bf5(0x3db)][_0x628bf5(0x106)]?this['_commandService']['executeCommand'](_0x4ad090[_0x628bf5(0x306)]['id'],{'direction':_0x319270}):_0x5073ca===_0x5a80d7?this[_0x628bf5(0x301)][_0x628bf5(0x3ea)](_0x4ad090[_0x628bf5(0x306)]['id'],{'direction':_0x319270,'jumpOver':_0x4ad090[_0x628bf5(0x3a0)][_0x628bf5(0x115)]}):this[_0x628bf5(0x301)][_0x628bf5(0x3ea)](_0x4ad090['MoveSelectionCommand']['id'],{'direction':_0x319270});}[_0x357959(0x30a)](){const _0x34ddf5=_0x357959,_0x5165b8=[_0x38df5a['id']];this['disposeWithMe'](this[_0x34ddf5(0x301)]['onCommandExecuted'](_0x516af5=>{const _0x474fbf=_0x34ddf5;if(_0x516af5['id']===_0x53d061['id'])this[_0x474fbf(0x344)]();else{if(_0x5165b8[_0x474fbf(0x222)](_0x516af5['id'])){const _0x52e76b=_0x516af5['params'],{keycode:_0x5a1615,isSingleEditor:isSingleEditor=!0x1}=_0x52e76b;if(_0x5a1615===_0x26b696[_0x474fbf(0x1a7)]['ENTER']){this[_0x474fbf(0x2c3)](_0x52e76b);return;}if(_0x5a1615===_0x26b696[_0x474fbf(0x1a7)][_0x474fbf(0x2d5)]){this[_0x474fbf(0x173)](_0x52e76b);return;}if(_0x5a1615===_0x26b696['KeyCode'][_0x474fbf(0x284)]){this[_0x474fbf(0x441)](_0x52e76b);return;}if(this[_0x474fbf(0x1dd)][_0x474fbf(0x362)]()){if(_0x5a1615===_0x26b696['KeyCode'][_0x474fbf(0x125)]){this[_0x474fbf(0x1dd)]['navigate']({'direction':_0xe425a9[_0x474fbf(0x21c)]['DOWN']});return;}if(_0x5a1615===_0x26b696['KeyCode'][_0x474fbf(0x1f6)]){this[_0x474fbf(0x1dd)][_0x474fbf(0x262)]({'direction':_0xe425a9[_0x474fbf(0x21c)]['UP']});return;}}if(isSingleEditor===!0x0)return;if(this[_0x474fbf(0x312)]===0x1){this['_moveInEditor'](_0x5a1615);return;}if(this[_0x474fbf(0x312)]===0x4){this[_0x474fbf(0x36e)][_0x474fbf(0x3ba)]({'visible':!0x1,'eventType':_0x2d766b[_0x474fbf(0x3ab)][_0x474fbf(0x359)],'keycode':_0x5a1615,'unitId':''});return;}if(this[_0x474fbf(0x312)]===0x2&&(this['_arrowMoveActionState']=0x3),this[_0x474fbf(0x132)][_0x474fbf(0x226)]()[_0x474fbf(0x2d9)]===0x0){const _0x19acad=this[_0x474fbf(0x392)][_0x474fbf(0x20e)]();if(_0x19acad!=null){const _0x38766f=_0xe425a9[_0x474fbf(0xe0)][_0x474fbf(0x105)](_0x19acad);this[_0x474fbf(0x132)][_0x474fbf(0x315)]([_0x38766f]);}}this[_0x474fbf(0x1e6)](_0x52e76b);const _0xe037e6=this[_0x474fbf(0x132)]['getCurrentSelections'](),_0x221da8=_0xe037e6[_0xe037e6[_0x474fbf(0x2d9)]-0x1];this[_0x474fbf(0x3e0)](_0x221da8),this[_0x474fbf(0x332)]();}}}));}['_moveInEditor'](_0x43a731){const _0x3ce10c=_0x357959;if(_0x43a731==null)return;let _0x579c37=_0xe425a9['Direction'][_0x3ce10c(0x1a3)];_0x43a731===_0x26b696['KeyCode'][_0x3ce10c(0x125)]?_0x579c37=_0xe425a9['Direction'][_0x3ce10c(0x3a9)]:_0x43a731===_0x26b696['KeyCode'][_0x3ce10c(0x1f6)]?_0x579c37=_0xe425a9[_0x3ce10c(0x21c)]['UP']:_0x43a731===_0x26b696['KeyCode'][_0x3ce10c(0x448)]&&(_0x579c37=_0xe425a9['Direction'][_0x3ce10c(0x253)]),this[_0x3ce10c(0x301)]['executeCommand'](_0x475155[_0x3ce10c(0x2f9)]['id'],{'direction':_0x579c37});}['_userMouseListener'](){const _0x5c7ac4=_0x357959,_0x72fd8a=this[_0x5c7ac4(0x2e1)]();if(_0x72fd8a==null)return;const {mainComponent:_0x4baffd}=_0x72fd8a;_0x4baffd&&this[_0x5c7ac4(0x14c)](_0x4baffd==null?void 0x0:_0x4baffd[_0x5c7ac4(0x290)][_0x5c7ac4(0x375)](()=>{const _0x2bb0c2=_0x5c7ac4;this[_0x2bb0c2(0xe1)]=!0x0;}));}['_inputFormulaListener'](){const _0x51e54a=_0x357959;this[_0x51e54a(0x14c)](this[_0x51e54a(0x177)][_0x51e54a(0x3fd)][_0x51e54a(0x16e)](_0x2412bd=>{const _0x311a47=_0x51e54a,{formulaString:_0x4bb304,editorUnitId:_0x3eb06d}=_0x2412bd;if(_0x4bb304[_0x311a47(0x427)](0x0,0x1)!==_0x4b6226[_0x311a47(0x40d)][_0x311a47(0x1d1)])return;const {unitId:_0x5b620e}=this[_0x311a47(0x1aa)]();this['_editorBridgeService'][_0x311a47(0x111)]()[_0x311a47(0x156)]===!0x1&&this[_0x311a47(0x36e)][_0x311a47(0x3ba)]({'visible':!0x0,'eventType':_0x2d766b[_0x311a47(0x3ab)][_0x311a47(0x367)],'unitId':_0x5b620e});const _0x1e30a9=this[_0x311a47(0x3f4)][_0x311a47(0x27b)](_0x4bb304)||[];this[_0x311a47(0x1dd)][_0x311a47(0x329)](_0x1e30a9),this[_0x311a47(0x259)](_0x1e30a9,_0x4bb304['length']-0x1,_0x3eb06d,!0x0,!0x1);}));}[_0x357959(0x344)](){const _0x54bb89=_0x357959,_0x2fecca=this[_0x54bb89(0x3a6)][_0x54bb89(0x22c)]();if(_0x2fecca==null)return;const {startOffset:_0x2621c6}=_0x2fecca,_0x5d5b1b=_0x2621c6-0x2,_0x54ec12=this[_0x54bb89(0x1dd)][_0x54bb89(0x13c)](_0x5d5b1b),_0x3c4704=this['_formulaPromptService'][_0x54bb89(0xe5)](_0x54ec12);if(_0x3c4704==null||typeof _0x3c4704==_0x54bb89(0x3c9)||_0x3c4704[_0x54bb89(0x3c3)]!==_0x4b6226['sequenceNodeType'][_0x54bb89(0x261)])return;const _0x43a114=_0x3c4704[_0x54bb89(0x41b)][_0x54bb89(0x129)]('!');let _0xc6f6bd=_0x3c4704[_0x54bb89(0x41b)];_0x43a114[_0x54bb89(0x2d9)]>0x1&&(_0xc6f6bd=_0x43a114[_0x43a114['length']-0x1]);let _0x4baa9e='';for(let _0x14ebb0=0x0,_0x8d68c9=_0x43a114[_0x54bb89(0x2d9)];_0x14ebb0<_0x8d68c9-0x1;_0x14ebb0++)_0x4baa9e+=_0x43a114[_0x14ebb0];let _0x3d7ac5=_0xc6f6bd;if(_0xc6f6bd[_0x54bb89(0x1f8)](_0x4b6226[_0x54bb89(0xe6)][_0x54bb89(0x25b)])>-0x1){if(!this[_0x54bb89(0xe1)])_0x3d7ac5=this[_0x54bb89(0x260)](_0xc6f6bd);else{const _0x373500=_0xc6f6bd[_0x54bb89(0x129)](_0x4b6226[_0x54bb89(0xe6)][_0x54bb89(0x25b)]),_0xad3220=_0x373500[0x0],_0x4826b4=_0x373500[0x1];_0x5d5b1b-_0x3c4704[_0x54bb89(0x22b)]<=_0xad3220[_0x54bb89(0x2d9)]?_0x3d7ac5=this[_0x54bb89(0x135)](_0xad3220)+_0x4b6226[_0x54bb89(0xe6)][_0x54bb89(0x25b)]+_0x4826b4:_0x3d7ac5=_0xad3220+_0x4b6226['matchToken'][_0x54bb89(0x25b)]+this[_0x54bb89(0x135)](_0x4826b4);}}else _0x3d7ac5=this[_0x54bb89(0x135)](_0xc6f6bd);_0x3d7ac5=_0x4baa9e+_0x3d7ac5;const _0x2fa69c=_0x3d7ac5[_0x54bb89(0x2d9)]-_0x3c4704['token'][_0x54bb89(0x2d9)];this['_formulaPromptService'][_0x54bb89(0x370)](_0x54ec12,_0x3d7ac5),this[_0x54bb89(0x259)](this[_0x54bb89(0x1dd)][_0x54bb89(0x2ed)](),_0x5d5b1b+_0x2fa69c+0x1);}['_changeRangeRef'](_0x30e893){const _0x690ace=_0x357959,_0x10b2ec=_0x4b6226[_0x690ace(0x25c)](_0x30e893)[_0x690ace(0x2ff)];let _0x4191a1='';return _0x10b2ec[_0x690ace(0x149)]===_0xe425a9[_0x690ace(0x3cc)][_0x690ace(0x10c)]||_0x10b2ec[_0x690ace(0x149)]==null?(_0x10b2ec[_0x690ace(0x149)]=_0xe425a9[_0x690ace(0x3cc)]['ALL'],_0x10b2ec[_0x690ace(0x2f7)]=_0xe425a9[_0x690ace(0x3cc)][_0x690ace(0x21d)]):(_0x10b2ec['startAbsoluteRefType']=_0xe425a9[_0x690ace(0x3cc)]['NONE'],_0x10b2ec['endAbsoluteRefType']=_0xe425a9[_0x690ace(0x3cc)]['NONE']),_0x4191a1=_0x4b6226[_0x690ace(0x3c1)](_0x10b2ec),_0x4191a1;}[_0x357959(0x135)](_0x163fb4){const _0x19e593=_0x357959,_0x541042=_0x4b6226[_0x19e593(0x25c)](_0x163fb4)[_0x19e593(0x2ff)],_0x28d1a9=_0x541042[_0x19e593(0x149)];let _0x2e8429='';return _0x28d1a9===_0xe425a9['AbsoluteRefType'][_0x19e593(0x10c)]||_0x28d1a9==null?(_0x541042[_0x19e593(0x149)]=_0xe425a9[_0x19e593(0x3cc)]['ALL'],_0x541042[_0x19e593(0x2f7)]=_0xe425a9[_0x19e593(0x3cc)]['ALL']):_0x28d1a9===_0xe425a9[_0x19e593(0x3cc)]['ALL']?(_0x541042[_0x19e593(0x149)]=_0xe425a9[_0x19e593(0x3cc)][_0x19e593(0x2fe)],_0x541042[_0x19e593(0x2f7)]=_0xe425a9[_0x19e593(0x3cc)]['ROW']):_0x28d1a9===_0xe425a9[_0x19e593(0x3cc)][_0x19e593(0x2fe)]?(_0x541042[_0x19e593(0x149)]=_0xe425a9[_0x19e593(0x3cc)][_0x19e593(0x430)],_0x541042[_0x19e593(0x2f7)]=_0xe425a9[_0x19e593(0x3cc)][_0x19e593(0x430)]):(_0x541042['startAbsoluteRefType']=_0xe425a9[_0x19e593(0x3cc)][_0x19e593(0x10c)],_0x541042['endAbsoluteRefType']=_0xe425a9[_0x19e593(0x3cc)][_0x19e593(0x10c)]),_0x2e8429=_0x4b6226[_0x19e593(0x3c1)](_0x541042),_0x2e8429;}[_0x357959(0x2e1)](){const _0x35c708=_0x357959,_0x174186=this[_0x35c708(0x1a0)][_0x35c708(0x2e2)]()[_0x35c708(0x2a0)](),_0x366d52=this[_0x35c708(0x177)]['getEditor'](_0x174186);return _0x366d52==null?void 0x0:_0x366d52[_0x35c708(0xd3)];}['_isFormulaEditorActivated'](){const _0x34d2a2=_0x357959;return this[_0x34d2a2(0x36e)]['isVisible']()['visible']===!0x0||this[_0x34d2a2(0x420)][_0x34d2a2(0x387)](_0xe425a9['FORMULA_EDITOR_ACTIVATED']);}[_0x357959(0x1cd)](_0x5231f2){const _0x26cee3=_0x357959;return _0x5231f2[_0x26cee3(0x107)]()||_0x5231f2[_0x26cee3(0x104)]();}},_0x3d5e2f(_0x44caeb,'PromptController'),_0x44caeb);_0x22fc5d=_0x230da0([_0x2f9abe(0x0,_0xe425a9['ICommandService']),_0x2f9abe(0x1,_0xe425a9[_0x357959(0x399)]),_0x2f9abe(0x2,_0xe425a9[_0x357959(0x1ce)](_0x4ad090[_0x357959(0x452)])),_0x2f9abe(0x3,_0xe425a9['Inject'](_0x1a63ed)),_0x2f9abe(0x4,_0xe425a9[_0x357959(0x1ce)](_0x4b6226[_0x357959(0x34a)])),_0x2f9abe(0x5,_0x2d766b['IRenderManagerService']),_0x2f9abe(0x6,_0xe425a9['Inject'](_0xe425a9[_0x357959(0x2e9)])),_0x2f9abe(0x7,_0xe425a9[_0x357959(0x1ce)](_0x282719[_0x357959(0x2c0)])),_0x2f9abe(0x8,_0x282719['IRefSelectionsService']),_0x2f9abe(0x9,_0xe425a9[_0x357959(0x409)]),_0x2f9abe(0xa,_0xe425a9['Inject'](_0x42f993['IDescriptionService'])),_0x2f9abe(0xb,_0xe425a9[_0x357959(0x1ce)](_0x17db01[_0x357959(0x10d)])),_0x2f9abe(0xc,_0x26b696[_0x357959(0x372)]),_0x2f9abe(0xd,_0x475155['IEditorService']),_0x2f9abe(0xe,_0x26b696[_0x357959(0x376)])],_0x22fc5d);var _0x2f467c=Object[_0x357959(0x412)],_0x14a956=Object[_0x357959(0x27f)],_0x525623=_0x3d5e2f((_0x79fbc4,_0x1f8e89,_0x2c6e30)=>_0x1f8e89 in _0x79fbc4?_0x2f467c(_0x79fbc4,_0x1f8e89,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2c6e30}):_0x79fbc4[_0x1f8e89]=_0x2c6e30,'__defNormalProp'),_0x47f295=_0x3d5e2f((_0x3aa83f,_0x6a8e1b,_0x1693c4,_0x28151a)=>{const _0x2208d9=_0x357959;for(var _0x3adcca=_0x28151a>0x1?void 0x0:_0x28151a?_0x14a956(_0x6a8e1b,_0x1693c4):_0x6a8e1b,_0x332077=_0x3aa83f[_0x2208d9(0x2d9)]-0x1,_0x63304e;_0x332077>=0x0;_0x332077--)(_0x63304e=_0x3aa83f[_0x332077])&&(_0x3adcca=(_0x28151a?_0x63304e(_0x6a8e1b,_0x1693c4,_0x3adcca):_0x63304e(_0x3adcca))||_0x3adcca);return _0x28151a&&_0x3adcca&&_0x2f467c(_0x6a8e1b,_0x1693c4,_0x3adcca),_0x3adcca;},_0x357959(0x1b3)),_0x141e88=_0x3d5e2f((_0x45cb84,_0x5262ac)=>(_0x137fd0,_0x1e618e)=>_0x5262ac(_0x137fd0,_0x1e618e,_0x45cb84),'__decorateParam'),_0x861a4d=_0x3d5e2f((_0x4c2013,_0x426972,_0x3c7f8c)=>_0x525623(_0x4c2013,typeof _0x426972!='symbol'?_0x426972+'':_0x426972,_0x3c7f8c),_0x357959(0x397));_0x41b79f[_0x357959(0x23e)]=(_0x421332=class extends _0xe425a9['Plugin']{constructor(_0x3b1623=_0x11a1ed,_0x17cc93,_0x2ff2f4,_0x599a1d){const _0x118069=_0x357959;super(),this[_0x118069(0x140)]=_0x3b1623,this[_0x118069(0x36c)]=_0x17cc93,this[_0x118069(0x3b3)]=_0x2ff2f4,this[_0x118069(0x2f2)]=_0x599a1d;const {menu:_0x526e0c,..._0x4cc261}=this[_0x118069(0x140)];_0x526e0c&&this[_0x118069(0x2f2)][_0x118069(0x381)](_0x118069(0x2aa),_0x526e0c,{'merge':!0x0}),this[_0x118069(0x2f2)][_0x118069(0x381)](_0x2dd73e,_0x4cc261);}[_0x357959(0x299)](){const _0xa9db4b=_0x357959,_0x4c6041=this[_0xa9db4b(0x36c)];[[_0x1a63ed,{'useClass':_0x369ef7}],[_0x2b2855],[_0x52aa17],[_0x30c5f3],[_0x2cd411],[_0x26197d],[_0x22fc5d]][_0xa9db4b(0x1d3)](_0x1bbc0e=>_0x4c6041[_0xa9db4b(0x350)](_0x1bbc0e));}['onReady'](){const _0x26c1e1=_0x357959;this[_0x26c1e1(0x36c)][_0x26c1e1(0x1e8)](_0x2b2855);}['onRendered'](){const _0xcb455f=_0x357959;[[_0x58f59e],[_0x578075]][_0xcb455f(0x1d3)](_0x3a1623=>{const _0x48076d=_0xcb455f;this[_0x48076d(0x14c)](this['_renderManagerService'][_0x48076d(0xda)](_0xe425a9[_0x48076d(0x239)][_0x48076d(0x1ac)],_0x3a1623));}),this[_0xcb455f(0x36c)][_0xcb455f(0x1e8)](_0x30c5f3),this['_injector'][_0xcb455f(0x1e8)](_0x26197d);}[_0x357959(0x438)](){const _0x42b7aa=_0x357959;this[_0x42b7aa(0x36c)][_0x42b7aa(0x1e8)](_0x52aa17),this[_0x42b7aa(0x36c)][_0x42b7aa(0x1e8)](_0x22fc5d);}},_0x3d5e2f(_0x421332,_0x357959(0x23e)),_0x421332),_0x861a4d(_0x41b79f[_0x357959(0x23e)],_0x357959(0x16a),_0x2a1115),_0x861a4d(_0x41b79f[_0x357959(0x23e)],_0x357959(0x39a),_0xe425a9[_0x357959(0x239)][_0x357959(0x1ac)]),_0x41b79f[_0x357959(0x23e)]=_0x47f295([_0xe425a9['DependentOn'](_0x4b6226[_0x357959(0x281)],_0x42f993[_0x357959(0x144)]),_0x141e88(0x1,_0xe425a9[_0x357959(0x1ce)](_0xe425a9[_0x357959(0x145)])),_0x141e88(0x2,_0x2d766b['IRenderManagerService']),_0x141e88(0x3,_0xe425a9[_0x357959(0x2b2)])],_0x41b79f['UniverSheetsFormulaUIPlugin']),_0x41b79f[_0x357959(0x142)]=_0x4ae58f,_0x41b79f[_0x357959(0xf4)]=_0x4b97be,_0x41b79f[_0x357959(0x1d7)]=_0x3a0b05,_0x41b79f[_0x357959(0x1a9)]=_0x34d7de,_0x41b79f[_0x357959(0x19b)]=_0x53d061,_0x41b79f[_0x357959(0x23b)]=_0x1785d6,_0x41b79f[_0x357959(0x3b8)]=_0x38df5a,_0x41b79f[_0x357959(0x2f3)]=_0x4da2cd,Object[_0x357959(0x412)](_0x41b79f,Symbol[_0x357959(0x26a)],{'value':_0x357959(0x243)});}));
|
package/package.json
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@univerjs/sheets-formula-ui",
|
|
3
|
+
"version": "0.3.0-nightly.202410101606",
|
|
4
|
+
"private": false,
|
|
5
|
+
"author": "DreamNum <developer@univer.ai>",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"funding": {
|
|
8
|
+
"type": "opencollective",
|
|
9
|
+
"url": "https://opencollective.com/univer"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://univer.ai",
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "https://github.com/dream-num/univer"
|
|
15
|
+
},
|
|
16
|
+
"bugs": {
|
|
17
|
+
"url": "https://github.com/dream-num/univer/issues"
|
|
18
|
+
},
|
|
19
|
+
"keywords": [
|
|
20
|
+
"univer"
|
|
21
|
+
],
|
|
22
|
+
"sideEffects": [
|
|
23
|
+
"**/*.css"
|
|
24
|
+
],
|
|
25
|
+
"exports": {
|
|
26
|
+
".": {
|
|
27
|
+
"import": "./lib/es/index.js",
|
|
28
|
+
"require": "./lib/cjs/index.js",
|
|
29
|
+
"types": "./lib/types/index.d.ts"
|
|
30
|
+
},
|
|
31
|
+
"./*": {
|
|
32
|
+
"import": "./lib/es/*",
|
|
33
|
+
"require": "./lib/cjs/*",
|
|
34
|
+
"types": "./lib/types/index.d.ts"
|
|
35
|
+
},
|
|
36
|
+
"./lib/*": "./lib/*",
|
|
37
|
+
"./locale/*": "./lib/locale/*.json"
|
|
38
|
+
},
|
|
39
|
+
"main": "./lib/cjs/index.js",
|
|
40
|
+
"module": "./lib/es/index.js",
|
|
41
|
+
"types": "./lib/types/index.d.ts",
|
|
42
|
+
"publishConfig": {
|
|
43
|
+
"access": "public"
|
|
44
|
+
},
|
|
45
|
+
"directories": {
|
|
46
|
+
"lib": "lib"
|
|
47
|
+
},
|
|
48
|
+
"files": [
|
|
49
|
+
"lib"
|
|
50
|
+
],
|
|
51
|
+
"peerDependencies": {
|
|
52
|
+
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
|
|
53
|
+
"rxjs": ">=7.0.0",
|
|
54
|
+
"@univerjs/core": "0.3.0-nightly.202410101606",
|
|
55
|
+
"@univerjs/docs": "0.3.0-nightly.202410101606",
|
|
56
|
+
"@univerjs/design": "0.3.0-nightly.202410101606",
|
|
57
|
+
"@univerjs/engine-formula": "0.3.0-nightly.202410101606",
|
|
58
|
+
"@univerjs/docs-ui": "0.3.0-nightly.202410101606",
|
|
59
|
+
"@univerjs/sheets": "0.3.0-nightly.202410101606",
|
|
60
|
+
"@univerjs/sheets-formula": "0.3.0-nightly.202410101606",
|
|
61
|
+
"@univerjs/engine-render": "0.3.0-nightly.202410101606",
|
|
62
|
+
"@univerjs/sheets-ui": "0.3.0-nightly.202410101606",
|
|
63
|
+
"@univerjs/ui": "0.3.0-nightly.202410101606"
|
|
64
|
+
},
|
|
65
|
+
"dependencies": {
|
|
66
|
+
"@univerjs/icons": "^0.1.78",
|
|
67
|
+
"@univerjs/core": "0.3.0-nightly.202410101606",
|
|
68
|
+
"@univerjs/design": "0.3.0-nightly.202410101606",
|
|
69
|
+
"@univerjs/docs-ui": "0.3.0-nightly.202410101606",
|
|
70
|
+
"@univerjs/docs": "0.3.0-nightly.202410101606",
|
|
71
|
+
"@univerjs/engine-render": "0.3.0-nightly.202410101606",
|
|
72
|
+
"@univerjs/rpc": "0.3.0-nightly.202410101606",
|
|
73
|
+
"@univerjs/engine-formula": "0.3.0-nightly.202410101606",
|
|
74
|
+
"@univerjs/sheets": "0.3.0-nightly.202410101606",
|
|
75
|
+
"@univerjs/sheets-formula": "0.3.0-nightly.202410101606",
|
|
76
|
+
"@univerjs/ui": "0.3.0-nightly.202410101606",
|
|
77
|
+
"@univerjs/sheets-numfmt": "0.3.0-nightly.202410101606",
|
|
78
|
+
"@univerjs/sheets-ui": "0.3.0-nightly.202410101606"
|
|
79
|
+
},
|
|
80
|
+
"devDependencies": {
|
|
81
|
+
"@types/react": "^18.3.5",
|
|
82
|
+
"@vitejs/plugin-react": "^4.3.1",
|
|
83
|
+
"less": "^4.2.0",
|
|
84
|
+
"react": "18.3.1",
|
|
85
|
+
"rxjs": "^7.8.1",
|
|
86
|
+
"typescript": "^5.6.2",
|
|
87
|
+
"vite": "^5.4.4",
|
|
88
|
+
"vitest": "^2.0.5",
|
|
89
|
+
"@univerjs-infra/shared": "0.3.0"
|
|
90
|
+
},
|
|
91
|
+
"univerSpace": {
|
|
92
|
+
".": {
|
|
93
|
+
"import": "./lib/es/index.js",
|
|
94
|
+
"require": "./lib/cjs/index.js",
|
|
95
|
+
"types": "./lib/types/index.d.ts"
|
|
96
|
+
},
|
|
97
|
+
"./*": {
|
|
98
|
+
"import": "./lib/es/*",
|
|
99
|
+
"require": "./lib/cjs/*",
|
|
100
|
+
"types": "./lib/types/index.d.ts"
|
|
101
|
+
},
|
|
102
|
+
"./lib/*": "./lib/*",
|
|
103
|
+
"./locale/*": "./lib/locale/*.json"
|
|
104
|
+
},
|
|
105
|
+
"scripts": {
|
|
106
|
+
"test": "vitest run",
|
|
107
|
+
"test:watch": "vitest",
|
|
108
|
+
"coverage": "vitest run --coverage",
|
|
109
|
+
"lint:types": "tsc --noEmit",
|
|
110
|
+
"build": "tsc && vite build",
|
|
111
|
+
"sync:cnpm": "cnpm sync"
|
|
112
|
+
}
|
|
113
|
+
}
|