@univerjs-pro/edit-history-viewer 0.8.3-nightly.202507010644 → 0.8.3-nightly.202507021607

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.
@@ -1 +1 @@
1
- 'use strict';const _0x1ed78a=_0x21be;(function(_0x3a0b12,_0x42ce2a){const _0x40ee1b=_0x21be,_0x3840b8=_0x3a0b12();while(!![]){try{const _0x1409a1=-parseInt(_0x40ee1b(0x12c))/0x1+parseInt(_0x40ee1b(0x146))/0x2+parseInt(_0x40ee1b(0x134))/0x3*(-parseInt(_0x40ee1b(0x13f))/0x4)+-parseInt(_0x40ee1b(0x12f))/0x5+-parseInt(_0x40ee1b(0x142))/0x6*(parseInt(_0x40ee1b(0x13b))/0x7)+-parseInt(_0x40ee1b(0x130))/0x8+parseInt(_0x40ee1b(0x14b))/0x9;if(_0x1409a1===_0x42ce2a)break;else _0x3840b8['push'](_0x3840b8['shift']());}catch(_0x2d85f6){_0x3840b8['push'](_0x3840b8['shift']());}}}(_0x139a,0xb0c74));function _0x139a(){const _0x404640=['edited\x20worksheet','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','add\x20protection','Restore\x20this\x20version','32940036pqrepx','add\x20sparkline','Reverted\x20from','815103RLFLMz','loading,\x20please\x20wait...','set\x20data\x20validation','4809865nRMoFu','7168360FlfYet','set\x20conditional\x20formatting','Unknown\x20User','exports','582inSbbH','Current\x20Version','created\x20workbook','Reverting,\x20please\x20wait...','Confirm','add\x20conditional\x20formatting','reverted\x20workbook','1106PXMDRh',',\x20etc.','set\x20filter','set\x20frozen','7996WbNGzc','Failed\x20to\x20get\x20edit\x20history\x20list','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','7386zcdNRO','deleted\x20worksheet','inserted\x20worksheet','Edit\x20History','639010sHShgR'];_0x139a=function(){return _0x404640;};return _0x139a();}function _0x21be(_0x4d2f20,_0x5d8e71){const _0x139a2d=_0x139a();return _0x21be=function(_0x21bede,_0x5897cf){_0x21bede=_0x21bede-0x12a;let _0x39e56f=_0x139a2d[_0x21bede];return _0x39e56f;},_0x21be(_0x4d2f20,_0x5d8e71);}const e={'editHistory':{'panel':{'title':_0x1ed78a(0x145),'unknownUser':_0x1ed78a(0x132),'listFetchError':_0x1ed78a(0x140),'revertConfirm':'Restore\x20this\x20version?','revertConfirmText':_0x1ed78a(0x148),'cancel':'Cancel','confirm':_0x1ed78a(0x138),'reverting':_0x1ed78a(0x137),'revertFailed':_0x1ed78a(0x141),'currentVersion':_0x1ed78a(0x135),'currentUser':'Current\x20User','revertDesc':_0x1ed78a(0x14a)},'info':{'loading':_0x1ed78a(0x12d)},'header':{'back':'Back','revert':_0x1ed78a(0x14a)},'action':{'insertSheet':_0x1ed78a(0x144),'removeSheet':_0x1ed78a(0x143),'createSheet':_0x1ed78a(0x136),'setFilter':_0x1ed78a(0x13d),'setFrozen':_0x1ed78a(0x13e),'editSheet':_0x1ed78a(0x147),'revertSheet':_0x1ed78a(0x13a),'revertSheetPrefix':_0x1ed78a(0x12b),'revertSheetSuffix':'','setDV':_0x1ed78a(0x12e),'setCF':_0x1ed78a(0x131),'addCF':_0x1ed78a(0x139),'addProtection':_0x1ed78a(0x149),'addSparkline':_0x1ed78a(0x12a),'deleteProtection':'delete\x20protection','etc':_0x1ed78a(0x13c)}}},t=e;module[_0x1ed78a(0x133)]=t;
1
+ 'use strict';const _0xfce428=_0x27fb;(function(_0xcaf036,_0x21d517){const _0x11eb2a=_0x27fb,_0x3de825=_0xcaf036();while(!![]){try{const _0x228a18=-parseInt(_0x11eb2a(0x10e))/0x1*(-parseInt(_0x11eb2a(0x10f))/0x2)+-parseInt(_0x11eb2a(0x121))/0x3*(-parseInt(_0x11eb2a(0x129))/0x4)+-parseInt(_0x11eb2a(0x123))/0x5+parseInt(_0x11eb2a(0x110))/0x6+parseInt(_0x11eb2a(0x12e))/0x7*(-parseInt(_0x11eb2a(0x117))/0x8)+parseInt(_0x11eb2a(0x11e))/0x9*(-parseInt(_0x11eb2a(0x12b))/0xa)+parseInt(_0x11eb2a(0x12d))/0xb;if(_0x228a18===_0x21d517)break;else _0x3de825['push'](_0x3de825['shift']());}catch(_0x3fd073){_0x3de825['push'](_0x3de825['shift']());}}}(_0x54cb,0xd1511));function _0x54cb(){const _0x2dc1e9=['3471237fSgoUc','Reverting,\x20please\x20wait...','2JQUZQT','1144382CYbIvF','3419202CvFVkU','Cancel','created\x20workbook','edited\x20worksheet','Failed\x20to\x20get\x20edit\x20history\x20list','inserted\x20worksheet','Confirm','24ZvBhFm','Restore\x20this\x20version?','set\x20conditional\x20formatting','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','Current\x20Version','deleted\x20worksheet','Unknown\x20User','3626946phZJNF','Current\x20User','loading,\x20please\x20wait...','30RarUXe',',\x20etc.','3463115XipVoe','add\x20sparkline','reverted\x20workbook','add\x20conditional\x20formatting','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','Edit\x20History','73616zjvLkM','Restore\x20this\x20version','10YrKhpx','set\x20filter','16965982RWwspg'];_0x54cb=function(){return _0x2dc1e9;};return _0x54cb();}const e={'editHistory':{'panel':{'title':_0xfce428(0x128),'unknownUser':_0xfce428(0x11d),'listFetchError':_0xfce428(0x114),'revertConfirm':_0xfce428(0x118),'revertConfirmText':_0xfce428(0x11a),'cancel':_0xfce428(0x111),'confirm':_0xfce428(0x116),'reverting':_0xfce428(0x10d),'revertFailed':_0xfce428(0x127),'currentVersion':_0xfce428(0x11b),'currentUser':_0xfce428(0x11f),'revertDesc':_0xfce428(0x12a)},'info':{'loading':_0xfce428(0x120)},'header':{'back':'Back','revert':_0xfce428(0x12a)},'action':{'insertSheet':_0xfce428(0x115),'removeSheet':_0xfce428(0x11c),'createSheet':_0xfce428(0x112),'setFilter':_0xfce428(0x12c),'setFrozen':'set\x20frozen','editSheet':_0xfce428(0x113),'revertSheet':_0xfce428(0x125),'revertSheetPrefix':'Reverted\x20from','revertSheetSuffix':'','setDV':'set\x20data\x20validation','setCF':_0xfce428(0x119),'addCF':_0xfce428(0x126),'addProtection':'add\x20protection','addSparkline':_0xfce428(0x124),'deleteProtection':'delete\x20protection','etc':_0xfce428(0x122)}}},t=e;function _0x27fb(_0x415c28,_0x57238d){const _0x54cb94=_0x54cb();return _0x27fb=function(_0x27fbe4,_0x36b923){_0x27fbe4=_0x27fbe4-0x10d;let _0x197eff=_0x54cb94[_0x27fbe4];return _0x197eff;},_0x27fb(_0x415c28,_0x57238d);}module['exports']=t;
@@ -1 +1 @@
1
- 'use strict';function _0x3373(_0x300738,_0x5ad3c8){const _0xef5f39=_0xef5f();return _0x3373=function(_0x33733c,_0x13a334){_0x33733c=_0x33733c-0x145;let _0xe9d037=_0xef5f39[_0x33733c];return _0xe9d037;},_0x3373(_0x300738,_0x5ad3c8);}const _0x810b0b=_0x3373;(function(_0x4a0746,_0x915b01){const _0x1bc22e=_0x3373,_0x1cd137=_0x4a0746();while(!![]){try{const _0x2a2df6=-parseInt(_0x1bc22e(0x155))/0x1+parseInt(_0x1bc22e(0x160))/0x2+-parseInt(_0x1bc22e(0x151))/0x3+parseInt(_0x1bc22e(0x159))/0x4+parseInt(_0x1bc22e(0x152))/0x5+-parseInt(_0x1bc22e(0x150))/0x6*(-parseInt(_0x1bc22e(0x15e))/0x7)+-parseInt(_0x1bc22e(0x156))/0x8;if(_0x2a2df6===_0x915b01)break;else _0x1cd137['push'](_0x1cd137['shift']());}catch(_0x40e8e6){_0x1cd137['push'](_0x1cd137['shift']());}}}(_0xef5f,0xefa94));function _0xef5f(){const _0x2f9dc4=['1604937OurPVe','9709390ClqVeg','的版本','添加了迷你图','557664oDYAFY','22581096AwkuXV','设置了数据验证','获取编辑历史记录列表失败','4572948gkFFmP','还原了','设置了条件格式','还原了版本','还原到此版本','44303QJMwky','加载中,请稍等...','1421142WyRoma','该文档将会被还原到选中版本','当前用户','编辑了工作表','插入了工作表','exports','删除了工作表','历史记录','添加了保护范围','冻结了工作表','当前版本','正在还原,请稍等...','1044cMZVkS'];_0xef5f=function(){return _0x2f9dc4;};return _0xef5f();}const e={'editHistory':{'panel':{'title':_0x810b0b(0x14b),'unknownUser':'未知用户','listFetchError':_0x810b0b(0x158),'revertConfirm':'还原到此版本?','revertConfirmText':_0x810b0b(0x145),'cancel':'取消','confirm':'确认','reverting':_0x810b0b(0x14f),'revertFailed':'未知错误,请刷新页面查看还原结果','currentVersion':_0x810b0b(0x14e),'currentUser':_0x810b0b(0x146),'revertDesc':_0x810b0b(0x15d)},'info':{'loading':_0x810b0b(0x15f)},'header':{'back':'返回','revert':_0x810b0b(0x15d)},'action':{'insertSheet':_0x810b0b(0x148),'removeSheet':_0x810b0b(0x14a),'createSheet':'创建了工作表','setFilter':'设置了筛选','setFrozen':_0x810b0b(0x14d),'editSheet':_0x810b0b(0x147),'revertSheet':_0x810b0b(0x15c),'revertSheetPrefix':_0x810b0b(0x15a),'revertSheetSuffix':_0x810b0b(0x153),'setDV':_0x810b0b(0x157),'setCF':_0x810b0b(0x15b),'addCF':'添加了条件格式','addProtection':_0x810b0b(0x14c),'addSparkline':_0x810b0b(0x154),'deleteProtection':'移除了保护范围','etc':',等'}}};module[_0x810b0b(0x149)]=e;
1
+ 'use strict';const _0x194c1d=_0x3b79;function _0x2c34(){const _0x352f69=['未知用户','22WyBHoi','373720dOtguA','3349551EGHrHU','98ffKbfB','还原到此版本?','获取编辑历史记录列表失败','还原了版本','删除了工作表','77743baYRXd','该文档将会被还原到选中版本','设置了条件格式','212922SQhyAJ','历史记录','创建了工作表','未知错误,请刷新页面查看还原结果','设置了筛选','设置了数据验证','添加了保护范围','5032CtOwph','55kHbHxc','30YrBehD','13545aGDyRP','的版本','当前用户','插入了工作表','移除了保护范围','冻结了工作表','exports','117rOsmIR','还原到此版本','正在还原,请稍等...','添加了条件格式','628133PFNqmO','134340tfUNlW'];_0x2c34=function(){return _0x352f69;};return _0x2c34();}(function(_0x53e352,_0x203a54){const _0x2ae0ff=_0x3b79,_0xe72474=_0x53e352();while(!![]){try{const _0x164dc5=-parseInt(_0x2ae0ff(0x7f))/0x1*(parseInt(_0x2ae0ff(0x77))/0x2)+-parseInt(_0x2ae0ff(0x79))/0x3+parseInt(_0x2ae0ff(0x78))/0x4*(parseInt(_0x2ae0ff(0x8a))/0x5)+parseInt(_0x2ae0ff(0x82))/0x6*(parseInt(_0x2ae0ff(0x7a))/0x7)+parseInt(_0x2ae0ff(0x89))/0x8*(parseInt(_0x2ae0ff(0x69))/0x9)+-parseInt(_0x2ae0ff(0x68))/0xa*(-parseInt(_0x2ae0ff(0x74))/0xb)+parseInt(_0x2ae0ff(0x75))/0xc*(-parseInt(_0x2ae0ff(0x70))/0xd);if(_0x164dc5===_0x203a54)break;else _0xe72474['push'](_0xe72474['shift']());}catch(_0x242e6f){_0xe72474['push'](_0xe72474['shift']());}}}(_0x2c34,0x8b2c9));function _0x3b79(_0x3a2894,_0x11115d){const _0x2c3499=_0x2c34();return _0x3b79=function(_0x3b791d,_0x343828){_0x3b791d=_0x3b791d-0x68;let _0x322172=_0x2c3499[_0x3b791d];return _0x322172;},_0x3b79(_0x3a2894,_0x11115d);}const e={'editHistory':{'panel':{'title':_0x194c1d(0x83),'unknownUser':_0x194c1d(0x76),'listFetchError':_0x194c1d(0x7c),'revertConfirm':_0x194c1d(0x7b),'revertConfirmText':_0x194c1d(0x80),'cancel':'取消','confirm':'确认','reverting':_0x194c1d(0x72),'revertFailed':_0x194c1d(0x85),'currentVersion':'当前版本','currentUser':_0x194c1d(0x6b),'revertDesc':_0x194c1d(0x71)},'info':{'loading':'加载中,请稍等...'},'header':{'back':'返回','revert':'还原到此版本'},'action':{'insertSheet':_0x194c1d(0x6c),'removeSheet':_0x194c1d(0x7e),'createSheet':_0x194c1d(0x84),'setFilter':_0x194c1d(0x86),'setFrozen':_0x194c1d(0x6e),'editSheet':'编辑了工作表','revertSheet':_0x194c1d(0x7d),'revertSheetPrefix':'还原了','revertSheetSuffix':_0x194c1d(0x6a),'setDV':_0x194c1d(0x87),'setCF':_0x194c1d(0x81),'addCF':_0x194c1d(0x73),'addProtection':_0x194c1d(0x88),'addSparkline':'添加了迷你图','deleteProtection':_0x194c1d(0x6d),'etc':',等'}}};module[_0x194c1d(0x6f)]=e;
@@ -1 +1 @@
1
- 'use strict';const _0x41110f=_0x2681;(function(_0x3a23eb,_0x7a27e6){const _0x23ef79=_0x2681,_0x35f8d6=_0x3a23eb();while(!![]){try{const _0x53b304=parseInt(_0x23ef79(0x14b))/0x1+parseInt(_0x23ef79(0x149))/0x2+parseInt(_0x23ef79(0x15e))/0x3*(parseInt(_0x23ef79(0x146))/0x4)+-parseInt(_0x23ef79(0x154))/0x5+parseInt(_0x23ef79(0x151))/0x6*(-parseInt(_0x23ef79(0x143))/0x7)+-parseInt(_0x23ef79(0x148))/0x8*(parseInt(_0x23ef79(0x14f))/0x9)+-parseInt(_0x23ef79(0x142))/0xa;if(_0x53b304===_0x7a27e6)break;else _0x35f8d6['push'](_0x35f8d6['shift']());}catch(_0x4b1088){_0x35f8d6['push'](_0x35f8d6['shift']());}}}(_0x363c,0xed831));function _0x2681(_0x153fd3,_0x5cb9ac){const _0x363c0d=_0x363c();return _0x2681=function(_0x2681c8,_0x17fa12){_0x2681c8=_0x2681c8-0x141;let _0x5d4ba5=_0x363c0d[_0x2681c8];return _0x5d4ba5;},_0x2681(_0x153fd3,_0x5cb9ac);}const e={'editHistory':{'panel':{'title':_0x41110f(0x15a),'unknownUser':'Unknown\x20User','listFetchError':_0x41110f(0x141),'revertConfirm':_0x41110f(0x145),'revertConfirmText':_0x41110f(0x15b),'cancel':_0x41110f(0x160),'confirm':'Confirm','reverting':_0x41110f(0x14d),'revertFailed':_0x41110f(0x14a),'currentVersion':'Current\x20Version','currentUser':_0x41110f(0x14e),'revertDesc':_0x41110f(0x159)},'info':{'loading':_0x41110f(0x150)},'header':{'back':_0x41110f(0x157),'revert':'Restore\x20this\x20version'},'action':{'insertSheet':'inserted\x20worksheet','removeSheet':_0x41110f(0x147),'createSheet':_0x41110f(0x15f),'setFilter':_0x41110f(0x15c),'setFrozen':_0x41110f(0x152),'editSheet':'edited\x20worksheet','revertSheet':'reverted\x20workbook','revertSheetPrefix':'Reverted\x20from','revertSheetSuffix':'','setDV':_0x41110f(0x153),'setCF':_0x41110f(0x155),'addCF':_0x41110f(0x15d),'addProtection':_0x41110f(0x144),'addSparkline':_0x41110f(0x158),'deleteProtection':_0x41110f(0x14c),'etc':',\x20etc.'}}},t=e;function _0x363c(){const _0x325f63=['Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','451599nsfALd','delete\x20protection','Reverting,\x20please\x20wait...','Current\x20User','5408523XvsyKl','loading,\x20please\x20wait...','6otdObA','set\x20frozen','set\x20data\x20validation','2031750SzyyuZ','set\x20conditional\x20formatting','exports','Back','add\x20sparkline','Restore\x20this\x20version','Edit\x20History','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','set\x20filter','add\x20conditional\x20formatting','33LKbucc','created\x20workbook','Cancel','Failed\x20to\x20get\x20edit\x20history\x20list','1615510WQDPiL','11897053IbBSMJ','add\x20protection','Restore\x20this\x20version?','624136jUqUUR','deleted\x20worksheet','8gCGHUv','3346606Bnapko'];_0x363c=function(){return _0x325f63;};return _0x363c();}module[_0x41110f(0x156)]=t;
1
+ 'use strict';const _0x2bc0cb=_0x2250;(function(_0x5c59f7,_0x5c4c79){const _0x3c1795=_0x2250,_0xe8f9ca=_0x5c59f7();while(!![]){try{const _0x56b926=-parseInt(_0x3c1795(0x149))/0x1*(parseInt(_0x3c1795(0x150))/0x2)+-parseInt(_0x3c1795(0x155))/0x3+parseInt(_0x3c1795(0x156))/0x4+parseInt(_0x3c1795(0x157))/0x5+-parseInt(_0x3c1795(0x13b))/0x6+parseInt(_0x3c1795(0x148))/0x7*(parseInt(_0x3c1795(0x152))/0x8)+parseInt(_0x3c1795(0x14b))/0x9;if(_0x56b926===_0x5c4c79)break;else _0xe8f9ca['push'](_0xe8f9ca['shift']());}catch(_0x1e9f2e){_0xe8f9ca['push'](_0xe8f9ca['shift']());}}}(_0x459d,0x3e8f3));function _0x2250(_0x21d3cc,_0x31e230){const _0x459dce=_0x459d();return _0x2250=function(_0x2250e0,_0x5a97d9){_0x2250e0=_0x2250e0-0x138;let _0x1661f5=_0x459dce[_0x2250e0];return _0x1661f5;},_0x2250(_0x21d3cc,_0x31e230);}const e={'editHistory':{'panel':{'title':_0x2bc0cb(0x141),'unknownUser':_0x2bc0cb(0x143),'listFetchError':'Failed\x20to\x20get\x20edit\x20history\x20list','revertConfirm':_0x2bc0cb(0x13a),'revertConfirmText':'This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','cancel':_0x2bc0cb(0x13e),'confirm':_0x2bc0cb(0x145),'reverting':_0x2bc0cb(0x142),'revertFailed':_0x2bc0cb(0x13d),'currentVersion':_0x2bc0cb(0x146),'currentUser':'Current\x20User','revertDesc':_0x2bc0cb(0x147)},'info':{'loading':_0x2bc0cb(0x139)},'header':{'back':_0x2bc0cb(0x140),'revert':'Restore\x20this\x20version'},'action':{'insertSheet':_0x2bc0cb(0x14f),'removeSheet':_0x2bc0cb(0x138),'createSheet':'created\x20workbook','setFilter':_0x2bc0cb(0x14a),'setFrozen':_0x2bc0cb(0x154),'editSheet':_0x2bc0cb(0x151),'revertSheet':'reverted\x20workbook','revertSheetPrefix':'Reverted\x20from','revertSheetSuffix':'','setDV':_0x2bc0cb(0x13f),'setCF':_0x2bc0cb(0x14c),'addCF':_0x2bc0cb(0x13c),'addProtection':_0x2bc0cb(0x153),'addSparkline':_0x2bc0cb(0x14e),'deleteProtection':_0x2bc0cb(0x144),'etc':_0x2bc0cb(0x158)}}},t=e;function _0x459d(){const _0x5ae22e=['inserted\x20worksheet','8OxwpSU','edited\x20worksheet','8144RyowCU','add\x20protection','set\x20frozen','1255254FAbdch','289420wpLuqE','2034170dTxuxn',',\x20etc.','deleted\x20worksheet','loading,\x20please\x20wait...','Restore\x20this\x20version?','583584QpveZa','add\x20conditional\x20formatting','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','Cancel','set\x20data\x20validation','Back','Edit\x20History','Reverting,\x20please\x20wait...','Unknown\x20User','delete\x20protection','Confirm','Current\x20Version','Restore\x20this\x20version','1414pnvZtN','59965tlFlzT','set\x20filter','2942640WWQVGw','set\x20conditional\x20formatting','exports','add\x20sparkline'];_0x459d=function(){return _0x5ae22e;};return _0x459d();}module[_0x2bc0cb(0x14d)]=t;
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x42147c=_0x1726;(function(_0x1c3864,_0x3f3700){const _0x256a70=_0x1726,_0x3a223e=_0x1c3864();while(!![]){try{const _0x3b2198=-parseInt(_0x256a70(0x1d2))/0x1*(parseInt(_0x256a70(0x1ad))/0x2)+parseInt(_0x256a70(0x2a2))/0x3*(parseInt(_0x256a70(0x22a))/0x4)+-parseInt(_0x256a70(0x20c))/0x5*(parseInt(_0x256a70(0x176))/0x6)+parseInt(_0x256a70(0x16f))/0x7*(parseInt(_0x256a70(0x17a))/0x8)+parseInt(_0x256a70(0x26f))/0x9*(parseInt(_0x256a70(0x19e))/0xa)+parseInt(_0x256a70(0x1d4))/0xb*(parseInt(_0x256a70(0x27b))/0xc)+-parseInt(_0x256a70(0x2b3))/0xd;if(_0x3b2198===_0x3f3700)break;else _0x3a223e['push'](_0x3a223e['shift']());}catch(_0x3ab1bd){_0x3a223e['push'](_0x3a223e['shift']());}}}(_0x4b1d,0x8486b));var Fe=Object['defineProperty'],Ye=(_0x4cadae,_0x147b17,_0x54d680)=>_0x147b17 in _0x4cadae?Fe(_0x4cadae,_0x147b17,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x54d680}):_0x4cadae[_0x147b17]=_0x54d680,l=(_0x2a1bbe,_0x462fef,_0x2a801c)=>Ye(_0x2a1bbe,typeof _0x462fef!=_0x42147c(0x2e5)?_0x462fef+'':_0x462fef,_0x2a801c);import{RevertRevisionMutation as _0x1a9df9,CreateUnitMutation as _0x519a09,ISnapshotServerService as _0x384b94,CompressMutationService as _0x4537f8,transformSnapshotToWorkbookData as _0x179657,ITransformService as _0x23c7c6,parseProtocolChangeset as _0x14f012,isTransformMutationsSuccess as _0x40939c}from'@univerjs-pro/collaboration';import{SnapshotServerOverHTTPService as _0x534525,CollaborationImageIoService as _0x11141f}from'@univerjs-pro/collaboration-client';import{Disposable as _0x51aaea,LocaleType as _0x57eff6,IUniverInstanceService as _0x455be4,ICommandService as _0x33d61c,IConfigService as _0xd23ed0,Inject as _0x2077a7,UniverInstanceType as _0x496918,LocaleService as _0x287d24,IPermissionService as _0x3646a3,Injector as _0xbbe00a,ObjectMatrix as _0x42b64f,debounce as _0x576249,DisposableCollection as _0x530031,toDisposable as _0x452d95,DependentOn as _0x1f0c36,Plugin as _0x28482b,merge as _0x1e9d3a}from'@univerjs/core';import{IImageIoService as _0x8509b5}from'@univerjs/drawing';import{IRenderManagerService as _0x1e50f9,Vector2 as _0x108f10,SHEET_VIEWPORT_KEY as _0x3aa7e0}from'@univerjs/engine-render';import{HTTPService as _0xce31d7,UniverNetworkPlugin as _0x510091}from'@univerjs/network';import{ICellEditorManagerService as _0x4bf3b3,SheetSkeletonManagerService as _0x4bc336,getCoordByCell as _0x32d43a,getSheetObject as _0x2ded53,UniverSheetsUIPlugin as _0x30dd03}from'@univerjs/sheets-ui';import{IMessageService as _0x234a9e,IConfirmService as _0xb90faa,useDependency as _0x5f432c,useObservable as _0xd065e6,IUIPartsService as _0x5129b6,BuiltInUIPart as _0x1138e2,connectInjector as _0x534c54,ISidebarService as _0x131fb7,ComponentManager as _0x233214,IDialogService as _0x16f45c}from'@univerjs/ui';import{MessageType as _0x269ff6,clsx as _0x1ee252,Button as _0x40b226,borderBottomClassName as _0x44f94f,Tooltip as _0x271f1b}from'@univerjs/design';import{InsertSheetMutation as _0x5e9a07,RemoveSheetMutation as _0x1f472a,SetFrozenMutation as _0x46a966,AddWorksheetProtectionMutation as _0x5d7a94,AddRangeProtectionMutation as _0x112679,DeleteRangeProtectionMutation as _0x74288a,DeleteWorksheetProtectionMutation as _0x46a902,WorkbookEditablePermission as _0x142176,WorkbookRenameSheetPermission as _0x478ee9,WorkbookMoveSheetPermission as _0x53f73e,WorkbookHideSheetPermission as _0x167afa,SetWorksheetHideMutation as _0x51b8a4,SetRangeValuesMutation as _0x103c25,SetRangeProtectionMutation as _0x4db1e3,ReorderRangeMutation as _0x2a952,RemoveNumfmtMutation as _0x255c92,SetNumfmtMutation as _0x4eac03,MoveColsMutation as _0x43c964,MoveRowsMutation as _0x2732b4,MoveRangeMutation as _0x16e914,InsertColMutation as _0x26d1a7,InsertRowMutation as _0x122669,AddWorksheetMergeMutation as _0x1106c3,RangeMergeUtil as _0x7d1ba3,findAllRectangle as _0x2800d1,SetWorksheetActiveOperation as _0x1710c5}from'@univerjs/sheets';import{BehaviorSubject as _0x352873,combineLatest as _0x21e98e,switchMap as _0x27f78c,map as _0x16470f,of as _0x326163,debounceTime as _0x65709e,Subject as _0x4cf41b}from'rxjs';import{AddSheetSparklineMutation as _0x4c2516}from'@univerjs-pro/sheets-sparkline';import{AddDataValidationMutation as _0x387625,UpdateDataValidationMutation as _0x532a50}from'@univerjs/data-validation';import{SetConditionalRuleMutation as _0x50c27b,AddConditionalRuleMutation as _0x3f917c}from'@univerjs/sheets-conditional-formatting';import{SetSheetsFilterRangeMutation as _0x50fe07}from'@univerjs/sheets-filter';import{jsxs as _0x30d745,jsx as _0x4ac6c3}from'react/jsx-runtime';import{forwardRef as _0x403ac8,useRef as _0x1f2e51,createElement as _0x1093cb,useCallback as _0x40afc2,useState as _0x21c38e,Fragment as _0x220784}from'react';import{SheetCollabCursorShape as _0x120bd2}from'@univerjs-pro/collaboration-client-ui';const we=_0x42147c(0x1d7),_e={};var ss=Object['getOwnPropertyDescriptor'],is=(_0xd7bea3,_0x55d854,_0x5e6f9f,_0x16a193)=>{const _0xd635ec=_0x42147c;for(var _0x43ab25=_0x16a193>0x1?void 0x0:_0x16a193?ss(_0x55d854,_0x5e6f9f):_0x55d854,_0x18f457=_0xd7bea3[_0xd635ec(0x2ba)]-0x1,_0x46cf14;_0x18f457>=0x0;_0x18f457--)(_0x46cf14=_0xd7bea3[_0x18f457])&&(_0x43ab25=_0x46cf14(_0x43ab25)||_0x43ab25);return _0x43ab25;},rs=(_0x12c554,_0x1b2fd3)=>(_0x28c33d,_0x19a0fd)=>_0x1b2fd3(_0x28c33d,_0x19a0fd,_0x12c554);let H=class extends _0x51aaea{constructor(_0x277561){const _0x370d85=_0x42147c;super(),this[_0x370d85(0x30a)]=_0x277561,this[_0x370d85(0x275)]();}[_0x42147c(0x275)](){const _0x42072d=_0x42147c;this[_0x42072d(0x2e4)](this[_0x42072d(0x30a)][_0x42072d(0x177)]['subscribe'](_0x1b2122=>{const _0x18c07b=_0x42072d;_0x1b2122!=null&&_0x1b2122['show']&&this[_0x18c07b(0x30a)][_0x18c07b(0x181)]({'show':!0x1});}));}};H=is([rs(0x0,_0x4bf3b3)],H);var X=(_0x3fa00b=>(_0x3fa00b[_0x3fa00b[_0x42147c(0x26b)]=0x0]='UNDEFINED',_0x3fa00b[_0x3fa00b['OK']=0x1]='OK',_0x3fa00b[_0x3fa00b[_0x42147c(0x1f9)]=0x2]=_0x42147c(0x1f9),_0x3fa00b[_0x3fa00b[_0x42147c(0x260)]=0x3]='PERMISSION_DENIED',_0x3fa00b[_0x3fa00b[_0x42147c(0x218)]=0x4]='NOT_FOUND',_0x3fa00b[_0x3fa00b[_0x42147c(0x1bc)]=0x5]=_0x42147c(0x1bc),_0x3fa00b[_0x3fa00b[_0x42147c(0x239)]=0x6]=_0x42147c(0x239),_0x3fa00b[_0x3fa00b[_0x42147c(0x2ef)]=0x7]=_0x42147c(0x2ef),_0x3fa00b[_0x3fa00b[_0x42147c(0x212)]=0x8]=_0x42147c(0x212),_0x3fa00b[_0x3fa00b[_0x42147c(0x22c)]=0x9]=_0x42147c(0x22c),_0x3fa00b[_0x3fa00b[_0x42147c(0x304)]=0xa]=_0x42147c(0x304),_0x3fa00b[_0x3fa00b['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x42147c(0x186),_0x3fa00b[_0x3fa00b['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x42147c(0x2f8),_0x3fa00b[_0x3fa00b[_0x42147c(0x2b6)]=0xd]=_0x42147c(0x2b6),_0x3fa00b[_0x3fa00b[_0x42147c(0x1c8)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3fa00b[_0x3fa00b['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x3fa00b[_0x3fa00b[_0x42147c(0x28d)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x3fa00b[_0x3fa00b[_0x42147c(0x279)]=0x1772]=_0x42147c(0x279),_0x3fa00b[_0x3fa00b[_0x42147c(0x1a1)]=0x1773]=_0x42147c(0x1a1),_0x3fa00b[_0x3fa00b[_0x42147c(0x174)]=0x1b59]=_0x42147c(0x174),_0x3fa00b[_0x3fa00b[_0x42147c(0x24d)]=0x1b5a]=_0x42147c(0x24d),_0x3fa00b[_0x3fa00b[_0x42147c(0x1aa)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x3fa00b[_0x3fa00b[_0x42147c(0x1ce)]=0x1b5c]=_0x42147c(0x1ce),_0x3fa00b[_0x3fa00b[_0x42147c(0x18e)]=0x1b5d]=_0x42147c(0x18e),_0x3fa00b[_0x3fa00b[_0x42147c(0x277)]=0x1f41]=_0x42147c(0x277),_0x3fa00b[_0x3fa00b[_0x42147c(0x274)]=0x2329]=_0x42147c(0x274),_0x3fa00b[_0x3fa00b[_0x42147c(0x231)]=0x232a]=_0x42147c(0x231),_0x3fa00b[_0x3fa00b[_0x42147c(0x2fb)]=0x232b]=_0x42147c(0x2fb),_0x3fa00b[_0x3fa00b['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3fa00b[_0x3fa00b[_0x42147c(0x23f)]=0x232d]=_0x42147c(0x23f),_0x3fa00b[_0x3fa00b[_0x42147c(0x2d9)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x3fa00b[_0x3fa00b[_0x42147c(0x2d4)]=0x2712]=_0x42147c(0x2d4),_0x3fa00b[_0x3fa00b[_0x42147c(0x255)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x3fa00b[_0x3fa00b['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x42147c(0x286),_0x3fa00b[_0x3fa00b[_0x42147c(0x251)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x3fa00b[_0x3fa00b['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x42147c(0x1c1),_0x3fa00b[_0x3fa00b[_0x42147c(0x252)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x3fa00b[_0x3fa00b['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x3fa00b[_0x3fa00b[_0x42147c(0x302)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x3fa00b[_0x3fa00b['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x3fa00b[_0x3fa00b[_0x42147c(0x1c4)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x3fa00b[_0x3fa00b[_0x42147c(0x2e2)]=0x2af9]=_0x42147c(0x2e2),_0x3fa00b[_0x3fa00b[_0x42147c(0x180)]=0x2ee1]=_0x42147c(0x180),_0x3fa00b[_0x3fa00b[_0x42147c(0x294)]=0x2ee2]=_0x42147c(0x294),_0x3fa00b[_0x3fa00b[_0x42147c(0x179)]=0x2ee3]=_0x42147c(0x179),_0x3fa00b[_0x3fa00b['USER_NOT_INVITED_CODE']=0x2ee4]=_0x42147c(0x1ff),_0x3fa00b[_0x3fa00b[_0x42147c(0x278)]=0x2ee5]=_0x42147c(0x278),_0x3fa00b[_0x3fa00b[_0x42147c(0x199)]=0x32c9]=_0x42147c(0x199),_0x3fa00b[_0x3fa00b[_0x42147c(0x203)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x3fa00b[_0x3fa00b['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x42147c(0x1f1),_0x3fa00b[_0x3fa00b['UNRECOGNIZED']=-0x1]=_0x42147c(0x2df),_0x3fa00b))(X||{}),F=(_0x4f5457=>(_0x4f5457[_0x4f5457[_0x42147c(0x211)]=0x0]=_0x42147c(0x211),_0x4f5457[_0x4f5457[_0x42147c(0x2c3)]=0x1]=_0x42147c(0x2c3),_0x4f5457[_0x4f5457[_0x42147c(0x29f)]=0x2]=_0x42147c(0x29f),_0x4f5457[_0x4f5457[_0x42147c(0x323)]=0x3]='UNIVER_SLIDE',_0x4f5457[_0x4f5457['UNIVER_PROJECT']=0x4]=_0x42147c(0x1fb),_0x4f5457[_0x4f5457['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x4f5457))(F||{}),b=(_0x484b2a=>(_0x484b2a[_0x484b2a[_0x42147c(0x192)]=0x0]='View',_0x484b2a[_0x484b2a[_0x42147c(0x1d0)]=0x1]=_0x42147c(0x1d0),_0x484b2a[_0x484b2a[_0x42147c(0x1f6)]=0x2]=_0x42147c(0x1f6),_0x484b2a[_0x484b2a[_0x42147c(0x291)]=0x3]='Print',_0x484b2a[_0x484b2a[_0x42147c(0x257)]=0x4]=_0x42147c(0x257),_0x484b2a[_0x484b2a[_0x42147c(0x303)]=0x5]=_0x42147c(0x303),_0x484b2a[_0x484b2a[_0x42147c(0x31d)]=0x6]=_0x42147c(0x31d),_0x484b2a[_0x484b2a[_0x42147c(0x2dc)]=0x7]='Share',_0x484b2a[_0x484b2a[_0x42147c(0x26e)]=0x8]='Export',_0x484b2a[_0x484b2a[_0x42147c(0x2b9)]=0x9]=_0x42147c(0x2b9),_0x484b2a[_0x484b2a[_0x42147c(0x31f)]=0xa]='DeleteWorksheet',_0x484b2a[_0x484b2a['HideWorksheet']=0xb]=_0x42147c(0x17b),_0x484b2a[_0x484b2a['RenameWorksheet']=0xc]='RenameWorksheet',_0x484b2a[_0x484b2a['CreateWorksheet']=0xd]=_0x42147c(0x1da),_0x484b2a[_0x484b2a['SetWorksheetStyle']=0xe]='SetWorksheetStyle',_0x484b2a[_0x484b2a[_0x42147c(0x29c)]=0xf]=_0x42147c(0x29c),_0x484b2a[_0x484b2a[_0x42147c(0x1d3)]=0x10]=_0x42147c(0x1d3),_0x484b2a[_0x484b2a[_0x42147c(0x214)]=0x11]=_0x42147c(0x214),_0x484b2a[_0x484b2a[_0x42147c(0x19a)]=0x12]='Filter',_0x484b2a[_0x484b2a[_0x42147c(0x169)]=0x13]=_0x42147c(0x169),_0x484b2a[_0x484b2a['FloatImg']=0x14]=_0x42147c(0x1e8),_0x484b2a[_0x484b2a[_0x42147c(0x18d)]=0x15]='History',_0x484b2a[_0x484b2a[_0x42147c(0x241)]=0x16]='RwHgtClWdt',_0x484b2a[_0x484b2a['ViemRwHgtClWdt']=0x17]=_0x42147c(0x19b),_0x484b2a[_0x484b2a[_0x42147c(0x27d)]=0x18]='ViewFilter',_0x484b2a[_0x484b2a[_0x42147c(0x31b)]=0x19]=_0x42147c(0x31b),_0x484b2a[_0x484b2a['DeleteSheet']=0x1a]=_0x42147c(0x196),_0x484b2a[_0x484b2a['HideSheet']=0x1b]=_0x42147c(0x27a),_0x484b2a[_0x484b2a[_0x42147c(0x220)]=0x1c]=_0x42147c(0x220),_0x484b2a[_0x484b2a[_0x42147c(0x31e)]=0x1d]=_0x42147c(0x31e),_0x484b2a[_0x484b2a[_0x42147c(0x1c2)]=0x1e]=_0x42147c(0x1c2),_0x484b2a[_0x484b2a['SelectProtectedCells']=0x1f]='SelectProtectedCells',_0x484b2a[_0x484b2a[_0x42147c(0x316)]=0x20]=_0x42147c(0x316),_0x484b2a[_0x484b2a['SetCellStyle']=0x21]=_0x42147c(0x217),_0x484b2a[_0x484b2a['SetCellValue']=0x22]=_0x42147c(0x28f),_0x484b2a[_0x484b2a[_0x42147c(0x221)]=0x23]='SetRowStyle',_0x484b2a[_0x484b2a['SetColumnStyle']=0x24]='SetColumnStyle',_0x484b2a[_0x484b2a[_0x42147c(0x236)]=0x25]=_0x42147c(0x236),_0x484b2a[_0x484b2a[_0x42147c(0x2d5)]=0x26]=_0x42147c(0x2d5),_0x484b2a[_0x484b2a['DeleteRow']=0x27]='DeleteRow',_0x484b2a[_0x484b2a[_0x42147c(0x1bb)]=0x28]='DeleteColumn',_0x484b2a[_0x484b2a[_0x42147c(0x170)]=0x29]=_0x42147c(0x170),_0x484b2a[_0x484b2a[_0x42147c(0x2ab)]=0x2a]=_0x42147c(0x2ab),_0x484b2a[_0x484b2a['RecoverHistory']=0x2b]=_0x42147c(0x21c),_0x484b2a[_0x484b2a[_0x42147c(0x2c6)]=0x2c]=_0x42147c(0x2c6),_0x484b2a[_0x484b2a['CreatePermissionObject']=0x2d]=_0x42147c(0x1c7),_0x484b2a[_0x484b2a[_0x42147c(0x2df)]=-0x1]=_0x42147c(0x2df),_0x484b2a))(b||{});function ns(_0xbff10){const _0xe16b7=_0x42147c;return!!(_0xbff10&&_0xbff10['code']&&_0xbff10[_0xe16b7(0x295)]!==X['OK']&&_0xbff10[_0xe16b7(0x295)]!=='OK');}const re=(_0x440bd1,_0x54eeb0)=>{const _0x40d5b4=_0x42147c;if(!_0x440bd1)return{'date':'','time':''};const _0x1531c8=new Date(_0x440bd1),_0x1e750e=_0x1531c8[_0x40d5b4(0x1a0)]()['split']('T')[0x0];switch(_0x54eeb0){case _0x57eff6[_0x40d5b4(0x2c9)]:return{'date':ee(_0x1e750e,_0x54eeb0),'time':_0x1531c8['getHours']()+':'+String(_0x1531c8[_0x40d5b4(0x270)]())[_0x40d5b4(0x188)](0x2,'0')};default:return{'date':ee(_0x1e750e,_0x54eeb0),'time':_0x1531c8['getHours']()+':'+_0x1531c8[_0x40d5b4(0x270)]()};}},as=(_0xf37be3,_0x129514)=>{const _0x48b966=_0x42147c,_0x348e20=_0xf37be3['user']||_0x129514['t'](_0x48b966(0x215));if(_0xf37be3['commands'][_0x48b966(0x263)](_0x3234bd=>_0x3234bd===_0x1a9df9['id'])&&_0xf37be3[_0x48b966(0x228)]){const _0x26ade1=re(_0xf37be3[_0x48b966(0x228)],_0x129514[_0x48b966(0x2fd)]()),_0x2bc353=_0x26ade1[_0x48b966(0x2f3)]+'\x20'+_0x26ade1[_0x48b966(0x307)];return _0x348e20+'\x20'+_0x129514['t'](_0x48b966(0x1bd))+'\x20'+_0x2bc353+'\x20'+_0x129514['t'](_0x48b966(0x2c8));}const _0x318d2d=os(_0xf37be3),_0xd90142=_0x318d2d[_0x48b966(0x2ba)]===0x1?_0x129514['t'](_0x318d2d[0x0]):''+_0x129514['t'](_0x318d2d[0x0])+_0x129514['t']('editHistory.action.etc');return _0x348e20+'\x20'+_0xd90142;};function os(_0x50256d){const _0x25eebf=_0x42147c;if(_0x50256d[_0x25eebf(0x2cb)][_0x25eebf(0x2ba)]===0x0)return[''];const _0x20b014=_0x25eebf(0x2eb),_0x200b27=_0x20b014+'editSheet',_0x3e1dee=[{'id':_0x519a09['id'],'action':_0x20b014+_0x25eebf(0x268)},{'id':_0x1a9df9['id'],'action':_0x20b014+'revertSheet'},{'id':_0x5e9a07['id'],'action':_0x20b014+_0x25eebf(0x16d)},{'id':_0x1f472a['id'],'action':_0x20b014+_0x25eebf(0x1f4)},{'id':_0x46a966['id'],'action':_0x20b014+_0x25eebf(0x1b1)},{'id':_0x50fe07['id'],'action':_0x20b014+_0x25eebf(0x20a)},{'id':_0x387625['id'],'action':_0x20b014+_0x25eebf(0x2b0)},{'id':_0x532a50['id'],'action':_0x20b014+'setDV'},{'id':_0x50c27b['id'],'action':_0x20b014+'setCF'},{'id':_0x3f917c['id'],'action':_0x20b014+_0x25eebf(0x235)},{'id':_0x5d7a94['id'],'action':_0x20b014+_0x25eebf(0x229)},{'id':_0x112679['id'],'action':_0x20b014+_0x25eebf(0x229)},{'id':_0x4c2516['id'],'action':_0x20b014+'addSparkline'},{'id':_0x74288a['id'],'action':_0x20b014+_0x25eebf(0x1e7)},{'id':_0x46a902['id'],'action':_0x20b014+_0x25eebf(0x1e7)}][_0x25eebf(0x2ad)](_0x412ad9=>_0x50256d[_0x25eebf(0x2cb)][_0x25eebf(0x296)](_0x412ad9['id']));return _0x3e1dee!=null&&_0x3e1dee['length']?_0x3e1dee['map'](_0x5856c6=>_0x5856c6[_0x25eebf(0x2f2)]):[_0x200b27];}function ee(_0x1a05d0,_0x3b2dc3){const _0x54a161=_0x42147c,[_0x530549,_0x37b57c,_0x19cf06]=new Date()[_0x54a161(0x1a0)]()[_0x54a161(0x2a9)]('T')[0x0][_0x54a161(0x2a9)]('-'),[_0x5b9e24,_0x4bc282,_0x595c23]=_0x1a05d0[_0x54a161(0x2a9)]('-'),_0x46288d=_0x530549===_0x5b9e24&&_0x37b57c===_0x4bc282&&_0x19cf06===_0x595c23;let _0x4c18e5='',_0xeb48c2='',_0x2450ea='';switch(_0x3b2dc3){case _0x57eff6[_0x54a161(0x2c9)]:return _0x46288d?'今天':(_0x4c18e5=_0x530549===_0x5b9e24?'':_0x5b9e24+'年',_0xeb48c2=_0x4bc282+'月',_0x2450ea=_0x595c23+'日',''+_0x4c18e5+_0xeb48c2+_0x2450ea);default:return _0x46288d?'Today':(_0x4c18e5=_0x530549===_0x5b9e24?'':_0x5b9e24+'-',_0xeb48c2=_0x4bc282+'-',_0x2450ea=''+_0x595c23,''+_0x4c18e5+_0xeb48c2+_0x2450ea);}}function cs(_0xd0007d){const _0x73e3f6=_0x42147c;return _0xd0007d?_0xd0007d[_0x73e3f6(0x2e9)]((_0x2d4f40,_0x336741)=>{const _0x2b5133=_0x73e3f6,_0x357072=new Date(_0x336741[_0x2b5133(0x307)])[_0x2b5133(0x1a0)]()[_0x2b5133(0x2a9)]('T')[0x0];return _0x2d4f40['length']>0x0&&_0x2d4f40[_0x2d4f40[_0x2b5133(0x2ba)]-0x1][_0x2b5133(0x280)]===_0x357072?_0x2d4f40[_0x2d4f40['length']-0x1][_0x2b5133(0x187)][_0x2b5133(0x288)](_0x336741):_0x2d4f40['push']({'dateString':_0x357072,'versions':[_0x336741]}),_0x2d4f40;},[]):[];}var ls=Object[_0x42147c(0x1bf)],us=(_0x8d333c,_0x2806b2,_0x164588,_0x2885cf)=>{const _0x5b5a21=_0x42147c;for(var _0x40ba95=_0x2885cf>0x1?void 0x0:_0x2885cf?ls(_0x2806b2,_0x164588):_0x2806b2,_0x4a8717=_0x8d333c[_0x5b5a21(0x2ba)]-0x1,_0xbb3096;_0x4a8717>=0x0;_0x4a8717--)(_0xbb3096=_0x8d333c[_0x4a8717])&&(_0x40ba95=_0xbb3096(_0x40ba95)||_0x40ba95);return _0x40ba95;},D=(_0x3f7399,_0x520720)=>(_0x400290,_0x5eb4eb)=>_0x520720(_0x400290,_0x5eb4eb,_0x3f7399);const _s=_0x42147c(0x19d);let Y=class extends _0x51aaea{constructor(_0x23b2e0,_0x3d0306,_0x4170c5,_0x12c2fe,_0x55489c,_0x401106){const _0x6f9551=_0x42147c;super(),l(this,'_workbookDataCache',new Map()),(this[_0x6f9551(0x264)]=_0x23b2e0,this['_univerInstanceService']=_0x3d0306,this[_0x6f9551(0x1c5)]=_0x4170c5,this[_0x6f9551(0x2bf)]=_0x12c2fe,this['_httpService']=_0x55489c,this[_0x6f9551(0x1ac)]=_0x401106);}[_0x42147c(0x184)](){const _0x11ac3f=_0x42147c;this['_workbookDataCache'][_0x11ac3f(0x306)](),super[_0x11ac3f(0x184)]();}async['getVersions'](_0x354d6c,_0x4bbc0f){const _0x68c32f=_0x42147c,_0x4ebdc1=this[_0x68c32f(0x213)]()+'/'+_0x354d6c+_0x68c32f(0x254)+(_0x4bbc0f?_0x68c32f(0x22b)+_0x4bbc0f:'');try{const _0x1dea05=(await this[_0x68c32f(0x2f5)][_0x68c32f(0x22e)](_0x4ebdc1))[_0x68c32f(0x2c4)];if(_0x1dea05&&_0x1dea05[_0x68c32f(0x207)]&&_0x1dea05['error'][_0x68c32f(0x295)]===X['OK']){const {hasMore:_0x47baa0,lastLabel:_0x2c6f6f}=_0x1dea05,_0x1937cb=hs(_0x1dea05),_0xcb945a=_0x1dea05[_0x68c32f(0x30c)][_0x68c32f(0x2bb)];return{'hasMore':_0x47baa0,'lastLabel':_0x2c6f6f,'versions':_0x1937cb,'members':_0xcb945a};}}catch(_0xfcc7bb){console[_0x68c32f(0x207)](_0xfcc7bb);}return null;}[_0x42147c(0x213)](){const _0x572567=_0x42147c;var _0x45bab6;const _0x85e2c5=this['_configService'][_0x572567(0x167)](we);return(_0x45bab6=_0x85e2c5==null?void 0x0:_0x85e2c5['historyListServerUrl'])!=null?_0x45bab6:_s;}async['loadSheet'](_0x39203c,_0x54f7e8,_0x447af5){const _0x259c32=_0x42147c;var _0x325290,_0x447e53;_0x447af5===void 0x0&&(_0x447af5={}),this[_0x259c32(0x25a)][_0x259c32(0x27e)](_0x39203c)||this[_0x259c32(0x25a)][_0x259c32(0x2a6)](_0x39203c,new Map());const {snapshot:_0x1fd423,changesets:_0xd72919,error:_0x27f7ba}=await this[_0x259c32(0x264)][_0x259c32(0x247)](_0x447af5,{'unitID':_0x39203c,'type':F[_0x259c32(0x29f)],'revision':_0x54f7e8});if(ns(_0x27f7ba)||!_0x1fd423||!_0x1fd423[_0x259c32(0x2e8)])throw new Error(_0x259c32(0x202));const _0x156f98=(_0x325290=_0xd72919==null?void 0x0:_0xd72919[_0x259c32(0x2ba)])!=null?_0x325290:0x0;if(_0x54f7e8!==0x0&&_0x1fd423[_0x259c32(0x1e5)]+_0x156f98!==_0x54f7e8)throw new Error('[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!');const {workbook:_0x18ec91}=_0x1fd423,_0x5413fe=_0x18ec91[_0x259c32(0x2e1)]?Object['entries'](_0x18ec91[_0x259c32(0x2e1)])['map'](([_0x8999ef,_0x3a61f0])=>{const _0x9ee7ac=_0x259c32;var _0x525df9,_0x17f3c0;return(_0x17f3c0=(_0x525df9=_0x3a61f0[_0x9ee7ac(0x21f)])==null?void 0x0:_0x525df9[_0x9ee7ac(0x1e2)](_0x59532d=>_0x59532d))!=null?_0x17f3c0:[];})[_0x259c32(0x1ee)]():[],_0x3c6012=(await Promise[_0x259c32(0x2a1)](_0x5413fe[_0x259c32(0x1e2)](_0x393385=>this[_0x259c32(0x264)][_0x259c32(0x242)](_0x447af5,{'unitID':_0x39203c,'type':F[_0x259c32(0x29f)],'blockID':_0x393385})[_0x259c32(0x1cd)](_0x24d50f=>_0x24d50f[_0x259c32(0x322)]))))[_0x259c32(0x2ad)](_0x2df016=>!!_0x2df016),_0x2109b2=_0x179657(_0x1fd423,_0x3c6012,_0x447af5);return(_0x447e53=this[_0x259c32(0x25a)][_0x259c32(0x22e)](_0x39203c))==null||_0x447e53[_0x259c32(0x2a6)](_0x54f7e8,{'workbook':_0x2109b2}),new Promise(_0x12d3a8=>{const _0x1b4e42=_0x259c32,_0x29a627=this[_0x1b4e42(0x317)][_0x1b4e42(0x2e0)](_0x496918['UNIVER_SHEET']);_0x29a627?(this[_0x1b4e42(0x317)]['disposeUnit'](_0x29a627[_0x1b4e42(0x1b2)]()),setTimeout(()=>{const _0x4d6aaa=_0x1b4e42;this[_0x4d6aaa(0x312)](_0x2109b2,_0xd72919),_0x12d3a8(!0x0);},0x0)):(this[_0x1b4e42(0x312)](_0x2109b2,_0xd72919),_0x12d3a8(!0x0));});}[_0x42147c(0x312)](_0x4a5618,_0x50fd0f){const _0x53eb56=_0x42147c,_0x262846=this['_univerInstanceService']['createUnit'](_0x496918[_0x53eb56(0x29f)],_0x4a5618);this[_0x53eb56(0x317)]['focusUnit'](_0x262846['getUnitId']());const _0x180078=this[_0x53eb56(0x1ac)]['interceptor'][_0x53eb56(0x2d0)](this[_0x53eb56(0x1ac)][_0x53eb56(0x2a5)][_0x53eb56(0x1c3)]()[_0x53eb56(0x190)]);return _0x50fd0f==null||_0x50fd0f[_0x53eb56(0x2af)](_0x436c5b=>{const _0x3ef2c0=_0x53eb56,_0x56e047=_0x436c5b[_0x3ef2c0(0x2c0)][_0x3ef2c0(0x1e2)](_0x57c4ed=>({'id':_0x57c4ed['id'],'params':JSON['parse'](_0x57c4ed[_0x3ef2c0(0x24e)])}));({..._0x436c5b,'mutations':_0x180078(_0x56e047,null)||_0x56e047}[_0x3ef2c0(0x2c0)][_0x3ef2c0(0x2af)](_0x330b89=>{const _0x2ba863=_0x3ef2c0;this['_commandService'][_0x2ba863(0x284)](_0x330b89['id'])&&this[_0x2ba863(0x1c5)][_0x2ba863(0x18f)](_0x330b89['id'],_0x330b89['params']);}));}),_0x262846;}};Y=us([D(0x0,_0x384b94),D(0x1,_0x455be4),D(0x2,_0x33d61c),D(0x3,_0xd23ed0),D(0x4,_0x2077a7(_0xce31d7)),D(0x5,_0x2077a7(_0x4537f8))],Y);function hs(_0x36ce73){const _0x51486a=_0x42147c;var _0x77bf1d,_0x196783;const _0x4dd85b=[],{entities:_0x5b0443,historyIds:_0x37157c}=_0x36ce73,{datas:_0x1a1354,users:_0x2090f1}=_0x5b0443;for(const _0x1668e8 of _0x37157c)if(_0x1a1354[_0x1668e8]){const _0x160256=!!((_0x77bf1d=_0x2090f1[_0x1a1354[_0x1668e8][_0x51486a(0x2ec)]])!=null&&_0x77bf1d[_0x51486a(0x29b)]);_0x4dd85b['push']({'unitId':_0x1a1354[_0x1668e8][_0x51486a(0x226)],'user':_0x160256?'':((_0x196783=_0x2090f1==null?void 0x0:_0x2090f1[_0x1a1354[_0x1668e8][_0x51486a(0x2ec)]])==null?void 0x0:_0x196783[_0x51486a(0x1b8)])||'','isAnonymous':_0x160256,'id':_0x1668e8,'time':_0x1a1354[_0x1668e8][_0x51486a(0x1e4)]?Number(_0x1a1354[_0x1668e8][_0x51486a(0x1e4)]):void 0x0,'commands':_0x1a1354[_0x1668e8][_0x51486a(0x1d9)],'startRev':Number(_0x1a1354[_0x1668e8][_0x51486a(0x28a)]),'endRev':Number(_0x1a1354[_0x1668e8][_0x51486a(0x20b)]),'recoverTime':_0x1a1354[_0x1668e8][_0x51486a(0x228)]?Number(_0x1a1354[_0x1668e8][_0x51486a(0x228)]):void 0x0});}return _0x4dd85b;}function _0x1726(_0x519800,_0x3d84ef){const _0x4b1d79=_0x4b1d();return _0x1726=function(_0x172638,_0x4a6e7b){_0x172638=_0x172638-0x166;let _0x3cbd33=_0x4b1d79[_0x172638];return _0x3cbd33;},_0x1726(_0x519800,_0x3d84ef);}var ds=Object[_0x42147c(0x1bf)],vs=(_0x5410a3,_0x3012c2,_0x18a441,_0x12db8b)=>{const _0xa309b4=_0x42147c;for(var _0xbd682d=_0x12db8b>0x1?void 0x0:_0x12db8b?ds(_0x3012c2,_0x18a441):_0x3012c2,_0x4291be=_0x5410a3[_0xa309b4(0x2ba)]-0x1,_0x5a2e68;_0x4291be>=0x0;_0x4291be--)(_0x5a2e68=_0x5410a3[_0x4291be])&&(_0xbd682d=_0x5a2e68(_0xbd682d)||_0xbd682d);return _0xbd682d;},V=(_0x44da8e,_0x443553)=>(_0x630ec5,_0x50e29f)=>_0x443553(_0x630ec5,_0x50e29f,_0x44da8e),ne=(_0x265abe=>(_0x265abe[_0x42147c(0x2fe)]=_0x42147c(0x1a6),_0x265abe[_0x42147c(0x18b)]='exited',_0x265abe[_0x42147c(0x267)]='error',_0x265abe))(ne||{}),T=(_0x276963=>(_0x276963[_0x42147c(0x205)]=_0x42147c(0x289),_0x276963['Loading']=_0x42147c(0x24a),_0x276963[_0x42147c(0x246)]=_0x42147c(0x1dc),_0x276963))(T||{});const fs='VIRTUAL_VERSION_NOW';let E=class extends _0x51aaea{constructor(_0x3b2f5b,_0x29cf71,_0x317839,_0x4c9a81){const _0x5e7d42=_0x42147c;super(),l(this,_0x5e7d42(0x19c),new _0x352873([])),l(this,_0x5e7d42(0x23a),this[_0x5e7d42(0x19c)]['asObservable']()),l(this,_0x5e7d42(0x30e),new _0x352873('')),l(this,_0x5e7d42(0x1f2),this[_0x5e7d42(0x30e)][_0x5e7d42(0x166)]()),l(this,_0x5e7d42(0x21a),new _0x352873(_0x5e7d42(0x1a6))),l(this,_0x5e7d42(0x175),this[_0x5e7d42(0x21a)][_0x5e7d42(0x166)]()),l(this,_0x5e7d42(0x1ec),new _0x352873(0x0)),l(this,_0x5e7d42(0x232),this[_0x5e7d42(0x1ec)][_0x5e7d42(0x166)]()),l(this,_0x5e7d42(0x201),new _0x352873('')),l(this,'unitId$',this[_0x5e7d42(0x201)]['asObservable']()),l(this,_0x5e7d42(0x2b4),!0x1),l(this,'_loadingState$',new _0x352873(_0x5e7d42(0x289))),l(this,_0x5e7d42(0x1a3),this[_0x5e7d42(0x208)][_0x5e7d42(0x166)]()),l(this,_0x5e7d42(0x17d),null),l(this,'_hasMore',!0x0),l(this,_0x5e7d42(0x26a),new Map()),l(this,_0x5e7d42(0x178)),l(this,_0x5e7d42(0x2fa)),l(this,'_maskElement'),l(this,_0x5e7d42(0x1cb),!0x1),(this[_0x5e7d42(0x2ee)]=_0x3b2f5b,this[_0x5e7d42(0x1db)]=_0x29cf71,this['_localeService']=_0x317839,this[_0x5e7d42(0x2d1)]=_0x4c9a81);}async[_0x42147c(0x23d)](_0x5e5e96,_0x7f9dda,_0x221f0c){const _0x27ca6b=_0x42147c;this[_0x27ca6b(0x178)]=_0x7f9dda,this[_0x27ca6b(0x1cb)]=_0x221f0c,this[_0x27ca6b(0x201)][_0x27ca6b(0x1c9)](_0x5e5e96),this[_0x27ca6b(0x2b4)]=!0x0;const _0x3042b4=await this[_0x27ca6b(0x2d1)][_0x27ca6b(0x320)](_0x5e5e96);if(this[_0x27ca6b(0x2b4)]=!0x1,_0x3042b4){const {versions:_0x1b9b03,lastLabel:_0x55a451,hasMore:_0x512036,members:_0x2cabb8}=_0x3042b4;_0x1b9b03[_0x27ca6b(0x2ba)]===0x0&&_0x1b9b03[_0x27ca6b(0x288)]({'unitId':_0x5e5e96,'id':fs,'startRev':0x1,'endRev':0x0,'time':Date[_0x27ca6b(0x315)](),'user':this[_0x27ca6b(0x21b)]['t'](_0x27ca6b(0x216)),'commands':[],'isAnonymous':!0x1}),this[_0x27ca6b(0x258)](_0x1b9b03,_0x512036,_0x55a451,_0x2cabb8),this[_0x27ca6b(0x30e)][_0x27ca6b(0x1c9)](_0x1b9b03[0x0]['id']);}else this['_status$'][_0x27ca6b(0x1c9)]('error');}async[_0x42147c(0x233)](){const _0xae3507=_0x42147c;if(!this['_lastLabel']||!this[_0xae3507(0x2b1)]||this[_0xae3507(0x2b4)])return!0x1;this['_fetching']=!0x0;const _0x5283ad=await this[_0xae3507(0x2d1)][_0xae3507(0x320)](this[_0xae3507(0x226)],this[_0xae3507(0x17d)]);if(this[_0xae3507(0x2b4)]=!0x1,_0x5283ad){const {versions:_0x488062,lastLabel:_0x535a1a,hasMore:_0x5c5bd4,members:_0x3a652f}=_0x5283ad;this[_0xae3507(0x258)](_0x488062,_0x5c5bd4,_0x535a1a,_0x3a652f);}else this[_0xae3507(0x2ee)][_0xae3507(0x319)]({'content':this[_0xae3507(0x21b)]['t'](_0xae3507(0x20d)),'type':_0x269ff6[_0xae3507(0x267)],'duration':0xbb8});return!0x0;}async[_0x42147c(0x25b)](_0x2e62d2){const _0x4c67f6=_0x42147c;var _0x2f4c1c;const _0x3e33c8=(_0x2f4c1c=this['_versions$'][_0x4c67f6(0x1d6)])==null?void 0x0:_0x2f4c1c[_0x4c67f6(0x2f1)](_0x4ffd2c=>_0x4ffd2c['id']===_0x2e62d2),{endRev:_0x35a10e}=_0x3e33c8||{};_0x35a10e||_0x35a10e===0x0?(this[_0x4c67f6(0x208)]['next'](_0x4c67f6(0x24a)),await this[_0x4c67f6(0x2d1)][_0x4c67f6(0x1a8)](this[_0x4c67f6(0x226)],_0x35a10e),this[_0x4c67f6(0x208)][_0x4c67f6(0x1c9)](_0x4c67f6(0x1dc))):this['_status$'][_0x4c67f6(0x1c9)](_0x4c67f6(0x207));}async[_0x42147c(0x224)](_0x5a42e7){const _0x20fbf2=_0x42147c,_0xaf20d1=_0x5a42e7?this[_0x20fbf2(0x297)](_0x5a42e7):this['getCurrentVersion']();if(!_0xaf20d1)return;const _0x586319=_0xaf20d1[_0x20fbf2(0x210)],_0x3f9619=re(_0xaf20d1['time'],this[_0x20fbf2(0x21b)][_0x20fbf2(0x2fd)]());await this['_confirmService'][_0x20fbf2(0x1d8)]({'id':'confirm-revert-revision','title':{'title':this[_0x20fbf2(0x21b)]['t'](_0x20fbf2(0x1fc))},'children':{'title':this['_localeService']['t']('editHistory.panel.revertConfirmText')+':\x20('+_0x3f9619[_0x20fbf2(0x2f3)]+'\x20'+_0x3f9619[_0x20fbf2(0x307)]+')'},'cancelText':this['_localeService']['t']('editHistory.panel.cancel'),'confirmText':this[_0x20fbf2(0x21b)]['t'](_0x20fbf2(0x230))})&&this[_0x20fbf2(0x1ec)][_0x20fbf2(0x1c9)](_0x586319);}[_0x42147c(0x258)](_0x2edb5e,_0x25924a,_0x326e6f,_0x5a9912){const _0x4c0a9b=_0x42147c;this[_0x4c0a9b(0x19c)][_0x4c0a9b(0x1c9)](this['_versions$'][_0x4c0a9b(0x1d6)][_0x4c0a9b(0x1ed)](_0x2edb5e)),this['_hasMore']=_0x25924a,this[_0x4c0a9b(0x17d)]=_0x326e6f,_0x5a9912&&Object[_0x4c0a9b(0x185)](_0x5a9912)[_0x4c0a9b(0x2af)](_0x274a70=>this['_members'][_0x4c0a9b(0x2a6)](_0x274a70,_0x5a9912[_0x274a70]));}[_0x42147c(0x266)](){const _0x2e2821=_0x42147c;return this[_0x2e2821(0x297)](this['_currentVersion$'][_0x2e2821(0x1d6)]);}[_0x42147c(0x297)](_0x41af73){const _0x6e354a=_0x42147c;var _0x13afdd;return(_0x13afdd=this[_0x6e354a(0x19c)][_0x6e354a(0x1d6)])==null?void 0x0:_0x13afdd[_0x6e354a(0x2f1)](_0x452ea0=>_0x452ea0['id']===_0x41af73);}['getMember'](_0x1d6ec5){const _0x2d6cd8=_0x42147c;return this[_0x2d6cd8(0x26a)][_0x2d6cd8(0x22e)](_0x1d6ec5);}[_0x42147c(0x29e)](){const _0x1c15f2=_0x42147c;this[_0x1c15f2(0x2c7)]=document[_0x1c15f2(0x1e1)](_0x1c15f2(0x1b7)),this[_0x1c15f2(0x2c7)][_0x1c15f2(0x1a2)]=_0x1c15f2(0x22d),this[_0x1c15f2(0x2c7)][_0x1c15f2(0x2e3)]['position']=_0x1c15f2(0x245),this['_maskElement'][_0x1c15f2(0x2e3)]['top']='0',this[_0x1c15f2(0x2c7)][_0x1c15f2(0x2e3)]['left']='0',this[_0x1c15f2(0x2c7)][_0x1c15f2(0x2e3)][_0x1c15f2(0x172)]='100%',this[_0x1c15f2(0x2c7)][_0x1c15f2(0x2e3)][_0x1c15f2(0x2ac)]=_0x1c15f2(0x1f0),this[_0x1c15f2(0x2c7)]['style'][_0x1c15f2(0x28e)]=_0x1c15f2(0x248),this[_0x1c15f2(0x2c7)][_0x1c15f2(0x2e3)]['color']=_0x1c15f2(0x2d6),this[_0x1c15f2(0x2c7)][_0x1c15f2(0x2e3)]['display']=_0x1c15f2(0x1f7),this['_maskElement'][_0x1c15f2(0x2e3)][_0x1c15f2(0x17e)]=_0x1c15f2(0x1f8),this['_maskElement']['style'][_0x1c15f2(0x18c)]=_0x1c15f2(0x253),this[_0x1c15f2(0x2c7)][_0x1c15f2(0x2e3)]['display']=_0x1c15f2(0x269),this['_maskContainer']['append'](this[_0x1c15f2(0x2c7)]);}[_0x42147c(0x2f9)](){const _0x4bfa1d=_0x42147c;var _0x5b2936;const _0xc5e8bd=(_0x5b2936=document[_0x4bfa1d(0x1ae)](this[_0x4bfa1d(0x178)]))==null?void 0x0:_0x5b2936[_0x4bfa1d(0x234)]('.univer-app-container-content');_0xc5e8bd&&(this[_0x4bfa1d(0x2fa)]=_0xc5e8bd,this[_0x4bfa1d(0x29e)]());}[_0x42147c(0x290)](){const _0x316a39=_0x42147c;this[_0x316a39(0x2fa)]||this[_0x316a39(0x2f9)](),this[_0x316a39(0x2c7)]&&(this[_0x316a39(0x2c7)][_0x316a39(0x2e3)][_0x316a39(0x1ea)]='flex');}[_0x42147c(0x272)](){const _0x5d70a9=_0x42147c;this['_maskElement']&&(this[_0x5d70a9(0x2c7)][_0x5d70a9(0x2e3)][_0x5d70a9(0x1ea)]=_0x5d70a9(0x269));}set['status'](_0x4c32f2){const _0x5f5852=_0x42147c;this[_0x5f5852(0x21a)][_0x5f5852(0x1c9)](_0x4c32f2);}set[_0x42147c(0x261)](_0xa05333){const _0x532691=_0x42147c;_0xa05333!==this[_0x532691(0x30e)][_0x532691(0x1d6)]&&this[_0x532691(0x30e)][_0x532691(0x1c9)](_0xa05333);}get[_0x42147c(0x261)](){const _0x41b426=_0x42147c;return this[_0x41b426(0x30e)][_0x41b426(0x1d6)];}set[_0x42147c(0x226)](_0x279d7c){const _0xa3034=_0x42147c;this[_0xa3034(0x201)][_0xa3034(0x1c9)](_0x279d7c);}get['unitId'](){const _0x17dffb=_0x42147c;return this[_0x17dffb(0x201)][_0x17dffb(0x1d6)];}get['canRevert'](){const _0x276f39=_0x42147c;return this[_0x276f39(0x1cb)];}get['loadingState'](){const _0x2074d3=_0x42147c;return this[_0x2074d3(0x208)][_0x2074d3(0x1d6)];}};E=vs([V(0x0,_0x234a9e),V(0x1,_0xb90faa),V(0x2,_0x2077a7(_0x287d24)),V(0x3,_0x2077a7(Y))],E);var g=function(){const _0x403001=_0x42147c;return g=Object[_0x403001(0x244)]||function(_0x1d20ff){const _0x49e6d9=_0x403001;for(var _0x12f9f5,_0x4dd487=0x1,_0x23b0c1=arguments[_0x49e6d9(0x2ba)];_0x4dd487<_0x23b0c1;_0x4dd487++){_0x12f9f5=arguments[_0x4dd487];for(var _0x3d1d75 in _0x12f9f5)Object[_0x49e6d9(0x1e3)][_0x49e6d9(0x2cf)]['call'](_0x12f9f5,_0x3d1d75)&&(_0x1d20ff[_0x3d1d75]=_0x12f9f5[_0x3d1d75]);}return _0x1d20ff;},g[_0x403001(0x29a)](this,arguments);},ms=function(_0x58f5d4,_0x2fa467){const _0x180e19=_0x42147c;var _0x3c0571={};for(var _0x2c013d in _0x58f5d4)Object[_0x180e19(0x1e3)][_0x180e19(0x2cf)]['call'](_0x58f5d4,_0x2c013d)&&_0x2fa467[_0x180e19(0x271)](_0x2c013d)<0x0&&(_0x3c0571[_0x2c013d]=_0x58f5d4[_0x2c013d]);if(_0x58f5d4!=null&&typeof Object[_0x180e19(0x225)]==_0x180e19(0x183)){for(var _0x1db262=0x0,_0x2c013d=Object[_0x180e19(0x225)](_0x58f5d4);_0x1db262<_0x2c013d['length'];_0x1db262++)_0x2fa467['indexOf'](_0x2c013d[_0x1db262])<0x0&&Object[_0x180e19(0x1e3)][_0x180e19(0x2fc)][_0x180e19(0x2cd)](_0x58f5d4,_0x2c013d[_0x1db262])&&(_0x3c0571[_0x2c013d[_0x1db262]]=_0x58f5d4[_0x2c013d[_0x1db262]]);}return _0x3c0571;},G=_0x403ac8(function(_0x2b4fc,_0x495849){const _0x561cd1=_0x42147c;var _0x1ce48d=_0x2b4fc['icon'],_0x2e1301=_0x2b4fc['id'],_0x1455f9=_0x2b4fc[_0x561cd1(0x1a2)],_0x5565c0=_0x2b4fc[_0x561cd1(0x262)],_0x3b6a45=ms(_0x2b4fc,[_0x561cd1(0x23b),'id','className','extend']),_0x563ad0=_0x561cd1(0x24b)['concat'](_0x2e1301,'\x20')[_0x561cd1(0x1ed)](_0x1455f9||'')[_0x561cd1(0x314)](),_0x84c2f1=_0x1f2e51('_'[_0x561cd1(0x1ed)](gs()));return Pe(_0x1ce48d,''[_0x561cd1(0x1ed)](_0x2e1301),{'defIds':_0x1ce48d['defIds'],'idSuffix':_0x84c2f1[_0x561cd1(0x2da)]},g({'ref':_0x495849,'className':_0x563ad0},_0x3b6a45),_0x5565c0);});function Pe(_0x458ab7,_0xfc0f1f,_0x14122b,_0x68b11f,_0x3fda91){const _0x1d99ba=_0x42147c;return _0x1093cb(_0x458ab7['tag'],g(g({'key':_0xfc0f1f},Is(_0x458ab7,_0x14122b,_0x3fda91)),_0x68b11f),(Ss(_0x458ab7,_0x14122b)[_0x1d99ba(0x2a4)]||[])['map'](function(_0x26a015,_0x59c9ab){const _0x4af69b=_0x1d99ba;return Pe(_0x26a015,''[_0x4af69b(0x1ed)](_0xfc0f1f,'-')['concat'](_0x458ab7[_0x4af69b(0x23e)],'-')[_0x4af69b(0x1ed)](_0x59c9ab),_0x14122b,void 0x0,_0x3fda91);}));}function Is(_0x5960e5,_0x3645bc,_0x5b3f2e){const _0x46a085=_0x42147c;var _0x2abe11=g({},_0x5960e5['attrs']);_0x5b3f2e!=null&&_0x5b3f2e[_0x46a085(0x287)]&&_0x2abe11[_0x46a085(0x24c)]===_0x46a085(0x287)&&(_0x2abe11[_0x46a085(0x24c)]=_0x5b3f2e[_0x46a085(0x287)]),_0x5960e5['tag']===_0x46a085(0x28b)&&_0x2abe11['id']&&(_0x2abe11['id']=_0x2abe11['id']+_0x3645bc[_0x46a085(0x2aa)]),Object['entries'](_0x2abe11)[_0x46a085(0x2af)](function(_0xe4a67c){const _0x402ca7=_0x46a085;var _0x35a014=_0xe4a67c[0x0],_0xaa32da=_0xe4a67c[0x1];_0x35a014===_0x402ca7(0x28b)&&typeof _0xaa32da=='string'&&(_0x2abe11[_0x35a014]=_0xaa32da[_0x402ca7(0x250)](/url\(#(.*)\)/,_0x402ca7(0x1ab)[_0x402ca7(0x1ed)](_0x3645bc['idSuffix'],')')));});var _0x43ef03=_0x3645bc[_0x46a085(0x2d3)];return!_0x43ef03||_0x43ef03[_0x46a085(0x2ba)]===0x0||(_0x5960e5[_0x46a085(0x23e)]===_0x46a085(0x16e)&&_0x2abe11[_0x46a085(0x29d)]&&(_0x2abe11[_0x46a085(0x29d)]=_0x2abe11[_0x46a085(0x29d)]+_0x3645bc[_0x46a085(0x2aa)]),Object[_0x46a085(0x285)](_0x2abe11)[_0x46a085(0x2af)](function(_0x397342){const _0x16a556=_0x46a085;var _0x176d8c=_0x397342[0x0],_0x30e9be=_0x397342[0x1];typeof _0x30e9be==_0x16a556(0x16c)&&(_0x2abe11[_0x176d8c]=_0x30e9be['replace'](/url\(#(.*)\)/,'url(#$1'[_0x16a556(0x1ed)](_0x3645bc[_0x16a556(0x2aa)],')')));})),_0x2abe11;}function Ss(_0x5b3a1e,_0x3397ae){const _0x52c704=_0x42147c;var _0x347147,_0x50d321=_0x3397ae[_0x52c704(0x2d3)];return!_0x50d321||_0x50d321[_0x52c704(0x2ba)]===0x0?_0x5b3a1e:_0x5b3a1e['tag']===_0x52c704(0x1ba)&&(!((_0x347147=_0x5b3a1e[_0x52c704(0x2a4)])===null||_0x347147===void 0x0)&&_0x347147[_0x52c704(0x2ba)])?g(g({},_0x5b3a1e),{'children':_0x5b3a1e[_0x52c704(0x2a4)][_0x52c704(0x1e2)](function(_0x46e36e){const _0x14f321=_0x52c704;return typeof _0x46e36e[_0x14f321(0x20e)]['id']==_0x14f321(0x16c)&&_0x50d321&&_0x50d321[_0x14f321(0x296)](_0x46e36e['attrs']['id'])?g(g({},_0x46e36e),{'attrs':g(g({},_0x46e36e[_0x14f321(0x20e)]),{'id':_0x46e36e[_0x14f321(0x20e)]['id']+_0x3397ae[_0x14f321(0x2aa)]})}):_0x46e36e;})}):_0x5b3a1e;}function gs(){const _0x384882=_0x42147c;return Math['random']()[_0x384882(0x168)](0x24)[_0x384882(0x293)](0x2,0x8);}G[_0x42147c(0x21d)]='UniverIcon';var ps={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x42147c(0x269),'viewBox':'0\x200\x2016\x2016','width':_0x42147c(0x182),'height':_0x42147c(0x182)},'children':[{'tag':_0x42147c(0x1b6),'attrs':{'fill':_0x42147c(0x276),'d':_0x42147c(0x2f6)}}]},Te=_0x403ac8(function(_0x590308,_0x3c85f0){const _0x21a143=_0x42147c;return _0x1093cb(G,Object[_0x21a143(0x244)]({},_0x590308,{'id':_0x21a143(0x2a3),'ref':_0x3c85f0,'icon':ps}));});Te[_0x42147c(0x21d)]='BackIcon';var Es={'tag':_0x42147c(0x24f),'attrs':{'xmlns':_0x42147c(0x1de),'fill':'none','viewBox':_0x42147c(0x2db),'width':_0x42147c(0x182),'height':_0x42147c(0x182)},'children':[{'tag':'path','attrs':{'fill':_0x42147c(0x2e7),'d':_0x42147c(0x1fa),'fillOpacity':0.2,'fillRule':_0x42147c(0x16b),'clipRule':_0x42147c(0x16b)}},{'tag':'path','attrs':{'fill':'#0B9EFB','d':_0x42147c(0x2ea),'fillRule':_0x42147c(0x16b),'clipRule':_0x42147c(0x16b)}}]},ae=_0x403ac8(function(_0x59f5fa,_0x3578b8){const _0x4b3b53=_0x42147c;return _0x1093cb(G,Object['assign']({},_0x59f5fa,{'id':_0x4b3b53(0x223),'ref':_0x3578b8,'icon':Es}));});ae[_0x42147c(0x21d)]=_0x42147c(0x227);var Rs={'tag':'svg','attrs':{'xmlns':_0x42147c(0x1de),'fill':_0x42147c(0x269),'viewBox':_0x42147c(0x2ca),'width':'1em','height':_0x42147c(0x182)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':_0x42147c(0x2dd)},'children':[{'tag':_0x42147c(0x1b6),'attrs':{'d':'M7.41252\x2010.6196C7.64683\x2010.3852\x207.64683\x2010.0053\x207.41252\x209.77103L6.77012\x209.12863H9.67836C9.89927\x209.12863\x2010.0784\x209.30772\x2010.0784\x209.52863V11.1953C10.0784\x2011.5267\x2010.347\x2011.7953\x2010.6784\x2011.7953C11.0097\x2011.7953\x2011.2784\x2011.5267\x2011.2784\x2011.1953V9.52863C11.2784\x208.64497\x2010.562\x207.92863\x209.67836\x207.92863H6.77012L7.41252\x207.28623C7.64683\x207.05191\x207.64683\x206.67201\x207.41252\x206.4377C7.1782\x206.20338\x206.79831\x206.20338\x206.56399\x206.4377L4.89732\x208.10437C4.66301\x208.33868\x204.66301\x208.71858\x204.89732\x208.95289L6.56399\x2010.6196C6.79831\x2010.8539\x207.1782\x2010.8539\x207.41252\x2010.6196Z'}},{'tag':'path','attrs':{'d':_0x42147c(0x191),'fillRule':_0x42147c(0x16b),'clipRule':_0x42147c(0x16b)}}]},{'tag':_0x42147c(0x1ba),'attrs':{},'children':[{'tag':_0x42147c(0x23c),'attrs':{'id':_0x42147c(0x2c2)},'children':[{'tag':'rect','attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x42147c(0x2d6),'rx':0x4}}]}]}],'defIds':[_0x42147c(0x2c2)]},Le=_0x403ac8(function(_0x3c13b5,_0xedafc5){const _0x3cf4ce=_0x42147c;return _0x1093cb(G,Object[_0x3cf4ce(0x244)]({},_0x3c13b5,{'id':_0x3cf4ce(0x25d),'ref':_0xedafc5,'icon':Rs}));});Le[_0x42147c(0x21d)]='RestoreIcon';function Os(){const _0x2d9234=_0x42147c;var _0x28caac;const _0x210251=_0x5f432c(E),_0x2a7453=_0x5f432c(_0x287d24),_0x42775f=_0x40afc2(()=>{const _0x2b08b3=_0x1726;_0x210251[_0x2b08b3(0x299)]=ne[_0x2b08b3(0x18b)];},[_0x210251]),_0x4b51b9=_0x40afc2(()=>{_0x210251['triggerRevert']();},[_0x210251]),_0x4561c2=_0xd065e6(_0x210251['currentVersion$']),_0x30d14a=_0xd065e6(_0x210251[_0x2d9234(0x23a)]),_0x34ef45=_0x4561c2===((_0x28caac=_0x30d14a==null?void 0x0:_0x30d14a[0x0])==null?void 0x0:_0x28caac['id']),_0x2209eb=_0x4561c2!==''&&!_0x34ef45&&_0x210251[_0x2d9234(0x2ae)];return _0x30d745(_0x2d9234(0x1b7),{'className':_0x1ee252('univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center',_0x44f94f),'children':[_0x4ac6c3('div',{'onClick':_0x42775f,'className':_0x2d9234(0x31a),'children':_0x4ac6c3(Te,{'className':_0x2d9234(0x27f)})}),_0x4ac6c3(_0x2d9234(0x1b7),{'className':_0x2d9234(0x1e0),'children':_0x2209eb&&_0x4ac6c3(_0x40b226,{'variant':_0x2d9234(0x193),'onClick':_0x4b51b9,'children':_0x2a7453['t'](_0x2d9234(0x301))})})]});}var Ms=Object[_0x42147c(0x1bf)],Ns=(_0x34665f,_0x252a01,_0x28eddc,_0x17f50c)=>{const _0x5a9c52=_0x42147c;for(var _0x3460e2=_0x17f50c>0x1?void 0x0:_0x17f50c?Ms(_0x252a01,_0x28eddc):_0x252a01,_0x2785e5=_0x34665f[_0x5a9c52(0x2ba)]-0x1,_0x4270c9;_0x2785e5>=0x0;_0x2785e5--)(_0x4270c9=_0x34665f[_0x2785e5])&&(_0x3460e2=_0x4270c9(_0x3460e2)||_0x3460e2);return _0x3460e2;},y=(_0x4543a0,_0x337f73)=>(_0x457c64,_0x11fe1e)=>_0x337f73(_0x457c64,_0x11fe1e,_0x4543a0);let B=class extends _0x51aaea{constructor(_0x4b384e,_0x4045dd,_0x471139,_0x29616c,_0x214f4f,_0x3a98b8){const _0x1f90cb=_0x42147c;super(),this[_0x1f90cb(0x18a)]=_0x4b384e,this[_0x1f90cb(0x309)]=_0x4045dd,this[_0x1f90cb(0x2ee)]=_0x471139,this[_0x1f90cb(0x21b)]=_0x29616c,this[_0x1f90cb(0x1a4)]=_0x214f4f,this['_injector']=_0x3a98b8,this['_init']();}[_0x42147c(0x275)](){const _0x19f32b=_0x42147c;this[_0x19f32b(0x2e4)](this[_0x19f32b(0x1a4)][_0x19f32b(0x1f2)][_0x19f32b(0x298)](_0x47cb3b=>{const _0x15c230=_0x19f32b;_0x47cb3b&&this[_0x15c230(0x1a4)][_0x15c230(0x25b)](_0x47cb3b);})),this['disposeWithMe'](this[_0x19f32b(0x18a)]['permissionPointUpdate$'][_0x19f32b(0x298)](_0x632ad2=>{const _0x13e74b=_0x19f32b,_0x2d14ef=this[_0x13e74b(0x1a4)][_0x13e74b(0x226)];_0x2d14ef&&(_0x632ad2[_0x13e74b(0x30b)]===b[_0x13e74b(0x1d0)]&&_0x632ad2['value']===!0x0&&this[_0x13e74b(0x18a)][_0x13e74b(0x273)](new _0x142176(_0x2d14ef)['id'],!0x1),_0x632ad2[_0x13e74b(0x30b)]===b[_0x13e74b(0x31e)]&&_0x632ad2[_0x13e74b(0x1d6)]===!0x0&&this[_0x13e74b(0x18a)][_0x13e74b(0x273)](new _0x478ee9(_0x2d14ef)['id'],!0x1),_0x632ad2[_0x13e74b(0x30b)]===b[_0x13e74b(0x31b)]&&_0x632ad2[_0x13e74b(0x1d6)]===!0x0&&this[_0x13e74b(0x18a)][_0x13e74b(0x273)](new _0x53f73e(_0x2d14ef)['id'],!0x1),_0x632ad2[_0x13e74b(0x30b)]===b[_0x13e74b(0x27a)]&&_0x632ad2[_0x13e74b(0x1d6)]===!0x0&&this[_0x13e74b(0x18a)]['updatePermissionPoint'](new _0x167afa(_0x2d14ef)['id'],!0x1),_0x632ad2[_0x13e74b(0x30b)]===b[_0x13e74b(0x303)]&&_0x632ad2[_0x13e74b(0x1d6)]===!0x0&&this['_permissionService'][_0x13e74b(0x273)](new _0x142176(_0x2d14ef)['id'],!0x1),_0x632ad2[_0x13e74b(0x30b)]===b['FloatImg']&&_0x632ad2[_0x13e74b(0x1d6)]===!0x0&&this[_0x13e74b(0x18a)][_0x13e74b(0x273)](new _0x142176(_0x2d14ef)['id'],!0x1));})),this[_0x19f32b(0x2e4)](this[_0x19f32b(0x309)][_0x19f32b(0x243)](_0x1138e2[_0x19f32b(0x17c)],()=>_0x534c54(Os,this[_0x19f32b(0x26c)]))),this[_0x19f32b(0x2e4)](this['_historyManagerService'][_0x19f32b(0x1a3)][_0x19f32b(0x298)](_0x4b592a=>{const _0x581ac0=_0x19f32b;_0x4b592a===T[_0x581ac0(0x2e6)]&&(this[_0x581ac0(0x1a4)][_0x581ac0(0x290)](),this[_0x581ac0(0x2ee)][_0x581ac0(0x319)]({'type':_0x269ff6[_0x581ac0(0x2b7)],'content':this[_0x581ac0(0x21b)]['t'](_0x581ac0(0x313))})),_0x4b592a===T['Loaded']&&this[_0x581ac0(0x1a4)][_0x581ac0(0x272)]();}));}};B=Ns([y(0x0,_0x3646a3),y(0x1,_0x5129b6),y(0x2,_0x234a9e),y(0x3,_0x2077a7(_0x287d24)),y(0x4,_0x2077a7(E)),y(0x5,_0x2077a7(_0xbbe00a))],B);var bs=Object[_0x42147c(0x1bf)],Ds=(_0x33185c,_0x1d4342,_0x68a222,_0xc474db)=>{const _0x27a55d=_0x42147c;for(var _0x1a74b8=_0xc474db>0x1?void 0x0:_0xc474db?bs(_0x1d4342,_0x68a222):_0x1d4342,_0xdd4f0d=_0x33185c[_0x27a55d(0x2ba)]-0x1,_0x1ab803;_0xdd4f0d>=0x0;_0xdd4f0d--)(_0x1ab803=_0x33185c[_0xdd4f0d])&&(_0x1a74b8=_0x1ab803(_0x1a74b8)||_0x1a74b8);return _0x1a74b8;},Q=(_0x22ad8a,_0x379db8)=>(_0x1d737f,_0x4f03c1)=>_0x379db8(_0x1d737f,_0x4f03c1,_0x22ad8a);let $=class extends _0x51aaea{constructor(_0x160389,_0xe835d8,_0x2dc01a){const _0x5b53a5=_0x42147c;super(),l(this,_0x5b53a5(0x2ce),new Map()),l(this,_0x5b53a5(0x1cc),new _0x352873({'ranges':new Map(),'active':null})),l(this,_0x5b53a5(0x17f),this[_0x5b53a5(0x1cc)][_0x5b53a5(0x166)]()),(this[_0x5b53a5(0x1a4)]=_0x160389,this['_transformService']=_0xe835d8,this[_0x5b53a5(0x264)]=_0x2dc01a,this['_init']());}[_0x42147c(0x275)](){const _0x1ae261=_0x42147c;this[_0x1ae261(0x2ce)]=new Map(),this[_0x1ae261(0x2e4)](this[_0x1ae261(0x1a4)][_0x1ae261(0x2ff)][_0x1ae261(0x298)](_0x39d40c=>{const _0x1cbe42=_0x1ae261;_0x39d40c&&!this[_0x1cbe42(0x2ce)][_0x1cbe42(0x27e)](_0x39d40c)&&this[_0x1cbe42(0x2ce)][_0x1cbe42(0x2a6)](_0x39d40c,new Map());})),this['disposeWithMe'](this[_0x1ae261(0x1a4)][_0x1ae261(0x1f2)]['subscribe'](async _0x4c67e5=>{const _0x5a80fa=_0x1ae261;var _0x1ba4ee;_0x4c67e5&&(await this[_0x5a80fa(0x2de)](_0x4c67e5),this[_0x5a80fa(0x1cc)][_0x5a80fa(0x1c9)](((_0x1ba4ee=this['_diffRangesMap'][_0x5a80fa(0x22e)](this[_0x5a80fa(0x1a4)][_0x5a80fa(0x226)]))==null?void 0x0:_0x1ba4ee['get'](_0x4c67e5))||{'ranges':new Map(),'active':null}));}));}async[_0x42147c(0x2de)](_0x31b4c3){const _0x2d4b9a=_0x42147c;var _0x20d984,_0x1cfa30;const _0x2916cb=this[_0x2d4b9a(0x1a4)][_0x2d4b9a(0x297)](_0x31b4c3),_0x6c2db2=this['_historyManagerService'][_0x2d4b9a(0x226)];if(!_0x2916cb||!_0x6c2db2)return;const _0x4ea26e=this[_0x2d4b9a(0x2ce)]['get'](_0x6c2db2);if(_0x4ea26e||this[_0x2d4b9a(0x2ce)]['set'](_0x6c2db2,new Map()),(_0x20d984=this[_0x2d4b9a(0x2ce)][_0x2d4b9a(0x22e)](_0x6c2db2))!=null&&_0x20d984[_0x2d4b9a(0x27e)](_0x2916cb['id']))return;const {startRev:_0x149679,endRev:_0x1e5d9a}=_0x2916cb;if(_0x149679===0x1){_0x4ea26e[_0x2d4b9a(0x2a6)](_0x2916cb['id'],{'ranges':new Map(),'active':null});return;}const _0x25ae55=_0x149679-0x1,_0x304391=_0x1e5d9a,_0x15d510=await this[_0x2d4b9a(0x264)][_0x2d4b9a(0x249)]({},{'unitID':_0x6c2db2,'from':_0x25ae55,'to':_0x304391,'type':F['UNIVER_SHEET']});if(((_0x1cfa30=_0x15d510['error'])==null?void 0x0:_0x1cfa30[_0x2d4b9a(0x295)])===X['OK']){const _0x1014f1=_0x15d510['changesets'][_0x2d4b9a(0x1e2)](_0x14f012)[_0x2d4b9a(0x1e2)](_0x21c661=>_0x21c661[_0x2d4b9a(0x2c0)][_0x2d4b9a(0x1e2)](_0x6b45a5=>({..._0x6b45a5,'params':{..._0x6b45a5[_0x2d4b9a(0x2a0)],'memberId':_0x21c661[_0x2d4b9a(0x195)]}})))['flat'](),_0xfbc673=this[_0x2d4b9a(0x222)](_0x1014f1),_0x15f7a1=this['_getActiveSubUnitId'](_0x1014f1),_0x557c0e=this[_0x2d4b9a(0x238)](_0xfbc673);_0x4ea26e[_0x2d4b9a(0x2a6)](_0x2916cb['id'],{'ranges':_0x557c0e,'active':_0x15f7a1});}}[_0x42147c(0x222)](_0x551181){const _0x71dc33=_0x42147c;let _0x475ff0=[];for(let _0x4c508e=0x0;_0x4c508e<_0x551181['length'];_0x4c508e++){const _0x441d8e=_0x551181[_0x4c508e];if(_0x475ff0[_0x71dc33(0x288)](_0x441d8e),_0x4c508e!==_0x551181[_0x71dc33(0x2ba)]-0x1){const _0x20c6db=_0x551181[_0x4c508e+0x1],_0x281861=this[_0x71dc33(0x26d)]['transformMutations'](_0x475ff0,[_0x20c6db]);_0x40939c(_0x281861)?_0x475ff0=_0x281861[_0x71dc33(0x1b9)]:_0x475ff0=[];}}return _0x475ff0;}[_0x42147c(0x1a9)](_0x1a9c1e){const _0x39376b=_0x42147c;let _0x1ede1e=[];return _0x1a9c1e[_0x39376b(0x2af)](_0xed2885=>{const _0x3bbe8c=_0x39376b;if(_0xed2885['id']===_0x5e9a07['id']){const _0x22449c=_0xed2885[_0x3bbe8c(0x2a0)];_0x1ede1e[_0x3bbe8c(0x288)](_0x22449c[_0x3bbe8c(0x25c)]['id']);}else{if(_0xed2885['id']===_0x1f472a['id']){const _0x498fa9=_0xed2885[_0x3bbe8c(0x2a0)];_0x1ede1e[_0x3bbe8c(0x2ba)]>0x0&&(_0x1ede1e=_0x1ede1e[_0x3bbe8c(0x2ad)](_0x156c75=>_0x156c75!==_0x498fa9[_0x3bbe8c(0x2d7)]));}else{if(_0xed2885['id']===_0x51b8a4['id']){const _0x453e65=_0xed2885[_0x3bbe8c(0x2a0)];_0x453e65[_0x3bbe8c(0x2b8)]?_0x1ede1e=_0x1ede1e[_0x3bbe8c(0x2ad)](_0x1ce424=>_0x1ce424!==_0x453e65['subUnitId']):_0x1ede1e[_0x3bbe8c(0x288)](_0x453e65['subUnitId']);}else{const _0x4491f0=_0xed2885[_0x3bbe8c(0x2a0)];_0x4491f0[_0x3bbe8c(0x2d7)]&&_0x1ede1e['push'](_0x4491f0[_0x3bbe8c(0x2d7)]);}}}}),_0x1ede1e['length']>0x0?_0x1ede1e[_0x1ede1e[_0x39376b(0x2ba)]-0x1]:null;}[_0x42147c(0x238)](_0x11b138){const _0x599d89=_0x42147c,_0x4ff268=new Map();return _0x11b138[_0x599d89(0x2af)](_0x197da2=>{const _0x569cf9=_0x599d89;var _0x187025,_0x39c29b;const _0x4e6fd4=(_0x187025=_0x197da2['params'])==null?void 0x0:_0x187025[_0x569cf9(0x2cc)];if(_0x4e6fd4){_0x4ff268[_0x569cf9(0x27e)](_0x4e6fd4)||_0x4ff268[_0x569cf9(0x2a6)](_0x4e6fd4,[]);const _0x1d9261=this[_0x569cf9(0x204)](_0x197da2);(_0x39c29b=_0x4ff268[_0x569cf9(0x22e)](_0x4e6fd4))==null||_0x39c29b[_0x569cf9(0x288)](..._0x1d9261);}}),_0x4ff268[_0x599d89(0x2af)]((_0x4ac225,_0x1e317a)=>{_0x4ff268['set'](_0x1e317a,this['_combineRanges'](_0x4ac225));}),_0x4ff268;}[_0x42147c(0x204)](_0x42a922){const _0x4f641a=_0x42147c;switch(_0x42a922['id']){case _0x112679['id']:{const _0x4a5f1b=_0x42a922[_0x4f641a(0x2a0)];return _0x4a5f1b[_0x4f641a(0x2f4)]['map'](_0x3d4a48=>_0x3d4a48[_0x4f641a(0x194)]['map'](_0x342838=>({'range':_0x342838,'unitId':_0x4a5f1b[_0x4f641a(0x226)],'subUnitId':_0x4a5f1b[_0x4f641a(0x2d7)]})))[_0x4f641a(0x1ee)]();}case _0x1106c3['id']:{const _0x5b489f=_0x42a922[_0x4f641a(0x2a0)];return _0x5b489f[_0x4f641a(0x194)][_0x4f641a(0x1e2)](_0x7a863=>({'range':_0x7a863,'unitId':_0x5b489f[_0x4f641a(0x226)],'subUnitId':_0x5b489f['subUnitId']}));}case _0x122669['id']:{const _0x1ad4cb=_0x42a922['params'];return[{'range':_0x1ad4cb[_0x4f641a(0x308)],'unitId':_0x1ad4cb[_0x4f641a(0x226)],'subUnitId':_0x1ad4cb[_0x4f641a(0x2d7)]}];}case _0x26d1a7['id']:{const _0x18a10a=_0x42a922[_0x4f641a(0x2a0)];return[{'range':_0x18a10a[_0x4f641a(0x308)],'unitId':_0x18a10a['unitId'],'subUnitId':_0x18a10a[_0x4f641a(0x2d7)]}];}case _0x16e914['id']:{const _0x317b08=_0x42a922['params'],{from:_0x4a8438,to:_0x3449b2,unitId:_0x1e6d26}=_0x317b08;return[{'range':he(_0x4a8438[_0x4f641a(0x1d6)]),'unitId':_0x1e6d26,'subUnitId':_0x4a8438[_0x4f641a(0x2d7)]},{'range':he(_0x3449b2[_0x4f641a(0x1d6)]),'unitId':_0x1e6d26,'subUnitId':_0x3449b2[_0x4f641a(0x2d7)]}];}case _0x2732b4['id']:{const _0x169cde=_0x42a922[_0x4f641a(0x2a0)],{unitId:_0x19d731,subUnitId:_0x5c7123,sourceRange:_0x1b8788,targetRange:_0x681087}=_0x169cde,_0x1c4de4=_0x1b8788[_0x4f641a(0x2c1)]-_0x1b8788['startRow']+0x1;return[{'range':_0x681087[_0x4f641a(0x2b2)]<=_0x1b8788[_0x4f641a(0x2b2)]?_0x681087:{..._0x681087,'startRow':_0x681087[_0x4f641a(0x2b2)]-_0x1c4de4,'endRow':_0x681087[_0x4f641a(0x2c1)]-_0x1c4de4},'unitId':_0x19d731,'subUnitId':_0x5c7123}];}case _0x43c964['id']:{const _0x2b5bb0=_0x42a922[_0x4f641a(0x2a0)],{unitId:_0x96ec7,subUnitId:_0x39f58d,sourceRange:_0x32ec04,targetRange:_0x205531}=_0x2b5bb0,_0x462155=_0x32ec04['endColumn']-_0x32ec04['startColumn']+0x1;return[{'range':_0x205531['startColumn']<=_0x32ec04[_0x4f641a(0x1e9)]?_0x205531:{..._0x205531,'startColumn':_0x205531[_0x4f641a(0x1e9)]-_0x462155,'endColumn':_0x205531[_0x4f641a(0x2ed)]-_0x462155},'unitId':_0x96ec7,'subUnitId':_0x39f58d}];}case _0x4eac03['id']:{const _0x246ce7=_0x42a922[_0x4f641a(0x2a0)],{values:_0x59a35b,unitId:_0x7f0bf0,subUnitId:_0xa4c5c9}=_0x246ce7;return Object[_0x4f641a(0x281)](_0x59a35b)['map'](_0x5ecca4=>_0x5ecca4[_0x4f641a(0x194)][_0x4f641a(0x1e2)](_0x51ab38=>({'range':_0x51ab38,'unitId':_0x7f0bf0,'subUnitId':_0xa4c5c9})))[_0x4f641a(0x1ee)]();}case _0x255c92['id']:{const _0x2ea75a=_0x42a922[_0x4f641a(0x2a0)],{ranges:_0x54fe1d,unitId:_0x3c7f14,subUnitId:_0x1e5196}=_0x2ea75a;return _0x54fe1d[_0x4f641a(0x1e2)](_0x365aed=>({'range':_0x365aed,'unitId':_0x3c7f14,'subUnitId':_0x1e5196}));}case _0x2a952['id']:{const _0x35f12d=_0x42a922[_0x4f641a(0x2a0)],{unitId:_0x5257e5,subUnitId:_0x500cab,range:_0x57bad4}=_0x35f12d;return[{'range':_0x57bad4,'unitId':_0x5257e5,'subUnitId':_0x500cab}];}case _0x4db1e3['id']:{const _0x46f56a=_0x42a922[_0x4f641a(0x2a0)];return _0x46f56a['rule']['ranges'][_0x4f641a(0x1e2)](_0x4cf5af=>({'range':_0x4cf5af,'unitId':_0x46f56a[_0x4f641a(0x226)],'subUnitId':_0x46f56a['subUnitId']}));}case _0x103c25['id']:{const _0x56fe2b=_0x42a922[_0x4f641a(0x2a0)];return _0x56fe2b['cellValue']?ys(_0x56fe2b[_0x4f641a(0x198)])[_0x4f641a(0x1e2)](_0x5192e9=>({'range':_0x5192e9,'unitId':_0x56fe2b[_0x4f641a(0x226)],'subUnitId':_0x56fe2b[_0x4f641a(0x2d7)]})):[];}case _0x50fe07['id']:{const _0x49b9b1=_0x42a922[_0x4f641a(0x2a0)];return[{'range':_0x49b9b1[_0x4f641a(0x308)],'unitId':_0x49b9b1[_0x4f641a(0x226)],'subUnitId':_0x49b9b1[_0x4f641a(0x2d7)]}];}case _0x387625['id']:{const _0x2e9240=_0x42a922['params'];return(Array['isArray'](_0x2e9240[_0x4f641a(0x324)])?_0x2e9240['rule']:[_0x2e9240[_0x4f641a(0x324)]])[_0x4f641a(0x1e2)](_0x555060=>_0x555060[_0x4f641a(0x194)][_0x4f641a(0x1e2)](_0xb44c1d=>({'range':_0xb44c1d,'unitId':_0x2e9240[_0x4f641a(0x226)],'subUnitId':_0x2e9240[_0x4f641a(0x2d7)]})))['flat']();}case _0x50c27b['id']:{const _0x5de3ad=_0x42a922[_0x4f641a(0x2a0)];return _0x5de3ad[_0x4f641a(0x324)]['ranges'][_0x4f641a(0x1e2)](_0x188511=>({'range':_0x188511,'unitId':_0x5de3ad[_0x4f641a(0x226)],'subUnitId':_0x5de3ad[_0x4f641a(0x2d7)]}));}default:return[];}}['_combineRanges'](_0x2633e4){const _0x1f111a=_0x42147c;if(_0x2633e4['length']<=0x1)return _0x2633e4;const _0xff1fb9=new Map();return _0x2633e4['forEach'](_0x2534a9=>{const _0x57ca5e=_0x1726;var _0x3144de;const {unitId:_0x5bd957,subUnitId:_0x5bb061}=_0x2534a9,_0x245fe4=_0x5bd957+'-'+_0x5bb061;_0xff1fb9[_0x57ca5e(0x27e)](_0x245fe4)?(_0x3144de=_0xff1fb9[_0x57ca5e(0x22e)](_0x245fe4))==null||_0x3144de[_0x57ca5e(0x288)](_0x2534a9):_0xff1fb9['set'](_0x245fe4,[_0x2534a9]);}),Array['from'](_0xff1fb9[_0x1f111a(0x281)]())['map'](_0x924099=>new _0x7d1ba3()[_0x1f111a(0x30d)](..._0x924099[_0x1f111a(0x1e2)](_0xbe7abf=>_0xbe7abf[_0x1f111a(0x308)]))[_0x1f111a(0x31c)]()['map'](_0x2f163b=>({'range':_0x2f163b,'unitId':_0x924099[0x0][_0x1f111a(0x226)],'subUnitId':_0x924099[0x0][_0x1f111a(0x2d7)]})))['flat']();}};$=Ds([Q(0x0,_0x2077a7(E)),Q(0x1,_0x23c7c6),Q(0x2,_0x384b94)],$);function he(_0x38760d){const _0x2b7677=_0x42147c;return new _0x42b64f(_0x38760d)[_0x2b7677(0x16a)]();}function ys(_0x597b27){const _0x4e9eac=_0x42147c,_0x4cc262=new _0x42b64f(_0x597b27),_0x1a6073=new _0x42b64f();return _0x4cc262[_0x4e9eac(0x22f)]((_0x1119ec,_0x2d0d89)=>{const _0xdcbf3e=_0x4e9eac;_0x1a6073[_0xdcbf3e(0x265)](_0x1119ec,_0x2d0d89,0x1);}),_0x2800d1(_0x1a6073);}var Cs=Object['getOwnPropertyDescriptor'],ws=(_0x35a90d,_0x15e93d,_0x2851c3,_0x37808b)=>{const _0x135ebb=_0x42147c;for(var _0xb1eae1=_0x37808b>0x1?void 0x0:_0x37808b?Cs(_0x15e93d,_0x2851c3):_0x15e93d,_0x4f6534=_0x35a90d[_0x135ebb(0x2ba)]-0x1,_0x2a74b9;_0x4f6534>=0x0;_0x4f6534--)(_0x2a74b9=_0x35a90d[_0x4f6534])&&(_0xb1eae1=_0x2a74b9(_0xb1eae1)||_0xb1eae1);return _0xb1eae1;},C=(_0x320e57,_0x2c84d7)=>(_0x485804,_0x1aac34)=>_0x2c84d7(_0x485804,_0x1aac34,_0x320e57);let te=class extends _0x51aaea{constructor(_0x3522ee,_0x58b365,_0x2525c5,_0x3c60b8,_0x3fb250,_0x14926c,_0x2809b6){const _0x1544b9=_0x42147c;super(),l(this,'_diffs',new Set()),l(this,_0x1544b9(0x1fe),null),(this[_0x1544b9(0x2d2)]=_0x3522ee,this[_0x1544b9(0x1a4)]=_0x58b365,this[_0x1544b9(0x283)]=_0x2525c5,this[_0x1544b9(0x317)]=_0x3c60b8,this['_renderManagerService']=_0x3fb250,this['_sheetSkeletonManagerService']=_0x14926c,this[_0x1544b9(0x1c5)]=_0x2809b6,this[_0x1544b9(0x275)]());}[_0x42147c(0x275)](){const _0x20c82d=_0x42147c;this[_0x20c82d(0x1b4)](),this[_0x20c82d(0x1cf)]();}[_0x42147c(0x1b4)](){const _0x139ce5=_0x42147c;this['disposeWithMe'](_0x21e98e([this[_0x139ce5(0x1a4)]['loadingState$'],this['_sheetSkeletonManagerService'][_0x139ce5(0x318)]])[_0x139ce5(0x1d5)](_0x27f78c(([_0x2568be,_0x299bf8])=>{const _0x14a687=_0x139ce5;if(_0x2568be===T[_0x14a687(0x246)]&&_0x299bf8){const _0x460041=_0x299bf8['sheetId'];return this[_0x14a687(0x283)][_0x14a687(0x17f)][_0x14a687(0x1d5)](_0x16470f(_0x15bbc4=>{const _0x123299=_0x14a687,_0x3aaed9=new Map();return _0x15bbc4[_0x123299(0x194)][_0x123299(0x2af)]((_0x27c40d,_0x1f3b01)=>{const _0x3cb582=_0x123299,_0x2d7836=_0x27c40d[_0x3cb582(0x2ad)](_0x215684=>_0x215684[_0x3cb582(0x2d7)]===_0x460041);_0x3aaed9[_0x3cb582(0x2a6)](_0x1f3b01,_0x2d7836);}),{'skeleton':_0x299bf8,'diffs':_0x3aaed9};}));}return _0x326163({'skeleton':null,'diffs':new Map()});}))['subscribe'](({skeleton:_0x1c507a,diffs:_0x564f28})=>{const _0x5e9039=_0x139ce5;this['_removeDiffMarks'](),_0x1c507a&&this[_0x5e9039(0x2f0)](_0x1c507a,_0x564f28);})),this[_0x139ce5(0x2e4)](this[_0x139ce5(0x209)][_0x139ce5(0x318)][_0x139ce5(0x298)](_0x4c5fbd=>{const _0x56c6af=_0x139ce5;if(_0x4c5fbd==null)return;const {skeleton:_0x3f0762}=_0x4c5fbd,{scene:_0x4894ef}=this[_0x56c6af(0x2d2)];_0x4894ef[_0x56c6af(0x1af)][_0x56c6af(0x305)](_0x576249(_0x480fcc=>{const _0x2e29af=_0x56c6af;var _0x465ec4,_0x39da71;const {offsetX:_0x1c2184,offsetY:_0x1aa688}=_0x480fcc,{x:_0x4b231e,y:_0x2880f8}=_0x4894ef[_0x2e29af(0x2f7)](_0x108f10['FromArray']([_0x1c2184,_0x1aa688])),{scaleX:_0x1f1f7,scaleY:_0x52c29d}=_0x4894ef[_0x2e29af(0x2bd)](),_0x4d1661=_0x4894ef[_0x2e29af(0x2b5)](_0x3aa7e0['VIEW_MAIN']),_0x491200=_0x4894ef['getVpScrollXYInfoByPosToVp'](_0x108f10[_0x2e29af(0x1c0)]([_0x4b231e,_0x2880f8]),_0x4d1661),_0x556329=_0x3f0762[_0x2e29af(0x2bc)](_0x1c2184,_0x1aa688,_0x1f1f7,_0x52c29d,_0x491200);((_0x465ec4=this[_0x2e29af(0x1fe)])==null?void 0x0:_0x465ec4[_0x2e29af(0x1be)])===_0x556329[_0x2e29af(0x1be)]&&((_0x39da71=this[_0x2e29af(0x1fe)])==null?void 0x0:_0x39da71[_0x2e29af(0x30f)])===_0x556329[_0x2e29af(0x30f)]||this[_0x2e29af(0x20f)][_0x2e29af(0x2af)](_0x23cde9=>{const _0x225268=_0x2e29af;_0x23cde9[_0x225268(0x189)](_0x556329);});},0x64));}));}['_initActiveSwitch'](){const _0x2cec5a=_0x42147c;this[_0x2cec5a(0x2e4)](this[_0x2cec5a(0x1a4)][_0x2cec5a(0x1a3)][_0x2cec5a(0x298)](_0x5054be=>{const _0x18f027=_0x2cec5a,_0x3463b6=new _0x530031();return _0x5054be===T[_0x18f027(0x246)]&&(_0x3463b6[_0x18f027(0x184)](),_0x3463b6[_0x18f027(0x30d)](this[_0x18f027(0x283)][_0x18f027(0x17f)][_0x18f027(0x298)](_0x14cb70=>{const _0x3dc69e=_0x18f027;_0x14cb70['active']&&this[_0x3dc69e(0x1c5)]['executeCommand'](_0x1710c5['id'],{'unitId':this[_0x3dc69e(0x2d2)]['unitId'],'subUnitId':_0x14cb70[_0x3dc69e(0x300)]});}))),()=>_0x3463b6[_0x18f027(0x184)]();}));}[_0x42147c(0x2f0)](_0x4c9ff8,_0x47beae){const _0x4d5056=_0x42147c;var _0x3e6b6b;const _0x548df0=(_0x3e6b6b=this[_0x4d5056(0x209)]['getCurrent']())==null?void 0x0:_0x3e6b6b['skeleton'];if(!_0x548df0)return;this['_diffs'][_0x4d5056(0x2af)](_0x4e7932=>{const _0x208be3=_0x4d5056;_0x4e7932[_0x208be3(0x237)]();});const {scene:_0x145d03}=this[_0x4d5056(0x2d2)],_0x50036e=Array['from'](_0x47beae['keys']())[_0x4d5056(0x1e2)](_0x3d315a=>_0x47beae['get'](_0x3d315a)['map'](_0xf2b158=>{const _0x271144=_0x4d5056;var _0x951be4;const {range:_0x56db28,subUnitId:_0x348def,unitId:_0x45cd98}=_0xf2b158,{startColumn:_0x5cb4dd,startRow:_0xac8bd9,endColumn:_0xf1d321,endRow:_0x56758e}=_0x56db28,_0x2b1f27=_0x32d43a(_0xac8bd9,_0x5cb4dd,_0x145d03,_0x548df0),_0x31c9d6=_0x32d43a(_0x56758e,_0xf1d321,_0x145d03,_0x548df0),{columnHeaderHeightAndMarginTop:_0x5d2ca9}=_0x548df0,{startX:_0x3e6ef7,startY:_0x28b631}=_0x2b1f27,{endX:_0x52feb6,endY:_0x1a9113}=_0x31c9d6,_0x321451=_0x52feb6-_0x3e6ef7,_0xc44413=_0x1a9113-_0x28b631,_0x19ade3={'labelPosition':_0x28b631-_0x5d2ca9>=0x14?'top':_0x271144(0x1f5),'sheetID':_0x348def,'range':_0x56db28,'color':_0x271144(0x1ef),'fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x271144(0x1ef),'name':((_0x951be4=this[_0x271144(0x1a4)]['getMember'](_0x3d315a))==null?void 0x0:_0x951be4[_0x271144(0x1b8)])||'','selection':_0x45cd98+'-'+_0x348def+'-'+_0x56db28[_0x271144(0x1e9)]+'-'+_0x56db28[_0x271144(0x2b2)]+'-'+_0x56db28[_0x271144(0x2ed)]+'-'+_0x56db28['endRow'],'left':_0x3e6ef7,'top':_0x28b631,'width':_0x321451,'height':_0xc44413,'evented':!0x1,'zIndex':0x1};return new _0x120bd2('',_0x19ade3);}))[_0x4d5056(0x1ee)]();_0x145d03[_0x4d5056(0x25e)](_0x50036e,0x1),this[_0x4d5056(0x20f)]=new Set(_0x50036e);}[_0x42147c(0x1f3)](){const _0x4f0808=_0x42147c;var _0x4d8e74;(_0x4d8e74=this['_diffs'])==null||_0x4d8e74[_0x4f0808(0x2af)](_0x181168=>_0x181168['dispose']());}['_getSheetObject'](){const _0x735a89=_0x42147c;return _0x2ded53(this[_0x735a89(0x317)],this[_0x735a89(0x219)]);}};te=ws([C(0x1,_0x2077a7(E)),C(0x2,_0x2077a7($)),C(0x3,_0x455be4),C(0x4,_0x1e50f9),C(0x5,_0x2077a7(_0x4bc336)),C(0x6,_0x33d61c)],te);function Ps(){const _0x389cba=_0x42147c,_0xdbf839=_0x5f432c(E),_0x1fb275=_0xd065e6(_0xdbf839[_0x389cba(0x23a)]),[_0x155199,_0x29593d]=_0x21c38e(!0x1),_0x31e289=cs(_0x1fb275);return _0x1fb275?_0x4ac6c3(_0x389cba(0x1b7),{'className':_0x389cba(0x1a7),'children':_0x30d745(_0x389cba(0x1b7),{'className':_0x389cba(0x1b3),'children':[_0x31e289[_0x389cba(0x1e2)]((_0x471f49,_0x495d32)=>_0x30d745(_0x220784,{'children':[_0x4ac6c3($s,{'date':_0x471f49[_0x389cba(0x280)]}),_0x471f49['versions'][_0x389cba(0x1e2)]((_0xcb6126,_0x4d36a7)=>_0x4ac6c3(Vs,{'index':[_0x495d32,_0x4d36a7],'item':_0xcb6126},_0x495d32+'-'+_0x4d36a7))]},_0x471f49[_0x389cba(0x280)])),_0x155199&&_0x4ac6c3(Ts,{})]})}):_0x4ac6c3(Ls,{});}function Ts(){const _0x1120b2=_0x42147c;return _0x4ac6c3(_0x1120b2(0x1b7),{'className':_0x1120b2(0x259),'children':_0x4ac6c3(ae,{'className':_0x1120b2(0x206)})});}function Ls(){const _0x125613=_0x42147c;return _0x4ac6c3('div',{'className':'univer-flex\x20univer-items-center\x20univer-justify-center','children':_0x4ac6c3('span',{'className':'univer-text-gray-500','children':_0x4ac6c3(ae,{'className':_0x125613(0x311)})})});}function $s(_0x350a37){const _0x1b25b5=_0x42147c,_0x18846b=_0x5f432c(_0x287d24),{date:_0x38e78b}=_0x350a37;return _0x4ac6c3(_0x1b25b5(0x1b7),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-pl-5\x20univer-text-sm\x20univer-font-medium\x20univer-text-[#1e222b]','children':ee(_0x38e78b,_0x18846b['getCurrentLocale']())});}function Vs(_0x4d2655){const _0x238008=_0x42147c,{item:_0x206efd,index:_0x16e727}=_0x4d2655,{time:_0x9bb75d,user:_0x46f1a2}=_0x206efd,[_0x35649b,_0x141884]=_0x16e727,_0x43f312=_0x5f432c(E),_0x26b9b0=_0xd065e6(_0x43f312[_0x238008(0x1f2)],'',!0x0)===_0x206efd['id'],_0xb4798f=_0x35649b===0x0&&_0x141884===0x0,_0x22ed33=!_0xb4798f&&_0x43f312[_0x238008(0x2ae)],_0xdf6b0e=_0x5f432c(_0x287d24),_0x95d663=_0xdf6b0e[_0x238008(0x2fd)](),_0x3243a1=re(_0x9bb75d,_0x95d663),_0x87b342=_0xdf6b0e['t'](_0x238008(0x321)),_0xde58a1=_0x40afc2(_0x2fd4dc=>{const _0x41fb9e=_0x238008;_0x43f312['loadingState']!==T['Loading']&&(_0x43f312[_0x41fb9e(0x261)]=_0x2fd4dc);},[_0x43f312]),_0x14c355=_0x40afc2(_0x326c77=>{_0x43f312['triggerRevert'](_0x326c77);},[_0x43f312]);return _0x30d745('div',{'className':_0x1ee252(_0x238008(0x2be),{'univer-bg-gray-50':_0x26b9b0}),'onClick':()=>_0xde58a1(_0x206efd['id']),'children':[_0x30d745(_0x238008(0x1b7),{'className':_0x238008(0x1c6),'children':[_0x4ac6c3(_0x238008(0x1b7),{'className':'univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-400'}),_0x30d745(_0x238008(0x1b7),{'className':_0x238008(0x292),'children':[_0x4ac6c3(_0x238008(0x19f),{'children':_0x3243a1[_0x238008(0x307)]}),_0xb4798f&&_0x4ac6c3(_0x238008(0x19f),{'className':'univer-ml-2\x20univer-flex\x20univer-h-5\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-text-xs\x20univer-text-primary-600','children':_0x87b342})]}),_0x4ac6c3(_0x238008(0x1b7),{'children':_0x22ed33&&_0x4ac6c3(_0x271f1b,{'title':_0xdf6b0e['t'](_0x238008(0x1b0)),'children':_0x4ac6c3('div',{'onClick':_0xf3c833=>{_0xf3c833['stopPropagation'](),_0x14c355(_0x206efd['id']);},'className':_0x238008(0x28c),'children':_0x4ac6c3(Le,{})})})})]}),_0x4ac6c3(_0x238008(0x1b7),{'className':_0x238008(0x240),'children':as(_0x206efd,_0xdf6b0e)})]});}var ks=Object[_0x42147c(0x1bf)],xs=(_0x4d4fe9,_0x11a373,_0x57a7bb,_0x4e1304)=>{for(var _0x5d70c7=_0x4e1304>0x1?void 0x0:_0x4e1304?ks(_0x11a373,_0x57a7bb):_0x11a373,_0x3c59a8=_0x4d4fe9['length']-0x1,_0x422c08;_0x3c59a8>=0x0;_0x3c59a8--)(_0x422c08=_0x4d4fe9[_0x3c59a8])&&(_0x5d70c7=_0x422c08(_0x5d70c7)||_0x5d70c7);return _0x5d70c7;},k=(_0x475193,_0x5285f0)=>(_0x51a4f4,_0x5510a5)=>_0x5285f0(_0x51a4f4,_0x5510a5,_0x475193);const de=_0x42147c(0x21e);let j=class extends _0x51aaea{constructor(_0x740483,_0x3f17cc,_0xd7a467,_0xa2fcf1){const _0x2d3b1a=_0x42147c;super(),l(this,_0x2d3b1a(0x1d1),null),(this[_0x2d3b1a(0x171)]=_0x740483,this['_componentManager']=_0x3f17cc,this[_0x2d3b1a(0x21b)]=_0xd7a467,this['_historyManagerService']=_0xa2fcf1,this[_0x2d3b1a(0x275)]());}[_0x42147c(0x275)](){const _0x5aee30=_0x42147c;this[_0x5aee30(0x173)](),this[_0x5aee30(0x2a7)]();}[_0x42147c(0x2a7)](){const _0x13bf1d=_0x42147c;if(this[_0x13bf1d(0x1d1)])return;const _0xd14cc3={'header':{'title':this[_0x13bf1d(0x21b)]['t'](_0x13bf1d(0x1e6))},'children':{'label':de},'onClose':()=>{const _0x3ad147=_0x13bf1d;this['_sidebarDisposable']=null,this[_0x3ad147(0x1a4)]['status']=ne[_0x3ad147(0x18b)];}};this[_0x13bf1d(0x1d1)]=this[_0x13bf1d(0x171)][_0x13bf1d(0x27c)]({..._0xd14cc3});}['_initPanel'](){const _0x384d10=_0x42147c;this[_0x384d10(0x2e4)](this[_0x384d10(0x310)][_0x384d10(0x256)](de,Ps)),this[_0x384d10(0x2e4)](this[_0x384d10(0x171)][_0x384d10(0x1fd)][_0x384d10(0x1d5)](_0x65709e(0x64))[_0x384d10(0x298)](_0x3d99ac=>{const _0x3c36fb=_0x384d10,{target:_0x2ee0db}=_0x3d99ac||{};if(_0x2ee0db){const {scrollTop:_0x4742f7,scrollHeight:_0x17134f,clientHeight:_0x43c080}=_0x2ee0db;_0x4742f7+_0x43c080>=_0x17134f-0x5&&this['_historyManagerService'][_0x3c36fb(0x233)]();}}));}};j=xs([k(0x0,_0x131fb7),k(0x1,_0x2077a7(_0x233214)),k(0x2,_0x2077a7(_0x287d24)),k(0x3,_0x2077a7(E))],j);class Us extends _0x51aaea{constructor(){const _0x4a8e65=_0x42147c;super(),l(this,_0x4a8e65(0x1b5),new _0x4cf41b());}[_0x42147c(0x27c)](){return _0x452d95(()=>{});}[_0x42147c(0x1df)](){}[_0x42147c(0x25f)](_0x4abc2b){}[_0x42147c(0x1eb)](){const _0x1cb350=_0x42147c;return this[_0x1cb350(0x1b5)]['asObservable']();}}var Hs=Object[_0x42147c(0x2c5)],Fs=Object[_0x42147c(0x1bf)],Ys=(_0x199b0b,_0x2f64b5,_0x4b5a38)=>_0x2f64b5 in _0x199b0b?Hs(_0x199b0b,_0x2f64b5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4b5a38}):_0x199b0b[_0x2f64b5]=_0x4b5a38,Bs=(_0x3b8821,_0x360db8,_0x36056a,_0x40245c)=>{const _0x5e75be=_0x42147c;for(var _0xf62d56=_0x40245c>0x1?void 0x0:_0x40245c?Fs(_0x360db8,_0x36056a):_0x360db8,_0x185226=_0x3b8821[_0x5e75be(0x2ba)]-0x1,_0x164fb3;_0x185226>=0x0;_0x185226--)(_0x164fb3=_0x3b8821[_0x185226])&&(_0xf62d56=_0x164fb3(_0xf62d56)||_0xf62d56);return _0xf62d56;},J=(_0x35b86e,_0x34eb09)=>(_0x43da45,_0x4b0f2a)=>_0x34eb09(_0x43da45,_0x4b0f2a,_0x35b86e),js=(_0x18eea6,_0x4d27e3,_0x2ce39e)=>Ys(_0x18eea6,_0x4d27e3+'',_0x2ce39e);const As=_0x42147c(0x282);let se=class extends _0x28482b{constructor(_0x5e8104=_e,_0x5f3244,_0x1770b3,_0x41da11){const _0x1896f2=_0x42147c;super(),this[_0x1896f2(0x197)]=_0x5e8104,this['_injector']=_0x5f3244,this[_0x1896f2(0x219)]=_0x1770b3,this[_0x1896f2(0x2bf)]=_0x41da11;const {..._0xe5876f}=_0x1e9d3a({},_e,this[_0x1896f2(0x197)]);this[_0x1896f2(0x2bf)][_0x1896f2(0x2d8)](we,_0xe5876f);}[_0x42147c(0x1a5)](){const _0x20acbe=_0x42147c;[[E],[B],[$],[Y],[j],[H],[_0x384b94,{'useClass':_0x534525}],[_0x16f45c,{'useClass':Us}],[_0x8509b5,{'useClass':_0x11141f}]][_0x20acbe(0x2af)](_0x4765d8=>this[_0x20acbe(0x26c)][_0x20acbe(0x30d)](_0x4765d8)),this['_injector'][_0x20acbe(0x22e)](B);}[_0x42147c(0x1dd)](){const _0x398759=_0x42147c;[[te]][_0x398759(0x2af)](_0x5f0e1f=>{const _0x3e51ef=_0x398759;this['disposeWithMe'](this[_0x3e51ef(0x219)][_0x3e51ef(0x200)](_0x496918[_0x3e51ef(0x29f)],_0x5f0e1f));}),this[_0x398759(0x26c)][_0x398759(0x22e)](H),this[_0x398759(0x26c)][_0x398759(0x22e)](j);}[_0x42147c(0x2a8)](){const _0x35d8ab=_0x42147c;this['_injector'][_0x35d8ab(0x22e)]($);}};js(se,_0x42147c(0x1ca),As),se=Bs([_0x1f0c36(_0x30dd03,_0x510091),J(0x1,_0x2077a7(_0xbbe00a)),J(0x2,_0x1e50f9),J(0x3,_0xd23ed0)],se);function _0x4b1d(){const _0x591be2=['InsertRow','makeDirty','_extractRanges','ALREADY_EXISTS','versions$','icon','clipPath','triggerLoadVersions','tag','LICENSE_DISTRO_REJECTED','univer-pl-[26px]\x20univer-text-sm\x20univer-leading-5\x20univer-text-gray-600\x20dark:!univer-text-gray-200','RwHgtClWdt','getDeserializedSheetBlock','registerComponent','assign','absolute','Loaded','getUnitOnRev','rgba(225,\x20225,\x20225,\x200.5)','fetchMissingChangesets','loading','univerjs-icon\x20univerjs-icon-','fill','APPLY_NON_SEQUENTIAL_REVISION','data','svg','replace','YUUMI_NO_CUBOID_FOR_QUESTION','YUUMI_TABLE_NOT_FOUND_IN_UNIT','1000','/list?length=20','YUUMI_RATE_OVER_LIMIT','register','Duplicate','_updateVersions','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','_workbookDataCache','triggerLoadSheet','sheet','restore-icon','addObjects','closeAll','PERMISSION_DENIED','currentVersion','extend','some','_snapshotServerService','setValue','getCurrentVersion','Error','createSheet','none','_members','UNDEFINED','_injector','_transformService','Export','63HgGMRv','getMinutes','indexOf','hideMask','updatePermissionPoint','LICENSE_MAX_UNITS_EXCEEDED','_init','currentColor','CONNECTOR_DATA_TOO_LARGE','INVITE_CODE_ALREADY_BOUND','SNAPSHOT_HAS_BEEN_REMOVED','HideSheet','36ubKKsV','open','ViewFilter','has','univer-text-2xl','dateString','values','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','_versionDiffService','hasCommand','entries','YUUMI_SUBSCRIPTION_NOT_FOUND','colorChannel1','push','init','startRevision','mask','univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-text-gray-400\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','SNAPSHOT_INVALID_SNAPSHOT','backgroundColor','SetCellValue','showMask','Print','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','substring','INVALID_INVITE_CODE','code','includes','getVersion','subscribe','status','apply','anonymous','EditWorksheetCell','xlink:href','_createMask','UNIVER_SHEET','params','all','15186ffBIRs','back-icon','children','interceptor','set','_openPanel','onSteady','split','idSuffix','Delete','height','filter','canRevert','forEach','setDV','_hasMore','startRow','12406901mFXZeb','_fetching','getViewport','EMAIL_VERIFY_CODE_MISMATCH','Info','hidden','MoveWorksheet','length','users','getCellPositionByOffset','getAncestorScale','univer-flex\x20univer-h-[60px]\x20univer-cursor-default\x20univer-flex-col\x20univer-justify-center\x20univer-px-4\x20univer-py-1.5','_configService','mutations','endRow','restore-icon_clip0_1247_2','UNIVER_DOC','body','defineProperty','ViewHistory','_maskElement','editHistory.action.revertSheetSuffix','ZH_CN','0\x200\x2016\x2017','commands','memberId','call','_diffRangesMap','hasOwnProperty','fetchThroughInterceptors','_historyFetchService','_context','defIds','YUUMI_URL_COL_OUT_OF_RANGE','InsertColumn','white','subUnitId','setConfig','YUUMI_UNABLE_LOAD_URL','current','0\x200\x2016\x2016','Share','url(#restore-icon_clip0_1247_2)','ensureVersion','UNRECOGNIZED','getCurrentUnitForType','blockMeta','PY_RUNTIME_SCRIPT_ERROR','style','disposeWithMe','symbol','Loading','#0B9EFB','workbook','reduce','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','editHistory.action.','userId','endColumn','_messageService','INVALID_ARGUMENT','_updateDiffMarks','find','action','date','rules','_httpService','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','getRelativeToViewportCoord','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_initMaskContainer','_maskContainer','LICENSE_IMPORT_SIZE_EXCEEDED','propertyIsEnumerable','getCurrentLocale','Entered','unitId$','active','editHistory.header.revert','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','Comment','LOGIN_FAILED','subscribeEvent','clear','time','range','_uiPartsService','_cellEditorManagerService','subType','entities','add','_currentVersion$','row','_componentManager','univer-m-auto\x20univer-animate-spin','_createUnit','editHistory.info.loading','trim','now','SelectUnProtectedCells','_univerInstanceService','currentSkeleton$','show','univer-ml-2.5\x20univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20hover:univer-bg-[rgba(30,34,43,0.06)]','MoveSheet','merge','Copy','RenameSheet','DeleteWorksheet','getVersions','editHistory.panel.currentVersion','block','UNIVER_SLIDE','rule','asObservable','getConfig','toString','PivotTable','getDataRange','evenodd','string','insertSheet','use','518dooEEl','EditExtraObject','_sidebarService','width','_initPanel','APPLY_REJECT','status$','6PsraWG','state$','_historyContainerId','INVITE_CODE_REQUIRED','87496smyamV','HideWorksheet','HEADER','_lastLabel','justifyContent','currentVersionDiff$','INVITE_CODE_HAS_BEEN_UES','setState','1em','function','dispose','keys','MOBILE_VERIFY_CODE_MISMATCH','versions','padStart','onMouseMove','_permissionService','Exited','zIndex','History','APPLY_DUPLICATED','syncExecuteCommand','COMPRESS_MUTATION_APPLY','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','View','primary','ranges','userID','DeleteSheet','_config','cellValue','WECHAT_HAS_BEEN_BOUND','Filter','ViemRwHgtClWdt','_versions$','/universer-api/history','209870rjelTH','span','toISOString','ENSURE_SNAPSHOT_EXECUTION','className','loadingState$','_historyManagerService','onStarting','entered','univer-mx-[-20px]\x20univer-overflow-hidden','loadSheet','_getActiveSubUnitId','APPLY_REVISION_CONFILICT','url(#$1','_compressMutationService','2JRbVrF','getElementById','onPointerMove$','editHistory.panel.revertDesc','setFrozen','getUnitId','univer-h-full\x20univer-overflow-auto\x20univer-border-t\x20univer-border-gray-200','_initRender','_dialogOptions$','path','div','name','m1Prime','defs','DeleteColumn','UNAUTHENTICATED','editHistory.action.revertSheetPrefix','column','getOwnPropertyDescriptor','FromArray','YUUMI_ASYNCIO_CANCELLED','CreateSheet','getInterceptPoints','YUUMI_CONNECTOR_URL_NOT_FOUND','_commandService','univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','CreatePermissionObject','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','next','pluginName','_canRevert','_currentVersionDiff$','then','APPLY_PERMISSION_DENIED','_initActiveSwitch','Edit','_sidebarDisposable','64553teVBXJ','InsertHyperlink','3327753PDvQAh','pipe','value','edit-history-viewer.config','confirm','command','CreateWorksheet','_confirmService','loaded','onRendered','http://www.w3.org/2000/svg','close','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','createElement','map','prototype','createTime','rev','editHistory.panel.title','deleteProtection','FloatImg','startColumn','display','getDialogs$','_revertRevision$','concat','flat','rgba(58,\x2096,\x20247,\x200.20)','100%','EMAIL_HAS_BEEN_BOUND','currentVersion$','_removeDiffMarks','removeSheet','bottom','ManageCollaborator','flex','center','INTERNAL_ERROR','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','UNIVER_PROJECT','editHistory.panel.revertConfirm','scrollEvent$','_lastPointer','USER_NOT_INVITED_CODE','registerRenderModule','_unitId$','[HistoryFetchService]:\x20request\x20snapshot\x20error!','MOBILE_HAS_BEEN_BOUND','_getRangesByMutation','Init','univer-animate-spin','error','_loadingState$','_sheetSkeletonManagerService','setFilter','endRevision','2725175YAFFlg','editHistory.panel.listFetchError','attrs','_diffs','endRev','UNIVER_UNKNOWN','TOO_MANY_REQUESTS','_getAPIPrefix','Sort','editHistory.panel.unknownUser','editHistory.panel.currentUser','SetCellStyle','NOT_FOUND','_renderManagerService','_status$','_localeService','RecoverHistory','displayName','history-panel','blocks','CopySheet','SetRowStyle','_transformMutationByOrder','loading-multi-icon','triggerRevert','getOwnPropertySymbols','unitId','LoadingMultiIcon','recoverTime','addProtection','192ONTIcm','&lastLabel=','COMPLETION_FINISHED','history-mask','get','forValue','editHistory.panel.confirm','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','revertRevision$','loadMoreVersions','querySelector','setCF'];_0x4b1d=function(){return _0x591be2;};return _0x4b1d();}export{E as HistoryManagerService,ne as HistoryModeStatus,se as UniverEditHistoryViewerPlugin};
1
+ const _0x1e5365=_0x6813;(function(_0x15900b,_0x1ea4d2){const _0x12c9f3=_0x6813,_0x1d5a71=_0x15900b();while(!![]){try{const _0x45694f=parseInt(_0x12c9f3(0x2d6))/0x1*(-parseInt(_0x12c9f3(0x3a9))/0x2)+parseInt(_0x12c9f3(0x381))/0x3+parseInt(_0x12c9f3(0x271))/0x4*(parseInt(_0x12c9f3(0x23e))/0x5)+parseInt(_0x12c9f3(0x283))/0x6+-parseInt(_0x12c9f3(0x319))/0x7*(-parseInt(_0x12c9f3(0x281))/0x8)+parseInt(_0x12c9f3(0x386))/0x9+-parseInt(_0x12c9f3(0x2bc))/0xa*(parseInt(_0x12c9f3(0x37a))/0xb);if(_0x45694f===_0x1ea4d2)break;else _0x1d5a71['push'](_0x1d5a71['shift']());}catch(_0x1d4681){_0x1d5a71['push'](_0x1d5a71['shift']());}}}(_0x357c,0xac51a));var Fe=Object['defineProperty'],Ye=(_0x13f7b4,_0x1e24ed,_0x3a0822)=>_0x1e24ed in _0x13f7b4?Fe(_0x13f7b4,_0x1e24ed,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3a0822}):_0x13f7b4[_0x1e24ed]=_0x3a0822,l=(_0x219940,_0x363553,_0x593ef1)=>Ye(_0x219940,typeof _0x363553!='symbol'?_0x363553+'':_0x363553,_0x593ef1);import{RevertRevisionMutation as _0x5e50bb,CreateUnitMutation as _0x220d57,ISnapshotServerService as _0x5de8e1,CompressMutationService as _0x54fc32,transformSnapshotToWorkbookData as _0x2d0f0e,ITransformService as _0x2dd744,parseProtocolChangeset as _0x25cbe9,isTransformMutationsSuccess as _0x28a74e}from'@univerjs-pro/collaboration';import{SnapshotServerOverHTTPService as _0x3f13f6,CollaborationImageIoService as _0x408f48}from'@univerjs-pro/collaboration-client';import{Disposable as _0x2e7b17,LocaleType as _0x2e7ea4,IUniverInstanceService as _0x35d336,ICommandService as _0x13490e,IConfigService as _0x4c1d02,Inject as _0x4128c6,UniverInstanceType as _0x44ce88,LocaleService as _0x160dca,IPermissionService as _0xf9fb9c,Injector as _0x137262,ObjectMatrix as _0x5e11b0,debounce as _0x1ccd01,DisposableCollection as _0x57bd46,toDisposable as _0x420fd0,DependentOn as _0x3aedff,Plugin as _0x1621af,merge as _0x2d39c7}from'@univerjs/core';import{IImageIoService as _0x197ecc}from'@univerjs/drawing';import{IRenderManagerService as _0x744638,Vector2 as _0x1b4010,SHEET_VIEWPORT_KEY as _0x306819}from'@univerjs/engine-render';import{HTTPService as _0x14063c,UniverNetworkPlugin as _0x769c10}from'@univerjs/network';import{ICellEditorManagerService as _0x1ab692,SheetSkeletonManagerService as _0x1fabd1,getCoordByCell as _0x54cafd,getSheetObject as _0x450d87,UniverSheetsUIPlugin as _0x260b13}from'@univerjs/sheets-ui';import{IMessageService as _0x529e77,IConfirmService as _0x5b9ab8,useDependency as _0x5c4979,useObservable as _0x402b9e,IUIPartsService as _0x5e9040,BuiltInUIPart as _0x215b58,connectInjector as _0x50384d,ISidebarService as _0x92b838,ComponentManager as _0x40531c,IDialogService as _0x453420}from'@univerjs/ui';import{MessageType as _0x3ba12b,clsx as _0x11326e,Button as _0x4844b3,borderBottomClassName as _0x1793da,Tooltip as _0x3fbcd1}from'@univerjs/design';import{InsertSheetMutation as _0x46dc0d,RemoveSheetMutation as _0x28473b,SetFrozenMutation as _0x37cc11,AddWorksheetProtectionMutation as _0x340d6f,AddRangeProtectionMutation as _0xd71228,DeleteRangeProtectionMutation as _0x539f60,DeleteWorksheetProtectionMutation as _0x50a936,WorkbookEditablePermission as _0x26a2e9,WorkbookRenameSheetPermission as _0x3fcaef,WorkbookMoveSheetPermission as _0x2f7e60,WorkbookHideSheetPermission as _0x82c1eb,SetWorksheetHideMutation as _0x57341c,SetRangeValuesMutation as _0x10ffb0,SetRangeProtectionMutation as _0x4bf978,ReorderRangeMutation as _0x319753,RemoveNumfmtMutation as _0x30dea7,SetNumfmtMutation as _0x18cdf7,MoveColsMutation as _0x4afdfe,MoveRowsMutation as _0x217b6b,MoveRangeMutation as _0x3066f5,InsertColMutation as _0x183658,InsertRowMutation as _0x2476b7,AddWorksheetMergeMutation as _0x41c51d,RangeMergeUtil as _0x400929,findAllRectangle as _0x40fd3e,SetWorksheetActiveOperation as _0x23ef2c}from'@univerjs/sheets';import{BehaviorSubject as _0x56b6da,combineLatest as _0x266fed,switchMap as _0x3d42f3,map as _0x46d088,of as _0x374640,debounceTime as _0x4c54a7,Subject as _0x268644}from'rxjs';import{AddSheetSparklineMutation as _0x2093b0}from'@univerjs-pro/sheets-sparkline';import{AddDataValidationMutation as _0x5b0c69,UpdateDataValidationMutation as _0x40147b}from'@univerjs/data-validation';import{SetConditionalRuleMutation as _0xd3c495,AddConditionalRuleMutation as _0x531694}from'@univerjs/sheets-conditional-formatting';import{SetSheetsFilterRangeMutation as _0x1d2c2a}from'@univerjs/sheets-filter';import{jsxs as _0x1ad03b,jsx as _0x52fc54}from'react/jsx-runtime';import{forwardRef as _0x267da8,useRef as _0x55c555,createElement as _0x57cf67,useCallback as _0x3d051a,useState as _0x4480c2,Fragment as _0x581262}from'react';import{SheetCollabCursorShape as _0x4c056a}from'@univerjs-pro/collaboration-client-ui';const we=_0x1e5365(0x2e8),_e={};var ss=Object[_0x1e5365(0x20a)],is=(_0x22ac7d,_0x3a419e,_0x2dcdb7,_0x4edffc)=>{const _0x412b0c=_0x1e5365;for(var _0x35e5d8=_0x4edffc>0x1?void 0x0:_0x4edffc?ss(_0x3a419e,_0x2dcdb7):_0x3a419e,_0x5917b6=_0x22ac7d[_0x412b0c(0x2c9)]-0x1,_0xa9a92b;_0x5917b6>=0x0;_0x5917b6--)(_0xa9a92b=_0x22ac7d[_0x5917b6])&&(_0x35e5d8=_0xa9a92b(_0x35e5d8)||_0x35e5d8);return _0x35e5d8;},rs=(_0x3480f4,_0x1f6119)=>(_0x57da55,_0x460a66)=>_0x1f6119(_0x57da55,_0x460a66,_0x3480f4);let H=class extends _0x2e7b17{constructor(_0x3d5e18){const _0x5059c6=_0x1e5365;super(),this[_0x5059c6(0x26f)]=_0x3d5e18,this[_0x5059c6(0x310)]();}['_init'](){const _0x8952d0=_0x1e5365;this[_0x8952d0(0x374)](this['_cellEditorManagerService'][_0x8952d0(0x245)]['subscribe'](_0x40759f=>{const _0x96761b=_0x8952d0;_0x40759f!=null&&_0x40759f[_0x96761b(0x261)]&&this['_cellEditorManagerService'][_0x96761b(0x227)]({'show':!0x1});}));}};H=is([rs(0x0,_0x1ab692)],H);var X=(_0x4bc493=>(_0x4bc493[_0x4bc493['UNDEFINED']=0x0]='UNDEFINED',_0x4bc493[_0x4bc493['OK']=0x1]='OK',_0x4bc493[_0x4bc493[_0x1e5365(0x38d)]=0x2]=_0x1e5365(0x38d),_0x4bc493[_0x4bc493['PERMISSION_DENIED']=0x3]=_0x1e5365(0x2da),_0x4bc493[_0x4bc493[_0x1e5365(0x218)]=0x4]='NOT_FOUND',_0x4bc493[_0x4bc493[_0x1e5365(0x2d5)]=0x5]=_0x1e5365(0x2d5),_0x4bc493[_0x4bc493[_0x1e5365(0x203)]=0x6]='ALREADY_EXISTS',_0x4bc493[_0x4bc493[_0x1e5365(0x253)]=0x7]=_0x1e5365(0x253),_0x4bc493[_0x4bc493[_0x1e5365(0x38e)]=0x8]=_0x1e5365(0x38e),_0x4bc493[_0x4bc493['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x4bc493[_0x4bc493['LOGIN_FAILED']=0xa]=_0x1e5365(0x26b),_0x4bc493[_0x4bc493[_0x1e5365(0x322)]=0xb]=_0x1e5365(0x322),_0x4bc493[_0x4bc493['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x1e5365(0x224),_0x4bc493[_0x4bc493[_0x1e5365(0x394)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x4bc493[_0x4bc493['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x1e5365(0x277),_0x4bc493[_0x4bc493[_0x1e5365(0x327)]=0x1389]=_0x1e5365(0x327),_0x4bc493[_0x4bc493[_0x1e5365(0x236)]=0x1771]=_0x1e5365(0x236),_0x4bc493[_0x4bc493[_0x1e5365(0x234)]=0x1772]=_0x1e5365(0x234),_0x4bc493[_0x4bc493[_0x1e5365(0x25d)]=0x1773]=_0x1e5365(0x25d),_0x4bc493[_0x4bc493[_0x1e5365(0x2d2)]=0x1b59]=_0x1e5365(0x2d2),_0x4bc493[_0x4bc493['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x1e5365(0x22b),_0x4bc493[_0x4bc493[_0x1e5365(0x2cf)]=0x1b5b]=_0x1e5365(0x2cf),_0x4bc493[_0x4bc493[_0x1e5365(0x32d)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x4bc493[_0x4bc493[_0x1e5365(0x287)]=0x1b5d]=_0x1e5365(0x287),_0x4bc493[_0x4bc493[_0x1e5365(0x35a)]=0x1f41]=_0x1e5365(0x35a),_0x4bc493[_0x4bc493[_0x1e5365(0x1ff)]=0x2329]=_0x1e5365(0x1ff),_0x4bc493[_0x4bc493['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x1e5365(0x286),_0x4bc493[_0x4bc493[_0x1e5365(0x320)]=0x232b]=_0x1e5365(0x320),_0x4bc493[_0x4bc493[_0x1e5365(0x33a)]=0x232c]=_0x1e5365(0x33a),_0x4bc493[_0x4bc493[_0x1e5365(0x1ef)]=0x232d]=_0x1e5365(0x1ef),_0x4bc493[_0x4bc493[_0x1e5365(0x279)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x4bc493[_0x4bc493[_0x1e5365(0x275)]=0x2712]=_0x1e5365(0x275),_0x4bc493[_0x4bc493[_0x1e5365(0x2b7)]=0x2713]=_0x1e5365(0x2b7),_0x4bc493[_0x4bc493[_0x1e5365(0x37b)]=0x2714]=_0x1e5365(0x37b),_0x4bc493[_0x4bc493[_0x1e5365(0x298)]=0x271a]=_0x1e5365(0x298),_0x4bc493[_0x4bc493['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x4bc493[_0x4bc493['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x4bc493[_0x4bc493['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x1e5365(0x340),_0x4bc493[_0x4bc493[_0x1e5365(0x1fd)]=0x271e]=_0x1e5365(0x1fd),_0x4bc493[_0x4bc493['YUUMI_AI_RUN_FAILED']=0x271f]=_0x1e5365(0x36e),_0x4bc493[_0x4bc493['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x1e5365(0x360),_0x4bc493[_0x4bc493[_0x1e5365(0x343)]=0x2af9]=_0x1e5365(0x343),_0x4bc493[_0x4bc493[_0x1e5365(0x2d0)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x4bc493[_0x4bc493[_0x1e5365(0x397)]=0x2ee2]=_0x1e5365(0x397),_0x4bc493[_0x4bc493[_0x1e5365(0x356)]=0x2ee3]=_0x1e5365(0x356),_0x4bc493[_0x4bc493[_0x1e5365(0x212)]=0x2ee4]=_0x1e5365(0x212),_0x4bc493[_0x4bc493[_0x1e5365(0x346)]=0x2ee5]=_0x1e5365(0x346),_0x4bc493[_0x4bc493[_0x1e5365(0x37c)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x4bc493[_0x4bc493[_0x1e5365(0x385)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x4bc493[_0x4bc493[_0x1e5365(0x3a2)]=0x32cb]=_0x1e5365(0x3a2),_0x4bc493[_0x4bc493['UNRECOGNIZED']=-0x1]=_0x1e5365(0x35c),_0x4bc493))(X||{}),F=(_0xe3d0bc=>(_0xe3d0bc[_0xe3d0bc['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0xe3d0bc[_0xe3d0bc[_0x1e5365(0x3a4)]=0x1]='UNIVER_DOC',_0xe3d0bc[_0xe3d0bc[_0x1e5365(0x25f)]=0x2]=_0x1e5365(0x25f),_0xe3d0bc[_0xe3d0bc[_0x1e5365(0x21e)]=0x3]=_0x1e5365(0x21e),_0xe3d0bc[_0xe3d0bc['UNIVER_PROJECT']=0x4]=_0x1e5365(0x315),_0xe3d0bc[_0xe3d0bc['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0xe3d0bc))(F||{}),b=(_0x46fe63=>(_0x46fe63[_0x46fe63[_0x1e5365(0x2bf)]=0x0]='View',_0x46fe63[_0x46fe63[_0x1e5365(0x30d)]=0x1]=_0x1e5365(0x30d),_0x46fe63[_0x46fe63[_0x1e5365(0x2b6)]=0x2]=_0x1e5365(0x2b6),_0x46fe63[_0x46fe63[_0x1e5365(0x35b)]=0x3]=_0x1e5365(0x35b),_0x46fe63[_0x46fe63[_0x1e5365(0x28a)]=0x4]=_0x1e5365(0x28a),_0x46fe63[_0x46fe63['Comment']=0x5]=_0x1e5365(0x207),_0x46fe63[_0x46fe63['Copy']=0x6]=_0x1e5365(0x35d),_0x46fe63[_0x46fe63[_0x1e5365(0x312)]=0x7]=_0x1e5365(0x312),_0x46fe63[_0x46fe63['Export']=0x8]=_0x1e5365(0x395),_0x46fe63[_0x46fe63[_0x1e5365(0x2c6)]=0x9]=_0x1e5365(0x2c6),_0x46fe63[_0x46fe63[_0x1e5365(0x28b)]=0xa]=_0x1e5365(0x28b),_0x46fe63[_0x46fe63[_0x1e5365(0x274)]=0xb]=_0x1e5365(0x274),_0x46fe63[_0x46fe63['RenameWorksheet']=0xc]=_0x1e5365(0x300),_0x46fe63[_0x46fe63[_0x1e5365(0x2a6)]=0xd]=_0x1e5365(0x2a6),_0x46fe63[_0x46fe63[_0x1e5365(0x216)]=0xe]=_0x1e5365(0x216),_0x46fe63[_0x46fe63[_0x1e5365(0x2ad)]=0xf]=_0x1e5365(0x2ad),_0x46fe63[_0x46fe63[_0x1e5365(0x288)]=0x10]='InsertHyperlink',_0x46fe63[_0x46fe63[_0x1e5365(0x1f4)]=0x11]=_0x1e5365(0x1f4),_0x46fe63[_0x46fe63[_0x1e5365(0x2e1)]=0x12]=_0x1e5365(0x2e1),_0x46fe63[_0x46fe63['PivotTable']=0x13]=_0x1e5365(0x2bd),_0x46fe63[_0x46fe63[_0x1e5365(0x26a)]=0x14]=_0x1e5365(0x26a),_0x46fe63[_0x46fe63['History']=0x15]=_0x1e5365(0x314),_0x46fe63[_0x46fe63[_0x1e5365(0x21f)]=0x16]=_0x1e5365(0x21f),_0x46fe63[_0x46fe63[_0x1e5365(0x32c)]=0x17]=_0x1e5365(0x32c),_0x46fe63[_0x46fe63[_0x1e5365(0x232)]=0x18]=_0x1e5365(0x232),_0x46fe63[_0x46fe63[_0x1e5365(0x33b)]=0x19]=_0x1e5365(0x33b),_0x46fe63[_0x46fe63['DeleteSheet']=0x1a]=_0x1e5365(0x257),_0x46fe63[_0x46fe63[_0x1e5365(0x1f1)]=0x1b]=_0x1e5365(0x1f1),_0x46fe63[_0x46fe63[_0x1e5365(0x255)]=0x1c]=_0x1e5365(0x255),_0x46fe63[_0x46fe63['RenameSheet']=0x1d]=_0x1e5365(0x2be),_0x46fe63[_0x46fe63[_0x1e5365(0x272)]=0x1e]=_0x1e5365(0x272),_0x46fe63[_0x46fe63[_0x1e5365(0x34d)]=0x1f]=_0x1e5365(0x34d),_0x46fe63[_0x46fe63[_0x1e5365(0x2f1)]=0x20]=_0x1e5365(0x2f1),_0x46fe63[_0x46fe63[_0x1e5365(0x30c)]=0x21]=_0x1e5365(0x30c),_0x46fe63[_0x46fe63[_0x1e5365(0x363)]=0x22]='SetCellValue',_0x46fe63[_0x46fe63[_0x1e5365(0x228)]=0x23]=_0x1e5365(0x228),_0x46fe63[_0x46fe63[_0x1e5365(0x20e)]=0x24]=_0x1e5365(0x20e),_0x46fe63[_0x46fe63[_0x1e5365(0x31e)]=0x25]=_0x1e5365(0x31e),_0x46fe63[_0x46fe63[_0x1e5365(0x292)]=0x26]=_0x1e5365(0x292),_0x46fe63[_0x46fe63[_0x1e5365(0x399)]=0x27]=_0x1e5365(0x399),_0x46fe63[_0x46fe63['DeleteColumn']=0x28]='DeleteColumn',_0x46fe63[_0x46fe63[_0x1e5365(0x22a)]=0x29]='EditExtraObject',_0x46fe63[_0x46fe63[_0x1e5365(0x2f3)]=0x2a]=_0x1e5365(0x2f3),_0x46fe63[_0x46fe63[_0x1e5365(0x2fe)]=0x2b]=_0x1e5365(0x2fe),_0x46fe63[_0x46fe63[_0x1e5365(0x32a)]=0x2c]='ViewHistory',_0x46fe63[_0x46fe63[_0x1e5365(0x1ed)]=0x2d]=_0x1e5365(0x1ed),_0x46fe63[_0x46fe63[_0x1e5365(0x35c)]=-0x1]=_0x1e5365(0x35c),_0x46fe63))(b||{});function ns(_0x392929){const _0x273301=_0x1e5365;return!!(_0x392929&&_0x392929[_0x273301(0x24d)]&&_0x392929[_0x273301(0x24d)]!==X['OK']&&_0x392929['code']!=='OK');}const re=(_0x4389e3,_0x9db710)=>{const _0x5a9a9=_0x1e5365;if(!_0x4389e3)return{'date':'','time':''};const _0x598b28=new Date(_0x4389e3),_0x537a36=_0x598b28[_0x5a9a9(0x30a)]()[_0x5a9a9(0x25e)]('T')[0x0];switch(_0x9db710){case _0x2e7ea4[_0x5a9a9(0x27a)]:return{'date':ee(_0x537a36,_0x9db710),'time':_0x598b28[_0x5a9a9(0x366)]()+':'+String(_0x598b28[_0x5a9a9(0x36d)]())[_0x5a9a9(0x2ca)](0x2,'0')};default:return{'date':ee(_0x537a36,_0x9db710),'time':_0x598b28[_0x5a9a9(0x366)]()+':'+_0x598b28[_0x5a9a9(0x36d)]()};}},as=(_0x1d6a7e,_0x3957d5)=>{const _0x225b5e=_0x1e5365,_0x224bb3=_0x1d6a7e[_0x225b5e(0x2dc)]||_0x3957d5['t'](_0x225b5e(0x2e2));if(_0x1d6a7e[_0x225b5e(0x2c0)][_0x225b5e(0x21a)](_0x479c04=>_0x479c04===_0x5e50bb['id'])&&_0x1d6a7e[_0x225b5e(0x29e)]){const _0x34ae22=re(_0x1d6a7e[_0x225b5e(0x29e)],_0x3957d5[_0x225b5e(0x2e0)]()),_0x288625=_0x34ae22[_0x225b5e(0x244)]+'\x20'+_0x34ae22[_0x225b5e(0x33f)];return _0x224bb3+'\x20'+_0x3957d5['t'](_0x225b5e(0x214))+'\x20'+_0x288625+'\x20'+_0x3957d5['t'](_0x225b5e(0x389));}const _0x26c30d=os(_0x1d6a7e),_0xad80d5=_0x26c30d['length']===0x1?_0x3957d5['t'](_0x26c30d[0x0]):''+_0x3957d5['t'](_0x26c30d[0x0])+_0x3957d5['t'](_0x225b5e(0x25c));return _0x224bb3+'\x20'+_0xad80d5;};function os(_0x13bab4){const _0x48427f=_0x1e5365;if(_0x13bab4[_0x48427f(0x2c0)][_0x48427f(0x2c9)]===0x0)return[''];const _0x100f4a=_0x48427f(0x291),_0x33c164=_0x100f4a+_0x48427f(0x2ec),_0x128782=[{'id':_0x220d57['id'],'action':_0x100f4a+_0x48427f(0x27c)},{'id':_0x5e50bb['id'],'action':_0x100f4a+_0x48427f(0x2c2)},{'id':_0x46dc0d['id'],'action':_0x100f4a+_0x48427f(0x316)},{'id':_0x28473b['id'],'action':_0x100f4a+_0x48427f(0x215)},{'id':_0x37cc11['id'],'action':_0x100f4a+_0x48427f(0x2e4)},{'id':_0x1d2c2a['id'],'action':_0x100f4a+'setFilter'},{'id':_0x5b0c69['id'],'action':_0x100f4a+_0x48427f(0x2aa)},{'id':_0x40147b['id'],'action':_0x100f4a+'setDV'},{'id':_0xd3c495['id'],'action':_0x100f4a+_0x48427f(0x364)},{'id':_0x531694['id'],'action':_0x100f4a+_0x48427f(0x364)},{'id':_0x340d6f['id'],'action':_0x100f4a+'addProtection'},{'id':_0xd71228['id'],'action':_0x100f4a+_0x48427f(0x31a)},{'id':_0x2093b0['id'],'action':_0x100f4a+_0x48427f(0x30b)},{'id':_0x539f60['id'],'action':_0x100f4a+_0x48427f(0x2a5)},{'id':_0x50a936['id'],'action':_0x100f4a+_0x48427f(0x2a5)}][_0x48427f(0x377)](_0x541c6d=>_0x13bab4[_0x48427f(0x2c0)][_0x48427f(0x210)](_0x541c6d['id']));return _0x128782!=null&&_0x128782[_0x48427f(0x2c9)]?_0x128782[_0x48427f(0x270)](_0x288ab6=>_0x288ab6[_0x48427f(0x2d4)]):[_0x33c164];}function ee(_0x3e297b,_0x44d000){const _0x4299df=_0x1e5365,[_0x83cf7a,_0x27f082,_0x5eba90]=new Date()[_0x4299df(0x30a)]()[_0x4299df(0x25e)]('T')[0x0][_0x4299df(0x25e)]('-'),[_0x13e22f,_0x193340,_0x14ac4d]=_0x3e297b[_0x4299df(0x25e)]('-'),_0x3c8f26=_0x83cf7a===_0x13e22f&&_0x27f082===_0x193340&&_0x5eba90===_0x14ac4d;let _0x310cf7='',_0x2531d4='',_0x3bff43='';switch(_0x44d000){case _0x2e7ea4['ZH_CN']:return _0x3c8f26?'今天':(_0x310cf7=_0x83cf7a===_0x13e22f?'':_0x13e22f+'年',_0x2531d4=_0x193340+'月',_0x3bff43=_0x14ac4d+'日',''+_0x310cf7+_0x2531d4+_0x3bff43);default:return _0x3c8f26?_0x4299df(0x250):(_0x310cf7=_0x83cf7a===_0x13e22f?'':_0x13e22f+'-',_0x2531d4=_0x193340+'-',_0x3bff43=''+_0x14ac4d,''+_0x310cf7+_0x2531d4+_0x3bff43);}}function cs(_0x2cafd2){return _0x2cafd2?_0x2cafd2['reduce']((_0x27679f,_0x1a30b6)=>{const _0x458442=_0x6813,_0x115de5=new Date(_0x1a30b6[_0x458442(0x33f)])[_0x458442(0x30a)]()[_0x458442(0x25e)]('T')[0x0];return _0x27679f[_0x458442(0x2c9)]>0x0&&_0x27679f[_0x27679f[_0x458442(0x2c9)]-0x1][_0x458442(0x331)]===_0x115de5?_0x27679f[_0x27679f['length']-0x1][_0x458442(0x201)][_0x458442(0x31c)](_0x1a30b6):_0x27679f[_0x458442(0x31c)]({'dateString':_0x115de5,'versions':[_0x1a30b6]}),_0x27679f;},[]):[];}var ls=Object[_0x1e5365(0x20a)],us=(_0x2dff23,_0x3a6af6,_0x4d4cc7,_0x63ba75)=>{for(var _0x424fd3=_0x63ba75>0x1?void 0x0:_0x63ba75?ls(_0x3a6af6,_0x4d4cc7):_0x3a6af6,_0x33e405=_0x2dff23['length']-0x1,_0x55ee09;_0x33e405>=0x0;_0x33e405--)(_0x55ee09=_0x2dff23[_0x33e405])&&(_0x424fd3=_0x55ee09(_0x424fd3)||_0x424fd3);return _0x424fd3;},D=(_0xae47a3,_0x146ce9)=>(_0x1db93f,_0x176174)=>_0x146ce9(_0x1db93f,_0x176174,_0xae47a3);function _0x6813(_0x2c6bc5,_0x4242c5){const _0x357c67=_0x357c();return _0x6813=function(_0x68132e,_0x2ee329){_0x68132e=_0x68132e-0x1e7;let _0x307536=_0x357c67[_0x68132e];return _0x307536;},_0x6813(_0x2c6bc5,_0x4242c5);}const _s=_0x1e5365(0x34c);let Y=class extends _0x2e7b17{constructor(_0x4d2f9f,_0xb5bdb5,_0x18100e,_0x2d13b5,_0x3f50ec,_0x5ea0d2){const _0x18a20a=_0x1e5365;super(),l(this,_0x18a20a(0x36a),new Map()),(this[_0x18a20a(0x213)]=_0x4d2f9f,this[_0x18a20a(0x32b)]=_0xb5bdb5,this[_0x18a20a(0x371)]=_0x18100e,this[_0x18a20a(0x34b)]=_0x2d13b5,this[_0x18a20a(0x348)]=_0x3f50ec,this['_compressMutationService']=_0x5ea0d2);}[_0x1e5365(0x209)](){const _0x2c5be4=_0x1e5365;this[_0x2c5be4(0x36a)]['clear'](),super[_0x2c5be4(0x209)]();}async[_0x1e5365(0x2ce)](_0x36ec38,_0x16df9c){const _0x49137e=_0x1e5365,_0x356815=this[_0x49137e(0x321)]()+'/'+_0x36ec38+_0x49137e(0x367)+(_0x16df9c?_0x49137e(0x2ed)+_0x16df9c:'');try{const _0xa124af=(await this[_0x49137e(0x348)][_0x49137e(0x223)](_0x356815))[_0x49137e(0x1fb)];if(_0xa124af&&_0xa124af[_0x49137e(0x2c1)]&&_0xa124af[_0x49137e(0x2c1)][_0x49137e(0x24d)]===X['OK']){const {hasMore:_0x375f2a,lastLabel:_0x42483b}=_0xa124af,_0x205e53=hs(_0xa124af),_0x2dadc9=_0xa124af['entities']['users'];return{'hasMore':_0x375f2a,'lastLabel':_0x42483b,'versions':_0x205e53,'members':_0x2dadc9};}}catch(_0x3dc642){console[_0x49137e(0x2c1)](_0x3dc642);}return null;}['_getAPIPrefix'](){const _0x4b9a7c=_0x1e5365;var _0x2e6c19;const _0x53289d=this[_0x4b9a7c(0x34b)][_0x4b9a7c(0x2b2)](we);return(_0x2e6c19=_0x53289d==null?void 0x0:_0x53289d['historyListServerUrl'])!=null?_0x2e6c19:_s;}async[_0x1e5365(0x21b)](_0x54d6c6,_0x454f9b,_0x2978ec){const _0x2e9016=_0x1e5365;var _0x166a30,_0x3841f3;_0x2978ec===void 0x0&&(_0x2978ec={}),this[_0x2e9016(0x36a)]['has'](_0x54d6c6)||this[_0x2e9016(0x36a)][_0x2e9016(0x373)](_0x54d6c6,new Map());const {snapshot:_0x36aaf5,changesets:_0x342169,error:_0xd5f4f1}=await this[_0x2e9016(0x213)][_0x2e9016(0x299)](_0x2978ec,{'unitID':_0x54d6c6,'type':F['UNIVER_SHEET'],'revision':_0x454f9b});if(ns(_0xd5f4f1)||!_0x36aaf5||!_0x36aaf5[_0x2e9016(0x240)])throw new Error(_0x2e9016(0x387));const _0x254b68=(_0x166a30=_0x342169==null?void 0x0:_0x342169[_0x2e9016(0x2c9)])!=null?_0x166a30:0x0;if(_0x454f9b!==0x0&&_0x36aaf5['rev']+_0x254b68!==_0x454f9b)throw new Error(_0x2e9016(0x2b4));const {workbook:_0x2997d8}=_0x36aaf5,_0x4f6735=_0x2997d8[_0x2e9016(0x325)]?Object['entries'](_0x2997d8[_0x2e9016(0x325)])['map'](([_0x563cad,_0xfdd3ee])=>{const _0xeb146c=_0x2e9016;var _0x506efd,_0x4ec7cc;return(_0x4ec7cc=(_0x506efd=_0xfdd3ee[_0xeb146c(0x357)])==null?void 0x0:_0x506efd[_0xeb146c(0x270)](_0x22340d=>_0x22340d))!=null?_0x4ec7cc:[];})[_0x2e9016(0x36c)]():[],_0x565777=(await Promise['all'](_0x4f6735['map'](_0x353532=>this[_0x2e9016(0x213)]['getDeserializedSheetBlock'](_0x2978ec,{'unitID':_0x54d6c6,'type':F[_0x2e9016(0x25f)],'blockID':_0x353532})[_0x2e9016(0x38a)](_0x144261=>_0x144261['block']))))[_0x2e9016(0x377)](_0x28ee8f=>!!_0x28ee8f),_0x59e3ba=_0x2d0f0e(_0x36aaf5,_0x565777,_0x2978ec);return(_0x3841f3=this[_0x2e9016(0x36a)][_0x2e9016(0x223)](_0x54d6c6))==null||_0x3841f3[_0x2e9016(0x373)](_0x454f9b,{'workbook':_0x59e3ba}),new Promise(_0x140051=>{const _0x531a31=_0x2e9016,_0x48343f=this[_0x531a31(0x32b)]['getCurrentUnitForType'](_0x44ce88['UNIVER_SHEET']);_0x48343f?(this[_0x531a31(0x32b)][_0x531a31(0x304)](_0x48343f[_0x531a31(0x25a)]()),setTimeout(()=>{this['_createUnit'](_0x59e3ba,_0x342169),_0x140051(!0x0);},0x0)):(this[_0x531a31(0x31b)](_0x59e3ba,_0x342169),_0x140051(!0x0));});}[_0x1e5365(0x31b)](_0x11ab4b,_0x5539b6){const _0xf2a18=_0x1e5365,_0x692489=this[_0xf2a18(0x32b)][_0xf2a18(0x39a)](_0x44ce88['UNIVER_SHEET'],_0x11ab4b);this[_0xf2a18(0x32b)][_0xf2a18(0x217)](_0x692489['getUnitId']());const _0x22de3d=this[_0xf2a18(0x26d)][_0xf2a18(0x37e)][_0xf2a18(0x329)](this[_0xf2a18(0x26d)][_0xf2a18(0x37e)][_0xf2a18(0x2e3)]()[_0xf2a18(0x24b)]);return _0x5539b6==null||_0x5539b6[_0xf2a18(0x26e)](_0x44d22b=>{const _0xfc3f66=_0xf2a18,_0x53df7b=_0x44d22b[_0xfc3f66(0x1e9)][_0xfc3f66(0x270)](_0x5a10bb=>({'id':_0x5a10bb['id'],'params':JSON[_0xfc3f66(0x305)](_0x5a10bb['data'])}));({..._0x44d22b,'mutations':_0x22de3d(_0x53df7b,null)||_0x53df7b}[_0xfc3f66(0x1e9)][_0xfc3f66(0x26e)](_0x63c2f9=>{const _0x7855dc=_0xfc3f66;this[_0x7855dc(0x371)]['hasCommand'](_0x63c2f9['id'])&&this[_0x7855dc(0x371)]['syncExecuteCommand'](_0x63c2f9['id'],_0x63c2f9[_0x7855dc(0x2ba)]);}));}),_0x692489;}};Y=us([D(0x0,_0x5de8e1),D(0x1,_0x35d336),D(0x2,_0x13490e),D(0x3,_0x4c1d02),D(0x4,_0x4128c6(_0x14063c)),D(0x5,_0x4128c6(_0x54fc32))],Y);function hs(_0x143fde){const _0x5cf14b=_0x1e5365;var _0x43d3f8,_0x37f98d;const _0x3d1a43=[],{entities:_0x3f473b,historyIds:_0x139341}=_0x143fde,{datas:_0x5402d2,users:_0x307463}=_0x3f473b;for(const _0x581652 of _0x139341)if(_0x5402d2[_0x581652]){const _0x4a83ea=!!((_0x43d3f8=_0x307463[_0x5402d2[_0x581652][_0x5cf14b(0x21d)]])!=null&&_0x43d3f8[_0x5cf14b(0x347)]);_0x3d1a43[_0x5cf14b(0x31c)]({'unitId':_0x5402d2[_0x581652][_0x5cf14b(0x295)],'user':_0x4a83ea?'':((_0x37f98d=_0x307463==null?void 0x0:_0x307463[_0x5402d2[_0x581652][_0x5cf14b(0x21d)]])==null?void 0x0:_0x37f98d[_0x5cf14b(0x3a7)])||'','isAnonymous':_0x4a83ea,'id':_0x581652,'time':_0x5402d2[_0x581652][_0x5cf14b(0x33c)]?Number(_0x5402d2[_0x581652]['createTime']):void 0x0,'commands':_0x5402d2[_0x581652][_0x5cf14b(0x2ea)],'startRev':Number(_0x5402d2[_0x581652][_0x5cf14b(0x2e7)]),'endRev':Number(_0x5402d2[_0x581652][_0x5cf14b(0x2f8)]),'recoverTime':_0x5402d2[_0x581652][_0x5cf14b(0x29e)]?Number(_0x5402d2[_0x581652][_0x5cf14b(0x29e)]):void 0x0});}return _0x3d1a43;}var ds=Object[_0x1e5365(0x20a)],vs=(_0x385b1a,_0x1953f1,_0x1f9de7,_0x58be42)=>{const _0x56d3ef=_0x1e5365;for(var _0x3da5a3=_0x58be42>0x1?void 0x0:_0x58be42?ds(_0x1953f1,_0x1f9de7):_0x1953f1,_0x64d4b3=_0x385b1a[_0x56d3ef(0x2c9)]-0x1,_0x554413;_0x64d4b3>=0x0;_0x64d4b3--)(_0x554413=_0x385b1a[_0x64d4b3])&&(_0x3da5a3=_0x554413(_0x3da5a3)||_0x3da5a3);return _0x3da5a3;},V=(_0x33e84b,_0x32f65d)=>(_0x4784e7,_0x3c22c6)=>_0x32f65d(_0x4784e7,_0x3c22c6,_0x33e84b),ne=(_0x47599e=>(_0x47599e[_0x1e5365(0x258)]=_0x1e5365(0x1eb),_0x47599e['Exited']=_0x1e5365(0x2a0),_0x47599e['Error']='error',_0x47599e))(ne||{}),T=(_0x32bf32=>(_0x32bf32[_0x1e5365(0x2a8)]=_0x1e5365(0x391),_0x32bf32[_0x1e5365(0x233)]=_0x1e5365(0x2c7),_0x32bf32[_0x1e5365(0x368)]=_0x1e5365(0x372),_0x32bf32))(T||{});const fs=_0x1e5365(0x1f0);let E=class extends _0x2e7b17{constructor(_0x2debe1,_0x2bffaf,_0x2b8dae,_0x523f9f){const _0x5efdaf=_0x1e5365;super(),l(this,_0x5efdaf(0x34a),new _0x56b6da([])),l(this,_0x5efdaf(0x23b),this[_0x5efdaf(0x34a)][_0x5efdaf(0x32e)]()),l(this,'_currentVersion$',new _0x56b6da('')),l(this,_0x5efdaf(0x359),this[_0x5efdaf(0x306)]['asObservable']()),l(this,_0x5efdaf(0x273),new _0x56b6da(_0x5efdaf(0x1eb))),l(this,_0x5efdaf(0x280),this[_0x5efdaf(0x273)]['asObservable']()),l(this,_0x5efdaf(0x200),new _0x56b6da(0x0)),l(this,_0x5efdaf(0x241),this[_0x5efdaf(0x200)][_0x5efdaf(0x32e)]()),l(this,_0x5efdaf(0x1f5),new _0x56b6da('')),l(this,_0x5efdaf(0x38f),this[_0x5efdaf(0x1f5)][_0x5efdaf(0x32e)]()),l(this,_0x5efdaf(0x37f),!0x1),l(this,_0x5efdaf(0x2a9),new _0x56b6da(_0x5efdaf(0x391))),l(this,_0x5efdaf(0x1f8),this[_0x5efdaf(0x2a9)][_0x5efdaf(0x32e)]()),l(this,_0x5efdaf(0x2db),null),l(this,'_hasMore',!0x0),l(this,_0x5efdaf(0x254),new Map()),l(this,_0x5efdaf(0x262)),l(this,_0x5efdaf(0x1ee)),l(this,'_maskElement'),l(this,_0x5efdaf(0x332),!0x1),(this['_messageService']=_0x2debe1,this[_0x5efdaf(0x2b8)]=_0x2bffaf,this[_0x5efdaf(0x382)]=_0x2b8dae,this[_0x5efdaf(0x34e)]=_0x523f9f);}async[_0x1e5365(0x349)](_0x5d8bd2,_0x219b4e,_0x3c4907){const _0x451fda=_0x1e5365;this['_historyContainerId']=_0x219b4e,this[_0x451fda(0x332)]=_0x3c4907,this[_0x451fda(0x1f5)][_0x451fda(0x260)](_0x5d8bd2),this[_0x451fda(0x37f)]=!0x0;const _0x50e9ed=await this[_0x451fda(0x34e)][_0x451fda(0x2ce)](_0x5d8bd2);if(this[_0x451fda(0x37f)]=!0x1,_0x50e9ed){const {versions:_0x2c7ae6,lastLabel:_0x236500,hasMore:_0x275a72,members:_0x3ee2c9}=_0x50e9ed;_0x2c7ae6['length']===0x0&&_0x2c7ae6[_0x451fda(0x31c)]({'unitId':_0x5d8bd2,'id':fs,'startRev':0x1,'endRev':0x0,'time':Date[_0x451fda(0x237)](),'user':this[_0x451fda(0x382)]['t'](_0x451fda(0x30f)),'commands':[],'isAnonymous':!0x1}),this[_0x451fda(0x22c)](_0x2c7ae6,_0x275a72,_0x236500,_0x3ee2c9),this[_0x451fda(0x306)][_0x451fda(0x260)](_0x2c7ae6[0x0]['id']);}else this[_0x451fda(0x273)]['next'](_0x451fda(0x2c1));}async[_0x1e5365(0x311)](){const _0x132dbb=_0x1e5365;if(!this[_0x132dbb(0x2db)]||!this[_0x132dbb(0x361)]||this[_0x132dbb(0x37f)])return!0x1;this[_0x132dbb(0x37f)]=!0x0;const _0x1ba8e4=await this[_0x132dbb(0x34e)][_0x132dbb(0x2ce)](this[_0x132dbb(0x295)],this[_0x132dbb(0x2db)]);if(this[_0x132dbb(0x37f)]=!0x1,_0x1ba8e4){const {versions:_0x1e6d4b,lastLabel:_0x1dfd22,hasMore:_0x332540,members:_0x4f7dc7}=_0x1ba8e4;this[_0x132dbb(0x22c)](_0x1e6d4b,_0x332540,_0x1dfd22,_0x4f7dc7);}else this[_0x132dbb(0x24a)][_0x132dbb(0x261)]({'content':this[_0x132dbb(0x382)]['t'](_0x132dbb(0x282)),'type':_0x3ba12b['Error'],'duration':0xbb8});return!0x0;}async[_0x1e5365(0x24c)](_0x3ceabb){const _0x4fab41=_0x1e5365;var _0x4ac32a;const _0x3db464=(_0x4ac32a=this[_0x4fab41(0x34a)][_0x4fab41(0x2e5)])==null?void 0x0:_0x4ac32a[_0x4fab41(0x2eb)](_0x4734f5=>_0x4734f5['id']===_0x3ceabb),{endRev:_0x552597}=_0x3db464||{};_0x552597||_0x552597===0x0?(this[_0x4fab41(0x2a9)][_0x4fab41(0x260)](_0x4fab41(0x2c7)),await this[_0x4fab41(0x34e)][_0x4fab41(0x21b)](this[_0x4fab41(0x295)],_0x552597),this[_0x4fab41(0x2a9)][_0x4fab41(0x260)](_0x4fab41(0x372))):this['_status$']['next']('error');}async[_0x1e5365(0x2cc)](_0x7956c9){const _0x28be87=_0x1e5365,_0xdd5687=_0x7956c9?this[_0x28be87(0x303)](_0x7956c9):this[_0x28be87(0x38b)]();if(!_0xdd5687)return;const _0x26474e=_0xdd5687['endRev'],_0x1a83a3=re(_0xdd5687['time'],this[_0x28be87(0x382)][_0x28be87(0x2e0)]());await this[_0x28be87(0x2b8)][_0x28be87(0x276)]({'id':_0x28be87(0x330),'title':{'title':this[_0x28be87(0x382)]['t'](_0x28be87(0x3a3))},'children':{'title':this['_localeService']['t'](_0x28be87(0x2d8))+':\x20('+_0x1a83a3[_0x28be87(0x244)]+'\x20'+_0x1a83a3[_0x28be87(0x33f)]+')'},'cancelText':this['_localeService']['t'](_0x28be87(0x2f7)),'confirmText':this[_0x28be87(0x382)]['t'](_0x28be87(0x247))})&&this[_0x28be87(0x200)]['next'](_0x26474e);}[_0x1e5365(0x22c)](_0x52b906,_0x5d1e11,_0x410664,_0x4261fc){const _0x5d8d8d=_0x1e5365;this[_0x5d8d8d(0x34a)][_0x5d8d8d(0x260)](this[_0x5d8d8d(0x34a)][_0x5d8d8d(0x2e5)]['concat'](_0x52b906)),this['_hasMore']=_0x5d1e11,this[_0x5d8d8d(0x2db)]=_0x410664,_0x4261fc&&Object[_0x5d8d8d(0x285)](_0x4261fc)[_0x5d8d8d(0x26e)](_0x16abb9=>this[_0x5d8d8d(0x254)][_0x5d8d8d(0x373)](_0x16abb9,_0x4261fc[_0x16abb9]));}[_0x1e5365(0x38b)](){const _0x448cc5=_0x1e5365;return this[_0x448cc5(0x303)](this[_0x448cc5(0x306)]['value']);}['getVersion'](_0x56d937){const _0x5a6bc0=_0x1e5365;var _0x31e15b;return(_0x31e15b=this[_0x5a6bc0(0x34a)][_0x5a6bc0(0x2e5)])==null?void 0x0:_0x31e15b[_0x5a6bc0(0x2eb)](_0x340bfb=>_0x340bfb['id']===_0x56d937);}[_0x1e5365(0x2e6)](_0x834869){return this['_members']['get'](_0x834869);}['_createMask'](){const _0x3aa509=_0x1e5365;this[_0x3aa509(0x2c3)]=document[_0x3aa509(0x39f)](_0x3aa509(0x27b)),this[_0x3aa509(0x2c3)][_0x3aa509(0x28c)]=_0x3aa509(0x339),this[_0x3aa509(0x2c3)][_0x3aa509(0x34f)]['position']=_0x3aa509(0x1e8),this[_0x3aa509(0x2c3)]['style'][_0x3aa509(0x296)]='0',this[_0x3aa509(0x2c3)]['style']['left']='0',this[_0x3aa509(0x2c3)][_0x3aa509(0x34f)][_0x3aa509(0x376)]='100%',this['_maskElement'][_0x3aa509(0x34f)][_0x3aa509(0x22f)]=_0x3aa509(0x2f6),this[_0x3aa509(0x2c3)][_0x3aa509(0x34f)][_0x3aa509(0x220)]=_0x3aa509(0x21c),this[_0x3aa509(0x2c3)][_0x3aa509(0x34f)][_0x3aa509(0x39d)]=_0x3aa509(0x35e),this[_0x3aa509(0x2c3)]['style'][_0x3aa509(0x378)]=_0x3aa509(0x294),this[_0x3aa509(0x2c3)]['style'][_0x3aa509(0x334)]=_0x3aa509(0x24e),this[_0x3aa509(0x2c3)][_0x3aa509(0x34f)][_0x3aa509(0x326)]=_0x3aa509(0x23c),this['_maskElement']['style'][_0x3aa509(0x378)]='none',this[_0x3aa509(0x1ee)][_0x3aa509(0x2fa)](this[_0x3aa509(0x2c3)]);}[_0x1e5365(0x29f)](){const _0x51e8df=_0x1e5365;var _0x47c4b8;const _0x99f671=(_0x47c4b8=document[_0x51e8df(0x358)](this['_historyContainerId']))==null?void 0x0:_0x47c4b8[_0x51e8df(0x2b0)](_0x51e8df(0x375));_0x99f671&&(this['_maskContainer']=_0x99f671,this['_createMask']());}[_0x1e5365(0x33e)](){const _0x3e02ad=_0x1e5365;this[_0x3e02ad(0x1ee)]||this[_0x3e02ad(0x29f)](),this[_0x3e02ad(0x2c3)]&&(this[_0x3e02ad(0x2c3)][_0x3e02ad(0x34f)]['display']='flex');}[_0x1e5365(0x269)](){const _0x5c4bc3=_0x1e5365;this[_0x5c4bc3(0x2c3)]&&(this[_0x5c4bc3(0x2c3)]['style'][_0x5c4bc3(0x378)]=_0x5c4bc3(0x230));}set[_0x1e5365(0x2ef)](_0x199b52){this['_status$']['next'](_0x199b52);}set['currentVersion'](_0x4847a5){const _0x3c510a=_0x1e5365;_0x4847a5!==this[_0x3c510a(0x306)][_0x3c510a(0x2e5)]&&this[_0x3c510a(0x306)]['next'](_0x4847a5);}get[_0x1e5365(0x26c)](){const _0x40e35f=_0x1e5365;return this[_0x40e35f(0x306)][_0x40e35f(0x2e5)];}set[_0x1e5365(0x295)](_0x3d08cc){const _0x529dfe=_0x1e5365;this[_0x529dfe(0x1f5)][_0x529dfe(0x260)](_0x3d08cc);}get[_0x1e5365(0x295)](){const _0x335531=_0x1e5365;return this[_0x335531(0x1f5)][_0x335531(0x2e5)];}get['canRevert'](){const _0x4d9e3b=_0x1e5365;return this[_0x4d9e3b(0x332)];}get[_0x1e5365(0x2ee)](){const _0x2d43ba=_0x1e5365;return this[_0x2d43ba(0x2a9)][_0x2d43ba(0x2e5)];}};E=vs([V(0x0,_0x529e77),V(0x1,_0x5b9ab8),V(0x2,_0x4128c6(_0x160dca)),V(0x3,_0x4128c6(Y))],E);var g=function(){const _0x4f719a=_0x1e5365;return g=Object[_0x4f719a(0x267)]||function(_0x568572){const _0x32ed1a=_0x4f719a;for(var _0x22a705,_0x2005d2=0x1,_0x1ec154=arguments[_0x32ed1a(0x2c9)];_0x2005d2<_0x1ec154;_0x2005d2++){_0x22a705=arguments[_0x2005d2];for(var _0x3f3dc6 in _0x22a705)Object[_0x32ed1a(0x256)]['hasOwnProperty'][_0x32ed1a(0x338)](_0x22a705,_0x3f3dc6)&&(_0x568572[_0x3f3dc6]=_0x22a705[_0x3f3dc6]);}return _0x568572;},g[_0x4f719a(0x22e)](this,arguments);},ms=function(_0x7faaed,_0x3f1472){const _0x377743=_0x1e5365;var _0x47c0e2={};for(var _0x95e03c in _0x7faaed)Object[_0x377743(0x256)][_0x377743(0x25b)][_0x377743(0x338)](_0x7faaed,_0x95e03c)&&_0x3f1472[_0x377743(0x2f9)](_0x95e03c)<0x0&&(_0x47c0e2[_0x95e03c]=_0x7faaed[_0x95e03c]);if(_0x7faaed!=null&&typeof Object[_0x377743(0x345)]==_0x377743(0x396)){for(var _0x10cfef=0x0,_0x95e03c=Object[_0x377743(0x345)](_0x7faaed);_0x10cfef<_0x95e03c['length'];_0x10cfef++)_0x3f1472[_0x377743(0x2f9)](_0x95e03c[_0x10cfef])<0x0&&Object[_0x377743(0x256)][_0x377743(0x335)][_0x377743(0x338)](_0x7faaed,_0x95e03c[_0x10cfef])&&(_0x47c0e2[_0x95e03c[_0x10cfef]]=_0x7faaed[_0x95e03c[_0x10cfef]]);}return _0x47c0e2;},G=_0x267da8(function(_0x1262a0,_0x52aea9){const _0x43ba7f=_0x1e5365;var _0x4ab9d8=_0x1262a0[_0x43ba7f(0x2d7)],_0x1e6551=_0x1262a0['id'],_0x47eeef=_0x1262a0[_0x43ba7f(0x28c)],_0x228bac=_0x1262a0[_0x43ba7f(0x3a8)],_0x330fb1=ms(_0x1262a0,['icon','id',_0x43ba7f(0x28c),_0x43ba7f(0x3a8)]),_0x3fdf27='univerjs-icon\x20univerjs-icon-'['concat'](_0x1e6551,'\x20')['concat'](_0x47eeef||'')[_0x43ba7f(0x344)](),_0x2203eb=_0x55c555('_'['concat'](gs()));return Pe(_0x4ab9d8,''[_0x43ba7f(0x251)](_0x1e6551),{'defIds':_0x4ab9d8[_0x43ba7f(0x36b)],'idSuffix':_0x2203eb[_0x43ba7f(0x289)]},g({'ref':_0x52aea9,'className':_0x3fdf27},_0x330fb1),_0x228bac);});function Pe(_0x5ab785,_0x9c7817,_0x3e6368,_0x5a81a8,_0x367a27){return _0x57cf67(_0x5ab785['tag'],g(g({'key':_0x9c7817},Is(_0x5ab785,_0x3e6368,_0x367a27)),_0x5a81a8),(Ss(_0x5ab785,_0x3e6368)['children']||[])['map'](function(_0x4a1336,_0x4b0f6a){const _0x3cb031=_0x6813;return Pe(_0x4a1336,''['concat'](_0x9c7817,'-')[_0x3cb031(0x251)](_0x5ab785[_0x3cb031(0x284)],'-')[_0x3cb031(0x251)](_0x4b0f6a),_0x3e6368,void 0x0,_0x367a27);}));}function Is(_0x1d202e,_0x1bf5fe,_0x2df95c){const _0x3233e0=_0x1e5365;var _0x418042=g({},_0x1d202e[_0x3233e0(0x341)]);_0x2df95c!=null&&_0x2df95c[_0x3233e0(0x36f)]&&_0x418042[_0x3233e0(0x2fb)]===_0x3233e0(0x36f)&&(_0x418042['fill']=_0x2df95c[_0x3233e0(0x36f)]),_0x1d202e[_0x3233e0(0x284)]===_0x3233e0(0x369)&&_0x418042['id']&&(_0x418042['id']=_0x418042['id']+_0x1bf5fe[_0x3233e0(0x352)]),Object[_0x3233e0(0x2b3)](_0x418042)['forEach'](function(_0x5cd13e){const _0x2f3d03=_0x3233e0;var _0x46c328=_0x5cd13e[0x0],_0xf41fb7=_0x5cd13e[0x1];_0x46c328==='mask'&&typeof _0xf41fb7==_0x2f3d03(0x39b)&&(_0x418042[_0x46c328]=_0xf41fb7['replace'](/url\(#(.*)\)/,'url(#$1'['concat'](_0x1bf5fe['idSuffix'],')')));});var _0x4c1cff=_0x1bf5fe['defIds'];return!_0x4c1cff||_0x4c1cff[_0x3233e0(0x2c9)]===0x0||(_0x1d202e[_0x3233e0(0x284)]===_0x3233e0(0x222)&&_0x418042[_0x3233e0(0x2af)]&&(_0x418042[_0x3233e0(0x2af)]=_0x418042[_0x3233e0(0x2af)]+_0x1bf5fe[_0x3233e0(0x352)]),Object['entries'](_0x418042)[_0x3233e0(0x26e)](function(_0x236a8b){const _0x275da6=_0x3233e0;var _0x4cd4d0=_0x236a8b[0x0],_0xa8c64d=_0x236a8b[0x1];typeof _0xa8c64d==_0x275da6(0x39b)&&(_0x418042[_0x4cd4d0]=_0xa8c64d['replace'](/url\(#(.*)\)/,_0x275da6(0x24f)['concat'](_0x1bf5fe['idSuffix'],')')));})),_0x418042;}function Ss(_0x2618e9,_0x52296e){const _0x42b973=_0x1e5365;var _0x3af9d0,_0x2d0231=_0x52296e[_0x42b973(0x36b)];return!_0x2d0231||_0x2d0231[_0x42b973(0x2c9)]===0x0?_0x2618e9:_0x2618e9[_0x42b973(0x284)]===_0x42b973(0x35f)&&(!((_0x3af9d0=_0x2618e9[_0x42b973(0x2fd)])===null||_0x3af9d0===void 0x0)&&_0x3af9d0[_0x42b973(0x2c9)])?g(g({},_0x2618e9),{'children':_0x2618e9[_0x42b973(0x2fd)][_0x42b973(0x270)](function(_0x4360fd){const _0x252a75=_0x42b973;return typeof _0x4360fd[_0x252a75(0x341)]['id']=='string'&&_0x2d0231&&_0x2d0231[_0x252a75(0x210)](_0x4360fd[_0x252a75(0x341)]['id'])?g(g({},_0x4360fd),{'attrs':g(g({},_0x4360fd[_0x252a75(0x341)]),{'id':_0x4360fd[_0x252a75(0x341)]['id']+_0x52296e['idSuffix']})}):_0x4360fd;})}):_0x2618e9;}function gs(){const _0x24625a=_0x1e5365;return Math[_0x24625a(0x2a3)]()[_0x24625a(0x252)](0x24)[_0x24625a(0x293)](0x2,0x8);}G[_0x1e5365(0x248)]=_0x1e5365(0x3a5);var ps={'tag':_0x1e5365(0x28d),'attrs':{'xmlns':_0x1e5365(0x355),'fill':_0x1e5365(0x230),'viewBox':_0x1e5365(0x211),'width':_0x1e5365(0x297),'height':_0x1e5365(0x297)},'children':[{'tag':'path','attrs':{'fill':_0x1e5365(0x202),'d':_0x1e5365(0x239)}}]},Te=_0x267da8(function(_0x3acb0d,_0x2014ac){const _0x401844=_0x1e5365;return _0x57cf67(G,Object[_0x401844(0x267)]({},_0x3acb0d,{'id':_0x401844(0x351),'ref':_0x2014ac,'icon':ps}));});Te[_0x1e5365(0x248)]=_0x1e5365(0x384);var Es={'tag':_0x1e5365(0x28d),'attrs':{'xmlns':_0x1e5365(0x355),'fill':_0x1e5365(0x230),'viewBox':_0x1e5365(0x211),'width':_0x1e5365(0x297),'height':_0x1e5365(0x297)},'children':[{'tag':_0x1e5365(0x208),'attrs':{'fill':'#0B9EFB','d':_0x1e5365(0x1ec),'fillOpacity':0.2,'fillRule':'evenodd','clipRule':_0x1e5365(0x398)}},{'tag':_0x1e5365(0x208),'attrs':{'fill':_0x1e5365(0x313),'d':_0x1e5365(0x2ac),'fillRule':_0x1e5365(0x398),'clipRule':'evenodd'}}]},ae=_0x267da8(function(_0x312469,_0x1316b8){const _0xf250a6=_0x1e5365;return _0x57cf67(G,Object[_0xf250a6(0x267)]({},_0x312469,{'id':_0xf250a6(0x37d),'ref':_0x1316b8,'icon':Es}));});ae['displayName']=_0x1e5365(0x226);var Rs={'tag':_0x1e5365(0x28d),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1e5365(0x230),'viewBox':_0x1e5365(0x2b1),'width':_0x1e5365(0x297),'height':_0x1e5365(0x297)},'children':[{'tag':'g','attrs':{'fill':_0x1e5365(0x202),'clipPath':_0x1e5365(0x28e)},'children':[{'tag':_0x1e5365(0x208),'attrs':{'d':_0x1e5365(0x20c)}},{'tag':_0x1e5365(0x208),'attrs':{'d':_0x1e5365(0x23d),'fillRule':_0x1e5365(0x398),'clipRule':'evenodd'}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x1e5365(0x2e9),'attrs':{'id':_0x1e5365(0x38c)},'children':[{'tag':_0x1e5365(0x301),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x1e5365(0x35e),'rx':0x4}}]}]}],'defIds':[_0x1e5365(0x38c)]},Le=_0x267da8(function(_0xe14ea1,_0x1802f2){const _0x35ebfc=_0x1e5365;return _0x57cf67(G,Object[_0x35ebfc(0x267)]({},_0xe14ea1,{'id':_0x35ebfc(0x393),'ref':_0x1802f2,'icon':Rs}));});Le['displayName']=_0x1e5365(0x39e);function Os(){const _0x15af23=_0x1e5365;var _0x2003f2;const _0x2c1473=_0x5c4979(E),_0x51b208=_0x5c4979(_0x160dca),_0x40f43b=_0x3d051a(()=>{const _0x167932=_0x6813;_0x2c1473[_0x167932(0x2ef)]=ne['Exited'];},[_0x2c1473]),_0x53948c=_0x3d051a(()=>{const _0x103e87=_0x6813;_0x2c1473[_0x103e87(0x2cc)]();},[_0x2c1473]),_0x475f6b=_0x402b9e(_0x2c1473['currentVersion$']),_0x4ea648=_0x402b9e(_0x2c1473[_0x15af23(0x23b)]),_0x44a393=_0x475f6b===((_0x2003f2=_0x4ea648==null?void 0x0:_0x4ea648[0x0])==null?void 0x0:_0x2003f2['id']),_0x410e03=_0x475f6b!==''&&!_0x44a393&&_0x2c1473['canRevert'];return _0x1ad03b(_0x15af23(0x27b),{'className':_0x11326e('univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center',_0x1793da),'children':[_0x52fc54(_0x15af23(0x27b),{'onClick':_0x40f43b,'className':_0x15af23(0x1f7),'children':_0x52fc54(Te,{'className':'univer-text-2xl'})}),_0x52fc54('div',{'className':_0x15af23(0x2df),'children':_0x410e03&&_0x52fc54(_0x4844b3,{'variant':'primary','onClick':_0x53948c,'children':_0x51b208['t']('editHistory.header.revert')})})]});}var Ms=Object[_0x1e5365(0x20a)],Ns=(_0x30cf0f,_0x4c453b,_0x4d6d98,_0x419a50)=>{const _0x23c154=_0x1e5365;for(var _0x161389=_0x419a50>0x1?void 0x0:_0x419a50?Ms(_0x4c453b,_0x4d6d98):_0x4c453b,_0x249dc8=_0x30cf0f[_0x23c154(0x2c9)]-0x1,_0x24c468;_0x249dc8>=0x0;_0x249dc8--)(_0x24c468=_0x30cf0f[_0x249dc8])&&(_0x161389=_0x24c468(_0x161389)||_0x161389);return _0x161389;},y=(_0x41f493,_0x27ad8b)=>(_0x1d40e0,_0xed69f)=>_0x27ad8b(_0x1d40e0,_0xed69f,_0x41f493);let B=class extends _0x2e7b17{constructor(_0x551ede,_0x4c912d,_0x4825a2,_0x5822a5,_0x44c08a,_0x5e3a0b){const _0x3a0296=_0x1e5365;super(),this[_0x3a0296(0x324)]=_0x551ede,this[_0x3a0296(0x20f)]=_0x4c912d,this[_0x3a0296(0x24a)]=_0x4825a2,this['_localeService']=_0x5822a5,this['_historyManagerService']=_0x44c08a,this[_0x3a0296(0x29a)]=_0x5e3a0b,this[_0x3a0296(0x310)]();}['_init'](){const _0x1f2c96=_0x1e5365;this[_0x1f2c96(0x374)](this[_0x1f2c96(0x323)]['currentVersion$']['subscribe'](_0x13016c=>{const _0x263712=_0x1f2c96;_0x13016c&&this[_0x263712(0x323)]['triggerLoadSheet'](_0x13016c);})),this['disposeWithMe'](this[_0x1f2c96(0x324)][_0x1f2c96(0x219)][_0x1f2c96(0x2a7)](_0x4f5e1b=>{const _0xa816d0=_0x1f2c96,_0x4ada1c=this['_historyManagerService'][_0xa816d0(0x295)];_0x4ada1c&&(_0x4f5e1b['subType']===b[_0xa816d0(0x30d)]&&_0x4f5e1b['value']===!0x0&&this[_0xa816d0(0x324)][_0xa816d0(0x307)](new _0x26a2e9(_0x4ada1c)['id'],!0x1),_0x4f5e1b[_0xa816d0(0x2dd)]===b['RenameSheet']&&_0x4f5e1b['value']===!0x0&&this[_0xa816d0(0x324)]['updatePermissionPoint'](new _0x3fcaef(_0x4ada1c)['id'],!0x1),_0x4f5e1b[_0xa816d0(0x2dd)]===b[_0xa816d0(0x33b)]&&_0x4f5e1b[_0xa816d0(0x2e5)]===!0x0&&this['_permissionService'][_0xa816d0(0x307)](new _0x2f7e60(_0x4ada1c)['id'],!0x1),_0x4f5e1b['subType']===b[_0xa816d0(0x1f1)]&&_0x4f5e1b[_0xa816d0(0x2e5)]===!0x0&&this['_permissionService'][_0xa816d0(0x307)](new _0x82c1eb(_0x4ada1c)['id'],!0x1),_0x4f5e1b[_0xa816d0(0x2dd)]===b['Comment']&&_0x4f5e1b['value']===!0x0&&this[_0xa816d0(0x324)][_0xa816d0(0x307)](new _0x26a2e9(_0x4ada1c)['id'],!0x1),_0x4f5e1b[_0xa816d0(0x2dd)]===b['FloatImg']&&_0x4f5e1b[_0xa816d0(0x2e5)]===!0x0&&this['_permissionService']['updatePermissionPoint'](new _0x26a2e9(_0x4ada1c)['id'],!0x1));})),this[_0x1f2c96(0x374)](this[_0x1f2c96(0x20f)][_0x1f2c96(0x2a1)](_0x215b58[_0x1f2c96(0x383)],()=>_0x50384d(Os,this[_0x1f2c96(0x29a)]))),this[_0x1f2c96(0x374)](this['_historyManagerService']['loadingState$']['subscribe'](_0x53db13=>{const _0x428902=_0x1f2c96;_0x53db13===T['Loading']&&(this[_0x428902(0x323)][_0x428902(0x33e)](),this['_messageService'][_0x428902(0x261)]({'type':_0x3ba12b['Info'],'content':this['_localeService']['t'](_0x428902(0x379))})),_0x53db13===T['Loaded']&&this[_0x428902(0x323)][_0x428902(0x269)]();}));}};B=Ns([y(0x0,_0xf9fb9c),y(0x1,_0x5e9040),y(0x2,_0x529e77),y(0x3,_0x4128c6(_0x160dca)),y(0x4,_0x4128c6(E)),y(0x5,_0x4128c6(_0x137262))],B);var bs=Object[_0x1e5365(0x20a)],Ds=(_0x134a28,_0x37c46c,_0x2b1bba,_0x4466d0)=>{const _0x55bc6f=_0x1e5365;for(var _0xd5d6ed=_0x4466d0>0x1?void 0x0:_0x4466d0?bs(_0x37c46c,_0x2b1bba):_0x37c46c,_0x513c60=_0x134a28[_0x55bc6f(0x2c9)]-0x1,_0x23d654;_0x513c60>=0x0;_0x513c60--)(_0x23d654=_0x134a28[_0x513c60])&&(_0xd5d6ed=_0x23d654(_0xd5d6ed)||_0xd5d6ed);return _0xd5d6ed;},Q=(_0x5a33e9,_0x3e764c)=>(_0x19833f,_0x18c36c)=>_0x3e764c(_0x19833f,_0x18c36c,_0x5a33e9);let $=class extends _0x2e7b17{constructor(_0x5d8768,_0x5cc841,_0x1993ab){const _0x2a8c2d=_0x1e5365;super(),l(this,_0x2a8c2d(0x337),new Map()),l(this,_0x2a8c2d(0x1fe),new _0x56b6da({'ranges':new Map(),'active':null})),l(this,_0x2a8c2d(0x290),this[_0x2a8c2d(0x1fe)][_0x2a8c2d(0x32e)]()),(this[_0x2a8c2d(0x323)]=_0x5d8768,this['_transformService']=_0x5cc841,this[_0x2a8c2d(0x213)]=_0x1993ab,this[_0x2a8c2d(0x310)]());}[_0x1e5365(0x310)](){const _0x54b86a=_0x1e5365;this[_0x54b86a(0x337)]=new Map(),this[_0x54b86a(0x374)](this[_0x54b86a(0x323)][_0x54b86a(0x38f)][_0x54b86a(0x2a7)](_0x507489=>{const _0x3c94c0=_0x54b86a;_0x507489&&!this[_0x3c94c0(0x337)][_0x3c94c0(0x32f)](_0x507489)&&this[_0x3c94c0(0x337)]['set'](_0x507489,new Map());})),this[_0x54b86a(0x374)](this[_0x54b86a(0x323)][_0x54b86a(0x359)]['subscribe'](async _0x4dea99=>{const _0xc87588=_0x54b86a;var _0x2be475;_0x4dea99&&(await this[_0xc87588(0x2bb)](_0x4dea99),this[_0xc87588(0x1fe)][_0xc87588(0x260)](((_0x2be475=this[_0xc87588(0x337)][_0xc87588(0x223)](this['_historyManagerService'][_0xc87588(0x295)]))==null?void 0x0:_0x2be475[_0xc87588(0x223)](_0x4dea99))||{'ranges':new Map(),'active':null}));}));}async[_0x1e5365(0x2bb)](_0x2ab81c){const _0x4ddc31=_0x1e5365;var _0xeb822e,_0x544067;const _0x43b181=this['_historyManagerService'][_0x4ddc31(0x303)](_0x2ab81c),_0x6f82b0=this[_0x4ddc31(0x323)]['unitId'];if(!_0x43b181||!_0x6f82b0)return;const _0x3531f4=this['_diffRangesMap'][_0x4ddc31(0x223)](_0x6f82b0);if(_0x3531f4||this[_0x4ddc31(0x337)][_0x4ddc31(0x373)](_0x6f82b0,new Map()),(_0xeb822e=this[_0x4ddc31(0x337)][_0x4ddc31(0x223)](_0x6f82b0))!=null&&_0xeb822e[_0x4ddc31(0x32f)](_0x43b181['id']))return;const {startRev:_0x3653ee,endRev:_0x37dd40}=_0x43b181;if(_0x3653ee===0x1){_0x3531f4[_0x4ddc31(0x373)](_0x43b181['id'],{'ranges':new Map(),'active':null});return;}const _0x36f8a1=_0x3653ee-0x1,_0x40e9ce=_0x37dd40,_0x2d43a0=await this[_0x4ddc31(0x213)]['fetchMissingChangesets']({},{'unitID':_0x6f82b0,'from':_0x36f8a1,'to':_0x40e9ce,'type':F[_0x4ddc31(0x25f)]});if(((_0x544067=_0x2d43a0['error'])==null?void 0x0:_0x544067['code'])===X['OK']){const _0x2342e5=_0x2d43a0[_0x4ddc31(0x29d)][_0x4ddc31(0x270)](_0x25cbe9)['map'](_0x4a3433=>_0x4a3433[_0x4ddc31(0x1e9)][_0x4ddc31(0x270)](_0x349ab3=>({..._0x349ab3,'params':{..._0x349ab3[_0x4ddc31(0x2ba)],'memberId':_0x4a3433[_0x4ddc31(0x328)]}})))[_0x4ddc31(0x36c)](),_0x4be2d7=this[_0x4ddc31(0x246)](_0x2342e5),_0x44e821=this['_getActiveSubUnitId'](_0x2342e5),_0x2ba688=this[_0x4ddc31(0x1ea)](_0x4be2d7);_0x3531f4[_0x4ddc31(0x373)](_0x43b181['id'],{'ranges':_0x2ba688,'active':_0x44e821});}}[_0x1e5365(0x246)](_0x2adcc2){const _0x595123=_0x1e5365;let _0x1c6d9e=[];for(let _0x2cccf9=0x0;_0x2cccf9<_0x2adcc2[_0x595123(0x2c9)];_0x2cccf9++){const _0x2b6970=_0x2adcc2[_0x2cccf9];if(_0x1c6d9e[_0x595123(0x31c)](_0x2b6970),_0x2cccf9!==_0x2adcc2['length']-0x1){const _0x49c6fb=_0x2adcc2[_0x2cccf9+0x1],_0x28730e=this[_0x595123(0x365)][_0x595123(0x20b)](_0x1c6d9e,[_0x49c6fb]);_0x28a74e(_0x28730e)?_0x1c6d9e=_0x28730e[_0x595123(0x27d)]:_0x1c6d9e=[];}}return _0x1c6d9e;}['_getActiveSubUnitId'](_0x1722cc){const _0x408a7b=_0x1e5365;let _0x17f7ae=[];return _0x1722cc[_0x408a7b(0x26e)](_0x5e2dd8=>{const _0x2e4ff0=_0x408a7b;if(_0x5e2dd8['id']===_0x46dc0d['id']){const _0x414387=_0x5e2dd8[_0x2e4ff0(0x2ba)];_0x17f7ae[_0x2e4ff0(0x31c)](_0x414387[_0x2e4ff0(0x30e)]['id']);}else{if(_0x5e2dd8['id']===_0x28473b['id']){const _0x14d603=_0x5e2dd8[_0x2e4ff0(0x2ba)];_0x17f7ae[_0x2e4ff0(0x2c9)]>0x0&&(_0x17f7ae=_0x17f7ae['filter'](_0x306b36=>_0x306b36!==_0x14d603[_0x2e4ff0(0x31f)]));}else{if(_0x5e2dd8['id']===_0x57341c['id']){const _0xc21885=_0x5e2dd8[_0x2e4ff0(0x2ba)];_0xc21885[_0x2e4ff0(0x2c4)]?_0x17f7ae=_0x17f7ae[_0x2e4ff0(0x377)](_0x3fadac=>_0x3fadac!==_0xc21885[_0x2e4ff0(0x31f)]):_0x17f7ae[_0x2e4ff0(0x31c)](_0xc21885[_0x2e4ff0(0x31f)]);}else{const _0x56e1f1=_0x5e2dd8['params'];_0x56e1f1[_0x2e4ff0(0x31f)]&&_0x17f7ae[_0x2e4ff0(0x31c)](_0x56e1f1['subUnitId']);}}}}),_0x17f7ae[_0x408a7b(0x2c9)]>0x0?_0x17f7ae[_0x17f7ae[_0x408a7b(0x2c9)]-0x1]:null;}[_0x1e5365(0x1ea)](_0x1d7cef){const _0xc2f2d7=_0x1e5365,_0x341947=new Map();return _0x1d7cef[_0xc2f2d7(0x26e)](_0x115e1f=>{const _0x220a32=_0xc2f2d7;var _0x2961dc,_0x293394;const _0x242b31=(_0x2961dc=_0x115e1f['params'])==null?void 0x0:_0x2961dc[_0x220a32(0x1fa)];if(_0x242b31){_0x341947[_0x220a32(0x32f)](_0x242b31)||_0x341947['set'](_0x242b31,[]);const _0x10e4bb=this[_0x220a32(0x266)](_0x115e1f);(_0x293394=_0x341947[_0x220a32(0x223)](_0x242b31))==null||_0x293394[_0x220a32(0x31c)](..._0x10e4bb);}}),_0x341947[_0xc2f2d7(0x26e)]((_0xdbbe7b,_0xd4bd2f)=>{const _0x111a8a=_0xc2f2d7;_0x341947[_0x111a8a(0x373)](_0xd4bd2f,this[_0x111a8a(0x350)](_0xdbbe7b));}),_0x341947;}['_getRangesByMutation'](_0x41528b){const _0x5c1f26=_0x1e5365;switch(_0x41528b['id']){case _0xd71228['id']:{const _0x597f08=_0x41528b[_0x5c1f26(0x2ba)];return _0x597f08[_0x5c1f26(0x2a2)][_0x5c1f26(0x270)](_0x4fbc32=>_0x4fbc32[_0x5c1f26(0x31d)][_0x5c1f26(0x270)](_0x11cab1=>({'range':_0x11cab1,'unitId':_0x597f08[_0x5c1f26(0x295)],'subUnitId':_0x597f08[_0x5c1f26(0x31f)]})))[_0x5c1f26(0x36c)]();}case _0x41c51d['id']:{const _0x1331d1=_0x41528b[_0x5c1f26(0x2ba)];return _0x1331d1[_0x5c1f26(0x31d)]['map'](_0x49d4ce=>({'range':_0x49d4ce,'unitId':_0x1331d1['unitId'],'subUnitId':_0x1331d1['subUnitId']}));}case _0x2476b7['id']:{const _0x55b79e=_0x41528b[_0x5c1f26(0x2ba)];return[{'range':_0x55b79e['range'],'unitId':_0x55b79e['unitId'],'subUnitId':_0x55b79e[_0x5c1f26(0x31f)]}];}case _0x183658['id']:{const _0x5a64a6=_0x41528b[_0x5c1f26(0x2ba)];return[{'range':_0x5a64a6[_0x5c1f26(0x2cd)],'unitId':_0x5a64a6['unitId'],'subUnitId':_0x5a64a6[_0x5c1f26(0x31f)]}];}case _0x3066f5['id']:{const _0x34e243=_0x41528b[_0x5c1f26(0x2ba)],{from:_0x488544,to:_0x33580e,unitId:_0xa75b99}=_0x34e243;return[{'range':he(_0x488544[_0x5c1f26(0x2e5)]),'unitId':_0xa75b99,'subUnitId':_0x488544['subUnitId']},{'range':he(_0x33580e[_0x5c1f26(0x2e5)]),'unitId':_0xa75b99,'subUnitId':_0x33580e[_0x5c1f26(0x31f)]}];}case _0x217b6b['id']:{const _0x35253f=_0x41528b[_0x5c1f26(0x2ba)],{unitId:_0x12c338,subUnitId:_0x2dbebc,sourceRange:_0x3f53a8,targetRange:_0xd08ce0}=_0x35253f,_0x166db5=_0x3f53a8['endRow']-_0x3f53a8[_0x5c1f26(0x2ff)]+0x1;return[{'range':_0xd08ce0['startRow']<=_0x3f53a8[_0x5c1f26(0x2ff)]?_0xd08ce0:{..._0xd08ce0,'startRow':_0xd08ce0[_0x5c1f26(0x2ff)]-_0x166db5,'endRow':_0xd08ce0[_0x5c1f26(0x20d)]-_0x166db5},'unitId':_0x12c338,'subUnitId':_0x2dbebc}];}case _0x4afdfe['id']:{const _0x680334=_0x41528b['params'],{unitId:_0x40e937,subUnitId:_0x1ff425,sourceRange:_0x444b35,targetRange:_0xb38904}=_0x680334,_0x5ab5de=_0x444b35[_0x5c1f26(0x2ab)]-_0x444b35[_0x5c1f26(0x3a0)]+0x1;return[{'range':_0xb38904[_0x5c1f26(0x3a0)]<=_0x444b35[_0x5c1f26(0x3a0)]?_0xb38904:{..._0xb38904,'startColumn':_0xb38904[_0x5c1f26(0x3a0)]-_0x5ab5de,'endColumn':_0xb38904[_0x5c1f26(0x2ab)]-_0x5ab5de},'unitId':_0x40e937,'subUnitId':_0x1ff425}];}case _0x18cdf7['id']:{const _0x2344b2=_0x41528b[_0x5c1f26(0x2ba)],{values:_0x1c2798,unitId:_0x34d21e,subUnitId:_0x245e3b}=_0x2344b2;return Object[_0x5c1f26(0x342)](_0x1c2798)[_0x5c1f26(0x270)](_0x29ec71=>_0x29ec71[_0x5c1f26(0x31d)][_0x5c1f26(0x270)](_0x2aceb9=>({'range':_0x2aceb9,'unitId':_0x34d21e,'subUnitId':_0x245e3b})))[_0x5c1f26(0x36c)]();}case _0x30dea7['id']:{const _0x4c4e5c=_0x41528b[_0x5c1f26(0x2ba)],{ranges:_0x940fa8,unitId:_0x15d60f,subUnitId:_0x5dd679}=_0x4c4e5c;return _0x940fa8[_0x5c1f26(0x270)](_0x5e6659=>({'range':_0x5e6659,'unitId':_0x15d60f,'subUnitId':_0x5dd679}));}case _0x319753['id']:{const _0x148a89=_0x41528b[_0x5c1f26(0x2ba)],{unitId:_0x34a108,subUnitId:_0x12d3d5,range:_0x488748}=_0x148a89;return[{'range':_0x488748,'unitId':_0x34a108,'subUnitId':_0x12d3d5}];}case _0x4bf978['id']:{const _0x1e2c01=_0x41528b[_0x5c1f26(0x2ba)];return _0x1e2c01[_0x5c1f26(0x309)][_0x5c1f26(0x31d)][_0x5c1f26(0x270)](_0x5c8e75=>({'range':_0x5c8e75,'unitId':_0x1e2c01[_0x5c1f26(0x295)],'subUnitId':_0x1e2c01['subUnitId']}));}case _0x10ffb0['id']:{const _0x162b4d=_0x41528b[_0x5c1f26(0x2ba)];return _0x162b4d[_0x5c1f26(0x3a1)]?ys(_0x162b4d[_0x5c1f26(0x3a1)])[_0x5c1f26(0x270)](_0x5906b1=>({'range':_0x5906b1,'unitId':_0x162b4d[_0x5c1f26(0x295)],'subUnitId':_0x162b4d['subUnitId']})):[];}case _0x1d2c2a['id']:{const _0x7d9b1c=_0x41528b['params'];return[{'range':_0x7d9b1c[_0x5c1f26(0x2cd)],'unitId':_0x7d9b1c[_0x5c1f26(0x295)],'subUnitId':_0x7d9b1c[_0x5c1f26(0x31f)]}];}case _0x5b0c69['id']:{const _0x209eb3=_0x41528b[_0x5c1f26(0x2ba)];return(Array[_0x5c1f26(0x204)](_0x209eb3[_0x5c1f26(0x309)])?_0x209eb3[_0x5c1f26(0x309)]:[_0x209eb3[_0x5c1f26(0x309)]])[_0x5c1f26(0x270)](_0xc8b9d5=>_0xc8b9d5['ranges']['map'](_0x40c9aa=>({'range':_0x40c9aa,'unitId':_0x209eb3[_0x5c1f26(0x295)],'subUnitId':_0x209eb3[_0x5c1f26(0x31f)]})))[_0x5c1f26(0x36c)]();}case _0xd3c495['id']:{const _0xa70440=_0x41528b[_0x5c1f26(0x2ba)];return _0xa70440[_0x5c1f26(0x309)][_0x5c1f26(0x31d)][_0x5c1f26(0x270)](_0x120522=>({'range':_0x120522,'unitId':_0xa70440['unitId'],'subUnitId':_0xa70440['subUnitId']}));}default:return[];}}['_combineRanges'](_0x313e8e){const _0x1d8466=_0x1e5365;if(_0x313e8e[_0x1d8466(0x2c9)]<=0x1)return _0x313e8e;const _0x3336d7=new Map();return _0x313e8e['forEach'](_0x1d3bd1=>{const _0x180b98=_0x1d8466;var _0x1dd77b;const {unitId:_0x44bdab,subUnitId:_0x132725}=_0x1d3bd1,_0x166410=_0x44bdab+'-'+_0x132725;_0x3336d7['has'](_0x166410)?(_0x1dd77b=_0x3336d7[_0x180b98(0x223)](_0x166410))==null||_0x1dd77b['push'](_0x1d3bd1):_0x3336d7[_0x180b98(0x373)](_0x166410,[_0x1d3bd1]);}),Array[_0x1d8466(0x362)](_0x3336d7['values']())[_0x1d8466(0x270)](_0x448059=>new _0x400929()[_0x1d8466(0x380)](..._0x448059[_0x1d8466(0x270)](_0x462bb5=>_0x462bb5[_0x1d8466(0x2cd)]))['merge']()[_0x1d8466(0x270)](_0x1baa4f=>({'range':_0x1baa4f,'unitId':_0x448059[0x0][_0x1d8466(0x295)],'subUnitId':_0x448059[0x0][_0x1d8466(0x31f)]})))['flat']();}};$=Ds([Q(0x0,_0x4128c6(E)),Q(0x1,_0x2dd744),Q(0x2,_0x5de8e1)],$);function he(_0x4f5acd){const _0x201152=_0x1e5365;return new _0x5e11b0(_0x4f5acd)[_0x201152(0x1f2)]();}function ys(_0x29e51e){const _0x253dc0=_0x1e5365,_0x59a760=new _0x5e11b0(_0x29e51e),_0x50c25f=new _0x5e11b0();return _0x59a760[_0x253dc0(0x2b5)]((_0x2654eb,_0x4fd1b4)=>{_0x50c25f['setValue'](_0x2654eb,_0x4fd1b4,0x1);}),_0x40fd3e(_0x50c25f);}var Cs=Object['getOwnPropertyDescriptor'],ws=(_0x46c68f,_0x56c0aa,_0x46da04,_0x4b458a)=>{const _0x13c81d=_0x1e5365;for(var _0x45a9f3=_0x4b458a>0x1?void 0x0:_0x4b458a?Cs(_0x56c0aa,_0x46da04):_0x56c0aa,_0x482423=_0x46c68f[_0x13c81d(0x2c9)]-0x1,_0xa82500;_0x482423>=0x0;_0x482423--)(_0xa82500=_0x46c68f[_0x482423])&&(_0x45a9f3=_0xa82500(_0x45a9f3)||_0x45a9f3);return _0x45a9f3;},C=(_0x4d6603,_0x468f51)=>(_0x5b987d,_0x581e6b)=>_0x468f51(_0x5b987d,_0x581e6b,_0x4d6603);let te=class extends _0x2e7b17{constructor(_0x1bedfb,_0x300678,_0xa5df17,_0x193ec0,_0x19c80f,_0x58a4f7,_0x4e5f18){const _0x789260=_0x1e5365;super(),l(this,_0x789260(0x23f),new Set()),l(this,_0x789260(0x3a6),null),(this[_0x789260(0x2cb)]=_0x1bedfb,this[_0x789260(0x323)]=_0x300678,this[_0x789260(0x28f)]=_0xa5df17,this[_0x789260(0x32b)]=_0x193ec0,this['_renderManagerService']=_0x19c80f,this['_sheetSkeletonManagerService']=_0x58a4f7,this[_0x789260(0x371)]=_0x4e5f18,this[_0x789260(0x310)]());}[_0x1e5365(0x310)](){const _0x3ee766=_0x1e5365;this['_initRender'](),this[_0x3ee766(0x249)]();}[_0x1e5365(0x2f0)](){const _0xf94379=_0x1e5365;this[_0xf94379(0x374)](_0x266fed([this[_0xf94379(0x323)]['loadingState$'],this[_0xf94379(0x336)][_0xf94379(0x263)]])[_0xf94379(0x205)](_0x3d42f3(([_0x5b1ee4,_0x46c3a8])=>{const _0x56411a=_0xf94379;if(_0x5b1ee4===T[_0x56411a(0x368)]&&_0x46c3a8){const _0x42d688=_0x46c3a8[_0x56411a(0x27e)];return this[_0x56411a(0x28f)]['currentVersionDiff$'][_0x56411a(0x205)](_0x46d088(_0x1d8a67=>{const _0x3c06b5=_0x56411a,_0x5b49b3=new Map();return _0x1d8a67[_0x3c06b5(0x31d)][_0x3c06b5(0x26e)]((_0x3f1c29,_0x5ec290)=>{const _0x4216ba=_0x3c06b5,_0x4d46cc=_0x3f1c29['filter'](_0x5691cd=>_0x5691cd[_0x4216ba(0x31f)]===_0x42d688);_0x5b49b3[_0x4216ba(0x373)](_0x5ec290,_0x4d46cc);}),{'skeleton':_0x46c3a8,'diffs':_0x5b49b3};}));}return _0x374640({'skeleton':null,'diffs':new Map()});}))[_0xf94379(0x2a7)](({skeleton:_0x5e9a9a,diffs:_0x139bb2})=>{const _0x262af6=_0xf94379;this[_0x262af6(0x231)](),_0x5e9a9a&&this['_updateDiffMarks'](_0x5e9a9a,_0x139bb2);})),this[_0xf94379(0x374)](this[_0xf94379(0x336)][_0xf94379(0x263)][_0xf94379(0x2a7)](_0x4c52d2=>{const _0x26fb10=_0xf94379;if(_0x4c52d2==null)return;const {skeleton:_0x44fc1c}=_0x4c52d2,{scene:_0x279653}=this[_0x26fb10(0x2cb)];_0x279653[_0x26fb10(0x268)][_0x26fb10(0x1f3)](_0x1ccd01(_0x527488=>{const _0x49a90b=_0x26fb10;var _0x489662,_0x21c47a;const {offsetX:_0x23bd05,offsetY:_0x57006c}=_0x527488,{x:_0x4ed960,y:_0x51fdb3}=_0x279653[_0x49a90b(0x308)](_0x1b4010[_0x49a90b(0x22d)]([_0x23bd05,_0x57006c])),{scaleX:_0x163903,scaleY:_0x2e7cfd}=_0x279653[_0x49a90b(0x2ae)](),_0x4353ae=_0x279653[_0x49a90b(0x242)](_0x306819[_0x49a90b(0x2a4)]),_0x31b43d=_0x279653[_0x49a90b(0x390)](_0x1b4010['FromArray']([_0x4ed960,_0x51fdb3]),_0x4353ae),_0x26c1d4=_0x44fc1c[_0x49a90b(0x33d)](_0x23bd05,_0x57006c,_0x163903,_0x2e7cfd,_0x31b43d);((_0x489662=this[_0x49a90b(0x3a6)])==null?void 0x0:_0x489662[_0x49a90b(0x27f)])===_0x26c1d4[_0x49a90b(0x27f)]&&((_0x21c47a=this[_0x49a90b(0x3a6)])==null?void 0x0:_0x21c47a['row'])===_0x26c1d4['row']||this[_0x49a90b(0x23f)][_0x49a90b(0x26e)](_0x315e4a=>{const _0x58f005=_0x49a90b;_0x315e4a[_0x58f005(0x353)](_0x26c1d4);});},0x64));}));}[_0x1e5365(0x249)](){const _0x5e21b0=_0x1e5365;this['disposeWithMe'](this['_historyManagerService'][_0x5e21b0(0x1f8)][_0x5e21b0(0x2a7)](_0x5c86d3=>{const _0x467394=_0x5e21b0,_0x35a9ed=new _0x57bd46();return _0x5c86d3===T[_0x467394(0x368)]&&(_0x35a9ed[_0x467394(0x209)](),_0x35a9ed[_0x467394(0x380)](this[_0x467394(0x28f)][_0x467394(0x290)][_0x467394(0x2a7)](_0x5d0fa7=>{const _0x562873=_0x467394;_0x5d0fa7['active']&&this[_0x562873(0x371)]['executeCommand'](_0x23ef2c['id'],{'unitId':this[_0x562873(0x2cb)][_0x562873(0x295)],'subUnitId':_0x5d0fa7[_0x562873(0x265)]});}))),()=>_0x35a9ed[_0x467394(0x209)]();}));}['_updateDiffMarks'](_0x14693d,_0x4a6fee){const _0x4994ef=_0x1e5365;var _0x4764c1;const _0x1178ee=(_0x4764c1=this[_0x4994ef(0x336)][_0x4994ef(0x318)]())==null?void 0x0:_0x4764c1[_0x4994ef(0x2d1)];if(!_0x1178ee)return;this[_0x4994ef(0x23f)][_0x4994ef(0x26e)](_0x11c044=>{const _0x2b52a9=_0x4994ef;_0x11c044[_0x2b52a9(0x2f4)]();});const {scene:_0x4b4289}=this[_0x4994ef(0x2cb)],_0x518dae=Array[_0x4994ef(0x362)](_0x4a6fee['keys']())[_0x4994ef(0x270)](_0x25cae5=>_0x4a6fee[_0x4994ef(0x223)](_0x25cae5)[_0x4994ef(0x270)](_0x3fdf68=>{const _0x4beb31=_0x4994ef;var _0x2b53d5;const {range:_0x262f00,subUnitId:_0x41f034,unitId:_0x2c4bb0}=_0x3fdf68,{startColumn:_0x23cc41,startRow:_0x3c7c0d,endColumn:_0x176f40,endRow:_0x1adec1}=_0x262f00,_0x4081b8=_0x54cafd(_0x3c7c0d,_0x23cc41,_0x4b4289,_0x1178ee),_0x28246f=_0x54cafd(_0x1adec1,_0x176f40,_0x4b4289,_0x1178ee),{columnHeaderHeightAndMarginTop:_0xb4dd9d}=_0x1178ee,{startX:_0x475997,startY:_0x4de3bd}=_0x4081b8,{endX:_0xcc8450,endY:_0x508ea9}=_0x28246f,_0x2f86e3=_0xcc8450-_0x475997,_0x50709d=_0x508ea9-_0x4de3bd,_0x5bb2a9={'labelPosition':_0x4de3bd-_0xb4dd9d>=0x14?_0x4beb31(0x296):'bottom','sheetID':_0x41f034,'range':_0x262f00,'color':_0x4beb31(0x235),'fillAfterStrokeEnabled':!0x0,'backgroundColor':'rgba(58,\x2096,\x20247,\x200.20)','name':((_0x2b53d5=this[_0x4beb31(0x323)][_0x4beb31(0x2e6)](_0x25cae5))==null?void 0x0:_0x2b53d5[_0x4beb31(0x3a7)])||'','selection':_0x2c4bb0+'-'+_0x41f034+'-'+_0x262f00[_0x4beb31(0x3a0)]+'-'+_0x262f00['startRow']+'-'+_0x262f00[_0x4beb31(0x2ab)]+'-'+_0x262f00[_0x4beb31(0x20d)],'left':_0x475997,'top':_0x4de3bd,'width':_0x2f86e3,'height':_0x50709d,'evented':!0x1,'zIndex':0x1};return new _0x4c056a('',_0x5bb2a9);}))[_0x4994ef(0x36c)]();_0x4b4289[_0x4994ef(0x392)](_0x518dae,0x1),this[_0x4994ef(0x23f)]=new Set(_0x518dae);}[_0x1e5365(0x231)](){const _0x14a306=_0x1e5365;var _0x36b6f7;(_0x36b6f7=this[_0x14a306(0x23f)])==null||_0x36b6f7['forEach'](_0x4c6e15=>_0x4c6e15[_0x14a306(0x209)]());}['_getSheetObject'](){const _0x4f1040=_0x1e5365;return _0x450d87(this[_0x4f1040(0x32b)],this[_0x4f1040(0x1f9)]);}};te=ws([C(0x1,_0x4128c6(E)),C(0x2,_0x4128c6($)),C(0x3,_0x35d336),C(0x4,_0x744638),C(0x5,_0x4128c6(_0x1fabd1)),C(0x6,_0x13490e)],te);function Ps(){const _0xfe8f55=_0x1e5365,_0x2e48cc=_0x5c4979(E),_0x10befb=_0x402b9e(_0x2e48cc['versions$']),[_0x408e73,_0x11670d]=_0x4480c2(!0x1),_0x52c9e8=cs(_0x10befb);return _0x10befb?_0x52fc54('div',{'className':'univer-mx-[-20px]\x20univer-overflow-hidden','children':_0x1ad03b(_0xfe8f55(0x27b),{'className':_0xfe8f55(0x317),'children':[_0x52c9e8[_0xfe8f55(0x270)]((_0x428ae6,_0x894578)=>_0x1ad03b(_0x581262,{'children':[_0x52fc54($s,{'date':_0x428ae6[_0xfe8f55(0x331)]}),_0x428ae6[_0xfe8f55(0x201)]['map']((_0x20fd80,_0x3ce836)=>_0x52fc54(Vs,{'index':[_0x894578,_0x3ce836],'item':_0x20fd80},_0x894578+'-'+_0x3ce836))]},_0x428ae6[_0xfe8f55(0x331)])),_0x408e73&&_0x52fc54(Ts,{})]})}):_0x52fc54(Ls,{});}function Ts(){const _0x2a0aff=_0x1e5365;return _0x52fc54('div',{'className':'univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','children':_0x52fc54(ae,{'className':_0x2a0aff(0x221)})});}function Ls(){const _0x4e1f3e=_0x1e5365;return _0x52fc54('div',{'className':_0x4e1f3e(0x1fc),'children':_0x52fc54(_0x4e1f3e(0x370),{'className':'univer-text-gray-500','children':_0x52fc54(ae,{'className':'univer-m-auto\x20univer-animate-spin'})})});}function $s(_0x50d280){const _0x272ad8=_0x1e5365,_0x3673dd=_0x5c4979(_0x160dca),{date:_0x4a82b6}=_0x50d280;return _0x52fc54(_0x272ad8(0x27b),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-pl-5\x20univer-text-sm\x20univer-font-medium\x20univer-text-[#1e222b]','children':ee(_0x4a82b6,_0x3673dd[_0x272ad8(0x2e0)]())});}function Vs(_0x46ea9d){const _0x16b836=_0x1e5365,{item:_0x5886fd,index:_0xddfde9}=_0x46ea9d,{time:_0x8907ec,user:_0x234076}=_0x5886fd,[_0x38b62d,_0x3cc03f]=_0xddfde9,_0x32edf0=_0x5c4979(E),_0x437bf1=_0x402b9e(_0x32edf0[_0x16b836(0x359)],'',!0x0)===_0x5886fd['id'],_0x42a5f1=_0x38b62d===0x0&&_0x3cc03f===0x0,_0x13e366=!_0x42a5f1&&_0x32edf0['canRevert'],_0x4cc4c4=_0x5c4979(_0x160dca),_0x11e6e7=_0x4cc4c4['getCurrentLocale'](),_0x386379=re(_0x8907ec,_0x11e6e7),_0x4d6d27=_0x4cc4c4['t'](_0x16b836(0x238)),_0x16f8a3=_0x3d051a(_0x212f43=>{const _0x28d10e=_0x16b836;_0x32edf0[_0x28d10e(0x2ee)]!==T[_0x28d10e(0x233)]&&(_0x32edf0['currentVersion']=_0x212f43);},[_0x32edf0]),_0x19cda6=_0x3d051a(_0x4e14c6=>{_0x32edf0['triggerRevert'](_0x4e14c6);},[_0x32edf0]);return _0x1ad03b(_0x16b836(0x27b),{'className':_0x11326e(_0x16b836(0x278),{'univer-bg-gray-50':_0x437bf1}),'onClick':()=>_0x16f8a3(_0x5886fd['id']),'children':[_0x1ad03b(_0x16b836(0x27b),{'className':'univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','children':[_0x52fc54(_0x16b836(0x27b),{'className':_0x16b836(0x29c)}),_0x1ad03b('div',{'className':_0x16b836(0x23a),'children':[_0x52fc54(_0x16b836(0x370),{'children':_0x386379[_0x16b836(0x33f)]}),_0x42a5f1&&_0x52fc54(_0x16b836(0x370),{'className':_0x16b836(0x2d9),'children':_0x4d6d27})]}),_0x52fc54(_0x16b836(0x27b),{'children':_0x13e366&&_0x52fc54(_0x3fbcd1,{'title':_0x4cc4c4['t'](_0x16b836(0x1f6)),'children':_0x52fc54(_0x16b836(0x27b),{'onClick':_0x234631=>{_0x234631['stopPropagation'](),_0x19cda6(_0x5886fd['id']);},'className':'univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-text-gray-400\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','children':_0x52fc54(Le,{})})})})]}),_0x52fc54(_0x16b836(0x27b),{'className':'univer-pl-[26px]\x20univer-text-sm\x20univer-leading-5\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':as(_0x5886fd,_0x4cc4c4)})]});}var ks=Object['getOwnPropertyDescriptor'],xs=(_0x44488a,_0x481879,_0x2cc158,_0x120a4f)=>{const _0x11965a=_0x1e5365;for(var _0x5545c9=_0x120a4f>0x1?void 0x0:_0x120a4f?ks(_0x481879,_0x2cc158):_0x481879,_0x2bc656=_0x44488a[_0x11965a(0x2c9)]-0x1,_0x182edf;_0x2bc656>=0x0;_0x2bc656--)(_0x182edf=_0x44488a[_0x2bc656])&&(_0x5545c9=_0x182edf(_0x5545c9)||_0x5545c9);return _0x5545c9;},k=(_0x265939,_0x2c283b)=>(_0x2d79af,_0x2dbfe5)=>_0x2c283b(_0x2d79af,_0x2dbfe5,_0x265939);function _0x357c(){const _0x3575a7=['Init','_loadingState$','setDV','endColumn','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','EditWorksheetCell','getAncestorScale','xlink:href','querySelector','0\x200\x2016\x2017','getConfig','entries','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','forValue','ManageCollaborator','YUUMI_RATE_OVER_LIMIT','_confirmService','closeAll','params','ensureVersion','20DWINoT','PivotTable','RenameSheet','View','commands','error','revertSheet','_maskElement','hidden','register','MoveWorksheet','loading','_initPanel','length','padStart','_context','triggerRevert','range','getVersions','APPLY_REVISION_CONFILICT','INVITE_CODE_HAS_BEEN_UES','skeleton','APPLY_REJECT','onStarting','action','UNAUTHENTICATED','38551nskSex','icon','editHistory.panel.revertConfirmText','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','PERMISSION_DENIED','_lastLabel','user','subType','_openPanel','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','getCurrentLocale','Filter','editHistory.panel.unknownUser','getInterceptPoints','setFrozen','value','getMember','startRevision','edit-history-viewer.config','clipPath','command','find','editSheet','&lastLabel=','loadingState','status','_initRender','SelectUnProtectedCells','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','Delete','makeDirty','editHistory.panel.title','100%','editHistory.panel.cancel','endRevision','indexOf','append','fill','history-panel','children','RecoverHistory','startRow','RenameWorksheet','rect','scrollEvent$','getVersion','disposeUnit','parse','_currentVersion$','updatePermissionPoint','getRelativeToViewportCoord','rule','toISOString','addSparkline','SetCellStyle','Edit','sheet','editHistory.panel.currentUser','_init','loadMoreVersions','Share','#0B9EFB','History','UNIVER_PROJECT','insertSheet','univer-h-full\x20univer-overflow-auto\x20univer-border-t\x20univer-border-gray-200','getCurrent','98cOkrEp','addProtection','_createUnit','push','ranges','InsertRow','subUnitId','LICENSE_IMPORT_SIZE_EXCEEDED','_getAPIPrefix','MOBILE_VERIFY_CODE_MISMATCH','_historyManagerService','_permissionService','blockMeta','zIndex','CHANGESET_REVISION_CONFILICT','userID','fetchThroughInterceptors','ViewHistory','_univerInstanceService','ViemRwHgtClWdt','APPLY_PERMISSION_DENIED','asObservable','has','confirm-revert-revision','dateString','_canRevert','registerRenderModule','justifyContent','propertyIsEnumerable','_sheetSkeletonManagerService','_diffRangesMap','call','history-mask','LICENSE_EXPORT_SIZE_EXCEEDED','MoveSheet','createTime','getCellPositionByOffset','showMask','time','YUUMI_ALL_TABLES_IS_INVALID','attrs','values','PY_RUNTIME_SCRIPT_ERROR','trim','getOwnPropertySymbols','INVITE_CODE_ALREADY_BOUND','anonymous','_httpService','triggerLoadVersions','_versions$','_configService','/universer-api/history','SelectProtectedCells','_historyFetchService','style','_combineRanges','back-icon','idSuffix','onMouseMove','open','http://www.w3.org/2000/svg','INVITE_CODE_REQUIRED','blocks','getElementById','currentVersion$','CONNECTOR_DATA_TOO_LARGE','Print','UNRECOGNIZED','Copy','white','defs','YUUMI_CONNECTOR_URL_NOT_FOUND','_hasMore','from','SetCellValue','setCF','_transformService','getHours','/list?length=20','Loaded','mask','_workbookDataCache','defIds','flat','getMinutes','YUUMI_AI_RUN_FAILED','colorChannel1','span','_commandService','loaded','set','disposeWithMe','.univer-app-container-content','width','filter','display','editHistory.info.loading','23567830wUWtbr','YUUMI_SUBSCRIPTION_NOT_FOUND','WECHAT_HAS_BEEN_BOUND','loading-multi-icon','interceptor','_fetching','add','445536SZVkCK','_localeService','HEADER','BackIcon','MOBILE_HAS_BEEN_BOUND','12575898gOaORr','[HistoryFetchService]:\x20request\x20snapshot\x20error!','Exited','editHistory.action.revertSheetSuffix','then','getCurrentVersion','restore-icon_clip0_1247_2','INTERNAL_ERROR','TOO_MANY_REQUESTS','unitId$','getVpScrollXYInfoByPosToVp','init','addObjects','restore-icon','EMAIL_VERIFY_CODE_MISMATCH','Export','function','INVALID_INVITE_CODE','evenodd','DeleteRow','createUnit','string','setConfig','color','RestoreIcon','createElement','startColumn','cellValue','EMAIL_HAS_BEEN_BOUND','editHistory.panel.revertConfirm','UNIVER_DOC','UniverIcon','_lastPointer','name','extend','2xCuEoM','pluginName','absolute','mutations','_extractRanges','entered','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','CreatePermissionObject','_maskContainer','LICENSE_DISTRO_REJECTED','VIRTUAL_VERSION_NOW','HideSheet','getDataRange','subscribeEvent','Sort','_unitId$','editHistory.panel.revertDesc','univer-ml-2.5\x20univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20hover:univer-bg-[rgba(30,34,43,0.06)]','loadingState$','_renderManagerService','memberId','body','univer-flex\x20univer-items-center\x20univer-justify-center','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_currentVersionDiff$','LICENSE_MAX_UNITS_EXCEEDED','_revertRevision$','versions','currentColor','ALREADY_EXISTS','isArray','pipe','close','Comment','path','dispose','getOwnPropertyDescriptor','transformMutations','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','endRow','SetColumnStyle','_uiPartsService','includes','0\x200\x2016\x2016','USER_NOT_INVITED_CODE','_snapshotServerService','editHistory.action.revertSheetPrefix','removeSheet','SetWorksheetStyle','focusUnit','NOT_FOUND','permissionPointUpdate$','some','loadSheet','rgba(225,\x20225,\x20225,\x200.5)','userId','UNIVER_SLIDE','RwHgtClWdt','backgroundColor','univer-animate-spin','use','get','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getDialogs$','LoadingMultiIcon','setState','SetRowStyle','_sidebarService','EditExtraObject','APPLY_NON_SEQUENTIAL_REVISION','_updateVersions','FromArray','apply','height','none','_removeDiffMarks','ViewFilter','Loading','SNAPSHOT_HAS_BEEN_REMOVED','rgba(58,\x2096,\x20247,\x200.20)','SNAPSHOT_INVALID_SNAPSHOT','now','editHistory.panel.currentVersion','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','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','versions$','1000','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','5HdjJXo','_diffs','workbook','revertRevision$','getViewport','onSteady','date','state$','_transformMutationByOrder','editHistory.panel.confirm','displayName','_initActiveSwitch','_messageService','COMPRESS_MUTATION_APPLY','triggerLoadSheet','code','center','url(#$1','Today','concat','toString','INVALID_ARGUMENT','_members','CopySheet','prototype','DeleteSheet','Entered','_sidebarDisposable','getUnitId','hasOwnProperty','editHistory.action.etc','ENSURE_SNAPSHOT_EXECUTION','split','UNIVER_SHEET','next','show','_historyContainerId','currentSkeleton$','_componentManager','active','_getRangesByMutation','assign','onPointerMove$','hideMask','FloatImg','LOGIN_FAILED','currentVersion','_compressMutationService','forEach','_cellEditorManagerService','map','5030524VHEHbC','CreateSheet','_status$','HideWorksheet','YUUMI_URL_COL_OUT_OF_RANGE','confirm','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','univer-flex\x20univer-h-[60px]\x20univer-cursor-default\x20univer-flex-col\x20univer-justify-center\x20univer-px-4\x20univer-py-1.5','YUUMI_UNABLE_LOAD_URL','ZH_CN','div','createSheet','m1Prime','sheetId','column','status$','680840MnotjC','editHistory.panel.listFetchError','6206964ofyJSr','tag','keys','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','APPLY_DUPLICATED','InsertHyperlink','current','Duplicate','DeleteWorksheet','className','svg','url(#restore-icon_clip0_1247_2)','_versionDiffService','currentVersionDiff$','editHistory.action.','InsertColumn','substring','flex','unitId','top','1em','YUUMI_NO_CUBOID_FOR_QUESTION','getUnitOnRev','_injector','_config','univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-400','changesets','recoverTime','_initMaskContainer','exited','registerComponent','rules','random','VIEW_MAIN','deleteProtection','CreateWorksheet','subscribe'];_0x357c=function(){return _0x3575a7;};return _0x357c();}const de=_0x1e5365(0x2fc);let j=class extends _0x2e7b17{constructor(_0x889b79,_0x24a41a,_0x17ffad,_0x4e846c){const _0x26c814=_0x1e5365;super(),l(this,_0x26c814(0x259),null),(this[_0x26c814(0x229)]=_0x889b79,this[_0x26c814(0x264)]=_0x24a41a,this[_0x26c814(0x382)]=_0x17ffad,this[_0x26c814(0x323)]=_0x4e846c,this['_init']());}[_0x1e5365(0x310)](){const _0x4cc004=_0x1e5365;this[_0x4cc004(0x2c8)](),this[_0x4cc004(0x2de)]();}[_0x1e5365(0x2de)](){const _0x3ba33a=_0x1e5365;if(this['_sidebarDisposable'])return;const _0xbf2f0f={'header':{'title':this[_0x3ba33a(0x382)]['t'](_0x3ba33a(0x2f5))},'children':{'label':de},'onClose':()=>{const _0x15dfa5=_0x3ba33a;this['_sidebarDisposable']=null,this[_0x15dfa5(0x323)][_0x15dfa5(0x2ef)]=ne[_0x15dfa5(0x388)];}};this[_0x3ba33a(0x259)]=this['_sidebarService'][_0x3ba33a(0x354)]({..._0xbf2f0f});}['_initPanel'](){const _0xdf2571=_0x1e5365;this['disposeWithMe'](this[_0xdf2571(0x264)][_0xdf2571(0x2c5)](de,Ps)),this[_0xdf2571(0x374)](this['_sidebarService'][_0xdf2571(0x302)]['pipe'](_0x4c54a7(0x64))['subscribe'](_0xc20886=>{const _0x2d57ef=_0xdf2571,{target:_0xc882fb}=_0xc20886||{};if(_0xc882fb){const {scrollTop:_0x1a48aa,scrollHeight:_0x905002,clientHeight:_0x1e705c}=_0xc882fb;_0x1a48aa+_0x1e705c>=_0x905002-0x5&&this[_0x2d57ef(0x323)][_0x2d57ef(0x311)]();}}));}};j=xs([k(0x0,_0x92b838),k(0x1,_0x4128c6(_0x40531c)),k(0x2,_0x4128c6(_0x160dca)),k(0x3,_0x4128c6(E))],j);class Us extends _0x2e7b17{constructor(){super(),l(this,'_dialogOptions$',new _0x268644());}[_0x1e5365(0x354)](){return _0x420fd0(()=>{});}[_0x1e5365(0x206)](){}[_0x1e5365(0x2b9)](_0x2d47ed){}[_0x1e5365(0x225)](){const _0x46b1ff=_0x1e5365;return this['_dialogOptions$'][_0x46b1ff(0x32e)]();}}var Hs=Object['defineProperty'],Fs=Object[_0x1e5365(0x20a)],Ys=(_0x244064,_0x2ad8e2,_0x549aeb)=>_0x2ad8e2 in _0x244064?Hs(_0x244064,_0x2ad8e2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x549aeb}):_0x244064[_0x2ad8e2]=_0x549aeb,Bs=(_0x555fa9,_0x2a2e5e,_0x32c790,_0x4fd323)=>{for(var _0x9a7cb1=_0x4fd323>0x1?void 0x0:_0x4fd323?Fs(_0x2a2e5e,_0x32c790):_0x2a2e5e,_0x1265c0=_0x555fa9['length']-0x1,_0x414e62;_0x1265c0>=0x0;_0x1265c0--)(_0x414e62=_0x555fa9[_0x1265c0])&&(_0x9a7cb1=_0x414e62(_0x9a7cb1)||_0x9a7cb1);return _0x9a7cb1;},J=(_0x131bc1,_0x5ef007)=>(_0x3d70af,_0x2a7bec)=>_0x5ef007(_0x3d70af,_0x2a7bec,_0x131bc1),js=(_0x29b6b4,_0x5f5317,_0x2b635b)=>Ys(_0x29b6b4,_0x5f5317+'',_0x2b635b);const As=_0x1e5365(0x2f2);let se=class extends _0x1621af{constructor(_0x4e32d6=_e,_0x302beb,_0xf02d29,_0x5baa75){const _0x6b8f36=_0x1e5365;super(),this[_0x6b8f36(0x29b)]=_0x4e32d6,this[_0x6b8f36(0x29a)]=_0x302beb,this['_renderManagerService']=_0xf02d29,this[_0x6b8f36(0x34b)]=_0x5baa75;const {..._0x1aa1f8}=_0x2d39c7({},_e,this[_0x6b8f36(0x29b)]);this['_configService'][_0x6b8f36(0x39c)](we,_0x1aa1f8);}[_0x1e5365(0x2d3)](){const _0x243121=_0x1e5365;[[E],[B],[$],[Y],[j],[H],[_0x5de8e1,{'useClass':_0x3f13f6}],[_0x453420,{'useClass':Us}],[_0x197ecc,{'useClass':_0x408f48}]][_0x243121(0x26e)](_0x3d8e05=>this[_0x243121(0x29a)][_0x243121(0x380)](_0x3d8e05)),this[_0x243121(0x29a)]['get'](B);}['onRendered'](){const _0x20477a=_0x1e5365;[[te]]['forEach'](_0x3d113a=>{const _0x5b2777=_0x6813;this[_0x5b2777(0x374)](this[_0x5b2777(0x1f9)][_0x5b2777(0x333)](_0x44ce88[_0x5b2777(0x25f)],_0x3d113a));}),this[_0x20477a(0x29a)][_0x20477a(0x223)](H),this[_0x20477a(0x29a)][_0x20477a(0x223)](j);}[_0x1e5365(0x243)](){const _0x3dc113=_0x1e5365;this[_0x3dc113(0x29a)]['get']($);}};js(se,_0x1e5365(0x1e7),As),se=Bs([_0x3aedff(_0x260b13,_0x769c10),J(0x1,_0x4128c6(_0x137262)),J(0x2,_0x744638),J(0x3,_0x4c1d02)],se);export{E as HistoryManagerService,ne as HistoryModeStatus,se as UniverEditHistoryViewerPlugin};
@@ -1 +1 @@
1
- function _0x47aa(){const _0x4ae6e6=['This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','Current\x20Version','edited\x20worksheet','31DdNQgi','set\x20conditional\x20formatting',',\x20etc.','reverted\x20workbook','88Voagjt','Unknown\x20User','749232bPDgjE','832315HnakAZ','Back','156289FYpQma','17272QacAQP','459692gjVRZe','delete\x20protection','set\x20filter','deleted\x20worksheet','add\x20protection','Restore\x20this\x20version','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','set\x20frozen','34719NKXGvL','329598OBvTkq','loading,\x20please\x20wait...','Cancel','set\x20data\x20validation','Failed\x20to\x20get\x20edit\x20history\x20list','Edit\x20History','inserted\x20worksheet','add\x20sparkline','Current\x20User','Confirm','Reverting,\x20please\x20wait...'];_0x47aa=function(){return _0x4ae6e6;};return _0x47aa();}function _0x3fb3(_0x399b12,_0x67a635){const _0x47aa02=_0x47aa();return _0x3fb3=function(_0x3fb350,_0x383a76){_0x3fb350=_0x3fb350-0x10b;let _0x387fc3=_0x47aa02[_0x3fb350];return _0x387fc3;},_0x3fb3(_0x399b12,_0x67a635);}const _0xc2e145=_0x3fb3;(function(_0x54ba8e,_0x4626f8){const _0x2d15a7=_0x3fb3,_0x53978f=_0x54ba8e();while(!![]){try{const _0x1b862a=-parseInt(_0x2d15a7(0x10f))/0x1*(-parseInt(_0x2d15a7(0x119))/0x2)+parseInt(_0x2d15a7(0x122))/0x3+-parseInt(_0x2d15a7(0x11a))/0x4+-parseInt(_0x2d15a7(0x116))/0x5+-parseInt(_0x2d15a7(0x115))/0x6+-parseInt(_0x2d15a7(0x118))/0x7*(-parseInt(_0x2d15a7(0x113))/0x8)+parseInt(_0x2d15a7(0x123))/0x9;if(_0x1b862a===_0x4626f8)break;else _0x53978f['push'](_0x53978f['shift']());}catch(_0x4ff7ad){_0x53978f['push'](_0x53978f['shift']());}}}(_0x47aa,0x25e72));const e={'editHistory':{'panel':{'title':_0xc2e145(0x128),'unknownUser':_0xc2e145(0x114),'listFetchError':_0xc2e145(0x127),'revertConfirm':'Restore\x20this\x20version?','revertConfirmText':_0xc2e145(0x10c),'cancel':_0xc2e145(0x125),'confirm':_0xc2e145(0x12c),'reverting':_0xc2e145(0x10b),'revertFailed':_0xc2e145(0x120),'currentVersion':_0xc2e145(0x10d),'currentUser':_0xc2e145(0x12b),'revertDesc':_0xc2e145(0x11f)},'info':{'loading':_0xc2e145(0x124)},'header':{'back':_0xc2e145(0x117),'revert':'Restore\x20this\x20version'},'action':{'insertSheet':_0xc2e145(0x129),'removeSheet':_0xc2e145(0x11d),'createSheet':'created\x20workbook','setFilter':_0xc2e145(0x11c),'setFrozen':_0xc2e145(0x121),'editSheet':_0xc2e145(0x10e),'revertSheet':_0xc2e145(0x112),'revertSheetPrefix':'Reverted\x20from','revertSheetSuffix':'','setDV':_0xc2e145(0x126),'setCF':_0xc2e145(0x110),'addCF':'add\x20conditional\x20formatting','addProtection':_0xc2e145(0x11e),'addSparkline':_0xc2e145(0x12a),'deleteProtection':_0xc2e145(0x11b),'etc':_0xc2e145(0x111)}}};export{e as default};
1
+ const _0x2e7314=_0x2fb4;function _0x2fb4(_0x536ccf,_0x4955ce){const _0x4c9cae=_0x4c9c();return _0x2fb4=function(_0x2fb44c,_0x325428){_0x2fb44c=_0x2fb44c-0x102;let _0x4427f3=_0x4c9cae[_0x2fb44c];return _0x4427f3;},_0x2fb4(_0x536ccf,_0x4955ce);}(function(_0x44b6ee,_0x286a69){const _0x1d20c8=_0x2fb4,_0x343f96=_0x44b6ee();while(!![]){try{const _0x520395=-parseInt(_0x1d20c8(0x110))/0x1*(parseInt(_0x1d20c8(0x10a))/0x2)+-parseInt(_0x1d20c8(0x121))/0x3+-parseInt(_0x1d20c8(0x11b))/0x4+parseInt(_0x1d20c8(0x103))/0x5+-parseInt(_0x1d20c8(0x116))/0x6+parseInt(_0x1d20c8(0x111))/0x7+-parseInt(_0x1d20c8(0x11a))/0x8*(-parseInt(_0x1d20c8(0x10f))/0x9);if(_0x520395===_0x286a69)break;else _0x343f96['push'](_0x343f96['shift']());}catch(_0x20c534){_0x343f96['push'](_0x343f96['shift']());}}}(_0x4c9c,0x6722d));function _0x4c9c(){const _0xecefaa=['525813gUfNZb','deleted\x20worksheet','3107650SCYfZp','Current\x20Version','Unknown\x20User','Confirm','set\x20data\x20validation','Edit\x20History','Cancel','314ptJlEH','Reverting,\x20please\x20wait...','Reverted\x20from','Restore\x20this\x20version?','created\x20workbook','13149CIPIwG','2540RnQvlc','3028417ECyMRw','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','Current\x20User','add\x20sparkline','edited\x20worksheet','3487590fFgnIB','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','Failed\x20to\x20get\x20edit\x20history\x20list','Restore\x20this\x20version','5048vFhGNn','1593164GHIIjv','add\x20protection','inserted\x20worksheet','delete\x20protection','set\x20frozen','add\x20conditional\x20formatting'];_0x4c9c=function(){return _0xecefaa;};return _0x4c9c();}const e={'editHistory':{'panel':{'title':_0x2e7314(0x108),'unknownUser':_0x2e7314(0x105),'listFetchError':_0x2e7314(0x118),'revertConfirm':_0x2e7314(0x10d),'revertConfirmText':_0x2e7314(0x117),'cancel':_0x2e7314(0x109),'confirm':_0x2e7314(0x106),'reverting':_0x2e7314(0x10b),'revertFailed':_0x2e7314(0x112),'currentVersion':_0x2e7314(0x104),'currentUser':_0x2e7314(0x113),'revertDesc':_0x2e7314(0x119)},'info':{'loading':'loading,\x20please\x20wait...'},'header':{'back':'Back','revert':'Restore\x20this\x20version'},'action':{'insertSheet':_0x2e7314(0x11d),'removeSheet':_0x2e7314(0x102),'createSheet':_0x2e7314(0x10e),'setFilter':'set\x20filter','setFrozen':_0x2e7314(0x11f),'editSheet':_0x2e7314(0x115),'revertSheet':'reverted\x20workbook','revertSheetPrefix':_0x2e7314(0x10c),'revertSheetSuffix':'','setDV':_0x2e7314(0x107),'setCF':'set\x20conditional\x20formatting','addCF':_0x2e7314(0x120),'addProtection':_0x2e7314(0x11c),'addSparkline':_0x2e7314(0x114),'deleteProtection':_0x2e7314(0x11e),'etc':',\x20etc.'}}};export{e as default};
@@ -1 +1 @@
1
- const _0x578c5d=_0x1da0;function _0x1da0(_0x4a7baa,_0x3b8efc){const _0x1010ec=_0x1010();return _0x1da0=function(_0x1da0ac,_0x23cda1){_0x1da0ac=_0x1da0ac-0xbe;let _0x453d94=_0x1010ec[_0x1da0ac];return _0x453d94;},_0x1da0(_0x4a7baa,_0x3b8efc);}(function(_0x1713a8,_0x24b113){const _0x26ef9c=_0x1da0,_0x25eb55=_0x1713a8();while(!![]){try{const _0xdc2f72=-parseInt(_0x26ef9c(0xcf))/0x1*(-parseInt(_0x26ef9c(0xc6))/0x2)+parseInt(_0x26ef9c(0xc5))/0x3+parseInt(_0x26ef9c(0xc4))/0x4*(-parseInt(_0x26ef9c(0xc9))/0x5)+parseInt(_0x26ef9c(0xde))/0x6*(parseInt(_0x26ef9c(0xd0))/0x7)+parseInt(_0x26ef9c(0xc2))/0x8*(parseInt(_0x26ef9c(0xc8))/0x9)+parseInt(_0x26ef9c(0xbf))/0xa*(-parseInt(_0x26ef9c(0xd8))/0xb)+parseInt(_0x26ef9c(0xcb))/0xc;if(_0xdc2f72===_0x24b113)break;else _0x25eb55['push'](_0x25eb55['shift']());}catch(_0x4a1551){_0x25eb55['push'](_0x25eb55['shift']());}}}(_0x1010,0x4d444));const e={'editHistory':{'panel':{'title':_0x578c5d(0xd7),'unknownUser':_0x578c5d(0xc7),'listFetchError':_0x578c5d(0xc0),'revertConfirm':'این\x20نسخه\x20را\x20بازگردانی\x20کنید؟','revertConfirmText':_0x578c5d(0xd2),'cancel':_0x578c5d(0xcc),'confirm':_0x578c5d(0xce),'reverting':_0x578c5d(0xc1),'revertFailed':_0x578c5d(0xca),'currentVersion':_0x578c5d(0xd6),'currentUser':'کاربر\x20فعلی','revertDesc':_0x578c5d(0xdd)},'info':{'loading':'در\x20حال\x20بارگذاری،\x20لطفا\x20صبر\x20کنید...'},'header':{'back':_0x578c5d(0xd4),'revert':_0x578c5d(0xdd)},'action':{'insertSheet':_0x578c5d(0xd9),'removeSheet':_0x578c5d(0xd5),'createSheet':_0x578c5d(0xd3),'setFilter':_0x578c5d(0xc3),'setFrozen':'تنظیم\x20منجمد','editSheet':_0x578c5d(0xcd),'revertSheet':_0x578c5d(0xd1),'revertSheetPrefix':_0x578c5d(0xdb),'revertSheetSuffix':'','setDV':'تنظیم\x20اعتبار\x20سنجی\x20داده','setCF':_0x578c5d(0xda),'addCF':_0x578c5d(0xdf),'addProtection':_0x578c5d(0xbe),'addSparkline':'افزودن\x20نمودار\x20کوچک','deleteProtection':_0x578c5d(0xdc),'etc':'،\x20و\x20غیره'}}};function _0x1010(){const _0x182df3=['تاریخچه\x20ویرایش','273889ARcrbG','ورق\x20کاری\x20اضافه\x20شده','تنظیم\x20قالب\x20بندی\x20شرطی','بازگردانی\x20از','حذف\x20حفاظت','بازگردانی\x20این\x20نسخه','6Zydvtb','افزودن\x20قالب\x20بندی\x20شرطی','افزودن\x20حفاظت','210oQytMS','دریافت\x20لیست\x20تاریخچه\x20ویرایش\x20ناموفق\x20بود','در\x20حال\x20بازگردانی،\x20لطفا\x20صبر\x20کنید...','8cZSbHY','تنظیم\x20فیلتر','44DSlbVF','1100415QlqbGn','214FsUhJz','کاربر\x20ناشناخته','1697958NaOejn','194890mFQzzF','خطای\x20ناشناخته،\x20لطفا\x20صفحه\x20را\x20بارگذاری\x20مجدد\x20کنید\x20تا\x20نتیجه\x20بازگردانی\x20را\x20مشاهده\x20کنید','2007432aZpYdM','لغو','ورق\x20کاری\x20ویرایش\x20شده','تایید','3201gpIxrz','1420027xBMZcC','ورق\x20کاری\x20بازگردانی\x20شده','این\x20سند\x20به\x20نسخه\x20انتخاب\x20شده\x20بازگردانده\x20خواهد\x20شد','ورق\x20کاری\x20ایجاد\x20شده','بازگشت','ورق\x20کاری\x20حذف\x20شده','نسخه\x20فعلی'];_0x1010=function(){return _0x182df3;};return _0x1010();}export{e as default};
1
+ const _0x50613b=_0x6677;function _0x5260(){const _0x2d33c8=['444896wIhzSA','تاریخچه\x20ویرایش','تنظیم\x20قالب\x20بندی\x20شرطی','افزودن\x20حفاظت','بازگردانی\x20از','ورق\x20کاری\x20بازگردانی\x20شده','ورق\x20کاری\x20اضافه\x20شده','100wrzQIW','افزودن\x20نمودار\x20کوچک','ورق\x20کاری\x20ویرایش\x20شده','این\x20نسخه\x20را\x20بازگردانی\x20کنید؟','،\x20و\x20غیره','در\x20حال\x20بارگذاری،\x20لطفا\x20صبر\x20کنید...','در\x20حال\x20بازگردانی،\x20لطفا\x20صبر\x20کنید...','تنظیم\x20منجمد','ورق\x20کاری\x20حذف\x20شده','82uGKvtN','حذف\x20حفاظت','118092MILAUP','دریافت\x20لیست\x20تاریخچه\x20ویرایش\x20ناموفق\x20بود','36116Kucaio','تنظیم\x20اعتبار\x20سنجی\x20داده','لغو','582225GoJusE','ورق\x20کاری\x20ایجاد\x20شده','بازگردانی\x20این\x20نسخه','670370KIhedr','کاربر\x20ناشناخته','365460xIEBbw','تایید','265ezIRbY','نسخه\x20فعلی','خطای\x20ناشناخته،\x20لطفا\x20صفحه\x20را\x20بارگذاری\x20مجدد\x20کنید\x20تا\x20نتیجه\x20بازگردانی\x20را\x20مشاهده\x20کنید','27jHozdE'];_0x5260=function(){return _0x2d33c8;};return _0x5260();}(function(_0x33109d,_0x2db595){const _0x5a5594=_0x6677,_0x2cadab=_0x33109d();while(!![]){try{const _0x44167d=parseInt(_0x5a5594(0x8b))/0x1*(-parseInt(_0x5a5594(0x9f))/0x2)+parseInt(_0x5a5594(0x89))/0x3+-parseInt(_0x5a5594(0xa3))/0x4*(parseInt(_0x5a5594(0x96))/0x5)+parseInt(_0x5a5594(0xa1))/0x6+-parseInt(_0x5a5594(0xa6))/0x7+parseInt(_0x5a5594(0x8f))/0x8+-parseInt(_0x5a5594(0x8e))/0x9*(-parseInt(_0x5a5594(0xa9))/0xa);if(_0x44167d===_0x2db595)break;else _0x2cadab['push'](_0x2cadab['shift']());}catch(_0x5e402c){_0x2cadab['push'](_0x2cadab['shift']());}}}(_0x5260,0x1e2d5));function _0x6677(_0x451c27,_0x1f2536){const _0x52604b=_0x5260();return _0x6677=function(_0x6677c9,_0x154503){_0x6677c9=_0x6677c9-0x89;let _0x39d3f0=_0x52604b[_0x6677c9];return _0x39d3f0;},_0x6677(_0x451c27,_0x1f2536);}const e={'editHistory':{'panel':{'title':_0x50613b(0x90),'unknownUser':_0x50613b(0xaa),'listFetchError':_0x50613b(0xa2),'revertConfirm':_0x50613b(0x99),'revertConfirmText':'این\x20سند\x20به\x20نسخه\x20انتخاب\x20شده\x20بازگردانده\x20خواهد\x20شد','cancel':_0x50613b(0xa5),'confirm':_0x50613b(0x8a),'reverting':_0x50613b(0x9c),'revertFailed':_0x50613b(0x8d),'currentVersion':_0x50613b(0x8c),'currentUser':'کاربر\x20فعلی','revertDesc':'بازگردانی\x20این\x20نسخه'},'info':{'loading':_0x50613b(0x9b)},'header':{'back':'بازگشت','revert':_0x50613b(0xa8)},'action':{'insertSheet':_0x50613b(0x95),'removeSheet':_0x50613b(0x9e),'createSheet':_0x50613b(0xa7),'setFilter':'تنظیم\x20فیلتر','setFrozen':_0x50613b(0x9d),'editSheet':_0x50613b(0x98),'revertSheet':_0x50613b(0x94),'revertSheetPrefix':_0x50613b(0x93),'revertSheetSuffix':'','setDV':_0x50613b(0xa4),'setCF':_0x50613b(0x91),'addCF':'افزودن\x20قالب\x20بندی\x20شرطی','addProtection':_0x50613b(0x92),'addSparkline':_0x50613b(0x97),'deleteProtection':_0x50613b(0xa0),'etc':_0x50613b(0x9a)}}};export{e as default};
@@ -1 +1 @@
1
- const _0x1b6da3=_0x5bb6;(function(_0x29c97f,_0x224904){const _0xee2b78=_0x5bb6,_0x18237d=_0x29c97f();while(!![]){try{const _0x42db2f=parseInt(_0xee2b78(0x113))/0x1+-parseInt(_0xee2b78(0x114))/0x2+parseInt(_0xee2b78(0x10b))/0x3+parseInt(_0xee2b78(0x111))/0x4+parseInt(_0xee2b78(0x118))/0x5+parseInt(_0xee2b78(0x116))/0x6+parseInt(_0xee2b78(0x10d))/0x7*(-parseInt(_0xee2b78(0x10e))/0x8);if(_0x42db2f===_0x224904)break;else _0x18237d['push'](_0x18237d['shift']());}catch(_0x164c55){_0x18237d['push'](_0x18237d['shift']());}}}(_0xd21d,0x46da4));const e={'editHistory':{'panel':{'title':_0x1b6da3(0x115),'unknownUser':_0x1b6da3(0x11e),'listFetchError':'Failed\x20to\x20get\x20edit\x20history\x20list','revertConfirm':'Restore\x20this\x20version?','revertConfirmText':_0x1b6da3(0x117),'cancel':_0x1b6da3(0x108),'confirm':'Confirm','reverting':'Reverting,\x20please\x20wait...','revertFailed':_0x1b6da3(0x10f),'currentVersion':'Current\x20Version','currentUser':'Current\x20User','revertDesc':_0x1b6da3(0x105)},'info':{'loading':_0x1b6da3(0x10a)},'header':{'back':_0x1b6da3(0x110),'revert':_0x1b6da3(0x105)},'action':{'insertSheet':_0x1b6da3(0x104),'removeSheet':_0x1b6da3(0x106),'createSheet':'created\x20workbook','setFilter':'set\x20filter','setFrozen':_0x1b6da3(0x109),'editSheet':_0x1b6da3(0x11c),'revertSheet':_0x1b6da3(0x107),'revertSheetPrefix':'Reverted\x20from','revertSheetSuffix':'','setDV':_0x1b6da3(0x11a),'setCF':_0x1b6da3(0x11d),'addCF':'add\x20conditional\x20formatting','addProtection':_0x1b6da3(0x11b),'addSparkline':_0x1b6da3(0x112),'deleteProtection':_0x1b6da3(0x119),'etc':_0x1b6da3(0x10c)}}},t=e;function _0x5bb6(_0x37a633,_0x3604b0){const _0xd21d4c=_0xd21d();return _0x5bb6=function(_0x5bb695,_0x25e2f5){_0x5bb695=_0x5bb695-0x104;let _0x1323b4=_0xd21d4c[_0x5bb695];return _0x1323b4;},_0x5bb6(_0x37a633,_0x3604b0);}function _0xd21d(){const _0x23992a=['Unknown\x20User','inserted\x20worksheet','Restore\x20this\x20version','deleted\x20worksheet','reverted\x20workbook','Cancel','set\x20frozen','loading,\x20please\x20wait...','815775JywaeX',',\x20etc.','435351hfOVKc','8ITfLZp','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','Back','392312EisIaU','add\x20sparkline','178694sxgjFo','984898dKRudF','Edit\x20History','1302438ImrrIY','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','395420FvSLft','delete\x20protection','set\x20data\x20validation','add\x20protection','edited\x20worksheet','set\x20conditional\x20formatting'];_0xd21d=function(){return _0x23992a;};return _0xd21d();}export{t as default};
1
+ const _0xa59d65=_0x3704;(function(_0xe49abe,_0xba3d34){const _0x14f123=_0x3704,_0x335b37=_0xe49abe();while(!![]){try{const _0xb4a1c6=-parseInt(_0x14f123(0x7d))/0x1*(-parseInt(_0x14f123(0x77))/0x2)+-parseInt(_0x14f123(0x8a))/0x3+parseInt(_0x14f123(0x84))/0x4+-parseInt(_0x14f123(0x81))/0x5*(-parseInt(_0x14f123(0x8c))/0x6)+parseInt(_0x14f123(0x76))/0x7*(parseInt(_0x14f123(0x74))/0x8)+-parseInt(_0x14f123(0x7b))/0x9*(parseInt(_0x14f123(0x75))/0xa)+-parseInt(_0x14f123(0x8f))/0xb;if(_0xb4a1c6===_0xba3d34)break;else _0x335b37['push'](_0x335b37['shift']());}catch(_0xad4af6){_0x335b37['push'](_0x335b37['shift']());}}}(_0xe718,0xa569d));function _0xe718(){const _0x853136=['Unknown\x20User','set\x20conditional\x20formatting','19423536EdeUgl','24aDwCqC','7570eTGaKp','3003063FlDdCg','136XensWk','add\x20sparkline','Cancel',',\x20etc.','2763drrLzW','inserted\x20worksheet','14236aPfLjV','set\x20data\x20validation','Restore\x20this\x20version','deleted\x20worksheet','230rrwAIc','set\x20frozen','loading,\x20please\x20wait...','1283188OXREsL','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','delete\x20protection','add\x20conditional\x20formatting','Current\x20User','Failed\x20to\x20get\x20edit\x20history\x20list','1928778mcfWhB','Restore\x20this\x20version?','96882pAbETw'];_0xe718=function(){return _0x853136;};return _0xe718();}const e={'editHistory':{'panel':{'title':'Edit\x20History','unknownUser':_0xa59d65(0x8d),'listFetchError':_0xa59d65(0x89),'revertConfirm':_0xa59d65(0x8b),'revertConfirmText':_0xa59d65(0x85),'cancel':_0xa59d65(0x79),'confirm':'Confirm','reverting':'Reverting,\x20please\x20wait...','revertFailed':'Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','currentVersion':'Current\x20Version','currentUser':_0xa59d65(0x88),'revertDesc':_0xa59d65(0x7f)},'info':{'loading':_0xa59d65(0x83)},'header':{'back':'Back','revert':_0xa59d65(0x7f)},'action':{'insertSheet':_0xa59d65(0x7c),'removeSheet':_0xa59d65(0x80),'createSheet':'created\x20workbook','setFilter':'set\x20filter','setFrozen':_0xa59d65(0x82),'editSheet':'edited\x20worksheet','revertSheet':'reverted\x20workbook','revertSheetPrefix':'Reverted\x20from','revertSheetSuffix':'','setDV':_0xa59d65(0x7e),'setCF':_0xa59d65(0x8e),'addCF':_0xa59d65(0x87),'addProtection':'add\x20protection','addSparkline':_0xa59d65(0x78),'deleteProtection':_0xa59d65(0x86),'etc':_0xa59d65(0x7a)}}},t=e;function _0x3704(_0x328810,_0x5c7fe1){const _0xe718ac=_0xe718();return _0x3704=function(_0x370417,_0x136f98){_0x370417=_0x370417-0x74;let _0x480798=_0xe718ac[_0x370417];return _0x480798;},_0x3704(_0x328810,_0x5c7fe1);}export{t as default};