@univerjs-pro/edit-history-viewer 0.9.1-nightly.202507051607 → 0.9.1-nightly.202507071607
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 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -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 -1
- 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/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 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +16 -16
package/lib/es/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x7702(){const _0x93305f=['2607370DxupsR','9NARvkS','Failed\x20to\x20get\x20edit\x20history\x20list','set\x20data\x20validation','Restore\x20this\x20version','edited\x20worksheet','3uNLOWb','828544TSylSV','loading,\x20please\x20wait...','set\x20filter','Restore\x20this\x20version?','6189656OtugkV','set\x20frozen','Current\x20User','inserted\x20worksheet','599693ucqgCR','Back','add\x20protection','reverted\x20workbook','add\x20conditional\x20formatting','Reverting,\x20please\x20wait...','1518865yeuCMi','delete\x20protection','6LPhwML','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','7970998sbwezV','4307176CeZEkw',',\x20etc.'];_0x7702=function(){return _0x93305f;};return _0x7702();}function _0x30f8(_0x152f14,_0x50cbb3){const _0x770268=_0x7702();return _0x30f8=function(_0x30f84d,_0x4a5f87){_0x30f84d=_0x30f84d-0xe0;let _0x478e4d=_0x770268[_0x30f84d];return _0x478e4d;},_0x30f8(_0x152f14,_0x50cbb3);}const _0x1866c2=_0x30f8;(function(_0x118e78,_0x24d589){const _0x283f0b=_0x30f8,_0x2bcf79=_0x118e78();while(!![]){try{const _0x1af4bb=-parseInt(_0x283f0b(0xf8))/0x1+-parseInt(_0x283f0b(0xf0))/0x2*(-parseInt(_0x283f0b(0xef))/0x3)+parseInt(_0x283f0b(0xf4))/0x4+parseInt(_0x283f0b(0xe2))/0x5+parseInt(_0x283f0b(0xe4))/0x6*(-parseInt(_0x283f0b(0xe6))/0x7)+parseInt(_0x283f0b(0xe7))/0x8*(parseInt(_0x283f0b(0xea))/0x9)+-parseInt(_0x283f0b(0xe9))/0xa;if(_0x1af4bb===_0x24d589)break;else _0x2bcf79['push'](_0x2bcf79['shift']());}catch(_0x5c029e){_0x2bcf79['push'](_0x2bcf79['shift']());}}}(_0x7702,0xc4768));const e={'editHistory':{'panel':{'title':'Edit\x20History','unknownUser':'Unknown\x20User','listFetchError':_0x1866c2(0xeb),'revertConfirm':_0x1866c2(0xf3),'revertConfirmText':_0x1866c2(0xe5),'cancel':'Cancel','confirm':'Confirm','reverting':_0x1866c2(0xe1),'revertFailed':'Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','currentVersion':'Current\x20Version','currentUser':_0x1866c2(0xf6),'revertDesc':_0x1866c2(0xed)},'info':{'loading':_0x1866c2(0xf1)},'header':{'back':_0x1866c2(0xf9),'revert':_0x1866c2(0xed)},'action':{'insertSheet':_0x1866c2(0xf7),'removeSheet':'deleted\x20worksheet','createSheet':'created\x20workbook','setFilter':_0x1866c2(0xf2),'setFrozen':_0x1866c2(0xf5),'editSheet':_0x1866c2(0xee),'revertSheet':_0x1866c2(0xfb),'revertSheetPrefix':'Reverted\x20from','revertSheetSuffix':'','setDV':_0x1866c2(0xec),'setCF':'set\x20conditional\x20formatting','addCF':_0x1866c2(0xe0),'addProtection':_0x1866c2(0xfa),'addSparkline':'add\x20sparkline','deleteProtection':_0x1866c2(0xe3),'etc':_0x1866c2(0xe8)}}},t=e;export{t as default};
|
package/lib/es/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x34a0(){const _0x3c3e57=['Confirm','Edit\x20History','380caCOmF','edited\x20worksheet','587749dRkOzb','8718ASocXU','loading,\x20please\x20wait...','Unknown\x20User','257565YWSXDZ','109818XJqghI','created\x20workbook','inserted\x20worksheet','add\x20conditional\x20formatting','Reverted\x20from','744170ukmLPm','delete\x20protection','153jISjed','set\x20conditional\x20formatting','Current\x20User','1730260OoHQrL','reverted\x20workbook','deleted\x20worksheet','set\x20frozen','2uliBRy','Failed\x20to\x20get\x20edit\x20history\x20list','Restore\x20this\x20version','set\x20data\x20validation','Cancel','set\x20filter','Back','add\x20sparkline','2302296tvWloe'];_0x34a0=function(){return _0x3c3e57;};return _0x34a0();}function _0x3184(_0x5ca931,_0x3a7b57){const _0x34a061=_0x34a0();return _0x3184=function(_0x31840c,_0x567724){_0x31840c=_0x31840c-0x19f;let _0x1e35b9=_0x34a061[_0x31840c];return _0x1e35b9;},_0x3184(_0x5ca931,_0x3a7b57);}const _0x7f53f9=_0x3184;(function(_0x1a34a0,_0xc559a3){const _0x12aa87=_0x3184,_0x32b1cd=_0x1a34a0();while(!![]){try{const _0x4ec93c=parseInt(_0x12aa87(0x1ab))/0x1*(-parseInt(_0x12aa87(0x1be))/0x2)+-parseInt(_0x12aa87(0x1ac))/0x3*(parseInt(_0x12aa87(0x1a9))/0x4)+-parseInt(_0x12aa87(0x1af))/0x5+parseInt(_0x12aa87(0x1b0))/0x6+parseInt(_0x12aa87(0x1ba))/0x7+-parseInt(_0x12aa87(0x1a6))/0x8+-parseInt(_0x12aa87(0x1b7))/0x9*(-parseInt(_0x12aa87(0x1b5))/0xa);if(_0x4ec93c===_0xc559a3)break;else _0x32b1cd['push'](_0x32b1cd['shift']());}catch(_0x123be9){_0x32b1cd['push'](_0x32b1cd['shift']());}}}(_0x34a0,0x4ff1d));const e={'editHistory':{'panel':{'title':_0x7f53f9(0x1a8),'unknownUser':_0x7f53f9(0x1ae),'listFetchError':_0x7f53f9(0x19f),'revertConfirm':'Restore\x20this\x20version?','revertConfirmText':'This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','cancel':_0x7f53f9(0x1a2),'confirm':_0x7f53f9(0x1a7),'reverting':'Reverting,\x20please\x20wait...','revertFailed':'Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','currentVersion':'Current\x20Version','currentUser':_0x7f53f9(0x1b9),'revertDesc':_0x7f53f9(0x1a0)},'info':{'loading':_0x7f53f9(0x1ad)},'header':{'back':_0x7f53f9(0x1a4),'revert':_0x7f53f9(0x1a0)},'action':{'insertSheet':_0x7f53f9(0x1b2),'removeSheet':_0x7f53f9(0x1bc),'createSheet':_0x7f53f9(0x1b1),'setFilter':_0x7f53f9(0x1a3),'setFrozen':_0x7f53f9(0x1bd),'editSheet':_0x7f53f9(0x1aa),'revertSheet':_0x7f53f9(0x1bb),'revertSheetPrefix':_0x7f53f9(0x1b4),'revertSheetSuffix':'','setDV':_0x7f53f9(0x1a1),'setCF':_0x7f53f9(0x1b8),'addCF':_0x7f53f9(0x1b3),'addProtection':'add\x20protection','addSparkline':_0x7f53f9(0x1a5),'deleteProtection':_0x7f53f9(0x1b6),'etc':',\x20etc.'}}},t=e;export{t as default};
|
package/lib/es/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x3bae46=_0x5d88;(function(_0x224b7c,_0x31b103){const _0x6d2bb1=_0x5d88,_0x2fa3c4=_0x224b7c();while(!![]){try{const _0x128b08=parseInt(_0x6d2bb1(0x154))/0x1*(parseInt(_0x6d2bb1(0x166))/0x2)+-parseInt(_0x6d2bb1(0x173))/0x3*(-parseInt(_0x6d2bb1(0x156))/0x4)+parseInt(_0x6d2bb1(0x170))/0x5*(parseInt(_0x6d2bb1(0x158))/0x6)+-parseInt(_0x6d2bb1(0x16f))/0x7*(-parseInt(_0x6d2bb1(0x163))/0x8)+parseInt(_0x6d2bb1(0x168))/0x9+-parseInt(_0x6d2bb1(0x16b))/0xa+parseInt(_0x6d2bb1(0x155))/0xb*(-parseInt(_0x6d2bb1(0x16e))/0xc);if(_0x128b08===_0x31b103)break;else _0x2fa3c4['push'](_0x2fa3c4['shift']());}catch(_0x3e2a7b){_0x2fa3c4['push'](_0x2fa3c4['shift']());}}}(_0xc1c2,0x391b8));function _0xc1c2(){const _0x2783ca=['5fkBVUf','还原了版本','添加了条件格式','12sMzKlQ','历史记录','还原到此版本','4786mMhrne','2067230uPNvBd','315184hYzTZk','编辑了工作表','2275392vBSzAl','未知错误,请刷新页面查看还原结果','加载中,请稍等...','添加了保护范围','的版本','还原到此版本?','当前版本','设置了条件格式','冻结了工作表','设置了筛选','还原了','488SNgONF','插入了工作表','正在还原,请稍等...','166BvqvXO','添加了迷你图','3975462npfvXX','移除了保护范围','该文档将会被还原到选中版本','2144800fZccfg','未知用户','删除了工作表','96rEAiZh','48020YSblaP'];_0xc1c2=function(){return _0x2783ca;};return _0xc1c2();}const e={'editHistory':{'panel':{'title':_0x3bae46(0x174),'unknownUser':_0x3bae46(0x16c),'listFetchError':'获取编辑历史记录列表失败','revertConfirm':_0x3bae46(0x15d),'revertConfirmText':_0x3bae46(0x16a),'cancel':'取消','confirm':'确认','reverting':_0x3bae46(0x165),'revertFailed':_0x3bae46(0x159),'currentVersion':_0x3bae46(0x15e),'currentUser':'当前用户','revertDesc':_0x3bae46(0x153)},'info':{'loading':_0x3bae46(0x15a)},'header':{'back':'返回','revert':'还原到此版本'},'action':{'insertSheet':_0x3bae46(0x164),'removeSheet':_0x3bae46(0x16d),'createSheet':'创建了工作表','setFilter':_0x3bae46(0x161),'setFrozen':_0x3bae46(0x160),'editSheet':_0x3bae46(0x157),'revertSheet':_0x3bae46(0x171),'revertSheetPrefix':_0x3bae46(0x162),'revertSheetSuffix':_0x3bae46(0x15c),'setDV':'设置了数据验证','setCF':_0x3bae46(0x15f),'addCF':_0x3bae46(0x172),'addProtection':_0x3bae46(0x15b),'addSparkline':_0x3bae46(0x167),'deleteProtection':_0x3bae46(0x169),'etc':',等'}}};function _0x5d88(_0x13d513,_0x5d8523){const _0xc1c261=_0xc1c2();return _0x5d88=function(_0x5d880a,_0x6f4a12){_0x5d880a=_0x5d880a-0x153;let _0x158575=_0xc1c261[_0x5d880a];return _0x158575;},_0x5d88(_0x13d513,_0x5d8523);}export{e as default};
|
package/lib/es/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x20f671=_0x1f78;(function(_0x11f056,_0x83a4ea){const _0x2f1d6c=_0x1f78,_0x206022=_0x11f056();while(!![]){try{const _0x40f0f5=-parseInt(_0x2f1d6c(0x121))/0x1+parseInt(_0x2f1d6c(0x123))/0x2*(parseInt(_0x2f1d6c(0x12f))/0x3)+-parseInt(_0x2f1d6c(0x122))/0x4+-parseInt(_0x2f1d6c(0x12c))/0x5+parseInt(_0x2f1d6c(0x137))/0x6+-parseInt(_0x2f1d6c(0x13a))/0x7*(-parseInt(_0x2f1d6c(0x12b))/0x8)+parseInt(_0x2f1d6c(0x126))/0x9;if(_0x40f0f5===_0x83a4ea)break;else _0x206022['push'](_0x206022['shift']());}catch(_0x23c271){_0x206022['push'](_0x206022['shift']());}}}(_0x4bba,0xa535a));function _0x4bba(){const _0x5b9845=['set\x20frozen','add\x20protection','4341681fLvrRx','Restore\x20this\x20version','edited\x20worksheet','Current\x20Version','Unknown\x20User','4632Dqcrrt','2658995lfVmfK','Cancel','loading,\x20please\x20wait...','826347NlxJAY','set\x20conditional\x20formatting','Reverting,\x20please\x20wait...','Confirm','Failed\x20to\x20get\x20edit\x20history\x20list','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','set\x20filter','reverted\x20workbook','1975518zNDbCS','deleted\x20worksheet','add\x20conditional\x20formatting','15134hsKVZF','Edit\x20History',',\x20etc.','created\x20workbook','Restore\x20this\x20version?','add\x20sparkline','Current\x20User','delete\x20protection','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','835449DBCVBt','4485240GeCwZd','8AZxVbn'];_0x4bba=function(){return _0x5b9845;};return _0x4bba();}const e={'editHistory':{'panel':{'title':_0x20f671(0x119),'unknownUser':_0x20f671(0x12a),'listFetchError':_0x20f671(0x133),'revertConfirm':_0x20f671(0x11c),'revertConfirmText':_0x20f671(0x120),'cancel':_0x20f671(0x12d),'confirm':_0x20f671(0x132),'reverting':_0x20f671(0x131),'revertFailed':_0x20f671(0x134),'currentVersion':_0x20f671(0x129),'currentUser':_0x20f671(0x11e),'revertDesc':_0x20f671(0x127)},'info':{'loading':_0x20f671(0x12e)},'header':{'back':'Back','revert':'Restore\x20this\x20version'},'action':{'insertSheet':'inserted\x20worksheet','removeSheet':_0x20f671(0x138),'createSheet':_0x20f671(0x11b),'setFilter':_0x20f671(0x135),'setFrozen':_0x20f671(0x124),'editSheet':_0x20f671(0x128),'revertSheet':_0x20f671(0x136),'revertSheetPrefix':'Reverted\x20from','revertSheetSuffix':'','setDV':'set\x20data\x20validation','setCF':_0x20f671(0x130),'addCF':_0x20f671(0x139),'addProtection':_0x20f671(0x125),'addSparkline':_0x20f671(0x11d),'deleteProtection':_0x20f671(0x11f),'etc':_0x20f671(0x11a)}}},t=e;function _0x1f78(_0x3a4bca,_0x4b2ce4){const _0x4bba01=_0x4bba();return _0x1f78=function(_0x1f785b,_0x61010a){_0x1f785b=_0x1f785b-0x119;let _0x29ef44=_0x4bba01[_0x1f785b];return _0x29ef44;},_0x1f78(_0x3a4bca,_0x4b2ce4);}export{t as default};
|
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0xd297f0=_0x55e5;function _0x56b4(){const _0x39c9c0=['ALREADY_EXISTS','editSheet','ensureVersion','_createMask','ZH_CN','_messageService','entered','endRow','_sidebarDisposable','registerRenderModule','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','ManageCollaborator','keys','currentVersion','editHistory.header.revert','_initMaskContainer','init','prototype','_initActiveSwitch','APPLY_NON_SEQUENTIAL_REVISION','_removeDiffMarks','editHistory.action.revertSheetPrefix','rgba(225,\x20225,\x20225,\x200.5)','_getRangesByMutation','INTERNAL_ERROR','addProtection','unitId','has','className','edit-history-viewer.config','style','_sheetSkeletonManagerService','editHistory.panel.title','LICENSE_MAX_UNITS_EXCEEDED','COMPLETION_FINISHED','_compressMutationService','versions','Duplicate','UNDEFINED','rule','sheet','fetchMissingChangesets','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','use','_hasMore','_openPanel','LICENSE_IMPORT_SIZE_EXCEEDED','editHistory.panel.unknownUser','rev','_updateVersions','from','Error','_diffs','_injector','currentSkeleton$','UNIVER_SHEET','evenodd','editHistory.action.revertSheetSuffix','MoveSheet','loadingState$','1565120kgNXiy','SetRowStyle','ranges','addObjects','COMPRESS_MUTATION_APPLY','split','editHistory.action.etc','InsertHyperlink','SelectUnProtectedCells','colorChannel1','_workbookDataCache','replace','getUnitId','permissionPointUpdate$','name','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','currentColor','insertSheet','date','subscribe','Exited','DeleteSheet','triggerLoadSheet','blockMeta','user','DeleteColumn','UNIVER_SLIDE','YUUMI_TABLE_NOT_FOUND_IN_UNIT','backgroundColor','YUUMI_URL_COL_OUT_OF_RANGE','endRev','editHistory.panel.listFetchError','parse','idSuffix','_transformMutationByOrder','_versions$','extend','editHistory.panel.cancel','UNIVER_DOC','scrollEvent$','status','INVALID_ARGUMENT','_componentManager','justifyContent','univer-flex\x20univer-items-center\x20univer-justify-center','setValue','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','defs','YUUMI_NO_CUBOID_FOR_QUESTION','YUUMI_CONNECTOR_URL_NOT_FOUND','Copy','getVersion','setFrozen','users','disposeUnit','http://www.w3.org/2000/svg','userID','close','unitId$','univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','symbol','0\x200\x2016\x2016','DeleteWorksheet','SNAPSHOT_HAS_BEEN_REMOVED','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','INVALID_INVITE_CODE','PivotTable','deleteProtection','FromArray','cellValue','MOBILE_VERIFY_CODE_MISMATCH','Delete','LICENSE_EXPORT_SIZE_EXCEEDED','setCF','_configService','row','triggerRevert','all','univer-text-gray-500','_context','primary','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','SNAPSHOT_INVALID_SNAPSHOT','commands','command','72yPOfuT','SetCellValue','icon','editHistory.info.loading','loadSheet','_historyContainerId','univerjs-icon\x20univerjs-icon-','forValue','memberId','History','executeCommand','m1Prime','CreatePermissionObject','svg','APPLY_PERMISSION_DENIED','clear','LoadingMultiIcon','flex','syncExecuteCommand','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','100%','getCurrentLocale','INVITE_CODE_HAS_BEEN_UES','call','add','data','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)]','3092840nYZvwC','then','loadMoreVersions','stopPropagation','_init','isArray','LOGIN_FAILED','FloatImg','state$','View','Loading','HideSheet','CopySheet','range','back-icon','dateString','none','_dialogOptions$','setConfig','color','univer-flex\x20univer-h-[60px]\x20univer-cursor-default\x20univer-flex-col\x20univer-justify-center\x20univer-px-4\x20univer-py-1.5','YUUMI_UNABLE_LOAD_URL','push','concat','onStarting','Edit','canRevert','toISOString','indexOf','registerComponent','width','onRendered','revertSheet','EMAIL_VERIFY_CODE_MISMATCH','removeSheet','RecoverHistory','time','body','UniverIcon','RestoreIcon','HideWorksheet','getVpScrollXYInfoByPosToVp','getCurrent','ViemRwHgtClWdt','next','string','getDataRange','asObservable','SetColumnStyle','univer-pl-[26px]\x20univer-text-sm\x20univer-leading-5\x20univer-text-gray-600\x20dark:!univer-text-gray-200','show','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','_extractRanges','userId','flat','entries','some','updatePermissionPoint','revertRevision$','UNIVER_PROJECT','Loaded','/universer-api/history','showMask','trim','getOwnPropertySymbols','_revertRevision$','tag','clipPath','rules','startColumn','params','hidden','zIndex','_unitId$','transformMutations','_historyFetchService','pipe','loaded','children','open','currentVersionDiff$','Filter','Print','onPointerMove$','setFilter','loading-multi-icon','xlink:href','CONNECTOR_DATA_TOO_LARGE','span','_versionDiffService','getRelativeToViewportCoord','_canRevert','_createUnit','PERMISSION_DENIED','_localeService','block','currentVersion$','toString','values','PY_RUNTIME_SCRIPT_ERROR','subType','getVersions','_getSheetObject','TOO_MANY_REQUESTS','CreateSheet','fetchThroughInterceptors','_fetching','_updateDiffMarks','getDialogs$','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','focusUnit','get','YUUMI_RATE_OVER_LIMIT','_getAPIPrefix','MoveWorksheet','register','_confirmService','mutations','createSheet','createUnit','VIRTUAL_VERSION_NOW','onMouseMove','InsertColumn','12WZlWit','RwHgtClWdt','getOwnPropertyDescriptor','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','path','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','addSparkline','length','Sort','SetCellStyle','univer-text-2xl','endRevision','_uiPartsService','editHistory.panel.revertDesc','UNRECOGNIZED','0\x200\x2016\x2017','APPLY_REVISION_CONFILICT','loadingState','NOT_FOUND','565837TCotcr','_members','getElementById','getMember','UNIVER_UNKNOWN','_maskElement','createTime','confirm','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','white','fill','append','YUUMI_SUBSCRIPTION_NOT_FOUND','map','loading','confirm-revert-revision','display','_httpService','rgba(58,\x2096,\x20247,\x200.20)','entities','_initPanel','_transformService','YUUMI_ASYNCIO_CANCELLED','/list?length=20','filter','makeDirty','2577960eUoyKQ','APPLY_DUPLICATED','_renderManagerService','getInterceptPoints','editHistory.panel.confirm','univer-h-full\x20univer-overflow-auto\x20univer-border-t\x20univer-border-gray-200','MOBILE_HAS_BEEN_BOUND','_sidebarService','_diffRangesMap','workbook','ENSURE_SNAPSHOT_EXECUTION','getAncestorScale','value','INVITE_CODE_REQUIRED','disposeWithMe','_cellEditorManagerService','_currentVersionDiff$','setDV','1em','_maskContainer','2116422xEHPwU','WECHAT_HAS_BEEN_BOUND','assign','merge','div','SelectProtectedCells','_snapshotServerService','set','absolute','createElement','position','YUUMI_ALL_TABLES_IS_INVALID','subUnitId','EditWorksheetCell','dispose','history-mask','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','_getActiveSubUnitId','_historyManagerService','SetWorksheetStyle','_currentVersion$','interceptor','_loadingState$','editHistory.panel.revertConfirm','mask','_status$','#0B9EFB','EMAIL_HAS_BEEN_BOUND','_config','getViewport','90555SYTCeQ','defIds','Info','top','RenameWorksheet','InsertRow','ViewHistory','versions$','active','Share','LICENSE_DISTRO_REJECTED','_commandService','416056dfxqQl','displayName','_permissionService','_univerInstanceService','_combineRanges','defineProperty','YUUMI_AI_RUN_FAILED','hideMask','skeleton','error','startRow','ViewFilter','code','getCurrentVersion','CreateWorksheet','_lastPointer','attrs','INVITE_CODE_ALREADY_BOUND','find','Export','Comment','getHours','1000','subscribeEvent','url(#$1','center','_lastLabel','endColumn','forEach','substring','HEADER','hasOwnProperty','RenameSheet','getUnitOnRev','getMinutes','restore-icon'];_0x56b4=function(){return _0x39c9c0;};return _0x56b4();}(function(_0xc18101,_0x495168){const _0x2ef249=_0x55e5,_0x7e4ed7=_0xc18101();while(!![]){try{const _0x96e9a6=-parseInt(_0x2ef249(0xe5))/0x1+-parseInt(_0x2ef249(0xd2))/0x2*(-parseInt(_0x2ef249(0x131))/0x3)+parseInt(_0x2ef249(0x19d))/0x4+parseInt(_0x2ef249(0x20d))/0x5+parseInt(_0x2ef249(0xff))/0x6+-parseInt(_0x2ef249(0x113))/0x7+parseInt(_0x2ef249(0x13d))/0x8*(-parseInt(_0x2ef249(0x1f2))/0x9);if(_0x96e9a6===_0x495168)break;else _0x7e4ed7['push'](_0x7e4ed7['shift']());}catch(_0x4e6411){_0x7e4ed7['push'](_0x7e4ed7['shift']());}}}(_0x56b4,0x521fb));var Fe=Object[_0xd297f0(0x142)],Ye=(_0x35dfd0,_0x893a3f,_0xd7b4a0)=>_0x893a3f in _0x35dfd0?Fe(_0x35dfd0,_0x893a3f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xd7b4a0}):_0x35dfd0[_0x893a3f]=_0xd7b4a0,l=(_0xcfe64e,_0xc437b0,_0x1ba756)=>Ye(_0xcfe64e,typeof _0xc437b0!=_0xd297f0(0x1d9)?_0xc437b0+'':_0xc437b0,_0x1ba756);import{RevertRevisionMutation as _0x108181,CreateUnitMutation as _0x42b94f,ISnapshotServerService as _0x26c918,CompressMutationService as _0x4ae62f,transformSnapshotToWorkbookData as _0x4daced,ITransformService as _0x2fb018,parseProtocolChangeset as _0x26ece0,isTransformMutationsSuccess as _0x4239ea}from'@univerjs-pro/collaboration';import{SnapshotServerOverHTTPService as _0x4b4714,CollaborationImageIoService as _0x547c5a}from'@univerjs-pro/collaboration-client';import{Disposable as _0x30b72e,LocaleType as _0x55c21a,IUniverInstanceService as _0x5ba9b4,ICommandService as _0xaf639c,IConfigService as _0x299eb0,Inject as _0x5de07f,UniverInstanceType as _0x5f296c,LocaleService as _0x173dd9,IPermissionService as _0x110567,Injector as _0x3e765c,ObjectMatrix as _0x2b93dd,debounce as _0x29c3f1,DisposableCollection as _0x48d88b,toDisposable as _0x1fc33b,DependentOn as _0x21edb,Plugin as _0x1dcc23,merge as _0x2105ba}from'@univerjs/core';import{IImageIoService as _0x599bcd}from'@univerjs/drawing';import{IRenderManagerService as _0x2933c,Vector2 as _0xef757b,SHEET_VIEWPORT_KEY as _0x53230f}from'@univerjs/engine-render';import{HTTPService as _0x1d3816,UniverNetworkPlugin as _0x286e9d}from'@univerjs/network';import{ICellEditorManagerService as _0x33533e,SheetSkeletonManagerService as _0x3d45a0,getCoordByCell as _0x614bdf,getSheetObject as _0x2bc735,UniverSheetsUIPlugin as _0x500404}from'@univerjs/sheets-ui';import{IMessageService as _0x31a373,IConfirmService as _0x194eb3,useDependency as _0x27a3a1,useObservable as _0x165c19,IUIPartsService as _0x17ef65,BuiltInUIPart as _0x5baf41,connectInjector as _0x3dbd67,ISidebarService as _0x12e72c,ComponentManager as _0x27380c,IDialogService as _0x24c417}from'@univerjs/ui';import{MessageType as _0x109689,clsx as _0xfbda6e,Button as _0x3e5b84,borderBottomClassName as _0x478997,Tooltip as _0x4fc5dd}from'@univerjs/design';import{InsertSheetMutation as _0x28c53b,RemoveSheetMutation as _0x202979,SetFrozenMutation as _0x39f1a2,AddWorksheetProtectionMutation as _0x200bc8,AddRangeProtectionMutation as _0x27fe77,DeleteRangeProtectionMutation as _0x47103f,DeleteWorksheetProtectionMutation as _0x9b248f,WorkbookEditablePermission as _0x26684c,WorkbookRenameSheetPermission as _0xfd49be,WorkbookMoveSheetPermission as _0x4cc450,WorkbookHideSheetPermission as _0x4c6c43,SetWorksheetHideMutation as _0xe9e00b,SetRangeValuesMutation as _0x4d1f1f,SetRangeProtectionMutation as _0x42ab8a,ReorderRangeMutation as _0x549aa0,RemoveNumfmtMutation as _0x32765b,SetNumfmtMutation as _0x7aebc4,MoveColsMutation as _0x236a9b,MoveRowsMutation as _0x54be3c,MoveRangeMutation as _0x50691f,InsertColMutation as _0x523407,InsertRowMutation as _0x37cd88,AddWorksheetMergeMutation as _0x397f92,RangeMergeUtil as _0x4ecf15,findAllRectangle as _0x4a53a0,SetWorksheetActiveOperation as _0x2d6ada}from'@univerjs/sheets';import{BehaviorSubject as _0xb67da1,combineLatest as _0x21450e,switchMap as _0x355eeb,map as _0x388c78,of as _0x1e409a,debounceTime as _0x336f91,Subject as _0x360add}from'rxjs';import{AddSheetSparklineMutation as _0x4a4431}from'@univerjs-pro/sheets-sparkline';import{AddDataValidationMutation as _0x1c7bce,UpdateDataValidationMutation as _0xe7caa4}from'@univerjs/data-validation';function _0x55e5(_0x362cdc,_0x301e15){const _0x56b463=_0x56b4();return _0x55e5=function(_0x55e5e8,_0x1f4445){_0x55e5e8=_0x55e5e8-0xb6;let _0xcb0849=_0x56b463[_0x55e5e8];return _0xcb0849;},_0x55e5(_0x362cdc,_0x301e15);}import{SetConditionalRuleMutation as _0x5c4b91,AddConditionalRuleMutation as _0x28401b}from'@univerjs/sheets-conditional-formatting';import{SetSheetsFilterRangeMutation as _0x443822}from'@univerjs/sheets-filter';import{jsxs as _0x51c8bf,jsx as _0x21d9aa}from'react/jsx-runtime';import{forwardRef as _0x5269a0,useRef as _0xa74af2,createElement as _0x5b7017,useCallback as _0x5d95e9,useState as _0x52240b,Fragment as _0x3f1db2}from'react';import{SheetCollabCursorShape as _0x3f20b5}from'@univerjs-pro/collaboration-client-ui';const we=_0xd297f0(0x17e),_e={};var ss=Object[_0xd297f0(0xd4)],is=(_0x498ded,_0x4865ab,_0x1d6b78,_0x348730)=>{const _0x182726=_0xd297f0;for(var _0x542103=_0x348730>0x1?void 0x0:_0x348730?ss(_0x4865ab,_0x1d6b78):_0x4865ab,_0x5b2398=_0x498ded[_0x182726(0xd9)]-0x1,_0x2eb0a7;_0x5b2398>=0x0;_0x5b2398--)(_0x2eb0a7=_0x498ded[_0x5b2398])&&(_0x542103=_0x2eb0a7(_0x542103)||_0x542103);return _0x542103;},rs=(_0x41c704,_0x3726a2)=>(_0x46671f,_0x4ad4d5)=>_0x3726a2(_0x46671f,_0x4ad4d5,_0x41c704);let H=class extends _0x30b72e{constructor(_0x2aaedd){const _0x463593=_0xd297f0;super(),this[_0x463593(0x10e)]=_0x2aaedd,this[_0x463593(0x211)]();}[_0xd297f0(0x211)](){const _0x3b4318=_0xd297f0;this[_0x3b4318(0x10d)](this['_cellEditorManagerService'][_0x3b4318(0x215)]['subscribe'](_0x4d77be=>{const _0x22862c=_0x3b4318;_0x4d77be!=null&&_0x4d77be['show']&&this[_0x22862c(0x10e)]['setState']({'show':!0x1});}));}};H=is([rs(0x0,_0x33533e)],H);var X=(_0x933850=>(_0x933850[_0x933850[_0xd297f0(0x187)]=0x0]=_0xd297f0(0x187),_0x933850[_0x933850['OK']=0x1]='OK',_0x933850[_0x933850[_0xd297f0(0x179)]=0x2]=_0xd297f0(0x179),_0x933850[_0x933850['PERMISSION_DENIED']=0x3]=_0xd297f0(0x26a),_0x933850[_0x933850[_0xd297f0(0xe4)]=0x4]='NOT_FOUND',_0x933850[_0x933850['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x933850[_0x933850[_0xd297f0(0x161)]=0x6]='ALREADY_EXISTS',_0x933850[_0x933850[_0xd297f0(0x1c6)]=0x7]='INVALID_ARGUMENT',_0x933850[_0x933850[_0xd297f0(0xbe)]=0x8]=_0xd297f0(0xbe),_0x933850[_0x933850[_0xd297f0(0x183)]=0x9]=_0xd297f0(0x183),_0x933850[_0x933850[_0xd297f0(0x213)]=0xa]='LOGIN_FAILED',_0x933850[_0x933850['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0xd297f0(0x1e3),_0x933850[_0x933850[_0xd297f0(0xd7)]=0xc]=_0xd297f0(0xd7),_0x933850[_0x933850['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0xd297f0(0x22e),_0x933850[_0x933850['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0xd297f0(0x16b),_0x933850[_0x933850['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x933850[_0x933850[_0xd297f0(0x1ef)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x933850[_0x933850[_0xd297f0(0x1dc)]=0x1772]=_0xd297f0(0x1dc),_0x933850[_0x933850['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0xd297f0(0x109),_0x933850[_0x933850['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x933850[_0x933850[_0xd297f0(0x174)]=0x1b5a]=_0xd297f0(0x174),_0x933850[_0x933850['APPLY_REVISION_CONFILICT']=0x1b5b]=_0xd297f0(0xe2),_0x933850[_0x933850[_0xd297f0(0x200)]=0x1b5c]=_0xd297f0(0x200),_0x933850[_0x933850[_0xd297f0(0x100)]=0x1b5d]=_0xd297f0(0x100),_0x933850[_0x933850[_0xd297f0(0x264)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x933850[_0x933850[_0xd297f0(0x182)]=0x2329]=_0xd297f0(0x182),_0x933850[_0x933850['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x933850[_0x933850['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0xd297f0(0x18f),_0x933850[_0x933850[_0xd297f0(0x1e5)]=0x232c]=_0xd297f0(0x1e5),_0x933850[_0x933850[_0xd297f0(0x13b)]=0x232d]=_0xd297f0(0x13b),_0x933850[_0x933850['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0xd297f0(0x222),_0x933850[_0x933850[_0xd297f0(0x1ba)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x933850[_0x933850[_0xd297f0(0xc7)]=0x2713]=_0xd297f0(0xc7),_0x933850[_0x933850[_0xd297f0(0xf1)]=0x2714]=_0xd297f0(0xf1),_0x933850[_0x933850['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0xd297f0(0x1cd),_0x933850[_0x933850[_0xd297f0(0xfb)]=0x271b]=_0xd297f0(0xfb),_0x933850[_0x933850[_0xd297f0(0x1b8)]=0x271c]=_0xd297f0(0x1b8),_0x933850[_0x933850['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0xd297f0(0x11e),_0x933850[_0x933850['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0xd297f0(0x1cb),_0x933850[_0x933850['YUUMI_AI_RUN_FAILED']=0x271f]=_0xd297f0(0x143),_0x933850[_0x933850[_0xd297f0(0x1ce)]=0x2720]=_0xd297f0(0x1ce),_0x933850[_0x933850[_0xd297f0(0xba)]=0x2af9]=_0xd297f0(0xba),_0x933850[_0x933850[_0xd297f0(0x208)]=0x2ee1]=_0xd297f0(0x208),_0x933850[_0x933850['INVALID_INVITE_CODE']=0x2ee2]=_0xd297f0(0x1de),_0x933850[_0x933850[_0xd297f0(0x10c)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x933850[_0x933850['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x933850[_0x933850[_0xd297f0(0x14e)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x933850[_0x933850[_0xd297f0(0x114)]=0x32c9]=_0xd297f0(0x114),_0x933850[_0x933850[_0xd297f0(0x105)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x933850[_0x933850[_0xd297f0(0x12e)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x933850[_0x933850[_0xd297f0(0xe0)]=-0x1]=_0xd297f0(0xe0),_0x933850))(X||{}),F=(_0x3a74ac=>(_0x3a74ac[_0x3a74ac['UNIVER_UNKNOWN']=0x0]=_0xd297f0(0xe9),_0x3a74ac[_0x3a74ac['UNIVER_DOC']=0x1]=_0xd297f0(0x1c3),_0x3a74ac[_0x3a74ac[_0xd297f0(0x198)]=0x2]=_0xd297f0(0x198),_0x3a74ac[_0x3a74ac[_0xd297f0(0x1b7)]=0x3]='UNIVER_SLIDE',_0x3a74ac[_0x3a74ac[_0xd297f0(0x248)]=0x4]='UNIVER_PROJECT',_0x3a74ac[_0x3a74ac[_0xd297f0(0xe0)]=-0x1]=_0xd297f0(0xe0),_0x3a74ac))(F||{}),b=(_0x24fd17=>(_0x24fd17[_0x24fd17[_0xd297f0(0x216)]=0x0]=_0xd297f0(0x216),_0x24fd17[_0x24fd17[_0xd297f0(0x226)]=0x1]=_0xd297f0(0x226),_0x24fd17[_0x24fd17['ManageCollaborator']=0x2]=_0xd297f0(0x16c),_0x24fd17[_0x24fd17[_0xd297f0(0x25f)]=0x3]=_0xd297f0(0x25f),_0x24fd17[_0x24fd17[_0xd297f0(0x186)]=0x4]=_0xd297f0(0x186),_0x24fd17[_0x24fd17[_0xd297f0(0x151)]=0x5]=_0xd297f0(0x151),_0x24fd17[_0x24fd17[_0xd297f0(0x1cf)]=0x6]='Copy',_0x24fd17[_0x24fd17[_0xd297f0(0x13a)]=0x7]=_0xd297f0(0x13a),_0x24fd17[_0x24fd17[_0xd297f0(0x150)]=0x8]=_0xd297f0(0x150),_0x24fd17[_0x24fd17[_0xd297f0(0xc9)]=0x9]=_0xd297f0(0xc9),_0x24fd17[_0x24fd17[_0xd297f0(0x1db)]=0xa]='DeleteWorksheet',_0x24fd17[_0x24fd17['HideWorksheet']=0xb]=_0xd297f0(0x235),_0x24fd17[_0x24fd17[_0xd297f0(0x135)]=0xc]='RenameWorksheet',_0x24fd17[_0x24fd17[_0xd297f0(0x14b)]=0xd]=_0xd297f0(0x14b),_0x24fd17[_0x24fd17[_0xd297f0(0x126)]=0xe]=_0xd297f0(0x126),_0x24fd17[_0x24fd17[_0xd297f0(0x120)]=0xf]='EditWorksheetCell',_0x24fd17[_0x24fd17[_0xd297f0(0x1a4)]=0x10]=_0xd297f0(0x1a4),_0x24fd17[_0x24fd17[_0xd297f0(0xda)]=0x11]=_0xd297f0(0xda),_0x24fd17[_0x24fd17[_0xd297f0(0x25e)]=0x12]=_0xd297f0(0x25e),_0x24fd17[_0x24fd17[_0xd297f0(0x1df)]=0x13]=_0xd297f0(0x1df),_0x24fd17[_0x24fd17['FloatImg']=0x14]=_0xd297f0(0x214),_0x24fd17[_0x24fd17[_0xd297f0(0x1fb)]=0x15]=_0xd297f0(0x1fb),_0x24fd17[_0x24fd17[_0xd297f0(0xd3)]=0x16]=_0xd297f0(0xd3),_0x24fd17[_0x24fd17['ViemRwHgtClWdt']=0x17]=_0xd297f0(0x238),_0x24fd17[_0x24fd17[_0xd297f0(0x148)]=0x18]=_0xd297f0(0x148),_0x24fd17[_0x24fd17['MoveSheet']=0x19]=_0xd297f0(0x19b),_0x24fd17[_0x24fd17[_0xd297f0(0x1b2)]=0x1a]='DeleteSheet',_0x24fd17[_0x24fd17['HideSheet']=0x1b]=_0xd297f0(0x218),_0x24fd17[_0x24fd17[_0xd297f0(0x219)]=0x1c]=_0xd297f0(0x219),_0x24fd17[_0x24fd17[_0xd297f0(0x15d)]=0x1d]=_0xd297f0(0x15d),_0x24fd17[_0x24fd17[_0xd297f0(0xbf)]=0x1e]='CreateSheet',_0x24fd17[_0x24fd17[_0xd297f0(0x118)]=0x1f]='SelectProtectedCells',_0x24fd17[_0x24fd17[_0xd297f0(0x1a5)]=0x20]='SelectUnProtectedCells',_0x24fd17[_0x24fd17['SetCellStyle']=0x21]=_0xd297f0(0xdb),_0x24fd17[_0x24fd17[_0xd297f0(0x1f3)]=0x22]=_0xd297f0(0x1f3),_0x24fd17[_0x24fd17['SetRowStyle']=0x23]=_0xd297f0(0x19e),_0x24fd17[_0x24fd17[_0xd297f0(0x23d)]=0x24]=_0xd297f0(0x23d),_0x24fd17[_0x24fd17[_0xd297f0(0x136)]=0x25]=_0xd297f0(0x136),_0x24fd17[_0x24fd17[_0xd297f0(0xd1)]=0x26]=_0xd297f0(0xd1),_0x24fd17[_0x24fd17['DeleteRow']=0x27]='DeleteRow',_0x24fd17[_0x24fd17[_0xd297f0(0x1b6)]=0x28]=_0xd297f0(0x1b6),_0x24fd17[_0x24fd17['EditExtraObject']=0x29]='EditExtraObject',_0x24fd17[_0x24fd17['Delete']=0x2a]=_0xd297f0(0x1e4),_0x24fd17[_0x24fd17['RecoverHistory']=0x2b]=_0xd297f0(0x230),_0x24fd17[_0x24fd17[_0xd297f0(0x137)]=0x2c]=_0xd297f0(0x137),_0x24fd17[_0x24fd17[_0xd297f0(0x1fe)]=0x2d]=_0xd297f0(0x1fe),_0x24fd17[_0x24fd17[_0xd297f0(0xe0)]=-0x1]='UNRECOGNIZED',_0x24fd17))(b||{});function ns(_0x2aceee){const _0x45b5b6=_0xd297f0;return!!(_0x2aceee&&_0x2aceee[_0x45b5b6(0x149)]&&_0x2aceee[_0x45b5b6(0x149)]!==X['OK']&&_0x2aceee['code']!=='OK');}const re=(_0x4825a6,_0x1227d3)=>{const _0x5bac70=_0xd297f0;if(!_0x4825a6)return{'date':'','time':''};const _0x353830=new Date(_0x4825a6),_0x1c021d=_0x353830['toISOString']()[_0x5bac70(0x1a2)]('T')[0x0];switch(_0x1227d3){case _0x55c21a[_0x5bac70(0x165)]:return{'date':ee(_0x1c021d,_0x1227d3),'time':_0x353830[_0x5bac70(0x152)]()+':'+String(_0x353830[_0x5bac70(0x15f)]())['padStart'](0x2,'0')};default:return{'date':ee(_0x1c021d,_0x1227d3),'time':_0x353830[_0x5bac70(0x152)]()+':'+_0x353830[_0x5bac70(0x15f)]()};}},as=(_0x5f035b,_0x1b2040)=>{const _0x3799ba=_0xd297f0,_0x1677e7=_0x5f035b[_0x3799ba(0x1b5)]||_0x1b2040['t'](_0x3799ba(0x190));if(_0x5f035b['commands'][_0x3799ba(0x245)](_0x4d8c0e=>_0x4d8c0e===_0x108181['id'])&&_0x5f035b['recoverTime']){const _0x2064ca=re(_0x5f035b['recoverTime'],_0x1b2040['getCurrentLocale']()),_0xa855e9=_0x2064ca[_0x3799ba(0x1af)]+'\x20'+_0x2064ca[_0x3799ba(0x231)];return _0x1677e7+'\x20'+_0x1b2040['t'](_0x3799ba(0x176))+'\x20'+_0xa855e9+'\x20'+_0x1b2040['t'](_0x3799ba(0x19a));}const _0x2bb94a=os(_0x5f035b),_0x42be13=_0x2bb94a[_0x3799ba(0xd9)]===0x1?_0x1b2040['t'](_0x2bb94a[0x0]):''+_0x1b2040['t'](_0x2bb94a[0x0])+_0x1b2040['t'](_0x3799ba(0x1a3));return _0x1677e7+'\x20'+_0x42be13;};function os(_0x4462c3){const _0x11b723=_0xd297f0;if(_0x4462c3[_0x11b723(0x1f0)][_0x11b723(0xd9)]===0x0)return[''];const _0x4f058f='editHistory.action.',_0xafe38c=_0x4f058f+_0x11b723(0x162),_0x1e39d9=[{'id':_0x42b94f['id'],'action':_0x4f058f+_0x11b723(0xcd)},{'id':_0x108181['id'],'action':_0x4f058f+_0x11b723(0x22d)},{'id':_0x28c53b['id'],'action':_0x4f058f+_0x11b723(0x1ae)},{'id':_0x202979['id'],'action':_0x4f058f+_0x11b723(0x22f)},{'id':_0x39f1a2['id'],'action':_0x4f058f+_0x11b723(0x1d1)},{'id':_0x443822['id'],'action':_0x4f058f+_0x11b723(0x261)},{'id':_0x1c7bce['id'],'action':_0x4f058f+_0x11b723(0x110)},{'id':_0xe7caa4['id'],'action':_0x4f058f+_0x11b723(0x110)},{'id':_0x5c4b91['id'],'action':_0x4f058f+_0x11b723(0x1e6)},{'id':_0x28401b['id'],'action':_0x4f058f+'setCF'},{'id':_0x200bc8['id'],'action':_0x4f058f+'addProtection'},{'id':_0x27fe77['id'],'action':_0x4f058f+_0x11b723(0x17a)},{'id':_0x4a4431['id'],'action':_0x4f058f+_0x11b723(0xd8)},{'id':_0x47103f['id'],'action':_0x4f058f+_0x11b723(0x1e0)},{'id':_0x9b248f['id'],'action':_0x4f058f+_0x11b723(0x1e0)}][_0x11b723(0xfd)](_0x5508f4=>_0x4462c3[_0x11b723(0x1f0)]['includes'](_0x5508f4['id']));return _0x1e39d9!=null&&_0x1e39d9['length']?_0x1e39d9[_0x11b723(0xf2)](_0x9d86ff=>_0x9d86ff['action']):[_0xafe38c];}function ee(_0x1b1658,_0x27b66b){const _0x7aa29f=_0xd297f0,[_0x39c11f,_0x5eaca9,_0x9e5c75]=new Date()[_0x7aa29f(0x228)]()['split']('T')[0x0]['split']('-'),[_0x822af0,_0x32f6d3,_0x3318a0]=_0x1b1658[_0x7aa29f(0x1a2)]('-'),_0x1a7073=_0x39c11f===_0x822af0&&_0x5eaca9===_0x32f6d3&&_0x9e5c75===_0x3318a0;let _0x281baa='',_0xf766e6='',_0x2cd74d='';switch(_0x27b66b){case _0x55c21a[_0x7aa29f(0x165)]:return _0x1a7073?'今天':(_0x281baa=_0x39c11f===_0x822af0?'':_0x822af0+'年',_0xf766e6=_0x32f6d3+'月',_0x2cd74d=_0x3318a0+'日',''+_0x281baa+_0xf766e6+_0x2cd74d);default:return _0x1a7073?'Today':(_0x281baa=_0x39c11f===_0x822af0?'':_0x822af0+'-',_0xf766e6=_0x32f6d3+'-',_0x2cd74d=''+_0x3318a0,''+_0x281baa+_0xf766e6+_0x2cd74d);}}function cs(_0x43c771){return _0x43c771?_0x43c771['reduce']((_0x3cf7eb,_0x420f5a)=>{const _0x580d14=_0x55e5,_0x2cf50c=new Date(_0x420f5a[_0x580d14(0x231)])['toISOString']()[_0x580d14(0x1a2)]('T')[0x0];return _0x3cf7eb['length']>0x0&&_0x3cf7eb[_0x3cf7eb[_0x580d14(0xd9)]-0x1][_0x580d14(0x21c)]===_0x2cf50c?_0x3cf7eb[_0x3cf7eb[_0x580d14(0xd9)]-0x1][_0x580d14(0x185)][_0x580d14(0x223)](_0x420f5a):_0x3cf7eb['push']({'dateString':_0x2cf50c,'versions':[_0x420f5a]}),_0x3cf7eb;},[]):[];}var ls=Object['getOwnPropertyDescriptor'],us=(_0x358907,_0x2e4193,_0x5d86a6,_0x2c0f6a)=>{const _0x16bcbb=_0xd297f0;for(var _0x4d313f=_0x2c0f6a>0x1?void 0x0:_0x2c0f6a?ls(_0x2e4193,_0x5d86a6):_0x2e4193,_0x2c55f1=_0x358907[_0x16bcbb(0xd9)]-0x1,_0x18a77e;_0x2c55f1>=0x0;_0x2c55f1--)(_0x18a77e=_0x358907[_0x2c55f1])&&(_0x4d313f=_0x18a77e(_0x4d313f)||_0x4d313f);return _0x4d313f;},D=(_0x4b4faa,_0x164e8b)=>(_0x15ba66,_0x1e94ec)=>_0x164e8b(_0x15ba66,_0x1e94ec,_0x4b4faa);const _s=_0xd297f0(0x24a);let Y=class extends _0x30b72e{constructor(_0x33392d,_0x3c7d6b,_0x151c2a,_0x1ba311,_0x4c1bd7,_0x4c4fce){const _0x227611=_0xd297f0;super(),l(this,_0x227611(0x1a7),new Map()),(this[_0x227611(0x119)]=_0x33392d,this[_0x227611(0x140)]=_0x3c7d6b,this[_0x227611(0x13c)]=_0x151c2a,this['_configService']=_0x1ba311,this[_0x227611(0xf6)]=_0x4c1bd7,this['_compressMutationService']=_0x4c4fce);}[_0xd297f0(0x121)](){const _0x3577ec=_0xd297f0;this[_0x3577ec(0x1a7)][_0x3577ec(0x201)](),super[_0x3577ec(0x121)]();}async[_0xd297f0(0xbc)](_0x3899a4,_0x20fe67){const _0x5702a1=_0xd297f0,_0xa5614a=this[_0x5702a1(0xc8)]()+'/'+_0x3899a4+_0x5702a1(0xfc)+(_0x20fe67?'&lastLabel='+_0x20fe67:'');try{const _0x301f8f=(await this['_httpService']['get'](_0xa5614a))[_0x5702a1(0x232)];if(_0x301f8f&&_0x301f8f[_0x5702a1(0x146)]&&_0x301f8f[_0x5702a1(0x146)][_0x5702a1(0x149)]===X['OK']){const {hasMore:_0x1e6f0e,lastLabel:_0x7ac309}=_0x301f8f,_0x5ea5f6=hs(_0x301f8f),_0x273b56=_0x301f8f[_0x5702a1(0xf8)][_0x5702a1(0x1d2)];return{'hasMore':_0x1e6f0e,'lastLabel':_0x7ac309,'versions':_0x5ea5f6,'members':_0x273b56};}}catch(_0x20317a){console[_0x5702a1(0x146)](_0x20317a);}return null;}[_0xd297f0(0xc8)](){const _0x47f68c=_0xd297f0;var _0x2a48f4;const _0x24634d=this[_0x47f68c(0x1e7)]['getConfig'](we);return(_0x2a48f4=_0x24634d==null?void 0x0:_0x24634d['historyListServerUrl'])!=null?_0x2a48f4:_s;}async[_0xd297f0(0x1f6)](_0x4383fd,_0x25196f,_0x335a44){const _0x3a354a=_0xd297f0;var _0x4a7633,_0x134c80;_0x335a44===void 0x0&&(_0x335a44={}),this['_workbookDataCache'][_0x3a354a(0x17c)](_0x4383fd)||this[_0x3a354a(0x1a7)][_0x3a354a(0x11a)](_0x4383fd,new Map());const {snapshot:_0x2c3414,changesets:_0x40ef0e,error:_0x49c25e}=await this[_0x3a354a(0x119)][_0x3a354a(0x15e)](_0x335a44,{'unitID':_0x4383fd,'type':F[_0x3a354a(0x198)],'revision':_0x25196f});if(ns(_0x49c25e)||!_0x2c3414||!_0x2c3414[_0x3a354a(0x108)])throw new Error('[HistoryFetchService]:\x20request\x20snapshot\x20error!');const _0x44ad9d=(_0x4a7633=_0x40ef0e==null?void 0x0:_0x40ef0e[_0x3a354a(0xd9)])!=null?_0x4a7633:0x0;if(_0x25196f!==0x0&&_0x2c3414[_0x3a354a(0x191)]+_0x44ad9d!==_0x25196f)throw new Error(_0x3a354a(0xc4));const {workbook:_0x4c829c}=_0x2c3414,_0x4fb403=_0x4c829c[_0x3a354a(0x1b4)]?Object[_0x3a354a(0x244)](_0x4c829c['blockMeta'])[_0x3a354a(0xf2)](([_0x3a354e,_0x2e63d8])=>{const _0x47fa8a=_0x3a354a;var _0x1c8de5,_0x1413dd;return(_0x1413dd=(_0x1c8de5=_0x2e63d8['blocks'])==null?void 0x0:_0x1c8de5[_0x47fa8a(0xf2)](_0x1691b2=>_0x1691b2))!=null?_0x1413dd:[];})[_0x3a354a(0x243)]():[],_0x40c645=(await Promise[_0x3a354a(0x1ea)](_0x4fb403[_0x3a354a(0xf2)](_0x11b22d=>this['_snapshotServerService']['getDeserializedSheetBlock'](_0x335a44,{'unitID':_0x4383fd,'type':F[_0x3a354a(0x198)],'blockID':_0x11b22d})[_0x3a354a(0x20e)](_0x59a8c9=>_0x59a8c9[_0x3a354a(0xb6)]))))[_0x3a354a(0xfd)](_0x3182d1=>!!_0x3182d1),_0x148516=_0x4daced(_0x2c3414,_0x40c645,_0x335a44);return(_0x134c80=this[_0x3a354a(0x1a7)]['get'](_0x4383fd))==null||_0x134c80['set'](_0x25196f,{'workbook':_0x148516}),new Promise(_0x2b5014=>{const _0x58cfaf=_0x3a354a,_0x1998b8=this['_univerInstanceService']['getCurrentUnitForType'](_0x5f296c[_0x58cfaf(0x198)]);_0x1998b8?(this['_univerInstanceService'][_0x58cfaf(0x1d3)](_0x1998b8[_0x58cfaf(0x1a9)]()),setTimeout(()=>{this['_createUnit'](_0x148516,_0x40ef0e),_0x2b5014(!0x0);},0x0)):(this[_0x58cfaf(0x269)](_0x148516,_0x40ef0e),_0x2b5014(!0x0));});}['_createUnit'](_0x38b633,_0x659a3d){const _0x298341=_0xd297f0,_0x393998=this[_0x298341(0x140)][_0x298341(0xce)](_0x5f296c[_0x298341(0x198)],_0x38b633);this[_0x298341(0x140)][_0x298341(0xc5)](_0x393998['getUnitId']());const _0xcdf57b=this[_0x298341(0x184)][_0x298341(0x128)][_0x298341(0xc0)](this[_0x298341(0x184)][_0x298341(0x128)][_0x298341(0x102)]()[_0x298341(0x1a1)]);return _0x659a3d==null||_0x659a3d[_0x298341(0x159)](_0x388e38=>{const _0x359daf=_0x298341,_0x490fe1=_0x388e38[_0x359daf(0xcc)]['map'](_0x4ef417=>({'id':_0x4ef417['id'],'params':JSON[_0x359daf(0x1bd)](_0x4ef417[_0x359daf(0x20b)])}));({..._0x388e38,'mutations':_0xcdf57b(_0x490fe1,null)||_0x490fe1}[_0x359daf(0xcc)]['forEach'](_0x315b81=>{const _0xd8f11a=_0x359daf;this['_commandService']['hasCommand'](_0x315b81['id'])&&this[_0xd8f11a(0x13c)][_0xd8f11a(0x204)](_0x315b81['id'],_0x315b81[_0xd8f11a(0x253)]);}));}),_0x393998;}};Y=us([D(0x0,_0x26c918),D(0x1,_0x5ba9b4),D(0x2,_0xaf639c),D(0x3,_0x299eb0),D(0x4,_0x5de07f(_0x1d3816)),D(0x5,_0x5de07f(_0x4ae62f))],Y);function hs(_0x4f5c74){const _0x8cb29c=_0xd297f0;var _0x108cc0,_0x453dd8;const _0x53ee25=[],{entities:_0x2ba39d,historyIds:_0xe064dc}=_0x4f5c74,{datas:_0x4ba88a,users:_0x459867}=_0x2ba39d;for(const _0x171915 of _0xe064dc)if(_0x4ba88a[_0x171915]){const _0x4e7035=!!((_0x108cc0=_0x459867[_0x4ba88a[_0x171915][_0x8cb29c(0x242)]])!=null&&_0x108cc0['anonymous']);_0x53ee25[_0x8cb29c(0x223)]({'unitId':_0x4ba88a[_0x171915][_0x8cb29c(0x17b)],'user':_0x4e7035?'':((_0x453dd8=_0x459867==null?void 0x0:_0x459867[_0x4ba88a[_0x171915][_0x8cb29c(0x242)]])==null?void 0x0:_0x453dd8['name'])||'','isAnonymous':_0x4e7035,'id':_0x171915,'time':_0x4ba88a[_0x171915]['createTime']?Number(_0x4ba88a[_0x171915][_0x8cb29c(0xeb)]):void 0x0,'commands':_0x4ba88a[_0x171915][_0x8cb29c(0x1f1)],'startRev':Number(_0x4ba88a[_0x171915]['startRevision']),'endRev':Number(_0x4ba88a[_0x171915][_0x8cb29c(0xdd)]),'recoverTime':_0x4ba88a[_0x171915]['recoverTime']?Number(_0x4ba88a[_0x171915]['recoverTime']):void 0x0});}return _0x53ee25;}var ds=Object[_0xd297f0(0xd4)],vs=(_0x67ee20,_0x32af93,_0x574083,_0x844ca5)=>{for(var _0x857b2a=_0x844ca5>0x1?void 0x0:_0x844ca5?ds(_0x32af93,_0x574083):_0x32af93,_0x4d21b1=_0x67ee20['length']-0x1,_0x51107f;_0x4d21b1>=0x0;_0x4d21b1--)(_0x51107f=_0x67ee20[_0x4d21b1])&&(_0x857b2a=_0x51107f(_0x857b2a)||_0x857b2a);return _0x857b2a;},V=(_0x2a6cb7,_0x49bcc7)=>(_0x2680ad,_0x1311e5)=>_0x49bcc7(_0x2680ad,_0x1311e5,_0x2a6cb7),ne=(_0x360337=>(_0x360337['Entered']=_0xd297f0(0x167),_0x360337[_0xd297f0(0x1b1)]='exited',_0x360337[_0xd297f0(0x194)]=_0xd297f0(0x146),_0x360337))(ne||{}),T=(_0x2d3198=>(_0x2d3198['Init']=_0xd297f0(0x171),_0x2d3198[_0xd297f0(0x217)]=_0xd297f0(0xf3),_0x2d3198[_0xd297f0(0x249)]=_0xd297f0(0x25a),_0x2d3198))(T||{});const fs=_0xd297f0(0xcf);let E=class extends _0x30b72e{constructor(_0x499cbf,_0x3768ef,_0xe2cba6,_0x4bc356){const _0xa462df=_0xd297f0;super(),l(this,_0xa462df(0x1c0),new _0xb67da1([])),l(this,_0xa462df(0x138),this[_0xa462df(0x1c0)]['asObservable']()),l(this,_0xa462df(0x127),new _0xb67da1('')),l(this,'currentVersion$',this['_currentVersion$'][_0xa462df(0x23c)]()),l(this,_0xa462df(0x12c),new _0xb67da1(_0xa462df(0x167))),l(this,'status$',this[_0xa462df(0x12c)][_0xa462df(0x23c)]()),l(this,_0xa462df(0x24e),new _0xb67da1(0x0)),l(this,_0xa462df(0x247),this['_revertRevision$'][_0xa462df(0x23c)]()),l(this,_0xa462df(0x256),new _0xb67da1('')),l(this,_0xa462df(0x1d7),this[_0xa462df(0x256)]['asObservable']()),l(this,_0xa462df(0xc1),!0x1),l(this,_0xa462df(0x129),new _0xb67da1(_0xa462df(0x171))),l(this,_0xa462df(0x19c),this[_0xa462df(0x129)]['asObservable']()),l(this,_0xa462df(0x157),null),l(this,_0xa462df(0x18d),!0x0),l(this,_0xa462df(0xe6),new Map()),l(this,_0xa462df(0x1f7)),l(this,_0xa462df(0x112)),l(this,'_maskElement'),l(this,_0xa462df(0x268),!0x1),(this[_0xa462df(0x166)]=_0x499cbf,this[_0xa462df(0xcb)]=_0x3768ef,this['_localeService']=_0xe2cba6,this[_0xa462df(0x258)]=_0x4bc356);}async['triggerLoadVersions'](_0x25d855,_0x484a22,_0x5122be){const _0x1b830d=_0xd297f0;this[_0x1b830d(0x1f7)]=_0x484a22,this[_0x1b830d(0x268)]=_0x5122be,this[_0x1b830d(0x256)][_0x1b830d(0x239)](_0x25d855),this['_fetching']=!0x0;const _0x82fbc1=await this[_0x1b830d(0x258)][_0x1b830d(0xbc)](_0x25d855);if(this[_0x1b830d(0xc1)]=!0x1,_0x82fbc1){const {versions:_0x310f55,lastLabel:_0x25f278,hasMore:_0x1794c8,members:_0x4f0df7}=_0x82fbc1;_0x310f55[_0x1b830d(0xd9)]===0x0&&_0x310f55[_0x1b830d(0x223)]({'unitId':_0x25d855,'id':fs,'startRev':0x1,'endRev':0x0,'time':Date['now'](),'user':this[_0x1b830d(0x26b)]['t']('editHistory.panel.currentUser'),'commands':[],'isAnonymous':!0x1}),this[_0x1b830d(0x192)](_0x310f55,_0x1794c8,_0x25f278,_0x4f0df7),this[_0x1b830d(0x127)][_0x1b830d(0x239)](_0x310f55[0x0]['id']);}else this[_0x1b830d(0x12c)][_0x1b830d(0x239)]('error');}async[_0xd297f0(0x20f)](){const _0x4b0be8=_0xd297f0;if(!this[_0x4b0be8(0x157)]||!this[_0x4b0be8(0x18d)]||this[_0x4b0be8(0xc1)])return!0x1;this['_fetching']=!0x0;const _0x2aab1b=await this[_0x4b0be8(0x258)][_0x4b0be8(0xbc)](this[_0x4b0be8(0x17b)],this['_lastLabel']);if(this[_0x4b0be8(0xc1)]=!0x1,_0x2aab1b){const {versions:_0x103994,lastLabel:_0x29daa2,hasMore:_0x1f7524,members:_0x3679ca}=_0x2aab1b;this['_updateVersions'](_0x103994,_0x1f7524,_0x29daa2,_0x3679ca);}else this['_messageService'][_0x4b0be8(0x23f)]({'content':this['_localeService']['t'](_0x4b0be8(0x1bc)),'type':_0x109689[_0x4b0be8(0x194)],'duration':0xbb8});return!0x0;}async[_0xd297f0(0x1b3)](_0x1c0395){const _0x2b5428=_0xd297f0;var _0x3d254a;const _0x3059dc=(_0x3d254a=this['_versions$'][_0x2b5428(0x10b)])==null?void 0x0:_0x3d254a[_0x2b5428(0x14f)](_0x43ba28=>_0x43ba28['id']===_0x1c0395),{endRev:_0x41ebc2}=_0x3059dc||{};_0x41ebc2||_0x41ebc2===0x0?(this[_0x2b5428(0x129)][_0x2b5428(0x239)]('loading'),await this[_0x2b5428(0x258)]['loadSheet'](this[_0x2b5428(0x17b)],_0x41ebc2),this[_0x2b5428(0x129)][_0x2b5428(0x239)](_0x2b5428(0x25a))):this['_status$'][_0x2b5428(0x239)](_0x2b5428(0x146));}async[_0xd297f0(0x1e9)](_0x1fcbb8){const _0x282064=_0xd297f0,_0x2d47ad=_0x1fcbb8?this[_0x282064(0x1d0)](_0x1fcbb8):this[_0x282064(0x14a)]();if(!_0x2d47ad)return;const _0x2fce72=_0x2d47ad[_0x282064(0x1bb)],_0xfbaf10=re(_0x2d47ad['time'],this['_localeService'][_0x282064(0x207)]());await this['_confirmService'][_0x282064(0xec)]({'id':_0x282064(0xf4),'title':{'title':this[_0x282064(0x26b)]['t'](_0x282064(0x12a))},'children':{'title':this[_0x282064(0x26b)]['t']('editHistory.panel.revertConfirmText')+':\x20('+_0xfbaf10[_0x282064(0x1af)]+'\x20'+_0xfbaf10[_0x282064(0x231)]+')'},'cancelText':this[_0x282064(0x26b)]['t'](_0x282064(0x1c2)),'confirmText':this[_0x282064(0x26b)]['t'](_0x282064(0x103))})&&this[_0x282064(0x24e)][_0x282064(0x239)](_0x2fce72);}[_0xd297f0(0x192)](_0xd71889,_0x4540eb,_0x19c1fd,_0x160208){const _0x66e04a=_0xd297f0;this[_0x66e04a(0x1c0)][_0x66e04a(0x239)](this['_versions$'][_0x66e04a(0x10b)][_0x66e04a(0x224)](_0xd71889)),this['_hasMore']=_0x4540eb,this[_0x66e04a(0x157)]=_0x19c1fd,_0x160208&&Object[_0x66e04a(0x16d)](_0x160208)['forEach'](_0x5bdf3f=>this[_0x66e04a(0xe6)][_0x66e04a(0x11a)](_0x5bdf3f,_0x160208[_0x5bdf3f]));}['getCurrentVersion'](){const _0xda28a1=_0xd297f0;return this[_0xda28a1(0x1d0)](this['_currentVersion$'][_0xda28a1(0x10b)]);}['getVersion'](_0x1f8ff5){const _0x12884a=_0xd297f0;var _0x234627;return(_0x234627=this['_versions$'][_0x12884a(0x10b)])==null?void 0x0:_0x234627[_0x12884a(0x14f)](_0x35e1bd=>_0x35e1bd['id']===_0x1f8ff5);}[_0xd297f0(0xe8)](_0x26b568){const _0x28a02c=_0xd297f0;return this['_members'][_0x28a02c(0xc6)](_0x26b568);}[_0xd297f0(0x164)](){const _0x4c83d6=_0xd297f0;this[_0x4c83d6(0xea)]=document[_0x4c83d6(0x11c)]('div'),this[_0x4c83d6(0xea)][_0x4c83d6(0x17d)]=_0x4c83d6(0x122),this['_maskElement'][_0x4c83d6(0x17f)][_0x4c83d6(0x11d)]=_0x4c83d6(0x11b),this[_0x4c83d6(0xea)][_0x4c83d6(0x17f)][_0x4c83d6(0x134)]='0',this['_maskElement'][_0x4c83d6(0x17f)]['left']='0',this[_0x4c83d6(0xea)][_0x4c83d6(0x17f)][_0x4c83d6(0x22b)]=_0x4c83d6(0x206),this[_0x4c83d6(0xea)][_0x4c83d6(0x17f)]['height']=_0x4c83d6(0x206),this[_0x4c83d6(0xea)][_0x4c83d6(0x17f)][_0x4c83d6(0x1b9)]=_0x4c83d6(0x177),this[_0x4c83d6(0xea)][_0x4c83d6(0x17f)][_0x4c83d6(0x220)]=_0x4c83d6(0xee),this[_0x4c83d6(0xea)][_0x4c83d6(0x17f)][_0x4c83d6(0xf5)]=_0x4c83d6(0x203),this[_0x4c83d6(0xea)]['style'][_0x4c83d6(0x1c8)]=_0x4c83d6(0x156),this[_0x4c83d6(0xea)]['style'][_0x4c83d6(0x255)]=_0x4c83d6(0x153),this[_0x4c83d6(0xea)]['style'][_0x4c83d6(0xf5)]=_0x4c83d6(0x21d),this[_0x4c83d6(0x112)][_0x4c83d6(0xf0)](this[_0x4c83d6(0xea)]);}['_initMaskContainer'](){const _0x293779=_0xd297f0;var _0x38a28f;const _0x39e454=(_0x38a28f=document[_0x293779(0xe7)](this[_0x293779(0x1f7)]))==null?void 0x0:_0x38a28f['querySelector']('.univer-app-container-content');_0x39e454&&(this[_0x293779(0x112)]=_0x39e454,this[_0x293779(0x164)]());}[_0xd297f0(0x24b)](){const _0x4ad817=_0xd297f0;this[_0x4ad817(0x112)]||this[_0x4ad817(0x170)](),this[_0x4ad817(0xea)]&&(this['_maskElement']['style'][_0x4ad817(0xf5)]=_0x4ad817(0x203));}['hideMask'](){const _0x657bf4=_0xd297f0;this[_0x657bf4(0xea)]&&(this[_0x657bf4(0xea)][_0x657bf4(0x17f)][_0x657bf4(0xf5)]=_0x657bf4(0x21d));}set[_0xd297f0(0x1c5)](_0x2495fc){const _0x5a30a2=_0xd297f0;this[_0x5a30a2(0x12c)][_0x5a30a2(0x239)](_0x2495fc);}set[_0xd297f0(0x16e)](_0x546c33){const _0x3453e7=_0xd297f0;_0x546c33!==this[_0x3453e7(0x127)][_0x3453e7(0x10b)]&&this[_0x3453e7(0x127)][_0x3453e7(0x239)](_0x546c33);}get[_0xd297f0(0x16e)](){const _0x31e27c=_0xd297f0;return this[_0x31e27c(0x127)][_0x31e27c(0x10b)];}set[_0xd297f0(0x17b)](_0x237061){const _0x437bab=_0xd297f0;this[_0x437bab(0x256)][_0x437bab(0x239)](_0x237061);}get[_0xd297f0(0x17b)](){const _0x2ecf99=_0xd297f0;return this[_0x2ecf99(0x256)][_0x2ecf99(0x10b)];}get[_0xd297f0(0x227)](){return this['_canRevert'];}get['loadingState'](){const _0x3fcb09=_0xd297f0;return this[_0x3fcb09(0x129)][_0x3fcb09(0x10b)];}};E=vs([V(0x0,_0x31a373),V(0x1,_0x194eb3),V(0x2,_0x5de07f(_0x173dd9)),V(0x3,_0x5de07f(Y))],E);var g=function(){const _0x23138c=_0xd297f0;return g=Object[_0x23138c(0x115)]||function(_0x171f80){const _0x226655=_0x23138c;for(var _0x420b4a,_0x291554=0x1,_0x11e319=arguments[_0x226655(0xd9)];_0x291554<_0x11e319;_0x291554++){_0x420b4a=arguments[_0x291554];for(var _0x4cf5ce in _0x420b4a)Object[_0x226655(0x172)][_0x226655(0x15c)][_0x226655(0x209)](_0x420b4a,_0x4cf5ce)&&(_0x171f80[_0x4cf5ce]=_0x420b4a[_0x4cf5ce]);}return _0x171f80;},g['apply'](this,arguments);},ms=function(_0x25d031,_0x13f817){const _0x142661=_0xd297f0;var _0x45f6e2={};for(var _0x4b992a in _0x25d031)Object[_0x142661(0x172)][_0x142661(0x15c)]['call'](_0x25d031,_0x4b992a)&&_0x13f817[_0x142661(0x229)](_0x4b992a)<0x0&&(_0x45f6e2[_0x4b992a]=_0x25d031[_0x4b992a]);if(_0x25d031!=null&&typeof Object[_0x142661(0x24d)]=='function'){for(var _0x30bee2=0x0,_0x4b992a=Object[_0x142661(0x24d)](_0x25d031);_0x30bee2<_0x4b992a[_0x142661(0xd9)];_0x30bee2++)_0x13f817[_0x142661(0x229)](_0x4b992a[_0x30bee2])<0x0&&Object[_0x142661(0x172)]['propertyIsEnumerable'][_0x142661(0x209)](_0x25d031,_0x4b992a[_0x30bee2])&&(_0x45f6e2[_0x4b992a[_0x30bee2]]=_0x25d031[_0x4b992a[_0x30bee2]]);}return _0x45f6e2;},G=_0x5269a0(function(_0x9c7277,_0x1cc90b){const _0x22a998=_0xd297f0;var _0x4fb055=_0x9c7277[_0x22a998(0x1f4)],_0x4e7cc7=_0x9c7277['id'],_0x34ffec=_0x9c7277[_0x22a998(0x17d)],_0xf5cd4=_0x9c7277[_0x22a998(0x1c1)],_0x187afa=ms(_0x9c7277,['icon','id',_0x22a998(0x17d),_0x22a998(0x1c1)]),_0x1d49b4=_0x22a998(0x1f8)[_0x22a998(0x224)](_0x4e7cc7,'\x20')[_0x22a998(0x224)](_0x34ffec||'')[_0x22a998(0x24c)](),_0x1a19b4=_0xa74af2('_'[_0x22a998(0x224)](gs()));return Pe(_0x4fb055,''[_0x22a998(0x224)](_0x4e7cc7),{'defIds':_0x4fb055['defIds'],'idSuffix':_0x1a19b4['current']},g({'ref':_0x1cc90b,'className':_0x1d49b4},_0x187afa),_0xf5cd4);});function Pe(_0x3993f7,_0x1e1947,_0x3c6c50,_0x3528f4,_0x4b19c9){return _0x5b7017(_0x3993f7['tag'],g(g({'key':_0x1e1947},Is(_0x3993f7,_0x3c6c50,_0x4b19c9)),_0x3528f4),(Ss(_0x3993f7,_0x3c6c50)['children']||[])['map'](function(_0x277f00,_0x487334){const _0x36a3ad=_0x55e5;return Pe(_0x277f00,''['concat'](_0x1e1947,'-')[_0x36a3ad(0x224)](_0x3993f7[_0x36a3ad(0x24f)],'-')[_0x36a3ad(0x224)](_0x487334),_0x3c6c50,void 0x0,_0x4b19c9);}));}function Is(_0x343e91,_0x5ee005,_0x197c47){const _0x9b6bcf=_0xd297f0;var _0x34e36d=g({},_0x343e91[_0x9b6bcf(0x14d)]);_0x197c47!=null&&_0x197c47['colorChannel1']&&_0x34e36d[_0x9b6bcf(0xef)]===_0x9b6bcf(0x1a6)&&(_0x34e36d[_0x9b6bcf(0xef)]=_0x197c47[_0x9b6bcf(0x1a6)]),_0x343e91[_0x9b6bcf(0x24f)]===_0x9b6bcf(0x12b)&&_0x34e36d['id']&&(_0x34e36d['id']=_0x34e36d['id']+_0x5ee005['idSuffix']),Object[_0x9b6bcf(0x244)](_0x34e36d)['forEach'](function(_0x19d1df){const _0x212708=_0x9b6bcf;var _0x5a05a1=_0x19d1df[0x0],_0x3b503b=_0x19d1df[0x1];_0x5a05a1===_0x212708(0x12b)&&typeof _0x3b503b==_0x212708(0x23a)&&(_0x34e36d[_0x5a05a1]=_0x3b503b[_0x212708(0x1a8)](/url\(#(.*)\)/,'url(#$1'[_0x212708(0x224)](_0x5ee005[_0x212708(0x1be)],')')));});var _0xbccf03=_0x5ee005[_0x9b6bcf(0x132)];return!_0xbccf03||_0xbccf03[_0x9b6bcf(0xd9)]===0x0||(_0x343e91[_0x9b6bcf(0x24f)]===_0x9b6bcf(0x18c)&&_0x34e36d[_0x9b6bcf(0x263)]&&(_0x34e36d[_0x9b6bcf(0x263)]=_0x34e36d[_0x9b6bcf(0x263)]+_0x5ee005[_0x9b6bcf(0x1be)]),Object[_0x9b6bcf(0x244)](_0x34e36d)[_0x9b6bcf(0x159)](function(_0xba3c77){const _0x5e6ee8=_0x9b6bcf;var _0x489638=_0xba3c77[0x0],_0x241b68=_0xba3c77[0x1];typeof _0x241b68=='string'&&(_0x34e36d[_0x489638]=_0x241b68[_0x5e6ee8(0x1a8)](/url\(#(.*)\)/,_0x5e6ee8(0x155)[_0x5e6ee8(0x224)](_0x5ee005['idSuffix'],')')));})),_0x34e36d;}function Ss(_0x52d609,_0x4c9825){const _0x122ba1=_0xd297f0;var _0x3e8534,_0x27bc3e=_0x4c9825[_0x122ba1(0x132)];return!_0x27bc3e||_0x27bc3e[_0x122ba1(0xd9)]===0x0?_0x52d609:_0x52d609[_0x122ba1(0x24f)]===_0x122ba1(0x1cc)&&(!((_0x3e8534=_0x52d609['children'])===null||_0x3e8534===void 0x0)&&_0x3e8534[_0x122ba1(0xd9)])?g(g({},_0x52d609),{'children':_0x52d609[_0x122ba1(0x25b)][_0x122ba1(0xf2)](function(_0x6c416b){const _0x12ae2f=_0x122ba1;return typeof _0x6c416b[_0x12ae2f(0x14d)]['id']=='string'&&_0x27bc3e&&_0x27bc3e['includes'](_0x6c416b['attrs']['id'])?g(g({},_0x6c416b),{'attrs':g(g({},_0x6c416b['attrs']),{'id':_0x6c416b[_0x12ae2f(0x14d)]['id']+_0x4c9825[_0x12ae2f(0x1be)]})}):_0x6c416b;})}):_0x52d609;}function gs(){const _0x4622ff=_0xd297f0;return Math['random']()[_0x4622ff(0xb8)](0x24)[_0x4622ff(0x15a)](0x2,0x8);}G[_0xd297f0(0x13e)]=_0xd297f0(0x233);var ps={'tag':_0xd297f0(0x1ff),'attrs':{'xmlns':_0xd297f0(0x1d4),'fill':_0xd297f0(0x21d),'viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':_0xd297f0(0xd6),'attrs':{'fill':_0xd297f0(0x1ad),'d':_0xd297f0(0xd5)}}]},Te=_0x5269a0(function(_0x713107,_0x2e2f94){const _0x599487=_0xd297f0;return _0x5b7017(G,Object[_0x599487(0x115)]({},_0x713107,{'id':_0x599487(0x21b),'ref':_0x2e2f94,'icon':ps}));});Te[_0xd297f0(0x13e)]='BackIcon';var Es={'tag':_0xd297f0(0x1ff),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0xd297f0(0x1da),'width':_0xd297f0(0x111),'height':_0xd297f0(0x111)},'children':[{'tag':_0xd297f0(0xd6),'attrs':{'fill':_0xd297f0(0x12d),'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':_0xd297f0(0x199),'clipRule':_0xd297f0(0x199)}},{'tag':_0xd297f0(0xd6),'attrs':{'fill':_0xd297f0(0x12d),'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':_0xd297f0(0x199),'clipRule':_0xd297f0(0x199)}}]},ae=_0x5269a0(function(_0x4e1ccf,_0x13a3eb){const _0xdf8ccf=_0xd297f0;return _0x5b7017(G,Object[_0xdf8ccf(0x115)]({},_0x4e1ccf,{'id':_0xdf8ccf(0x262),'ref':_0x13a3eb,'icon':Es}));});ae[_0xd297f0(0x13e)]=_0xd297f0(0x202);var Rs={'tag':_0xd297f0(0x1ff),'attrs':{'xmlns':_0xd297f0(0x1d4),'fill':_0xd297f0(0x21d),'viewBox':_0xd297f0(0xe1),'width':'1em','height':_0xd297f0(0x111)},'children':[{'tag':'g','attrs':{'fill':_0xd297f0(0x1ad),'clipPath':'url(#restore-icon_clip0_1247_2)'},'children':[{'tag':_0xd297f0(0xd6),'attrs':{'d':_0xd297f0(0xed)}},{'tag':_0xd297f0(0xd6),'attrs':{'d':_0xd297f0(0x1ac),'fillRule':'evenodd','clipRule':_0xd297f0(0x199)}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0xd297f0(0x250),'attrs':{'id':'restore-icon_clip0_1247_2'},'children':[{'tag':'rect','attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0xd297f0(0xee),'rx':0x4}}]}]}],'defIds':['restore-icon_clip0_1247_2']},Le=_0x5269a0(function(_0x47f58d,_0x15e2a3){const _0x6b41c=_0xd297f0;return _0x5b7017(G,Object[_0x6b41c(0x115)]({},_0x47f58d,{'id':_0x6b41c(0x160),'ref':_0x15e2a3,'icon':Rs}));});Le['displayName']=_0xd297f0(0x234);function Os(){const _0x13da8f=_0xd297f0;var _0x4b80e1;const _0x1adcae=_0x27a3a1(E),_0x35c67b=_0x27a3a1(_0x173dd9),_0x1f3f0b=_0x5d95e9(()=>{_0x1adcae['status']=ne['Exited'];},[_0x1adcae]),_0x1f7c24=_0x5d95e9(()=>{const _0x123171=_0x55e5;_0x1adcae[_0x123171(0x1e9)]();},[_0x1adcae]),_0x1142b2=_0x165c19(_0x1adcae[_0x13da8f(0xb7)]),_0x3911f2=_0x165c19(_0x1adcae['versions$']),_0x2335c6=_0x1142b2===((_0x4b80e1=_0x3911f2==null?void 0x0:_0x3911f2[0x0])==null?void 0x0:_0x4b80e1['id']),_0x4f6dbd=_0x1142b2!==''&&!_0x2335c6&&_0x1adcae[_0x13da8f(0x227)];return _0x51c8bf(_0x13da8f(0x117),{'className':_0xfbda6e(_0x13da8f(0x1ee),_0x478997),'children':[_0x21d9aa(_0x13da8f(0x117),{'onClick':_0x1f3f0b,'className':_0x13da8f(0x20c),'children':_0x21d9aa(Te,{'className':_0x13da8f(0xdc)})}),_0x21d9aa(_0x13da8f(0x117),{'className':_0x13da8f(0x123),'children':_0x4f6dbd&&_0x21d9aa(_0x3e5b84,{'variant':_0x13da8f(0x1ed),'onClick':_0x1f7c24,'children':_0x35c67b['t'](_0x13da8f(0x16f))})})]});}var Ms=Object[_0xd297f0(0xd4)],Ns=(_0x24258b,_0x5bdab8,_0x1c1650,_0x4e83a4)=>{const _0x11473d=_0xd297f0;for(var _0x388b5f=_0x4e83a4>0x1?void 0x0:_0x4e83a4?Ms(_0x5bdab8,_0x1c1650):_0x5bdab8,_0x3e943d=_0x24258b[_0x11473d(0xd9)]-0x1,_0x1d0c9e;_0x3e943d>=0x0;_0x3e943d--)(_0x1d0c9e=_0x24258b[_0x3e943d])&&(_0x388b5f=_0x1d0c9e(_0x388b5f)||_0x388b5f);return _0x388b5f;},y=(_0x7fffce,_0xc5392c)=>(_0x47e5ad,_0x28d08e)=>_0xc5392c(_0x47e5ad,_0x28d08e,_0x7fffce);let B=class extends _0x30b72e{constructor(_0x550883,_0x3c2a2c,_0x272d34,_0x3ed63e,_0xe02484,_0x4d61c9){const _0x1ae97e=_0xd297f0;super(),this['_permissionService']=_0x550883,this[_0x1ae97e(0xde)]=_0x3c2a2c,this[_0x1ae97e(0x166)]=_0x272d34,this[_0x1ae97e(0x26b)]=_0x3ed63e,this[_0x1ae97e(0x125)]=_0xe02484,this[_0x1ae97e(0x196)]=_0x4d61c9,this[_0x1ae97e(0x211)]();}[_0xd297f0(0x211)](){const _0x48fac2=_0xd297f0;this[_0x48fac2(0x10d)](this[_0x48fac2(0x125)][_0x48fac2(0xb7)]['subscribe'](_0x7cbc32=>{const _0x19c5f4=_0x48fac2;_0x7cbc32&&this[_0x19c5f4(0x125)][_0x19c5f4(0x1b3)](_0x7cbc32);})),this[_0x48fac2(0x10d)](this[_0x48fac2(0x13f)][_0x48fac2(0x1aa)][_0x48fac2(0x1b0)](_0xe87a9f=>{const _0x3598e7=_0x48fac2,_0x45bce7=this[_0x3598e7(0x125)][_0x3598e7(0x17b)];_0x45bce7&&(_0xe87a9f[_0x3598e7(0xbb)]===b['Edit']&&_0xe87a9f[_0x3598e7(0x10b)]===!0x0&&this[_0x3598e7(0x13f)]['updatePermissionPoint'](new _0x26684c(_0x45bce7)['id'],!0x1),_0xe87a9f[_0x3598e7(0xbb)]===b[_0x3598e7(0x15d)]&&_0xe87a9f[_0x3598e7(0x10b)]===!0x0&&this['_permissionService'][_0x3598e7(0x246)](new _0xfd49be(_0x45bce7)['id'],!0x1),_0xe87a9f[_0x3598e7(0xbb)]===b[_0x3598e7(0x19b)]&&_0xe87a9f[_0x3598e7(0x10b)]===!0x0&&this[_0x3598e7(0x13f)][_0x3598e7(0x246)](new _0x4cc450(_0x45bce7)['id'],!0x1),_0xe87a9f[_0x3598e7(0xbb)]===b['HideSheet']&&_0xe87a9f['value']===!0x0&&this[_0x3598e7(0x13f)][_0x3598e7(0x246)](new _0x4c6c43(_0x45bce7)['id'],!0x1),_0xe87a9f[_0x3598e7(0xbb)]===b[_0x3598e7(0x151)]&&_0xe87a9f[_0x3598e7(0x10b)]===!0x0&&this[_0x3598e7(0x13f)][_0x3598e7(0x246)](new _0x26684c(_0x45bce7)['id'],!0x1),_0xe87a9f[_0x3598e7(0xbb)]===b[_0x3598e7(0x214)]&&_0xe87a9f['value']===!0x0&&this['_permissionService']['updatePermissionPoint'](new _0x26684c(_0x45bce7)['id'],!0x1));})),this[_0x48fac2(0x10d)](this[_0x48fac2(0xde)][_0x48fac2(0x22a)](_0x5baf41[_0x48fac2(0x15b)],()=>_0x3dbd67(Os,this[_0x48fac2(0x196)]))),this['disposeWithMe'](this[_0x48fac2(0x125)][_0x48fac2(0x19c)][_0x48fac2(0x1b0)](_0x537a88=>{const _0x383f3d=_0x48fac2;_0x537a88===T[_0x383f3d(0x217)]&&(this[_0x383f3d(0x125)][_0x383f3d(0x24b)](),this['_messageService'][_0x383f3d(0x23f)]({'type':_0x109689[_0x383f3d(0x133)],'content':this[_0x383f3d(0x26b)]['t'](_0x383f3d(0x1f5))})),_0x537a88===T[_0x383f3d(0x249)]&&this[_0x383f3d(0x125)][_0x383f3d(0x144)]();}));}};B=Ns([y(0x0,_0x110567),y(0x1,_0x17ef65),y(0x2,_0x31a373),y(0x3,_0x5de07f(_0x173dd9)),y(0x4,_0x5de07f(E)),y(0x5,_0x5de07f(_0x3e765c))],B);var bs=Object[_0xd297f0(0xd4)],Ds=(_0x197cfb,_0x3c094b,_0xb534c9,_0x51e343)=>{for(var _0xc786b2=_0x51e343>0x1?void 0x0:_0x51e343?bs(_0x3c094b,_0xb534c9):_0x3c094b,_0x578e8c=_0x197cfb['length']-0x1,_0x40f050;_0x578e8c>=0x0;_0x578e8c--)(_0x40f050=_0x197cfb[_0x578e8c])&&(_0xc786b2=_0x40f050(_0xc786b2)||_0xc786b2);return _0xc786b2;},Q=(_0x8281af,_0x4b9ee7)=>(_0xbb7f45,_0x83d95d)=>_0x4b9ee7(_0xbb7f45,_0x83d95d,_0x8281af);let $=class extends _0x30b72e{constructor(_0x50072a,_0x5b4087,_0x302c72){const _0x128675=_0xd297f0;super(),l(this,_0x128675(0x107),new Map()),l(this,_0x128675(0x10f),new _0xb67da1({'ranges':new Map(),'active':null})),l(this,_0x128675(0x25d),this[_0x128675(0x10f)][_0x128675(0x23c)]()),(this['_historyManagerService']=_0x50072a,this[_0x128675(0xfa)]=_0x5b4087,this[_0x128675(0x119)]=_0x302c72,this[_0x128675(0x211)]());}[_0xd297f0(0x211)](){const _0x12a889=_0xd297f0;this[_0x12a889(0x107)]=new Map(),this[_0x12a889(0x10d)](this[_0x12a889(0x125)][_0x12a889(0x1d7)]['subscribe'](_0x14c4e4=>{const _0x17f43a=_0x12a889;_0x14c4e4&&!this['_diffRangesMap'][_0x17f43a(0x17c)](_0x14c4e4)&&this[_0x17f43a(0x107)][_0x17f43a(0x11a)](_0x14c4e4,new Map());})),this[_0x12a889(0x10d)](this[_0x12a889(0x125)]['currentVersion$'][_0x12a889(0x1b0)](async _0x19c398=>{const _0x140c4a=_0x12a889;var _0x457101;_0x19c398&&(await this[_0x140c4a(0x163)](_0x19c398),this[_0x140c4a(0x10f)][_0x140c4a(0x239)](((_0x457101=this[_0x140c4a(0x107)][_0x140c4a(0xc6)](this[_0x140c4a(0x125)]['unitId']))==null?void 0x0:_0x457101[_0x140c4a(0xc6)](_0x19c398))||{'ranges':new Map(),'active':null}));}));}async[_0xd297f0(0x163)](_0x2078cb){const _0xdfa118=_0xd297f0;var _0x1b74be,_0x21d994;const _0x30d185=this[_0xdfa118(0x125)][_0xdfa118(0x1d0)](_0x2078cb),_0x198cba=this[_0xdfa118(0x125)][_0xdfa118(0x17b)];if(!_0x30d185||!_0x198cba)return;const _0x578129=this[_0xdfa118(0x107)][_0xdfa118(0xc6)](_0x198cba);if(_0x578129||this['_diffRangesMap'][_0xdfa118(0x11a)](_0x198cba,new Map()),(_0x1b74be=this['_diffRangesMap'][_0xdfa118(0xc6)](_0x198cba))!=null&&_0x1b74be[_0xdfa118(0x17c)](_0x30d185['id']))return;const {startRev:_0x5530ae,endRev:_0x2beb79}=_0x30d185;if(_0x5530ae===0x1){_0x578129[_0xdfa118(0x11a)](_0x30d185['id'],{'ranges':new Map(),'active':null});return;}const _0x3d39a9=_0x5530ae-0x1,_0x21f4c4=_0x2beb79,_0x1ba325=await this['_snapshotServerService'][_0xdfa118(0x18a)]({},{'unitID':_0x198cba,'from':_0x3d39a9,'to':_0x21f4c4,'type':F[_0xdfa118(0x198)]});if(((_0x21d994=_0x1ba325[_0xdfa118(0x146)])==null?void 0x0:_0x21d994[_0xdfa118(0x149)])===X['OK']){const _0x1a9a13=_0x1ba325['changesets'][_0xdfa118(0xf2)](_0x26ece0)[_0xdfa118(0xf2)](_0x4daa4d=>_0x4daa4d[_0xdfa118(0xcc)][_0xdfa118(0xf2)](_0xd8dc30=>({..._0xd8dc30,'params':{..._0xd8dc30[_0xdfa118(0x253)],'memberId':_0x4daa4d[_0xdfa118(0x1d5)]}})))[_0xdfa118(0x243)](),_0x2c46fa=this[_0xdfa118(0x1bf)](_0x1a9a13),_0x2db74f=this[_0xdfa118(0x124)](_0x1a9a13),_0x3cf6f6=this[_0xdfa118(0x241)](_0x2c46fa);_0x578129[_0xdfa118(0x11a)](_0x30d185['id'],{'ranges':_0x3cf6f6,'active':_0x2db74f});}}[_0xd297f0(0x1bf)](_0x2bd0a6){const _0x1943dd=_0xd297f0;let _0x266851=[];for(let _0x1ac076=0x0;_0x1ac076<_0x2bd0a6[_0x1943dd(0xd9)];_0x1ac076++){const _0x23eb30=_0x2bd0a6[_0x1ac076];if(_0x266851[_0x1943dd(0x223)](_0x23eb30),_0x1ac076!==_0x2bd0a6['length']-0x1){const _0x4e07b9=_0x2bd0a6[_0x1ac076+0x1],_0x3aaf76=this[_0x1943dd(0xfa)][_0x1943dd(0x257)](_0x266851,[_0x4e07b9]);_0x4239ea(_0x3aaf76)?_0x266851=_0x3aaf76[_0x1943dd(0x1fd)]:_0x266851=[];}}return _0x266851;}['_getActiveSubUnitId'](_0x21a38a){const _0x45a037=_0xd297f0;let _0x37020f=[];return _0x21a38a['forEach'](_0x333e51=>{const _0x4f5720=_0x55e5;if(_0x333e51['id']===_0x28c53b['id']){const _0x315abc=_0x333e51[_0x4f5720(0x253)];_0x37020f[_0x4f5720(0x223)](_0x315abc[_0x4f5720(0x189)]['id']);}else{if(_0x333e51['id']===_0x202979['id']){const _0x5ac976=_0x333e51[_0x4f5720(0x253)];_0x37020f[_0x4f5720(0xd9)]>0x0&&(_0x37020f=_0x37020f[_0x4f5720(0xfd)](_0x23c25e=>_0x23c25e!==_0x5ac976[_0x4f5720(0x11f)]));}else{if(_0x333e51['id']===_0xe9e00b['id']){const _0x42f826=_0x333e51[_0x4f5720(0x253)];_0x42f826[_0x4f5720(0x254)]?_0x37020f=_0x37020f[_0x4f5720(0xfd)](_0xdc7e06=>_0xdc7e06!==_0x42f826[_0x4f5720(0x11f)]):_0x37020f['push'](_0x42f826[_0x4f5720(0x11f)]);}else{const _0x2b3d68=_0x333e51[_0x4f5720(0x253)];_0x2b3d68['subUnitId']&&_0x37020f[_0x4f5720(0x223)](_0x2b3d68[_0x4f5720(0x11f)]);}}}}),_0x37020f[_0x45a037(0xd9)]>0x0?_0x37020f[_0x37020f[_0x45a037(0xd9)]-0x1]:null;}[_0xd297f0(0x241)](_0x48ccca){const _0xe386ce=_0xd297f0,_0x5d5c75=new Map();return _0x48ccca[_0xe386ce(0x159)](_0x549e37=>{const _0x40fb6a=_0xe386ce;var _0x607b43,_0x8e7e6f;const _0x4ffc7d=(_0x607b43=_0x549e37[_0x40fb6a(0x253)])==null?void 0x0:_0x607b43[_0x40fb6a(0x1fa)];if(_0x4ffc7d){_0x5d5c75[_0x40fb6a(0x17c)](_0x4ffc7d)||_0x5d5c75[_0x40fb6a(0x11a)](_0x4ffc7d,[]);const _0x2de1e7=this[_0x40fb6a(0x178)](_0x549e37);(_0x8e7e6f=_0x5d5c75[_0x40fb6a(0xc6)](_0x4ffc7d))==null||_0x8e7e6f[_0x40fb6a(0x223)](..._0x2de1e7);}}),_0x5d5c75[_0xe386ce(0x159)]((_0x30e358,_0x122cb6)=>{const _0x5b313f=_0xe386ce;_0x5d5c75[_0x5b313f(0x11a)](_0x122cb6,this[_0x5b313f(0x141)](_0x30e358));}),_0x5d5c75;}[_0xd297f0(0x178)](_0x43ed51){const _0x457152=_0xd297f0;switch(_0x43ed51['id']){case _0x27fe77['id']:{const _0x452200=_0x43ed51['params'];return _0x452200[_0x457152(0x251)][_0x457152(0xf2)](_0x2653c3=>_0x2653c3[_0x457152(0x19f)][_0x457152(0xf2)](_0xdbea17=>({'range':_0xdbea17,'unitId':_0x452200[_0x457152(0x17b)],'subUnitId':_0x452200['subUnitId']})))[_0x457152(0x243)]();}case _0x397f92['id']:{const _0x5494e3=_0x43ed51[_0x457152(0x253)];return _0x5494e3['ranges'][_0x457152(0xf2)](_0x4cdebc=>({'range':_0x4cdebc,'unitId':_0x5494e3[_0x457152(0x17b)],'subUnitId':_0x5494e3['subUnitId']}));}case _0x37cd88['id']:{const _0x18009b=_0x43ed51['params'];return[{'range':_0x18009b[_0x457152(0x21a)],'unitId':_0x18009b[_0x457152(0x17b)],'subUnitId':_0x18009b['subUnitId']}];}case _0x523407['id']:{const _0x5e7589=_0x43ed51[_0x457152(0x253)];return[{'range':_0x5e7589[_0x457152(0x21a)],'unitId':_0x5e7589['unitId'],'subUnitId':_0x5e7589['subUnitId']}];}case _0x50691f['id']:{const _0x584983=_0x43ed51[_0x457152(0x253)],{from:_0x2dc742,to:_0x373d5a,unitId:_0x222435}=_0x584983;return[{'range':he(_0x2dc742['value']),'unitId':_0x222435,'subUnitId':_0x2dc742[_0x457152(0x11f)]},{'range':he(_0x373d5a[_0x457152(0x10b)]),'unitId':_0x222435,'subUnitId':_0x373d5a[_0x457152(0x11f)]}];}case _0x54be3c['id']:{const _0x177f85=_0x43ed51[_0x457152(0x253)],{unitId:_0x22288e,subUnitId:_0x43865a,sourceRange:_0x2cce3b,targetRange:_0x20b8a3}=_0x177f85,_0x36c0d5=_0x2cce3b['endRow']-_0x2cce3b['startRow']+0x1;return[{'range':_0x20b8a3[_0x457152(0x147)]<=_0x2cce3b[_0x457152(0x147)]?_0x20b8a3:{..._0x20b8a3,'startRow':_0x20b8a3['startRow']-_0x36c0d5,'endRow':_0x20b8a3[_0x457152(0x168)]-_0x36c0d5},'unitId':_0x22288e,'subUnitId':_0x43865a}];}case _0x236a9b['id']:{const _0x446bc0=_0x43ed51[_0x457152(0x253)],{unitId:_0x59df25,subUnitId:_0x1e85be,sourceRange:_0x5da73b,targetRange:_0x1d0a0f}=_0x446bc0,_0x20228a=_0x5da73b['endColumn']-_0x5da73b['startColumn']+0x1;return[{'range':_0x1d0a0f[_0x457152(0x252)]<=_0x5da73b[_0x457152(0x252)]?_0x1d0a0f:{..._0x1d0a0f,'startColumn':_0x1d0a0f[_0x457152(0x252)]-_0x20228a,'endColumn':_0x1d0a0f[_0x457152(0x158)]-_0x20228a},'unitId':_0x59df25,'subUnitId':_0x1e85be}];}case _0x7aebc4['id']:{const _0x33b454=_0x43ed51[_0x457152(0x253)],{values:_0x5e8cf6,unitId:_0x2a4556,subUnitId:_0x177cfa}=_0x33b454;return Object[_0x457152(0xb9)](_0x5e8cf6)['map'](_0x3af2eb=>_0x3af2eb[_0x457152(0x19f)][_0x457152(0xf2)](_0x778a30=>({'range':_0x778a30,'unitId':_0x2a4556,'subUnitId':_0x177cfa})))[_0x457152(0x243)]();}case _0x32765b['id']:{const _0x457f91=_0x43ed51[_0x457152(0x253)],{ranges:_0x437628,unitId:_0x510786,subUnitId:_0x278789}=_0x457f91;return _0x437628['map'](_0x363baa=>({'range':_0x363baa,'unitId':_0x510786,'subUnitId':_0x278789}));}case _0x549aa0['id']:{const _0x4e3363=_0x43ed51[_0x457152(0x253)],{unitId:_0x169727,subUnitId:_0x4d13ee,range:_0x31cab0}=_0x4e3363;return[{'range':_0x31cab0,'unitId':_0x169727,'subUnitId':_0x4d13ee}];}case _0x42ab8a['id']:{const _0x1dd8ae=_0x43ed51[_0x457152(0x253)];return _0x1dd8ae[_0x457152(0x188)][_0x457152(0x19f)][_0x457152(0xf2)](_0xf0874e=>({'range':_0xf0874e,'unitId':_0x1dd8ae[_0x457152(0x17b)],'subUnitId':_0x1dd8ae[_0x457152(0x11f)]}));}case _0x4d1f1f['id']:{const _0x3f9fab=_0x43ed51[_0x457152(0x253)];return _0x3f9fab['cellValue']?ys(_0x3f9fab[_0x457152(0x1e2)])[_0x457152(0xf2)](_0x49e761=>({'range':_0x49e761,'unitId':_0x3f9fab[_0x457152(0x17b)],'subUnitId':_0x3f9fab[_0x457152(0x11f)]})):[];}case _0x443822['id']:{const _0x46123e=_0x43ed51[_0x457152(0x253)];return[{'range':_0x46123e['range'],'unitId':_0x46123e['unitId'],'subUnitId':_0x46123e[_0x457152(0x11f)]}];}case _0x1c7bce['id']:{const _0x568a57=_0x43ed51[_0x457152(0x253)];return(Array[_0x457152(0x212)](_0x568a57[_0x457152(0x188)])?_0x568a57[_0x457152(0x188)]:[_0x568a57[_0x457152(0x188)]])[_0x457152(0xf2)](_0x36fd8d=>_0x36fd8d['ranges']['map'](_0x4c161f=>({'range':_0x4c161f,'unitId':_0x568a57[_0x457152(0x17b)],'subUnitId':_0x568a57['subUnitId']})))[_0x457152(0x243)]();}case _0x5c4b91['id']:{const _0x211c20=_0x43ed51[_0x457152(0x253)];return _0x211c20[_0x457152(0x188)][_0x457152(0x19f)][_0x457152(0xf2)](_0x3daf87=>({'range':_0x3daf87,'unitId':_0x211c20[_0x457152(0x17b)],'subUnitId':_0x211c20['subUnitId']}));}default:return[];}}[_0xd297f0(0x141)](_0x1f1a7c){const _0x1a1ac0=_0xd297f0;if(_0x1f1a7c[_0x1a1ac0(0xd9)]<=0x1)return _0x1f1a7c;const _0x4a79bf=new Map();return _0x1f1a7c['forEach'](_0x39ab28=>{const _0x27bfa2=_0x1a1ac0;var _0x26e203;const {unitId:_0x1c5d4f,subUnitId:_0x1fdd54}=_0x39ab28,_0x4d4e0b=_0x1c5d4f+'-'+_0x1fdd54;_0x4a79bf['has'](_0x4d4e0b)?(_0x26e203=_0x4a79bf['get'](_0x4d4e0b))==null||_0x26e203['push'](_0x39ab28):_0x4a79bf[_0x27bfa2(0x11a)](_0x4d4e0b,[_0x39ab28]);}),Array[_0x1a1ac0(0x193)](_0x4a79bf[_0x1a1ac0(0xb9)]())[_0x1a1ac0(0xf2)](_0x4aed94=>new _0x4ecf15()[_0x1a1ac0(0x20a)](..._0x4aed94[_0x1a1ac0(0xf2)](_0x15cbbf=>_0x15cbbf[_0x1a1ac0(0x21a)]))[_0x1a1ac0(0x116)]()[_0x1a1ac0(0xf2)](_0x37ed58=>({'range':_0x37ed58,'unitId':_0x4aed94[0x0][_0x1a1ac0(0x17b)],'subUnitId':_0x4aed94[0x0][_0x1a1ac0(0x11f)]})))['flat']();}};$=Ds([Q(0x0,_0x5de07f(E)),Q(0x1,_0x2fb018),Q(0x2,_0x26c918)],$);function he(_0x5f1002){const _0x32e469=_0xd297f0;return new _0x2b93dd(_0x5f1002)[_0x32e469(0x23b)]();}function ys(_0x236043){const _0x1ff0e2=_0xd297f0,_0x35dcff=new _0x2b93dd(_0x236043),_0x1cd59f=new _0x2b93dd();return _0x35dcff[_0x1ff0e2(0x1f9)]((_0x3c5f81,_0x1bc03f)=>{const _0x55ecb1=_0x1ff0e2;_0x1cd59f[_0x55ecb1(0x1ca)](_0x3c5f81,_0x1bc03f,0x1);}),_0x4a53a0(_0x1cd59f);}var Cs=Object[_0xd297f0(0xd4)],ws=(_0x40c6ea,_0x568353,_0x4d071c,_0x1bfdde)=>{const _0x4843c0=_0xd297f0;for(var _0x28e19d=_0x1bfdde>0x1?void 0x0:_0x1bfdde?Cs(_0x568353,_0x4d071c):_0x568353,_0x4b31e5=_0x40c6ea[_0x4843c0(0xd9)]-0x1,_0x4a0811;_0x4b31e5>=0x0;_0x4b31e5--)(_0x4a0811=_0x40c6ea[_0x4b31e5])&&(_0x28e19d=_0x4a0811(_0x28e19d)||_0x28e19d);return _0x28e19d;},C=(_0x33ba5c,_0x18037d)=>(_0x254501,_0x122f11)=>_0x18037d(_0x254501,_0x122f11,_0x33ba5c);let te=class extends _0x30b72e{constructor(_0x355740,_0xc7c320,_0x56c41a,_0x2d7bcd,_0x1a401b,_0x32e33c,_0x2a99eb){const _0x35a9c0=_0xd297f0;super(),l(this,_0x35a9c0(0x195),new Set()),l(this,'_lastPointer',null),(this[_0x35a9c0(0x1ec)]=_0x355740,this[_0x35a9c0(0x125)]=_0xc7c320,this['_versionDiffService']=_0x56c41a,this[_0x35a9c0(0x140)]=_0x2d7bcd,this[_0x35a9c0(0x101)]=_0x1a401b,this[_0x35a9c0(0x180)]=_0x32e33c,this[_0x35a9c0(0x13c)]=_0x2a99eb,this[_0x35a9c0(0x211)]());}[_0xd297f0(0x211)](){const _0x40148c=_0xd297f0;this['_initRender'](),this[_0x40148c(0x173)]();}['_initRender'](){const _0x1762f9=_0xd297f0;this[_0x1762f9(0x10d)](_0x21450e([this[_0x1762f9(0x125)][_0x1762f9(0x19c)],this[_0x1762f9(0x180)][_0x1762f9(0x197)]])[_0x1762f9(0x259)](_0x355eeb(([_0x44bb01,_0x3959d1])=>{const _0x1a8479=_0x1762f9;if(_0x44bb01===T[_0x1a8479(0x249)]&&_0x3959d1){const _0x4b3552=_0x3959d1['sheetId'];return this[_0x1a8479(0x266)]['currentVersionDiff$']['pipe'](_0x388c78(_0x1ea538=>{const _0x590078=_0x1a8479,_0x59fa08=new Map();return _0x1ea538[_0x590078(0x19f)]['forEach']((_0x3e6d5f,_0x2d255b)=>{const _0x106202=_0x590078,_0x328ec8=_0x3e6d5f[_0x106202(0xfd)](_0x537fc8=>_0x537fc8[_0x106202(0x11f)]===_0x4b3552);_0x59fa08[_0x106202(0x11a)](_0x2d255b,_0x328ec8);}),{'skeleton':_0x3959d1,'diffs':_0x59fa08};}));}return _0x1e409a({'skeleton':null,'diffs':new Map()});}))[_0x1762f9(0x1b0)](({skeleton:_0x53c00b,diffs:_0x43b115})=>{const _0xa5f3ad=_0x1762f9;this[_0xa5f3ad(0x175)](),_0x53c00b&&this[_0xa5f3ad(0xc2)](_0x53c00b,_0x43b115);})),this[_0x1762f9(0x10d)](this[_0x1762f9(0x180)][_0x1762f9(0x197)]['subscribe'](_0x1c6d5b=>{const _0x4af966=_0x1762f9;if(_0x1c6d5b==null)return;const {skeleton:_0x12c9fe}=_0x1c6d5b,{scene:_0x57426c}=this[_0x4af966(0x1ec)];_0x57426c[_0x4af966(0x260)][_0x4af966(0x154)](_0x29c3f1(_0xe1777e=>{const _0x23796d=_0x4af966;var _0x14f366,_0x3c4538;const {offsetX:_0x2ed984,offsetY:_0x5cba29}=_0xe1777e,{x:_0x221d03,y:_0x5ecf19}=_0x57426c[_0x23796d(0x267)](_0xef757b[_0x23796d(0x1e1)]([_0x2ed984,_0x5cba29])),{scaleX:_0x320a9c,scaleY:_0x54a7f0}=_0x57426c[_0x23796d(0x10a)](),_0xbcea2b=_0x57426c[_0x23796d(0x130)](_0x53230f['VIEW_MAIN']),_0x14c79b=_0x57426c[_0x23796d(0x236)](_0xef757b[_0x23796d(0x1e1)]([_0x221d03,_0x5ecf19]),_0xbcea2b),_0x2d4c52=_0x12c9fe['getCellPositionByOffset'](_0x2ed984,_0x5cba29,_0x320a9c,_0x54a7f0,_0x14c79b);((_0x14f366=this[_0x23796d(0x14c)])==null?void 0x0:_0x14f366['column'])===_0x2d4c52['column']&&((_0x3c4538=this[_0x23796d(0x14c)])==null?void 0x0:_0x3c4538[_0x23796d(0x1e8)])===_0x2d4c52['row']||this['_diffs']['forEach'](_0x34165c=>{const _0x4ed28a=_0x23796d;_0x34165c[_0x4ed28a(0xd0)](_0x2d4c52);});},0x64));}));}[_0xd297f0(0x173)](){const _0x15890f=_0xd297f0;this[_0x15890f(0x10d)](this[_0x15890f(0x125)][_0x15890f(0x19c)][_0x15890f(0x1b0)](_0x529a56=>{const _0x1f741f=_0x15890f,_0x2d8cb3=new _0x48d88b();return _0x529a56===T['Loaded']&&(_0x2d8cb3['dispose'](),_0x2d8cb3['add'](this[_0x1f741f(0x266)][_0x1f741f(0x25d)][_0x1f741f(0x1b0)](_0x18c080=>{const _0x3c5910=_0x1f741f;_0x18c080[_0x3c5910(0x139)]&&this[_0x3c5910(0x13c)][_0x3c5910(0x1fc)](_0x2d6ada['id'],{'unitId':this[_0x3c5910(0x1ec)][_0x3c5910(0x17b)],'subUnitId':_0x18c080['active']});}))),()=>_0x2d8cb3[_0x1f741f(0x121)]();}));}[_0xd297f0(0xc2)](_0x44d14a,_0x277097){const _0xc1241f=_0xd297f0;var _0x12c25c;const _0x47381d=(_0x12c25c=this[_0xc1241f(0x180)][_0xc1241f(0x237)]())==null?void 0x0:_0x12c25c[_0xc1241f(0x145)];if(!_0x47381d)return;this['_diffs'][_0xc1241f(0x159)](_0x3e775f=>{const _0xc9ce7a=_0xc1241f;_0x3e775f[_0xc9ce7a(0xfe)]();});const {scene:_0x3fe1e7}=this[_0xc1241f(0x1ec)],_0x4ac53e=Array[_0xc1241f(0x193)](_0x277097[_0xc1241f(0x16d)]())['map'](_0x16a7b5=>_0x277097[_0xc1241f(0xc6)](_0x16a7b5)['map'](_0x5ce011=>{const _0x5516d1=_0xc1241f;var _0x178d84;const {range:_0x496a00,subUnitId:_0x44ae00,unitId:_0x392c07}=_0x5ce011,{startColumn:_0x5282ba,startRow:_0x33330d,endColumn:_0x423894,endRow:_0x1989ce}=_0x496a00,_0x2809b0=_0x614bdf(_0x33330d,_0x5282ba,_0x3fe1e7,_0x47381d),_0x24c281=_0x614bdf(_0x1989ce,_0x423894,_0x3fe1e7,_0x47381d),{columnHeaderHeightAndMarginTop:_0x50772f}=_0x47381d,{startX:_0xafba37,startY:_0x4dc561}=_0x2809b0,{endX:_0x33057d,endY:_0x47fdad}=_0x24c281,_0x250f90=_0x33057d-_0xafba37,_0x3f6585=_0x47fdad-_0x4dc561,_0x42a279={'labelPosition':_0x4dc561-_0x50772f>=0x14?_0x5516d1(0x134):'bottom','sheetID':_0x44ae00,'range':_0x496a00,'color':_0x5516d1(0xf7),'fillAfterStrokeEnabled':!0x0,'backgroundColor':'rgba(58,\x2096,\x20247,\x200.20)','name':((_0x178d84=this[_0x5516d1(0x125)][_0x5516d1(0xe8)](_0x16a7b5))==null?void 0x0:_0x178d84[_0x5516d1(0x1ab)])||'','selection':_0x392c07+'-'+_0x44ae00+'-'+_0x496a00[_0x5516d1(0x252)]+'-'+_0x496a00['startRow']+'-'+_0x496a00[_0x5516d1(0x158)]+'-'+_0x496a00['endRow'],'left':_0xafba37,'top':_0x4dc561,'width':_0x250f90,'height':_0x3f6585,'evented':!0x1,'zIndex':0x1};return new _0x3f20b5('',_0x42a279);}))['flat']();_0x3fe1e7[_0xc1241f(0x1a0)](_0x4ac53e,0x1),this[_0xc1241f(0x195)]=new Set(_0x4ac53e);}[_0xd297f0(0x175)](){const _0x349deb=_0xd297f0;var _0x33cfbd;(_0x33cfbd=this['_diffs'])==null||_0x33cfbd[_0x349deb(0x159)](_0x1dfc77=>_0x1dfc77[_0x349deb(0x121)]());}[_0xd297f0(0xbd)](){const _0xd8e200=_0xd297f0;return _0x2bc735(this[_0xd8e200(0x140)],this[_0xd8e200(0x101)]);}};te=ws([C(0x1,_0x5de07f(E)),C(0x2,_0x5de07f($)),C(0x3,_0x5ba9b4),C(0x4,_0x2933c),C(0x5,_0x5de07f(_0x3d45a0)),C(0x6,_0xaf639c)],te);function Ps(){const _0x1b504b=_0xd297f0,_0x13c78f=_0x27a3a1(E),_0x54b8ea=_0x165c19(_0x13c78f[_0x1b504b(0x138)]),[_0x392db3,_0x345235]=_0x52240b(!0x1),_0x3fdf85=cs(_0x54b8ea);return _0x54b8ea?_0x21d9aa(_0x1b504b(0x117),{'className':'univer-mx-[-20px]\x20univer-overflow-hidden','children':_0x51c8bf(_0x1b504b(0x117),{'className':_0x1b504b(0x104),'children':[_0x3fdf85[_0x1b504b(0xf2)]((_0x51a2db,_0x16069a)=>_0x51c8bf(_0x3f1db2,{'children':[_0x21d9aa($s,{'date':_0x51a2db[_0x1b504b(0x21c)]}),_0x51a2db[_0x1b504b(0x185)]['map']((_0x1a7982,_0x56e45a)=>_0x21d9aa(Vs,{'index':[_0x16069a,_0x56e45a],'item':_0x1a7982},_0x16069a+'-'+_0x56e45a))]},_0x51a2db[_0x1b504b(0x21c)])),_0x392db3&&_0x21d9aa(Ts,{})]})}):_0x21d9aa(Ls,{});}function Ts(){const _0x543347=_0xd297f0;return _0x21d9aa(_0x543347(0x117),{'className':_0x543347(0x205),'children':_0x21d9aa(ae,{'className':'univer-animate-spin'})});}function Ls(){const _0x261fb0=_0xd297f0;return _0x21d9aa(_0x261fb0(0x117),{'className':_0x261fb0(0x1c9),'children':_0x21d9aa(_0x261fb0(0x265),{'className':_0x261fb0(0x1eb),'children':_0x21d9aa(ae,{'className':'univer-m-auto\x20univer-animate-spin'})})});}function $s(_0x278696){const _0xced3a3=_0xd297f0,_0x5d682e=_0x27a3a1(_0x173dd9),{date:_0x19f3c0}=_0x278696;return _0x21d9aa(_0xced3a3(0x117),{'className':'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]','children':ee(_0x19f3c0,_0x5d682e[_0xced3a3(0x207)]())});}function Vs(_0x2a69af){const _0x4ea812=_0xd297f0,{item:_0x15fdba,index:_0x2d9c2b}=_0x2a69af,{time:_0x52532f,user:_0x8aa6a0}=_0x15fdba,[_0x44c4c5,_0x80e340]=_0x2d9c2b,_0x12d6c7=_0x27a3a1(E),_0x432fd4=_0x165c19(_0x12d6c7[_0x4ea812(0xb7)],'',!0x0)===_0x15fdba['id'],_0x230ae6=_0x44c4c5===0x0&&_0x80e340===0x0,_0x1288a4=!_0x230ae6&&_0x12d6c7[_0x4ea812(0x227)],_0x540f80=_0x27a3a1(_0x173dd9),_0x21b331=_0x540f80['getCurrentLocale'](),_0xd66991=re(_0x52532f,_0x21b331),_0x2ef7c3=_0x540f80['t']('editHistory.panel.currentVersion'),_0x4ca1bc=_0x5d95e9(_0x25cce4=>{const _0x813418=_0x4ea812;_0x12d6c7[_0x813418(0xe3)]!==T[_0x813418(0x217)]&&(_0x12d6c7[_0x813418(0x16e)]=_0x25cce4);},[_0x12d6c7]),_0x137e6e=_0x5d95e9(_0x7ad02=>{const _0x3317bd=_0x4ea812;_0x12d6c7[_0x3317bd(0x1e9)](_0x7ad02);},[_0x12d6c7]);return _0x51c8bf(_0x4ea812(0x117),{'className':_0xfbda6e(_0x4ea812(0x221),{'univer-bg-gray-50':_0x432fd4}),'onClick':()=>_0x4ca1bc(_0x15fdba['id']),'children':[_0x51c8bf(_0x4ea812(0x117),{'className':_0x4ea812(0x1d8),'children':[_0x21d9aa(_0x4ea812(0x117),{'className':'univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-400'}),_0x51c8bf('div',{'className':'univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[_0x21d9aa(_0x4ea812(0x265),{'children':_0xd66991[_0x4ea812(0x231)]}),_0x230ae6&&_0x21d9aa('span',{'className':_0x4ea812(0x240),'children':_0x2ef7c3})]}),_0x21d9aa(_0x4ea812(0x117),{'children':_0x1288a4&&_0x21d9aa(_0x4fc5dd,{'title':_0x540f80['t'](_0x4ea812(0xdf)),'children':_0x21d9aa('div',{'onClick':_0x2c4633=>{const _0xf1caa7=_0x4ea812;_0x2c4633[_0xf1caa7(0x210)](),_0x137e6e(_0x15fdba['id']);},'className':_0x4ea812(0x18b),'children':_0x21d9aa(Le,{})})})})]}),_0x21d9aa(_0x4ea812(0x117),{'className':_0x4ea812(0x23e),'children':as(_0x15fdba,_0x540f80)})]});}var ks=Object[_0xd297f0(0xd4)],xs=(_0x18acb,_0xedee01,_0x909a49,_0x2dca5e)=>{const _0x44686a=_0xd297f0;for(var _0x5675da=_0x2dca5e>0x1?void 0x0:_0x2dca5e?ks(_0xedee01,_0x909a49):_0xedee01,_0x370ba5=_0x18acb[_0x44686a(0xd9)]-0x1,_0x2ac473;_0x370ba5>=0x0;_0x370ba5--)(_0x2ac473=_0x18acb[_0x370ba5])&&(_0x5675da=_0x2ac473(_0x5675da)||_0x5675da);return _0x5675da;},k=(_0x5274e0,_0x4d04ce)=>(_0x456eee,_0x5312b7)=>_0x4d04ce(_0x456eee,_0x5312b7,_0x5274e0);const de='history-panel';let j=class extends _0x30b72e{constructor(_0x4e973f,_0x35f074,_0x1f89cc,_0x1daf03){const _0x4529d3=_0xd297f0;super(),l(this,_0x4529d3(0x169),null),(this[_0x4529d3(0x106)]=_0x4e973f,this[_0x4529d3(0x1c7)]=_0x35f074,this[_0x4529d3(0x26b)]=_0x1f89cc,this['_historyManagerService']=_0x1daf03,this['_init']());}[_0xd297f0(0x211)](){this['_initPanel'](),this['_openPanel']();}[_0xd297f0(0x18e)](){const _0x53a667=_0xd297f0;if(this[_0x53a667(0x169)])return;const _0x5600a9={'header':{'title':this[_0x53a667(0x26b)]['t'](_0x53a667(0x181))},'children':{'label':de},'onClose':()=>{const _0x2e3d07=_0x53a667;this[_0x2e3d07(0x169)]=null,this[_0x2e3d07(0x125)][_0x2e3d07(0x1c5)]=ne[_0x2e3d07(0x1b1)];}};this[_0x53a667(0x169)]=this['_sidebarService'][_0x53a667(0x25c)]({..._0x5600a9});}[_0xd297f0(0xf9)](){const _0x5759e0=_0xd297f0;this[_0x5759e0(0x10d)](this['_componentManager'][_0x5759e0(0xca)](de,Ps)),this[_0x5759e0(0x10d)](this[_0x5759e0(0x106)][_0x5759e0(0x1c4)][_0x5759e0(0x259)](_0x336f91(0x64))['subscribe'](_0x5de0c0=>{const _0x58fc15=_0x5759e0,{target:_0xdc82ce}=_0x5de0c0||{};if(_0xdc82ce){const {scrollTop:_0x160cb2,scrollHeight:_0x1ec21e,clientHeight:_0x3fd6bb}=_0xdc82ce;_0x160cb2+_0x3fd6bb>=_0x1ec21e-0x5&&this[_0x58fc15(0x125)][_0x58fc15(0x20f)]();}}));}};j=xs([k(0x0,_0x12e72c),k(0x1,_0x5de07f(_0x27380c)),k(0x2,_0x5de07f(_0x173dd9)),k(0x3,_0x5de07f(E))],j);class Us extends _0x30b72e{constructor(){const _0x320748=_0xd297f0;super(),l(this,_0x320748(0x21e),new _0x360add());}['open'](){return _0x1fc33b(()=>{});}[_0xd297f0(0x1d6)](){}['closeAll'](_0x576930){}[_0xd297f0(0xc3)](){const _0x435f35=_0xd297f0;return this[_0x435f35(0x21e)][_0x435f35(0x23c)]();}}var Hs=Object[_0xd297f0(0x142)],Fs=Object['getOwnPropertyDescriptor'],Ys=(_0x446a55,_0x1d61ab,_0x4785f7)=>_0x1d61ab in _0x446a55?Hs(_0x446a55,_0x1d61ab,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4785f7}):_0x446a55[_0x1d61ab]=_0x4785f7,Bs=(_0x5ee066,_0x2f5ae9,_0x8f0677,_0x192b93)=>{const _0x27ae3f=_0xd297f0;for(var _0x212cdc=_0x192b93>0x1?void 0x0:_0x192b93?Fs(_0x2f5ae9,_0x8f0677):_0x2f5ae9,_0x478537=_0x5ee066[_0x27ae3f(0xd9)]-0x1,_0xbe7673;_0x478537>=0x0;_0x478537--)(_0xbe7673=_0x5ee066[_0x478537])&&(_0x212cdc=_0xbe7673(_0x212cdc)||_0x212cdc);return _0x212cdc;},J=(_0x123025,_0xf65581)=>(_0x4b9536,_0x56390c)=>_0xf65581(_0x4b9536,_0x56390c,_0x123025),js=(_0x3185e6,_0x59c8bb,_0x20649c)=>Ys(_0x3185e6,_0x59c8bb+'',_0x20649c);const As=_0xd297f0(0x1dd);let se=class extends _0x1dcc23{constructor(_0xf1fcb5=_e,_0x1a2ef2,_0x6c44b9,_0x3af43c){const _0x35da61=_0xd297f0;super(),this[_0x35da61(0x12f)]=_0xf1fcb5,this[_0x35da61(0x196)]=_0x1a2ef2,this[_0x35da61(0x101)]=_0x6c44b9,this['_configService']=_0x3af43c;const {..._0x1d4b77}=_0x2105ba({},_e,this['_config']);this[_0x35da61(0x1e7)][_0x35da61(0x21f)](we,_0x1d4b77);}[_0xd297f0(0x225)](){const _0x3a35e0=_0xd297f0;[[E],[B],[$],[Y],[j],[H],[_0x26c918,{'useClass':_0x4b4714}],[_0x24c417,{'useClass':Us}],[_0x599bcd,{'useClass':_0x547c5a}]][_0x3a35e0(0x159)](_0x1daa05=>this[_0x3a35e0(0x196)][_0x3a35e0(0x20a)](_0x1daa05)),this[_0x3a35e0(0x196)]['get'](B);}[_0xd297f0(0x22c)](){const _0x22c315=_0xd297f0;[[te]]['forEach'](_0x42fcf6=>{const _0x6dc808=_0x55e5;this[_0x6dc808(0x10d)](this['_renderManagerService'][_0x6dc808(0x16a)](_0x5f296c[_0x6dc808(0x198)],_0x42fcf6));}),this[_0x22c315(0x196)][_0x22c315(0xc6)](H),this['_injector'][_0x22c315(0xc6)](j);}['onSteady'](){const _0x1fb535=_0xd297f0;this[_0x1fb535(0x196)][_0x1fb535(0xc6)]($);}};js(se,'pluginName',As),se=Bs([_0x21edb(_0x500404,_0x286e9d),J(0x1,_0x5de07f(_0x3e765c)),J(0x2,_0x2933c),J(0x3,_0x299eb0)],se);export{E as HistoryManagerService,ne as HistoryModeStatus,se as UniverEditHistoryViewerPlugin};
|
|
1
|
+
const _0x2665b1=_0x3d78;(function(_0x469b63,_0x2162b2){const _0x51b88e=_0x3d78,_0x1a4676=_0x469b63();while(!![]){try{const _0x4b7734=-parseInt(_0x51b88e(0x2b9))/0x1+-parseInt(_0x51b88e(0x26e))/0x2*(parseInt(_0x51b88e(0x1a4))/0x3)+parseInt(_0x51b88e(0x31e))/0x4*(parseInt(_0x51b88e(0x2db))/0x5)+parseInt(_0x51b88e(0x2fa))/0x6+parseInt(_0x51b88e(0x31f))/0x7+-parseInt(_0x51b88e(0x17a))/0x8*(-parseInt(_0x51b88e(0x1f7))/0x9)+parseInt(_0x51b88e(0x21c))/0xa*(-parseInt(_0x51b88e(0x2aa))/0xb);if(_0x4b7734===_0x2162b2)break;else _0x1a4676['push'](_0x1a4676['shift']());}catch(_0x21e24d){_0x1a4676['push'](_0x1a4676['shift']());}}}(_0x3ebd,0xa0a30));var Fe=Object['defineProperty'],Ye=(_0x131de5,_0x1a25b0,_0x4b9947)=>_0x1a25b0 in _0x131de5?Fe(_0x131de5,_0x1a25b0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4b9947}):_0x131de5[_0x1a25b0]=_0x4b9947,l=(_0x17e359,_0x520818,_0x58fd49)=>Ye(_0x17e359,typeof _0x520818!=_0x2665b1(0x1c6)?_0x520818+'':_0x520818,_0x58fd49);import{RevertRevisionMutation as _0x312e45,CreateUnitMutation as _0x1721cb,ISnapshotServerService as _0x26d129,CompressMutationService as _0x226f69,transformSnapshotToWorkbookData as _0xf7b467,ITransformService as _0x1d685c,parseProtocolChangeset as _0xb9e618,isTransformMutationsSuccess as _0x109ea0}from'@univerjs-pro/collaboration';import{SnapshotServerOverHTTPService as _0x403b32,CollaborationImageIoService as _0x318db9}from'@univerjs-pro/collaboration-client';import{Disposable as _0x4af2f5,LocaleType as _0x328d73,IUniverInstanceService as _0x1c1ad8,ICommandService as _0x273bb7,IConfigService as _0x622ffd,Inject as _0x5ee257,UniverInstanceType as _0x47d77c,LocaleService as _0x2f2cc3,IPermissionService as _0xa2bc76,Injector as _0x5b3bb9,ObjectMatrix as _0x534d57,debounce as _0x38016d,DisposableCollection as _0x1842ec,toDisposable as _0x5d27d3,DependentOn as _0x4b4d48,Plugin as _0x12b8a6,merge as _0x195d4e}from'@univerjs/core';import{IImageIoService as _0x4bbca5}from'@univerjs/drawing';import{IRenderManagerService as _0x23ac12,Vector2 as _0x718679,SHEET_VIEWPORT_KEY as _0xd411d4}from'@univerjs/engine-render';function _0x3ebd(){const _0x12ed87=['_workbookDataCache','keys','workbook','HideSheet','values','loadSheet','code','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','_getSheetObject','CreatePermissionObject','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','_httpService','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','blockMeta','unitId','_historyManagerService','PivotTable','_snapshotServerService','0\x200\x2016\x2017',':\x20(','name','WECHAT_HAS_BEEN_BOUND','ALREADY_EXISTS','_updateVersions','_versions$','18530nSbRgQ','mutations','_versionDiffService','UNIVER_SHEET','now','attrs','getCurrentVersion','history-panel','_unitId$','interceptor','loading-multi-icon','editHistory.action.','SetColumnStyle','InsertRow','has','YUUMI_UNABLE_LOAD_URL','createUnit','recoverTime','_univerInstanceService','block','syncExecuteCommand','editHistory.panel.revertDesc','left','Duplicate','History','_init','getHours','YUUMI_NO_CUBOID_FOR_QUESTION','DeleteRow','updatePermissionPoint','deleteProtection','3439056WuqRFM','color','anonymous','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','loadingState','addObjects','MoveWorksheet','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)]','_uiPartsService','Copy','TOO_MANY_REQUESTS','_getActiveSubUnitId','RwHgtClWdt','setDV','active','revertSheet','FloatImg','ViewHistory','ViewFilter','univer-m-auto\x20univer-animate-spin','LICENSE_MAX_UNITS_EXCEEDED','endRev','_commandService','canRevert','YUUMI_CONNECTOR_URL_NOT_FOUND','none','edit-history-viewer.config','APPLY_REVISION_CONFILICT','pluginName','univer-text-2xl','CreateWorksheet','_getAPIPrefix','_configService','DeleteColumn','asObservable','confirm','1072nutDLD','7694869bhTKxh','bottom','div','LICENSE_DISTRO_REJECTED','getCurrentUnitForType','Export','random','NOT_FOUND','YUUMI_AI_RUN_FAILED','100%','disposeUnit','_initRender','ZH_CN','insertSheet','createSheet','startRevision','0\x200\x2016\x2016','apply','&lastLabel=','fill','1760XRvZXH','RenameSheet','getCellPositionByOffset','range','url(#$1','merge','flat','_diffRangesMap','currentVersionDiff$','flex','Sort','_currentVersion$','status','entities','restore-icon_clip0_1247_2','_config','View','_dialogOptions$','EMAIL_VERIFY_CODE_MISMATCH','entries','backgroundColor','_hasMore','justifyContent','setConfig','style','getVersion','FromArray','startRow','colorChannel1','ManageCollaborator','scrollEvent$','addProtection','clipPath','url(#restore-icon_clip0_1247_2)','some','transformMutations','_maskContainer','EditWorksheetCell','univer-flex\x20univer-items-center\x20univer-justify-center','getDataRange','value','setCF','3etVBzJ','white','EMAIL_HAS_BEEN_BOUND','error','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','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','CHANGESET_REVISION_CONFILICT','loading','replace','ensureVersion','users','trim','entered','editHistory.panel.title','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','restore-icon','_sidebarDisposable','map','SelectProtectedCells','indexOf','INVALID_INVITE_CODE','_sidebarService','_diffs','univer-animate-spin','unitId$','getOwnPropertySymbols','getConfig','next','_canRevert','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','UNIVER_SLIDE','find','onMouseMove','_openPanel','symbol','setFilter','clear','forValue','dateString','padStart','_localeService','Delete','UNRECOGNIZED','Print','_lastPointer','getMember','status$','open','DeleteWorksheet','width','YUUMI_SUBSCRIPTION_NOT_FOUND','Loading','commands','_initActiveSwitch','filter','createTime','tag','endRevision','SelectUnProtectedCells','APPLY_NON_SEQUENTIAL_REVISION','primary','_updateDiffMarks','confirm-revert-revision','UNAUTHENTICATED','editHistory.panel.confirm','userID','_extractRanges','defs','APPLY_PERMISSION_DENIED','rgba(225,\x20225,\x20225,\x200.5)','SetRowStyle','getRelativeToViewportCoord','registerComponent','Loaded','YUUMI_TABLE_NOT_FOUND_IN_UNIT','UNDEFINED','getVersions','LICENSE_IMPORT_SIZE_EXCEEDED','setState','/universer-api/history','onStarting','subType','showMask','34263DFeBaK','sheet','_createUnit','univer-pl-[26px]\x20univer-text-sm\x20univer-leading-5\x20univer-text-gray-600\x20dark:!univer-text-gray-200','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','column','Exited','COMPLETION_FINISHED','_loadingState$','_members','_maskElement','includes','rgba(58,\x2096,\x20247,\x200.20)','assign','evenodd','defIds','1em','registerRenderModule','svg','height','call','PERMISSION_DENIED','subUnitId','set','InsertHyperlink','ranges','UniverIcon','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','Entered','path','rect','init','_transformService','univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','pipe','historyListServerUrl','Share','4519070caMeRi','versions','editHistory.panel.cancel','CopySheet','getOwnPropertyDescriptor','http://www.w3.org/2000/svg','m1Prime','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_initPanel','split','action','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','MoveSheet','closeAll','row','getCurrentLocale','from','Filter','_initMaskContainer','_injector','xlink:href','body','params','center','loadingState$','userId','Info','_status$','extend','propertyIsEnumerable','_renderManagerService','makeDirty','UNIVER_PROJECT','onSteady','YUUMI_URL_COL_OUT_OF_RANGE','_lastLabel','addSparkline','currentVersion','endColumn','_componentManager','_historyContainerId','_revertRevision$','onPointerMove$','_removeDiffMarks','APPLY_DUPLICATED','editHistory.action.revertSheetPrefix','getVpScrollXYInfoByPosToVp','PY_RUNTIME_SCRIPT_ERROR','show','getViewport','Error','.univer-app-container-content','USER_NOT_INVITED_CODE','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','EditExtraObject','APPLY_REJECT','YUUMI_ASYNCIO_CANCELLED','univer-flex\x20univer-h-[60px]\x20univer-cursor-default\x20univer-flex-col\x20univer-justify-center\x20univer-px-4\x20univer-py-1.5','CreateSheet','mask','_context','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]','exited','SNAPSHOT_INVALID_SNAPSHOT','_createMask','permissionPointUpdate$','dispose','startColumn','data','versions$','back-icon','prototype','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','editHistory.panel.unknownUser','_messageService','INVITE_CODE_ALREADY_BOUND','/list?length=20','append','hideMask','getDialogs$','MOBILE_VERIFY_CODE_MISMATCH','idSuffix','308300ZRQbST','top','DeleteSheet','revertRevision$','concat','focusUnit','currentVersion$','span','push','className','currentColor','RecoverHistory','length','string','disposeWithMe','_compressMutationService','Edit','editHistory.header.revert','getElementById','add','getMinutes','getUnitOnRev','parse','LoadingMultiIcon','LICENSE_EXPORT_SIZE_EXCEEDED','triggerRevert','HideWorksheet','INVALID_ARGUMENT','UNIVER_DOC','endRow','RenameWorksheet','user','displayName','defineProperty','getUnitId','time','LOGIN_FAILED','HEADER','_sheetSkeletonManagerService','hasOwnProperty','skeleton','_cellEditorManagerService','cellValue','editHistory.panel.revertConfirm','querySelector','fetchThroughInterceptors','SNAPSHOT_HAS_BEEN_REMOVED','MOBILE_HAS_BEEN_BOUND','_currentVersionDiff$','date','#0B9EFB','ViemRwHgtClWdt','display','editHistory.panel.revertConfirmText','SetCellValue','univerjs-icon\x20univerjs-icon-','get','_permissionService','memberId','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','44COhjyw','getDeserializedSheetBlock','InsertColumn','close','CONNECTOR_DATA_TOO_LARGE','ENSURE_SNAPSHOT_EXECUTION','INTERNAL_ERROR','forEach','subscribe','rule','use','rules','_fetching','YUUMI_RATE_OVER_LIMIT','getInterceptPoints','883445ZaLuMO','_historyFetchService','toISOString','children','COMPRESS_MUTATION_APPLY','sheetId','subscribeEvent','changesets','_confirmService'];_0x3ebd=function(){return _0x12ed87;};return _0x3ebd();}import{HTTPService as _0x51a2c0,UniverNetworkPlugin as _0x140e08}from'@univerjs/network';import{ICellEditorManagerService as _0x8694da,SheetSkeletonManagerService as _0x54faeb,getCoordByCell as _0x5a963c,getSheetObject as _0x5ee343,UniverSheetsUIPlugin as _0x2c7009}from'@univerjs/sheets-ui';import{IMessageService as _0x21dc87,IConfirmService as _0x1aa53d,useDependency as _0x5e9152,useObservable as _0x969c53,IUIPartsService as _0x56f8d5,BuiltInUIPart as _0x2e00c4,connectInjector as _0x367f2f,ISidebarService as _0x23fa2b,ComponentManager as _0x27241d,IDialogService as _0x347295}from'@univerjs/ui';import{MessageType as _0x57abf8,clsx as _0x3daf4e,Button as _0x4de6f6,borderBottomClassName as _0x22de18,Tooltip as _0x215e7c}from'@univerjs/design';import{InsertSheetMutation as _0x1fc694,RemoveSheetMutation as _0x284cc0,SetFrozenMutation as _0x59e656,AddWorksheetProtectionMutation as _0x2c6cef,AddRangeProtectionMutation as _0x53c5ca,DeleteRangeProtectionMutation as _0x4aee07,DeleteWorksheetProtectionMutation as _0x7d32aa,WorkbookEditablePermission as _0xf7ecf9,WorkbookRenameSheetPermission as _0x3aed49,WorkbookMoveSheetPermission as _0x539ee8,WorkbookHideSheetPermission as _0x1a8100,SetWorksheetHideMutation as _0x45ebcc,SetRangeValuesMutation as _0x2235da,SetRangeProtectionMutation as _0x5c1b58,ReorderRangeMutation as _0xadee88,RemoveNumfmtMutation as _0x233bb0,SetNumfmtMutation as _0x359380,MoveColsMutation as _0x3cf96e,MoveRowsMutation as _0x11efee,MoveRangeMutation as _0x4836e9,InsertColMutation as _0x230896,InsertRowMutation as _0x39407d,AddWorksheetMergeMutation as _0x51e1c6,RangeMergeUtil as _0x3e649d,findAllRectangle as _0x1d3ad7,SetWorksheetActiveOperation as _0x24817b}from'@univerjs/sheets';import{BehaviorSubject as _0x334ed0,combineLatest as _0x1ebf43,switchMap as _0x4048db,map as _0x22192f,of as _0x15ff5c,debounceTime as _0x5e7a6d,Subject as _0x9a62a4}from'rxjs';import{AddSheetSparklineMutation as _0x1df101}from'@univerjs-pro/sheets-sparkline';import{AddDataValidationMutation as _0x4aa84a,UpdateDataValidationMutation as _0x95ea95}from'@univerjs/data-validation';import{SetConditionalRuleMutation as _0xa6aba1,AddConditionalRuleMutation as _0x4c8aa9}from'@univerjs/sheets-conditional-formatting';import{SetSheetsFilterRangeMutation as _0x36609e}from'@univerjs/sheets-filter';import{jsxs as _0x630d6d,jsx as _0xd24218}from'react/jsx-runtime';import{forwardRef as _0x272c1d,useRef as _0x9be58e,createElement as _0x3c6553,useCallback as _0x563453,useState as _0x1a5b29,Fragment as _0x2727d0}from'react';import{SheetCollabCursorShape as _0x3b292d}from'@univerjs-pro/collaboration-client-ui';function _0x3d78(_0x3aad82,_0x241ddb){const _0x3ebd78=_0x3ebd();return _0x3d78=function(_0x3d7830,_0x2607f4){_0x3d7830=_0x3d7830-0x16d;let _0x2ddddb=_0x3ebd78[_0x3d7830];return _0x2ddddb;},_0x3d78(_0x3aad82,_0x241ddb);}const we=_0x2665b1(0x314),_e={};var ss=Object['getOwnPropertyDescriptor'],is=(_0x2707b2,_0xe24603,_0x49f0f2,_0x1c6109)=>{for(var _0x5c7bd2=_0x1c6109>0x1?void 0x0:_0x1c6109?ss(_0xe24603,_0x49f0f2):_0xe24603,_0x23c6d6=_0x2707b2['length']-0x1,_0x364734;_0x23c6d6>=0x0;_0x23c6d6--)(_0x364734=_0x2707b2[_0x23c6d6])&&(_0x5c7bd2=_0x364734(_0x5c7bd2)||_0x5c7bd2);return _0x5c7bd2;},rs=(_0x3e942b,_0x105d08)=>(_0x4b2271,_0x157070)=>_0x105d08(_0x4b2271,_0x157070,_0x3e942b);let H=class extends _0x4af2f5{constructor(_0x5df6cd){const _0xd16cc6=_0x2665b1;super(),this[_0xd16cc6(0x297)]=_0x5df6cd,this[_0xd16cc6(0x2f4)]();}[_0x2665b1(0x2f4)](){const _0x123f5b=_0x2665b1;this['disposeWithMe'](this[_0x123f5b(0x297)]['state$'][_0x123f5b(0x2b2)](_0x4a9a80=>{const _0x298ab0=_0x123f5b;_0x4a9a80!=null&&_0x4a9a80['show']&&this['_cellEditorManagerService'][_0x298ab0(0x1f2)]({'show':!0x1});}));}};H=is([rs(0x0,_0x8694da)],H);var X=(_0xdb5022=>(_0xdb5022[_0xdb5022[_0x2665b1(0x1ef)]=0x0]=_0x2665b1(0x1ef),_0xdb5022[_0xdb5022['OK']=0x1]='OK',_0xdb5022[_0xdb5022[_0x2665b1(0x2b0)]=0x2]='INTERNAL_ERROR',_0xdb5022[_0xdb5022['PERMISSION_DENIED']=0x3]=_0x2665b1(0x20c),_0xdb5022[_0xdb5022[_0x2665b1(0x16d)]=0x4]=_0x2665b1(0x16d),_0xdb5022[_0xdb5022['UNAUTHENTICATED']=0x5]=_0x2665b1(0x1e3),_0xdb5022[_0xdb5022[_0x2665b1(0x2d8)]=0x6]=_0x2665b1(0x2d8),_0xdb5022[_0xdb5022[_0x2665b1(0x289)]=0x7]=_0x2665b1(0x289),_0xdb5022[_0xdb5022[_0x2665b1(0x304)]=0x8]='TOO_MANY_REQUESTS',_0xdb5022[_0xdb5022[_0x2665b1(0x1fe)]=0x9]='COMPLETION_FINISHED',_0xdb5022[_0xdb5022[_0x2665b1(0x292)]=0xa]=_0x2665b1(0x292),_0xdb5022[_0xdb5022[_0x2665b1(0x26c)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0xdb5022[_0xdb5022[_0x2665b1(0x251)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0xdb5022[_0xdb5022[_0x2665b1(0x18c)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0xdb5022[_0xdb5022[_0x2665b1(0x1b2)]=0xe]=_0x2665b1(0x1b2),_0xdb5022[_0xdb5022[_0x2665b1(0x1aa)]=0x1389]=_0x2665b1(0x1aa),_0xdb5022[_0xdb5022['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x2665b1(0x25b),_0xdb5022[_0xdb5022[_0x2665b1(0x29c)]=0x1772]=_0x2665b1(0x29c),_0xdb5022[_0xdb5022[_0x2665b1(0x2af)]=0x1773]=_0x2665b1(0x2af),_0xdb5022[_0xdb5022[_0x2665b1(0x253)]=0x1b59]=_0x2665b1(0x253),_0xdb5022[_0xdb5022[_0x2665b1(0x1df)]=0x1b5a]=_0x2665b1(0x1df),_0xdb5022[_0xdb5022[_0x2665b1(0x315)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0xdb5022[_0xdb5022[_0x2665b1(0x1e8)]=0x1b5c]=_0x2665b1(0x1e8),_0xdb5022[_0xdb5022[_0x2665b1(0x248)]=0x1b5d]=_0x2665b1(0x248),_0xdb5022[_0xdb5022[_0x2665b1(0x2ae)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0xdb5022[_0xdb5022['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x2665b1(0x30e),_0xdb5022[_0xdb5022[_0x2665b1(0x2a9)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0xdb5022[_0xdb5022[_0x2665b1(0x1f1)]=0x232b]=_0x2665b1(0x1f1),_0xdb5022[_0xdb5022[_0x2665b1(0x286)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0xdb5022[_0xdb5022[_0x2665b1(0x322)]=0x232d]=_0x2665b1(0x322),_0xdb5022[_0xdb5022[_0x2665b1(0x2ea)]=0x2711]=_0x2665b1(0x2ea),_0xdb5022[_0xdb5022[_0x2665b1(0x23e)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0xdb5022[_0xdb5022[_0x2665b1(0x2b7)]=0x2713]=_0x2665b1(0x2b7),_0xdb5022[_0xdb5022[_0x2665b1(0x1d6)]=0x2714]=_0x2665b1(0x1d6),_0xdb5022[_0xdb5022[_0x2665b1(0x2f6)]=0x271a]=_0x2665b1(0x2f6),_0xdb5022[_0xdb5022[_0x2665b1(0x254)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0xdb5022[_0xdb5022[_0x2665b1(0x1ee)]=0x271c]=_0x2665b1(0x1ee),_0xdb5022[_0xdb5022['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0xdb5022[_0xdb5022[_0x2665b1(0x223)]=0x271e]=_0x2665b1(0x223),_0xdb5022[_0xdb5022[_0x2665b1(0x16e)]=0x271f]=_0x2665b1(0x16e),_0xdb5022[_0xdb5022[_0x2665b1(0x312)]=0x2720]=_0x2665b1(0x312),_0xdb5022[_0xdb5022[_0x2665b1(0x24b)]=0x2af9]=_0x2665b1(0x24b),_0xdb5022[_0xdb5022['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0xdb5022[_0xdb5022[_0x2665b1(0x1b8)]=0x2ee2]=_0x2665b1(0x1b8),_0xdb5022[_0xdb5022['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0xdb5022[_0xdb5022[_0x2665b1(0x250)]=0x2ee4]='USER_NOT_INVITED_CODE',_0xdb5022[_0xdb5022[_0x2665b1(0x267)]=0x2ee5]=_0x2665b1(0x267),_0xdb5022[_0xdb5022[_0x2665b1(0x2d7)]=0x32c9]=_0x2665b1(0x2d7),_0xdb5022[_0xdb5022['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x2665b1(0x29d),_0xdb5022[_0xdb5022[_0x2665b1(0x1a6)]=0x32cb]=_0x2665b1(0x1a6),_0xdb5022[_0xdb5022[_0x2665b1(0x1ce)]=-0x1]=_0x2665b1(0x1ce),_0xdb5022))(X||{}),F=(_0x521bfb=>(_0x521bfb[_0x521bfb['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x521bfb[_0x521bfb[_0x2665b1(0x28a)]=0x1]=_0x2665b1(0x28a),_0x521bfb[_0x521bfb[_0x2665b1(0x2de)]=0x2]=_0x2665b1(0x2de),_0x521bfb[_0x521bfb[_0x2665b1(0x1c2)]=0x3]='UNIVER_SLIDE',_0x521bfb[_0x521bfb['UNIVER_PROJECT']=0x4]=_0x2665b1(0x23c),_0x521bfb[_0x521bfb[_0x2665b1(0x1ce)]=-0x1]=_0x2665b1(0x1ce),_0x521bfb))(F||{}),b=(_0x3f733a=>(_0x3f733a[_0x3f733a[_0x2665b1(0x18a)]=0x0]=_0x2665b1(0x18a),_0x3f733a[_0x3f733a[_0x2665b1(0x27e)]=0x1]=_0x2665b1(0x27e),_0x3f733a[_0x3f733a[_0x2665b1(0x197)]=0x2]=_0x2665b1(0x197),_0x3f733a[_0x3f733a[_0x2665b1(0x1cf)]=0x3]=_0x2665b1(0x1cf),_0x3f733a[_0x3f733a[_0x2665b1(0x2f2)]=0x4]=_0x2665b1(0x2f2),_0x3f733a[_0x3f733a['Comment']=0x5]='Comment',_0x3f733a[_0x3f733a[_0x2665b1(0x303)]=0x6]='Copy',_0x3f733a[_0x3f733a[_0x2665b1(0x21b)]=0x7]=_0x2665b1(0x21b),_0x3f733a[_0x3f733a[_0x2665b1(0x324)]=0x8]=_0x2665b1(0x324),_0x3f733a[_0x3f733a[_0x2665b1(0x300)]=0x9]='MoveWorksheet',_0x3f733a[_0x3f733a[_0x2665b1(0x1d4)]=0xa]=_0x2665b1(0x1d4),_0x3f733a[_0x3f733a[_0x2665b1(0x288)]=0xb]='HideWorksheet',_0x3f733a[_0x3f733a['RenameWorksheet']=0xc]=_0x2665b1(0x28c),_0x3f733a[_0x3f733a[_0x2665b1(0x318)]=0xd]=_0x2665b1(0x318),_0x3f733a[_0x3f733a['SetWorksheetStyle']=0xe]='SetWorksheetStyle',_0x3f733a[_0x3f733a[_0x2665b1(0x19f)]=0xf]=_0x2665b1(0x19f),_0x3f733a[_0x3f733a['InsertHyperlink']=0x10]=_0x2665b1(0x20f),_0x3f733a[_0x3f733a[_0x2665b1(0x184)]=0x11]=_0x2665b1(0x184),_0x3f733a[_0x3f733a[_0x2665b1(0x22d)]=0x12]='Filter',_0x3f733a[_0x3f733a[_0x2665b1(0x2d2)]=0x13]=_0x2665b1(0x2d2),_0x3f733a[_0x3f733a['FloatImg']=0x14]=_0x2665b1(0x30a),_0x3f733a[_0x3f733a[_0x2665b1(0x2f3)]=0x15]=_0x2665b1(0x2f3),_0x3f733a[_0x3f733a[_0x2665b1(0x306)]=0x16]=_0x2665b1(0x306),_0x3f733a[_0x3f733a[_0x2665b1(0x2a1)]=0x17]=_0x2665b1(0x2a1),_0x3f733a[_0x3f733a[_0x2665b1(0x30c)]=0x18]=_0x2665b1(0x30c),_0x3f733a[_0x3f733a[_0x2665b1(0x228)]=0x19]='MoveSheet',_0x3f733a[_0x3f733a[_0x2665b1(0x270)]=0x1a]=_0x2665b1(0x270),_0x3f733a[_0x3f733a[_0x2665b1(0x2c5)]=0x1b]=_0x2665b1(0x2c5),_0x3f733a[_0x3f733a[_0x2665b1(0x21f)]=0x1c]=_0x2665b1(0x21f),_0x3f733a[_0x3f733a[_0x2665b1(0x17b)]=0x1d]=_0x2665b1(0x17b),_0x3f733a[_0x3f733a[_0x2665b1(0x256)]=0x1e]='CreateSheet',_0x3f733a[_0x3f733a[_0x2665b1(0x1b6)]=0x1f]=_0x2665b1(0x1b6),_0x3f733a[_0x3f733a['SelectUnProtectedCells']=0x20]=_0x2665b1(0x1de),_0x3f733a[_0x3f733a['SetCellStyle']=0x21]='SetCellStyle',_0x3f733a[_0x3f733a[_0x2665b1(0x2a4)]=0x22]=_0x2665b1(0x2a4),_0x3f733a[_0x3f733a[_0x2665b1(0x1ea)]=0x23]='SetRowStyle',_0x3f733a[_0x3f733a[_0x2665b1(0x2e7)]=0x24]=_0x2665b1(0x2e7),_0x3f733a[_0x3f733a[_0x2665b1(0x2e8)]=0x25]=_0x2665b1(0x2e8),_0x3f733a[_0x3f733a[_0x2665b1(0x2ac)]=0x26]=_0x2665b1(0x2ac),_0x3f733a[_0x3f733a['DeleteRow']=0x27]=_0x2665b1(0x2f7),_0x3f733a[_0x3f733a[_0x2665b1(0x31b)]=0x28]=_0x2665b1(0x31b),_0x3f733a[_0x3f733a['EditExtraObject']=0x29]=_0x2665b1(0x252),_0x3f733a[_0x3f733a[_0x2665b1(0x1cd)]=0x2a]=_0x2665b1(0x1cd),_0x3f733a[_0x3f733a[_0x2665b1(0x279)]=0x2b]=_0x2665b1(0x279),_0x3f733a[_0x3f733a[_0x2665b1(0x30b)]=0x2c]='ViewHistory',_0x3f733a[_0x3f733a['CreatePermissionObject']=0x2d]=_0x2665b1(0x2cb),_0x3f733a[_0x3f733a[_0x2665b1(0x1ce)]=-0x1]=_0x2665b1(0x1ce),_0x3f733a))(b||{});function ns(_0xf5e3c2){const _0x351d12=_0x2665b1;return!!(_0xf5e3c2&&_0xf5e3c2['code']&&_0xf5e3c2[_0x351d12(0x2c8)]!==X['OK']&&_0xf5e3c2['code']!=='OK');}const re=(_0x115fc4,_0x3a1a4c)=>{const _0x37f3f3=_0x2665b1;if(!_0x115fc4)return{'date':'','time':''};const _0x36d449=new Date(_0x115fc4),_0x13004a=_0x36d449[_0x37f3f3(0x2bb)]()[_0x37f3f3(0x225)]('T')[0x0];switch(_0x3a1a4c){case _0x328d73[_0x37f3f3(0x172)]:return{'date':ee(_0x13004a,_0x3a1a4c),'time':_0x36d449['getHours']()+':'+String(_0x36d449[_0x37f3f3(0x282)]())[_0x37f3f3(0x1cb)](0x2,'0')};default:return{'date':ee(_0x13004a,_0x3a1a4c),'time':_0x36d449[_0x37f3f3(0x2f5)]()+':'+_0x36d449[_0x37f3f3(0x282)]()};}},as=(_0x5912b2,_0x3980c1)=>{const _0x378d09=_0x2665b1,_0x428a96=_0x5912b2[_0x378d09(0x28d)]||_0x3980c1['t'](_0x378d09(0x265));if(_0x5912b2[_0x378d09(0x1d8)][_0x378d09(0x19c)](_0x35905e=>_0x35905e===_0x312e45['id'])&&_0x5912b2[_0x378d09(0x2ec)]){const _0x4aa3e5=re(_0x5912b2[_0x378d09(0x2ec)],_0x3980c1[_0x378d09(0x22b)]()),_0x23b000=_0x4aa3e5[_0x378d09(0x29f)]+'\x20'+_0x4aa3e5['time'];return _0x428a96+'\x20'+_0x3980c1['t'](_0x378d09(0x249))+'\x20'+_0x23b000+'\x20'+_0x3980c1['t']('editHistory.action.revertSheetSuffix');}const _0x55ba45=os(_0x5912b2),_0x514910=_0x55ba45[_0x378d09(0x27a)]===0x1?_0x3980c1['t'](_0x55ba45[0x0]):''+_0x3980c1['t'](_0x55ba45[0x0])+_0x3980c1['t']('editHistory.action.etc');return _0x428a96+'\x20'+_0x514910;};function os(_0x11cd77){const _0x3c8666=_0x2665b1;if(_0x11cd77[_0x3c8666(0x1d8)][_0x3c8666(0x27a)]===0x0)return[''];const _0xba9f3c=_0x3c8666(0x2e6),_0x1951fc=_0xba9f3c+'editSheet',_0x36dc97=[{'id':_0x1721cb['id'],'action':_0xba9f3c+_0x3c8666(0x174)},{'id':_0x312e45['id'],'action':_0xba9f3c+_0x3c8666(0x309)},{'id':_0x1fc694['id'],'action':_0xba9f3c+_0x3c8666(0x173)},{'id':_0x284cc0['id'],'action':_0xba9f3c+'removeSheet'},{'id':_0x59e656['id'],'action':_0xba9f3c+'setFrozen'},{'id':_0x36609e['id'],'action':_0xba9f3c+_0x3c8666(0x1c7)},{'id':_0x4aa84a['id'],'action':_0xba9f3c+_0x3c8666(0x307)},{'id':_0x95ea95['id'],'action':_0xba9f3c+_0x3c8666(0x307)},{'id':_0xa6aba1['id'],'action':_0xba9f3c+'setCF'},{'id':_0x4c8aa9['id'],'action':_0xba9f3c+_0x3c8666(0x1a3)},{'id':_0x2c6cef['id'],'action':_0xba9f3c+_0x3c8666(0x199)},{'id':_0x53c5ca['id'],'action':_0xba9f3c+_0x3c8666(0x199)},{'id':_0x1df101['id'],'action':_0xba9f3c+_0x3c8666(0x240)},{'id':_0x4aee07['id'],'action':_0xba9f3c+_0x3c8666(0x2f9)},{'id':_0x7d32aa['id'],'action':_0xba9f3c+_0x3c8666(0x2f9)}][_0x3c8666(0x1da)](_0xaea1b4=>_0x11cd77[_0x3c8666(0x1d8)]['includes'](_0xaea1b4['id']));return _0x36dc97!=null&&_0x36dc97[_0x3c8666(0x27a)]?_0x36dc97[_0x3c8666(0x1b5)](_0x318958=>_0x318958[_0x3c8666(0x226)]):[_0x1951fc];}function ee(_0xc408bf,_0x2385d5){const _0x2e61a8=_0x2665b1,[_0x14cd99,_0x718a40,_0x466413]=new Date()[_0x2e61a8(0x2bb)]()['split']('T')[0x0]['split']('-'),[_0x10941f,_0x5eb2e2,_0x27a64a]=_0xc408bf[_0x2e61a8(0x225)]('-'),_0x234a29=_0x14cd99===_0x10941f&&_0x718a40===_0x5eb2e2&&_0x466413===_0x27a64a;let _0x1ce91b='',_0x379bc5='',_0xdac119='';switch(_0x2385d5){case _0x328d73[_0x2e61a8(0x172)]:return _0x234a29?'今天':(_0x1ce91b=_0x14cd99===_0x10941f?'':_0x10941f+'年',_0x379bc5=_0x5eb2e2+'月',_0xdac119=_0x27a64a+'日',''+_0x1ce91b+_0x379bc5+_0xdac119);default:return _0x234a29?'Today':(_0x1ce91b=_0x14cd99===_0x10941f?'':_0x10941f+'-',_0x379bc5=_0x5eb2e2+'-',_0xdac119=''+_0x27a64a,''+_0x1ce91b+_0x379bc5+_0xdac119);}}function cs(_0xca4888){return _0xca4888?_0xca4888['reduce']((_0x5f39a0,_0x5dbec8)=>{const _0x14b8d0=_0x3d78,_0x12e554=new Date(_0x5dbec8[_0x14b8d0(0x291)])[_0x14b8d0(0x2bb)]()[_0x14b8d0(0x225)]('T')[0x0];return _0x5f39a0['length']>0x0&&_0x5f39a0[_0x5f39a0[_0x14b8d0(0x27a)]-0x1]['dateString']===_0x12e554?_0x5f39a0[_0x5f39a0[_0x14b8d0(0x27a)]-0x1][_0x14b8d0(0x21d)][_0x14b8d0(0x276)](_0x5dbec8):_0x5f39a0[_0x14b8d0(0x276)]({'dateString':_0x12e554,'versions':[_0x5dbec8]}),_0x5f39a0;},[]):[];}var ls=Object['getOwnPropertyDescriptor'],us=(_0x5578ef,_0x3f4560,_0x613903,_0x2a834d)=>{for(var _0x532426=_0x2a834d>0x1?void 0x0:_0x2a834d?ls(_0x3f4560,_0x613903):_0x3f4560,_0x4b460b=_0x5578ef['length']-0x1,_0x373d97;_0x4b460b>=0x0;_0x4b460b--)(_0x373d97=_0x5578ef[_0x4b460b])&&(_0x532426=_0x373d97(_0x532426)||_0x532426);return _0x532426;},D=(_0x17cac7,_0x5a87a5)=>(_0x15ad1e,_0x8fddb)=>_0x5a87a5(_0x15ad1e,_0x8fddb,_0x17cac7);const _s=_0x2665b1(0x1f3);let Y=class extends _0x4af2f5{constructor(_0x1b7796,_0x11fafa,_0x29147f,_0x1494c6,_0x47397f,_0x5d55cc){const _0x537f4a=_0x2665b1;super(),l(this,_0x537f4a(0x2c2),new Map()),(this['_snapshotServerService']=_0x1b7796,this[_0x537f4a(0x2ed)]=_0x11fafa,this[_0x537f4a(0x310)]=_0x29147f,this[_0x537f4a(0x31a)]=_0x1494c6,this[_0x537f4a(0x2cd)]=_0x47397f,this[_0x537f4a(0x27d)]=_0x5d55cc);}[_0x2665b1(0x25e)](){const _0x599c64=_0x2665b1;this['_workbookDataCache'][_0x599c64(0x1c8)](),super[_0x599c64(0x25e)]();}async[_0x2665b1(0x1f0)](_0x58c8a4,_0x20fbd5){const _0x37d808=_0x2665b1,_0x5c1282=this[_0x37d808(0x319)]()+'/'+_0x58c8a4+_0x37d808(0x268)+(_0x20fbd5?_0x37d808(0x178)+_0x20fbd5:'');try{const _0x2de0a8=(await this[_0x37d808(0x2cd)][_0x37d808(0x2a6)](_0x5c1282))[_0x37d808(0x231)];if(_0x2de0a8&&_0x2de0a8[_0x37d808(0x1a7)]&&_0x2de0a8[_0x37d808(0x1a7)][_0x37d808(0x2c8)]===X['OK']){const {hasMore:_0x3c5c60,lastLabel:_0x380149}=_0x2de0a8,_0x40e2ea=hs(_0x2de0a8),_0x314618=_0x2de0a8[_0x37d808(0x187)][_0x37d808(0x1ae)];return{'hasMore':_0x3c5c60,'lastLabel':_0x380149,'versions':_0x40e2ea,'members':_0x314618};}}catch(_0x1fae55){console[_0x37d808(0x1a7)](_0x1fae55);}return null;}[_0x2665b1(0x319)](){const _0x4785af=_0x2665b1;var _0x176686;const _0x79a185=this[_0x4785af(0x31a)][_0x4785af(0x1be)](we);return(_0x176686=_0x79a185==null?void 0x0:_0x79a185[_0x4785af(0x21a)])!=null?_0x176686:_s;}async[_0x2665b1(0x2c7)](_0x5c03e7,_0x58410d,_0x504036){const _0x30e129=_0x2665b1;var _0x132153,_0x17fb02;_0x504036===void 0x0&&(_0x504036={}),this[_0x30e129(0x2c2)][_0x30e129(0x2e9)](_0x5c03e7)||this[_0x30e129(0x2c2)][_0x30e129(0x20e)](_0x5c03e7,new Map());const {snapshot:_0x29d618,changesets:_0x12f802,error:_0xea61eb}=await this[_0x30e129(0x2d3)][_0x30e129(0x283)](_0x504036,{'unitID':_0x5c03e7,'type':F['UNIVER_SHEET'],'revision':_0x58410d});if(ns(_0xea61eb)||!_0x29d618||!_0x29d618[_0x30e129(0x2c4)])throw new Error('[HistoryFetchService]:\x20request\x20snapshot\x20error!');const _0x4cf539=(_0x132153=_0x12f802==null?void 0x0:_0x12f802[_0x30e129(0x27a)])!=null?_0x132153:0x0;if(_0x58410d!==0x0&&_0x29d618['rev']+_0x4cf539!==_0x58410d)throw new Error('[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!');const {workbook:_0x465dc1}=_0x29d618,_0x7da19b=_0x465dc1['blockMeta']?Object[_0x30e129(0x18d)](_0x465dc1[_0x30e129(0x2cf)])['map'](([_0x5eef39,_0x279f6c])=>{var _0x4b3171,_0xedad98;return(_0xedad98=(_0x4b3171=_0x279f6c['blocks'])==null?void 0x0:_0x4b3171['map'](_0x1b0353=>_0x1b0353))!=null?_0xedad98:[];})[_0x30e129(0x180)]():[],_0x50668b=(await Promise['all'](_0x7da19b[_0x30e129(0x1b5)](_0x49f4b7=>this['_snapshotServerService'][_0x30e129(0x2ab)](_0x504036,{'unitID':_0x5c03e7,'type':F[_0x30e129(0x2de)],'blockID':_0x49f4b7})['then'](_0xfae9c9=>_0xfae9c9[_0x30e129(0x2ee)]))))[_0x30e129(0x1da)](_0x4bfd3c=>!!_0x4bfd3c),_0x3a6d45=_0xf7b467(_0x29d618,_0x50668b,_0x504036);return(_0x17fb02=this['_workbookDataCache'][_0x30e129(0x2a6)](_0x5c03e7))==null||_0x17fb02['set'](_0x58410d,{'workbook':_0x3a6d45}),new Promise(_0x3e8733=>{const _0x14624d=_0x30e129,_0x1944ce=this[_0x14624d(0x2ed)][_0x14624d(0x323)](_0x47d77c[_0x14624d(0x2de)]);_0x1944ce?(this[_0x14624d(0x2ed)][_0x14624d(0x170)](_0x1944ce['getUnitId']()),setTimeout(()=>{const _0x11d199=_0x14624d;this[_0x11d199(0x1f9)](_0x3a6d45,_0x12f802),_0x3e8733(!0x0);},0x0)):(this['_createUnit'](_0x3a6d45,_0x12f802),_0x3e8733(!0x0));});}[_0x2665b1(0x1f9)](_0x4f7eb5,_0x3de03d){const _0x5f2062=_0x2665b1,_0x362172=this[_0x5f2062(0x2ed)][_0x5f2062(0x2eb)](_0x47d77c[_0x5f2062(0x2de)],_0x4f7eb5);this[_0x5f2062(0x2ed)][_0x5f2062(0x273)](_0x362172[_0x5f2062(0x290)]());const _0x3008d7=this[_0x5f2062(0x27d)][_0x5f2062(0x2e4)][_0x5f2062(0x29b)](this['_compressMutationService'][_0x5f2062(0x2e4)][_0x5f2062(0x2b8)]()[_0x5f2062(0x2bd)]);return _0x3de03d==null||_0x3de03d[_0x5f2062(0x2b1)](_0x5ad8b8=>{const _0x141936=_0x5f2062,_0x2cc891=_0x5ad8b8[_0x141936(0x2dc)][_0x141936(0x1b5)](_0x59ef9e=>({'id':_0x59ef9e['id'],'params':JSON[_0x141936(0x284)](_0x59ef9e[_0x141936(0x260)])}));({..._0x5ad8b8,'mutations':_0x3008d7(_0x2cc891,null)||_0x2cc891}[_0x141936(0x2dc)][_0x141936(0x2b1)](_0x2bc864=>{const _0x38c8c4=_0x141936;this['_commandService']['hasCommand'](_0x2bc864['id'])&&this[_0x38c8c4(0x310)][_0x38c8c4(0x2ef)](_0x2bc864['id'],_0x2bc864[_0x38c8c4(0x232)]);}));}),_0x362172;}};Y=us([D(0x0,_0x26d129),D(0x1,_0x1c1ad8),D(0x2,_0x273bb7),D(0x3,_0x622ffd),D(0x4,_0x5ee257(_0x51a2c0)),D(0x5,_0x5ee257(_0x226f69))],Y);function hs(_0x20fb01){const _0x512d79=_0x2665b1;var _0x189549,_0x35ccd3;const _0x5600d2=[],{entities:_0x114ee8,historyIds:_0x33b8ac}=_0x20fb01,{datas:_0x3568bc,users:_0x55b03e}=_0x114ee8;for(const _0x2af45d of _0x33b8ac)if(_0x3568bc[_0x2af45d]){const _0x366059=!!((_0x189549=_0x55b03e[_0x3568bc[_0x2af45d]['userId']])!=null&&_0x189549[_0x512d79(0x2fc)]);_0x5600d2['push']({'unitId':_0x3568bc[_0x2af45d][_0x512d79(0x2d0)],'user':_0x366059?'':((_0x35ccd3=_0x55b03e==null?void 0x0:_0x55b03e[_0x3568bc[_0x2af45d][_0x512d79(0x235)]])==null?void 0x0:_0x35ccd3[_0x512d79(0x2d6)])||'','isAnonymous':_0x366059,'id':_0x2af45d,'time':_0x3568bc[_0x2af45d][_0x512d79(0x1db)]?Number(_0x3568bc[_0x2af45d][_0x512d79(0x1db)]):void 0x0,'commands':_0x3568bc[_0x2af45d]['command'],'startRev':Number(_0x3568bc[_0x2af45d][_0x512d79(0x175)]),'endRev':Number(_0x3568bc[_0x2af45d][_0x512d79(0x1dd)]),'recoverTime':_0x3568bc[_0x2af45d][_0x512d79(0x2ec)]?Number(_0x3568bc[_0x2af45d][_0x512d79(0x2ec)]):void 0x0});}return _0x5600d2;}var ds=Object[_0x2665b1(0x220)],vs=(_0x48800b,_0x1a9720,_0x139aaf,_0x349f41)=>{const _0x33d010=_0x2665b1;for(var _0x565c49=_0x349f41>0x1?void 0x0:_0x349f41?ds(_0x1a9720,_0x139aaf):_0x1a9720,_0x5e7213=_0x48800b[_0x33d010(0x27a)]-0x1,_0x436da6;_0x5e7213>=0x0;_0x5e7213--)(_0x436da6=_0x48800b[_0x5e7213])&&(_0x565c49=_0x436da6(_0x565c49)||_0x565c49);return _0x565c49;},V=(_0x3411e4,_0x30ff1)=>(_0x1e767d,_0x5df616)=>_0x30ff1(_0x1e767d,_0x5df616,_0x3411e4),ne=(_0x595ae8=>(_0x595ae8[_0x2665b1(0x213)]=_0x2665b1(0x1b0),_0x595ae8['Exited']=_0x2665b1(0x25a),_0x595ae8[_0x2665b1(0x24e)]=_0x2665b1(0x1a7),_0x595ae8))(ne||{}),T=(_0x3f28ba=>(_0x3f28ba['Init']=_0x2665b1(0x216),_0x3f28ba[_0x2665b1(0x1d7)]='loading',_0x3f28ba[_0x2665b1(0x1ed)]='loaded',_0x3f28ba))(T||{});const fs='VIRTUAL_VERSION_NOW';let E=class extends _0x4af2f5{constructor(_0x5cce0f,_0xfbfca6,_0x4671ee,_0x2b0f61){const _0x15323f=_0x2665b1;super(),l(this,_0x15323f(0x2da),new _0x334ed0([])),l(this,'versions$',this[_0x15323f(0x2da)][_0x15323f(0x31c)]()),l(this,_0x15323f(0x185),new _0x334ed0('')),l(this,_0x15323f(0x274),this[_0x15323f(0x185)][_0x15323f(0x31c)]()),l(this,_0x15323f(0x237),new _0x334ed0(_0x15323f(0x1b0))),l(this,_0x15323f(0x1d2),this[_0x15323f(0x237)][_0x15323f(0x31c)]()),l(this,_0x15323f(0x245),new _0x334ed0(0x0)),l(this,_0x15323f(0x271),this['_revertRevision$']['asObservable']()),l(this,_0x15323f(0x2e3),new _0x334ed0('')),l(this,_0x15323f(0x1bc),this[_0x15323f(0x2e3)][_0x15323f(0x31c)]()),l(this,_0x15323f(0x2b6),!0x1),l(this,_0x15323f(0x1ff),new _0x334ed0(_0x15323f(0x216))),l(this,'loadingState$',this[_0x15323f(0x1ff)][_0x15323f(0x31c)]()),l(this,_0x15323f(0x23f),null),l(this,'_hasMore',!0x0),l(this,'_members',new Map()),l(this,_0x15323f(0x244)),l(this,_0x15323f(0x19e)),l(this,_0x15323f(0x201)),l(this,_0x15323f(0x1c0),!0x1),(this[_0x15323f(0x266)]=_0x5cce0f,this[_0x15323f(0x2c1)]=_0xfbfca6,this[_0x15323f(0x1cc)]=_0x4671ee,this[_0x15323f(0x2ba)]=_0x2b0f61);}async['triggerLoadVersions'](_0x53dbdb,_0x190d52,_0x400b55){const _0x5d120e=_0x2665b1;this[_0x5d120e(0x244)]=_0x190d52,this[_0x5d120e(0x1c0)]=_0x400b55,this[_0x5d120e(0x2e3)][_0x5d120e(0x1bf)](_0x53dbdb),this[_0x5d120e(0x2b6)]=!0x0;const _0x2c15b6=await this[_0x5d120e(0x2ba)][_0x5d120e(0x1f0)](_0x53dbdb);if(this[_0x5d120e(0x2b6)]=!0x1,_0x2c15b6){const {versions:_0x1e9772,lastLabel:_0x50ca3d,hasMore:_0x32e4a8,members:_0x18edc4}=_0x2c15b6;_0x1e9772['length']===0x0&&_0x1e9772[_0x5d120e(0x276)]({'unitId':_0x53dbdb,'id':fs,'startRev':0x1,'endRev':0x0,'time':Date[_0x5d120e(0x2df)](),'user':this[_0x5d120e(0x1cc)]['t']('editHistory.panel.currentUser'),'commands':[],'isAnonymous':!0x1}),this['_updateVersions'](_0x1e9772,_0x32e4a8,_0x50ca3d,_0x18edc4),this['_currentVersion$'][_0x5d120e(0x1bf)](_0x1e9772[0x0]['id']);}else this[_0x5d120e(0x237)][_0x5d120e(0x1bf)](_0x5d120e(0x1a7));}async['loadMoreVersions'](){const _0x539884=_0x2665b1;if(!this[_0x539884(0x23f)]||!this['_hasMore']||this['_fetching'])return!0x1;this[_0x539884(0x2b6)]=!0x0;const _0x3e3d24=await this['_historyFetchService']['getVersions'](this['unitId'],this[_0x539884(0x23f)]);if(this['_fetching']=!0x1,_0x3e3d24){const {versions:_0x36be2e,lastLabel:_0x1517e4,hasMore:_0xce679,members:_0x557ef6}=_0x3e3d24;this[_0x539884(0x2d9)](_0x36be2e,_0xce679,_0x1517e4,_0x557ef6);}else this[_0x539884(0x266)][_0x539884(0x24c)]({'content':this[_0x539884(0x1cc)]['t']('editHistory.panel.listFetchError'),'type':_0x57abf8[_0x539884(0x24e)],'duration':0xbb8});return!0x0;}async['triggerLoadSheet'](_0x4e8c01){const _0x3a2793=_0x2665b1;var _0x4b1f0d;const _0x4278ab=(_0x4b1f0d=this['_versions$']['value'])==null?void 0x0:_0x4b1f0d[_0x3a2793(0x1c3)](_0x1c5fbe=>_0x1c5fbe['id']===_0x4e8c01),{endRev:_0x53f46d}=_0x4278ab||{};_0x53f46d||_0x53f46d===0x0?(this[_0x3a2793(0x1ff)][_0x3a2793(0x1bf)](_0x3a2793(0x1ab)),await this['_historyFetchService'][_0x3a2793(0x2c7)](this[_0x3a2793(0x2d0)],_0x53f46d),this[_0x3a2793(0x1ff)][_0x3a2793(0x1bf)]('loaded')):this[_0x3a2793(0x237)][_0x3a2793(0x1bf)](_0x3a2793(0x1a7));}async[_0x2665b1(0x287)](_0x52232d){const _0x1a338e=_0x2665b1,_0x42a1d6=_0x52232d?this[_0x1a338e(0x193)](_0x52232d):this[_0x1a338e(0x2e1)]();if(!_0x42a1d6)return;const _0x6461e5=_0x42a1d6[_0x1a338e(0x30f)],_0x4aad42=re(_0x42a1d6[_0x1a338e(0x291)],this[_0x1a338e(0x1cc)][_0x1a338e(0x22b)]());await this['_confirmService'][_0x1a338e(0x31d)]({'id':_0x1a338e(0x1e2),'title':{'title':this[_0x1a338e(0x1cc)]['t'](_0x1a338e(0x299))},'children':{'title':this[_0x1a338e(0x1cc)]['t'](_0x1a338e(0x2a3))+_0x1a338e(0x2d5)+_0x4aad42[_0x1a338e(0x29f)]+'\x20'+_0x4aad42[_0x1a338e(0x291)]+')'},'cancelText':this[_0x1a338e(0x1cc)]['t'](_0x1a338e(0x21e)),'confirmText':this[_0x1a338e(0x1cc)]['t'](_0x1a338e(0x1e4))})&&this['_revertRevision$'][_0x1a338e(0x1bf)](_0x6461e5);}[_0x2665b1(0x2d9)](_0x4fd2f2,_0x3da531,_0x438de0,_0x16cc9c){const _0x41bbda=_0x2665b1;this[_0x41bbda(0x2da)]['next'](this['_versions$'][_0x41bbda(0x1a2)][_0x41bbda(0x272)](_0x4fd2f2)),this[_0x41bbda(0x18f)]=_0x3da531,this[_0x41bbda(0x23f)]=_0x438de0,_0x16cc9c&&Object[_0x41bbda(0x2c3)](_0x16cc9c)[_0x41bbda(0x2b1)](_0x418363=>this['_members'][_0x41bbda(0x20e)](_0x418363,_0x16cc9c[_0x418363]));}[_0x2665b1(0x2e1)](){const _0x23eebd=_0x2665b1;return this[_0x23eebd(0x193)](this[_0x23eebd(0x185)]['value']);}[_0x2665b1(0x193)](_0x128f38){const _0x359347=_0x2665b1;var _0x1df256;return(_0x1df256=this[_0x359347(0x2da)]['value'])==null?void 0x0:_0x1df256[_0x359347(0x1c3)](_0x1a03e4=>_0x1a03e4['id']===_0x128f38);}[_0x2665b1(0x1d1)](_0x4a440d){const _0x4d9650=_0x2665b1;return this[_0x4d9650(0x200)][_0x4d9650(0x2a6)](_0x4a440d);}[_0x2665b1(0x25c)](){const _0x182c32=_0x2665b1;this['_maskElement']=document['createElement'](_0x182c32(0x321)),this[_0x182c32(0x201)]['className']='history-mask',this[_0x182c32(0x201)][_0x182c32(0x192)]['position']='absolute',this[_0x182c32(0x201)][_0x182c32(0x192)][_0x182c32(0x26f)]='0',this[_0x182c32(0x201)][_0x182c32(0x192)][_0x182c32(0x2f1)]='0',this['_maskElement'][_0x182c32(0x192)][_0x182c32(0x1d5)]=_0x182c32(0x16f),this[_0x182c32(0x201)]['style'][_0x182c32(0x20a)]=_0x182c32(0x16f),this['_maskElement'][_0x182c32(0x192)][_0x182c32(0x18e)]=_0x182c32(0x1e9),this[_0x182c32(0x201)]['style'][_0x182c32(0x2fb)]=_0x182c32(0x1a5),this[_0x182c32(0x201)][_0x182c32(0x192)][_0x182c32(0x2a2)]=_0x182c32(0x183),this[_0x182c32(0x201)][_0x182c32(0x192)][_0x182c32(0x190)]=_0x182c32(0x233),this['_maskElement']['style']['zIndex']='1000',this[_0x182c32(0x201)][_0x182c32(0x192)][_0x182c32(0x2a2)]=_0x182c32(0x313),this[_0x182c32(0x19e)][_0x182c32(0x269)](this[_0x182c32(0x201)]);}[_0x2665b1(0x22e)](){const _0x98357d=_0x2665b1;var _0x57cadd;const _0x1484d1=(_0x57cadd=document[_0x98357d(0x280)](this[_0x98357d(0x244)]))==null?void 0x0:_0x57cadd[_0x98357d(0x29a)](_0x98357d(0x24f));_0x1484d1&&(this[_0x98357d(0x19e)]=_0x1484d1,this[_0x98357d(0x25c)]());}[_0x2665b1(0x1f6)](){const _0x11b412=_0x2665b1;this[_0x11b412(0x19e)]||this['_initMaskContainer'](),this['_maskElement']&&(this['_maskElement'][_0x11b412(0x192)][_0x11b412(0x2a2)]='flex');}[_0x2665b1(0x26a)](){const _0x4edec0=_0x2665b1;this[_0x4edec0(0x201)]&&(this[_0x4edec0(0x201)][_0x4edec0(0x192)]['display']=_0x4edec0(0x313));}set['status'](_0x40ff5e){const _0x216d1a=_0x2665b1;this[_0x216d1a(0x237)][_0x216d1a(0x1bf)](_0x40ff5e);}set['currentVersion'](_0x17da95){const _0x5401e4=_0x2665b1;_0x17da95!==this[_0x5401e4(0x185)]['value']&&this[_0x5401e4(0x185)][_0x5401e4(0x1bf)](_0x17da95);}get[_0x2665b1(0x241)](){const _0x753194=_0x2665b1;return this[_0x753194(0x185)][_0x753194(0x1a2)];}set['unitId'](_0x696de){const _0x4c850e=_0x2665b1;this[_0x4c850e(0x2e3)][_0x4c850e(0x1bf)](_0x696de);}get[_0x2665b1(0x2d0)](){const _0x2a6669=_0x2665b1;return this[_0x2a6669(0x2e3)][_0x2a6669(0x1a2)];}get[_0x2665b1(0x311)](){const _0x2e679a=_0x2665b1;return this[_0x2e679a(0x1c0)];}get[_0x2665b1(0x2fe)](){const _0x4ab68d=_0x2665b1;return this[_0x4ab68d(0x1ff)]['value'];}};E=vs([V(0x0,_0x21dc87),V(0x1,_0x1aa53d),V(0x2,_0x5ee257(_0x2f2cc3)),V(0x3,_0x5ee257(Y))],E);var g=function(){const _0x5d9d25=_0x2665b1;return g=Object[_0x5d9d25(0x204)]||function(_0x37a00f){const _0x150ca0=_0x5d9d25;for(var _0x21c6a8,_0x3591f6=0x1,_0x2df1c1=arguments[_0x150ca0(0x27a)];_0x3591f6<_0x2df1c1;_0x3591f6++){_0x21c6a8=arguments[_0x3591f6];for(var _0x55bce6 in _0x21c6a8)Object['prototype'][_0x150ca0(0x295)][_0x150ca0(0x20b)](_0x21c6a8,_0x55bce6)&&(_0x37a00f[_0x55bce6]=_0x21c6a8[_0x55bce6]);}return _0x37a00f;},g[_0x5d9d25(0x177)](this,arguments);},ms=function(_0x4e3968,_0x5ae19c){const _0x511c8f=_0x2665b1;var _0x4e7c67={};for(var _0x1ad902 in _0x4e3968)Object['prototype'][_0x511c8f(0x295)]['call'](_0x4e3968,_0x1ad902)&&_0x5ae19c[_0x511c8f(0x1b7)](_0x1ad902)<0x0&&(_0x4e7c67[_0x1ad902]=_0x4e3968[_0x1ad902]);if(_0x4e3968!=null&&typeof Object[_0x511c8f(0x1bd)]=='function'){for(var _0x299060=0x0,_0x1ad902=Object[_0x511c8f(0x1bd)](_0x4e3968);_0x299060<_0x1ad902[_0x511c8f(0x27a)];_0x299060++)_0x5ae19c[_0x511c8f(0x1b7)](_0x1ad902[_0x299060])<0x0&&Object[_0x511c8f(0x263)][_0x511c8f(0x239)]['call'](_0x4e3968,_0x1ad902[_0x299060])&&(_0x4e7c67[_0x1ad902[_0x299060]]=_0x4e3968[_0x1ad902[_0x299060]]);}return _0x4e7c67;},G=_0x272c1d(function(_0x2950da,_0x4efd75){const _0x5e5783=_0x2665b1;var _0x49b90b=_0x2950da['icon'],_0x5c20fb=_0x2950da['id'],_0x199e3f=_0x2950da[_0x5e5783(0x277)],_0x5129a9=_0x2950da[_0x5e5783(0x238)],_0x385e22=ms(_0x2950da,['icon','id','className','extend']),_0x5b1e4c=_0x5e5783(0x2a5)['concat'](_0x5c20fb,'\x20')[_0x5e5783(0x272)](_0x199e3f||'')[_0x5e5783(0x1af)](),_0x2da154=_0x9be58e('_'[_0x5e5783(0x272)](gs()));return Pe(_0x49b90b,''[_0x5e5783(0x272)](_0x5c20fb),{'defIds':_0x49b90b[_0x5e5783(0x206)],'idSuffix':_0x2da154['current']},g({'ref':_0x4efd75,'className':_0x5b1e4c},_0x385e22),_0x5129a9);});function Pe(_0x2f2547,_0x43c604,_0x58ef50,_0x114454,_0x55b205){const _0x516842=_0x2665b1;return _0x3c6553(_0x2f2547[_0x516842(0x1dc)],g(g({'key':_0x43c604},Is(_0x2f2547,_0x58ef50,_0x55b205)),_0x114454),(Ss(_0x2f2547,_0x58ef50)[_0x516842(0x2bc)]||[])[_0x516842(0x1b5)](function(_0xb1f47c,_0x34ec0d){const _0x10afac=_0x516842;return Pe(_0xb1f47c,''['concat'](_0x43c604,'-')[_0x10afac(0x272)](_0x2f2547[_0x10afac(0x1dc)],'-')[_0x10afac(0x272)](_0x34ec0d),_0x58ef50,void 0x0,_0x55b205);}));}function Is(_0x35f004,_0x52fab2,_0x9110e3){const _0xabf76f=_0x2665b1;var _0x19c331=g({},_0x35f004[_0xabf76f(0x2e0)]);_0x9110e3!=null&&_0x9110e3[_0xabf76f(0x196)]&&_0x19c331['fill']===_0xabf76f(0x196)&&(_0x19c331[_0xabf76f(0x179)]=_0x9110e3[_0xabf76f(0x196)]),_0x35f004[_0xabf76f(0x1dc)]===_0xabf76f(0x257)&&_0x19c331['id']&&(_0x19c331['id']=_0x19c331['id']+_0x52fab2[_0xabf76f(0x26d)]),Object[_0xabf76f(0x18d)](_0x19c331)[_0xabf76f(0x2b1)](function(_0x26e861){const _0x5d86db=_0xabf76f;var _0x256531=_0x26e861[0x0],_0x2b3a8c=_0x26e861[0x1];_0x256531==='mask'&&typeof _0x2b3a8c==_0x5d86db(0x27b)&&(_0x19c331[_0x256531]=_0x2b3a8c[_0x5d86db(0x1ac)](/url\(#(.*)\)/,_0x5d86db(0x17e)[_0x5d86db(0x272)](_0x52fab2[_0x5d86db(0x26d)],')')));});var _0x49a649=_0x52fab2[_0xabf76f(0x206)];return!_0x49a649||_0x49a649[_0xabf76f(0x27a)]===0x0||(_0x35f004[_0xabf76f(0x1dc)]===_0xabf76f(0x2b4)&&_0x19c331[_0xabf76f(0x230)]&&(_0x19c331[_0xabf76f(0x230)]=_0x19c331[_0xabf76f(0x230)]+_0x52fab2[_0xabf76f(0x26d)]),Object[_0xabf76f(0x18d)](_0x19c331)[_0xabf76f(0x2b1)](function(_0x40d4e3){const _0x1047b9=_0xabf76f;var _0x32c25a=_0x40d4e3[0x0],_0x129464=_0x40d4e3[0x1];typeof _0x129464==_0x1047b9(0x27b)&&(_0x19c331[_0x32c25a]=_0x129464[_0x1047b9(0x1ac)](/url\(#(.*)\)/,_0x1047b9(0x17e)['concat'](_0x52fab2['idSuffix'],')')));})),_0x19c331;}function Ss(_0x49fc84,_0x5b7726){const _0x18e3f6=_0x2665b1;var _0x242deb,_0x4c7dd0=_0x5b7726[_0x18e3f6(0x206)];return!_0x4c7dd0||_0x4c7dd0[_0x18e3f6(0x27a)]===0x0?_0x49fc84:_0x49fc84[_0x18e3f6(0x1dc)]===_0x18e3f6(0x1e7)&&(!((_0x242deb=_0x49fc84[_0x18e3f6(0x2bc)])===null||_0x242deb===void 0x0)&&_0x242deb['length'])?g(g({},_0x49fc84),{'children':_0x49fc84[_0x18e3f6(0x2bc)]['map'](function(_0x1f9baf){const _0x5c0719=_0x18e3f6;return typeof _0x1f9baf[_0x5c0719(0x2e0)]['id']=='string'&&_0x4c7dd0&&_0x4c7dd0[_0x5c0719(0x202)](_0x1f9baf[_0x5c0719(0x2e0)]['id'])?g(g({},_0x1f9baf),{'attrs':g(g({},_0x1f9baf[_0x5c0719(0x2e0)]),{'id':_0x1f9baf['attrs']['id']+_0x5b7726[_0x5c0719(0x26d)]})}):_0x1f9baf;})}):_0x49fc84;}function gs(){const _0x5e090e=_0x2665b1;return Math[_0x5e090e(0x325)]()['toString'](0x24)['substring'](0x2,0x8);}G[_0x2665b1(0x28e)]=_0x2665b1(0x211);var ps={'tag':_0x2665b1(0x209),'attrs':{'xmlns':_0x2665b1(0x221),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x2665b1(0x207),'height':_0x2665b1(0x207)},'children':[{'tag':_0x2665b1(0x214),'attrs':{'fill':_0x2665b1(0x278),'d':'M6.42416\x204.42417C6.65847\x204.18985\x206.65847\x203.80995\x206.42416\x203.57564C6.18984\x203.34132\x205.80994\x203.34132\x205.57563\x203.57564L1.57564\x207.57564C1.34132\x207.80995\x201.34132\x208.18985\x201.57564\x208.42417L5.57563\x2012.4242C5.80994\x2012.6585\x206.18984\x2012.6585\x206.42416\x2012.4242C6.65847\x2012.1899\x206.65847\x2011.81\x206.42416\x2011.5756L3.44843\x208.5999H14C14.3314\x208.5999\x2014.6\x208.33127\x2014.6\x207.9999C14.6\x207.66853\x2014.3314\x207.3999\x2014\x207.3999H3.44843L6.42416\x204.42417Z'}}]},Te=_0x272c1d(function(_0x3b2ad3,_0x1ce0ba){const _0x40b54e=_0x2665b1;return _0x3c6553(G,Object[_0x40b54e(0x204)]({},_0x3b2ad3,{'id':_0x40b54e(0x262),'ref':_0x1ce0ba,'icon':ps}));});Te['displayName']='BackIcon';var Es={'tag':'svg','attrs':{'xmlns':_0x2665b1(0x221),'fill':'none','viewBox':_0x2665b1(0x176),'width':_0x2665b1(0x207),'height':_0x2665b1(0x207)},'children':[{'tag':_0x2665b1(0x214),'attrs':{'fill':_0x2665b1(0x2a0),'d':_0x2665b1(0x1a9),'fillOpacity':0.2,'fillRule':'evenodd','clipRule':_0x2665b1(0x205)}},{'tag':'path','attrs':{'fill':_0x2665b1(0x2a0),'d':_0x2665b1(0x227),'fillRule':'evenodd','clipRule':_0x2665b1(0x205)}}]},ae=_0x272c1d(function(_0xafaa81,_0x4dbd82){const _0x51aab7=_0x2665b1;return _0x3c6553(G,Object['assign']({},_0xafaa81,{'id':_0x51aab7(0x2e5),'ref':_0x4dbd82,'icon':Es}));});ae[_0x2665b1(0x28e)]=_0x2665b1(0x285);var Rs={'tag':_0x2665b1(0x209),'attrs':{'xmlns':_0x2665b1(0x221),'fill':'none','viewBox':_0x2665b1(0x2d4),'width':_0x2665b1(0x207),'height':_0x2665b1(0x207)},'children':[{'tag':'g','attrs':{'fill':_0x2665b1(0x278),'clipPath':_0x2665b1(0x19b)},'children':[{'tag':_0x2665b1(0x214),'attrs':{'d':_0x2665b1(0x2ce)}},{'tag':_0x2665b1(0x214),'attrs':{'d':_0x2665b1(0x1a8),'fillRule':'evenodd','clipRule':'evenodd'}}]},{'tag':_0x2665b1(0x1e7),'attrs':{},'children':[{'tag':_0x2665b1(0x19a),'attrs':{'id':_0x2665b1(0x188)},'children':[{'tag':_0x2665b1(0x215),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x2665b1(0x1a5),'rx':0x4}}]}]}],'defIds':[_0x2665b1(0x188)]},Le=_0x272c1d(function(_0x3eeb83,_0x1c79d0){const _0x355b19=_0x2665b1;return _0x3c6553(G,Object['assign']({},_0x3eeb83,{'id':_0x355b19(0x1b3),'ref':_0x1c79d0,'icon':Rs}));});Le[_0x2665b1(0x28e)]='RestoreIcon';function Os(){const _0x3fa1c2=_0x2665b1;var _0x35cafc;const _0x5c6e1d=_0x5e9152(E),_0x3bf1d7=_0x5e9152(_0x2f2cc3),_0x4ebadd=_0x563453(()=>{const _0x461e61=_0x3d78;_0x5c6e1d[_0x461e61(0x186)]=ne[_0x461e61(0x1fd)];},[_0x5c6e1d]),_0x1d11a4=_0x563453(()=>{_0x5c6e1d['triggerRevert']();},[_0x5c6e1d]),_0x1ccf72=_0x969c53(_0x5c6e1d[_0x3fa1c2(0x274)]),_0x11a498=_0x969c53(_0x5c6e1d[_0x3fa1c2(0x261)]),_0x4972d3=_0x1ccf72===((_0x35cafc=_0x11a498==null?void 0x0:_0x11a498[0x0])==null?void 0x0:_0x35cafc['id']),_0x43ddd0=_0x1ccf72!==''&&!_0x4972d3&&_0x5c6e1d[_0x3fa1c2(0x311)];return _0x630d6d('div',{'className':_0x3daf4e(_0x3fa1c2(0x1c1),_0x22de18),'children':[_0xd24218(_0x3fa1c2(0x321),{'onClick':_0x4ebadd,'className':_0x3fa1c2(0x301),'children':_0xd24218(Te,{'className':_0x3fa1c2(0x317)})}),_0xd24218(_0x3fa1c2(0x321),{'className':_0x3fa1c2(0x2c9),'children':_0x43ddd0&&_0xd24218(_0x4de6f6,{'variant':_0x3fa1c2(0x1e0),'onClick':_0x1d11a4,'children':_0x3bf1d7['t'](_0x3fa1c2(0x27f))})})]});}var Ms=Object[_0x2665b1(0x220)],Ns=(_0x1363be,_0x441526,_0x5927da,_0x3e18ee)=>{const _0x26d384=_0x2665b1;for(var _0x24d1de=_0x3e18ee>0x1?void 0x0:_0x3e18ee?Ms(_0x441526,_0x5927da):_0x441526,_0x5a40fa=_0x1363be[_0x26d384(0x27a)]-0x1,_0x4c3d06;_0x5a40fa>=0x0;_0x5a40fa--)(_0x4c3d06=_0x1363be[_0x5a40fa])&&(_0x24d1de=_0x4c3d06(_0x24d1de)||_0x24d1de);return _0x24d1de;},y=(_0x465100,_0x497f58)=>(_0x344cb1,_0x1ba5c5)=>_0x497f58(_0x344cb1,_0x1ba5c5,_0x465100);let B=class extends _0x4af2f5{constructor(_0x4adc34,_0x27b26c,_0x26b97a,_0x2f610d,_0xb67845,_0x141916){const _0xf5af8c=_0x2665b1;super(),this[_0xf5af8c(0x2a7)]=_0x4adc34,this[_0xf5af8c(0x302)]=_0x27b26c,this[_0xf5af8c(0x266)]=_0x26b97a,this['_localeService']=_0x2f610d,this[_0xf5af8c(0x2d1)]=_0xb67845,this['_injector']=_0x141916,this[_0xf5af8c(0x2f4)]();}[_0x2665b1(0x2f4)](){const _0x31183c=_0x2665b1;this[_0x31183c(0x27c)](this[_0x31183c(0x2d1)]['currentVersion$'][_0x31183c(0x2b2)](_0x3390cd=>{const _0x1d8b00=_0x31183c;_0x3390cd&&this[_0x1d8b00(0x2d1)]['triggerLoadSheet'](_0x3390cd);})),this[_0x31183c(0x27c)](this['_permissionService'][_0x31183c(0x25d)][_0x31183c(0x2b2)](_0x111bfb=>{const _0x21aaff=_0x31183c,_0x59ea8a=this[_0x21aaff(0x2d1)]['unitId'];_0x59ea8a&&(_0x111bfb['subType']===b[_0x21aaff(0x27e)]&&_0x111bfb[_0x21aaff(0x1a2)]===!0x0&&this['_permissionService'][_0x21aaff(0x2f8)](new _0xf7ecf9(_0x59ea8a)['id'],!0x1),_0x111bfb[_0x21aaff(0x1f5)]===b[_0x21aaff(0x17b)]&&_0x111bfb['value']===!0x0&&this[_0x21aaff(0x2a7)]['updatePermissionPoint'](new _0x3aed49(_0x59ea8a)['id'],!0x1),_0x111bfb[_0x21aaff(0x1f5)]===b[_0x21aaff(0x228)]&&_0x111bfb['value']===!0x0&&this[_0x21aaff(0x2a7)]['updatePermissionPoint'](new _0x539ee8(_0x59ea8a)['id'],!0x1),_0x111bfb[_0x21aaff(0x1f5)]===b[_0x21aaff(0x2c5)]&&_0x111bfb[_0x21aaff(0x1a2)]===!0x0&&this[_0x21aaff(0x2a7)]['updatePermissionPoint'](new _0x1a8100(_0x59ea8a)['id'],!0x1),_0x111bfb[_0x21aaff(0x1f5)]===b['Comment']&&_0x111bfb[_0x21aaff(0x1a2)]===!0x0&&this[_0x21aaff(0x2a7)][_0x21aaff(0x2f8)](new _0xf7ecf9(_0x59ea8a)['id'],!0x1),_0x111bfb[_0x21aaff(0x1f5)]===b[_0x21aaff(0x30a)]&&_0x111bfb[_0x21aaff(0x1a2)]===!0x0&&this[_0x21aaff(0x2a7)][_0x21aaff(0x2f8)](new _0xf7ecf9(_0x59ea8a)['id'],!0x1));})),this[_0x31183c(0x27c)](this[_0x31183c(0x302)][_0x31183c(0x1ec)](_0x2e00c4[_0x31183c(0x293)],()=>_0x367f2f(Os,this['_injector']))),this['disposeWithMe'](this[_0x31183c(0x2d1)][_0x31183c(0x234)][_0x31183c(0x2b2)](_0x537d51=>{const _0xa8bd8d=_0x31183c;_0x537d51===T[_0xa8bd8d(0x1d7)]&&(this['_historyManagerService'][_0xa8bd8d(0x1f6)](),this[_0xa8bd8d(0x266)][_0xa8bd8d(0x24c)]({'type':_0x57abf8[_0xa8bd8d(0x236)],'content':this['_localeService']['t']('editHistory.info.loading')})),_0x537d51===T[_0xa8bd8d(0x1ed)]&&this[_0xa8bd8d(0x2d1)]['hideMask']();}));}};B=Ns([y(0x0,_0xa2bc76),y(0x1,_0x56f8d5),y(0x2,_0x21dc87),y(0x3,_0x5ee257(_0x2f2cc3)),y(0x4,_0x5ee257(E)),y(0x5,_0x5ee257(_0x5b3bb9))],B);var bs=Object[_0x2665b1(0x220)],Ds=(_0x465e51,_0x330de5,_0x269df4,_0xe311fa)=>{const _0x253b7a=_0x2665b1;for(var _0x439fa4=_0xe311fa>0x1?void 0x0:_0xe311fa?bs(_0x330de5,_0x269df4):_0x330de5,_0x2c7869=_0x465e51[_0x253b7a(0x27a)]-0x1,_0x3f2be4;_0x2c7869>=0x0;_0x2c7869--)(_0x3f2be4=_0x465e51[_0x2c7869])&&(_0x439fa4=_0x3f2be4(_0x439fa4)||_0x439fa4);return _0x439fa4;},Q=(_0x49acbd,_0x11172b)=>(_0x38de69,_0x172011)=>_0x11172b(_0x38de69,_0x172011,_0x49acbd);let $=class extends _0x4af2f5{constructor(_0x32fa38,_0x3d94a1,_0x2bcec3){const _0x2b3011=_0x2665b1;super(),l(this,_0x2b3011(0x181),new Map()),l(this,'_currentVersionDiff$',new _0x334ed0({'ranges':new Map(),'active':null})),l(this,'currentVersionDiff$',this[_0x2b3011(0x29e)][_0x2b3011(0x31c)]()),(this[_0x2b3011(0x2d1)]=_0x32fa38,this[_0x2b3011(0x217)]=_0x3d94a1,this[_0x2b3011(0x2d3)]=_0x2bcec3,this[_0x2b3011(0x2f4)]());}[_0x2665b1(0x2f4)](){const _0x1afad5=_0x2665b1;this[_0x1afad5(0x181)]=new Map(),this[_0x1afad5(0x27c)](this['_historyManagerService']['unitId$'][_0x1afad5(0x2b2)](_0x464018=>{const _0x2b234c=_0x1afad5;_0x464018&&!this[_0x2b234c(0x181)][_0x2b234c(0x2e9)](_0x464018)&&this[_0x2b234c(0x181)][_0x2b234c(0x20e)](_0x464018,new Map());})),this[_0x1afad5(0x27c)](this[_0x1afad5(0x2d1)]['currentVersion$'][_0x1afad5(0x2b2)](async _0x4d4f59=>{const _0x851d6b=_0x1afad5;var _0x514188;_0x4d4f59&&(await this['ensureVersion'](_0x4d4f59),this[_0x851d6b(0x29e)]['next'](((_0x514188=this[_0x851d6b(0x181)][_0x851d6b(0x2a6)](this['_historyManagerService'][_0x851d6b(0x2d0)]))==null?void 0x0:_0x514188['get'](_0x4d4f59))||{'ranges':new Map(),'active':null}));}));}async[_0x2665b1(0x1ad)](_0x5ca861){const _0x5a6ba6=_0x2665b1;var _0x40c6b8,_0x45a1fe;const _0xa0436e=this[_0x5a6ba6(0x2d1)][_0x5a6ba6(0x193)](_0x5ca861),_0x3f4007=this[_0x5a6ba6(0x2d1)][_0x5a6ba6(0x2d0)];if(!_0xa0436e||!_0x3f4007)return;const _0x4db657=this[_0x5a6ba6(0x181)][_0x5a6ba6(0x2a6)](_0x3f4007);if(_0x4db657||this[_0x5a6ba6(0x181)][_0x5a6ba6(0x20e)](_0x3f4007,new Map()),(_0x40c6b8=this['_diffRangesMap'][_0x5a6ba6(0x2a6)](_0x3f4007))!=null&&_0x40c6b8[_0x5a6ba6(0x2e9)](_0xa0436e['id']))return;const {startRev:_0x486cc5,endRev:_0x2ad75b}=_0xa0436e;if(_0x486cc5===0x1){_0x4db657[_0x5a6ba6(0x20e)](_0xa0436e['id'],{'ranges':new Map(),'active':null});return;}const _0x3538c0=_0x486cc5-0x1,_0x1d163e=_0x2ad75b,_0x2718aa=await this[_0x5a6ba6(0x2d3)]['fetchMissingChangesets']({},{'unitID':_0x3f4007,'from':_0x3538c0,'to':_0x1d163e,'type':F[_0x5a6ba6(0x2de)]});if(((_0x45a1fe=_0x2718aa['error'])==null?void 0x0:_0x45a1fe[_0x5a6ba6(0x2c8)])===X['OK']){const _0x163fa5=_0x2718aa[_0x5a6ba6(0x2c0)][_0x5a6ba6(0x1b5)](_0xb9e618)[_0x5a6ba6(0x1b5)](_0x603610=>_0x603610['mutations'][_0x5a6ba6(0x1b5)](_0xd7202d=>({..._0xd7202d,'params':{..._0xd7202d['params'],'memberId':_0x603610[_0x5a6ba6(0x1e5)]}})))['flat'](),_0x2d1a92=this['_transformMutationByOrder'](_0x163fa5),_0x1b110b=this[_0x5a6ba6(0x305)](_0x163fa5),_0x10aac3=this[_0x5a6ba6(0x1e6)](_0x2d1a92);_0x4db657[_0x5a6ba6(0x20e)](_0xa0436e['id'],{'ranges':_0x10aac3,'active':_0x1b110b});}}['_transformMutationByOrder'](_0x1082b8){const _0x3830e1=_0x2665b1;let _0x41e4d9=[];for(let _0x1e4e57=0x0;_0x1e4e57<_0x1082b8[_0x3830e1(0x27a)];_0x1e4e57++){const _0x42264b=_0x1082b8[_0x1e4e57];if(_0x41e4d9[_0x3830e1(0x276)](_0x42264b),_0x1e4e57!==_0x1082b8[_0x3830e1(0x27a)]-0x1){const _0x24f25d=_0x1082b8[_0x1e4e57+0x1],_0x39a4bd=this[_0x3830e1(0x217)][_0x3830e1(0x19d)](_0x41e4d9,[_0x24f25d]);_0x109ea0(_0x39a4bd)?_0x41e4d9=_0x39a4bd[_0x3830e1(0x222)]:_0x41e4d9=[];}}return _0x41e4d9;}[_0x2665b1(0x305)](_0x34de33){const _0x23d044=_0x2665b1;let _0x13640d=[];return _0x34de33['forEach'](_0x4b03e4=>{const _0x3891ff=_0x3d78;if(_0x4b03e4['id']===_0x1fc694['id']){const _0x569f97=_0x4b03e4[_0x3891ff(0x232)];_0x13640d['push'](_0x569f97[_0x3891ff(0x1f8)]['id']);}else{if(_0x4b03e4['id']===_0x284cc0['id']){const _0x150178=_0x4b03e4[_0x3891ff(0x232)];_0x13640d[_0x3891ff(0x27a)]>0x0&&(_0x13640d=_0x13640d['filter'](_0x46235=>_0x46235!==_0x150178[_0x3891ff(0x20d)]));}else{if(_0x4b03e4['id']===_0x45ebcc['id']){const _0x2b692d=_0x4b03e4[_0x3891ff(0x232)];_0x2b692d['hidden']?_0x13640d=_0x13640d[_0x3891ff(0x1da)](_0xb18934=>_0xb18934!==_0x2b692d[_0x3891ff(0x20d)]):_0x13640d[_0x3891ff(0x276)](_0x2b692d[_0x3891ff(0x20d)]);}else{const _0xe1da19=_0x4b03e4['params'];_0xe1da19[_0x3891ff(0x20d)]&&_0x13640d['push'](_0xe1da19[_0x3891ff(0x20d)]);}}}}),_0x13640d['length']>0x0?_0x13640d[_0x13640d[_0x23d044(0x27a)]-0x1]:null;}[_0x2665b1(0x1e6)](_0x3a001a){const _0x5e8cbd=_0x2665b1,_0xb585f5=new Map();return _0x3a001a[_0x5e8cbd(0x2b1)](_0x173489=>{const _0x2333ee=_0x5e8cbd;var _0x2e9053,_0x4e54ed;const _0x4158f7=(_0x2e9053=_0x173489['params'])==null?void 0x0:_0x2e9053[_0x2333ee(0x2a8)];if(_0x4158f7){_0xb585f5['has'](_0x4158f7)||_0xb585f5[_0x2333ee(0x20e)](_0x4158f7,[]);const _0x1cf3ea=this['_getRangesByMutation'](_0x173489);(_0x4e54ed=_0xb585f5[_0x2333ee(0x2a6)](_0x4158f7))==null||_0x4e54ed['push'](..._0x1cf3ea);}}),_0xb585f5[_0x5e8cbd(0x2b1)]((_0x20cf67,_0x16862f)=>{const _0x5ac34c=_0x5e8cbd;_0xb585f5[_0x5ac34c(0x20e)](_0x16862f,this['_combineRanges'](_0x20cf67));}),_0xb585f5;}['_getRangesByMutation'](_0x3b7d13){const _0x23a333=_0x2665b1;switch(_0x3b7d13['id']){case _0x53c5ca['id']:{const _0x122c81=_0x3b7d13[_0x23a333(0x232)];return _0x122c81[_0x23a333(0x2b5)]['map'](_0x20072d=>_0x20072d['ranges'][_0x23a333(0x1b5)](_0x46f3b5=>({'range':_0x46f3b5,'unitId':_0x122c81[_0x23a333(0x2d0)],'subUnitId':_0x122c81[_0x23a333(0x20d)]})))[_0x23a333(0x180)]();}case _0x51e1c6['id']:{const _0x2fe411=_0x3b7d13[_0x23a333(0x232)];return _0x2fe411[_0x23a333(0x210)][_0x23a333(0x1b5)](_0x123ad9=>({'range':_0x123ad9,'unitId':_0x2fe411[_0x23a333(0x2d0)],'subUnitId':_0x2fe411['subUnitId']}));}case _0x39407d['id']:{const _0x350961=_0x3b7d13[_0x23a333(0x232)];return[{'range':_0x350961[_0x23a333(0x17d)],'unitId':_0x350961['unitId'],'subUnitId':_0x350961[_0x23a333(0x20d)]}];}case _0x230896['id']:{const _0x399eed=_0x3b7d13[_0x23a333(0x232)];return[{'range':_0x399eed[_0x23a333(0x17d)],'unitId':_0x399eed[_0x23a333(0x2d0)],'subUnitId':_0x399eed[_0x23a333(0x20d)]}];}case _0x4836e9['id']:{const _0x2ab010=_0x3b7d13['params'],{from:_0x1741cd,to:_0x4e363c,unitId:_0x3a1ef6}=_0x2ab010;return[{'range':he(_0x1741cd[_0x23a333(0x1a2)]),'unitId':_0x3a1ef6,'subUnitId':_0x1741cd[_0x23a333(0x20d)]},{'range':he(_0x4e363c[_0x23a333(0x1a2)]),'unitId':_0x3a1ef6,'subUnitId':_0x4e363c['subUnitId']}];}case _0x11efee['id']:{const _0x4cb552=_0x3b7d13[_0x23a333(0x232)],{unitId:_0x1b122b,subUnitId:_0x31f113,sourceRange:_0x1dc051,targetRange:_0x1836fa}=_0x4cb552,_0x903b5b=_0x1dc051[_0x23a333(0x28b)]-_0x1dc051[_0x23a333(0x195)]+0x1;return[{'range':_0x1836fa[_0x23a333(0x195)]<=_0x1dc051['startRow']?_0x1836fa:{..._0x1836fa,'startRow':_0x1836fa[_0x23a333(0x195)]-_0x903b5b,'endRow':_0x1836fa[_0x23a333(0x28b)]-_0x903b5b},'unitId':_0x1b122b,'subUnitId':_0x31f113}];}case _0x3cf96e['id']:{const _0x1c95c9=_0x3b7d13[_0x23a333(0x232)],{unitId:_0xbbc085,subUnitId:_0x2c1c9a,sourceRange:_0x55a92a,targetRange:_0x424b27}=_0x1c95c9,_0x8796c8=_0x55a92a['endColumn']-_0x55a92a['startColumn']+0x1;return[{'range':_0x424b27[_0x23a333(0x25f)]<=_0x55a92a[_0x23a333(0x25f)]?_0x424b27:{..._0x424b27,'startColumn':_0x424b27[_0x23a333(0x25f)]-_0x8796c8,'endColumn':_0x424b27[_0x23a333(0x242)]-_0x8796c8},'unitId':_0xbbc085,'subUnitId':_0x2c1c9a}];}case _0x359380['id']:{const _0x1cc09f=_0x3b7d13[_0x23a333(0x232)],{values:_0x52b15b,unitId:_0x27aa5d,subUnitId:_0x3b1afd}=_0x1cc09f;return Object[_0x23a333(0x2c6)](_0x52b15b)[_0x23a333(0x1b5)](_0xf5df9d=>_0xf5df9d['ranges'][_0x23a333(0x1b5)](_0x380cfa=>({'range':_0x380cfa,'unitId':_0x27aa5d,'subUnitId':_0x3b1afd})))[_0x23a333(0x180)]();}case _0x233bb0['id']:{const _0x575d8a=_0x3b7d13[_0x23a333(0x232)],{ranges:_0x1a95e3,unitId:_0x400be4,subUnitId:_0x3572bb}=_0x575d8a;return _0x1a95e3[_0x23a333(0x1b5)](_0x2d6638=>({'range':_0x2d6638,'unitId':_0x400be4,'subUnitId':_0x3572bb}));}case _0xadee88['id']:{const _0x27f594=_0x3b7d13[_0x23a333(0x232)],{unitId:_0x4fdae4,subUnitId:_0x6fffed,range:_0x3d4be7}=_0x27f594;return[{'range':_0x3d4be7,'unitId':_0x4fdae4,'subUnitId':_0x6fffed}];}case _0x5c1b58['id']:{const _0x5eeef9=_0x3b7d13[_0x23a333(0x232)];return _0x5eeef9[_0x23a333(0x2b3)][_0x23a333(0x210)][_0x23a333(0x1b5)](_0x5b4c39=>({'range':_0x5b4c39,'unitId':_0x5eeef9[_0x23a333(0x2d0)],'subUnitId':_0x5eeef9[_0x23a333(0x20d)]}));}case _0x2235da['id']:{const _0x448afd=_0x3b7d13[_0x23a333(0x232)];return _0x448afd[_0x23a333(0x298)]?ys(_0x448afd[_0x23a333(0x298)])[_0x23a333(0x1b5)](_0x12ae57=>({'range':_0x12ae57,'unitId':_0x448afd['unitId'],'subUnitId':_0x448afd[_0x23a333(0x20d)]})):[];}case _0x36609e['id']:{const _0xdbc83c=_0x3b7d13['params'];return[{'range':_0xdbc83c[_0x23a333(0x17d)],'unitId':_0xdbc83c[_0x23a333(0x2d0)],'subUnitId':_0xdbc83c[_0x23a333(0x20d)]}];}case _0x4aa84a['id']:{const _0x315e8f=_0x3b7d13['params'];return(Array['isArray'](_0x315e8f[_0x23a333(0x2b3)])?_0x315e8f[_0x23a333(0x2b3)]:[_0x315e8f[_0x23a333(0x2b3)]])[_0x23a333(0x1b5)](_0xf917f2=>_0xf917f2[_0x23a333(0x210)]['map'](_0x984261=>({'range':_0x984261,'unitId':_0x315e8f[_0x23a333(0x2d0)],'subUnitId':_0x315e8f[_0x23a333(0x20d)]})))[_0x23a333(0x180)]();}case _0xa6aba1['id']:{const _0x4a5165=_0x3b7d13[_0x23a333(0x232)];return _0x4a5165[_0x23a333(0x2b3)][_0x23a333(0x210)][_0x23a333(0x1b5)](_0x17113b=>({'range':_0x17113b,'unitId':_0x4a5165[_0x23a333(0x2d0)],'subUnitId':_0x4a5165['subUnitId']}));}default:return[];}}['_combineRanges'](_0xaa905c){const _0x135191=_0x2665b1;if(_0xaa905c[_0x135191(0x27a)]<=0x1)return _0xaa905c;const _0x3f47ff=new Map();return _0xaa905c[_0x135191(0x2b1)](_0x117466=>{const _0x2e201e=_0x135191;var _0x4836fc;const {unitId:_0x4b1f27,subUnitId:_0x441540}=_0x117466,_0x5e1b8b=_0x4b1f27+'-'+_0x441540;_0x3f47ff[_0x2e201e(0x2e9)](_0x5e1b8b)?(_0x4836fc=_0x3f47ff['get'](_0x5e1b8b))==null||_0x4836fc[_0x2e201e(0x276)](_0x117466):_0x3f47ff[_0x2e201e(0x20e)](_0x5e1b8b,[_0x117466]);}),Array['from'](_0x3f47ff[_0x135191(0x2c6)]())['map'](_0x49e91b=>new _0x3e649d()[_0x135191(0x281)](..._0x49e91b[_0x135191(0x1b5)](_0x5460b6=>_0x5460b6[_0x135191(0x17d)]))[_0x135191(0x17f)]()[_0x135191(0x1b5)](_0x472f0a=>({'range':_0x472f0a,'unitId':_0x49e91b[0x0]['unitId'],'subUnitId':_0x49e91b[0x0][_0x135191(0x20d)]})))[_0x135191(0x180)]();}};$=Ds([Q(0x0,_0x5ee257(E)),Q(0x1,_0x1d685c),Q(0x2,_0x26d129)],$);function he(_0x4a3377){const _0x52ef35=_0x2665b1;return new _0x534d57(_0x4a3377)[_0x52ef35(0x1a1)]();}function ys(_0x32137b){const _0x352e1e=_0x2665b1,_0x371c41=new _0x534d57(_0x32137b),_0x47540e=new _0x534d57();return _0x371c41[_0x352e1e(0x1c9)]((_0x5c8f02,_0x1af093)=>{_0x47540e['setValue'](_0x5c8f02,_0x1af093,0x1);}),_0x1d3ad7(_0x47540e);}var Cs=Object[_0x2665b1(0x220)],ws=(_0x42d3ae,_0x395361,_0x4fbca7,_0xd65b6e)=>{const _0xc01f9f=_0x2665b1;for(var _0x360aba=_0xd65b6e>0x1?void 0x0:_0xd65b6e?Cs(_0x395361,_0x4fbca7):_0x395361,_0x4e0c0b=_0x42d3ae[_0xc01f9f(0x27a)]-0x1,_0x23c2a1;_0x4e0c0b>=0x0;_0x4e0c0b--)(_0x23c2a1=_0x42d3ae[_0x4e0c0b])&&(_0x360aba=_0x23c2a1(_0x360aba)||_0x360aba);return _0x360aba;},C=(_0x4ad421,_0x170777)=>(_0x26095e,_0x57316f)=>_0x170777(_0x26095e,_0x57316f,_0x4ad421);let te=class extends _0x4af2f5{constructor(_0x4e2ef6,_0x413b3f,_0x93269,_0x4386db,_0x224be1,_0x5a8f96,_0x17aed5){const _0x375083=_0x2665b1;super(),l(this,_0x375083(0x1ba),new Set()),l(this,_0x375083(0x1d0),null),(this[_0x375083(0x258)]=_0x4e2ef6,this[_0x375083(0x2d1)]=_0x413b3f,this[_0x375083(0x2dd)]=_0x93269,this[_0x375083(0x2ed)]=_0x4386db,this[_0x375083(0x23a)]=_0x224be1,this['_sheetSkeletonManagerService']=_0x5a8f96,this[_0x375083(0x310)]=_0x17aed5,this[_0x375083(0x2f4)]());}[_0x2665b1(0x2f4)](){const _0x5228d0=_0x2665b1;this[_0x5228d0(0x171)](),this[_0x5228d0(0x1d9)]();}[_0x2665b1(0x171)](){const _0x1690cd=_0x2665b1;this[_0x1690cd(0x27c)](_0x1ebf43([this[_0x1690cd(0x2d1)]['loadingState$'],this[_0x1690cd(0x294)]['currentSkeleton$']])[_0x1690cd(0x219)](_0x4048db(([_0x7871ec,_0x2b35b8])=>{const _0x520ee7=_0x1690cd;if(_0x7871ec===T[_0x520ee7(0x1ed)]&&_0x2b35b8){const _0x4b5732=_0x2b35b8[_0x520ee7(0x2be)];return this[_0x520ee7(0x2dd)][_0x520ee7(0x182)][_0x520ee7(0x219)](_0x22192f(_0x33a0e5=>{const _0x32f660=_0x520ee7,_0x44c09d=new Map();return _0x33a0e5['ranges'][_0x32f660(0x2b1)]((_0x10a02d,_0xed2c28)=>{const _0x43642b=_0x32f660,_0x26a089=_0x10a02d[_0x43642b(0x1da)](_0x4d020d=>_0x4d020d['subUnitId']===_0x4b5732);_0x44c09d['set'](_0xed2c28,_0x26a089);}),{'skeleton':_0x2b35b8,'diffs':_0x44c09d};}));}return _0x15ff5c({'skeleton':null,'diffs':new Map()});}))[_0x1690cd(0x2b2)](({skeleton:_0x25cc0a,diffs:_0x2061a1})=>{const _0x1eff10=_0x1690cd;this[_0x1eff10(0x247)](),_0x25cc0a&&this['_updateDiffMarks'](_0x25cc0a,_0x2061a1);})),this['disposeWithMe'](this[_0x1690cd(0x294)]['currentSkeleton$'][_0x1690cd(0x2b2)](_0x166b8d=>{const _0xc5ce67=_0x1690cd;if(_0x166b8d==null)return;const {skeleton:_0x10f201}=_0x166b8d,{scene:_0x215860}=this[_0xc5ce67(0x258)];_0x215860[_0xc5ce67(0x246)][_0xc5ce67(0x2bf)](_0x38016d(_0x27a23b=>{const _0x3a7348=_0xc5ce67;var _0x25ca8b,_0x253641;const {offsetX:_0x2fada4,offsetY:_0x213d11}=_0x27a23b,{x:_0x1edd0b,y:_0x11b7ba}=_0x215860[_0x3a7348(0x1eb)](_0x718679['FromArray']([_0x2fada4,_0x213d11])),{scaleX:_0x3d8688,scaleY:_0x58fd40}=_0x215860['getAncestorScale'](),_0x2f1015=_0x215860[_0x3a7348(0x24d)](_0xd411d4['VIEW_MAIN']),_0x22566e=_0x215860[_0x3a7348(0x24a)](_0x718679[_0x3a7348(0x194)]([_0x1edd0b,_0x11b7ba]),_0x2f1015),_0x38fa0b=_0x10f201[_0x3a7348(0x17c)](_0x2fada4,_0x213d11,_0x3d8688,_0x58fd40,_0x22566e);((_0x25ca8b=this[_0x3a7348(0x1d0)])==null?void 0x0:_0x25ca8b[_0x3a7348(0x1fc)])===_0x38fa0b['column']&&((_0x253641=this['_lastPointer'])==null?void 0x0:_0x253641['row'])===_0x38fa0b[_0x3a7348(0x22a)]||this[_0x3a7348(0x1ba)][_0x3a7348(0x2b1)](_0x4c2ffb=>{const _0x42fa79=_0x3a7348;_0x4c2ffb[_0x42fa79(0x1c4)](_0x38fa0b);});},0x64));}));}[_0x2665b1(0x1d9)](){const _0x52893f=_0x2665b1;this[_0x52893f(0x27c)](this[_0x52893f(0x2d1)][_0x52893f(0x234)][_0x52893f(0x2b2)](_0x57d4ad=>{const _0x24697b=_0x52893f,_0x2193d3=new _0x1842ec();return _0x57d4ad===T['Loaded']&&(_0x2193d3[_0x24697b(0x25e)](),_0x2193d3[_0x24697b(0x281)](this[_0x24697b(0x2dd)][_0x24697b(0x182)][_0x24697b(0x2b2)](_0x6d3b0e=>{const _0x3d807e=_0x24697b;_0x6d3b0e[_0x3d807e(0x308)]&&this[_0x3d807e(0x310)]['executeCommand'](_0x24817b['id'],{'unitId':this[_0x3d807e(0x258)]['unitId'],'subUnitId':_0x6d3b0e[_0x3d807e(0x308)]});}))),()=>_0x2193d3[_0x24697b(0x25e)]();}));}[_0x2665b1(0x1e1)](_0x4c074c,_0x290b3f){const _0x1ebc85=_0x2665b1;var _0x13e280;const _0xa84aa9=(_0x13e280=this[_0x1ebc85(0x294)]['getCurrent']())==null?void 0x0:_0x13e280[_0x1ebc85(0x296)];if(!_0xa84aa9)return;this['_diffs'][_0x1ebc85(0x2b1)](_0x48120d=>{const _0x51c911=_0x1ebc85;_0x48120d[_0x51c911(0x23b)]();});const {scene:_0x3fd195}=this[_0x1ebc85(0x258)],_0x5306eb=Array[_0x1ebc85(0x22c)](_0x290b3f['keys']())[_0x1ebc85(0x1b5)](_0x57f247=>_0x290b3f[_0x1ebc85(0x2a6)](_0x57f247)[_0x1ebc85(0x1b5)](_0x5c9980=>{const _0xc71c63=_0x1ebc85;var _0x312d9e;const {range:_0x29c551,subUnitId:_0x2e9c14,unitId:_0x45d75a}=_0x5c9980,{startColumn:_0x276538,startRow:_0x47f3f6,endColumn:_0x36d474,endRow:_0x27c0da}=_0x29c551,_0x14c1c0=_0x5a963c(_0x47f3f6,_0x276538,_0x3fd195,_0xa84aa9),_0x5d60a1=_0x5a963c(_0x27c0da,_0x36d474,_0x3fd195,_0xa84aa9),{columnHeaderHeightAndMarginTop:_0x16f71e}=_0xa84aa9,{startX:_0x1ea8a4,startY:_0x57e7e6}=_0x14c1c0,{endX:_0x1568bb,endY:_0x128703}=_0x5d60a1,_0x337f48=_0x1568bb-_0x1ea8a4,_0x3bd173=_0x128703-_0x57e7e6,_0x47ddb5={'labelPosition':_0x57e7e6-_0x16f71e>=0x14?_0xc71c63(0x26f):_0xc71c63(0x320),'sheetID':_0x2e9c14,'range':_0x29c551,'color':_0xc71c63(0x203),'fillAfterStrokeEnabled':!0x0,'backgroundColor':'rgba(58,\x2096,\x20247,\x200.20)','name':((_0x312d9e=this['_historyManagerService'][_0xc71c63(0x1d1)](_0x57f247))==null?void 0x0:_0x312d9e[_0xc71c63(0x2d6)])||'','selection':_0x45d75a+'-'+_0x2e9c14+'-'+_0x29c551[_0xc71c63(0x25f)]+'-'+_0x29c551[_0xc71c63(0x195)]+'-'+_0x29c551[_0xc71c63(0x242)]+'-'+_0x29c551[_0xc71c63(0x28b)],'left':_0x1ea8a4,'top':_0x57e7e6,'width':_0x337f48,'height':_0x3bd173,'evented':!0x1,'zIndex':0x1};return new _0x3b292d('',_0x47ddb5);}))[_0x1ebc85(0x180)]();_0x3fd195[_0x1ebc85(0x2ff)](_0x5306eb,0x1),this[_0x1ebc85(0x1ba)]=new Set(_0x5306eb);}[_0x2665b1(0x247)](){const _0x2ac23e=_0x2665b1;var _0x1c8c2e;(_0x1c8c2e=this[_0x2ac23e(0x1ba)])==null||_0x1c8c2e[_0x2ac23e(0x2b1)](_0x19e545=>_0x19e545[_0x2ac23e(0x25e)]());}[_0x2665b1(0x2ca)](){const _0x2def9c=_0x2665b1;return _0x5ee343(this[_0x2def9c(0x2ed)],this['_renderManagerService']);}};te=ws([C(0x1,_0x5ee257(E)),C(0x2,_0x5ee257($)),C(0x3,_0x1c1ad8),C(0x4,_0x23ac12),C(0x5,_0x5ee257(_0x54faeb)),C(0x6,_0x273bb7)],te);function Ps(){const _0x46cf55=_0x2665b1,_0x3d9abb=_0x5e9152(E),_0x344c69=_0x969c53(_0x3d9abb['versions$']),[_0x163649,_0x2b97da]=_0x1a5b29(!0x1),_0x4546a8=cs(_0x344c69);return _0x344c69?_0xd24218(_0x46cf55(0x321),{'className':'univer-mx-[-20px]\x20univer-overflow-hidden','children':_0x630d6d(_0x46cf55(0x321),{'className':'univer-h-full\x20univer-overflow-auto\x20univer-border-t\x20univer-border-gray-200','children':[_0x4546a8['map']((_0x5bd67d,_0x3c1729)=>_0x630d6d(_0x2727d0,{'children':[_0xd24218($s,{'date':_0x5bd67d[_0x46cf55(0x1ca)]}),_0x5bd67d[_0x46cf55(0x21d)][_0x46cf55(0x1b5)]((_0x53eccd,_0x3ebc7b)=>_0xd24218(Vs,{'index':[_0x3c1729,_0x3ebc7b],'item':_0x53eccd},_0x3c1729+'-'+_0x3ebc7b))]},_0x5bd67d[_0x46cf55(0x1ca)])),_0x163649&&_0xd24218(Ts,{})]})}):_0xd24218(Ls,{});}function Ts(){const _0x3d7e3b=_0x2665b1;return _0xd24218(_0x3d7e3b(0x321),{'className':_0x3d7e3b(0x2cc),'children':_0xd24218(ae,{'className':_0x3d7e3b(0x1bb)})});}function Ls(){const _0x264aa4=_0x2665b1;return _0xd24218(_0x264aa4(0x321),{'className':_0x264aa4(0x1a0),'children':_0xd24218('span',{'className':'univer-text-gray-500','children':_0xd24218(ae,{'className':_0x264aa4(0x30d)})})});}function $s(_0x58b7eb){const _0x34a5bf=_0x2665b1,_0x7dda79=_0x5e9152(_0x2f2cc3),{date:_0x222e86}=_0x58b7eb;return _0xd24218(_0x34a5bf(0x321),{'className':_0x34a5bf(0x259),'children':ee(_0x222e86,_0x7dda79[_0x34a5bf(0x22b)]())});}function Vs(_0xe5359b){const _0x54b517=_0x2665b1,{item:_0x16166f,index:_0x44c457}=_0xe5359b,{time:_0x1f2e2e,user:_0x45193e}=_0x16166f,[_0x4f3611,_0x1761e5]=_0x44c457,_0x4b010d=_0x5e9152(E),_0x367f5b=_0x969c53(_0x4b010d[_0x54b517(0x274)],'',!0x0)===_0x16166f['id'],_0x337682=_0x4f3611===0x0&&_0x1761e5===0x0,_0x53fb8a=!_0x337682&&_0x4b010d[_0x54b517(0x311)],_0x5e50de=_0x5e9152(_0x2f2cc3),_0x552a40=_0x5e50de['getCurrentLocale'](),_0x565227=re(_0x1f2e2e,_0x552a40),_0x3bed19=_0x5e50de['t']('editHistory.panel.currentVersion'),_0x4afc35=_0x563453(_0x45c98a=>{const _0x1ff779=_0x54b517;_0x4b010d[_0x1ff779(0x2fe)]!==T[_0x1ff779(0x1d7)]&&(_0x4b010d['currentVersion']=_0x45c98a);},[_0x4b010d]),_0x1056b4=_0x563453(_0x3ad262=>{const _0x55785a=_0x54b517;_0x4b010d[_0x55785a(0x287)](_0x3ad262);},[_0x4b010d]);return _0x630d6d('div',{'className':_0x3daf4e(_0x54b517(0x255),{'univer-bg-gray-50':_0x367f5b}),'onClick':()=>_0x4afc35(_0x16166f['id']),'children':[_0x630d6d(_0x54b517(0x321),{'className':_0x54b517(0x218),'children':[_0xd24218(_0x54b517(0x321),{'className':'univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-400'}),_0x630d6d(_0x54b517(0x321),{'className':_0x54b517(0x212),'children':[_0xd24218(_0x54b517(0x275),{'children':_0x565227[_0x54b517(0x291)]}),_0x337682&&_0xd24218('span',{'className':_0x54b517(0x264),'children':_0x3bed19})]}),_0xd24218(_0x54b517(0x321),{'children':_0x53fb8a&&_0xd24218(_0x215e7c,{'title':_0x5e50de['t'](_0x54b517(0x2f0)),'children':_0xd24218(_0x54b517(0x321),{'onClick':_0x27b126=>{_0x27b126['stopPropagation'](),_0x1056b4(_0x16166f['id']);},'className':_0x54b517(0x1fb),'children':_0xd24218(Le,{})})})})]}),_0xd24218(_0x54b517(0x321),{'className':_0x54b517(0x1fa),'children':as(_0x16166f,_0x5e50de)})]});}var ks=Object[_0x2665b1(0x220)],xs=(_0x2c5bb6,_0x39deb5,_0x560583,_0x2dd2f5)=>{const _0x16bfce=_0x2665b1;for(var _0x42c17e=_0x2dd2f5>0x1?void 0x0:_0x2dd2f5?ks(_0x39deb5,_0x560583):_0x39deb5,_0x27121c=_0x2c5bb6[_0x16bfce(0x27a)]-0x1,_0x138301;_0x27121c>=0x0;_0x27121c--)(_0x138301=_0x2c5bb6[_0x27121c])&&(_0x42c17e=_0x138301(_0x42c17e)||_0x42c17e);return _0x42c17e;},k=(_0xb79813,_0x39dde6)=>(_0x4dacc4,_0x3e26e3)=>_0x39dde6(_0x4dacc4,_0x3e26e3,_0xb79813);const de=_0x2665b1(0x2e2);let j=class extends _0x4af2f5{constructor(_0x3d2931,_0x50df90,_0x3cd91c,_0x5b3479){const _0x1e4857=_0x2665b1;super(),l(this,_0x1e4857(0x1b4),null),(this[_0x1e4857(0x1b9)]=_0x3d2931,this[_0x1e4857(0x243)]=_0x50df90,this[_0x1e4857(0x1cc)]=_0x3cd91c,this[_0x1e4857(0x2d1)]=_0x5b3479,this[_0x1e4857(0x2f4)]());}[_0x2665b1(0x2f4)](){this['_initPanel'](),this['_openPanel']();}[_0x2665b1(0x1c5)](){const _0x38b132=_0x2665b1;if(this[_0x38b132(0x1b4)])return;const _0x50978a={'header':{'title':this['_localeService']['t'](_0x38b132(0x1b1))},'children':{'label':de},'onClose':()=>{const _0xa69c93=_0x38b132;this[_0xa69c93(0x1b4)]=null,this[_0xa69c93(0x2d1)][_0xa69c93(0x186)]=ne[_0xa69c93(0x1fd)];}};this[_0x38b132(0x1b4)]=this[_0x38b132(0x1b9)]['open']({..._0x50978a});}[_0x2665b1(0x224)](){const _0x5956be=_0x2665b1;this[_0x5956be(0x27c)](this[_0x5956be(0x243)]['register'](de,Ps)),this[_0x5956be(0x27c)](this[_0x5956be(0x1b9)][_0x5956be(0x198)][_0x5956be(0x219)](_0x5e7a6d(0x64))[_0x5956be(0x2b2)](_0x18b6df=>{const _0x477b76=_0x5956be,{target:_0x510f43}=_0x18b6df||{};if(_0x510f43){const {scrollTop:_0x47861a,scrollHeight:_0x475d1a,clientHeight:_0x33bcf8}=_0x510f43;_0x47861a+_0x33bcf8>=_0x475d1a-0x5&&this[_0x477b76(0x2d1)]['loadMoreVersions']();}}));}};j=xs([k(0x0,_0x23fa2b),k(0x1,_0x5ee257(_0x27241d)),k(0x2,_0x5ee257(_0x2f2cc3)),k(0x3,_0x5ee257(E))],j);class Us extends _0x4af2f5{constructor(){const _0x4f1fbf=_0x2665b1;super(),l(this,_0x4f1fbf(0x18b),new _0x9a62a4());}[_0x2665b1(0x1d3)](){return _0x5d27d3(()=>{});}[_0x2665b1(0x2ad)](){}[_0x2665b1(0x229)](_0x2a145f){}[_0x2665b1(0x26b)](){const _0xa2a3e9=_0x2665b1;return this['_dialogOptions$'][_0xa2a3e9(0x31c)]();}}var Hs=Object[_0x2665b1(0x28f)],Fs=Object['getOwnPropertyDescriptor'],Ys=(_0x608732,_0x3d0323,_0x3c92c7)=>_0x3d0323 in _0x608732?Hs(_0x608732,_0x3d0323,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3c92c7}):_0x608732[_0x3d0323]=_0x3c92c7,Bs=(_0x7614bb,_0x1c7260,_0x5ce463,_0x234c4f)=>{const _0x3bbb97=_0x2665b1;for(var _0x74469b=_0x234c4f>0x1?void 0x0:_0x234c4f?Fs(_0x1c7260,_0x5ce463):_0x1c7260,_0x48b0a7=_0x7614bb[_0x3bbb97(0x27a)]-0x1,_0x3d92b2;_0x48b0a7>=0x0;_0x48b0a7--)(_0x3d92b2=_0x7614bb[_0x48b0a7])&&(_0x74469b=_0x3d92b2(_0x74469b)||_0x74469b);return _0x74469b;},J=(_0x317621,_0x1fde09)=>(_0x423842,_0x4bdce5)=>_0x1fde09(_0x423842,_0x4bdce5,_0x317621),js=(_0x230bcf,_0x293e1b,_0x2be6a4)=>Ys(_0x230bcf,_0x293e1b+'',_0x2be6a4);const As=_0x2665b1(0x2fd);let se=class extends _0x12b8a6{constructor(_0x482b2d=_e,_0xb1157c,_0x29253a,_0x16069b){const _0x253f3a=_0x2665b1;super(),this[_0x253f3a(0x189)]=_0x482b2d,this[_0x253f3a(0x22f)]=_0xb1157c,this[_0x253f3a(0x23a)]=_0x29253a,this[_0x253f3a(0x31a)]=_0x16069b;const {..._0x5e45eb}=_0x195d4e({},_e,this[_0x253f3a(0x189)]);this[_0x253f3a(0x31a)][_0x253f3a(0x191)](we,_0x5e45eb);}[_0x2665b1(0x1f4)](){const _0x5eb2c6=_0x2665b1;[[E],[B],[$],[Y],[j],[H],[_0x26d129,{'useClass':_0x403b32}],[_0x347295,{'useClass':Us}],[_0x4bbca5,{'useClass':_0x318db9}]][_0x5eb2c6(0x2b1)](_0x476f47=>this[_0x5eb2c6(0x22f)][_0x5eb2c6(0x281)](_0x476f47)),this['_injector'][_0x5eb2c6(0x2a6)](B);}['onRendered'](){const _0xc8e678=_0x2665b1;[[te]][_0xc8e678(0x2b1)](_0x852ed3=>{const _0x42c06d=_0xc8e678;this[_0x42c06d(0x27c)](this['_renderManagerService'][_0x42c06d(0x208)](_0x47d77c[_0x42c06d(0x2de)],_0x852ed3));}),this[_0xc8e678(0x22f)][_0xc8e678(0x2a6)](H),this[_0xc8e678(0x22f)]['get'](j);}[_0x2665b1(0x23d)](){const _0x2ae2c0=_0x2665b1;this[_0x2ae2c0(0x22f)][_0x2ae2c0(0x2a6)]($);}};js(se,_0x2665b1(0x316),As),se=Bs([_0x4b4d48(_0x2c7009,_0x140e08),J(0x1,_0x5ee257(_0x5b3bb9)),J(0x2,_0x23ac12),J(0x3,_0x622ffd)],se);export{E as HistoryManagerService,ne as HistoryModeStatus,se as UniverEditHistoryViewerPlugin};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x5b93(_0x5f01d8,_0x3d875a){const _0x21a7ae=_0x21a7();return _0x5b93=function(_0x5b93b4,_0x1b133e){_0x5b93b4=_0x5b93b4-0x76;let _0x218d26=_0x21a7ae[_0x5b93b4];return _0x218d26;},_0x5b93(_0x5f01d8,_0x3d875a);}const _0x597866=_0x5b93;(function(_0x1d7740,_0x596ade){const _0x18647b=_0x5b93,_0x47d736=_0x1d7740();while(!![]){try{const _0x3035e2=-parseInt(_0x18647b(0x8b))/0x1*(-parseInt(_0x18647b(0x82))/0x2)+parseInt(_0x18647b(0x8f))/0x3+parseInt(_0x18647b(0x8c))/0x4+parseInt(_0x18647b(0x8a))/0x5+-parseInt(_0x18647b(0x7f))/0x6*(-parseInt(_0x18647b(0x81))/0x7)+-parseInt(_0x18647b(0x7d))/0x8*(parseInt(_0x18647b(0x90))/0x9)+-parseInt(_0x18647b(0x92))/0xa;if(_0x3035e2===_0x596ade)break;else _0x47d736['push'](_0x47d736['shift']());}catch(_0x37f4e4){_0x47d736['push'](_0x47d736['shift']());}}}(_0x21a7,0x677db));const e={'editHistory':{'panel':{'title':_0x597866(0x91),'unknownUser':_0x597866(0x96),'listFetchError':_0x597866(0x8e),'revertConfirm':'Restore\x20this\x20version?','revertConfirmText':_0x597866(0x7c),'cancel':'Cancel','confirm':_0x597866(0x80),'reverting':_0x597866(0x79),'revertFailed':_0x597866(0x88),'currentVersion':_0x597866(0x98),'currentUser':_0x597866(0x77),'revertDesc':_0x597866(0x7b)},'info':{'loading':_0x597866(0x95)},'header':{'back':_0x597866(0x94),'revert':_0x597866(0x7b)},'action':{'insertSheet':_0x597866(0x7a),'removeSheet':_0x597866(0x85),'createSheet':'created\x20workbook','setFilter':_0x597866(0x7e),'setFrozen':_0x597866(0x97),'editSheet':_0x597866(0x78),'revertSheet':_0x597866(0x84),'revertSheetPrefix':_0x597866(0x86),'revertSheetSuffix':'','setDV':_0x597866(0x93),'setCF':_0x597866(0x76),'addCF':_0x597866(0x83),'addProtection':_0x597866(0x8d),'addSparkline':_0x597866(0x87),'deleteProtection':'delete\x20protection','etc':_0x597866(0x89)}}};function _0x21a7(){const _0x48e0c7=['Back','loading,\x20please\x20wait...','Unknown\x20User','set\x20frozen','Current\x20Version','set\x20conditional\x20formatting','Current\x20User','edited\x20worksheet','Reverting,\x20please\x20wait...','inserted\x20worksheet','Restore\x20this\x20version','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','1170584ObbTkh','set\x20filter','19734UIGaFv','Confirm','1057HzRyyh','346pwPTrA','add\x20conditional\x20formatting','reverted\x20workbook','deleted\x20worksheet','Reverted\x20from','add\x20sparkline','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result',',\x20etc.','142920uPtMCT','3165QeyBEm','1676568qAPCgA','add\x20protection','Failed\x20to\x20get\x20edit\x20history\x20list','434124PAtSNr','18EZFCWk','Edit\x20History','9200730aTFhnE','set\x20data\x20validation'];_0x21a7=function(){return _0x48e0c7;};return _0x21a7();}export{e as default};
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x5998(_0x1872d0,_0x4edbc8){const _0x2df315=_0x2df3();return _0x5998=function(_0x599825,_0x17fd10){_0x599825=_0x599825-0x184;let _0x269f78=_0x2df315[_0x599825];return _0x269f78;},_0x5998(_0x1872d0,_0x4edbc8);}function _0x2df3(){const _0x2bbe4d=['خطای\x20ناشناخته،\x20لطفا\x20صفحه\x20را\x20بارگذاری\x20مجدد\x20کنید\x20تا\x20نتیجه\x20بازگردانی\x20را\x20مشاهده\x20کنید','دریافت\x20لیست\x20تاریخچه\x20ویرایش\x20ناموفق\x20بود','4196472oMAfCy','،\x20و\x20غیره','این\x20نسخه\x20را\x20بازگردانی\x20کنید؟','افزودن\x20نمودار\x20کوچک','126978QmGiOd','بازگردانی\x20از','بازگردانی\x20این\x20نسخه','1098CaqDGB','8622516qLcQxo','تنظیم\x20اعتبار\x20سنجی\x20داده','افزودن\x20حفاظت','بازگشت','3292372yrOkXP','کاربر\x20فعلی','لغو','715422IJDIXq','ورق\x20کاری\x20حذف\x20شده','تاریخچه\x20ویرایش','120770fGxVHy','ورق\x20کاری\x20ویرایش\x20شده','حذف\x20حفاظت','تنظیم\x20قالب\x20بندی\x20شرطی','40FBRqum','کاربر\x20ناشناخته','8HCyLfE','نسخه\x20فعلی','ورق\x20کاری\x20ایجاد\x20شده','3535479OSekJz','افزودن\x20قالب\x20بندی\x20شرطی','این\x20سند\x20به\x20نسخه\x20انتخاب\x20شده\x20بازگردانده\x20خواهد\x20شد','تنظیم\x20منجمد','ورق\x20کاری\x20بازگردانی\x20شده'];_0x2df3=function(){return _0x2bbe4d;};return _0x2df3();}const _0x314e3e=_0x5998;(function(_0x282135,_0x196ea3){const _0x4d1cf1=_0x5998,_0x421c8b=_0x282135();while(!![]){try{const _0x339a32=parseInt(_0x4d1cf1(0x1a3))/0x1*(parseInt(_0x4d1cf1(0x195))/0x2)+-parseInt(_0x4d1cf1(0x198))/0x3+-parseInt(_0x4d1cf1(0x189))/0x4+parseInt(_0x4d1cf1(0x193))/0x5*(-parseInt(_0x4d1cf1(0x18c))/0x6)+parseInt(_0x4d1cf1(0x185))/0x7+parseInt(_0x4d1cf1(0x19f))/0x8+-parseInt(_0x4d1cf1(0x184))/0x9*(-parseInt(_0x4d1cf1(0x18f))/0xa);if(_0x339a32===_0x196ea3)break;else _0x421c8b['push'](_0x421c8b['shift']());}catch(_0xfc6495){_0x421c8b['push'](_0x421c8b['shift']());}}}(_0x2df3,0xbef5b));const e={'editHistory':{'panel':{'title':_0x314e3e(0x18e),'unknownUser':_0x314e3e(0x194),'listFetchError':_0x314e3e(0x19e),'revertConfirm':_0x314e3e(0x1a1),'revertConfirmText':_0x314e3e(0x19a),'cancel':_0x314e3e(0x18b),'confirm':'تایید','reverting':'در\x20حال\x20بازگردانی،\x20لطفا\x20صبر\x20کنید...','revertFailed':_0x314e3e(0x19d),'currentVersion':_0x314e3e(0x196),'currentUser':_0x314e3e(0x18a),'revertDesc':_0x314e3e(0x1a5)},'info':{'loading':'در\x20حال\x20بارگذاری،\x20لطفا\x20صبر\x20کنید...'},'header':{'back':_0x314e3e(0x188),'revert':_0x314e3e(0x1a5)},'action':{'insertSheet':'ورق\x20کاری\x20اضافه\x20شده','removeSheet':_0x314e3e(0x18d),'createSheet':_0x314e3e(0x197),'setFilter':'تنظیم\x20فیلتر','setFrozen':_0x314e3e(0x19b),'editSheet':_0x314e3e(0x190),'revertSheet':_0x314e3e(0x19c),'revertSheetPrefix':_0x314e3e(0x1a4),'revertSheetSuffix':'','setDV':_0x314e3e(0x186),'setCF':_0x314e3e(0x192),'addCF':_0x314e3e(0x199),'addProtection':_0x314e3e(0x187),'addSparkline':_0x314e3e(0x1a2),'deleteProtection':_0x314e3e(0x191),'etc':_0x314e3e(0x1a0)}}};export{e as default};
|