@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/lib/es/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0x12baa0=_0xc465;(function(_0x4e6992,_0x144fe7){const _0x22b9f6=_0xc465,_0x31bc41=_0x4e6992();while(!![]){try{const _0x11d0be=-parseInt(_0x22b9f6(0x1f3))/0x1*(-parseInt(_0x22b9f6(0x394))/0x2)+-parseInt(_0x22b9f6(0x381))/0x3*(parseInt(_0x22b9f6(0x2fd))/0x4)+-parseInt(_0x22b9f6(0x251))/0x5+parseInt(_0x22b9f6(0x373))/0x6*(parseInt(_0x22b9f6(0x30f))/0x7)+-parseInt(_0x22b9f6(0x20b))/0x8+parseInt(_0x22b9f6(0x1d0))/0x9*(parseInt(_0x22b9f6(0x3d6))/0xa)+-parseInt(_0x22b9f6(0x315))/0xb;if(_0x11d0be===_0x144fe7)break;else _0x31bc41['push'](_0x31bc41['shift']());}catch(_0xa4d224){_0x31bc41['push'](_0x31bc41['shift']());}}}(_0x4b38,0x4dee5));import{BooleanNumber as _0x1850e0,ColorKit as _0x3273f8,CommandType as _0x12ed79,DependentOn as _0x51611f,Disposable as _0x3e44cf,DisposableCollection as _0x43785f,IAuthzIoService as _0x592b7a,ICommandService as _0x1e22b1,IConfigService as _0x26c683,IConfirmService as _0x5f268a,IImageIoService as _0x1e1f2d,ILogService as _0x525aca,IPermissionService as _0x4820fc,IUniverInstanceService as _0x4db7b5,Inject as _0x279b8e,Injector as _0x627409,LOCALE_META as _0x5e0863,LRUMap as _0x10232b,LocaleService as _0x472cdf,ObjectMatrix as _0x3fb342,Plugin as _0x2b2536,RANGE_TYPE as _0x3c28a9,RxDisposable as _0x4f187e,ThemeService as _0x56031e,Univer as _0x5a774c,UniverInstanceType as _0x101fbf,Workbook as _0x544a2f,dateKit as _0xbdb78e,debounce as _0x5fb605,merge as _0xa1e912,toDisposable as _0x239555}from'@univerjs/core';import{AddRangeProtectionMutation as _0x54eb0f,AddRangeThemeMutation as _0x33bb58,AddWorksheetMergeMutation as _0x4ba4d4,AddWorksheetProtectionMutation as _0x456b06,CopyWorksheetEndMutation as _0x28a967,DeleteRangeProtectionMutation as _0x12021e,DeleteWorksheetProtectionMutation as _0x45b778,DeleteWorksheetRangeThemeStyleMutation as _0x2423c,InsertColMutation as _0x5c2988,InsertRowMutation as _0x102b2e,InsertSheetMutation as _0x17da31,MoveColsMutation as _0x1d0973,MoveRangeMutation as _0x323458,MoveRowsMutation as _0x42de13,RangeMergeUtil as _0x206e93,RangeProtectionPermissionEditPoint as _0x45c26a,RangeProtectionRuleModel as _0x2faef2,RemoveColMutation as _0x23accc,RemoveNumfmtMutation as _0x315f95,RemoveRangeThemeMutation as _0x2faf1e,RemoveRowMutation as _0x5db393,RemoveSheetMutation as _0x465973,RemoveWorksheetMergeMutation as _0x550f21,ReorderRangeMutation as _0x59d84f,SetColDataMutation as _0x2b2916,SetColHiddenMutation as _0x5497ed,SetColVisibleMutation as _0x21ceef,SetFrozenMutation as _0x4c0731,SetGridlinesColorMutation as _0x875c8f,SetNumfmtMutation as _0x3c1dd2,SetRangeProtectionMutation as _0x45a40e,SetRangeThemeMutation as _0x27299f,SetRangeValuesMutation as _0x2455e4,SetRowDataMutation as _0x452ff7,SetRowHiddenMutation as _0x531db8,SetRowVisibleMutation as _0x2a5b38,SetTabColorMutation as _0x42a96b,SetWorkbookNameMutation as _0x10453f,SetWorksheetActivateCommand as _0x411141,SetWorksheetActiveOperation as _0x9e2195,SetWorksheetColWidthMutation as _0x1eeeca,SetWorksheetColumnCountMutation as _0x54beca,SetWorksheetDefaultStyleMutation as _0x30617c,SetWorksheetHideMutation as _0x17fc63,SetWorksheetNameMutation as _0x5cbfdd,SetWorksheetOrderMutation as _0x25645a,SetWorksheetPermissionPointsMutation as _0x3cd72f,SetWorksheetProtectionMutation as _0x14f7ec,SetWorksheetRangeThemeStyleMutation as _0x5b2786,SetWorksheetRightToLeftMutation as _0x4c0e6e,SetWorksheetRowAutoHeightMutation as _0x2aee7d,SetWorksheetRowCountMutation as _0x5b1f98,SetWorksheetRowHeightMutation as _0x5c297b,SetWorksheetRowIsAutoHeightMutation as _0x245927,SheetPermissionInitController as _0x5754dd,ToggleGridlinesMutation as _0xab30a,UniverSheetsPlugin as _0xb8c34e,WorkbookEditablePermission as _0x2d4b7e,WorkbookHideSheetPermission as _0x504fdc,WorkbookMoveSheetPermission as _0x44980b,WorkbookRecoverHistoryPermission as _0x545dec,WorkbookRenameSheetPermission as _0x53d8f8,WorkbookViewHistoryPermission as _0x4a1fbf,WorksheetEditPermission as _0x4c5159,findAllRectangle as _0x251ca9,getSheetCommandTarget as _0x2d3e28}from'@univerjs/sheets';import{CollaborationEvent as _0xfad09e,CompressMutationService as _0x136b20,CreateUnitMutation as _0x5d92ad,ISnapshotServerService as _0x360b43,ITransformService as _0x9f88cf,RevertRevisionMutation as _0x5996e6,UniverCollaborationPlugin as _0x2120f0,isTransformMutationsSuccess as _0x5489f9,parseProtocolChangeset as _0x31e9c7,transformSnapshotToWorkbookData as _0x19a705}from'@univerjs-pro/collaboration';import{AuthzIoHttpService as _0x4a396e,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x4d6194,CollaborationController as _0x4896a1,CollaborationImageIoService as _0x3f688d,CollaborationStatus as _0x16676a,DataLoaderService as _0x1bc8e8,ILocalCacheService as _0x395037,SnapshotServerOverHTTPService as _0x112269,UniverCollaborationClientPlugin as _0x19957f}from'@univerjs-pro/collaboration-client';import{UniverProFormulaEnginePlugin as _0x42679f}from'@univerjs-pro/engine-formula';import{LS_CONFIG_KEY as _0x5c1ffe,UniverLicensePlugin as _0x40052b}from'@univerjs-pro/license';import{ChartUpdateConfigMutation as _0x3db1c3,ChartUpdateSourceConfigMutation as _0x127df1,InsertSheetsChartMutation as _0x45d0ab,RemoveSheetsChartMutation as _0x1e6cd7,SheetsChartService as _0x5808ec,UniverSheetsChartPlugin as _0x220dc6}from'@univerjs-pro/sheets-chart';import{UniverSheetsChartMobileUIPlugin as _0x49e2c5,UniverSheetsChartUIPlugin as _0x1c5bf7}from'@univerjs-pro/sheets-chart-ui';import{AddPivotFieldMutation as _0x2e1288,AddPivotTableMutation as _0x5e9dbc,RemovePivotFieldMutation as _0x3a9eac,RemovePivotTableMutation as _0x47dd87,RenamePivotFieldMutation as _0x56cf1b,SetPivotCollapseMutation as _0x695bd0,SetPivotFieldFormatMutation as _0x4db1a1,SetPivotFilterMutation as _0x44901a,SetPivotOptionMutation as _0xf365ca,SetPivotPositionMutation as _0xebfde,SetPivotSortMutation as _0x374319,SetPivotSubtotalTypeMutation as _0x42175a,SetPivotValueFilterMutation as _0x4b57a2,SheetsPivotTableConfigModel as _0x885600,UniverSheetsPivotTablePlugin as _0xbf0418,UpdateFieldPositionMutation as _0x141235,UpdatePivotFieldSourceInfoMutation as _0x2f273a,UpdatePivotTableSourceRangeMutation as _0x13066e,UpdateValuePositionMutation as _0x46ed67,unionPivotViewRange as _0x30c966}from'@univerjs-pro/sheets-pivot';import{InsertSheetsShapeMutation as _0x14da01,RemoveSheetsShapeMutation as _0x1dc8b1,UniverSheetsShapePlugin as _0x1c9881,UpdateSheetsShapeDataMutation as _0x4d3a29,UpdateSheetsShapeTypeMutation as _0x3dbbb2}from'@univerjs-pro/sheets-shape';import{UniverSheetsShapeMobileUIPlugin as _0xe48a1,UniverSheetsShapeUIPlugin as _0x244dbd}from'@univerjs-pro/sheets-shape-ui';import{AddSheetSparklineMutation as _0x16044f,RemoveSheetSparklineMutation as _0x29b285,SetSheetSparklineMutation as _0x17f864,SparklineDataSourceModel as _0x4749e2,UniverSheetSparklinePlugin as _0x2b68e1}from'@univerjs-pro/sheets-sparkline';import{UniverSheetSparklineMobileUIPlugin as _0x574060,UniverSheetSparklineUIPlugin as _0x2707e8}from'@univerjs-pro/sheets-sparkline-ui';import{AddDataValidationMutation as _0x5952b8,RemoveDataValidationMutation as _0x3732ba,UniverDataValidationPlugin as _0x3f6353,UpdateDataValidationMutation as _0x302804}from'@univerjs/data-validation';import{Button as _0x490bb9,Checkbox as _0x41ddc6,Dropdown as _0x516705,MessageType as _0x516041,Segmented as _0x2428d5,Tooltip as _0x58b6e6,borderBottomClassName as _0x5627ed,clsx as _0x689734}from'@univerjs/design';import{UniverDocsPlugin as _0x21c40a}from'@univerjs/docs';import{UniverDocsUIPlugin as _0x4cedc7}from'@univerjs/docs-ui';import{IDrawingManagerService as _0x1f5bd3,UniverDrawingPlugin as _0x556c97}from'@univerjs/drawing';import{UniverDrawingMobileUIPlugin as _0x22f9d2,UniverDrawingUIPlugin as _0x4c1176}from'@univerjs/drawing-ui';import{IRenderManagerService as _0x54b6bf,Rect as _0x123d11,SHEET_VIEWPORT_KEY as _0x26835c,Shape as _0x2594cb,UniverRenderEnginePlugin as _0x45fff4,Vector2 as _0x5a3070}from'@univerjs/engine-render';import{HTTPService as _0x3be182,UniverNetworkPlugin as _0x294cbb}from'@univerjs/network';function _0x4b38(){const _0x4f7f93=['_unitCurrentVersionMap','_snapshotServerService','getSelectedVersionCanRevert','6rVUrwG','univer-bg-blue-50\x20dark:!univer-bg-gray-900','loadSheet','currentSkeleton$','_context','string','span','code','currentVersion','flat','updateShapeType','insertDrawings','_canRevert','shapeId','_loadingState$','_injector','UNIVER_UNKNOWN','UNIVER_SHEETS_HISTORY_UI_PLUGIN','permissionId','2DGFUKY','setWorksheetRangeTheme','label','command','includes','removeDV','updateDrawing','setRightToLeft','setTabColor','forValue','sheets-history-ui.viewer.panel.currentUser','blocks','getVersions','[HistoryLoaderService]:\x20Configure\x20a\x20valid\x20Univer\x20container\x20before\x20opening\x20history.','_createUnit','getDrawingByParam','pipe','TRUE','data','univer-h-12','Info','getHistoryChangesets','HideSheet','-drawing-','getMatrix','loadInitialVersions','activeSheet$','_initContainer','_sparklineDataSourceModel','removeNumfmt','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','setProtection','_historyUniver$','from','_setupSubUnitSync','/creators','stroke','getConfig','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','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','moveCols','_updateURLWithCurrentState','hideDiffMarks','univer-truncate\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-800\x20dark:!univer-text-gray-200','additionalFields','hideSheet','transformByState','_yieldToMain','style','getCurrentUnitCurrentVersion','getRuleById','MoveSheet','getUnitId','_createStyle','univer-relative\x20univer-h-8','univer-size-4','bottom','_borderDiffs','getSubUnitId','start','getDataRange','getAncestorScale','active','_registerHeader','addTable','entities','2102180DfpOuF','versions','setColCount','reverse','univer-size-6\x20univer-animate-spin\x20univer-text-gray-500','cfId','unitId','Comment','getSubunitRuleList','confirm','UNIVER_SHEETS_HISTORY_VIEWER_PLUGIN','insertCellRanges','_urlService','version','univer-m-auto\x20univer-animate-spin','univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-gap-1','getDirection','abs','_drawVerticalArrow','_highlight','stringify','CONTENT','_initPlugins','boolean','startRevCreateTime','insertBorderRanges','_disposableCollection','disposeUnit','current','push','div','showDiffMarks','_syncViewerServices','columnData','triggerLoadSheet','ranges','_diffs','updateTable','removeSparkline','_sheetsFilterService','all','/list?','blue.800','getSheetBySheetId','UNIVER_SHEETS_HISTORY_MOBILE_UI_PLUGIN','isSheetHidden','changesets','onCommandExecuted','_createDrawingHighlight','univer-px-3\x20univer-py-2\x20univer-text-sm\x20univer-font-semibold','_renderDrawingHighlights','_sidebarDisposable','onStarting','getSheets','members','color','[MobileHistoryLoaderService]:\x20Plugin\x20','@univerjs-pro/sheets-history-ui','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-gap-1.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','HEADER','INSERT','dateString','loading','value','getCurrentVersion','_messageService','Loading','_diffColorService','setPivotValueFilter','removeEventListener','endRevision','object','_categorizeMutationRanges','showCol','startRevision','values','_openPanel','getMember','userIds','ghost','setTableFilter','COMPRESS_MUTATION_APPLY','loadingState','getActiveSheet','dir','rowData','getSheetId','OTHERS','column','_renderArrowRanges','executeCommand','primary','concat','setPivotSort','addPivotField','_removeDiffMarks','univer-flex\x20univer-min-h-6\x20univer-w-full\x20univer-items-center\x20univer-justify-between','__getInjector','currentTheme$','fill','palette$','horizontal','recoverTime','_lastPointer','menu','highlightRow','VIRTUAL_VERSION_NOW','_isBlinkVisible','_initActiveSwitch','insertBorder','_cellEditorManagerService','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','setConfig','univer-flex\x20univer-items-center\x20univer-justify-end\x20univer-gap-2\x20univer-p-2','subUnitIds','setRangeProtection','sheets-history-ui.viewer.panel.filterCollaboratorConfirm','_arrowDiffs','getFilterModel','range','renamePivotField','syncExecuteCommand','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','[HistoryLoaderService]:\x20Plugin\x20','insert','eventID','_blinkTimer','copySheet','_selectionProtectionRuleModel','deleteDrawings','cellValue','[MobileHistoryLoaderService]:\x20Configure\x20a\x20valid\x20Univer\x20container\x20before\x20opening\x20history.','deleteProtection','set','getVersion','_setVersions','sheets-history-ui.viewer.action.','tableId','mergeCells','_setFetching','updatePermissionPoint','univer-truncate\x20univer-text-xs\x20univer-text-gray-500\x20dark:!univer-text-gray-400','sheets-history-ui.loader.panel.reverting','loaded','makeDirty','getCellIndexByOffset','pluginName','setOffsetY','sheets-history-ui.viewer.info.loading','complete','interceptor','getCoordRelativeToViewport','deleteRangeProtection','status$','univer-h-1\x20univer-w-10\x20univer-rounded-full\x20univer-bg-gray-300\x20dark:!univer-bg-gray-600','endRevCreateTime','_hasMore','sheets-history-ui.viewer.panel.filterUser','event$','_draw','function','loadUnit','_palette$','univer-flex\x20univer-shrink-0\x20univer-cursor-pointer\x20univer-flex-col\x20univer-items-center\x20univer-py-2','triggerRevert','removeAll','removeFilter','canRevert','restore','scroll','key','creators','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','removePivotField','startColumn','_cacheKey','getParam','userID','sheets-history-ui.viewer.action.etc','sort','deleteBorder','setFrozen','creators$','sheets-history-ui.viewer.panel.revertConfirm','100%','addSparkline','init','load','sheets-history-ui.viewer.panel.filterAll','renameSheet','setDarkMode','endRev','direction$','setPivotFilter','_renderManagerService','setDrawingEditable','setDirection','startRow','pivotTableId','composePermission','_currentVersion$','updateChartSource','loadMoreVersions','setPivotSubtotalType','status','delete','_checkCanRevert','type','state$','getCurrentLocale','fetching','moveTo','labelKey','sheets-history-ui.loader.panel.revertFailed','univer-relative\x20!univer-mb-0\x20!univer-mt-0','some','workbook','18YTcNbM','_collaborationController','direction','join','clear','_handleRevertAcknowledgement','hide','setDefaultStyle','univer-text-sm','call','historyPanelComponentKey','filter','univer-pointer-events-none\x20univer-absolute\x20univer-inset-0\x20univer-z-10\x20univer-flex\x20univer-flex-col\x20univer-justify-end','VIEW_MAIN','getUnhiddenWorksheets','updateFieldPosition','moveRows','setInterval','unmergeCells','setRowIsAutoHeight','targetRange','vertical','iterator','confirm-revert-revision','_detailVersionsMap','_showRevertFailed','_startBlinking','_generateDiffMarks','UNIVER_SHEET','_openPanel$','children','packageName','_renderCellRanges','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','_revertAcknowledgementSubscription','69835YUngDZ','keys','fetchCreatorList','save','row','blockMeta','sheetId','deleteWorksheetRangeTheme','_setOverlappingShapesHovered','_pluginMap','exited','whenReady','highlightSecond','parent','updateDrawings','_univerInstanceService','sheets-history-ui.viewer.panel.filterCollaboratorCancel','addEventListener','addRangeTheme','block','setPivotFieldFormat','_renderBorderRanges','onSteady','height','1317264eIRDIt','viewportScrollY','time','_pointerMoveSubscription','univer-h-[60%]','insertShape','action','univer-border-t\x20univer-border-gray-200\x20dark:!univer-border-gray-700','body','setPivotCollapse','prototype','close','show','&endRevision=','unMountHistoryContent','Failed\x20to\x20fetch\x20version\x20details:','getOwnPropertyDescriptor','updateCellRanges','subscribe','_initDiffRender','hideRow','exhaustSavingTask','drawingIds','link','getUnit','unitID','sheets-history-ui.viewer.panel.revertConfirmText','display','getMutationActionMap','red.800','setRangeValues','right','groupIds','_config','anonymous','editSheet','closePath','moveCF','memberId','getSelectedVersionIsCurrentVersion','setPivotOption','_initRender','YYYY-MM-DD','hasCommand','_transformMutationByOrder','_sidebarService','_updateWorksheetVisibility','_permissionService','insertRow','registerRenderModule','removeTable','arrowRowRanges','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','error','univer-flex-1','removeRow','unitId$','getCurrentSkeleton','setFilterCriteria','refreshRangeProtectPermission','setSparkline','ROW','univer-history-container','_httpService','currentVersion$','_workbookDataCache','setRowAutoHeight','history-panel','univer-text-xs\x20univer-text-gray-400','historyServerUrl','803395DksTwo','univer-flex\x20univer-items-center\x20univer-justify-center\x20univer-py-4','columnHeaderHeight','_transformService','green.800','createUnit','getViewport','_drawingManagerService','FloatImg','end','removeCol','registerComponent','_getLabelHorizontalPosition','univer-text-gray-500','commands','allRanges','mutations','GLOBAL','user','transform','createSheet','univer-absolute\x20univer-flex\x20univer-h-[calc(100%-32px)]\x20univer-w-[calc(100%-16px)]\x20univer-flex-col\x20univer-overflow-auto','_dataValidationModel','highlight','_initListener','_themeService','historyUniver$','_drawHorizontalArrow','map','stopPropagation','_internalWebWorker','endRow','defineProperty','numeric','/universer-api/history','getRule','deleteCF','setShapeProps','setFilter','length','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','asObservable','setPivotPosition','_highlightSecond','beginPath','univer-relative\x20univer-flex-1\x20univer-space-y-2\x20univer-pb-4','mountHistoryContent','_combineRanges','decorate','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','zIndex','invoke','flatMap','getTableInfo','scene','dispose','setAlpha','sheets-history-ui.viewer.panel.filterAi','Edit','_members','_uiPartsService','has','createTime','globalAlpha','width','urlChange$','reorderRange','_sheetSkeletonManagerService','_getAPIPrefix','univer.operation.exit-edit-history','find','univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','_confirmService','univerContainerId','showRow','rowHeaderWidth','container','getSparklineById','Error','isArray','hasMore','_currentVersionDiff$','fetchThroughInterceptors','_menuManagerService','none','setColData','univer-flex\x20univer-w-3\x20univer-items-center\x20univer-justify-center','_initPointerEvents','_loadParams','fromCollab','slice','sheet','top','then','_blinkIntervalTimer','open','m1Prime','transformMutations','univer.operation.toggle-edit-history','add','_revertRevision$','terminate','onPointerLeave$','sheets-history-ui.viewer.panel.listFetchError','_stopBlinking','sheets-history-ui.viewer.header.revert','_commandService','_logService','loadHistoryCreatorList','subType','fetching$','registerPlugin','params','sparklines','deleteCellRanges','toString','\x20-\x20','revertSheet','setColWidth','[HistoryFetchService]:\x20request\x20snapshot\x20error!','userId','_rangeProtectionRuleModel','arrowColumnRanges','univer-flex\x20univer-items-center\x20univer-gap-2','_localeService','revision','updateBorderRanges','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','sheets-history-ui.loader.panel.title','deleteBorderRanges','strokeStyle','getInterceptPoints','removeRangeTheme','ruleIds','univer-flex\x20univer-size-5\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center','_conditionalFormattingRuleModel','removeDiffMarks','name','versions$','getElementById','[HistoryManagerService]:\x20Failed\x20to\x20load\x20history\x20revision.','number','setLocale','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','register','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-pt-1.5\x20univer-text-sm\x20univer-font-medium','_updateVersions','setState','subscribeEvent','_applyWorkbookData','focusUnit','_createPalette','updatePivotFieldSource','lastLabel','formatIntl','univer-mt-1\x20univer-text-xs\x20univer-text-gray-500','/cs?startRevision=','tag','ruleId','_versions$','_lastLabel','openPanel$','resolve','currentLocale$','setRowData','updateBorder','subUnitId','catch','clearTimeout','get','every','_color','464788qgoTFH','setDV','onMouseMove','sheets-history-ui.viewer.panel.unknownUser','registerDetailVersion','-detail-','sparklineConfigMap','_bindDrawingHighlightHover','date','triggerCustomVersions','lineTo','update','registerCommand','REMOVE','mergeMenu','now','_configService','location','193319mzvJqh','toRgbString','next','permissionPointUpdate$','exitHistoryMode','updatePivotSource','303490RHSCKa','OPERATION','triggerLoadVersions','addPivotTable','max','split','univer-flex-1\x20univer-overflow-y-auto','ensureVersion','sheets-history-ui.viewer.action.insertDrawing','sheets-history-ui.loader.panel.listFetchError','sheets-history-ui.viewer.panel.revertDesc','_versionDiffService','appendChild','_sheetTableService','toPrimitive','getUnitOnRev','rules','COLUMN','insertSheet','left','getAllPlugins','_fetching$','position','hidden','CHANGESET_ACK','renameWorkbook','format','revertRevision$','_sheetsPivotTableConfigModel','chartModelId','_scrollToShape','_compressMutationService','_historyFetchService','historyAIassistantEnabled','arrowRow','_handleOverlappingShapes','reload','_direction','FromArray','_localCacheService','showText','removeChart','_initUniver','historyUniver','viewportScrollX','sourceRange','setNumfmt','sheets-history-ui.loader.info.initializing','addRangeProtection','setTheme','_historyManagerService','forEach','currentVersionDiff$','updateShapeData','\x20has\x20been\x20registered.','dispose$','univer-animate-spin\x20univer-text-gray-400','setCF','_unitId$','unsubscribe','historyPanelHidden','transparent','endDateString','_registerLoadingMask','_dialogService','_diffRangesMap','sheets-history-ui.viewer.action.revertSheetPrefix','entered','rangeInfo','_dataLoaderService','_init','createElement','_status$','sheets-history-ui.config','session','reorderSheet','_setWorksheetVisibility','chartId','setParam','closeAll','recalcFilter','drawingId','getLocales','_clearRevertAcknowledgement','symbol','getRange','rule','getPivotTableRangeInfo','_updateSubUnitFromURLParams','_dialogOptions$','objects','workerURL','getCurrentUnitOfType','univer-min-w-0\x20univer-flex-1','90lUcKgT','users','_sheetsChartService','setRowHeight','parse','loadingState$','subunit','removePivotTable','startDateString','_creators$','disposeWithMe'];_0x4b38=function(){return _0x4f7f93;};return _0x4b38();}import{IRemoteInstanceService as _0xb8773d,UniverRPCMainThreadPlugin as _0x5249fa}from'@univerjs/rpc';import{AddConditionalRuleMutation as _0x6cec77,ConditionalFormattingRuleModel as _0x336f16,DeleteConditionalRuleMutation as _0x4bec80,MoveConditionalRuleMutation as _0x2f493f,SetConditionalRuleMutation as _0x508dfc,UniverSheetsConditionalFormattingPlugin as _0x26af2}from'@univerjs/sheets-conditional-formatting';import{UniverSheetsConditionalFormattingUIPlugin as _0x1f16b2}from'@univerjs/sheets-conditional-formatting-ui';import{SheetDataValidationModel as _0x13e5f9,UniverSheetsDataValidationPlugin as _0x35371b}from'@univerjs/sheets-data-validation';import{UniverSheetsDataValidationMobileUIPlugin as _0x50f2fd,UniverSheetsDataValidationUIPlugin as _0x2c9c1a}from'@univerjs/sheets-data-validation-ui';import{DrawingApplyType as _0x3b90ec,SetDrawingApplyMutation as _0x90a751,UniverSheetsDrawingPlugin as _0x610afb}from'@univerjs/sheets-drawing';import{UniverSheetsDrawingMobileUIPlugin as _0x11bb42,UniverSheetsDrawingUIPlugin as _0x465e9c}from'@univerjs/sheets-drawing-ui';import{ReCalcSheetsFilterMutation as _0x2bc5a1,RemoveSheetsFilterMutation as _0x50a87d,SetSheetsFilterCriteriaMutation as _0x39a8a2,SetSheetsFilterRangeMutation as _0x3112fa,SheetsFilterService as _0x54626c,UniverSheetsFilterPlugin as _0x1deb9d}from'@univerjs/sheets-filter';import{UniverSheetsFilterUIPlugin as _0x5768b5}from'@univerjs/sheets-filter-ui';import{UniverSheetsFormulaPlugin as _0x36f466}from'@univerjs/sheets-formula';import{UniverSheetsFormulaMobileUIPlugin as _0xceb362,UniverSheetsFormulaUIPlugin as _0xa98b1d}from'@univerjs/sheets-formula-ui';import{UniverSheetsHyperLinkPlugin as _0x53378d}from'@univerjs/sheets-hyper-link';import{UniverSheetsHyperLinkMobileUIPlugin as _0x2bf417,UniverSheetsHyperLinkUIPlugin as _0x264cf7}from'@univerjs/sheets-hyper-link-ui';import{UniverSheetsNumfmtPlugin as _0x1c5414}from'@univerjs/sheets-numfmt';import{AddSheetTableMutation as _0x38c2df,DeleteSheetTableMutation as _0x195b78,SetSheetTableFilterMutation as _0x490285,SetSheetTableMutation as _0x26e6e5,SheetTableService as _0x34d466,UniverSheetsTablePlugin as _0xe798fd}from'@univerjs/sheets-table';import{ICellEditorManagerService as _0x16fb89,SheetSkeletonManagerService as _0x344943,UniverSheetsMobileUIPlugin as _0x17e5f0,UniverSheetsUIPlugin as _0xf368ee,getCoordByCell as _0x22b131,getCurrentRangeDisable$ as _0x1fa3ac,getSheetObject as _0x5c4412}from'@univerjs/sheets-ui';import{BuiltInUIPart as _0xfed455,ComponentManager as _0x265a21,IDialogService as _0x117613,IMenuManagerService as _0x74a1b2,IMessageService as _0x4950eb,ISidebarService as _0x5e8766,IUIPartsService as _0x2f2810,IconManager as _0x131572,MenuItemType as _0x44d2fa,RibbonStartGroup as _0x5d1d1a,UI_PLUGIN_CONFIG_KEY as _0x2657e8,UniverMobileUIPlugin as _0x5c84aa,UniverUIPlugin as _0x33db53,connectInjector as _0x26a091,getMenuHiddenObservable as _0x9884e8,useDependency as _0x209518,useObservable as _0x10dc61}from'@univerjs/ui';import{BehaviorSubject as _0x976c30,Subject as _0xbe1aa0,combineLatest as _0x31c023,filter as _0x3314f3,map as _0x1db118,of as _0x1b0576,skip as _0x5552b6,switchMap as _0x5890fa,take as _0x325287,takeUntil as _0x2707d5,timeout as _0x4f8c9}from'rxjs';import{AiAssistantMultiIcon as _0x771a64,ArrowLeftIcon as _0xb38fbf,FunnelIcon as _0x16e29b,HistoryIcon as _0x4f0cb3,LoadingMultiIcon as _0x2e5339,MoreDownIcon as _0x1efc38,MoreRightIcon as _0x53be89,RestoreIcon as _0x404371}from'@univerjs/icons';import{Fragment as _0x2a31dd,useCallback as _0x3393aa,useEffect as _0xd957fd,useMemo as _0x3f6c80,useRef as _0x4d67d6,useState as _0x142bf9}from'react';import{ErrorCode as _0x4f12d4,UnitAction as _0x20c942,isError as _0x3befb5}from'@univerjs/protocol';import{Fragment as _0x32203a,jsx as _0x2e4a32,jsxs as _0x1a80e6}from'react/jsx-runtime';import{IURLService as _0x297a40,SheetCollabCursorShape as _0x4af65b,UniverCollaborationClientUIPlugin as _0x359ee7}from'@univerjs-pro/collaboration-client-ui';import{UniverSheetsHistoryPlugin as _0x109ccc}from'@univerjs-pro/sheets-history';const W=_0x12baa0(0x35e),Ti=_0x12baa0(0x24e),G={'historyPanelComponentKey':Ti};function _0xc465(_0x143402,_0xf02af7){_0x143402=_0x143402-0x1cb;const _0x4b3896=_0x4b38();let _0xc465ce=_0x4b3896[_0x143402];return _0xc465ce;}function Ei(_0x56d35c){const _0x2003c8=_0x12baa0;return(_0x56d35c==null?void 0x0:_0x56d35c[_0x2003c8(0x250)])??_0x2003c8(0x273);}var Di=_0x12baa0(0x40f),Oi='1.0.0-rc.0';function ki(_0x3cf64b){'@babel/helpers - typeof';const _0x39ad38=_0x12baa0;return ki=typeof Symbol==_0x39ad38(0x476)&&typeof Symbol[_0x39ad38(0x1e6)]=='symbol'?function(_0x2ada92){return typeof _0x2ada92;}:function(_0x5dd4dd){const _0x2a5f77=_0x39ad38;return _0x5dd4dd&&typeof Symbol==_0x2a5f77(0x476)&&_0x5dd4dd['constructor']===Symbol&&_0x5dd4dd!==Symbol[_0x2a5f77(0x215)]?_0x2a5f77(0x369):typeof _0x5dd4dd;},ki(_0x3cf64b);}function Ai(_0x1aaedc,_0x1b8dc2){const _0x3674eb=_0x12baa0;if(ki(_0x1aaedc)!='object'||!_0x1aaedc)return _0x1aaedc;var _0x2d2d0f=_0x1aaedc[Symbol[_0x3674eb(0x323)]];if(_0x2d2d0f!==void 0x0){var _0x388432=_0x2d2d0f[_0x3674eb(0x1d9)](_0x1aaedc,_0x1b8dc2||'default');if(ki(_0x388432)!=_0x3674eb(0x41d))return _0x388432;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x1b8dc2===_0x3674eb(0x386)?String:Number)(_0x1aaedc);}function ji(_0x228ea8){const _0x37ba10=_0x12baa0;var _0x2ef45a=Ai(_0x228ea8,'string');return ki(_0x2ef45a)==_0x37ba10(0x369)?_0x2ef45a:_0x2ef45a+'';}function K(_0x46b767,_0x574765,_0x27d829){return(_0x574765=ji(_0x574765))in _0x46b767?Object['defineProperty'](_0x46b767,_0x574765,{'value':_0x27d829,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x46b767[_0x574765]=_0x27d829,_0x46b767;}function q(_0x32f0de,_0x4d1a17){return function(_0x1d3ecf,_0x5a7ea8){_0x4d1a17(_0x1d3ecf,_0x5a7ea8,_0x32f0de);};}function J(_0x5bc4f8,_0x19a137,_0x230de1,_0x434f8d){const _0x150d6d=_0x12baa0;var _0x404340=arguments[_0x150d6d(0x278)],_0xdd40e9=_0x404340<0x3?_0x19a137:_0x434f8d===null?_0x434f8d=Object[_0x150d6d(0x21b)](_0x19a137,_0x230de1):_0x434f8d,_0x43ceb9;if(typeof Reflect==_0x150d6d(0x41d)&&typeof Reflect[_0x150d6d(0x281)]==_0x150d6d(0x476))_0xdd40e9=Reflect[_0x150d6d(0x281)](_0x5bc4f8,_0x19a137,_0x230de1,_0x434f8d);else{for(var _0x2c2db7=_0x5bc4f8[_0x150d6d(0x278)]-0x1;_0x2c2db7>=0x0;_0x2c2db7--)(_0x43ceb9=_0x5bc4f8[_0x2c2db7])&&(_0xdd40e9=(_0x404340<0x3?_0x43ceb9(_0xdd40e9):_0x404340>0x3?_0x43ceb9(_0x19a137,_0x230de1,_0xdd40e9):_0x43ceb9(_0x19a137,_0x230de1))||_0xdd40e9);}return _0x404340>0x3&&_0xdd40e9&&Object[_0x150d6d(0x271)](_0x19a137,_0x230de1,_0xdd40e9),_0xdd40e9;}let Y=class extends _0x3e44cf{constructor(_0x35f374,_0x5914d7,_0x79b097,_0x19edf2,_0x4ae25d,_0x5b42de,_0x443ee4,_0x599ee1,_0x353c33){const _0x2afa71=_0x12baa0;super(),this['_snapshotServerService']=_0x35f374,this[_0x2afa71(0x202)]=_0x5914d7,this[_0x2afa71(0x2bb)]=_0x79b097,this['_permissionService']=_0x19edf2,this[_0x2afa71(0x258)]=_0x4ae25d,this['_configService']=_0x5b42de,this[_0x2afa71(0x24a)]=_0x443ee4,this[_0x2afa71(0x334)]=_0x599ee1,this['_sheetPermissionInitController']=_0x353c33,K(this,'_workbookDataCache',void 0x0),this[_0x2afa71(0x24c)]=new _0x10232b(0x3c);}['dispose'](){const _0x3720a0=_0x12baa0;this[_0x3720a0(0x24c)][_0x3720a0(0x1d4)](),super[_0x3720a0(0x288)]();}async[_0x12baa0(0x1f5)](_0x2e9330){const _0x55f841=_0x12baa0;try{let _0x935659=(await this[_0x55f841(0x24a)][_0x55f841(0x2fa)](this[_0x55f841(0x295)]()+'/'+_0x2e9330+_0x55f841(0x3b7)))[_0x55f841(0x213)];if(_0x935659&&_0x935659[_0x55f841(0x240)]&&_0x935659[_0x55f841(0x240)][_0x55f841(0x388)]===_0x4f12d4['OK'])return _0x935659[_0x55f841(0x481)]??[];}catch(_0x1cee18){console['error'](_0x1cee18);}return[];}async['getVersions'](_0x4fba2a,_0x46f1f1){const _0x3d52d9=_0x12baa0;let {userIds:_0x3db192,lastLabel:_0x3afdfe,origin:_0xbc132c}=_0x46f1f1??{},_0x5d4fd5=new URLSearchParams();_0x5d4fd5[_0x3d52d9(0x45b)](_0x3d52d9(0x278),'20'),_0x3afdfe&&_0x5d4fd5[_0x3d52d9(0x45b)](_0x3d52d9(0x2ea),_0x3afdfe),_0x3db192==null||_0x3db192[_0x3d52d9(0x348)](_0x1a74d8=>{const _0x4da918=_0x3d52d9;_0x5d4fd5['append'](_0x4da918(0x424),_0x1a74d8);}),_0xbc132c&&_0x5d4fd5['set']('origin',_0xbc132c[_0x3d52d9(0x2c4)]());let _0x1d038a=this[_0x3d52d9(0x295)]()+'/'+_0x4fba2a+_0x3d52d9(0x3ff)+_0x5d4fd5[_0x3d52d9(0x2c4)]();try{let _0x2fe986=(await this['_httpService'][_0x3d52d9(0x2fa)](_0x1d038a))['body'];if(_0x2fe986&&_0x2fe986[_0x3d52d9(0x240)]&&_0x2fe986[_0x3d52d9(0x240)]['code']===_0x4f12d4['OK']){let {hasMore:_0x4f06e0,lastLabel:_0x4aae20}=_0x2fe986;return{'hasMore':_0x4f06e0,'lastLabel':_0x4aae20,'versions':Ni(_0x2fe986),'members':_0x2fe986[_0x3d52d9(0x3d5)][_0x3d52d9(0x374)]};}}catch(_0x275161){console[_0x3d52d9(0x240)](_0x275161);}return null;}async[_0x12baa0(0x3a9)](_0x2f524a,_0x24c198){const _0x490d95=_0x12baa0;let {unitId:_0x3dba23,startRevision:_0x1b80eb,endRevision:_0x2f477a}=_0x24c198,_0x5c513b=this[_0x490d95(0x295)]()+'/'+_0x3dba23+_0x490d95(0x2ed)+_0x1b80eb+_0x490d95(0x218)+_0x2f477a;return(await this[_0x490d95(0x24a)]['get'](_0x5c513b))[_0x490d95(0x213)];}[_0x12baa0(0x295)](){const _0x46e094=_0x12baa0;return Ei(this[_0x46e094(0x30d)][_0x46e094(0x3b9)](W));}[_0x12baa0(0x485)](_0x305f9b,_0x400543){return _0x305f9b+':'+_0x400543;}async['loadSheet'](_0x44e6b6,_0x5b8d36,_0x1a6556={}){const _0x14d290=_0x12baa0;let _0x3f5ae4=this[_0x14d290(0x485)](_0x44e6b6,_0x5b8d36),_0x4c3e72=this[_0x14d290(0x24c)][_0x14d290(0x2fa)](_0x3f5ae4);if(_0x4c3e72){let {workbookData:_0x1703bb,changesets:_0x2ed6f8}=_0x4c3e72;return await this[_0x14d290(0x2e6)](_0x1703bb,_0x2ed6f8),!0x0;}let {snapshot:_0x126f05,changesets:_0x54e923,error:_0x51f8ea}=await this[_0x14d290(0x37f)][_0x14d290(0x324)](_0x1a6556,{'unitID':_0x44e6b6,'type':_0x101fbf[_0x14d290(0x1ec)],'revision':_0x5b8d36});if(_0x3befb5(_0x51f8ea)||!_0x126f05||!_0x126f05[_0x14d290(0x1cf)])throw Error(_0x14d290(0x2c8));let _0x2cc7db=(_0x54e923==null?void 0x0:_0x54e923[_0x14d290(0x278)])??0x0;if(_0x5b8d36!==0x0&&_0x126f05['rev']+_0x2cc7db!==_0x5b8d36)throw Error(_0x14d290(0x445));let {workbook:_0x37b4bd}=_0x126f05,_0x14ddda=_0x37b4bd[_0x14d290(0x1f8)]?Object[_0x14d290(0x421)](_0x37b4bd[_0x14d290(0x1f8)])[_0x14d290(0x285)](_0x184c4a=>_0x184c4a[_0x14d290(0x39f)]??[]):[],_0x2e89fd=await _0x19a705(_0x126f05,(await Promise[_0x14d290(0x3fe)](_0x14ddda['map'](_0x2a2816=>this[_0x14d290(0x37f)]['getDeserializedSheetBlock'](_0x1a6556,{'unitID':_0x44e6b6,'type':_0x101fbf[_0x14d290(0x1ec)],'blockID':_0x2a2816})[_0x14d290(0x2ae)](_0x453c00=>_0x453c00[_0x14d290(0x206)]))))['filter'](Boolean),_0x1a6556);return this[_0x14d290(0x24c)][_0x14d290(0x45b)](_0x3f5ae4,{'workbookData':_0x2e89fd,'changesets':_0x54e923}),await this[_0x14d290(0x2e6)](_0x2e89fd,_0x54e923),!0x0;}async[_0x12baa0(0x2e6)](_0x3231d4,_0x433fbd){const _0x212ccf=_0x12baa0;let _0x1e14a5=this[_0x212ccf(0x202)][_0x212ccf(0x371)](_0x101fbf[_0x212ccf(0x1ec)]);_0x1e14a5&&(this[_0x212ccf(0x202)]['disposeUnit'](_0x1e14a5[_0x212ccf(0x3c8)]()),await Promise[_0x212ccf(0x2f3)]());let _0x34a1ad=JSON[_0x212ccf(0x377)](JSON[_0x212ccf(0x3ea)](_0x3231d4));this['_drawingManagerService']['setDrawingEditable'](!0x1);let _0x275cf0=this['_createUnit'](_0x34a1ad,_0x433fbd);Mi(this['_permissionService'],this[_0x212ccf(0x258)],_0x275cf0),this['_sheetPermissionInitController'][_0x212ccf(0x246)]();}[_0x12baa0(0x3a2)](_0x22d805,_0x24ba25){const _0x2ad4bb=_0x12baa0;let _0x36f7a1=this[_0x2ad4bb(0x202)][_0x2ad4bb(0x256)](_0x101fbf[_0x2ad4bb(0x1ec)],_0x22d805);this[_0x2ad4bb(0x202)][_0x2ad4bb(0x2e7)](_0x36f7a1['getUnitId']());let _0x585a91=this[_0x2ad4bb(0x334)][_0x2ad4bb(0x46c)][_0x2ad4bb(0x2a3)](this[_0x2ad4bb(0x334)][_0x2ad4bb(0x46c)][_0x2ad4bb(0x2d4)]()[_0x2ad4bb(0x427)]);return _0x24ba25==null||_0x24ba25['forEach'](_0xfe19f3=>{const _0x35c3a3=_0x2ad4bb;let _0x19c4c2=_0xfe19f3[_0x35c3a3(0x261)][_0x35c3a3(0x26d)](_0x3f349f=>({'id':_0x3f349f['id'],'params':JSON[_0x35c3a3(0x377)](_0x3f349f[_0x35c3a3(0x3a6)])}));(_0x585a91(_0x19c4c2,null)||_0x19c4c2)[_0x35c3a3(0x348)](_0x28bade=>{const _0x463151=_0x35c3a3;this[_0x463151(0x2bb)][_0x463151(0x236)](_0x28bade['id'])&&this[_0x463151(0x2bb)][_0x463151(0x44f)](_0x28bade['id'],_0x28bade[_0x463151(0x2c1)],{'fromChangeset':!0x0});});}),_0x36f7a1;}};Y=J([q(0x0,_0x360b43),q(0x1,_0x4db7b5),q(0x2,_0x1e22b1),q(0x3,_0x4820fc),q(0x4,_0x1f5bd3),q(0x5,_0x26c683),q(0x6,_0x279b8e(_0x3be182)),q(0x7,_0x279b8e(_0x136b20)),q(0x8,_0x279b8e(_0x5754dd))],Y);function Mi(_0x203d0,_0x6665e2,_0x2c0b4a){const _0xac1316=_0x12baa0;let _0x2ccd41=_0x2c0b4a[_0xac1316(0x3c8)]();_0x6665e2[_0xac1316(0x499)](!0x1),_0x203d0['updatePermissionPoint'](new _0x2d4b7e(_0x2ccd41)['id'],!0x1),_0x2c0b4a[_0xac1316(0x40b)]()[_0xac1316(0x348)](_0xeab6ba=>{const _0x3ce9d5=_0xac1316;_0x203d0[_0x3ce9d5(0x462)](new _0x4c5159(_0x2ccd41,_0xeab6ba['getSheetId']())['id'],!0x1);});}function Ni(_0x32e2c8){const _0x5afc47=_0x12baa0;let _0x698bf0=[],{entities:_0x431439,historyIds:_0xd2fb17}=_0x32e2c8,{datas:_0x5baed6,users:_0x1cb622}=_0x431439;for(let _0x32d3f9 of _0xd2fb17){let _0x4636fa=_0x5baed6[_0x32d3f9];if(_0x4636fa){var _0x18f640,_0x594663;let _0x252942=!!((_0x18f640=_0x1cb622[_0x4636fa[_0x5afc47(0x2c9)]])!=null&&_0x18f640[_0x5afc47(0x22d)]);_0x698bf0[_0x5afc47(0x3f3)]({'unitId':_0x4636fa[_0x5afc47(0x3dc)],'user':_0x252942?'':(_0x1cb622==null||(_0x594663=_0x1cb622[_0x4636fa[_0x5afc47(0x2c9)]])==null?void 0x0:_0x594663[_0x5afc47(0x2da)])||'','users':_0x4636fa[_0x5afc47(0x424)][_0x5afc47(0x26d)](_0x51a8a8=>{const _0x3a4a68=_0x5afc47;var _0x558119;return(_0x1cb622==null||(_0x558119=_0x1cb622[_0x51a8a8])==null?void 0x0:_0x558119[_0x3a4a68(0x2da)])||'';})[_0x5afc47(0x1db)](_0x298680=>_0x298680),'isAnonymous':_0x252942,'id':_0x32d3f9,'time':_0x4636fa[_0x5afc47(0x28f)]?Number(_0x4636fa['createTime']):void 0x0,'commands':_0x4636fa[_0x5afc47(0x397)],'startRev':Number(_0x4636fa[_0x5afc47(0x420)]),'endRev':Number(_0x4636fa[_0x5afc47(0x41c)]),'recoverTime':_0x4636fa[_0x5afc47(0x43c)]?Number(_0x4636fa[_0x5afc47(0x43c)]):void 0x0,'additionalFields':_0x4636fa[_0x5afc47(0x3c0)],'startRevCreateTime':_0x4636fa['startRevCreateTime']?Number(_0x4636fa[_0x5afc47(0x3ee)]):void 0x0,'endRevCreateTime':_0x4636fa[_0x5afc47(0x471)]?Number(_0x4636fa[_0x5afc47(0x471)]):void 0x0});}}return _0x698bf0;}function Pi(_0x1eb890='sheets-history-ui.viewer.action.'){const _0x513ea6=_0x12baa0;return{'collaboration':[{'id':_0x5d92ad['id'],'action':_0x1eb890+_0x513ea6(0x265)},{'id':_0x5996e6['id'],'action':_0x1eb890+_0x513ea6(0x2c6)}],'sheets':[{'id':_0x17da31['id'],'action':_0x1eb890+_0x513ea6(0x327)},{'id':_0x465973['id'],'action':_0x1eb890+'removeSheet'},{'id':_0x5cbfdd['id'],'action':_0x1eb890+_0x513ea6(0x493)},{'id':_0x25645a['id'],'action':_0x1eb890+_0x513ea6(0x360)},{'id':_0x17fc63['id'],'action':_0x1eb890+_0x513ea6(0x3c1)},{'id':_0x28a967['id'],'action':_0x1eb890+_0x513ea6(0x455)},{'id':_0x42a96b['id'],'action':_0x1eb890+_0x513ea6(0x39c)},{'id':_0x10453f['id'],'action':_0x1eb890+_0x513ea6(0x32e)},{'id':_0x102b2e['id'],'action':_0x1eb890+_0x513ea6(0x23b)},{'id':_0x5c2988['id'],'action':_0x1eb890+'insertCol'},{'id':_0x5db393['id'],'action':_0x1eb890+_0x513ea6(0x242)},{'id':_0x23accc['id'],'action':_0x1eb890+_0x513ea6(0x25b)},{'id':_0x42de13['id'],'action':_0x1eb890+_0x513ea6(0x1e0)},{'id':_0x1d0973['id'],'action':_0x1eb890+_0x513ea6(0x3bc)},{'id':_0x2a5b38['id'],'action':_0x1eb890+_0x513ea6(0x29b)},{'id':_0x531db8['id'],'action':_0x1eb890+_0x513ea6(0x21f)},{'id':_0x21ceef['id'],'action':_0x1eb890+_0x513ea6(0x41f)},{'id':_0x5497ed['id'],'action':_0x1eb890+'hideCol'},{'id':_0x5c297b['id'],'action':_0x1eb890+_0x513ea6(0x376)},{'id':_0x1eeeca['id'],'action':_0x1eb890+_0x513ea6(0x2c7)},{'id':_0x2aee7d['id'],'action':_0x1eb890+_0x513ea6(0x24d)},{'id':_0x245927['id'],'action':_0x1eb890+_0x513ea6(0x1e3)},{'id':_0x452ff7['id'],'action':_0x1eb890+_0x513ea6(0x2f5)},{'id':_0x2b2916['id'],'action':_0x1eb890+_0x513ea6(0x2a6)},{'id':_0x5b1f98['id'],'action':_0x1eb890+'setRowCount'},{'id':_0x54beca['id'],'action':_0x1eb890+_0x513ea6(0x3d8)},{'id':_0x2455e4['id'],'action':_0x1eb890+_0x513ea6(0x229)},{'id':_0x323458['id'],'action':_0x1eb890+'moveRange'},{'id':_0x59d84f['id'],'action':_0x1eb890+_0x513ea6(0x293)},{'id':_0x4ba4d4['id'],'action':_0x1eb890+_0x513ea6(0x460)},{'id':_0x550f21['id'],'action':_0x1eb890+_0x513ea6(0x1e2)},{'id':_0x4c0731['id'],'action':_0x1eb890+_0x513ea6(0x48b)},{'id':_0xab30a['id'],'action':_0x1eb890+'toggleGridlines'},{'id':_0x875c8f['id'],'action':_0x1eb890+'setGridlinesColor'},{'id':_0x4c0e6e['id'],'action':_0x1eb890+_0x513ea6(0x39b)},{'id':_0x30617c['id'],'action':_0x1eb890+_0x513ea6(0x1d7)},{'id':_0x456b06['id'],'action':_0x1eb890+'addProtection'},{'id':_0x14f7ec['id'],'action':_0x1eb890+_0x513ea6(0x3b3)},{'id':_0x45b778['id'],'action':_0x1eb890+_0x513ea6(0x45a)},{'id':_0x54eb0f['id'],'action':_0x1eb890+_0x513ea6(0x345)},{'id':_0x45a40e['id'],'action':_0x1eb890+_0x513ea6(0x449)},{'id':_0x12021e['id'],'action':_0x1eb890+_0x513ea6(0x46e)},{'id':_0x3cd72f['id'],'action':_0x1eb890+'setPermissionPoints'},{'id':_0x3c1dd2['id'],'action':_0x1eb890+_0x513ea6(0x343)},{'id':_0x315f95['id'],'action':_0x1eb890+_0x513ea6(0x3b1)},{'id':_0x33bb58['id'],'action':_0x1eb890+_0x513ea6(0x205)},{'id':_0x27299f['id'],'action':_0x1eb890+'setRangeTheme'},{'id':_0x2faf1e['id'],'action':_0x1eb890+_0x513ea6(0x2d5)},{'id':_0x5b2786['id'],'action':_0x1eb890+_0x513ea6(0x395)},{'id':_0x2423c['id'],'action':_0x1eb890+'deleteWorksheetRangeTheme'}],'sheetsConditionalFormatting':[{'id':_0x6cec77['id'],'action':_0x1eb890+_0x513ea6(0x34e)},{'id':_0x508dfc['id'],'action':_0x1eb890+_0x513ea6(0x34e)},{'id':_0x4bec80['id'],'action':_0x1eb890+_0x513ea6(0x275)},{'id':_0x2f493f['id'],'action':_0x1eb890+_0x513ea6(0x230)}],'sheetsFilter':[{'id':_0x3112fa['id'],'action':_0x1eb890+_0x513ea6(0x277)},{'id':_0x39a8a2['id'],'action':_0x1eb890+_0x513ea6(0x245)},{'id':_0x50a87d['id'],'action':_0x1eb890+_0x513ea6(0x47c)},{'id':_0x2bc5a1['id'],'action':_0x1eb890+_0x513ea6(0x365)}],'dataValidation':[{'id':_0x5952b8['id'],'action':_0x1eb890+'setDV'},{'id':_0x302804['id'],'action':_0x1eb890+'setDV'},{'id':_0x3732ba['id'],'action':_0x1eb890+_0x513ea6(0x399)}],'sheetsChart':[{'id':_0x45d0ab['id'],'action':_0x1eb890+'insertChart'},{'id':_0x1e6cd7['id'],'action':_0x1eb890+_0x513ea6(0x33e)},{'id':_0x3db1c3['id'],'action':_0x1eb890+'updateChartConfig'},{'id':_0x127df1['id'],'action':_0x1eb890+_0x513ea6(0x49f)}],'sheetsSparkline':[{'id':_0x16044f['id'],'action':_0x1eb890+_0x513ea6(0x48f)},{'id':_0x17f864['id'],'action':_0x1eb890+_0x513ea6(0x247)},{'id':_0x29b285['id'],'action':_0x1eb890+_0x513ea6(0x3fc)}],'sheetsPivot':[{'id':_0x5e9dbc['id'],'action':_0x1eb890+_0x513ea6(0x318)},{'id':_0x47dd87['id'],'action':_0x1eb890+_0x513ea6(0x37a)},{'id':_0xf365ca['id'],'action':_0x1eb890+_0x513ea6(0x233)},{'id':_0xebfde['id'],'action':_0x1eb890+_0x513ea6(0x27b)},{'id':_0x13066e['id'],'action':_0x1eb890+'updatePivotSource'},{'id':_0x2e1288['id'],'action':_0x1eb890+_0x513ea6(0x434)},{'id':_0x3a9eac['id'],'action':_0x1eb890+_0x513ea6(0x483)},{'id':_0x56cf1b['id'],'action':_0x1eb890+'renamePivotField'},{'id':_0x141235['id'],'action':_0x1eb890+_0x513ea6(0x1df)},{'id':_0x46ed67['id'],'action':_0x1eb890+'updateValuePosition'},{'id':_0x2f273a['id'],'action':_0x1eb890+_0x513ea6(0x2e9)},{'id':_0x4db1a1['id'],'action':_0x1eb890+'setPivotFieldFormat'},{'id':_0x44901a['id'],'action':_0x1eb890+_0x513ea6(0x497)},{'id':_0x4b57a2['id'],'action':_0x1eb890+'setPivotValueFilter'},{'id':_0x374319['id'],'action':_0x1eb890+_0x513ea6(0x433)},{'id':_0x695bd0['id'],'action':_0x1eb890+'setPivotCollapse'},{'id':_0x42175a['id'],'action':_0x1eb890+_0x513ea6(0x4a1)}],'sheetsShape':[{'id':_0x14da01['id'],'action':_0x1eb890+_0x513ea6(0x210)},{'id':_0x1dc8b1['id'],'action':_0x1eb890+'removeShape'},{'id':_0x4d3a29['id'],'action':_0x1eb890+_0x513ea6(0x34a)},{'id':_0x3dbbb2['id'],'action':_0x1eb890+_0x513ea6(0x38b)}],'sheetsTable':[{'id':_0x38c2df['id'],'action':_0x1eb890+_0x513ea6(0x3d4)},{'id':_0x195b78['id'],'action':_0x1eb890+_0x513ea6(0x23d)},{'id':_0x26e6e5['id'],'action':_0x1eb890+_0x513ea6(0x3fb)},{'id':_0x490285['id'],'action':_0x1eb890+'setTableFilter'}],'sheetsDrawing':[{'id':_0x90a751['id'],'action':_0x1eb890+_0x513ea6(0x39a)}]};}function Fi(_0x539c30=_0x12baa0(0x45e)){const _0x2c6327=_0x12baa0;let _0x105d63=Pi(_0x539c30);return Object[_0x2c6327(0x421)](_0x105d63)[_0x2c6327(0x38a)]();}function Ii(_0x2e4906){const _0x4b696f=_0x12baa0;return _0x5e0863[_0x2e4906[_0x4b696f(0x4a7)]()][_0x4b696f(0x2ee)];}const Li=(_0x149945,_0x55a197)=>{const _0x283691=_0x12baa0;if(!_0x149945)return{'date':'','time':''};let _0x371d26=_0xbdb78e(_0x149945);return{'date':Bi(_0x371d26['format'](_0x283691(0x235)),_0x55a197),'time':_0x371d26[_0x283691(0x2eb)](Ii(_0x55a197),{'hour':'2-digit','minute':'2-digit','second':'2-digit','hour12':!0x1})};},Ri=(_0x1c866d,_0x110a6a)=>{const _0x14653d=_0x12baa0;if(_0x1c866d[_0x14653d(0x25f)][_0x14653d(0x1ce)](_0x337f46=>_0x337f46===_0x5996e6['id'])&&_0x1c866d[_0x14653d(0x43c)]){let _0x10aad7=Li(_0x1c866d['recoverTime'],_0x110a6a),_0xf66b55=_0x10aad7['date']+'\x20'+_0x10aad7[_0x14653d(0x20d)];return _0x110a6a['t'](_0x14653d(0x357))+'\x20'+_0xf66b55+'\x20'+_0x110a6a['t']('sheets-history-ui.viewer.action.revertSheetSuffix');}let _0x277b58=zi(_0x1c866d),_0x20394d=Array[_0x14653d(0x3b5)](new Set(_0x277b58)),_0x3ed878;if(_0x20394d[_0x14653d(0x278)]===0x1)_0x3ed878=_0x110a6a['t'](_0x20394d[0x0]);else{let _0xbb93e3=_0x20394d[_0x14653d(0x2ab)](0x0,0x5)['map'](_0x43cbdc=>_0x110a6a['t'](_0x43cbdc))[_0x14653d(0x1d3)](',\x20');_0x3ed878=_0x20394d[_0x14653d(0x278)]>0x5?''+_0xbb93e3+_0x110a6a['t'](_0x14653d(0x488)):_0xbb93e3;}return''+_0x3ed878;};function zi(_0x3bf40f){const _0x1e876e=_0x12baa0;if(_0x3bf40f[_0x1e876e(0x25f)][_0x1e876e(0x278)]===0x0)return[''];let _0x3f8019='sheets-history-ui.viewer.action.',_0x1ed3ad=_0x3f8019+_0x1e876e(0x22e),_0x47a744=Fi(_0x3f8019)[_0x1e876e(0x1db)](_0xa21008=>_0x3bf40f['commands']['includes'](_0xa21008['id']));return _0x47a744!=null&&_0x47a744['length']?_0x47a744[_0x1e876e(0x26d)](_0x13d974=>_0x13d974[_0x1e876e(0x211)]):[_0x1ed3ad];}function Bi(_0x2271f6,_0x38a3ba){const _0x4f2305=_0x12baa0;let [_0x2f0c61,_0x2616ac,_0x44af3c]=_0xbdb78e()[_0x4f2305(0x32f)]('YYYY-MM-DD')[_0x4f2305(0x31a)]('-'),[_0x33d1e9,_0x12de1d,_0x5719f1]=_0x2271f6[_0x4f2305(0x31a)]('-');if(_0x2f0c61===_0x33d1e9&&_0x2616ac===_0x12de1d&&_0x44af3c===_0x5719f1)return _0x38a3ba['t']('sheets-history-ui.viewer.panel.today');let _0x22227c=Ii(_0x38a3ba);return _0x2f0c61===_0x33d1e9?_0xbdb78e(_0x2271f6)[_0x4f2305(0x2eb)](_0x22227c,{'month':_0x4f2305(0x272),'day':_0x4f2305(0x272)}):_0xbdb78e(_0x2271f6)[_0x4f2305(0x2eb)](_0x22227c,{'year':_0x4f2305(0x272),'month':_0x4f2305(0x272),'day':_0x4f2305(0x272)});}function Vi(_0x2cab6b){return _0x2cab6b?_0x2cab6b['reduce']((_0x4b15f4,_0x2fa230)=>{const _0x3ffe17=_0xc465;let _0x5671e5=_0xbdb78e(_0x2fa230[_0x3ffe17(0x20d)]??Date[_0x3ffe17(0x30c)]())[_0x3ffe17(0x32f)](_0x3ffe17(0x235)),_0xc08db4=_0x2fa230[_0x3ffe17(0x3ee)]?_0xbdb78e(_0x2fa230[_0x3ffe17(0x3ee)])['format']('YYYY-MM-DD'):_0x5671e5,_0x3055dc=_0x2fa230[_0x3ffe17(0x471)]?_0xbdb78e(_0x2fa230[_0x3ffe17(0x471)])[_0x3ffe17(0x32f)](_0x3ffe17(0x235)):_0x5671e5;return _0x4b15f4[_0x3ffe17(0x278)]>0x0&&_0x4b15f4[_0x4b15f4['length']-0x1][_0x3ffe17(0x37b)]===_0xc08db4?_0x4b15f4[_0x4b15f4[_0x3ffe17(0x278)]-0x1][_0x3ffe17(0x3d7)]['push'](_0x2fa230):_0x4b15f4['push']({'dateString':_0x5671e5,'startDateString':_0xc08db4,'endDateString':_0x3055dc,'versions':[_0x2fa230]}),_0x4b15f4;},[]):[];}const Hi=_0x12baa0(0x440);let X=class extends _0x3e44cf{[_0x12baa0(0x461)](_0x384878){this['_fetching$']['next'](_0x384878);}get[_0x12baa0(0x4a8)](){const _0x3617ba=_0x12baa0;return this[_0x3617ba(0x32a)][_0x3617ba(0x415)];}constructor(_0x25d1ae,_0x55d428,_0x47bfad,_0x323994,_0x445463){const _0x21efb3=_0x12baa0;super(),this['_messageService']=_0x25d1ae,this['_confirmService']=_0x55d428,this['_logService']=_0x47bfad,this[_0x21efb3(0x2cd)]=_0x323994,this[_0x21efb3(0x335)]=_0x445463,K(this,_0x21efb3(0x2f0),new _0x976c30([])),K(this,_0x21efb3(0x2db),this[_0x21efb3(0x2f0)][_0x21efb3(0x27a)]()),K(this,_0x21efb3(0x49e),new _0x976c30('')),K(this,_0x21efb3(0x24b),this['_currentVersion$']['asObservable']()),K(this,_0x21efb3(0x35d),new _0x976c30('entered')),K(this,_0x21efb3(0x46f),this[_0x21efb3(0x35d)]['asObservable']()),K(this,_0x21efb3(0x2b5),new _0x976c30(0x0)),K(this,'revertRevision$',this[_0x21efb3(0x2b5)][_0x21efb3(0x27a)]()),K(this,_0x21efb3(0x34f),new _0x976c30('')),K(this,'unitId$',this[_0x21efb3(0x34f)][_0x21efb3(0x27a)]()),K(this,_0x21efb3(0x32a),new _0x976c30(!0x1)),K(this,_0x21efb3(0x2bf),this['_fetching$'][_0x21efb3(0x27a)]()),K(this,_0x21efb3(0x37c),new _0x976c30([])),K(this,_0x21efb3(0x48c),this[_0x21efb3(0x37c)][_0x21efb3(0x27a)]()),K(this,'_openPanel$',new _0x976c30(!0x1)),K(this,_0x21efb3(0x2f2),this[_0x21efb3(0x1ed)][_0x21efb3(0x27a)]()),K(this,_0x21efb3(0x1e8),new Map()),K(this,_0x21efb3(0x38f),new _0x976c30(_0x21efb3(0x490))),K(this,_0x21efb3(0x378),this[_0x21efb3(0x38f)][_0x21efb3(0x27a)]()),K(this,_0x21efb3(0x2f1),null),K(this,_0x21efb3(0x472),!0x0),K(this,_0x21efb3(0x28c),new Map()),K(this,_0x21efb3(0x38d),!0x1),K(this,'_loadParams',null),K(this,_0x21efb3(0x37e),new Map());}async[_0x12baa0(0x317)](_0x2ae4da,_0xcc3eda){const _0x5a51da=_0x12baa0;this[_0x5a51da(0x38d)]=_0xcc3eda,this[_0x5a51da(0x1ed)][_0x5a51da(0x311)](!0x0),await this[_0x5a51da(0x3ad)](_0x2ae4da);}[_0x12baa0(0x306)](_0x11b571,_0x2762e0,_0x3eb48e){const _0x40fa00=_0x12baa0;let {versions:_0x19529d,hasMore:_0x5b3dd2,lastLabel:_0x1c5685,members:_0xbd6b38}=_0x3eb48e,_0x566ee8=_0x19529d[_0x40fa00(0x278)]>0x0?_0x19529d:[{'unitId':_0x11b571,'id':Hi,'startRev':0x1,'endRev':0x0,'time':Date[_0x40fa00(0x30c)](),'user':this[_0x40fa00(0x2cd)]['t']('sheets-history-ui.viewer.panel.currentUser'),'users':[this['_localeService']['t']('sheets-history-ui.viewer.panel.currentUser')],'commands':[],'isAnonymous':!0x1}];this[_0x40fa00(0x38d)]=_0x2762e0,this['_unitId$']['next'](_0x11b571),this['_updateVersions'](_0x566ee8,_0x5b3dd2,_0x1c5685,!0x1,_0xbd6b38),this[_0x40fa00(0x49e)][_0x40fa00(0x311)](_0x566ee8[0x0]['id']);}async[_0x12baa0(0x3ad)](_0x31f02a,_0x1941b6){const _0x1ae205=_0x12baa0;this['_unitId$'][_0x1ae205(0x311)](_0x31f02a),this[_0x1ae205(0x2a9)]=_0x1941b6??null,this[_0x1ae205(0x461)](!0x0);let _0x48968f=await this[_0x1ae205(0x335)][_0x1ae205(0x3a0)](_0x31f02a,_0x1941b6);if(this['_setFetching'](!0x1),_0x48968f){let {versions:_0x152669,lastLabel:_0x3f2599,hasMore:_0x3b1bcd,members:_0x59acba}=_0x48968f;_0x152669[_0x1ae205(0x278)]===0x0&&_0x152669[_0x1ae205(0x3f3)]({'unitId':_0x31f02a,'id':Hi,'startRev':0x1,'endRev':0x0,'time':Date[_0x1ae205(0x30c)](),'user':this[_0x1ae205(0x2cd)]['t'](_0x1ae205(0x39e)),'users':[this['_localeService']['t']('sheets-history-ui.viewer.panel.currentUser')],'commands':[],'isAnonymous':!0x1}),this['_updateVersions'](_0x152669,_0x3b1bcd,_0x3f2599,!0x1,_0x59acba),this[_0x1ae205(0x49e)][_0x1ae205(0x311)](_0x152669[0x0]['id']),this[_0x1ae205(0x37e)]['set'](_0x31f02a,_0x152669[0x0][_0x1ae205(0x495)]);}else this['_status$']['next'](_0x1ae205(0x240));}async[_0x12baa0(0x4a0)](){const _0x3829d3=_0x12baa0;if(!this[_0x3829d3(0x2f1)]||!this[_0x3829d3(0x472)]||this[_0x3829d3(0x4a8)])return!0x1;this[_0x3829d3(0x461)](!0x0);let _0x2b097a=await this[_0x3829d3(0x335)]['getVersions'](this[_0x3829d3(0x3dc)],{'lastLabel':this[_0x3829d3(0x2f1)],...this['_loadParams']});if(this[_0x3829d3(0x461)](!0x1),_0x2b097a){let {versions:_0x21027a,lastLabel:_0x23bfe2,hasMore:_0xb8306d,members:_0x4fbfb5}=_0x2b097a;this['_updateVersions'](_0x21027a,_0xb8306d,_0x23bfe2,!0x0,_0x4fbfb5);}else this[_0x3829d3(0x417)][_0x3829d3(0x217)]({'content':this['_localeService']['t'](_0x3829d3(0x2b8)),'type':_0x516041['Error'],'duration':0xbb8});return!0x0;}async[_0x12baa0(0x2bd)](){const _0x2b898e=_0x12baa0;let {unitId:_0x4c5c0f}=this;if(!_0x4c5c0f)return;let _0x2eb13f=await this[_0x2b898e(0x335)][_0x2b898e(0x1f5)](_0x4c5c0f);_0x2eb13f&&this[_0x2b898e(0x37c)][_0x2b898e(0x311)](_0x2eb13f);}async[_0x12baa0(0x3f8)](_0x1589dc){const _0x5f3021=_0x12baa0;let {endRev:_0xa094b5}=this[_0x5f3021(0x45c)](_0x1589dc)||{};if(_0xa094b5||_0xa094b5===0x0){this['_loadingState$'][_0x5f3021(0x311)]('loading');try{await this[_0x5f3021(0x335)][_0x5f3021(0x383)](this[_0x5f3021(0x3dc)],_0xa094b5),this[_0x5f3021(0x38f)][_0x5f3021(0x311)](_0x5f3021(0x465));}catch(_0x4b81bc){this[_0x5f3021(0x2bc)][_0x5f3021(0x240)](_0x5f3021(0x2dd),_0x4b81bc),this[_0x5f3021(0x38f)][_0x5f3021(0x311)](_0x5f3021(0x240)),this['_status$']['next']('error');}}else this[_0x5f3021(0x35d)]['next'](_0x5f3021(0x240));}async[_0x12baa0(0x47a)](_0x1f37c5){const _0x223b23=_0x12baa0;let _0x273cb9=_0x1f37c5?this['getVersion'](_0x1f37c5):this[_0x223b23(0x416)]();if(!_0x273cb9)return;let _0x6c2205=_0x273cb9[_0x223b23(0x495)],_0x466f8b=Li(_0x273cb9[_0x223b23(0x20d)],this['_localeService']);await this[_0x223b23(0x299)][_0x223b23(0x3df)]({'id':_0x223b23(0x1e7),'title':{'title':this[_0x223b23(0x2cd)]['t'](_0x223b23(0x48d))},'children':{'title':this['_localeService']['t'](_0x223b23(0x225),_0x466f8b[_0x223b23(0x305)],_0x466f8b[_0x223b23(0x20d)])},'cancelText':this[_0x223b23(0x2cd)]['t']('sheets-history-ui.viewer.panel.cancel'),'confirmText':this[_0x223b23(0x2cd)]['t']('sheets-history-ui.viewer.panel.confirm')})&&this[_0x223b23(0x2b5)][_0x223b23(0x311)](_0x6c2205);}[_0x12baa0(0x2e3)](_0x48f2c4,_0x15ea32,_0x397f9d,_0x189fbd,_0x38416e){const _0x1888ad=_0x12baa0;this[_0x1888ad(0x45d)](_0x189fbd?this['_versions$'][_0x1888ad(0x415)][_0x1888ad(0x432)](_0x48f2c4):_0x48f2c4),this[_0x1888ad(0x472)]=_0x15ea32,this[_0x1888ad(0x2f1)]=_0x397f9d,_0x38416e&&Object[_0x1888ad(0x1f4)](_0x38416e)[_0x1888ad(0x348)](_0x35bc15=>this[_0x1888ad(0x28c)][_0x1888ad(0x45b)](_0x35bc15,_0x38416e[_0x35bc15]));}[_0x12baa0(0x416)](){const _0x2a0498=_0x12baa0;return this[_0x2a0498(0x45c)](this['_currentVersion$'][_0x2a0498(0x415)]);}[_0x12baa0(0x45d)](_0x6ce08d){this['_versions$']['next'](_0x6ce08d);}[_0x12baa0(0x45c)](_0x3ae139){const _0x4eda05=_0x12baa0;var _0x393dfc;return((_0x393dfc=this[_0x4eda05(0x2f0)]['value'])==null?void 0x0:_0x393dfc[_0x4eda05(0x297)](_0x5d7099=>_0x5d7099['id']===_0x3ae139))||this[_0x4eda05(0x1e8)][_0x4eda05(0x2fa)](_0x3ae139);}['registerDetailVersion'](_0x2c3e7b){this['_detailVersionsMap']['set'](_0x2c3e7b['id'],_0x2c3e7b);}[_0x12baa0(0x3c5)](){const _0x3850fd=_0x12baa0;if(this[_0x3850fd(0x3dc)])return this[_0x3850fd(0x37e)][_0x3850fd(0x2fa)](this[_0x3850fd(0x3dc)]);}[_0x12baa0(0x232)](){const _0x132a3b=_0x12baa0;var _0x3b543b;return((_0x3b543b=this[_0x132a3b(0x416)]())==null?void 0x0:_0x3b543b[_0x132a3b(0x495)])===this[_0x132a3b(0x3c5)]();}[_0x12baa0(0x380)](){const _0x2bea57=_0x12baa0;return!this[_0x2bea57(0x232)]()&&this[_0x2bea57(0x47d)];}[_0x12baa0(0x423)](_0x3e414c){const _0x565ad2=_0x12baa0;return this[_0x565ad2(0x28c)][_0x565ad2(0x2fa)](_0x3e414c);}['exitHistoryMode'](){const _0x4c5b4a=_0x12baa0;this[_0x4c5b4a(0x35d)][_0x4c5b4a(0x311)](_0x4c5b4a(0x1fd));}set['status'](_0x2e559e){const _0x4edd6f=_0x12baa0;this[_0x4edd6f(0x35d)][_0x4edd6f(0x311)](_0x2e559e);}get[_0x12baa0(0x4a2)](){const _0x136146=_0x12baa0;return this[_0x136146(0x35d)]['value'];}['selectVersion'](_0x2d1152){const _0x89bbde=_0x12baa0;_0x2d1152!==this[_0x89bbde(0x49e)][_0x89bbde(0x415)]&&this[_0x89bbde(0x49e)][_0x89bbde(0x311)](_0x2d1152);}get[_0x12baa0(0x389)](){const _0x3afaf7=_0x12baa0;return this[_0x3afaf7(0x49e)][_0x3afaf7(0x415)];}set[_0x12baa0(0x3dc)](_0x41e2b2){const _0x398d5b=_0x12baa0;this[_0x398d5b(0x34f)][_0x398d5b(0x311)](_0x41e2b2);}get[_0x12baa0(0x3dc)](){const _0x7f5621=_0x12baa0;return this[_0x7f5621(0x34f)]['value'];}get[_0x12baa0(0x47d)](){const _0x538453=_0x12baa0;return this[_0x538453(0x38d)];}get[_0x12baa0(0x428)](){const _0x1a4333=_0x12baa0;return this[_0x1a4333(0x38f)][_0x1a4333(0x415)];}};X=J([q(0x0,_0x4950eb),q(0x1,_0x5f268a),q(0x2,_0x525aca),q(0x3,_0x279b8e(_0x472cdf)),q(0x4,_0x279b8e(Y))],X);let Z=class extends _0x3e44cf{constructor(_0x2d6611,_0x293151,_0x36bd99,_0xa3118e,_0xa18d7c,_0x318dc2,_0x10374e,_0x4777a8,_0x357ccc,_0x2687cd,_0x305fc0,_0x3f2dae,_0x344421){const _0x540205=_0x12baa0;super(),this['_historyManagerService']=_0x2d6611,this['_transformService']=_0x293151,this[_0x540205(0x37f)]=_0x36bd99,this[_0x540205(0x2ca)]=_0xa3118e,this[_0x540205(0x2d8)]=_0xa18d7c,this[_0x540205(0x267)]=_0x318dc2,this[_0x540205(0x3fd)]=_0x10374e,this['_sparklineDataSourceModel']=_0x4777a8,this['_sheetsPivotTableConfigModel']=_0x357ccc,this[_0x540205(0x322)]=_0x2687cd,this[_0x540205(0x2cd)]=_0x305fc0,this[_0x540205(0x375)]=_0x3f2dae,this[_0x540205(0x335)]=_0x344421,K(this,_0x540205(0x356),new Map()),K(this,_0x540205(0x2a2),new _0x976c30({'ranges':new Map(),'active':null,'subUnitIds':[]})),K(this,_0x540205(0x349),this[_0x540205(0x2a2)][_0x540205(0x27a)]()),this[_0x540205(0x35b)]();}[_0x12baa0(0x35b)](){const _0x228200=_0x12baa0;this['_diffRangesMap']=new Map(),this[_0x228200(0x37d)](this[_0x228200(0x347)][_0x228200(0x243)][_0x228200(0x21d)](_0x34df85=>{const _0xf7f6b2=_0x228200;_0x34df85&&!this['_diffRangesMap'][_0xf7f6b2(0x28e)](_0x34df85)&&this['_diffRangesMap']['set'](_0x34df85,new Map());})),this[_0x228200(0x37d)](this[_0x228200(0x347)][_0x228200(0x24b)][_0x228200(0x21d)](async _0xc9c06c=>{const _0x14142c=_0x228200;if(_0xc9c06c){var _0x6a2e3a;await this['ensureVersion'](_0xc9c06c),this[_0x14142c(0x2a2)][_0x14142c(0x311)](((_0x6a2e3a=this[_0x14142c(0x356)][_0x14142c(0x2fa)](this[_0x14142c(0x347)][_0x14142c(0x3dc)]))==null?void 0x0:_0x6a2e3a[_0x14142c(0x2fa)](_0xc9c06c))||{'ranges':new Map(),'active':null,'subUnitIds':[]});}}));}async[_0x12baa0(0x31c)](_0x2cfffa){const _0x354af4=_0x12baa0;var _0x2f680a,_0x2761f7;let _0x155fca=this['_historyManagerService']['getVersion'](_0x2cfffa),_0x43b30b=this[_0x354af4(0x347)][_0x354af4(0x3dc)];if(!_0x155fca||!_0x43b30b)return;let _0x342115=this[_0x354af4(0x356)][_0x354af4(0x2fa)](_0x43b30b);if(_0x342115||this[_0x354af4(0x356)][_0x354af4(0x45b)](_0x43b30b,new Map()),(_0x2f680a=this[_0x354af4(0x356)][_0x354af4(0x2fa)](_0x43b30b))!=null&&_0x2f680a['has'](_0x155fca['id']))return;let {startRev:_0x5229de,endRev:_0x2da012}=_0x155fca;if(_0x5229de===0x1){_0x342115['set'](_0x155fca['id'],{'ranges':new Map(),'active':null,'subUnitIds':[]});return;}let _0x343e2c=_0x5229de,_0x247c07=_0x2da012,_0x4fc24f=await this['_historyFetchService'][_0x354af4(0x3a9)]({},{'unitId':_0x43b30b,'startRevision':_0x343e2c,'endRevision':_0x247c07});if(((_0x2761f7=_0x4fc24f[_0x354af4(0x240)])==null?void 0x0:_0x2761f7[_0x354af4(0x388)])===_0x4f12d4['OK']){let _0x278e1a=_0x4fc24f[_0x354af4(0x404)][_0x354af4(0x26d)](_0x26a29e=>((_0x26a29e[_0x354af4(0x261)]===null||_0x26a29e[_0x354af4(0x261)]===void 0x0)&&(_0x26a29e[_0x354af4(0x261)]=[]),_0x31e9c7(_0x26a29e)))[_0x354af4(0x26d)](_0x411a7a=>_0x411a7a['mutations']['map'](_0x35e76d=>({..._0x35e76d,'params':{..._0x35e76d['params'],'memberId':_0x411a7a[_0x354af4(0x487)]||'unknownUser'}})))[_0x354af4(0x38a)](),_0x592be6=await this[_0x354af4(0x237)](_0x278e1a),_0x2a406c=this['_getActiveSubUnitId'](_0x278e1a),_0x3ade5c=this['_extractRanges'](_0x592be6);_0x342115[_0x354af4(0x45b)](_0x155fca['id'],{..._0x3ade5c,'active':_0x2a406c});}}[_0x12baa0(0x227)](){const _0x4596d0=_0x12baa0;let _0xb8ac0f=Pi('sheets-history-ui.viewer.action.'),_0xe60bbc=new Map();return Object[_0x4596d0(0x421)](_0xb8ac0f)[_0x4596d0(0x38a)]()[_0x4596d0(0x348)](_0x1742bd=>{const _0x385e90=_0x4596d0;_0xe60bbc[_0x385e90(0x45b)](_0x1742bd['id'],_0x1742bd[_0x385e90(0x211)]);}),_0xe60bbc;}['categorizeMutationRanges'](_0x3e0908,_0x957043){const _0x226d17=_0x12baa0;return this[_0x226d17(0x41e)](_0x3e0908,_0x957043);}async[_0x12baa0(0x237)](_0x3cc9c4){const _0x393a69=_0x12baa0;let _0xc2a0dd=[];for(let _0x49fc27=0x0;_0x49fc27<_0x3cc9c4['length'];_0x49fc27++){let _0xc4ea00=_0x3cc9c4[_0x49fc27];if(_0xc2a0dd[_0x393a69(0x3f3)](_0xc4ea00),_0x49fc27!==_0x3cc9c4[_0x393a69(0x278)]-0x1){let _0x582ee4=_0x3cc9c4[_0x49fc27+0x1],_0x5ce031=this[_0x393a69(0x254)][_0x393a69(0x2b2)](_0xc2a0dd,[_0x582ee4]);_0xc2a0dd=_0x5489f9(_0x5ce031)?_0x5ce031[_0x393a69(0x2b1)]:[];}_0x49fc27%0xa==0x0&&_0x49fc27>0x0&&await this[_0x393a69(0x3c3)]();}return _0xc2a0dd;}[_0x12baa0(0x3c3)](){return new Promise(_0x312b1d=>{typeof requestIdleCallback=='function'?requestIdleCallback(()=>_0x312b1d(),{'timeout':0x64}):setTimeout(_0x312b1d,0x0);});}['_getActiveSubUnitId'](_0x4a908c){const _0x45f39c=_0x12baa0;let _0x161fe5=[];return _0x4a908c['forEach'](_0x5b2479=>{const _0x1e07cc=_0xc465;if(_0x5b2479['id']===_0x17da31['id']){let _0x40fa6c=_0x5b2479[_0x1e07cc(0x2c1)];_0x161fe5[_0x1e07cc(0x3f3)](_0x40fa6c[_0x1e07cc(0x2ac)]['id']);}else{if(_0x5b2479['id']===_0x465973['id']){let _0x4d1003=_0x5b2479[_0x1e07cc(0x2c1)];_0x161fe5[_0x1e07cc(0x278)]>0x0&&(_0x161fe5=_0x161fe5[_0x1e07cc(0x1db)](_0x305d22=>_0x305d22!==_0x4d1003[_0x1e07cc(0x2f7)]));}else{if(_0x5b2479['id']===_0x17fc63['id']){let _0x499df3=_0x5b2479[_0x1e07cc(0x2c1)];_0x499df3[_0x1e07cc(0x32c)]?_0x161fe5=_0x161fe5[_0x1e07cc(0x1db)](_0x436ee8=>_0x436ee8!==_0x499df3[_0x1e07cc(0x2f7)]):_0x161fe5['push'](_0x499df3[_0x1e07cc(0x2f7)]);}else{let _0x3343da=_0x5b2479[_0x1e07cc(0x2c1)];_0x3343da[_0x1e07cc(0x2f7)]&&_0x161fe5[_0x1e07cc(0x3f3)](_0x3343da[_0x1e07cc(0x2f7)]);}}}}),_0x161fe5[_0x45f39c(0x278)]>0x0?_0x161fe5[_0x161fe5[_0x45f39c(0x278)]-0x1]:null;}['_extractRanges'](_0x28b774){const _0x504969=_0x12baa0;let _0x40631e=new Map(),_0x152218=new Map(),_0x117c55=new Map(),_0x32f3d1=new Map(),_0x2c4dd0=new Map(),_0x4d75fd=new Map(),_0x29a9f5=new Map(),_0x4ce22c=new Map(),_0x2b406f=new Map(),_0x22bc5b=new Map(),_0x54e186=new Map(),_0x3e3723=new Map(),_0x1c255c=new Set(),_0x10ae4f=this[_0x504969(0x227)]();return _0x28b774['forEach'](_0x15011c=>{const _0x5a62e=_0x504969;var _0x33be31,_0x101f1b,_0x7dd2b6,_0x12b9d4,_0x5c0ad9,_0x1fb467,_0xfc2347,_0x578c74,_0x5eacd8,_0x238a61,_0x579682,_0x4ba817,_0x5eeae4;let _0x437dba=(_0x33be31=_0x15011c[_0x5a62e(0x2c1)])==null?void 0x0:_0x33be31[_0x5a62e(0x231)];if(!_0x437dba)return;_0x40631e[_0x5a62e(0x28e)](_0x437dba)||(_0x40631e[_0x5a62e(0x45b)](_0x437dba,[]),_0x152218[_0x5a62e(0x45b)](_0x437dba,[]),_0x117c55[_0x5a62e(0x45b)](_0x437dba,[]),_0x32f3d1[_0x5a62e(0x45b)](_0x437dba,[]),_0x2c4dd0[_0x5a62e(0x45b)](_0x437dba,[]),_0x4d75fd['set'](_0x437dba,[]),_0x29a9f5[_0x5a62e(0x45b)](_0x437dba,[]),_0x4ce22c[_0x5a62e(0x45b)](_0x437dba,[]),_0x2b406f['set'](_0x437dba,[]),_0x22bc5b[_0x5a62e(0x45b)](_0x437dba,[]),_0x54e186[_0x5a62e(0x45b)](_0x437dba,[]),_0x3e3723[_0x5a62e(0x45b)](_0x437dba,[]));let _0x20d043=this['_categorizeMutationRanges'](_0x15011c,_0x10ae4f);_0x20d043['subUnitIds']['forEach'](_0x2c06c3=>_0x1c255c['add'](_0x2c06c3)),(_0x101f1b=_0x40631e[_0x5a62e(0x2fa)](_0x437dba))==null||_0x101f1b[_0x5a62e(0x3f3)](..._0x20d043[_0x5a62e(0x260)]),(_0x7dd2b6=_0x152218['get'](_0x437dba))==null||_0x7dd2b6[_0x5a62e(0x3f3)](..._0x20d043[_0x5a62e(0x3e1)]),(_0x12b9d4=_0x117c55[_0x5a62e(0x2fa)](_0x437dba))==null||_0x12b9d4[_0x5a62e(0x3f3)](..._0x20d043[_0x5a62e(0x2c3)]),(_0x5c0ad9=_0x32f3d1[_0x5a62e(0x2fa)](_0x437dba))==null||_0x5c0ad9[_0x5a62e(0x3f3)](..._0x20d043[_0x5a62e(0x21c)]),(_0x1fb467=_0x2c4dd0['get'](_0x437dba))==null||_0x1fb467[_0x5a62e(0x3f3)](..._0x20d043[_0x5a62e(0x3ef)]),(_0xfc2347=_0x4d75fd[_0x5a62e(0x2fa)](_0x437dba))==null||_0xfc2347['push'](..._0x20d043[_0x5a62e(0x2d2)]),(_0x578c74=_0x29a9f5[_0x5a62e(0x2fa)](_0x437dba))==null||_0x578c74[_0x5a62e(0x3f3)](..._0x20d043[_0x5a62e(0x2cf)]),(_0x5eacd8=_0x4ce22c[_0x5a62e(0x2fa)](_0x437dba))==null||_0x5eacd8[_0x5a62e(0x3f3)](..._0x20d043[_0x5a62e(0x23e)]),(_0x238a61=_0x2b406f[_0x5a62e(0x2fa)](_0x437dba))==null||_0x238a61[_0x5a62e(0x3f3)](..._0x20d043[_0x5a62e(0x2cb)]),(_0x579682=_0x54e186[_0x5a62e(0x2fa)](_0x437dba))==null||_0x579682['push'](..._0x20d043[_0x5a62e(0x38c)]),(_0x4ba817=_0x3e3723[_0x5a62e(0x2fa)](_0x437dba))==null||_0x4ba817[_0x5a62e(0x3f3)](..._0x20d043[_0x5a62e(0x457)]),(_0x5eeae4=_0x22bc5b[_0x5a62e(0x2fa)](_0x437dba))==null||_0x5eeae4[_0x5a62e(0x3f3)](..._0x20d043[_0x5a62e(0x201)]);}),_0x40631e[_0x504969(0x348)]((_0x270df2,_0x145a99)=>{const _0x35c1eb=_0x504969;_0x40631e['set'](_0x145a99,this['_combineRanges'](_0x270df2)),_0x152218[_0x35c1eb(0x45b)](_0x145a99,this[_0x35c1eb(0x280)](_0x152218[_0x35c1eb(0x2fa)](_0x145a99)||[])),_0x117c55[_0x35c1eb(0x45b)](_0x145a99,this[_0x35c1eb(0x280)](_0x117c55[_0x35c1eb(0x2fa)](_0x145a99)||[])),_0x32f3d1[_0x35c1eb(0x45b)](_0x145a99,this[_0x35c1eb(0x280)](_0x32f3d1[_0x35c1eb(0x2fa)](_0x145a99)||[])),_0x2c4dd0[_0x35c1eb(0x45b)](_0x145a99,this[_0x35c1eb(0x280)](_0x2c4dd0[_0x35c1eb(0x2fa)](_0x145a99)||[])),_0x4d75fd[_0x35c1eb(0x45b)](_0x145a99,this[_0x35c1eb(0x280)](_0x4d75fd['get'](_0x145a99)||[])),_0x29a9f5[_0x35c1eb(0x45b)](_0x145a99,this[_0x35c1eb(0x280)](_0x29a9f5[_0x35c1eb(0x2fa)](_0x145a99)||[])),_0x4ce22c['set'](_0x145a99,this[_0x35c1eb(0x280)](_0x4ce22c[_0x35c1eb(0x2fa)](_0x145a99)||[])),_0x2b406f[_0x35c1eb(0x45b)](_0x145a99,this[_0x35c1eb(0x280)](_0x2b406f['get'](_0x145a99)||[]));}),{'ranges':_0x40631e,'insertCellRanges':_0x152218,'deleteCellRanges':_0x117c55,'updateCellRanges':_0x32f3d1,'insertBorderRanges':_0x2c4dd0,'deleteBorderRanges':_0x4d75fd,'updateBorderRanges':_0x29a9f5,'arrowRowRanges':_0x4ce22c,'arrowColumnRanges':_0x2b406f,'insertDrawings':_0x54e186,'deleteDrawings':_0x3e3723,'updateDrawings':_0x22bc5b,'subUnitIds':Array[_0x504969(0x3b5)](_0x1c255c)};}[_0x12baa0(0x41e)](_0xd59ba5,_0x387d07){const _0x48484f=_0x12baa0;let _0x2817d0={'allRanges':[],'insertCellRanges':[],'deleteCellRanges':[],'updateCellRanges':[],'insertBorderRanges':[],'deleteBorderRanges':[],'updateBorderRanges':[],'arrowRowRanges':[],'arrowColumnRanges':[],'insertDrawings':[],'deleteDrawings':[],'updateDrawings':[],'subUnitIds':[]},_0x457f54=_0xd59ba5['id'],_0x1b46df=_0xd59ba5[_0x48484f(0x2c1)],_0x29a3e2=_0x387d07[_0x48484f(0x2fa)](_0x457f54),_0x1472dd=_0x29a3e2?this[_0x48484f(0x2cd)]['t'](_0x29a3e2):'';_0x1b46df[_0x48484f(0x2f7)]&&_0x2817d0['subUnitIds'][_0x48484f(0x3f3)](_0x1b46df[_0x48484f(0x2f7)]);let _0x2f3da7=(_0x36bb1d,_0x16687f)=>{const _0x7206bb=_0x48484f;let _0x50ea36=_0x36bb1d[_0x7206bb(0x26d)](_0x492778=>({..._0x492778,'showText':_0x1472dd}));switch(_0x2817d0['allRanges'][_0x7206bb(0x3f3)](..._0x50ea36),_0x16687f){case _0x7206bb(0x452):_0x2817d0[_0x7206bb(0x3e1)][_0x7206bb(0x3f3)](..._0x50ea36);break;case'delete':_0x2817d0[_0x7206bb(0x2c3)][_0x7206bb(0x3f3)](..._0x50ea36);break;case _0x7206bb(0x308):_0x2817d0[_0x7206bb(0x21c)]['push'](..._0x50ea36);break;case _0x7206bb(0x443):_0x2817d0[_0x7206bb(0x3ef)][_0x7206bb(0x3f3)](..._0x50ea36);break;case _0x7206bb(0x48a):_0x2817d0['deleteBorderRanges'][_0x7206bb(0x3f3)](..._0x50ea36);break;case _0x7206bb(0x2f6):_0x2817d0[_0x7206bb(0x2cf)][_0x7206bb(0x3f3)](..._0x50ea36);break;case _0x7206bb(0x337):_0x2817d0[_0x7206bb(0x23e)]['push'](..._0x50ea36);break;case'arrowColumn':_0x2817d0['arrowColumnRanges']['push'](..._0x50ea36);break;}};switch(_0x457f54){case _0x102b2e['id']:{let _0x4f0520=_0x1b46df;_0x2f3da7([{'range':{..._0x4f0520[_0x48484f(0x44d)],'rangeType':_0x3c28a9[_0x48484f(0x248)]},'unitId':_0x4f0520['unitId'],'subUnitId':_0x4f0520[_0x48484f(0x2f7)],'showText':_0x48484f(0x23b),'highlightRow':!0x0}],_0x48484f(0x452));break;}case _0x5c2988['id']:{let _0x138ec8=_0x1b46df;_0x2f3da7([{'range':{..._0x138ec8[_0x48484f(0x44d)],'rangeType':_0x3c28a9[_0x48484f(0x326)]},'unitId':_0x138ec8[_0x48484f(0x3dc)],'subUnitId':_0x138ec8[_0x48484f(0x2f7)],'showText':'insertCol','highlightColumn':!0x0}],_0x48484f(0x452));break;}case _0x4ba4d4['id']:{let _0x3b1feb=_0x1b46df;_0x2f3da7(_0x3b1feb[_0x48484f(0x3f9)][_0x48484f(0x26d)](_0x246657=>({'range':_0x246657,'unitId':_0x3b1feb[_0x48484f(0x3dc)],'subUnitId':_0x3b1feb[_0x48484f(0x2f7)],'showText':_0x48484f(0x460)})),_0x48484f(0x452));break;}case _0x3c1dd2['id']:{let _0x151139=_0x1b46df;_0x2f3da7(Object[_0x48484f(0x421)](_0x151139[_0x48484f(0x421)])[_0x48484f(0x26d)](_0x3e4733=>_0x3e4733['ranges']['map'](_0x492a2a=>({'range':_0x492a2a,'unitId':_0x151139[_0x48484f(0x3dc)],'subUnitId':_0x151139['subUnitId'],'showText':_0x48484f(0x343)})))[_0x48484f(0x38a)](),_0x48484f(0x452));break;}case _0x550f21['id']:{let _0x21b45f=_0x1b46df;_0x2f3da7(_0x21b45f[_0x48484f(0x3f9)][_0x48484f(0x26d)](_0xdd364e=>({'range':_0xdd364e,'unitId':_0x21b45f[_0x48484f(0x3dc)],'subUnitId':_0x21b45f[_0x48484f(0x2f7)],'showText':_0x48484f(0x1e2)})),_0x48484f(0x4a3));break;}case _0x315f95['id']:{let _0x47431a=_0x1b46df;_0x2f3da7(_0x47431a[_0x48484f(0x3f9)]['map'](_0x634731=>({'range':_0x634731,'unitId':_0x47431a[_0x48484f(0x3dc)],'subUnitId':_0x47431a[_0x48484f(0x2f7)],'showText':_0x48484f(0x3b1)})),'delete');break;}case _0x42de13['id']:{let _0x18a2ab=_0x1b46df;_0x2f3da7([{'range':{..._0x18a2ab[_0x48484f(0x342)],'rangeType':_0x3c28a9[_0x48484f(0x248)]},'unitId':_0x18a2ab[_0x48484f(0x3dc)],'subUnitId':_0x18a2ab[_0x48484f(0x2f7)],'showText':'moveRows'}],_0x48484f(0x4a3)),_0x2f3da7([{'range':{..._0x18a2ab[_0x48484f(0x1e4)],'rangeType':_0x3c28a9['ROW']},'unitId':_0x18a2ab[_0x48484f(0x3dc)],'subUnitId':_0x18a2ab[_0x48484f(0x2f7)],'showText':_0x48484f(0x1e0)}],_0x48484f(0x452));break;}case _0x1d0973['id']:{let _0x25ecc8=_0x1b46df;_0x2f3da7([{'range':{..._0x25ecc8[_0x48484f(0x342)],'rangeType':_0x3c28a9[_0x48484f(0x326)]},'unitId':_0x25ecc8[_0x48484f(0x3dc)],'subUnitId':_0x25ecc8[_0x48484f(0x2f7)],'showText':_0x48484f(0x3bc)}],_0x48484f(0x4a3)),_0x2f3da7([{'range':{..._0x25ecc8[_0x48484f(0x1e4)],'rangeType':_0x3c28a9[_0x48484f(0x326)]},'unitId':_0x25ecc8[_0x48484f(0x3dc)],'subUnitId':_0x25ecc8[_0x48484f(0x2f7)],'showText':_0x48484f(0x3bc)}],_0x48484f(0x452));break;}case _0x2a5b38['id']:{let _0x32b2a6=_0x1b46df;_0x2f3da7(_0x32b2a6[_0x48484f(0x3f9)][_0x48484f(0x26d)](_0x35a12f=>({'range':{..._0x35a12f,'rangeType':_0x3c28a9[_0x48484f(0x248)]},'unitId':_0x32b2a6[_0x48484f(0x3dc)],'subUnitId':_0x32b2a6[_0x48484f(0x2f7)],'showText':_0x48484f(0x29b),'highlightRow':!0x0})),_0x48484f(0x308));break;}case _0x452ff7['id']:{let _0xf421fb=_0x1b46df;_0xf421fb[_0x48484f(0x42b)]&&_0xf421fb['subUnitId']&&Object['keys'](_0xf421fb['rowData'])['map'](Number)[_0x48484f(0x348)](_0xd6f76a=>{const _0x5ea7e3=_0x48484f;_0x2f3da7([{'range':{'startRow':_0xd6f76a,'endRow':_0xd6f76a,'startColumn':NaN,'endColumn':NaN,'rangeType':_0x3c28a9[_0x5ea7e3(0x248)]},'unitId':_0xf421fb[_0x5ea7e3(0x3dc)],'subUnitId':_0xf421fb['subUnitId'],'showText':'setRowData','highlightRow':!0x0}],_0x5ea7e3(0x308));});break;}case _0x21ceef['id']:{let _0x481eb0=_0x1b46df;_0x2f3da7(_0x481eb0[_0x48484f(0x3f9)][_0x48484f(0x26d)](_0x22fe25=>({'range':{..._0x22fe25,'rangeType':_0x3c28a9[_0x48484f(0x326)]},'unitId':_0x481eb0[_0x48484f(0x3dc)],'subUnitId':_0x481eb0[_0x48484f(0x2f7)],'showText':_0x48484f(0x41f),'highlightColumn':!0x0})),_0x48484f(0x308));break;}case _0x2b2916['id']:{let _0x4a47be=_0x1b46df;_0x4a47be[_0x48484f(0x3f7)]&&_0x4a47be['subUnitId']&&Object[_0x48484f(0x1f4)](_0x4a47be[_0x48484f(0x3f7)])[_0x48484f(0x26d)](Number)[_0x48484f(0x348)](_0x15cda3=>{const _0x3aa6c1=_0x48484f;_0x2f3da7([{'range':{'startRow':NaN,'endRow':NaN,'startColumn':_0x15cda3,'endColumn':_0x15cda3,'rangeType':_0x3c28a9['COLUMN']},'unitId':_0x4a47be[_0x3aa6c1(0x3dc)],'subUnitId':_0x4a47be[_0x3aa6c1(0x2f7)],'showText':'setColData','highlightColumn':!0x0}],_0x3aa6c1(0x308));});break;}case _0x2455e4['id']:{let _0x5bf852=_0x1b46df;_0x2f3da7(_0x5bf852[_0x48484f(0x458)]?Wi(_0x5bf852[_0x48484f(0x458)])[_0x48484f(0x26d)](_0x5bb5d0=>({'range':_0x5bb5d0,'unitId':_0x5bf852[_0x48484f(0x3dc)],'subUnitId':_0x5bf852[_0x48484f(0x2f7)],'showText':_0x48484f(0x229)})):[],_0x48484f(0x308));break;}case _0x323458['id']:{let _0x9a209d=_0xd59ba5['params'];_0x2f3da7([{'range':Ui(_0x9a209d[_0x48484f(0x3b5)][_0x48484f(0x415)]),'unitId':_0x9a209d[_0x48484f(0x3dc)],'subUnitId':_0x9a209d['from'][_0x48484f(0x2f7)],'showText':'moveRange'}],'delete'),_0x2f3da7([{'range':Ui(_0x9a209d['to'][_0x48484f(0x415)]),'unitId':_0x9a209d[_0x48484f(0x3dc)],'subUnitId':_0x9a209d['to'][_0x48484f(0x2f7)],'showText':'moveRange'}],'insert');break;}case _0x59d84f['id']:{let _0x4c15b0=_0x1b46df;_0x2f3da7([{'range':_0x4c15b0[_0x48484f(0x44d)],'unitId':_0x4c15b0[_0x48484f(0x3dc)],'subUnitId':_0x4c15b0[_0x48484f(0x2f7)]}],_0x48484f(0x308));break;}case _0x5c297b['id']:{let _0x70160d=_0x1b46df;_0x70160d[_0x48484f(0x3f9)]&&_0x70160d[_0x48484f(0x3f9)][_0x48484f(0x278)]>0x0&&_0x70160d[_0x48484f(0x2f7)]&&_0x2f3da7(_0x70160d[_0x48484f(0x3f9)][_0x48484f(0x26d)](_0x3c3602=>({'range':_0x3c3602,'unitId':_0x70160d[_0x48484f(0x3dc)],'subUnitId':_0x70160d[_0x48484f(0x2f7)],'showText':_0x48484f(0x376)})),_0x48484f(0x337));break;}case _0x1eeeca['id']:{let _0x458938=_0x1b46df;_0x458938[_0x48484f(0x3f9)]&&_0x458938[_0x48484f(0x3f9)][_0x48484f(0x278)]>0x0&&_0x458938[_0x48484f(0x2f7)]&&_0x2f3da7(_0x458938['ranges'][_0x48484f(0x26d)](_0x57b380=>({'range':_0x57b380,'unitId':_0x458938[_0x48484f(0x3dc)],'subUnitId':_0x458938[_0x48484f(0x2f7)],'showText':_0x48484f(0x2c7)})),'arrowColumn');break;}case _0x54eb0f['id']:{let _0x55158e=_0x1b46df;_0x2f3da7(_0x55158e[_0x48484f(0x325)][_0x48484f(0x26d)](_0x426e82=>_0x426e82['ranges'][_0x48484f(0x26d)](_0x30eec1=>({'range':_0x30eec1,'unitId':_0x55158e[_0x48484f(0x3dc)],'subUnitId':_0x55158e[_0x48484f(0x2f7)],'showText':_0x48484f(0x345)})))[_0x48484f(0x38a)](),_0x48484f(0x443));break;}case _0x6cec77['id']:{let _0x39d064=_0x1b46df;_0x2f3da7(_0x39d064['rule'][_0x48484f(0x3f9)][_0x48484f(0x26d)](_0x20d5c3=>({'range':_0x20d5c3,'unitId':_0x39d064['unitId'],'subUnitId':_0x39d064[_0x48484f(0x2f7)],'showText':_0x48484f(0x34e)})),'insertBorder');break;}case _0x5952b8['id']:{let _0x1b87a3=_0x1b46df;_0x2f3da7((Array['isArray'](_0x1b87a3['rule'])?_0x1b87a3[_0x48484f(0x36b)]:[_0x1b87a3['rule']])[_0x48484f(0x26d)](_0x30c109=>_0x30c109[_0x48484f(0x3f9)][_0x48484f(0x26d)](_0x392d44=>({'range':_0x392d44,'unitId':_0x1b87a3[_0x48484f(0x3dc)],'subUnitId':_0x1b87a3[_0x48484f(0x2f7)],'showText':_0x48484f(0x2fe)})))['flat'](),_0x48484f(0x443));break;}case _0x12021e['id']:{let _0xde0c1=_0x1b46df,_0x20672a=_0xde0c1[_0x48484f(0x3dc)],_0x2dc6e4=_0xde0c1[_0x48484f(0x2f7)];_0xde0c1[_0x48484f(0x2d6)]&&_0xde0c1[_0x48484f(0x2d6)][_0x48484f(0x278)]>0x0&&_0xde0c1[_0x48484f(0x2f7)]&&_0xde0c1[_0x48484f(0x2d6)][_0x48484f(0x348)](_0x1384f7=>{const _0x3420d5=_0x48484f;let _0x179f3e=this[_0x3420d5(0x2ca)][_0x3420d5(0x274)](_0x20672a,_0x2dc6e4,_0x1384f7),_0x294f18=(_0x179f3e==null?void 0x0:_0x179f3e[_0x3420d5(0x3f9)][_0x3420d5(0x26d)](_0x3bae4c=>({'range':_0x3bae4c,'unitId':_0x20672a,'subUnitId':_0x2dc6e4,'showText':'deleteRangeProtection'})))||[];_0x294f18[_0x3420d5(0x278)]>0x0&&_0x2f3da7(_0x294f18,_0x3420d5(0x48a));});break;}case _0x4bec80['id']:{let _0x3e1b4e=_0x1b46df;if(_0x3e1b4e['cfId']&&_0x3e1b4e['subUnitId']){let _0x5a1fd3=this[_0x48484f(0x2d8)][_0x48484f(0x274)](_0x3e1b4e['unitId'],_0x3e1b4e[_0x48484f(0x2f7)],_0x3e1b4e[_0x48484f(0x3db)]);if(_0x5a1fd3){let _0x254d34=_0x5a1fd3[_0x48484f(0x3f9)][_0x48484f(0x26d)](_0x36050b=>({'range':_0x36050b,'unitId':_0x3e1b4e[_0x48484f(0x3dc)],'subUnitId':_0x3e1b4e[_0x48484f(0x2f7)],'showText':_0x48484f(0x275)}));_0x254d34[_0x48484f(0x278)]>0x0&&_0x2f3da7(_0x254d34,_0x48484f(0x48a));}}break;}case _0x3732ba['id']:{let _0x3ededd=_0x1b46df,_0x4994f6=Array[_0x48484f(0x2a0)](_0x3ededd[_0x48484f(0x2ef)])?_0x3ededd[_0x48484f(0x2ef)]:[_0x3ededd[_0x48484f(0x2ef)]];_0x4994f6[_0x48484f(0x278)]>0x0&&_0x3ededd[_0x48484f(0x2f7)]&&_0x4994f6['forEach'](_0x242944=>{const _0x3047c7=_0x48484f;let _0x1f1912=this[_0x3047c7(0x267)][_0x3047c7(0x3c6)](_0x3ededd['unitId'],_0x3ededd[_0x3047c7(0x2f7)],_0x242944),_0x359bb5=(_0x1f1912==null?void 0x0:_0x1f1912['ranges'][_0x3047c7(0x26d)](_0x2afa81=>({'range':_0x2afa81,'unitId':_0x3ededd[_0x3047c7(0x3dc)],'subUnitId':_0x3ededd[_0x3047c7(0x2f7)],'showText':'removeDV'})))||[];_0x359bb5[_0x3047c7(0x278)]>0x0&&_0x2f3da7(_0x359bb5,_0x3047c7(0x48a));});break;}case _0x45a40e['id']:{let _0x2e42fa=_0x1b46df;_0x2f3da7(_0x2e42fa['rule'][_0x48484f(0x3f9)]['map'](_0x2c7133=>({'range':_0x2c7133,'unitId':_0x2e42fa['unitId'],'subUnitId':_0x2e42fa['subUnitId'],'showText':_0x48484f(0x449)})),_0x48484f(0x2f6));break;}case _0x5b2786['id']:{let _0x4c0243=_0x1b46df;_0x2f3da7([{'range':_0x4c0243['range'],'unitId':_0x4c0243['unitId'],'subUnitId':_0x4c0243[_0x48484f(0x2f7)],'showText':_0x48484f(0x395)}],_0x48484f(0x2f6));break;}case _0x2423c['id']:{let _0x5b343d=_0x1b46df;_0x2f3da7([{'range':_0x5b343d['range'],'unitId':_0x5b343d[_0x48484f(0x3dc)],'subUnitId':_0x5b343d['subUnitId'],'showText':_0x48484f(0x1fa)}],_0x48484f(0x2f6));break;}case _0x508dfc['id']:{let _0x18d942=_0x1b46df;_0x2f3da7(_0x18d942[_0x48484f(0x36b)][_0x48484f(0x3f9)][_0x48484f(0x26d)](_0x19643e=>({'range':_0x19643e,'unitId':_0x18d942[_0x48484f(0x3dc)],'subUnitId':_0x18d942[_0x48484f(0x2f7)],'showText':_0x48484f(0x34e)})),_0x48484f(0x2f6));break;}case _0x2f493f['id']:{let _0x6e1153=_0x1b46df,_0x2cc54e=this[_0x48484f(0x2d8)][_0x48484f(0x274)](_0x6e1153[_0x48484f(0x3dc)],_0x6e1153[_0x48484f(0x2f7)],_0x6e1153[_0x48484f(0x3cf)]['id']),_0x56db9d=this[_0x48484f(0x2d8)][_0x48484f(0x274)](_0x6e1153['unitId'],_0x6e1153[_0x48484f(0x2f7)],_0x6e1153[_0x48484f(0x25a)]['id']);_0x2cc54e&&_0x2f3da7(_0x2cc54e['ranges'][_0x48484f(0x26d)](_0x32ca67=>({'range':_0x32ca67,'unitId':_0x6e1153[_0x48484f(0x3dc)],'subUnitId':_0x6e1153[_0x48484f(0x2f7)],'showText':_0x48484f(0x230)})),_0x48484f(0x48a)),_0x56db9d&&_0x2f3da7(_0x56db9d['ranges'][_0x48484f(0x26d)](_0x240387=>({'range':_0x240387,'unitId':_0x6e1153[_0x48484f(0x3dc)],'subUnitId':_0x6e1153[_0x48484f(0x2f7)],'showText':_0x48484f(0x230)})),_0x48484f(0x443));break;}case _0x3112fa['id']:{let _0x20ff17=_0x1b46df;_0x2f3da7([{'range':_0x20ff17['range'],'unitId':_0x20ff17['unitId'],'subUnitId':_0x20ff17[_0x48484f(0x2f7)],'showText':_0x48484f(0x277)}],_0x48484f(0x2f6));break;}case _0x39a8a2['id']:{let _0x4fe5ce=_0x1b46df,_0x23f698=this[_0x48484f(0x3fd)][_0x48484f(0x44c)](_0x4fe5ce['unitId'],_0x4fe5ce[_0x48484f(0x2f7)]);if(_0x23f698){let _0x2b71c4=_0x23f698[_0x48484f(0x36a)]();_0x2f3da7(_0x2b71c4?[{'range':_0x2b71c4,'unitId':_0x4fe5ce['unitId'],'subUnitId':_0x4fe5ce['subUnitId'],'showText':'setFilterCriteria'}]:[],_0x48484f(0x2f6));}break;}case _0x50a87d['id']:{let _0x19b756=_0x1b46df,_0x50a7fe=this['_sheetsFilterService'][_0x48484f(0x44c)](_0x19b756[_0x48484f(0x3dc)],_0x19b756['subUnitId']);if(_0x50a7fe){let _0x2f61ed=_0x50a7fe[_0x48484f(0x36a)]();_0x2f3da7(_0x2f61ed?[{'range':_0x2f61ed,'unitId':_0x19b756['unitId'],'subUnitId':_0x19b756[_0x48484f(0x2f7)],'showText':_0x48484f(0x47c)}]:[],_0x48484f(0x2f6));}break;}case _0x2bc5a1['id']:{let _0x34dd08=_0x1b46df,_0x6b02f1=this[_0x48484f(0x3fd)][_0x48484f(0x44c)](_0x34dd08[_0x48484f(0x3dc)],_0x34dd08[_0x48484f(0x2f7)]);if(_0x6b02f1){let _0x57890f=_0x6b02f1['getRange']();_0x2f3da7(_0x57890f?[{'range':_0x57890f,'unitId':_0x34dd08[_0x48484f(0x3dc)],'subUnitId':_0x34dd08[_0x48484f(0x2f7)],'showText':_0x48484f(0x47c)}]:[],_0x48484f(0x2f6));}break;}case _0x302804['id']:{let _0x122d59=_0x1b46df,_0x599c38=this['_dataValidationModel'][_0x48484f(0x3c6)](_0x122d59[_0x48484f(0x3dc)],_0x122d59[_0x48484f(0x2f7)],_0x122d59[_0x48484f(0x2ef)]);_0x599c38&&_0x2f3da7(_0x599c38[_0x48484f(0x3f9)]['map'](_0x51be01=>({'range':_0x51be01,'unitId':_0x122d59['unitId'],'subUnitId':_0x122d59[_0x48484f(0x2f7)],'showText':'setDV'})),_0x48484f(0x2f6));break;}case _0x16044f['id']:{let _0x4a5001=_0x1b46df,_0xa93ee2=_0x4a5001[_0x48484f(0x3dc)],_0x49ff31=_0x4a5001[_0x48484f(0x2f7)],_0x3b9a89=_0x4a5001[_0x48484f(0x303)];_0x4a5001['sparklineConfigMap']&&_0x49ff31&&Object[_0x48484f(0x1f4)](_0x4a5001['sparklineConfigMap'])[_0x48484f(0x348)](_0x58000b=>{const _0x40f7e3=_0x48484f;let _0x565c56=_0x3b9a89[_0x58000b],_0x26524e=Wi(_0x565c56[_0x40f7e3(0x2c2)])['map'](_0x53fa4a=>({'range':_0x53fa4a,'unitId':_0xa93ee2,'subUnitId':_0x49ff31,'showText':_0x40f7e3(0x48f)}));_0x2f3da7(_0x26524e,_0x40f7e3(0x452));});break;}case _0x17f864['id']:{let _0x566186=_0x1b46df;_0x566186[_0x48484f(0x22b)]&&_0x566186[_0x48484f(0x22b)][_0x48484f(0x278)]>0x0&&_0x566186[_0x48484f(0x2f7)]&&_0x566186[_0x48484f(0x22b)][_0x48484f(0x348)](_0x462d13=>{const _0x5424ae=_0x48484f;let _0x56c4b4=this[_0x5424ae(0x3b0)][_0x5424ae(0x29e)](_0x566186[_0x5424ae(0x3dc)],_0x566186['subUnitId'],_0x462d13);if(_0x56c4b4){let _0x57c8a2=Wi(_0x56c4b4[_0x5424ae(0x2c2)][_0x5424ae(0x3ac)]())[_0x5424ae(0x26d)](_0x4c1e90=>({'range':_0x4c1e90,'unitId':_0x566186['unitId'],'subUnitId':_0x566186['subUnitId'],'showText':_0x5424ae(0x247)}));_0x2f3da7(_0x57c8a2,'update');}});break;}case _0x29b285['id']:{let _0x5e0a71=_0x1b46df;_0x5e0a71['groupIds']&&_0x5e0a71['groupIds'][_0x48484f(0x278)]>0x0&&_0x5e0a71[_0x48484f(0x2f7)]&&_0x5e0a71[_0x48484f(0x22b)][_0x48484f(0x348)](_0x3912ba=>{const _0x25e96b=_0x48484f;let _0x51d110=this['_sparklineDataSourceModel'][_0x25e96b(0x29e)](_0x5e0a71[_0x25e96b(0x3dc)],_0x5e0a71[_0x25e96b(0x2f7)],_0x3912ba);if(_0x51d110){let _0x200226=Wi(_0x51d110[_0x25e96b(0x2c2)][_0x25e96b(0x3ac)]())[_0x25e96b(0x26d)](_0x44f2d7=>({'range':_0x44f2d7,'unitId':_0x5e0a71[_0x25e96b(0x3dc)],'subUnitId':_0x5e0a71['subUnitId'],'showText':_0x25e96b(0x3fc)}));_0x2f3da7(_0x200226,_0x25e96b(0x4a3));}});break;}case _0x38c2df['id']:{let _0x53bfa6=_0x1b46df;_0x53bfa6['tableId']&&_0x53bfa6['subUnitId']&&_0x2f3da7([{'range':_0x53bfa6['range'],'unitId':_0x53bfa6['unitId'],'subUnitId':_0x53bfa6[_0x48484f(0x2f7)],'showText':_0x48484f(0x3d4)}],'insert');break;}case _0x195b78['id']:{let _0x50ed4c=_0x1b46df;if(_0x50ed4c['tableId']&&_0x50ed4c['subUnitId']){var _0x233f53;let _0x5b7cb5=(_0x233f53=this['_sheetTableService'][_0x48484f(0x286)](_0x50ed4c[_0x48484f(0x3dc)],_0x50ed4c[_0x48484f(0x45f)]))==null?void 0x0:_0x233f53['range'];_0x5b7cb5&&_0x2f3da7([{'range':_0x5b7cb5,'unitId':_0x50ed4c[_0x48484f(0x3dc)],'subUnitId':_0x50ed4c[_0x48484f(0x2f7)],'showText':_0x48484f(0x23d)}],_0x48484f(0x4a3));}break;}case _0x490285['id']:{let _0x30f3c8=_0xd59ba5[_0x48484f(0x2c1)];if(_0x30f3c8[_0x48484f(0x45f)]){let _0x30d03f=this[_0x48484f(0x322)]['getTableInfo'](_0x30f3c8[_0x48484f(0x3dc)],_0x30f3c8[_0x48484f(0x45f)]);_0x30d03f&&_0x30d03f['range']&&_0x30d03f[_0x48484f(0x2f7)]&&(_0x2817d0['subUnitIds']['push'](_0x30d03f[_0x48484f(0x2f7)]),_0x2f3da7([{'range':_0x30d03f[_0x48484f(0x44d)],'unitId':_0x30f3c8[_0x48484f(0x3dc)],'subUnitId':_0x30d03f[_0x48484f(0x2f7)],'showText':_0x48484f(0x426)}],_0x48484f(0x308)));}break;}case _0x26e6e5['id']:{let _0x4e8e42=_0x1b46df;if(_0x4e8e42[_0x48484f(0x45f)]&&_0x4e8e42[_0x48484f(0x2f7)]){var _0x272852;let _0x370973=(_0x272852=this['_sheetTableService']['getTableInfo'](_0x4e8e42[_0x48484f(0x3dc)],_0x4e8e42[_0x48484f(0x45f)]))==null?void 0x0:_0x272852[_0x48484f(0x44d)];_0x370973&&_0x2f3da7([{'range':_0x370973,'unitId':_0x4e8e42[_0x48484f(0x3dc)],'subUnitId':_0x4e8e42[_0x48484f(0x2f7)],'showText':_0x48484f(0x3fb)}],'update');}break;}case _0x5e9dbc['id']:{let _0x496cc2=_0x1b46df;if(_0x496cc2['pivotTableId']&&_0x496cc2[_0x48484f(0x2f7)]){var _0x163cbb;let _0x3db731=(_0x163cbb=this[_0x48484f(0x331)][_0x48484f(0x36c)](_0x496cc2[_0x48484f(0x3dc)],_0x496cc2[_0x48484f(0x2f7)],_0x496cc2['pivotTableId']))==null?void 0x0:_0x163cbb[_0x48484f(0x359)];_0x3db731&&_0x2f3da7(_0x30c966(_0x3db731)[_0x48484f(0x26d)](_0x21a073=>({'range':_0x21a073,'unitId':_0x496cc2[_0x48484f(0x3dc)],'subUnitId':_0x496cc2['subUnitId'],'showText':'addPivotTable'})),_0x48484f(0x452));}break;}case _0x47dd87['id']:{let _0x1614e6=_0x1b46df;if(_0x1614e6[_0x48484f(0x49c)]&&_0x1614e6['subUnitId']){var _0xc6d47;let _0x20c2e1=(_0xc6d47=this[_0x48484f(0x331)][_0x48484f(0x36c)](_0x1614e6[_0x48484f(0x3dc)],_0x1614e6['subUnitId'],_0x1614e6[_0x48484f(0x49c)]))==null?void 0x0:_0xc6d47[_0x48484f(0x359)];_0x20c2e1&&_0x2f3da7(_0x30c966(_0x20c2e1)['map'](_0x1b4379=>({'range':_0x1b4379,'unitId':_0x1614e6[_0x48484f(0x3dc)],'subUnitId':_0x1614e6[_0x48484f(0x2f7)],'showText':'removePivotTable'})),_0x48484f(0x4a3));}break;}case _0xf365ca['id']:case _0xebfde['id']:case _0x13066e['id']:case _0x2e1288['id']:case _0x3a9eac['id']:case _0x56cf1b['id']:case _0x141235['id']:case _0x46ed67['id']:case _0x2f273a['id']:case _0x44901a['id']:case _0x4b57a2['id']:case _0x374319['id']:case _0x695bd0['id']:case _0x4db1a1['id']:case _0x42175a['id']:{let _0xb71ba6=_0x1b46df,_0x18df26=_0x48484f(0x233);if(_0x457f54===_0xf365ca['id']?_0x18df26=_0x48484f(0x233):_0x457f54===_0xebfde['id']?_0x18df26=_0x48484f(0x27b):_0x457f54===_0x13066e['id']?_0x18df26=_0x48484f(0x314):_0x457f54===_0x2e1288['id']?_0x18df26=_0x48484f(0x434):_0x457f54===_0x3a9eac['id']?_0x18df26=_0x48484f(0x483):_0x457f54===_0x56cf1b['id']?_0x18df26=_0x48484f(0x44e):_0x457f54===_0x141235['id']?_0x18df26=_0x48484f(0x1df):_0x457f54===_0x46ed67['id']?_0x18df26='updateValuePosition':_0x457f54===_0x2f273a['id']?_0x18df26='updatePivotFieldSource':_0x457f54===_0x44901a['id']?_0x18df26='setPivotFilter':_0x457f54===_0x4b57a2['id']?_0x18df26=_0x48484f(0x41a):_0x457f54===_0x374319['id']?_0x18df26=_0x48484f(0x433):_0x457f54===_0x695bd0['id']?_0x18df26=_0x48484f(0x214):_0x457f54===_0x42175a['id']?_0x18df26='setPivotSubtotalType':_0x457f54===_0x4db1a1['id']&&(_0x18df26=_0x48484f(0x207)),_0xb71ba6[_0x48484f(0x49c)]&&_0xb71ba6['subUnitId']){var _0x36b640;let _0x1952ef=(_0x36b640=this[_0x48484f(0x331)][_0x48484f(0x36c)](_0xb71ba6['unitId'],_0xb71ba6['subUnitId'],_0xb71ba6[_0x48484f(0x49c)]))==null?void 0x0:_0x36b640[_0x48484f(0x359)];_0x1952ef&&_0x2f3da7(_0x30c966(_0x1952ef)[_0x48484f(0x26d)](_0x1a7dc9=>({'range':_0x1a7dc9,'unitId':_0xb71ba6[_0x48484f(0x3dc)],'subUnitId':_0xb71ba6['subUnitId'],'showText':_0x18df26})),'update');}break;}case _0x45d0ab['id']:{let _0x42b4fa=_0x1b46df;_0x42b4fa['chartId']&&_0x2817d0[_0x48484f(0x38c)]['push']({'drawingId':_0x42b4fa[_0x48484f(0x362)],'unitId':_0x42b4fa[_0x48484f(0x3dc)],'subUnitId':_0x42b4fa[_0x48484f(0x2f7)],'showText':_0x1472dd});break;}case _0x1e6cd7['id']:{let _0x4724a6=_0x1b46df;_0x4724a6[_0x48484f(0x362)]&&_0x2817d0[_0x48484f(0x457)][_0x48484f(0x3f3)]({'drawingId':_0x4724a6[_0x48484f(0x362)],'unitId':_0x4724a6['unitId'],'subUnitId':_0x4724a6[_0x48484f(0x2f7)],'showText':_0x1472dd});break;}case _0x3db1c3['id']:{let _0x5cdd64=_0xd59ba5[_0x48484f(0x2c1)];if(_0x5cdd64['chartModelId']){let _0x33d037=this['_sheetsChartService']['getSubUnitId'](_0x5cdd64['unitId'],_0x5cdd64[_0x48484f(0x332)]);_0x33d037&&(_0x2817d0['subUnitIds']['push'](_0x33d037),_0x2817d0[_0x48484f(0x201)][_0x48484f(0x3f3)]({'drawingId':_0x5cdd64[_0x48484f(0x332)],'unitId':_0x5cdd64[_0x48484f(0x3dc)],'subUnitId':_0x33d037,'showText':_0x1472dd}));}break;}case _0x127df1['id']:{let _0x190b4d=_0xd59ba5['params'];if(_0x190b4d['chartModelId']){let _0x3fb2f3=this['_sheetsChartService'][_0x48484f(0x3ce)](_0x190b4d['unitId'],_0x190b4d[_0x48484f(0x332)]);_0x3fb2f3&&(_0x2817d0[_0x48484f(0x448)][_0x48484f(0x3f3)](_0x3fb2f3),_0x2817d0[_0x48484f(0x201)][_0x48484f(0x3f3)]({'drawingId':_0x190b4d[_0x48484f(0x332)],'unitId':_0x190b4d[_0x48484f(0x3dc)],'subUnitId':_0x3fb2f3,'showText':_0x1472dd}));}break;}case _0x14da01['id']:{let _0x5a100b=_0x1b46df;_0x5a100b[_0x48484f(0x38e)]&&_0x2817d0[_0x48484f(0x38c)][_0x48484f(0x3f3)]({'drawingId':_0x5a100b[_0x48484f(0x38e)],'unitId':_0x5a100b[_0x48484f(0x3dc)],'subUnitId':_0x5a100b['subUnitId'],'showText':_0x1472dd});break;}case _0x1dc8b1['id']:{let _0x401be9=_0x1b46df;_0x401be9[_0x48484f(0x38e)]&&_0x2817d0[_0x48484f(0x457)][_0x48484f(0x3f3)]({'drawingId':_0x401be9[_0x48484f(0x38e)],'unitId':_0x401be9[_0x48484f(0x3dc)],'subUnitId':_0x401be9[_0x48484f(0x2f7)],'showText':_0x1472dd});break;}case _0x4d3a29['id']:case _0x3dbbb2['id']:{let _0x1121f2=_0x1b46df;_0x1121f2[_0x48484f(0x38e)]&&_0x2817d0['updateDrawings']['push']({'drawingId':_0x1121f2[_0x48484f(0x38e)],'unitId':_0x1121f2[_0x48484f(0x3dc)],'subUnitId':_0x1121f2[_0x48484f(0x2f7)],'showText':_0x1472dd});break;}case _0x90a751['id']:{let _0x5c7137=_0x1b46df,_0x9b416f=_0x5c7137[_0x48484f(0x36f)],_0x23d28e=_0x5c7137[_0x48484f(0x4a5)],_0x7e30e4=_0x23d28e!==_0x3b90ec[_0x48484f(0x412)]&&_0x23d28e!==_0x3b90ec[_0x48484f(0x30a)],_0x22c341=_0x23d28e===_0x3b90ec['INSERT'],_0x2b2d48=_0x23d28e===_0x3b90ec[_0x48484f(0x30a)],_0x3faede=_0x1472dd;if(_0x23d28e===_0x3b90ec[_0x48484f(0x412)]?_0x3faede=this[_0x48484f(0x2cd)]['t'](_0x48484f(0x31d)):_0x23d28e===_0x3b90ec[_0x48484f(0x30a)]&&(_0x3faede=this[_0x48484f(0x2cd)]['t']('sheets-history-ui.viewer.action.removeDrawing')),Array['isArray'](_0x9b416f))_0x9b416f[_0x48484f(0x348)](_0x7a7189=>{const _0x298e50=_0x48484f;if(_0x298e50(0x366)in _0x7a7189&&_0x7a7189[_0x298e50(0x366)])_0x7e30e4?_0x2817d0['updateDrawings'][_0x298e50(0x3f3)]({'drawingId':_0x7a7189[_0x298e50(0x366)],'unitId':_0x5c7137[_0x298e50(0x3dc)],'subUnitId':_0x5c7137[_0x298e50(0x2f7)],'showText':_0x3faede}):_0x22c341?_0x2817d0[_0x298e50(0x38c)][_0x298e50(0x3f3)]({'drawingId':_0x7a7189[_0x298e50(0x366)],'unitId':_0x5c7137['unitId'],'subUnitId':_0x5c7137[_0x298e50(0x2f7)],'showText':_0x3faede}):_0x2b2d48&&_0x2817d0[_0x298e50(0x457)][_0x298e50(0x3f3)]({'drawingId':_0x7a7189[_0x298e50(0x366)],'unitId':_0x5c7137[_0x298e50(0x3dc)],'subUnitId':_0x5c7137[_0x298e50(0x2f7)],'showText':_0x3faede});else{if(_0x298e50(0x200)in _0x7a7189&&_0x298e50(0x1ee)in _0x7a7189){var _0x24a27e,_0x4c7a5e;(_0x24a27e=_0x7a7189['parent'])!=null&&_0x24a27e[_0x298e50(0x366)]&&(_0x7e30e4?_0x2817d0[_0x298e50(0x201)][_0x298e50(0x3f3)]({'drawingId':_0x7a7189[_0x298e50(0x200)][_0x298e50(0x366)],'unitId':_0x5c7137['unitId'],'subUnitId':_0x5c7137[_0x298e50(0x2f7)],'showText':_0x3faede}):_0x22c341?_0x2817d0[_0x298e50(0x38c)][_0x298e50(0x3f3)]({'drawingId':_0x7a7189[_0x298e50(0x200)][_0x298e50(0x366)],'unitId':_0x5c7137[_0x298e50(0x3dc)],'subUnitId':_0x5c7137[_0x298e50(0x2f7)],'showText':_0x3faede}):_0x2b2d48&&_0x2817d0[_0x298e50(0x457)][_0x298e50(0x3f3)]({'drawingId':_0x7a7189[_0x298e50(0x200)][_0x298e50(0x366)],'unitId':_0x5c7137[_0x298e50(0x3dc)],'subUnitId':_0x5c7137[_0x298e50(0x2f7)],'showText':_0x3faede})),(_0x4c7a5e=_0x7a7189[_0x298e50(0x1ee)])==null||_0x4c7a5e[_0x298e50(0x348)](_0x673ad=>{const _0x195c4d=_0x298e50;_0x673ad[_0x195c4d(0x366)]&&(_0x7e30e4?_0x2817d0['updateDrawings'][_0x195c4d(0x3f3)]({'drawingId':_0x673ad[_0x195c4d(0x366)],'unitId':_0x5c7137[_0x195c4d(0x3dc)],'subUnitId':_0x5c7137['subUnitId'],'showText':_0x3faede}):_0x22c341?_0x2817d0[_0x195c4d(0x38c)]['push']({'drawingId':_0x673ad['drawingId'],'unitId':_0x5c7137[_0x195c4d(0x3dc)],'subUnitId':_0x5c7137[_0x195c4d(0x2f7)],'showText':_0x3faede}):_0x2b2d48&&_0x2817d0[_0x195c4d(0x457)][_0x195c4d(0x3f3)]({'drawingId':_0x673ad[_0x195c4d(0x366)],'unitId':_0x5c7137[_0x195c4d(0x3dc)],'subUnitId':_0x5c7137['subUnitId'],'showText':_0x3faede}));});}}});else{if(_0x9b416f&&typeof _0x9b416f==_0x48484f(0x41d)){if(_0x48484f(0x221)in _0x9b416f&&Array[_0x48484f(0x2a0)](_0x9b416f[_0x48484f(0x221)]))_0x9b416f['drawingIds'][_0x48484f(0x348)](_0x45fded=>{const _0x576307=_0x48484f;_0x7e30e4?_0x2817d0[_0x576307(0x201)][_0x576307(0x3f3)]({'drawingId':_0x45fded,'unitId':_0x5c7137['unitId'],'subUnitId':_0x5c7137['subUnitId'],'showText':_0x3faede}):_0x22c341?_0x2817d0[_0x576307(0x38c)][_0x576307(0x3f3)]({'drawingId':_0x45fded,'unitId':_0x5c7137[_0x576307(0x3dc)],'subUnitId':_0x5c7137['subUnitId'],'showText':_0x3faede}):_0x2b2d48&&_0x2817d0[_0x576307(0x457)][_0x576307(0x3f3)]({'drawingId':_0x45fded,'unitId':_0x5c7137[_0x576307(0x3dc)],'subUnitId':_0x5c7137[_0x576307(0x2f7)],'showText':_0x3faede});});else{if(_0x48484f(0x200)in _0x9b416f&&'children'in _0x9b416f){var _0x5245f3,_0x49f8af;(_0x5245f3=_0x9b416f[_0x48484f(0x200)])!=null&&_0x5245f3[_0x48484f(0x366)]&&(_0x7e30e4?_0x2817d0[_0x48484f(0x201)][_0x48484f(0x3f3)]({'drawingId':_0x9b416f[_0x48484f(0x200)][_0x48484f(0x366)],'unitId':_0x5c7137[_0x48484f(0x3dc)],'subUnitId':_0x5c7137['subUnitId'],'showText':_0x3faede}):_0x22c341?_0x2817d0[_0x48484f(0x38c)][_0x48484f(0x3f3)]({'drawingId':_0x9b416f[_0x48484f(0x200)][_0x48484f(0x366)],'unitId':_0x5c7137[_0x48484f(0x3dc)],'subUnitId':_0x5c7137[_0x48484f(0x2f7)],'showText':_0x3faede}):_0x2b2d48&&_0x2817d0[_0x48484f(0x457)][_0x48484f(0x3f3)]({'drawingId':_0x9b416f[_0x48484f(0x200)][_0x48484f(0x366)],'unitId':_0x5c7137[_0x48484f(0x3dc)],'subUnitId':_0x5c7137[_0x48484f(0x2f7)],'showText':_0x3faede})),(_0x49f8af=_0x9b416f[_0x48484f(0x1ee)])==null||_0x49f8af[_0x48484f(0x348)](_0x2a65d0=>{const _0x31f9e7=_0x48484f;_0x2a65d0[_0x31f9e7(0x366)]&&(_0x7e30e4?_0x2817d0[_0x31f9e7(0x201)][_0x31f9e7(0x3f3)]({'drawingId':_0x2a65d0[_0x31f9e7(0x366)],'unitId':_0x5c7137[_0x31f9e7(0x3dc)],'subUnitId':_0x5c7137[_0x31f9e7(0x2f7)],'showText':_0x3faede}):_0x22c341?_0x2817d0[_0x31f9e7(0x38c)][_0x31f9e7(0x3f3)]({'drawingId':_0x2a65d0[_0x31f9e7(0x366)],'unitId':_0x5c7137[_0x31f9e7(0x3dc)],'subUnitId':_0x5c7137[_0x31f9e7(0x2f7)],'showText':_0x3faede}):_0x2b2d48&&_0x2817d0[_0x31f9e7(0x457)][_0x31f9e7(0x3f3)]({'drawingId':_0x2a65d0['drawingId'],'unitId':_0x5c7137[_0x31f9e7(0x3dc)],'subUnitId':_0x5c7137['subUnitId'],'showText':_0x3faede}));});}}}}break;}}return _0x2817d0;}[_0x12baa0(0x280)](_0x1863b6){const _0x4742e0=_0x12baa0;if(_0x1863b6[_0x4742e0(0x278)]<=0x1)return _0x1863b6;let _0x1093d7=new Map();return _0x1863b6[_0x4742e0(0x348)](_0xe65ba4=>{const _0x16e808=_0x4742e0;let {unitId:_0x599d4b,subUnitId:_0xe277e4}=_0xe65ba4,_0x58540d=_0x599d4b+'-'+_0xe277e4;if(!_0x1093d7['has'](_0x58540d))_0x1093d7[_0x16e808(0x45b)](_0x58540d,[_0xe65ba4]);else{var _0x37a312;(_0x37a312=_0x1093d7[_0x16e808(0x2fa)](_0x58540d))==null||_0x37a312[_0x16e808(0x3f3)](_0xe65ba4);}}),Array[_0x4742e0(0x3b5)](_0x1093d7[_0x4742e0(0x421)]())['map'](_0x3bd0ce=>new _0x206e93()[_0x4742e0(0x2b4)](..._0x3bd0ce[_0x4742e0(0x26d)](_0x288794=>_0x288794[_0x4742e0(0x44d)]))['merge']()[_0x4742e0(0x26d)](_0x17ec22=>({'range':_0x17ec22,'unitId':_0x3bd0ce[0x0]['unitId'],'subUnitId':_0x3bd0ce[0x0][_0x4742e0(0x2f7)],'showText':_0x3bd0ce[0x0][_0x4742e0(0x33d)],'highlightRow':_0x3bd0ce[0x0][_0x4742e0(0x43f)],'highlightColumn':_0x3bd0ce[0x0]['highlightColumn']})))[_0x4742e0(0x38a)]();}};Z=J([q(0x0,_0x279b8e(X)),q(0x1,_0x9f88cf),q(0x2,_0x360b43),q(0x3,_0x279b8e(_0x2faef2)),q(0x4,_0x279b8e(_0x336f16)),q(0x5,_0x279b8e(_0x13e5f9)),q(0x6,_0x279b8e(_0x54626c)),q(0x7,_0x279b8e(_0x4749e2)),q(0x8,_0x279b8e(_0x885600)),q(0x9,_0x279b8e(_0x34d466)),q(0xa,_0x279b8e(_0x472cdf)),q(0xb,_0x279b8e(_0x5808ec)),q(0xc,_0x279b8e(Y))],Z);function Ui(_0x4de7d1){const _0x4da590=_0x12baa0;return new _0x3fb342(_0x4de7d1)[_0x4da590(0x3d0)]();}function Wi(_0x431060){const _0x5c078c=_0x12baa0;let _0x23cc1d=new _0x3fb342(_0x431060),_0x1dd898=new _0x3fb342();return _0x23cc1d[_0x5c078c(0x39d)]((_0x302bd4,_0x8b767f)=>{_0x1dd898['setValue'](_0x302bd4,_0x8b767f,0x1);}),_0x251ca9(_0x1dd898);}const Gi=[{'key':0x0,'labelKey':_0x12baa0(0x492)},{'key':0x1,'labelKey':_0x12baa0(0x473)},{'key':0x2,'labelKey':_0x12baa0(0x28a)}];function Ki(_0x2eaaa4){const _0x2e1097=_0x12baa0;let {value:_0x30f258,onChange:_0x57584d}=_0x2eaaa4,_0x179eaf=_0x209518(_0x472cdf);return _0x2e4a32(_0x2e1097(0x3f4),{'className':_0x2e1097(0x3ca),'children':_0x2e4a32(_0x2428d5,{'items':Gi['map'](_0x240fd7=>({'label':_0x179eaf['t'](_0x240fd7[_0x2e1097(0x1cb)]),'value':_0x240fd7['key']})),'value':_0x30f258,'onChange':_0x57584d})});}function qi(){const _0x254540=_0x12baa0;var _0x116c4d;let _0x3d0190=_0x209518(X),_0x179926=_0x209518(Y),_0x44d301=_0x209518(Z),_0x776bbe=_0x209518(_0x26c683),_0x5f0a40=_0x10dc61(_0x3d0190[_0x254540(0x2db)]),_0x53d99e=_0x10dc61(_0x3d0190['creators$'],[]),[_0x18c1dc,_0x1795e2]=_0x142bf9(()=>new Set()),[_0x4c3f1f,_0x409c1a]=_0x142bf9(()=>new Map()),[_0x4fac3f,_0xcf5265]=_0x142bf9(()=>new Set()),[_0x329382,_0x422b24]=_0x142bf9(0x0),_0x17cd93=_0x209518(_0x472cdf),_0x35a6dd=_0x4d67d6(null),[_0x3ddcc5,_0x44d0cf]=_0x142bf9(!0x1),[_0x16959e,_0x16bc52]=_0x142bf9([]),_0x275556=((_0x116c4d=_0x776bbe[_0x254540(0x3b9)](_0x254540(0x35e)))==null?void 0x0:_0x116c4d['historyAIassistantEnabled'])??!0x1,_0x39855a=Vi(_0x5f0a40),[_0x36a140,_0x4567c2]=_0x142bf9([]),_0x1e9ece=_0x3f6c80(()=>_0x53d99e[_0x254540(0x26d)](_0x27c8d8=>({'key':_0x27c8d8['userId'],'label':_0x27c8d8[_0x254540(0x2da)]})),[_0x53d99e]);_0xd957fd(()=>{const _0x3cb3e4=_0x254540;_0x3d0190[_0x3cb3e4(0x2bd)]()[_0x3cb3e4(0x2f8)](()=>void 0x0);},[_0x3d0190]);let _0x14844b=_0x3393aa(_0x16700c=>{const _0x1a0ac5=_0x254540;_0x4567c2([]),_0x422b24(_0x16700c),_0x3d0190[_0x1a0ac5(0x3dc)]&&_0x3d0190[_0x1a0ac5(0x3ad)](_0x3d0190[_0x1a0ac5(0x3dc)],{'origin':_0x16700c})[_0x1a0ac5(0x2f8)](()=>void 0x0);},[_0x3d0190]);_0xd957fd(()=>{const _0x4ae566=_0x254540;let _0x54fd52=_0x35a6dd[_0x4ae566(0x3f2)];if(!_0x54fd52)return;let _0x25b932,_0x123b57=()=>{clearTimeout(_0x25b932),_0x25b932=setTimeout(()=>{const _0xc32396=_0xc465;let {scrollTop:_0x23d3b0,scrollHeight:_0x568b93,clientHeight:_0x318060}=_0x54fd52;_0x23d3b0+_0x318060>=_0x568b93-0x5&&_0x3d0190[_0xc32396(0x4a0)]()[_0xc32396(0x2f8)](()=>void 0x0);},0x64);};return _0x54fd52[_0x4ae566(0x204)]('scroll',_0x123b57),()=>{const _0xdd7aa2=_0x4ae566;clearTimeout(_0x25b932),_0x54fd52[_0xdd7aa2(0x41b)](_0xdd7aa2(0x47f),_0x123b57);};},[_0x3d0190]);let _0x2f44dd=_0x3393aa(async _0x1d8e6d=>{const _0x59040f=_0x254540;let _0x193e41=_0x1d8e6d['id'];if(_0x18c1dc['has'](_0x193e41)){_0x1795e2(_0x3b1ea4=>{const _0x1de607=_0xc465;let _0x413146=new Set(_0x3b1ea4);return _0x413146[_0x1de607(0x4a3)](_0x193e41),_0x413146;});return;}if(_0x4c3f1f[_0x59040f(0x28e)](_0x193e41)){_0x1795e2(_0x3651d6=>new Set(_0x3651d6)[_0x59040f(0x2b4)](_0x193e41));return;}_0xcf5265(_0x5e0ba5=>new Set(_0x5e0ba5)[_0x59040f(0x2b4)](_0x193e41));try{var _0x59fbc0;let _0x1f55e9=_0x3d0190['unitId'];if(!_0x1f55e9)return;let _0x4082a5=await _0x179926[_0x59040f(0x3a9)]({},{'unitId':_0x1f55e9,'startRevision':_0x1d8e6d['startRev'],'endRevision':_0x1d8e6d[_0x59040f(0x495)]});if(((_0x59fbc0=_0x4082a5[_0x59040f(0x240)])==null?void 0x0:_0x59fbc0[_0x59040f(0x388)])===0x1&&_0x4082a5[_0x59040f(0x404)]){let _0x52c776=_0x4082a5[_0x59040f(0x404)][_0x59040f(0x3d9)]()[_0x59040f(0x26d)](_0x3e17bc=>{const _0x2ec273=_0x59040f;var _0xd59442,_0x231853;let _0x3f2649=_0x31e9c7(_0x3e17bc),_0x4a15ba=_0x3e17bc[_0x2ec273(0x487)]||_0x3f2649['userID'],_0x55a48d=(_0xd59442=_0x4082a5[_0x2ec273(0x374)])==null?void 0x0:_0xd59442[_0x4a15ba],_0x8083c2=((_0x231853=_0x3e17bc[_0x2ec273(0x261)])==null?void 0x0:_0x231853[_0x2ec273(0x26d)](_0x3349d4=>_0x3349d4['id']))||[];return{'id':_0x193e41+_0x2ec273(0x302)+_0x3e17bc['revision'],'unitId':_0x3e17bc[_0x2ec273(0x224)],'startRev':_0x3e17bc[_0x2ec273(0x2ce)],'endRev':_0x3e17bc['revision'],'time':_0x3e17bc[_0x2ec273(0x28f)]?_0x3e17bc[_0x2ec273(0x28f)]*0x3e8:void 0x0,'user':(_0x55a48d==null?void 0x0:_0x55a48d[_0x2ec273(0x2da)])||'','users':[(_0x55a48d==null?void 0x0:_0x55a48d[_0x2ec273(0x2da)])||''],'commands':_0x8083c2,'isAnonymous':!0x1,'isDetail':!0x0,'parentId':_0x193e41,'additionalFields':_0x3e17bc[_0x2ec273(0x3c0)]};});_0x409c1a(_0x20ac80=>new Map(_0x20ac80)[_0x59040f(0x45b)](_0x193e41,_0x52c776)),_0x52c776[_0x59040f(0x348)](_0x186535=>{const _0x232522=_0x59040f;_0x3d0190[_0x232522(0x301)](_0x186535);});for(let _0x9ae677 of _0x52c776)await _0x44d301['ensureVersion'](_0x9ae677['id']);_0x1795e2(_0x302ce1=>new Set(_0x302ce1)['add'](_0x193e41));}}catch(_0x257371){console[_0x59040f(0x240)](_0x59040f(0x21a),_0x257371);}finally{_0xcf5265(_0x3a9c25=>{let _0x25c36b=new Set(_0x3a9c25);return _0x25c36b['delete'](_0x193e41),_0x25c36b;});}},[_0x18c1dc,_0x4c3f1f,_0x3d0190,_0x179926,_0x44d301]);return _0x5f0a40?_0x1a80e6(_0x254540(0x3f4),{'ref':_0x35a6dd,'className':_0x254540(0x266),'children':[_0x275556&&_0x1a80e6(_0x254540(0x3f4),{'className':_0x254540(0x3bb),'children':[_0x2e4a32(_0x254540(0x3f4),{'className':_0x254540(0x241),'children':_0x2e4a32(Ki,{'value':_0x329382,'onChange':_0x14844b})}),_0x2e4a32(_0x516705,{'align':_0x254540(0x25a),'open':_0x3ddcc5,'onOpenChange':_0x3b7406=>{_0x44d0cf(_0x3b7406),_0x3b7406&&_0x16bc52(_0x36a140);},'overlay':_0x1a80e6(_0x254540(0x3f4),{'className':'univer-min-w-[240px]','children':[_0x2e4a32('div',{'className':_0x254540(0x407),'children':_0x17cd93['t']('sheets-history-ui.viewer.panel.filterCollaborator')}),_0x2e4a32(_0x254540(0x3f4),{'className':_0x254540(0x212)}),_0x2e4a32(_0x254540(0x3f4),{'className':'univer-max-h-[300px]\x20univer-overflow-y-auto\x20univer-py-1','children':_0x1e9ece[_0x254540(0x26d)](_0x590452=>{const _0x216d1b=_0x254540;let _0x1488f0=_0x16959e[_0x216d1b(0x398)](_0x590452[_0x216d1b(0x480)]);return _0x1a80e6(_0x216d1b(0x3f4),{'className':_0x216d1b(0x482),'onClick':()=>{const _0x129ecb=_0x216d1b;let _0x4d60ec=_0x1488f0?_0x16959e[_0x129ecb(0x1db)](_0x266a88=>_0x266a88!==_0x590452['key']):[..._0x16959e,_0x590452[_0x129ecb(0x480)]];_0x16bc52(_0x4d60ec);},'children':[_0x2e4a32(_0x41ddc6,{'checked':_0x1488f0}),_0x2e4a32(_0x216d1b(0x387),{'className':_0x216d1b(0x1d8),'children':_0x590452[_0x216d1b(0x396)]})]},_0x590452[_0x216d1b(0x480)]);})}),_0x2e4a32('div',{'className':'univer-border-t\x20univer-border-gray-200\x20dark:!univer-border-gray-700'}),_0x1a80e6(_0x254540(0x3f4),{'className':_0x254540(0x447),'children':[_0x2e4a32(_0x490bb9,{'variant':'ghost','onClick':()=>{_0x16bc52(_0x36a140),_0x44d0cf(!0x1);},'children':_0x17cd93['t'](_0x254540(0x203))}),_0x2e4a32(_0x490bb9,{'onClick':()=>{const _0x4f5862=_0x254540;_0x4567c2(_0x16959e),_0x3d0190['unitId']&&_0x3d0190[_0x4f5862(0x3ad)](_0x3d0190['unitId'],{'origin':_0x329382,'userIds':_0x16959e})[_0x4f5862(0x2f8)](()=>void 0x0),_0x44d0cf(!0x1);},'children':_0x17cd93['t'](_0x254540(0x44a))})]})]}),'children':_0x2e4a32(_0x490bb9,{'variant':_0x254540(0x425),'children':_0x2e4a32(_0x16e29b,{'className':_0x689734(_0x254540(0x3cb),{'univer-text-blue-600\x20dark:!univer-text-blue-400':_0x36a140[_0x254540(0x278)]>0x0})})})})]}),_0x2e4a32(_0x254540(0x3f4),{'className':_0x254540(0x27e),'children':_0x39855a[_0x254540(0x26d)](_0x3ea6db=>_0x1a80e6(_0x2a31dd,{'children':[_0x2e4a32(Yi,{'date':_0x3ea6db[_0x254540(0x413)],'startDate':_0x3ea6db[_0x254540(0x37b)],'endDate':_0x3ea6db[_0x254540(0x353)]}),_0x3ea6db[_0x254540(0x3d7)][_0x254540(0x26d)](_0x5d2c49=>{const _0x2c6138=_0x254540;let _0x2d190e=_0x18c1dc[_0x2c6138(0x28e)](_0x5d2c49['id']),_0x55dc01=_0x4fac3f[_0x2c6138(0x28e)](_0x5d2c49['id']),_0x333ab1=_0x4c3f1f['get'](_0x5d2c49['id'])||[];return _0x1a80e6(_0x2a31dd,{'children':[_0x2e4a32(Xi,{'item':_0x5d2c49,'onToggleExpand':_0x2f44dd,'isExpanded':_0x2d190e,'isLoadingDetail':_0x55dc01}),_0x2d190e&&_0x333ab1[_0x2c6138(0x26d)]((_0x395738,_0x18eb59)=>_0x1a80e6(_0x2c6138(0x3f4),{'className':_0x2c6138(0x1cd),'children':[_0x1a80e6(_0x2c6138(0x3f4),{'className':'univer-absolute\x20univer-left-[30px]\x20univer-top-0\x20univer-h-full\x20univer-w-2.5\x20rtl:univer-left-auto\x20rtl:univer-right-[30px]','children':[_0x18eb59<_0x333ab1[_0x2c6138(0x278)]-0x1&&_0x2e4a32(_0x2c6138(0x3f4),{'className':_0x2c6138(0x450)}),_0x18eb59===_0x333ab1['length']-0x1&&_0x2e4a32(_0x2c6138(0x3f4),{'className':_0x2c6138(0x279)}),_0x2e4a32(_0x2c6138(0x3f4),{'className':_0x2c6138(0x23f)})]}),_0x2e4a32(Xi,{'item':_0x395738,'isDetail':!0x0})]},_0x5d2c49['id']+_0x2c6138(0x302)+_0x395738['id']))]},_0x5d2c49['id']);})]},_0x3ea6db['dateString']))})]}):_0x2e4a32(Ji,{});}function Ji(){const _0x2e7891=_0x12baa0;return _0x2e4a32(_0x2e7891(0x3f4),{'className':'univer-flex\x20univer-items-center\x20univer-justify-center','children':_0x2e4a32(_0x2e7891(0x387),{'className':_0x2e7891(0x25e),'children':_0x2e4a32(_0x2e5339,{'className':_0x2e7891(0x3e4)})})});}function Yi(_0x3bf1e6){const _0x170423=_0x12baa0;let _0x4cfd2d=_0x209518(_0x472cdf),{date:_0x118aa1,startDate:_0x5bc46e=_0x118aa1}=_0x3bf1e6;return _0x2e4a32(_0x170423(0x3f4),{'className':_0x170423(0x2e2),'children':Bi(_0x5bc46e,_0x4cfd2d)});}function Xi(_0x2a83d9){const _0x4157ac=_0x12baa0;let {item:_0x4d2077,onToggleExpand:_0x44288d,isExpanded:_0x57b0fd,isLoadingDetail:_0x208a72,isDetail:_0x3b52b3}=_0x2a83d9,{time:_0x174378,user:_0x4aabf3,startRevCreateTime:_0x30d905,endRevCreateTime:_0x4a0729,users:_0x21b755}=_0x4d2077,_0x288004=_0x209518(X),_0x484b6a=_0x209518(Z),_0x11013a=_0x10dc61(_0x288004[_0x4157ac(0x24b)],'',!0x0)===_0x4d2077['id'],_0x45b261=_0x288004[_0x4157ac(0x3c5)]()===_0x4d2077['endRev'],_0x34a838=!_0x45b261&&_0x288004['canRevert'],_0x5c3828=_0x209518(_0x472cdf),_0x39f0a7=Li(_0x174378,_0x5c3828),_0x1bedfe=Li(_0x30d905,_0x5c3828),_0x5424f1=Li(_0x4a0729,_0x5c3828),_0x15168a=_0x5c3828['t']('sheets-history-ui.viewer.panel.currentVersion'),_0x299f01=_0x4d2077['startRev']!==_0x4d2077[_0x4157ac(0x495)],_0x8bfc70=!!_0x4d2077[_0x4157ac(0x3c0)],_0x3f2ace=_0x3f6c80(()=>{const _0x2472d8=_0x4157ac;let _0xc9371a=_0x4aabf3||_0x5c3828['t']('sheets-history-ui.viewer.panel.unknownUser');return _0x21b755&&_0x21b755[_0x2472d8(0x1db)](_0x10a45=>_0x10a45)[_0x2472d8(0x278)]>0x0&&(_0xc9371a=_0x21b755['filter'](_0x3436da=>_0x3436da)[_0x2472d8(0x1d3)](',\x20')),_0x8bfc70?''+_0x5c3828['t']('sheets-history-ui.viewer.panel.aiAssistant')+(_0xc9371a?'\x20('+_0xc9371a+')':''):_0xc9371a;},[_0x8bfc70,_0x4aabf3,_0x21b755,_0x5c3828]),_0xee964c=_0x3393aa(async _0x422758=>{const _0x54fdf2=_0x4157ac;_0x288004['loadingState']!=='loading'&&(_0x288004['selectVersion'](_0x422758),_0x3b52b3&&(await _0x484b6a[_0x54fdf2(0x31c)](_0x422758),await _0x288004['triggerLoadSheet'](_0x422758)));},[_0x288004,_0x484b6a,_0x3b52b3]),_0x191753=_0x3393aa(_0x8ac14c=>{_0x288004['triggerRevert'](_0x8ac14c)['catch'](()=>void 0x0);},[_0x288004]),_0xa4e198=_0x3393aa(_0x2b3df2=>{const _0x19ac5d=_0x4157ac;_0x2b3df2[_0x19ac5d(0x26e)](),_0x44288d&&!_0x208a72&&_0x44288d(_0x4d2077)[_0x19ac5d(0x2f8)](()=>void 0x0);},[_0x44288d,_0x4d2077,_0x208a72]),_0x5a4474=_0x2e4a32(_0x53be89,{'className':'univer-size-8\x20univer-text-gray-400\x20rtl:univer-rotate-180'});_0x208a72?_0x5a4474=_0x2e4a32(_0x2e5339,{'className':'univer-animate-spin'}):_0x57b0fd&&(_0x5a4474=_0x2e4a32(_0x1efc38,{'className':'univer-size-8\x20univer-text-gray-400'}));let _0x5ac1c0=_0x1bedfe[_0x4157ac(0x20d)];return _0x3b52b3?_0x5ac1c0=_0x39f0a7['time']:_0x30d905!==_0x4a0729&&(_0x5ac1c0=_0x1bedfe['time']+_0x4157ac(0x2c5)+_0x5424f1[_0x4157ac(0x20d)]),_0x1a80e6(_0x4157ac(0x3f4),{'className':_0x689734('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',{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0x11013a,'univer-ml-6\x20rtl:univer-ml-0\x20rtl:univer-mr-6':_0x3b52b3}),'onClick':()=>_0xee964c(_0x4d2077['id'])[_0x4157ac(0x2f8)](()=>void 0x0),'children':[_0x2e4a32('div',{'className':_0x4157ac(0x2a7),'children':_0x299f01&&!_0x3b52b3&&_0x2e4a32(_0x4157ac(0x3f4),{'onClick':_0xa4e198,'className':_0x4157ac(0x2d7),'children':_0x5a4474})}),_0x1a80e6(_0x4157ac(0x3f4),{'className':_0x4157ac(0x3e5),'children':[_0x1a80e6(_0x4157ac(0x3f4),{'className':_0x4157ac(0x436),'children':[_0x1a80e6('div',{'className':_0x4157ac(0x410),'children':[_0x8bfc70&&_0x2e4a32(_0x771a64,{'className':'univer-size-4\x20univer-shrink-0'}),_0x2e4a32('span',{'className':'univer-break-all\x20univer-font-medium\x20univer-text-gray-700\x20dark:!univer-text-gray-200','children':_0x3f2ace}),_0x2e4a32(_0x4157ac(0x387),{'className':'univer-text-center\x20univer-text-gray-500\x20dark:!univer-text-gray-400','children':_0x5ac1c0}),_0x45b261&&_0x2e4a32('span',{'className':'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','children':_0x15168a})]}),_0x2e4a32(_0x4157ac(0x3f4),{'children':_0x34a838&&_0x2e4a32(_0x58b6e6,{'title':_0x5c3828['t'](_0x4157ac(0x31f)),'children':_0x2e4a32(_0x4157ac(0x3f4),{'onClick':_0x393c8c=>{_0x393c8c['stopPropagation'](),_0x191753(_0x4d2077['id']);},'className':_0x4157ac(0x282),'children':_0x2e4a32(_0x404371,{})})})})]}),_0x2e4a32(_0x4157ac(0x3f4),{'className':_0x4157ac(0x298),'children':Ri(_0x4d2077,_0x5c3828)})]})]});}let Zi=class extends _0x3e44cf{constructor(_0x5317b0,_0x35dc5){const _0x4bd77b=_0x12baa0;super(),this['disposeWithMe'](_0x5317b0[_0x4bd77b(0x2e1)](Ti,qi)),this[_0x4bd77b(0x37d)](_0x35dc5[_0x4bd77b(0x2e1)]({'HistoryIcon':_0x4f0cb3}));}};Zi=J([q(0x0,_0x279b8e(_0x265a21)),q(0x1,_0x279b8e(_0x131572))],Zi);let Qi=class extends _0x3e44cf{constructor(_0x740ddd){const _0x36418c=_0x12baa0;super(),this[_0x36418c(0x444)]=_0x740ddd,this['_init']();}[_0x12baa0(0x35b)](){const _0x4944ef=_0x12baa0;this[_0x4944ef(0x37d)](this['_cellEditorManagerService'][_0x4944ef(0x4a6)][_0x4944ef(0x21d)](_0x528743=>{const _0x3da25d=_0x4944ef;_0x528743!=null&&_0x528743[_0x3da25d(0x217)]&&this[_0x3da25d(0x444)][_0x3da25d(0x2e4)]({'show':!0x1});}));}};Qi=J([q(0x0,_0x16fb89)],Qi);function $i(){const _0x59489a=_0x12baa0;let _0x2fa329=_0x209518(X),_0x44fc11=_0x209518(_0x472cdf);if(_0x10dc61(_0x2fa329[_0x59489a(0x378)],'init')!==_0x59489a(0x414))return null;let _0x43fcad=_0x44fc11['t']('sheets-history-ui.viewer.info.loading');return _0x2e4a32(_0x59489a(0x3f4),{'aria-busy':'true','aria-label':_0x43fcad,'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':_0x1a80e6(_0x59489a(0x3f4),{'role':_0x59489a(0x4a2),'aria-live':'polite','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':[_0x2e4a32(_0x2e5339,{'className':_0x59489a(0x3da)}),_0x2e4a32('span',{'children':_0x43fcad})]})});}function ea(){const _0x43b719=_0x12baa0;let _0x57cfc3=_0x209518(X),_0xd7bcec=_0x209518(_0x472cdf),_0x35641b=_0x10dc61(_0x57cfc3[_0x43b719(0x24b)]),_0x2106f6=_0x3f6c80(()=>_0x35641b?_0x57cfc3[_0x43b719(0x380)]():!0x1,[_0x57cfc3,_0x35641b]),_0x182151=_0x3393aa(()=>{_0x57cfc3['exitHistoryMode']();},[_0x57cfc3]),_0x122e86=_0x3393aa(()=>{const _0x27ecfc=_0x43b719;_0x57cfc3[_0x27ecfc(0x47a)]();},[_0x57cfc3]);return _0x1a80e6(_0x43b719(0x3f4),{'className':_0x689734('univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center\x20univer-justify-between\x20univer-px-3',_0x5627ed),'children':[_0x1a80e6(_0x490bb9,{'onClick':_0x182151,'children':[_0x2e4a32(_0xb38fbf,{'className':'univer-size-4'}),_0xd7bcec['t']('sheets-history-ui.viewer.header.back')]}),_0x2e4a32(_0x490bb9,{'variant':_0x43b719(0x431),'disabled':!_0x2106f6,'onClick':_0x122e86,'children':_0xd7bcec['t']('sheets-history-ui.viewer.header.revert')})]});}let ta=class extends _0x3e44cf{constructor(_0x28424a,_0x582ab1,_0x16120f,_0x5c1630,_0x1165dc,_0x13c337,_0x5a7681){const _0x5da3b1=_0x12baa0;super(),this['_permissionService']=_0x28424a,this['_uiPartsService']=_0x582ab1,this[_0x5da3b1(0x417)]=_0x16120f,this[_0x5da3b1(0x2cd)]=_0x5c1630,this[_0x5da3b1(0x347)]=_0x1165dc,this[_0x5da3b1(0x390)]=_0x13c337,this[_0x5da3b1(0x30d)]=_0x5a7681,this[_0x5da3b1(0x35b)]();}[_0x12baa0(0x35b)](){const _0x50817a=_0x12baa0;this['disposeWithMe'](this[_0x50817a(0x347)]['currentVersion$'][_0x50817a(0x21d)](_0x3a2985=>{const _0x1c8339=_0x50817a;_0x3a2985&&this[_0x1c8339(0x347)][_0x1c8339(0x3f8)](_0x3a2985);})),this[_0x50817a(0x37d)](this[_0x50817a(0x23a)][_0x50817a(0x312)][_0x50817a(0x21d)](_0x11430c=>{const _0x428796=_0x50817a;let _0x12e703=this[_0x428796(0x347)][_0x428796(0x3dc)];_0x12e703&&(_0x11430c[_0x428796(0x2be)]===_0x20c942['Edit']&&_0x11430c['value']===!0x0&&this[_0x428796(0x23a)]['updatePermissionPoint'](new _0x2d4b7e(_0x12e703)['id'],!0x1),_0x11430c[_0x428796(0x2be)]===_0x20c942['RenameSheet']&&_0x11430c[_0x428796(0x415)]===!0x0&&this[_0x428796(0x23a)][_0x428796(0x462)](new _0x53d8f8(_0x12e703)['id'],!0x1),_0x11430c[_0x428796(0x2be)]===_0x20c942[_0x428796(0x3c7)]&&_0x11430c[_0x428796(0x415)]===!0x0&&this[_0x428796(0x23a)][_0x428796(0x462)](new _0x44980b(_0x12e703)['id'],!0x1),_0x11430c[_0x428796(0x2be)]===_0x20c942['HideSheet']&&_0x11430c[_0x428796(0x415)]===!0x0&&this[_0x428796(0x23a)][_0x428796(0x462)](new _0x504fdc(_0x12e703)['id'],!0x1),_0x11430c[_0x428796(0x2be)]===_0x20c942[_0x428796(0x3dd)]&&_0x11430c['value']===!0x0&&this['_permissionService']['updatePermissionPoint'](new _0x2d4b7e(_0x12e703)['id'],!0x1),_0x11430c['subType']===_0x20c942[_0x428796(0x259)]&&_0x11430c[_0x428796(0x415)]===!0x0&&this[_0x428796(0x23a)][_0x428796(0x462)](new _0x2d4b7e(_0x12e703)['id'],!0x1));})),this[_0x50817a(0x3d3)](),this[_0x50817a(0x354)]();let _0xcf92e3=null;this[_0x50817a(0x37d)](_0x239555(()=>_0xcf92e3==null?void 0x0:_0xcf92e3['dispose']())),this['disposeWithMe'](this[_0x50817a(0x347)][_0x50817a(0x378)]['subscribe'](_0x4eb5d8=>{const _0x368695=_0x50817a;_0xcf92e3==null||_0xcf92e3[_0x368695(0x288)](),_0xcf92e3=null,_0x4eb5d8==='loading'&&(_0xcf92e3=this[_0x368695(0x417)][_0x368695(0x217)]({'type':_0x516041[_0x368695(0x3a8)],'content':this['_localeService']['t'](_0x368695(0x46a)),'duration':0x3e8}));}));}['_registerHeader'](){const _0x337f19=_0x12baa0;var _0x294981;(_0x294981=this[_0x337f19(0x30d)][_0x337f19(0x3b9)](_0x337f19(0x35e)))!=null&&_0x294981['historyPanelHidden']||this[_0x337f19(0x37d)](this[_0x337f19(0x28d)][_0x337f19(0x25c)](_0xfed455[_0x337f19(0x411)],()=>_0x26a091(ea,this[_0x337f19(0x390)])));}['_registerLoadingMask'](){const _0x4115e8=_0x12baa0;this[_0x4115e8(0x37d)](this[_0x4115e8(0x28d)][_0x4115e8(0x25c)](_0xfed455[_0x4115e8(0x262)],()=>_0x26a091($i,this[_0x4115e8(0x390)])));}};ta=J([q(0x0,_0x4820fc),q(0x1,_0x2f2810),q(0x2,_0x4950eb),q(0x3,_0x279b8e(_0x472cdf)),q(0x4,_0x279b8e(X)),q(0x5,_0x279b8e(_0x627409)),q(0x6,_0x26c683)],ta);const na={'insert':_0x12baa0(0x255),'delete':_0x12baa0(0x228),'update':_0x12baa0(0x400)};let ra=class extends _0x3e44cf{constructor(_0x5c2ce0){const _0x3908cb=_0x12baa0;super(),this[_0x3908cb(0x26a)]=_0x5c2ce0,K(this,'_palette$',void 0x0),K(this,_0x3908cb(0x43a),void 0x0),this[_0x3908cb(0x478)]=new _0x976c30(this['_createPalette']()),this[_0x3908cb(0x43a)]=this[_0x3908cb(0x478)][_0x3908cb(0x27a)](),this[_0x3908cb(0x37d)](this[_0x3908cb(0x26a)][_0x3908cb(0x438)][_0x3908cb(0x3a4)](_0x5552b6(0x1))[_0x3908cb(0x21d)](()=>{const _0x216b08=_0x3908cb;this[_0x216b08(0x478)]['next'](this['_createPalette']());})),this[_0x3908cb(0x37d)](_0x239555(()=>this[_0x3908cb(0x478)][_0x3908cb(0x46b)]()));}[_0x12baa0(0x2e8)](){const _0x4f3e63=_0x12baa0;return{'insert':this[_0x4f3e63(0x3c9)](_0x4f3e63(0x452)),'delete':this[_0x4f3e63(0x3c9)](_0x4f3e63(0x4a3)),'update':this[_0x4f3e63(0x3c9)]('update')};}[_0x12baa0(0x3c9)](_0x5a65c3){const _0x3c549a=_0x12baa0;let _0x1ee873=this[_0x3c549a(0x26a)]['getColorFromTheme'](na[_0x5a65c3]);return{'fill':new _0x3273f8(_0x1ee873)[_0x3c549a(0x289)](0.5)['toRgbString'](),'stroke':new _0x3273f8(_0x1ee873)[_0x3c549a(0x289)](0.9)[_0x3c549a(0x310)]()};}};ra=J([q(0x0,_0x279b8e(_0x56031e))],ra);var ia=class extends _0x2594cb{constructor(_0x484609,_0x42bc09){const _0x5b15b4=_0x12baa0;super(_0x484609,_0x42bc09),K(this,_0x5b15b4(0x2fc),void 0x0),K(this,_0x5b15b4(0x33a),void 0x0),K(this,'_highlight',!0x1),K(this,_0x5b15b4(0x27c),0x4),K(this,_0x5b15b4(0x454),void 0x0),K(this,_0x5b15b4(0x2af),void 0x0),K(this,_0x5b15b4(0x441),!0x0),this[_0x5b15b4(0x2fc)]=_0x42bc09[_0x5b15b4(0x40d)],this['_direction']=_0x42bc09[_0x5b15b4(0x1d2)],this[_0x5b15b4(0x276)](_0x42bc09),_0x42bc09[_0x5b15b4(0x268)]&&this[_0x5b15b4(0x1ea)](_0x42bc09[_0x5b15b4(0x1ff)]??this[_0x5b15b4(0x27c)]);}[_0x12baa0(0x276)](_0x2ad6df){const _0x5a71f1=_0x12baa0;this[_0x5a71f1(0x2fc)]=_0x2ad6df[_0x5a71f1(0x40d)]??this[_0x5a71f1(0x2fc)],this[_0x5a71f1(0x33a)]=_0x2ad6df[_0x5a71f1(0x1d2)]??this[_0x5a71f1(0x33a)],this[_0x5a71f1(0x3e9)]=_0x2ad6df[_0x5a71f1(0x268)]??this[_0x5a71f1(0x3e9)],this[_0x5a71f1(0x27c)]=_0x2ad6df[_0x5a71f1(0x1ff)]??this[_0x5a71f1(0x27c)],this[_0x5a71f1(0x3c2)]({'width':_0x2ad6df[_0x5a71f1(0x291)]??this['width'],'height':_0x2ad6df[_0x5a71f1(0x20a)]??this[_0x5a71f1(0x20a)]});}['triggerDblclick'](_0x44a823){return!0x1;}['dispose'](){const _0x377f84=_0x12baa0;this[_0x377f84(0x2b9)](),super[_0x377f84(0x288)]();}[_0x12baa0(0x475)](_0x501760){const _0x54f4b3=_0x12baa0;_0x501760[_0x54f4b3(0x1f6)](),_0x501760[_0x54f4b3(0x290)]=this[_0x54f4b3(0x3e9)]&&!this[_0x54f4b3(0x441)]?0.25:0x1,_0x501760[_0x54f4b3(0x2d3)]=this[_0x54f4b3(0x2fc)],_0x501760['fillStyle']=this[_0x54f4b3(0x2fc)],_0x501760['lineWidth']=0x4,this[_0x54f4b3(0x33a)]===_0x54f4b3(0x43b)?this[_0x54f4b3(0x26c)](_0x501760):this['_drawVerticalArrow'](_0x501760),_0x501760[_0x54f4b3(0x47e)]();}['_startBlinking'](_0xb9511b){const _0x3a1c86=_0x12baa0;this[_0x3a1c86(0x2b9)](),this['_isBlinkVisible']=!0x0,this['_blinkIntervalTimer']=window[_0x3a1c86(0x1e1)](()=>{const _0xc6f93b=_0x3a1c86;this['_isBlinkVisible']=!this['_isBlinkVisible'],this[_0xc6f93b(0x466)](!0x0);},0x1f4),this[_0x3a1c86(0x454)]=window['setTimeout'](()=>{const _0x2a88e1=_0x3a1c86;this[_0x2a88e1(0x2b9)](),this[_0x2a88e1(0x441)]=!0x0,this['makeDirty'](!0x0);},_0xb9511b*0x3e8);}[_0x12baa0(0x2b9)](){const _0x25af28=_0x12baa0;this[_0x25af28(0x2af)]!==void 0x0&&(window['clearInterval'](this[_0x25af28(0x2af)]),this['_blinkIntervalTimer']=void 0x0),this[_0x25af28(0x454)]!==void 0x0&&(window[_0x25af28(0x2f9)](this[_0x25af28(0x454)]),this[_0x25af28(0x454)]=void 0x0);}[_0x12baa0(0x26c)](_0x94bef){const _0x54ec14=_0x12baa0;let _0x2146ee=this['height']/0x2;_0x94bef[_0x54ec14(0x27d)](),_0x94bef[_0x54ec14(0x4a9)](0xc,_0x2146ee),_0x94bef[_0x54ec14(0x307)](this[_0x54ec14(0x291)]-0xc,_0x2146ee),_0x94bef[_0x54ec14(0x3b8)](),_0x94bef['beginPath'](),_0x94bef[_0x54ec14(0x4a9)](0x0,_0x2146ee),_0x94bef[_0x54ec14(0x307)](0xc,_0x2146ee-0xc/0x2),_0x94bef[_0x54ec14(0x307)](0xc,_0x2146ee+0xc/0x2),_0x94bef[_0x54ec14(0x22f)](),_0x94bef[_0x54ec14(0x439)](),_0x94bef[_0x54ec14(0x27d)](),_0x94bef[_0x54ec14(0x4a9)](this[_0x54ec14(0x291)],_0x2146ee),_0x94bef['lineTo'](this[_0x54ec14(0x291)]-0xc,_0x2146ee-0xc/0x2),_0x94bef[_0x54ec14(0x307)](this[_0x54ec14(0x291)]-0xc,_0x2146ee+0xc/0x2),_0x94bef['closePath'](),_0x94bef[_0x54ec14(0x439)]();}[_0x12baa0(0x3e8)](_0x4a0b12){const _0x43110f=_0x12baa0;let _0x4482b1=this[_0x43110f(0x291)]/0x2;_0x4a0b12[_0x43110f(0x27d)](),_0x4a0b12[_0x43110f(0x4a9)](_0x4482b1,0xc),_0x4a0b12[_0x43110f(0x307)](_0x4482b1,this['height']-0xc),_0x4a0b12[_0x43110f(0x3b8)](),_0x4a0b12[_0x43110f(0x27d)](),_0x4a0b12[_0x43110f(0x4a9)](_0x4482b1,0x0),_0x4a0b12[_0x43110f(0x307)](_0x4482b1-0xc/0x2,0xc),_0x4a0b12[_0x43110f(0x307)](_0x4482b1+0xc/0x2,0xc),_0x4a0b12[_0x43110f(0x22f)](),_0x4a0b12[_0x43110f(0x439)](),_0x4a0b12[_0x43110f(0x27d)](),_0x4a0b12[_0x43110f(0x4a9)](_0x4482b1,this['height']),_0x4a0b12['lineTo'](_0x4482b1-0xc/0x2,this[_0x43110f(0x20a)]-0xc),_0x4a0b12['lineTo'](_0x4482b1+0xc/0x2,this[_0x43110f(0x20a)]-0xc),_0x4a0b12[_0x43110f(0x22f)](),_0x4a0b12['fill']();}};let aa=class extends _0x3e44cf{constructor(_0x37ff1d,_0x42c905,_0x55adc9,_0x15c085,_0x3cc5f9,_0x56daa8,_0x58e891,_0x5e5af2,_0x5082b2,_0x2885a1){const _0x17c55d=_0x12baa0;super(),this[_0x17c55d(0x385)]=_0x37ff1d,this[_0x17c55d(0x347)]=_0x42c905,this[_0x17c55d(0x320)]=_0x55adc9,this[_0x17c55d(0x202)]=_0x15c085,this['_renderManagerService']=_0x3cc5f9,this[_0x17c55d(0x294)]=_0x56daa8,this[_0x17c55d(0x2bb)]=_0x58e891,this[_0x17c55d(0x258)]=_0x5e5af2,this[_0x17c55d(0x2cd)]=_0x5082b2,this[_0x17c55d(0x419)]=_0x2885a1,K(this,_0x17c55d(0x3fa),new Set()),K(this,'_borderDiffs',new Set()),K(this,'_arrowDiffs',new Set()),K(this,_0x17c55d(0x43d),null),K(this,_0x17c55d(0x20e),null),this[_0x17c55d(0x35b)]();}[_0x12baa0(0x35b)](){const _0x5b922f=_0x12baa0;this[_0x5b922f(0x234)](),this['_initActiveSwitch']();}[_0x12baa0(0x234)](){const _0x53c641=_0x12baa0;this['_initDiffRender'](),this[_0x53c641(0x2a8)]();}[_0x12baa0(0x21e)](){const _0x1da591=_0x12baa0;this[_0x1da591(0x37d)](_0x31c023([this[_0x1da591(0x347)]['loadingState$'],this[_0x1da591(0x294)][_0x1da591(0x384)],this[_0x1da591(0x419)][_0x1da591(0x43a)]])['pipe'](_0x5890fa(([_0x3067e5,_0x7d840f,_0x1337b8])=>{const _0x5b011a=_0x1da591;if(_0x3067e5===_0x5b011a(0x465)&&_0x7d840f){let _0xbd7399=_0x7d840f[_0x5b011a(0x1f9)];return this[_0x5b011a(0x320)]['currentVersionDiff$'][_0x5b011a(0x3a4)](_0x1db118(_0x3a1e64=>_0x3a1e64[_0x5b011a(0x448)][_0x5b011a(0x278)]===0x0||_0x3a1e64['subUnitIds'][_0x5b011a(0x398)](_0xbd7399)?{'skeleton':_0x7d840f,'versionDiff':_0x3a1e64,'sheetID':_0xbd7399,'palette':_0x1337b8}:{'skeleton':_0x7d840f,'versionDiff':null,'palette':_0x1337b8}));}return _0x1b0576({'skeleton':null,'versionDiff':null,'sheetID':null,'palette':_0x1337b8});}))[_0x1da591(0x21d)](({skeleton:_0x2accb3,versionDiff:_0x27e3b9,sheetID:_0x420e97,palette:_0x26ac34})=>{this['_removeDiffMarks'](),_0x2accb3&&_0x27e3b9&&_0x420e97&&this['_updateDiffMarks'](_0x2accb3,_0x27e3b9,_0x420e97,_0x26ac34);}));}['_initPointerEvents'](){const _0x2cd489=_0x12baa0;this['disposeWithMe'](this[_0x2cd489(0x294)]['currentSkeleton$'][_0x2cd489(0x21d)](_0x400de4=>{const _0x1ce776=_0x2cd489;var _0x41291f;if((_0x41291f=this[_0x1ce776(0x20e)])==null||_0x41291f['unsubscribe'](),this['_pointerMoveSubscription']=null,this['_lastPointer']=null,_0x400de4==null)return;let {skeleton:_0x2d9318}=_0x400de4,{scene:_0x4d2560}=this[_0x1ce776(0x385)];this[_0x1ce776(0x20e)]=_0x4d2560['onPointerMove$'][_0x1ce776(0x2e5)](_0x5fb605(_0x3eb3dd=>{const _0xd3b26e=_0x1ce776;var _0x52fba9,_0x47469d;let {offsetX:_0x182524,offsetY:_0x300f1f}=_0x3eb3dd,{x:_0x1961bd,y:_0x1daf33}=_0x4d2560[_0xd3b26e(0x46d)](_0x5a3070[_0xd3b26e(0x33b)]([_0x182524,_0x300f1f])),{scaleX:_0x22d9fe,scaleY:_0x2297d6}=_0x4d2560[_0xd3b26e(0x3d1)](),_0x28c332=_0x4d2560[_0xd3b26e(0x257)](_0x26835c['VIEW_MAIN']),_0x5033ba=_0x4d2560['getScrollXYInfoByViewport'](_0x5a3070[_0xd3b26e(0x33b)]([_0x1961bd,_0x1daf33]),_0x28c332),_0x37bf6=_0x2d9318[_0xd3b26e(0x467)](_0x182524,_0x300f1f,_0x22d9fe,_0x2297d6,_0x5033ba);(((_0x52fba9=this['_lastPointer'])==null?void 0x0:_0x52fba9[_0xd3b26e(0x42e)])!==_0x37bf6[_0xd3b26e(0x42e)]||((_0x47469d=this['_lastPointer'])==null?void 0x0:_0x47469d[_0xd3b26e(0x1f7)])!==_0x37bf6[_0xd3b26e(0x1f7)])&&(this[_0xd3b26e(0x43d)]=_0x37bf6,this[_0xd3b26e(0x3fa)][_0xd3b26e(0x348)](_0x1743cb=>{const _0x53d7ee=_0xd3b26e;_0x1743cb['evented']||_0x1743cb[_0x53d7ee(0x2ff)](_0x37bf6);}));},0x64));}));}[_0x12baa0(0x442)](){const _0x3b78a0=_0x12baa0;this[_0x3b78a0(0x37d)](_0x31c023([this['_historyManagerService'][_0x3b78a0(0x378)],this[_0x3b78a0(0x320)][_0x3b78a0(0x349)]])[_0x3b78a0(0x21d)](([_0x396819,_0x2933b0])=>{const _0x4955d2=_0x3b78a0;_0x396819===_0x4955d2(0x465)&&(this[_0x4955d2(0x239)](_0x2933b0[_0x4955d2(0x448)]),_0x2933b0[_0x4955d2(0x3d2)]&&this[_0x4955d2(0x2bb)]['syncExecuteCommand'](_0x9e2195['id'],{'unitId':this['_context'][_0x4955d2(0x3dc)],'subUnitId':_0x2933b0[_0x4955d2(0x3d2)]}));}));}['_updateWorksheetVisibility'](_0x545e1b){const _0x4a51a=_0x12baa0;let _0x21116a=this[_0x4a51a(0x202)][_0x4a51a(0x223)](this[_0x4a51a(0x385)][_0x4a51a(0x3dc)],_0x101fbf[_0x4a51a(0x1ec)]);if(!_0x21116a)return;let _0x47155e=_0x21116a[_0x4a51a(0x40b)]();if(_0x545e1b[_0x4a51a(0x278)]===0x0){_0x47155e[_0x4a51a(0x348)](_0x22f7fe=>{const _0x53f6d7=_0x4a51a;_0x22f7fe[_0x53f6d7(0x403)]()&&this[_0x53f6d7(0x361)](_0x22f7fe[_0x53f6d7(0x42c)](),_0x1850e0['FALSE']);});return;}_0x47155e[_0x4a51a(0x348)](_0x5f559e=>{const _0x2a12f7=_0x4a51a;let _0x4a8437=_0x5f559e['getSheetId'](),_0x474d36=_0x545e1b[_0x2a12f7(0x398)](_0x4a8437),_0x1e074c=_0x5f559e[_0x2a12f7(0x403)]();_0x474d36&&_0x1e074c?this[_0x2a12f7(0x361)](_0x4a8437,_0x1850e0['FALSE']):!_0x474d36&&!_0x1e074c&&this[_0x2a12f7(0x361)](_0x4a8437,_0x1850e0[_0x2a12f7(0x3a5)]);});}[_0x12baa0(0x361)](_0x48301c,_0x38e49b){const _0x37cb40=_0x12baa0;this[_0x37cb40(0x2bb)]['syncExecuteCommand'](_0x17fc63['id'],{'unitId':this[_0x37cb40(0x385)][_0x37cb40(0x3dc)],'subUnitId':_0x48301c,'hidden':_0x38e49b});}['_getLabelHorizontalPosition'](){const _0x47e428=_0x12baa0;return this['_localeService']['getDirection']()==='rtl'?'left':_0x47e428(0x22a);}['_updateDiffMarks'](_0x2fd496,_0x4365c2,_0x480c2d,_0x4abe1d){const _0x436d48=_0x12baa0;this[_0x436d48(0x3fa)]['forEach'](_0x3be01e=>{const _0xc4a0db=_0x436d48;_0x3be01e[_0xc4a0db(0x466)]();});let _0x2dd22f=this[_0x436d48(0x1eb)](_0x4365c2,_0x480c2d,_0x4abe1d);this[_0x436d48(0x3fa)]=new Set(_0x2dd22f[_0x436d48(0x1db)](_0x36430a=>_0x36430a instanceof _0x4af65b)),this[_0x436d48(0x3cd)]=new Set(_0x2dd22f[_0x436d48(0x1db)](_0x16397d=>_0x16397d instanceof _0x123d11)),this['_arrowDiffs']=new Set(_0x2dd22f['filter'](_0x2fb403=>_0x2fb403 instanceof ia)),_0x2dd22f[_0x436d48(0x278)]>0x0&&this['_scrollToShape'](_0x2dd22f[0x0],this[_0x436d48(0x385)][_0x436d48(0x287)]);}[_0x12baa0(0x1eb)](_0x4a0f8c,_0x13f7ac,_0x3d1a62){const _0x2e59b8=_0x12baa0;let _0x2eeef2=this['_sheetSkeletonManagerService'][_0x2e59b8(0x244)]();if(!_0x2eeef2)return[];let {scene:_0x12c845}=this[_0x2e59b8(0x385)],_0x3a9271=[],_0x1334e3=_0x2eeac4=>{const _0x1e3270=_0x2e59b8;if(!_0x2eeac4)return new Map();let _0x36a581=new Map();return _0x2eeac4[_0x1e3270(0x348)]((_0x57f1b3,_0x26e75d)=>{const _0x438d17=_0x1e3270;let _0x5399da=_0x57f1b3[_0x438d17(0x1db)](_0x5ef682=>_0x5ef682[_0x438d17(0x2f7)]===_0x13f7ac);_0x5399da[_0x438d17(0x278)]>0x0&&_0x36a581['set'](_0x26e75d,_0x5399da);}),_0x36a581;};return this[_0x2e59b8(0x1f0)](_0x12c845,_0x2eeef2,_0x1334e3(_0x4a0f8c[_0x2e59b8(0x3e1)]),_0x3d1a62[_0x2e59b8(0x452)][_0x2e59b8(0x439)],_0x3a9271),this[_0x2e59b8(0x1f0)](_0x12c845,_0x2eeef2,_0x1334e3(_0x4a0f8c[_0x2e59b8(0x2c3)]),_0x3d1a62[_0x2e59b8(0x4a3)]['fill'],_0x3a9271),this[_0x2e59b8(0x1f0)](_0x12c845,_0x2eeef2,_0x1334e3(_0x4a0f8c[_0x2e59b8(0x21c)]),_0x3d1a62[_0x2e59b8(0x308)][_0x2e59b8(0x439)],_0x3a9271),this[_0x2e59b8(0x208)](_0x12c845,_0x2eeef2,_0x1334e3(_0x4a0f8c[_0x2e59b8(0x3ef)]),_0x3d1a62[_0x2e59b8(0x452)][_0x2e59b8(0x3b8)],_0x3a9271),this[_0x2e59b8(0x208)](_0x12c845,_0x2eeef2,_0x1334e3(_0x4a0f8c[_0x2e59b8(0x2d2)]),_0x3d1a62['delete'][_0x2e59b8(0x3b8)],_0x3a9271),this['_renderBorderRanges'](_0x12c845,_0x2eeef2,_0x1334e3(_0x4a0f8c[_0x2e59b8(0x2cf)]),_0x3d1a62['update'][_0x2e59b8(0x3b8)],_0x3a9271),this[_0x2e59b8(0x42f)](_0x12c845,_0x2eeef2,_0x1334e3(_0x4a0f8c[_0x2e59b8(0x23e)]),_0x3d1a62[_0x2e59b8(0x308)][_0x2e59b8(0x439)],_0x2e59b8(0x1e5),_0x3a9271),this[_0x2e59b8(0x42f)](_0x12c845,_0x2eeef2,_0x1334e3(_0x4a0f8c['arrowColumnRanges']),_0x3d1a62[_0x2e59b8(0x308)]['fill'],'horizontal',_0x3a9271),_0x4a0f8c[_0x2e59b8(0x38c)]&&this[_0x2e59b8(0x408)](_0x12c845,_0x4a0f8c['insertDrawings'],_0x3d1a62[_0x2e59b8(0x452)][_0x2e59b8(0x3b8)],_0x3a9271),_0x4a0f8c[_0x2e59b8(0x457)]&&this[_0x2e59b8(0x408)](_0x12c845,_0x4a0f8c[_0x2e59b8(0x457)],_0x3d1a62[_0x2e59b8(0x4a3)][_0x2e59b8(0x3b8)],_0x3a9271),_0x4a0f8c[_0x2e59b8(0x201)]&&this['_renderDrawingHighlights'](_0x12c845,_0x4a0f8c[_0x2e59b8(0x201)],_0x3d1a62[_0x2e59b8(0x308)][_0x2e59b8(0x3b8)],_0x3a9271),this[_0x2e59b8(0x338)](_0x3a9271),_0x12c845['addObjects'](_0x3a9271,0x14),_0x3a9271;}[_0x12baa0(0x3be)](){const _0x29a1ab=_0x12baa0;this['_diffs']['forEach'](_0x487aba=>{const _0x5c572d=_0xc465;_0x487aba[_0x5c572d(0x1d6)]();}),this[_0x29a1ab(0x3cd)]['forEach'](_0x522d52=>{const _0x2701d9=_0x29a1ab;_0x522d52[_0x2701d9(0x1d6)]();}),this[_0x29a1ab(0x44b)][_0x29a1ab(0x348)](_0x5b4a4d=>{_0x5b4a4d['hide']();});}[_0x12baa0(0x3f5)](){const _0x133892=_0x12baa0;this[_0x133892(0x3fa)][_0x133892(0x348)](_0x5f2b1e=>{const _0x2bd81c=_0x133892;_0x5f2b1e[_0x2bd81c(0x217)]();}),this[_0x133892(0x3cd)][_0x133892(0x348)](_0x199646=>{const _0x20af84=_0x133892;_0x199646[_0x20af84(0x217)]();}),this[_0x133892(0x44b)][_0x133892(0x348)](_0x4249ad=>{const _0x29d061=_0x133892;_0x4249ad[_0x29d061(0x217)]();});}[_0x12baa0(0x2d9)](){const _0x397c11=_0x12baa0;this[_0x397c11(0x435)]();}['scrollToShape'](_0x2624f7,_0x119429){const _0x2ab1ff=_0x12baa0;this[_0x2ab1ff(0x333)](_0x2624f7,_0x119429);}[_0x12baa0(0x1f0)](_0x31fb7a,_0x34dc5b,_0x2b293f,_0x399936,_0x14d5bb){const _0x21ac68=_0x12baa0;_0x2b293f[_0x21ac68(0x348)]((_0x5b31d4,_0x2a5924)=>{const _0x1273ea=_0x21ac68;_0x5b31d4[_0x1273ea(0x348)](_0x5785d1=>{const _0x5ca594=_0x1273ea;var _0x17905b;let {range:_0x145b45,subUnitId:_0xfc3c12,unitId:_0x43921d,showText:_0x281c36='',highlightColumn:_0x414826,highlightRow:_0x152845}=_0x5785d1,{startColumn:_0x16b6d2,startRow:_0x47a919,endColumn:_0x554b50,endRow:_0x94d143}=_0x145b45,_0xfd5e0a=_0x22b131(_0x47a919,_0x16b6d2,_0x31fb7a,_0x34dc5b),_0x11a398=_0x22b131(_0x94d143,_0x554b50,_0x31fb7a,_0x34dc5b),{columnHeaderHeightAndMarginTop:_0x589358}=_0x34dc5b,{startX:_0x1e8877,startY:_0x18822e}=_0xfd5e0a,{endX:_0x1d1a2f,endY:_0x36039e}=_0x11a398,_0x328ccd=_0x34dc5b[_0x5ca594(0x29c)],_0x3355fc=_0x34dc5b[_0x5ca594(0x253)];_0x152845&&(_0x1e8877-=_0x328ccd),_0x414826&&(_0x18822e-=_0x3355fc);let _0x347c0b=_0x1d1a2f-_0x1e8877,_0x44327d=_0x36039e-_0x18822e,_0xfa46fc={'labelPosition':_0x18822e-_0x589358>=0x14?_0x5ca594(0x2ad):_0x5ca594(0x3cc),'sheetID':_0xfc3c12,'range':_0x145b45,'color':_0x399936,'fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x399936,'name':((_0x17905b=this['_historyManagerService'][_0x5ca594(0x423)](_0x2a5924))==null?void 0x0:_0x17905b[_0x5ca594(0x2da)])+'\x20'+_0x281c36||_0x281c36,'labelHorizontalPosition':this[_0x5ca594(0x25d)](),'selection':_0x43921d+'-'+_0xfc3c12+'-'+_0x145b45[_0x5ca594(0x484)]+'-'+_0x145b45[_0x5ca594(0x49b)]+'-'+_0x145b45['endColumn']+'-'+_0x145b45[_0x5ca594(0x270)],'left':_0x1e8877,'top':_0x18822e,'width':_0x347c0b,'height':_0x44327d,'evented':!0x1,'zIndex':0x3e8,'highlight':!0x0};_0x14d5bb[_0x5ca594(0x3f3)](new _0x4af65b('',_0xfa46fc));});});}[_0x12baa0(0x208)](_0x10b9df,_0x27be76,_0xcea008,_0x2fff0e,_0x21b05c){_0xcea008['forEach']((_0x4a9617,_0x328271)=>{const _0x5a85cc=_0xc465;_0x4a9617[_0x5a85cc(0x348)](_0x1ce323=>{const _0x15a30a=_0x5a85cc;var _0x3a8e5f;let {range:_0x2b65cd,subUnitId:_0x38fc8a,unitId:_0xb8c777,showText:_0x1a012b=''}=_0x1ce323,{startColumn:_0x6da72d,startRow:_0x54c71b,endColumn:_0x306479,endRow:_0x3aec6b}=_0x2b65cd,_0x53a707=_0x22b131(_0x54c71b,_0x6da72d,_0x10b9df,_0x27be76),_0xd7eb3c=_0x22b131(_0x3aec6b,_0x306479,_0x10b9df,_0x27be76),{columnHeaderHeightAndMarginTop:_0x5e600a}=_0x27be76,{startX:_0x1426df,startY:_0x1dfd95}=_0x53a707,{endX:_0x50643c,endY:_0xa0403a}=_0xd7eb3c,_0x130c9d=_0x50643c-_0x1426df,_0x398bc2=_0xa0403a-_0x1dfd95,_0x214665={'labelPosition':_0x1dfd95-_0x5e600a>=0x14?'top':_0x15a30a(0x3cc),'sheetID':_0x38fc8a,'range':_0x2b65cd,'color':_0x2fff0e,'fillAfterStrokeEnabled':!0x1,'backgroundColor':_0x15a30a(0x352),'name':((_0x3a8e5f=this[_0x15a30a(0x347)][_0x15a30a(0x423)](_0x328271))==null?void 0x0:_0x3a8e5f[_0x15a30a(0x2da)])+'\x20'+_0x1a012b||_0x1a012b,'labelHorizontalPosition':this[_0x15a30a(0x25d)](),'selection':_0xb8c777+'-'+_0x38fc8a+'-'+_0x2b65cd[_0x15a30a(0x484)]+'-'+_0x2b65cd[_0x15a30a(0x49b)]+'-'+_0x2b65cd['endColumn']+'-'+_0x2b65cd['endRow'],'left':_0x1426df-0xc/0x2,'top':_0x1dfd95-0xc/0x2,'width':_0x130c9d,'height':_0x398bc2,'evented':!0x1,'zIndex':0x3e8,'strokeWidth':0xc,'highlight':!0x0};_0x21b05c[_0x15a30a(0x3f3)](new _0x4af65b('',_0x214665));});});}[_0x12baa0(0x42f)](_0x59e7d3,_0x544d92,_0x3634d4,_0x43f15e,_0x1ebfc3,_0xa5a72a){const _0x31d32b=_0x12baa0;let _0x17de38=_0x544d92['rowHeaderWidth'],_0x1c5985=_0x544d92[_0x31d32b(0x253)];_0x3634d4[_0x31d32b(0x348)](_0xed5788=>{const _0x5967b3=_0x31d32b;_0xed5788[_0x5967b3(0x348)](_0x10247a=>{const _0x4de0b8=_0x5967b3;let {range:_0x1b8e87}=_0x10247a,{startColumn:_0x2d2448,startRow:_0x4084c4,endColumn:_0xeee7ec,endRow:_0x4c8683}=_0x1b8e87,_0xbe3b9c=_0x22b131(_0x4084c4,_0x2d2448,_0x59e7d3,_0x544d92),_0x355058=_0x22b131(_0x4c8683,_0xeee7ec,_0x59e7d3,_0x544d92),{startX:_0x4448d8,startY:_0x3a7638}=_0xbe3b9c,{endX:_0x275884,endY:_0x3b3a65}=_0x355058,_0x4baeaa;if(_0x1ebfc3==='horizontal')_0x4baeaa=new ia('',{'color':_0x43f15e,'direction':_0x4de0b8(0x43b),'left':_0x4448d8,'top':0x2,'width':_0x275884-_0x4448d8,'height':_0x1c5985-0x4,'evented':!0x1,'zIndex':0x3e9,'highlight':!0x0,'highlightSecond':0x4}),_0xa5a72a[_0x4de0b8(0x3f3)](_0x4baeaa);else{let _0x207215=_0x3b3a65-_0x3a7638;_0x4baeaa=new ia('',{'color':_0x43f15e,'direction':_0x4de0b8(0x1e5),'left':0x2,'top':_0x3a7638,'width':_0x17de38-0x4,'height':_0x207215,'evented':!0x1,'zIndex':0x3e9,'highlight':!0x0,'highlightSecond':0x4}),_0xa5a72a['push'](_0x4baeaa);}});});}[_0x12baa0(0x408)](_0x5345c9,_0x1733f6,_0x53b850,_0x130469){const _0x1220cf=_0x12baa0;let _0x27cdfa=this[_0x1220cf(0x294)]['getCurrentSkeleton']();if(!_0x27cdfa)return;let {columnHeaderHeightAndMarginTop:_0x503712}=_0x27cdfa;_0x1733f6[_0x1220cf(0x348)]((_0x3b4708,_0x4237dd)=>{const _0x54910b=_0x1220cf;_0x3b4708[_0x54910b(0x348)](_0x1d2942=>{const _0x56a8ae=_0x54910b;let _0x12b750=this[_0x56a8ae(0x406)](_0x1d2942,_0x4237dd,_0x53b850,_0x503712,0xc,_0x130469);_0x12b750&&_0x130469[_0x56a8ae(0x3f3)](_0x12b750);});});}[_0x12baa0(0x406)](_0xfb8a17,_0x7f5c47,_0x34a24a,_0x229c41,_0xc5dfa8,_0x1bc0f0){const _0x3bcca2=_0x12baa0;var _0x1d013f;let {drawingId:_0x2a5cc6,unitId:_0x2657a7,subUnitId:_0x59d9ce,showText:_0x38c8ca=''}=_0xfb8a17,_0x5f10bf=this['_drawingManagerService'][_0x3bcca2(0x3a3)]({'unitId':_0x2657a7,'subUnitId':_0x59d9ce,'drawingId':_0x2a5cc6});if(!(_0x5f10bf!=null&&_0x5f10bf[_0x3bcca2(0x264)]))return null;let {left:_0x43605f=0x0,top:_0x4cccf1=0x0,width:_0x40de0f,height:_0x3759e1}=_0x5f10bf[_0x3bcca2(0x264)],_0x52522b=new _0x4af65b('',{'labelPosition':_0x4cccf1-_0x229c41>=0x14?_0x3bcca2(0x2ad):_0x3bcca2(0x3cc),'sheetID':_0x59d9ce,'range':{'startRow':0x0,'startColumn':0x0,'endRow':0x0,'endColumn':0x0},'color':_0x34a24a,'fillAfterStrokeEnabled':!0x1,'backgroundColor':_0x3bcca2(0x352),'name':((_0x1d013f=this[_0x3bcca2(0x347)][_0x3bcca2(0x423)](_0x7f5c47))==null?void 0x0:_0x1d013f[_0x3bcca2(0x2da)])+'\x20'+_0x38c8ca||_0x38c8ca,'labelHorizontalPosition':this[_0x3bcca2(0x25d)](),'selection':_0x2657a7+'-'+_0x59d9ce+_0x3bcca2(0x3ab)+_0x2a5cc6,'left':_0x43605f-_0xc5dfa8/0x2,'top':_0x4cccf1-_0xc5dfa8/0x2,'width':_0x40de0f,'height':_0x3759e1,'evented':!0x0,'zIndex':0x3e8,'strokeWidth':_0xc5dfa8,'highlight':!0x0});return this[_0x3bcca2(0x304)](_0x52522b,_0x1bc0f0),_0x52522b;}[_0x12baa0(0x304)](_0x5d1818,_0x137623){const _0xdc8957=_0x12baa0;_0x5d1818['onPointerEnter$'][_0xdc8957(0x2e5)](()=>this['_setOverlappingShapesHovered'](_0x5d1818,_0x137623,!0x0)),_0x5d1818[_0xdc8957(0x2b7)]['subscribeEvent'](()=>this[_0xdc8957(0x1fb)](_0x5d1818,_0x137623,!0x1));}[_0x12baa0(0x1fb)](_0x41df44,_0x258e09,_0x397a24){const _0x5579c1=_0x12baa0;this['_findOverlappingShapes'](_0x41df44,_0x258e09)[_0x5579c1(0x348)](_0xaf2c8f=>{const _0x132150=_0x5579c1;_0xaf2c8f instanceof _0x4af65b&&_0xaf2c8f[_0x132150(0x276)]({'hovered':_0x397a24});});}['_removeDiffMarks'](){const _0x262f7e=_0x12baa0;this['_diffs'][_0x262f7e(0x348)](_0x2f7ace=>_0x2f7ace['dispose']()),this[_0x262f7e(0x3cd)]['forEach'](_0x175b5b=>_0x175b5b[_0x262f7e(0x288)]()),this[_0x262f7e(0x44b)]['forEach'](_0x269b39=>_0x269b39[_0x262f7e(0x288)]()),this['_diffs'][_0x262f7e(0x1d4)](),this[_0x262f7e(0x3cd)][_0x262f7e(0x1d4)](),this[_0x262f7e(0x44b)][_0x262f7e(0x1d4)]();}[_0x12baa0(0x338)](_0x46e2ea){const _0x3ba795=_0x12baa0;let _0x468c6a=_0x46e2ea[_0x3ba795(0x1db)](_0x1add9b=>_0x1add9b instanceof _0x4af65b);if(_0x468c6a[_0x3ba795(0x278)]===0x0)return;let _0x2a1e64=[],_0x1c6a8a=new Set();_0x468c6a[_0x3ba795(0x348)](_0x34581e=>{const _0x236598=_0x3ba795;if(_0x1c6a8a[_0x236598(0x28e)](_0x34581e))return;let _0x2d113=_0x34581e[_0x236598(0x328)]||0x0,_0x4855b3=_0x34581e[_0x236598(0x2ad)]||0x0,_0x325440=_0x2d113+(_0x34581e['width']||0x0),_0x534a3e=_0x4855b3,_0x533196=[_0x34581e];_0x1c6a8a['add'](_0x34581e),_0x468c6a[_0x236598(0x348)](_0x4d58b2=>{const _0x239d00=_0x236598;if(_0x1c6a8a['has'](_0x4d58b2))return;let _0xbf5ca6=_0x4d58b2['left']||0x0,_0x5b81e5=_0x4d58b2[_0x239d00(0x2ad)]||0x0,_0x3bae32=_0xbf5ca6+(_0x4d58b2[_0x239d00(0x291)]||0x0),_0x4c533a=_0x5b81e5;Math[_0x239d00(0x3e7)](_0x325440-_0x3bae32)<=0xa&&Math[_0x239d00(0x3e7)](_0x534a3e-_0x4c533a)<=0xa&&(_0x533196[_0x239d00(0x3f3)](_0x4d58b2),_0x1c6a8a['add'](_0x4d58b2));}),_0x533196[_0x236598(0x278)]>0x1&&_0x2a1e64[_0x236598(0x3f3)](_0x533196);}),_0x2a1e64[_0x3ba795(0x348)](_0x55af28=>{const _0xbbbafd=_0x3ba795;_0x55af28[_0xbbbafd(0x489)]((_0x261c23,_0x6e17cd)=>(_0x261c23[_0xbbbafd(0x2ad)]||0x0)-(_0x6e17cd[_0xbbbafd(0x2ad)]||0x0)),_0x55af28[_0xbbbafd(0x348)]((_0x38258b,_0x3efc8c)=>{const _0xca8cb2=_0xbbbafd;let _0x320b98=_0x3efc8c*0x16;_0x38258b[_0xca8cb2(0x469)](_0x320b98);});});}['_findOverlappingShapes'](_0x37c35d,_0x10c22d){const _0x416c6c=_0x12baa0;let _0x4c6faf=_0x37c35d['left']||0x0,_0x25cd8f=_0x37c35d[_0x416c6c(0x2ad)]||0x0,_0x1578dc=_0x37c35d[_0x416c6c(0x291)]||0x0,_0x574e40=_0x37c35d[_0x416c6c(0x20a)]||0x0,_0xbf8b74=_0x4c6faf+_0x1578dc,_0x5b4c01=_0x25cd8f+_0x574e40;return _0x10c22d[_0x416c6c(0x1db)](_0x3f356d=>{const _0x1b6fbd=_0x416c6c;let _0x5d2ce6=_0x3f356d[_0x1b6fbd(0x328)]||0x0,_0xb12509=_0x3f356d[_0x1b6fbd(0x2ad)]||0x0,_0x484cd8=_0x3f356d['width']||0x0,_0x17f80d=_0x3f356d[_0x1b6fbd(0x20a)]||0x0,_0x15d80c=_0x5d2ce6+_0x484cd8,_0x6e9d98=_0xb12509+_0x17f80d;return!(_0xbf8b74<=_0x5d2ce6||_0x4c6faf>=_0x15d80c||_0x5b4c01<=_0xb12509||_0x25cd8f>=_0x6e9d98);});}[_0x12baa0(0x333)](_0x24f11e,_0x40ee7c){const _0x11629e=_0x12baa0;let _0x2b5825=_0x40ee7c[_0x11629e(0x257)](_0x26835c[_0x11629e(0x1dd)]);if(!_0x2b5825)return;let _0x2ec31c=_0x24f11e[_0x11629e(0x328)]||0x0,_0x1ea7f3=_0x24f11e[_0x11629e(0x2ad)]||0x0,_0x4d5946=_0x24f11e[_0x11629e(0x291)]||0x0,_0x577a95=_0x24f11e['height']||0x0,_0x5a5bab=_0x2b5825[_0x11629e(0x291)]||0x0,_0x553523=_0x2b5825[_0x11629e(0x20a)]||0x0,_0x1e6f51=_0x2b5825[_0x11629e(0x341)]||0x0,_0x58f84a=_0x2b5825[_0x11629e(0x20c)]||0x0,_0x4fc163=_0x1e6f51,_0x2533c5=_0x58f84a,_0x4f1fb7=_0x1e6f51+_0x5a5bab,_0x455b57=_0x58f84a+_0x553523;if(_0x2ec31c>=_0x4fc163&&_0x1ea7f3>=_0x2533c5&&_0x2ec31c+_0x4d5946<=_0x4f1fb7&&_0x1ea7f3+_0x577a95<=_0x455b57)return;let _0x3c9233=Math[_0x11629e(0x319)](0x0,_0x2ec31c-_0x5a5bab/0x2+_0x4d5946/0x2),_0xb99f34=Math['max'](0x0,_0x1ea7f3-_0x553523/0x2+_0x577a95/0x2);_0x2b5825['scrollToViewportPos']({'viewportScrollX':_0x3c9233,'viewportScrollY':_0xb99f34});}['_getSheetObject'](){const _0x33e9f6=_0x12baa0;return _0x5c4412(this[_0x33e9f6(0x202)],this['_renderManagerService']);}['dispose'](){const _0x1a0d34=_0x12baa0;var _0x4b8a56;(_0x4b8a56=this[_0x1a0d34(0x20e)])==null||_0x4b8a56['unsubscribe'](),this[_0x1a0d34(0x20e)]=null,this['_removeDiffMarks'](),super[_0x1a0d34(0x288)]();}};aa=J([q(0x1,_0x279b8e(X)),q(0x2,_0x279b8e(Z)),q(0x3,_0x4db7b5),q(0x4,_0x54b6bf),q(0x5,_0x279b8e(_0x344943)),q(0x6,_0x1e22b1),q(0x7,_0x1f5bd3),q(0x8,_0x279b8e(_0x472cdf)),q(0x9,_0x279b8e(ra))],aa);let oa=class extends _0x3e44cf{constructor(_0x324d05,_0x5c0c96,_0x435b02,_0x4d8d26){const _0x395129=_0x12baa0;super(),this[_0x395129(0x238)]=_0x324d05,this[_0x395129(0x2cd)]=_0x5c0c96,this[_0x395129(0x347)]=_0x435b02,this[_0x395129(0x30d)]=_0x4d8d26,K(this,_0x395129(0x409),null),this[_0x395129(0x35b)]();}[_0x12baa0(0x35b)](){this['_initPanel']();}[_0x12baa0(0x422)](){const _0x5d0293=_0x12baa0;var _0x27267a;if(this[_0x5d0293(0x409)])return;let _0x195c0e=(_0x27267a=this[_0x5d0293(0x30d)][_0x5d0293(0x3b9)](_0x5d0293(0x35e)))==null?void 0x0:_0x27267a['historyPanelComponentKey'],_0x19d030={'header':{'title':this['_localeService']['t']('sheets-history-ui.viewer.panel.title')},'children':{'label':_0x195c0e},'onClose':()=>{const _0x41a243=_0x5d0293;this[_0x41a243(0x409)]=null,this['_historyManagerService']['exitHistoryMode']();}};this[_0x5d0293(0x409)]=this[_0x5d0293(0x238)][_0x5d0293(0x2b0)]({..._0x19d030});}['_initPanel'](){const _0x2a1a1b=_0x12baa0;this[_0x2a1a1b(0x37d)](this[_0x2a1a1b(0x347)]['openPanel$'][_0x2a1a1b(0x21d)](_0x22eaf5=>{const _0x49a37c=_0x2a1a1b;_0x22eaf5&&this[_0x49a37c(0x422)]();}));}};oa=J([q(0x0,_0x5e8766),q(0x1,_0x279b8e(_0x472cdf)),q(0x2,_0x279b8e(X)),q(0x3,_0x26c683)],oa);var sa=class extends _0x3e44cf{constructor(){const _0x3263ad=_0x12baa0;super(),K(this,_0x3263ad(0x36e),new _0xbe1aa0());}[_0x12baa0(0x2b0)](){return _0x239555(()=>{});}['close'](){}['closeAll'](_0x5ab566){}['getDialogs$'](){const _0x35e30a=_0x12baa0;return this[_0x35e30a(0x36e)]['asObservable']();}};let ca=class extends _0x2b2536{constructor(_0x45ca8f=G,_0x5efc60,_0x236028,_0x1f9d6e){const _0x3b84f6=_0x12baa0;super(),this[_0x3b84f6(0x22c)]=_0x45ca8f,this[_0x3b84f6(0x390)]=_0x5efc60,this[_0x3b84f6(0x498)]=_0x236028,this[_0x3b84f6(0x30d)]=_0x1f9d6e;let {..._0x42d001}=_0xa1e912({},G,this[_0x3b84f6(0x22c)]);this[_0x3b84f6(0x30d)][_0x3b84f6(0x446)](W,_0x42d001);}['onStarting'](){const _0x1ddbcc=_0x12baa0;[[Zi],[X],[ta],[Z],[ra],[Y],[oa],[Qi],[_0x360b43,{'useClass':_0x112269}],[_0x117613,{'useClass':sa}],[_0x1e1f2d,{'useClass':_0x3f688d}]][_0x1ddbcc(0x348)](_0x52195b=>this[_0x1ddbcc(0x390)]['add'](_0x52195b)),this[_0x1ddbcc(0x390)][_0x1ddbcc(0x2fa)](ta),this[_0x1ddbcc(0x390)][_0x1ddbcc(0x2fa)](Zi);}['onRendered'](){const _0x5a5408=_0x12baa0;[[aa]][_0x5a5408(0x348)](_0x37f479=>{const _0x4cf21f=_0x5a5408;this['disposeWithMe'](this['_renderManagerService'][_0x4cf21f(0x23c)](_0x101fbf[_0x4cf21f(0x1ec)],_0x37f479));}),this[_0x5a5408(0x390)][_0x5a5408(0x2fa)](Qi),this[_0x5a5408(0x390)][_0x5a5408(0x2fa)](oa);}['onSteady'](){const _0x336793=_0x12baa0;this['_injector'][_0x336793(0x2fa)](Z);}};K(ca,_0x12baa0(0x468),_0x12baa0(0x3e0)),K(ca,_0x12baa0(0x1ef),Di),K(ca,'version',Oi),ca=J([_0x51611f(_0x40052b,_0x556c97,_0x45fff4,_0x294cbb,_0x1deb9d,_0xe798fd,_0xb8c34e,_0x2120f0,_0x26af2,_0x220dc6,_0xbf0418,_0x2b68e1,_0xf368ee,_0x35371b),q(0x1,_0x279b8e(_0x627409)),q(0x2,_0x54b6bf),q(0x3,_0x26c683)],ca);function la(_0x3b2f16){const _0x42a967=_0x12baa0;let _0x320986=_0x3b2f16[_0x42a967(0x4a7)]();return{'locale':_0x320986,'locales':{[_0x320986]:_0x3b2f16[_0x42a967(0x367)]()},'direction':_0x3b2f16[_0x42a967(0x3e6)]()};}function ua(_0x4fa93e,_0x62f02c){const _0x182ea9=_0x12baa0;let _0x47dfc7=_0x62f02c[_0x182ea9(0x3e6)]();_0x4fa93e['dir']=_0x47dfc7,_0x4fa93e[_0x182ea9(0x3c4)][_0x182ea9(0x1d2)]=_0x47dfc7;}function da(_0x2e85c7){const _0x3ffe8f=_0x12baa0;return fa(_0x2e85c7)?typeof _0x2e85c7[_0x3ffe8f(0x2a1)]==_0x3ffe8f(0x3ed)&&typeof _0x2e85c7[_0x3ffe8f(0x2ea)]==_0x3ffe8f(0x386)&&Array[_0x3ffe8f(0x2a0)](_0x2e85c7[_0x3ffe8f(0x3d7)])&&fa(_0x2e85c7[_0x3ffe8f(0x40c)]):!0x1;}function fa(_0x2a0c0a){const _0x104d07=_0x12baa0;return typeof _0x2a0c0a==_0x104d07(0x41d)&&!!_0x2a0c0a;}const pa=_0x12baa0(0x249);let Q=class extends _0x3e44cf{constructor(_0x586e16,_0x2aadb0,_0x136ed4,_0x403793,_0x3ecda3,_0x8e50e6,_0x25e3d0,_0x54767c,_0x14274f,_0x464aca){const _0x461c1a=_0x12baa0;super(),this[_0x461c1a(0x2cd)]=_0x586e16,this[_0x461c1a(0x202)]=_0x2aadb0,this[_0x461c1a(0x30d)]=_0x136ed4,this['_commandService']=_0x403793,this[_0x461c1a(0x417)]=_0x3ecda3,this[_0x461c1a(0x23a)]=_0x8e50e6,this[_0x461c1a(0x456)]=_0x25e3d0,this[_0x461c1a(0x355)]=_0x54767c,this[_0x461c1a(0x238)]=_0x14274f,this['_themeService']=_0x464aca,K(this,_0x461c1a(0x3b4),new _0x976c30(null)),K(this,_0x461c1a(0x26b),this['_historyUniver$']['asObservable']()),K(this,'_disposableCollection',new _0x43785f()),K(this,_0x461c1a(0x1fc),new Map()),K(this,_0x461c1a(0x26f),null),this[_0x461c1a(0x35b)]();}get[_0x12baa0(0x340)](){const _0x46069d=_0x12baa0;return this[_0x46069d(0x3b4)]['value'];}['_init'](){const _0x326866=_0x12baa0;this['_initContainer'](),this[_0x326866(0x3ec)]();}[_0x12baa0(0x3af)](){const _0x108fc2=_0x12baa0;var _0x185822;let _0x4374fc=this['_configService'][_0x108fc2(0x3b9)](W),_0xd1cfbc=(_0x185822=this[_0x108fc2(0x30d)][_0x108fc2(0x3b9)](_0x2657e8))==null?void 0x0:_0x185822[_0x108fc2(0x29d)],_0xa4af5c=(_0x4374fc==null?void 0x0:_0x4374fc[_0x108fc2(0x29a)])??_0xd1cfbc,_0x2ac2c1=typeof _0xa4af5c=='string'?document['getElementById'](_0xa4af5c):_0xa4af5c;if(!_0x2ac2c1)throw Error(_0x108fc2(0x3a1));let _0x2c265f=document['createElement']('div');_0x2c265f['id']=pa,_0x2c265f['style'][_0x108fc2(0x32b)]='absolute',_0x2c265f[_0x108fc2(0x3c4)][_0x108fc2(0x2ad)]='0',_0x2c265f['style'][_0x108fc2(0x328)]='0',_0x2c265f[_0x108fc2(0x3c4)][_0x108fc2(0x291)]=_0x108fc2(0x48e),_0x2c265f[_0x108fc2(0x3c4)]['height']=_0x108fc2(0x48e),_0x2c265f['style'][_0x108fc2(0x283)]='49',_0x2c265f[_0x108fc2(0x3c4)][_0x108fc2(0x226)]='none',ua(_0x2c265f,this[_0x108fc2(0x2cd)]),_0x2ac2c1['appendChild'](_0x2c265f);}[_0x12baa0(0x3ec)](){const _0x4c9551=_0x12baa0;[[_0x45fff4],[_0x33db53,{'container':pa,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x117613,null]]}],[_0x294cbb],[_0x556c97,{'override':[[_0x1e1f2d,null]]}],[_0x21c40a,{'hasScroll':!0x1}],[_0x4cedc7],[_0x1c5414],[_0xb8c34e,{'notExecuteFormula':!0x0}],[_0xf368ee],[_0x36f466],[_0xa98b1d],[_0x2120f0],[_0x1deb9d],[_0x5768b5],[_0x26af2],[_0x1f16b2],[_0x53378d],[_0x264cf7],[_0x3f6353],[_0x35371b],[_0x2c9c1a],[_0x42679f,{'notExecuteFormula':!0x0}],[_0x4c1176],[_0x610afb],[_0x465e9c],[_0x2b68e1],[_0x2707e8],[_0x220dc6],[_0x1c5bf7],[_0x1c9881],[_0x244dbd],[_0xbf0418,{'notExecuteFormula':!0x0}],[_0xe798fd]]['forEach'](([_0x4b54b9,_0x3a7f1c])=>this[_0x4c9551(0x2c0)](_0x4b54b9,_0x3a7f1c));}[_0x12baa0(0x288)](){const _0x43f937=_0x12baa0;super['dispose'](),this['unMountHistoryContent'](),this[_0x43f937(0x1fc)][_0x43f937(0x1d4)]();}[_0x12baa0(0x2c0)](_0x2bedab,_0x541a3a,_0x14b311){const _0x5eee01=_0x12baa0;if(this[_0x5eee01(0x1fc)][_0x5eee01(0x28e)](_0x2bedab['pluginName'])&&!_0x14b311)throw Error(_0x5eee01(0x451)+_0x2bedab[_0x5eee01(0x468)]+_0x5eee01(0x34b));this['_pluginMap'][_0x5eee01(0x45b)](_0x2bedab[_0x5eee01(0x468)],[_0x2bedab,_0x541a3a]);}[_0x12baa0(0x329)](){const _0x58f41f=_0x12baa0;return Array[_0x58f41f(0x3b5)](this[_0x58f41f(0x1fc)][_0x58f41f(0x421)]());}[_0x12baa0(0x27f)](_0x4dadf2,_0x56398c){const _0x355662=_0x12baa0;let _0x54c168=document[_0x355662(0x2dc)](pa);_0x54c168&&(_0x54c168[_0x355662(0x3c4)][_0x355662(0x226)]='block',this[_0x355662(0x33f)](_0x4dadf2,pa,_0x56398c));}[_0x12baa0(0x219)](){const _0x1f2caf=_0x12baa0;var _0x19d677;this[_0x1f2caf(0x3f0)]['dispose'](),(_0x19d677=this[_0x1f2caf(0x340)])==null||_0x19d677[_0x1f2caf(0x288)](),this[_0x1f2caf(0x3b4)][_0x1f2caf(0x311)](null);let _0x1183d6=document[_0x1f2caf(0x2dc)](pa);_0x1183d6&&(_0x1183d6[_0x1f2caf(0x3c4)][_0x1f2caf(0x226)]=_0x1f2caf(0x2a5),this['_internalWebWorker']&&=(this['_internalWebWorker']['terminate'](),null));}[_0x12baa0(0x33f)](_0x2165d9,_0x381cac,_0x51bf1d){const _0x2ec146=_0x12baa0;var _0x22bfc4,_0x169525,_0x1cbe2c,_0x234ee0;if(this[_0x2ec146(0x340)])return;let _0x1aa25d=new _0x5a774c({...la(this[_0x2ec146(0x2cd)]),'override':[[_0x592b7a,{'useClass':_0x4a396e}]]}),_0x550544=_0x1aa25d[_0x2ec146(0x437)]();this[_0x2ec146(0x3f6)](_0x550544,_0x381cac),_0x550544['get'](_0x26c683)[_0x2ec146(0x446)](_0x4d6194,this[_0x2ec146(0x30d)][_0x2ec146(0x3b9)](_0x4d6194));let _0x181540=this[_0x2ec146(0x30d)]['getConfig'](_0x5c1ffe);_0x181540&&_0x1aa25d['registerPlugin'](_0x40052b,{'license':_0x181540['ls']});let _0x4e3f06=(_0x22bfc4=this[_0x2ec146(0x30d)][_0x2ec146(0x3b9)](_0x2ec146(0x35e)))==null?void 0x0:_0x22bfc4[_0x2ec146(0x370)];_0x4e3f06&&(this[_0x2ec146(0x26f)]=_0x4e3f06 instanceof Worker?_0x4e3f06:null,_0x1aa25d['registerPlugin'](_0x5249fa,{'workerURL':_0x4e3f06})),this[_0x2ec146(0x1fc)]['forEach'](([_0x22a8c7,_0xe71f81])=>{const _0x4f5784=_0x2ec146;_0x1aa25d[_0x4f5784(0x2c0)](_0x22a8c7,_0xe71f81);}),_0x1aa25d[_0x2ec146(0x2c0)](ca,{'historyServerUrl':Ei(this['_configService'][_0x2ec146(0x3b9)](W)),'historyPanelComponentKey':(_0x169525=this[_0x2ec146(0x30d)]['getConfig'](_0x2ec146(0x35e)))==null?void 0x0:_0x169525['historyPanelComponentKey'],'historyPanelHidden':(_0x1cbe2c=this[_0x2ec146(0x30d)][_0x2ec146(0x3b9)](_0x2ec146(0x35e)))==null?void 0x0:_0x1cbe2c[_0x2ec146(0x351)],'historyAIassistantEnabled':(_0x234ee0=this[_0x2ec146(0x30d)][_0x2ec146(0x3b9)]('sheets-history-ui.config'))==null?void 0x0:_0x234ee0[_0x2ec146(0x336)]}),_0x550544[_0x2ec146(0x284)](_0x3b0936=>{const _0x1fb685=_0x2ec146;this[_0x1fb685(0x269)](_0x3b0936,_0x2165d9);}),this['_historyUniver$'][_0x2ec146(0x311)](_0x1aa25d);let _0x176292=_0x550544[_0x2ec146(0x2fa)](X),_0xc5bfbb=this['_checkCanRevert'](_0x2165d9);da(_0x51bf1d)?_0x176292[_0x2ec146(0x306)](_0x2165d9,_0xc5bfbb,_0x51bf1d):_0x176292[_0x2ec146(0x317)](_0x2165d9,_0xc5bfbb)[_0x2ec146(0x2f8)](()=>void 0x0);}[_0x12baa0(0x3f6)](_0xc09e62,_0x3d4082){const _0x6785f=_0x12baa0;let _0x123d3d=_0xc09e62[_0x6785f(0x2fa)](_0x56031e);this[_0x6785f(0x3f0)][_0x6785f(0x2b4)](this[_0x6785f(0x26a)]['darkMode$'][_0x6785f(0x21d)](_0x4250d8=>{_0x123d3d['setDarkMode'](_0x4250d8);})),this[_0x6785f(0x3f0)]['add'](this[_0x6785f(0x26a)][_0x6785f(0x438)][_0x6785f(0x21d)](_0x119366=>{const _0xf32200=_0x6785f;_0x123d3d[_0xf32200(0x346)](_0x119366);}));let _0x324787=_0xc09e62['get'](_0x472cdf);this[_0x6785f(0x3f0)]['add'](this['_localeService'][_0x6785f(0x2f4)][_0x6785f(0x21d)](_0x566013=>{const _0x5203a0=_0x6785f;let _0x4558b5=this[_0x5203a0(0x2cd)][_0x5203a0(0x367)]();_0x4558b5&&_0x324787[_0x5203a0(0x491)]({[_0x566013]:_0x4558b5}),_0x324787[_0x5203a0(0x2df)](_0x566013);})),this[_0x6785f(0x3f0)][_0x6785f(0x2b4)](this[_0x6785f(0x2cd)][_0x6785f(0x496)][_0x6785f(0x21d)](_0x13fa16=>{const _0x5f0963=_0x6785f;_0x324787[_0x5f0963(0x49a)](_0x13fa16);let _0x476c4a=document[_0x5f0963(0x2dc)](_0x3d4082);_0x476c4a&&(_0x476c4a[_0x5f0963(0x42a)]=_0x13fa16,_0x476c4a[_0x5f0963(0x3c4)][_0x5f0963(0x1d2)]=_0x13fa16);}));}['_initListener'](_0xbe9549,_0x1dd0d8){const _0x49b5d3=_0x12baa0;let _0x50d7da=_0xbe9549[_0x49b5d3(0x2fa)](X);this['_disposableCollection'][_0x49b5d3(0x2b4)](_0x50d7da[_0x49b5d3(0x46f)][_0x49b5d3(0x21d)](_0x139e67=>{const _0x1a56d5=_0x49b5d3;switch(_0x139e67){case'entered':this[_0x1a56d5(0x355)][_0x1a56d5(0x364)](),this[_0x1a56d5(0x238)][_0x1a56d5(0x216)]();break;case _0x1a56d5(0x1fd):this[_0x1a56d5(0x2bb)][_0x1a56d5(0x430)](ha['id']),this['unMountHistoryContent']();break;case _0x1a56d5(0x240):this[_0x1a56d5(0x219)](),this['_messageService'][_0x1a56d5(0x217)]({'content':this[_0x1a56d5(0x2cd)]['t'](_0x1a56d5(0x31e)),'type':_0x516041['Error'],'duration':0xbb8});break;default:break;}})),this[_0x49b5d3(0x3f0)][_0x49b5d3(0x2b4)](_0x50d7da[_0x49b5d3(0x330)][_0x49b5d3(0x21d)](_0xc5292e=>{const _0x16da54=_0x49b5d3;if(_0xc5292e){let _0x3cf14a={'unitId':_0x1dd0d8,'revision':_0xc5292e};this[_0x16da54(0x2bb)][_0x16da54(0x430)](_0x5996e6['id'],_0x3cf14a)[_0x16da54(0x2f8)](()=>{const _0x52e8ae=_0x16da54;_0x50d7da['status']=_0x52e8ae(0x240);});}}));}[_0x12baa0(0x4a4)](_0x269ff9){const _0x3fdb23=_0x12baa0;let _0x35b552=this[_0x3fdb23(0x202)][_0x3fdb23(0x223)](_0x269ff9);if(!_0x35b552)return!0x1;let _0x3ec361=_0x35b552['getSheets']()[_0x3fdb23(0x26d)](_0xb1fc80=>_0xb1fc80[_0x3fdb23(0x42c)]()),_0x2ccdc4=new _0x2d4b7e(_0x269ff9)['id'],_0x1af970=_0x3ec361[_0x3fdb23(0x26d)](_0x15c513=>new _0x4c5159(_0x269ff9,_0x15c513)['id']),_0x36d088=_0x3ec361[_0x3fdb23(0x26d)](_0x1f29ee=>this[_0x3fdb23(0x456)][_0x3fdb23(0x3de)](_0x269ff9,_0x1f29ee)[_0x3fdb23(0x26d)](_0x74be3=>new _0x45c26a(_0x269ff9,_0x1f29ee,_0x74be3['permissionId'])['id']))[_0x3fdb23(0x38a)](),_0xb0ff4c=new _0x545dec(_0x269ff9)['id'];return this[_0x3fdb23(0x23a)][_0x3fdb23(0x49d)]([_0x2ccdc4,..._0x1af970,..._0x36d088,_0xb0ff4c])[_0x3fdb23(0x2fb)](_0x5a2497=>!!_0x5a2497[_0x3fdb23(0x415)]);}};Q=J([q(0x0,_0x279b8e(_0x472cdf)),q(0x1,_0x4db7b5),q(0x2,_0x26c683),q(0x3,_0x1e22b1),q(0x4,_0x4950eb),q(0x5,_0x4820fc),q(0x6,_0x279b8e(_0x2faef2)),q(0x7,_0x279b8e(_0x117613)),q(0x8,_0x279b8e(_0x5e8766)),q(0x9,_0x279b8e(_0x56031e))],Q);const ma={'id':_0x12baa0(0x2b3),'type':_0x12ed79['OPERATION'],'handler':_0x3d2e1e=>{const _0x47a4d2=_0x12baa0;let _0x2e4a43=_0x3d2e1e['get'](Q),{unitId:_0x117d95}=_0x2d3e28(_0x3d2e1e[_0x47a4d2(0x2fa)](_0x4db7b5))||{};return _0x117d95?(_0x2e4a43[_0x47a4d2(0x27f)](_0x117d95),!0x0):!0x1;}},ha={'id':_0x12baa0(0x296),'type':_0x12ed79[_0x12baa0(0x316)],'handler':()=>!0x0};let ga=class extends _0x3e44cf{constructor(_0x30cee9){const _0x507dfb=_0x12baa0;super(),this[_0x507dfb(0x37d)](_0x30cee9[_0x507dfb(0x2e1)]({'HistoryIcon':_0x4f0cb3}));}};ga=J([q(0x0,_0x279b8e(_0x131572))],ga);function _a(_0x471dbf){const _0x323097=_0x12baa0;return{'id':ma['id'],'type':_0x44d2fa['BUTTON'],'icon':'HistoryIcon','title':_0x323097(0x2d1),'tooltip':_0x323097(0x2d1),'hidden$':_0x9884e8(_0x471dbf,_0x101fbf[_0x323097(0x1ec)]),'disabled$':_0x1fa3ac(_0x471dbf,{'workbookTypes':[_0x4a1fbf],'worksheetTypes':[],'rangeTypes':[]})};}const va={[_0x5d1d1a[_0x12baa0(0x42d)]]:{[ma['id']]:{'order':0x64,'gridLayout':{'row':0x1,'column':0x5,'rowSpan':0x2,'columnSpan':0x2,'showLabel':!0x0},'menuItemFactory':_a}}};function ya(_0x139dd7){const _0x27fc0e=_0x12baa0;return!!(_0x139dd7&&_0x27fc0e(0x3dc)in _0x139dd7&&typeof _0x139dd7[_0x27fc0e(0x3dc)]=='string'&&_0x27fc0e(0x2ce)in _0x139dd7&&typeof _0x139dd7[_0x27fc0e(0x2ce)]==_0x27fc0e(0x2de));}function ba(_0xaa723d,_0x32eec7){const _0x5d6cd5=_0x12baa0;return _0xaa723d[_0x5d6cd5(0x453)]===_0xfad09e[_0x5d6cd5(0x32d)]&&_0x31e9c7(_0xaa723d[_0x5d6cd5(0x3a6)])['mutations'][_0x5d6cd5(0x1ce)](_0x2263e6=>_0x2263e6['id']===_0x5996e6['id']&&ya(_0x2263e6[_0x5d6cd5(0x2c1)])&&_0x2263e6[_0x5d6cd5(0x2c1)][_0x5d6cd5(0x3dc)]===_0x32eec7['unitId']&&_0x2263e6[_0x5d6cd5(0x2c1)][_0x5d6cd5(0x2ce)]===_0x32eec7['revision']);}let xa=class extends _0x4f187e{constructor(_0x12a07c,_0x861a5e,_0x12fe8b,_0xba9a70,_0x22ccd6,_0x8e8d6,_0xe52993,_0x56e425,_0x46e37c,_0x11a9de){const _0x5aa153=_0x12baa0;super(),this[_0x5aa153(0x2bb)]=_0x12a07c,this[_0x5aa153(0x2a4)]=_0x861a5e,this[_0x5aa153(0x347)]=_0x12fe8b,this[_0x5aa153(0x2cd)]=_0xba9a70,this['_messageService']=_0x22ccd6,this[_0x5aa153(0x1d1)]=_0x8e8d6,this[_0x5aa153(0x33c)]=_0xe52993,this[_0x5aa153(0x35a)]=_0x56e425,this[_0x5aa153(0x202)]=_0x46e37c,this[_0x5aa153(0x3e2)]=_0x11a9de,K(this,_0x5aa153(0x1f2),null),this[_0x5aa153(0x37d)](_0x239555(()=>this[_0x5aa153(0x368)]())),this[_0x5aa153(0x35b)]();}[_0x12baa0(0x35b)](){const _0x4f18bb=_0x12baa0;[ma,ha][_0x4f18bb(0x348)](_0x21ead3=>this[_0x4f18bb(0x37d)](_0x239555(this[_0x4f18bb(0x2bb)][_0x4f18bb(0x309)](_0x21ead3)))),this[_0x4f18bb(0x2a4)][_0x4f18bb(0x30b)](va),this[_0x4f18bb(0x37d)](this['_commandService'][_0x4f18bb(0x405)]((_0x5b6c86,_0x4f3aca)=>{const _0x3b9424=_0x4f18bb;if(_0x5b6c86['id']===_0x5996e6['id']&&ya(_0x5b6c86[_0x3b9424(0x2c1)])){let {revision:_0x2a5fa2,unitId:_0x3e72e6}=_0x5b6c86['params'];this['_messageService'][_0x3b9424(0x217)]({'content':this[_0x3b9424(0x2cd)]['t'](_0x3b9424(0x464)),'type':_0x516041[_0x3b9424(0x418)],'duration':0x1388});let _0x1fc4f5=this[_0x3b9424(0x1d1)]['getCollabEntity'](_0x3e72e6);if(!_0x1fc4f5){this['_showRevertFailed']();return;}_0x4f3aca!=null&&_0x4f3aca[_0x3b9424(0x2aa)]?this[_0x3b9424(0x1d5)](_0x1fc4f5,{'revision':_0x2a5fa2,'unitId':_0x3e72e6},async()=>(setTimeout(()=>window[_0x3b9424(0x30e)][_0x3b9424(0x339)]()),!0x0),!0x0):this[_0x3b9424(0x1d5)](_0x1fc4f5,{'revision':_0x2a5fa2,'unitId':_0x3e72e6},async()=>{const _0xe433e5=_0x3b9424;let _0x3fc417=this[_0xe433e5(0x202)]['getCurrentUnitOfType'](_0x101fbf[_0xe433e5(0x1ec)]),_0x2c88c8=_0x3fc417==null?void 0x0:_0x3fc417['getActiveSheet']();if(!_0x2c88c8)return!0x1;this[_0xe433e5(0x202)][_0xe433e5(0x3f1)](_0x3e72e6);let _0x1624ba=await this['_dataLoaderService'][_0xe433e5(0x477)](_0x3e72e6,_0x101fbf[_0xe433e5(0x1ec)]);return _0x1624ba&&_0x1624ba instanceof _0x544a2f?(await this[_0xe433e5(0x3b6)](_0x1624ba,_0x2c88c8['getSheetId']()),!0x0):!0x1;});}}));}[_0x12baa0(0x1d5)](_0x306c0c,_0x57b64f,_0x2c2785,_0x3a1725=!0x1){const _0x6a8617=_0x12baa0;this[_0x6a8617(0x368)]();let _0x2c6ccf=_0x31c023([_0x306c0c['session'][_0x6a8617(0x474)],_0x306c0c[_0x6a8617(0x4a6)]])['pipe'](_0x3314f3(([_0x4a667a,_0x29a460])=>ba(_0x4a667a,_0x57b64f)&&(_0x29a460==null?void 0x0:_0x29a460[_0x6a8617(0x4a2)])===_0x16676a['SYNCED']),_0x325287(0x1)),_0x2a6664=_0x2c6ccf;_0x3a1725&&(_0x2a6664=_0x2c6ccf[_0x6a8617(0x3a4)](_0x4f8c9({'first':0x1388}))),this[_0x6a8617(0x1f2)]=_0x2a6664['pipe'](_0x5890fa(async()=>{const _0x18c6d5=_0x6a8617;let _0x45fc6c=await _0x2c2785();return _0x45fc6c&&(this[_0x18c6d5(0x347)]['unMountHistoryContent'](),await this['_localCacheService'][_0x18c6d5(0x220)]()),_0x45fc6c;}),_0x2707d5(this[_0x6a8617(0x34c)]))[_0x6a8617(0x21d)]({'next':_0x2eab09=>{const _0x255cef=_0x6a8617;this['_clearRevertAcknowledgement'](),_0x2eab09?this[_0x255cef(0x417)][_0x255cef(0x47b)]():this[_0x255cef(0x1e9)]();},'error':()=>{const _0x453e2b=_0x6a8617;this['_clearRevertAcknowledgement'](),this[_0x453e2b(0x1e9)]();}});}[_0x12baa0(0x368)](){const _0xbcfe1e=_0x12baa0;var _0xe03f97;(_0xe03f97=this[_0xbcfe1e(0x1f2)])==null||_0xe03f97[_0xbcfe1e(0x350)](),this['_revertAcknowledgementSubscription']=null;}[_0x12baa0(0x1e9)](){const _0x242b31=_0x12baa0;this[_0x242b31(0x417)][_0x242b31(0x217)]({'content':this[_0x242b31(0x2cd)]['t'](_0x242b31(0x1cc)),'type':_0x516041['Error'],'duration':0xbb8});}async[_0x12baa0(0x3b6)](_0x360a17,_0xeac422){const _0x5a06aa=_0x12baa0;await this[_0x5a06aa(0x36d)](_0x360a17,_0xeac422),_0x360a17[_0x5a06aa(0x3ae)][_0x5a06aa(0x3a4)](_0x2707d5(this[_0x5a06aa(0x34c)]))['subscribe'](_0x806208=>{const _0x4ef0ec=_0x5a06aa;_0x806208&&this[_0x4ef0ec(0x3bd)](_0x806208);}),this[_0x5a06aa(0x3e2)]['urlChange$']['pipe'](_0x2707d5(this[_0x5a06aa(0x34c)]))[_0x5a06aa(0x21d)](()=>this['_updateSubUnitFromURLParams'](_0x360a17,_0xeac422));}['_updateURLWithCurrentState'](_0x111b96,_0x13d636=!0x1){const _0x3e66c5=_0x12baa0;let _0xe15bf7=this[_0x3e66c5(0x3e2)][_0x3e66c5(0x486)]('subunit');_0x111b96['getSheetId']()!==_0xe15bf7&&this[_0x3e66c5(0x3e2)][_0x3e66c5(0x363)](_0x3e66c5(0x379),_0x111b96[_0x3e66c5(0x42c)](),_0x13d636);}async[_0x12baa0(0x36d)](_0x36530a,_0x1e1c55){const _0x4c5684=_0x12baa0;var _0x34fd9b;if(!_0x1e1c55||!_0x36530a[_0x4c5684(0x401)](_0x1e1c55)){let _0x587078=_0x36530a[_0x4c5684(0x1de)]()[0x0],_0x21e83f=_0x36530a['getSheetBySheetId'](_0x587078);if(!_0x21e83f)return;this[_0x4c5684(0x3bd)](_0x21e83f,!0x0),await this['_commandService']['executeCommand'](_0x411141['id'],{'unitId':_0x36530a['getUnitId'](),'subUnitId':_0x587078});return;}((_0x34fd9b=_0x36530a['getActiveSheet']())==null?void 0x0:_0x34fd9b[_0x4c5684(0x42c)]())!==_0x1e1c55&&await this['_commandService'][_0x4c5684(0x430)](_0x411141['id'],{'unitId':_0x36530a['getUnitId'](),'subUnitId':_0x1e1c55});}};xa=J([q(0x0,_0x1e22b1),q(0x1,_0x74a1b2),q(0x2,_0x279b8e(Q)),q(0x3,_0x279b8e(_0x472cdf)),q(0x4,_0x4950eb),q(0x5,_0x279b8e(_0x4896a1)),q(0x6,_0x395037),q(0x7,_0x279b8e(_0x1bc8e8)),q(0x8,_0x4db7b5),q(0x9,_0x297a40)],xa);function Sa(){const _0x29c447=_0x12baa0;let _0x1d51ca=_0x209518(X),_0x132337=_0x209518(_0x472cdf),_0x21cf37=_0x10dc61(_0x1d51ca[_0x29c447(0x24b)]),_0x5eb624=_0x3f6c80(()=>_0x21cf37?_0x1d51ca['getSelectedVersionCanRevert']():!0x1,[_0x1d51ca,_0x21cf37]),_0x1ae866=_0x3393aa(()=>{const _0x4910c6=_0x29c447;_0x1d51ca[_0x4910c6(0x313)]();},[_0x1d51ca]),_0x52abe3=_0x3393aa(()=>{const _0x5b03aa=_0x29c447;_0x1d51ca[_0x5b03aa(0x47a)]();},[_0x1d51ca]);return _0x1a80e6('div',{'className':_0x29c447(0x3ba),'children':[_0x2e4a32(_0x490bb9,{'variant':'link','onClick':_0x1ae866,'children':_0x132337['t']('sheets-history-ui.viewer.header.back')}),_0x5eb624?_0x2e4a32(_0x490bb9,{'variant':_0x29c447(0x222),'onClick':_0x52abe3,'children':_0x132337['t']('sheets-history-ui.viewer.header.revert')}):_0x2e4a32('div',{'className':'univer-w-10'})]});}let Ca=class extends _0x3e44cf{constructor(_0x1ad87e,_0x18b532,_0x196628,_0x875bbd,_0x5ed8b9,_0x4577d1,_0x464f1c){const _0x3b9461=_0x12baa0;super(),this[_0x3b9461(0x23a)]=_0x1ad87e,this[_0x3b9461(0x28d)]=_0x18b532,this[_0x3b9461(0x417)]=_0x196628,this[_0x3b9461(0x2cd)]=_0x875bbd,this['_historyManagerService']=_0x5ed8b9,this[_0x3b9461(0x390)]=_0x4577d1,this[_0x3b9461(0x30d)]=_0x464f1c,this[_0x3b9461(0x35b)]();}[_0x12baa0(0x35b)](){const _0x5c6559=_0x12baa0;this[_0x5c6559(0x37d)](this['_historyManagerService'][_0x5c6559(0x24b)][_0x5c6559(0x21d)](_0x10a289=>{const _0xeaf394=_0x5c6559;_0x10a289&&this[_0xeaf394(0x347)][_0xeaf394(0x3f8)](_0x10a289);})),this['disposeWithMe'](this[_0x5c6559(0x23a)][_0x5c6559(0x312)][_0x5c6559(0x21d)](_0x39f65=>{const _0x570771=_0x5c6559;let _0x3abfcf=this[_0x570771(0x347)][_0x570771(0x3dc)];_0x3abfcf&&(_0x39f65['subType']===_0x20c942[_0x570771(0x28b)]&&_0x39f65[_0x570771(0x415)]===!0x0&&this['_permissionService'][_0x570771(0x462)](new _0x2d4b7e(_0x3abfcf)['id'],!0x1),_0x39f65[_0x570771(0x2be)]===_0x20c942['RenameSheet']&&_0x39f65[_0x570771(0x415)]===!0x0&&this['_permissionService']['updatePermissionPoint'](new _0x53d8f8(_0x3abfcf)['id'],!0x1),_0x39f65['subType']===_0x20c942[_0x570771(0x3c7)]&&_0x39f65['value']===!0x0&&this['_permissionService'][_0x570771(0x462)](new _0x44980b(_0x3abfcf)['id'],!0x1),_0x39f65[_0x570771(0x2be)]===_0x20c942[_0x570771(0x3aa)]&&_0x39f65[_0x570771(0x415)]===!0x0&&this[_0x570771(0x23a)][_0x570771(0x462)](new _0x504fdc(_0x3abfcf)['id'],!0x1),_0x39f65[_0x570771(0x2be)]===_0x20c942['Comment']&&_0x39f65['value']===!0x0&&this[_0x570771(0x23a)][_0x570771(0x462)](new _0x2d4b7e(_0x3abfcf)['id'],!0x1),_0x39f65[_0x570771(0x2be)]===_0x20c942[_0x570771(0x259)]&&_0x39f65['value']===!0x0&&this[_0x570771(0x23a)][_0x570771(0x462)](new _0x2d4b7e(_0x3abfcf)['id'],!0x1));})),this[_0x5c6559(0x3d3)](),this[_0x5c6559(0x354)]();let _0x5e733b=null;this[_0x5c6559(0x37d)](_0x239555(()=>_0x5e733b==null?void 0x0:_0x5e733b[_0x5c6559(0x288)]())),this[_0x5c6559(0x37d)](this[_0x5c6559(0x347)]['loadingState$'][_0x5c6559(0x21d)](_0x1448a7=>{const _0x1a6314=_0x5c6559;_0x5e733b==null||_0x5e733b[_0x1a6314(0x288)](),_0x5e733b=null,_0x1448a7===_0x1a6314(0x414)&&(_0x5e733b=this[_0x1a6314(0x417)][_0x1a6314(0x217)]({'type':_0x516041[_0x1a6314(0x3a8)],'content':this[_0x1a6314(0x2cd)]['t'](_0x1a6314(0x46a)),'duration':0x3e8}));}));}[_0x12baa0(0x3d3)](){const _0x3771de=_0x12baa0;var _0x4eaee4;(_0x4eaee4=this[_0x3771de(0x30d)]['getConfig'](_0x3771de(0x35e)))!=null&&_0x4eaee4[_0x3771de(0x351)]||this[_0x3771de(0x37d)](this['_uiPartsService'][_0x3771de(0x25c)](_0xfed455[_0x3771de(0x411)],()=>_0x26a091(Sa,this['_injector'])));}['_registerLoadingMask'](){const _0x13825c=_0x12baa0;this['disposeWithMe'](this[_0x13825c(0x28d)][_0x13825c(0x25c)](_0xfed455[_0x13825c(0x262)],()=>_0x26a091($i,this[_0x13825c(0x390)])));}};Ca=J([q(0x0,_0x4820fc),q(0x1,_0x2f2810),q(0x2,_0x4950eb),q(0x3,_0x279b8e(_0x472cdf)),q(0x4,_0x279b8e(X)),q(0x5,_0x279b8e(_0x627409)),q(0x6,_0x26c683)],Ca);function wa(_0x4cd572){const _0x3f49f2=_0x12baa0;var _0x126312;let {item:_0x5002c4,isNewest:_0x45f37f}=_0x4cd572,_0x2d66e5=_0x209518(X),_0x3d75f7=_0x209518(Z),_0x18b072=_0x209518(_0x472cdf),_0x503bff=_0x10dc61(_0x2d66e5[_0x3f49f2(0x24b)],'',!0x0)===_0x5002c4['id'],_0x377055=Li(_0x5002c4[_0x3f49f2(0x20d)],_0x18b072),_0x19ac9d=!_0x45f37f&&_0x2d66e5[_0x3f49f2(0x47d)],_0x37ebd5=_0x3393aa(async()=>{const _0x558e93=_0x3f49f2;_0x2d66e5['loadingState']!==_0x558e93(0x414)&&(_0x2d66e5['selectVersion'](_0x5002c4['id']),await _0x3d75f7[_0x558e93(0x31c)](_0x5002c4['id']));},[_0x2d66e5,_0x3d75f7,_0x5002c4['id']]),_0x51b779=_0x3393aa(_0x2a504a=>{const _0x4803ab=_0x3f49f2;_0x2a504a[_0x4803ab(0x26e)](),_0x2d66e5[_0x4803ab(0x47a)](_0x5002c4['id']);},[_0x2d66e5,_0x5002c4['id']]),_0x451acf=((_0x126312=_0x5002c4['users'])==null?void 0x0:_0x126312['filter'](Boolean)[_0x3f49f2(0x1d3)](',\x20'))||_0x5002c4[_0x3f49f2(0x263)]||_0x18b072['t'](_0x3f49f2(0x300));return _0x1a80e6(_0x3f49f2(0x3f4),{'className':_0x689734(_0x3f49f2(0x2d0),_0x503bff&&_0x3f49f2(0x382)),'onClick':_0x37ebd5,'children':[_0x1a80e6(_0x3f49f2(0x3f4),{'className':_0x3f49f2(0x372),'children':[_0x1a80e6(_0x3f49f2(0x3f4),{'className':'univer-mb-0.5\x20univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x2e4a32(_0x3f49f2(0x387),{'className':_0x3f49f2(0x3bf),'children':_0x451acf}),_0x45f37f&&_0x2e4a32(_0x3f49f2(0x387),{'className':_0x3f49f2(0x2e0),'children':_0x18b072['t']('sheets-history-ui.viewer.panel.currentVersion')})]}),_0x1a80e6(_0x3f49f2(0x3f4),{'className':_0x3f49f2(0x2cc),'children':[_0x2e4a32(_0x3f49f2(0x387),{'className':_0x3f49f2(0x24f),'children':_0x377055[_0x3f49f2(0x20d)]}),_0x2e4a32(_0x3f49f2(0x387),{'className':_0x3f49f2(0x463),'children':Ri(_0x5002c4,_0x18b072)})]})]}),_0x19ac9d&&_0x2e4a32(_0x490bb9,{'size':'small','variant':'primary','onClick':_0x51b779,'children':_0x18b072['t'](_0x3f49f2(0x2ba))})]});}function Ta(){const _0x2d0d8b=_0x12baa0;let _0x2a8d54=_0x209518(X),_0x2708b6=_0x209518(_0x472cdf),_0x32a5cd=_0x10dc61(_0x2a8d54[_0x2d0d8b(0x2db)]),_0x5baf9f=_0x10dc61(_0x2a8d54[_0x2d0d8b(0x2bf)]),_0x54d4a4=_0x4d67d6(null),[_0xf5005f,_0x54f7ec]=_0x142bf9(!0x0);_0xd957fd(()=>{const _0xfc933b=_0x2d0d8b;let _0x1c8a65=_0x54d4a4[_0xfc933b(0x3f2)];if(!_0x1c8a65||!_0xf5005f)return;let _0x319b54,_0x146425=()=>{clearTimeout(_0x319b54),_0x319b54=setTimeout(()=>{const _0x5ed4d1=_0xc465;let {scrollTop:_0x4af996,scrollHeight:_0x33fda6,clientHeight:_0x47f98e}=_0x1c8a65;_0x4af996+_0x47f98e>=_0x33fda6-0xa&&_0x2a8d54['loadMoreVersions']()[_0x5ed4d1(0x2f8)](()=>void 0x0);},0x64);};return _0x1c8a65[_0xfc933b(0x204)](_0xfc933b(0x47f),_0x146425),()=>{const _0x384a67=_0xfc933b;clearTimeout(_0x319b54),_0x1c8a65[_0x384a67(0x41b)](_0x384a67(0x47f),_0x146425);};},[_0x2a8d54,_0xf5005f]);let _0x5bb3e2=Vi(_0x32a5cd??[]);return _0x2e4a32(_0x2d0d8b(0x3f4),{'className':_0x2d0d8b(0x1dc),'children':_0x1a80e6(_0x2d0d8b(0x3f4),{'className':_0x689734(_0x2d0d8b(0x3b2),_0xf5005f?_0x2d0d8b(0x20f):_0x2d0d8b(0x3a7)),'children':[_0x1a80e6(_0x2d0d8b(0x3f4),{'className':_0x2d0d8b(0x479),'onClick':()=>_0x54f7ec(_0xba0009=>!_0xba0009),'children':[_0x2e4a32('div',{'className':_0x2d0d8b(0x470)}),!_0xf5005f&&_0x2e4a32(_0x2d0d8b(0x387),{'className':_0x2d0d8b(0x2ec),'children':_0x2708b6['t']('sheets-history-ui.viewer.panel.title')})]}),_0xf5005f&&_0x2e4a32(_0x32203a,{'children':_0x32a5cd?_0x1a80e6(_0x2d0d8b(0x3f4),{'ref':_0x54d4a4,'className':_0x2d0d8b(0x31b),'children':[_0x5bb3e2['map'](_0x481ecb=>_0x1a80e6('div',{'children':[_0x2e4a32(_0x2d0d8b(0x3f4),{'className':'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','children':Bi(_0x481ecb[_0x2d0d8b(0x37b)],_0x2708b6)}),_0x481ecb['versions'][_0x2d0d8b(0x26d)]((_0x5ee6ef,_0x3a8b49)=>_0x2e4a32(wa,{'item':_0x5ee6ef,'isNewest':_0x5bb3e2[0x0]===_0x481ecb&&_0x3a8b49===0x0},_0x5ee6ef['id']))]},_0x481ecb[_0x2d0d8b(0x413)])),_0x5baf9f&&_0x2e4a32(_0x2d0d8b(0x3f4),{'className':_0x2d0d8b(0x252),'children':_0x2e4a32(_0x2e5339,{'className':_0x2d0d8b(0x34d)})})]}):_0x2e4a32(_0x2d0d8b(0x3f4),{'className':_0x2d0d8b(0x1f1),'children':_0x2e4a32(_0x2e5339,{'className':_0x2d0d8b(0x34d)})})})]})});}let Ea=class extends _0x3e44cf{constructor(_0x2652a4,_0x5a05d8){const _0x28c356=_0x12baa0;super(),this[_0x28c356(0x28d)]=_0x2652a4,this[_0x28c356(0x390)]=_0x5a05d8,this[_0x28c356(0x37d)](this[_0x28c356(0x28d)][_0x28c356(0x25c)](_0xfed455[_0x28c356(0x3eb)],()=>_0x26a091(Ta,this[_0x28c356(0x390)])));}};Ea=J([q(0x0,_0x2f2810),q(0x1,_0x279b8e(_0x627409))],Ea);let Da=class extends _0x2b2536{constructor(_0x19f4af=G,_0xf66e06,_0x34609e,_0x6d1a37){const _0x41fd85=_0x12baa0;super(),this[_0x41fd85(0x22c)]=_0x19f4af,this[_0x41fd85(0x390)]=_0xf66e06,this[_0x41fd85(0x498)]=_0x34609e,this[_0x41fd85(0x30d)]=_0x6d1a37;let {..._0x13c594}=_0xa1e912({},G,this[_0x41fd85(0x22c)]);this[_0x41fd85(0x30d)]['setConfig'](W,_0x13c594);}[_0x12baa0(0x40a)](){const _0x13a38f=_0x12baa0;[[ga],[X],[Ca],[Z],[ra],[Y],[Ea],[Qi],[_0x360b43,{'useClass':_0x112269}],[_0x117613,{'useClass':sa}],[_0x1e1f2d,{'useClass':_0x3f688d}]]['forEach'](_0x214e2f=>this['_injector'][_0x13a38f(0x2b4)](_0x214e2f)),this[_0x13a38f(0x390)][_0x13a38f(0x2fa)](Ca),this[_0x13a38f(0x390)][_0x13a38f(0x2fa)](ga);}['onRendered'](){const _0x2e55a5=_0x12baa0;[[aa]][_0x2e55a5(0x348)](_0x34652d=>{const _0x45b0af=_0x2e55a5;this[_0x45b0af(0x37d)](this[_0x45b0af(0x498)][_0x45b0af(0x23c)](_0x101fbf[_0x45b0af(0x1ec)],_0x34652d));}),this['_injector']['get'](Qi),this[_0x2e55a5(0x390)][_0x2e55a5(0x2fa)](Ea);}[_0x12baa0(0x209)](){const _0x3f8d1b=_0x12baa0;this[_0x3f8d1b(0x390)]['get'](Z);}};K(Da,'pluginName','UNIVER_SHEETS_HISTORY_VIEWER_MOBILE_PLUGIN'),K(Da,_0x12baa0(0x1ef),Di),K(Da,'version',Oi),Da=J([_0x51611f(_0x40052b,_0x556c97,_0x45fff4,_0x294cbb,_0x1deb9d,_0xe798fd,_0xb8c34e,_0x5c84aa,_0x2120f0,_0x26af2,_0x220dc6,_0xbf0418,_0x2b68e1,_0x17e5f0,_0x35371b),q(0x1,_0x279b8e(_0x627409)),q(0x2,_0x54b6bf),q(0x3,_0x26c683)],Da);const Oa='univer-history-container-mobile';let ka=class extends _0x3e44cf{constructor(_0x3ac46b,_0x1929ad,_0x359943,_0x1f8e82,_0x449f0a,_0x3e90bc,_0x2c4c76,_0x2a5d01,_0x33aa25,_0x32f0ac){const _0x1e7922=_0x12baa0;super(),this['_localeService']=_0x3ac46b,this['_univerInstanceService']=_0x1929ad,this[_0x1e7922(0x30d)]=_0x359943,this[_0x1e7922(0x2bb)]=_0x1f8e82,this[_0x1e7922(0x417)]=_0x449f0a,this[_0x1e7922(0x23a)]=_0x3e90bc,this[_0x1e7922(0x456)]=_0x2c4c76,this[_0x1e7922(0x355)]=_0x2a5d01,this[_0x1e7922(0x238)]=_0x33aa25,this[_0x1e7922(0x26a)]=_0x32f0ac,K(this,_0x1e7922(0x3b4),new _0x976c30(null)),K(this,'historyUniver$',this[_0x1e7922(0x3b4)]['asObservable']()),K(this,_0x1e7922(0x3f0),new _0x43785f()),K(this,_0x1e7922(0x1fc),new Map()),K(this,'_internalWebWorker',null),this[_0x1e7922(0x35b)]();}get[_0x12baa0(0x340)](){const _0x58fcd6=_0x12baa0;return this[_0x58fcd6(0x3b4)][_0x58fcd6(0x415)];}[_0x12baa0(0x35b)](){const _0x17a6b8=_0x12baa0;this[_0x17a6b8(0x3af)](),this[_0x17a6b8(0x3ec)]();}['_initContainer'](){const _0x4b2c5d=_0x12baa0;var _0x5c7f55;let _0x2aaf3a=this['_configService'][_0x4b2c5d(0x3b9)](W),_0x590b7e=(_0x5c7f55=this[_0x4b2c5d(0x30d)][_0x4b2c5d(0x3b9)](_0x2657e8))==null?void 0x0:_0x5c7f55['container'],_0x4decc5=(_0x2aaf3a==null?void 0x0:_0x2aaf3a[_0x4b2c5d(0x29a)])??_0x590b7e,_0x1b5f59=typeof _0x4decc5==_0x4b2c5d(0x386)?document[_0x4b2c5d(0x2dc)](_0x4decc5):_0x4decc5;if(!_0x1b5f59)throw Error(_0x4b2c5d(0x459));let _0x256ce6=document[_0x4b2c5d(0x35c)](_0x4b2c5d(0x3f4));_0x256ce6['id']=Oa,_0x256ce6['style'][_0x4b2c5d(0x32b)]='absolute',_0x256ce6[_0x4b2c5d(0x3c4)][_0x4b2c5d(0x2ad)]='0',_0x256ce6[_0x4b2c5d(0x3c4)][_0x4b2c5d(0x328)]='0',_0x256ce6[_0x4b2c5d(0x3c4)][_0x4b2c5d(0x291)]=_0x4b2c5d(0x48e),_0x256ce6['style'][_0x4b2c5d(0x20a)]=_0x4b2c5d(0x48e),_0x256ce6[_0x4b2c5d(0x3c4)][_0x4b2c5d(0x283)]='49',_0x256ce6['style']['display']='none',ua(_0x256ce6,this['_localeService']),_0x1b5f59[_0x4b2c5d(0x321)](_0x256ce6);}[_0x12baa0(0x3ec)](){const _0xadf0c9=_0x12baa0;[[_0x45fff4],[_0x5c84aa,{'container':Oa,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x117613,null]]}],[_0x294cbb],[_0x556c97,{'override':[[_0x1e1f2d,null]]}],[_0x21c40a,{'hasScroll':!0x1}],[_0x4cedc7],[_0x1c5414],[_0xb8c34e,{'notExecuteFormula':!0x0}],[_0x17e5f0],[_0x36f466],[_0xceb362],[_0x2120f0],[_0x1deb9d],[_0x26af2],[_0x53378d],[_0x2bf417],[_0x3f6353],[_0x35371b],[_0x50f2fd],[_0x42679f,{'notExecuteFormula':!0x0}],[_0x22f9d2],[_0x610afb],[_0x11bb42],[_0x2b68e1],[_0x574060],[_0x220dc6],[_0x49e2c5],[_0x1c9881],[_0xe48a1],[_0xbf0418,{'notExecuteFormula':!0x0}],[_0xe798fd]][_0xadf0c9(0x348)](([_0x488998,_0x2101d6])=>this[_0xadf0c9(0x2c0)](_0x488998,_0x2101d6));}['dispose'](){const _0x328610=_0x12baa0;super[_0x328610(0x288)](),this['unMountHistoryContent'](),this[_0x328610(0x1fc)][_0x328610(0x1d4)]();}['registerPlugin'](_0x3d90e1,_0x217ae4,_0x42cff2){const _0x51ead2=_0x12baa0;if(this['_pluginMap'][_0x51ead2(0x28e)](_0x3d90e1[_0x51ead2(0x468)])&&!_0x42cff2)throw Error(_0x51ead2(0x40e)+_0x3d90e1[_0x51ead2(0x468)]+_0x51ead2(0x34b));this['_pluginMap']['set'](_0x3d90e1[_0x51ead2(0x468)],[_0x3d90e1,_0x217ae4]);}[_0x12baa0(0x329)](){const _0x224429=_0x12baa0;return Array[_0x224429(0x3b5)](this[_0x224429(0x1fc)][_0x224429(0x421)]());}[_0x12baa0(0x27f)](_0x3465d6,_0x4b97e6){const _0x126a39=_0x12baa0;let _0x4f2d66=document['getElementById'](Oa);_0x4f2d66&&(_0x4f2d66[_0x126a39(0x3c4)][_0x126a39(0x226)]=_0x126a39(0x206),this[_0x126a39(0x33f)](_0x3465d6,_0x4b97e6));}['unMountHistoryContent'](){const _0x58f323=_0x12baa0;var _0x156282;this[_0x58f323(0x3f0)][_0x58f323(0x288)](),(_0x156282=this[_0x58f323(0x340)])==null||_0x156282[_0x58f323(0x288)](),this[_0x58f323(0x3b4)]['next'](null);let _0x4b425c=document[_0x58f323(0x2dc)](Oa);_0x4b425c&&(_0x4b425c[_0x58f323(0x3c4)]['display']=_0x58f323(0x2a5),this['_internalWebWorker']&&=(this['_internalWebWorker'][_0x58f323(0x2b6)](),null));}[_0x12baa0(0x33f)](_0x47b212,_0xe7574f){const _0x4395b3=_0x12baa0;var _0x4d92f9,_0x549588,_0x8df8b0;if(this['historyUniver'])return;let _0x461673=new _0x5a774c({...la(this[_0x4395b3(0x2cd)]),'override':[[_0x592b7a,{'useClass':_0x4a396e}]]}),_0x396b74=_0x461673[_0x4395b3(0x437)](),_0x1f42e6=_0x396b74['get'](_0x56031e);this[_0x4395b3(0x3f0)][_0x4395b3(0x2b4)](this[_0x4395b3(0x26a)]['darkMode$'][_0x4395b3(0x21d)](_0x1ed2fe=>{const _0x46b964=_0x4395b3;_0x1f42e6[_0x46b964(0x494)](_0x1ed2fe);})),this[_0x4395b3(0x3f0)][_0x4395b3(0x2b4)](this['_themeService']['currentTheme$'][_0x4395b3(0x21d)](_0x1346b9=>{const _0x32ae78=_0x4395b3;_0x1f42e6[_0x32ae78(0x346)](_0x1346b9);}));let _0x8a0a97=_0x396b74[_0x4395b3(0x2fa)](_0x472cdf);_0x8a0a97[_0x4395b3(0x2df)](this[_0x4395b3(0x2cd)][_0x4395b3(0x4a7)]()),_0x8a0a97[_0x4395b3(0x49a)](this[_0x4395b3(0x2cd)][_0x4395b3(0x3e6)]()),_0x396b74['get'](_0x26c683)[_0x4395b3(0x446)](_0x4d6194,this[_0x4395b3(0x30d)][_0x4395b3(0x3b9)](_0x4d6194));let _0x5b6a64=this['_configService'][_0x4395b3(0x3b9)](_0x5c1ffe);_0x5b6a64&&_0x461673[_0x4395b3(0x2c0)](_0x40052b,{'license':_0x5b6a64['ls']});let _0x54e599=(_0x4d92f9=this[_0x4395b3(0x30d)]['getConfig'](_0x4395b3(0x35e)))==null?void 0x0:_0x4d92f9[_0x4395b3(0x370)],_0x3c040c=!!_0x54e599;_0x3c040c&&(this[_0x4395b3(0x26f)]=_0x54e599 instanceof Worker?_0x54e599:null,_0x461673[_0x4395b3(0x2c0)](_0x5249fa,{'workerURL':_0x54e599})),this[_0x4395b3(0x1fc)]['forEach'](([_0x441e15,_0xa8bc8a])=>{const _0xc5c70a=_0x4395b3;_0x461673[_0xc5c70a(0x2c0)](_0x441e15,_0xa8bc8a);}),_0x461673[_0x4395b3(0x2c0)](Da,{'historyServerUrl':Ei(this[_0x4395b3(0x30d)][_0x4395b3(0x3b9)](W)),'historyPanelComponentKey':(_0x549588=this['_configService'][_0x4395b3(0x3b9)](_0x4395b3(0x35e)))==null?void 0x0:_0x549588[_0x4395b3(0x1da)],'historyPanelHidden':(_0x8df8b0=this[_0x4395b3(0x30d)][_0x4395b3(0x3b9)]('sheets-history-ui.config'))==null?void 0x0:_0x8df8b0['historyPanelHidden']}),_0x396b74[_0x4395b3(0x284)](_0x58c569=>this[_0x4395b3(0x269)](_0x58c569,_0x47b212)),this[_0x4395b3(0x3b4)][_0x4395b3(0x311)](_0x461673);let _0x2234ee=_0x396b74['get'](X),_0x5d6916=this[_0x4395b3(0x4a4)](_0x47b212),_0x4b3740=()=>{const _0x158c52=_0x4395b3;da(_0xe7574f)?_0x2234ee[_0x158c52(0x306)](_0x47b212,_0x5d6916,_0xe7574f):_0x2234ee[_0x158c52(0x317)](_0x47b212,_0x5d6916)[_0x158c52(0x2f8)](()=>{_0x2234ee['status']='error';});};if(this[_0x4395b3(0x417)]['show']({'content':this[_0x4395b3(0x2cd)]['t'](_0x4395b3(0x344)),'type':_0x516041[_0x4395b3(0x418)]}),_0x3c040c)try{_0x396b74[_0x4395b3(0x2fa)](_0xb8773d)[_0x4395b3(0x1fe)]()[_0x4395b3(0x2ae)](_0x4b3740)['catch'](_0x4b3740);}catch{_0x4b3740();}else _0x4b3740();}['_initListener'](_0x30b02f,_0x3c1352){const _0x4178dd=_0x12baa0;let _0xd8d1cf=_0x30b02f[_0x4178dd(0x2fa)](X);this['_disposableCollection'][_0x4178dd(0x2b4)](_0xd8d1cf[_0x4178dd(0x46f)][_0x4178dd(0x21d)](_0x591dcd=>{const _0x4b71c8=_0x4178dd;switch(_0x591dcd){case _0x4b71c8(0x358):this[_0x4b71c8(0x355)][_0x4b71c8(0x364)](),this['_sidebarService']['close']();break;case _0x4b71c8(0x1fd):this[_0x4b71c8(0x2bb)]['executeCommand'](ha['id']),this[_0x4b71c8(0x219)]();break;case _0x4b71c8(0x240):this[_0x4b71c8(0x219)](),this[_0x4b71c8(0x417)]['show']({'content':this[_0x4b71c8(0x2cd)]['t']('sheets-history-ui.loader.panel.listFetchError'),'type':_0x516041['Error'],'duration':0xbb8});break;default:break;}})),this[_0x4178dd(0x3f0)][_0x4178dd(0x2b4)](_0xd8d1cf['revertRevision$'][_0x4178dd(0x21d)](_0x554cdb=>{const _0x215d2f=_0x4178dd;if(_0x554cdb){let _0xde4589={'unitId':_0x3c1352,'revision':_0x554cdb};this[_0x215d2f(0x2bb)]['executeCommand'](_0x5996e6['id'],_0xde4589)[_0x215d2f(0x2f8)](()=>{const _0x259259=_0x215d2f;_0xd8d1cf[_0x259259(0x4a2)]=_0x259259(0x240);});}}));}[_0x12baa0(0x4a4)](_0x572842){const _0x2d9c83=_0x12baa0;let _0x4f63d7=this[_0x2d9c83(0x202)][_0x2d9c83(0x223)](_0x572842);if(!_0x4f63d7)return!0x1;let _0xa9cccd=_0x4f63d7[_0x2d9c83(0x40b)]()['map'](_0x24c834=>_0x24c834[_0x2d9c83(0x42c)]()),_0x1ac4a2=new _0x2d4b7e(_0x572842)['id'],_0x2be4af=_0xa9cccd['map'](_0x2adc65=>new _0x4c5159(_0x572842,_0x2adc65)['id']),_0x249204=_0xa9cccd[_0x2d9c83(0x26d)](_0x825178=>this['_selectionProtectionRuleModel']['getSubunitRuleList'](_0x572842,_0x825178)[_0x2d9c83(0x26d)](_0x3de521=>new _0x45c26a(_0x572842,_0x825178,_0x3de521[_0x2d9c83(0x393)])['id']))['flat'](),_0x1e39c2=new _0x545dec(_0x572842)['id'];return this[_0x2d9c83(0x23a)]['composePermission']([_0x1ac4a2,..._0x2be4af,..._0x249204,_0x1e39c2])[_0x2d9c83(0x2fb)](_0x10c243=>!!_0x10c243[_0x2d9c83(0x415)]);}};ka=J([q(0x0,_0x279b8e(_0x472cdf)),q(0x1,_0x4db7b5),q(0x2,_0x26c683),q(0x3,_0x1e22b1),q(0x4,_0x4950eb),q(0x5,_0x4820fc),q(0x6,_0x279b8e(_0x2faef2)),q(0x7,_0x279b8e(_0x117613)),q(0x8,_0x279b8e(_0x5e8766)),q(0x9,_0x279b8e(_0x56031e))],ka);let $=class extends _0x2b2536{constructor(_0x33f29f=G,_0x32d713,_0x4097f2){const _0xffd99=_0x12baa0;super(),this[_0xffd99(0x22c)]=_0x33f29f,this['_injector']=_0x32d713,this[_0xffd99(0x30d)]=_0x4097f2;let {menu:_0x2c572b,..._0x236add}=_0xa1e912({},G,this[_0xffd99(0x22c)]);_0x2c572b&&this['_configService']['setConfig'](_0xffd99(0x43e),_0x2c572b,{'merge':!0x0}),this['_configService']['setConfig'](W,_0x236add);}[_0x12baa0(0x40a)](){const _0x37713c=_0x12baa0;this[_0x37713c(0x390)][_0x37713c(0x2b4)]([ga]),this[_0x37713c(0x390)][_0x37713c(0x2fa)](ga),[[Q,{'useClass':ka}],[xa]][_0x37713c(0x348)](_0xe5d944=>this[_0x37713c(0x390)][_0x37713c(0x2b4)](_0xe5d944));}[_0x12baa0(0x209)](){const _0x2896f7=_0x12baa0;this[_0x2896f7(0x390)][_0x2896f7(0x2fa)](xa);}};K($,'type',_0x101fbf[_0x12baa0(0x391)]),K($,'pluginName',_0x12baa0(0x402)),K($,_0x12baa0(0x1ef),Di),K($,_0x12baa0(0x3e3),Oi),$=J([_0x51611f(_0x40052b,_0xb8c34e,_0x5c84aa,_0x19957f,_0x359ee7),q(0x1,_0x279b8e(_0x627409)),q(0x2,_0x26c683)],$);let Aa=class extends _0x4f187e{constructor(_0x1f32ac,_0x4ab504,_0x2c565b,_0x4e7a96,_0x5a52de,_0x2d8f46,_0x1dc881,_0x9f1bd9,_0x49f712,_0x384143){const _0x51b5a3=_0x12baa0;super(),this[_0x51b5a3(0x2bb)]=_0x1f32ac,this[_0x51b5a3(0x2a4)]=_0x4ab504,this[_0x51b5a3(0x347)]=_0x2c565b,this[_0x51b5a3(0x2cd)]=_0x4e7a96,this['_messageService']=_0x5a52de,this[_0x51b5a3(0x1d1)]=_0x2d8f46,this['_localCacheService']=_0x1dc881,this['_dataLoaderService']=_0x9f1bd9,this[_0x51b5a3(0x202)]=_0x49f712,this[_0x51b5a3(0x3e2)]=_0x384143,K(this,'_revertAcknowledgementSubscription',null),this[_0x51b5a3(0x37d)](_0x239555(()=>this['_clearRevertAcknowledgement']())),this['_init']();}['_init'](){const _0x3d211a=_0x12baa0;[ma,ha][_0x3d211a(0x348)](_0x2c5b5c=>this[_0x3d211a(0x37d)](_0x239555(this['_commandService'][_0x3d211a(0x309)](_0x2c5b5c)))),this['_menuManagerService']['mergeMenu'](va),this[_0x3d211a(0x37d)](this[_0x3d211a(0x2bb)][_0x3d211a(0x405)]((_0x25c27e,_0x435c1e)=>{const _0x3436b9=_0x3d211a;if(_0x25c27e['id']===_0x5996e6['id']&&ya(_0x25c27e['params'])){let {revision:_0x39ee5a,unitId:_0x3a34fc}=_0x25c27e[_0x3436b9(0x2c1)];this[_0x3436b9(0x417)][_0x3436b9(0x217)]({'content':this[_0x3436b9(0x2cd)]['t'](_0x3436b9(0x464)),'type':_0x516041[_0x3436b9(0x418)],'duration':0x1388});let _0x3f2af1=this[_0x3436b9(0x1d1)]['getCollabEntity'](_0x3a34fc);if(!_0x3f2af1){this[_0x3436b9(0x1e9)]();return;}_0x435c1e!=null&&_0x435c1e[_0x3436b9(0x2aa)]?this[_0x3436b9(0x1d5)](_0x3f2af1,{'revision':_0x39ee5a,'unitId':_0x3a34fc},async()=>(setTimeout(()=>window[_0x3436b9(0x30e)]['reload']()),!0x0),!0x0):this['_handleRevertAcknowledgement'](_0x3f2af1,{'revision':_0x39ee5a,'unitId':_0x3a34fc},async()=>{const _0x3f2f41=_0x3436b9;let _0x5e82de=this[_0x3f2f41(0x202)]['getCurrentUnitOfType'](_0x101fbf[_0x3f2f41(0x1ec)]),_0x1812d1=_0x5e82de==null?void 0x0:_0x5e82de['getActiveSheet']();if(!_0x1812d1)return!0x1;this[_0x3f2f41(0x202)][_0x3f2f41(0x3f1)](_0x3a34fc);let _0x2e6466=await this[_0x3f2f41(0x35a)][_0x3f2f41(0x477)](_0x3a34fc,_0x101fbf[_0x3f2f41(0x1ec)]);return _0x2e6466&&_0x2e6466 instanceof _0x544a2f?(await this[_0x3f2f41(0x3b6)](_0x2e6466,_0x1812d1['getSheetId']()),!0x0):!0x1;});}}));}['_handleRevertAcknowledgement'](_0x3ab03c,_0x30fe55,_0x4cfaf,_0x3b2bce=!0x1){const _0x3d5d96=_0x12baa0;this[_0x3d5d96(0x368)]();let _0x4338b4=_0x31c023([_0x3ab03c[_0x3d5d96(0x35f)]['event$'],_0x3ab03c[_0x3d5d96(0x4a6)]])['pipe'](_0x3314f3(([_0xb93862,_0x5f0149])=>ba(_0xb93862,_0x30fe55)&&(_0x5f0149==null?void 0x0:_0x5f0149[_0x3d5d96(0x4a2)])===_0x16676a['SYNCED']),_0x325287(0x1)),_0x5af1aa=_0x4338b4;_0x3b2bce&&(_0x5af1aa=_0x4338b4[_0x3d5d96(0x3a4)](_0x4f8c9({'first':0x1388}))),this[_0x3d5d96(0x1f2)]=_0x5af1aa['pipe'](_0x5890fa(async()=>{const _0x177ea5=_0x3d5d96;let _0x71737a=await _0x4cfaf();return _0x71737a&&(this['_historyManagerService'][_0x177ea5(0x219)](),await this[_0x177ea5(0x33c)][_0x177ea5(0x220)]()),_0x71737a;}),_0x2707d5(this[_0x3d5d96(0x34c)]))[_0x3d5d96(0x21d)]({'next':_0x146502=>{const _0x318608=_0x3d5d96;this[_0x318608(0x368)](),_0x146502||this[_0x318608(0x1e9)]();},'error':()=>{this['_clearRevertAcknowledgement'](),this['_showRevertFailed']();}});}[_0x12baa0(0x368)](){const _0x30f474=_0x12baa0;var _0x3d5f7c;(_0x3d5f7c=this[_0x30f474(0x1f2)])==null||_0x3d5f7c[_0x30f474(0x350)](),this[_0x30f474(0x1f2)]=null;}[_0x12baa0(0x1e9)](){const _0x138225=_0x12baa0;this[_0x138225(0x417)][_0x138225(0x217)]({'content':this[_0x138225(0x2cd)]['t']('sheets-history-ui.loader.panel.revertFailed'),'type':_0x516041[_0x138225(0x29f)],'duration':0xbb8});}async[_0x12baa0(0x3b6)](_0x113746,_0xa955ce){const _0x38364c=_0x12baa0;await this['_updateSubUnitFromURLParams'](_0x113746,_0xa955ce),_0x113746[_0x38364c(0x3ae)][_0x38364c(0x3a4)](_0x2707d5(this[_0x38364c(0x34c)]))[_0x38364c(0x21d)](_0x58d3b1=>{_0x58d3b1&&this['_updateURLWithCurrentState'](_0x58d3b1);}),this[_0x38364c(0x3e2)][_0x38364c(0x292)][_0x38364c(0x3a4)](_0x2707d5(this[_0x38364c(0x34c)]))[_0x38364c(0x21d)](()=>this['_updateSubUnitFromURLParams'](_0x113746,_0xa955ce));}[_0x12baa0(0x3bd)](_0x155eda,_0x2f264b=!0x1){const _0x575d99=_0x12baa0;let _0x2d6ff2=this[_0x575d99(0x3e2)]['getParam'](_0x575d99(0x379));_0x155eda[_0x575d99(0x42c)]()!==_0x2d6ff2&&this[_0x575d99(0x3e2)][_0x575d99(0x363)](_0x575d99(0x379),_0x155eda[_0x575d99(0x42c)](),_0x2f264b);}async['_updateSubUnitFromURLParams'](_0x397d9c,_0x33b15c){const _0x148ec3=_0x12baa0;var _0x306ad5;if(!_0x33b15c||!_0x397d9c[_0x148ec3(0x401)](_0x33b15c)){let _0x4e5662=_0x397d9c['getUnhiddenWorksheets']()[0x0],_0x37c1a6=_0x397d9c['getSheetBySheetId'](_0x4e5662);if(!_0x37c1a6)return;this[_0x148ec3(0x3bd)](_0x37c1a6,!0x0),await this['_commandService'][_0x148ec3(0x430)](_0x411141['id'],{'unitId':_0x397d9c[_0x148ec3(0x3c8)](),'subUnitId':_0x4e5662});return;}((_0x306ad5=_0x397d9c[_0x148ec3(0x429)]())==null?void 0x0:_0x306ad5[_0x148ec3(0x42c)]())!==_0x33b15c&&await this[_0x148ec3(0x2bb)][_0x148ec3(0x430)](_0x411141['id'],{'unitId':_0x397d9c[_0x148ec3(0x3c8)](),'subUnitId':_0x33b15c});}};Aa=J([q(0x0,_0x1e22b1),q(0x1,_0x74a1b2),q(0x2,_0x279b8e(Q)),q(0x3,_0x279b8e(_0x472cdf)),q(0x4,_0x4950eb),q(0x5,_0x279b8e(_0x4896a1)),q(0x6,_0x395037),q(0x7,_0x279b8e(_0x1bc8e8)),q(0x8,_0x4db7b5),q(0x9,_0x297a40)],Aa);let ja=class extends _0x2b2536{constructor(_0x258ba2=G,_0x5a2570,_0x303ea1){const _0x3755ae=_0x12baa0;super(),this[_0x3755ae(0x22c)]=_0x258ba2,this[_0x3755ae(0x390)]=_0x5a2570,this[_0x3755ae(0x30d)]=_0x303ea1;let {menu:_0x199dc2,..._0x1f97cd}=_0xa1e912({},G,this[_0x3755ae(0x22c)]);_0x199dc2&&this[_0x3755ae(0x30d)][_0x3755ae(0x446)](_0x3755ae(0x43e),_0x199dc2,{'merge':!0x0}),this[_0x3755ae(0x30d)][_0x3755ae(0x446)](W,_0x1f97cd);}['onStarting'](){const _0x4c5483=_0x12baa0;this[_0x4c5483(0x390)][_0x4c5483(0x2b4)]([Zi]),this['_injector'][_0x4c5483(0x2fa)](Zi),[[Q],[Aa]][_0x4c5483(0x348)](_0x39cf84=>this['_injector'][_0x4c5483(0x2b4)](_0x39cf84));}[_0x12baa0(0x209)](){const _0x5c4384=_0x12baa0;this[_0x5c4384(0x390)][_0x5c4384(0x2fa)](Aa);}};K(ja,_0x12baa0(0x468),_0x12baa0(0x392)),K(ja,_0x12baa0(0x1ef),Di),K(ja,_0x12baa0(0x3e3),Oi),K(ja,_0x12baa0(0x4a5),_0x101fbf[_0x12baa0(0x1ec)]),ja=J([_0x51611f(_0x40052b,_0xb8c34e,_0x109ccc,_0x19957f,_0x359ee7),q(0x1,_0x279b8e(_0x627409)),q(0x2,_0x26c683)],ja);export{W as SHEETS_HISTORY_UI_PLUGIN_CONFIG_KEY,ma as ToggleEditHistoryOperation,$ as UniverSheetsHistoryMobileUIPlugin,ja as UniverSheetsHistoryUIPlugin};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0x3920a4=_0x2ac0;(function(_0x5892b6,_0x494132){const _0x1b0935=_0x2ac0,_0x3ac9de=_0x5892b6();while(!![]){try{const _0x20064f=parseInt(_0x1b0935(0xdb))/0x1*(-parseInt(_0x1b0935(0xe4))/0x2)+-parseInt(_0x1b0935(0xa4))/0x3*(parseInt(_0x1b0935(0xb5))/0x4)+-parseInt(_0x1b0935(0xc0))/0x5*(-parseInt(_0x1b0935(0xa1))/0x6)+-parseInt(_0x1b0935(0xb8))/0x7*(parseInt(_0x1b0935(0xb1))/0x8)+-parseInt(_0x1b0935(0xa5))/0x9+-parseInt(_0x1b0935(0xb9))/0xa*(parseInt(_0x1b0935(0x98))/0xb)+-parseInt(_0x1b0935(0xb4))/0xc*(-parseInt(_0x1b0935(0x82))/0xd);if(_0x20064f===_0x494132)break;else _0x3ac9de['push'](_0x3ac9de['shift']());}catch(_0x8dd55){_0x3ac9de['push'](_0x3ac9de['shift']());}}}(_0x4500,0x22030));function _0x2ac0(_0xf6dda6,_0x4f5a88){_0xf6dda6=_0xf6dda6-0x7d;const _0x4500ed=_0x4500();let _0x2ac0ef=_0x4500ed[_0xf6dda6];return _0x2ac0ef;}const e={'sheets-history-ui':{'loader':{'panel':{'title':'سجل\x20التحرير','reverting':'جارٍ\x20الاستعادة،\x20يرجى\x20الانتظار...','revertFailed':_0x3920a4(0xd3),'listFetchError':_0x3920a4(0xd7)},'info':{'initializing':'جارٍ\x20التهيئة،\x20يرجى\x20الانتظار...'}},'viewer':{'panel':{'title':_0x3920a4(0xe0),'unknownUser':_0x3920a4(0x80),'listFetchError':_0x3920a4(0xd7),'revertConfirm':'استعادة\x20هذا\x20الإصدار؟','revertConfirmText':_0x3920a4(0xd4),'cancel':_0x3920a4(0xba),'confirm':_0x3920a4(0xc5),'reverting':_0x3920a4(0xd0),'revertFailed':_0x3920a4(0xd3),'currentVersion':_0x3920a4(0x95),'today':_0x3920a4(0x83),'dateCurrentYear':_0x3920a4(0x8b),'dateFull':_0x3920a4(0x94),'timeFormat':'H:m:s','currentUser':_0x3920a4(0x84),'revertDesc':_0x3920a4(0xbf),'filterAll':_0x3920a4(0xdd),'filterUser':_0x3920a4(0x9b),'filterAi':_0x3920a4(0xae),'aiAssistant':_0x3920a4(0xc8),'filterCollaboratorCancel':_0x3920a4(0xba),'filterCollaboratorConfirm':_0x3920a4(0xc5),'filterCollaborator':_0x3920a4(0xac)},'info':{'loading':'جارٍ\x20التحميل،\x20يرجى\x20الانتظار...','initializing':_0x3920a4(0xd9)},'header':{'back':_0x3920a4(0xc9),'revert':_0x3920a4(0xbf)},'action':{'insertSheet':'تم\x20إدراج\x20ورقة\x20عمل','removeSheet':'تم\x20حذف\x20ورقة\x20عمل','createSheet':_0x3920a4(0xcf),'renameSheet':_0x3920a4(0xb3),'reorderSheet':_0x3920a4(0xcc),'hideSheet':_0x3920a4(0xdc),'copySheet':_0x3920a4(0x9f),'setTabColor':_0x3920a4(0xd8),'renameWorkbook':'تمت\x20إعادة\x20تسمية\x20المصنف','insertRow':'تم\x20إدراج\x20صف','insertCol':'تم\x20إدراج\x20عمود','removeRow':_0x3920a4(0xe5),'removeCol':_0x3920a4(0x85),'moveRows':'تم\x20نقل\x20صفوف','moveCols':_0x3920a4(0xcb),'showRow':_0x3920a4(0xa7),'hideRow':_0x3920a4(0xc2),'showCol':'تم\x20إظهار\x20عمود','hideCol':_0x3920a4(0x9c),'setRowHeight':_0x3920a4(0xa6),'setColWidth':_0x3920a4(0xce),'setRowAutoHeight':_0x3920a4(0x90),'setRowIsAutoHeight':_0x3920a4(0xad),'setRowData':'تم\x20تغيير\x20بيانات\x20الصف','setColData':'تم\x20تغيير\x20بيانات\x20العمود','setRowCount':_0x3920a4(0x9d),'setColCount':_0x3920a4(0x9e),'setRangeValues':_0x3920a4(0x99),'moveRange':_0x3920a4(0xb6),'reorderRange':_0x3920a4(0xab),'mergeCells':_0x3920a4(0xe3),'unmergeCells':_0x3920a4(0xda),'setFilter':_0x3920a4(0xd6),'setFilterCriteria':_0x3920a4(0x7e),'removeFilter':_0x3920a4(0x97),'recalcFilter':_0x3920a4(0xc4),'setFrozen':_0x3920a4(0x7f),'toggleGridlines':_0x3920a4(0x88),'setGridlinesColor':'تم\x20تغيير\x20لون\x20خطوط\x20الشبكة','setRightToLeft':'تم\x20تغيير\x20التخطيط\x20من\x20اليمين\x20إلى\x20اليسار','setDefaultStyle':_0x3920a4(0x8d),'editSheet':_0x3920a4(0xe6),'revertSheet':_0x3920a4(0x8e),'revertSheetPrefix':'تمت\x20الاستعادة\x20من','revertSheetSuffix':'','setDV':'تم\x20تعيين\x20التحقق\x20من\x20صحة\x20البيانات','removeDV':'تمت\x20إزالة\x20التحقق\x20من\x20صحة\x20البيانات','setCF':'تم\x20تعيين\x20التنسيق\x20الشرطي','addCF':_0x3920a4(0x7d),'deleteCF':_0x3920a4(0xb2),'moveCF':_0x3920a4(0x96),'addProtection':_0x3920a4(0x91),'setProtection':'تم\x20تحديث\x20الحماية','deleteProtection':_0x3920a4(0xc6),'addRangeProtection':_0x3920a4(0xc3),'setRangeProtection':'تم\x20تحديث\x20حماية\x20النطاق','deleteRangeProtection':_0x3920a4(0xbb),'setPermissionPoints':'تم\x20تغيير\x20إعدادات\x20الأذونات','setNumfmt':'تم\x20تعيين\x20تنسيق\x20الأرقام','removeNumfmt':_0x3920a4(0x8c),'addRangeTheme':_0x3920a4(0xc7),'setRangeTheme':'تم\x20تحديث\x20سمة\x20النطاق','removeRangeTheme':_0x3920a4(0xaa),'setWorksheetRangeTheme':_0x3920a4(0xca),'registerRangeTheme':_0x3920a4(0x8f),'unregisterRangeTheme':_0x3920a4(0xcd),'deleteWorksheetRangeTheme':_0x3920a4(0xd5),'empty':'لا\x20توجد\x20تغييرات','addSparkline':'تمت\x20إضافة\x20خط\x20بياني\x20صغير','setSparkline':'تم\x20تحديث\x20خط\x20بياني\x20صغير','removeSparkline':'تمت\x20إزالة\x20خط\x20بياني\x20صغير','insertChart':_0x3920a4(0xe1),'removeChart':_0x3920a4(0xa8),'updateChartConfig':_0x3920a4(0x93),'updateChartSource':_0x3920a4(0xdf),'addPivotTable':'تمت\x20إضافة\x20جدول\x20محوري','removePivotTable':_0x3920a4(0x9a),'setPivotOption':_0x3920a4(0xa3),'setPivotPosition':'تم\x20تغيير\x20موضع\x20الجدول\x20المحوري','updatePivotSource':'تم\x20تحديث\x20مصدر\x20بيانات\x20الجدول\x20المحوري','addPivotField':_0x3920a4(0x87),'removePivotField':_0x3920a4(0xa9),'renamePivotField':_0x3920a4(0xa0),'updateFieldPosition':'تم\x20تغيير\x20موضع\x20الحقل\x20المحوري','updateValuePosition':_0x3920a4(0xb0),'updatePivotFieldSource':_0x3920a4(0xd2),'setPivotFieldFormat':_0x3920a4(0x8a),'setPivotFilter':_0x3920a4(0xbd),'setPivotValueFilter':_0x3920a4(0x92),'setPivotSort':_0x3920a4(0x81),'setPivotCollapse':'تم\x20تغيير\x20حالة\x20الطي\x20للجدول\x20المحوري','setPivotSubtotalType':'تم\x20تغيير\x20نوع\x20المجموع\x20الفرعي\x20للجدول\x20المحوري','insertShape':_0x3920a4(0xd1),'removeShape':_0x3920a4(0xc1),'updateShapeData':_0x3920a4(0xde),'updateShapeType':_0x3920a4(0xe2),'addTable':_0x3920a4(0xaf),'updateTable':_0x3920a4(0xa2),'removeTable':'تمت\x20إزالة\x20الجدول','setTableFilter':_0x3920a4(0x89),'updateDrawing':_0x3920a4(0x86),'insertDrawing':_0x3920a4(0xb7),'removeDrawing':_0x3920a4(0xbc),'etc':_0x3920a4(0xbe)}}}};export{e as default};function _0x4500(){const _0x3c283e=['تمت\x20إضافة\x20الحماية','تم\x20تطبيق\x20تصفية\x20قيمة\x20الجدول\x20المحوري','تم\x20تحديث\x20تكوين\x20المخطط','{2}/{1}/{0}','الإصدار\x20الحالي','تم\x20نقل\x20التنسيق\x20الشرطي','تمت\x20إزالة\x20التصفية','22gwoivT','تم\x20تحرير\x20خلايا','تمت\x20إزالة\x20جدول\x20محوري','بشري','تم\x20إخفاء\x20عمود','تم\x20تغيير\x20عدد\x20الصفوف','تم\x20تغيير\x20عدد\x20الأعمدة','تم\x20نسخ\x20ورقة\x20عمل','تمت\x20إعادة\x20تسمية\x20حقل\x20محوري','18wPzVZB','تم\x20تحديث\x20الجدول','تم\x20تغيير\x20خيار\x20الجدول\x20المحوري','56589ddcdUD','1515168GKTqla','تم\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المحوري','32WcNEYA','تم\x20حذف\x20التنسيق\x20الشرطي','تمت\x20إعادة\x20تسمية\x20ورقة\x20عمل','1393908dcOsBO','32gCaGpl','تم\x20نقل\x20نطاق','تم\x20إدراج\x20رسم','474222asiMnK','425310AheLlB','إلغاء','تمت\x20إزالة\x20حماية\x20النطاق','تمت\x20إزالة\x20الرسم','تم\x20تطبيق\x20تصفية\x20الجدول\x20المحوري','،\x20إلخ.','استعادة\x20هذا\x20الإصدار','395465rQoCHV','تمت\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خلايا','692TAtFDK','تم\x20إخفاء\x20ورقة\x20عمل','الكل','تم\x20تحديث\x20بيانات\x20الشكل','تم\x20تحديث\x20مصدر\x20بيانات\x20المخطط','سجل\x20التحرير','تم\x20إدراج\x20مخطط','تم\x20تحديث\x20نوع\x20الشكل','تم\x20دمج\x20خلايا','10oJdrsr','تم\x20حذف\x20صف','تم\x20تحرير\x20ورقة\x20العمل','تمت\x20إضافة\x20التنسيق\x20الشرطي','تم\x20تغيير\x20معايير\x20التصفية','تم\x20تغيير\x20تجميد\x20الأجزاء','مستخدم\x20غير\x20معروف','تم\x20تغيير\x20فرز\x20الجدول\x20المحوري','65ljqDWB','اليوم','المستخدم\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للصف'];_0x4500=function(){return _0x3c283e;};return _0x4500();}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function _0x4b4f(_0x3cad98,_0x21584b){_0x3cad98=_0x3cad98-0x159;const _0x4b6088=_0x4b60();let _0x4b4f5d=_0x4b6088[_0x3cad98];return _0x4b4f5d;}const _0x287b0d=_0x4b4f;(function(_0x21d46e,_0x4289da){const _0xaa5d3=_0x4b4f,_0x16df1f=_0x21d46e();while(!![]){try{const _0x9fcccf=-parseInt(_0xaa5d3(0x185))/0x1*(-parseInt(_0xaa5d3(0x1bf))/0x2)+-parseInt(_0xaa5d3(0x163))/0x3*(parseInt(_0xaa5d3(0x1a7))/0x4)+-parseInt(_0xaa5d3(0x1c7))/0x5+parseInt(_0xaa5d3(0x1c3))/0x6*(-parseInt(_0xaa5d3(0x1a5))/0x7)+-parseInt(_0xaa5d3(0x17f))/0x8+parseInt(_0xaa5d3(0x19e))/0x9+-parseInt(_0xaa5d3(0x19d))/0xa*(-parseInt(_0xaa5d3(0x18a))/0xb);if(_0x9fcccf===_0x4289da)break;else _0x16df1f['push'](_0x16df1f['shift']());}catch(_0x3cf2cf){_0x16df1f['push'](_0x16df1f['shift']());}}}(_0x4b60,0xd7395));function _0x4b60(){const _0x460d0b=['Font\x20de\x20camp\x20de\x20taula\x20dinàmica\x20actualitzada','Full\x20de\x20càlcul\x20inserit','Tema\x20d\x27interval\x20de\x20full\x20eliminat','Dibuix\x20inserit','Inicialitzant,\x20espereu...','Font\x20de\x20dades\x20de\x20taula\x20dinàmica\x20actualitzada','Filtre\x20de\x20taula\x20dinàmica\x20aplicat','Taula\x20dinàmica\x20afegida','Alçada\x20de\x20fila\x20canviada','Protecció\x20d\x27interval\x20actualitzada','Format\x20condicional\x20eliminat','No\x20s\x27ha\x20pogut\x20obtenir\x20la\x20llista\x20de\x20l\x27historial','Taula\x20actualitzada','Forma\x20eliminada','Assistent\x20d\x27IA','Format\x20condicional\x20establert','Confirmar','Taula\x20eliminada','Aquest\x20document\x20es\x20restaurarà\x20a\x20la\x20versió\x20seleccionada:\x20({0}\x20{1})','Tema\x20d\x27interval\x20de\x20full\x20actualitzat','Validació\x20de\x20dades\x20establerta','Columna\x20mostrada','Configuració\x20de\x20permisos\x20canviada','Usuari\x20desconegut','Cel·les\x20fusionades','6072968ECrUYi','Filtre\x20eliminat','Tipus\x20de\x20forma\x20actualitzat','{1}/{0}','Camp\x20de\x20taula\x20dinàmica\x20reanomenat','Camp\x20de\x20taula\x20dinàmica\x20afegit','4aJPMHS','Minigràfic\x20eliminat','Taula\x20afegida','Disseny\x20de\x20dreta\x20a\x20esquerra\x20canviat','Posició\x20de\x20taula\x20dinàmica\x20canviada','2574517AToSUD','Tema\x20d\x27interval\x20actualitzat','Gràfic\x20eliminat','Fila\x20mostrada','Restaurant,\x20espereu...','Restaurar\x20aquesta\x20versió','Criteris\x20de\x20filtre\x20canviats','Protecció\x20d\x27interval\x20eliminada','Llibre\x20restaurat','Fila\x20eliminada','Protecció\x20d\x27interval\x20afegida','Fusió\x20de\x20cel·les\x20cancel·lada','Posició\x20de\x20valor\x20de\x20taula\x20dinàmica\x20canviada','Full\x20de\x20càlcul\x20editat','Tema\x20d\x27interval\x20eliminat','Protecció\x20afegida','Ordenació\x20de\x20taula\x20dinàmica\x20canviada','Full\x20de\x20càlcul\x20ocult','Format\x20de\x20camp\x20de\x20taula\x20dinàmica\x20canviat','110mrySTK','3749517qrqQqk','Filtre\x20de\x20valor\x20de\x20taula\x20dinàmica\x20aplicat','Estat\x20de\x20col·lapse\x20de\x20taula\x20dinàmica\x20canviat','Filtre\x20de\x20taula\x20aplicat','Inmovilització\x20de\x20panells\x20canviada','Posició\x20de\x20camp\x20de\x20taula\x20dinàmica\x20canviada','Full\x20de\x20càlcul\x20reordenat','376453ZofSXN','Format\x20condicional\x20afegit','12UeHyjr','Cel·les\x20editades','Minigràfic\x20afegit','Tots','Font\x20de\x20dades\x20de\x20gràfic\x20actualitzada','Nombre\x20de\x20files\x20canviat','Dades\x20de\x20forma\x20actualitzades','Cancel·lar','Opció\x20de\x20taula\x20dinàmica\x20canviada','Columna\x20oculta','Fila\x20inserida','Filtrar\x20per\x20col·laborador','Tema\x20d\x27interval\x20registrat','Color\x20de\x20pestanya\x20canviat','Full\x20de\x20càlcul\x20copiat','Error\x20desconegut,\x20actualitzeu\x20la\x20pàgina\x20per\x20veure\x20el\x20resultat\x20de\x20la\x20restauració','Protecció\x20actualitzada','Restaurat\x20des\x20de','Forma\x20inserida','Camp\x20de\x20taula\x20dinàmica\x20eliminat','Mode\x20d\x27alçada\x20automàtica\x20de\x20fila\x20canviat','Filtre\x20recalculat','Columnes\x20desplaçades','Gràfic\x20inserit','587504HQSXmF','Llibre\x20creat','Tema\x20d\x27interval\x20afegit','Alçada\x20automàtica\x20de\x20fila\x20activada','102gzdLvk',',\x20etc.','Dibuix\x20eliminat','Avui','1046240KehLAX','Validació\x20de\x20dades\x20eliminada','Taula\x20dinàmica\x20eliminada','Tema\x20d\x27interval\x20desregistrat','Enrere','Historial\x20d\x27edicions','Amplada\x20de\x20columna\x20canviada','Interval\x20desplaçat','Versió\x20actual','Configuració\x20de\x20gràfic\x20actualitzada','Protecció\x20eliminada','1401969gsOHBL','Fila\x20oculta','Full\x20de\x20càlcul\x20reanomenat'];_0x4b60=function(){return _0x460d0b;};return _0x4b60();}const e={'sheets-history-ui':{'loader':{'panel':{'title':'Historial\x20d\x27edicions','reverting':_0x287b0d(0x18e),'revertFailed':_0x287b0d(0x1b6),'listFetchError':_0x287b0d(0x171)},'info':{'initializing':_0x287b0d(0x16a)}},'viewer':{'panel':{'title':_0x287b0d(0x15d),'unknownUser':_0x287b0d(0x17d),'listFetchError':'No\x20s\x27ha\x20pogut\x20obtenir\x20la\x20llista\x20de\x20l\x27historial','revertConfirm':'Restaurar\x20aquesta\x20versió?','revertConfirmText':_0x287b0d(0x178),'cancel':_0x287b0d(0x1ae),'confirm':_0x287b0d(0x176),'reverting':_0x287b0d(0x18e),'revertFailed':_0x287b0d(0x1b6),'currentVersion':_0x287b0d(0x160),'today':_0x287b0d(0x1c6),'dateCurrentYear':_0x287b0d(0x182),'dateFull':'{1}/{0}/{2}','timeFormat':'H:m:s','currentUser':'Usuari\x20actual','revertDesc':_0x287b0d(0x18f),'filterAll':_0x287b0d(0x1aa),'filterUser':'Humà','filterAi':'IA','aiAssistant':_0x287b0d(0x174),'filterCollaboratorCancel':_0x287b0d(0x1ae),'filterCollaboratorConfirm':'Confirmar','filterCollaborator':_0x287b0d(0x1b2)},'info':{'loading':'Carregant,\x20espereu...','initializing':_0x287b0d(0x16a)},'header':{'back':_0x287b0d(0x15c),'revert':_0x287b0d(0x18f)},'action':{'insertSheet':_0x287b0d(0x167),'removeSheet':'Full\x20de\x20càlcul\x20eliminat','createSheet':_0x287b0d(0x1c0),'renameSheet':_0x287b0d(0x165),'reorderSheet':_0x287b0d(0x1a4),'hideSheet':_0x287b0d(0x19b),'copySheet':_0x287b0d(0x1b5),'setTabColor':_0x287b0d(0x1b4),'renameWorkbook':'Llibre\x20reanomenat','insertRow':_0x287b0d(0x1b1),'insertCol':'Columna\x20inserida','removeRow':_0x287b0d(0x193),'removeCol':'Columna\x20eliminada','moveRows':'Files\x20desplaçades','moveCols':_0x287b0d(0x1bd),'showRow':_0x287b0d(0x18d),'hideRow':_0x287b0d(0x164),'showCol':_0x287b0d(0x17b),'hideCol':_0x287b0d(0x1b0),'setRowHeight':_0x287b0d(0x16e),'setColWidth':_0x287b0d(0x15e),'setRowAutoHeight':_0x287b0d(0x1c2),'setRowIsAutoHeight':_0x287b0d(0x1bb),'setRowData':'Dades\x20de\x20fila\x20canviades','setColData':'Dades\x20de\x20columna\x20canviades','setRowCount':_0x287b0d(0x1ac),'setColCount':'Nombre\x20de\x20columnes\x20canviat','setRangeValues':_0x287b0d(0x1a8),'moveRange':_0x287b0d(0x15f),'reorderRange':'Interval\x20reordenat','mergeCells':_0x287b0d(0x17e),'unmergeCells':_0x287b0d(0x195),'setFilter':'Filtre\x20aplicat','setFilterCriteria':_0x287b0d(0x190),'removeFilter':_0x287b0d(0x180),'recalcFilter':_0x287b0d(0x1bc),'setFrozen':_0x287b0d(0x1a2),'toggleGridlines':'Línies\x20de\x20quadrícula\x20alternades','setGridlinesColor':'Color\x20de\x20línies\x20de\x20quadrícula\x20canviat','setRightToLeft':_0x287b0d(0x188),'setDefaultStyle':'Estil\x20per\x20defecte\x20canviat','editSheet':_0x287b0d(0x197),'revertSheet':_0x287b0d(0x192),'revertSheetPrefix':_0x287b0d(0x1b8),'revertSheetSuffix':'','setDV':_0x287b0d(0x17a),'removeDV':_0x287b0d(0x159),'setCF':_0x287b0d(0x175),'addCF':_0x287b0d(0x1a6),'deleteCF':_0x287b0d(0x170),'moveCF':'Format\x20condicional\x20desplaçat','addProtection':_0x287b0d(0x199),'setProtection':_0x287b0d(0x1b7),'deleteProtection':_0x287b0d(0x162),'addRangeProtection':_0x287b0d(0x194),'setRangeProtection':_0x287b0d(0x16f),'deleteRangeProtection':_0x287b0d(0x191),'setPermissionPoints':_0x287b0d(0x17c),'setNumfmt':'Format\x20de\x20nombre\x20establert','removeNumfmt':'Format\x20de\x20nombre\x20eliminat','addRangeTheme':_0x287b0d(0x1c1),'setRangeTheme':_0x287b0d(0x18b),'removeRangeTheme':_0x287b0d(0x198),'setWorksheetRangeTheme':_0x287b0d(0x179),'registerRangeTheme':_0x287b0d(0x1b3),'unregisterRangeTheme':_0x287b0d(0x15b),'deleteWorksheetRangeTheme':_0x287b0d(0x168),'empty':'Sense\x20canvis','addSparkline':_0x287b0d(0x1a9),'setSparkline':'Minigràfic\x20actualitzat','removeSparkline':_0x287b0d(0x186),'insertChart':_0x287b0d(0x1be),'removeChart':_0x287b0d(0x18c),'updateChartConfig':_0x287b0d(0x161),'updateChartSource':_0x287b0d(0x1ab),'addPivotTable':_0x287b0d(0x16d),'removePivotTable':_0x287b0d(0x15a),'setPivotOption':_0x287b0d(0x1af),'setPivotPosition':_0x287b0d(0x189),'updatePivotSource':_0x287b0d(0x16b),'addPivotField':_0x287b0d(0x184),'removePivotField':_0x287b0d(0x1ba),'renamePivotField':_0x287b0d(0x183),'updateFieldPosition':_0x287b0d(0x1a3),'updateValuePosition':_0x287b0d(0x196),'updatePivotFieldSource':_0x287b0d(0x166),'setPivotFieldFormat':_0x287b0d(0x19c),'setPivotFilter':_0x287b0d(0x16c),'setPivotValueFilter':_0x287b0d(0x19f),'setPivotSort':_0x287b0d(0x19a),'setPivotCollapse':_0x287b0d(0x1a0),'setPivotSubtotalType':'Tipus\x20de\x20subtotal\x20de\x20taula\x20dinàmica\x20canviat','insertShape':_0x287b0d(0x1b9),'removeShape':_0x287b0d(0x173),'updateShapeData':_0x287b0d(0x1ad),'updateShapeType':_0x287b0d(0x181),'addTable':_0x287b0d(0x187),'updateTable':_0x287b0d(0x172),'removeTable':_0x287b0d(0x177),'setTableFilter':_0x287b0d(0x1a1),'updateDrawing':'Dibuix\x20actualitzat','insertDrawing':_0x287b0d(0x169),'removeDrawing':_0x287b0d(0x1c5),'etc':_0x287b0d(0x1c4)}}}};export{e as default};
|