@univerjs-pro/sheets-history-ui 1.0.0-rc.0
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 +22 -0
- package/lib/cjs/index.js +1 -0
- package/lib/cjs/locale/ar-SA.js +1 -0
- package/lib/cjs/locale/ca-ES.js +1 -0
- package/lib/cjs/locale/de-DE.js +1 -0
- package/lib/cjs/locale/en-US.js +1 -0
- package/lib/cjs/locale/es-ES.js +1 -0
- package/lib/cjs/locale/fa-IR.js +1 -0
- package/lib/cjs/locale/fr-FR.js +1 -0
- package/lib/cjs/locale/id-ID.js +1 -0
- package/lib/cjs/locale/it-IT.js +1 -0
- package/lib/cjs/locale/ja-JP.js +1 -0
- package/lib/cjs/locale/ko-KR.js +1 -0
- package/lib/cjs/locale/pl-PL.js +1 -0
- package/lib/cjs/locale/pt-BR.js +1 -0
- package/lib/cjs/locale/ru-RU.js +1 -0
- package/lib/cjs/locale/sk-SK.js +1 -0
- package/lib/cjs/locale/vi-VN.js +1 -0
- package/lib/cjs/locale/zh-CN.js +1 -0
- package/lib/cjs/locale/zh-HK.js +1 -0
- package/lib/cjs/locale/zh-TW.js +1 -0
- package/lib/es/index.js +1 -0
- package/lib/es/locale/ar-SA.js +1 -0
- package/lib/es/locale/ca-ES.js +1 -0
- package/lib/es/locale/de-DE.js +1 -0
- package/lib/es/locale/en-US.js +1 -0
- package/lib/es/locale/es-ES.js +1 -0
- package/lib/es/locale/fa-IR.js +1 -0
- package/lib/es/locale/fr-FR.js +1 -0
- package/lib/es/locale/id-ID.js +1 -0
- package/lib/es/locale/it-IT.js +1 -0
- package/lib/es/locale/ja-JP.js +1 -0
- package/lib/es/locale/ko-KR.js +1 -0
- package/lib/es/locale/pl-PL.js +1 -0
- package/lib/es/locale/pt-BR.js +1 -0
- package/lib/es/locale/ru-RU.js +1 -0
- package/lib/es/locale/sk-SK.js +1 -0
- package/lib/es/locale/vi-VN.js +1 -0
- package/lib/es/locale/zh-CN.js +1 -0
- package/lib/es/locale/zh-HK.js +1 -0
- package/lib/es/locale/zh-TW.js +1 -0
- package/lib/index.css +617 -0
- package/lib/index.js +1 -0
- package/lib/locale/ar-SA.js +1 -0
- package/lib/locale/ca-ES.js +1 -0
- package/lib/locale/de-DE.js +1 -0
- package/lib/locale/en-US.js +1 -0
- package/lib/locale/es-ES.js +1 -0
- package/lib/locale/fa-IR.js +1 -0
- package/lib/locale/fr-FR.js +1 -0
- package/lib/locale/id-ID.js +1 -0
- package/lib/locale/it-IT.js +1 -0
- package/lib/locale/ja-JP.js +1 -0
- package/lib/locale/ko-KR.js +1 -0
- package/lib/locale/pl-PL.js +1 -0
- package/lib/locale/pt-BR.js +1 -0
- package/lib/locale/ru-RU.js +1 -0
- package/lib/locale/sk-SK.js +1 -0
- package/lib/locale/vi-VN.js +1 -0
- package/lib/locale/zh-CN.js +1 -0
- package/lib/locale/zh-HK.js +1 -0
- package/lib/locale/zh-TW.js +1 -0
- package/lib/types/commands/history.operate.d.ts +3 -0
- package/lib/types/config/config.d.ts +55 -0
- package/lib/types/controllers/components.controller.d.ts +5 -0
- package/lib/types/controllers/history-loader.controller.d.ts +26 -0
- package/lib/types/controllers/history-menu.d.ts +4 -0
- package/lib/types/controllers/mobile/components.controller.d.ts +5 -0
- package/lib/types/controllers/mobile-history-loader.controller.d.ts +26 -0
- package/lib/types/controllers/revert-acknowledgement.d.ts +3 -0
- package/lib/types/index.d.ts +5 -0
- package/lib/types/locale/ar-SA.d.ts +3 -0
- package/lib/types/locale/ca-ES.d.ts +3 -0
- package/lib/types/locale/de-DE.d.ts +3 -0
- package/lib/types/locale/en-US.d.ts +157 -0
- package/lib/types/locale/es-ES.d.ts +3 -0
- package/lib/types/locale/fa-IR.d.ts +3 -0
- package/lib/types/locale/fr-FR.d.ts +3 -0
- package/lib/types/locale/id-ID.d.ts +3 -0
- package/lib/types/locale/it-IT.d.ts +3 -0
- package/lib/types/locale/ja-JP.d.ts +3 -0
- package/lib/types/locale/ko-KR.d.ts +3 -0
- package/lib/types/locale/pl-PL.d.ts +3 -0
- package/lib/types/locale/pt-BR.d.ts +3 -0
- package/lib/types/locale/ru-RU.d.ts +3 -0
- package/lib/types/locale/sk-SK.d.ts +3 -0
- package/lib/types/locale/types.d.ts +3 -0
- package/lib/types/locale/vi-VN.d.ts +3 -0
- package/lib/types/locale/zh-CN.d.ts +3 -0
- package/lib/types/locale/zh-HK.d.ts +3 -0
- package/lib/types/locale/zh-TW.d.ts +3 -0
- package/lib/types/menu/schema.d.ts +2 -0
- package/lib/types/mobile-plugin.d.ts +14 -0
- package/lib/types/plugin.d.ts +14 -0
- package/lib/types/services/history-loader.service.d.ts +36 -0
- package/lib/types/services/history-locale.d.ts +5 -0
- package/lib/types/services/history-version-param.d.ts +3 -0
- package/lib/types/services/mobile-history-loader.service.d.ts +35 -0
- package/lib/types/viewer/controllers/disable-state.controller.d.ts +7 -0
- package/lib/types/viewer/controllers/history-manager.controller.d.ts +16 -0
- package/lib/types/viewer/controllers/mobile-history-manager.controller.d.ts +16 -0
- package/lib/types/viewer/controllers/mobile-version-list.controller.d.ts +7 -0
- package/lib/types/viewer/controllers/version-diff.render.controller.d.ts +58 -0
- package/lib/types/viewer/controllers/version-list.controller.d.ts +14 -0
- package/lib/types/viewer/mobile-plugin.d.ts +16 -0
- package/lib/types/viewer/plugin.d.ts +16 -0
- package/lib/types/viewer/services/disable-dialog.service.d.ts +13 -0
- package/lib/types/viewer/services/history-fetch.service.d.ts +106 -0
- package/lib/types/viewer/services/history-manager.service.d.ts +84 -0
- package/lib/types/viewer/services/sheets-history-diff-color.service.d.ts +16 -0
- package/lib/types/viewer/services/version-diff.service.d.ts +89 -0
- package/lib/types/viewer/views/HistoryLoadingMask.d.ts +1 -0
- package/lib/types/viewer/views/HistoryViewHeader.d.ts +1 -0
- package/lib/types/viewer/views/MobileHistoryViewHeader.d.ts +1 -0
- package/lib/types/viewer/views/MobileVersionListPanel.d.ts +1 -0
- package/lib/types/viewer/views/VersionListPanel.d.ts +21 -0
- package/lib/types/viewer/views/all-mutations.d.ts +101 -0
- package/lib/types/viewer/views/shapes/sheet-history-arrow.shape.d.ts +29 -0
- package/lib/types/viewer/views/utils.d.ts +11 -0
- package/lib/umd/index.js +1 -0
- package/lib/umd/locale/ar-SA.js +1 -0
- package/lib/umd/locale/ca-ES.js +1 -0
- package/lib/umd/locale/de-DE.js +1 -0
- package/lib/umd/locale/en-US.js +1 -0
- package/lib/umd/locale/es-ES.js +1 -0
- package/lib/umd/locale/fa-IR.js +1 -0
- package/lib/umd/locale/fr-FR.js +1 -0
- package/lib/umd/locale/id-ID.js +1 -0
- package/lib/umd/locale/it-IT.js +1 -0
- package/lib/umd/locale/ja-JP.js +1 -0
- package/lib/umd/locale/ko-KR.js +1 -0
- package/lib/umd/locale/pl-PL.js +1 -0
- package/lib/umd/locale/pt-BR.js +1 -0
- package/lib/umd/locale/ru-RU.js +1 -0
- package/lib/umd/locale/sk-SK.js +1 -0
- package/lib/umd/locale/vi-VN.js +1 -0
- package/lib/umd/locale/zh-CN.js +1 -0
- package/lib/umd/locale/zh-HK.js +1 -0
- package/lib/umd/locale/zh-TW.js +1 -0
- package/package.json +108 -0
package/README.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# @univerjs-pro/sheets-history-ui
|
|
2
|
+
|
|
3
|
+
Sheets ribbon and UI integration for Univer Pro version history.
|
|
4
|
+
|
|
5
|
+
## History service configuration
|
|
6
|
+
|
|
7
|
+
Configure `historyServerUrl` when registering the plugin after the host's Sheets and collaboration
|
|
8
|
+
plugins. This is the same option used by Docs, Slides, Bases and Boards history UI plugins.
|
|
9
|
+
|
|
10
|
+
```ts
|
|
11
|
+
import { UniverSheetsHistoryUIPlugin } from '@univerjs-pro/sheets-history-ui';
|
|
12
|
+
|
|
13
|
+
univer.registerPlugin(UniverSheetsHistoryUIPlugin, {
|
|
14
|
+
historyServerUrl: '/universer-api/history',
|
|
15
|
+
univerContainerId: 'univer-container',
|
|
16
|
+
});
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
The URL is the prefix for the existing history list, creator and changeset endpoints. This option
|
|
20
|
+
does not change the server API. Both desktop and mobile history viewers use it.
|
|
21
|
+
|
|
22
|
+
If omitted, the default is `/universer-api/history`.
|
package/lib/cjs/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0x2262a8=_0x3275;(function(_0x25c020,_0x1717df){const _0x3bb9ba=_0x3275,_0x2de99f=_0x25c020();while(!![]){try{const _0x1a37ad=parseInt(_0x3bb9ba(0x43c))/0x1+-parseInt(_0x3bb9ba(0x1c3))/0x2*(-parseInt(_0x3bb9ba(0x388))/0x3)+parseInt(_0x3bb9ba(0x1ac))/0x4*(parseInt(_0x3bb9ba(0x200))/0x5)+-parseInt(_0x3bb9ba(0x521))/0x6+-parseInt(_0x3bb9ba(0x215))/0x7+-parseInt(_0x3bb9ba(0x412))/0x8+parseInt(_0x3bb9ba(0x444))/0x9;if(_0x1a37ad===_0x1717df)break;else _0x2de99f['push'](_0x2de99f['shift']());}catch(_0x5204bc){_0x2de99f['push'](_0x2de99f['shift']());}}}(_0x264d,0x1fb71),Object[_0x2262a8(0x482)](exports,Symbol[_0x2262a8(0x41c)],{'value':_0x2262a8(0x571)}));let e=require('@univerjs/core'),t=require('@univerjs/sheets'),n=require('@univerjs-pro/collaboration'),r=require('@univerjs-pro/collaboration-client'),i=require('@univerjs-pro/engine-formula'),a=require('@univerjs-pro/license'),o=require('@univerjs-pro/sheets-chart'),s=require('@univerjs-pro/sheets-chart-ui'),c=require('@univerjs-pro/sheets-pivot'),l=require('@univerjs-pro/sheets-shape'),u=require('@univerjs-pro/sheets-shape-ui'),d=require('@univerjs-pro/sheets-sparkline'),f=require('@univerjs-pro/sheets-sparkline-ui'),p=require('@univerjs/data-validation'),m=require('@univerjs/design'),h=require('@univerjs/docs'),g=require('@univerjs/docs-ui'),_=require('@univerjs/drawing'),v=require('@univerjs/drawing-ui'),y=require('@univerjs/engine-render'),b=require('@univerjs/network'),x=require('@univerjs/rpc'),S=require('@univerjs/sheets-conditional-formatting'),C=require('@univerjs/sheets-conditional-formatting-ui'),w=require('@univerjs/sheets-data-validation'),T=require('@univerjs/sheets-data-validation-ui'),E=require('@univerjs/sheets-drawing'),D=require('@univerjs/sheets-drawing-ui'),O=require('@univerjs/sheets-filter'),k=require('@univerjs/sheets-filter-ui'),A=require('@univerjs/sheets-formula'),ee=require('@univerjs/sheets-formula-ui'),te=require('@univerjs/sheets-hyper-link'),ne=require('@univerjs/sheets-hyper-link-ui'),re=require('@univerjs/sheets-numfmt'),j=require('@univerjs/sheets-table'),M=require('@univerjs/sheets-ui'),N=require('@univerjs/ui'),P=require('rxjs'),F=require('@univerjs/icons'),I=require('react'),L=require('@univerjs/protocol'),R=require('react/jsx-runtime'),z=require('@univerjs-pro/collaboration-client-ui'),ie=require('@univerjs-pro/sheets-history');const B=_0x2262a8(0x398),ae=_0x2262a8(0x1cf),V={'historyPanelComponentKey':ae};function oe(_0xc5d85b){const _0x23f00e=_0x2262a8;return(_0xc5d85b==null?void 0x0:_0xc5d85b['historyServerUrl'])??_0x23f00e(0x1cd);}var se=_0x2262a8(0x287),ce=_0x2262a8(0x4ac);function le(_0x566c43){'@babel/helpers - typeof';const _0x38e121=_0x2262a8;return le=typeof Symbol==_0x38e121(0x4c1)&&typeof Symbol[_0x38e121(0x2cd)]==_0x38e121(0x4ba)?function(_0x42776f){return typeof _0x42776f;}:function(_0x46936c){const _0x3a0e98=_0x38e121;return _0x46936c&&typeof Symbol==_0x3a0e98(0x4c1)&&_0x46936c['constructor']===Symbol&&_0x46936c!==Symbol[_0x3a0e98(0x2a4)]?_0x3a0e98(0x4ba):typeof _0x46936c;},le(_0x566c43);}function ue(_0xcb6033,_0x91ca88){const _0xb76635=_0x2262a8;if(le(_0xcb6033)!=_0xb76635(0x577)||!_0xcb6033)return _0xcb6033;var _0x4f46f8=_0xcb6033[Symbol[_0xb76635(0x4e1)]];if(_0x4f46f8!==void 0x0){var _0xfbbd64=_0x4f46f8['call'](_0xcb6033,_0x91ca88||_0xb76635(0x52d));if(le(_0xfbbd64)!=_0xb76635(0x577))return _0xfbbd64;throw TypeError(_0xb76635(0x497));}return(_0x91ca88===_0xb76635(0x490)?String:Number)(_0xcb6033);}function de(_0x33c6e2){const _0x4a3303=_0x2262a8;var _0x187396=ue(_0x33c6e2,'string');return le(_0x187396)==_0x4a3303(0x4ba)?_0x187396:_0x187396+'';}function _0x264d(){const _0xb9bd55=['WorkbookEditablePermission','univer-flex\x20univer-items-center\x20univer-justify-end\x20univer-gap-2\x20univer-p-2','Comment','versions','_checkCanRevert','getCurrentSkeleton','_updateWorksheetVisibility','UniverSheetSparklinePlugin','_conditionalFormattingRuleModel','getRule','ITransformService','UpdateSheetsShapeTypeMutation','setPivotPosition','univer-ml-1\x20univer-flex\x20univer-flex-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-text-xs\x20univer-text-primary-600','unitId','add','_blinkTimer','dir','format','UpdateFieldPositionMutation','reduce','value','IUniverInstanceService','every','endRow','WorksheetEditPermission','_startBlinking','deleteCellRanges','SetWorksheetRowHeightMutation','keys','_renderCellRanges','filter','IDrawingManagerService','blue.800','key','range','time','moveCF','univer.operation.toggle-edit-history','span','986384VYOIyM','_confirmService','_rangeProtectionRuleModel','UniverCollaborationClientPlugin','_borderDiffs','SheetCollabCursorShape','currentLocale$','UniverSheetSparklineUIPlugin','setDrawingEditable','UniverDrawingPlugin','toStringTag','loaded','Loading','UniverProFormulaEnginePlugin','\x20has\x20been\x20registered.','BehaviorSubject','sheet','syncExecuteCommand','univer-bg-blue-50\x20dark:!univer-bg-gray-900','_renderManagerService','resolve','cellValue','fillStyle','deleteDrawings','UpdateSheetsShapeDataMutation','session','MoveConditionalRuleMutation','ICellEditorManagerService','getUnitId','_diffs','SetWorksheetActivateCommand','CollaborationController','_univerInstanceService','UniverNetworkPlugin','rtl','drawingId','_palette$','position','getCurrentUnitOfType','getCurrentRangeDisable$','_sidebarDisposable','_disposableCollection','170054ZOpvSt','univer-relative\x20univer-h-8','setRowData','_dataValidationModel','hasCommand','updateDrawing','insertCellRanges','BUTTON','1451844eLYtMn','asObservable','univer-h-[60%]','CommandType','_openPanel$','subUnitId','AuthzIoHttpService','data','updateValuePosition','triggerLoadSheet','SetPivotSortMutation','univer-flex\x20univer-w-3\x20univer-items-center\x20univer-justify-center','loading','invoke','UniverSheetsFilterPlugin','_cacheKey','createTime','versions$','rowData','setPivotSort','showText','UniverSheetsHyperLinkUIPlugin','zIndex','SheetsFilterService','creators','highlightColumn','getScrollXYInfoByViewport','_arrowDiffs','sheets-history-ui.viewer.header.back','LS_CONFIG_KEY','_registerLoadingMask','_bindDrawingHighlightHover','fetching$','univer-flex-1\x20univer-overflow-y-auto','pipe','makeDirty','numeric','CreateUnitMutation','updateFieldPosition','createElement','univer-size-4\x20univer-shrink-0','setShapeProps','FloatImg','split','startDateString','end','setFilterCriteria','arrowRowRanges','moveRange','isError','rules','univer-break-all\x20univer-font-medium\x20univer-text-gray-700\x20dark:!univer-text-gray-200','sheets-history-ui.viewer.panel.unknownUser','UniverSheetsDataValidationMobileUIPlugin','absolute','Inject','set','error','setInterval','setTabColor','_openPanel','sheets-history-ui.loader.panel.reverting','defineProperty','addSparkline','HTTPService','HideSheet','appendChild','HEADER','updateCellRanges','WorkbookRenameSheetPermission','_direction','SnapshotServerOverHTTPService','whenReady','scrollToShape','UniverSheetsTablePlugin','ILogService','string','RemoveDataValidationMutation','endRevCreateTime','palette$','DataLoaderService','IAuthzIoService','CHANGESET_ACK','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','SetPivotFilterMutation','deleteRangeProtection','RenameSheet','_findOverlappingShapes','DeleteRangeProtectionMutation','_workbookDataCache','UniverSheetsPivotTablePlugin','AddDataValidationMutation','\x20-\x20','sort','subscribeEvent','currentSkeleton$','subType','cfId','interceptor','WorkbookHideSheetPermission','selectVersion','ThemeService','chartModelId','hide','1.0.0-rc.0','sheets-history-ui.viewer.panel.today','_drawHorizontalArrow','UniverSheetsHistoryMobileUIPlugin','Shape','_isBlinkVisible','RemoveSheetsChartMutation','borderBottomClassName','_lastLabel','InsertColMutation','urlChange$','_sheetSkeletonManagerService','_dialogOptions$','_lastPointer','symbol','memberId','startRev','SetRowHiddenMutation','_drawingManagerService','_applyWorkbookData','SetConditionalRuleMutation','function','_yieldToMain','getColorFromTheme','location','useMemo','_fetching$','ruleIds','_config','color','univer-flex-1','startRevision','fetching','RemoveNumfmtMutation','ToggleGridlinesMutation','link','number','unionPivotViewRange','_registerHeader','useEffect','createSheet','UpdatePivotFieldSourceInfoMutation','[HistoryManagerService]:\x20Failed\x20to\x20load\x20history\x20revision.','_showRevertFailed','getRange','length','takeUntil','SetRangeThemeMutation','setPivotOption','_snapshotServerService','setPivotValueFilter','toDisposable','now','toPrimitive','status','hidden','arrowColumnRanges','updatePivotSource','_highlight','UniverSheetsChartMobileUIPlugin','setSparkline','getSparklineById','rowHeaderWidth','onCommandExecuted','insertChart','sheets-history-ui.viewer.action.revertSheetSuffix','getTableInfo','ReorderRangeMutation','registerComponent','insertDrawings','getPivotTableRangeInfo','IConfirmService','_blinkIntervalTimer','getUnit','endRevision','univer-relative\x20univer-flex-1\x20univer-space-y-2\x20univer-pb-4','viewportScrollX','dispose','allRanges','_updateVersions','take','direction$','categorizeMutationRanges','SetColHiddenMutation','setPivotSubtotalType','boolean','RemoveSheetsShapeMutation','Vector2','state$','ObjectMatrix','sheets-history-ui.viewer.panel.revertConfirm','parse','complete','load','scroll','Button','_localCacheService','findAllRectangle','_updateURLWithCurrentState','getSheetObject','setColData','direction','100%','_initPanel','polite','connectInjector','push','_compressMutationService','univer-absolute\x20univer-left-0\x20univer-top-1/2\x20univer-h-px\x20univer-w-2.5\x20-univer-translate-y-1/2\x20univer-bg-gray-100\x20rtl:univer-left-auto\x20rtl:univer-right-0\x20dark:!univer-bg-gray-800','sheets-history-ui.viewer.panel.cancel','onStarting','getDialogs$','SetPivotSubtotalTypeMutation','getAncestorScale','ILocalCacheService','_scrollToShape','registerCommand','565710nRacaQ','univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','mountHistoryContent','evented','univer-sticky\x20univer-top-0\x20univer-z-10\x20univer-bg-gray-50\x20univer-px-4\x20univer-py-2\x20univer-text-xs\x20univer-font-semibold\x20univer-text-gray-500\x20dark:!univer-bg-gray-900','SetPivotValueFilterMutation','_unitCurrentVersionMap','revertSheet','ruleId','toRgbString','unitID','RemoveSheetSparklineMutation','default','updatePivotFieldSource','all','objects','_collaborationController','bottom','UniverSheetsDrawingPlugin','UniverSheetsPlugin','_sparklineDataSourceModel','packageName','_setVersions','RemoveRangeThemeMutation','SetWorksheetRowAutoHeightMutation','targetRange','UniverDrawingUIPlugin','DeleteSheetTableMutation','closeAll','addPivotTable','setDV','getMutationActionMap','eventID','WorkbookMoveSheetPermission','_renderDrawingHighlights','setNumfmt','univer-flex\x20univer-shrink-0\x20univer-cursor-pointer\x20univer-flex-col\x20univer-items-center\x20univer-py-2','chartId','univer-sticky\x20univer-top-0\x20univer-z-10\x20univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-bg-gray-0\x20dark:!univer-bg-gray-200','dateString','_members','COLUMN','subUnitIds','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-pt-1.5\x20univer-text-sm\x20univer-font-medium','permissionPointUpdate$','commands','dateKit','INSERT','MoreDownIcon','anonymous','RemoveWorksheetMergeMutation','SheetSkeletonManagerService','Edit','setRangeTheme','startColumn','InsertSheetsShapeMutation','renameWorkbook','from','univer-animate-spin','getCurrentLocale','stopPropagation','getSheetId','sheets-history-ui.loader.panel.title','width','Tooltip','getCurrentUnitCurrentVersion','_createPalette','setOffsetY','IRenderManagerService','sheets-history-ui.loader.info.initializing','hideSheet','transform','sparklineConfigMap','hideRow','UniverCollaborationClientUIPlugin','getUnhiddenWorksheets','univer-shrink-0\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-py-0.5\x20univer-text-xs\x20univer-text-primary-600\x20dark:!univer-bg-transparent','Segmented','univer-w-10','univer-absolute\x20univer-flex\x20univer-h-[calc(100%-32px)]\x20univer-w-[calc(100%-16px)]\x20univer-flex-col\x20univer-overflow-auto','Module','MoveRowsMutation','useObservable','UniverSheetsDrawingMobileUIPlugin','renameSheet','transparent','object','SYNCED','clearInterval','setRowHeight','triggerRevert','combineLatest','jsxs','_versions$','some','members','Subject','addPivotField','insert','_injector','_urlService','Univer','reload','arrowColumn','_extractRanges','container','sheets-history-ui.loader.panel.listFetchError','_localeService','disposeWithMe','canRevert','forEach','sheets-history-ui.viewer.panel.filterAi','4VoSAPh','ROW','top','removeChart','univer-size-6\x20univer-animate-spin\x20univer-text-gray-500','_status$','updateDrawings','update','clearTimeout','CollaborationStatus','vertical','setLocale','setPivotFilter','univer-history-container','IUIPartsService','UniverSheetsConditionalFormattingPlugin','_detailVersionsMap','getActiveSheet','setTimeout','refreshRangeProtectPermission','_clearRevertAcknowledgement','includes','SetSheetsFilterCriteriaMutation','4YcPfyW','univer-flex\x20univer-items-center\x20univer-justify-center','removeDV','getAllPlugins','sheets-history-ui.viewer.header.revert','showCol','dispose$','div','startRevCreateTime','drawingIds','/universer-api/history','IURLService','history-panel','block','IImageIoService','FunnelIcon','UniverSheetsFormulaMobileUIPlugin','getHistoryChangesets','UniverUIPlugin','setFilter','abs','_pointerMoveSubscription','rev','univer-px-3\x20univer-py-2\x20univer-text-sm\x20univer-font-semibold','Fragment','sheets-history-ui.viewer.action.removeDrawing','SetPivotPositionMutation','AddConditionalRuleMutation','label','green.800','editSheet','GLOBAL','loadInitialVersions','IconManager','UniverDocsPlugin','revision','SetColDataMutation','setTheme','sheets-history-ui.viewer.panel.currentVersion','has','useState','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-gap-1.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','__getInjector','removeShape','getDataRange','getCurrentVersion','SheetDataValidationModel','UniverSheetsDataValidationPlugin','getMenuHiddenObservable','restore','removeFilter','triggerLoadVersions','getMember','addRangeProtection','show','hideCol','ensureVersion','beginPath','onMouseMove','getLocales','[HistoryLoaderService]:\x20Configure\x20a\x20valid\x20Univer\x20container\x20before\x20opening\x20history.','323655RqiIda','getUnitOnRev','historyUniver$','historyUniver','rule','_sheetTableService','moveRows','Plugin','parseProtocolChangeset','active','ToggleEditHistoryOperation','_hasMore','_updateSubUnitFromURLParams','debounce','highlightRow','SetWorksheetRangeThemeStyleMutation','mergeCells','Workbook','SetFrozenMutation','sheets-history-ui.loader.panel.revertFailed','unknownUser','1093449MufDWL','removePivotTable','pluginName','revertRevision$','univer-min-h-15\x20univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-2\x20univer-rounded-md\x20univer-px-1\x20univer-py-1.5\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800','init','UniverSheetsChartPlugin','_initPlugins','onPointerEnter$','getSheetCommandTarget','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','insertRow','RemovePivotFieldMutation','SetPivotOptionMutation','executeCommand','MoveColsMutation','setWorksheetRangeTheme','SetWorksheetNameMutation','copySheet','_renderBorderRanges','jsx','changesets','univerContainerId','highlight','univer-absolute\x20univer-left-0\x20univer-top-0\x20univer-h-1/2\x20univer-w-px\x20univer-bg-gray-100\x20rtl:univer-left-auto\x20rtl:univer-right-0\x20dark:!univer-bg-gray-800','_versionDiffService','univer-border-t\x20univer-border-gray-200\x20dark:!univer-border-gray-700','Injector','loadMoreVersions','map','YYYY-MM-DD','stringify','_initPointerEvents','AddPivotFieldMutation','none','addProtection','_handleOverlappingShapes','SHEETS_HISTORY_UI_PLUGIN_CONFIG_KEY','ReCalcSheetsFilterMutation','_drawVerticalArrow','exitHistoryMode','setRangeValues','onRendered','UNIVER_SHEET','isTransformMutationsSuccess','historyPanelComponentKey','AddSheetTableMutation','useRef','_historyFetchService','display','UNIVER_UNKNOWN','_httpService','blockMeta','_getActiveSubUnitId','join','SetSheetTableFilterMutation','Info','origin','UniverSheetsFormulaUIPlugin','_currentVersion$','lineTo','_init','ISidebarService','setAlpha','removeCol','currentVersion','pivotTableId','insertSheet','VIEW_MAIN','_unitId$','sheets-history-ui.viewer.action.','SetColVisibleMutation','setGridlinesColor','entered','then','UI_PLUGIN_CONFIG_KEY','updateBorder','exhaustSavingTask','toString','TRUE','getFilterModel','ghost','mutations','getViewport','UniverSheetsDataValidationUIPlugin','_stopBlinking','Disposable','version','onSteady','univer-h-12','getDirection','getConfig','activeSheet$','ErrorCode','ICommandService','removeEventListener','univer-pointer-events-auto\x20univer-flex\x20univer-flex-col\x20univer-rounded-t-2xl\x20univer-bg-gray-0\x20univer-shadow-lg\x20univer-transition-[height]\x20univer-duration-300\x20dark:!univer-bg-gray-950','SetPivotFieldFormatMutation','getVersions','CollaborationEvent','highlightSecond','-detail-','terminate','fetchThroughInterceptors','AddSheetSparklineMutation','stroke','loadHistoryCreatorList','univer-absolute\x20univer-left-0\x20univer-top-0\x20univer-h-full\x20univer-w-px\x20univer-bg-gray-100\x20rtl:univer-left-auto\x20rtl:univer-right-0\x20dark:!univer-bg-gray-800','updateChartSource','RemoveSheetMutation','/cs?startRevision=','univer-mb-0.5\x20univer-flex\x20univer-items-center\x20univer-gap-2','transformMutations','_messageService','@univerjs-pro/sheets-history-ui','shapeId','updatePermissionPoint','BooleanNumber','SetWorksheetDefaultStyleMutation','_updateDiffMarks','fromCollab','BuiltInUIPart','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','decorate','registerRenderModule','recalcFilter','moveCols','updateShapeData','_diffRangesMap','WorkbookViewHistoryPermission','SetWorksheetHideMutation','_sidebarService','setColCount','RemoveSheetsFilterMutation','univer-absolute\x20univer-left-[30px]\x20univer-top-0\x20univer-h-full\x20univer-w-2.5\x20rtl:univer-left-auto\x20rtl:univer-right-[30px]','userIds','scrollToViewportPos','removeAll','tableId','_initContainer','ChartUpdateSourceConfigMutation','clear','DisposableCollection','prototype','children','start','body','FromArray','current','setPivotFieldFormat','_permissionService','SheetTableService','name','status$','_color','disposeUnit','_initUniver','_creators$','SetPivotCollapseMutation','params','sheets-history-ui.viewer.panel.currentUser','UniverLicensePlugin','ISnapshotServerService','showRow','IPermissionService','_initListener','setPivotCollapse','univer-flex\x20univer-items-center\x20univer-gap-2','openPanel$','SetRowDataMutation','ranges','sheets-history-ui.viewer.panel.filterCollaboratorCancel','SetWorksheetProtectionMutation','isSheetHidden','moveTo','DeleteWorksheetProtectionMutation','sheets-history-ui.viewer.panel.revertConfirmText','max','SheetsPivotTableConfigModel','get','UpdateValuePositionMutation','_revertAcknowledgementSubscription','RangeProtectionPermissionEditPoint','CopyWorksheetEndMutation','iterator','UniverSheetsHyperLinkMobileUIPlugin','SetWorksheetColWidthMutation','_dataLoaderService','unmergeCells','scene','DeleteConditionalRuleMutation','_commandService','getSelectedVersionCanRevert','updateTable','sheets-history-ui.viewer.info.loading','_sheetsChartService','MessageType','sheetId','getParam','SetWorkbookNameMutation','_combineRanges','_initRender','insertBorderRanges','UnitAction','register','columnHeaderHeight','createUnit','setColWidth','clsx','univer-h-1\x20univer-w-10\x20univer-rounded-full\x20univer-bg-gray-300\x20dark:!univer-bg-gray-600','_initActiveSwitch','InsertSheetMutation','deleteWorksheetRangeTheme','_context','_configService','DeleteWorksheetRangeThemeStyleMutation','groupIds','SetWorksheetActiveOperation','currentTheme$','SheetsChartService','addEventListener','exited','_setupSubUnitSync','UniverMobileUIPlugin','setTableFilter','RemoveRowMutation','LocaleService','getSheetBySheetId','transformByState','LoadingMultiIcon','deleteProtection','[HistoryFetchService]:\x20request\x20snapshot\x20error!','univer-size-4','strokeStyle','RevertRevisionMutation','_logService','Failed\x20to\x20fetch\x20version\x20details:','row','timeout','_selectionProtectionRuleModel','reorderRange','UpdateDataValidationMutation','SetTabColorMutation','loadingState','univer.operation.exit-edit-history','Dropdown','sourceRange','DrawingApplyType','height','deleteBorderRanges','primary','merge','AddPivotTableMutation','UniverSheetsUIPlugin','univer-flex\x20univer-items-center\x20univer-gap-3\x20univer-border-b\x20univer-border-gray-100\x20univer-px-4\x20univer-py-3\x20dark:!univer-border-gray-800','SetNumfmtMutation','SetWorksheetRowIsAutoHeightMutation','recoverTime','SetSheetSparklineMutation','setCF','setDarkMode','triggerCustomVersions','onPointerMove$','reorderSheet','getVersion','flatMap','UniverSheetsFilterUIPlugin','useDependency','tag','getRuleById','AddRangeProtectionMutation','column','UniverSheetsShapePlugin','horizontal','updateBorderRanges','_cellEditorManagerService','SetWorksheetRowCountMutation','Error','insertShape','menu','getCoordRelativeToViewport','SetRowVisibleMutation','sheets-history-ui.viewer.panel.listFetchError','event$','addTable','reverse','DependentOn','getCoordByCell','_syncViewerServices','setRowCount','endRev','_transformService','RangeProtectionRuleModel','userID','getSubUnitId','CollaborationImageIoService','IConfigService','switchMap','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','SetRangeValuesMutation','UniverDrawingMobileUIPlugin','OPERATION','_uiPartsService','next','currentVersionDiff$','_historyUniver$','getInterceptPoints','_handleRevertAcknowledgement','UniverSheetsHistoryUIPlugin','_renderArrowRanges','_canRevert','_themeService','RibbonStartGroup','workerURL','formatIntl','values','unMountHistoryContent','type','MoveSheet','historyPanelHidden','getSheets','UniverDataValidationPlugin','MoveRangeMutation','deleteCF','sheets-history-ui.viewer.panel.filterAll','univer-flex\x20univer-size-5\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center','SetWorksheetRightToLeftMutation','_diffColorService','catch','startRow','UniverInstanceType','m1Prime','insertCol','delete','IMessageService','mergeMenu','_highlightSecond','subunit','WorkbookRecoverHistoryPermission','hasMore','UniverRenderEnginePlugin','univer-truncate\x20univer-text-xs\x20univer-text-gray-500\x20dark:!univer-text-gray-400','_currentVersionDiff$','SetWorksheetColumnCountMutation','SheetPermissionInitController','save','closePath','viewportScrollY','_internalWebWorker','UniverSheetsNumfmtPlugin','getCollabEntity','_removeDiffMarks','univer-mt-1\x20univer-text-xs\x20univer-text-gray-500','code','IMenuManagerService','sheets-history-ui.viewer.panel.confirm','ChartUpdateConfigMutation','Rect','unitId$','_loadingState$','UniverSheetSparklineMobileUIPlugin','_revertRevision$','univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-gap-1','addRangeTheme','setRowAutoHeight','unsubscribe','setConfig','sheets-history-ui.viewer.panel.aiAssistant','_setFetching','_createStyle','setRightToLeft','161391pmdzRi','getDeserializedSheetBlock','composePermission','UniverSheetsMobileUIPlugin','SetSheetTableMutation','UniverRPCMainThreadPlugin','setRangeProtection','small','SetSheetsFilterRangeMutation','sheets-history-ui.viewer.panel.title','_categorizeMutationRanges','users','insertBorder','registerPlugin','lastLabel','_draw','sheets-history-ui.config','UNIVER_SHEETS_HISTORY_UI_PLUGIN','additionalFields','style','UniverSheetsFormulaPlugin','univer-max-h-[300px]\x20univer-overflow-y-auto\x20univer-py-1','CONTENT','REMOVE','columnData','creators$','UpdatePivotTableSourceRangeMutation','userId','_createDrawingHighlight','lineWidth','RenamePivotFieldMutation','isArray','fill','InsertRowMutation','_dialogService','true','getMatrix','subscribe','UniverSheetsHyperLinkPlugin','[HistoryLoaderService]:\x20Plugin\x20','-drawing-','SetWorksheetPermissionPointsMutation','sheets-history-ui.viewer.panel.filterCollaborator','_sheetsPivotTableConfigModel','_sheetsFilterService','_pluginMap','UniverCollaborationPlugin','renamePivotField','setDirection','open','loadSheet','action','setPermissionPoints','RestoreIcon','registerDetailVersion','IRemoteInstanceService','permissionId','skip','confirm-revert-revision','AddWorksheetProtectionMutation','date','flat','AddWorksheetMergeMutation','removeSparkline','UniverSheetsConditionalFormattingUIPlugin','fetchCreatorList','UniverDocsUIPlugin','loadingState$','RxDisposable','2-digit','sparklines','RANGE_TYPE','parent','univer-truncate\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-800\x20dark:!univer-text-gray-200','_getAPIPrefix','UNIVER_SHEETS_HISTORY_VIEWER_PLUGIN','IDialogService','_transformMutationByOrder','currentVersion$','sheets-history-ui.viewer.action.revertSheetPrefix','close','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center\x20univer-justify-between\x20univer-px-3','getDrawingByParam','_historyManagerService','forValue','UniverSheetsHistoryPlugin','darkMode$','command','_menuManagerService','_getLabelHorizontalPosition','useCallback','setState','COMPRESS_MUTATION_APPLY','left','deleteBorder','_setWorksheetVisibility','rangeInfo','getElementById'];_0x264d=function(){return _0xb9bd55;};return _0x264d();}function H(_0x12aab2,_0x15e7c9,_0x36c99a){const _0x4ccabe=_0x2262a8;return(_0x15e7c9=de(_0x15e7c9))in _0x12aab2?Object[_0x4ccabe(0x482)](_0x12aab2,_0x15e7c9,{'value':_0x36c99a,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x12aab2[_0x15e7c9]=_0x36c99a,_0x12aab2;}function U(_0x129e3e,_0x3cf645){return function(_0x4108a3,_0x531d7c){_0x3cf645(_0x4108a3,_0x531d7c,_0x129e3e);};}function W(_0x55b5aa,_0x1cb0be,_0x386c2b,_0x2ad30f){const _0x5208b1=_0x2262a8;var _0x2c5d48=arguments[_0x5208b1(0x4d9)],_0x139934=_0x2c5d48<0x3?_0x1cb0be:_0x2ad30f===null?_0x2ad30f=Object['getOwnPropertyDescriptor'](_0x1cb0be,_0x386c2b):_0x2ad30f,_0x1a1e28;if(typeof Reflect=='object'&&typeof Reflect['decorate']==_0x5208b1(0x4c1))_0x139934=Reflect[_0x5208b1(0x290)](_0x55b5aa,_0x1cb0be,_0x386c2b,_0x2ad30f);else{for(var _0x4c3148=_0x55b5aa[_0x5208b1(0x4d9)]-0x1;_0x4c3148>=0x0;_0x4c3148--)(_0x1a1e28=_0x55b5aa[_0x4c3148])&&(_0x139934=(_0x2c5d48<0x3?_0x1a1e28(_0x139934):_0x2c5d48>0x3?_0x1a1e28(_0x1cb0be,_0x386c2b,_0x139934):_0x1a1e28(_0x1cb0be,_0x386c2b))||_0x139934);}return _0x2c5d48>0x3&&_0x139934&&Object[_0x5208b1(0x482)](_0x1cb0be,_0x386c2b,_0x139934),_0x139934;}let G=class extends e['Disposable']{constructor(_0x48d45d,_0x29b4b8,_0x6b7c0c,_0x23e961,_0x40f2a0,_0x25305d,_0x1945d0,_0x38d929,_0x4084ad){const _0x3d8f71=_0x2262a8;super(),this[_0x3d8f71(0x4dd)]=_0x48d45d,this[_0x3d8f71(0x432)]=_0x29b4b8,this['_commandService']=_0x6b7c0c,this[_0x3d8f71(0x2ab)]=_0x23e961,this[_0x3d8f71(0x4be)]=_0x40f2a0,this['_configService']=_0x25305d,this['_httpService']=_0x1945d0,this[_0x3d8f71(0x517)]=_0x38d929,this['_sheetPermissionInitController']=_0x4084ad,H(this,_0x3d8f71(0x49d),void 0x0),this[_0x3d8f71(0x49d)]=new e['LRUMap'](0x3c);}[_0x2262a8(0x4f9)](){const _0x3c9076=_0x2262a8;this[_0x3c9076(0x49d)]['clear'](),super[_0x3c9076(0x4f9)]();}async[_0x2262a8(0x3c9)](_0x6db67){const _0x385126=_0x2262a8;try{let _0x59f6e4=(await this[_0x385126(0x248)][_0x385126(0x2c8)](this['_getAPIPrefix']()+'/'+_0x6db67+'/creators'))['body'];if(_0x59f6e4&&_0x59f6e4[_0x385126(0x47d)]&&_0x59f6e4[_0x385126(0x47d)]['code']===L['ErrorCode']['OK'])return _0x59f6e4[_0x385126(0x45c)]??[];}catch(_0x1815b0){console[_0x385126(0x47d)](_0x1815b0);}return[];}async['getVersions'](_0x2ce3fe,_0x2d0fc4){const _0x506528=_0x2262a8;let {userIds:_0x31dac2,lastLabel:_0x42b6b3,origin:_0x442c03}=_0x2d0fc4??{},_0x4ff291=new URLSearchParams();_0x4ff291['set'](_0x506528(0x4d9),'20'),_0x42b6b3&&_0x4ff291[_0x506528(0x47c)]('lastLabel',_0x42b6b3),_0x31dac2==null||_0x31dac2[_0x506528(0x1aa)](_0x462db0=>{_0x4ff291['append']('userIds',_0x462db0);}),_0x442c03&&_0x4ff291[_0x506528(0x47c)](_0x506528(0x24e),_0x442c03[_0x506528(0x263)]());let _0x557287=this['_getAPIPrefix']()+'/'+_0x2ce3fe+'/list?'+_0x4ff291[_0x506528(0x263)]();try{let _0x3e18b1=(await this['_httpService'][_0x506528(0x2c8)](_0x557287))[_0x506528(0x2a7)];if(_0x3e18b1&&_0x3e18b1[_0x506528(0x47d)]&&_0x3e18b1['error'][_0x506528(0x376)]===L['ErrorCode']['OK']){let {hasMore:_0x492d99,lastLabel:_0x41e2bc}=_0x3e18b1;return{'hasMore':_0x492d99,'lastLabel':_0x41e2bc,'versions':pe(_0x3e18b1),'members':_0x3e18b1['entities']['users']};}}catch(_0x1dbf7b){console[_0x506528(0x47d)](_0x1dbf7b);}return null;}async['getHistoryChangesets'](_0x51abd7,_0x4ea211){const _0x47e25f=_0x2262a8;let {unitId:_0x626a19,startRevision:_0xe7196a,endRevision:_0x26eff9}=_0x4ea211,_0x2b6fec=this[_0x47e25f(0x3d2)]()+'/'+_0x626a19+_0x47e25f(0x283)+_0xe7196a+'&endRevision='+_0x26eff9;return(await this[_0x47e25f(0x248)][_0x47e25f(0x2c8)](_0x2b6fec))['body'];}[_0x2262a8(0x3d2)](){return oe(this['_configService']['getConfig'](B));}['_cacheKey'](_0x337ad8,_0x31cb35){return _0x337ad8+':'+_0x31cb35;}async[_0x2262a8(0x3ba)](_0x1e4da7,_0x30ae41,_0xdcc84={}){const _0xab091b=_0x2262a8;let _0x3f5672=this[_0xab091b(0x453)](_0x1e4da7,_0x30ae41),_0x5a65c0=this[_0xab091b(0x49d)][_0xab091b(0x2c8)](_0x3f5672);if(_0x5a65c0){let {workbookData:_0xacf7c7,changesets:_0x46b08d}=_0x5a65c0;return await this[_0xab091b(0x4bf)](_0xacf7c7,_0x46b08d),!0x0;}let {snapshot:_0x3f272a,changesets:_0x3c1a2a,error:_0x1f896a}=await this[_0xab091b(0x4dd)][_0xab091b(0x201)](_0xdcc84,{'unitID':_0x1e4da7,'type':e['UniverInstanceType']['UNIVER_SHEET'],'revision':_0x30ae41});if((0x0,L[_0xab091b(0x475)])(_0x1f896a)||!_0x3f272a||!_0x3f272a['workbook'])throw Error(_0xab091b(0x2fc));let _0x3ea3f2=(_0x3c1a2a==null?void 0x0:_0x3c1a2a[_0xab091b(0x4d9)])??0x0;if(_0x30ae41!==0x0&&_0x3f272a[_0xab091b(0x1d9)]+_0x3ea3f2!==_0x30ae41)throw Error(_0xab091b(0x28f));let {workbook:_0x45a013}=_0x3f272a,_0x1c37cc=_0x45a013[_0xab091b(0x249)]?Object[_0xab091b(0x350)](_0x45a013['blockMeta'])[_0xab091b(0x31e)](_0x578a69=>_0x578a69['blocks']??[]):[],_0x1d0f1b=await(0x0,n['transformSnapshotToWorkbookData'])(_0x3f272a,(await Promise[_0xab091b(0x52f)](_0x1c37cc[_0xab091b(0x232)](_0x1f8142=>this[_0xab091b(0x4dd)][_0xab091b(0x389)](_0xdcc84,{'unitID':_0x1e4da7,'type':e[_0xab091b(0x35f)][_0xab091b(0x240)],'blockID':_0x1f8142})[_0xab091b(0x25f)](_0x2b79a2=>_0x2b79a2[_0xab091b(0x1d0)]))))[_0xab091b(0x409)](Boolean),_0xdcc84);return this['_workbookDataCache'][_0xab091b(0x47c)](_0x3f5672,{'workbookData':_0x1d0f1b,'changesets':_0x3c1a2a}),await this[_0xab091b(0x4bf)](_0x1d0f1b,_0x3c1a2a),!0x0;}async[_0x2262a8(0x4bf)](_0x2a3b13,_0x1f7b27){const _0x12ba97=_0x2262a8;let _0x136fca=this[_0x12ba97(0x432)][_0x12ba97(0x438)](e[_0x12ba97(0x35f)][_0x12ba97(0x240)]);_0x136fca&&(this[_0x12ba97(0x432)]['disposeUnit'](_0x136fca[_0x12ba97(0x42e)]()),await Promise[_0x12ba97(0x426)]());let _0x112398=JSON[_0x12ba97(0x507)](JSON[_0x12ba97(0x234)](_0x2a3b13));this[_0x12ba97(0x4be)][_0x12ba97(0x41a)](!0x1);let _0x381442=this['_createUnit'](_0x112398,_0x1f7b27);fe(this['_permissionService'],this[_0x12ba97(0x4be)],_0x381442),this['_sheetPermissionInitController'][_0x12ba97(0x1bf)]();}['_createUnit'](_0x3bcb55,_0x40d8db){const _0x217b95=_0x2262a8;let _0x25ea58=this[_0x217b95(0x432)][_0x217b95(0x2e3)](e[_0x217b95(0x35f)][_0x217b95(0x240)],_0x3bcb55);this[_0x217b95(0x432)]['focusUnit'](_0x25ea58[_0x217b95(0x42e)]());let _0x5b7780=this[_0x217b95(0x517)][_0x217b95(0x4a6)][_0x217b95(0x27c)](this['_compressMutationService'][_0x217b95(0x4a6)][_0x217b95(0x347)]()[_0x217b95(0x3e4)]);return _0x40d8db==null||_0x40d8db[_0x217b95(0x1aa)](_0x4e9ef0=>{const _0x3446f8=_0x217b95;let _0x897f11=_0x4e9ef0[_0x3446f8(0x267)][_0x3446f8(0x232)](_0x317500=>({'id':_0x317500['id'],'params':JSON[_0x3446f8(0x507)](_0x317500[_0x3446f8(0x44b)])}));(_0x5b7780(_0x897f11,null)||_0x897f11)[_0x3446f8(0x1aa)](_0x1ff18a=>{const _0x191637=_0x3446f8;this[_0x191637(0x2d4)][_0x191637(0x440)](_0x1ff18a['id'])&&this[_0x191637(0x2d4)][_0x191637(0x423)](_0x1ff18a['id'],_0x1ff18a[_0x191637(0x2b4)],{'fromChangeset':!0x0});});}),_0x25ea58;}};G=W([U(0x0,n[_0x2262a8(0x2b7)]),U(0x1,e[_0x2262a8(0x400)]),U(0x2,e[_0x2262a8(0x273)]),U(0x3,e['IPermissionService']),U(0x4,_[_0x2262a8(0x40a)]),U(0x5,e[_0x2262a8(0x33d)]),U(0x6,(0x0,e['Inject'])(b[_0x2262a8(0x484)])),U(0x7,(0x0,e[_0x2262a8(0x47b)])(n['CompressMutationService'])),U(0x8,(0x0,e[_0x2262a8(0x47b)])(t[_0x2262a8(0x36d)]))],G);function fe(_0x30abb8,_0x40c6df,_0x2124cb){const _0x5006e1=_0x2262a8;let _0x5c7eb8=_0x2124cb[_0x5006e1(0x42e)]();_0x40c6df['setDrawingEditable'](!0x1),_0x30abb8[_0x5006e1(0x289)](new t[(_0x5006e1(0x3ea))](_0x5c7eb8)['id'],!0x1),_0x2124cb[_0x5006e1(0x355)]()['forEach'](_0x343532=>{const _0x3beb30=_0x5006e1;_0x30abb8[_0x3beb30(0x289)](new t[(_0x3beb30(0x403))](_0x5c7eb8,_0x343532[_0x3beb30(0x55e)]())['id'],!0x1);});}function pe(_0x13d423){const _0x2b52d8=_0x2262a8;let _0xdb97b=[],{entities:_0x456e4c,historyIds:_0x24e773}=_0x13d423,{datas:_0xbce0ae,users:_0x425edf}=_0x456e4c;for(let _0xf98e00 of _0x24e773){let _0x4e80c6=_0xbce0ae[_0xf98e00];if(_0x4e80c6){var _0x3787bc,_0x14564b;let _0x680ae4=!!((_0x3787bc=_0x425edf[_0x4e80c6[_0x2b52d8(0x3a3)]])!=null&&_0x3787bc[_0x2b52d8(0x552)]);_0xdb97b[_0x2b52d8(0x516)]({'unitId':_0x4e80c6[_0x2b52d8(0x3f8)],'user':_0x680ae4?'':(_0x425edf==null||(_0x14564b=_0x425edf[_0x4e80c6['userId']])==null?void 0x0:_0x14564b[_0x2b52d8(0x2ad)])||'','users':_0x4e80c6[_0x2b52d8(0x29c)]['map'](_0x4a1525=>{const _0x82f114=_0x2b52d8;var _0x7686c3;return(_0x425edf==null||(_0x7686c3=_0x425edf[_0x4a1525])==null?void 0x0:_0x7686c3[_0x82f114(0x2ad)])||'';})[_0x2b52d8(0x409)](_0x3cebd6=>_0x3cebd6),'isAnonymous':_0x680ae4,'id':_0xf98e00,'time':_0x4e80c6[_0x2b52d8(0x454)]?Number(_0x4e80c6[_0x2b52d8(0x454)]):void 0x0,'commands':_0x4e80c6[_0x2b52d8(0x3df)],'startRev':Number(_0x4e80c6[_0x2b52d8(0x4cb)]),'endRev':Number(_0x4e80c6[_0x2b52d8(0x4f6)]),'recoverTime':_0x4e80c6[_0x2b52d8(0x316)]?Number(_0x4e80c6[_0x2b52d8(0x316)]):void 0x0,'additionalFields':_0x4e80c6[_0x2b52d8(0x39a)],'startRevCreateTime':_0x4e80c6[_0x2b52d8(0x1cb)]?Number(_0x4e80c6['startRevCreateTime']):void 0x0,'endRevCreateTime':_0x4e80c6['endRevCreateTime']?Number(_0x4e80c6[_0x2b52d8(0x492)]):void 0x0});}}return _0xdb97b;}function me(_0x2d0aa8=_0x2262a8(0x25b)){const _0x48fe3c=_0x2262a8;return{'collaboration':[{'id':n[_0x48fe3c(0x469)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x4d4)},{'id':n[_0x48fe3c(0x2ff)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x528)}],'sheets':[{'id':t[_0x48fe3c(0x2e8)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x258)},{'id':t[_0x48fe3c(0x282)]['id'],'action':_0x2d0aa8+'removeSheet'},{'id':t[_0x48fe3c(0x226)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x575)},{'id':t['SetWorksheetOrderMutation']['id'],'action':_0x2d0aa8+_0x48fe3c(0x31c)},{'id':t[_0x48fe3c(0x297)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x567)},{'id':t[_0x48fe3c(0x2cc)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x227)},{'id':t[_0x48fe3c(0x307)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x47f)},{'id':t[_0x48fe3c(0x2dc)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x559)},{'id':t[_0x48fe3c(0x3a9)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x220)},{'id':t[_0x48fe3c(0x4b5)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x361)},{'id':t[_0x48fe3c(0x2f6)]['id'],'action':_0x2d0aa8+'removeRow'},{'id':t['RemoveColMutation']['id'],'action':_0x2d0aa8+_0x48fe3c(0x255)},{'id':t[_0x48fe3c(0x572)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x206)},{'id':t[_0x48fe3c(0x224)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x293)},{'id':t['SetRowVisibleMutation']['id'],'action':_0x2d0aa8+_0x48fe3c(0x2b8)},{'id':t[_0x48fe3c(0x4bd)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x56a)},{'id':t[_0x48fe3c(0x25c)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x1c8)},{'id':t[_0x48fe3c(0x4ff)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x1fa)},{'id':t[_0x48fe3c(0x406)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x57a)},{'id':t['SetWorksheetColWidthMutation']['id'],'action':_0x2d0aa8+_0x48fe3c(0x2e4)},{'id':t[_0x48fe3c(0x539)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x381)},{'id':t[_0x48fe3c(0x315)]['id'],'action':_0x2d0aa8+'setRowIsAutoHeight'},{'id':t[_0x48fe3c(0x2be)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x43e)},{'id':t['SetColDataMutation']['id'],'action':_0x2d0aa8+_0x48fe3c(0x510)},{'id':t[_0x48fe3c(0x329)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x336)},{'id':t[_0x48fe3c(0x36c)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x299)},{'id':t[_0x48fe3c(0x340)]['id'],'action':_0x2d0aa8+'setRangeValues'},{'id':t[_0x48fe3c(0x357)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x474)},{'id':t[_0x48fe3c(0x4ef)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x305)},{'id':t['AddWorksheetMergeMutation']['id'],'action':_0x2d0aa8+_0x48fe3c(0x210)},{'id':t[_0x48fe3c(0x553)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x2d1)},{'id':t[_0x48fe3c(0x212)]['id'],'action':_0x2d0aa8+'setFrozen'},{'id':t[_0x48fe3c(0x4ce)]['id'],'action':_0x2d0aa8+'toggleGridlines'},{'id':t['SetGridlinesColorMutation']['id'],'action':_0x2d0aa8+_0x48fe3c(0x25d)},{'id':t[_0x48fe3c(0x35b)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x387)},{'id':t[_0x48fe3c(0x28b)]['id'],'action':_0x2d0aa8+'setDefaultStyle'},{'id':t[_0x48fe3c(0x3c3)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x238)},{'id':t[_0x48fe3c(0x2c1)]['id'],'action':_0x2d0aa8+'setProtection'},{'id':t[_0x48fe3c(0x2c4)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x2fb)},{'id':t[_0x48fe3c(0x323)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x1f8)},{'id':t['SetRangeProtectionMutation']['id'],'action':_0x2d0aa8+'setRangeProtection'},{'id':t[_0x48fe3c(0x49c)]['id'],'action':_0x2d0aa8+'deleteRangeProtection'},{'id':t[_0x48fe3c(0x3b1)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x3bc)},{'id':t['SetNumfmtMutation']['id'],'action':_0x2d0aa8+_0x48fe3c(0x544)},{'id':t[_0x48fe3c(0x4cd)]['id'],'action':_0x2d0aa8+'removeNumfmt'},{'id':t['AddRangeThemeMutation']['id'],'action':_0x2d0aa8+_0x48fe3c(0x380)},{'id':t[_0x48fe3c(0x4db)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x556)},{'id':t[_0x48fe3c(0x538)]['id'],'action':_0x2d0aa8+'removeRangeTheme'},{'id':t['SetWorksheetRangeThemeStyleMutation']['id'],'action':_0x2d0aa8+_0x48fe3c(0x225)},{'id':t[_0x48fe3c(0x2ec)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x2e9)}],'sheetsConditionalFormatting':[{'id':S['AddConditionalRuleMutation']['id'],'action':_0x2d0aa8+'setCF'},{'id':S[_0x48fe3c(0x4c0)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x318)},{'id':S[_0x48fe3c(0x2d3)]['id'],'action':_0x2d0aa8+'deleteCF'},{'id':S[_0x48fe3c(0x42c)]['id'],'action':_0x2d0aa8+'moveCF'}],'sheetsFilter':[{'id':O[_0x48fe3c(0x390)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x1d6)},{'id':O[_0x48fe3c(0x1c2)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x472)},{'id':O[_0x48fe3c(0x29a)]['id'],'action':_0x2d0aa8+'removeFilter'},{'id':O[_0x48fe3c(0x23b)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x292)}],'dataValidation':[{'id':p[_0x48fe3c(0x49f)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x53f)},{'id':p[_0x48fe3c(0x306)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x53f)},{'id':p['RemoveDataValidationMutation']['id'],'action':_0x2d0aa8+_0x48fe3c(0x1c5)}],'sheetsChart':[{'id':o['InsertSheetsChartMutation']['id'],'action':_0x2d0aa8+_0x48fe3c(0x4ec)},{'id':o[_0x48fe3c(0x4b2)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x1af)},{'id':o[_0x48fe3c(0x379)]['id'],'action':_0x2d0aa8+'updateChartConfig'},{'id':o[_0x48fe3c(0x2a1)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x281)}],'sheetsSparkline':[{'id':d[_0x48fe3c(0x27d)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x483)},{'id':d[_0x48fe3c(0x317)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x4e8)},{'id':d[_0x48fe3c(0x52c)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x3c7)}],'sheetsPivot':[{'id':c[_0x48fe3c(0x311)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x53e)},{'id':c['RemovePivotTableMutation']['id'],'action':_0x2d0aa8+_0x48fe3c(0x216)},{'id':c[_0x48fe3c(0x222)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x4dc)},{'id':c[_0x48fe3c(0x1dd)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x3f6)},{'id':c['UpdatePivotTableSourceRangeMutation']['id'],'action':_0x2d0aa8+_0x48fe3c(0x4e5)},{'id':c[_0x48fe3c(0x236)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x582)},{'id':c[_0x48fe3c(0x221)]['id'],'action':_0x2d0aa8+'removePivotField'},{'id':c[_0x48fe3c(0x3a6)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x3b7)},{'id':c[_0x48fe3c(0x3fd)]['id'],'action':_0x2d0aa8+'updateFieldPosition'},{'id':c[_0x48fe3c(0x2c9)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x44c)},{'id':c[_0x48fe3c(0x4d5)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x52e)},{'id':c[_0x48fe3c(0x276)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x2aa)},{'id':c[_0x48fe3c(0x498)]['id'],'action':_0x2d0aa8+'setPivotFilter'},{'id':c[_0x48fe3c(0x526)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x4de)},{'id':c[_0x48fe3c(0x44e)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x457)},{'id':c['SetPivotCollapseMutation']['id'],'action':_0x2d0aa8+_0x48fe3c(0x2bb)},{'id':c[_0x48fe3c(0x51c)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x500)}],'sheetsShape':[{'id':l['InsertSheetsShapeMutation']['id'],'action':_0x2d0aa8+_0x48fe3c(0x32b)},{'id':l[_0x48fe3c(0x502)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x1ee)},{'id':l[_0x48fe3c(0x42a)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x294)},{'id':l[_0x48fe3c(0x3f5)]['id'],'action':_0x2d0aa8+'updateShapeType'}],'sheetsTable':[{'id':j[_0x48fe3c(0x243)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x331)},{'id':j[_0x48fe3c(0x53c)]['id'],'action':_0x2d0aa8+'removeTable'},{'id':j[_0x48fe3c(0x38c)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x2d6)},{'id':j[_0x48fe3c(0x24c)]['id'],'action':_0x2d0aa8+_0x48fe3c(0x2f5)}],'sheetsDrawing':[{'id':E['SetDrawingApplyMutation']['id'],'action':_0x2d0aa8+_0x48fe3c(0x441)}]};}function he(_0x395bdc='sheets-history-ui.viewer.action.'){const _0x522f86=_0x2262a8;let _0x354829=me(_0x395bdc);return Object[_0x522f86(0x350)](_0x354829)['flat']();}function ge(_0x22a8f9){const _0x24596b=_0x2262a8;return e['LOCALE_META'][_0x22a8f9[_0x24596b(0x55c)]()][_0x24596b(0x321)];}const K=(_0x5d9cba,_0x1e2577)=>{const _0x52aba5=_0x2262a8;if(!_0x5d9cba)return{'date':'','time':''};let _0xe6ae20=(0x0,e[_0x52aba5(0x54f)])(_0x5d9cba);return{'date':ye(_0xe6ae20[_0x52aba5(0x3fc)](_0x52aba5(0x233)),_0x1e2577),'time':_0xe6ae20['formatIntl'](ge(_0x1e2577),{'hour':'2-digit','minute':_0x52aba5(0x3cd),'second':_0x52aba5(0x3cd),'hour12':!0x1})};},_e=(_0x4cdfdc,_0x31bca8)=>{const _0x27b889=_0x2262a8;if(_0x4cdfdc[_0x27b889(0x54e)][_0x27b889(0x57f)](_0x3605da=>_0x3605da===n[_0x27b889(0x2ff)]['id'])&&_0x4cdfdc[_0x27b889(0x316)]){let _0x1f255a=K(_0x4cdfdc[_0x27b889(0x316)],_0x31bca8),_0x1c7379=_0x1f255a[_0x27b889(0x3c4)]+'\x20'+_0x1f255a[_0x27b889(0x40e)];return _0x31bca8['t'](_0x27b889(0x3d7))+'\x20'+_0x1c7379+'\x20'+_0x31bca8['t'](_0x27b889(0x4ed));}let _0x10893a=ve(_0x4cdfdc),_0x11225d=Array[_0x27b889(0x55a)](new Set(_0x10893a)),_0x106e4c;if(_0x11225d['length']===0x1)_0x106e4c=_0x31bca8['t'](_0x11225d[0x0]);else{let _0x137e09=_0x11225d['slice'](0x0,0x5)[_0x27b889(0x232)](_0x326faa=>_0x31bca8['t'](_0x326faa))[_0x27b889(0x24b)](',\x20');_0x106e4c=_0x11225d['length']>0x5?''+_0x137e09+_0x31bca8['t']('sheets-history-ui.viewer.action.etc'):_0x137e09;}return''+_0x106e4c;};function ve(_0x1c085a){const _0x14503e=_0x2262a8;if(_0x1c085a[_0x14503e(0x54e)][_0x14503e(0x4d9)]===0x0)return[''];let _0x49cb93=_0x14503e(0x25b),_0x4da25a=_0x49cb93+_0x14503e(0x1e1),_0x4df8e9=he(_0x49cb93)[_0x14503e(0x409)](_0x26a1d4=>_0x1c085a[_0x14503e(0x54e)][_0x14503e(0x1c1)](_0x26a1d4['id']));return _0x4df8e9!=null&&_0x4df8e9[_0x14503e(0x4d9)]?_0x4df8e9[_0x14503e(0x232)](_0x5121f7=>_0x5121f7[_0x14503e(0x3bb)]):[_0x4da25a];}function ye(_0x400825,_0x2ef4e5){const _0x3d73a6=_0x2262a8;let [_0x102ff9,_0x411650,_0x1211b7]=(0x0,e[_0x3d73a6(0x54f)])()[_0x3d73a6(0x3fc)](_0x3d73a6(0x233))[_0x3d73a6(0x46f)]('-'),[_0x316cb9,_0x39765b,_0x149c86]=_0x400825[_0x3d73a6(0x46f)]('-');if(_0x102ff9===_0x316cb9&&_0x411650===_0x39765b&&_0x1211b7===_0x149c86)return _0x2ef4e5['t'](_0x3d73a6(0x4ad));let _0x3143ac=ge(_0x2ef4e5);return _0x102ff9===_0x316cb9?(0x0,e[_0x3d73a6(0x54f)])(_0x400825)[_0x3d73a6(0x34f)](_0x3143ac,{'month':'numeric','day':_0x3d73a6(0x468)}):(0x0,e[_0x3d73a6(0x54f)])(_0x400825)['formatIntl'](_0x3143ac,{'year':_0x3d73a6(0x468),'month':_0x3d73a6(0x468),'day':_0x3d73a6(0x468)});}function _0x3275(_0x4430b6,_0x5d0d51){_0x4430b6=_0x4430b6-0x1a5;const _0x264d30=_0x264d();let _0x327593=_0x264d30[_0x4430b6];return _0x327593;}function be(_0x452a9c){const _0x1586e7=_0x2262a8;return _0x452a9c?_0x452a9c[_0x1586e7(0x3fe)]((_0x549a0d,_0x25f03d)=>{const _0x56a9d=_0x1586e7;let _0x4262be=(0x0,e[_0x56a9d(0x54f)])(_0x25f03d['time']??Date[_0x56a9d(0x4e0)]())[_0x56a9d(0x3fc)](_0x56a9d(0x233)),_0x51cfa3=_0x25f03d[_0x56a9d(0x1cb)]?(0x0,e['dateKit'])(_0x25f03d[_0x56a9d(0x1cb)])[_0x56a9d(0x3fc)]('YYYY-MM-DD'):_0x4262be,_0x5e14d8=_0x25f03d['endRevCreateTime']?(0x0,e[_0x56a9d(0x54f)])(_0x25f03d['endRevCreateTime'])[_0x56a9d(0x3fc)](_0x56a9d(0x233)):_0x4262be;return _0x549a0d[_0x56a9d(0x4d9)]>0x0&&_0x549a0d[_0x549a0d[_0x56a9d(0x4d9)]-0x1][_0x56a9d(0x470)]===_0x51cfa3?_0x549a0d[_0x549a0d[_0x56a9d(0x4d9)]-0x1][_0x56a9d(0x3ed)][_0x56a9d(0x516)](_0x25f03d):_0x549a0d['push']({'dateString':_0x4262be,'startDateString':_0x51cfa3,'endDateString':_0x5e14d8,'versions':[_0x25f03d]}),_0x549a0d;},[]):[];}const xe='VIRTUAL_VERSION_NOW';let q=class extends e['Disposable']{[_0x2262a8(0x385)](_0x145b23){const _0x4f9278=_0x2262a8;this['_fetching$'][_0x4f9278(0x344)](_0x145b23);}get['fetching'](){const _0x25bf94=_0x2262a8;return this[_0x25bf94(0x4c6)][_0x25bf94(0x3ff)];}constructor(_0x221e53,_0x23a814,_0x18b557,_0x1a1af1,_0x1518b0){const _0x2307f6=_0x2262a8;super(),this[_0x2307f6(0x286)]=_0x221e53,this[_0x2307f6(0x413)]=_0x23a814,this['_logService']=_0x18b557,this['_localeService']=_0x1a1af1,this[_0x2307f6(0x245)]=_0x1518b0,H(this,'_versions$',new P['BehaviorSubject']([])),H(this,'versions$',this[_0x2307f6(0x57e)][_0x2307f6(0x445)]()),H(this,_0x2307f6(0x250),new P[(_0x2307f6(0x421))]('')),H(this,_0x2307f6(0x3d6),this[_0x2307f6(0x250)][_0x2307f6(0x445)]()),H(this,_0x2307f6(0x1b1),new P[(_0x2307f6(0x421))](_0x2307f6(0x25e))),H(this,_0x2307f6(0x2ae),this['_status$']['asObservable']()),H(this,_0x2307f6(0x37e),new P[(_0x2307f6(0x421))](0x0)),H(this,_0x2307f6(0x218),this[_0x2307f6(0x37e)][_0x2307f6(0x445)]()),H(this,'_unitId$',new P[(_0x2307f6(0x421))]('')),H(this,_0x2307f6(0x37b),this[_0x2307f6(0x25a)][_0x2307f6(0x445)]()),H(this,_0x2307f6(0x4c6),new P['BehaviorSubject'](!0x1)),H(this,_0x2307f6(0x464),this['_fetching$'][_0x2307f6(0x445)]()),H(this,_0x2307f6(0x2b2),new P[(_0x2307f6(0x421))]([])),H(this,_0x2307f6(0x3a1),this[_0x2307f6(0x2b2)][_0x2307f6(0x445)]()),H(this,_0x2307f6(0x448),new P[(_0x2307f6(0x421))](!0x1)),H(this,_0x2307f6(0x2bd),this[_0x2307f6(0x448)][_0x2307f6(0x445)]()),H(this,_0x2307f6(0x1bc),new Map()),H(this,'_loadingState$',new P[(_0x2307f6(0x421))](_0x2307f6(0x21a))),H(this,_0x2307f6(0x3cb),this[_0x2307f6(0x37c)][_0x2307f6(0x445)]()),H(this,'_lastLabel',null),H(this,_0x2307f6(0x20b),!0x0),H(this,_0x2307f6(0x549),new Map()),H(this,_0x2307f6(0x34b),!0x1),H(this,'_loadParams',null),H(this,_0x2307f6(0x527),new Map());}async[_0x2262a8(0x1f6)](_0x34b48c,_0x22150d){const _0x3d9815=_0x2262a8;this[_0x3d9815(0x34b)]=_0x22150d,this[_0x3d9815(0x448)][_0x3d9815(0x344)](!0x0),await this[_0x3d9815(0x1e3)](_0x34b48c);}[_0x2262a8(0x31a)](_0x5869e0,_0x793e7,_0x406733){const _0x42883f=_0x2262a8;let {versions:_0x312fa7,hasMore:_0x597297,lastLabel:_0x307b36,members:_0xff23ad}=_0x406733,_0x5b46c6=_0x312fa7[_0x42883f(0x4d9)]>0x0?_0x312fa7:[{'unitId':_0x5869e0,'id':xe,'startRev':0x1,'endRev':0x0,'time':Date['now'](),'user':this['_localeService']['t']('sheets-history-ui.viewer.panel.currentUser'),'users':[this[_0x42883f(0x1a7)]['t'](_0x42883f(0x2b5))],'commands':[],'isAnonymous':!0x1}];this[_0x42883f(0x34b)]=_0x793e7,this[_0x42883f(0x25a)]['next'](_0x5869e0),this['_updateVersions'](_0x5b46c6,_0x597297,_0x307b36,!0x1,_0xff23ad),this[_0x42883f(0x250)]['next'](_0x5b46c6[0x0]['id']);}async[_0x2262a8(0x1e3)](_0x583e88,_0x54d24a){const _0x14b677=_0x2262a8;this[_0x14b677(0x25a)]['next'](_0x583e88),this['_loadParams']=_0x54d24a??null,this[_0x14b677(0x385)](!0x0);let _0x43d7d6=await this[_0x14b677(0x245)][_0x14b677(0x277)](_0x583e88,_0x54d24a);if(this[_0x14b677(0x385)](!0x1),_0x43d7d6){let {versions:_0x448753,lastLabel:_0x18924d,hasMore:_0x4e834,members:_0xb9a32e}=_0x43d7d6;_0x448753[_0x14b677(0x4d9)]===0x0&&_0x448753[_0x14b677(0x516)]({'unitId':_0x583e88,'id':xe,'startRev':0x1,'endRev':0x0,'time':Date[_0x14b677(0x4e0)](),'user':this[_0x14b677(0x1a7)]['t']('sheets-history-ui.viewer.panel.currentUser'),'users':[this['_localeService']['t'](_0x14b677(0x2b5))],'commands':[],'isAnonymous':!0x1}),this[_0x14b677(0x4fb)](_0x448753,_0x4e834,_0x18924d,!0x1,_0xb9a32e),this[_0x14b677(0x250)][_0x14b677(0x344)](_0x448753[0x0]['id']),this[_0x14b677(0x527)][_0x14b677(0x47c)](_0x583e88,_0x448753[0x0][_0x14b677(0x337)]);}else this[_0x14b677(0x1b1)][_0x14b677(0x344)](_0x14b677(0x47d));}async[_0x2262a8(0x231)](){const _0x4000a8=_0x2262a8;if(!this[_0x4000a8(0x4b4)]||!this[_0x4000a8(0x20b)]||this[_0x4000a8(0x4cc)])return!0x1;this[_0x4000a8(0x385)](!0x0);let _0x2575c6=await this[_0x4000a8(0x245)][_0x4000a8(0x277)](this[_0x4000a8(0x3f8)],{'lastLabel':this[_0x4000a8(0x4b4)],...this['_loadParams']});if(this[_0x4000a8(0x385)](!0x1),_0x2575c6){let {versions:_0x2a31e5,lastLabel:_0x471fe6,hasMore:_0x56b3d9,members:_0x347253}=_0x2575c6;this[_0x4000a8(0x4fb)](_0x2a31e5,_0x56b3d9,_0x471fe6,!0x0,_0x347253);}else this['_messageService']['show']({'content':this[_0x4000a8(0x1a7)]['t'](_0x4000a8(0x32f)),'type':m[_0x4000a8(0x2d9)]['Error'],'duration':0xbb8});return!0x0;}async[_0x2262a8(0x27f)](){const _0x3e69aa=_0x2262a8;let {unitId:_0x35a4dd}=this;if(!_0x35a4dd)return;let _0xfade7b=await this[_0x3e69aa(0x245)]['fetchCreatorList'](_0x35a4dd);_0xfade7b&&this['_creators$'][_0x3e69aa(0x344)](_0xfade7b);}async[_0x2262a8(0x44d)](_0x993eb5){const _0x2a8fec=_0x2262a8;let {endRev:_0x22a5f4}=this[_0x2a8fec(0x31d)](_0x993eb5)||{};if(_0x22a5f4||_0x22a5f4===0x0){this[_0x2a8fec(0x37c)][_0x2a8fec(0x344)](_0x2a8fec(0x450));try{await this['_historyFetchService'][_0x2a8fec(0x3ba)](this[_0x2a8fec(0x3f8)],_0x22a5f4),this[_0x2a8fec(0x37c)]['next'](_0x2a8fec(0x41d));}catch(_0x50060f){this[_0x2a8fec(0x300)][_0x2a8fec(0x47d)](_0x2a8fec(0x4d6),_0x50060f),this[_0x2a8fec(0x37c)][_0x2a8fec(0x344)]('error'),this[_0x2a8fec(0x1b1)][_0x2a8fec(0x344)](_0x2a8fec(0x47d));}}else this['_status$']['next'](_0x2a8fec(0x47d));}async['triggerRevert'](_0x2d9b79){const _0x562819=_0x2262a8;let _0x59ab7d=_0x2d9b79?this[_0x562819(0x31d)](_0x2d9b79):this['getCurrentVersion']();if(!_0x59ab7d)return;let _0x409bd3=_0x59ab7d['endRev'],_0x4083cc=K(_0x59ab7d[_0x562819(0x40e)],this[_0x562819(0x1a7)]);await this[_0x562819(0x413)]['confirm']({'id':_0x562819(0x3c2),'title':{'title':this[_0x562819(0x1a7)]['t'](_0x562819(0x506))},'children':{'title':this['_localeService']['t'](_0x562819(0x2c5),_0x4083cc[_0x562819(0x3c4)],_0x4083cc[_0x562819(0x40e)])},'cancelText':this[_0x562819(0x1a7)]['t'](_0x562819(0x519)),'confirmText':this['_localeService']['t'](_0x562819(0x378))})&&this[_0x562819(0x37e)][_0x562819(0x344)](_0x409bd3);}[_0x2262a8(0x4fb)](_0x10dcdf,_0x1c5750,_0x20a6de,_0x297d76,_0x46508a){const _0x4abb96=_0x2262a8;this[_0x4abb96(0x537)](_0x297d76?this[_0x4abb96(0x57e)][_0x4abb96(0x3ff)]['concat'](_0x10dcdf):_0x10dcdf),this[_0x4abb96(0x20b)]=_0x1c5750,this['_lastLabel']=_0x20a6de,_0x46508a&&Object[_0x4abb96(0x407)](_0x46508a)['forEach'](_0x3446bb=>this[_0x4abb96(0x549)][_0x4abb96(0x47c)](_0x3446bb,_0x46508a[_0x3446bb]));}[_0x2262a8(0x1f0)](){const _0x368744=_0x2262a8;return this[_0x368744(0x31d)](this[_0x368744(0x250)][_0x368744(0x3ff)]);}['_setVersions'](_0x201a6b){const _0x40e308=_0x2262a8;this[_0x40e308(0x57e)][_0x40e308(0x344)](_0x201a6b);}['getVersion'](_0x23f955){const _0x5cd87f=_0x2262a8;var _0x659b48;return((_0x659b48=this['_versions$'][_0x5cd87f(0x3ff)])==null?void 0x0:_0x659b48['find'](_0x4187e9=>_0x4187e9['id']===_0x23f955))||this[_0x5cd87f(0x1bc)][_0x5cd87f(0x2c8)](_0x23f955);}[_0x2262a8(0x3be)](_0x5b3b00){const _0x146dcf=_0x2262a8;this[_0x146dcf(0x1bc)][_0x146dcf(0x47c)](_0x5b3b00['id'],_0x5b3b00);}[_0x2262a8(0x562)](){const _0x29f291=_0x2262a8;if(this[_0x29f291(0x3f8)])return this[_0x29f291(0x527)][_0x29f291(0x2c8)](this[_0x29f291(0x3f8)]);}['getSelectedVersionIsCurrentVersion'](){const _0x2c7ed3=_0x2262a8;var _0x4c277b;return((_0x4c277b=this[_0x2c7ed3(0x1f0)]())==null?void 0x0:_0x4c277b[_0x2c7ed3(0x337)])===this[_0x2c7ed3(0x562)]();}[_0x2262a8(0x2d5)](){const _0x447fba=_0x2262a8;return!this['getSelectedVersionIsCurrentVersion']()&&this[_0x447fba(0x1a9)];}['getMember'](_0x2bcae5){const _0x440ab6=_0x2262a8;return this[_0x440ab6(0x549)][_0x440ab6(0x2c8)](_0x2bcae5);}[_0x2262a8(0x23d)](){const _0xe89203=_0x2262a8;this[_0xe89203(0x1b1)]['next'](_0xe89203(0x2f2));}set[_0x2262a8(0x4e2)](_0x12d987){this['_status$']['next'](_0x12d987);}get[_0x2262a8(0x4e2)](){const _0x7ecf38=_0x2262a8;return this['_status$'][_0x7ecf38(0x3ff)];}[_0x2262a8(0x4a8)](_0x446d3c){const _0x16d544=_0x2262a8;_0x446d3c!==this[_0x16d544(0x250)]['value']&&this['_currentVersion$'][_0x16d544(0x344)](_0x446d3c);}get[_0x2262a8(0x256)](){const _0x156488=_0x2262a8;return this['_currentVersion$'][_0x156488(0x3ff)];}set[_0x2262a8(0x3f8)](_0x4e00c1){const _0x25ff8b=_0x2262a8;this[_0x25ff8b(0x25a)][_0x25ff8b(0x344)](_0x4e00c1);}get[_0x2262a8(0x3f8)](){const _0xc6a15c=_0x2262a8;return this[_0xc6a15c(0x25a)][_0xc6a15c(0x3ff)];}get['canRevert'](){const _0xb38e0e=_0x2262a8;return this[_0xb38e0e(0x34b)];}get[_0x2262a8(0x308)](){const _0x2131f6=_0x2262a8;return this['_loadingState$'][_0x2131f6(0x3ff)];}};q=W([U(0x0,N['IMessageService']),U(0x1,e[_0x2262a8(0x4f3)]),U(0x2,e[_0x2262a8(0x48f)]),U(0x3,(0x0,e[_0x2262a8(0x47b)])(e[_0x2262a8(0x2f7)])),U(0x4,(0x0,e[_0x2262a8(0x47b)])(G))],q);let J=class extends e['Disposable']{constructor(_0x1ae405,_0x57401b,_0x4f530b,_0x551213,_0x1c9cd7,_0x421815,_0x139fe9,_0xbed88,_0x28c1f8,_0x38c81d,_0xc57f9b,_0x24e63e,_0x480c13){const _0x53fc97=_0x2262a8;super(),this['_historyManagerService']=_0x1ae405,this[_0x53fc97(0x338)]=_0x57401b,this[_0x53fc97(0x4dd)]=_0x4f530b,this[_0x53fc97(0x414)]=_0x551213,this[_0x53fc97(0x3f2)]=_0x1c9cd7,this[_0x53fc97(0x43f)]=_0x421815,this[_0x53fc97(0x3b4)]=_0x139fe9,this['_sparklineDataSourceModel']=_0xbed88,this[_0x53fc97(0x3b3)]=_0x28c1f8,this[_0x53fc97(0x205)]=_0x38c81d,this[_0x53fc97(0x1a7)]=_0xc57f9b,this[_0x53fc97(0x2d8)]=_0x24e63e,this[_0x53fc97(0x245)]=_0x480c13,H(this,_0x53fc97(0x295),new Map()),H(this,'_currentVersionDiff$',new P[(_0x53fc97(0x421))]({'ranges':new Map(),'active':null,'subUnitIds':[]})),H(this,_0x53fc97(0x345),this[_0x53fc97(0x36b)]['asObservable']()),this[_0x53fc97(0x252)]();}['_init'](){const _0x51c1ec=_0x2262a8;this['_diffRangesMap']=new Map(),this[_0x51c1ec(0x1a8)](this['_historyManagerService']['unitId$'][_0x51c1ec(0x3ad)](_0x3a0f01=>{const _0x25d043=_0x51c1ec;_0x3a0f01&&!this[_0x25d043(0x295)][_0x25d043(0x1ea)](_0x3a0f01)&&this[_0x25d043(0x295)][_0x25d043(0x47c)](_0x3a0f01,new Map());})),this[_0x51c1ec(0x1a8)](this['_historyManagerService'][_0x51c1ec(0x3d6)][_0x51c1ec(0x3ad)](async _0x3091c8=>{const _0x1992c3=_0x51c1ec;if(_0x3091c8){var _0x58e059;await this[_0x1992c3(0x1fb)](_0x3091c8),this[_0x1992c3(0x36b)]['next'](((_0x58e059=this['_diffRangesMap'][_0x1992c3(0x2c8)](this[_0x1992c3(0x3db)][_0x1992c3(0x3f8)]))==null?void 0x0:_0x58e059[_0x1992c3(0x2c8)](_0x3091c8))||{'ranges':new Map(),'active':null,'subUnitIds':[]});}}));}async[_0x2262a8(0x1fb)](_0x5d60ab){const _0x1eee36=_0x2262a8;var _0x4c89c7,_0x2387d2;let _0x31d106=this[_0x1eee36(0x3db)]['getVersion'](_0x5d60ab),_0x25680f=this[_0x1eee36(0x3db)][_0x1eee36(0x3f8)];if(!_0x31d106||!_0x25680f)return;let _0x4de929=this['_diffRangesMap']['get'](_0x25680f);if(_0x4de929||this['_diffRangesMap']['set'](_0x25680f,new Map()),(_0x4c89c7=this['_diffRangesMap'][_0x1eee36(0x2c8)](_0x25680f))!=null&&_0x4c89c7['has'](_0x31d106['id']))return;let {startRev:_0x708f25,endRev:_0x535748}=_0x31d106;if(_0x708f25===0x1){_0x4de929[_0x1eee36(0x47c)](_0x31d106['id'],{'ranges':new Map(),'active':null,'subUnitIds':[]});return;}let _0x1f8ee1=_0x708f25,_0x2135cf=_0x535748,_0x5220db=await this[_0x1eee36(0x245)][_0x1eee36(0x1d4)]({},{'unitId':_0x25680f,'startRevision':_0x1f8ee1,'endRevision':_0x2135cf});if(((_0x2387d2=_0x5220db[_0x1eee36(0x47d)])==null?void 0x0:_0x2387d2[_0x1eee36(0x376)])===L[_0x1eee36(0x272)]['OK']){let _0x199760=_0x5220db[_0x1eee36(0x22a)][_0x1eee36(0x232)](_0x7d823d=>((_0x7d823d['mutations']===null||_0x7d823d[_0x1eee36(0x267)]===void 0x0)&&(_0x7d823d['mutations']=[]),(0x0,n[_0x1eee36(0x208)])(_0x7d823d)))[_0x1eee36(0x232)](_0x2f813f=>_0x2f813f[_0x1eee36(0x267)][_0x1eee36(0x232)](_0x2889e9=>({..._0x2889e9,'params':{..._0x2889e9[_0x1eee36(0x2b4)],'memberId':_0x2f813f[_0x1eee36(0x33a)]||_0x1eee36(0x214)}})))[_0x1eee36(0x3c5)](),_0x53912a=await this['_transformMutationByOrder'](_0x199760),_0x597b71=this['_getActiveSubUnitId'](_0x199760),_0x13bb0c=this[_0x1eee36(0x589)](_0x53912a);_0x4de929[_0x1eee36(0x47c)](_0x31d106['id'],{..._0x13bb0c,'active':_0x597b71});}}[_0x2262a8(0x540)](){const _0x2385e5=_0x2262a8;let _0x2bae40=me(_0x2385e5(0x25b)),_0x552a5a=new Map();return Object[_0x2385e5(0x350)](_0x2bae40)[_0x2385e5(0x3c5)]()['forEach'](_0x134882=>{const _0x13c342=_0x2385e5;_0x552a5a[_0x13c342(0x47c)](_0x134882['id'],_0x134882[_0x13c342(0x3bb)]);}),_0x552a5a;}[_0x2262a8(0x4fe)](_0x79e5e7,_0x9d210f){const _0x5b9f05=_0x2262a8;return this[_0x5b9f05(0x392)](_0x79e5e7,_0x9d210f);}async[_0x2262a8(0x3d5)](_0xf7845){const _0x3c4fa7=_0x2262a8;let _0x5abff1=[];for(let _0x139f97=0x0;_0x139f97<_0xf7845[_0x3c4fa7(0x4d9)];_0x139f97++){let _0x1c5ac0=_0xf7845[_0x139f97];if(_0x5abff1[_0x3c4fa7(0x516)](_0x1c5ac0),_0x139f97!==_0xf7845['length']-0x1){let _0x1cd9f6=_0xf7845[_0x139f97+0x1],_0x233284=this['_transformService'][_0x3c4fa7(0x285)](_0x5abff1,[_0x1cd9f6]);_0x5abff1=(0x0,n[_0x3c4fa7(0x241)])(_0x233284)?_0x233284[_0x3c4fa7(0x360)]:[];}_0x139f97%0xa==0x0&&_0x139f97>0x0&&await this[_0x3c4fa7(0x4c2)]();}return _0x5abff1;}[_0x2262a8(0x4c2)](){return new Promise(_0x5bf19d=>{typeof requestIdleCallback=='function'?requestIdleCallback(()=>_0x5bf19d(),{'timeout':0x64}):setTimeout(_0x5bf19d,0x0);});}[_0x2262a8(0x24a)](_0xf4b764){const _0x2e5475=_0x2262a8;let _0x4d6db9=[];return _0xf4b764[_0x2e5475(0x1aa)](_0x70048c=>{const _0x184445=_0x2e5475;if(_0x70048c['id']===t[_0x184445(0x2e8)]['id']){let _0x28cd25=_0x70048c[_0x184445(0x2b4)];_0x4d6db9[_0x184445(0x516)](_0x28cd25[_0x184445(0x422)]['id']);}else{if(_0x70048c['id']===t[_0x184445(0x282)]['id']){let _0x4d0ed1=_0x70048c[_0x184445(0x2b4)];_0x4d6db9['length']>0x0&&(_0x4d6db9=_0x4d6db9[_0x184445(0x409)](_0x32cebe=>_0x32cebe!==_0x4d0ed1[_0x184445(0x449)]));}else{if(_0x70048c['id']===t[_0x184445(0x297)]['id']){let _0xc218d8=_0x70048c[_0x184445(0x2b4)];_0xc218d8[_0x184445(0x4e3)]?_0x4d6db9=_0x4d6db9[_0x184445(0x409)](_0x446803=>_0x446803!==_0xc218d8[_0x184445(0x449)]):_0x4d6db9['push'](_0xc218d8[_0x184445(0x449)]);}else{let _0x26fd77=_0x70048c['params'];_0x26fd77[_0x184445(0x449)]&&_0x4d6db9[_0x184445(0x516)](_0x26fd77[_0x184445(0x449)]);}}}}),_0x4d6db9[_0x2e5475(0x4d9)]>0x0?_0x4d6db9[_0x4d6db9['length']-0x1]:null;}[_0x2262a8(0x589)](_0x233853){const _0x49c396=_0x2262a8;let _0x23e0e6=new Map(),_0x2e975d=new Map(),_0x5951bd=new Map(),_0x17c548=new Map(),_0x4feef5=new Map(),_0x172f86=new Map(),_0x958430=new Map(),_0x284c1c=new Map(),_0x3a5e4c=new Map(),_0xa66a9f=new Map(),_0x4fa2af=new Map(),_0x46ac01=new Map(),_0x56664f=new Set(),_0x22a120=this[_0x49c396(0x540)]();return _0x233853[_0x49c396(0x1aa)](_0x655881=>{const _0x505292=_0x49c396;var _0x4448fa,_0x16f33a,_0x9ac740,_0x41ff14,_0x3e9718,_0x9b897a,_0x59cbbf,_0x463ad0,_0x1266d8,_0x58a03f,_0x4229b4,_0x2030d6,_0x23d346;let _0x2b8cc5=(_0x4448fa=_0x655881['params'])==null?void 0x0:_0x4448fa[_0x505292(0x4bb)];if(!_0x2b8cc5)return;_0x23e0e6[_0x505292(0x1ea)](_0x2b8cc5)||(_0x23e0e6[_0x505292(0x47c)](_0x2b8cc5,[]),_0x2e975d['set'](_0x2b8cc5,[]),_0x5951bd['set'](_0x2b8cc5,[]),_0x17c548[_0x505292(0x47c)](_0x2b8cc5,[]),_0x4feef5['set'](_0x2b8cc5,[]),_0x172f86[_0x505292(0x47c)](_0x2b8cc5,[]),_0x958430[_0x505292(0x47c)](_0x2b8cc5,[]),_0x284c1c[_0x505292(0x47c)](_0x2b8cc5,[]),_0x3a5e4c[_0x505292(0x47c)](_0x2b8cc5,[]),_0xa66a9f['set'](_0x2b8cc5,[]),_0x4fa2af[_0x505292(0x47c)](_0x2b8cc5,[]),_0x46ac01[_0x505292(0x47c)](_0x2b8cc5,[]));let _0x4e9c5c=this[_0x505292(0x392)](_0x655881,_0x22a120);_0x4e9c5c['subUnitIds'][_0x505292(0x1aa)](_0x213dfd=>_0x56664f[_0x505292(0x3f9)](_0x213dfd)),(_0x16f33a=_0x23e0e6[_0x505292(0x2c8)](_0x2b8cc5))==null||_0x16f33a[_0x505292(0x516)](..._0x4e9c5c[_0x505292(0x4fa)]),(_0x9ac740=_0x2e975d[_0x505292(0x2c8)](_0x2b8cc5))==null||_0x9ac740[_0x505292(0x516)](..._0x4e9c5c['insertCellRanges']),(_0x41ff14=_0x5951bd[_0x505292(0x2c8)](_0x2b8cc5))==null||_0x41ff14[_0x505292(0x516)](..._0x4e9c5c[_0x505292(0x405)]),(_0x3e9718=_0x17c548['get'](_0x2b8cc5))==null||_0x3e9718[_0x505292(0x516)](..._0x4e9c5c[_0x505292(0x488)]),(_0x9b897a=_0x4feef5['get'](_0x2b8cc5))==null||_0x9b897a[_0x505292(0x516)](..._0x4e9c5c[_0x505292(0x2df)]),(_0x59cbbf=_0x172f86[_0x505292(0x2c8)](_0x2b8cc5))==null||_0x59cbbf[_0x505292(0x516)](..._0x4e9c5c[_0x505292(0x30e)]),(_0x463ad0=_0x958430[_0x505292(0x2c8)](_0x2b8cc5))==null||_0x463ad0[_0x505292(0x516)](..._0x4e9c5c[_0x505292(0x327)]),(_0x1266d8=_0x284c1c['get'](_0x2b8cc5))==null||_0x1266d8[_0x505292(0x516)](..._0x4e9c5c[_0x505292(0x473)]),(_0x58a03f=_0x3a5e4c['get'](_0x2b8cc5))==null||_0x58a03f[_0x505292(0x516)](..._0x4e9c5c[_0x505292(0x4e4)]),(_0x4229b4=_0x4fa2af[_0x505292(0x2c8)](_0x2b8cc5))==null||_0x4229b4[_0x505292(0x516)](..._0x4e9c5c[_0x505292(0x4f1)]),(_0x2030d6=_0x46ac01[_0x505292(0x2c8)](_0x2b8cc5))==null||_0x2030d6[_0x505292(0x516)](..._0x4e9c5c[_0x505292(0x429)]),(_0x23d346=_0xa66a9f[_0x505292(0x2c8)](_0x2b8cc5))==null||_0x23d346[_0x505292(0x516)](..._0x4e9c5c[_0x505292(0x1b2)]);}),_0x23e0e6['forEach']((_0x5d2926,_0x550db0)=>{const _0x9d393d=_0x49c396;_0x23e0e6['set'](_0x550db0,this[_0x9d393d(0x2dd)](_0x5d2926)),_0x2e975d[_0x9d393d(0x47c)](_0x550db0,this[_0x9d393d(0x2dd)](_0x2e975d[_0x9d393d(0x2c8)](_0x550db0)||[])),_0x5951bd[_0x9d393d(0x47c)](_0x550db0,this[_0x9d393d(0x2dd)](_0x5951bd[_0x9d393d(0x2c8)](_0x550db0)||[])),_0x17c548[_0x9d393d(0x47c)](_0x550db0,this[_0x9d393d(0x2dd)](_0x17c548['get'](_0x550db0)||[])),_0x4feef5[_0x9d393d(0x47c)](_0x550db0,this[_0x9d393d(0x2dd)](_0x4feef5[_0x9d393d(0x2c8)](_0x550db0)||[])),_0x172f86[_0x9d393d(0x47c)](_0x550db0,this[_0x9d393d(0x2dd)](_0x172f86[_0x9d393d(0x2c8)](_0x550db0)||[])),_0x958430[_0x9d393d(0x47c)](_0x550db0,this[_0x9d393d(0x2dd)](_0x958430[_0x9d393d(0x2c8)](_0x550db0)||[])),_0x284c1c[_0x9d393d(0x47c)](_0x550db0,this[_0x9d393d(0x2dd)](_0x284c1c[_0x9d393d(0x2c8)](_0x550db0)||[])),_0x3a5e4c[_0x9d393d(0x47c)](_0x550db0,this[_0x9d393d(0x2dd)](_0x3a5e4c[_0x9d393d(0x2c8)](_0x550db0)||[]));}),{'ranges':_0x23e0e6,'insertCellRanges':_0x2e975d,'deleteCellRanges':_0x5951bd,'updateCellRanges':_0x17c548,'insertBorderRanges':_0x4feef5,'deleteBorderRanges':_0x172f86,'updateBorderRanges':_0x958430,'arrowRowRanges':_0x284c1c,'arrowColumnRanges':_0x3a5e4c,'insertDrawings':_0x4fa2af,'deleteDrawings':_0x46ac01,'updateDrawings':_0xa66a9f,'subUnitIds':Array['from'](_0x56664f)};}[_0x2262a8(0x392)](_0xeac814,_0x113c86){const _0x1d26d5=_0x2262a8;let _0x452fac={'allRanges':[],'insertCellRanges':[],'deleteCellRanges':[],'updateCellRanges':[],'insertBorderRanges':[],'deleteBorderRanges':[],'updateBorderRanges':[],'arrowRowRanges':[],'arrowColumnRanges':[],'insertDrawings':[],'deleteDrawings':[],'updateDrawings':[],'subUnitIds':[]},_0x5e8ca8=_0xeac814['id'],_0x3d87db=_0xeac814['params'],_0x12a94e=_0x113c86[_0x1d26d5(0x2c8)](_0x5e8ca8),_0x329ec0=_0x12a94e?this['_localeService']['t'](_0x12a94e):'';_0x3d87db[_0x1d26d5(0x449)]&&_0x452fac[_0x1d26d5(0x54b)][_0x1d26d5(0x516)](_0x3d87db[_0x1d26d5(0x449)]);let _0x526c98=(_0x151384,_0x539681)=>{const _0x501417=_0x1d26d5;let _0x328c5f=_0x151384['map'](_0x5f410d=>({..._0x5f410d,'showText':_0x329ec0}));switch(_0x452fac['allRanges']['push'](..._0x328c5f),_0x539681){case _0x501417(0x583):_0x452fac[_0x501417(0x442)][_0x501417(0x516)](..._0x328c5f);break;case _0x501417(0x362):_0x452fac[_0x501417(0x405)][_0x501417(0x516)](..._0x328c5f);break;case _0x501417(0x1b3):_0x452fac[_0x501417(0x488)][_0x501417(0x516)](..._0x328c5f);break;case _0x501417(0x394):_0x452fac[_0x501417(0x2df)][_0x501417(0x516)](..._0x328c5f);break;case _0x501417(0x3e6):_0x452fac[_0x501417(0x30e)]['push'](..._0x328c5f);break;case _0x501417(0x261):_0x452fac[_0x501417(0x327)]['push'](..._0x328c5f);break;case'arrowRow':_0x452fac[_0x501417(0x473)][_0x501417(0x516)](..._0x328c5f);break;case'arrowColumn':_0x452fac[_0x501417(0x4e4)][_0x501417(0x516)](..._0x328c5f);break;}};switch(_0x5e8ca8){case t[_0x1d26d5(0x3a9)]['id']:{let _0x44e105=_0x3d87db;_0x526c98([{'range':{..._0x44e105[_0x1d26d5(0x40d)],'rangeType':e[_0x1d26d5(0x3cf)]['ROW']},'unitId':_0x44e105['unitId'],'subUnitId':_0x44e105['subUnitId'],'showText':_0x1d26d5(0x220),'highlightRow':!0x0}],_0x1d26d5(0x583));break;}case t['InsertColMutation']['id']:{let _0xad4b24=_0x3d87db;_0x526c98([{'range':{..._0xad4b24[_0x1d26d5(0x40d)],'rangeType':e[_0x1d26d5(0x3cf)][_0x1d26d5(0x54a)]},'unitId':_0xad4b24[_0x1d26d5(0x3f8)],'subUnitId':_0xad4b24[_0x1d26d5(0x449)],'showText':'insertCol','highlightColumn':!0x0}],_0x1d26d5(0x583));break;}case t[_0x1d26d5(0x3c6)]['id']:{let _0x18e341=_0x3d87db;_0x526c98(_0x18e341[_0x1d26d5(0x2bf)][_0x1d26d5(0x232)](_0x235c4e=>({'range':_0x235c4e,'unitId':_0x18e341[_0x1d26d5(0x3f8)],'subUnitId':_0x18e341['subUnitId'],'showText':_0x1d26d5(0x210)})),'insert');break;}case t[_0x1d26d5(0x314)]['id']:{let _0x525256=_0x3d87db;_0x526c98(Object['values'](_0x525256[_0x1d26d5(0x350)])[_0x1d26d5(0x232)](_0x265f1c=>_0x265f1c[_0x1d26d5(0x2bf)][_0x1d26d5(0x232)](_0x33beac=>({'range':_0x33beac,'unitId':_0x525256[_0x1d26d5(0x3f8)],'subUnitId':_0x525256['subUnitId'],'showText':_0x1d26d5(0x544)})))[_0x1d26d5(0x3c5)](),_0x1d26d5(0x583));break;}case t[_0x1d26d5(0x553)]['id']:{let _0x35e0fd=_0x3d87db;_0x526c98(_0x35e0fd[_0x1d26d5(0x2bf)][_0x1d26d5(0x232)](_0x3d3796=>({'range':_0x3d3796,'unitId':_0x35e0fd[_0x1d26d5(0x3f8)],'subUnitId':_0x35e0fd[_0x1d26d5(0x449)],'showText':'unmergeCells'})),_0x1d26d5(0x362));break;}case t[_0x1d26d5(0x4cd)]['id']:{let _0x3a33d1=_0x3d87db;_0x526c98(_0x3a33d1['ranges'][_0x1d26d5(0x232)](_0x305c51=>({'range':_0x305c51,'unitId':_0x3a33d1[_0x1d26d5(0x3f8)],'subUnitId':_0x3a33d1[_0x1d26d5(0x449)],'showText':'removeNumfmt'})),_0x1d26d5(0x362));break;}case t[_0x1d26d5(0x572)]['id']:{let _0x3d5fe3=_0x3d87db;_0x526c98([{'range':{..._0x3d5fe3[_0x1d26d5(0x30b)],'rangeType':e['RANGE_TYPE'][_0x1d26d5(0x1ad)]},'unitId':_0x3d5fe3[_0x1d26d5(0x3f8)],'subUnitId':_0x3d5fe3[_0x1d26d5(0x449)],'showText':_0x1d26d5(0x206)}],_0x1d26d5(0x362)),_0x526c98([{'range':{..._0x3d5fe3['targetRange'],'rangeType':e[_0x1d26d5(0x3cf)][_0x1d26d5(0x1ad)]},'unitId':_0x3d5fe3[_0x1d26d5(0x3f8)],'subUnitId':_0x3d5fe3[_0x1d26d5(0x449)],'showText':'moveRows'}],_0x1d26d5(0x583));break;}case t['MoveColsMutation']['id']:{let _0x5c03e9=_0x3d87db;_0x526c98([{'range':{..._0x5c03e9[_0x1d26d5(0x30b)],'rangeType':e['RANGE_TYPE']['COLUMN']},'unitId':_0x5c03e9[_0x1d26d5(0x3f8)],'subUnitId':_0x5c03e9[_0x1d26d5(0x449)],'showText':_0x1d26d5(0x293)}],_0x1d26d5(0x362)),_0x526c98([{'range':{..._0x5c03e9[_0x1d26d5(0x53a)],'rangeType':e[_0x1d26d5(0x3cf)][_0x1d26d5(0x54a)]},'unitId':_0x5c03e9['unitId'],'subUnitId':_0x5c03e9[_0x1d26d5(0x449)],'showText':_0x1d26d5(0x293)}],_0x1d26d5(0x583));break;}case t[_0x1d26d5(0x32e)]['id']:{let _0x1ba428=_0x3d87db;_0x526c98(_0x1ba428[_0x1d26d5(0x2bf)][_0x1d26d5(0x232)](_0x33b000=>({'range':{..._0x33b000,'rangeType':e[_0x1d26d5(0x3cf)][_0x1d26d5(0x1ad)]},'unitId':_0x1ba428['unitId'],'subUnitId':_0x1ba428['subUnitId'],'showText':_0x1d26d5(0x2b8),'highlightRow':!0x0})),'update');break;}case t[_0x1d26d5(0x2be)]['id']:{let _0x458aad=_0x3d87db;_0x458aad['rowData']&&_0x458aad['subUnitId']&&Object[_0x1d26d5(0x407)](_0x458aad[_0x1d26d5(0x456)])['map'](Number)['forEach'](_0x309c26=>{const _0x4a6898=_0x1d26d5;_0x526c98([{'range':{'startRow':_0x309c26,'endRow':_0x309c26,'startColumn':NaN,'endColumn':NaN,'rangeType':e['RANGE_TYPE'][_0x4a6898(0x1ad)]},'unitId':_0x458aad[_0x4a6898(0x3f8)],'subUnitId':_0x458aad[_0x4a6898(0x449)],'showText':_0x4a6898(0x43e),'highlightRow':!0x0}],_0x4a6898(0x1b3));});break;}case t['SetColVisibleMutation']['id']:{let _0x2e71a2=_0x3d87db;_0x526c98(_0x2e71a2[_0x1d26d5(0x2bf)]['map'](_0x1c610b=>({'range':{..._0x1c610b,'rangeType':e['RANGE_TYPE'][_0x1d26d5(0x54a)]},'unitId':_0x2e71a2[_0x1d26d5(0x3f8)],'subUnitId':_0x2e71a2[_0x1d26d5(0x449)],'showText':_0x1d26d5(0x1c8),'highlightColumn':!0x0})),_0x1d26d5(0x1b3));break;}case t[_0x1d26d5(0x1e7)]['id']:{let _0x55dce9=_0x3d87db;_0x55dce9[_0x1d26d5(0x3a0)]&&_0x55dce9['subUnitId']&&Object[_0x1d26d5(0x407)](_0x55dce9['columnData'])['map'](Number)['forEach'](_0x5a009e=>{const _0x1ca4e7=_0x1d26d5;_0x526c98([{'range':{'startRow':NaN,'endRow':NaN,'startColumn':_0x5a009e,'endColumn':_0x5a009e,'rangeType':e[_0x1ca4e7(0x3cf)][_0x1ca4e7(0x54a)]},'unitId':_0x55dce9[_0x1ca4e7(0x3f8)],'subUnitId':_0x55dce9['subUnitId'],'showText':_0x1ca4e7(0x510),'highlightColumn':!0x0}],_0x1ca4e7(0x1b3));});break;}case t[_0x1d26d5(0x340)]['id']:{let _0x35734b=_0x3d87db;_0x526c98(_0x35734b[_0x1d26d5(0x427)]?Ce(_0x35734b[_0x1d26d5(0x427)])[_0x1d26d5(0x232)](_0x291ab9=>({'range':_0x291ab9,'unitId':_0x35734b[_0x1d26d5(0x3f8)],'subUnitId':_0x35734b[_0x1d26d5(0x449)],'showText':_0x1d26d5(0x23e)})):[],_0x1d26d5(0x1b3));break;}case t[_0x1d26d5(0x357)]['id']:{let _0x54cce5=_0xeac814[_0x1d26d5(0x2b4)];_0x526c98([{'range':Se(_0x54cce5[_0x1d26d5(0x55a)][_0x1d26d5(0x3ff)]),'unitId':_0x54cce5[_0x1d26d5(0x3f8)],'subUnitId':_0x54cce5[_0x1d26d5(0x55a)][_0x1d26d5(0x449)],'showText':_0x1d26d5(0x474)}],'delete'),_0x526c98([{'range':Se(_0x54cce5['to'][_0x1d26d5(0x3ff)]),'unitId':_0x54cce5['unitId'],'subUnitId':_0x54cce5['to'][_0x1d26d5(0x449)],'showText':_0x1d26d5(0x474)}],'insert');break;}case t[_0x1d26d5(0x4ef)]['id']:{let _0xa33358=_0x3d87db;_0x526c98([{'range':_0xa33358[_0x1d26d5(0x40d)],'unitId':_0xa33358[_0x1d26d5(0x3f8)],'subUnitId':_0xa33358[_0x1d26d5(0x449)]}],_0x1d26d5(0x1b3));break;}case t[_0x1d26d5(0x406)]['id']:{let _0x5e8e45=_0x3d87db;_0x5e8e45[_0x1d26d5(0x2bf)]&&_0x5e8e45[_0x1d26d5(0x2bf)][_0x1d26d5(0x4d9)]>0x0&&_0x5e8e45[_0x1d26d5(0x449)]&&_0x526c98(_0x5e8e45[_0x1d26d5(0x2bf)][_0x1d26d5(0x232)](_0x1d60d0=>({'range':_0x1d60d0,'unitId':_0x5e8e45['unitId'],'subUnitId':_0x5e8e45['subUnitId'],'showText':_0x1d26d5(0x57a)})),'arrowRow');break;}case t[_0x1d26d5(0x2cf)]['id']:{let _0x7205ec=_0x3d87db;_0x7205ec[_0x1d26d5(0x2bf)]&&_0x7205ec['ranges'][_0x1d26d5(0x4d9)]>0x0&&_0x7205ec['subUnitId']&&_0x526c98(_0x7205ec[_0x1d26d5(0x2bf)]['map'](_0x1341b1=>({'range':_0x1341b1,'unitId':_0x7205ec['unitId'],'subUnitId':_0x7205ec[_0x1d26d5(0x449)],'showText':_0x1d26d5(0x2e4)})),_0x1d26d5(0x588));break;}case t['AddRangeProtectionMutation']['id']:{let _0x5abcb3=_0x3d87db;_0x526c98(_0x5abcb3[_0x1d26d5(0x476)][_0x1d26d5(0x232)](_0x32958f=>_0x32958f[_0x1d26d5(0x2bf)]['map'](_0x286c7d=>({'range':_0x286c7d,'unitId':_0x5abcb3['unitId'],'subUnitId':_0x5abcb3[_0x1d26d5(0x449)],'showText':_0x1d26d5(0x1f8)})))[_0x1d26d5(0x3c5)](),_0x1d26d5(0x394));break;}case S[_0x1d26d5(0x1de)]['id']:{let _0x35ef03=_0x3d87db;_0x526c98(_0x35ef03['rule'][_0x1d26d5(0x2bf)][_0x1d26d5(0x232)](_0x3de4e6=>({'range':_0x3de4e6,'unitId':_0x35ef03[_0x1d26d5(0x3f8)],'subUnitId':_0x35ef03[_0x1d26d5(0x449)],'showText':_0x1d26d5(0x318)})),'insertBorder');break;}case p['AddDataValidationMutation']['id']:{let _0x45fecc=_0x3d87db;_0x526c98((Array['isArray'](_0x45fecc[_0x1d26d5(0x204)])?_0x45fecc['rule']:[_0x45fecc[_0x1d26d5(0x204)]])[_0x1d26d5(0x232)](_0x53a5e7=>_0x53a5e7[_0x1d26d5(0x2bf)][_0x1d26d5(0x232)](_0x280070=>({'range':_0x280070,'unitId':_0x45fecc[_0x1d26d5(0x3f8)],'subUnitId':_0x45fecc['subUnitId'],'showText':_0x1d26d5(0x53f)})))['flat'](),_0x1d26d5(0x394));break;}case t[_0x1d26d5(0x49c)]['id']:{let _0x59d5d2=_0x3d87db,_0x2196b3=_0x59d5d2[_0x1d26d5(0x3f8)],_0x17cebf=_0x59d5d2[_0x1d26d5(0x449)];_0x59d5d2[_0x1d26d5(0x4c7)]&&_0x59d5d2[_0x1d26d5(0x4c7)][_0x1d26d5(0x4d9)]>0x0&&_0x59d5d2[_0x1d26d5(0x449)]&&_0x59d5d2[_0x1d26d5(0x4c7)][_0x1d26d5(0x1aa)](_0x496e8d=>{const _0x463f2f=_0x1d26d5;let _0x124d58=this[_0x463f2f(0x414)][_0x463f2f(0x3f3)](_0x2196b3,_0x17cebf,_0x496e8d),_0x4bf526=(_0x124d58==null?void 0x0:_0x124d58[_0x463f2f(0x2bf)][_0x463f2f(0x232)](_0x3ad7e1=>({'range':_0x3ad7e1,'unitId':_0x2196b3,'subUnitId':_0x17cebf,'showText':_0x463f2f(0x499)})))||[];_0x4bf526[_0x463f2f(0x4d9)]>0x0&&_0x526c98(_0x4bf526,'deleteBorder');});break;}case S[_0x1d26d5(0x2d3)]['id']:{let _0x359b1e=_0x3d87db;if(_0x359b1e[_0x1d26d5(0x4a5)]&&_0x359b1e[_0x1d26d5(0x449)]){let _0x3cd585=this['_conditionalFormattingRuleModel']['getRule'](_0x359b1e[_0x1d26d5(0x3f8)],_0x359b1e[_0x1d26d5(0x449)],_0x359b1e[_0x1d26d5(0x4a5)]);if(_0x3cd585){let _0x4ac0c0=_0x3cd585['ranges'][_0x1d26d5(0x232)](_0x4e4751=>({'range':_0x4e4751,'unitId':_0x359b1e['unitId'],'subUnitId':_0x359b1e[_0x1d26d5(0x449)],'showText':_0x1d26d5(0x358)}));_0x4ac0c0[_0x1d26d5(0x4d9)]>0x0&&_0x526c98(_0x4ac0c0,'deleteBorder');}}break;}case p[_0x1d26d5(0x491)]['id']:{let _0x194e69=_0x3d87db,_0x3ccdaa=Array['isArray'](_0x194e69['ruleId'])?_0x194e69[_0x1d26d5(0x529)]:[_0x194e69['ruleId']];_0x3ccdaa['length']>0x0&&_0x194e69['subUnitId']&&_0x3ccdaa['forEach'](_0x5aadaa=>{const _0x21f0c2=_0x1d26d5;let _0x5e5e20=this[_0x21f0c2(0x43f)][_0x21f0c2(0x322)](_0x194e69[_0x21f0c2(0x3f8)],_0x194e69['subUnitId'],_0x5aadaa),_0x23ad9a=(_0x5e5e20==null?void 0x0:_0x5e5e20['ranges'][_0x21f0c2(0x232)](_0x481b34=>({'range':_0x481b34,'unitId':_0x194e69[_0x21f0c2(0x3f8)],'subUnitId':_0x194e69['subUnitId'],'showText':_0x21f0c2(0x1c5)})))||[];_0x23ad9a['length']>0x0&&_0x526c98(_0x23ad9a,_0x21f0c2(0x3e6));});break;}case t['SetRangeProtectionMutation']['id']:{let _0x14d769=_0x3d87db;_0x526c98(_0x14d769[_0x1d26d5(0x204)][_0x1d26d5(0x2bf)][_0x1d26d5(0x232)](_0x23da80=>({'range':_0x23da80,'unitId':_0x14d769[_0x1d26d5(0x3f8)],'subUnitId':_0x14d769['subUnitId'],'showText':_0x1d26d5(0x38e)})),_0x1d26d5(0x261));break;}case t[_0x1d26d5(0x20f)]['id']:{let _0x2a360f=_0x3d87db;_0x526c98([{'range':_0x2a360f[_0x1d26d5(0x40d)],'unitId':_0x2a360f[_0x1d26d5(0x3f8)],'subUnitId':_0x2a360f[_0x1d26d5(0x449)],'showText':_0x1d26d5(0x225)}],_0x1d26d5(0x261));break;}case t[_0x1d26d5(0x2ec)]['id']:{let _0x293f3f=_0x3d87db;_0x526c98([{'range':_0x293f3f['range'],'unitId':_0x293f3f[_0x1d26d5(0x3f8)],'subUnitId':_0x293f3f[_0x1d26d5(0x449)],'showText':_0x1d26d5(0x2e9)}],'updateBorder');break;}case S[_0x1d26d5(0x4c0)]['id']:{let _0x239ecf=_0x3d87db;_0x526c98(_0x239ecf['rule'][_0x1d26d5(0x2bf)][_0x1d26d5(0x232)](_0x279f9a=>({'range':_0x279f9a,'unitId':_0x239ecf[_0x1d26d5(0x3f8)],'subUnitId':_0x239ecf['subUnitId'],'showText':_0x1d26d5(0x318)})),_0x1d26d5(0x261));break;}case S[_0x1d26d5(0x42c)]['id']:{let _0x182ac0=_0x3d87db,_0x4ac434=this['_conditionalFormattingRuleModel'][_0x1d26d5(0x3f3)](_0x182ac0['unitId'],_0x182ac0['subUnitId'],_0x182ac0[_0x1d26d5(0x2a6)]['id']),_0x219231=this['_conditionalFormattingRuleModel']['getRule'](_0x182ac0[_0x1d26d5(0x3f8)],_0x182ac0[_0x1d26d5(0x449)],_0x182ac0[_0x1d26d5(0x471)]['id']);_0x4ac434&&_0x526c98(_0x4ac434[_0x1d26d5(0x2bf)][_0x1d26d5(0x232)](_0x3bb783=>({'range':_0x3bb783,'unitId':_0x182ac0[_0x1d26d5(0x3f8)],'subUnitId':_0x182ac0['subUnitId'],'showText':_0x1d26d5(0x40f)})),_0x1d26d5(0x3e6)),_0x219231&&_0x526c98(_0x219231[_0x1d26d5(0x2bf)][_0x1d26d5(0x232)](_0x5e5d5c=>({'range':_0x5e5d5c,'unitId':_0x182ac0['unitId'],'subUnitId':_0x182ac0[_0x1d26d5(0x449)],'showText':'moveCF'})),_0x1d26d5(0x394));break;}case O[_0x1d26d5(0x390)]['id']:{let _0x46712b=_0x3d87db;_0x526c98([{'range':_0x46712b[_0x1d26d5(0x40d)],'unitId':_0x46712b[_0x1d26d5(0x3f8)],'subUnitId':_0x46712b['subUnitId'],'showText':_0x1d26d5(0x1d6)}],_0x1d26d5(0x261));break;}case O['SetSheetsFilterCriteriaMutation']['id']:{let _0x39c13b=_0x3d87db,_0x3332ee=this[_0x1d26d5(0x3b4)][_0x1d26d5(0x265)](_0x39c13b[_0x1d26d5(0x3f8)],_0x39c13b[_0x1d26d5(0x449)]);if(_0x3332ee){let _0xa55405=_0x3332ee[_0x1d26d5(0x4d8)]();_0x526c98(_0xa55405?[{'range':_0xa55405,'unitId':_0x39c13b[_0x1d26d5(0x3f8)],'subUnitId':_0x39c13b['subUnitId'],'showText':_0x1d26d5(0x472)}]:[],_0x1d26d5(0x261));}break;}case O[_0x1d26d5(0x29a)]['id']:{let _0x4fe32b=_0x3d87db,_0x375c=this['_sheetsFilterService'][_0x1d26d5(0x265)](_0x4fe32b[_0x1d26d5(0x3f8)],_0x4fe32b[_0x1d26d5(0x449)]);if(_0x375c){let _0xb08237=_0x375c['getRange']();_0x526c98(_0xb08237?[{'range':_0xb08237,'unitId':_0x4fe32b['unitId'],'subUnitId':_0x4fe32b[_0x1d26d5(0x449)],'showText':_0x1d26d5(0x1f5)}]:[],_0x1d26d5(0x261));}break;}case O['ReCalcSheetsFilterMutation']['id']:{let _0x4fbcc6=_0x3d87db,_0x51bf97=this[_0x1d26d5(0x3b4)][_0x1d26d5(0x265)](_0x4fbcc6[_0x1d26d5(0x3f8)],_0x4fbcc6[_0x1d26d5(0x449)]);if(_0x51bf97){let _0x3965f5=_0x51bf97[_0x1d26d5(0x4d8)]();_0x526c98(_0x3965f5?[{'range':_0x3965f5,'unitId':_0x4fbcc6[_0x1d26d5(0x3f8)],'subUnitId':_0x4fbcc6[_0x1d26d5(0x449)],'showText':_0x1d26d5(0x1f5)}]:[],_0x1d26d5(0x261));}break;}case p[_0x1d26d5(0x306)]['id']:{let _0x465372=_0x3d87db,_0x3f191f=this[_0x1d26d5(0x43f)]['getRuleById'](_0x465372[_0x1d26d5(0x3f8)],_0x465372[_0x1d26d5(0x449)],_0x465372[_0x1d26d5(0x529)]);_0x3f191f&&_0x526c98(_0x3f191f[_0x1d26d5(0x2bf)][_0x1d26d5(0x232)](_0x335e72=>({'range':_0x335e72,'unitId':_0x465372['unitId'],'subUnitId':_0x465372['subUnitId'],'showText':_0x1d26d5(0x53f)})),'updateBorder');break;}case d['AddSheetSparklineMutation']['id']:{let _0x44b1d8=_0x3d87db,_0x5de83a=_0x44b1d8['unitId'],_0x513940=_0x44b1d8[_0x1d26d5(0x449)],_0xd6f30b=_0x44b1d8[_0x1d26d5(0x569)];_0x44b1d8[_0x1d26d5(0x569)]&&_0x513940&&Object[_0x1d26d5(0x407)](_0x44b1d8[_0x1d26d5(0x569)])[_0x1d26d5(0x1aa)](_0x1573ec=>{const _0x2c3475=_0x1d26d5;let _0x3aa2f7=_0xd6f30b[_0x1573ec],_0x296712=Ce(_0x3aa2f7[_0x2c3475(0x3ce)])[_0x2c3475(0x232)](_0x551ede=>({'range':_0x551ede,'unitId':_0x5de83a,'subUnitId':_0x513940,'showText':_0x2c3475(0x483)}));_0x526c98(_0x296712,_0x2c3475(0x583));});break;}case d[_0x1d26d5(0x317)]['id']:{let _0x59c16d=_0x3d87db;_0x59c16d[_0x1d26d5(0x2ed)]&&_0x59c16d[_0x1d26d5(0x2ed)][_0x1d26d5(0x4d9)]>0x0&&_0x59c16d[_0x1d26d5(0x449)]&&_0x59c16d[_0x1d26d5(0x2ed)][_0x1d26d5(0x1aa)](_0x321a4f=>{const _0x326bc2=_0x1d26d5;let _0x2c9349=this[_0x326bc2(0x535)][_0x326bc2(0x4e9)](_0x59c16d['unitId'],_0x59c16d[_0x326bc2(0x449)],_0x321a4f);if(_0x2c9349){let _0x4fb634=Ce(_0x2c9349[_0x326bc2(0x3ce)]['getMatrix']())[_0x326bc2(0x232)](_0x4f9a9a=>({'range':_0x4f9a9a,'unitId':_0x59c16d[_0x326bc2(0x3f8)],'subUnitId':_0x59c16d[_0x326bc2(0x449)],'showText':_0x326bc2(0x4e8)}));_0x526c98(_0x4fb634,_0x326bc2(0x1b3));}});break;}case d[_0x1d26d5(0x52c)]['id']:{let _0x658412=_0x3d87db;_0x658412[_0x1d26d5(0x2ed)]&&_0x658412['groupIds'][_0x1d26d5(0x4d9)]>0x0&&_0x658412[_0x1d26d5(0x449)]&&_0x658412[_0x1d26d5(0x2ed)][_0x1d26d5(0x1aa)](_0x23e90a=>{const _0x4e018e=_0x1d26d5;let _0x5348fb=this[_0x4e018e(0x535)][_0x4e018e(0x4e9)](_0x658412['unitId'],_0x658412[_0x4e018e(0x449)],_0x23e90a);if(_0x5348fb){let _0x1ce6b4=Ce(_0x5348fb['sparklines'][_0x4e018e(0x3ac)]())['map'](_0x52b892=>({'range':_0x52b892,'unitId':_0x658412[_0x4e018e(0x3f8)],'subUnitId':_0x658412[_0x4e018e(0x449)],'showText':_0x4e018e(0x3c7)}));_0x526c98(_0x1ce6b4,'delete');}});break;}case j[_0x1d26d5(0x243)]['id']:{let _0x1844b5=_0x3d87db;_0x1844b5[_0x1d26d5(0x29f)]&&_0x1844b5[_0x1d26d5(0x449)]&&_0x526c98([{'range':_0x1844b5[_0x1d26d5(0x40d)],'unitId':_0x1844b5[_0x1d26d5(0x3f8)],'subUnitId':_0x1844b5['subUnitId'],'showText':_0x1d26d5(0x331)}],_0x1d26d5(0x583));break;}case j['DeleteSheetTableMutation']['id']:{let _0x20afc4=_0x3d87db;if(_0x20afc4[_0x1d26d5(0x29f)]&&_0x20afc4[_0x1d26d5(0x449)]){var _0x25d3cb;let _0x3e5108=(_0x25d3cb=this[_0x1d26d5(0x205)]['getTableInfo'](_0x20afc4[_0x1d26d5(0x3f8)],_0x20afc4['tableId']))==null?void 0x0:_0x25d3cb[_0x1d26d5(0x40d)];_0x3e5108&&_0x526c98([{'range':_0x3e5108,'unitId':_0x20afc4[_0x1d26d5(0x3f8)],'subUnitId':_0x20afc4[_0x1d26d5(0x449)],'showText':'removeTable'}],_0x1d26d5(0x362));}break;}case j['SetSheetTableFilterMutation']['id']:{let _0x1c2be9=_0xeac814[_0x1d26d5(0x2b4)];if(_0x1c2be9['tableId']){let _0x1eea28=this[_0x1d26d5(0x205)]['getTableInfo'](_0x1c2be9[_0x1d26d5(0x3f8)],_0x1c2be9['tableId']);_0x1eea28&&_0x1eea28[_0x1d26d5(0x40d)]&&_0x1eea28[_0x1d26d5(0x449)]&&(_0x452fac['subUnitIds'][_0x1d26d5(0x516)](_0x1eea28['subUnitId']),_0x526c98([{'range':_0x1eea28[_0x1d26d5(0x40d)],'unitId':_0x1c2be9[_0x1d26d5(0x3f8)],'subUnitId':_0x1eea28[_0x1d26d5(0x449)],'showText':_0x1d26d5(0x2f5)}],_0x1d26d5(0x1b3)));}break;}case j[_0x1d26d5(0x38c)]['id']:{let _0x39c02b=_0x3d87db;if(_0x39c02b[_0x1d26d5(0x29f)]&&_0x39c02b[_0x1d26d5(0x449)]){var _0x1c5a46;let _0x41197a=(_0x1c5a46=this[_0x1d26d5(0x205)][_0x1d26d5(0x4ee)](_0x39c02b[_0x1d26d5(0x3f8)],_0x39c02b[_0x1d26d5(0x29f)]))==null?void 0x0:_0x1c5a46[_0x1d26d5(0x40d)];_0x41197a&&_0x526c98([{'range':_0x41197a,'unitId':_0x39c02b['unitId'],'subUnitId':_0x39c02b[_0x1d26d5(0x449)],'showText':_0x1d26d5(0x2d6)}],_0x1d26d5(0x1b3));}break;}case c[_0x1d26d5(0x311)]['id']:{let _0x10ab0f=_0x3d87db;if(_0x10ab0f[_0x1d26d5(0x257)]&&_0x10ab0f[_0x1d26d5(0x449)]){var _0x2795;let _0xd104c9=(_0x2795=this[_0x1d26d5(0x3b3)][_0x1d26d5(0x4f2)](_0x10ab0f[_0x1d26d5(0x3f8)],_0x10ab0f[_0x1d26d5(0x449)],_0x10ab0f[_0x1d26d5(0x257)]))==null?void 0x0:_0x2795[_0x1d26d5(0x3e8)];_0xd104c9&&_0x526c98((0x0,c[_0x1d26d5(0x4d1)])(_0xd104c9)[_0x1d26d5(0x232)](_0x34a6ab=>({'range':_0x34a6ab,'unitId':_0x10ab0f[_0x1d26d5(0x3f8)],'subUnitId':_0x10ab0f[_0x1d26d5(0x449)],'showText':'addPivotTable'})),_0x1d26d5(0x583));}break;}case c['RemovePivotTableMutation']['id']:{let _0x4b4bf1=_0x3d87db;if(_0x4b4bf1[_0x1d26d5(0x257)]&&_0x4b4bf1[_0x1d26d5(0x449)]){var _0x169b21;let _0x5c2c00=(_0x169b21=this[_0x1d26d5(0x3b3)][_0x1d26d5(0x4f2)](_0x4b4bf1[_0x1d26d5(0x3f8)],_0x4b4bf1[_0x1d26d5(0x449)],_0x4b4bf1[_0x1d26d5(0x257)]))==null?void 0x0:_0x169b21[_0x1d26d5(0x3e8)];_0x5c2c00&&_0x526c98((0x0,c['unionPivotViewRange'])(_0x5c2c00)[_0x1d26d5(0x232)](_0x1e9008=>({'range':_0x1e9008,'unitId':_0x4b4bf1[_0x1d26d5(0x3f8)],'subUnitId':_0x4b4bf1['subUnitId'],'showText':'removePivotTable'})),_0x1d26d5(0x362));}break;}case c[_0x1d26d5(0x222)]['id']:case c['SetPivotPositionMutation']['id']:case c[_0x1d26d5(0x3a2)]['id']:case c[_0x1d26d5(0x236)]['id']:case c[_0x1d26d5(0x221)]['id']:case c[_0x1d26d5(0x3a6)]['id']:case c['UpdateFieldPositionMutation']['id']:case c['UpdateValuePositionMutation']['id']:case c[_0x1d26d5(0x4d5)]['id']:case c['SetPivotFilterMutation']['id']:case c[_0x1d26d5(0x526)]['id']:case c[_0x1d26d5(0x44e)]['id']:case c[_0x1d26d5(0x2b3)]['id']:case c[_0x1d26d5(0x276)]['id']:case c[_0x1d26d5(0x51c)]['id']:{let _0x470bd5=_0x3d87db,_0x578c91=_0x1d26d5(0x4dc);if(_0x5e8ca8===c[_0x1d26d5(0x222)]['id']?_0x578c91='setPivotOption':_0x5e8ca8===c[_0x1d26d5(0x1dd)]['id']?_0x578c91=_0x1d26d5(0x3f6):_0x5e8ca8===c[_0x1d26d5(0x3a2)]['id']?_0x578c91=_0x1d26d5(0x4e5):_0x5e8ca8===c[_0x1d26d5(0x236)]['id']?_0x578c91=_0x1d26d5(0x582):_0x5e8ca8===c[_0x1d26d5(0x221)]['id']?_0x578c91='removePivotField':_0x5e8ca8===c[_0x1d26d5(0x3a6)]['id']?_0x578c91=_0x1d26d5(0x3b7):_0x5e8ca8===c['UpdateFieldPositionMutation']['id']?_0x578c91=_0x1d26d5(0x46a):_0x5e8ca8===c[_0x1d26d5(0x2c9)]['id']?_0x578c91=_0x1d26d5(0x44c):_0x5e8ca8===c['UpdatePivotFieldSourceInfoMutation']['id']?_0x578c91=_0x1d26d5(0x52e):_0x5e8ca8===c[_0x1d26d5(0x498)]['id']?_0x578c91=_0x1d26d5(0x1b8):_0x5e8ca8===c['SetPivotValueFilterMutation']['id']?_0x578c91=_0x1d26d5(0x4de):_0x5e8ca8===c[_0x1d26d5(0x44e)]['id']?_0x578c91='setPivotSort':_0x5e8ca8===c[_0x1d26d5(0x2b3)]['id']?_0x578c91=_0x1d26d5(0x2bb):_0x5e8ca8===c[_0x1d26d5(0x51c)]['id']?_0x578c91=_0x1d26d5(0x500):_0x5e8ca8===c['SetPivotFieldFormatMutation']['id']&&(_0x578c91='setPivotFieldFormat'),_0x470bd5[_0x1d26d5(0x257)]&&_0x470bd5[_0x1d26d5(0x449)]){var _0x16f8b6;let _0x52808a=(_0x16f8b6=this[_0x1d26d5(0x3b3)][_0x1d26d5(0x4f2)](_0x470bd5[_0x1d26d5(0x3f8)],_0x470bd5[_0x1d26d5(0x449)],_0x470bd5['pivotTableId']))==null?void 0x0:_0x16f8b6[_0x1d26d5(0x3e8)];_0x52808a&&_0x526c98((0x0,c[_0x1d26d5(0x4d1)])(_0x52808a)[_0x1d26d5(0x232)](_0x5b7198=>({'range':_0x5b7198,'unitId':_0x470bd5['unitId'],'subUnitId':_0x470bd5[_0x1d26d5(0x449)],'showText':_0x578c91})),_0x1d26d5(0x1b3));}break;}case o['InsertSheetsChartMutation']['id']:{let _0x2a8f8a=_0x3d87db;_0x2a8f8a[_0x1d26d5(0x546)]&&_0x452fac[_0x1d26d5(0x4f1)][_0x1d26d5(0x516)]({'drawingId':_0x2a8f8a['chartId'],'unitId':_0x2a8f8a[_0x1d26d5(0x3f8)],'subUnitId':_0x2a8f8a[_0x1d26d5(0x449)],'showText':_0x329ec0});break;}case o[_0x1d26d5(0x4b2)]['id']:{let _0x1baf41=_0x3d87db;_0x1baf41[_0x1d26d5(0x546)]&&_0x452fac[_0x1d26d5(0x429)][_0x1d26d5(0x516)]({'drawingId':_0x1baf41[_0x1d26d5(0x546)],'unitId':_0x1baf41[_0x1d26d5(0x3f8)],'subUnitId':_0x1baf41[_0x1d26d5(0x449)],'showText':_0x329ec0});break;}case o[_0x1d26d5(0x379)]['id']:{let _0x567206=_0xeac814[_0x1d26d5(0x2b4)];if(_0x567206[_0x1d26d5(0x4aa)]){let _0x1d4966=this[_0x1d26d5(0x2d8)]['getSubUnitId'](_0x567206['unitId'],_0x567206[_0x1d26d5(0x4aa)]);_0x1d4966&&(_0x452fac[_0x1d26d5(0x54b)]['push'](_0x1d4966),_0x452fac[_0x1d26d5(0x1b2)]['push']({'drawingId':_0x567206['chartModelId'],'unitId':_0x567206[_0x1d26d5(0x3f8)],'subUnitId':_0x1d4966,'showText':_0x329ec0}));}break;}case o[_0x1d26d5(0x2a1)]['id']:{let _0x3d92ab=_0xeac814[_0x1d26d5(0x2b4)];if(_0x3d92ab[_0x1d26d5(0x4aa)]){let _0x535753=this['_sheetsChartService'][_0x1d26d5(0x33b)](_0x3d92ab['unitId'],_0x3d92ab['chartModelId']);_0x535753&&(_0x452fac['subUnitIds']['push'](_0x535753),_0x452fac['updateDrawings'][_0x1d26d5(0x516)]({'drawingId':_0x3d92ab['chartModelId'],'unitId':_0x3d92ab[_0x1d26d5(0x3f8)],'subUnitId':_0x535753,'showText':_0x329ec0}));}break;}case l[_0x1d26d5(0x558)]['id']:{let _0x51794f=_0x3d87db;_0x51794f[_0x1d26d5(0x288)]&&_0x452fac[_0x1d26d5(0x4f1)]['push']({'drawingId':_0x51794f[_0x1d26d5(0x288)],'unitId':_0x51794f[_0x1d26d5(0x3f8)],'subUnitId':_0x51794f[_0x1d26d5(0x449)],'showText':_0x329ec0});break;}case l[_0x1d26d5(0x502)]['id']:{let _0x5a2594=_0x3d87db;_0x5a2594[_0x1d26d5(0x288)]&&_0x452fac[_0x1d26d5(0x429)][_0x1d26d5(0x516)]({'drawingId':_0x5a2594['shapeId'],'unitId':_0x5a2594[_0x1d26d5(0x3f8)],'subUnitId':_0x5a2594[_0x1d26d5(0x449)],'showText':_0x329ec0});break;}case l[_0x1d26d5(0x42a)]['id']:case l[_0x1d26d5(0x3f5)]['id']:{let _0x26297e=_0x3d87db;_0x26297e[_0x1d26d5(0x288)]&&_0x452fac['updateDrawings'][_0x1d26d5(0x516)]({'drawingId':_0x26297e[_0x1d26d5(0x288)],'unitId':_0x26297e[_0x1d26d5(0x3f8)],'subUnitId':_0x26297e[_0x1d26d5(0x449)],'showText':_0x329ec0});break;}case E['SetDrawingApplyMutation']['id']:{let _0x359cd7=_0x3d87db,_0x9929c5=_0x359cd7[_0x1d26d5(0x530)],_0x1be642=_0x359cd7['type'],_0x2b46b9=_0x1be642!==E['DrawingApplyType'][_0x1d26d5(0x550)]&&_0x1be642!==E[_0x1d26d5(0x30c)][_0x1d26d5(0x39f)],_0x392d02=_0x1be642===E[_0x1d26d5(0x30c)]['INSERT'],_0xba0357=_0x1be642===E['DrawingApplyType'][_0x1d26d5(0x39f)],_0x34e000=_0x329ec0;if(_0x1be642===E[_0x1d26d5(0x30c)][_0x1d26d5(0x550)]?_0x34e000=this[_0x1d26d5(0x1a7)]['t']('sheets-history-ui.viewer.action.insertDrawing'):_0x1be642===E[_0x1d26d5(0x30c)][_0x1d26d5(0x39f)]&&(_0x34e000=this['_localeService']['t'](_0x1d26d5(0x1dc))),Array[_0x1d26d5(0x3a7)](_0x9929c5))_0x9929c5[_0x1d26d5(0x1aa)](_0x3b1064=>{const _0x494468=_0x1d26d5;if(_0x494468(0x435)in _0x3b1064&&_0x3b1064[_0x494468(0x435)])_0x2b46b9?_0x452fac[_0x494468(0x1b2)][_0x494468(0x516)]({'drawingId':_0x3b1064[_0x494468(0x435)],'unitId':_0x359cd7[_0x494468(0x3f8)],'subUnitId':_0x359cd7[_0x494468(0x449)],'showText':_0x34e000}):_0x392d02?_0x452fac[_0x494468(0x4f1)][_0x494468(0x516)]({'drawingId':_0x3b1064[_0x494468(0x435)],'unitId':_0x359cd7[_0x494468(0x3f8)],'subUnitId':_0x359cd7[_0x494468(0x449)],'showText':_0x34e000}):_0xba0357&&_0x452fac[_0x494468(0x429)][_0x494468(0x516)]({'drawingId':_0x3b1064[_0x494468(0x435)],'unitId':_0x359cd7[_0x494468(0x3f8)],'subUnitId':_0x359cd7[_0x494468(0x449)],'showText':_0x34e000});else{if(_0x494468(0x3d0)in _0x3b1064&&_0x494468(0x2a5)in _0x3b1064){var _0x5001cd,_0x144d85;(_0x5001cd=_0x3b1064['parent'])!=null&&_0x5001cd[_0x494468(0x435)]&&(_0x2b46b9?_0x452fac['updateDrawings'][_0x494468(0x516)]({'drawingId':_0x3b1064['parent']['drawingId'],'unitId':_0x359cd7['unitId'],'subUnitId':_0x359cd7[_0x494468(0x449)],'showText':_0x34e000}):_0x392d02?_0x452fac[_0x494468(0x4f1)][_0x494468(0x516)]({'drawingId':_0x3b1064[_0x494468(0x3d0)][_0x494468(0x435)],'unitId':_0x359cd7['unitId'],'subUnitId':_0x359cd7[_0x494468(0x449)],'showText':_0x34e000}):_0xba0357&&_0x452fac[_0x494468(0x429)][_0x494468(0x516)]({'drawingId':_0x3b1064['parent'][_0x494468(0x435)],'unitId':_0x359cd7[_0x494468(0x3f8)],'subUnitId':_0x359cd7[_0x494468(0x449)],'showText':_0x34e000})),(_0x144d85=_0x3b1064[_0x494468(0x2a5)])==null||_0x144d85[_0x494468(0x1aa)](_0x86722f=>{const _0x1244cc=_0x494468;_0x86722f[_0x1244cc(0x435)]&&(_0x2b46b9?_0x452fac[_0x1244cc(0x1b2)][_0x1244cc(0x516)]({'drawingId':_0x86722f[_0x1244cc(0x435)],'unitId':_0x359cd7[_0x1244cc(0x3f8)],'subUnitId':_0x359cd7['subUnitId'],'showText':_0x34e000}):_0x392d02?_0x452fac[_0x1244cc(0x4f1)][_0x1244cc(0x516)]({'drawingId':_0x86722f[_0x1244cc(0x435)],'unitId':_0x359cd7['unitId'],'subUnitId':_0x359cd7[_0x1244cc(0x449)],'showText':_0x34e000}):_0xba0357&&_0x452fac[_0x1244cc(0x429)]['push']({'drawingId':_0x86722f[_0x1244cc(0x435)],'unitId':_0x359cd7[_0x1244cc(0x3f8)],'subUnitId':_0x359cd7[_0x1244cc(0x449)],'showText':_0x34e000}));});}}});else{if(_0x9929c5&&typeof _0x9929c5==_0x1d26d5(0x577)){if('drawingIds'in _0x9929c5&&Array['isArray'](_0x9929c5[_0x1d26d5(0x1cc)]))_0x9929c5[_0x1d26d5(0x1cc)][_0x1d26d5(0x1aa)](_0x3af4fd=>{const _0x4edd16=_0x1d26d5;_0x2b46b9?_0x452fac[_0x4edd16(0x1b2)]['push']({'drawingId':_0x3af4fd,'unitId':_0x359cd7[_0x4edd16(0x3f8)],'subUnitId':_0x359cd7['subUnitId'],'showText':_0x34e000}):_0x392d02?_0x452fac['insertDrawings'][_0x4edd16(0x516)]({'drawingId':_0x3af4fd,'unitId':_0x359cd7[_0x4edd16(0x3f8)],'subUnitId':_0x359cd7[_0x4edd16(0x449)],'showText':_0x34e000}):_0xba0357&&_0x452fac[_0x4edd16(0x429)][_0x4edd16(0x516)]({'drawingId':_0x3af4fd,'unitId':_0x359cd7[_0x4edd16(0x3f8)],'subUnitId':_0x359cd7[_0x4edd16(0x449)],'showText':_0x34e000});});else{if(_0x1d26d5(0x3d0)in _0x9929c5&&_0x1d26d5(0x2a5)in _0x9929c5){var _0xf99c83,_0x2f8008;(_0xf99c83=_0x9929c5[_0x1d26d5(0x3d0)])!=null&&_0xf99c83[_0x1d26d5(0x435)]&&(_0x2b46b9?_0x452fac[_0x1d26d5(0x1b2)][_0x1d26d5(0x516)]({'drawingId':_0x9929c5[_0x1d26d5(0x3d0)][_0x1d26d5(0x435)],'unitId':_0x359cd7[_0x1d26d5(0x3f8)],'subUnitId':_0x359cd7['subUnitId'],'showText':_0x34e000}):_0x392d02?_0x452fac[_0x1d26d5(0x4f1)]['push']({'drawingId':_0x9929c5['parent'][_0x1d26d5(0x435)],'unitId':_0x359cd7[_0x1d26d5(0x3f8)],'subUnitId':_0x359cd7[_0x1d26d5(0x449)],'showText':_0x34e000}):_0xba0357&&_0x452fac[_0x1d26d5(0x429)][_0x1d26d5(0x516)]({'drawingId':_0x9929c5[_0x1d26d5(0x3d0)]['drawingId'],'unitId':_0x359cd7[_0x1d26d5(0x3f8)],'subUnitId':_0x359cd7['subUnitId'],'showText':_0x34e000})),(_0x2f8008=_0x9929c5[_0x1d26d5(0x2a5)])==null||_0x2f8008[_0x1d26d5(0x1aa)](_0xf56687=>{const _0x2bfa17=_0x1d26d5;_0xf56687[_0x2bfa17(0x435)]&&(_0x2b46b9?_0x452fac['updateDrawings'][_0x2bfa17(0x516)]({'drawingId':_0xf56687[_0x2bfa17(0x435)],'unitId':_0x359cd7['unitId'],'subUnitId':_0x359cd7[_0x2bfa17(0x449)],'showText':_0x34e000}):_0x392d02?_0x452fac['insertDrawings'][_0x2bfa17(0x516)]({'drawingId':_0xf56687['drawingId'],'unitId':_0x359cd7[_0x2bfa17(0x3f8)],'subUnitId':_0x359cd7['subUnitId'],'showText':_0x34e000}):_0xba0357&&_0x452fac[_0x2bfa17(0x429)][_0x2bfa17(0x516)]({'drawingId':_0xf56687[_0x2bfa17(0x435)],'unitId':_0x359cd7[_0x2bfa17(0x3f8)],'subUnitId':_0x359cd7['subUnitId'],'showText':_0x34e000}));});}}}}break;}}return _0x452fac;}[_0x2262a8(0x2dd)](_0x1d1498){const _0x16ee20=_0x2262a8;if(_0x1d1498['length']<=0x1)return _0x1d1498;let _0x136664=new Map();return _0x1d1498[_0x16ee20(0x1aa)](_0x1ca06c=>{const _0x300554=_0x16ee20;let {unitId:_0x4709bf,subUnitId:_0x273378}=_0x1ca06c,_0x4764c9=_0x4709bf+'-'+_0x273378;if(!_0x136664['has'](_0x4764c9))_0x136664[_0x300554(0x47c)](_0x4764c9,[_0x1ca06c]);else{var _0xecccfc;(_0xecccfc=_0x136664[_0x300554(0x2c8)](_0x4764c9))==null||_0xecccfc[_0x300554(0x516)](_0x1ca06c);}}),Array['from'](_0x136664[_0x16ee20(0x350)]())[_0x16ee20(0x232)](_0x1d00ae=>new t['RangeMergeUtil']()['add'](..._0x1d00ae['map'](_0x4c8bca=>_0x4c8bca[_0x16ee20(0x40d)]))[_0x16ee20(0x310)]()[_0x16ee20(0x232)](_0x34630f=>({'range':_0x34630f,'unitId':_0x1d00ae[0x0][_0x16ee20(0x3f8)],'subUnitId':_0x1d00ae[0x0][_0x16ee20(0x449)],'showText':_0x1d00ae[0x0][_0x16ee20(0x458)],'highlightRow':_0x1d00ae[0x0][_0x16ee20(0x20e)],'highlightColumn':_0x1d00ae[0x0][_0x16ee20(0x45d)]})))[_0x16ee20(0x3c5)]();}};J=W([U(0x0,(0x0,e['Inject'])(q)),U(0x1,n[_0x2262a8(0x3f4)]),U(0x2,n[_0x2262a8(0x2b7)]),U(0x3,(0x0,e[_0x2262a8(0x47b)])(t['RangeProtectionRuleModel'])),U(0x4,(0x0,e[_0x2262a8(0x47b)])(S['ConditionalFormattingRuleModel'])),U(0x5,(0x0,e['Inject'])(w[_0x2262a8(0x1f1)])),U(0x6,(0x0,e[_0x2262a8(0x47b)])(O[_0x2262a8(0x45b)])),U(0x7,(0x0,e[_0x2262a8(0x47b)])(d['SparklineDataSourceModel'])),U(0x8,(0x0,e[_0x2262a8(0x47b)])(c[_0x2262a8(0x2c7)])),U(0x9,(0x0,e[_0x2262a8(0x47b)])(j[_0x2262a8(0x2ac)])),U(0xa,(0x0,e['Inject'])(e['LocaleService'])),U(0xb,(0x0,e['Inject'])(o[_0x2262a8(0x2f0)])),U(0xc,(0x0,e[_0x2262a8(0x47b)])(G))],J);function Se(_0x517eae){const _0x46504b=_0x2262a8;return new e[(_0x46504b(0x505))](_0x517eae)[_0x46504b(0x1ef)]();}function Ce(_0x45d917){const _0x52c0e6=_0x2262a8;let _0x4d3db5=new e[(_0x52c0e6(0x505))](_0x45d917),_0x40ab9e=new e[(_0x52c0e6(0x505))]();return _0x4d3db5[_0x52c0e6(0x3dc)]((_0x422cc9,_0x59069a)=>{_0x40ab9e['setValue'](_0x422cc9,_0x59069a,0x1);}),(0x0,t[_0x52c0e6(0x50d)])(_0x40ab9e);}const we=[{'key':0x0,'labelKey':_0x2262a8(0x359)},{'key':0x1,'labelKey':'sheets-history-ui.viewer.panel.filterUser'},{'key':0x2,'labelKey':_0x2262a8(0x1ab)}];function Te(_0x18fc83){const _0x358a92=_0x2262a8;let {value:_0x31b861,onChange:_0x13d7f1}=_0x18fc83,_0x3a909f=(0x0,N[_0x358a92(0x320)])(e[_0x358a92(0x2f7)]);return(0x0,R[_0x358a92(0x229)])(_0x358a92(0x1ca),{'className':_0x358a92(0x43d),'children':(0x0,R['jsx'])(m[_0x358a92(0x56e)],{'items':we[_0x358a92(0x232)](_0x2f5131=>({'label':_0x3a909f['t'](_0x2f5131['labelKey']),'value':_0x2f5131['key']})),'value':_0x31b861,'onChange':_0x13d7f1})});}function Ee(){const _0x298eae=_0x2262a8;var _0x5f513b;let _0x1bd15d=(0x0,N[_0x298eae(0x320)])(q),_0x16c78f=(0x0,N[_0x298eae(0x320)])(G),_0x561ef9=(0x0,N[_0x298eae(0x320)])(J),_0x215528=(0x0,N[_0x298eae(0x320)])(e['IConfigService']),_0x128cea=(0x0,N[_0x298eae(0x573)])(_0x1bd15d[_0x298eae(0x455)]),_0x18faa5=(0x0,N[_0x298eae(0x573)])(_0x1bd15d[_0x298eae(0x3a1)],[]),[_0xe544de,_0x1acd4e]=(0x0,I['useState'])(()=>new Set()),[_0x56a340,_0x2e6520]=(0x0,I[_0x298eae(0x1eb)])(()=>new Map()),[_0xc72815,_0x13a56e]=(0x0,I['useState'])(()=>new Set()),[_0x24d770,_0x2b168c]=(0x0,I[_0x298eae(0x1eb)])(0x0),_0x3798cb=(0x0,N[_0x298eae(0x320)])(e[_0x298eae(0x2f7)]),_0x260c0a=(0x0,I[_0x298eae(0x244)])(null),[_0x3fac2b,_0x594d42]=(0x0,I[_0x298eae(0x1eb)])(!0x1),[_0x4aba71,_0x5e9b14]=(0x0,I[_0x298eae(0x1eb)])([]),_0x34737a=((_0x5f513b=_0x215528[_0x298eae(0x270)](_0x298eae(0x398)))==null?void 0x0:_0x5f513b['historyAIassistantEnabled'])??!0x1,_0x4b0872=be(_0x128cea),[_0x3100b7,_0x569593]=(0x0,I[_0x298eae(0x1eb)])([]),_0x4e4367=(0x0,I[_0x298eae(0x4c5)])(()=>_0x18faa5[_0x298eae(0x232)](_0x291c9d=>({'key':_0x291c9d[_0x298eae(0x3a3)],'label':_0x291c9d[_0x298eae(0x2ad)]})),[_0x18faa5]);(0x0,I[_0x298eae(0x4d3)])(()=>{const _0x26f983=_0x298eae;_0x1bd15d[_0x26f983(0x27f)]()[_0x26f983(0x35d)](()=>void 0x0);},[_0x1bd15d]);let _0x3a2207=(0x0,I['useCallback'])(_0x3fa31d=>{const _0x58c2e2=_0x298eae;_0x569593([]),_0x2b168c(_0x3fa31d),_0x1bd15d['unitId']&&_0x1bd15d[_0x58c2e2(0x1e3)](_0x1bd15d[_0x58c2e2(0x3f8)],{'origin':_0x3fa31d})[_0x58c2e2(0x35d)](()=>void 0x0);},[_0x1bd15d]);(0x0,I['useEffect'])(()=>{const _0x1979f7=_0x298eae;let _0x7c6abe=_0x260c0a['current'];if(!_0x7c6abe)return;let _0x658dfd,_0x1b9578=()=>{clearTimeout(_0x658dfd),_0x658dfd=setTimeout(()=>{const _0x10b973=_0x3275;let {scrollTop:_0x4b1add,scrollHeight:_0x229827,clientHeight:_0x2d0b4f}=_0x7c6abe;_0x4b1add+_0x2d0b4f>=_0x229827-0x5&&_0x1bd15d[_0x10b973(0x231)]()[_0x10b973(0x35d)](()=>void 0x0);},0x64);};return _0x7c6abe[_0x1979f7(0x2f1)](_0x1979f7(0x50a),_0x1b9578),()=>{const _0x15a551=_0x1979f7;clearTimeout(_0x658dfd),_0x7c6abe[_0x15a551(0x274)](_0x15a551(0x50a),_0x1b9578);};},[_0x1bd15d]);let _0x356add=(0x0,I[_0x298eae(0x3e2)])(async _0x54c591=>{const _0x4c0d0a=_0x298eae;let _0x3c863b=_0x54c591['id'];if(_0xe544de[_0x4c0d0a(0x1ea)](_0x3c863b)){_0x1acd4e(_0x58ae4a=>{const _0x500b10=_0x4c0d0a;let _0x82403f=new Set(_0x58ae4a);return _0x82403f[_0x500b10(0x362)](_0x3c863b),_0x82403f;});return;}if(_0x56a340[_0x4c0d0a(0x1ea)](_0x3c863b)){_0x1acd4e(_0x38b73c=>new Set(_0x38b73c)[_0x4c0d0a(0x3f9)](_0x3c863b));return;}_0x13a56e(_0x4c89d6=>new Set(_0x4c89d6)[_0x4c0d0a(0x3f9)](_0x3c863b));try{var _0x5776ef;let _0x1bd2c3=_0x1bd15d[_0x4c0d0a(0x3f8)];if(!_0x1bd2c3)return;let _0x126971=await _0x16c78f[_0x4c0d0a(0x1d4)]({},{'unitId':_0x1bd2c3,'startRevision':_0x54c591[_0x4c0d0a(0x4bc)],'endRevision':_0x54c591[_0x4c0d0a(0x337)]});if(((_0x5776ef=_0x126971['error'])==null?void 0x0:_0x5776ef[_0x4c0d0a(0x376)])===0x1&&_0x126971[_0x4c0d0a(0x22a)]){let _0x1fccaa=_0x126971[_0x4c0d0a(0x22a)][_0x4c0d0a(0x332)]()[_0x4c0d0a(0x232)](_0xd6ec23=>{const _0x1cc0ac=_0x4c0d0a;var _0x2e8aea,_0x2bf220;let _0x10ea9b=(0x0,n[_0x1cc0ac(0x208)])(_0xd6ec23),_0x2dfe2d=_0xd6ec23[_0x1cc0ac(0x33a)]||_0x10ea9b[_0x1cc0ac(0x33a)],_0x2a829e=(_0x2e8aea=_0x126971[_0x1cc0ac(0x393)])==null?void 0x0:_0x2e8aea[_0x2dfe2d],_0x3058c7=((_0x2bf220=_0xd6ec23[_0x1cc0ac(0x267)])==null?void 0x0:_0x2bf220[_0x1cc0ac(0x232)](_0x5e310b=>_0x5e310b['id']))||[];return{'id':_0x3c863b+_0x1cc0ac(0x27a)+_0xd6ec23[_0x1cc0ac(0x1e6)],'unitId':_0xd6ec23[_0x1cc0ac(0x52b)],'startRev':_0xd6ec23['revision'],'endRev':_0xd6ec23[_0x1cc0ac(0x1e6)],'time':_0xd6ec23['createTime']?_0xd6ec23[_0x1cc0ac(0x454)]*0x3e8:void 0x0,'user':(_0x2a829e==null?void 0x0:_0x2a829e['name'])||'','users':[(_0x2a829e==null?void 0x0:_0x2a829e[_0x1cc0ac(0x2ad)])||''],'commands':_0x3058c7,'isAnonymous':!0x1,'isDetail':!0x0,'parentId':_0x3c863b,'additionalFields':_0xd6ec23[_0x1cc0ac(0x39a)]};});_0x2e6520(_0x348838=>new Map(_0x348838)[_0x4c0d0a(0x47c)](_0x3c863b,_0x1fccaa)),_0x1fccaa['forEach'](_0x458213=>{const _0x5ef6cd=_0x4c0d0a;_0x1bd15d[_0x5ef6cd(0x3be)](_0x458213);});for(let _0x187d25 of _0x1fccaa)await _0x561ef9[_0x4c0d0a(0x1fb)](_0x187d25['id']);_0x1acd4e(_0x9c4745=>new Set(_0x9c4745)['add'](_0x3c863b));}}catch(_0x186e61){console[_0x4c0d0a(0x47d)](_0x4c0d0a(0x301),_0x186e61);}finally{_0x13a56e(_0x5c57cb=>{const _0x4ac285=_0x4c0d0a;let _0xd80728=new Set(_0x5c57cb);return _0xd80728[_0x4ac285(0x362)](_0x3c863b),_0xd80728;});}},[_0xe544de,_0x56a340,_0x1bd15d,_0x16c78f,_0x561ef9]);return _0x128cea?(0x0,R[_0x298eae(0x57d)])(_0x298eae(0x1ca),{'ref':_0x260c0a,'className':_0x298eae(0x570),'children':[_0x34737a&&(0x0,R[_0x298eae(0x57d)])(_0x298eae(0x1ca),{'className':_0x298eae(0x547),'children':[(0x0,R[_0x298eae(0x229)])(_0x298eae(0x1ca),{'className':_0x298eae(0x4ca),'children':(0x0,R['jsx'])(Te,{'value':_0x24d770,'onChange':_0x3a2207})}),(0x0,R[_0x298eae(0x229)])(m[_0x298eae(0x30a)],{'align':_0x298eae(0x471),'open':_0x3fac2b,'onOpenChange':_0x258db4=>{_0x594d42(_0x258db4),_0x258db4&&_0x5e9b14(_0x3100b7);},'overlay':(0x0,R[_0x298eae(0x57d)])('div',{'className':'univer-min-w-[240px]','children':[(0x0,R[_0x298eae(0x229)])('div',{'className':_0x298eae(0x1da),'children':_0x3798cb['t'](_0x298eae(0x3b2))}),(0x0,R[_0x298eae(0x229)])(_0x298eae(0x1ca),{'className':_0x298eae(0x22f)}),(0x0,R[_0x298eae(0x229)])(_0x298eae(0x1ca),{'className':_0x298eae(0x39d),'children':_0x4e4367[_0x298eae(0x232)](_0x5945a5=>{const _0x375004=_0x298eae;let _0x46fdd6=_0x4aba71[_0x375004(0x1c1)](_0x5945a5[_0x375004(0x40c)]);return(0x0,R[_0x375004(0x57d)])('div',{'className':'univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-2\x20univer-px-3\x20univer-py-2\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800','onClick':()=>{const _0x3f0484=_0x375004;let _0x5edc30=_0x46fdd6?_0x4aba71[_0x3f0484(0x409)](_0x223ede=>_0x223ede!==_0x5945a5[_0x3f0484(0x40c)]):[..._0x4aba71,_0x5945a5['key']];_0x5e9b14(_0x5edc30);},'children':[(0x0,R['jsx'])(m['Checkbox'],{'checked':_0x46fdd6}),(0x0,R[_0x375004(0x229)])('span',{'className':'univer-text-sm','children':_0x5945a5[_0x375004(0x1df)]})]},_0x5945a5[_0x375004(0x40c)]);})}),(0x0,R[_0x298eae(0x229)])('div',{'className':'univer-border-t\x20univer-border-gray-200\x20dark:!univer-border-gray-700'}),(0x0,R['jsxs'])(_0x298eae(0x1ca),{'className':_0x298eae(0x3eb),'children':[(0x0,R['jsx'])(m['Button'],{'variant':_0x298eae(0x266),'onClick':()=>{_0x5e9b14(_0x3100b7),_0x594d42(!0x1);},'children':_0x3798cb['t'](_0x298eae(0x2c0))}),(0x0,R['jsx'])(m[_0x298eae(0x50b)],{'onClick':()=>{const _0x46a761=_0x298eae;_0x569593(_0x4aba71),_0x1bd15d[_0x46a761(0x3f8)]&&_0x1bd15d[_0x46a761(0x1e3)](_0x1bd15d[_0x46a761(0x3f8)],{'origin':_0x24d770,'userIds':_0x4aba71})[_0x46a761(0x35d)](()=>void 0x0),_0x594d42(!0x1);},'children':_0x3798cb['t']('sheets-history-ui.viewer.panel.filterCollaboratorConfirm')})]})]}),'children':(0x0,R[_0x298eae(0x229)])(m[_0x298eae(0x50b)],{'variant':'ghost','children':(0x0,R[_0x298eae(0x229)])(F[_0x298eae(0x1d2)],{'className':(0x0,m[_0x298eae(0x2e5)])(_0x298eae(0x2fd),{'univer-text-blue-600\x20dark:!univer-text-blue-400':_0x3100b7[_0x298eae(0x4d9)]>0x0})})})})]}),(0x0,R[_0x298eae(0x229)])('div',{'className':_0x298eae(0x4f7),'children':_0x4b0872[_0x298eae(0x232)](_0xeecb20=>(0x0,R[_0x298eae(0x57d)])(I[_0x298eae(0x1db)],{'children':[(0x0,R[_0x298eae(0x229)])(Oe,{'date':_0xeecb20[_0x298eae(0x548)],'startDate':_0xeecb20['startDateString'],'endDate':_0xeecb20['endDateString']}),_0xeecb20[_0x298eae(0x3ed)][_0x298eae(0x232)](_0x449e0c=>{const _0x119d23=_0x298eae;let _0x24759f=_0xe544de[_0x119d23(0x1ea)](_0x449e0c['id']),_0x4378f7=_0xc72815['has'](_0x449e0c['id']),_0xc3d49a=_0x56a340[_0x119d23(0x2c8)](_0x449e0c['id'])||[];return(0x0,R[_0x119d23(0x57d)])(I['Fragment'],{'children':[(0x0,R['jsx'])(ke,{'item':_0x449e0c,'onToggleExpand':_0x356add,'isExpanded':_0x24759f,'isLoadingDetail':_0x4378f7}),_0x24759f&&_0xc3d49a['map']((_0x11f4e1,_0x45bac7)=>(0x0,R[_0x119d23(0x57d)])(_0x119d23(0x1ca),{'className':'univer-relative\x20!univer-mb-0\x20!univer-mt-0','children':[(0x0,R[_0x119d23(0x57d)])('div',{'className':_0x119d23(0x29b),'children':[_0x45bac7<_0xc3d49a['length']-0x1&&(0x0,R[_0x119d23(0x229)])(_0x119d23(0x1ca),{'className':_0x119d23(0x280)}),_0x45bac7===_0xc3d49a[_0x119d23(0x4d9)]-0x1&&(0x0,R[_0x119d23(0x229)])(_0x119d23(0x1ca),{'className':_0x119d23(0x22d)}),(0x0,R[_0x119d23(0x229)])('div',{'className':_0x119d23(0x518)})]}),(0x0,R[_0x119d23(0x229)])(ke,{'item':_0x11f4e1,'isDetail':!0x0})]},_0x449e0c['id']+_0x119d23(0x27a)+_0x11f4e1['id']))]},_0x449e0c['id']);})]},_0xeecb20[_0x298eae(0x548)]))})]}):(0x0,R[_0x298eae(0x229)])(De,{});}function De(){const _0xbe8be2=_0x2262a8;return(0x0,R['jsx'])(_0xbe8be2(0x1ca),{'className':_0xbe8be2(0x1c4),'children':(0x0,R[_0xbe8be2(0x229)])('span',{'className':'univer-text-gray-500','children':(0x0,R[_0xbe8be2(0x229)])(F[_0xbe8be2(0x2fa)],{'className':'univer-m-auto\x20univer-animate-spin'})})});}function Oe(_0x32d7c1){const _0x19e803=_0x2262a8;let _0x1eb83a=(0x0,N[_0x19e803(0x320)])(e[_0x19e803(0x2f7)]),{date:_0x60ecc0,startDate:_0x367d7a=_0x60ecc0}=_0x32d7c1;return(0x0,R[_0x19e803(0x229)])('div',{'className':_0x19e803(0x54c),'children':ye(_0x367d7a,_0x1eb83a)});}function ke(_0x1e5c3f){const _0x1bd8e8=_0x2262a8;let {item:_0x3f0f6c,onToggleExpand:_0x167f28,isExpanded:_0x2c7651,isLoadingDetail:_0x29bc82,isDetail:_0x4cf5d3}=_0x1e5c3f,{time:_0x510f8d,user:_0x48d5aa,startRevCreateTime:_0xb94c83,endRevCreateTime:_0x4f0346,users:_0x2f920a}=_0x3f0f6c,_0x5951e0=(0x0,N[_0x1bd8e8(0x320)])(q),_0x40d572=(0x0,N[_0x1bd8e8(0x320)])(J),_0x452869=(0x0,N[_0x1bd8e8(0x573)])(_0x5951e0['currentVersion$'],'',!0x0)===_0x3f0f6c['id'],_0x287944=_0x5951e0[_0x1bd8e8(0x562)]()===_0x3f0f6c[_0x1bd8e8(0x337)],_0x4e9ecd=!_0x287944&&_0x5951e0['canRevert'],_0x7e9578=(0x0,N[_0x1bd8e8(0x320)])(e['LocaleService']),_0x4a134c=K(_0x510f8d,_0x7e9578),_0x503573=K(_0xb94c83,_0x7e9578),_0x45b8c3=K(_0x4f0346,_0x7e9578),_0x480d02=_0x7e9578['t'](_0x1bd8e8(0x1e9)),_0x103337=_0x3f0f6c[_0x1bd8e8(0x4bc)]!==_0x3f0f6c[_0x1bd8e8(0x337)],_0x3a9eb4=!!_0x3f0f6c[_0x1bd8e8(0x39a)],_0x277c1d=(0x0,I[_0x1bd8e8(0x4c5)])(()=>{const _0x352531=_0x1bd8e8;let _0x5bc624=_0x48d5aa||_0x7e9578['t'](_0x352531(0x478));return _0x2f920a&&_0x2f920a[_0x352531(0x409)](_0x528406=>_0x528406)[_0x352531(0x4d9)]>0x0&&(_0x5bc624=_0x2f920a[_0x352531(0x409)](_0xc4d055=>_0xc4d055)['join'](',\x20')),_0x3a9eb4?''+_0x7e9578['t'](_0x352531(0x384))+(_0x5bc624?'\x20('+_0x5bc624+')':''):_0x5bc624;},[_0x3a9eb4,_0x48d5aa,_0x2f920a,_0x7e9578]),_0x47f2f1=(0x0,I[_0x1bd8e8(0x3e2)])(async _0x567fb4=>{const _0x3fe8e8=_0x1bd8e8;_0x5951e0[_0x3fe8e8(0x308)]!=='loading'&&(_0x5951e0[_0x3fe8e8(0x4a8)](_0x567fb4),_0x4cf5d3&&(await _0x40d572[_0x3fe8e8(0x1fb)](_0x567fb4),await _0x5951e0[_0x3fe8e8(0x44d)](_0x567fb4)));},[_0x5951e0,_0x40d572,_0x4cf5d3]),_0x140b4a=(0x0,I['useCallback'])(_0x2ff3e8=>{const _0x39d0e6=_0x1bd8e8;_0x5951e0[_0x39d0e6(0x57b)](_0x2ff3e8)['catch'](()=>void 0x0);},[_0x5951e0]),_0x1c7846=(0x0,I['useCallback'])(_0x46fb66=>{const _0x22c329=_0x1bd8e8;_0x46fb66[_0x22c329(0x55d)](),_0x167f28&&!_0x29bc82&&_0x167f28(_0x3f0f6c)[_0x22c329(0x35d)](()=>void 0x0);},[_0x167f28,_0x3f0f6c,_0x29bc82]),_0x3d6049=(0x0,R[_0x1bd8e8(0x229)])(F['MoreRightIcon'],{'className':'univer-size-8\x20univer-text-gray-400\x20rtl:univer-rotate-180'});_0x29bc82?_0x3d6049=(0x0,R[_0x1bd8e8(0x229)])(F[_0x1bd8e8(0x2fa)],{'className':_0x1bd8e8(0x55b)}):_0x2c7651&&(_0x3d6049=(0x0,R[_0x1bd8e8(0x229)])(F[_0x1bd8e8(0x551)],{'className':'univer-size-8\x20univer-text-gray-400'}));let _0x2e14fe=_0x503573[_0x1bd8e8(0x40e)];return _0x4cf5d3?_0x2e14fe=_0x4a134c[_0x1bd8e8(0x40e)]:_0xb94c83!==_0x4f0346&&(_0x2e14fe=_0x503573['time']+_0x1bd8e8(0x4a0)+_0x45b8c3[_0x1bd8e8(0x40e)]),(0x0,R['jsxs'])(_0x1bd8e8(0x1ca),{'className':(0x0,m[_0x1bd8e8(0x2e5)])(_0x1bd8e8(0x219),{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0x452869,'univer-ml-6\x20rtl:univer-ml-0\x20rtl:univer-mr-6':_0x4cf5d3}),'onClick':()=>_0x47f2f1(_0x3f0f6c['id'])[_0x1bd8e8(0x35d)](()=>void 0x0),'children':[(0x0,R[_0x1bd8e8(0x229)])(_0x1bd8e8(0x1ca),{'className':_0x1bd8e8(0x44f),'children':_0x103337&&!_0x4cf5d3&&(0x0,R[_0x1bd8e8(0x229)])('div',{'onClick':_0x1c7846,'className':_0x1bd8e8(0x35a),'children':_0x3d6049})}),(0x0,R['jsxs'])('div',{'className':_0x1bd8e8(0x37f),'children':[(0x0,R['jsxs'])(_0x1bd8e8(0x1ca),{'className':'univer-flex\x20univer-min-h-6\x20univer-w-full\x20univer-items-center\x20univer-justify-between','children':[(0x0,R[_0x1bd8e8(0x57d)])(_0x1bd8e8(0x1ca),{'className':_0x1bd8e8(0x1ec),'children':[_0x3a9eb4&&(0x0,R[_0x1bd8e8(0x229)])(F['AiAssistantMultiIcon'],{'className':_0x1bd8e8(0x46c)}),(0x0,R[_0x1bd8e8(0x229)])('span',{'className':_0x1bd8e8(0x477),'children':_0x277c1d}),(0x0,R['jsx'])(_0x1bd8e8(0x411),{'className':'univer-text-center\x20univer-text-gray-500\x20dark:!univer-text-gray-400','children':_0x2e14fe}),_0x287944&&(0x0,R[_0x1bd8e8(0x229)])(_0x1bd8e8(0x411),{'className':_0x1bd8e8(0x3f7),'children':_0x480d02})]}),(0x0,R[_0x1bd8e8(0x229)])('div',{'children':_0x4e9ecd&&(0x0,R[_0x1bd8e8(0x229)])(m[_0x1bd8e8(0x561)],{'title':_0x7e9578['t']('sheets-history-ui.viewer.panel.revertDesc'),'children':(0x0,R[_0x1bd8e8(0x229)])(_0x1bd8e8(0x1ca),{'onClick':_0x3504e8=>{const _0x29abff=_0x1bd8e8;_0x3504e8[_0x29abff(0x55d)](),_0x140b4a(_0x3f0f6c['id']);},'className':'univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-text-gray-400\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','children':(0x0,R['jsx'])(F[_0x1bd8e8(0x3bd)],{})})})})]}),(0x0,R['jsx'])('div',{'className':_0x1bd8e8(0x522),'children':_e(_0x3f0f6c,_0x7e9578)})]})]});}let Y=class extends e['Disposable']{constructor(_0x5ebcef,_0x33365d){const _0x50f59d=_0x2262a8;super(),this[_0x50f59d(0x1a8)](_0x5ebcef['register'](ae,Ee)),this['disposeWithMe'](_0x33365d[_0x50f59d(0x2e1)]({'HistoryIcon':F['HistoryIcon']}));}};Y=W([U(0x0,(0x0,e[_0x2262a8(0x47b)])(N['ComponentManager'])),U(0x1,(0x0,e[_0x2262a8(0x47b)])(N[_0x2262a8(0x1e4)]))],Y);let Ae=class extends e[_0x2262a8(0x26b)]{constructor(_0x3639f6){const _0xc654ce=_0x2262a8;super(),this[_0xc654ce(0x328)]=_0x3639f6,this[_0xc654ce(0x252)]();}[_0x2262a8(0x252)](){const _0x148f97=_0x2262a8;this[_0x148f97(0x1a8)](this['_cellEditorManagerService']['state$'][_0x148f97(0x3ad)](_0xecec51=>{const _0x5def16=_0x148f97;_0xecec51!=null&&_0xecec51['show']&&this[_0x5def16(0x328)][_0x5def16(0x3e3)]({'show':!0x1});}));}};Ae=W([U(0x0,M[_0x2262a8(0x42d)])],Ae);function je(){const _0x2286b2=_0x2262a8;let _0x1fe749=(0x0,N[_0x2286b2(0x320)])(q),_0x30bc0a=(0x0,N[_0x2286b2(0x320)])(e[_0x2286b2(0x2f7)]);if((0x0,N['useObservable'])(_0x1fe749[_0x2286b2(0x3cb)],_0x2286b2(0x21a))!=='loading')return null;let _0x519f8e=_0x30bc0a['t'](_0x2286b2(0x2d7));return(0x0,R[_0x2286b2(0x229)])(_0x2286b2(0x1ca),{'aria-busy':_0x2286b2(0x3ab),'aria-label':_0x519f8e,'className':'univer-bg-gray-0/70\x20dark:!univer-bg-gray-900/70\x20univer-fixed\x20univer-inset-0\x20univer-z-[1000]\x20univer-flex\x20univer-cursor-wait\x20univer-items-center\x20univer-justify-center\x20univer-backdrop-blur-sm','children':(0x0,R[_0x2286b2(0x57d)])(_0x2286b2(0x1ca),{'role':'status','aria-live':_0x2286b2(0x514),'className':'univer-flex\x20univer-items-center\x20univer-gap-3\x20univer-rounded-lg\x20univer-bg-gray-0\x20univer-px-5\x20univer-py-4\x20univer-text-sm\x20univer-text-gray-900\x20univer-shadow-lg\x20dark:!univer-bg-gray-700\x20dark:!univer-text-gray-0','children':[(0x0,R[_0x2286b2(0x229)])(F[_0x2286b2(0x2fa)],{'className':_0x2286b2(0x1b0)}),(0x0,R[_0x2286b2(0x229)])(_0x2286b2(0x411),{'children':_0x519f8e})]})});}function Me(){const _0x4d6148=_0x2262a8;let _0xef8c43=(0x0,N[_0x4d6148(0x320)])(q),_0x4034ff=(0x0,N[_0x4d6148(0x320)])(e['LocaleService']),_0x35b886=(0x0,N[_0x4d6148(0x573)])(_0xef8c43[_0x4d6148(0x3d6)]),_0x414483=(0x0,I[_0x4d6148(0x4c5)])(()=>_0x35b886?_0xef8c43[_0x4d6148(0x2d5)]():!0x1,[_0xef8c43,_0x35b886]),_0x20da56=(0x0,I[_0x4d6148(0x3e2)])(()=>{const _0x346883=_0x4d6148;_0xef8c43[_0x346883(0x23d)]();},[_0xef8c43]),_0x1a798a=(0x0,I['useCallback'])(()=>{const _0x41fc6a=_0x4d6148;_0xef8c43[_0x41fc6a(0x57b)]();},[_0xef8c43]);return(0x0,R[_0x4d6148(0x57d)])(_0x4d6148(0x1ca),{'className':(0x0,m[_0x4d6148(0x2e5)])(_0x4d6148(0x3d9),m[_0x4d6148(0x4b3)]),'children':[(0x0,R[_0x4d6148(0x57d)])(m[_0x4d6148(0x50b)],{'onClick':_0x20da56,'children':[(0x0,R[_0x4d6148(0x229)])(F['ArrowLeftIcon'],{'className':'univer-size-4'}),_0x4034ff['t'](_0x4d6148(0x460))]}),(0x0,R['jsx'])(m[_0x4d6148(0x50b)],{'variant':_0x4d6148(0x30f),'disabled':!_0x414483,'onClick':_0x1a798a,'children':_0x4034ff['t']('sheets-history-ui.viewer.header.revert')})]});}let Ne=class extends e[_0x2262a8(0x26b)]{constructor(_0x3b5d06,_0x26a732,_0x324bd1,_0x44feef,_0x497b81,_0x48366b,_0x149274){const _0x258486=_0x2262a8;super(),this[_0x258486(0x2ab)]=_0x3b5d06,this[_0x258486(0x343)]=_0x26a732,this[_0x258486(0x286)]=_0x324bd1,this['_localeService']=_0x44feef,this[_0x258486(0x3db)]=_0x497b81,this[_0x258486(0x584)]=_0x48366b,this[_0x258486(0x2eb)]=_0x149274,this[_0x258486(0x252)]();}[_0x2262a8(0x252)](){const _0x5ae5de=_0x2262a8;this[_0x5ae5de(0x1a8)](this[_0x5ae5de(0x3db)][_0x5ae5de(0x3d6)][_0x5ae5de(0x3ad)](_0x299ef9=>{const _0xa2cbf1=_0x5ae5de;_0x299ef9&&this[_0xa2cbf1(0x3db)][_0xa2cbf1(0x44d)](_0x299ef9);})),this[_0x5ae5de(0x1a8)](this[_0x5ae5de(0x2ab)]['permissionPointUpdate$'][_0x5ae5de(0x3ad)](_0x3de6d3=>{const _0x3f5109=_0x5ae5de;let _0x2b1f82=this['_historyManagerService'][_0x3f5109(0x3f8)];_0x2b1f82&&(_0x3de6d3[_0x3f5109(0x4a4)]===L[_0x3f5109(0x2e0)]['Edit']&&_0x3de6d3[_0x3f5109(0x3ff)]===!0x0&&this[_0x3f5109(0x2ab)][_0x3f5109(0x289)](new t[(_0x3f5109(0x3ea))](_0x2b1f82)['id'],!0x1),_0x3de6d3[_0x3f5109(0x4a4)]===L[_0x3f5109(0x2e0)][_0x3f5109(0x49a)]&&_0x3de6d3[_0x3f5109(0x3ff)]===!0x0&&this[_0x3f5109(0x2ab)][_0x3f5109(0x289)](new t[(_0x3f5109(0x489))](_0x2b1f82)['id'],!0x1),_0x3de6d3[_0x3f5109(0x4a4)]===L['UnitAction'][_0x3f5109(0x353)]&&_0x3de6d3[_0x3f5109(0x3ff)]===!0x0&&this[_0x3f5109(0x2ab)][_0x3f5109(0x289)](new t['WorkbookMoveSheetPermission'](_0x2b1f82)['id'],!0x1),_0x3de6d3[_0x3f5109(0x4a4)]===L[_0x3f5109(0x2e0)][_0x3f5109(0x485)]&&_0x3de6d3[_0x3f5109(0x3ff)]===!0x0&&this['_permissionService']['updatePermissionPoint'](new t[(_0x3f5109(0x4a7))](_0x2b1f82)['id'],!0x1),_0x3de6d3[_0x3f5109(0x4a4)]===L[_0x3f5109(0x2e0)][_0x3f5109(0x3ec)]&&_0x3de6d3[_0x3f5109(0x3ff)]===!0x0&&this[_0x3f5109(0x2ab)][_0x3f5109(0x289)](new t[(_0x3f5109(0x3ea))](_0x2b1f82)['id'],!0x1),_0x3de6d3[_0x3f5109(0x4a4)]===L[_0x3f5109(0x2e0)][_0x3f5109(0x46e)]&&_0x3de6d3[_0x3f5109(0x3ff)]===!0x0&&this[_0x3f5109(0x2ab)][_0x3f5109(0x289)](new t['WorkbookEditablePermission'](_0x2b1f82)['id'],!0x1));})),this[_0x5ae5de(0x4d2)](),this[_0x5ae5de(0x462)]();let _0xf22292=null;this[_0x5ae5de(0x1a8)]((0x0,e['toDisposable'])(()=>_0xf22292==null?void 0x0:_0xf22292[_0x5ae5de(0x4f9)]())),this['disposeWithMe'](this[_0x5ae5de(0x3db)][_0x5ae5de(0x3cb)][_0x5ae5de(0x3ad)](_0x543464=>{const _0x367952=_0x5ae5de;_0xf22292==null||_0xf22292['dispose'](),_0xf22292=null,_0x543464==='loading'&&(_0xf22292=this[_0x367952(0x286)][_0x367952(0x1f9)]({'type':m[_0x367952(0x2d9)][_0x367952(0x24d)],'content':this[_0x367952(0x1a7)]['t'](_0x367952(0x2d7)),'duration':0x3e8}));}));}[_0x2262a8(0x4d2)](){const _0x142e1e=_0x2262a8;var _0x49a0fe;(_0x49a0fe=this[_0x142e1e(0x2eb)]['getConfig'](_0x142e1e(0x398)))!=null&&_0x49a0fe[_0x142e1e(0x354)]||this[_0x142e1e(0x1a8)](this[_0x142e1e(0x343)][_0x142e1e(0x4f0)](N[_0x142e1e(0x28e)][_0x142e1e(0x487)],()=>(0x0,N[_0x142e1e(0x515)])(Me,this[_0x142e1e(0x584)])));}[_0x2262a8(0x462)](){const _0x313549=_0x2262a8;this['disposeWithMe'](this[_0x313549(0x343)]['registerComponent'](N[_0x313549(0x28e)][_0x313549(0x1e2)],()=>(0x0,N[_0x313549(0x515)])(je,this[_0x313549(0x584)])));}};Ne=W([U(0x0,e[_0x2262a8(0x2b9)]),U(0x1,N[_0x2262a8(0x1ba)]),U(0x2,N[_0x2262a8(0x363)]),U(0x3,(0x0,e[_0x2262a8(0x47b)])(e[_0x2262a8(0x2f7)])),U(0x4,(0x0,e['Inject'])(q)),U(0x5,(0x0,e['Inject'])(e[_0x2262a8(0x230)])),U(0x6,e[_0x2262a8(0x33d)])],Ne);const Pe={'insert':_0x2262a8(0x1e0),'delete':'red.800','update':_0x2262a8(0x40b)};let Fe=class extends e['Disposable']{constructor(_0x598c12){const _0x5d6ef6=_0x2262a8;super(),this[_0x5d6ef6(0x34c)]=_0x598c12,H(this,'_palette$',void 0x0),H(this,_0x5d6ef6(0x493),void 0x0),this['_palette$']=new P[(_0x5d6ef6(0x421))](this[_0x5d6ef6(0x563)]()),this[_0x5d6ef6(0x493)]=this[_0x5d6ef6(0x436)][_0x5d6ef6(0x445)](),this['disposeWithMe'](this['_themeService'][_0x5d6ef6(0x2ef)][_0x5d6ef6(0x466)]((0x0,P[_0x5d6ef6(0x3c1)])(0x1))[_0x5d6ef6(0x3ad)](()=>{const _0x1c16c6=_0x5d6ef6;this['_palette$']['next'](this[_0x1c16c6(0x563)]());})),this[_0x5d6ef6(0x1a8)]((0x0,e['toDisposable'])(()=>this[_0x5d6ef6(0x436)][_0x5d6ef6(0x508)]()));}[_0x2262a8(0x563)](){const _0x523a18=_0x2262a8;return{'insert':this[_0x523a18(0x386)](_0x523a18(0x583)),'delete':this[_0x523a18(0x386)](_0x523a18(0x362)),'update':this['_createStyle'](_0x523a18(0x1b3))};}[_0x2262a8(0x386)](_0x439332){const _0x996e11=_0x2262a8;let _0x1a3d7d=this[_0x996e11(0x34c)][_0x996e11(0x4c3)](Pe[_0x439332]);return{'fill':new e['ColorKit'](_0x1a3d7d)[_0x996e11(0x254)](0.5)[_0x996e11(0x52a)](),'stroke':new e['ColorKit'](_0x1a3d7d)[_0x996e11(0x254)](0.9)[_0x996e11(0x52a)]()};}};Fe=W([U(0x0,(0x0,e['Inject'])(e['ThemeService']))],Fe);var Ie=class extends y[_0x2262a8(0x4b0)]{constructor(_0x39ac77,_0x5c8ecf){const _0x2ca0ec=_0x2262a8;super(_0x39ac77,_0x5c8ecf),H(this,_0x2ca0ec(0x2af),void 0x0),H(this,_0x2ca0ec(0x48a),void 0x0),H(this,_0x2ca0ec(0x4e6),!0x1),H(this,_0x2ca0ec(0x365),0x4),H(this,_0x2ca0ec(0x3fa),void 0x0),H(this,'_blinkIntervalTimer',void 0x0),H(this,_0x2ca0ec(0x4b1),!0x0),this[_0x2ca0ec(0x2af)]=_0x5c8ecf[_0x2ca0ec(0x4c9)],this[_0x2ca0ec(0x48a)]=_0x5c8ecf[_0x2ca0ec(0x511)],this[_0x2ca0ec(0x46d)](_0x5c8ecf),_0x5c8ecf[_0x2ca0ec(0x22c)]&&this[_0x2ca0ec(0x404)](_0x5c8ecf['highlightSecond']??this[_0x2ca0ec(0x365)]);}[_0x2262a8(0x46d)](_0x3d2075){const _0x6177ec=_0x2262a8;this['_color']=_0x3d2075[_0x6177ec(0x4c9)]??this[_0x6177ec(0x2af)],this[_0x6177ec(0x48a)]=_0x3d2075[_0x6177ec(0x511)]??this[_0x6177ec(0x48a)],this[_0x6177ec(0x4e6)]=_0x3d2075[_0x6177ec(0x22c)]??this[_0x6177ec(0x4e6)],this[_0x6177ec(0x365)]=_0x3d2075[_0x6177ec(0x279)]??this[_0x6177ec(0x365)],this[_0x6177ec(0x2f9)]({'width':_0x3d2075[_0x6177ec(0x560)]??this[_0x6177ec(0x560)],'height':_0x3d2075[_0x6177ec(0x30d)]??this[_0x6177ec(0x30d)]});}['triggerDblclick'](_0x47df93){return!0x1;}[_0x2262a8(0x4f9)](){const _0x52dcc1=_0x2262a8;this[_0x52dcc1(0x26a)](),super[_0x52dcc1(0x4f9)]();}[_0x2262a8(0x397)](_0x36203e){const _0xb8de88=_0x2262a8;_0x36203e[_0xb8de88(0x36e)](),_0x36203e['globalAlpha']=this[_0xb8de88(0x4e6)]&&!this[_0xb8de88(0x4b1)]?0.25:0x1,_0x36203e[_0xb8de88(0x2fe)]=this[_0xb8de88(0x2af)],_0x36203e[_0xb8de88(0x428)]=this[_0xb8de88(0x2af)],_0x36203e[_0xb8de88(0x3a5)]=0x4,this[_0xb8de88(0x48a)]==='horizontal'?this[_0xb8de88(0x4ae)](_0x36203e):this['_drawVerticalArrow'](_0x36203e),_0x36203e[_0xb8de88(0x1f4)]();}['_startBlinking'](_0x1a43c2){const _0x5933e1=_0x2262a8;this[_0x5933e1(0x26a)](),this[_0x5933e1(0x4b1)]=!0x0,this[_0x5933e1(0x4f4)]=window[_0x5933e1(0x47e)](()=>{const _0x4ef1a3=_0x5933e1;this['_isBlinkVisible']=!this[_0x4ef1a3(0x4b1)],this[_0x4ef1a3(0x467)](!0x0);},0x1f4),this[_0x5933e1(0x3fa)]=window[_0x5933e1(0x1be)](()=>{const _0x4bb818=_0x5933e1;this[_0x4bb818(0x26a)](),this[_0x4bb818(0x4b1)]=!0x0,this['makeDirty'](!0x0);},_0x1a43c2*0x3e8);}[_0x2262a8(0x26a)](){const _0x434c0d=_0x2262a8;this[_0x434c0d(0x4f4)]!==void 0x0&&(window[_0x434c0d(0x579)](this[_0x434c0d(0x4f4)]),this[_0x434c0d(0x4f4)]=void 0x0),this[_0x434c0d(0x3fa)]!==void 0x0&&(window[_0x434c0d(0x1b4)](this[_0x434c0d(0x3fa)]),this[_0x434c0d(0x3fa)]=void 0x0);}[_0x2262a8(0x4ae)](_0x5530b9){const _0x282b55=_0x2262a8;let _0x330f14=this[_0x282b55(0x30d)]/0x2;_0x5530b9['beginPath'](),_0x5530b9[_0x282b55(0x2c3)](0xc,_0x330f14),_0x5530b9[_0x282b55(0x251)](this[_0x282b55(0x560)]-0xc,_0x330f14),_0x5530b9[_0x282b55(0x27e)](),_0x5530b9[_0x282b55(0x1fc)](),_0x5530b9['moveTo'](0x0,_0x330f14),_0x5530b9[_0x282b55(0x251)](0xc,_0x330f14-0xc/0x2),_0x5530b9[_0x282b55(0x251)](0xc,_0x330f14+0xc/0x2),_0x5530b9[_0x282b55(0x36f)](),_0x5530b9[_0x282b55(0x3a8)](),_0x5530b9[_0x282b55(0x1fc)](),_0x5530b9['moveTo'](this[_0x282b55(0x560)],_0x330f14),_0x5530b9[_0x282b55(0x251)](this[_0x282b55(0x560)]-0xc,_0x330f14-0xc/0x2),_0x5530b9[_0x282b55(0x251)](this[_0x282b55(0x560)]-0xc,_0x330f14+0xc/0x2),_0x5530b9[_0x282b55(0x36f)](),_0x5530b9[_0x282b55(0x3a8)]();}[_0x2262a8(0x23c)](_0x1939d1){const _0x9453cf=_0x2262a8;let _0x364da4=this[_0x9453cf(0x560)]/0x2;_0x1939d1['beginPath'](),_0x1939d1[_0x9453cf(0x2c3)](_0x364da4,0xc),_0x1939d1[_0x9453cf(0x251)](_0x364da4,this[_0x9453cf(0x30d)]-0xc),_0x1939d1[_0x9453cf(0x27e)](),_0x1939d1[_0x9453cf(0x1fc)](),_0x1939d1[_0x9453cf(0x2c3)](_0x364da4,0x0),_0x1939d1[_0x9453cf(0x251)](_0x364da4-0xc/0x2,0xc),_0x1939d1[_0x9453cf(0x251)](_0x364da4+0xc/0x2,0xc),_0x1939d1[_0x9453cf(0x36f)](),_0x1939d1[_0x9453cf(0x3a8)](),_0x1939d1[_0x9453cf(0x1fc)](),_0x1939d1['moveTo'](_0x364da4,this[_0x9453cf(0x30d)]),_0x1939d1[_0x9453cf(0x251)](_0x364da4-0xc/0x2,this['height']-0xc),_0x1939d1[_0x9453cf(0x251)](_0x364da4+0xc/0x2,this[_0x9453cf(0x30d)]-0xc),_0x1939d1[_0x9453cf(0x36f)](),_0x1939d1[_0x9453cf(0x3a8)]();}};let Le=class extends e[_0x2262a8(0x26b)]{constructor(_0x3c892a,_0x337c8e,_0x2fd04a,_0x41dd5e,_0x1c3933,_0x1f3de5,_0x31dcf3,_0x443b6f,_0x29a8b8,_0x2de5cd){const _0x858e6c=_0x2262a8;super(),this[_0x858e6c(0x2ea)]=_0x3c892a,this[_0x858e6c(0x3db)]=_0x337c8e,this[_0x858e6c(0x22e)]=_0x2fd04a,this['_univerInstanceService']=_0x41dd5e,this[_0x858e6c(0x425)]=_0x1c3933,this[_0x858e6c(0x4b7)]=_0x1f3de5,this[_0x858e6c(0x2d4)]=_0x31dcf3,this[_0x858e6c(0x4be)]=_0x443b6f,this['_localeService']=_0x29a8b8,this['_diffColorService']=_0x2de5cd,H(this,_0x858e6c(0x42f),new Set()),H(this,_0x858e6c(0x416),new Set()),H(this,_0x858e6c(0x45f),new Set()),H(this,_0x858e6c(0x4b9),null),H(this,_0x858e6c(0x1d8),null),this[_0x858e6c(0x252)]();}[_0x2262a8(0x252)](){const _0x235b68=_0x2262a8;this[_0x235b68(0x2de)](),this[_0x235b68(0x2e7)]();}['_initRender'](){const _0x1e0499=_0x2262a8;this['_initDiffRender'](),this[_0x1e0499(0x235)]();}['_initDiffRender'](){const _0x4a8bd0=_0x2262a8;this[_0x4a8bd0(0x1a8)]((0x0,P['combineLatest'])([this['_historyManagerService'][_0x4a8bd0(0x3cb)],this[_0x4a8bd0(0x4b7)][_0x4a8bd0(0x4a3)],this[_0x4a8bd0(0x35c)][_0x4a8bd0(0x493)]])[_0x4a8bd0(0x466)]((0x0,P[_0x4a8bd0(0x33e)])(([_0x184d9e,_0x4e3afa,_0x1254a2])=>{const _0x572d47=_0x4a8bd0;if(_0x184d9e===_0x572d47(0x41d)&&_0x4e3afa){let _0x4033e5=_0x4e3afa[_0x572d47(0x2da)];return this['_versionDiffService'][_0x572d47(0x345)][_0x572d47(0x466)]((0x0,P[_0x572d47(0x232)])(_0x4da228=>_0x4da228[_0x572d47(0x54b)][_0x572d47(0x4d9)]===0x0||_0x4da228['subUnitIds'][_0x572d47(0x1c1)](_0x4033e5)?{'skeleton':_0x4e3afa,'versionDiff':_0x4da228,'sheetID':_0x4033e5,'palette':_0x1254a2}:{'skeleton':_0x4e3afa,'versionDiff':null,'palette':_0x1254a2}));}return(0x0,P['of'])({'skeleton':null,'versionDiff':null,'sheetID':null,'palette':_0x1254a2});}))[_0x4a8bd0(0x3ad)](({skeleton:_0x1eb97b,versionDiff:_0xdb5f11,sheetID:_0x517a64,palette:_0x588cbb})=>{const _0x3ca289=_0x4a8bd0;this[_0x3ca289(0x374)](),_0x1eb97b&&_0xdb5f11&&_0x517a64&&this[_0x3ca289(0x28c)](_0x1eb97b,_0xdb5f11,_0x517a64,_0x588cbb);}));}['_initPointerEvents'](){const _0xe5492a=_0x2262a8;this[_0xe5492a(0x1a8)](this[_0xe5492a(0x4b7)]['currentSkeleton$'][_0xe5492a(0x3ad)](_0x274e6f=>{const _0x5441e8=_0xe5492a;var _0xb54b6b;if((_0xb54b6b=this[_0x5441e8(0x1d8)])==null||_0xb54b6b[_0x5441e8(0x382)](),this[_0x5441e8(0x1d8)]=null,this[_0x5441e8(0x4b9)]=null,_0x274e6f==null)return;let {skeleton:_0x42528f}=_0x274e6f,{scene:_0x32c491}=this[_0x5441e8(0x2ea)];this[_0x5441e8(0x1d8)]=_0x32c491[_0x5441e8(0x31b)][_0x5441e8(0x4a2)]((0x0,e[_0x5441e8(0x20d)])(_0x2a51d0=>{const _0x311fb8=_0x5441e8;var _0x2f7328,_0x28078b;let {offsetX:_0x5d3d1d,offsetY:_0x35ccf0}=_0x2a51d0,{x:_0x3a009e,y:_0x55ffa9}=_0x32c491[_0x311fb8(0x32d)](y['Vector2'][_0x311fb8(0x2a8)]([_0x5d3d1d,_0x35ccf0])),{scaleX:_0x15f34c,scaleY:_0x3b250c}=_0x32c491[_0x311fb8(0x51d)](),_0x4c8de0=_0x32c491[_0x311fb8(0x268)](y['SHEET_VIEWPORT_KEY'][_0x311fb8(0x259)]),_0x133044=_0x32c491[_0x311fb8(0x45e)](y[_0x311fb8(0x503)][_0x311fb8(0x2a8)]([_0x3a009e,_0x55ffa9]),_0x4c8de0),_0x5d11fa=_0x42528f['getCellIndexByOffset'](_0x5d3d1d,_0x35ccf0,_0x15f34c,_0x3b250c,_0x133044);(((_0x2f7328=this[_0x311fb8(0x4b9)])==null?void 0x0:_0x2f7328[_0x311fb8(0x324)])!==_0x5d11fa[_0x311fb8(0x324)]||((_0x28078b=this[_0x311fb8(0x4b9)])==null?void 0x0:_0x28078b[_0x311fb8(0x302)])!==_0x5d11fa[_0x311fb8(0x302)])&&(this['_lastPointer']=_0x5d11fa,this['_diffs'][_0x311fb8(0x1aa)](_0x40d5ae=>{const _0x3cecbe=_0x311fb8;_0x40d5ae[_0x3cecbe(0x524)]||_0x40d5ae[_0x3cecbe(0x1fd)](_0x5d11fa);}));},0x64));}));}[_0x2262a8(0x2e7)](){const _0x27d333=_0x2262a8;this[_0x27d333(0x1a8)]((0x0,P[_0x27d333(0x57c)])([this['_historyManagerService']['loadingState$'],this[_0x27d333(0x22e)][_0x27d333(0x345)]])[_0x27d333(0x3ad)](([_0x45b273,_0x51162d])=>{const _0x5171ac=_0x27d333;_0x45b273==='loaded'&&(this[_0x5171ac(0x3f0)](_0x51162d['subUnitIds']),_0x51162d[_0x5171ac(0x209)]&&this['_commandService'][_0x5171ac(0x423)](t[_0x5171ac(0x2ee)]['id'],{'unitId':this[_0x5171ac(0x2ea)][_0x5171ac(0x3f8)],'subUnitId':_0x51162d[_0x5171ac(0x209)]}));}));}[_0x2262a8(0x3f0)](_0x38e05e){const _0x2fcbb2=_0x2262a8;let _0x591563=this[_0x2fcbb2(0x432)]['getUnit'](this['_context']['unitId'],e[_0x2fcbb2(0x35f)][_0x2fcbb2(0x240)]);if(!_0x591563)return;let _0x4dd696=_0x591563['getSheets']();if(_0x38e05e[_0x2fcbb2(0x4d9)]===0x0){_0x4dd696[_0x2fcbb2(0x1aa)](_0x5ae7ef=>{const _0x12e991=_0x2fcbb2;_0x5ae7ef[_0x12e991(0x2c2)]()&&this[_0x12e991(0x3e7)](_0x5ae7ef[_0x12e991(0x55e)](),e[_0x12e991(0x28a)]['FALSE']);});return;}_0x4dd696[_0x2fcbb2(0x1aa)](_0x369782=>{const _0x52b665=_0x2fcbb2;let _0x5e0423=_0x369782[_0x52b665(0x55e)](),_0x3cafb6=_0x38e05e[_0x52b665(0x1c1)](_0x5e0423),_0x578d0b=_0x369782['isSheetHidden']();_0x3cafb6&&_0x578d0b?this[_0x52b665(0x3e7)](_0x5e0423,e[_0x52b665(0x28a)]['FALSE']):!_0x3cafb6&&!_0x578d0b&&this[_0x52b665(0x3e7)](_0x5e0423,e[_0x52b665(0x28a)][_0x52b665(0x264)]);});}[_0x2262a8(0x3e7)](_0x199c2f,_0x51d250){const _0x292285=_0x2262a8;this[_0x292285(0x2d4)]['syncExecuteCommand'](t[_0x292285(0x297)]['id'],{'unitId':this['_context'][_0x292285(0x3f8)],'subUnitId':_0x199c2f,'hidden':_0x51d250});}[_0x2262a8(0x3e1)](){const _0x424b55=_0x2262a8;return this[_0x424b55(0x1a7)][_0x424b55(0x26f)]()===_0x424b55(0x434)?_0x424b55(0x3e5):'right';}[_0x2262a8(0x28c)](_0x294a54,_0x22e170,_0x16e69b,_0x512943){const _0x2658d6=_0x2262a8;this[_0x2658d6(0x42f)][_0x2658d6(0x1aa)](_0x17b987=>{const _0x20c8a9=_0x2658d6;_0x17b987[_0x20c8a9(0x467)]();});let _0x45a665=this['_generateDiffMarks'](_0x22e170,_0x16e69b,_0x512943);this['_diffs']=new Set(_0x45a665[_0x2658d6(0x409)](_0xaef3ae=>_0xaef3ae instanceof z[_0x2658d6(0x417)])),this['_borderDiffs']=new Set(_0x45a665[_0x2658d6(0x409)](_0x269142=>_0x269142 instanceof y[_0x2658d6(0x37a)])),this['_arrowDiffs']=new Set(_0x45a665[_0x2658d6(0x409)](_0x67faf3=>_0x67faf3 instanceof Ie)),_0x45a665[_0x2658d6(0x4d9)]>0x0&&this['_scrollToShape'](_0x45a665[0x0],this[_0x2658d6(0x2ea)][_0x2658d6(0x2d2)]);}['_generateDiffMarks'](_0x33b12f,_0x3859a7,_0x5150d0){const _0x4ad52a=_0x2262a8;let _0x3d5f2a=this['_sheetSkeletonManagerService'][_0x4ad52a(0x3ef)]();if(!_0x3d5f2a)return[];let {scene:_0x5e061f}=this[_0x4ad52a(0x2ea)],_0x45f84e=[],_0x2af219=_0xcb0a51=>{const _0x1c1e5d=_0x4ad52a;if(!_0xcb0a51)return new Map();let _0x2ba085=new Map();return _0xcb0a51[_0x1c1e5d(0x1aa)]((_0x562c6a,_0x2ad407)=>{const _0x29a7f0=_0x1c1e5d;let _0x2e33bd=_0x562c6a['filter'](_0xa33525=>_0xa33525[_0x29a7f0(0x449)]===_0x3859a7);_0x2e33bd[_0x29a7f0(0x4d9)]>0x0&&_0x2ba085[_0x29a7f0(0x47c)](_0x2ad407,_0x2e33bd);}),_0x2ba085;};return this[_0x4ad52a(0x408)](_0x5e061f,_0x3d5f2a,_0x2af219(_0x33b12f[_0x4ad52a(0x442)]),_0x5150d0[_0x4ad52a(0x583)]['fill'],_0x45f84e),this[_0x4ad52a(0x408)](_0x5e061f,_0x3d5f2a,_0x2af219(_0x33b12f[_0x4ad52a(0x405)]),_0x5150d0[_0x4ad52a(0x362)]['fill'],_0x45f84e),this[_0x4ad52a(0x408)](_0x5e061f,_0x3d5f2a,_0x2af219(_0x33b12f[_0x4ad52a(0x488)]),_0x5150d0[_0x4ad52a(0x1b3)][_0x4ad52a(0x3a8)],_0x45f84e),this[_0x4ad52a(0x228)](_0x5e061f,_0x3d5f2a,_0x2af219(_0x33b12f[_0x4ad52a(0x2df)]),_0x5150d0[_0x4ad52a(0x583)][_0x4ad52a(0x27e)],_0x45f84e),this[_0x4ad52a(0x228)](_0x5e061f,_0x3d5f2a,_0x2af219(_0x33b12f[_0x4ad52a(0x30e)]),_0x5150d0[_0x4ad52a(0x362)]['stroke'],_0x45f84e),this[_0x4ad52a(0x228)](_0x5e061f,_0x3d5f2a,_0x2af219(_0x33b12f[_0x4ad52a(0x327)]),_0x5150d0[_0x4ad52a(0x1b3)]['stroke'],_0x45f84e),this[_0x4ad52a(0x34a)](_0x5e061f,_0x3d5f2a,_0x2af219(_0x33b12f[_0x4ad52a(0x473)]),_0x5150d0[_0x4ad52a(0x1b3)][_0x4ad52a(0x3a8)],_0x4ad52a(0x1b6),_0x45f84e),this[_0x4ad52a(0x34a)](_0x5e061f,_0x3d5f2a,_0x2af219(_0x33b12f[_0x4ad52a(0x4e4)]),_0x5150d0['update']['fill'],_0x4ad52a(0x326),_0x45f84e),_0x33b12f[_0x4ad52a(0x4f1)]&&this[_0x4ad52a(0x543)](_0x5e061f,_0x33b12f[_0x4ad52a(0x4f1)],_0x5150d0[_0x4ad52a(0x583)]['stroke'],_0x45f84e),_0x33b12f['deleteDrawings']&&this[_0x4ad52a(0x543)](_0x5e061f,_0x33b12f['deleteDrawings'],_0x5150d0['delete'][_0x4ad52a(0x27e)],_0x45f84e),_0x33b12f[_0x4ad52a(0x1b2)]&&this[_0x4ad52a(0x543)](_0x5e061f,_0x33b12f[_0x4ad52a(0x1b2)],_0x5150d0[_0x4ad52a(0x1b3)][_0x4ad52a(0x27e)],_0x45f84e),this['_handleOverlappingShapes'](_0x45f84e),_0x5e061f['addObjects'](_0x45f84e,0x14),_0x45f84e;}['hideDiffMarks'](){const _0x2fe60e=_0x2262a8;this['_diffs'][_0x2fe60e(0x1aa)](_0x945bc1=>{const _0x2a2b96=_0x2fe60e;_0x945bc1[_0x2a2b96(0x4ab)]();}),this[_0x2fe60e(0x416)][_0x2fe60e(0x1aa)](_0x42880c=>{_0x42880c['hide']();}),this['_arrowDiffs'][_0x2fe60e(0x1aa)](_0xfae684=>{const _0x2ea2a1=_0x2fe60e;_0xfae684[_0x2ea2a1(0x4ab)]();});}['showDiffMarks'](){const _0x341e3f=_0x2262a8;this[_0x341e3f(0x42f)][_0x341e3f(0x1aa)](_0x5e6e56=>{const _0x2a9f8d=_0x341e3f;_0x5e6e56[_0x2a9f8d(0x1f9)]();}),this[_0x341e3f(0x416)][_0x341e3f(0x1aa)](_0x56bb80=>{const _0x5dfeb1=_0x341e3f;_0x56bb80[_0x5dfeb1(0x1f9)]();}),this[_0x341e3f(0x45f)][_0x341e3f(0x1aa)](_0x4bbe55=>{const _0x1a4002=_0x341e3f;_0x4bbe55[_0x1a4002(0x1f9)]();});}['removeDiffMarks'](){const _0x16ec11=_0x2262a8;this[_0x16ec11(0x374)]();}[_0x2262a8(0x48d)](_0x1f1917,_0x20d202){const _0x5b8a9f=_0x2262a8;this[_0x5b8a9f(0x51f)](_0x1f1917,_0x20d202);}[_0x2262a8(0x408)](_0x1675c3,_0xff37bd,_0x534f91,_0x393e6b,_0x3f9a5e){_0x534f91['forEach']((_0x3632ac,_0x4a306d)=>{const _0x132b72=_0x3275;_0x3632ac[_0x132b72(0x1aa)](_0x1a1be4=>{const _0x3b179e=_0x132b72;var _0x5b1a35;let {range:_0x2720bb,subUnitId:_0x3e71db,unitId:_0x2cb4ed,showText:_0x5029f0='',highlightColumn:_0x194e82,highlightRow:_0x1fed07}=_0x1a1be4,{startColumn:_0x384c8d,startRow:_0x3cd1ad,endColumn:_0x2b1d66,endRow:_0x384204}=_0x2720bb,_0x243c39=(0x0,M[_0x3b179e(0x334)])(_0x3cd1ad,_0x384c8d,_0x1675c3,_0xff37bd),_0x1a4c91=(0x0,M[_0x3b179e(0x334)])(_0x384204,_0x2b1d66,_0x1675c3,_0xff37bd),{columnHeaderHeightAndMarginTop:_0xda7629}=_0xff37bd,{startX:_0x405039,startY:_0x12d75b}=_0x243c39,{endX:_0x3ac295,endY:_0x4bc659}=_0x1a4c91,_0x21af01=_0xff37bd['rowHeaderWidth'],_0x35d53e=_0xff37bd[_0x3b179e(0x2e2)];_0x1fed07&&(_0x405039-=_0x21af01),_0x194e82&&(_0x12d75b-=_0x35d53e);let _0x2b2b78=_0x3ac295-_0x405039,_0x5d4419=_0x4bc659-_0x12d75b,_0x238230={'labelPosition':_0x12d75b-_0xda7629>=0x14?_0x3b179e(0x1ae):_0x3b179e(0x532),'sheetID':_0x3e71db,'range':_0x2720bb,'color':_0x393e6b,'fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x393e6b,'name':((_0x5b1a35=this[_0x3b179e(0x3db)][_0x3b179e(0x1f7)](_0x4a306d))==null?void 0x0:_0x5b1a35[_0x3b179e(0x2ad)])+'\x20'+_0x5029f0||_0x5029f0,'labelHorizontalPosition':this[_0x3b179e(0x3e1)](),'selection':_0x2cb4ed+'-'+_0x3e71db+'-'+_0x2720bb[_0x3b179e(0x557)]+'-'+_0x2720bb[_0x3b179e(0x35e)]+'-'+_0x2720bb['endColumn']+'-'+_0x2720bb[_0x3b179e(0x402)],'left':_0x405039,'top':_0x12d75b,'width':_0x2b2b78,'height':_0x5d4419,'evented':!0x1,'zIndex':0x3e8,'highlight':!0x0};_0x3f9a5e[_0x3b179e(0x516)](new z['SheetCollabCursorShape']('',_0x238230));});});}[_0x2262a8(0x228)](_0x3766fe,_0x36b724,_0x475d95,_0x51899f,_0x378bce){_0x475d95['forEach']((_0x207fe0,_0x1f3dac)=>{const _0x579e13=_0x3275;_0x207fe0[_0x579e13(0x1aa)](_0x5d7901=>{const _0x1e6d13=_0x579e13;var _0x2b7be6;let {range:_0x3c7fb0,subUnitId:_0x28f60f,unitId:_0x1a9013,showText:_0x1423ef=''}=_0x5d7901,{startColumn:_0x499608,startRow:_0x27a20a,endColumn:_0xcc3340,endRow:_0xd09d8f}=_0x3c7fb0,_0x36e790=(0x0,M[_0x1e6d13(0x334)])(_0x27a20a,_0x499608,_0x3766fe,_0x36b724),_0x4c050a=(0x0,M[_0x1e6d13(0x334)])(_0xd09d8f,_0xcc3340,_0x3766fe,_0x36b724),{columnHeaderHeightAndMarginTop:_0x5bb19f}=_0x36b724,{startX:_0x4aa5c3,startY:_0x271038}=_0x36e790,{endX:_0x5815a2,endY:_0x4a2647}=_0x4c050a,_0x277075=_0x5815a2-_0x4aa5c3,_0x576e16=_0x4a2647-_0x271038,_0x1a7ed8={'labelPosition':_0x271038-_0x5bb19f>=0x14?_0x1e6d13(0x1ae):'bottom','sheetID':_0x28f60f,'range':_0x3c7fb0,'color':_0x51899f,'fillAfterStrokeEnabled':!0x1,'backgroundColor':_0x1e6d13(0x576),'name':((_0x2b7be6=this[_0x1e6d13(0x3db)][_0x1e6d13(0x1f7)](_0x1f3dac))==null?void 0x0:_0x2b7be6['name'])+'\x20'+_0x1423ef||_0x1423ef,'labelHorizontalPosition':this[_0x1e6d13(0x3e1)](),'selection':_0x1a9013+'-'+_0x28f60f+'-'+_0x3c7fb0[_0x1e6d13(0x557)]+'-'+_0x3c7fb0[_0x1e6d13(0x35e)]+'-'+_0x3c7fb0['endColumn']+'-'+_0x3c7fb0[_0x1e6d13(0x402)],'left':_0x4aa5c3-0xc/0x2,'top':_0x271038-0xc/0x2,'width':_0x277075,'height':_0x576e16,'evented':!0x1,'zIndex':0x3e8,'strokeWidth':0xc,'highlight':!0x0};_0x378bce[_0x1e6d13(0x516)](new z['SheetCollabCursorShape']('',_0x1a7ed8));});});}[_0x2262a8(0x34a)](_0x3b983e,_0x5ebd17,_0x2932eb,_0x575f8b,_0x48ad29,_0x578e12){const _0x5c0d55=_0x2262a8;let _0x1c9326=_0x5ebd17[_0x5c0d55(0x4ea)],_0x1d0452=_0x5ebd17['columnHeaderHeight'];_0x2932eb[_0x5c0d55(0x1aa)](_0x501302=>{const _0x309517=_0x5c0d55;_0x501302[_0x309517(0x1aa)](_0x3b3fda=>{const _0x133ed8=_0x309517;let {range:_0x26aab2}=_0x3b3fda,{startColumn:_0x12a742,startRow:_0x1157f2,endColumn:_0x47eb30,endRow:_0x3946f0}=_0x26aab2,_0xcc6b86=(0x0,M[_0x133ed8(0x334)])(_0x1157f2,_0x12a742,_0x3b983e,_0x5ebd17),_0x14ec00=(0x0,M['getCoordByCell'])(_0x3946f0,_0x47eb30,_0x3b983e,_0x5ebd17),{startX:_0x8b13d1,startY:_0x47eea1}=_0xcc6b86,{endX:_0xfd9cd,endY:_0x37fed9}=_0x14ec00,_0x7d1ef6;if(_0x48ad29===_0x133ed8(0x326))_0x7d1ef6=new Ie('',{'color':_0x575f8b,'direction':'horizontal','left':_0x8b13d1,'top':0x2,'width':_0xfd9cd-_0x8b13d1,'height':_0x1d0452-0x4,'evented':!0x1,'zIndex':0x3e9,'highlight':!0x0,'highlightSecond':0x4}),_0x578e12[_0x133ed8(0x516)](_0x7d1ef6);else{let _0x254be6=_0x37fed9-_0x47eea1;_0x7d1ef6=new Ie('',{'color':_0x575f8b,'direction':_0x133ed8(0x1b6),'left':0x2,'top':_0x47eea1,'width':_0x1c9326-0x4,'height':_0x254be6,'evented':!0x1,'zIndex':0x3e9,'highlight':!0x0,'highlightSecond':0x4}),_0x578e12[_0x133ed8(0x516)](_0x7d1ef6);}});});}[_0x2262a8(0x543)](_0x23f85f,_0x134749,_0x13b0df,_0x1282c7){const _0x73bc96=_0x2262a8;let _0x58dcf4=this[_0x73bc96(0x4b7)]['getCurrentSkeleton']();if(!_0x58dcf4)return;let {columnHeaderHeightAndMarginTop:_0x3c2ad6}=_0x58dcf4;_0x134749['forEach']((_0x281d50,_0x19ec6e)=>{_0x281d50['forEach'](_0x479913=>{const _0x47c995=_0x3275;let _0x49c135=this['_createDrawingHighlight'](_0x479913,_0x19ec6e,_0x13b0df,_0x3c2ad6,0xc,_0x1282c7);_0x49c135&&_0x1282c7[_0x47c995(0x516)](_0x49c135);});});}[_0x2262a8(0x3a4)](_0xffd89c,_0xb75079,_0x4d5e31,_0xb9bf47,_0x99792b,_0x611fc9){const _0x14a724=_0x2262a8;var _0x56d825;let {drawingId:_0x4df467,unitId:_0x5085c7,subUnitId:_0xbb98e2,showText:_0x12157a=''}=_0xffd89c,_0x341ec0=this[_0x14a724(0x4be)][_0x14a724(0x3da)]({'unitId':_0x5085c7,'subUnitId':_0xbb98e2,'drawingId':_0x4df467});if(!(_0x341ec0!=null&&_0x341ec0[_0x14a724(0x568)]))return null;let {left:_0x479ff3=0x0,top:_0x13e0db=0x0,width:_0xae7533,height:_0x5695c5}=_0x341ec0[_0x14a724(0x568)],_0x43bf2d=new z[(_0x14a724(0x417))]('',{'labelPosition':_0x13e0db-_0xb9bf47>=0x14?_0x14a724(0x1ae):_0x14a724(0x532),'sheetID':_0xbb98e2,'range':{'startRow':0x0,'startColumn':0x0,'endRow':0x0,'endColumn':0x0},'color':_0x4d5e31,'fillAfterStrokeEnabled':!0x1,'backgroundColor':_0x14a724(0x576),'name':((_0x56d825=this[_0x14a724(0x3db)][_0x14a724(0x1f7)](_0xb75079))==null?void 0x0:_0x56d825[_0x14a724(0x2ad)])+'\x20'+_0x12157a||_0x12157a,'labelHorizontalPosition':this[_0x14a724(0x3e1)](),'selection':_0x5085c7+'-'+_0xbb98e2+_0x14a724(0x3b0)+_0x4df467,'left':_0x479ff3-_0x99792b/0x2,'top':_0x13e0db-_0x99792b/0x2,'width':_0xae7533,'height':_0x5695c5,'evented':!0x0,'zIndex':0x3e8,'strokeWidth':_0x99792b,'highlight':!0x0});return this[_0x14a724(0x463)](_0x43bf2d,_0x611fc9),_0x43bf2d;}[_0x2262a8(0x463)](_0x507575,_0x1c727d){const _0x312132=_0x2262a8;_0x507575[_0x312132(0x21d)][_0x312132(0x4a2)](()=>this['_setOverlappingShapesHovered'](_0x507575,_0x1c727d,!0x0)),_0x507575['onPointerLeave$'][_0x312132(0x4a2)](()=>this['_setOverlappingShapesHovered'](_0x507575,_0x1c727d,!0x1));}['_setOverlappingShapesHovered'](_0x32b8a1,_0x433ed6,_0x5e2977){const _0x4d4289=_0x2262a8;this[_0x4d4289(0x49b)](_0x32b8a1,_0x433ed6)[_0x4d4289(0x1aa)](_0x56aaae=>{const _0x1df70f=_0x4d4289;_0x56aaae instanceof z['SheetCollabCursorShape']&&_0x56aaae[_0x1df70f(0x46d)]({'hovered':_0x5e2977});});}['_removeDiffMarks'](){const _0x5b1c7c=_0x2262a8;this['_diffs'][_0x5b1c7c(0x1aa)](_0x2671e0=>_0x2671e0[_0x5b1c7c(0x4f9)]()),this[_0x5b1c7c(0x416)][_0x5b1c7c(0x1aa)](_0xd0762c=>_0xd0762c['dispose']()),this[_0x5b1c7c(0x45f)][_0x5b1c7c(0x1aa)](_0x37ca11=>_0x37ca11['dispose']()),this[_0x5b1c7c(0x42f)][_0x5b1c7c(0x2a2)](),this[_0x5b1c7c(0x416)][_0x5b1c7c(0x2a2)](),this[_0x5b1c7c(0x45f)][_0x5b1c7c(0x2a2)]();}[_0x2262a8(0x239)](_0x3ee4b5){const _0x20d5c0=_0x2262a8;let _0x403590=_0x3ee4b5[_0x20d5c0(0x409)](_0x434f33=>_0x434f33 instanceof z['SheetCollabCursorShape']);if(_0x403590[_0x20d5c0(0x4d9)]===0x0)return;let _0x352480=[],_0x156b70=new Set();_0x403590[_0x20d5c0(0x1aa)](_0x531ad0=>{const _0x3a3c06=_0x20d5c0;if(_0x156b70['has'](_0x531ad0))return;let _0x217ba8=_0x531ad0['left']||0x0,_0x3e00b3=_0x531ad0[_0x3a3c06(0x1ae)]||0x0,_0x566bdd=_0x217ba8+(_0x531ad0[_0x3a3c06(0x560)]||0x0),_0x3be32c=_0x3e00b3,_0x16a550=[_0x531ad0];_0x156b70[_0x3a3c06(0x3f9)](_0x531ad0),_0x403590[_0x3a3c06(0x1aa)](_0xc18354=>{const _0x376cf5=_0x3a3c06;if(_0x156b70[_0x376cf5(0x1ea)](_0xc18354))return;let _0x5150e7=_0xc18354[_0x376cf5(0x3e5)]||0x0,_0x3f2508=_0xc18354[_0x376cf5(0x1ae)]||0x0,_0x54bc12=_0x5150e7+(_0xc18354[_0x376cf5(0x560)]||0x0),_0x430106=_0x3f2508;Math[_0x376cf5(0x1d7)](_0x566bdd-_0x54bc12)<=0xa&&Math[_0x376cf5(0x1d7)](_0x3be32c-_0x430106)<=0xa&&(_0x16a550[_0x376cf5(0x516)](_0xc18354),_0x156b70[_0x376cf5(0x3f9)](_0xc18354));}),_0x16a550[_0x3a3c06(0x4d9)]>0x1&&_0x352480[_0x3a3c06(0x516)](_0x16a550);}),_0x352480[_0x20d5c0(0x1aa)](_0xdbe511=>{const _0x2ba285=_0x20d5c0;_0xdbe511[_0x2ba285(0x4a1)]((_0x3f813d,_0xf5e429)=>(_0x3f813d[_0x2ba285(0x1ae)]||0x0)-(_0xf5e429[_0x2ba285(0x1ae)]||0x0)),_0xdbe511[_0x2ba285(0x1aa)]((_0x11eb9b,_0x4d657a)=>{const _0x1070b9=_0x2ba285;let _0x39cc9c=_0x4d657a*0x16;_0x11eb9b[_0x1070b9(0x564)](_0x39cc9c);});});}[_0x2262a8(0x49b)](_0x765075,_0x504e9a){const _0x388b54=_0x2262a8;let _0x4626cd=_0x765075['left']||0x0,_0x14f540=_0x765075[_0x388b54(0x1ae)]||0x0,_0x443b73=_0x765075['width']||0x0,_0x573984=_0x765075['height']||0x0,_0x8c810e=_0x4626cd+_0x443b73,_0x20a99a=_0x14f540+_0x573984;return _0x504e9a[_0x388b54(0x409)](_0x2052f8=>{const _0x456808=_0x388b54;let _0x2e9c76=_0x2052f8[_0x456808(0x3e5)]||0x0,_0x3a417a=_0x2052f8[_0x456808(0x1ae)]||0x0,_0x342055=_0x2052f8[_0x456808(0x560)]||0x0,_0x46852b=_0x2052f8['height']||0x0,_0xf81160=_0x2e9c76+_0x342055,_0x21dcac=_0x3a417a+_0x46852b;return!(_0x8c810e<=_0x2e9c76||_0x4626cd>=_0xf81160||_0x20a99a<=_0x3a417a||_0x14f540>=_0x21dcac);});}['_scrollToShape'](_0x160fa1,_0x40af58){const _0x4d23bd=_0x2262a8;let _0x3a865e=_0x40af58[_0x4d23bd(0x268)](y['SHEET_VIEWPORT_KEY'][_0x4d23bd(0x259)]);if(!_0x3a865e)return;let _0x876789=_0x160fa1[_0x4d23bd(0x3e5)]||0x0,_0x3bd687=_0x160fa1[_0x4d23bd(0x1ae)]||0x0,_0x5dea2d=_0x160fa1[_0x4d23bd(0x560)]||0x0,_0x3ceddd=_0x160fa1['height']||0x0,_0x555645=_0x3a865e[_0x4d23bd(0x560)]||0x0,_0x867fba=_0x3a865e['height']||0x0,_0xaaca03=_0x3a865e[_0x4d23bd(0x4f8)]||0x0,_0x25978=_0x3a865e[_0x4d23bd(0x370)]||0x0,_0x33c708=_0xaaca03,_0x427692=_0x25978,_0x598990=_0xaaca03+_0x555645,_0x29ab4e=_0x25978+_0x867fba;if(_0x876789>=_0x33c708&&_0x3bd687>=_0x427692&&_0x876789+_0x5dea2d<=_0x598990&&_0x3bd687+_0x3ceddd<=_0x29ab4e)return;let _0x503d2a=Math[_0x4d23bd(0x2c6)](0x0,_0x876789-_0x555645/0x2+_0x5dea2d/0x2),_0x22eb2d=Math[_0x4d23bd(0x2c6)](0x0,_0x3bd687-_0x867fba/0x2+_0x3ceddd/0x2);_0x3a865e[_0x4d23bd(0x29d)]({'viewportScrollX':_0x503d2a,'viewportScrollY':_0x22eb2d});}['_getSheetObject'](){const _0x3c5c7f=_0x2262a8;return(0x0,M[_0x3c5c7f(0x50f)])(this['_univerInstanceService'],this['_renderManagerService']);}['dispose'](){const _0x132a08=_0x2262a8;var _0x435350;(_0x435350=this['_pointerMoveSubscription'])==null||_0x435350[_0x132a08(0x382)](),this[_0x132a08(0x1d8)]=null,this[_0x132a08(0x374)](),super[_0x132a08(0x4f9)]();}};Le=W([U(0x1,(0x0,e[_0x2262a8(0x47b)])(q)),U(0x2,(0x0,e[_0x2262a8(0x47b)])(J)),U(0x3,e[_0x2262a8(0x400)]),U(0x4,y[_0x2262a8(0x565)]),U(0x5,(0x0,e[_0x2262a8(0x47b)])(M[_0x2262a8(0x554)])),U(0x6,e['ICommandService']),U(0x7,_[_0x2262a8(0x40a)]),U(0x8,(0x0,e['Inject'])(e[_0x2262a8(0x2f7)])),U(0x9,(0x0,e['Inject'])(Fe))],Le);let Re=class extends e[_0x2262a8(0x26b)]{constructor(_0x5c2301,_0x186326,_0x329b4a,_0x1b46ce){const _0x23f5d3=_0x2262a8;super(),this[_0x23f5d3(0x298)]=_0x5c2301,this[_0x23f5d3(0x1a7)]=_0x186326,this[_0x23f5d3(0x3db)]=_0x329b4a,this[_0x23f5d3(0x2eb)]=_0x1b46ce,H(this,_0x23f5d3(0x43a),null),this['_init']();}[_0x2262a8(0x252)](){const _0x1e2ad0=_0x2262a8;this[_0x1e2ad0(0x513)]();}['_openPanel'](){const _0x22301c=_0x2262a8;var _0x1f8f84;if(this[_0x22301c(0x43a)])return;let _0x547f72=(_0x1f8f84=this[_0x22301c(0x2eb)]['getConfig'](_0x22301c(0x398)))==null?void 0x0:_0x1f8f84[_0x22301c(0x242)],_0x2caf79={'header':{'title':this['_localeService']['t'](_0x22301c(0x391))},'children':{'label':_0x547f72},'onClose':()=>{const _0x5aa9eb=_0x22301c;this[_0x5aa9eb(0x43a)]=null,this[_0x5aa9eb(0x3db)][_0x5aa9eb(0x23d)]();}};this['_sidebarDisposable']=this[_0x22301c(0x298)][_0x22301c(0x3b9)]({..._0x2caf79});}[_0x2262a8(0x513)](){const _0xdb2562=_0x2262a8;this['disposeWithMe'](this['_historyManagerService'][_0xdb2562(0x2bd)]['subscribe'](_0x225cf5=>{const _0x25520a=_0xdb2562;_0x225cf5&&this[_0x25520a(0x480)]();}));}};Re=W([U(0x0,N[_0x2262a8(0x253)]),U(0x1,(0x0,e[_0x2262a8(0x47b)])(e[_0x2262a8(0x2f7)])),U(0x2,(0x0,e[_0x2262a8(0x47b)])(q)),U(0x3,e[_0x2262a8(0x33d)])],Re);var ze=class extends e[_0x2262a8(0x26b)]{constructor(){const _0x4ef813=_0x2262a8;super(),H(this,_0x4ef813(0x4b8),new P[(_0x4ef813(0x581))]());}[_0x2262a8(0x3b9)](){return(0x0,e['toDisposable'])(()=>{});}['close'](){}[_0x2262a8(0x53d)](_0x326ef8){}[_0x2262a8(0x51b)](){const _0x42aa4b=_0x2262a8;return this[_0x42aa4b(0x4b8)][_0x42aa4b(0x445)]();}};let Be=class extends e['Plugin']{constructor(_0x4b014f=V,_0x4642a0,_0x17f593,_0x2fc353){const _0x4a9bb3=_0x2262a8;super(),this[_0x4a9bb3(0x4c8)]=_0x4b014f,this[_0x4a9bb3(0x584)]=_0x4642a0,this[_0x4a9bb3(0x425)]=_0x17f593,this[_0x4a9bb3(0x2eb)]=_0x2fc353;let {..._0xdcc78b}=(0x0,e[_0x4a9bb3(0x310)])({},V,this[_0x4a9bb3(0x4c8)]);this[_0x4a9bb3(0x2eb)][_0x4a9bb3(0x383)](B,_0xdcc78b);}[_0x2262a8(0x51a)](){const _0x3151ee=_0x2262a8;[[Y],[q],[Ne],[J],[Fe],[G],[Re],[Ae],[n[_0x3151ee(0x2b7)],{'useClass':r[_0x3151ee(0x48b)]}],[N[_0x3151ee(0x3d4)],{'useClass':ze}],[e[_0x3151ee(0x1d1)],{'useClass':r[_0x3151ee(0x33c)]}]][_0x3151ee(0x1aa)](_0x14793a=>this[_0x3151ee(0x584)]['add'](_0x14793a)),this[_0x3151ee(0x584)]['get'](Ne),this[_0x3151ee(0x584)][_0x3151ee(0x2c8)](Y);}[_0x2262a8(0x23f)](){const _0x436b0e=_0x2262a8;[[Le]][_0x436b0e(0x1aa)](_0x5d363e=>{const _0xdea7a7=_0x436b0e;this[_0xdea7a7(0x1a8)](this[_0xdea7a7(0x425)][_0xdea7a7(0x291)](e[_0xdea7a7(0x35f)][_0xdea7a7(0x240)],_0x5d363e));}),this[_0x436b0e(0x584)][_0x436b0e(0x2c8)](Ae),this[_0x436b0e(0x584)][_0x436b0e(0x2c8)](Re);}[_0x2262a8(0x26d)](){const _0x5bf19e=_0x2262a8;this[_0x5bf19e(0x584)]['get'](J);}};H(Be,'pluginName',_0x2262a8(0x3d3)),H(Be,_0x2262a8(0x536),se),H(Be,_0x2262a8(0x26c),ce),Be=W([(0x0,e[_0x2262a8(0x333)])(a['UniverLicensePlugin'],_[_0x2262a8(0x41b)],y['UniverRenderEnginePlugin'],b['UniverNetworkPlugin'],O[_0x2262a8(0x452)],j[_0x2262a8(0x48e)],t[_0x2262a8(0x534)],n[_0x2262a8(0x3b6)],S[_0x2262a8(0x1bb)],o[_0x2262a8(0x21b)],c['UniverSheetsPivotTablePlugin'],d[_0x2262a8(0x3f1)],M[_0x2262a8(0x312)],w['UniverSheetsDataValidationPlugin']),U(0x1,(0x0,e[_0x2262a8(0x47b)])(e[_0x2262a8(0x230)])),U(0x2,y['IRenderManagerService']),U(0x3,e[_0x2262a8(0x33d)])],Be);function Ve(_0x2c1e57){const _0x5e4752=_0x2262a8;let _0x3fc694=_0x2c1e57[_0x5e4752(0x55c)]();return{'locale':_0x3fc694,'locales':{[_0x3fc694]:_0x2c1e57[_0x5e4752(0x1fe)]()},'direction':_0x2c1e57[_0x5e4752(0x26f)]()};}function He(_0x58ed15,_0x45e4f6){const _0x580b14=_0x2262a8;let _0x347480=_0x45e4f6[_0x580b14(0x26f)]();_0x58ed15['dir']=_0x347480,_0x58ed15[_0x580b14(0x39b)][_0x580b14(0x511)]=_0x347480;}function Ue(_0x1de718){const _0x3f4ba8=_0x2262a8;return We(_0x1de718)?typeof _0x1de718[_0x3f4ba8(0x368)]==_0x3f4ba8(0x501)&&typeof _0x1de718[_0x3f4ba8(0x396)]==_0x3f4ba8(0x490)&&Array['isArray'](_0x1de718['versions'])&&We(_0x1de718[_0x3f4ba8(0x580)]):!0x1;}function We(_0x23c54f){const _0x5a8f7b=_0x2262a8;return typeof _0x23c54f==_0x5a8f7b(0x577)&&!!_0x23c54f;}const Ge=_0x2262a8(0x1b9);let X=class extends e[_0x2262a8(0x26b)]{constructor(_0x38a2b6,_0x2b2e48,_0x10abbf,_0x1c98a4,_0x5438a4,_0x22be66,_0x570a77,_0x45bade,_0x583904,_0xb4d074){const _0x54ecef=_0x2262a8;super(),this['_localeService']=_0x38a2b6,this['_univerInstanceService']=_0x2b2e48,this[_0x54ecef(0x2eb)]=_0x10abbf,this[_0x54ecef(0x2d4)]=_0x1c98a4,this[_0x54ecef(0x286)]=_0x5438a4,this[_0x54ecef(0x2ab)]=_0x22be66,this[_0x54ecef(0x304)]=_0x570a77,this[_0x54ecef(0x3aa)]=_0x45bade,this[_0x54ecef(0x298)]=_0x583904,this['_themeService']=_0xb4d074,H(this,'_historyUniver$',new P[(_0x54ecef(0x421))](null)),H(this,_0x54ecef(0x202),this['_historyUniver$'][_0x54ecef(0x445)]()),H(this,_0x54ecef(0x43b),new e[(_0x54ecef(0x2a3))]()),H(this,_0x54ecef(0x3b5),new Map()),H(this,_0x54ecef(0x371),null),this[_0x54ecef(0x252)]();}get['historyUniver'](){const _0x438566=_0x2262a8;return this[_0x438566(0x346)]['value'];}[_0x2262a8(0x252)](){const _0x1406dc=_0x2262a8;this[_0x1406dc(0x2a0)](),this[_0x1406dc(0x21c)]();}[_0x2262a8(0x2a0)](){const _0xd1403a=_0x2262a8;var _0x4ac4a4;let _0x3e2a16=this['_configService']['getConfig'](B),_0xa7a572=(_0x4ac4a4=this['_configService'][_0xd1403a(0x270)](N[_0xd1403a(0x260)]))==null?void 0x0:_0x4ac4a4[_0xd1403a(0x1a5)],_0x12d0ad=(_0x3e2a16==null?void 0x0:_0x3e2a16[_0xd1403a(0x22b)])??_0xa7a572,_0x1f912d=typeof _0x12d0ad==_0xd1403a(0x490)?document[_0xd1403a(0x3e9)](_0x12d0ad):_0x12d0ad;if(!_0x1f912d)throw Error(_0xd1403a(0x1ff));let _0x4755c3=document[_0xd1403a(0x46b)](_0xd1403a(0x1ca));_0x4755c3['id']=Ge,_0x4755c3[_0xd1403a(0x39b)][_0xd1403a(0x437)]=_0xd1403a(0x47a),_0x4755c3[_0xd1403a(0x39b)][_0xd1403a(0x1ae)]='0',_0x4755c3[_0xd1403a(0x39b)]['left']='0',_0x4755c3['style'][_0xd1403a(0x560)]=_0xd1403a(0x512),_0x4755c3[_0xd1403a(0x39b)][_0xd1403a(0x30d)]=_0xd1403a(0x512),_0x4755c3[_0xd1403a(0x39b)][_0xd1403a(0x45a)]='49',_0x4755c3[_0xd1403a(0x39b)][_0xd1403a(0x246)]='none',He(_0x4755c3,this['_localeService']),_0x1f912d[_0xd1403a(0x486)](_0x4755c3);}['_initPlugins'](){const _0x471e1d=_0x2262a8;[[y['UniverRenderEnginePlugin']],[N[_0x471e1d(0x1d5)],{'container':Ge,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[N[_0x471e1d(0x3d4)],null]]}],[b[_0x471e1d(0x433)]],[_['UniverDrawingPlugin'],{'override':[[e[_0x471e1d(0x1d1)],null]]}],[h[_0x471e1d(0x1e5)],{'hasScroll':!0x1}],[g[_0x471e1d(0x3ca)]],[re[_0x471e1d(0x372)]],[t[_0x471e1d(0x534)],{'notExecuteFormula':!0x0}],[M[_0x471e1d(0x312)]],[A[_0x471e1d(0x39c)]],[ee[_0x471e1d(0x24f)]],[n[_0x471e1d(0x3b6)]],[O[_0x471e1d(0x452)]],[k[_0x471e1d(0x31f)]],[S[_0x471e1d(0x1bb)]],[C[_0x471e1d(0x3c8)]],[te[_0x471e1d(0x3ae)]],[ne[_0x471e1d(0x459)]],[p[_0x471e1d(0x356)]],[w[_0x471e1d(0x1f2)]],[T[_0x471e1d(0x269)]],[i[_0x471e1d(0x41f)],{'notExecuteFormula':!0x0}],[v[_0x471e1d(0x53b)]],[E[_0x471e1d(0x533)]],[D['UniverSheetsDrawingUIPlugin']],[d[_0x471e1d(0x3f1)]],[f[_0x471e1d(0x419)]],[o['UniverSheetsChartPlugin']],[s['UniverSheetsChartUIPlugin']],[l[_0x471e1d(0x325)]],[u['UniverSheetsShapeUIPlugin']],[c[_0x471e1d(0x49e)],{'notExecuteFormula':!0x0}],[j['UniverSheetsTablePlugin']]][_0x471e1d(0x1aa)](([_0x3e9d85,_0xf6f953])=>this['registerPlugin'](_0x3e9d85,_0xf6f953));}[_0x2262a8(0x4f9)](){const _0x29a77f=_0x2262a8;super[_0x29a77f(0x4f9)](),this[_0x29a77f(0x351)](),this[_0x29a77f(0x3b5)][_0x29a77f(0x2a2)]();}[_0x2262a8(0x395)](_0x2eb16d,_0x43c718,_0x5469aa){const _0x12b561=_0x2262a8;if(this[_0x12b561(0x3b5)]['has'](_0x2eb16d[_0x12b561(0x217)])&&!_0x5469aa)throw Error(_0x12b561(0x3af)+_0x2eb16d['pluginName']+_0x12b561(0x420));this[_0x12b561(0x3b5)][_0x12b561(0x47c)](_0x2eb16d['pluginName'],[_0x2eb16d,_0x43c718]);}[_0x2262a8(0x1c6)](){const _0x441cf5=_0x2262a8;return Array[_0x441cf5(0x55a)](this[_0x441cf5(0x3b5)]['values']());}['mountHistoryContent'](_0x2eb84e,_0x44c421){const _0x4f712c=_0x2262a8;let _0x579465=document[_0x4f712c(0x3e9)](Ge);_0x579465&&(_0x579465[_0x4f712c(0x39b)]['display']='block',this[_0x4f712c(0x2b1)](_0x2eb84e,Ge,_0x44c421));}[_0x2262a8(0x351)](){const _0x4a54fb=_0x2262a8;var _0x37e850;this[_0x4a54fb(0x43b)][_0x4a54fb(0x4f9)](),(_0x37e850=this[_0x4a54fb(0x203)])==null||_0x37e850[_0x4a54fb(0x4f9)](),this[_0x4a54fb(0x346)][_0x4a54fb(0x344)](null);let _0x505fdd=document['getElementById'](Ge);_0x505fdd&&(_0x505fdd['style'][_0x4a54fb(0x246)]=_0x4a54fb(0x237),this[_0x4a54fb(0x371)]&&=(this['_internalWebWorker']['terminate'](),null));}[_0x2262a8(0x2b1)](_0x3f4e95,_0x5521f0,_0x19cf44){const _0x38c226=_0x2262a8;var _0x562ad3,_0x17f6ee,_0x3aa6de,_0x4451b7;if(this[_0x38c226(0x203)])return;let _0x5599f6=new e['Univer']({...Ve(this[_0x38c226(0x1a7)]),'override':[[e['IAuthzIoService'],{'useClass':r[_0x38c226(0x44a)]}]]}),_0x71aefc=_0x5599f6[_0x38c226(0x1ed)]();this[_0x38c226(0x335)](_0x71aefc,_0x5521f0),_0x71aefc['get'](e[_0x38c226(0x33d)])[_0x38c226(0x383)](r[_0x38c226(0x33f)],this[_0x38c226(0x2eb)][_0x38c226(0x270)](r['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']));let _0x52184b=this['_configService'][_0x38c226(0x270)](a[_0x38c226(0x461)]);_0x52184b&&_0x5599f6[_0x38c226(0x395)](a[_0x38c226(0x2b6)],{'license':_0x52184b['ls']});let _0x42a6db=(_0x562ad3=this[_0x38c226(0x2eb)][_0x38c226(0x270)](_0x38c226(0x398)))==null?void 0x0:_0x562ad3['workerURL'];_0x42a6db&&(this[_0x38c226(0x371)]=_0x42a6db instanceof Worker?_0x42a6db:null,_0x5599f6['registerPlugin'](x[_0x38c226(0x38d)],{'workerURL':_0x42a6db})),this[_0x38c226(0x3b5)][_0x38c226(0x1aa)](([_0x4f8263,_0x7e6e9c])=>{const _0x4985b1=_0x38c226;_0x5599f6[_0x4985b1(0x395)](_0x4f8263,_0x7e6e9c);}),_0x5599f6[_0x38c226(0x395)](Be,{'historyServerUrl':oe(this[_0x38c226(0x2eb)]['getConfig'](B)),'historyPanelComponentKey':(_0x17f6ee=this['_configService'][_0x38c226(0x270)](_0x38c226(0x398)))==null?void 0x0:_0x17f6ee['historyPanelComponentKey'],'historyPanelHidden':(_0x3aa6de=this[_0x38c226(0x2eb)][_0x38c226(0x270)](_0x38c226(0x398)))==null?void 0x0:_0x3aa6de[_0x38c226(0x354)],'historyAIassistantEnabled':(_0x4451b7=this[_0x38c226(0x2eb)][_0x38c226(0x270)](_0x38c226(0x398)))==null?void 0x0:_0x4451b7['historyAIassistantEnabled']}),_0x71aefc[_0x38c226(0x451)](_0x331f98=>{const _0x1a51ff=_0x38c226;this[_0x1a51ff(0x2ba)](_0x331f98,_0x3f4e95);}),this[_0x38c226(0x346)]['next'](_0x5599f6);let _0x17cc70=_0x71aefc[_0x38c226(0x2c8)](q),_0x53fe62=this[_0x38c226(0x3ee)](_0x3f4e95);Ue(_0x19cf44)?_0x17cc70[_0x38c226(0x31a)](_0x3f4e95,_0x53fe62,_0x19cf44):_0x17cc70[_0x38c226(0x1f6)](_0x3f4e95,_0x53fe62)[_0x38c226(0x35d)](()=>void 0x0);}[_0x2262a8(0x335)](_0x5559c3,_0x174675){const _0x1b161a=_0x2262a8;let _0x4759a1=_0x5559c3[_0x1b161a(0x2c8)](e[_0x1b161a(0x4a9)]);this[_0x1b161a(0x43b)]['add'](this[_0x1b161a(0x34c)]['darkMode$'][_0x1b161a(0x3ad)](_0x21cea8=>{const _0xd85a5d=_0x1b161a;_0x4759a1[_0xd85a5d(0x319)](_0x21cea8);})),this['_disposableCollection'][_0x1b161a(0x3f9)](this[_0x1b161a(0x34c)][_0x1b161a(0x2ef)][_0x1b161a(0x3ad)](_0x3a07ef=>{const _0x3ec9f8=_0x1b161a;_0x4759a1[_0x3ec9f8(0x1e8)](_0x3a07ef);}));let _0x4fa3ae=_0x5559c3['get'](e[_0x1b161a(0x2f7)]);this[_0x1b161a(0x43b)][_0x1b161a(0x3f9)](this['_localeService'][_0x1b161a(0x418)][_0x1b161a(0x3ad)](_0x42a9e3=>{const _0xc5df34=_0x1b161a;let _0x41d8a8=this['_localeService']['getLocales']();_0x41d8a8&&_0x4fa3ae[_0xc5df34(0x509)]({[_0x42a9e3]:_0x41d8a8}),_0x4fa3ae[_0xc5df34(0x1b7)](_0x42a9e3);})),this[_0x1b161a(0x43b)]['add'](this[_0x1b161a(0x1a7)][_0x1b161a(0x4fd)][_0x1b161a(0x3ad)](_0x15b02f=>{const _0x45be2d=_0x1b161a;_0x4fa3ae['setDirection'](_0x15b02f);let _0x1de511=document[_0x45be2d(0x3e9)](_0x174675);_0x1de511&&(_0x1de511[_0x45be2d(0x3fb)]=_0x15b02f,_0x1de511[_0x45be2d(0x39b)][_0x45be2d(0x511)]=_0x15b02f);}));}[_0x2262a8(0x2ba)](_0x120cbc,_0x3cf2b7){const _0x18407c=_0x2262a8;let _0x5df6e5=_0x120cbc[_0x18407c(0x2c8)](q);this[_0x18407c(0x43b)]['add'](_0x5df6e5[_0x18407c(0x2ae)][_0x18407c(0x3ad)](_0xd40d0c=>{const _0x45ee85=_0x18407c;switch(_0xd40d0c){case _0x45ee85(0x25e):this[_0x45ee85(0x3aa)]['closeAll'](),this[_0x45ee85(0x298)][_0x45ee85(0x3d8)]();break;case _0x45ee85(0x2f2):this['_commandService'][_0x45ee85(0x223)](qe['id']),this[_0x45ee85(0x351)]();break;case _0x45ee85(0x47d):this[_0x45ee85(0x351)](),this['_messageService'][_0x45ee85(0x1f9)]({'content':this['_localeService']['t'](_0x45ee85(0x1a6)),'type':m[_0x45ee85(0x2d9)][_0x45ee85(0x32a)],'duration':0xbb8});break;default:break;}})),this['_disposableCollection'][_0x18407c(0x3f9)](_0x5df6e5[_0x18407c(0x218)][_0x18407c(0x3ad)](_0x33ebaf=>{const _0x3dfe7e=_0x18407c;if(_0x33ebaf){let _0x2b1534={'unitId':_0x3cf2b7,'revision':_0x33ebaf};this[_0x3dfe7e(0x2d4)][_0x3dfe7e(0x223)](n[_0x3dfe7e(0x2ff)]['id'],_0x2b1534)[_0x3dfe7e(0x35d)](()=>{const _0x26a05f=_0x3dfe7e;_0x5df6e5['status']=_0x26a05f(0x47d);});}}));}['_checkCanRevert'](_0xc716ce){const _0xf337d3=_0x2262a8;let _0x4dce9b=this['_univerInstanceService']['getUnit'](_0xc716ce);if(!_0x4dce9b)return!0x1;let _0x577447=_0x4dce9b['getSheets']()[_0xf337d3(0x232)](_0x15a918=>_0x15a918[_0xf337d3(0x55e)]()),_0x327f2b=new t[(_0xf337d3(0x3ea))](_0xc716ce)['id'],_0x586ec0=_0x577447['map'](_0x306048=>new t[(_0xf337d3(0x403))](_0xc716ce,_0x306048)['id']),_0x134a87=_0x577447[_0xf337d3(0x232)](_0xbda047=>this[_0xf337d3(0x304)]['getSubunitRuleList'](_0xc716ce,_0xbda047)['map'](_0x3ed9f5=>new t['RangeProtectionPermissionEditPoint'](_0xc716ce,_0xbda047,_0x3ed9f5['permissionId'])['id']))[_0xf337d3(0x3c5)](),_0x2a10ed=new t[(_0xf337d3(0x367))](_0xc716ce)['id'];return this['_permissionService'][_0xf337d3(0x38a)]([_0x327f2b,..._0x586ec0,..._0x134a87,_0x2a10ed])[_0xf337d3(0x401)](_0x26445b=>!!_0x26445b[_0xf337d3(0x3ff)]);}};X=W([U(0x0,(0x0,e[_0x2262a8(0x47b)])(e[_0x2262a8(0x2f7)])),U(0x1,e[_0x2262a8(0x400)]),U(0x2,e['IConfigService']),U(0x3,e['ICommandService']),U(0x4,N[_0x2262a8(0x363)]),U(0x5,e[_0x2262a8(0x2b9)]),U(0x6,(0x0,e[_0x2262a8(0x47b)])(t['RangeProtectionRuleModel'])),U(0x7,(0x0,e['Inject'])(N[_0x2262a8(0x3d4)])),U(0x8,(0x0,e[_0x2262a8(0x47b)])(N[_0x2262a8(0x253)])),U(0x9,(0x0,e[_0x2262a8(0x47b)])(e[_0x2262a8(0x4a9)]))],X);const Ke={'id':_0x2262a8(0x410),'type':e[_0x2262a8(0x447)][_0x2262a8(0x342)],'handler':_0x478dd5=>{const _0x19f1ad=_0x2262a8;let _0x1d1143=_0x478dd5['get'](X),{unitId:_0x10dcae}=(0x0,t[_0x19f1ad(0x21e)])(_0x478dd5['get'](e[_0x19f1ad(0x400)]))||{};return _0x10dcae?(_0x1d1143[_0x19f1ad(0x523)](_0x10dcae),!0x0):!0x1;}},qe={'id':_0x2262a8(0x309),'type':e[_0x2262a8(0x447)][_0x2262a8(0x342)],'handler':()=>!0x0};let Je=class extends e[_0x2262a8(0x26b)]{constructor(_0x336896){const _0x1ad303=_0x2262a8;super(),this[_0x1ad303(0x1a8)](_0x336896['register']({'HistoryIcon':F['HistoryIcon']}));}};Je=W([U(0x0,(0x0,e['Inject'])(N[_0x2262a8(0x1e4)]))],Je);function Ye(_0x56492d){const _0x5ba2b7=_0x2262a8;return{'id':Ke['id'],'type':N['MenuItemType'][_0x5ba2b7(0x443)],'icon':'HistoryIcon','title':_0x5ba2b7(0x55f),'tooltip':_0x5ba2b7(0x55f),'hidden$':(0x0,N[_0x5ba2b7(0x1f3)])(_0x56492d,e[_0x5ba2b7(0x35f)][_0x5ba2b7(0x240)]),'disabled$':(0x0,M[_0x5ba2b7(0x439)])(_0x56492d,{'workbookTypes':[t[_0x5ba2b7(0x296)]],'worksheetTypes':[],'rangeTypes':[]})};}const Xe={[N[_0x2262a8(0x34d)]['OTHERS']]:{[Ke['id']]:{'order':0x64,'gridLayout':{'row':0x1,'column':0x5,'rowSpan':0x2,'columnSpan':0x2,'showLabel':!0x0},'menuItemFactory':Ye}}};function Ze(_0x50f327){const _0x1e95fb=_0x2262a8;return!!(_0x50f327&&_0x1e95fb(0x3f8)in _0x50f327&&typeof _0x50f327[_0x1e95fb(0x3f8)]=='string'&&'revision'in _0x50f327&&typeof _0x50f327[_0x1e95fb(0x1e6)]==_0x1e95fb(0x4d0));}function Qe(_0x24b476,_0x1d4ee2){const _0x2eee09=_0x2262a8;return _0x24b476[_0x2eee09(0x541)]===n[_0x2eee09(0x278)][_0x2eee09(0x496)]&&(0x0,n[_0x2eee09(0x208)])(_0x24b476[_0x2eee09(0x44b)])[_0x2eee09(0x267)]['some'](_0x2224ba=>_0x2224ba['id']===n['RevertRevisionMutation']['id']&&Ze(_0x2224ba[_0x2eee09(0x2b4)])&&_0x2224ba['params'][_0x2eee09(0x3f8)]===_0x1d4ee2[_0x2eee09(0x3f8)]&&_0x2224ba[_0x2eee09(0x2b4)][_0x2eee09(0x1e6)]===_0x1d4ee2[_0x2eee09(0x1e6)]);}let $e=class extends e[_0x2262a8(0x3cc)]{constructor(_0xe92b60,_0x2c1a7c,_0x21393e,_0x3466da,_0x409f1e,_0xf9b68a,_0x40dc3d,_0x12796d,_0x25f36e,_0x262f3b){const _0x662c27=_0x2262a8;super(),this[_0x662c27(0x2d4)]=_0xe92b60,this[_0x662c27(0x3e0)]=_0x2c1a7c,this[_0x662c27(0x3db)]=_0x21393e,this[_0x662c27(0x1a7)]=_0x3466da,this[_0x662c27(0x286)]=_0x409f1e,this[_0x662c27(0x531)]=_0xf9b68a,this[_0x662c27(0x50c)]=_0x40dc3d,this[_0x662c27(0x2d0)]=_0x12796d,this[_0x662c27(0x432)]=_0x25f36e,this[_0x662c27(0x585)]=_0x262f3b,H(this,'_revertAcknowledgementSubscription',null),this[_0x662c27(0x1a8)]((0x0,e[_0x662c27(0x4df)])(()=>this['_clearRevertAcknowledgement']())),this[_0x662c27(0x252)]();}['_init'](){const _0x5f0927=_0x2262a8;[Ke,qe][_0x5f0927(0x1aa)](_0x5b305d=>this[_0x5f0927(0x1a8)]((0x0,e[_0x5f0927(0x4df)])(this[_0x5f0927(0x2d4)][_0x5f0927(0x520)](_0x5b305d)))),this[_0x5f0927(0x3e0)][_0x5f0927(0x364)](Xe),this[_0x5f0927(0x1a8)](this[_0x5f0927(0x2d4)][_0x5f0927(0x4eb)]((_0x42df94,_0x4ac5da)=>{const _0x2e3370=_0x5f0927;if(_0x42df94['id']===n['RevertRevisionMutation']['id']&&Ze(_0x42df94[_0x2e3370(0x2b4)])){let {revision:_0x323376,unitId:_0x3355cb}=_0x42df94[_0x2e3370(0x2b4)];this[_0x2e3370(0x286)][_0x2e3370(0x1f9)]({'content':this['_localeService']['t'](_0x2e3370(0x481)),'type':m[_0x2e3370(0x2d9)][_0x2e3370(0x41e)],'duration':0x1388});let _0x260076=this[_0x2e3370(0x531)][_0x2e3370(0x373)](_0x3355cb);if(!_0x260076){this[_0x2e3370(0x4d7)]();return;}_0x4ac5da!=null&&_0x4ac5da[_0x2e3370(0x28d)]?this[_0x2e3370(0x348)](_0x260076,{'revision':_0x323376,'unitId':_0x3355cb},async()=>(setTimeout(()=>window[_0x2e3370(0x4c4)][_0x2e3370(0x587)]()),!0x0),!0x0):this[_0x2e3370(0x348)](_0x260076,{'revision':_0x323376,'unitId':_0x3355cb},async()=>{const _0x18d01d=_0x2e3370;let _0x35079d=this[_0x18d01d(0x432)]['getCurrentUnitOfType'](e['UniverInstanceType']['UNIVER_SHEET']),_0x4e5043=_0x35079d==null?void 0x0:_0x35079d[_0x18d01d(0x1bd)]();if(!_0x4e5043)return!0x1;this[_0x18d01d(0x432)][_0x18d01d(0x2b0)](_0x3355cb);let _0x44028d=await this['_dataLoaderService']['loadUnit'](_0x3355cb,e[_0x18d01d(0x35f)]['UNIVER_SHEET']);return _0x44028d&&_0x44028d instanceof e[_0x18d01d(0x211)]?(await this[_0x18d01d(0x2f3)](_0x44028d,_0x4e5043[_0x18d01d(0x55e)]()),!0x0):!0x1;});}}));}[_0x2262a8(0x348)](_0x5a2258,_0x222b8c,_0x2b1545,_0x583ee2=!0x1){const _0x27255e=_0x2262a8;this[_0x27255e(0x1c0)]();let _0x518d31=(0x0,P[_0x27255e(0x57c)])([_0x5a2258[_0x27255e(0x42b)][_0x27255e(0x330)],_0x5a2258[_0x27255e(0x504)]])[_0x27255e(0x466)]((0x0,P['filter'])(([_0x504130,_0x1666a0])=>Qe(_0x504130,_0x222b8c)&&(_0x1666a0==null?void 0x0:_0x1666a0[_0x27255e(0x4e2)])===r[_0x27255e(0x1b5)][_0x27255e(0x578)]),(0x0,P[_0x27255e(0x4fc)])(0x1)),_0x3ec6ea=_0x518d31;_0x583ee2&&(_0x3ec6ea=_0x518d31[_0x27255e(0x466)]((0x0,P[_0x27255e(0x303)])({'first':0x1388}))),this['_revertAcknowledgementSubscription']=_0x3ec6ea[_0x27255e(0x466)]((0x0,P[_0x27255e(0x33e)])(async()=>{const _0x484d6e=_0x27255e;let _0xcd3160=await _0x2b1545();return _0xcd3160&&(this[_0x484d6e(0x3db)][_0x484d6e(0x351)](),await this['_localCacheService']['exhaustSavingTask']()),_0xcd3160;}),(0x0,P[_0x27255e(0x4da)])(this[_0x27255e(0x1c9)]))['subscribe']({'next':_0x2e452e=>{const _0x3cf933=_0x27255e;this[_0x3cf933(0x1c0)](),_0x2e452e?this[_0x3cf933(0x286)][_0x3cf933(0x29e)]():this[_0x3cf933(0x4d7)]();},'error':()=>{const _0x56fd7b=_0x27255e;this[_0x56fd7b(0x1c0)](),this[_0x56fd7b(0x4d7)]();}});}[_0x2262a8(0x1c0)](){const _0x3b0d47=_0x2262a8;var _0x100b87;(_0x100b87=this['_revertAcknowledgementSubscription'])==null||_0x100b87[_0x3b0d47(0x382)](),this[_0x3b0d47(0x2ca)]=null;}[_0x2262a8(0x4d7)](){const _0x4ff7b3=_0x2262a8;this['_messageService']['show']({'content':this[_0x4ff7b3(0x1a7)]['t'](_0x4ff7b3(0x213)),'type':m[_0x4ff7b3(0x2d9)][_0x4ff7b3(0x32a)],'duration':0xbb8});}async[_0x2262a8(0x2f3)](_0x4b9ecb,_0x2fbd73){const _0x48d886=_0x2262a8;await this['_updateSubUnitFromURLParams'](_0x4b9ecb,_0x2fbd73),_0x4b9ecb['activeSheet$']['pipe']((0x0,P[_0x48d886(0x4da)])(this['dispose$']))[_0x48d886(0x3ad)](_0xa0c487=>{_0xa0c487&&this['_updateURLWithCurrentState'](_0xa0c487);}),this[_0x48d886(0x585)][_0x48d886(0x4b6)][_0x48d886(0x466)]((0x0,P[_0x48d886(0x4da)])(this['dispose$']))[_0x48d886(0x3ad)](()=>this[_0x48d886(0x20c)](_0x4b9ecb,_0x2fbd73));}['_updateURLWithCurrentState'](_0x28f3cd,_0x240d09=!0x1){const _0x374969=_0x2262a8;let _0x1dac88=this[_0x374969(0x585)]['getParam'](_0x374969(0x366));_0x28f3cd[_0x374969(0x55e)]()!==_0x1dac88&&this[_0x374969(0x585)]['setParam']('subunit',_0x28f3cd[_0x374969(0x55e)](),_0x240d09);}async['_updateSubUnitFromURLParams'](_0x13cbab,_0x14c7fa){const _0x298c0e=_0x2262a8;var _0x586551;if(!_0x14c7fa||!_0x13cbab[_0x298c0e(0x2f8)](_0x14c7fa)){let _0x4f51e1=_0x13cbab[_0x298c0e(0x56c)]()[0x0],_0x139511=_0x13cbab['getSheetBySheetId'](_0x4f51e1);if(!_0x139511)return;this[_0x298c0e(0x50e)](_0x139511,!0x0),await this[_0x298c0e(0x2d4)][_0x298c0e(0x223)](t['SetWorksheetActivateCommand']['id'],{'unitId':_0x13cbab[_0x298c0e(0x42e)](),'subUnitId':_0x4f51e1});return;}((_0x586551=_0x13cbab[_0x298c0e(0x1bd)]())==null?void 0x0:_0x586551[_0x298c0e(0x55e)]())!==_0x14c7fa&&await this['_commandService'][_0x298c0e(0x223)](t[_0x298c0e(0x430)]['id'],{'unitId':_0x13cbab[_0x298c0e(0x42e)](),'subUnitId':_0x14c7fa});}};$e=W([U(0x0,e[_0x2262a8(0x273)]),U(0x1,N[_0x2262a8(0x377)]),U(0x2,(0x0,e[_0x2262a8(0x47b)])(X)),U(0x3,(0x0,e[_0x2262a8(0x47b)])(e[_0x2262a8(0x2f7)])),U(0x4,N[_0x2262a8(0x363)]),U(0x5,(0x0,e['Inject'])(r[_0x2262a8(0x431)])),U(0x6,r['ILocalCacheService']),U(0x7,(0x0,e[_0x2262a8(0x47b)])(r[_0x2262a8(0x494)])),U(0x8,e[_0x2262a8(0x400)]),U(0x9,z[_0x2262a8(0x1ce)])],$e);function et(){const _0x20e678=_0x2262a8;let _0x26211c=(0x0,N[_0x20e678(0x320)])(q),_0x3c4b08=(0x0,N[_0x20e678(0x320)])(e['LocaleService']),_0x3e958e=(0x0,N['useObservable'])(_0x26211c[_0x20e678(0x3d6)]),_0x44e22a=(0x0,I[_0x20e678(0x4c5)])(()=>_0x3e958e?_0x26211c[_0x20e678(0x2d5)]():!0x1,[_0x26211c,_0x3e958e]),_0x47ae50=(0x0,I[_0x20e678(0x3e2)])(()=>{const _0x596924=_0x20e678;_0x26211c[_0x596924(0x23d)]();},[_0x26211c]),_0x274fe8=(0x0,I[_0x20e678(0x3e2)])(()=>{const _0x5119a6=_0x20e678;_0x26211c[_0x5119a6(0x57b)]();},[_0x26211c]);return(0x0,R['jsxs'])('div',{'className':'univer-flex\x20univer-h-12\x20univer-items-center\x20univer-border-b\x20univer-border-gray-200\x20univer-bg-gray-0\x20univer-px-4\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-950','children':[(0x0,R[_0x20e678(0x229)])(m[_0x20e678(0x50b)],{'variant':_0x20e678(0x4cf),'onClick':_0x47ae50,'children':_0x3c4b08['t'](_0x20e678(0x460))}),_0x44e22a?(0x0,R['jsx'])(m[_0x20e678(0x50b)],{'variant':'link','onClick':_0x274fe8,'children':_0x3c4b08['t'](_0x20e678(0x1c7))}):(0x0,R[_0x20e678(0x229)])(_0x20e678(0x1ca),{'className':_0x20e678(0x56f)})]});}let tt=class extends e[_0x2262a8(0x26b)]{constructor(_0x836093,_0x3518d4,_0x2b5049,_0xeed687,_0x5f4209,_0x24bbc7,_0x3cadca){const _0x5940be=_0x2262a8;super(),this[_0x5940be(0x2ab)]=_0x836093,this[_0x5940be(0x343)]=_0x3518d4,this['_messageService']=_0x2b5049,this['_localeService']=_0xeed687,this[_0x5940be(0x3db)]=_0x5f4209,this['_injector']=_0x24bbc7,this[_0x5940be(0x2eb)]=_0x3cadca,this[_0x5940be(0x252)]();}['_init'](){const _0x5a868a=_0x2262a8;this[_0x5a868a(0x1a8)](this[_0x5a868a(0x3db)]['currentVersion$']['subscribe'](_0x566e74=>{const _0x58d205=_0x5a868a;_0x566e74&&this[_0x58d205(0x3db)][_0x58d205(0x44d)](_0x566e74);})),this[_0x5a868a(0x1a8)](this[_0x5a868a(0x2ab)][_0x5a868a(0x54d)][_0x5a868a(0x3ad)](_0x35386d=>{const _0xb0fb13=_0x5a868a;let _0x301577=this[_0xb0fb13(0x3db)]['unitId'];_0x301577&&(_0x35386d[_0xb0fb13(0x4a4)]===L[_0xb0fb13(0x2e0)][_0xb0fb13(0x555)]&&_0x35386d[_0xb0fb13(0x3ff)]===!0x0&&this[_0xb0fb13(0x2ab)][_0xb0fb13(0x289)](new t[(_0xb0fb13(0x3ea))](_0x301577)['id'],!0x1),_0x35386d[_0xb0fb13(0x4a4)]===L['UnitAction']['RenameSheet']&&_0x35386d['value']===!0x0&&this[_0xb0fb13(0x2ab)][_0xb0fb13(0x289)](new t[(_0xb0fb13(0x489))](_0x301577)['id'],!0x1),_0x35386d['subType']===L['UnitAction'][_0xb0fb13(0x353)]&&_0x35386d[_0xb0fb13(0x3ff)]===!0x0&&this[_0xb0fb13(0x2ab)][_0xb0fb13(0x289)](new t[(_0xb0fb13(0x542))](_0x301577)['id'],!0x1),_0x35386d['subType']===L[_0xb0fb13(0x2e0)][_0xb0fb13(0x485)]&&_0x35386d[_0xb0fb13(0x3ff)]===!0x0&&this['_permissionService']['updatePermissionPoint'](new t['WorkbookHideSheetPermission'](_0x301577)['id'],!0x1),_0x35386d[_0xb0fb13(0x4a4)]===L[_0xb0fb13(0x2e0)][_0xb0fb13(0x3ec)]&&_0x35386d[_0xb0fb13(0x3ff)]===!0x0&&this[_0xb0fb13(0x2ab)]['updatePermissionPoint'](new t[(_0xb0fb13(0x3ea))](_0x301577)['id'],!0x1),_0x35386d[_0xb0fb13(0x4a4)]===L[_0xb0fb13(0x2e0)][_0xb0fb13(0x46e)]&&_0x35386d[_0xb0fb13(0x3ff)]===!0x0&&this[_0xb0fb13(0x2ab)][_0xb0fb13(0x289)](new t[(_0xb0fb13(0x3ea))](_0x301577)['id'],!0x1));})),this[_0x5a868a(0x4d2)](),this[_0x5a868a(0x462)]();let _0x2b7dd5=null;this[_0x5a868a(0x1a8)]((0x0,e['toDisposable'])(()=>_0x2b7dd5==null?void 0x0:_0x2b7dd5[_0x5a868a(0x4f9)]())),this[_0x5a868a(0x1a8)](this['_historyManagerService'][_0x5a868a(0x3cb)][_0x5a868a(0x3ad)](_0x303781=>{const _0xb00976=_0x5a868a;_0x2b7dd5==null||_0x2b7dd5[_0xb00976(0x4f9)](),_0x2b7dd5=null,_0x303781===_0xb00976(0x450)&&(_0x2b7dd5=this[_0xb00976(0x286)][_0xb00976(0x1f9)]({'type':m[_0xb00976(0x2d9)][_0xb00976(0x24d)],'content':this[_0xb00976(0x1a7)]['t'](_0xb00976(0x2d7)),'duration':0x3e8}));}));}['_registerHeader'](){const _0x324cfc=_0x2262a8;var _0x1a2dec;(_0x1a2dec=this['_configService']['getConfig']('sheets-history-ui.config'))!=null&&_0x1a2dec[_0x324cfc(0x354)]||this[_0x324cfc(0x1a8)](this[_0x324cfc(0x343)][_0x324cfc(0x4f0)](N[_0x324cfc(0x28e)][_0x324cfc(0x487)],()=>(0x0,N[_0x324cfc(0x515)])(et,this[_0x324cfc(0x584)])));}[_0x2262a8(0x462)](){const _0xe6ee14=_0x2262a8;this[_0xe6ee14(0x1a8)](this[_0xe6ee14(0x343)][_0xe6ee14(0x4f0)](N[_0xe6ee14(0x28e)][_0xe6ee14(0x1e2)],()=>(0x0,N['connectInjector'])(je,this['_injector'])));}};tt=W([U(0x0,e[_0x2262a8(0x2b9)]),U(0x1,N[_0x2262a8(0x1ba)]),U(0x2,N['IMessageService']),U(0x3,(0x0,e[_0x2262a8(0x47b)])(e[_0x2262a8(0x2f7)])),U(0x4,(0x0,e['Inject'])(q)),U(0x5,(0x0,e['Inject'])(e['Injector'])),U(0x6,e[_0x2262a8(0x33d)])],tt);function nt(_0x2ca40e){const _0x5359d3=_0x2262a8;var _0x523dbd;let {item:_0x18c64c,isNewest:_0x4f46aa}=_0x2ca40e,_0xe5f1c9=(0x0,N[_0x5359d3(0x320)])(q),_0x1015b6=(0x0,N['useDependency'])(J),_0x524fd2=(0x0,N[_0x5359d3(0x320)])(e[_0x5359d3(0x2f7)]),_0x456982=(0x0,N[_0x5359d3(0x573)])(_0xe5f1c9[_0x5359d3(0x3d6)],'',!0x0)===_0x18c64c['id'],_0x32207f=K(_0x18c64c[_0x5359d3(0x40e)],_0x524fd2),_0x32ef81=!_0x4f46aa&&_0xe5f1c9['canRevert'],_0x517e00=(0x0,I[_0x5359d3(0x3e2)])(async()=>{const _0x5de90f=_0x5359d3;_0xe5f1c9[_0x5de90f(0x308)]!==_0x5de90f(0x450)&&(_0xe5f1c9[_0x5de90f(0x4a8)](_0x18c64c['id']),await _0x1015b6[_0x5de90f(0x1fb)](_0x18c64c['id']));},[_0xe5f1c9,_0x1015b6,_0x18c64c['id']]),_0x2f34c3=(0x0,I[_0x5359d3(0x3e2)])(_0x4f3b81=>{const _0x3770bb=_0x5359d3;_0x4f3b81[_0x3770bb(0x55d)](),_0xe5f1c9[_0x3770bb(0x57b)](_0x18c64c['id']);},[_0xe5f1c9,_0x18c64c['id']]),_0x347254=((_0x523dbd=_0x18c64c[_0x5359d3(0x393)])==null?void 0x0:_0x523dbd[_0x5359d3(0x409)](Boolean)['join'](',\x20'))||_0x18c64c['user']||_0x524fd2['t'](_0x5359d3(0x478));return(0x0,R[_0x5359d3(0x57d)])('div',{'className':(0x0,m[_0x5359d3(0x2e5)])(_0x5359d3(0x313),_0x456982&&_0x5359d3(0x424)),'onClick':_0x517e00,'children':[(0x0,R[_0x5359d3(0x57d)])('div',{'className':'univer-min-w-0\x20univer-flex-1','children':[(0x0,R[_0x5359d3(0x57d)])(_0x5359d3(0x1ca),{'className':_0x5359d3(0x284),'children':[(0x0,R[_0x5359d3(0x229)])(_0x5359d3(0x411),{'className':_0x5359d3(0x3d1),'children':_0x347254}),_0x4f46aa&&(0x0,R[_0x5359d3(0x229)])(_0x5359d3(0x411),{'className':_0x5359d3(0x56d),'children':_0x524fd2['t']('sheets-history-ui.viewer.panel.currentVersion')})]}),(0x0,R[_0x5359d3(0x57d)])('div',{'className':_0x5359d3(0x2bc),'children':[(0x0,R[_0x5359d3(0x229)])(_0x5359d3(0x411),{'className':'univer-text-xs\x20univer-text-gray-400','children':_0x32207f[_0x5359d3(0x40e)]}),(0x0,R['jsx'])('span',{'className':_0x5359d3(0x36a),'children':_e(_0x18c64c,_0x524fd2)})]})]}),_0x32ef81&&(0x0,R[_0x5359d3(0x229)])(m[_0x5359d3(0x50b)],{'size':_0x5359d3(0x38f),'variant':_0x5359d3(0x30f),'onClick':_0x2f34c3,'children':_0x524fd2['t'](_0x5359d3(0x1c7))})]});}function rt(){const _0xfab126=_0x2262a8;let _0x23f890=(0x0,N['useDependency'])(q),_0x54e9ea=(0x0,N['useDependency'])(e[_0xfab126(0x2f7)]),_0x284365=(0x0,N['useObservable'])(_0x23f890[_0xfab126(0x455)]),_0x2027bf=(0x0,N['useObservable'])(_0x23f890[_0xfab126(0x464)]),_0xf9fc5=(0x0,I[_0xfab126(0x244)])(null),[_0x2f635b,_0x44de9e]=(0x0,I[_0xfab126(0x1eb)])(!0x0);(0x0,I['useEffect'])(()=>{const _0x502b6d=_0xfab126;let _0x3ea631=_0xf9fc5[_0x502b6d(0x2a9)];if(!_0x3ea631||!_0x2f635b)return;let _0x6d73ab,_0x15ae7e=()=>{clearTimeout(_0x6d73ab),_0x6d73ab=setTimeout(()=>{const _0x2444ec=_0x3275;let {scrollTop:_0x480b43,scrollHeight:_0x36dce6,clientHeight:_0xbb0eb2}=_0x3ea631;_0x480b43+_0xbb0eb2>=_0x36dce6-0xa&&_0x23f890['loadMoreVersions']()[_0x2444ec(0x35d)](()=>void 0x0);},0x64);};return _0x3ea631[_0x502b6d(0x2f1)]('scroll',_0x15ae7e),()=>{const _0x44a573=_0x502b6d;clearTimeout(_0x6d73ab),_0x3ea631[_0x44a573(0x274)](_0x44a573(0x50a),_0x15ae7e);};},[_0x23f890,_0x2f635b]);let _0x56bf7c=be(_0x284365??[]);return(0x0,R[_0xfab126(0x229)])(_0xfab126(0x1ca),{'className':'univer-pointer-events-none\x20univer-absolute\x20univer-inset-0\x20univer-z-10\x20univer-flex\x20univer-flex-col\x20univer-justify-end','children':(0x0,R[_0xfab126(0x57d)])(_0xfab126(0x1ca),{'className':(0x0,m[_0xfab126(0x2e5)])(_0xfab126(0x275),_0x2f635b?_0xfab126(0x446):_0xfab126(0x26e)),'children':[(0x0,R[_0xfab126(0x57d)])('div',{'className':_0xfab126(0x545),'onClick':()=>_0x44de9e(_0x4c811e=>!_0x4c811e),'children':[(0x0,R['jsx'])('div',{'className':_0xfab126(0x2e6)}),!_0x2f635b&&(0x0,R[_0xfab126(0x229)])(_0xfab126(0x411),{'className':_0xfab126(0x375),'children':_0x54e9ea['t'](_0xfab126(0x391))})]}),_0x2f635b&&(0x0,R['jsx'])(R['Fragment'],{'children':_0x284365?(0x0,R[_0xfab126(0x57d)])('div',{'ref':_0xf9fc5,'className':_0xfab126(0x465),'children':[_0x56bf7c[_0xfab126(0x232)](_0x40047f=>(0x0,R[_0xfab126(0x57d)])('div',{'children':[(0x0,R[_0xfab126(0x229)])('div',{'className':_0xfab126(0x525),'children':ye(_0x40047f[_0xfab126(0x470)],_0x54e9ea)}),_0x40047f[_0xfab126(0x3ed)][_0xfab126(0x232)]((_0xa5c955,_0x47fe5f)=>(0x0,R['jsx'])(nt,{'item':_0xa5c955,'isNewest':_0x56bf7c[0x0]===_0x40047f&&_0x47fe5f===0x0},_0xa5c955['id']))]},_0x40047f['dateString'])),_0x2027bf&&(0x0,R[_0xfab126(0x229)])(_0xfab126(0x1ca),{'className':'univer-flex\x20univer-items-center\x20univer-justify-center\x20univer-py-4','children':(0x0,R[_0xfab126(0x229)])(F[_0xfab126(0x2fa)],{'className':'univer-animate-spin\x20univer-text-gray-400'})})]}):(0x0,R[_0xfab126(0x229)])(_0xfab126(0x1ca),{'className':_0xfab126(0x21f),'children':(0x0,R[_0xfab126(0x229)])(F[_0xfab126(0x2fa)],{'className':'univer-animate-spin\x20univer-text-gray-400'})})})]})});}let it=class extends e[_0x2262a8(0x26b)]{constructor(_0x94fd6a,_0x9266e7){const _0x5aeb2f=_0x2262a8;super(),this[_0x5aeb2f(0x343)]=_0x94fd6a,this[_0x5aeb2f(0x584)]=_0x9266e7,this[_0x5aeb2f(0x1a8)](this[_0x5aeb2f(0x343)][_0x5aeb2f(0x4f0)](N['BuiltInUIPart'][_0x5aeb2f(0x39e)],()=>(0x0,N[_0x5aeb2f(0x515)])(rt,this['_injector'])));}};it=W([U(0x0,N['IUIPartsService']),U(0x1,(0x0,e[_0x2262a8(0x47b)])(e[_0x2262a8(0x230)]))],it);let Z=class extends e[_0x2262a8(0x207)]{constructor(_0x223e75=V,_0x1e8b21,_0x531cc4,_0x190869){const _0x1729b5=_0x2262a8;super(),this['_config']=_0x223e75,this[_0x1729b5(0x584)]=_0x1e8b21,this['_renderManagerService']=_0x531cc4,this[_0x1729b5(0x2eb)]=_0x190869;let {..._0x2580b7}=(0x0,e[_0x1729b5(0x310)])({},V,this[_0x1729b5(0x4c8)]);this[_0x1729b5(0x2eb)][_0x1729b5(0x383)](B,_0x2580b7);}[_0x2262a8(0x51a)](){const _0xa96b98=_0x2262a8;[[Je],[q],[tt],[J],[Fe],[G],[it],[Ae],[n['ISnapshotServerService'],{'useClass':r[_0xa96b98(0x48b)]}],[N[_0xa96b98(0x3d4)],{'useClass':ze}],[e[_0xa96b98(0x1d1)],{'useClass':r['CollaborationImageIoService']}]][_0xa96b98(0x1aa)](_0x3fd46d=>this[_0xa96b98(0x584)]['add'](_0x3fd46d)),this[_0xa96b98(0x584)][_0xa96b98(0x2c8)](tt),this[_0xa96b98(0x584)][_0xa96b98(0x2c8)](Je);}[_0x2262a8(0x23f)](){const _0x8a638d=_0x2262a8;[[Le]][_0x8a638d(0x1aa)](_0x361489=>{const _0x425c4e=_0x8a638d;this[_0x425c4e(0x1a8)](this['_renderManagerService'][_0x425c4e(0x291)](e[_0x425c4e(0x35f)]['UNIVER_SHEET'],_0x361489));}),this[_0x8a638d(0x584)]['get'](Ae),this[_0x8a638d(0x584)][_0x8a638d(0x2c8)](it);}[_0x2262a8(0x26d)](){const _0x4d1ae4=_0x2262a8;this[_0x4d1ae4(0x584)][_0x4d1ae4(0x2c8)](J);}};H(Z,_0x2262a8(0x217),'UNIVER_SHEETS_HISTORY_VIEWER_MOBILE_PLUGIN'),H(Z,'packageName',se),H(Z,_0x2262a8(0x26c),ce),Z=W([(0x0,e[_0x2262a8(0x333)])(a[_0x2262a8(0x2b6)],_['UniverDrawingPlugin'],y[_0x2262a8(0x369)],b['UniverNetworkPlugin'],O[_0x2262a8(0x452)],j[_0x2262a8(0x48e)],t[_0x2262a8(0x534)],N['UniverMobileUIPlugin'],n[_0x2262a8(0x3b6)],S[_0x2262a8(0x1bb)],o[_0x2262a8(0x21b)],c[_0x2262a8(0x49e)],d[_0x2262a8(0x3f1)],M['UniverSheetsMobileUIPlugin'],w[_0x2262a8(0x1f2)]),U(0x1,(0x0,e[_0x2262a8(0x47b)])(e[_0x2262a8(0x230)])),U(0x2,y[_0x2262a8(0x565)]),U(0x3,e['IConfigService'])],Z);const at='univer-history-container-mobile';let ot=class extends e['Disposable']{constructor(_0x49b94c,_0xb0576b,_0x34d107,_0x5246fd,_0x2a6a1c,_0x1d0fb5,_0x4e0e19,_0x4adfd6,_0x1ebc82,_0x2e6c4c){const _0x12aa12=_0x2262a8;super(),this['_localeService']=_0x49b94c,this['_univerInstanceService']=_0xb0576b,this[_0x12aa12(0x2eb)]=_0x34d107,this[_0x12aa12(0x2d4)]=_0x5246fd,this[_0x12aa12(0x286)]=_0x2a6a1c,this['_permissionService']=_0x1d0fb5,this[_0x12aa12(0x304)]=_0x4e0e19,this[_0x12aa12(0x3aa)]=_0x4adfd6,this['_sidebarService']=_0x1ebc82,this[_0x12aa12(0x34c)]=_0x2e6c4c,H(this,'_historyUniver$',new P[(_0x12aa12(0x421))](null)),H(this,'historyUniver$',this['_historyUniver$']['asObservable']()),H(this,_0x12aa12(0x43b),new e[(_0x12aa12(0x2a3))]()),H(this,_0x12aa12(0x3b5),new Map()),H(this,_0x12aa12(0x371),null),this[_0x12aa12(0x252)]();}get[_0x2262a8(0x203)](){const _0x4d1a88=_0x2262a8;return this[_0x4d1a88(0x346)]['value'];}['_init'](){const _0x7a7117=_0x2262a8;this[_0x7a7117(0x2a0)](),this[_0x7a7117(0x21c)]();}['_initContainer'](){const _0x349609=_0x2262a8;var _0x459050;let _0x4d8552=this[_0x349609(0x2eb)][_0x349609(0x270)](B),_0x13fc00=(_0x459050=this[_0x349609(0x2eb)]['getConfig'](N['UI_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x459050[_0x349609(0x1a5)],_0xa81ce2=(_0x4d8552==null?void 0x0:_0x4d8552[_0x349609(0x22b)])??_0x13fc00,_0x484534=typeof _0xa81ce2=='string'?document[_0x349609(0x3e9)](_0xa81ce2):_0xa81ce2;if(!_0x484534)throw Error('[MobileHistoryLoaderService]:\x20Configure\x20a\x20valid\x20Univer\x20container\x20before\x20opening\x20history.');let _0x48c07f=document['createElement'](_0x349609(0x1ca));_0x48c07f['id']=at,_0x48c07f[_0x349609(0x39b)][_0x349609(0x437)]='absolute',_0x48c07f[_0x349609(0x39b)]['top']='0',_0x48c07f[_0x349609(0x39b)][_0x349609(0x3e5)]='0',_0x48c07f[_0x349609(0x39b)][_0x349609(0x560)]='100%',_0x48c07f['style'][_0x349609(0x30d)]=_0x349609(0x512),_0x48c07f[_0x349609(0x39b)]['zIndex']='49',_0x48c07f[_0x349609(0x39b)]['display']=_0x349609(0x237),He(_0x48c07f,this[_0x349609(0x1a7)]),_0x484534[_0x349609(0x486)](_0x48c07f);}['_initPlugins'](){const _0x5ddd56=_0x2262a8;[[y[_0x5ddd56(0x369)]],[N[_0x5ddd56(0x2f4)],{'container':at,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[N['IDialogService'],null]]}],[b[_0x5ddd56(0x433)]],[_[_0x5ddd56(0x41b)],{'override':[[e[_0x5ddd56(0x1d1)],null]]}],[h[_0x5ddd56(0x1e5)],{'hasScroll':!0x1}],[g[_0x5ddd56(0x3ca)]],[re[_0x5ddd56(0x372)]],[t[_0x5ddd56(0x534)],{'notExecuteFormula':!0x0}],[M[_0x5ddd56(0x38b)]],[A[_0x5ddd56(0x39c)]],[ee[_0x5ddd56(0x1d3)]],[n[_0x5ddd56(0x3b6)]],[O['UniverSheetsFilterPlugin']],[S['UniverSheetsConditionalFormattingPlugin']],[te['UniverSheetsHyperLinkPlugin']],[ne[_0x5ddd56(0x2ce)]],[p['UniverDataValidationPlugin']],[w[_0x5ddd56(0x1f2)]],[T[_0x5ddd56(0x479)]],[i['UniverProFormulaEnginePlugin'],{'notExecuteFormula':!0x0}],[v[_0x5ddd56(0x341)]],[E[_0x5ddd56(0x533)]],[D[_0x5ddd56(0x574)]],[d['UniverSheetSparklinePlugin']],[f[_0x5ddd56(0x37d)]],[o[_0x5ddd56(0x21b)]],[s[_0x5ddd56(0x4e7)]],[l['UniverSheetsShapePlugin']],[u['UniverSheetsShapeMobileUIPlugin']],[c['UniverSheetsPivotTablePlugin'],{'notExecuteFormula':!0x0}],[j[_0x5ddd56(0x48e)]]]['forEach'](([_0x48fc45,_0x35b152])=>this[_0x5ddd56(0x395)](_0x48fc45,_0x35b152));}[_0x2262a8(0x4f9)](){const _0xc1bcca=_0x2262a8;super['dispose'](),this[_0xc1bcca(0x351)](),this[_0xc1bcca(0x3b5)][_0xc1bcca(0x2a2)]();}[_0x2262a8(0x395)](_0x39edf7,_0x173b24,_0x5277e3){const _0x4d64da=_0x2262a8;if(this[_0x4d64da(0x3b5)][_0x4d64da(0x1ea)](_0x39edf7['pluginName'])&&!_0x5277e3)throw Error('[MobileHistoryLoaderService]:\x20Plugin\x20'+_0x39edf7[_0x4d64da(0x217)]+_0x4d64da(0x420));this['_pluginMap'][_0x4d64da(0x47c)](_0x39edf7[_0x4d64da(0x217)],[_0x39edf7,_0x173b24]);}[_0x2262a8(0x1c6)](){const _0x5eca2f=_0x2262a8;return Array[_0x5eca2f(0x55a)](this[_0x5eca2f(0x3b5)][_0x5eca2f(0x350)]());}[_0x2262a8(0x523)](_0x5bf1c8,_0x934d34){const _0x559a53=_0x2262a8;let _0x328039=document[_0x559a53(0x3e9)](at);_0x328039&&(_0x328039[_0x559a53(0x39b)][_0x559a53(0x246)]='block',this[_0x559a53(0x2b1)](_0x5bf1c8,_0x934d34));}[_0x2262a8(0x351)](){const _0x513c2b=_0x2262a8;var _0xffa0e0;this[_0x513c2b(0x43b)][_0x513c2b(0x4f9)](),(_0xffa0e0=this[_0x513c2b(0x203)])==null||_0xffa0e0[_0x513c2b(0x4f9)](),this[_0x513c2b(0x346)]['next'](null);let _0x305c4e=document[_0x513c2b(0x3e9)](at);_0x305c4e&&(_0x305c4e['style']['display']=_0x513c2b(0x237),this['_internalWebWorker']&&=(this[_0x513c2b(0x371)][_0x513c2b(0x27b)](),null));}[_0x2262a8(0x2b1)](_0x491675,_0x593744){const _0x553511=_0x2262a8;var _0x50c2ca,_0x181c07,_0x140ad7;if(this[_0x553511(0x203)])return;let _0x18ebf8=new e[(_0x553511(0x586))]({...Ve(this['_localeService']),'override':[[e[_0x553511(0x495)],{'useClass':r['AuthzIoHttpService']}]]}),_0x1e3dbf=_0x18ebf8[_0x553511(0x1ed)](),_0x25cfb4=_0x1e3dbf[_0x553511(0x2c8)](e[_0x553511(0x4a9)]);this[_0x553511(0x43b)]['add'](this['_themeService'][_0x553511(0x3de)][_0x553511(0x3ad)](_0x255349=>{const _0x460f5c=_0x553511;_0x25cfb4[_0x460f5c(0x319)](_0x255349);})),this[_0x553511(0x43b)][_0x553511(0x3f9)](this[_0x553511(0x34c)][_0x553511(0x2ef)][_0x553511(0x3ad)](_0x5f3392=>{_0x25cfb4['setTheme'](_0x5f3392);}));let _0x15c107=_0x1e3dbf[_0x553511(0x2c8)](e[_0x553511(0x2f7)]);_0x15c107[_0x553511(0x1b7)](this['_localeService']['getCurrentLocale']()),_0x15c107[_0x553511(0x3b8)](this['_localeService']['getDirection']()),_0x1e3dbf[_0x553511(0x2c8)](e[_0x553511(0x33d)])['setConfig'](r[_0x553511(0x33f)],this[_0x553511(0x2eb)]['getConfig'](r[_0x553511(0x33f)]));let _0x4d867e=this[_0x553511(0x2eb)][_0x553511(0x270)](a[_0x553511(0x461)]);_0x4d867e&&_0x18ebf8[_0x553511(0x395)](a['UniverLicensePlugin'],{'license':_0x4d867e['ls']});let _0xb7b4dc=(_0x50c2ca=this[_0x553511(0x2eb)][_0x553511(0x270)](_0x553511(0x398)))==null?void 0x0:_0x50c2ca[_0x553511(0x34e)],_0x555a9f=!!_0xb7b4dc;_0x555a9f&&(this[_0x553511(0x371)]=_0xb7b4dc instanceof Worker?_0xb7b4dc:null,_0x18ebf8[_0x553511(0x395)](x[_0x553511(0x38d)],{'workerURL':_0xb7b4dc})),this[_0x553511(0x3b5)][_0x553511(0x1aa)](([_0xca3bbf,_0xf7a3d9])=>{const _0xec40f4=_0x553511;_0x18ebf8[_0xec40f4(0x395)](_0xca3bbf,_0xf7a3d9);}),_0x18ebf8[_0x553511(0x395)](Z,{'historyServerUrl':oe(this[_0x553511(0x2eb)][_0x553511(0x270)](B)),'historyPanelComponentKey':(_0x181c07=this[_0x553511(0x2eb)]['getConfig']('sheets-history-ui.config'))==null?void 0x0:_0x181c07[_0x553511(0x242)],'historyPanelHidden':(_0x140ad7=this[_0x553511(0x2eb)][_0x553511(0x270)]('sheets-history-ui.config'))==null?void 0x0:_0x140ad7[_0x553511(0x354)]}),_0x1e3dbf[_0x553511(0x451)](_0x409840=>this[_0x553511(0x2ba)](_0x409840,_0x491675)),this[_0x553511(0x346)][_0x553511(0x344)](_0x18ebf8);let _0x218421=_0x1e3dbf[_0x553511(0x2c8)](q),_0x45aa1f=this[_0x553511(0x3ee)](_0x491675),_0x1d5453=()=>{const _0x386cff=_0x553511;Ue(_0x593744)?_0x218421[_0x386cff(0x31a)](_0x491675,_0x45aa1f,_0x593744):_0x218421[_0x386cff(0x1f6)](_0x491675,_0x45aa1f)[_0x386cff(0x35d)](()=>{const _0x3c958d=_0x386cff;_0x218421[_0x3c958d(0x4e2)]='error';});};if(this[_0x553511(0x286)]['show']({'content':this[_0x553511(0x1a7)]['t'](_0x553511(0x566)),'type':m[_0x553511(0x2d9)]['Loading']}),_0x555a9f)try{_0x1e3dbf[_0x553511(0x2c8)](x[_0x553511(0x3bf)])[_0x553511(0x48c)]()[_0x553511(0x25f)](_0x1d5453)['catch'](_0x1d5453);}catch{_0x1d5453();}else _0x1d5453();}[_0x2262a8(0x2ba)](_0x965804,_0x495e0d){const _0x100b57=_0x2262a8;let _0x2b3a85=_0x965804[_0x100b57(0x2c8)](q);this[_0x100b57(0x43b)][_0x100b57(0x3f9)](_0x2b3a85[_0x100b57(0x2ae)][_0x100b57(0x3ad)](_0x56f5bc=>{const _0x345dca=_0x100b57;switch(_0x56f5bc){case _0x345dca(0x25e):this[_0x345dca(0x3aa)][_0x345dca(0x53d)](),this[_0x345dca(0x298)][_0x345dca(0x3d8)]();break;case'exited':this['_commandService'][_0x345dca(0x223)](qe['id']),this[_0x345dca(0x351)]();break;case _0x345dca(0x47d):this[_0x345dca(0x351)](),this['_messageService'][_0x345dca(0x1f9)]({'content':this[_0x345dca(0x1a7)]['t'](_0x345dca(0x1a6)),'type':m['MessageType']['Error'],'duration':0xbb8});break;default:break;}})),this[_0x100b57(0x43b)]['add'](_0x2b3a85[_0x100b57(0x218)][_0x100b57(0x3ad)](_0x5e0b08=>{const _0x35e79d=_0x100b57;if(_0x5e0b08){let _0x473f97={'unitId':_0x495e0d,'revision':_0x5e0b08};this[_0x35e79d(0x2d4)]['executeCommand'](n[_0x35e79d(0x2ff)]['id'],_0x473f97)['catch'](()=>{const _0x25c439=_0x35e79d;_0x2b3a85[_0x25c439(0x4e2)]=_0x25c439(0x47d);});}}));}[_0x2262a8(0x3ee)](_0x1e2614){const _0x587509=_0x2262a8;let _0x3a0aa1=this[_0x587509(0x432)][_0x587509(0x4f5)](_0x1e2614);if(!_0x3a0aa1)return!0x1;let _0x492eed=_0x3a0aa1[_0x587509(0x355)]()[_0x587509(0x232)](_0x54bdbd=>_0x54bdbd[_0x587509(0x55e)]()),_0x42b2aa=new t[(_0x587509(0x3ea))](_0x1e2614)['id'],_0xd67201=_0x492eed[_0x587509(0x232)](_0x4f3e2f=>new t[(_0x587509(0x403))](_0x1e2614,_0x4f3e2f)['id']),_0x52ed56=_0x492eed[_0x587509(0x232)](_0x3a0e54=>this[_0x587509(0x304)]['getSubunitRuleList'](_0x1e2614,_0x3a0e54)[_0x587509(0x232)](_0x5dd9cf=>new t[(_0x587509(0x2cb))](_0x1e2614,_0x3a0e54,_0x5dd9cf[_0x587509(0x3c0)])['id']))[_0x587509(0x3c5)](),_0x360592=new t['WorkbookRecoverHistoryPermission'](_0x1e2614)['id'];return this['_permissionService'][_0x587509(0x38a)]([_0x42b2aa,..._0xd67201,..._0x52ed56,_0x360592])['every'](_0x32495a=>!!_0x32495a[_0x587509(0x3ff)]);}};ot=W([U(0x0,(0x0,e['Inject'])(e[_0x2262a8(0x2f7)])),U(0x1,e[_0x2262a8(0x400)]),U(0x2,e[_0x2262a8(0x33d)]),U(0x3,e['ICommandService']),U(0x4,N[_0x2262a8(0x363)]),U(0x5,e[_0x2262a8(0x2b9)]),U(0x6,(0x0,e[_0x2262a8(0x47b)])(t[_0x2262a8(0x339)])),U(0x7,(0x0,e[_0x2262a8(0x47b)])(N[_0x2262a8(0x3d4)])),U(0x8,(0x0,e[_0x2262a8(0x47b)])(N[_0x2262a8(0x253)])),U(0x9,(0x0,e[_0x2262a8(0x47b)])(e[_0x2262a8(0x4a9)]))],ot);let Q=class extends e['Plugin']{constructor(_0x1b1d43=V,_0xbf9785,_0x15491c){const _0x272b32=_0x2262a8;super(),this[_0x272b32(0x4c8)]=_0x1b1d43,this[_0x272b32(0x584)]=_0xbf9785,this[_0x272b32(0x2eb)]=_0x15491c;let {menu:_0x804d63,..._0x32c107}=(0x0,e[_0x272b32(0x310)])({},V,this['_config']);_0x804d63&&this[_0x272b32(0x2eb)][_0x272b32(0x383)](_0x272b32(0x32c),_0x804d63,{'merge':!0x0}),this['_configService']['setConfig'](B,_0x32c107);}[_0x2262a8(0x51a)](){const _0x349e02=_0x2262a8;this[_0x349e02(0x584)][_0x349e02(0x3f9)]([Je]),this[_0x349e02(0x584)][_0x349e02(0x2c8)](Je),[[X,{'useClass':ot}],[$e]]['forEach'](_0x2aefc4=>this['_injector'][_0x349e02(0x3f9)](_0x2aefc4));}[_0x2262a8(0x26d)](){this['_injector']['get']($e);}};H(Q,_0x2262a8(0x352),e[_0x2262a8(0x35f)][_0x2262a8(0x247)]),H(Q,'pluginName','UNIVER_SHEETS_HISTORY_MOBILE_UI_PLUGIN'),H(Q,_0x2262a8(0x536),se),H(Q,_0x2262a8(0x26c),ce),Q=W([(0x0,e[_0x2262a8(0x333)])(a['UniverLicensePlugin'],t['UniverSheetsPlugin'],N[_0x2262a8(0x2f4)],r[_0x2262a8(0x415)],z[_0x2262a8(0x56b)]),U(0x1,(0x0,e[_0x2262a8(0x47b)])(e[_0x2262a8(0x230)])),U(0x2,e['IConfigService'])],Q);let st=class extends e[_0x2262a8(0x3cc)]{constructor(_0x2200d4,_0x4aec72,_0x46ece3,_0x18a84f,_0x4b670b,_0x3706c8,_0x2d6d53,_0xb1b2ed,_0xc08a77,_0x38d39d){const _0x2507bf=_0x2262a8;super(),this[_0x2507bf(0x2d4)]=_0x2200d4,this[_0x2507bf(0x3e0)]=_0x4aec72,this['_historyManagerService']=_0x46ece3,this[_0x2507bf(0x1a7)]=_0x18a84f,this[_0x2507bf(0x286)]=_0x4b670b,this[_0x2507bf(0x531)]=_0x3706c8,this[_0x2507bf(0x50c)]=_0x2d6d53,this['_dataLoaderService']=_0xb1b2ed,this[_0x2507bf(0x432)]=_0xc08a77,this[_0x2507bf(0x585)]=_0x38d39d,H(this,_0x2507bf(0x2ca),null),this[_0x2507bf(0x1a8)]((0x0,e[_0x2507bf(0x4df)])(()=>this['_clearRevertAcknowledgement']())),this['_init']();}[_0x2262a8(0x252)](){const _0x3b9db3=_0x2262a8;[Ke,qe]['forEach'](_0x3ea1b9=>this[_0x3b9db3(0x1a8)]((0x0,e['toDisposable'])(this['_commandService'][_0x3b9db3(0x520)](_0x3ea1b9)))),this[_0x3b9db3(0x3e0)]['mergeMenu'](Xe),this[_0x3b9db3(0x1a8)](this['_commandService'][_0x3b9db3(0x4eb)]((_0x427e78,_0x54fb99)=>{const _0x4b0dca=_0x3b9db3;if(_0x427e78['id']===n[_0x4b0dca(0x2ff)]['id']&&Ze(_0x427e78[_0x4b0dca(0x2b4)])){let {revision:_0x2f69e8,unitId:_0x90f6c1}=_0x427e78[_0x4b0dca(0x2b4)];this[_0x4b0dca(0x286)]['show']({'content':this[_0x4b0dca(0x1a7)]['t'](_0x4b0dca(0x481)),'type':m[_0x4b0dca(0x2d9)]['Loading'],'duration':0x1388});let _0x7fe7c8=this[_0x4b0dca(0x531)]['getCollabEntity'](_0x90f6c1);if(!_0x7fe7c8){this[_0x4b0dca(0x4d7)]();return;}_0x54fb99!=null&&_0x54fb99['fromCollab']?this[_0x4b0dca(0x348)](_0x7fe7c8,{'revision':_0x2f69e8,'unitId':_0x90f6c1},async()=>(setTimeout(()=>window[_0x4b0dca(0x4c4)][_0x4b0dca(0x587)]()),!0x0),!0x0):this['_handleRevertAcknowledgement'](_0x7fe7c8,{'revision':_0x2f69e8,'unitId':_0x90f6c1},async()=>{const _0x516fe0=_0x4b0dca;let _0x20fc52=this['_univerInstanceService']['getCurrentUnitOfType'](e[_0x516fe0(0x35f)][_0x516fe0(0x240)]),_0x43dae5=_0x20fc52==null?void 0x0:_0x20fc52['getActiveSheet']();if(!_0x43dae5)return!0x1;this['_univerInstanceService']['disposeUnit'](_0x90f6c1);let _0x3e8325=await this[_0x516fe0(0x2d0)]['loadUnit'](_0x90f6c1,e['UniverInstanceType'][_0x516fe0(0x240)]);return _0x3e8325&&_0x3e8325 instanceof e[_0x516fe0(0x211)]?(await this[_0x516fe0(0x2f3)](_0x3e8325,_0x43dae5['getSheetId']()),!0x0):!0x1;});}}));}[_0x2262a8(0x348)](_0x425dff,_0x4ee194,_0x253aec,_0x4ad1a1=!0x1){const _0x36ebac=_0x2262a8;this[_0x36ebac(0x1c0)]();let _0x8bbabf=(0x0,P[_0x36ebac(0x57c)])([_0x425dff[_0x36ebac(0x42b)][_0x36ebac(0x330)],_0x425dff[_0x36ebac(0x504)]])[_0x36ebac(0x466)]((0x0,P[_0x36ebac(0x409)])(([_0x3ab21e,_0x3d888d])=>Qe(_0x3ab21e,_0x4ee194)&&(_0x3d888d==null?void 0x0:_0x3d888d['status'])===r[_0x36ebac(0x1b5)][_0x36ebac(0x578)]),(0x0,P[_0x36ebac(0x4fc)])(0x1)),_0xffadf9=_0x8bbabf;_0x4ad1a1&&(_0xffadf9=_0x8bbabf['pipe']((0x0,P[_0x36ebac(0x303)])({'first':0x1388}))),this['_revertAcknowledgementSubscription']=_0xffadf9[_0x36ebac(0x466)]((0x0,P[_0x36ebac(0x33e)])(async()=>{const _0x488fc1=_0x36ebac;let _0x2538dd=await _0x253aec();return _0x2538dd&&(this[_0x488fc1(0x3db)][_0x488fc1(0x351)](),await this[_0x488fc1(0x50c)][_0x488fc1(0x262)]()),_0x2538dd;}),(0x0,P[_0x36ebac(0x4da)])(this[_0x36ebac(0x1c9)]))[_0x36ebac(0x3ad)]({'next':_0x1a75f0=>{const _0x11ca0d=_0x36ebac;this[_0x11ca0d(0x1c0)](),_0x1a75f0||this['_showRevertFailed']();},'error':()=>{const _0x475d8b=_0x36ebac;this[_0x475d8b(0x1c0)](),this[_0x475d8b(0x4d7)]();}});}[_0x2262a8(0x1c0)](){const _0x36dc17=_0x2262a8;var _0x29d00e;(_0x29d00e=this['_revertAcknowledgementSubscription'])==null||_0x29d00e[_0x36dc17(0x382)](),this['_revertAcknowledgementSubscription']=null;}['_showRevertFailed'](){const _0x1913d8=_0x2262a8;this[_0x1913d8(0x286)]['show']({'content':this['_localeService']['t'](_0x1913d8(0x213)),'type':m[_0x1913d8(0x2d9)][_0x1913d8(0x32a)],'duration':0xbb8});}async[_0x2262a8(0x2f3)](_0x1363cb,_0x3b3d41){const _0x539686=_0x2262a8;await this[_0x539686(0x20c)](_0x1363cb,_0x3b3d41),_0x1363cb[_0x539686(0x271)][_0x539686(0x466)]((0x0,P[_0x539686(0x4da)])(this[_0x539686(0x1c9)]))['subscribe'](_0x5f3aef=>{_0x5f3aef&&this['_updateURLWithCurrentState'](_0x5f3aef);}),this['_urlService'][_0x539686(0x4b6)][_0x539686(0x466)]((0x0,P[_0x539686(0x4da)])(this[_0x539686(0x1c9)]))['subscribe'](()=>this[_0x539686(0x20c)](_0x1363cb,_0x3b3d41));}[_0x2262a8(0x50e)](_0xb11969,_0x490c93=!0x1){const _0xe50a71=_0x2262a8;let _0x2099ac=this[_0xe50a71(0x585)][_0xe50a71(0x2db)](_0xe50a71(0x366));_0xb11969['getSheetId']()!==_0x2099ac&&this[_0xe50a71(0x585)]['setParam'](_0xe50a71(0x366),_0xb11969[_0xe50a71(0x55e)](),_0x490c93);}async[_0x2262a8(0x20c)](_0x29bb28,_0x25bfdc){const _0x37b065=_0x2262a8;var _0x18ab6f;if(!_0x25bfdc||!_0x29bb28['getSheetBySheetId'](_0x25bfdc)){let _0x99a389=_0x29bb28[_0x37b065(0x56c)]()[0x0],_0x59016c=_0x29bb28[_0x37b065(0x2f8)](_0x99a389);if(!_0x59016c)return;this[_0x37b065(0x50e)](_0x59016c,!0x0),await this['_commandService'][_0x37b065(0x223)](t[_0x37b065(0x430)]['id'],{'unitId':_0x29bb28[_0x37b065(0x42e)](),'subUnitId':_0x99a389});return;}((_0x18ab6f=_0x29bb28['getActiveSheet']())==null?void 0x0:_0x18ab6f['getSheetId']())!==_0x25bfdc&&await this['_commandService'][_0x37b065(0x223)](t['SetWorksheetActivateCommand']['id'],{'unitId':_0x29bb28[_0x37b065(0x42e)](),'subUnitId':_0x25bfdc});}};st=W([U(0x0,e[_0x2262a8(0x273)]),U(0x1,N[_0x2262a8(0x377)]),U(0x2,(0x0,e['Inject'])(X)),U(0x3,(0x0,e['Inject'])(e[_0x2262a8(0x2f7)])),U(0x4,N['IMessageService']),U(0x5,(0x0,e[_0x2262a8(0x47b)])(r[_0x2262a8(0x431)])),U(0x6,r[_0x2262a8(0x51e)]),U(0x7,(0x0,e['Inject'])(r[_0x2262a8(0x494)])),U(0x8,e['IUniverInstanceService']),U(0x9,z[_0x2262a8(0x1ce)])],st);let $=class extends e[_0x2262a8(0x207)]{constructor(_0x18d38b=V,_0x11b4ea,_0x56dad6){const _0x12d189=_0x2262a8;super(),this[_0x12d189(0x4c8)]=_0x18d38b,this['_injector']=_0x11b4ea,this['_configService']=_0x56dad6;let {menu:_0x43544c,..._0x197aef}=(0x0,e[_0x12d189(0x310)])({},V,this[_0x12d189(0x4c8)]);_0x43544c&&this[_0x12d189(0x2eb)][_0x12d189(0x383)]('menu',_0x43544c,{'merge':!0x0}),this['_configService'][_0x12d189(0x383)](B,_0x197aef);}[_0x2262a8(0x51a)](){const _0x436660=_0x2262a8;this[_0x436660(0x584)][_0x436660(0x3f9)]([Y]),this[_0x436660(0x584)][_0x436660(0x2c8)](Y),[[X],[st]]['forEach'](_0x192c03=>this[_0x436660(0x584)]['add'](_0x192c03));}[_0x2262a8(0x26d)](){const _0x4c54d0=_0x2262a8;this[_0x4c54d0(0x584)][_0x4c54d0(0x2c8)](st);}};H($,'pluginName',_0x2262a8(0x399)),H($,_0x2262a8(0x536),se),H($,'version',ce),H($,'type',e[_0x2262a8(0x35f)][_0x2262a8(0x240)]),$=W([(0x0,e['DependentOn'])(a['UniverLicensePlugin'],t['UniverSheetsPlugin'],ie[_0x2262a8(0x3dd)],r[_0x2262a8(0x415)],z[_0x2262a8(0x56b)]),U(0x1,(0x0,e[_0x2262a8(0x47b)])(e[_0x2262a8(0x230)])),U(0x2,e['IConfigService'])],$),exports[_0x2262a8(0x23a)]=B,exports[_0x2262a8(0x20a)]=Ke,Object[_0x2262a8(0x482)](exports,_0x2262a8(0x4af),{'enumerable':!0x0,'get':function(){return Q;}}),Object['defineProperty'](exports,_0x2262a8(0x349),{'enumerable':!0x0,'get':function(){return $;}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0x185229=_0x51c2;(function(_0x5ebb01,_0x18007d){const _0x3d694d=_0x51c2,_0x3543ff=_0x5ebb01();while(!![]){try{const _0x5ee8cd=-parseInt(_0x3d694d(0x1b8))/0x1+parseInt(_0x3d694d(0x1aa))/0x2+parseInt(_0x3d694d(0x1bc))/0x3+parseInt(_0x3d694d(0x1a6))/0x4*(parseInt(_0x3d694d(0x19c))/0x5)+-parseInt(_0x3d694d(0x1d2))/0x6*(-parseInt(_0x3d694d(0x1c3))/0x7)+-parseInt(_0x3d694d(0x1ac))/0x8+-parseInt(_0x3d694d(0x1ad))/0x9*(parseInt(_0x3d694d(0x1ab))/0xa);if(_0x5ee8cd===_0x18007d)break;else _0x3543ff['push'](_0x3543ff['shift']());}catch(_0x4e5dd1){_0x3543ff['push'](_0x3543ff['shift']());}}}(_0x24f2,0x55981));function _0x24f2(){const _0x1bb866=['تمت\x20إضافة\x20حماية\x20النطاق','تم\x20تحديث\x20مصدر\x20الحقل\x20المحوري','جارٍ\x20التحميل،\x20يرجى\x20الانتظار...','مستخدم\x20غير\x20معروف','تمت\x20إزالة\x20المخطط','تم\x20تغيير\x20حالة\x20الطي\x20للجدول\x20المحوري','تم\x20إلغاء\x20تسجيل\x20سمة\x20النطاق','تمت\x20إعادة\x20تسمية\x20ورقة\x20عمل','{1}/{0}','جارٍ\x20الاستعادة،\x20يرجى\x20الانتظار...','تم\x20تغيير\x20فرز\x20الجدول\x20المحوري','تم\x20تغيير\x20خيار\x20الجدول\x20المحوري','تم\x20تحرير\x20ورقة\x20العمل','رجوع','تمت\x20إعادة\x20تسمية\x20المصنف','تم\x20تحديث\x20الحماية','تم\x20تغيير\x20موضع\x20قيمة\x20الجدول\x20المحوري','تمت\x20إزالة\x20الرسم','تم\x20تطبيق\x20تصفية\x20الجدول\x20المحوري','تم\x20تحديث\x20بيانات\x20الشكل','تم\x20تسجيل\x20سمة\x20النطاق','تم\x20تحديث\x20مصدر\x20بيانات\x20المخطط','استعادة\x20هذا\x20الإصدار','تمت\x20إضافة\x20التنسيق\x20الشرطي','تم\x20تغيير\x20تجميد\x20الأجزاء','تم\x20حذف\x20ورقة\x20عمل','تم\x20تعيين\x20تنسيق\x20الأرقام','بشري','تمت\x20إزالة\x20التصفية','سيتم\x20إرجاع\x20هذا\x20المستند\x20إلى\x20الإصدار\x20المحدد:\x20({0}\x20{1})','تم\x20إنشاء\x20مصنف','تم\x20إخفاء\x20صف','اليوم','تم\x20حذف\x20صف','تم\x20تغيير\x20معايير\x20التصفية','تم\x20تحديث\x20سمة\x20النطاق','تمت\x20إعادة\x20ترتيب\x20ورقة\x20عمل','تم\x20تحديث\x20الجدول','تم\x20تغيير\x20عدد\x20الصفوف','تمت\x20إعادة\x20حساب\x20التصفية','تم\x20إدراج\x20شكل','تم\x20تطبيق\x20تصفية\x20الجدول','تمت\x20إعادة\x20ترتيب\x20نطاق','تم\x20دمج\x20خلايا','2841340lxacuY','تم\x20تبديل\x20خطوط\x20الشبكة','مساعد\x20ذكاء\x20اصطناعي','تمت\x20إزالة\x20جدول\x20محوري','خطأ\x20غير\x20معروف،\x20يرجى\x20تحديث\x20الصفحة\x20لعرض\x20نتيجة\x20الاستعادة','تم\x20تغيير\x20بيانات\x20العمود','تمت\x20إزالة\x20سمة\x20النطاق','تم\x20تحديث\x20سمة\x20نطاق\x20ورقة\x20العمل','تم\x20تغيير\x20عرض\x20العمود','تم\x20نقل\x20نطاق','4PQAFYY','ذكاء\x20اصطناعي','تم\x20حذف\x20سمة\x20نطاق\x20ورقة\x20العمل','جارٍ\x20التهيئة،\x20يرجى\x20الانتظار...','245968BAronu','500Zsowei','5326944zLTRWU','63117pEwRgr','تم\x20نسخ\x20ورقة\x20عمل','الكل','تم\x20تحديث\x20مصدر\x20بيانات\x20الجدول\x20المحوري','تم\x20إخفاء\x20ورقة\x20عمل','تم\x20تغيير\x20عدد\x20الأعمدة','تمت\x20إزالة\x20الجدول','تم\x20نقل\x20التنسيق\x20الشرطي','تمت\x20إضافة\x20حقل\x20محوري','إلغاء','تمت\x20إزالة\x20الشكل','195753dMmFXc','تم\x20إلغاء\x20دمج\x20خلايا','،\x20إلخ.','تم\x20تحديث\x20الرسم','1278699Wxcyct','تصفية\x20حسب\x20المتعاون','تم\x20تطبيق\x20تصفية','تم\x20إدراج\x20ورقة\x20عمل','تم\x20إظهار\x20عمود','تم\x20حذف\x20عمود','تم\x20تغيير\x20التخطيط\x20من\x20اليمين\x20إلى\x20اليسار','133CwydoO','تمت\x20استعادة\x20المصنف','تم\x20إدراج\x20رسم','تم\x20تغيير\x20نوع\x20المجموع\x20الفرعي\x20للجدول\x20المحوري','تم\x20تغيير\x20ارتفاع\x20الصف','تم\x20إخفاء\x20عمود','استعادة\x20هذا\x20الإصدار؟','تم\x20تعيين\x20التحقق\x20من\x20صحة\x20البيانات','فشل\x20في\x20الحصول\x20على\x20قائمة\x20سجل\x20التحرير','تأكيد','تمت\x20الاستعادة\x20من','تم\x20تغيير\x20النمط\x20الافتراضي','H:m:s','تمت\x20إزالة\x20حماية\x20النطاق','تمت\x20إضافة\x20سمة\x20النطاق','140646nRXvmH','تمت\x20إزالة\x20تنسيق\x20الأرقام','تمت\x20إزالة\x20حقل\x20محوري','تمت\x20إضافة\x20خط\x20بياني\x20صغير','تم\x20تغيير\x20وضع\x20الارتفاع\x20التلقائي\x20للصف','الإصدار\x20الحالي'];_0x24f2=function(){return _0x1bb866;};return _0x24f2();}const e={'sheets-history-ui':{'loader':{'panel':{'title':'سجل\x20التحرير','reverting':_0x185229(0x1e1),'revertFailed':'خطأ\x20غير\x20معروف،\x20يرجى\x20تحديث\x20الصفحة\x20لعرض\x20نتيجة\x20الاستعادة','listFetchError':_0x185229(0x1cb)},'info':{'initializing':_0x185229(0x1a9)}},'viewer':{'panel':{'title':'سجل\x20التحرير','unknownUser':_0x185229(0x1db),'listFetchError':'فشل\x20في\x20الحصول\x20على\x20قائمة\x20سجل\x20التحرير','revertConfirm':_0x185229(0x1c9),'revertConfirmText':_0x185229(0x18d),'cancel':_0x185229(0x1b6),'confirm':_0x185229(0x1cc),'reverting':_0x185229(0x1e1),'revertFailed':_0x185229(0x1a0),'currentVersion':_0x185229(0x1d7),'today':_0x185229(0x190),'dateCurrentYear':_0x185229(0x1e0),'dateFull':'{2}/{1}/{0}','timeFormat':_0x185229(0x1cf),'currentUser':'المستخدم\x20الحالي','revertDesc':_0x185229(0x186),'filterAll':_0x185229(0x1af),'filterUser':_0x185229(0x18b),'filterAi':_0x185229(0x1a7),'aiAssistant':_0x185229(0x19e),'filterCollaboratorCancel':_0x185229(0x1b6),'filterCollaboratorConfirm':_0x185229(0x1cc),'filterCollaborator':_0x185229(0x1bd)},'info':{'loading':_0x185229(0x1da),'initializing':_0x185229(0x1a9)},'header':{'back':_0x185229(0x1e5),'revert':_0x185229(0x186)},'action':{'insertSheet':_0x185229(0x1bf),'removeSheet':_0x185229(0x189),'createSheet':_0x185229(0x18e),'renameSheet':_0x185229(0x1df),'reorderSheet':_0x185229(0x194),'hideSheet':_0x185229(0x1b1),'copySheet':_0x185229(0x1ae),'setTabColor':'تم\x20تغيير\x20لون\x20علامة\x20التبويب','renameWorkbook':_0x185229(0x1e6),'insertRow':'تم\x20إدراج\x20صف','insertCol':'تم\x20إدراج\x20عمود','removeRow':_0x185229(0x191),'removeCol':_0x185229(0x1c1),'moveRows':'تم\x20نقل\x20صفوف','moveCols':'تم\x20نقل\x20أعمدة','showRow':'تم\x20إظهار\x20صف','hideRow':_0x185229(0x18f),'showCol':_0x185229(0x1c0),'hideCol':_0x185229(0x1c8),'setRowHeight':_0x185229(0x1c7),'setColWidth':_0x185229(0x1a4),'setRowAutoHeight':'تم\x20تمكين\x20الارتفاع\x20التلقائي\x20للصف','setRowIsAutoHeight':_0x185229(0x1d6),'setRowData':'تم\x20تغيير\x20بيانات\x20الصف','setColData':_0x185229(0x1a1),'setRowCount':_0x185229(0x196),'setColCount':_0x185229(0x1b2),'setRangeValues':'تم\x20تحرير\x20خلايا','moveRange':_0x185229(0x1a5),'reorderRange':_0x185229(0x19a),'mergeCells':_0x185229(0x19b),'unmergeCells':_0x185229(0x1b9),'setFilter':_0x185229(0x1be),'setFilterCriteria':_0x185229(0x192),'removeFilter':_0x185229(0x18c),'recalcFilter':_0x185229(0x197),'setFrozen':_0x185229(0x188),'toggleGridlines':_0x185229(0x19d),'setGridlinesColor':'تم\x20تغيير\x20لون\x20خطوط\x20الشبكة','setRightToLeft':_0x185229(0x1c2),'setDefaultStyle':_0x185229(0x1ce),'editSheet':_0x185229(0x1e4),'revertSheet':_0x185229(0x1c4),'revertSheetPrefix':_0x185229(0x1cd),'revertSheetSuffix':'','setDV':_0x185229(0x1ca),'removeDV':'تمت\x20إزالة\x20التحقق\x20من\x20صحة\x20البيانات','setCF':'تم\x20تعيين\x20التنسيق\x20الشرطي','addCF':_0x185229(0x187),'deleteCF':'تم\x20حذف\x20التنسيق\x20الشرطي','moveCF':_0x185229(0x1b4),'addProtection':'تمت\x20إضافة\x20الحماية','setProtection':_0x185229(0x1e7),'deleteProtection':'تمت\x20إزالة\x20الحماية','addRangeProtection':_0x185229(0x1d8),'setRangeProtection':'تم\x20تحديث\x20حماية\x20النطاق','deleteRangeProtection':_0x185229(0x1d0),'setPermissionPoints':'تم\x20تغيير\x20إعدادات\x20الأذونات','setNumfmt':_0x185229(0x18a),'removeNumfmt':_0x185229(0x1d3),'addRangeTheme':_0x185229(0x1d1),'setRangeTheme':_0x185229(0x193),'removeRangeTheme':_0x185229(0x1a2),'setWorksheetRangeTheme':_0x185229(0x1a3),'registerRangeTheme':_0x185229(0x184),'unregisterRangeTheme':_0x185229(0x1de),'deleteWorksheetRangeTheme':_0x185229(0x1a8),'empty':'لا\x20توجد\x20تغييرات','addSparkline':_0x185229(0x1d5),'setSparkline':'تم\x20تحديث\x20خط\x20بياني\x20صغير','removeSparkline':'تمت\x20إزالة\x20خط\x20بياني\x20صغير','insertChart':'تم\x20إدراج\x20مخطط','removeChart':_0x185229(0x1dc),'updateChartConfig':'تم\x20تحديث\x20تكوين\x20المخطط','updateChartSource':_0x185229(0x185),'addPivotTable':'تمت\x20إضافة\x20جدول\x20محوري','removePivotTable':_0x185229(0x19f),'setPivotOption':_0x185229(0x1e3),'setPivotPosition':'تم\x20تغيير\x20موضع\x20الجدول\x20المحوري','updatePivotSource':_0x185229(0x1b0),'addPivotField':_0x185229(0x1b5),'removePivotField':_0x185229(0x1d4),'renamePivotField':'تمت\x20إعادة\x20تسمية\x20حقل\x20محوري','updateFieldPosition':'تم\x20تغيير\x20موضع\x20الحقل\x20المحوري','updateValuePosition':_0x185229(0x1e8),'updatePivotFieldSource':_0x185229(0x1d9),'setPivotFieldFormat':'تم\x20تغيير\x20تنسيق\x20الحقل\x20المحوري','setPivotFilter':_0x185229(0x1ea),'setPivotValueFilter':'تم\x20تطبيق\x20تصفية\x20قيمة\x20الجدول\x20المحوري','setPivotSort':_0x185229(0x1e2),'setPivotCollapse':_0x185229(0x1dd),'setPivotSubtotalType':_0x185229(0x1c6),'insertShape':_0x185229(0x198),'removeShape':_0x185229(0x1b7),'updateShapeData':_0x185229(0x183),'updateShapeType':'تم\x20تحديث\x20نوع\x20الشكل','addTable':'تمت\x20إضافة\x20جدول','updateTable':_0x185229(0x195),'removeTable':_0x185229(0x1b3),'setTableFilter':_0x185229(0x199),'updateDrawing':_0x185229(0x1bb),'insertDrawing':_0x185229(0x1c5),'removeDrawing':_0x185229(0x1e9),'etc':_0x185229(0x1ba)}}}};function _0x51c2(_0x50f5b0,_0x5030fa){_0x50f5b0=_0x50f5b0-0x183;const _0x24f29d=_0x24f2();let _0x51c244=_0x24f29d[_0x50f5b0];return _0x51c244;}module['exports']=e;
|