@univerjs-pro/edit-history-viewer 0.6.7 → 0.6.8
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/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -0
- package/lib/locale/en-US.js +1 -0
- package/lib/locale/fa-IR.js +1 -0
- package/lib/locale/fr-FR.js +1 -0
- package/lib/locale/ru-RU.js +1 -0
- package/lib/locale/vi-VN.js +1 -0
- package/lib/locale/zh-CN.js +1 -0
- package/lib/locale/zh-TW.js +1 -0
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +19 -19
package/lib/cjs/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x1ac75f=_0x2bb3;(function(_0x1bd969,_0x4e6f10){const _0x3a8d5d=_0x2bb3,_0x385687=_0x1bd969();while(!![]){try{const _0x516619=-parseInt(_0x3a8d5d(0xb9))/0x1+parseInt(_0x3a8d5d(0xb1))/0x2+parseInt(_0x3a8d5d(0xb7))/0x3*(-parseInt(_0x3a8d5d(0xb8))/0x4)+parseInt(_0x3a8d5d(0xbe))/0x5+-parseInt(_0x3a8d5d(0xa0))/0x6+-parseInt(_0x3a8d5d(0xa4))/0x7+parseInt(_0x3a8d5d(0xab))/0x8;if(_0x516619===_0x4e6f10)break;else _0x385687['push'](_0x385687['shift']());}catch(_0x39f2ae){_0x385687['push'](_0x385687['shift']());}}}(_0x5226,0xb8b96));const e={'editHistory':{'panel':{'title':_0x1ac75f(0xbb),'unknownUser':_0x1ac75f(0xa8),'listFetchError':_0x1ac75f(0xa6),'revertConfirm':_0x1ac75f(0x9e),'revertConfirmText':'This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','cancel':_0x1ac75f(0xb3),'confirm':_0x1ac75f(0xa1),'reverting':_0x1ac75f(0xaf),'revertFailed':_0x1ac75f(0xb0),'currentVersion':'Current\x20Version','currentUser':'Current\x20User','revertDesc':_0x1ac75f(0xb2)},'info':{'loading':_0x1ac75f(0xbf)},'header':{'back':_0x1ac75f(0xad),'revert':_0x1ac75f(0xb2)},'action':{'insertSheet':_0x1ac75f(0xc0),'removeSheet':_0x1ac75f(0xaa),'createSheet':_0x1ac75f(0xa2),'setFilter':_0x1ac75f(0xba),'setFrozen':_0x1ac75f(0xa7),'editSheet':_0x1ac75f(0xb6),'revertSheet':_0x1ac75f(0xae),'revertSheetPrefix':_0x1ac75f(0xb4),'revertSheetSuffix':'','setDV':_0x1ac75f(0xbd),'setCF':_0x1ac75f(0xa3),'addCF':_0x1ac75f(0xa9),'addProtection':_0x1ac75f(0xac),'addSparkline':_0x1ac75f(0xb5),'deleteProtection':_0x1ac75f(0xbc),'etc':_0x1ac75f(0x9f)}}},t=e;function _0x2bb3(_0x50e450,_0x2b78e0){const _0x522655=_0x5226();return _0x2bb3=function(_0x2bb31b,_0x472a3d){_0x2bb31b=_0x2bb31b-0x9e;let _0x1e39eb=_0x522655[_0x2bb31b];return _0x1e39eb;},_0x2bb3(_0x50e450,_0x2b78e0);}function _0x5226(){const _0x545422=['Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','2889606DZZuAy','Restore\x20this\x20version','Cancel','Reverted\x20from','add\x20sparkline','edited\x20worksheet','104394nizHPs','52PaKDAP','762067yVqfdy','set\x20filter','Edit\x20History','delete\x20protection','set\x20data\x20validation','6371425gxDLem','loading,\x20please\x20wait...','inserted\x20worksheet','Restore\x20this\x20version?',',\x20etc.','6774096PqMAAq','Confirm','created\x20workbook','set\x20conditional\x20formatting','5925031cfVVmW','exports','Failed\x20to\x20get\x20edit\x20history\x20list','set\x20frozen','Unknown\x20User','add\x20conditional\x20formatting','deleted\x20worksheet','9819456INmiSQ','add\x20protection','Back','reverted\x20workbook','Reverting,\x20please\x20wait...'];_0x5226=function(){return _0x545422;};return _0x5226();}module[_0x1ac75f(0xa5)]=t;
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x40c61f=_0x48f2;(function(_0x8ee185,_0x3499e1){const _0x5ccfa1=_0x48f2,_0x4d34a1=_0x8ee185();while(!![]){try{const _0x523c61=-parseInt(_0x5ccfa1(0x210))/0x1+-parseInt(_0x5ccfa1(0x1ed))/0x2+-parseInt(_0x5ccfa1(0x20e))/0x3+-parseInt(_0x5ccfa1(0x1ee))/0x4*(-parseInt(_0x5ccfa1(0x201))/0x5)+-parseInt(_0x5ccfa1(0x110))/0x6*(-parseInt(_0x5ccfa1(0x1cd))/0x7)+-parseInt(_0x5ccfa1(0xcf))/0x8*(-parseInt(_0x5ccfa1(0x150))/0x9)+parseInt(_0x5ccfa1(0x1ea))/0xa;if(_0x523c61===_0x3499e1)break;else _0x4d34a1['push'](_0x4d34a1['shift']());}catch(_0xadd2ae){_0x4d34a1['push'](_0x4d34a1['shift']());}}}(_0x1876,0x9ea9a));function _0x1876(){const _0x596274=['HideWorksheet','CreateWorksheet','univer-version-item','EditWorksheetCell','_sidebarService','FromArray','endRevision','fill','ViewFilter','_localeService','span','workbook','_updateDiffMarks','univer-version-item-header-time-tag','backgroundColor','setFrozen','currentVersion','VIRTUAL_VERSION_NOW','getVpScrollXYInfoByPosToVp','YUUMI_URL_COL_OUT_OF_RANGE','register','apply','_historyContainerId','pluginName','historyViewHeaderRevert','subscribe','_context','_dialogOptions$','HideSheet','CopySheet','_historyFetchService','versions','UniverIcon','defineProperty','LICENSE_IMPORT_SIZE_EXCEEDED','idSuffix','blocks','COMPLETION_FINISHED','status$','INVALID_INVITE_CODE','_initMaskContainer','function','showMask','DeleteRow','SNAPSHOT_HAS_BEEN_REMOVED','string','_httpService','_revertRevision$','blockMeta','versionItemHeaderRevert','5450022VTxwOX','emptyText','getMember','extend','display','mask','restore-single','show','forEach','ranges','BackSingle','InsertColumn','24px','triggerLoadSheet','tag','getConfig','style','_uiPartsService','onSteady','SetWorksheetStyle','updatePermissionPoint','rules','length','editHistory.panel.currentUser','ALREADY_EXISTS','current','_initActiveSwitch','Delete','getOwnPropertyDescriptor','disposeWithMe','_univerInstanceService','has','getElementById','100%','PERMISSION_DENIED','univer-version-list-panel','ManageCollaborator','editHistory.action.etc','triggerRevert','toString','_commandService','_members','LOGIN_FAILED','historyViewHeaderBack','_currentVersionDiff$','sheet','SetCellStyle','_getAPIPrefix','INVALID_ARGUMENT','UNIVER_PROJECT','0\x200\x2016\x2017','ViewHistory','none','SetRowStyle','univer-version-item-header-expand','getCellPositionByOffset','pipe','endRow','UNIVER_DOC','_unitId$','ENSURE_SNAPSHOT_EXECUTION','mutations','className','toISOString','54VjiQnO','subUnitId','path','ViemRwHgtClWdt','onPointerMove$','_getRangesByMutation','fetchThroughInterceptors','hidden','_initPanel','hideMask','userId','userID','center','colorChannel1','versionItemHeader','deleteProtection','cellValue','univer-active','loadingState$','View','push','_createMask','createElement','values','isArray','editHistory.panel.revertDesc','editHistory.action.revertSheetPrefix','CHANGESET_REVISION_CONFILICT','unitId','versions$','_fetching','width','attrs','TOO_MANY_REQUESTS','univer-version-list-loading-icon','createTime','revertSheet','dateString','/universer-api/history','getCurrentLocale','displayName','currentSkeleton$','_updateVersions','_injector','getOwnPropertySymbols','Comment','_sidebarDisposable','disposeUnit','padStart','next','Edit','SelectUnProtectedCells','1000','editHistory.action.','_canRevert','_permissionService','Export','trim','setState','versionDate','state$','RestoreSingle','setDV','canRevert','column','name','ZH_CN','scrollEvent$','currentColor','icon','RwHgtClWdt','_transformMutationByOrder','INVITE_CODE_ALREADY_BOUND','get','endRev','_configService','revertRevision$','_removeDiffMarks','add','removeSheet','COMPRESS_MUTATION_APPLY','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','transformMutations','rule','getUnitId','YUUMI_RATE_OVER_LIMIT','InsertHyperlink','_lastLabel','SNAPSHOT_INVALID_SNAPSHOT','history-panel','Print','versionItemContent','insertSheet','SetCellValue','_transformService','parse','RecoverHistory','addSparkline','Duplicate','versionListPanel','xlink:href','APPLY_NON_SEQUENTIAL_REVISION','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','entered','commands','empty','command','getUnitOnRev','INVITE_CODE_REQUIRED','confirm','LICENSE_EXPORT_SIZE_EXCEEDED','_hasMore','Filter','changesets','USER_NOT_INVITED_CODE','_versionDiffService','_componentManager','_workbookDataCache','registerRenderModule','ensureVersion','_status$','action','editSheet','forValue','getVersion','7TLmgcn','historyListServerUrl','close','_openPanel','exited','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','body','anonymous','setCF','defs','dispose','LICENSE_MAX_UNITS_EXCEEDED','&lastLabel=','_cellEditorManagerService','getVersions','editHistory.action.revertSheetSuffix','m1Prime','set','endColumn','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','_versions$','RenameSheet','code','Sort','_renderManagerService','getAncestorScale','replace','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','_messageService','2686670FFITTG','evenodd','editHistory.header.revert','2166268YpGFcG','1989116LJGBDg','editHistory.panel.title','YUUMI_SUBSCRIPTION_NOT_FOUND','Info','left','NOT_FOUND','all','_lastPointer','SetColumnStyle','getDialogs$','entries','split','substring','params','svg','interceptor','PY_RUNTIME_SCRIPT_ERROR','editHistory.panel.confirm','editHistory.panel.unknownUser','10qoELch','univer-history-view-header-revert','init','APPLY_REJECT','focusUnit','fetchMissingChangesets','top','DeleteSheet','PivotTable','position','asObservable','Entered','#fff','223278ilQqpT','unitId$','708508lfYuLO','1em','YUUMI_UNABLE_LOAD_URL','open','univer-text-gray-500','INVITE_CODE_HAS_BEEN_UES','addProtection','onStarting','Exited','univer-version-item-header','executeCommand','_currentVersion$','rgba(58,\x2096,\x20247,\x200.20)','APPLY_DUPLICATED','rev','INTERNAL_ERROR','date','_getActiveSubUnitId','_maskElement','DeleteWorksheet','closeAll','onRendered','_historyManagerService','UNIVER_UNKNOWN','History','Error','loadMoreVersions','Loaded','call','div','loaded','Copy','getDataRange','memberId','registerComponent','keys','getMinutes','DeleteColumn','EditExtraObject','use','justifyContent','getCurrent','MoveWorksheet','getHours','active','SelectProtectedCells','propertyIsEnumerable','rgba(225,\x20225,\x20225,\x200.5)','/list?length=20','restore-single_clip0_1247_2','stopPropagation','_init','startRevision','bottom','APPLY_REVISION_CONFILICT','prototype','_diffs','edit-history-viewer.config','row','zIndex','history-mask','createSheet','editHistory.panel.cancel','time','height','FloatImg','_createUnit','map','color','find','UNRECOGNIZED','univer-version-item-header-revert','0\x200\x2016\x2016','versionItemHeaderExpand','subType','getRelativeToViewportCoord','status','loadSheet','getCurrentUnitForType','_compressMutationService','loading','addObjects','currentVersionDiff$','univer-version-date','_sheetSkeletonManagerService','Today','children','currentVersion$','from','_extractRanges','value','random','onMouseMove','makeDirty','versionListPanelContent','CreatePermissionObject','getCurrentVersion','UNDEFINED','versionItemHeaderTimeTag','Loading','versionListLoading','InsertRow','absolute','univer-version-item-content','editHistory.info.loading','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','block','historyViewHeader','_getSheetObject','assign','range','LICENSE_DISTRO_REJECTED','_loadingState$','_confirmService','UNIVER_SHEET','filter','recoverTime','flat','user','indexOf','flex','_snapshotServerService','Share','subscribeEvent','_config','_diffRangesMap','VIEW_MAIN','_maskContainer','concat','sheetId','editHistory.panel.currentVersion','querySelector','setValue','459184HWVmpD','setConfig','APPLY_PERMISSION_DENIED',':\x20(','getInterceptPoints','Init','startColumn','error','CONNECTOR_DATA_TOO_LARGE','defIds','MoveSheet','startRow','clipPath','back-single','includes'];_0x1876=function(){return _0x596274;};return _0x1876();}var je=Object['defineProperty'],Fe=(_0x2d7a7d,_0x138249,_0x2af67a)=>_0x138249 in _0x2d7a7d?je(_0x2d7a7d,_0x138249,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2af67a}):_0x2d7a7d[_0x138249]=_0x2af67a,l=(_0x375867,_0x406dcc,_0x4d9050)=>Fe(_0x375867,typeof _0x406dcc!='symbol'?_0x406dcc+'':_0x406dcc,_0x4d9050);import{RevertRevisionMutation as _0x1d5fff,CreateUnitMutation as _0x2c2077,ISnapshotServerService as _0x57858c,CompressMutationService as _0x499dfa,transformSnapshotToWorkbookData as _0x108b81,ITransformService as _0x4bf93c,parseProtocolChangeset as _0x434d5d,isTransformMutationsSuccess as _0x526c29}from'@univerjs-pro/collaboration';import{SnapshotServerOverHTTPService as _0x324405,CollaborationImageIoService as _0x3e2102}from'@univerjs-pro/collaboration-client';import{Disposable as _0x892c91,LocaleType as _0xd9660f,IUniverInstanceService as _0x294665,ICommandService as _0x27e66b,IConfigService as _0x53b69c,Inject as _0x34439e,UniverInstanceType as _0x2c8f9b,LocaleService as _0x46b818,IPermissionService as _0x31fd1d,Injector as _0x30e6aa,ObjectMatrix as _0x30f4b2,debounce as _0x4f5bbf,DisposableCollection as _0x252bb3,toDisposable as _0x53f98a,DependentOn as _0x19c3f4,Plugin as _0x3a3110,merge as _0x2ee2b0}from'@univerjs/core';import{IImageIoService as _0x5d1ddb}from'@univerjs/drawing';import{IRenderManagerService as _0x5b6e1b,Vector2 as _0x14a70b,SHEET_VIEWPORT_KEY as _0x50f168}from'@univerjs/engine-render';import{HTTPService as _0x49be83,UniverNetworkPlugin as _0x3f1db7}from'@univerjs/network';import{ICellEditorManagerService as _0xb3e132,SheetSkeletonManagerService as _0xae9368,getCoordByCell as _0x3c6091,getSheetObject as _0x54912a,UniverSheetsUIPlugin as _0x1bb0b0}from'@univerjs/sheets-ui';import{IMessageService as _0x1e2b5d,IConfirmService as _0x4d10aa,useDependency as _0x37cb0c,useObservable as _0x89be2,IUIPartsService as _0x3b1e63,BuiltInUIPart as _0x467a34,connectInjector as _0x2f88b5,ISidebarService as _0x2c60a1,ComponentManager as _0x20d2b4,IDialogService as _0x5edd1f}from'@univerjs/ui';import{MessageType as _0x53d270,Button as _0x28f93c,clsx as _0x25c1e8,Tooltip as _0x521f2e}from'@univerjs/design';import{InsertSheetMutation as _0x2cf0fe,RemoveSheetMutation as _0x9c631c,SetFrozenMutation as _0x1ef01a,AddWorksheetProtectionMutation as _0xdbac3b,AddRangeProtectionMutation as _0x5e229b,DeleteRangeProtectionMutation as _0x295061,DeleteWorksheetProtectionMutation as _0x13f9d1,WorkbookEditablePermission as _0x196339,WorkbookRenameSheetPermission as _0x315ee6,WorkbookMoveSheetPermission as _0x491cef,WorkbookHideSheetPermission as _0x216c93,SetWorksheetHideMutation as _0x11f2ec,SetRangeValuesMutation as _0x5ba9f2,SetRangeProtectionMutation as _0x13b215,ReorderRangeMutation as _0x540986,RemoveNumfmtMutation as _0x3bef1d,SetNumfmtMutation as _0x422f7d,MoveColsMutation as _0x4520f1,MoveRowsMutation as _0x520d22,MoveRangeMutation as _0x511017,InsertColMutation as _0x1dd75a,InsertRowMutation as _0x1dcb57,AddWorksheetMergeMutation as _0x374320,RangeMergeUtil as _0x5e195f,findAllRectangle as _0x673c33,SetWorksheetActiveOperation as _0x31bd05}from'@univerjs/sheets';import{BehaviorSubject as _0x1bb5a0,combineLatest as _0x42904c,switchMap as _0x3f8521,map as _0x23bca1,of as _0xb2cc15,debounceTime as _0x5a90dc,Subject as _0x36798f}from'rxjs';import{AddDataValidationMutation as _0x1b616a,UpdateDataValidationMutation as _0x44ed40}from'@univerjs/data-validation';import{SetConditionalRuleMutation as _0x1d7dd9,AddConditionalRuleMutation as _0x24e087}from'@univerjs/sheets-conditional-formatting';import{SetSheetsFilterRangeMutation as _0x2c2bec}from'@univerjs/sheets-filter';import{AddSheetSparklineMutation as _0x4d0d48}from'@univerjs-pro/sheets-sparkline';function _0x48f2(_0x4fae38,_0x2d926c){const _0x187609=_0x1876();return _0x48f2=function(_0x48f29a,_0x13f2a6){_0x48f29a=_0x48f29a-0xa1;let _0x2d7664=_0x187609[_0x48f29a];return _0x2d7664;},_0x48f2(_0x4fae38,_0x2d926c);}import{jsxs as _0x2b8013,jsx as _0x5717c5}from'react/jsx-runtime';import{forwardRef as _0x2dd8a3,useRef as _0x2930e1,createElement as _0x1055f7,useCallback as _0x3967f1,useState as _0x37ec09,Fragment as _0xd5abb3}from'react';import{SheetCollabCursorShape as _0x13b0fa}from'@univerjs-pro/collaboration-client-ui';const we=_0x40c61f(0x249),_e={};var ss=Object['getOwnPropertyDescriptor'],is=(_0x597b5d,_0x5b457d,_0x42afbb,_0x37331f)=>{const _0x592519=_0x40c61f;for(var _0x52ee04=_0x37331f>0x1?void 0x0:_0x37331f?ss(_0x5b457d,_0x42afbb):_0x5b457d,_0x20ef61=_0x597b5d[_0x592519(0x126)]-0x1,_0x424b42;_0x20ef61>=0x0;_0x20ef61--)(_0x424b42=_0x597b5d[_0x20ef61])&&(_0x52ee04=_0x424b42(_0x52ee04)||_0x52ee04);return _0x52ee04;},rs=(_0x57bb7d,_0x401a29)=>(_0x52b977,_0x21ea36)=>_0x401a29(_0x52b977,_0x21ea36,_0x57bb7d);let W=class extends _0x892c91{constructor(_0x4b58a4){const _0x3cc907=_0x40c61f;super(),this[_0x3cc907(0x1da)]=_0x4b58a4,this['_init']();}['_init'](){const _0x52ba6e=_0x40c61f;this[_0x52ba6e(0x12d)](this[_0x52ba6e(0x1da)][_0x52ba6e(0x18c)]['subscribe'](_0x4c609f=>{const _0x34679d=_0x52ba6e;_0x4c609f!=null&&_0x4c609f['show']&&this[_0x34679d(0x1da)][_0x34679d(0x18a)]({'show':!0x1});}));}};W=is([rs(0x0,_0xb3e132)],W);var Z=(_0x62027f=>(_0x62027f[_0x62027f[_0x40c61f(0xab)]=0x0]=_0x40c61f(0xab),_0x62027f[_0x62027f['OK']=0x1]='OK',_0x62027f[_0x62027f[_0x40c61f(0x21f)]=0x2]=_0x40c61f(0x21f),_0x62027f[_0x62027f['PERMISSION_DENIED']=0x3]=_0x40c61f(0x132),_0x62027f[_0x62027f[_0x40c61f(0x1f3)]=0x4]='NOT_FOUND',_0x62027f[_0x62027f['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x62027f[_0x62027f[_0x40c61f(0x128)]=0x6]='ALREADY_EXISTS',_0x62027f[_0x62027f[_0x40c61f(0x140)]=0x7]=_0x40c61f(0x140),_0x62027f[_0x62027f[_0x40c61f(0x171)]=0x8]=_0x40c61f(0x171),_0x62027f[_0x62027f[_0x40c61f(0x103)]=0x9]=_0x40c61f(0x103),_0x62027f[_0x62027f[_0x40c61f(0x13a)]=0xa]=_0x40c61f(0x13a),_0x62027f[_0x62027f[_0x40c61f(0x16b)]=0x1389]=_0x40c61f(0x16b),_0x62027f[_0x62027f[_0x40c61f(0x1a8)]=0x1771]=_0x40c61f(0x1a8),_0x62027f[_0x62027f['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x40c61f(0x10a),_0x62027f[_0x62027f[_0x40c61f(0x14c)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x62027f[_0x62027f[_0x40c61f(0x204)]=0x1b59]=_0x40c61f(0x204),_0x62027f[_0x62027f[_0x40c61f(0x1b5)]=0x1b5a]=_0x40c61f(0x1b5),_0x62027f[_0x62027f['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x40c61f(0x246),_0x62027f[_0x62027f[_0x40c61f(0xd1)]=0x1b5c]=_0x40c61f(0xd1),_0x62027f[_0x62027f[_0x40c61f(0x21d)]=0x1b5d]=_0x40c61f(0x21d),_0x62027f[_0x62027f[_0x40c61f(0xd7)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x62027f[_0x62027f['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x40c61f(0x1d8),_0x62027f[_0x62027f['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x40c61f(0x1d2),_0x62027f[_0x62027f[_0x40c61f(0x100)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x62027f[_0x62027f[_0x40c61f(0x1be)]=0x232c]=_0x40c61f(0x1be),_0x62027f[_0x62027f[_0x40c61f(0xb9)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x62027f[_0x62027f[_0x40c61f(0x212)]=0x2711]=_0x40c61f(0x212),_0x62027f[_0x62027f['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x40c61f(0xf1),_0x62027f[_0x62027f[_0x40c61f(0x1a5)]=0x2713]=_0x40c61f(0x1a5),_0x62027f[_0x62027f[_0x40c61f(0x1f0)]=0x2714]=_0x40c61f(0x1f0),_0x62027f[_0x62027f[_0x40c61f(0x1fe)]=0x2af9]=_0x40c61f(0x1fe),_0x62027f[_0x62027f[_0x40c61f(0x215)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x62027f[_0x62027f[_0x40c61f(0x105)]=0x2ee2]=_0x40c61f(0x105),_0x62027f[_0x62027f[_0x40c61f(0x1bc)]=0x2ee3]=_0x40c61f(0x1bc),_0x62027f[_0x62027f[_0x40c61f(0x1c2)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x62027f[_0x62027f[_0x40c61f(0x198)]=0x2ee5]=_0x40c61f(0x198),_0x62027f[_0x62027f[_0x40c61f(0x256)]=-0x1]='UNRECOGNIZED',_0x62027f))(Z||{}),j=(_0x193543=>(_0x193543[_0x193543[_0x40c61f(0x227)]=0x0]='UNIVER_UNKNOWN',_0x193543[_0x193543[_0x40c61f(0x14a)]=0x1]='UNIVER_DOC',_0x193543[_0x193543[_0x40c61f(0xbc)]=0x2]=_0x40c61f(0xbc),_0x193543[_0x193543['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x193543[_0x193543[_0x40c61f(0x141)]=0x4]=_0x40c61f(0x141),_0x193543[_0x193543[_0x40c61f(0x256)]=-0x1]=_0x40c61f(0x256),_0x193543))(j||{}),C=(_0x17d5bf=>(_0x17d5bf[_0x17d5bf[_0x40c61f(0x163)]=0x0]=_0x40c61f(0x163),_0x17d5bf[_0x17d5bf[_0x40c61f(0x182)]=0x1]=_0x40c61f(0x182),_0x17d5bf[_0x17d5bf[_0x40c61f(0x134)]=0x2]=_0x40c61f(0x134),_0x17d5bf[_0x17d5bf[_0x40c61f(0x1aa)]=0x3]=_0x40c61f(0x1aa),_0x17d5bf[_0x17d5bf[_0x40c61f(0x1b2)]=0x4]=_0x40c61f(0x1b2),_0x17d5bf[_0x17d5bf['Comment']=0x5]=_0x40c61f(0x17d),_0x17d5bf[_0x17d5bf[_0x40c61f(0x22f)]=0x6]=_0x40c61f(0x22f),_0x17d5bf[_0x17d5bf[_0x40c61f(0xc4)]=0x7]=_0x40c61f(0xc4),_0x17d5bf[_0x17d5bf['Export']=0x8]=_0x40c61f(0x188),_0x17d5bf[_0x17d5bf[_0x40c61f(0x23a)]=0x9]=_0x40c61f(0x23a),_0x17d5bf[_0x17d5bf['DeleteWorksheet']=0xa]=_0x40c61f(0x223),_0x17d5bf[_0x17d5bf[_0x40c61f(0xde)]=0xb]='HideWorksheet',_0x17d5bf[_0x17d5bf['RenameWorksheet']=0xc]='RenameWorksheet',_0x17d5bf[_0x17d5bf[_0x40c61f(0xdf)]=0xd]=_0x40c61f(0xdf),_0x17d5bf[_0x17d5bf[_0x40c61f(0x123)]=0xe]='SetWorksheetStyle',_0x17d5bf[_0x17d5bf[_0x40c61f(0xe1)]=0xf]=_0x40c61f(0xe1),_0x17d5bf[_0x17d5bf[_0x40c61f(0x1a6)]=0x10]=_0x40c61f(0x1a6),_0x17d5bf[_0x17d5bf[_0x40c61f(0x1e4)]=0x11]='Sort',_0x17d5bf[_0x17d5bf[_0x40c61f(0x1c0)]=0x12]='Filter',_0x17d5bf[_0x17d5bf[_0x40c61f(0x209)]=0x13]=_0x40c61f(0x209),_0x17d5bf[_0x17d5bf[_0x40c61f(0x251)]=0x14]=_0x40c61f(0x251),_0x17d5bf[_0x17d5bf['History']=0x15]=_0x40c61f(0x228),_0x17d5bf[_0x17d5bf[_0x40c61f(0x196)]=0x16]=_0x40c61f(0x196),_0x17d5bf[_0x17d5bf[_0x40c61f(0x153)]=0x17]=_0x40c61f(0x153),_0x17d5bf[_0x17d5bf[_0x40c61f(0xe6)]=0x18]=_0x40c61f(0xe6),_0x17d5bf[_0x17d5bf[_0x40c61f(0xd9)]=0x19]=_0x40c61f(0xd9),_0x17d5bf[_0x17d5bf[_0x40c61f(0x208)]=0x1a]=_0x40c61f(0x208),_0x17d5bf[_0x17d5bf[_0x40c61f(0xfa)]=0x1b]='HideSheet',_0x17d5bf[_0x17d5bf[_0x40c61f(0xfb)]=0x1c]=_0x40c61f(0xfb),_0x17d5bf[_0x17d5bf[_0x40c61f(0x1e2)]=0x1d]=_0x40c61f(0x1e2),_0x17d5bf[_0x17d5bf['CreateSheet']=0x1e]='CreateSheet',_0x17d5bf[_0x17d5bf[_0x40c61f(0x23d)]=0x1f]=_0x40c61f(0x23d),_0x17d5bf[_0x17d5bf[_0x40c61f(0x183)]=0x20]='SelectUnProtectedCells',_0x17d5bf[_0x17d5bf[_0x40c61f(0x13e)]=0x21]=_0x40c61f(0x13e),_0x17d5bf[_0x17d5bf[_0x40c61f(0x1ad)]=0x22]=_0x40c61f(0x1ad),_0x17d5bf[_0x17d5bf['SetRowStyle']=0x23]=_0x40c61f(0x145),_0x17d5bf[_0x17d5bf[_0x40c61f(0x1f6)]=0x24]=_0x40c61f(0x1f6),_0x17d5bf[_0x17d5bf[_0x40c61f(0xaf)]=0x25]=_0x40c61f(0xaf),_0x17d5bf[_0x17d5bf[_0x40c61f(0x11b)]=0x26]=_0x40c61f(0x11b),_0x17d5bf[_0x17d5bf['DeleteRow']=0x27]=_0x40c61f(0x109),_0x17d5bf[_0x17d5bf[_0x40c61f(0x235)]=0x28]=_0x40c61f(0x235),_0x17d5bf[_0x17d5bf[_0x40c61f(0x236)]=0x29]=_0x40c61f(0x236),_0x17d5bf[_0x17d5bf[_0x40c61f(0x12b)]=0x2a]=_0x40c61f(0x12b),_0x17d5bf[_0x17d5bf[_0x40c61f(0x1b0)]=0x2b]=_0x40c61f(0x1b0),_0x17d5bf[_0x17d5bf[_0x40c61f(0x143)]=0x2c]=_0x40c61f(0x143),_0x17d5bf[_0x17d5bf[_0x40c61f(0xa9)]=0x2d]='CreatePermissionObject',_0x17d5bf[_0x17d5bf['UNRECOGNIZED']=-0x1]=_0x40c61f(0x256),_0x17d5bf))(C||{});function ns(_0x197a3e){const _0x199cd5=_0x40c61f;return!!(_0x197a3e&&_0x197a3e[_0x199cd5(0x1e3)]&&_0x197a3e[_0x199cd5(0x1e3)]!==Z['OK']&&_0x197a3e[_0x199cd5(0x1e3)]!=='OK');}const ae=(_0xdfab2,_0x14425e)=>{const _0x1fd059=_0x40c61f;if(!_0xdfab2)return{'date':'','time':''};const _0x221825=new Date(_0xdfab2),_0x565df0=_0x221825[_0x1fd059(0x14f)]()[_0x1fd059(0x1f9)]('T')[0x0];switch(_0x14425e){case _0xd9660f[_0x1fd059(0x192)]:return{'date':se(_0x565df0,_0x14425e),'time':_0x221825[_0x1fd059(0x23b)]()+':'+String(_0x221825[_0x1fd059(0x234)]())[_0x1fd059(0x180)](0x2,'0')};default:return{'date':se(_0x565df0,_0x14425e),'time':_0x221825['getHours']()+':'+_0x221825[_0x1fd059(0x234)]()};}},as=(_0x1d7e4e,_0x2a4643)=>{const _0x4aea23=_0x40c61f,_0x90bbfb=_0x1d7e4e[_0x4aea23(0xc0)]||_0x2a4643['t'](_0x4aea23(0x200));if(_0x1d7e4e[_0x4aea23(0x1b8)]['some'](_0x36495d=>_0x36495d===_0x1d5fff['id'])&&_0x1d7e4e['recoverTime']){const _0x318644=ae(_0x1d7e4e[_0x4aea23(0xbe)],_0x2a4643[_0x4aea23(0x177)]()),_0x2eba6f=_0x318644['date']+'\x20'+_0x318644[_0x4aea23(0x24f)];return _0x90bbfb+'\x20'+_0x2a4643['t'](_0x4aea23(0x16a))+'\x20'+_0x2eba6f+'\x20'+_0x2a4643['t'](_0x4aea23(0x1dc));}const _0x1003e1=os(_0x1d7e4e),_0x5636d5=_0x1003e1[_0x4aea23(0x126)]===0x1?_0x2a4643['t'](_0x1003e1[0x0]):''+_0x2a4643['t'](_0x1003e1[0x0])+_0x2a4643['t'](_0x4aea23(0x135));return _0x90bbfb+'\x20'+_0x5636d5;};function os(_0x330dce){const _0x2d5a5e=_0x40c61f;if(_0x330dce[_0x2d5a5e(0x1b8)][_0x2d5a5e(0x126)]===0x0)return[''];const _0x401cdd=_0x2d5a5e(0x185),_0x5567fa=_0x401cdd+_0x2d5a5e(0x1ca),_0x4478d0=[{'id':_0x2c2077['id'],'action':_0x401cdd+_0x2d5a5e(0x24d)},{'id':_0x1d5fff['id'],'action':_0x401cdd+_0x2d5a5e(0x174)},{'id':_0x2cf0fe['id'],'action':_0x401cdd+_0x2d5a5e(0x1ac)},{'id':_0x9c631c['id'],'action':_0x401cdd+_0x2d5a5e(0x19f)},{'id':_0x1ef01a['id'],'action':_0x401cdd+_0x2d5a5e(0xed)},{'id':_0x2c2bec['id'],'action':_0x401cdd+'setFilter'},{'id':_0x1b616a['id'],'action':_0x401cdd+_0x2d5a5e(0x18e)},{'id':_0x44ed40['id'],'action':_0x401cdd+_0x2d5a5e(0x18e)},{'id':_0x1d7dd9['id'],'action':_0x401cdd+_0x2d5a5e(0x1d5)},{'id':_0x24e087['id'],'action':_0x401cdd+_0x2d5a5e(0x1d5)},{'id':_0xdbac3b['id'],'action':_0x401cdd+_0x2d5a5e(0x216)},{'id':_0x5e229b['id'],'action':_0x401cdd+_0x2d5a5e(0x216)},{'id':_0x4d0d48['id'],'action':_0x401cdd+_0x2d5a5e(0x1b1)},{'id':_0x295061['id'],'action':_0x401cdd+_0x2d5a5e(0x15f)},{'id':_0x13f9d1['id'],'action':_0x401cdd+_0x2d5a5e(0x15f)}]['filter'](_0x53a358=>_0x330dce[_0x2d5a5e(0x1b8)][_0x2d5a5e(0xdd)](_0x53a358['id']));return _0x4478d0!=null&&_0x4478d0[_0x2d5a5e(0x126)]?_0x4478d0[_0x2d5a5e(0x253)](_0x35f0fd=>_0x35f0fd[_0x2d5a5e(0x1c9)]):[_0x5567fa];}function se(_0x30eb2b,_0x505cb2){const _0x4a9bdd=_0x40c61f,[_0x202063,_0x2a43c9,_0x490d99]=new Date()[_0x4a9bdd(0x14f)]()['split']('T')[0x0][_0x4a9bdd(0x1f9)]('-'),[_0x507747,_0x238daa,_0x2f6533]=_0x30eb2b[_0x4a9bdd(0x1f9)]('-'),_0x31fbc0=_0x202063===_0x507747&&_0x2a43c9===_0x238daa&&_0x490d99===_0x2f6533;let _0x13b232='',_0x52538d='',_0x214bbf='';switch(_0x505cb2){case _0xd9660f[_0x4a9bdd(0x192)]:return _0x31fbc0?'今天':(_0x13b232=_0x202063===_0x507747?'':_0x507747+'年',_0x52538d=_0x238daa+'月',_0x214bbf=_0x2f6533+'日',''+_0x13b232+_0x52538d+_0x214bbf);default:return _0x31fbc0?_0x4a9bdd(0x265):(_0x13b232=_0x202063===_0x507747?'':_0x507747+'-',_0x52538d=_0x238daa+'-',_0x214bbf=''+_0x2f6533,''+_0x13b232+_0x52538d+_0x214bbf);}}function cs(_0x8dc1e2){return _0x8dc1e2?_0x8dc1e2['reduce']((_0x27ef4f,_0x4b94e2)=>{const _0xa89d2=_0x48f2,_0x559ec6=new Date(_0x4b94e2[_0xa89d2(0x24f)])[_0xa89d2(0x14f)]()['split']('T')[0x0];return _0x27ef4f[_0xa89d2(0x126)]>0x0&&_0x27ef4f[_0x27ef4f[_0xa89d2(0x126)]-0x1]['dateString']===_0x559ec6?_0x27ef4f[_0x27ef4f[_0xa89d2(0x126)]-0x1]['versions'][_0xa89d2(0x164)](_0x4b94e2):_0x27ef4f[_0xa89d2(0x164)]({'dateString':_0x559ec6,'versions':[_0x4b94e2]}),_0x27ef4f;},[]):[];}var ls=Object[_0x40c61f(0x12c)],us=(_0x2a85da,_0x4a362e,_0x4f8b90,_0x2cc961)=>{const _0x423411=_0x40c61f;for(var _0xb94544=_0x2cc961>0x1?void 0x0:_0x2cc961?ls(_0x4a362e,_0x4f8b90):_0x4a362e,_0x32631e=_0x2a85da[_0x423411(0x126)]-0x1,_0x2b8c5a;_0x32631e>=0x0;_0x32631e--)(_0x2b8c5a=_0x2a85da[_0x32631e])&&(_0xb94544=_0x2b8c5a(_0xb94544)||_0xb94544);return _0xb94544;},y=(_0x5aa707,_0x5e6594)=>(_0x2f79d0,_0x9d9501)=>_0x5e6594(_0x2f79d0,_0x9d9501,_0x5aa707);const ds=_0x40c61f(0x176);let F=class extends _0x892c91{constructor(_0x386524,_0x393459,_0x5e19df,_0x5ef608,_0x565936,_0x70532c){const _0x4fa4d6=_0x40c61f;super(),l(this,'_workbookDataCache',new Map()),(this['_snapshotServerService']=_0x386524,this['_univerInstanceService']=_0x393459,this[_0x4fa4d6(0x138)]=_0x5e19df,this[_0x4fa4d6(0x19b)]=_0x5ef608,this[_0x4fa4d6(0x10c)]=_0x565936,this['_compressMutationService']=_0x70532c);}[_0x40c61f(0x1d7)](){const _0x515962=_0x40c61f;this[_0x515962(0x1c5)]['clear'](),super[_0x515962(0x1d7)]();}async[_0x40c61f(0x1db)](_0x38cb45,_0x40a752){const _0x412653=_0x40c61f,_0x470fd6=this[_0x412653(0x13f)]()+'/'+_0x38cb45+_0x412653(0x240)+(_0x40a752?_0x412653(0x1d9)+_0x40a752:'');try{const _0xf32fd7=(await this[_0x412653(0x10c)]['get'](_0x470fd6))[_0x412653(0x1d3)];if(_0xf32fd7&&_0xf32fd7['error']&&_0xf32fd7[_0x412653(0xd6)]['code']===Z['OK']){const {hasMore:_0x3f2d7b,lastLabel:_0x574bfc}=_0xf32fd7,_0xcb9032=hs(_0xf32fd7),_0x4f722b=_0xf32fd7['entities']['users'];return{'hasMore':_0x3f2d7b,'lastLabel':_0x574bfc,'versions':_0xcb9032,'members':_0x4f722b};}}catch(_0x1aa971){console[_0x412653(0xd6)](_0x1aa971);}return null;}[_0x40c61f(0x13f)](){const _0x4f8876=_0x40c61f;var _0x13c219;const _0x11c5fc=this['_configService'][_0x4f8876(0x11f)](we);return(_0x13c219=_0x11c5fc==null?void 0x0:_0x11c5fc[_0x4f8876(0x1ce)])!=null?_0x13c219:ds;}async[_0x40c61f(0x25d)](_0xd0f73c,_0x15ecb6,_0x3ac62f){const _0x1445d9=_0x40c61f;var _0x343470,_0x5c7a3b;_0x3ac62f===void 0x0&&(_0x3ac62f={}),this['_workbookDataCache'][_0x1445d9(0x12f)](_0xd0f73c)||this[_0x1445d9(0x1c5)][_0x1445d9(0x1de)](_0xd0f73c,new Map());const {snapshot:_0x11fd5d,changesets:_0xff0c33,error:_0x34d6ae}=await this[_0x1445d9(0xc3)][_0x1445d9(0x1bb)](_0x3ac62f,{'unitID':_0xd0f73c,'type':j[_0x1445d9(0xbc)],'revision':_0x15ecb6});if(ns(_0x34d6ae)||!_0x11fd5d||!_0x11fd5d[_0x1445d9(0xe9)])throw new Error('[HistoryFetchService]:\x20request\x20snapshot\x20error!');const _0x18b795=(_0x343470=_0xff0c33==null?void 0x0:_0xff0c33[_0x1445d9(0x126)])!=null?_0x343470:0x0;if(_0x15ecb6!==0x0&&_0x11fd5d[_0x1445d9(0x21e)]+_0x18b795!==_0x15ecb6)throw new Error('[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!');const {workbook:_0x3c88bc}=_0x11fd5d,_0x1a7903=_0x3c88bc['blockMeta']?Object[_0x1445d9(0x1f8)](_0x3c88bc[_0x1445d9(0x10e)])[_0x1445d9(0x253)](([_0x158c9a,_0x4c9cf0])=>{const _0x34a2f7=_0x1445d9;var _0x3fee44,_0x34decf;return(_0x34decf=(_0x3fee44=_0x4c9cf0[_0x34a2f7(0x102)])==null?void 0x0:_0x3fee44['map'](_0x194765=>_0x194765))!=null?_0x34decf:[];})['flat']():[],_0x436b2f=(await Promise[_0x1445d9(0x1f4)](_0x1a7903[_0x1445d9(0x253)](_0x15e146=>this[_0x1445d9(0xc3)]['getDeserializedSheetBlock'](_0x3ac62f,{'unitID':_0xd0f73c,'type':j['UNIVER_SHEET'],'blockID':_0x15e146})['then'](_0x56c307=>_0x56c307[_0x1445d9(0xb4)]))))[_0x1445d9(0xbd)](_0x4ab88b=>!!_0x4ab88b),_0x53282c=_0x108b81(_0x11fd5d,_0x436b2f,_0x3ac62f);return(_0x5c7a3b=this[_0x1445d9(0x1c5)]['get'](_0xd0f73c))==null||_0x5c7a3b[_0x1445d9(0x1de)](_0x15ecb6,{'workbook':_0x53282c}),new Promise(_0x5f153b=>{const _0x2b54e9=_0x1445d9,_0x15d3eb=this[_0x2b54e9(0x12e)][_0x2b54e9(0x25e)](_0x2c8f9b['UNIVER_SHEET']);_0x15d3eb?(this[_0x2b54e9(0x12e)][_0x2b54e9(0x17f)](_0x15d3eb[_0x2b54e9(0x1a4)]()),setTimeout(()=>{const _0x26cadd=_0x2b54e9;this[_0x26cadd(0x252)](_0x53282c,_0xff0c33),_0x5f153b(!0x0);},0x0)):(this[_0x2b54e9(0x252)](_0x53282c,_0xff0c33),_0x5f153b(!0x0));});}[_0x40c61f(0x252)](_0x564f16,_0x5d8973){const _0xf62a45=_0x40c61f,_0x23e8cf=this[_0xf62a45(0x12e)]['createUnit'](_0x2c8f9b[_0xf62a45(0xbc)],_0x564f16);this[_0xf62a45(0x12e)][_0xf62a45(0x205)](_0x23e8cf[_0xf62a45(0x1a4)]());const _0x3cecba=this[_0xf62a45(0x25f)][_0xf62a45(0x1fd)][_0xf62a45(0x156)](this['_compressMutationService']['interceptor'][_0xf62a45(0xd3)]()[_0xf62a45(0x1a0)]);return _0x5d8973==null||_0x5d8973['forEach'](_0x243fdc=>{const _0x85c862=_0xf62a45,_0x438ba4=_0x243fdc[_0x85c862(0x14d)][_0x85c862(0x253)](_0x4d3b32=>({'id':_0x4d3b32['id'],'params':JSON[_0x85c862(0x1af)](_0x4d3b32['data'])}));({..._0x243fdc,'mutations':_0x3cecba(_0x438ba4,null)||_0x438ba4}[_0x85c862(0x14d)][_0x85c862(0x118)](_0x4ec3ab=>{const _0x5123a8=_0x85c862;this[_0x5123a8(0x138)]['hasCommand'](_0x4ec3ab['id'])&&this['_commandService']['syncExecuteCommand'](_0x4ec3ab['id'],_0x4ec3ab[_0x5123a8(0x1fb)]);}));}),_0x23e8cf;}};F=us([y(0x0,_0x57858c),y(0x1,_0x294665),y(0x2,_0x27e66b),y(0x3,_0x53b69c),y(0x4,_0x34439e(_0x49be83)),y(0x5,_0x34439e(_0x499dfa))],F);function hs(_0x210640){const _0x36919c=_0x40c61f;var _0x10b156,_0x525cd0;const _0x475155=[],{entities:_0x3bd34c,historyIds:_0x4273cb}=_0x210640,{datas:_0x58bf12,users:_0x39625f}=_0x3bd34c;for(const _0x48d9fe of _0x4273cb)if(_0x58bf12[_0x48d9fe]){const _0xe3d3f9=!!((_0x10b156=_0x39625f[_0x58bf12[_0x48d9fe]['userId']])!=null&&_0x10b156[_0x36919c(0x1d4)]);_0x475155[_0x36919c(0x164)]({'unitId':_0x58bf12[_0x48d9fe]['unitId'],'user':_0xe3d3f9?'':((_0x525cd0=_0x39625f==null?void 0x0:_0x39625f[_0x58bf12[_0x48d9fe][_0x36919c(0x15a)]])==null?void 0x0:_0x525cd0[_0x36919c(0x191)])||'','isAnonymous':_0xe3d3f9,'id':_0x48d9fe,'time':_0x58bf12[_0x48d9fe]['createTime']?Number(_0x58bf12[_0x48d9fe][_0x36919c(0x173)]):void 0x0,'commands':_0x58bf12[_0x48d9fe][_0x36919c(0x1ba)],'startRev':Number(_0x58bf12[_0x48d9fe][_0x36919c(0x244)]),'endRev':Number(_0x58bf12[_0x48d9fe][_0x36919c(0xe4)]),'recoverTime':_0x58bf12[_0x48d9fe][_0x36919c(0xbe)]?Number(_0x58bf12[_0x48d9fe][_0x36919c(0xbe)]):void 0x0});}return _0x475155;}var _s=Object[_0x40c61f(0x12c)],vs=(_0x3721bf,_0x1f3fc0,_0x24acff,_0x1d13af)=>{for(var _0x14948a=_0x1d13af>0x1?void 0x0:_0x1d13af?_s(_0x1f3fc0,_0x24acff):_0x1f3fc0,_0x2d9065=_0x3721bf['length']-0x1,_0x451d13;_0x2d9065>=0x0;_0x2d9065--)(_0x451d13=_0x3721bf[_0x2d9065])&&(_0x14948a=_0x451d13(_0x14948a)||_0x14948a);return _0x14948a;},k=(_0x3633de,_0x50aae0)=>(_0x2b50b1,_0x389017)=>_0x50aae0(_0x2b50b1,_0x389017,_0x3633de),oe=(_0x119cfe=>(_0x119cfe[_0x40c61f(0x20c)]=_0x40c61f(0x1b7),_0x119cfe[_0x40c61f(0x218)]=_0x40c61f(0x1d1),_0x119cfe[_0x40c61f(0x229)]=_0x40c61f(0xd6),_0x119cfe))(oe||{}),$=(_0x349fff=>(_0x349fff[_0x40c61f(0xd4)]=_0x40c61f(0x203),_0x349fff[_0x40c61f(0xad)]='loading',_0x349fff[_0x40c61f(0x22b)]=_0x40c61f(0x22e),_0x349fff))($||{});const ms=_0x40c61f(0xef);let R=class extends _0x892c91{constructor(_0x33b9c5,_0xf413d9,_0x1885c4,_0x4738be){const _0x5d2ba0=_0x40c61f;super(),l(this,_0x5d2ba0(0x1e1),new _0x1bb5a0([])),l(this,_0x5d2ba0(0x16d),this[_0x5d2ba0(0x1e1)][_0x5d2ba0(0x20b)]()),l(this,_0x5d2ba0(0x21b),new _0x1bb5a0('')),l(this,'currentVersion$',this[_0x5d2ba0(0x21b)][_0x5d2ba0(0x20b)]()),l(this,'_status$',new _0x1bb5a0(_0x5d2ba0(0x1b7))),l(this,_0x5d2ba0(0x104),this[_0x5d2ba0(0x1c8)][_0x5d2ba0(0x20b)]()),l(this,_0x5d2ba0(0x10d),new _0x1bb5a0(0x0)),l(this,_0x5d2ba0(0x19c),this[_0x5d2ba0(0x10d)][_0x5d2ba0(0x20b)]()),l(this,'_unitId$',new _0x1bb5a0('')),l(this,_0x5d2ba0(0x20f),this['_unitId$'][_0x5d2ba0(0x20b)]()),l(this,'_fetching',!0x1),l(this,_0x5d2ba0(0xba),new _0x1bb5a0(_0x5d2ba0(0x203))),l(this,'loadingState$',this[_0x5d2ba0(0xba)][_0x5d2ba0(0x20b)]()),l(this,_0x5d2ba0(0x1a7),null),l(this,_0x5d2ba0(0x1bf),!0x0),l(this,'_members',new Map()),l(this,_0x5d2ba0(0xf4)),l(this,_0x5d2ba0(0xc9)),l(this,_0x5d2ba0(0x222)),l(this,_0x5d2ba0(0x186),!0x1),(this[_0x5d2ba0(0x1e9)]=_0x33b9c5,this[_0x5d2ba0(0xbb)]=_0xf413d9,this[_0x5d2ba0(0xe7)]=_0x1885c4,this[_0x5d2ba0(0xfc)]=_0x4738be);}async['triggerLoadVersions'](_0x3be4c0,_0x536ba5,_0x28433){const _0x262e8a=_0x40c61f;this['_historyContainerId']=_0x536ba5,this[_0x262e8a(0x186)]=_0x28433,this[_0x262e8a(0x14b)]['next'](_0x3be4c0),this[_0x262e8a(0x16e)]=!0x0;const _0x53f562=await this[_0x262e8a(0xfc)][_0x262e8a(0x1db)](_0x3be4c0);if(this[_0x262e8a(0x16e)]=!0x1,_0x53f562){const {versions:_0x51ab24,lastLabel:_0x48da15,hasMore:_0x1dfa92,members:_0x33204e}=_0x53f562;_0x51ab24[_0x262e8a(0x126)]===0x0&&_0x51ab24[_0x262e8a(0x164)]({'unitId':_0x3be4c0,'id':ms,'startRev':0x1,'endRev':0x0,'time':Date['now'](),'user':this['_localeService']['t'](_0x262e8a(0x127)),'commands':[],'isAnonymous':!0x1}),this[_0x262e8a(0x17a)](_0x51ab24,_0x1dfa92,_0x48da15,_0x33204e),this[_0x262e8a(0x21b)]['next'](_0x51ab24[0x0]['id']);}else this[_0x262e8a(0x1c8)][_0x262e8a(0x181)](_0x262e8a(0xd6));}async[_0x40c61f(0x22a)](){const _0x5cd739=_0x40c61f;if(!this[_0x5cd739(0x1a7)]||!this[_0x5cd739(0x1bf)]||this[_0x5cd739(0x16e)])return!0x1;this[_0x5cd739(0x16e)]=!0x0;const _0x32e607=await this['_historyFetchService'][_0x5cd739(0x1db)](this[_0x5cd739(0x16c)],this[_0x5cd739(0x1a7)]);if(this['_fetching']=!0x1,_0x32e607){const {versions:_0x1d929b,lastLabel:_0x45808a,hasMore:_0x13940a,members:_0x5201ce}=_0x32e607;this[_0x5cd739(0x17a)](_0x1d929b,_0x13940a,_0x45808a,_0x5201ce);}else this[_0x5cd739(0x1e9)][_0x5cd739(0x117)]({'content':this[_0x5cd739(0xe7)]['t']('editHistory.panel.listFetchError'),'type':_0x53d270[_0x5cd739(0x229)],'duration':0xbb8});return!0x0;}async[_0x40c61f(0x11d)](_0x3053ff){const _0x5be533=_0x40c61f;var _0x1f08bd;const _0x4e1287=(_0x1f08bd=this[_0x5be533(0x1e1)][_0x5be533(0xa4)])==null?void 0x0:_0x1f08bd[_0x5be533(0x255)](_0x188c6c=>_0x188c6c['id']===_0x3053ff),{endRev:_0xa84234}=_0x4e1287||{};_0xa84234||_0xa84234===0x0?(this[_0x5be533(0xba)][_0x5be533(0x181)](_0x5be533(0x260)),await this['_historyFetchService'][_0x5be533(0x25d)](this[_0x5be533(0x16c)],_0xa84234),this[_0x5be533(0xba)]['next'](_0x5be533(0x22e))):this[_0x5be533(0x1c8)][_0x5be533(0x181)](_0x5be533(0xd6));}async['triggerRevert'](_0x4f5df7){const _0x3df2de=_0x40c61f,_0x41b4f5=_0x4f5df7?this['getVersion'](_0x4f5df7):this[_0x3df2de(0xaa)]();if(!_0x41b4f5)return;const _0x2831a4=_0x41b4f5[_0x3df2de(0x19a)],_0x13c681=ae(_0x41b4f5[_0x3df2de(0x24f)],this['_localeService'][_0x3df2de(0x177)]());await this[_0x3df2de(0xbb)][_0x3df2de(0x1bd)]({'id':'confirm-revert-revision','title':{'title':this[_0x3df2de(0xe7)]['t']('editHistory.panel.revertConfirm')},'children':{'title':this[_0x3df2de(0xe7)]['t']('editHistory.panel.revertConfirmText')+_0x3df2de(0xd2)+_0x13c681[_0x3df2de(0x220)]+'\x20'+_0x13c681[_0x3df2de(0x24f)]+')'},'cancelText':this[_0x3df2de(0xe7)]['t'](_0x3df2de(0x24e)),'confirmText':this['_localeService']['t'](_0x3df2de(0x1ff))})&&this['_revertRevision$'][_0x3df2de(0x181)](_0x2831a4);}[_0x40c61f(0x17a)](_0xd6ef9,_0x54cf07,_0x55fa25,_0x4513c3){const _0x4e7977=_0x40c61f;this[_0x4e7977(0x1e1)]['next'](this[_0x4e7977(0x1e1)]['value'][_0x4e7977(0xca)](_0xd6ef9)),this[_0x4e7977(0x1bf)]=_0x54cf07,this['_lastLabel']=_0x55fa25,_0x4513c3&&Object[_0x4e7977(0x233)](_0x4513c3)['forEach'](_0x5aba99=>this[_0x4e7977(0x139)]['set'](_0x5aba99,_0x4513c3[_0x5aba99]));}[_0x40c61f(0xaa)](){const _0x426294=_0x40c61f;return this[_0x426294(0x1cc)](this[_0x426294(0x21b)][_0x426294(0xa4)]);}[_0x40c61f(0x1cc)](_0xed56f3){const _0x34cabf=_0x40c61f;var _0x29ea45;return(_0x29ea45=this['_versions$'][_0x34cabf(0xa4)])==null?void 0x0:_0x29ea45[_0x34cabf(0x255)](_0x599824=>_0x599824['id']===_0xed56f3);}[_0x40c61f(0x112)](_0xe017d5){const _0x596a60=_0x40c61f;return this['_members'][_0x596a60(0x199)](_0xe017d5);}[_0x40c61f(0x165)](){const _0x4b6695=_0x40c61f;this[_0x4b6695(0x222)]=document[_0x4b6695(0x166)](_0x4b6695(0x22d)),this[_0x4b6695(0x222)][_0x4b6695(0x14e)]=_0x4b6695(0x24c),this[_0x4b6695(0x222)][_0x4b6695(0x120)][_0x4b6695(0x20a)]=_0x4b6695(0xb0),this[_0x4b6695(0x222)][_0x4b6695(0x120)][_0x4b6695(0x207)]='0',this[_0x4b6695(0x222)][_0x4b6695(0x120)][_0x4b6695(0x1f2)]='0',this[_0x4b6695(0x222)][_0x4b6695(0x120)][_0x4b6695(0x16f)]=_0x4b6695(0x131),this['_maskElement'][_0x4b6695(0x120)][_0x4b6695(0x250)]=_0x4b6695(0x131),this['_maskElement']['style'][_0x4b6695(0xec)]=_0x4b6695(0x23f),this[_0x4b6695(0x222)][_0x4b6695(0x120)][_0x4b6695(0x254)]='white',this['_maskElement'][_0x4b6695(0x120)]['display']=_0x4b6695(0xc2),this[_0x4b6695(0x222)][_0x4b6695(0x120)][_0x4b6695(0x238)]=_0x4b6695(0x15c),this[_0x4b6695(0x222)][_0x4b6695(0x120)][_0x4b6695(0x24b)]=_0x4b6695(0x184),this[_0x4b6695(0x222)][_0x4b6695(0x120)][_0x4b6695(0x114)]=_0x4b6695(0x144),this[_0x4b6695(0xc9)]['append'](this[_0x4b6695(0x222)]);}[_0x40c61f(0x106)](){const _0xcd0aa4=_0x40c61f;var _0x5c9be2;const _0x4dab1c=(_0x5c9be2=document[_0xcd0aa4(0x130)](this[_0xcd0aa4(0xf4)]))==null?void 0x0:_0x5c9be2[_0xcd0aa4(0xcd)]('.univer-app-container-content');_0x4dab1c&&(this['_maskContainer']=_0x4dab1c,this[_0xcd0aa4(0x165)]());}[_0x40c61f(0x108)](){const _0x8e538b=_0x40c61f;this[_0x8e538b(0xc9)]||this[_0x8e538b(0x106)](),this['_maskElement']&&(this[_0x8e538b(0x222)][_0x8e538b(0x120)][_0x8e538b(0x114)]=_0x8e538b(0xc2));}[_0x40c61f(0x159)](){const _0x380157=_0x40c61f;this[_0x380157(0x222)]&&(this[_0x380157(0x222)][_0x380157(0x120)][_0x380157(0x114)]=_0x380157(0x144));}set[_0x40c61f(0x25c)](_0x466fb2){const _0x2e2a21=_0x40c61f;this[_0x2e2a21(0x1c8)][_0x2e2a21(0x181)](_0x466fb2);}set['currentVersion'](_0x5cb293){const _0x56bb34=_0x40c61f;_0x5cb293!==this['_currentVersion$']['value']&&this[_0x56bb34(0x21b)]['next'](_0x5cb293);}get['currentVersion'](){const _0x4a6537=_0x40c61f;return this[_0x4a6537(0x21b)][_0x4a6537(0xa4)];}set[_0x40c61f(0x16c)](_0x40982f){const _0x35a7f7=_0x40c61f;this[_0x35a7f7(0x14b)][_0x35a7f7(0x181)](_0x40982f);}get[_0x40c61f(0x16c)](){const _0x33392e=_0x40c61f;return this[_0x33392e(0x14b)][_0x33392e(0xa4)];}get['canRevert'](){const _0x155f82=_0x40c61f;return this[_0x155f82(0x186)];}get['loadingState'](){return this['_loadingState$']['value'];}};R=vs([k(0x0,_0x1e2b5d),k(0x1,_0x4d10aa),k(0x2,_0x34439e(_0x46b818)),k(0x3,_0x34439e(F))],R);var p=function(){const _0x32f965=_0x40c61f;return p=Object[_0x32f965(0xb7)]||function(_0x462aa6){const _0x10f6fe=_0x32f965;for(var _0x12ae0a,_0x33196b=0x1,_0x4c51c6=arguments[_0x10f6fe(0x126)];_0x33196b<_0x4c51c6;_0x33196b++){_0x12ae0a=arguments[_0x33196b];for(var _0x1a392e in _0x12ae0a)Object[_0x10f6fe(0x247)]['hasOwnProperty'][_0x10f6fe(0x22c)](_0x12ae0a,_0x1a392e)&&(_0x462aa6[_0x1a392e]=_0x12ae0a[_0x1a392e]);}return _0x462aa6;},p[_0x32f965(0xf3)](this,arguments);},fs=function(_0x40e42f,_0x118324){const _0x39b5b9=_0x40c61f;var _0x4717fc={};for(var _0xef3f41 in _0x40e42f)Object[_0x39b5b9(0x247)]['hasOwnProperty'][_0x39b5b9(0x22c)](_0x40e42f,_0xef3f41)&&_0x118324['indexOf'](_0xef3f41)<0x0&&(_0x4717fc[_0xef3f41]=_0x40e42f[_0xef3f41]);if(_0x40e42f!=null&&typeof Object[_0x39b5b9(0x17c)]==_0x39b5b9(0x107)){for(var _0x2d4970=0x0,_0xef3f41=Object['getOwnPropertySymbols'](_0x40e42f);_0x2d4970<_0xef3f41[_0x39b5b9(0x126)];_0x2d4970++)_0x118324[_0x39b5b9(0xc1)](_0xef3f41[_0x2d4970])<0x0&&Object[_0x39b5b9(0x247)][_0x39b5b9(0x23e)][_0x39b5b9(0x22c)](_0x40e42f,_0xef3f41[_0x2d4970])&&(_0x4717fc[_0xef3f41[_0x2d4970]]=_0x40e42f[_0xef3f41[_0x2d4970]]);}return _0x4717fc;},A=_0x2dd8a3(function(_0x49fbc3,_0x186fd6){const _0x439f78=_0x40c61f;var _0x1f4c70=_0x49fbc3[_0x439f78(0x195)],_0x37f74d=_0x49fbc3['id'],_0xd0160=_0x49fbc3['className'],_0x5cbfd0=_0x49fbc3[_0x439f78(0x113)],_0x34b2a5=fs(_0x49fbc3,[_0x439f78(0x195),'id',_0x439f78(0x14e),_0x439f78(0x113)]),_0x2f4e93='univerjs-icon\x20univerjs-icon-'[_0x439f78(0xca)](_0x37f74d,'\x20')[_0x439f78(0xca)](_0xd0160||'')[_0x439f78(0x189)](),_0x411aaa=_0x2930e1('_'['concat'](Is()));return Te(_0x1f4c70,''[_0x439f78(0xca)](_0x37f74d),{'defIds':_0x1f4c70[_0x439f78(0xd8)],'idSuffix':_0x411aaa[_0x439f78(0x129)]},p({'ref':_0x186fd6,'className':_0x2f4e93},_0x34b2a5),_0x5cbfd0);});function Te(_0x27c062,_0x3957b7,_0x20bee5,_0x48bfe1,_0x533a7d){const _0x3d8bb3=_0x40c61f;return _0x1055f7(_0x27c062[_0x3d8bb3(0x11e)],p(p({'key':_0x3957b7},gs(_0x27c062,_0x20bee5,_0x533a7d)),_0x48bfe1),(Ss(_0x27c062,_0x20bee5)[_0x3d8bb3(0x266)]||[])[_0x3d8bb3(0x253)](function(_0x14575c,_0x35f172){const _0x2842cc=_0x3d8bb3;return Te(_0x14575c,''['concat'](_0x3957b7,'-')['concat'](_0x27c062[_0x2842cc(0x11e)],'-')[_0x2842cc(0xca)](_0x35f172),_0x20bee5,void 0x0,_0x533a7d);}));}function gs(_0x324bb4,_0x2558db,_0x42455e){const _0x367807=_0x40c61f;var _0x3f5e2c=p({},_0x324bb4[_0x367807(0x170)]);_0x42455e!=null&&_0x42455e[_0x367807(0x15d)]&&_0x3f5e2c[_0x367807(0xe5)]===_0x367807(0x15d)&&(_0x3f5e2c[_0x367807(0xe5)]=_0x42455e[_0x367807(0x15d)]),_0x324bb4[_0x367807(0x11e)]===_0x367807(0x115)&&_0x3f5e2c['id']&&(_0x3f5e2c['id']=_0x3f5e2c['id']+_0x2558db[_0x367807(0x101)]),Object[_0x367807(0x1f8)](_0x3f5e2c)[_0x367807(0x118)](function(_0x2bce96){const _0x483c3f=_0x367807;var _0x5579b2=_0x2bce96[0x0],_0x18942e=_0x2bce96[0x1];_0x5579b2===_0x483c3f(0x115)&&typeof _0x18942e==_0x483c3f(0x10b)&&(_0x3f5e2c[_0x5579b2]=_0x18942e[_0x483c3f(0x1e7)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x2558db[_0x483c3f(0x101)],')')));});var _0x28a112=_0x2558db[_0x367807(0xd8)];return!_0x28a112||_0x28a112[_0x367807(0x126)]===0x0||(_0x324bb4[_0x367807(0x11e)]===_0x367807(0x237)&&_0x3f5e2c[_0x367807(0x1b4)]&&(_0x3f5e2c[_0x367807(0x1b4)]=_0x3f5e2c[_0x367807(0x1b4)]+_0x2558db['idSuffix']),Object[_0x367807(0x1f8)](_0x3f5e2c)[_0x367807(0x118)](function(_0x4f0c5f){const _0x23f423=_0x367807;var _0x23474d=_0x4f0c5f[0x0],_0x33b865=_0x4f0c5f[0x1];typeof _0x33b865==_0x23f423(0x10b)&&(_0x3f5e2c[_0x23474d]=_0x33b865[_0x23f423(0x1e7)](/url\(#(.*)\)/,'url(#$1'[_0x23f423(0xca)](_0x2558db[_0x23f423(0x101)],')')));})),_0x3f5e2c;}function Ss(_0x5ab917,_0x486b34){const _0x192cce=_0x40c61f;var _0x5d3e6e,_0x23b0b1=_0x486b34[_0x192cce(0xd8)];return!_0x23b0b1||_0x23b0b1['length']===0x0?_0x5ab917:_0x5ab917[_0x192cce(0x11e)]===_0x192cce(0x1d6)&&(!((_0x5d3e6e=_0x5ab917[_0x192cce(0x266)])===null||_0x5d3e6e===void 0x0)&&_0x5d3e6e[_0x192cce(0x126)])?p(p({},_0x5ab917),{'children':_0x5ab917[_0x192cce(0x266)][_0x192cce(0x253)](function(_0x7a055f){const _0x54819d=_0x192cce;return typeof _0x7a055f[_0x54819d(0x170)]['id']=='string'&&_0x23b0b1&&_0x23b0b1[_0x54819d(0xc1)](_0x7a055f[_0x54819d(0x170)]['id'])>-0x1?p(p({},_0x7a055f),{'attrs':p(p({},_0x7a055f[_0x54819d(0x170)]),{'id':_0x7a055f['attrs']['id']+_0x486b34['idSuffix']})}):_0x7a055f;})}):_0x5ab917;}function Is(){const _0x449dae=_0x40c61f;return Math[_0x449dae(0xa5)]()[_0x449dae(0x137)](0x24)[_0x449dae(0x1fa)](0x2,0x8);}A['displayName']=_0x40c61f(0xfe);var ps={'tag':_0x40c61f(0x1fc),'attrs':{'fill':_0x40c61f(0x144),'viewBox':_0x40c61f(0x258),'width':_0x40c61f(0x211),'height':_0x40c61f(0x211)},'children':[{'tag':_0x40c61f(0x152),'attrs':{'fill':_0x40c61f(0x194),'d':_0x40c61f(0x1e8)}}]},$e=_0x2dd8a3(function(_0xbd2d84,_0x1c6790){const _0x45efd1=_0x40c61f;return _0x1055f7(A,Object[_0x45efd1(0xb7)]({},_0xbd2d84,{'id':_0x45efd1(0xdc),'ref':_0x1c6790,'icon':ps}));});$e[_0x40c61f(0x178)]=_0x40c61f(0x11a);var Es={'tag':_0x40c61f(0x1fc),'attrs':{'fill':'none','viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x40c61f(0x211)},'children':[{'tag':_0x40c61f(0x152),'attrs':{'fill':'colorChannel1','d':_0x40c61f(0x1a1),'fillRule':_0x40c61f(0x1eb),'clipRule':_0x40c61f(0x1eb)}},{'tag':_0x40c61f(0x152),'attrs':{'fill':'currentColor','d':_0x40c61f(0xb3),'fillRule':_0x40c61f(0x1eb),'clipRule':_0x40c61f(0x1eb)}}]},ce=_0x2dd8a3(function(_0x4f2659,_0x721d3e){return _0x1055f7(A,Object['assign']({},_0x4f2659,{'id':'loading','ref':_0x721d3e,'icon':Es}));});ce['displayName']=_0x40c61f(0xad);var Rs={'tag':_0x40c61f(0x1fc),'attrs':{'fill':_0x40c61f(0x144),'viewBox':_0x40c61f(0x142),'width':_0x40c61f(0x211),'height':'1em'},'children':[{'tag':'g','attrs':{'fill':_0x40c61f(0x194),'clipPath':'url(#restore-single_clip0_1247_2)'},'children':[{'tag':_0x40c61f(0x152),'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':'path','attrs':{'d':_0x40c61f(0x1e0),'fillRule':_0x40c61f(0x1eb),'clipRule':_0x40c61f(0x1eb)}}]},{'tag':_0x40c61f(0x1d6),'attrs':{},'children':[{'tag':_0x40c61f(0xdb),'attrs':{'id':'restore-single_clip0_1247_2'},'children':[{'tag':'rect','attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x40c61f(0x20d),'rx':0x4}}]}]}],'defIds':[_0x40c61f(0x241)]},Ve=_0x2dd8a3(function(_0x380304,_0x4a69a2){const _0x1fa45b=_0x40c61f;return _0x1055f7(A,Object['assign']({},_0x380304,{'id':_0x1fa45b(0x116),'ref':_0x4a69a2,'icon':Rs}));});Ve[_0x40c61f(0x178)]=_0x40c61f(0x18d);const Ms=_0x40c61f(0x133),bs='univer-version-list-panel-content',Ns=_0x40c61f(0x263),Os=_0x40c61f(0xe0),Cs=_0x40c61f(0x219),ys=_0x40c61f(0x146),Ds='univer-version-item-header-time',Ps=_0x40c61f(0xeb),ws=_0x40c61f(0x257),Ts=_0x40c61f(0xb1),$s=_0x40c61f(0x161),Vs='univer-history-view-header',Ls='univer-history-view-header-back',ks=_0x40c61f(0x202),Hs='univer-version-list-loading',xs=_0x40c61f(0x172),v={'versionListPanel':Ms,'versionListPanelContent':bs,'versionDate':Ns,'versionItem':Os,'versionItemHeader':Cs,'versionItemHeaderExpand':ys,'versionItemHeaderTime':Ds,'versionItemHeaderTimeTag':Ps,'versionItemHeaderRevert':ws,'versionItemContent':Ts,'active':$s,'historyViewHeader':Vs,'historyViewHeaderBack':Ls,'historyViewHeaderRevert':ks,'versionListLoading':Hs,'versionListLoadingIcon':xs};function Us(){const _0x4f57ae=_0x40c61f;var _0x3d8fdd;const _0x42cd79=_0x37cb0c(R),_0x1c9d3f=_0x37cb0c(_0x46b818),_0x3d04de=_0x3967f1(()=>{const _0x1a219b=_0x48f2;_0x42cd79[_0x1a219b(0x25c)]=oe[_0x1a219b(0x218)];},[_0x42cd79]),_0x164953=_0x3967f1(()=>{_0x42cd79['triggerRevert']();},[_0x42cd79]),_0x489dd7=_0x89be2(_0x42cd79[_0x4f57ae(0xa1)]),_0x36cf50=_0x89be2(_0x42cd79[_0x4f57ae(0x16d)]),_0x389aa3=_0x489dd7===((_0x3d8fdd=_0x36cf50==null?void 0x0:_0x36cf50[0x0])==null?void 0x0:_0x3d8fdd['id']),_0x56cc96=_0x489dd7!==''&&!_0x389aa3&&_0x42cd79[_0x4f57ae(0x18f)];return _0x2b8013(_0x4f57ae(0x22d),{'className':v[_0x4f57ae(0xb5)],'children':[_0x5717c5(_0x4f57ae(0x22d),{'onClick':_0x3d04de,'className':v[_0x4f57ae(0x13b)],'children':_0x5717c5($e,{'style':{'fontSize':_0x4f57ae(0x11c)}})}),_0x5717c5(_0x4f57ae(0x22d),{'className':v[_0x4f57ae(0xf6)],'children':_0x56cc96&&_0x5717c5(_0x28f93c,{'type':'primary','onClick':_0x164953,'children':_0x1c9d3f['t'](_0x4f57ae(0x1ec))})})]});}var Ws=Object[_0x40c61f(0x12c)],js=(_0x58836d,_0x5624bd,_0x3928c8,_0x1d7561)=>{const _0xe107fe=_0x40c61f;for(var _0x558e49=_0x1d7561>0x1?void 0x0:_0x1d7561?Ws(_0x5624bd,_0x3928c8):_0x5624bd,_0x5a4ff5=_0x58836d[_0xe107fe(0x126)]-0x1,_0x432b13;_0x5a4ff5>=0x0;_0x5a4ff5--)(_0x432b13=_0x58836d[_0x5a4ff5])&&(_0x558e49=_0x432b13(_0x558e49)||_0x558e49);return _0x558e49;},D=(_0x55e036,_0x3d45b6)=>(_0x1e637a,_0x1dfbd6)=>_0x3d45b6(_0x1e637a,_0x1dfbd6,_0x55e036);let Y=class extends _0x892c91{constructor(_0x3cf151,_0x37e7de,_0x311ded,_0x37dbcb,_0xaf78da,_0x5d4512){const _0x1d1cd7=_0x40c61f;super(),this['_permissionService']=_0x3cf151,this[_0x1d1cd7(0x121)]=_0x37e7de,this[_0x1d1cd7(0x1e9)]=_0x311ded,this['_localeService']=_0x37dbcb,this[_0x1d1cd7(0x226)]=_0xaf78da,this[_0x1d1cd7(0x17b)]=_0x5d4512,this[_0x1d1cd7(0x243)]();}[_0x40c61f(0x243)](){const _0xdae6d0=_0x40c61f;this['disposeWithMe'](this[_0xdae6d0(0x226)]['currentVersion$'][_0xdae6d0(0xf7)](_0x24233a=>{const _0x9433c1=_0xdae6d0;_0x24233a&&this['_historyManagerService'][_0x9433c1(0x11d)](_0x24233a);})),this[_0xdae6d0(0x12d)](this[_0xdae6d0(0x187)]['permissionPointUpdate$']['subscribe'](_0x2eae5a=>{const _0x366ab9=_0xdae6d0,_0x2c405f=this[_0x366ab9(0x226)][_0x366ab9(0x16c)];_0x2c405f&&(_0x2eae5a[_0x366ab9(0x25a)]===C['Edit']&&_0x2eae5a['value']===!0x0&&this['_permissionService'][_0x366ab9(0x124)](new _0x196339(_0x2c405f)['id'],!0x1),_0x2eae5a['subType']===C['RenameSheet']&&_0x2eae5a[_0x366ab9(0xa4)]===!0x0&&this[_0x366ab9(0x187)]['updatePermissionPoint'](new _0x315ee6(_0x2c405f)['id'],!0x1),_0x2eae5a[_0x366ab9(0x25a)]===C['MoveSheet']&&_0x2eae5a['value']===!0x0&&this[_0x366ab9(0x187)][_0x366ab9(0x124)](new _0x491cef(_0x2c405f)['id'],!0x1),_0x2eae5a[_0x366ab9(0x25a)]===C[_0x366ab9(0xfa)]&&_0x2eae5a['value']===!0x0&&this['_permissionService'][_0x366ab9(0x124)](new _0x216c93(_0x2c405f)['id'],!0x1),_0x2eae5a['subType']===C['Comment']&&_0x2eae5a[_0x366ab9(0xa4)]===!0x0&&this[_0x366ab9(0x187)][_0x366ab9(0x124)](new _0x196339(_0x2c405f)['id'],!0x1),_0x2eae5a[_0x366ab9(0x25a)]===C[_0x366ab9(0x251)]&&_0x2eae5a[_0x366ab9(0xa4)]===!0x0&&this[_0x366ab9(0x187)][_0x366ab9(0x124)](new _0x196339(_0x2c405f)['id'],!0x1));})),this[_0xdae6d0(0x12d)](this[_0xdae6d0(0x121)][_0xdae6d0(0x232)](_0x467a34['HEADER'],()=>_0x2f88b5(Us,this[_0xdae6d0(0x17b)]))),this[_0xdae6d0(0x12d)](this['_historyManagerService'][_0xdae6d0(0x162)]['subscribe'](_0x2890d=>{const _0xf45201=_0xdae6d0;_0x2890d===$[_0xf45201(0xad)]&&(this[_0xf45201(0x226)][_0xf45201(0x108)](),this[_0xf45201(0x1e9)]['show']({'type':_0x53d270[_0xf45201(0x1f1)],'content':this[_0xf45201(0xe7)]['t'](_0xf45201(0xb2))})),_0x2890d===$[_0xf45201(0x22b)]&&this['_historyManagerService'][_0xf45201(0x159)]();}));}};Y=js([D(0x0,_0x31fd1d),D(0x1,_0x3b1e63),D(0x2,_0x1e2b5d),D(0x3,_0x34439e(_0x46b818)),D(0x4,_0x34439e(R)),D(0x5,_0x34439e(_0x30e6aa))],Y);var Fs=Object[_0x40c61f(0x12c)],Ys=(_0x5afafd,_0x43bd19,_0x727721,_0x1e5732)=>{const _0xa88203=_0x40c61f;for(var _0x4c791c=_0x1e5732>0x1?void 0x0:_0x1e5732?Fs(_0x43bd19,_0x727721):_0x43bd19,_0x195abc=_0x5afafd[_0xa88203(0x126)]-0x1,_0x29d14;_0x195abc>=0x0;_0x195abc--)(_0x29d14=_0x5afafd[_0x195abc])&&(_0x4c791c=_0x29d14(_0x4c791c)||_0x4c791c);return _0x4c791c;},z=(_0x1fae3f,_0x1715be)=>(_0x4e7362,_0x2e4337)=>_0x1715be(_0x4e7362,_0x2e4337,_0x1fae3f);let L=class extends _0x892c91{constructor(_0x526ded,_0x2093e0,_0x35e236){const _0x5c041f=_0x40c61f;super(),l(this,_0x5c041f(0xc7),new Map()),l(this,_0x5c041f(0x13c),new _0x1bb5a0({'ranges':new Map(),'active':null})),l(this,_0x5c041f(0x262),this[_0x5c041f(0x13c)][_0x5c041f(0x20b)]()),(this[_0x5c041f(0x226)]=_0x526ded,this[_0x5c041f(0x1ae)]=_0x2093e0,this['_snapshotServerService']=_0x35e236,this[_0x5c041f(0x243)]());}[_0x40c61f(0x243)](){const _0x51c251=_0x40c61f;this[_0x51c251(0xc7)]=new Map(),this[_0x51c251(0x12d)](this['_historyManagerService'][_0x51c251(0x20f)][_0x51c251(0xf7)](_0x18a215=>{const _0x2d5a23=_0x51c251;_0x18a215&&!this[_0x2d5a23(0xc7)][_0x2d5a23(0x12f)](_0x18a215)&&this[_0x2d5a23(0xc7)][_0x2d5a23(0x1de)](_0x18a215,new Map());})),this[_0x51c251(0x12d)](this[_0x51c251(0x226)][_0x51c251(0xa1)][_0x51c251(0xf7)](async _0x21edb7=>{const _0x1764cb=_0x51c251;var _0x4eb3c1;_0x21edb7&&(await this[_0x1764cb(0x1c7)](_0x21edb7),this[_0x1764cb(0x13c)][_0x1764cb(0x181)](((_0x4eb3c1=this['_diffRangesMap'][_0x1764cb(0x199)](this['_historyManagerService'][_0x1764cb(0x16c)]))==null?void 0x0:_0x4eb3c1[_0x1764cb(0x199)](_0x21edb7))||{'ranges':new Map(),'active':null}));}));}async[_0x40c61f(0x1c7)](_0x3f88d3){const _0x52b946=_0x40c61f;var _0x559765,_0x2e879e;const _0x18cf88=this[_0x52b946(0x226)][_0x52b946(0x1cc)](_0x3f88d3),_0xe49d34=this['_historyManagerService']['unitId'];if(!_0x18cf88||!_0xe49d34)return;const _0x1f6246=this[_0x52b946(0xc7)][_0x52b946(0x199)](_0xe49d34);if(_0x1f6246||this[_0x52b946(0xc7)][_0x52b946(0x1de)](_0xe49d34,new Map()),(_0x559765=this[_0x52b946(0xc7)][_0x52b946(0x199)](_0xe49d34))!=null&&_0x559765[_0x52b946(0x12f)](_0x18cf88['id']))return;const {startRev:_0x292b3f,endRev:_0x40a4e4}=_0x18cf88;if(_0x292b3f===0x1){_0x1f6246[_0x52b946(0x1de)](_0x18cf88['id'],{'ranges':new Map(),'active':null});return;}const _0x51371f=_0x292b3f-0x1,_0x33cda5=_0x40a4e4,_0x127493=await this[_0x52b946(0xc3)][_0x52b946(0x206)]({},{'unitID':_0xe49d34,'from':_0x51371f,'to':_0x33cda5,'type':j[_0x52b946(0xbc)]});if(((_0x2e879e=_0x127493[_0x52b946(0xd6)])==null?void 0x0:_0x2e879e[_0x52b946(0x1e3)])===Z['OK']){const _0x5021ad=_0x127493[_0x52b946(0x1c1)][_0x52b946(0x253)](_0x434d5d)[_0x52b946(0x253)](_0x13fa8a=>_0x13fa8a[_0x52b946(0x14d)]['map'](_0x9bdf94=>({..._0x9bdf94,'params':{..._0x9bdf94['params'],'memberId':_0x13fa8a[_0x52b946(0x15b)]}})))[_0x52b946(0xbf)](),_0x13a530=this[_0x52b946(0x197)](_0x5021ad),_0x3f8d55=this[_0x52b946(0x221)](_0x5021ad),_0x58578a=this[_0x52b946(0xa3)](_0x13a530);_0x1f6246[_0x52b946(0x1de)](_0x18cf88['id'],{'ranges':_0x58578a,'active':_0x3f8d55});}}[_0x40c61f(0x197)](_0x4e7917){const _0x1c812c=_0x40c61f;let _0x4dcb55=[];for(let _0x47951d=0x0;_0x47951d<_0x4e7917['length'];_0x47951d++){const _0x1b0b69=_0x4e7917[_0x47951d];if(_0x4dcb55[_0x1c812c(0x164)](_0x1b0b69),_0x47951d!==_0x4e7917['length']-0x1){const _0x171c00=_0x4e7917[_0x47951d+0x1],_0x43d38b=this['_transformService'][_0x1c812c(0x1a2)](_0x4dcb55,[_0x171c00]);_0x526c29(_0x43d38b)?_0x4dcb55=_0x43d38b[_0x1c812c(0x1dd)]:_0x4dcb55=[];}}return _0x4dcb55;}[_0x40c61f(0x221)](_0x396aa4){const _0x583aa5=_0x40c61f;let _0x4197a4=[];return _0x396aa4['forEach'](_0x2404da=>{const _0x2c6d12=_0x48f2;if(_0x2404da['id']===_0x2cf0fe['id']){const _0x3b746f=_0x2404da[_0x2c6d12(0x1fb)];_0x4197a4[_0x2c6d12(0x164)](_0x3b746f[_0x2c6d12(0x13d)]['id']);}else{if(_0x2404da['id']===_0x9c631c['id']){const _0x31ef1c=_0x2404da['params'];_0x4197a4['length']>0x0&&(_0x4197a4=_0x4197a4[_0x2c6d12(0xbd)](_0x205b71=>_0x205b71!==_0x31ef1c[_0x2c6d12(0x151)]));}else{if(_0x2404da['id']===_0x11f2ec['id']){const _0x57d804=_0x2404da[_0x2c6d12(0x1fb)];_0x57d804[_0x2c6d12(0x157)]?_0x4197a4=_0x4197a4[_0x2c6d12(0xbd)](_0x109794=>_0x109794!==_0x57d804[_0x2c6d12(0x151)]):_0x4197a4['push'](_0x57d804[_0x2c6d12(0x151)]);}else{const _0x5bfb32=_0x2404da[_0x2c6d12(0x1fb)];_0x5bfb32['subUnitId']&&_0x4197a4[_0x2c6d12(0x164)](_0x5bfb32[_0x2c6d12(0x151)]);}}}}),_0x4197a4[_0x583aa5(0x126)]>0x0?_0x4197a4[_0x4197a4[_0x583aa5(0x126)]-0x1]:null;}[_0x40c61f(0xa3)](_0x3c828f){const _0x29659f=_0x40c61f,_0x1faa7b=new Map();return _0x3c828f[_0x29659f(0x118)](_0x42960f=>{const _0xfabda4=_0x29659f;var _0x68c764,_0x40d358;const _0x105aa3=(_0x68c764=_0x42960f[_0xfabda4(0x1fb)])==null?void 0x0:_0x68c764[_0xfabda4(0x231)];if(_0x105aa3){_0x1faa7b[_0xfabda4(0x12f)](_0x105aa3)||_0x1faa7b[_0xfabda4(0x1de)](_0x105aa3,[]);const _0x4a1caf=this[_0xfabda4(0x155)](_0x42960f);(_0x40d358=_0x1faa7b[_0xfabda4(0x199)](_0x105aa3))==null||_0x40d358[_0xfabda4(0x164)](..._0x4a1caf);}}),_0x1faa7b[_0x29659f(0x118)]((_0x336e0e,_0x3fba75)=>{_0x1faa7b['set'](_0x3fba75,this['_combineRanges'](_0x336e0e));}),_0x1faa7b;}[_0x40c61f(0x155)](_0x3e7d97){const _0x3cf569=_0x40c61f;switch(_0x3e7d97['id']){case _0x5e229b['id']:{const _0x3d6783=_0x3e7d97[_0x3cf569(0x1fb)];return _0x3d6783[_0x3cf569(0x125)][_0x3cf569(0x253)](_0x5ba3ac=>_0x5ba3ac['ranges'][_0x3cf569(0x253)](_0x253608=>({'range':_0x253608,'unitId':_0x3d6783[_0x3cf569(0x16c)],'subUnitId':_0x3d6783[_0x3cf569(0x151)]})))[_0x3cf569(0xbf)]();}case _0x374320['id']:{const _0x1e05a7=_0x3e7d97[_0x3cf569(0x1fb)];return _0x1e05a7[_0x3cf569(0x119)][_0x3cf569(0x253)](_0x3b22af=>({'range':_0x3b22af,'unitId':_0x1e05a7[_0x3cf569(0x16c)],'subUnitId':_0x1e05a7[_0x3cf569(0x151)]}));}case _0x1dcb57['id']:{const _0x18e090=_0x3e7d97[_0x3cf569(0x1fb)];return[{'range':_0x18e090[_0x3cf569(0xb8)],'unitId':_0x18e090[_0x3cf569(0x16c)],'subUnitId':_0x18e090[_0x3cf569(0x151)]}];}case _0x1dd75a['id']:{const _0x1013de=_0x3e7d97[_0x3cf569(0x1fb)];return[{'range':_0x1013de[_0x3cf569(0xb8)],'unitId':_0x1013de['unitId'],'subUnitId':_0x1013de[_0x3cf569(0x151)]}];}case _0x511017['id']:{const _0x1ae9af=_0x3e7d97['params'],{from:_0xec7cdf,to:_0x47ed86,unitId:_0x3ae8d5}=_0x1ae9af;return[{'range':ve(_0xec7cdf[_0x3cf569(0xa4)]),'unitId':_0x3ae8d5,'subUnitId':_0xec7cdf[_0x3cf569(0x151)]},{'range':ve(_0x47ed86[_0x3cf569(0xa4)]),'unitId':_0x3ae8d5,'subUnitId':_0x47ed86[_0x3cf569(0x151)]}];}case _0x520d22['id']:{const _0x14cb66=_0x3e7d97[_0x3cf569(0x1fb)],{unitId:_0x431fe9,subUnitId:_0x1155c4,sourceRange:_0x1e2056,targetRange:_0x3a8a9d}=_0x14cb66,_0x3fcb5e=_0x1e2056[_0x3cf569(0x149)]-_0x1e2056['startRow']+0x1;return[{'range':_0x3a8a9d[_0x3cf569(0xda)]<=_0x1e2056[_0x3cf569(0xda)]?_0x3a8a9d:{..._0x3a8a9d,'startRow':_0x3a8a9d['startRow']-_0x3fcb5e,'endRow':_0x3a8a9d[_0x3cf569(0x149)]-_0x3fcb5e},'unitId':_0x431fe9,'subUnitId':_0x1155c4}];}case _0x4520f1['id']:{const _0x108be5=_0x3e7d97['params'],{unitId:_0xcb13b,subUnitId:_0x55982b,sourceRange:_0x20719c,targetRange:_0x2b1100}=_0x108be5,_0x1f70d2=_0x20719c[_0x3cf569(0x1df)]-_0x20719c[_0x3cf569(0xd5)]+0x1;return[{'range':_0x2b1100[_0x3cf569(0xd5)]<=_0x20719c[_0x3cf569(0xd5)]?_0x2b1100:{..._0x2b1100,'startColumn':_0x2b1100[_0x3cf569(0xd5)]-_0x1f70d2,'endColumn':_0x2b1100[_0x3cf569(0x1df)]-_0x1f70d2},'unitId':_0xcb13b,'subUnitId':_0x55982b}];}case _0x422f7d['id']:{const _0x4e7b40=_0x3e7d97['params'],{values:_0x1a316e,unitId:_0x5c8e41,subUnitId:_0x502a5c}=_0x4e7b40;return Object[_0x3cf569(0x167)](_0x1a316e)[_0x3cf569(0x253)](_0x49ed42=>_0x49ed42[_0x3cf569(0x119)][_0x3cf569(0x253)](_0x20bb75=>({'range':_0x20bb75,'unitId':_0x5c8e41,'subUnitId':_0x502a5c})))['flat']();}case _0x3bef1d['id']:{const _0x17e053=_0x3e7d97[_0x3cf569(0x1fb)],{ranges:_0x5dd577,unitId:_0x4c43a9,subUnitId:_0x3a50d3}=_0x17e053;return _0x5dd577['map'](_0x4e9390=>({'range':_0x4e9390,'unitId':_0x4c43a9,'subUnitId':_0x3a50d3}));}case _0x540986['id']:{const _0x5578c2=_0x3e7d97[_0x3cf569(0x1fb)],{unitId:_0x5dd514,subUnitId:_0x5c7e51,range:_0x5a9e61}=_0x5578c2;return[{'range':_0x5a9e61,'unitId':_0x5dd514,'subUnitId':_0x5c7e51}];}case _0x13b215['id']:{const _0x8add11=_0x3e7d97['params'];return _0x8add11[_0x3cf569(0x1a3)][_0x3cf569(0x119)][_0x3cf569(0x253)](_0x54cf39=>({'range':_0x54cf39,'unitId':_0x8add11[_0x3cf569(0x16c)],'subUnitId':_0x8add11[_0x3cf569(0x151)]}));}case _0x5ba9f2['id']:{const _0x399a9f=_0x3e7d97[_0x3cf569(0x1fb)];return _0x399a9f[_0x3cf569(0x160)]?Bs(_0x399a9f[_0x3cf569(0x160)])['map'](_0xe97ae7=>({'range':_0xe97ae7,'unitId':_0x399a9f['unitId'],'subUnitId':_0x399a9f['subUnitId']})):[];}case _0x2c2bec['id']:{const _0x56f5f8=_0x3e7d97[_0x3cf569(0x1fb)];return[{'range':_0x56f5f8[_0x3cf569(0xb8)],'unitId':_0x56f5f8['unitId'],'subUnitId':_0x56f5f8['subUnitId']}];}case _0x1b616a['id']:{const _0x4eaf41=_0x3e7d97[_0x3cf569(0x1fb)];return(Array[_0x3cf569(0x168)](_0x4eaf41[_0x3cf569(0x1a3)])?_0x4eaf41[_0x3cf569(0x1a3)]:[_0x4eaf41[_0x3cf569(0x1a3)]])['map'](_0x45db74=>_0x45db74[_0x3cf569(0x119)][_0x3cf569(0x253)](_0x156212=>({'range':_0x156212,'unitId':_0x4eaf41[_0x3cf569(0x16c)],'subUnitId':_0x4eaf41['subUnitId']})))[_0x3cf569(0xbf)]();}case _0x1d7dd9['id']:{const _0x46057f=_0x3e7d97['params'];return _0x46057f['rule'][_0x3cf569(0x119)][_0x3cf569(0x253)](_0x2f2c69=>({'range':_0x2f2c69,'unitId':_0x46057f[_0x3cf569(0x16c)],'subUnitId':_0x46057f['subUnitId']}));}default:return[];}}['_combineRanges'](_0x29583f){const _0x1943af=_0x40c61f;if(_0x29583f[_0x1943af(0x126)]<=0x1)return _0x29583f;const _0x90c481=new Map();return _0x29583f[_0x1943af(0x118)](_0x346d72=>{const _0x13a58a=_0x1943af;var _0x23e58e;const {unitId:_0x4b17e8,subUnitId:_0x537e13}=_0x346d72,_0x1a4a71=_0x4b17e8+'-'+_0x537e13;_0x90c481['has'](_0x1a4a71)?(_0x23e58e=_0x90c481[_0x13a58a(0x199)](_0x1a4a71))==null||_0x23e58e[_0x13a58a(0x164)](_0x346d72):_0x90c481[_0x13a58a(0x1de)](_0x1a4a71,[_0x346d72]);}),Array['from'](_0x90c481['values']())[_0x1943af(0x253)](_0x27cbe8=>new _0x5e195f()[_0x1943af(0x19e)](..._0x27cbe8[_0x1943af(0x253)](_0x26d6a7=>_0x26d6a7['range']))['merge']()[_0x1943af(0x253)](_0x36eafc=>({'range':_0x36eafc,'unitId':_0x27cbe8[0x0][_0x1943af(0x16c)],'subUnitId':_0x27cbe8[0x0][_0x1943af(0x151)]})))[_0x1943af(0xbf)]();}};L=Ys([z(0x0,_0x34439e(R)),z(0x1,_0x4bf93c),z(0x2,_0x57858c)],L);function ve(_0x5cca54){const _0xb9731c=_0x40c61f;return new _0x30f4b2(_0x5cca54)[_0xb9731c(0x230)]();}function Bs(_0x47e73a){const _0x1307f2=_0x40c61f,_0xfe9d37=new _0x30f4b2(_0x47e73a),_0x17ea03=new _0x30f4b2();return _0xfe9d37[_0x1307f2(0x1cb)]((_0x59841d,_0x4ba442)=>{const _0x35f5c1=_0x1307f2;_0x17ea03[_0x35f5c1(0xce)](_0x59841d,_0x4ba442,0x1);}),_0x673c33(_0x17ea03);}var Xs=Object[_0x40c61f(0x12c)],Gs=(_0x438eb7,_0x466543,_0x50e995,_0x13c319)=>{const _0x1acd98=_0x40c61f;for(var _0xeae013=_0x13c319>0x1?void 0x0:_0x13c319?Xs(_0x466543,_0x50e995):_0x466543,_0x17bd87=_0x438eb7[_0x1acd98(0x126)]-0x1,_0x683ed7;_0x17bd87>=0x0;_0x17bd87--)(_0x683ed7=_0x438eb7[_0x17bd87])&&(_0xeae013=_0x683ed7(_0xeae013)||_0xeae013);return _0xeae013;},P=(_0x1e313e,_0x277046)=>(_0x43dd11,_0x19c162)=>_0x277046(_0x43dd11,_0x19c162,_0x1e313e);let ie=class extends _0x892c91{constructor(_0x449215,_0x4cf716,_0x4b3ed6,_0x1c32d6,_0x2f4b9f,_0x6284b5,_0x24be7d){const _0x321100=_0x40c61f;super(),l(this,_0x321100(0x248),new Set()),l(this,_0x321100(0x1f5),null),(this[_0x321100(0xf8)]=_0x449215,this[_0x321100(0x226)]=_0x4cf716,this[_0x321100(0x1c3)]=_0x4b3ed6,this[_0x321100(0x12e)]=_0x1c32d6,this[_0x321100(0x1e5)]=_0x2f4b9f,this[_0x321100(0x264)]=_0x6284b5,this['_commandService']=_0x24be7d,this[_0x321100(0x243)]());}[_0x40c61f(0x243)](){const _0x2260c3=_0x40c61f;this['_initRender'](),this[_0x2260c3(0x12a)]();}['_initRender'](){const _0xbe5c35=_0x40c61f;this[_0xbe5c35(0x12d)](_0x42904c([this[_0xbe5c35(0x226)][_0xbe5c35(0x162)],this[_0xbe5c35(0x264)][_0xbe5c35(0x179)]])[_0xbe5c35(0x148)](_0x3f8521(([_0x4dcf68,_0x384660])=>{const _0x5c96f6=_0xbe5c35;if(_0x4dcf68===$[_0x5c96f6(0x22b)]&&_0x384660){const _0x18e8f3=_0x384660[_0x5c96f6(0xcb)];return this[_0x5c96f6(0x1c3)][_0x5c96f6(0x262)][_0x5c96f6(0x148)](_0x23bca1(_0x5db513=>{const _0x4bc8d6=_0x5c96f6,_0x1d9e3d=new Map();return _0x5db513[_0x4bc8d6(0x119)][_0x4bc8d6(0x118)]((_0xb4d64d,_0x4c8da6)=>{const _0xb92a1d=_0x4bc8d6,_0x163c13=_0xb4d64d[_0xb92a1d(0xbd)](_0x1199ae=>_0x1199ae[_0xb92a1d(0x151)]===_0x18e8f3);_0x1d9e3d[_0xb92a1d(0x1de)](_0x4c8da6,_0x163c13);}),{'skeleton':_0x384660,'diffs':_0x1d9e3d};}));}return _0xb2cc15({'skeleton':null,'diffs':new Map()});}))[_0xbe5c35(0xf7)](({skeleton:_0xa1fb1a,diffs:_0x77f8a4})=>{const _0x2ba751=_0xbe5c35;this[_0x2ba751(0x19d)](),_0xa1fb1a&&this['_updateDiffMarks'](_0xa1fb1a,_0x77f8a4);})),this['disposeWithMe'](this[_0xbe5c35(0x264)][_0xbe5c35(0x179)][_0xbe5c35(0xf7)](_0x22ef1a=>{const _0x5a2c28=_0xbe5c35;if(_0x22ef1a==null)return;const {skeleton:_0x2d5938}=_0x22ef1a,{scene:_0x307912}=this['_context'];_0x307912[_0x5a2c28(0x154)][_0x5a2c28(0xc5)](_0x4f5bbf(_0x21b4a5=>{const _0x5f167c=_0x5a2c28;var _0x4020,_0x5a206c;const {offsetX:_0x35b321,offsetY:_0x2e4eaf}=_0x21b4a5,{x:_0x44d81c,y:_0x592c69}=_0x307912[_0x5f167c(0x25b)](_0x14a70b[_0x5f167c(0xe3)]([_0x35b321,_0x2e4eaf])),{scaleX:_0x34123d,scaleY:_0x4060e2}=_0x307912[_0x5f167c(0x1e6)](),_0x479192=_0x307912['getViewport'](_0x50f168[_0x5f167c(0xc8)]),_0x5da8ef=_0x307912[_0x5f167c(0xf0)](_0x14a70b[_0x5f167c(0xe3)]([_0x44d81c,_0x592c69]),_0x479192),_0x12c708=_0x2d5938[_0x5f167c(0x147)](_0x35b321,_0x2e4eaf,_0x34123d,_0x4060e2,_0x5da8ef);((_0x4020=this[_0x5f167c(0x1f5)])==null?void 0x0:_0x4020[_0x5f167c(0x190)])===_0x12c708[_0x5f167c(0x190)]&&((_0x5a206c=this[_0x5f167c(0x1f5)])==null?void 0x0:_0x5a206c[_0x5f167c(0x24a)])===_0x12c708[_0x5f167c(0x24a)]||this[_0x5f167c(0x248)]['forEach'](_0x30c305=>{const _0x4ae19f=_0x5f167c;_0x30c305[_0x4ae19f(0xa6)](_0x12c708);});},0x64));}));}[_0x40c61f(0x12a)](){const _0x177e08=_0x40c61f;this[_0x177e08(0x12d)](this[_0x177e08(0x226)][_0x177e08(0x162)][_0x177e08(0xf7)](_0x500bc=>{const _0x1a2dca=_0x177e08,_0x514de0=new _0x252bb3();return _0x500bc===$['Loaded']&&(_0x514de0['dispose'](),_0x514de0['add'](this[_0x1a2dca(0x1c3)][_0x1a2dca(0x262)][_0x1a2dca(0xf7)](_0x1aa999=>{const _0x330d48=_0x1a2dca;_0x1aa999[_0x330d48(0x23c)]&&this['_commandService'][_0x330d48(0x21a)](_0x31bd05['id'],{'unitId':this[_0x330d48(0xf8)][_0x330d48(0x16c)],'subUnitId':_0x1aa999[_0x330d48(0x23c)]});}))),()=>_0x514de0[_0x1a2dca(0x1d7)]();}));}[_0x40c61f(0xea)](_0x38fe8a,_0x18468d){const _0x280e66=_0x40c61f;var _0xcdfcdc;const _0x1a0760=(_0xcdfcdc=this[_0x280e66(0x264)][_0x280e66(0x239)]())==null?void 0x0:_0xcdfcdc['skeleton'];if(!_0x1a0760)return;this['_diffs'][_0x280e66(0x118)](_0x4df4f8=>{const _0x31c463=_0x280e66;_0x4df4f8[_0x31c463(0xa7)]();});const {scene:_0x1af798}=this[_0x280e66(0xf8)],_0x357973=Array[_0x280e66(0xa2)](_0x18468d[_0x280e66(0x233)]())[_0x280e66(0x253)](_0x1a4399=>_0x18468d['get'](_0x1a4399)[_0x280e66(0x253)](_0x169d80=>{const _0x577161=_0x280e66;var _0x574a16;const {range:_0x1cb87a,subUnitId:_0x5dce27,unitId:_0x52750b}=_0x169d80,{startColumn:_0xf7ffd6,startRow:_0x874b5a,endColumn:_0x495481,endRow:_0xcde92c}=_0x1cb87a,_0x1754ea=_0x3c6091(_0x874b5a,_0xf7ffd6,_0x1af798,_0x1a0760),_0x285cb4=_0x3c6091(_0xcde92c,_0x495481,_0x1af798,_0x1a0760),{columnHeaderHeightAndMarginTop:_0x47a9db}=_0x1a0760,{startX:_0x5b958a,startY:_0x647e4c}=_0x1754ea,{endX:_0x45b3fb,endY:_0x2c4d81}=_0x285cb4,_0x1cbdcf=_0x45b3fb-_0x5b958a,_0x49e7af=_0x2c4d81-_0x647e4c,_0x510d6e={'labelPosition':_0x647e4c-_0x47a9db>=0x14?_0x577161(0x207):_0x577161(0x245),'sheetID':_0x5dce27,'range':_0x1cb87a,'color':_0x577161(0x21c),'fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x577161(0x21c),'name':((_0x574a16=this[_0x577161(0x226)][_0x577161(0x112)](_0x1a4399))==null?void 0x0:_0x574a16[_0x577161(0x191)])||'','selection':_0x52750b+'-'+_0x5dce27+'-'+_0x1cb87a[_0x577161(0xd5)]+'-'+_0x1cb87a[_0x577161(0xda)]+'-'+_0x1cb87a[_0x577161(0x1df)]+'-'+_0x1cb87a['endRow'],'left':_0x5b958a,'top':_0x647e4c,'width':_0x1cbdcf,'height':_0x49e7af,'evented':!0x1,'zIndex':0x1};return new _0x13b0fa('',_0x510d6e);}))[_0x280e66(0xbf)]();_0x1af798[_0x280e66(0x261)](_0x357973,0x1),this['_diffs']=new Set(_0x357973);}[_0x40c61f(0x19d)](){const _0x4e1cd0=_0x40c61f;var _0x4a5bb7;(_0x4a5bb7=this[_0x4e1cd0(0x248)])==null||_0x4a5bb7[_0x4e1cd0(0x118)](_0x1bc932=>_0x1bc932['dispose']());}[_0x40c61f(0xb6)](){const _0x202c4c=_0x40c61f;return _0x54912a(this[_0x202c4c(0x12e)],this[_0x202c4c(0x1e5)]);}};ie=Gs([P(0x1,_0x34439e(R)),P(0x2,_0x34439e(L)),P(0x3,_0x294665),P(0x4,_0x5b6e1b),P(0x5,_0x34439e(_0xae9368)),P(0x6,_0x27e66b)],ie);function Zs(){const _0x275031=_0x40c61f,_0x299853=_0x37cb0c(R),_0x42d23f=_0x89be2(_0x299853[_0x275031(0x16d)]),[_0x542ce6,_0x81c506]=_0x37ec09(!0x1),_0x18ef3b=cs(_0x42d23f);return _0x42d23f?_0x5717c5('div',{'className':v[_0x275031(0x1b3)],'children':_0x2b8013(_0x275031(0x22d),{'className':v[_0x275031(0xa8)],'children':[_0x18ef3b['map']((_0x971fc3,_0x2dbb0e)=>_0x2b8013(_0xd5abb3,{'children':[_0x5717c5(Js,{'date':_0x971fc3[_0x275031(0x175)]}),_0x971fc3[_0x275031(0xfd)][_0x275031(0x253)]((_0x53aa72,_0xa54f46)=>_0x5717c5(zs,{'index':[_0x2dbb0e,_0xa54f46],'item':_0x53aa72},_0x2dbb0e+'-'+_0xa54f46))]},_0x971fc3[_0x275031(0x175)])),_0x542ce6&&_0x5717c5(As,{})]})}):_0x5717c5(Ks,{});}function As(){const _0x13584c=_0x40c61f;return _0x5717c5('div',{'className':v[_0x13584c(0xae)],'children':_0x5717c5(ce,{'className':v['versionListLoadingIcon']})});}function Ks(){const _0x20e226=_0x40c61f;return _0x5717c5(_0x20e226(0x22d),{'className':_0x25c1e8(v[_0x20e226(0x1b9)],'univer-flex\x20univer-items-center\x20univer-justify-center'),'children':_0x5717c5(_0x20e226(0xe8),{'className':_0x25c1e8(v[_0x20e226(0x111)],_0x20e226(0x214)),'children':_0x5717c5(ce,{'className':'univer-m-auto\x20univer-animate-spin360'})})});}function Js(_0x3f9982){const _0x561946=_0x40c61f,_0x4dc141=_0x37cb0c(_0x46b818),{date:_0x5ee7f7}=_0x3f9982;return _0x5717c5('div',{'className':v[_0x561946(0x18b)],'children':se(_0x5ee7f7,_0x4dc141[_0x561946(0x177)]())});}function zs(_0x1347a7){const _0x18efd1=_0x40c61f,{item:_0x867aa2,index:_0x533351}=_0x1347a7,{time:_0x4c1be9,user:_0xa6af28}=_0x867aa2,[_0x2deab3,_0x2c64d8]=_0x533351,_0x3bfb78=_0x37cb0c(R),_0x43fe25=_0x89be2(_0x3bfb78[_0x18efd1(0xa1)],'',!0x0)===_0x867aa2['id'],_0x1d427f=_0x2deab3===0x0&&_0x2c64d8===0x0,_0x422ce4=!_0x1d427f&&_0x3bfb78['canRevert'],_0x282918=_0x37cb0c(_0x46b818),_0xbac752=_0x282918[_0x18efd1(0x177)](),_0x198475=ae(_0x4c1be9,_0xbac752),_0x558b2f=_0x282918['t'](_0x18efd1(0xcc)),_0x2d157a=_0x3967f1(_0x1c812d=>{const _0x4fccd6=_0x18efd1;_0x3bfb78['loadingState']!==$[_0x4fccd6(0xad)]&&(_0x3bfb78[_0x4fccd6(0xee)]=_0x1c812d);},[_0x3bfb78]),_0x5e3cdd=_0x3967f1(_0x5db022=>{const _0x39219f=_0x18efd1;_0x3bfb78[_0x39219f(0x136)](_0x5db022);},[_0x3bfb78]);return _0x2b8013(_0x18efd1(0x22d),{'className':_0x25c1e8(v['versionItem'],{[v[_0x18efd1(0x23c)]]:_0x43fe25}),'onClick':()=>_0x2d157a(_0x867aa2['id']),'children':[_0x2b8013('div',{'className':v[_0x18efd1(0x15e)],'children':[_0x5717c5(_0x18efd1(0x22d),{'className':v[_0x18efd1(0x259)]}),_0x2b8013('div',{'className':v['versionItemHeaderTime'],'children':[_0x5717c5(_0x18efd1(0xe8),{'children':_0x198475[_0x18efd1(0x24f)]}),_0x1d427f&&_0x5717c5('span',{'className':v[_0x18efd1(0xac)],'children':_0x558b2f})]}),_0x5717c5(_0x18efd1(0x22d),{'children':_0x422ce4&&_0x5717c5(_0x521f2e,{'title':_0x282918['t'](_0x18efd1(0x169)),'children':_0x5717c5(_0x18efd1(0x22d),{'onClick':_0x309d36=>{const _0x3cfcc5=_0x18efd1;_0x309d36[_0x3cfcc5(0x242)](),_0x5e3cdd(_0x867aa2['id']);},'className':v[_0x18efd1(0x10f)],'children':_0x5717c5(Ve,{})})})})]}),_0x5717c5(_0x18efd1(0x22d),{'className':v[_0x18efd1(0x1ab)],'children':as(_0x867aa2,_0x282918)})]});}var Qs=Object['getOwnPropertyDescriptor'],qs=(_0x43567c,_0x4cc267,_0x36eda5,_0x537363)=>{const _0x4c6788=_0x40c61f;for(var _0x43ec03=_0x537363>0x1?void 0x0:_0x537363?Qs(_0x4cc267,_0x36eda5):_0x4cc267,_0x5a2342=_0x43567c[_0x4c6788(0x126)]-0x1,_0xb47dfb;_0x5a2342>=0x0;_0x5a2342--)(_0xb47dfb=_0x43567c[_0x5a2342])&&(_0x43ec03=_0xb47dfb(_0x43ec03)||_0x43ec03);return _0x43ec03;},H=(_0x5c9054,_0x3fd9b8)=>(_0x1aba4b,_0x47fa89)=>_0x3fd9b8(_0x1aba4b,_0x47fa89,_0x5c9054);const me=_0x40c61f(0x1a9);let B=class extends _0x892c91{constructor(_0x11a0aa,_0x24603c,_0x1844bd,_0x2147d2){const _0x51658a=_0x40c61f;super(),l(this,_0x51658a(0x17e),null),(this[_0x51658a(0xe2)]=_0x11a0aa,this[_0x51658a(0x1c4)]=_0x24603c,this[_0x51658a(0xe7)]=_0x1844bd,this[_0x51658a(0x226)]=_0x2147d2,this[_0x51658a(0x243)]());}[_0x40c61f(0x243)](){const _0x31d93a=_0x40c61f;this[_0x31d93a(0x158)](),this[_0x31d93a(0x1d0)]();}['_openPanel'](){const _0x10b6e5=_0x40c61f;if(this[_0x10b6e5(0x17e)])return;const _0x18634d={'header':{'title':this[_0x10b6e5(0xe7)]['t'](_0x10b6e5(0x1ef))},'children':{'label':me},'onClose':()=>{const _0x133ad8=_0x10b6e5;this[_0x133ad8(0x17e)]=null,this[_0x133ad8(0x226)][_0x133ad8(0x25c)]=oe[_0x133ad8(0x218)];}};this[_0x10b6e5(0x17e)]=this[_0x10b6e5(0xe2)]['open']({..._0x18634d});}[_0x40c61f(0x158)](){const _0x4d9129=_0x40c61f;this[_0x4d9129(0x12d)](this[_0x4d9129(0x1c4)][_0x4d9129(0xf2)](me,Zs)),this[_0x4d9129(0x12d)](this['_sidebarService'][_0x4d9129(0x193)]['pipe'](_0x5a90dc(0x64))['subscribe'](_0x20ee83=>{const _0x3031fb=_0x4d9129,{target:_0x3414b0}=_0x20ee83||{};if(_0x3414b0){const {scrollTop:_0x211a9f,scrollHeight:_0x55dd90,clientHeight:_0x3849f5}=_0x3414b0;_0x211a9f+_0x3849f5>=_0x55dd90-0x5&&this[_0x3031fb(0x226)][_0x3031fb(0x22a)]();}}));}};B=qs([H(0x0,_0x2c60a1),H(0x1,_0x34439e(_0x20d2b4)),H(0x2,_0x34439e(_0x46b818)),H(0x3,_0x34439e(R))],B);class ei extends _0x892c91{constructor(){const _0x551ef7=_0x40c61f;super(),l(this,_0x551ef7(0xf9),new _0x36798f());}[_0x40c61f(0x213)](){return _0x53f98a(()=>{});}[_0x40c61f(0x1cf)](){}[_0x40c61f(0x224)](_0x1a835e){}[_0x40c61f(0x1f7)](){const _0x15b827=_0x40c61f;return this['_dialogOptions$'][_0x15b827(0x20b)]();}}var ti=Object[_0x40c61f(0xff)],si=Object[_0x40c61f(0x12c)],ii=(_0xe4126e,_0x195f0a,_0x22b809)=>_0x195f0a in _0xe4126e?ti(_0xe4126e,_0x195f0a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x22b809}):_0xe4126e[_0x195f0a]=_0x22b809,ri=(_0x3e5192,_0xf3851c,_0x2ed33d,_0x600a34)=>{const _0x19a3a5=_0x40c61f;for(var _0x18aa0c=_0x600a34>0x1?void 0x0:_0x600a34?si(_0xf3851c,_0x2ed33d):_0xf3851c,_0x50e56c=_0x3e5192[_0x19a3a5(0x126)]-0x1,_0x1f0b20;_0x50e56c>=0x0;_0x50e56c--)(_0x1f0b20=_0x3e5192[_0x50e56c])&&(_0x18aa0c=_0x1f0b20(_0x18aa0c)||_0x18aa0c);return _0x18aa0c;},Q=(_0x2a6703,_0x30a11b)=>(_0x105401,_0x2f3aa5)=>_0x30a11b(_0x105401,_0x2f3aa5,_0x2a6703),ni=(_0x502272,_0x174d73,_0x29dc36)=>ii(_0x502272,_0x174d73+'',_0x29dc36);const ai=_0x40c61f(0x1b6);let re=class extends _0x3a3110{constructor(_0x4b4f81=_e,_0x561757,_0x24dd2a,_0x3efcb8){const _0xf688a2=_0x40c61f;super(),this[_0xf688a2(0xc6)]=_0x4b4f81,this[_0xf688a2(0x17b)]=_0x561757,this['_renderManagerService']=_0x24dd2a,this[_0xf688a2(0x19b)]=_0x3efcb8;const {..._0x3f4835}=_0x2ee2b0({},_e,this[_0xf688a2(0xc6)]);this[_0xf688a2(0x19b)][_0xf688a2(0xd0)](we,_0x3f4835);}[_0x40c61f(0x217)](){const _0x26befe=_0x40c61f;[[R],[Y],[L],[F],[B],[W],[_0x57858c,{'useClass':_0x324405}],[_0x5edd1f,{'useClass':ei}],[_0x5d1ddb,{'useClass':_0x3e2102}]][_0x26befe(0x118)](_0x338878=>this['_injector'][_0x26befe(0x19e)](_0x338878)),this[_0x26befe(0x17b)]['get'](Y);}[_0x40c61f(0x225)](){const _0x50c0e8=_0x40c61f;[[ie]]['forEach'](_0x865f1a=>{const _0x33608b=_0x48f2;this[_0x33608b(0x12d)](this[_0x33608b(0x1e5)][_0x33608b(0x1c6)](_0x2c8f9b[_0x33608b(0xbc)],_0x865f1a));}),this[_0x50c0e8(0x17b)][_0x50c0e8(0x199)](W),this['_injector']['get'](B);}[_0x40c61f(0x122)](){const _0x56ca6f=_0x40c61f;this[_0x56ca6f(0x17b)][_0x56ca6f(0x199)](L);}};ni(re,_0x40c61f(0xf5),ai),re=ri([_0x19c3f4(_0x1bb0b0,_0x3f1db7),Q(0x1,_0x34439e(_0x30e6aa)),Q(0x2,_0x5b6e1b),Q(0x3,_0x53b69c)],re);export{R as HistoryManagerService,oe as HistoryModeStatus,re as UniverEditHistoryViewerPlugin};
|
|
1
|
+
const _0x224365=_0x53be;(function(_0x1e15ee,_0x2d3337){const _0x16c476=_0x53be,_0x24a751=_0x1e15ee();while(!![]){try{const _0x3990c6=parseInt(_0x16c476(0xa0))/0x1*(-parseInt(_0x16c476(0x17d))/0x2)+parseInt(_0x16c476(0x14f))/0x3*(-parseInt(_0x16c476(0xec))/0x4)+parseInt(_0x16c476(0x118))/0x5*(-parseInt(_0x16c476(0x171))/0x6)+parseInt(_0x16c476(0x235))/0x7+parseInt(_0x16c476(0x238))/0x8*(parseInt(_0x16c476(0xee))/0x9)+parseInt(_0x16c476(0x1eb))/0xa+parseInt(_0x16c476(0xef))/0xb;if(_0x3990c6===_0x2d3337)break;else _0x24a751['push'](_0x24a751['shift']());}catch(_0x593077){_0x24a751['push'](_0x24a751['shift']());}}}(_0x32a6,0xe305f));var je=Object[_0x224365(0x1f9)],Fe=(_0x323589,_0x91dbe,_0x259b16)=>_0x91dbe in _0x323589?je(_0x323589,_0x91dbe,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x259b16}):_0x323589[_0x91dbe]=_0x259b16,l=(_0x91e7e7,_0x53028a,_0x11cbcb)=>Fe(_0x91e7e7,typeof _0x53028a!=_0x224365(0xe2)?_0x53028a+'':_0x53028a,_0x11cbcb);import{RevertRevisionMutation as _0x389ec0,CreateUnitMutation as _0x1e30e7,ISnapshotServerService as _0x34e386,CompressMutationService as _0x1739d7,transformSnapshotToWorkbookData as _0xcdbacb,ITransformService as _0x548904,parseProtocolChangeset as _0x1c3673,isTransformMutationsSuccess as _0x4df73a}from'@univerjs-pro/collaboration';import{SnapshotServerOverHTTPService as _0x40d5b3,CollaborationImageIoService as _0x26933a}from'@univerjs-pro/collaboration-client';function _0x32a6(){const _0x1f1d95=['_commandService','startRevision','_renderManagerService','versions','UNIVER_SHEET','_localeService','xlink:href','keys','unitId','_context','versionDate','FromArray','code','SetCellValue','getUnitId','YUUMI_RATE_OVER_LIMIT','emptyText','setState','TOO_MANY_REQUESTS','state$','add','entries',':\x20(','0\x200\x2016\x2017','APPLY_NON_SEQUENTIAL_REVISION','idSuffix','some','getCurrentUnitForType','_init','MoveSheet','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','onPointerMove$','HEADER','getMinutes','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','createSheet','Loading','function','_updateVersions','_snapshotServerService','PERMISSION_DENIED','versionItemHeaderTimeTag','_getSheetObject','children','PivotTable','20505eNKrfl','getDialogs$','status$','Edit','endRow','versionItemHeaderExpand','INVITE_CODE_ALREADY_BOUND','propertyIsEnumerable','_sidebarService','m1Prime','apply','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','values','INVITE_CODE_HAS_BEEN_UES','Print','className','_messageService','SelectUnProtectedCells','univer-version-list-panel','SetColumnStyle','History','extend','data','UNAUTHENTICATED','univer-version-item-header-time','rgba(225,\x20225,\x20225,\x200.5)','active','triggerLoadSheet','string','addObjects','CHANGESET_REVISION_CONFILICT','_getActiveSubUnitId','editHistory.panel.revertConfirm','canRevert','9108474JPuLGd','univer-active','CopySheet','_initRender','pluginName','ZH_CN','getCurrent','url(#restore-single_clip0_1247_2)','endRevision','getAncestorScale','range','[HistoryFetchService]:\x20request\x20snapshot\x20error!','2EONShH','displayName','indexOf','skeleton','set','ViewHistory','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','zIndex','_canRevert','MoveWorksheet','APPLY_PERMISSION_DENIED','UNDEFINED','prototype','has','close','CreateSheet','forValue','getVersion','_initPanel','top','forEach','exited','ManageCollaborator','blockMeta','toString','editHistory.action.etc','toISOString','mask','_removeDiffMarks','_lastLabel','_config','endColumn','mutations','LICENSE_DISTRO_REJECTED','padStart','_loadingState$','getInterceptPoints','url(#$1','tag','_currentVersionDiff$','focusUnit','rules','rgba(58,\x2096,\x20247,\x200.20)','insertSheet','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','asObservable','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','onMouseMove','InsertColumn','div','row','editHistory.panel.revertDesc','CreateWorksheet','addSparkline','_historyContainerId','getViewport','FloatImg','_extractRanges','_maskElement','createTime','stopPropagation','sheet','attrs','Info','updatePermissionPoint','getVpScrollXYInfoByPosToVp','push','assign','registerComponent','style','editHistory.header.revert','querySelector','_versions$','ViewFilter','init','CONNECTOR_DATA_TOO_LARGE','currentColor','currentVersionDiff$','univer-version-item-header','getCellPositionByOffset','syncExecuteCommand','getMember','time','SetWorksheetStyle','editHistory.action.revertSheetPrefix','INVALID_ARGUMENT','setFilter','scrollEvent$','Sort','bottom','0\x200\x2016\x2016','subUnitId','Entered','then','path','get','Copy','users','reduce','deleteProtection','defIds','versions$','span','_currentVersion$','BackSingle','rule','UNIVER_DOC','loading','entities','LICENSE_EXPORT_SIZE_EXCEEDED','13719370ijenur','RenameSheet','currentVersion','editHistory.action.','_revertRevision$','command','left','UNIVER_UNKNOWN','none','CreatePermissionObject','map','evenodd','date','createUnit','defineProperty','ensureVersion','parse','COMPRESS_MUTATION_APPLY','substring','confirm','View','_createUnit','editHistory.panel.confirm','all','replace','status','sheetId','editHistory.panel.listFetchError','univer-m-auto\x20univer-animate-spin360','makeDirty','value','block','hideMask','_getAPIPrefix','append','subType','error','loadingState$','getHours','defs','_initActiveSwitch','_workbookDataCache','pipe','_diffs','univer-history-view-header','use','PY_RUNTIME_SCRIPT_ERROR','workbook','column','univer-text-gray-500','YUUMI_SUBSCRIPTION_NOT_FOUND','_historyFetchService','Filter','EditExtraObject','dispose','_transformMutationByOrder','Exited','_members','univer-version-list-loading-icon','setDV','setConfig','UNIVER_SLIDE','split','univerjs-icon\x20univerjs-icon-','HideSheet','endRev','ViemRwHgtClWdt','rect','revertRevision$','_status$','editHistory.panel.unknownUser','_confirmService','Duplicate','startRow','8925meviXp','disposeWithMe','interceptor','136bXoDMq','_dialogOptions$','userID','UNIVER_PROJECT','entered','getConfig','createElement','setCF','EditWorksheetCell','blocks','startColumn','loadMoreVersions','loadSheet','subscribe','_sheetSkeletonManagerService','YUUMI_UNABLE_LOAD_URL','RenameWorksheet','Delete','next','LICENSE_IMPORT_SIZE_EXCEEDED','SetRowStyle','includes','register','ALREADY_EXISTS','ENSURE_SNAPSHOT_EXECUTION','getDeserializedSheetBlock','changesets','find','from','#fff','490096hjhMiV','center','unitId$','InsertRow','rev','Export','colorChannel1','dateString','UNRECOGNIZED','Today','_transformService','Share','color','params','body','RecoverHistory','USER_NOT_INVITED_CODE','backgroundColor','_uiPartsService','currentVersion$','APPLY_REJECT','_unitId$','fill','icon','permissionPointUpdate$','Init','_maskContainer','YUUMI_URL_COL_OUT_OF_RANGE','commands','white','versionListLoadingIcon','primary','userId','loadingState','flat','InsertHyperlink','_getRangesByMutation','editHistory.panel.title','univer-version-item-header-expand','getOwnPropertySymbols','getCurrentLocale','VIRTUAL_VERSION_NOW','open','setValue','versionListPanelContent','APPLY_DUPLICATED','SelectProtectedCells','edit-history-viewer.config','concat','getUnitOnRev','editHistory.action.revertSheetSuffix','_compressMutationService','revertSheet','_fetching','_diffRangesMap','ranges','NOT_FOUND','editHistory.panel.cancel','Comment','100%','_initMaskContainer','univer-version-date','triggerRevert','transformMutations','LICENSE_MAX_UNITS_EXCEEDED','_configService','symbol','display','setFrozen','DeleteRow','width','_permissionService','_httpService','currentSkeleton$','name','_historyManagerService','56vgLQrW','history-panel','301167IOXBkD','12008359VHRBNc','HideWorksheet','_hasMore','getRelativeToViewportCoord','INVALID_INVITE_CODE','hasOwnProperty','SetCellStyle','INTERNAL_ERROR','length','_univerInstanceService','getOwnPropertyDescriptor','APPLY_REVISION_CONFILICT','_injector','editHistory.panel.revertConfirmText','_createMask','call','_lastPointer','hidden','_openPanel','versionItemHeader','svg','recoverTime','getCurrentVersion','flex','SNAPSHOT_HAS_BEEN_REMOVED','1em','historyViewHeader','_sidebarDisposable','RwHgtClWdt','Error','univer-version-item-header-time-tag','filter','SNAPSHOT_INVALID_SNAPSHOT','Loaded','isArray','_versionDiffService','UniverIcon','fetchMissingChangesets','/universer-api/history','registerRenderModule','1000','5OXTmQh','.univer-app-container-content','COMPLETION_FINISHED','&lastLabel=','showMask','_cellEditorManagerService','editHistory.panel.currentUser','height','show','getVersions'];_0x32a6=function(){return _0x1f1d95;};return _0x32a6();}import{Disposable as _0x50f93d,LocaleType as _0x3a88ec,IUniverInstanceService as _0x4765df,ICommandService as _0xfc1988,IConfigService as _0x1b8186,Inject as _0x2a67ed,UniverInstanceType as _0x3acd08,LocaleService as _0x1b1071,IPermissionService as _0x36d5f0,Injector as _0x3c6310,ObjectMatrix as _0x2421db,debounce as _0x176663,DisposableCollection as _0x570796,toDisposable as _0x13d9ff,DependentOn as _0x30e968,Plugin as _0x18884a,merge as _0x50a37e}from'@univerjs/core';import{IImageIoService as _0x31ed3a}from'@univerjs/drawing';import{IRenderManagerService as _0x283c95,Vector2 as _0xf63f9f,SHEET_VIEWPORT_KEY as _0x1ebf68}from'@univerjs/engine-render';import{HTTPService as _0x52750d,UniverNetworkPlugin as _0x3b6ba6}from'@univerjs/network';import{ICellEditorManagerService as _0x55af33,SheetSkeletonManagerService as _0x2d2b25,getCoordByCell as _0x5d9545,getSheetObject as _0x48a190,UniverSheetsUIPlugin as _0x161075}from'@univerjs/sheets-ui';import{IMessageService as _0x587c46,IConfirmService as _0x5d1cfb,useDependency as _0x4a458b,useObservable as _0x5475b8,IUIPartsService as _0x1276b0,BuiltInUIPart as _0x412ff4,connectInjector as _0x35d182,ISidebarService as _0x57919a,ComponentManager as _0x915dce,IDialogService as _0xa84fad}from'@univerjs/ui';import{MessageType as _0xa72f09,Button as _0x4692c5,clsx as _0x284423,Tooltip as _0x2e0222}from'@univerjs/design';import{InsertSheetMutation as _0x451613,RemoveSheetMutation as _0x320619,SetFrozenMutation as _0x21963f,AddWorksheetProtectionMutation as _0x355b3c,AddRangeProtectionMutation as _0x3c40f8,DeleteRangeProtectionMutation as _0x504c39,DeleteWorksheetProtectionMutation as _0x2b8b9b,WorkbookEditablePermission as _0x1d7a9b,WorkbookRenameSheetPermission as _0x568def,WorkbookMoveSheetPermission as _0x235e3e,WorkbookHideSheetPermission as _0xc65f37,SetWorksheetHideMutation as _0x4048c0,SetRangeValuesMutation as _0x473c9d,SetRangeProtectionMutation as _0xd0a3c9,ReorderRangeMutation as _0x1405a8,RemoveNumfmtMutation as _0x2303fb,SetNumfmtMutation as _0x53f819,MoveColsMutation as _0x525961,MoveRowsMutation as _0xa49cea,MoveRangeMutation as _0x30fb1a,InsertColMutation as _0x4b478a,InsertRowMutation as _0x366ad7,AddWorksheetMergeMutation as _0x5af3ed,RangeMergeUtil as _0x4cf97c,findAllRectangle as _0x417f04,SetWorksheetActiveOperation as _0x1d4c00}from'@univerjs/sheets';import{BehaviorSubject as _0x21e4a1,combineLatest as _0x2b3e92,switchMap as _0x397c88,map as _0x4d774c,of as _0x174671,debounceTime as _0x522c22,Subject as _0x3b2bad}from'rxjs';import{AddDataValidationMutation as _0x5cc3f3,UpdateDataValidationMutation as _0x3fd927}from'@univerjs/data-validation';import{SetConditionalRuleMutation as _0x24f9bd,AddConditionalRuleMutation as _0x486751}from'@univerjs/sheets-conditional-formatting';import{SetSheetsFilterRangeMutation as _0xbdbea6}from'@univerjs/sheets-filter';import{AddSheetSparklineMutation as _0x9ffb1a}from'@univerjs-pro/sheets-sparkline';import{jsxs as _0x4074de,jsx as _0x29aab3}from'react/jsx-runtime';import{forwardRef as _0x18e1a7,useRef as _0x237793,createElement as _0x28e38f,useCallback as _0x11a126,useState as _0x85f32f,Fragment as _0x8ba6b}from'react';import{SheetCollabCursorShape as _0x5cc4c6}from'@univerjs-pro/collaboration-client-ui';const we=_0x224365(0xcf),_e={};var ss=Object[_0x224365(0xf9)],is=(_0x4a665d,_0x185718,_0x366cc6,_0x561dc1)=>{for(var _0x1bfde1=_0x561dc1>0x1?void 0x0:_0x561dc1?ss(_0x185718,_0x366cc6):_0x185718,_0x3186e8=_0x4a665d['length']-0x1,_0x509332;_0x3186e8>=0x0;_0x3186e8--)(_0x509332=_0x4a665d[_0x3186e8])&&(_0x1bfde1=_0x509332(_0x1bfde1)||_0x1bfde1);return _0x1bfde1;},rs=(_0x4585f9,_0x917f26)=>(_0x456f41,_0x3b6a6e)=>_0x917f26(_0x456f41,_0x3b6a6e,_0x4585f9);let W=class extends _0x50f93d{constructor(_0x11b742){const _0x5af9c5=_0x224365;super(),this[_0x5af9c5(0x11d)]=_0x11b742,this[_0x5af9c5(0x13e)]();}[_0x224365(0x13e)](){const _0x482acd=_0x224365;this[_0x482acd(0x236)](this['_cellEditorManagerService'][_0x482acd(0x135)][_0x482acd(0x8f)](_0x424ca5=>{const _0x5f351a=_0x482acd;_0x424ca5!=null&&_0x424ca5[_0x5f351a(0x120)]&&this[_0x5f351a(0x11d)][_0x5f351a(0x133)]({'show':!0x1});}));}};W=is([rs(0x0,_0x55af33)],W);var Z=(_0x1a9296=>(_0x1a9296[_0x1a9296[_0x224365(0x188)]=0x0]=_0x224365(0x188),_0x1a9296[_0x1a9296['OK']=0x1]='OK',_0x1a9296[_0x1a9296[_0x224365(0xf6)]=0x2]=_0x224365(0xf6),_0x1a9296[_0x1a9296[_0x224365(0x14a)]=0x3]=_0x224365(0x14a),_0x1a9296[_0x1a9296[_0x224365(0xd8)]=0x4]=_0x224365(0xd8),_0x1a9296[_0x1a9296[_0x224365(0x166)]=0x5]=_0x224365(0x166),_0x1a9296[_0x1a9296['ALREADY_EXISTS']=0x6]=_0x224365(0x99),_0x1a9296[_0x1a9296[_0x224365(0x1d2)]=0x7]=_0x224365(0x1d2),_0x1a9296[_0x1a9296['TOO_MANY_REQUESTS']=0x8]=_0x224365(0x134),_0x1a9296[_0x1a9296[_0x224365(0x11a)]=0x9]=_0x224365(0x11a),_0x1a9296[_0x1a9296['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x1a9296[_0x1a9296[_0x224365(0x16d)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x1a9296[_0x1a9296['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x224365(0x10f),_0x1a9296[_0x1a9296[_0x224365(0x107)]=0x1772]=_0x224365(0x107),_0x1a9296[_0x1a9296['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x224365(0x9a),_0x1a9296[_0x1a9296[_0x224365(0xb4)]=0x1b59]='APPLY_REJECT',_0x1a9296[_0x1a9296[_0x224365(0x13a)]=0x1b5a]=_0x224365(0x13a),_0x1a9296[_0x1a9296[_0x224365(0xfa)]=0x1b5b]=_0x224365(0xfa),_0x1a9296[_0x1a9296['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x224365(0x187),_0x1a9296[_0x1a9296[_0x224365(0xcd)]=0x1b5d]=_0x224365(0xcd),_0x1a9296[_0x1a9296['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x224365(0x1c8),_0x1a9296[_0x1a9296[_0x224365(0xe0)]=0x2329]=_0x224365(0xe0),_0x1a9296[_0x1a9296[_0x224365(0x1a9)]=0x232a]=_0x224365(0x1a9),_0x1a9296[_0x1a9296[_0x224365(0x95)]=0x232b]=_0x224365(0x95),_0x1a9296[_0x1a9296[_0x224365(0x1ea)]=0x232c]=_0x224365(0x1ea),_0x1a9296[_0x1a9296[_0x224365(0x19e)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x1a9296[_0x1a9296[_0x224365(0x91)]=0x2711]=_0x224365(0x91),_0x1a9296[_0x1a9296[_0x224365(0xbb)]=0x2712]=_0x224365(0xbb),_0x1a9296[_0x1a9296[_0x224365(0x131)]=0x2713]=_0x224365(0x131),_0x1a9296[_0x1a9296[_0x224365(0x21d)]=0x2714]=_0x224365(0x21d),_0x1a9296[_0x1a9296[_0x224365(0x219)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x1a9296[_0x1a9296[_0x224365(0x15c)]=0x2ee1]=_0x224365(0x15c),_0x1a9296[_0x1a9296[_0x224365(0xf3)]=0x2ee2]=_0x224365(0xf3),_0x1a9296[_0x1a9296['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x1a9296[_0x1a9296[_0x224365(0xb0)]=0x2ee4]=_0x224365(0xb0),_0x1a9296[_0x1a9296[_0x224365(0x155)]=0x2ee5]=_0x224365(0x155),_0x1a9296[_0x1a9296['UNRECOGNIZED']=-0x1]=_0x224365(0xa8),_0x1a9296))(Z||{}),j=(_0x5e4e08=>(_0x5e4e08[_0x5e4e08['UNIVER_UNKNOWN']=0x0]=_0x224365(0x1f2),_0x5e4e08[_0x5e4e08[_0x224365(0x1e7)]=0x1]=_0x224365(0x1e7),_0x5e4e08[_0x5e4e08[_0x224365(0x126)]=0x2]=_0x224365(0x126),_0x5e4e08[_0x5e4e08[_0x224365(0x228)]=0x3]=_0x224365(0x228),_0x5e4e08[_0x5e4e08[_0x224365(0x23b)]=0x4]=_0x224365(0x23b),_0x5e4e08[_0x5e4e08[_0x224365(0xa8)]=-0x1]='UNRECOGNIZED',_0x5e4e08))(j||{}),C=(_0x2251cc=>(_0x2251cc[_0x2251cc[_0x224365(0x1ff)]=0x0]=_0x224365(0x1ff),_0x2251cc[_0x2251cc[_0x224365(0x152)]=0x1]=_0x224365(0x152),_0x2251cc[_0x2251cc[_0x224365(0x193)]=0x2]='ManageCollaborator',_0x2251cc[_0x2251cc['Print']=0x3]=_0x224365(0x15d),_0x2251cc[_0x2251cc[_0x224365(0x233)]=0x4]='Duplicate',_0x2251cc[_0x2251cc[_0x224365(0xda)]=0x5]=_0x224365(0xda),_0x2251cc[_0x2251cc[_0x224365(0x1dd)]=0x6]=_0x224365(0x1dd),_0x2251cc[_0x2251cc[_0x224365(0xab)]=0x7]=_0x224365(0xab),_0x2251cc[_0x2251cc['Export']=0x8]=_0x224365(0xa5),_0x2251cc[_0x2251cc['MoveWorksheet']=0x9]=_0x224365(0x186),_0x2251cc[_0x2251cc['DeleteWorksheet']=0xa]='DeleteWorksheet',_0x2251cc[_0x2251cc[_0x224365(0xf0)]=0xb]='HideWorksheet',_0x2251cc[_0x2251cc['RenameWorksheet']=0xc]=_0x224365(0x92),_0x2251cc[_0x2251cc[_0x224365(0x1b1)]=0xd]=_0x224365(0x1b1),_0x2251cc[_0x2251cc[_0x224365(0x1d0)]=0xe]=_0x224365(0x1d0),_0x2251cc[_0x2251cc[_0x224365(0x240)]=0xf]='EditWorksheetCell',_0x2251cc[_0x2251cc[_0x224365(0xc3)]=0x10]='InsertHyperlink',_0x2251cc[_0x2251cc[_0x224365(0x1d5)]=0x11]=_0x224365(0x1d5),_0x2251cc[_0x2251cc[_0x224365(0x21f)]=0x12]=_0x224365(0x21f),_0x2251cc[_0x2251cc[_0x224365(0x14e)]=0x13]=_0x224365(0x14e),_0x2251cc[_0x2251cc[_0x224365(0x1b5)]=0x14]='FloatImg',_0x2251cc[_0x2251cc[_0x224365(0x163)]=0x15]=_0x224365(0x163),_0x2251cc[_0x2251cc[_0x224365(0x10b)]=0x16]=_0x224365(0x10b),_0x2251cc[_0x2251cc[_0x224365(0x22d)]=0x17]=_0x224365(0x22d),_0x2251cc[_0x2251cc[_0x224365(0x1c6)]=0x18]=_0x224365(0x1c6),_0x2251cc[_0x2251cc['MoveSheet']=0x19]=_0x224365(0x13f),_0x2251cc[_0x2251cc['DeleteSheet']=0x1a]='DeleteSheet',_0x2251cc[_0x2251cc['HideSheet']=0x1b]=_0x224365(0x22b),_0x2251cc[_0x2251cc[_0x224365(0x173)]=0x1c]=_0x224365(0x173),_0x2251cc[_0x2251cc['RenameSheet']=0x1d]=_0x224365(0x1ec),_0x2251cc[_0x2251cc[_0x224365(0x18c)]=0x1e]=_0x224365(0x18c),_0x2251cc[_0x2251cc[_0x224365(0xce)]=0x1f]=_0x224365(0xce),_0x2251cc[_0x2251cc[_0x224365(0x160)]=0x20]='SelectUnProtectedCells',_0x2251cc[_0x2251cc[_0x224365(0xf5)]=0x21]=_0x224365(0xf5),_0x2251cc[_0x2251cc[_0x224365(0x12f)]=0x22]=_0x224365(0x12f),_0x2251cc[_0x2251cc[_0x224365(0x96)]=0x23]='SetRowStyle',_0x2251cc[_0x2251cc[_0x224365(0x162)]=0x24]=_0x224365(0x162),_0x2251cc[_0x2251cc['InsertRow']=0x25]=_0x224365(0xa3),_0x2251cc[_0x2251cc[_0x224365(0x1ad)]=0x26]=_0x224365(0x1ad),_0x2251cc[_0x2251cc[_0x224365(0xe5)]=0x27]='DeleteRow',_0x2251cc[_0x2251cc['DeleteColumn']=0x28]='DeleteColumn',_0x2251cc[_0x2251cc[_0x224365(0x220)]=0x29]='EditExtraObject',_0x2251cc[_0x2251cc[_0x224365(0x93)]=0x2a]='Delete',_0x2251cc[_0x2251cc['RecoverHistory']=0x2b]=_0x224365(0xaf),_0x2251cc[_0x2251cc['ViewHistory']=0x2c]=_0x224365(0x182),_0x2251cc[_0x2251cc[_0x224365(0x1f4)]=0x2d]=_0x224365(0x1f4),_0x2251cc[_0x2251cc[_0x224365(0xa8)]=-0x1]=_0x224365(0xa8),_0x2251cc))(C||{});function ns(_0x4f4e5e){const _0x1f06ce=_0x224365;return!!(_0x4f4e5e&&_0x4f4e5e[_0x1f06ce(0x12e)]&&_0x4f4e5e[_0x1f06ce(0x12e)]!==Z['OK']&&_0x4f4e5e[_0x1f06ce(0x12e)]!=='OK');}const ae=(_0x468bfa,_0xebab3d)=>{const _0x555bf7=_0x224365;if(!_0x468bfa)return{'date':'','time':''};const _0x1cfe8e=new Date(_0x468bfa),_0x29ebac=_0x1cfe8e['toISOString']()[_0x555bf7(0x229)]('T')[0x0];switch(_0xebab3d){case _0x3a88ec[_0x555bf7(0x176)]:return{'date':se(_0x29ebac,_0xebab3d),'time':_0x1cfe8e[_0x555bf7(0x211)]()+':'+String(_0x1cfe8e['getMinutes']())[_0x555bf7(0x19f)](0x2,'0')};default:return{'date':se(_0x29ebac,_0xebab3d),'time':_0x1cfe8e[_0x555bf7(0x211)]()+':'+_0x1cfe8e[_0x555bf7(0x143)]()};}},as=(_0x307215,_0x2e9314)=>{const _0x40fe70=_0x224365,_0x7e5a93=_0x307215['user']||_0x2e9314['t'](_0x40fe70(0x231));if(_0x307215['commands'][_0x40fe70(0x13c)](_0xafe199=>_0xafe199===_0x389ec0['id'])&&_0x307215['recoverTime']){const _0x3ad60e=ae(_0x307215[_0x40fe70(0x104)],_0x2e9314[_0x40fe70(0xc8)]()),_0x278a34=_0x3ad60e['date']+'\x20'+_0x3ad60e[_0x40fe70(0x1cf)];return _0x7e5a93+'\x20'+_0x2e9314['t'](_0x40fe70(0x1d1))+'\x20'+_0x278a34+'\x20'+_0x2e9314['t'](_0x40fe70(0xd2));}const _0x23feb5=os(_0x307215),_0x5ea5d9=_0x23feb5[_0x40fe70(0xf7)]===0x1?_0x2e9314['t'](_0x23feb5[0x0]):''+_0x2e9314['t'](_0x23feb5[0x0])+_0x2e9314['t'](_0x40fe70(0x196));return _0x7e5a93+'\x20'+_0x5ea5d9;};function os(_0x2ce00f){const _0x699a5=_0x224365;if(_0x2ce00f[_0x699a5(0xbc)][_0x699a5(0xf7)]===0x0)return[''];const _0x1b8a1a=_0x699a5(0x1ee),_0x39d7d3=_0x1b8a1a+'editSheet',_0x181f0c=[{'id':_0x1e30e7['id'],'action':_0x1b8a1a+_0x699a5(0x145)},{'id':_0x389ec0['id'],'action':_0x1b8a1a+_0x699a5(0xd4)},{'id':_0x451613['id'],'action':_0x1b8a1a+_0x699a5(0x1a8)},{'id':_0x320619['id'],'action':_0x1b8a1a+'removeSheet'},{'id':_0x21963f['id'],'action':_0x1b8a1a+_0x699a5(0xe4)},{'id':_0xbdbea6['id'],'action':_0x1b8a1a+_0x699a5(0x1d3)},{'id':_0x5cc3f3['id'],'action':_0x1b8a1a+_0x699a5(0x226)},{'id':_0x3fd927['id'],'action':_0x1b8a1a+_0x699a5(0x226)},{'id':_0x24f9bd['id'],'action':_0x1b8a1a+_0x699a5(0x23f)},{'id':_0x486751['id'],'action':_0x1b8a1a+_0x699a5(0x23f)},{'id':_0x355b3c['id'],'action':_0x1b8a1a+'addProtection'},{'id':_0x3c40f8['id'],'action':_0x1b8a1a+'addProtection'},{'id':_0x9ffb1a['id'],'action':_0x1b8a1a+_0x699a5(0x1b2)},{'id':_0x504c39['id'],'action':_0x1b8a1a+_0x699a5(0x1e0)},{'id':_0x2b8b9b['id'],'action':_0x1b8a1a+_0x699a5(0x1e0)}][_0x699a5(0x10e)](_0xd5572=>_0x2ce00f[_0x699a5(0xbc)][_0x699a5(0x97)](_0xd5572['id']));return _0x181f0c!=null&&_0x181f0c[_0x699a5(0xf7)]?_0x181f0c[_0x699a5(0x1f5)](_0x301f63=>_0x301f63['action']):[_0x39d7d3];}function se(_0x50a58f,_0x1c273e){const _0x42f461=_0x224365,[_0x348b9b,_0x5b0799,_0x3babea]=new Date()['toISOString']()[_0x42f461(0x229)]('T')[0x0][_0x42f461(0x229)]('-'),[_0x378ceb,_0x359098,_0x37d8b6]=_0x50a58f[_0x42f461(0x229)]('-'),_0x45f70f=_0x348b9b===_0x378ceb&&_0x5b0799===_0x359098&&_0x3babea===_0x37d8b6;let _0x549ccf='',_0x5eae27='',_0x907877='';switch(_0x1c273e){case _0x3a88ec[_0x42f461(0x176)]:return _0x45f70f?'今天':(_0x549ccf=_0x348b9b===_0x378ceb?'':_0x378ceb+'年',_0x5eae27=_0x359098+'月',_0x907877=_0x37d8b6+'日',''+_0x549ccf+_0x5eae27+_0x907877);default:return _0x45f70f?_0x42f461(0xa9):(_0x549ccf=_0x348b9b===_0x378ceb?'':_0x378ceb+'-',_0x5eae27=_0x359098+'-',_0x907877=''+_0x37d8b6,''+_0x549ccf+_0x5eae27+_0x907877);}}function cs(_0x4f0e78){const _0x30b13b=_0x224365;return _0x4f0e78?_0x4f0e78[_0x30b13b(0x1df)]((_0x5422ba,_0x46de00)=>{const _0x4f46c5=_0x30b13b,_0x1121d7=new Date(_0x46de00['time'])[_0x4f46c5(0x197)]()[_0x4f46c5(0x229)]('T')[0x0];return _0x5422ba[_0x4f46c5(0xf7)]>0x0&&_0x5422ba[_0x5422ba[_0x4f46c5(0xf7)]-0x1][_0x4f46c5(0xa7)]===_0x1121d7?_0x5422ba[_0x5422ba['length']-0x1][_0x4f46c5(0x125)][_0x4f46c5(0x1bf)](_0x46de00):_0x5422ba[_0x4f46c5(0x1bf)]({'dateString':_0x1121d7,'versions':[_0x46de00]}),_0x5422ba;},[]):[];}var ls=Object[_0x224365(0xf9)],us=(_0x12e06f,_0x14ca68,_0xd33de8,_0x2e186e)=>{const _0x443bd7=_0x224365;for(var _0x4c39e0=_0x2e186e>0x1?void 0x0:_0x2e186e?ls(_0x14ca68,_0xd33de8):_0x14ca68,_0xf28cb0=_0x12e06f[_0x443bd7(0xf7)]-0x1,_0x1aad6d;_0xf28cb0>=0x0;_0xf28cb0--)(_0x1aad6d=_0x12e06f[_0xf28cb0])&&(_0x4c39e0=_0x1aad6d(_0x4c39e0)||_0x4c39e0);return _0x4c39e0;},y=(_0x2cca42,_0x2dede1)=>(_0x5edad6,_0x4746d9)=>_0x2dede1(_0x5edad6,_0x4746d9,_0x2cca42);const ds=_0x224365(0x115);let F=class extends _0x50f93d{constructor(_0x3fb643,_0x3037fa,_0x2298e1,_0x38bef5,_0x43a630,_0x429cac){const _0xff564c=_0x224365;super(),l(this,_0xff564c(0x214),new Map()),(this[_0xff564c(0x149)]=_0x3fb643,this[_0xff564c(0xf8)]=_0x3037fa,this['_commandService']=_0x2298e1,this[_0xff564c(0xe1)]=_0x38bef5,this[_0xff564c(0xe8)]=_0x43a630,this[_0xff564c(0xd3)]=_0x429cac);}['dispose'](){const _0x1090c7=_0x224365;this['_workbookDataCache']['clear'](),super[_0x1090c7(0x221)]();}async['getVersions'](_0x265ff9,_0x83c8e5){const _0x5d0441=_0x224365,_0x3763d2=this[_0x5d0441(0x20c)]()+'/'+_0x265ff9+'/list?length=20'+(_0x83c8e5?_0x5d0441(0x11b)+_0x83c8e5:'');try{const _0xc878c5=(await this[_0x5d0441(0xe8)][_0x5d0441(0x1dc)](_0x3763d2))[_0x5d0441(0xae)];if(_0xc878c5&&_0xc878c5[_0x5d0441(0x20f)]&&_0xc878c5[_0x5d0441(0x20f)]['code']===Z['OK']){const {hasMore:_0x256f4d,lastLabel:_0x3a11b4}=_0xc878c5,_0x15b30d=hs(_0xc878c5),_0x3fb12a=_0xc878c5[_0x5d0441(0x1e9)][_0x5d0441(0x1de)];return{'hasMore':_0x256f4d,'lastLabel':_0x3a11b4,'versions':_0x15b30d,'members':_0x3fb12a};}}catch(_0x2b76ca){console[_0x5d0441(0x20f)](_0x2b76ca);}return null;}[_0x224365(0x20c)](){const _0x1ff28a=_0x224365;var _0x465988;const _0x5090db=this['_configService'][_0x1ff28a(0x23d)](we);return(_0x465988=_0x5090db==null?void 0x0:_0x5090db['historyListServerUrl'])!=null?_0x465988:ds;}async[_0x224365(0x244)](_0xfa56da,_0x5030d2,_0x2756a0){const _0x17d50f=_0x224365;var _0x4f570b,_0x244046;_0x2756a0===void 0x0&&(_0x2756a0={}),this['_workbookDataCache'][_0x17d50f(0x18a)](_0xfa56da)||this[_0x17d50f(0x214)]['set'](_0xfa56da,new Map());const {snapshot:_0x2bcdd4,changesets:_0x1834ef,error:_0x407e1f}=await this['_snapshotServerService'][_0x17d50f(0xd1)](_0x2756a0,{'unitID':_0xfa56da,'type':j[_0x17d50f(0x126)],'revision':_0x5030d2});if(ns(_0x407e1f)||!_0x2bcdd4||!_0x2bcdd4[_0x17d50f(0x21a)])throw new Error(_0x17d50f(0x17c));const _0x208b3d=(_0x4f570b=_0x1834ef==null?void 0x0:_0x1834ef[_0x17d50f(0xf7)])!=null?_0x4f570b:0x0;if(_0x5030d2!==0x0&&_0x2bcdd4[_0x17d50f(0xa4)]+_0x208b3d!==_0x5030d2)throw new Error('[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!');const {workbook:_0x1d8836}=_0x2bcdd4,_0x5226f6=_0x1d8836[_0x17d50f(0x194)]?Object[_0x17d50f(0x137)](_0x1d8836['blockMeta'])[_0x17d50f(0x1f5)](([_0x43d4e6,_0x39243a])=>{const _0x366aac=_0x17d50f;var _0x56fd67,_0x3dbfae;return(_0x3dbfae=(_0x56fd67=_0x39243a[_0x366aac(0x241)])==null?void 0x0:_0x56fd67[_0x366aac(0x1f5)](_0x2a4a9d=>_0x2a4a9d))!=null?_0x3dbfae:[];})[_0x17d50f(0xc2)]():[],_0x4ea6ae=(await Promise[_0x17d50f(0x202)](_0x5226f6['map'](_0x19b895=>this['_snapshotServerService'][_0x17d50f(0x9b)](_0x2756a0,{'unitID':_0xfa56da,'type':j[_0x17d50f(0x126)],'blockID':_0x19b895})[_0x17d50f(0x1da)](_0x3e1644=>_0x3e1644[_0x17d50f(0x20a)]))))[_0x17d50f(0x10e)](_0xad84bd=>!!_0xad84bd),_0x452eb7=_0xcdbacb(_0x2bcdd4,_0x4ea6ae,_0x2756a0);return(_0x244046=this[_0x17d50f(0x214)][_0x17d50f(0x1dc)](_0xfa56da))==null||_0x244046[_0x17d50f(0x181)](_0x5030d2,{'workbook':_0x452eb7}),new Promise(_0x2f6269=>{const _0x54bfdb=_0x17d50f,_0x1c116f=this[_0x54bfdb(0xf8)][_0x54bfdb(0x13d)](_0x3acd08[_0x54bfdb(0x126)]);_0x1c116f?(this['_univerInstanceService']['disposeUnit'](_0x1c116f[_0x54bfdb(0x130)]()),setTimeout(()=>{const _0xfc774c=_0x54bfdb;this[_0xfc774c(0x200)](_0x452eb7,_0x1834ef),_0x2f6269(!0x0);},0x0)):(this[_0x54bfdb(0x200)](_0x452eb7,_0x1834ef),_0x2f6269(!0x0));});}[_0x224365(0x200)](_0x4866db,_0x28c68d){const _0x18f4b6=_0x224365,_0x5bc2df=this[_0x18f4b6(0xf8)][_0x18f4b6(0x1f8)](_0x3acd08[_0x18f4b6(0x126)],_0x4866db);this['_univerInstanceService'][_0x18f4b6(0x1a5)](_0x5bc2df[_0x18f4b6(0x130)]());const _0x59ca84=this['_compressMutationService'][_0x18f4b6(0x237)]['fetchThroughInterceptors'](this[_0x18f4b6(0xd3)][_0x18f4b6(0x237)][_0x18f4b6(0x1a1)]()[_0x18f4b6(0x1fc)]);return _0x28c68d==null||_0x28c68d[_0x18f4b6(0x191)](_0x307203=>{const _0x1214ca=_0x18f4b6,_0x36922d=_0x307203[_0x1214ca(0x19d)][_0x1214ca(0x1f5)](_0x801499=>({'id':_0x801499['id'],'params':JSON[_0x1214ca(0x1fb)](_0x801499[_0x1214ca(0x165)])}));({..._0x307203,'mutations':_0x59ca84(_0x36922d,null)||_0x36922d}['mutations'][_0x1214ca(0x191)](_0x4716e5=>{const _0x3a9cc5=_0x1214ca;this[_0x3a9cc5(0x122)]['hasCommand'](_0x4716e5['id'])&&this[_0x3a9cc5(0x122)][_0x3a9cc5(0x1cd)](_0x4716e5['id'],_0x4716e5[_0x3a9cc5(0xad)]);}));}),_0x5bc2df;}};F=us([y(0x0,_0x34e386),y(0x1,_0x4765df),y(0x2,_0xfc1988),y(0x3,_0x1b8186),y(0x4,_0x2a67ed(_0x52750d)),y(0x5,_0x2a67ed(_0x1739d7))],F);function hs(_0x46bb8d){const _0x2ec207=_0x224365;var _0x33f3c6,_0x6723ae;const _0x1a3712=[],{entities:_0x480b01,historyIds:_0xb5de7d}=_0x46bb8d,{datas:_0x28cdd1,users:_0x1f296f}=_0x480b01;for(const _0x107358 of _0xb5de7d)if(_0x28cdd1[_0x107358]){const _0x31445a=!!((_0x33f3c6=_0x1f296f[_0x28cdd1[_0x107358][_0x2ec207(0xc0)]])!=null&&_0x33f3c6['anonymous']);_0x1a3712[_0x2ec207(0x1bf)]({'unitId':_0x28cdd1[_0x107358][_0x2ec207(0x12a)],'user':_0x31445a?'':((_0x6723ae=_0x1f296f==null?void 0x0:_0x1f296f[_0x28cdd1[_0x107358]['userId']])==null?void 0x0:_0x6723ae[_0x2ec207(0xea)])||'','isAnonymous':_0x31445a,'id':_0x107358,'time':_0x28cdd1[_0x107358][_0x2ec207(0x1b8)]?Number(_0x28cdd1[_0x107358][_0x2ec207(0x1b8)]):void 0x0,'commands':_0x28cdd1[_0x107358][_0x2ec207(0x1f0)],'startRev':Number(_0x28cdd1[_0x107358][_0x2ec207(0x123)]),'endRev':Number(_0x28cdd1[_0x107358][_0x2ec207(0x179)]),'recoverTime':_0x28cdd1[_0x107358]['recoverTime']?Number(_0x28cdd1[_0x107358][_0x2ec207(0x104)]):void 0x0});}return _0x1a3712;}var _s=Object[_0x224365(0xf9)],vs=(_0x11d18b,_0x56abac,_0x3e7a69,_0x3ebca1)=>{for(var _0x364227=_0x3ebca1>0x1?void 0x0:_0x3ebca1?_s(_0x56abac,_0x3e7a69):_0x56abac,_0x24e497=_0x11d18b['length']-0x1,_0x4ee578;_0x24e497>=0x0;_0x24e497--)(_0x4ee578=_0x11d18b[_0x24e497])&&(_0x364227=_0x4ee578(_0x364227)||_0x364227);return _0x364227;},k=(_0x38df63,_0x462ef3)=>(_0x4a18b5,_0x152c4b)=>_0x462ef3(_0x4a18b5,_0x152c4b,_0x38df63),oe=(_0x12359f=>(_0x12359f[_0x224365(0x1d9)]='entered',_0x12359f[_0x224365(0x223)]=_0x224365(0x192),_0x12359f[_0x224365(0x10c)]='error',_0x12359f))(oe||{}),$=(_0x236adb=>(_0x236adb[_0x224365(0xb9)]=_0x224365(0x1c7),_0x236adb[_0x224365(0x146)]='loading',_0x236adb[_0x224365(0x110)]='loaded',_0x236adb))($||{});const ms=_0x224365(0xc9);let R=class extends _0x50f93d{constructor(_0x544484,_0x5b6625,_0x469932,_0x397d7c){const _0x1191f1=_0x224365;super(),l(this,_0x1191f1(0x1c5),new _0x21e4a1([])),l(this,_0x1191f1(0x1e2),this[_0x1191f1(0x1c5)]['asObservable']()),l(this,_0x1191f1(0x1e4),new _0x21e4a1('')),l(this,'currentVersion$',this[_0x1191f1(0x1e4)][_0x1191f1(0x1aa)]()),l(this,'_status$',new _0x21e4a1(_0x1191f1(0x23c))),l(this,_0x1191f1(0x151),this[_0x1191f1(0x230)][_0x1191f1(0x1aa)]()),l(this,_0x1191f1(0x1ef),new _0x21e4a1(0x0)),l(this,_0x1191f1(0x22f),this[_0x1191f1(0x1ef)]['asObservable']()),l(this,'_unitId$',new _0x21e4a1('')),l(this,_0x1191f1(0xa2),this[_0x1191f1(0xb5)][_0x1191f1(0x1aa)]()),l(this,_0x1191f1(0xd5),!0x1),l(this,'_loadingState$',new _0x21e4a1(_0x1191f1(0x1c7))),l(this,'loadingState$',this['_loadingState$'][_0x1191f1(0x1aa)]()),l(this,'_lastLabel',null),l(this,'_hasMore',!0x0),l(this,_0x1191f1(0x224),new Map()),l(this,'_historyContainerId'),l(this,_0x1191f1(0xba)),l(this,'_maskElement'),l(this,_0x1191f1(0x185),!0x1),(this[_0x1191f1(0x15f)]=_0x544484,this[_0x1191f1(0x232)]=_0x5b6625,this[_0x1191f1(0x127)]=_0x469932,this[_0x1191f1(0x21e)]=_0x397d7c);}async['triggerLoadVersions'](_0x5d3558,_0xa49971,_0x1ac3ec){const _0x1b89d1=_0x224365;this[_0x1b89d1(0x1b3)]=_0xa49971,this[_0x1b89d1(0x185)]=_0x1ac3ec,this[_0x1b89d1(0xb5)][_0x1b89d1(0x94)](_0x5d3558),this[_0x1b89d1(0xd5)]=!0x0;const _0x171065=await this[_0x1b89d1(0x21e)]['getVersions'](_0x5d3558);if(this['_fetching']=!0x1,_0x171065){const {versions:_0x21eabe,lastLabel:_0x5dbd85,hasMore:_0xf63b17,members:_0x123b28}=_0x171065;_0x21eabe[_0x1b89d1(0xf7)]===0x0&&_0x21eabe[_0x1b89d1(0x1bf)]({'unitId':_0x5d3558,'id':ms,'startRev':0x1,'endRev':0x0,'time':Date['now'](),'user':this[_0x1b89d1(0x127)]['t'](_0x1b89d1(0x11e)),'commands':[],'isAnonymous':!0x1}),this[_0x1b89d1(0x148)](_0x21eabe,_0xf63b17,_0x5dbd85,_0x123b28),this[_0x1b89d1(0x1e4)][_0x1b89d1(0x94)](_0x21eabe[0x0]['id']);}else this[_0x1b89d1(0x230)][_0x1b89d1(0x94)](_0x1b89d1(0x20f));}async[_0x224365(0x243)](){const _0x5a118a=_0x224365;if(!this['_lastLabel']||!this[_0x5a118a(0xf1)]||this['_fetching'])return!0x1;this['_fetching']=!0x0;const _0x4400e8=await this['_historyFetchService'][_0x5a118a(0x121)](this['unitId'],this[_0x5a118a(0x19a)]);if(this['_fetching']=!0x1,_0x4400e8){const {versions:_0x350737,lastLabel:_0x185ba0,hasMore:_0x1cd844,members:_0x8447cd}=_0x4400e8;this[_0x5a118a(0x148)](_0x350737,_0x1cd844,_0x185ba0,_0x8447cd);}else this[_0x5a118a(0x15f)][_0x5a118a(0x120)]({'content':this['_localeService']['t'](_0x5a118a(0x206)),'type':_0xa72f09[_0x5a118a(0x10c)],'duration':0xbb8});return!0x0;}async['triggerLoadSheet'](_0x4a0b56){const _0x39a425=_0x224365;var _0x4a7348;const _0x3a986a=(_0x4a7348=this[_0x39a425(0x1c5)][_0x39a425(0x209)])==null?void 0x0:_0x4a7348['find'](_0x5964f8=>_0x5964f8['id']===_0x4a0b56),{endRev:_0x5c011e}=_0x3a986a||{};_0x5c011e||_0x5c011e===0x0?(this[_0x39a425(0x1a0)][_0x39a425(0x94)](_0x39a425(0x1e8)),await this['_historyFetchService'][_0x39a425(0x244)](this[_0x39a425(0x12a)],_0x5c011e),this[_0x39a425(0x1a0)][_0x39a425(0x94)]('loaded')):this[_0x39a425(0x230)][_0x39a425(0x94)](_0x39a425(0x20f));}async['triggerRevert'](_0x546885){const _0x1e3e4e=_0x224365,_0x521691=_0x546885?this[_0x1e3e4e(0x18e)](_0x546885):this[_0x1e3e4e(0x105)]();if(!_0x521691)return;const _0x36addc=_0x521691[_0x1e3e4e(0x22c)],_0x161ebd=ae(_0x521691[_0x1e3e4e(0x1cf)],this['_localeService'][_0x1e3e4e(0xc8)]());await this['_confirmService'][_0x1e3e4e(0x1fe)]({'id':'confirm-revert-revision','title':{'title':this[_0x1e3e4e(0x127)]['t'](_0x1e3e4e(0x16f))},'children':{'title':this[_0x1e3e4e(0x127)]['t'](_0x1e3e4e(0xfc))+_0x1e3e4e(0x138)+_0x161ebd[_0x1e3e4e(0x1f7)]+'\x20'+_0x161ebd['time']+')'},'cancelText':this[_0x1e3e4e(0x127)]['t'](_0x1e3e4e(0xd9)),'confirmText':this[_0x1e3e4e(0x127)]['t'](_0x1e3e4e(0x201))})&&this[_0x1e3e4e(0x1ef)][_0x1e3e4e(0x94)](_0x36addc);}[_0x224365(0x148)](_0x3cdec2,_0x129ebb,_0x290573,_0x29e37b){const _0x164233=_0x224365;this[_0x164233(0x1c5)][_0x164233(0x94)](this[_0x164233(0x1c5)][_0x164233(0x209)][_0x164233(0xd0)](_0x3cdec2)),this[_0x164233(0xf1)]=_0x129ebb,this[_0x164233(0x19a)]=_0x290573,_0x29e37b&&Object['keys'](_0x29e37b)[_0x164233(0x191)](_0x58d7f0=>this[_0x164233(0x224)][_0x164233(0x181)](_0x58d7f0,_0x29e37b[_0x58d7f0]));}[_0x224365(0x105)](){const _0x5504c6=_0x224365;return this[_0x5504c6(0x18e)](this[_0x5504c6(0x1e4)][_0x5504c6(0x209)]);}[_0x224365(0x18e)](_0x13bbc0){const _0x26ce07=_0x224365;var _0x33c8c3;return(_0x33c8c3=this['_versions$']['value'])==null?void 0x0:_0x33c8c3[_0x26ce07(0x9d)](_0x430c5e=>_0x430c5e['id']===_0x13bbc0);}['getMember'](_0x204f21){const _0x532611=_0x224365;return this[_0x532611(0x224)][_0x532611(0x1dc)](_0x204f21);}[_0x224365(0xfd)](){const _0x1da45c=_0x224365;this[_0x1da45c(0x1b7)]=document[_0x1da45c(0x23e)](_0x1da45c(0x1ae)),this[_0x1da45c(0x1b7)][_0x1da45c(0x15e)]='history-mask',this['_maskElement']['style']['position']='absolute',this[_0x1da45c(0x1b7)][_0x1da45c(0x1c2)][_0x1da45c(0x190)]='0',this[_0x1da45c(0x1b7)][_0x1da45c(0x1c2)][_0x1da45c(0x1f1)]='0',this[_0x1da45c(0x1b7)][_0x1da45c(0x1c2)][_0x1da45c(0xe6)]=_0x1da45c(0xdb),this['_maskElement']['style'][_0x1da45c(0x11f)]=_0x1da45c(0xdb),this[_0x1da45c(0x1b7)][_0x1da45c(0x1c2)][_0x1da45c(0xb1)]=_0x1da45c(0x168),this[_0x1da45c(0x1b7)][_0x1da45c(0x1c2)][_0x1da45c(0xac)]=_0x1da45c(0xbd),this['_maskElement'][_0x1da45c(0x1c2)][_0x1da45c(0xe3)]=_0x1da45c(0x106),this[_0x1da45c(0x1b7)][_0x1da45c(0x1c2)]['justifyContent']=_0x1da45c(0xa1),this[_0x1da45c(0x1b7)]['style'][_0x1da45c(0x184)]=_0x1da45c(0x117),this[_0x1da45c(0x1b7)][_0x1da45c(0x1c2)][_0x1da45c(0xe3)]='none',this['_maskContainer'][_0x1da45c(0x20d)](this[_0x1da45c(0x1b7)]);}[_0x224365(0xdc)](){const _0x14c4ce=_0x224365;var _0x4fe81a;const _0x2136fb=(_0x4fe81a=document['getElementById'](this[_0x14c4ce(0x1b3)]))==null?void 0x0:_0x4fe81a[_0x14c4ce(0x1c4)](_0x14c4ce(0x119));_0x2136fb&&(this['_maskContainer']=_0x2136fb,this[_0x14c4ce(0xfd)]());}['showMask'](){const _0x92b971=_0x224365;this['_maskContainer']||this[_0x92b971(0xdc)](),this[_0x92b971(0x1b7)]&&(this[_0x92b971(0x1b7)][_0x92b971(0x1c2)]['display']='flex');}[_0x224365(0x20b)](){const _0x2ff547=_0x224365;this['_maskElement']&&(this[_0x2ff547(0x1b7)][_0x2ff547(0x1c2)][_0x2ff547(0xe3)]=_0x2ff547(0x1f3));}set[_0x224365(0x204)](_0x437956){const _0xe39688=_0x224365;this[_0xe39688(0x230)][_0xe39688(0x94)](_0x437956);}set[_0x224365(0x1ed)](_0x135133){const _0x22186b=_0x224365;_0x135133!==this[_0x22186b(0x1e4)][_0x22186b(0x209)]&&this['_currentVersion$'][_0x22186b(0x94)](_0x135133);}get[_0x224365(0x1ed)](){const _0x7811f5=_0x224365;return this[_0x7811f5(0x1e4)]['value'];}set[_0x224365(0x12a)](_0x50d623){const _0x3989ad=_0x224365;this[_0x3989ad(0xb5)][_0x3989ad(0x94)](_0x50d623);}get['unitId'](){const _0x5e4e9d=_0x224365;return this['_unitId$'][_0x5e4e9d(0x209)];}get[_0x224365(0x170)](){const _0x5e4e0a=_0x224365;return this[_0x5e4e0a(0x185)];}get[_0x224365(0xc1)](){const _0x16ae1f=_0x224365;return this['_loadingState$'][_0x16ae1f(0x209)];}};R=vs([k(0x0,_0x587c46),k(0x1,_0x5d1cfb),k(0x2,_0x2a67ed(_0x1b1071)),k(0x3,_0x2a67ed(F))],R);var p=function(){const _0x528646=_0x224365;return p=Object[_0x528646(0x1c0)]||function(_0x4b544a){const _0x3a564b=_0x528646;for(var _0x1e2c4a,_0x26d83d=0x1,_0x5d5f15=arguments[_0x3a564b(0xf7)];_0x26d83d<_0x5d5f15;_0x26d83d++){_0x1e2c4a=arguments[_0x26d83d];for(var _0x795c6e in _0x1e2c4a)Object[_0x3a564b(0x189)]['hasOwnProperty'][_0x3a564b(0xfe)](_0x1e2c4a,_0x795c6e)&&(_0x4b544a[_0x795c6e]=_0x1e2c4a[_0x795c6e]);}return _0x4b544a;},p[_0x528646(0x159)](this,arguments);},fs=function(_0xea9aa5,_0x89c576){const _0x24ae26=_0x224365;var _0x3c6b6a={};for(var _0x16eaec in _0xea9aa5)Object['prototype'][_0x24ae26(0xf4)]['call'](_0xea9aa5,_0x16eaec)&&_0x89c576[_0x24ae26(0x17f)](_0x16eaec)<0x0&&(_0x3c6b6a[_0x16eaec]=_0xea9aa5[_0x16eaec]);if(_0xea9aa5!=null&&typeof Object[_0x24ae26(0xc7)]==_0x24ae26(0x147)){for(var _0x5168f1=0x0,_0x16eaec=Object[_0x24ae26(0xc7)](_0xea9aa5);_0x5168f1<_0x16eaec[_0x24ae26(0xf7)];_0x5168f1++)_0x89c576[_0x24ae26(0x17f)](_0x16eaec[_0x5168f1])<0x0&&Object['prototype'][_0x24ae26(0x156)][_0x24ae26(0xfe)](_0xea9aa5,_0x16eaec[_0x5168f1])&&(_0x3c6b6a[_0x16eaec[_0x5168f1]]=_0xea9aa5[_0x16eaec[_0x5168f1]]);}return _0x3c6b6a;},A=_0x18e1a7(function(_0x4d1215,_0x17ae07){const _0x571fe9=_0x224365;var _0x1ca9b2=_0x4d1215[_0x571fe9(0xb7)],_0x2cf523=_0x4d1215['id'],_0x550fc7=_0x4d1215[_0x571fe9(0x15e)],_0x26d5d1=_0x4d1215[_0x571fe9(0x164)],_0x12334d=fs(_0x4d1215,[_0x571fe9(0xb7),'id','className','extend']),_0x392229=_0x571fe9(0x22a)[_0x571fe9(0xd0)](_0x2cf523,'\x20')['concat'](_0x550fc7||'')['trim'](),_0x4e3853=_0x237793('_'['concat'](Is()));return Te(_0x1ca9b2,''[_0x571fe9(0xd0)](_0x2cf523),{'defIds':_0x1ca9b2[_0x571fe9(0x1e1)],'idSuffix':_0x4e3853['current']},p({'ref':_0x17ae07,'className':_0x392229},_0x12334d),_0x26d5d1);});function Te(_0x3347b4,_0x33a09b,_0x128e4c,_0x9c48df,_0x59c12d){const _0x1c483e=_0x224365;return _0x28e38f(_0x3347b4[_0x1c483e(0x1a3)],p(p({'key':_0x33a09b},gs(_0x3347b4,_0x128e4c,_0x59c12d)),_0x9c48df),(Ss(_0x3347b4,_0x128e4c)['children']||[])[_0x1c483e(0x1f5)](function(_0x38e1db,_0x401290){const _0x3a7eee=_0x1c483e;return Te(_0x38e1db,''[_0x3a7eee(0xd0)](_0x33a09b,'-')['concat'](_0x3347b4[_0x3a7eee(0x1a3)],'-')['concat'](_0x401290),_0x128e4c,void 0x0,_0x59c12d);}));}function gs(_0xf34f7b,_0x6b554d,_0x28b7ab){const _0x480951=_0x224365;var _0x4ba830=p({},_0xf34f7b[_0x480951(0x1bb)]);_0x28b7ab!=null&&_0x28b7ab[_0x480951(0xa6)]&&_0x4ba830['fill']===_0x480951(0xa6)&&(_0x4ba830[_0x480951(0xb6)]=_0x28b7ab['colorChannel1']),_0xf34f7b[_0x480951(0x1a3)]===_0x480951(0x198)&&_0x4ba830['id']&&(_0x4ba830['id']=_0x4ba830['id']+_0x6b554d['idSuffix']),Object['entries'](_0x4ba830)[_0x480951(0x191)](function(_0x27cad1){const _0x43a256=_0x480951;var _0x34e482=_0x27cad1[0x0],_0x1ef839=_0x27cad1[0x1];_0x34e482===_0x43a256(0x198)&&typeof _0x1ef839==_0x43a256(0x16b)&&(_0x4ba830[_0x34e482]=_0x1ef839[_0x43a256(0x203)](/url\(#(.*)\)/,_0x43a256(0x1a2)[_0x43a256(0xd0)](_0x6b554d[_0x43a256(0x13b)],')')));});var _0x1537cd=_0x6b554d[_0x480951(0x1e1)];return!_0x1537cd||_0x1537cd[_0x480951(0xf7)]===0x0||(_0xf34f7b['tag']===_0x480951(0x218)&&_0x4ba830[_0x480951(0x128)]&&(_0x4ba830[_0x480951(0x128)]=_0x4ba830[_0x480951(0x128)]+_0x6b554d[_0x480951(0x13b)]),Object[_0x480951(0x137)](_0x4ba830)['forEach'](function(_0x53d17b){const _0x62ca67=_0x480951;var _0x1e310b=_0x53d17b[0x0],_0x4b5888=_0x53d17b[0x1];typeof _0x4b5888==_0x62ca67(0x16b)&&(_0x4ba830[_0x1e310b]=_0x4b5888[_0x62ca67(0x203)](/url\(#(.*)\)/,_0x62ca67(0x1a2)[_0x62ca67(0xd0)](_0x6b554d[_0x62ca67(0x13b)],')')));})),_0x4ba830;}function Ss(_0x28597f,_0x4e4583){const _0x5c4f8e=_0x224365;var _0x50da9e,_0x2fb528=_0x4e4583[_0x5c4f8e(0x1e1)];return!_0x2fb528||_0x2fb528[_0x5c4f8e(0xf7)]===0x0?_0x28597f:_0x28597f[_0x5c4f8e(0x1a3)]===_0x5c4f8e(0x212)&&(!((_0x50da9e=_0x28597f[_0x5c4f8e(0x14d)])===null||_0x50da9e===void 0x0)&&_0x50da9e[_0x5c4f8e(0xf7)])?p(p({},_0x28597f),{'children':_0x28597f[_0x5c4f8e(0x14d)][_0x5c4f8e(0x1f5)](function(_0x28a85b){const _0xd9ddef=_0x5c4f8e;return typeof _0x28a85b[_0xd9ddef(0x1bb)]['id']==_0xd9ddef(0x16b)&&_0x2fb528&&_0x2fb528[_0xd9ddef(0x17f)](_0x28a85b[_0xd9ddef(0x1bb)]['id'])>-0x1?p(p({},_0x28a85b),{'attrs':p(p({},_0x28a85b[_0xd9ddef(0x1bb)]),{'id':_0x28a85b[_0xd9ddef(0x1bb)]['id']+_0x4e4583['idSuffix']})}):_0x28a85b;})}):_0x28597f;}function Is(){const _0xe580c3=_0x224365;return Math['random']()[_0xe580c3(0x195)](0x24)[_0xe580c3(0x1fd)](0x2,0x8);}A[_0x224365(0x17e)]=_0x224365(0x113);var ps={'tag':_0x224365(0x103),'attrs':{'fill':_0x224365(0x1f3),'viewBox':_0x224365(0x1d7),'width':_0x224365(0x108),'height':_0x224365(0x108)},'children':[{'tag':'path','attrs':{'fill':_0x224365(0x1c9),'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'}}]},$e=_0x18e1a7(function(_0x1108d2,_0x32faf9){const _0x4c7318=_0x224365;return _0x28e38f(A,Object[_0x4c7318(0x1c0)]({},_0x1108d2,{'id':'back-single','ref':_0x32faf9,'icon':ps}));});$e[_0x224365(0x17e)]=_0x224365(0x1e5);var Es={'tag':_0x224365(0x103),'attrs':{'fill':_0x224365(0x1f3),'viewBox':'0\x200\x2016\x2016','width':_0x224365(0x108),'height':_0x224365(0x108)},'children':[{'tag':_0x224365(0x1db),'attrs':{'fill':_0x224365(0xa6),'d':_0x224365(0x140),'fillRule':'evenodd','clipRule':'evenodd'}},{'tag':_0x224365(0x1db),'attrs':{'fill':_0x224365(0x1c9),'d':_0x224365(0x15a),'fillRule':_0x224365(0x1f6),'clipRule':'evenodd'}}]},ce=_0x18e1a7(function(_0xe8dca2,_0x1d7971){const _0x36949e=_0x224365;return _0x28e38f(A,Object[_0x36949e(0x1c0)]({},_0xe8dca2,{'id':'loading','ref':_0x1d7971,'icon':Es}));});ce['displayName']='Loading';var Rs={'tag':_0x224365(0x103),'attrs':{'fill':_0x224365(0x1f3),'viewBox':_0x224365(0x139),'width':_0x224365(0x108),'height':_0x224365(0x108)},'children':[{'tag':'g','attrs':{'fill':_0x224365(0x1c9),'clipPath':_0x224365(0x178)},'children':[{'tag':_0x224365(0x1db),'attrs':{'d':_0x224365(0x1ab)}},{'tag':'path','attrs':{'d':_0x224365(0x144),'fillRule':'evenodd','clipRule':_0x224365(0x1f6)}}]},{'tag':_0x224365(0x212),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'restore-single_clip0_1247_2'},'children':[{'tag':_0x224365(0x22e),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x224365(0x9f),'rx':0x4}}]}]}],'defIds':['restore-single_clip0_1247_2']},Ve=_0x18e1a7(function(_0x480ae9,_0x12c120){return _0x28e38f(A,Object['assign']({},_0x480ae9,{'id':'restore-single','ref':_0x12c120,'icon':Rs}));});Ve[_0x224365(0x17e)]='RestoreSingle';const Ms=_0x224365(0x161),bs='univer-version-list-panel-content',Ns=_0x224365(0xdd),Os='univer-version-item',Cs=_0x224365(0x1cb),ys=_0x224365(0xc6),Ds=_0x224365(0x167),Ps=_0x224365(0x10d),ws='univer-version-item-header-revert',Ts='univer-version-item-content',$s=_0x224365(0x172),Vs=_0x224365(0x217),Ls='univer-history-view-header-back',ks='univer-history-view-header-revert',Hs='univer-version-list-loading',xs=_0x224365(0x225),v={'versionListPanel':Ms,'versionListPanelContent':bs,'versionDate':Ns,'versionItem':Os,'versionItemHeader':Cs,'versionItemHeaderExpand':ys,'versionItemHeaderTime':Ds,'versionItemHeaderTimeTag':Ps,'versionItemHeaderRevert':ws,'versionItemContent':Ts,'active':$s,'historyViewHeader':Vs,'historyViewHeaderBack':Ls,'historyViewHeaderRevert':ks,'versionListLoading':Hs,'versionListLoadingIcon':xs};function Us(){const _0x89f74c=_0x224365;var _0x3bc622;const _0x3f2758=_0x4a458b(R),_0x5a0b96=_0x4a458b(_0x1b1071),_0x3aad28=_0x11a126(()=>{const _0x43e099=_0x53be;_0x3f2758[_0x43e099(0x204)]=oe['Exited'];},[_0x3f2758]),_0x21b4ee=_0x11a126(()=>{const _0x48d9c4=_0x53be;_0x3f2758[_0x48d9c4(0xde)]();},[_0x3f2758]),_0x3d64bb=_0x5475b8(_0x3f2758['currentVersion$']),_0x4ab0dc=_0x5475b8(_0x3f2758[_0x89f74c(0x1e2)]),_0x144612=_0x3d64bb===((_0x3bc622=_0x4ab0dc==null?void 0x0:_0x4ab0dc[0x0])==null?void 0x0:_0x3bc622['id']),_0x556f3d=_0x3d64bb!==''&&!_0x144612&&_0x3f2758[_0x89f74c(0x170)];return _0x4074de(_0x89f74c(0x1ae),{'className':v[_0x89f74c(0x109)],'children':[_0x29aab3(_0x89f74c(0x1ae),{'onClick':_0x3aad28,'className':v['historyViewHeaderBack'],'children':_0x29aab3($e,{'style':{'fontSize':'24px'}})}),_0x29aab3(_0x89f74c(0x1ae),{'className':v['historyViewHeaderRevert'],'children':_0x556f3d&&_0x29aab3(_0x4692c5,{'type':_0x89f74c(0xbf),'onClick':_0x21b4ee,'children':_0x5a0b96['t'](_0x89f74c(0x1c3))})})]});}var Ws=Object[_0x224365(0xf9)],js=(_0x583f9a,_0x1ad2c1,_0x526042,_0x4a9dd9)=>{const _0xa5445f=_0x224365;for(var _0x2677c8=_0x4a9dd9>0x1?void 0x0:_0x4a9dd9?Ws(_0x1ad2c1,_0x526042):_0x1ad2c1,_0x2c471c=_0x583f9a[_0xa5445f(0xf7)]-0x1,_0x295f65;_0x2c471c>=0x0;_0x2c471c--)(_0x295f65=_0x583f9a[_0x2c471c])&&(_0x2677c8=_0x295f65(_0x2677c8)||_0x2677c8);return _0x2677c8;},D=(_0x22ec9d,_0x4ebca1)=>(_0x37bdea,_0x4c37b3)=>_0x4ebca1(_0x37bdea,_0x4c37b3,_0x22ec9d);let Y=class extends _0x50f93d{constructor(_0x3e3773,_0x5302ed,_0x19b5e0,_0x5a67c3,_0x1fdc88,_0x2d55dc){const _0x50af1f=_0x224365;super(),this[_0x50af1f(0xe7)]=_0x3e3773,this[_0x50af1f(0xb2)]=_0x5302ed,this['_messageService']=_0x19b5e0,this[_0x50af1f(0x127)]=_0x5a67c3,this[_0x50af1f(0xeb)]=_0x1fdc88,this[_0x50af1f(0xfb)]=_0x2d55dc,this['_init']();}[_0x224365(0x13e)](){const _0x154006=_0x224365;this[_0x154006(0x236)](this[_0x154006(0xeb)][_0x154006(0xb3)][_0x154006(0x8f)](_0x491277=>{const _0x2c57ac=_0x154006;_0x491277&&this[_0x2c57ac(0xeb)][_0x2c57ac(0x16a)](_0x491277);})),this['disposeWithMe'](this[_0x154006(0xe7)][_0x154006(0xb8)]['subscribe'](_0x4219bb=>{const _0x33f928=_0x154006,_0x228989=this[_0x33f928(0xeb)][_0x33f928(0x12a)];_0x228989&&(_0x4219bb[_0x33f928(0x20e)]===C[_0x33f928(0x152)]&&_0x4219bb[_0x33f928(0x209)]===!0x0&&this[_0x33f928(0xe7)]['updatePermissionPoint'](new _0x1d7a9b(_0x228989)['id'],!0x1),_0x4219bb['subType']===C[_0x33f928(0x1ec)]&&_0x4219bb[_0x33f928(0x209)]===!0x0&&this[_0x33f928(0xe7)][_0x33f928(0x1bd)](new _0x568def(_0x228989)['id'],!0x1),_0x4219bb['subType']===C[_0x33f928(0x13f)]&&_0x4219bb[_0x33f928(0x209)]===!0x0&&this['_permissionService'][_0x33f928(0x1bd)](new _0x235e3e(_0x228989)['id'],!0x1),_0x4219bb[_0x33f928(0x20e)]===C[_0x33f928(0x22b)]&&_0x4219bb[_0x33f928(0x209)]===!0x0&&this[_0x33f928(0xe7)][_0x33f928(0x1bd)](new _0xc65f37(_0x228989)['id'],!0x1),_0x4219bb[_0x33f928(0x20e)]===C['Comment']&&_0x4219bb['value']===!0x0&&this[_0x33f928(0xe7)][_0x33f928(0x1bd)](new _0x1d7a9b(_0x228989)['id'],!0x1),_0x4219bb[_0x33f928(0x20e)]===C[_0x33f928(0x1b5)]&&_0x4219bb[_0x33f928(0x209)]===!0x0&&this[_0x33f928(0xe7)][_0x33f928(0x1bd)](new _0x1d7a9b(_0x228989)['id'],!0x1));})),this[_0x154006(0x236)](this['_uiPartsService'][_0x154006(0x1c1)](_0x412ff4[_0x154006(0x142)],()=>_0x35d182(Us,this[_0x154006(0xfb)]))),this[_0x154006(0x236)](this[_0x154006(0xeb)][_0x154006(0x210)][_0x154006(0x8f)](_0x475d7b=>{const _0x40f332=_0x154006;_0x475d7b===$['Loading']&&(this[_0x40f332(0xeb)][_0x40f332(0x11c)](),this[_0x40f332(0x15f)][_0x40f332(0x120)]({'type':_0xa72f09[_0x40f332(0x1bc)],'content':this['_localeService']['t']('editHistory.info.loading')})),_0x475d7b===$[_0x40f332(0x110)]&&this[_0x40f332(0xeb)]['hideMask']();}));}};Y=js([D(0x0,_0x36d5f0),D(0x1,_0x1276b0),D(0x2,_0x587c46),D(0x3,_0x2a67ed(_0x1b1071)),D(0x4,_0x2a67ed(R)),D(0x5,_0x2a67ed(_0x3c6310))],Y);var Fs=Object[_0x224365(0xf9)],Ys=(_0x57d1c0,_0x394abd,_0x5b93e3,_0x341838)=>{for(var _0x566ea7=_0x341838>0x1?void 0x0:_0x341838?Fs(_0x394abd,_0x5b93e3):_0x394abd,_0x164439=_0x57d1c0['length']-0x1,_0x214ec8;_0x164439>=0x0;_0x164439--)(_0x214ec8=_0x57d1c0[_0x164439])&&(_0x566ea7=_0x214ec8(_0x566ea7)||_0x566ea7);return _0x566ea7;},z=(_0xef6eba,_0x3dfc5a)=>(_0x2c0b3f,_0x27baa8)=>_0x3dfc5a(_0x2c0b3f,_0x27baa8,_0xef6eba);let L=class extends _0x50f93d{constructor(_0x401283,_0x3e7ac8,_0x5a29c5){const _0x38440b=_0x224365;super(),l(this,'_diffRangesMap',new Map()),l(this,'_currentVersionDiff$',new _0x21e4a1({'ranges':new Map(),'active':null})),l(this,_0x38440b(0x1ca),this['_currentVersionDiff$'][_0x38440b(0x1aa)]()),(this[_0x38440b(0xeb)]=_0x401283,this[_0x38440b(0xaa)]=_0x3e7ac8,this[_0x38440b(0x149)]=_0x5a29c5,this[_0x38440b(0x13e)]());}[_0x224365(0x13e)](){const _0x149e20=_0x224365;this['_diffRangesMap']=new Map(),this[_0x149e20(0x236)](this[_0x149e20(0xeb)][_0x149e20(0xa2)][_0x149e20(0x8f)](_0x1d3269=>{const _0x206d0c=_0x149e20;_0x1d3269&&!this[_0x206d0c(0xd6)][_0x206d0c(0x18a)](_0x1d3269)&&this[_0x206d0c(0xd6)][_0x206d0c(0x181)](_0x1d3269,new Map());})),this['disposeWithMe'](this[_0x149e20(0xeb)]['currentVersion$'][_0x149e20(0x8f)](async _0x20a683=>{const _0x5c3a7e=_0x149e20;var _0x5dc919;_0x20a683&&(await this[_0x5c3a7e(0x1fa)](_0x20a683),this[_0x5c3a7e(0x1a4)][_0x5c3a7e(0x94)](((_0x5dc919=this[_0x5c3a7e(0xd6)][_0x5c3a7e(0x1dc)](this['_historyManagerService'][_0x5c3a7e(0x12a)]))==null?void 0x0:_0x5dc919[_0x5c3a7e(0x1dc)](_0x20a683))||{'ranges':new Map(),'active':null}));}));}async[_0x224365(0x1fa)](_0x25a439){const _0x17294f=_0x224365;var _0x3dfb96,_0x2c845a;const _0x441291=this[_0x17294f(0xeb)][_0x17294f(0x18e)](_0x25a439),_0x1b99e6=this[_0x17294f(0xeb)]['unitId'];if(!_0x441291||!_0x1b99e6)return;const _0x523d6f=this[_0x17294f(0xd6)][_0x17294f(0x1dc)](_0x1b99e6);if(_0x523d6f||this['_diffRangesMap'][_0x17294f(0x181)](_0x1b99e6,new Map()),(_0x3dfb96=this['_diffRangesMap'][_0x17294f(0x1dc)](_0x1b99e6))!=null&&_0x3dfb96[_0x17294f(0x18a)](_0x441291['id']))return;const {startRev:_0x3dcb89,endRev:_0x4fc518}=_0x441291;if(_0x3dcb89===0x1){_0x523d6f[_0x17294f(0x181)](_0x441291['id'],{'ranges':new Map(),'active':null});return;}const _0x4eadc4=_0x3dcb89-0x1,_0x27f256=_0x4fc518,_0x5b2211=await this[_0x17294f(0x149)][_0x17294f(0x114)]({},{'unitID':_0x1b99e6,'from':_0x4eadc4,'to':_0x27f256,'type':j[_0x17294f(0x126)]});if(((_0x2c845a=_0x5b2211[_0x17294f(0x20f)])==null?void 0x0:_0x2c845a[_0x17294f(0x12e)])===Z['OK']){const _0x4721e0=_0x5b2211[_0x17294f(0x9c)][_0x17294f(0x1f5)](_0x1c3673)[_0x17294f(0x1f5)](_0x2b3786=>_0x2b3786[_0x17294f(0x19d)][_0x17294f(0x1f5)](_0x52dc3c=>({..._0x52dc3c,'params':{..._0x52dc3c['params'],'memberId':_0x2b3786[_0x17294f(0x23a)]}})))[_0x17294f(0xc2)](),_0x36ba4e=this[_0x17294f(0x222)](_0x4721e0),_0x2a66ba=this['_getActiveSubUnitId'](_0x4721e0),_0x193654=this[_0x17294f(0x1b6)](_0x36ba4e);_0x523d6f[_0x17294f(0x181)](_0x441291['id'],{'ranges':_0x193654,'active':_0x2a66ba});}}[_0x224365(0x222)](_0x42b1fc){const _0x641e76=_0x224365;let _0x819369=[];for(let _0x5708a0=0x0;_0x5708a0<_0x42b1fc['length'];_0x5708a0++){const _0x22d3d9=_0x42b1fc[_0x5708a0];if(_0x819369[_0x641e76(0x1bf)](_0x22d3d9),_0x5708a0!==_0x42b1fc[_0x641e76(0xf7)]-0x1){const _0x334ffb=_0x42b1fc[_0x5708a0+0x1],_0x3649fd=this[_0x641e76(0xaa)][_0x641e76(0xdf)](_0x819369,[_0x334ffb]);_0x4df73a(_0x3649fd)?_0x819369=_0x3649fd[_0x641e76(0x158)]:_0x819369=[];}}return _0x819369;}[_0x224365(0x16e)](_0x56c344){const _0x36c46a=_0x224365;let _0xa3c0b3=[];return _0x56c344[_0x36c46a(0x191)](_0x46c4c3=>{const _0x1fb883=_0x36c46a;if(_0x46c4c3['id']===_0x451613['id']){const _0xdce6c1=_0x46c4c3[_0x1fb883(0xad)];_0xa3c0b3['push'](_0xdce6c1[_0x1fb883(0x1ba)]['id']);}else{if(_0x46c4c3['id']===_0x320619['id']){const _0x2f38e0=_0x46c4c3[_0x1fb883(0xad)];_0xa3c0b3[_0x1fb883(0xf7)]>0x0&&(_0xa3c0b3=_0xa3c0b3[_0x1fb883(0x10e)](_0x1582b3=>_0x1582b3!==_0x2f38e0['subUnitId']));}else{if(_0x46c4c3['id']===_0x4048c0['id']){const _0x315d20=_0x46c4c3[_0x1fb883(0xad)];_0x315d20[_0x1fb883(0x100)]?_0xa3c0b3=_0xa3c0b3[_0x1fb883(0x10e)](_0x10a303=>_0x10a303!==_0x315d20['subUnitId']):_0xa3c0b3[_0x1fb883(0x1bf)](_0x315d20[_0x1fb883(0x1d8)]);}else{const _0x5c6a3e=_0x46c4c3[_0x1fb883(0xad)];_0x5c6a3e['subUnitId']&&_0xa3c0b3['push'](_0x5c6a3e[_0x1fb883(0x1d8)]);}}}}),_0xa3c0b3['length']>0x0?_0xa3c0b3[_0xa3c0b3[_0x36c46a(0xf7)]-0x1]:null;}[_0x224365(0x1b6)](_0x84fefe){const _0x3601ac=_0x224365,_0x2eee33=new Map();return _0x84fefe['forEach'](_0x43fde0=>{const _0x1386b9=_0x53be;var _0xc377df,_0x401036;const _0x5c677e=(_0xc377df=_0x43fde0[_0x1386b9(0xad)])==null?void 0x0:_0xc377df['memberId'];if(_0x5c677e){_0x2eee33['has'](_0x5c677e)||_0x2eee33[_0x1386b9(0x181)](_0x5c677e,[]);const _0x3f6792=this[_0x1386b9(0xc4)](_0x43fde0);(_0x401036=_0x2eee33[_0x1386b9(0x1dc)](_0x5c677e))==null||_0x401036[_0x1386b9(0x1bf)](..._0x3f6792);}}),_0x2eee33[_0x3601ac(0x191)]((_0x5845ce,_0x2244a0)=>{const _0x1aa544=_0x3601ac;_0x2eee33[_0x1aa544(0x181)](_0x2244a0,this['_combineRanges'](_0x5845ce));}),_0x2eee33;}[_0x224365(0xc4)](_0x4df366){const _0x1473a6=_0x224365;switch(_0x4df366['id']){case _0x3c40f8['id']:{const _0x4c3d09=_0x4df366[_0x1473a6(0xad)];return _0x4c3d09[_0x1473a6(0x1a6)]['map'](_0x37abb9=>_0x37abb9[_0x1473a6(0xd7)][_0x1473a6(0x1f5)](_0x54e8b0=>({'range':_0x54e8b0,'unitId':_0x4c3d09[_0x1473a6(0x12a)],'subUnitId':_0x4c3d09[_0x1473a6(0x1d8)]})))[_0x1473a6(0xc2)]();}case _0x5af3ed['id']:{const _0x18bee5=_0x4df366[_0x1473a6(0xad)];return _0x18bee5[_0x1473a6(0xd7)][_0x1473a6(0x1f5)](_0x41e51d=>({'range':_0x41e51d,'unitId':_0x18bee5[_0x1473a6(0x12a)],'subUnitId':_0x18bee5['subUnitId']}));}case _0x366ad7['id']:{const _0x272bbc=_0x4df366['params'];return[{'range':_0x272bbc[_0x1473a6(0x17b)],'unitId':_0x272bbc[_0x1473a6(0x12a)],'subUnitId':_0x272bbc[_0x1473a6(0x1d8)]}];}case _0x4b478a['id']:{const _0x35ca8e=_0x4df366['params'];return[{'range':_0x35ca8e[_0x1473a6(0x17b)],'unitId':_0x35ca8e[_0x1473a6(0x12a)],'subUnitId':_0x35ca8e['subUnitId']}];}case _0x30fb1a['id']:{const _0x22dd10=_0x4df366[_0x1473a6(0xad)],{from:_0x2c67dd,to:_0x5abe2b,unitId:_0x484371}=_0x22dd10;return[{'range':ve(_0x2c67dd[_0x1473a6(0x209)]),'unitId':_0x484371,'subUnitId':_0x2c67dd[_0x1473a6(0x1d8)]},{'range':ve(_0x5abe2b[_0x1473a6(0x209)]),'unitId':_0x484371,'subUnitId':_0x5abe2b['subUnitId']}];}case _0xa49cea['id']:{const _0x5680ba=_0x4df366[_0x1473a6(0xad)],{unitId:_0x455f72,subUnitId:_0x3bff57,sourceRange:_0x499254,targetRange:_0x36434c}=_0x5680ba,_0x57b1b0=_0x499254[_0x1473a6(0x153)]-_0x499254['startRow']+0x1;return[{'range':_0x36434c[_0x1473a6(0x234)]<=_0x499254[_0x1473a6(0x234)]?_0x36434c:{..._0x36434c,'startRow':_0x36434c[_0x1473a6(0x234)]-_0x57b1b0,'endRow':_0x36434c[_0x1473a6(0x153)]-_0x57b1b0},'unitId':_0x455f72,'subUnitId':_0x3bff57}];}case _0x525961['id']:{const _0x3db7b6=_0x4df366[_0x1473a6(0xad)],{unitId:_0xdef242,subUnitId:_0x165a06,sourceRange:_0x5f1243,targetRange:_0x1d1e7f}=_0x3db7b6,_0x2cbf88=_0x5f1243[_0x1473a6(0x19c)]-_0x5f1243[_0x1473a6(0x242)]+0x1;return[{'range':_0x1d1e7f[_0x1473a6(0x242)]<=_0x5f1243[_0x1473a6(0x242)]?_0x1d1e7f:{..._0x1d1e7f,'startColumn':_0x1d1e7f[_0x1473a6(0x242)]-_0x2cbf88,'endColumn':_0x1d1e7f['endColumn']-_0x2cbf88},'unitId':_0xdef242,'subUnitId':_0x165a06}];}case _0x53f819['id']:{const _0x5f4578=_0x4df366[_0x1473a6(0xad)],{values:_0xff13ce,unitId:_0x125705,subUnitId:_0x27b345}=_0x5f4578;return Object['values'](_0xff13ce)[_0x1473a6(0x1f5)](_0x59c78e=>_0x59c78e[_0x1473a6(0xd7)][_0x1473a6(0x1f5)](_0xd1172e=>({'range':_0xd1172e,'unitId':_0x125705,'subUnitId':_0x27b345})))[_0x1473a6(0xc2)]();}case _0x2303fb['id']:{const _0x20eb07=_0x4df366[_0x1473a6(0xad)],{ranges:_0x4f734b,unitId:_0x775a7a,subUnitId:_0x433f4b}=_0x20eb07;return _0x4f734b[_0x1473a6(0x1f5)](_0x5ecf06=>({'range':_0x5ecf06,'unitId':_0x775a7a,'subUnitId':_0x433f4b}));}case _0x1405a8['id']:{const _0xa4ce96=_0x4df366[_0x1473a6(0xad)],{unitId:_0x43d613,subUnitId:_0x10e3f8,range:_0x42c55f}=_0xa4ce96;return[{'range':_0x42c55f,'unitId':_0x43d613,'subUnitId':_0x10e3f8}];}case _0xd0a3c9['id']:{const _0x4bc8f8=_0x4df366[_0x1473a6(0xad)];return _0x4bc8f8[_0x1473a6(0x1e6)][_0x1473a6(0xd7)][_0x1473a6(0x1f5)](_0x4ec418=>({'range':_0x4ec418,'unitId':_0x4bc8f8[_0x1473a6(0x12a)],'subUnitId':_0x4bc8f8['subUnitId']}));}case _0x473c9d['id']:{const _0x46a3d6=_0x4df366[_0x1473a6(0xad)];return _0x46a3d6['cellValue']?Bs(_0x46a3d6['cellValue'])['map'](_0x4723ca=>({'range':_0x4723ca,'unitId':_0x46a3d6['unitId'],'subUnitId':_0x46a3d6['subUnitId']})):[];}case _0xbdbea6['id']:{const _0xfdc055=_0x4df366['params'];return[{'range':_0xfdc055[_0x1473a6(0x17b)],'unitId':_0xfdc055[_0x1473a6(0x12a)],'subUnitId':_0xfdc055['subUnitId']}];}case _0x5cc3f3['id']:{const _0x450d0e=_0x4df366[_0x1473a6(0xad)];return(Array[_0x1473a6(0x111)](_0x450d0e[_0x1473a6(0x1e6)])?_0x450d0e[_0x1473a6(0x1e6)]:[_0x450d0e['rule']])[_0x1473a6(0x1f5)](_0x4310bf=>_0x4310bf['ranges'][_0x1473a6(0x1f5)](_0x498bb1=>({'range':_0x498bb1,'unitId':_0x450d0e[_0x1473a6(0x12a)],'subUnitId':_0x450d0e[_0x1473a6(0x1d8)]})))[_0x1473a6(0xc2)]();}case _0x24f9bd['id']:{const _0x42421f=_0x4df366['params'];return _0x42421f[_0x1473a6(0x1e6)]['ranges'][_0x1473a6(0x1f5)](_0x11eac6=>({'range':_0x11eac6,'unitId':_0x42421f[_0x1473a6(0x12a)],'subUnitId':_0x42421f['subUnitId']}));}default:return[];}}['_combineRanges'](_0x1fbb2d){const _0x40b030=_0x224365;if(_0x1fbb2d[_0x40b030(0xf7)]<=0x1)return _0x1fbb2d;const _0x2a0af3=new Map();return _0x1fbb2d[_0x40b030(0x191)](_0x51525d=>{const _0x399419=_0x40b030;var _0x273f09;const {unitId:_0xec51e5,subUnitId:_0x1a3575}=_0x51525d,_0x3ed83c=_0xec51e5+'-'+_0x1a3575;_0x2a0af3[_0x399419(0x18a)](_0x3ed83c)?(_0x273f09=_0x2a0af3[_0x399419(0x1dc)](_0x3ed83c))==null||_0x273f09[_0x399419(0x1bf)](_0x51525d):_0x2a0af3[_0x399419(0x181)](_0x3ed83c,[_0x51525d]);}),Array[_0x40b030(0x9e)](_0x2a0af3[_0x40b030(0x15b)]())[_0x40b030(0x1f5)](_0x446476=>new _0x4cf97c()[_0x40b030(0x136)](..._0x446476[_0x40b030(0x1f5)](_0x1622ef=>_0x1622ef['range']))['merge']()[_0x40b030(0x1f5)](_0x40a893=>({'range':_0x40a893,'unitId':_0x446476[0x0][_0x40b030(0x12a)],'subUnitId':_0x446476[0x0][_0x40b030(0x1d8)]})))[_0x40b030(0xc2)]();}};L=Ys([z(0x0,_0x2a67ed(R)),z(0x1,_0x548904),z(0x2,_0x34e386)],L);function ve(_0x5ef65b){return new _0x2421db(_0x5ef65b)['getDataRange']();}function Bs(_0x41fea4){const _0x5693d7=_0x224365,_0xa4bec6=new _0x2421db(_0x41fea4),_0x84793c=new _0x2421db();return _0xa4bec6[_0x5693d7(0x18d)]((_0x1401d5,_0x3cf851)=>{const _0x2cb5cc=_0x5693d7;_0x84793c[_0x2cb5cc(0xcb)](_0x1401d5,_0x3cf851,0x1);}),_0x417f04(_0x84793c);}var Xs=Object['getOwnPropertyDescriptor'],Gs=(_0x513f9d,_0x22486f,_0xb2b4e9,_0x3ee305)=>{const _0x28e809=_0x224365;for(var _0x3a4be2=_0x3ee305>0x1?void 0x0:_0x3ee305?Xs(_0x22486f,_0xb2b4e9):_0x22486f,_0x15f274=_0x513f9d[_0x28e809(0xf7)]-0x1,_0x1f1727;_0x15f274>=0x0;_0x15f274--)(_0x1f1727=_0x513f9d[_0x15f274])&&(_0x3a4be2=_0x1f1727(_0x3a4be2)||_0x3a4be2);return _0x3a4be2;},P=(_0x3ef46c,_0x50a81f)=>(_0x4d4108,_0x31c216)=>_0x50a81f(_0x4d4108,_0x31c216,_0x3ef46c);let ie=class extends _0x50f93d{constructor(_0x464143,_0x3cd3b7,_0x4b86cf,_0x159ee7,_0x18d7d9,_0x2d43b4,_0x1c2b44){const _0x35863b=_0x224365;super(),l(this,_0x35863b(0x216),new Set()),l(this,_0x35863b(0xff),null),(this[_0x35863b(0x12b)]=_0x464143,this[_0x35863b(0xeb)]=_0x3cd3b7,this[_0x35863b(0x112)]=_0x4b86cf,this['_univerInstanceService']=_0x159ee7,this[_0x35863b(0x124)]=_0x18d7d9,this[_0x35863b(0x90)]=_0x2d43b4,this['_commandService']=_0x1c2b44,this[_0x35863b(0x13e)]());}['_init'](){const _0x460291=_0x224365;this['_initRender'](),this[_0x460291(0x213)]();}[_0x224365(0x174)](){const _0x891858=_0x224365;this[_0x891858(0x236)](_0x2b3e92([this[_0x891858(0xeb)]['loadingState$'],this[_0x891858(0x90)][_0x891858(0xe9)]])[_0x891858(0x215)](_0x397c88(([_0x540147,_0x53a20a])=>{const _0x5eb3c4=_0x891858;if(_0x540147===$[_0x5eb3c4(0x110)]&&_0x53a20a){const _0x3964d1=_0x53a20a[_0x5eb3c4(0x205)];return this['_versionDiffService'][_0x5eb3c4(0x1ca)][_0x5eb3c4(0x215)](_0x4d774c(_0x51a030=>{const _0x2c1b25=_0x5eb3c4,_0x47d40d=new Map();return _0x51a030[_0x2c1b25(0xd7)]['forEach']((_0x22f6af,_0x4e4acb)=>{const _0x49342d=_0x2c1b25,_0xa7f99c=_0x22f6af[_0x49342d(0x10e)](_0x15c2bb=>_0x15c2bb[_0x49342d(0x1d8)]===_0x3964d1);_0x47d40d['set'](_0x4e4acb,_0xa7f99c);}),{'skeleton':_0x53a20a,'diffs':_0x47d40d};}));}return _0x174671({'skeleton':null,'diffs':new Map()});}))[_0x891858(0x8f)](({skeleton:_0x2791b4,diffs:_0x3eaacf})=>{const _0x20f4a2=_0x891858;this[_0x20f4a2(0x199)](),_0x2791b4&&this['_updateDiffMarks'](_0x2791b4,_0x3eaacf);})),this['disposeWithMe'](this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x891858(0x8f)](_0x14ab33=>{const _0x39f805=_0x891858;if(_0x14ab33==null)return;const {skeleton:_0x2307a1}=_0x14ab33,{scene:_0x240d67}=this[_0x39f805(0x12b)];_0x240d67[_0x39f805(0x141)]['subscribeEvent'](_0x176663(_0x328b8d=>{const _0x48e1a2=_0x39f805;var _0x20cfc1,_0x172dbb;const {offsetX:_0x37a583,offsetY:_0x5b1ffd}=_0x328b8d,{x:_0x246a9d,y:_0x5b29ce}=_0x240d67[_0x48e1a2(0xf2)](_0xf63f9f[_0x48e1a2(0x12d)]([_0x37a583,_0x5b1ffd])),{scaleX:_0x4528c2,scaleY:_0x1617f9}=_0x240d67[_0x48e1a2(0x17a)](),_0x43b227=_0x240d67[_0x48e1a2(0x1b4)](_0x1ebf68['VIEW_MAIN']),_0xfe9f4=_0x240d67[_0x48e1a2(0x1be)](_0xf63f9f[_0x48e1a2(0x12d)]([_0x246a9d,_0x5b29ce]),_0x43b227),_0x5b8eaf=_0x2307a1[_0x48e1a2(0x1cc)](_0x37a583,_0x5b1ffd,_0x4528c2,_0x1617f9,_0xfe9f4);((_0x20cfc1=this[_0x48e1a2(0xff)])==null?void 0x0:_0x20cfc1[_0x48e1a2(0x21b)])===_0x5b8eaf[_0x48e1a2(0x21b)]&&((_0x172dbb=this[_0x48e1a2(0xff)])==null?void 0x0:_0x172dbb[_0x48e1a2(0x1af)])===_0x5b8eaf[_0x48e1a2(0x1af)]||this[_0x48e1a2(0x216)][_0x48e1a2(0x191)](_0x1af36a=>{const _0x3223d7=_0x48e1a2;_0x1af36a[_0x3223d7(0x1ac)](_0x5b8eaf);});},0x64));}));}[_0x224365(0x213)](){const _0x54ae66=_0x224365;this[_0x54ae66(0x236)](this['_historyManagerService'][_0x54ae66(0x210)][_0x54ae66(0x8f)](_0x27d877=>{const _0x5066d4=_0x54ae66,_0x3c65b7=new _0x570796();return _0x27d877===$['Loaded']&&(_0x3c65b7['dispose'](),_0x3c65b7['add'](this[_0x5066d4(0x112)][_0x5066d4(0x1ca)][_0x5066d4(0x8f)](_0x3df3bb=>{const _0x218a24=_0x5066d4;_0x3df3bb[_0x218a24(0x169)]&&this[_0x218a24(0x122)]['executeCommand'](_0x1d4c00['id'],{'unitId':this[_0x218a24(0x12b)][_0x218a24(0x12a)],'subUnitId':_0x3df3bb[_0x218a24(0x169)]});}))),()=>_0x3c65b7[_0x5066d4(0x221)]();}));}['_updateDiffMarks'](_0x6ddf7a,_0x2f7d01){const _0x357f03=_0x224365;var _0x524709;const _0x5079d0=(_0x524709=this[_0x357f03(0x90)][_0x357f03(0x177)]())==null?void 0x0:_0x524709[_0x357f03(0x180)];if(!_0x5079d0)return;this[_0x357f03(0x216)][_0x357f03(0x191)](_0x289845=>{const _0x427542=_0x357f03;_0x289845[_0x427542(0x208)]();});const {scene:_0x24f7e2}=this[_0x357f03(0x12b)],_0x3125b4=Array['from'](_0x2f7d01[_0x357f03(0x129)]())[_0x357f03(0x1f5)](_0x2625a2=>_0x2f7d01[_0x357f03(0x1dc)](_0x2625a2)[_0x357f03(0x1f5)](_0x23dd9f=>{const _0x22f7af=_0x357f03;var _0x3ba82d;const {range:_0x5bc23f,subUnitId:_0x27e369,unitId:_0x53a26e}=_0x23dd9f,{startColumn:_0x14251e,startRow:_0x19abc0,endColumn:_0x4595a7,endRow:_0x3a8b45}=_0x5bc23f,_0x5a30fa=_0x5d9545(_0x19abc0,_0x14251e,_0x24f7e2,_0x5079d0),_0x26ffd0=_0x5d9545(_0x3a8b45,_0x4595a7,_0x24f7e2,_0x5079d0),{columnHeaderHeightAndMarginTop:_0x1e773e}=_0x5079d0,{startX:_0x211655,startY:_0xed2f75}=_0x5a30fa,{endX:_0x46213d,endY:_0x3f6f39}=_0x26ffd0,_0x41721c=_0x46213d-_0x211655,_0x2a4b62=_0x3f6f39-_0xed2f75,_0x2893bc={'labelPosition':_0xed2f75-_0x1e773e>=0x14?'top':_0x22f7af(0x1d6),'sheetID':_0x27e369,'range':_0x5bc23f,'color':_0x22f7af(0x1a7),'fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x22f7af(0x1a7),'name':((_0x3ba82d=this[_0x22f7af(0xeb)][_0x22f7af(0x1ce)](_0x2625a2))==null?void 0x0:_0x3ba82d[_0x22f7af(0xea)])||'','selection':_0x53a26e+'-'+_0x27e369+'-'+_0x5bc23f[_0x22f7af(0x242)]+'-'+_0x5bc23f[_0x22f7af(0x234)]+'-'+_0x5bc23f[_0x22f7af(0x19c)]+'-'+_0x5bc23f['endRow'],'left':_0x211655,'top':_0xed2f75,'width':_0x41721c,'height':_0x2a4b62,'evented':!0x1,'zIndex':0x1};return new _0x5cc4c6('',_0x2893bc);}))[_0x357f03(0xc2)]();_0x24f7e2[_0x357f03(0x16c)](_0x3125b4,0x1),this[_0x357f03(0x216)]=new Set(_0x3125b4);}[_0x224365(0x199)](){const _0xd2f131=_0x224365;var _0x3e9399;(_0x3e9399=this[_0xd2f131(0x216)])==null||_0x3e9399['forEach'](_0x343a79=>_0x343a79[_0xd2f131(0x221)]());}[_0x224365(0x14c)](){const _0x1db5b5=_0x224365;return _0x48a190(this[_0x1db5b5(0xf8)],this[_0x1db5b5(0x124)]);}};ie=Gs([P(0x1,_0x2a67ed(R)),P(0x2,_0x2a67ed(L)),P(0x3,_0x4765df),P(0x4,_0x283c95),P(0x5,_0x2a67ed(_0x2d2b25)),P(0x6,_0xfc1988)],ie);function Zs(){const _0x228f54=_0x224365,_0x6b7726=_0x4a458b(R),_0x53ebb8=_0x5475b8(_0x6b7726[_0x228f54(0x1e2)]),[_0x12d6ed,_0x380da9]=_0x85f32f(!0x1),_0x5ad3e0=cs(_0x53ebb8);return _0x53ebb8?_0x29aab3(_0x228f54(0x1ae),{'className':v['versionListPanel'],'children':_0x4074de('div',{'className':v[_0x228f54(0xcc)],'children':[_0x5ad3e0[_0x228f54(0x1f5)]((_0x58021e,_0x138fe8)=>_0x4074de(_0x8ba6b,{'children':[_0x29aab3(Js,{'date':_0x58021e[_0x228f54(0xa7)]}),_0x58021e['versions'][_0x228f54(0x1f5)]((_0x2b2734,_0x427a43)=>_0x29aab3(zs,{'index':[_0x138fe8,_0x427a43],'item':_0x2b2734},_0x138fe8+'-'+_0x427a43))]},_0x58021e[_0x228f54(0xa7)])),_0x12d6ed&&_0x29aab3(As,{})]})}):_0x29aab3(Ks,{});}function As(){const _0x5c4514=_0x224365;return _0x29aab3(_0x5c4514(0x1ae),{'className':v['versionListLoading'],'children':_0x29aab3(ce,{'className':v[_0x5c4514(0xbe)]})});}function Ks(){const _0x1467e4=_0x224365;return _0x29aab3(_0x1467e4(0x1ae),{'className':_0x284423(v['empty'],'univer-flex\x20univer-items-center\x20univer-justify-center'),'children':_0x29aab3(_0x1467e4(0x1e3),{'className':_0x284423(v[_0x1467e4(0x132)],_0x1467e4(0x21c)),'children':_0x29aab3(ce,{'className':_0x1467e4(0x207)})})});}function Js(_0x38d233){const _0x1cf915=_0x224365,_0x4bb933=_0x4a458b(_0x1b1071),{date:_0x19fd46}=_0x38d233;return _0x29aab3(_0x1cf915(0x1ae),{'className':v[_0x1cf915(0x12c)],'children':se(_0x19fd46,_0x4bb933['getCurrentLocale']())});}function zs(_0x57dd5b){const _0x44b747=_0x224365,{item:_0x918898,index:_0x52096c}=_0x57dd5b,{time:_0x28e753,user:_0x4437a0}=_0x918898,[_0x5c3743,_0x30f79b]=_0x52096c,_0x24e8a7=_0x4a458b(R),_0x5d0aac=_0x5475b8(_0x24e8a7['currentVersion$'],'',!0x0)===_0x918898['id'],_0x313793=_0x5c3743===0x0&&_0x30f79b===0x0,_0x3c9f5c=!_0x313793&&_0x24e8a7[_0x44b747(0x170)],_0x5e66c7=_0x4a458b(_0x1b1071),_0x45a415=_0x5e66c7[_0x44b747(0xc8)](),_0x19e8a0=ae(_0x28e753,_0x45a415),_0x1cdd42=_0x5e66c7['t']('editHistory.panel.currentVersion'),_0x2108e4=_0x11a126(_0x34fc5e=>{const _0x1afbc6=_0x44b747;_0x24e8a7[_0x1afbc6(0xc1)]!==$[_0x1afbc6(0x146)]&&(_0x24e8a7[_0x1afbc6(0x1ed)]=_0x34fc5e);},[_0x24e8a7]),_0x2eb0c7=_0x11a126(_0x467566=>{_0x24e8a7['triggerRevert'](_0x467566);},[_0x24e8a7]);return _0x4074de(_0x44b747(0x1ae),{'className':_0x284423(v['versionItem'],{[v[_0x44b747(0x169)]]:_0x5d0aac}),'onClick':()=>_0x2108e4(_0x918898['id']),'children':[_0x4074de(_0x44b747(0x1ae),{'className':v[_0x44b747(0x102)],'children':[_0x29aab3(_0x44b747(0x1ae),{'className':v[_0x44b747(0x154)]}),_0x4074de(_0x44b747(0x1ae),{'className':v['versionItemHeaderTime'],'children':[_0x29aab3('span',{'children':_0x19e8a0[_0x44b747(0x1cf)]}),_0x313793&&_0x29aab3('span',{'className':v[_0x44b747(0x14b)],'children':_0x1cdd42})]}),_0x29aab3(_0x44b747(0x1ae),{'children':_0x3c9f5c&&_0x29aab3(_0x2e0222,{'title':_0x5e66c7['t'](_0x44b747(0x1b0)),'children':_0x29aab3(_0x44b747(0x1ae),{'onClick':_0x4702e6=>{const _0x3f8361=_0x44b747;_0x4702e6[_0x3f8361(0x1b9)](),_0x2eb0c7(_0x918898['id']);},'className':v['versionItemHeaderRevert'],'children':_0x29aab3(Ve,{})})})})]}),_0x29aab3(_0x44b747(0x1ae),{'className':v['versionItemContent'],'children':as(_0x918898,_0x5e66c7)})]});}var Qs=Object[_0x224365(0xf9)],qs=(_0x3b4775,_0x49a983,_0x22d224,_0x14ec42)=>{const _0x329e46=_0x224365;for(var _0x284505=_0x14ec42>0x1?void 0x0:_0x14ec42?Qs(_0x49a983,_0x22d224):_0x49a983,_0x3a770b=_0x3b4775[_0x329e46(0xf7)]-0x1,_0xba0af6;_0x3a770b>=0x0;_0x3a770b--)(_0xba0af6=_0x3b4775[_0x3a770b])&&(_0x284505=_0xba0af6(_0x284505)||_0x284505);return _0x284505;},H=(_0x950b35,_0x552b52)=>(_0x3b75bf,_0x4f7dd0)=>_0x552b52(_0x3b75bf,_0x4f7dd0,_0x950b35);function _0x53be(_0x260750,_0x30e273){const _0x32a613=_0x32a6();return _0x53be=function(_0x53beb0,_0x117442){_0x53beb0=_0x53beb0-0x8f;let _0x253b37=_0x32a613[_0x53beb0];return _0x253b37;},_0x53be(_0x260750,_0x30e273);}const me=_0x224365(0xed);let B=class extends _0x50f93d{constructor(_0x1c4e94,_0x4ef83b,_0x1cecf8,_0x2e7359){const _0x24a7e8=_0x224365;super(),l(this,_0x24a7e8(0x10a),null),(this[_0x24a7e8(0x157)]=_0x1c4e94,this['_componentManager']=_0x4ef83b,this[_0x24a7e8(0x127)]=_0x1cecf8,this[_0x24a7e8(0xeb)]=_0x2e7359,this['_init']());}[_0x224365(0x13e)](){const _0x135370=_0x224365;this['_initPanel'](),this[_0x135370(0x101)]();}['_openPanel'](){const _0x3dc3ec=_0x224365;if(this[_0x3dc3ec(0x10a)])return;const _0x395e24={'header':{'title':this[_0x3dc3ec(0x127)]['t'](_0x3dc3ec(0xc5))},'children':{'label':me},'onClose':()=>{const _0x4245d3=_0x3dc3ec;this['_sidebarDisposable']=null,this[_0x4245d3(0xeb)]['status']=oe['Exited'];}};this[_0x3dc3ec(0x10a)]=this[_0x3dc3ec(0x157)][_0x3dc3ec(0xca)]({..._0x395e24});}[_0x224365(0x18f)](){const _0x5ddd68=_0x224365;this[_0x5ddd68(0x236)](this['_componentManager'][_0x5ddd68(0x98)](me,Zs)),this[_0x5ddd68(0x236)](this['_sidebarService'][_0x5ddd68(0x1d4)]['pipe'](_0x522c22(0x64))['subscribe'](_0x373d0f=>{const _0x47df87=_0x5ddd68,{target:_0x523de1}=_0x373d0f||{};if(_0x523de1){const {scrollTop:_0x430dff,scrollHeight:_0x4f1a17,clientHeight:_0x1cf709}=_0x523de1;_0x430dff+_0x1cf709>=_0x4f1a17-0x5&&this[_0x47df87(0xeb)][_0x47df87(0x243)]();}}));}};B=qs([H(0x0,_0x57919a),H(0x1,_0x2a67ed(_0x915dce)),H(0x2,_0x2a67ed(_0x1b1071)),H(0x3,_0x2a67ed(R))],B);class ei extends _0x50f93d{constructor(){const _0x46f48a=_0x224365;super(),l(this,_0x46f48a(0x239),new _0x3b2bad());}[_0x224365(0xca)](){return _0x13d9ff(()=>{});}[_0x224365(0x18b)](){}['closeAll'](_0x181840){}[_0x224365(0x150)](){return this['_dialogOptions$']['asObservable']();}}var ti=Object['defineProperty'],si=Object[_0x224365(0xf9)],ii=(_0x44a99e,_0x47f043,_0x1a3509)=>_0x47f043 in _0x44a99e?ti(_0x44a99e,_0x47f043,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1a3509}):_0x44a99e[_0x47f043]=_0x1a3509,ri=(_0x91a5a1,_0x24d0d2,_0x2633a1,_0x147db3)=>{const _0xab51bd=_0x224365;for(var _0x355568=_0x147db3>0x1?void 0x0:_0x147db3?si(_0x24d0d2,_0x2633a1):_0x24d0d2,_0x1ba7f8=_0x91a5a1[_0xab51bd(0xf7)]-0x1,_0x591da7;_0x1ba7f8>=0x0;_0x1ba7f8--)(_0x591da7=_0x91a5a1[_0x1ba7f8])&&(_0x355568=_0x591da7(_0x355568)||_0x355568);return _0x355568;},Q=(_0x58c9da,_0x52e709)=>(_0x11d940,_0x96b2ee)=>_0x52e709(_0x11d940,_0x96b2ee,_0x58c9da),ni=(_0x20f1f7,_0x1dd95c,_0x54a800)=>ii(_0x20f1f7,_0x1dd95c+'',_0x54a800);const ai=_0x224365(0x183);let re=class extends _0x18884a{constructor(_0x43582a=_e,_0x46e54b,_0x5e8f7c,_0x251a86){const _0x1252c6=_0x224365;super(),this[_0x1252c6(0x19b)]=_0x43582a,this[_0x1252c6(0xfb)]=_0x46e54b,this[_0x1252c6(0x124)]=_0x5e8f7c,this[_0x1252c6(0xe1)]=_0x251a86;const {..._0x130ed7}=_0x50a37e({},_e,this[_0x1252c6(0x19b)]);this[_0x1252c6(0xe1)][_0x1252c6(0x227)](we,_0x130ed7);}['onStarting'](){const _0x476ff3=_0x224365;[[R],[Y],[L],[F],[B],[W],[_0x34e386,{'useClass':_0x40d5b3}],[_0xa84fad,{'useClass':ei}],[_0x31ed3a,{'useClass':_0x26933a}]][_0x476ff3(0x191)](_0xfb1748=>this[_0x476ff3(0xfb)]['add'](_0xfb1748)),this[_0x476ff3(0xfb)][_0x476ff3(0x1dc)](Y);}['onRendered'](){const _0x4a4258=_0x224365;[[ie]]['forEach'](_0x3aa456=>{const _0x3814e6=_0x53be;this[_0x3814e6(0x236)](this[_0x3814e6(0x124)][_0x3814e6(0x116)](_0x3acd08[_0x3814e6(0x126)],_0x3aa456));}),this[_0x4a4258(0xfb)]['get'](W),this[_0x4a4258(0xfb)][_0x4a4258(0x1dc)](B);}['onSteady'](){const _0x115bb7=_0x224365;this[_0x115bb7(0xfb)]['get'](L);}};ni(re,_0x224365(0x175),ai),re=ri([_0x30e968(_0x161075,_0x3b6ba6),Q(0x1,_0x2a67ed(_0x3c6310)),Q(0x2,_0x283c95),Q(0x3,_0x1b8186)],re);export{R as HistoryManagerService,oe as HistoryModeStatus,re as UniverEditHistoryViewerPlugin};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4e75c9=_0x57af;function _0x57af(_0x463f11,_0x354c5b){const _0x37fa1b=_0x37fa();return _0x57af=function(_0x57afaf,_0x356f9f){_0x57afaf=_0x57afaf-0x12d;let _0x3074d0=_0x37fa1b[_0x57afaf];return _0x3074d0;},_0x57af(_0x463f11,_0x354c5b);}(function(_0x16365d,_0x3184e0){const _0xbbb185=_0x57af,_0x514e1c=_0x16365d();while(!![]){try{const _0x41d4a=parseInt(_0xbbb185(0x144))/0x1+parseInt(_0xbbb185(0x149))/0x2+-parseInt(_0xbbb185(0x133))/0x3+-parseInt(_0xbbb185(0x14b))/0x4*(parseInt(_0xbbb185(0x135))/0x5)+-parseInt(_0xbbb185(0x132))/0x6+parseInt(_0xbbb185(0x13c))/0x7*(-parseInt(_0xbbb185(0x12f))/0x8)+-parseInt(_0xbbb185(0x131))/0x9*(-parseInt(_0xbbb185(0x139))/0xa);if(_0x41d4a===_0x3184e0)break;else _0x514e1c['push'](_0x514e1c['shift']());}catch(_0x3170a8){_0x514e1c['push'](_0x514e1c['shift']());}}}(_0x37fa,0xea5a8));const e={'editHistory':{'panel':{'title':'Edit\x20History','unknownUser':_0x4e75c9(0x137),'listFetchError':_0x4e75c9(0x134),'revertConfirm':_0x4e75c9(0x140),'revertConfirmText':_0x4e75c9(0x13d),'cancel':'Cancel','confirm':'Confirm','reverting':'Reverting,\x20please\x20wait...','revertFailed':_0x4e75c9(0x142),'currentVersion':_0x4e75c9(0x13a),'currentUser':_0x4e75c9(0x148),'revertDesc':_0x4e75c9(0x12d)},'info':{'loading':_0x4e75c9(0x14a)},'header':{'back':_0x4e75c9(0x138),'revert':_0x4e75c9(0x12d)},'action':{'insertSheet':_0x4e75c9(0x141),'removeSheet':_0x4e75c9(0x13f),'createSheet':_0x4e75c9(0x145),'setFilter':_0x4e75c9(0x14c),'setFrozen':_0x4e75c9(0x136),'editSheet':_0x4e75c9(0x13e),'revertSheet':_0x4e75c9(0x143),'revertSheetPrefix':'Reverted\x20from','revertSheetSuffix':'','setDV':_0x4e75c9(0x146),'setCF':'set\x20conditional\x20formatting','addCF':_0x4e75c9(0x13b),'addProtection':_0x4e75c9(0x130),'addSparkline':_0x4e75c9(0x12e),'deleteProtection':_0x4e75c9(0x147),'etc':',\x20etc.'}}};export{e as default};function _0x37fa(){const _0x44ef2e=['10107840OnOkyT','5244963GIWFuz','Failed\x20to\x20get\x20edit\x20history\x20list','6905PxnkaX','set\x20frozen','Unknown\x20User','Back','1500pmuHHH','Current\x20Version','add\x20conditional\x20formatting','56LeePpi','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','edited\x20worksheet','deleted\x20worksheet','Restore\x20this\x20version?','inserted\x20worksheet','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','reverted\x20workbook','157418CUmqAe','created\x20workbook','set\x20data\x20validation','delete\x20protection','Current\x20User','1152774LdiJnn','loading,\x20please\x20wait...','5176beuLds','set\x20filter','Restore\x20this\x20version','add\x20sparkline','1046368kJcQHJ','add\x20protection','389547TDfdYz'];_0x37fa=function(){return _0x44ef2e;};return _0x37fa();}
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x32552b=_0x1b81;function _0x1cbd(){const _0x1e4219=['تنظیم\x20اعتبار\x20سنجی\x20داده','خطای\x20ناشناخته،\x20لطفا\x20صفحه\x20را\x20بارگذاری\x20مجدد\x20کنید\x20تا\x20نتیجه\x20بازگردانی\x20را\x20مشاهده\x20کنید','ورق\x20کاری\x20ایجاد\x20شده','این\x20سند\x20به\x20نسخه\x20انتخاب\x20شده\x20بازگردانده\x20خواهد\x20شد','2868834dlqzdN','افزودن\x20قالب\x20بندی\x20شرطی','13187456DcobnN','11448913HauVqK','تنظیم\x20فیلتر','دریافت\x20لیست\x20تاریخچه\x20ویرایش\x20ناموفق\x20بود','ورق\x20کاری\x20اضافه\x20شده','ورق\x20کاری\x20بازگردانی\x20شده','افزودن\x20حفاظت','2382610NKQtpx','افزودن\x20نمودار\x20کوچک','،\x20و\x20غیره','24bgyCPx','نسخه\x20فعلی','کاربر\x20فعلی','تایید','تاریخچه\x20ویرایش','این\x20نسخه\x20را\x20بازگردانی\x20کنید؟','70106031mrtOnc','تنظیم\x20قالب\x20بندی\x20شرطی','تنظیم\x20منجمد','3856422sLfYOP','ورق\x20کاری\x20ویرایش\x20شده','1102970lRAVfq','بازگشت','حذف\x20حفاظت','بازگردانی\x20این\x20نسخه','4wIrdHb','ورق\x20کاری\x20حذف\x20شده'];_0x1cbd=function(){return _0x1e4219;};return _0x1cbd();}function _0x1b81(_0x1336cd,_0x49bf1a){const _0x1cbd79=_0x1cbd();return _0x1b81=function(_0x1b8199,_0x85a12b){_0x1b8199=_0x1b8199-0x115;let _0x5e665d=_0x1cbd79[_0x1b8199];return _0x5e665d;},_0x1b81(_0x1336cd,_0x49bf1a);}(function(_0x3e87f1,_0x239b72){const _0x347252=_0x1b81,_0x138e95=_0x3e87f1();while(!![]){try{const _0x432a63=parseInt(_0x347252(0x130))/0x1+-parseInt(_0x347252(0x119))/0x2+parseInt(_0x347252(0x12e))/0x3*(-parseInt(_0x347252(0x134))/0x4)+parseInt(_0x347252(0x122))/0x5*(-parseInt(_0x347252(0x125))/0x6)+-parseInt(_0x347252(0x11c))/0x7+-parseInt(_0x347252(0x11b))/0x8+parseInt(_0x347252(0x12b))/0x9;if(_0x432a63===_0x239b72)break;else _0x138e95['push'](_0x138e95['shift']());}catch(_0x3d9d3b){_0x138e95['push'](_0x138e95['shift']());}}}(_0x1cbd,0xefe1f));const e={'editHistory':{'panel':{'title':_0x32552b(0x129),'unknownUser':'کاربر\x20ناشناخته','listFetchError':_0x32552b(0x11e),'revertConfirm':_0x32552b(0x12a),'revertConfirmText':_0x32552b(0x118),'cancel':'لغو','confirm':_0x32552b(0x128),'reverting':'در\x20حال\x20بازگردانی،\x20لطفا\x20صبر\x20کنید...','revertFailed':_0x32552b(0x116),'currentVersion':_0x32552b(0x126),'currentUser':_0x32552b(0x127),'revertDesc':_0x32552b(0x133)},'info':{'loading':'در\x20حال\x20بارگذاری،\x20لطفا\x20صبر\x20کنید...'},'header':{'back':_0x32552b(0x131),'revert':_0x32552b(0x133)},'action':{'insertSheet':_0x32552b(0x11f),'removeSheet':_0x32552b(0x135),'createSheet':_0x32552b(0x117),'setFilter':_0x32552b(0x11d),'setFrozen':_0x32552b(0x12d),'editSheet':_0x32552b(0x12f),'revertSheet':_0x32552b(0x120),'revertSheetPrefix':'بازگردانی\x20از','revertSheetSuffix':'','setDV':_0x32552b(0x115),'setCF':_0x32552b(0x12c),'addCF':_0x32552b(0x11a),'addProtection':_0x32552b(0x121),'addSparkline':_0x32552b(0x123),'deleteProtection':_0x32552b(0x132),'etc':_0x32552b(0x124)}}};export{e as default};
|
package/lib/es/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x1dec(_0x2c5899,_0x5b84){const _0x2f2907=_0x2f29();return _0x1dec=function(_0x1dec27,_0x344328){_0x1dec27=_0x1dec27-0xf4;let _0x3e7513=_0x2f2907[_0x1dec27];return _0x3e7513;},_0x1dec(_0x2c5899,_0x5b84);}const _0x4e0b19=_0x1dec;function _0x2f29(){const _0x15dbc6=['Edit\x20History','add\x20protection','edited\x20worksheet','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','Confirm','92GyiAPE','set\x20conditional\x20formatting','add\x20sparkline','set\x20data\x20validation','6653910iKtpWP',',\x20etc.','set\x20filter','112ocHxpz','Cancel','Current\x20Version','1108947jpjtun','12730047aguIpX','2VTSUYM','Current\x20User','64315QVHSqN','Reverting,\x20please\x20wait...','29248OPoNds','deleted\x20worksheet','402279pxECWJ','1152948YUjxAZ','9gbOgLh','created\x20workbook','reverted\x20workbook','Failed\x20to\x20get\x20edit\x20history\x20list','delete\x20protection','Restore\x20this\x20version'];_0x2f29=function(){return _0x15dbc6;};return _0x2f29();}(function(_0x57e144,_0x131b1f){const _0x1b86d2=_0x1dec,_0xe47d93=_0x57e144();while(!![]){try{const _0x59ba2f=-parseInt(_0x1b86d2(0x104))/0x1*(-parseInt(_0x1b86d2(0xfe))/0x2)+-parseInt(_0x1b86d2(0xfc))/0x3+-parseInt(_0x1b86d2(0x112))/0x4*(parseInt(_0x1b86d2(0x100))/0x5)+parseInt(_0x1b86d2(0x105))/0x6+parseInt(_0x1b86d2(0xf9))/0x7*(-parseInt(_0x1b86d2(0x102))/0x8)+-parseInt(_0x1b86d2(0x106))/0x9*(parseInt(_0x1b86d2(0xf6))/0xa)+parseInt(_0x1b86d2(0xfd))/0xb;if(_0x59ba2f===_0x131b1f)break;else _0xe47d93['push'](_0xe47d93['shift']());}catch(_0x48bf48){_0xe47d93['push'](_0xe47d93['shift']());}}}(_0x2f29,0x58759));const e={'editHistory':{'panel':{'title':_0x4e0b19(0x10c),'unknownUser':'Unknown\x20User','listFetchError':_0x4e0b19(0x109),'revertConfirm':'Restore\x20this\x20version?','revertConfirmText':_0x4e0b19(0x10f),'cancel':_0x4e0b19(0xfa),'confirm':_0x4e0b19(0x111),'reverting':_0x4e0b19(0x101),'revertFailed':_0x4e0b19(0x110),'currentVersion':_0x4e0b19(0xfb),'currentUser':_0x4e0b19(0xff),'revertDesc':_0x4e0b19(0x10b)},'info':{'loading':'loading,\x20please\x20wait...'},'header':{'back':'Back','revert':_0x4e0b19(0x10b)},'action':{'insertSheet':'inserted\x20worksheet','removeSheet':_0x4e0b19(0x103),'createSheet':_0x4e0b19(0x107),'setFilter':_0x4e0b19(0xf8),'setFrozen':'set\x20frozen','editSheet':_0x4e0b19(0x10e),'revertSheet':_0x4e0b19(0x108),'revertSheetPrefix':'Reverted\x20from','revertSheetSuffix':'','setDV':_0x4e0b19(0xf5),'setCF':_0x4e0b19(0x113),'addCF':'add\x20conditional\x20formatting','addProtection':_0x4e0b19(0x10d),'addSparkline':_0x4e0b19(0xf4),'deleteProtection':_0x4e0b19(0x10a),'etc':_0x4e0b19(0xf7)}}},t=e;export{t as default};
|
package/lib/es/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x1237c7=_0x3253;(function(_0x2771af,_0x348a12){const _0x39c97f=_0x3253,_0x1390e1=_0x2771af();while(!![]){try{const _0x2bd7d3=-parseInt(_0x39c97f(0x1cd))/0x1*(parseInt(_0x39c97f(0x1cc))/0x2)+-parseInt(_0x39c97f(0x1c5))/0x3+-parseInt(_0x39c97f(0x1bf))/0x4+parseInt(_0x39c97f(0x1c1))/0x5+-parseInt(_0x39c97f(0x1c2))/0x6+-parseInt(_0x39c97f(0x1c7))/0x7+parseInt(_0x39c97f(0x1cb))/0x8;if(_0x2bd7d3===_0x348a12)break;else _0x1390e1['push'](_0x1390e1['shift']());}catch(_0x262604){_0x1390e1['push'](_0x1390e1['shift']());}}}(_0x3260,0x5270a));function _0x3260(){const _0x275d56=['set\x20conditional\x20formatting','edited\x20worksheet','Restore\x20this\x20version','12238928HgQPFo','2dJwtoy','36193dhVlUt','delete\x20protection','add\x20sparkline','reverted\x20workbook','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','Edit\x20History','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','add\x20protection','Reverted\x20from','loading,\x20please\x20wait...','Unknown\x20User',',\x20etc.','Current\x20User','set\x20data\x20validation','deleted\x20worksheet','set\x20frozen','Confirm','708808UkdUPK','Reverting,\x20please\x20wait...','594730tjuGKS','2885346RQsnxw','Current\x20Version','set\x20filter','807450gslaGL','inserted\x20worksheet','2433914WIwwYL'];_0x3260=function(){return _0x275d56;};return _0x3260();}const e={'editHistory':{'panel':{'title':_0x1237c7(0x1d2),'unknownUser':_0x1237c7(0x1b8),'listFetchError':'Failed\x20to\x20get\x20edit\x20history\x20list','revertConfirm':'Restore\x20this\x20version?','revertConfirmText':_0x1237c7(0x1d3),'cancel':'Cancel','confirm':_0x1237c7(0x1be),'reverting':_0x1237c7(0x1c0),'revertFailed':_0x1237c7(0x1d1),'currentVersion':_0x1237c7(0x1c3),'currentUser':_0x1237c7(0x1ba),'revertDesc':_0x1237c7(0x1ca)},'info':{'loading':_0x1237c7(0x1b7)},'header':{'back':'Back','revert':_0x1237c7(0x1ca)},'action':{'insertSheet':_0x1237c7(0x1c6),'removeSheet':_0x1237c7(0x1bc),'createSheet':'created\x20workbook','setFilter':_0x1237c7(0x1c4),'setFrozen':_0x1237c7(0x1bd),'editSheet':_0x1237c7(0x1c9),'revertSheet':_0x1237c7(0x1d0),'revertSheetPrefix':_0x1237c7(0x1b6),'revertSheetSuffix':'','setDV':_0x1237c7(0x1bb),'setCF':_0x1237c7(0x1c8),'addCF':'add\x20conditional\x20formatting','addProtection':_0x1237c7(0x1d4),'addSparkline':_0x1237c7(0x1cf),'deleteProtection':_0x1237c7(0x1ce),'etc':_0x1237c7(0x1b9)}}};function _0x3253(_0x2aa40f,_0x32ab04){const _0x3260e5=_0x3260();return _0x3253=function(_0x3253cf,_0x672bdf){_0x3253cf=_0x3253cf-0x1b6;let _0x5b64bf=_0x3260e5[_0x3253cf];return _0x5b64bf;},_0x3253(_0x2aa40f,_0x32ab04);}export{e as default};
|
package/lib/es/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x4f3e32=_0x2c12;(function(_0x182209,_0x2f214e){const _0x3db52b=_0x2c12,_0x1f70f6=_0x182209();while(!![]){try{const _0x2e546d=-parseInt(_0x3db52b(0x1d3))/0x1*(parseInt(_0x3db52b(0x1ce))/0x2)+-parseInt(_0x3db52b(0x1c6))/0x3+parseInt(_0x3db52b(0x1c1))/0x4+parseInt(_0x3db52b(0x1cd))/0x5*(parseInt(_0x3db52b(0x1c2))/0x6)+-parseInt(_0x3db52b(0x1cb))/0x7+parseInt(_0x3db52b(0x1c0))/0x8*(parseInt(_0x3db52b(0x1d9))/0x9)+parseInt(_0x3db52b(0x1bd))/0xa*(parseInt(_0x3db52b(0x1be))/0xb);if(_0x2e546d===_0x2f214e)break;else _0x1f70f6['push'](_0x1f70f6['shift']());}catch(_0x304365){_0x1f70f6['push'](_0x1f70f6['shift']());}}}(_0x4da7,0x8bf8b));const e={'editHistory':{'panel':{'title':_0x4f3e32(0x1b9),'unknownUser':_0x4f3e32(0x1c5),'listFetchError':_0x4f3e32(0x1c8),'revertConfirm':_0x4f3e32(0x1d0),'revertConfirmText':_0x4f3e32(0x1bb),'cancel':_0x4f3e32(0x1bf),'confirm':_0x4f3e32(0x1b8),'reverting':'Reverting,\x20please\x20wait...','revertFailed':_0x4f3e32(0x1d5),'currentVersion':'Current\x20Version','currentUser':_0x4f3e32(0x1d2),'revertDesc':'Restore\x20this\x20version'},'info':{'loading':_0x4f3e32(0x1c4)},'header':{'back':_0x4f3e32(0x1cc),'revert':_0x4f3e32(0x1ba)},'action':{'insertSheet':_0x4f3e32(0x1c9),'removeSheet':'deleted\x20worksheet','createSheet':'created\x20workbook','setFilter':_0x4f3e32(0x1d1),'setFrozen':'set\x20frozen','editSheet':_0x4f3e32(0x1ca),'revertSheet':_0x4f3e32(0x1c7),'revertSheetPrefix':_0x4f3e32(0x1cf),'revertSheetSuffix':'','setDV':_0x4f3e32(0x1d6),'setCF':'set\x20conditional\x20formatting','addCF':_0x4f3e32(0x1d4),'addProtection':_0x4f3e32(0x1d8),'addSparkline':_0x4f3e32(0x1d7),'deleteProtection':_0x4f3e32(0x1c3),'etc':_0x4f3e32(0x1bc)}}},t=e;function _0x4da7(){const _0x7036ef=['Current\x20User','3198psHACO','add\x20conditional\x20formatting','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','set\x20data\x20validation','add\x20sparkline','add\x20protection','3772341DliWaS','Confirm','Edit\x20History','Restore\x20this\x20version','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version',',\x20etc.','60AoKYmR','1362493BQrDUW','Cancel','8tLGwLD','2316100SYnCWh','18kwykAN','delete\x20protection','loading,\x20please\x20wait...','Unknown\x20User','3418227naqFNI','reverted\x20workbook','Failed\x20to\x20get\x20edit\x20history\x20list','inserted\x20worksheet','edited\x20worksheet','1870407PUWhPp','Back','930635qaBcwr','200lhBeVe','Reverted\x20from','Restore\x20this\x20version?','set\x20filter'];_0x4da7=function(){return _0x7036ef;};return _0x4da7();}function _0x2c12(_0x2d8101,_0x368b81){const _0x4da75b=_0x4da7();return _0x2c12=function(_0x2c1274,_0x338288){_0x2c1274=_0x2c1274-0x1b8;let _0x4c1fdd=_0x4da75b[_0x2c1274];return _0x4c1fdd;},_0x2c12(_0x2d8101,_0x368b81);}export{t as default};
|