@univerjs-pro/edit-history-viewer 0.2.10 → 0.2.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/types/controllers/config.schema.d.ts +5 -0
- package/lib/types/index.d.ts +1 -1
- package/lib/types/plugin.d.ts +6 -3
- package/lib/umd/index.js +1 -1
- package/package.json +27 -27
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x4274(_0x264093,_0x29c6dd){const _0x35123c=_0x3512();return _0x4274=function(_0x4274a9,_0x412f31){_0x4274a9=_0x4274a9-0x18a;let _0x50dcf1=_0x35123c[_0x4274a9];return _0x50dcf1;},_0x4274(_0x264093,_0x29c6dd);}function _0x3512(){const _0x390406=['white','4901128wbCvdX','random','_transformService','_snapshotServerService','SetConditionalRuleMutation','getUnitOnRev','amd','from','ensureVersion','hideMask','setCF','addObjects','filter','currentSkeleton$','workbook','Delete','_diffs','Disposable','close','MoveWorksheet','_permissionService','rgba(58,\x2096,\x20247,\x200.20)','Steady','React','_configService','isArray','_fetching','_historyContainerId','IConfigService','BehaviorSubject','editHistory.panel.currentVersion','users','2127519JPlfRT','useRef','removeSheet','createElement','MoveRowsMutation','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','APPLY_REJECT','range','assign','getSheetObject','getUnitId','UniverSheets','univer-version-date','SetColumnStyle','SetCellStyle','debounce','InsertHyperlink','InsertColMutation','_combineRanges','includes','_removeDiffMarks','history-mask','asObservable','rect','editHistory.action.revertSheetSuffix','replace','block','displayName','action','onMouseMove','attrs','unitId$','switchMap','addProtection','CreateWorksheet','center','prototype','UniverEditHistoryViewerPlugin','cellValue','dateString','IUIPartsService','useCallback','IImageIoService','user','RwHgtClWdt','univer-version-list-loading-icon','1969521SopMIE','historyViewHeaderBack','subscribeEvent','versionListPanel','propertyIsEnumerable','parseProtocolChangeset','makeDirty','setFrozen','univer-version-list-panel','_versions$','ISnapshotServerService','_componentManager','exports','DeleteWorksheet','primary','useState','pluginName','_sheetSkeletonManagerService','UniverSheetsUIPlugin','Injector','@univerjs/sheets-conditional-formatting','versionItem','_init','univer-history-view-header-back-text','UNIVER_SHEET','INTERNAL_ERROR','Tooltip','ZH_CN','_renderManagerService','_unitId$','DisposableCollection','combineLatest','_loadingState$','disposeWithMe','_dialogOptions$','updatePermissionPoint','flex','emptyText','editHistory.panel.currentUser','_sidebarService','getCellPositionByOffset','versions$','FromArray','LifecycleStages','endRow','versions','M2.06678\x203.37926C2.0668\x201.94333\x203.23085\x200.779297\x204.66678\x200.779297H9.44256C10.1796\x200.779297\x2010.8821\x201.09213\x2011.3751\x201.63999L13.2659\x203.74079C13.6955\x204.21822\x2013.9333\x204.83779\x2013.9333\x205.4801V12.7126C13.9333\x2014.1486\x2012.7692\x2015.3126\x2011.3333\x2015.3126H4.66665C3.2307\x2015.3126\x202.06663\x2014.1486\x202.06665\x2012.7126L2.06678\x203.37926ZM4.66678\x201.9793C3.89359\x201.9793\x203.26679\x202.60609\x203.26678\x203.37928L3.26665\x2012.7126C3.26664\x2013.4858\x203.89344\x2014.1126\x204.66665\x2014.1126H11.3333C12.1065\x2014.1126\x2012.7333\x2013.4858\x2012.7333\x2012.7126V5.4801C12.7333\x205.44882\x2012.7322\x205.41764\x2012.7302\x205.3866H10.7985C9.91488\x205.3866\x209.19853\x204.67026\x209.19853\x203.78661V1.9793H4.66678ZM10.4832\x202.44275L12.0526\x204.1866H10.7985C10.5776\x204.1866\x2010.3985\x204.00752\x2010.3985\x203.78661V2.35649C10.4279\x202.38389\x2010.4561\x202.41266\x2010.4832\x202.44275Z','ObjectMatrix','getCurrentVersion','univer-version-list-loading','editHistory.panel.revertConfirmText','div','HistoryManagerService','WorkbookMoveSheetPermission','RevertRevisionMutation','UpdateDataValidationMutation','position','_univerInstanceService','commands','SetWorksheetHideMutation','Loaded','flat','HistoryModeStatus','[HistoryFetchService]:\x20request\x20snapshot\x20error!','endRevision','SetRangeValuesMutation','setState','UniverCore','defIds','Comment','status','getMember','UniverSheetsUi','univer-version-list-panel-content','DeleteColumn','_versionDiffService','call','xlink:href','CHANGESET_REVISION_CONFILICT','SelectProtectedCells','ISidebarService','getHours','getViewport','DeleteRow','UniverIcon','univer-history-view-header-revert','@univerjs/ui','UniverUi','UniverCollaborationClient','debounceTime','memberId','toDisposable','UniverDrawing','executeCommand','AddDataValidationMutation','append','error','UNDEFINED','UNIVER_PROJECT','versionItemHeader','EditWorksheetCell','loaded','@univerjs/drawing','startRevision','LICENSE_MAX_UNITS_EXCEEDED','_historyManagerService','HideSheet','endRev','_canRevert','length','View','registerComponent','editHistory.panel.revertConfirm','SetCellValue','ViewHistory','concat','mutations','find','subUnitId','none','ManageCollaborator','createUnit','getCurrentLocale','3370912fXAYoX','function','UniverNetwork','hasOwnProperty','subType','has','display','zIndex','get','entered','SetWorksheetStyle','forwardRef','keys','_sidebarDisposable','register','getDialogs$','_compressMutationService','_uiPartsService','_initMaskContainer','createTime','Plugin','params','setValue','@univerjs/core','syncExecuteCommand','loadingState$','map','NOT_FOUND','editHistory.panel.listFetchError','COMPLETION_FINISHED','0\x200\x2016\x2016','revertSheet','hasCommand','DeleteSheet','loading','Share','M8.00695\x2014.9998C8.00461\x2014.9999\x208.00227\x2014.9999\x207.99993\x2014.9999C4.13397\x2014.9999\x201\x2011.8659\x201\x207.99995C1\x204.13624\x204.13035\x201.00365\x207.99321\x201.00003C7.9955\x201.00001\x207.99779\x201\x208.00008\x201C11.866\x201\x2015\x204.13397\x2015\x207.99993C15\x2011.8636\x2011.8697\x2014.9961\x208.00695\x2014.9998ZM13.3569\x208.01503C13.3568\x208.01001\x2013.3568\x208.00499\x2013.3568\x207.99995C13.3568\x205.04144\x2010.9584\x202.64309\x207.99993\x202.64309C5.04645\x202.64309\x202.65123\x205.03327\x202.64308\x207.98484C2.64317\x207.98986\x202.64322\x207.99489\x202.64322\x207.99993C2.64322\x2010.9584\x205.04157\x2013.3568\x208.00008\x2013.3568C10.9536\x2013.3568\x2013.3488\x2010.9666\x2013.3569\x208.01503Z','WorkbookEditablePermission','getSheetBlock','Starting','versionItemContent','YUUMI_RATE_OVER_LIMIT','Button','Info','_messageService','UNIVER_UNKNOWN','defs','/universer-api/history','entries','@univerjs-pro/collaboration-client','APPLY_PERMISSION_DENIED','IUniverInstanceService','toString','LocaleType','HTTPService','focusUnit','Print','Sort','Export','editHistory.panel.title','ThemeService','univer-active','padStart','merge','Duplicate','SelectUnProtectedCells','versionListPanelContent','canRevert','push','UniverDesign','anonymous','CompressMutationService','FloatImg','1000','_currentVersion$','HEADER','SNAPSHOT_INVALID_SNAPSHOT','InsertColumn','subscribe','unitId','state$','closeAll','_createUnit','triggerLoadVersions','WorkbookHideSheetPermission','getCoordByCell','editSheet','value','current','Vector2','dispose','0\x200\x2016\x2017','svg','UniverInstanceType','top','SheetCollabCursorShape','children','DependentOn','_workbookDataCache','permissionPointUpdate$','fill','historyViewHeader','RenameWorksheet','UNIVER_DOC','startRow','M7.41252\x2010.6196C7.64683\x2010.3852\x207.64683\x2010.0053\x207.41252\x209.77103L6.77012\x209.12863H9.67836C9.89927\x209.12863\x2010.0784\x209.30772\x2010.0784\x209.52863V11.1953C10.0784\x2011.5267\x2010.347\x2011.7953\x2010.6784\x2011.7953C11.0097\x2011.7953\x2011.2784\x2011.5267\x2011.2784\x2011.1953V9.52863C11.2784\x208.64497\x2010.562\x207.92863\x209.67836\x207.92863H6.77012L7.41252\x207.28623C7.64683\x207.05191\x207.64683\x206.67201\x207.41252\x206.4377C7.1782\x206.20338\x206.79831\x206.20338\x206.56399\x206.4377L4.89732\x208.10437C4.66301\x208.33868\x204.66301\x208.71858\x204.89732\x208.95289L6.56399\x2010.6196C6.79831\x2010.8539\x207.1782\x2010.8539\x207.41252\x2010.6196Z','AddConditionalRuleMutation','onRendered','RemoveSheetMutation','UniverCollaboration','interceptor','PivotTable','Loading','CopySheet','pipe','univer-loading-spin','IPermissionService','currentVersion$','then','Init','ViewFilter','trim','ViemRwHgtClWdt','SheetSkeletonManagerService','getCurrentUnitForType','clear','span','SetNumfmtMutation','_localeService','history-panel','init','open','CreateSheet','Error','RecoverHistory','parse','_getAPIPrefix','editHistory.panel.revertDesc','rxjs','_updateDiffMarks','m-auto\x20animate-spin360','className','PERMISSION_DENIED','_currentVersionDiff$','onStarting','forValue','BackSingle','_commandService','next','_members','versionItemHeaderTime','getVersions','blockMeta','BuiltInUIPart','split','versionDate','string','createSheet','ImageIoService','clipPath','findAllRectangle','sheet','Module','SetRowStyle','userID','MessageType','editHistory.info.loading','skeleton','confirm','_diffRangesMap','InsertRowMutation','rgba(225,\x20225,\x20225,\x200.5)','empty','_initPanel','recoverTime','_initRender','loadMoreVersions','toISOString','ITransformService','LocaleService','apply','column','@univerjs/network','changesets','command','Copy','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','_loadingMessage','getAncestorScale','@univerjs/design','useDependency','_updateVersions','versionListLoading','restore-single_clip0_1247_2','height','now','name','HideWorksheet','RangeMergeUtil','blocks','Filter','IRenderManagerService','style','_initActiveSwitch','endColumn','loadingState','url(#$1','APPLY_NON_SEQUENTIAL_REVISION','insertSheet','idSuffix','exited','isTransformMutationsSuccess','IHTTPImplementation','defineProperty','APPLY_REVISION_CONFILICT','RenameSheet','setFilter','entities','UNIVER_SLIDE','SnapshotServerOverHTTPService','back-single','Exited','getConfig','getElementById','_confirmService','getMinutes','Edit','transformMutations','8273286ZKJCmo','LICENSE_IMPORT_SIZE_EXCEEDED','rule','versionItemHeaderExpand','univer-version-item-content','DeleteWorksheetProtectionMutation','@univerjs/sheets','AddRangeProtectionMutation','some','add','set','setDV','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','univer-history-view-header','_extractRanges','userId','@univerjs/sheets-filter','@univerjs/sheets-ui','_lastPointer','YUUMI_SUBSCRIPTION_NOT_FOUND','_injector','CONNECTOR_DATA_TOO_LARGE','body','date','AddWorksheetProtectionMutation','COMPRESS_MUTATION_APPLY','InsertSheetMutation','all','IConfirmService','triggerRevert','_status$','Inject','code','showMask','clsx','VIRTUAL_VERSION_NOW','getOwnPropertyDescriptor','currentVersionDiff$','History','univer-version-item','useObservable','_cellEditorManagerService','univer-version-item-header-time','INVALID_ARGUMENT','reduce','editHistory.header.revert','url(#restore-single_clip0_1247_2)','@univerjs/data-validation','Entered','getVersion','show','color','transformSnapshotToWorkbookData','SetSheetsFilterRangeMutation','UniverEditHistoryViewer','_revertRevision$','univer-version-item-header-time-tag','getInterceptPoints','loadSheet','ranges','25dajYpb','path','4qlcHeY','editHistory.action.revertSheetPrefix','@univerjs/engine-render','Fragment','_lastLabel','24px','OnLifecycle','flex\x20items-center\x20justify-center','ALREADY_EXISTS','tag','evenodd','YUUMI_UNABLE_LOAD_URL','_httpService','172414YLdFwi','_context','values','MoveSheet','startColumn','triggerLoadSheet','UNRECOGNIZED','UniverDataValidation','absolute','editHistory.action.','MoveColsMutation','m1Prime','_maskElement','backgroundColor','SNAPSHOT_HAS_BEEN_REMOVED','YUUMI_URL_COL_OUT_OF_RANGE','1em','extend','editHistory.panel.unknownUser','row','IMessageService','30zxbPnY','192552yZIocO','currentVersion','colorChannel1','icon','UNAUTHENTICATED','@univerjs-pro/collaboration','100%','react','_getActiveSubUnitId','disposeUnit','getOwnPropertySymbols','active','data','Subject','_maskContainer','Rendered','ICommandService','forEach','univer-version-item-header','_historyFetchService','indexOf','ICellEditorManagerService','width','DeleteRangeProtectionMutation','InsertRow','EditExtraObject','time','deleteProtection'];_0x3512=function(){return _0x390406;};return _0x3512();}(function(_0x3a2a2f,_0x3136e2){const _0x51eafe=_0x4274,_0x9e0132=_0x3a2a2f();while(!![]){try{const _0x43eac7=parseInt(_0x51eafe(0x1db))/0x1+parseInt(_0x51eafe(0x2d7))/0x2+-parseInt(_0x51eafe(0x25c))/0x3*(parseInt(_0x51eafe(0x1ce))/0x4)+parseInt(_0x51eafe(0x1cc))/0x5*(-parseInt(_0x51eafe(0x1f1))/0x6)+parseInt(_0x51eafe(0x190))/0x7+-parseInt(_0x51eafe(0x20e))/0x8+-parseInt(_0x51eafe(0x22e))/0x9*(parseInt(_0x51eafe(0x1f0))/0xa);if(_0x43eac7===_0x3136e2)break;else _0x9e0132['push'](_0x9e0132['shift']());}catch(_0x36ae34){_0x9e0132['push'](_0x9e0132['shift']());}}}(_0x3512,0xdbf7b),function(_0x3931d0,_0x9ee642){const _0x2d2264=_0x4274;typeof exports=='object'&&typeof module<'u'?_0x9ee642(exports,require(_0x2d2264(0x2ee)),require(_0x2d2264(0x308)),require(_0x2d2264(0x38d)),require(_0x2d2264(0x2b2)),require(_0x2d2264(0x1d0)),require(_0x2d2264(0x1a1)),require(_0x2d2264(0x2c2)),require(_0x2d2264(0x1f6)),require(_0x2d2264(0x361)),require('@univerjs/design'),require(_0x2d2264(0x196)),require('@univerjs/sheets-filter'),require(_0x2d2264(0x1bf)),require(_0x2d2264(0x270)),require('react'),require(_0x2d2264(0x1b2))):typeof define=='function'&&define[_0x2d2264(0x214)]?define([_0x2d2264(0x268),_0x2d2264(0x2ee),_0x2d2264(0x308),'@univerjs/network','@univerjs/ui',_0x2d2264(0x1d0),_0x2d2264(0x1a1),_0x2d2264(0x2c2),_0x2d2264(0x1f6),_0x2d2264(0x361),_0x2d2264(0x394),_0x2d2264(0x196),_0x2d2264(0x1a0),_0x2d2264(0x1bf),_0x2d2264(0x270),_0x2d2264(0x1f8),'clsx'],_0x9ee642):(_0x3931d0=typeof globalThis<'u'?globalThis:_0x3931d0||self,_0x9ee642(_0x3931d0[_0x2d2264(0x1c6)]={},_0x3931d0[_0x2d2264(0x29f)],_0x3931d0[_0x2d2264(0x2b4)],_0x3931d0[_0x2d2264(0x2d9)],_0x3931d0[_0x2d2264(0x2b3)],_0x3931d0['UniverEngineRender'],_0x3931d0[_0x2d2264(0x2a4)],_0x3931d0[_0x2d2264(0x2b8)],_0x3931d0[_0x2d2264(0x344)],_0x3931d0[_0x2d2264(0x361)],_0x3931d0[_0x2d2264(0x31c)],_0x3931d0[_0x2d2264(0x239)],_0x3931d0['UniverSheetsFilter'],_0x3931d0[_0x2d2264(0x1e2)],_0x3931d0['UniverSheetsConditionalFormatting'],_0x3931d0[_0x2d2264(0x225)],_0x3931d0[_0x2d2264(0x1b2)]));}(this,function(_0x569069,_0x1a49dd,_0x38c316,_0x4d205b,_0x402642,_0x1b6da8,_0x476454,_0x379b59,_0x3b9149,_0x77eb8a,_0x42477e,_0x163c24,_0x24bc0e,_0x31f422,_0x1c59a9,_0x2a778d,_0x1a6033){'use strict';const _0x41826a=_0x4274;var _0x462767=Object['defineProperty'],_0x55767b=(_0xc01023,_0x368882,_0x110bdd)=>_0x368882 in _0xc01023?_0x462767(_0xc01023,_0x368882,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x110bdd}):_0xc01023[_0x368882]=_0x110bdd,_0x432628=(_0x76bc5d,_0x4afec8,_0x255951)=>_0x55767b(_0x76bc5d,typeof _0x4afec8!='symbol'?_0x4afec8+'':_0x4afec8,_0x255951);const _0x16eee6=(_0x241393,_0x119233)=>{const _0x55f654=_0x4274;if(!_0x241393)return{'date':'','time':''};const _0x47edb4=new Date(_0x241393),_0x4fa700=_0x47edb4[_0x55f654(0x388)]()[_0x55f654(0x371)]('T')[0x0];switch(_0x119233){case _0x1a49dd[_0x55f654(0x30c)]['ZH_CN']:return{'date':_0x371848(_0x4fa700,_0x119233),'time':_0x47edb4[_0x55f654(0x2ad)]()+':'+String(_0x47edb4[_0x55f654(0x18d)]())[_0x55f654(0x315)](0x2,'0')};default:return{'date':_0x371848(_0x4fa700,_0x119233),'time':_0x47edb4['getHours']()+':'+_0x47edb4[_0x55f654(0x18d)]()};}},_0x5d4399=(_0x59ef73,_0x40ca41)=>{const _0x3bc1f1=_0x4274,_0x3f87e0=_0x59ef73[_0x3bc1f1(0x259)]||_0x40ca41['t'](_0x3bc1f1(0x1ed));if(_0x59ef73[_0x3bc1f1(0x296)][_0x3bc1f1(0x198)](_0x475741=>_0x475741===_0x3b9149[_0x3bc1f1(0x292)]['id'])&&_0x59ef73[_0x3bc1f1(0x385)]){const _0x212106=_0x16eee6(_0x59ef73['recoverTime'],_0x40ca41['getCurrentLocale']()),_0x25981b=_0x212106['date']+'\x20'+_0x212106[_0x3bc1f1(0x20b)];return _0x3f87e0+'\x20'+_0x40ca41['t'](_0x3bc1f1(0x1cf))+'\x20'+_0x25981b+'\x20'+_0x40ca41['t'](_0x3bc1f1(0x246));}const _0x34d5d0=_0x3f853e(_0x59ef73),_0x4b87c0=_0x34d5d0[_0x3bc1f1(0x2c9)]===0x1?_0x40ca41['t'](_0x34d5d0[0x0]):''+_0x40ca41['t'](_0x34d5d0[0x0])+_0x40ca41['t']('editHistory.action.etc');return _0x3f87e0+'\x20'+_0x4b87c0;};function _0x3f853e(_0x2177be){const _0x398e65=_0x4274;if(_0x2177be[_0x398e65(0x296)]['length']===0x0)return[''];const _0x3c586b=_0x398e65(0x1e4),_0x374007=_0x3c586b+_0x398e65(0x32d),_0x45e4c7=[{'id':_0x3b9149['CreateUnitMutation']['id'],'action':_0x3c586b+_0x398e65(0x374)},{'id':_0x3b9149['RevertRevisionMutation']['id'],'action':_0x3c586b+_0x398e65(0x2f6)},{'id':_0x163c24[_0x398e65(0x1aa)]['id'],'action':_0x3c586b+_0x398e65(0x3a7)},{'id':_0x163c24[_0x398e65(0x343)]['id'],'action':_0x3c586b+_0x398e65(0x230)},{'id':_0x163c24['SetFrozenMutation']['id'],'action':_0x3c586b+_0x398e65(0x263)},{'id':_0x24bc0e[_0x398e65(0x1c5)]['id'],'action':_0x3c586b+_0x398e65(0x3af)},{'id':_0x31f422['AddDataValidationMutation']['id'],'action':_0x3c586b+_0x398e65(0x19b)},{'id':_0x31f422[_0x398e65(0x293)]['id'],'action':_0x3c586b+_0x398e65(0x19b)},{'id':_0x1c59a9[_0x398e65(0x212)]['id'],'action':_0x3c586b+_0x398e65(0x218)},{'id':_0x1c59a9[_0x398e65(0x341)]['id'],'action':_0x3c586b+'setCF'},{'id':_0x163c24[_0x398e65(0x1a8)]['id'],'action':_0x3c586b+_0x398e65(0x24f)},{'id':_0x163c24['AddRangeProtectionMutation']['id'],'action':_0x3c586b+'addProtection'},{'id':_0x163c24[_0x398e65(0x208)]['id'],'action':_0x3c586b+_0x398e65(0x20c)},{'id':_0x163c24[_0x398e65(0x195)]['id'],'action':_0x3c586b+_0x398e65(0x20c)}][_0x398e65(0x21a)](_0x5a615f=>_0x2177be[_0x398e65(0x296)][_0x398e65(0x241)](_0x5a615f['id']));return _0x45e4c7!=null&&_0x45e4c7[_0x398e65(0x2c9)]?_0x45e4c7['map'](_0x584123=>_0x584123[_0x398e65(0x24a)]):[_0x374007];}function _0x371848(_0x4d1715,_0x4add69){const _0x38eea4=_0x4274,[_0x222c89,_0x590e29,_0x1cbe76]=new Date()['toISOString']()[_0x38eea4(0x371)]('T')[0x0][_0x38eea4(0x371)]('-'),[_0x2884f8,_0x3ce485,_0x127421]=_0x4d1715[_0x38eea4(0x371)]('-'),_0x35732e=_0x222c89===_0x2884f8&&_0x590e29===_0x3ce485&&_0x1cbe76===_0x127421;let _0x5b88d7='',_0xed9c98='',_0x16d067='';switch(_0x4add69){case _0x1a49dd[_0x38eea4(0x30c)][_0x38eea4(0x277)]:return _0x35732e?'今天':(_0x5b88d7=_0x222c89===_0x2884f8?'':_0x2884f8+'年',_0xed9c98=_0x3ce485+'月',_0x16d067=_0x127421+'日',''+_0x5b88d7+_0xed9c98+_0x16d067);default:return _0x35732e?'Today':(_0x5b88d7=_0x222c89===_0x2884f8?'':_0x2884f8+'-',_0xed9c98=_0x3ce485+'-',_0x16d067=''+_0x127421,''+_0x5b88d7+_0xed9c98+_0x16d067);}}function _0x13b280(_0x52e217){const _0x384648=_0x4274;return _0x52e217?_0x52e217[_0x384648(0x1bc)]((_0x1e7211,_0x2e98fa)=>{const _0x450c18=_0x384648,_0x535492=new Date(_0x2e98fa[_0x450c18(0x20b)])[_0x450c18(0x388)]()[_0x450c18(0x371)]('T')[0x0];return _0x1e7211[_0x450c18(0x2c9)]>0x0&&_0x1e7211[_0x1e7211['length']-0x1]['dateString']===_0x535492?_0x1e7211[_0x1e7211[_0x450c18(0x2c9)]-0x1]['versions'][_0x450c18(0x31b)](_0x2e98fa):_0x1e7211[_0x450c18(0x31b)]({'dateString':_0x535492,'versions':[_0x2e98fa]}),_0x1e7211;},[]):[];}var _0x196900=(_0x338eac=>(_0x338eac[_0x338eac[_0x41826a(0x2bd)]=0x0]='UNDEFINED',_0x338eac[_0x338eac['OK']=0x1]='OK',_0x338eac[_0x338eac['INTERNAL_ERROR']=0x2]=_0x41826a(0x275),_0x338eac[_0x338eac['PERMISSION_DENIED']=0x3]=_0x41826a(0x365),_0x338eac[_0x338eac[_0x41826a(0x2f2)]=0x4]='NOT_FOUND',_0x338eac[_0x338eac[_0x41826a(0x1f5)]=0x5]=_0x41826a(0x1f5),_0x338eac[_0x338eac[_0x41826a(0x1d6)]=0x6]=_0x41826a(0x1d6),_0x338eac[_0x338eac[_0x41826a(0x1bb)]=0x7]=_0x41826a(0x1bb),_0x338eac[_0x338eac['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x338eac[_0x338eac[_0x41826a(0x2f4)]=0x9]='COMPLETION_FINISHED',_0x338eac[_0x338eac[_0x41826a(0x2aa)]=0x1389]=_0x41826a(0x2aa),_0x338eac[_0x338eac[_0x41826a(0x323)]=0x1771]=_0x41826a(0x323),_0x338eac[_0x338eac['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x41826a(0x1e9),_0x338eac[_0x338eac[_0x41826a(0x234)]=0x1b59]=_0x41826a(0x234),_0x338eac[_0x338eac[_0x41826a(0x3a6)]=0x1b5a]=_0x41826a(0x3a6),_0x338eac[_0x338eac[_0x41826a(0x3ad)]=0x1b5b]=_0x41826a(0x3ad),_0x338eac[_0x338eac[_0x41826a(0x309)]=0x1b5c]=_0x41826a(0x309),_0x338eac[_0x338eac[_0x41826a(0x1a5)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x338eac[_0x338eac[_0x41826a(0x2c4)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x338eac[_0x338eac[_0x41826a(0x233)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x338eac[_0x338eac[_0x41826a(0x191)]=0x232b]=_0x41826a(0x191),_0x338eac[_0x338eac['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x338eac[_0x338eac['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x338eac[_0x338eac[_0x41826a(0x1d9)]=0x2711]=_0x41826a(0x1d9),_0x338eac[_0x338eac[_0x41826a(0x1ea)]=0x2712]=_0x41826a(0x1ea),_0x338eac[_0x338eac[_0x41826a(0x300)]=0x2713]=_0x41826a(0x300),_0x338eac[_0x338eac[_0x41826a(0x1a3)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x338eac[_0x338eac[_0x41826a(0x1e1)]=-0x1]=_0x41826a(0x1e1),_0x338eac))(_0x196900||{});function _0x48dbdc(_0x36a5c2){const _0x1142c3=_0x41826a;return!!(_0x36a5c2&&_0x36a5c2[_0x1142c3(0x1b0)]&&_0x36a5c2[_0x1142c3(0x1b0)]!==_0x196900['OK']&&_0x36a5c2[_0x1142c3(0x1b0)]!=='OK');}var _0x5ae071=(_0x32864=>(_0x32864[_0x32864[_0x41826a(0x304)]=0x0]=_0x41826a(0x304),_0x32864[_0x32864[_0x41826a(0x33e)]=0x1]=_0x41826a(0x33e),_0x32864[_0x32864[_0x41826a(0x274)]=0x2]=_0x41826a(0x274),_0x32864[_0x32864[_0x41826a(0x3b1)]=0x3]=_0x41826a(0x3b1),_0x32864[_0x32864[_0x41826a(0x2be)]=0x4]='UNIVER_PROJECT',_0x32864[_0x32864[_0x41826a(0x1e1)]=-0x1]=_0x41826a(0x1e1),_0x32864))(_0x5ae071||{}),_0xa29719=(_0x5c0b99=>(_0x5c0b99[_0x5c0b99[_0x41826a(0x2ca)]=0x0]=_0x41826a(0x2ca),_0x5c0b99[_0x5c0b99[_0x41826a(0x18e)]=0x1]=_0x41826a(0x18e),_0x5c0b99[_0x5c0b99[_0x41826a(0x2d4)]=0x2]=_0x41826a(0x2d4),_0x5c0b99[_0x5c0b99['Print']=0x3]=_0x41826a(0x30f),_0x5c0b99[_0x5c0b99[_0x41826a(0x317)]=0x4]=_0x41826a(0x317),_0x5c0b99[_0x5c0b99[_0x41826a(0x2a1)]=0x5]=_0x41826a(0x2a1),_0x5c0b99[_0x5c0b99[_0x41826a(0x390)]=0x6]=_0x41826a(0x390),_0x5c0b99[_0x5c0b99[_0x41826a(0x2fa)]=0x7]=_0x41826a(0x2fa),_0x5c0b99[_0x5c0b99[_0x41826a(0x311)]=0x8]=_0x41826a(0x311),_0x5c0b99[_0x5c0b99['MoveWorksheet']=0x9]=_0x41826a(0x221),_0x5c0b99[_0x5c0b99['DeleteWorksheet']=0xa]=_0x41826a(0x269),_0x5c0b99[_0x5c0b99[_0x41826a(0x39c)]=0xb]='HideWorksheet',_0x5c0b99[_0x5c0b99['RenameWorksheet']=0xc]=_0x41826a(0x33d),_0x5c0b99[_0x5c0b99['CreateWorksheet']=0xd]=_0x41826a(0x250),_0x5c0b99[_0x5c0b99[_0x41826a(0x2e1)]=0xe]=_0x41826a(0x2e1),_0x5c0b99[_0x5c0b99[_0x41826a(0x2c0)]=0xf]=_0x41826a(0x2c0),_0x5c0b99[_0x5c0b99[_0x41826a(0x23e)]=0x10]=_0x41826a(0x23e),_0x5c0b99[_0x5c0b99[_0x41826a(0x310)]=0x11]=_0x41826a(0x310),_0x5c0b99[_0x5c0b99['Filter']=0x12]=_0x41826a(0x39f),_0x5c0b99[_0x5c0b99['PivotTable']=0x13]=_0x41826a(0x346),_0x5c0b99[_0x5c0b99[_0x41826a(0x31f)]=0x14]='FloatImg',_0x5c0b99[_0x5c0b99[_0x41826a(0x1b6)]=0x15]=_0x41826a(0x1b6),_0x5c0b99[_0x5c0b99[_0x41826a(0x25a)]=0x16]=_0x41826a(0x25a),_0x5c0b99[_0x5c0b99[_0x41826a(0x351)]=0x17]='ViemRwHgtClWdt',_0x5c0b99[_0x5c0b99[_0x41826a(0x34f)]=0x18]='ViewFilter',_0x5c0b99[_0x5c0b99[_0x41826a(0x1de)]=0x19]=_0x41826a(0x1de),_0x5c0b99[_0x5c0b99[_0x41826a(0x2f8)]=0x1a]=_0x41826a(0x2f8),_0x5c0b99[_0x5c0b99[_0x41826a(0x2c6)]=0x1b]='HideSheet',_0x5c0b99[_0x5c0b99[_0x41826a(0x348)]=0x1c]=_0x41826a(0x348),_0x5c0b99[_0x5c0b99[_0x41826a(0x3ae)]=0x1d]='RenameSheet',_0x5c0b99[_0x5c0b99['CreateSheet']=0x1e]=_0x41826a(0x35b),_0x5c0b99[_0x5c0b99[_0x41826a(0x2ab)]=0x1f]=_0x41826a(0x2ab),_0x5c0b99[_0x5c0b99[_0x41826a(0x318)]=0x20]='SelectUnProtectedCells',_0x5c0b99[_0x5c0b99[_0x41826a(0x23c)]=0x21]='SetCellStyle',_0x5c0b99[_0x5c0b99[_0x41826a(0x2cd)]=0x22]=_0x41826a(0x2cd),_0x5c0b99[_0x5c0b99['SetRowStyle']=0x23]=_0x41826a(0x37a),_0x5c0b99[_0x5c0b99[_0x41826a(0x23b)]=0x24]=_0x41826a(0x23b),_0x5c0b99[_0x5c0b99[_0x41826a(0x209)]=0x25]=_0x41826a(0x209),_0x5c0b99[_0x5c0b99[_0x41826a(0x324)]=0x26]=_0x41826a(0x324),_0x5c0b99[_0x5c0b99['DeleteRow']=0x27]=_0x41826a(0x2af),_0x5c0b99[_0x5c0b99['DeleteColumn']=0x28]=_0x41826a(0x2a6),_0x5c0b99[_0x5c0b99[_0x41826a(0x20a)]=0x29]='EditExtraObject',_0x5c0b99[_0x5c0b99[_0x41826a(0x21d)]=0x2a]=_0x41826a(0x21d),_0x5c0b99[_0x5c0b99[_0x41826a(0x35d)]=0x2b]=_0x41826a(0x35d),_0x5c0b99[_0x5c0b99[_0x41826a(0x2ce)]=0x2c]=_0x41826a(0x2ce),_0x5c0b99[_0x5c0b99['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x5c0b99))(_0xa29719||{}),_0x2139e0=Object['defineProperty'],_0x3e1c7c=Object['getOwnPropertyDescriptor'],_0x529f8a=(_0xbed04a,_0x1e6e45,_0x1ecbd2,_0x4f4070)=>{const _0xbc0bf1=_0x41826a;for(var _0x41ecb2=_0x4f4070>0x1?void 0x0:_0x4f4070?_0x3e1c7c(_0x1e6e45,_0x1ecbd2):_0x1e6e45,_0x59b9f0=_0xbed04a[_0xbc0bf1(0x2c9)]-0x1,_0x56332a;_0x59b9f0>=0x0;_0x59b9f0--)(_0x56332a=_0xbed04a[_0x59b9f0])&&(_0x41ecb2=(_0x4f4070?_0x56332a(_0x1e6e45,_0x1ecbd2,_0x41ecb2):_0x56332a(_0x41ecb2))||_0x41ecb2);return _0x4f4070&&_0x41ecb2&&_0x2139e0(_0x1e6e45,_0x1ecbd2,_0x41ecb2),_0x41ecb2;},_0x879908=(_0x2002fc,_0x55f939)=>(_0x5c308e,_0x72b309)=>_0x55f939(_0x5c308e,_0x72b309,_0x2002fc);const _0x120ff1='HISTORY_LIST_SERVER_URL',_0x56dce4=_0x41826a(0x306);let _0x2f1ca0=class extends _0x1a49dd[_0x41826a(0x21f)]{constructor(_0x1d858a,_0x208c0d,_0x2e6fc1,_0x2af067,_0x11236f,_0x346758){const _0x5b93b2=_0x41826a;super(),_0x432628(this,'_workbookDataCache',new Map()),(this['_snapshotServerService']=_0x1d858a,this[_0x5b93b2(0x295)]=_0x208c0d,this[_0x5b93b2(0x36a)]=_0x2e6fc1,this[_0x5b93b2(0x226)]=_0x2af067,this[_0x5b93b2(0x1da)]=_0x11236f,this[_0x5b93b2(0x2e7)]=_0x346758);}[_0x41826a(0x331)](){const _0x4df03f=_0x41826a;this[_0x4df03f(0x339)][_0x4df03f(0x354)](),super[_0x4df03f(0x331)]();}async[_0x41826a(0x36e)](_0x530f7a,_0x1836d9){const _0x34ce7c=_0x41826a,_0x4c6460=this[_0x34ce7c(0x35f)]()+'/'+_0x530f7a+'/list?length=20'+(_0x1836d9?'&lastLabel='+_0x1836d9:'');try{const _0x3be069=(await this[_0x34ce7c(0x1da)][_0x34ce7c(0x2df)](_0x4c6460))[_0x34ce7c(0x1a6)];if(_0x3be069&&_0x3be069[_0x34ce7c(0x2bc)]&&_0x3be069[_0x34ce7c(0x2bc)][_0x34ce7c(0x1b0)]===_0x196900['OK']){const {hasMore:_0x21deb7,lastLabel:_0x291273}=_0x3be069,_0x3b1faa=_0x23864e(_0x3be069),_0x74685d=_0x3be069[_0x34ce7c(0x3b0)][_0x34ce7c(0x22d)];return{'hasMore':_0x21deb7,'lastLabel':_0x291273,'versions':_0x3b1faa,'members':_0x74685d};}}catch(_0x464c62){console[_0x34ce7c(0x2bc)](_0x464c62);}return null;}[_0x41826a(0x35f)](){const _0x348d95=_0x41826a;var _0x152cf2;return(_0x152cf2=this[_0x348d95(0x226)][_0x348d95(0x18a)](_0x120ff1))!=null?_0x152cf2:_0x56dce4;}async[_0x41826a(0x1ca)](_0x691597,_0x21d97c,_0x308690){const _0x2dbdb8=_0x41826a;var _0x53c315,_0x263ecb;_0x308690===void 0x0&&(_0x308690={}),this['_workbookDataCache']['has'](_0x691597)||this['_workbookDataCache'][_0x2dbdb8(0x19a)](_0x691597,new Map());const {snapshot:_0x319eef,changesets:_0x5d0f54,error:_0x55efcc}=await this[_0x2dbdb8(0x211)][_0x2dbdb8(0x213)](_0x308690,{'unitID':_0x691597,'type':_0x5ae071[_0x2dbdb8(0x274)],'revision':_0x21d97c});if(_0x48dbdc(_0x55efcc)||!_0x319eef||!_0x319eef[_0x2dbdb8(0x21c)])throw new Error(_0x2dbdb8(0x29b));const _0x134628=(_0x53c315=_0x5d0f54==null?void 0x0:_0x5d0f54[_0x2dbdb8(0x2c9)])!=null?_0x53c315:0x0;if(_0x21d97c!==0x0&&_0x319eef['rev']+_0x134628!==_0x21d97c)throw new Error(_0x2dbdb8(0x19c));const {workbook:_0x1823ee}=_0x319eef,_0xcd7a55=_0x1823ee['blockMeta']?Object['entries'](_0x1823ee[_0x2dbdb8(0x36f)])[_0x2dbdb8(0x2f1)](([_0x188338,_0x25cec3])=>{const _0x5936ef=_0x2dbdb8;var _0x1a7540,_0x13c5c0;return(_0x13c5c0=(_0x1a7540=_0x25cec3[_0x5936ef(0x39e)])==null?void 0x0:_0x1a7540[_0x5936ef(0x2f1)](_0x3e566a=>_0x3e566a))!=null?_0x13c5c0:[];})[_0x2dbdb8(0x299)]():[],_0x36a229=(await Promise[_0x2dbdb8(0x1ab)](_0xcd7a55['map'](_0x4f7eae=>this[_0x2dbdb8(0x211)][_0x2dbdb8(0x2fd)](_0x308690,{'unitID':_0x691597,'type':_0x5ae071[_0x2dbdb8(0x274)],'blockID':_0x4f7eae})[_0x2dbdb8(0x34d)](_0x4f6951=>_0x4f6951[_0x2dbdb8(0x248)]))))[_0x2dbdb8(0x21a)](_0x481a7e=>!!_0x481a7e),_0x3b2170=_0x3b9149[_0x2dbdb8(0x1c4)](_0x319eef,_0x36a229,_0x308690);return(_0x263ecb=this[_0x2dbdb8(0x339)][_0x2dbdb8(0x2df)](_0x691597))==null||_0x263ecb[_0x2dbdb8(0x19a)](_0x21d97c,{'workbook':_0x3b2170}),new Promise(_0x3feae9=>{const _0x447093=_0x2dbdb8,_0x35a6ce=this[_0x447093(0x295)][_0x447093(0x353)](_0x1a49dd[_0x447093(0x334)][_0x447093(0x274)]);_0x35a6ce?(this[_0x447093(0x295)][_0x447093(0x1fa)](_0x35a6ce[_0x447093(0x238)]()),setTimeout(()=>{const _0x1a6578=_0x447093;this[_0x1a6578(0x329)](_0x3b2170,_0x5d0f54),_0x3feae9(!0x0);},0x0)):(this[_0x447093(0x329)](_0x3b2170,_0x5d0f54),_0x3feae9(!0x0));});}[_0x41826a(0x329)](_0xb79e98,_0x9f0bd){const _0x580aa3=_0x41826a,_0x559177=this[_0x580aa3(0x295)][_0x580aa3(0x2d5)](_0x1a49dd['UniverInstanceType'][_0x580aa3(0x274)],_0xb79e98);this[_0x580aa3(0x295)][_0x580aa3(0x30e)](_0x559177[_0x580aa3(0x238)]());const _0x12cb33=this[_0x580aa3(0x2e7)]['interceptor']['fetchThroughInterceptors'](this[_0x580aa3(0x2e7)][_0x580aa3(0x345)][_0x580aa3(0x1c9)]()[_0x580aa3(0x1a9)]);return _0x9f0bd==null||_0x9f0bd[_0x580aa3(0x202)](_0x37d609=>{const _0x1ddba8=_0x580aa3,_0x308a1f=_0x37d609[_0x1ddba8(0x2d0)][_0x1ddba8(0x2f1)](_0x557236=>({'id':_0x557236['id'],'params':JSON[_0x1ddba8(0x35e)](_0x557236[_0x1ddba8(0x1fd)])}));({..._0x37d609,'mutations':_0x12cb33(_0x308a1f,null)||_0x308a1f}[_0x1ddba8(0x2d0)][_0x1ddba8(0x202)](_0x2840aa=>{const _0x58e5f8=_0x1ddba8;this[_0x58e5f8(0x36a)][_0x58e5f8(0x2f7)](_0x2840aa['id'])&&this[_0x58e5f8(0x36a)][_0x58e5f8(0x2ef)](_0x2840aa['id'],_0x2840aa[_0x58e5f8(0x2ec)]);}));}),_0x559177;}};_0x2f1ca0=_0x529f8a([_0x879908(0x0,_0x3b9149['ISnapshotServerService']),_0x879908(0x1,_0x1a49dd[_0x41826a(0x30a)]),_0x879908(0x2,_0x1a49dd[_0x41826a(0x201)]),_0x879908(0x3,_0x1a49dd[_0x41826a(0x22a)]),_0x879908(0x4,_0x1a49dd[_0x41826a(0x1af)](_0x4d205b[_0x41826a(0x30d)])),_0x879908(0x5,_0x1a49dd[_0x41826a(0x1af)](_0x3b9149[_0x41826a(0x31e)]))],_0x2f1ca0);function _0x23864e(_0x1b9521){const _0x4da486=_0x41826a;var _0x12baee,_0x4ecd44;const _0x32f165=[],{entities:_0x516f75,historyIds:_0x58a562}=_0x1b9521,{datas:_0xfd93f,users:_0x28654d}=_0x516f75;for(const _0x1acfe1 of _0x58a562)if(_0xfd93f[_0x1acfe1]){const _0x4186b9=!!((_0x12baee=_0x28654d[_0xfd93f[_0x1acfe1][_0x4da486(0x19f)]])!=null&&_0x12baee[_0x4da486(0x31d)]);_0x32f165[_0x4da486(0x31b)]({'unitId':_0xfd93f[_0x1acfe1][_0x4da486(0x326)],'user':_0x4186b9?'':((_0x4ecd44=_0x28654d==null?void 0x0:_0x28654d[_0xfd93f[_0x1acfe1][_0x4da486(0x19f)]])==null?void 0x0:_0x4ecd44[_0x4da486(0x39b)])||'','isAnonymous':_0x4186b9,'id':_0x1acfe1,'time':_0xfd93f[_0x1acfe1][_0x4da486(0x2ea)]?Number(_0xfd93f[_0x1acfe1]['createTime']):void 0x0,'commands':_0xfd93f[_0x1acfe1][_0x4da486(0x38f)],'startRev':Number(_0xfd93f[_0x1acfe1][_0x4da486(0x2c3)]),'endRev':Number(_0xfd93f[_0x1acfe1][_0x4da486(0x29c)]),'recoverTime':_0xfd93f[_0x1acfe1][_0x4da486(0x385)]?Number(_0xfd93f[_0x1acfe1][_0x4da486(0x385)]):void 0x0});}return _0x32f165;}var _0x5c723c=Object[_0x41826a(0x3ac)],_0x19f76f=Object[_0x41826a(0x1b4)],_0x1b0f4d=(_0x3c5ea9,_0x2733cb,_0xb917e4,_0x574c90)=>{const _0x4d0c50=_0x41826a;for(var _0x1017c5=_0x574c90>0x1?void 0x0:_0x574c90?_0x19f76f(_0x2733cb,_0xb917e4):_0x2733cb,_0x2cf9eb=_0x3c5ea9[_0x4d0c50(0x2c9)]-0x1,_0x47bb32;_0x2cf9eb>=0x0;_0x2cf9eb--)(_0x47bb32=_0x3c5ea9[_0x2cf9eb])&&(_0x1017c5=(_0x574c90?_0x47bb32(_0x2733cb,_0xb917e4,_0x1017c5):_0x47bb32(_0x1017c5))||_0x1017c5);return _0x574c90&&_0x1017c5&&_0x5c723c(_0x2733cb,_0xb917e4,_0x1017c5),_0x1017c5;},_0x127360=(_0x171c89,_0x2c2fba)=>(_0x4b938e,_0x4b6fde)=>_0x2c2fba(_0x4b938e,_0x4b6fde,_0x171c89),_0x1a2680=(_0x4424a4=>(_0x4424a4[_0x41826a(0x1c0)]=_0x41826a(0x2e0),_0x4424a4[_0x41826a(0x3b4)]=_0x41826a(0x3a9),_0x4424a4[_0x41826a(0x35c)]=_0x41826a(0x2bc),_0x4424a4))(_0x1a2680||{}),_0x2d846d=(_0x4e9851=>(_0x4e9851[_0x41826a(0x34e)]=_0x41826a(0x359),_0x4e9851[_0x41826a(0x347)]=_0x41826a(0x2f9),_0x4e9851['Loaded']=_0x41826a(0x2c1),_0x4e9851))(_0x2d846d||{});const _0x4f551f=_0x41826a(0x1b3);_0x569069[_0x41826a(0x290)]=class extends _0x1a49dd[_0x41826a(0x21f)]{constructor(_0x154176,_0x27d547,_0xc8b46,_0x19be18){const _0x1c1a52=_0x41826a;super(),_0x432628(this,_0x1c1a52(0x265),new _0x77eb8a[(_0x1c1a52(0x22b))]([])),_0x432628(this,'versions$',this[_0x1c1a52(0x265)][_0x1c1a52(0x244)]()),_0x432628(this,_0x1c1a52(0x321),new _0x77eb8a[(_0x1c1a52(0x22b))]('')),_0x432628(this,_0x1c1a52(0x34c),this[_0x1c1a52(0x321)]['asObservable']()),_0x432628(this,_0x1c1a52(0x1ae),new _0x77eb8a[(_0x1c1a52(0x22b))]('entered')),_0x432628(this,'status$',this[_0x1c1a52(0x1ae)][_0x1c1a52(0x244)]()),_0x432628(this,_0x1c1a52(0x1c7),new _0x77eb8a['BehaviorSubject'](0x0)),_0x432628(this,'revertRevision$',this[_0x1c1a52(0x1c7)][_0x1c1a52(0x244)]()),_0x432628(this,_0x1c1a52(0x279),new _0x77eb8a[(_0x1c1a52(0x22b))]('')),_0x432628(this,_0x1c1a52(0x24d),this['_unitId$']['asObservable']()),_0x432628(this,'_fetching',!0x1),_0x432628(this,'_loadingState$',new _0x77eb8a['BehaviorSubject'](_0x1c1a52(0x359))),_0x432628(this,'loadingState$',this[_0x1c1a52(0x27c)]['asObservable']()),_0x432628(this,_0x1c1a52(0x1d2),null),_0x432628(this,'_hasMore',!0x0),_0x432628(this,_0x1c1a52(0x36c),new Map()),_0x432628(this,_0x1c1a52(0x229)),_0x432628(this,_0x1c1a52(0x1ff)),_0x432628(this,_0x1c1a52(0x1e7)),_0x432628(this,_0x1c1a52(0x2c8),!0x1),(this[_0x1c1a52(0x303)]=_0x154176,this[_0x1c1a52(0x18c)]=_0x27d547,this['_localeService']=_0xc8b46,this[_0x1c1a52(0x204)]=_0x19be18);}async[_0x41826a(0x32a)](_0x561295,_0x6822ab,_0x343e3c){const _0x5dfa8b=_0x41826a;this[_0x5dfa8b(0x229)]=_0x6822ab,this[_0x5dfa8b(0x2c8)]=_0x343e3c,this[_0x5dfa8b(0x279)]['next'](_0x561295),this[_0x5dfa8b(0x228)]=!0x0;const _0x2be0d5=await this['_historyFetchService'][_0x5dfa8b(0x36e)](_0x561295);if(this[_0x5dfa8b(0x228)]=!0x1,_0x2be0d5){const {versions:_0x21dac4,lastLabel:_0x21e20b,hasMore:_0x3191e0,members:_0x356d58}=_0x2be0d5;_0x21dac4[_0x5dfa8b(0x2c9)]===0x0&&_0x21dac4['push']({'unitId':_0x561295,'id':_0x4f551f,'startRev':0x1,'endRev':0x0,'time':Date[_0x5dfa8b(0x39a)](),'user':this[_0x5dfa8b(0x357)]['t'](_0x5dfa8b(0x282)),'commands':[],'isAnonymous':!0x1}),this[_0x5dfa8b(0x396)](_0x21dac4,_0x3191e0,_0x21e20b,_0x356d58),this[_0x5dfa8b(0x321)]['next'](_0x21dac4[0x0]['id']);}else this[_0x5dfa8b(0x1ae)][_0x5dfa8b(0x36b)]('error');}async[_0x41826a(0x387)](){const _0x297724=_0x41826a;if(!this[_0x297724(0x1d2)]||!this['_hasMore']||this['_fetching'])return!0x1;this[_0x297724(0x228)]=!0x0;const _0x42d0c3=await this[_0x297724(0x204)]['getVersions'](this['unitId'],this[_0x297724(0x1d2)]);if(this['_fetching']=!0x1,_0x42d0c3){const {versions:_0x482faf,lastLabel:_0x4a35fa,hasMore:_0x5d8025,members:_0x36075e}=_0x42d0c3;this[_0x297724(0x396)](_0x482faf,_0x5d8025,_0x4a35fa,_0x36075e);}else this[_0x297724(0x303)]['show']({'content':this[_0x297724(0x357)]['t'](_0x297724(0x2f3)),'type':_0x42477e[_0x297724(0x37c)][_0x297724(0x35c)],'duration':0xbb8});return!0x0;}async[_0x41826a(0x1e0)](_0x3a6873){const _0x2f09fd=_0x41826a;var _0x3caa72;const _0x3d7a99=(_0x3caa72=this[_0x2f09fd(0x265)]['value'])==null?void 0x0:_0x3caa72['find'](_0x3a9cb1=>_0x3a9cb1['id']===_0x3a6873),{endRev:_0x2f5600}=_0x3d7a99||{};_0x2f5600||_0x2f5600===0x0?(this[_0x2f09fd(0x27c)][_0x2f09fd(0x36b)](_0x2f09fd(0x2f9)),await this[_0x2f09fd(0x204)]['loadSheet'](this['unitId'],_0x2f5600),this['_loadingState$'][_0x2f09fd(0x36b)](_0x2f09fd(0x2c1))):this[_0x2f09fd(0x1ae)][_0x2f09fd(0x36b)](_0x2f09fd(0x2bc));}async[_0x41826a(0x1ad)](_0x593219){const _0x469dbb=_0x41826a,_0x34ea4e=_0x593219?this[_0x469dbb(0x1c1)](_0x593219):this[_0x469dbb(0x28c)]();if(!_0x34ea4e)return;const _0x48ac8d=_0x34ea4e[_0x469dbb(0x2c7)],_0x10c43d=_0x16eee6(_0x34ea4e[_0x469dbb(0x20b)],this[_0x469dbb(0x357)]['getCurrentLocale']());await this['_confirmService'][_0x469dbb(0x37f)]({'id':'confirm-revert-revision','title':{'title':this[_0x469dbb(0x357)]['t'](_0x469dbb(0x2cc))},'children':{'title':this[_0x469dbb(0x357)]['t'](_0x469dbb(0x28e))+':\x20('+_0x10c43d[_0x469dbb(0x1a7)]+'\x20'+_0x10c43d['time']+')'}})&&this[_0x469dbb(0x1c7)]['next'](_0x48ac8d);}['_updateVersions'](_0x5c292a,_0x9c77c7,_0xfc86d,_0x451159){const _0x15fba6=_0x41826a;this[_0x15fba6(0x265)][_0x15fba6(0x36b)](this['_versions$'][_0x15fba6(0x32e)][_0x15fba6(0x2cf)](_0x5c292a)),this['_hasMore']=_0x9c77c7,this['_lastLabel']=_0xfc86d,_0x451159&&Object[_0x15fba6(0x2e3)](_0x451159)[_0x15fba6(0x202)](_0x530056=>this[_0x15fba6(0x36c)][_0x15fba6(0x19a)](_0x530056,_0x451159[_0x530056]));}['getCurrentVersion'](){const _0x1e41fb=_0x41826a;return this[_0x1e41fb(0x1c1)](this[_0x1e41fb(0x321)]['value']);}['getVersion'](_0x2ef124){const _0xce223=_0x41826a;var _0xfc4aeb;return(_0xfc4aeb=this[_0xce223(0x265)][_0xce223(0x32e)])==null?void 0x0:_0xfc4aeb[_0xce223(0x2d1)](_0x5003bf=>_0x5003bf['id']===_0x2ef124);}[_0x41826a(0x2a3)](_0x12a913){const _0x2262ef=_0x41826a;return this['_members'][_0x2262ef(0x2df)](_0x12a913);}['_createMask'](){const _0x38987b=_0x41826a;this[_0x38987b(0x1e7)]=document[_0x38987b(0x231)](_0x38987b(0x28f)),this[_0x38987b(0x1e7)][_0x38987b(0x364)]=_0x38987b(0x243),this[_0x38987b(0x1e7)][_0x38987b(0x3a1)][_0x38987b(0x294)]=_0x38987b(0x1e3),this[_0x38987b(0x1e7)][_0x38987b(0x3a1)][_0x38987b(0x335)]='0',this[_0x38987b(0x1e7)][_0x38987b(0x3a1)]['left']='0',this['_maskElement'][_0x38987b(0x3a1)][_0x38987b(0x207)]=_0x38987b(0x1f7),this[_0x38987b(0x1e7)][_0x38987b(0x3a1)][_0x38987b(0x399)]='100%',this[_0x38987b(0x1e7)][_0x38987b(0x3a1)][_0x38987b(0x1e8)]=_0x38987b(0x382),this['_maskElement']['style'][_0x38987b(0x1c3)]=_0x38987b(0x20d),this[_0x38987b(0x1e7)][_0x38987b(0x3a1)]['display']=_0x38987b(0x280),this[_0x38987b(0x1e7)][_0x38987b(0x3a1)]['justifyContent']=_0x38987b(0x251),this[_0x38987b(0x1e7)][_0x38987b(0x3a1)][_0x38987b(0x2de)]=_0x38987b(0x320),this[_0x38987b(0x1e7)][_0x38987b(0x3a1)]['display']=_0x38987b(0x2d3),this[_0x38987b(0x1ff)][_0x38987b(0x2bb)](this[_0x38987b(0x1e7)]);}[_0x41826a(0x2e9)](){const _0x179a7f=_0x41826a;var _0x9b9173;const _0x3a1b6d=(_0x9b9173=document[_0x179a7f(0x18b)](this[_0x179a7f(0x229)]))==null?void 0x0:_0x9b9173['querySelector']('.univer-app-container-content');_0x3a1b6d&&(this['_maskContainer']=_0x3a1b6d,this['_createMask']());}['showMask'](){const _0x3b803a=_0x41826a;this[_0x3b803a(0x1ff)]||this['_initMaskContainer'](),this[_0x3b803a(0x1e7)]&&(this[_0x3b803a(0x1e7)][_0x3b803a(0x3a1)][_0x3b803a(0x2dd)]=_0x3b803a(0x280));}[_0x41826a(0x217)](){const _0x3a9c46=_0x41826a;this['_maskElement']&&(this[_0x3a9c46(0x1e7)][_0x3a9c46(0x3a1)][_0x3a9c46(0x2dd)]=_0x3a9c46(0x2d3));}set['status'](_0x5c7b52){const _0x5e63d2=_0x41826a;this['_status$'][_0x5e63d2(0x36b)](_0x5c7b52);}set['currentVersion'](_0x3508e3){const _0x3843e4=_0x41826a;_0x3508e3!==this['_currentVersion$'][_0x3843e4(0x32e)]&&this[_0x3843e4(0x321)][_0x3843e4(0x36b)](_0x3508e3);}get[_0x41826a(0x1f2)](){const _0x2abb1f=_0x41826a;return this[_0x2abb1f(0x321)][_0x2abb1f(0x32e)];}set[_0x41826a(0x326)](_0x34711d){const _0x10e5aa=_0x41826a;this[_0x10e5aa(0x279)]['next'](_0x34711d);}get[_0x41826a(0x326)](){const _0x1369cb=_0x41826a;return this['_unitId$'][_0x1369cb(0x32e)];}get[_0x41826a(0x31a)](){const _0x945c48=_0x41826a;return this[_0x945c48(0x2c8)];}get[_0x41826a(0x3a4)](){const _0x1c6c91=_0x41826a;return this[_0x1c6c91(0x27c)]['value'];}},_0x569069[_0x41826a(0x290)]=_0x1b0f4d([_0x127360(0x0,_0x402642[_0x41826a(0x1ef)]),_0x127360(0x1,_0x402642[_0x41826a(0x1ac)]),_0x127360(0x2,_0x1a49dd[_0x41826a(0x1af)](_0x1a49dd[_0x41826a(0x38a)])),_0x127360(0x3,_0x1a49dd[_0x41826a(0x1af)](_0x2f1ca0))],_0x569069['HistoryManagerService']);var _0x5b2f74=function(){const _0x2bedc8=_0x41826a;return _0x5b2f74=Object['assign']||function(_0x82603b){const _0x27b6b0=_0x4274;for(var _0x3c1488,_0x2c04a3=0x1,_0x486441=arguments[_0x27b6b0(0x2c9)];_0x2c04a3<_0x486441;_0x2c04a3++){_0x3c1488=arguments[_0x2c04a3];for(var _0x27c530 in _0x3c1488)Object['prototype'][_0x27b6b0(0x2da)][_0x27b6b0(0x2a8)](_0x3c1488,_0x27c530)&&(_0x82603b[_0x27c530]=_0x3c1488[_0x27c530]);}return _0x82603b;},_0x5b2f74[_0x2bedc8(0x38b)](this,arguments);},_0x564091=function(_0x5b5993,_0x7eb49f){const _0x4ddde8=_0x41826a;var _0x438500={};for(var _0x4d0d8d in _0x5b5993)Object[_0x4ddde8(0x252)]['hasOwnProperty']['call'](_0x5b5993,_0x4d0d8d)&&_0x7eb49f[_0x4ddde8(0x205)](_0x4d0d8d)<0x0&&(_0x438500[_0x4d0d8d]=_0x5b5993[_0x4d0d8d]);if(_0x5b5993!=null&&typeof Object[_0x4ddde8(0x1fb)]==_0x4ddde8(0x2d8)){for(var _0x32caf4=0x0,_0x4d0d8d=Object[_0x4ddde8(0x1fb)](_0x5b5993);_0x32caf4<_0x4d0d8d['length'];_0x32caf4++)_0x7eb49f['indexOf'](_0x4d0d8d[_0x32caf4])<0x0&&Object[_0x4ddde8(0x252)][_0x4ddde8(0x260)][_0x4ddde8(0x2a8)](_0x5b5993,_0x4d0d8d[_0x32caf4])&&(_0x438500[_0x4d0d8d[_0x32caf4]]=_0x5b5993[_0x4d0d8d[_0x32caf4]]);}return _0x438500;},_0x2e7cae=_0x2a778d[_0x41826a(0x2e2)](function(_0x4b54ce,_0x36d628){const _0x5e779a=_0x41826a;var _0x1be9f7=_0x4b54ce[_0x5e779a(0x1f4)],_0x331482=_0x4b54ce['id'],_0x3486b9=_0x4b54ce['className'],_0xfd6225=_0x4b54ce[_0x5e779a(0x1ec)],_0x383fd0=_0x564091(_0x4b54ce,[_0x5e779a(0x1f4),'id',_0x5e779a(0x364),'extend']),_0x3a867b='univerjs-icon\x20univerjs-icon-'[_0x5e779a(0x2cf)](_0x331482,'\x20')['concat'](_0x3486b9||'')[_0x5e779a(0x350)](),_0x34dede=_0x2a778d[_0x5e779a(0x22f)]('_'[_0x5e779a(0x2cf)](_0xd06a9b()));return _0x2fa5f1(_0x1be9f7,''[_0x5e779a(0x2cf)](_0x331482),{'defIds':_0x1be9f7[_0x5e779a(0x2a0)],'idSuffix':_0x34dede[_0x5e779a(0x32f)]},_0x5b2f74({'ref':_0x36d628,'className':_0x3a867b},_0x383fd0),_0xfd6225);});function _0x2fa5f1(_0x314cea,_0x2f2093,_0x421349,_0x465033,_0x570479){const _0x11ef95=_0x41826a;return _0x2a778d[_0x11ef95(0x231)](_0x314cea[_0x11ef95(0x1d7)],_0x5b2f74(_0x5b2f74({'key':_0x2f2093},_0x422f5c(_0x314cea,_0x421349,_0x570479)),_0x465033),(_0x52e69f(_0x314cea,_0x421349)['children']||[])[_0x11ef95(0x2f1)](function(_0x16ff97,_0x30e4a9){const _0xea4293=_0x11ef95;return _0x2fa5f1(_0x16ff97,''[_0xea4293(0x2cf)](_0x2f2093,'-')[_0xea4293(0x2cf)](_0x314cea['tag'],'-')[_0xea4293(0x2cf)](_0x30e4a9),_0x421349,void 0x0,_0x570479);}));}function _0x422f5c(_0x3b7704,_0x1beaab,_0x19567e){const _0x3908d4=_0x41826a;var _0x35ae06=_0x5b2f74({},_0x3b7704[_0x3908d4(0x24c)]);_0x19567e!=null&&_0x19567e[_0x3908d4(0x1f3)]&&_0x35ae06[_0x3908d4(0x33b)]===_0x3908d4(0x1f3)&&(_0x35ae06[_0x3908d4(0x33b)]=_0x19567e[_0x3908d4(0x1f3)]);var _0x48f42b=_0x1beaab[_0x3908d4(0x2a0)];return!_0x48f42b||_0x48f42b['length']===0x0||(_0x3b7704[_0x3908d4(0x1d7)]==='use'&&_0x35ae06[_0x3908d4(0x2a9)]&&(_0x35ae06['xlink:href']=_0x35ae06[_0x3908d4(0x2a9)]+_0x1beaab[_0x3908d4(0x3a8)]),Object[_0x3908d4(0x307)](_0x35ae06)[_0x3908d4(0x202)](function(_0x4d7e9e){const _0x154008=_0x3908d4;var _0x3f3352=_0x4d7e9e[0x0],_0x3fa615=_0x4d7e9e[0x1];typeof _0x3fa615==_0x154008(0x373)&&(_0x35ae06[_0x3f3352]=_0x3fa615[_0x154008(0x247)](/url\(#(.*)\)/,_0x154008(0x3a5)[_0x154008(0x2cf)](_0x1beaab['idSuffix'],')')));})),_0x35ae06;}function _0x52e69f(_0x407122,_0x44c2f8){const _0x342bb0=_0x41826a;var _0x6e5c70,_0x12cb92=_0x44c2f8[_0x342bb0(0x2a0)];return!_0x12cb92||_0x12cb92[_0x342bb0(0x2c9)]===0x0?_0x407122:_0x407122[_0x342bb0(0x1d7)]===_0x342bb0(0x305)&&(!((_0x6e5c70=_0x407122['children'])===null||_0x6e5c70===void 0x0)&&_0x6e5c70['length'])?_0x5b2f74(_0x5b2f74({},_0x407122),{'children':_0x407122[_0x342bb0(0x337)]['map'](function(_0x52bbf2){const _0x37a12d=_0x342bb0;return typeof _0x52bbf2['attrs']['id']==_0x37a12d(0x373)&&_0x12cb92&&_0x12cb92[_0x37a12d(0x205)](_0x52bbf2[_0x37a12d(0x24c)]['id'])>-0x1?_0x5b2f74(_0x5b2f74({},_0x52bbf2),{'attrs':_0x5b2f74(_0x5b2f74({},_0x52bbf2[_0x37a12d(0x24c)]),{'id':_0x52bbf2[_0x37a12d(0x24c)]['id']+_0x44c2f8[_0x37a12d(0x3a8)]})}):_0x52bbf2;})}):_0x407122;}function _0xd06a9b(){const _0x162208=_0x41826a;return Math[_0x162208(0x20f)]()[_0x162208(0x30b)](0x24)['substring'](0x2,0x8);}_0x2e7cae[_0x41826a(0x249)]=_0x41826a(0x2b0);var _0x5cfc25={'tag':'svg','attrs':{'fill':'none','viewBox':_0x41826a(0x2f5),'width':_0x41826a(0x1eb),'height':_0x41826a(0x1eb)},'children':[{'tag':_0x41826a(0x1cd),'attrs':{'fill':'currentColor','d':'M6.42416\x204.42417C6.65847\x204.18985\x206.65847\x203.80995\x206.42416\x203.57564C6.18984\x203.34132\x205.80994\x203.34132\x205.57563\x203.57564L1.57564\x207.57564C1.34132\x207.80995\x201.34132\x208.18985\x201.57564\x208.42417L5.57563\x2012.4242C5.80994\x2012.6585\x206.18984\x2012.6585\x206.42416\x2012.4242C6.65847\x2012.1899\x206.65847\x2011.81\x206.42416\x2011.5756L3.44843\x208.5999H14C14.3314\x208.5999\x2014.6\x208.33127\x2014.6\x207.9999C14.6\x207.66853\x2014.3314\x207.3999\x2014\x207.3999H3.44843L6.42416\x204.42417Z'}}]},_0x333a98=_0x2a778d[_0x41826a(0x2e2)](function(_0x320b57,_0x3ddaa2){const _0x10c965=_0x41826a;return _0x2a778d[_0x10c965(0x231)](_0x2e7cae,Object[_0x10c965(0x236)]({},_0x320b57,{'id':_0x10c965(0x3b3),'ref':_0x3ddaa2,'icon':_0x5cfc25}));});_0x333a98[_0x41826a(0x249)]=_0x41826a(0x369);var _0x4e7425={'tag':_0x41826a(0x333),'attrs':{'fill':_0x41826a(0x2d3),'viewBox':'0\x200\x2016\x2016','width':_0x41826a(0x1eb),'height':_0x41826a(0x1eb)},'children':[{'tag':_0x41826a(0x1cd),'attrs':{'fill':_0x41826a(0x1f3),'d':_0x41826a(0x2fb),'fillRule':_0x41826a(0x1d8),'clipRule':_0x41826a(0x1d8)}},{'tag':_0x41826a(0x1cd),'attrs':{'fill':'currentColor','d':'M7.17852\x201.82153C7.17852\x201.36781\x207.54633\x201\x208.00005\x201C11.866\x201\x2015\x204.13397\x2015\x207.99993C15\x2011.8659\x2011.866\x2014.9999\x208.00005\x2014.9999C4.1341\x2014.9999\x201.00012\x2011.8659\x201.00012\x207.99993C1.00012\x207.54621\x201.36793\x207.1784\x201.82165\x207.1784C2.27537\x207.1784\x202.64318\x207.54621\x202.64318\x207.99993C2.64318\x2010.9584\x205.04153\x2013.3568\x208.00005\x2013.3568C10.9586\x2013.3568\x2013.3569\x2010.9584\x2013.3569\x207.99993C13.3569\x205.04141\x2010.9586\x202.64306\x208.00005\x202.64306C7.54633\x202.64306\x207.17852\x202.27525\x207.17852\x201.82153Z','fillRule':_0x41826a(0x1d8),'clipRule':_0x41826a(0x1d8)}}]},_0x48c4c3=_0x2a778d[_0x41826a(0x2e2)](function(_0xde4f9e,_0x41be56){const _0x55b9a6=_0x41826a;return _0x2a778d[_0x55b9a6(0x231)](_0x2e7cae,Object['assign']({},_0xde4f9e,{'id':_0x55b9a6(0x2f9),'ref':_0x41be56,'icon':_0x4e7425}));});_0x48c4c3['displayName']=_0x41826a(0x347);var _0x29b265={'tag':_0x41826a(0x333),'attrs':{'fill':_0x41826a(0x2d3),'viewBox':_0x41826a(0x332),'width':_0x41826a(0x1eb),'height':_0x41826a(0x1eb)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':_0x41826a(0x1be)},'children':[{'tag':_0x41826a(0x1cd),'attrs':{'d':_0x41826a(0x340)}},{'tag':_0x41826a(0x1cd),'attrs':{'d':_0x41826a(0x28a),'fillRule':'evenodd','clipRule':_0x41826a(0x1d8)}}]},{'tag':_0x41826a(0x305),'attrs':{},'children':[{'tag':_0x41826a(0x376),'attrs':{'id':_0x41826a(0x398)},'children':[{'tag':_0x41826a(0x245),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':'#fff','rx':0x4}}]}]}],'defIds':[_0x41826a(0x398)]},_0x164d20=_0x2a778d[_0x41826a(0x2e2)](function(_0x3f35fa,_0x169fb5){const _0x22c901=_0x41826a;return _0x2a778d[_0x22c901(0x231)](_0x2e7cae,Object[_0x22c901(0x236)]({},_0x3f35fa,{'id':'restore-single','ref':_0x169fb5,'icon':_0x29b265}));});_0x164d20['displayName']='RestoreSingle';const _0x14d458={'versionListPanel':_0x41826a(0x264),'versionListPanelContent':_0x41826a(0x2a5),'versionDate':_0x41826a(0x23a),'versionItem':_0x41826a(0x1b7),'versionItemHeader':_0x41826a(0x203),'versionItemHeaderExpand':'univer-version-item-header-expand','versionItemHeaderTime':_0x41826a(0x1ba),'versionItemHeaderTimeTag':_0x41826a(0x1c8),'versionItemHeaderRevert':'univer-version-item-header-revert','versionItemContent':_0x41826a(0x194),'active':_0x41826a(0x314),'historyViewHeader':_0x41826a(0x19d),'historyViewHeaderBack':'univer-history-view-header-back','historyViewHeaderBackText':_0x41826a(0x273),'historyViewHeaderRevert':_0x41826a(0x2b1),'versionListLoading':_0x41826a(0x28d),'versionListLoadingIcon':_0x41826a(0x25b),'loadingSpin':_0x41826a(0x34a)};function _0x52a00d(){const _0x5386c6=_0x41826a,_0x4de6ef=_0x1a49dd[_0x5386c6(0x395)](_0x569069['HistoryManagerService']),_0x320518=_0x402642[_0x5386c6(0x1b8)](_0x4de6ef[_0x5386c6(0x285)]),[_0x4c9d74,_0x582e73]=_0x2a778d[_0x5386c6(0x26b)](!0x1),_0x5f162d=_0x13b280(_0x320518);return _0x320518?_0x2a778d[_0x5386c6(0x231)](_0x5386c6(0x28f),{'className':_0x14d458[_0x5386c6(0x25f)]},_0x2a778d[_0x5386c6(0x231)](_0x5386c6(0x28f),{'className':_0x14d458[_0x5386c6(0x319)]},_0x5f162d['map']((_0x1316f9,_0x3585f1)=>_0x2a778d[_0x5386c6(0x231)](_0x2a778d[_0x5386c6(0x1d1)],{'key':_0x1316f9[_0x5386c6(0x255)]},_0x2a778d['createElement'](_0x14093e,{'date':_0x1316f9[_0x5386c6(0x255)]}),_0x1316f9[_0x5386c6(0x289)]['map']((_0x89d832,_0x5020a2)=>_0x2a778d[_0x5386c6(0x231)](_0x2e8d2b,{'key':_0x3585f1+'-'+_0x5020a2,'index':[_0x3585f1,_0x5020a2],'item':_0x89d832})))),_0x4c9d74&&_0x2a778d['createElement'](_0x53bd85,null))):_0x2a778d[_0x5386c6(0x231)](_0xdb676c,null);}function _0x53bd85(){const _0x45a89c=_0x41826a;return _0x2a778d[_0x45a89c(0x231)]('div',{'className':_0x14d458[_0x45a89c(0x397)]},_0x2a778d[_0x45a89c(0x231)](_0x48c4c3,{'className':_0x14d458['versionListLoadingIcon']}));}function _0xdb676c(){const _0x2fa7a5=_0x41826a;return _0x2a778d[_0x2fa7a5(0x231)](_0x2fa7a5(0x28f),{'className':_0x1a6033(_0x14d458[_0x2fa7a5(0x383)],_0x2fa7a5(0x1d5))},_0x2a778d[_0x2fa7a5(0x231)](_0x2fa7a5(0x355),{'className':_0x1a6033(_0x14d458[_0x2fa7a5(0x281)],'text-gray-500')},_0x2a778d['createElement'](_0x48c4c3,{'className':_0x2fa7a5(0x363)})));}function _0x14093e(_0x326053){const _0x1e6901=_0x41826a,_0x34b76a=_0x1a49dd['useDependency'](_0x1a49dd['LocaleService']),{date:_0x59f7e3}=_0x326053;return _0x2a778d[_0x1e6901(0x231)](_0x1e6901(0x28f),{'className':_0x14d458[_0x1e6901(0x372)]},_0x371848(_0x59f7e3,_0x34b76a[_0x1e6901(0x2d6)]()));}function _0x2e8d2b(_0x303ed6){const _0x24ba0f=_0x41826a,{item:_0x52826c,index:_0x36b7c3}=_0x303ed6,{time:_0x530fb9,user:_0xd46e6b}=_0x52826c,[_0x33935b,_0x58828a]=_0x36b7c3,_0x90ed58=_0x1a49dd[_0x24ba0f(0x395)](_0x569069['HistoryManagerService']),_0x3ea014=_0x402642[_0x24ba0f(0x1b8)](_0x90ed58[_0x24ba0f(0x34c)],'',!0x0)===_0x52826c['id'],_0x522b05=_0x33935b===0x0&&_0x58828a===0x0,_0x2da855=!_0x522b05&&_0x90ed58[_0x24ba0f(0x31a)],_0xfeeba5=_0x1a49dd['useDependency'](_0x1a49dd[_0x24ba0f(0x38a)]),_0x5e4f23=_0xfeeba5[_0x24ba0f(0x2d6)](),_0x3733a8=_0x16eee6(_0x530fb9,_0x5e4f23),_0x3018fd=_0xfeeba5['t'](_0x24ba0f(0x22c)),_0x4df8e8=_0x2a778d['useCallback'](_0x419afa=>{const _0x343a9b=_0x24ba0f;_0x90ed58[_0x343a9b(0x3a4)]!==_0x2d846d['Loading']&&(_0x90ed58[_0x343a9b(0x1f2)]=_0x419afa);},[_0x90ed58]),_0x35e0ce=_0x2a778d['useCallback'](_0x687a2a=>{const _0xd61723=_0x24ba0f;_0x90ed58[_0xd61723(0x1ad)](_0x687a2a);},[_0x90ed58]);return _0x2a778d[_0x24ba0f(0x231)](_0x24ba0f(0x28f),{'className':_0x1a6033(_0x14d458[_0x24ba0f(0x271)],{[_0x14d458[_0x24ba0f(0x1fc)]]:_0x3ea014}),'onClick':()=>_0x4df8e8(_0x52826c['id'])},_0x2a778d[_0x24ba0f(0x231)](_0x24ba0f(0x28f),{'className':_0x14d458[_0x24ba0f(0x2bf)]},_0x2a778d['createElement'](_0x24ba0f(0x28f),{'className':_0x14d458[_0x24ba0f(0x193)]}),_0x2a778d[_0x24ba0f(0x231)](_0x24ba0f(0x28f),{'className':_0x14d458[_0x24ba0f(0x36d)]},_0x2a778d[_0x24ba0f(0x231)]('span',null,_0x3733a8[_0x24ba0f(0x20b)]),_0x522b05&&_0x2a778d['createElement']('span',{'className':_0x14d458['versionItemHeaderTimeTag']},_0x3018fd)),_0x2a778d[_0x24ba0f(0x231)]('div',null,_0x2da855&&_0x2a778d[_0x24ba0f(0x231)](_0x42477e[_0x24ba0f(0x276)],{'title':_0xfeeba5['t'](_0x24ba0f(0x360))},_0x2a778d[_0x24ba0f(0x231)](_0x24ba0f(0x28f),{'onClick':_0x2294a7=>{_0x2294a7['stopPropagation'](),_0x35e0ce(_0x52826c['id']);},'className':_0x14d458['versionItemHeaderRevert']},_0x2a778d[_0x24ba0f(0x231)](_0x164d20,null))))),_0x2a778d[_0x24ba0f(0x231)](_0x24ba0f(0x28f),{'className':_0x14d458[_0x24ba0f(0x2ff)]},_0x5d4399(_0x52826c,_0xfeeba5)));}var _0x2e9be7=Object['defineProperty'],_0x1e33e6=Object['getOwnPropertyDescriptor'],_0x43caeb=(_0x29ad65,_0x5d2ce2,_0xc3efd8,_0x1e67d8)=>{const _0x307654=_0x41826a;for(var _0xe4ec3c=_0x1e67d8>0x1?void 0x0:_0x1e67d8?_0x1e33e6(_0x5d2ce2,_0xc3efd8):_0x5d2ce2,_0x3d017f=_0x29ad65[_0x307654(0x2c9)]-0x1,_0x425bc8;_0x3d017f>=0x0;_0x3d017f--)(_0x425bc8=_0x29ad65[_0x3d017f])&&(_0xe4ec3c=(_0x1e67d8?_0x425bc8(_0x5d2ce2,_0xc3efd8,_0xe4ec3c):_0x425bc8(_0xe4ec3c))||_0xe4ec3c);return _0x1e67d8&&_0xe4ec3c&&_0x2e9be7(_0x5d2ce2,_0xc3efd8,_0xe4ec3c),_0xe4ec3c;},_0x18a3b2=(_0x542141,_0x2e0492)=>(_0x316a96,_0x58201e)=>_0x2e0492(_0x316a96,_0x58201e,_0x542141);const _0x44adc6=_0x41826a(0x358);let _0x421437=class extends _0x1a49dd[_0x41826a(0x21f)]{constructor(_0x30b359,_0x3217c7,_0x48ac90,_0x4dac8e){const _0x470e81=_0x41826a;super(),_0x432628(this,_0x470e81(0x2e4),null),(this[_0x470e81(0x283)]=_0x30b359,this[_0x470e81(0x267)]=_0x3217c7,this[_0x470e81(0x357)]=_0x48ac90,this['_historyManagerService']=_0x4dac8e,this['_init']());}[_0x41826a(0x272)](){const _0x396195=_0x41826a;this[_0x396195(0x384)](),this['_openPanel']();}['_openPanel'](){const _0x223146=_0x41826a;if(this[_0x223146(0x2e4)])return;const _0x2f4326={'header':{'title':this[_0x223146(0x357)]['t'](_0x223146(0x312))},'children':{'label':_0x44adc6},'onClose':()=>{const _0x50bef1=_0x223146;this[_0x50bef1(0x2e4)]=null,this[_0x50bef1(0x2c5)][_0x50bef1(0x2a2)]=_0x1a2680[_0x50bef1(0x3b4)];}};this['_sidebarDisposable']=this[_0x223146(0x283)][_0x223146(0x35a)]({..._0x2f4326});}['_initPanel'](){const _0x58fa75=_0x41826a;this['disposeWithMe'](this[_0x58fa75(0x267)][_0x58fa75(0x2e5)](_0x44adc6,_0x52a00d)),this[_0x58fa75(0x27d)](this['_sidebarService']['scrollEvent$']['pipe'](_0x77eb8a[_0x58fa75(0x2b5)](0x64))[_0x58fa75(0x325)](_0x14c135=>{const _0x1d620f=_0x58fa75,{target:_0x14bec4}=_0x14c135||{};if(_0x14bec4){const {scrollTop:_0x4d53f8,scrollHeight:_0x27c778,clientHeight:_0x34b77a}=_0x14bec4;_0x4d53f8+_0x34b77a>=_0x27c778-0x5&&this['_historyManagerService'][_0x1d620f(0x387)]();}}));}};_0x421437=_0x43caeb([_0x1a49dd[_0x41826a(0x1d4)](_0x1a49dd['LifecycleStages'][_0x41826a(0x200)],_0x421437),_0x18a3b2(0x0,_0x402642[_0x41826a(0x2ac)]),_0x18a3b2(0x1,_0x1a49dd[_0x41826a(0x1af)](_0x402642['ComponentManager'])),_0x18a3b2(0x2,_0x1a49dd[_0x41826a(0x1af)](_0x1a49dd[_0x41826a(0x38a)])),_0x18a3b2(0x3,_0x1a49dd[_0x41826a(0x1af)](_0x569069[_0x41826a(0x290)]))],_0x421437);function _0x242f9b(){const _0x266b5d=_0x41826a,_0x59bec3=_0x1a49dd[_0x266b5d(0x395)](_0x569069['HistoryManagerService']),_0x424f6c=_0x1a49dd['useDependency'](_0x1a49dd[_0x266b5d(0x38a)]),_0x2b36e6=_0x2a778d[_0x266b5d(0x257)](()=>{const _0xa11f56=_0x266b5d;_0x59bec3[_0xa11f56(0x2a2)]=_0x1a2680[_0xa11f56(0x3b4)];},[_0x59bec3]),_0x3e88e0=_0x2a778d[_0x266b5d(0x257)](()=>{const _0x48b1fd=_0x266b5d;_0x59bec3[_0x48b1fd(0x1ad)]();},[_0x59bec3]),_0x4a211d=_0x402642[_0x266b5d(0x1b8)](_0x59bec3[_0x266b5d(0x34c)]),_0x40e42d=_0x402642[_0x266b5d(0x1b8)](_0x59bec3[_0x266b5d(0x285)]),_0x27b2e2=!(_0x4a211d===(_0x40e42d==null?void 0x0:_0x40e42d[0x0]['id']))&&_0x59bec3[_0x266b5d(0x31a)];return _0x2a778d[_0x266b5d(0x231)](_0x266b5d(0x28f),{'className':_0x14d458[_0x266b5d(0x33c)]},_0x2a778d[_0x266b5d(0x231)](_0x266b5d(0x28f),{'onClick':_0x2b36e6,'className':_0x14d458[_0x266b5d(0x25d)]},_0x2a778d[_0x266b5d(0x231)](_0x333a98,{'style':{'fontSize':_0x266b5d(0x1d3)}})),_0x2a778d[_0x266b5d(0x231)](_0x266b5d(0x28f),{'className':_0x14d458['historyViewHeaderRevert']},_0x27b2e2&&_0x2a778d['createElement'](_0x42477e[_0x266b5d(0x301)],{'type':_0x266b5d(0x26a),'onClick':_0x3e88e0},_0x424f6c['t'](_0x266b5d(0x1bd)))));}var _0x49853d=Object[_0x41826a(0x3ac)],_0x3d0ed0=Object[_0x41826a(0x1b4)],_0x459d2a=(_0x1e8cf8,_0x5b392a,_0x439d53,_0x5aeced)=>{const _0x2a5dbd=_0x41826a;for(var _0x468d76=_0x5aeced>0x1?void 0x0:_0x5aeced?_0x3d0ed0(_0x5b392a,_0x439d53):_0x5b392a,_0x17b19d=_0x1e8cf8[_0x2a5dbd(0x2c9)]-0x1,_0x5cd6d3;_0x17b19d>=0x0;_0x17b19d--)(_0x5cd6d3=_0x1e8cf8[_0x17b19d])&&(_0x468d76=(_0x5aeced?_0x5cd6d3(_0x5b392a,_0x439d53,_0x468d76):_0x5cd6d3(_0x468d76))||_0x468d76);return _0x5aeced&&_0x468d76&&_0x49853d(_0x5b392a,_0x439d53,_0x468d76),_0x468d76;},_0x3314a3=(_0x1b35de,_0x30402b)=>(_0x362b87,_0x12548f)=>_0x30402b(_0x362b87,_0x12548f,_0x1b35de);let _0x49975c=class extends _0x1a49dd[_0x41826a(0x21f)]{constructor(_0xe6617a,_0x19f970,_0x4737d9,_0x7dd05b,_0x1f2955,_0xbc2f5e){const _0x15fe6f=_0x41826a;super(),_0x432628(this,_0x15fe6f(0x392)),(this[_0x15fe6f(0x222)]=_0xe6617a,this[_0x15fe6f(0x2e8)]=_0x19f970,this['_messageService']=_0x4737d9,this['_localeService']=_0x7dd05b,this[_0x15fe6f(0x2c5)]=_0x1f2955,this[_0x15fe6f(0x1a4)]=_0xbc2f5e,this['_init']());}[_0x41826a(0x272)](){const _0x5bf491=_0x41826a;this['disposeWithMe'](this['_historyManagerService'][_0x5bf491(0x34c)][_0x5bf491(0x325)](_0x1fc0aa=>{const _0x12152b=_0x5bf491;_0x1fc0aa&&this[_0x12152b(0x2c5)][_0x12152b(0x1e0)](_0x1fc0aa);})),this[_0x5bf491(0x27d)](this[_0x5bf491(0x222)][_0x5bf491(0x33a)][_0x5bf491(0x325)](_0x531e2b=>{const _0x2fa3e4=_0x5bf491,_0xe1471=this[_0x2fa3e4(0x2c5)][_0x2fa3e4(0x326)];_0xe1471&&(_0x531e2b['subType']===_0xa29719[_0x2fa3e4(0x18e)]&&_0x531e2b[_0x2fa3e4(0x32e)]===!0x0&&this[_0x2fa3e4(0x222)][_0x2fa3e4(0x27f)](new _0x163c24[(_0x2fa3e4(0x2fc))](_0xe1471)['id'],!0x1),_0x531e2b[_0x2fa3e4(0x2db)]===_0xa29719[_0x2fa3e4(0x3ae)]&&_0x531e2b['value']===!0x0&&this[_0x2fa3e4(0x222)]['updatePermissionPoint'](new _0x163c24['WorkbookRenameSheetPermission'](_0xe1471)['id'],!0x1),_0x531e2b['subType']===_0xa29719[_0x2fa3e4(0x1de)]&&_0x531e2b[_0x2fa3e4(0x32e)]===!0x0&&this[_0x2fa3e4(0x222)][_0x2fa3e4(0x27f)](new _0x163c24[(_0x2fa3e4(0x291))](_0xe1471)['id'],!0x1),_0x531e2b[_0x2fa3e4(0x2db)]===_0xa29719['HideSheet']&&_0x531e2b[_0x2fa3e4(0x32e)]===!0x0&&this['_permissionService'][_0x2fa3e4(0x27f)](new _0x163c24[(_0x2fa3e4(0x32b))](_0xe1471)['id'],!0x1),_0x531e2b[_0x2fa3e4(0x2db)]===_0xa29719[_0x2fa3e4(0x2a1)]&&_0x531e2b[_0x2fa3e4(0x32e)]===!0x0&&this[_0x2fa3e4(0x222)][_0x2fa3e4(0x27f)](new _0x163c24['WorkbookEditablePermission'](_0xe1471)['id'],!0x1),_0x531e2b['subType']===_0xa29719['FloatImg']&&_0x531e2b['value']===!0x0&&this[_0x2fa3e4(0x222)][_0x2fa3e4(0x27f)](new _0x163c24[(_0x2fa3e4(0x2fc))](_0xe1471)['id'],!0x1));})),this[_0x5bf491(0x27d)](this[_0x5bf491(0x2e8)][_0x5bf491(0x2cb)](_0x402642[_0x5bf491(0x370)][_0x5bf491(0x322)],()=>_0x1a49dd['connectInjector'](_0x242f9b,this[_0x5bf491(0x1a4)]))),this['disposeWithMe'](this[_0x5bf491(0x2c5)]['loadingState$'][_0x5bf491(0x325)](_0x1150ef=>{const _0x503cdf=_0x5bf491;var _0x559eda;_0x1150ef===_0x2d846d[_0x503cdf(0x347)]&&(this['_historyManagerService'][_0x503cdf(0x1b1)](),this['_loadingMessage']=this[_0x503cdf(0x303)][_0x503cdf(0x1c2)]({'type':_0x42477e[_0x503cdf(0x37c)][_0x503cdf(0x302)],'content':this[_0x503cdf(0x357)]['t'](_0x503cdf(0x37d))})),_0x1150ef===_0x2d846d[_0x503cdf(0x298)]&&((_0x559eda=this['_loadingMessage'])==null||_0x559eda[_0x503cdf(0x331)](),this['_historyManagerService']['hideMask']());}));}};_0x49975c=_0x459d2a([_0x1a49dd[_0x41826a(0x1d4)](_0x1a49dd['LifecycleStages'][_0x41826a(0x2fe)],_0x49975c),_0x3314a3(0x0,_0x1a49dd[_0x41826a(0x34b)]),_0x3314a3(0x1,_0x402642[_0x41826a(0x256)]),_0x3314a3(0x2,_0x402642['IMessageService']),_0x3314a3(0x3,_0x1a49dd[_0x41826a(0x1af)](_0x1a49dd['LocaleService'])),_0x3314a3(0x4,_0x1a49dd[_0x41826a(0x1af)](_0x569069['HistoryManagerService'])),_0x3314a3(0x5,_0x1a49dd['Inject'](_0x1a49dd[_0x41826a(0x26f)]))],_0x49975c);class _0x3e1470 extends _0x1a49dd[_0x41826a(0x21f)]{constructor(){const _0x3b74a5=_0x41826a;super(),_0x432628(this,_0x3b74a5(0x27e),new _0x77eb8a[(_0x3b74a5(0x1fe))]());}['open'](){const _0x4ab5c2=_0x41826a;return _0x1a49dd[_0x4ab5c2(0x2b7)](()=>{});}[_0x41826a(0x220)](){}[_0x41826a(0x328)](_0x41c9c3){}[_0x41826a(0x2e6)](){const _0x36c28e=_0x41826a;return this['_dialogOptions$'][_0x36c28e(0x244)]();}}var _0x54ed84=Object[_0x41826a(0x3ac)],_0x2588d2=Object['getOwnPropertyDescriptor'],_0x244c0d=(_0x2f59c2,_0x2f6035,_0x227502,_0x501e8c)=>{for(var _0x4004c8=_0x501e8c>0x1?void 0x0:_0x501e8c?_0x2588d2(_0x2f6035,_0x227502):_0x2f6035,_0x45701d=_0x2f59c2['length']-0x1,_0x3c983b;_0x45701d>=0x0;_0x45701d--)(_0x3c983b=_0x2f59c2[_0x45701d])&&(_0x4004c8=(_0x501e8c?_0x3c983b(_0x2f6035,_0x227502,_0x4004c8):_0x3c983b(_0x4004c8))||_0x4004c8);return _0x501e8c&&_0x4004c8&&_0x54ed84(_0x2f6035,_0x227502,_0x4004c8),_0x4004c8;},_0x3dc204=(_0x57cf80,_0x2a86e2)=>(_0x226058,_0x515d70)=>_0x2a86e2(_0x226058,_0x515d70,_0x57cf80);let _0x4e0a1f=class extends _0x1a49dd[_0x41826a(0x21f)]{constructor(_0x290619,_0x3e9346,_0xf5ef8b){const _0x542eb6=_0x41826a;super(),_0x432628(this,_0x542eb6(0x380),new Map()),_0x432628(this,_0x542eb6(0x366),new _0x77eb8a[(_0x542eb6(0x22b))]({'ranges':new Map(),'active':null})),_0x432628(this,'currentVersionDiff$',this[_0x542eb6(0x366)]['asObservable']()),(this[_0x542eb6(0x2c5)]=_0x290619,this['_transformService']=_0x3e9346,this['_snapshotServerService']=_0xf5ef8b,this['_init']());}[_0x41826a(0x272)](){const _0x3c094c=_0x41826a;this[_0x3c094c(0x380)]=new Map(),this[_0x3c094c(0x27d)](this['_historyManagerService'][_0x3c094c(0x24d)][_0x3c094c(0x325)](_0x3d17c8=>{const _0x387e58=_0x3c094c;_0x3d17c8&&!this[_0x387e58(0x380)]['has'](_0x3d17c8)&&this[_0x387e58(0x380)]['set'](_0x3d17c8,new Map());})),this[_0x3c094c(0x27d)](this[_0x3c094c(0x2c5)][_0x3c094c(0x34c)][_0x3c094c(0x325)](async _0x23f616=>{const _0x1eb5b2=_0x3c094c;var _0x1ff63c;_0x23f616&&(await this[_0x1eb5b2(0x216)](_0x23f616),this[_0x1eb5b2(0x366)][_0x1eb5b2(0x36b)](((_0x1ff63c=this[_0x1eb5b2(0x380)][_0x1eb5b2(0x2df)](this['_historyManagerService']['unitId']))==null?void 0x0:_0x1ff63c[_0x1eb5b2(0x2df)](_0x23f616))||{'ranges':new Map(),'active':null}));}));}async['ensureVersion'](_0x163b83){const _0x378258=_0x41826a;var _0x55fbf2,_0x1de588;const _0x35a649=this['_historyManagerService'][_0x378258(0x1c1)](_0x163b83),_0x5bf53b=this[_0x378258(0x2c5)][_0x378258(0x326)];if(!_0x35a649||!_0x5bf53b)return;const _0x10cf4a=this['_diffRangesMap'][_0x378258(0x2df)](_0x5bf53b);if(_0x10cf4a||this[_0x378258(0x380)][_0x378258(0x19a)](_0x5bf53b,new Map()),(_0x55fbf2=this[_0x378258(0x380)][_0x378258(0x2df)](_0x5bf53b))!=null&&_0x55fbf2[_0x378258(0x2dc)](_0x35a649['id']))return;const {startRev:_0x2330a7,endRev:_0x23d9bf}=_0x35a649;if(_0x2330a7===0x1){_0x10cf4a[_0x378258(0x19a)](_0x35a649['id'],{'ranges':new Map(),'active':null});return;}const _0x2b391c=_0x2330a7-0x1,_0x857be2=_0x23d9bf,_0x559bb9=await this[_0x378258(0x211)]['fetchMissingChangesets']({},{'unitID':_0x5bf53b,'from':_0x2b391c,'to':_0x857be2,'type':_0x5ae071['UNIVER_SHEET']});if(((_0x1de588=_0x559bb9[_0x378258(0x2bc)])==null?void 0x0:_0x1de588['code'])===_0x196900['OK']){const _0x2e4768=_0x559bb9[_0x378258(0x38e)][_0x378258(0x2f1)](_0x3b9149[_0x378258(0x261)])[_0x378258(0x2f1)](_0x2a63f2=>_0x2a63f2[_0x378258(0x2d0)][_0x378258(0x2f1)](_0x13750b=>({..._0x13750b,'params':{..._0x13750b[_0x378258(0x2ec)],'memberId':_0x2a63f2[_0x378258(0x37b)]}})))[_0x378258(0x299)](),_0x2ed48d=this['_transformMutationByOrder'](_0x2e4768),_0x170d62=this['_getActiveSubUnitId'](_0x2e4768),_0x595fe9=this[_0x378258(0x19e)](_0x2ed48d);_0x10cf4a['set'](_0x35a649['id'],{'ranges':_0x595fe9,'active':_0x170d62});}}['_transformMutationByOrder'](_0x192493){const _0x538e2a=_0x41826a;let _0x2b52fd=[];for(let _0x243f08=0x0;_0x243f08<_0x192493[_0x538e2a(0x2c9)];_0x243f08++){const _0x47f817=_0x192493[_0x243f08];if(_0x2b52fd[_0x538e2a(0x31b)](_0x47f817),_0x243f08!==_0x192493['length']-0x1){const _0x9ed5c6=_0x192493[_0x243f08+0x1],_0x6ea610=this[_0x538e2a(0x210)][_0x538e2a(0x18f)](_0x2b52fd,[_0x9ed5c6]);_0x3b9149[_0x538e2a(0x3aa)](_0x6ea610)?_0x2b52fd=_0x6ea610[_0x538e2a(0x1e6)]:_0x2b52fd=[];}}return _0x2b52fd;}[_0x41826a(0x1f9)](_0x36842c){const _0x571eb5=_0x41826a;let _0x7ec654=[];return _0x36842c[_0x571eb5(0x202)](_0x49147b=>{const _0xbf9188=_0x571eb5;if(_0x49147b['id']===_0x163c24[_0xbf9188(0x1aa)]['id']){const _0x250474=_0x49147b[_0xbf9188(0x2ec)];_0x7ec654[_0xbf9188(0x31b)](_0x250474[_0xbf9188(0x378)]['id']);}else{if(_0x49147b['id']===_0x163c24[_0xbf9188(0x343)]['id']){const _0x1ce93c=_0x49147b[_0xbf9188(0x2ec)];_0x7ec654['length']>0x0&&(_0x7ec654=_0x7ec654[_0xbf9188(0x21a)](_0x853172=>_0x853172!==_0x1ce93c[_0xbf9188(0x2d2)]));}else{if(_0x49147b['id']===_0x163c24[_0xbf9188(0x297)]['id']){const _0x410369=_0x49147b[_0xbf9188(0x2ec)];_0x410369['hidden']?_0x7ec654=_0x7ec654['filter'](_0x4cf51b=>_0x4cf51b!==_0x410369[_0xbf9188(0x2d2)]):_0x7ec654[_0xbf9188(0x31b)](_0x410369['subUnitId']);}else{const _0x3382a1=_0x49147b[_0xbf9188(0x2ec)];_0x3382a1['subUnitId']&&_0x7ec654['push'](_0x3382a1[_0xbf9188(0x2d2)]);}}}}),_0x7ec654['length']>0x0?_0x7ec654[_0x7ec654[_0x571eb5(0x2c9)]-0x1]:null;}[_0x41826a(0x19e)](_0x25606c){const _0x3288ba=_0x41826a,_0x1066d1=new Map();return _0x25606c[_0x3288ba(0x202)](_0x472b9c=>{const _0xa2793e=_0x3288ba;var _0x5dab31,_0x43e153;const _0x2baff7=(_0x5dab31=_0x472b9c[_0xa2793e(0x2ec)])==null?void 0x0:_0x5dab31[_0xa2793e(0x2b6)];if(_0x2baff7){_0x1066d1['has'](_0x2baff7)||_0x1066d1[_0xa2793e(0x19a)](_0x2baff7,[]);const _0x4f4934=this['_getRangesByMutation'](_0x472b9c);(_0x43e153=_0x1066d1[_0xa2793e(0x2df)](_0x2baff7))==null||_0x43e153[_0xa2793e(0x31b)](..._0x4f4934);}}),_0x1066d1['forEach']((_0x50c608,_0x28118b)=>{const _0x4dffac=_0x3288ba;_0x1066d1[_0x4dffac(0x19a)](_0x28118b,this['_combineRanges'](_0x50c608));}),_0x1066d1;}['_getRangesByMutation'](_0xe67d72){const _0xd52401=_0x41826a;switch(_0xe67d72['id']){case _0x163c24[_0xd52401(0x197)]['id']:{const _0x470702=_0xe67d72[_0xd52401(0x2ec)];return _0x470702['rules'][_0xd52401(0x2f1)](_0x276720=>_0x276720['ranges'][_0xd52401(0x2f1)](_0x48fec2=>({'range':_0x48fec2,'unitId':_0x470702[_0xd52401(0x326)],'subUnitId':_0x470702[_0xd52401(0x2d2)]})))['flat']();}case _0x163c24['AddWorksheetMergeMutation']['id']:{const _0x21d880=_0xe67d72[_0xd52401(0x2ec)];return _0x21d880[_0xd52401(0x1cb)][_0xd52401(0x2f1)](_0x1dedd8=>({'range':_0x1dedd8,'unitId':_0x21d880[_0xd52401(0x326)],'subUnitId':_0x21d880['subUnitId']}));}case _0x163c24[_0xd52401(0x381)]['id']:{const _0x12f083=_0xe67d72[_0xd52401(0x2ec)];return[{'range':_0x12f083['range'],'unitId':_0x12f083[_0xd52401(0x326)],'subUnitId':_0x12f083[_0xd52401(0x2d2)]}];}case _0x163c24[_0xd52401(0x23f)]['id']:{const _0x17fb02=_0xe67d72['params'];return[{'range':_0x17fb02[_0xd52401(0x235)],'unitId':_0x17fb02[_0xd52401(0x326)],'subUnitId':_0x17fb02[_0xd52401(0x2d2)]}];}case _0x163c24['MoveRangeMutation']['id']:{const _0x587f64=_0xe67d72['params'],{from:_0x743fa3,to:_0x33903a,unitId:_0x2f96e9}=_0x587f64;return[{'range':_0x35e89f(_0x743fa3[_0xd52401(0x32e)]),'unitId':_0x2f96e9,'subUnitId':_0x743fa3[_0xd52401(0x2d2)]},{'range':_0x35e89f(_0x33903a[_0xd52401(0x32e)]),'unitId':_0x2f96e9,'subUnitId':_0x33903a[_0xd52401(0x2d2)]}];}case _0x163c24[_0xd52401(0x232)]['id']:{const _0x4dfcc3=_0xe67d72['params'],{unitId:_0x34a976,subUnitId:_0xb086ae,sourceRange:_0x43b0d2,targetRange:_0x59e3cb}=_0x4dfcc3,_0x47dcd6=_0x43b0d2['endRow']-_0x43b0d2['startRow']+0x1;return[{'range':_0x59e3cb[_0xd52401(0x33f)]<=_0x43b0d2['startRow']?_0x59e3cb:{..._0x59e3cb,'startRow':_0x59e3cb[_0xd52401(0x33f)]-_0x47dcd6,'endRow':_0x59e3cb[_0xd52401(0x288)]-_0x47dcd6},'unitId':_0x34a976,'subUnitId':_0xb086ae}];}case _0x163c24[_0xd52401(0x1e5)]['id']:{const _0x2db373=_0xe67d72[_0xd52401(0x2ec)],{unitId:_0x1b0180,subUnitId:_0x5f5a53,sourceRange:_0x5c5a6d,targetRange:_0x108c84}=_0x2db373,_0x29ae1a=_0x5c5a6d[_0xd52401(0x3a3)]-_0x5c5a6d[_0xd52401(0x1df)]+0x1;return[{'range':_0x108c84[_0xd52401(0x1df)]<=_0x5c5a6d[_0xd52401(0x1df)]?_0x108c84:{..._0x108c84,'startColumn':_0x108c84['startColumn']-_0x29ae1a,'endColumn':_0x108c84[_0xd52401(0x3a3)]-_0x29ae1a},'unitId':_0x1b0180,'subUnitId':_0x5f5a53}];}case _0x163c24[_0xd52401(0x356)]['id']:{const _0x363857=_0xe67d72[_0xd52401(0x2ec)],{values:_0x505068,unitId:_0x1b3025,subUnitId:_0x5697fb}=_0x363857;return Object['values'](_0x505068)['map'](_0x50b8b4=>_0x50b8b4[_0xd52401(0x1cb)]['map'](_0x995a6b=>({'range':_0x995a6b,'unitId':_0x1b3025,'subUnitId':_0x5697fb})))['flat']();}case _0x163c24['RemoveNumfmtMutation']['id']:{const _0x3ccee0=_0xe67d72[_0xd52401(0x2ec)],{ranges:_0x530c29,unitId:_0x150540,subUnitId:_0x1c3b47}=_0x3ccee0;return _0x530c29[_0xd52401(0x2f1)](_0x50fdd9=>({'range':_0x50fdd9,'unitId':_0x150540,'subUnitId':_0x1c3b47}));}case _0x163c24['ReorderRangeMutation']['id']:{const _0xa25dad=_0xe67d72[_0xd52401(0x2ec)],{unitId:_0x20692d,subUnitId:_0x53e5f7,range:_0x51154b}=_0xa25dad;return[{'range':_0x51154b,'unitId':_0x20692d,'subUnitId':_0x53e5f7}];}case _0x163c24['SetRangeProtectionMutation']['id']:{const _0x276aca=_0xe67d72[_0xd52401(0x2ec)];return _0x276aca[_0xd52401(0x192)][_0xd52401(0x1cb)][_0xd52401(0x2f1)](_0x17524b=>({'range':_0x17524b,'unitId':_0x276aca[_0xd52401(0x326)],'subUnitId':_0x276aca[_0xd52401(0x2d2)]}));}case _0x163c24[_0xd52401(0x29d)]['id']:{const _0x302e89=_0xe67d72[_0xd52401(0x2ec)];return _0x302e89[_0xd52401(0x254)]?_0x2b4505(_0x302e89[_0xd52401(0x254)])[_0xd52401(0x2f1)](_0x5cfaeb=>({'range':_0x5cfaeb,'unitId':_0x302e89[_0xd52401(0x326)],'subUnitId':_0x302e89['subUnitId']})):[];}case _0x24bc0e[_0xd52401(0x1c5)]['id']:{const _0x973de=_0xe67d72['params'];return[{'range':_0x973de[_0xd52401(0x235)],'unitId':_0x973de[_0xd52401(0x326)],'subUnitId':_0x973de['subUnitId']}];}case _0x31f422[_0xd52401(0x2ba)]['id']:{const _0x30e8ff=_0xe67d72[_0xd52401(0x2ec)];return(Array[_0xd52401(0x227)](_0x30e8ff[_0xd52401(0x192)])?_0x30e8ff[_0xd52401(0x192)]:[_0x30e8ff[_0xd52401(0x192)]])['map'](_0x2f552e=>_0x2f552e[_0xd52401(0x1cb)]['map'](_0x3c114a=>({'range':_0x3c114a,'unitId':_0x30e8ff['unitId'],'subUnitId':_0x30e8ff['subUnitId']})))['flat']();}case _0x1c59a9[_0xd52401(0x212)]['id']:{const _0x2e0541=_0xe67d72['params'];return _0x2e0541[_0xd52401(0x192)][_0xd52401(0x1cb)][_0xd52401(0x2f1)](_0x5c65be=>({'range':_0x5c65be,'unitId':_0x2e0541['unitId'],'subUnitId':_0x2e0541['subUnitId']}));}default:return[];}}[_0x41826a(0x240)](_0x189e99){const _0x8fe124=_0x41826a;if(_0x189e99[_0x8fe124(0x2c9)]<=0x1)return _0x189e99;const _0x1c599e=new Map();return _0x189e99[_0x8fe124(0x202)](_0x145c39=>{const _0x27e04c=_0x8fe124;var _0x5e1837;const {unitId:_0x2adc37,subUnitId:_0x495d89}=_0x145c39,_0x4732b8=_0x2adc37+'-'+_0x495d89;_0x1c599e['has'](_0x4732b8)?(_0x5e1837=_0x1c599e[_0x27e04c(0x2df)](_0x4732b8))==null||_0x5e1837['push'](_0x145c39):_0x1c599e[_0x27e04c(0x19a)](_0x4732b8,[_0x145c39]);}),Array['from'](_0x1c599e[_0x8fe124(0x1dd)]())[_0x8fe124(0x2f1)](_0x4b72d4=>new _0x163c24[(_0x8fe124(0x39d))]()[_0x8fe124(0x199)](..._0x4b72d4['map'](_0x2a50fe=>_0x2a50fe[_0x8fe124(0x235)]))[_0x8fe124(0x316)]()['map'](_0x466f86=>({'range':_0x466f86,'unitId':_0x4b72d4[0x0][_0x8fe124(0x326)],'subUnitId':_0x4b72d4[0x0][_0x8fe124(0x2d2)]})))['flat']();}};_0x4e0a1f=_0x244c0d([_0x1a49dd[_0x41826a(0x1d4)](_0x1a49dd[_0x41826a(0x287)][_0x41826a(0x224)],_0x4e0a1f),_0x3dc204(0x0,_0x1a49dd[_0x41826a(0x1af)](_0x569069['HistoryManagerService'])),_0x3dc204(0x1,_0x3b9149[_0x41826a(0x389)]),_0x3dc204(0x2,_0x3b9149['ISnapshotServerService'])],_0x4e0a1f);function _0x35e89f(_0x353fcd){const _0x3ab22b=_0x41826a;return new _0x1a49dd[(_0x3ab22b(0x28b))](_0x353fcd)['getDataRange']();}function _0x2b4505(_0x5189fa){const _0x9fe707=_0x41826a,_0x3eca66=new _0x1a49dd[(_0x9fe707(0x28b))](_0x5189fa),_0x53a1f4=new _0x1a49dd[(_0x9fe707(0x28b))]();return _0x3eca66[_0x9fe707(0x368)]((_0x533311,_0x45bd59)=>{const _0x195276=_0x9fe707;_0x53a1f4[_0x195276(0x2ed)](_0x533311,_0x45bd59,0x1);}),_0x163c24[_0x9fe707(0x377)](_0x53a1f4);}var _0x3d32da=Object[_0x41826a(0x3ac)],_0x4a6bcc=Object[_0x41826a(0x1b4)],_0x129e84=(_0x2a53f1,_0x144f1a,_0x2ab8f4,_0x5f88dd)=>{const _0x4fe4ba=_0x41826a;for(var _0x21b225=_0x5f88dd>0x1?void 0x0:_0x5f88dd?_0x4a6bcc(_0x144f1a,_0x2ab8f4):_0x144f1a,_0x542c7a=_0x2a53f1[_0x4fe4ba(0x2c9)]-0x1,_0x52a6ac;_0x542c7a>=0x0;_0x542c7a--)(_0x52a6ac=_0x2a53f1[_0x542c7a])&&(_0x21b225=(_0x5f88dd?_0x52a6ac(_0x144f1a,_0x2ab8f4,_0x21b225):_0x52a6ac(_0x21b225))||_0x21b225);return _0x5f88dd&&_0x21b225&&_0x3d32da(_0x144f1a,_0x2ab8f4,_0x21b225),_0x21b225;},_0x3b5811=(_0x14214e,_0x5f4eed)=>(_0xc2599a,_0x2e668e)=>_0x5f4eed(_0xc2599a,_0x2e668e,_0x14214e);let _0xc029f2=class extends _0x1a49dd[_0x41826a(0x21f)]{constructor(_0x33fb2f,_0xa5c048,_0x164c92,_0x190783,_0x47ec00,_0x27bde5,_0x50c0ca,_0x2f5bf0){const _0x1280ba=_0x41826a;super(),_0x432628(this,_0x1280ba(0x21e),new Set()),_0x432628(this,'_lastPointer',null),(this[_0x1280ba(0x1dc)]=_0x33fb2f,this[_0x1280ba(0x2c5)]=_0xa5c048,this['_versionDiffService']=_0x164c92,this[_0x1280ba(0x295)]=_0x190783,this[_0x1280ba(0x278)]=_0x47ec00,this['_themeService']=_0x27bde5,this[_0x1280ba(0x26d)]=_0x50c0ca,this[_0x1280ba(0x36a)]=_0x2f5bf0,this[_0x1280ba(0x272)]());}['_init'](){const _0x2e6b79=_0x41826a;this['_initRender'](),this[_0x2e6b79(0x3a2)]();}[_0x41826a(0x386)](){const _0x42ec4e=_0x41826a;this[_0x42ec4e(0x27d)](_0x77eb8a[_0x42ec4e(0x27b)]([this['_historyManagerService'][_0x42ec4e(0x2f0)],this[_0x42ec4e(0x26d)][_0x42ec4e(0x21b)]])[_0x42ec4e(0x349)](_0x77eb8a[_0x42ec4e(0x24e)](([_0x67dca9,_0x229452])=>{const _0x2e12de=_0x42ec4e;if(_0x67dca9===_0x2d846d['Loaded']&&_0x229452){const _0x300ec0=_0x229452['sheetId'];return this['_versionDiffService'][_0x2e12de(0x1b5)]['pipe'](_0x77eb8a[_0x2e12de(0x2f1)](_0x3aefa2=>{const _0x3e12d6=_0x2e12de,_0x5933a4=new Map();return _0x3aefa2[_0x3e12d6(0x1cb)][_0x3e12d6(0x202)]((_0x55d21b,_0x3b0d71)=>{const _0x3492d3=_0x3e12d6,_0x4adb43=_0x55d21b[_0x3492d3(0x21a)](_0x297d5d=>_0x297d5d[_0x3492d3(0x2d2)]===_0x300ec0);_0x5933a4[_0x3492d3(0x19a)](_0x3b0d71,_0x4adb43);}),{'skeleton':_0x229452,'diffs':_0x5933a4};}));}return _0x77eb8a['of']({'skeleton':null,'diffs':new Map()});}))['subscribe'](({skeleton:_0x4007f0,diffs:_0x3d42e9})=>{const _0x5b06d9=_0x42ec4e;this[_0x5b06d9(0x242)](),_0x4007f0&&this['_updateDiffMarks'](_0x4007f0,_0x3d42e9);})),this[_0x42ec4e(0x27d)](this[_0x42ec4e(0x26d)]['currentSkeleton$'][_0x42ec4e(0x325)](_0xe8792f=>{const _0x26ed16=_0x42ec4e;if(_0xe8792f==null)return;const {skeleton:_0x5814e2}=_0xe8792f,{scene:_0x2c3504}=this[_0x26ed16(0x1dc)];_0x2c3504['onPointerMove$'][_0x26ed16(0x25e)](_0x1a49dd[_0x26ed16(0x23d)](_0x3741ec=>{const _0x1d21d7=_0x26ed16;var _0x2e40da,_0x591168;const {offsetX:_0x350ccf,offsetY:_0x3e9d28}=_0x3741ec,{x:_0x53aa96,y:_0x2400ed}=_0x2c3504['getRelativeToViewportCoord'](_0x1b6da8[_0x1d21d7(0x330)][_0x1d21d7(0x286)]([_0x350ccf,_0x3e9d28])),{scaleX:_0x2b2c8d,scaleY:_0x18943c}=_0x2c3504[_0x1d21d7(0x393)](),_0x297d53=_0x2c3504[_0x1d21d7(0x2ae)](_0x476454['VIEWPORT_KEY']['VIEW_MAIN']),_0x170b60=_0x2c3504['getVpScrollXYInfoByPosToVp'](_0x1b6da8['Vector2'][_0x1d21d7(0x286)]([_0x53aa96,_0x2400ed]),_0x297d53),_0x5e766a=_0x5814e2[_0x1d21d7(0x284)](_0x350ccf,_0x3e9d28,_0x2b2c8d,_0x18943c,_0x170b60);((_0x2e40da=this[_0x1d21d7(0x1a2)])==null?void 0x0:_0x2e40da['column'])===_0x5e766a[_0x1d21d7(0x38c)]&&((_0x591168=this[_0x1d21d7(0x1a2)])==null?void 0x0:_0x591168[_0x1d21d7(0x1ee)])===_0x5e766a[_0x1d21d7(0x1ee)]||this['_diffs'][_0x1d21d7(0x202)](_0x5a723d=>{const _0x2d41eb=_0x1d21d7;_0x5a723d[_0x2d41eb(0x24b)](_0x5e766a);});},0x64));}));}[_0x41826a(0x3a2)](){const _0xb84d67=_0x41826a;this[_0xb84d67(0x27d)](this[_0xb84d67(0x2c5)][_0xb84d67(0x2f0)][_0xb84d67(0x325)](_0x3dd39f=>{const _0x20ada1=_0xb84d67,_0x27f1d5=new _0x1a49dd[(_0x20ada1(0x27a))]();return _0x3dd39f===_0x2d846d[_0x20ada1(0x298)]&&(_0x27f1d5[_0x20ada1(0x331)](),_0x27f1d5[_0x20ada1(0x199)](this[_0x20ada1(0x2a7)][_0x20ada1(0x1b5)][_0x20ada1(0x325)](_0x2793cc=>{const _0x5c3ed0=_0x20ada1;_0x2793cc['active']&&this['_commandService'][_0x5c3ed0(0x2b9)](_0x163c24['SetWorksheetActiveOperation']['id'],{'unitId':this[_0x5c3ed0(0x1dc)][_0x5c3ed0(0x326)],'subUnitId':_0x2793cc['active']});}))),()=>_0x27f1d5[_0x20ada1(0x331)]();}));}[_0x41826a(0x362)](_0x441c4a,_0xc77ffb){const _0x1f83d6=_0x41826a;var _0x499835;const _0x3b9372=(_0x499835=this[_0x1f83d6(0x26d)]['getCurrent']())==null?void 0x0:_0x499835[_0x1f83d6(0x37e)];if(!_0x3b9372)return;this[_0x1f83d6(0x21e)][_0x1f83d6(0x202)](_0x52c1e3=>{const _0x343932=_0x1f83d6;_0x52c1e3[_0x343932(0x262)]();});const {scene:_0x1be4e3}=this[_0x1f83d6(0x1dc)],_0x11b8f5=Array[_0x1f83d6(0x215)](_0xc77ffb[_0x1f83d6(0x2e3)]())[_0x1f83d6(0x2f1)](_0x4e4ef7=>_0xc77ffb[_0x1f83d6(0x2df)](_0x4e4ef7)[_0x1f83d6(0x2f1)](_0x13c8af=>{const _0x2d219f=_0x1f83d6;var _0x5eea83;const {range:_0x141b2e,subUnitId:_0x3f003a,unitId:_0x124659}=_0x13c8af,{startColumn:_0x2e58ef,startRow:_0x406b81,endColumn:_0x4a84cd,endRow:_0x37f62b}=_0x141b2e,_0x26d062=_0x476454[_0x2d219f(0x32c)](_0x406b81,_0x2e58ef,_0x1be4e3,_0x3b9372),_0x40b66a=_0x476454[_0x2d219f(0x32c)](_0x37f62b,_0x4a84cd,_0x1be4e3,_0x3b9372),{columnHeaderHeightAndMarginTop:_0x28054e}=_0x3b9372,{startX:_0x310d4e,startY:_0x1ad5bc}=_0x26d062,{endX:_0x524734,endY:_0x44a7f5}=_0x40b66a,_0x429c5b=_0x524734-_0x310d4e,_0x1d14af=_0x44a7f5-_0x1ad5bc,_0x475fb1={'labelPosition':_0x1ad5bc-_0x28054e>=0x14?'top':'bottom','sheetID':_0x3f003a,'range':_0x141b2e,'color':_0x2d219f(0x223),'fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x2d219f(0x223),'name':((_0x5eea83=this[_0x2d219f(0x2c5)]['getMember'](_0x4e4ef7))==null?void 0x0:_0x5eea83[_0x2d219f(0x39b)])||'','selection':_0x124659+'-'+_0x3f003a+'-'+_0x141b2e[_0x2d219f(0x1df)]+'-'+_0x141b2e[_0x2d219f(0x33f)]+'-'+_0x141b2e[_0x2d219f(0x3a3)]+'-'+_0x141b2e[_0x2d219f(0x288)],'left':_0x310d4e,'top':_0x1ad5bc,'width':_0x429c5b,'height':_0x1d14af,'evented':!0x1,'zIndex':0x1};return new _0x38c316[(_0x2d219f(0x336))]('',_0x475fb1);}))[_0x1f83d6(0x299)]();_0x1be4e3[_0x1f83d6(0x219)](_0x11b8f5,0x1),this[_0x1f83d6(0x21e)]=new Set(_0x11b8f5);}[_0x41826a(0x242)](){const _0x32a6eb=_0x41826a;var _0x4f6486;(_0x4f6486=this[_0x32a6eb(0x21e)])==null||_0x4f6486[_0x32a6eb(0x202)](_0x205cc2=>_0x205cc2[_0x32a6eb(0x331)]());}['_getSheetObject'](){const _0x55aff7=_0x41826a;return _0x476454[_0x55aff7(0x237)](this[_0x55aff7(0x295)],this[_0x55aff7(0x278)]);}};_0xc029f2=_0x129e84([_0x1a49dd[_0x41826a(0x1d4)](_0x1a49dd[_0x41826a(0x287)][_0x41826a(0x224)],_0xc029f2),_0x3b5811(0x1,_0x1a49dd['Inject'](_0x569069[_0x41826a(0x290)])),_0x3b5811(0x2,_0x1a49dd[_0x41826a(0x1af)](_0x4e0a1f)),_0x3b5811(0x3,_0x1a49dd[_0x41826a(0x30a)]),_0x3b5811(0x4,_0x1b6da8[_0x41826a(0x3a0)]),_0x3b5811(0x5,_0x1a49dd['Inject'](_0x1a49dd[_0x41826a(0x313)])),_0x3b5811(0x6,_0x1a49dd[_0x41826a(0x1af)](_0x476454[_0x41826a(0x352)])),_0x3b5811(0x7,_0x1a49dd[_0x41826a(0x201)])],_0xc029f2);var _0x315243=Object[_0x41826a(0x3ac)],_0x311c70=Object['getOwnPropertyDescriptor'],_0x4b9c65=(_0x2306f9,_0x37a694,_0x2f0519,_0x6f2505)=>{for(var _0x2995de=_0x6f2505>0x1?void 0x0:_0x6f2505?_0x311c70(_0x37a694,_0x2f0519):_0x37a694,_0x1262cf=_0x2306f9['length']-0x1,_0x439e99;_0x1262cf>=0x0;_0x1262cf--)(_0x439e99=_0x2306f9[_0x1262cf])&&(_0x2995de=(_0x6f2505?_0x439e99(_0x37a694,_0x2f0519,_0x2995de):_0x439e99(_0x2995de))||_0x2995de);return _0x6f2505&&_0x2995de&&_0x315243(_0x37a694,_0x2f0519,_0x2995de),_0x2995de;},_0x54205e=(_0x49f420,_0x46ea7c)=>(_0x20c032,_0x746867)=>_0x46ea7c(_0x20c032,_0x746867,_0x49f420);let _0x541713=class extends _0x1a49dd[_0x41826a(0x21f)]{constructor(_0x54a604){const _0xe3d056=_0x41826a;super(),this[_0xe3d056(0x1b9)]=_0x54a604,this[_0xe3d056(0x272)]();}[_0x41826a(0x272)](){const _0x3e3d27=_0x41826a;this[_0x3e3d27(0x27d)](this[_0x3e3d27(0x1b9)][_0x3e3d27(0x327)]['subscribe'](_0x2d1de2=>{const _0x18c122=_0x3e3d27;_0x2d1de2!=null&&_0x2d1de2[_0x18c122(0x1c2)]&&this[_0x18c122(0x1b9)][_0x18c122(0x29e)]({'show':!0x1});}));}};_0x541713=_0x4b9c65([_0x1a49dd[_0x41826a(0x1d4)](_0x1a49dd[_0x41826a(0x287)][_0x41826a(0x200)],_0x541713),_0x54205e(0x0,_0x476454[_0x41826a(0x206)])],_0x541713);var _0x3e6b14=Object[_0x41826a(0x3ac)],_0xa49d71=Object['getOwnPropertyDescriptor'],_0x3f7b5c=(_0x2e6233,_0x54e6cb,_0x2efdfc)=>_0x54e6cb in _0x2e6233?_0x3e6b14(_0x2e6233,_0x54e6cb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2efdfc}):_0x2e6233[_0x54e6cb]=_0x2efdfc,_0x45a874=(_0x3f6a71,_0x4d462c,_0x20a3ab,_0x1a771e)=>{const _0xbd3960=_0x41826a;for(var _0x25a3e0=_0x1a771e>0x1?void 0x0:_0x1a771e?_0xa49d71(_0x4d462c,_0x20a3ab):_0x4d462c,_0x235535=_0x3f6a71[_0xbd3960(0x2c9)]-0x1,_0x22e6d9;_0x235535>=0x0;_0x235535--)(_0x22e6d9=_0x3f6a71[_0x235535])&&(_0x25a3e0=(_0x1a771e?_0x22e6d9(_0x4d462c,_0x20a3ab,_0x25a3e0):_0x22e6d9(_0x25a3e0))||_0x25a3e0);return _0x1a771e&&_0x25a3e0&&_0x3e6b14(_0x4d462c,_0x20a3ab,_0x25a3e0),_0x25a3e0;},_0x4d8d12=(_0x36cee7,_0x27a923)=>(_0x24c4f9,_0x102085)=>_0x27a923(_0x24c4f9,_0x102085,_0x36cee7),_0xb5027d=(_0x266c4e,_0x2b5277,_0x46f361)=>_0x3f7b5c(_0x266c4e,_0x2b5277+'',_0x46f361);const _0x1c2cf8=_0x41826a(0x391);_0x569069[_0x41826a(0x253)]=class extends _0x1a49dd[_0x41826a(0x2eb)]{constructor(_0x12d336,_0x2e29ae,_0xc866b4){const _0x262b2b=_0x41826a;super(),this[_0x262b2b(0x1a4)]=_0x2e29ae,this['_renderManagerService']=_0xc866b4;}[_0x41826a(0x367)](_0x59f081){const _0x54c61b=_0x41826a;[[_0x569069[_0x54c61b(0x290)]],[_0x49975c],[_0x4e0a1f],[_0x2f1ca0],[_0x421437],[_0x4d205b[_0x54c61b(0x30d)]],[_0x541713],[_0x4d205b[_0x54c61b(0x3ab)],{'useClass':_0x4d205b['FetchHTTPImplementation']}],[_0x3b9149[_0x54c61b(0x266)],{'useClass':_0x38c316[_0x54c61b(0x3b2)]}],[_0x1a49dd['IAuthzIoService'],{'useClass':_0x38c316['AuthzIoHttpService']}],[_0x402642['IDialogService'],{'useClass':_0x3e1470}],[_0x379b59[_0x54c61b(0x258)],{'useClass':_0x38c316[_0x54c61b(0x375)]}]][_0x54c61b(0x202)](_0x1b9288=>_0x59f081['add'](_0x1b9288));}[_0x41826a(0x342)](){const _0x414eab=_0x41826a;[[_0xc029f2]][_0x414eab(0x202)](_0x42acf7=>{const _0x46a060=_0x414eab;this[_0x46a060(0x27d)](this[_0x46a060(0x278)]['registerRenderModule'](_0x1a49dd['UniverInstanceType']['UNIVER_SHEET'],_0x42acf7));});}},_0xb5027d(_0x569069[_0x41826a(0x253)],_0x41826a(0x26c),_0x1c2cf8),_0x569069[_0x41826a(0x253)]=_0x45a874([_0x1a49dd[_0x41826a(0x338)](_0x476454[_0x41826a(0x26e)]),_0x4d8d12(0x1,_0x1a49dd[_0x41826a(0x1af)](_0x1a49dd[_0x41826a(0x26f)])),_0x4d8d12(0x2,_0x1b6da8[_0x41826a(0x3a0)])],_0x569069[_0x41826a(0x253)]),_0x569069[_0x41826a(0x29a)]=_0x1a2680,Object[_0x41826a(0x3ac)](_0x569069,Symbol['toStringTag'],{'value':_0x41826a(0x379)});}));
|
|
1
|
+
function _0x2c86(){const _0x31d6b3=['VIRTUAL_VERSION_NOW','_diffs','Filter','HTTPService','useState','UNRECOGNIZED','M2.06678\x203.37926C2.0668\x201.94333\x203.23085\x200.779297\x204.66678\x200.779297H9.44256C10.1796\x200.779297\x2010.8821\x201.09213\x2011.3751\x201.63999L13.2659\x203.74079C13.6955\x204.21822\x2013.9333\x204.83779\x2013.9333\x205.4801V12.7126C13.9333\x2014.1486\x2012.7692\x2015.3126\x2011.3333\x2015.3126H4.66665C3.2307\x2015.3126\x202.06663\x2014.1486\x202.06665\x2012.7126L2.06678\x203.37926ZM4.66678\x201.9793C3.89359\x201.9793\x203.26679\x202.60609\x203.26678\x203.37928L3.26665\x2012.7126C3.26664\x2013.4858\x203.89344\x2014.1126\x204.66665\x2014.1126H11.3333C12.1065\x2014.1126\x2012.7333\x2013.4858\x2012.7333\x2012.7126V5.4801C12.7333\x205.44882\x2012.7322\x205.41764\x2012.7302\x205.3866H10.7985C9.91488\x205.3866\x209.19853\x204.67026\x209.19853\x203.78661V1.9793H4.66678ZM10.4832\x202.44275L12.0526\x204.1866H10.7985C10.5776\x204.1866\x2010.3985\x204.00752\x2010.3985\x203.78661V2.35649C10.4279\x202.38389\x2010.4561\x202.41266\x2010.4832\x202.44275Z','code','function','UniverEditHistoryViewerPlugin','Error','startRow','SetWorksheetStyle','className','_initPanel','_sidebarService','substring','active','range','commands','DeleteRow','register','loadingState','getVersions','editHistory.action.etc','_localeService','height','LocaleType','_cellEditorManagerService','_extractRanges','fetchThroughInterceptors','some','getMember','@univerjs/design','triggerRevert','ZH_CN','isArray','univer-version-item-header-time','_componentManager','concat','_compressMutationService','_versions$','currentVersion','scrollEvent$','VIEW_MAIN','univer-version-list-panel-content','versionItemHeaderRevert','TOO_MANY_REQUESTS','univer-active','SnapshotServerOverHTTPService','Starting','getMinutes','ImageIoService','rev','univer-version-item-header-time-tag','historyViewHeaderRevert','anonymous','1000','next','startColumn','SetRangeProtectionMutation','backgroundColor','pipe','UNIVER_SLIDE','SetWorksheetActiveOperation','display','_status$','APPLY_REJECT','fill','hideMask','Rendered','CONNECTOR_DATA_TOO_LARGE','setFilter','HideWorksheet','Comment','padStart','BehaviorSubject','MessageType','_permissionService','useDependency','CompressMutationService','createElement','startRevision','rxjs','2144540cZZDkJ','InsertColumn','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','editHistory.action.','PivotTable','all','disposeWithMe','_config','FromArray','versionItemHeaderTime','versionItemHeader','toStringTag','switchMap','Sort','permissionPointUpdate$','setState','then','_dialogOptions$','hasCommand','@univerjs/core','editHistory.panel.unknownUser','rect','call','_diffRangesMap','react','width','versionItem','exports','versionItemHeaderTimeTag','_removeDiffMarks','data','2861559iJdLjn','row','UniverSheetsUi','LocaleService','_lastPointer','7VdYOWY','close','_combineRanges','_currentVersion$','defineProperty','useObservable','versions','univer-version-item-content','children','_maskElement','propertyIsEnumerable','white','append','executeCommand','SetRangeValuesMutation','map','UniverSheetsConditionalFormatting','time','rule','UniverCollaboration','@univerjs-pro/collaboration','blockMeta','editHistory.panel.currentUser','extend','disposeUnit','InsertHyperlink','getDataRange','136EvlBPo','_commandService','IPermissionService','COMPLETION_FINISHED','dateString','add','_univerInstanceService','History','editHistory.action.revertSheetPrefix','left','currentVersionDiff$','createTime','Export','center','CreateWorksheet','status$','indexOf','showMask','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','RangeMergeUtil','DeleteSheet','SNAPSHOT_INVALID_SNAPSHOT','loadSheet','InsertColMutation','apply','SelectUnProtectedCells','triggerLoadSheet','YUUMI_URL_COL_OUT_OF_RANGE','COMPRESS_MUTATION_APPLY','interceptor','_getAPIPrefix','init','Duplicate','_configService','_initActiveSwitch','getCurrentVersion','univer-version-list-loading-icon','connectInjector','LifecycleStages','LICENSE_DISTRO_REJECTED','INVALID_ARGUMENT','Edit','getSheetObject','UNIVER_PROJECT','@univerjs/sheets-conditional-formatting','RevertRevisionMutation','_historyFetchService','getCurrent','ICommandService','memberId','parseProtocolChangeset','_themeService','useCallback','AddWorksheetMergeMutation','&lastLabel=','IUniverInstanceService','8758HIPwLo','Plugin','Print','_members','insertSheet','versionListLoadingIcon','WorkbookEditablePermission','editSheet','MoveSheet','_canRevert','univer-version-list-panel','@univerjs/sheets-filter','subscribeEvent','restore-single','registerComponent','getUnitId','_unitId$','IConfigService','RemoveNumfmtMutation','userId','#fff','restore-single_clip0_1247_2','subscribe','_updateDiffMarks','@univerjs/network','_init','column','syncExecuteCommand','univerjs-icon\x20univerjs-icon-','DeleteColumn','SetCellStyle','Loading','deleteProtection','has','CreateUnitMutation','defIds','ranges','replace','0\x200\x2016\x2016','url(#restore-single_clip0_1247_2)','push','MoveRangeMutation','editHistory.panel.revertConfirm','values','IUIPartsService','Inject','setCF','_confirmService','getElementById','IMessageService','_historyContainerId','univer-version-item-header-revert','DeleteWorksheetProtectionMutation','endColumn','object','onPointerMove$','editHistory.panel.currentVersion','setValue','transformSnapshotToWorkbookData','toString','APPLY_NON_SEQUENTIAL_REVISION','_versionDiffService','show','UNIVER_SHEET','_sidebarDisposable','canRevert','APPLY_PERMISSION_DENIED','IHTTPImplementation','filter','skeleton','removeSheet','entered','SNAPSHOT_HAS_BEEN_REMOVED','workbook','_initMaskContainer','UniverSheetsFilter','M7.17852\x201.82153C7.17852\x201.36781\x207.54633\x201\x208.00005\x201C11.866\x201\x2015\x204.13397\x2015\x207.99993C15\x2011.8659\x2011.866\x2014.9999\x208.00005\x2014.9999C4.1341\x2014.9999\x201.00012\x2011.8659\x201.00012\x207.99993C1.00012\x207.54621\x201.36793\x207.1784\x201.82165\x207.1784C2.27537\x207.1784\x202.64318\x207.54621\x202.64318\x207.99993C2.64318\x2010.9584\x205.04153\x2013.3568\x208.00005\x2013.3568C10.9586\x2013.3568\x2013.3569\x2010.9584\x2013.3569\x207.99993C13.3569\x205.04141\x2010.9586\x202.64306\x208.00005\x202.64306C7.54633\x202.64306\x207.17852\x202.27525\x207.17852\x201.82153Z','createUnit','editHistory.panel.revertDesc','revertRevision$','flat','_lastLabel','edit-history-viewer.config','loaded','getAncestorScale','versionListLoading','APPLY_REVISION_CONFILICT','RestoreSingle','[HistoryFetchService]:\x20request\x20snapshot\x20error!','IDialogService','UniverDesign','rgba(225,\x20225,\x20225,\x200.5)','addProtection','editHistory.action.revertSheetSuffix','UniverDrawing','getSheetBlock','position','color','RwHgtClWdt','unitId$','idSuffix','_context','split','Disposable','tag','onRendered','_renderManagerService','BuiltInUIPart','getOwnPropertySymbols','RecoverHistory','UniverDataValidation','ITransformService','UNAUTHENTICATED','PERMISSION_DENIED','currentVersion$','24px','error','div','querySelector','AddConditionalRuleMutation','currentSkeleton$','forwardRef','UniverIcon','_sheetSkeletonManagerService','Share','blocks','WorkbookRenameSheetPermission','MoveColsMutation','ViewFilter','INTERNAL_ERROR','Module','subType','78XPzvOJ','trim','Copy','Vector2','UNIVER_DOC','current','historyViewHeader','set','UpdateDataValidationMutation','assign','univer-version-item-header','value','forEach','xlink:href','SetRowStyle','getHours','EditExtraObject','DeleteRangeProtectionMutation','ISnapshotServerService','_createMask','UniverSheets','clsx','OnLifecycle','updatePermissionPoint','@univerjs/data-validation','get','cellValue','keys','8nVvYHp','LICENSE_EXPORT_SIZE_EXCEEDED','IRenderManagerService','createSheet','triggerLoadVersions','_messageService','editHistory.panel.title','unitId','FetchHTTPImplementation','string','CopySheet','_historyManagerService','SelectProtectedCells','exited','_initRender','_loadingState$','Init','UNIVER_UNKNOWN','MoveWorksheet','HISTORY_LIST_SERVER_URL','back-single','Loaded','useRef','100%','ViemRwHgtClWdt','/list?length=20','find','mutations','M6.42416\x204.42417C6.65847\x204.18985\x206.65847\x203.80995\x206.42416\x203.57564C6.18984\x203.34132\x205.80994\x203.34132\x205.57563\x203.57564L1.57564\x207.57564C1.34132\x207.80995\x201.34132\x208.18985\x201.57564\x208.42417L5.57563\x2012.4242C5.80994\x2012.6585\x206.18984\x2012.6585\x206.42416\x2012.4242C6.65847\x2012.1899\x206.65847\x2011.81\x206.42416\x2011.5756L3.44843\x208.5999H14C14.3314\x208.5999\x2014.6\x208.33127\x2014.6\x207.9999C14.6\x207.66853\x2014.3314\x207.3999\x2014\x207.3999H3.44843L6.42416\x204.42417Z','sheet','EditWorksheetCell','hidden','m-auto\x20animate-spin360','univer-version-date','Info','asObservable','hasOwnProperty','name','from','React','_getActiveSubUnitId','_fetching','_currentVersionDiff$','RenameWorksheet','@univerjs/sheets-ui','random','Tooltip','univer-history-view-header-revert','LICENSE_IMPORT_SIZE_EXCEEDED','Exited','SetConditionalRuleMutation','_workbookDataCache','registerRenderModule','1218305rnhAuH','@univerjs/ui','style','block','subUnitId','now','sheetId','prototype','Button','recoverTime','_revertRevision$','flex','debounce','loadingState$','symbol','MoveRowsMutation','ALREADY_EXISTS','ManageCollaborator','_maskContainer','primary','SetColumnStyle','1em','DeleteWorksheet','top','HistoryModeStatus','onMouseMove','/universer-api/history','_createUnit','users','_uiPartsService','m1Prime','evenodd','Steady','NOT_FOUND','length','versions$','editHistory.info.loading','open','toISOString','Fragment','YUUMI_SUBSCRIPTION_NOT_FOUND','SheetCollabCursorShape','AuthzIoHttpService','UniverSheetsUIPlugin','239440FhPlDW','UniverInstanceType','attrs','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','path','SheetSkeletonManagerService','UniverCollaborationClient','InsertRow','isTransformMutationsSuccess','none','setFrozen','loadMoreVersions','_injector','closeAll','params',':\x20(','getCurrentLocale','74074uqAJui','9969BdGrJF','_updateVersions','HideSheet','reduce','Delete','icon','findAllRectangle','_httpService','versionListPanelContent','getViewport','_transformService','getUnitOnRev','getRelativeToViewportCoord','setConfig','colorChannel1','parse','getCoordByCell','LICENSE_MAX_UNITS_EXCEEDED','_hasMore','SetCellValue','ComponentManager','displayName','IImageIoService','entries','history-mask','pluginName','includes','span','getOwnPropertyDescriptor','svg','dispose','_loadingMessage','rules','action','FloatImg','confirm','date','currentColor','_transformMutationByOrder','Injector','loading','revertSheet','status','zIndex','CreateSheet','HistoryManagerService','defs','AddDataValidationMutation','_snapshotServerService','userID','ViewHistory','InsertSheetMutation','getVersion','YUUMI_RATE_OVER_LIMIT','getDialogs$','ISidebarService','SetSheetsFilterRangeMutation','RemoveSheetMutation','endRow','@univerjs/engine-render','absolute','YUUMI_UNABLE_LOAD_URL','DisposableCollection','View','12kkYvqp'];_0x2c86=function(){return _0x31d6b3;};return _0x2c86();}function _0x3675(_0x24407e,_0x2e4c06){const _0x2c86ec=_0x2c86();return _0x3675=function(_0x367550,_0x509f){_0x367550=_0x367550-0xe9;let _0x52aae2=_0x2c86ec[_0x367550];return _0x52aae2;},_0x3675(_0x24407e,_0x2e4c06);}(function(_0x5f1c31,_0x2b2c4b){const _0x7de3e9=_0x3675,_0x5827a6=_0x5f1c31();while(!![]){try{const _0x54458c=-parseInt(_0x7de3e9(0x284))/0x1*(parseInt(_0x7de3e9(0x2d7))/0x2)+parseInt(_0x7de3e9(0x1cb))/0x3*(parseInt(_0x7de3e9(0x29f))/0x4)+-parseInt(_0x7de3e9(0x1b9))/0x5+parseInt(_0x7de3e9(0x13c))/0x6*(parseInt(_0x7de3e9(0x1ca))/0x7)+-parseInt(_0x7de3e9(0x158))/0x8*(-parseInt(_0x7de3e9(0x27f))/0x9)+-parseInt(_0x7de3e9(0x260))/0xa+-parseInt(_0x7de3e9(0x18d))/0xb*(parseInt(_0x7de3e9(0x20b))/0xc);if(_0x54458c===_0x2b2c4b)break;else _0x5827a6['push'](_0x5827a6['shift']());}catch(_0x478c41){_0x5827a6['push'](_0x5827a6['shift']());}}}(_0x2c86,0x2838d),function(_0x1ea4a1,_0x4e92dc){const _0x1ed3ac=_0x3675;typeof exports==_0x1ed3ac(0xee)&&typeof module<'u'?_0x4e92dc(exports,require(_0x1ed3ac(0x273)),require('@univerjs-pro/collaboration-client'),require(_0x1ed3ac(0x2ef)),require(_0x1ed3ac(0x18e)),require(_0x1ed3ac(0x206)),require(_0x1ed3ac(0x184)),require('@univerjs/drawing'),require(_0x1ed3ac(0x298)),require(_0x1ed3ac(0x25f)),require(_0x1ed3ac(0x22d)),require('@univerjs/sheets'),require(_0x1ed3ac(0x2e2)),require(_0x1ed3ac(0x154)),require(_0x1ed3ac(0x2cb)),require(_0x1ed3ac(0x278)),require(_0x1ed3ac(0x151))):typeof define==_0x1ed3ac(0x214)&&define['amd']?define([_0x1ed3ac(0x27b),_0x1ed3ac(0x273),'@univerjs-pro/collaboration-client',_0x1ed3ac(0x2ef),_0x1ed3ac(0x18e),_0x1ed3ac(0x206),_0x1ed3ac(0x184),'@univerjs/drawing',_0x1ed3ac(0x298),_0x1ed3ac(0x25f),_0x1ed3ac(0x22d),'@univerjs/sheets',_0x1ed3ac(0x2e2),_0x1ed3ac(0x154),_0x1ed3ac(0x2cb),'react','clsx'],_0x4e92dc):(_0x1ea4a1=typeof globalThis<'u'?globalThis:_0x1ea4a1||self,_0x4e92dc(_0x1ea4a1['UniverEditHistoryViewer']={},_0x1ea4a1['UniverCore'],_0x1ea4a1[_0x1ed3ac(0x1bf)],_0x1ea4a1['UniverNetwork'],_0x1ea4a1['UniverUi'],_0x1ea4a1['UniverEngineRender'],_0x1ea4a1[_0x1ed3ac(0x281)],_0x1ea4a1[_0x1ed3ac(0x116)],_0x1ea4a1[_0x1ed3ac(0x297)],_0x1ea4a1[_0x1ed3ac(0x25f)],_0x1ea4a1[_0x1ed3ac(0x112)],_0x1ea4a1[_0x1ed3ac(0x150)],_0x1ea4a1[_0x1ed3ac(0x103)],_0x1ea4a1[_0x1ed3ac(0x126)],_0x1ea4a1[_0x1ed3ac(0x294)],_0x1ea4a1[_0x1ed3ac(0x17f)],_0x1ea4a1[_0x1ed3ac(0x151)]));}(this,function(_0x2f8b75,_0x3bd68c,_0x4ef0ae,_0x55e4cf,_0xed5edc,_0x580b3d,_0x5991dd,_0x113e3c,_0x514835,_0x311b85,_0x5c85d1,_0x3e6093,_0x3ce115,_0x2a47b4,_0x12fc38,_0x428452,_0x3138e5){'use strict';const _0x53738a=_0x3675;var _0x2b2711=Object[_0x53738a(0x288)],_0x29f135=(_0x364234,_0x2ff3f5,_0x3009bf)=>_0x2ff3f5 in _0x364234?_0x2b2711(_0x364234,_0x2ff3f5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3009bf}):_0x364234[_0x2ff3f5]=_0x3009bf,_0x213de6=(_0x591403,_0x3c2884,_0x5d3dbd)=>_0x29f135(_0x591403,typeof _0x3c2884!=_0x53738a(0x19b)?_0x3c2884+'':_0x3c2884,_0x5d3dbd);const _0x1dd94f=(_0x5f5ae0,_0x599770)=>{const _0x550808=_0x53738a;if(!_0x5f5ae0)return{'date':'','time':''};const _0x415d37=new Date(_0x5f5ae0),_0x3d29ce=_0x415d37[_0x550808(0x1b3)]()['split']('T')[0x0];switch(_0x599770){case _0x3bd68c[_0x550808(0x227)][_0x550808(0x22f)]:return{'date':_0xb1ce92(_0x3d29ce,_0x599770),'time':_0x415d37[_0x550808(0x14b)]()+':'+String(_0x415d37[_0x550808(0x23f)]())[_0x550808(0x257)](0x2,'0')};default:return{'date':_0xb1ce92(_0x3d29ce,_0x599770),'time':_0x415d37['getHours']()+':'+_0x415d37[_0x550808(0x23f)]()};}},_0x5d8cfc=(_0x535f82,_0x23132a)=>{const _0x5b32e3=_0x53738a,_0x642362=_0x535f82['user']||_0x23132a['t'](_0x5b32e3(0x274));if(_0x535f82['commands'][_0x5b32e3(0x22b)](_0x643ae5=>_0x643ae5===_0x514835[_0x5b32e3(0x2cc)]['id'])&&_0x535f82[_0x5b32e3(0x196)]){const _0xf81d8=_0x1dd94f(_0x535f82[_0x5b32e3(0x196)],_0x23132a['getCurrentLocale']()),_0x4f2064=_0xf81d8[_0x5b32e3(0x1ef)]+'\x20'+_0xf81d8[_0x5b32e3(0x295)];return _0x642362+'\x20'+_0x23132a['t'](_0x5b32e3(0x2a7))+'\x20'+_0x4f2064+'\x20'+_0x23132a['t'](_0x5b32e3(0x115));}const _0xee9dd0=_0x3907b7(_0x535f82),_0x279c7a=_0xee9dd0[_0x5b32e3(0x1af)]===0x1?_0x23132a['t'](_0xee9dd0[0x0]):''+_0x23132a['t'](_0xee9dd0[0x0])+_0x23132a['t'](_0x5b32e3(0x224));return _0x642362+'\x20'+_0x279c7a;};function _0x3907b7(_0x4fc521){const _0x1cfa96=_0x53738a;if(_0x4fc521[_0x1cfa96(0x21f)][_0x1cfa96(0x1af)]===0x0)return[''];const _0x487c62=_0x1cfa96(0x263),_0x179fee=_0x487c62+_0x1cfa96(0x2de),_0x3ca2a8=[{'id':_0x514835[_0x1cfa96(0x2f9)]['id'],'action':_0x487c62+_0x1cfa96(0x15b)},{'id':_0x514835[_0x1cfa96(0x2cc)]['id'],'action':_0x487c62+_0x1cfa96(0x1f4)},{'id':_0x3e6093[_0x1cfa96(0x1fe)]['id'],'action':_0x487c62+_0x1cfa96(0x2db)},{'id':_0x3e6093['RemoveSheetMutation']['id'],'action':_0x487c62+_0x1cfa96(0xfe)},{'id':_0x3e6093['SetFrozenMutation']['id'],'action':_0x487c62+_0x1cfa96(0x1c3)},{'id':_0x3ce115[_0x1cfa96(0x203)]['id'],'action':_0x487c62+_0x1cfa96(0x254)},{'id':_0x2a47b4[_0x1cfa96(0x1fa)]['id'],'action':_0x487c62+'setDV'},{'id':_0x2a47b4[_0x1cfa96(0x144)]['id'],'action':_0x487c62+'setDV'},{'id':_0x12fc38[_0x1cfa96(0x18a)]['id'],'action':_0x487c62+'setCF'},{'id':_0x12fc38[_0x1cfa96(0x12f)]['id'],'action':_0x487c62+_0x1cfa96(0x305)},{'id':_0x3e6093['AddWorksheetProtectionMutation']['id'],'action':_0x487c62+'addProtection'},{'id':_0x3e6093['AddRangeProtectionMutation']['id'],'action':_0x487c62+_0x1cfa96(0x114)},{'id':_0x3e6093[_0x1cfa96(0x14d)]['id'],'action':_0x487c62+_0x1cfa96(0x2f7)},{'id':_0x3e6093[_0x1cfa96(0xec)]['id'],'action':_0x487c62+_0x1cfa96(0x2f7)}]['filter'](_0x1fa7e5=>_0x4fc521['commands'][_0x1cfa96(0x1e5)](_0x1fa7e5['id']));return _0x3ca2a8!=null&&_0x3ca2a8[_0x1cfa96(0x1af)]?_0x3ca2a8[_0x1cfa96(0x293)](_0x220d94=>_0x220d94[_0x1cfa96(0x1ec)]):[_0x179fee];}function _0xb1ce92(_0x45d998,_0x4fc992){const _0x28bd5f=_0x53738a,[_0x193e8b,_0x28990b,_0x5bae59]=new Date()[_0x28bd5f(0x1b3)]()[_0x28bd5f(0x11e)]('T')[0x0][_0x28bd5f(0x11e)]('-'),[_0x2b4b4b,_0x23bb32,_0x5ebfd9]=_0x45d998[_0x28bd5f(0x11e)]('-'),_0x5968b2=_0x193e8b===_0x2b4b4b&&_0x28990b===_0x23bb32&&_0x5bae59===_0x5ebfd9;let _0x33d19d='',_0x1f77a0='',_0x24c2df='';switch(_0x4fc992){case _0x3bd68c[_0x28bd5f(0x227)]['ZH_CN']:return _0x5968b2?'今天':(_0x33d19d=_0x193e8b===_0x2b4b4b?'':_0x2b4b4b+'年',_0x1f77a0=_0x23bb32+'月',_0x24c2df=_0x5ebfd9+'日',''+_0x33d19d+_0x1f77a0+_0x24c2df);default:return _0x5968b2?'Today':(_0x33d19d=_0x193e8b===_0x2b4b4b?'':_0x2b4b4b+'-',_0x1f77a0=_0x23bb32+'-',_0x24c2df=''+_0x5ebfd9,''+_0x33d19d+_0x1f77a0+_0x24c2df);}}function _0x34c3db(_0x241b60){const _0x3ab5a5=_0x53738a;return _0x241b60?_0x241b60[_0x3ab5a5(0x1ce)]((_0x4a901f,_0xaa7d3)=>{const _0x416585=_0x3ab5a5,_0x3c5b30=new Date(_0xaa7d3['time'])[_0x416585(0x1b3)]()['split']('T')[0x0];return _0x4a901f['length']>0x0&&_0x4a901f[_0x4a901f[_0x416585(0x1af)]-0x1][_0x416585(0x2a3)]===_0x3c5b30?_0x4a901f[_0x4a901f[_0x416585(0x1af)]-0x1][_0x416585(0x28a)][_0x416585(0x2ff)](_0xaa7d3):_0x4a901f[_0x416585(0x2ff)]({'dateString':_0x3c5b30,'versions':[_0xaa7d3]}),_0x4a901f;},[]):[];}var _0x81eb22=(_0x1bedc5=>(_0x1bedc5[_0x1bedc5['UNDEFINED']=0x0]='UNDEFINED',_0x1bedc5[_0x1bedc5['OK']=0x1]='OK',_0x1bedc5[_0x1bedc5['INTERNAL_ERROR']=0x2]=_0x53738a(0x139),_0x1bedc5[_0x1bedc5['PERMISSION_DENIED']=0x3]=_0x53738a(0x129),_0x1bedc5[_0x1bedc5[_0x53738a(0x1ae)]=0x4]='NOT_FOUND',_0x1bedc5[_0x1bedc5['UNAUTHENTICATED']=0x5]=_0x53738a(0x128),_0x1bedc5[_0x1bedc5[_0x53738a(0x19d)]=0x6]=_0x53738a(0x19d),_0x1bedc5[_0x1bedc5['INVALID_ARGUMENT']=0x7]=_0x53738a(0x2c7),_0x1bedc5[_0x1bedc5[_0x53738a(0x23b)]=0x8]=_0x53738a(0x23b),_0x1bedc5[_0x1bedc5[_0x53738a(0x2a2)]=0x9]='COMPLETION_FINISHED',_0x1bedc5[_0x1bedc5['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x1bedc5[_0x1bedc5[_0x53738a(0x2b4)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x1bedc5[_0x1bedc5['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x53738a(0x100),_0x1bedc5[_0x1bedc5[_0x53738a(0x24f)]=0x1b59]='APPLY_REJECT',_0x1bedc5[_0x1bedc5[_0x53738a(0xf4)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x1bedc5[_0x1bedc5[_0x53738a(0x10e)]=0x1b5b]=_0x53738a(0x10e),_0x1bedc5[_0x1bedc5[_0x53738a(0xfa)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x1bedc5[_0x1bedc5[_0x53738a(0x253)]=0x1f41]=_0x53738a(0x253),_0x1bedc5[_0x1bedc5[_0x53738a(0x1dc)]=0x2329]=_0x53738a(0x1dc),_0x1bedc5[_0x1bedc5['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x53738a(0x262),_0x1bedc5[_0x1bedc5[_0x53738a(0x188)]=0x232b]=_0x53738a(0x188),_0x1bedc5[_0x1bedc5[_0x53738a(0x159)]=0x232c]=_0x53738a(0x159),_0x1bedc5[_0x1bedc5[_0x53738a(0x2c6)]=0x232d]=_0x53738a(0x2c6),_0x1bedc5[_0x1bedc5['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x53738a(0x208),_0x1bedc5[_0x1bedc5[_0x53738a(0x2ba)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x1bedc5[_0x1bedc5[_0x53738a(0x200)]=0x2713]=_0x53738a(0x200),_0x1bedc5[_0x1bedc5['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x53738a(0x1b5),_0x1bedc5[_0x1bedc5[_0x53738a(0x211)]=-0x1]=_0x53738a(0x211),_0x1bedc5))(_0x81eb22||{});function _0x11348a(_0x59f0bb){const _0x296d29=_0x53738a;return!!(_0x59f0bb&&_0x59f0bb['code']&&_0x59f0bb['code']!==_0x81eb22['OK']&&_0x59f0bb[_0x296d29(0x213)]!=='OK');}var _0x136ea1=(_0x51de59=>(_0x51de59[_0x51de59['UNIVER_UNKNOWN']=0x0]=_0x53738a(0x169),_0x51de59[_0x51de59[_0x53738a(0x140)]=0x1]=_0x53738a(0x140),_0x51de59[_0x51de59[_0x53738a(0xf7)]=0x2]='UNIVER_SHEET',_0x51de59[_0x51de59[_0x53738a(0x24b)]=0x3]=_0x53738a(0x24b),_0x51de59[_0x51de59['UNIVER_PROJECT']=0x4]=_0x53738a(0x2ca),_0x51de59[_0x51de59[_0x53738a(0x211)]=-0x1]='UNRECOGNIZED',_0x51de59))(_0x136ea1||{}),_0x4829df=(_0x241320=>(_0x241320[_0x241320[_0x53738a(0x20a)]=0x0]=_0x53738a(0x20a),_0x241320[_0x241320[_0x53738a(0x2c8)]=0x1]=_0x53738a(0x2c8),_0x241320[_0x241320[_0x53738a(0x19e)]=0x2]='ManageCollaborator',_0x241320[_0x241320[_0x53738a(0x2d9)]=0x3]=_0x53738a(0x2d9),_0x241320[_0x241320[_0x53738a(0x2bf)]=0x4]=_0x53738a(0x2bf),_0x241320[_0x241320['Comment']=0x5]=_0x53738a(0x256),_0x241320[_0x241320[_0x53738a(0x13e)]=0x6]=_0x53738a(0x13e),_0x241320[_0x241320[_0x53738a(0x134)]=0x7]=_0x53738a(0x134),_0x241320[_0x241320['Export']=0x8]=_0x53738a(0x2ab),_0x241320[_0x241320[_0x53738a(0x16a)]=0x9]=_0x53738a(0x16a),_0x241320[_0x241320[_0x53738a(0x1a3)]=0xa]=_0x53738a(0x1a3),_0x241320[_0x241320[_0x53738a(0x255)]=0xb]=_0x53738a(0x255),_0x241320[_0x241320['RenameWorksheet']=0xc]=_0x53738a(0x183),_0x241320[_0x241320[_0x53738a(0x2ad)]=0xd]='CreateWorksheet',_0x241320[_0x241320[_0x53738a(0x218)]=0xe]=_0x53738a(0x218),_0x241320[_0x241320[_0x53738a(0x176)]=0xf]='EditWorksheetCell',_0x241320[_0x241320[_0x53738a(0x29d)]=0x10]=_0x53738a(0x29d),_0x241320[_0x241320['Sort']=0x11]=_0x53738a(0x26d),_0x241320[_0x241320[_0x53738a(0x20e)]=0x12]='Filter',_0x241320[_0x241320[_0x53738a(0x264)]=0x13]=_0x53738a(0x264),_0x241320[_0x241320[_0x53738a(0x1ed)]=0x14]='FloatImg',_0x241320[_0x241320[_0x53738a(0x2a6)]=0x15]='History',_0x241320[_0x241320[_0x53738a(0x11a)]=0x16]=_0x53738a(0x11a),_0x241320[_0x241320[_0x53738a(0x170)]=0x17]='ViemRwHgtClWdt',_0x241320[_0x241320[_0x53738a(0x138)]=0x18]=_0x53738a(0x138),_0x241320[_0x241320[_0x53738a(0x2df)]=0x19]='MoveSheet',_0x241320[_0x241320[_0x53738a(0x2b3)]=0x1a]=_0x53738a(0x2b3),_0x241320[_0x241320['HideSheet']=0x1b]=_0x53738a(0x1cd),_0x241320[_0x241320[_0x53738a(0x162)]=0x1c]=_0x53738a(0x162),_0x241320[_0x241320['RenameSheet']=0x1d]='RenameSheet',_0x241320[_0x241320[_0x53738a(0x1f7)]=0x1e]=_0x53738a(0x1f7),_0x241320[_0x241320[_0x53738a(0x164)]=0x1f]=_0x53738a(0x164),_0x241320[_0x241320[_0x53738a(0x2b8)]=0x20]=_0x53738a(0x2b8),_0x241320[_0x241320[_0x53738a(0x2f5)]=0x21]='SetCellStyle',_0x241320[_0x241320[_0x53738a(0x1de)]=0x22]=_0x53738a(0x1de),_0x241320[_0x241320[_0x53738a(0x14a)]=0x23]=_0x53738a(0x14a),_0x241320[_0x241320[_0x53738a(0x1a1)]=0x24]=_0x53738a(0x1a1),_0x241320[_0x241320[_0x53738a(0x1c0)]=0x25]='InsertRow',_0x241320[_0x241320[_0x53738a(0x261)]=0x26]=_0x53738a(0x261),_0x241320[_0x241320['DeleteRow']=0x27]=_0x53738a(0x220),_0x241320[_0x241320[_0x53738a(0x2f4)]=0x28]=_0x53738a(0x2f4),_0x241320[_0x241320['EditExtraObject']=0x29]=_0x53738a(0x14c),_0x241320[_0x241320[_0x53738a(0x1cf)]=0x2a]='Delete',_0x241320[_0x241320['RecoverHistory']=0x2b]=_0x53738a(0x125),_0x241320[_0x241320['ViewHistory']=0x2c]=_0x53738a(0x1fd),_0x241320[_0x241320[_0x53738a(0x211)]=-0x1]=_0x53738a(0x211),_0x241320))(_0x4829df||{}),_0x1acc65=Object[_0x53738a(0x288)],_0x318837=Object['getOwnPropertyDescriptor'],_0x37a132=(_0x3564b3,_0x50195c,_0x140de3,_0x1ebf3)=>{const _0x156461=_0x53738a;for(var _0x1987f0=_0x1ebf3>0x1?void 0x0:_0x1ebf3?_0x318837(_0x50195c,_0x140de3):_0x50195c,_0x118eb7=_0x3564b3[_0x156461(0x1af)]-0x1,_0x43968b;_0x118eb7>=0x0;_0x118eb7--)(_0x43968b=_0x3564b3[_0x118eb7])&&(_0x1987f0=(_0x1ebf3?_0x43968b(_0x50195c,_0x140de3,_0x1987f0):_0x43968b(_0x1987f0))||_0x1987f0);return _0x1ebf3&&_0x1987f0&&_0x1acc65(_0x50195c,_0x140de3,_0x1987f0),_0x1987f0;},_0x317624=(_0x26effa,_0x70df8d)=>(_0x2f69d2,_0x442686)=>_0x70df8d(_0x2f69d2,_0x442686,_0x26effa);const _0xc3ff54=_0x53738a(0x16b),_0x3970af=_0x53738a(0x1a7);let _0x401289=class extends _0x3bd68c[_0x53738a(0x11f)]{constructor(_0x479c7c,_0x26df13,_0x2b7b7c,_0x2c37b5,_0x56f2ec,_0x363371){const _0x3f0526=_0x53738a;super(),_0x213de6(this,_0x3f0526(0x18b),new Map()),(this[_0x3f0526(0x1fb)]=_0x479c7c,this[_0x3f0526(0x2a5)]=_0x26df13,this[_0x3f0526(0x2a0)]=_0x2b7b7c,this[_0x3f0526(0x2c0)]=_0x2c37b5,this[_0x3f0526(0x1d2)]=_0x56f2ec,this[_0x3f0526(0x234)]=_0x363371);}[_0x53738a(0x1e9)](){const _0x4da100=_0x53738a;this[_0x4da100(0x18b)]['clear'](),super[_0x4da100(0x1e9)]();}async[_0x53738a(0x223)](_0x59ddc2,_0x562796){const _0x1f4643=_0x53738a,_0x513143=this[_0x1f4643(0x2bd)]()+'/'+_0x59ddc2+_0x1f4643(0x171)+(_0x562796?_0x1f4643(0x2d5)+_0x562796:'');try{const _0x2dc0db=(await this[_0x1f4643(0x1d2)][_0x1f4643(0x155)](_0x513143))['body'];if(_0x2dc0db&&_0x2dc0db[_0x1f4643(0x12c)]&&_0x2dc0db[_0x1f4643(0x12c)][_0x1f4643(0x213)]===_0x81eb22['OK']){const {hasMore:_0x21578e,lastLabel:_0x1612b3}=_0x2dc0db,_0x823668=_0x39f208(_0x2dc0db),_0x22ee27=_0x2dc0db['entities'][_0x1f4643(0x1a9)];return{'hasMore':_0x21578e,'lastLabel':_0x1612b3,'versions':_0x823668,'members':_0x22ee27};}}catch(_0x734ffb){console[_0x1f4643(0x12c)](_0x734ffb);}return null;}[_0x53738a(0x2bd)](){const _0x353295=_0x53738a;var _0x15efce;return(_0x15efce=this[_0x353295(0x2c0)]['getConfig'](_0xc3ff54))!=null?_0x15efce:_0x3970af;}async['loadSheet'](_0xb0f288,_0x14f963,_0x8b7f8d){const _0x1165fc=_0x53738a;var _0x3c477a,_0x5da72d;_0x8b7f8d===void 0x0&&(_0x8b7f8d={}),this[_0x1165fc(0x18b)]['has'](_0xb0f288)||this[_0x1165fc(0x18b)][_0x1165fc(0x143)](_0xb0f288,new Map());const {snapshot:_0x243bd3,changesets:_0xe851be,error:_0x3663d5}=await this[_0x1165fc(0x1fb)][_0x1165fc(0x1d6)](_0x8b7f8d,{'unitID':_0xb0f288,'type':_0x136ea1['UNIVER_SHEET'],'revision':_0x14f963});if(_0x11348a(_0x3663d5)||!_0x243bd3||!_0x243bd3[_0x1165fc(0x101)])throw new Error(_0x1165fc(0x110));const _0x403e9c=(_0x3c477a=_0xe851be==null?void 0x0:_0xe851be[_0x1165fc(0x1af)])!=null?_0x3c477a:0x0;if(_0x14f963!==0x0&&_0x243bd3[_0x1165fc(0x241)]+_0x403e9c!==_0x14f963)throw new Error(_0x1165fc(0x1bc));const {workbook:_0x28fcf7}=_0x243bd3,_0x2af2ed=_0x28fcf7[_0x1165fc(0x299)]?Object[_0x1165fc(0x1e2)](_0x28fcf7['blockMeta'])[_0x1165fc(0x293)](([_0x1adc64,_0x5ae3d7])=>{const _0x58ca24=_0x1165fc;var _0x1a20d1,_0x202891;return(_0x202891=(_0x1a20d1=_0x5ae3d7[_0x58ca24(0x135)])==null?void 0x0:_0x1a20d1[_0x58ca24(0x293)](_0x51386a=>_0x51386a))!=null?_0x202891:[];})[_0x1165fc(0x108)]():[],_0x704525=(await Promise[_0x1165fc(0x265)](_0x2af2ed[_0x1165fc(0x293)](_0x5c158d=>this[_0x1165fc(0x1fb)][_0x1165fc(0x117)](_0x8b7f8d,{'unitID':_0xb0f288,'type':_0x136ea1[_0x1165fc(0xf7)],'blockID':_0x5c158d})[_0x1165fc(0x270)](_0x2b5129=>_0x2b5129[_0x1165fc(0x190)]))))['filter'](_0xb7debd=>!!_0xb7debd),_0x460e00=_0x514835[_0x1165fc(0xf2)](_0x243bd3,_0x704525,_0x8b7f8d);return(_0x5da72d=this[_0x1165fc(0x18b)][_0x1165fc(0x155)](_0xb0f288))==null||_0x5da72d[_0x1165fc(0x143)](_0x14f963,{'workbook':_0x460e00}),new Promise(_0x14754f=>{const _0x4e3dec=_0x1165fc,_0x42335d=this[_0x4e3dec(0x2a5)]['getCurrentUnitForType'](_0x3bd68c[_0x4e3dec(0x1ba)][_0x4e3dec(0xf7)]);_0x42335d?(this['_univerInstanceService'][_0x4e3dec(0x29c)](_0x42335d[_0x4e3dec(0x2e6)]()),setTimeout(()=>{const _0x412459=_0x4e3dec;this[_0x412459(0x1a8)](_0x460e00,_0xe851be),_0x14754f(!0x0);},0x0)):(this[_0x4e3dec(0x1a8)](_0x460e00,_0xe851be),_0x14754f(!0x0));});}[_0x53738a(0x1a8)](_0x17050c,_0xc090){const _0x1cffa6=_0x53738a,_0x1a8ee3=this[_0x1cffa6(0x2a5)][_0x1cffa6(0x105)](_0x3bd68c[_0x1cffa6(0x1ba)][_0x1cffa6(0xf7)],_0x17050c);this[_0x1cffa6(0x2a5)]['focusUnit'](_0x1a8ee3[_0x1cffa6(0x2e6)]());const _0x4f65ed=this[_0x1cffa6(0x234)][_0x1cffa6(0x2bc)][_0x1cffa6(0x22a)](this[_0x1cffa6(0x234)][_0x1cffa6(0x2bc)]['getInterceptPoints']()[_0x1cffa6(0x2bb)]);return _0xc090==null||_0xc090[_0x1cffa6(0x148)](_0x1e1918=>{const _0x55a303=_0x1cffa6,_0x540c97=_0x1e1918[_0x55a303(0x173)][_0x55a303(0x293)](_0x2972a5=>({'id':_0x2972a5['id'],'params':JSON[_0x55a303(0x1da)](_0x2972a5[_0x55a303(0x27e)])}));({..._0x1e1918,'mutations':_0x4f65ed(_0x540c97,null)||_0x540c97}['mutations']['forEach'](_0x53f2a4=>{const _0x4a0eea=_0x55a303;this[_0x4a0eea(0x2a0)][_0x4a0eea(0x272)](_0x53f2a4['id'])&&this[_0x4a0eea(0x2a0)][_0x4a0eea(0x2f2)](_0x53f2a4['id'],_0x53f2a4[_0x4a0eea(0x1c7)]);}));}),_0x1a8ee3;}};_0x401289=_0x37a132([_0x317624(0x0,_0x514835[_0x53738a(0x14e)]),_0x317624(0x1,_0x3bd68c[_0x53738a(0x2d6)]),_0x317624(0x2,_0x3bd68c[_0x53738a(0x2cf)]),_0x317624(0x3,_0x3bd68c[_0x53738a(0x2e8)]),_0x317624(0x4,_0x3bd68c[_0x53738a(0x304)](_0x55e4cf[_0x53738a(0x20f)])),_0x317624(0x5,_0x3bd68c[_0x53738a(0x304)](_0x514835[_0x53738a(0x25c)]))],_0x401289);function _0x39f208(_0x551752){const _0x40ef38=_0x53738a;var _0xc3d3c9,_0x550ccb;const _0x565863=[],{entities:_0xd95311,historyIds:_0x16707}=_0x551752,{datas:_0x2254a3,users:_0x2dcc22}=_0xd95311;for(const _0x1cdf2a of _0x16707)if(_0x2254a3[_0x1cdf2a]){const _0x1bb14a=!!((_0xc3d3c9=_0x2dcc22[_0x2254a3[_0x1cdf2a][_0x40ef38(0x2ea)]])!=null&&_0xc3d3c9[_0x40ef38(0x244)]);_0x565863[_0x40ef38(0x2ff)]({'unitId':_0x2254a3[_0x1cdf2a][_0x40ef38(0x15f)],'user':_0x1bb14a?'':((_0x550ccb=_0x2dcc22==null?void 0x0:_0x2dcc22[_0x2254a3[_0x1cdf2a][_0x40ef38(0x2ea)]])==null?void 0x0:_0x550ccb[_0x40ef38(0x17d)])||'','isAnonymous':_0x1bb14a,'id':_0x1cdf2a,'time':_0x2254a3[_0x1cdf2a][_0x40ef38(0x2aa)]?Number(_0x2254a3[_0x1cdf2a][_0x40ef38(0x2aa)]):void 0x0,'commands':_0x2254a3[_0x1cdf2a]['command'],'startRev':Number(_0x2254a3[_0x1cdf2a][_0x40ef38(0x25e)]),'endRev':Number(_0x2254a3[_0x1cdf2a]['endRevision']),'recoverTime':_0x2254a3[_0x1cdf2a][_0x40ef38(0x196)]?Number(_0x2254a3[_0x1cdf2a]['recoverTime']):void 0x0});}return _0x565863;}var _0x4808d8=Object['defineProperty'],_0x45c141=Object[_0x53738a(0x1e7)],_0x30733d=(_0x436c4d,_0x2981e7,_0x26535b,_0x7d2c38)=>{const _0xb5aac9=_0x53738a;for(var _0x39c9a1=_0x7d2c38>0x1?void 0x0:_0x7d2c38?_0x45c141(_0x2981e7,_0x26535b):_0x2981e7,_0x12340c=_0x436c4d[_0xb5aac9(0x1af)]-0x1,_0x8977a4;_0x12340c>=0x0;_0x12340c--)(_0x8977a4=_0x436c4d[_0x12340c])&&(_0x39c9a1=(_0x7d2c38?_0x8977a4(_0x2981e7,_0x26535b,_0x39c9a1):_0x8977a4(_0x39c9a1))||_0x39c9a1);return _0x7d2c38&&_0x39c9a1&&_0x4808d8(_0x2981e7,_0x26535b,_0x39c9a1),_0x39c9a1;},_0x8a62fa=(_0x55e289,_0xd14824)=>(_0x1152a2,_0x16e1d6)=>_0xd14824(_0x1152a2,_0x16e1d6,_0x55e289),_0x232582=(_0x593d4d=>(_0x593d4d['Entered']=_0x53738a(0xff),_0x593d4d['Exited']=_0x53738a(0x165),_0x593d4d[_0x53738a(0x216)]=_0x53738a(0x12c),_0x593d4d))(_0x232582||{}),_0x2ae2fb=(_0x3b6500=>(_0x3b6500[_0x53738a(0x168)]=_0x53738a(0x2be),_0x3b6500['Loading']=_0x53738a(0x1f3),_0x3b6500[_0x53738a(0x16d)]=_0x53738a(0x10b),_0x3b6500))(_0x2ae2fb||{});const _0x1d216d=_0x53738a(0x20c);_0x2f8b75[_0x53738a(0x1f8)]=class extends _0x3bd68c['Disposable']{constructor(_0x53c110,_0x1ae51e,_0x29c937,_0x163751){const _0x3e2f16=_0x53738a;super(),_0x213de6(this,_0x3e2f16(0x235),new _0x311b85[(_0x3e2f16(0x258))]([])),_0x213de6(this,_0x3e2f16(0x1b0),this[_0x3e2f16(0x235)][_0x3e2f16(0x17b)]()),_0x213de6(this,_0x3e2f16(0x287),new _0x311b85[(_0x3e2f16(0x258))]('')),_0x213de6(this,'currentVersion$',this[_0x3e2f16(0x287)]['asObservable']()),_0x213de6(this,_0x3e2f16(0x24e),new _0x311b85[(_0x3e2f16(0x258))](_0x3e2f16(0xff))),_0x213de6(this,_0x3e2f16(0x2ae),this[_0x3e2f16(0x24e)][_0x3e2f16(0x17b)]()),_0x213de6(this,_0x3e2f16(0x197),new _0x311b85[(_0x3e2f16(0x258))](0x0)),_0x213de6(this,_0x3e2f16(0x107),this['_revertRevision$'][_0x3e2f16(0x17b)]()),_0x213de6(this,_0x3e2f16(0x2e7),new _0x311b85[(_0x3e2f16(0x258))]('')),_0x213de6(this,'unitId$',this[_0x3e2f16(0x2e7)][_0x3e2f16(0x17b)]()),_0x213de6(this,_0x3e2f16(0x181),!0x1),_0x213de6(this,_0x3e2f16(0x167),new _0x311b85[(_0x3e2f16(0x258))]('init')),_0x213de6(this,_0x3e2f16(0x19a),this[_0x3e2f16(0x167)]['asObservable']()),_0x213de6(this,_0x3e2f16(0x109),null),_0x213de6(this,_0x3e2f16(0x1dd),!0x0),_0x213de6(this,_0x3e2f16(0x2da),new Map()),_0x213de6(this,'_historyContainerId'),_0x213de6(this,_0x3e2f16(0x19f)),_0x213de6(this,'_maskElement'),_0x213de6(this,'_canRevert',!0x1),(this[_0x3e2f16(0x15d)]=_0x53c110,this[_0x3e2f16(0x306)]=_0x1ae51e,this[_0x3e2f16(0x225)]=_0x29c937,this[_0x3e2f16(0x2cd)]=_0x163751);}async[_0x53738a(0x15c)](_0x5f0d89,_0x3f9043,_0x566c20){const _0x835bd7=_0x53738a;this[_0x835bd7(0xea)]=_0x3f9043,this[_0x835bd7(0x2e0)]=_0x566c20,this[_0x835bd7(0x2e7)][_0x835bd7(0x246)](_0x5f0d89),this[_0x835bd7(0x181)]=!0x0;const _0x988bb2=await this[_0x835bd7(0x2cd)]['getVersions'](_0x5f0d89);if(this[_0x835bd7(0x181)]=!0x1,_0x988bb2){const {versions:_0x212c51,lastLabel:_0x266686,hasMore:_0x11908a,members:_0x3a056f}=_0x988bb2;_0x212c51[_0x835bd7(0x1af)]===0x0&&_0x212c51['push']({'unitId':_0x5f0d89,'id':_0x1d216d,'startRev':0x1,'endRev':0x0,'time':Date[_0x835bd7(0x192)](),'user':this['_localeService']['t'](_0x835bd7(0x29a)),'commands':[],'isAnonymous':!0x1}),this[_0x835bd7(0x1cc)](_0x212c51,_0x11908a,_0x266686,_0x3a056f),this[_0x835bd7(0x287)][_0x835bd7(0x246)](_0x212c51[0x0]['id']);}else this[_0x835bd7(0x24e)]['next'](_0x835bd7(0x12c));}async[_0x53738a(0x1c4)](){const _0x2be672=_0x53738a;if(!this[_0x2be672(0x109)]||!this['_hasMore']||this[_0x2be672(0x181)])return!0x1;this[_0x2be672(0x181)]=!0x0;const _0x3dfc40=await this[_0x2be672(0x2cd)][_0x2be672(0x223)](this['unitId'],this[_0x2be672(0x109)]);if(this[_0x2be672(0x181)]=!0x1,_0x3dfc40){const {versions:_0x373133,lastLabel:_0x525c34,hasMore:_0x4a87bf,members:_0x4a0345}=_0x3dfc40;this['_updateVersions'](_0x373133,_0x4a87bf,_0x525c34,_0x4a0345);}else this[_0x2be672(0x15d)][_0x2be672(0xf6)]({'content':this['_localeService']['t']('editHistory.panel.listFetchError'),'type':_0x5c85d1[_0x2be672(0x259)][_0x2be672(0x216)],'duration':0xbb8});return!0x0;}async['triggerLoadSheet'](_0x580846){const _0x271c18=_0x53738a;var _0x69c633;const _0x1f8fc3=(_0x69c633=this[_0x271c18(0x235)]['value'])==null?void 0x0:_0x69c633[_0x271c18(0x172)](_0x1a9434=>_0x1a9434['id']===_0x580846),{endRev:_0x56f82a}=_0x1f8fc3||{};_0x56f82a||_0x56f82a===0x0?(this[_0x271c18(0x167)][_0x271c18(0x246)]('loading'),await this['_historyFetchService'][_0x271c18(0x2b5)](this['unitId'],_0x56f82a),this[_0x271c18(0x167)]['next'](_0x271c18(0x10b))):this['_status$'][_0x271c18(0x246)](_0x271c18(0x12c));}async['triggerRevert'](_0x534108){const _0x35a6c8=_0x53738a,_0x4d20c3=_0x534108?this[_0x35a6c8(0x1ff)](_0x534108):this[_0x35a6c8(0x2c2)]();if(!_0x4d20c3)return;const _0x1566e9=_0x4d20c3['endRev'],_0x51ba56=_0x1dd94f(_0x4d20c3[_0x35a6c8(0x295)],this[_0x35a6c8(0x225)][_0x35a6c8(0x1c9)]());await this[_0x35a6c8(0x306)][_0x35a6c8(0x1ee)]({'id':'confirm-revert-revision','title':{'title':this['_localeService']['t'](_0x35a6c8(0x301))},'children':{'title':this[_0x35a6c8(0x225)]['t']('editHistory.panel.revertConfirmText')+_0x35a6c8(0x1c8)+_0x51ba56[_0x35a6c8(0x1ef)]+'\x20'+_0x51ba56[_0x35a6c8(0x295)]+')'}})&&this[_0x35a6c8(0x197)][_0x35a6c8(0x246)](_0x1566e9);}[_0x53738a(0x1cc)](_0x5899b7,_0x2a9552,_0x115e83,_0x1e7a3f){const _0x2fb866=_0x53738a;this[_0x2fb866(0x235)]['next'](this[_0x2fb866(0x235)]['value'][_0x2fb866(0x233)](_0x5899b7)),this['_hasMore']=_0x2a9552,this[_0x2fb866(0x109)]=_0x115e83,_0x1e7a3f&&Object[_0x2fb866(0x157)](_0x1e7a3f)[_0x2fb866(0x148)](_0x323a1f=>this['_members'][_0x2fb866(0x143)](_0x323a1f,_0x1e7a3f[_0x323a1f]));}[_0x53738a(0x2c2)](){const _0x23c8bc=_0x53738a;return this[_0x23c8bc(0x1ff)](this[_0x23c8bc(0x287)][_0x23c8bc(0x147)]);}[_0x53738a(0x1ff)](_0x260815){const _0x221fe2=_0x53738a;var _0x552847;return(_0x552847=this[_0x221fe2(0x235)][_0x221fe2(0x147)])==null?void 0x0:_0x552847['find'](_0x1d2b09=>_0x1d2b09['id']===_0x260815);}[_0x53738a(0x22c)](_0x105ef8){const _0x3d8fb1=_0x53738a;return this[_0x3d8fb1(0x2da)]['get'](_0x105ef8);}[_0x53738a(0x14f)](){const _0x50804d=_0x53738a;this[_0x50804d(0x28d)]=document[_0x50804d(0x25d)](_0x50804d(0x12d)),this[_0x50804d(0x28d)][_0x50804d(0x219)]=_0x50804d(0x1e3),this[_0x50804d(0x28d)]['style'][_0x50804d(0x118)]=_0x50804d(0x207),this[_0x50804d(0x28d)]['style'][_0x50804d(0x1a4)]='0',this[_0x50804d(0x28d)][_0x50804d(0x18f)][_0x50804d(0x2a8)]='0',this['_maskElement'][_0x50804d(0x18f)][_0x50804d(0x279)]='100%',this[_0x50804d(0x28d)][_0x50804d(0x18f)][_0x50804d(0x226)]=_0x50804d(0x16f),this[_0x50804d(0x28d)]['style'][_0x50804d(0x249)]=_0x50804d(0x113),this[_0x50804d(0x28d)]['style'][_0x50804d(0x119)]=_0x50804d(0x28f),this[_0x50804d(0x28d)][_0x50804d(0x18f)][_0x50804d(0x24d)]=_0x50804d(0x198),this[_0x50804d(0x28d)][_0x50804d(0x18f)]['justifyContent']=_0x50804d(0x2ac),this[_0x50804d(0x28d)][_0x50804d(0x18f)][_0x50804d(0x1f6)]=_0x50804d(0x245),this[_0x50804d(0x28d)][_0x50804d(0x18f)][_0x50804d(0x24d)]=_0x50804d(0x1c2),this[_0x50804d(0x19f)][_0x50804d(0x290)](this[_0x50804d(0x28d)]);}[_0x53738a(0x102)](){const _0xbde02=_0x53738a;var _0x1a1c29;const _0xd50f17=(_0x1a1c29=document[_0xbde02(0x307)](this['_historyContainerId']))==null?void 0x0:_0x1a1c29[_0xbde02(0x12e)]('.univer-app-container-content');_0xd50f17&&(this['_maskContainer']=_0xd50f17,this[_0xbde02(0x14f)]());}[_0x53738a(0x2b0)](){const _0xa7e08=_0x53738a;this[_0xa7e08(0x19f)]||this['_initMaskContainer'](),this[_0xa7e08(0x28d)]&&(this[_0xa7e08(0x28d)][_0xa7e08(0x18f)][_0xa7e08(0x24d)]=_0xa7e08(0x198));}[_0x53738a(0x251)](){const _0x148240=_0x53738a;this['_maskElement']&&(this[_0x148240(0x28d)][_0x148240(0x18f)][_0x148240(0x24d)]=_0x148240(0x1c2));}set[_0x53738a(0x1f5)](_0x3cc19c){this['_status$']['next'](_0x3cc19c);}set[_0x53738a(0x236)](_0x1dd502){const _0x58ba63=_0x53738a;_0x1dd502!==this[_0x58ba63(0x287)][_0x58ba63(0x147)]&&this[_0x58ba63(0x287)]['next'](_0x1dd502);}get[_0x53738a(0x236)](){const _0x48cd1e=_0x53738a;return this['_currentVersion$'][_0x48cd1e(0x147)];}set[_0x53738a(0x15f)](_0x49bdf7){const _0x26fec1=_0x53738a;this[_0x26fec1(0x2e7)][_0x26fec1(0x246)](_0x49bdf7);}get['unitId'](){const _0x1b1a68=_0x53738a;return this[_0x1b1a68(0x2e7)]['value'];}get[_0x53738a(0xf9)](){const _0xd92276=_0x53738a;return this[_0xd92276(0x2e0)];}get[_0x53738a(0x222)](){const _0x421bd3=_0x53738a;return this[_0x421bd3(0x167)][_0x421bd3(0x147)];}},_0x2f8b75[_0x53738a(0x1f8)]=_0x30733d([_0x8a62fa(0x0,_0xed5edc[_0x53738a(0xe9)]),_0x8a62fa(0x1,_0xed5edc['IConfirmService']),_0x8a62fa(0x2,_0x3bd68c[_0x53738a(0x304)](_0x3bd68c['LocaleService'])),_0x8a62fa(0x3,_0x3bd68c[_0x53738a(0x304)](_0x401289))],_0x2f8b75[_0x53738a(0x1f8)]);var _0x2f277a=function(){const _0x171139=_0x53738a;return _0x2f277a=Object[_0x171139(0x145)]||function(_0x1f1c4a){const _0x59d8a9=_0x171139;for(var _0x2c13a6,_0x2f692f=0x1,_0x53a17c=arguments[_0x59d8a9(0x1af)];_0x2f692f<_0x53a17c;_0x2f692f++){_0x2c13a6=arguments[_0x2f692f];for(var _0xb58bd9 in _0x2c13a6)Object['prototype'][_0x59d8a9(0x17c)][_0x59d8a9(0x276)](_0x2c13a6,_0xb58bd9)&&(_0x1f1c4a[_0xb58bd9]=_0x2c13a6[_0xb58bd9]);}return _0x1f1c4a;},_0x2f277a[_0x171139(0x2b7)](this,arguments);},_0xea6b18=function(_0x1a1a90,_0x53275a){const _0x1c7582=_0x53738a;var _0x8eabe3={};for(var _0x39f1f3 in _0x1a1a90)Object[_0x1c7582(0x194)][_0x1c7582(0x17c)][_0x1c7582(0x276)](_0x1a1a90,_0x39f1f3)&&_0x53275a['indexOf'](_0x39f1f3)<0x0&&(_0x8eabe3[_0x39f1f3]=_0x1a1a90[_0x39f1f3]);if(_0x1a1a90!=null&&typeof Object[_0x1c7582(0x124)]==_0x1c7582(0x214)){for(var _0x1a28e7=0x0,_0x39f1f3=Object[_0x1c7582(0x124)](_0x1a1a90);_0x1a28e7<_0x39f1f3[_0x1c7582(0x1af)];_0x1a28e7++)_0x53275a[_0x1c7582(0x2af)](_0x39f1f3[_0x1a28e7])<0x0&&Object['prototype'][_0x1c7582(0x28e)][_0x1c7582(0x276)](_0x1a1a90,_0x39f1f3[_0x1a28e7])&&(_0x8eabe3[_0x39f1f3[_0x1a28e7]]=_0x1a1a90[_0x39f1f3[_0x1a28e7]]);}return _0x8eabe3;},_0xf8067e=_0x428452[_0x53738a(0x131)](function(_0x2addf8,_0xc8229d){const _0x474310=_0x53738a;var _0x40efad=_0x2addf8[_0x474310(0x1d0)],_0x22d395=_0x2addf8['id'],_0x70bcea=_0x2addf8[_0x474310(0x219)],_0x297f35=_0x2addf8['extend'],_0x26fbee=_0xea6b18(_0x2addf8,[_0x474310(0x1d0),'id',_0x474310(0x219),_0x474310(0x29b)]),_0x2205fe=_0x474310(0x2f3)[_0x474310(0x233)](_0x22d395,'\x20')['concat'](_0x70bcea||'')[_0x474310(0x13d)](),_0x5e870f=_0x428452[_0x474310(0x16e)]('_'[_0x474310(0x233)](_0x11c228()));return _0x81801e(_0x40efad,''[_0x474310(0x233)](_0x22d395),{'defIds':_0x40efad[_0x474310(0x2fa)],'idSuffix':_0x5e870f[_0x474310(0x141)]},_0x2f277a({'ref':_0xc8229d,'className':_0x2205fe},_0x26fbee),_0x297f35);});function _0x81801e(_0x2f511f,_0x1b54d9,_0x36c04a,_0x11a678,_0x43bf57){const _0x7e5671=_0x53738a;return _0x428452[_0x7e5671(0x25d)](_0x2f511f[_0x7e5671(0x120)],_0x2f277a(_0x2f277a({'key':_0x1b54d9},_0x32ec5e(_0x2f511f,_0x36c04a,_0x43bf57)),_0x11a678),(_0x409a6f(_0x2f511f,_0x36c04a)['children']||[])[_0x7e5671(0x293)](function(_0x31b7b3,_0x2b14b3){const _0x41d530=_0x7e5671;return _0x81801e(_0x31b7b3,''[_0x41d530(0x233)](_0x1b54d9,'-')[_0x41d530(0x233)](_0x2f511f['tag'],'-')[_0x41d530(0x233)](_0x2b14b3),_0x36c04a,void 0x0,_0x43bf57);}));}function _0x32ec5e(_0x47419d,_0x3ef6e7,_0x3d6122){const _0x209d14=_0x53738a;var _0x768e01=_0x2f277a({},_0x47419d[_0x209d14(0x1bb)]);_0x3d6122!=null&&_0x3d6122[_0x209d14(0x1d9)]&&_0x768e01[_0x209d14(0x250)]===_0x209d14(0x1d9)&&(_0x768e01[_0x209d14(0x250)]=_0x3d6122[_0x209d14(0x1d9)]);var _0x508fe5=_0x3ef6e7[_0x209d14(0x2fa)];return!_0x508fe5||_0x508fe5[_0x209d14(0x1af)]===0x0||(_0x47419d[_0x209d14(0x120)]==='use'&&_0x768e01[_0x209d14(0x149)]&&(_0x768e01[_0x209d14(0x149)]=_0x768e01[_0x209d14(0x149)]+_0x3ef6e7[_0x209d14(0x11c)]),Object[_0x209d14(0x1e2)](_0x768e01)[_0x209d14(0x148)](function(_0x3fddcc){const _0xf347bb=_0x209d14;var _0x120223=_0x3fddcc[0x0],_0x2b3896=_0x3fddcc[0x1];typeof _0x2b3896==_0xf347bb(0x161)&&(_0x768e01[_0x120223]=_0x2b3896[_0xf347bb(0x2fc)](/url\(#(.*)\)/,'url(#$1'[_0xf347bb(0x233)](_0x3ef6e7[_0xf347bb(0x11c)],')')));})),_0x768e01;}function _0x409a6f(_0x44b57d,_0x228f0f){const _0x6efed=_0x53738a;var _0x13730,_0x436273=_0x228f0f[_0x6efed(0x2fa)];return!_0x436273||_0x436273[_0x6efed(0x1af)]===0x0?_0x44b57d:_0x44b57d[_0x6efed(0x120)]===_0x6efed(0x1f9)&&(!((_0x13730=_0x44b57d[_0x6efed(0x28c)])===null||_0x13730===void 0x0)&&_0x13730[_0x6efed(0x1af)])?_0x2f277a(_0x2f277a({},_0x44b57d),{'children':_0x44b57d[_0x6efed(0x28c)]['map'](function(_0x59f726){const _0xd98185=_0x6efed;return typeof _0x59f726['attrs']['id']=='string'&&_0x436273&&_0x436273['indexOf'](_0x59f726[_0xd98185(0x1bb)]['id'])>-0x1?_0x2f277a(_0x2f277a({},_0x59f726),{'attrs':_0x2f277a(_0x2f277a({},_0x59f726[_0xd98185(0x1bb)]),{'id':_0x59f726[_0xd98185(0x1bb)]['id']+_0x228f0f[_0xd98185(0x11c)]})}):_0x59f726;})}):_0x44b57d;}function _0x11c228(){const _0x1a8ea6=_0x53738a;return Math[_0x1a8ea6(0x185)]()[_0x1a8ea6(0xf3)](0x24)[_0x1a8ea6(0x21c)](0x2,0x8);}_0xf8067e[_0x53738a(0x1e0)]=_0x53738a(0x132);var _0x56fe58={'tag':_0x53738a(0x1e8),'attrs':{'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x53738a(0x1a2),'height':'1em'},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':_0x53738a(0x174)}}]},_0x20507b=_0x428452['forwardRef'](function(_0xcec4a1,_0x265690){const _0x5e92cf=_0x53738a;return _0x428452['createElement'](_0xf8067e,Object[_0x5e92cf(0x145)]({},_0xcec4a1,{'id':_0x5e92cf(0x16c),'ref':_0x265690,'icon':_0x56fe58}));});_0x20507b[_0x53738a(0x1e0)]='BackSingle';var _0x3b7165={'tag':_0x53738a(0x1e8),'attrs':{'fill':_0x53738a(0x1c2),'viewBox':_0x53738a(0x2fd),'width':_0x53738a(0x1a2),'height':_0x53738a(0x1a2)},'children':[{'tag':_0x53738a(0x1bd),'attrs':{'fill':_0x53738a(0x1d9),'d':'M8.00695\x2014.9998C8.00461\x2014.9999\x208.00227\x2014.9999\x207.99993\x2014.9999C4.13397\x2014.9999\x201\x2011.8659\x201\x207.99995C1\x204.13624\x204.13035\x201.00365\x207.99321\x201.00003C7.9955\x201.00001\x207.99779\x201\x208.00008\x201C11.866\x201\x2015\x204.13397\x2015\x207.99993C15\x2011.8636\x2011.8697\x2014.9961\x208.00695\x2014.9998ZM13.3569\x208.01503C13.3568\x208.01001\x2013.3568\x208.00499\x2013.3568\x207.99995C13.3568\x205.04144\x2010.9584\x202.64309\x207.99993\x202.64309C5.04645\x202.64309\x202.65123\x205.03327\x202.64308\x207.98484C2.64317\x207.98986\x202.64322\x207.99489\x202.64322\x207.99993C2.64322\x2010.9584\x205.04157\x2013.3568\x208.00008\x2013.3568C10.9536\x2013.3568\x2013.3488\x2010.9666\x2013.3569\x208.01503Z','fillRule':_0x53738a(0x1ac),'clipRule':'evenodd'}},{'tag':_0x53738a(0x1bd),'attrs':{'fill':_0x53738a(0x1f0),'d':_0x53738a(0x104),'fillRule':_0x53738a(0x1ac),'clipRule':_0x53738a(0x1ac)}}]},_0x42cb1b=_0x428452[_0x53738a(0x131)](function(_0x4d3d17,_0x1333d9){const _0x44887f=_0x53738a;return _0x428452[_0x44887f(0x25d)](_0xf8067e,Object['assign']({},_0x4d3d17,{'id':_0x44887f(0x1f3),'ref':_0x1333d9,'icon':_0x3b7165}));});_0x42cb1b[_0x53738a(0x1e0)]=_0x53738a(0x2f6);var _0x5f2c9d={'tag':_0x53738a(0x1e8),'attrs':{'fill':_0x53738a(0x1c2),'viewBox':'0\x200\x2016\x2017','width':_0x53738a(0x1a2),'height':_0x53738a(0x1a2)},'children':[{'tag':'g','attrs':{'fill':_0x53738a(0x1f0),'clipPath':_0x53738a(0x2fe)},'children':[{'tag':_0x53738a(0x1bd),'attrs':{'d':'M7.41252\x2010.6196C7.64683\x2010.3852\x207.64683\x2010.0053\x207.41252\x209.77103L6.77012\x209.12863H9.67836C9.89927\x209.12863\x2010.0784\x209.30772\x2010.0784\x209.52863V11.1953C10.0784\x2011.5267\x2010.347\x2011.7953\x2010.6784\x2011.7953C11.0097\x2011.7953\x2011.2784\x2011.5267\x2011.2784\x2011.1953V9.52863C11.2784\x208.64497\x2010.562\x207.92863\x209.67836\x207.92863H6.77012L7.41252\x207.28623C7.64683\x207.05191\x207.64683\x206.67201\x207.41252\x206.4377C7.1782\x206.20338\x206.79831\x206.20338\x206.56399\x206.4377L4.89732\x208.10437C4.66301\x208.33868\x204.66301\x208.71858\x204.89732\x208.95289L6.56399\x2010.6196C6.79831\x2010.8539\x207.1782\x2010.8539\x207.41252\x2010.6196Z'}},{'tag':_0x53738a(0x1bd),'attrs':{'d':_0x53738a(0x212),'fillRule':'evenodd','clipRule':_0x53738a(0x1ac)}}]},{'tag':_0x53738a(0x1f9),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'restore-single_clip0_1247_2'},'children':[{'tag':_0x53738a(0x275),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x53738a(0x2eb),'rx':0x4}}]}]}],'defIds':[_0x53738a(0x2ec)]},_0x5cb47a=_0x428452[_0x53738a(0x131)](function(_0x694252,_0xde74bd){const _0x4b0a00=_0x53738a;return _0x428452['createElement'](_0xf8067e,Object['assign']({},_0x694252,{'id':_0x4b0a00(0x2e4),'ref':_0xde74bd,'icon':_0x5f2c9d}));});_0x5cb47a['displayName']=_0x53738a(0x10f);const _0x2565d7={'versionListPanel':_0x53738a(0x2e1),'versionListPanelContent':_0x53738a(0x239),'versionDate':_0x53738a(0x179),'versionItem':'univer-version-item','versionItemHeader':_0x53738a(0x146),'versionItemHeaderExpand':'univer-version-item-header-expand','versionItemHeaderTime':_0x53738a(0x231),'versionItemHeaderTimeTag':_0x53738a(0x242),'versionItemHeaderRevert':_0x53738a(0xeb),'versionItemContent':_0x53738a(0x28b),'active':_0x53738a(0x23c),'historyViewHeader':'univer-history-view-header','historyViewHeaderBack':'univer-history-view-header-back','historyViewHeaderBackText':'univer-history-view-header-back-text','historyViewHeaderRevert':_0x53738a(0x187),'versionListLoading':'univer-version-list-loading','versionListLoadingIcon':_0x53738a(0x2c3),'loadingSpin':'univer-loading-spin'};function _0x33800f(){const _0x1325f3=_0x53738a,_0x54faf9=_0x3bd68c[_0x1325f3(0x25b)](_0x2f8b75['HistoryManagerService']),_0x147c15=_0xed5edc['useObservable'](_0x54faf9['versions$']),[_0x2d8f35,_0x2d2184]=_0x428452[_0x1325f3(0x210)](!0x1),_0x1dde8b=_0x34c3db(_0x147c15);return _0x147c15?_0x428452[_0x1325f3(0x25d)](_0x1325f3(0x12d),{'className':_0x2565d7['versionListPanel']},_0x428452[_0x1325f3(0x25d)](_0x1325f3(0x12d),{'className':_0x2565d7[_0x1325f3(0x1d3)]},_0x1dde8b[_0x1325f3(0x293)]((_0xe2ceae,_0x51e21b)=>_0x428452['createElement'](_0x428452[_0x1325f3(0x1b4)],{'key':_0xe2ceae['dateString']},_0x428452[_0x1325f3(0x25d)](_0xb3bcb3,{'date':_0xe2ceae['dateString']}),_0xe2ceae[_0x1325f3(0x28a)][_0x1325f3(0x293)]((_0x20db9d,_0x51eccb)=>_0x428452[_0x1325f3(0x25d)](_0x2f6b9f,{'key':_0x51e21b+'-'+_0x51eccb,'index':[_0x51e21b,_0x51eccb],'item':_0x20db9d})))),_0x2d8f35&&_0x428452['createElement'](_0x412bbc,null))):_0x428452['createElement'](_0x116795,null);}function _0x412bbc(){const _0x1ff2cd=_0x53738a;return _0x428452[_0x1ff2cd(0x25d)](_0x1ff2cd(0x12d),{'className':_0x2565d7[_0x1ff2cd(0x10d)]},_0x428452['createElement'](_0x42cb1b,{'className':_0x2565d7[_0x1ff2cd(0x2dc)]}));}function _0x116795(){const _0x25dd3e=_0x53738a;return _0x428452[_0x25dd3e(0x25d)](_0x25dd3e(0x12d),{'className':_0x3138e5(_0x2565d7['empty'],'flex\x20items-center\x20justify-center')},_0x428452[_0x25dd3e(0x25d)](_0x25dd3e(0x1e6),{'className':_0x3138e5(_0x2565d7['emptyText'],'text-gray-500')},_0x428452['createElement'](_0x42cb1b,{'className':_0x25dd3e(0x178)})));}function _0xb3bcb3(_0x24ab40){const _0x45f813=_0x53738a,_0x3c6869=_0x3bd68c[_0x45f813(0x25b)](_0x3bd68c['LocaleService']),{date:_0x16f903}=_0x24ab40;return _0x428452[_0x45f813(0x25d)](_0x45f813(0x12d),{'className':_0x2565d7['versionDate']},_0xb1ce92(_0x16f903,_0x3c6869['getCurrentLocale']()));}function _0x2f6b9f(_0x55740b){const _0x108c48=_0x53738a,{item:_0x52b475,index:_0x2b1f3f}=_0x55740b,{time:_0x24be0f,user:_0x164af3}=_0x52b475,[_0x44c455,_0x3ad1d2]=_0x2b1f3f,_0x5e5d33=_0x3bd68c[_0x108c48(0x25b)](_0x2f8b75[_0x108c48(0x1f8)]),_0x2a20c5=_0xed5edc[_0x108c48(0x289)](_0x5e5d33[_0x108c48(0x12a)],'',!0x0)===_0x52b475['id'],_0x3fccb7=_0x44c455===0x0&&_0x3ad1d2===0x0,_0x8f1209=!_0x3fccb7&&_0x5e5d33['canRevert'],_0x15f1da=_0x3bd68c[_0x108c48(0x25b)](_0x3bd68c['LocaleService']),_0x19c33c=_0x15f1da['getCurrentLocale'](),_0x24c497=_0x1dd94f(_0x24be0f,_0x19c33c),_0x18203c=_0x15f1da['t'](_0x108c48(0xf0)),_0x3e8953=_0x428452[_0x108c48(0x2d3)](_0x5f4711=>{const _0x3a9537=_0x108c48;_0x5e5d33[_0x3a9537(0x222)]!==_0x2ae2fb[_0x3a9537(0x2f6)]&&(_0x5e5d33[_0x3a9537(0x236)]=_0x5f4711);},[_0x5e5d33]),_0x418bfd=_0x428452[_0x108c48(0x2d3)](_0x4b958d=>{const _0x22565c=_0x108c48;_0x5e5d33[_0x22565c(0x22e)](_0x4b958d);},[_0x5e5d33]);return _0x428452[_0x108c48(0x25d)](_0x108c48(0x12d),{'className':_0x3138e5(_0x2565d7[_0x108c48(0x27a)],{[_0x2565d7['active']]:_0x2a20c5}),'onClick':()=>_0x3e8953(_0x52b475['id'])},_0x428452[_0x108c48(0x25d)](_0x108c48(0x12d),{'className':_0x2565d7[_0x108c48(0x26a)]},_0x428452[_0x108c48(0x25d)]('div',{'className':_0x2565d7['versionItemHeaderExpand']}),_0x428452['createElement'](_0x108c48(0x12d),{'className':_0x2565d7[_0x108c48(0x269)]},_0x428452['createElement'](_0x108c48(0x1e6),null,_0x24c497[_0x108c48(0x295)]),_0x3fccb7&&_0x428452[_0x108c48(0x25d)]('span',{'className':_0x2565d7[_0x108c48(0x27c)]},_0x18203c)),_0x428452[_0x108c48(0x25d)](_0x108c48(0x12d),null,_0x8f1209&&_0x428452['createElement'](_0x5c85d1[_0x108c48(0x186)],{'title':_0x15f1da['t'](_0x108c48(0x106))},_0x428452[_0x108c48(0x25d)](_0x108c48(0x12d),{'onClick':_0x44431a=>{_0x44431a['stopPropagation'](),_0x418bfd(_0x52b475['id']);},'className':_0x2565d7[_0x108c48(0x23a)]},_0x428452['createElement'](_0x5cb47a,null))))),_0x428452[_0x108c48(0x25d)](_0x108c48(0x12d),{'className':_0x2565d7['versionItemContent']},_0x5d8cfc(_0x52b475,_0x15f1da)));}var _0x366488=Object[_0x53738a(0x288)],_0xfc203a=Object[_0x53738a(0x1e7)],_0x4fbf69=(_0x3b229e,_0x5659eb,_0x5a2f8d,_0x240c2b)=>{const _0x54d9b8=_0x53738a;for(var _0x3b9fde=_0x240c2b>0x1?void 0x0:_0x240c2b?_0xfc203a(_0x5659eb,_0x5a2f8d):_0x5659eb,_0x2ba9f5=_0x3b229e[_0x54d9b8(0x1af)]-0x1,_0x8935fe;_0x2ba9f5>=0x0;_0x2ba9f5--)(_0x8935fe=_0x3b229e[_0x2ba9f5])&&(_0x3b9fde=(_0x240c2b?_0x8935fe(_0x5659eb,_0x5a2f8d,_0x3b9fde):_0x8935fe(_0x3b9fde))||_0x3b9fde);return _0x240c2b&&_0x3b9fde&&_0x366488(_0x5659eb,_0x5a2f8d,_0x3b9fde),_0x3b9fde;},_0x601417=(_0x409fea,_0x2d6d04)=>(_0x40859d,_0x32e1fd)=>_0x2d6d04(_0x40859d,_0x32e1fd,_0x409fea);const _0x59cdd7='history-panel';let _0x1a52f4=class extends _0x3bd68c[_0x53738a(0x11f)]{constructor(_0x549956,_0x5b43ad,_0x2c028a,_0x50c429){const _0x4f612b=_0x53738a;super(),_0x213de6(this,_0x4f612b(0xf8),null),(this['_sidebarService']=_0x549956,this[_0x4f612b(0x232)]=_0x5b43ad,this[_0x4f612b(0x225)]=_0x2c028a,this[_0x4f612b(0x163)]=_0x50c429,this['_init']());}[_0x53738a(0x2f0)](){const _0x2872ba=_0x53738a;this[_0x2872ba(0x21a)](),this['_openPanel']();}['_openPanel'](){const _0x4ca345=_0x53738a;if(this[_0x4ca345(0xf8)])return;const _0x4bd35d={'header':{'title':this[_0x4ca345(0x225)]['t'](_0x4ca345(0x15e))},'children':{'label':_0x59cdd7},'onClose':()=>{const _0x46ed48=_0x4ca345;this[_0x46ed48(0xf8)]=null,this[_0x46ed48(0x163)][_0x46ed48(0x1f5)]=_0x232582['Exited'];}};this[_0x4ca345(0xf8)]=this[_0x4ca345(0x21b)][_0x4ca345(0x1b2)]({..._0x4bd35d});}[_0x53738a(0x21a)](){const _0x2e11a4=_0x53738a;this['disposeWithMe'](this[_0x2e11a4(0x232)][_0x2e11a4(0x221)](_0x59cdd7,_0x33800f)),this[_0x2e11a4(0x266)](this[_0x2e11a4(0x21b)][_0x2e11a4(0x237)]['pipe'](_0x311b85['debounceTime'](0x64))[_0x2e11a4(0x2ed)](_0x4459c9=>{const _0x23b91e=_0x2e11a4,{target:_0x1cb15c}=_0x4459c9||{};if(_0x1cb15c){const {scrollTop:_0x1f0b18,scrollHeight:_0x16332c,clientHeight:_0x46f19f}=_0x1cb15c;_0x1f0b18+_0x46f19f>=_0x16332c-0x5&&this[_0x23b91e(0x163)]['loadMoreVersions']();}}));}};_0x1a52f4=_0x4fbf69([_0x3bd68c['OnLifecycle'](_0x3bd68c['LifecycleStages'][_0x53738a(0x252)],_0x1a52f4),_0x601417(0x0,_0xed5edc[_0x53738a(0x202)]),_0x601417(0x1,_0x3bd68c[_0x53738a(0x304)](_0xed5edc[_0x53738a(0x1df)])),_0x601417(0x2,_0x3bd68c[_0x53738a(0x304)](_0x3bd68c[_0x53738a(0x282)])),_0x601417(0x3,_0x3bd68c[_0x53738a(0x304)](_0x2f8b75[_0x53738a(0x1f8)]))],_0x1a52f4);function _0x4484bb(){const _0x11d112=_0x53738a,_0x8b6ac0=_0x3bd68c[_0x11d112(0x25b)](_0x2f8b75[_0x11d112(0x1f8)]),_0x388c95=_0x3bd68c[_0x11d112(0x25b)](_0x3bd68c[_0x11d112(0x282)]),_0x41dba1=_0x428452[_0x11d112(0x2d3)](()=>{const _0x573e7c=_0x11d112;_0x8b6ac0['status']=_0x232582[_0x573e7c(0x189)];},[_0x8b6ac0]),_0x21418b=_0x428452['useCallback'](()=>{const _0x2131d6=_0x11d112;_0x8b6ac0[_0x2131d6(0x22e)]();},[_0x8b6ac0]),_0x9f7c57=_0xed5edc[_0x11d112(0x289)](_0x8b6ac0[_0x11d112(0x12a)]),_0x57d021=_0xed5edc[_0x11d112(0x289)](_0x8b6ac0[_0x11d112(0x1b0)]),_0x206b8a=!(_0x9f7c57===(_0x57d021==null?void 0x0:_0x57d021[0x0]['id']))&&_0x8b6ac0[_0x11d112(0xf9)];return _0x428452[_0x11d112(0x25d)](_0x11d112(0x12d),{'className':_0x2565d7[_0x11d112(0x142)]},_0x428452[_0x11d112(0x25d)](_0x11d112(0x12d),{'onClick':_0x41dba1,'className':_0x2565d7['historyViewHeaderBack']},_0x428452[_0x11d112(0x25d)](_0x20507b,{'style':{'fontSize':_0x11d112(0x12b)}})),_0x428452[_0x11d112(0x25d)](_0x11d112(0x12d),{'className':_0x2565d7[_0x11d112(0x243)]},_0x206b8a&&_0x428452[_0x11d112(0x25d)](_0x5c85d1[_0x11d112(0x195)],{'type':_0x11d112(0x1a0),'onClick':_0x21418b},_0x388c95['t']('editHistory.header.revert'))));}var _0x89e345=Object[_0x53738a(0x288)],_0x4d17ed=Object[_0x53738a(0x1e7)],_0xa1085e=(_0x532154,_0xa80097,_0x45a125,_0x3158a8)=>{const _0x5c3b13=_0x53738a;for(var _0x911cf8=_0x3158a8>0x1?void 0x0:_0x3158a8?_0x4d17ed(_0xa80097,_0x45a125):_0xa80097,_0x25924f=_0x532154[_0x5c3b13(0x1af)]-0x1,_0x180ce7;_0x25924f>=0x0;_0x25924f--)(_0x180ce7=_0x532154[_0x25924f])&&(_0x911cf8=(_0x3158a8?_0x180ce7(_0xa80097,_0x45a125,_0x911cf8):_0x180ce7(_0x911cf8))||_0x911cf8);return _0x3158a8&&_0x911cf8&&_0x89e345(_0xa80097,_0x45a125,_0x911cf8),_0x911cf8;},_0x2bbe67=(_0x2c74bf,_0xf7eafd)=>(_0x30119a,_0x1a5de9)=>_0xf7eafd(_0x30119a,_0x1a5de9,_0x2c74bf);let _0x39ee36=class extends _0x3bd68c[_0x53738a(0x11f)]{constructor(_0x20f1ad,_0x4ee7f5,_0x22ff6d,_0x45b712,_0x34c93f,_0x57387e){const _0x3985b3=_0x53738a;super(),_0x213de6(this,_0x3985b3(0x1ea)),(this['_permissionService']=_0x20f1ad,this[_0x3985b3(0x1aa)]=_0x4ee7f5,this['_messageService']=_0x22ff6d,this[_0x3985b3(0x225)]=_0x45b712,this[_0x3985b3(0x163)]=_0x34c93f,this[_0x3985b3(0x1c5)]=_0x57387e,this[_0x3985b3(0x2f0)]());}['_init'](){const _0xc70615=_0x53738a;this['disposeWithMe'](this['_historyManagerService'][_0xc70615(0x12a)][_0xc70615(0x2ed)](_0x1c6357=>{const _0x46d7cd=_0xc70615;_0x1c6357&&this[_0x46d7cd(0x163)][_0x46d7cd(0x2b9)](_0x1c6357);})),this[_0xc70615(0x266)](this[_0xc70615(0x25a)][_0xc70615(0x26e)][_0xc70615(0x2ed)](_0xe12830=>{const _0x54313b=_0xc70615,_0x550fa5=this['_historyManagerService'][_0x54313b(0x15f)];_0x550fa5&&(_0xe12830['subType']===_0x4829df[_0x54313b(0x2c8)]&&_0xe12830[_0x54313b(0x147)]===!0x0&&this[_0x54313b(0x25a)]['updatePermissionPoint'](new _0x3e6093[(_0x54313b(0x2dd))](_0x550fa5)['id'],!0x1),_0xe12830[_0x54313b(0x13b)]===_0x4829df['RenameSheet']&&_0xe12830['value']===!0x0&&this[_0x54313b(0x25a)][_0x54313b(0x153)](new _0x3e6093[(_0x54313b(0x136))](_0x550fa5)['id'],!0x1),_0xe12830[_0x54313b(0x13b)]===_0x4829df['MoveSheet']&&_0xe12830['value']===!0x0&&this['_permissionService'][_0x54313b(0x153)](new _0x3e6093['WorkbookMoveSheetPermission'](_0x550fa5)['id'],!0x1),_0xe12830[_0x54313b(0x13b)]===_0x4829df['HideSheet']&&_0xe12830[_0x54313b(0x147)]===!0x0&&this[_0x54313b(0x25a)][_0x54313b(0x153)](new _0x3e6093['WorkbookHideSheetPermission'](_0x550fa5)['id'],!0x1),_0xe12830[_0x54313b(0x13b)]===_0x4829df[_0x54313b(0x256)]&&_0xe12830['value']===!0x0&&this[_0x54313b(0x25a)][_0x54313b(0x153)](new _0x3e6093[(_0x54313b(0x2dd))](_0x550fa5)['id'],!0x1),_0xe12830[_0x54313b(0x13b)]===_0x4829df[_0x54313b(0x1ed)]&&_0xe12830['value']===!0x0&&this[_0x54313b(0x25a)][_0x54313b(0x153)](new _0x3e6093[(_0x54313b(0x2dd))](_0x550fa5)['id'],!0x1));})),this['disposeWithMe'](this['_uiPartsService'][_0xc70615(0x2e5)](_0xed5edc[_0xc70615(0x123)]['HEADER'],()=>_0x3bd68c[_0xc70615(0x2c4)](_0x4484bb,this[_0xc70615(0x1c5)]))),this['disposeWithMe'](this[_0xc70615(0x163)][_0xc70615(0x19a)][_0xc70615(0x2ed)](_0x236bd7=>{const _0x4532dc=_0xc70615;var _0xa7d903;_0x236bd7===_0x2ae2fb[_0x4532dc(0x2f6)]&&(this[_0x4532dc(0x163)][_0x4532dc(0x2b0)](),this[_0x4532dc(0x1ea)]=this[_0x4532dc(0x15d)]['show']({'type':_0x5c85d1[_0x4532dc(0x259)][_0x4532dc(0x17a)],'content':this[_0x4532dc(0x225)]['t'](_0x4532dc(0x1b1))})),_0x236bd7===_0x2ae2fb['Loaded']&&((_0xa7d903=this[_0x4532dc(0x1ea)])==null||_0xa7d903[_0x4532dc(0x1e9)](),this[_0x4532dc(0x163)][_0x4532dc(0x251)]());}));}};_0x39ee36=_0xa1085e([_0x3bd68c[_0x53738a(0x152)](_0x3bd68c[_0x53738a(0x2c5)][_0x53738a(0x23e)],_0x39ee36),_0x2bbe67(0x0,_0x3bd68c[_0x53738a(0x2a1)]),_0x2bbe67(0x1,_0xed5edc[_0x53738a(0x303)]),_0x2bbe67(0x2,_0xed5edc[_0x53738a(0xe9)]),_0x2bbe67(0x3,_0x3bd68c[_0x53738a(0x304)](_0x3bd68c['LocaleService'])),_0x2bbe67(0x4,_0x3bd68c[_0x53738a(0x304)](_0x2f8b75['HistoryManagerService'])),_0x2bbe67(0x5,_0x3bd68c[_0x53738a(0x304)](_0x3bd68c['Injector']))],_0x39ee36);class _0x1298d3 extends _0x3bd68c['Disposable']{constructor(){const _0x4ea87b=_0x53738a;super(),_0x213de6(this,_0x4ea87b(0x271),new _0x311b85['Subject']());}['open'](){return _0x3bd68c['toDisposable'](()=>{});}[_0x53738a(0x285)](){}[_0x53738a(0x1c6)](_0x264d72){}[_0x53738a(0x201)](){const _0x40ad56=_0x53738a;return this[_0x40ad56(0x271)][_0x40ad56(0x17b)]();}}var _0x318fed=Object[_0x53738a(0x288)],_0x3267d2=Object[_0x53738a(0x1e7)],_0x49f4b2=(_0x26a409,_0x34df14,_0x32991d,_0x44f60b)=>{const _0x255a42=_0x53738a;for(var _0x76a4f7=_0x44f60b>0x1?void 0x0:_0x44f60b?_0x3267d2(_0x34df14,_0x32991d):_0x34df14,_0x1f9dba=_0x26a409[_0x255a42(0x1af)]-0x1,_0x3816e5;_0x1f9dba>=0x0;_0x1f9dba--)(_0x3816e5=_0x26a409[_0x1f9dba])&&(_0x76a4f7=(_0x44f60b?_0x3816e5(_0x34df14,_0x32991d,_0x76a4f7):_0x3816e5(_0x76a4f7))||_0x76a4f7);return _0x44f60b&&_0x76a4f7&&_0x318fed(_0x34df14,_0x32991d,_0x76a4f7),_0x76a4f7;},_0x5f12e6=(_0xe62d3e,_0x477cfe)=>(_0xb464f8,_0x1dcce0)=>_0x477cfe(_0xb464f8,_0x1dcce0,_0xe62d3e);let _0x1e157b=class extends _0x3bd68c[_0x53738a(0x11f)]{constructor(_0x11d103,_0x1e8052,_0x2ae022){const _0x2d1a87=_0x53738a;super(),_0x213de6(this,'_diffRangesMap',new Map()),_0x213de6(this,_0x2d1a87(0x182),new _0x311b85[(_0x2d1a87(0x258))]({'ranges':new Map(),'active':null})),_0x213de6(this,_0x2d1a87(0x2a9),this[_0x2d1a87(0x182)][_0x2d1a87(0x17b)]()),(this[_0x2d1a87(0x163)]=_0x11d103,this[_0x2d1a87(0x1d5)]=_0x1e8052,this[_0x2d1a87(0x1fb)]=_0x2ae022,this[_0x2d1a87(0x2f0)]());}['_init'](){const _0x372d82=_0x53738a;this[_0x372d82(0x277)]=new Map(),this[_0x372d82(0x266)](this[_0x372d82(0x163)][_0x372d82(0x11b)][_0x372d82(0x2ed)](_0x3e1b93=>{const _0x10f523=_0x372d82;_0x3e1b93&&!this[_0x10f523(0x277)][_0x10f523(0x2f8)](_0x3e1b93)&&this[_0x10f523(0x277)][_0x10f523(0x143)](_0x3e1b93,new Map());})),this[_0x372d82(0x266)](this[_0x372d82(0x163)][_0x372d82(0x12a)][_0x372d82(0x2ed)](async _0x3e75a5=>{const _0x4ca036=_0x372d82;var _0x53e442;_0x3e75a5&&(await this['ensureVersion'](_0x3e75a5),this[_0x4ca036(0x182)]['next'](((_0x53e442=this[_0x4ca036(0x277)][_0x4ca036(0x155)](this['_historyManagerService']['unitId']))==null?void 0x0:_0x53e442[_0x4ca036(0x155)](_0x3e75a5))||{'ranges':new Map(),'active':null}));}));}async['ensureVersion'](_0x32f174){const _0x144503=_0x53738a;var _0x2e88d7,_0x18320d;const _0x284e2e=this['_historyManagerService'][_0x144503(0x1ff)](_0x32f174),_0x4db09a=this[_0x144503(0x163)][_0x144503(0x15f)];if(!_0x284e2e||!_0x4db09a)return;const _0x171c6e=this[_0x144503(0x277)][_0x144503(0x155)](_0x4db09a);if(_0x171c6e||this[_0x144503(0x277)][_0x144503(0x143)](_0x4db09a,new Map()),(_0x2e88d7=this[_0x144503(0x277)][_0x144503(0x155)](_0x4db09a))!=null&&_0x2e88d7[_0x144503(0x2f8)](_0x284e2e['id']))return;const {startRev:_0x494aa5,endRev:_0x584296}=_0x284e2e;if(_0x494aa5===0x1){_0x171c6e['set'](_0x284e2e['id'],{'ranges':new Map(),'active':null});return;}const _0x21e3a8=_0x494aa5-0x1,_0x50c81a=_0x584296,_0x7916af=await this[_0x144503(0x1fb)]['fetchMissingChangesets']({},{'unitID':_0x4db09a,'from':_0x21e3a8,'to':_0x50c81a,'type':_0x136ea1[_0x144503(0xf7)]});if(((_0x18320d=_0x7916af[_0x144503(0x12c)])==null?void 0x0:_0x18320d[_0x144503(0x213)])===_0x81eb22['OK']){const _0x3599ad=_0x7916af['changesets'][_0x144503(0x293)](_0x514835[_0x144503(0x2d1)])[_0x144503(0x293)](_0x5d9ed0=>_0x5d9ed0[_0x144503(0x173)][_0x144503(0x293)](_0x40d4c3=>({..._0x40d4c3,'params':{..._0x40d4c3[_0x144503(0x1c7)],'memberId':_0x5d9ed0[_0x144503(0x1fc)]}})))['flat'](),_0x194d72=this['_transformMutationByOrder'](_0x3599ad),_0x1377c2=this[_0x144503(0x180)](_0x3599ad),_0x58eedf=this[_0x144503(0x229)](_0x194d72);_0x171c6e[_0x144503(0x143)](_0x284e2e['id'],{'ranges':_0x58eedf,'active':_0x1377c2});}}[_0x53738a(0x1f1)](_0x499290){const _0x6137c=_0x53738a;let _0x204d9e=[];for(let _0x42a341=0x0;_0x42a341<_0x499290[_0x6137c(0x1af)];_0x42a341++){const _0x115ebf=_0x499290[_0x42a341];if(_0x204d9e[_0x6137c(0x2ff)](_0x115ebf),_0x42a341!==_0x499290[_0x6137c(0x1af)]-0x1){const _0x11c9e8=_0x499290[_0x42a341+0x1],_0x17f3c1=this['_transformService']['transformMutations'](_0x204d9e,[_0x11c9e8]);_0x514835[_0x6137c(0x1c1)](_0x17f3c1)?_0x204d9e=_0x17f3c1[_0x6137c(0x1ab)]:_0x204d9e=[];}}return _0x204d9e;}['_getActiveSubUnitId'](_0x396d2c){const _0x6a3223=_0x53738a;let _0x22f2b6=[];return _0x396d2c[_0x6a3223(0x148)](_0x308858=>{const _0x2f68ca=_0x6a3223;if(_0x308858['id']===_0x3e6093['InsertSheetMutation']['id']){const _0x5e6cf4=_0x308858[_0x2f68ca(0x1c7)];_0x22f2b6[_0x2f68ca(0x2ff)](_0x5e6cf4[_0x2f68ca(0x175)]['id']);}else{if(_0x308858['id']===_0x3e6093[_0x2f68ca(0x204)]['id']){const _0x52e0e7=_0x308858[_0x2f68ca(0x1c7)];_0x22f2b6[_0x2f68ca(0x1af)]>0x0&&(_0x22f2b6=_0x22f2b6[_0x2f68ca(0xfc)](_0x194a93=>_0x194a93!==_0x52e0e7[_0x2f68ca(0x191)]));}else{if(_0x308858['id']===_0x3e6093['SetWorksheetHideMutation']['id']){const _0x5d30a1=_0x308858[_0x2f68ca(0x1c7)];_0x5d30a1[_0x2f68ca(0x177)]?_0x22f2b6=_0x22f2b6[_0x2f68ca(0xfc)](_0x112c49=>_0x112c49!==_0x5d30a1[_0x2f68ca(0x191)]):_0x22f2b6[_0x2f68ca(0x2ff)](_0x5d30a1[_0x2f68ca(0x191)]);}else{const _0x1fa1fa=_0x308858[_0x2f68ca(0x1c7)];_0x1fa1fa['subUnitId']&&_0x22f2b6[_0x2f68ca(0x2ff)](_0x1fa1fa[_0x2f68ca(0x191)]);}}}}),_0x22f2b6[_0x6a3223(0x1af)]>0x0?_0x22f2b6[_0x22f2b6[_0x6a3223(0x1af)]-0x1]:null;}[_0x53738a(0x229)](_0x53a215){const _0x216dcf=_0x53738a,_0x8b35d4=new Map();return _0x53a215['forEach'](_0x5832a9=>{const _0x4e4b34=_0x3675;var _0x278484,_0x4b8d2e;const _0x408cf3=(_0x278484=_0x5832a9[_0x4e4b34(0x1c7)])==null?void 0x0:_0x278484[_0x4e4b34(0x2d0)];if(_0x408cf3){_0x8b35d4[_0x4e4b34(0x2f8)](_0x408cf3)||_0x8b35d4[_0x4e4b34(0x143)](_0x408cf3,[]);const _0x434dc9=this['_getRangesByMutation'](_0x5832a9);(_0x4b8d2e=_0x8b35d4[_0x4e4b34(0x155)](_0x408cf3))==null||_0x4b8d2e['push'](..._0x434dc9);}}),_0x8b35d4[_0x216dcf(0x148)]((_0x6f3045,_0x202d60)=>{const _0x11717d=_0x216dcf;_0x8b35d4['set'](_0x202d60,this[_0x11717d(0x286)](_0x6f3045));}),_0x8b35d4;}['_getRangesByMutation'](_0x3b69ea){const _0x1c18bf=_0x53738a;switch(_0x3b69ea['id']){case _0x3e6093['AddRangeProtectionMutation']['id']:{const _0x3d410f=_0x3b69ea[_0x1c18bf(0x1c7)];return _0x3d410f[_0x1c18bf(0x1eb)][_0x1c18bf(0x293)](_0x471df4=>_0x471df4[_0x1c18bf(0x2fb)][_0x1c18bf(0x293)](_0x540a1e=>({'range':_0x540a1e,'unitId':_0x3d410f[_0x1c18bf(0x15f)],'subUnitId':_0x3d410f['subUnitId']})))[_0x1c18bf(0x108)]();}case _0x3e6093[_0x1c18bf(0x2d4)]['id']:{const _0x293eb8=_0x3b69ea['params'];return _0x293eb8[_0x1c18bf(0x2fb)][_0x1c18bf(0x293)](_0x50ac96=>({'range':_0x50ac96,'unitId':_0x293eb8['unitId'],'subUnitId':_0x293eb8[_0x1c18bf(0x191)]}));}case _0x3e6093['InsertRowMutation']['id']:{const _0x15ae60=_0x3b69ea['params'];return[{'range':_0x15ae60['range'],'unitId':_0x15ae60[_0x1c18bf(0x15f)],'subUnitId':_0x15ae60[_0x1c18bf(0x191)]}];}case _0x3e6093[_0x1c18bf(0x2b6)]['id']:{const _0x124fc6=_0x3b69ea['params'];return[{'range':_0x124fc6[_0x1c18bf(0x21e)],'unitId':_0x124fc6[_0x1c18bf(0x15f)],'subUnitId':_0x124fc6[_0x1c18bf(0x191)]}];}case _0x3e6093[_0x1c18bf(0x300)]['id']:{const _0x187d9b=_0x3b69ea[_0x1c18bf(0x1c7)],{from:_0x493d66,to:_0x1ba871,unitId:_0xa46037}=_0x187d9b;return[{'range':_0x17a691(_0x493d66[_0x1c18bf(0x147)]),'unitId':_0xa46037,'subUnitId':_0x493d66[_0x1c18bf(0x191)]},{'range':_0x17a691(_0x1ba871[_0x1c18bf(0x147)]),'unitId':_0xa46037,'subUnitId':_0x1ba871[_0x1c18bf(0x191)]}];}case _0x3e6093[_0x1c18bf(0x19c)]['id']:{const _0xd2bcc=_0x3b69ea[_0x1c18bf(0x1c7)],{unitId:_0x142a81,subUnitId:_0x555cda,sourceRange:_0x32bf3f,targetRange:_0x184a94}=_0xd2bcc,_0x5e9c9f=_0x32bf3f[_0x1c18bf(0x205)]-_0x32bf3f[_0x1c18bf(0x217)]+0x1;return[{'range':_0x184a94['startRow']<=_0x32bf3f[_0x1c18bf(0x217)]?_0x184a94:{..._0x184a94,'startRow':_0x184a94[_0x1c18bf(0x217)]-_0x5e9c9f,'endRow':_0x184a94[_0x1c18bf(0x205)]-_0x5e9c9f},'unitId':_0x142a81,'subUnitId':_0x555cda}];}case _0x3e6093[_0x1c18bf(0x137)]['id']:{const _0x49e2eb=_0x3b69ea[_0x1c18bf(0x1c7)],{unitId:_0x37e1f3,subUnitId:_0x4b496d,sourceRange:_0x1ba447,targetRange:_0x125e0e}=_0x49e2eb,_0x3f3223=_0x1ba447[_0x1c18bf(0xed)]-_0x1ba447[_0x1c18bf(0x247)]+0x1;return[{'range':_0x125e0e[_0x1c18bf(0x247)]<=_0x1ba447[_0x1c18bf(0x247)]?_0x125e0e:{..._0x125e0e,'startColumn':_0x125e0e[_0x1c18bf(0x247)]-_0x3f3223,'endColumn':_0x125e0e[_0x1c18bf(0xed)]-_0x3f3223},'unitId':_0x37e1f3,'subUnitId':_0x4b496d}];}case _0x3e6093['SetNumfmtMutation']['id']:{const _0xa33481=_0x3b69ea[_0x1c18bf(0x1c7)],{values:_0x24d6e5,unitId:_0x424dbf,subUnitId:_0x340a0e}=_0xa33481;return Object[_0x1c18bf(0x302)](_0x24d6e5)[_0x1c18bf(0x293)](_0x24c433=>_0x24c433[_0x1c18bf(0x2fb)][_0x1c18bf(0x293)](_0x2253cf=>({'range':_0x2253cf,'unitId':_0x424dbf,'subUnitId':_0x340a0e})))['flat']();}case _0x3e6093[_0x1c18bf(0x2e9)]['id']:{const _0x49c8bf=_0x3b69ea['params'],{ranges:_0x49c9f5,unitId:_0x24a219,subUnitId:_0x96803}=_0x49c8bf;return _0x49c9f5[_0x1c18bf(0x293)](_0x60fe4d=>({'range':_0x60fe4d,'unitId':_0x24a219,'subUnitId':_0x96803}));}case _0x3e6093['ReorderRangeMutation']['id']:{const _0x4c6fb1=_0x3b69ea[_0x1c18bf(0x1c7)],{unitId:_0x526636,subUnitId:_0x1c845b,range:_0x3a842a}=_0x4c6fb1;return[{'range':_0x3a842a,'unitId':_0x526636,'subUnitId':_0x1c845b}];}case _0x3e6093[_0x1c18bf(0x248)]['id']:{const _0x27d083=_0x3b69ea[_0x1c18bf(0x1c7)];return _0x27d083[_0x1c18bf(0x296)][_0x1c18bf(0x2fb)][_0x1c18bf(0x293)](_0x22ec6d=>({'range':_0x22ec6d,'unitId':_0x27d083[_0x1c18bf(0x15f)],'subUnitId':_0x27d083['subUnitId']}));}case _0x3e6093[_0x1c18bf(0x292)]['id']:{const _0xd4b22f=_0x3b69ea['params'];return _0xd4b22f['cellValue']?_0x5ce8b7(_0xd4b22f[_0x1c18bf(0x156)])['map'](_0x40d3c8=>({'range':_0x40d3c8,'unitId':_0xd4b22f[_0x1c18bf(0x15f)],'subUnitId':_0xd4b22f[_0x1c18bf(0x191)]})):[];}case _0x3ce115[_0x1c18bf(0x203)]['id']:{const _0x403f06=_0x3b69ea[_0x1c18bf(0x1c7)];return[{'range':_0x403f06[_0x1c18bf(0x21e)],'unitId':_0x403f06[_0x1c18bf(0x15f)],'subUnitId':_0x403f06[_0x1c18bf(0x191)]}];}case _0x2a47b4['AddDataValidationMutation']['id']:{const _0x4705e5=_0x3b69ea['params'];return(Array[_0x1c18bf(0x230)](_0x4705e5[_0x1c18bf(0x296)])?_0x4705e5[_0x1c18bf(0x296)]:[_0x4705e5['rule']])[_0x1c18bf(0x293)](_0x3431d0=>_0x3431d0['ranges'][_0x1c18bf(0x293)](_0x5f23b8=>({'range':_0x5f23b8,'unitId':_0x4705e5[_0x1c18bf(0x15f)],'subUnitId':_0x4705e5[_0x1c18bf(0x191)]})))[_0x1c18bf(0x108)]();}case _0x12fc38[_0x1c18bf(0x18a)]['id']:{const _0x3a0b25=_0x3b69ea[_0x1c18bf(0x1c7)];return _0x3a0b25[_0x1c18bf(0x296)]['ranges'][_0x1c18bf(0x293)](_0x182bb9=>({'range':_0x182bb9,'unitId':_0x3a0b25[_0x1c18bf(0x15f)],'subUnitId':_0x3a0b25[_0x1c18bf(0x191)]}));}default:return[];}}['_combineRanges'](_0x362866){const _0x19ab59=_0x53738a;if(_0x362866[_0x19ab59(0x1af)]<=0x1)return _0x362866;const _0x56f3a5=new Map();return _0x362866[_0x19ab59(0x148)](_0x45547d=>{const _0x250a69=_0x19ab59;var _0xb3468e;const {unitId:_0x29dd99,subUnitId:_0x10f3a2}=_0x45547d,_0x27881f=_0x29dd99+'-'+_0x10f3a2;_0x56f3a5['has'](_0x27881f)?(_0xb3468e=_0x56f3a5[_0x250a69(0x155)](_0x27881f))==null||_0xb3468e[_0x250a69(0x2ff)](_0x45547d):_0x56f3a5[_0x250a69(0x143)](_0x27881f,[_0x45547d]);}),Array[_0x19ab59(0x17e)](_0x56f3a5[_0x19ab59(0x302)]())[_0x19ab59(0x293)](_0x4a1dd1=>new _0x3e6093[(_0x19ab59(0x2b2))]()['add'](..._0x4a1dd1[_0x19ab59(0x293)](_0x2aae03=>_0x2aae03[_0x19ab59(0x21e)]))['merge']()[_0x19ab59(0x293)](_0x26d3c3=>({'range':_0x26d3c3,'unitId':_0x4a1dd1[0x0][_0x19ab59(0x15f)],'subUnitId':_0x4a1dd1[0x0][_0x19ab59(0x191)]})))[_0x19ab59(0x108)]();}};_0x1e157b=_0x49f4b2([_0x3bd68c[_0x53738a(0x152)](_0x3bd68c[_0x53738a(0x2c5)][_0x53738a(0x1ad)],_0x1e157b),_0x5f12e6(0x0,_0x3bd68c[_0x53738a(0x304)](_0x2f8b75[_0x53738a(0x1f8)])),_0x5f12e6(0x1,_0x514835[_0x53738a(0x127)]),_0x5f12e6(0x2,_0x514835[_0x53738a(0x14e)])],_0x1e157b);function _0x17a691(_0x43ca86){const _0x4c12b5=_0x53738a;return new _0x3bd68c['ObjectMatrix'](_0x43ca86)[_0x4c12b5(0x29e)]();}function _0x5ce8b7(_0x4c6fbe){const _0xa445de=_0x53738a,_0x3c6687=new _0x3bd68c['ObjectMatrix'](_0x4c6fbe),_0x291b3c=new _0x3bd68c['ObjectMatrix']();return _0x3c6687['forValue']((_0xca432,_0x59fde3)=>{const _0x2439ab=_0x3675;_0x291b3c[_0x2439ab(0xf1)](_0xca432,_0x59fde3,0x1);}),_0x3e6093[_0xa445de(0x1d1)](_0x291b3c);}var _0xcf6f92=Object['defineProperty'],_0x208c24=Object[_0x53738a(0x1e7)],_0x56a3ab=(_0x1be400,_0x208d1e,_0x12e0ec,_0x58d99a)=>{const _0x45e736=_0x53738a;for(var _0x3a91fd=_0x58d99a>0x1?void 0x0:_0x58d99a?_0x208c24(_0x208d1e,_0x12e0ec):_0x208d1e,_0x403d6d=_0x1be400[_0x45e736(0x1af)]-0x1,_0x2a6329;_0x403d6d>=0x0;_0x403d6d--)(_0x2a6329=_0x1be400[_0x403d6d])&&(_0x3a91fd=(_0x58d99a?_0x2a6329(_0x208d1e,_0x12e0ec,_0x3a91fd):_0x2a6329(_0x3a91fd))||_0x3a91fd);return _0x58d99a&&_0x3a91fd&&_0xcf6f92(_0x208d1e,_0x12e0ec,_0x3a91fd),_0x3a91fd;},_0x19e12d=(_0x2aaf0d,_0x4000ef)=>(_0x5cfe61,_0x17e71a)=>_0x4000ef(_0x5cfe61,_0x17e71a,_0x2aaf0d);let _0x25b8dc=class extends _0x3bd68c[_0x53738a(0x11f)]{constructor(_0x4cba4b,_0x5203be,_0x11427e,_0x3161f3,_0x437bbf,_0x2ad3c1,_0x5209ca,_0xcc4872){const _0x121140=_0x53738a;super(),_0x213de6(this,_0x121140(0x20d),new Set()),_0x213de6(this,_0x121140(0x283),null),(this[_0x121140(0x11d)]=_0x4cba4b,this[_0x121140(0x163)]=_0x5203be,this[_0x121140(0xf5)]=_0x11427e,this[_0x121140(0x2a5)]=_0x3161f3,this[_0x121140(0x122)]=_0x437bbf,this[_0x121140(0x2d2)]=_0x2ad3c1,this['_sheetSkeletonManagerService']=_0x5209ca,this[_0x121140(0x2a0)]=_0xcc4872,this[_0x121140(0x2f0)]());}[_0x53738a(0x2f0)](){const _0x199ac4=_0x53738a;this[_0x199ac4(0x166)](),this[_0x199ac4(0x2c1)]();}[_0x53738a(0x166)](){const _0x4780f9=_0x53738a;this['disposeWithMe'](_0x311b85['combineLatest']([this[_0x4780f9(0x163)][_0x4780f9(0x19a)],this[_0x4780f9(0x133)]['currentSkeleton$']])[_0x4780f9(0x24a)](_0x311b85[_0x4780f9(0x26c)](([_0x1ad724,_0x16c65e])=>{const _0xfc406c=_0x4780f9;if(_0x1ad724===_0x2ae2fb[_0xfc406c(0x16d)]&&_0x16c65e){const _0x5f0e59=_0x16c65e[_0xfc406c(0x193)];return this[_0xfc406c(0xf5)][_0xfc406c(0x2a9)][_0xfc406c(0x24a)](_0x311b85[_0xfc406c(0x293)](_0x5510cf=>{const _0x32ed3e=new Map();return _0x5510cf['ranges']['forEach']((_0x5390d7,_0xa98990)=>{const _0x3a2fab=_0x3675,_0xc88faa=_0x5390d7[_0x3a2fab(0xfc)](_0x2691d9=>_0x2691d9['subUnitId']===_0x5f0e59);_0x32ed3e['set'](_0xa98990,_0xc88faa);}),{'skeleton':_0x16c65e,'diffs':_0x32ed3e};}));}return _0x311b85['of']({'skeleton':null,'diffs':new Map()});}))[_0x4780f9(0x2ed)](({skeleton:_0x3cd84a,diffs:_0x33abdf})=>{const _0x3632c5=_0x4780f9;this[_0x3632c5(0x27d)](),_0x3cd84a&&this[_0x3632c5(0x2ee)](_0x3cd84a,_0x33abdf);})),this[_0x4780f9(0x266)](this[_0x4780f9(0x133)][_0x4780f9(0x130)][_0x4780f9(0x2ed)](_0x2e46cc=>{const _0x12e052=_0x4780f9;if(_0x2e46cc==null)return;const {skeleton:_0x1afaf7}=_0x2e46cc,{scene:_0x5519d3}=this[_0x12e052(0x11d)];_0x5519d3[_0x12e052(0xef)][_0x12e052(0x2e3)](_0x3bd68c[_0x12e052(0x199)](_0x1b5222=>{const _0x50656d=_0x12e052;var _0x370f01,_0x5c36d7;const {offsetX:_0x5569a4,offsetY:_0x3d8f34}=_0x1b5222,{x:_0x4fc00c,y:_0x401cd1}=_0x5519d3[_0x50656d(0x1d7)](_0x580b3d[_0x50656d(0x13f)][_0x50656d(0x268)]([_0x5569a4,_0x3d8f34])),{scaleX:_0x335ea1,scaleY:_0x22f6dd}=_0x5519d3[_0x50656d(0x10c)](),_0x5330e1=_0x5519d3[_0x50656d(0x1d4)](_0x5991dd['VIEWPORT_KEY'][_0x50656d(0x238)]),_0x11f27b=_0x5519d3['getVpScrollXYInfoByPosToVp'](_0x580b3d[_0x50656d(0x13f)][_0x50656d(0x268)]([_0x4fc00c,_0x401cd1]),_0x5330e1),_0x2151c1=_0x1afaf7['getCellPositionByOffset'](_0x5569a4,_0x3d8f34,_0x335ea1,_0x22f6dd,_0x11f27b);((_0x370f01=this[_0x50656d(0x283)])==null?void 0x0:_0x370f01[_0x50656d(0x2f1)])===_0x2151c1[_0x50656d(0x2f1)]&&((_0x5c36d7=this[_0x50656d(0x283)])==null?void 0x0:_0x5c36d7[_0x50656d(0x280)])===_0x2151c1['row']||this[_0x50656d(0x20d)]['forEach'](_0x468c3d=>{const _0x210d3f=_0x50656d;_0x468c3d[_0x210d3f(0x1a6)](_0x2151c1);});},0x64));}));}['_initActiveSwitch'](){const _0x3044f2=_0x53738a;this[_0x3044f2(0x266)](this[_0x3044f2(0x163)]['loadingState$'][_0x3044f2(0x2ed)](_0x4015f8=>{const _0x32e155=_0x3044f2,_0x57aae8=new _0x3bd68c[(_0x32e155(0x209))]();return _0x4015f8===_0x2ae2fb[_0x32e155(0x16d)]&&(_0x57aae8[_0x32e155(0x1e9)](),_0x57aae8[_0x32e155(0x2a4)](this['_versionDiffService'][_0x32e155(0x2a9)][_0x32e155(0x2ed)](_0xdddb76=>{const _0x25f0b7=_0x32e155;_0xdddb76[_0x25f0b7(0x21d)]&&this['_commandService'][_0x25f0b7(0x291)](_0x3e6093[_0x25f0b7(0x24c)]['id'],{'unitId':this[_0x25f0b7(0x11d)]['unitId'],'subUnitId':_0xdddb76[_0x25f0b7(0x21d)]});}))),()=>_0x57aae8[_0x32e155(0x1e9)]();}));}['_updateDiffMarks'](_0x3f6a56,_0x256dd6){const _0x55057d=_0x53738a;var _0x5a7fe5;const _0xa0200c=(_0x5a7fe5=this[_0x55057d(0x133)][_0x55057d(0x2ce)]())==null?void 0x0:_0x5a7fe5[_0x55057d(0xfd)];if(!_0xa0200c)return;this[_0x55057d(0x20d)][_0x55057d(0x148)](_0x3e07ed=>{_0x3e07ed['makeDirty']();});const {scene:_0x1c5424}=this[_0x55057d(0x11d)],_0x6a39d5=Array[_0x55057d(0x17e)](_0x256dd6[_0x55057d(0x157)]())[_0x55057d(0x293)](_0x5c1e7c=>_0x256dd6[_0x55057d(0x155)](_0x5c1e7c)[_0x55057d(0x293)](_0x5a60d6=>{const _0x33a2d7=_0x55057d;var _0x3e7770;const {range:_0x295dc1,subUnitId:_0x1edae6,unitId:_0x30b876}=_0x5a60d6,{startColumn:_0x4b6689,startRow:_0x5194d5,endColumn:_0x3b13d3,endRow:_0x433bc3}=_0x295dc1,_0x503b1c=_0x5991dd[_0x33a2d7(0x1db)](_0x5194d5,_0x4b6689,_0x1c5424,_0xa0200c),_0x44fea6=_0x5991dd['getCoordByCell'](_0x433bc3,_0x3b13d3,_0x1c5424,_0xa0200c),{columnHeaderHeightAndMarginTop:_0x233e94}=_0xa0200c,{startX:_0x58e491,startY:_0x396bcd}=_0x503b1c,{endX:_0x4b5500,endY:_0x1099df}=_0x44fea6,_0x4fbb47=_0x4b5500-_0x58e491,_0x5736b7=_0x1099df-_0x396bcd,_0x1ad58f={'labelPosition':_0x396bcd-_0x233e94>=0x14?_0x33a2d7(0x1a4):'bottom','sheetID':_0x1edae6,'range':_0x295dc1,'color':'rgba(58,\x2096,\x20247,\x200.20)','fillAfterStrokeEnabled':!0x0,'backgroundColor':'rgba(58,\x2096,\x20247,\x200.20)','name':((_0x3e7770=this['_historyManagerService'][_0x33a2d7(0x22c)](_0x5c1e7c))==null?void 0x0:_0x3e7770[_0x33a2d7(0x17d)])||'','selection':_0x30b876+'-'+_0x1edae6+'-'+_0x295dc1[_0x33a2d7(0x247)]+'-'+_0x295dc1[_0x33a2d7(0x217)]+'-'+_0x295dc1[_0x33a2d7(0xed)]+'-'+_0x295dc1[_0x33a2d7(0x205)],'left':_0x58e491,'top':_0x396bcd,'width':_0x4fbb47,'height':_0x5736b7,'evented':!0x1,'zIndex':0x1};return new _0x4ef0ae[(_0x33a2d7(0x1b6))]('',_0x1ad58f);}))[_0x55057d(0x108)]();_0x1c5424['addObjects'](_0x6a39d5,0x1),this[_0x55057d(0x20d)]=new Set(_0x6a39d5);}[_0x53738a(0x27d)](){const _0x262780=_0x53738a;var _0x58b092;(_0x58b092=this['_diffs'])==null||_0x58b092[_0x262780(0x148)](_0x3a1a78=>_0x3a1a78['dispose']());}['_getSheetObject'](){const _0x508d0c=_0x53738a;return _0x5991dd[_0x508d0c(0x2c9)](this[_0x508d0c(0x2a5)],this[_0x508d0c(0x122)]);}};_0x25b8dc=_0x56a3ab([_0x3bd68c['OnLifecycle'](_0x3bd68c[_0x53738a(0x2c5)][_0x53738a(0x1ad)],_0x25b8dc),_0x19e12d(0x1,_0x3bd68c[_0x53738a(0x304)](_0x2f8b75['HistoryManagerService'])),_0x19e12d(0x2,_0x3bd68c[_0x53738a(0x304)](_0x1e157b)),_0x19e12d(0x3,_0x3bd68c[_0x53738a(0x2d6)]),_0x19e12d(0x4,_0x580b3d[_0x53738a(0x15a)]),_0x19e12d(0x5,_0x3bd68c[_0x53738a(0x304)](_0x3bd68c['ThemeService'])),_0x19e12d(0x6,_0x3bd68c[_0x53738a(0x304)](_0x5991dd[_0x53738a(0x1be)])),_0x19e12d(0x7,_0x3bd68c[_0x53738a(0x2cf)])],_0x25b8dc);var _0x4b9b55=Object[_0x53738a(0x288)],_0x23c2a6=Object[_0x53738a(0x1e7)],_0x2fb5c5=(_0x2625bb,_0x30b6eb,_0xa3bfb5,_0x17321c)=>{const _0x5f158e=_0x53738a;for(var _0x48b022=_0x17321c>0x1?void 0x0:_0x17321c?_0x23c2a6(_0x30b6eb,_0xa3bfb5):_0x30b6eb,_0x2eaa9d=_0x2625bb[_0x5f158e(0x1af)]-0x1,_0x50fe2a;_0x2eaa9d>=0x0;_0x2eaa9d--)(_0x50fe2a=_0x2625bb[_0x2eaa9d])&&(_0x48b022=(_0x17321c?_0x50fe2a(_0x30b6eb,_0xa3bfb5,_0x48b022):_0x50fe2a(_0x48b022))||_0x48b022);return _0x17321c&&_0x48b022&&_0x4b9b55(_0x30b6eb,_0xa3bfb5,_0x48b022),_0x48b022;},_0x1024a9=(_0x3d3117,_0x253ed8)=>(_0xbdbfe1,_0x536aed)=>_0x253ed8(_0xbdbfe1,_0x536aed,_0x3d3117);let _0x293961=class extends _0x3bd68c['Disposable']{constructor(_0x149775){const _0x131f7e=_0x53738a;super(),this[_0x131f7e(0x228)]=_0x149775,this[_0x131f7e(0x2f0)]();}[_0x53738a(0x2f0)](){const _0x293198=_0x53738a;this[_0x293198(0x266)](this[_0x293198(0x228)]['state$']['subscribe'](_0x369146=>{const _0x1bb3a0=_0x293198;_0x369146!=null&&_0x369146[_0x1bb3a0(0xf6)]&&this[_0x1bb3a0(0x228)][_0x1bb3a0(0x26f)]({'show':!0x1});}));}};_0x293961=_0x2fb5c5([_0x3bd68c[_0x53738a(0x152)](_0x3bd68c['LifecycleStages'][_0x53738a(0x252)],_0x293961),_0x1024a9(0x0,_0x5991dd['ICellEditorManagerService'])],_0x293961);const _0x1ba9e8=_0x53738a(0x10a),_0x552384={};var _0x21087e=Object['defineProperty'],_0x208ff1=Object[_0x53738a(0x1e7)],_0x245425=(_0x36c362,_0x2f0c3b,_0x1ebf80)=>_0x2f0c3b in _0x36c362?_0x21087e(_0x36c362,_0x2f0c3b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1ebf80}):_0x36c362[_0x2f0c3b]=_0x1ebf80,_0x4584a6=(_0x1e0523,_0x1db724,_0x4c0d1c,_0x1e0052)=>{const _0x27a432=_0x53738a;for(var _0x1348d6=_0x1e0052>0x1?void 0x0:_0x1e0052?_0x208ff1(_0x1db724,_0x4c0d1c):_0x1db724,_0x304d47=_0x1e0523[_0x27a432(0x1af)]-0x1,_0x3a5d23;_0x304d47>=0x0;_0x304d47--)(_0x3a5d23=_0x1e0523[_0x304d47])&&(_0x1348d6=(_0x1e0052?_0x3a5d23(_0x1db724,_0x4c0d1c,_0x1348d6):_0x3a5d23(_0x1348d6))||_0x1348d6);return _0x1e0052&&_0x1348d6&&_0x21087e(_0x1db724,_0x4c0d1c,_0x1348d6),_0x1348d6;},_0x151d14=(_0x467dc1,_0x1f00d2)=>(_0x465230,_0x5e4c2b)=>_0x1f00d2(_0x465230,_0x5e4c2b,_0x467dc1),_0x3873cd=(_0x840f21,_0xccfcf9,_0x20d09d)=>_0x245425(_0x840f21,_0xccfcf9+'',_0x20d09d);const _0x46aae8=_0x53738a(0x2b1);_0x2f8b75[_0x53738a(0x215)]=class extends _0x3bd68c[_0x53738a(0x2d8)]{constructor(_0x1bd389=_0x552384,_0x49fd8e,_0x14ed51,_0x3d6d88){const _0x55d1dc=_0x53738a;super(),this['_config']=_0x1bd389,this['_injector']=_0x49fd8e,this[_0x55d1dc(0x122)]=_0x14ed51,this[_0x55d1dc(0x2c0)]=_0x3d6d88;const {..._0x3753cb}=this[_0x55d1dc(0x267)];this['_configService'][_0x55d1dc(0x1d8)](_0x1ba9e8,_0x3753cb);}['onStarting'](){const _0xd130ba=_0x53738a;[[_0x2f8b75['HistoryManagerService']],[_0x39ee36],[_0x1e157b],[_0x401289],[_0x1a52f4],[_0x55e4cf[_0xd130ba(0x20f)]],[_0x293961],[_0x55e4cf[_0xd130ba(0xfb)],{'useClass':_0x55e4cf[_0xd130ba(0x160)]}],[_0x514835['ISnapshotServerService'],{'useClass':_0x4ef0ae[_0xd130ba(0x23d)]}],[_0x3bd68c['IAuthzIoService'],{'useClass':_0x4ef0ae[_0xd130ba(0x1b7)]}],[_0xed5edc[_0xd130ba(0x111)],{'useClass':_0x1298d3}],[_0x113e3c[_0xd130ba(0x1e1)],{'useClass':_0x4ef0ae[_0xd130ba(0x240)]}]]['forEach'](_0x354a5a=>this['_injector'][_0xd130ba(0x2a4)](_0x354a5a));}[_0x53738a(0x121)](){const _0x52ec6a=_0x53738a;[[_0x25b8dc]][_0x52ec6a(0x148)](_0xe26a0c=>{const _0x4f67e4=_0x52ec6a;this['disposeWithMe'](this['_renderManagerService'][_0x4f67e4(0x18c)](_0x3bd68c[_0x4f67e4(0x1ba)]['UNIVER_SHEET'],_0xe26a0c));});}},_0x3873cd(_0x2f8b75[_0x53738a(0x215)],_0x53738a(0x1e4),_0x46aae8),_0x2f8b75[_0x53738a(0x215)]=_0x4584a6([_0x3bd68c['DependentOn'](_0x5991dd[_0x53738a(0x1b8)]),_0x151d14(0x1,_0x3bd68c[_0x53738a(0x304)](_0x3bd68c[_0x53738a(0x1f2)])),_0x151d14(0x2,_0x580b3d[_0x53738a(0x15a)]),_0x151d14(0x3,_0x3bd68c['IConfigService'])],_0x2f8b75[_0x53738a(0x215)]),_0x2f8b75[_0x53738a(0x1a5)]=_0x232582,Object['defineProperty'](_0x2f8b75,Symbol[_0x53738a(0x26b)],{'value':_0x53738a(0x13a)});}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/edit-history-viewer",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.12",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "UniverSheet Edit History Viewer",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -50,26 +50,26 @@
|
|
|
50
50
|
"clsx": ">=2.0.0",
|
|
51
51
|
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
|
|
52
52
|
"rxjs": ">=7.0.0",
|
|
53
|
-
"@univerjs-pro/collaboration": "0.2.
|
|
54
|
-
"@univerjs-pro/collaboration-client": "0.2.
|
|
55
|
-
"@univerjs/
|
|
56
|
-
"@univerjs/design": "0.2.
|
|
57
|
-
"@univerjs/
|
|
58
|
-
"@univerjs/
|
|
59
|
-
"@univerjs/engine-render": "0.2.
|
|
60
|
-
"@univerjs/
|
|
61
|
-
"@univerjs/sheets-conditional-formatting": "0.2.
|
|
62
|
-
"@univerjs/
|
|
63
|
-
"@univerjs/sheets-
|
|
64
|
-
"@univerjs/sheets-
|
|
65
|
-
"@univerjs/ui": "0.2.
|
|
53
|
+
"@univerjs-pro/collaboration": "0.2.12",
|
|
54
|
+
"@univerjs-pro/collaboration-client": "0.2.12",
|
|
55
|
+
"@univerjs/data-validation": "0.2.12",
|
|
56
|
+
"@univerjs/design": "0.2.12",
|
|
57
|
+
"@univerjs/drawing": "0.2.12",
|
|
58
|
+
"@univerjs/core": "0.2.12",
|
|
59
|
+
"@univerjs/engine-render": "0.2.12",
|
|
60
|
+
"@univerjs/sheets": "0.2.12",
|
|
61
|
+
"@univerjs/sheets-conditional-formatting": "0.2.12",
|
|
62
|
+
"@univerjs/network": "0.2.12",
|
|
63
|
+
"@univerjs/sheets-filter": "0.2.12",
|
|
64
|
+
"@univerjs/sheets-ui": "0.2.12",
|
|
65
|
+
"@univerjs/ui": "0.2.12"
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|
|
68
68
|
"@univerjs/icons": "^0.1.72",
|
|
69
69
|
"@univerjs/protocol": "0.1.39-alpha.15"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
|
-
"@types/react": "^18.3.
|
|
72
|
+
"@types/react": "^18.3.5",
|
|
73
73
|
"clsx": "^2.1.1",
|
|
74
74
|
"less": "^4.2.0",
|
|
75
75
|
"react": "18.3.1",
|
|
@@ -77,18 +77,18 @@
|
|
|
77
77
|
"typescript": "^5.5.4",
|
|
78
78
|
"vite": "^5.4.0",
|
|
79
79
|
"vitest": "^2.0.5",
|
|
80
|
-
"@univerjs-pro/collaboration
|
|
81
|
-
"@univerjs/core": "0.2.
|
|
82
|
-
"@univerjs/
|
|
83
|
-
"@univerjs
|
|
84
|
-
"@univerjs/
|
|
85
|
-
"@univerjs/
|
|
86
|
-
"@univerjs/docs": "0.2.
|
|
87
|
-
"@univerjs/network": "0.2.
|
|
88
|
-
"@univerjs/shared": "0.2.
|
|
89
|
-
"@univerjs/sheets": "0.2.
|
|
90
|
-
"@univerjs/sheets-ui": "0.2.
|
|
91
|
-
"@univerjs/ui": "0.2.
|
|
80
|
+
"@univerjs-pro/collaboration": "0.2.12",
|
|
81
|
+
"@univerjs/core": "0.2.12",
|
|
82
|
+
"@univerjs-pro/collaboration-client": "0.2.12",
|
|
83
|
+
"@univerjs/design": "0.2.12",
|
|
84
|
+
"@univerjs/engine-render": "0.2.12",
|
|
85
|
+
"@univerjs/docs-ui": "0.2.12",
|
|
86
|
+
"@univerjs/docs": "0.2.12",
|
|
87
|
+
"@univerjs/network": "0.2.12",
|
|
88
|
+
"@univerjs/shared": "0.2.12",
|
|
89
|
+
"@univerjs/sheets": "0.2.12",
|
|
90
|
+
"@univerjs/sheets-ui": "0.2.12",
|
|
91
|
+
"@univerjs/ui": "0.2.12"
|
|
92
92
|
},
|
|
93
93
|
"univerSpace": {
|
|
94
94
|
".": {
|