@univerjs-pro/edit-history-loader 0.15.0-insiders.20260108-47c73e3 → 0.15.0-insiders.20260108-7b9120d

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x965831=_0x2f86;(function(_0x2aa2b6,_0x27327c){const _0x630efd=_0x2f86,_0x3ed9fc=_0x2aa2b6();while(!![]){try{const _0x66fa3c=-parseInt(_0x630efd(0xb4))/0x1*(-parseInt(_0x630efd(0xfa))/0x2)+parseInt(_0x630efd(0x140))/0x3*(parseInt(_0x630efd(0xa0))/0x4)+parseInt(_0x630efd(0x16e))/0x5+parseInt(_0x630efd(0xcc))/0x6+parseInt(_0x630efd(0x136))/0x7*(parseInt(_0x630efd(0xb8))/0x8)+-parseInt(_0x630efd(0xcb))/0x9+-parseInt(_0x630efd(0xc0))/0xa*(parseInt(_0x630efd(0x13c))/0xb);if(_0x66fa3c===_0x27327c)break;else _0x3ed9fc['push'](_0x3ed9fc['shift']());}catch(_0x3dac5d){_0x3ed9fc['push'](_0x3ed9fc['shift']());}}}(_0x11b2,0xdd8d1));var A=Object['defineProperty'],F=(_0x5ddbeb,_0x485209,_0xa35d92)=>_0x485209 in _0x5ddbeb?A(_0x5ddbeb,_0x485209,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xa35d92}):_0x5ddbeb[_0x485209]=_0xa35d92,_=(_0x524d16,_0x1cb9f3,_0x1736d4)=>F(_0x524d16,typeof _0x1cb9f3!=_0x965831(0x113)?_0x1cb9f3+'':_0x1cb9f3,_0x1736d4);function _0x2f86(_0x3a17ea,_0xb59a59){_0x3a17ea=_0x3a17ea-0x9f;const _0x11b264=_0x11b2();let _0x2f86d1=_0x11b264[_0x3a17ea];return _0x2f86d1;}Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x965831(0x137)});const o=require('@univerjs/core'),C=require('@univerjs-pro/collaboration'),p=require('@univerjs-pro/collaboration-client'),P=require('@univerjs/design'),U=require('react'),h=require('@univerjs/ui'),O=require('rxjs'),d=require('@univerjs/sheets'),m=require('@univerjs-pro/edit-history-viewer'),L=require('@univerjs-pro/license'),V=require('@univerjs-pro/sheets-chart'),G=require('@univerjs-pro/sheets-chart-ui'),Y=require('@univerjs-pro/sheets-pivot'),K=require('@univerjs-pro/sheets-sparkline'),W=require('@univerjs-pro/sheets-sparkline-ui'),B=require('@univerjs/data-validation'),z=require('@univerjs/docs'),Z=require('@univerjs/docs-ui'),N=require('@univerjs/drawing'),J=require('@univerjs/drawing-ui'),Q=require('@univerjs/engine-formula'),X=require('@univerjs/engine-render'),ee=require('@univerjs/network'),R=require('@univerjs/rpc'),ie=require('@univerjs/sheets-conditional-formatting'),te=require('@univerjs/sheets-conditional-formatting-ui'),re=require('@univerjs/sheets-data-validation'),ne=require('@univerjs/sheets-data-validation-ui'),se=require('@univerjs/sheets-drawing'),oe=require('@univerjs/sheets-drawing-ui'),ae=require('@univerjs/sheets-filter'),ce=require('@univerjs/sheets-filter-ui'),le=require('@univerjs/sheets-formula'),ue=require('@univerjs/sheets-formula-ui'),he=require('@univerjs/sheets-hyper-link'),ge=require('@univerjs/sheets-hyper-link-ui'),ve=require('@univerjs/sheets-numfmt'),k=require('@univerjs/sheets-ui'),b=_0x965831(0x14c),T={};function D({ref:_0x2bfd4f,..._0x40ff51}){const _0x46ae5b=_0x965831,{icon:_0x2ddaa7,id:_0x5c924c,className:_0x599b33,extend:_0x3f2c54,..._0x5ba516}=_0x40ff51,_0x4f7416=(_0x46ae5b(0xd4)+_0x5c924c+'\x20'+(_0x599b33||''))[_0x46ae5b(0x15f)](),_0x44c0c1=U[_0x46ae5b(0xc4)]('_'+Se());return q(_0x2ddaa7,''+_0x5c924c,{'defIds':_0x2ddaa7['defIds'],'idSuffix':_0x44c0c1[_0x46ae5b(0xb3)]},{'ref':_0x2bfd4f,'className':_0x4f7416,..._0x5ba516},_0x3f2c54);}function q(_0x1c1603,_0x2278c1,_0x3f1e06,_0x20c061,_0x4f433f){const _0x372e6b=_0x965831;return U['createElement'](_0x1c1603[_0x372e6b(0xb9)],{'key':_0x2278c1,...de(_0x1c1603,_0x3f1e06,_0x4f433f),..._0x20c061},(_e(_0x1c1603,_0x3f1e06)[_0x372e6b(0x190)]||[])[_0x372e6b(0x171)]((_0x3f6f6a,_0x89b7eb)=>q(_0x3f6f6a,_0x2278c1+'-'+_0x1c1603['tag']+'-'+_0x89b7eb,_0x3f1e06,void 0x0,_0x4f433f)));}function de(_0x571a33,_0xbf2e27,_0x2d3762){const _0x1a4ec7=_0x965831,_0x2d5109={..._0x571a33[_0x1a4ec7(0xf9)]};_0x2d3762!=null&&_0x2d3762[_0x1a4ec7(0xd1)]&&_0x2d5109[_0x1a4ec7(0x13e)]===_0x1a4ec7(0xd1)&&(_0x2d5109[_0x1a4ec7(0x13e)]=_0x2d3762[_0x1a4ec7(0xd1)]),_0x571a33['tag']===_0x1a4ec7(0x18c)&&_0x2d5109['id']&&(_0x2d5109['id']=_0x2d5109['id']+_0xbf2e27['idSuffix']),Object[_0x1a4ec7(0x17f)](_0x2d5109)[_0x1a4ec7(0x129)](([_0x3636e5,_0x132c5a])=>{const _0x4d2995=_0x1a4ec7;_0x3636e5===_0x4d2995(0x18c)&&typeof _0x132c5a==_0x4d2995(0xa1)&&(_0x2d5109[_0x3636e5]=_0x132c5a['replace'](/url\(#(.*)\)/,_0x4d2995(0x18b)+_0xbf2e27[_0x4d2995(0x10e)]+')'));});const {defIds:_0x167dbf}=_0xbf2e27;return!_0x167dbf||_0x167dbf[_0x1a4ec7(0x179)]===0x0||(_0x571a33[_0x1a4ec7(0xb9)]==='use'&&_0x2d5109[_0x1a4ec7(0xa5)]&&(_0x2d5109[_0x1a4ec7(0xa5)]=_0x2d5109['xlink:href']+_0xbf2e27['idSuffix']),Object[_0x1a4ec7(0x17f)](_0x2d5109)[_0x1a4ec7(0x129)](([_0x517a9e,_0xad1012])=>{const _0x549227=_0x1a4ec7;typeof _0xad1012==_0x549227(0xa1)&&(_0x2d5109[_0x517a9e]=_0xad1012['replace'](/url\(#(.*)\)/,_0x549227(0x18b)+_0xbf2e27[_0x549227(0x10e)]+')'));})),_0x2d5109;}function _e(_0x2b7610,_0x36d6d1){const _0xb8ac9a=_0x965831;var _0x4f24ed;const {defIds:_0xf24268}=_0x36d6d1;return!_0xf24268||_0xf24268[_0xb8ac9a(0x179)]===0x0?_0x2b7610:_0x2b7610['tag']===_0xb8ac9a(0x112)&&((_0x4f24ed=_0x2b7610[_0xb8ac9a(0x190)])!=null&&_0x4f24ed[_0xb8ac9a(0x179)])?{..._0x2b7610,'children':_0x2b7610['children'][_0xb8ac9a(0x171)](_0x4b6056=>typeof _0x4b6056[_0xb8ac9a(0xf9)]['id']=='string'&&_0xf24268&&_0xf24268[_0xb8ac9a(0xd7)](_0x4b6056['attrs']['id'])?{..._0x4b6056,'attrs':{..._0x4b6056[_0xb8ac9a(0xf9)],'id':_0x4b6056[_0xb8ac9a(0xf9)]['id']+_0x36d6d1[_0xb8ac9a(0x10e)]}}:_0x4b6056)}:_0x2b7610;}function Se(){const _0x2f3013=_0x965831;return Math['random']()['toString'](0x24)[_0x2f3013(0x101)](0x2,0x8);}D['displayName']=_0x965831(0x150);const me={'tag':_0x965831(0x102),'attrs':{'xmlns':_0x965831(0xe5),'fill':'none','viewBox':_0x965831(0x131),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'fill':_0x965831(0xee),'clipPath':'url(#history-icon_clip0_907_281)'},'children':[{'tag':_0x965831(0xd2),'attrs':{'d':_0x965831(0xc1)}},{'tag':_0x965831(0xd2),'attrs':{'d':_0x965831(0x106)}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x965831(0x176),'attrs':{'id':'history-icon_clip0_907_281'},'children':[{'tag':_0x965831(0xd2),'attrs':{'fill':'white','d':_0x965831(0xbf)}}]}]}],'defIds':[_0x965831(0xf2)]},$=U[_0x965831(0x10a)](function(_0x557177,_0x4e93b7){const _0x5f22e1=_0x965831;return U['createElement'](D,Object[_0x5f22e1(0xe6)]({},_0x557177,{'id':_0x5f22e1(0x119),'ref':_0x4e93b7,'icon':me}));});$['displayName']='HistoryIcon';var ye=Object[_0x965831(0xa6)],pe=(_0xccead0,_0x30e279,_0x1c9c2b,_0x16bb63)=>{const _0x347017=_0x965831;for(var _0x496136=_0x16bb63>0x1?void 0x0:_0x16bb63?ye(_0x30e279,_0x1c9c2b):_0x30e279,_0x1e7197=_0xccead0[_0x347017(0x179)]-0x1,_0x190ec9;_0x1e7197>=0x0;_0x1e7197--)(_0x190ec9=_0xccead0[_0x1e7197])&&(_0x496136=_0x190ec9(_0x496136)||_0x496136);return _0x496136;},g=(_0x1552e2,_0x33e96f)=>(_0x147706,_0x31bb72)=>_0x33e96f(_0x147706,_0x31bb72,_0x1552e2);const fe='univer-container',H=_0x965831(0x133),y=_0x965831(0xdf);exports[_0x965831(0x17e)]=class extends o[_0x965831(0xb5)]{constructor(_0x2f8f8d,_0x4cafb8,_0x2cc700,_0x4a4e89,_0x31182a,_0x6a8509,_0x5cab2f,_0x2a74b9,_0x530238,_0x287702){const _0x2c54a1=_0x965831;super(),_(this,'_historyUniver$',new O[(_0x2c54a1(0x149))](null)),_(this,_0x2c54a1(0xb6),this[_0x2c54a1(0x16b)]['asObservable']()),_(this,'_disposableCollection',new o[(_0x2c54a1(0x152))]()),_(this,'_pluginMap',new Map()),(this[_0x2c54a1(0xf8)]=_0x2f8f8d,this[_0x2c54a1(0x12a)]=_0x4cafb8,this['_configService']=_0x2cc700,this[_0x2c54a1(0xfb)]=_0x4a4e89,this[_0x2c54a1(0x109)]=_0x31182a,this[_0x2c54a1(0x159)]=_0x6a8509,this[_0x2c54a1(0xc6)]=_0x5cab2f,this[_0x2c54a1(0x114)]=_0x2a74b9,this[_0x2c54a1(0x13f)]=_0x530238,this[_0x2c54a1(0x120)]=_0x287702,this[_0x2c54a1(0xe9)]());}get[_0x965831(0x10d)](){const _0x5c40e4=_0x965831;return this[_0x5c40e4(0x16b)]['value'];}[_0x965831(0xe9)](){const _0x16e816=_0x965831;this['_initContainer'](),this[_0x16e816(0x107)]();}['_initContainer'](){const _0x4fecc3=_0x965831;var _0x54ecf4;const _0x3fa868=(_0x54ecf4=this[_0x4fecc3(0x191)][_0x4fecc3(0xf1)](H))!=null?_0x54ecf4:fe,_0x26c9ea=document['getElementById'](_0x3fa868);if(!_0x26c9ea)return;const _0x4e8664=document[_0x4fecc3(0xc5)](_0x4fecc3(0x130));_0x4e8664['id']=y,_0x4e8664[_0x4fecc3(0x186)][_0x4fecc3(0xef)]=_0x4fecc3(0xae),_0x4e8664['style'][_0x4fecc3(0x177)]=_0x4fecc3(0x172),_0x4e8664[_0x4fecc3(0x10b)][_0x4fecc3(0x14d)]='0',_0x4e8664[_0x4fecc3(0x10b)]['left']='0',_0x4e8664[_0x4fecc3(0x10b)][_0x4fecc3(0xfe)]=_0x4fecc3(0xbd),_0x4e8664['style'][_0x4fecc3(0x14a)]=_0x4fecc3(0xbd),_0x4e8664[_0x4fecc3(0x10b)][_0x4fecc3(0x174)]=_0x4fecc3(0x189),_0x4e8664[_0x4fecc3(0x10b)][_0x4fecc3(0x128)]=_0x4fecc3(0xb7),_0x26c9ea[_0x4fecc3(0xd5)](_0x4e8664);}[_0x965831(0x107)](){const _0x24d8c3=_0x965831;var _0x2aaf0b,_0x426558,_0x52608e,_0x5490e7;[[X[_0x24d8c3(0xab)]],[h[_0x24d8c3(0x15e)],{'container':y,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[h['IDialogService'],null]]}],[ee[_0x24d8c3(0x163)]],[N[_0x24d8c3(0x13a)],{'override':[[N[_0x24d8c3(0xb1)],null]]}],[z['UniverDocsPlugin'],{'hasScroll':!0x1}],[Z[_0x24d8c3(0x11f)]],[ve['UniverSheetsNumfmtPlugin']],[d[_0x24d8c3(0x155)],{'notExecuteFormula':!0x0}],[k[_0x24d8c3(0x143)]],[le[_0x24d8c3(0x11b)]],[ue['UniverSheetsFormulaUIPlugin']],[C[_0x24d8c3(0x16c)]],[ae[_0x24d8c3(0x183)]],[ce[_0x24d8c3(0x110)]],[ie['UniverSheetsConditionalFormattingPlugin']],[te['UniverSheetsConditionalFormattingUIPlugin']],[he[_0x24d8c3(0x188)]],[ge[_0x24d8c3(0xc2)]],[B[_0x24d8c3(0x138)]],[re[_0x24d8c3(0x10c)]],[ne[_0x24d8c3(0xa7)]],[Q[_0x24d8c3(0x151)],{'notExecuteFormula':!0x0}],[R[_0x24d8c3(0x10f)],{'workerURL':(_0x426558=(_0x2aaf0b=this[_0x24d8c3(0x191)][_0x24d8c3(0xf1)](R[_0x24d8c3(0x115)]))==null?void 0x0:_0x2aaf0b[_0x24d8c3(0x15b)])!=null?_0x426558:'./worker.js'}],[J[_0x24d8c3(0x11d)]],[se['UniverSheetsDrawingPlugin']],[oe[_0x24d8c3(0xa3)]],[K['UniverSheetSparklinePlugin']],[W[_0x24d8c3(0xba)]],[V['UniverSheetsChartPlugin']],[G[_0x24d8c3(0x145)]],[Y[_0x24d8c3(0xf4)],{'notExecuteFormula':!0x0}],[m[_0x24d8c3(0x124)],{'historyListServerUrl':(_0x52608e=this[_0x24d8c3(0x191)][_0x24d8c3(0xf1)](b))==null?void 0x0:_0x52608e['historyListServerUrl'],'historyPanelComponentKey':(_0x5490e7=this[_0x24d8c3(0x191)][_0x24d8c3(0xf1)](b))==null?void 0x0:_0x5490e7['historyPanelComponentKey']}]]['forEach'](([_0x4debd5,_0x380864])=>this['registerPlugin'](_0x4debd5,_0x380864));}[_0x965831(0xbc)](){const _0x5cf48f=_0x965831;super['dispose'](),this[_0x5cf48f(0xf7)](),this['_pluginMap'][_0x5cf48f(0x17c)]();}[_0x965831(0x185)](_0x3be768,_0x23ffcf,_0x3b7fb3){const _0x474c6a=_0x965831;if(this[_0x474c6a(0x17b)][_0x474c6a(0xd8)](_0x3be768[_0x474c6a(0x181)])&&!_0x3b7fb3)throw new Error(_0x474c6a(0xd6)+_0x3be768[_0x474c6a(0x181)]+'\x20has\x20been\x20registered.');this[_0x474c6a(0x17b)][_0x474c6a(0x14f)](_0x3be768[_0x474c6a(0x181)],[_0x3be768,_0x23ffcf]);}[_0x965831(0x17a)](){const _0x39ac1c=_0x965831;return Array[_0x39ac1c(0x121)](this[_0x39ac1c(0x17b)][_0x39ac1c(0xd9)]());}['mountHistoryContent'](_0x276fe2){const _0x45456c=_0x965831,_0x3121d5=document[_0x45456c(0x11e)](y);_0x3121d5&&(_0x3121d5[_0x45456c(0x10b)][_0x45456c(0x128)]=_0x45456c(0xeb),this[_0x45456c(0x100)](_0x276fe2,y));}['unMountHistoryContent'](){const _0x22c561=_0x965831;var _0x31bd07;this[_0x22c561(0x15d)]['dispose'](),(_0x31bd07=this[_0x22c561(0x10d)])==null||_0x31bd07['dispose'](),this[_0x22c561(0x16b)][_0x22c561(0x104)](null);const _0x32bebc=document['getElementById'](y);_0x32bebc&&(_0x32bebc[_0x22c561(0x10b)]['display']=_0x22c561(0xb7));}[_0x965831(0x100)](_0x474c0e,_0xfb6486){const _0x36894e=_0x965831;if(this['historyUniver'])return;const _0x5db257=new o['Univer']({'locales':{[this[_0x36894e(0xf8)]['getCurrentLocale']()]:this[_0x36894e(0xf8)][_0x36894e(0x13b)]()},'override':[[o[_0x36894e(0x17d)],{'useClass':p[_0x36894e(0xac)]}]]}),_0x44d18e=_0x5db257[_0x36894e(0x9f)]();this['disposeWithMe'](this[_0x36894e(0x120)][_0x36894e(0x12f)]['subscribe'](_0x351107=>{const _0x111bcb=_0x36894e;_0x44d18e[_0x111bcb(0x105)](o[_0x111bcb(0x184)])[_0x111bcb(0x141)](_0x351107);})),this[_0x36894e(0xed)](this[_0x36894e(0x120)][_0x36894e(0x127)]['subscribe'](_0x1e5552=>{const _0x1a5e84=_0x36894e;_0x44d18e[_0x1a5e84(0x105)](o[_0x1a5e84(0x184)])['setTheme'](_0x1e5552);})),_0x44d18e[_0x36894e(0x105)](o[_0x36894e(0xa2)])[_0x36894e(0xe7)](this[_0x36894e(0xf8)][_0x36894e(0xcf)]()),_0x44d18e[_0x36894e(0x105)](o[_0x36894e(0x14e)])['setConfig'](p[_0x36894e(0xf5)],this['_configService'][_0x36894e(0xf1)](p[_0x36894e(0xf5)]));const _0x1e7f7e=this[_0x36894e(0x191)]['getConfig'](L[_0x36894e(0xcd)]);_0x1e7f7e&&_0x5db257[_0x36894e(0x185)](L['UniverLicensePlugin'],{'license':_0x1e7f7e['ls']}),this[_0x36894e(0x17b)]['forEach'](([_0x47138e,_0x182b7a])=>{const _0x9a2520=_0x36894e;_0x5db257[_0x9a2520(0x185)](_0x47138e,_0x182b7a);}),_0x44d18e[_0x36894e(0x103)](_0x896415=>{this['_initListener'](_0x896415,_0x474c0e);}),this[_0x36894e(0x16b)][_0x36894e(0x104)](_0x5db257);const _0x3a5f33=_0x44d18e[_0x36894e(0x105)](m[_0x36894e(0x12e)]),_0x420116=this[_0x36894e(0xf6)](_0x474c0e);_0x3a5f33[_0x36894e(0xb0)](_0x474c0e,_0xfb6486,_0x420116);}[_0x965831(0x167)](_0x4abf4c,_0x3e8700){const _0x156a71=_0x965831,_0x52c79d=_0x4abf4c[_0x156a71(0x105)](m[_0x156a71(0x12e)]);this['_disposableCollection'][_0x156a71(0x146)](_0x52c79d[_0x156a71(0x160)]['subscribe'](_0x24cde4=>{const _0x546c93=_0x156a71;switch(_0x24cde4){case m['HistoryModeStatus'][_0x546c93(0x116)]:this[_0x546c93(0x114)][_0x546c93(0xdb)](),this[_0x546c93(0x13f)][_0x546c93(0xca)]();break;case m[_0x546c93(0x139)]['Exited']:this[_0x546c93(0xfb)]['executeCommand'](j['id']),this[_0x546c93(0xf7)]();break;case m[_0x546c93(0x139)][_0x546c93(0xe1)]:this[_0x546c93(0xf7)](),this[_0x546c93(0x109)][_0x546c93(0x16a)]({'content':this['_localeService']['t'](_0x546c93(0x18f)),'type':P[_0x546c93(0xfc)][_0x546c93(0xe1)],'duration':0xbb8});break;}})),this[_0x156a71(0x15d)][_0x156a71(0x146)](_0x52c79d[_0x156a71(0x187)][_0x156a71(0xc9)](async _0x5ab924=>{const _0x819cea=_0x156a71;_0x5ab924&&this['_commandService'][_0x819cea(0x117)](C[_0x819cea(0x16f)]['id'],{'unitId':_0x3e8700,'revision':_0x5ab924});}));}[_0x965831(0xf6)](_0x368473){const _0x8e9709=_0x965831,_0x330bd7=this[_0x8e9709(0x12a)][_0x8e9709(0x153)](_0x368473)[_0x8e9709(0x169)]()['map'](_0x35c01c=>_0x35c01c[_0x8e9709(0x158)]()),_0x372b7f=new d['WorkbookEditablePermission'](_0x368473)['id'],_0x2d39dc=_0x330bd7[_0x8e9709(0x171)](_0x522dad=>new d[(_0x8e9709(0xe8))](_0x368473,_0x522dad)['id']),_0x5a7656=_0x330bd7[_0x8e9709(0x171)](_0x4c89cf=>this[_0x8e9709(0xc6)][_0x8e9709(0x148)](_0x368473,_0x4c89cf)[_0x8e9709(0x171)](_0x2a9665=>new d[(_0x8e9709(0x15c))](_0x368473,_0x4c89cf,_0x2a9665[_0x8e9709(0x118)])['id']))['flat'](),_0x5cd6f9=new d[(_0x8e9709(0xda))](_0x368473)['id'];return this[_0x8e9709(0x159)][_0x8e9709(0xe4)]([_0x372b7f,..._0x2d39dc,..._0x5a7656,_0x5cd6f9])[_0x8e9709(0x15a)](_0x1327c6=>!!_0x1327c6[_0x8e9709(0x161)]);}},exports[_0x965831(0x17e)]=pe([g(0x0,o[_0x965831(0xbb)](o[_0x965831(0xa2)])),g(0x1,o['IUniverInstanceService']),g(0x2,o['IConfigService']),g(0x3,o[_0x965831(0x16d)]),g(0x4,h['IMessageService']),g(0x5,o['IPermissionService']),g(0x6,o[_0x965831(0xbb)](d[_0x965831(0x142)])),g(0x7,o[_0x965831(0xbb)](h[_0x965831(0x182)])),g(0x8,o['Inject'](h[_0x965831(0xc3)])),g(0x9,o[_0x965831(0xbb)](o[_0x965831(0x184)]))],exports['HistoryLoaderService']);const M={'id':_0x965831(0x108),'type':o[_0x965831(0x11c)][_0x965831(0x132)],'handler':_0xeffe1=>{const _0x4ce806=_0x965831,_0x477a2a=_0xeffe1['get'](exports[_0x4ce806(0x17e)]),_0x2d3e0e=_0xeffe1['get'](o[_0x4ce806(0xdd)]),{unitId:_0x3013dd}=d[_0x4ce806(0x18d)](_0x2d3e0e)||{};return _0x3013dd?(_0x477a2a[_0x4ce806(0xe3)](_0x3013dd),!0x0):!0x1;}},j={'id':_0x965831(0x178),'type':o[_0x965831(0x11c)][_0x965831(0x132)],'handler':()=>!0x0};function Ce(_0x547f76){const _0x7deca3=_0x965831;return{'id':M['id'],'type':h[_0x7deca3(0xd0)][_0x7deca3(0x156)],'icon':_0x7deca3(0xbe),'tooltip':'editHistory.panel.title','hidden$':h[_0x7deca3(0x14b)](_0x547f76,o[_0x7deca3(0x166)][_0x7deca3(0xdc)]),'disabled$':k[_0x7deca3(0xc7)](_0x547f76,{'workbookTypes':[d['WorkbookEditablePermission'],d[_0x7deca3(0x123)]],'worksheetTypes':[],'rangeTypes':[]})};}const Ie={[h[_0x965831(0x173)]['OTHERS']]:{[M['id']]:{'order':0.2,'menuItemFactory':Ce}}};var Ue=Object[_0x965831(0xa6)],Ee=(_0x2b68bc,_0x1a0e14,_0x58fff5,_0x1f15b9)=>{const _0x5300a4=_0x965831;for(var _0x1985ac=_0x1f15b9>0x1?void 0x0:_0x1f15b9?Ue(_0x1a0e14,_0x58fff5):_0x1a0e14,_0x108f1d=_0x2b68bc[_0x5300a4(0x179)]-0x1,_0x412192;_0x108f1d>=0x0;_0x108f1d--)(_0x412192=_0x2b68bc[_0x108f1d])&&(_0x1985ac=_0x412192(_0x1985ac)||_0x1985ac);return _0x1985ac;},S=(_0x2d44c7,_0x295bb6)=>(_0x3e5b13,_0x5b504e)=>_0x295bb6(_0x3e5b13,_0x5b504e,_0x2d44c7);let E=class extends o[_0x965831(0xf0)]{constructor(_0x49cdb7,_0x3745b9,_0x3e4e4c,_0x589826,_0x342209,_0x2dceaf,_0x4a398c,_0x2ed11f){const _0x2c66a4=_0x965831;super(),_(this,'_revertErrorTimer',null),(this['_commandService']=_0x49cdb7,this['_menuManagerService']=_0x3745b9,this[_0x2c66a4(0x11a)]=_0x3e4e4c,this[_0x2c66a4(0xff)]=_0x589826,this[_0x2c66a4(0xf8)]=_0x342209,this['_messageService']=_0x2dceaf,this[_0x2c66a4(0x13d)]=_0x4a398c,this[_0x2c66a4(0xc8)]=_0x2ed11f,this[_0x2c66a4(0xe9)]());}['_init'](){const _0xc0644d=_0x965831;[M,j][_0xc0644d(0x129)](_0x496514=>this[_0xc0644d(0xed)](o[_0xc0644d(0x125)](this[_0xc0644d(0xfb)][_0xc0644d(0x12d)](_0x496514)))),this[_0xc0644d(0xed)](this[_0xc0644d(0x11a)][_0xc0644d(0x147)]('HistoryIcon',$)),this['_menuManagerService'][_0xc0644d(0x144)](Ie),this[_0xc0644d(0xed)](this[_0xc0644d(0xfb)][_0xc0644d(0x122)](_0x37475f=>{const _0x4111a1=_0xc0644d;if(_0x37475f['id']===C[_0x4111a1(0x16f)]['id']){this['_messageService'][_0x4111a1(0x16a)]({'content':this[_0x4111a1(0xf8)]['t'](_0x4111a1(0x111)),'type':P[_0x4111a1(0xfc)][_0x4111a1(0xa9)],'duration':0x1388});const {unitId:_0x1d44bb}=_0x37475f[_0x4111a1(0x134)],_0x14942d=this[_0x4111a1(0x13d)][_0x4111a1(0xe2)](_0x1d44bb),_0x5ca6ef=O[_0x4111a1(0x175)]([_0x14942d[_0x4111a1(0x12c)]['event$'],_0x14942d[_0x4111a1(0xb2)]])[_0x4111a1(0xc9)](async([_0x3d1ce4,_0x47944b])=>{const _0x3f7402=_0x4111a1;var _0xc1695f;_0x3d1ce4['eventID']===C[_0x3f7402(0x18e)][_0x3f7402(0xde)]&&(_0x47944b==null?void 0x0:_0x47944b['status'])===p['CollaborationStatus'][_0x3f7402(0xf3)]&&_0x3d1ce4['data'][_0x3f7402(0x180)]['some'](_0xee55c4=>_0xee55c4['id']===C[_0x3f7402(0x16f)]['id'])&&(this['_historyManagerService'][_0x3f7402(0xf7)](),_0x5ca6ef['unsubscribe'](),this['_revertErrorTimer']&&clearTimeout(this[_0x3f7402(0xaf)]),await((_0xc1695f=this[_0x3f7402(0xc8)])==null?void 0x0:_0xc1695f[_0x3f7402(0x157)]()),setTimeout(()=>window[_0x3f7402(0x168)][_0x3f7402(0xad)]()));});this['_revertErrorTimer']=setTimeout(()=>{const _0xc9b8c2=_0x4111a1;_0x5ca6ef[_0xc9b8c2(0x170)](),this[_0xc9b8c2(0x109)][_0xc9b8c2(0x16a)]({'content':this[_0xc9b8c2(0xf8)]['t'](_0xc9b8c2(0xec)),'type':P['MessageType'][_0xc9b8c2(0xe1)],'duration':0xbb8});},0x1388);}}));}};E=Ee([S(0x0,o[_0x965831(0x16d)]),S(0x1,h[_0x965831(0xd3)]),S(0x2,o[_0x965831(0xbb)](h[_0x965831(0xce)])),S(0x3,o[_0x965831(0xbb)](exports['HistoryLoaderService'])),S(0x4,o[_0x965831(0xbb)](o[_0x965831(0xa2)])),S(0x5,h['IMessageService']),S(0x6,o[_0x965831(0xbb)](p[_0x965831(0x135)])),S(0x7,p['ILocalCacheService'])],E);var Pe=Object['getOwnPropertyDescriptor'],be=(_0x1cf238,_0x1b3c97,_0x2d7272,_0x13298a)=>{const _0x3ae122=_0x965831;for(var _0x1a8c7e=_0x13298a>0x1?void 0x0:_0x13298a?Pe(_0x1b3c97,_0x2d7272):_0x1b3c97,_0x500075=_0x1cf238[_0x3ae122(0x179)]-0x1,_0x4b04ef;_0x500075>=0x0;_0x500075--)(_0x4b04ef=_0x1cf238[_0x500075])&&(_0x1a8c7e=_0x4b04ef(_0x1a8c7e)||_0x1a8c7e);return _0x1a8c7e;},w=(_0xbf6c94,_0xb2cb20)=>(_0x113a21,_0x3e1ef4)=>_0xb2cb20(_0x113a21,_0x3e1ef4,_0xbf6c94);const He=_0x965831(0x165);var I;exports[_0x965831(0x126)]=(I=class extends o[_0x965831(0x164)]{constructor(_0x48f51e=T,_0x48db7f,_0x5f45eb){const _0x41ab3f=_0x965831;super(),this[_0x41ab3f(0xea)]=_0x48f51e,this[_0x41ab3f(0xaa)]=_0x48db7f,this['_configService']=_0x5f45eb;const {menu:_0x43b9a5,..._0x2653d9}=o[_0x41ab3f(0xe0)]({},T,this[_0x41ab3f(0xea)]);_0x43b9a5&&this[_0x41ab3f(0x191)][_0x41ab3f(0x162)](_0x41ab3f(0xa8),_0x43b9a5,{'merge':!0x0}),this[_0x41ab3f(0x191)]['setConfig'](b,_0x2653d9),this[_0x41ab3f(0xea)]['univerContainerId']&&this[_0x41ab3f(0x191)][_0x41ab3f(0x162)](H,this['_config']['univerContainerId']);}[_0x965831(0x18a)](){const _0x4af759=_0x965831;[[exports['HistoryLoaderService']],[E]][_0x4af759(0x129)](_0x5ecdbe=>this[_0x4af759(0xaa)][_0x4af759(0x146)](_0x5ecdbe));}['onSteady'](){this['_injector']['get'](E);}},_(I,_0x965831(0x154),o[_0x965831(0x166)][_0x965831(0x12b)]),_(I,'pluginName',He),I),exports[_0x965831(0x126)]=be([w(0x1,o['Inject'](o['Injector'])),w(0x2,o[_0x965831(0x14e)])],exports[_0x965831(0x126)]),exports[_0x965831(0xa4)]=H,exports[_0x965831(0xfd)]=y;function _0x11b2(){const _0x3a3753=['defs','symbol','_dialogService','PLUGIN_CONFIG_KEY_MAIN_THREAD','Entered','executeCommand','permissionId','history-icon','_componentManager','UniverSheetsFormulaPlugin','CommandType','UniverDrawingUIPlugin','getElementById','UniverDocsUIPlugin','_themeService','from','onCommandExecuted','WorkbookViewHistoryPermission','UniverEditHistoryViewerPlugin','toDisposable','UniverEditHistoryLoaderPlugin','currentTheme$','display','forEach','_univerInstanceService','UNIVER_UNKNOWN','session','registerCommand','HistoryManagerService','darkMode$','div','0\x200\x2016\x2016','OPERATION','UNIVER_CONTAINER_ID','params','CollaborationController','252azVXsW','Module','UniverDataValidationPlugin','HistoryModeStatus','UniverDrawingPlugin','getLocales','384747CtaSYi','_collaborationController','fill','_sidebarService','3OBMZzF','setDarkMode','RangeProtectionRuleModel','UniverSheetsUIPlugin','mergeMenu','UniverSheetsChartUIPlugin','add','register','getSubunitRuleList','BehaviorSubject','height','getMenuHiddenObservable','edit-history-loader.config','top','IConfigService','set','UniverIcon','UniverFormulaEnginePlugin','DisposableCollection','getUnit','type','UniverSheetsPlugin','BUTTON','exhaustSavingTask','getSheetId','_permissionService','every','workerURL','RangeProtectionPermissionEditPoint','_disposableCollection','UniverUIPlugin','trim','status$','value','setConfig','UniverNetworkPlugin','Plugin','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','UniverInstanceType','_initListener','location','getSheets','show','_historyUniver$','UniverCollaborationPlugin','ICommandService','5641335BpRFIR','RevertRevisionMutation','unsubscribe','map','absolute','RibbonStartGroup','zIndex','combineLatest','clipPath','position','univer.operation.exit-edit-history','length','getAllPlugins','_pluginMap','clear','IAuthzIoService','HistoryLoaderService','entries','mutations','pluginName','IDialogService','UniverSheetsFilterPlugin','ThemeService','registerPlugin','dataset','revertRevision$','UniverSheetsHyperLinkPlugin','1000','onStarting','url(#$1','mask','getSheetCommandTarget','CollaborationEvent','editHistory.panel.listFetchError','children','_configService','__getInjector','1324396ewnvwN','string','LocaleService','UniverSheetsDrawingUIPlugin','UNIVER_CONTAINER_ID_KEY','xlink:href','getOwnPropertyDescriptor','UniverSheetsDataValidationUIPlugin','menu','Loading','_injector','UniverRenderEnginePlugin','AuthzIoHttpService','reload','history-container','_revertErrorTimer','triggerLoadVersions','IImageIoService','state$','current','815225lnFCTH','Disposable','historyUniver$','none','315384POCOzx','tag','UniverSheetSparklineUIPlugin','Inject','dispose','100%','HistoryIcon','M0\x200H16V16H0z','610lVTQnP','M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z','UniverSheetsHyperLinkUIPlugin','ISidebarService','useRef','createElement','_selectionProtectionRuleModel','getCurrentRangeDisable$','_localCacheService','subscribe','close','14130576qLSPvp','5503890nBPfUg','LS_CONFIG_KEY','ComponentManager','getCurrentLocale','MenuItemType','colorChannel1','path','IMenuManagerService','univerjs-icon\x20univerjs-icon-','appendChild','[HistoryLoaderService]:\x20Plugin\x20','includes','has','values','WorkbookRecoverHistoryPermission','closeAll','UNIVER_SHEET','IUniverInstanceService','CHANGESET_ACK','univer-history-container','merge','Error','getCollabEntity','mountHistoryContent','composePermission','http://www.w3.org/2000/svg','assign','setLocale','WorksheetEditPermission','_init','_config','block','editHistory.panel.revertFailed','disposeWithMe','currentColor','uComp','RxDisposable','getConfig','history-icon_clip0_907_281','SYNCED','UniverSheetsPivotTablePlugin','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_checkCanRevert','unMountHistoryContent','_localeService','attrs','2AQHArX','_commandService','MessageType','UNIVER_HISTORY_CONTAINER_ID','width','_historyManagerService','_initUniver','substring','svg','invoke','next','get','M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z','_initPlugins','univer.operation.toggle-edit-history','_messageService','forwardRef','style','UniverSheetsDataValidationPlugin','historyUniver','idSuffix','UniverRPCMainThreadPlugin','UniverSheetsFilterUIPlugin','editHistory.panel.reverting'];_0x11b2=function(){return _0x3a3753;};return _0x11b2();}
1
+ 'use strict';const _0x5d14c1=_0xb3a4;(function(_0x11ee3a,_0x204c7a){const _0x589ef2=_0xb3a4,_0x2071c9=_0x11ee3a();while(!![]){try{const _0x4b9cc9=parseInt(_0x589ef2(0x1f0))/0x1+parseInt(_0x589ef2(0x12f))/0x2+parseInt(_0x589ef2(0x1d5))/0x3*(parseInt(_0x589ef2(0x17a))/0x4)+-parseInt(_0x589ef2(0x123))/0x5*(parseInt(_0x589ef2(0x148))/0x6)+-parseInt(_0x589ef2(0x1b9))/0x7+-parseInt(_0x589ef2(0x16d))/0x8*(parseInt(_0x589ef2(0x160))/0x9)+parseInt(_0x589ef2(0x11d))/0xa;if(_0x4b9cc9===_0x204c7a)break;else _0x2071c9['push'](_0x2071c9['shift']());}catch(_0x4de885){_0x2071c9['push'](_0x2071c9['shift']());}}}(_0x5191,0x547e2));var A=Object[_0x5d14c1(0x157)],F=(_0x5c7483,_0x5f1d95,_0x557a7d)=>_0x5f1d95 in _0x5c7483?A(_0x5c7483,_0x5f1d95,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x557a7d}):_0x5c7483[_0x5f1d95]=_0x557a7d,_=(_0xf9831a,_0x5935e2,_0x35994f)=>F(_0xf9831a,typeof _0x5935e2!='symbol'?_0x5935e2+'':_0x5935e2,_0x35994f);Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x5d14c1(0x178)});const o=require('@univerjs/core'),C=require('@univerjs-pro/collaboration'),p=require('@univerjs-pro/collaboration-client'),P=require('@univerjs/design'),U=require('react'),h=require('@univerjs/ui'),O=require('rxjs'),d=require('@univerjs/sheets'),m=require('@univerjs-pro/edit-history-viewer'),L=require('@univerjs-pro/license'),V=require('@univerjs-pro/sheets-chart'),G=require('@univerjs-pro/sheets-chart-ui'),Y=require('@univerjs-pro/sheets-pivot'),K=require('@univerjs-pro/sheets-sparkline'),W=require('@univerjs-pro/sheets-sparkline-ui'),B=require('@univerjs/data-validation'),z=require('@univerjs/docs'),Z=require('@univerjs/docs-ui'),N=require('@univerjs/drawing'),J=require('@univerjs/drawing-ui'),Q=require('@univerjs/engine-formula'),X=require('@univerjs/engine-render'),ee=require('@univerjs/network'),R=require('@univerjs/rpc'),ie=require('@univerjs/sheets-conditional-formatting'),te=require('@univerjs/sheets-conditional-formatting-ui'),re=require('@univerjs/sheets-data-validation'),ne=require('@univerjs/sheets-data-validation-ui'),se=require('@univerjs/sheets-drawing'),oe=require('@univerjs/sheets-drawing-ui'),ae=require('@univerjs/sheets-filter'),ce=require('@univerjs/sheets-filter-ui'),le=require('@univerjs/sheets-formula'),ue=require('@univerjs/sheets-formula-ui'),he=require('@univerjs/sheets-hyper-link'),ge=require('@univerjs/sheets-hyper-link-ui'),ve=require('@univerjs/sheets-numfmt'),k=require('@univerjs/sheets-ui'),b=_0x5d14c1(0x155),T={};function D({ref:_0x53b200,..._0x227efe}){const _0x38ac85=_0x5d14c1,{icon:_0x2ca106,id:_0x32894d,className:_0x1bcab7,extend:_0x1a12b6,..._0x4b976b}=_0x227efe,_0xcbde0a=('univerjs-icon\x20univerjs-icon-'+_0x32894d+'\x20'+(_0x1bcab7||''))[_0x38ac85(0x122)](),_0x591ba4=U['useRef']('_'+Se());return q(_0x2ca106,''+_0x32894d,{'defIds':_0x2ca106[_0x38ac85(0x197)],'idSuffix':_0x591ba4[_0x38ac85(0x149)]},{'ref':_0x53b200,'className':_0xcbde0a,..._0x4b976b},_0x1a12b6);}function q(_0x48312e,_0x488490,_0x16a19b,_0x49704e,_0xc9eeac){const _0x2b9b8f=_0x5d14c1;return U[_0x2b9b8f(0x130)](_0x48312e[_0x2b9b8f(0x167)],{'key':_0x488490,...de(_0x48312e,_0x16a19b,_0xc9eeac),..._0x49704e},(_e(_0x48312e,_0x16a19b)[_0x2b9b8f(0x117)]||[])[_0x2b9b8f(0x1f8)]((_0x43d0fe,_0x265efc)=>q(_0x43d0fe,_0x488490+'-'+_0x48312e[_0x2b9b8f(0x167)]+'-'+_0x265efc,_0x16a19b,void 0x0,_0xc9eeac)));}function de(_0x657711,_0x5b0648,_0x178466){const _0x1cc946=_0x5d14c1,_0xab055a={..._0x657711[_0x1cc946(0x1ac)]};_0x178466!=null&&_0x178466[_0x1cc946(0x1ab)]&&_0xab055a[_0x1cc946(0x1a9)]===_0x1cc946(0x1ab)&&(_0xab055a[_0x1cc946(0x1a9)]=_0x178466['colorChannel1']),_0x657711[_0x1cc946(0x167)]===_0x1cc946(0x1e9)&&_0xab055a['id']&&(_0xab055a['id']=_0xab055a['id']+_0x5b0648['idSuffix']),Object[_0x1cc946(0x1eb)](_0xab055a)['forEach'](([_0xb2b3a8,_0x4c7dd1])=>{const _0x298749=_0x1cc946;_0xb2b3a8==='mask'&&typeof _0x4c7dd1==_0x298749(0x115)&&(_0xab055a[_0xb2b3a8]=_0x4c7dd1[_0x298749(0x1d1)](/url\(#(.*)\)/,_0x298749(0x1da)+_0x5b0648['idSuffix']+')'));});const {defIds:_0x501bdc}=_0x5b0648;return!_0x501bdc||_0x501bdc[_0x1cc946(0x17e)]===0x0||(_0x657711['tag']==='use'&&_0xab055a[_0x1cc946(0x1a3)]&&(_0xab055a[_0x1cc946(0x1a3)]=_0xab055a['xlink:href']+_0x5b0648[_0x1cc946(0x180)]),Object[_0x1cc946(0x1eb)](_0xab055a)[_0x1cc946(0x154)](([_0x27929c,_0x30f201])=>{const _0x678f30=_0x1cc946;typeof _0x30f201==_0x678f30(0x115)&&(_0xab055a[_0x27929c]=_0x30f201['replace'](/url\(#(.*)\)/,_0x678f30(0x1da)+_0x5b0648[_0x678f30(0x180)]+')'));})),_0xab055a;}function _e(_0xe12a3,_0x55079c){const _0x1e4748=_0x5d14c1;var _0x25aad2;const {defIds:_0x5782a8}=_0x55079c;return!_0x5782a8||_0x5782a8[_0x1e4748(0x17e)]===0x0?_0xe12a3:_0xe12a3[_0x1e4748(0x167)]==='defs'&&((_0x25aad2=_0xe12a3[_0x1e4748(0x117)])!=null&&_0x25aad2[_0x1e4748(0x17e)])?{..._0xe12a3,'children':_0xe12a3[_0x1e4748(0x117)][_0x1e4748(0x1f8)](_0x2fcc2d=>typeof _0x2fcc2d[_0x1e4748(0x1ac)]['id']==_0x1e4748(0x115)&&_0x5782a8&&_0x5782a8[_0x1e4748(0x125)](_0x2fcc2d[_0x1e4748(0x1ac)]['id'])?{..._0x2fcc2d,'attrs':{..._0x2fcc2d[_0x1e4748(0x1ac)],'id':_0x2fcc2d[_0x1e4748(0x1ac)]['id']+_0x55079c[_0x1e4748(0x180)]}}:_0x2fcc2d)}:_0xe12a3;}function Se(){const _0x12ab90=_0x5d14c1;return Math[_0x12ab90(0x135)]()[_0x12ab90(0x13f)](0x24)[_0x12ab90(0x1ea)](0x2,0x8);}D['displayName']='UniverIcon';const me={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5d14c1(0x166),'viewBox':_0x5d14c1(0x1c8),'width':_0x5d14c1(0x1e8),'height':_0x5d14c1(0x1e8)},'children':[{'tag':'g','attrs':{'fill':_0x5d14c1(0x142),'clipPath':'url(#history-icon_clip0_907_281)'},'children':[{'tag':'path','attrs':{'d':_0x5d14c1(0x1ee)}},{'tag':'path','attrs':{'d':_0x5d14c1(0x1cf)}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x5d14c1(0x17c),'attrs':{'id':_0x5d14c1(0x1bf)},'children':[{'tag':'path','attrs':{'fill':_0x5d14c1(0x19b),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x5d14c1(0x1bf)]},$=U[_0x5d14c1(0x150)](function(_0x2381e7,_0x37fb0e){const _0x2a2c86=_0x5d14c1;return U[_0x2a2c86(0x130)](D,Object['assign']({},_0x2381e7,{'id':_0x2a2c86(0x164),'ref':_0x37fb0e,'icon':me}));});$[_0x5d14c1(0x14f)]='HistoryIcon';var ye=Object[_0x5d14c1(0x184)],pe=(_0x34cc24,_0x5a70de,_0x36ab60,_0x34d12b)=>{for(var _0x208dbc=_0x34d12b>0x1?void 0x0:_0x34d12b?ye(_0x5a70de,_0x36ab60):_0x5a70de,_0x5347bc=_0x34cc24['length']-0x1,_0x884c82;_0x5347bc>=0x0;_0x5347bc--)(_0x884c82=_0x34cc24[_0x5347bc])&&(_0x208dbc=_0x884c82(_0x208dbc)||_0x208dbc);return _0x208dbc;},g=(_0x2c3442,_0x124d6e)=>(_0x50a513,_0x344b5b)=>_0x124d6e(_0x50a513,_0x344b5b,_0x2c3442);const fe=_0x5d14c1(0x1e1),H=_0x5d14c1(0x144),y=_0x5d14c1(0x1b7);function _0xb3a4(_0x5cd577,_0x48a731){_0x5cd577=_0x5cd577-0x111;const _0x5191fa=_0x5191();let _0xb3a4ec=_0x5191fa[_0x5cd577];return _0xb3a4ec;}exports['HistoryLoaderService']=class extends o[_0x5d14c1(0x1d4)]{constructor(_0x4a9ddc,_0x324eb1,_0x789862,_0x37333b,_0x8857a,_0x30f9c8,_0x4b5d46,_0x3dcac6,_0x43e81f,_0x1cf4cd){const _0x3690d2=_0x5d14c1;super(),_(this,_0x3690d2(0x168),new O[(_0x3690d2(0x145))](null)),_(this,_0x3690d2(0x1a8),this[_0x3690d2(0x168)][_0x3690d2(0x18c)]()),_(this,_0x3690d2(0x1dc),new o[(_0x3690d2(0x146))]()),_(this,_0x3690d2(0x169),new Map()),(this[_0x3690d2(0x1c9)]=_0x4a9ddc,this[_0x3690d2(0x13a)]=_0x324eb1,this[_0x3690d2(0x1a4)]=_0x789862,this['_commandService']=_0x37333b,this[_0x3690d2(0x129)]=_0x8857a,this[_0x3690d2(0x18d)]=_0x30f9c8,this['_selectionProtectionRuleModel']=_0x4b5d46,this[_0x3690d2(0x199)]=_0x3dcac6,this[_0x3690d2(0x1d0)]=_0x43e81f,this['_themeService']=_0x1cf4cd,this[_0x3690d2(0x11a)]());}get['historyUniver'](){const _0x4a50a9=_0x5d14c1;return this[_0x4a50a9(0x168)][_0x4a50a9(0x127)];}[_0x5d14c1(0x11a)](){const _0x4b0770=_0x5d14c1;this[_0x4b0770(0x1e7)](),this[_0x4b0770(0x156)]();}[_0x5d14c1(0x1e7)](){const _0x203c15=_0x5d14c1;var _0x34f8ce;const _0x51d588=(_0x34f8ce=this[_0x203c15(0x1a4)][_0x203c15(0x14a)](H))!=null?_0x34f8ce:fe,_0x4cc2df=document[_0x203c15(0x18a)](_0x51d588);if(!_0x4cc2df)return;const _0x5a2af3=document['createElement'](_0x203c15(0x175));_0x5a2af3['id']=y,_0x5a2af3['dataset'][_0x203c15(0x1af)]=_0x203c15(0x15d),_0x5a2af3[_0x203c15(0x1c6)][_0x203c15(0x1cc)]=_0x203c15(0x141),_0x5a2af3[_0x203c15(0x1c6)][_0x203c15(0x1c0)]='0',_0x5a2af3[_0x203c15(0x1c6)]['left']='0',_0x5a2af3[_0x203c15(0x1c6)][_0x203c15(0x1b6)]=_0x203c15(0x159),_0x5a2af3[_0x203c15(0x1c6)][_0x203c15(0x187)]=_0x203c15(0x159),_0x5a2af3[_0x203c15(0x1c6)]['zIndex']=_0x203c15(0x14e),_0x5a2af3['style'][_0x203c15(0x133)]=_0x203c15(0x166),_0x4cc2df[_0x203c15(0x151)](_0x5a2af3);}[_0x5d14c1(0x156)](){const _0x2f1835=_0x5d14c1;var _0x5d7ae5,_0x3980e6,_0xc7df49,_0x6b5e29;[[X[_0x2f1835(0x16e)]],[h[_0x2f1835(0x174)],{'container':y,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[h[_0x2f1835(0x183)],null]]}],[ee['UniverNetworkPlugin']],[N['UniverDrawingPlugin'],{'override':[[N[_0x2f1835(0x19f)],null]]}],[z[_0x2f1835(0x16b)],{'hasScroll':!0x1}],[Z[_0x2f1835(0x11f)]],[ve[_0x2f1835(0x1f1)]],[d['UniverSheetsPlugin'],{'notExecuteFormula':!0x0}],[k['UniverSheetsUIPlugin']],[le[_0x2f1835(0x118)]],[ue[_0x2f1835(0x1ae)]],[C[_0x2f1835(0x18b)]],[ae['UniverSheetsFilterPlugin']],[ce[_0x2f1835(0x176)]],[ie[_0x2f1835(0x19a)]],[te[_0x2f1835(0x116)]],[he[_0x2f1835(0x172)]],[ge[_0x2f1835(0x1e6)]],[B[_0x2f1835(0x15a)]],[re[_0x2f1835(0x1aa)]],[ne['UniverSheetsDataValidationUIPlugin']],[Q['UniverFormulaEnginePlugin'],{'notExecuteFormula':!0x0}],[R['UniverRPCMainThreadPlugin'],{'workerURL':(_0x3980e6=(_0x5d7ae5=this['_configService'][_0x2f1835(0x14a)](R['PLUGIN_CONFIG_KEY_MAIN_THREAD']))==null?void 0x0:_0x5d7ae5[_0x2f1835(0x12d)])!=null?_0x3980e6:_0x2f1835(0x112)}],[J[_0x2f1835(0x126)]],[se['UniverSheetsDrawingPlugin']],[oe[_0x2f1835(0x182)]],[K[_0x2f1835(0x15f)]],[W['UniverSheetSparklineUIPlugin']],[V[_0x2f1835(0x13e)]],[G[_0x2f1835(0x188)]],[Y[_0x2f1835(0x16f)],{'notExecuteFormula':!0x0}],[m[_0x2f1835(0x1bc)],{'historyListServerUrl':(_0xc7df49=this[_0x2f1835(0x1a4)][_0x2f1835(0x14a)](b))==null?void 0x0:_0xc7df49[_0x2f1835(0x121)],'historyPanelComponentKey':(_0x6b5e29=this[_0x2f1835(0x1a4)]['getConfig'](b))==null?void 0x0:_0x6b5e29[_0x2f1835(0x1e0)]}]]['forEach'](([_0x36a0b1,_0x1eabcb])=>this['registerPlugin'](_0x36a0b1,_0x1eabcb));}[_0x5d14c1(0x1c4)](){const _0x44f325=_0x5d14c1;super[_0x44f325(0x1c4)](),this['unMountHistoryContent'](),this['_pluginMap'][_0x44f325(0x1f6)]();}[_0x5d14c1(0x13d)](_0x555f2d,_0x557a95,_0x375aac){const _0x481b02=_0x5d14c1;if(this[_0x481b02(0x169)][_0x481b02(0x17f)](_0x555f2d['pluginName'])&&!_0x375aac)throw new Error(_0x481b02(0x1b0)+_0x555f2d[_0x481b02(0x195)]+_0x481b02(0x1e3));this[_0x481b02(0x169)]['set'](_0x555f2d[_0x481b02(0x195)],[_0x555f2d,_0x557a95]);}['getAllPlugins'](){const _0x457a35=_0x5d14c1;return Array[_0x457a35(0x158)](this[_0x457a35(0x169)][_0x457a35(0x12a)]());}[_0x5d14c1(0x15b)](_0x513b3c){const _0x17f97e=_0x5d14c1,_0x1d497b=document[_0x17f97e(0x18a)](y);_0x1d497b&&(_0x1d497b[_0x17f97e(0x1c6)][_0x17f97e(0x133)]=_0x17f97e(0x1ad),this[_0x17f97e(0x134)](_0x513b3c,y));}['unMountHistoryContent'](){const _0x2bd000=_0x5d14c1;var _0x55a1b3;this[_0x2bd000(0x1dc)][_0x2bd000(0x1c4)](),(_0x55a1b3=this[_0x2bd000(0x18f)])==null||_0x55a1b3[_0x2bd000(0x1c4)](),this[_0x2bd000(0x168)][_0x2bd000(0x1cb)](null);const _0x163b47=document[_0x2bd000(0x18a)](y);_0x163b47&&(_0x163b47['style'][_0x2bd000(0x133)]=_0x2bd000(0x166));}['_initUniver'](_0x547a8e,_0x5b39d9){const _0x1b521a=_0x5d14c1;if(this[_0x1b521a(0x18f)])return;const _0x3e94b1=new o[(_0x1b521a(0x190))]({'locales':{[this[_0x1b521a(0x1c9)][_0x1b521a(0x13b)]()]:this[_0x1b521a(0x1c9)]['getLocales']()},'override':[[o[_0x1b521a(0x1b4)],{'useClass':p[_0x1b521a(0x1a6)]}]]}),_0x4733c3=_0x3e94b1[_0x1b521a(0x179)]();this[_0x1b521a(0x1d8)](this['_themeService']['darkMode$']['subscribe'](_0x1c12da=>{const _0xbb36f3=_0x1b521a;_0x4733c3[_0xbb36f3(0x1c2)](o['ThemeService'])[_0xbb36f3(0x171)](_0x1c12da);})),this[_0x1b521a(0x1d8)](this[_0x1b521a(0x1db)]['currentTheme$'][_0x1b521a(0x1a2)](_0x6693f=>{const _0x57a2e6=_0x1b521a;_0x4733c3[_0x57a2e6(0x1c2)](o['ThemeService'])[_0x57a2e6(0x1a7)](_0x6693f);})),_0x4733c3[_0x1b521a(0x1c2)](o[_0x1b521a(0x147)])[_0x1b521a(0x189)](this[_0x1b521a(0x1c9)][_0x1b521a(0x13b)]()),_0x4733c3['get'](o[_0x1b521a(0x16c)])[_0x1b521a(0x1e5)](p[_0x1b521a(0x119)],this[_0x1b521a(0x1a4)][_0x1b521a(0x14a)](p[_0x1b521a(0x119)]));const _0x4b6183=this['_configService'][_0x1b521a(0x14a)](L['LS_CONFIG_KEY']);_0x4b6183&&_0x3e94b1[_0x1b521a(0x13d)](L[_0x1b521a(0x1bb)],{'license':_0x4b6183['ls']}),this[_0x1b521a(0x169)][_0x1b521a(0x154)](([_0x4530e2,_0x424f80])=>{_0x3e94b1['registerPlugin'](_0x4530e2,_0x424f80);}),_0x4733c3[_0x1b521a(0x1ed)](_0x4d252b=>{this['_initListener'](_0x4d252b,_0x547a8e);}),this['_historyUniver$']['next'](_0x3e94b1);const _0x283d62=_0x4733c3[_0x1b521a(0x1c2)](m['HistoryManagerService']),_0x520a5f=this[_0x1b521a(0x1bd)](_0x547a8e);_0x283d62[_0x1b521a(0x1d2)](_0x547a8e,_0x5b39d9,_0x520a5f);}['_initListener'](_0x1a30a7,_0x55ee04){const _0x31e27d=_0x5d14c1,_0x2bcdd7=_0x1a30a7[_0x31e27d(0x1c2)](m['HistoryManagerService']);this[_0x31e27d(0x1dc)][_0x31e27d(0x114)](_0x2bcdd7['status$'][_0x31e27d(0x1a2)](_0x3d2c2d=>{const _0x389c4d=_0x31e27d;switch(_0x3d2c2d){case m['HistoryModeStatus'][_0x389c4d(0x14c)]:this[_0x389c4d(0x199)][_0x389c4d(0x1a0)](),this[_0x389c4d(0x1d0)][_0x389c4d(0x11e)]();break;case m[_0x389c4d(0x138)][_0x389c4d(0x153)]:this[_0x389c4d(0x12e)]['executeCommand'](j['id']),this['unMountHistoryContent']();break;case m[_0x389c4d(0x138)]['Error']:this['unMountHistoryContent'](),this[_0x389c4d(0x129)][_0x389c4d(0x14d)]({'content':this[_0x389c4d(0x1c9)]['t'](_0x389c4d(0x170)),'type':P['MessageType'][_0x389c4d(0x11b)],'duration':0xbb8});break;}})),this[_0x31e27d(0x1dc)][_0x31e27d(0x114)](_0x2bcdd7[_0x31e27d(0x12c)][_0x31e27d(0x1a2)](async _0x1ecb73=>{const _0x1dd7c1=_0x31e27d;_0x1ecb73&&this[_0x1dd7c1(0x12e)][_0x1dd7c1(0x1ef)](C[_0x1dd7c1(0x161)]['id'],{'unitId':_0x55ee04,'revision':_0x1ecb73});}));}[_0x5d14c1(0x1bd)](_0x27a2f9){const _0x12d958=_0x5d14c1,_0x2ee80c=this[_0x12d958(0x13a)][_0x12d958(0x1b8)](_0x27a2f9)[_0x12d958(0x1c7)]()[_0x12d958(0x1f8)](_0x2b84f2=>_0x2b84f2[_0x12d958(0x1ba)]()),_0x3445d9=new d['WorkbookEditablePermission'](_0x27a2f9)['id'],_0x1d6c48=_0x2ee80c[_0x12d958(0x1f8)](_0x2bced5=>new d[(_0x12d958(0x14b))](_0x27a2f9,_0x2bced5)['id']),_0x32ceb0=_0x2ee80c[_0x12d958(0x1f8)](_0x35bccf=>this['_selectionProtectionRuleModel']['getSubunitRuleList'](_0x27a2f9,_0x35bccf)[_0x12d958(0x1f8)](_0x2336f0=>new d[(_0x12d958(0x186))](_0x27a2f9,_0x35bccf,_0x2336f0['permissionId'])['id']))[_0x12d958(0x124)](),_0x2f4bb1=new d[(_0x12d958(0x132))](_0x27a2f9)['id'];return this[_0x12d958(0x18d)][_0x12d958(0x1f2)]([_0x3445d9,..._0x1d6c48,..._0x32ceb0,_0x2f4bb1])[_0x12d958(0x165)](_0xe737b3=>!!_0xe737b3[_0x12d958(0x127)]);}},exports[_0x5d14c1(0x1c5)]=pe([g(0x0,o[_0x5d14c1(0x1ca)](o['LocaleService'])),g(0x1,o[_0x5d14c1(0x1f5)]),g(0x2,o[_0x5d14c1(0x16c)]),g(0x3,o[_0x5d14c1(0x17b)]),g(0x4,h['IMessageService']),g(0x5,o['IPermissionService']),g(0x6,o[_0x5d14c1(0x1ca)](d[_0x5d14c1(0x11c)])),g(0x7,o[_0x5d14c1(0x1ca)](h[_0x5d14c1(0x183)])),g(0x8,o[_0x5d14c1(0x1ca)](h[_0x5d14c1(0x136)])),g(0x9,o[_0x5d14c1(0x1ca)](o['ThemeService']))],exports[_0x5d14c1(0x1c5)]);const M={'id':_0x5d14c1(0x16a),'type':o[_0x5d14c1(0x192)][_0x5d14c1(0x1c3)],'handler':_0x6fb744=>{const _0x1da8a6=_0x5d14c1,_0x3fb724=_0x6fb744[_0x1da8a6(0x1c2)](exports['HistoryLoaderService']),_0x40eda6=_0x6fb744[_0x1da8a6(0x1c2)](o[_0x1da8a6(0x1f5)]),{unitId:_0x5687ca}=d[_0x1da8a6(0x1dd)](_0x40eda6)||{};return _0x5687ca?(_0x3fb724[_0x1da8a6(0x15b)](_0x5687ca),!0x0):!0x1;}},j={'id':_0x5d14c1(0x181),'type':o['CommandType'][_0x5d14c1(0x1c3)],'handler':()=>!0x0};function Ce(_0x4d4f50){const _0x3e5309=_0x5d14c1;return{'id':M['id'],'type':h[_0x3e5309(0x1e4)][_0x3e5309(0x1be)],'icon':_0x3e5309(0x152),'tooltip':_0x3e5309(0x18e),'hidden$':h[_0x3e5309(0x13c)](_0x4d4f50,o['UniverInstanceType'][_0x3e5309(0x1a5)]),'disabled$':k[_0x3e5309(0x19c)](_0x4d4f50,{'workbookTypes':[d[_0x3e5309(0x1f4)],d[_0x3e5309(0x140)]],'worksheetTypes':[],'rangeTypes':[]})};}const Ie={[h[_0x5d14c1(0x15e)][_0x5d14c1(0x120)]]:{[M['id']]:{'order':0.2,'menuItemFactory':Ce}}};var Ue=Object[_0x5d14c1(0x184)],Ee=(_0x966f66,_0x529b29,_0x1d0e5c,_0x2273cf)=>{const _0x131c13=_0x5d14c1;for(var _0x525fa0=_0x2273cf>0x1?void 0x0:_0x2273cf?Ue(_0x529b29,_0x1d0e5c):_0x529b29,_0x2780dc=_0x966f66[_0x131c13(0x17e)]-0x1,_0x1fcd8b;_0x2780dc>=0x0;_0x2780dc--)(_0x1fcd8b=_0x966f66[_0x2780dc])&&(_0x525fa0=_0x1fcd8b(_0x525fa0)||_0x525fa0);return _0x525fa0;},S=(_0x2d35ac,_0x141d77)=>(_0x2fca1f,_0x8c43d8)=>_0x141d77(_0x2fca1f,_0x8c43d8,_0x2d35ac);let E=class extends o['RxDisposable']{constructor(_0x536adf,_0x3c4be3,_0x37920c,_0x3ec29c,_0x524df7,_0x42034a,_0x57519c,_0x5dd41a){const _0x13213c=_0x5d14c1;super(),_(this,_0x13213c(0x111),null),(this['_commandService']=_0x536adf,this['_menuManagerService']=_0x3c4be3,this['_componentManager']=_0x37920c,this[_0x13213c(0x193)]=_0x3ec29c,this[_0x13213c(0x1c9)]=_0x524df7,this['_messageService']=_0x42034a,this[_0x13213c(0x113)]=_0x57519c,this[_0x13213c(0x1f7)]=_0x5dd41a,this[_0x13213c(0x11a)]());}['_init'](){const _0x4cf3b2=_0x5d14c1;[M,j][_0x4cf3b2(0x154)](_0x126aaf=>this[_0x4cf3b2(0x1d8)](o['toDisposable'](this[_0x4cf3b2(0x12e)]['registerCommand'](_0x126aaf)))),this[_0x4cf3b2(0x1d8)](this[_0x4cf3b2(0x185)]['register']('HistoryIcon',$)),this[_0x4cf3b2(0x163)][_0x4cf3b2(0x1b5)](Ie),this[_0x4cf3b2(0x1d8)](this[_0x4cf3b2(0x12e)][_0x4cf3b2(0x1d3)](_0x3336b8=>{const _0xad4bea=_0x4cf3b2;if(_0x3336b8['id']===C[_0xad4bea(0x161)]['id']){this['_messageService'][_0xad4bea(0x14d)]({'content':this['_localeService']['t']('editHistory.panel.reverting'),'type':P[_0xad4bea(0x198)]['Loading'],'duration':0x1388});const {unitId:_0x236e53}=_0x3336b8[_0xad4bea(0x137)],_0x5e6c0e=this[_0xad4bea(0x113)][_0xad4bea(0x191)](_0x236e53),_0x3d844d=O['combineLatest']([_0x5e6c0e[_0xad4bea(0x1de)][_0xad4bea(0x19e)],_0x5e6c0e[_0xad4bea(0x194)]])[_0xad4bea(0x1a2)](async([_0x3fac21,_0x132eb3])=>{const _0x2f247f=_0xad4bea;var _0x49fe26;_0x3fac21[_0x2f247f(0x131)]===C[_0x2f247f(0x196)]['CHANGESET_ACK']&&(_0x132eb3==null?void 0x0:_0x132eb3[_0x2f247f(0x177)])===p[_0x2f247f(0x1a1)][_0x2f247f(0x1d9)]&&_0x3fac21[_0x2f247f(0x1b1)]['mutations'][_0x2f247f(0x173)](_0x4392e0=>_0x4392e0['id']===C[_0x2f247f(0x161)]['id'])&&(this[_0x2f247f(0x193)][_0x2f247f(0x15c)](),_0x3d844d['unsubscribe'](),this[_0x2f247f(0x111)]&&clearTimeout(this[_0x2f247f(0x111)]),await((_0x49fe26=this[_0x2f247f(0x1f7)])==null?void 0x0:_0x49fe26['exhaustSavingTask']()),setTimeout(()=>window['location'][_0x2f247f(0x1f3)]()));});this[_0xad4bea(0x111)]=setTimeout(()=>{const _0x4602ab=_0xad4bea;_0x3d844d['unsubscribe'](),this['_messageService'][_0x4602ab(0x14d)]({'content':this['_localeService']['t'](_0x4602ab(0x1b3)),'type':P[_0x4602ab(0x198)]['Error'],'duration':0xbb8});},0x1388);}}));}};E=Ee([S(0x0,o['ICommandService']),S(0x1,h['IMenuManagerService']),S(0x2,o[_0x5d14c1(0x1ca)](h['ComponentManager'])),S(0x3,o[_0x5d14c1(0x1ca)](exports['HistoryLoaderService'])),S(0x4,o[_0x5d14c1(0x1ca)](o[_0x5d14c1(0x147)])),S(0x5,h[_0x5d14c1(0x1ce)]),S(0x6,o['Inject'](p[_0x5d14c1(0x19d)])),S(0x7,p[_0x5d14c1(0x17d)])],E);var Pe=Object[_0x5d14c1(0x184)],be=(_0x197410,_0x4bb103,_0x251e38,_0x3a4782)=>{const _0x74ae16=_0x5d14c1;for(var _0x54526d=_0x3a4782>0x1?void 0x0:_0x3a4782?Pe(_0x4bb103,_0x251e38):_0x4bb103,_0x3442b9=_0x197410[_0x74ae16(0x17e)]-0x1,_0x88cea;_0x3442b9>=0x0;_0x3442b9--)(_0x88cea=_0x197410[_0x3442b9])&&(_0x54526d=_0x88cea(_0x54526d)||_0x54526d);return _0x54526d;},w=(_0x4cbc36,_0x9cefb9)=>(_0x1518d4,_0x1fa090)=>_0x9cefb9(_0x1518d4,_0x1fa090,_0x4cbc36);const He='UNIVER_EDIT_HISTORY_LOADER_PLUGIN';var I;function _0x5191(){const _0x44fe5e=['length','has','idSuffix','univer.operation.exit-edit-history','UniverSheetsDrawingUIPlugin','IDialogService','getOwnPropertyDescriptor','_componentManager','RangeProtectionPermissionEditPoint','height','UniverSheetsChartUIPlugin','setLocale','getElementById','UniverCollaborationPlugin','asObservable','_permissionService','editHistory.panel.title','historyUniver','Univer','getCollabEntity','CommandType','_historyManagerService','state$','pluginName','CollaborationEvent','defIds','MessageType','_dialogService','UniverSheetsConditionalFormattingPlugin','white','getCurrentRangeDisable$','CollaborationController','event$','IImageIoService','closeAll','CollaborationStatus','subscribe','xlink:href','_configService','UNIVER_SHEET','AuthzIoHttpService','setTheme','historyUniver$','fill','UniverSheetsDataValidationPlugin','colorChannel1','attrs','block','UniverSheetsFormulaUIPlugin','uComp','[HistoryLoaderService]:\x20Plugin\x20','data','univerContainerId','editHistory.panel.revertFailed','IAuthzIoService','mergeMenu','width','univer-history-container','getUnit','1515409HpzerB','getSheetId','UniverLicensePlugin','UniverEditHistoryViewerPlugin','_checkCanRevert','BUTTON','history-icon_clip0_907_281','top','onSteady','get','OPERATION','dispose','HistoryLoaderService','style','getSheets','0\x200\x2016\x2016','_localeService','Inject','next','position','Plugin','IMessageService','M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z','_sidebarService','replace','triggerLoadVersions','onCommandExecuted','Disposable','1176099SCOUxj','_config','UniverEditHistoryLoaderPlugin','disposeWithMe','SYNCED','url(#$1','_themeService','_disposableCollection','getSheetCommandTarget','session','UNIVER_UNKNOWN','historyPanelComponentKey','univer-container','menu','\x20has\x20been\x20registered.','MenuItemType','setConfig','UniverSheetsHyperLinkUIPlugin','_initContainer','1em','mask','substring','entries','UNIVER_HISTORY_CONTAINER_ID','invoke','M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z','executeCommand','234092YLAkor','UniverSheetsNumfmtPlugin','composePermission','reload','WorkbookEditablePermission','IUniverInstanceService','clear','_localCacheService','map','_revertErrorTimer','./worker.js','_collaborationController','add','string','UniverSheetsConditionalFormattingUIPlugin','children','UniverSheetsFormulaPlugin','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_init','Error','RangeProtectionRuleModel','5596510vYoTdV','close','UniverDocsUIPlugin','OTHERS','historyListServerUrl','trim','46650YyeGLN','flat','includes','UniverDrawingUIPlugin','value','onStarting','_messageService','values','merge','revertRevision$','workerURL','_commandService','856784gWugqb','createElement','eventID','WorkbookRecoverHistoryPermission','display','_initUniver','random','ISidebarService','params','HistoryModeStatus','UNIVER_CONTAINER_ID_KEY','_univerInstanceService','getCurrentLocale','getMenuHiddenObservable','registerPlugin','UniverSheetsChartPlugin','toString','WorkbookViewHistoryPermission','absolute','currentColor','_injector','UNIVER_CONTAINER_ID','BehaviorSubject','DisposableCollection','LocaleService','348uGYfeA','current','getConfig','WorksheetEditPermission','Entered','show','1000','displayName','forwardRef','appendChild','HistoryIcon','Exited','forEach','edit-history-loader.config','_initPlugins','defineProperty','from','100%','UniverDataValidationPlugin','mountHistoryContent','unMountHistoryContent','history-container','RibbonStartGroup','UniverSheetSparklinePlugin','27kGKRDe','RevertRevisionMutation','type','_menuManagerService','history-icon','every','none','tag','_historyUniver$','_pluginMap','univer.operation.toggle-edit-history','UniverDocsPlugin','IConfigService','1361224LzlbIF','UniverRenderEnginePlugin','UniverSheetsPivotTablePlugin','editHistory.panel.listFetchError','setDarkMode','UniverSheetsHyperLinkPlugin','some','UniverUIPlugin','div','UniverSheetsFilterUIPlugin','status','Module','__getInjector','4ZhCHag','ICommandService','clipPath','ILocalCacheService'];_0x5191=function(){return _0x44fe5e;};return _0x5191();}exports[_0x5d14c1(0x1d7)]=(I=class extends o[_0x5d14c1(0x1cd)]{constructor(_0x14c846=T,_0x2f18b3,_0x3345ae){const _0x173992=_0x5d14c1;super(),this['_config']=_0x14c846,this[_0x173992(0x143)]=_0x2f18b3,this[_0x173992(0x1a4)]=_0x3345ae;const {menu:_0x302756,..._0x2e14de}=o[_0x173992(0x12b)]({},T,this[_0x173992(0x1d6)]);_0x302756&&this[_0x173992(0x1a4)][_0x173992(0x1e5)](_0x173992(0x1e2),_0x302756,{'merge':!0x0}),this['_configService'][_0x173992(0x1e5)](b,_0x2e14de),this[_0x173992(0x1d6)][_0x173992(0x1b2)]&&this[_0x173992(0x1a4)][_0x173992(0x1e5)](H,this[_0x173992(0x1d6)][_0x173992(0x1b2)]);}[_0x5d14c1(0x128)](){const _0x2e4ef2=_0x5d14c1;[[exports['HistoryLoaderService']],[E]]['forEach'](_0x181b89=>this['_injector'][_0x2e4ef2(0x114)](_0x181b89));}[_0x5d14c1(0x1c1)](){this['_injector']['get'](E);}},_(I,_0x5d14c1(0x162),o['UniverInstanceType'][_0x5d14c1(0x1df)]),_(I,'pluginName',He),I),exports[_0x5d14c1(0x1d7)]=be([w(0x1,o[_0x5d14c1(0x1ca)](o['Injector'])),w(0x2,o[_0x5d14c1(0x16c)])],exports[_0x5d14c1(0x1d7)]),exports[_0x5d14c1(0x139)]=H,exports[_0x5d14c1(0x1ec)]=y;
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x474f99=_0x5023;(function(_0x2ab425,_0x203f8b){const _0x21bde4=_0x5023,_0x1798bd=_0x2ab425();while(!![]){try{const _0x2aca42=parseInt(_0x21bde4(0x134))/0x1+-parseInt(_0x21bde4(0x126))/0x2+-parseInt(_0x21bde4(0x140))/0x3+parseInt(_0x21bde4(0x135))/0x4+-parseInt(_0x21bde4(0x1b2))/0x5+-parseInt(_0x21bde4(0x18f))/0x6+parseInt(_0x21bde4(0x150))/0x7*(parseInt(_0x21bde4(0x12c))/0x8);if(_0x2aca42===_0x203f8b)break;else _0x1798bd['push'](_0x1798bd['shift']());}catch(_0x1e5d6f){_0x1798bd['push'](_0x1798bd['shift']());}}}(_0x28be,0xad2c2));var Y=Object[_0x474f99(0x143)],B=(_0x23e6f7,_0x4a5331,_0x33e9f0)=>_0x4a5331 in _0x23e6f7?Y(_0x23e6f7,_0x4a5331,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x33e9f0}):_0x23e6f7[_0x4a5331]=_0x33e9f0,g=(_0xf030b0,_0x2f3846,_0x1b9a0a)=>B(_0xf030b0,typeof _0x2f3846!='symbol'?_0x2f3846+'':_0x2f3846,_0x1b9a0a);import{Inject as _0x5239a5,LocaleService as _0x1f43c6,IUniverInstanceService as _0x47550e,IConfigService as _0x3f79c4,ICommandService as _0x304d5c,IPermissionService as _0x5b946d,ThemeService as _0x444266,Disposable as _0x4024c5,DisposableCollection as _0x46a17b,Univer as _0x25cb3d,IAuthzIoService as _0xdc156e,CommandType as _0x494ac0,UniverInstanceType as _0x58f400,RxDisposable as _0x393998,toDisposable as _0x186139,Plugin as _0x4b30da,merge as _0x305d35,Injector as _0x1df0f6}from'@univerjs/core';import{UniverCollaborationPlugin as _0x3c66e7,RevertRevisionMutation as _0x110233,CollaborationEvent as _0x279cb0}from'@univerjs-pro/collaboration';import{AuthzIoHttpService as _0x367bcc,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x30e7fb,CollaborationController as _0x4954bc,ILocalCacheService as _0x12a6b5,CollaborationStatus as _0x17a777}from'@univerjs-pro/collaboration-client';import{MessageType as _0x362cde}from'@univerjs/design';import{useRef as _0x4a0ba1,createElement as _0x20ae27,forwardRef as _0x3b370b}from'react';import{IMessageService as _0x1ccc3b,IDialogService as _0x5a4374,ISidebarService as _0x26460b,UniverUIPlugin as _0x27ab6a,getMenuHiddenObservable as _0x5ac2c9,MenuItemType as _0x31aed6,RibbonStartGroup as _0x578bb9,IMenuManagerService as _0x1c0e00,ComponentManager as _0x5aace3}from'@univerjs/ui';import{BehaviorSubject as _0x232a5c,combineLatest as _0x2318d6}from'rxjs';import{RangeProtectionRuleModel as _0x43bf69,UniverSheetsPlugin as _0x41283d,WorkbookEditablePermission as _0x3bb4fd,WorksheetEditPermission as _0x1c5abc,RangeProtectionPermissionEditPoint as _0x4078bc,WorkbookRecoverHistoryPermission as _0x1945f8,getSheetCommandTarget as _0xcdc9ce,WorkbookViewHistoryPermission as _0x9c8c8a}from'@univerjs/sheets';import{UniverEditHistoryViewerPlugin as _0x70daa7,HistoryManagerService as _0x4c34fb,HistoryModeStatus as _0x540d3a}from'@univerjs-pro/edit-history-viewer';import{LS_CONFIG_KEY as _0x174fb6,UniverLicensePlugin as _0x357bab}from'@univerjs-pro/license';import{UniverSheetsChartPlugin as _0x5a993f}from'@univerjs-pro/sheets-chart';import{UniverSheetsChartUIPlugin as _0x19720f}from'@univerjs-pro/sheets-chart-ui';import{UniverSheetsPivotTablePlugin as _0x3598f1}from'@univerjs-pro/sheets-pivot';import{UniverSheetSparklinePlugin as _0x24c94b}from'@univerjs-pro/sheets-sparkline';import{UniverSheetSparklineUIPlugin as _0x47f339}from'@univerjs-pro/sheets-sparkline-ui';function _0x28be(){const _0x59cf6=['location','_sidebarService','getSheetId','random','top','UNIVER_CONTAINER_ID','path','idSuffix','onStarting','univer-container','_componentManager','svg','event$','session','onCommandExecuted','historyUniver','setTheme','_pluginMap','replace','defs','univer.operation.exit-edit-history','next','Error','_historyUniver$','_selectionProtectionRuleModel','1000','dispose','Exited','display','Loading','register','get','Entered','_initPlugins','use','6084132gTcCDr','includes','__getInjector','add','setConfig','div','edit-history-loader.config','M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z','closeAll','string','mask','mergeMenu','_collaborationController','assign','from','dataset','getAllPlugins','_univerInstanceService','position','revertRevision$','unsubscribe','history-container','_messageService','registerCommand','params','url(#$1','darkMode$','_menuManagerService','values','exhaustSavingTask','some','editHistory.panel.reverting','currentTheme$','appendChild','UNIVER_UNKNOWN','4489435PcCLWX','subscribe','toString','[HistoryLoaderService]:\x20Plugin\x20','univer.operation.toggle-edit-history','univerjs-icon\x20univerjs-icon-','getOwnPropertyDescriptor','getSheets','_localCacheService','historyListServerUrl','forEach','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','_initListener','_injector','getConfig','map','none','displayName','height','attrs','history-icon','UNIVER_SHEET','getLocales','_disposableCollection','children','_historyManagerService','BUTTON','status$','678444eNhAGI','history-icon_clip0_907_281','./worker.js','0\x200\x2016\x2016','mutations','executeCommand','533944DMLPeG','_themeService','has','getCurrentLocale','eventID','permissionId','tag','block','283455SCSdYm','1710676ikzisn','100%','SYNCED','univerContainerId','style','mountHistoryContent','flat','menu','registerPlugin','unMountHistoryContent','OTHERS','2662800SZMchG','pluginName','_permissionService','defineProperty','absolute','_commandService','_config','uComp','_initContainer','substring','status','1em','defIds','getCollabEntity','fill','UniverIcon','329ynQoEq','HistoryIcon','xlink:href','_checkCanRevert','editHistory.panel.listFetchError','getElementById','_localeService','value','every','reload','show','_revertErrorTimer','setDarkMode','_init','_initUniver','M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z','getUnit','entries','_configService','_dialogService','colorChannel1','zIndex','editHistory.panel.title','OPERATION','getSubunitRuleList','close','disposeWithMe','length'];_0x28be=function(){return _0x59cf6;};return _0x28be();}import{UniverDataValidationPlugin as _0x5c6d91}from'@univerjs/data-validation';import{UniverDocsPlugin as _0x3849d0}from'@univerjs/docs';import{UniverDocsUIPlugin as _0x28e9cf}from'@univerjs/docs-ui';import{UniverDrawingPlugin as _0x419d32,IImageIoService as _0x6a6720}from'@univerjs/drawing';import{UniverDrawingUIPlugin as _0x22adfb}from'@univerjs/drawing-ui';import{UniverFormulaEnginePlugin as _0x1f6231}from'@univerjs/engine-formula';import{UniverRenderEnginePlugin as _0x1a37a9}from'@univerjs/engine-render';import{UniverNetworkPlugin as _0x29b2da}from'@univerjs/network';import{UniverRPCMainThreadPlugin as _0x262848,PLUGIN_CONFIG_KEY_MAIN_THREAD as _0xef77c3}from'@univerjs/rpc';import{UniverSheetsConditionalFormattingPlugin as _0x18ca24}from'@univerjs/sheets-conditional-formatting';import{UniverSheetsConditionalFormattingUIPlugin as _0x1c5c8b}from'@univerjs/sheets-conditional-formatting-ui';import{UniverSheetsDataValidationPlugin as _0x43d078}from'@univerjs/sheets-data-validation';import{UniverSheetsDataValidationUIPlugin as _0x49993a}from'@univerjs/sheets-data-validation-ui';import{UniverSheetsDrawingPlugin as _0x39ec22}from'@univerjs/sheets-drawing';import{UniverSheetsDrawingUIPlugin as _0x5af344}from'@univerjs/sheets-drawing-ui';import{UniverSheetsFilterPlugin as _0xb2796b}from'@univerjs/sheets-filter';import{UniverSheetsFilterUIPlugin as _0x348c41}from'@univerjs/sheets-filter-ui';import{UniverSheetsFormulaPlugin as _0x1ca573}from'@univerjs/sheets-formula';import{UniverSheetsFormulaUIPlugin as _0x10c8fd}from'@univerjs/sheets-formula-ui';import{UniverSheetsHyperLinkPlugin as _0x3639b0}from'@univerjs/sheets-hyper-link';import{UniverSheetsHyperLinkUIPlugin as _0x448025}from'@univerjs/sheets-hyper-link-ui';import{UniverSheetsNumfmtPlugin as _0x4d5f27}from'@univerjs/sheets-numfmt';function _0x5023(_0x13460e,_0x23768c){_0x13460e=_0x13460e-0x111;const _0x28be68=_0x28be();let _0x5023e9=_0x28be68[_0x13460e];return _0x5023e9;}import{UniverSheetsUIPlugin as _0x49a3ef,getCurrentRangeDisable$ as _0x1eda80}from'@univerjs/sheets-ui';const U=_0x474f99(0x195),N={};function F({ref:_0x1f036f,..._0x1b815c}){const _0x493ad1=_0x474f99,{icon:_0x213845,id:_0x34fa0e,className:_0x3f356e,extend:_0x1147a6,..._0x128cdb}=_0x1b815c,_0x2b023a=(_0x493ad1(0x1b7)+_0x34fa0e+'\x20'+(_0x3f356e||''))['trim'](),_0x322212=_0x4a0ba1('_'+hi());return j(_0x213845,''+_0x34fa0e,{'defIds':_0x213845[_0x493ad1(0x14c)],'idSuffix':_0x322212['current']},{'ref':_0x1f036f,'className':_0x2b023a,..._0x128cdb},_0x1147a6);}function j(_0x27ce9f,_0x14cec3,_0x3365f2,_0x41f94b,_0x437527){const _0x8eab3a=_0x474f99;return _0x20ae27(_0x27ce9f['tag'],{'key':_0x14cec3,...ci(_0x27ce9f,_0x3365f2,_0x437527),..._0x41f94b},(li(_0x27ce9f,_0x3365f2)[_0x8eab3a(0x122)]||[])['map']((_0x27d2ee,_0x37ce78)=>j(_0x27d2ee,_0x14cec3+'-'+_0x27ce9f['tag']+'-'+_0x37ce78,_0x3365f2,void 0x0,_0x437527)));}function ci(_0x2cd7ab,_0x13af48,_0x251e6b){const _0x447e17=_0x474f99,_0x4ed237={..._0x2cd7ab['attrs']};_0x251e6b!=null&&_0x251e6b[_0x447e17(0x164)]&&_0x4ed237[_0x447e17(0x14e)]===_0x447e17(0x164)&&(_0x4ed237[_0x447e17(0x14e)]=_0x251e6b['colorChannel1']),_0x2cd7ab[_0x447e17(0x132)]===_0x447e17(0x199)&&_0x4ed237['id']&&(_0x4ed237['id']=_0x4ed237['id']+_0x13af48[_0x447e17(0x173)]),Object[_0x447e17(0x161)](_0x4ed237)['forEach'](([_0x4e2578,_0x509c66])=>{const _0x5374f9=_0x447e17;_0x4e2578===_0x5374f9(0x199)&&typeof _0x509c66==_0x5374f9(0x198)&&(_0x4ed237[_0x4e2578]=_0x509c66['replace'](/url\(#(.*)\)/,_0x5374f9(0x1a8)+_0x13af48['idSuffix']+')'));});const {defIds:_0x2bbada}=_0x13af48;return!_0x2bbada||_0x2bbada[_0x447e17(0x16b)]===0x0||(_0x2cd7ab['tag']===_0x447e17(0x18e)&&_0x4ed237[_0x447e17(0x152)]&&(_0x4ed237[_0x447e17(0x152)]=_0x4ed237[_0x447e17(0x152)]+_0x13af48['idSuffix']),Object['entries'](_0x4ed237)[_0x447e17(0x114)](([_0x1a5e5d,_0x2c762b])=>{const _0x4a3b7e=_0x447e17;typeof _0x2c762b==_0x4a3b7e(0x198)&&(_0x4ed237[_0x1a5e5d]=_0x2c762b[_0x4a3b7e(0x17e)](/url\(#(.*)\)/,_0x4a3b7e(0x1a8)+_0x13af48['idSuffix']+')'));})),_0x4ed237;}function li(_0x1989d9,_0x44277a){const _0x498341=_0x474f99;var _0x4ae3bd;const {defIds:_0x5662b4}=_0x44277a;return!_0x5662b4||_0x5662b4[_0x498341(0x16b)]===0x0?_0x1989d9:_0x1989d9[_0x498341(0x132)]===_0x498341(0x17f)&&((_0x4ae3bd=_0x1989d9['children'])!=null&&_0x4ae3bd[_0x498341(0x16b)])?{..._0x1989d9,'children':_0x1989d9['children'][_0x498341(0x119)](_0x4d4662=>typeof _0x4d4662['attrs']['id']==_0x498341(0x198)&&_0x5662b4&&_0x5662b4[_0x498341(0x190)](_0x4d4662[_0x498341(0x11d)]['id'])?{..._0x4d4662,'attrs':{..._0x4d4662[_0x498341(0x11d)],'id':_0x4d4662[_0x498341(0x11d)]['id']+_0x44277a[_0x498341(0x173)]}}:_0x4d4662)}:_0x1989d9;}function hi(){const _0x1182b0=_0x474f99;return Math[_0x1182b0(0x16f)]()[_0x1182b0(0x1b4)](0x24)[_0x1182b0(0x149)](0x2,0x8);}F[_0x474f99(0x11b)]=_0x474f99(0x14f);const ui={'tag':_0x474f99(0x177),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x474f99(0x11a),'viewBox':_0x474f99(0x129),'width':'1em','height':_0x474f99(0x14b)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':'url(#history-icon_clip0_907_281)'},'children':[{'tag':'path','attrs':{'d':_0x474f99(0x15f)}},{'tag':_0x474f99(0x172),'attrs':{'d':_0x474f99(0x196)}}]},{'tag':_0x474f99(0x17f),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x474f99(0x127)},'children':[{'tag':_0x474f99(0x172),'attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x474f99(0x127)]},V=_0x3b370b(function(_0xde3353,_0x16fbcc){const _0x209bf3=_0x474f99;return _0x20ae27(F,Object[_0x209bf3(0x19c)]({},_0xde3353,{'id':_0x209bf3(0x11e),'ref':_0x16fbcc,'icon':ui}));});V[_0x474f99(0x11b)]=_0x474f99(0x151);var gi=Object['getOwnPropertyDescriptor'],mi=(_0x2e05ab,_0xf24d31,_0x28daeb,_0x533986)=>{const _0x524cf4=_0x474f99;for(var _0x402611=_0x533986>0x1?void 0x0:_0x533986?gi(_0xf24d31,_0x28daeb):_0xf24d31,_0x419f2f=_0x2e05ab[_0x524cf4(0x16b)]-0x1,_0x40a6df;_0x419f2f>=0x0;_0x419f2f--)(_0x40a6df=_0x2e05ab[_0x419f2f])&&(_0x402611=_0x40a6df(_0x402611)||_0x402611);return _0x402611;},l=(_0x443cb7,_0x2dca8f)=>(_0x22d1dc,_0x53d768)=>_0x2dca8f(_0x22d1dc,_0x53d768,_0x443cb7);const vi=_0x474f99(0x175),G=_0x474f99(0x171),d='univer-history-container';let f=class extends _0x4024c5{constructor(_0x49f981,_0x5d6dcb,_0x4b8aaa,_0x5d8a3d,_0x4ad078,_0x218f35,_0x3dcefb,_0x12838b,_0x1008c0,_0x22ea34){const _0x536fd8=_0x474f99;super(),g(this,_0x536fd8(0x183),new _0x232a5c(null)),g(this,'historyUniver$',this['_historyUniver$']['asObservable']()),g(this,'_disposableCollection',new _0x46a17b()),g(this,_0x536fd8(0x17d),new Map()),(this[_0x536fd8(0x156)]=_0x49f981,this['_univerInstanceService']=_0x5d6dcb,this['_configService']=_0x4b8aaa,this[_0x536fd8(0x145)]=_0x5d8a3d,this[_0x536fd8(0x1a5)]=_0x4ad078,this[_0x536fd8(0x142)]=_0x218f35,this['_selectionProtectionRuleModel']=_0x3dcefb,this[_0x536fd8(0x163)]=_0x12838b,this[_0x536fd8(0x16d)]=_0x1008c0,this[_0x536fd8(0x12d)]=_0x22ea34,this[_0x536fd8(0x15d)]());}get[_0x474f99(0x17b)](){const _0x36062a=_0x474f99;return this[_0x36062a(0x183)][_0x36062a(0x157)];}[_0x474f99(0x15d)](){const _0x1edded=_0x474f99;this['_initContainer'](),this[_0x1edded(0x18d)]();}[_0x474f99(0x148)](){const _0x30031f=_0x474f99;var _0x526b2a;const _0xe0cfe3=(_0x526b2a=this['_configService'][_0x30031f(0x118)](G))!=null?_0x526b2a:vi,_0x297865=document[_0x30031f(0x155)](_0xe0cfe3);if(!_0x297865)return;const _0x5a21b6=document['createElement'](_0x30031f(0x194));_0x5a21b6['id']=d,_0x5a21b6[_0x30031f(0x19e)][_0x30031f(0x147)]=_0x30031f(0x1a4),_0x5a21b6[_0x30031f(0x139)][_0x30031f(0x1a1)]=_0x30031f(0x144),_0x5a21b6['style'][_0x30031f(0x170)]='0',_0x5a21b6[_0x30031f(0x139)]['left']='0',_0x5a21b6[_0x30031f(0x139)]['width']=_0x30031f(0x136),_0x5a21b6[_0x30031f(0x139)][_0x30031f(0x11c)]=_0x30031f(0x136),_0x5a21b6[_0x30031f(0x139)][_0x30031f(0x165)]=_0x30031f(0x185),_0x5a21b6[_0x30031f(0x139)]['display']='none',_0x297865[_0x30031f(0x1b0)](_0x5a21b6);}[_0x474f99(0x18d)](){const _0x2f76b7=_0x474f99;var _0x326bc4,_0x4c8d1c,_0x526a8f,_0x1892ce;[[_0x1a37a9],[_0x27ab6a,{'container':d,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x5a4374,null]]}],[_0x29b2da],[_0x419d32,{'override':[[_0x6a6720,null]]}],[_0x3849d0,{'hasScroll':!0x1}],[_0x28e9cf],[_0x4d5f27],[_0x41283d,{'notExecuteFormula':!0x0}],[_0x49a3ef],[_0x1ca573],[_0x10c8fd],[_0x3c66e7],[_0xb2796b],[_0x348c41],[_0x18ca24],[_0x1c5c8b],[_0x3639b0],[_0x448025],[_0x5c6d91],[_0x43d078],[_0x49993a],[_0x1f6231,{'notExecuteFormula':!0x0}],[_0x262848,{'workerURL':(_0x4c8d1c=(_0x326bc4=this[_0x2f76b7(0x162)]['getConfig'](_0xef77c3))==null?void 0x0:_0x326bc4['workerURL'])!=null?_0x4c8d1c:_0x2f76b7(0x128)}],[_0x22adfb],[_0x39ec22],[_0x5af344],[_0x24c94b],[_0x47f339],[_0x5a993f],[_0x19720f],[_0x3598f1,{'notExecuteFormula':!0x0}],[_0x70daa7,{'historyListServerUrl':(_0x526a8f=this[_0x2f76b7(0x162)][_0x2f76b7(0x118)](U))==null?void 0x0:_0x526a8f[_0x2f76b7(0x113)],'historyPanelComponentKey':(_0x1892ce=this[_0x2f76b7(0x162)]['getConfig'](U))==null?void 0x0:_0x1892ce['historyPanelComponentKey']}]][_0x2f76b7(0x114)](([_0x20ad8e,_0x13b17c])=>this[_0x2f76b7(0x13d)](_0x20ad8e,_0x13b17c));}['dispose'](){const _0x12d7f3=_0x474f99;super[_0x12d7f3(0x186)](),this[_0x12d7f3(0x13e)](),this['_pluginMap']['clear']();}[_0x474f99(0x13d)](_0x2aaf42,_0x3e8179,_0x18cbb1){const _0x1b487c=_0x474f99;if(this[_0x1b487c(0x17d)][_0x1b487c(0x12e)](_0x2aaf42['pluginName'])&&!_0x18cbb1)throw new Error(_0x1b487c(0x1b5)+_0x2aaf42[_0x1b487c(0x141)]+'\x20has\x20been\x20registered.');this[_0x1b487c(0x17d)]['set'](_0x2aaf42[_0x1b487c(0x141)],[_0x2aaf42,_0x3e8179]);}[_0x474f99(0x19f)](){const _0x27f8f4=_0x474f99;return Array[_0x27f8f4(0x19d)](this[_0x27f8f4(0x17d)][_0x27f8f4(0x1ab)]());}['mountHistoryContent'](_0x46255b){const _0x5250a0=_0x474f99,_0x57263e=document[_0x5250a0(0x155)](d);_0x57263e&&(_0x57263e[_0x5250a0(0x139)][_0x5250a0(0x188)]=_0x5250a0(0x133),this['_initUniver'](_0x46255b,d));}[_0x474f99(0x13e)](){const _0x4236c6=_0x474f99;var _0x373dc4;this[_0x4236c6(0x121)][_0x4236c6(0x186)](),(_0x373dc4=this['historyUniver'])==null||_0x373dc4['dispose'](),this[_0x4236c6(0x183)][_0x4236c6(0x181)](null);const _0x24645a=document[_0x4236c6(0x155)](d);_0x24645a&&(_0x24645a['style'][_0x4236c6(0x188)]=_0x4236c6(0x11a));}[_0x474f99(0x15e)](_0x259374,_0xb1b57e){const _0x35affe=_0x474f99;if(this[_0x35affe(0x17b)])return;const _0x5bbc99=new _0x25cb3d({'locales':{[this[_0x35affe(0x156)]['getCurrentLocale']()]:this[_0x35affe(0x156)][_0x35affe(0x120)]()},'override':[[_0xdc156e,{'useClass':_0x367bcc}]]}),_0x1f5f89=_0x5bbc99[_0x35affe(0x191)]();this[_0x35affe(0x16a)](this['_themeService'][_0x35affe(0x1a9)][_0x35affe(0x1b3)](_0x4b221e=>{const _0x53614b=_0x35affe;_0x1f5f89['get'](_0x444266)[_0x53614b(0x15c)](_0x4b221e);})),this[_0x35affe(0x16a)](this[_0x35affe(0x12d)][_0x35affe(0x1af)][_0x35affe(0x1b3)](_0x19df71=>{const _0x2db6f8=_0x35affe;_0x1f5f89[_0x2db6f8(0x18b)](_0x444266)[_0x2db6f8(0x17c)](_0x19df71);})),_0x1f5f89[_0x35affe(0x18b)](_0x1f43c6)['setLocale'](this[_0x35affe(0x156)][_0x35affe(0x12f)]()),_0x1f5f89[_0x35affe(0x18b)](_0x3f79c4)[_0x35affe(0x193)](_0x30e7fb,this[_0x35affe(0x162)][_0x35affe(0x118)](_0x30e7fb));const _0x18da77=this[_0x35affe(0x162)][_0x35affe(0x118)](_0x174fb6);_0x18da77&&_0x5bbc99[_0x35affe(0x13d)](_0x357bab,{'license':_0x18da77['ls']}),this[_0x35affe(0x17d)][_0x35affe(0x114)](([_0x13c06d,_0x21b54a])=>{_0x5bbc99['registerPlugin'](_0x13c06d,_0x21b54a);}),_0x1f5f89['invoke'](_0x5e9235=>{const _0xe39c1c=_0x35affe;this[_0xe39c1c(0x116)](_0x5e9235,_0x259374);}),this[_0x35affe(0x183)][_0x35affe(0x181)](_0x5bbc99);const _0x27ef4a=_0x1f5f89[_0x35affe(0x18b)](_0x4c34fb),_0x37ed86=this[_0x35affe(0x153)](_0x259374);_0x27ef4a['triggerLoadVersions'](_0x259374,_0xb1b57e,_0x37ed86);}[_0x474f99(0x116)](_0x2879ef,_0xc40525){const _0x355607=_0x474f99,_0x271e43=_0x2879ef[_0x355607(0x18b)](_0x4c34fb);this[_0x355607(0x121)][_0x355607(0x192)](_0x271e43[_0x355607(0x125)][_0x355607(0x1b3)](_0x149638=>{const _0x3268fd=_0x355607;switch(_0x149638){case _0x540d3a[_0x3268fd(0x18c)]:this['_dialogService'][_0x3268fd(0x197)](),this[_0x3268fd(0x16d)][_0x3268fd(0x169)]();break;case _0x540d3a[_0x3268fd(0x187)]:this[_0x3268fd(0x145)][_0x3268fd(0x12b)](W['id']),this['unMountHistoryContent']();break;case _0x540d3a[_0x3268fd(0x182)]:this[_0x3268fd(0x13e)](),this[_0x3268fd(0x1a5)]['show']({'content':this['_localeService']['t'](_0x3268fd(0x154)),'type':_0x362cde['Error'],'duration':0xbb8});break;}})),this[_0x355607(0x121)][_0x355607(0x192)](_0x271e43[_0x355607(0x1a2)][_0x355607(0x1b3)](async _0x2bcce1=>{const _0x107102=_0x355607;_0x2bcce1&&this['_commandService'][_0x107102(0x12b)](_0x110233['id'],{'unitId':_0xc40525,'revision':_0x2bcce1});}));}[_0x474f99(0x153)](_0x55a58a){const _0x4ecd1b=_0x474f99,_0xe8c21=this[_0x4ecd1b(0x1a0)][_0x4ecd1b(0x160)](_0x55a58a)[_0x4ecd1b(0x111)]()[_0x4ecd1b(0x119)](_0x536857=>_0x536857[_0x4ecd1b(0x16e)]()),_0xdf22a5=new _0x3bb4fd(_0x55a58a)['id'],_0x548fe9=_0xe8c21[_0x4ecd1b(0x119)](_0x362840=>new _0x1c5abc(_0x55a58a,_0x362840)['id']),_0x557343=_0xe8c21[_0x4ecd1b(0x119)](_0x27afaa=>this[_0x4ecd1b(0x184)][_0x4ecd1b(0x168)](_0x55a58a,_0x27afaa)[_0x4ecd1b(0x119)](_0x48d97c=>new _0x4078bc(_0x55a58a,_0x27afaa,_0x48d97c[_0x4ecd1b(0x131)])['id']))[_0x4ecd1b(0x13b)](),_0x4b165c=new _0x1945f8(_0x55a58a)['id'];return this['_permissionService']['composePermission']([_0xdf22a5,..._0x548fe9,..._0x557343,_0x4b165c])[_0x4ecd1b(0x158)](_0x5e49fe=>!!_0x5e49fe['value']);}};f=mi([l(0x0,_0x5239a5(_0x1f43c6)),l(0x1,_0x47550e),l(0x2,_0x3f79c4),l(0x3,_0x304d5c),l(0x4,_0x1ccc3b),l(0x5,_0x5b946d),l(0x6,_0x5239a5(_0x43bf69)),l(0x7,_0x5239a5(_0x5a4374)),l(0x8,_0x5239a5(_0x26460b)),l(0x9,_0x5239a5(_0x444266))],f);const b={'id':_0x474f99(0x1b6),'type':_0x494ac0[_0x474f99(0x167)],'handler':_0x41f74c=>{const _0x3911c9=_0x474f99,_0x18f25a=_0x41f74c[_0x3911c9(0x18b)](f),_0x2e46ca=_0x41f74c['get'](_0x47550e),{unitId:_0x399d4d}=_0xcdc9ce(_0x2e46ca)||{};return _0x399d4d?(_0x18f25a[_0x3911c9(0x13a)](_0x399d4d),!0x0):!0x1;}},W={'id':_0x474f99(0x180),'type':_0x494ac0[_0x474f99(0x167)],'handler':()=>!0x0};function di(_0x162787){const _0x4cdc38=_0x474f99;return{'id':b['id'],'type':_0x31aed6[_0x4cdc38(0x124)],'icon':_0x4cdc38(0x151),'tooltip':_0x4cdc38(0x166),'hidden$':_0x5ac2c9(_0x162787,_0x58f400[_0x4cdc38(0x11f)]),'disabled$':_0x1eda80(_0x162787,{'workbookTypes':[_0x3bb4fd,_0x9c8c8a],'worksheetTypes':[],'rangeTypes':[]})};}const fi={[_0x578bb9[_0x474f99(0x13f)]]:{[b['id']]:{'order':0.2,'menuItemFactory':di}}};var _i=Object['getOwnPropertyDescriptor'],pi=(_0x15b024,_0xb17eac,_0x2ec939,_0x1c3777)=>{const _0x139d11=_0x474f99;for(var _0x1b73aa=_0x1c3777>0x1?void 0x0:_0x1c3777?_i(_0xb17eac,_0x2ec939):_0xb17eac,_0x5a1180=_0x15b024[_0x139d11(0x16b)]-0x1,_0x52a031;_0x5a1180>=0x0;_0x5a1180--)(_0x52a031=_0x15b024[_0x5a1180])&&(_0x1b73aa=_0x52a031(_0x1b73aa)||_0x1b73aa);return _0x1b73aa;},m=(_0x206d68,_0x51a9bd)=>(_0x383b67,_0x2f6e7c)=>_0x51a9bd(_0x383b67,_0x2f6e7c,_0x206d68);let p=class extends _0x393998{constructor(_0x53d5d3,_0x127090,_0x653e4f,_0x325cc6,_0x2de800,_0x51aedf,_0x3172a7,_0x2ff58a){const _0x916563=_0x474f99;super(),g(this,_0x916563(0x15b),null),(this[_0x916563(0x145)]=_0x53d5d3,this[_0x916563(0x1aa)]=_0x127090,this[_0x916563(0x176)]=_0x653e4f,this[_0x916563(0x123)]=_0x325cc6,this[_0x916563(0x156)]=_0x2de800,this[_0x916563(0x1a5)]=_0x51aedf,this[_0x916563(0x19b)]=_0x3172a7,this['_localCacheService']=_0x2ff58a,this[_0x916563(0x15d)]());}[_0x474f99(0x15d)](){const _0x268f63=_0x474f99;[b,W][_0x268f63(0x114)](_0x23d8cf=>this['disposeWithMe'](_0x186139(this[_0x268f63(0x145)][_0x268f63(0x1a6)](_0x23d8cf)))),this['disposeWithMe'](this[_0x268f63(0x176)][_0x268f63(0x18a)](_0x268f63(0x151),V)),this[_0x268f63(0x1aa)][_0x268f63(0x19a)](fi),this[_0x268f63(0x16a)](this['_commandService'][_0x268f63(0x17a)](_0x4156bd=>{const _0x1890ef=_0x268f63;if(_0x4156bd['id']===_0x110233['id']){this[_0x1890ef(0x1a5)][_0x1890ef(0x15a)]({'content':this[_0x1890ef(0x156)]['t'](_0x1890ef(0x1ae)),'type':_0x362cde[_0x1890ef(0x189)],'duration':0x1388});const {unitId:_0x4cdaad}=_0x4156bd[_0x1890ef(0x1a7)],_0x5e70ee=this[_0x1890ef(0x19b)][_0x1890ef(0x14d)](_0x4cdaad),_0x3e1594=_0x2318d6([_0x5e70ee[_0x1890ef(0x179)][_0x1890ef(0x178)],_0x5e70ee['state$']])[_0x1890ef(0x1b3)](async([_0x3f53df,_0x1517c6])=>{const _0x44cdfe=_0x1890ef;var _0x231e8b;_0x3f53df[_0x44cdfe(0x130)]===_0x279cb0['CHANGESET_ACK']&&(_0x1517c6==null?void 0x0:_0x1517c6[_0x44cdfe(0x14a)])===_0x17a777[_0x44cdfe(0x137)]&&_0x3f53df['data'][_0x44cdfe(0x12a)][_0x44cdfe(0x1ad)](_0x5d9b59=>_0x5d9b59['id']===_0x110233['id'])&&(this[_0x44cdfe(0x123)]['unMountHistoryContent'](),_0x3e1594['unsubscribe'](),this[_0x44cdfe(0x15b)]&&clearTimeout(this[_0x44cdfe(0x15b)]),await((_0x231e8b=this[_0x44cdfe(0x112)])==null?void 0x0:_0x231e8b[_0x44cdfe(0x1ac)]()),setTimeout(()=>window[_0x44cdfe(0x16c)][_0x44cdfe(0x159)]()));});this[_0x1890ef(0x15b)]=setTimeout(()=>{const _0x5e15b7=_0x1890ef;_0x3e1594[_0x5e15b7(0x1a3)](),this['_messageService'][_0x5e15b7(0x15a)]({'content':this[_0x5e15b7(0x156)]['t']('editHistory.panel.revertFailed'),'type':_0x362cde['Error'],'duration':0xbb8});},0x1388);}}));}};p=pi([m(0x0,_0x304d5c),m(0x1,_0x1c0e00),m(0x2,_0x5239a5(_0x5aace3)),m(0x3,_0x5239a5(f)),m(0x4,_0x5239a5(_0x1f43c6)),m(0x5,_0x1ccc3b),m(0x6,_0x5239a5(_0x4954bc)),m(0x7,_0x12a6b5)],p);var Si=Object[_0x474f99(0x1b8)],Ci=(_0x18af1d,_0x32b8a7,_0x2b5ab6,_0x484a4a)=>{for(var _0x21501e=_0x484a4a>0x1?void 0x0:_0x484a4a?Si(_0x32b8a7,_0x2b5ab6):_0x32b8a7,_0x511947=_0x18af1d['length']-0x1,_0x200692;_0x511947>=0x0;_0x511947--)(_0x200692=_0x18af1d[_0x511947])&&(_0x21501e=_0x200692(_0x21501e)||_0x21501e);return _0x21501e;},R=(_0x2dd874,_0x455aa6)=>(_0x17f0e1,_0x40fffc)=>_0x455aa6(_0x17f0e1,_0x40fffc,_0x2dd874);const yi=_0x474f99(0x115);var _;let H=(_=class extends _0x4b30da{constructor(_0x49e680=N,_0x36e45a,_0x3e064e){const _0x4d1a75=_0x474f99;super(),this[_0x4d1a75(0x146)]=_0x49e680,this[_0x4d1a75(0x117)]=_0x36e45a,this['_configService']=_0x3e064e;const {menu:_0x10e319,..._0x2f0fe2}=_0x305d35({},N,this[_0x4d1a75(0x146)]);_0x10e319&&this[_0x4d1a75(0x162)][_0x4d1a75(0x193)](_0x4d1a75(0x13c),_0x10e319,{'merge':!0x0}),this['_configService'][_0x4d1a75(0x193)](U,_0x2f0fe2),this[_0x4d1a75(0x146)][_0x4d1a75(0x138)]&&this[_0x4d1a75(0x162)][_0x4d1a75(0x193)](G,this[_0x4d1a75(0x146)]['univerContainerId']);}[_0x474f99(0x174)](){const _0x29705f=_0x474f99;[[f],[p]][_0x29705f(0x114)](_0x314e70=>this[_0x29705f(0x117)][_0x29705f(0x192)](_0x314e70));}['onSteady'](){const _0x48e98d=_0x474f99;this[_0x48e98d(0x117)]['get'](p);}},g(_,'type',_0x58f400[_0x474f99(0x1b1)]),g(_,_0x474f99(0x141),yi),_);H=Ci([R(0x1,_0x5239a5(_0x1df0f6)),R(0x2,_0x3f79c4)],H);export{f as HistoryLoaderService,G as UNIVER_CONTAINER_ID_KEY,d as UNIVER_HISTORY_CONTAINER_ID,H as UniverEditHistoryLoaderPlugin};
1
+ const _0x53541f=_0x1520;(function(_0x2a97ff,_0x5756cc){const _0x3ed7e9=_0x1520,_0x480bb7=_0x2a97ff();while(!![]){try{const _0xfbba79=parseInt(_0x3ed7e9(0x157))/0x1+parseInt(_0x3ed7e9(0x1d5))/0x2+parseInt(_0x3ed7e9(0x187))/0x3*(-parseInt(_0x3ed7e9(0x1e3))/0x4)+-parseInt(_0x3ed7e9(0x169))/0x5*(parseInt(_0x3ed7e9(0x1b2))/0x6)+-parseInt(_0x3ed7e9(0x1e2))/0x7+parseInt(_0x3ed7e9(0x1b4))/0x8+parseInt(_0x3ed7e9(0x191))/0x9;if(_0xfbba79===_0x5756cc)break;else _0x480bb7['push'](_0x480bb7['shift']());}catch(_0xf75dbc){_0x480bb7['push'](_0x480bb7['shift']());}}}(_0x3712,0x5c910));var Y=Object[_0x53541f(0x1dd)],B=(_0x4b2faa,_0x38d7a8,_0x4d7115)=>_0x38d7a8 in _0x4b2faa?Y(_0x4b2faa,_0x38d7a8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4d7115}):_0x4b2faa[_0x38d7a8]=_0x4d7115,g=(_0x51d97f,_0x25a131,_0xf72f99)=>B(_0x51d97f,typeof _0x25a131!=_0x53541f(0x16d)?_0x25a131+'':_0x25a131,_0xf72f99);import{Inject as _0x5d2c64,LocaleService as _0x2708aa,IUniverInstanceService as _0x182b3a,IConfigService as _0x4c10ff,ICommandService as _0x196202,IPermissionService as _0x9dc70e,ThemeService as _0x3b4ae1,Disposable as _0x1a55c6,DisposableCollection as _0x71959,Univer as _0x135edd,IAuthzIoService as _0x3fdabe,CommandType as _0x46cba4,UniverInstanceType as _0x2f58be,RxDisposable as _0x54525b,toDisposable as _0x3be409,Plugin as _0x594c54,merge as _0x4dd2b0,Injector as _0x4965aa}from'@univerjs/core';import{UniverCollaborationPlugin as _0x2c2688,RevertRevisionMutation as _0x4c629f,CollaborationEvent as _0x5a87a9}from'@univerjs-pro/collaboration';import{AuthzIoHttpService as _0x5774fd,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x5e6f31,CollaborationController as _0x15d5d1,ILocalCacheService as _0x376655,CollaborationStatus as _0x2158d8}from'@univerjs-pro/collaboration-client';import{MessageType as _0x3efc9c}from'@univerjs/design';import{useRef as _0x49ebfc,createElement as _0x4998c9,forwardRef as _0x3d43d0}from'react';import{IMessageService as _0x363f1b,IDialogService as _0xddc01b,ISidebarService as _0x43776b,UniverUIPlugin as _0x1a763c,getMenuHiddenObservable as _0x401f4c,MenuItemType as _0x377869,RibbonStartGroup as _0x5bfa8f,IMenuManagerService as _0x2825c3,ComponentManager as _0x40ac45}from'@univerjs/ui';function _0x3712(){const _0x3b81fd=['get','absolute','__getInjector','editHistory.panel.reverting','disposeWithMe','clipPath','closeAll','assign','white','display','getElementById','_localCacheService','event$','1000','reload','_configService','children','defs','div','getConfig','entries','_config','top','set','getCurrentLocale','UNIVER_CONTAINER_ID','UNIVER_SHEET','editHistory.panel.title','close','_pluginMap','exhaustSavingTask','getAllPlugins','233654oKecIp','edit-history-loader.config','add','register','_revertErrorTimer','composePermission','path','pluginName','defineProperty','Entered','defIds','_injector','position','3983469QbJWan','712636mHhtxC','displayName','_initListener','currentColor','menu','mergeMenu','Error','_historyUniver$','dispose','value','permissionId','from','data','_dialogService','url(#history-icon_clip0_907_281)','workerURL','tag','executeCommand','darkMode$','fill','_univerInstanceService','eventID','_sidebarService','_collaborationController','location','SYNCED','subscribe','_messageService','historyListServerUrl','length','univerjs-icon\x20univerjs-icon-','createElement','M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z','506542awWpEc','appendChild','map','OTHERS','HistoryIcon','params','_themeService','_permissionService','1em','onSteady','xlink:href','dataset','unMountHistoryContent','UNIVER_UNKNOWN','unsubscribe','getOwnPropertyDescriptor','_menuManagerService','editHistory.panel.revertFailed','36625AEdsIt','univerContainerId','substring','asObservable','symbol','mask','_localeService','_init','getUnit','includes','setLocale','univer.operation.toggle-edit-history','M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z','revertRevision$','http://www.w3.org/2000/svg','100%','attrs','left','flat','mutations','_initContainer','use','_initPlugins','OPERATION','history-icon_clip0_907_281','editHistory.panel.listFetchError','getCollabEntity','string','none','_initUniver','3oJqZLe','getSubunitRuleList','UniverIcon','setConfig','BUTTON','colorChannel1','state$','CHANGESET_ACK','values','width','3689118uRVEEb','univer-container','_commandService','currentTheme$','history-container','clear','next','status$','registerPlugin','univer.operation.exit-edit-history','forEach','./worker.js','historyUniver','_historyManagerService','idSuffix','[HistoryLoaderService]:\x20Plugin\x20','has','triggerLoadVersions','_selectionProtectionRuleModel','_componentManager','0\x200\x2016\x2016','historyPanelComponentKey','url(#$1','historyUniver$','style','height','mountHistoryContent','_checkCanRevert','setTheme','every','random','show','onStarting','204TPgMpe','_disposableCollection','2737256DMyovc'];_0x3712=function(){return _0x3b81fd;};return _0x3712();}import{BehaviorSubject as _0x590644,combineLatest as _0xfe74b9}from'rxjs';import{RangeProtectionRuleModel as _0x4fbab5,UniverSheetsPlugin as _0x58d66a,WorkbookEditablePermission as _0x54d446,WorksheetEditPermission as _0x5d953d,RangeProtectionPermissionEditPoint as _0x1d9c33,WorkbookRecoverHistoryPermission as _0x20647a,getSheetCommandTarget as _0x30b8ac,WorkbookViewHistoryPermission as _0x6b04a1}from'@univerjs/sheets';import{UniverEditHistoryViewerPlugin as _0x21fa92,HistoryManagerService as _0x3d400a,HistoryModeStatus as _0x4f3344}from'@univerjs-pro/edit-history-viewer';import{LS_CONFIG_KEY as _0x143642,UniverLicensePlugin as _0x256074}from'@univerjs-pro/license';import{UniverSheetsChartPlugin as _0x34cf18}from'@univerjs-pro/sheets-chart';import{UniverSheetsChartUIPlugin as _0x6c25cf}from'@univerjs-pro/sheets-chart-ui';import{UniverSheetsPivotTablePlugin as _0x5d14f7}from'@univerjs-pro/sheets-pivot';import{UniverSheetSparklinePlugin as _0x208b9b}from'@univerjs-pro/sheets-sparkline';import{UniverSheetSparklineUIPlugin as _0x4c1013}from'@univerjs-pro/sheets-sparkline-ui';import{UniverDataValidationPlugin as _0x5d50da}from'@univerjs/data-validation';import{UniverDocsPlugin as _0x205185}from'@univerjs/docs';import{UniverDocsUIPlugin as _0x4d3983}from'@univerjs/docs-ui';import{UniverDrawingPlugin as _0xdda6a6,IImageIoService as _0x3c8735}from'@univerjs/drawing';import{UniverDrawingUIPlugin as _0x2c7ed7}from'@univerjs/drawing-ui';import{UniverFormulaEnginePlugin as _0x1aa453}from'@univerjs/engine-formula';import{UniverRenderEnginePlugin as _0x44d307}from'@univerjs/engine-render';import{UniverNetworkPlugin as _0x4bf8da}from'@univerjs/network';import{UniverRPCMainThreadPlugin as _0x1da87e,PLUGIN_CONFIG_KEY_MAIN_THREAD as _0x1cd655}from'@univerjs/rpc';import{UniverSheetsConditionalFormattingPlugin as _0x599dc8}from'@univerjs/sheets-conditional-formatting';import{UniverSheetsConditionalFormattingUIPlugin as _0x414f2f}from'@univerjs/sheets-conditional-formatting-ui';import{UniverSheetsDataValidationPlugin as _0x2ef40d}from'@univerjs/sheets-data-validation';import{UniverSheetsDataValidationUIPlugin as _0x25fce9}from'@univerjs/sheets-data-validation-ui';import{UniverSheetsDrawingPlugin as _0x464097}from'@univerjs/sheets-drawing';import{UniverSheetsDrawingUIPlugin as _0xbbf862}from'@univerjs/sheets-drawing-ui';import{UniverSheetsFilterPlugin as _0x3480aa}from'@univerjs/sheets-filter';import{UniverSheetsFilterUIPlugin as _0xc98179}from'@univerjs/sheets-filter-ui';import{UniverSheetsFormulaPlugin as _0x2120e4}from'@univerjs/sheets-formula';import{UniverSheetsFormulaUIPlugin as _0x29b17a}from'@univerjs/sheets-formula-ui';import{UniverSheetsHyperLinkPlugin as _0x44fd6f}from'@univerjs/sheets-hyper-link';import{UniverSheetsHyperLinkUIPlugin as _0x16b306}from'@univerjs/sheets-hyper-link-ui';import{UniverSheetsNumfmtPlugin as _0x2de7e4}from'@univerjs/sheets-numfmt';import{UniverSheetsUIPlugin as _0x15a0e8,getCurrentRangeDisable$ as _0x3d6fdd}from'@univerjs/sheets-ui';const U=_0x53541f(0x1d6),N={};function F({ref:_0x4cbdc5,..._0x408d69}){const _0x42ba43=_0x53541f,{icon:_0x267dbc,id:_0x46badf,className:_0x5628a7,extend:_0x2e9193,..._0x4e0998}=_0x408d69,_0x361d35=(_0x42ba43(0x154)+_0x46badf+'\x20'+(_0x5628a7||''))['trim'](),_0x3c6232=_0x49ebfc('_'+hi());return j(_0x267dbc,''+_0x46badf,{'defIds':_0x267dbc[_0x42ba43(0x1df)],'idSuffix':_0x3c6232['current']},{'ref':_0x4cbdc5,'className':_0x361d35,..._0x4e0998},_0x2e9193);}function j(_0x2b0a1c,_0x4a90dd,_0x231ca6,_0x3ff12c,_0x8a18b3){const _0x115976=_0x53541f;return _0x4998c9(_0x2b0a1c[_0x115976(0x146)],{'key':_0x4a90dd,...ci(_0x2b0a1c,_0x231ca6,_0x8a18b3),..._0x3ff12c},(li(_0x2b0a1c,_0x231ca6)[_0x115976(0x1c5)]||[])[_0x115976(0x159)]((_0x953c66,_0x90b64f)=>j(_0x953c66,_0x4a90dd+'-'+_0x2b0a1c[_0x115976(0x146)]+'-'+_0x90b64f,_0x231ca6,void 0x0,_0x8a18b3)));}function ci(_0x893eb3,_0x1cae9d,_0x2e83c4){const _0x2a3193=_0x53541f,_0xe66148={..._0x893eb3[_0x2a3193(0x179)]};_0x2e83c4!=null&&_0x2e83c4[_0x2a3193(0x18c)]&&_0xe66148['fill']===_0x2a3193(0x18c)&&(_0xe66148[_0x2a3193(0x149)]=_0x2e83c4['colorChannel1']),_0x893eb3[_0x2a3193(0x146)]===_0x2a3193(0x16e)&&_0xe66148['id']&&(_0xe66148['id']=_0xe66148['id']+_0x1cae9d[_0x2a3193(0x19f)]),Object[_0x2a3193(0x1c9)](_0xe66148)['forEach'](([_0x11d7ec,_0x443e64])=>{const _0x418520=_0x2a3193;_0x11d7ec==='mask'&&typeof _0x443e64==_0x418520(0x184)&&(_0xe66148[_0x11d7ec]=_0x443e64['replace'](/url\(#(.*)\)/,_0x418520(0x1a7)+_0x1cae9d[_0x418520(0x19f)]+')'));});const {defIds:_0x3e6fa1}=_0x1cae9d;return!_0x3e6fa1||_0x3e6fa1['length']===0x0||(_0x893eb3[_0x2a3193(0x146)]===_0x2a3193(0x17e)&&_0xe66148[_0x2a3193(0x161)]&&(_0xe66148['xlink:href']=_0xe66148[_0x2a3193(0x161)]+_0x1cae9d[_0x2a3193(0x19f)]),Object['entries'](_0xe66148)['forEach'](([_0x2e1239,_0x4a27b5])=>{const _0x5b8b96=_0x2a3193;typeof _0x4a27b5=='string'&&(_0xe66148[_0x2e1239]=_0x4a27b5['replace'](/url\(#(.*)\)/,'url(#$1'+_0x1cae9d[_0x5b8b96(0x19f)]+')'));})),_0xe66148;}function li(_0x5851ce,_0x3e8b55){const _0x4a5b5b=_0x53541f;var _0x432e8e;const {defIds:_0x46e1dd}=_0x3e8b55;return!_0x46e1dd||_0x46e1dd['length']===0x0?_0x5851ce:_0x5851ce[_0x4a5b5b(0x146)]===_0x4a5b5b(0x1c6)&&((_0x432e8e=_0x5851ce[_0x4a5b5b(0x1c5)])!=null&&_0x432e8e[_0x4a5b5b(0x153)])?{..._0x5851ce,'children':_0x5851ce[_0x4a5b5b(0x1c5)][_0x4a5b5b(0x159)](_0x39fa1b=>typeof _0x39fa1b['attrs']['id']=='string'&&_0x46e1dd&&_0x46e1dd[_0x4a5b5b(0x172)](_0x39fa1b[_0x4a5b5b(0x179)]['id'])?{..._0x39fa1b,'attrs':{..._0x39fa1b['attrs'],'id':_0x39fa1b[_0x4a5b5b(0x179)]['id']+_0x3e8b55[_0x4a5b5b(0x19f)]}}:_0x39fa1b)}:_0x5851ce;}function hi(){const _0x596839=_0x53541f;return Math[_0x596839(0x1af)]()['toString'](0x24)[_0x596839(0x16b)](0x2,0x8);}F[_0x53541f(0x1e4)]=_0x53541f(0x189);const ui={'tag':'svg','attrs':{'xmlns':_0x53541f(0x177),'fill':_0x53541f(0x185),'viewBox':_0x53541f(0x1a5),'width':_0x53541f(0x15f),'height':_0x53541f(0x15f)},'children':[{'tag':'g','attrs':{'fill':_0x53541f(0x1e6),'clipPath':_0x53541f(0x144)},'children':[{'tag':_0x53541f(0x1db),'attrs':{'d':_0x53541f(0x156)}},{'tag':_0x53541f(0x1db),'attrs':{'d':_0x53541f(0x175)}}]},{'tag':_0x53541f(0x1c6),'attrs':{},'children':[{'tag':_0x53541f(0x1ba),'attrs':{'id':'history-icon_clip0_907_281'},'children':[{'tag':_0x53541f(0x1db),'attrs':{'fill':_0x53541f(0x1bd),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x53541f(0x181)]},V=_0x3d43d0(function(_0x341bf8,_0x30cfe8){const _0x433097=_0x53541f;return _0x4998c9(F,Object[_0x433097(0x1bc)]({},_0x341bf8,{'id':'history-icon','ref':_0x30cfe8,'icon':ui}));});V[_0x53541f(0x1e4)]='HistoryIcon';var gi=Object[_0x53541f(0x166)],mi=(_0x32b6cf,_0x78999d,_0x34cfaa,_0x47d3cb)=>{const _0x29060b=_0x53541f;for(var _0x3c3155=_0x47d3cb>0x1?void 0x0:_0x47d3cb?gi(_0x78999d,_0x34cfaa):_0x78999d,_0x357c2e=_0x32b6cf[_0x29060b(0x153)]-0x1,_0x19e1aa;_0x357c2e>=0x0;_0x357c2e--)(_0x19e1aa=_0x32b6cf[_0x357c2e])&&(_0x3c3155=_0x19e1aa(_0x3c3155)||_0x3c3155);return _0x3c3155;},l=(_0x43504e,_0x548d29)=>(_0x1d3c09,_0x2b4d1b)=>_0x548d29(_0x1d3c09,_0x2b4d1b,_0x43504e);const vi=_0x53541f(0x192),G=_0x53541f(0x1ce),d='univer-history-container';let f=class extends _0x1a55c6{constructor(_0x541c3f,_0x21a113,_0x4f9c1c,_0x2e1398,_0x4d437d,_0x2bb5d1,_0x2597be,_0x4e6856,_0x3bd828,_0x535ded){const _0x14c166=_0x53541f;super(),g(this,_0x14c166(0x1ea),new _0x590644(null)),g(this,_0x14c166(0x1a8),this['_historyUniver$'][_0x14c166(0x16c)]()),g(this,_0x14c166(0x1b3),new _0x71959()),g(this,_0x14c166(0x1d2),new Map()),(this[_0x14c166(0x16f)]=_0x541c3f,this[_0x14c166(0x14a)]=_0x21a113,this[_0x14c166(0x1c4)]=_0x4f9c1c,this[_0x14c166(0x193)]=_0x2e1398,this[_0x14c166(0x151)]=_0x4d437d,this['_permissionService']=_0x2bb5d1,this[_0x14c166(0x1a3)]=_0x2597be,this[_0x14c166(0x143)]=_0x4e6856,this['_sidebarService']=_0x3bd828,this[_0x14c166(0x15d)]=_0x535ded,this[_0x14c166(0x170)]());}get[_0x53541f(0x19d)](){const _0x5f443c=_0x53541f;return this[_0x5f443c(0x1ea)][_0x5f443c(0x1ec)];}['_init'](){this['_initContainer'](),this['_initPlugins']();}[_0x53541f(0x17d)](){const _0x4f91bd=_0x53541f;var _0x32f6db;const _0x3237d8=(_0x32f6db=this[_0x4f91bd(0x1c4)][_0x4f91bd(0x1c8)](G))!=null?_0x32f6db:vi,_0x379657=document[_0x4f91bd(0x1bf)](_0x3237d8);if(!_0x379657)return;const _0x515e99=document[_0x4f91bd(0x155)](_0x4f91bd(0x1c7));_0x515e99['id']=d,_0x515e99[_0x4f91bd(0x162)]['uComp']=_0x4f91bd(0x195),_0x515e99['style'][_0x4f91bd(0x1e1)]=_0x4f91bd(0x1b6),_0x515e99[_0x4f91bd(0x1a9)][_0x4f91bd(0x1cb)]='0',_0x515e99['style'][_0x4f91bd(0x17a)]='0',_0x515e99[_0x4f91bd(0x1a9)][_0x4f91bd(0x190)]=_0x4f91bd(0x178),_0x515e99['style'][_0x4f91bd(0x1aa)]=_0x4f91bd(0x178),_0x515e99[_0x4f91bd(0x1a9)]['zIndex']=_0x4f91bd(0x1c2),_0x515e99['style'][_0x4f91bd(0x1be)]=_0x4f91bd(0x185),_0x379657[_0x4f91bd(0x158)](_0x515e99);}[_0x53541f(0x17f)](){const _0x5d1633=_0x53541f;var _0x5d60a2,_0x2690ef,_0x52cdb5,_0x14931d;[[_0x44d307],[_0x1a763c,{'container':d,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0xddc01b,null]]}],[_0x4bf8da],[_0xdda6a6,{'override':[[_0x3c8735,null]]}],[_0x205185,{'hasScroll':!0x1}],[_0x4d3983],[_0x2de7e4],[_0x58d66a,{'notExecuteFormula':!0x0}],[_0x15a0e8],[_0x2120e4],[_0x29b17a],[_0x2c2688],[_0x3480aa],[_0xc98179],[_0x599dc8],[_0x414f2f],[_0x44fd6f],[_0x16b306],[_0x5d50da],[_0x2ef40d],[_0x25fce9],[_0x1aa453,{'notExecuteFormula':!0x0}],[_0x1da87e,{'workerURL':(_0x2690ef=(_0x5d60a2=this[_0x5d1633(0x1c4)][_0x5d1633(0x1c8)](_0x1cd655))==null?void 0x0:_0x5d60a2[_0x5d1633(0x145)])!=null?_0x2690ef:_0x5d1633(0x19c)}],[_0x2c7ed7],[_0x464097],[_0xbbf862],[_0x208b9b],[_0x4c1013],[_0x34cf18],[_0x6c25cf],[_0x5d14f7,{'notExecuteFormula':!0x0}],[_0x21fa92,{'historyListServerUrl':(_0x52cdb5=this['_configService'][_0x5d1633(0x1c8)](U))==null?void 0x0:_0x52cdb5[_0x5d1633(0x152)],'historyPanelComponentKey':(_0x14931d=this['_configService']['getConfig'](U))==null?void 0x0:_0x14931d[_0x5d1633(0x1a6)]}]]['forEach'](([_0x377b8d,_0x3e68cf])=>this[_0x5d1633(0x199)](_0x377b8d,_0x3e68cf));}['dispose'](){const _0x560e59=_0x53541f;super[_0x560e59(0x1eb)](),this['unMountHistoryContent'](),this[_0x560e59(0x1d2)][_0x560e59(0x196)]();}[_0x53541f(0x199)](_0x3c2134,_0x4cc55c,_0x5e3c1f){const _0x1bd2bb=_0x53541f;if(this[_0x1bd2bb(0x1d2)][_0x1bd2bb(0x1a1)](_0x3c2134[_0x1bd2bb(0x1dc)])&&!_0x5e3c1f)throw new Error(_0x1bd2bb(0x1a0)+_0x3c2134[_0x1bd2bb(0x1dc)]+'\x20has\x20been\x20registered.');this[_0x1bd2bb(0x1d2)][_0x1bd2bb(0x1cc)](_0x3c2134[_0x1bd2bb(0x1dc)],[_0x3c2134,_0x4cc55c]);}[_0x53541f(0x1d4)](){const _0x4507d0=_0x53541f;return Array[_0x4507d0(0x141)](this[_0x4507d0(0x1d2)][_0x4507d0(0x18f)]());}[_0x53541f(0x1ab)](_0x155913){const _0x2ee114=_0x53541f,_0x42505a=document['getElementById'](d);_0x42505a&&(_0x42505a[_0x2ee114(0x1a9)][_0x2ee114(0x1be)]='block',this['_initUniver'](_0x155913,d));}[_0x53541f(0x163)](){const _0x466754=_0x53541f;var _0x12ae48;this['_disposableCollection'][_0x466754(0x1eb)](),(_0x12ae48=this['historyUniver'])==null||_0x12ae48[_0x466754(0x1eb)](),this[_0x466754(0x1ea)][_0x466754(0x197)](null);const _0x301da7=document['getElementById'](d);_0x301da7&&(_0x301da7[_0x466754(0x1a9)][_0x466754(0x1be)]=_0x466754(0x185));}[_0x53541f(0x186)](_0x36f787,_0x2ed51a){const _0x2b09a3=_0x53541f;if(this[_0x2b09a3(0x19d)])return;const _0xd9e3b3=new _0x135edd({'locales':{[this['_localeService'][_0x2b09a3(0x1cd)]()]:this[_0x2b09a3(0x16f)]['getLocales']()},'override':[[_0x3fdabe,{'useClass':_0x5774fd}]]}),_0x17dc6b=_0xd9e3b3[_0x2b09a3(0x1b7)]();this[_0x2b09a3(0x1b9)](this[_0x2b09a3(0x15d)][_0x2b09a3(0x148)][_0x2b09a3(0x150)](_0x4a4497=>{const _0x51536c=_0x2b09a3;_0x17dc6b[_0x51536c(0x1b5)](_0x3b4ae1)['setDarkMode'](_0x4a4497);})),this['disposeWithMe'](this[_0x2b09a3(0x15d)][_0x2b09a3(0x194)][_0x2b09a3(0x150)](_0x1be021=>{const _0x52c8d2=_0x2b09a3;_0x17dc6b[_0x52c8d2(0x1b5)](_0x3b4ae1)[_0x52c8d2(0x1ad)](_0x1be021);})),_0x17dc6b[_0x2b09a3(0x1b5)](_0x2708aa)[_0x2b09a3(0x173)](this[_0x2b09a3(0x16f)][_0x2b09a3(0x1cd)]()),_0x17dc6b[_0x2b09a3(0x1b5)](_0x4c10ff)['setConfig'](_0x5e6f31,this[_0x2b09a3(0x1c4)][_0x2b09a3(0x1c8)](_0x5e6f31));const _0xe2a6b2=this[_0x2b09a3(0x1c4)][_0x2b09a3(0x1c8)](_0x143642);_0xe2a6b2&&_0xd9e3b3[_0x2b09a3(0x199)](_0x256074,{'license':_0xe2a6b2['ls']}),this['_pluginMap'][_0x2b09a3(0x19b)](([_0x53322e,_0x173fb7])=>{const _0x33874d=_0x2b09a3;_0xd9e3b3[_0x33874d(0x199)](_0x53322e,_0x173fb7);}),_0x17dc6b['invoke'](_0x1cbb4e=>{const _0xbb52f7=_0x2b09a3;this[_0xbb52f7(0x1e5)](_0x1cbb4e,_0x36f787);}),this[_0x2b09a3(0x1ea)]['next'](_0xd9e3b3);const _0x2a9224=_0x17dc6b['get'](_0x3d400a),_0x75921e=this[_0x2b09a3(0x1ac)](_0x36f787);_0x2a9224[_0x2b09a3(0x1a2)](_0x36f787,_0x2ed51a,_0x75921e);}[_0x53541f(0x1e5)](_0x46fb6d,_0x40fa34){const _0x25ccd5=_0x53541f,_0x2b7b59=_0x46fb6d[_0x25ccd5(0x1b5)](_0x3d400a);this[_0x25ccd5(0x1b3)][_0x25ccd5(0x1d7)](_0x2b7b59[_0x25ccd5(0x198)][_0x25ccd5(0x150)](_0x7a540f=>{const _0x13a110=_0x25ccd5;switch(_0x7a540f){case _0x4f3344[_0x13a110(0x1de)]:this[_0x13a110(0x143)][_0x13a110(0x1bb)](),this[_0x13a110(0x14c)][_0x13a110(0x1d1)]();break;case _0x4f3344['Exited']:this[_0x13a110(0x193)]['executeCommand'](W['id']),this[_0x13a110(0x163)]();break;case _0x4f3344[_0x13a110(0x1e9)]:this['unMountHistoryContent'](),this['_messageService'][_0x13a110(0x1b0)]({'content':this['_localeService']['t'](_0x13a110(0x182)),'type':_0x3efc9c[_0x13a110(0x1e9)],'duration':0xbb8});break;}})),this[_0x25ccd5(0x1b3)][_0x25ccd5(0x1d7)](_0x2b7b59[_0x25ccd5(0x176)][_0x25ccd5(0x150)](async _0x2498b9=>{const _0x3e529f=_0x25ccd5;_0x2498b9&&this['_commandService'][_0x3e529f(0x147)](_0x4c629f['id'],{'unitId':_0x40fa34,'revision':_0x2498b9});}));}[_0x53541f(0x1ac)](_0x59977c){const _0x2320eb=_0x53541f,_0x3633d6=this[_0x2320eb(0x14a)][_0x2320eb(0x171)](_0x59977c)['getSheets']()[_0x2320eb(0x159)](_0x4e7ec4=>_0x4e7ec4['getSheetId']()),_0x4d2829=new _0x54d446(_0x59977c)['id'],_0x1e9ab0=_0x3633d6[_0x2320eb(0x159)](_0x2c7d6b=>new _0x5d953d(_0x59977c,_0x2c7d6b)['id']),_0x303432=_0x3633d6[_0x2320eb(0x159)](_0x266f52=>this[_0x2320eb(0x1a3)][_0x2320eb(0x188)](_0x59977c,_0x266f52)[_0x2320eb(0x159)](_0x530518=>new _0x1d9c33(_0x59977c,_0x266f52,_0x530518[_0x2320eb(0x1ed)])['id']))[_0x2320eb(0x17b)](),_0x5f4298=new _0x20647a(_0x59977c)['id'];return this[_0x2320eb(0x15e)][_0x2320eb(0x1da)]([_0x4d2829,..._0x1e9ab0,..._0x303432,_0x5f4298])[_0x2320eb(0x1ae)](_0x5233ef=>!!_0x5233ef['value']);}};f=mi([l(0x0,_0x5d2c64(_0x2708aa)),l(0x1,_0x182b3a),l(0x2,_0x4c10ff),l(0x3,_0x196202),l(0x4,_0x363f1b),l(0x5,_0x9dc70e),l(0x6,_0x5d2c64(_0x4fbab5)),l(0x7,_0x5d2c64(_0xddc01b)),l(0x8,_0x5d2c64(_0x43776b)),l(0x9,_0x5d2c64(_0x3b4ae1))],f);function _0x1520(_0x120700,_0x256e57){_0x120700=_0x120700-0x141;const _0x371282=_0x3712();let _0x15200e=_0x371282[_0x120700];return _0x15200e;}const b={'id':_0x53541f(0x174),'type':_0x46cba4[_0x53541f(0x180)],'handler':_0x3ce659=>{const _0x3793e7=_0x53541f,_0x310095=_0x3ce659['get'](f),_0x1bac70=_0x3ce659['get'](_0x182b3a),{unitId:_0x115163}=_0x30b8ac(_0x1bac70)||{};return _0x115163?(_0x310095[_0x3793e7(0x1ab)](_0x115163),!0x0):!0x1;}},W={'id':_0x53541f(0x19a),'type':_0x46cba4[_0x53541f(0x180)],'handler':()=>!0x0};function di(_0x35dfd4){const _0x46f043=_0x53541f;return{'id':b['id'],'type':_0x377869[_0x46f043(0x18b)],'icon':_0x46f043(0x15b),'tooltip':_0x46f043(0x1d0),'hidden$':_0x401f4c(_0x35dfd4,_0x2f58be[_0x46f043(0x1cf)]),'disabled$':_0x3d6fdd(_0x35dfd4,{'workbookTypes':[_0x54d446,_0x6b04a1],'worksheetTypes':[],'rangeTypes':[]})};}const fi={[_0x5bfa8f[_0x53541f(0x15a)]]:{[b['id']]:{'order':0.2,'menuItemFactory':di}}};var _i=Object['getOwnPropertyDescriptor'],pi=(_0xbc0412,_0x1ce2dc,_0x2977e4,_0x173692)=>{const _0x37616b=_0x53541f;for(var _0x25d987=_0x173692>0x1?void 0x0:_0x173692?_i(_0x1ce2dc,_0x2977e4):_0x1ce2dc,_0x4da467=_0xbc0412[_0x37616b(0x153)]-0x1,_0x44456f;_0x4da467>=0x0;_0x4da467--)(_0x44456f=_0xbc0412[_0x4da467])&&(_0x25d987=_0x44456f(_0x25d987)||_0x25d987);return _0x25d987;},m=(_0x593071,_0x169f66)=>(_0x36ec61,_0x28c6a1)=>_0x169f66(_0x36ec61,_0x28c6a1,_0x593071);let p=class extends _0x54525b{constructor(_0x4824a5,_0x4f50c0,_0x48afbe,_0x40c72c,_0xd16aa9,_0x19a76d,_0x4e1791,_0x4c1ce4){const _0x40e9b4=_0x53541f;super(),g(this,_0x40e9b4(0x1d9),null),(this['_commandService']=_0x4824a5,this[_0x40e9b4(0x167)]=_0x4f50c0,this[_0x40e9b4(0x1a4)]=_0x48afbe,this[_0x40e9b4(0x19e)]=_0x40c72c,this['_localeService']=_0xd16aa9,this[_0x40e9b4(0x151)]=_0x19a76d,this[_0x40e9b4(0x14d)]=_0x4e1791,this[_0x40e9b4(0x1c0)]=_0x4c1ce4,this[_0x40e9b4(0x170)]());}[_0x53541f(0x170)](){const _0x35dd30=_0x53541f;[b,W][_0x35dd30(0x19b)](_0xcbd5de=>this[_0x35dd30(0x1b9)](_0x3be409(this[_0x35dd30(0x193)]['registerCommand'](_0xcbd5de)))),this[_0x35dd30(0x1b9)](this['_componentManager'][_0x35dd30(0x1d8)]('HistoryIcon',V)),this[_0x35dd30(0x167)][_0x35dd30(0x1e8)](fi),this['disposeWithMe'](this[_0x35dd30(0x193)]['onCommandExecuted'](_0x6c95a1=>{const _0x4b323b=_0x35dd30;if(_0x6c95a1['id']===_0x4c629f['id']){this[_0x4b323b(0x151)][_0x4b323b(0x1b0)]({'content':this[_0x4b323b(0x16f)]['t'](_0x4b323b(0x1b8)),'type':_0x3efc9c['Loading'],'duration':0x1388});const {unitId:_0x43288a}=_0x6c95a1[_0x4b323b(0x15c)],_0x527a9e=this['_collaborationController'][_0x4b323b(0x183)](_0x43288a),_0x4f5d83=_0xfe74b9([_0x527a9e['session'][_0x4b323b(0x1c1)],_0x527a9e[_0x4b323b(0x18d)]])['subscribe'](async([_0x343584,_0xc69cdf])=>{const _0x82f794=_0x4b323b;var _0x6410a1;_0x343584[_0x82f794(0x14b)]===_0x5a87a9[_0x82f794(0x18e)]&&(_0xc69cdf==null?void 0x0:_0xc69cdf['status'])===_0x2158d8[_0x82f794(0x14f)]&&_0x343584[_0x82f794(0x142)][_0x82f794(0x17c)]['some'](_0x5643f6=>_0x5643f6['id']===_0x4c629f['id'])&&(this[_0x82f794(0x19e)][_0x82f794(0x163)](),_0x4f5d83[_0x82f794(0x165)](),this[_0x82f794(0x1d9)]&&clearTimeout(this[_0x82f794(0x1d9)]),await((_0x6410a1=this[_0x82f794(0x1c0)])==null?void 0x0:_0x6410a1[_0x82f794(0x1d3)]()),setTimeout(()=>window[_0x82f794(0x14e)][_0x82f794(0x1c3)]()));});this[_0x4b323b(0x1d9)]=setTimeout(()=>{const _0x548263=_0x4b323b;_0x4f5d83[_0x548263(0x165)](),this[_0x548263(0x151)][_0x548263(0x1b0)]({'content':this[_0x548263(0x16f)]['t'](_0x548263(0x168)),'type':_0x3efc9c[_0x548263(0x1e9)],'duration':0xbb8});},0x1388);}}));}};p=pi([m(0x0,_0x196202),m(0x1,_0x2825c3),m(0x2,_0x5d2c64(_0x40ac45)),m(0x3,_0x5d2c64(f)),m(0x4,_0x5d2c64(_0x2708aa)),m(0x5,_0x363f1b),m(0x6,_0x5d2c64(_0x15d5d1)),m(0x7,_0x376655)],p);var Si=Object[_0x53541f(0x166)],Ci=(_0x31a54b,_0x4a8ad2,_0x3f0689,_0x8690fa)=>{const _0x7c1aa1=_0x53541f;for(var _0x283811=_0x8690fa>0x1?void 0x0:_0x8690fa?Si(_0x4a8ad2,_0x3f0689):_0x4a8ad2,_0x3461de=_0x31a54b[_0x7c1aa1(0x153)]-0x1,_0x457007;_0x3461de>=0x0;_0x3461de--)(_0x457007=_0x31a54b[_0x3461de])&&(_0x283811=_0x457007(_0x283811)||_0x283811);return _0x283811;},R=(_0x29aaa0,_0x481696)=>(_0x4c6bf1,_0x2f9229)=>_0x481696(_0x4c6bf1,_0x2f9229,_0x29aaa0);const yi='UNIVER_EDIT_HISTORY_LOADER_PLUGIN';var _;let H=(_=class extends _0x594c54{constructor(_0x2ed80e=N,_0x77be5c,_0x1361c0){const _0x59cfcd=_0x53541f;super(),this[_0x59cfcd(0x1ca)]=_0x2ed80e,this['_injector']=_0x77be5c,this[_0x59cfcd(0x1c4)]=_0x1361c0;const {menu:_0x3247f3,..._0x475cf8}=_0x4dd2b0({},N,this['_config']);_0x3247f3&&this[_0x59cfcd(0x1c4)][_0x59cfcd(0x18a)](_0x59cfcd(0x1e7),_0x3247f3,{'merge':!0x0}),this['_configService'][_0x59cfcd(0x18a)](U,_0x475cf8),this[_0x59cfcd(0x1ca)][_0x59cfcd(0x16a)]&&this['_configService'][_0x59cfcd(0x18a)](G,this['_config'][_0x59cfcd(0x16a)]);}[_0x53541f(0x1b1)](){const _0xca667b=_0x53541f;[[f],[p]]['forEach'](_0x1d1ea6=>this[_0xca667b(0x1e0)]['add'](_0x1d1ea6));}[_0x53541f(0x160)](){const _0x5c6d50=_0x53541f;this[_0x5c6d50(0x1e0)][_0x5c6d50(0x1b5)](p);}},g(_,'type',_0x2f58be[_0x53541f(0x164)]),g(_,_0x53541f(0x1dc),yi),_);H=Ci([R(0x1,_0x5d2c64(_0x4965aa)),R(0x2,_0x4c10ff)],H);export{f as HistoryLoaderService,G as UNIVER_CONTAINER_ID_KEY,d as UNIVER_HISTORY_CONTAINER_ID,H as UniverEditHistoryLoaderPlugin};
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- const _0x474f99=_0x5023;(function(_0x2ab425,_0x203f8b){const _0x21bde4=_0x5023,_0x1798bd=_0x2ab425();while(!![]){try{const _0x2aca42=parseInt(_0x21bde4(0x134))/0x1+-parseInt(_0x21bde4(0x126))/0x2+-parseInt(_0x21bde4(0x140))/0x3+parseInt(_0x21bde4(0x135))/0x4+-parseInt(_0x21bde4(0x1b2))/0x5+-parseInt(_0x21bde4(0x18f))/0x6+parseInt(_0x21bde4(0x150))/0x7*(parseInt(_0x21bde4(0x12c))/0x8);if(_0x2aca42===_0x203f8b)break;else _0x1798bd['push'](_0x1798bd['shift']());}catch(_0x1e5d6f){_0x1798bd['push'](_0x1798bd['shift']());}}}(_0x28be,0xad2c2));var Y=Object[_0x474f99(0x143)],B=(_0x23e6f7,_0x4a5331,_0x33e9f0)=>_0x4a5331 in _0x23e6f7?Y(_0x23e6f7,_0x4a5331,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x33e9f0}):_0x23e6f7[_0x4a5331]=_0x33e9f0,g=(_0xf030b0,_0x2f3846,_0x1b9a0a)=>B(_0xf030b0,typeof _0x2f3846!='symbol'?_0x2f3846+'':_0x2f3846,_0x1b9a0a);import{Inject as _0x5239a5,LocaleService as _0x1f43c6,IUniverInstanceService as _0x47550e,IConfigService as _0x3f79c4,ICommandService as _0x304d5c,IPermissionService as _0x5b946d,ThemeService as _0x444266,Disposable as _0x4024c5,DisposableCollection as _0x46a17b,Univer as _0x25cb3d,IAuthzIoService as _0xdc156e,CommandType as _0x494ac0,UniverInstanceType as _0x58f400,RxDisposable as _0x393998,toDisposable as _0x186139,Plugin as _0x4b30da,merge as _0x305d35,Injector as _0x1df0f6}from'@univerjs/core';import{UniverCollaborationPlugin as _0x3c66e7,RevertRevisionMutation as _0x110233,CollaborationEvent as _0x279cb0}from'@univerjs-pro/collaboration';import{AuthzIoHttpService as _0x367bcc,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x30e7fb,CollaborationController as _0x4954bc,ILocalCacheService as _0x12a6b5,CollaborationStatus as _0x17a777}from'@univerjs-pro/collaboration-client';import{MessageType as _0x362cde}from'@univerjs/design';import{useRef as _0x4a0ba1,createElement as _0x20ae27,forwardRef as _0x3b370b}from'react';import{IMessageService as _0x1ccc3b,IDialogService as _0x5a4374,ISidebarService as _0x26460b,UniverUIPlugin as _0x27ab6a,getMenuHiddenObservable as _0x5ac2c9,MenuItemType as _0x31aed6,RibbonStartGroup as _0x578bb9,IMenuManagerService as _0x1c0e00,ComponentManager as _0x5aace3}from'@univerjs/ui';import{BehaviorSubject as _0x232a5c,combineLatest as _0x2318d6}from'rxjs';import{RangeProtectionRuleModel as _0x43bf69,UniverSheetsPlugin as _0x41283d,WorkbookEditablePermission as _0x3bb4fd,WorksheetEditPermission as _0x1c5abc,RangeProtectionPermissionEditPoint as _0x4078bc,WorkbookRecoverHistoryPermission as _0x1945f8,getSheetCommandTarget as _0xcdc9ce,WorkbookViewHistoryPermission as _0x9c8c8a}from'@univerjs/sheets';import{UniverEditHistoryViewerPlugin as _0x70daa7,HistoryManagerService as _0x4c34fb,HistoryModeStatus as _0x540d3a}from'@univerjs-pro/edit-history-viewer';import{LS_CONFIG_KEY as _0x174fb6,UniverLicensePlugin as _0x357bab}from'@univerjs-pro/license';import{UniverSheetsChartPlugin as _0x5a993f}from'@univerjs-pro/sheets-chart';import{UniverSheetsChartUIPlugin as _0x19720f}from'@univerjs-pro/sheets-chart-ui';import{UniverSheetsPivotTablePlugin as _0x3598f1}from'@univerjs-pro/sheets-pivot';import{UniverSheetSparklinePlugin as _0x24c94b}from'@univerjs-pro/sheets-sparkline';import{UniverSheetSparklineUIPlugin as _0x47f339}from'@univerjs-pro/sheets-sparkline-ui';function _0x28be(){const _0x59cf6=['location','_sidebarService','getSheetId','random','top','UNIVER_CONTAINER_ID','path','idSuffix','onStarting','univer-container','_componentManager','svg','event$','session','onCommandExecuted','historyUniver','setTheme','_pluginMap','replace','defs','univer.operation.exit-edit-history','next','Error','_historyUniver$','_selectionProtectionRuleModel','1000','dispose','Exited','display','Loading','register','get','Entered','_initPlugins','use','6084132gTcCDr','includes','__getInjector','add','setConfig','div','edit-history-loader.config','M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z','closeAll','string','mask','mergeMenu','_collaborationController','assign','from','dataset','getAllPlugins','_univerInstanceService','position','revertRevision$','unsubscribe','history-container','_messageService','registerCommand','params','url(#$1','darkMode$','_menuManagerService','values','exhaustSavingTask','some','editHistory.panel.reverting','currentTheme$','appendChild','UNIVER_UNKNOWN','4489435PcCLWX','subscribe','toString','[HistoryLoaderService]:\x20Plugin\x20','univer.operation.toggle-edit-history','univerjs-icon\x20univerjs-icon-','getOwnPropertyDescriptor','getSheets','_localCacheService','historyListServerUrl','forEach','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','_initListener','_injector','getConfig','map','none','displayName','height','attrs','history-icon','UNIVER_SHEET','getLocales','_disposableCollection','children','_historyManagerService','BUTTON','status$','678444eNhAGI','history-icon_clip0_907_281','./worker.js','0\x200\x2016\x2016','mutations','executeCommand','533944DMLPeG','_themeService','has','getCurrentLocale','eventID','permissionId','tag','block','283455SCSdYm','1710676ikzisn','100%','SYNCED','univerContainerId','style','mountHistoryContent','flat','menu','registerPlugin','unMountHistoryContent','OTHERS','2662800SZMchG','pluginName','_permissionService','defineProperty','absolute','_commandService','_config','uComp','_initContainer','substring','status','1em','defIds','getCollabEntity','fill','UniverIcon','329ynQoEq','HistoryIcon','xlink:href','_checkCanRevert','editHistory.panel.listFetchError','getElementById','_localeService','value','every','reload','show','_revertErrorTimer','setDarkMode','_init','_initUniver','M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z','getUnit','entries','_configService','_dialogService','colorChannel1','zIndex','editHistory.panel.title','OPERATION','getSubunitRuleList','close','disposeWithMe','length'];_0x28be=function(){return _0x59cf6;};return _0x28be();}import{UniverDataValidationPlugin as _0x5c6d91}from'@univerjs/data-validation';import{UniverDocsPlugin as _0x3849d0}from'@univerjs/docs';import{UniverDocsUIPlugin as _0x28e9cf}from'@univerjs/docs-ui';import{UniverDrawingPlugin as _0x419d32,IImageIoService as _0x6a6720}from'@univerjs/drawing';import{UniverDrawingUIPlugin as _0x22adfb}from'@univerjs/drawing-ui';import{UniverFormulaEnginePlugin as _0x1f6231}from'@univerjs/engine-formula';import{UniverRenderEnginePlugin as _0x1a37a9}from'@univerjs/engine-render';import{UniverNetworkPlugin as _0x29b2da}from'@univerjs/network';import{UniverRPCMainThreadPlugin as _0x262848,PLUGIN_CONFIG_KEY_MAIN_THREAD as _0xef77c3}from'@univerjs/rpc';import{UniverSheetsConditionalFormattingPlugin as _0x18ca24}from'@univerjs/sheets-conditional-formatting';import{UniverSheetsConditionalFormattingUIPlugin as _0x1c5c8b}from'@univerjs/sheets-conditional-formatting-ui';import{UniverSheetsDataValidationPlugin as _0x43d078}from'@univerjs/sheets-data-validation';import{UniverSheetsDataValidationUIPlugin as _0x49993a}from'@univerjs/sheets-data-validation-ui';import{UniverSheetsDrawingPlugin as _0x39ec22}from'@univerjs/sheets-drawing';import{UniverSheetsDrawingUIPlugin as _0x5af344}from'@univerjs/sheets-drawing-ui';import{UniverSheetsFilterPlugin as _0xb2796b}from'@univerjs/sheets-filter';import{UniverSheetsFilterUIPlugin as _0x348c41}from'@univerjs/sheets-filter-ui';import{UniverSheetsFormulaPlugin as _0x1ca573}from'@univerjs/sheets-formula';import{UniverSheetsFormulaUIPlugin as _0x10c8fd}from'@univerjs/sheets-formula-ui';import{UniverSheetsHyperLinkPlugin as _0x3639b0}from'@univerjs/sheets-hyper-link';import{UniverSheetsHyperLinkUIPlugin as _0x448025}from'@univerjs/sheets-hyper-link-ui';import{UniverSheetsNumfmtPlugin as _0x4d5f27}from'@univerjs/sheets-numfmt';function _0x5023(_0x13460e,_0x23768c){_0x13460e=_0x13460e-0x111;const _0x28be68=_0x28be();let _0x5023e9=_0x28be68[_0x13460e];return _0x5023e9;}import{UniverSheetsUIPlugin as _0x49a3ef,getCurrentRangeDisable$ as _0x1eda80}from'@univerjs/sheets-ui';const U=_0x474f99(0x195),N={};function F({ref:_0x1f036f,..._0x1b815c}){const _0x493ad1=_0x474f99,{icon:_0x213845,id:_0x34fa0e,className:_0x3f356e,extend:_0x1147a6,..._0x128cdb}=_0x1b815c,_0x2b023a=(_0x493ad1(0x1b7)+_0x34fa0e+'\x20'+(_0x3f356e||''))['trim'](),_0x322212=_0x4a0ba1('_'+hi());return j(_0x213845,''+_0x34fa0e,{'defIds':_0x213845[_0x493ad1(0x14c)],'idSuffix':_0x322212['current']},{'ref':_0x1f036f,'className':_0x2b023a,..._0x128cdb},_0x1147a6);}function j(_0x27ce9f,_0x14cec3,_0x3365f2,_0x41f94b,_0x437527){const _0x8eab3a=_0x474f99;return _0x20ae27(_0x27ce9f['tag'],{'key':_0x14cec3,...ci(_0x27ce9f,_0x3365f2,_0x437527),..._0x41f94b},(li(_0x27ce9f,_0x3365f2)[_0x8eab3a(0x122)]||[])['map']((_0x27d2ee,_0x37ce78)=>j(_0x27d2ee,_0x14cec3+'-'+_0x27ce9f['tag']+'-'+_0x37ce78,_0x3365f2,void 0x0,_0x437527)));}function ci(_0x2cd7ab,_0x13af48,_0x251e6b){const _0x447e17=_0x474f99,_0x4ed237={..._0x2cd7ab['attrs']};_0x251e6b!=null&&_0x251e6b[_0x447e17(0x164)]&&_0x4ed237[_0x447e17(0x14e)]===_0x447e17(0x164)&&(_0x4ed237[_0x447e17(0x14e)]=_0x251e6b['colorChannel1']),_0x2cd7ab[_0x447e17(0x132)]===_0x447e17(0x199)&&_0x4ed237['id']&&(_0x4ed237['id']=_0x4ed237['id']+_0x13af48[_0x447e17(0x173)]),Object[_0x447e17(0x161)](_0x4ed237)['forEach'](([_0x4e2578,_0x509c66])=>{const _0x5374f9=_0x447e17;_0x4e2578===_0x5374f9(0x199)&&typeof _0x509c66==_0x5374f9(0x198)&&(_0x4ed237[_0x4e2578]=_0x509c66['replace'](/url\(#(.*)\)/,_0x5374f9(0x1a8)+_0x13af48['idSuffix']+')'));});const {defIds:_0x2bbada}=_0x13af48;return!_0x2bbada||_0x2bbada[_0x447e17(0x16b)]===0x0||(_0x2cd7ab['tag']===_0x447e17(0x18e)&&_0x4ed237[_0x447e17(0x152)]&&(_0x4ed237[_0x447e17(0x152)]=_0x4ed237[_0x447e17(0x152)]+_0x13af48['idSuffix']),Object['entries'](_0x4ed237)[_0x447e17(0x114)](([_0x1a5e5d,_0x2c762b])=>{const _0x4a3b7e=_0x447e17;typeof _0x2c762b==_0x4a3b7e(0x198)&&(_0x4ed237[_0x1a5e5d]=_0x2c762b[_0x4a3b7e(0x17e)](/url\(#(.*)\)/,_0x4a3b7e(0x1a8)+_0x13af48['idSuffix']+')'));})),_0x4ed237;}function li(_0x1989d9,_0x44277a){const _0x498341=_0x474f99;var _0x4ae3bd;const {defIds:_0x5662b4}=_0x44277a;return!_0x5662b4||_0x5662b4[_0x498341(0x16b)]===0x0?_0x1989d9:_0x1989d9[_0x498341(0x132)]===_0x498341(0x17f)&&((_0x4ae3bd=_0x1989d9['children'])!=null&&_0x4ae3bd[_0x498341(0x16b)])?{..._0x1989d9,'children':_0x1989d9['children'][_0x498341(0x119)](_0x4d4662=>typeof _0x4d4662['attrs']['id']==_0x498341(0x198)&&_0x5662b4&&_0x5662b4[_0x498341(0x190)](_0x4d4662[_0x498341(0x11d)]['id'])?{..._0x4d4662,'attrs':{..._0x4d4662[_0x498341(0x11d)],'id':_0x4d4662[_0x498341(0x11d)]['id']+_0x44277a[_0x498341(0x173)]}}:_0x4d4662)}:_0x1989d9;}function hi(){const _0x1182b0=_0x474f99;return Math[_0x1182b0(0x16f)]()[_0x1182b0(0x1b4)](0x24)[_0x1182b0(0x149)](0x2,0x8);}F[_0x474f99(0x11b)]=_0x474f99(0x14f);const ui={'tag':_0x474f99(0x177),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x474f99(0x11a),'viewBox':_0x474f99(0x129),'width':'1em','height':_0x474f99(0x14b)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':'url(#history-icon_clip0_907_281)'},'children':[{'tag':'path','attrs':{'d':_0x474f99(0x15f)}},{'tag':_0x474f99(0x172),'attrs':{'d':_0x474f99(0x196)}}]},{'tag':_0x474f99(0x17f),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x474f99(0x127)},'children':[{'tag':_0x474f99(0x172),'attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x474f99(0x127)]},V=_0x3b370b(function(_0xde3353,_0x16fbcc){const _0x209bf3=_0x474f99;return _0x20ae27(F,Object[_0x209bf3(0x19c)]({},_0xde3353,{'id':_0x209bf3(0x11e),'ref':_0x16fbcc,'icon':ui}));});V[_0x474f99(0x11b)]=_0x474f99(0x151);var gi=Object['getOwnPropertyDescriptor'],mi=(_0x2e05ab,_0xf24d31,_0x28daeb,_0x533986)=>{const _0x524cf4=_0x474f99;for(var _0x402611=_0x533986>0x1?void 0x0:_0x533986?gi(_0xf24d31,_0x28daeb):_0xf24d31,_0x419f2f=_0x2e05ab[_0x524cf4(0x16b)]-0x1,_0x40a6df;_0x419f2f>=0x0;_0x419f2f--)(_0x40a6df=_0x2e05ab[_0x419f2f])&&(_0x402611=_0x40a6df(_0x402611)||_0x402611);return _0x402611;},l=(_0x443cb7,_0x2dca8f)=>(_0x22d1dc,_0x53d768)=>_0x2dca8f(_0x22d1dc,_0x53d768,_0x443cb7);const vi=_0x474f99(0x175),G=_0x474f99(0x171),d='univer-history-container';let f=class extends _0x4024c5{constructor(_0x49f981,_0x5d6dcb,_0x4b8aaa,_0x5d8a3d,_0x4ad078,_0x218f35,_0x3dcefb,_0x12838b,_0x1008c0,_0x22ea34){const _0x536fd8=_0x474f99;super(),g(this,_0x536fd8(0x183),new _0x232a5c(null)),g(this,'historyUniver$',this['_historyUniver$']['asObservable']()),g(this,'_disposableCollection',new _0x46a17b()),g(this,_0x536fd8(0x17d),new Map()),(this[_0x536fd8(0x156)]=_0x49f981,this['_univerInstanceService']=_0x5d6dcb,this['_configService']=_0x4b8aaa,this[_0x536fd8(0x145)]=_0x5d8a3d,this[_0x536fd8(0x1a5)]=_0x4ad078,this[_0x536fd8(0x142)]=_0x218f35,this['_selectionProtectionRuleModel']=_0x3dcefb,this[_0x536fd8(0x163)]=_0x12838b,this[_0x536fd8(0x16d)]=_0x1008c0,this[_0x536fd8(0x12d)]=_0x22ea34,this[_0x536fd8(0x15d)]());}get[_0x474f99(0x17b)](){const _0x36062a=_0x474f99;return this[_0x36062a(0x183)][_0x36062a(0x157)];}[_0x474f99(0x15d)](){const _0x1edded=_0x474f99;this['_initContainer'](),this[_0x1edded(0x18d)]();}[_0x474f99(0x148)](){const _0x30031f=_0x474f99;var _0x526b2a;const _0xe0cfe3=(_0x526b2a=this['_configService'][_0x30031f(0x118)](G))!=null?_0x526b2a:vi,_0x297865=document[_0x30031f(0x155)](_0xe0cfe3);if(!_0x297865)return;const _0x5a21b6=document['createElement'](_0x30031f(0x194));_0x5a21b6['id']=d,_0x5a21b6[_0x30031f(0x19e)][_0x30031f(0x147)]=_0x30031f(0x1a4),_0x5a21b6[_0x30031f(0x139)][_0x30031f(0x1a1)]=_0x30031f(0x144),_0x5a21b6['style'][_0x30031f(0x170)]='0',_0x5a21b6[_0x30031f(0x139)]['left']='0',_0x5a21b6[_0x30031f(0x139)]['width']=_0x30031f(0x136),_0x5a21b6[_0x30031f(0x139)][_0x30031f(0x11c)]=_0x30031f(0x136),_0x5a21b6[_0x30031f(0x139)][_0x30031f(0x165)]=_0x30031f(0x185),_0x5a21b6[_0x30031f(0x139)]['display']='none',_0x297865[_0x30031f(0x1b0)](_0x5a21b6);}[_0x474f99(0x18d)](){const _0x2f76b7=_0x474f99;var _0x326bc4,_0x4c8d1c,_0x526a8f,_0x1892ce;[[_0x1a37a9],[_0x27ab6a,{'container':d,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x5a4374,null]]}],[_0x29b2da],[_0x419d32,{'override':[[_0x6a6720,null]]}],[_0x3849d0,{'hasScroll':!0x1}],[_0x28e9cf],[_0x4d5f27],[_0x41283d,{'notExecuteFormula':!0x0}],[_0x49a3ef],[_0x1ca573],[_0x10c8fd],[_0x3c66e7],[_0xb2796b],[_0x348c41],[_0x18ca24],[_0x1c5c8b],[_0x3639b0],[_0x448025],[_0x5c6d91],[_0x43d078],[_0x49993a],[_0x1f6231,{'notExecuteFormula':!0x0}],[_0x262848,{'workerURL':(_0x4c8d1c=(_0x326bc4=this[_0x2f76b7(0x162)]['getConfig'](_0xef77c3))==null?void 0x0:_0x326bc4['workerURL'])!=null?_0x4c8d1c:_0x2f76b7(0x128)}],[_0x22adfb],[_0x39ec22],[_0x5af344],[_0x24c94b],[_0x47f339],[_0x5a993f],[_0x19720f],[_0x3598f1,{'notExecuteFormula':!0x0}],[_0x70daa7,{'historyListServerUrl':(_0x526a8f=this[_0x2f76b7(0x162)][_0x2f76b7(0x118)](U))==null?void 0x0:_0x526a8f[_0x2f76b7(0x113)],'historyPanelComponentKey':(_0x1892ce=this[_0x2f76b7(0x162)]['getConfig'](U))==null?void 0x0:_0x1892ce['historyPanelComponentKey']}]][_0x2f76b7(0x114)](([_0x20ad8e,_0x13b17c])=>this[_0x2f76b7(0x13d)](_0x20ad8e,_0x13b17c));}['dispose'](){const _0x12d7f3=_0x474f99;super[_0x12d7f3(0x186)](),this[_0x12d7f3(0x13e)](),this['_pluginMap']['clear']();}[_0x474f99(0x13d)](_0x2aaf42,_0x3e8179,_0x18cbb1){const _0x1b487c=_0x474f99;if(this[_0x1b487c(0x17d)][_0x1b487c(0x12e)](_0x2aaf42['pluginName'])&&!_0x18cbb1)throw new Error(_0x1b487c(0x1b5)+_0x2aaf42[_0x1b487c(0x141)]+'\x20has\x20been\x20registered.');this[_0x1b487c(0x17d)]['set'](_0x2aaf42[_0x1b487c(0x141)],[_0x2aaf42,_0x3e8179]);}[_0x474f99(0x19f)](){const _0x27f8f4=_0x474f99;return Array[_0x27f8f4(0x19d)](this[_0x27f8f4(0x17d)][_0x27f8f4(0x1ab)]());}['mountHistoryContent'](_0x46255b){const _0x5250a0=_0x474f99,_0x57263e=document[_0x5250a0(0x155)](d);_0x57263e&&(_0x57263e[_0x5250a0(0x139)][_0x5250a0(0x188)]=_0x5250a0(0x133),this['_initUniver'](_0x46255b,d));}[_0x474f99(0x13e)](){const _0x4236c6=_0x474f99;var _0x373dc4;this[_0x4236c6(0x121)][_0x4236c6(0x186)](),(_0x373dc4=this['historyUniver'])==null||_0x373dc4['dispose'](),this[_0x4236c6(0x183)][_0x4236c6(0x181)](null);const _0x24645a=document[_0x4236c6(0x155)](d);_0x24645a&&(_0x24645a['style'][_0x4236c6(0x188)]=_0x4236c6(0x11a));}[_0x474f99(0x15e)](_0x259374,_0xb1b57e){const _0x35affe=_0x474f99;if(this[_0x35affe(0x17b)])return;const _0x5bbc99=new _0x25cb3d({'locales':{[this[_0x35affe(0x156)]['getCurrentLocale']()]:this[_0x35affe(0x156)][_0x35affe(0x120)]()},'override':[[_0xdc156e,{'useClass':_0x367bcc}]]}),_0x1f5f89=_0x5bbc99[_0x35affe(0x191)]();this[_0x35affe(0x16a)](this['_themeService'][_0x35affe(0x1a9)][_0x35affe(0x1b3)](_0x4b221e=>{const _0x53614b=_0x35affe;_0x1f5f89['get'](_0x444266)[_0x53614b(0x15c)](_0x4b221e);})),this[_0x35affe(0x16a)](this[_0x35affe(0x12d)][_0x35affe(0x1af)][_0x35affe(0x1b3)](_0x19df71=>{const _0x2db6f8=_0x35affe;_0x1f5f89[_0x2db6f8(0x18b)](_0x444266)[_0x2db6f8(0x17c)](_0x19df71);})),_0x1f5f89[_0x35affe(0x18b)](_0x1f43c6)['setLocale'](this[_0x35affe(0x156)][_0x35affe(0x12f)]()),_0x1f5f89[_0x35affe(0x18b)](_0x3f79c4)[_0x35affe(0x193)](_0x30e7fb,this[_0x35affe(0x162)][_0x35affe(0x118)](_0x30e7fb));const _0x18da77=this[_0x35affe(0x162)][_0x35affe(0x118)](_0x174fb6);_0x18da77&&_0x5bbc99[_0x35affe(0x13d)](_0x357bab,{'license':_0x18da77['ls']}),this[_0x35affe(0x17d)][_0x35affe(0x114)](([_0x13c06d,_0x21b54a])=>{_0x5bbc99['registerPlugin'](_0x13c06d,_0x21b54a);}),_0x1f5f89['invoke'](_0x5e9235=>{const _0xe39c1c=_0x35affe;this[_0xe39c1c(0x116)](_0x5e9235,_0x259374);}),this[_0x35affe(0x183)][_0x35affe(0x181)](_0x5bbc99);const _0x27ef4a=_0x1f5f89[_0x35affe(0x18b)](_0x4c34fb),_0x37ed86=this[_0x35affe(0x153)](_0x259374);_0x27ef4a['triggerLoadVersions'](_0x259374,_0xb1b57e,_0x37ed86);}[_0x474f99(0x116)](_0x2879ef,_0xc40525){const _0x355607=_0x474f99,_0x271e43=_0x2879ef[_0x355607(0x18b)](_0x4c34fb);this[_0x355607(0x121)][_0x355607(0x192)](_0x271e43[_0x355607(0x125)][_0x355607(0x1b3)](_0x149638=>{const _0x3268fd=_0x355607;switch(_0x149638){case _0x540d3a[_0x3268fd(0x18c)]:this['_dialogService'][_0x3268fd(0x197)](),this[_0x3268fd(0x16d)][_0x3268fd(0x169)]();break;case _0x540d3a[_0x3268fd(0x187)]:this[_0x3268fd(0x145)][_0x3268fd(0x12b)](W['id']),this['unMountHistoryContent']();break;case _0x540d3a[_0x3268fd(0x182)]:this[_0x3268fd(0x13e)](),this[_0x3268fd(0x1a5)]['show']({'content':this['_localeService']['t'](_0x3268fd(0x154)),'type':_0x362cde['Error'],'duration':0xbb8});break;}})),this[_0x355607(0x121)][_0x355607(0x192)](_0x271e43[_0x355607(0x1a2)][_0x355607(0x1b3)](async _0x2bcce1=>{const _0x107102=_0x355607;_0x2bcce1&&this['_commandService'][_0x107102(0x12b)](_0x110233['id'],{'unitId':_0xc40525,'revision':_0x2bcce1});}));}[_0x474f99(0x153)](_0x55a58a){const _0x4ecd1b=_0x474f99,_0xe8c21=this[_0x4ecd1b(0x1a0)][_0x4ecd1b(0x160)](_0x55a58a)[_0x4ecd1b(0x111)]()[_0x4ecd1b(0x119)](_0x536857=>_0x536857[_0x4ecd1b(0x16e)]()),_0xdf22a5=new _0x3bb4fd(_0x55a58a)['id'],_0x548fe9=_0xe8c21[_0x4ecd1b(0x119)](_0x362840=>new _0x1c5abc(_0x55a58a,_0x362840)['id']),_0x557343=_0xe8c21[_0x4ecd1b(0x119)](_0x27afaa=>this[_0x4ecd1b(0x184)][_0x4ecd1b(0x168)](_0x55a58a,_0x27afaa)[_0x4ecd1b(0x119)](_0x48d97c=>new _0x4078bc(_0x55a58a,_0x27afaa,_0x48d97c[_0x4ecd1b(0x131)])['id']))[_0x4ecd1b(0x13b)](),_0x4b165c=new _0x1945f8(_0x55a58a)['id'];return this['_permissionService']['composePermission']([_0xdf22a5,..._0x548fe9,..._0x557343,_0x4b165c])[_0x4ecd1b(0x158)](_0x5e49fe=>!!_0x5e49fe['value']);}};f=mi([l(0x0,_0x5239a5(_0x1f43c6)),l(0x1,_0x47550e),l(0x2,_0x3f79c4),l(0x3,_0x304d5c),l(0x4,_0x1ccc3b),l(0x5,_0x5b946d),l(0x6,_0x5239a5(_0x43bf69)),l(0x7,_0x5239a5(_0x5a4374)),l(0x8,_0x5239a5(_0x26460b)),l(0x9,_0x5239a5(_0x444266))],f);const b={'id':_0x474f99(0x1b6),'type':_0x494ac0[_0x474f99(0x167)],'handler':_0x41f74c=>{const _0x3911c9=_0x474f99,_0x18f25a=_0x41f74c[_0x3911c9(0x18b)](f),_0x2e46ca=_0x41f74c['get'](_0x47550e),{unitId:_0x399d4d}=_0xcdc9ce(_0x2e46ca)||{};return _0x399d4d?(_0x18f25a[_0x3911c9(0x13a)](_0x399d4d),!0x0):!0x1;}},W={'id':_0x474f99(0x180),'type':_0x494ac0[_0x474f99(0x167)],'handler':()=>!0x0};function di(_0x162787){const _0x4cdc38=_0x474f99;return{'id':b['id'],'type':_0x31aed6[_0x4cdc38(0x124)],'icon':_0x4cdc38(0x151),'tooltip':_0x4cdc38(0x166),'hidden$':_0x5ac2c9(_0x162787,_0x58f400[_0x4cdc38(0x11f)]),'disabled$':_0x1eda80(_0x162787,{'workbookTypes':[_0x3bb4fd,_0x9c8c8a],'worksheetTypes':[],'rangeTypes':[]})};}const fi={[_0x578bb9[_0x474f99(0x13f)]]:{[b['id']]:{'order':0.2,'menuItemFactory':di}}};var _i=Object['getOwnPropertyDescriptor'],pi=(_0x15b024,_0xb17eac,_0x2ec939,_0x1c3777)=>{const _0x139d11=_0x474f99;for(var _0x1b73aa=_0x1c3777>0x1?void 0x0:_0x1c3777?_i(_0xb17eac,_0x2ec939):_0xb17eac,_0x5a1180=_0x15b024[_0x139d11(0x16b)]-0x1,_0x52a031;_0x5a1180>=0x0;_0x5a1180--)(_0x52a031=_0x15b024[_0x5a1180])&&(_0x1b73aa=_0x52a031(_0x1b73aa)||_0x1b73aa);return _0x1b73aa;},m=(_0x206d68,_0x51a9bd)=>(_0x383b67,_0x2f6e7c)=>_0x51a9bd(_0x383b67,_0x2f6e7c,_0x206d68);let p=class extends _0x393998{constructor(_0x53d5d3,_0x127090,_0x653e4f,_0x325cc6,_0x2de800,_0x51aedf,_0x3172a7,_0x2ff58a){const _0x916563=_0x474f99;super(),g(this,_0x916563(0x15b),null),(this[_0x916563(0x145)]=_0x53d5d3,this[_0x916563(0x1aa)]=_0x127090,this[_0x916563(0x176)]=_0x653e4f,this[_0x916563(0x123)]=_0x325cc6,this[_0x916563(0x156)]=_0x2de800,this[_0x916563(0x1a5)]=_0x51aedf,this[_0x916563(0x19b)]=_0x3172a7,this['_localCacheService']=_0x2ff58a,this[_0x916563(0x15d)]());}[_0x474f99(0x15d)](){const _0x268f63=_0x474f99;[b,W][_0x268f63(0x114)](_0x23d8cf=>this['disposeWithMe'](_0x186139(this[_0x268f63(0x145)][_0x268f63(0x1a6)](_0x23d8cf)))),this['disposeWithMe'](this[_0x268f63(0x176)][_0x268f63(0x18a)](_0x268f63(0x151),V)),this[_0x268f63(0x1aa)][_0x268f63(0x19a)](fi),this[_0x268f63(0x16a)](this['_commandService'][_0x268f63(0x17a)](_0x4156bd=>{const _0x1890ef=_0x268f63;if(_0x4156bd['id']===_0x110233['id']){this[_0x1890ef(0x1a5)][_0x1890ef(0x15a)]({'content':this[_0x1890ef(0x156)]['t'](_0x1890ef(0x1ae)),'type':_0x362cde[_0x1890ef(0x189)],'duration':0x1388});const {unitId:_0x4cdaad}=_0x4156bd[_0x1890ef(0x1a7)],_0x5e70ee=this[_0x1890ef(0x19b)][_0x1890ef(0x14d)](_0x4cdaad),_0x3e1594=_0x2318d6([_0x5e70ee[_0x1890ef(0x179)][_0x1890ef(0x178)],_0x5e70ee['state$']])[_0x1890ef(0x1b3)](async([_0x3f53df,_0x1517c6])=>{const _0x44cdfe=_0x1890ef;var _0x231e8b;_0x3f53df[_0x44cdfe(0x130)]===_0x279cb0['CHANGESET_ACK']&&(_0x1517c6==null?void 0x0:_0x1517c6[_0x44cdfe(0x14a)])===_0x17a777[_0x44cdfe(0x137)]&&_0x3f53df['data'][_0x44cdfe(0x12a)][_0x44cdfe(0x1ad)](_0x5d9b59=>_0x5d9b59['id']===_0x110233['id'])&&(this[_0x44cdfe(0x123)]['unMountHistoryContent'](),_0x3e1594['unsubscribe'](),this[_0x44cdfe(0x15b)]&&clearTimeout(this[_0x44cdfe(0x15b)]),await((_0x231e8b=this[_0x44cdfe(0x112)])==null?void 0x0:_0x231e8b[_0x44cdfe(0x1ac)]()),setTimeout(()=>window[_0x44cdfe(0x16c)][_0x44cdfe(0x159)]()));});this[_0x1890ef(0x15b)]=setTimeout(()=>{const _0x5e15b7=_0x1890ef;_0x3e1594[_0x5e15b7(0x1a3)](),this['_messageService'][_0x5e15b7(0x15a)]({'content':this[_0x5e15b7(0x156)]['t']('editHistory.panel.revertFailed'),'type':_0x362cde['Error'],'duration':0xbb8});},0x1388);}}));}};p=pi([m(0x0,_0x304d5c),m(0x1,_0x1c0e00),m(0x2,_0x5239a5(_0x5aace3)),m(0x3,_0x5239a5(f)),m(0x4,_0x5239a5(_0x1f43c6)),m(0x5,_0x1ccc3b),m(0x6,_0x5239a5(_0x4954bc)),m(0x7,_0x12a6b5)],p);var Si=Object[_0x474f99(0x1b8)],Ci=(_0x18af1d,_0x32b8a7,_0x2b5ab6,_0x484a4a)=>{for(var _0x21501e=_0x484a4a>0x1?void 0x0:_0x484a4a?Si(_0x32b8a7,_0x2b5ab6):_0x32b8a7,_0x511947=_0x18af1d['length']-0x1,_0x200692;_0x511947>=0x0;_0x511947--)(_0x200692=_0x18af1d[_0x511947])&&(_0x21501e=_0x200692(_0x21501e)||_0x21501e);return _0x21501e;},R=(_0x2dd874,_0x455aa6)=>(_0x17f0e1,_0x40fffc)=>_0x455aa6(_0x17f0e1,_0x40fffc,_0x2dd874);const yi=_0x474f99(0x115);var _;let H=(_=class extends _0x4b30da{constructor(_0x49e680=N,_0x36e45a,_0x3e064e){const _0x4d1a75=_0x474f99;super(),this[_0x4d1a75(0x146)]=_0x49e680,this[_0x4d1a75(0x117)]=_0x36e45a,this['_configService']=_0x3e064e;const {menu:_0x10e319,..._0x2f0fe2}=_0x305d35({},N,this[_0x4d1a75(0x146)]);_0x10e319&&this[_0x4d1a75(0x162)][_0x4d1a75(0x193)](_0x4d1a75(0x13c),_0x10e319,{'merge':!0x0}),this['_configService'][_0x4d1a75(0x193)](U,_0x2f0fe2),this[_0x4d1a75(0x146)][_0x4d1a75(0x138)]&&this[_0x4d1a75(0x162)][_0x4d1a75(0x193)](G,this[_0x4d1a75(0x146)]['univerContainerId']);}[_0x474f99(0x174)](){const _0x29705f=_0x474f99;[[f],[p]][_0x29705f(0x114)](_0x314e70=>this[_0x29705f(0x117)][_0x29705f(0x192)](_0x314e70));}['onSteady'](){const _0x48e98d=_0x474f99;this[_0x48e98d(0x117)]['get'](p);}},g(_,'type',_0x58f400[_0x474f99(0x1b1)]),g(_,_0x474f99(0x141),yi),_);H=Ci([R(0x1,_0x5239a5(_0x1df0f6)),R(0x2,_0x3f79c4)],H);export{f as HistoryLoaderService,G as UNIVER_CONTAINER_ID_KEY,d as UNIVER_HISTORY_CONTAINER_ID,H as UniverEditHistoryLoaderPlugin};
1
+ const _0x53541f=_0x1520;(function(_0x2a97ff,_0x5756cc){const _0x3ed7e9=_0x1520,_0x480bb7=_0x2a97ff();while(!![]){try{const _0xfbba79=parseInt(_0x3ed7e9(0x157))/0x1+parseInt(_0x3ed7e9(0x1d5))/0x2+parseInt(_0x3ed7e9(0x187))/0x3*(-parseInt(_0x3ed7e9(0x1e3))/0x4)+-parseInt(_0x3ed7e9(0x169))/0x5*(parseInt(_0x3ed7e9(0x1b2))/0x6)+-parseInt(_0x3ed7e9(0x1e2))/0x7+parseInt(_0x3ed7e9(0x1b4))/0x8+parseInt(_0x3ed7e9(0x191))/0x9;if(_0xfbba79===_0x5756cc)break;else _0x480bb7['push'](_0x480bb7['shift']());}catch(_0xf75dbc){_0x480bb7['push'](_0x480bb7['shift']());}}}(_0x3712,0x5c910));var Y=Object[_0x53541f(0x1dd)],B=(_0x4b2faa,_0x38d7a8,_0x4d7115)=>_0x38d7a8 in _0x4b2faa?Y(_0x4b2faa,_0x38d7a8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4d7115}):_0x4b2faa[_0x38d7a8]=_0x4d7115,g=(_0x51d97f,_0x25a131,_0xf72f99)=>B(_0x51d97f,typeof _0x25a131!=_0x53541f(0x16d)?_0x25a131+'':_0x25a131,_0xf72f99);import{Inject as _0x5d2c64,LocaleService as _0x2708aa,IUniverInstanceService as _0x182b3a,IConfigService as _0x4c10ff,ICommandService as _0x196202,IPermissionService as _0x9dc70e,ThemeService as _0x3b4ae1,Disposable as _0x1a55c6,DisposableCollection as _0x71959,Univer as _0x135edd,IAuthzIoService as _0x3fdabe,CommandType as _0x46cba4,UniverInstanceType as _0x2f58be,RxDisposable as _0x54525b,toDisposable as _0x3be409,Plugin as _0x594c54,merge as _0x4dd2b0,Injector as _0x4965aa}from'@univerjs/core';import{UniverCollaborationPlugin as _0x2c2688,RevertRevisionMutation as _0x4c629f,CollaborationEvent as _0x5a87a9}from'@univerjs-pro/collaboration';import{AuthzIoHttpService as _0x5774fd,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x5e6f31,CollaborationController as _0x15d5d1,ILocalCacheService as _0x376655,CollaborationStatus as _0x2158d8}from'@univerjs-pro/collaboration-client';import{MessageType as _0x3efc9c}from'@univerjs/design';import{useRef as _0x49ebfc,createElement as _0x4998c9,forwardRef as _0x3d43d0}from'react';import{IMessageService as _0x363f1b,IDialogService as _0xddc01b,ISidebarService as _0x43776b,UniverUIPlugin as _0x1a763c,getMenuHiddenObservable as _0x401f4c,MenuItemType as _0x377869,RibbonStartGroup as _0x5bfa8f,IMenuManagerService as _0x2825c3,ComponentManager as _0x40ac45}from'@univerjs/ui';function _0x3712(){const _0x3b81fd=['get','absolute','__getInjector','editHistory.panel.reverting','disposeWithMe','clipPath','closeAll','assign','white','display','getElementById','_localCacheService','event$','1000','reload','_configService','children','defs','div','getConfig','entries','_config','top','set','getCurrentLocale','UNIVER_CONTAINER_ID','UNIVER_SHEET','editHistory.panel.title','close','_pluginMap','exhaustSavingTask','getAllPlugins','233654oKecIp','edit-history-loader.config','add','register','_revertErrorTimer','composePermission','path','pluginName','defineProperty','Entered','defIds','_injector','position','3983469QbJWan','712636mHhtxC','displayName','_initListener','currentColor','menu','mergeMenu','Error','_historyUniver$','dispose','value','permissionId','from','data','_dialogService','url(#history-icon_clip0_907_281)','workerURL','tag','executeCommand','darkMode$','fill','_univerInstanceService','eventID','_sidebarService','_collaborationController','location','SYNCED','subscribe','_messageService','historyListServerUrl','length','univerjs-icon\x20univerjs-icon-','createElement','M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z','506542awWpEc','appendChild','map','OTHERS','HistoryIcon','params','_themeService','_permissionService','1em','onSteady','xlink:href','dataset','unMountHistoryContent','UNIVER_UNKNOWN','unsubscribe','getOwnPropertyDescriptor','_menuManagerService','editHistory.panel.revertFailed','36625AEdsIt','univerContainerId','substring','asObservable','symbol','mask','_localeService','_init','getUnit','includes','setLocale','univer.operation.toggle-edit-history','M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z','revertRevision$','http://www.w3.org/2000/svg','100%','attrs','left','flat','mutations','_initContainer','use','_initPlugins','OPERATION','history-icon_clip0_907_281','editHistory.panel.listFetchError','getCollabEntity','string','none','_initUniver','3oJqZLe','getSubunitRuleList','UniverIcon','setConfig','BUTTON','colorChannel1','state$','CHANGESET_ACK','values','width','3689118uRVEEb','univer-container','_commandService','currentTheme$','history-container','clear','next','status$','registerPlugin','univer.operation.exit-edit-history','forEach','./worker.js','historyUniver','_historyManagerService','idSuffix','[HistoryLoaderService]:\x20Plugin\x20','has','triggerLoadVersions','_selectionProtectionRuleModel','_componentManager','0\x200\x2016\x2016','historyPanelComponentKey','url(#$1','historyUniver$','style','height','mountHistoryContent','_checkCanRevert','setTheme','every','random','show','onStarting','204TPgMpe','_disposableCollection','2737256DMyovc'];_0x3712=function(){return _0x3b81fd;};return _0x3712();}import{BehaviorSubject as _0x590644,combineLatest as _0xfe74b9}from'rxjs';import{RangeProtectionRuleModel as _0x4fbab5,UniverSheetsPlugin as _0x58d66a,WorkbookEditablePermission as _0x54d446,WorksheetEditPermission as _0x5d953d,RangeProtectionPermissionEditPoint as _0x1d9c33,WorkbookRecoverHistoryPermission as _0x20647a,getSheetCommandTarget as _0x30b8ac,WorkbookViewHistoryPermission as _0x6b04a1}from'@univerjs/sheets';import{UniverEditHistoryViewerPlugin as _0x21fa92,HistoryManagerService as _0x3d400a,HistoryModeStatus as _0x4f3344}from'@univerjs-pro/edit-history-viewer';import{LS_CONFIG_KEY as _0x143642,UniverLicensePlugin as _0x256074}from'@univerjs-pro/license';import{UniverSheetsChartPlugin as _0x34cf18}from'@univerjs-pro/sheets-chart';import{UniverSheetsChartUIPlugin as _0x6c25cf}from'@univerjs-pro/sheets-chart-ui';import{UniverSheetsPivotTablePlugin as _0x5d14f7}from'@univerjs-pro/sheets-pivot';import{UniverSheetSparklinePlugin as _0x208b9b}from'@univerjs-pro/sheets-sparkline';import{UniverSheetSparklineUIPlugin as _0x4c1013}from'@univerjs-pro/sheets-sparkline-ui';import{UniverDataValidationPlugin as _0x5d50da}from'@univerjs/data-validation';import{UniverDocsPlugin as _0x205185}from'@univerjs/docs';import{UniverDocsUIPlugin as _0x4d3983}from'@univerjs/docs-ui';import{UniverDrawingPlugin as _0xdda6a6,IImageIoService as _0x3c8735}from'@univerjs/drawing';import{UniverDrawingUIPlugin as _0x2c7ed7}from'@univerjs/drawing-ui';import{UniverFormulaEnginePlugin as _0x1aa453}from'@univerjs/engine-formula';import{UniverRenderEnginePlugin as _0x44d307}from'@univerjs/engine-render';import{UniverNetworkPlugin as _0x4bf8da}from'@univerjs/network';import{UniverRPCMainThreadPlugin as _0x1da87e,PLUGIN_CONFIG_KEY_MAIN_THREAD as _0x1cd655}from'@univerjs/rpc';import{UniverSheetsConditionalFormattingPlugin as _0x599dc8}from'@univerjs/sheets-conditional-formatting';import{UniverSheetsConditionalFormattingUIPlugin as _0x414f2f}from'@univerjs/sheets-conditional-formatting-ui';import{UniverSheetsDataValidationPlugin as _0x2ef40d}from'@univerjs/sheets-data-validation';import{UniverSheetsDataValidationUIPlugin as _0x25fce9}from'@univerjs/sheets-data-validation-ui';import{UniverSheetsDrawingPlugin as _0x464097}from'@univerjs/sheets-drawing';import{UniverSheetsDrawingUIPlugin as _0xbbf862}from'@univerjs/sheets-drawing-ui';import{UniverSheetsFilterPlugin as _0x3480aa}from'@univerjs/sheets-filter';import{UniverSheetsFilterUIPlugin as _0xc98179}from'@univerjs/sheets-filter-ui';import{UniverSheetsFormulaPlugin as _0x2120e4}from'@univerjs/sheets-formula';import{UniverSheetsFormulaUIPlugin as _0x29b17a}from'@univerjs/sheets-formula-ui';import{UniverSheetsHyperLinkPlugin as _0x44fd6f}from'@univerjs/sheets-hyper-link';import{UniverSheetsHyperLinkUIPlugin as _0x16b306}from'@univerjs/sheets-hyper-link-ui';import{UniverSheetsNumfmtPlugin as _0x2de7e4}from'@univerjs/sheets-numfmt';import{UniverSheetsUIPlugin as _0x15a0e8,getCurrentRangeDisable$ as _0x3d6fdd}from'@univerjs/sheets-ui';const U=_0x53541f(0x1d6),N={};function F({ref:_0x4cbdc5,..._0x408d69}){const _0x42ba43=_0x53541f,{icon:_0x267dbc,id:_0x46badf,className:_0x5628a7,extend:_0x2e9193,..._0x4e0998}=_0x408d69,_0x361d35=(_0x42ba43(0x154)+_0x46badf+'\x20'+(_0x5628a7||''))['trim'](),_0x3c6232=_0x49ebfc('_'+hi());return j(_0x267dbc,''+_0x46badf,{'defIds':_0x267dbc[_0x42ba43(0x1df)],'idSuffix':_0x3c6232['current']},{'ref':_0x4cbdc5,'className':_0x361d35,..._0x4e0998},_0x2e9193);}function j(_0x2b0a1c,_0x4a90dd,_0x231ca6,_0x3ff12c,_0x8a18b3){const _0x115976=_0x53541f;return _0x4998c9(_0x2b0a1c[_0x115976(0x146)],{'key':_0x4a90dd,...ci(_0x2b0a1c,_0x231ca6,_0x8a18b3),..._0x3ff12c},(li(_0x2b0a1c,_0x231ca6)[_0x115976(0x1c5)]||[])[_0x115976(0x159)]((_0x953c66,_0x90b64f)=>j(_0x953c66,_0x4a90dd+'-'+_0x2b0a1c[_0x115976(0x146)]+'-'+_0x90b64f,_0x231ca6,void 0x0,_0x8a18b3)));}function ci(_0x893eb3,_0x1cae9d,_0x2e83c4){const _0x2a3193=_0x53541f,_0xe66148={..._0x893eb3[_0x2a3193(0x179)]};_0x2e83c4!=null&&_0x2e83c4[_0x2a3193(0x18c)]&&_0xe66148['fill']===_0x2a3193(0x18c)&&(_0xe66148[_0x2a3193(0x149)]=_0x2e83c4['colorChannel1']),_0x893eb3[_0x2a3193(0x146)]===_0x2a3193(0x16e)&&_0xe66148['id']&&(_0xe66148['id']=_0xe66148['id']+_0x1cae9d[_0x2a3193(0x19f)]),Object[_0x2a3193(0x1c9)](_0xe66148)['forEach'](([_0x11d7ec,_0x443e64])=>{const _0x418520=_0x2a3193;_0x11d7ec==='mask'&&typeof _0x443e64==_0x418520(0x184)&&(_0xe66148[_0x11d7ec]=_0x443e64['replace'](/url\(#(.*)\)/,_0x418520(0x1a7)+_0x1cae9d[_0x418520(0x19f)]+')'));});const {defIds:_0x3e6fa1}=_0x1cae9d;return!_0x3e6fa1||_0x3e6fa1['length']===0x0||(_0x893eb3[_0x2a3193(0x146)]===_0x2a3193(0x17e)&&_0xe66148[_0x2a3193(0x161)]&&(_0xe66148['xlink:href']=_0xe66148[_0x2a3193(0x161)]+_0x1cae9d[_0x2a3193(0x19f)]),Object['entries'](_0xe66148)['forEach'](([_0x2e1239,_0x4a27b5])=>{const _0x5b8b96=_0x2a3193;typeof _0x4a27b5=='string'&&(_0xe66148[_0x2e1239]=_0x4a27b5['replace'](/url\(#(.*)\)/,'url(#$1'+_0x1cae9d[_0x5b8b96(0x19f)]+')'));})),_0xe66148;}function li(_0x5851ce,_0x3e8b55){const _0x4a5b5b=_0x53541f;var _0x432e8e;const {defIds:_0x46e1dd}=_0x3e8b55;return!_0x46e1dd||_0x46e1dd['length']===0x0?_0x5851ce:_0x5851ce[_0x4a5b5b(0x146)]===_0x4a5b5b(0x1c6)&&((_0x432e8e=_0x5851ce[_0x4a5b5b(0x1c5)])!=null&&_0x432e8e[_0x4a5b5b(0x153)])?{..._0x5851ce,'children':_0x5851ce[_0x4a5b5b(0x1c5)][_0x4a5b5b(0x159)](_0x39fa1b=>typeof _0x39fa1b['attrs']['id']=='string'&&_0x46e1dd&&_0x46e1dd[_0x4a5b5b(0x172)](_0x39fa1b[_0x4a5b5b(0x179)]['id'])?{..._0x39fa1b,'attrs':{..._0x39fa1b['attrs'],'id':_0x39fa1b[_0x4a5b5b(0x179)]['id']+_0x3e8b55[_0x4a5b5b(0x19f)]}}:_0x39fa1b)}:_0x5851ce;}function hi(){const _0x596839=_0x53541f;return Math[_0x596839(0x1af)]()['toString'](0x24)[_0x596839(0x16b)](0x2,0x8);}F[_0x53541f(0x1e4)]=_0x53541f(0x189);const ui={'tag':'svg','attrs':{'xmlns':_0x53541f(0x177),'fill':_0x53541f(0x185),'viewBox':_0x53541f(0x1a5),'width':_0x53541f(0x15f),'height':_0x53541f(0x15f)},'children':[{'tag':'g','attrs':{'fill':_0x53541f(0x1e6),'clipPath':_0x53541f(0x144)},'children':[{'tag':_0x53541f(0x1db),'attrs':{'d':_0x53541f(0x156)}},{'tag':_0x53541f(0x1db),'attrs':{'d':_0x53541f(0x175)}}]},{'tag':_0x53541f(0x1c6),'attrs':{},'children':[{'tag':_0x53541f(0x1ba),'attrs':{'id':'history-icon_clip0_907_281'},'children':[{'tag':_0x53541f(0x1db),'attrs':{'fill':_0x53541f(0x1bd),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x53541f(0x181)]},V=_0x3d43d0(function(_0x341bf8,_0x30cfe8){const _0x433097=_0x53541f;return _0x4998c9(F,Object[_0x433097(0x1bc)]({},_0x341bf8,{'id':'history-icon','ref':_0x30cfe8,'icon':ui}));});V[_0x53541f(0x1e4)]='HistoryIcon';var gi=Object[_0x53541f(0x166)],mi=(_0x32b6cf,_0x78999d,_0x34cfaa,_0x47d3cb)=>{const _0x29060b=_0x53541f;for(var _0x3c3155=_0x47d3cb>0x1?void 0x0:_0x47d3cb?gi(_0x78999d,_0x34cfaa):_0x78999d,_0x357c2e=_0x32b6cf[_0x29060b(0x153)]-0x1,_0x19e1aa;_0x357c2e>=0x0;_0x357c2e--)(_0x19e1aa=_0x32b6cf[_0x357c2e])&&(_0x3c3155=_0x19e1aa(_0x3c3155)||_0x3c3155);return _0x3c3155;},l=(_0x43504e,_0x548d29)=>(_0x1d3c09,_0x2b4d1b)=>_0x548d29(_0x1d3c09,_0x2b4d1b,_0x43504e);const vi=_0x53541f(0x192),G=_0x53541f(0x1ce),d='univer-history-container';let f=class extends _0x1a55c6{constructor(_0x541c3f,_0x21a113,_0x4f9c1c,_0x2e1398,_0x4d437d,_0x2bb5d1,_0x2597be,_0x4e6856,_0x3bd828,_0x535ded){const _0x14c166=_0x53541f;super(),g(this,_0x14c166(0x1ea),new _0x590644(null)),g(this,_0x14c166(0x1a8),this['_historyUniver$'][_0x14c166(0x16c)]()),g(this,_0x14c166(0x1b3),new _0x71959()),g(this,_0x14c166(0x1d2),new Map()),(this[_0x14c166(0x16f)]=_0x541c3f,this[_0x14c166(0x14a)]=_0x21a113,this[_0x14c166(0x1c4)]=_0x4f9c1c,this[_0x14c166(0x193)]=_0x2e1398,this[_0x14c166(0x151)]=_0x4d437d,this['_permissionService']=_0x2bb5d1,this[_0x14c166(0x1a3)]=_0x2597be,this[_0x14c166(0x143)]=_0x4e6856,this['_sidebarService']=_0x3bd828,this[_0x14c166(0x15d)]=_0x535ded,this[_0x14c166(0x170)]());}get[_0x53541f(0x19d)](){const _0x5f443c=_0x53541f;return this[_0x5f443c(0x1ea)][_0x5f443c(0x1ec)];}['_init'](){this['_initContainer'](),this['_initPlugins']();}[_0x53541f(0x17d)](){const _0x4f91bd=_0x53541f;var _0x32f6db;const _0x3237d8=(_0x32f6db=this[_0x4f91bd(0x1c4)][_0x4f91bd(0x1c8)](G))!=null?_0x32f6db:vi,_0x379657=document[_0x4f91bd(0x1bf)](_0x3237d8);if(!_0x379657)return;const _0x515e99=document[_0x4f91bd(0x155)](_0x4f91bd(0x1c7));_0x515e99['id']=d,_0x515e99[_0x4f91bd(0x162)]['uComp']=_0x4f91bd(0x195),_0x515e99['style'][_0x4f91bd(0x1e1)]=_0x4f91bd(0x1b6),_0x515e99[_0x4f91bd(0x1a9)][_0x4f91bd(0x1cb)]='0',_0x515e99['style'][_0x4f91bd(0x17a)]='0',_0x515e99[_0x4f91bd(0x1a9)][_0x4f91bd(0x190)]=_0x4f91bd(0x178),_0x515e99['style'][_0x4f91bd(0x1aa)]=_0x4f91bd(0x178),_0x515e99[_0x4f91bd(0x1a9)]['zIndex']=_0x4f91bd(0x1c2),_0x515e99['style'][_0x4f91bd(0x1be)]=_0x4f91bd(0x185),_0x379657[_0x4f91bd(0x158)](_0x515e99);}[_0x53541f(0x17f)](){const _0x5d1633=_0x53541f;var _0x5d60a2,_0x2690ef,_0x52cdb5,_0x14931d;[[_0x44d307],[_0x1a763c,{'container':d,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0xddc01b,null]]}],[_0x4bf8da],[_0xdda6a6,{'override':[[_0x3c8735,null]]}],[_0x205185,{'hasScroll':!0x1}],[_0x4d3983],[_0x2de7e4],[_0x58d66a,{'notExecuteFormula':!0x0}],[_0x15a0e8],[_0x2120e4],[_0x29b17a],[_0x2c2688],[_0x3480aa],[_0xc98179],[_0x599dc8],[_0x414f2f],[_0x44fd6f],[_0x16b306],[_0x5d50da],[_0x2ef40d],[_0x25fce9],[_0x1aa453,{'notExecuteFormula':!0x0}],[_0x1da87e,{'workerURL':(_0x2690ef=(_0x5d60a2=this[_0x5d1633(0x1c4)][_0x5d1633(0x1c8)](_0x1cd655))==null?void 0x0:_0x5d60a2[_0x5d1633(0x145)])!=null?_0x2690ef:_0x5d1633(0x19c)}],[_0x2c7ed7],[_0x464097],[_0xbbf862],[_0x208b9b],[_0x4c1013],[_0x34cf18],[_0x6c25cf],[_0x5d14f7,{'notExecuteFormula':!0x0}],[_0x21fa92,{'historyListServerUrl':(_0x52cdb5=this['_configService'][_0x5d1633(0x1c8)](U))==null?void 0x0:_0x52cdb5[_0x5d1633(0x152)],'historyPanelComponentKey':(_0x14931d=this['_configService']['getConfig'](U))==null?void 0x0:_0x14931d[_0x5d1633(0x1a6)]}]]['forEach'](([_0x377b8d,_0x3e68cf])=>this[_0x5d1633(0x199)](_0x377b8d,_0x3e68cf));}['dispose'](){const _0x560e59=_0x53541f;super[_0x560e59(0x1eb)](),this['unMountHistoryContent'](),this[_0x560e59(0x1d2)][_0x560e59(0x196)]();}[_0x53541f(0x199)](_0x3c2134,_0x4cc55c,_0x5e3c1f){const _0x1bd2bb=_0x53541f;if(this[_0x1bd2bb(0x1d2)][_0x1bd2bb(0x1a1)](_0x3c2134[_0x1bd2bb(0x1dc)])&&!_0x5e3c1f)throw new Error(_0x1bd2bb(0x1a0)+_0x3c2134[_0x1bd2bb(0x1dc)]+'\x20has\x20been\x20registered.');this[_0x1bd2bb(0x1d2)][_0x1bd2bb(0x1cc)](_0x3c2134[_0x1bd2bb(0x1dc)],[_0x3c2134,_0x4cc55c]);}[_0x53541f(0x1d4)](){const _0x4507d0=_0x53541f;return Array[_0x4507d0(0x141)](this[_0x4507d0(0x1d2)][_0x4507d0(0x18f)]());}[_0x53541f(0x1ab)](_0x155913){const _0x2ee114=_0x53541f,_0x42505a=document['getElementById'](d);_0x42505a&&(_0x42505a[_0x2ee114(0x1a9)][_0x2ee114(0x1be)]='block',this['_initUniver'](_0x155913,d));}[_0x53541f(0x163)](){const _0x466754=_0x53541f;var _0x12ae48;this['_disposableCollection'][_0x466754(0x1eb)](),(_0x12ae48=this['historyUniver'])==null||_0x12ae48[_0x466754(0x1eb)](),this[_0x466754(0x1ea)][_0x466754(0x197)](null);const _0x301da7=document['getElementById'](d);_0x301da7&&(_0x301da7[_0x466754(0x1a9)][_0x466754(0x1be)]=_0x466754(0x185));}[_0x53541f(0x186)](_0x36f787,_0x2ed51a){const _0x2b09a3=_0x53541f;if(this[_0x2b09a3(0x19d)])return;const _0xd9e3b3=new _0x135edd({'locales':{[this['_localeService'][_0x2b09a3(0x1cd)]()]:this[_0x2b09a3(0x16f)]['getLocales']()},'override':[[_0x3fdabe,{'useClass':_0x5774fd}]]}),_0x17dc6b=_0xd9e3b3[_0x2b09a3(0x1b7)]();this[_0x2b09a3(0x1b9)](this[_0x2b09a3(0x15d)][_0x2b09a3(0x148)][_0x2b09a3(0x150)](_0x4a4497=>{const _0x51536c=_0x2b09a3;_0x17dc6b[_0x51536c(0x1b5)](_0x3b4ae1)['setDarkMode'](_0x4a4497);})),this['disposeWithMe'](this[_0x2b09a3(0x15d)][_0x2b09a3(0x194)][_0x2b09a3(0x150)](_0x1be021=>{const _0x52c8d2=_0x2b09a3;_0x17dc6b[_0x52c8d2(0x1b5)](_0x3b4ae1)[_0x52c8d2(0x1ad)](_0x1be021);})),_0x17dc6b[_0x2b09a3(0x1b5)](_0x2708aa)[_0x2b09a3(0x173)](this[_0x2b09a3(0x16f)][_0x2b09a3(0x1cd)]()),_0x17dc6b[_0x2b09a3(0x1b5)](_0x4c10ff)['setConfig'](_0x5e6f31,this[_0x2b09a3(0x1c4)][_0x2b09a3(0x1c8)](_0x5e6f31));const _0xe2a6b2=this[_0x2b09a3(0x1c4)][_0x2b09a3(0x1c8)](_0x143642);_0xe2a6b2&&_0xd9e3b3[_0x2b09a3(0x199)](_0x256074,{'license':_0xe2a6b2['ls']}),this['_pluginMap'][_0x2b09a3(0x19b)](([_0x53322e,_0x173fb7])=>{const _0x33874d=_0x2b09a3;_0xd9e3b3[_0x33874d(0x199)](_0x53322e,_0x173fb7);}),_0x17dc6b['invoke'](_0x1cbb4e=>{const _0xbb52f7=_0x2b09a3;this[_0xbb52f7(0x1e5)](_0x1cbb4e,_0x36f787);}),this[_0x2b09a3(0x1ea)]['next'](_0xd9e3b3);const _0x2a9224=_0x17dc6b['get'](_0x3d400a),_0x75921e=this[_0x2b09a3(0x1ac)](_0x36f787);_0x2a9224[_0x2b09a3(0x1a2)](_0x36f787,_0x2ed51a,_0x75921e);}[_0x53541f(0x1e5)](_0x46fb6d,_0x40fa34){const _0x25ccd5=_0x53541f,_0x2b7b59=_0x46fb6d[_0x25ccd5(0x1b5)](_0x3d400a);this[_0x25ccd5(0x1b3)][_0x25ccd5(0x1d7)](_0x2b7b59[_0x25ccd5(0x198)][_0x25ccd5(0x150)](_0x7a540f=>{const _0x13a110=_0x25ccd5;switch(_0x7a540f){case _0x4f3344[_0x13a110(0x1de)]:this[_0x13a110(0x143)][_0x13a110(0x1bb)](),this[_0x13a110(0x14c)][_0x13a110(0x1d1)]();break;case _0x4f3344['Exited']:this[_0x13a110(0x193)]['executeCommand'](W['id']),this[_0x13a110(0x163)]();break;case _0x4f3344[_0x13a110(0x1e9)]:this['unMountHistoryContent'](),this['_messageService'][_0x13a110(0x1b0)]({'content':this['_localeService']['t'](_0x13a110(0x182)),'type':_0x3efc9c[_0x13a110(0x1e9)],'duration':0xbb8});break;}})),this[_0x25ccd5(0x1b3)][_0x25ccd5(0x1d7)](_0x2b7b59[_0x25ccd5(0x176)][_0x25ccd5(0x150)](async _0x2498b9=>{const _0x3e529f=_0x25ccd5;_0x2498b9&&this['_commandService'][_0x3e529f(0x147)](_0x4c629f['id'],{'unitId':_0x40fa34,'revision':_0x2498b9});}));}[_0x53541f(0x1ac)](_0x59977c){const _0x2320eb=_0x53541f,_0x3633d6=this[_0x2320eb(0x14a)][_0x2320eb(0x171)](_0x59977c)['getSheets']()[_0x2320eb(0x159)](_0x4e7ec4=>_0x4e7ec4['getSheetId']()),_0x4d2829=new _0x54d446(_0x59977c)['id'],_0x1e9ab0=_0x3633d6[_0x2320eb(0x159)](_0x2c7d6b=>new _0x5d953d(_0x59977c,_0x2c7d6b)['id']),_0x303432=_0x3633d6[_0x2320eb(0x159)](_0x266f52=>this[_0x2320eb(0x1a3)][_0x2320eb(0x188)](_0x59977c,_0x266f52)[_0x2320eb(0x159)](_0x530518=>new _0x1d9c33(_0x59977c,_0x266f52,_0x530518[_0x2320eb(0x1ed)])['id']))[_0x2320eb(0x17b)](),_0x5f4298=new _0x20647a(_0x59977c)['id'];return this[_0x2320eb(0x15e)][_0x2320eb(0x1da)]([_0x4d2829,..._0x1e9ab0,..._0x303432,_0x5f4298])[_0x2320eb(0x1ae)](_0x5233ef=>!!_0x5233ef['value']);}};f=mi([l(0x0,_0x5d2c64(_0x2708aa)),l(0x1,_0x182b3a),l(0x2,_0x4c10ff),l(0x3,_0x196202),l(0x4,_0x363f1b),l(0x5,_0x9dc70e),l(0x6,_0x5d2c64(_0x4fbab5)),l(0x7,_0x5d2c64(_0xddc01b)),l(0x8,_0x5d2c64(_0x43776b)),l(0x9,_0x5d2c64(_0x3b4ae1))],f);function _0x1520(_0x120700,_0x256e57){_0x120700=_0x120700-0x141;const _0x371282=_0x3712();let _0x15200e=_0x371282[_0x120700];return _0x15200e;}const b={'id':_0x53541f(0x174),'type':_0x46cba4[_0x53541f(0x180)],'handler':_0x3ce659=>{const _0x3793e7=_0x53541f,_0x310095=_0x3ce659['get'](f),_0x1bac70=_0x3ce659['get'](_0x182b3a),{unitId:_0x115163}=_0x30b8ac(_0x1bac70)||{};return _0x115163?(_0x310095[_0x3793e7(0x1ab)](_0x115163),!0x0):!0x1;}},W={'id':_0x53541f(0x19a),'type':_0x46cba4[_0x53541f(0x180)],'handler':()=>!0x0};function di(_0x35dfd4){const _0x46f043=_0x53541f;return{'id':b['id'],'type':_0x377869[_0x46f043(0x18b)],'icon':_0x46f043(0x15b),'tooltip':_0x46f043(0x1d0),'hidden$':_0x401f4c(_0x35dfd4,_0x2f58be[_0x46f043(0x1cf)]),'disabled$':_0x3d6fdd(_0x35dfd4,{'workbookTypes':[_0x54d446,_0x6b04a1],'worksheetTypes':[],'rangeTypes':[]})};}const fi={[_0x5bfa8f[_0x53541f(0x15a)]]:{[b['id']]:{'order':0.2,'menuItemFactory':di}}};var _i=Object['getOwnPropertyDescriptor'],pi=(_0xbc0412,_0x1ce2dc,_0x2977e4,_0x173692)=>{const _0x37616b=_0x53541f;for(var _0x25d987=_0x173692>0x1?void 0x0:_0x173692?_i(_0x1ce2dc,_0x2977e4):_0x1ce2dc,_0x4da467=_0xbc0412[_0x37616b(0x153)]-0x1,_0x44456f;_0x4da467>=0x0;_0x4da467--)(_0x44456f=_0xbc0412[_0x4da467])&&(_0x25d987=_0x44456f(_0x25d987)||_0x25d987);return _0x25d987;},m=(_0x593071,_0x169f66)=>(_0x36ec61,_0x28c6a1)=>_0x169f66(_0x36ec61,_0x28c6a1,_0x593071);let p=class extends _0x54525b{constructor(_0x4824a5,_0x4f50c0,_0x48afbe,_0x40c72c,_0xd16aa9,_0x19a76d,_0x4e1791,_0x4c1ce4){const _0x40e9b4=_0x53541f;super(),g(this,_0x40e9b4(0x1d9),null),(this['_commandService']=_0x4824a5,this[_0x40e9b4(0x167)]=_0x4f50c0,this[_0x40e9b4(0x1a4)]=_0x48afbe,this[_0x40e9b4(0x19e)]=_0x40c72c,this['_localeService']=_0xd16aa9,this[_0x40e9b4(0x151)]=_0x19a76d,this[_0x40e9b4(0x14d)]=_0x4e1791,this[_0x40e9b4(0x1c0)]=_0x4c1ce4,this[_0x40e9b4(0x170)]());}[_0x53541f(0x170)](){const _0x35dd30=_0x53541f;[b,W][_0x35dd30(0x19b)](_0xcbd5de=>this[_0x35dd30(0x1b9)](_0x3be409(this[_0x35dd30(0x193)]['registerCommand'](_0xcbd5de)))),this[_0x35dd30(0x1b9)](this['_componentManager'][_0x35dd30(0x1d8)]('HistoryIcon',V)),this[_0x35dd30(0x167)][_0x35dd30(0x1e8)](fi),this['disposeWithMe'](this[_0x35dd30(0x193)]['onCommandExecuted'](_0x6c95a1=>{const _0x4b323b=_0x35dd30;if(_0x6c95a1['id']===_0x4c629f['id']){this[_0x4b323b(0x151)][_0x4b323b(0x1b0)]({'content':this[_0x4b323b(0x16f)]['t'](_0x4b323b(0x1b8)),'type':_0x3efc9c['Loading'],'duration':0x1388});const {unitId:_0x43288a}=_0x6c95a1[_0x4b323b(0x15c)],_0x527a9e=this['_collaborationController'][_0x4b323b(0x183)](_0x43288a),_0x4f5d83=_0xfe74b9([_0x527a9e['session'][_0x4b323b(0x1c1)],_0x527a9e[_0x4b323b(0x18d)]])['subscribe'](async([_0x343584,_0xc69cdf])=>{const _0x82f794=_0x4b323b;var _0x6410a1;_0x343584[_0x82f794(0x14b)]===_0x5a87a9[_0x82f794(0x18e)]&&(_0xc69cdf==null?void 0x0:_0xc69cdf['status'])===_0x2158d8[_0x82f794(0x14f)]&&_0x343584[_0x82f794(0x142)][_0x82f794(0x17c)]['some'](_0x5643f6=>_0x5643f6['id']===_0x4c629f['id'])&&(this[_0x82f794(0x19e)][_0x82f794(0x163)](),_0x4f5d83[_0x82f794(0x165)](),this[_0x82f794(0x1d9)]&&clearTimeout(this[_0x82f794(0x1d9)]),await((_0x6410a1=this[_0x82f794(0x1c0)])==null?void 0x0:_0x6410a1[_0x82f794(0x1d3)]()),setTimeout(()=>window[_0x82f794(0x14e)][_0x82f794(0x1c3)]()));});this[_0x4b323b(0x1d9)]=setTimeout(()=>{const _0x548263=_0x4b323b;_0x4f5d83[_0x548263(0x165)](),this[_0x548263(0x151)][_0x548263(0x1b0)]({'content':this[_0x548263(0x16f)]['t'](_0x548263(0x168)),'type':_0x3efc9c[_0x548263(0x1e9)],'duration':0xbb8});},0x1388);}}));}};p=pi([m(0x0,_0x196202),m(0x1,_0x2825c3),m(0x2,_0x5d2c64(_0x40ac45)),m(0x3,_0x5d2c64(f)),m(0x4,_0x5d2c64(_0x2708aa)),m(0x5,_0x363f1b),m(0x6,_0x5d2c64(_0x15d5d1)),m(0x7,_0x376655)],p);var Si=Object[_0x53541f(0x166)],Ci=(_0x31a54b,_0x4a8ad2,_0x3f0689,_0x8690fa)=>{const _0x7c1aa1=_0x53541f;for(var _0x283811=_0x8690fa>0x1?void 0x0:_0x8690fa?Si(_0x4a8ad2,_0x3f0689):_0x4a8ad2,_0x3461de=_0x31a54b[_0x7c1aa1(0x153)]-0x1,_0x457007;_0x3461de>=0x0;_0x3461de--)(_0x457007=_0x31a54b[_0x3461de])&&(_0x283811=_0x457007(_0x283811)||_0x283811);return _0x283811;},R=(_0x29aaa0,_0x481696)=>(_0x4c6bf1,_0x2f9229)=>_0x481696(_0x4c6bf1,_0x2f9229,_0x29aaa0);const yi='UNIVER_EDIT_HISTORY_LOADER_PLUGIN';var _;let H=(_=class extends _0x594c54{constructor(_0x2ed80e=N,_0x77be5c,_0x1361c0){const _0x59cfcd=_0x53541f;super(),this[_0x59cfcd(0x1ca)]=_0x2ed80e,this['_injector']=_0x77be5c,this[_0x59cfcd(0x1c4)]=_0x1361c0;const {menu:_0x3247f3,..._0x475cf8}=_0x4dd2b0({},N,this['_config']);_0x3247f3&&this[_0x59cfcd(0x1c4)][_0x59cfcd(0x18a)](_0x59cfcd(0x1e7),_0x3247f3,{'merge':!0x0}),this['_configService'][_0x59cfcd(0x18a)](U,_0x475cf8),this[_0x59cfcd(0x1ca)][_0x59cfcd(0x16a)]&&this['_configService'][_0x59cfcd(0x18a)](G,this['_config'][_0x59cfcd(0x16a)]);}[_0x53541f(0x1b1)](){const _0xca667b=_0x53541f;[[f],[p]]['forEach'](_0x1d1ea6=>this[_0xca667b(0x1e0)]['add'](_0x1d1ea6));}[_0x53541f(0x160)](){const _0x5c6d50=_0x53541f;this[_0x5c6d50(0x1e0)][_0x5c6d50(0x1b5)](p);}},g(_,'type',_0x2f58be[_0x53541f(0x164)]),g(_,_0x53541f(0x1dc),yi),_);H=Ci([R(0x1,_0x5d2c64(_0x4965aa)),R(0x2,_0x4c10ff)],H);export{f as HistoryLoaderService,G as UNIVER_CONTAINER_ID_KEY,d as UNIVER_HISTORY_CONTAINER_ID,H as UniverEditHistoryLoaderPlugin};
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x19034b,_0x5e93e0){const _0x37456b=_0x53d2,_0x25068a=_0x19034b();while(!![]){try{const _0x9009f1=-parseInt(_0x37456b(0x2e5))/0x1+parseInt(_0x37456b(0x2ab))/0x2+parseInt(_0x37456b(0x1f8))/0x3*(-parseInt(_0x37456b(0x23f))/0x4)+parseInt(_0x37456b(0x1f5))/0x5+-parseInt(_0x37456b(0x2c5))/0x6+-parseInt(_0x37456b(0x215))/0x7*(parseInt(_0x37456b(0x233))/0x8)+parseInt(_0x37456b(0x27f))/0x9;if(_0x9009f1===_0x5e93e0)break;else _0x25068a['push'](_0x25068a['shift']());}catch(_0x4fe669){_0x25068a['push'](_0x25068a['shift']());}}}(_0x3c31,0xd8acc),function(_0x3af9b0,_0x1f530d){const _0x27b5a4=_0x53d2;typeof exports==_0x27b5a4(0x274)&&typeof module<'u'?_0x1f530d(exports,require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs/design'),require('react'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/sheets'),require('@univerjs-pro/edit-history-viewer'),require('@univerjs-pro/license'),require('@univerjs-pro/sheets-chart'),require('@univerjs-pro/sheets-chart-ui'),require('@univerjs-pro/sheets-pivot'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs-pro/sheets-sparkline-ui'),require('@univerjs/data-validation'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs/drawing-ui'),require('@univerjs/engine-formula'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/rpc'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-conditional-formatting-ui'),require('@univerjs/sheets-data-validation'),require('@univerjs/sheets-data-validation-ui'),require('@univerjs/sheets-drawing'),require('@univerjs/sheets-drawing-ui'),require('@univerjs/sheets-filter'),require('@univerjs/sheets-filter-ui'),require('@univerjs/sheets-formula'),require('@univerjs/sheets-formula-ui'),require('@univerjs/sheets-hyper-link'),require('@univerjs/sheets-hyper-link-ui'),require('@univerjs/sheets-numfmt'),require('@univerjs/sheets-ui')):typeof define==_0x27b5a4(0x25c)&&define[_0x27b5a4(0x24d)]?define([_0x27b5a4(0x2e6),_0x27b5a4(0x277),'@univerjs-pro/collaboration',_0x27b5a4(0x1e5),_0x27b5a4(0x2bb),_0x27b5a4(0x2be),'@univerjs/ui','rxjs',_0x27b5a4(0x296),_0x27b5a4(0x1fc),_0x27b5a4(0x268),'@univerjs-pro/sheets-chart',_0x27b5a4(0x1fe),_0x27b5a4(0x299),_0x27b5a4(0x2c6),'@univerjs-pro/sheets-sparkline-ui','@univerjs/data-validation',_0x27b5a4(0x2c9),_0x27b5a4(0x298),'@univerjs/drawing',_0x27b5a4(0x263),_0x27b5a4(0x289),_0x27b5a4(0x221),_0x27b5a4(0x21e),_0x27b5a4(0x2f3),_0x27b5a4(0x2ba),_0x27b5a4(0x2ea),_0x27b5a4(0x284),_0x27b5a4(0x2ec),_0x27b5a4(0x25d),_0x27b5a4(0x219),_0x27b5a4(0x292),_0x27b5a4(0x216),_0x27b5a4(0x273),'@univerjs/sheets-formula-ui',_0x27b5a4(0x238),_0x27b5a4(0x2dd),_0x27b5a4(0x1f6),_0x27b5a4(0x28c)],_0x1f530d):(_0x3af9b0=typeof globalThis<'u'?globalThis:_0x3af9b0||self,_0x1f530d(_0x3af9b0[_0x27b5a4(0x1e7)]={},_0x3af9b0[_0x27b5a4(0x1d6)],_0x3af9b0[_0x27b5a4(0x2d6)],_0x3af9b0[_0x27b5a4(0x286)],_0x3af9b0['UniverDesign'],_0x3af9b0[_0x27b5a4(0x26c)],_0x3af9b0[_0x27b5a4(0x253)],_0x3af9b0[_0x27b5a4(0x2c1)],_0x3af9b0[_0x27b5a4(0x2b8)],_0x3af9b0[_0x27b5a4(0x2fa)],_0x3af9b0[_0x27b5a4(0x22c)],_0x3af9b0['UniverProSheetsChart'],_0x3af9b0[_0x27b5a4(0x203)],_0x3af9b0[_0x27b5a4(0x288)],_0x3af9b0[_0x27b5a4(0x211)],_0x3af9b0['UniverProSheetsSparklineUi'],_0x3af9b0[_0x27b5a4(0x2cc)],_0x3af9b0['UniverDocs'],_0x3af9b0[_0x27b5a4(0x230)],_0x3af9b0['UniverDrawing'],_0x3af9b0[_0x27b5a4(0x200)],_0x3af9b0[_0x27b5a4(0x20f)],_0x3af9b0[_0x27b5a4(0x2b4)],_0x3af9b0[_0x27b5a4(0x2d3)],_0x3af9b0[_0x27b5a4(0x2d8)],_0x3af9b0[_0x27b5a4(0x257)],_0x3af9b0['UniverSheetsConditionalFormattingUi'],_0x3af9b0[_0x27b5a4(0x2d7)],_0x3af9b0[_0x27b5a4(0x250)],_0x3af9b0[_0x27b5a4(0x2c0)],_0x3af9b0[_0x27b5a4(0x2c2)],_0x3af9b0[_0x27b5a4(0x231)],_0x3af9b0[_0x27b5a4(0x237)],_0x3af9b0[_0x27b5a4(0x280)],_0x3af9b0[_0x27b5a4(0x2d2)],_0x3af9b0['UniverSheetsHyperLink'],_0x3af9b0[_0x27b5a4(0x2cb)],_0x3af9b0['UniverSheetsNumfmt'],_0x3af9b0[_0x27b5a4(0x213)]));}(this,function(_0xb5c8dc,_0x419a51,_0x485045,_0x110e37,_0x1f47b5,_0x164a11,_0x2b82df,_0x54efc0,_0x542cb9,_0x18ac35,_0x1d94cd,_0x1a9383,_0x16989b,_0x4085e1,_0x24b249,_0x2f25d9,_0x4894a6,_0x1d0821,_0x378767,_0x404858,_0xa7f386,_0x401ff2,_0x2bac70,_0x451c73,_0x46bd78,_0x3475c7,_0x16d3e1,_0x4332d4,_0x5b43b7,_0x5e4260,_0x188272,_0x49003b,_0x1db986,_0x412526,_0x33d006,_0x2a192b,_0x1d0a73,_0x250c7d,_0x242259){'use strict';const _0x25ed73=_0x53d2;var _0x34f3a9=Object[_0x25ed73(0x2a2)],_0x54ffc5=(_0x582672,_0x2b25ca,_0x16f1c2)=>_0x2b25ca in _0x582672?_0x34f3a9(_0x582672,_0x2b25ca,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x16f1c2}):_0x582672[_0x2b25ca]=_0x16f1c2,_0x395bb6=(_0x302db9,_0x440e54,_0x2b9de7)=>_0x54ffc5(_0x302db9,typeof _0x440e54!=_0x25ed73(0x244)?_0x440e54+'':_0x440e54,_0x2b9de7),_0x2752e7;const _0x34c9d5='edit-history-loader.config',_0x45b813={};function _0x5b9193({ref:_0x51f84c,..._0x49d047}){const _0x4401a4=_0x25ed73,{icon:_0x5cf5c1,id:_0x1b091d,className:_0x4ab0ad,extend:_0x23f526,..._0x34872}=_0x49d047,_0x5b1cc0=(_0x4401a4(0x1f1)+_0x1b091d+'\x20'+(_0x4ab0ad||''))['trim'](),_0x120ec8=_0x164a11[_0x4401a4(0x25f)]('_'+_0x269eb2());return _0x27f133(_0x5cf5c1,''+_0x1b091d,{'defIds':_0x5cf5c1[_0x4401a4(0x293)],'idSuffix':_0x120ec8['current']},{'ref':_0x51f84c,'className':_0x5b1cc0,..._0x34872},_0x23f526);}function _0x27f133(_0x1c6396,_0x26ddb3,_0x565ff2,_0x349719,_0x40987f){const _0x5598cc=_0x25ed73;return _0x164a11[_0x5598cc(0x270)](_0x1c6396[_0x5598cc(0x27a)],{'key':_0x26ddb3,..._0x14ac24(_0x1c6396,_0x565ff2,_0x40987f),..._0x349719},(_0x1475b3(_0x1c6396,_0x565ff2)[_0x5598cc(0x220)]||[])[_0x5598cc(0x2c3)]((_0x28df44,_0x2f583b)=>_0x27f133(_0x28df44,_0x26ddb3+'-'+_0x1c6396[_0x5598cc(0x27a)]+'-'+_0x2f583b,_0x565ff2,void 0x0,_0x40987f)));}function _0x14ac24(_0x1a644c,_0x1e44c3,_0x43cc13){const _0x122166=_0x25ed73,_0x4d6a21={..._0x1a644c[_0x122166(0x2e0)]};_0x43cc13!=null&&_0x43cc13['colorChannel1']&&_0x4d6a21[_0x122166(0x22e)]===_0x122166(0x1d2)&&(_0x4d6a21[_0x122166(0x22e)]=_0x43cc13['colorChannel1']),_0x1a644c[_0x122166(0x27a)]===_0x122166(0x2ac)&&_0x4d6a21['id']&&(_0x4d6a21['id']=_0x4d6a21['id']+_0x1e44c3['idSuffix']),Object[_0x122166(0x27e)](_0x4d6a21)[_0x122166(0x26a)](([_0x4023df,_0x525aea])=>{const _0x3f34de=_0x122166;_0x4023df===_0x3f34de(0x2ac)&&typeof _0x525aea==_0x3f34de(0x24a)&&(_0x4d6a21[_0x4023df]=_0x525aea[_0x3f34de(0x218)](/url\(#(.*)\)/,_0x3f34de(0x212)+_0x1e44c3[_0x3f34de(0x2a9)]+')'));});const {defIds:_0xcb6da3}=_0x1e44c3;return!_0xcb6da3||_0xcb6da3['length']===0x0||(_0x1a644c[_0x122166(0x27a)]===_0x122166(0x2a1)&&_0x4d6a21[_0x122166(0x290)]&&(_0x4d6a21[_0x122166(0x290)]=_0x4d6a21[_0x122166(0x290)]+_0x1e44c3[_0x122166(0x2a9)]),Object[_0x122166(0x27e)](_0x4d6a21)['forEach'](([_0x28071e,_0x29c1e5])=>{const _0x1d4cd9=_0x122166;typeof _0x29c1e5==_0x1d4cd9(0x24a)&&(_0x4d6a21[_0x28071e]=_0x29c1e5[_0x1d4cd9(0x218)](/url\(#(.*)\)/,_0x1d4cd9(0x212)+_0x1e44c3[_0x1d4cd9(0x2a9)]+')'));})),_0x4d6a21;}function _0x1475b3(_0x42e886,_0x450892){const _0xf9d413=_0x25ed73;var _0x1fd6b0;const {defIds:_0x14342d}=_0x450892;return!_0x14342d||_0x14342d[_0xf9d413(0x2e3)]===0x0?_0x42e886:_0x42e886['tag']===_0xf9d413(0x258)&&((_0x1fd6b0=_0x42e886['children'])!=null&&_0x1fd6b0['length'])?{..._0x42e886,'children':_0x42e886[_0xf9d413(0x220)]['map'](_0x3ecc3a=>typeof _0x3ecc3a[_0xf9d413(0x2e0)]['id']==_0xf9d413(0x24a)&&_0x14342d&&_0x14342d[_0xf9d413(0x2f7)](_0x3ecc3a[_0xf9d413(0x2e0)]['id'])?{..._0x3ecc3a,'attrs':{..._0x3ecc3a[_0xf9d413(0x2e0)],'id':_0x3ecc3a[_0xf9d413(0x2e0)]['id']+_0x450892['idSuffix']}}:_0x3ecc3a)}:_0x42e886;}function _0x269eb2(){const _0x37c17f=_0x25ed73;return Math[_0x37c17f(0x26f)]()['toString'](0x24)['substring'](0x2,0x8);}_0x5b9193[_0x25ed73(0x1fa)]='UniverIcon';const _0x556e1b={'tag':_0x25ed73(0x27c),'attrs':{'xmlns':_0x25ed73(0x201),'fill':_0x25ed73(0x2c8),'viewBox':_0x25ed73(0x1fb),'width':_0x25ed73(0x207),'height':_0x25ed73(0x207)},'children':[{'tag':'g','attrs':{'fill':_0x25ed73(0x2a0),'clipPath':_0x25ed73(0x297)},'children':[{'tag':'path','attrs':{'d':_0x25ed73(0x226)}},{'tag':_0x25ed73(0x1f0),'attrs':{'d':_0x25ed73(0x20e)}}]},{'tag':_0x25ed73(0x258),'attrs':{},'children':[{'tag':_0x25ed73(0x23e),'attrs':{'id':_0x25ed73(0x2ed)},'children':[{'tag':_0x25ed73(0x1f0),'attrs':{'fill':_0x25ed73(0x1db),'d':_0x25ed73(0x2f5)}}]}]}],'defIds':[_0x25ed73(0x2ed)]},_0x1a0996=_0x164a11[_0x25ed73(0x2dc)](function(_0x5711b4,_0x5ee73c){const _0x1bdcf6=_0x25ed73;return _0x164a11['createElement'](_0x5b9193,Object[_0x1bdcf6(0x26e)]({},_0x5711b4,{'id':_0x1bdcf6(0x2df),'ref':_0x5ee73c,'icon':_0x556e1b}));});_0x1a0996[_0x25ed73(0x1fa)]=_0x25ed73(0x1f4);var _0x12a0ab=Object[_0x25ed73(0x28d)],_0x2b2500=(_0x45669f,_0x21b1cf,_0x3b6c4e,_0x31cf89)=>{const _0x3987fc=_0x25ed73;for(var _0x37752b=_0x31cf89>0x1?void 0x0:_0x31cf89?_0x12a0ab(_0x21b1cf,_0x3b6c4e):_0x21b1cf,_0x1a6f43=_0x45669f[_0x3987fc(0x2e3)]-0x1,_0x26635b;_0x1a6f43>=0x0;_0x1a6f43--)(_0x26635b=_0x45669f[_0x1a6f43])&&(_0x37752b=_0x26635b(_0x37752b)||_0x37752b);return _0x37752b;},_0x49ea4b=(_0x4cd7a4,_0x508fe0)=>(_0x5ab902,_0x3b2e36)=>_0x508fe0(_0x5ab902,_0x3b2e36,_0x4cd7a4);const _0xfc82e7=_0x25ed73(0x23a),_0x5442d7=_0x25ed73(0x1da),_0xca8b27='univer-history-container';_0xb5c8dc[_0x25ed73(0x261)]=class extends _0x419a51[_0x25ed73(0x1e9)]{constructor(_0x30f69c,_0x2b9f19,_0x386ec0,_0x3be494,_0x54fdc3,_0x1115d9,_0x1cd5c2,_0x339247,_0x437236,_0x5acc9a){const _0xcc1691=_0x25ed73;super(),_0x395bb6(this,_0xcc1691(0x2d1),new _0x54efc0[(_0xcc1691(0x25e))](null)),_0x395bb6(this,'historyUniver$',this[_0xcc1691(0x2d1)]['asObservable']()),_0x395bb6(this,_0xcc1691(0x28a),new _0x419a51[(_0xcc1691(0x2e4))]()),_0x395bb6(this,'_pluginMap',new Map()),(this[_0xcc1691(0x1ec)]=_0x30f69c,this['_univerInstanceService']=_0x2b9f19,this['_configService']=_0x386ec0,this[_0xcc1691(0x2e2)]=_0x3be494,this['_messageService']=_0x54fdc3,this[_0xcc1691(0x1d8)]=_0x1115d9,this[_0xcc1691(0x2eb)]=_0x1cd5c2,this[_0xcc1691(0x228)]=_0x339247,this['_sidebarService']=_0x437236,this[_0xcc1691(0x24f)]=_0x5acc9a,this['_init']());}get[_0x25ed73(0x247)](){const _0x3d5783=_0x25ed73;return this[_0x3d5783(0x2d1)][_0x3d5783(0x1d4)];}[_0x25ed73(0x2ee)](){const _0x2ab0d6=_0x25ed73;this[_0x2ab0d6(0x24e)](),this[_0x2ab0d6(0x266)]();}['_initContainer'](){const _0x4f6b07=_0x25ed73;var _0x109e4f;const _0x563445=(_0x109e4f=this[_0x4f6b07(0x2af)][_0x4f6b07(0x1fd)](_0x5442d7))!=null?_0x109e4f:_0xfc82e7,_0x14e54c=document['getElementById'](_0x563445);if(!_0x14e54c)return;const _0xd08bc6=document[_0x4f6b07(0x270)](_0x4f6b07(0x2a7));_0xd08bc6['id']=_0xca8b27,_0xd08bc6[_0x4f6b07(0x272)][_0x4f6b07(0x208)]=_0x4f6b07(0x2f1),_0xd08bc6['style'][_0x4f6b07(0x1ff)]=_0x4f6b07(0x1f7),_0xd08bc6[_0x4f6b07(0x1ed)][_0x4f6b07(0x28f)]='0',_0xd08bc6[_0x4f6b07(0x1ed)][_0x4f6b07(0x2db)]='0',_0xd08bc6[_0x4f6b07(0x1ed)][_0x4f6b07(0x1dd)]=_0x4f6b07(0x225),_0xd08bc6[_0x4f6b07(0x1ed)][_0x4f6b07(0x23b)]=_0x4f6b07(0x225),_0xd08bc6[_0x4f6b07(0x1ed)]['zIndex']='1000',_0xd08bc6['style'][_0x4f6b07(0x26d)]=_0x4f6b07(0x2c8),_0x14e54c[_0x4f6b07(0x275)](_0xd08bc6);}[_0x25ed73(0x266)](){const _0x33b954=_0x25ed73;var _0x4e37c5,_0x1be76b,_0x3388c6,_0x7c0a92;[[_0x2bac70[_0x33b954(0x2bc)]],[_0x2b82df[_0x33b954(0x2b2)],{'container':_0xca8b27,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x2b82df['IDialogService'],null]]}],[_0x451c73[_0x33b954(0x22a)]],[_0x404858[_0x33b954(0x21f)],{'override':[[_0x404858[_0x33b954(0x2de)],null]]}],[_0x1d0821[_0x33b954(0x2b6)],{'hasScroll':!0x1}],[_0x378767['UniverDocsUIPlugin']],[_0x250c7d[_0x33b954(0x2d9)]],[_0x542cb9['UniverSheetsPlugin'],{'notExecuteFormula':!0x0}],[_0x242259['UniverSheetsUIPlugin']],[_0x412526[_0x33b954(0x2f6)]],[_0x33d006[_0x33b954(0x265)]],[_0x485045[_0x33b954(0x1d1)]],[_0x49003b[_0x33b954(0x21d)]],[_0x1db986[_0x33b954(0x28b)]],[_0x3475c7[_0x33b954(0x1e3)]],[_0x16d3e1[_0x33b954(0x1e2)]],[_0x2a192b[_0x33b954(0x235)]],[_0x1d0a73[_0x33b954(0x21b)]],[_0x4894a6[_0x33b954(0x259)]],[_0x4332d4[_0x33b954(0x2e9)]],[_0x5b43b7[_0x33b954(0x222)]],[_0x401ff2[_0x33b954(0x1e1)],{'notExecuteFormula':!0x0}],[_0x46bd78[_0x33b954(0x2da)],{'workerURL':(_0x1be76b=(_0x4e37c5=this[_0x33b954(0x2af)]['getConfig'](_0x46bd78[_0x33b954(0x267)]))==null?void 0x0:_0x4e37c5[_0x33b954(0x294)])!=null?_0x1be76b:_0x33b954(0x2e1)}],[_0xa7f386[_0x33b954(0x2f2)]],[_0x5e4260[_0x33b954(0x27b)]],[_0x188272[_0x33b954(0x29e)]],[_0x24b249[_0x33b954(0x2b1)]],[_0x2f25d9['UniverSheetSparklineUIPlugin']],[_0x1a9383['UniverSheetsChartPlugin']],[_0x16989b[_0x33b954(0x2b3)]],[_0x4085e1['UniverSheetsPivotTablePlugin'],{'notExecuteFormula':!0x0}],[_0x18ac35[_0x33b954(0x20c)],{'historyListServerUrl':(_0x3388c6=this[_0x33b954(0x2af)][_0x33b954(0x1fd)](_0x34c9d5))==null?void 0x0:_0x3388c6[_0x33b954(0x2ad)],'historyPanelComponentKey':(_0x7c0a92=this[_0x33b954(0x2af)][_0x33b954(0x1fd)](_0x34c9d5))==null?void 0x0:_0x7c0a92['historyPanelComponentKey']}]]['forEach'](([_0x12eea5,_0xea20db])=>this[_0x33b954(0x242)](_0x12eea5,_0xea20db));}[_0x25ed73(0x2c7)](){const _0x4ceacc=_0x25ed73;super['dispose'](),this[_0x4ceacc(0x2f8)](),this[_0x4ceacc(0x264)][_0x4ceacc(0x285)]();}[_0x25ed73(0x242)](_0x54c055,_0x24403a,_0x14071e){const _0x16fdc5=_0x25ed73;if(this[_0x16fdc5(0x264)]['has'](_0x54c055[_0x16fdc5(0x23d)])&&!_0x14071e)throw new Error(_0x16fdc5(0x2b9)+_0x54c055[_0x16fdc5(0x23d)]+_0x16fdc5(0x1d9));this['_pluginMap'][_0x16fdc5(0x20d)](_0x54c055[_0x16fdc5(0x23d)],[_0x54c055,_0x24403a]);}[_0x25ed73(0x2cd)](){const _0x132b0f=_0x25ed73;return Array[_0x132b0f(0x29b)](this[_0x132b0f(0x264)][_0x132b0f(0x20b)]());}[_0x25ed73(0x271)](_0xa9e581){const _0x4c841a=_0x25ed73,_0x13e911=document['getElementById'](_0xca8b27);_0x13e911&&(_0x13e911[_0x4c841a(0x1ed)][_0x4c841a(0x26d)]='block',this['_initUniver'](_0xa9e581,_0xca8b27));}[_0x25ed73(0x2f8)](){const _0x531994=_0x25ed73;var _0x117d75;this[_0x531994(0x28a)][_0x531994(0x2c7)](),(_0x117d75=this[_0x531994(0x247)])==null||_0x117d75['dispose'](),this['_historyUniver$'][_0x531994(0x246)](null);const _0x1d8b02=document['getElementById'](_0xca8b27);_0x1d8b02&&(_0x1d8b02[_0x531994(0x1ed)][_0x531994(0x26d)]=_0x531994(0x2c8));}['_initUniver'](_0x2f14ac,_0x448da0){const _0x4c1524=_0x25ed73;if(this[_0x4c1524(0x247)])return;const _0x1065da=new _0x419a51[(_0x4c1524(0x2b7))]({'locales':{[this[_0x4c1524(0x1ec)][_0x4c1524(0x2b0)]()]:this[_0x4c1524(0x1ec)][_0x4c1524(0x1ef)]()},'override':[[_0x419a51[_0x4c1524(0x283)],{'useClass':_0x110e37[_0x4c1524(0x232)]}]]}),_0x84b881=_0x1065da[_0x4c1524(0x281)]();this['disposeWithMe'](this['_themeService']['darkMode$']['subscribe'](_0x555e60=>{const _0x379ca3=_0x4c1524;_0x84b881[_0x379ca3(0x2a4)](_0x419a51[_0x379ca3(0x1de)])[_0x379ca3(0x251)](_0x555e60);})),this[_0x4c1524(0x2d5)](this[_0x4c1524(0x24f)][_0x4c1524(0x1e8)][_0x4c1524(0x243)](_0x1d4392=>{const _0x489f79=_0x4c1524;_0x84b881['get'](_0x419a51[_0x489f79(0x1de)])[_0x489f79(0x25a)](_0x1d4392);})),_0x84b881['get'](_0x419a51[_0x4c1524(0x295)])[_0x4c1524(0x20a)](this['_localeService'][_0x4c1524(0x2b0)]()),_0x84b881[_0x4c1524(0x2a4)](_0x419a51['IConfigService'])['setConfig'](_0x110e37[_0x4c1524(0x227)],this[_0x4c1524(0x2af)][_0x4c1524(0x1fd)](_0x110e37['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']));const _0x5900ff=this[_0x4c1524(0x2af)][_0x4c1524(0x1fd)](_0x1d94cd['LS_CONFIG_KEY']);_0x5900ff&&_0x1065da[_0x4c1524(0x242)](_0x1d94cd[_0x4c1524(0x2a3)],{'license':_0x5900ff['ls']}),this['_pluginMap'][_0x4c1524(0x26a)](([_0x264fb3,_0x254cfa])=>{const _0x582159=_0x4c1524;_0x1065da[_0x582159(0x242)](_0x264fb3,_0x254cfa);}),_0x84b881[_0x4c1524(0x254)](_0x37b030=>{const _0x495e60=_0x4c1524;this[_0x495e60(0x1ea)](_0x37b030,_0x2f14ac);}),this[_0x4c1524(0x2d1)][_0x4c1524(0x246)](_0x1065da);const _0x3bd0ac=_0x84b881[_0x4c1524(0x2a4)](_0x18ac35[_0x4c1524(0x24c)]),_0x4ac564=this[_0x4c1524(0x2ef)](_0x2f14ac);_0x3bd0ac[_0x4c1524(0x27d)](_0x2f14ac,_0x448da0,_0x4ac564);}[_0x25ed73(0x1ea)](_0x289d20,_0x32d0ba){const _0x5f000a=_0x25ed73,_0x4835a1=_0x289d20[_0x5f000a(0x2a4)](_0x18ac35[_0x5f000a(0x24c)]);this[_0x5f000a(0x28a)][_0x5f000a(0x2a5)](_0x4835a1['status$'][_0x5f000a(0x243)](_0x412ad4=>{const _0x1950f8=_0x5f000a;switch(_0x412ad4){case _0x18ac35[_0x1950f8(0x234)]['Entered']:this[_0x1950f8(0x228)][_0x1950f8(0x278)](),this[_0x1950f8(0x29a)]['close']();break;case _0x18ac35[_0x1950f8(0x234)][_0x1950f8(0x2bf)]:this['_commandService'][_0x1950f8(0x22d)](_0x143c2a['id']),this['unMountHistoryContent']();break;case _0x18ac35['HistoryModeStatus'][_0x1950f8(0x2bd)]:this[_0x1950f8(0x2f8)](),this[_0x1950f8(0x2b5)]['show']({'content':this[_0x1950f8(0x1ec)]['t'](_0x1950f8(0x206)),'type':_0x1f47b5[_0x1950f8(0x282)]['Error'],'duration':0xbb8});break;}})),this['_disposableCollection']['add'](_0x4835a1[_0x5f000a(0x209)]['subscribe'](async _0xce16ff=>{const _0x1e7699=_0x5f000a;_0xce16ff&&this[_0x1e7699(0x2e2)]['executeCommand'](_0x485045[_0x1e7699(0x239)]['id'],{'unitId':_0x32d0ba,'revision':_0xce16ff});}));}['_checkCanRevert'](_0x3aa6b6){const _0x5a378f=_0x25ed73,_0x21aa56=this[_0x5a378f(0x214)]['getUnit'](_0x3aa6b6)['getSheets']()[_0x5a378f(0x2c3)](_0x2e1eae=>_0x2e1eae[_0x5a378f(0x223)]()),_0x105c07=new _0x542cb9[(_0x5a378f(0x1eb))](_0x3aa6b6)['id'],_0x3b4e32=_0x21aa56['map'](_0x58beb2=>new _0x542cb9['WorksheetEditPermission'](_0x3aa6b6,_0x58beb2)['id']),_0x2c3e48=_0x21aa56['map'](_0x404380=>this[_0x5a378f(0x2eb)]['getSubunitRuleList'](_0x3aa6b6,_0x404380)['map'](_0x1d0d5f=>new _0x542cb9[(_0x5a378f(0x245))](_0x3aa6b6,_0x404380,_0x1d0d5f['permissionId'])['id']))['flat'](),_0x210e8f=new _0x542cb9[(_0x5a378f(0x1df))](_0x3aa6b6)['id'];return this[_0x5a378f(0x1d8)][_0x5a378f(0x2a8)]([_0x105c07,..._0x3b4e32,..._0x2c3e48,_0x210e8f])['every'](_0x585c5a=>!!_0x585c5a[_0x5a378f(0x1d4)]);}},_0xb5c8dc[_0x25ed73(0x261)]=_0x2b2500([_0x49ea4b(0x0,_0x419a51[_0x25ed73(0x1e6)](_0x419a51[_0x25ed73(0x295)])),_0x49ea4b(0x1,_0x419a51[_0x25ed73(0x2d0)]),_0x49ea4b(0x2,_0x419a51[_0x25ed73(0x21c)]),_0x49ea4b(0x3,_0x419a51[_0x25ed73(0x2f0)]),_0x49ea4b(0x4,_0x2b82df[_0x25ed73(0x291)]),_0x49ea4b(0x5,_0x419a51[_0x25ed73(0x1d5)]),_0x49ea4b(0x6,_0x419a51[_0x25ed73(0x1e6)](_0x542cb9[_0x25ed73(0x24b)])),_0x49ea4b(0x7,_0x419a51[_0x25ed73(0x1e6)](_0x2b82df['IDialogService'])),_0x49ea4b(0x8,_0x419a51[_0x25ed73(0x1e6)](_0x2b82df['ISidebarService'])),_0x49ea4b(0x9,_0x419a51[_0x25ed73(0x1e6)](_0x419a51[_0x25ed73(0x1de)]))],_0xb5c8dc[_0x25ed73(0x261)]);const _0x25fff6={'id':_0x25ed73(0x23c),'type':_0x419a51['CommandType'][_0x25ed73(0x22f)],'handler':_0x41f919=>{const _0x19860d=_0x25ed73,_0x5cc260=_0x41f919[_0x19860d(0x2a4)](_0xb5c8dc[_0x19860d(0x261)]),_0x2ac376=_0x41f919[_0x19860d(0x2a4)](_0x419a51[_0x19860d(0x2d0)]),{unitId:_0xd239a8}=_0x542cb9[_0x19860d(0x2ae)](_0x2ac376)||{};return _0xd239a8?(_0x5cc260[_0x19860d(0x271)](_0xd239a8),!0x0):!0x1;}},_0x143c2a={'id':'univer.operation.exit-edit-history','type':_0x419a51[_0x25ed73(0x2e8)][_0x25ed73(0x22f)],'handler':()=>!0x0};function _0x1fecab(_0x5a208f){const _0x5a3934=_0x25ed73;return{'id':_0x25fff6['id'],'type':_0x2b82df['MenuItemType'][_0x5a3934(0x2f4)],'icon':'HistoryIcon','tooltip':'editHistory.panel.title','hidden$':_0x2b82df[_0x5a3934(0x29d)](_0x5a208f,_0x419a51['UniverInstanceType']['UNIVER_SHEET']),'disabled$':_0x242259[_0x5a3934(0x28e)](_0x5a208f,{'workbookTypes':[_0x542cb9[_0x5a3934(0x1eb)],_0x542cb9[_0x5a3934(0x1e4)]],'worksheetTypes':[],'rangeTypes':[]})};}const _0x581bb8={[_0x2b82df[_0x25ed73(0x229)]['OTHERS']]:{[_0x25fff6['id']]:{'order':0.2,'menuItemFactory':_0x1fecab}}};var _0x5c0f79=Object[_0x25ed73(0x28d)],_0x3765ad=(_0x595252,_0x1c6a3d,_0x1cc0d4,_0xcf91e4)=>{for(var _0x2e9802=_0xcf91e4>0x1?void 0x0:_0xcf91e4?_0x5c0f79(_0x1c6a3d,_0x1cc0d4):_0x1c6a3d,_0x2a86a1=_0x595252['length']-0x1,_0x4a14a2;_0x2a86a1>=0x0;_0x2a86a1--)(_0x4a14a2=_0x595252[_0x2a86a1])&&(_0x2e9802=_0x4a14a2(_0x2e9802)||_0x2e9802);return _0x2e9802;},_0x384a78=(_0x490874,_0xf9a21)=>(_0x44f1a0,_0x553e3a)=>_0xf9a21(_0x44f1a0,_0x553e3a,_0x490874);let _0x4f4ec4=class extends _0x419a51[_0x25ed73(0x1d3)]{constructor(_0x347747,_0x5521a3,_0x306864,_0x5b7e09,_0x46aec3,_0x4b63cb,_0x152897,_0x4c90cc){const _0x50b3c1=_0x25ed73;super(),_0x395bb6(this,_0x50b3c1(0x210),null),(this[_0x50b3c1(0x2e2)]=_0x347747,this[_0x50b3c1(0x2f9)]=_0x5521a3,this[_0x50b3c1(0x1f9)]=_0x306864,this[_0x50b3c1(0x22b)]=_0x5b7e09,this[_0x50b3c1(0x1ec)]=_0x46aec3,this[_0x50b3c1(0x2b5)]=_0x4b63cb,this['_collaborationController']=_0x152897,this[_0x50b3c1(0x25b)]=_0x4c90cc,this[_0x50b3c1(0x2ee)]());}[_0x25ed73(0x2ee)](){const _0x5a4330=_0x25ed73;[_0x25fff6,_0x143c2a][_0x5a4330(0x26a)](_0x27788b=>this[_0x5a4330(0x2d5)](_0x419a51['toDisposable'](this[_0x5a4330(0x2e2)][_0x5a4330(0x255)](_0x27788b)))),this[_0x5a4330(0x2d5)](this[_0x5a4330(0x1f9)][_0x5a4330(0x2cf)](_0x5a4330(0x1f4),_0x1a0996)),this[_0x5a4330(0x2f9)]['mergeMenu'](_0x581bb8),this[_0x5a4330(0x2d5)](this[_0x5a4330(0x2e2)][_0x5a4330(0x2a6)](_0x5c2452=>{const _0x28824c=_0x5a4330;if(_0x5c2452['id']===_0x485045[_0x28824c(0x239)]['id']){this['_messageService'][_0x28824c(0x287)]({'content':this[_0x28824c(0x1ec)]['t']('editHistory.panel.reverting'),'type':_0x1f47b5[_0x28824c(0x282)]['Loading'],'duration':0x1388});const {unitId:_0x4de1cf}=_0x5c2452[_0x28824c(0x269)],_0x262b43=this['_collaborationController']['getCollabEntity'](_0x4de1cf),_0x2ae751=_0x54efc0[_0x28824c(0x1f2)]([_0x262b43[_0x28824c(0x224)]['event$'],_0x262b43[_0x28824c(0x2aa)]])[_0x28824c(0x243)](async([_0x3bd57e,_0x71fce3])=>{const _0x156e3e=_0x28824c;var _0x1374f8;_0x3bd57e[_0x156e3e(0x249)]===_0x485045[_0x156e3e(0x2e7)][_0x156e3e(0x202)]&&(_0x71fce3==null?void 0x0:_0x71fce3['status'])===_0x110e37[_0x156e3e(0x1ee)][_0x156e3e(0x29f)]&&_0x3bd57e['data'][_0x156e3e(0x256)][_0x156e3e(0x2d4)](_0x28e832=>_0x28e832['id']===_0x485045[_0x156e3e(0x239)]['id'])&&(this['_historyManagerService']['unMountHistoryContent'](),_0x2ae751[_0x156e3e(0x279)](),this[_0x156e3e(0x210)]&&clearTimeout(this[_0x156e3e(0x210)]),await((_0x1374f8=this['_localCacheService'])==null?void 0x0:_0x1374f8[_0x156e3e(0x217)]()),setTimeout(()=>window[_0x156e3e(0x241)][_0x156e3e(0x26b)]()));});this[_0x28824c(0x210)]=setTimeout(()=>{const _0x17ff64=_0x28824c;_0x2ae751['unsubscribe'](),this[_0x17ff64(0x2b5)][_0x17ff64(0x287)]({'content':this['_localeService']['t'](_0x17ff64(0x252)),'type':_0x1f47b5[_0x17ff64(0x282)][_0x17ff64(0x2bd)],'duration':0xbb8});},0x1388);}}));}};_0x4f4ec4=_0x3765ad([_0x384a78(0x0,_0x419a51[_0x25ed73(0x2f0)]),_0x384a78(0x1,_0x2b82df['IMenuManagerService']),_0x384a78(0x2,_0x419a51[_0x25ed73(0x1e6)](_0x2b82df['ComponentManager'])),_0x384a78(0x3,_0x419a51['Inject'](_0xb5c8dc['HistoryLoaderService'])),_0x384a78(0x4,_0x419a51['Inject'](_0x419a51['LocaleService'])),_0x384a78(0x5,_0x2b82df[_0x25ed73(0x291)]),_0x384a78(0x6,_0x419a51[_0x25ed73(0x1e6)](_0x110e37[_0x25ed73(0x204)])),_0x384a78(0x7,_0x110e37['ILocalCacheService'])],_0x4f4ec4);var _0x5b8b71=Object[_0x25ed73(0x28d)],_0xdebdd=(_0x36ec14,_0x408810,_0x1e916f,_0x38bbce)=>{const _0x1570c2=_0x25ed73;for(var _0x587513=_0x38bbce>0x1?void 0x0:_0x38bbce?_0x5b8b71(_0x408810,_0x1e916f):_0x408810,_0x3ba557=_0x36ec14[_0x1570c2(0x2e3)]-0x1,_0x378c95;_0x3ba557>=0x0;_0x3ba557--)(_0x378c95=_0x36ec14[_0x3ba557])&&(_0x587513=_0x378c95(_0x587513)||_0x587513);return _0x587513;},_0x2d55ce=(_0x52111b,_0x161141)=>(_0x52a90a,_0x4cad5e)=>_0x161141(_0x52a90a,_0x4cad5e,_0x52111b);const _0x24c89e=_0x25ed73(0x1e0);_0xb5c8dc[_0x25ed73(0x276)]=(_0x2752e7=class extends _0x419a51[_0x25ed73(0x2ca)]{constructor(_0x24b678=_0x45b813,_0x41f27d,_0x4a1cc4){const _0x3753e8=_0x25ed73;super(),this[_0x3753e8(0x260)]=_0x24b678,this[_0x3753e8(0x1f3)]=_0x41f27d,this[_0x3753e8(0x2af)]=_0x4a1cc4;const {menu:_0x4968fb,..._0x219051}=_0x419a51[_0x3753e8(0x2c4)]({},_0x45b813,this['_config']);_0x4968fb&&this[_0x3753e8(0x2af)][_0x3753e8(0x248)]('menu',_0x4968fb,{'merge':!0x0}),this['_configService'][_0x3753e8(0x248)](_0x34c9d5,_0x219051),this[_0x3753e8(0x260)][_0x3753e8(0x1dc)]&&this[_0x3753e8(0x2af)][_0x3753e8(0x248)](_0x5442d7,this[_0x3753e8(0x260)][_0x3753e8(0x1dc)]);}[_0x25ed73(0x262)](){const _0x5c0fc3=_0x25ed73;[[_0xb5c8dc['HistoryLoaderService']],[_0x4f4ec4]][_0x5c0fc3(0x26a)](_0x482abb=>this[_0x5c0fc3(0x1f3)]['add'](_0x482abb));}[_0x25ed73(0x21a)](){const _0x424fe3=_0x25ed73;this[_0x424fe3(0x1f3)][_0x424fe3(0x2a4)](_0x4f4ec4);}},_0x395bb6(_0x2752e7,'type',_0x419a51[_0x25ed73(0x1d7)][_0x25ed73(0x240)]),_0x395bb6(_0x2752e7,'pluginName',_0x24c89e),_0x2752e7),_0xb5c8dc[_0x25ed73(0x276)]=_0xdebdd([_0x2d55ce(0x1,_0x419a51[_0x25ed73(0x1e6)](_0x419a51[_0x25ed73(0x29c)])),_0x2d55ce(0x2,_0x419a51[_0x25ed73(0x21c)])],_0xb5c8dc['UniverEditHistoryLoaderPlugin']),_0xb5c8dc[_0x25ed73(0x2ce)]=_0x5442d7,_0xb5c8dc[_0x25ed73(0x205)]=_0xca8b27,Object[_0x25ed73(0x2a2)](_0xb5c8dc,Symbol[_0x25ed73(0x236)],{'value':'Module'});}));function _0x53d2(_0x1f7516,_0x2c2848){_0x1f7516=_0x1f7516-0x1d1;const _0x3c31ec=_0x3c31();let _0x53d252=_0x3c31ec[_0x1f7516];return _0x53d252;}function _0x3c31(){const _0x26170f=['UniverSheetsDataValidation','UniverRpc','UniverSheetsNumfmtPlugin','UniverRPCMainThreadPlugin','left','forwardRef','@univerjs/sheets-hyper-link-ui','IImageIoService','history-icon','attrs','./worker.js','_commandService','length','DisposableCollection','500609QIsqVw','exports','CollaborationEvent','CommandType','UniverSheetsDataValidationPlugin','@univerjs/sheets-conditional-formatting-ui','_selectionProtectionRuleModel','@univerjs/sheets-data-validation-ui','history-icon_clip0_907_281','_init','_checkCanRevert','ICommandService','history-container','UniverDrawingUIPlugin','@univerjs/rpc','BUTTON','M0\x200H16V16H0z','UniverSheetsFormulaPlugin','includes','unMountHistoryContent','_menuManagerService','UniverProEditHistoryViewer','UniverCollaborationPlugin','colorChannel1','RxDisposable','value','IPermissionService','UniverCore','UniverInstanceType','_permissionService','\x20has\x20been\x20registered.','UNIVER_CONTAINER_ID','white','univerContainerId','width','ThemeService','WorkbookRecoverHistoryPermission','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','UniverFormulaEnginePlugin','UniverSheetsConditionalFormattingUIPlugin','UniverSheetsConditionalFormattingPlugin','WorkbookViewHistoryPermission','@univerjs-pro/collaboration-client','Inject','UniverProEditHistoryLoader','currentTheme$','Disposable','_initListener','WorkbookEditablePermission','_localeService','style','CollaborationStatus','getLocales','path','univerjs-icon\x20univerjs-icon-','combineLatest','_injector','HistoryIcon','7758075xRfCWP','@univerjs/sheets-numfmt','absolute','21WteREq','_componentManager','displayName','0\x200\x2016\x2016','@univerjs-pro/edit-history-viewer','getConfig','@univerjs-pro/sheets-chart-ui','position','UniverDrawingUi','http://www.w3.org/2000/svg','CHANGESET_ACK','UniverProSheetsChartUi','CollaborationController','UNIVER_HISTORY_CONTAINER_ID','editHistory.panel.listFetchError','1em','uComp','revertRevision$','setLocale','values','UniverEditHistoryViewerPlugin','set','M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z','UniverEngineFormula','_revertErrorTimer','UniverProSheetsSparkline','url(#$1','UniverSheetsUi','_univerInstanceService','836213IWtStH','@univerjs/sheets-filter-ui','exhaustSavingTask','replace','@univerjs/sheets-drawing-ui','onSteady','UniverSheetsHyperLinkUIPlugin','IConfigService','UniverSheetsFilterPlugin','@univerjs/network','UniverDrawingPlugin','children','@univerjs/engine-render','UniverSheetsDataValidationUIPlugin','getSheetId','session','100%','M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_dialogService','RibbonStartGroup','UniverNetworkPlugin','_historyManagerService','UniverProLicense','executeCommand','fill','OPERATION','UniverDocsUi','UniverSheetsFilter','AuthzIoHttpService','80isITer','HistoryModeStatus','UniverSheetsHyperLinkPlugin','toStringTag','UniverSheetsFilterUi','@univerjs/sheets-hyper-link','RevertRevisionMutation','univer-container','height','univer.operation.toggle-edit-history','pluginName','clipPath','667616vSCeJE','UNIVER_UNKNOWN','location','registerPlugin','subscribe','symbol','RangeProtectionPermissionEditPoint','next','historyUniver','setConfig','eventID','string','RangeProtectionRuleModel','HistoryManagerService','amd','_initContainer','_themeService','UniverSheetsDataValidationUi','setDarkMode','editHistory.panel.revertFailed','UniverUi','invoke','registerCommand','mutations','UniverSheetsConditionalFormatting','defs','UniverDataValidationPlugin','setTheme','_localCacheService','function','@univerjs/sheets-drawing','BehaviorSubject','useRef','_config','HistoryLoaderService','onStarting','@univerjs/drawing-ui','_pluginMap','UniverSheetsFormulaUIPlugin','_initPlugins','PLUGIN_CONFIG_KEY_MAIN_THREAD','@univerjs-pro/license','params','forEach','reload','React','display','assign','random','createElement','mountHistoryContent','dataset','@univerjs/sheets-formula','object','appendChild','UniverEditHistoryLoaderPlugin','@univerjs/core','closeAll','unsubscribe','tag','UniverSheetsDrawingPlugin','svg','triggerLoadVersions','entries','17291592RatSoX','UniverSheetsFormula','__getInjector','MessageType','IAuthzIoService','@univerjs/sheets-data-validation','clear','UniverProCollaborationClient','show','UniverProSheetsPivot','@univerjs/engine-formula','_disposableCollection','UniverSheetsFilterUIPlugin','@univerjs/sheets-ui','getOwnPropertyDescriptor','getCurrentRangeDisable$','top','xlink:href','IMessageService','@univerjs/sheets-filter','defIds','workerURL','LocaleService','@univerjs/sheets','url(#history-icon_clip0_907_281)','@univerjs/docs-ui','@univerjs-pro/sheets-pivot','_sidebarService','from','Injector','getMenuHiddenObservable','UniverSheetsDrawingUIPlugin','SYNCED','currentColor','use','defineProperty','UniverLicensePlugin','get','add','onCommandExecuted','div','composePermission','idSuffix','state$','794520RxFBKZ','mask','historyListServerUrl','getSheetCommandTarget','_configService','getCurrentLocale','UniverSheetSparklinePlugin','UniverUIPlugin','UniverSheetsChartUIPlugin','UniverEngineRender','_messageService','UniverDocsPlugin','Univer','UniverSheets','[HistoryLoaderService]:\x20Plugin\x20','@univerjs/sheets-conditional-formatting','@univerjs/design','UniverRenderEnginePlugin','Error','react','Exited','UniverSheetsDrawing','rxjs','UniverSheetsDrawingUi','map','merge','714816bFJHOI','@univerjs-pro/sheets-sparkline','dispose','none','@univerjs/docs','Plugin','UniverSheetsHyperLinkUi','UniverDataValidation','getAllPlugins','UNIVER_CONTAINER_ID_KEY','register','IUniverInstanceService','_historyUniver$','UniverSheetsFormulaUi','UniverNetwork','some','disposeWithMe','UniverProCollaboration'];_0x3c31=function(){return _0x26170f;};return _0x3c31();}
1
+ function _0x2961(_0x1a615b,_0x2854ad){_0x1a615b=_0x1a615b-0xa9;const _0x1a2c7e=_0x1a2c();let _0x296159=_0x1a2c7e[_0x1a615b];return _0x296159;}(function(_0x340050,_0x113925){const _0x1503e1=_0x2961,_0x11a0b4=_0x340050();while(!![]){try{const _0xfb67e6=-parseInt(_0x1503e1(0x1b0))/0x1*(parseInt(_0x1503e1(0x170))/0x2)+parseInt(_0x1503e1(0xf2))/0x3*(parseInt(_0x1503e1(0x1a3))/0x4)+parseInt(_0x1503e1(0x183))/0x5*(-parseInt(_0x1503e1(0x1ce))/0x6)+parseInt(_0x1503e1(0x1ad))/0x7*(-parseInt(_0x1503e1(0x18e))/0x8)+parseInt(_0x1503e1(0xd2))/0x9*(parseInt(_0x1503e1(0x1d9))/0xa)+parseInt(_0x1503e1(0x142))/0xb+-parseInt(_0x1503e1(0x1b8))/0xc;if(_0xfb67e6===_0x113925)break;else _0x11a0b4['push'](_0x11a0b4['shift']());}catch(_0x4acf20){_0x11a0b4['push'](_0x11a0b4['shift']());}}}(_0x1a2c,0x90367),function(_0x4550fa,_0x46be4c){const _0x4a99ed=_0x2961;typeof exports=='object'&&typeof module<'u'?_0x46be4c(exports,require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs/design'),require('react'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/sheets'),require('@univerjs-pro/edit-history-viewer'),require('@univerjs-pro/license'),require('@univerjs-pro/sheets-chart'),require('@univerjs-pro/sheets-chart-ui'),require('@univerjs-pro/sheets-pivot'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs-pro/sheets-sparkline-ui'),require('@univerjs/data-validation'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs/drawing-ui'),require('@univerjs/engine-formula'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/rpc'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-conditional-formatting-ui'),require('@univerjs/sheets-data-validation'),require('@univerjs/sheets-data-validation-ui'),require('@univerjs/sheets-drawing'),require('@univerjs/sheets-drawing-ui'),require('@univerjs/sheets-filter'),require('@univerjs/sheets-filter-ui'),require('@univerjs/sheets-formula'),require('@univerjs/sheets-formula-ui'),require('@univerjs/sheets-hyper-link'),require('@univerjs/sheets-hyper-link-ui'),require('@univerjs/sheets-numfmt'),require('@univerjs/sheets-ui')):typeof define=='function'&&define[_0x4a99ed(0x1bb)]?define([_0x4a99ed(0x179),'@univerjs/core',_0x4a99ed(0x1d5),'@univerjs-pro/collaboration-client',_0x4a99ed(0x182),_0x4a99ed(0xb5),_0x4a99ed(0x103),_0x4a99ed(0xab),_0x4a99ed(0x196),_0x4a99ed(0xdd),_0x4a99ed(0x1a9),_0x4a99ed(0x18c),_0x4a99ed(0x10f),'@univerjs-pro/sheets-pivot',_0x4a99ed(0x173),_0x4a99ed(0x100),_0x4a99ed(0x1dd),_0x4a99ed(0x171),'@univerjs/docs-ui',_0x4a99ed(0x1cf),_0x4a99ed(0xf8),_0x4a99ed(0x1b9),'@univerjs/engine-render',_0x4a99ed(0x14c),_0x4a99ed(0x17b),_0x4a99ed(0x193),_0x4a99ed(0x172),_0x4a99ed(0xe9),_0x4a99ed(0x149),_0x4a99ed(0x1b7),_0x4a99ed(0x18f),_0x4a99ed(0xb2),_0x4a99ed(0x128),_0x4a99ed(0x19e),_0x4a99ed(0xd8),_0x4a99ed(0x124),_0x4a99ed(0x1ca),_0x4a99ed(0x12c),_0x4a99ed(0x156)],_0x46be4c):(_0x4550fa=typeof globalThis<'u'?globalThis:_0x4550fa||self,_0x46be4c(_0x4550fa[_0x4a99ed(0xe7)]={},_0x4550fa['UniverCore'],_0x4550fa[_0x4a99ed(0x163)],_0x4550fa[_0x4a99ed(0x11d)],_0x4550fa['UniverDesign'],_0x4550fa[_0x4a99ed(0x15c)],_0x4550fa['UniverUi'],_0x4550fa[_0x4a99ed(0xab)],_0x4550fa[_0x4a99ed(0x114)],_0x4550fa[_0x4a99ed(0x1d2)],_0x4550fa[_0x4a99ed(0xfb)],_0x4550fa['UniverProSheetsChart'],_0x4550fa['UniverProSheetsChartUi'],_0x4550fa[_0x4a99ed(0x199)],_0x4550fa[_0x4a99ed(0x1af)],_0x4550fa[_0x4a99ed(0x157)],_0x4550fa[_0x4a99ed(0xda)],_0x4550fa[_0x4a99ed(0x154)],_0x4550fa[_0x4a99ed(0x10b)],_0x4550fa[_0x4a99ed(0x1c0)],_0x4550fa['UniverDrawingUi'],_0x4550fa['UniverEngineFormula'],_0x4550fa['UniverEngineRender'],_0x4550fa['UniverNetwork'],_0x4550fa[_0x4a99ed(0x1d6)],_0x4550fa[_0x4a99ed(0xfe)],_0x4550fa[_0x4a99ed(0x126)],_0x4550fa[_0x4a99ed(0xfd)],_0x4550fa[_0x4a99ed(0x13f)],_0x4550fa['UniverSheetsDrawing'],_0x4550fa[_0x4a99ed(0xf5)],_0x4550fa['UniverSheetsFilter'],_0x4550fa[_0x4a99ed(0x1de)],_0x4550fa[_0x4a99ed(0xdc)],_0x4550fa[_0x4a99ed(0x123)],_0x4550fa[_0x4a99ed(0x1a1)],_0x4550fa[_0x4a99ed(0xaf)],_0x4550fa[_0x4a99ed(0xe3)],_0x4550fa[_0x4a99ed(0x1db)]));}(this,function(_0x1711ee,_0x1cfe02,_0x367ffc,_0x5cc095,_0x264fea,_0x1f6bfd,_0x3324b0,_0x3459ba,_0x5b1296,_0x18c27d,_0x3c2c18,_0x3e320a,_0x1e041c,_0x31d806,_0x1687c8,_0x141624,_0xb71a72,_0x580906,_0x9a46e5,_0x149a7c,_0x4e03fe,_0x1788c0,_0x6717ac,_0x2ca484,_0x28c8b0,_0x476700,_0xa791bd,_0x3c2f7e,_0x3ef74e,_0x3c59c4,_0xfed96f,_0x42d3e4,_0x48b56f,_0x4dc597,_0xc2436a,_0x5237bb,_0x38a429,_0x54ce70,_0x116362){'use strict';const _0x26fe44=_0x2961;var _0x412c39=Object['defineProperty'],_0x1b8e60=(_0x3cdead,_0xd43402,_0x56ef2f)=>_0xd43402 in _0x3cdead?_0x412c39(_0x3cdead,_0xd43402,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x56ef2f}):_0x3cdead[_0xd43402]=_0x56ef2f,_0xaf2ac1=(_0x1f5502,_0x10e6c1,_0x42e3ce)=>_0x1b8e60(_0x1f5502,typeof _0x10e6c1!=_0x26fe44(0x110)?_0x10e6c1+'':_0x10e6c1,_0x42e3ce),_0x530d4a;const _0x4da2eb=_0x26fe44(0x184),_0x2dae5a={};function _0x87628({ref:_0x59f425,..._0x1f05fc}){const _0x2d6171=_0x26fe44,{icon:_0x38aefb,id:_0x448074,className:_0x4d55c8,extend:_0x3a6cdc,..._0x19af4d}=_0x1f05fc,_0x477c7c=(_0x2d6171(0x11b)+_0x448074+'\x20'+(_0x4d55c8||''))[_0x2d6171(0xad)](),_0x1d92ae=_0x1f6bfd[_0x2d6171(0x14b)]('_'+_0x597fb0());return _0x1c6daa(_0x38aefb,''+_0x448074,{'defIds':_0x38aefb[_0x2d6171(0x168)],'idSuffix':_0x1d92ae['current']},{'ref':_0x59f425,'className':_0x477c7c,..._0x19af4d},_0x3a6cdc);}function _0x1c6daa(_0x371a7f,_0x35da6f,_0x5dc9e8,_0xdb98b5,_0x387672){const _0x5bdee6=_0x26fe44;return _0x1f6bfd[_0x5bdee6(0xa9)](_0x371a7f['tag'],{'key':_0x35da6f,..._0x5adf9d(_0x371a7f,_0x5dc9e8,_0x387672),..._0xdb98b5},(_0x52c7cf(_0x371a7f,_0x5dc9e8)['children']||[])[_0x5bdee6(0x194)]((_0x393fb7,_0x1e708c)=>_0x1c6daa(_0x393fb7,_0x35da6f+'-'+_0x371a7f[_0x5bdee6(0xbe)]+'-'+_0x1e708c,_0x5dc9e8,void 0x0,_0x387672)));}function _0x5adf9d(_0x352c61,_0x526aaa,_0x4f1576){const _0x403318=_0x26fe44,_0x56384b={..._0x352c61[_0x403318(0x1a2)]};_0x4f1576!=null&&_0x4f1576['colorChannel1']&&_0x56384b['fill']==='colorChannel1'&&(_0x56384b[_0x403318(0x111)]=_0x4f1576[_0x403318(0xb3)]),_0x352c61[_0x403318(0xbe)]===_0x403318(0xd4)&&_0x56384b['id']&&(_0x56384b['id']=_0x56384b['id']+_0x526aaa[_0x403318(0x1b3)]),Object['entries'](_0x56384b)[_0x403318(0x1d3)](([_0x27ca63,_0x3e0d86])=>{const _0x32d73f=_0x403318;_0x27ca63==='mask'&&typeof _0x3e0d86==_0x32d73f(0xb4)&&(_0x56384b[_0x27ca63]=_0x3e0d86[_0x32d73f(0x187)](/url\(#(.*)\)/,_0x32d73f(0xcd)+_0x526aaa[_0x32d73f(0x1b3)]+')'));});const {defIds:_0x432617}=_0x526aaa;return!_0x432617||_0x432617[_0x403318(0xc2)]===0x0||(_0x352c61['tag']===_0x403318(0x1ba)&&_0x56384b['xlink:href']&&(_0x56384b['xlink:href']=_0x56384b['xlink:href']+_0x526aaa[_0x403318(0x1b3)]),Object[_0x403318(0xbf)](_0x56384b)[_0x403318(0x1d3)](([_0x40bd48,_0x30702a])=>{const _0x32698c=_0x403318;typeof _0x30702a=='string'&&(_0x56384b[_0x40bd48]=_0x30702a[_0x32698c(0x187)](/url\(#(.*)\)/,_0x32698c(0xcd)+_0x526aaa[_0x32698c(0x1b3)]+')'));})),_0x56384b;}function _0x52c7cf(_0x13c365,_0x108441){const _0x69e8ea=_0x26fe44;var _0x598328;const {defIds:_0x1437a5}=_0x108441;return!_0x1437a5||_0x1437a5[_0x69e8ea(0xc2)]===0x0?_0x13c365:_0x13c365[_0x69e8ea(0xbe)]===_0x69e8ea(0x13a)&&((_0x598328=_0x13c365[_0x69e8ea(0x162)])!=null&&_0x598328[_0x69e8ea(0xc2)])?{..._0x13c365,'children':_0x13c365[_0x69e8ea(0x162)][_0x69e8ea(0x194)](_0x3ac305=>typeof _0x3ac305['attrs']['id']==_0x69e8ea(0xb4)&&_0x1437a5&&_0x1437a5[_0x69e8ea(0x1bf)](_0x3ac305[_0x69e8ea(0x1a2)]['id'])?{..._0x3ac305,'attrs':{..._0x3ac305['attrs'],'id':_0x3ac305[_0x69e8ea(0x1a2)]['id']+_0x108441[_0x69e8ea(0x1b3)]}}:_0x3ac305)}:_0x13c365;}function _0x597fb0(){return Math['random']()['toString'](0x24)['substring'](0x2,0x8);}_0x87628[_0x26fe44(0x12a)]=_0x26fe44(0xe0);const _0x4e81dc={'tag':_0x26fe44(0x191),'attrs':{'xmlns':_0x26fe44(0x1dc),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x26fe44(0x105),'height':_0x26fe44(0x105)},'children':[{'tag':'g','attrs':{'fill':_0x26fe44(0xb9),'clipPath':_0x26fe44(0x102)},'children':[{'tag':_0x26fe44(0x146),'attrs':{'d':_0x26fe44(0x152)}},{'tag':_0x26fe44(0x146),'attrs':{'d':_0x26fe44(0x118)}}]},{'tag':_0x26fe44(0x13a),'attrs':{},'children':[{'tag':_0x26fe44(0x151),'attrs':{'id':_0x26fe44(0x121)},'children':[{'tag':_0x26fe44(0x146),'attrs':{'fill':_0x26fe44(0x147),'d':_0x26fe44(0xf7)}}]}]}],'defIds':['history-icon_clip0_907_281']},_0x87acaa=_0x1f6bfd[_0x26fe44(0xe1)](function(_0x803d38,_0x20b350){const _0xa7017f=_0x26fe44;return _0x1f6bfd[_0xa7017f(0xa9)](_0x87628,Object[_0xa7017f(0x195)]({},_0x803d38,{'id':_0xa7017f(0x1b5),'ref':_0x20b350,'icon':_0x4e81dc}));});_0x87acaa[_0x26fe44(0x12a)]='HistoryIcon';var _0x4ca8a9=Object[_0x26fe44(0xc4)],_0xcf832c=(_0x282c79,_0x466781,_0x3c2a06,_0x5226e8)=>{const _0x523ccf=_0x26fe44;for(var _0x50e6ea=_0x5226e8>0x1?void 0x0:_0x5226e8?_0x4ca8a9(_0x466781,_0x3c2a06):_0x466781,_0x1a16c4=_0x282c79[_0x523ccf(0xc2)]-0x1,_0x1ead47;_0x1a16c4>=0x0;_0x1a16c4--)(_0x1ead47=_0x282c79[_0x1a16c4])&&(_0x50e6ea=_0x1ead47(_0x50e6ea)||_0x50e6ea);return _0x50e6ea;},_0x4ab342=(_0x2eeaa2,_0x521a64)=>(_0x2ae580,_0x5a46c7)=>_0x521a64(_0x2ae580,_0x5a46c7,_0x2eeaa2);const _0x2dc009=_0x26fe44(0x174),_0x4a4590=_0x26fe44(0x15d),_0x15a2f3='univer-history-container';_0x1711ee[_0x26fe44(0x1a0)]=class extends _0x1cfe02['Disposable']{constructor(_0x4099eb,_0x3405b0,_0x210031,_0x5bd84b,_0x26709c,_0x42cad9,_0x56381a,_0x1f0c99,_0x4e984b,_0x41ab70){const _0x2562d5=_0x26fe44;super(),_0xaf2ac1(this,'_historyUniver$',new _0x3459ba['BehaviorSubject'](null)),_0xaf2ac1(this,_0x2562d5(0x1b2),this[_0x2562d5(0x12e)][_0x2562d5(0x11c)]()),_0xaf2ac1(this,_0x2562d5(0x16a),new _0x1cfe02['DisposableCollection']()),_0xaf2ac1(this,_0x2562d5(0x140),new Map()),(this['_localeService']=_0x4099eb,this['_univerInstanceService']=_0x3405b0,this[_0x2562d5(0x1cb)]=_0x210031,this[_0x2562d5(0x10a)]=_0x5bd84b,this[_0x2562d5(0xb8)]=_0x26709c,this[_0x2562d5(0x1c7)]=_0x42cad9,this['_selectionProtectionRuleModel']=_0x56381a,this[_0x2562d5(0x134)]=_0x1f0c99,this[_0x2562d5(0xd1)]=_0x4e984b,this[_0x2562d5(0x1c8)]=_0x41ab70,this[_0x2562d5(0x186)]());}get[_0x26fe44(0x1c2)](){const _0x219358=_0x26fe44;return this[_0x219358(0x12e)]['value'];}[_0x26fe44(0x186)](){const _0x128e53=_0x26fe44;this['_initContainer'](),this[_0x128e53(0xb6)]();}[_0x26fe44(0x10e)](){const _0x340349=_0x26fe44;var _0xa86ec1;const _0x578425=(_0xa86ec1=this[_0x340349(0x1cb)][_0x340349(0x1ae)](_0x4a4590))!=null?_0xa86ec1:_0x2dc009,_0x568523=document[_0x340349(0x1c5)](_0x578425);if(!_0x568523)return;const _0xbd6bcc=document[_0x340349(0xa9)](_0x340349(0xfa));_0xbd6bcc['id']=_0x15a2f3,_0xbd6bcc[_0x340349(0xf1)][_0x340349(0x11a)]=_0x340349(0x125),_0xbd6bcc['style']['position']=_0x340349(0xd9),_0xbd6bcc[_0x340349(0x106)]['top']='0',_0xbd6bcc[_0x340349(0x106)][_0x340349(0x14f)]='0',_0xbd6bcc['style'][_0x340349(0x15f)]=_0x340349(0xef),_0xbd6bcc[_0x340349(0x106)][_0x340349(0x1ab)]=_0x340349(0xef),_0xbd6bcc[_0x340349(0x106)]['zIndex']=_0x340349(0x12d),_0xbd6bcc[_0x340349(0x106)][_0x340349(0x16c)]=_0x340349(0xbc),_0x568523[_0x340349(0x169)](_0xbd6bcc);}[_0x26fe44(0xb6)](){const _0xc7763d=_0x26fe44;var _0x444a0f,_0x311f98,_0x485f5c,_0x10bff4;[[_0x6717ac[_0xc7763d(0x113)]],[_0x3324b0[_0xc7763d(0x1b4)],{'container':_0x15a2f3,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x3324b0[_0xc7763d(0xca)],null]]}],[_0x2ca484[_0xc7763d(0xed)]],[_0x149a7c['UniverDrawingPlugin'],{'override':[[_0x149a7c['IImageIoService'],null]]}],[_0x580906[_0xc7763d(0xde)],{'hasScroll':!0x1}],[_0x9a46e5[_0xc7763d(0x16e)]],[_0x54ce70[_0xc7763d(0x1c4)]],[_0x5b1296[_0xc7763d(0x165)],{'notExecuteFormula':!0x0}],[_0x116362[_0xc7763d(0x11f)]],[_0x4dc597[_0xc7763d(0x130)]],[_0xc2436a[_0xc7763d(0x17c)]],[_0x367ffc[_0xc7763d(0x132)]],[_0x42d3e4[_0xc7763d(0x10d)]],[_0x48b56f[_0xc7763d(0x185)]],[_0x476700[_0xc7763d(0x18a)]],[_0xa791bd['UniverSheetsConditionalFormattingUIPlugin']],[_0x5237bb['UniverSheetsHyperLinkPlugin']],[_0x38a429[_0xc7763d(0x13d)]],[_0xb71a72[_0xc7763d(0x192)]],[_0x3c2f7e[_0xc7763d(0xf0)]],[_0x3ef74e[_0xc7763d(0xc0)]],[_0x1788c0['UniverFormulaEnginePlugin'],{'notExecuteFormula':!0x0}],[_0x28c8b0[_0xc7763d(0xb1)],{'workerURL':(_0x311f98=(_0x444a0f=this[_0xc7763d(0x1cb)][_0xc7763d(0x1ae)](_0x28c8b0[_0xc7763d(0x14d)]))==null?void 0x0:_0x444a0f[_0xc7763d(0x12f)])!=null?_0x311f98:_0xc7763d(0x17d)}],[_0x4e03fe[_0xc7763d(0x137)]],[_0x3c59c4[_0xc7763d(0xb0)]],[_0xfed96f[_0xc7763d(0x1c9)]],[_0x1687c8['UniverSheetSparklinePlugin']],[_0x141624['UniverSheetSparklineUIPlugin']],[_0x3e320a['UniverSheetsChartPlugin']],[_0x1e041c[_0xc7763d(0x166)]],[_0x31d806[_0xc7763d(0x1c6)],{'notExecuteFormula':!0x0}],[_0x18c27d[_0xc7763d(0x17e)],{'historyListServerUrl':(_0x485f5c=this[_0xc7763d(0x1cb)]['getConfig'](_0x4da2eb))==null?void 0x0:_0x485f5c[_0xc7763d(0x19c)],'historyPanelComponentKey':(_0x10bff4=this['_configService']['getConfig'](_0x4da2eb))==null?void 0x0:_0x10bff4[_0xc7763d(0xba)]}]][_0xc7763d(0x1d3)](([_0x27bdd0,_0x384f16])=>this['registerPlugin'](_0x27bdd0,_0x384f16));}[_0x26fe44(0x1c3)](){const _0x35a0d1=_0x26fe44;super[_0x35a0d1(0x1c3)](),this[_0x35a0d1(0x101)](),this['_pluginMap'][_0x35a0d1(0xcb)]();}[_0x26fe44(0x1be)](_0x48570f,_0x12fee2,_0x4812e7){const _0x39cad0=_0x26fe44;if(this[_0x39cad0(0x140)]['has'](_0x48570f['pluginName'])&&!_0x4812e7)throw new Error(_0x39cad0(0x148)+_0x48570f['pluginName']+_0x39cad0(0x136));this[_0x39cad0(0x140)]['set'](_0x48570f['pluginName'],[_0x48570f,_0x12fee2]);}[_0x26fe44(0x15e)](){const _0x51e35e=_0x26fe44;return Array[_0x51e35e(0xac)](this['_pluginMap'][_0x51e35e(0x1ac)]());}['mountHistoryContent'](_0x1aa259){const _0x3558a9=_0x26fe44,_0x2aeed5=document[_0x3558a9(0x1c5)](_0x15a2f3);_0x2aeed5&&(_0x2aeed5[_0x3558a9(0x106)]['display']=_0x3558a9(0x1b1),this[_0x3558a9(0x115)](_0x1aa259,_0x15a2f3));}[_0x26fe44(0x101)](){const _0x1a9da0=_0x26fe44;var _0x2987de;this[_0x1a9da0(0x16a)][_0x1a9da0(0x1c3)](),(_0x2987de=this[_0x1a9da0(0x1c2)])==null||_0x2987de['dispose'](),this[_0x1a9da0(0x12e)][_0x1a9da0(0xe6)](null);const _0x25b34e=document[_0x1a9da0(0x1c5)](_0x15a2f3);_0x25b34e&&(_0x25b34e[_0x1a9da0(0x106)]['display']=_0x1a9da0(0xbc));}[_0x26fe44(0x115)](_0x3c4461,_0x40edd7){const _0x531e70=_0x26fe44;if(this[_0x531e70(0x1c2)])return;const _0x539e6d=new _0x1cfe02[(_0x531e70(0x17f))]({'locales':{[this[_0x531e70(0x15a)]['getCurrentLocale']()]:this[_0x531e70(0x15a)]['getLocales']()},'override':[[_0x1cfe02[_0x531e70(0x108)],{'useClass':_0x5cc095[_0x531e70(0xc8)]}]]}),_0xe1b63e=_0x539e6d[_0x531e70(0x135)]();this['disposeWithMe'](this[_0x531e70(0x1c8)][_0x531e70(0xc1)]['subscribe'](_0x26231e=>{const _0x5244db=_0x531e70;_0xe1b63e[_0x5244db(0x14e)](_0x1cfe02[_0x5244db(0x19d)])[_0x5244db(0x1d0)](_0x26231e);})),this[_0x531e70(0x145)](this['_themeService'][_0x531e70(0xcc)][_0x531e70(0x119)](_0x1b495e=>{const _0x5d8b2a=_0x531e70;_0xe1b63e['get'](_0x1cfe02[_0x5d8b2a(0x19d)])[_0x5d8b2a(0xd0)](_0x1b495e);})),_0xe1b63e[_0x531e70(0x14e)](_0x1cfe02['LocaleService'])[_0x531e70(0x190)](this[_0x531e70(0x15a)][_0x531e70(0x1a4)]()),_0xe1b63e['get'](_0x1cfe02[_0x531e70(0xcf)])[_0x531e70(0x120)](_0x5cc095[_0x531e70(0x1a7)],this[_0x531e70(0x1cb)]['getConfig'](_0x5cc095['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']));const _0x50bf8f=this['_configService'][_0x531e70(0x1ae)](_0x3c2c18[_0x531e70(0xf9)]);_0x50bf8f&&_0x539e6d[_0x531e70(0x1be)](_0x3c2c18[_0x531e70(0xd6)],{'license':_0x50bf8f['ls']}),this['_pluginMap']['forEach'](([_0x5156a1,_0x37342a])=>{_0x539e6d['registerPlugin'](_0x5156a1,_0x37342a);}),_0xe1b63e[_0x531e70(0x17a)](_0x4e1eea=>{this['_initListener'](_0x4e1eea,_0x3c4461);}),this[_0x531e70(0x12e)]['next'](_0x539e6d);const _0x4786b4=_0xe1b63e[_0x531e70(0x14e)](_0x18c27d[_0x531e70(0xc6)]),_0x1313e1=this[_0x531e70(0x18d)](_0x3c4461);_0x4786b4[_0x531e70(0x155)](_0x3c4461,_0x40edd7,_0x1313e1);}[_0x26fe44(0x117)](_0x4795c3,_0xba8f7f){const _0x3e2751=_0x26fe44,_0x38412b=_0x4795c3[_0x3e2751(0x14e)](_0x18c27d[_0x3e2751(0xc6)]);this[_0x3e2751(0x16a)][_0x3e2751(0xd7)](_0x38412b[_0x3e2751(0xdb)][_0x3e2751(0x119)](_0xaf5227=>{const _0x3b48d1=_0x3e2751;switch(_0xaf5227){case _0x18c27d['HistoryModeStatus'][_0x3b48d1(0xf3)]:this[_0x3b48d1(0x134)]['closeAll'](),this['_sidebarService'][_0x3b48d1(0x139)]();break;case _0x18c27d[_0x3b48d1(0x109)][_0x3b48d1(0x19b)]:this['_commandService'][_0x3b48d1(0x153)](_0x498bdb['id']),this[_0x3b48d1(0x101)]();break;case _0x18c27d[_0x3b48d1(0x109)]['Error']:this[_0x3b48d1(0x101)](),this['_messageService'][_0x3b48d1(0x176)]({'content':this['_localeService']['t'](_0x3b48d1(0xf4)),'type':_0x264fea['MessageType'][_0x3b48d1(0x107)],'duration':0xbb8});break;}})),this[_0x3e2751(0x16a)][_0x3e2751(0xd7)](_0x38412b[_0x3e2751(0x129)][_0x3e2751(0x119)](async _0x2e2b0b=>{const _0x25f691=_0x3e2751;_0x2e2b0b&&this[_0x25f691(0x10a)][_0x25f691(0x153)](_0x367ffc['RevertRevisionMutation']['id'],{'unitId':_0xba8f7f,'revision':_0x2e2b0b});}));}['_checkCanRevert'](_0x34c7b5){const _0x499b2c=_0x26fe44,_0x2428dc=this[_0x499b2c(0xd3)][_0x499b2c(0x127)](_0x34c7b5)[_0x499b2c(0x19f)]()[_0x499b2c(0x194)](_0x1be098=>_0x1be098[_0x499b2c(0x1bc)]()),_0x4e0071=new _0x5b1296['WorkbookEditablePermission'](_0x34c7b5)['id'],_0x4dbf1a=_0x2428dc[_0x499b2c(0x194)](_0x1191b6=>new _0x5b1296[(_0x499b2c(0x189))](_0x34c7b5,_0x1191b6)['id']),_0x588f32=_0x2428dc[_0x499b2c(0x194)](_0x4811e5=>this[_0x499b2c(0x14a)][_0x499b2c(0x13e)](_0x34c7b5,_0x4811e5)['map'](_0x5ebad8=>new _0x5b1296[(_0x499b2c(0x112))](_0x34c7b5,_0x4811e5,_0x5ebad8[_0x499b2c(0x131)])['id']))[_0x499b2c(0x164)](),_0x5e7061=new _0x5b1296[(_0x499b2c(0x16f))](_0x34c7b5)['id'];return this[_0x499b2c(0x1c7)]['composePermission']([_0x4e0071,..._0x4dbf1a,..._0x588f32,_0x5e7061])[_0x499b2c(0xfc)](_0xe1a6d6=>!!_0xe1a6d6['value']);}},_0x1711ee['HistoryLoaderService']=_0xcf832c([_0x4ab342(0x0,_0x1cfe02[_0x26fe44(0x1d8)](_0x1cfe02['LocaleService'])),_0x4ab342(0x1,_0x1cfe02[_0x26fe44(0x141)]),_0x4ab342(0x2,_0x1cfe02[_0x26fe44(0xcf)]),_0x4ab342(0x3,_0x1cfe02[_0x26fe44(0x1b6)]),_0x4ab342(0x4,_0x3324b0['IMessageService']),_0x4ab342(0x5,_0x1cfe02[_0x26fe44(0xd5)]),_0x4ab342(0x6,_0x1cfe02[_0x26fe44(0x1d8)](_0x5b1296[_0x26fe44(0x1e0)])),_0x4ab342(0x7,_0x1cfe02[_0x26fe44(0x1d8)](_0x3324b0[_0x26fe44(0xca)])),_0x4ab342(0x8,_0x1cfe02[_0x26fe44(0x1d8)](_0x3324b0['ISidebarService'])),_0x4ab342(0x9,_0x1cfe02[_0x26fe44(0x1d8)](_0x1cfe02['ThemeService']))],_0x1711ee['HistoryLoaderService']);const _0xaedf1a={'id':_0x26fe44(0xe8),'type':_0x1cfe02['CommandType'][_0x26fe44(0x159)],'handler':_0x328d40=>{const _0x6c4d60=_0x26fe44,_0x2d8f62=_0x328d40[_0x6c4d60(0x14e)](_0x1711ee[_0x6c4d60(0x1a0)]),_0x3c9e1b=_0x328d40['get'](_0x1cfe02[_0x6c4d60(0x141)]),{unitId:_0x1fcda4}=_0x5b1296[_0x6c4d60(0x1a8)](_0x3c9e1b)||{};return _0x1fcda4?(_0x2d8f62[_0x6c4d60(0x1df)](_0x1fcda4),!0x0):!0x1;}},_0x498bdb={'id':'univer.operation.exit-edit-history','type':_0x1cfe02[_0x26fe44(0x197)][_0x26fe44(0x159)],'handler':()=>!0x0};function _0x162f25(_0x384bf8){const _0xf14f52=_0x26fe44;return{'id':_0xaedf1a['id'],'type':_0x3324b0['MenuItemType'][_0xf14f52(0xe5)],'icon':_0xf14f52(0x181),'tooltip':'editHistory.panel.title','hidden$':_0x3324b0[_0xf14f52(0x1e1)](_0x384bf8,_0x1cfe02[_0xf14f52(0xdf)]['UNIVER_SHEET']),'disabled$':_0x116362['getCurrentRangeDisable$'](_0x384bf8,{'workbookTypes':[_0x5b1296[_0xf14f52(0xee)],_0x5b1296[_0xf14f52(0xff)]],'worksheetTypes':[],'rangeTypes':[]})};}const _0x3c4b01={[_0x3324b0[_0x26fe44(0x16d)][_0x26fe44(0x16b)]]:{[_0xaedf1a['id']]:{'order':0.2,'menuItemFactory':_0x162f25}}};var _0x150520=Object['getOwnPropertyDescriptor'],_0x57c20c=(_0xcede1,_0x20192d,_0x2ffb40,_0x56a38c)=>{const _0x4f9a0c=_0x26fe44;for(var _0x19467b=_0x56a38c>0x1?void 0x0:_0x56a38c?_0x150520(_0x20192d,_0x2ffb40):_0x20192d,_0x258cf0=_0xcede1[_0x4f9a0c(0xc2)]-0x1,_0x48b18a;_0x258cf0>=0x0;_0x258cf0--)(_0x48b18a=_0xcede1[_0x258cf0])&&(_0x19467b=_0x48b18a(_0x19467b)||_0x19467b);return _0x19467b;},_0x24261e=(_0x361618,_0x1a0970)=>(_0x446d5,_0x5c494a)=>_0x1a0970(_0x446d5,_0x5c494a,_0x361618);let _0x59fd3e=class extends _0x1cfe02[_0x26fe44(0x160)]{constructor(_0x3a89d5,_0x2e4217,_0xaa550d,_0x1ce706,_0x210393,_0x2bbdaf,_0x5f3ed6,_0x46b691){const _0x5ea24e=_0x26fe44;super(),_0xaf2ac1(this,'_revertErrorTimer',null),(this['_commandService']=_0x3a89d5,this['_menuManagerService']=_0x2e4217,this[_0x5ea24e(0x1a5)]=_0xaa550d,this[_0x5ea24e(0xaa)]=_0x1ce706,this[_0x5ea24e(0x15a)]=_0x210393,this['_messageService']=_0x2bbdaf,this[_0x5ea24e(0x116)]=_0x5f3ed6,this[_0x5ea24e(0x138)]=_0x46b691,this[_0x5ea24e(0x186)]());}['_init'](){const _0x32cfd8=_0x26fe44;[_0xaedf1a,_0x498bdb][_0x32cfd8(0x1d3)](_0x3611da=>this['disposeWithMe'](_0x1cfe02[_0x32cfd8(0x158)](this[_0x32cfd8(0x10a)][_0x32cfd8(0x1d1)](_0x3611da)))),this[_0x32cfd8(0x145)](this[_0x32cfd8(0x1a5)][_0x32cfd8(0x144)]('HistoryIcon',_0x87acaa)),this[_0x32cfd8(0x12b)][_0x32cfd8(0x133)](_0x3c4b01),this[_0x32cfd8(0x145)](this[_0x32cfd8(0x10a)][_0x32cfd8(0x13c)](_0x57e13d=>{const _0x3ecd6c=_0x32cfd8;if(_0x57e13d['id']===_0x367ffc[_0x3ecd6c(0xbb)]['id']){this[_0x3ecd6c(0xb8)][_0x3ecd6c(0x176)]({'content':this[_0x3ecd6c(0x15a)]['t'](_0x3ecd6c(0x122)),'type':_0x264fea['MessageType']['Loading'],'duration':0x1388});const {unitId:_0xd31596}=_0x57e13d[_0x3ecd6c(0x1cd)],_0x271938=this[_0x3ecd6c(0x116)][_0x3ecd6c(0xce)](_0xd31596),_0x10cdff=_0x3459ba[_0x3ecd6c(0x150)]([_0x271938[_0x3ecd6c(0x161)][_0x3ecd6c(0xae)],_0x271938[_0x3ecd6c(0x11e)]])[_0x3ecd6c(0x119)](async([_0x1e3c54,_0x30ca97])=>{const _0x21ac96=_0x3ecd6c;var _0xf1ab47;_0x1e3c54['eventID']===_0x367ffc[_0x21ac96(0x1d4)]['CHANGESET_ACK']&&(_0x30ca97==null?void 0x0:_0x30ca97[_0x21ac96(0x15b)])===_0x5cc095[_0x21ac96(0x143)][_0x21ac96(0xbd)]&&_0x1e3c54[_0x21ac96(0x104)][_0x21ac96(0x177)][_0x21ac96(0x1d7)](_0x181269=>_0x181269['id']===_0x367ffc[_0x21ac96(0xbb)]['id'])&&(this['_historyManagerService']['unMountHistoryContent'](),_0x10cdff['unsubscribe'](),this[_0x21ac96(0x178)]&&clearTimeout(this[_0x21ac96(0x178)]),await((_0xf1ab47=this[_0x21ac96(0x138)])==null?void 0x0:_0xf1ab47[_0x21ac96(0x1c1)]()),setTimeout(()=>window[_0x21ac96(0x1bd)][_0x21ac96(0x1e2)]()));});this[_0x3ecd6c(0x178)]=setTimeout(()=>{const _0x512857=_0x3ecd6c;_0x10cdff[_0x512857(0xe4)](),this[_0x512857(0xb8)][_0x512857(0x176)]({'content':this[_0x512857(0x15a)]['t'](_0x512857(0xb7)),'type':_0x264fea[_0x512857(0x19a)][_0x512857(0x107)],'duration':0xbb8});},0x1388);}}));}};_0x59fd3e=_0x57c20c([_0x24261e(0x0,_0x1cfe02['ICommandService']),_0x24261e(0x1,_0x3324b0[_0x26fe44(0x10c)]),_0x24261e(0x2,_0x1cfe02[_0x26fe44(0x1d8)](_0x3324b0[_0x26fe44(0xc7)])),_0x24261e(0x3,_0x1cfe02[_0x26fe44(0x1d8)](_0x1711ee['HistoryLoaderService'])),_0x24261e(0x4,_0x1cfe02[_0x26fe44(0x1d8)](_0x1cfe02['LocaleService'])),_0x24261e(0x5,_0x3324b0[_0x26fe44(0xc5)]),_0x24261e(0x6,_0x1cfe02['Inject'](_0x5cc095['CollaborationController'])),_0x24261e(0x7,_0x5cc095[_0x26fe44(0xe2)])],_0x59fd3e);var _0x27dd55=Object[_0x26fe44(0xc4)],_0x1629c4=(_0x5e04aa,_0x3a5bda,_0x13113e,_0x231d28)=>{const _0x4e69a2=_0x26fe44;for(var _0x5ec964=_0x231d28>0x1?void 0x0:_0x231d28?_0x27dd55(_0x3a5bda,_0x13113e):_0x3a5bda,_0x242832=_0x5e04aa[_0x4e69a2(0xc2)]-0x1,_0x11efd6;_0x242832>=0x0;_0x242832--)(_0x11efd6=_0x5e04aa[_0x242832])&&(_0x5ec964=_0x11efd6(_0x5ec964)||_0x5ec964);return _0x5ec964;},_0x5dc9d1=(_0x5b5ba2,_0x274bcb)=>(_0x5b2f4f,_0xb378e4)=>_0x274bcb(_0x5b2f4f,_0xb378e4,_0x5b5ba2);const _0x425e2a=_0x26fe44(0x1a6);_0x1711ee[_0x26fe44(0xc9)]=(_0x530d4a=class extends _0x1cfe02['Plugin']{constructor(_0xaa5cef=_0x2dae5a,_0x35dfaf,_0xfc8b99){const _0x458490=_0x26fe44;super(),this['_config']=_0xaa5cef,this[_0x458490(0xc3)]=_0x35dfaf,this[_0x458490(0x1cb)]=_0xfc8b99;const {menu:_0x1e24f2,..._0x271066}=_0x1cfe02['merge']({},_0x2dae5a,this[_0x458490(0x175)]);_0x1e24f2&&this[_0x458490(0x1cb)][_0x458490(0x120)](_0x458490(0x1da),_0x1e24f2,{'merge':!0x0}),this[_0x458490(0x1cb)][_0x458490(0x120)](_0x4da2eb,_0x271066),this[_0x458490(0x175)]['univerContainerId']&&this[_0x458490(0x1cb)][_0x458490(0x120)](_0x4a4590,this[_0x458490(0x175)][_0x458490(0x13b)]);}[_0x26fe44(0x1aa)](){const _0x7fda11=_0x26fe44;[[_0x1711ee[_0x7fda11(0x1a0)]],[_0x59fd3e]][_0x7fda11(0x1d3)](_0x5c953f=>this[_0x7fda11(0xc3)][_0x7fda11(0xd7)](_0x5c953f));}[_0x26fe44(0xf6)](){const _0x3a8d7e=_0x26fe44;this[_0x3a8d7e(0xc3)][_0x3a8d7e(0x14e)](_0x59fd3e);}},_0xaf2ac1(_0x530d4a,_0x26fe44(0x188),_0x1cfe02['UniverInstanceType'][_0x26fe44(0xea)]),_0xaf2ac1(_0x530d4a,_0x26fe44(0x18b),_0x425e2a),_0x530d4a),_0x1711ee[_0x26fe44(0xc9)]=_0x1629c4([_0x5dc9d1(0x1,_0x1cfe02[_0x26fe44(0x1d8)](_0x1cfe02[_0x26fe44(0xec)])),_0x5dc9d1(0x2,_0x1cfe02[_0x26fe44(0xcf)])],_0x1711ee['UniverEditHistoryLoaderPlugin']),_0x1711ee[_0x26fe44(0x1cc)]=_0x4a4590,_0x1711ee[_0x26fe44(0x198)]=_0x15a2f3,Object[_0x26fe44(0xeb)](_0x1711ee,Symbol[_0x26fe44(0x167)],{'value':_0x26fe44(0x180)});}));function _0x1a2c(){const _0x1b5b2c=['AuthzIoHttpService','UniverEditHistoryLoaderPlugin','IDialogService','clear','currentTheme$','url(#$1','getCollabEntity','IConfigService','setTheme','_sidebarService','19143eDbzOC','_univerInstanceService','mask','IPermissionService','UniverLicensePlugin','add','@univerjs/sheets-formula-ui','absolute','UniverDataValidation','status$','UniverSheetsFormula','@univerjs-pro/edit-history-viewer','UniverDocsPlugin','UniverInstanceType','UniverIcon','forwardRef','ILocalCacheService','UniverSheetsNumfmt','unsubscribe','BUTTON','next','UniverProEditHistoryLoader','univer.operation.toggle-edit-history','@univerjs/sheets-data-validation','UNIVER_UNKNOWN','defineProperty','Injector','UniverNetworkPlugin','WorkbookEditablePermission','100%','UniverSheetsDataValidationPlugin','dataset','239220iMerRg','Entered','editHistory.panel.listFetchError','UniverSheetsDrawingUi','onSteady','M0\x200H16V16H0z','@univerjs/drawing-ui','LS_CONFIG_KEY','div','UniverProLicense','every','UniverSheetsDataValidation','UniverSheetsConditionalFormatting','WorkbookViewHistoryPermission','@univerjs-pro/sheets-sparkline-ui','unMountHistoryContent','url(#history-icon_clip0_907_281)','@univerjs/ui','data','1em','style','Error','IAuthzIoService','HistoryModeStatus','_commandService','UniverDocsUi','IMenuManagerService','UniverSheetsFilterPlugin','_initContainer','@univerjs-pro/sheets-chart-ui','symbol','fill','RangeProtectionPermissionEditPoint','UniverRenderEnginePlugin','UniverSheets','_initUniver','_collaborationController','_initListener','M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z','subscribe','uComp','univerjs-icon\x20univerjs-icon-','asObservable','UniverProCollaborationClient','state$','UniverSheetsUIPlugin','setConfig','history-icon_clip0_907_281','editHistory.panel.reverting','UniverSheetsFormulaUi','@univerjs/sheets-hyper-link','history-container','UniverSheetsConditionalFormattingUi','getUnit','@univerjs/sheets-filter-ui','revertRevision$','displayName','_menuManagerService','@univerjs/sheets-numfmt','1000','_historyUniver$','workerURL','UniverSheetsFormulaPlugin','permissionId','UniverCollaborationPlugin','mergeMenu','_dialogService','__getInjector','\x20has\x20been\x20registered.','UniverDrawingUIPlugin','_localCacheService','close','defs','univerContainerId','onCommandExecuted','UniverSheetsHyperLinkUIPlugin','getSubunitRuleList','UniverSheetsDataValidationUi','_pluginMap','IUniverInstanceService','9631523gNLNMS','CollaborationStatus','register','disposeWithMe','path','white','[HistoryLoaderService]:\x20Plugin\x20','@univerjs/sheets-data-validation-ui','_selectionProtectionRuleModel','useRef','@univerjs/network','PLUGIN_CONFIG_KEY_MAIN_THREAD','get','left','combineLatest','clipPath','M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z','executeCommand','UniverDocs','triggerLoadVersions','@univerjs/sheets-ui','UniverProSheetsSparklineUi','toDisposable','OPERATION','_localeService','status','React','UNIVER_CONTAINER_ID','getAllPlugins','width','RxDisposable','session','children','UniverProCollaboration','flat','UniverSheetsPlugin','UniverSheetsChartUIPlugin','toStringTag','defIds','appendChild','_disposableCollection','OTHERS','display','RibbonStartGroup','UniverDocsUIPlugin','WorkbookRecoverHistoryPermission','1185134cqmKjN','@univerjs/docs','@univerjs/sheets-conditional-formatting-ui','@univerjs-pro/sheets-sparkline','univer-container','_config','show','mutations','_revertErrorTimer','exports','invoke','@univerjs/rpc','UniverSheetsFormulaUIPlugin','./worker.js','UniverEditHistoryViewerPlugin','Univer','Module','HistoryIcon','@univerjs/design','144745Fdooaq','edit-history-loader.config','UniverSheetsFilterUIPlugin','_init','replace','type','WorksheetEditPermission','UniverSheetsConditionalFormattingPlugin','pluginName','@univerjs-pro/sheets-chart','_checkCanRevert','2440232nTDEQP','@univerjs/sheets-drawing-ui','setLocale','svg','UniverDataValidationPlugin','@univerjs/sheets-conditional-formatting','map','assign','@univerjs/sheets','CommandType','UNIVER_HISTORY_CONTAINER_ID','UniverProSheetsPivot','MessageType','Exited','historyListServerUrl','ThemeService','@univerjs/sheets-formula','getSheets','HistoryLoaderService','UniverSheetsHyperLink','attrs','40XvwjXy','getCurrentLocale','_componentManager','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','getSheetCommandTarget','@univerjs-pro/license','onStarting','height','values','7QsqHDa','getConfig','UniverProSheetsSparkline','1BPJgiI','block','historyUniver$','idSuffix','UniverUIPlugin','history-icon','ICommandService','@univerjs/sheets-drawing','12041856UXdrZP','@univerjs/engine-formula','use','amd','getSheetId','location','registerPlugin','includes','UniverDrawing','exhaustSavingTask','historyUniver','dispose','UniverSheetsNumfmtPlugin','getElementById','UniverSheetsPivotTablePlugin','_permissionService','_themeService','UniverSheetsDrawingUIPlugin','@univerjs/sheets-hyper-link-ui','_configService','UNIVER_CONTAINER_ID_KEY','params','30pvHrCl','@univerjs/drawing','setDarkMode','registerCommand','UniverProEditHistoryViewer','forEach','CollaborationEvent','@univerjs-pro/collaboration','UniverRpc','some','Inject','4530WpSQwf','menu','UniverSheetsUi','http://www.w3.org/2000/svg','@univerjs/data-validation','UniverSheetsFilterUi','mountHistoryContent','RangeProtectionRuleModel','getMenuHiddenObservable','reload','createElement','_historyManagerService','rxjs','from','trim','event$','UniverSheetsHyperLinkUi','UniverSheetsDrawingPlugin','UniverRPCMainThreadPlugin','@univerjs/sheets-filter','colorChannel1','string','react','_initPlugins','editHistory.panel.revertFailed','_messageService','currentColor','historyPanelComponentKey','RevertRevisionMutation','none','SYNCED','tag','entries','UniverSheetsDataValidationUIPlugin','darkMode$','length','_injector','getOwnPropertyDescriptor','IMessageService','HistoryManagerService','ComponentManager'];_0x1a2c=function(){return _0x1b5b2c;};return _0x1a2c();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/edit-history-loader",
3
- "version": "0.15.0-insiders.20260108-47c73e3",
3
+ "version": "0.15.0-insiders.20260108-7b9120d",
4
4
  "private": false,
5
5
  "description": "UniverSheet edit history loader",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -47,42 +47,42 @@
47
47
  },
48
48
  "dependencies": {
49
49
  "@univerjs/icons": "^1.1.1",
50
- "@univerjs-pro/collaboration": "0.15.0-insiders.20260108-47c73e3",
51
- "@univerjs-pro/collaboration-client": "0.15.0-insiders.20260108-47c73e3",
52
- "@univerjs-pro/edit-history-viewer": "0.15.0-insiders.20260108-47c73e3",
53
- "@univerjs-pro/sheets-chart": "0.15.0-insiders.20260108-47c73e3",
54
- "@univerjs-pro/license": "0.15.0-insiders.20260108-47c73e3",
55
- "@univerjs-pro/sheets-pivot": "0.15.0-insiders.20260108-47c73e3",
56
- "@univerjs/core": "0.15.0-insiders.20260108-47c73e3",
57
- "@univerjs-pro/sheets-chart-ui": "0.15.0-insiders.20260108-47c73e3",
58
- "@univerjs-pro/sheets-sparkline-ui": "0.15.0-insiders.20260108-47c73e3",
59
- "@univerjs-pro/sheets-sparkline": "0.15.0-insiders.20260108-47c73e3",
60
- "@univerjs/data-validation": "0.15.0-insiders.20260108-47c73e3",
61
- "@univerjs/docs-ui": "0.15.0-insiders.20260108-47c73e3",
62
- "@univerjs/design": "0.15.0-insiders.20260108-47c73e3",
63
- "@univerjs/drawing": "0.15.0-insiders.20260108-47c73e3",
64
- "@univerjs/engine-formula": "0.15.0-insiders.20260108-47c73e3",
65
- "@univerjs/docs": "0.15.0-insiders.20260108-47c73e3",
66
- "@univerjs/drawing-ui": "0.15.0-insiders.20260108-47c73e3",
67
- "@univerjs/engine-render": "0.15.0-insiders.20260108-47c73e3",
68
- "@univerjs/rpc": "0.15.0-insiders.20260108-47c73e3",
69
- "@univerjs/network": "0.15.0-insiders.20260108-47c73e3",
70
- "@univerjs/sheets": "0.15.0-insiders.20260108-47c73e3",
71
- "@univerjs/sheets-conditional-formatting": "0.15.0-insiders.20260108-47c73e3",
72
- "@univerjs/sheets-data-validation-ui": "0.15.0-insiders.20260108-47c73e3",
73
- "@univerjs/sheets-drawing": "0.15.0-insiders.20260108-47c73e3",
74
- "@univerjs/sheets-conditional-formatting-ui": "0.15.0-insiders.20260108-47c73e3",
75
- "@univerjs/sheets-drawing-ui": "0.15.0-insiders.20260108-47c73e3",
76
- "@univerjs/sheets-filter": "0.15.0-insiders.20260108-47c73e3",
77
- "@univerjs/sheets-data-validation": "0.15.0-insiders.20260108-47c73e3",
78
- "@univerjs/sheets-formula": "0.15.0-insiders.20260108-47c73e3",
79
- "@univerjs/sheets-formula-ui": "0.15.0-insiders.20260108-47c73e3",
80
- "@univerjs/sheets-hyper-link": "0.15.0-insiders.20260108-47c73e3",
81
- "@univerjs/sheets-hyper-link-ui": "0.15.0-insiders.20260108-47c73e3",
82
- "@univerjs/sheets-filter-ui": "0.15.0-insiders.20260108-47c73e3",
83
- "@univerjs/ui": "0.15.0-insiders.20260108-47c73e3",
84
- "@univerjs/sheets-ui": "0.15.0-insiders.20260108-47c73e3",
85
- "@univerjs/sheets-numfmt": "0.15.0-insiders.20260108-47c73e3"
50
+ "@univerjs-pro/collaboration-client": "0.15.0-insiders.20260108-7b9120d",
51
+ "@univerjs-pro/collaboration": "0.15.0-insiders.20260108-7b9120d",
52
+ "@univerjs-pro/edit-history-viewer": "0.15.0-insiders.20260108-7b9120d",
53
+ "@univerjs-pro/license": "0.15.0-insiders.20260108-7b9120d",
54
+ "@univerjs-pro/sheets-chart-ui": "0.15.0-insiders.20260108-7b9120d",
55
+ "@univerjs-pro/sheets-sparkline": "0.15.0-insiders.20260108-7b9120d",
56
+ "@univerjs-pro/sheets-pivot": "0.15.0-insiders.20260108-7b9120d",
57
+ "@univerjs-pro/sheets-chart": "0.15.0-insiders.20260108-7b9120d",
58
+ "@univerjs/core": "0.15.0-insiders.20260108-7b9120d",
59
+ "@univerjs-pro/sheets-sparkline-ui": "0.15.0-insiders.20260108-7b9120d",
60
+ "@univerjs/docs": "0.15.0-insiders.20260108-7b9120d",
61
+ "@univerjs/data-validation": "0.15.0-insiders.20260108-7b9120d",
62
+ "@univerjs/docs-ui": "0.15.0-insiders.20260108-7b9120d",
63
+ "@univerjs/drawing": "0.15.0-insiders.20260108-7b9120d",
64
+ "@univerjs/design": "0.15.0-insiders.20260108-7b9120d",
65
+ "@univerjs/drawing-ui": "0.15.0-insiders.20260108-7b9120d",
66
+ "@univerjs/engine-formula": "0.15.0-insiders.20260108-7b9120d",
67
+ "@univerjs/engine-render": "0.15.0-insiders.20260108-7b9120d",
68
+ "@univerjs/network": "0.15.0-insiders.20260108-7b9120d",
69
+ "@univerjs/sheets-conditional-formatting": "0.15.0-insiders.20260108-7b9120d",
70
+ "@univerjs/sheets-conditional-formatting-ui": "0.15.0-insiders.20260108-7b9120d",
71
+ "@univerjs/sheets": "0.15.0-insiders.20260108-7b9120d",
72
+ "@univerjs/rpc": "0.15.0-insiders.20260108-7b9120d",
73
+ "@univerjs/sheets-data-validation": "0.15.0-insiders.20260108-7b9120d",
74
+ "@univerjs/sheets-data-validation-ui": "0.15.0-insiders.20260108-7b9120d",
75
+ "@univerjs/sheets-drawing-ui": "0.15.0-insiders.20260108-7b9120d",
76
+ "@univerjs/sheets-drawing": "0.15.0-insiders.20260108-7b9120d",
77
+ "@univerjs/sheets-filter": "0.15.0-insiders.20260108-7b9120d",
78
+ "@univerjs/sheets-formula": "0.15.0-insiders.20260108-7b9120d",
79
+ "@univerjs/sheets-formula-ui": "0.15.0-insiders.20260108-7b9120d",
80
+ "@univerjs/sheets-hyper-link": "0.15.0-insiders.20260108-7b9120d",
81
+ "@univerjs/sheets-filter-ui": "0.15.0-insiders.20260108-7b9120d",
82
+ "@univerjs/sheets-hyper-link-ui": "0.15.0-insiders.20260108-7b9120d",
83
+ "@univerjs/sheets-ui": "0.15.0-insiders.20260108-7b9120d",
84
+ "@univerjs/ui": "0.15.0-insiders.20260108-7b9120d",
85
+ "@univerjs/sheets-numfmt": "0.15.0-insiders.20260108-7b9120d"
86
86
  },
87
87
  "devDependencies": {
88
88
  "react": "18.3.1",