@univerjs-pro/edit-history-viewer 0.12.1 → 0.12.2-nightly.202511241159
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/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.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/ja-JP.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/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.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/ja-JP.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/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.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/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.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/ja-JP.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 +17 -17
package/lib/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x3807ee=_0xb68a;function _0xb68a(_0x488533,_0x384fd0){const _0x1e5364=_0x1e53();return _0xb68a=function(_0xb68a6d,_0x39f8c){_0xb68a6d=_0xb68a6d-0x15e;let _0x960d87=_0x1e5364[_0xb68a6d];return _0x960d87;},_0xb68a(_0x488533,_0x384fd0);}function _0x1e53(){const _0x37084d=['712BafCus','inserted\x20worksheet','2015gChEeT','created\x20workbook','Back','1294124PXGkzj','3RCPFXv','84hbeYNL','12926576JFRCpL','set\x20filter','add\x20protection','set\x20frozen','Cancel','set\x20conditional\x20formatting','9121IqSdyO','9ufLIyK','Failed\x20to\x20get\x20edit\x20history\x20list','347160wskMtI','28895LekOko','Reverting,\x20please\x20wait...','1023850iglRKR','Edit\x20History','delete\x20protection','Reverted\x20from','Confirm','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','Restore\x20this\x20version','122gVSrTs','33vovUXN','add\x20sparkline','Current\x20User','Current\x20Version','loading,\x20please\x20wait...','set\x20data\x20validation','add\x20conditional\x20formatting'];_0x1e53=function(){return _0x37084d;};return _0x1e53();}(function(_0x5ba860,_0x2cfeac){const _0x1fe57f=_0xb68a,_0x45b9dd=_0x5ba860();while(!![]){try{const _0x39de99=-parseInt(_0x1fe57f(0x170))/0x1*(parseInt(_0x1fe57f(0x166))/0x2)+parseInt(_0x1fe57f(0x174))/0x3*(-parseInt(_0x1fe57f(0x173))/0x4)+parseInt(_0x1fe57f(0x180))/0x5*(-parseInt(_0x1fe57f(0x175))/0x6)+parseInt(_0x1fe57f(0x17c))/0x7*(-parseInt(_0x1fe57f(0x16e))/0x8)+-parseInt(_0x1fe57f(0x17d))/0x9*(parseInt(_0x1fe57f(0x15f))/0xa)+-parseInt(_0x1fe57f(0x167))/0xb*(parseInt(_0x1fe57f(0x17f))/0xc)+parseInt(_0x1fe57f(0x176))/0xd;if(_0x39de99===_0x2cfeac)break;else _0x45b9dd['push'](_0x45b9dd['shift']());}catch(_0x3c2942){_0x45b9dd['push'](_0x45b9dd['shift']());}}}(_0x1e53,0x27842));const e={'editHistory':{'panel':{'title':_0x3807ee(0x160),'unknownUser':'Unknown\x20User','listFetchError':_0x3807ee(0x17e),'revertConfirm':'Restore\x20this\x20version?','revertConfirmText':'This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','cancel':_0x3807ee(0x17a),'confirm':_0x3807ee(0x163),'reverting':_0x3807ee(0x15e),'revertFailed':_0x3807ee(0x164),'currentVersion':_0x3807ee(0x16a),'currentUser':_0x3807ee(0x169),'revertDesc':'Restore\x20this\x20version'},'info':{'loading':_0x3807ee(0x16b)},'header':{'back':_0x3807ee(0x172),'revert':_0x3807ee(0x165)},'action':{'insertSheet':_0x3807ee(0x16f),'removeSheet':'deleted\x20worksheet','createSheet':_0x3807ee(0x171),'setFilter':_0x3807ee(0x177),'setFrozen':_0x3807ee(0x179),'editSheet':'edited\x20worksheet','revertSheet':'reverted\x20workbook','revertSheetPrefix':_0x3807ee(0x162),'revertSheetSuffix':'','setDV':_0x3807ee(0x16c),'setCF':_0x3807ee(0x17b),'addCF':_0x3807ee(0x16d),'addProtection':_0x3807ee(0x178),'addSparkline':_0x3807ee(0x168),'deleteProtection':_0x3807ee(0x161),'etc':',\x20etc.'}}},t=e;export{t as default};
|
package/lib/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x1b80(_0x4011c7,_0x2e6fda){const _0x2b1b1a=_0x2b1b();return _0x1b80=function(_0x1b80ee,_0x30150a){_0x1b80ee=_0x1b80ee-0x1ee;let _0x588de4=_0x2b1b1a[_0x1b80ee];return _0x588de4;},_0x1b80(_0x4011c7,_0x2e6fda);}const _0xd07715=_0x1b80;(function(_0x580a54,_0x5962cf){const _0x235221=_0x1b80,_0x54ebc4=_0x580a54();while(!![]){try{const _0x110e42=-parseInt(_0x235221(0x1f3))/0x1+parseInt(_0x235221(0x20e))/0x2*(-parseInt(_0x235221(0x20c))/0x3)+-parseInt(_0x235221(0x201))/0x4*(parseInt(_0x235221(0x209))/0x5)+parseInt(_0x235221(0x1f5))/0x6*(parseInt(_0x235221(0x1ff))/0x7)+-parseInt(_0x235221(0x204))/0x8*(parseInt(_0x235221(0x1f0))/0x9)+parseInt(_0x235221(0x210))/0xa*(parseInt(_0x235221(0x207))/0xb)+parseInt(_0x235221(0x1fc))/0xc*(-parseInt(_0x235221(0x206))/0xd);if(_0x110e42===_0x5962cf)break;else _0x54ebc4['push'](_0x54ebc4['shift']());}catch(_0x24b2e7){_0x54ebc4['push'](_0x54ebc4['shift']());}}}(_0x2b1b,0x3bddf));function _0x2b1b(){const _0x4365b1=['1000233yKXtqk','5037857RGbdHt','add\x20conditional\x20formatting','5ezCaTn','created\x20workbook','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','3haemQZ','Edit\x20History','480820FlpKSB','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','10cZjBFC','Current\x20Version','Failed\x20to\x20get\x20edit\x20history\x20list','9hwYysu','Confirm','Current\x20User','56187MvUfvy','Unknown\x20User','6UhpuAa','set\x20data\x20validation','set\x20frozen','Reverting,\x20please\x20wait...','Cancel','Restore\x20this\x20version?',',\x20etc.','24EaDnQz','Reverted\x20from','Back','2652433fbyjkY','Restore\x20this\x20version','237596zqxIwO','delete\x20protection','add\x20sparkline','654504xRCJuP','set\x20filter'];_0x2b1b=function(){return _0x4365b1;};return _0x2b1b();}const e={'editHistory':{'panel':{'title':_0xd07715(0x20d),'unknownUser':_0xd07715(0x1f4),'listFetchError':_0xd07715(0x1ef),'revertConfirm':_0xd07715(0x1fa),'revertConfirmText':_0xd07715(0x20b),'cancel':_0xd07715(0x1f9),'confirm':_0xd07715(0x1f1),'reverting':_0xd07715(0x1f8),'revertFailed':_0xd07715(0x20f),'currentVersion':_0xd07715(0x1ee),'currentUser':_0xd07715(0x1f2),'revertDesc':_0xd07715(0x200)},'info':{'loading':'loading,\x20please\x20wait...'},'header':{'back':_0xd07715(0x1fe),'revert':_0xd07715(0x200)},'action':{'insertSheet':'inserted\x20worksheet','removeSheet':'deleted\x20worksheet','createSheet':_0xd07715(0x20a),'setFilter':_0xd07715(0x205),'setFrozen':_0xd07715(0x1f7),'editSheet':'edited\x20worksheet','revertSheet':'reverted\x20workbook','revertSheetPrefix':_0xd07715(0x1fd),'revertSheetSuffix':'','setDV':_0xd07715(0x1f6),'setCF':'set\x20conditional\x20formatting','addCF':_0xd07715(0x208),'addProtection':'add\x20protection','addSparkline':_0xd07715(0x203),'deleteProtection':_0xd07715(0x202),'etc':_0xd07715(0x1fb)}}},t=e;export{t as default};
|
package/lib/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x270665=_0x2cad;(function(_0x4ea546,_0x18e6f8){const _0x21b65a=_0x2cad,_0x2dbbc2=_0x4ea546();while(!![]){try{const _0x48ee58=parseInt(_0x21b65a(0x6f))/0x1+-parseInt(_0x21b65a(0x83))/0x2*(parseInt(_0x21b65a(0x73))/0x3)+-parseInt(_0x21b65a(0x82))/0x4+parseInt(_0x21b65a(0x88))/0x5+parseInt(_0x21b65a(0x74))/0x6*(-parseInt(_0x21b65a(0x77))/0x7)+-parseInt(_0x21b65a(0x78))/0x8*(parseInt(_0x21b65a(0x7f))/0x9)+-parseInt(_0x21b65a(0x89))/0xa*(-parseInt(_0x21b65a(0x8f))/0xb);if(_0x48ee58===_0x18e6f8)break;else _0x2dbbc2['push'](_0x2dbbc2['shift']());}catch(_0x16a4bc){_0x2dbbc2['push'](_0x2dbbc2['shift']());}}}(_0x7763,0x85bef));const e={'editHistory':{'panel':{'title':_0x270665(0x8d),'unknownUser':_0x270665(0x86),'listFetchError':_0x270665(0x80),'revertConfirm':_0x270665(0x7c),'revertConfirmText':_0x270665(0x76),'cancel':_0x270665(0x81),'confirm':_0x270665(0x71),'reverting':_0x270665(0x8a),'revertFailed':_0x270665(0x7e),'currentVersion':'Current\x20Version','currentUser':_0x270665(0x70),'revertDesc':_0x270665(0x79)},'info':{'loading':_0x270665(0x7a)},'header':{'back':'Back','revert':_0x270665(0x79)},'action':{'insertSheet':_0x270665(0x8c),'removeSheet':_0x270665(0x75),'createSheet':_0x270665(0x72),'setFilter':_0x270665(0x8b),'setFrozen':_0x270665(0x90),'editSheet':_0x270665(0x84),'revertSheet':_0x270665(0x7b),'revertSheetPrefix':_0x270665(0x8e),'revertSheetSuffix':'','setDV':_0x270665(0x87),'setCF':_0x270665(0x91),'addCF':'add\x20conditional\x20formatting','addProtection':'add\x20protection','addSparkline':_0x270665(0x85),'deleteProtection':_0x270665(0x7d),'etc':',\x20etc.'}}},t=e;function _0x7763(){const _0x4c6001=['edited\x20worksheet','add\x20sparkline','Unknown\x20User','set\x20data\x20validation','433255MWmyRU','60YsiybA','Reverting,\x20please\x20wait...','set\x20filter','inserted\x20worksheet','Edit\x20History','Reverted\x20from','3694229KzdZyG','set\x20frozen','set\x20conditional\x20formatting','1090848ZWBgul','Current\x20User','Confirm','created\x20workbook','280551GkBKUw','252198nNenOX','deleted\x20worksheet','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','98RLZrsr','1408632NskQKF','Restore\x20this\x20version','loading,\x20please\x20wait...','reverted\x20workbook','Restore\x20this\x20version?','delete\x20protection','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','54lqjmzG','Failed\x20to\x20get\x20edit\x20history\x20list','Cancel','3250960AYOMXI','4qEtVUy'];_0x7763=function(){return _0x4c6001;};return _0x7763();}function _0x2cad(_0x46c59a,_0x701759){const _0x77631e=_0x7763();return _0x2cad=function(_0x2cad60,_0x485e08){_0x2cad60=_0x2cad60-0x6f;let _0x40ee4e=_0x77631e[_0x2cad60];return _0x40ee4e;},_0x2cad(_0x46c59a,_0x701759);}export{t as default};
|
package/lib/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x2e5b96=_0x231f;function _0x231f(_0x16ad75,_0x24b140){const _0x53f54b=_0x53f5();return _0x231f=function(_0x231fc1,_0x4a5913){_0x231fc1=_0x231fc1-0x12a;let _0x434b30=_0x53f54b[_0x231fc1];return _0x434b30;},_0x231f(_0x16ad75,_0x24b140);}(function(_0x5b38de,_0x43efbe){const _0x530707=_0x231f,_0x2d1f44=_0x5b38de();while(!![]){try{const _0x27f0e1=-parseInt(_0x530707(0x13d))/0x1+parseInt(_0x530707(0x12c))/0x2+-parseInt(_0x530707(0x131))/0x3+parseInt(_0x530707(0x12e))/0x4*(-parseInt(_0x530707(0x141))/0x5)+-parseInt(_0x530707(0x12a))/0x6+parseInt(_0x530707(0x13a))/0x7*(-parseInt(_0x530707(0x139))/0x8)+parseInt(_0x530707(0x13b))/0x9;if(_0x27f0e1===_0x43efbe)break;else _0x2d1f44['push'](_0x2d1f44['shift']());}catch(_0x582093){_0x2d1f44['push'](_0x2d1f44['shift']());}}}(_0x53f5,0x672dd));function _0x53f5(){const _0x3d6506=['编辑了工作表','插入了工作表','16DSHlcX','2829953uiIAQc','22995144nUSBDx','设置了数据验证','138113CXPrMK','历史记录','添加了条件格式','未知用户','5WpPLcI','获取编辑历史记录列表失败','删除了工作表','该文档将会被还原到选中版本','当前版本','移除了保护范围','设置了条件格式','4271310yJGFdY','正在还原,请稍等...','236900AzIkop','未知错误,请刷新页面查看还原结果','24316rdcPqi','的版本','还原到此版本?','1758630YpAGZC','还原了','还原到此版本','还原了版本','添加了迷你图','创建了工作表'];_0x53f5=function(){return _0x3d6506;};return _0x53f5();}const e={'editHistory':{'panel':{'title':_0x2e5b96(0x13e),'unknownUser':_0x2e5b96(0x140),'listFetchError':_0x2e5b96(0x142),'revertConfirm':_0x2e5b96(0x130),'revertConfirmText':_0x2e5b96(0x144),'cancel':'取消','confirm':'确认','reverting':_0x2e5b96(0x12b),'revertFailed':_0x2e5b96(0x12d),'currentVersion':_0x2e5b96(0x145),'currentUser':'当前用户','revertDesc':_0x2e5b96(0x133)},'info':{'loading':'加载中,请稍等...'},'header':{'back':'返回','revert':'还原到此版本'},'action':{'insertSheet':_0x2e5b96(0x138),'removeSheet':_0x2e5b96(0x143),'createSheet':_0x2e5b96(0x136),'setFilter':'设置了筛选','setFrozen':'冻结了工作表','editSheet':_0x2e5b96(0x137),'revertSheet':_0x2e5b96(0x134),'revertSheetPrefix':_0x2e5b96(0x132),'revertSheetSuffix':_0x2e5b96(0x12f),'setDV':_0x2e5b96(0x13c),'setCF':_0x2e5b96(0x147),'addCF':_0x2e5b96(0x13f),'addProtection':'添加了保护范围','addSparkline':_0x2e5b96(0x135),'deleteProtection':_0x2e5b96(0x146),'etc':',等'}}};export{e as default};
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x19b13b=_0x2e86;(function(_0x7d4359,_0x5a53b7){const _0x3dae05=_0x2e86,_0xefd30c=_0x7d4359();while(!![]){try{const _0x160fc5=parseInt(_0x3dae05(0xa7))/0x1*(-parseInt(_0x3dae05(0x8f))/0x2)+parseInt(_0x3dae05(0x91))/0x3*(-parseInt(_0x3dae05(0x97))/0x4)+parseInt(_0x3dae05(0xaa))/0x5*(parseInt(_0x3dae05(0x90))/0x6)+-parseInt(_0x3dae05(0x92))/0x7*(parseInt(_0x3dae05(0x98))/0x8)+parseInt(_0x3dae05(0xa0))/0x9*(-parseInt(_0x3dae05(0x89))/0xa)+parseInt(_0x3dae05(0xa5))/0xb+parseInt(_0x3dae05(0xad))/0xc;if(_0x160fc5===_0x5a53b7)break;else _0xefd30c['push'](_0xefd30c['shift']());}catch(_0x16a3f3){_0xefd30c['push'](_0xefd30c['shift']());}}}(_0x5430,0x50625));const e={'editHistory':{'panel':{'title':_0x19b13b(0x8a),'unknownUser':_0x19b13b(0xac),'listFetchError':_0x19b13b(0xa3),'revertConfirm':_0x19b13b(0x8c),'revertConfirmText':_0x19b13b(0x94),'cancel':_0x19b13b(0x9a),'confirm':_0x19b13b(0xa4),'reverting':_0x19b13b(0xa1),'revertFailed':_0x19b13b(0xa9),'currentVersion':_0x19b13b(0x9c),'currentUser':_0x19b13b(0x9e),'revertDesc':_0x19b13b(0x8d)},'info':{'loading':_0x19b13b(0x88)},'header':{'back':_0x19b13b(0x8b),'revert':_0x19b13b(0x8d)},'action':{'insertSheet':_0x19b13b(0xab),'removeSheet':_0x19b13b(0xa6),'createSheet':_0x19b13b(0x96),'setFilter':'set\x20filter','setFrozen':'set\x20frozen','editSheet':_0x19b13b(0x8e),'revertSheet':_0x19b13b(0x9b),'revertSheetPrefix':_0x19b13b(0xa8),'revertSheetSuffix':'','setDV':_0x19b13b(0x93),'setCF':_0x19b13b(0x95),'addCF':_0x19b13b(0x9f),'addProtection':_0x19b13b(0x99),'addSparkline':'add\x20sparkline','deleteProtection':_0x19b13b(0xa2),'etc':_0x19b13b(0x9d)}}},t=e;function _0x5430(){const _0x423456=['Restore\x20this\x20version','edited\x20worksheet','616298ilpNjL','6MGZXsR','1131lQfUlT','364otdwmy','set\x20data\x20validation','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','set\x20conditional\x20formatting','created\x20workbook','2292YfeYha','71368dgQTvb','add\x20protection','Cancel','reverted\x20workbook','Current\x20Version',',\x20etc.','Current\x20User','add\x20conditional\x20formatting','15813hFlhOt','Reverting,\x20please\x20wait...','delete\x20protection','Failed\x20to\x20get\x20edit\x20history\x20list','Confirm','718971rkiLPh','deleted\x20worksheet','2uitTzz','Reverted\x20from','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','2249885KynwfA','inserted\x20worksheet','Unknown\x20User','20131644pqJHsB','loading,\x20please\x20wait...','3230qKbDkr','Edit\x20History','Back','Restore\x20this\x20version?'];_0x5430=function(){return _0x423456;};return _0x5430();}function _0x2e86(_0x21fdb8,_0x33b826){const _0x543022=_0x5430();return _0x2e86=function(_0x2e862f,_0xb10504){_0x2e862f=_0x2e862f-0x88;let _0x50445b=_0x543022[_0x2e862f];return _0x50445b;},_0x2e86(_0x21fdb8,_0x33b826);}export{t as default};
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x331c(_0x19c97b,_0xd58f68){const _0x5804ed=_0x5804();return _0x331c=function(_0x331c03,_0x2112f9){_0x331c03=_0x331c03-0xce;let _0x374134=_0x5804ed[_0x331c03];return _0x374134;},_0x331c(_0x19c97b,_0xd58f68);}(function(_0x364814,_0x19d4fd){const _0x235259=_0x331c,_0x24edd1=_0x364814();while(!![]){try{const _0x3d5c8c=-parseInt(_0x235259(0x224))/0x1+-parseInt(_0x235259(0x263))/0x2*(parseInt(_0x235259(0xe4))/0x3)+-parseInt(_0x235259(0x103))/0x4+-parseInt(_0x235259(0x214))/0x5*(parseInt(_0x235259(0x20f))/0x6)+parseInt(_0x235259(0x11f))/0x7*(parseInt(_0x235259(0x1c1))/0x8)+parseInt(_0x235259(0x165))/0x9+parseInt(_0x235259(0x216))/0xa;if(_0x3d5c8c===_0x19d4fd)break;else _0x24edd1['push'](_0x24edd1['shift']());}catch(_0x7b13c5){_0x24edd1['push'](_0x24edd1['shift']());}}}(_0x5804,0x2dcc2),function(_0x182770,_0x3d5348){const _0x2bd23a=_0x331c;typeof exports=='object'&&typeof module<'u'?_0x3d5348(exports,require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/drawing'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/sheets-ui'),require('@univerjs/ui'),require('@univerjs/design'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs/data-validation'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-filter'),require('react/jsx-runtime'),require('react'),require('@univerjs-pro/collaboration-client-ui')):typeof define==_0x2bd23a(0x25a)&&define[_0x2bd23a(0xd2)]?define([_0x2bd23a(0x275),_0x2bd23a(0x151),_0x2bd23a(0x226),_0x2bd23a(0x2bb),_0x2bd23a(0x2ef),_0x2bd23a(0x117),'@univerjs/network','@univerjs/sheets-ui',_0x2bd23a(0x2e4),_0x2bd23a(0x1a1),_0x2bd23a(0x22a),'rxjs',_0x2bd23a(0x262),'@univerjs/data-validation',_0x2bd23a(0x284),_0x2bd23a(0x125),_0x2bd23a(0x153),'react',_0x2bd23a(0x2d2)],_0x3d5348):(_0x182770=typeof globalThis<'u'?globalThis:_0x182770||self,_0x3d5348(_0x182770[_0x2bd23a(0x202)]={},_0x182770[_0x2bd23a(0x2cc)],_0x182770['UniverProCollaborationClient'],_0x182770[_0x2bd23a(0x2ea)],_0x182770[_0x2bd23a(0x1d7)],_0x182770[_0x2bd23a(0x1e7)],_0x182770[_0x2bd23a(0x175)],_0x182770[_0x2bd23a(0x2d9)],_0x182770[_0x2bd23a(0x28a)],_0x182770['UniverDesign'],_0x182770[_0x2bd23a(0x210)],_0x182770[_0x2bd23a(0x115)],_0x182770[_0x2bd23a(0x16a)],_0x182770[_0x2bd23a(0x2fc)],_0x182770[_0x2bd23a(0x1b1)],_0x182770[_0x2bd23a(0x242)],_0x182770['React'],_0x182770['React'],_0x182770[_0x2bd23a(0x186)]));}(this,function(_0x2afb7b,_0x4658e3,_0x4342ff,_0x287239,_0x21904a,_0x185f7f,_0x2b0737,_0xf33c3,_0x1f9fca,_0x407bc3,_0x56ed82,_0x493d52,_0xd45be1,_0x346063,_0xed2ba5,_0x2fa927,_0x5118a6,_0x5cef4f,_0x50e0f0){'use strict';const _0x149b74=_0x331c;var _0x232177=Object[_0x149b74(0x2ad)],_0xc63a65=(_0x16a13a,_0x4955a0,_0x3d1b23)=>_0x4955a0 in _0x16a13a?_0x232177(_0x16a13a,_0x4955a0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3d1b23}):_0x16a13a[_0x4955a0]=_0x3d1b23,_0x217380=(_0x51c253,_0x1ba736,_0x28b556)=>_0xc63a65(_0x51c253,typeof _0x1ba736!=_0x149b74(0x1be)?_0x1ba736+'':_0x1ba736,_0x28b556);const _0x18ecfb='edit-history-viewer.config',_0x3b2a13={};var _0x46fd51=Object[_0x149b74(0x1c2)],_0xc566bb=(_0x47fde1,_0x1b388d,_0xad9083,_0x4c679a)=>{const _0x42866c=_0x149b74;for(var _0x42168b=_0x4c679a>0x1?void 0x0:_0x4c679a?_0x46fd51(_0x1b388d,_0xad9083):_0x1b388d,_0xae6423=_0x47fde1[_0x42866c(0x121)]-0x1,_0x272283;_0xae6423>=0x0;_0xae6423--)(_0x272283=_0x47fde1[_0xae6423])&&(_0x42168b=_0x272283(_0x42168b)||_0x42168b);return _0x42168b;},_0x85169e=(_0x2ed628,_0x1457cc)=>(_0x138b21,_0x504369)=>_0x1457cc(_0x138b21,_0x504369,_0x2ed628);let _0x6a9a62=class extends _0x287239[_0x149b74(0x23e)]{constructor(_0x1dc291){super(),this['_cellEditorManagerService']=_0x1dc291,this['_init']();}[_0x149b74(0x1b4)](){const _0xb3c63b=_0x149b74;this[_0xb3c63b(0x17c)](this['_cellEditorManagerService'][_0xb3c63b(0xd0)][_0xb3c63b(0x2a3)](_0x37790a=>{const _0x3c2ebc=_0xb3c63b;_0x37790a!=null&&_0x37790a[_0x3c2ebc(0x252)]&&this['_cellEditorManagerService'][_0x3c2ebc(0x14b)]({'show':!0x1});}));}};_0x6a9a62=_0xc566bb([_0x85169e(0x0,_0xf33c3[_0x149b74(0x14a)])],_0x6a9a62);var _0x403561=(_0xf698f8=>(_0xf698f8[_0xf698f8[_0x149b74(0x29b)]=0x0]='UNDEFINED',_0xf698f8[_0xf698f8['OK']=0x1]='OK',_0xf698f8[_0xf698f8[_0x149b74(0x278)]=0x2]='INTERNAL_ERROR',_0xf698f8[_0xf698f8['PERMISSION_DENIED']=0x3]=_0x149b74(0x251),_0xf698f8[_0xf698f8[_0x149b74(0x1fc)]=0x4]=_0x149b74(0x1fc),_0xf698f8[_0xf698f8['UNAUTHENTICATED']=0x5]=_0x149b74(0x194),_0xf698f8[_0xf698f8[_0x149b74(0x29e)]=0x6]=_0x149b74(0x29e),_0xf698f8[_0xf698f8['INVALID_ARGUMENT']=0x7]=_0x149b74(0x1e4),_0xf698f8[_0xf698f8[_0x149b74(0x152)]=0x8]=_0x149b74(0x152),_0xf698f8[_0xf698f8['COMPLETION_FINISHED']=0x9]=_0x149b74(0x24b),_0xf698f8[_0xf698f8[_0x149b74(0x12a)]=0xa]=_0x149b74(0x12a),_0xf698f8[_0xf698f8['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x149b74(0x273),_0xf698f8[_0xf698f8['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x149b74(0x24c),_0xf698f8[_0xf698f8[_0x149b74(0x280)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0xf698f8[_0xf698f8[_0x149b74(0x2d6)]=0xe]=_0x149b74(0x2d6),_0xf698f8[_0xf698f8[_0x149b74(0x1b6)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0xf698f8[_0xf698f8['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x149b74(0x1f6),_0xf698f8[_0xf698f8[_0x149b74(0x2c5)]=0x64]=_0x149b74(0x2c5),_0xf698f8[_0xf698f8[_0x149b74(0x178)]=0x65]=_0x149b74(0x178),_0xf698f8[_0xf698f8[_0x149b74(0xfb)]=0xc9]=_0x149b74(0xfb),_0xf698f8[_0xf698f8[_0x149b74(0x21a)]=0xca]=_0x149b74(0x21a),_0xf698f8[_0xf698f8[_0x149b74(0x1a3)]=0x1389]=_0x149b74(0x1a3),_0xf698f8[_0xf698f8[_0x149b74(0xe3)]=0x1771]=_0x149b74(0xe3),_0xf698f8[_0xf698f8[_0x149b74(0x2c2)]=0x1772]=_0x149b74(0x2c2),_0xf698f8[_0xf698f8[_0x149b74(0x28c)]=0x1773]=_0x149b74(0x28c),_0xf698f8[_0xf698f8['APPLY_REJECT']=0x1b59]=_0x149b74(0x254),_0xf698f8[_0xf698f8['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0xf698f8[_0xf698f8[_0x149b74(0x169)]=0x1b5b]=_0x149b74(0x169),_0xf698f8[_0xf698f8['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0xf698f8[_0xf698f8[_0x149b74(0x173)]=0x1b5d]=_0x149b74(0x173),_0xf698f8[_0xf698f8[_0x149b74(0xee)]=0x1f41]=_0x149b74(0xee),_0xf698f8[_0xf698f8['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x149b74(0x1f2),_0xf698f8[_0xf698f8[_0x149b74(0x25e)]=0x232a]=_0x149b74(0x25e),_0xf698f8[_0xf698f8['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0xf698f8[_0xf698f8[_0x149b74(0x1c0)]=0x232c]=_0x149b74(0x1c0),_0xf698f8[_0xf698f8[_0x149b74(0x196)]=0x232d]=_0x149b74(0x196),_0xf698f8[_0xf698f8['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0xf698f8[_0xf698f8[_0x149b74(0x144)]=0x2712]=_0x149b74(0x144),_0xf698f8[_0xf698f8['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0xf698f8[_0xf698f8['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x149b74(0x250),_0xf698f8[_0xf698f8['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x149b74(0x15a),_0xf698f8[_0xf698f8[_0x149b74(0x2f0)]=0x271b]=_0x149b74(0x2f0),_0xf698f8[_0xf698f8[_0x149b74(0x2d7)]=0x271c]=_0x149b74(0x2d7),_0xf698f8[_0xf698f8[_0x149b74(0x24d)]=0x271d]=_0x149b74(0x24d),_0xf698f8[_0xf698f8[_0x149b74(0x290)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0xf698f8[_0xf698f8['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0xf698f8[_0xf698f8['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x149b74(0x221),_0xf698f8[_0xf698f8[_0x149b74(0x1d2)]=0x2af9]=_0x149b74(0x1d2),_0xf698f8[_0xf698f8[_0x149b74(0x28b)]=0x2ee1]=_0x149b74(0x28b),_0xf698f8[_0xf698f8[_0x149b74(0xe6)]=0x2ee2]=_0x149b74(0xe6),_0xf698f8[_0xf698f8['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0xf698f8[_0xf698f8['USER_NOT_INVITED_CODE']=0x2ee4]=_0x149b74(0x2ed),_0xf698f8[_0xf698f8['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x149b74(0xf6),_0xf698f8[_0xf698f8[_0x149b74(0x11e)]=0x32c9]=_0x149b74(0x11e),_0xf698f8[_0xf698f8[_0x149b74(0x23a)]=0x32ca]=_0x149b74(0x23a),_0xf698f8[_0xf698f8['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x149b74(0x113),_0xf698f8[_0xf698f8[_0x149b74(0x220)]=0x36b1]=_0x149b74(0x220),_0xf698f8[_0xf698f8[_0x149b74(0x174)]=0x36b2]=_0x149b74(0x174),_0xf698f8[_0xf698f8['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0xf698f8[_0xf698f8['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x149b74(0x114),_0xf698f8[_0xf698f8[_0x149b74(0x1aa)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0xf698f8[_0xf698f8[_0x149b74(0x213)]=0x3716]=_0x149b74(0x213),_0xf698f8[_0xf698f8[_0x149b74(0x245)]=0x3717]=_0x149b74(0x245),_0xf698f8[_0xf698f8[_0x149b74(0x2be)]=0x37dd]=_0x149b74(0x2be),_0xf698f8[_0xf698f8[_0x149b74(0x26e)]=0x3a99]='REDEMPTION_INVALID_CODE',_0xf698f8[_0xf698f8[_0x149b74(0x16e)]=0x3a9a]=_0x149b74(0x16e),_0xf698f8[_0xf698f8[_0x149b74(0x225)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0xf698f8[_0xf698f8[_0x149b74(0x18c)]=0x3a9c]=_0x149b74(0x18c),_0xf698f8[_0xf698f8[_0x149b74(0x2d5)]=0x3a9d]=_0x149b74(0x2d5),_0xf698f8[_0xf698f8[_0x149b74(0x255)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0xf698f8[_0xf698f8[_0x149b74(0xf7)]=0x3a9f]=_0x149b74(0xf7),_0xf698f8[_0xf698f8[_0x149b74(0x1a8)]=0x3e81]=_0x149b74(0x1a8),_0xf698f8[_0xf698f8[_0x149b74(0x104)]=-0x1]=_0x149b74(0x104),_0xf698f8))(_0x403561||{}),_0x24bec5=(_0x42e60e=>(_0x42e60e[_0x42e60e['UNIVER_UNKNOWN']=0x0]=_0x149b74(0x21b),_0x42e60e[_0x42e60e[_0x149b74(0xf3)]=0x1]=_0x149b74(0xf3),_0x42e60e[_0x42e60e[_0x149b74(0xd7)]=0x2]=_0x149b74(0xd7),_0x42e60e[_0x42e60e[_0x149b74(0x2cb)]=0x3]=_0x149b74(0x2cb),_0x42e60e[_0x42e60e[_0x149b74(0x1f8)]=0x4]=_0x149b74(0x1f8),_0x42e60e[_0x42e60e[_0x149b74(0x104)]=-0x1]=_0x149b74(0x104),_0x42e60e))(_0x24bec5||{}),_0x540ea8=(_0x41df71=>(_0x41df71[_0x41df71[_0x149b74(0x155)]=0x0]=_0x149b74(0x155),_0x41df71[_0x41df71[_0x149b74(0x2d0)]=0x1]=_0x149b74(0x2d0),_0x41df71[_0x41df71[_0x149b74(0xdb)]=0x2]=_0x149b74(0xdb),_0x41df71[_0x41df71[_0x149b74(0xf2)]=0x3]=_0x149b74(0xf2),_0x41df71[_0x41df71[_0x149b74(0x13f)]=0x4]=_0x149b74(0x13f),_0x41df71[_0x41df71[_0x149b74(0x17f)]=0x5]=_0x149b74(0x17f),_0x41df71[_0x41df71['Copy']=0x6]='Copy',_0x41df71[_0x41df71[_0x149b74(0x105)]=0x7]=_0x149b74(0x105),_0x41df71[_0x41df71['Export']=0x8]=_0x149b74(0x100),_0x41df71[_0x41df71[_0x149b74(0x26f)]=0x9]=_0x149b74(0x26f),_0x41df71[_0x41df71[_0x149b74(0x223)]=0xa]=_0x149b74(0x223),_0x41df71[_0x41df71[_0x149b74(0x1bd)]=0xb]=_0x149b74(0x1bd),_0x41df71[_0x41df71[_0x149b74(0x281)]=0xc]=_0x149b74(0x281),_0x41df71[_0x41df71['CreateWorksheet']=0xd]='CreateWorksheet',_0x41df71[_0x41df71[_0x149b74(0x1ef)]=0xe]='SetWorksheetStyle',_0x41df71[_0x41df71[_0x149b74(0x16d)]=0xf]=_0x149b74(0x16d),_0x41df71[_0x41df71[_0x149b74(0x135)]=0x10]=_0x149b74(0x135),_0x41df71[_0x41df71[_0x149b74(0x207)]=0x11]=_0x149b74(0x207),_0x41df71[_0x41df71['Filter']=0x12]=_0x149b74(0x231),_0x41df71[_0x41df71[_0x149b74(0xfd)]=0x13]='PivotTable',_0x41df71[_0x41df71[_0x149b74(0x154)]=0x14]=_0x149b74(0x154),_0x41df71[_0x41df71['History']=0x15]='History',_0x41df71[_0x41df71[_0x149b74(0x24e)]=0x16]=_0x149b74(0x24e),_0x41df71[_0x41df71['ViemRwHgtClWdt']=0x17]=_0x149b74(0x1a7),_0x41df71[_0x41df71[_0x149b74(0x1c9)]=0x18]='ViewFilter',_0x41df71[_0x41df71[_0x149b74(0x1bf)]=0x19]=_0x149b74(0x1bf),_0x41df71[_0x41df71[_0x149b74(0x24a)]=0x1a]='DeleteSheet',_0x41df71[_0x41df71[_0x149b74(0x1fa)]=0x1b]='HideSheet',_0x41df71[_0x41df71[_0x149b74(0x247)]=0x1c]=_0x149b74(0x247),_0x41df71[_0x41df71[_0x149b74(0xef)]=0x1d]=_0x149b74(0xef),_0x41df71[_0x41df71[_0x149b74(0x1fd)]=0x1e]=_0x149b74(0x1fd),_0x41df71[_0x41df71[_0x149b74(0x163)]=0x1f]='SelectProtectedCells',_0x41df71[_0x41df71[_0x149b74(0x219)]=0x20]=_0x149b74(0x219),_0x41df71[_0x41df71[_0x149b74(0x1f0)]=0x21]=_0x149b74(0x1f0),_0x41df71[_0x41df71['SetCellValue']=0x22]=_0x149b74(0x2ec),_0x41df71[_0x41df71[_0x149b74(0x1ba)]=0x23]=_0x149b74(0x1ba),_0x41df71[_0x41df71[_0x149b74(0x16c)]=0x24]=_0x149b74(0x16c),_0x41df71[_0x41df71[_0x149b74(0x2cf)]=0x25]=_0x149b74(0x2cf),_0x41df71[_0x41df71[_0x149b74(0x170)]=0x26]=_0x149b74(0x170),_0x41df71[_0x41df71[_0x149b74(0xda)]=0x27]=_0x149b74(0xda),_0x41df71[_0x41df71[_0x149b74(0x218)]=0x28]='DeleteColumn',_0x41df71[_0x41df71[_0x149b74(0x268)]=0x29]=_0x149b74(0x268),_0x41df71[_0x41df71[_0x149b74(0x235)]=0x2a]=_0x149b74(0x235),_0x41df71[_0x41df71[_0x149b74(0xe0)]=0x2b]='RecoverHistory',_0x41df71[_0x41df71[_0x149b74(0x18e)]=0x2c]='ViewHistory',_0x41df71[_0x41df71[_0x149b74(0x21e)]=0x2d]='CreatePermissionObject',_0x41df71[_0x41df71[_0x149b74(0x104)]=-0x1]='UNRECOGNIZED',_0x41df71))(_0x540ea8||{});function _0x431555(_0x33a37b){const _0x3193e4=_0x149b74;return!!(_0x33a37b&&_0x33a37b[_0x3193e4(0x159)]&&_0x33a37b[_0x3193e4(0x159)]!==_0x403561['OK']&&_0x33a37b[_0x3193e4(0x159)]!=='OK');}const _0x610a11=(_0x4da82e,_0x293773)=>{const _0x5d7401=_0x149b74;if(!_0x4da82e)return{'date':'','time':''};const _0x312248=new Date(_0x4da82e),_0x49e112=_0x312248[_0x5d7401(0xd1)]()[_0x5d7401(0x222)]('T')[0x0];switch(_0x293773){case _0x287239[_0x5d7401(0x289)]['ZH_CN']:return{'date':_0x1d8852(_0x49e112,_0x293773),'time':_0x312248[_0x5d7401(0x2e1)]()+':'+String(_0x312248[_0x5d7401(0x1bb)]())[_0x5d7401(0x1b7)](0x2,'0')};default:return{'date':_0x1d8852(_0x49e112,_0x293773),'time':_0x312248[_0x5d7401(0x2e1)]()+':'+_0x312248['getMinutes']()};}},_0x5ef180=(_0x21b2e4,_0x52332f)=>{const _0x162cbb=_0x149b74,_0x38a197=_0x21b2e4[_0x162cbb(0x244)]||_0x52332f['t']('editHistory.panel.unknownUser');if(_0x21b2e4[_0x162cbb(0xe9)][_0x162cbb(0x299)](_0x1f1a60=>_0x1f1a60===_0x4658e3['RevertRevisionMutation']['id'])&&_0x21b2e4['recoverTime']){const _0x4cffd8=_0x610a11(_0x21b2e4[_0x162cbb(0x129)],_0x52332f['getCurrentLocale']()),_0x4df076=_0x4cffd8['date']+'\x20'+_0x4cffd8['time'];return _0x38a197+'\x20'+_0x52332f['t'](_0x162cbb(0x2ac))+'\x20'+_0x4df076+'\x20'+_0x52332f['t']('editHistory.action.revertSheetSuffix');}const _0x32045d=_0x181fc4(_0x21b2e4),_0x453b8d=_0x32045d[_0x162cbb(0x121)]===0x1?_0x52332f['t'](_0x32045d[0x0]):''+_0x52332f['t'](_0x32045d[0x0])+_0x52332f['t'](_0x162cbb(0x2c6));return _0x38a197+'\x20'+_0x453b8d;};function _0x181fc4(_0x29e726){const _0x36020e=_0x149b74;if(_0x29e726[_0x36020e(0xe9)][_0x36020e(0x121)]===0x0)return[''];const _0x259f66=_0x36020e(0x106),_0x550393=_0x259f66+_0x36020e(0x2a4),_0x258c25=[{'id':_0x4658e3[_0x36020e(0x1cb)]['id'],'action':_0x259f66+_0x36020e(0x1eb)},{'id':_0x4658e3['RevertRevisionMutation']['id'],'action':_0x259f66+_0x36020e(0x1df)},{'id':_0x56ed82[_0x36020e(0x164)]['id'],'action':_0x259f66+_0x36020e(0x177)},{'id':_0x56ed82['RemoveSheetMutation']['id'],'action':_0x259f66+_0x36020e(0xe5)},{'id':_0x56ed82[_0x36020e(0x1d1)]['id'],'action':_0x259f66+_0x36020e(0x172)},{'id':_0x2fa927[_0x36020e(0x133)]['id'],'action':_0x259f66+_0x36020e(0x2bf)},{'id':_0x346063['AddDataValidationMutation']['id'],'action':_0x259f66+_0x36020e(0x21d)},{'id':_0x346063[_0x36020e(0xe7)]['id'],'action':_0x259f66+_0x36020e(0x21d)},{'id':_0xed2ba5['SetConditionalRuleMutation']['id'],'action':_0x259f66+_0x36020e(0x27b)},{'id':_0xed2ba5[_0x36020e(0x25d)]['id'],'action':_0x259f66+_0x36020e(0x27b)},{'id':_0x56ed82[_0x36020e(0x1e2)]['id'],'action':_0x259f66+_0x36020e(0x139)},{'id':_0x56ed82[_0x36020e(0xce)]['id'],'action':_0x259f66+_0x36020e(0x139)},{'id':_0xd45be1['AddSheetSparklineMutation']['id'],'action':_0x259f66+'addSparkline'},{'id':_0x56ed82[_0x36020e(0x2a5)]['id'],'action':_0x259f66+'deleteProtection'},{'id':_0x56ed82['DeleteWorksheetProtectionMutation']['id'],'action':_0x259f66+'deleteProtection'}]['filter'](_0x139738=>_0x29e726['commands'][_0x36020e(0x16f)](_0x139738['id']));return _0x258c25!=null&&_0x258c25[_0x36020e(0x121)]?_0x258c25[_0x36020e(0x158)](_0xc00194=>_0xc00194[_0x36020e(0xd9)]):[_0x550393];}function _0x1d8852(_0x3b0762,_0x455ce9){const _0x2b4d80=_0x149b74,[_0x3ae277,_0x30a3d2,_0x5133e5]=new Date()[_0x2b4d80(0xd1)]()['split']('T')[0x0][_0x2b4d80(0x222)]('-'),[_0x5e109d,_0x5ba5ae,_0x50172a]=_0x3b0762[_0x2b4d80(0x222)]('-'),_0x3d7fbd=_0x3ae277===_0x5e109d&&_0x30a3d2===_0x5ba5ae&&_0x5133e5===_0x50172a;let _0x280cee='',_0x323d10='',_0x20708b='';switch(_0x455ce9){case _0x287239['LocaleType']['ZH_CN']:return _0x3d7fbd?'今天':(_0x280cee=_0x3ae277===_0x5e109d?'':_0x5e109d+'年',_0x323d10=_0x5ba5ae+'月',_0x20708b=_0x50172a+'日',''+_0x280cee+_0x323d10+_0x20708b);default:return _0x3d7fbd?_0x2b4d80(0xf5):(_0x280cee=_0x3ae277===_0x5e109d?'':_0x5e109d+'-',_0x323d10=_0x5ba5ae+'-',_0x20708b=''+_0x50172a,''+_0x280cee+_0x323d10+_0x20708b);}}function _0x4f3174(_0x41d1f8){const _0xe758c2=_0x149b74;return _0x41d1f8?_0x41d1f8[_0xe758c2(0x102)]((_0x2d4012,_0x4e9fda)=>{const _0x35fb15=_0xe758c2,_0x51d61a=new Date(_0x4e9fda[_0x35fb15(0x233)])[_0x35fb15(0xd1)]()[_0x35fb15(0x222)]('T')[0x0];return _0x2d4012[_0x35fb15(0x121)]>0x0&&_0x2d4012[_0x2d4012['length']-0x1][_0x35fb15(0x264)]===_0x51d61a?_0x2d4012[_0x2d4012[_0x35fb15(0x121)]-0x1][_0x35fb15(0x2d1)]['push'](_0x4e9fda):_0x2d4012['push']({'dateString':_0x51d61a,'versions':[_0x4e9fda]}),_0x2d4012;},[]):[];}var _0x39f7db=Object[_0x149b74(0x1c2)],_0xd4604=(_0x4ac4af,_0x3143ca,_0x253d2d,_0x238812)=>{const _0x38b35a=_0x149b74;for(var _0xb34ba5=_0x238812>0x1?void 0x0:_0x238812?_0x39f7db(_0x3143ca,_0x253d2d):_0x3143ca,_0x463ab9=_0x4ac4af[_0x38b35a(0x121)]-0x1,_0x5bad6d;_0x463ab9>=0x0;_0x463ab9--)(_0x5bad6d=_0x4ac4af[_0x463ab9])&&(_0xb34ba5=_0x5bad6d(_0xb34ba5)||_0xb34ba5);return _0xb34ba5;},_0x3875ed=(_0x4f7755,_0x41a48f)=>(_0x1d1a65,_0x36bc06)=>_0x41a48f(_0x1d1a65,_0x36bc06,_0x4f7755);const _0x9548dd=_0x149b74(0xed);let _0x35ad97=class extends _0x287239[_0x149b74(0x23e)]{constructor(_0x14c36d,_0x40e565,_0x58fffe,_0x1178c5,_0x7112d,_0x2b882d,_0x59fae4){const _0x2fc1ee=_0x149b74;super(),_0x217380(this,_0x2fc1ee(0x2ba),new Map()),(this[_0x2fc1ee(0x1af)]=_0x14c36d,this[_0x2fc1ee(0x17a)]=_0x40e565,this[_0x2fc1ee(0x2e6)]=_0x58fffe,this[_0x2fc1ee(0x13b)]=_0x1178c5,this[_0x2fc1ee(0x17b)]=_0x7112d,this[_0x2fc1ee(0x23d)]=_0x2b882d,this[_0x2fc1ee(0xdf)]=_0x59fae4);}[_0x149b74(0x2e9)](){const _0x23edb8=_0x149b74;this['_workbookDataCache'][_0x23edb8(0x15f)](),super[_0x23edb8(0x2e9)]();}async[_0x149b74(0x10a)](_0x29cead,_0x6dbf3d){const _0x24a3f0=_0x149b74,_0x117299=this[_0x24a3f0(0x137)]()+'/'+_0x29cead+'/list?length=20'+(_0x6dbf3d?'&lastLabel='+_0x6dbf3d:'');try{const _0x1aeeaf=(await this[_0x24a3f0(0x17b)][_0x24a3f0(0x266)](_0x117299))[_0x24a3f0(0x2ae)];if(_0x1aeeaf&&_0x1aeeaf[_0x24a3f0(0x157)]&&_0x1aeeaf[_0x24a3f0(0x157)][_0x24a3f0(0x159)]===_0x403561['OK']){const {hasMore:_0x4cab07,lastLabel:_0x567fe5}=_0x1aeeaf,_0x769f99=_0x5cfdcd(_0x1aeeaf),_0x29abd9=_0x1aeeaf['entities'][_0x24a3f0(0x27a)];return{'hasMore':_0x4cab07,'lastLabel':_0x567fe5,'versions':_0x769f99,'members':_0x29abd9};}}catch(_0x15dd51){console[_0x24a3f0(0x157)](_0x15dd51);}return null;}['_getAPIPrefix'](){const _0x3e1d7e=_0x149b74;var _0x4be5bc;const _0x42ebe7=this['_configService'][_0x3e1d7e(0x12f)](_0x18ecfb);return(_0x4be5bc=_0x42ebe7==null?void 0x0:_0x42ebe7[_0x3e1d7e(0x1d9)])!=null?_0x4be5bc:_0x9548dd;}async[_0x149b74(0x243)](_0x17256b,_0x9cd122,_0x3cd3fb){const _0x547d45=_0x149b74;var _0x35948d,_0x382cea;_0x3cd3fb===void 0x0&&(_0x3cd3fb={}),this['_workbookDataCache'][_0x547d45(0xec)](_0x17256b)||this[_0x547d45(0x2ba)][_0x547d45(0x2c3)](_0x17256b,new Map());const {snapshot:_0x2b9071,changesets:_0x4f4a07,error:_0x52eae6}=await this['_snapshotServerService'][_0x547d45(0xd4)](_0x3cd3fb,{'unitID':_0x17256b,'type':_0x24bec5[_0x547d45(0xd7)],'revision':_0x9cd122});if(_0x431555(_0x52eae6)||!_0x2b9071||!_0x2b9071['workbook'])throw new Error(_0x547d45(0x2fb));const _0x488c1f=(_0x35948d=_0x4f4a07==null?void 0x0:_0x4f4a07['length'])!=null?_0x35948d:0x0;if(_0x9cd122!==0x0&&_0x2b9071[_0x547d45(0x29a)]+_0x488c1f!==_0x9cd122)throw new Error(_0x547d45(0x2dc));const {workbook:_0x8bfed2}=_0x2b9071,_0x1c99c4=_0x8bfed2[_0x547d45(0x182)]?Object['entries'](_0x8bfed2[_0x547d45(0x182)])[_0x547d45(0x158)](([_0x27e2d8,_0xbbd627])=>{const _0x133612=_0x547d45;var _0x3700d8,_0x52ce97;return(_0x52ce97=(_0x3700d8=_0xbbd627['blocks'])==null?void 0x0:_0x3700d8[_0x133612(0x158)](_0x19fb8c=>_0x19fb8c))!=null?_0x52ce97:[];})['flat']():[],_0x28fe79=(await Promise[_0x547d45(0x13a)](_0x1c99c4[_0x547d45(0x158)](_0x25985e=>this[_0x547d45(0x1af)]['getDeserializedSheetBlock'](_0x3cd3fb,{'unitID':_0x17256b,'type':_0x24bec5[_0x547d45(0xd7)],'blockID':_0x25985e})[_0x547d45(0x19c)](_0x4f68e9=>_0x4f68e9[_0x547d45(0x2e8)]))))[_0x547d45(0x11b)](_0x20702f=>!!_0x20702f),_0x4090dd=_0x4658e3['transformSnapshotToWorkbookData'](_0x2b9071,_0x28fe79,_0x3cd3fb);return(_0x382cea=this[_0x547d45(0x2ba)][_0x547d45(0x266)](_0x17256b))==null||_0x382cea['set'](_0x9cd122,{'workbook':_0x4090dd}),new Promise(_0x367adb=>{const _0x1ff012=_0x547d45,_0x489746=this[_0x1ff012(0x17a)][_0x1ff012(0x28d)](_0x287239[_0x1ff012(0x1e6)][_0x1ff012(0xd7)]);_0x489746?(this['_univerInstanceService'][_0x1ff012(0x2b3)](_0x489746[_0x1ff012(0xd3)]()),setTimeout(()=>{const _0x2dfcd2=_0x1ff012;this[_0x2dfcd2(0x2b1)](_0x4090dd,_0x4f4a07),this['_sheetPermissionInitController'][_0x2dfcd2(0x23c)](),_0x367adb(!0x0);},0x0)):(this[_0x1ff012(0x2b1)](_0x4090dd,_0x4f4a07),_0x367adb(!0x0));});}[_0x149b74(0x2b1)](_0x54ad93,_0x34759d){const _0x4bf4e8=_0x149b74,_0x3b0e9d=this[_0x4bf4e8(0x17a)][_0x4bf4e8(0x272)](_0x287239[_0x4bf4e8(0x1e6)][_0x4bf4e8(0xd7)],_0x54ad93);this[_0x4bf4e8(0x17a)][_0x4bf4e8(0x189)](_0x3b0e9d[_0x4bf4e8(0xd3)]());const _0x5eff6b=this[_0x4bf4e8(0x23d)][_0x4bf4e8(0xf4)][_0x4bf4e8(0x22d)](this[_0x4bf4e8(0x23d)]['interceptor'][_0x4bf4e8(0x230)]()[_0x4bf4e8(0x1c4)]);return _0x34759d==null||_0x34759d['forEach'](_0x4a8b67=>{const _0x2f866a=_0x4bf4e8,_0x6001cc=_0x4a8b67[_0x2f866a(0x1d3)][_0x2f866a(0x158)](_0x5a3f33=>({'id':_0x5a3f33['id'],'params':JSON[_0x2f866a(0x18b)](_0x5a3f33[_0x2f866a(0x145)])}));({..._0x4a8b67,'mutations':_0x5eff6b(_0x6001cc,null)||_0x6001cc}[_0x2f866a(0x1d3)][_0x2f866a(0x295)](_0x1113e5=>{const _0x5001ea=_0x2f866a;this[_0x5001ea(0x2e6)]['hasCommand'](_0x1113e5['id'])&&this['_commandService'][_0x5001ea(0x167)](_0x1113e5['id'],_0x1113e5[_0x5001ea(0x1a6)]);}));}),_0x3b0e9d;}};_0x35ad97=_0xd4604([_0x3875ed(0x0,_0x4658e3[_0x149b74(0x2f3)]),_0x3875ed(0x1,_0x287239[_0x149b74(0x1b3)]),_0x3875ed(0x2,_0x287239[_0x149b74(0x180)]),_0x3875ed(0x3,_0x287239[_0x149b74(0xeb)]),_0x3875ed(0x4,_0x287239['Inject'](_0x2b0737['HTTPService'])),_0x3875ed(0x5,_0x287239[_0x149b74(0x14e)](_0x4658e3['CompressMutationService'])),_0x3875ed(0x6,_0x287239[_0x149b74(0x14e)](_0x56ed82[_0x149b74(0x2f9)]))],_0x35ad97);function _0x5cfdcd(_0x34f571){const _0x179797=_0x149b74;var _0x56dce5,_0x491619;const _0x12f5a0=[],{entities:_0x20ecc3,historyIds:_0x831992}=_0x34f571,{datas:_0x59703c,users:_0x3cb48c}=_0x20ecc3;for(const _0x147036 of _0x831992)if(_0x59703c[_0x147036]){const _0x36d3ae=!!((_0x56dce5=_0x3cb48c[_0x59703c[_0x147036][_0x179797(0x127)]])!=null&&_0x56dce5[_0x179797(0x2b0)]);_0x12f5a0[_0x179797(0x27c)]({'unitId':_0x59703c[_0x147036]['unitId'],'user':_0x36d3ae?'':((_0x491619=_0x3cb48c==null?void 0x0:_0x3cb48c[_0x59703c[_0x147036][_0x179797(0x127)]])==null?void 0x0:_0x491619['name'])||'','isAnonymous':_0x36d3ae,'id':_0x147036,'time':_0x59703c[_0x147036][_0x179797(0x188)]?Number(_0x59703c[_0x147036][_0x179797(0x188)]):void 0x0,'commands':_0x59703c[_0x147036][_0x179797(0x119)],'startRev':Number(_0x59703c[_0x147036]['startRevision']),'endRev':Number(_0x59703c[_0x147036]['endRevision']),'recoverTime':_0x59703c[_0x147036][_0x179797(0x129)]?Number(_0x59703c[_0x147036][_0x179797(0x129)]):void 0x0});}return _0x12f5a0;}var _0x1e2244=Object[_0x149b74(0x1c2)],_0x5ded08=(_0x2dda40,_0x39f5a2,_0x45f050,_0x517792)=>{for(var _0x2412d0=_0x517792>0x1?void 0x0:_0x517792?_0x1e2244(_0x39f5a2,_0x45f050):_0x39f5a2,_0xe9dbc6=_0x2dda40['length']-0x1,_0x2bf7eb;_0xe9dbc6>=0x0;_0xe9dbc6--)(_0x2bf7eb=_0x2dda40[_0xe9dbc6])&&(_0x2412d0=_0x2bf7eb(_0x2412d0)||_0x2412d0);return _0x2412d0;},_0x2e2817=(_0x305443,_0x392a49)=>(_0x5c6d47,_0x307694)=>_0x392a49(_0x5c6d47,_0x307694,_0x305443),_0x2c8ae7=(_0x589317=>(_0x589317['Entered']=_0x149b74(0x246),_0x589317[_0x149b74(0x1a4)]='exited',_0x589317[_0x149b74(0x13c)]=_0x149b74(0x157),_0x589317))(_0x2c8ae7||{}),_0x411a36=(_0x56cbd0=>(_0x56cbd0[_0x149b74(0x291)]='init',_0x56cbd0[_0x149b74(0x181)]='loading',_0x56cbd0[_0x149b74(0x258)]=_0x149b74(0x283),_0x56cbd0))(_0x411a36||{});const _0x3b9a55=_0x149b74(0x10e);_0x2afb7b['HistoryManagerService']=class extends _0x287239['Disposable']{constructor(_0x5ee1d2,_0x4eebbc,_0x233039,_0x13567b){const _0x33d658=_0x149b74;super(),_0x217380(this,_0x33d658(0x2f7),new _0x493d52[(_0x33d658(0x288))]([])),_0x217380(this,_0x33d658(0x156),this[_0x33d658(0x2f7)]['asObservable']()),_0x217380(this,_0x33d658(0x14d),new _0x493d52['BehaviorSubject']('')),_0x217380(this,_0x33d658(0x2fe),this['_currentVersion$'][_0x33d658(0x1ac)]()),_0x217380(this,_0x33d658(0x2fd),new _0x493d52[(_0x33d658(0x288))](_0x33d658(0x246))),_0x217380(this,_0x33d658(0x206),this['_status$'][_0x33d658(0x1ac)]()),_0x217380(this,_0x33d658(0x1f5),new _0x493d52[(_0x33d658(0x288))](0x0)),_0x217380(this,_0x33d658(0x2f6),this[_0x33d658(0x1f5)]['asObservable']()),_0x217380(this,_0x33d658(0x1ca),new _0x493d52[(_0x33d658(0x288))]('')),_0x217380(this,_0x33d658(0x12d),this[_0x33d658(0x1ca)][_0x33d658(0x1ac)]()),_0x217380(this,'_fetching',!0x1),_0x217380(this,_0x33d658(0x217),new _0x493d52[(_0x33d658(0x288))](_0x33d658(0x2f5))),_0x217380(this,'loadingState$',this['_loadingState$'][_0x33d658(0x1ac)]()),_0x217380(this,'_lastLabel',null),_0x217380(this,_0x33d658(0x2f4),!0x0),_0x217380(this,_0x33d658(0x200),new Map()),_0x217380(this,'_historyContainerId'),_0x217380(this,_0x33d658(0x229)),_0x217380(this,'_maskElement'),_0x217380(this,'_canRevert',!0x1),(this[_0x33d658(0x1f3)]=_0x5ee1d2,this[_0x33d658(0x2c8)]=_0x4eebbc,this[_0x33d658(0x23b)]=_0x233039,this[_0x33d658(0x2a1)]=_0x13567b);}async[_0x149b74(0x171)](_0x4a3598,_0xba8a72,_0x2448c4){const _0x55596d=_0x149b74;this['_historyContainerId']=_0xba8a72,this[_0x55596d(0x162)]=_0x2448c4,this[_0x55596d(0x1ca)][_0x55596d(0x19d)](_0x4a3598),this[_0x55596d(0x20a)]=!0x0;const _0x25e39d=await this['_historyFetchService']['getVersions'](_0x4a3598);if(this[_0x55596d(0x20a)]=!0x1,_0x25e39d){const {versions:_0x41f4cd,lastLabel:_0x355c31,hasMore:_0x386be4,members:_0xf17fde}=_0x25e39d;_0x41f4cd[_0x55596d(0x121)]===0x0&&_0x41f4cd[_0x55596d(0x27c)]({'unitId':_0x4a3598,'id':_0x3b9a55,'startRev':0x1,'endRev':0x0,'time':Date[_0x55596d(0x28e)](),'user':this['_localeService']['t'](_0x55596d(0x1bc)),'commands':[],'isAnonymous':!0x1}),this[_0x55596d(0x123)](_0x41f4cd,_0x386be4,_0x355c31,_0xf17fde),this['_currentVersion$'][_0x55596d(0x19d)](_0x41f4cd[0x0]['id']);}else this[_0x55596d(0x2fd)]['next'](_0x55596d(0x157));}async['loadMoreVersions'](){const _0x517f69=_0x149b74;if(!this[_0x517f69(0x1d5)]||!this[_0x517f69(0x2f4)]||this[_0x517f69(0x20a)])return!0x1;this[_0x517f69(0x20a)]=!0x0;const _0x53f8ca=await this['_historyFetchService'][_0x517f69(0x10a)](this[_0x517f69(0x1c6)],this[_0x517f69(0x1d5)]);if(this[_0x517f69(0x20a)]=!0x1,_0x53f8ca){const {versions:_0x4ef6e2,lastLabel:_0x108814,hasMore:_0x4a1028,members:_0x41c147}=_0x53f8ca;this[_0x517f69(0x123)](_0x4ef6e2,_0x4a1028,_0x108814,_0x41c147);}else this[_0x517f69(0x1f3)][_0x517f69(0x252)]({'content':this['_localeService']['t']('editHistory.panel.listFetchError'),'type':_0x407bc3[_0x517f69(0x241)][_0x517f69(0x13c)],'duration':0xbb8});return!0x0;}async[_0x149b74(0x249)](_0x1301e1){const _0x3b0f78=_0x149b74;var _0x9cbb8c;const _0x209eaa=(_0x9cbb8c=this['_versions$'][_0x3b0f78(0x2e2)])==null?void 0x0:_0x9cbb8c[_0x3b0f78(0x24f)](_0x46ca23=>_0x46ca23['id']===_0x1301e1),{endRev:_0x3db3af}=_0x209eaa||{};_0x3db3af||_0x3db3af===0x0?(this['_loadingState$']['next'](_0x3b0f78(0x22c)),await this[_0x3b0f78(0x2a1)][_0x3b0f78(0x243)](this[_0x3b0f78(0x1c6)],_0x3db3af),this[_0x3b0f78(0x217)][_0x3b0f78(0x19d)](_0x3b0f78(0x283))):this['_status$'][_0x3b0f78(0x19d)]('error');}async[_0x149b74(0x271)](_0x180f27){const _0x71604b=_0x149b74,_0x3265d5=_0x180f27?this['getVersion'](_0x180f27):this[_0x71604b(0x205)]();if(!_0x3265d5)return;const _0x47e1e2=_0x3265d5[_0x71604b(0x1e8)],_0xdefb8e=_0x610a11(_0x3265d5[_0x71604b(0x233)],this[_0x71604b(0x23b)]['getCurrentLocale']());await this['_confirmService'][_0x71604b(0xe2)]({'id':_0x71604b(0x2a7),'title':{'title':this[_0x71604b(0x23b)]['t'](_0x71604b(0x130))},'children':{'title':this[_0x71604b(0x23b)]['t']('editHistory.panel.revertConfirmText')+_0x71604b(0x187)+_0xdefb8e[_0x71604b(0x1de)]+'\x20'+_0xdefb8e[_0x71604b(0x233)]+')'},'cancelText':this['_localeService']['t'](_0x71604b(0xea)),'confirmText':this['_localeService']['t']('editHistory.panel.confirm')})&&this[_0x71604b(0x1f5)][_0x71604b(0x19d)](_0x47e1e2);}[_0x149b74(0x123)](_0x52b0e5,_0x3c6daf,_0x178182,_0x44b247){const _0x47e789=_0x149b74;this['_versions$'][_0x47e789(0x19d)](this[_0x47e789(0x2f7)][_0x47e789(0x2e2)]['concat'](_0x52b0e5)),this[_0x47e789(0x2f4)]=_0x3c6daf,this[_0x47e789(0x1d5)]=_0x178182,_0x44b247&&Object['keys'](_0x44b247)[_0x47e789(0x295)](_0x3d0446=>this[_0x47e789(0x200)][_0x47e789(0x2c3)](_0x3d0446,_0x44b247[_0x3d0446]));}['getCurrentVersion'](){const _0x437c42=_0x149b74;return this[_0x437c42(0x29f)](this['_currentVersion$'][_0x437c42(0x2e2)]);}['getVersion'](_0x36baab){const _0x29c16d=_0x149b74;var _0x2bb1a1;return(_0x2bb1a1=this[_0x29c16d(0x2f7)][_0x29c16d(0x2e2)])==null?void 0x0:_0x2bb1a1[_0x29c16d(0x24f)](_0x241e64=>_0x241e64['id']===_0x36baab);}[_0x149b74(0x282)](_0x3adbdf){const _0x538b8a=_0x149b74;return this[_0x538b8a(0x200)][_0x538b8a(0x266)](_0x3adbdf);}[_0x149b74(0x2a9)](){const _0x4f7b0f=_0x149b74;this['_maskElement']=document[_0x4f7b0f(0x2e0)](_0x4f7b0f(0x2a6)),this[_0x4f7b0f(0x2b5)][_0x4f7b0f(0xfc)]=_0x4f7b0f(0x27f),this[_0x4f7b0f(0x2b5)][_0x4f7b0f(0x20b)][_0x4f7b0f(0x1e9)]='absolute',this[_0x4f7b0f(0x2b5)]['style']['top']='0',this[_0x4f7b0f(0x2b5)][_0x4f7b0f(0x20b)][_0x4f7b0f(0x14f)]='0',this[_0x4f7b0f(0x2b5)][_0x4f7b0f(0x20b)][_0x4f7b0f(0x19f)]='100%',this['_maskElement'][_0x4f7b0f(0x20b)][_0x4f7b0f(0x297)]=_0x4f7b0f(0x143),this[_0x4f7b0f(0x2b5)]['style'][_0x4f7b0f(0x1d0)]=_0x4f7b0f(0x2c9),this['_maskElement']['style'][_0x4f7b0f(0xcf)]=_0x4f7b0f(0x1ad),this[_0x4f7b0f(0x2b5)][_0x4f7b0f(0x20b)]['display']=_0x4f7b0f(0x1e3),this['_maskElement']['style']['justifyContent']=_0x4f7b0f(0x22f),this[_0x4f7b0f(0x2b5)]['style'][_0x4f7b0f(0x1dc)]=_0x4f7b0f(0x1ea),this['_maskElement'][_0x4f7b0f(0x20b)][_0x4f7b0f(0x23f)]=_0x4f7b0f(0x142),this[_0x4f7b0f(0x229)][_0x4f7b0f(0x2f8)](this[_0x4f7b0f(0x2b5)]);}[_0x149b74(0x2a0)](){const _0x405d81=_0x149b74;var _0x3fcd2e;const _0x2c41a3=(_0x3fcd2e=document['getElementById'](this['_historyContainerId']))==null?void 0x0:_0x3fcd2e[_0x405d81(0x25f)](_0x405d81(0x132));_0x2c41a3&&(this[_0x405d81(0x229)]=_0x2c41a3,this[_0x405d81(0x2a9)]());}[_0x149b74(0xdd)](){const _0xb1aaa1=_0x149b74;this[_0xb1aaa1(0x229)]||this[_0xb1aaa1(0x2a0)](),this['_maskElement']&&(this['_maskElement'][_0xb1aaa1(0x20b)][_0xb1aaa1(0x23f)]=_0xb1aaa1(0x1e3));}[_0x149b74(0x259)](){const _0xac0f6=_0x149b74;this['_maskElement']&&(this['_maskElement'][_0xac0f6(0x20b)][_0xac0f6(0x23f)]=_0xac0f6(0x142));}set[_0x149b74(0x120)](_0x31815f){const _0x2fb7f9=_0x149b74;this[_0x2fb7f9(0x2fd)][_0x2fb7f9(0x19d)](_0x31815f);}set['currentVersion'](_0xc682e){const _0x208795=_0x149b74;_0xc682e!==this[_0x208795(0x14d)][_0x208795(0x2e2)]&&this[_0x208795(0x14d)]['next'](_0xc682e);}get['currentVersion'](){const _0x308e50=_0x149b74;return this[_0x308e50(0x14d)][_0x308e50(0x2e2)];}set[_0x149b74(0x1c6)](_0x4d8506){const _0x554c0a=_0x149b74;this['_unitId$'][_0x554c0a(0x19d)](_0x4d8506);}get['unitId'](){const _0xdbce64=_0x149b74;return this[_0xdbce64(0x1ca)][_0xdbce64(0x2e2)];}get[_0x149b74(0x2ee)](){return this['_canRevert'];}get[_0x149b74(0x190)](){const _0x2a98cd=_0x149b74;return this[_0x2a98cd(0x217)][_0x2a98cd(0x2e2)];}},_0x2afb7b[_0x149b74(0x15b)]=_0x5ded08([_0x2e2817(0x0,_0x1f9fca['IMessageService']),_0x2e2817(0x1,_0x1f9fca['IConfirmService']),_0x2e2817(0x2,_0x287239[_0x149b74(0x14e)](_0x287239[_0x149b74(0x298)])),_0x2e2817(0x3,_0x287239['Inject'](_0x35ad97))],_0x2afb7b[_0x149b74(0x15b)]);function _0x178652({ref:_0x252a64,..._0x4e240f}){const _0x104251=_0x149b74,{icon:_0xd9dbd7,id:_0x9cbac4,className:_0x3b01d6,extend:_0x1b8856,..._0x2060a4}=_0x4e240f,_0x1ddb59=('univerjs-icon\x20univerjs-icon-'+_0x9cbac4+'\x20'+(_0x3b01d6||''))['trim'](),_0xa7b887=_0x5cef4f[_0x104251(0xd6)]('_'+_0x3491f8());return _0x465402(_0xd9dbd7,''+_0x9cbac4,{'defIds':_0xd9dbd7[_0x104251(0x1a5)],'idSuffix':_0xa7b887[_0x104251(0xf9)]},{'ref':_0x252a64,'className':_0x1ddb59,..._0x2060a4},_0x1b8856);}function _0x465402(_0x13ec16,_0xc2669d,_0x524d5f,_0x5a7de8,_0x103ab6){const _0x15fe11=_0x149b74;return _0x5cef4f[_0x15fe11(0x2e0)](_0x13ec16['tag'],{'key':_0xc2669d,..._0x372083(_0x13ec16,_0x524d5f,_0x103ab6),..._0x5a7de8},(_0x2fa0a1(_0x13ec16,_0x524d5f)[_0x15fe11(0x2bc)]||[])['map']((_0x4fd65d,_0x42fa95)=>_0x465402(_0x4fd65d,_0xc2669d+'-'+_0x13ec16['tag']+'-'+_0x42fa95,_0x524d5f,void 0x0,_0x103ab6)));}function _0x372083(_0x536176,_0x495634,_0x176998){const _0x5beb07=_0x149b74,_0xfd4dde={..._0x536176[_0x5beb07(0x21f)]};_0x176998!=null&&_0x176998[_0x5beb07(0x2c0)]&&_0xfd4dde[_0x5beb07(0x227)]===_0x5beb07(0x2c0)&&(_0xfd4dde[_0x5beb07(0x227)]=_0x176998[_0x5beb07(0x2c0)]),_0x536176['tag']==='mask'&&_0xfd4dde['id']&&(_0xfd4dde['id']=_0xfd4dde['id']+_0x495634[_0x5beb07(0x10f)]),Object[_0x5beb07(0x2da)](_0xfd4dde)[_0x5beb07(0x295)](([_0x2798ab,_0x4198d7])=>{const _0x26bc39=_0x5beb07;_0x2798ab===_0x26bc39(0x2c4)&&typeof _0x4198d7=='string'&&(_0xfd4dde[_0x2798ab]=_0x4198d7['replace'](/url\(#(.*)\)/,_0x26bc39(0x176)+_0x495634[_0x26bc39(0x10f)]+')'));});const {defIds:_0x393d91}=_0x495634;return!_0x393d91||_0x393d91[_0x5beb07(0x121)]===0x0||(_0x536176[_0x5beb07(0x1b2)]==='use'&&_0xfd4dde[_0x5beb07(0x26d)]&&(_0xfd4dde['xlink:href']=_0xfd4dde[_0x5beb07(0x26d)]+_0x495634[_0x5beb07(0x10f)]),Object[_0x5beb07(0x2da)](_0xfd4dde)[_0x5beb07(0x295)](([_0xa4a1f7,_0x4d9268])=>{const _0x5ecc9e=_0x5beb07;typeof _0x4d9268==_0x5ecc9e(0x197)&&(_0xfd4dde[_0xa4a1f7]=_0x4d9268[_0x5ecc9e(0x20e)](/url\(#(.*)\)/,_0x5ecc9e(0x176)+_0x495634['idSuffix']+')'));})),_0xfd4dde;}function _0x2fa0a1(_0xf0c402,_0x272ca2){const _0x386154=_0x149b74;var _0x47798b;const {defIds:_0x45e17a}=_0x272ca2;return!_0x45e17a||_0x45e17a[_0x386154(0x121)]===0x0?_0xf0c402:_0xf0c402[_0x386154(0x1b2)]==='defs'&&((_0x47798b=_0xf0c402[_0x386154(0x2bc)])!=null&&_0x47798b[_0x386154(0x121)])?{..._0xf0c402,'children':_0xf0c402[_0x386154(0x2bc)][_0x386154(0x158)](_0x25e767=>typeof _0x25e767[_0x386154(0x21f)]['id']==_0x386154(0x197)&&_0x45e17a&&_0x45e17a[_0x386154(0x16f)](_0x25e767[_0x386154(0x21f)]['id'])?{..._0x25e767,'attrs':{..._0x25e767['attrs'],'id':_0x25e767[_0x386154(0x21f)]['id']+_0x272ca2['idSuffix']}}:_0x25e767)}:_0xf0c402;}function _0x3491f8(){const _0x295d43=_0x149b74;return Math[_0x295d43(0x168)]()[_0x295d43(0x21c)](0x24)['substring'](0x2,0x8);}_0x178652['displayName']='UniverIcon';const _0x449c94={'tag':_0x149b74(0x179),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x149b74(0x1a0),'width':_0x149b74(0x2db),'height':_0x149b74(0x2db)},'children':[{'tag':_0x149b74(0x166),'attrs':{'fill':_0x149b74(0x1b0),'d':_0x149b74(0x28f)}}]},_0x56b031=_0x5cef4f[_0x149b74(0x101)](function(_0x5f5b5e,_0x1fb8d0){const _0x69a6b7=_0x149b74;return _0x5cef4f[_0x69a6b7(0x2e0)](_0x178652,Object[_0x69a6b7(0x199)]({},_0x5f5b5e,{'id':_0x69a6b7(0xf0),'ref':_0x1fb8d0,'icon':_0x449c94}));});_0x56b031['displayName']=_0x149b74(0x12c);const _0x4dbe8f={'tag':_0x149b74(0x179),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x149b74(0x142),'viewBox':_0x149b74(0x10b),'width':'1em','height':_0x149b74(0x2db)},'children':[{'tag':'g','attrs':{'fill':_0x149b74(0x1b0),'clipPath':_0x149b74(0x2ab)},'children':[{'tag':_0x149b74(0x166),'attrs':{'d':_0x149b74(0x1fb)}},{'tag':_0x149b74(0x166),'attrs':{'d':_0x149b74(0x195),'fillRule':'evenodd','clipRule':_0x149b74(0x126)}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x149b74(0x2af)},'children':[{'tag':'rect','attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x149b74(0x1ad),'rx':0x4}}]}]}],'defIds':[_0x149b74(0x2af)]},_0x3664fd=_0x5cef4f['forwardRef'](function(_0x47eee0,_0x20212e){const _0x4772a0=_0x149b74;return _0x5cef4f[_0x4772a0(0x2e0)](_0x178652,Object[_0x4772a0(0x199)]({},_0x47eee0,{'id':_0x4772a0(0xf8),'ref':_0x20212e,'icon':_0x4dbe8f}));});_0x3664fd[_0x149b74(0x26c)]=_0x149b74(0x19a);const _0x212f44={'tag':_0x149b74(0x179),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x149b74(0x142),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x149b74(0x2db)},'children':[{'tag':_0x149b74(0x166),'attrs':{'fill':'#0B9EFB','d':_0x149b74(0x201),'fillOpacity':0.2,'fillRule':'evenodd','clipRule':'evenodd'}},{'tag':_0x149b74(0x166),'attrs':{'fill':_0x149b74(0x25c),'d':_0x149b74(0x228),'fillRule':'evenodd','clipRule':'evenodd'}}]},_0x2ae722=_0x5cef4f[_0x149b74(0x101)](function(_0x3e7222,_0x5c3104){const _0x5c4df1=_0x149b74;return _0x5cef4f[_0x5c4df1(0x2e0)](_0x178652,Object['assign']({},_0x3e7222,{'id':_0x5c4df1(0x276),'ref':_0x5c3104,'icon':_0x212f44}));});_0x2ae722[_0x149b74(0x26c)]=_0x149b74(0x138);function _0x171a95(){const _0x116286=_0x149b74;var _0x48d3ad;const _0x13994c=_0x1f9fca[_0x116286(0x1a9)](_0x2afb7b[_0x116286(0x15b)]),_0x42023b=_0x1f9fca[_0x116286(0x1a9)](_0x287239[_0x116286(0x298)]),_0x16477f=_0x5cef4f[_0x116286(0xfa)](()=>{const _0x386079=_0x116286;_0x13994c[_0x386079(0x120)]=_0x2c8ae7[_0x386079(0x1a4)];},[_0x13994c]),_0x2806af=_0x5cef4f[_0x116286(0xfa)](()=>{const _0x18c9b8=_0x116286;_0x13994c[_0x18c9b8(0x271)]();},[_0x13994c]),_0x1220ae=_0x1f9fca[_0x116286(0x240)](_0x13994c[_0x116286(0x2fe)]),_0x5663dc=_0x1f9fca[_0x116286(0x240)](_0x13994c[_0x116286(0x156)]),_0x43651a=_0x1220ae===((_0x48d3ad=_0x5663dc==null?void 0x0:_0x5663dc[0x0])==null?void 0x0:_0x48d3ad['id']),_0x24fa81=_0x1220ae!==''&&!_0x43651a&&_0x13994c[_0x116286(0x2ee)];return _0x5118a6[_0x116286(0x1b8)](_0x116286(0x2a6),{'className':_0x407bc3['clsx'](_0x116286(0x15d),_0x407bc3['borderBottomClassName']),'children':[_0x5118a6[_0x116286(0xff)]('a',{'className':'univer-ml-2.5\x20univer-flex\x20univer-size-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','role':'button','onClick':_0x16477f,'children':_0x5118a6[_0x116286(0xff)](_0x56b031,{'className':'univer-text-2xl\x20dark:!univer-text-white'})}),_0x5118a6['jsx'](_0x116286(0x2a6),{'className':_0x116286(0x183),'children':_0x24fa81&&_0x5118a6[_0x116286(0xff)](_0x407bc3[_0x116286(0x150)],{'variant':_0x116286(0x17e),'onClick':_0x2806af,'children':_0x42023b['t'](_0x116286(0x265))})})]});}var _0x2f02a=Object[_0x149b74(0x1c2)],_0x552d18=(_0x37c69,_0x566ae2,_0x3eb121,_0x5d80ac)=>{const _0x410280=_0x149b74;for(var _0x51868d=_0x5d80ac>0x1?void 0x0:_0x5d80ac?_0x2f02a(_0x566ae2,_0x3eb121):_0x566ae2,_0x596b67=_0x37c69[_0x410280(0x121)]-0x1,_0x241f87;_0x596b67>=0x0;_0x596b67--)(_0x241f87=_0x37c69[_0x596b67])&&(_0x51868d=_0x241f87(_0x51868d)||_0x51868d);return _0x51868d;},_0x1d5562=(_0x584f34,_0x1f9483)=>(_0x51a670,_0x4f79e2)=>_0x1f9483(_0x51a670,_0x4f79e2,_0x584f34);let _0x592ff1=class extends _0x287239[_0x149b74(0x23e)]{constructor(_0x2cc209,_0x348365,_0x1411a2,_0x452d92,_0x56519a,_0x54765f){const _0x599ae0=_0x149b74;super(),this['_permissionService']=_0x2cc209,this['_uiPartsService']=_0x348365,this[_0x599ae0(0x1f3)]=_0x1411a2,this[_0x599ae0(0x23b)]=_0x452d92,this[_0x599ae0(0x1b9)]=_0x56519a,this[_0x599ae0(0x1ff)]=_0x54765f,this[_0x599ae0(0x1b4)]();}[_0x149b74(0x1b4)](){const _0x10843c=_0x149b74;this[_0x10843c(0x17c)](this[_0x10843c(0x1b9)][_0x10843c(0x2fe)][_0x10843c(0x2a3)](_0x44aca1=>{const _0x38a63d=_0x10843c;_0x44aca1&&this[_0x38a63d(0x1b9)][_0x38a63d(0x249)](_0x44aca1);})),this[_0x10843c(0x17c)](this[_0x10843c(0x2e7)][_0x10843c(0x236)][_0x10843c(0x2a3)](_0x119223=>{const _0x8af106=_0x10843c,_0x260cd9=this[_0x8af106(0x1b9)][_0x8af106(0x1c6)];_0x260cd9&&(_0x119223[_0x8af106(0x285)]===_0x540ea8[_0x8af106(0x2d0)]&&_0x119223[_0x8af106(0x2e2)]===!0x0&&this[_0x8af106(0x2e7)][_0x8af106(0x136)](new _0x56ed82['WorkbookEditablePermission'](_0x260cd9)['id'],!0x1),_0x119223[_0x8af106(0x285)]===_0x540ea8[_0x8af106(0xef)]&&_0x119223['value']===!0x0&&this[_0x8af106(0x2e7)][_0x8af106(0x136)](new _0x56ed82[(_0x8af106(0x2aa))](_0x260cd9)['id'],!0x1),_0x119223[_0x8af106(0x285)]===_0x540ea8[_0x8af106(0x1bf)]&&_0x119223[_0x8af106(0x2e2)]===!0x0&&this[_0x8af106(0x2e7)][_0x8af106(0x136)](new _0x56ed82[(_0x8af106(0x146))](_0x260cd9)['id'],!0x1),_0x119223[_0x8af106(0x285)]===_0x540ea8[_0x8af106(0x1fa)]&&_0x119223[_0x8af106(0x2e2)]===!0x0&&this[_0x8af106(0x2e7)][_0x8af106(0x136)](new _0x56ed82[(_0x8af106(0x1da))](_0x260cd9)['id'],!0x1),_0x119223[_0x8af106(0x285)]===_0x540ea8['Comment']&&_0x119223[_0x8af106(0x2e2)]===!0x0&&this[_0x8af106(0x2e7)][_0x8af106(0x136)](new _0x56ed82['WorkbookEditablePermission'](_0x260cd9)['id'],!0x1),_0x119223[_0x8af106(0x285)]===_0x540ea8[_0x8af106(0x154)]&&_0x119223[_0x8af106(0x2e2)]===!0x0&&this[_0x8af106(0x2e7)][_0x8af106(0x136)](new _0x56ed82[(_0x8af106(0x1ce))](_0x260cd9)['id'],!0x1));})),this['disposeWithMe'](this[_0x10843c(0x239)]['registerComponent'](_0x1f9fca[_0x10843c(0x10d)][_0x10843c(0x1f1)],()=>_0x1f9fca[_0x10843c(0x2c1)](_0x171a95,this['_injector']))),this[_0x10843c(0x17c)](this[_0x10843c(0x1b9)][_0x10843c(0x15c)][_0x10843c(0x2a3)](_0x191446=>{const _0x27af6c=_0x10843c;_0x191446===_0x411a36[_0x27af6c(0x181)]&&(this['_historyManagerService'][_0x27af6c(0xdd)](),this[_0x27af6c(0x1f3)][_0x27af6c(0x252)]({'type':_0x407bc3[_0x27af6c(0x241)]['Info'],'content':this[_0x27af6c(0x23b)]['t'](_0x27af6c(0xfe))})),_0x191446===_0x411a36[_0x27af6c(0x258)]&&this[_0x27af6c(0x1b9)][_0x27af6c(0x259)]();}));}};_0x592ff1=_0x552d18([_0x1d5562(0x0,_0x287239[_0x149b74(0x19e)]),_0x1d5562(0x1,_0x1f9fca[_0x149b74(0x140)]),_0x1d5562(0x2,_0x1f9fca['IMessageService']),_0x1d5562(0x3,_0x287239[_0x149b74(0x14e)](_0x287239[_0x149b74(0x298)])),_0x1d5562(0x4,_0x287239[_0x149b74(0x14e)](_0x2afb7b[_0x149b74(0x15b)])),_0x1d5562(0x5,_0x287239['Inject'](_0x287239['Injector']))],_0x592ff1);var _0x1c7eb4=Object[_0x149b74(0x1c2)],_0x2630ce=(_0x52d753,_0xcbc072,_0x286ef3,_0x39624b)=>{for(var _0x2f2cb0=_0x39624b>0x1?void 0x0:_0x39624b?_0x1c7eb4(_0xcbc072,_0x286ef3):_0xcbc072,_0x150083=_0x52d753['length']-0x1,_0x32c85c;_0x150083>=0x0;_0x150083--)(_0x32c85c=_0x52d753[_0x150083])&&(_0x2f2cb0=_0x32c85c(_0x2f2cb0)||_0x2f2cb0);return _0x2f2cb0;},_0x5daccd=(_0x3b4199,_0x39131b)=>(_0x17772e,_0x30c39b)=>_0x39131b(_0x17772e,_0x30c39b,_0x3b4199);let _0x19337e=class extends _0x287239[_0x149b74(0x23e)]{constructor(_0xd18b43,_0x5b0af8,_0x37605e){const _0x4e8b10=_0x149b74;super(),_0x217380(this,_0x4e8b10(0x12e),new Map()),_0x217380(this,_0x4e8b10(0x19b),new _0x493d52[(_0x4e8b10(0x288))]({'ranges':new Map(),'active':null})),_0x217380(this,_0x4e8b10(0x2b7),this['_currentVersionDiff$'][_0x4e8b10(0x1ac)]()),(this['_historyManagerService']=_0xd18b43,this[_0x4e8b10(0x15e)]=_0x5b0af8,this[_0x4e8b10(0x1af)]=_0x37605e,this['_init']());}[_0x149b74(0x1b4)](){const _0x42f3af=_0x149b74;this[_0x42f3af(0x12e)]=new Map(),this[_0x42f3af(0x17c)](this[_0x42f3af(0x1b9)][_0x42f3af(0x12d)][_0x42f3af(0x2a3)](_0xe66688=>{const _0x5d3396=_0x42f3af;_0xe66688&&!this[_0x5d3396(0x12e)][_0x5d3396(0xec)](_0xe66688)&&this[_0x5d3396(0x12e)][_0x5d3396(0x2c3)](_0xe66688,new Map());})),this[_0x42f3af(0x17c)](this[_0x42f3af(0x1b9)]['currentVersion$'][_0x42f3af(0x2a3)](async _0x43e07b=>{const _0x37b705=_0x42f3af;var _0x43a24e;_0x43e07b&&(await this[_0x37b705(0x13d)](_0x43e07b),this[_0x37b705(0x19b)][_0x37b705(0x19d)](((_0x43a24e=this['_diffRangesMap'][_0x37b705(0x266)](this[_0x37b705(0x1b9)][_0x37b705(0x1c6)]))==null?void 0x0:_0x43a24e[_0x37b705(0x266)](_0x43e07b))||{'ranges':new Map(),'active':null}));}));}async[_0x149b74(0x13d)](_0xa5d010){const _0x192002=_0x149b74;var _0x1d12c0,_0xd6a31;const _0x3c0234=this[_0x192002(0x1b9)][_0x192002(0x29f)](_0xa5d010),_0x18e34a=this['_historyManagerService'][_0x192002(0x1c6)];if(!_0x3c0234||!_0x18e34a)return;const _0x31679b=this[_0x192002(0x12e)]['get'](_0x18e34a);if(_0x31679b||this[_0x192002(0x12e)]['set'](_0x18e34a,new Map()),(_0x1d12c0=this[_0x192002(0x12e)][_0x192002(0x266)](_0x18e34a))!=null&&_0x1d12c0[_0x192002(0xec)](_0x3c0234['id']))return;const {startRev:_0x52d24a,endRev:_0x141941}=_0x3c0234;if(_0x52d24a===0x1){_0x31679b[_0x192002(0x2c3)](_0x3c0234['id'],{'ranges':new Map(),'active':null});return;}const _0x39b612=_0x52d24a-0x1,_0xeaa53d=_0x141941,_0x20d004=await this[_0x192002(0x1af)][_0x192002(0x1d6)]({},{'unitID':_0x18e34a,'from':_0x39b612,'to':_0xeaa53d,'type':_0x24bec5['UNIVER_SHEET']});if(((_0xd6a31=_0x20d004[_0x192002(0x157)])==null?void 0x0:_0xd6a31[_0x192002(0x159)])===_0x403561['OK']){const _0x46363e=_0x20d004[_0x192002(0x10c)]['map'](_0x5e9050=>((_0x5e9050[_0x192002(0x1d3)]===null||_0x5e9050['mutations']===void 0x0)&&(_0x5e9050[_0x192002(0x1d3)]=[]),_0x4658e3['parseProtocolChangeset'](_0x5e9050)))[_0x192002(0x158)](_0x4780eb=>_0x4780eb['mutations'][_0x192002(0x158)](_0x4fec98=>({..._0x4fec98,'params':{..._0x4fec98[_0x192002(0x1a6)],'memberId':_0x4780eb[_0x192002(0x109)]}})))['flat'](),_0x4bf038=this[_0x192002(0x134)](_0x46363e),_0x55aeb=this['_getActiveSubUnitId'](_0x46363e),_0x2cec59=this[_0x192002(0x191)](_0x4bf038);_0x31679b['set'](_0x3c0234['id'],{'ranges':_0x2cec59,'active':_0x55aeb});}}[_0x149b74(0x134)](_0x3e92f5){const _0xe706be=_0x149b74;let _0x38a4ef=[];for(let _0x435b2e=0x0;_0x435b2e<_0x3e92f5[_0xe706be(0x121)];_0x435b2e++){const _0x3c09ae=_0x3e92f5[_0x435b2e];if(_0x38a4ef[_0xe706be(0x27c)](_0x3c09ae),_0x435b2e!==_0x3e92f5['length']-0x1){const _0x48d38b=_0x3e92f5[_0x435b2e+0x1],_0x4a6aef=this[_0xe706be(0x15e)][_0xe706be(0x2e5)](_0x38a4ef,[_0x48d38b]);_0x4658e3[_0xe706be(0x292)](_0x4a6aef)?_0x38a4ef=_0x4a6aef[_0xe706be(0xe1)]:_0x38a4ef=[];}}return _0x38a4ef;}[_0x149b74(0x1ec)](_0x12423a){const _0x52d5d0=_0x149b74;let _0x95596c=[];return _0x12423a[_0x52d5d0(0x295)](_0x2a6f94=>{const _0x5d654e=_0x52d5d0;if(_0x2a6f94['id']===_0x56ed82[_0x5d654e(0x164)]['id']){const _0x4b67a3=_0x2a6f94[_0x5d654e(0x1a6)];_0x95596c[_0x5d654e(0x27c)](_0x4b67a3[_0x5d654e(0x11d)]['id']);}else{if(_0x2a6f94['id']===_0x56ed82[_0x5d654e(0x161)]['id']){const _0x1ee9ad=_0x2a6f94[_0x5d654e(0x1a6)];_0x95596c[_0x5d654e(0x121)]>0x0&&(_0x95596c=_0x95596c[_0x5d654e(0x11b)](_0x143e6c=>_0x143e6c!==_0x1ee9ad[_0x5d654e(0x1f4)]));}else{if(_0x2a6f94['id']===_0x56ed82[_0x5d654e(0x1cc)]['id']){const _0x10c879=_0x2a6f94['params'];_0x10c879[_0x5d654e(0x1e1)]?_0x95596c=_0x95596c[_0x5d654e(0x11b)](_0x184b04=>_0x184b04!==_0x10c879[_0x5d654e(0x1f4)]):_0x95596c[_0x5d654e(0x27c)](_0x10c879[_0x5d654e(0x1f4)]);}else{const _0x418792=_0x2a6f94['params'];_0x418792[_0x5d654e(0x1f4)]&&_0x95596c[_0x5d654e(0x27c)](_0x418792['subUnitId']);}}}}),_0x95596c[_0x52d5d0(0x121)]>0x0?_0x95596c[_0x95596c[_0x52d5d0(0x121)]-0x1]:null;}['_extractRanges'](_0x2b910e){const _0x1a1304=_0x149b74,_0x24a6bb=new Map();return _0x2b910e[_0x1a1304(0x295)](_0x3700ce=>{const _0x3be39b=_0x1a1304;var _0x225881,_0x8e1ecd;const _0x232cda=(_0x225881=_0x3700ce[_0x3be39b(0x1a6)])==null?void 0x0:_0x225881[_0x3be39b(0x1cd)];if(_0x232cda){_0x24a6bb[_0x3be39b(0xec)](_0x232cda)||_0x24a6bb[_0x3be39b(0x2c3)](_0x232cda,[]);const _0x3b6def=this[_0x3be39b(0x2d8)](_0x3700ce);(_0x8e1ecd=_0x24a6bb[_0x3be39b(0x266)](_0x232cda))==null||_0x8e1ecd['push'](..._0x3b6def);}}),_0x24a6bb[_0x1a1304(0x295)]((_0x8e24cf,_0x2426b6)=>{const _0x482da7=_0x1a1304;_0x24a6bb[_0x482da7(0x2c3)](_0x2426b6,this[_0x482da7(0x277)](_0x8e24cf));}),_0x24a6bb;}['_getRangesByMutation'](_0x3173cb){const _0x3faf66=_0x149b74;switch(_0x3173cb['id']){case _0x56ed82['AddRangeProtectionMutation']['id']:{const _0x4828e3=_0x3173cb['params'];return _0x4828e3[_0x3faf66(0x185)][_0x3faf66(0x158)](_0x232726=>_0x232726[_0x3faf66(0x1ee)][_0x3faf66(0x158)](_0x203c44=>({'range':_0x203c44,'unitId':_0x4828e3[_0x3faf66(0x1c6)],'subUnitId':_0x4828e3[_0x3faf66(0x1f4)]})))[_0x3faf66(0x1c7)]();}case _0x56ed82['AddWorksheetMergeMutation']['id']:{const _0x15c4a7=_0x3173cb[_0x3faf66(0x1a6)];return _0x15c4a7[_0x3faf66(0x1ee)][_0x3faf66(0x158)](_0xb8efe8=>({'range':_0xb8efe8,'unitId':_0x15c4a7['unitId'],'subUnitId':_0x15c4a7['subUnitId']}));}case _0x56ed82[_0x3faf66(0x2ca)]['id']:{const _0x2f7588=_0x3173cb[_0x3faf66(0x1a6)];return[{'range':_0x2f7588['range'],'unitId':_0x2f7588['unitId'],'subUnitId':_0x2f7588[_0x3faf66(0x1f4)]}];}case _0x56ed82[_0x3faf66(0x1fe)]['id']:{const _0x527b71=_0x3173cb['params'];return[{'range':_0x527b71[_0x3faf66(0x203)],'unitId':_0x527b71[_0x3faf66(0x1c6)],'subUnitId':_0x527b71[_0x3faf66(0x1f4)]}];}case _0x56ed82[_0x3faf66(0x237)]['id']:{const _0x16460d=_0x3173cb[_0x3faf66(0x1a6)],{from:_0x36fb6d,to:_0x118f33,unitId:_0x1e46ef}=_0x16460d;return[{'range':_0x2e9865(_0x36fb6d['value']),'unitId':_0x1e46ef,'subUnitId':_0x36fb6d[_0x3faf66(0x1f4)]},{'range':_0x2e9865(_0x118f33[_0x3faf66(0x2e2)]),'unitId':_0x1e46ef,'subUnitId':_0x118f33[_0x3faf66(0x1f4)]}];}case _0x56ed82[_0x3faf66(0x107)]['id']:{const _0x466c7=_0x3173cb[_0x3faf66(0x1a6)],{unitId:_0xef488a,subUnitId:_0x2ba6a5,sourceRange:_0x1cfc0b,targetRange:_0x4a030d}=_0x466c7,_0x28f2f9=_0x1cfc0b[_0x3faf66(0x1e0)]-_0x1cfc0b[_0x3faf66(0x2dd)]+0x1;return[{'range':_0x4a030d[_0x3faf66(0x2dd)]<=_0x1cfc0b['startRow']?_0x4a030d:{..._0x4a030d,'startRow':_0x4a030d['startRow']-_0x28f2f9,'endRow':_0x4a030d[_0x3faf66(0x1e0)]-_0x28f2f9},'unitId':_0xef488a,'subUnitId':_0x2ba6a5}];}case _0x56ed82['MoveColsMutation']['id']:{const _0x15f73d=_0x3173cb[_0x3faf66(0x1a6)],{unitId:_0x1266d2,subUnitId:_0xb5ef5f,sourceRange:_0x27f7a4,targetRange:_0x1ccbff}=_0x15f73d,_0x15a531=_0x27f7a4[_0x3faf66(0xde)]-_0x27f7a4['startColumn']+0x1;return[{'range':_0x1ccbff['startColumn']<=_0x27f7a4[_0x3faf66(0x257)]?_0x1ccbff:{..._0x1ccbff,'startColumn':_0x1ccbff['startColumn']-_0x15a531,'endColumn':_0x1ccbff[_0x3faf66(0xde)]-_0x15a531},'unitId':_0x1266d2,'subUnitId':_0xb5ef5f}];}case _0x56ed82['SetNumfmtMutation']['id']:{const _0x5529aa=_0x3173cb[_0x3faf66(0x1a6)],{values:_0x8199c8,unitId:_0x225ea8,subUnitId:_0x48b4f8}=_0x5529aa;return Object[_0x3faf66(0x1ed)](_0x8199c8)[_0x3faf66(0x158)](_0xa2f5c2=>_0xa2f5c2['ranges'][_0x3faf66(0x158)](_0x3c59f1=>({'range':_0x3c59f1,'unitId':_0x225ea8,'subUnitId':_0x48b4f8})))[_0x3faf66(0x1c7)]();}case _0x56ed82['RemoveNumfmtMutation']['id']:{const _0x515e44=_0x3173cb[_0x3faf66(0x1a6)],{ranges:_0xb7d931,unitId:_0x1bdce5,subUnitId:_0x4239c4}=_0x515e44;return _0xb7d931['map'](_0x4096ac=>({'range':_0x4096ac,'unitId':_0x1bdce5,'subUnitId':_0x4239c4}));}case _0x56ed82[_0x3faf66(0x209)]['id']:{const _0x591c67=_0x3173cb[_0x3faf66(0x1a6)],{unitId:_0x34ce39,subUnitId:_0x1eb589,range:_0x94e03f}=_0x591c67;return[{'range':_0x94e03f,'unitId':_0x34ce39,'subUnitId':_0x1eb589}];}case _0x56ed82[_0x3faf66(0x2d4)]['id']:{const _0x4d99c6=_0x3173cb['params'];return _0x4d99c6['rule'][_0x3faf66(0x1ee)]['map'](_0x39f073=>({'range':_0x39f073,'unitId':_0x4d99c6[_0x3faf66(0x1c6)],'subUnitId':_0x4d99c6[_0x3faf66(0x1f4)]}));}case _0x56ed82[_0x3faf66(0x287)]['id']:{const _0x57c98f=_0x3173cb[_0x3faf66(0x1a6)];return _0x57c98f[_0x3faf66(0x149)]?_0x303cfa(_0x57c98f[_0x3faf66(0x149)])[_0x3faf66(0x158)](_0x33c0d7=>({'range':_0x33c0d7,'unitId':_0x57c98f[_0x3faf66(0x1c6)],'subUnitId':_0x57c98f['subUnitId']})):[];}case _0x2fa927[_0x3faf66(0x133)]['id']:{const _0x2a7742=_0x3173cb[_0x3faf66(0x1a6)];return[{'range':_0x2a7742[_0x3faf66(0x203)],'unitId':_0x2a7742['unitId'],'subUnitId':_0x2a7742[_0x3faf66(0x1f4)]}];}case _0x346063[_0x3faf66(0x111)]['id']:{const _0x248c29=_0x3173cb[_0x3faf66(0x1a6)];return(Array['isArray'](_0x248c29['rule'])?_0x248c29[_0x3faf66(0x2f2)]:[_0x248c29[_0x3faf66(0x2f2)]])['map'](_0xd8fe31=>_0xd8fe31[_0x3faf66(0x1ee)]['map'](_0x3f7668=>({'range':_0x3f7668,'unitId':_0x248c29[_0x3faf66(0x1c6)],'subUnitId':_0x248c29[_0x3faf66(0x1f4)]})))['flat']();}case _0xed2ba5['SetConditionalRuleMutation']['id']:{const _0x290a07=_0x3173cb[_0x3faf66(0x1a6)];return _0x290a07[_0x3faf66(0x2f2)][_0x3faf66(0x1ee)][_0x3faf66(0x158)](_0x58db18=>({'range':_0x58db18,'unitId':_0x290a07[_0x3faf66(0x1c6)],'subUnitId':_0x290a07[_0x3faf66(0x1f4)]}));}default:return[];}}[_0x149b74(0x277)](_0x300b55){const _0x1acdd6=_0x149b74;if(_0x300b55[_0x1acdd6(0x121)]<=0x1)return _0x300b55;const _0x435dd8=new Map();return _0x300b55[_0x1acdd6(0x295)](_0x38fb80=>{const _0x22f795=_0x1acdd6;var _0x473bfb;const {unitId:_0x234684,subUnitId:_0x37b79f}=_0x38fb80,_0x4a8100=_0x234684+'-'+_0x37b79f;_0x435dd8['has'](_0x4a8100)?(_0x473bfb=_0x435dd8[_0x22f795(0x266)](_0x4a8100))==null||_0x473bfb[_0x22f795(0x27c)](_0x38fb80):_0x435dd8[_0x22f795(0x2c3)](_0x4a8100,[_0x38fb80]);}),Array[_0x1acdd6(0x193)](_0x435dd8[_0x1acdd6(0x1ed)]())['map'](_0x1e8a53=>new _0x56ed82[(_0x1acdd6(0x14c))]()[_0x1acdd6(0x208)](..._0x1e8a53[_0x1acdd6(0x158)](_0x1cf363=>_0x1cf363['range']))[_0x1acdd6(0x18a)]()[_0x1acdd6(0x158)](_0x4712ce=>({'range':_0x4712ce,'unitId':_0x1e8a53[0x0]['unitId'],'subUnitId':_0x1e8a53[0x0][_0x1acdd6(0x1f4)]})))[_0x1acdd6(0x1c7)]();}};_0x19337e=_0x2630ce([_0x5daccd(0x0,_0x287239['Inject'](_0x2afb7b['HistoryManagerService'])),_0x5daccd(0x1,_0x4658e3[_0x149b74(0x1c8)]),_0x5daccd(0x2,_0x4658e3['ISnapshotServerService'])],_0x19337e);function _0x2e9865(_0x329d33){const _0x8448a3=_0x149b74;return new _0x287239[(_0x8448a3(0x26a))](_0x329d33)[_0x8448a3(0x1b5)]();}function _0x303cfa(_0xa30e34){const _0x349c74=_0x149b74,_0x8e257f=new _0x287239[(_0x349c74(0x26a))](_0xa30e34),_0x484777=new _0x287239['ObjectMatrix']();return _0x8e257f[_0x349c74(0x116)]((_0x355732,_0x4d0efd)=>{const _0x3c8e98=_0x349c74;_0x484777[_0x3c8e98(0x1d8)](_0x355732,_0x4d0efd,0x1);}),_0x56ed82[_0x349c74(0x11c)](_0x484777);}var _0x5790ee=Object['getOwnPropertyDescriptor'],_0x28c6e5=(_0x15e023,_0x6ab3e0,_0x220549,_0x554ed7)=>{const _0xda859a=_0x149b74;for(var _0x12c3cf=_0x554ed7>0x1?void 0x0:_0x554ed7?_0x5790ee(_0x6ab3e0,_0x220549):_0x6ab3e0,_0x42701b=_0x15e023[_0xda859a(0x121)]-0x1,_0x23a23a;_0x42701b>=0x0;_0x42701b--)(_0x23a23a=_0x15e023[_0x42701b])&&(_0x12c3cf=_0x23a23a(_0x12c3cf)||_0x12c3cf);return _0x12c3cf;},_0x16d3b6=(_0x3ba353,_0x11779f)=>(_0x19a1cc,_0x47d26c)=>_0x11779f(_0x19a1cc,_0x47d26c,_0x3ba353);let _0x31d0e5=class extends _0x287239[_0x149b74(0x23e)]{constructor(_0x68d5e3,_0x556984,_0x4e2bae,_0x4b5d5d,_0x5e0719,_0xeed00f,_0x5be944){const _0x21b6dd=_0x149b74;super(),_0x217380(this,_0x21b6dd(0x279),new Set()),_0x217380(this,_0x21b6dd(0x267),null),(this[_0x21b6dd(0x148)]=_0x68d5e3,this[_0x21b6dd(0x1b9)]=_0x556984,this['_versionDiffService']=_0x4e2bae,this[_0x21b6dd(0x17a)]=_0x4b5d5d,this[_0x21b6dd(0x253)]=_0x5e0719,this[_0x21b6dd(0x1cf)]=_0xeed00f,this[_0x21b6dd(0x2e6)]=_0x5be944,this[_0x21b6dd(0x1b4)]());}[_0x149b74(0x1b4)](){const _0x40b014=_0x149b74;this[_0x40b014(0x124)](),this['_initActiveSwitch']();}[_0x149b74(0x124)](){const _0x40aa70=_0x149b74;this[_0x40aa70(0x17c)](_0x493d52[_0x40aa70(0xe8)]([this[_0x40aa70(0x1b9)][_0x40aa70(0x15c)],this['_sheetSkeletonManagerService']['currentSkeleton$']])[_0x40aa70(0x12b)](_0x493d52[_0x40aa70(0x198)](([_0x35c1f8,_0x300cb6])=>{const _0x1618f0=_0x40aa70;if(_0x35c1f8===_0x411a36[_0x1618f0(0x258)]&&_0x300cb6){const _0x524668=_0x300cb6['sheetId'];return this[_0x1618f0(0x232)][_0x1618f0(0x2b7)][_0x1618f0(0x12b)](_0x493d52['map'](_0x2283b3=>{const _0x450c2f=_0x1618f0,_0x3a57f9=new Map();return _0x2283b3[_0x450c2f(0x1ee)][_0x450c2f(0x295)]((_0x35fe21,_0x3aa038)=>{const _0x1581c9=_0x450c2f,_0x4286df=_0x35fe21['filter'](_0x315f90=>_0x315f90[_0x1581c9(0x1f4)]===_0x524668);_0x3a57f9[_0x1581c9(0x2c3)](_0x3aa038,_0x4286df);}),{'skeleton':_0x300cb6,'diffs':_0x3a57f9};}));}return _0x493d52['of']({'skeleton':null,'diffs':new Map()});}))[_0x40aa70(0x2a3)](({skeleton:_0x306aa6,diffs:_0x1e5fdb})=>{const _0x3c6989=_0x40aa70;this['_removeDiffMarks'](),_0x306aa6&&this[_0x3c6989(0x18d)](_0x306aa6,_0x1e5fdb);})),this[_0x40aa70(0x17c)](this[_0x40aa70(0x1cf)][_0x40aa70(0x2a8)][_0x40aa70(0x2a3)](_0x1b724b=>{const _0xf75352=_0x40aa70;if(_0x1b724b==null)return;const {skeleton:_0xe7505b}=_0x1b724b,{scene:_0x489006}=this[_0xf75352(0x148)];_0x489006[_0xf75352(0x293)][_0xf75352(0x1dd)](_0x287239[_0xf75352(0x270)](_0x4dcd3e=>{const _0x2e8a73=_0xf75352;var _0x4c2876,_0x12f7ac;const {offsetX:_0x169fba,offsetY:_0x2e682f}=_0x4dcd3e,{x:_0x2178fd,y:_0x501726}=_0x489006['getRelativeToViewportCoord'](_0x185f7f[_0x2e8a73(0x16b)][_0x2e8a73(0x22b)]([_0x169fba,_0x2e682f])),{scaleX:_0xa865b5,scaleY:_0xf57099}=_0x489006[_0x2e8a73(0x29d)](),_0x40e9ad=_0x489006[_0x2e8a73(0xf1)](_0x185f7f[_0x2e8a73(0x1ae)]['VIEW_MAIN']),_0xc71fa4=_0x489006[_0x2e8a73(0x27e)](_0x185f7f[_0x2e8a73(0x16b)]['FromArray']([_0x2178fd,_0x501726]),_0x40e9ad),_0xc67b34=_0xe7505b['getCellPositionByOffset'](_0x169fba,_0x2e682f,_0xa865b5,_0xf57099,_0xc71fa4);((_0x4c2876=this['_lastPointer'])==null?void 0x0:_0x4c2876['column'])===_0xc67b34[_0x2e8a73(0x286)]&&((_0x12f7ac=this['_lastPointer'])==null?void 0x0:_0x12f7ac[_0x2e8a73(0x112)])===_0xc67b34[_0x2e8a73(0x112)]||this['_diffs'][_0x2e8a73(0x295)](_0xced18=>{const _0x203230=_0x2e8a73;_0xced18[_0x203230(0x128)](_0xc67b34);});},0x64));}));}[_0x149b74(0x26b)](){const _0x2d3524=_0x149b74;this[_0x2d3524(0x17c)](this[_0x2d3524(0x1b9)][_0x2d3524(0x15c)][_0x2d3524(0x2a3)](_0x39858e=>{const _0x3fe529=_0x2d3524,_0x3eb960=new _0x287239[(_0x3fe529(0x2a2))]();return _0x39858e===_0x411a36[_0x3fe529(0x258)]&&(_0x3eb960[_0x3fe529(0x2e9)](),_0x3eb960[_0x3fe529(0x208)](this[_0x3fe529(0x232)]['currentVersionDiff$'][_0x3fe529(0x2a3)](_0x13a266=>{const _0x30cc95=_0x3fe529;_0x13a266['active']&&this[_0x30cc95(0x2e6)]['executeCommand'](_0x56ed82[_0x30cc95(0x2b6)]['id'],{'unitId':this[_0x30cc95(0x148)][_0x30cc95(0x1c6)],'subUnitId':_0x13a266[_0x30cc95(0x1c3)]});}))),()=>_0x3eb960[_0x3fe529(0x2e9)]();}));}[_0x149b74(0x18d)](_0x15436d,_0x1fb236){const _0x5e4031=_0x149b74;var _0x2cf611;const _0x100615=(_0x2cf611=this[_0x5e4031(0x1cf)]['getCurrent']())==null?void 0x0:_0x2cf611[_0x5e4031(0x2de)];if(!_0x100615)return;this['_diffs'][_0x5e4031(0x295)](_0x2db421=>{_0x2db421['makeDirty']();});const {scene:_0x37a4e7}=this[_0x5e4031(0x148)],_0x509f95=Array[_0x5e4031(0x193)](_0x1fb236[_0x5e4031(0x18f)]())[_0x5e4031(0x158)](_0x17e340=>_0x1fb236['get'](_0x17e340)['map'](_0x253e14=>{const _0x1c9a45=_0x5e4031;var _0x395133;const {range:_0x5c7e16,subUnitId:_0x249c92,unitId:_0x437cf4}=_0x253e14,{startColumn:_0x42944c,startRow:_0x44cec9,endColumn:_0x26704a,endRow:_0x49a17e}=_0x5c7e16,_0x33a2ed=_0xf33c3[_0x1c9a45(0x2f1)](_0x44cec9,_0x42944c,_0x37a4e7,_0x100615),_0xe280e5=_0xf33c3[_0x1c9a45(0x2f1)](_0x49a17e,_0x26704a,_0x37a4e7,_0x100615),{columnHeaderHeightAndMarginTop:_0x4f1a3b}=_0x100615,{startX:_0x442682,startY:_0x1f3eb0}=_0x33a2ed,{endX:_0x5df8ab,endY:_0x2a4c7c}=_0xe280e5,_0x4019a8=_0x5df8ab-_0x442682,_0x1e8262=_0x2a4c7c-_0x1f3eb0,_0x29ca35={'labelPosition':_0x1f3eb0-_0x4f1a3b>=0x14?'top':_0x1c9a45(0xdc),'sheetID':_0x249c92,'range':_0x5c7e16,'color':_0x1c9a45(0x2b4),'fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x1c9a45(0x2b4),'name':((_0x395133=this['_historyManagerService'][_0x1c9a45(0x282)](_0x17e340))==null?void 0x0:_0x395133['name'])||'','selection':_0x437cf4+'-'+_0x249c92+'-'+_0x5c7e16[_0x1c9a45(0x257)]+'-'+_0x5c7e16['startRow']+'-'+_0x5c7e16[_0x1c9a45(0xde)]+'-'+_0x5c7e16[_0x1c9a45(0x1e0)],'left':_0x442682,'top':_0x1f3eb0,'width':_0x4019a8,'height':_0x1e8262,'evented':!0x1,'zIndex':0x1};return new _0x50e0f0['SheetCollabCursorShape']('',_0x29ca35);}))[_0x5e4031(0x1c7)]();_0x37a4e7['addObjects'](_0x509f95,0x1),this[_0x5e4031(0x279)]=new Set(_0x509f95);}[_0x149b74(0x238)](){const _0x2dd9c7=_0x149b74;var _0x1ce5b0;(_0x1ce5b0=this[_0x2dd9c7(0x279)])==null||_0x1ce5b0[_0x2dd9c7(0x295)](_0x3a053f=>_0x3a053f[_0x2dd9c7(0x2e9)]());}[_0x149b74(0x118)](){const _0x522aa1=_0x149b74;return _0xf33c3['getSheetObject'](this[_0x522aa1(0x17a)],this['_renderManagerService']);}};_0x31d0e5=_0x28c6e5([_0x16d3b6(0x1,_0x287239[_0x149b74(0x14e)](_0x2afb7b[_0x149b74(0x15b)])),_0x16d3b6(0x2,_0x287239[_0x149b74(0x14e)](_0x19337e)),_0x16d3b6(0x3,_0x287239[_0x149b74(0x1b3)]),_0x16d3b6(0x4,_0x185f7f[_0x149b74(0x256)]),_0x16d3b6(0x5,_0x287239['Inject'](_0xf33c3[_0x149b74(0x110)])),_0x16d3b6(0x6,_0x287239[_0x149b74(0x180)])],_0x31d0e5);function _0x21c1c8(){const _0x3780de=_0x149b74,_0x1bbb77=_0x1f9fca[_0x3780de(0x1a9)](_0x2afb7b[_0x3780de(0x15b)]),_0xaf6f7=_0x1f9fca['useObservable'](_0x1bbb77[_0x3780de(0x156)]),[_0x5a4802,_0x37e881]=_0x5cef4f['useState'](!0x1),_0x204a1a=_0x4f3174(_0xaf6f7);return _0xaf6f7?_0x5118a6[_0x3780de(0xff)](_0x3780de(0x2a6),{'className':_0x3780de(0x296),'children':_0x5118a6[_0x3780de(0x1b8)](_0x3780de(0x2a6),{'className':'univer-h-full\x20univer-space-y-2\x20univer-overflow-auto\x20univer-pb-4','children':[_0x204a1a[_0x3780de(0x158)]((_0x5af571,_0x57b1e3)=>_0x5118a6[_0x3780de(0x1b8)](_0x5cef4f[_0x3780de(0x2b8)],{'children':[_0x5118a6['jsx'](_0x1d7efe,{'date':_0x5af571[_0x3780de(0x264)]}),_0x5af571[_0x3780de(0x2d1)][_0x3780de(0x158)]((_0x4d5f8a,_0x310bfa)=>_0x5118a6[_0x3780de(0xff)](_0x522a74,{'index':[_0x57b1e3,_0x310bfa],'item':_0x4d5f8a},_0x57b1e3+'-'+_0x310bfa))]},_0x5af571[_0x3780de(0x264)])),_0x5a4802&&_0x5118a6['jsx'](_0x25fa5d,{})]})}):_0x5118a6['jsx'](_0x46b8e6,{});}function _0x25fa5d(){const _0x2b2a0b=_0x149b74;return _0x5118a6['jsx'](_0x2b2a0b(0x2a6),{'className':_0x2b2a0b(0x11a),'children':_0x5118a6[_0x2b2a0b(0xff)](_0x2ae722,{'className':_0x2b2a0b(0x234)})});}function _0x46b8e6(){const _0x3c82ad=_0x149b74;return _0x5118a6[_0x3c82ad(0xff)]('div',{'className':'univer-flex\x20univer-items-center\x20univer-justify-center','children':_0x5118a6['jsx'](_0x3c82ad(0x20c),{'className':_0x3c82ad(0x2b9),'children':_0x5118a6[_0x3c82ad(0xff)](_0x2ae722,{'className':'univer-m-auto\x20univer-animate-spin'})})});}function _0x1d7efe(_0xf80d4c){const _0x255f6e=_0x149b74,_0x75567a=_0x1f9fca['useDependency'](_0x287239['LocaleService']),{date:_0x33393e}=_0xf80d4c;return _0x5118a6[_0x255f6e(0xff)](_0x255f6e(0x2a6),{'className':_0x255f6e(0x1f7),'children':_0x1d8852(_0x33393e,_0x75567a[_0x255f6e(0x2c7)]())});}function _0x522a74(_0x5f0452){const _0x40ab56=_0x149b74,{item:_0x2db31c,index:_0x40424f}=_0x5f0452,{time:_0x2a4459,user:_0x5a1c58}=_0x2db31c,[_0x1eef2d,_0x121525]=_0x40424f,_0x50bf5c=_0x1f9fca[_0x40ab56(0x1a9)](_0x2afb7b[_0x40ab56(0x15b)]),_0x2f880e=_0x1f9fca[_0x40ab56(0x240)](_0x50bf5c[_0x40ab56(0x2fe)],'',!0x0)===_0x2db31c['id'],_0x50f42e=_0x1eef2d===0x0&&_0x121525===0x0,_0x125787=!_0x50f42e&&_0x50bf5c['canRevert'],_0x3a8031=_0x1f9fca['useDependency'](_0x287239[_0x40ab56(0x298)]),_0x53444c=_0x3a8031[_0x40ab56(0x2c7)](),_0x1e6c1f=_0x610a11(_0x2a4459,_0x53444c),_0x3ec57e=_0x3a8031['t']('editHistory.panel.currentVersion'),_0xd5fc85=_0x5cef4f['useCallback'](_0x2f6496=>{const _0x2ad625=_0x40ab56;_0x50bf5c[_0x2ad625(0x190)]!==_0x411a36[_0x2ad625(0x181)]&&(_0x50bf5c[_0x2ad625(0x2ce)]=_0x2f6496);},[_0x50bf5c]),_0x4a05b2=_0x5cef4f['useCallback'](_0x2ab42b=>{const _0x43edef=_0x40ab56;_0x50bf5c[_0x43edef(0x271)](_0x2ab42b);},[_0x50bf5c]);return _0x5118a6[_0x40ab56(0x1b8)](_0x40ab56(0x2a6),{'className':_0x407bc3[_0x40ab56(0x17d)]('univer-h-15\x20univer-flex\x20univer-cursor-pointer\x20univer-flex-col\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-px-4\x20univer-py-1.5\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800',{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0x2f880e}),'onClick':()=>_0xd5fc85(_0x2db31c['id']),'children':[_0x5118a6[_0x40ab56(0x1b8)]('div',{'className':'univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','children':[_0x5118a6[_0x40ab56(0x1b8)](_0x40ab56(0x2a6),{'className':_0x40ab56(0x147),'children':[_0x5118a6[_0x40ab56(0xff)](_0x40ab56(0x20c),{'children':_0x1e6c1f[_0x40ab56(0x233)]}),_0x50f42e&&_0x5118a6['jsx']('span',{'className':_0x40ab56(0x108),'children':_0x3ec57e})]}),_0x5118a6[_0x40ab56(0xff)]('div',{'children':_0x125787&&_0x5118a6[_0x40ab56(0xff)](_0x407bc3[_0x40ab56(0x2bd)],{'title':_0x3a8031['t'](_0x40ab56(0x2b2)),'children':_0x5118a6[_0x40ab56(0xff)](_0x40ab56(0x2a6),{'onClick':_0x40539c=>{_0x40539c['stopPropagation'](),_0x4a05b2(_0x2db31c['id']);},'className':_0x40ab56(0x294),'children':_0x5118a6['jsx'](_0x3664fd,{})})})})]}),_0x5118a6['jsx'](_0x40ab56(0x2a6),{'className':_0x40ab56(0x1f9),'children':_0x5ef180(_0x2db31c,_0x3a8031)})]});}var _0xfac406=Object[_0x149b74(0x1c2)],_0x5c1e75=(_0x4c05bb,_0x51b2e2,_0x325a11,_0x4d7624)=>{const _0x1b20b3=_0x149b74;for(var _0x3be1cf=_0x4d7624>0x1?void 0x0:_0x4d7624?_0xfac406(_0x51b2e2,_0x325a11):_0x51b2e2,_0x10add7=_0x4c05bb[_0x1b20b3(0x121)]-0x1,_0xeebf75;_0x10add7>=0x0;_0x10add7--)(_0xeebf75=_0x4c05bb[_0x10add7])&&(_0x3be1cf=_0xeebf75(_0x3be1cf)||_0x3be1cf);return _0x3be1cf;},_0x23d421=(_0x57705b,_0x4da916)=>(_0x4b0680,_0x4ef1f0)=>_0x4da916(_0x4b0680,_0x4ef1f0,_0x57705b);const _0x260210=_0x149b74(0x2fa);let _0x50b0d8=class extends _0x287239[_0x149b74(0x23e)]{constructor(_0x597b4a,_0x4ab10e,_0x4c1f87,_0x3a5cd3){const _0x5a93e9=_0x149b74;super(),_0x217380(this,_0x5a93e9(0x2df),null),(this[_0x5a93e9(0x274)]=_0x597b4a,this[_0x5a93e9(0x13e)]=_0x4ab10e,this[_0x5a93e9(0x23b)]=_0x4c1f87,this[_0x5a93e9(0x1b9)]=_0x3a5cd3,this[_0x5a93e9(0x1b4)]());}['_init'](){const _0x29dc0a=_0x149b74;this[_0x29dc0a(0x192)](),this[_0x29dc0a(0x20d)]();}[_0x149b74(0x20d)](){const _0x520556=_0x149b74;if(this[_0x520556(0x2df)])return;const _0x542948={'header':{'title':this['_localeService']['t'](_0x520556(0x184))},'children':{'label':_0x260210},'onClose':()=>{const _0x47908b=_0x520556;this[_0x47908b(0x2df)]=null,this[_0x47908b(0x1b9)][_0x47908b(0x120)]=_0x2c8ae7[_0x47908b(0x1a4)];}};this[_0x520556(0x2df)]=this[_0x520556(0x274)][_0x520556(0x1ab)]({..._0x542948});}[_0x149b74(0x192)](){const _0x1cc4e9=_0x149b74;this[_0x1cc4e9(0x17c)](this[_0x1cc4e9(0x13e)][_0x1cc4e9(0x2cd)](_0x260210,_0x21c1c8)),this['disposeWithMe'](this[_0x1cc4e9(0x274)][_0x1cc4e9(0x1db)][_0x1cc4e9(0x12b)](_0x493d52[_0x1cc4e9(0x25b)](0x64))[_0x1cc4e9(0x2a3)](_0xb5f1c1=>{const _0x52ed6c=_0x1cc4e9,{target:_0x374496}=_0xb5f1c1||{};if(_0x374496){const {scrollTop:_0x503f6a,scrollHeight:_0x3d6004,clientHeight:_0x1747de}=_0x374496;_0x503f6a+_0x1747de>=_0x3d6004-0x5&&this[_0x52ed6c(0x1b9)]['loadMoreVersions']();}}));}};_0x50b0d8=_0x5c1e75([_0x23d421(0x0,_0x1f9fca[_0x149b74(0x2eb)]),_0x23d421(0x1,_0x287239[_0x149b74(0x14e)](_0x1f9fca['ComponentManager'])),_0x23d421(0x2,_0x287239[_0x149b74(0x14e)](_0x287239[_0x149b74(0x298)])),_0x23d421(0x3,_0x287239[_0x149b74(0x14e)](_0x2afb7b[_0x149b74(0x15b)]))],_0x50b0d8);class _0x2d670a extends _0x287239[_0x149b74(0x23e)]{constructor(){const _0x271d27=_0x149b74;super(),_0x217380(this,_0x271d27(0x269),new _0x493d52[(_0x271d27(0x248))]());}[_0x149b74(0x1ab)](){const _0x4bcc8e=_0x149b74;return _0x287239[_0x4bcc8e(0xd5)](()=>{});}[_0x149b74(0x131)](){}[_0x149b74(0x2e3)](_0x3831a4){}[_0x149b74(0x1e5)](){const _0x4d42fb=_0x149b74;return this[_0x4d42fb(0x269)]['asObservable']();}}var _0x1be837=Object['defineProperty'],_0x213d28=Object[_0x149b74(0x1c2)],_0x19865e=(_0x252db6,_0x3acddb,_0x2a80ec)=>_0x3acddb in _0x252db6?_0x1be837(_0x252db6,_0x3acddb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2a80ec}):_0x252db6[_0x3acddb]=_0x2a80ec,_0x22174d=(_0x167eda,_0x5cf881,_0x12ca7b,_0x5d155c)=>{for(var _0x596767=_0x5d155c>0x1?void 0x0:_0x5d155c?_0x213d28(_0x5cf881,_0x12ca7b):_0x5cf881,_0x15ae29=_0x167eda['length']-0x1,_0x14fed1;_0x15ae29>=0x0;_0x15ae29--)(_0x14fed1=_0x167eda[_0x15ae29])&&(_0x596767=_0x14fed1(_0x596767)||_0x596767);return _0x596767;},_0x246dbd=(_0x201656,_0x516fe3)=>(_0x3f1c9b,_0x1e65d0)=>_0x516fe3(_0x3f1c9b,_0x1e65d0,_0x201656),_0x86a201=(_0x4b8818,_0x57ea0a,_0x52999b)=>_0x19865e(_0x4b8818,_0x57ea0a+'',_0x52999b);const _0x5af79d=_0x149b74(0x212);_0x2afb7b[_0x149b74(0x122)]=class extends _0x287239['Plugin']{constructor(_0x39581f=_0x3b2a13,_0x25105b,_0x125c69,_0x491a7d){const _0xe33899=_0x149b74;super(),this[_0xe33899(0x261)]=_0x39581f,this[_0xe33899(0x1ff)]=_0x25105b,this[_0xe33899(0x253)]=_0x125c69,this[_0xe33899(0x13b)]=_0x491a7d;const {..._0x20f712}=_0x287239[_0xe33899(0x18a)]({},_0x3b2a13,this[_0xe33899(0x261)]);this['_configService'][_0xe33899(0x204)](_0x18ecfb,_0x20f712);}['onStarting'](){const _0x49a127=_0x149b74;[[_0x2afb7b[_0x49a127(0x15b)]],[_0x592ff1],[_0x19337e],[_0x35ad97],[_0x50b0d8],[_0x6a9a62],[_0x4658e3[_0x49a127(0x2f3)],{'useClass':_0x4342ff[_0x49a127(0x1c5)]}],[_0x1f9fca[_0x49a127(0x160)],{'useClass':_0x2d670a}],[_0x21904a[_0x49a127(0x141)],{'useClass':_0x4342ff[_0x49a127(0x211)]}]][_0x49a127(0x295)](_0xf2ad44=>this[_0x49a127(0x1ff)][_0x49a127(0x208)](_0xf2ad44)),this[_0x49a127(0x1ff)][_0x49a127(0x266)](_0x592ff1);}[_0x149b74(0x1a2)](){const _0x425391=_0x149b74;[[_0x31d0e5]][_0x425391(0x295)](_0x15ebf4=>{const _0x2f66fe=_0x425391;this[_0x2f66fe(0x17c)](this[_0x2f66fe(0x253)][_0x2f66fe(0x260)](_0x287239[_0x2f66fe(0x1e6)][_0x2f66fe(0xd7)],_0x15ebf4));}),this[_0x425391(0x1ff)][_0x425391(0x266)](_0x6a9a62),this[_0x425391(0x1ff)][_0x425391(0x266)](_0x50b0d8);}[_0x149b74(0xd8)](){const _0x775f97=_0x149b74;this[_0x775f97(0x1ff)][_0x775f97(0x266)](_0x19337e);}},_0x86a201(_0x2afb7b['UniverEditHistoryViewerPlugin'],_0x149b74(0x27d),_0x5af79d),_0x2afb7b[_0x149b74(0x122)]=_0x22174d([_0x287239[_0x149b74(0x215)](_0xf33c3[_0x149b74(0x29c)],_0x2b0737[_0x149b74(0x22e)]),_0x246dbd(0x1,_0x287239['Inject'](_0x287239[_0x149b74(0x2d3)])),_0x246dbd(0x2,_0x185f7f['IRenderManagerService']),_0x246dbd(0x3,_0x287239[_0x149b74(0xeb)])],_0x2afb7b[_0x149b74(0x122)]),_0x2afb7b['HistoryModeStatus']=_0x2c8ae7,Object['defineProperty'](_0x2afb7b,Symbol['toStringTag'],{'value':_0x149b74(0x1d4)});}));function _0x5804(){const _0x5dea01=['next','IPermissionService','width','0\x200\x2016\x2016','@univerjs/design','onRendered','CHANGESET_REVISION_CONFILICT','Exited','defIds','params','ViemRwHgtClWdt','DATA_SOURCE_TOO_LARGE','useDependency','ENTITLE_CHAT_LIMIT_EXCEED','open','asObservable','white','SHEET_VIEWPORT_KEY','_snapshotServerService','currentColor','UniverSheetsConditionalFormatting','tag','IUniverInstanceService','_init','getDataRange','AUTHORIZE_CODE_ILLEGAL','padStart','jsxs','_historyManagerService','SetRowStyle','getMinutes','editHistory.panel.currentUser','HideWorksheet','symbol','MoveSheet','LICENSE_EXPORT_SIZE_EXCEEDED','1386376Fynmal','getOwnPropertyDescriptor','active','COMPRESS_MUTATION_APPLY','SnapshotServerOverHTTPService','unitId','flat','ITransformService','ViewFilter','_unitId$','CreateUnitMutation','SetWorksheetHideMutation','memberId','WorkbookEditablePermission','_sheetSkeletonManagerService','backgroundColor','SetFrozenMutation','PY_RUNTIME_SCRIPT_ERROR','mutations','Module','_lastLabel','fetchMissingChangesets','UniverDrawing','setValue','historyListServerUrl','WorkbookHideSheetPermission','scrollEvent$','zIndex','subscribeEvent','date','revertSheet','endRow','hidden','AddWorksheetProtectionMutation','flex','INVALID_ARGUMENT','getDialogs$','UniverInstanceType','UniverEngineRender','endRev','position','1000','createSheet','_getActiveSubUnitId','values','ranges','SetWorksheetStyle','SetCellStyle','HEADER','LICENSE_MAX_UNITS_EXCEEDED','_messageService','subUnitId','_revertRevision$','LOGIN_TOKEN_PROCESSING_FAILED','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-text-sm\x20univer-font-medium','UNIVER_PROJECT','univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','HideSheet','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','NOT_FOUND','CreateSheet','InsertColMutation','_injector','_members','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','UniverProEditHistoryViewer','range','setConfig','getCurrentVersion','status$','Sort','add','ReorderRangeMutation','_fetching','style','span','_openPanel','replace','16914ZGsBUU','UniverSheets','CollaborationImageIoService','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','ENTITLE_REPORT_LIMIT_EXCEED','395XRrbXU','DependentOn','5348720TfEtrH','_loadingState$','DeleteColumn','SelectUnProtectedCells','USER_IS_ANONYMOUS','UNIVER_UNKNOWN','toString','setDV','CreatePermissionObject','attrs','ENTITLE_CAN_NOT_BUY_LOWER_OTP','YUUMI_CONNECTOR_URL_NOT_FOUND','split','DeleteWorksheet','284225VzJIdP','REDEMPTION_CODE_FULLY_REDEEMED','@univerjs-pro/collaboration-client','fill','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','_maskContainer','@univerjs/sheets','FromArray','loading','fetchThroughInterceptors','UniverNetworkPlugin','center','getInterceptPoints','Filter','_versionDiffService','time','univer-animate-spin','Delete','permissionPointUpdate$','MoveRangeMutation','_removeDiffMarks','_uiPartsService','MOBILE_HAS_BEEN_BOUND','_localeService','refreshRangeProtectPermission','_compressMutationService','Disposable','display','useObservable','MessageType','UniverSheetsFilter','loadSheet','user','ENTITLE_INSUFFICIENT_QUOTA','entered','CopySheet','Subject','triggerLoadSheet','DeleteSheet','COMPLETION_FINISHED','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','YUUMI_ALL_TABLES_IS_INVALID','RwHgtClWdt','find','YUUMI_SUBSCRIPTION_NOT_FOUND','PERMISSION_DENIED','show','_renderManagerService','APPLY_REJECT','REDEMPTION_USER_REDEEM_TIMES_EXCEED','IRenderManagerService','startColumn','Loaded','hideMask','function','debounceTime','#0B9EFB','AddConditionalRuleMutation','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','querySelector','registerRenderModule','_config','@univerjs-pro/sheets-sparkline','30mWZkoF','dateString','editHistory.header.revert','get','_lastPointer','EditExtraObject','_dialogOptions$','ObjectMatrix','_initActiveSwitch','displayName','xlink:href','REDEMPTION_INVALID_CODE','MoveWorksheet','debounce','triggerRevert','createUnit','MOBILE_VERIFY_CODE_MISMATCH','_sidebarService','exports','loading-multi-icon','_combineRanges','INTERNAL_ERROR','_diffs','users','setCF','push','pluginName','getVpScrollXYInfoByPosToVp','history-mask','EMAIL_VERIFY_CODE_MISMATCH','RenameWorksheet','getMember','loaded','@univerjs/sheets-conditional-formatting','subType','column','SetRangeValuesMutation','BehaviorSubject','LocaleType','UniverUi','INVITE_CODE_HAS_BEEN_UES','ENSURE_SNAPSHOT_EXECUTION','getCurrentUnitForType','now','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','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','Init','isTransformMutationsSuccess','onPointerMove$','univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-text-gray-400\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','forEach','univer-overflow-hidden','height','LocaleService','some','rev','UNDEFINED','UniverSheetsUIPlugin','getAncestorScale','ALREADY_EXISTS','getVersion','_initMaskContainer','_historyFetchService','DisposableCollection','subscribe','editSheet','DeleteRangeProtectionMutation','div','confirm-revert-revision','currentSkeleton$','_createMask','WorkbookRenameSheetPermission','url(#restore-icon_clip0_1247_2)','editHistory.action.revertSheetPrefix','defineProperty','body','restore-icon_clip0_1247_2','anonymous','_createUnit','editHistory.panel.revertDesc','disposeUnit','rgba(58,\x2096,\x20247,\x200.20)','_maskElement','SetWorksheetActiveOperation','currentVersionDiff$','Fragment','univer-text-gray-500','_workbookDataCache','@univerjs/core','children','Tooltip','ENTITLE_NEED_BILLING_ADDRESS','setFilter','colorChannel1','connectInjector','SNAPSHOT_HAS_BEEN_REMOVED','set','mask','CURRENT_STATUS_CANNOT_OPERATE','editHistory.action.etc','getCurrentLocale','_confirmService','rgba(225,\x20225,\x20225,\x200.5)','InsertRowMutation','UNIVER_SLIDE','UniverProCollaboration','register','currentVersion','InsertRow','Edit','versions','@univerjs-pro/collaboration-client-ui','Injector','SetRangeProtectionMutation','REDEMPTION_USER_NOT_ELIGIBLE','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_getRangesByMutation','UniverSheetsUi','entries','1em','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','startRow','skeleton','_sidebarDisposable','createElement','getHours','value','closeAll','@univerjs/ui','transformMutations','_commandService','_permissionService','block','dispose','UniverCore','ISidebarService','SetCellValue','USER_NOT_INVITED_CODE','canRevert','@univerjs/drawing','YUUMI_ASYNCIO_CANCELLED','getCoordByCell','rule','ISnapshotServerService','_hasMore','init','revertRevision$','_versions$','append','SheetPermissionInitController','history-panel','[HistoryFetchService]:\x20request\x20snapshot\x20error!','UniverDataValidation','_status$','currentVersion$','AddRangeProtectionMutation','color','state$','toISOString','amd','getUnitId','getUnitOnRev','toDisposable','useRef','UNIVER_SHEET','onSteady','action','DeleteRow','ManageCollaborator','bottom','showMask','endColumn','_sheetPermissionInitController','RecoverHistory','m1Prime','confirm','SNAPSHOT_INVALID_SNAPSHOT','51537UbLKIu','removeSheet','INVALID_INVITE_CODE','UpdateDataValidationMutation','combineLatest','commands','editHistory.panel.cancel','IConfigService','has','/universer-api/history','CONNECTOR_DATA_TOO_LARGE','RenameSheet','back-icon','getViewport','Print','UNIVER_DOC','interceptor','Today','INVITE_CODE_ALREADY_BOUND','REDEMPTION_CODE_HAS_BEEN_CREATED','restore-icon','current','useCallback','USER_NOT_FOUND','className','PivotTable','editHistory.info.loading','jsx','Export','forwardRef','reduce','196472IebiKi','UNRECOGNIZED','Share','editHistory.action.','MoveRowsMutation','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','userID','getVersions','0\x200\x2016\x2017','changesets','BuiltInUIPart','VIRTUAL_VERSION_NOW','idSuffix','SheetSkeletonManagerService','AddDataValidationMutation','row','EMAIL_HAS_BEEN_BOUND','PAYMENT_CHANNEL_NOT_SUPPORT','rxjs','forValue','@univerjs/engine-render','_getSheetObject','command','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','filter','findAllRectangle','sheet','WECHAT_HAS_BEEN_BOUND','7ngAvrW','status','length','UniverEditHistoryViewerPlugin','_updateVersions','_initRender','@univerjs/sheets-filter','evenodd','userId','onMouseMove','recoverTime','LOGIN_FAILED','pipe','BackIcon','unitId$','_diffRangesMap','getConfig','editHistory.panel.revertConfirm','close','.univer-app-container-content','SetSheetsFilterRangeMutation','_transformMutationByOrder','InsertHyperlink','updatePermissionPoint','_getAPIPrefix','LoadingMultiIcon','addProtection','all','_configService','Error','ensureVersion','_componentManager','Duplicate','IUIPartsService','IImageIoService','none','100%','YUUMI_URL_COL_OUT_OF_RANGE','data','WorkbookMoveSheetPermission','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_context','cellValue','ICellEditorManagerService','setState','RangeMergeUtil','_currentVersion$','Inject','left','Button','@univerjs-pro/collaboration','TOO_MANY_REQUESTS','react/jsx-runtime','FloatImg','View','versions$','error','map','code','YUUMI_NO_CUBOID_FOR_QUESTION','HistoryManagerService','loadingState$','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','_transformService','clear','IDialogService','RemoveSheetMutation','_canRevert','SelectProtectedCells','InsertSheetMutation','2638314hOrDoY','path','syncExecuteCommand','random','APPLY_REVISION_CONFILICT','UniverProSheetsSparkline','Vector2','SetColumnStyle','EditWorksheetCell','REDEMPTION_CODE_INACTIVE','includes','InsertColumn','triggerLoadVersions','setFrozen','APPLY_DUPLICATED','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','UniverNetwork','url(#$1','insertSheet','ERROR_AGAIN','svg','_univerInstanceService','_httpService','disposeWithMe','clsx','primary','Comment','ICommandService','Loading','blockMeta','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','editHistory.panel.title','rules','UniverProCollaborationClientUi',':\x20(','createTime','focusUnit','merge','parse','REDEMPTION_CODE_NOT_STARTED','_updateDiffMarks','ViewHistory','keys','loadingState','_extractRanges','_initPanel','from','UNAUTHENTICATED','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','LICENSE_DISTRO_REJECTED','string','switchMap','assign','RestoreIcon','_currentVersionDiff$','then'];_0x5804=function(){return _0x5dea01;};return _0x5804();}
|
|
1
|
+
function _0x5cc5(){const _0x46f2a7=['svg','_getAPIPrefix','USER_NOT_FOUND','MoveSheet','_sidebarService','confirm-revert-revision','REDEMPTION_USER_NOT_ELIGIBLE','UniverDrawing','style','EMAIL_VERIFY_CODE_MISMATCH','editHistory.action.etc','MOBILE_VERIFY_CODE_MISMATCH','clipPath','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','_historyContainerId','_permissionService','status$','_getActiveSubUnitId','History','getInterceptPoints','Error','disposeUnit','Edit','APPLY_PERMISSION_DENIED','push','scrollEvent$','COMPRESS_MUTATION_APPLY','UniverUi','univer-h-full\x20univer-space-y-2\x20univer-overflow-auto\x20univer-pb-4','focusUnit','RwHgtClWdt','workbook','xlink:href','univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','startRow','UNIVER_SLIDE','_removeDiffMarks','restore-icon','Export','_cellEditorManagerService','SNAPSHOT_HAS_BEEN_REMOVED','random','div','cellValue','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-text-sm\x20univer-font-medium','history-panel','values','ViemRwHgtClWdt','span','Loaded','mask','USER_NOT_INVITED_CODE','IConfigService','querySelector','_confirmService','unitId$','CreateUnitMutation','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','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','name','SetRowStyle','/list?length=20','ITransformService','getCurrentVersion','_unitId$','_sheetSkeletonManagerService','#0B9EFB','currentVersion$','1000','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','disposeWithMe','userId','map','EMAIL_HAS_BEEN_BOUND','ENTITLE_NEED_BILLING_ADDRESS','CreateWorksheet','_status$','useState','SetColumnStyle','hasCommand','MOBILE_HAS_BEEN_BOUND','INVALID_INVITE_CODE','startRevision','IDialogService','defineProperty','flex','useRef','users','RestoreIcon','showMask','_historyManagerService','LOGIN_TOKEN_PROCESSING_FAILED','color','syncExecuteCommand','_lastLabel','Info','[HistoryFetchService]:\x20request\x20snapshot\x20error!','WorkbookEditablePermission','SetWorksheetStyle','edit-history-viewer.config','_transformService','UniverProEditHistoryViewer','connectInjector','children','LoadingMultiIcon','addProtection','CreateSheet','28880766IHouvm','CollaborationImageIoService','REDEMPTION_INVALID_CODE','rules','SetRangeValuesMutation','string','UniverIcon','EditExtraObject','createSheet','SetSheetsFilterRangeMutation','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','MoveRowsMutation','APPLY_DUPLICATED','_localeService','APPLY_NON_SEQUENTIAL_REVISION','rxjs','_workbookDataCache','currentColor','_univerInstanceService','@univerjs/core','UniverNetwork','date','_canRevert','jsx','ensureVersion','revertRevision$','_initPanel','SetCellStyle','DATA_SOURCE_TOO_LARGE','code','triggerLoadSheet','Print','ObjectMatrix','asObservable','backgroundColor','UNIVER_DOC','init','interceptor','Filter','findAllRectangle','subType','_context','attrs','button','_compressMutationService','Injector','@univerjs/network','MoveRangeMutation','getHours','ALREADY_EXISTS','Copy','isTransformMutationsSuccess','MoveWorksheet','skeleton','register','@univerjs/sheets','object','mutations','setDV','defs','INVITE_CODE_REQUIRED','clsx','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','InsertRowMutation','CONNECTOR_DATA_TOO_LARGE','_createUnit','0\x200\x2016\x2017','UniverSheetsConditionalFormatting','REDEMPTION_CODE_HAS_BEEN_CREATED','borderBottomClassName','YUUMI_ASYNCIO_CANCELLED','getUnitId','memberId','UniverEditHistoryViewerPlugin','UNIVER_UNKNOWN','ENTITLE_CHAT_LIMIT_EXCEED','4089732mOXJek','pipe','_members','SHEET_VIEWPORT_KEY','univer-text-gray-500','LocaleService','append','getUnitOnRev','@univerjs-pro/collaboration-client','/universer-api/history','ENTITLE_DUP_SUBSCRIPTION','_renderManagerService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','entities','ManageCollaborator','ranges','SelectProtectedCells','editHistory.info.loading','AddRangeProtectionMutation','IMessageService','white','univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','_currentVersionDiff$','setCF','_sheetPermissionInitController','Share','removeSheet','UniverInstanceType','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','_diffRangesMap','InsertColMutation','getSheetObject','addSparkline','_extractRanges','displayName','1915170AiGvWN','_initRender','toString','idSuffix','loadMoreVersions','DeleteRow','subscribeEvent','UniverDesign','evenodd','Today','onRendered','AddWorksheetProtectionMutation','block','_currentVersion$','getCurrentUnitForType','IPermissionService','ViewFilter','@univerjs-pro/sheets-sparkline','ENTITLE_CAN_NOT_BUY_LOWER_OTP','SheetSkeletonManagerService','YUUMI_NO_CUBOID_FOR_QUESTION','Module','_initMaskContainer','endColumn','SelectUnProtectedCells','_updateVersions','fill','getMinutes','AUTHORIZE_CODE_ILLEGAL','parse','currentVersionDiff$','CreatePermissionObject','includes','versions','symbol','REDEMPTION_CODE_FULLY_REDEEMED','_componentManager','USER_IS_ANONYMOUS','next','_config','none','has','_revertRevision$','7wuAGlY','@univerjs/design','YUUMI_CONNECTOR_URL_NOT_FOUND','ICommandService','editHistory.action.revertSheetSuffix','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','addObjects','subUnitId','getVersion','url(#restore-icon_clip0_1247_2)','commands','rule','HTTPService','loading-multi-icon','DeleteWorksheet','UniverCore','REDEMPTION_CODE_NOT_STARTED','versions$','FromArray','jsxs','assign','RemoveNumfmtMutation','_init','ERROR_AGAIN','UniverSheetsFilter','loadingState$','_snapshotServerService','_openPanel','Duplicate','createElement','SetFrozenMutation','_hasMore','19682IYVAby','ENSURE_SNAPSHOT_EXECUTION','reduce','BehaviorSubject','transformSnapshotToWorkbookData','onPointerMove$','loading','UniverNetworkPlugin','setState','length','_configService','HideWorksheet','4816644HaWfby','_diffs','isArray','LICENSE_IMPORT_SIZE_EXCEEDED','_versions$','exports','forEach','IUIPartsService','m1Prime','ENTITLE_INSUFFICIENT_QUOTA','Fragment','useObservable','hidden','height','path','&lastLabel=','toISOString','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','colorChannel1','DependentOn','RemoveSheetMutation','use','CURRENT_STATUS_CANNOT_OPERATE','back-icon','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','then','dispose','UniverProCollaboration','value','RangeMergeUtil','endRevision','loadingState','editHistory.panel.revertDesc','Button','YUUMI_URL_COL_OUT_OF_RANGE','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','_getSheetObject','open','substring','restore-icon_clip0_1247_2','Exited','NOT_FOUND','primary','getCoordByCell','AddConditionalRuleMutation','UNIVER_SHEET','column','UNDEFINED','FloatImg','TOO_MANY_REQUESTS','some','UniverSheetsUIPlugin','CopySheet','executeCommand','YUUMI_UNABLE_LOAD_URL','currentSkeleton$','MessageType','UNAUTHENTICATED','YUUMI_ALL_TABLES_IS_INVALID','subscribe','range','setFilter','concat','SetRangeProtectionMutation','DisposableCollection','_createMask','filter','replace','SetCellValue','debounce','currentVersion','PAYMENT_CHANNEL_NOT_SUPPORT','makeDirty','COMPLETION_FINISHED','switchMap','HEADER','React','historyListServerUrl','top','get','fetchThroughInterceptors','_historyFetchService','getMember','UniverProCollaborationClient','Disposable','IImageIoService','REDEMPTION_USER_REDEEM_TIMES_EXCEED','ReorderRangeMutation','debounceTime','_combineRanges','getDeserializedSheetBlock','_fetching','sheetId','status','Inject','loaded','UNRECOGNIZED','rgba(58,\x2096,\x20247,\x200.20)','rev','editHistory.action.','RenameWorksheet','userID','deleteProtection','entries','SetConditionalRuleMutation','body','SetNumfmtMutation','SheetPermissionInitController','_dialogOptions$','getVpScrollXYInfoByPosToVp','merge','_versionDiffService','univer-m-auto\x20univer-animate-spin','INVALID_ARGUMENT','CompressMutationService','unitId','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','url(#$1','LICENSE_EXPORT_SIZE_EXCEEDED','IUniverInstanceService','_updateDiffMarks','history-mask','state$','UniverEngineRender','LICENSE_DISTRO_REJECTED','split','InsertRow','LocaleType','createTime','_maskContainer','InsertHyperlink','rect','transformMutations','getCurrentLocale','http://www.w3.org/2000/svg','UniverSheets','VIRTUAL_VERSION_NOW','ISidebarService','6636008dYHtZf','justifyContent','DeleteColumn','Loading','flat','@univerjs-pro/collaboration','@univerjs/sheets-ui','active','YUUMI_AI_RUN_FAILED','endRev','setConfig','WECHAT_HAS_BEEN_BOUND','_injector','forwardRef','onSteady','getVersions','@univerjs/engine-render','UpdateDataValidationMutation','11wfxayq','DeleteSheet','WorkbookHideSheetPermission','stopPropagation','DeleteWorksheetProtectionMutation','767400coXGsP','set','recoverTime','entered','ENTITLE_REPORT_LIMIT_EXCEED','dateString','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','INTERNAL_ERROR','zIndex','_httpService','REDEMPTION_CODE_INACTIVE','updatePermissionPoint','_sidebarDisposable','registerRenderModule','INVITE_CODE_ALREADY_BOUND','APPLY_REJECT','error','LICENSE_MAX_UNITS_EXCEEDED','closeAll','getOwnPropertyDescriptor','_getRangesByMutation','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','_loadingState$','View','find','HideSheet','tag','clear','_maskElement','1em','from','time','params','blocks','data','add','useCallback','_lastPointer','HistoryManagerService','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_commandService','SNAPSHOT_INVALID_SNAPSHOT','command','canRevert','RenameSheet','createUnit','triggerRevert','toDisposable','display','_transformMutationByOrder','INVITE_CODE_HAS_BEEN_UES','action','editSheet','blockMeta','parseProtocolChangeset','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','100%','trim','univer-ml-2.5\x20univer-flex\x20univer-size-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','univer-text-2xl\x20dark:!univer-text-white','editHistory.panel.currentUser','@univerjs/sheets-filter','keys','hideMask','Comment','useDependency','Entered','PY_RUNTIME_SCRIPT_ERROR','ZH_CN','PERMISSION_DENIED','AddDataValidationMutation','Vector2','@univerjs/drawing','RecoverHistory','Delete','DeleteRangeProtectionMutation','RevertRevisionMutation','className','InsertColumn','function','exited','_messageService','startColumn','getDataRange','SnapshotServerOverHTTPService','getConfig','UNIVER_PROJECT','ISnapshotServerService','row','endRow','revertSheet','CHANGESET_REVISION_CONFILICT'];_0x5cc5=function(){return _0x46f2a7;};return _0x5cc5();}function _0x5e67(_0x572c49,_0x57d54b){const _0x5cc503=_0x5cc5();return _0x5e67=function(_0x5e67bf,_0x4bc5d9){_0x5e67bf=_0x5e67bf-0x9d;let _0x147861=_0x5cc503[_0x5e67bf];return _0x147861;},_0x5e67(_0x572c49,_0x57d54b);}(function(_0x69b035,_0x15a30e){const _0x5d5971=_0x5e67,_0x4b80f3=_0x69b035();while(!![]){try{const _0x16154b=-parseInt(_0x5d5971(0x143))/0x1*(-parseInt(_0x5d5971(0x2c9))/0x2)+-parseInt(_0x5d5971(0x25b))/0x3+parseInt(_0x5d5971(0x148))/0x4+parseInt(_0x5d5971(0x27e))/0x5+-parseInt(_0x5d5971(0xa7))/0x6*(parseInt(_0x5d5971(0x2a9))/0x7)+-parseInt(_0x5d5971(0x131))/0x8+parseInt(_0x5d5971(0x20f))/0x9;if(_0x16154b===_0x15a30e)break;else _0x4b80f3['push'](_0x4b80f3['shift']());}catch(_0x2034dd){_0x4b80f3['push'](_0x4b80f3['shift']());}}}(_0x5cc5,0xdae4e),function(_0x27ae52,_0x2952d9){const _0x84dbbf=_0x5e67;typeof exports==_0x84dbbf(0x247)&&typeof module<'u'?_0x2952d9(exports,require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/drawing'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/sheets-ui'),require('@univerjs/ui'),require('@univerjs/design'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs/data-validation'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-filter'),require('react/jsx-runtime'),require('react'),require('@univerjs-pro/collaboration-client-ui')):typeof define==_0x84dbbf(0x197)&&define['amd']?define([_0x84dbbf(0xac),_0x84dbbf(0x136),_0x84dbbf(0x263),_0x84dbbf(0x222),_0x84dbbf(0x190),_0x84dbbf(0x141),_0x84dbbf(0x23d),_0x84dbbf(0x137),'@univerjs/ui',_0x84dbbf(0x2aa),_0x84dbbf(0x246),'rxjs',_0x84dbbf(0x28f),'@univerjs/data-validation','@univerjs/sheets-conditional-formatting',_0x84dbbf(0x185),'react/jsx-runtime','react','@univerjs-pro/collaboration-client-ui'],_0x2952d9):(_0x27ae52=typeof globalThis<'u'?globalThis:_0x27ae52||self,_0x2952d9(_0x27ae52[_0x84dbbf(0x209)]={},_0x27ae52[_0x84dbbf(0xc2)],_0x27ae52[_0x84dbbf(0xfa)],_0x27ae52[_0x84dbbf(0x2b8)],_0x27ae52[_0x84dbbf(0x1ab)],_0x27ae52[_0x84dbbf(0x122)],_0x27ae52[_0x84dbbf(0x223)],_0x27ae52['UniverSheetsUi'],_0x27ae52[_0x84dbbf(0x1bf)],_0x27ae52[_0x84dbbf(0x285)],_0x27ae52[_0x84dbbf(0x12e)],_0x27ae52[_0x84dbbf(0x21e)],_0x27ae52['UniverProSheetsSparkline'],_0x27ae52['UniverDataValidation'],_0x27ae52[_0x84dbbf(0x252)],_0x27ae52[_0x84dbbf(0x2c1)],_0x27ae52[_0x84dbbf(0xf3)],_0x27ae52[_0x84dbbf(0xf3)],_0x27ae52['UniverProCollaborationClientUi']));}(this,function(_0x3da4ac,_0x527f05,_0x1979b9,_0x12b751,_0x1df14c,_0x4866c8,_0x4c4525,_0xf55386,_0x444282,_0x149ea2,_0x38fc65,_0x5e421f,_0x5c4426,_0xae4b1b,_0x1dbee6,_0x1913bf,_0x1ca037,_0x334f50,_0xcee41c){'use strict';const _0x28e7dc=_0x5e67;var _0x497ec8=Object[_0x28e7dc(0x1f8)],_0x5fb7db=(_0x373c16,_0x4c5e54,_0x191ca9)=>_0x4c5e54 in _0x373c16?_0x497ec8(_0x373c16,_0x4c5e54,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x191ca9}):_0x373c16[_0x4c5e54]=_0x191ca9,_0x72283a=(_0x1d8053,_0x22f0ef,_0x2a9a5e)=>_0x5fb7db(_0x1d8053,typeof _0x22f0ef!=_0x28e7dc(0x2a0)?_0x22f0ef+'':_0x22f0ef,_0x2a9a5e);const _0x35e29b=_0x28e7dc(0x207),_0x2e24f6={};var _0x3c6657=Object['getOwnPropertyDescriptor'],_0x5e41b1=(_0xaa9a5a,_0x4d21a6,_0x468a32,_0x3c3701)=>{const _0xbe3e9b=_0x28e7dc;for(var _0x2b6868=_0x3c3701>0x1?void 0x0:_0x3c3701?_0x3c6657(_0x4d21a6,_0x468a32):_0x4d21a6,_0x6be82d=_0xaa9a5a[_0xbe3e9b(0xa4)]-0x1,_0x1ef508;_0x6be82d>=0x0;_0x6be82d--)(_0x1ef508=_0xaa9a5a[_0x6be82d])&&(_0x2b6868=_0x1ef508(_0x2b6868)||_0x2b6868);return _0x2b6868;},_0x5a4460=(_0x2055d6,_0x555d4a)=>(_0x29724b,_0x1c62ab)=>_0x555d4a(_0x29724b,_0x1c62ab,_0x2055d6);let _0x4eea31=class extends _0x12b751[_0x28e7dc(0xfb)]{constructor(_0x4befab){const _0x11c08f=_0x28e7dc;super(),this[_0x11c08f(0x1cb)]=_0x4befab,this[_0x11c08f(0x2bf)]();}['_init'](){const _0x784d7d=_0x28e7dc;this['disposeWithMe'](this[_0x784d7d(0x1cb)][_0x784d7d(0x121)][_0x784d7d(0xe2)](_0x2e6545=>{const _0x1633d6=_0x784d7d;_0x2e6545!=null&&_0x2e6545['show']&&this['_cellEditorManagerService'][_0x1633d6(0xa3)]({'show':!0x1});}));}};_0x4eea31=_0x5e41b1([_0x5a4460(0x0,_0xf55386['ICellEditorManagerService'])],_0x4eea31);var _0x115640=(_0x412da1=>(_0x412da1[_0x412da1[_0x28e7dc(0xd6)]=0x0]=_0x28e7dc(0xd6),_0x412da1[_0x412da1['OK']=0x1]='OK',_0x412da1[_0x412da1[_0x28e7dc(0x14f)]=0x2]=_0x28e7dc(0x14f),_0x412da1[_0x412da1[_0x28e7dc(0x18d)]=0x3]='PERMISSION_DENIED',_0x412da1[_0x412da1[_0x28e7dc(0xd0)]=0x4]=_0x28e7dc(0xd0),_0x412da1[_0x412da1[_0x28e7dc(0xe0)]=0x5]='UNAUTHENTICATED',_0x412da1[_0x412da1[_0x28e7dc(0x240)]=0x6]='ALREADY_EXISTS',_0x412da1[_0x412da1['INVALID_ARGUMENT']=0x7]=_0x28e7dc(0x118),_0x412da1[_0x412da1[_0x28e7dc(0xd8)]=0x8]='TOO_MANY_REQUESTS',_0x412da1[_0x412da1[_0x28e7dc(0xf0)]=0x9]=_0x28e7dc(0xf0),_0x412da1[_0x412da1['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x412da1[_0x412da1['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x28e7dc(0x1af),_0x412da1[_0x412da1[_0x28e7dc(0x1dd)]=0xc]=_0x28e7dc(0x1dd),_0x412da1[_0x412da1[_0x28e7dc(0x1ad)]=0xd]=_0x28e7dc(0x1ad),_0x412da1[_0x412da1[_0x28e7dc(0x17f)]=0xe]=_0x28e7dc(0x17f),_0x412da1[_0x412da1['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x28e7dc(0x29a),_0x412da1[_0x412da1['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x28e7dc(0x1ff),_0x412da1[_0x412da1[_0x28e7dc(0xbd)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x412da1[_0x412da1[_0x28e7dc(0x2c0)]=0x65]=_0x28e7dc(0x2c0),_0x412da1[_0x412da1['USER_NOT_FOUND']=0xc9]=_0x28e7dc(0x1a6),_0x412da1[_0x412da1[_0x28e7dc(0x2a3)]=0xca]=_0x28e7dc(0x2a3),_0x412da1[_0x412da1[_0x28e7dc(0x1a3)]=0x1389]=_0x28e7dc(0x1a3),_0x412da1[_0x412da1[_0x28e7dc(0x171)]=0x1771]=_0x28e7dc(0x171),_0x412da1[_0x412da1[_0x28e7dc(0x1cc)]=0x1772]=_0x28e7dc(0x1cc),_0x412da1[_0x412da1[_0x28e7dc(0x2ca)]=0x1773]=_0x28e7dc(0x2ca),_0x412da1[_0x412da1[_0x28e7dc(0x157)]=0x1b59]=_0x28e7dc(0x157),_0x412da1[_0x412da1['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x28e7dc(0x21d),_0x412da1[_0x412da1['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x412da1[_0x412da1[_0x28e7dc(0x1bb)]=0x1b5c]=_0x28e7dc(0x1bb),_0x412da1[_0x412da1['APPLY_DUPLICATED']=0x1b5d]=_0x28e7dc(0x21b),_0x412da1[_0x412da1[_0x28e7dc(0x24f)]=0x1f41]=_0x28e7dc(0x24f),_0x412da1[_0x412da1[_0x28e7dc(0x159)]=0x2329]=_0x28e7dc(0x159),_0x412da1[_0x412da1[_0x28e7dc(0x1e9)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x412da1[_0x412da1[_0x28e7dc(0xaa)]=0x232b]=_0x28e7dc(0xaa),_0x412da1[_0x412da1[_0x28e7dc(0x11d)]=0x232c]=_0x28e7dc(0x11d),_0x412da1[_0x412da1[_0x28e7dc(0x123)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x412da1[_0x412da1[_0x28e7dc(0xdd)]=0x2711]=_0x28e7dc(0xdd),_0x412da1[_0x412da1[_0x28e7dc(0xc9)]=0x2712]=_0x28e7dc(0xc9),_0x412da1[_0x412da1['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x412da1[_0x412da1['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x412da1[_0x412da1[_0x28e7dc(0x292)]=0x271a]=_0x28e7dc(0x292),_0x412da1[_0x412da1[_0x28e7dc(0x255)]=0x271b]=_0x28e7dc(0x255),_0x412da1[_0x412da1[_0x28e7dc(0x267)]=0x271c]=_0x28e7dc(0x267),_0x412da1[_0x412da1[_0x28e7dc(0xe1)]=0x271d]=_0x28e7dc(0xe1),_0x412da1[_0x412da1['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x28e7dc(0x24d),_0x412da1[_0x412da1[_0x28e7dc(0x139)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x412da1[_0x412da1[_0x28e7dc(0x2ab)]=0x2720]=_0x28e7dc(0x2ab),_0x412da1[_0x412da1[_0x28e7dc(0x18b)]=0x2af9]=_0x28e7dc(0x18b),_0x412da1[_0x412da1[_0x28e7dc(0x17a)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x412da1[_0x412da1[_0x28e7dc(0x1f5)]=0x2ee2]=_0x28e7dc(0x1f5),_0x412da1[_0x412da1['INVITE_CODE_REQUIRED']=0x2ee3]=_0x28e7dc(0x24b),_0x412da1[_0x412da1['USER_NOT_INVITED_CODE']=0x2ee4]=_0x28e7dc(0x1d7),_0x412da1[_0x412da1[_0x28e7dc(0x156)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x412da1[_0x412da1[_0x28e7dc(0x13c)]=0x32c9]=_0x28e7dc(0x13c),_0x412da1[_0x412da1[_0x28e7dc(0x1f4)]=0x32ca]=_0x28e7dc(0x1f4),_0x412da1[_0x412da1[_0x28e7dc(0x1ed)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x412da1[_0x412da1['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x28e7dc(0x290),_0x412da1[_0x412da1[_0x28e7dc(0x219)]=0x36b2]=_0x28e7dc(0x219),_0x412da1[_0x412da1['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x28e7dc(0x265),_0x412da1[_0x412da1[_0x28e7dc(0xee)]=0x36b4]=_0x28e7dc(0xee),_0x412da1[_0x412da1[_0x28e7dc(0x25a)]=0x3715]=_0x28e7dc(0x25a),_0x412da1[_0x412da1[_0x28e7dc(0x14c)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x412da1[_0x412da1['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x28e7dc(0xb0),_0x412da1[_0x412da1['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x28e7dc(0x1ee),_0x412da1[_0x412da1[_0x28e7dc(0x211)]=0x3a99]=_0x28e7dc(0x211),_0x412da1[_0x412da1[_0x28e7dc(0x152)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x412da1[_0x412da1[_0x28e7dc(0x2a1)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x412da1[_0x412da1[_0x28e7dc(0x2b9)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x412da1[_0x412da1[_0x28e7dc(0x1aa)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x412da1[_0x412da1[_0x28e7dc(0xfd)]=0x3a9e]=_0x28e7dc(0xfd),_0x412da1[_0x412da1[_0x28e7dc(0x253)]=0x3a9f]=_0x28e7dc(0x253),_0x412da1[_0x412da1[_0x28e7dc(0x22b)]=0x3e81]=_0x28e7dc(0x22b),_0x412da1[_0x412da1[_0x28e7dc(0x107)]=-0x1]=_0x28e7dc(0x107),_0x412da1))(_0x115640||{}),_0x1d6a4b=(_0x109054=>(_0x109054[_0x109054['UNIVER_UNKNOWN']=0x0]=_0x28e7dc(0x259),_0x109054[_0x109054[_0x28e7dc(0x232)]=0x1]='UNIVER_DOC',_0x109054[_0x109054[_0x28e7dc(0xd4)]=0x2]=_0x28e7dc(0xd4),_0x109054[_0x109054[_0x28e7dc(0x1c7)]=0x3]=_0x28e7dc(0x1c7),_0x109054[_0x109054[_0x28e7dc(0x19e)]=0x4]=_0x28e7dc(0x19e),_0x109054[_0x109054[_0x28e7dc(0x107)]=-0x1]=_0x28e7dc(0x107),_0x109054))(_0x1d6a4b||{}),_0x408eae=(_0x4f2f6d=>(_0x4f2f6d[_0x4f2f6d[_0x28e7dc(0x15f)]=0x0]='View',_0x4f2f6d[_0x4f2f6d[_0x28e7dc(0x1ba)]=0x1]='Edit',_0x4f2f6d[_0x4f2f6d[_0x28e7dc(0x269)]=0x2]=_0x28e7dc(0x269),_0x4f2f6d[_0x4f2f6d[_0x28e7dc(0x22e)]=0x3]=_0x28e7dc(0x22e),_0x4f2f6d[_0x4f2f6d[_0x28e7dc(0x2c5)]=0x4]=_0x28e7dc(0x2c5),_0x4f2f6d[_0x4f2f6d[_0x28e7dc(0x188)]=0x5]=_0x28e7dc(0x188),_0x4f2f6d[_0x4f2f6d[_0x28e7dc(0x241)]=0x6]=_0x28e7dc(0x241),_0x4f2f6d[_0x4f2f6d[_0x28e7dc(0x274)]=0x7]='Share',_0x4f2f6d[_0x4f2f6d[_0x28e7dc(0x1ca)]=0x8]='Export',_0x4f2f6d[_0x4f2f6d[_0x28e7dc(0x243)]=0x9]='MoveWorksheet',_0x4f2f6d[_0x4f2f6d[_0x28e7dc(0x2b7)]=0xa]=_0x28e7dc(0x2b7),_0x4f2f6d[_0x4f2f6d['HideWorksheet']=0xb]=_0x28e7dc(0xa6),_0x4f2f6d[_0x4f2f6d['RenameWorksheet']=0xc]=_0x28e7dc(0x10b),_0x4f2f6d[_0x4f2f6d['CreateWorksheet']=0xd]=_0x28e7dc(0x1ef),_0x4f2f6d[_0x4f2f6d[_0x28e7dc(0x206)]=0xe]=_0x28e7dc(0x206),_0x4f2f6d[_0x4f2f6d['EditWorksheetCell']=0xf]='EditWorksheetCell',_0x4f2f6d[_0x4f2f6d[_0x28e7dc(0x129)]=0x10]=_0x28e7dc(0x129),_0x4f2f6d[_0x4f2f6d['Sort']=0x11]='Sort',_0x4f2f6d[_0x4f2f6d[_0x28e7dc(0x235)]=0x12]=_0x28e7dc(0x235),_0x4f2f6d[_0x4f2f6d['PivotTable']=0x13]='PivotTable',_0x4f2f6d[_0x4f2f6d[_0x28e7dc(0xd7)]=0x14]='FloatImg',_0x4f2f6d[_0x4f2f6d[_0x28e7dc(0x1b6)]=0x15]='History',_0x4f2f6d[_0x4f2f6d['RwHgtClWdt']=0x16]=_0x28e7dc(0x1c2),_0x4f2f6d[_0x4f2f6d[_0x28e7dc(0x1d3)]=0x17]='ViemRwHgtClWdt',_0x4f2f6d[_0x4f2f6d[_0x28e7dc(0x28e)]=0x18]='ViewFilter',_0x4f2f6d[_0x4f2f6d[_0x28e7dc(0x1a7)]=0x19]=_0x28e7dc(0x1a7),_0x4f2f6d[_0x4f2f6d['DeleteSheet']=0x1a]=_0x28e7dc(0x144),_0x4f2f6d[_0x4f2f6d[_0x28e7dc(0x161)]=0x1b]=_0x28e7dc(0x161),_0x4f2f6d[_0x4f2f6d[_0x28e7dc(0xdb)]=0x1c]=_0x28e7dc(0xdb),_0x4f2f6d[_0x4f2f6d[_0x28e7dc(0x174)]=0x1d]=_0x28e7dc(0x174),_0x4f2f6d[_0x4f2f6d['CreateSheet']=0x1e]=_0x28e7dc(0x20e),_0x4f2f6d[_0x4f2f6d[_0x28e7dc(0x26b)]=0x1f]=_0x28e7dc(0x26b),_0x4f2f6d[_0x4f2f6d[_0x28e7dc(0x296)]=0x20]=_0x28e7dc(0x296),_0x4f2f6d[_0x4f2f6d['SetCellStyle']=0x21]=_0x28e7dc(0x22a),_0x4f2f6d[_0x4f2f6d[_0x28e7dc(0xeb)]=0x22]=_0x28e7dc(0xeb),_0x4f2f6d[_0x4f2f6d[_0x28e7dc(0x1e0)]=0x23]=_0x28e7dc(0x1e0),_0x4f2f6d[_0x4f2f6d[_0x28e7dc(0x1f2)]=0x24]=_0x28e7dc(0x1f2),_0x4f2f6d[_0x4f2f6d[_0x28e7dc(0x125)]=0x25]='InsertRow',_0x4f2f6d[_0x4f2f6d[_0x28e7dc(0x196)]=0x26]='InsertColumn',_0x4f2f6d[_0x4f2f6d[_0x28e7dc(0x283)]=0x27]=_0x28e7dc(0x283),_0x4f2f6d[_0x4f2f6d['DeleteColumn']=0x28]=_0x28e7dc(0x133),_0x4f2f6d[_0x4f2f6d[_0x28e7dc(0x216)]=0x29]=_0x28e7dc(0x216),_0x4f2f6d[_0x4f2f6d[_0x28e7dc(0x192)]=0x2a]=_0x28e7dc(0x192),_0x4f2f6d[_0x4f2f6d[_0x28e7dc(0x191)]=0x2b]=_0x28e7dc(0x191),_0x4f2f6d[_0x4f2f6d['ViewHistory']=0x2c]='ViewHistory',_0x4f2f6d[_0x4f2f6d[_0x28e7dc(0x29d)]=0x2d]=_0x28e7dc(0x29d),_0x4f2f6d[_0x4f2f6d['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x4f2f6d))(_0x408eae||{});function _0x30005d(_0x274de){const _0x2cddaa=_0x28e7dc;return!!(_0x274de&&_0x274de[_0x2cddaa(0x22c)]&&_0x274de[_0x2cddaa(0x22c)]!==_0x115640['OK']&&_0x274de['code']!=='OK');}const _0x33c779=(_0x19db2c,_0x59aac8)=>{const _0xbf9bea=_0x28e7dc;if(!_0x19db2c)return{'date':'','time':''};const _0x3930fd=new Date(_0x19db2c),_0x1ada62=_0x3930fd[_0xbf9bea(0xb7)]()[_0xbf9bea(0x124)]('T')[0x0];switch(_0x59aac8){case _0x12b751[_0xbf9bea(0x126)][_0xbf9bea(0x18c)]:return{'date':_0x4d3a43(_0x1ada62,_0x59aac8),'time':_0x3930fd[_0xbf9bea(0x23f)]()+':'+String(_0x3930fd['getMinutes']())['padStart'](0x2,'0')};default:return{'date':_0x4d3a43(_0x1ada62,_0x59aac8),'time':_0x3930fd['getHours']()+':'+_0x3930fd[_0xbf9bea(0x299)]()};}},_0x1ab3f0=(_0x1bcd01,_0x40d4ed)=>{const _0x5256eb=_0x28e7dc,_0x2e7b=_0x1bcd01['user']||_0x40d4ed['t']('editHistory.panel.unknownUser');if(_0x1bcd01[_0x5256eb(0x2b3)][_0x5256eb(0xd9)](_0x51b4fb=>_0x51b4fb===_0x527f05[_0x5256eb(0x194)]['id'])&&_0x1bcd01[_0x5256eb(0x14a)]){const _0xcd3db6=_0x33c779(_0x1bcd01[_0x5256eb(0x14a)],_0x40d4ed[_0x5256eb(0x12c)]()),_0xb911cb=_0xcd3db6[_0x5256eb(0x224)]+'\x20'+_0xcd3db6['time'];return _0x2e7b+'\x20'+_0x40d4ed['t']('editHistory.action.revertSheetPrefix')+'\x20'+_0xb911cb+'\x20'+_0x40d4ed['t'](_0x5256eb(0x2ad));}const _0x5144d6=_0x39a816(_0x1bcd01),_0x3816f2=_0x5144d6['length']===0x1?_0x40d4ed['t'](_0x5144d6[0x0]):''+_0x40d4ed['t'](_0x5144d6[0x0])+_0x40d4ed['t'](_0x5256eb(0x1ae));return _0x2e7b+'\x20'+_0x3816f2;};function _0x39a816(_0x3bac9b){const _0x5e7864=_0x28e7dc;if(_0x3bac9b[_0x5e7864(0x2b3)]['length']===0x0)return[''];const _0x2a405a=_0x5e7864(0x10a),_0x6edb02=_0x2a405a+_0x5e7864(0x17c),_0x5136c4=[{'id':_0x527f05[_0x5e7864(0x1dc)]['id'],'action':_0x2a405a+_0x5e7864(0x217)},{'id':_0x527f05[_0x5e7864(0x194)]['id'],'action':_0x2a405a+_0x5e7864(0x1a2)},{'id':_0x38fc65['InsertSheetMutation']['id'],'action':_0x2a405a+'insertSheet'},{'id':_0x38fc65[_0x5e7864(0xbb)]['id'],'action':_0x2a405a+_0x5e7864(0x275)},{'id':_0x38fc65[_0x5e7864(0x2c7)]['id'],'action':_0x2a405a+'setFrozen'},{'id':_0x1913bf[_0x5e7864(0x218)]['id'],'action':_0x2a405a+_0x5e7864(0xe4)},{'id':_0xae4b1b[_0x5e7864(0x18e)]['id'],'action':_0x2a405a+_0x5e7864(0x249)},{'id':_0xae4b1b[_0x5e7864(0x142)]['id'],'action':_0x2a405a+_0x5e7864(0x249)},{'id':_0x1dbee6[_0x5e7864(0x10f)]['id'],'action':_0x2a405a+_0x5e7864(0x272)},{'id':_0x1dbee6[_0x5e7864(0xd3)]['id'],'action':_0x2a405a+_0x5e7864(0x272)},{'id':_0x38fc65[_0x5e7864(0x289)]['id'],'action':_0x2a405a+_0x5e7864(0x20d)},{'id':_0x38fc65[_0x5e7864(0x26d)]['id'],'action':_0x2a405a+_0x5e7864(0x20d)},{'id':_0x5c4426['AddSheetSparklineMutation']['id'],'action':_0x2a405a+_0x5e7864(0x27b)},{'id':_0x38fc65[_0x5e7864(0x193)]['id'],'action':_0x2a405a+_0x5e7864(0x10d)},{'id':_0x38fc65[_0x5e7864(0x147)]['id'],'action':_0x2a405a+_0x5e7864(0x10d)}][_0x5e7864(0xe9)](_0x1a1695=>_0x3bac9b['commands'][_0x5e7864(0x29e)](_0x1a1695['id']));return _0x5136c4!=null&&_0x5136c4[_0x5e7864(0xa4)]?_0x5136c4['map'](_0x2345e8=>_0x2345e8[_0x5e7864(0x17b)]):[_0x6edb02];}function _0x4d3a43(_0x1853bd,_0x43b5c2){const _0x49a25e=_0x28e7dc,[_0x49bb17,_0x261cce,_0x124748]=new Date()[_0x49a25e(0xb7)]()['split']('T')[0x0][_0x49a25e(0x124)]('-'),[_0x45afc8,_0x27a551,_0x3ece0c]=_0x1853bd[_0x49a25e(0x124)]('-'),_0x6b5260=_0x49bb17===_0x45afc8&&_0x261cce===_0x27a551&&_0x124748===_0x3ece0c;let _0x69162e='',_0x589eb9='',_0x28e906='';switch(_0x43b5c2){case _0x12b751['LocaleType'][_0x49a25e(0x18c)]:return _0x6b5260?'今天':(_0x69162e=_0x49bb17===_0x45afc8?'':_0x45afc8+'年',_0x589eb9=_0x27a551+'月',_0x28e906=_0x3ece0c+'日',''+_0x69162e+_0x589eb9+_0x28e906);default:return _0x6b5260?_0x49a25e(0x287):(_0x69162e=_0x49bb17===_0x45afc8?'':_0x45afc8+'-',_0x589eb9=_0x27a551+'-',_0x28e906=''+_0x3ece0c,''+_0x69162e+_0x589eb9+_0x28e906);}}function _0x51c537(_0x57a49e){const _0x5ae1e9=_0x28e7dc;return _0x57a49e?_0x57a49e[_0x5ae1e9(0x9d)]((_0x3af028,_0x7dc60a)=>{const _0x1533b0=_0x5ae1e9,_0x1d4740=new Date(_0x7dc60a['time'])[_0x1533b0(0xb7)]()[_0x1533b0(0x124)]('T')[0x0];return _0x3af028['length']>0x0&&_0x3af028[_0x3af028[_0x1533b0(0xa4)]-0x1][_0x1533b0(0x14d)]===_0x1d4740?_0x3af028[_0x3af028[_0x1533b0(0xa4)]-0x1][_0x1533b0(0x29f)]['push'](_0x7dc60a):_0x3af028[_0x1533b0(0x1bc)]({'dateString':_0x1d4740,'versions':[_0x7dc60a]}),_0x3af028;},[]):[];}var _0x11c08d=Object[_0x28e7dc(0x15b)],_0x4101dd=(_0x496fe1,_0x4c2943,_0x2b060e,_0x272bc9)=>{const _0x3f549e=_0x28e7dc;for(var _0x18e8c4=_0x272bc9>0x1?void 0x0:_0x272bc9?_0x11c08d(_0x4c2943,_0x2b060e):_0x4c2943,_0x313960=_0x496fe1[_0x3f549e(0xa4)]-0x1,_0x28406d;_0x313960>=0x0;_0x313960--)(_0x28406d=_0x496fe1[_0x313960])&&(_0x18e8c4=_0x28406d(_0x18e8c4)||_0x18e8c4);return _0x18e8c4;},_0x5d2e99=(_0x381b2f,_0x5ecdfd)=>(_0x44d662,_0x477bf2)=>_0x5ecdfd(_0x44d662,_0x477bf2,_0x381b2f);const _0x4335fb=_0x28e7dc(0x264);let _0x3b35a4=class extends _0x12b751[_0x28e7dc(0xfb)]{constructor(_0xebdfb,_0x495990,_0x218d31,_0x3f275e,_0x54af9b,_0x585fb3,_0x47285f){const _0x14f6ba=_0x28e7dc;super(),_0x72283a(this,_0x14f6ba(0x21f),new Map()),(this[_0x14f6ba(0x2c3)]=_0xebdfb,this['_univerInstanceService']=_0x495990,this[_0x14f6ba(0x170)]=_0x218d31,this[_0x14f6ba(0xa5)]=_0x3f275e,this[_0x14f6ba(0x151)]=_0x54af9b,this[_0x14f6ba(0x23b)]=_0x585fb3,this[_0x14f6ba(0x273)]=_0x47285f);}[_0x28e7dc(0xc1)](){const _0x3a5938=_0x28e7dc;this[_0x3a5938(0x21f)][_0x3a5938(0x163)](),super[_0x3a5938(0xc1)]();}async['getVersions'](_0x188729,_0x2e255b){const _0x3e325f=_0x28e7dc,_0x2ff6b9=this[_0x3e325f(0x1a5)]()+'/'+_0x188729+_0x3e325f(0x1e1)+(_0x2e255b?_0x3e325f(0xb6)+_0x2e255b:'');try{const _0x9e65c3=(await this[_0x3e325f(0x151)][_0x3e325f(0xf6)](_0x2ff6b9))[_0x3e325f(0x110)];if(_0x9e65c3&&_0x9e65c3[_0x3e325f(0x158)]&&_0x9e65c3[_0x3e325f(0x158)][_0x3e325f(0x22c)]===_0x115640['OK']){const {hasMore:_0x25698c,lastLabel:_0x235039}=_0x9e65c3,_0x13035a=_0x497d63(_0x9e65c3),_0x2ee2ce=_0x9e65c3[_0x3e325f(0x268)][_0x3e325f(0x1fb)];return{'hasMore':_0x25698c,'lastLabel':_0x235039,'versions':_0x13035a,'members':_0x2ee2ce};}}catch(_0x270bf4){console[_0x3e325f(0x158)](_0x270bf4);}return null;}[_0x28e7dc(0x1a5)](){const _0x22e6ed=_0x28e7dc;var _0x5ba03a;const _0x5f37ad=this[_0x22e6ed(0xa5)][_0x22e6ed(0x19d)](_0x35e29b);return(_0x5ba03a=_0x5f37ad==null?void 0x0:_0x5f37ad[_0x22e6ed(0xf4)])!=null?_0x5ba03a:_0x4335fb;}async['loadSheet'](_0x1e23c1,_0x4a3acd,_0x49f4a1){const _0x51a1a9=_0x28e7dc;var _0x4f7102,_0x49465e;_0x49f4a1===void 0x0&&(_0x49f4a1={}),this[_0x51a1a9(0x21f)][_0x51a1a9(0x2a7)](_0x1e23c1)||this[_0x51a1a9(0x21f)][_0x51a1a9(0x149)](_0x1e23c1,new Map());const {snapshot:_0x533e23,changesets:_0x1c0913,error:_0x14a931}=await this[_0x51a1a9(0x2c3)][_0x51a1a9(0x262)](_0x49f4a1,{'unitID':_0x1e23c1,'type':_0x1d6a4b['UNIVER_SHEET'],'revision':_0x4a3acd});if(_0x30005d(_0x14a931)||!_0x533e23||!_0x533e23[_0x51a1a9(0x1c3)])throw new Error(_0x51a1a9(0x204));const _0x422a0b=(_0x4f7102=_0x1c0913==null?void 0x0:_0x1c0913[_0x51a1a9(0xa4)])!=null?_0x4f7102:0x0;if(_0x4a3acd!==0x0&&_0x533e23[_0x51a1a9(0x109)]+_0x422a0b!==_0x4a3acd)throw new Error(_0x51a1a9(0xb8));const {workbook:_0x4734a5}=_0x533e23,_0x33894d=_0x4734a5['blockMeta']?Object['entries'](_0x4734a5[_0x51a1a9(0x17d)])[_0x51a1a9(0x1ec)](([_0x1178b1,_0xf0c2bc])=>{const _0x50aede=_0x51a1a9;var _0x519e4e,_0x308ca9;return(_0x308ca9=(_0x519e4e=_0xf0c2bc[_0x50aede(0x169)])==null?void 0x0:_0x519e4e[_0x50aede(0x1ec)](_0x4fd3b5=>_0x4fd3b5))!=null?_0x308ca9:[];})[_0x51a1a9(0x135)]():[],_0x7e7871=(await Promise['all'](_0x33894d['map'](_0x41361f=>this['_snapshotServerService'][_0x51a1a9(0x101)](_0x49f4a1,{'unitID':_0x1e23c1,'type':_0x1d6a4b[_0x51a1a9(0xd4)],'blockID':_0x41361f})[_0x51a1a9(0xc0)](_0x53ee05=>_0x53ee05[_0x51a1a9(0x28a)]))))[_0x51a1a9(0xe9)](_0x485bc8=>!!_0x485bc8),_0x502cbc=_0x527f05[_0x51a1a9(0x9f)](_0x533e23,_0x7e7871,_0x49f4a1);return(_0x49465e=this['_workbookDataCache'][_0x51a1a9(0xf6)](_0x1e23c1))==null||_0x49465e[_0x51a1a9(0x149)](_0x4a3acd,{'workbook':_0x502cbc}),new Promise(_0x5c2252=>{const _0xe85a8d=_0x51a1a9,_0x339c16=this[_0xe85a8d(0x221)][_0xe85a8d(0x28c)](_0x12b751[_0xe85a8d(0x276)][_0xe85a8d(0xd4)]);_0x339c16?(this['_univerInstanceService'][_0xe85a8d(0x1b9)](_0x339c16[_0xe85a8d(0x256)]()),setTimeout(()=>{const _0x5c38a2=_0xe85a8d;this[_0x5c38a2(0x250)](_0x502cbc,_0x1c0913),this[_0x5c38a2(0x273)]['refreshRangeProtectPermission'](),_0x5c2252(!0x0);},0x0)):(this[_0xe85a8d(0x250)](_0x502cbc,_0x1c0913),_0x5c2252(!0x0));});}[_0x28e7dc(0x250)](_0x114a8d,_0x662ca9){const _0x8ca6a8=_0x28e7dc,_0x4e1148=this[_0x8ca6a8(0x221)][_0x8ca6a8(0x175)](_0x12b751[_0x8ca6a8(0x276)][_0x8ca6a8(0xd4)],_0x114a8d);this[_0x8ca6a8(0x221)][_0x8ca6a8(0x1c1)](_0x4e1148[_0x8ca6a8(0x256)]());const _0x32e969=this[_0x8ca6a8(0x23b)][_0x8ca6a8(0x234)][_0x8ca6a8(0xf7)](this[_0x8ca6a8(0x23b)][_0x8ca6a8(0x234)][_0x8ca6a8(0x1b7)]()[_0x8ca6a8(0x1be)]);return _0x662ca9==null||_0x662ca9[_0x8ca6a8(0xad)](_0x245eb3=>{const _0x5ee994=_0x8ca6a8,_0x1c5723=_0x245eb3['mutations']['map'](_0x4b8956=>({'id':_0x4b8956['id'],'params':JSON[_0x5ee994(0x29b)](_0x4b8956[_0x5ee994(0x16a)])}));({..._0x245eb3,'mutations':_0x32e969(_0x1c5723,null)||_0x1c5723}[_0x5ee994(0x248)][_0x5ee994(0xad)](_0x3a463c=>{const _0x28d6b6=_0x5ee994;this[_0x28d6b6(0x170)][_0x28d6b6(0x1f3)](_0x3a463c['id'])&&this[_0x28d6b6(0x170)][_0x28d6b6(0x201)](_0x3a463c['id'],_0x3a463c[_0x28d6b6(0x168)]);}));}),_0x4e1148;}};_0x3b35a4=_0x4101dd([_0x5d2e99(0x0,_0x527f05['ISnapshotServerService']),_0x5d2e99(0x1,_0x12b751['IUniverInstanceService']),_0x5d2e99(0x2,_0x12b751[_0x28e7dc(0x2ac)]),_0x5d2e99(0x3,_0x12b751[_0x28e7dc(0x1d8)]),_0x5d2e99(0x4,_0x12b751[_0x28e7dc(0x105)](_0x4c4525[_0x28e7dc(0x2b5)])),_0x5d2e99(0x5,_0x12b751[_0x28e7dc(0x105)](_0x527f05[_0x28e7dc(0x119)])),_0x5d2e99(0x6,_0x12b751['Inject'](_0x38fc65[_0x28e7dc(0x112)]))],_0x3b35a4);function _0x497d63(_0x4846bd){const _0x4d80b0=_0x28e7dc;var _0x26dfcc,_0x108f01;const _0x25fcc6=[],{entities:_0x1a5e04,historyIds:_0x381634}=_0x4846bd,{datas:_0x3f2a9c,users:_0x4bbc0f}=_0x1a5e04;for(const _0x374b99 of _0x381634)if(_0x3f2a9c[_0x374b99]){const _0xbd8a55=!!((_0x26dfcc=_0x4bbc0f[_0x3f2a9c[_0x374b99][_0x4d80b0(0x1eb)]])!=null&&_0x26dfcc['anonymous']);_0x25fcc6['push']({'unitId':_0x3f2a9c[_0x374b99]['unitId'],'user':_0xbd8a55?'':((_0x108f01=_0x4bbc0f==null?void 0x0:_0x4bbc0f[_0x3f2a9c[_0x374b99][_0x4d80b0(0x1eb)]])==null?void 0x0:_0x108f01[_0x4d80b0(0x1df)])||'','isAnonymous':_0xbd8a55,'id':_0x374b99,'time':_0x3f2a9c[_0x374b99][_0x4d80b0(0x127)]?Number(_0x3f2a9c[_0x374b99][_0x4d80b0(0x127)]):void 0x0,'commands':_0x3f2a9c[_0x374b99][_0x4d80b0(0x172)],'startRev':Number(_0x3f2a9c[_0x374b99][_0x4d80b0(0x1f6)]),'endRev':Number(_0x3f2a9c[_0x374b99][_0x4d80b0(0xc5)]),'recoverTime':_0x3f2a9c[_0x374b99]['recoverTime']?Number(_0x3f2a9c[_0x374b99][_0x4d80b0(0x14a)]):void 0x0});}return _0x25fcc6;}var _0x240857=Object[_0x28e7dc(0x15b)],_0x539300=(_0x46ee2d,_0xfc9358,_0x582c54,_0x88a8e6)=>{for(var _0x31400b=_0x88a8e6>0x1?void 0x0:_0x88a8e6?_0x240857(_0xfc9358,_0x582c54):_0xfc9358,_0x12ad25=_0x46ee2d['length']-0x1,_0x48fec2;_0x12ad25>=0x0;_0x12ad25--)(_0x48fec2=_0x46ee2d[_0x12ad25])&&(_0x31400b=_0x48fec2(_0x31400b)||_0x31400b);return _0x31400b;},_0x43a636=(_0x15dd24,_0x45985c)=>(_0x27b7bb,_0x491f40)=>_0x45985c(_0x27b7bb,_0x491f40,_0x15dd24),_0x8012b2=(_0x22a965=>(_0x22a965[_0x28e7dc(0x18a)]=_0x28e7dc(0x14b),_0x22a965[_0x28e7dc(0xcf)]=_0x28e7dc(0x198),_0x22a965['Error']=_0x28e7dc(0x158),_0x22a965))(_0x8012b2||{}),_0x84706c=(_0x447ea8=>(_0x447ea8['Init']=_0x28e7dc(0x233),_0x447ea8[_0x28e7dc(0x134)]=_0x28e7dc(0xa1),_0x447ea8[_0x28e7dc(0x1d5)]=_0x28e7dc(0x106),_0x447ea8))(_0x84706c||{});const _0x530192=_0x28e7dc(0x12f);_0x3da4ac['HistoryManagerService']=class extends _0x12b751[_0x28e7dc(0xfb)]{constructor(_0x19155c,_0x158d99,_0x37de69,_0x2c30d0){const _0x1e45c7=_0x28e7dc;super(),_0x72283a(this,_0x1e45c7(0xab),new _0x5e421f['BehaviorSubject']([])),_0x72283a(this,_0x1e45c7(0x2ba),this['_versions$'][_0x1e45c7(0x230)]()),_0x72283a(this,_0x1e45c7(0x28b),new _0x5e421f[(_0x1e45c7(0x9e))]('')),_0x72283a(this,_0x1e45c7(0x1e7),this[_0x1e45c7(0x28b)][_0x1e45c7(0x230)]()),_0x72283a(this,_0x1e45c7(0x1f0),new _0x5e421f[(_0x1e45c7(0x9e))](_0x1e45c7(0x14b))),_0x72283a(this,_0x1e45c7(0x1b4),this[_0x1e45c7(0x1f0)][_0x1e45c7(0x230)]()),_0x72283a(this,'_revertRevision$',new _0x5e421f[(_0x1e45c7(0x9e))](0x0)),_0x72283a(this,_0x1e45c7(0x228),this[_0x1e45c7(0x2a8)][_0x1e45c7(0x230)]()),_0x72283a(this,'_unitId$',new _0x5e421f[(_0x1e45c7(0x9e))]('')),_0x72283a(this,_0x1e45c7(0x1db),this['_unitId$']['asObservable']()),_0x72283a(this,_0x1e45c7(0x102),!0x1),_0x72283a(this,_0x1e45c7(0x15e),new _0x5e421f[(_0x1e45c7(0x9e))]('init')),_0x72283a(this,_0x1e45c7(0x2c2),this[_0x1e45c7(0x15e)][_0x1e45c7(0x230)]()),_0x72283a(this,_0x1e45c7(0x202),null),_0x72283a(this,_0x1e45c7(0x2c8),!0x0),_0x72283a(this,_0x1e45c7(0x25d),new Map()),_0x72283a(this,_0x1e45c7(0x1b2)),_0x72283a(this,_0x1e45c7(0x128)),_0x72283a(this,_0x1e45c7(0x164)),_0x72283a(this,_0x1e45c7(0x225),!0x1),(this[_0x1e45c7(0x199)]=_0x19155c,this[_0x1e45c7(0x1da)]=_0x158d99,this[_0x1e45c7(0x21c)]=_0x37de69,this['_historyFetchService']=_0x2c30d0);}async['triggerLoadVersions'](_0x1d3e43,_0x3ceb0e,_0x23fda3){const _0x5cb524=_0x28e7dc;this[_0x5cb524(0x1b2)]=_0x3ceb0e,this[_0x5cb524(0x225)]=_0x23fda3,this[_0x5cb524(0x1e4)][_0x5cb524(0x2a4)](_0x1d3e43),this[_0x5cb524(0x102)]=!0x0;const _0x1e09a0=await this[_0x5cb524(0xf8)][_0x5cb524(0x140)](_0x1d3e43);if(this[_0x5cb524(0x102)]=!0x1,_0x1e09a0){const {versions:_0x5bf41e,lastLabel:_0x59ca52,hasMore:_0x1c9ac9,members:_0x28ab71}=_0x1e09a0;_0x5bf41e[_0x5cb524(0xa4)]===0x0&&_0x5bf41e['push']({'unitId':_0x1d3e43,'id':_0x530192,'startRev':0x1,'endRev':0x0,'time':Date['now'](),'user':this[_0x5cb524(0x21c)]['t'](_0x5cb524(0x184)),'commands':[],'isAnonymous':!0x1}),this['_updateVersions'](_0x5bf41e,_0x1c9ac9,_0x59ca52,_0x28ab71),this[_0x5cb524(0x28b)][_0x5cb524(0x2a4)](_0x5bf41e[0x0]['id']);}else this[_0x5cb524(0x1f0)][_0x5cb524(0x2a4)]('error');}async['loadMoreVersions'](){const _0x669bea=_0x28e7dc;if(!this[_0x669bea(0x202)]||!this[_0x669bea(0x2c8)]||this['_fetching'])return!0x1;this[_0x669bea(0x102)]=!0x0;const _0xdc45fb=await this[_0x669bea(0xf8)][_0x669bea(0x140)](this[_0x669bea(0x11a)],this[_0x669bea(0x202)]);if(this[_0x669bea(0x102)]=!0x1,_0xdc45fb){const {versions:_0x4c2cc8,lastLabel:_0x494bdf,hasMore:_0x1bcb5f,members:_0x5344c1}=_0xdc45fb;this[_0x669bea(0x297)](_0x4c2cc8,_0x1bcb5f,_0x494bdf,_0x5344c1);}else this[_0x669bea(0x199)]['show']({'content':this[_0x669bea(0x21c)]['t']('editHistory.panel.listFetchError'),'type':_0x149ea2[_0x669bea(0xdf)][_0x669bea(0x1b8)],'duration':0xbb8});return!0x0;}async[_0x28e7dc(0x22d)](_0xe649f9){const _0xc38d68=_0x28e7dc;var _0x47adff;const _0x18295e=(_0x47adff=this[_0xc38d68(0xab)]['value'])==null?void 0x0:_0x47adff[_0xc38d68(0x160)](_0x2b7f87=>_0x2b7f87['id']===_0xe649f9),{endRev:_0x26f2bf}=_0x18295e||{};_0x26f2bf||_0x26f2bf===0x0?(this[_0xc38d68(0x15e)][_0xc38d68(0x2a4)](_0xc38d68(0xa1)),await this[_0xc38d68(0xf8)]['loadSheet'](this[_0xc38d68(0x11a)],_0x26f2bf),this[_0xc38d68(0x15e)]['next'](_0xc38d68(0x106))):this[_0xc38d68(0x1f0)][_0xc38d68(0x2a4)]('error');}async[_0x28e7dc(0x176)](_0x37b33d){const _0x437498=_0x28e7dc,_0x2fbabd=_0x37b33d?this[_0x437498(0x2b1)](_0x37b33d):this[_0x437498(0x1e3)]();if(!_0x2fbabd)return;const _0x4c2763=_0x2fbabd[_0x437498(0x13a)],_0x25445d=_0x33c779(_0x2fbabd[_0x437498(0x167)],this[_0x437498(0x21c)][_0x437498(0x12c)]());await this['_confirmService']['confirm']({'id':_0x437498(0x1a9),'title':{'title':this[_0x437498(0x21c)]['t']('editHistory.panel.revertConfirm')},'children':{'title':this['_localeService']['t']('editHistory.panel.revertConfirmText')+':\x20('+_0x25445d[_0x437498(0x224)]+'\x20'+_0x25445d[_0x437498(0x167)]+')'},'cancelText':this[_0x437498(0x21c)]['t']('editHistory.panel.cancel'),'confirmText':this['_localeService']['t']('editHistory.panel.confirm')})&&this[_0x437498(0x2a8)]['next'](_0x4c2763);}[_0x28e7dc(0x297)](_0x57c2f3,_0x4d6a3e,_0x2b743b,_0x2717e6){const _0x5e7f94=_0x28e7dc;this[_0x5e7f94(0xab)][_0x5e7f94(0x2a4)](this['_versions$']['value'][_0x5e7f94(0xe5)](_0x57c2f3)),this[_0x5e7f94(0x2c8)]=_0x4d6a3e,this[_0x5e7f94(0x202)]=_0x2b743b,_0x2717e6&&Object[_0x5e7f94(0x186)](_0x2717e6)[_0x5e7f94(0xad)](_0x58d5f2=>this[_0x5e7f94(0x25d)][_0x5e7f94(0x149)](_0x58d5f2,_0x2717e6[_0x58d5f2]));}[_0x28e7dc(0x1e3)](){const _0x5adec6=_0x28e7dc;return this['getVersion'](this['_currentVersion$'][_0x5adec6(0xc3)]);}[_0x28e7dc(0x2b1)](_0x1f9cd4){const _0x2b5c97=_0x28e7dc;var _0x33bce6;return(_0x33bce6=this[_0x2b5c97(0xab)][_0x2b5c97(0xc3)])==null?void 0x0:_0x33bce6[_0x2b5c97(0x160)](_0x5c3b15=>_0x5c3b15['id']===_0x1f9cd4);}[_0x28e7dc(0xf9)](_0xc66798){const _0x3f5724=_0x28e7dc;return this[_0x3f5724(0x25d)][_0x3f5724(0xf6)](_0xc66798);}[_0x28e7dc(0xe8)](){const _0x1ba041=_0x28e7dc;this[_0x1ba041(0x164)]=document[_0x1ba041(0x2c6)](_0x1ba041(0x1ce)),this[_0x1ba041(0x164)][_0x1ba041(0x195)]=_0x1ba041(0x120),this['_maskElement'][_0x1ba041(0x1ac)]['position']='absolute',this[_0x1ba041(0x164)][_0x1ba041(0x1ac)][_0x1ba041(0xf5)]='0',this[_0x1ba041(0x164)][_0x1ba041(0x1ac)]['left']='0',this['_maskElement'][_0x1ba041(0x1ac)]['width']=_0x1ba041(0x180),this['_maskElement']['style'][_0x1ba041(0xb4)]='100%',this[_0x1ba041(0x164)][_0x1ba041(0x1ac)][_0x1ba041(0x231)]='rgba(225,\x20225,\x20225,\x200.5)',this['_maskElement'][_0x1ba041(0x1ac)][_0x1ba041(0x200)]=_0x1ba041(0x26f),this['_maskElement'][_0x1ba041(0x1ac)][_0x1ba041(0x178)]=_0x1ba041(0x1f9),this[_0x1ba041(0x164)]['style'][_0x1ba041(0x132)]='center',this['_maskElement'][_0x1ba041(0x1ac)][_0x1ba041(0x150)]=_0x1ba041(0x1e8),this[_0x1ba041(0x164)][_0x1ba041(0x1ac)][_0x1ba041(0x178)]=_0x1ba041(0x2a6),this['_maskContainer'][_0x1ba041(0x261)](this[_0x1ba041(0x164)]);}[_0x28e7dc(0x294)](){const _0x5e12a0=_0x28e7dc;var _0x4b9210;const _0x4cfc1d=(_0x4b9210=document['getElementById'](this[_0x5e12a0(0x1b2)]))==null?void 0x0:_0x4b9210[_0x5e12a0(0x1d9)]('.univer-app-container-content');_0x4cfc1d&&(this['_maskContainer']=_0x4cfc1d,this['_createMask']());}[_0x28e7dc(0x1fd)](){const _0x402df9=_0x28e7dc;this['_maskContainer']||this[_0x402df9(0x294)](),this[_0x402df9(0x164)]&&(this[_0x402df9(0x164)][_0x402df9(0x1ac)]['display']='flex');}[_0x28e7dc(0x187)](){const _0x299ab4=_0x28e7dc;this[_0x299ab4(0x164)]&&(this[_0x299ab4(0x164)][_0x299ab4(0x1ac)]['display']=_0x299ab4(0x2a6));}set[_0x28e7dc(0x104)](_0x24f765){const _0x2cdfc6=_0x28e7dc;this[_0x2cdfc6(0x1f0)]['next'](_0x24f765);}set[_0x28e7dc(0xed)](_0x17358d){const _0x5cad6c=_0x28e7dc;_0x17358d!==this[_0x5cad6c(0x28b)][_0x5cad6c(0xc3)]&&this[_0x5cad6c(0x28b)][_0x5cad6c(0x2a4)](_0x17358d);}get[_0x28e7dc(0xed)](){const _0x4408c5=_0x28e7dc;return this[_0x4408c5(0x28b)][_0x4408c5(0xc3)];}set['unitId'](_0x5de2a1){const _0x1f402a=_0x28e7dc;this[_0x1f402a(0x1e4)][_0x1f402a(0x2a4)](_0x5de2a1);}get[_0x28e7dc(0x11a)](){const _0x459835=_0x28e7dc;return this[_0x459835(0x1e4)][_0x459835(0xc3)];}get[_0x28e7dc(0x173)](){const _0x22cb3e=_0x28e7dc;return this[_0x22cb3e(0x225)];}get['loadingState'](){const _0x47dfdf=_0x28e7dc;return this[_0x47dfdf(0x15e)][_0x47dfdf(0xc3)];}},_0x3da4ac['HistoryManagerService']=_0x539300([_0x43a636(0x0,_0x444282['IMessageService']),_0x43a636(0x1,_0x444282['IConfirmService']),_0x43a636(0x2,_0x12b751[_0x28e7dc(0x105)](_0x12b751['LocaleService'])),_0x43a636(0x3,_0x12b751[_0x28e7dc(0x105)](_0x3b35a4))],_0x3da4ac[_0x28e7dc(0x16e)]);function _0x549d61({ref:_0x220493,..._0x127f53}){const _0x3f489f=_0x28e7dc,{icon:_0x3bc90d,id:_0x5739c3,className:_0x50d89a,extend:_0x3f8566,..._0x47448b}=_0x127f53,_0x1b8053=('univerjs-icon\x20univerjs-icon-'+_0x5739c3+'\x20'+(_0x50d89a||''))[_0x3f489f(0x181)](),_0x4b612d=_0x334f50[_0x3f489f(0x1fa)]('_'+_0x2fa213());return _0x58e100(_0x3bc90d,''+_0x5739c3,{'defIds':_0x3bc90d['defIds'],'idSuffix':_0x4b612d['current']},{'ref':_0x220493,'className':_0x1b8053,..._0x47448b},_0x3f8566);}function _0x58e100(_0x1c99ac,_0x58b560,_0x44bc58,_0x23a1f5,_0x160fc7){const _0x1982b0=_0x28e7dc;return _0x334f50[_0x1982b0(0x2c6)](_0x1c99ac[_0x1982b0(0x162)],{'key':_0x58b560,..._0x3dcc99(_0x1c99ac,_0x44bc58,_0x160fc7),..._0x23a1f5},(_0x592d04(_0x1c99ac,_0x44bc58)['children']||[])[_0x1982b0(0x1ec)]((_0x1fb021,_0x54a6c3)=>_0x58e100(_0x1fb021,_0x58b560+'-'+_0x1c99ac[_0x1982b0(0x162)]+'-'+_0x54a6c3,_0x44bc58,void 0x0,_0x160fc7)));}function _0x3dcc99(_0x4c6ab0,_0x1753e9,_0x5963d0){const _0x111dbe=_0x28e7dc,_0x5f265c={..._0x4c6ab0[_0x111dbe(0x239)]};_0x5963d0!=null&&_0x5963d0[_0x111dbe(0xb9)]&&_0x5f265c[_0x111dbe(0x298)]==='colorChannel1'&&(_0x5f265c[_0x111dbe(0x298)]=_0x5963d0[_0x111dbe(0xb9)]),_0x4c6ab0['tag']===_0x111dbe(0x1d6)&&_0x5f265c['id']&&(_0x5f265c['id']=_0x5f265c['id']+_0x1753e9['idSuffix']),Object[_0x111dbe(0x10e)](_0x5f265c)['forEach'](([_0x46c935,_0x582e3c])=>{const _0x3b785c=_0x111dbe;_0x46c935===_0x3b785c(0x1d6)&&typeof _0x582e3c==_0x3b785c(0x214)&&(_0x5f265c[_0x46c935]=_0x582e3c[_0x3b785c(0xea)](/url\(#(.*)\)/,_0x3b785c(0x11c)+_0x1753e9['idSuffix']+')'));});const {defIds:_0x5ab158}=_0x1753e9;return!_0x5ab158||_0x5ab158['length']===0x0||(_0x4c6ab0[_0x111dbe(0x162)]===_0x111dbe(0xbc)&&_0x5f265c[_0x111dbe(0x1c4)]&&(_0x5f265c[_0x111dbe(0x1c4)]=_0x5f265c['xlink:href']+_0x1753e9[_0x111dbe(0x281)]),Object[_0x111dbe(0x10e)](_0x5f265c)[_0x111dbe(0xad)](([_0x167d95,_0x2eddd8])=>{const _0xb7be40=_0x111dbe;typeof _0x2eddd8==_0xb7be40(0x214)&&(_0x5f265c[_0x167d95]=_0x2eddd8['replace'](/url\(#(.*)\)/,_0xb7be40(0x11c)+_0x1753e9[_0xb7be40(0x281)]+')'));})),_0x5f265c;}function _0x592d04(_0x2e64d0,_0x1dd558){const _0x18f114=_0x28e7dc;var _0x64cab6;const {defIds:_0x3fff17}=_0x1dd558;return!_0x3fff17||_0x3fff17[_0x18f114(0xa4)]===0x0?_0x2e64d0:_0x2e64d0[_0x18f114(0x162)]===_0x18f114(0x24a)&&((_0x64cab6=_0x2e64d0[_0x18f114(0x20b)])!=null&&_0x64cab6[_0x18f114(0xa4)])?{..._0x2e64d0,'children':_0x2e64d0[_0x18f114(0x20b)]['map'](_0x335209=>typeof _0x335209[_0x18f114(0x239)]['id']==_0x18f114(0x214)&&_0x3fff17&&_0x3fff17[_0x18f114(0x29e)](_0x335209[_0x18f114(0x239)]['id'])?{..._0x335209,'attrs':{..._0x335209[_0x18f114(0x239)],'id':_0x335209[_0x18f114(0x239)]['id']+_0x1dd558['idSuffix']}}:_0x335209)}:_0x2e64d0;}function _0x2fa213(){const _0x2e6328=_0x28e7dc;return Math[_0x2e6328(0x1cd)]()[_0x2e6328(0x280)](0x24)[_0x2e6328(0xcd)](0x2,0x8);}_0x549d61['displayName']=_0x28e7dc(0x215);const _0x14480b={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x28e7dc(0x165),'height':'1em'},'children':[{'tag':_0x28e7dc(0xb5),'attrs':{'fill':_0x28e7dc(0x220),'d':_0x28e7dc(0x1de)}}]},_0x5cd781=_0x334f50[_0x28e7dc(0x13e)](function(_0x534f38,_0x473ac4){const _0x176860=_0x28e7dc;return _0x334f50['createElement'](_0x549d61,Object['assign']({},_0x534f38,{'id':_0x176860(0xbe),'ref':_0x473ac4,'icon':_0x14480b}));});_0x5cd781[_0x28e7dc(0x27d)]='BackIcon';const _0x448f8f={'tag':_0x28e7dc(0x1a4),'attrs':{'xmlns':_0x28e7dc(0x12d),'fill':_0x28e7dc(0x2a6),'viewBox':_0x28e7dc(0x251),'width':_0x28e7dc(0x165),'height':_0x28e7dc(0x165)},'children':[{'tag':'g','attrs':{'fill':_0x28e7dc(0x220),'clipPath':_0x28e7dc(0x2b2)},'children':[{'tag':_0x28e7dc(0xb5),'attrs':{'d':_0x28e7dc(0x1b1)}},{'tag':_0x28e7dc(0xb5),'attrs':{'d':'M2.06678\x203.37926C2.0668\x201.94333\x203.23085\x200.779297\x204.66678\x200.779297H9.44256C10.1796\x200.779297\x2010.8821\x201.09213\x2011.3751\x201.63999L13.2659\x203.74079C13.6955\x204.21822\x2013.9333\x204.83779\x2013.9333\x205.4801V12.7126C13.9333\x2014.1486\x2012.7692\x2015.3126\x2011.3333\x2015.3126H4.66665C3.2307\x2015.3126\x202.06663\x2014.1486\x202.06665\x2012.7126L2.06678\x203.37926ZM4.66678\x201.9793C3.89359\x201.9793\x203.26679\x202.60609\x203.26678\x203.37928L3.26665\x2012.7126C3.26664\x2013.4858\x203.89344\x2014.1126\x204.66665\x2014.1126H11.3333C12.1065\x2014.1126\x2012.7333\x2013.4858\x2012.7333\x2012.7126V5.4801C12.7333\x205.44882\x2012.7322\x205.41764\x2012.7302\x205.3866H10.7985C9.91488\x205.3866\x209.19853\x204.67026\x209.19853\x203.78661V1.9793H4.66678ZM10.4832\x202.44275L12.0526\x204.1866H10.7985C10.5776\x204.1866\x2010.3985\x204.00752\x2010.3985\x203.78661V2.35649C10.4279\x202.38389\x2010.4561\x202.41266\x2010.4832\x202.44275Z','fillRule':'evenodd','clipRule':'evenodd'}}]},{'tag':_0x28e7dc(0x24a),'attrs':{},'children':[{'tag':_0x28e7dc(0x1b0),'attrs':{'id':_0x28e7dc(0xce)},'children':[{'tag':_0x28e7dc(0x12a),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x28e7dc(0x26f),'rx':0x4}}]}]}],'defIds':[_0x28e7dc(0xce)]},_0xd48c53=_0x334f50[_0x28e7dc(0x13e)](function(_0x87687c,_0x50d221){const _0xdb8189=_0x28e7dc;return _0x334f50[_0xdb8189(0x2c6)](_0x549d61,Object[_0xdb8189(0x2bd)]({},_0x87687c,{'id':_0xdb8189(0x1c9),'ref':_0x50d221,'icon':_0x448f8f}));});_0xd48c53['displayName']=_0x28e7dc(0x1fc);const _0x3f4493={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x28e7dc(0x2a6),'viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':_0x28e7dc(0xb5),'attrs':{'fill':_0x28e7dc(0x1e6),'d':_0x28e7dc(0x15d),'fillOpacity':0.2,'fillRule':_0x28e7dc(0x286),'clipRule':'evenodd'}},{'tag':_0x28e7dc(0xb5),'attrs':{'fill':_0x28e7dc(0x1e6),'d':_0x28e7dc(0x2ae),'fillRule':_0x28e7dc(0x286),'clipRule':_0x28e7dc(0x286)}}]},_0x2cdb7f=_0x334f50[_0x28e7dc(0x13e)](function(_0x3800,_0x4d300f){const _0x2c6fe4=_0x28e7dc;return _0x334f50[_0x2c6fe4(0x2c6)](_0x549d61,Object[_0x2c6fe4(0x2bd)]({},_0x3800,{'id':_0x2c6fe4(0x2b6),'ref':_0x4d300f,'icon':_0x3f4493}));});_0x2cdb7f[_0x28e7dc(0x27d)]=_0x28e7dc(0x20c);function _0x39a198(){const _0x2e2ce3=_0x28e7dc;var _0x3e5a5b;const _0x24c973=_0x444282[_0x2e2ce3(0x189)](_0x3da4ac[_0x2e2ce3(0x16e)]),_0xb2595e=_0x444282[_0x2e2ce3(0x189)](_0x12b751[_0x2e2ce3(0x260)]),_0x58c76a=_0x334f50[_0x2e2ce3(0x16c)](()=>{const _0x5b4872=_0x2e2ce3;_0x24c973[_0x5b4872(0x104)]=_0x8012b2[_0x5b4872(0xcf)];},[_0x24c973]),_0x2f13e4=_0x334f50[_0x2e2ce3(0x16c)](()=>{const _0x3c1185=_0x2e2ce3;_0x24c973[_0x3c1185(0x176)]();},[_0x24c973]),_0x13c675=_0x444282[_0x2e2ce3(0xb2)](_0x24c973[_0x2e2ce3(0x1e7)]),_0xb24a82=_0x444282['useObservable'](_0x24c973['versions$']),_0x20cbed=_0x13c675===((_0x3e5a5b=_0xb24a82==null?void 0x0:_0xb24a82[0x0])==null?void 0x0:_0x3e5a5b['id']),_0x4841db=_0x13c675!==''&&!_0x20cbed&&_0x24c973['canRevert'];return _0x1ca037['jsxs'](_0x2e2ce3(0x1ce),{'className':_0x149ea2[_0x2e2ce3(0x24c)](_0x2e2ce3(0x11b),_0x149ea2[_0x2e2ce3(0x254)]),'children':[_0x1ca037[_0x2e2ce3(0x226)]('a',{'className':_0x2e2ce3(0x182),'role':_0x2e2ce3(0x23a),'onClick':_0x58c76a,'children':_0x1ca037[_0x2e2ce3(0x226)](_0x5cd781,{'className':_0x2e2ce3(0x183)})}),_0x1ca037['jsx']('div',{'className':_0x2e2ce3(0xca),'children':_0x4841db&&_0x1ca037[_0x2e2ce3(0x226)](_0x149ea2[_0x2e2ce3(0xc8)],{'variant':_0x2e2ce3(0xd1),'onClick':_0x2f13e4,'children':_0xb2595e['t']('editHistory.header.revert')})})]});}var _0x2a692c=Object[_0x28e7dc(0x15b)],_0x2040e0=(_0x5cc7ea,_0xeed2a9,_0x5e0059,_0x540d23)=>{const _0x1ba838=_0x28e7dc;for(var _0x5b542d=_0x540d23>0x1?void 0x0:_0x540d23?_0x2a692c(_0xeed2a9,_0x5e0059):_0xeed2a9,_0x16a5f7=_0x5cc7ea[_0x1ba838(0xa4)]-0x1,_0x387990;_0x16a5f7>=0x0;_0x16a5f7--)(_0x387990=_0x5cc7ea[_0x16a5f7])&&(_0x5b542d=_0x387990(_0x5b542d)||_0x5b542d);return _0x5b542d;},_0x36059f=(_0x595ee6,_0x4ff6df)=>(_0x513952,_0x5e1fd2)=>_0x4ff6df(_0x513952,_0x5e1fd2,_0x595ee6);let _0x420f3f=class extends _0x12b751[_0x28e7dc(0xfb)]{constructor(_0x16960f,_0x15ab1c,_0x410a9b,_0x51901a,_0x452395,_0x3ca9a6){const _0x26d52f=_0x28e7dc;super(),this[_0x26d52f(0x1b3)]=_0x16960f,this['_uiPartsService']=_0x15ab1c,this[_0x26d52f(0x199)]=_0x410a9b,this['_localeService']=_0x51901a,this['_historyManagerService']=_0x452395,this[_0x26d52f(0x13d)]=_0x3ca9a6,this['_init']();}[_0x28e7dc(0x2bf)](){const _0x301fdc=_0x28e7dc;this['disposeWithMe'](this['_historyManagerService'][_0x301fdc(0x1e7)]['subscribe'](_0x2e28ea=>{const _0x2d2b44=_0x301fdc;_0x2e28ea&&this[_0x2d2b44(0x1fe)][_0x2d2b44(0x22d)](_0x2e28ea);})),this['disposeWithMe'](this[_0x301fdc(0x1b3)]['permissionPointUpdate$'][_0x301fdc(0xe2)](_0x277719=>{const _0x63b4b8=_0x301fdc,_0x58b6dd=this[_0x63b4b8(0x1fe)][_0x63b4b8(0x11a)];_0x58b6dd&&(_0x277719['subType']===_0x408eae['Edit']&&_0x277719[_0x63b4b8(0xc3)]===!0x0&&this[_0x63b4b8(0x1b3)]['updatePermissionPoint'](new _0x38fc65[(_0x63b4b8(0x205))](_0x58b6dd)['id'],!0x1),_0x277719[_0x63b4b8(0x237)]===_0x408eae[_0x63b4b8(0x174)]&&_0x277719[_0x63b4b8(0xc3)]===!0x0&&this['_permissionService'][_0x63b4b8(0x153)](new _0x38fc65['WorkbookRenameSheetPermission'](_0x58b6dd)['id'],!0x1),_0x277719[_0x63b4b8(0x237)]===_0x408eae[_0x63b4b8(0x1a7)]&&_0x277719[_0x63b4b8(0xc3)]===!0x0&&this[_0x63b4b8(0x1b3)][_0x63b4b8(0x153)](new _0x38fc65['WorkbookMoveSheetPermission'](_0x58b6dd)['id'],!0x1),_0x277719[_0x63b4b8(0x237)]===_0x408eae['HideSheet']&&_0x277719[_0x63b4b8(0xc3)]===!0x0&&this[_0x63b4b8(0x1b3)][_0x63b4b8(0x153)](new _0x38fc65[(_0x63b4b8(0x145))](_0x58b6dd)['id'],!0x1),_0x277719['subType']===_0x408eae['Comment']&&_0x277719[_0x63b4b8(0xc3)]===!0x0&&this['_permissionService'][_0x63b4b8(0x153)](new _0x38fc65[(_0x63b4b8(0x205))](_0x58b6dd)['id'],!0x1),_0x277719[_0x63b4b8(0x237)]===_0x408eae[_0x63b4b8(0xd7)]&&_0x277719[_0x63b4b8(0xc3)]===!0x0&&this['_permissionService'][_0x63b4b8(0x153)](new _0x38fc65[(_0x63b4b8(0x205))](_0x58b6dd)['id'],!0x1));})),this['disposeWithMe'](this['_uiPartsService']['registerComponent'](_0x444282['BuiltInUIPart'][_0x301fdc(0xf2)],()=>_0x444282[_0x301fdc(0x20a)](_0x39a198,this[_0x301fdc(0x13d)]))),this[_0x301fdc(0x1ea)](this['_historyManagerService'][_0x301fdc(0x2c2)][_0x301fdc(0xe2)](_0x185335=>{const _0x1a2ab8=_0x301fdc;_0x185335===_0x84706c['Loading']&&(this[_0x1a2ab8(0x1fe)]['showMask'](),this['_messageService']['show']({'type':_0x149ea2[_0x1a2ab8(0xdf)][_0x1a2ab8(0x203)],'content':this[_0x1a2ab8(0x21c)]['t'](_0x1a2ab8(0x26c))})),_0x185335===_0x84706c[_0x1a2ab8(0x1d5)]&&this['_historyManagerService'][_0x1a2ab8(0x187)]();}));}};_0x420f3f=_0x2040e0([_0x36059f(0x0,_0x12b751[_0x28e7dc(0x28d)]),_0x36059f(0x1,_0x444282[_0x28e7dc(0xae)]),_0x36059f(0x2,_0x444282[_0x28e7dc(0x26e)]),_0x36059f(0x3,_0x12b751[_0x28e7dc(0x105)](_0x12b751[_0x28e7dc(0x260)])),_0x36059f(0x4,_0x12b751['Inject'](_0x3da4ac['HistoryManagerService'])),_0x36059f(0x5,_0x12b751[_0x28e7dc(0x105)](_0x12b751[_0x28e7dc(0x23c)]))],_0x420f3f);var _0x5b0a12=Object[_0x28e7dc(0x15b)],_0x39b4ee=(_0x2675d2,_0x5b46a7,_0x15e8c9,_0x5d46d6)=>{for(var _0xaf6ac4=_0x5d46d6>0x1?void 0x0:_0x5d46d6?_0x5b0a12(_0x5b46a7,_0x15e8c9):_0x5b46a7,_0x54fbda=_0x2675d2['length']-0x1,_0x250502;_0x54fbda>=0x0;_0x54fbda--)(_0x250502=_0x2675d2[_0x54fbda])&&(_0xaf6ac4=_0x250502(_0xaf6ac4)||_0xaf6ac4);return _0xaf6ac4;},_0x1e139a=(_0x3bdbef,_0x230911)=>(_0x17a34c,_0x338ddc)=>_0x230911(_0x17a34c,_0x338ddc,_0x3bdbef);let _0x1db00a=class extends _0x12b751['Disposable']{constructor(_0xbdb8cc,_0x5dc2ba,_0x589660){const _0x29ec5e=_0x28e7dc;super(),_0x72283a(this,_0x29ec5e(0x278),new Map()),_0x72283a(this,_0x29ec5e(0x271),new _0x5e421f[(_0x29ec5e(0x9e))]({'ranges':new Map(),'active':null})),_0x72283a(this,_0x29ec5e(0x29c),this[_0x29ec5e(0x271)][_0x29ec5e(0x230)]()),(this[_0x29ec5e(0x1fe)]=_0xbdb8cc,this['_transformService']=_0x5dc2ba,this[_0x29ec5e(0x2c3)]=_0x589660,this[_0x29ec5e(0x2bf)]());}[_0x28e7dc(0x2bf)](){const _0x282805=_0x28e7dc;this[_0x282805(0x278)]=new Map(),this[_0x282805(0x1ea)](this[_0x282805(0x1fe)]['unitId$'][_0x282805(0xe2)](_0x2ddb4d=>{const _0x3d57df=_0x282805;_0x2ddb4d&&!this['_diffRangesMap']['has'](_0x2ddb4d)&&this[_0x3d57df(0x278)]['set'](_0x2ddb4d,new Map());})),this['disposeWithMe'](this[_0x282805(0x1fe)]['currentVersion$'][_0x282805(0xe2)](async _0xab2494=>{const _0x3d4359=_0x282805;var _0x4205fc;_0xab2494&&(await this[_0x3d4359(0x227)](_0xab2494),this[_0x3d4359(0x271)][_0x3d4359(0x2a4)](((_0x4205fc=this['_diffRangesMap']['get'](this[_0x3d4359(0x1fe)][_0x3d4359(0x11a)]))==null?void 0x0:_0x4205fc[_0x3d4359(0xf6)](_0xab2494))||{'ranges':new Map(),'active':null}));}));}async[_0x28e7dc(0x227)](_0x196361){const _0x4b9a47=_0x28e7dc;var _0x59ffd8,_0x3f5a72;const _0x1591cf=this['_historyManagerService'][_0x4b9a47(0x2b1)](_0x196361),_0x547ce5=this[_0x4b9a47(0x1fe)]['unitId'];if(!_0x1591cf||!_0x547ce5)return;const _0x52f058=this[_0x4b9a47(0x278)][_0x4b9a47(0xf6)](_0x547ce5);if(_0x52f058||this[_0x4b9a47(0x278)][_0x4b9a47(0x149)](_0x547ce5,new Map()),(_0x59ffd8=this[_0x4b9a47(0x278)][_0x4b9a47(0xf6)](_0x547ce5))!=null&&_0x59ffd8[_0x4b9a47(0x2a7)](_0x1591cf['id']))return;const {startRev:_0x444788,endRev:_0x3fff76}=_0x1591cf;if(_0x444788===0x1){_0x52f058[_0x4b9a47(0x149)](_0x1591cf['id'],{'ranges':new Map(),'active':null});return;}const _0x219896=_0x444788-0x1,_0x6553d8=_0x3fff76,_0x233219=await this['_snapshotServerService']['fetchMissingChangesets']({},{'unitID':_0x547ce5,'from':_0x219896,'to':_0x6553d8,'type':_0x1d6a4b['UNIVER_SHEET']});if(((_0x3f5a72=_0x233219['error'])==null?void 0x0:_0x3f5a72['code'])===_0x115640['OK']){const _0x2034df=_0x233219['changesets']['map'](_0x1a0167=>((_0x1a0167[_0x4b9a47(0x248)]===null||_0x1a0167[_0x4b9a47(0x248)]===void 0x0)&&(_0x1a0167[_0x4b9a47(0x248)]=[]),_0x527f05[_0x4b9a47(0x17e)](_0x1a0167)))[_0x4b9a47(0x1ec)](_0x4f5fd7=>_0x4f5fd7[_0x4b9a47(0x248)]['map'](_0x863afa=>({..._0x863afa,'params':{..._0x863afa[_0x4b9a47(0x168)],'memberId':_0x4f5fd7[_0x4b9a47(0x10c)]}})))['flat'](),_0x44fba7=this[_0x4b9a47(0x179)](_0x2034df),_0x263cfd=this[_0x4b9a47(0x1b5)](_0x2034df),_0x1321c0=this[_0x4b9a47(0x27c)](_0x44fba7);_0x52f058[_0x4b9a47(0x149)](_0x1591cf['id'],{'ranges':_0x1321c0,'active':_0x263cfd});}}[_0x28e7dc(0x179)](_0x353d68){const _0x5eb611=_0x28e7dc;let _0x4399f0=[];for(let _0xf1b8b=0x0;_0xf1b8b<_0x353d68[_0x5eb611(0xa4)];_0xf1b8b++){const _0xbeba82=_0x353d68[_0xf1b8b];if(_0x4399f0[_0x5eb611(0x1bc)](_0xbeba82),_0xf1b8b!==_0x353d68[_0x5eb611(0xa4)]-0x1){const _0x448073=_0x353d68[_0xf1b8b+0x1],_0xed9cdc=this[_0x5eb611(0x208)][_0x5eb611(0x12b)](_0x4399f0,[_0x448073]);_0x527f05[_0x5eb611(0x242)](_0xed9cdc)?_0x4399f0=_0xed9cdc[_0x5eb611(0xaf)]:_0x4399f0=[];}}return _0x4399f0;}[_0x28e7dc(0x1b5)](_0x287877){const _0x2d289b=_0x28e7dc;let _0x2eb058=[];return _0x287877[_0x2d289b(0xad)](_0x10c42a=>{const _0xcae0b2=_0x2d289b;if(_0x10c42a['id']===_0x38fc65['InsertSheetMutation']['id']){const _0x362c59=_0x10c42a[_0xcae0b2(0x168)];_0x2eb058[_0xcae0b2(0x1bc)](_0x362c59['sheet']['id']);}else{if(_0x10c42a['id']===_0x38fc65['RemoveSheetMutation']['id']){const _0x2f5c45=_0x10c42a[_0xcae0b2(0x168)];_0x2eb058[_0xcae0b2(0xa4)]>0x0&&(_0x2eb058=_0x2eb058[_0xcae0b2(0xe9)](_0x384a40=>_0x384a40!==_0x2f5c45[_0xcae0b2(0x2b0)]));}else{if(_0x10c42a['id']===_0x38fc65['SetWorksheetHideMutation']['id']){const _0x4eab8b=_0x10c42a[_0xcae0b2(0x168)];_0x4eab8b[_0xcae0b2(0xb3)]?_0x2eb058=_0x2eb058[_0xcae0b2(0xe9)](_0x162de0=>_0x162de0!==_0x4eab8b['subUnitId']):_0x2eb058[_0xcae0b2(0x1bc)](_0x4eab8b[_0xcae0b2(0x2b0)]);}else{const _0x160623=_0x10c42a[_0xcae0b2(0x168)];_0x160623[_0xcae0b2(0x2b0)]&&_0x2eb058[_0xcae0b2(0x1bc)](_0x160623[_0xcae0b2(0x2b0)]);}}}}),_0x2eb058['length']>0x0?_0x2eb058[_0x2eb058[_0x2d289b(0xa4)]-0x1]:null;}[_0x28e7dc(0x27c)](_0x3ea8a8){const _0x3ddc59=_0x28e7dc,_0x45b023=new Map();return _0x3ea8a8[_0x3ddc59(0xad)](_0x1fd8cf=>{const _0x4bc12b=_0x3ddc59;var _0x31788e,_0x10f0ae;const _0x16e219=(_0x31788e=_0x1fd8cf[_0x4bc12b(0x168)])==null?void 0x0:_0x31788e[_0x4bc12b(0x257)];if(_0x16e219){_0x45b023[_0x4bc12b(0x2a7)](_0x16e219)||_0x45b023[_0x4bc12b(0x149)](_0x16e219,[]);const _0xa1b824=this[_0x4bc12b(0x15c)](_0x1fd8cf);(_0x10f0ae=_0x45b023['get'](_0x16e219))==null||_0x10f0ae['push'](..._0xa1b824);}}),_0x45b023[_0x3ddc59(0xad)]((_0xa00cd7,_0x318098)=>{const _0x23c076=_0x3ddc59;_0x45b023[_0x23c076(0x149)](_0x318098,this[_0x23c076(0x100)](_0xa00cd7));}),_0x45b023;}[_0x28e7dc(0x15c)](_0x101049){const _0x1eb585=_0x28e7dc;switch(_0x101049['id']){case _0x38fc65[_0x1eb585(0x26d)]['id']:{const _0x58519c=_0x101049['params'];return _0x58519c[_0x1eb585(0x212)]['map'](_0x281ad9=>_0x281ad9['ranges'][_0x1eb585(0x1ec)](_0x4f534c=>({'range':_0x4f534c,'unitId':_0x58519c[_0x1eb585(0x11a)],'subUnitId':_0x58519c[_0x1eb585(0x2b0)]})))[_0x1eb585(0x135)]();}case _0x38fc65['AddWorksheetMergeMutation']['id']:{const _0xcfcfb3=_0x101049[_0x1eb585(0x168)];return _0xcfcfb3[_0x1eb585(0x26a)]['map'](_0x6876f4=>({'range':_0x6876f4,'unitId':_0xcfcfb3[_0x1eb585(0x11a)],'subUnitId':_0xcfcfb3['subUnitId']}));}case _0x38fc65[_0x1eb585(0x24e)]['id']:{const _0x4e2374=_0x101049['params'];return[{'range':_0x4e2374['range'],'unitId':_0x4e2374[_0x1eb585(0x11a)],'subUnitId':_0x4e2374['subUnitId']}];}case _0x38fc65[_0x1eb585(0x279)]['id']:{const _0xa625f8=_0x101049[_0x1eb585(0x168)];return[{'range':_0xa625f8[_0x1eb585(0xe3)],'unitId':_0xa625f8['unitId'],'subUnitId':_0xa625f8['subUnitId']}];}case _0x38fc65[_0x1eb585(0x23e)]['id']:{const _0x2a2918=_0x101049[_0x1eb585(0x168)],{from:_0x3ca446,to:_0x8c46f6,unitId:_0x289fdb}=_0x2a2918;return[{'range':_0x2d8bcf(_0x3ca446[_0x1eb585(0xc3)]),'unitId':_0x289fdb,'subUnitId':_0x3ca446['subUnitId']},{'range':_0x2d8bcf(_0x8c46f6['value']),'unitId':_0x289fdb,'subUnitId':_0x8c46f6[_0x1eb585(0x2b0)]}];}case _0x38fc65[_0x1eb585(0x21a)]['id']:{const _0x44b267=_0x101049[_0x1eb585(0x168)],{unitId:_0x58e78d,subUnitId:_0x4b0919,sourceRange:_0xe30bc1,targetRange:_0x1fcf4c}=_0x44b267,_0x8f8472=_0xe30bc1[_0x1eb585(0x1a1)]-_0xe30bc1[_0x1eb585(0x1c6)]+0x1;return[{'range':_0x1fcf4c['startRow']<=_0xe30bc1[_0x1eb585(0x1c6)]?_0x1fcf4c:{..._0x1fcf4c,'startRow':_0x1fcf4c['startRow']-_0x8f8472,'endRow':_0x1fcf4c[_0x1eb585(0x1a1)]-_0x8f8472},'unitId':_0x58e78d,'subUnitId':_0x4b0919}];}case _0x38fc65['MoveColsMutation']['id']:{const _0x1e534e=_0x101049[_0x1eb585(0x168)],{unitId:_0x406503,subUnitId:_0x4cb57f,sourceRange:_0x19482d,targetRange:_0x168429}=_0x1e534e,_0x7b866f=_0x19482d[_0x1eb585(0x295)]-_0x19482d['startColumn']+0x1;return[{'range':_0x168429[_0x1eb585(0x19a)]<=_0x19482d['startColumn']?_0x168429:{..._0x168429,'startColumn':_0x168429[_0x1eb585(0x19a)]-_0x7b866f,'endColumn':_0x168429[_0x1eb585(0x295)]-_0x7b866f},'unitId':_0x406503,'subUnitId':_0x4cb57f}];}case _0x38fc65[_0x1eb585(0x111)]['id']:{const _0x19a77d=_0x101049[_0x1eb585(0x168)],{values:_0xbb797c,unitId:_0x543cae,subUnitId:_0x163fb9}=_0x19a77d;return Object[_0x1eb585(0x1d2)](_0xbb797c)[_0x1eb585(0x1ec)](_0x7f7432=>_0x7f7432[_0x1eb585(0x26a)][_0x1eb585(0x1ec)](_0x5235c3=>({'range':_0x5235c3,'unitId':_0x543cae,'subUnitId':_0x163fb9})))['flat']();}case _0x38fc65[_0x1eb585(0x2be)]['id']:{const _0x3babda=_0x101049[_0x1eb585(0x168)],{ranges:_0x47eefe,unitId:_0x43b057,subUnitId:_0x32d00c}=_0x3babda;return _0x47eefe['map'](_0x5cad46=>({'range':_0x5cad46,'unitId':_0x43b057,'subUnitId':_0x32d00c}));}case _0x38fc65[_0x1eb585(0xfe)]['id']:{const _0xf5bc05=_0x101049[_0x1eb585(0x168)],{unitId:_0x516c5a,subUnitId:_0x333e48,range:_0x12f01c}=_0xf5bc05;return[{'range':_0x12f01c,'unitId':_0x516c5a,'subUnitId':_0x333e48}];}case _0x38fc65[_0x1eb585(0xe6)]['id']:{const _0x53afae=_0x101049[_0x1eb585(0x168)];return _0x53afae[_0x1eb585(0x2b4)][_0x1eb585(0x26a)][_0x1eb585(0x1ec)](_0x1775d0=>({'range':_0x1775d0,'unitId':_0x53afae['unitId'],'subUnitId':_0x53afae['subUnitId']}));}case _0x38fc65[_0x1eb585(0x213)]['id']:{const _0x2070db=_0x101049[_0x1eb585(0x168)];return _0x2070db[_0x1eb585(0x1cf)]?_0x20582a(_0x2070db[_0x1eb585(0x1cf)])['map'](_0x10a317=>({'range':_0x10a317,'unitId':_0x2070db[_0x1eb585(0x11a)],'subUnitId':_0x2070db['subUnitId']})):[];}case _0x1913bf[_0x1eb585(0x218)]['id']:{const _0x2c7c3c=_0x101049[_0x1eb585(0x168)];return[{'range':_0x2c7c3c[_0x1eb585(0xe3)],'unitId':_0x2c7c3c[_0x1eb585(0x11a)],'subUnitId':_0x2c7c3c[_0x1eb585(0x2b0)]}];}case _0xae4b1b['AddDataValidationMutation']['id']:{const _0x1f78cd=_0x101049[_0x1eb585(0x168)];return(Array[_0x1eb585(0xa9)](_0x1f78cd[_0x1eb585(0x2b4)])?_0x1f78cd[_0x1eb585(0x2b4)]:[_0x1f78cd[_0x1eb585(0x2b4)]])['map'](_0x56cc84=>_0x56cc84[_0x1eb585(0x26a)][_0x1eb585(0x1ec)](_0x3139c6=>({'range':_0x3139c6,'unitId':_0x1f78cd[_0x1eb585(0x11a)],'subUnitId':_0x1f78cd['subUnitId']})))['flat']();}case _0x1dbee6[_0x1eb585(0x10f)]['id']:{const _0x527e5c=_0x101049[_0x1eb585(0x168)];return _0x527e5c[_0x1eb585(0x2b4)]['ranges'][_0x1eb585(0x1ec)](_0x3cf666=>({'range':_0x3cf666,'unitId':_0x527e5c['unitId'],'subUnitId':_0x527e5c[_0x1eb585(0x2b0)]}));}default:return[];}}[_0x28e7dc(0x100)](_0x17543c){const _0x189f9c=_0x28e7dc;if(_0x17543c[_0x189f9c(0xa4)]<=0x1)return _0x17543c;const _0x1ea7fe=new Map();return _0x17543c[_0x189f9c(0xad)](_0x16155b=>{const _0x203b48=_0x189f9c;var _0x5376b7;const {unitId:_0x1fae9a,subUnitId:_0x243e4f}=_0x16155b,_0x140166=_0x1fae9a+'-'+_0x243e4f;_0x1ea7fe[_0x203b48(0x2a7)](_0x140166)?(_0x5376b7=_0x1ea7fe['get'](_0x140166))==null||_0x5376b7[_0x203b48(0x1bc)](_0x16155b):_0x1ea7fe['set'](_0x140166,[_0x16155b]);}),Array['from'](_0x1ea7fe[_0x189f9c(0x1d2)]())['map'](_0x5ce310=>new _0x38fc65[(_0x189f9c(0xc4))]()[_0x189f9c(0x16b)](..._0x5ce310[_0x189f9c(0x1ec)](_0x2867b6=>_0x2867b6[_0x189f9c(0xe3)]))[_0x189f9c(0x115)]()[_0x189f9c(0x1ec)](_0x53a9a5=>({'range':_0x53a9a5,'unitId':_0x5ce310[0x0][_0x189f9c(0x11a)],'subUnitId':_0x5ce310[0x0][_0x189f9c(0x2b0)]})))[_0x189f9c(0x135)]();}};_0x1db00a=_0x39b4ee([_0x1e139a(0x0,_0x12b751[_0x28e7dc(0x105)](_0x3da4ac['HistoryManagerService'])),_0x1e139a(0x1,_0x527f05[_0x28e7dc(0x1e2)]),_0x1e139a(0x2,_0x527f05[_0x28e7dc(0x19f)])],_0x1db00a);function _0x2d8bcf(_0x97ad5e){const _0x1c47a1=_0x28e7dc;return new _0x12b751[(_0x1c47a1(0x22f))](_0x97ad5e)[_0x1c47a1(0x19b)]();}function _0x20582a(_0x26f547){const _0xb8a0e0=_0x28e7dc,_0x469cb0=new _0x12b751[(_0xb8a0e0(0x22f))](_0x26f547),_0x36bd41=new _0x12b751[(_0xb8a0e0(0x22f))]();return _0x469cb0['forValue']((_0x16624e,_0x45400a)=>{_0x36bd41['setValue'](_0x16624e,_0x45400a,0x1);}),_0x38fc65[_0xb8a0e0(0x236)](_0x36bd41);}var _0x5430ed=Object[_0x28e7dc(0x15b)],_0x2d772f=(_0x470f9b,_0x193079,_0x1ee51d,_0x2bf7c8)=>{const _0x279557=_0x28e7dc;for(var _0x2d2222=_0x2bf7c8>0x1?void 0x0:_0x2bf7c8?_0x5430ed(_0x193079,_0x1ee51d):_0x193079,_0x24c01b=_0x470f9b[_0x279557(0xa4)]-0x1,_0x9a8324;_0x24c01b>=0x0;_0x24c01b--)(_0x9a8324=_0x470f9b[_0x24c01b])&&(_0x2d2222=_0x9a8324(_0x2d2222)||_0x2d2222);return _0x2d2222;},_0x44afdb=(_0x4b0d04,_0x414d90)=>(_0x253daa,_0x41744f)=>_0x414d90(_0x253daa,_0x41744f,_0x4b0d04);let _0x32c19a=class extends _0x12b751[_0x28e7dc(0xfb)]{constructor(_0x531ff3,_0x3fdb62,_0x557ab4,_0x318d54,_0x22860e,_0x1d2634,_0x25a8a9){const _0x1c74ab=_0x28e7dc;super(),_0x72283a(this,_0x1c74ab(0xa8),new Set()),_0x72283a(this,_0x1c74ab(0x16d),null),(this['_context']=_0x531ff3,this[_0x1c74ab(0x1fe)]=_0x3fdb62,this[_0x1c74ab(0x116)]=_0x557ab4,this['_univerInstanceService']=_0x318d54,this[_0x1c74ab(0x266)]=_0x22860e,this['_sheetSkeletonManagerService']=_0x1d2634,this[_0x1c74ab(0x170)]=_0x25a8a9,this[_0x1c74ab(0x2bf)]());}['_init'](){const _0x5f26d4=_0x28e7dc;this[_0x5f26d4(0x27f)](),this['_initActiveSwitch']();}[_0x28e7dc(0x27f)](){const _0x3b2905=_0x28e7dc;this[_0x3b2905(0x1ea)](_0x5e421f['combineLatest']([this[_0x3b2905(0x1fe)][_0x3b2905(0x2c2)],this[_0x3b2905(0x1e5)][_0x3b2905(0xde)]])['pipe'](_0x5e421f[_0x3b2905(0xf1)](([_0xe90cc1,_0x3ed2cd])=>{const _0x21d282=_0x3b2905;if(_0xe90cc1===_0x84706c[_0x21d282(0x1d5)]&&_0x3ed2cd){const _0x24b71a=_0x3ed2cd[_0x21d282(0x103)];return this['_versionDiffService'][_0x21d282(0x29c)][_0x21d282(0x25c)](_0x5e421f[_0x21d282(0x1ec)](_0x426563=>{const _0x34cb4e=_0x21d282,_0x194e13=new Map();return _0x426563[_0x34cb4e(0x26a)]['forEach']((_0x5eb747,_0x38148f)=>{const _0x20622c=_0x34cb4e,_0x27c02f=_0x5eb747[_0x20622c(0xe9)](_0x7e3938=>_0x7e3938[_0x20622c(0x2b0)]===_0x24b71a);_0x194e13[_0x20622c(0x149)](_0x38148f,_0x27c02f);}),{'skeleton':_0x3ed2cd,'diffs':_0x194e13};}));}return _0x5e421f['of']({'skeleton':null,'diffs':new Map()});}))['subscribe'](({skeleton:_0x353e41,diffs:_0x33fb7b})=>{const _0x4ee448=_0x3b2905;this[_0x4ee448(0x1c8)](),_0x353e41&&this[_0x4ee448(0x11f)](_0x353e41,_0x33fb7b);})),this[_0x3b2905(0x1ea)](this[_0x3b2905(0x1e5)][_0x3b2905(0xde)][_0x3b2905(0xe2)](_0x259f71=>{const _0x3e1e64=_0x3b2905;if(_0x259f71==null)return;const {skeleton:_0x13e6b9}=_0x259f71,{scene:_0x34879e}=this['_context'];_0x34879e[_0x3e1e64(0xa0)][_0x3e1e64(0x284)](_0x12b751[_0x3e1e64(0xec)](_0xf877e4=>{const _0x5b74b9=_0x3e1e64;var _0xd92e7d,_0x1efdbb;const {offsetX:_0x96d914,offsetY:_0x4749c9}=_0xf877e4,{x:_0x295765,y:_0x45008e}=_0x34879e['getRelativeToViewportCoord'](_0x4866c8['Vector2'][_0x5b74b9(0x2bb)]([_0x96d914,_0x4749c9])),{scaleX:_0x58eb8d,scaleY:_0x508588}=_0x34879e['getAncestorScale'](),_0x7e4644=_0x34879e['getViewport'](_0x4866c8[_0x5b74b9(0x25e)]['VIEW_MAIN']),_0x159694=_0x34879e[_0x5b74b9(0x114)](_0x4866c8[_0x5b74b9(0x18f)]['FromArray']([_0x295765,_0x45008e]),_0x7e4644),_0x505168=_0x13e6b9['getCellPositionByOffset'](_0x96d914,_0x4749c9,_0x58eb8d,_0x508588,_0x159694);((_0xd92e7d=this[_0x5b74b9(0x16d)])==null?void 0x0:_0xd92e7d[_0x5b74b9(0xd5)])===_0x505168[_0x5b74b9(0xd5)]&&((_0x1efdbb=this[_0x5b74b9(0x16d)])==null?void 0x0:_0x1efdbb[_0x5b74b9(0x1a0)])===_0x505168[_0x5b74b9(0x1a0)]||this[_0x5b74b9(0xa8)][_0x5b74b9(0xad)](_0x28d510=>{_0x28d510['onMouseMove'](_0x505168);});},0x64));}));}['_initActiveSwitch'](){const _0x4c9561=_0x28e7dc;this[_0x4c9561(0x1ea)](this[_0x4c9561(0x1fe)][_0x4c9561(0x2c2)][_0x4c9561(0xe2)](_0x4a70b3=>{const _0x2a1ded=_0x4c9561,_0xf3742a=new _0x12b751[(_0x2a1ded(0xe7))]();return _0x4a70b3===_0x84706c[_0x2a1ded(0x1d5)]&&(_0xf3742a[_0x2a1ded(0xc1)](),_0xf3742a[_0x2a1ded(0x16b)](this['_versionDiffService'][_0x2a1ded(0x29c)][_0x2a1ded(0xe2)](_0x4c62e8=>{const _0x367921=_0x2a1ded;_0x4c62e8['active']&&this[_0x367921(0x170)][_0x367921(0xdc)](_0x38fc65['SetWorksheetActiveOperation']['id'],{'unitId':this[_0x367921(0x238)][_0x367921(0x11a)],'subUnitId':_0x4c62e8[_0x367921(0x138)]});}))),()=>_0xf3742a['dispose']();}));}['_updateDiffMarks'](_0x4739e7,_0x266d82){const _0x4c7e52=_0x28e7dc;var _0x47395a;const _0x42145e=(_0x47395a=this[_0x4c7e52(0x1e5)]['getCurrent']())==null?void 0x0:_0x47395a[_0x4c7e52(0x244)];if(!_0x42145e)return;this[_0x4c7e52(0xa8)]['forEach'](_0x315ad0=>{const _0x18795a=_0x4c7e52;_0x315ad0[_0x18795a(0xef)]();});const {scene:_0x1fc49b}=this[_0x4c7e52(0x238)],_0x2324f2=Array[_0x4c7e52(0x166)](_0x266d82['keys']())[_0x4c7e52(0x1ec)](_0x524ad4=>_0x266d82[_0x4c7e52(0xf6)](_0x524ad4)['map'](_0x3a7e7f=>{const _0x5a37c4=_0x4c7e52;var _0x446ac9;const {range:_0x392eda,subUnitId:_0x31804b,unitId:_0x11c095}=_0x3a7e7f,{startColumn:_0x25337f,startRow:_0x2f140f,endColumn:_0x118e6d,endRow:_0x385bed}=_0x392eda,_0x1d58ec=_0xf55386[_0x5a37c4(0xd2)](_0x2f140f,_0x25337f,_0x1fc49b,_0x42145e),_0x33aeaf=_0xf55386['getCoordByCell'](_0x385bed,_0x118e6d,_0x1fc49b,_0x42145e),{columnHeaderHeightAndMarginTop:_0x3fc381}=_0x42145e,{startX:_0x171e73,startY:_0x39a5ce}=_0x1d58ec,{endX:_0xd90e02,endY:_0xc26091}=_0x33aeaf,_0x3bde63=_0xd90e02-_0x171e73,_0x50b98b=_0xc26091-_0x39a5ce,_0x4d4a09={'labelPosition':_0x39a5ce-_0x3fc381>=0x14?_0x5a37c4(0xf5):'bottom','sheetID':_0x31804b,'range':_0x392eda,'color':'rgba(58,\x2096,\x20247,\x200.20)','fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x5a37c4(0x108),'name':((_0x446ac9=this['_historyManagerService'][_0x5a37c4(0xf9)](_0x524ad4))==null?void 0x0:_0x446ac9[_0x5a37c4(0x1df)])||'','selection':_0x11c095+'-'+_0x31804b+'-'+_0x392eda[_0x5a37c4(0x19a)]+'-'+_0x392eda[_0x5a37c4(0x1c6)]+'-'+_0x392eda['endColumn']+'-'+_0x392eda['endRow'],'left':_0x171e73,'top':_0x39a5ce,'width':_0x3bde63,'height':_0x50b98b,'evented':!0x1,'zIndex':0x1};return new _0xcee41c['SheetCollabCursorShape']('',_0x4d4a09);}))[_0x4c7e52(0x135)]();_0x1fc49b[_0x4c7e52(0x2af)](_0x2324f2,0x1),this[_0x4c7e52(0xa8)]=new Set(_0x2324f2);}[_0x28e7dc(0x1c8)](){const _0x363803=_0x28e7dc;var _0x356114;(_0x356114=this[_0x363803(0xa8)])==null||_0x356114[_0x363803(0xad)](_0x591084=>_0x591084[_0x363803(0xc1)]());}[_0x28e7dc(0xcb)](){const _0x3f8a95=_0x28e7dc;return _0xf55386[_0x3f8a95(0x27a)](this['_univerInstanceService'],this[_0x3f8a95(0x266)]);}};_0x32c19a=_0x2d772f([_0x44afdb(0x1,_0x12b751[_0x28e7dc(0x105)](_0x3da4ac[_0x28e7dc(0x16e)])),_0x44afdb(0x2,_0x12b751[_0x28e7dc(0x105)](_0x1db00a)),_0x44afdb(0x3,_0x12b751[_0x28e7dc(0x11e)]),_0x44afdb(0x4,_0x4866c8['IRenderManagerService']),_0x44afdb(0x5,_0x12b751[_0x28e7dc(0x105)](_0xf55386[_0x28e7dc(0x291)])),_0x44afdb(0x6,_0x12b751[_0x28e7dc(0x2ac)])],_0x32c19a);function _0x30e10f(){const _0x248399=_0x28e7dc,_0x4f69b8=_0x444282[_0x248399(0x189)](_0x3da4ac['HistoryManagerService']),_0x2e1b5b=_0x444282['useObservable'](_0x4f69b8[_0x248399(0x2ba)]),[_0x44d5a9,_0x415e0e]=_0x334f50[_0x248399(0x1f1)](!0x1),_0x260aee=_0x51c537(_0x2e1b5b);return _0x2e1b5b?_0x1ca037[_0x248399(0x226)](_0x248399(0x1ce),{'className':'univer-overflow-hidden','children':_0x1ca037['jsxs'](_0x248399(0x1ce),{'className':_0x248399(0x1c0),'children':[_0x260aee[_0x248399(0x1ec)]((_0x16a4c9,_0x2605a0)=>_0x1ca037[_0x248399(0x2bc)](_0x334f50[_0x248399(0xb1)],{'children':[_0x1ca037[_0x248399(0x226)](_0x310a7e,{'date':_0x16a4c9[_0x248399(0x14d)]}),_0x16a4c9[_0x248399(0x29f)]['map']((_0x2c6af7,_0x46499e)=>_0x1ca037['jsx'](_0x189cd3,{'index':[_0x2605a0,_0x46499e],'item':_0x2c6af7},_0x2605a0+'-'+_0x46499e))]},_0x16a4c9[_0x248399(0x14d)])),_0x44d5a9&&_0x1ca037[_0x248399(0x226)](_0x4eddb1,{})]})}):_0x1ca037['jsx'](_0x3a315e,{});}function _0x4eddb1(){const _0x428257=_0x28e7dc;return _0x1ca037[_0x428257(0x226)](_0x428257(0x1ce),{'className':_0x428257(0xbf),'children':_0x1ca037['jsx'](_0x2cdb7f,{'className':'univer-animate-spin'})});}function _0x3a315e(){const _0x1e7bd6=_0x28e7dc;return _0x1ca037[_0x1e7bd6(0x226)]('div',{'className':'univer-flex\x20univer-items-center\x20univer-justify-center','children':_0x1ca037[_0x1e7bd6(0x226)](_0x1e7bd6(0x1d4),{'className':_0x1e7bd6(0x25f),'children':_0x1ca037[_0x1e7bd6(0x226)](_0x2cdb7f,{'className':_0x1e7bd6(0x117)})})});}function _0x310a7e(_0x47a491){const _0x43c1bb=_0x28e7dc,_0x18c184=_0x444282['useDependency'](_0x12b751[_0x43c1bb(0x260)]),{date:_0xe4789d}=_0x47a491;return _0x1ca037[_0x43c1bb(0x226)](_0x43c1bb(0x1ce),{'className':_0x43c1bb(0x1d0),'children':_0x4d3a43(_0xe4789d,_0x18c184['getCurrentLocale']())});}function _0x189cd3(_0x13b723){const _0x56b40a=_0x28e7dc,{item:_0x29f817,index:_0xdabfd0}=_0x13b723,{time:_0x47a771,user:_0xe83e26}=_0x29f817,[_0x4e0092,_0x306222]=_0xdabfd0,_0x31a1d6=_0x444282[_0x56b40a(0x189)](_0x3da4ac[_0x56b40a(0x16e)]),_0x1b6f0d=_0x444282[_0x56b40a(0xb2)](_0x31a1d6[_0x56b40a(0x1e7)],'',!0x0)===_0x29f817['id'],_0x570d5b=_0x4e0092===0x0&&_0x306222===0x0,_0x305280=!_0x570d5b&&_0x31a1d6[_0x56b40a(0x173)],_0x1224ac=_0x444282['useDependency'](_0x12b751[_0x56b40a(0x260)]),_0x3b47a7=_0x1224ac[_0x56b40a(0x12c)](),_0x3b9951=_0x33c779(_0x47a771,_0x3b47a7),_0x2bb800=_0x1224ac['t']('editHistory.panel.currentVersion'),_0x3a5277=_0x334f50[_0x56b40a(0x16c)](_0x1379fb=>{const _0x1f81d9=_0x56b40a;_0x31a1d6[_0x1f81d9(0xc6)]!==_0x84706c['Loading']&&(_0x31a1d6[_0x1f81d9(0xed)]=_0x1379fb);},[_0x31a1d6]),_0x3524e1=_0x334f50[_0x56b40a(0x16c)](_0x104719=>{const _0x4f3924=_0x56b40a;_0x31a1d6[_0x4f3924(0x176)](_0x104719);},[_0x31a1d6]);return _0x1ca037[_0x56b40a(0x2bc)](_0x56b40a(0x1ce),{'className':_0x149ea2[_0x56b40a(0x24c)]('univer-h-15\x20univer-flex\x20univer-cursor-pointer\x20univer-flex-col\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-px-4\x20univer-py-1.5\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800',{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0x1b6f0d}),'onClick':()=>_0x3a5277(_0x29f817['id']),'children':[_0x1ca037[_0x56b40a(0x2bc)](_0x56b40a(0x1ce),{'className':_0x56b40a(0x270),'children':[_0x1ca037[_0x56b40a(0x2bc)](_0x56b40a(0x1ce),{'className':_0x56b40a(0x16f),'children':[_0x1ca037[_0x56b40a(0x226)](_0x56b40a(0x1d4),{'children':_0x3b9951['time']}),_0x570d5b&&_0x1ca037[_0x56b40a(0x226)](_0x56b40a(0x1d4),{'className':_0x56b40a(0x277),'children':_0x2bb800})]}),_0x1ca037[_0x56b40a(0x226)](_0x56b40a(0x1ce),{'children':_0x305280&&_0x1ca037[_0x56b40a(0x226)](_0x149ea2['Tooltip'],{'title':_0x1224ac['t'](_0x56b40a(0xc7)),'children':_0x1ca037['jsx']('div',{'onClick':_0x1f87ea=>{const _0x5b11cb=_0x56b40a;_0x1f87ea[_0x5b11cb(0x146)](),_0x3524e1(_0x29f817['id']);},'className':'univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-text-gray-400\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','children':_0x1ca037['jsx'](_0xd48c53,{})})})})]}),_0x1ca037[_0x56b40a(0x226)](_0x56b40a(0x1ce),{'className':_0x56b40a(0x1c5),'children':_0x1ab3f0(_0x29f817,_0x1224ac)})]});}var _0x4d3f4c=Object['getOwnPropertyDescriptor'],_0x56891e=(_0x555dc1,_0x338543,_0x59b7f2,_0x20ed86)=>{for(var _0x3b3bb8=_0x20ed86>0x1?void 0x0:_0x20ed86?_0x4d3f4c(_0x338543,_0x59b7f2):_0x338543,_0x35bdd1=_0x555dc1['length']-0x1,_0x2bbd4d;_0x35bdd1>=0x0;_0x35bdd1--)(_0x2bbd4d=_0x555dc1[_0x35bdd1])&&(_0x3b3bb8=_0x2bbd4d(_0x3b3bb8)||_0x3b3bb8);return _0x3b3bb8;},_0x3ee7c6=(_0x59947f,_0x32138b)=>(_0x1a1b5a,_0x18d019)=>_0x32138b(_0x1a1b5a,_0x18d019,_0x59947f);const _0x4f4350=_0x28e7dc(0x1d1);let _0x44c672=class extends _0x12b751[_0x28e7dc(0xfb)]{constructor(_0x411675,_0x2c1eec,_0x1e853f,_0xefb31a){const _0x2c7d00=_0x28e7dc;super(),_0x72283a(this,'_sidebarDisposable',null),(this['_sidebarService']=_0x411675,this[_0x2c7d00(0x2a2)]=_0x2c1eec,this[_0x2c7d00(0x21c)]=_0x1e853f,this[_0x2c7d00(0x1fe)]=_0xefb31a,this[_0x2c7d00(0x2bf)]());}['_init'](){const _0x1567bb=_0x28e7dc;this[_0x1567bb(0x229)](),this[_0x1567bb(0x2c4)]();}[_0x28e7dc(0x2c4)](){const _0x749490=_0x28e7dc;if(this[_0x749490(0x154)])return;const _0x32f7dd={'header':{'title':this[_0x749490(0x21c)]['t']('editHistory.panel.title')},'children':{'label':_0x4f4350},'onClose':()=>{const _0x102ba8=_0x749490;this[_0x102ba8(0x154)]=null,this[_0x102ba8(0x1fe)][_0x102ba8(0x104)]=_0x8012b2[_0x102ba8(0xcf)];}};this[_0x749490(0x154)]=this[_0x749490(0x1a8)][_0x749490(0xcc)]({..._0x32f7dd});}[_0x28e7dc(0x229)](){const _0x10abbe=_0x28e7dc;this[_0x10abbe(0x1ea)](this[_0x10abbe(0x2a2)][_0x10abbe(0x245)](_0x4f4350,_0x30e10f)),this['disposeWithMe'](this[_0x10abbe(0x1a8)][_0x10abbe(0x1bd)][_0x10abbe(0x25c)](_0x5e421f[_0x10abbe(0xff)](0x64))[_0x10abbe(0xe2)](_0x573b5f=>{const _0x1c1947=_0x10abbe,{target:_0xcd0f9a}=_0x573b5f||{};if(_0xcd0f9a){const {scrollTop:_0x48a35a,scrollHeight:_0x1521f2,clientHeight:_0x2555a2}=_0xcd0f9a;_0x48a35a+_0x2555a2>=_0x1521f2-0x5&&this[_0x1c1947(0x1fe)][_0x1c1947(0x282)]();}}));}};_0x44c672=_0x56891e([_0x3ee7c6(0x0,_0x444282[_0x28e7dc(0x130)]),_0x3ee7c6(0x1,_0x12b751[_0x28e7dc(0x105)](_0x444282['ComponentManager'])),_0x3ee7c6(0x2,_0x12b751[_0x28e7dc(0x105)](_0x12b751[_0x28e7dc(0x260)])),_0x3ee7c6(0x3,_0x12b751[_0x28e7dc(0x105)](_0x3da4ac[_0x28e7dc(0x16e)]))],_0x44c672);class _0x1777d9 extends _0x12b751[_0x28e7dc(0xfb)]{constructor(){const _0x1a2b47=_0x28e7dc;super(),_0x72283a(this,_0x1a2b47(0x113),new _0x5e421f['Subject']());}[_0x28e7dc(0xcc)](){const _0x27fa46=_0x28e7dc;return _0x12b751[_0x27fa46(0x177)](()=>{});}['close'](){}[_0x28e7dc(0x15a)](_0x39b397){}['getDialogs$'](){const _0xf60f1d=_0x28e7dc;return this[_0xf60f1d(0x113)][_0xf60f1d(0x230)]();}}var _0x2597c8=Object[_0x28e7dc(0x1f8)],_0x1fd20d=Object['getOwnPropertyDescriptor'],_0x1ce6ee=(_0x3a115f,_0x511f96,_0x1e0fbc)=>_0x511f96 in _0x3a115f?_0x2597c8(_0x3a115f,_0x511f96,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1e0fbc}):_0x3a115f[_0x511f96]=_0x1e0fbc,_0x3d05a6=(_0x991407,_0x498f36,_0x5ce2c7,_0x6e48b8)=>{for(var _0x591267=_0x6e48b8>0x1?void 0x0:_0x6e48b8?_0x1fd20d(_0x498f36,_0x5ce2c7):_0x498f36,_0x436bc1=_0x991407['length']-0x1,_0x2a62d1;_0x436bc1>=0x0;_0x436bc1--)(_0x2a62d1=_0x991407[_0x436bc1])&&(_0x591267=_0x2a62d1(_0x591267)||_0x591267);return _0x591267;},_0x164087=(_0x4c7b44,_0x175a84)=>(_0x586aa7,_0x29cbe7)=>_0x175a84(_0x586aa7,_0x29cbe7,_0x4c7b44),_0x3d0323=(_0x40f67f,_0x4cf894,_0x8efd71)=>_0x1ce6ee(_0x40f67f,_0x4cf894+'',_0x8efd71);const _0x57e43f=_0x28e7dc(0x14e);_0x3da4ac[_0x28e7dc(0x258)]=class extends _0x12b751['Plugin']{constructor(_0x4b3416=_0x2e24f6,_0x19024b,_0x336fa1,_0xe820fb){const _0x4e3c99=_0x28e7dc;super(),this[_0x4e3c99(0x2a5)]=_0x4b3416,this['_injector']=_0x19024b,this[_0x4e3c99(0x266)]=_0x336fa1,this['_configService']=_0xe820fb;const {..._0xb2c98d}=_0x12b751[_0x4e3c99(0x115)]({},_0x2e24f6,this[_0x4e3c99(0x2a5)]);this[_0x4e3c99(0xa5)][_0x4e3c99(0x13b)](_0x35e29b,_0xb2c98d);}['onStarting'](){const _0xf4e89f=_0x28e7dc;[[_0x3da4ac['HistoryManagerService']],[_0x420f3f],[_0x1db00a],[_0x3b35a4],[_0x44c672],[_0x4eea31],[_0x527f05['ISnapshotServerService'],{'useClass':_0x1979b9[_0xf4e89f(0x19c)]}],[_0x444282[_0xf4e89f(0x1f7)],{'useClass':_0x1777d9}],[_0x1df14c[_0xf4e89f(0xfc)],{'useClass':_0x1979b9[_0xf4e89f(0x210)]}]]['forEach'](_0x30b1de=>this['_injector'][_0xf4e89f(0x16b)](_0x30b1de)),this['_injector']['get'](_0x420f3f);}[_0x28e7dc(0x288)](){const _0x3e3233=_0x28e7dc;[[_0x32c19a]][_0x3e3233(0xad)](_0x537a24=>{const _0x5620b6=_0x3e3233;this[_0x5620b6(0x1ea)](this['_renderManagerService'][_0x5620b6(0x155)](_0x12b751[_0x5620b6(0x276)][_0x5620b6(0xd4)],_0x537a24));}),this['_injector'][_0x3e3233(0xf6)](_0x4eea31),this['_injector'][_0x3e3233(0xf6)](_0x44c672);}[_0x28e7dc(0x13f)](){const _0x22198d=_0x28e7dc;this['_injector'][_0x22198d(0xf6)](_0x1db00a);}},_0x3d0323(_0x3da4ac[_0x28e7dc(0x258)],'pluginName',_0x57e43f),_0x3da4ac['UniverEditHistoryViewerPlugin']=_0x3d05a6([_0x12b751[_0x28e7dc(0xba)](_0xf55386[_0x28e7dc(0xda)],_0x4c4525[_0x28e7dc(0xa2)]),_0x164087(0x1,_0x12b751[_0x28e7dc(0x105)](_0x12b751[_0x28e7dc(0x23c)])),_0x164087(0x2,_0x4866c8['IRenderManagerService']),_0x164087(0x3,_0x12b751[_0x28e7dc(0x1d8)])],_0x3da4ac[_0x28e7dc(0x258)]),_0x3da4ac['HistoryModeStatus']=_0x8012b2,Object[_0x28e7dc(0x1f8)](_0x3da4ac,Symbol['toStringTag'],{'value':_0x28e7dc(0x293)});}));
|