@univerjs-pro/edit-history-viewer 0.8.2-nightly.202506231607 → 0.8.2-nightly.202506251607
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/ko-KR.js +1 -0
- 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/ko-KR.js +1 -0
- 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 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -0
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/locale/ko-KR.d.ts +3 -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/ko-KR.js +1 -0
- 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 +16 -16
package/lib/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x41d1(_0x2d2ba8,_0x519a7f){const _0x406ecd=_0x406e();return _0x41d1=function(_0x41d1ad,_0x46199b){_0x41d1ad=_0x41d1ad-0xee;let _0x5dd8cc=_0x406ecd[_0x41d1ad];return _0x5dd8cc;},_0x41d1(_0x2d2ba8,_0x519a7f);}const _0xdcf97b=_0x41d1;(function(_0x182d84,_0x1c4d58){const _0x1dbfb7=_0x41d1,_0x272abf=_0x182d84();while(!![]){try{const _0x555cda=-parseInt(_0x1dbfb7(0xf6))/0x1+-parseInt(_0x1dbfb7(0xf8))/0x2+parseInt(_0x1dbfb7(0xf5))/0x3+parseInt(_0x1dbfb7(0x109))/0x4+parseInt(_0x1dbfb7(0xf9))/0x5+-parseInt(_0x1dbfb7(0xee))/0x6+-parseInt(_0x1dbfb7(0x106))/0x7*(-parseInt(_0x1dbfb7(0xf1))/0x8);if(_0x555cda===_0x1c4d58)break;else _0x272abf['push'](_0x272abf['shift']());}catch(_0x3ed182){_0x272abf['push'](_0x272abf['shift']());}}}(_0x406e,0x38637));const e={'editHistory':{'panel':{'title':'Edit\x20History','unknownUser':_0xdcf97b(0x100),'listFetchError':_0xdcf97b(0xf2),'revertConfirm':'Restore\x20this\x20version?','revertConfirmText':'This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','cancel':_0xdcf97b(0x107),'confirm':_0xdcf97b(0x104),'reverting':_0xdcf97b(0xff),'revertFailed':_0xdcf97b(0xfe),'currentVersion':'Current\x20Version','currentUser':_0xdcf97b(0x103),'revertDesc':_0xdcf97b(0x101)},'info':{'loading':_0xdcf97b(0xf3)},'header':{'back':_0xdcf97b(0xfd),'revert':_0xdcf97b(0x101)},'action':{'insertSheet':'inserted\x20worksheet','removeSheet':'deleted\x20worksheet','createSheet':_0xdcf97b(0x105),'setFilter':_0xdcf97b(0xef),'setFrozen':_0xdcf97b(0xfb),'editSheet':_0xdcf97b(0x102),'revertSheet':_0xdcf97b(0xfc),'revertSheetPrefix':_0xdcf97b(0xf0),'revertSheetSuffix':'','setDV':'set\x20data\x20validation','setCF':_0xdcf97b(0xf4),'addCF':'add\x20conditional\x20formatting','addProtection':_0xdcf97b(0xf7),'addSparkline':'add\x20sparkline','deleteProtection':_0xdcf97b(0x108),'etc':_0xdcf97b(0xfa)}}},t=e;export{t as default};function _0x406e(){const _0x4853c9=['571594EAdRZt','2068040WqHhjE',',\x20etc.','set\x20frozen','reverted\x20workbook','Back','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','Reverting,\x20please\x20wait...','Unknown\x20User','Restore\x20this\x20version','edited\x20worksheet','Current\x20User','Confirm','created\x20workbook','11039aqoKbP','Cancel','delete\x20protection','222920jlYXWA','1549110rEOQBh','set\x20filter','Reverted\x20from','424mlDwIs','Failed\x20to\x20get\x20edit\x20history\x20list','loading,\x20please\x20wait...','set\x20conditional\x20formatting','883854LDlihZ','72588oynSMI','add\x20protection'];_0x406e=function(){return _0x4853c9;};return _0x406e();}
|
package/lib/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x494da7=_0xb320;(function(_0x453019,_0xc9059a){const _0x23b289=_0xb320,_0x1c3a20=_0x453019();while(!![]){try{const _0xa15f69=parseInt(_0x23b289(0x19f))/0x1+-parseInt(_0x23b289(0x1a0))/0x2+parseInt(_0x23b289(0x190))/0x3+parseInt(_0x23b289(0x192))/0x4+-parseInt(_0x23b289(0x1a2))/0x5*(parseInt(_0x23b289(0x195))/0x6)+-parseInt(_0x23b289(0x1a3))/0x7*(-parseInt(_0x23b289(0x194))/0x8)+-parseInt(_0x23b289(0x19d))/0x9*(parseInt(_0x23b289(0x1a4))/0xa);if(_0xa15f69===_0xc9059a)break;else _0x1c3a20['push'](_0x1c3a20['shift']());}catch(_0xee08de){_0x1c3a20['push'](_0x1c3a20['shift']());}}}(_0x2431,0xd0e79));function _0x2431(){const _0x50e5fc=['add\x20conditional\x20formatting','set\x20filter','deleted\x20worksheet','set\x20frozen','1446435VmjPKP','Current\x20Version','4576760xhEEtX','Edit\x20History','10693552QYEpak','42534vgDAuI','Reverting,\x20please\x20wait...','created\x20workbook','Cancel','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','Failed\x20to\x20get\x20edit\x20history\x20list','reverted\x20workbook','inserted\x20worksheet','9QepomC','loading,\x20please\x20wait...','765052ylkhbc','68544SZQHBZ','Restore\x20this\x20version?','355vUkCtg','7FalNvn','23348170gviIuD','Unknown\x20User','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','add\x20protection',',\x20etc.','edited\x20worksheet','set\x20conditional\x20formatting','Back','Restore\x20this\x20version'];_0x2431=function(){return _0x50e5fc;};return _0x2431();}const e={'editHistory':{'panel':{'title':_0x494da7(0x193),'unknownUser':_0x494da7(0x1a5),'listFetchError':_0x494da7(0x19a),'revertConfirm':_0x494da7(0x1a1),'revertConfirmText':_0x494da7(0x199),'cancel':_0x494da7(0x198),'confirm':'Confirm','reverting':_0x494da7(0x196),'revertFailed':_0x494da7(0x1a6),'currentVersion':_0x494da7(0x191),'currentUser':'Current\x20User','revertDesc':_0x494da7(0x1ac)},'info':{'loading':_0x494da7(0x19e)},'header':{'back':_0x494da7(0x1ab),'revert':'Restore\x20this\x20version'},'action':{'insertSheet':_0x494da7(0x19c),'removeSheet':_0x494da7(0x18e),'createSheet':_0x494da7(0x197),'setFilter':_0x494da7(0x1ae),'setFrozen':_0x494da7(0x18f),'editSheet':_0x494da7(0x1a9),'revertSheet':_0x494da7(0x19b),'revertSheetPrefix':'Reverted\x20from','revertSheetSuffix':'','setDV':'set\x20data\x20validation','setCF':_0x494da7(0x1aa),'addCF':_0x494da7(0x1ad),'addProtection':_0x494da7(0x1a7),'addSparkline':'add\x20sparkline','deleteProtection':'delete\x20protection','etc':_0x494da7(0x1a8)}}},t=e;function _0xb320(_0x116be3,_0x5c794c){const _0x2431d5=_0x2431();return _0xb320=function(_0xb320c0,_0x5cf2c9){_0xb320c0=_0xb320c0-0x18e;let _0x285945=_0x2431d5[_0xb320c0];return _0x285945;},_0xb320(_0x116be3,_0x5c794c);}export{t as default};
|
package/lib/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x128e(){const _0x210205=['还原到此版本?','插入了工作表','添加了保护范围','设置了条件格式','获取编辑历史记录列表失败','2212qIqVxS','添加了迷你图','8bxFsFa','261SBsWvI','还原到此版本','4269693LyOZuO','移除了保护范围','35CZmkbB','编辑了工作表','98110tWICob','3787588mJrSkP','8162651VgMJSv','创建了工作表','706hUnwgO','767706tdCifT','20910890nIuzNk','加载中,请稍等...','当前用户','该文档将会被还原到选中版本','的版本','设置了数据验证','正在还原,请稍等...','当前版本','未知用户','历史记录','设置了筛选','还原了版本'];_0x128e=function(){return _0x210205;};return _0x128e();}const _0x169137=_0x57df;(function(_0x28b901,_0x1e030e){const _0x457f17=_0x57df,_0x126186=_0x28b901();while(!![]){try{const _0x17def5=parseInt(_0x457f17(0x124))/0x1*(parseInt(_0x457f17(0x137))/0x2)+-parseInt(_0x457f17(0x11c))/0x3+parseInt(_0x457f17(0x121))/0x4+parseInt(_0x457f17(0x11e))/0x5*(parseInt(_0x457f17(0x125))/0x6)+-parseInt(_0x457f17(0x122))/0x7*(-parseInt(_0x457f17(0x139))/0x8)+parseInt(_0x457f17(0x13a))/0x9*(parseInt(_0x457f17(0x120))/0xa)+-parseInt(_0x457f17(0x126))/0xb;if(_0x17def5===_0x1e030e)break;else _0x126186['push'](_0x126186['shift']());}catch(_0x48096a){_0x126186['push'](_0x126186['shift']());}}}(_0x128e,0xb70d5));function _0x57df(_0x445ec6,_0x28fa10){const _0x128e58=_0x128e();return _0x57df=function(_0x57df63,_0xe4d39a){_0x57df63=_0x57df63-0x11b;let _0x3f9876=_0x128e58[_0x57df63];return _0x3f9876;},_0x57df(_0x445ec6,_0x28fa10);}const e={'editHistory':{'panel':{'title':_0x169137(0x12f),'unknownUser':_0x169137(0x12e),'listFetchError':_0x169137(0x136),'revertConfirm':_0x169137(0x132),'revertConfirmText':_0x169137(0x129),'cancel':'取消','confirm':'确认','reverting':_0x169137(0x12c),'revertFailed':'未知错误,请刷新页面查看还原结果','currentVersion':_0x169137(0x12d),'currentUser':_0x169137(0x128),'revertDesc':_0x169137(0x11b)},'info':{'loading':_0x169137(0x127)},'header':{'back':'返回','revert':_0x169137(0x11b)},'action':{'insertSheet':_0x169137(0x133),'removeSheet':'删除了工作表','createSheet':_0x169137(0x123),'setFilter':_0x169137(0x130),'setFrozen':'冻结了工作表','editSheet':_0x169137(0x11f),'revertSheet':_0x169137(0x131),'revertSheetPrefix':'还原了','revertSheetSuffix':_0x169137(0x12a),'setDV':_0x169137(0x12b),'setCF':_0x169137(0x135),'addCF':'添加了条件格式','addProtection':_0x169137(0x134),'addSparkline':_0x169137(0x138),'deleteProtection':_0x169137(0x11d),'etc':',等'}}};export{e as default};
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x45e891=_0x160b;(function(_0x5243a4,_0x5d0ad5){const _0x38c76a=_0x160b,_0x186d47=_0x5243a4();while(!![]){try{const _0x1d4174=parseInt(_0x38c76a(0xb4))/0x1+-parseInt(_0x38c76a(0x9a))/0x2*(-parseInt(_0x38c76a(0x9c))/0x3)+parseInt(_0x38c76a(0x98))/0x4*(-parseInt(_0x38c76a(0xb3))/0x5)+-parseInt(_0x38c76a(0x9f))/0x6+parseInt(_0x38c76a(0xa1))/0x7+parseInt(_0x38c76a(0xa9))/0x8*(-parseInt(_0x38c76a(0xaa))/0x9)+parseInt(_0x38c76a(0xb1))/0xa;if(_0x1d4174===_0x5d0ad5)break;else _0x186d47['push'](_0x186d47['shift']());}catch(_0x1d8e07){_0x186d47['push'](_0x186d47['shift']());}}}(_0x1543,0x54d53));function _0x1543(){const _0x1b2c2f=['16dKNOqi','534168HgPjPM','inserted\x20worksheet','created\x20workbook','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','Cancel','Current\x20Version','Unknown\x20User','6727990TVfdKs','set\x20conditional\x20formatting','105aOXBGf','17625NzzIjx','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','15508gLSRRL','edited\x20worksheet','22HYGnop','Failed\x20to\x20get\x20edit\x20history\x20list','21843pqSjTP','set\x20data\x20validation','Restore\x20this\x20version?','2496120gmFtnH','reverted\x20workbook','1351707UMyiDK','set\x20filter','deleted\x20worksheet','add\x20sparkline','delete\x20protection','Restore\x20this\x20version','Reverted\x20from','Reverting,\x20please\x20wait...'];_0x1543=function(){return _0x1b2c2f;};return _0x1543();}const e={'editHistory':{'panel':{'title':'Edit\x20History','unknownUser':_0x45e891(0xb0),'listFetchError':_0x45e891(0x9b),'revertConfirm':_0x45e891(0x9e),'revertConfirmText':_0x45e891(0xad),'cancel':_0x45e891(0xae),'confirm':'Confirm','reverting':_0x45e891(0xa8),'revertFailed':_0x45e891(0x97),'currentVersion':_0x45e891(0xaf),'currentUser':'Current\x20User','revertDesc':_0x45e891(0xa6)},'info':{'loading':'loading,\x20please\x20wait...'},'header':{'back':'Back','revert':'Restore\x20this\x20version'},'action':{'insertSheet':_0x45e891(0xab),'removeSheet':_0x45e891(0xa3),'createSheet':_0x45e891(0xac),'setFilter':_0x45e891(0xa2),'setFrozen':'set\x20frozen','editSheet':_0x45e891(0x99),'revertSheet':_0x45e891(0xa0),'revertSheetPrefix':_0x45e891(0xa7),'revertSheetSuffix':'','setDV':_0x45e891(0x9d),'setCF':_0x45e891(0xb2),'addCF':'add\x20conditional\x20formatting','addProtection':'add\x20protection','addSparkline':_0x45e891(0xa4),'deleteProtection':_0x45e891(0xa5),'etc':',\x20etc.'}}},t=e;function _0x160b(_0x293c38,_0x2d9d11){const _0x154342=_0x1543();return _0x160b=function(_0x160ba3,_0xf38466){_0x160ba3=_0x160ba3-0x97;let _0xcd4ba3=_0x154342[_0x160ba3];return _0xcd4ba3;},_0x160b(_0x293c38,_0x2d9d11);}export{t as default};
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x9620(_0x45b83c,_0x2ca2eb){const _0x2a9ae1=_0x2a9a();return _0x9620=function(_0x962024,_0x4ec1ec){_0x962024=_0x962024-0x17b;let _0x3f83bf=_0x2a9ae1[_0x962024];return _0x3f83bf;},_0x9620(_0x45b83c,_0x2ca2eb);}function _0x2a9a(){const _0x209e48=['SHEET_VIEWPORT_KEY','_compressMutationService','status','WorkbookHideSheetPermission','has','span','_createMask','UpdateDataValidationMutation','removeSheet','6GQtvJF','Loaded','Exited','borderBottomClassName','View','useDependency','HideSheet','currentVersion$','bottom','colorChannel1','edit-history-viewer.config','editHistory.panel.revertConfirm','UNDEFINED','_sheetSkeletonManagerService','_context','UniverNetwork','IMessageService','loadMoreVersions','Fragment','getUnitId','users','changesets','none','pipe','entities','RecoverHistory','getMember','substring','1em','error','next','_messageService','@univerjs/ui','createTime','BuiltInUIPart','setFrozen','_sidebarDisposable','params','Duplicate','EditWorksheetCell','_lastLabel','HEADER','LICENSE_DISTRO_REJECTED','_canRevert','debounceTime','add','zIndex','@univerjs/core','Vector2','UniverProSheetsSparkline','hasOwnProperty','Edit','url(#$1','_cellEditorManagerService','LocaleType','transformSnapshotToWorkbookData','SNAPSHOT_HAS_BEEN_REMOVED','AddWorksheetMergeMutation','_getActiveSubUnitId','_initRender','SheetCollabCursorShape','extend','CollaborationImageIoService','values','YUUMI_AI_RUN_FAILED','getVersions','endRev','@univerjs/sheets','APPLY_NON_SEQUENTIAL_REVISION','triggerLoadSheet','mask','univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-400','IImageIoService','CHANGESET_REVISION_CONFILICT','createElement','fill','MoveRangeMutation','DeleteColumn','_getRangesByMutation','@univerjs/sheets-ui','children','flex','close','InsertSheetMutation','UNRECOGNIZED','Disposable','getConfig','MOBILE_VERIFY_CODE_MISMATCH','focusUnit','_versions$','loadingState$','dateString','idSuffix','_historyContainerId','data','UniverCore','[HistoryFetchService]:\x20request\x20snapshot\x20error!','RenameWorksheet','Init','showMask','SelectProtectedCells','Button','value','_injector','getOwnPropertyDescriptor','univer-text-gray-500','UniverProCollaborationClient','&lastLabel=','univer-pl-[26px]\x20univer-text-sm\x20univer-leading-5\x20univer-text-gray-600\x20dark:!univer-text-gray-200','RemoveSheetMutation','currentVersionDiff$','concat','rev','YUUMI_TABLE_NOT_FOUND_IN_UNIT','onSteady','Inject','UNIVER_SLIDE','registerComponent','history-mask','rect','workbook','ENSURE_SNAPSHOT_EXECUTION','SetWorksheetStyle','Sort','INTERNAL_ERROR','stopPropagation','_updateDiffMarks','_workbookDataCache','fetchMissingChangesets','_config','@univerjs/design','univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-text-gray-400\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','2152umJyeH','FromArray','CreateWorksheet','_extractRanges','LOGIN_FAILED','Comment','UniverProEditHistoryViewer','LoadingMultiIcon','width','endColumn','rgba(225,\x20225,\x20225,\x200.5)','DisposableCollection','react/jsx-runtime','LocaleService','toISOString','UniverInstanceType','entered','_historyManagerService','http://www.w3.org/2000/svg','USER_NOT_INVITED_CODE','DeleteWorksheet','trim','loadSheet','@univerjs-pro/sheets-sparkline','revertSheet','editHistory.action.revertSheetSuffix','MoveRowsMutation','hasCommand','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','COMPLETION_FINISHED','univer-animate-spin','combineLatest','disposeUnit','toString','_currentVersionDiff$','AddSheetSparklineMutation','filter','setCF','UniverSheetsUi','INVITE_CODE_REQUIRED','ObjectMatrix','path','DeleteSheet','subUnitId','loaded','editHistory.panel.cancel','3915955SQHVMR','getUnitOnRev','YUUMI_CONNECTOR_URL_NOT_FOUND','createUnit','UniverNetworkPlugin','permissionPointUpdate$','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','#0B9EFB','_members','ALREADY_EXISTS','2355990Gukkab','APPLY_PERMISSION_DENIED','versions$','UniverEditHistoryViewerPlugin','_diffRangesMap','currentVersion','InsertHyperlink','_unitId$','onRendered','PERMISSION_DENIED','InsertRowMutation','exited','random','from','_removeDiffMarks','editHistory.action.','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','hideMask','Export','state$','_historyFetchService','keys','some','call','_configService','PY_RUNTIME_SCRIPT_ERROR','AddDataValidationMutation','syncExecuteCommand','YUUMI_ALL_TABLES_IS_INVALID','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-pl-5\x20univer-text-sm\x20univer-font-medium\x20univer-text-[#1e222b]','SheetSkeletonManagerService','BehaviorSubject','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','HideWorksheet','Share','indexOf','range','exports','rule','_httpService','forwardRef','blockMeta','_revertRevision$','HistoryModeStatus','editSheet','APPLY_REVISION_CONFILICT','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','object','mutations','connectInjector','subscribe','SelectUnProtectedCells','UNAUTHENTICATED','_init','_loadingState$','onPointerMove$','amd','@univerjs-pro/collaboration-client-ui','RenameSheet','IPermissionService','_transformService','DependentOn','MoveSheet','_commandService','@univerjs/data-validation','get','_openPanel','editHistory.panel.revertConfirmText','assign','_uiPartsService','MoveColsMutation','startRevision','revertRevision$','UNIVER_UNKNOWN','show','4515WxANPq','APPLY_REJECT','recoverTime','Delete','length','UNIVER_SHEET','attrs','SetSheetsFilterRangeMutation','insertSheet','code','justifyContent','startRow','LICENSE_IMPORT_SIZE_EXCEEDED','editHistory.action.revertSheetPrefix','SetConditionalRuleMutation','Copy','init','getAncestorScale','canRevert','100%','apply','getVersion','getHours','string','map','_diffs','div','symbol','IConfigService','updatePermissionPoint','UniverSheetsUIPlugin','versions','YUUMI_ASYNCIO_CANCELLED','_permissionService','IUniverInstanceService','startColumn','_versionDiffService','0\x200\x2016\x2016','getCurrent','displayName','commands','all','addProtection','endRevision','currentSkeleton$','svg','row','ISnapshotServerService','SetNumfmtMutation','YUUMI_UNABLE_LOAD_URL','_fetching','ManageCollaborator','then','YUUMI_URL_COL_OUT_OF_RANGE','@univerjs/engine-render','triggerRevert','top','_initMaskContainer','replace','split','rgba(58,\x2096,\x20247,\x200.20)','UniverProCollaboration','History','column','SetWorksheetActiveOperation','492698tUbLFd','_localeService','IRenderManagerService','@univerjs-pro/collaboration-client','1691739DRcbxC','position','ensureVersion','setDV','1454280jjQyEE','editHistory.panel.title','Subject','userId','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','setState','UniverEngineRender','_getAPIPrefix','univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','UNIVER_DOC','univerjs-icon\x20univerjs-icon-','useRef','append','includes','_updateVersions','time','RangeMergeUtil','SNAPSHOT_INVALID_SNAPSHOT','now','0\x200\x2016\x2017','style','use','ViewFilter','Loading','InsertRow','defs','evenodd','SetCellStyle','icon','MoveWorksheet','command','INVITE_CODE_ALREADY_BOUND','INVALID_INVITE_CODE','addObjects','DeleteRangeProtectionMutation','RevertRevisionMutation','restore-icon_clip0_1247_2','querySelector','editHistory.panel.currentVersion','rxjs','InsertColumn','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','onMouseMove','debounce','blocks','CopySheet','React','history-panel','status$','AddRangeProtectionMutation','UniverSheetsConditionalFormatting','_transformMutationByOrder','primary','useState','flat','isArray','VIRTUAL_VERSION_NOW','_maskElement','HistoryManagerService','ReorderRangeMutation','push','EditExtraObject','getOwnPropertySymbols','ITransformService','disposeWithMe','_initPanel','@univerjs/drawing','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','xlink:href','MOBILE_HAS_BEEN_BOUND','useObservable','parseProtocolChangeset','PivotTable','LICENSE_MAX_UNITS_EXCEEDED','find','YUUMI_SUBSCRIPTION_NOT_FOUND','AddWorksheetProtectionMutation','color','WorkbookMoveSheetPermission','EMAIL_VERIFY_CODE_MISMATCH','scrollEvent$','block','getDialogs$','10JXdPzn','sheetId','/list?length=20','asObservable','ViemRwHgtClWdt','IUIPartsService','unitId','Print','_lastPointer','clear','DeleteWorksheetProtectionMutation','@univerjs-pro/collaboration','CreateUnitMutation','white','editHistory.panel.currentUser','_snapshotServerService','closeAll','jsxs','UniverDesign','left','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','display','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','Error','react','_status$','merge','EMAIL_HAS_BEEN_BOUND','hidden','UNIVER_PROJECT','WorkbookEditablePermission','MessageType','prototype','unitId$','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','getDeserializedSheetBlock','open','padStart','/universer-api/history','TOO_MANY_REQUESTS','set','ViewHistory','makeDirty','dispose','name','3851152JfJjrS','endRow','forEach','INVALID_ARGUMENT','editHistory.panel.revertDesc','function','@univerjs/sheets-conditional-formatting','clsx','_univerInstanceService','getMinutes','WECHAT_HAS_BEEN_BOUND','RemoveNumfmtMutation','InsertColMutation','_createUnit','backgroundColor','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','active','defineProperty','action','_renderManagerService','cellValue','univer-flex\x20univer-items-center\x20univer-justify-center','ZH_CN','confirm-revert-revision','univer-ml-2.5\x20univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20hover:univer-bg-[rgba(30,34,43,0.06)]','currentColor','_hasMore','YUUMI_RATE_OVER_LIMIT','body','NOT_FOUND','createSheet','defIds','SetRowStyle','INVITE_CODE_HAS_BEEN_UES','date','_currentVersion$','Filter','univer-flex\x20univer-h-[60px]\x20univer-cursor-default\x20univer-flex-col\x20univer-justify-center\x20univer-px-4\x20univer-py-1.5','deleteProtection','UniverUi','univer-mx-[-20px]\x20univer-overflow-hidden','IConfirmService','interceptor','FloatImg','_maskContainer','addSparkline','@univerjs/network','getCurrentVersion','_combineRanges','anonymous','CreateSheet','subType','UniverProCollaborationClientUi','ComponentManager','editHistory.header.revert','Module','transformMutations','entries','_sidebarService','triggerLoadVersions','tag','className','AddConditionalRuleMutation','SetColumnStyle','@univerjs/sheets-filter','YUUMI_NO_CUBOID_FOR_QUESTION','jsx','ICellEditorManagerService','UniverIcon','ranges','UniverSheetsFilter','useCallback','ICommandService','CONNECTOR_DATA_TOO_LARGE','getCurrentLocale','univer-h-full\x20univer-overflow-auto\x20univer-border-t\x20univer-border-gray-200','getVpScrollXYInfoByPosToVp'];_0x2a9a=function(){return _0x209e48;};return _0x2a9a();}(function(_0x4d5cd1,_0x2956a3){const _0x155433=_0x9620,_0x6d1b34=_0x4d5cd1();while(!![]){try{const _0x1fbc9d=-parseInt(_0x155433(0x32c))/0x1+-parseInt(_0x155433(0x334))/0x2+parseInt(_0x155433(0x2eb))/0x3*(parseInt(_0x155433(0x268))/0x4)+-parseInt(_0x155433(0x296))/0x5*(-parseInt(_0x155433(0x1e4))/0x6)+parseInt(_0x155433(0x2a0))/0x7+-parseInt(_0x155433(0x18e))/0x8+-parseInt(_0x155433(0x330))/0x9*(-parseInt(_0x155433(0x387))/0xa);if(_0x1fbc9d===_0x2956a3)break;else _0x6d1b34['push'](_0x6d1b34['shift']());}catch(_0x4fa364){_0x6d1b34['push'](_0x6d1b34['shift']());}}}(_0x2a9a,0x659be),function(_0x3b3e3e,_0x203dc6){const _0x737eb9=_0x9620;typeof exports==_0x737eb9(0x2cf)&&typeof module<'u'?_0x203dc6(exports,require(_0x737eb9(0x392)),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require(_0x737eb9(0x376)),require(_0x737eb9(0x321)),require(_0x737eb9(0x1bc)),require(_0x737eb9(0x233)),require(_0x737eb9(0x204)),require(_0x737eb9(0x266)),require(_0x737eb9(0x227)),require(_0x737eb9(0x35b)),require('@univerjs/data-validation'),require(_0x737eb9(0x194)),require(_0x737eb9(0x1ce)),require(_0x737eb9(0x27f)),require(_0x737eb9(0x274)),require(_0x737eb9(0x39f)),require(_0x737eb9(0x2d9))):typeof define==_0x737eb9(0x193)&&define[_0x737eb9(0x2d8)]?define([_0x737eb9(0x2c5),_0x737eb9(0x392),_0x737eb9(0x32f),_0x737eb9(0x213),'@univerjs/drawing',_0x737eb9(0x321),_0x737eb9(0x1bc),_0x737eb9(0x233),_0x737eb9(0x204),_0x737eb9(0x266),_0x737eb9(0x227),_0x737eb9(0x35b),_0x737eb9(0x2e0),_0x737eb9(0x194),_0x737eb9(0x1ce),'@univerjs-pro/sheets-sparkline',_0x737eb9(0x274),_0x737eb9(0x39f),_0x737eb9(0x2d9)],_0x203dc6):(_0x3b3e3e=typeof globalThis<'u'?globalThis:_0x3b3e3e||self,_0x203dc6(_0x3b3e3e[_0x737eb9(0x26e)]={},_0x3b3e3e[_0x737eb9(0x328)],_0x3b3e3e[_0x737eb9(0x24e)],_0x3b3e3e[_0x737eb9(0x243)],_0x3b3e3e['UniverDrawing'],_0x3b3e3e[_0x737eb9(0x33a)],_0x3b3e3e[_0x737eb9(0x1f3)],_0x3b3e3e[_0x737eb9(0x28e)],_0x3b3e3e[_0x737eb9(0x1b5)],_0x3b3e3e[_0x737eb9(0x399)],_0x3b3e3e['UniverSheets'],_0x3b3e3e[_0x737eb9(0x35b)],_0x3b3e3e['UniverDataValidation'],_0x3b3e3e[_0x737eb9(0x366)],_0x3b3e3e[_0x737eb9(0x1d4)],_0x3b3e3e[_0x737eb9(0x215)],_0x3b3e3e[_0x737eb9(0x362)],_0x3b3e3e[_0x737eb9(0x362)],_0x3b3e3e[_0x737eb9(0x1c2)]));}(this,function(_0x129779,_0x1d87ee,_0x51de09,_0x235eb3,_0x46740f,_0x4234e0,_0x52e8fb,_0xac8ee9,_0x8ee57b,_0x12b6a4,_0x5f5422,_0x48183,_0x415617,_0xea0a5c,_0x4898e7,_0x4d4498,_0x7dd829,_0x44794a,_0xf73112){'use strict';const _0x3a5493=_0x9620;var _0x7f39b=Object[_0x3a5493(0x19f)],_0x3e4459=(_0x490202,_0xcac3c8,_0x4c4835)=>_0xcac3c8 in _0x490202?_0x7f39b(_0x490202,_0xcac3c8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c4835}):_0x490202[_0xcac3c8]=_0x4c4835,_0x4e90de=(_0x1aa76e,_0x4a4bf0,_0x30a495)=>_0x3e4459(_0x1aa76e,typeof _0x4a4bf0!=_0x3a5493(0x306)?_0x4a4bf0+'':_0x4a4bf0,_0x30a495);const _0x20873b=_0x3a5493(0x1ee),_0x325f94={};var _0x46e1df=Object[_0x3a5493(0x24c)],_0x96c60b=(_0x3ac4fc,_0x2671e2,_0x59fff0,_0x208b48)=>{const _0x2a38e0=_0x3a5493;for(var _0x54ac4b=_0x208b48>0x1?void 0x0:_0x208b48?_0x46e1df(_0x2671e2,_0x59fff0):_0x2671e2,_0x5c475d=_0x3ac4fc[_0x2a38e0(0x2ef)]-0x1,_0x7f1dc;_0x5c475d>=0x0;_0x5c475d--)(_0x7f1dc=_0x3ac4fc[_0x5c475d])&&(_0x54ac4b=_0x7f1dc(_0x54ac4b)||_0x54ac4b);return _0x54ac4b;},_0x5a1ee6=(_0xd64bb,_0x203e87)=>(_0x5ac7f,_0x29d9c1)=>_0x203e87(_0x5ac7f,_0x29d9c1,_0xd64bb);let _0x4e2944=class extends _0x235eb3[_0x3a5493(0x239)]{constructor(_0xeb9ca2){const _0xd347d4=_0x3a5493;super(),this[_0xd347d4(0x219)]=_0xeb9ca2,this['_init']();}['_init'](){const _0xdf1c23=_0x3a5493;this[_0xdf1c23(0x374)](this[_0xdf1c23(0x219)][_0xdf1c23(0x2b3)][_0xdf1c23(0x2d2)](_0x4c2b65=>{const _0x2c251d=_0xdf1c23;_0x4c2b65!=null&&_0x4c2b65[_0x2c251d(0x2ea)]&&this[_0x2c251d(0x219)][_0x2c251d(0x339)]({'show':!0x1});}));}};_0x4e2944=_0x96c60b([_0x5a1ee6(0x0,_0xac8ee9[_0x3a5493(0x1d1)])],_0x4e2944);var _0x13fb2b=(_0x1abdef=>(_0x1abdef[_0x1abdef[_0x3a5493(0x1f0)]=0x0]='UNDEFINED',_0x1abdef[_0x1abdef['OK']=0x1]='OK',_0x1abdef[_0x1abdef[_0x3a5493(0x260)]=0x2]='INTERNAL_ERROR',_0x1abdef[_0x1abdef['PERMISSION_DENIED']=0x3]=_0x3a5493(0x2a9),_0x1abdef[_0x1abdef[_0x3a5493(0x1ab)]=0x4]=_0x3a5493(0x1ab),_0x1abdef[_0x1abdef[_0x3a5493(0x2d4)]=0x5]=_0x3a5493(0x2d4),_0x1abdef[_0x1abdef[_0x3a5493(0x29f)]=0x6]=_0x3a5493(0x29f),_0x1abdef[_0x1abdef[_0x3a5493(0x191)]=0x7]='INVALID_ARGUMENT',_0x1abdef[_0x1abdef[_0x3a5493(0x188)]=0x8]='TOO_MANY_REQUESTS',_0x1abdef[_0x1abdef[_0x3a5493(0x285)]=0x9]='COMPLETION_FINISHED',_0x1abdef[_0x1abdef['LOGIN_FAILED']=0xa]=_0x3a5493(0x26c),_0x1abdef[_0x1abdef[_0x3a5493(0x23b)]=0xb]=_0x3a5493(0x23b),_0x1abdef[_0x1abdef['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x3a5493(0x284),_0x1abdef[_0x1abdef[_0x3a5493(0x383)]=0xd]=_0x3a5493(0x383),_0x1abdef[_0x1abdef[_0x3a5493(0x2c0)]=0xe]=_0x3a5493(0x2c0),_0x1abdef[_0x1abdef[_0x3a5493(0x22d)]=0x1389]=_0x3a5493(0x22d),_0x1abdef[_0x1abdef[_0x3a5493(0x345)]=0x1771]=_0x3a5493(0x345),_0x1abdef[_0x1abdef[_0x3a5493(0x21c)]=0x1772]=_0x3a5493(0x21c),_0x1abdef[_0x1abdef[_0x3a5493(0x25d)]=0x1773]=_0x3a5493(0x25d),_0x1abdef[_0x1abdef['APPLY_REJECT']=0x1b59]=_0x3a5493(0x2ec),_0x1abdef[_0x1abdef[_0x3a5493(0x228)]=0x1b5a]=_0x3a5493(0x228),_0x1abdef[_0x1abdef['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x3a5493(0x2cd),_0x1abdef[_0x1abdef[_0x3a5493(0x2a1)]=0x1b5c]=_0x3a5493(0x2a1),_0x1abdef[_0x1abdef['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x1abdef[_0x1abdef[_0x3a5493(0x1d7)]=0x1f41]=_0x3a5493(0x1d7),_0x1abdef[_0x1abdef[_0x3a5493(0x37d)]=0x2329]=_0x3a5493(0x37d),_0x1abdef[_0x1abdef[_0x3a5493(0x338)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x1abdef[_0x1abdef[_0x3a5493(0x2f7)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x1abdef[_0x1abdef['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x1abdef[_0x1abdef[_0x3a5493(0x20e)]=0x232d]=_0x3a5493(0x20e),_0x1abdef[_0x1abdef[_0x3a5493(0x31c)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x1abdef[_0x1abdef[_0x3a5493(0x320)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x1abdef[_0x1abdef[_0x3a5493(0x1a9)]=0x2713]=_0x3a5493(0x1a9),_0x1abdef[_0x1abdef[_0x3a5493(0x37f)]=0x2714]=_0x3a5493(0x37f),_0x1abdef[_0x1abdef[_0x3a5493(0x1cf)]=0x271a]=_0x3a5493(0x1cf),_0x1abdef[_0x1abdef[_0x3a5493(0x30b)]=0x271b]=_0x3a5493(0x30b),_0x1abdef[_0x1abdef[_0x3a5493(0x255)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x1abdef[_0x1abdef[_0x3a5493(0x2bc)]=0x271d]=_0x3a5493(0x2bc),_0x1abdef[_0x1abdef[_0x3a5493(0x19d)]=0x271e]=_0x3a5493(0x19d),_0x1abdef[_0x1abdef[_0x3a5493(0x224)]=0x271f]=_0x3a5493(0x224),_0x1abdef[_0x1abdef[_0x3a5493(0x298)]=0x2720]=_0x3a5493(0x298),_0x1abdef[_0x1abdef[_0x3a5493(0x2b9)]=0x2af9]=_0x3a5493(0x2b9),_0x1abdef[_0x1abdef[_0x3a5493(0x1af)]=0x2ee1]=_0x3a5493(0x1af),_0x1abdef[_0x1abdef[_0x3a5493(0x354)]=0x2ee2]=_0x3a5493(0x354),_0x1abdef[_0x1abdef[_0x3a5493(0x28f)]=0x2ee3]=_0x3a5493(0x28f),_0x1abdef[_0x1abdef[_0x3a5493(0x27b)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x1abdef[_0x1abdef[_0x3a5493(0x353)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x1abdef[_0x1abdef['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x3a5493(0x198),_0x1abdef[_0x1abdef['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x3a5493(0x379),_0x1abdef[_0x1abdef[_0x3a5493(0x17c)]=0x32cb]=_0x3a5493(0x17c),_0x1abdef[_0x1abdef[_0x3a5493(0x238)]=-0x1]=_0x3a5493(0x238),_0x1abdef))(_0x13fb2b||{}),_0x32f53d=(_0x5eb8f6=>(_0x5eb8f6[_0x5eb8f6[_0x3a5493(0x2e9)]=0x0]='UNIVER_UNKNOWN',_0x5eb8f6[_0x5eb8f6['UNIVER_DOC']=0x1]=_0x3a5493(0x33d),_0x5eb8f6[_0x5eb8f6[_0x3a5493(0x2f0)]=0x2]=_0x3a5493(0x2f0),_0x5eb8f6[_0x5eb8f6[_0x3a5493(0x258)]=0x3]=_0x3a5493(0x258),_0x5eb8f6[_0x5eb8f6['UNIVER_PROJECT']=0x4]=_0x3a5493(0x17e),_0x5eb8f6[_0x5eb8f6[_0x3a5493(0x238)]=-0x1]=_0x3a5493(0x238),_0x5eb8f6))(_0x32f53d||{}),_0x2a5373=(_0x4f19b7=>(_0x4f19b7[_0x4f19b7[_0x3a5493(0x1e8)]=0x0]=_0x3a5493(0x1e8),_0x4f19b7[_0x4f19b7[_0x3a5493(0x217)]=0x1]=_0x3a5493(0x217),_0x4f19b7[_0x4f19b7[_0x3a5493(0x31e)]=0x2]=_0x3a5493(0x31e),_0x4f19b7[_0x4f19b7[_0x3a5493(0x38e)]=0x3]=_0x3a5493(0x38e),_0x4f19b7[_0x4f19b7[_0x3a5493(0x20a)]=0x4]=_0x3a5493(0x20a),_0x4f19b7[_0x4f19b7['Comment']=0x5]=_0x3a5493(0x26d),_0x4f19b7[_0x4f19b7[_0x3a5493(0x2fa)]=0x6]=_0x3a5493(0x2fa),_0x4f19b7[_0x4f19b7[_0x3a5493(0x2c2)]=0x7]=_0x3a5493(0x2c2),_0x4f19b7[_0x4f19b7[_0x3a5493(0x2b2)]=0x8]='Export',_0x4f19b7[_0x4f19b7[_0x3a5493(0x351)]=0x9]=_0x3a5493(0x351),_0x4f19b7[_0x4f19b7[_0x3a5493(0x27c)]=0xa]=_0x3a5493(0x27c),_0x4f19b7[_0x4f19b7['HideWorksheet']=0xb]=_0x3a5493(0x2c1),_0x4f19b7[_0x4f19b7[_0x3a5493(0x245)]=0xc]=_0x3a5493(0x245),_0x4f19b7[_0x4f19b7[_0x3a5493(0x26a)]=0xd]=_0x3a5493(0x26a),_0x4f19b7[_0x4f19b7[_0x3a5493(0x25e)]=0xe]=_0x3a5493(0x25e),_0x4f19b7[_0x4f19b7['EditWorksheetCell']=0xf]=_0x3a5493(0x20b),_0x4f19b7[_0x4f19b7[_0x3a5493(0x2a6)]=0x10]='InsertHyperlink',_0x4f19b7[_0x4f19b7[_0x3a5493(0x25f)]=0x11]=_0x3a5493(0x25f),_0x4f19b7[_0x4f19b7[_0x3a5493(0x1b2)]=0x12]=_0x3a5493(0x1b2),_0x4f19b7[_0x4f19b7['PivotTable']=0x13]=_0x3a5493(0x37c),_0x4f19b7[_0x4f19b7[_0x3a5493(0x1b9)]=0x14]=_0x3a5493(0x1b9),_0x4f19b7[_0x4f19b7[_0x3a5493(0x329)]=0x15]=_0x3a5493(0x329),_0x4f19b7[_0x4f19b7['RwHgtClWdt']=0x16]='RwHgtClWdt',_0x4f19b7[_0x4f19b7[_0x3a5493(0x38b)]=0x17]=_0x3a5493(0x38b),_0x4f19b7[_0x4f19b7[_0x3a5493(0x34a)]=0x18]=_0x3a5493(0x34a),_0x4f19b7[_0x4f19b7[_0x3a5493(0x2de)]=0x19]='MoveSheet',_0x4f19b7[_0x4f19b7[_0x3a5493(0x292)]=0x1a]=_0x3a5493(0x292),_0x4f19b7[_0x4f19b7[_0x3a5493(0x1ea)]=0x1b]=_0x3a5493(0x1ea),_0x4f19b7[_0x4f19b7[_0x3a5493(0x361)]=0x1c]=_0x3a5493(0x361),_0x4f19b7[_0x4f19b7[_0x3a5493(0x2da)]=0x1d]=_0x3a5493(0x2da),_0x4f19b7[_0x4f19b7[_0x3a5493(0x1c0)]=0x1e]=_0x3a5493(0x1c0),_0x4f19b7[_0x4f19b7['SelectProtectedCells']=0x1f]=_0x3a5493(0x248),_0x4f19b7[_0x4f19b7[_0x3a5493(0x2d3)]=0x20]=_0x3a5493(0x2d3),_0x4f19b7[_0x4f19b7[_0x3a5493(0x34f)]=0x21]=_0x3a5493(0x34f),_0x4f19b7[_0x4f19b7['SetCellValue']=0x22]='SetCellValue',_0x4f19b7[_0x4f19b7[_0x3a5493(0x1ae)]=0x23]=_0x3a5493(0x1ae),_0x4f19b7[_0x4f19b7[_0x3a5493(0x1cd)]=0x24]=_0x3a5493(0x1cd),_0x4f19b7[_0x4f19b7[_0x3a5493(0x34c)]=0x25]=_0x3a5493(0x34c),_0x4f19b7[_0x4f19b7[_0x3a5493(0x35c)]=0x26]=_0x3a5493(0x35c),_0x4f19b7[_0x4f19b7['DeleteRow']=0x27]='DeleteRow',_0x4f19b7[_0x4f19b7[_0x3a5493(0x231)]=0x28]=_0x3a5493(0x231),_0x4f19b7[_0x4f19b7[_0x3a5493(0x371)]=0x29]=_0x3a5493(0x371),_0x4f19b7[_0x4f19b7[_0x3a5493(0x2ee)]=0x2a]=_0x3a5493(0x2ee),_0x4f19b7[_0x4f19b7[_0x3a5493(0x1fd)]=0x2b]='RecoverHistory',_0x4f19b7[_0x4f19b7[_0x3a5493(0x18a)]=0x2c]=_0x3a5493(0x18a),_0x4f19b7[_0x4f19b7['CreatePermissionObject']=0x2d]='CreatePermissionObject',_0x4f19b7[_0x4f19b7[_0x3a5493(0x238)]=-0x1]=_0x3a5493(0x238),_0x4f19b7))(_0x2a5373||{});function _0x5dc9ec(_0x346e23){const _0x569be7=_0x3a5493;return!!(_0x346e23&&_0x346e23[_0x569be7(0x2f4)]&&_0x346e23['code']!==_0x13fb2b['OK']&&_0x346e23[_0x569be7(0x2f4)]!=='OK');}const _0x33ca47=(_0x1ae1be,_0x4d590f)=>{const _0x4317d0=_0x3a5493;if(!_0x1ae1be)return{'date':'','time':''};const _0x51335b=new Date(_0x1ae1be),_0x371389=_0x51335b['toISOString']()['split']('T')[0x0];switch(_0x4d590f){case _0x235eb3[_0x4317d0(0x21a)][_0x4317d0(0x1a4)]:return{'date':_0x2b061d(_0x371389,_0x4d590f),'time':_0x51335b[_0x4317d0(0x301)]()+':'+String(_0x51335b[_0x4317d0(0x197)]())[_0x4317d0(0x186)](0x2,'0')};default:return{'date':_0x2b061d(_0x371389,_0x4d590f),'time':_0x51335b['getHours']()+':'+_0x51335b['getMinutes']()};}},_0x3f64c0=(_0x3f711e,_0x2ebfae)=>{const _0x434ba6=_0x3a5493,_0x24a75b=_0x3f711e['user']||_0x2ebfae['t']('editHistory.panel.unknownUser');if(_0x3f711e[_0x434ba6(0x313)][_0x434ba6(0x2b6)](_0x4b49f0=>_0x4b49f0===_0x1d87ee[_0x434ba6(0x357)]['id'])&&_0x3f711e[_0x434ba6(0x2ed)]){const _0x4e76d2=_0x33ca47(_0x3f711e[_0x434ba6(0x2ed)],_0x2ebfae[_0x434ba6(0x1d8)]()),_0xf01d57=_0x4e76d2['date']+'\x20'+_0x4e76d2['time'];return _0x24a75b+'\x20'+_0x2ebfae['t'](_0x434ba6(0x2f8))+'\x20'+_0xf01d57+'\x20'+_0x2ebfae['t'](_0x434ba6(0x281));}const _0x77d6bb=_0x50702a(_0x3f711e),_0x50687a=_0x77d6bb[_0x434ba6(0x2ef)]===0x1?_0x2ebfae['t'](_0x77d6bb[0x0]):''+_0x2ebfae['t'](_0x77d6bb[0x0])+_0x2ebfae['t']('editHistory.action.etc');return _0x24a75b+'\x20'+_0x50687a;};function _0x50702a(_0x19f780){const _0x222a4d=_0x3a5493;if(_0x19f780[_0x222a4d(0x313)][_0x222a4d(0x2ef)]===0x0)return[''];const _0x594dd7=_0x222a4d(0x2af),_0x2e751a=_0x594dd7+_0x222a4d(0x2cc),_0x1ab5a2=[{'id':_0x1d87ee[_0x222a4d(0x393)]['id'],'action':_0x594dd7+_0x222a4d(0x1ac)},{'id':_0x1d87ee[_0x222a4d(0x357)]['id'],'action':_0x594dd7+_0x222a4d(0x280)},{'id':_0x5f5422['InsertSheetMutation']['id'],'action':_0x594dd7+_0x222a4d(0x2f3)},{'id':_0x5f5422[_0x222a4d(0x251)]['id'],'action':_0x594dd7+_0x222a4d(0x1e3)},{'id':_0x5f5422['SetFrozenMutation']['id'],'action':_0x594dd7+_0x222a4d(0x207)},{'id':_0x4898e7[_0x222a4d(0x2f2)]['id'],'action':_0x594dd7+'setFilter'},{'id':_0x415617[_0x222a4d(0x2ba)]['id'],'action':_0x594dd7+_0x222a4d(0x333)},{'id':_0x415617[_0x222a4d(0x1e2)]['id'],'action':_0x594dd7+_0x222a4d(0x333)},{'id':_0xea0a5c[_0x222a4d(0x2f9)]['id'],'action':_0x594dd7+'setCF'},{'id':_0xea0a5c[_0x222a4d(0x1cc)]['id'],'action':_0x594dd7+_0x222a4d(0x28d)},{'id':_0x5f5422[_0x222a4d(0x380)]['id'],'action':_0x594dd7+_0x222a4d(0x315)},{'id':_0x5f5422[_0x222a4d(0x365)]['id'],'action':_0x594dd7+_0x222a4d(0x315)},{'id':_0x4d4498[_0x222a4d(0x28b)]['id'],'action':_0x594dd7+_0x222a4d(0x1bb)},{'id':_0x5f5422[_0x222a4d(0x356)]['id'],'action':_0x594dd7+_0x222a4d(0x1b4)},{'id':_0x5f5422[_0x222a4d(0x391)]['id'],'action':_0x594dd7+_0x222a4d(0x1b4)}][_0x222a4d(0x28c)](_0x30c833=>_0x19f780[_0x222a4d(0x313)][_0x222a4d(0x341)](_0x30c833['id']));return _0x1ab5a2!=null&&_0x1ab5a2['length']?_0x1ab5a2['map'](_0x78ffec=>_0x78ffec[_0x222a4d(0x1a0)]):[_0x2e751a];}function _0x2b061d(_0x146b77,_0x159d1d){const _0x58e475=_0x3a5493,[_0x4e300c,_0x5a09b0,_0x3d39b1]=new Date()[_0x58e475(0x276)]()[_0x58e475(0x326)]('T')[0x0][_0x58e475(0x326)]('-'),[_0x1905f3,_0x37dbda,_0x2a149f]=_0x146b77[_0x58e475(0x326)]('-'),_0x5bd159=_0x4e300c===_0x1905f3&&_0x5a09b0===_0x37dbda&&_0x3d39b1===_0x2a149f;let _0x25cfd4='',_0xfcd73a='',_0x35e65f='';switch(_0x159d1d){case _0x235eb3[_0x58e475(0x21a)][_0x58e475(0x1a4)]:return _0x5bd159?'今天':(_0x25cfd4=_0x4e300c===_0x1905f3?'':_0x1905f3+'年',_0xfcd73a=_0x37dbda+'月',_0x35e65f=_0x2a149f+'日',''+_0x25cfd4+_0xfcd73a+_0x35e65f);default:return _0x5bd159?'Today':(_0x25cfd4=_0x4e300c===_0x1905f3?'':_0x1905f3+'-',_0xfcd73a=_0x37dbda+'-',_0x35e65f=''+_0x2a149f,''+_0x25cfd4+_0xfcd73a+_0x35e65f);}}function _0x47b4d8(_0xdfd45a){return _0xdfd45a?_0xdfd45a['reduce']((_0x50ef14,_0x25d322)=>{const _0x873fd=_0x9620,_0x60f390=new Date(_0x25d322[_0x873fd(0x343)])[_0x873fd(0x276)]()[_0x873fd(0x326)]('T')[0x0];return _0x50ef14['length']>0x0&&_0x50ef14[_0x50ef14[_0x873fd(0x2ef)]-0x1][_0x873fd(0x23f)]===_0x60f390?_0x50ef14[_0x50ef14[_0x873fd(0x2ef)]-0x1][_0x873fd(0x30a)]['push'](_0x25d322):_0x50ef14['push']({'dateString':_0x60f390,'versions':[_0x25d322]}),_0x50ef14;},[]):[];}var _0x426f8c=Object[_0x3a5493(0x24c)],_0x85a3a1=(_0x68fa65,_0x5f0abe,_0x4f5dd2,_0xc8708)=>{for(var _0x42e3ac=_0xc8708>0x1?void 0x0:_0xc8708?_0x426f8c(_0x5f0abe,_0x4f5dd2):_0x5f0abe,_0xf82be3=_0x68fa65['length']-0x1,_0x47e7e1;_0xf82be3>=0x0;_0xf82be3--)(_0x47e7e1=_0x68fa65[_0xf82be3])&&(_0x42e3ac=_0x47e7e1(_0x42e3ac)||_0x42e3ac);return _0x42e3ac;},_0x310391=(_0x453cf8,_0x2d1b2d)=>(_0x459346,_0x4d30b0)=>_0x2d1b2d(_0x459346,_0x4d30b0,_0x453cf8);const _0x23bdfd=_0x3a5493(0x187);let _0x288ef5=class extends _0x235eb3[_0x3a5493(0x239)]{constructor(_0x36c8de,_0x3b1050,_0x1d5bba,_0x6ab019,_0x484b89,_0x1f287a){const _0x3460c8=_0x3a5493;super(),_0x4e90de(this,_0x3460c8(0x263),new Map()),(this[_0x3460c8(0x396)]=_0x36c8de,this[_0x3460c8(0x196)]=_0x3b1050,this[_0x3460c8(0x2df)]=_0x1d5bba,this[_0x3460c8(0x2b8)]=_0x6ab019,this[_0x3460c8(0x2c7)]=_0x484b89,this[_0x3460c8(0x1dc)]=_0x1f287a);}['dispose'](){const _0x5ef455=_0x3a5493;this[_0x5ef455(0x263)][_0x5ef455(0x390)](),super[_0x5ef455(0x18c)]();}async[_0x3a5493(0x225)](_0x4bc386,_0x58e4fe){const _0x17085c=_0x3a5493,_0x2f11f7=this[_0x17085c(0x33b)]()+'/'+_0x4bc386+_0x17085c(0x389)+(_0x58e4fe?_0x17085c(0x24f)+_0x58e4fe:'');try{const _0x4d240b=(await this[_0x17085c(0x2c7)][_0x17085c(0x2e1)](_0x2f11f7))[_0x17085c(0x1aa)];if(_0x4d240b&&_0x4d240b[_0x17085c(0x201)]&&_0x4d240b[_0x17085c(0x201)][_0x17085c(0x2f4)]===_0x13fb2b['OK']){const {hasMore:_0x580a66,lastLabel:_0x181f1d}=_0x4d240b,_0x11186f=_0x8a4f2d(_0x4d240b),_0x11ca24=_0x4d240b[_0x17085c(0x1fc)][_0x17085c(0x1f8)];return{'hasMore':_0x580a66,'lastLabel':_0x181f1d,'versions':_0x11186f,'members':_0x11ca24};}}catch(_0x47c5d4){console[_0x17085c(0x201)](_0x47c5d4);}return null;}[_0x3a5493(0x33b)](){const _0x1acf41=_0x3a5493;var _0x30a7c2;const _0x24f306=this['_configService'][_0x1acf41(0x23a)](_0x20873b);return(_0x30a7c2=_0x24f306==null?void 0x0:_0x24f306['historyListServerUrl'])!=null?_0x30a7c2:_0x23bdfd;}async[_0x3a5493(0x27e)](_0x1eb434,_0x3a1636,_0x3e6b6a){const _0x3d1332=_0x3a5493;var _0x2a8af6,_0x4baa71;_0x3e6b6a===void 0x0&&(_0x3e6b6a={}),this[_0x3d1332(0x263)][_0x3d1332(0x1df)](_0x1eb434)||this['_workbookDataCache'][_0x3d1332(0x189)](_0x1eb434,new Map());const {snapshot:_0xadbc19,changesets:_0x43ecf8,error:_0x3c7586}=await this[_0x3d1332(0x396)][_0x3d1332(0x297)](_0x3e6b6a,{'unitID':_0x1eb434,'type':_0x32f53d['UNIVER_SHEET'],'revision':_0x3a1636});if(_0x5dc9ec(_0x3c7586)||!_0xadbc19||!_0xadbc19[_0x3d1332(0x25c)])throw new Error(_0x3d1332(0x244));const _0x3f15e0=(_0x2a8af6=_0x43ecf8==null?void 0x0:_0x43ecf8[_0x3d1332(0x2ef)])!=null?_0x2a8af6:0x0;if(_0x3a1636!==0x0&&_0xadbc19[_0x3d1332(0x254)]+_0x3f15e0!==_0x3a1636)throw new Error(_0x3d1332(0x39b));const {workbook:_0xc440a7}=_0xadbc19,_0x330b31=_0xc440a7['blockMeta']?Object['entries'](_0xc440a7[_0x3d1332(0x2c9)])[_0x3d1332(0x303)](([_0x21105b,_0x49d2b1])=>{const _0x194395=_0x3d1332;var _0x5e9dc8,_0x51d1ea;return(_0x51d1ea=(_0x5e9dc8=_0x49d2b1[_0x194395(0x360)])==null?void 0x0:_0x5e9dc8[_0x194395(0x303)](_0x658763=>_0x658763))!=null?_0x51d1ea:[];})[_0x3d1332(0x36a)]():[],_0x1a7b60=(await Promise[_0x3d1332(0x314)](_0x330b31['map'](_0x160424=>this[_0x3d1332(0x396)][_0x3d1332(0x184)](_0x3e6b6a,{'unitID':_0x1eb434,'type':_0x32f53d['UNIVER_SHEET'],'blockID':_0x160424})[_0x3d1332(0x31f)](_0x2c1c5d=>_0x2c1c5d[_0x3d1332(0x385)]))))[_0x3d1332(0x28c)](_0x57b306=>!!_0x57b306),_0x2a25a5=_0x1d87ee[_0x3d1332(0x21b)](_0xadbc19,_0x1a7b60,_0x3e6b6a);return(_0x4baa71=this[_0x3d1332(0x263)][_0x3d1332(0x2e1)](_0x1eb434))==null||_0x4baa71[_0x3d1332(0x189)](_0x3a1636,{'workbook':_0x2a25a5}),new Promise(_0x2d3bb7=>{const _0x39915c=_0x3d1332,_0x5270e0=this[_0x39915c(0x196)]['getCurrentUnitForType'](_0x235eb3[_0x39915c(0x277)][_0x39915c(0x2f0)]);_0x5270e0?(this['_univerInstanceService'][_0x39915c(0x288)](_0x5270e0['getUnitId']()),setTimeout(()=>{const _0xd53cec=_0x39915c;this[_0xd53cec(0x19b)](_0x2a25a5,_0x43ecf8),_0x2d3bb7(!0x0);},0x0)):(this['_createUnit'](_0x2a25a5,_0x43ecf8),_0x2d3bb7(!0x0));});}[_0x3a5493(0x19b)](_0x40f3d9,_0x45141e){const _0x41a6d5=_0x3a5493,_0x575bb9=this['_univerInstanceService'][_0x41a6d5(0x299)](_0x235eb3[_0x41a6d5(0x277)][_0x41a6d5(0x2f0)],_0x40f3d9);this[_0x41a6d5(0x196)][_0x41a6d5(0x23c)](_0x575bb9[_0x41a6d5(0x1f7)]());const _0x152354=this[_0x41a6d5(0x1dc)][_0x41a6d5(0x1b8)]['fetchThroughInterceptors'](this[_0x41a6d5(0x1dc)][_0x41a6d5(0x1b8)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);return _0x45141e==null||_0x45141e[_0x41a6d5(0x190)](_0x5f14e8=>{const _0x3cdfa6=_0x41a6d5,_0x361767=_0x5f14e8[_0x3cdfa6(0x2d0)][_0x3cdfa6(0x303)](_0x35aa55=>({'id':_0x35aa55['id'],'params':JSON['parse'](_0x35aa55[_0x3cdfa6(0x242)])}));({..._0x5f14e8,'mutations':_0x152354(_0x361767,null)||_0x361767}[_0x3cdfa6(0x2d0)][_0x3cdfa6(0x190)](_0x5019da=>{const _0x30cf7b=_0x3cdfa6;this[_0x30cf7b(0x2df)][_0x30cf7b(0x283)](_0x5019da['id'])&&this[_0x30cf7b(0x2df)][_0x30cf7b(0x2bb)](_0x5019da['id'],_0x5019da[_0x30cf7b(0x209)]);}));}),_0x575bb9;}};_0x288ef5=_0x85a3a1([_0x310391(0x0,_0x1d87ee['ISnapshotServerService']),_0x310391(0x1,_0x235eb3['IUniverInstanceService']),_0x310391(0x2,_0x235eb3[_0x3a5493(0x1d6)]),_0x310391(0x3,_0x235eb3[_0x3a5493(0x307)]),_0x310391(0x4,_0x235eb3[_0x3a5493(0x257)](_0x52e8fb['HTTPService'])),_0x310391(0x5,_0x235eb3['Inject'](_0x1d87ee['CompressMutationService']))],_0x288ef5);function _0x8a4f2d(_0x3dceff){const _0x314826=_0x3a5493;var _0x1ed7c7,_0x3b132d;const _0x2f256b=[],{entities:_0xb06f24,historyIds:_0x348388}=_0x3dceff,{datas:_0x1d3367,users:_0x4bd6ab}=_0xb06f24;for(const _0x10e62b of _0x348388)if(_0x1d3367[_0x10e62b]){const _0xf8e79b=!!((_0x1ed7c7=_0x4bd6ab[_0x1d3367[_0x10e62b][_0x314826(0x337)]])!=null&&_0x1ed7c7[_0x314826(0x1bf)]);_0x2f256b['push']({'unitId':_0x1d3367[_0x10e62b][_0x314826(0x38d)],'user':_0xf8e79b?'':((_0x3b132d=_0x4bd6ab==null?void 0x0:_0x4bd6ab[_0x1d3367[_0x10e62b][_0x314826(0x337)]])==null?void 0x0:_0x3b132d[_0x314826(0x18d)])||'','isAnonymous':_0xf8e79b,'id':_0x10e62b,'time':_0x1d3367[_0x10e62b][_0x314826(0x205)]?Number(_0x1d3367[_0x10e62b]['createTime']):void 0x0,'commands':_0x1d3367[_0x10e62b][_0x314826(0x352)],'startRev':Number(_0x1d3367[_0x10e62b][_0x314826(0x2e7)]),'endRev':Number(_0x1d3367[_0x10e62b][_0x314826(0x316)]),'recoverTime':_0x1d3367[_0x10e62b][_0x314826(0x2ed)]?Number(_0x1d3367[_0x10e62b]['recoverTime']):void 0x0});}return _0x2f256b;}var _0x157a9e=Object[_0x3a5493(0x24c)],_0x4a8898=(_0x3ee0a4,_0x4c4556,_0x242add,_0x5b7ef8)=>{const _0x43994c=_0x3a5493;for(var _0x6c5e87=_0x5b7ef8>0x1?void 0x0:_0x5b7ef8?_0x157a9e(_0x4c4556,_0x242add):_0x4c4556,_0xa977f7=_0x3ee0a4[_0x43994c(0x2ef)]-0x1,_0x13b439;_0xa977f7>=0x0;_0xa977f7--)(_0x13b439=_0x3ee0a4[_0xa977f7])&&(_0x6c5e87=_0x13b439(_0x6c5e87)||_0x6c5e87);return _0x6c5e87;},_0x4068b5=(_0x290fb4,_0x508431)=>(_0x203520,_0x254c59)=>_0x508431(_0x203520,_0x254c59,_0x290fb4),_0x4ddc47=(_0x40de2d=>(_0x40de2d['Entered']='entered',_0x40de2d['Exited']=_0x3a5493(0x2ab),_0x40de2d['Error']=_0x3a5493(0x201),_0x40de2d))(_0x4ddc47||{}),_0x643b43=(_0xab855e=>(_0xab855e[_0x3a5493(0x246)]=_0x3a5493(0x2fb),_0xab855e[_0x3a5493(0x34b)]='loading',_0xab855e[_0x3a5493(0x1e5)]=_0x3a5493(0x294),_0xab855e))(_0x643b43||{});const _0x29ff5d=_0x3a5493(0x36c);_0x129779['HistoryManagerService']=class extends _0x235eb3['Disposable']{constructor(_0xf69e75,_0x423ec6,_0xcc6f46,_0x5c2c38){const _0x12a0c3=_0x3a5493;super(),_0x4e90de(this,_0x12a0c3(0x23d),new _0x48183[(_0x12a0c3(0x2bf))]([])),_0x4e90de(this,_0x12a0c3(0x2a2),this[_0x12a0c3(0x23d)]['asObservable']()),_0x4e90de(this,_0x12a0c3(0x1b1),new _0x48183[(_0x12a0c3(0x2bf))]('')),_0x4e90de(this,'currentVersion$',this['_currentVersion$'][_0x12a0c3(0x38a)]()),_0x4e90de(this,_0x12a0c3(0x3a0),new _0x48183[(_0x12a0c3(0x2bf))](_0x12a0c3(0x278))),_0x4e90de(this,_0x12a0c3(0x364),this[_0x12a0c3(0x3a0)][_0x12a0c3(0x38a)]()),_0x4e90de(this,_0x12a0c3(0x2ca),new _0x48183['BehaviorSubject'](0x0)),_0x4e90de(this,_0x12a0c3(0x2e8),this[_0x12a0c3(0x2ca)][_0x12a0c3(0x38a)]()),_0x4e90de(this,_0x12a0c3(0x2a7),new _0x48183[(_0x12a0c3(0x2bf))]('')),_0x4e90de(this,_0x12a0c3(0x182),this[_0x12a0c3(0x2a7)]['asObservable']()),_0x4e90de(this,_0x12a0c3(0x31d),!0x1),_0x4e90de(this,_0x12a0c3(0x2d6),new _0x48183[(_0x12a0c3(0x2bf))](_0x12a0c3(0x2fb))),_0x4e90de(this,_0x12a0c3(0x23e),this[_0x12a0c3(0x2d6)]['asObservable']()),_0x4e90de(this,'_lastLabel',null),_0x4e90de(this,_0x12a0c3(0x1a8),!0x0),_0x4e90de(this,_0x12a0c3(0x29e),new Map()),_0x4e90de(this,'_historyContainerId'),_0x4e90de(this,_0x12a0c3(0x1ba)),_0x4e90de(this,_0x12a0c3(0x36d)),_0x4e90de(this,'_canRevert',!0x1),(this[_0x12a0c3(0x203)]=_0xf69e75,this['_confirmService']=_0x423ec6,this[_0x12a0c3(0x32d)]=_0xcc6f46,this['_historyFetchService']=_0x5c2c38);}async[_0x3a5493(0x1c9)](_0x1095b9,_0x53b5c7,_0x4f776f){const _0x15308a=_0x3a5493;this['_historyContainerId']=_0x53b5c7,this[_0x15308a(0x20f)]=_0x4f776f,this[_0x15308a(0x2a7)][_0x15308a(0x202)](_0x1095b9),this[_0x15308a(0x31d)]=!0x0;const _0x366755=await this[_0x15308a(0x2b4)]['getVersions'](_0x1095b9);if(this[_0x15308a(0x31d)]=!0x1,_0x366755){const {versions:_0x2bff57,lastLabel:_0x1e1925,hasMore:_0x10c4df,members:_0x4da4d5}=_0x366755;_0x2bff57[_0x15308a(0x2ef)]===0x0&&_0x2bff57[_0x15308a(0x370)]({'unitId':_0x1095b9,'id':_0x29ff5d,'startRev':0x1,'endRev':0x0,'time':Date[_0x15308a(0x346)](),'user':this[_0x15308a(0x32d)]['t'](_0x15308a(0x395)),'commands':[],'isAnonymous':!0x1}),this[_0x15308a(0x342)](_0x2bff57,_0x10c4df,_0x1e1925,_0x4da4d5),this['_currentVersion$'][_0x15308a(0x202)](_0x2bff57[0x0]['id']);}else this[_0x15308a(0x3a0)]['next']('error');}async[_0x3a5493(0x1f5)](){const _0x45024c=_0x3a5493;if(!this[_0x45024c(0x20c)]||!this['_hasMore']||this[_0x45024c(0x31d)])return!0x1;this[_0x45024c(0x31d)]=!0x0;const _0x177600=await this['_historyFetchService'][_0x45024c(0x225)](this[_0x45024c(0x38d)],this[_0x45024c(0x20c)]);if(this[_0x45024c(0x31d)]=!0x1,_0x177600){const {versions:_0x2bf292,lastLabel:_0x3b251a,hasMore:_0x3eb8af,members:_0x5285bd}=_0x177600;this[_0x45024c(0x342)](_0x2bf292,_0x3eb8af,_0x3b251a,_0x5285bd);}else this[_0x45024c(0x203)][_0x45024c(0x2ea)]({'content':this[_0x45024c(0x32d)]['t']('editHistory.panel.listFetchError'),'type':_0x12b6a4[_0x45024c(0x180)][_0x45024c(0x39e)],'duration':0xbb8});return!0x0;}async[_0x3a5493(0x229)](_0x2792f9){const _0x56959a=_0x3a5493;var _0x46e850;const _0x212f47=(_0x46e850=this[_0x56959a(0x23d)][_0x56959a(0x24a)])==null?void 0x0:_0x46e850[_0x56959a(0x37e)](_0x13e756=>_0x13e756['id']===_0x2792f9),{endRev:_0x2f5d00}=_0x212f47||{};_0x2f5d00||_0x2f5d00===0x0?(this[_0x56959a(0x2d6)][_0x56959a(0x202)]('loading'),await this[_0x56959a(0x2b4)][_0x56959a(0x27e)](this['unitId'],_0x2f5d00),this[_0x56959a(0x2d6)][_0x56959a(0x202)](_0x56959a(0x294))):this[_0x56959a(0x3a0)][_0x56959a(0x202)](_0x56959a(0x201));}async['triggerRevert'](_0x14ab3c){const _0x140552=_0x3a5493,_0x1b6f01=_0x14ab3c?this[_0x140552(0x300)](_0x14ab3c):this['getCurrentVersion']();if(!_0x1b6f01)return;const _0x5de9b9=_0x1b6f01[_0x140552(0x226)],_0x1374f6=_0x33ca47(_0x1b6f01[_0x140552(0x343)],this['_localeService'][_0x140552(0x1d8)]());await this['_confirmService']['confirm']({'id':_0x140552(0x1a5),'title':{'title':this[_0x140552(0x32d)]['t'](_0x140552(0x1ef))},'children':{'title':this[_0x140552(0x32d)]['t'](_0x140552(0x2e3))+':\x20('+_0x1374f6[_0x140552(0x1b0)]+'\x20'+_0x1374f6[_0x140552(0x343)]+')'},'cancelText':this[_0x140552(0x32d)]['t'](_0x140552(0x295)),'confirmText':this['_localeService']['t']('editHistory.panel.confirm')})&&this[_0x140552(0x2ca)][_0x140552(0x202)](_0x5de9b9);}[_0x3a5493(0x342)](_0x484459,_0x434e3f,_0x17965c,_0x164929){const _0x35ca84=_0x3a5493;this[_0x35ca84(0x23d)][_0x35ca84(0x202)](this[_0x35ca84(0x23d)][_0x35ca84(0x24a)][_0x35ca84(0x253)](_0x484459)),this[_0x35ca84(0x1a8)]=_0x434e3f,this['_lastLabel']=_0x17965c,_0x164929&&Object[_0x35ca84(0x2b5)](_0x164929)[_0x35ca84(0x190)](_0x25d6fc=>this[_0x35ca84(0x29e)][_0x35ca84(0x189)](_0x25d6fc,_0x164929[_0x25d6fc]));}[_0x3a5493(0x1bd)](){const _0x5d7eff=_0x3a5493;return this['getVersion'](this[_0x5d7eff(0x1b1)][_0x5d7eff(0x24a)]);}[_0x3a5493(0x300)](_0x2b0486){const _0x3a6df9=_0x3a5493;var _0x56a863;return(_0x56a863=this[_0x3a6df9(0x23d)][_0x3a6df9(0x24a)])==null?void 0x0:_0x56a863[_0x3a6df9(0x37e)](_0x584af5=>_0x584af5['id']===_0x2b0486);}[_0x3a5493(0x1fe)](_0x4f651a){const _0x1be6a9=_0x3a5493;return this['_members'][_0x1be6a9(0x2e1)](_0x4f651a);}[_0x3a5493(0x1e1)](){const _0x2a1002=_0x3a5493;this[_0x2a1002(0x36d)]=document['createElement'](_0x2a1002(0x305)),this[_0x2a1002(0x36d)]['className']=_0x2a1002(0x25a),this[_0x2a1002(0x36d)][_0x2a1002(0x348)][_0x2a1002(0x331)]='absolute',this['_maskElement'][_0x2a1002(0x348)][_0x2a1002(0x323)]='0',this[_0x2a1002(0x36d)][_0x2a1002(0x348)][_0x2a1002(0x39a)]='0',this['_maskElement'][_0x2a1002(0x348)][_0x2a1002(0x270)]=_0x2a1002(0x2fe),this[_0x2a1002(0x36d)][_0x2a1002(0x348)]['height']=_0x2a1002(0x2fe),this[_0x2a1002(0x36d)][_0x2a1002(0x348)][_0x2a1002(0x19c)]=_0x2a1002(0x272),this[_0x2a1002(0x36d)][_0x2a1002(0x348)][_0x2a1002(0x381)]=_0x2a1002(0x394),this[_0x2a1002(0x36d)][_0x2a1002(0x348)][_0x2a1002(0x39c)]=_0x2a1002(0x235),this[_0x2a1002(0x36d)][_0x2a1002(0x348)][_0x2a1002(0x2f5)]='center',this[_0x2a1002(0x36d)]['style'][_0x2a1002(0x212)]='1000',this[_0x2a1002(0x36d)]['style'][_0x2a1002(0x39c)]=_0x2a1002(0x1fa),this['_maskContainer'][_0x2a1002(0x340)](this[_0x2a1002(0x36d)]);}[_0x3a5493(0x324)](){const _0x1e91a5=_0x3a5493;var _0x42c40;const _0x2c02b1=(_0x42c40=document['getElementById'](this[_0x1e91a5(0x241)]))==null?void 0x0:_0x42c40[_0x1e91a5(0x359)]('.univer-app-container-content');_0x2c02b1&&(this['_maskContainer']=_0x2c02b1,this[_0x1e91a5(0x1e1)]());}[_0x3a5493(0x247)](){const _0x51853f=_0x3a5493;this[_0x51853f(0x1ba)]||this[_0x51853f(0x324)](),this['_maskElement']&&(this[_0x51853f(0x36d)][_0x51853f(0x348)][_0x51853f(0x39c)]=_0x51853f(0x235));}[_0x3a5493(0x2b1)](){const _0x512945=_0x3a5493;this[_0x512945(0x36d)]&&(this[_0x512945(0x36d)][_0x512945(0x348)][_0x512945(0x39c)]=_0x512945(0x1fa));}set[_0x3a5493(0x1dd)](_0x4bd9fe){const _0x39e488=_0x3a5493;this[_0x39e488(0x3a0)][_0x39e488(0x202)](_0x4bd9fe);}set[_0x3a5493(0x2a5)](_0x436c1f){const _0x40ddb0=_0x3a5493;_0x436c1f!==this[_0x40ddb0(0x1b1)][_0x40ddb0(0x24a)]&&this[_0x40ddb0(0x1b1)][_0x40ddb0(0x202)](_0x436c1f);}get[_0x3a5493(0x2a5)](){const _0x32661b=_0x3a5493;return this[_0x32661b(0x1b1)]['value'];}set[_0x3a5493(0x38d)](_0x16903b){const _0x8c9ac0=_0x3a5493;this[_0x8c9ac0(0x2a7)][_0x8c9ac0(0x202)](_0x16903b);}get[_0x3a5493(0x38d)](){const _0x2f6c41=_0x3a5493;return this['_unitId$'][_0x2f6c41(0x24a)];}get[_0x3a5493(0x2fd)](){const _0x20587b=_0x3a5493;return this[_0x20587b(0x20f)];}get['loadingState'](){const _0x3568d1=_0x3a5493;return this['_loadingState$'][_0x3568d1(0x24a)];}},_0x129779[_0x3a5493(0x36e)]=_0x4a8898([_0x4068b5(0x0,_0x8ee57b['IMessageService']),_0x4068b5(0x1,_0x8ee57b[_0x3a5493(0x1b7)]),_0x4068b5(0x2,_0x235eb3['Inject'](_0x235eb3[_0x3a5493(0x275)])),_0x4068b5(0x3,_0x235eb3[_0x3a5493(0x257)](_0x288ef5))],_0x129779['HistoryManagerService']);var _0x49e54e=function(){const _0x4c6f72=_0x3a5493;return _0x49e54e=Object[_0x4c6f72(0x2e4)]||function(_0x12cd18){const _0x51fcbd=_0x4c6f72;for(var _0x4b3ebf,_0x48dc28=0x1,_0x116e1f=arguments[_0x51fcbd(0x2ef)];_0x48dc28<_0x116e1f;_0x48dc28++){_0x4b3ebf=arguments[_0x48dc28];for(var _0x18f8fb in _0x4b3ebf)Object['prototype'][_0x51fcbd(0x216)]['call'](_0x4b3ebf,_0x18f8fb)&&(_0x12cd18[_0x18f8fb]=_0x4b3ebf[_0x18f8fb]);}return _0x12cd18;},_0x49e54e[_0x4c6f72(0x2ff)](this,arguments);},_0x34cf5c=function(_0x4747eb,_0x18d8f8){const _0x40e40d=_0x3a5493;var _0x3ffd0f={};for(var _0x5c55d5 in _0x4747eb)Object[_0x40e40d(0x181)][_0x40e40d(0x216)][_0x40e40d(0x2b7)](_0x4747eb,_0x5c55d5)&&_0x18d8f8[_0x40e40d(0x2c3)](_0x5c55d5)<0x0&&(_0x3ffd0f[_0x5c55d5]=_0x4747eb[_0x5c55d5]);if(_0x4747eb!=null&&typeof Object[_0x40e40d(0x372)]==_0x40e40d(0x193)){for(var _0x39a044=0x0,_0x5c55d5=Object[_0x40e40d(0x372)](_0x4747eb);_0x39a044<_0x5c55d5[_0x40e40d(0x2ef)];_0x39a044++)_0x18d8f8[_0x40e40d(0x2c3)](_0x5c55d5[_0x39a044])<0x0&&Object[_0x40e40d(0x181)]['propertyIsEnumerable'][_0x40e40d(0x2b7)](_0x4747eb,_0x5c55d5[_0x39a044])&&(_0x3ffd0f[_0x5c55d5[_0x39a044]]=_0x4747eb[_0x5c55d5[_0x39a044]]);}return _0x3ffd0f;},_0xc9fb9a=_0x44794a[_0x3a5493(0x2c8)](function(_0x408ebd,_0x239d6c){const _0x59c81f=_0x3a5493;var _0xb57e30=_0x408ebd[_0x59c81f(0x350)],_0x6d0278=_0x408ebd['id'],_0x36d96d=_0x408ebd[_0x59c81f(0x1cb)],_0x2321d1=_0x408ebd[_0x59c81f(0x221)],_0x580b39=_0x34cf5c(_0x408ebd,[_0x59c81f(0x350),'id',_0x59c81f(0x1cb),'extend']),_0xc701ce=_0x59c81f(0x33e)[_0x59c81f(0x253)](_0x6d0278,'\x20')[_0x59c81f(0x253)](_0x36d96d||'')[_0x59c81f(0x27d)](),_0x4d9ee6=_0x44794a[_0x59c81f(0x33f)]('_'[_0x59c81f(0x253)](_0xef2006()));return _0x439a0e(_0xb57e30,''[_0x59c81f(0x253)](_0x6d0278),{'defIds':_0xb57e30[_0x59c81f(0x1ad)],'idSuffix':_0x4d9ee6['current']},_0x49e54e({'ref':_0x239d6c,'className':_0xc701ce},_0x580b39),_0x2321d1);});function _0x439a0e(_0x2cddfb,_0x380db4,_0x11e63d,_0x3bcd15,_0x3d7c4f){const _0x74d079=_0x3a5493;return _0x44794a[_0x74d079(0x22e)](_0x2cddfb[_0x74d079(0x1ca)],_0x49e54e(_0x49e54e({'key':_0x380db4},_0x5b018a(_0x2cddfb,_0x11e63d,_0x3d7c4f)),_0x3bcd15),(_0x5b4464(_0x2cddfb,_0x11e63d)[_0x74d079(0x234)]||[])[_0x74d079(0x303)](function(_0x24b824,_0xaed35c){const _0x4b4772=_0x74d079;return _0x439a0e(_0x24b824,''[_0x4b4772(0x253)](_0x380db4,'-')[_0x4b4772(0x253)](_0x2cddfb['tag'],'-')['concat'](_0xaed35c),_0x11e63d,void 0x0,_0x3d7c4f);}));}function _0x5b018a(_0x15f461,_0x7a1803,_0x15f965){const _0x59192b=_0x3a5493;var _0x563838=_0x49e54e({},_0x15f461[_0x59192b(0x2f1)]);_0x15f965!=null&&_0x15f965['colorChannel1']&&_0x563838[_0x59192b(0x22f)]===_0x59192b(0x1ed)&&(_0x563838[_0x59192b(0x22f)]=_0x15f965[_0x59192b(0x1ed)]),_0x15f461[_0x59192b(0x1ca)]===_0x59192b(0x22a)&&_0x563838['id']&&(_0x563838['id']=_0x563838['id']+_0x7a1803[_0x59192b(0x240)]),Object['entries'](_0x563838)[_0x59192b(0x190)](function(_0x4e4d95){const _0x5d0e1f=_0x59192b;var _0x94fb83=_0x4e4d95[0x0],_0x4e3bb4=_0x4e4d95[0x1];_0x94fb83===_0x5d0e1f(0x22a)&&typeof _0x4e3bb4==_0x5d0e1f(0x302)&&(_0x563838[_0x94fb83]=_0x4e3bb4['replace'](/url\(#(.*)\)/,_0x5d0e1f(0x218)[_0x5d0e1f(0x253)](_0x7a1803[_0x5d0e1f(0x240)],')')));});var _0xdd42e7=_0x7a1803[_0x59192b(0x1ad)];return!_0xdd42e7||_0xdd42e7[_0x59192b(0x2ef)]===0x0||(_0x15f461[_0x59192b(0x1ca)]===_0x59192b(0x349)&&_0x563838[_0x59192b(0x378)]&&(_0x563838[_0x59192b(0x378)]=_0x563838[_0x59192b(0x378)]+_0x7a1803[_0x59192b(0x240)]),Object[_0x59192b(0x1c7)](_0x563838)['forEach'](function(_0x15adc5){const _0x2c74c5=_0x59192b;var _0x3178b2=_0x15adc5[0x0],_0x103ceb=_0x15adc5[0x1];typeof _0x103ceb==_0x2c74c5(0x302)&&(_0x563838[_0x3178b2]=_0x103ceb[_0x2c74c5(0x325)](/url\(#(.*)\)/,_0x2c74c5(0x218)[_0x2c74c5(0x253)](_0x7a1803[_0x2c74c5(0x240)],')')));})),_0x563838;}function _0x5b4464(_0x507b4e,_0x3e89d8){const _0x2ec2e1=_0x3a5493;var _0x1d75cd,_0x91024d=_0x3e89d8['defIds'];return!_0x91024d||_0x91024d['length']===0x0?_0x507b4e:_0x507b4e[_0x2ec2e1(0x1ca)]===_0x2ec2e1(0x34d)&&(!((_0x1d75cd=_0x507b4e['children'])===null||_0x1d75cd===void 0x0)&&_0x1d75cd[_0x2ec2e1(0x2ef)])?_0x49e54e(_0x49e54e({},_0x507b4e),{'children':_0x507b4e[_0x2ec2e1(0x234)]['map'](function(_0xfcc0f5){const _0x3418d6=_0x2ec2e1;return typeof _0xfcc0f5[_0x3418d6(0x2f1)]['id']=='string'&&_0x91024d&&_0x91024d[_0x3418d6(0x341)](_0xfcc0f5[_0x3418d6(0x2f1)]['id'])?_0x49e54e(_0x49e54e({},_0xfcc0f5),{'attrs':_0x49e54e(_0x49e54e({},_0xfcc0f5[_0x3418d6(0x2f1)]),{'id':_0xfcc0f5['attrs']['id']+_0x3e89d8[_0x3418d6(0x240)]})}):_0xfcc0f5;})}):_0x507b4e;}function _0xef2006(){const _0x3df2d2=_0x3a5493;return Math[_0x3df2d2(0x2ac)]()[_0x3df2d2(0x289)](0x24)[_0x3df2d2(0x1ff)](0x2,0x8);}_0xc9fb9a[_0x3a5493(0x312)]=_0x3a5493(0x1d2);var _0x1ceb3e={'tag':_0x3a5493(0x318),'attrs':{'xmlns':_0x3a5493(0x27a),'fill':_0x3a5493(0x1fa),'viewBox':_0x3a5493(0x310),'width':_0x3a5493(0x200),'height':_0x3a5493(0x200)},'children':[{'tag':'path','attrs':{'fill':_0x3a5493(0x1a7),'d':_0x3a5493(0x39d)}}]},_0x359e78=_0x44794a[_0x3a5493(0x2c8)](function(_0x270a8e,_0x2c26e6){const _0x4825bd=_0x3a5493;return _0x44794a['createElement'](_0xc9fb9a,Object[_0x4825bd(0x2e4)]({},_0x270a8e,{'id':'back-icon','ref':_0x2c26e6,'icon':_0x1ceb3e}));});_0x359e78[_0x3a5493(0x312)]='BackIcon';var _0x29bdc5={'tag':_0x3a5493(0x318),'attrs':{'xmlns':_0x3a5493(0x27a),'fill':'none','viewBox':_0x3a5493(0x310),'width':'1em','height':_0x3a5493(0x200)},'children':[{'tag':_0x3a5493(0x291),'attrs':{'fill':'#0B9EFB','d':'M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','fillOpacity':0.2,'fillRule':_0x3a5493(0x34e),'clipRule':'evenodd'}},{'tag':'path','attrs':{'fill':_0x3a5493(0x29d),'d':'M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','fillRule':_0x3a5493(0x34e),'clipRule':_0x3a5493(0x34e)}}]},_0x1fae51=_0x44794a['forwardRef'](function(_0x2f94a4,_0x255f28){const _0xc03f07=_0x3a5493;return _0x44794a[_0xc03f07(0x22e)](_0xc9fb9a,Object[_0xc03f07(0x2e4)]({},_0x2f94a4,{'id':'loading-multi-icon','ref':_0x255f28,'icon':_0x29bdc5}));});_0x1fae51['displayName']=_0x3a5493(0x26f);var _0x1039d1={'tag':_0x3a5493(0x318),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3a5493(0x1fa),'viewBox':_0x3a5493(0x347),'width':'1em','height':_0x3a5493(0x200)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':'url(#restore-icon_clip0_1247_2)'},'children':[{'tag':_0x3a5493(0x291),'attrs':{'d':_0x3a5493(0x377)}},{'tag':_0x3a5493(0x291),'attrs':{'d':_0x3a5493(0x29c),'fillRule':_0x3a5493(0x34e),'clipRule':_0x3a5493(0x34e)}}]},{'tag':_0x3a5493(0x34d),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3a5493(0x358)},'children':[{'tag':_0x3a5493(0x25b),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x3a5493(0x394),'rx':0x4}}]}]}],'defIds':[_0x3a5493(0x358)]},_0x14e311=_0x44794a['forwardRef'](function(_0x1bdcf7,_0x76ba42){const _0x402112=_0x3a5493;return _0x44794a['createElement'](_0xc9fb9a,Object[_0x402112(0x2e4)]({},_0x1bdcf7,{'id':'restore-icon','ref':_0x76ba42,'icon':_0x1039d1}));});_0x14e311[_0x3a5493(0x312)]='RestoreIcon';function _0x1a09d7(){const _0x382d4f=_0x3a5493;var _0x15149d;const _0x4ee3f7=_0x8ee57b[_0x382d4f(0x1e9)](_0x129779[_0x382d4f(0x36e)]),_0x4111d2=_0x8ee57b[_0x382d4f(0x1e9)](_0x235eb3[_0x382d4f(0x275)]),_0x11446b=_0x44794a[_0x382d4f(0x1d5)](()=>{const _0x21bb6b=_0x382d4f;_0x4ee3f7[_0x21bb6b(0x1dd)]=_0x4ddc47[_0x21bb6b(0x1e6)];},[_0x4ee3f7]),_0x5ddd67=_0x44794a[_0x382d4f(0x1d5)](()=>{_0x4ee3f7['triggerRevert']();},[_0x4ee3f7]),_0x34dc75=_0x8ee57b[_0x382d4f(0x37a)](_0x4ee3f7[_0x382d4f(0x1eb)]),_0x17fb23=_0x8ee57b['useObservable'](_0x4ee3f7[_0x382d4f(0x2a2)]),_0x208bba=_0x34dc75===((_0x15149d=_0x17fb23==null?void 0x0:_0x17fb23[0x0])==null?void 0x0:_0x15149d['id']),_0xf9485e=_0x34dc75!==''&&!_0x208bba&&_0x4ee3f7['canRevert'];return _0x7dd829[_0x382d4f(0x398)](_0x382d4f(0x305),{'className':_0x12b6a4[_0x382d4f(0x195)](_0x382d4f(0x2b0),_0x12b6a4[_0x382d4f(0x1e7)]),'children':[_0x7dd829[_0x382d4f(0x1d0)](_0x382d4f(0x305),{'onClick':_0x11446b,'className':_0x382d4f(0x1a6),'children':_0x7dd829[_0x382d4f(0x1d0)](_0x359e78,{'className':'univer-text-2xl'})}),_0x7dd829[_0x382d4f(0x1d0)]('div',{'className':'univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','children':_0xf9485e&&_0x7dd829[_0x382d4f(0x1d0)](_0x12b6a4[_0x382d4f(0x249)],{'variant':_0x382d4f(0x368),'onClick':_0x5ddd67,'children':_0x4111d2['t'](_0x382d4f(0x1c4))})})]});}var _0x4c2e06=Object[_0x3a5493(0x24c)],_0x200ad7=(_0x13f369,_0x2abc49,_0x264f44,_0x5f141e)=>{const _0x36f8a2=_0x3a5493;for(var _0x4620b3=_0x5f141e>0x1?void 0x0:_0x5f141e?_0x4c2e06(_0x2abc49,_0x264f44):_0x2abc49,_0x68df21=_0x13f369[_0x36f8a2(0x2ef)]-0x1,_0x27fccb;_0x68df21>=0x0;_0x68df21--)(_0x27fccb=_0x13f369[_0x68df21])&&(_0x4620b3=_0x27fccb(_0x4620b3)||_0x4620b3);return _0x4620b3;},_0x6f4d3f=(_0x8bc79e,_0x267234)=>(_0x23fd64,_0x231a52)=>_0x267234(_0x23fd64,_0x231a52,_0x8bc79e);let _0x181b75=class extends _0x235eb3[_0x3a5493(0x239)]{constructor(_0x751dd6,_0x531ee1,_0x100b2c,_0x232c93,_0x367fbe,_0xd47664){const _0x49dda6=_0x3a5493;super(),this[_0x49dda6(0x30c)]=_0x751dd6,this[_0x49dda6(0x2e5)]=_0x531ee1,this[_0x49dda6(0x203)]=_0x100b2c,this['_localeService']=_0x232c93,this[_0x49dda6(0x279)]=_0x367fbe,this[_0x49dda6(0x24b)]=_0xd47664,this['_init']();}[_0x3a5493(0x2d5)](){const _0x3f4ce7=_0x3a5493;this['disposeWithMe'](this['_historyManagerService'][_0x3f4ce7(0x1eb)]['subscribe'](_0x2721b1=>{const _0x1f44cd=_0x3f4ce7;_0x2721b1&&this[_0x1f44cd(0x279)][_0x1f44cd(0x229)](_0x2721b1);})),this[_0x3f4ce7(0x374)](this['_permissionService'][_0x3f4ce7(0x29b)][_0x3f4ce7(0x2d2)](_0x1c14e5=>{const _0x5283ee=_0x3f4ce7,_0x23d49c=this[_0x5283ee(0x279)]['unitId'];_0x23d49c&&(_0x1c14e5[_0x5283ee(0x1c1)]===_0x2a5373[_0x5283ee(0x217)]&&_0x1c14e5[_0x5283ee(0x24a)]===!0x0&&this['_permissionService'][_0x5283ee(0x308)](new _0x5f5422[(_0x5283ee(0x17f))](_0x23d49c)['id'],!0x1),_0x1c14e5[_0x5283ee(0x1c1)]===_0x2a5373['RenameSheet']&&_0x1c14e5[_0x5283ee(0x24a)]===!0x0&&this[_0x5283ee(0x30c)][_0x5283ee(0x308)](new _0x5f5422['WorkbookRenameSheetPermission'](_0x23d49c)['id'],!0x1),_0x1c14e5[_0x5283ee(0x1c1)]===_0x2a5373[_0x5283ee(0x2de)]&&_0x1c14e5[_0x5283ee(0x24a)]===!0x0&&this['_permissionService'][_0x5283ee(0x308)](new _0x5f5422[(_0x5283ee(0x382))](_0x23d49c)['id'],!0x1),_0x1c14e5[_0x5283ee(0x1c1)]===_0x2a5373['HideSheet']&&_0x1c14e5[_0x5283ee(0x24a)]===!0x0&&this[_0x5283ee(0x30c)]['updatePermissionPoint'](new _0x5f5422[(_0x5283ee(0x1de))](_0x23d49c)['id'],!0x1),_0x1c14e5[_0x5283ee(0x1c1)]===_0x2a5373[_0x5283ee(0x26d)]&&_0x1c14e5[_0x5283ee(0x24a)]===!0x0&&this[_0x5283ee(0x30c)][_0x5283ee(0x308)](new _0x5f5422['WorkbookEditablePermission'](_0x23d49c)['id'],!0x1),_0x1c14e5['subType']===_0x2a5373['FloatImg']&&_0x1c14e5[_0x5283ee(0x24a)]===!0x0&&this['_permissionService'][_0x5283ee(0x308)](new _0x5f5422[(_0x5283ee(0x17f))](_0x23d49c)['id'],!0x1));})),this[_0x3f4ce7(0x374)](this[_0x3f4ce7(0x2e5)][_0x3f4ce7(0x259)](_0x8ee57b[_0x3f4ce7(0x206)][_0x3f4ce7(0x20d)],()=>_0x8ee57b[_0x3f4ce7(0x2d1)](_0x1a09d7,this[_0x3f4ce7(0x24b)]))),this[_0x3f4ce7(0x374)](this['_historyManagerService'][_0x3f4ce7(0x23e)][_0x3f4ce7(0x2d2)](_0x2f0823=>{const _0x4f39ec=_0x3f4ce7;_0x2f0823===_0x643b43['Loading']&&(this[_0x4f39ec(0x279)][_0x4f39ec(0x247)](),this['_messageService'][_0x4f39ec(0x2ea)]({'type':_0x12b6a4['MessageType']['Info'],'content':this[_0x4f39ec(0x32d)]['t']('editHistory.info.loading')})),_0x2f0823===_0x643b43['Loaded']&&this[_0x4f39ec(0x279)][_0x4f39ec(0x2b1)]();}));}};_0x181b75=_0x200ad7([_0x6f4d3f(0x0,_0x235eb3[_0x3a5493(0x2db)]),_0x6f4d3f(0x1,_0x8ee57b[_0x3a5493(0x38c)]),_0x6f4d3f(0x2,_0x8ee57b[_0x3a5493(0x1f4)]),_0x6f4d3f(0x3,_0x235eb3[_0x3a5493(0x257)](_0x235eb3['LocaleService'])),_0x6f4d3f(0x4,_0x235eb3[_0x3a5493(0x257)](_0x129779[_0x3a5493(0x36e)])),_0x6f4d3f(0x5,_0x235eb3[_0x3a5493(0x257)](_0x235eb3['Injector']))],_0x181b75);var _0x4da6f5=Object[_0x3a5493(0x24c)],_0x39a6a5=(_0x526f85,_0x170673,_0x2c0226,_0x2145a1)=>{const _0x409ec7=_0x3a5493;for(var _0x5262d1=_0x2145a1>0x1?void 0x0:_0x2145a1?_0x4da6f5(_0x170673,_0x2c0226):_0x170673,_0x170a2b=_0x526f85[_0x409ec7(0x2ef)]-0x1,_0x1aff2f;_0x170a2b>=0x0;_0x170a2b--)(_0x1aff2f=_0x526f85[_0x170a2b])&&(_0x5262d1=_0x1aff2f(_0x5262d1)||_0x5262d1);return _0x5262d1;},_0x5d8f2d=(_0x3262dd,_0x4f1119)=>(_0xc80d67,_0x2bfd78)=>_0x4f1119(_0xc80d67,_0x2bfd78,_0x3262dd);let _0x7e0fa=class extends _0x235eb3['Disposable']{constructor(_0x342ddd,_0x116acc,_0x229e90){const _0x4fb9f8=_0x3a5493;super(),_0x4e90de(this,_0x4fb9f8(0x2a4),new Map()),_0x4e90de(this,_0x4fb9f8(0x28a),new _0x48183[(_0x4fb9f8(0x2bf))]({'ranges':new Map(),'active':null})),_0x4e90de(this,_0x4fb9f8(0x252),this[_0x4fb9f8(0x28a)]['asObservable']()),(this[_0x4fb9f8(0x279)]=_0x342ddd,this[_0x4fb9f8(0x2dc)]=_0x116acc,this['_snapshotServerService']=_0x229e90,this[_0x4fb9f8(0x2d5)]());}[_0x3a5493(0x2d5)](){const _0x5454b6=_0x3a5493;this[_0x5454b6(0x2a4)]=new Map(),this[_0x5454b6(0x374)](this['_historyManagerService'][_0x5454b6(0x182)][_0x5454b6(0x2d2)](_0x17f206=>{const _0x445609=_0x5454b6;_0x17f206&&!this['_diffRangesMap'][_0x445609(0x1df)](_0x17f206)&&this[_0x445609(0x2a4)][_0x445609(0x189)](_0x17f206,new Map());})),this[_0x5454b6(0x374)](this[_0x5454b6(0x279)][_0x5454b6(0x1eb)][_0x5454b6(0x2d2)](async _0x59bb58=>{const _0x5646b4=_0x5454b6;var _0x19bce5;_0x59bb58&&(await this[_0x5646b4(0x332)](_0x59bb58),this[_0x5646b4(0x28a)][_0x5646b4(0x202)](((_0x19bce5=this[_0x5646b4(0x2a4)][_0x5646b4(0x2e1)](this[_0x5646b4(0x279)]['unitId']))==null?void 0x0:_0x19bce5[_0x5646b4(0x2e1)](_0x59bb58))||{'ranges':new Map(),'active':null}));}));}async[_0x3a5493(0x332)](_0x348f72){const _0xd54e12=_0x3a5493;var _0x52130e,_0x41e2e8;const _0x1abdb7=this['_historyManagerService'][_0xd54e12(0x300)](_0x348f72),_0x2fc3b9=this[_0xd54e12(0x279)][_0xd54e12(0x38d)];if(!_0x1abdb7||!_0x2fc3b9)return;const _0x5c552d=this[_0xd54e12(0x2a4)][_0xd54e12(0x2e1)](_0x2fc3b9);if(_0x5c552d||this[_0xd54e12(0x2a4)][_0xd54e12(0x189)](_0x2fc3b9,new Map()),(_0x52130e=this[_0xd54e12(0x2a4)][_0xd54e12(0x2e1)](_0x2fc3b9))!=null&&_0x52130e[_0xd54e12(0x1df)](_0x1abdb7['id']))return;const {startRev:_0x3efff6,endRev:_0x30b89f}=_0x1abdb7;if(_0x3efff6===0x1){_0x5c552d[_0xd54e12(0x189)](_0x1abdb7['id'],{'ranges':new Map(),'active':null});return;}const _0xf95a2=_0x3efff6-0x1,_0xca8eec=_0x30b89f,_0x2052a6=await this[_0xd54e12(0x396)][_0xd54e12(0x264)]({},{'unitID':_0x2fc3b9,'from':_0xf95a2,'to':_0xca8eec,'type':_0x32f53d['UNIVER_SHEET']});if(((_0x41e2e8=_0x2052a6[_0xd54e12(0x201)])==null?void 0x0:_0x41e2e8['code'])===_0x13fb2b['OK']){const _0x355b2a=_0x2052a6[_0xd54e12(0x1f9)][_0xd54e12(0x303)](_0x1d87ee[_0xd54e12(0x37b)])[_0xd54e12(0x303)](_0xa29882=>_0xa29882[_0xd54e12(0x2d0)][_0xd54e12(0x303)](_0x4b9e7b=>({..._0x4b9e7b,'params':{..._0x4b9e7b[_0xd54e12(0x209)],'memberId':_0xa29882['userID']}})))['flat'](),_0x1e7d4f=this[_0xd54e12(0x367)](_0x355b2a),_0x4bda1c=this[_0xd54e12(0x21e)](_0x355b2a),_0x4a2a59=this[_0xd54e12(0x26b)](_0x1e7d4f);_0x5c552d[_0xd54e12(0x189)](_0x1abdb7['id'],{'ranges':_0x4a2a59,'active':_0x4bda1c});}}['_transformMutationByOrder'](_0x765cb0){const _0xb6a82b=_0x3a5493;let _0x14dbaf=[];for(let _0xd27824=0x0;_0xd27824<_0x765cb0[_0xb6a82b(0x2ef)];_0xd27824++){const _0x14730c=_0x765cb0[_0xd27824];if(_0x14dbaf[_0xb6a82b(0x370)](_0x14730c),_0xd27824!==_0x765cb0[_0xb6a82b(0x2ef)]-0x1){const _0x2d1bb9=_0x765cb0[_0xd27824+0x1],_0x274451=this['_transformService'][_0xb6a82b(0x1c6)](_0x14dbaf,[_0x2d1bb9]);_0x1d87ee['isTransformMutationsSuccess'](_0x274451)?_0x14dbaf=_0x274451['m1Prime']:_0x14dbaf=[];}}return _0x14dbaf;}[_0x3a5493(0x21e)](_0x2c9e8e){const _0x5c490a=_0x3a5493;let _0x1ab999=[];return _0x2c9e8e[_0x5c490a(0x190)](_0xc76595=>{const _0x81b08c=_0x5c490a;if(_0xc76595['id']===_0x5f5422[_0x81b08c(0x237)]['id']){const _0x3efd60=_0xc76595['params'];_0x1ab999[_0x81b08c(0x370)](_0x3efd60['sheet']['id']);}else{if(_0xc76595['id']===_0x5f5422[_0x81b08c(0x251)]['id']){const _0x11e4ca=_0xc76595['params'];_0x1ab999[_0x81b08c(0x2ef)]>0x0&&(_0x1ab999=_0x1ab999[_0x81b08c(0x28c)](_0x32c095=>_0x32c095!==_0x11e4ca[_0x81b08c(0x293)]));}else{if(_0xc76595['id']===_0x5f5422['SetWorksheetHideMutation']['id']){const _0x3e891d=_0xc76595[_0x81b08c(0x209)];_0x3e891d[_0x81b08c(0x17d)]?_0x1ab999=_0x1ab999[_0x81b08c(0x28c)](_0x3c4889=>_0x3c4889!==_0x3e891d[_0x81b08c(0x293)]):_0x1ab999['push'](_0x3e891d[_0x81b08c(0x293)]);}else{const _0x1f8b3e=_0xc76595[_0x81b08c(0x209)];_0x1f8b3e[_0x81b08c(0x293)]&&_0x1ab999[_0x81b08c(0x370)](_0x1f8b3e[_0x81b08c(0x293)]);}}}}),_0x1ab999[_0x5c490a(0x2ef)]>0x0?_0x1ab999[_0x1ab999['length']-0x1]:null;}[_0x3a5493(0x26b)](_0x397910){const _0x955c84=_0x3a5493,_0x41b49c=new Map();return _0x397910[_0x955c84(0x190)](_0xdd588b=>{const _0x2cc95b=_0x955c84;var _0x2c19e5,_0x175a47;const _0x358053=(_0x2c19e5=_0xdd588b[_0x2cc95b(0x209)])==null?void 0x0:_0x2c19e5['memberId'];if(_0x358053){_0x41b49c['has'](_0x358053)||_0x41b49c[_0x2cc95b(0x189)](_0x358053,[]);const _0x50e25c=this[_0x2cc95b(0x232)](_0xdd588b);(_0x175a47=_0x41b49c[_0x2cc95b(0x2e1)](_0x358053))==null||_0x175a47['push'](..._0x50e25c);}}),_0x41b49c[_0x955c84(0x190)]((_0x551dc8,_0x448901)=>{const _0x835f08=_0x955c84;_0x41b49c[_0x835f08(0x189)](_0x448901,this[_0x835f08(0x1be)](_0x551dc8));}),_0x41b49c;}[_0x3a5493(0x232)](_0x4f6407){const _0x4827d1=_0x3a5493;switch(_0x4f6407['id']){case _0x5f5422[_0x4827d1(0x365)]['id']:{const _0x4f0c8e=_0x4f6407[_0x4827d1(0x209)];return _0x4f0c8e['rules'][_0x4827d1(0x303)](_0x442d40=>_0x442d40['ranges'][_0x4827d1(0x303)](_0x14c529=>({'range':_0x14c529,'unitId':_0x4f0c8e[_0x4827d1(0x38d)],'subUnitId':_0x4f0c8e[_0x4827d1(0x293)]})))['flat']();}case _0x5f5422[_0x4827d1(0x21d)]['id']:{const _0x310e38=_0x4f6407['params'];return _0x310e38['ranges']['map'](_0x133e23=>({'range':_0x133e23,'unitId':_0x310e38[_0x4827d1(0x38d)],'subUnitId':_0x310e38['subUnitId']}));}case _0x5f5422[_0x4827d1(0x2aa)]['id']:{const _0x525a28=_0x4f6407[_0x4827d1(0x209)];return[{'range':_0x525a28[_0x4827d1(0x2c4)],'unitId':_0x525a28[_0x4827d1(0x38d)],'subUnitId':_0x525a28[_0x4827d1(0x293)]}];}case _0x5f5422[_0x4827d1(0x19a)]['id']:{const _0x500dcb=_0x4f6407['params'];return[{'range':_0x500dcb[_0x4827d1(0x2c4)],'unitId':_0x500dcb['unitId'],'subUnitId':_0x500dcb[_0x4827d1(0x293)]}];}case _0x5f5422[_0x4827d1(0x230)]['id']:{const _0x3ba4df=_0x4f6407[_0x4827d1(0x209)],{from:_0x3fc5bd,to:_0x4e351a,unitId:_0x2bba51}=_0x3ba4df;return[{'range':_0x259511(_0x3fc5bd['value']),'unitId':_0x2bba51,'subUnitId':_0x3fc5bd[_0x4827d1(0x293)]},{'range':_0x259511(_0x4e351a[_0x4827d1(0x24a)]),'unitId':_0x2bba51,'subUnitId':_0x4e351a[_0x4827d1(0x293)]}];}case _0x5f5422[_0x4827d1(0x282)]['id']:{const _0x284f68=_0x4f6407[_0x4827d1(0x209)],{unitId:_0x4d80be,subUnitId:_0x2175f8,sourceRange:_0x2d1ee5,targetRange:_0x434242}=_0x284f68,_0x5f34f3=_0x2d1ee5[_0x4827d1(0x18f)]-_0x2d1ee5[_0x4827d1(0x2f6)]+0x1;return[{'range':_0x434242[_0x4827d1(0x2f6)]<=_0x2d1ee5['startRow']?_0x434242:{..._0x434242,'startRow':_0x434242[_0x4827d1(0x2f6)]-_0x5f34f3,'endRow':_0x434242[_0x4827d1(0x18f)]-_0x5f34f3},'unitId':_0x4d80be,'subUnitId':_0x2175f8}];}case _0x5f5422[_0x4827d1(0x2e6)]['id']:{const _0x1c2e40=_0x4f6407[_0x4827d1(0x209)],{unitId:_0x309332,subUnitId:_0x4fb987,sourceRange:_0xbc9fb3,targetRange:_0x49e9b2}=_0x1c2e40,_0x2ff255=_0xbc9fb3[_0x4827d1(0x271)]-_0xbc9fb3['startColumn']+0x1;return[{'range':_0x49e9b2[_0x4827d1(0x30e)]<=_0xbc9fb3[_0x4827d1(0x30e)]?_0x49e9b2:{..._0x49e9b2,'startColumn':_0x49e9b2[_0x4827d1(0x30e)]-_0x2ff255,'endColumn':_0x49e9b2[_0x4827d1(0x271)]-_0x2ff255},'unitId':_0x309332,'subUnitId':_0x4fb987}];}case _0x5f5422[_0x4827d1(0x31b)]['id']:{const _0x58c5aa=_0x4f6407[_0x4827d1(0x209)],{values:_0x37a765,unitId:_0x170f43,subUnitId:_0x4079cc}=_0x58c5aa;return Object[_0x4827d1(0x223)](_0x37a765)['map'](_0x386ff8=>_0x386ff8[_0x4827d1(0x1d3)][_0x4827d1(0x303)](_0x434127=>({'range':_0x434127,'unitId':_0x170f43,'subUnitId':_0x4079cc})))[_0x4827d1(0x36a)]();}case _0x5f5422[_0x4827d1(0x199)]['id']:{const _0x13e20a=_0x4f6407[_0x4827d1(0x209)],{ranges:_0x5af667,unitId:_0x36bf33,subUnitId:_0x49f312}=_0x13e20a;return _0x5af667[_0x4827d1(0x303)](_0x39db46=>({'range':_0x39db46,'unitId':_0x36bf33,'subUnitId':_0x49f312}));}case _0x5f5422[_0x4827d1(0x36f)]['id']:{const _0x3dd62f=_0x4f6407['params'],{unitId:_0x360bfa,subUnitId:_0x3d78f5,range:_0x312416}=_0x3dd62f;return[{'range':_0x312416,'unitId':_0x360bfa,'subUnitId':_0x3d78f5}];}case _0x5f5422['SetRangeProtectionMutation']['id']:{const _0x1268ae=_0x4f6407[_0x4827d1(0x209)];return _0x1268ae[_0x4827d1(0x2c6)][_0x4827d1(0x1d3)][_0x4827d1(0x303)](_0x4494f4=>({'range':_0x4494f4,'unitId':_0x1268ae[_0x4827d1(0x38d)],'subUnitId':_0x1268ae['subUnitId']}));}case _0x5f5422['SetRangeValuesMutation']['id']:{const _0x2eb003=_0x4f6407[_0x4827d1(0x209)];return _0x2eb003[_0x4827d1(0x1a2)]?_0x3ac762(_0x2eb003[_0x4827d1(0x1a2)])['map'](_0x1d52bc=>({'range':_0x1d52bc,'unitId':_0x2eb003[_0x4827d1(0x38d)],'subUnitId':_0x2eb003[_0x4827d1(0x293)]})):[];}case _0x4898e7['SetSheetsFilterRangeMutation']['id']:{const _0x5f3407=_0x4f6407[_0x4827d1(0x209)];return[{'range':_0x5f3407[_0x4827d1(0x2c4)],'unitId':_0x5f3407[_0x4827d1(0x38d)],'subUnitId':_0x5f3407[_0x4827d1(0x293)]}];}case _0x415617['AddDataValidationMutation']['id']:{const _0x2edefe=_0x4f6407[_0x4827d1(0x209)];return(Array[_0x4827d1(0x36b)](_0x2edefe[_0x4827d1(0x2c6)])?_0x2edefe[_0x4827d1(0x2c6)]:[_0x2edefe['rule']])[_0x4827d1(0x303)](_0x3df318=>_0x3df318[_0x4827d1(0x1d3)][_0x4827d1(0x303)](_0x57ccea=>({'range':_0x57ccea,'unitId':_0x2edefe[_0x4827d1(0x38d)],'subUnitId':_0x2edefe[_0x4827d1(0x293)]})))['flat']();}case _0xea0a5c[_0x4827d1(0x2f9)]['id']:{const _0x3bde84=_0x4f6407[_0x4827d1(0x209)];return _0x3bde84[_0x4827d1(0x2c6)]['ranges'][_0x4827d1(0x303)](_0x47554b=>({'range':_0x47554b,'unitId':_0x3bde84['unitId'],'subUnitId':_0x3bde84[_0x4827d1(0x293)]}));}default:return[];}}['_combineRanges'](_0x5d888b){const _0x44faed=_0x3a5493;if(_0x5d888b[_0x44faed(0x2ef)]<=0x1)return _0x5d888b;const _0x5dfe00=new Map();return _0x5d888b['forEach'](_0x460bdc=>{const _0x45464d=_0x44faed;var _0x25a97c;const {unitId:_0x3635fb,subUnitId:_0x4291bb}=_0x460bdc,_0x2050cc=_0x3635fb+'-'+_0x4291bb;_0x5dfe00[_0x45464d(0x1df)](_0x2050cc)?(_0x25a97c=_0x5dfe00[_0x45464d(0x2e1)](_0x2050cc))==null||_0x25a97c[_0x45464d(0x370)](_0x460bdc):_0x5dfe00['set'](_0x2050cc,[_0x460bdc]);}),Array[_0x44faed(0x2ad)](_0x5dfe00[_0x44faed(0x223)]())['map'](_0x3575a8=>new _0x5f5422[(_0x44faed(0x344))]()[_0x44faed(0x211)](..._0x3575a8['map'](_0x44169a=>_0x44169a[_0x44faed(0x2c4)]))[_0x44faed(0x17b)]()[_0x44faed(0x303)](_0x17a1c6=>({'range':_0x17a1c6,'unitId':_0x3575a8[0x0][_0x44faed(0x38d)],'subUnitId':_0x3575a8[0x0][_0x44faed(0x293)]})))[_0x44faed(0x36a)]();}};_0x7e0fa=_0x39a6a5([_0x5d8f2d(0x0,_0x235eb3['Inject'](_0x129779['HistoryManagerService'])),_0x5d8f2d(0x1,_0x1d87ee[_0x3a5493(0x373)]),_0x5d8f2d(0x2,_0x1d87ee[_0x3a5493(0x31a)])],_0x7e0fa);function _0x259511(_0x57281b){const _0x34a82b=_0x3a5493;return new _0x235eb3[(_0x34a82b(0x290))](_0x57281b)['getDataRange']();}function _0x3ac762(_0x4537b0){const _0x15864d=_0x3a5493,_0x4b83c6=new _0x235eb3[(_0x15864d(0x290))](_0x4537b0),_0x4bd405=new _0x235eb3[(_0x15864d(0x290))]();return _0x4b83c6['forValue']((_0x588145,_0x4262b9)=>{_0x4bd405['setValue'](_0x588145,_0x4262b9,0x1);}),_0x5f5422['findAllRectangle'](_0x4bd405);}var _0x5cbeb3=Object[_0x3a5493(0x24c)],_0x224ea4=(_0x5e618c,_0xebe1eb,_0x4e9c7a,_0x5d97a2)=>{for(var _0x5e250a=_0x5d97a2>0x1?void 0x0:_0x5d97a2?_0x5cbeb3(_0xebe1eb,_0x4e9c7a):_0xebe1eb,_0x4a6d89=_0x5e618c['length']-0x1,_0x1f484f;_0x4a6d89>=0x0;_0x4a6d89--)(_0x1f484f=_0x5e618c[_0x4a6d89])&&(_0x5e250a=_0x1f484f(_0x5e250a)||_0x5e250a);return _0x5e250a;},_0x50e855=(_0x3904d3,_0x130b8b)=>(_0x31b8dc,_0x1d72e8)=>_0x130b8b(_0x31b8dc,_0x1d72e8,_0x3904d3);let _0x59bf5f=class extends _0x235eb3['Disposable']{constructor(_0x54df9b,_0x4a9339,_0x3422a0,_0x1105a1,_0x2f2382,_0x320fbd,_0x53993b){const _0x14c119=_0x3a5493;super(),_0x4e90de(this,_0x14c119(0x304),new Set()),_0x4e90de(this,'_lastPointer',null),(this[_0x14c119(0x1f2)]=_0x54df9b,this[_0x14c119(0x279)]=_0x4a9339,this['_versionDiffService']=_0x3422a0,this[_0x14c119(0x196)]=_0x1105a1,this['_renderManagerService']=_0x2f2382,this['_sheetSkeletonManagerService']=_0x320fbd,this[_0x14c119(0x2df)]=_0x53993b,this[_0x14c119(0x2d5)]());}[_0x3a5493(0x2d5)](){const _0x3f73a6=_0x3a5493;this[_0x3f73a6(0x21f)](),this['_initActiveSwitch']();}['_initRender'](){const _0x77d3b6=_0x3a5493;this[_0x77d3b6(0x374)](_0x48183[_0x77d3b6(0x287)]([this[_0x77d3b6(0x279)][_0x77d3b6(0x23e)],this[_0x77d3b6(0x1f1)][_0x77d3b6(0x317)]])[_0x77d3b6(0x1fb)](_0x48183['switchMap'](([_0x2fc8ba,_0x1a5bb8])=>{const _0x5e5673=_0x77d3b6;if(_0x2fc8ba===_0x643b43[_0x5e5673(0x1e5)]&&_0x1a5bb8){const _0x5ce0a4=_0x1a5bb8[_0x5e5673(0x388)];return this[_0x5e5673(0x30f)][_0x5e5673(0x252)][_0x5e5673(0x1fb)](_0x48183[_0x5e5673(0x303)](_0x5b0842=>{const _0x24c2e5=_0x5e5673,_0x6bffd7=new Map();return _0x5b0842[_0x24c2e5(0x1d3)][_0x24c2e5(0x190)]((_0x4beda2,_0x18f716)=>{const _0x9b1352=_0x24c2e5,_0x4c4bd9=_0x4beda2[_0x9b1352(0x28c)](_0x229b5a=>_0x229b5a[_0x9b1352(0x293)]===_0x5ce0a4);_0x6bffd7[_0x9b1352(0x189)](_0x18f716,_0x4c4bd9);}),{'skeleton':_0x1a5bb8,'diffs':_0x6bffd7};}));}return _0x48183['of']({'skeleton':null,'diffs':new Map()});}))[_0x77d3b6(0x2d2)](({skeleton:_0x1b774e,diffs:_0x33b7c9})=>{const _0x155c9e=_0x77d3b6;this[_0x155c9e(0x2ae)](),_0x1b774e&&this[_0x155c9e(0x262)](_0x1b774e,_0x33b7c9);})),this[_0x77d3b6(0x374)](this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x77d3b6(0x2d2)](_0x305bf1=>{const _0x216d15=_0x77d3b6;if(_0x305bf1==null)return;const {skeleton:_0x301d29}=_0x305bf1,{scene:_0x35e957}=this[_0x216d15(0x1f2)];_0x35e957[_0x216d15(0x2d7)]['subscribeEvent'](_0x235eb3[_0x216d15(0x35f)](_0x50e0f2=>{const _0x1ce28b=_0x216d15;var _0x31321a,_0x3d4e2a;const {offsetX:_0x34b14f,offsetY:_0x1dc1e2}=_0x50e0f2,{x:_0x1de768,y:_0x19138a}=_0x35e957['getRelativeToViewportCoord'](_0x4234e0[_0x1ce28b(0x214)][_0x1ce28b(0x269)]([_0x34b14f,_0x1dc1e2])),{scaleX:_0x515f7e,scaleY:_0x468bab}=_0x35e957[_0x1ce28b(0x2fc)](),_0x4f3893=_0x35e957['getViewport'](_0x4234e0[_0x1ce28b(0x1db)]['VIEW_MAIN']),_0x4e5b42=_0x35e957[_0x1ce28b(0x1da)](_0x4234e0[_0x1ce28b(0x214)]['FromArray']([_0x1de768,_0x19138a]),_0x4f3893),_0x4d3c3b=_0x301d29['getCellPositionByOffset'](_0x34b14f,_0x1dc1e2,_0x515f7e,_0x468bab,_0x4e5b42);((_0x31321a=this[_0x1ce28b(0x38f)])==null?void 0x0:_0x31321a[_0x1ce28b(0x32a)])===_0x4d3c3b[_0x1ce28b(0x32a)]&&((_0x3d4e2a=this[_0x1ce28b(0x38f)])==null?void 0x0:_0x3d4e2a['row'])===_0x4d3c3b[_0x1ce28b(0x319)]||this['_diffs'][_0x1ce28b(0x190)](_0x4f89d9=>{const _0x4c09ca=_0x1ce28b;_0x4f89d9[_0x4c09ca(0x35e)](_0x4d3c3b);});},0x64));}));}['_initActiveSwitch'](){const _0x136572=_0x3a5493;this['disposeWithMe'](this[_0x136572(0x279)][_0x136572(0x23e)][_0x136572(0x2d2)](_0x1bbd0b=>{const _0x561dd7=_0x136572,_0x7179df=new _0x235eb3[(_0x561dd7(0x273))]();return _0x1bbd0b===_0x643b43[_0x561dd7(0x1e5)]&&(_0x7179df[_0x561dd7(0x18c)](),_0x7179df['add'](this['_versionDiffService']['currentVersionDiff$'][_0x561dd7(0x2d2)](_0x23fa78=>{const _0x1c1669=_0x561dd7;_0x23fa78['active']&&this[_0x1c1669(0x2df)]['executeCommand'](_0x5f5422[_0x1c1669(0x32b)]['id'],{'unitId':this[_0x1c1669(0x1f2)][_0x1c1669(0x38d)],'subUnitId':_0x23fa78[_0x1c1669(0x19e)]});}))),()=>_0x7179df[_0x561dd7(0x18c)]();}));}['_updateDiffMarks'](_0x47f8c1,_0x3d68ae){const _0x29d841=_0x3a5493;var _0x1f48e7;const _0xfddaf=(_0x1f48e7=this[_0x29d841(0x1f1)][_0x29d841(0x311)]())==null?void 0x0:_0x1f48e7['skeleton'];if(!_0xfddaf)return;this[_0x29d841(0x304)][_0x29d841(0x190)](_0x21533e=>{const _0x4cdc8f=_0x29d841;_0x21533e[_0x4cdc8f(0x18b)]();});const {scene:_0x53e899}=this[_0x29d841(0x1f2)],_0x146a62=Array['from'](_0x3d68ae[_0x29d841(0x2b5)]())[_0x29d841(0x303)](_0x318935=>_0x3d68ae[_0x29d841(0x2e1)](_0x318935)['map'](_0x1186f8=>{const _0x13ebff=_0x29d841;var _0x55db14;const {range:_0x51f4e3,subUnitId:_0x53c013,unitId:_0x2c7ece}=_0x1186f8,{startColumn:_0x5b52a1,startRow:_0x5a2feb,endColumn:_0x4b26e7,endRow:_0x5522c1}=_0x51f4e3,_0x1e3f5d=_0xac8ee9['getCoordByCell'](_0x5a2feb,_0x5b52a1,_0x53e899,_0xfddaf),_0x57e005=_0xac8ee9['getCoordByCell'](_0x5522c1,_0x4b26e7,_0x53e899,_0xfddaf),{columnHeaderHeightAndMarginTop:_0x1dd384}=_0xfddaf,{startX:_0x39f690,startY:_0x179e9c}=_0x1e3f5d,{endX:_0x2b1ee7,endY:_0x16853c}=_0x57e005,_0x32b057=_0x2b1ee7-_0x39f690,_0x4bbfd0=_0x16853c-_0x179e9c,_0x5a3d5e={'labelPosition':_0x179e9c-_0x1dd384>=0x14?'top':_0x13ebff(0x1ec),'sheetID':_0x53c013,'range':_0x51f4e3,'color':_0x13ebff(0x327),'fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x13ebff(0x327),'name':((_0x55db14=this[_0x13ebff(0x279)][_0x13ebff(0x1fe)](_0x318935))==null?void 0x0:_0x55db14[_0x13ebff(0x18d)])||'','selection':_0x2c7ece+'-'+_0x53c013+'-'+_0x51f4e3[_0x13ebff(0x30e)]+'-'+_0x51f4e3[_0x13ebff(0x2f6)]+'-'+_0x51f4e3['endColumn']+'-'+_0x51f4e3[_0x13ebff(0x18f)],'left':_0x39f690,'top':_0x179e9c,'width':_0x32b057,'height':_0x4bbfd0,'evented':!0x1,'zIndex':0x1};return new _0xf73112[(_0x13ebff(0x220))]('',_0x5a3d5e);}))[_0x29d841(0x36a)]();_0x53e899[_0x29d841(0x355)](_0x146a62,0x1),this[_0x29d841(0x304)]=new Set(_0x146a62);}[_0x3a5493(0x2ae)](){const _0x52dcb5=_0x3a5493;var _0x90dcb3;(_0x90dcb3=this['_diffs'])==null||_0x90dcb3[_0x52dcb5(0x190)](_0xe0238c=>_0xe0238c['dispose']());}['_getSheetObject'](){const _0x20111c=_0x3a5493;return _0xac8ee9['getSheetObject'](this[_0x20111c(0x196)],this[_0x20111c(0x1a1)]);}};_0x59bf5f=_0x224ea4([_0x50e855(0x1,_0x235eb3[_0x3a5493(0x257)](_0x129779['HistoryManagerService'])),_0x50e855(0x2,_0x235eb3[_0x3a5493(0x257)](_0x7e0fa)),_0x50e855(0x3,_0x235eb3[_0x3a5493(0x30d)]),_0x50e855(0x4,_0x4234e0['IRenderManagerService']),_0x50e855(0x5,_0x235eb3[_0x3a5493(0x257)](_0xac8ee9[_0x3a5493(0x2be)])),_0x50e855(0x6,_0x235eb3[_0x3a5493(0x1d6)])],_0x59bf5f);function _0x799e1d(){const _0x9c0857=_0x3a5493,_0x5af818=_0x8ee57b[_0x9c0857(0x1e9)](_0x129779[_0x9c0857(0x36e)]),_0x142315=_0x8ee57b[_0x9c0857(0x37a)](_0x5af818[_0x9c0857(0x2a2)]),[_0x2a3701,_0x306157]=_0x44794a[_0x9c0857(0x369)](!0x1),_0x3ac5f3=_0x47b4d8(_0x142315);return _0x142315?_0x7dd829[_0x9c0857(0x1d0)](_0x9c0857(0x305),{'className':_0x9c0857(0x1b6),'children':_0x7dd829[_0x9c0857(0x398)](_0x9c0857(0x305),{'className':_0x9c0857(0x1d9),'children':[_0x3ac5f3['map']((_0x260f72,_0x4bb322)=>_0x7dd829['jsxs'](_0x44794a[_0x9c0857(0x1f6)],{'children':[_0x7dd829[_0x9c0857(0x1d0)](_0x17ed2b,{'date':_0x260f72[_0x9c0857(0x23f)]}),_0x260f72[_0x9c0857(0x30a)][_0x9c0857(0x303)]((_0x34c10e,_0x2eaa4d)=>_0x7dd829[_0x9c0857(0x1d0)](_0x16c57e,{'index':[_0x4bb322,_0x2eaa4d],'item':_0x34c10e},_0x4bb322+'-'+_0x2eaa4d))]},_0x260f72['dateString'])),_0x2a3701&&_0x7dd829[_0x9c0857(0x1d0)](_0x53e836,{})]})}):_0x7dd829['jsx'](_0xab84eb,{});}function _0x53e836(){const _0x5141f8=_0x3a5493;return _0x7dd829[_0x5141f8(0x1d0)]('div',{'className':_0x5141f8(0x2ce),'children':_0x7dd829[_0x5141f8(0x1d0)](_0x1fae51,{'className':_0x5141f8(0x286)})});}function _0xab84eb(){const _0x55ba88=_0x3a5493;return _0x7dd829['jsx'](_0x55ba88(0x305),{'className':_0x55ba88(0x1a3),'children':_0x7dd829[_0x55ba88(0x1d0)](_0x55ba88(0x1e0),{'className':_0x55ba88(0x24d),'children':_0x7dd829['jsx'](_0x1fae51,{'className':'univer-m-auto\x20univer-animate-spin'})})});}function _0x17ed2b(_0x13ea4a){const _0x5b2093=_0x3a5493,_0x1e00cd=_0x8ee57b['useDependency'](_0x235eb3[_0x5b2093(0x275)]),{date:_0x56192d}=_0x13ea4a;return _0x7dd829['jsx'](_0x5b2093(0x305),{'className':_0x5b2093(0x2bd),'children':_0x2b061d(_0x56192d,_0x1e00cd[_0x5b2093(0x1d8)]())});}function _0x16c57e(_0x40a188){const _0x5359c4=_0x3a5493,{item:_0x1c5b1d,index:_0x539f65}=_0x40a188,{time:_0x453eb9,user:_0x54533d}=_0x1c5b1d,[_0x1cb579,_0x312f43]=_0x539f65,_0x2e09b7=_0x8ee57b[_0x5359c4(0x1e9)](_0x129779['HistoryManagerService']),_0x50b853=_0x8ee57b[_0x5359c4(0x37a)](_0x2e09b7[_0x5359c4(0x1eb)],'',!0x0)===_0x1c5b1d['id'],_0x90a2a2=_0x1cb579===0x0&&_0x312f43===0x0,_0x5722be=!_0x90a2a2&&_0x2e09b7[_0x5359c4(0x2fd)],_0x168f89=_0x8ee57b['useDependency'](_0x235eb3[_0x5359c4(0x275)]),_0x42986b=_0x168f89[_0x5359c4(0x1d8)](),_0x3cffbf=_0x33ca47(_0x453eb9,_0x42986b),_0x58fd88=_0x168f89['t'](_0x5359c4(0x35a)),_0x203a29=_0x44794a['useCallback'](_0x28932d=>{const _0x3b69bb=_0x5359c4;_0x2e09b7['loadingState']!==_0x643b43['Loading']&&(_0x2e09b7[_0x3b69bb(0x2a5)]=_0x28932d);},[_0x2e09b7]),_0x505cc8=_0x44794a[_0x5359c4(0x1d5)](_0x5c8cd3=>{const _0x4844c4=_0x5359c4;_0x2e09b7[_0x4844c4(0x322)](_0x5c8cd3);},[_0x2e09b7]);return _0x7dd829['jsxs']('div',{'className':_0x12b6a4['clsx'](_0x5359c4(0x1b3),{'univer-bg-gray-50':_0x50b853}),'onClick':()=>_0x203a29(_0x1c5b1d['id']),'children':[_0x7dd829['jsxs'](_0x5359c4(0x305),{'className':_0x5359c4(0x33c),'children':[_0x7dd829[_0x5359c4(0x1d0)](_0x5359c4(0x305),{'className':_0x5359c4(0x22b)}),_0x7dd829['jsxs']('div',{'className':_0x5359c4(0x183),'children':[_0x7dd829[_0x5359c4(0x1d0)]('span',{'children':_0x3cffbf['time']}),_0x90a2a2&&_0x7dd829[_0x5359c4(0x1d0)](_0x5359c4(0x1e0),{'className':'univer-ml-2\x20univer-flex\x20univer-h-5\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-text-xs\x20univer-text-primary-600','children':_0x58fd88})]}),_0x7dd829[_0x5359c4(0x1d0)](_0x5359c4(0x305),{'children':_0x5722be&&_0x7dd829[_0x5359c4(0x1d0)](_0x12b6a4['Tooltip'],{'title':_0x168f89['t'](_0x5359c4(0x192)),'children':_0x7dd829[_0x5359c4(0x1d0)](_0x5359c4(0x305),{'onClick':_0x1eb7b9=>{const _0x44db13=_0x5359c4;_0x1eb7b9[_0x44db13(0x261)](),_0x505cc8(_0x1c5b1d['id']);},'className':_0x5359c4(0x267),'children':_0x7dd829['jsx'](_0x14e311,{})})})})]}),_0x7dd829[_0x5359c4(0x1d0)](_0x5359c4(0x305),{'className':_0x5359c4(0x250),'children':_0x3f64c0(_0x1c5b1d,_0x168f89)})]});}var _0x385c26=Object[_0x3a5493(0x24c)],_0x5a1904=(_0x5e1dfd,_0xba74fd,_0x484836,_0x5bc4af)=>{const _0x2cd193=_0x3a5493;for(var _0x395d30=_0x5bc4af>0x1?void 0x0:_0x5bc4af?_0x385c26(_0xba74fd,_0x484836):_0xba74fd,_0x49f4e6=_0x5e1dfd[_0x2cd193(0x2ef)]-0x1,_0x421c3a;_0x49f4e6>=0x0;_0x49f4e6--)(_0x421c3a=_0x5e1dfd[_0x49f4e6])&&(_0x395d30=_0x421c3a(_0x395d30)||_0x395d30);return _0x395d30;},_0x227f45=(_0xc9256,_0xd0394a)=>(_0x317ae0,_0x44fbf7)=>_0xd0394a(_0x317ae0,_0x44fbf7,_0xc9256);const _0x1566e0=_0x3a5493(0x363);let _0x322e60=class extends _0x235eb3['Disposable']{constructor(_0xd924ec,_0x3290cc,_0x560666,_0x1dae36){const _0x12dd76=_0x3a5493;super(),_0x4e90de(this,_0x12dd76(0x208),null),(this[_0x12dd76(0x1c8)]=_0xd924ec,this['_componentManager']=_0x3290cc,this[_0x12dd76(0x32d)]=_0x560666,this['_historyManagerService']=_0x1dae36,this[_0x12dd76(0x2d5)]());}[_0x3a5493(0x2d5)](){const _0x59475a=_0x3a5493;this[_0x59475a(0x375)](),this[_0x59475a(0x2e2)]();}['_openPanel'](){const _0x2536f1=_0x3a5493;if(this['_sidebarDisposable'])return;const _0x290e35={'header':{'title':this[_0x2536f1(0x32d)]['t'](_0x2536f1(0x335))},'children':{'label':_0x1566e0},'onClose':()=>{const _0x2f0697=_0x2536f1;this[_0x2f0697(0x208)]=null,this['_historyManagerService'][_0x2f0697(0x1dd)]=_0x4ddc47[_0x2f0697(0x1e6)];}};this[_0x2536f1(0x208)]=this[_0x2536f1(0x1c8)][_0x2536f1(0x185)]({..._0x290e35});}[_0x3a5493(0x375)](){const _0x1db673=_0x3a5493;this[_0x1db673(0x374)](this['_componentManager']['register'](_0x1566e0,_0x799e1d)),this['disposeWithMe'](this['_sidebarService'][_0x1db673(0x384)][_0x1db673(0x1fb)](_0x48183[_0x1db673(0x210)](0x64))[_0x1db673(0x2d2)](_0x40fd4c=>{const {target:_0x185876}=_0x40fd4c||{};if(_0x185876){const {scrollTop:_0x385caf,scrollHeight:_0x3d98d9,clientHeight:_0xd56e17}=_0x185876;_0x385caf+_0xd56e17>=_0x3d98d9-0x5&&this['_historyManagerService']['loadMoreVersions']();}}));}};_0x322e60=_0x5a1904([_0x227f45(0x0,_0x8ee57b['ISidebarService']),_0x227f45(0x1,_0x235eb3[_0x3a5493(0x257)](_0x8ee57b[_0x3a5493(0x1c3)])),_0x227f45(0x2,_0x235eb3['Inject'](_0x235eb3[_0x3a5493(0x275)])),_0x227f45(0x3,_0x235eb3[_0x3a5493(0x257)](_0x129779[_0x3a5493(0x36e)]))],_0x322e60);class _0x1efa5c extends _0x235eb3[_0x3a5493(0x239)]{constructor(){const _0x286058=_0x3a5493;super(),_0x4e90de(this,'_dialogOptions$',new _0x48183[(_0x286058(0x336))]());}[_0x3a5493(0x185)](){return _0x235eb3['toDisposable'](()=>{});}[_0x3a5493(0x236)](){}[_0x3a5493(0x397)](_0x4c0889){}[_0x3a5493(0x386)](){const _0x12d765=_0x3a5493;return this['_dialogOptions$'][_0x12d765(0x38a)]();}}var _0x43f9c5=Object['defineProperty'],_0x5b8e47=Object['getOwnPropertyDescriptor'],_0x2dca73=(_0x29908b,_0x341455,_0xcead6f)=>_0x341455 in _0x29908b?_0x43f9c5(_0x29908b,_0x341455,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xcead6f}):_0x29908b[_0x341455]=_0xcead6f,_0x5c50ae=(_0xb60145,_0x101d07,_0x402924,_0x490ec3)=>{const _0x55c929=_0x3a5493;for(var _0x1e7267=_0x490ec3>0x1?void 0x0:_0x490ec3?_0x5b8e47(_0x101d07,_0x402924):_0x101d07,_0x29ea3b=_0xb60145[_0x55c929(0x2ef)]-0x1,_0x1939fe;_0x29ea3b>=0x0;_0x29ea3b--)(_0x1939fe=_0xb60145[_0x29ea3b])&&(_0x1e7267=_0x1939fe(_0x1e7267)||_0x1e7267);return _0x1e7267;},_0x9b01a7=(_0x495e31,_0x6a4f7c)=>(_0x2ea85b,_0x4c0904)=>_0x6a4f7c(_0x2ea85b,_0x4c0904,_0x495e31),_0x2e8002=(_0x3094ba,_0x3c1b32,_0x5909bd)=>_0x2dca73(_0x3094ba,_0x3c1b32+'',_0x5909bd);const _0x8dcba8=_0x3a5493(0x35d);_0x129779[_0x3a5493(0x2a3)]=class extends _0x235eb3['Plugin']{constructor(_0x3a2eb7=_0x325f94,_0x5bb33f,_0x24ffb5,_0x31665b){const _0x1c844a=_0x3a5493;super(),this['_config']=_0x3a2eb7,this['_injector']=_0x5bb33f,this['_renderManagerService']=_0x24ffb5,this[_0x1c844a(0x2b8)]=_0x31665b;const {..._0x11417c}=_0x235eb3['merge']({},_0x325f94,this[_0x1c844a(0x265)]);this[_0x1c844a(0x2b8)]['setConfig'](_0x20873b,_0x11417c);}['onStarting'](){const _0x321c0c=_0x3a5493;[[_0x129779[_0x321c0c(0x36e)]],[_0x181b75],[_0x7e0fa],[_0x288ef5],[_0x322e60],[_0x4e2944],[_0x1d87ee[_0x321c0c(0x31a)],{'useClass':_0x51de09['SnapshotServerOverHTTPService']}],[_0x8ee57b['IDialogService'],{'useClass':_0x1efa5c}],[_0x46740f[_0x321c0c(0x22c)],{'useClass':_0x51de09[_0x321c0c(0x222)]}]][_0x321c0c(0x190)](_0x3c31a2=>this['_injector'][_0x321c0c(0x211)](_0x3c31a2)),this['_injector'][_0x321c0c(0x2e1)](_0x181b75);}[_0x3a5493(0x2a8)](){const _0x1beb8e=_0x3a5493;[[_0x59bf5f]]['forEach'](_0x31ddf0=>{const _0xbf59ef=_0x9620;this['disposeWithMe'](this[_0xbf59ef(0x1a1)]['registerRenderModule'](_0x235eb3['UniverInstanceType'][_0xbf59ef(0x2f0)],_0x31ddf0));}),this[_0x1beb8e(0x24b)][_0x1beb8e(0x2e1)](_0x4e2944),this['_injector']['get'](_0x322e60);}[_0x3a5493(0x256)](){const _0x205d2f=_0x3a5493;this[_0x205d2f(0x24b)][_0x205d2f(0x2e1)](_0x7e0fa);}},_0x2e8002(_0x129779[_0x3a5493(0x2a3)],'pluginName',_0x8dcba8),_0x129779[_0x3a5493(0x2a3)]=_0x5c50ae([_0x235eb3[_0x3a5493(0x2dd)](_0xac8ee9[_0x3a5493(0x309)],_0x52e8fb[_0x3a5493(0x29a)]),_0x9b01a7(0x1,_0x235eb3['Inject'](_0x235eb3['Injector'])),_0x9b01a7(0x2,_0x4234e0[_0x3a5493(0x32e)]),_0x9b01a7(0x3,_0x235eb3[_0x3a5493(0x307)])],_0x129779['UniverEditHistoryViewerPlugin']),_0x129779[_0x3a5493(0x2cb)]=_0x4ddc47,Object[_0x3a5493(0x19f)](_0x129779,Symbol['toStringTag'],{'value':_0x3a5493(0x1c5)});}));
|
|
1
|
+
function _0x133d(_0x3b200f,_0x2b8a57){const _0x585aca=_0x585a();return _0x133d=function(_0x133de5,_0x296623){_0x133de5=_0x133de5-0x1b6;let _0x2887b1=_0x585aca[_0x133de5];return _0x2887b1;},_0x133d(_0x3b200f,_0x2b8a57);}function _0x585a(){const _0x133f6b=['action','IUniverInstanceService','filter','_combineRanges','HideSheet','edit-history-viewer.config','SetRangeValuesMutation','InsertSheetMutation','SnapshotServerOverHTTPService','debounce','function','map','RenameWorksheet','makeDirty','_httpService','MoveRowsMutation','@univerjs/core','getDeserializedSheetBlock','.univer-app-container-content','UniverProSheetsSparkline','univerjs-icon\x20univerjs-icon-','MoveSheet','time','some','startColumn','get','APPLY_DUPLICATED','@univerjs-pro/collaboration-client','parse','attrs','_messageService','INVITE_CODE_REQUIRED','FloatImg','Sort','isTransformMutationsSuccess','PY_RUNTIME_SCRIPT_ERROR','pluginName','getCurrentLocale','useDependency','LOGIN_FAILED','sheet','UNIVER_PROJECT','Info','TOO_MANY_REQUESTS','getVersions','editHistory.panel.listFetchError','getCurrentUnitForType','MoveRangeMutation','body','AddDataValidationMutation','ObjectMatrix','prototype','univer-flex\x20univer-items-center\x20univer-justify-center','SetColumnStyle','LoadingMultiIcon','fetchMissingChangesets','@univerjs/data-validation','_lastLabel','SetSheetsFilterRangeMutation','editHistory.panel.currentVersion','revertRevision$','add','status','SetWorksheetStyle','deleteProtection','getAncestorScale','EMAIL_HAS_BEEN_BOUND','forValue','propertyIsEnumerable','getOwnPropertyDescriptor','/list?length=20','switchMap','0\x200\x2016\x2017','YUUMI_UNABLE_LOAD_URL','UNIVER_SHEET','WorkbookRenameSheetPermission','subscribe','SetWorksheetHideMutation','editHistory.panel.cancel','loadSheet','Export','@univerjs/sheets','ISidebarService','UNIVER_SLIDE','loading','_snapshotServerService','div','editHistory.panel.currentUser','transformSnapshotToWorkbookData','amd','http://www.w3.org/2000/svg','jsx','getMinutes','_loadingState$','CompressMutationService','restore-icon','length','SNAPSHOT_INVALID_SNAPSHOT','_injector','_context','absolute','44450HsUHAt','YUUMI_TABLE_NOT_FOUND_IN_UNIT','1135043iRYDsL','UniverProCollaborationClient','endRow','CONNECTOR_DATA_TOO_LARGE','path','AddConditionalRuleMutation','RevertRevisionMutation','blockMeta','INTERNAL_ERROR','editHistory.action.revertSheetSuffix','getViewport','univer-text-2xl','call','subUnitId','IDialogService','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','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','removeSheet','1em','_status$','UniverProCollaboration','_getRangesByMutation','editSheet','className','getDataRange','_historyFetchService','CreatePermissionObject','_permissionService','SetRowStyle','univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-text-gray-400\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','editHistory.action.etc','show','_sidebarDisposable','bottom','DisposableCollection','triggerLoadVersions','getCurrent','replace','setDV','_renderManagerService','ZH_CN','onStarting','HideWorksheet','hideMask','split','random','UniverSheetsUIPlugin','colorChannel1','Init','UNIVER_DOC','dateString','getUnitOnRev','top','mutations','editHistory.panel.revertConfirm','ViewHistory','_maskElement','confirm-revert-revision','UniverSheetsUi','LICENSE_IMPORT_SIZE_EXCEEDED','hasCommand','error','@univerjs/design','recoverTime','UniverSheetsFilter','UniverDrawing','COMPLETION_FINISHED','getSheetObject','style','startRow','Loading','hasOwnProperty','HTTPService','_commandService','M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','registerRenderModule','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','command','getElementById','#0B9EFB','createElement','getCurrentVersion','value','executeCommand','_hasMore','object','exports','235510RGNweR','status$','_currentVersionDiff$','_createUnit','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','BehaviorSubject','Inject','_lastPointer','addObjects','scrollEvent$','YUUMI_SUBSCRIPTION_NOT_FOUND','canRevert','currentColor','Loaded','YUUMI_ASYNCIO_CANCELLED','useRef','isArray','height','currentVersionDiff$','Button','Copy','APPLY_PERMISSION_DENIED','univer-ml-2\x20univer-flex\x20univer-h-5\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-text-xs\x20univer-text-primary-600','commands','mask','DeleteRow','setState','setValue','UniverEditHistoryViewerPlugin','LICENSE_DISTRO_REJECTED','historyListServerUrl','UNDEFINED','url(#$1','ManageCollaborator','NOT_FOUND','_revertRevision$','debounceTime','UNIVER_UNKNOWN','_canRevert','focusUnit','_initActiveSwitch','params','YUUMI_AI_RUN_FAILED','unitId','_cellEditorManagerService','UNAUTHENTICATED','defs','onMouseMove','RestoreIcon','apply','ITransformService','combineLatest','_univerInstanceService','none','LICENSE_MAX_UNITS_EXCEEDED','@univerjs/ui','getVersion','APPLY_REVISION_CONFILICT','72eqLvXv','registerComponent','concat','row','history-mask','jsxs','_getActiveSubUnitId','UpdateDataValidationMutation','Exited','CollaborationImageIoService','_confirmService','blocks','SetRangeProtectionMutation','IPermissionService','editHistory.panel.confirm','univer-mx-[-20px]\x20univer-overflow-hidden','_members','setConfig','disposeWithMe','INVALID_ARGUMENT','currentVersion','getUnitId','Subject','1851136QKRoeF','LocaleType','_initMaskContainer','createTime','_uiPartsService','DeleteWorksheet','toISOString','univer-ml-2.5\x20univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20hover:univer-bg-[rgba(30,34,43,0.06)]','MOBILE_HAS_BEEN_BOUND','_initRender','UNRECOGNIZED','ICommandService','backgroundColor','_transformService','_versions$','WorkbookEditablePermission','currentSkeleton$','triggerLoadSheet','Vector2','user','VIRTUAL_VERSION_NOW','_workbookDataCache','userId','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','loaded','forEach','subType','extend','View','useCallback','unitId$','getConfig','[HistoryFetchService]:\x20request\x20snapshot\x20error!','code','BuiltInUIPart','loadingState','fill','MessageType','rect','rxjs','APPLY_REJECT','CopySheet','open','0\x200\x2016\x2016','connectInjector','editHistory.panel.unknownUser','ranges','stopPropagation','parseProtocolChangeset','UniverInstanceType','react/jsx-runtime','YUUMI_ALL_TABLES_IS_INVALID','permissionPointUpdate$','@univerjs/sheets-conditional-formatting','_updateDiffMarks','_diffs','entered','MoveWorksheet','rev','USER_NOT_INVITED_CODE','_localeService','EMAIL_VERIFY_CODE_MISMATCH','Edit','INVITE_CODE_HAS_BEEN_UES','311411ldxUYj','push','center','range','endRev','WorkbookHideSheetPermission','append','editHistory.info.loading','includes','_openPanel','defineProperty','6pwgkEy','tag','YUUMI_CONNECTOR_URL_NOT_FOUND','getCoordByCell','UniverNetwork','INVITE_CODE_ALREADY_BOUND','AddWorksheetProtectionMutation','IConfirmService','1000','rule','userID','has','UniverSheets','Plugin','forwardRef','UniverDesign','entities','YUUMI_URL_COL_OUT_OF_RANGE','_fetching','url(#restore-icon_clip0_1247_2)','getCellPositionByOffset','YUUMI_RATE_OVER_LIMIT','keys','@univerjs/network','_unitId$','ViemRwHgtClWdt','_versionDiffService','addProtection','BackIcon','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','evenodd','HEADER','_dialogOptions$','1086371OqcRIC','RwHgtClWdt','dispose','borderBottomClassName','getOwnPropertySymbols','symbol','_getAPIPrefix','versions','72dhtAfm','Disposable','displayName','SheetSkeletonManagerService','CreateWorksheet','users','updatePermissionPoint','then','UniverDataValidation','_updateVersions','SNAPSHOT_HAS_BEEN_REMOVED','_removeDiffMarks','InsertColumn','SetCellStyle','currentVersion$','now','History','IRenderManagerService','padStart','AddRangeProtectionMutation','Filter','children','3OKoIbF','showMask','rgba(58,\x2096,\x20247,\x200.20)','DeleteSheet','MoveColsMutation','Entered','set','anonymous','IConfigService','values','univer-m-auto\x20univer-animate-spin','flat','univer-h-full\x20univer-overflow-auto\x20univer-border-t\x20univer-border-gray-200','SHEET_VIEWPORT_KEY','SelectProtectedCells','EditExtraObject','@univerjs-pro/collaboration','editHistory.action.revertSheetPrefix','UniverProCollaborationClientUi','m1Prime','ComponentManager','date','_sidebarService','toDisposable','IMessageService','CHANGESET_REVISION_CONFILICT','SetFrozenMutation','display','6952530gMxUgG','substring','icon','querySelector','Today','Tooltip','@univerjs/sheets-filter','clsx','transformMutations','Print','endColumn','RemoveNumfmtMutation','IUIPartsService','_init','Fragment','idSuffix','close','rgba(225,\x20225,\x20225,\x200.5)','_transformMutationByOrder','svg','trim','UniverSheetsConditionalFormatting','asObservable','color','@univerjs/drawing','@univerjs-pro/sheets-sparkline','setCF','span','_extractRanges','pipe','RangeMergeUtil','_currentVersion$','SheetCollabCursorShape','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','getMember','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-pl-5\x20univer-text-sm\x20univer-font-medium\x20univer-text-[#1e222b]','merge','APPLY_NON_SEQUENTIAL_REVISION','DeleteRangeProtectionMutation','_initPanel','&lastLabel=','sheetId','EditWorksheetCell','RenameSheet','triggerRevert','Delete','_historyManagerService','100%','white','confirm','useState','changesets','RecoverHistory','cellValue','ENSURE_SNAPSHOT_EXECUTION','@univerjs-pro/collaboration-client-ui','loadingState$','SetCellValue','Module','univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','ensureVersion','xlink:href','MOBILE_VERIFY_CODE_MISMATCH','toString','active','clipPath','Injector','SetConditionalRuleMutation','univer-text-gray-500','ViewFilter','LICENSE_EXPORT_SIZE_EXCEEDED','assign','getHours','_compressMutationService','back-icon','getVpScrollXYInfoByPosToVp','FromArray','subscribeEvent','DeleteColumn','justifyContent','_diffRangesMap','syncExecuteCommand','PivotTable','name','Comment','YUUMI_NO_CUBOID_FOR_QUESTION','_createMask','InsertRowMutation','createUnit','width','react','versions$','UniverProEditHistoryViewer','HistoryManagerService','useObservable','UniverNetworkPlugin','CreateUnitMutation','next','editHistory.panel.title','_historyContainerId','LocaleService','_getSheetObject','@univerjs/sheets-ui','entries','indexOf','INVALID_INVITE_CODE','_maskContainer','onSteady','string','defIds','UniverEngineRender','Share','_configService','_componentManager','ISnapshotServerService','closeAll','getInterceptPoints','HistoryModeStatus','clear','univer-flex\x20univer-h-[60px]\x20univer-cursor-default\x20univer-flex-col\x20univer-justify-center\x20univer-px-4\x20univer-py-1.5','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','toStringTag','Duplicate','insertSheet','from','CreateSheet','onRendered','reduce'];_0x585a=function(){return _0x133f6b;};return _0x585a();}(function(_0x261ad7,_0x37bc1d){const _0x209b23=_0x133d,_0x31f550=_0x261ad7();while(!![]){try{const _0x80ecbd=parseInt(_0x209b23(0x26f))/0x1+parseInt(_0x209b23(0x3ba))/0x2*(-parseInt(_0x209b23(0x2b9))/0x3)+parseInt(_0x209b23(0x22f))/0x4+parseInt(_0x209b23(0x2d5))/0x5*(parseInt(_0x209b23(0x27a))/0x6)+parseInt(_0x209b23(0x3bc))/0x7*(-parseInt(_0x209b23(0x218))/0x8)+parseInt(_0x209b23(0x2a3))/0x9*(parseInt(_0x209b23(0x1de))/0xa)+-parseInt(_0x209b23(0x29b))/0xb;if(_0x80ecbd===_0x37bc1d)break;else _0x31f550['push'](_0x31f550['shift']());}catch(_0x3d5109){_0x31f550['push'](_0x31f550['shift']());}}}(_0x585a,0xbcaae),function(_0x19d3a6,_0x52b4ae){const _0x24de99=_0x133d;typeof exports==_0x24de99(0x1dc)&&typeof module<'u'?_0x52b4ae(exports,require(_0x24de99(0x2c9)),require(_0x24de99(0x370)),require('@univerjs/core'),require('@univerjs/drawing'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/sheets-ui'),require(_0x24de99(0x215)),require(_0x24de99(0x1c5)),require(_0x24de99(0x3a6)),require(_0x24de99(0x256)),require(_0x24de99(0x38d)),require(_0x24de99(0x264)),require(_0x24de99(0x2db)),require(_0x24de99(0x2ee)),require(_0x24de99(0x261)),require(_0x24de99(0x32f)),require('@univerjs-pro/collaboration-client-ui')):typeof define=='function'&&define[_0x24de99(0x3ae)]?define([_0x24de99(0x1dd),_0x24de99(0x2c9),_0x24de99(0x370),_0x24de99(0x365),_0x24de99(0x2ed),'@univerjs/engine-render',_0x24de99(0x291),_0x24de99(0x33b),_0x24de99(0x215),'@univerjs/design',_0x24de99(0x3a6),_0x24de99(0x256),_0x24de99(0x38d),_0x24de99(0x264),_0x24de99(0x2db),'@univerjs-pro/sheets-sparkline',_0x24de99(0x261),_0x24de99(0x32f),_0x24de99(0x30c)],_0x52b4ae):(_0x19d3a6=typeof globalThis<'u'?globalThis:_0x19d3a6||self,_0x52b4ae(_0x19d3a6[_0x24de99(0x331)]={},_0x19d3a6[_0x24de99(0x3d0)],_0x19d3a6[_0x24de99(0x3bd)],_0x19d3a6['UniverCore'],_0x19d3a6[_0x24de99(0x1c8)],_0x19d3a6[_0x24de99(0x343)],_0x19d3a6[_0x24de99(0x27e)],_0x19d3a6[_0x24de99(0x1c1)],_0x19d3a6['UniverUi'],_0x19d3a6[_0x24de99(0x289)],_0x19d3a6[_0x24de99(0x286)],_0x19d3a6[_0x24de99(0x256)],_0x19d3a6[_0x24de99(0x2ab)],_0x19d3a6[_0x24de99(0x2ea)],_0x19d3a6[_0x24de99(0x1c7)],_0x19d3a6[_0x24de99(0x368)],_0x19d3a6['React'],_0x19d3a6['React'],_0x19d3a6[_0x24de99(0x2cb)]));}(this,function(_0x4dde3d,_0x4b6b6e,_0x35df16,_0x1315f3,_0x162467,_0xed141c,_0x1e793f,_0x2d95ad,_0x3af3cd,_0x59dff3,_0x14bf15,_0x407faa,_0x218e73,_0x3cff8c,_0xd94546,_0xf9f20a,_0x4a7d5f,_0x476344,_0x35818e){'use strict';const _0x97da62=_0x133d;var _0x45688b=Object['defineProperty'],_0x165a38=(_0x1ec1d4,_0x12dbfe,_0x51a1c0)=>_0x12dbfe in _0x1ec1d4?_0x45688b(_0x1ec1d4,_0x12dbfe,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x51a1c0}):_0x1ec1d4[_0x12dbfe]=_0x51a1c0,_0x216fc2=(_0x302a6f,_0xebff2,_0x3788b3)=>_0x165a38(_0x302a6f,typeof _0xebff2!=_0x97da62(0x2a0)?_0xebff2+'':_0xebff2,_0x3788b3);const _0x4267e4=_0x97da62(0x35a),_0x4aa1a1={};var _0x48edef=Object['getOwnPropertyDescriptor'],_0x18ac4c=(_0x3d2cde,_0x34f431,_0xc652c7,_0x9be32d)=>{const _0x87d81b=_0x97da62;for(var _0x4471a8=_0x9be32d>0x1?void 0x0:_0x9be32d?_0x48edef(_0x34f431,_0xc652c7):_0x34f431,_0x43df20=_0x3d2cde[_0x87d81b(0x3b5)]-0x1,_0x508010;_0x43df20>=0x0;_0x43df20--)(_0x508010=_0x3d2cde[_0x43df20])&&(_0x4471a8=_0x508010(_0x4471a8)||_0x4471a8);return _0x4471a8;},_0x2a3a1f=(_0x4fda24,_0x3b640a)=>(_0x24300d,_0x1794d7)=>_0x3b640a(_0x24300d,_0x1794d7,_0x4fda24);let _0x5c6d57=class extends _0x1315f3[_0x97da62(0x2a4)]{constructor(_0x47cf82){const _0x4a921b=_0x97da62;super(),this[_0x4a921b(0x20a)]=_0x47cf82,this[_0x4a921b(0x2e2)]();}[_0x97da62(0x2e2)](){const _0x263469=_0x97da62;this['disposeWithMe'](this[_0x263469(0x20a)]['state$'][_0x263469(0x3a1)](_0x5263b4=>{const _0x5ae9ed=_0x263469;_0x5263b4!=null&&_0x5263b4['show']&&this['_cellEditorManagerService'][_0x5ae9ed(0x1f8)]({'show':!0x1});}));}};_0x5c6d57=_0x18ac4c([_0x2a3a1f(0x0,_0x2d95ad['ICellEditorManagerService'])],_0x5c6d57);var _0x231632=(_0x1006de=>(_0x1006de[_0x1006de[_0x97da62(0x1fd)]=0x0]=_0x97da62(0x1fd),_0x1006de[_0x1006de['OK']=0x1]='OK',_0x1006de[_0x1006de[_0x97da62(0x3c4)]=0x2]=_0x97da62(0x3c4),_0x1006de[_0x1006de['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x1006de[_0x1006de[_0x97da62(0x200)]=0x4]=_0x97da62(0x200),_0x1006de[_0x1006de['UNAUTHENTICATED']=0x5]=_0x97da62(0x20b),_0x1006de[_0x1006de['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x1006de[_0x1006de['INVALID_ARGUMENT']=0x7]=_0x97da62(0x22b),_0x1006de[_0x1006de[_0x97da62(0x380)]=0x8]=_0x97da62(0x380),_0x1006de[_0x1006de[_0x97da62(0x1c9)]=0x9]=_0x97da62(0x1c9),_0x1006de[_0x1006de[_0x97da62(0x37c)]=0xa]=_0x97da62(0x37c),_0x1006de[_0x1006de[_0x97da62(0x313)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x1006de[_0x1006de['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x97da62(0x1d3),_0x1006de[_0x1006de[_0x97da62(0x26c)]=0xd]=_0x97da62(0x26c),_0x1006de[_0x1006de['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x97da62(0x246),_0x1006de[_0x1006de[_0x97da62(0x2d2)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x1006de[_0x1006de[_0x97da62(0x3b6)]=0x1771]=_0x97da62(0x3b6),_0x1006de[_0x1006de[_0x97da62(0x2ad)]=0x1772]=_0x97da62(0x2ad),_0x1006de[_0x1006de[_0x97da62(0x30b)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x1006de[_0x1006de[_0x97da62(0x257)]=0x1b59]='APPLY_REJECT',_0x1006de[_0x1006de[_0x97da62(0x2fa)]=0x1b5a]=_0x97da62(0x2fa),_0x1006de[_0x1006de[_0x97da62(0x217)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x1006de[_0x1006de[_0x97da62(0x1f3)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x1006de[_0x1006de[_0x97da62(0x36f)]=0x1b5d]=_0x97da62(0x36f),_0x1006de[_0x1006de[_0x97da62(0x3bf)]=0x1f41]=_0x97da62(0x3bf),_0x1006de[_0x1006de['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x97da62(0x214),_0x1006de[_0x1006de[_0x97da62(0x1e2)]=0x232a]=_0x97da62(0x1e2),_0x1006de[_0x1006de['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x97da62(0x1c2),_0x1006de[_0x1006de[_0x97da62(0x31b)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x1006de[_0x1006de[_0x97da62(0x1fb)]=0x232d]=_0x97da62(0x1fb),_0x1006de[_0x1006de['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x97da62(0x39e),_0x1006de[_0x1006de[_0x97da62(0x28b)]=0x2712]=_0x97da62(0x28b),_0x1006de[_0x1006de[_0x97da62(0x28f)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x1006de[_0x1006de[_0x97da62(0x1e8)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x1006de[_0x1006de[_0x97da62(0x32a)]=0x271a]=_0x97da62(0x32a),_0x1006de[_0x1006de['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x97da62(0x1ec),_0x1006de[_0x1006de['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x97da62(0x3bb),_0x1006de[_0x1006de[_0x97da62(0x262)]=0x271d]=_0x97da62(0x262),_0x1006de[_0x1006de[_0x97da62(0x2f6)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x1006de[_0x1006de[_0x97da62(0x208)]=0x271f]=_0x97da62(0x208),_0x1006de[_0x1006de[_0x97da62(0x27c)]=0x2720]=_0x97da62(0x27c),_0x1006de[_0x1006de['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x97da62(0x378),_0x1006de[_0x1006de[_0x97da62(0x26e)]=0x2ee1]=_0x97da62(0x26e),_0x1006de[_0x1006de[_0x97da62(0x33e)]=0x2ee2]=_0x97da62(0x33e),_0x1006de[_0x1006de[_0x97da62(0x374)]=0x2ee3]=_0x97da62(0x374),_0x1006de[_0x1006de[_0x97da62(0x26a)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x1006de[_0x1006de[_0x97da62(0x27f)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x1006de[_0x1006de['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x1006de[_0x1006de[_0x97da62(0x237)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x1006de[_0x1006de[_0x97da62(0x397)]=0x32cb]=_0x97da62(0x397),_0x1006de[_0x1006de[_0x97da62(0x239)]=-0x1]='UNRECOGNIZED',_0x1006de))(_0x231632||{}),_0x309ad6=(_0x3db62b=>(_0x3db62b[_0x3db62b[_0x97da62(0x203)]=0x0]=_0x97da62(0x203),_0x3db62b[_0x3db62b[_0x97da62(0x1b8)]=0x1]=_0x97da62(0x1b8),_0x3db62b[_0x3db62b[_0x97da62(0x39f)]=0x2]=_0x97da62(0x39f),_0x3db62b[_0x3db62b[_0x97da62(0x3a8)]=0x3]=_0x97da62(0x3a8),_0x3db62b[_0x3db62b[_0x97da62(0x37e)]=0x4]=_0x97da62(0x37e),_0x3db62b[_0x3db62b[_0x97da62(0x239)]=-0x1]=_0x97da62(0x239),_0x3db62b))(_0x309ad6||{}),_0x3408c5=(_0x3f30e2=>(_0x3f30e2[_0x3f30e2[_0x97da62(0x24b)]=0x0]='View',_0x3f30e2[_0x3f30e2[_0x97da62(0x26d)]=0x1]=_0x97da62(0x26d),_0x3f30e2[_0x3f30e2[_0x97da62(0x1ff)]=0x2]=_0x97da62(0x1ff),_0x3f30e2[_0x3f30e2[_0x97da62(0x2de)]=0x3]='Print',_0x3f30e2[_0x3f30e2[_0x97da62(0x34f)]=0x4]=_0x97da62(0x34f),_0x3f30e2[_0x3f30e2['Comment']=0x5]='Comment',_0x3f30e2[_0x3f30e2[_0x97da62(0x1f2)]=0x6]='Copy',_0x3f30e2[_0x3f30e2[_0x97da62(0x344)]=0x7]=_0x97da62(0x344),_0x3f30e2[_0x3f30e2['Export']=0x8]=_0x97da62(0x3a5),_0x3f30e2[_0x3f30e2[_0x97da62(0x268)]=0x9]=_0x97da62(0x268),_0x3f30e2[_0x3f30e2[_0x97da62(0x234)]=0xa]=_0x97da62(0x234),_0x3f30e2[_0x3f30e2[_0x97da62(0x3e6)]=0xb]='HideWorksheet',_0x3f30e2[_0x3f30e2[_0x97da62(0x361)]=0xc]=_0x97da62(0x361),_0x3f30e2[_0x3f30e2[_0x97da62(0x2a7)]=0xd]='CreateWorksheet',_0x3f30e2[_0x3f30e2[_0x97da62(0x394)]=0xe]=_0x97da62(0x394),_0x3f30e2[_0x3f30e2[_0x97da62(0x2ff)]=0xf]=_0x97da62(0x2ff),_0x3f30e2[_0x3f30e2['InsertHyperlink']=0x10]='InsertHyperlink',_0x3f30e2[_0x3f30e2['Sort']=0x11]=_0x97da62(0x376),_0x3f30e2[_0x3f30e2['Filter']=0x12]=_0x97da62(0x2b7),_0x3f30e2[_0x3f30e2['PivotTable']=0x13]=_0x97da62(0x327),_0x3f30e2[_0x3f30e2[_0x97da62(0x375)]=0x14]=_0x97da62(0x375),_0x3f30e2[_0x3f30e2['History']=0x15]=_0x97da62(0x2b3),_0x3f30e2[_0x3f30e2[_0x97da62(0x29c)]=0x16]='RwHgtClWdt',_0x3f30e2[_0x3f30e2[_0x97da62(0x293)]=0x17]=_0x97da62(0x293),_0x3f30e2[_0x3f30e2[_0x97da62(0x31a)]=0x18]='ViewFilter',_0x3f30e2[_0x3f30e2['MoveSheet']=0x19]=_0x97da62(0x36a),_0x3f30e2[_0x3f30e2[_0x97da62(0x2bc)]=0x1a]=_0x97da62(0x2bc),_0x3f30e2[_0x3f30e2['HideSheet']=0x1b]=_0x97da62(0x359),_0x3f30e2[_0x3f30e2[_0x97da62(0x258)]=0x1c]=_0x97da62(0x258),_0x3f30e2[_0x3f30e2[_0x97da62(0x300)]=0x1d]=_0x97da62(0x300),_0x3f30e2[_0x3f30e2[_0x97da62(0x352)]=0x1e]='CreateSheet',_0x3f30e2[_0x3f30e2['SelectProtectedCells']=0x1f]=_0x97da62(0x2c7),_0x3f30e2[_0x3f30e2['SelectUnProtectedCells']=0x20]='SelectUnProtectedCells',_0x3f30e2[_0x3f30e2[_0x97da62(0x2b0)]=0x21]='SetCellStyle',_0x3f30e2[_0x3f30e2[_0x97da62(0x30e)]=0x22]=_0x97da62(0x30e),_0x3f30e2[_0x3f30e2[_0x97da62(0x3d8)]=0x23]=_0x97da62(0x3d8),_0x3f30e2[_0x3f30e2[_0x97da62(0x38a)]=0x24]=_0x97da62(0x38a),_0x3f30e2[_0x3f30e2['InsertRow']=0x25]='InsertRow',_0x3f30e2[_0x3f30e2[_0x97da62(0x2af)]=0x26]=_0x97da62(0x2af),_0x3f30e2[_0x3f30e2[_0x97da62(0x1f7)]=0x27]=_0x97da62(0x1f7),_0x3f30e2[_0x3f30e2[_0x97da62(0x323)]=0x28]=_0x97da62(0x323),_0x3f30e2[_0x3f30e2['EditExtraObject']=0x29]=_0x97da62(0x2c8),_0x3f30e2[_0x3f30e2['Delete']=0x2a]=_0x97da62(0x302),_0x3f30e2[_0x3f30e2['RecoverHistory']=0x2b]=_0x97da62(0x309),_0x3f30e2[_0x3f30e2[_0x97da62(0x1be)]=0x2c]=_0x97da62(0x1be),_0x3f30e2[_0x3f30e2['CreatePermissionObject']=0x2d]=_0x97da62(0x3d6),_0x3f30e2[_0x3f30e2[_0x97da62(0x239)]=-0x1]=_0x97da62(0x239),_0x3f30e2))(_0x3408c5||{});function _0x4119a4(_0x37c021){const _0x48f76c=_0x97da62;return!!(_0x37c021&&_0x37c021[_0x48f76c(0x250)]&&_0x37c021[_0x48f76c(0x250)]!==_0x231632['OK']&&_0x37c021[_0x48f76c(0x250)]!=='OK');}const _0x293509=(_0x4cc2f6,_0x24fe3c)=>{const _0x3e2286=_0x97da62;if(!_0x4cc2f6)return{'date':'','time':''};const _0x26d2eb=new Date(_0x4cc2f6),_0x5d6eb4=_0x26d2eb['toISOString']()['split']('T')[0x0];switch(_0x24fe3c){case _0x1315f3[_0x3e2286(0x230)][_0x3e2286(0x3e4)]:return{'date':_0x4381db(_0x5d6eb4,_0x24fe3c),'time':_0x26d2eb[_0x3e2286(0x31d)]()+':'+String(_0x26d2eb[_0x3e2286(0x3b1)]())[_0x3e2286(0x2b5)](0x2,'0')};default:return{'date':_0x4381db(_0x5d6eb4,_0x24fe3c),'time':_0x26d2eb['getHours']()+':'+_0x26d2eb[_0x3e2286(0x3b1)]()};}},_0xb4662d=(_0x5e0981,_0xd42383)=>{const _0x389d30=_0x97da62,_0x33c5cf=_0x5e0981[_0x389d30(0x242)]||_0xd42383['t'](_0x389d30(0x25c));if(_0x5e0981['commands'][_0x389d30(0x36c)](_0x4d7db6=>_0x4d7db6===_0x4b6b6e[_0x389d30(0x3c2)]['id'])&&_0x5e0981[_0x389d30(0x1c6)]){const _0x2e753c=_0x293509(_0x5e0981['recoverTime'],_0xd42383[_0x389d30(0x37a)]()),_0x243768=_0x2e753c['date']+'\x20'+_0x2e753c[_0x389d30(0x36b)];return _0x33c5cf+'\x20'+_0xd42383['t'](_0x389d30(0x2ca))+'\x20'+_0x243768+'\x20'+_0xd42383['t'](_0x389d30(0x3c5));}const _0x55d61f=_0x17876d(_0x5e0981),_0x3c65c1=_0x55d61f[_0x389d30(0x3b5)]===0x1?_0xd42383['t'](_0x55d61f[0x0]):''+_0xd42383['t'](_0x55d61f[0x0])+_0xd42383['t'](_0x389d30(0x3da));return _0x33c5cf+'\x20'+_0x3c65c1;};function _0x17876d(_0x1f8a12){const _0x327a86=_0x97da62;if(_0x1f8a12['commands'][_0x327a86(0x3b5)]===0x0)return[''];const _0x28196d='editHistory.action.',_0xf588ad=_0x28196d+_0x327a86(0x3d2),_0x51bd84=[{'id':_0x4b6b6e[_0x327a86(0x335)]['id'],'action':_0x28196d+'createSheet'},{'id':_0x4b6b6e[_0x327a86(0x3c2)]['id'],'action':_0x28196d+'revertSheet'},{'id':_0x14bf15[_0x327a86(0x35c)]['id'],'action':_0x28196d+_0x327a86(0x350)},{'id':_0x14bf15['RemoveSheetMutation']['id'],'action':_0x28196d+_0x327a86(0x3cd)},{'id':_0x14bf15[_0x327a86(0x2d3)]['id'],'action':_0x28196d+'setFrozen'},{'id':_0xd94546[_0x327a86(0x38f)]['id'],'action':_0x28196d+'setFilter'},{'id':_0x218e73[_0x327a86(0x386)]['id'],'action':_0x28196d+_0x327a86(0x3e2)},{'id':_0x218e73[_0x327a86(0x21f)]['id'],'action':_0x28196d+_0x327a86(0x3e2)},{'id':_0x3cff8c[_0x327a86(0x318)]['id'],'action':_0x28196d+_0x327a86(0x2ef)},{'id':_0x3cff8c[_0x327a86(0x3c1)]['id'],'action':_0x28196d+_0x327a86(0x2ef)},{'id':_0x14bf15[_0x327a86(0x280)]['id'],'action':_0x28196d+_0x327a86(0x295)},{'id':_0x14bf15[_0x327a86(0x2b6)]['id'],'action':_0x28196d+'addProtection'},{'id':_0xf9f20a['AddSheetSparklineMutation']['id'],'action':_0x28196d+'addSparkline'},{'id':_0x14bf15[_0x327a86(0x2fb)]['id'],'action':_0x28196d+_0x327a86(0x395)},{'id':_0x14bf15['DeleteWorksheetProtectionMutation']['id'],'action':_0x28196d+_0x327a86(0x395)}][_0x327a86(0x357)](_0xdeae84=>_0x1f8a12[_0x327a86(0x1f5)]['includes'](_0xdeae84['id']));return _0x51bd84!=null&&_0x51bd84[_0x327a86(0x3b5)]?_0x51bd84['map'](_0x592429=>_0x592429[_0x327a86(0x355)]):[_0xf588ad];}function _0x4381db(_0x44c157,_0x47a931){const _0x1332e7=_0x97da62,[_0x219f32,_0x41e39e,_0x551393]=new Date()['toISOString']()[_0x1332e7(0x3e8)]('T')[0x0]['split']('-'),[_0x88d2eb,_0xcb63a6,_0x252258]=_0x44c157[_0x1332e7(0x3e8)]('-'),_0xfd99f7=_0x219f32===_0x88d2eb&&_0x41e39e===_0xcb63a6&&_0x551393===_0x252258;let _0x55fa50='',_0x4d2fc9='',_0xb33a02='';switch(_0x47a931){case _0x1315f3[_0x1332e7(0x230)][_0x1332e7(0x3e4)]:return _0xfd99f7?'今天':(_0x55fa50=_0x219f32===_0x88d2eb?'':_0x88d2eb+'年',_0x4d2fc9=_0xcb63a6+'月',_0xb33a02=_0x252258+'日',''+_0x55fa50+_0x4d2fc9+_0xb33a02);default:return _0xfd99f7?_0x1332e7(0x2d9):(_0x55fa50=_0x219f32===_0x88d2eb?'':_0x88d2eb+'-',_0x4d2fc9=_0xcb63a6+'-',_0xb33a02=''+_0x252258,''+_0x55fa50+_0x4d2fc9+_0xb33a02);}}function _0x190e27(_0x17b8e1){const _0xe7ac38=_0x97da62;return _0x17b8e1?_0x17b8e1[_0xe7ac38(0x354)]((_0x49f92b,_0x126ea4)=>{const _0x18bbdc=_0xe7ac38,_0x3ff58d=new Date(_0x126ea4[_0x18bbdc(0x36b)])[_0x18bbdc(0x235)]()[_0x18bbdc(0x3e8)]('T')[0x0];return _0x49f92b['length']>0x0&&_0x49f92b[_0x49f92b[_0x18bbdc(0x3b5)]-0x1][_0x18bbdc(0x1b9)]===_0x3ff58d?_0x49f92b[_0x49f92b[_0x18bbdc(0x3b5)]-0x1][_0x18bbdc(0x2a2)][_0x18bbdc(0x270)](_0x126ea4):_0x49f92b[_0x18bbdc(0x270)]({'dateString':_0x3ff58d,'versions':[_0x126ea4]}),_0x49f92b;},[]):[];}var _0x5a3d66=Object[_0x97da62(0x39a)],_0x1f5ef0=(_0x2e02c9,_0x404a08,_0x2ec375,_0x1f2cef)=>{const _0x441134=_0x97da62;for(var _0x59f2da=_0x1f2cef>0x1?void 0x0:_0x1f2cef?_0x5a3d66(_0x404a08,_0x2ec375):_0x404a08,_0x52e3c5=_0x2e02c9[_0x441134(0x3b5)]-0x1,_0x4f966b;_0x52e3c5>=0x0;_0x52e3c5--)(_0x4f966b=_0x2e02c9[_0x52e3c5])&&(_0x59f2da=_0x4f966b(_0x59f2da)||_0x59f2da);return _0x59f2da;},_0x1aef49=(_0x5db6e1,_0x59491d)=>(_0x2c0201,_0x1ba4b1)=>_0x59491d(_0x2c0201,_0x1ba4b1,_0x5db6e1);const _0x2591ca='/universer-api/history';let _0xdaa8e1=class extends _0x1315f3[_0x97da62(0x2a4)]{constructor(_0xd804b9,_0x4b8c3f,_0x539869,_0x51ab42,_0x4761d7,_0x1f8a2d){const _0x18b734=_0x97da62;super(),_0x216fc2(this,_0x18b734(0x244),new Map()),(this[_0x18b734(0x3aa)]=_0xd804b9,this[_0x18b734(0x212)]=_0x4b8c3f,this[_0x18b734(0x1d0)]=_0x539869,this['_configService']=_0x51ab42,this[_0x18b734(0x363)]=_0x4761d7,this[_0x18b734(0x31e)]=_0x1f8a2d);}[_0x97da62(0x29d)](){const _0x213fdd=_0x97da62;this[_0x213fdd(0x244)][_0x213fdd(0x34b)](),super[_0x213fdd(0x29d)]();}async['getVersions'](_0x4e5943,_0x52d8ba){const _0x3b06a=_0x97da62,_0x1033ae=this[_0x3b06a(0x2a1)]()+'/'+_0x4e5943+_0x3b06a(0x39b)+(_0x52d8ba?_0x3b06a(0x2fd)+_0x52d8ba:'');try{const _0x5e0d95=(await this[_0x3b06a(0x363)]['get'](_0x1033ae))[_0x3b06a(0x385)];if(_0x5e0d95&&_0x5e0d95[_0x3b06a(0x1c4)]&&_0x5e0d95['error'][_0x3b06a(0x250)]===_0x231632['OK']){const {hasMore:_0x2a9189,lastLabel:_0x442f1b}=_0x5e0d95,_0x260270=_0x76188b(_0x5e0d95),_0x346768=_0x5e0d95[_0x3b06a(0x28a)][_0x3b06a(0x2a8)];return{'hasMore':_0x2a9189,'lastLabel':_0x442f1b,'versions':_0x260270,'members':_0x346768};}}catch(_0x642faa){console['error'](_0x642faa);}return null;}['_getAPIPrefix'](){const _0x229f42=_0x97da62;var _0x371ba5;const _0x40f103=this[_0x229f42(0x345)][_0x229f42(0x24e)](_0x4267e4);return(_0x371ba5=_0x40f103==null?void 0x0:_0x40f103[_0x229f42(0x1fc)])!=null?_0x371ba5:_0x2591ca;}async[_0x97da62(0x3a4)](_0xd43872,_0x3c725b,_0x3cdbb5){const _0x365e95=_0x97da62;var _0xbac7f8,_0x4dd382;_0x3cdbb5===void 0x0&&(_0x3cdbb5={}),this[_0x365e95(0x244)][_0x365e95(0x285)](_0xd43872)||this[_0x365e95(0x244)][_0x365e95(0x2bf)](_0xd43872,new Map());const {snapshot:_0x36a4f5,changesets:_0x4a9194,error:_0x3b5238}=await this['_snapshotServerService'][_0x365e95(0x1ba)](_0x3cdbb5,{'unitID':_0xd43872,'type':_0x309ad6[_0x365e95(0x39f)],'revision':_0x3c725b});if(_0x4119a4(_0x3b5238)||!_0x36a4f5||!_0x36a4f5['workbook'])throw new Error(_0x365e95(0x24f));const _0x134ce0=(_0xbac7f8=_0x4a9194==null?void 0x0:_0x4a9194[_0x365e95(0x3b5)])!=null?_0xbac7f8:0x0;if(_0x3c725b!==0x0&&_0x36a4f5[_0x365e95(0x269)]+_0x134ce0!==_0x3c725b)throw new Error(_0x365e95(0x297));const {workbook:_0x1b08b8}=_0x36a4f5,_0x43ae65=_0x1b08b8[_0x365e95(0x3c3)]?Object[_0x365e95(0x33c)](_0x1b08b8[_0x365e95(0x3c3)])[_0x365e95(0x360)](([_0x3b2fa8,_0x521582])=>{const _0x4fbc2f=_0x365e95;var _0x5a37e2,_0x594c62;return(_0x594c62=(_0x5a37e2=_0x521582[_0x4fbc2f(0x223)])==null?void 0x0:_0x5a37e2[_0x4fbc2f(0x360)](_0x2016a6=>_0x2016a6))!=null?_0x594c62:[];})['flat']():[],_0x2cd0b2=(await Promise['all'](_0x43ae65[_0x365e95(0x360)](_0x2d9a01=>this[_0x365e95(0x3aa)][_0x365e95(0x366)](_0x3cdbb5,{'unitID':_0xd43872,'type':_0x309ad6['UNIVER_SHEET'],'blockID':_0x2d9a01})[_0x365e95(0x2aa)](_0x3fbc54=>_0x3fbc54['block']))))[_0x365e95(0x357)](_0x1f5612=>!!_0x1f5612),_0x528c81=_0x4b6b6e[_0x365e95(0x3ad)](_0x36a4f5,_0x2cd0b2,_0x3cdbb5);return(_0x4dd382=this['_workbookDataCache'][_0x365e95(0x36e)](_0xd43872))==null||_0x4dd382['set'](_0x3c725b,{'workbook':_0x528c81}),new Promise(_0x4f9aaa=>{const _0x143941=_0x365e95,_0x5c519d=this[_0x143941(0x212)][_0x143941(0x383)](_0x1315f3[_0x143941(0x260)][_0x143941(0x39f)]);_0x5c519d?(this[_0x143941(0x212)]['disposeUnit'](_0x5c519d[_0x143941(0x22d)]()),setTimeout(()=>{const _0x30ce64=_0x143941;this[_0x30ce64(0x1e1)](_0x528c81,_0x4a9194),_0x4f9aaa(!0x0);},0x0)):(this['_createUnit'](_0x528c81,_0x4a9194),_0x4f9aaa(!0x0));});}['_createUnit'](_0xcb37f1,_0x5b0b26){const _0x37405c=_0x97da62,_0x3cbb50=this[_0x37405c(0x212)][_0x37405c(0x32d)](_0x1315f3[_0x37405c(0x260)][_0x37405c(0x39f)],_0xcb37f1);this['_univerInstanceService'][_0x37405c(0x205)](_0x3cbb50[_0x37405c(0x22d)]());const _0x5256d3=this[_0x37405c(0x31e)]['interceptor']['fetchThroughInterceptors'](this['_compressMutationService']['interceptor'][_0x37405c(0x349)]()['COMPRESS_MUTATION_APPLY']);return _0x5b0b26==null||_0x5b0b26[_0x37405c(0x248)](_0x35ae8e=>{const _0x43c93c=_0x37405c,_0x398679=_0x35ae8e[_0x43c93c(0x1bc)]['map'](_0x261283=>({'id':_0x261283['id'],'params':JSON[_0x43c93c(0x371)](_0x261283['data'])}));({..._0x35ae8e,'mutations':_0x5256d3(_0x398679,null)||_0x398679}[_0x43c93c(0x1bc)][_0x43c93c(0x248)](_0x463a92=>{const _0x108e52=_0x43c93c;this[_0x108e52(0x1d0)][_0x108e52(0x1c3)](_0x463a92['id'])&&this[_0x108e52(0x1d0)][_0x108e52(0x326)](_0x463a92['id'],_0x463a92[_0x108e52(0x207)]);}));}),_0x3cbb50;}};_0xdaa8e1=_0x1f5ef0([_0x1aef49(0x0,_0x4b6b6e['ISnapshotServerService']),_0x1aef49(0x1,_0x1315f3[_0x97da62(0x356)]),_0x1aef49(0x2,_0x1315f3[_0x97da62(0x23a)]),_0x1aef49(0x3,_0x1315f3[_0x97da62(0x2c1)]),_0x1aef49(0x4,_0x1315f3['Inject'](_0x1e793f[_0x97da62(0x1cf)])),_0x1aef49(0x5,_0x1315f3['Inject'](_0x4b6b6e[_0x97da62(0x3b3)]))],_0xdaa8e1);function _0x76188b(_0x3c13de){const _0x3b6fe5=_0x97da62;var _0x47cf41,_0x3c83d5;const _0x4937ed=[],{entities:_0x3e906d,historyIds:_0x5343a2}=_0x3c13de,{datas:_0x350100,users:_0x22f875}=_0x3e906d;for(const _0x2648e4 of _0x5343a2)if(_0x350100[_0x2648e4]){const _0x4c7d43=!!((_0x47cf41=_0x22f875[_0x350100[_0x2648e4][_0x3b6fe5(0x245)]])!=null&&_0x47cf41[_0x3b6fe5(0x2c0)]);_0x4937ed[_0x3b6fe5(0x270)]({'unitId':_0x350100[_0x2648e4][_0x3b6fe5(0x209)],'user':_0x4c7d43?'':((_0x3c83d5=_0x22f875==null?void 0x0:_0x22f875[_0x350100[_0x2648e4][_0x3b6fe5(0x245)]])==null?void 0x0:_0x3c83d5[_0x3b6fe5(0x328)])||'','isAnonymous':_0x4c7d43,'id':_0x2648e4,'time':_0x350100[_0x2648e4][_0x3b6fe5(0x232)]?Number(_0x350100[_0x2648e4][_0x3b6fe5(0x232)]):void 0x0,'commands':_0x350100[_0x2648e4][_0x3b6fe5(0x1d4)],'startRev':Number(_0x350100[_0x2648e4]['startRevision']),'endRev':Number(_0x350100[_0x2648e4]['endRevision']),'recoverTime':_0x350100[_0x2648e4]['recoverTime']?Number(_0x350100[_0x2648e4][_0x3b6fe5(0x1c6)]):void 0x0});}return _0x4937ed;}var _0x1ca94f=Object[_0x97da62(0x39a)],_0x107ea6=(_0x1bba24,_0x11955d,_0x5b61c2,_0x3ca4f3)=>{const _0x1f0d0a=_0x97da62;for(var _0x2a006d=_0x3ca4f3>0x1?void 0x0:_0x3ca4f3?_0x1ca94f(_0x11955d,_0x5b61c2):_0x11955d,_0x3e6940=_0x1bba24[_0x1f0d0a(0x3b5)]-0x1,_0x43bf42;_0x3e6940>=0x0;_0x3e6940--)(_0x43bf42=_0x1bba24[_0x3e6940])&&(_0x2a006d=_0x43bf42(_0x2a006d)||_0x2a006d);return _0x2a006d;},_0x2b4314=(_0xb9acab,_0x346a68)=>(_0x5a35f2,_0x520d95)=>_0x346a68(_0x5a35f2,_0x520d95,_0xb9acab),_0x573e5a=(_0x3ad936=>(_0x3ad936[_0x97da62(0x2be)]='entered',_0x3ad936[_0x97da62(0x220)]='exited',_0x3ad936['Error']=_0x97da62(0x1c4),_0x3ad936))(_0x573e5a||{}),_0x5f5498=(_0x26b56c=>(_0x26b56c[_0x97da62(0x1b7)]='init',_0x26b56c[_0x97da62(0x1cd)]='loading',_0x26b56c['Loaded']=_0x97da62(0x247),_0x26b56c))(_0x5f5498||{});const _0x36e0a7=_0x97da62(0x243);_0x4dde3d['HistoryManagerService']=class extends _0x1315f3[_0x97da62(0x2a4)]{constructor(_0x21272f,_0x47f255,_0x58ec59,_0x61813a){const _0x12f4d0=_0x97da62;super(),_0x216fc2(this,_0x12f4d0(0x23d),new _0x407faa['BehaviorSubject']([])),_0x216fc2(this,_0x12f4d0(0x330),this[_0x12f4d0(0x23d)]['asObservable']()),_0x216fc2(this,_0x12f4d0(0x2f4),new _0x407faa[(_0x12f4d0(0x1e3))]('')),_0x216fc2(this,'currentVersion$',this[_0x12f4d0(0x2f4)][_0x12f4d0(0x2eb)]()),_0x216fc2(this,_0x12f4d0(0x3cf),new _0x407faa[(_0x12f4d0(0x1e3))](_0x12f4d0(0x267))),_0x216fc2(this,_0x12f4d0(0x1df),this[_0x12f4d0(0x3cf)][_0x12f4d0(0x2eb)]()),_0x216fc2(this,_0x12f4d0(0x201),new _0x407faa[(_0x12f4d0(0x1e3))](0x0)),_0x216fc2(this,_0x12f4d0(0x391),this[_0x12f4d0(0x201)][_0x12f4d0(0x2eb)]()),_0x216fc2(this,_0x12f4d0(0x292),new _0x407faa['BehaviorSubject']('')),_0x216fc2(this,_0x12f4d0(0x24d),this[_0x12f4d0(0x292)][_0x12f4d0(0x2eb)]()),_0x216fc2(this,_0x12f4d0(0x28c),!0x1),_0x216fc2(this,_0x12f4d0(0x3b2),new _0x407faa[(_0x12f4d0(0x1e3))]('init')),_0x216fc2(this,'loadingState$',this[_0x12f4d0(0x3b2)][_0x12f4d0(0x2eb)]()),_0x216fc2(this,_0x12f4d0(0x38e),null),_0x216fc2(this,_0x12f4d0(0x1db),!0x0),_0x216fc2(this,_0x12f4d0(0x228),new Map()),_0x216fc2(this,'_historyContainerId'),_0x216fc2(this,_0x12f4d0(0x33f)),_0x216fc2(this,_0x12f4d0(0x1bf)),_0x216fc2(this,'_canRevert',!0x1),(this[_0x12f4d0(0x373)]=_0x21272f,this['_confirmService']=_0x47f255,this[_0x12f4d0(0x26b)]=_0x58ec59,this['_historyFetchService']=_0x61813a);}async[_0x97da62(0x3df)](_0xc97f1b,_0x1d690e,_0x69dc2c){const _0x26201a=_0x97da62;this[_0x26201a(0x338)]=_0x1d690e,this[_0x26201a(0x204)]=_0x69dc2c,this[_0x26201a(0x292)][_0x26201a(0x336)](_0xc97f1b),this[_0x26201a(0x28c)]=!0x0;const _0x5245b8=await this[_0x26201a(0x3d5)][_0x26201a(0x381)](_0xc97f1b);if(this[_0x26201a(0x28c)]=!0x1,_0x5245b8){const {versions:_0x36fd0d,lastLabel:_0x2401d6,hasMore:_0x582e3c,members:_0x52493c}=_0x5245b8;_0x36fd0d[_0x26201a(0x3b5)]===0x0&&_0x36fd0d['push']({'unitId':_0xc97f1b,'id':_0x36e0a7,'startRev':0x1,'endRev':0x0,'time':Date[_0x26201a(0x2b2)](),'user':this[_0x26201a(0x26b)]['t'](_0x26201a(0x3ac)),'commands':[],'isAnonymous':!0x1}),this[_0x26201a(0x2ac)](_0x36fd0d,_0x582e3c,_0x2401d6,_0x52493c),this['_currentVersion$'][_0x26201a(0x336)](_0x36fd0d[0x0]['id']);}else this['_status$'][_0x26201a(0x336)]('error');}async['loadMoreVersions'](){const _0x4412b6=_0x97da62;if(!this[_0x4412b6(0x38e)]||!this['_hasMore']||this[_0x4412b6(0x28c)])return!0x1;this['_fetching']=!0x0;const _0x39653b=await this[_0x4412b6(0x3d5)]['getVersions'](this[_0x4412b6(0x209)],this[_0x4412b6(0x38e)]);if(this[_0x4412b6(0x28c)]=!0x1,_0x39653b){const {versions:_0x88570a,lastLabel:_0x5ed78a,hasMore:_0x4cd6b2,members:_0x58fb29}=_0x39653b;this[_0x4412b6(0x2ac)](_0x88570a,_0x4cd6b2,_0x5ed78a,_0x58fb29);}else this['_messageService'][_0x4412b6(0x3db)]({'content':this['_localeService']['t'](_0x4412b6(0x382)),'type':_0x59dff3[_0x4412b6(0x254)]['Error'],'duration':0xbb8});return!0x0;}async[_0x97da62(0x240)](_0x9c3afe){const _0x4c086a=_0x97da62;var _0x5db010;const _0x161e12=(_0x5db010=this[_0x4c086a(0x23d)][_0x4c086a(0x1d9)])==null?void 0x0:_0x5db010['find'](_0x1ce69a=>_0x1ce69a['id']===_0x9c3afe),{endRev:_0x368809}=_0x161e12||{};_0x368809||_0x368809===0x0?(this[_0x4c086a(0x3b2)]['next'](_0x4c086a(0x3a9)),await this[_0x4c086a(0x3d5)][_0x4c086a(0x3a4)](this[_0x4c086a(0x209)],_0x368809),this[_0x4c086a(0x3b2)][_0x4c086a(0x336)](_0x4c086a(0x247))):this[_0x4c086a(0x3cf)][_0x4c086a(0x336)](_0x4c086a(0x1c4));}async[_0x97da62(0x301)](_0x58b0af){const _0x5b748a=_0x97da62,_0x5cb5f7=_0x58b0af?this[_0x5b748a(0x216)](_0x58b0af):this['getCurrentVersion']();if(!_0x5cb5f7)return;const _0x2abcf1=_0x5cb5f7[_0x5b748a(0x273)],_0x47c06d=_0x293509(_0x5cb5f7[_0x5b748a(0x36b)],this[_0x5b748a(0x26b)][_0x5b748a(0x37a)]());await this[_0x5b748a(0x222)][_0x5b748a(0x306)]({'id':_0x5b748a(0x1c0),'title':{'title':this[_0x5b748a(0x26b)]['t'](_0x5b748a(0x1bd))},'children':{'title':this['_localeService']['t']('editHistory.panel.revertConfirmText')+':\x20('+_0x47c06d[_0x5b748a(0x2ce)]+'\x20'+_0x47c06d[_0x5b748a(0x36b)]+')'},'cancelText':this[_0x5b748a(0x26b)]['t'](_0x5b748a(0x3a3)),'confirmText':this[_0x5b748a(0x26b)]['t'](_0x5b748a(0x226))})&&this[_0x5b748a(0x201)][_0x5b748a(0x336)](_0x2abcf1);}['_updateVersions'](_0x42e4f6,_0x151107,_0xd2b378,_0x2d87a0){const _0x24ed40=_0x97da62;this['_versions$'][_0x24ed40(0x336)](this[_0x24ed40(0x23d)][_0x24ed40(0x1d9)][_0x24ed40(0x21a)](_0x42e4f6)),this['_hasMore']=_0x151107,this[_0x24ed40(0x38e)]=_0xd2b378,_0x2d87a0&&Object['keys'](_0x2d87a0)[_0x24ed40(0x248)](_0x91506f=>this[_0x24ed40(0x228)][_0x24ed40(0x2bf)](_0x91506f,_0x2d87a0[_0x91506f]));}[_0x97da62(0x1d8)](){const _0x3f8f19=_0x97da62;return this[_0x3f8f19(0x216)](this[_0x3f8f19(0x2f4)][_0x3f8f19(0x1d9)]);}[_0x97da62(0x216)](_0x240c98){const _0x290968=_0x97da62;var _0x48a881;return(_0x48a881=this[_0x290968(0x23d)]['value'])==null?void 0x0:_0x48a881['find'](_0x427319=>_0x427319['id']===_0x240c98);}['getMember'](_0x554254){const _0xdbbc51=_0x97da62;return this[_0xdbbc51(0x228)][_0xdbbc51(0x36e)](_0x554254);}[_0x97da62(0x32b)](){const _0x2fc932=_0x97da62;this['_maskElement']=document[_0x2fc932(0x1d7)](_0x2fc932(0x3ab)),this[_0x2fc932(0x1bf)]['className']=_0x2fc932(0x21c),this['_maskElement'][_0x2fc932(0x1cb)]['position']=_0x2fc932(0x3b9),this['_maskElement'][_0x2fc932(0x1cb)][_0x2fc932(0x1bb)]='0',this[_0x2fc932(0x1bf)][_0x2fc932(0x1cb)]['left']='0',this[_0x2fc932(0x1bf)][_0x2fc932(0x1cb)][_0x2fc932(0x32e)]=_0x2fc932(0x304),this['_maskElement'][_0x2fc932(0x1cb)][_0x2fc932(0x1ef)]='100%',this[_0x2fc932(0x1bf)]['style'][_0x2fc932(0x23b)]=_0x2fc932(0x2e6),this[_0x2fc932(0x1bf)][_0x2fc932(0x1cb)][_0x2fc932(0x2ec)]=_0x2fc932(0x305),this[_0x2fc932(0x1bf)][_0x2fc932(0x1cb)][_0x2fc932(0x2d4)]='flex',this[_0x2fc932(0x1bf)][_0x2fc932(0x1cb)][_0x2fc932(0x324)]=_0x2fc932(0x271),this[_0x2fc932(0x1bf)][_0x2fc932(0x1cb)]['zIndex']=_0x2fc932(0x282),this[_0x2fc932(0x1bf)][_0x2fc932(0x1cb)][_0x2fc932(0x2d4)]='none',this['_maskContainer'][_0x2fc932(0x275)](this[_0x2fc932(0x1bf)]);}[_0x97da62(0x231)](){const _0x537b5f=_0x97da62;var _0x3ea62d;const _0x551c1f=(_0x3ea62d=document[_0x537b5f(0x1d5)](this[_0x537b5f(0x338)]))==null?void 0x0:_0x3ea62d[_0x537b5f(0x2d8)](_0x537b5f(0x367));_0x551c1f&&(this[_0x537b5f(0x33f)]=_0x551c1f,this['_createMask']());}[_0x97da62(0x2ba)](){const _0x32c6d5=_0x97da62;this[_0x32c6d5(0x33f)]||this[_0x32c6d5(0x231)](),this['_maskElement']&&(this['_maskElement'][_0x32c6d5(0x1cb)][_0x32c6d5(0x2d4)]='flex');}[_0x97da62(0x3e7)](){const _0xd39947=_0x97da62;this[_0xd39947(0x1bf)]&&(this[_0xd39947(0x1bf)]['style'][_0xd39947(0x2d4)]=_0xd39947(0x213));}set['status'](_0x4c9bef){const _0x5ec3d0=_0x97da62;this[_0x5ec3d0(0x3cf)][_0x5ec3d0(0x336)](_0x4c9bef);}set[_0x97da62(0x22c)](_0x356b1e){const _0x5cb752=_0x97da62;_0x356b1e!==this[_0x5cb752(0x2f4)][_0x5cb752(0x1d9)]&&this['_currentVersion$']['next'](_0x356b1e);}get[_0x97da62(0x22c)](){const _0x25d4ce=_0x97da62;return this[_0x25d4ce(0x2f4)][_0x25d4ce(0x1d9)];}set[_0x97da62(0x209)](_0x458d81){const _0xa64b43=_0x97da62;this['_unitId$'][_0xa64b43(0x336)](_0x458d81);}get[_0x97da62(0x209)](){const _0x2bed29=_0x97da62;return this[_0x2bed29(0x292)][_0x2bed29(0x1d9)];}get[_0x97da62(0x1e9)](){const _0x189dc5=_0x97da62;return this[_0x189dc5(0x204)];}get[_0x97da62(0x252)](){return this['_loadingState$']['value'];}},_0x4dde3d[_0x97da62(0x332)]=_0x107ea6([_0x2b4314(0x0,_0x3af3cd[_0x97da62(0x2d1)]),_0x2b4314(0x1,_0x3af3cd[_0x97da62(0x281)]),_0x2b4314(0x2,_0x1315f3['Inject'](_0x1315f3['LocaleService'])),_0x2b4314(0x3,_0x1315f3[_0x97da62(0x1e4)](_0xdaa8e1))],_0x4dde3d[_0x97da62(0x332)]);var _0x283819=function(){const _0x364fe5=_0x97da62;return _0x283819=Object['assign']||function(_0x454a99){const _0x13ea19=_0x133d;for(var _0x51eb7a,_0x2bf6a8=0x1,_0x22f1c9=arguments['length'];_0x2bf6a8<_0x22f1c9;_0x2bf6a8++){_0x51eb7a=arguments[_0x2bf6a8];for(var _0x53cb73 in _0x51eb7a)Object[_0x13ea19(0x388)][_0x13ea19(0x1ce)][_0x13ea19(0x3c8)](_0x51eb7a,_0x53cb73)&&(_0x454a99[_0x53cb73]=_0x51eb7a[_0x53cb73]);}return _0x454a99;},_0x283819[_0x364fe5(0x20f)](this,arguments);},_0x462f9c=function(_0x37636a,_0x58c8c9){const _0x58526a=_0x97da62;var _0x354239={};for(var _0x13692e in _0x37636a)Object[_0x58526a(0x388)][_0x58526a(0x1ce)][_0x58526a(0x3c8)](_0x37636a,_0x13692e)&&_0x58c8c9['indexOf'](_0x13692e)<0x0&&(_0x354239[_0x13692e]=_0x37636a[_0x13692e]);if(_0x37636a!=null&&typeof Object[_0x58526a(0x29f)]==_0x58526a(0x35f)){for(var _0x51b527=0x0,_0x13692e=Object['getOwnPropertySymbols'](_0x37636a);_0x51b527<_0x13692e[_0x58526a(0x3b5)];_0x51b527++)_0x58c8c9[_0x58526a(0x33d)](_0x13692e[_0x51b527])<0x0&&Object[_0x58526a(0x388)][_0x58526a(0x399)][_0x58526a(0x3c8)](_0x37636a,_0x13692e[_0x51b527])&&(_0x354239[_0x13692e[_0x51b527]]=_0x37636a[_0x13692e[_0x51b527]]);}return _0x354239;},_0x59b111=_0x476344[_0x97da62(0x288)](function(_0x6ff952,_0xffc089){const _0xebfd77=_0x97da62;var _0x252ab0=_0x6ff952[_0xebfd77(0x2d7)],_0x3f4f09=_0x6ff952['id'],_0x3616a3=_0x6ff952['className'],_0x4ee790=_0x6ff952[_0xebfd77(0x24a)],_0x15deec=_0x462f9c(_0x6ff952,[_0xebfd77(0x2d7),'id',_0xebfd77(0x3d3),_0xebfd77(0x24a)]),_0x53cdfb=_0xebfd77(0x369)[_0xebfd77(0x21a)](_0x3f4f09,'\x20')[_0xebfd77(0x21a)](_0x3616a3||'')[_0xebfd77(0x2e9)](),_0x204dc1=_0x476344[_0xebfd77(0x1ed)]('_'['concat'](_0x2a7a45()));return _0x2d0168(_0x252ab0,''[_0xebfd77(0x21a)](_0x3f4f09),{'defIds':_0x252ab0[_0xebfd77(0x342)],'idSuffix':_0x204dc1['current']},_0x283819({'ref':_0xffc089,'className':_0x53cdfb},_0x15deec),_0x4ee790);});function _0x2d0168(_0x1d84bf,_0x482290,_0x1d2b0d,_0x178423,_0x13e0af){const _0x55bdbe=_0x97da62;return _0x476344[_0x55bdbe(0x1d7)](_0x1d84bf['tag'],_0x283819(_0x283819({'key':_0x482290},_0x2de00f(_0x1d84bf,_0x1d2b0d,_0x13e0af)),_0x178423),(_0x3a845a(_0x1d84bf,_0x1d2b0d)['children']||[])[_0x55bdbe(0x360)](function(_0x4a51f7,_0x1c9452){const _0x503251=_0x55bdbe;return _0x2d0168(_0x4a51f7,''['concat'](_0x482290,'-')[_0x503251(0x21a)](_0x1d84bf['tag'],'-')['concat'](_0x1c9452),_0x1d2b0d,void 0x0,_0x13e0af);}));}function _0x2de00f(_0x403194,_0x5854f2,_0x379595){const _0x1714f4=_0x97da62;var _0x13c284=_0x283819({},_0x403194[_0x1714f4(0x372)]);_0x379595!=null&&_0x379595[_0x1714f4(0x1b6)]&&_0x13c284[_0x1714f4(0x253)]===_0x1714f4(0x1b6)&&(_0x13c284[_0x1714f4(0x253)]=_0x379595[_0x1714f4(0x1b6)]),_0x403194[_0x1714f4(0x27b)]===_0x1714f4(0x1f6)&&_0x13c284['id']&&(_0x13c284['id']=_0x13c284['id']+_0x5854f2['idSuffix']),Object[_0x1714f4(0x33c)](_0x13c284)[_0x1714f4(0x248)](function(_0x29b69b){const _0x2c97dd=_0x1714f4;var _0x3381e7=_0x29b69b[0x0],_0x181373=_0x29b69b[0x1];_0x3381e7===_0x2c97dd(0x1f6)&&typeof _0x181373==_0x2c97dd(0x341)&&(_0x13c284[_0x3381e7]=_0x181373['replace'](/url\(#(.*)\)/,_0x2c97dd(0x1fe)[_0x2c97dd(0x21a)](_0x5854f2[_0x2c97dd(0x2e4)],')')));});var _0xcd72ea=_0x5854f2[_0x1714f4(0x342)];return!_0xcd72ea||_0xcd72ea[_0x1714f4(0x3b5)]===0x0||(_0x403194[_0x1714f4(0x27b)]==='use'&&_0x13c284['xlink:href']&&(_0x13c284[_0x1714f4(0x312)]=_0x13c284['xlink:href']+_0x5854f2['idSuffix']),Object['entries'](_0x13c284)[_0x1714f4(0x248)](function(_0x5dc459){const _0x2eba6b=_0x1714f4;var _0x3cd714=_0x5dc459[0x0],_0x320b99=_0x5dc459[0x1];typeof _0x320b99=='string'&&(_0x13c284[_0x3cd714]=_0x320b99[_0x2eba6b(0x3e1)](/url\(#(.*)\)/,_0x2eba6b(0x1fe)[_0x2eba6b(0x21a)](_0x5854f2[_0x2eba6b(0x2e4)],')')));})),_0x13c284;}function _0x3a845a(_0x19768f,_0x4269e4){const _0x1f49ec=_0x97da62;var _0x2c44c9,_0x5a75ff=_0x4269e4[_0x1f49ec(0x342)];return!_0x5a75ff||_0x5a75ff[_0x1f49ec(0x3b5)]===0x0?_0x19768f:_0x19768f[_0x1f49ec(0x27b)]===_0x1f49ec(0x20c)&&(!((_0x2c44c9=_0x19768f[_0x1f49ec(0x2b8)])===null||_0x2c44c9===void 0x0)&&_0x2c44c9['length'])?_0x283819(_0x283819({},_0x19768f),{'children':_0x19768f['children'][_0x1f49ec(0x360)](function(_0x28227b){const _0x54f6fd=_0x1f49ec;return typeof _0x28227b['attrs']['id']==_0x54f6fd(0x341)&&_0x5a75ff&&_0x5a75ff[_0x54f6fd(0x277)](_0x28227b[_0x54f6fd(0x372)]['id'])?_0x283819(_0x283819({},_0x28227b),{'attrs':_0x283819(_0x283819({},_0x28227b['attrs']),{'id':_0x28227b[_0x54f6fd(0x372)]['id']+_0x4269e4[_0x54f6fd(0x2e4)]})}):_0x28227b;})}):_0x19768f;}function _0x2a7a45(){const _0xa81c21=_0x97da62;return Math[_0xa81c21(0x3e9)]()[_0xa81c21(0x314)](0x24)[_0xa81c21(0x2d6)](0x2,0x8);}_0x59b111[_0x97da62(0x2a5)]='UniverIcon';var _0x4f77d2={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x97da62(0x25a),'width':_0x97da62(0x3ce),'height':_0x97da62(0x3ce)},'children':[{'tag':_0x97da62(0x3c0),'attrs':{'fill':_0x97da62(0x1ea),'d':_0x97da62(0x3cc)}}]},_0x3395d8=_0x476344[_0x97da62(0x288)](function(_0x1e4a2b,_0x25c03b){const _0x2de3a4=_0x97da62;return _0x476344['createElement'](_0x59b111,Object[_0x2de3a4(0x31c)]({},_0x1e4a2b,{'id':_0x2de3a4(0x31f),'ref':_0x25c03b,'icon':_0x4f77d2}));});_0x3395d8[_0x97da62(0x2a5)]=_0x97da62(0x296);var _0x1e6156={'tag':'svg','attrs':{'xmlns':_0x97da62(0x3af),'fill':_0x97da62(0x213),'viewBox':_0x97da62(0x25a),'width':'1em','height':_0x97da62(0x3ce)},'children':[{'tag':_0x97da62(0x3c0),'attrs':{'fill':_0x97da62(0x1d6),'d':_0x97da62(0x1d1),'fillOpacity':0.2,'fillRule':_0x97da62(0x298),'clipRule':'evenodd'}},{'tag':_0x97da62(0x3c0),'attrs':{'fill':'#0B9EFB','d':'M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','fillRule':'evenodd','clipRule':'evenodd'}}]},_0x2b741e=_0x476344[_0x97da62(0x288)](function(_0x4c91c1,_0x2dbd2f){const _0x283e27=_0x97da62;return _0x476344[_0x283e27(0x1d7)](_0x59b111,Object[_0x283e27(0x31c)]({},_0x4c91c1,{'id':'loading-multi-icon','ref':_0x2dbd2f,'icon':_0x1e6156}));});_0x2b741e[_0x97da62(0x2a5)]=_0x97da62(0x38b);var _0x3dbf65={'tag':_0x97da62(0x2e8),'attrs':{'xmlns':_0x97da62(0x3af),'fill':_0x97da62(0x213),'viewBox':_0x97da62(0x39d),'width':_0x97da62(0x3ce),'height':_0x97da62(0x3ce)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':_0x97da62(0x28d)},'children':[{'tag':'path','attrs':{'d':_0x97da62(0x3cb)}},{'tag':'path','attrs':{'d':'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','fillRule':_0x97da62(0x298),'clipRule':_0x97da62(0x298)}}]},{'tag':_0x97da62(0x20c),'attrs':{},'children':[{'tag':_0x97da62(0x316),'attrs':{'id':'restore-icon_clip0_1247_2'},'children':[{'tag':_0x97da62(0x255),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x97da62(0x305),'rx':0x4}}]}]}],'defIds':['restore-icon_clip0_1247_2']},_0x421593=_0x476344['forwardRef'](function(_0x2ccb7b,_0x5b5966){const _0xe2e9db=_0x97da62;return _0x476344['createElement'](_0x59b111,Object[_0xe2e9db(0x31c)]({},_0x2ccb7b,{'id':_0xe2e9db(0x3b4),'ref':_0x5b5966,'icon':_0x3dbf65}));});_0x421593['displayName']=_0x97da62(0x20e);function _0x1bdbec(){const _0x3df649=_0x97da62;var _0x5dc39c;const _0x17fcd5=_0x3af3cd[_0x3df649(0x37b)](_0x4dde3d[_0x3df649(0x332)]),_0x543cb0=_0x3af3cd['useDependency'](_0x1315f3[_0x3df649(0x339)]),_0x39dd31=_0x476344[_0x3df649(0x24c)](()=>{const _0x1be046=_0x3df649;_0x17fcd5[_0x1be046(0x393)]=_0x573e5a[_0x1be046(0x220)];},[_0x17fcd5]),_0x527ab4=_0x476344[_0x3df649(0x24c)](()=>{_0x17fcd5['triggerRevert']();},[_0x17fcd5]),_0x3b4401=_0x3af3cd[_0x3df649(0x333)](_0x17fcd5[_0x3df649(0x2b1)]),_0x45cede=_0x3af3cd['useObservable'](_0x17fcd5[_0x3df649(0x330)]),_0x51ee0c=_0x3b4401===((_0x5dc39c=_0x45cede==null?void 0x0:_0x45cede[0x0])==null?void 0x0:_0x5dc39c['id']),_0x291466=_0x3b4401!==''&&!_0x51ee0c&&_0x17fcd5[_0x3df649(0x1e9)];return _0x4a7d5f[_0x3df649(0x21d)](_0x3df649(0x3ab),{'className':_0x59dff3[_0x3df649(0x2dc)]('univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center',_0x59dff3[_0x3df649(0x29e)]),'children':[_0x4a7d5f[_0x3df649(0x3b0)](_0x3df649(0x3ab),{'onClick':_0x39dd31,'className':_0x3df649(0x236),'children':_0x4a7d5f[_0x3df649(0x3b0)](_0x3395d8,{'className':_0x3df649(0x3c7)})}),_0x4a7d5f[_0x3df649(0x3b0)](_0x3df649(0x3ab),{'className':'univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','children':_0x291466&&_0x4a7d5f['jsx'](_0x59dff3[_0x3df649(0x1f1)],{'variant':'primary','onClick':_0x527ab4,'children':_0x543cb0['t']('editHistory.header.revert')})})]});}var _0x3a7b4b=Object[_0x97da62(0x39a)],_0x49401d=(_0x517231,_0x2b9e53,_0x48d704,_0x124ece)=>{const _0x473a6d=_0x97da62;for(var _0x215e6d=_0x124ece>0x1?void 0x0:_0x124ece?_0x3a7b4b(_0x2b9e53,_0x48d704):_0x2b9e53,_0x5cb354=_0x517231[_0x473a6d(0x3b5)]-0x1,_0x185c41;_0x5cb354>=0x0;_0x5cb354--)(_0x185c41=_0x517231[_0x5cb354])&&(_0x215e6d=_0x185c41(_0x215e6d)||_0x215e6d);return _0x215e6d;},_0x57ab38=(_0xa1e9bc,_0x6f099e)=>(_0x502e39,_0x54d638)=>_0x6f099e(_0x502e39,_0x54d638,_0xa1e9bc);let _0x472b52=class extends _0x1315f3['Disposable']{constructor(_0x3c97ac,_0x195c61,_0x34aefa,_0x2cb24b,_0x185b08,_0x58bd4f){const _0x191f6d=_0x97da62;super(),this[_0x191f6d(0x3d7)]=_0x3c97ac,this[_0x191f6d(0x233)]=_0x195c61,this[_0x191f6d(0x373)]=_0x34aefa,this[_0x191f6d(0x26b)]=_0x2cb24b,this[_0x191f6d(0x303)]=_0x185b08,this[_0x191f6d(0x3b7)]=_0x58bd4f,this[_0x191f6d(0x2e2)]();}[_0x97da62(0x2e2)](){const _0x2c6099=_0x97da62;this[_0x2c6099(0x22a)](this[_0x2c6099(0x303)][_0x2c6099(0x2b1)][_0x2c6099(0x3a1)](_0x5eac6c=>{const _0x4769e2=_0x2c6099;_0x5eac6c&&this[_0x4769e2(0x303)][_0x4769e2(0x240)](_0x5eac6c);})),this['disposeWithMe'](this['_permissionService'][_0x2c6099(0x263)]['subscribe'](_0x13b138=>{const _0x108953=_0x2c6099,_0x40ed51=this['_historyManagerService'][_0x108953(0x209)];_0x40ed51&&(_0x13b138[_0x108953(0x249)]===_0x3408c5[_0x108953(0x26d)]&&_0x13b138[_0x108953(0x1d9)]===!0x0&&this[_0x108953(0x3d7)]['updatePermissionPoint'](new _0x14bf15['WorkbookEditablePermission'](_0x40ed51)['id'],!0x1),_0x13b138['subType']===_0x3408c5[_0x108953(0x300)]&&_0x13b138[_0x108953(0x1d9)]===!0x0&&this[_0x108953(0x3d7)][_0x108953(0x2a9)](new _0x14bf15[(_0x108953(0x3a0))](_0x40ed51)['id'],!0x1),_0x13b138[_0x108953(0x249)]===_0x3408c5[_0x108953(0x36a)]&&_0x13b138[_0x108953(0x1d9)]===!0x0&&this[_0x108953(0x3d7)]['updatePermissionPoint'](new _0x14bf15['WorkbookMoveSheetPermission'](_0x40ed51)['id'],!0x1),_0x13b138[_0x108953(0x249)]===_0x3408c5[_0x108953(0x359)]&&_0x13b138[_0x108953(0x1d9)]===!0x0&&this[_0x108953(0x3d7)][_0x108953(0x2a9)](new _0x14bf15[(_0x108953(0x274))](_0x40ed51)['id'],!0x1),_0x13b138['subType']===_0x3408c5[_0x108953(0x329)]&&_0x13b138[_0x108953(0x1d9)]===!0x0&&this[_0x108953(0x3d7)][_0x108953(0x2a9)](new _0x14bf15[(_0x108953(0x23e))](_0x40ed51)['id'],!0x1),_0x13b138[_0x108953(0x249)]===_0x3408c5[_0x108953(0x375)]&&_0x13b138['value']===!0x0&&this['_permissionService'][_0x108953(0x2a9)](new _0x14bf15['WorkbookEditablePermission'](_0x40ed51)['id'],!0x1));})),this[_0x2c6099(0x22a)](this['_uiPartsService'][_0x2c6099(0x219)](_0x3af3cd[_0x2c6099(0x251)][_0x2c6099(0x299)],()=>_0x3af3cd[_0x2c6099(0x25b)](_0x1bdbec,this[_0x2c6099(0x3b7)]))),this[_0x2c6099(0x22a)](this[_0x2c6099(0x303)][_0x2c6099(0x30d)][_0x2c6099(0x3a1)](_0x17746e=>{const _0x43b9c9=_0x2c6099;_0x17746e===_0x5f5498[_0x43b9c9(0x1cd)]&&(this['_historyManagerService'][_0x43b9c9(0x2ba)](),this[_0x43b9c9(0x373)][_0x43b9c9(0x3db)]({'type':_0x59dff3[_0x43b9c9(0x254)][_0x43b9c9(0x37f)],'content':this[_0x43b9c9(0x26b)]['t'](_0x43b9c9(0x276))})),_0x17746e===_0x5f5498['Loaded']&&this['_historyManagerService'][_0x43b9c9(0x3e7)]();}));}};_0x472b52=_0x49401d([_0x57ab38(0x0,_0x1315f3[_0x97da62(0x225)]),_0x57ab38(0x1,_0x3af3cd[_0x97da62(0x2e1)]),_0x57ab38(0x2,_0x3af3cd['IMessageService']),_0x57ab38(0x3,_0x1315f3[_0x97da62(0x1e4)](_0x1315f3[_0x97da62(0x339)])),_0x57ab38(0x4,_0x1315f3[_0x97da62(0x1e4)](_0x4dde3d['HistoryManagerService'])),_0x57ab38(0x5,_0x1315f3[_0x97da62(0x1e4)](_0x1315f3[_0x97da62(0x317)]))],_0x472b52);var _0x15674a=Object[_0x97da62(0x39a)],_0x5afd61=(_0x144b4d,_0x6189a2,_0x4740ac,_0x4fa29c)=>{const _0x4f54e6=_0x97da62;for(var _0xe7b8b7=_0x4fa29c>0x1?void 0x0:_0x4fa29c?_0x15674a(_0x6189a2,_0x4740ac):_0x6189a2,_0x550296=_0x144b4d[_0x4f54e6(0x3b5)]-0x1,_0x47fe95;_0x550296>=0x0;_0x550296--)(_0x47fe95=_0x144b4d[_0x550296])&&(_0xe7b8b7=_0x47fe95(_0xe7b8b7)||_0xe7b8b7);return _0xe7b8b7;},_0x22963f=(_0xa3e10,_0x3a66c7)=>(_0x20e6a2,_0x217243)=>_0x3a66c7(_0x20e6a2,_0x217243,_0xa3e10);let _0x23052f=class extends _0x1315f3[_0x97da62(0x2a4)]{constructor(_0x5105a6,_0x32e0c1,_0x4f069b){const _0x377283=_0x97da62;super(),_0x216fc2(this,_0x377283(0x325),new Map()),_0x216fc2(this,'_currentVersionDiff$',new _0x407faa[(_0x377283(0x1e3))]({'ranges':new Map(),'active':null})),_0x216fc2(this,'currentVersionDiff$',this[_0x377283(0x1e0)][_0x377283(0x2eb)]()),(this[_0x377283(0x303)]=_0x5105a6,this[_0x377283(0x23c)]=_0x32e0c1,this[_0x377283(0x3aa)]=_0x4f069b,this['_init']());}[_0x97da62(0x2e2)](){const _0x2f573a=_0x97da62;this['_diffRangesMap']=new Map(),this['disposeWithMe'](this[_0x2f573a(0x303)][_0x2f573a(0x24d)]['subscribe'](_0x33ecc9=>{const _0x5d56aa=_0x2f573a;_0x33ecc9&&!this[_0x5d56aa(0x325)][_0x5d56aa(0x285)](_0x33ecc9)&&this['_diffRangesMap']['set'](_0x33ecc9,new Map());})),this[_0x2f573a(0x22a)](this['_historyManagerService'][_0x2f573a(0x2b1)][_0x2f573a(0x3a1)](async _0x54f412=>{const _0x7a8f7a=_0x2f573a;var _0x3dc703;_0x54f412&&(await this[_0x7a8f7a(0x311)](_0x54f412),this[_0x7a8f7a(0x1e0)][_0x7a8f7a(0x336)](((_0x3dc703=this['_diffRangesMap'][_0x7a8f7a(0x36e)](this[_0x7a8f7a(0x303)][_0x7a8f7a(0x209)]))==null?void 0x0:_0x3dc703[_0x7a8f7a(0x36e)](_0x54f412))||{'ranges':new Map(),'active':null}));}));}async[_0x97da62(0x311)](_0x2c5e29){const _0x580b99=_0x97da62;var _0x10dae4,_0x158674;const _0x49d8f2=this[_0x580b99(0x303)][_0x580b99(0x216)](_0x2c5e29),_0x53debc=this['_historyManagerService']['unitId'];if(!_0x49d8f2||!_0x53debc)return;const _0x35638b=this['_diffRangesMap'][_0x580b99(0x36e)](_0x53debc);if(_0x35638b||this[_0x580b99(0x325)][_0x580b99(0x2bf)](_0x53debc,new Map()),(_0x10dae4=this[_0x580b99(0x325)][_0x580b99(0x36e)](_0x53debc))!=null&&_0x10dae4[_0x580b99(0x285)](_0x49d8f2['id']))return;const {startRev:_0xcad053,endRev:_0x574879}=_0x49d8f2;if(_0xcad053===0x1){_0x35638b['set'](_0x49d8f2['id'],{'ranges':new Map(),'active':null});return;}const _0x360ee9=_0xcad053-0x1,_0x464e48=_0x574879,_0x3da363=await this[_0x580b99(0x3aa)][_0x580b99(0x38c)]({},{'unitID':_0x53debc,'from':_0x360ee9,'to':_0x464e48,'type':_0x309ad6[_0x580b99(0x39f)]});if(((_0x158674=_0x3da363[_0x580b99(0x1c4)])==null?void 0x0:_0x158674['code'])===_0x231632['OK']){const _0x37429d=_0x3da363[_0x580b99(0x308)][_0x580b99(0x360)](_0x4b6b6e[_0x580b99(0x25f)])['map'](_0x418ec9=>_0x418ec9[_0x580b99(0x1bc)][_0x580b99(0x360)](_0x9e6ed7=>({..._0x9e6ed7,'params':{..._0x9e6ed7['params'],'memberId':_0x418ec9[_0x580b99(0x284)]}})))[_0x580b99(0x2c4)](),_0x2c2023=this[_0x580b99(0x2e7)](_0x37429d),_0x549c38=this['_getActiveSubUnitId'](_0x37429d),_0x25178e=this[_0x580b99(0x2f1)](_0x2c2023);_0x35638b[_0x580b99(0x2bf)](_0x49d8f2['id'],{'ranges':_0x25178e,'active':_0x549c38});}}['_transformMutationByOrder'](_0x476d65){const _0x4820c7=_0x97da62;let _0x586ffe=[];for(let _0x12fa20=0x0;_0x12fa20<_0x476d65[_0x4820c7(0x3b5)];_0x12fa20++){const _0x2a6a11=_0x476d65[_0x12fa20];if(_0x586ffe['push'](_0x2a6a11),_0x12fa20!==_0x476d65[_0x4820c7(0x3b5)]-0x1){const _0x47b0f4=_0x476d65[_0x12fa20+0x1],_0x2ec85b=this[_0x4820c7(0x23c)][_0x4820c7(0x2dd)](_0x586ffe,[_0x47b0f4]);_0x4b6b6e[_0x4820c7(0x377)](_0x2ec85b)?_0x586ffe=_0x2ec85b[_0x4820c7(0x2cc)]:_0x586ffe=[];}}return _0x586ffe;}[_0x97da62(0x21e)](_0x3bb16c){const _0x45df9e=_0x97da62;let _0x4746c5=[];return _0x3bb16c[_0x45df9e(0x248)](_0x231e95=>{const _0x1210b2=_0x45df9e;if(_0x231e95['id']===_0x14bf15['InsertSheetMutation']['id']){const _0x5e06dd=_0x231e95[_0x1210b2(0x207)];_0x4746c5[_0x1210b2(0x270)](_0x5e06dd[_0x1210b2(0x37d)]['id']);}else{if(_0x231e95['id']===_0x14bf15['RemoveSheetMutation']['id']){const _0x15eb54=_0x231e95[_0x1210b2(0x207)];_0x4746c5[_0x1210b2(0x3b5)]>0x0&&(_0x4746c5=_0x4746c5['filter'](_0x574738=>_0x574738!==_0x15eb54[_0x1210b2(0x3c9)]));}else{if(_0x231e95['id']===_0x14bf15[_0x1210b2(0x3a2)]['id']){const _0x1ee652=_0x231e95[_0x1210b2(0x207)];_0x1ee652['hidden']?_0x4746c5=_0x4746c5[_0x1210b2(0x357)](_0x3a716c=>_0x3a716c!==_0x1ee652['subUnitId']):_0x4746c5[_0x1210b2(0x270)](_0x1ee652[_0x1210b2(0x3c9)]);}else{const _0x4584d2=_0x231e95['params'];_0x4584d2[_0x1210b2(0x3c9)]&&_0x4746c5[_0x1210b2(0x270)](_0x4584d2[_0x1210b2(0x3c9)]);}}}}),_0x4746c5[_0x45df9e(0x3b5)]>0x0?_0x4746c5[_0x4746c5['length']-0x1]:null;}[_0x97da62(0x2f1)](_0x3f6574){const _0x323cf3=_0x97da62,_0x3f318f=new Map();return _0x3f6574['forEach'](_0x316677=>{const _0x4eeedd=_0x133d;var _0x154e4b,_0x5b9246;const _0x216467=(_0x154e4b=_0x316677[_0x4eeedd(0x207)])==null?void 0x0:_0x154e4b['memberId'];if(_0x216467){_0x3f318f['has'](_0x216467)||_0x3f318f['set'](_0x216467,[]);const _0x189598=this[_0x4eeedd(0x3d1)](_0x316677);(_0x5b9246=_0x3f318f[_0x4eeedd(0x36e)](_0x216467))==null||_0x5b9246[_0x4eeedd(0x270)](..._0x189598);}}),_0x3f318f[_0x323cf3(0x248)]((_0x51188e,_0x1f6de6)=>{const _0x29087a=_0x323cf3;_0x3f318f['set'](_0x1f6de6,this[_0x29087a(0x358)](_0x51188e));}),_0x3f318f;}[_0x97da62(0x3d1)](_0x45e633){const _0x119693=_0x97da62;switch(_0x45e633['id']){case _0x14bf15[_0x119693(0x2b6)]['id']:{const _0x30d326=_0x45e633['params'];return _0x30d326['rules'][_0x119693(0x360)](_0x350d47=>_0x350d47[_0x119693(0x25d)][_0x119693(0x360)](_0x35f1e2=>({'range':_0x35f1e2,'unitId':_0x30d326['unitId'],'subUnitId':_0x30d326[_0x119693(0x3c9)]})))[_0x119693(0x2c4)]();}case _0x14bf15['AddWorksheetMergeMutation']['id']:{const _0x4681a2=_0x45e633[_0x119693(0x207)];return _0x4681a2['ranges'][_0x119693(0x360)](_0x27ed9b=>({'range':_0x27ed9b,'unitId':_0x4681a2[_0x119693(0x209)],'subUnitId':_0x4681a2[_0x119693(0x3c9)]}));}case _0x14bf15[_0x119693(0x32c)]['id']:{const _0x20587e=_0x45e633[_0x119693(0x207)];return[{'range':_0x20587e[_0x119693(0x272)],'unitId':_0x20587e['unitId'],'subUnitId':_0x20587e[_0x119693(0x3c9)]}];}case _0x14bf15['InsertColMutation']['id']:{const _0x190ff0=_0x45e633[_0x119693(0x207)];return[{'range':_0x190ff0[_0x119693(0x272)],'unitId':_0x190ff0[_0x119693(0x209)],'subUnitId':_0x190ff0['subUnitId']}];}case _0x14bf15[_0x119693(0x384)]['id']:{const _0x298d56=_0x45e633[_0x119693(0x207)],{from:_0x110f60,to:_0x5c26ad,unitId:_0x121ac8}=_0x298d56;return[{'range':_0x415b6e(_0x110f60[_0x119693(0x1d9)]),'unitId':_0x121ac8,'subUnitId':_0x110f60[_0x119693(0x3c9)]},{'range':_0x415b6e(_0x5c26ad[_0x119693(0x1d9)]),'unitId':_0x121ac8,'subUnitId':_0x5c26ad[_0x119693(0x3c9)]}];}case _0x14bf15[_0x119693(0x364)]['id']:{const _0x393208=_0x45e633['params'],{unitId:_0x9040ce,subUnitId:_0x1c2e5a,sourceRange:_0x30c208,targetRange:_0x4839d3}=_0x393208,_0x8763ec=_0x30c208[_0x119693(0x3be)]-_0x30c208['startRow']+0x1;return[{'range':_0x4839d3[_0x119693(0x1cc)]<=_0x30c208[_0x119693(0x1cc)]?_0x4839d3:{..._0x4839d3,'startRow':_0x4839d3['startRow']-_0x8763ec,'endRow':_0x4839d3[_0x119693(0x3be)]-_0x8763ec},'unitId':_0x9040ce,'subUnitId':_0x1c2e5a}];}case _0x14bf15[_0x119693(0x2bd)]['id']:{const _0x5d67e4=_0x45e633[_0x119693(0x207)],{unitId:_0x4b1a33,subUnitId:_0x54b5ed,sourceRange:_0xaae963,targetRange:_0x4a6142}=_0x5d67e4,_0x45fd65=_0xaae963['endColumn']-_0xaae963[_0x119693(0x36d)]+0x1;return[{'range':_0x4a6142[_0x119693(0x36d)]<=_0xaae963[_0x119693(0x36d)]?_0x4a6142:{..._0x4a6142,'startColumn':_0x4a6142['startColumn']-_0x45fd65,'endColumn':_0x4a6142[_0x119693(0x2df)]-_0x45fd65},'unitId':_0x4b1a33,'subUnitId':_0x54b5ed}];}case _0x14bf15['SetNumfmtMutation']['id']:{const _0x35edf5=_0x45e633[_0x119693(0x207)],{values:_0x3fb67a,unitId:_0x290eda,subUnitId:_0x279524}=_0x35edf5;return Object['values'](_0x3fb67a)[_0x119693(0x360)](_0x1147ab=>_0x1147ab[_0x119693(0x25d)][_0x119693(0x360)](_0x5cfa6b=>({'range':_0x5cfa6b,'unitId':_0x290eda,'subUnitId':_0x279524})))[_0x119693(0x2c4)]();}case _0x14bf15[_0x119693(0x2e0)]['id']:{const _0x424671=_0x45e633[_0x119693(0x207)],{ranges:_0x42581f,unitId:_0x574ec5,subUnitId:_0x211b0c}=_0x424671;return _0x42581f[_0x119693(0x360)](_0x27b415=>({'range':_0x27b415,'unitId':_0x574ec5,'subUnitId':_0x211b0c}));}case _0x14bf15['ReorderRangeMutation']['id']:{const _0x4cc978=_0x45e633['params'],{unitId:_0x29af84,subUnitId:_0x27af5e,range:_0x29d27a}=_0x4cc978;return[{'range':_0x29d27a,'unitId':_0x29af84,'subUnitId':_0x27af5e}];}case _0x14bf15[_0x119693(0x224)]['id']:{const _0x37384c=_0x45e633[_0x119693(0x207)];return _0x37384c[_0x119693(0x283)]['ranges'][_0x119693(0x360)](_0x1ec8f5=>({'range':_0x1ec8f5,'unitId':_0x37384c['unitId'],'subUnitId':_0x37384c[_0x119693(0x3c9)]}));}case _0x14bf15[_0x119693(0x35b)]['id']:{const _0x57d746=_0x45e633['params'];return _0x57d746[_0x119693(0x30a)]?_0x561c9c(_0x57d746[_0x119693(0x30a)])[_0x119693(0x360)](_0x15b313=>({'range':_0x15b313,'unitId':_0x57d746[_0x119693(0x209)],'subUnitId':_0x57d746[_0x119693(0x3c9)]})):[];}case _0xd94546[_0x119693(0x38f)]['id']:{const _0x3a5105=_0x45e633[_0x119693(0x207)];return[{'range':_0x3a5105['range'],'unitId':_0x3a5105[_0x119693(0x209)],'subUnitId':_0x3a5105[_0x119693(0x3c9)]}];}case _0x218e73[_0x119693(0x386)]['id']:{const _0x1c6686=_0x45e633[_0x119693(0x207)];return(Array[_0x119693(0x1ee)](_0x1c6686[_0x119693(0x283)])?_0x1c6686[_0x119693(0x283)]:[_0x1c6686['rule']])[_0x119693(0x360)](_0x350cf4=>_0x350cf4[_0x119693(0x25d)]['map'](_0x21a0e0=>({'range':_0x21a0e0,'unitId':_0x1c6686['unitId'],'subUnitId':_0x1c6686[_0x119693(0x3c9)]})))[_0x119693(0x2c4)]();}case _0x3cff8c[_0x119693(0x318)]['id']:{const _0x34a4bd=_0x45e633[_0x119693(0x207)];return _0x34a4bd['rule'][_0x119693(0x25d)][_0x119693(0x360)](_0x3fc1c6=>({'range':_0x3fc1c6,'unitId':_0x34a4bd[_0x119693(0x209)],'subUnitId':_0x34a4bd['subUnitId']}));}default:return[];}}[_0x97da62(0x358)](_0x199b6b){const _0xd43042=_0x97da62;if(_0x199b6b[_0xd43042(0x3b5)]<=0x1)return _0x199b6b;const _0xc2298a=new Map();return _0x199b6b[_0xd43042(0x248)](_0x504de8=>{const _0x203f5d=_0xd43042;var _0x21a589;const {unitId:_0x2b78cf,subUnitId:_0x1ccf85}=_0x504de8,_0xa8816e=_0x2b78cf+'-'+_0x1ccf85;_0xc2298a[_0x203f5d(0x285)](_0xa8816e)?(_0x21a589=_0xc2298a[_0x203f5d(0x36e)](_0xa8816e))==null||_0x21a589[_0x203f5d(0x270)](_0x504de8):_0xc2298a[_0x203f5d(0x2bf)](_0xa8816e,[_0x504de8]);}),Array[_0xd43042(0x351)](_0xc2298a[_0xd43042(0x2c2)]())['map'](_0xd7be5b=>new _0x14bf15[(_0xd43042(0x2f3))]()[_0xd43042(0x392)](..._0xd7be5b[_0xd43042(0x360)](_0xcb84e3=>_0xcb84e3[_0xd43042(0x272)]))[_0xd43042(0x2f9)]()[_0xd43042(0x360)](_0x1b9462=>({'range':_0x1b9462,'unitId':_0xd7be5b[0x0][_0xd43042(0x209)],'subUnitId':_0xd7be5b[0x0][_0xd43042(0x3c9)]})))[_0xd43042(0x2c4)]();}};_0x23052f=_0x5afd61([_0x22963f(0x0,_0x1315f3[_0x97da62(0x1e4)](_0x4dde3d[_0x97da62(0x332)])),_0x22963f(0x1,_0x4b6b6e[_0x97da62(0x210)]),_0x22963f(0x2,_0x4b6b6e[_0x97da62(0x347)])],_0x23052f);function _0x415b6e(_0xc40d79){const _0x3acefb=_0x97da62;return new _0x1315f3[(_0x3acefb(0x387))](_0xc40d79)[_0x3acefb(0x3d4)]();}function _0x561c9c(_0x215efb){const _0x2b5437=_0x97da62,_0x468a50=new _0x1315f3[(_0x2b5437(0x387))](_0x215efb),_0x373019=new _0x1315f3['ObjectMatrix']();return _0x468a50[_0x2b5437(0x398)]((_0x136cab,_0x60037c)=>{const _0x337777=_0x2b5437;_0x373019[_0x337777(0x1f9)](_0x136cab,_0x60037c,0x1);}),_0x14bf15['findAllRectangle'](_0x373019);}var _0xd93c01=Object[_0x97da62(0x39a)],_0x4e7031=(_0x86b620,_0x2156b5,_0x55e497,_0x15835d)=>{const _0x4e8eb6=_0x97da62;for(var _0x6a5d6d=_0x15835d>0x1?void 0x0:_0x15835d?_0xd93c01(_0x2156b5,_0x55e497):_0x2156b5,_0x33ff11=_0x86b620[_0x4e8eb6(0x3b5)]-0x1,_0x115dc4;_0x33ff11>=0x0;_0x33ff11--)(_0x115dc4=_0x86b620[_0x33ff11])&&(_0x6a5d6d=_0x115dc4(_0x6a5d6d)||_0x6a5d6d);return _0x6a5d6d;},_0x1afb27=(_0x2c8f4c,_0x273f46)=>(_0x596981,_0x51fcd8)=>_0x273f46(_0x596981,_0x51fcd8,_0x2c8f4c);let _0x33211a=class extends _0x1315f3[_0x97da62(0x2a4)]{constructor(_0x39b1a4,_0x1c8f81,_0x4690ce,_0x3717c6,_0x46f3c2,_0x55e4d7,_0x37d0b5){const _0x45021a=_0x97da62;super(),_0x216fc2(this,_0x45021a(0x266),new Set()),_0x216fc2(this,_0x45021a(0x1e5),null),(this[_0x45021a(0x3b8)]=_0x39b1a4,this['_historyManagerService']=_0x1c8f81,this[_0x45021a(0x294)]=_0x4690ce,this[_0x45021a(0x212)]=_0x3717c6,this[_0x45021a(0x3e3)]=_0x46f3c2,this['_sheetSkeletonManagerService']=_0x55e4d7,this[_0x45021a(0x1d0)]=_0x37d0b5,this[_0x45021a(0x2e2)]());}[_0x97da62(0x2e2)](){const _0xaafaa7=_0x97da62;this[_0xaafaa7(0x238)](),this[_0xaafaa7(0x206)]();}[_0x97da62(0x238)](){const _0x29bd6c=_0x97da62;this[_0x29bd6c(0x22a)](_0x407faa[_0x29bd6c(0x211)]([this[_0x29bd6c(0x303)][_0x29bd6c(0x30d)],this['_sheetSkeletonManagerService'][_0x29bd6c(0x23f)]])[_0x29bd6c(0x2f2)](_0x407faa[_0x29bd6c(0x39c)](([_0x47130e,_0x4283cc])=>{const _0x29ac61=_0x29bd6c;if(_0x47130e===_0x5f5498[_0x29ac61(0x1eb)]&&_0x4283cc){const _0x1d8d5a=_0x4283cc[_0x29ac61(0x2fe)];return this[_0x29ac61(0x294)]['currentVersionDiff$']['pipe'](_0x407faa[_0x29ac61(0x360)](_0x39b9e5=>{const _0x23d9b6=_0x29ac61,_0x373788=new Map();return _0x39b9e5['ranges'][_0x23d9b6(0x248)]((_0x26fbb2,_0x2baaf0)=>{const _0x294b63=_0x23d9b6,_0x20ef85=_0x26fbb2[_0x294b63(0x357)](_0x6de02=>_0x6de02[_0x294b63(0x3c9)]===_0x1d8d5a);_0x373788[_0x294b63(0x2bf)](_0x2baaf0,_0x20ef85);}),{'skeleton':_0x4283cc,'diffs':_0x373788};}));}return _0x407faa['of']({'skeleton':null,'diffs':new Map()});}))[_0x29bd6c(0x3a1)](({skeleton:_0x403965,diffs:_0x5afa1d})=>{this['_removeDiffMarks'](),_0x403965&&this['_updateDiffMarks'](_0x403965,_0x5afa1d);})),this[_0x29bd6c(0x22a)](this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x29bd6c(0x3a1)](_0x3caa7e=>{const _0x37ca25=_0x29bd6c;if(_0x3caa7e==null)return;const {skeleton:_0x59a5b5}=_0x3caa7e,{scene:_0x378e56}=this['_context'];_0x378e56['onPointerMove$'][_0x37ca25(0x322)](_0x1315f3[_0x37ca25(0x35e)](_0x3f43fe=>{const _0x1fb60b=_0x37ca25;var _0x5282d9,_0x36dc31;const {offsetX:_0x19ae72,offsetY:_0x90358e}=_0x3f43fe,{x:_0x692850,y:_0x35d664}=_0x378e56['getRelativeToViewportCoord'](_0xed141c[_0x1fb60b(0x241)][_0x1fb60b(0x321)]([_0x19ae72,_0x90358e])),{scaleX:_0x55e4df,scaleY:_0x4cc4fd}=_0x378e56[_0x1fb60b(0x396)](),_0x222959=_0x378e56[_0x1fb60b(0x3c6)](_0xed141c[_0x1fb60b(0x2c6)]['VIEW_MAIN']),_0x17903f=_0x378e56[_0x1fb60b(0x320)](_0xed141c[_0x1fb60b(0x241)][_0x1fb60b(0x321)]([_0x692850,_0x35d664]),_0x222959),_0x23e4f6=_0x59a5b5[_0x1fb60b(0x28e)](_0x19ae72,_0x90358e,_0x55e4df,_0x4cc4fd,_0x17903f);((_0x5282d9=this['_lastPointer'])==null?void 0x0:_0x5282d9['column'])===_0x23e4f6['column']&&((_0x36dc31=this[_0x1fb60b(0x1e5)])==null?void 0x0:_0x36dc31[_0x1fb60b(0x21b)])===_0x23e4f6[_0x1fb60b(0x21b)]||this[_0x1fb60b(0x266)]['forEach'](_0x4c8a14=>{const _0x43a613=_0x1fb60b;_0x4c8a14[_0x43a613(0x20d)](_0x23e4f6);});},0x64));}));}[_0x97da62(0x206)](){const _0x26282e=_0x97da62;this['disposeWithMe'](this[_0x26282e(0x303)]['loadingState$'][_0x26282e(0x3a1)](_0xac0403=>{const _0x2d726e=_0x26282e,_0x41f2b9=new _0x1315f3[(_0x2d726e(0x3de))]();return _0xac0403===_0x5f5498['Loaded']&&(_0x41f2b9[_0x2d726e(0x29d)](),_0x41f2b9[_0x2d726e(0x392)](this[_0x2d726e(0x294)][_0x2d726e(0x1f0)][_0x2d726e(0x3a1)](_0x5ddc82=>{const _0xc8c07e=_0x2d726e;_0x5ddc82[_0xc8c07e(0x315)]&&this['_commandService'][_0xc8c07e(0x1da)](_0x14bf15['SetWorksheetActiveOperation']['id'],{'unitId':this[_0xc8c07e(0x3b8)][_0xc8c07e(0x209)],'subUnitId':_0x5ddc82[_0xc8c07e(0x315)]});}))),()=>_0x41f2b9['dispose']();}));}[_0x97da62(0x265)](_0x2ba1f8,_0x4b5882){const _0x395897=_0x97da62;var _0x400c5d;const _0x388427=(_0x400c5d=this['_sheetSkeletonManagerService'][_0x395897(0x3e0)]())==null?void 0x0:_0x400c5d['skeleton'];if(!_0x388427)return;this[_0x395897(0x266)][_0x395897(0x248)](_0x3356a1=>{const _0x33985b=_0x395897;_0x3356a1[_0x33985b(0x362)]();});const {scene:_0x468bdc}=this['_context'],_0x3d8931=Array[_0x395897(0x351)](_0x4b5882[_0x395897(0x290)]())[_0x395897(0x360)](_0x145a6e=>_0x4b5882[_0x395897(0x36e)](_0x145a6e)[_0x395897(0x360)](_0xa5dc64=>{const _0x3738ea=_0x395897;var _0x1f75c5;const {range:_0x17e0bb,subUnitId:_0x259df7,unitId:_0x2656d7}=_0xa5dc64,{startColumn:_0x33c3bc,startRow:_0xc97f06,endColumn:_0x78d700,endRow:_0x5982ad}=_0x17e0bb,_0x26b691=_0x2d95ad[_0x3738ea(0x27d)](_0xc97f06,_0x33c3bc,_0x468bdc,_0x388427),_0x3f2910=_0x2d95ad[_0x3738ea(0x27d)](_0x5982ad,_0x78d700,_0x468bdc,_0x388427),{columnHeaderHeightAndMarginTop:_0x253ae4}=_0x388427,{startX:_0x5dc84a,startY:_0x25abc2}=_0x26b691,{endX:_0x4acc87,endY:_0xf6d4a0}=_0x3f2910,_0x71c4d1=_0x4acc87-_0x5dc84a,_0x10454e=_0xf6d4a0-_0x25abc2,_0x513ed6={'labelPosition':_0x25abc2-_0x253ae4>=0x14?_0x3738ea(0x1bb):_0x3738ea(0x3dd),'sheetID':_0x259df7,'range':_0x17e0bb,'color':'rgba(58,\x2096,\x20247,\x200.20)','fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x3738ea(0x2bb),'name':((_0x1f75c5=this[_0x3738ea(0x303)][_0x3738ea(0x2f7)](_0x145a6e))==null?void 0x0:_0x1f75c5['name'])||'','selection':_0x2656d7+'-'+_0x259df7+'-'+_0x17e0bb[_0x3738ea(0x36d)]+'-'+_0x17e0bb[_0x3738ea(0x1cc)]+'-'+_0x17e0bb[_0x3738ea(0x2df)]+'-'+_0x17e0bb[_0x3738ea(0x3be)],'left':_0x5dc84a,'top':_0x25abc2,'width':_0x71c4d1,'height':_0x10454e,'evented':!0x1,'zIndex':0x1};return new _0x35818e[(_0x3738ea(0x2f5))]('',_0x513ed6);}))[_0x395897(0x2c4)]();_0x468bdc[_0x395897(0x1e6)](_0x3d8931,0x1),this[_0x395897(0x266)]=new Set(_0x3d8931);}[_0x97da62(0x2ae)](){const _0x810d92=_0x97da62;var _0x287b5b;(_0x287b5b=this[_0x810d92(0x266)])==null||_0x287b5b[_0x810d92(0x248)](_0x247be1=>_0x247be1[_0x810d92(0x29d)]());}[_0x97da62(0x33a)](){const _0x25b0cd=_0x97da62;return _0x2d95ad[_0x25b0cd(0x1ca)](this[_0x25b0cd(0x212)],this[_0x25b0cd(0x3e3)]);}};_0x33211a=_0x4e7031([_0x1afb27(0x1,_0x1315f3[_0x97da62(0x1e4)](_0x4dde3d[_0x97da62(0x332)])),_0x1afb27(0x2,_0x1315f3[_0x97da62(0x1e4)](_0x23052f)),_0x1afb27(0x3,_0x1315f3[_0x97da62(0x356)]),_0x1afb27(0x4,_0xed141c[_0x97da62(0x2b4)]),_0x1afb27(0x5,_0x1315f3[_0x97da62(0x1e4)](_0x2d95ad[_0x97da62(0x2a6)])),_0x1afb27(0x6,_0x1315f3[_0x97da62(0x23a)])],_0x33211a);function _0xc36f13(){const _0x18c593=_0x97da62,_0x41f5a4=_0x3af3cd['useDependency'](_0x4dde3d[_0x18c593(0x332)]),_0x2bf433=_0x3af3cd['useObservable'](_0x41f5a4[_0x18c593(0x330)]),[_0x385fd4,_0x46de36]=_0x476344[_0x18c593(0x307)](!0x1),_0x37effe=_0x190e27(_0x2bf433);return _0x2bf433?_0x4a7d5f[_0x18c593(0x3b0)](_0x18c593(0x3ab),{'className':_0x18c593(0x227),'children':_0x4a7d5f[_0x18c593(0x21d)]('div',{'className':_0x18c593(0x2c5),'children':[_0x37effe['map']((_0xe3d03b,_0x6e1e37)=>_0x4a7d5f[_0x18c593(0x21d)](_0x476344[_0x18c593(0x2e3)],{'children':[_0x4a7d5f[_0x18c593(0x3b0)](_0x244ddc,{'date':_0xe3d03b[_0x18c593(0x1b9)]}),_0xe3d03b['versions'][_0x18c593(0x360)]((_0x378fd8,_0xe0f4ed)=>_0x4a7d5f[_0x18c593(0x3b0)](_0x92f7e7,{'index':[_0x6e1e37,_0xe0f4ed],'item':_0x378fd8},_0x6e1e37+'-'+_0xe0f4ed))]},_0xe3d03b[_0x18c593(0x1b9)])),_0x385fd4&&_0x4a7d5f[_0x18c593(0x3b0)](_0x3eb135,{})]})}):_0x4a7d5f[_0x18c593(0x3b0)](_0x44bb52,{});}function _0x3eb135(){const _0x310466=_0x97da62;return _0x4a7d5f[_0x310466(0x3b0)](_0x310466(0x3ab),{'className':_0x310466(0x34d),'children':_0x4a7d5f[_0x310466(0x3b0)](_0x2b741e,{'className':'univer-animate-spin'})});}function _0x44bb52(){const _0x5ef60c=_0x97da62;return _0x4a7d5f['jsx'](_0x5ef60c(0x3ab),{'className':_0x5ef60c(0x389),'children':_0x4a7d5f['jsx'](_0x5ef60c(0x2f0),{'className':_0x5ef60c(0x319),'children':_0x4a7d5f[_0x5ef60c(0x3b0)](_0x2b741e,{'className':_0x5ef60c(0x2c3)})})});}function _0x244ddc(_0x5ae012){const _0x3480e2=_0x97da62,_0x26f687=_0x3af3cd[_0x3480e2(0x37b)](_0x1315f3[_0x3480e2(0x339)]),{date:_0x2093c2}=_0x5ae012;return _0x4a7d5f[_0x3480e2(0x3b0)](_0x3480e2(0x3ab),{'className':_0x3480e2(0x2f8),'children':_0x4381db(_0x2093c2,_0x26f687['getCurrentLocale']())});}function _0x92f7e7(_0x6b1f30){const _0x4eb4db=_0x97da62,{item:_0x34f215,index:_0x396528}=_0x6b1f30,{time:_0x1016bc,user:_0x59731d}=_0x34f215,[_0x226b7c,_0x18085e]=_0x396528,_0x4868cb=_0x3af3cd[_0x4eb4db(0x37b)](_0x4dde3d[_0x4eb4db(0x332)]),_0x3ea465=_0x3af3cd['useObservable'](_0x4868cb[_0x4eb4db(0x2b1)],'',!0x0)===_0x34f215['id'],_0x55e776=_0x226b7c===0x0&&_0x18085e===0x0,_0x534d0b=!_0x55e776&&_0x4868cb[_0x4eb4db(0x1e9)],_0x18231c=_0x3af3cd[_0x4eb4db(0x37b)](_0x1315f3['LocaleService']),_0x593ec9=_0x18231c[_0x4eb4db(0x37a)](),_0x1f1a6e=_0x293509(_0x1016bc,_0x593ec9),_0x3b2b17=_0x18231c['t'](_0x4eb4db(0x390)),_0x340702=_0x476344[_0x4eb4db(0x24c)](_0x24a2f0=>{const _0x3611ae=_0x4eb4db;_0x4868cb[_0x3611ae(0x252)]!==_0x5f5498[_0x3611ae(0x1cd)]&&(_0x4868cb[_0x3611ae(0x22c)]=_0x24a2f0);},[_0x4868cb]),_0x293bc9=_0x476344[_0x4eb4db(0x24c)](_0x828b69=>{const _0x281499=_0x4eb4db;_0x4868cb[_0x281499(0x301)](_0x828b69);},[_0x4868cb]);return _0x4a7d5f[_0x4eb4db(0x21d)]('div',{'className':_0x59dff3[_0x4eb4db(0x2dc)](_0x4eb4db(0x34c),{'univer-bg-gray-50':_0x3ea465}),'onClick':()=>_0x340702(_0x34f215['id']),'children':[_0x4a7d5f[_0x4eb4db(0x21d)]('div',{'className':_0x4eb4db(0x310),'children':[_0x4a7d5f[_0x4eb4db(0x3b0)](_0x4eb4db(0x3ab),{'className':'univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-400'}),_0x4a7d5f[_0x4eb4db(0x21d)](_0x4eb4db(0x3ab),{'className':'univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[_0x4a7d5f['jsx']('span',{'children':_0x1f1a6e['time']}),_0x55e776&&_0x4a7d5f[_0x4eb4db(0x3b0)](_0x4eb4db(0x2f0),{'className':_0x4eb4db(0x1f4),'children':_0x3b2b17})]}),_0x4a7d5f[_0x4eb4db(0x3b0)]('div',{'children':_0x534d0b&&_0x4a7d5f['jsx'](_0x59dff3[_0x4eb4db(0x2da)],{'title':_0x18231c['t']('editHistory.panel.revertDesc'),'children':_0x4a7d5f[_0x4eb4db(0x3b0)](_0x4eb4db(0x3ab),{'onClick':_0x50c524=>{const _0x2073cc=_0x4eb4db;_0x50c524[_0x2073cc(0x25e)](),_0x293bc9(_0x34f215['id']);},'className':_0x4eb4db(0x3d9),'children':_0x4a7d5f[_0x4eb4db(0x3b0)](_0x421593,{})})})})]}),_0x4a7d5f[_0x4eb4db(0x3b0)](_0x4eb4db(0x3ab),{'className':'univer-pl-[26px]\x20univer-text-sm\x20univer-leading-5\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0xb4662d(_0x34f215,_0x18231c)})]});}var _0x56a3cf=Object[_0x97da62(0x39a)],_0x135a86=(_0x577cd8,_0x3e927b,_0x5ccd91,_0x2578a8)=>{const _0x4f04d9=_0x97da62;for(var _0x116e34=_0x2578a8>0x1?void 0x0:_0x2578a8?_0x56a3cf(_0x3e927b,_0x5ccd91):_0x3e927b,_0x212b25=_0x577cd8[_0x4f04d9(0x3b5)]-0x1,_0x19f711;_0x212b25>=0x0;_0x212b25--)(_0x19f711=_0x577cd8[_0x212b25])&&(_0x116e34=_0x19f711(_0x116e34)||_0x116e34);return _0x116e34;},_0x49f1b5=(_0x5ac8ce,_0x2877ff)=>(_0x36efa7,_0x90a994)=>_0x2877ff(_0x36efa7,_0x90a994,_0x5ac8ce);const _0x362dcd='history-panel';let _0x4fd560=class extends _0x1315f3['Disposable']{constructor(_0xc03106,_0x4baa0f,_0x1b6062,_0x4b9ac6){const _0x268f2b=_0x97da62;super(),_0x216fc2(this,'_sidebarDisposable',null),(this[_0x268f2b(0x2cf)]=_0xc03106,this[_0x268f2b(0x346)]=_0x4baa0f,this[_0x268f2b(0x26b)]=_0x1b6062,this[_0x268f2b(0x303)]=_0x4b9ac6,this['_init']());}[_0x97da62(0x2e2)](){const _0x1b7558=_0x97da62;this[_0x1b7558(0x2fc)](),this[_0x1b7558(0x278)]();}[_0x97da62(0x278)](){const _0x2396ba=_0x97da62;if(this['_sidebarDisposable'])return;const _0x51424b={'header':{'title':this[_0x2396ba(0x26b)]['t'](_0x2396ba(0x337))},'children':{'label':_0x362dcd},'onClose':()=>{const _0x42657e=_0x2396ba;this[_0x42657e(0x3dc)]=null,this[_0x42657e(0x303)]['status']=_0x573e5a['Exited'];}};this['_sidebarDisposable']=this[_0x2396ba(0x2cf)][_0x2396ba(0x259)]({..._0x51424b});}[_0x97da62(0x2fc)](){const _0x2e6297=_0x97da62;this[_0x2e6297(0x22a)](this[_0x2e6297(0x346)]['register'](_0x362dcd,_0xc36f13)),this[_0x2e6297(0x22a)](this[_0x2e6297(0x2cf)][_0x2e6297(0x1e7)][_0x2e6297(0x2f2)](_0x407faa[_0x2e6297(0x202)](0x64))['subscribe'](_0x279151=>{const _0x48a977=_0x2e6297,{target:_0x53038d}=_0x279151||{};if(_0x53038d){const {scrollTop:_0x212237,scrollHeight:_0x568d37,clientHeight:_0x6f7fe8}=_0x53038d;_0x212237+_0x6f7fe8>=_0x568d37-0x5&&this[_0x48a977(0x303)]['loadMoreVersions']();}}));}};_0x4fd560=_0x135a86([_0x49f1b5(0x0,_0x3af3cd[_0x97da62(0x3a7)]),_0x49f1b5(0x1,_0x1315f3[_0x97da62(0x1e4)](_0x3af3cd[_0x97da62(0x2cd)])),_0x49f1b5(0x2,_0x1315f3['Inject'](_0x1315f3[_0x97da62(0x339)])),_0x49f1b5(0x3,_0x1315f3['Inject'](_0x4dde3d[_0x97da62(0x332)]))],_0x4fd560);class _0x31d00d extends _0x1315f3['Disposable']{constructor(){const _0x1fd1aa=_0x97da62;super(),_0x216fc2(this,'_dialogOptions$',new _0x407faa[(_0x1fd1aa(0x22e))]());}[_0x97da62(0x259)](){const _0x4120ab=_0x97da62;return _0x1315f3[_0x4120ab(0x2d0)](()=>{});}[_0x97da62(0x2e5)](){}[_0x97da62(0x348)](_0x38981d){}['getDialogs$'](){const _0x450016=_0x97da62;return this[_0x450016(0x29a)][_0x450016(0x2eb)]();}}var _0x5fb66f=Object[_0x97da62(0x279)],_0x423802=Object[_0x97da62(0x39a)],_0x4497d6=(_0x1d7e56,_0x15ad96,_0x4e36ac)=>_0x15ad96 in _0x1d7e56?_0x5fb66f(_0x1d7e56,_0x15ad96,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4e36ac}):_0x1d7e56[_0x15ad96]=_0x4e36ac,_0x325e1a=(_0x3b22d0,_0x2cbc6c,_0x5f2f78,_0xde0925)=>{const _0x21c223=_0x97da62;for(var _0x239717=_0xde0925>0x1?void 0x0:_0xde0925?_0x423802(_0x2cbc6c,_0x5f2f78):_0x2cbc6c,_0x25fa71=_0x3b22d0[_0x21c223(0x3b5)]-0x1,_0x17a383;_0x25fa71>=0x0;_0x25fa71--)(_0x17a383=_0x3b22d0[_0x25fa71])&&(_0x239717=_0x17a383(_0x239717)||_0x239717);return _0x239717;},_0x58172f=(_0x1b379d,_0x3a9b3c)=>(_0xfa97b9,_0x2a3587)=>_0x3a9b3c(_0xfa97b9,_0x2a3587,_0x1b379d),_0x2f511c=(_0x522af1,_0x37e6a4,_0x28ea47)=>_0x4497d6(_0x522af1,_0x37e6a4+'',_0x28ea47);const _0x12444d='UNIVER_EDIT_HISTORY_VIEWER_PLUGIN';_0x4dde3d[_0x97da62(0x1fa)]=class extends _0x1315f3[_0x97da62(0x287)]{constructor(_0x3d1a5e=_0x4aa1a1,_0x189688,_0x4e4ed0,_0xbb7012){const _0x46adbe=_0x97da62;super(),this['_config']=_0x3d1a5e,this[_0x46adbe(0x3b7)]=_0x189688,this['_renderManagerService']=_0x4e4ed0,this[_0x46adbe(0x345)]=_0xbb7012;const {..._0x3a21d2}=_0x1315f3[_0x46adbe(0x2f9)]({},_0x4aa1a1,this['_config']);this[_0x46adbe(0x345)][_0x46adbe(0x229)](_0x4267e4,_0x3a21d2);}[_0x97da62(0x3e5)](){const _0x65bad2=_0x97da62;[[_0x4dde3d['HistoryManagerService']],[_0x472b52],[_0x23052f],[_0xdaa8e1],[_0x4fd560],[_0x5c6d57],[_0x4b6b6e[_0x65bad2(0x347)],{'useClass':_0x35df16[_0x65bad2(0x35d)]}],[_0x3af3cd[_0x65bad2(0x3ca)],{'useClass':_0x31d00d}],[_0x162467['IImageIoService'],{'useClass':_0x35df16[_0x65bad2(0x221)]}]][_0x65bad2(0x248)](_0x4d97fe=>this[_0x65bad2(0x3b7)][_0x65bad2(0x392)](_0x4d97fe)),this[_0x65bad2(0x3b7)][_0x65bad2(0x36e)](_0x472b52);}[_0x97da62(0x353)](){const _0x16953a=_0x97da62;[[_0x33211a]][_0x16953a(0x248)](_0x238893=>{const _0xd34d20=_0x16953a;this[_0xd34d20(0x22a)](this['_renderManagerService'][_0xd34d20(0x1d2)](_0x1315f3[_0xd34d20(0x260)]['UNIVER_SHEET'],_0x238893));}),this[_0x16953a(0x3b7)]['get'](_0x5c6d57),this[_0x16953a(0x3b7)][_0x16953a(0x36e)](_0x4fd560);}[_0x97da62(0x340)](){const _0x46c975=_0x97da62;this[_0x46c975(0x3b7)][_0x46c975(0x36e)](_0x23052f);}},_0x2f511c(_0x4dde3d[_0x97da62(0x1fa)],_0x97da62(0x379),_0x12444d),_0x4dde3d[_0x97da62(0x1fa)]=_0x325e1a([_0x1315f3['DependentOn'](_0x2d95ad[_0x97da62(0x3ea)],_0x1e793f[_0x97da62(0x334)]),_0x58172f(0x1,_0x1315f3['Inject'](_0x1315f3[_0x97da62(0x317)])),_0x58172f(0x2,_0xed141c['IRenderManagerService']),_0x58172f(0x3,_0x1315f3[_0x97da62(0x2c1)])],_0x4dde3d['UniverEditHistoryViewerPlugin']),_0x4dde3d[_0x97da62(0x34a)]=_0x573e5a,Object[_0x97da62(0x279)](_0x4dde3d,Symbol[_0x97da62(0x34e)],{'value':_0x97da62(0x30f)});}));
|
package/lib/umd/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x4343d0,_0xe96c24){var _0x5d6e45=_0x4960,_0x27451f=_0x4343d0();while(!![]){try{var _0x51edc3=parseInt(_0x5d6e45(0xeb))/0x1*(-parseInt(_0x5d6e45(0x10b))/0x2)+parseInt(_0x5d6e45(0x10d))/0x3*(parseInt(_0x5d6e45(0x107))/0x4)+-parseInt(_0x5d6e45(0xf3))/0x5*(-parseInt(_0x5d6e45(0xef))/0x6)+parseInt(_0x5d6e45(0x105))/0x7+-parseInt(_0x5d6e45(0xf7))/0x8+-parseInt(_0x5d6e45(0xf9))/0x9*(parseInt(_0x5d6e45(0xed))/0xa)+-parseInt(_0x5d6e45(0xf6))/0xb*(-parseInt(_0x5d6e45(0xfc))/0xc);if(_0x51edc3===_0xe96c24)break;else _0x27451f['push'](_0x27451f['shift']());}catch(_0x2ba691){_0x27451f['push'](_0x27451f['shift']());}}}(_0x3089,0xbb9d5),function(_0x67ed50,_0x42d700){var _0x3e405a=_0x4960;typeof exports==_0x3e405a(0x10a)&&typeof module<'u'?module[_0x3e405a(0x101)]=_0x42d700():typeof define=='function'&&define[_0x3e405a(0xec)]?define(_0x42d700):(_0x67ed50=typeof globalThis<'u'?globalThis:_0x67ed50||self,_0x67ed50[_0x3e405a(0xfe)]=_0x42d700());}(this,function(){'use strict';var _0x1c680f=_0x4960;return{'editHistory':{'panel':{'title':'Edit\x20History','unknownUser':'Unknown\x20User','listFetchError':_0x1c680f(0xf5),'revertConfirm':_0x1c680f(0x100),'revertConfirmText':_0x1c680f(0x109),'cancel':_0x1c680f(0x108),'confirm':_0x1c680f(0x10c),'reverting':_0x1c680f(0xf8),'revertFailed':_0x1c680f(0xfd),'currentVersion':_0x1c680f(0xee),'currentUser':_0x1c680f(0x10e),'revertDesc':_0x1c680f(0xea)},'info':{'loading':'loading,\x20please\x20wait...'},'header':{'back':_0x1c680f(0x104),'revert':'Restore\x20this\x20version'},'action':{'insertSheet':_0x1c680f(0xff),'removeSheet':_0x1c680f(0xfa),'createSheet':'created\x20workbook','setFilter':_0x1c680f(0xf4),'setFrozen':_0x1c680f(0x102),'editSheet':_0x1c680f(0x103),'revertSheet':'reverted\x20workbook','revertSheetPrefix':_0x1c680f(0xfb),'revertSheetSuffix':'','setDV':_0x1c680f(0xf1),'setCF':'set\x20conditional\x20formatting','addCF':'add\x20conditional\x20formatting','addProtection':_0x1c680f(0x106),'addSparkline':_0x1c680f(0x10f),'deleteProtection':_0x1c680f(0xf0),'etc':_0x1c680f(0xf2)}}};}));function _0x4960(_0x25bc81,_0x255e1f){var _0x3089cc=_0x3089();return _0x4960=function(_0x496014,_0x6eed40){_0x496014=_0x496014-0xea;var _0x28e560=_0x3089cc[_0x496014];return _0x28e560;},_0x4960(_0x25bc81,_0x255e1f);}function _0x3089(){var _0x435bdc=['2726808ggYfqw','add\x20protection','1500692fSMwmG','Cancel','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','object','2RNgPow','Confirm','3jncyzy','Current\x20User','add\x20sparkline','Restore\x20this\x20version','487353IHPSFt','amd','70NSXkmS','Current\x20Version','69318GxcACK','delete\x20protection','set\x20data\x20validation',',\x20etc.','445xnYRPU','set\x20filter','Failed\x20to\x20get\x20edit\x20history\x20list','11402633BKpYhd','393256FFBMYZ','Reverting,\x20please\x20wait...','1960146QpZySL','deleted\x20worksheet','Reverted\x20from','12loCMAb','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','UniverProEditHistoryViewerEnUS','inserted\x20worksheet','Restore\x20this\x20version?','exports','set\x20frozen','edited\x20worksheet','Back'];_0x3089=function(){return _0x435bdc;};return _0x3089();}
|