@univerjs-pro/edit-history-loader 0.15.3 → 0.15.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +41 -39
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x3eb404=_0x5a51;(function(_0x3b8d5e,_0x3cfebe){const _0x24c7b4=_0x5a51,_0x58d5bb=_0x3b8d5e();while(!![]){try{const _0x1569d6=parseInt(_0x24c7b4(0x1b1))/0x1+parseInt(_0x24c7b4(0x1ae))/0x2+-parseInt(_0x24c7b4(0x238))/0x3*(-parseInt(_0x24c7b4(0x1d0))/0x4)+parseInt(_0x24c7b4(0x205))/0x5+-parseInt(_0x24c7b4(0x22e))/0x6+parseInt(_0x24c7b4(0x20c))/0x7+parseInt(_0x24c7b4(0x1cd))/0x8*(-parseInt(_0x24c7b4(0x1c3))/0x9);if(_0x1569d6===_0x3cfebe)break;else _0x58d5bb['push'](_0x58d5bb['shift']());}catch(_0x42fdca){_0x58d5bb['push'](_0x58d5bb['shift']());}}}(_0x4723,0x255c0));var A=Object[_0x3eb404(0x242)],F=(_0x44c4c0,_0x3a1e25,_0xf35d22)=>_0x3a1e25 in _0x44c4c0?A(_0x44c4c0,_0x3a1e25,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xf35d22}):_0x44c4c0[_0x3a1e25]=_0xf35d22,_=(_0x5eb087,_0x1bf604,_0x59c02e)=>F(_0x5eb087,typeof _0x1bf604!='symbol'?_0x1bf604+'':_0x1bf604,_0x59c02e);Object[_0x3eb404(0x242)](exports,Symbol[_0x3eb404(0x25b)],{'value':_0x3eb404(0x1f0)});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=_0x3eb404(0x1f9),T={};function D({ref:_0xf355f0,..._0xbb1086}){const _0xdfca8=_0x3eb404,{icon:_0x3b81c6,id:_0x136ff1,className:_0x2f64ac,extend:_0x14cc7b,..._0x574f0c}=_0xbb1086,_0x4c35fa=(_0xdfca8(0x24d)+_0x136ff1+'\x20'+(_0x2f64ac||''))[_0xdfca8(0x1f8)](),_0x2f5142=U[_0xdfca8(0x289)]('_'+Se());return q(_0x3b81c6,''+_0x136ff1,{'defIds':_0x3b81c6['defIds'],'idSuffix':_0x2f5142['current']},{'ref':_0xf355f0,'className':_0x4c35fa,..._0x574f0c},_0x14cc7b);}function q(_0x52ffff,_0x6f48d4,_0x4a05c1,_0xf27ba6,_0x9d5ec4){const _0x1d72b3=_0x3eb404;return U[_0x1d72b3(0x1fd)](_0x52ffff[_0x1d72b3(0x1d2)],{'key':_0x6f48d4,...de(_0x52ffff,_0x4a05c1,_0x9d5ec4),..._0xf27ba6},(_e(_0x52ffff,_0x4a05c1)['children']||[])['map']((_0x2e1f86,_0x11df90)=>q(_0x2e1f86,_0x6f48d4+'-'+_0x52ffff[_0x1d72b3(0x1d2)]+'-'+_0x11df90,_0x4a05c1,void 0x0,_0x9d5ec4)));}function de(_0x29479d,_0x33564b,_0x2e9dce){const _0x680856=_0x3eb404,_0xdaf032={..._0x29479d[_0x680856(0x237)]};_0x2e9dce!=null&&_0x2e9dce[_0x680856(0x229)]&&_0xdaf032[_0x680856(0x231)]===_0x680856(0x229)&&(_0xdaf032[_0x680856(0x231)]=_0x2e9dce['colorChannel1']),_0x29479d['tag']===_0x680856(0x225)&&_0xdaf032['id']&&(_0xdaf032['id']=_0xdaf032['id']+_0x33564b['idSuffix']),Object[_0x680856(0x1fb)](_0xdaf032)[_0x680856(0x1d3)](([_0x441a24,_0x4a0f4c])=>{const _0x1af08e=_0x680856;_0x441a24===_0x1af08e(0x225)&&typeof _0x4a0f4c==_0x1af08e(0x248)&&(_0xdaf032[_0x441a24]=_0x4a0f4c['replace'](/url\(#(.*)\)/,_0x1af08e(0x208)+_0x33564b[_0x1af08e(0x1ec)]+')'));});const {defIds:_0x4e3561}=_0x33564b;return!_0x4e3561||_0x4e3561['length']===0x0||(_0x29479d[_0x680856(0x1d2)]===_0x680856(0x1cb)&&_0xdaf032[_0x680856(0x1c7)]&&(_0xdaf032['xlink:href']=_0xdaf032[_0x680856(0x1c7)]+_0x33564b[_0x680856(0x1ec)]),Object[_0x680856(0x1fb)](_0xdaf032)[_0x680856(0x1d3)](([_0x2f5769,_0x166a74])=>{const _0x2a6a01=_0x680856;typeof _0x166a74=='string'&&(_0xdaf032[_0x2f5769]=_0x166a74[_0x2a6a01(0x1a5)](/url\(#(.*)\)/,'url(#$1'+_0x33564b['idSuffix']+')'));})),_0xdaf032;}function _e(_0x5eba88,_0x498215){const _0x22dce4=_0x3eb404;var _0x143936;const {defIds:_0xb0599d}=_0x498215;return!_0xb0599d||_0xb0599d[_0x22dce4(0x244)]===0x0?_0x5eba88:_0x5eba88[_0x22dce4(0x1d2)]===_0x22dce4(0x281)&&((_0x143936=_0x5eba88[_0x22dce4(0x1d5)])!=null&&_0x143936['length'])?{..._0x5eba88,'children':_0x5eba88['children']['map'](_0x1132e4=>typeof _0x1132e4[_0x22dce4(0x237)]['id']=='string'&&_0xb0599d&&_0xb0599d['includes'](_0x1132e4[_0x22dce4(0x237)]['id'])?{..._0x1132e4,'attrs':{..._0x1132e4[_0x22dce4(0x237)],'id':_0x1132e4[_0x22dce4(0x237)]['id']+_0x498215['idSuffix']}}:_0x1132e4)}:_0x5eba88;}function Se(){const _0x262bed=_0x3eb404;return Math['random']()[_0x262bed(0x282)](0x24)[_0x262bed(0x217)](0x2,0x8);}D[_0x3eb404(0x1e1)]=_0x3eb404(0x22a);const me={'tag':_0x3eb404(0x21d),'attrs':{'xmlns':_0x3eb404(0x28a),'fill':_0x3eb404(0x1b7),'viewBox':'0\x200\x2016\x2016','width':_0x3eb404(0x280),'height':'1em'},'children':[{'tag':'g','attrs':{'fill':_0x3eb404(0x271),'clipPath':'url(#history-icon_clip0_907_281)'},'children':[{'tag':_0x3eb404(0x1f6),'attrs':{'d':_0x3eb404(0x1ab)}},{'tag':_0x3eb404(0x1f6),'attrs':{'d':_0x3eb404(0x230)}}]},{'tag':_0x3eb404(0x281),'attrs':{},'children':[{'tag':_0x3eb404(0x276),'attrs':{'id':_0x3eb404(0x1dc)},'children':[{'tag':'path','attrs':{'fill':_0x3eb404(0x1b4),'d':_0x3eb404(0x24f)}}]}]}],'defIds':[_0x3eb404(0x1dc)]},$=U[_0x3eb404(0x277)](function(_0x2b1cc7,_0x31dd42){const _0x274ad5=_0x3eb404;return U['createElement'](D,Object[_0x274ad5(0x1f4)]({},_0x2b1cc7,{'id':_0x274ad5(0x1aa),'ref':_0x31dd42,'icon':me}));});$[_0x3eb404(0x1e1)]=_0x3eb404(0x26d);var ye=Object[_0x3eb404(0x251)],pe=(_0x47eda1,_0x48d0f8,_0xb1c305,_0x3cc0df)=>{const _0x4b38d3=_0x3eb404;for(var _0x482ff9=_0x3cc0df>0x1?void 0x0:_0x3cc0df?ye(_0x48d0f8,_0xb1c305):_0x48d0f8,_0x1aa8d=_0x47eda1[_0x4b38d3(0x244)]-0x1,_0x2324a1;_0x1aa8d>=0x0;_0x1aa8d--)(_0x2324a1=_0x47eda1[_0x1aa8d])&&(_0x482ff9=_0x2324a1(_0x482ff9)||_0x482ff9);return _0x482ff9;},g=(_0x4baa60,_0x1f7de0)=>(_0x3fbefb,_0x4c444a)=>_0x1f7de0(_0x3fbefb,_0x4c444a,_0x4baa60);const fe='univer-container',H=_0x3eb404(0x253),y=_0x3eb404(0x1ed);exports['HistoryLoaderService']=class extends o[_0x3eb404(0x1fe)]{constructor(_0x136e4e,_0x57a252,_0x6d6af5,_0xc51b24,_0x28f3fb,_0x56d0ab,_0x2a979d,_0x517204,_0x45a00e,_0x30c061){const _0x8ddf5=_0x3eb404;super(),_(this,'_historyUniver$',new O[(_0x8ddf5(0x1ac))](null)),_(this,_0x8ddf5(0x258),this[_0x8ddf5(0x22d)][_0x8ddf5(0x1d4)]()),_(this,'_disposableCollection',new o['DisposableCollection']()),_(this,_0x8ddf5(0x1fa),new Map()),(this[_0x8ddf5(0x250)]=_0x136e4e,this[_0x8ddf5(0x254)]=_0x57a252,this['_configService']=_0x6d6af5,this[_0x8ddf5(0x223)]=_0xc51b24,this[_0x8ddf5(0x1e0)]=_0x28f3fb,this[_0x8ddf5(0x25c)]=_0x56d0ab,this[_0x8ddf5(0x1e9)]=_0x2a979d,this[_0x8ddf5(0x214)]=_0x517204,this[_0x8ddf5(0x247)]=_0x45a00e,this['_themeService']=_0x30c061,this[_0x8ddf5(0x262)]());}get[_0x3eb404(0x1cf)](){const _0x577919=_0x3eb404;return this[_0x577919(0x22d)]['value'];}['_init'](){const _0xf59733=_0x3eb404;this[_0xf59733(0x28b)](),this[_0xf59733(0x1e4)]();}['_initContainer'](){const _0x5da0c5=_0x3eb404;var _0x8e6e3f;const _0x226f4e=(_0x8e6e3f=this['_configService'][_0x5da0c5(0x1b5)](H))!=null?_0x8e6e3f:fe,_0x2d0c3f=document[_0x5da0c5(0x210)](_0x226f4e);if(!_0x2d0c3f)return;const _0x571d92=document[_0x5da0c5(0x1fd)](_0x5da0c5(0x1ea));_0x571d92['id']=y,_0x571d92[_0x5da0c5(0x1eb)][_0x5da0c5(0x25e)]=_0x5da0c5(0x1da),_0x571d92[_0x5da0c5(0x25f)][_0x5da0c5(0x1a8)]=_0x5da0c5(0x294),_0x571d92[_0x5da0c5(0x25f)][_0x5da0c5(0x274)]='0',_0x571d92[_0x5da0c5(0x25f)][_0x5da0c5(0x279)]='0',_0x571d92[_0x5da0c5(0x25f)]['width']=_0x5da0c5(0x1af),_0x571d92[_0x5da0c5(0x25f)][_0x5da0c5(0x240)]=_0x5da0c5(0x1af),_0x571d92['style']['zIndex']=_0x5da0c5(0x26c),_0x571d92[_0x5da0c5(0x25f)][_0x5da0c5(0x1d1)]=_0x5da0c5(0x1b7),_0x2d0c3f[_0x5da0c5(0x222)](_0x571d92);}[_0x3eb404(0x1e4)](){const _0x13d34f=_0x3eb404;var _0x4a9748,_0x4c4be5,_0x5e7534,_0x192818;[[X['UniverRenderEnginePlugin']],[h[_0x13d34f(0x27b)],{'container':y,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[h['IDialogService'],null]]}],[ee['UniverNetworkPlugin']],[N[_0x13d34f(0x27f)],{'override':[[N['IImageIoService'],null]]}],[z[_0x13d34f(0x288)],{'hasScroll':!0x1}],[Z[_0x13d34f(0x28f)]],[ve[_0x13d34f(0x1a9)]],[d[_0x13d34f(0x239)],{'notExecuteFormula':!0x0}],[k[_0x13d34f(0x23c)]],[le[_0x13d34f(0x215)]],[ue['UniverSheetsFormulaUIPlugin']],[C[_0x13d34f(0x227)]],[ae[_0x13d34f(0x1b3)]],[ce[_0x13d34f(0x25a)]],[ie[_0x13d34f(0x284)]],[te[_0x13d34f(0x220)]],[he[_0x13d34f(0x1ef)]],[ge[_0x13d34f(0x28d)]],[B[_0x13d34f(0x1f7)]],[re[_0x13d34f(0x1c5)]],[ne[_0x13d34f(0x293)]],[Q[_0x13d34f(0x1df)],{'notExecuteFormula':!0x0}],[R[_0x13d34f(0x1d9)],{'workerURL':(_0x4c4be5=(_0x4a9748=this['_configService'][_0x13d34f(0x1b5)](R[_0x13d34f(0x1c0)]))==null?void 0x0:_0x4a9748[_0x13d34f(0x1b8)])!=null?_0x4c4be5:_0x13d34f(0x292)}],[J['UniverDrawingUIPlugin']],[se[_0x13d34f(0x285)]],[oe['UniverSheetsDrawingUIPlugin']],[K[_0x13d34f(0x1e2)]],[W['UniverSheetSparklineUIPlugin']],[V[_0x13d34f(0x232)]],[G[_0x13d34f(0x27d)]],[Y[_0x13d34f(0x21f)],{'notExecuteFormula':!0x0}],[m['UniverEditHistoryViewerPlugin'],{'historyListServerUrl':(_0x5e7534=this[_0x13d34f(0x26e)][_0x13d34f(0x1b5)](b))==null?void 0x0:_0x5e7534[_0x13d34f(0x1f1)],'historyPanelComponentKey':(_0x192818=this[_0x13d34f(0x26e)][_0x13d34f(0x1b5)](b))==null?void 0x0:_0x192818[_0x13d34f(0x269)]}]][_0x13d34f(0x1d3)](([_0x35108a,_0x5c71f7])=>this[_0x13d34f(0x1b6)](_0x35108a,_0x5c71f7));}['dispose'](){const _0x414341=_0x3eb404;super['dispose'](),this[_0x414341(0x256)](),this[_0x414341(0x1fa)][_0x414341(0x260)]();}['registerPlugin'](_0x133b21,_0x2f7557,_0x5836d4){const _0x4065b1=_0x3eb404;if(this['_pluginMap'][_0x4065b1(0x1c9)](_0x133b21[_0x4065b1(0x219)])&&!_0x5836d4)throw new Error(_0x4065b1(0x26f)+_0x133b21['pluginName']+'\x20has\x20been\x20registered.');this[_0x4065b1(0x1fa)][_0x4065b1(0x1a4)](_0x133b21['pluginName'],[_0x133b21,_0x2f7557]);}['getAllPlugins'](){const _0xab6cb0=_0x3eb404;return Array[_0xab6cb0(0x287)](this[_0xab6cb0(0x1fa)]['values']());}[_0x3eb404(0x1e3)](_0x4f03c7){const _0xf274c0=_0x3eb404,_0x4f66ba=document[_0xf274c0(0x210)](y);_0x4f66ba&&(_0x4f66ba[_0xf274c0(0x25f)][_0xf274c0(0x1d1)]=_0xf274c0(0x20f),this[_0xf274c0(0x23e)](_0x4f03c7,y));}[_0x3eb404(0x256)](){const _0x3af720=_0x3eb404;var _0x53dd69;this[_0x3af720(0x1d7)]['dispose'](),(_0x53dd69=this['historyUniver'])==null||_0x53dd69[_0x3af720(0x275)](),this[_0x3af720(0x22d)][_0x3af720(0x273)](null);const _0xb9a907=document[_0x3af720(0x210)](y);_0xb9a907&&(_0xb9a907[_0x3af720(0x25f)][_0x3af720(0x1d1)]='none');}[_0x3eb404(0x23e)](_0x11f7a2,_0x5d64a5){const _0x195d4f=_0x3eb404;if(this['historyUniver'])return;const _0x323a5e=new o[(_0x195d4f(0x200))]({'locales':{[this[_0x195d4f(0x250)][_0x195d4f(0x1d8)]()]:this[_0x195d4f(0x250)][_0x195d4f(0x1f5)]()},'override':[[o[_0x195d4f(0x21a)],{'useClass':p[_0x195d4f(0x286)]}]]}),_0x99d90=_0x323a5e['__getInjector']();this[_0x195d4f(0x20d)](this[_0x195d4f(0x201)][_0x195d4f(0x290)][_0x195d4f(0x203)](_0x4f4a6d=>{const _0x58c0a1=_0x195d4f;_0x99d90[_0x58c0a1(0x243)](o[_0x58c0a1(0x23a)])[_0x58c0a1(0x207)](_0x4f4a6d);})),this[_0x195d4f(0x20d)](this['_themeService'][_0x195d4f(0x1fc)][_0x195d4f(0x203)](_0x2bbc66=>{const _0x561e4f=_0x195d4f;_0x99d90[_0x561e4f(0x243)](o['ThemeService'])[_0x561e4f(0x22b)](_0x2bbc66);})),_0x99d90[_0x195d4f(0x243)](o[_0x195d4f(0x24c)])[_0x195d4f(0x245)](this[_0x195d4f(0x250)][_0x195d4f(0x1d8)]()),_0x99d90[_0x195d4f(0x243)](o[_0x195d4f(0x1bf)])[_0x195d4f(0x236)](p[_0x195d4f(0x218)],this['_configService'][_0x195d4f(0x1b5)](p[_0x195d4f(0x218)]));const _0x1b8f17=this[_0x195d4f(0x26e)]['getConfig'](L[_0x195d4f(0x257)]);_0x1b8f17&&_0x323a5e[_0x195d4f(0x1b6)](L['UniverLicensePlugin'],{'license':_0x1b8f17['ls']}),this[_0x195d4f(0x1fa)][_0x195d4f(0x1d3)](([_0x13caed,_0x162a1b])=>{const _0x3345b4=_0x195d4f;_0x323a5e[_0x3345b4(0x1b6)](_0x13caed,_0x162a1b);}),_0x99d90['invoke'](_0x20481a=>{const _0x4101e9=_0x195d4f;this[_0x4101e9(0x1b0)](_0x20481a,_0x11f7a2);}),this[_0x195d4f(0x22d)][_0x195d4f(0x273)](_0x323a5e);const _0x5ccb5e=_0x99d90['get'](m[_0x195d4f(0x1f3)]),_0x5845d9=this[_0x195d4f(0x270)](_0x11f7a2);_0x5ccb5e[_0x195d4f(0x1d6)](_0x11f7a2,_0x5d64a5,_0x5845d9);}[_0x3eb404(0x1b0)](_0x32f306,_0x516378){const _0x542f4b=_0x3eb404,_0x12f5a0=_0x32f306[_0x542f4b(0x243)](m['HistoryManagerService']);this['_disposableCollection'][_0x542f4b(0x234)](_0x12f5a0['status$'][_0x542f4b(0x203)](_0x263e42=>{const _0x52dfac=_0x542f4b;switch(_0x263e42){case m[_0x52dfac(0x265)][_0x52dfac(0x224)]:this[_0x52dfac(0x214)][_0x52dfac(0x233)](),this['_sidebarService']['close']();break;case m[_0x52dfac(0x265)][_0x52dfac(0x1b2)]:this[_0x52dfac(0x223)]['executeCommand'](j['id']),this[_0x52dfac(0x256)]();break;case m[_0x52dfac(0x265)][_0x52dfac(0x263)]:this['unMountHistoryContent'](),this[_0x52dfac(0x1e0)][_0x52dfac(0x23b)]({'content':this[_0x52dfac(0x250)]['t'](_0x52dfac(0x20e)),'type':P[_0x52dfac(0x1dd)][_0x52dfac(0x263)],'duration':0xbb8});break;}})),this[_0x542f4b(0x1d7)][_0x542f4b(0x234)](_0x12f5a0[_0x542f4b(0x1a3)][_0x542f4b(0x203)](async _0x5e2f69=>{const _0x238022=_0x542f4b;_0x5e2f69&&this[_0x238022(0x223)][_0x238022(0x1ba)](C[_0x238022(0x1e8)]['id'],{'unitId':_0x516378,'revision':_0x5e2f69});}));}[_0x3eb404(0x270)](_0x126472){const _0x2feead=_0x3eb404,_0x15e421=this[_0x2feead(0x254)][_0x2feead(0x21b)](_0x126472)['getSheets']()[_0x2feead(0x1f2)](_0x36fd0a=>_0x36fd0a[_0x2feead(0x268)]()),_0x4d33fd=new d[(_0x2feead(0x1e5))](_0x126472)['id'],_0x12e10d=_0x15e421[_0x2feead(0x1f2)](_0x142a37=>new d[(_0x2feead(0x255))](_0x126472,_0x142a37)['id']),_0x474008=_0x15e421[_0x2feead(0x1f2)](_0x5307e2=>this[_0x2feead(0x1e9)]['getSubunitRuleList'](_0x126472,_0x5307e2)['map'](_0x63c758=>new d[(_0x2feead(0x1ee))](_0x126472,_0x5307e2,_0x63c758['permissionId'])['id']))[_0x2feead(0x241)](),_0x148b61=new d[(_0x2feead(0x21c))](_0x126472)['id'];return this[_0x2feead(0x25c)][_0x2feead(0x1ff)]([_0x4d33fd,..._0x12e10d,..._0x474008,_0x148b61])[_0x2feead(0x20b)](_0x3fecde=>!!_0x3fecde['value']);}},exports[_0x3eb404(0x246)]=pe([g(0x0,o[_0x3eb404(0x28c)](o['LocaleService'])),g(0x1,o[_0x3eb404(0x267)]),g(0x2,o[_0x3eb404(0x1bf)]),g(0x3,o[_0x3eb404(0x216)]),g(0x4,h[_0x3eb404(0x283)]),g(0x5,o[_0x3eb404(0x24e)]),g(0x6,o['Inject'](d[_0x3eb404(0x25d)])),g(0x7,o[_0x3eb404(0x28c)](h[_0x3eb404(0x206)])),g(0x8,o[_0x3eb404(0x28c)](h['ISidebarService'])),g(0x9,o[_0x3eb404(0x28c)](o[_0x3eb404(0x23a)]))],exports[_0x3eb404(0x246)]);const M={'id':_0x3eb404(0x22f),'type':o['CommandType'][_0x3eb404(0x252)],'handler':_0x20839e=>{const _0xd2ce1b=_0x3eb404,_0x5c0e68=_0x20839e[_0xd2ce1b(0x243)](exports[_0xd2ce1b(0x246)]),_0x4332a9=_0x20839e[_0xd2ce1b(0x243)](o[_0xd2ce1b(0x267)]),{unitId:_0x3b5738}=d[_0xd2ce1b(0x23d)](_0x4332a9)||{};return _0x3b5738?(_0x5c0e68[_0xd2ce1b(0x1e3)](_0x3b5738),!0x0):!0x1;}},j={'id':_0x3eb404(0x221),'type':o[_0x3eb404(0x1ce)]['OPERATION'],'handler':()=>!0x0};function _0x5a51(_0x526b32,_0x14898b){_0x526b32=_0x526b32-0x1a3;const _0x47234d=_0x4723();let _0x5a5150=_0x47234d[_0x526b32];return _0x5a5150;}function Ce(_0x2d1e43){const _0x5cd5c4=_0x3eb404;return{'id':M['id'],'type':h['MenuItemType'][_0x5cd5c4(0x22c)],'icon':_0x5cd5c4(0x26d),'tooltip':_0x5cd5c4(0x235),'hidden$':h[_0x5cd5c4(0x1c4)](_0x2d1e43,o[_0x5cd5c4(0x1b9)][_0x5cd5c4(0x204)]),'disabled$':k[_0x5cd5c4(0x27e)](_0x2d1e43,{'workbookTypes':[d[_0x5cd5c4(0x1e5)],d[_0x5cd5c4(0x228)]],'worksheetTypes':[],'rangeTypes':[]})};}const Ie={[h[_0x3eb404(0x1ad)][_0x3eb404(0x272)]]:{[M['id']]:{'order':0.2,'menuItemFactory':Ce}}};var Ue=Object[_0x3eb404(0x251)],Ee=(_0x24bc35,_0x2de06e,_0x7083d4,_0x43dcab)=>{const _0x5e1abf=_0x3eb404;for(var _0x1253f5=_0x43dcab>0x1?void 0x0:_0x43dcab?Ue(_0x2de06e,_0x7083d4):_0x2de06e,_0x523bd6=_0x24bc35[_0x5e1abf(0x244)]-0x1,_0x23e9dc;_0x523bd6>=0x0;_0x523bd6--)(_0x23e9dc=_0x24bc35[_0x523bd6])&&(_0x1253f5=_0x23e9dc(_0x1253f5)||_0x1253f5);return _0x1253f5;},S=(_0x5311c1,_0x1169b0)=>(_0xb03402,_0x3bbfab)=>_0x1169b0(_0xb03402,_0x3bbfab,_0x5311c1);let E=class extends o[_0x3eb404(0x1bb)]{constructor(_0x20508b,_0x13b2f6,_0x3afd2f,_0x4ed2c9,_0x282da7,_0x4801f3,_0x54cf5c,_0x6cf80a){const _0x58dc4b=_0x3eb404;super(),_(this,_0x58dc4b(0x249),null),(this[_0x58dc4b(0x223)]=_0x20508b,this[_0x58dc4b(0x266)]=_0x13b2f6,this[_0x58dc4b(0x1e7)]=_0x3afd2f,this[_0x58dc4b(0x1e6)]=_0x4ed2c9,this[_0x58dc4b(0x250)]=_0x282da7,this[_0x58dc4b(0x1e0)]=_0x4801f3,this['_collaborationController']=_0x54cf5c,this[_0x58dc4b(0x202)]=_0x6cf80a,this[_0x58dc4b(0x262)]());}[_0x3eb404(0x262)](){const _0x6cc289=_0x3eb404;[M,j][_0x6cc289(0x1d3)](_0xf45b31=>this[_0x6cc289(0x20d)](o['toDisposable'](this[_0x6cc289(0x223)]['registerCommand'](_0xf45b31)))),this[_0x6cc289(0x20d)](this[_0x6cc289(0x1e7)]['register'](_0x6cc289(0x26d),$)),this[_0x6cc289(0x266)]['mergeMenu'](Ie),this[_0x6cc289(0x20d)](this[_0x6cc289(0x223)]['onCommandExecuted'](_0x1749f9=>{const _0x363d43=_0x6cc289;if(_0x1749f9['id']===C[_0x363d43(0x1e8)]['id']){this[_0x363d43(0x1e0)][_0x363d43(0x23b)]({'content':this[_0x363d43(0x250)]['t']('editHistory.panel.reverting'),'type':P[_0x363d43(0x1dd)]['Loading'],'duration':0x1388});const {unitId:_0x2ad202}=_0x1749f9[_0x363d43(0x226)],_0x236fc5=this[_0x363d43(0x1c6)][_0x363d43(0x209)](_0x2ad202),_0x3c4afd=O[_0x363d43(0x261)]([_0x236fc5[_0x363d43(0x21e)]['event$'],_0x236fc5[_0x363d43(0x28e)]])['subscribe'](async([_0xd3e681,_0x3bbec1])=>{const _0x1dfe76=_0x363d43;var _0x21306d;_0xd3e681[_0x1dfe76(0x264)]===C[_0x1dfe76(0x1c2)][_0x1dfe76(0x1db)]&&(_0x3bbec1==null?void 0x0:_0x3bbec1[_0x1dfe76(0x20a)])===p[_0x1dfe76(0x27a)][_0x1dfe76(0x1a6)]&&_0xd3e681['data'][_0x1dfe76(0x24b)]['some'](_0x53f06c=>_0x53f06c['id']===C[_0x1dfe76(0x1e8)]['id'])&&(this[_0x1dfe76(0x1e6)][_0x1dfe76(0x256)](),_0x3c4afd[_0x1dfe76(0x24a)](),this[_0x1dfe76(0x249)]&&clearTimeout(this[_0x1dfe76(0x249)]),await((_0x21306d=this[_0x1dfe76(0x202)])==null?void 0x0:_0x21306d[_0x1dfe76(0x211)]()),setTimeout(()=>window[_0x1dfe76(0x1bd)][_0x1dfe76(0x1bc)]()));});this['_revertErrorTimer']=setTimeout(()=>{const _0x2075f1=_0x363d43;_0x3c4afd['unsubscribe'](),this['_messageService'][_0x2075f1(0x23b)]({'content':this[_0x2075f1(0x250)]['t'](_0x2075f1(0x213)),'type':P[_0x2075f1(0x1dd)][_0x2075f1(0x263)],'duration':0xbb8});},0x1388);}}));}};E=Ee([S(0x0,o[_0x3eb404(0x216)]),S(0x1,h['IMenuManagerService']),S(0x2,o['Inject'](h[_0x3eb404(0x26b)])),S(0x3,o[_0x3eb404(0x28c)](exports['HistoryLoaderService'])),S(0x4,o[_0x3eb404(0x28c)](o[_0x3eb404(0x24c)])),S(0x5,h[_0x3eb404(0x283)]),S(0x6,o[_0x3eb404(0x28c)](p['CollaborationController'])),S(0x7,p[_0x3eb404(0x1cc)])],E);function _0x4723(){const _0x10a2f6=['univer-history-container','RangeProtectionPermissionEditPoint','UniverSheetsHyperLinkPlugin','Module','historyListServerUrl','map','HistoryManagerService','assign','getLocales','path','UniverDataValidationPlugin','trim','edit-history-loader.config','_pluginMap','entries','currentTheme$','createElement','Disposable','composePermission','Univer','_themeService','_localCacheService','subscribe','UNIVER_SHEET','503115DsNQTD','IDialogService','setDarkMode','url(#$1','getCollabEntity','status','every','523551hkJYPt','disposeWithMe','editHistory.panel.listFetchError','block','getElementById','exhaustSavingTask','menu','editHistory.panel.revertFailed','_dialogService','UniverSheetsFormulaPlugin','ICommandService','substring','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','pluginName','IAuthzIoService','getUnit','WorkbookRecoverHistoryPermission','svg','session','UniverSheetsPivotTablePlugin','UniverSheetsConditionalFormattingUIPlugin','univer.operation.exit-edit-history','appendChild','_commandService','Entered','mask','params','UniverCollaborationPlugin','WorkbookViewHistoryPermission','colorChannel1','UniverIcon','setTheme','BUTTON','_historyUniver$','839940eKWHQv','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','fill','UniverSheetsChartPlugin','closeAll','add','editHistory.panel.title','setConfig','attrs','336lQeOkf','UniverSheetsPlugin','ThemeService','show','UniverSheetsUIPlugin','getSheetCommandTarget','_initUniver','Plugin','height','flat','defineProperty','get','length','setLocale','HistoryLoaderService','_sidebarService','string','_revertErrorTimer','unsubscribe','mutations','LocaleService','univerjs-icon\x20univerjs-icon-','IPermissionService','M0\x200H16V16H0z','_localeService','getOwnPropertyDescriptor','OPERATION','UNIVER_CONTAINER_ID','_univerInstanceService','WorksheetEditPermission','unMountHistoryContent','LS_CONFIG_KEY','historyUniver$','onStarting','UniverSheetsFilterUIPlugin','toStringTag','_permissionService','RangeProtectionRuleModel','uComp','style','clear','combineLatest','_init','Error','eventID','HistoryModeStatus','_menuManagerService','IUniverInstanceService','getSheetId','historyPanelComponentKey','univerContainerId','ComponentManager','1000','HistoryIcon','_configService','[HistoryLoaderService]:\x20Plugin\x20','_checkCanRevert','currentColor','OTHERS','next','top','dispose','clipPath','forwardRef','onSteady','left','CollaborationStatus','UniverUIPlugin','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','UniverSheetsChartUIPlugin','getCurrentRangeDisable$','UniverDrawingPlugin','1em','defs','toString','IMessageService','UniverSheetsConditionalFormattingPlugin','UniverSheetsDrawingPlugin','AuthzIoHttpService','from','UniverDocsPlugin','useRef','http://www.w3.org/2000/svg','_initContainer','Inject','UniverSheetsHyperLinkUIPlugin','state$','UniverDocsUIPlugin','darkMode$','UNIVER_HISTORY_CONTAINER_ID','./worker.js','UniverSheetsDataValidationUIPlugin','absolute','revertRevision$','set','replace','SYNCED','UniverEditHistoryLoaderPlugin','position','UniverSheetsNumfmtPlugin','history-icon','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','BehaviorSubject','RibbonStartGroup','124010BfVUQS','100%','_initListener','301460KHEfip','Exited','UniverSheetsFilterPlugin','white','getConfig','registerPlugin','none','workerURL','UniverInstanceType','executeCommand','RxDisposable','reload','location','type','IConfigService','PLUGIN_CONFIG_KEY_MAIN_THREAD','_injector','CollaborationEvent','3757059QjCVQM','getMenuHiddenObservable','UniverSheetsDataValidationPlugin','_collaborationController','xlink:href','Injector','has','merge','use','ILocalCacheService','8SAArtm','CommandType','historyUniver','6128MOiVFn','display','tag','forEach','asObservable','children','triggerLoadVersions','_disposableCollection','getCurrentLocale','UniverRPCMainThreadPlugin','history-container','CHANGESET_ACK','history-icon_clip0_907_281','MessageType','_config','UniverFormulaEnginePlugin','_messageService','displayName','UniverSheetSparklinePlugin','mountHistoryContent','_initPlugins','WorkbookEditablePermission','_historyManagerService','_componentManager','RevertRevisionMutation','_selectionProtectionRuleModel','div','dataset','idSuffix'];_0x4723=function(){return _0x10a2f6;};return _0x4723();}var Pe=Object[_0x3eb404(0x251)],be=(_0x1b5ab0,_0x38e6f1,_0x202546,_0x460fe0)=>{const _0x42b7d8=_0x3eb404;for(var _0x49c3a0=_0x460fe0>0x1?void 0x0:_0x460fe0?Pe(_0x38e6f1,_0x202546):_0x38e6f1,_0x139155=_0x1b5ab0[_0x42b7d8(0x244)]-0x1,_0x59644d;_0x139155>=0x0;_0x139155--)(_0x59644d=_0x1b5ab0[_0x139155])&&(_0x49c3a0=_0x59644d(_0x49c3a0)||_0x49c3a0);return _0x49c3a0;},w=(_0x2e4f9d,_0x1cd9c8)=>(_0x26dcf3,_0x4d13d1)=>_0x1cd9c8(_0x26dcf3,_0x4d13d1,_0x2e4f9d);const He=_0x3eb404(0x27c);var I;exports[_0x3eb404(0x1a7)]=(I=class extends o[_0x3eb404(0x23f)]{constructor(_0x57bbd0=T,_0x4492b4,_0x476017){const _0x10a3dc=_0x3eb404;super(),this[_0x10a3dc(0x1de)]=_0x57bbd0,this[_0x10a3dc(0x1c1)]=_0x4492b4,this[_0x10a3dc(0x26e)]=_0x476017;const {menu:_0x2b99c7,..._0x354fa6}=o[_0x10a3dc(0x1ca)]({},T,this['_config']);_0x2b99c7&&this[_0x10a3dc(0x26e)][_0x10a3dc(0x236)](_0x10a3dc(0x212),_0x2b99c7,{'merge':!0x0}),this[_0x10a3dc(0x26e)]['setConfig'](b,_0x354fa6),this[_0x10a3dc(0x1de)][_0x10a3dc(0x26a)]&&this[_0x10a3dc(0x26e)][_0x10a3dc(0x236)](H,this[_0x10a3dc(0x1de)][_0x10a3dc(0x26a)]);}[_0x3eb404(0x259)](){const _0x57ce07=_0x3eb404;[[exports[_0x57ce07(0x246)]],[E]]['forEach'](_0x364e29=>this[_0x57ce07(0x1c1)][_0x57ce07(0x234)](_0x364e29));}[_0x3eb404(0x278)](){this['_injector']['get'](E);}},_(I,_0x3eb404(0x1be),o[_0x3eb404(0x1b9)]['UNIVER_UNKNOWN']),_(I,_0x3eb404(0x219),He),I),exports[_0x3eb404(0x1a7)]=be([w(0x1,o['Inject'](o[_0x3eb404(0x1c8)])),w(0x2,o['IConfigService'])],exports[_0x3eb404(0x1a7)]),exports['UNIVER_CONTAINER_ID_KEY']=H,exports[_0x3eb404(0x291)]=y;
|
|
1
|
+
'use strict';const _0x4de2af=_0x40ed;(function(_0x20847f,_0x1d64e2){const _0x8e302c=_0x40ed,_0x29be89=_0x20847f();while(!![]){try{const _0x15efb4=parseInt(_0x8e302c(0x1c6))/0x1*(-parseInt(_0x8e302c(0x1f7))/0x2)+-parseInt(_0x8e302c(0x1a4))/0x3*(parseInt(_0x8e302c(0x12f))/0x4)+parseInt(_0x8e302c(0x168))/0x5+-parseInt(_0x8e302c(0x1e9))/0x6+-parseInt(_0x8e302c(0x16e))/0x7+parseInt(_0x8e302c(0x131))/0x8*(-parseInt(_0x8e302c(0x1fc))/0x9)+-parseInt(_0x8e302c(0x144))/0xa*(-parseInt(_0x8e302c(0x210))/0xb);if(_0x15efb4===_0x1d64e2)break;else _0x29be89['push'](_0x29be89['shift']());}catch(_0x4632ea){_0x29be89['push'](_0x29be89['shift']());}}}(_0x4fa8,0x98ef4));var x=Object[_0x4de2af(0x1fe)],A=(_0x42b1a9,_0x2fd7a7,_0x505db4)=>_0x2fd7a7 in _0x42b1a9?x(_0x42b1a9,_0x2fd7a7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x505db4}):_0x42b1a9[_0x2fd7a7]=_0x505db4,S=(_0xc87504,_0x54a20e,_0x3921cd)=>A(_0xc87504,typeof _0x54a20e!=_0x4de2af(0x18a)?_0x54a20e+'':_0x54a20e,_0x3921cd);Object['defineProperty'](exports,Symbol[_0x4de2af(0x213)],{'value':_0x4de2af(0x1d1)});const E=require('@univerjs-pro/license'),o=require('@univerjs/core'),C=require('@univerjs-pro/collaboration'),y=require('@univerjs-pro/collaboration-client'),P=require('@univerjs/design'),I=require('react'),h=require('@univerjs/ui'),w=require('rxjs'),d=require('@univerjs/sheets'),m=require('@univerjs-pro/edit-history-viewer'),V=require('@univerjs-pro/sheets-chart'),G=require('@univerjs-pro/sheets-chart-ui'),Y=require('@univerjs-pro/sheets-pivot'),K=require('@univerjs-pro/sheets-shape'),W=require('@univerjs-pro/sheets-shape-ui'),B=require('@univerjs-pro/sheets-sparkline'),z=require('@univerjs-pro/sheets-sparkline-ui'),Z=require('@univerjs/data-validation'),J=require('@univerjs/docs'),Q=require('@univerjs/docs-ui'),M=require('@univerjs/drawing'),X=require('@univerjs/drawing-ui'),ee=require('@univerjs/engine-formula'),ie=require('@univerjs/engine-render'),te=require('@univerjs/network'),N=require('@univerjs/rpc'),re=require('@univerjs/sheets-conditional-formatting'),ne=require('@univerjs/sheets-conditional-formatting-ui'),se=require('@univerjs/sheets-data-validation'),oe=require('@univerjs/sheets-data-validation-ui'),ae=require('@univerjs/sheets-drawing'),ce=require('@univerjs/sheets-drawing-ui'),le=require('@univerjs/sheets-filter'),ue=require('@univerjs/sheets-filter-ui'),he=require('@univerjs/sheets-formula'),ge=require('@univerjs/sheets-formula-ui'),ve=require('@univerjs/sheets-hyper-link'),de=require('@univerjs/sheets-hyper-link-ui'),_e=require('@univerjs/sheets-numfmt'),O=require('@univerjs/sheets-ui'),b='edit-history-loader.config',R={};function _0x4fa8(){const _0x39127c=['darkMode$','UniverSheetsChartUIPlugin','length','executeCommand','xlink:href','IImageIoService','block','style','3mjRQYD','eventID','uComp','RibbonStartGroup','dispose','IUniverInstanceService','use','HistoryModeStatus','UniverSheetsHyperLinkUIPlugin','IPermissionService','currentColor','_injector','IDialogService','displayName','status$','mountHistoryContent','UniverRPCMainThreadPlugin','UniverSheetsConditionalFormattingUIPlugin','forwardRef','next','WorkbookRecoverHistoryPermission','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_dialogService','forEach','onStarting','UniverSheetsDrawingUIPlugin','CollaborationStatus','ICommandService','OPERATION','Entered','_sidebarService','historyPanelComponentKey','_messageService','trim','12447DiQHqa','UniverSheetsHyperLinkPlugin','every','ThemeService','composePermission','event$','UniverDrawingUIPlugin','Univer','_initContainer','Disposable','historyListServerUrl','Module','UniverEditHistoryLoaderPlugin','UniverDrawingPlugin','IAuthzIoService','Error','from','substring','UniverSheetsFormulaUIPlugin','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','set','UniverInstanceType','state$','fill','ComponentManager','UniverSheetsConditionalFormattingPlugin','session','Injector','unsubscribe','CHANGESET_ACK','includes','_historyManagerService','getCollabEntity','unMountHistoryContent','mergeMenu','5475378GOYQLz','CollaborationController','_localCacheService','exhaustSavingTask','_pluginMap','onSteady','editHistory.panel.title','idSuffix','children','AuthzIoHttpService','UniverDocsUIPlugin','getOwnPropertyDescriptor','UniverNetworkPlugin','appendChild','122Lwmynk','UniverFormulaEnginePlugin','_permissionService','Exited','UniverSheetsDrawingPlugin','18477scBVgI','./worker.js','defineProperty','width','univerjs-icon\x20univerjs-icon-','_selectionProtectionRuleModel','_commandService','UniverDocsPlugin','some','_initListener','useRef','[HistoryLoaderService]:\x20Plugin\x20','disposeWithMe','none','SYNCED','UniverDataValidationPlugin','data','div','url(#history-icon_clip0_907_281)','HistoryIcon','44lQQmUB','_menuManagerService','univer.operation.exit-edit-history','toStringTag','Loading','_initUniver','defs','registerPlugin','PLUGIN_CONFIG_KEY_MAIN_THREAD','editHistory.panel.revertFailed','reload','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','RevertRevisionMutation','setConfig','UNIVER_UNKNOWN','UniverSheetsChartPlugin','invoke','4848468iKagLC','top','2048GbehME','UniverSheetsFilterPlugin','UNIVER_SHEET','string','RxDisposable','dataset','get','_univerInstanceService','toDisposable','_componentManager','UniverSheetsNumfmtPlugin','map','pluginName','getCurrentRangeDisable$','mask','_themeService','UniverEditHistoryViewerPlugin','UniverRenderEnginePlugin','Inject','12011460wIZHim','MessageType','LocaleService','ISidebarService','show','univerContainerId','IConfigService','WorkbookEditablePermission','_disposableCollection','getSheetId','UniverLicensePlugin','getAllPlugins','IMenuManagerService','subscribe','_collaborationController','white','_init','WorksheetEditPermission','getElementById','UniverUIPlugin','attrs','values','path','getSubunitRuleList','Plugin','display','random','RangeProtectionRuleModel','UniverSheetsShapeUIPlugin','editHistory.panel.reverting','getUnit','1000','HistoryLoaderService','UNIVER_CONTAINER_ID_KEY','_revertErrorTimer','getConfig','1568910cwFVdc','history-icon','merge','replace','triggerLoadVersions','add','7577017WesDsl','left','clear','100%','assign','getSheets','colorChannel1','historyUniver','_checkCanRevert','CommandType','params','closeAll','has','onCommandExecuted','close','RangeProtectionPermissionEditPoint','_configService','url(#$1','absolute','UniverSheetSparklineUIPlugin','current','_config','UniverSheetsDataValidationUIPlugin','_initPlugins','menu','M0\x200H16V16H0z','1em','http://www.w3.org/2000/svg','symbol','HistoryManagerService','entries','status','_historyUniver$','getCurrentLocale','univer-history-container','value','historyUniver$','MenuItemType','mutations','_localeService','DisposableCollection','UniverCollaborationPlugin','tag','getSheetCommandTarget','currentTheme$','DependentOn'];_0x4fa8=function(){return _0x39127c;};return _0x4fa8();}function D({ref:_0x3463a9,..._0x367b05}){const _0x4d7137=_0x4de2af,{icon:_0x5ebb3f,id:_0x2229a4,className:_0x185be2,extend:_0x2bfd7c,..._0x3bc0f4}=_0x367b05,_0x2743ee=(_0x4d7137(0x200)+_0x2229a4+'\x20'+(_0x185be2||''))[_0x4d7137(0x1c5)](),_0x9c6edc=I[_0x4d7137(0x206)]('_'+pe());return q(_0x5ebb3f,''+_0x2229a4,{'defIds':_0x5ebb3f['defIds'],'idSuffix':_0x9c6edc[_0x4d7137(0x182)]},{'ref':_0x3463a9,'className':_0x2743ee,..._0x3bc0f4},_0x2bfd7c);}function q(_0x5e80c2,_0x18ebbb,_0x23d3b8,_0x125132,_0x51e050){const _0x41517d=_0x4de2af;return I['createElement'](_0x5e80c2[_0x41517d(0x198)],{'key':_0x18ebbb,...Se(_0x5e80c2,_0x23d3b8,_0x51e050),..._0x125132},(me(_0x5e80c2,_0x23d3b8)[_0x41517d(0x1f1)]||[])[_0x41517d(0x13c)]((_0x4b6764,_0x4b1d23)=>q(_0x4b6764,_0x18ebbb+'-'+_0x5e80c2['tag']+'-'+_0x4b1d23,_0x23d3b8,void 0x0,_0x51e050)));}function Se(_0x22a5c0,_0x3867ec,_0x551825){const _0x13a556=_0x4de2af,_0x3fa7b7={..._0x22a5c0[_0x13a556(0x158)]};_0x551825!=null&&_0x551825[_0x13a556(0x174)]&&_0x3fa7b7['fill']==='colorChannel1'&&(_0x3fa7b7[_0x13a556(0x1dd)]=_0x551825[_0x13a556(0x174)]),_0x22a5c0[_0x13a556(0x198)]===_0x13a556(0x13f)&&_0x3fa7b7['id']&&(_0x3fa7b7['id']=_0x3fa7b7['id']+_0x3867ec[_0x13a556(0x1f0)]),Object['entries'](_0x3fa7b7)[_0x13a556(0x1bb)](([_0x35b05d,_0x4d6583])=>{const _0x2fda93=_0x13a556;_0x35b05d===_0x2fda93(0x13f)&&typeof _0x4d6583=='string'&&(_0x3fa7b7[_0x35b05d]=_0x4d6583[_0x2fda93(0x16b)](/url\(#(.*)\)/,_0x2fda93(0x17f)+_0x3867ec['idSuffix']+')'));});const {defIds:_0x317e83}=_0x3867ec;return!_0x317e83||_0x317e83[_0x13a556(0x19e)]===0x0||(_0x22a5c0[_0x13a556(0x198)]===_0x13a556(0x1aa)&&_0x3fa7b7[_0x13a556(0x1a0)]&&(_0x3fa7b7[_0x13a556(0x1a0)]=_0x3fa7b7['xlink:href']+_0x3867ec[_0x13a556(0x1f0)]),Object[_0x13a556(0x18c)](_0x3fa7b7)[_0x13a556(0x1bb)](([_0x257d7a,_0x20f894])=>{const _0x2f96f0=_0x13a556;typeof _0x20f894==_0x2f96f0(0x134)&&(_0x3fa7b7[_0x257d7a]=_0x20f894[_0x2f96f0(0x16b)](/url\(#(.*)\)/,_0x2f96f0(0x17f)+_0x3867ec['idSuffix']+')'));})),_0x3fa7b7;}function me(_0xd338d7,_0x19ce9e){const _0x5391bc=_0x4de2af;var _0x525e70;const {defIds:_0x221dfe}=_0x19ce9e;return!_0x221dfe||_0x221dfe['length']===0x0?_0xd338d7:_0xd338d7[_0x5391bc(0x198)]===_0x5391bc(0x124)&&((_0x525e70=_0xd338d7[_0x5391bc(0x1f1)])!=null&&_0x525e70[_0x5391bc(0x19e)])?{..._0xd338d7,'children':_0xd338d7['children'][_0x5391bc(0x13c)](_0xf9fc26=>typeof _0xf9fc26['attrs']['id']==_0x5391bc(0x134)&&_0x221dfe&&_0x221dfe[_0x5391bc(0x1e4)](_0xf9fc26[_0x5391bc(0x158)]['id'])?{..._0xf9fc26,'attrs':{..._0xf9fc26[_0x5391bc(0x158)],'id':_0xf9fc26[_0x5391bc(0x158)]['id']+_0x19ce9e[_0x5391bc(0x1f0)]}}:_0xf9fc26)}:_0xd338d7;}function pe(){const _0xc44122=_0x4de2af;return Math[_0xc44122(0x15e)]()['toString'](0x24)[_0xc44122(0x1d7)](0x2,0x8);}D[_0x4de2af(0x1b1)]='UniverIcon';const ye={'tag':'svg','attrs':{'xmlns':_0x4de2af(0x189),'fill':_0x4de2af(0x209),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x4de2af(0x188)},'children':[{'tag':'g','attrs':{'fill':_0x4de2af(0x1ae),'clipPath':_0x4de2af(0x20e)},'children':[{'tag':_0x4de2af(0x15a),'attrs':{'d':_0x4de2af(0x1d9)}},{'tag':_0x4de2af(0x15a),'attrs':{'d':_0x4de2af(0x129)}}]},{'tag':_0x4de2af(0x124),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'history-icon_clip0_907_281'},'children':[{'tag':_0x4de2af(0x15a),'attrs':{'fill':_0x4de2af(0x153),'d':_0x4de2af(0x187)}}]}]}],'defIds':['history-icon_clip0_907_281']},k=I[_0x4de2af(0x1b6)](function(_0x1c91f6,_0x166f71){const _0x39410e=_0x4de2af;return I['createElement'](D,Object[_0x39410e(0x172)]({},_0x1c91f6,{'id':_0x39410e(0x169),'ref':_0x166f71,'icon':ye}));});k[_0x4de2af(0x1b1)]=_0x4de2af(0x20f);var fe=Object[_0x4de2af(0x1f4)],Ce=(_0x272575,_0x53fa7c,_0x2b4e4a,_0x5e9e17)=>{for(var _0x2ad2ba=_0x5e9e17>0x1?void 0x0:_0x5e9e17?fe(_0x53fa7c,_0x2b4e4a):_0x53fa7c,_0x506e41=_0x272575['length']-0x1,_0x1f0318;_0x506e41>=0x0;_0x506e41--)(_0x1f0318=_0x272575[_0x506e41])&&(_0x2ad2ba=_0x1f0318(_0x2ad2ba)||_0x2ad2ba);return _0x2ad2ba;},g=(_0x19cd59,_0x2d120b)=>(_0x2fe74e,_0xedf447)=>_0x2d120b(_0x2fe74e,_0xedf447,_0x19cd59);const Ie='univer-container',H='UNIVER_CONTAINER_ID',p=_0x4de2af(0x190);exports[_0x4de2af(0x164)]=class extends o[_0x4de2af(0x1cf)]{constructor(_0x2ba558,_0x2a864f,_0x5d141b,_0x176d52,_0x4c1bbb,_0x50305d,_0x4615a1,_0x1cb545,_0x592ed0,_0x210106){const _0x5b05bb=_0x4de2af;super(),S(this,'_historyUniver$',new w['BehaviorSubject'](null)),S(this,_0x5b05bb(0x192),this['_historyUniver$']['asObservable']()),S(this,_0x5b05bb(0x14c),new o[(_0x5b05bb(0x196))]()),S(this,_0x5b05bb(0x1ed),new Map()),(this[_0x5b05bb(0x195)]=_0x2ba558,this[_0x5b05bb(0x138)]=_0x2a864f,this[_0x5b05bb(0x17e)]=_0x5d141b,this[_0x5b05bb(0x202)]=_0x176d52,this['_messageService']=_0x4c1bbb,this[_0x5b05bb(0x1f9)]=_0x50305d,this[_0x5b05bb(0x201)]=_0x4615a1,this[_0x5b05bb(0x1ba)]=_0x1cb545,this[_0x5b05bb(0x1c2)]=_0x592ed0,this[_0x5b05bb(0x140)]=_0x210106,this[_0x5b05bb(0x154)]());}get[_0x4de2af(0x175)](){const _0x5ef19b=_0x4de2af;return this['_historyUniver$'][_0x5ef19b(0x191)];}[_0x4de2af(0x154)](){const _0x5394e5=_0x4de2af;this['_initContainer'](),this[_0x5394e5(0x185)]();}[_0x4de2af(0x1ce)](){const _0x51940b=_0x4de2af;var _0x1cd469;const _0x32a648=(_0x1cd469=this[_0x51940b(0x17e)][_0x51940b(0x167)](H))!=null?_0x1cd469:Ie,_0x1a2ebd=document[_0x51940b(0x156)](_0x32a648);if(!_0x1a2ebd)return;const _0x2e5bd0=document['createElement'](_0x51940b(0x20d));_0x2e5bd0['id']=p,_0x2e5bd0[_0x51940b(0x136)][_0x51940b(0x1a6)]='history-container',_0x2e5bd0['style']['position']=_0x51940b(0x180),_0x2e5bd0[_0x51940b(0x1a3)][_0x51940b(0x130)]='0',_0x2e5bd0['style'][_0x51940b(0x16f)]='0',_0x2e5bd0[_0x51940b(0x1a3)][_0x51940b(0x1ff)]='100%',_0x2e5bd0[_0x51940b(0x1a3)]['height']=_0x51940b(0x171),_0x2e5bd0[_0x51940b(0x1a3)]['zIndex']=_0x51940b(0x163),_0x2e5bd0[_0x51940b(0x1a3)][_0x51940b(0x15d)]=_0x51940b(0x209),_0x1a2ebd[_0x51940b(0x1f6)](_0x2e5bd0);}[_0x4de2af(0x185)](){const _0x25e4c4=_0x4de2af;var _0x215ca9,_0x1d945f,_0x198b53,_0x552cec;[[ie[_0x25e4c4(0x142)]],[h[_0x25e4c4(0x157)],{'container':p,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[h[_0x25e4c4(0x1b0)],null]]}],[te[_0x25e4c4(0x1f5)]],[M[_0x25e4c4(0x1d3)],{'override':[[M[_0x25e4c4(0x1a1)],null]]}],[J[_0x25e4c4(0x203)],{'hasScroll':!0x1}],[Q[_0x25e4c4(0x1f3)]],[_e[_0x25e4c4(0x13b)]],[d['UniverSheetsPlugin'],{'notExecuteFormula':!0x0}],[O['UniverSheetsUIPlugin']],[he['UniverSheetsFormulaPlugin']],[ge[_0x25e4c4(0x1d8)]],[C[_0x25e4c4(0x197)]],[le[_0x25e4c4(0x132)]],[ue['UniverSheetsFilterUIPlugin']],[re[_0x25e4c4(0x1df)]],[ne[_0x25e4c4(0x1b5)]],[ve[_0x25e4c4(0x1c7)]],[de[_0x25e4c4(0x1ac)]],[Z[_0x25e4c4(0x20b)]],[se['UniverSheetsDataValidationPlugin']],[oe[_0x25e4c4(0x184)]],[ee[_0x25e4c4(0x1f8)],{'notExecuteFormula':!0x0}],[N[_0x25e4c4(0x1b4)],{'workerURL':(_0x1d945f=(_0x215ca9=this[_0x25e4c4(0x17e)][_0x25e4c4(0x167)](N[_0x25e4c4(0x126)]))==null?void 0x0:_0x215ca9['workerURL'])!=null?_0x1d945f:_0x25e4c4(0x1fd)}],[X[_0x25e4c4(0x1cc)]],[ae[_0x25e4c4(0x1fb)]],[ce[_0x25e4c4(0x1bd)]],[B['UniverSheetSparklinePlugin']],[z[_0x25e4c4(0x181)]],[V[_0x25e4c4(0x12d)]],[G[_0x25e4c4(0x19d)]],[K['UniverSheetsShapePlugin']],[W[_0x25e4c4(0x160)]],[Y['UniverSheetsPivotTablePlugin'],{'notExecuteFormula':!0x0}],[m[_0x25e4c4(0x141)],{'historyListServerUrl':(_0x198b53=this[_0x25e4c4(0x17e)][_0x25e4c4(0x167)](b))==null?void 0x0:_0x198b53[_0x25e4c4(0x1d0)],'historyPanelComponentKey':(_0x552cec=this[_0x25e4c4(0x17e)][_0x25e4c4(0x167)](b))==null?void 0x0:_0x552cec[_0x25e4c4(0x1c3)]}]][_0x25e4c4(0x1bb)](([_0x34c971,_0x106058])=>this[_0x25e4c4(0x125)](_0x34c971,_0x106058));}[_0x4de2af(0x1a8)](){const _0x14da89=_0x4de2af;super[_0x14da89(0x1a8)](),this['unMountHistoryContent'](),this['_pluginMap'][_0x14da89(0x170)]();}['registerPlugin'](_0x153a99,_0xc9ba00,_0xaf69f3){const _0x35ddf7=_0x4de2af;if(this[_0x35ddf7(0x1ed)][_0x35ddf7(0x17a)](_0x153a99[_0x35ddf7(0x13d)])&&!_0xaf69f3)throw new Error(_0x35ddf7(0x207)+_0x153a99[_0x35ddf7(0x13d)]+'\x20has\x20been\x20registered.');this[_0x35ddf7(0x1ed)][_0x35ddf7(0x1da)](_0x153a99[_0x35ddf7(0x13d)],[_0x153a99,_0xc9ba00]);}[_0x4de2af(0x14f)](){const _0x4f1833=_0x4de2af;return Array[_0x4f1833(0x1d6)](this[_0x4f1833(0x1ed)][_0x4f1833(0x159)]());}[_0x4de2af(0x1b3)](_0x33c544){const _0x2262bd=_0x4de2af,_0x52d486=document['getElementById'](p);_0x52d486&&(_0x52d486[_0x2262bd(0x1a3)][_0x2262bd(0x15d)]=_0x2262bd(0x1a2),this[_0x2262bd(0x123)](_0x33c544,p));}['unMountHistoryContent'](){const _0x1cb34a=_0x4de2af;var _0x373065;this[_0x1cb34a(0x14c)][_0x1cb34a(0x1a8)](),(_0x373065=this['historyUniver'])==null||_0x373065[_0x1cb34a(0x1a8)](),this[_0x1cb34a(0x18e)][_0x1cb34a(0x1b7)](null);const _0x4bc82a=document[_0x1cb34a(0x156)](p);_0x4bc82a&&(_0x4bc82a[_0x1cb34a(0x1a3)][_0x1cb34a(0x15d)]=_0x1cb34a(0x209));}[_0x4de2af(0x123)](_0x7369b,_0x2b9d11){const _0x3589c4=_0x4de2af;if(this[_0x3589c4(0x175)])return;const _0x3991af=new o[(_0x3589c4(0x1cd))]({'locales':{[this[_0x3589c4(0x195)][_0x3589c4(0x18f)]()]:this[_0x3589c4(0x195)]['getLocales']()},'override':[[o[_0x3589c4(0x1d4)],{'useClass':y[_0x3589c4(0x1f2)]}]]}),_0x153787=_0x3991af['__getInjector']();this[_0x3589c4(0x208)](this[_0x3589c4(0x140)][_0x3589c4(0x19c)]['subscribe'](_0x5aa7ad=>{const _0x58c905=_0x3589c4;_0x153787[_0x58c905(0x137)](o[_0x58c905(0x1c9)])['setDarkMode'](_0x5aa7ad);})),this[_0x3589c4(0x208)](this['_themeService'][_0x3589c4(0x19a)]['subscribe'](_0x531ce9=>{const _0xbf30e5=_0x3589c4;_0x153787[_0xbf30e5(0x137)](o[_0xbf30e5(0x1c9)])['setTheme'](_0x531ce9);})),_0x153787[_0x3589c4(0x137)](o[_0x3589c4(0x146)])['setLocale'](this[_0x3589c4(0x195)][_0x3589c4(0x18f)]()),_0x153787[_0x3589c4(0x137)](o[_0x3589c4(0x14a)])[_0x3589c4(0x12b)](y[_0x3589c4(0x1b9)],this[_0x3589c4(0x17e)][_0x3589c4(0x167)](y[_0x3589c4(0x1b9)]));const _0x1f1b49=this[_0x3589c4(0x17e)][_0x3589c4(0x167)](E['LS_CONFIG_KEY']);_0x1f1b49&&_0x3991af[_0x3589c4(0x125)](E['UniverLicensePlugin'],{'license':_0x1f1b49['ls']}),this[_0x3589c4(0x1ed)][_0x3589c4(0x1bb)](([_0x27e8a2,_0x5ade1c])=>{const _0x1d59f9=_0x3589c4;_0x3991af[_0x1d59f9(0x125)](_0x27e8a2,_0x5ade1c);}),_0x153787[_0x3589c4(0x12e)](_0x4e62e2=>{this['_initListener'](_0x4e62e2,_0x7369b);}),this[_0x3589c4(0x18e)][_0x3589c4(0x1b7)](_0x3991af);const _0xc713fe=_0x153787[_0x3589c4(0x137)](m['HistoryManagerService']),_0x5ca61d=this[_0x3589c4(0x176)](_0x7369b);_0xc713fe[_0x3589c4(0x16c)](_0x7369b,_0x2b9d11,_0x5ca61d);}[_0x4de2af(0x205)](_0x94af6,_0x4cb052){const _0x2c2f03=_0x4de2af,_0x439365=_0x94af6[_0x2c2f03(0x137)](m[_0x2c2f03(0x18b)]);this[_0x2c2f03(0x14c)][_0x2c2f03(0x16d)](_0x439365[_0x2c2f03(0x1b2)]['subscribe'](_0x3946a3=>{const _0x146c09=_0x2c2f03;switch(_0x3946a3){case m[_0x146c09(0x1ab)][_0x146c09(0x1c1)]:this[_0x146c09(0x1ba)][_0x146c09(0x179)](),this[_0x146c09(0x1c2)][_0x146c09(0x17c)]();break;case m['HistoryModeStatus'][_0x146c09(0x1fa)]:this[_0x146c09(0x202)]['executeCommand']($['id']),this['unMountHistoryContent']();break;case m[_0x146c09(0x1ab)][_0x146c09(0x1d5)]:this[_0x146c09(0x1e7)](),this['_messageService'][_0x146c09(0x148)]({'content':this[_0x146c09(0x195)]['t']('editHistory.panel.listFetchError'),'type':P[_0x146c09(0x145)]['Error'],'duration':0xbb8});break;}})),this[_0x2c2f03(0x14c)]['add'](_0x439365['revertRevision$'][_0x2c2f03(0x151)](async _0x2efe39=>{const _0x15052a=_0x2c2f03;_0x2efe39&&this[_0x15052a(0x202)][_0x15052a(0x19f)](C['RevertRevisionMutation']['id'],{'unitId':_0x4cb052,'revision':_0x2efe39});}));}[_0x4de2af(0x176)](_0x59de89){const _0x36b9dd=_0x4de2af,_0x49f794=this[_0x36b9dd(0x138)][_0x36b9dd(0x162)](_0x59de89)[_0x36b9dd(0x173)]()[_0x36b9dd(0x13c)](_0x2b06ac=>_0x2b06ac[_0x36b9dd(0x14d)]()),_0x2c12c3=new d[(_0x36b9dd(0x14b))](_0x59de89)['id'],_0x517b90=_0x49f794['map'](_0x213eda=>new d[(_0x36b9dd(0x155))](_0x59de89,_0x213eda)['id']),_0x409bda=_0x49f794[_0x36b9dd(0x13c)](_0x5647de=>this[_0x36b9dd(0x201)][_0x36b9dd(0x15b)](_0x59de89,_0x5647de)['map'](_0x1428d5=>new d[(_0x36b9dd(0x17d))](_0x59de89,_0x5647de,_0x1428d5['permissionId'])['id']))['flat'](),_0x24a629=new d[(_0x36b9dd(0x1b8))](_0x59de89)['id'];return this[_0x36b9dd(0x1f9)][_0x36b9dd(0x1ca)]([_0x2c12c3,..._0x517b90,..._0x409bda,_0x24a629])[_0x36b9dd(0x1c8)](_0x3b916d=>!!_0x3b916d[_0x36b9dd(0x191)]);}},exports[_0x4de2af(0x164)]=Ce([g(0x0,o[_0x4de2af(0x143)](o[_0x4de2af(0x146)])),g(0x1,o[_0x4de2af(0x1a9)]),g(0x2,o[_0x4de2af(0x14a)]),g(0x3,o[_0x4de2af(0x1bf)]),g(0x4,h['IMessageService']),g(0x5,o[_0x4de2af(0x1ad)]),g(0x6,o['Inject'](d[_0x4de2af(0x15f)])),g(0x7,o[_0x4de2af(0x143)](h['IDialogService'])),g(0x8,o[_0x4de2af(0x143)](h[_0x4de2af(0x147)])),g(0x9,o[_0x4de2af(0x143)](o[_0x4de2af(0x1c9)]))],exports[_0x4de2af(0x164)]);const L={'id':'univer.operation.toggle-edit-history','type':o[_0x4de2af(0x177)][_0x4de2af(0x1c0)],'handler':_0x23e429=>{const _0x2161ed=_0x4de2af,_0x3fc191=_0x23e429[_0x2161ed(0x137)](exports[_0x2161ed(0x164)]),_0x181686=_0x23e429[_0x2161ed(0x137)](o[_0x2161ed(0x1a9)]),{unitId:_0x219866}=d[_0x2161ed(0x199)](_0x181686)||{};return _0x219866?(_0x3fc191[_0x2161ed(0x1b3)](_0x219866),!0x0):!0x1;}},$={'id':_0x4de2af(0x212),'type':o[_0x4de2af(0x177)][_0x4de2af(0x1c0)],'handler':()=>!0x0};function Ue(_0x2f1390){const _0x55b747=_0x4de2af;return{'id':L['id'],'type':h[_0x55b747(0x193)]['BUTTON'],'icon':'HistoryIcon','tooltip':_0x55b747(0x1ef),'hidden$':h['getMenuHiddenObservable'](_0x2f1390,o[_0x55b747(0x1db)][_0x55b747(0x133)]),'disabled$':O[_0x55b747(0x13e)](_0x2f1390,{'workbookTypes':[d[_0x55b747(0x14b)],d['WorkbookViewHistoryPermission']],'worksheetTypes':[],'rangeTypes':[]})};}const Ee={[h[_0x4de2af(0x1a7)]['OTHERS']]:{[L['id']]:{'order':0.2,'menuItemFactory':Ue}}};var Pe=Object[_0x4de2af(0x1f4)],be=(_0x528a68,_0x28036c,_0x1e4c53,_0x40edbe)=>{const _0xfec866=_0x4de2af;for(var _0x1e2a74=_0x40edbe>0x1?void 0x0:_0x40edbe?Pe(_0x28036c,_0x1e4c53):_0x28036c,_0x3c2ca2=_0x528a68[_0xfec866(0x19e)]-0x1,_0x1d37b1;_0x3c2ca2>=0x0;_0x3c2ca2--)(_0x1d37b1=_0x528a68[_0x3c2ca2])&&(_0x1e2a74=_0x1d37b1(_0x1e2a74)||_0x1e2a74);return _0x1e2a74;},_=(_0x284080,_0x24f2cd)=>(_0x4d8be8,_0x55946a)=>_0x24f2cd(_0x4d8be8,_0x55946a,_0x284080);let U=class extends o[_0x4de2af(0x135)]{constructor(_0x16f4be,_0x4dd438,_0x3ea67d,_0x4fa44b,_0x48cefd,_0x50dbeb,_0x24003b,_0xd6e6c0){const _0x3774ac=_0x4de2af;super(),S(this,_0x3774ac(0x166),null),(this[_0x3774ac(0x202)]=_0x16f4be,this['_menuManagerService']=_0x4dd438,this[_0x3774ac(0x13a)]=_0x3ea67d,this[_0x3774ac(0x1e5)]=_0x4fa44b,this[_0x3774ac(0x195)]=_0x48cefd,this['_messageService']=_0x50dbeb,this[_0x3774ac(0x152)]=_0x24003b,this['_localCacheService']=_0xd6e6c0,this['_init']());}[_0x4de2af(0x154)](){const _0x2f17e2=_0x4de2af;[L,$]['forEach'](_0x3aec24=>this[_0x2f17e2(0x208)](o[_0x2f17e2(0x139)](this['_commandService']['registerCommand'](_0x3aec24)))),this[_0x2f17e2(0x208)](this[_0x2f17e2(0x13a)]['register'](_0x2f17e2(0x20f),k)),this[_0x2f17e2(0x211)][_0x2f17e2(0x1e8)](Ee),this[_0x2f17e2(0x208)](this[_0x2f17e2(0x202)][_0x2f17e2(0x17b)](_0x3afdff=>{const _0x5ae01e=_0x2f17e2;if(_0x3afdff['id']===C[_0x5ae01e(0x12a)]['id']){this[_0x5ae01e(0x1c4)][_0x5ae01e(0x148)]({'content':this[_0x5ae01e(0x195)]['t'](_0x5ae01e(0x161)),'type':P['MessageType'][_0x5ae01e(0x122)],'duration':0x1388});const {unitId:_0x5ebc7f}=_0x3afdff[_0x5ae01e(0x178)],_0x2bd949=this['_collaborationController'][_0x5ae01e(0x1e6)](_0x5ebc7f),_0x1910fb=w['combineLatest']([_0x2bd949[_0x5ae01e(0x1e0)][_0x5ae01e(0x1cb)],_0x2bd949[_0x5ae01e(0x1dc)]])[_0x5ae01e(0x151)](async([_0x59849f,_0x4f0682])=>{const _0x5aa89f=_0x5ae01e;var _0xa89597;_0x59849f[_0x5aa89f(0x1a5)]===C['CollaborationEvent'][_0x5aa89f(0x1e3)]&&(_0x4f0682==null?void 0x0:_0x4f0682[_0x5aa89f(0x18d)])===y[_0x5aa89f(0x1be)][_0x5aa89f(0x20a)]&&_0x59849f[_0x5aa89f(0x20c)][_0x5aa89f(0x194)][_0x5aa89f(0x204)](_0x3d650c=>_0x3d650c['id']===C['RevertRevisionMutation']['id'])&&(this[_0x5aa89f(0x1e5)]['unMountHistoryContent'](),_0x1910fb['unsubscribe'](),this[_0x5aa89f(0x166)]&&clearTimeout(this['_revertErrorTimer']),await((_0xa89597=this[_0x5aa89f(0x1eb)])==null?void 0x0:_0xa89597[_0x5aa89f(0x1ec)]()),setTimeout(()=>window['location'][_0x5aa89f(0x128)]()));});this[_0x5ae01e(0x166)]=setTimeout(()=>{const _0x36fe35=_0x5ae01e;_0x1910fb[_0x36fe35(0x1e2)](),this[_0x36fe35(0x1c4)][_0x36fe35(0x148)]({'content':this[_0x36fe35(0x195)]['t'](_0x36fe35(0x127)),'type':P[_0x36fe35(0x145)][_0x36fe35(0x1d5)],'duration':0xbb8});},0x1388);}}));}};U=be([_(0x0,o['ICommandService']),_(0x1,h[_0x4de2af(0x150)]),_(0x2,o[_0x4de2af(0x143)](h[_0x4de2af(0x1de)])),_(0x3,o[_0x4de2af(0x143)](exports[_0x4de2af(0x164)])),_(0x4,o[_0x4de2af(0x143)](o['LocaleService'])),_(0x5,h['IMessageService']),_(0x6,o[_0x4de2af(0x143)](y[_0x4de2af(0x1ea)])),_(0x7,y['ILocalCacheService'])],U);var He=Object[_0x4de2af(0x1fe)],Le=Object[_0x4de2af(0x1f4)],Me=(_0x275ada,_0x575ea0,_0xad6caf)=>_0x575ea0 in _0x275ada?He(_0x275ada,_0x575ea0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xad6caf}):_0x275ada[_0x575ea0]=_0xad6caf,Ne=(_0x2a7d81,_0x16849c,_0x56c404,_0x54f33c)=>{const _0x27da76=_0x4de2af;for(var _0x4ec6a4=_0x54f33c>0x1?void 0x0:_0x54f33c?Le(_0x16849c,_0x56c404):_0x16849c,_0x41a7f5=_0x2a7d81[_0x27da76(0x19e)]-0x1,_0x14e3ff;_0x41a7f5>=0x0;_0x41a7f5--)(_0x14e3ff=_0x2a7d81[_0x41a7f5])&&(_0x4ec6a4=_0x14e3ff(_0x4ec6a4)||_0x4ec6a4);return _0x4ec6a4;},T=(_0xa73cc5,_0x1ba8e7)=>(_0x459049,_0x441b7a)=>_0x1ba8e7(_0x459049,_0x441b7a,_0xa73cc5),F=(_0x1112cd,_0x505838,_0x5eb2ab)=>Me(_0x1112cd,typeof _0x505838!=_0x4de2af(0x18a)?_0x505838+'':_0x505838,_0x5eb2ab);function _0x40ed(_0x512b6c,_0x2a7375){_0x512b6c=_0x512b6c-0x122;const _0x4fa875=_0x4fa8();let _0x40ed5b=_0x4fa875[_0x512b6c];return _0x40ed5b;}const Re='UNIVER_EDIT_HISTORY_LOADER_PLUGIN';exports[_0x4de2af(0x1d2)]=class extends o[_0x4de2af(0x15c)]{constructor(_0x54809e=R,_0x4cbd59,_0x2d38bd){const _0x3ca6e8=_0x4de2af;super(),this[_0x3ca6e8(0x183)]=_0x54809e,this['_injector']=_0x4cbd59,this[_0x3ca6e8(0x17e)]=_0x2d38bd;const {menu:_0x141526,..._0x41444c}=o[_0x3ca6e8(0x16a)]({},R,this[_0x3ca6e8(0x183)]);_0x141526&&this[_0x3ca6e8(0x17e)][_0x3ca6e8(0x12b)](_0x3ca6e8(0x186),_0x141526,{'merge':!0x0}),this[_0x3ca6e8(0x17e)][_0x3ca6e8(0x12b)](b,_0x41444c),this[_0x3ca6e8(0x183)]['univerContainerId']&&this[_0x3ca6e8(0x17e)][_0x3ca6e8(0x12b)](H,this[_0x3ca6e8(0x183)][_0x3ca6e8(0x149)]);}[_0x4de2af(0x1bc)](){const _0x2ada4e=_0x4de2af;[[exports['HistoryLoaderService']],[U]][_0x2ada4e(0x1bb)](_0x500ed7=>this[_0x2ada4e(0x1af)]['add'](_0x500ed7));}[_0x4de2af(0x1ee)](){const _0x165033=_0x4de2af;this[_0x165033(0x1af)][_0x165033(0x137)](U);}},F(exports[_0x4de2af(0x1d2)],'type',o['UniverInstanceType'][_0x4de2af(0x12c)]),F(exports[_0x4de2af(0x1d2)],_0x4de2af(0x13d),Re),exports[_0x4de2af(0x1d2)]=Ne([o[_0x4de2af(0x19b)](E[_0x4de2af(0x14e)]),T(0x1,o[_0x4de2af(0x143)](o[_0x4de2af(0x1e1)])),T(0x2,o[_0x4de2af(0x14a)])],exports[_0x4de2af(0x1d2)]),exports[_0x4de2af(0x165)]=H,exports['UNIVER_HISTORY_CONTAINER_ID']=p;
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x43485c=_0x5bc7;(function(_0x2ec73b,_0x251f07){const _0x3f7f32=_0x5bc7,_0x348094=_0x2ec73b();while(!![]){try{const _0x323652=parseInt(_0x3f7f32(0x1e1))/0x1+parseInt(_0x3f7f32(0x24a))/0x2*(-parseInt(_0x3f7f32(0x20e))/0x3)+-parseInt(_0x3f7f32(0x27c))/0x4*(parseInt(_0x3f7f32(0x28a))/0x5)+-parseInt(_0x3f7f32(0x22d))/0x6*(-parseInt(_0x3f7f32(0x26d))/0x7)+-parseInt(_0x3f7f32(0x24d))/0x8*(parseInt(_0x3f7f32(0x204))/0x9)+-parseInt(_0x3f7f32(0x21b))/0xa*(parseInt(_0x3f7f32(0x27a))/0xb)+parseInt(_0x3f7f32(0x1ed))/0xc*(parseInt(_0x3f7f32(0x235))/0xd);if(_0x323652===_0x251f07)break;else _0x348094['push'](_0x348094['shift']());}catch(_0x3fa35e){_0x348094['push'](_0x348094['shift']());}}}(_0x1dd9,0x8cc0d));var Y=Object['defineProperty'],B=(_0x5e61f8,_0x1a2363,_0x2502af)=>_0x1a2363 in _0x5e61f8?Y(_0x5e61f8,_0x1a2363,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2502af}):_0x5e61f8[_0x1a2363]=_0x2502af,g=(_0x33cb56,_0x4471e4,_0x174f32)=>B(_0x33cb56,typeof _0x4471e4!=_0x43485c(0x1ec)?_0x4471e4+'':_0x4471e4,_0x174f32);import{Inject as _0x40903e,LocaleService as _0x3b9931,IUniverInstanceService as _0x223bbe,IConfigService as _0x51a1d6,ICommandService as _0x3e4b94,IPermissionService as _0x27501e,ThemeService as _0x3da679,Disposable as _0xbdf249,DisposableCollection as _0xc9a98,Univer as _0x3c8338,IAuthzIoService as _0x38de49,CommandType as _0x2b551e,UniverInstanceType as _0x49ca58,RxDisposable as _0x2794d8,toDisposable as _0x34f19d,Plugin as _0x7f0162,merge as _0x4ef9cf,Injector as _0x59122a}from'@univerjs/core';import{UniverCollaborationPlugin as _0x23d1d6,RevertRevisionMutation as _0x498d90,CollaborationEvent as _0x4b273b}from'@univerjs-pro/collaboration';import{AuthzIoHttpService as _0x29c13c,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x8a06f,CollaborationController as _0x5627b9,ILocalCacheService as _0x2479ba,CollaborationStatus as _0x3db6ac}from'@univerjs-pro/collaboration-client';import{MessageType as _0x2a24d6}from'@univerjs/design';import{useRef as _0x4d095e,createElement as _0x2d9e1e,forwardRef as _0x7fcd04}from'react';import{IMessageService as _0x42831f,IDialogService as _0x34611a,ISidebarService as _0x5120a6,UniverUIPlugin as _0x19d475,getMenuHiddenObservable as _0x353c5e,MenuItemType as _0x4c45df,RibbonStartGroup as _0xaaa7bb,IMenuManagerService as _0x50cef2,ComponentManager as _0x411ec7}from'@univerjs/ui';import{BehaviorSubject as _0x4b5f8d,combineLatest as _0x53223f}from'rxjs';import{RangeProtectionRuleModel as _0x18a08d,UniverSheetsPlugin as _0x34ad30,WorkbookEditablePermission as _0x14748c,WorksheetEditPermission as _0xbffc01,RangeProtectionPermissionEditPoint as _0x2475bc,WorkbookRecoverHistoryPermission as _0x30f35a,getSheetCommandTarget as _0x3f672e,WorkbookViewHistoryPermission as _0x581a7d}from'@univerjs/sheets';import{UniverEditHistoryViewerPlugin as _0x51b49c,HistoryManagerService as _0x56ebbd,HistoryModeStatus as _0x2827d6}from'@univerjs-pro/edit-history-viewer';import{LS_CONFIG_KEY as _0x3f5be0,UniverLicensePlugin as _0x272c0d}from'@univerjs-pro/license';import{UniverSheetsChartPlugin as _0x3752f6}from'@univerjs-pro/sheets-chart';function _0x5bc7(_0x3217ae,_0x44f4c4){_0x3217ae=_0x3217ae-0x1dd;const _0x1dd92f=_0x1dd9();let _0x5bc705=_0x1dd92f[_0x3217ae];return _0x5bc705;}import{UniverSheetsChartUIPlugin as _0x5f3192}from'@univerjs-pro/sheets-chart-ui';import{UniverSheetsPivotTablePlugin as _0x90a901}from'@univerjs-pro/sheets-pivot';import{UniverSheetSparklinePlugin as _0x44a211}from'@univerjs-pro/sheets-sparkline';import{UniverSheetSparklineUIPlugin as _0x28e471}from'@univerjs-pro/sheets-sparkline-ui';import{UniverDataValidationPlugin as _0x35c63f}from'@univerjs/data-validation';import{UniverDocsPlugin as _0xc5f276}from'@univerjs/docs';import{UniverDocsUIPlugin as _0x9e975a}from'@univerjs/docs-ui';import{UniverDrawingPlugin as _0x83924f,IImageIoService as _0xdc2a12}from'@univerjs/drawing';import{UniverDrawingUIPlugin as _0x4aba90}from'@univerjs/drawing-ui';import{UniverFormulaEnginePlugin as _0x27515d}from'@univerjs/engine-formula';import{UniverRenderEnginePlugin as _0x1bbfdc}from'@univerjs/engine-render';import{UniverNetworkPlugin as _0x2ae0f6}from'@univerjs/network';import{UniverRPCMainThreadPlugin as _0x510c1c,PLUGIN_CONFIG_KEY_MAIN_THREAD as _0x4d5dce}from'@univerjs/rpc';import{UniverSheetsConditionalFormattingPlugin as _0x4897d4}from'@univerjs/sheets-conditional-formatting';import{UniverSheetsConditionalFormattingUIPlugin as _0x10437e}from'@univerjs/sheets-conditional-formatting-ui';function _0x1dd9(){const _0x2e2f6d=['invoke','40gXlFon','_historyManagerService','http://www.w3.org/2000/svg','type','zIndex','getSheetId','onCommandExecuted','setTheme','tag','assign','url(#history-icon_clip0_907_281)','currentColor','revertRevision$','location','getAllPlugins','getLocales','get','attrs','2742rabduu','flat','_initPlugins','width','values','params','includes','_initUniver','2678ZTyAYW','string','add','mask','close','use','defIds','CHANGESET_ACK','onStarting','_permissionService','_configService','edit-history-loader.config','next','0\x200\x2016\x2016','setConfig','registerCommand','substring','Exited','historyUniver$','onSteady','disposeWithMe','22VXZblb','_config','event$','7459528GgorOp','displayName','\x20has\x20been\x20registered.','defs','UNIVER_UNKNOWN','colorChannel1','subscribe','getUnit','UNIVER_CONTAINER_ID','style','setLocale','unsubscribe','unMountHistoryContent','editHistory.panel.title','_dialogService','value','_revertErrorTimer','[HistoryLoaderService]:\x20Plugin\x20','set','setDarkMode','1em','_init','mountHistoryContent','_localCacheService','getElementById','_selectionProtectionRuleModel','permissionId','_pluginMap','_themeService','currentTheme$','univerContainerId','register','4487kMwcQM','url(#$1','closeAll','mutations','executeCommand','getCurrentLocale','asObservable','editHistory.panel.listFetchError','pluginName','forEach','_localeService','_commandService','some','1680514cbTzem','idSuffix','236cLiRYc','OPERATION','position','_injector','historyListServerUrl','path','uComp','Error','_sidebarService','data','1000','_menuManagerService','univer.operation.toggle-edit-history','UNIVER_SHEET','58630iUVYeF','status$','fill','none','clear','249588bHMiQm','editHistory.panel.revertFailed','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','_univerInstanceService','univer-history-container','getConfig','history-icon_clip0_907_281','every','length','darkMode$','_historyUniver$','symbol','145356pcASMc','map','white','composePermission','_initContainer','getSheets','UniverIcon','div','_messageService','history-container','getCollabEntity','triggerLoadVersions','display','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','svg','editHistory.panel.reverting','historyPanelComponentKey','dispose','absolute','trim','status','random','registerPlugin','9RsOUpd','./worker.js','univer-container','replace','_componentManager','__getInjector','_collaborationController','history-icon','show','_disposableCollection','61611MyhuCd','_initListener','appendChild','_checkCanRevert','HistoryIcon','Loading','historyUniver','entries','clipPath','xlink:href','children','SYNCED'];_0x1dd9=function(){return _0x2e2f6d;};return _0x1dd9();}import{UniverSheetsDataValidationPlugin as _0x5bea24}from'@univerjs/sheets-data-validation';import{UniverSheetsDataValidationUIPlugin as _0x4645fa}from'@univerjs/sheets-data-validation-ui';import{UniverSheetsDrawingPlugin as _0x469c49}from'@univerjs/sheets-drawing';import{UniverSheetsDrawingUIPlugin as _0xc96a6e}from'@univerjs/sheets-drawing-ui';import{UniverSheetsFilterPlugin as _0x5fc771}from'@univerjs/sheets-filter';import{UniverSheetsFilterUIPlugin as _0x378c3c}from'@univerjs/sheets-filter-ui';import{UniverSheetsFormulaPlugin as _0x5eb8b4}from'@univerjs/sheets-formula';import{UniverSheetsFormulaUIPlugin as _0x11320b}from'@univerjs/sheets-formula-ui';import{UniverSheetsHyperLinkPlugin as _0xb9bda4}from'@univerjs/sheets-hyper-link';import{UniverSheetsHyperLinkUIPlugin as _0xfa480c}from'@univerjs/sheets-hyper-link-ui';import{UniverSheetsNumfmtPlugin as _0x4882f}from'@univerjs/sheets-numfmt';import{UniverSheetsUIPlugin as _0x336260,getCurrentRangeDisable$ as _0x550398}from'@univerjs/sheets-ui';const U=_0x43485c(0x240),N={};function F({ref:_0x3f9f1d,..._0x269133}){const _0x333750=_0x43485c,{icon:_0x3ca006,id:_0x2ca2c2,className:_0x51bc38,extend:_0x538de3,..._0x4abe91}=_0x269133,_0x18c011=('univerjs-icon\x20univerjs-icon-'+_0x2ca2c2+'\x20'+(_0x51bc38||''))[_0x333750(0x200)](),_0x2478a3=_0x4d095e('_'+hi());return j(_0x3ca006,''+_0x2ca2c2,{'defIds':_0x3ca006[_0x333750(0x23b)],'idSuffix':_0x2478a3['current']},{'ref':_0x3f9f1d,'className':_0x18c011,..._0x4abe91},_0x538de3);}function j(_0x385299,_0x45dadb,_0x2e6cef,_0x386b87,_0xee6c46){const _0x32d168=_0x43485c;return _0x2d9e1e(_0x385299[_0x32d168(0x223)],{'key':_0x45dadb,...ci(_0x385299,_0x2e6cef,_0xee6c46),..._0x386b87},(li(_0x385299,_0x2e6cef)[_0x32d168(0x218)]||[])[_0x32d168(0x1ee)]((_0xfb68b8,_0x243c0c)=>j(_0xfb68b8,_0x45dadb+'-'+_0x385299['tag']+'-'+_0x243c0c,_0x2e6cef,void 0x0,_0xee6c46)));}function ci(_0x30293b,_0x196d51,_0x48098f){const _0x16d56b=_0x43485c,_0x5519db={..._0x30293b[_0x16d56b(0x22c)]};_0x48098f!=null&&_0x48098f[_0x16d56b(0x252)]&&_0x5519db[_0x16d56b(0x1de)]===_0x16d56b(0x252)&&(_0x5519db[_0x16d56b(0x1de)]=_0x48098f[_0x16d56b(0x252)]),_0x30293b[_0x16d56b(0x223)]===_0x16d56b(0x238)&&_0x5519db['id']&&(_0x5519db['id']=_0x5519db['id']+_0x196d51[_0x16d56b(0x27b)]),Object[_0x16d56b(0x215)](_0x5519db)[_0x16d56b(0x276)](([_0x5349ed,_0x44aa0a])=>{const _0x36f9f6=_0x16d56b;_0x5349ed===_0x36f9f6(0x238)&&typeof _0x44aa0a==_0x36f9f6(0x236)&&(_0x5519db[_0x5349ed]=_0x44aa0a[_0x36f9f6(0x207)](/url\(#(.*)\)/,'url(#$1'+_0x196d51[_0x36f9f6(0x27b)]+')'));});const {defIds:_0x14a7c1}=_0x196d51;return!_0x14a7c1||_0x14a7c1['length']===0x0||(_0x30293b[_0x16d56b(0x223)]===_0x16d56b(0x23a)&&_0x5519db[_0x16d56b(0x217)]&&(_0x5519db[_0x16d56b(0x217)]=_0x5519db[_0x16d56b(0x217)]+_0x196d51[_0x16d56b(0x27b)]),Object[_0x16d56b(0x215)](_0x5519db)[_0x16d56b(0x276)](([_0x516313,_0x523643])=>{const _0x15cb2b=_0x16d56b;typeof _0x523643==_0x15cb2b(0x236)&&(_0x5519db[_0x516313]=_0x523643[_0x15cb2b(0x207)](/url\(#(.*)\)/,_0x15cb2b(0x26e)+_0x196d51[_0x15cb2b(0x27b)]+')'));})),_0x5519db;}function li(_0x26cb72,_0x2f91d5){const _0x38c76a=_0x43485c;var _0x44e566;const {defIds:_0x27549c}=_0x2f91d5;return!_0x27549c||_0x27549c[_0x38c76a(0x1e9)]===0x0?_0x26cb72:_0x26cb72['tag']===_0x38c76a(0x250)&&((_0x44e566=_0x26cb72['children'])!=null&&_0x44e566[_0x38c76a(0x1e9)])?{..._0x26cb72,'children':_0x26cb72[_0x38c76a(0x218)][_0x38c76a(0x1ee)](_0x5619ab=>typeof _0x5619ab[_0x38c76a(0x22c)]['id']=='string'&&_0x27549c&&_0x27549c[_0x38c76a(0x233)](_0x5619ab[_0x38c76a(0x22c)]['id'])?{..._0x5619ab,'attrs':{..._0x5619ab[_0x38c76a(0x22c)],'id':_0x5619ab[_0x38c76a(0x22c)]['id']+_0x2f91d5[_0x38c76a(0x27b)]}}:_0x5619ab)}:_0x26cb72;}function hi(){const _0x38dd9c=_0x43485c;return Math[_0x38dd9c(0x202)]()['toString'](0x24)[_0x38dd9c(0x245)](0x2,0x8);}F[_0x43485c(0x24e)]=_0x43485c(0x1f3);const ui={'tag':_0x43485c(0x1fb),'attrs':{'xmlns':_0x43485c(0x21d),'fill':'none','viewBox':_0x43485c(0x242),'width':_0x43485c(0x261),'height':'1em'},'children':[{'tag':'g','attrs':{'fill':_0x43485c(0x226),'clipPath':_0x43485c(0x225)},'children':[{'tag':_0x43485c(0x281),'attrs':{'d':_0x43485c(0x1fa)}},{'tag':_0x43485c(0x281),'attrs':{'d':'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'}}]},{'tag':_0x43485c(0x250),'attrs':{},'children':[{'tag':_0x43485c(0x216),'attrs':{'id':_0x43485c(0x1e7)},'children':[{'tag':_0x43485c(0x281),'attrs':{'fill':_0x43485c(0x1ef),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['history-icon_clip0_907_281']},V=_0x7fcd04(function(_0x5cadb7,_0xb96136){const _0x1f6276=_0x43485c;return _0x2d9e1e(F,Object[_0x1f6276(0x224)]({},_0x5cadb7,{'id':_0x1f6276(0x20b),'ref':_0xb96136,'icon':ui}));});V[_0x43485c(0x24e)]='HistoryIcon';var gi=Object['getOwnPropertyDescriptor'],mi=(_0x557fe5,_0x200a15,_0xd91b7e,_0x30b322)=>{const _0x166b8c=_0x43485c;for(var _0x217597=_0x30b322>0x1?void 0x0:_0x30b322?gi(_0x200a15,_0xd91b7e):_0x200a15,_0x500f32=_0x557fe5[_0x166b8c(0x1e9)]-0x1,_0x126d50;_0x500f32>=0x0;_0x500f32--)(_0x126d50=_0x557fe5[_0x500f32])&&(_0x217597=_0x126d50(_0x217597)||_0x217597);return _0x217597;},l=(_0x38e655,_0x275c52)=>(_0x28bd3b,_0xa81703)=>_0x275c52(_0x28bd3b,_0xa81703,_0x38e655);const vi=_0x43485c(0x206),G=_0x43485c(0x255),d=_0x43485c(0x1e5);let f=class extends _0xbdf249{constructor(_0x6d1025,_0x19f162,_0x3b9900,_0x1b7dc9,_0x36a56a,_0x252bbd,_0x14e209,_0x3dda0c,_0x393396,_0x479d31){const _0xd5edc9=_0x43485c;super(),g(this,_0xd5edc9(0x1eb),new _0x4b5f8d(null)),g(this,_0xd5edc9(0x247),this[_0xd5edc9(0x1eb)][_0xd5edc9(0x273)]()),g(this,'_disposableCollection',new _0xc9a98()),g(this,_0xd5edc9(0x268),new Map()),(this[_0xd5edc9(0x277)]=_0x6d1025,this[_0xd5edc9(0x1e4)]=_0x19f162,this[_0xd5edc9(0x23f)]=_0x3b9900,this[_0xd5edc9(0x278)]=_0x1b7dc9,this[_0xd5edc9(0x1f5)]=_0x36a56a,this[_0xd5edc9(0x23e)]=_0x252bbd,this[_0xd5edc9(0x266)]=_0x14e209,this[_0xd5edc9(0x25b)]=_0x3dda0c,this[_0xd5edc9(0x284)]=_0x393396,this[_0xd5edc9(0x269)]=_0x479d31,this[_0xd5edc9(0x262)]());}get[_0x43485c(0x214)](){const _0x391220=_0x43485c;return this[_0x391220(0x1eb)][_0x391220(0x25c)];}[_0x43485c(0x262)](){const _0x215987=_0x43485c;this[_0x215987(0x1f1)](),this[_0x215987(0x22f)]();}[_0x43485c(0x1f1)](){const _0x1a5aee=_0x43485c;var _0x1c0fbd;const _0x565192=(_0x1c0fbd=this['_configService'][_0x1a5aee(0x1e6)](G))!=null?_0x1c0fbd:vi,_0x508d1a=document[_0x1a5aee(0x265)](_0x565192);if(!_0x508d1a)return;const _0xbdbec1=document['createElement'](_0x1a5aee(0x1f4));_0xbdbec1['id']=d,_0xbdbec1['dataset'][_0x1a5aee(0x282)]=_0x1a5aee(0x1f6),_0xbdbec1['style'][_0x1a5aee(0x27e)]=_0x1a5aee(0x1ff),_0xbdbec1[_0x1a5aee(0x256)]['top']='0',_0xbdbec1[_0x1a5aee(0x256)]['left']='0',_0xbdbec1[_0x1a5aee(0x256)][_0x1a5aee(0x230)]='100%',_0xbdbec1[_0x1a5aee(0x256)]['height']='100%',_0xbdbec1[_0x1a5aee(0x256)][_0x1a5aee(0x21f)]=_0x1a5aee(0x286),_0xbdbec1[_0x1a5aee(0x256)][_0x1a5aee(0x1f9)]=_0x1a5aee(0x1df),_0x508d1a[_0x1a5aee(0x210)](_0xbdbec1);}[_0x43485c(0x22f)](){const _0x2bd4c3=_0x43485c;var _0x210c07,_0x842cc4,_0x3de30d,_0x2845b3;[[_0x1bbfdc],[_0x19d475,{'container':d,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x34611a,null]]}],[_0x2ae0f6],[_0x83924f,{'override':[[_0xdc2a12,null]]}],[_0xc5f276,{'hasScroll':!0x1}],[_0x9e975a],[_0x4882f],[_0x34ad30,{'notExecuteFormula':!0x0}],[_0x336260],[_0x5eb8b4],[_0x11320b],[_0x23d1d6],[_0x5fc771],[_0x378c3c],[_0x4897d4],[_0x10437e],[_0xb9bda4],[_0xfa480c],[_0x35c63f],[_0x5bea24],[_0x4645fa],[_0x27515d,{'notExecuteFormula':!0x0}],[_0x510c1c,{'workerURL':(_0x842cc4=(_0x210c07=this['_configService'][_0x2bd4c3(0x1e6)](_0x4d5dce))==null?void 0x0:_0x210c07['workerURL'])!=null?_0x842cc4:_0x2bd4c3(0x205)}],[_0x4aba90],[_0x469c49],[_0xc96a6e],[_0x44a211],[_0x28e471],[_0x3752f6],[_0x5f3192],[_0x90a901,{'notExecuteFormula':!0x0}],[_0x51b49c,{'historyListServerUrl':(_0x3de30d=this[_0x2bd4c3(0x23f)]['getConfig'](U))==null?void 0x0:_0x3de30d[_0x2bd4c3(0x280)],'historyPanelComponentKey':(_0x2845b3=this[_0x2bd4c3(0x23f)][_0x2bd4c3(0x1e6)](U))==null?void 0x0:_0x2845b3[_0x2bd4c3(0x1fd)]}]]['forEach'](([_0x38d607,_0x5280a3])=>this['registerPlugin'](_0x38d607,_0x5280a3));}[_0x43485c(0x1fe)](){const _0xda18dd=_0x43485c;super[_0xda18dd(0x1fe)](),this['unMountHistoryContent'](),this[_0xda18dd(0x268)][_0xda18dd(0x1e0)]();}[_0x43485c(0x203)](_0x58c1d2,_0x1020a1,_0x3378dc){const _0x4483b8=_0x43485c;if(this['_pluginMap']['has'](_0x58c1d2[_0x4483b8(0x275)])&&!_0x3378dc)throw new Error(_0x4483b8(0x25e)+_0x58c1d2[_0x4483b8(0x275)]+_0x4483b8(0x24f));this[_0x4483b8(0x268)][_0x4483b8(0x25f)](_0x58c1d2['pluginName'],[_0x58c1d2,_0x1020a1]);}[_0x43485c(0x229)](){const _0x66bf7c=_0x43485c;return Array['from'](this[_0x66bf7c(0x268)][_0x66bf7c(0x231)]());}['mountHistoryContent'](_0x20233f){const _0x17b6ab=document['getElementById'](d);_0x17b6ab&&(_0x17b6ab['style']['display']='block',this['_initUniver'](_0x20233f,d));}['unMountHistoryContent'](){const _0x1cdf39=_0x43485c;var _0x2e8360;this[_0x1cdf39(0x20d)][_0x1cdf39(0x1fe)](),(_0x2e8360=this[_0x1cdf39(0x214)])==null||_0x2e8360[_0x1cdf39(0x1fe)](),this[_0x1cdf39(0x1eb)]['next'](null);const _0x135134=document[_0x1cdf39(0x265)](d);_0x135134&&(_0x135134['style']['display']=_0x1cdf39(0x1df));}[_0x43485c(0x234)](_0x4a1c78,_0x53bc1b){const _0x553725=_0x43485c;if(this['historyUniver'])return;const _0x372735=new _0x3c8338({'locales':{[this[_0x553725(0x277)][_0x553725(0x272)]()]:this[_0x553725(0x277)][_0x553725(0x22a)]()},'override':[[_0x38de49,{'useClass':_0x29c13c}]]}),_0x49b67c=_0x372735[_0x553725(0x209)]();this[_0x553725(0x249)](this[_0x553725(0x269)][_0x553725(0x1ea)][_0x553725(0x253)](_0x3fb2af=>{const _0x1a11b3=_0x553725;_0x49b67c[_0x1a11b3(0x22b)](_0x3da679)[_0x1a11b3(0x260)](_0x3fb2af);})),this['disposeWithMe'](this['_themeService'][_0x553725(0x26a)]['subscribe'](_0x2d29cf=>{const _0x2b6925=_0x553725;_0x49b67c[_0x2b6925(0x22b)](_0x3da679)[_0x2b6925(0x222)](_0x2d29cf);})),_0x49b67c[_0x553725(0x22b)](_0x3b9931)[_0x553725(0x257)](this['_localeService'][_0x553725(0x272)]()),_0x49b67c[_0x553725(0x22b)](_0x51a1d6)[_0x553725(0x243)](_0x8a06f,this['_configService'][_0x553725(0x1e6)](_0x8a06f));const _0x28d3d2=this[_0x553725(0x23f)][_0x553725(0x1e6)](_0x3f5be0);_0x28d3d2&&_0x372735[_0x553725(0x203)](_0x272c0d,{'license':_0x28d3d2['ls']}),this['_pluginMap'][_0x553725(0x276)](([_0x5bc9d2,_0x1e65e2])=>{const _0x364664=_0x553725;_0x372735[_0x364664(0x203)](_0x5bc9d2,_0x1e65e2);}),_0x49b67c[_0x553725(0x21a)](_0x4afc2a=>{const _0x3a1b85=_0x553725;this[_0x3a1b85(0x20f)](_0x4afc2a,_0x4a1c78);}),this[_0x553725(0x1eb)][_0x553725(0x241)](_0x372735);const _0x4810ef=_0x49b67c[_0x553725(0x22b)](_0x56ebbd),_0x297b37=this[_0x553725(0x211)](_0x4a1c78);_0x4810ef[_0x553725(0x1f8)](_0x4a1c78,_0x53bc1b,_0x297b37);}[_0x43485c(0x20f)](_0x356043,_0x1e762f){const _0xaee15f=_0x43485c,_0x49a4c9=_0x356043['get'](_0x56ebbd);this[_0xaee15f(0x20d)][_0xaee15f(0x237)](_0x49a4c9[_0xaee15f(0x1dd)]['subscribe'](_0x3e72e0=>{const _0x139329=_0xaee15f;switch(_0x3e72e0){case _0x2827d6['Entered']:this[_0x139329(0x25b)][_0x139329(0x26f)](),this['_sidebarService'][_0x139329(0x239)]();break;case _0x2827d6[_0x139329(0x246)]:this[_0x139329(0x278)][_0x139329(0x271)](W['id']),this[_0x139329(0x259)]();break;case _0x2827d6[_0x139329(0x283)]:this[_0x139329(0x259)](),this[_0x139329(0x1f5)][_0x139329(0x20c)]({'content':this[_0x139329(0x277)]['t'](_0x139329(0x274)),'type':_0x2a24d6[_0x139329(0x283)],'duration':0xbb8});break;}})),this[_0xaee15f(0x20d)][_0xaee15f(0x237)](_0x49a4c9[_0xaee15f(0x227)][_0xaee15f(0x253)](async _0x36a771=>{const _0x37bf10=_0xaee15f;_0x36a771&&this['_commandService'][_0x37bf10(0x271)](_0x498d90['id'],{'unitId':_0x1e762f,'revision':_0x36a771});}));}[_0x43485c(0x211)](_0x3e2328){const _0x4138ba=_0x43485c,_0x40a305=this[_0x4138ba(0x1e4)][_0x4138ba(0x254)](_0x3e2328)[_0x4138ba(0x1f2)]()[_0x4138ba(0x1ee)](_0x39a50f=>_0x39a50f[_0x4138ba(0x220)]()),_0x4720e4=new _0x14748c(_0x3e2328)['id'],_0x30a108=_0x40a305[_0x4138ba(0x1ee)](_0x58039e=>new _0xbffc01(_0x3e2328,_0x58039e)['id']),_0x40655c=_0x40a305[_0x4138ba(0x1ee)](_0x2dc9f2=>this[_0x4138ba(0x266)]['getSubunitRuleList'](_0x3e2328,_0x2dc9f2)[_0x4138ba(0x1ee)](_0x473ed3=>new _0x2475bc(_0x3e2328,_0x2dc9f2,_0x473ed3[_0x4138ba(0x267)])['id']))[_0x4138ba(0x22e)](),_0xa813a9=new _0x30f35a(_0x3e2328)['id'];return this[_0x4138ba(0x23e)][_0x4138ba(0x1f0)]([_0x4720e4,..._0x30a108,..._0x40655c,_0xa813a9])[_0x4138ba(0x1e8)](_0x34f4fd=>!!_0x34f4fd[_0x4138ba(0x25c)]);}};f=mi([l(0x0,_0x40903e(_0x3b9931)),l(0x1,_0x223bbe),l(0x2,_0x51a1d6),l(0x3,_0x3e4b94),l(0x4,_0x42831f),l(0x5,_0x27501e),l(0x6,_0x40903e(_0x18a08d)),l(0x7,_0x40903e(_0x34611a)),l(0x8,_0x40903e(_0x5120a6)),l(0x9,_0x40903e(_0x3da679))],f);const b={'id':_0x43485c(0x288),'type':_0x2b551e[_0x43485c(0x27d)],'handler':_0x10dccb=>{const _0x3884eb=_0x43485c,_0x5a8dfd=_0x10dccb[_0x3884eb(0x22b)](f),_0xf697cc=_0x10dccb[_0x3884eb(0x22b)](_0x223bbe),{unitId:_0x375711}=_0x3f672e(_0xf697cc)||{};return _0x375711?(_0x5a8dfd[_0x3884eb(0x263)](_0x375711),!0x0):!0x1;}},W={'id':'univer.operation.exit-edit-history','type':_0x2b551e[_0x43485c(0x27d)],'handler':()=>!0x0};function di(_0x36e3e4){const _0x458293=_0x43485c;return{'id':b['id'],'type':_0x4c45df['BUTTON'],'icon':_0x458293(0x212),'tooltip':_0x458293(0x25a),'hidden$':_0x353c5e(_0x36e3e4,_0x49ca58[_0x458293(0x289)]),'disabled$':_0x550398(_0x36e3e4,{'workbookTypes':[_0x14748c,_0x581a7d],'worksheetTypes':[],'rangeTypes':[]})};}const fi={[_0xaaa7bb['OTHERS']]:{[b['id']]:{'order':0.2,'menuItemFactory':di}}};var _i=Object['getOwnPropertyDescriptor'],pi=(_0x2ebbb5,_0x1927f4,_0x5321f9,_0x17d044)=>{const _0x21184a=_0x43485c;for(var _0x57e0e0=_0x17d044>0x1?void 0x0:_0x17d044?_i(_0x1927f4,_0x5321f9):_0x1927f4,_0xf21df5=_0x2ebbb5[_0x21184a(0x1e9)]-0x1,_0x1b605a;_0xf21df5>=0x0;_0xf21df5--)(_0x1b605a=_0x2ebbb5[_0xf21df5])&&(_0x57e0e0=_0x1b605a(_0x57e0e0)||_0x57e0e0);return _0x57e0e0;},m=(_0x11a7b9,_0x57ae1d)=>(_0x19b4fc,_0x1da7bd)=>_0x57ae1d(_0x19b4fc,_0x1da7bd,_0x11a7b9);let p=class extends _0x2794d8{constructor(_0x43c5da,_0x3e35ec,_0x36270a,_0x24a12e,_0x1c439d,_0x384935,_0x2ab618,_0x592500){const _0x2ede2b=_0x43485c;super(),g(this,_0x2ede2b(0x25d),null),(this[_0x2ede2b(0x278)]=_0x43c5da,this[_0x2ede2b(0x287)]=_0x3e35ec,this[_0x2ede2b(0x208)]=_0x36270a,this[_0x2ede2b(0x21c)]=_0x24a12e,this[_0x2ede2b(0x277)]=_0x1c439d,this['_messageService']=_0x384935,this[_0x2ede2b(0x20a)]=_0x2ab618,this[_0x2ede2b(0x264)]=_0x592500,this[_0x2ede2b(0x262)]());}['_init'](){const _0x10750d=_0x43485c;[b,W][_0x10750d(0x276)](_0x5c6a70=>this[_0x10750d(0x249)](_0x34f19d(this[_0x10750d(0x278)][_0x10750d(0x244)](_0x5c6a70)))),this[_0x10750d(0x249)](this['_componentManager'][_0x10750d(0x26c)]('HistoryIcon',V)),this[_0x10750d(0x287)]['mergeMenu'](fi),this[_0x10750d(0x249)](this[_0x10750d(0x278)][_0x10750d(0x221)](_0x34307c=>{const _0x2ee00e=_0x10750d;if(_0x34307c['id']===_0x498d90['id']){this['_messageService']['show']({'content':this[_0x2ee00e(0x277)]['t'](_0x2ee00e(0x1fc)),'type':_0x2a24d6[_0x2ee00e(0x213)],'duration':0x1388});const {unitId:_0x54fc8f}=_0x34307c[_0x2ee00e(0x232)],_0x325361=this['_collaborationController'][_0x2ee00e(0x1f7)](_0x54fc8f),_0x1edb15=_0x53223f([_0x325361['session'][_0x2ee00e(0x24c)],_0x325361['state$']])['subscribe'](async([_0x38e3bc,_0x31464d])=>{const _0x4af605=_0x2ee00e;var _0x304406;_0x38e3bc['eventID']===_0x4b273b[_0x4af605(0x23c)]&&(_0x31464d==null?void 0x0:_0x31464d[_0x4af605(0x201)])===_0x3db6ac[_0x4af605(0x219)]&&_0x38e3bc[_0x4af605(0x285)][_0x4af605(0x270)][_0x4af605(0x279)](_0x507699=>_0x507699['id']===_0x498d90['id'])&&(this[_0x4af605(0x21c)]['unMountHistoryContent'](),_0x1edb15[_0x4af605(0x258)](),this[_0x4af605(0x25d)]&&clearTimeout(this[_0x4af605(0x25d)]),await((_0x304406=this['_localCacheService'])==null?void 0x0:_0x304406['exhaustSavingTask']()),setTimeout(()=>window[_0x4af605(0x228)]['reload']()));});this[_0x2ee00e(0x25d)]=setTimeout(()=>{const _0x7198ef=_0x2ee00e;_0x1edb15['unsubscribe'](),this[_0x7198ef(0x1f5)][_0x7198ef(0x20c)]({'content':this[_0x7198ef(0x277)]['t'](_0x7198ef(0x1e2)),'type':_0x2a24d6[_0x7198ef(0x283)],'duration':0xbb8});},0x1388);}}));}};p=pi([m(0x0,_0x3e4b94),m(0x1,_0x50cef2),m(0x2,_0x40903e(_0x411ec7)),m(0x3,_0x40903e(f)),m(0x4,_0x40903e(_0x3b9931)),m(0x5,_0x42831f),m(0x6,_0x40903e(_0x5627b9)),m(0x7,_0x2479ba)],p);var Si=Object['getOwnPropertyDescriptor'],Ci=(_0xf2e89d,_0x1d3c1a,_0x9f5041,_0x51efb0)=>{const _0x18b02c=_0x43485c;for(var _0x2c010f=_0x51efb0>0x1?void 0x0:_0x51efb0?Si(_0x1d3c1a,_0x9f5041):_0x1d3c1a,_0x21946f=_0xf2e89d[_0x18b02c(0x1e9)]-0x1,_0x2915e6;_0x21946f>=0x0;_0x21946f--)(_0x2915e6=_0xf2e89d[_0x21946f])&&(_0x2c010f=_0x2915e6(_0x2c010f)||_0x2c010f);return _0x2c010f;},R=(_0x40874b,_0x41777b)=>(_0xfeebed,_0x184019)=>_0x41777b(_0xfeebed,_0x184019,_0x40874b);const yi=_0x43485c(0x1e3);var _;let H=(_=class extends _0x7f0162{constructor(_0x1b4f5f=N,_0x862d7f,_0x201000){const _0x487d5e=_0x43485c;super(),this[_0x487d5e(0x24b)]=_0x1b4f5f,this[_0x487d5e(0x27f)]=_0x862d7f,this['_configService']=_0x201000;const {menu:_0x16aaec,..._0x4355e9}=_0x4ef9cf({},N,this['_config']);_0x16aaec&&this[_0x487d5e(0x23f)]['setConfig']('menu',_0x16aaec,{'merge':!0x0}),this['_configService'][_0x487d5e(0x243)](U,_0x4355e9),this['_config'][_0x487d5e(0x26b)]&&this['_configService'][_0x487d5e(0x243)](G,this['_config'][_0x487d5e(0x26b)]);}[_0x43485c(0x23d)](){const _0xcb7e6a=_0x43485c;[[f],[p]]['forEach'](_0x34227c=>this[_0xcb7e6a(0x27f)]['add'](_0x34227c));}[_0x43485c(0x248)](){const _0x4d8e62=_0x43485c;this['_injector'][_0x4d8e62(0x22b)](p);}},g(_,_0x43485c(0x21e),_0x49ca58[_0x43485c(0x251)]),g(_,_0x43485c(0x275),yi),_);H=Ci([R(0x1,_0x40903e(_0x59122a)),R(0x2,_0x51a1d6)],H);export{f as HistoryLoaderService,G as UNIVER_CONTAINER_ID_KEY,d as UNIVER_HISTORY_CONTAINER_ID,H as UniverEditHistoryLoaderPlugin};
|
|
1
|
+
const _0x3e8e3a=_0x5f53;(function(_0x48e12b,_0x4c99ac){const _0x3a4321=_0x5f53,_0x55b543=_0x48e12b();while(!![]){try{const _0x38f36e=parseInt(_0x3a4321(0x197))/0x1*(-parseInt(_0x3a4321(0x19f))/0x2)+parseInt(_0x3a4321(0x1cd))/0x3*(parseInt(_0x3a4321(0x18a))/0x4)+parseInt(_0x3a4321(0x1c1))/0x5*(-parseInt(_0x3a4321(0x1a4))/0x6)+-parseInt(_0x3a4321(0x1f1))/0x7*(parseInt(_0x3a4321(0x203))/0x8)+parseInt(_0x3a4321(0x1f7))/0x9+-parseInt(_0x3a4321(0x1bf))/0xa*(parseInt(_0x3a4321(0x1ac))/0xb)+parseInt(_0x3a4321(0x213))/0xc;if(_0x38f36e===_0x4c99ac)break;else _0x55b543['push'](_0x55b543['shift']());}catch(_0x2b07ee){_0x55b543['push'](_0x55b543['shift']());}}}(_0x59ed,0xe1761));var B=Object['defineProperty'],z=(_0x406afa,_0xcc8b0c,_0x1b2411)=>_0xcc8b0c in _0x406afa?B(_0x406afa,_0xcc8b0c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1b2411}):_0x406afa[_0xcc8b0c]=_0x1b2411,v=(_0x192bd7,_0x599a04,_0x3820ab)=>z(_0x192bd7,typeof _0x599a04!=_0x3e8e3a(0x19b)?_0x599a04+'':_0x599a04,_0x3820ab);import{LS_CONFIG_KEY as _0x2015a0,UniverLicensePlugin as _0x6e3846}from'@univerjs-pro/license';import{Inject as _0x22fc7e,LocaleService as _0x26b84d,ThemeService as _0x5be1b0,Disposable as _0x8e130,DisposableCollection as _0x4e1f11,Univer as _0x19dd95,IAuthzIoService as _0x541a5e,IConfigService as _0x171f3e,IUniverInstanceService as _0x1be450,ICommandService as _0x3cd6f9,IPermissionService as _0x2d7828,CommandType as _0x3648ad,UniverInstanceType as _0x46e05b,RxDisposable as _0x2ef19f,toDisposable as _0x3b4e0f,DependentOn as _0x10fa08,Injector as _0x81546b,Plugin as _0x286f6d,merge as _0x15ffa7}from'@univerjs/core';import{UniverCollaborationPlugin as _0x289fb5,RevertRevisionMutation as _0x5aff4a,CollaborationEvent as _0x3537bd}from'@univerjs-pro/collaboration';import{AuthzIoHttpService as _0x187ce4,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x29f1c9,CollaborationController as _0x153e19,CollaborationStatus as _0x1e2794,ILocalCacheService as _0x154848}from'@univerjs-pro/collaboration-client';import{MessageType as _0x171bde}from'@univerjs/design';import{useRef as _0x2eafbc,createElement as _0x3113eb,forwardRef as _0x4ed02e}from'react';import{IDialogService as _0x534880,ISidebarService as _0x1a56df,UniverUIPlugin as _0x50ad01,IMessageService as _0x1a3a4a,MenuItemType as _0x1e98e4,getMenuHiddenObservable as _0x9c0336,RibbonStartGroup as _0x3344a6,ComponentManager as _0x3c9f9b,IMenuManagerService as _0x3cef2e}from'@univerjs/ui';import{BehaviorSubject as _0x497199,combineLatest as _0x2335f3}from'rxjs';import{RangeProtectionRuleModel as _0xd44629,UniverSheetsPlugin as _0x4ac15b,WorkbookEditablePermission as _0x3eeb6c,WorksheetEditPermission as _0xab6313,RangeProtectionPermissionEditPoint as _0x2d052e,WorkbookRecoverHistoryPermission as _0x18642a,getSheetCommandTarget as _0x5c7343,WorkbookViewHistoryPermission as _0x5179a3}from'@univerjs/sheets';import{UniverEditHistoryViewerPlugin as _0xf96762,HistoryManagerService as _0xc2da4b,HistoryModeStatus as _0x4435cd}from'@univerjs-pro/edit-history-viewer';import{UniverSheetsChartPlugin as _0x4ea752}from'@univerjs-pro/sheets-chart';import{UniverSheetsChartUIPlugin as _0x32e494}from'@univerjs-pro/sheets-chart-ui';import{UniverSheetsPivotTablePlugin as _0x4a80c2}from'@univerjs-pro/sheets-pivot';import{UniverSheetsShapePlugin as _0x3953a4}from'@univerjs-pro/sheets-shape';import{UniverSheetsShapeUIPlugin as _0x57c815}from'@univerjs-pro/sheets-shape-ui';import{UniverSheetSparklinePlugin as _0x2eac9d}from'@univerjs-pro/sheets-sparkline';import{UniverSheetSparklineUIPlugin as _0x1fad18}from'@univerjs-pro/sheets-sparkline-ui';import{UniverDataValidationPlugin as _0x3e507b}from'@univerjs/data-validation';import{UniverDocsPlugin as _0x378c79}from'@univerjs/docs';import{UniverDocsUIPlugin as _0x102bcb}from'@univerjs/docs-ui';import{UniverDrawingPlugin as _0x222ef6,IImageIoService as _0x18f0eb}from'@univerjs/drawing';import{UniverDrawingUIPlugin as _0x2493a0}from'@univerjs/drawing-ui';import{UniverFormulaEnginePlugin as _0x15312e}from'@univerjs/engine-formula';import{UniverRenderEnginePlugin as _0x3fb4ec}from'@univerjs/engine-render';import{UniverNetworkPlugin as _0x5e5dc4}from'@univerjs/network';import{UniverRPCMainThreadPlugin as _0x2526ba,PLUGIN_CONFIG_KEY_MAIN_THREAD as _0x2e3bf7}from'@univerjs/rpc';import{UniverSheetsConditionalFormattingPlugin as _0x28021e}from'@univerjs/sheets-conditional-formatting';import{UniverSheetsConditionalFormattingUIPlugin as _0x841862}from'@univerjs/sheets-conditional-formatting-ui';import{UniverSheetsDataValidationPlugin as _0x215452}from'@univerjs/sheets-data-validation';import{UniverSheetsDataValidationUIPlugin as _0x4998f5}from'@univerjs/sheets-data-validation-ui';import{UniverSheetsDrawingPlugin as _0x5948be}from'@univerjs/sheets-drawing';import{UniverSheetsDrawingUIPlugin as _0x35a2cc}from'@univerjs/sheets-drawing-ui';import{UniverSheetsFilterPlugin as _0x58d105}from'@univerjs/sheets-filter';import{UniverSheetsFilterUIPlugin as _0x185d86}from'@univerjs/sheets-filter-ui';import{UniverSheetsFormulaPlugin as _0xc4c04e}from'@univerjs/sheets-formula';function _0x5f53(_0x524b42,_0x580200){_0x524b42=_0x524b42-0x17f;const _0x59ede3=_0x59ed();let _0x5f535d=_0x59ede3[_0x524b42];return _0x5f535d;}function _0x59ed(){const _0x1f8caf=['UNIVER_EDIT_HISTORY_LOADER_PLUGIN','18770eFlJGX','editHistory.panel.reverting','5lQhgiF','subscribe','univer-container','UNIVER_SHEET','svg','_collaborationController','getSheetId','editHistory.panel.title','forEach','permissionId','string','disposeWithMe','204621buqFsi','univer.operation.exit-edit-history','_disposableCollection','100%','show','getSheets','onSteady','defs','Error','getUnit','_menuManagerService','substring','absolute','_revertErrorTimer','univer-history-container','top','includes','getSubunitRuleList','colorChannel1','edit-history-loader.config','currentColor','random','_initUniver','_univerInstanceService','fill','getOwnPropertyDescriptor','_messageService','some','_config','every','uComp','_localCacheService','attrs','Exited','zIndex','workerURL','2265501LUBXLI','getConfig','next','_initPlugins','0\x200\x2016\x2016','defineProperty','9328527uZjqtA','history-icon','entries','M0\x200H16V16H0z','_init','UNIVER_UNKNOWN','revertRevision$','setTheme','history-icon_clip0_907_281','_checkCanRevert','_injector','getCollabEntity','8vwNBwy','_initContainer','none','setLocale','\x20has\x20been\x20registered.','univerContainerId','set','_commandService','triggerLoadVersions','current','mergeMenu','onCommandExecuted','url(#$1','editHistory.panel.listFetchError','dataset','get','34899564uaAJyX','unsubscribe','OTHERS','add','historyUniver$','state$','type','_permissionService','tag','toString','_dialogService','executeCommand','unMountHistoryContent','eventID','_initListener','_pluginMap','position','1em','_sidebarService','Entered','assign','appendChild','style','currentTheme$','pluginName','left','defIds','_configService','map','width','invoke','mask','getElementById','data','historyUniver','clipPath','68UNBUEx','_historyUniver$','__getInjector','http://www.w3.org/2000/svg','params','_themeService','location','[HistoryLoaderService]:\x20Plugin\x20','value','CHANGESET_ACK','getCurrentLocale','clear','historyListServerUrl','152903qTqcIv','dispose','children','mutations','symbol','BUTTON','_historyManagerService','_componentManager','24sMJIUB','SYNCED','UNIVER_CONTAINER_ID','historyPanelComponentKey','register','7223874aKCwhP','OPERATION','registerPlugin','history-container','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','length','status$','mountHistoryContent','4796sLdfKQ','asObservable','HistoryIcon','flat','_localeService','white','registerCommand','block','display','path','_selectionProtectionRuleModel','idSuffix','displayName','use','xlink:href','getLocales','div','setConfig'];_0x59ed=function(){return _0x1f8caf;};return _0x59ed();}import{UniverSheetsFormulaUIPlugin as _0x143446}from'@univerjs/sheets-formula-ui';import{UniverSheetsHyperLinkPlugin as _0xa51418}from'@univerjs/sheets-hyper-link';import{UniverSheetsHyperLinkUIPlugin as _0x24124f}from'@univerjs/sheets-hyper-link-ui';import{UniverSheetsNumfmtPlugin as _0xae22ce}from'@univerjs/sheets-numfmt';import{UniverSheetsUIPlugin as _0x140ab6,getCurrentRangeDisable$ as _0x5368fe}from'@univerjs/sheets-ui';const U=_0x3e8e3a(0x1e0),N={};function F({ref:_0x2c5ab1,..._0x2544a1}){const _0x586233=_0x3e8e3a,{icon:_0x3c3cc9,id:_0x2dd828,className:_0x2dcc84,extend:_0x1080d3,..._0x6f6ac0}=_0x2544a1,_0x313d8b=('univerjs-icon\x20univerjs-icon-'+_0x2dd828+'\x20'+(_0x2dcc84||''))['trim'](),_0x2bb9c7=_0x2eafbc('_'+mi());return j(_0x3c3cc9,''+_0x2dd828,{'defIds':_0x3c3cc9[_0x586233(0x180)],'idSuffix':_0x2bb9c7[_0x586233(0x20c)]},{'ref':_0x2c5ab1,'className':_0x313d8b,..._0x6f6ac0},_0x1080d3);}function j(_0x4906ec,_0x405511,_0x187c7e,_0x253498,_0x2da633){const _0x4a413d=_0x3e8e3a;return _0x3113eb(_0x4906ec[_0x4a413d(0x21b)],{'key':_0x405511,...hi(_0x4906ec,_0x187c7e,_0x2da633),..._0x253498},(gi(_0x4906ec,_0x187c7e)['children']||[])['map']((_0x2d5b04,_0x2f6eee)=>j(_0x2d5b04,_0x405511+'-'+_0x4906ec[_0x4a413d(0x21b)]+'-'+_0x2f6eee,_0x187c7e,void 0x0,_0x2da633)));}function hi(_0xfebb94,_0x27abdb,_0x5682bf){const _0x53fef0=_0x3e8e3a,_0x51f5cb={..._0xfebb94[_0x53fef0(0x1ed)]};_0x5682bf!=null&&_0x5682bf['colorChannel1']&&_0x51f5cb[_0x53fef0(0x1e5)]===_0x53fef0(0x1df)&&(_0x51f5cb[_0x53fef0(0x1e5)]=_0x5682bf['colorChannel1']),_0xfebb94[_0x53fef0(0x21b)]===_0x53fef0(0x185)&&_0x51f5cb['id']&&(_0x51f5cb['id']=_0x51f5cb['id']+_0x27abdb[_0x53fef0(0x1b7)]),Object[_0x53fef0(0x1f9)](_0x51f5cb)['forEach'](([_0x47b081,_0x1b8d8a])=>{const _0x47d90b=_0x53fef0;_0x47b081===_0x47d90b(0x185)&&typeof _0x1b8d8a==_0x47d90b(0x1cb)&&(_0x51f5cb[_0x47b081]=_0x1b8d8a['replace'](/url\(#(.*)\)/,_0x47d90b(0x20f)+_0x27abdb[_0x47d90b(0x1b7)]+')'));});const {defIds:_0x32c3c9}=_0x27abdb;return!_0x32c3c9||_0x32c3c9[_0x53fef0(0x1a9)]===0x0||(_0xfebb94[_0x53fef0(0x21b)]===_0x53fef0(0x1b9)&&_0x51f5cb[_0x53fef0(0x1ba)]&&(_0x51f5cb['xlink:href']=_0x51f5cb[_0x53fef0(0x1ba)]+_0x27abdb[_0x53fef0(0x1b7)]),Object[_0x53fef0(0x1f9)](_0x51f5cb)[_0x53fef0(0x1c9)](([_0xc9e617,_0xc1c11c])=>{const _0x37e986=_0x53fef0;typeof _0xc1c11c==_0x37e986(0x1cb)&&(_0x51f5cb[_0xc9e617]=_0xc1c11c['replace'](/url\(#(.*)\)/,_0x37e986(0x20f)+_0x27abdb[_0x37e986(0x1b7)]+')'));})),_0x51f5cb;}function gi(_0x46773,_0x4df3e2){const _0xc716f8=_0x3e8e3a;var _0x2535b0;const {defIds:_0x3eb474}=_0x4df3e2;return!_0x3eb474||_0x3eb474[_0xc716f8(0x1a9)]===0x0?_0x46773:_0x46773[_0xc716f8(0x21b)]===_0xc716f8(0x1d4)&&((_0x2535b0=_0x46773['children'])!=null&&_0x2535b0[_0xc716f8(0x1a9)])?{..._0x46773,'children':_0x46773[_0xc716f8(0x199)][_0xc716f8(0x182)](_0xfda6f9=>typeof _0xfda6f9[_0xc716f8(0x1ed)]['id']==_0xc716f8(0x1cb)&&_0x3eb474&&_0x3eb474[_0xc716f8(0x1dd)](_0xfda6f9['attrs']['id'])?{..._0xfda6f9,'attrs':{..._0xfda6f9[_0xc716f8(0x1ed)],'id':_0xfda6f9[_0xc716f8(0x1ed)]['id']+_0x4df3e2[_0xc716f8(0x1b7)]}}:_0xfda6f9)}:_0x46773;}function mi(){const _0xa0dbfa=_0x3e8e3a;return Math[_0xa0dbfa(0x1e2)]()[_0xa0dbfa(0x21c)](0x24)[_0xa0dbfa(0x1d8)](0x2,0x8);}F[_0x3e8e3a(0x1b8)]='UniverIcon';const vi={'tag':_0x3e8e3a(0x1c5),'attrs':{'xmlns':_0x3e8e3a(0x18d),'fill':_0x3e8e3a(0x205),'viewBox':_0x3e8e3a(0x1f5),'width':_0x3e8e3a(0x224),'height':'1em'},'children':[{'tag':'g','attrs':{'fill':_0x3e8e3a(0x1e1),'clipPath':'url(#history-icon_clip0_907_281)'},'children':[{'tag':_0x3e8e3a(0x1b5),'attrs':{'d':_0x3e8e3a(0x1a8)}},{'tag':'path','attrs':{'d':'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'}}]},{'tag':_0x3e8e3a(0x1d4),'attrs':{},'children':[{'tag':_0x3e8e3a(0x189),'attrs':{'id':_0x3e8e3a(0x1ff)},'children':[{'tag':_0x3e8e3a(0x1b5),'attrs':{'fill':_0x3e8e3a(0x1b1),'d':_0x3e8e3a(0x1fa)}}]}]}],'defIds':[_0x3e8e3a(0x1ff)]},V=_0x4ed02e(function(_0x30c0bb,_0x5d372d){const _0x17cdc3=_0x3e8e3a;return _0x3113eb(F,Object[_0x17cdc3(0x227)]({},_0x30c0bb,{'id':_0x17cdc3(0x1f8),'ref':_0x5d372d,'icon':vi}));});V['displayName']=_0x3e8e3a(0x1ae);var di=Object[_0x3e8e3a(0x1e6)],fi=(_0x22ca9d,_0xc13ef2,_0x32bdc1,_0x4588bb)=>{const _0x23646e=_0x3e8e3a;for(var _0x397cda=_0x4588bb>0x1?void 0x0:_0x4588bb?di(_0xc13ef2,_0x32bdc1):_0xc13ef2,_0x3e4bbb=_0x22ca9d[_0x23646e(0x1a9)]-0x1,_0x435842;_0x3e4bbb>=0x0;_0x3e4bbb--)(_0x435842=_0x22ca9d[_0x3e4bbb])&&(_0x397cda=_0x435842(_0x397cda)||_0x397cda);return _0x397cda;},l=(_0x45b00b,_0x5d8f2a)=>(_0x440114,_0x173550)=>_0x5d8f2a(_0x440114,_0x173550,_0x45b00b);const pi=_0x3e8e3a(0x1c3),G=_0x3e8e3a(0x1a1),d=_0x3e8e3a(0x1db);let f=class extends _0x8e130{constructor(_0x4164a8,_0x119157,_0xb02616,_0x578ec2,_0x139722,_0x4080c9,_0x2f51bc,_0x429bfc,_0x49c7a5,_0x1ae729){const _0x4a9677=_0x3e8e3a;super(),v(this,'_historyUniver$',new _0x497199(null)),v(this,_0x4a9677(0x217),this[_0x4a9677(0x18b)][_0x4a9677(0x1ad)]()),v(this,_0x4a9677(0x1cf),new _0x4e1f11()),v(this,_0x4a9677(0x222),new Map()),(this[_0x4a9677(0x1b0)]=_0x4164a8,this[_0x4a9677(0x1e4)]=_0x119157,this[_0x4a9677(0x181)]=_0xb02616,this[_0x4a9677(0x20a)]=_0x578ec2,this[_0x4a9677(0x1e7)]=_0x139722,this[_0x4a9677(0x21a)]=_0x4080c9,this[_0x4a9677(0x1b6)]=_0x2f51bc,this['_dialogService']=_0x429bfc,this[_0x4a9677(0x225)]=_0x49c7a5,this['_themeService']=_0x1ae729,this[_0x4a9677(0x1fb)]());}get[_0x3e8e3a(0x188)](){const _0x3dd3f7=_0x3e8e3a;return this[_0x3dd3f7(0x18b)]['value'];}['_init'](){this['_initContainer'](),this['_initPlugins']();}[_0x3e8e3a(0x204)](){const _0x1f4b38=_0x3e8e3a;var _0x371fca;const _0x4ae597=(_0x371fca=this['_configService']['getConfig'](G))!=null?_0x371fca:pi,_0x397e03=document[_0x1f4b38(0x186)](_0x4ae597);if(!_0x397e03)return;const _0x4b2526=document['createElement'](_0x1f4b38(0x1bc));_0x4b2526['id']=d,_0x4b2526[_0x1f4b38(0x211)][_0x1f4b38(0x1eb)]=_0x1f4b38(0x1a7),_0x4b2526[_0x1f4b38(0x229)][_0x1f4b38(0x223)]=_0x1f4b38(0x1d9),_0x4b2526[_0x1f4b38(0x229)][_0x1f4b38(0x1dc)]='0',_0x4b2526['style'][_0x1f4b38(0x17f)]='0',_0x4b2526[_0x1f4b38(0x229)][_0x1f4b38(0x183)]=_0x1f4b38(0x1d0),_0x4b2526[_0x1f4b38(0x229)]['height']=_0x1f4b38(0x1d0),_0x4b2526[_0x1f4b38(0x229)][_0x1f4b38(0x1ef)]='1000',_0x4b2526[_0x1f4b38(0x229)][_0x1f4b38(0x1b4)]='none',_0x397e03[_0x1f4b38(0x228)](_0x4b2526);}[_0x3e8e3a(0x1f4)](){const _0x1a535d=_0x3e8e3a;var _0x4f479a,_0x139b77,_0x2a2125,_0xf105a4;[[_0x3fb4ec],[_0x50ad01,{'container':d,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x534880,null]]}],[_0x5e5dc4],[_0x222ef6,{'override':[[_0x18f0eb,null]]}],[_0x378c79,{'hasScroll':!0x1}],[_0x102bcb],[_0xae22ce],[_0x4ac15b,{'notExecuteFormula':!0x0}],[_0x140ab6],[_0xc4c04e],[_0x143446],[_0x289fb5],[_0x58d105],[_0x185d86],[_0x28021e],[_0x841862],[_0xa51418],[_0x24124f],[_0x3e507b],[_0x215452],[_0x4998f5],[_0x15312e,{'notExecuteFormula':!0x0}],[_0x2526ba,{'workerURL':(_0x139b77=(_0x4f479a=this['_configService'][_0x1a535d(0x1f2)](_0x2e3bf7))==null?void 0x0:_0x4f479a[_0x1a535d(0x1f0)])!=null?_0x139b77:'./worker.js'}],[_0x2493a0],[_0x5948be],[_0x35a2cc],[_0x2eac9d],[_0x1fad18],[_0x4ea752],[_0x32e494],[_0x3953a4],[_0x57c815],[_0x4a80c2,{'notExecuteFormula':!0x0}],[_0xf96762,{'historyListServerUrl':(_0x2a2125=this[_0x1a535d(0x181)][_0x1a535d(0x1f2)](U))==null?void 0x0:_0x2a2125[_0x1a535d(0x196)],'historyPanelComponentKey':(_0xf105a4=this[_0x1a535d(0x181)][_0x1a535d(0x1f2)](U))==null?void 0x0:_0xf105a4[_0x1a535d(0x1a2)]}]][_0x1a535d(0x1c9)](([_0x117b42,_0x5f4942])=>this['registerPlugin'](_0x117b42,_0x5f4942));}['dispose'](){const _0x118aa6=_0x3e8e3a;super[_0x118aa6(0x198)](),this[_0x118aa6(0x21f)](),this[_0x118aa6(0x222)][_0x118aa6(0x195)]();}[_0x3e8e3a(0x1a6)](_0x560c54,_0x348791,_0x1591cf){const _0x2a2398=_0x3e8e3a;if(this[_0x2a2398(0x222)]['has'](_0x560c54['pluginName'])&&!_0x1591cf)throw new Error(_0x2a2398(0x191)+_0x560c54[_0x2a2398(0x22b)]+_0x2a2398(0x207));this['_pluginMap'][_0x2a2398(0x209)](_0x560c54[_0x2a2398(0x22b)],[_0x560c54,_0x348791]);}['getAllPlugins'](){const _0x304c35=_0x3e8e3a;return Array['from'](this[_0x304c35(0x222)]['values']());}[_0x3e8e3a(0x1ab)](_0xc8af00){const _0x9783b0=_0x3e8e3a,_0xcc0ebb=document[_0x9783b0(0x186)](d);_0xcc0ebb&&(_0xcc0ebb[_0x9783b0(0x229)][_0x9783b0(0x1b4)]=_0x9783b0(0x1b3),this[_0x9783b0(0x1e3)](_0xc8af00,d));}['unMountHistoryContent'](){const _0x5b14d9=_0x3e8e3a;var _0x40b48d;this[_0x5b14d9(0x1cf)][_0x5b14d9(0x198)](),(_0x40b48d=this[_0x5b14d9(0x188)])==null||_0x40b48d[_0x5b14d9(0x198)](),this[_0x5b14d9(0x18b)]['next'](null);const _0x51114a=document[_0x5b14d9(0x186)](d);_0x51114a&&(_0x51114a[_0x5b14d9(0x229)][_0x5b14d9(0x1b4)]=_0x5b14d9(0x205));}[_0x3e8e3a(0x1e3)](_0x2a455a,_0x389ef9){const _0x30c676=_0x3e8e3a;if(this[_0x30c676(0x188)])return;const _0x26aec6=new _0x19dd95({'locales':{[this[_0x30c676(0x1b0)][_0x30c676(0x194)]()]:this[_0x30c676(0x1b0)][_0x30c676(0x1bb)]()},'override':[[_0x541a5e,{'useClass':_0x187ce4}]]}),_0x39bb5e=_0x26aec6[_0x30c676(0x18c)]();this[_0x30c676(0x1cc)](this['_themeService']['darkMode$']['subscribe'](_0x361348=>{_0x39bb5e['get'](_0x5be1b0)['setDarkMode'](_0x361348);})),this[_0x30c676(0x1cc)](this[_0x30c676(0x18f)][_0x30c676(0x22a)]['subscribe'](_0x1ecc83=>{const _0xb631bc=_0x30c676;_0x39bb5e['get'](_0x5be1b0)[_0xb631bc(0x1fe)](_0x1ecc83);})),_0x39bb5e[_0x30c676(0x212)](_0x26b84d)[_0x30c676(0x206)](this[_0x30c676(0x1b0)][_0x30c676(0x194)]()),_0x39bb5e[_0x30c676(0x212)](_0x171f3e)['setConfig'](_0x29f1c9,this[_0x30c676(0x181)][_0x30c676(0x1f2)](_0x29f1c9));const _0x5d558d=this[_0x30c676(0x181)][_0x30c676(0x1f2)](_0x2015a0);_0x5d558d&&_0x26aec6[_0x30c676(0x1a6)](_0x6e3846,{'license':_0x5d558d['ls']}),this['_pluginMap'][_0x30c676(0x1c9)](([_0x228fd4,_0x211795])=>{const _0x28332d=_0x30c676;_0x26aec6[_0x28332d(0x1a6)](_0x228fd4,_0x211795);}),_0x39bb5e[_0x30c676(0x184)](_0x30fe4d=>{const _0x41e782=_0x30c676;this[_0x41e782(0x221)](_0x30fe4d,_0x2a455a);}),this[_0x30c676(0x18b)][_0x30c676(0x1f3)](_0x26aec6);const _0x782dcb=_0x39bb5e[_0x30c676(0x212)](_0xc2da4b),_0x4d8553=this[_0x30c676(0x200)](_0x2a455a);_0x782dcb[_0x30c676(0x20b)](_0x2a455a,_0x389ef9,_0x4d8553);}[_0x3e8e3a(0x221)](_0x2aac9a,_0x1e2058){const _0x1d41d9=_0x3e8e3a,_0x4a63f8=_0x2aac9a[_0x1d41d9(0x212)](_0xc2da4b);this[_0x1d41d9(0x1cf)][_0x1d41d9(0x216)](_0x4a63f8[_0x1d41d9(0x1aa)]['subscribe'](_0x5502d9=>{const _0x5babc6=_0x1d41d9;switch(_0x5502d9){case _0x4435cd[_0x5babc6(0x226)]:this[_0x5babc6(0x21d)]['closeAll'](),this[_0x5babc6(0x225)]['close']();break;case _0x4435cd[_0x5babc6(0x1ee)]:this[_0x5babc6(0x20a)][_0x5babc6(0x21e)](W['id']),this[_0x5babc6(0x21f)]();break;case _0x4435cd['Error']:this[_0x5babc6(0x21f)](),this[_0x5babc6(0x1e7)]['show']({'content':this[_0x5babc6(0x1b0)]['t'](_0x5babc6(0x210)),'type':_0x171bde[_0x5babc6(0x1d5)],'duration':0xbb8});break;}})),this[_0x1d41d9(0x1cf)]['add'](_0x4a63f8[_0x1d41d9(0x1fd)]['subscribe'](async _0x5216b0=>{const _0x3eeedb=_0x1d41d9;_0x5216b0&&this[_0x3eeedb(0x20a)][_0x3eeedb(0x21e)](_0x5aff4a['id'],{'unitId':_0x1e2058,'revision':_0x5216b0});}));}[_0x3e8e3a(0x200)](_0x3a3dd3){const _0x41cb6b=_0x3e8e3a,_0x36eda4=this[_0x41cb6b(0x1e4)][_0x41cb6b(0x1d6)](_0x3a3dd3)[_0x41cb6b(0x1d2)]()[_0x41cb6b(0x182)](_0x4d89c6=>_0x4d89c6[_0x41cb6b(0x1c7)]()),_0x25599f=new _0x3eeb6c(_0x3a3dd3)['id'],_0x14ea4a=_0x36eda4[_0x41cb6b(0x182)](_0x5cfaec=>new _0xab6313(_0x3a3dd3,_0x5cfaec)['id']),_0xf410e=_0x36eda4[_0x41cb6b(0x182)](_0x12212e=>this[_0x41cb6b(0x1b6)][_0x41cb6b(0x1de)](_0x3a3dd3,_0x12212e)[_0x41cb6b(0x182)](_0x45cd66=>new _0x2d052e(_0x3a3dd3,_0x12212e,_0x45cd66[_0x41cb6b(0x1ca)])['id']))[_0x41cb6b(0x1af)](),_0x2d7a58=new _0x18642a(_0x3a3dd3)['id'];return this[_0x41cb6b(0x21a)]['composePermission']([_0x25599f,..._0x14ea4a,..._0xf410e,_0x2d7a58])[_0x41cb6b(0x1ea)](_0x4c9a4b=>!!_0x4c9a4b[_0x41cb6b(0x192)]);}};f=fi([l(0x0,_0x22fc7e(_0x26b84d)),l(0x1,_0x1be450),l(0x2,_0x171f3e),l(0x3,_0x3cd6f9),l(0x4,_0x1a3a4a),l(0x5,_0x2d7828),l(0x6,_0x22fc7e(_0xd44629)),l(0x7,_0x22fc7e(_0x534880)),l(0x8,_0x22fc7e(_0x1a56df)),l(0x9,_0x22fc7e(_0x5be1b0))],f);const b={'id':'univer.operation.toggle-edit-history','type':_0x3648ad[_0x3e8e3a(0x1a5)],'handler':_0x43d722=>{const _0x5d564c=_0x3e8e3a,_0x3b3e85=_0x43d722[_0x5d564c(0x212)](f),_0xe3fd7e=_0x43d722[_0x5d564c(0x212)](_0x1be450),{unitId:_0xc1326a}=_0x5c7343(_0xe3fd7e)||{};return _0xc1326a?(_0x3b3e85[_0x5d564c(0x1ab)](_0xc1326a),!0x0):!0x1;}},W={'id':_0x3e8e3a(0x1ce),'type':_0x3648ad[_0x3e8e3a(0x1a5)],'handler':()=>!0x0};function _i(_0x1cb8ba){const _0x449358=_0x3e8e3a;return{'id':b['id'],'type':_0x1e98e4[_0x449358(0x19c)],'icon':_0x449358(0x1ae),'tooltip':_0x449358(0x1c8),'hidden$':_0x9c0336(_0x1cb8ba,_0x46e05b[_0x449358(0x1c4)]),'disabled$':_0x5368fe(_0x1cb8ba,{'workbookTypes':[_0x3eeb6c,_0x5179a3],'worksheetTypes':[],'rangeTypes':[]})};}const Si={[_0x3344a6[_0x3e8e3a(0x215)]]:{[b['id']]:{'order':0.2,'menuItemFactory':_i}}};var Ci=Object[_0x3e8e3a(0x1e6)],yi=(_0x59d9c2,_0x179985,_0x149820,_0x3a6697)=>{const _0x14edd2=_0x3e8e3a;for(var _0xdf92dc=_0x3a6697>0x1?void 0x0:_0x3a6697?Ci(_0x179985,_0x149820):_0x179985,_0x15126b=_0x59d9c2[_0x14edd2(0x1a9)]-0x1,_0x29db14;_0x15126b>=0x0;_0x15126b--)(_0x29db14=_0x59d9c2[_0x15126b])&&(_0xdf92dc=_0x29db14(_0xdf92dc)||_0xdf92dc);return _0xdf92dc;},g=(_0x22a066,_0x391cd6)=>(_0x4d5289,_0x1c7db9)=>_0x391cd6(_0x4d5289,_0x1c7db9,_0x22a066);let p=class extends _0x2ef19f{constructor(_0x4ce173,_0x40cf2b,_0x34d99f,_0x49b2d8,_0x1bc522,_0x2d51f2,_0x57a4eb,_0x207690){const _0x4d0e23=_0x3e8e3a;super(),v(this,'_revertErrorTimer',null),(this['_commandService']=_0x4ce173,this[_0x4d0e23(0x1d7)]=_0x40cf2b,this[_0x4d0e23(0x19e)]=_0x34d99f,this[_0x4d0e23(0x19d)]=_0x49b2d8,this['_localeService']=_0x1bc522,this[_0x4d0e23(0x1e7)]=_0x2d51f2,this[_0x4d0e23(0x1c6)]=_0x57a4eb,this[_0x4d0e23(0x1ec)]=_0x207690,this[_0x4d0e23(0x1fb)]());}[_0x3e8e3a(0x1fb)](){const _0x735a1f=_0x3e8e3a;[b,W]['forEach'](_0x29f43d=>this[_0x735a1f(0x1cc)](_0x3b4e0f(this[_0x735a1f(0x20a)][_0x735a1f(0x1b2)](_0x29f43d)))),this[_0x735a1f(0x1cc)](this[_0x735a1f(0x19e)][_0x735a1f(0x1a3)](_0x735a1f(0x1ae),V)),this[_0x735a1f(0x1d7)][_0x735a1f(0x20d)](Si),this['disposeWithMe'](this[_0x735a1f(0x20a)][_0x735a1f(0x20e)](_0x1d41da=>{const _0xc69588=_0x735a1f;if(_0x1d41da['id']===_0x5aff4a['id']){this['_messageService'][_0xc69588(0x1d1)]({'content':this[_0xc69588(0x1b0)]['t'](_0xc69588(0x1c0)),'type':_0x171bde['Loading'],'duration':0x1388});const {unitId:_0x2f83fd}=_0x1d41da[_0xc69588(0x18e)],_0x38f5cd=this['_collaborationController'][_0xc69588(0x202)](_0x2f83fd),_0x12336c=_0x2335f3([_0x38f5cd['session']['event$'],_0x38f5cd[_0xc69588(0x218)]])[_0xc69588(0x1c2)](async([_0x4ee01c,_0xafcfde])=>{const _0x179b68=_0xc69588;var _0x205a41;_0x4ee01c[_0x179b68(0x220)]===_0x3537bd[_0x179b68(0x193)]&&(_0xafcfde==null?void 0x0:_0xafcfde['status'])===_0x1e2794[_0x179b68(0x1a0)]&&_0x4ee01c[_0x179b68(0x187)][_0x179b68(0x19a)][_0x179b68(0x1e8)](_0x1133a5=>_0x1133a5['id']===_0x5aff4a['id'])&&(this[_0x179b68(0x19d)][_0x179b68(0x21f)](),_0x12336c[_0x179b68(0x214)](),this['_revertErrorTimer']&&clearTimeout(this[_0x179b68(0x1da)]),await((_0x205a41=this[_0x179b68(0x1ec)])==null?void 0x0:_0x205a41['exhaustSavingTask']()),setTimeout(()=>window[_0x179b68(0x190)]['reload']()));});this[_0xc69588(0x1da)]=setTimeout(()=>{const _0x54dd3d=_0xc69588;_0x12336c['unsubscribe'](),this[_0x54dd3d(0x1e7)]['show']({'content':this['_localeService']['t']('editHistory.panel.revertFailed'),'type':_0x171bde['Error'],'duration':0xbb8});},0x1388);}}));}};p=yi([g(0x0,_0x3cd6f9),g(0x1,_0x3cef2e),g(0x2,_0x22fc7e(_0x3c9f9b)),g(0x3,_0x22fc7e(f)),g(0x4,_0x22fc7e(_0x26b84d)),g(0x5,_0x1a3a4a),g(0x6,_0x22fc7e(_0x153e19)),g(0x7,_0x154848)],p);var Ii=Object[_0x3e8e3a(0x1f6)],Ui=Object[_0x3e8e3a(0x1e6)],Pi=(_0xbb18e5,_0x305f9a,_0x4f6908)=>_0x305f9a in _0xbb18e5?Ii(_0xbb18e5,_0x305f9a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4f6908}):_0xbb18e5[_0x305f9a]=_0x4f6908,Ei=(_0x58f34e,_0x180b90,_0x409ff1,_0x1a38a8)=>{const _0x30cbfd=_0x3e8e3a;for(var _0x5a47a6=_0x1a38a8>0x1?void 0x0:_0x1a38a8?Ui(_0x180b90,_0x409ff1):_0x180b90,_0x179d7b=_0x58f34e[_0x30cbfd(0x1a9)]-0x1,_0x2cd93d;_0x179d7b>=0x0;_0x179d7b--)(_0x2cd93d=_0x58f34e[_0x179d7b])&&(_0x5a47a6=_0x2cd93d(_0x5a47a6)||_0x5a47a6);return _0x5a47a6;},R=(_0x183c24,_0x1f1500)=>(_0x17ba1a,_0x26dd00)=>_0x1f1500(_0x17ba1a,_0x26dd00,_0x183c24),K=(_0x19cac2,_0x21fdf7,_0x294069)=>Pi(_0x19cac2,typeof _0x21fdf7!=_0x3e8e3a(0x19b)?_0x21fdf7+'':_0x21fdf7,_0x294069);const bi=_0x3e8e3a(0x1be);let _=class extends _0x286f6d{constructor(_0x55f6ec=N,_0x2fa283,_0x3fe40a){const _0x8baa72=_0x3e8e3a;super(),this['_config']=_0x55f6ec,this[_0x8baa72(0x201)]=_0x2fa283,this[_0x8baa72(0x181)]=_0x3fe40a;const {menu:_0x3b50bb,..._0x11a507}=_0x15ffa7({},N,this[_0x8baa72(0x1e9)]);_0x3b50bb&&this[_0x8baa72(0x181)][_0x8baa72(0x1bd)]('menu',_0x3b50bb,{'merge':!0x0}),this[_0x8baa72(0x181)]['setConfig'](U,_0x11a507),this[_0x8baa72(0x1e9)][_0x8baa72(0x208)]&&this[_0x8baa72(0x181)]['setConfig'](G,this[_0x8baa72(0x1e9)][_0x8baa72(0x208)]);}['onStarting'](){const _0x400956=_0x3e8e3a;[[f],[p]]['forEach'](_0x18bbd4=>this['_injector'][_0x400956(0x216)](_0x18bbd4));}[_0x3e8e3a(0x1d3)](){const _0x17e164=_0x3e8e3a;this[_0x17e164(0x201)][_0x17e164(0x212)](p);}};K(_,_0x3e8e3a(0x219),_0x46e05b[_0x3e8e3a(0x1fc)]),K(_,_0x3e8e3a(0x22b),bi),_=Ei([_0x10fa08(_0x6e3846),R(0x1,_0x22fc7e(_0x81546b)),R(0x2,_0x171f3e)],_);export{f as HistoryLoaderService,G as UNIVER_CONTAINER_ID_KEY,d as UNIVER_HISTORY_CONTAINER_ID,_ as UniverEditHistoryLoaderPlugin};
|
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x43485c=_0x5bc7;(function(_0x2ec73b,_0x251f07){const _0x3f7f32=_0x5bc7,_0x348094=_0x2ec73b();while(!![]){try{const _0x323652=parseInt(_0x3f7f32(0x1e1))/0x1+parseInt(_0x3f7f32(0x24a))/0x2*(-parseInt(_0x3f7f32(0x20e))/0x3)+-parseInt(_0x3f7f32(0x27c))/0x4*(parseInt(_0x3f7f32(0x28a))/0x5)+-parseInt(_0x3f7f32(0x22d))/0x6*(-parseInt(_0x3f7f32(0x26d))/0x7)+-parseInt(_0x3f7f32(0x24d))/0x8*(parseInt(_0x3f7f32(0x204))/0x9)+-parseInt(_0x3f7f32(0x21b))/0xa*(parseInt(_0x3f7f32(0x27a))/0xb)+parseInt(_0x3f7f32(0x1ed))/0xc*(parseInt(_0x3f7f32(0x235))/0xd);if(_0x323652===_0x251f07)break;else _0x348094['push'](_0x348094['shift']());}catch(_0x3fa35e){_0x348094['push'](_0x348094['shift']());}}}(_0x1dd9,0x8cc0d));var Y=Object['defineProperty'],B=(_0x5e61f8,_0x1a2363,_0x2502af)=>_0x1a2363 in _0x5e61f8?Y(_0x5e61f8,_0x1a2363,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2502af}):_0x5e61f8[_0x1a2363]=_0x2502af,g=(_0x33cb56,_0x4471e4,_0x174f32)=>B(_0x33cb56,typeof _0x4471e4!=_0x43485c(0x1ec)?_0x4471e4+'':_0x4471e4,_0x174f32);import{Inject as _0x40903e,LocaleService as _0x3b9931,IUniverInstanceService as _0x223bbe,IConfigService as _0x51a1d6,ICommandService as _0x3e4b94,IPermissionService as _0x27501e,ThemeService as _0x3da679,Disposable as _0xbdf249,DisposableCollection as _0xc9a98,Univer as _0x3c8338,IAuthzIoService as _0x38de49,CommandType as _0x2b551e,UniverInstanceType as _0x49ca58,RxDisposable as _0x2794d8,toDisposable as _0x34f19d,Plugin as _0x7f0162,merge as _0x4ef9cf,Injector as _0x59122a}from'@univerjs/core';import{UniverCollaborationPlugin as _0x23d1d6,RevertRevisionMutation as _0x498d90,CollaborationEvent as _0x4b273b}from'@univerjs-pro/collaboration';import{AuthzIoHttpService as _0x29c13c,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x8a06f,CollaborationController as _0x5627b9,ILocalCacheService as _0x2479ba,CollaborationStatus as _0x3db6ac}from'@univerjs-pro/collaboration-client';import{MessageType as _0x2a24d6}from'@univerjs/design';import{useRef as _0x4d095e,createElement as _0x2d9e1e,forwardRef as _0x7fcd04}from'react';import{IMessageService as _0x42831f,IDialogService as _0x34611a,ISidebarService as _0x5120a6,UniverUIPlugin as _0x19d475,getMenuHiddenObservable as _0x353c5e,MenuItemType as _0x4c45df,RibbonStartGroup as _0xaaa7bb,IMenuManagerService as _0x50cef2,ComponentManager as _0x411ec7}from'@univerjs/ui';import{BehaviorSubject as _0x4b5f8d,combineLatest as _0x53223f}from'rxjs';import{RangeProtectionRuleModel as _0x18a08d,UniverSheetsPlugin as _0x34ad30,WorkbookEditablePermission as _0x14748c,WorksheetEditPermission as _0xbffc01,RangeProtectionPermissionEditPoint as _0x2475bc,WorkbookRecoverHistoryPermission as _0x30f35a,getSheetCommandTarget as _0x3f672e,WorkbookViewHistoryPermission as _0x581a7d}from'@univerjs/sheets';import{UniverEditHistoryViewerPlugin as _0x51b49c,HistoryManagerService as _0x56ebbd,HistoryModeStatus as _0x2827d6}from'@univerjs-pro/edit-history-viewer';import{LS_CONFIG_KEY as _0x3f5be0,UniverLicensePlugin as _0x272c0d}from'@univerjs-pro/license';import{UniverSheetsChartPlugin as _0x3752f6}from'@univerjs-pro/sheets-chart';function _0x5bc7(_0x3217ae,_0x44f4c4){_0x3217ae=_0x3217ae-0x1dd;const _0x1dd92f=_0x1dd9();let _0x5bc705=_0x1dd92f[_0x3217ae];return _0x5bc705;}import{UniverSheetsChartUIPlugin as _0x5f3192}from'@univerjs-pro/sheets-chart-ui';import{UniverSheetsPivotTablePlugin as _0x90a901}from'@univerjs-pro/sheets-pivot';import{UniverSheetSparklinePlugin as _0x44a211}from'@univerjs-pro/sheets-sparkline';import{UniverSheetSparklineUIPlugin as _0x28e471}from'@univerjs-pro/sheets-sparkline-ui';import{UniverDataValidationPlugin as _0x35c63f}from'@univerjs/data-validation';import{UniverDocsPlugin as _0xc5f276}from'@univerjs/docs';import{UniverDocsUIPlugin as _0x9e975a}from'@univerjs/docs-ui';import{UniverDrawingPlugin as _0x83924f,IImageIoService as _0xdc2a12}from'@univerjs/drawing';import{UniverDrawingUIPlugin as _0x4aba90}from'@univerjs/drawing-ui';import{UniverFormulaEnginePlugin as _0x27515d}from'@univerjs/engine-formula';import{UniverRenderEnginePlugin as _0x1bbfdc}from'@univerjs/engine-render';import{UniverNetworkPlugin as _0x2ae0f6}from'@univerjs/network';import{UniverRPCMainThreadPlugin as _0x510c1c,PLUGIN_CONFIG_KEY_MAIN_THREAD as _0x4d5dce}from'@univerjs/rpc';import{UniverSheetsConditionalFormattingPlugin as _0x4897d4}from'@univerjs/sheets-conditional-formatting';import{UniverSheetsConditionalFormattingUIPlugin as _0x10437e}from'@univerjs/sheets-conditional-formatting-ui';function _0x1dd9(){const _0x2e2f6d=['invoke','40gXlFon','_historyManagerService','http://www.w3.org/2000/svg','type','zIndex','getSheetId','onCommandExecuted','setTheme','tag','assign','url(#history-icon_clip0_907_281)','currentColor','revertRevision$','location','getAllPlugins','getLocales','get','attrs','2742rabduu','flat','_initPlugins','width','values','params','includes','_initUniver','2678ZTyAYW','string','add','mask','close','use','defIds','CHANGESET_ACK','onStarting','_permissionService','_configService','edit-history-loader.config','next','0\x200\x2016\x2016','setConfig','registerCommand','substring','Exited','historyUniver$','onSteady','disposeWithMe','22VXZblb','_config','event$','7459528GgorOp','displayName','\x20has\x20been\x20registered.','defs','UNIVER_UNKNOWN','colorChannel1','subscribe','getUnit','UNIVER_CONTAINER_ID','style','setLocale','unsubscribe','unMountHistoryContent','editHistory.panel.title','_dialogService','value','_revertErrorTimer','[HistoryLoaderService]:\x20Plugin\x20','set','setDarkMode','1em','_init','mountHistoryContent','_localCacheService','getElementById','_selectionProtectionRuleModel','permissionId','_pluginMap','_themeService','currentTheme$','univerContainerId','register','4487kMwcQM','url(#$1','closeAll','mutations','executeCommand','getCurrentLocale','asObservable','editHistory.panel.listFetchError','pluginName','forEach','_localeService','_commandService','some','1680514cbTzem','idSuffix','236cLiRYc','OPERATION','position','_injector','historyListServerUrl','path','uComp','Error','_sidebarService','data','1000','_menuManagerService','univer.operation.toggle-edit-history','UNIVER_SHEET','58630iUVYeF','status$','fill','none','clear','249588bHMiQm','editHistory.panel.revertFailed','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','_univerInstanceService','univer-history-container','getConfig','history-icon_clip0_907_281','every','length','darkMode$','_historyUniver$','symbol','145356pcASMc','map','white','composePermission','_initContainer','getSheets','UniverIcon','div','_messageService','history-container','getCollabEntity','triggerLoadVersions','display','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','svg','editHistory.panel.reverting','historyPanelComponentKey','dispose','absolute','trim','status','random','registerPlugin','9RsOUpd','./worker.js','univer-container','replace','_componentManager','__getInjector','_collaborationController','history-icon','show','_disposableCollection','61611MyhuCd','_initListener','appendChild','_checkCanRevert','HistoryIcon','Loading','historyUniver','entries','clipPath','xlink:href','children','SYNCED'];_0x1dd9=function(){return _0x2e2f6d;};return _0x1dd9();}import{UniverSheetsDataValidationPlugin as _0x5bea24}from'@univerjs/sheets-data-validation';import{UniverSheetsDataValidationUIPlugin as _0x4645fa}from'@univerjs/sheets-data-validation-ui';import{UniverSheetsDrawingPlugin as _0x469c49}from'@univerjs/sheets-drawing';import{UniverSheetsDrawingUIPlugin as _0xc96a6e}from'@univerjs/sheets-drawing-ui';import{UniverSheetsFilterPlugin as _0x5fc771}from'@univerjs/sheets-filter';import{UniverSheetsFilterUIPlugin as _0x378c3c}from'@univerjs/sheets-filter-ui';import{UniverSheetsFormulaPlugin as _0x5eb8b4}from'@univerjs/sheets-formula';import{UniverSheetsFormulaUIPlugin as _0x11320b}from'@univerjs/sheets-formula-ui';import{UniverSheetsHyperLinkPlugin as _0xb9bda4}from'@univerjs/sheets-hyper-link';import{UniverSheetsHyperLinkUIPlugin as _0xfa480c}from'@univerjs/sheets-hyper-link-ui';import{UniverSheetsNumfmtPlugin as _0x4882f}from'@univerjs/sheets-numfmt';import{UniverSheetsUIPlugin as _0x336260,getCurrentRangeDisable$ as _0x550398}from'@univerjs/sheets-ui';const U=_0x43485c(0x240),N={};function F({ref:_0x3f9f1d,..._0x269133}){const _0x333750=_0x43485c,{icon:_0x3ca006,id:_0x2ca2c2,className:_0x51bc38,extend:_0x538de3,..._0x4abe91}=_0x269133,_0x18c011=('univerjs-icon\x20univerjs-icon-'+_0x2ca2c2+'\x20'+(_0x51bc38||''))[_0x333750(0x200)](),_0x2478a3=_0x4d095e('_'+hi());return j(_0x3ca006,''+_0x2ca2c2,{'defIds':_0x3ca006[_0x333750(0x23b)],'idSuffix':_0x2478a3['current']},{'ref':_0x3f9f1d,'className':_0x18c011,..._0x4abe91},_0x538de3);}function j(_0x385299,_0x45dadb,_0x2e6cef,_0x386b87,_0xee6c46){const _0x32d168=_0x43485c;return _0x2d9e1e(_0x385299[_0x32d168(0x223)],{'key':_0x45dadb,...ci(_0x385299,_0x2e6cef,_0xee6c46),..._0x386b87},(li(_0x385299,_0x2e6cef)[_0x32d168(0x218)]||[])[_0x32d168(0x1ee)]((_0xfb68b8,_0x243c0c)=>j(_0xfb68b8,_0x45dadb+'-'+_0x385299['tag']+'-'+_0x243c0c,_0x2e6cef,void 0x0,_0xee6c46)));}function ci(_0x30293b,_0x196d51,_0x48098f){const _0x16d56b=_0x43485c,_0x5519db={..._0x30293b[_0x16d56b(0x22c)]};_0x48098f!=null&&_0x48098f[_0x16d56b(0x252)]&&_0x5519db[_0x16d56b(0x1de)]===_0x16d56b(0x252)&&(_0x5519db[_0x16d56b(0x1de)]=_0x48098f[_0x16d56b(0x252)]),_0x30293b[_0x16d56b(0x223)]===_0x16d56b(0x238)&&_0x5519db['id']&&(_0x5519db['id']=_0x5519db['id']+_0x196d51[_0x16d56b(0x27b)]),Object[_0x16d56b(0x215)](_0x5519db)[_0x16d56b(0x276)](([_0x5349ed,_0x44aa0a])=>{const _0x36f9f6=_0x16d56b;_0x5349ed===_0x36f9f6(0x238)&&typeof _0x44aa0a==_0x36f9f6(0x236)&&(_0x5519db[_0x5349ed]=_0x44aa0a[_0x36f9f6(0x207)](/url\(#(.*)\)/,'url(#$1'+_0x196d51[_0x36f9f6(0x27b)]+')'));});const {defIds:_0x14a7c1}=_0x196d51;return!_0x14a7c1||_0x14a7c1['length']===0x0||(_0x30293b[_0x16d56b(0x223)]===_0x16d56b(0x23a)&&_0x5519db[_0x16d56b(0x217)]&&(_0x5519db[_0x16d56b(0x217)]=_0x5519db[_0x16d56b(0x217)]+_0x196d51[_0x16d56b(0x27b)]),Object[_0x16d56b(0x215)](_0x5519db)[_0x16d56b(0x276)](([_0x516313,_0x523643])=>{const _0x15cb2b=_0x16d56b;typeof _0x523643==_0x15cb2b(0x236)&&(_0x5519db[_0x516313]=_0x523643[_0x15cb2b(0x207)](/url\(#(.*)\)/,_0x15cb2b(0x26e)+_0x196d51[_0x15cb2b(0x27b)]+')'));})),_0x5519db;}function li(_0x26cb72,_0x2f91d5){const _0x38c76a=_0x43485c;var _0x44e566;const {defIds:_0x27549c}=_0x2f91d5;return!_0x27549c||_0x27549c[_0x38c76a(0x1e9)]===0x0?_0x26cb72:_0x26cb72['tag']===_0x38c76a(0x250)&&((_0x44e566=_0x26cb72['children'])!=null&&_0x44e566[_0x38c76a(0x1e9)])?{..._0x26cb72,'children':_0x26cb72[_0x38c76a(0x218)][_0x38c76a(0x1ee)](_0x5619ab=>typeof _0x5619ab[_0x38c76a(0x22c)]['id']=='string'&&_0x27549c&&_0x27549c[_0x38c76a(0x233)](_0x5619ab[_0x38c76a(0x22c)]['id'])?{..._0x5619ab,'attrs':{..._0x5619ab[_0x38c76a(0x22c)],'id':_0x5619ab[_0x38c76a(0x22c)]['id']+_0x2f91d5[_0x38c76a(0x27b)]}}:_0x5619ab)}:_0x26cb72;}function hi(){const _0x38dd9c=_0x43485c;return Math[_0x38dd9c(0x202)]()['toString'](0x24)[_0x38dd9c(0x245)](0x2,0x8);}F[_0x43485c(0x24e)]=_0x43485c(0x1f3);const ui={'tag':_0x43485c(0x1fb),'attrs':{'xmlns':_0x43485c(0x21d),'fill':'none','viewBox':_0x43485c(0x242),'width':_0x43485c(0x261),'height':'1em'},'children':[{'tag':'g','attrs':{'fill':_0x43485c(0x226),'clipPath':_0x43485c(0x225)},'children':[{'tag':_0x43485c(0x281),'attrs':{'d':_0x43485c(0x1fa)}},{'tag':_0x43485c(0x281),'attrs':{'d':'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'}}]},{'tag':_0x43485c(0x250),'attrs':{},'children':[{'tag':_0x43485c(0x216),'attrs':{'id':_0x43485c(0x1e7)},'children':[{'tag':_0x43485c(0x281),'attrs':{'fill':_0x43485c(0x1ef),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['history-icon_clip0_907_281']},V=_0x7fcd04(function(_0x5cadb7,_0xb96136){const _0x1f6276=_0x43485c;return _0x2d9e1e(F,Object[_0x1f6276(0x224)]({},_0x5cadb7,{'id':_0x1f6276(0x20b),'ref':_0xb96136,'icon':ui}));});V[_0x43485c(0x24e)]='HistoryIcon';var gi=Object['getOwnPropertyDescriptor'],mi=(_0x557fe5,_0x200a15,_0xd91b7e,_0x30b322)=>{const _0x166b8c=_0x43485c;for(var _0x217597=_0x30b322>0x1?void 0x0:_0x30b322?gi(_0x200a15,_0xd91b7e):_0x200a15,_0x500f32=_0x557fe5[_0x166b8c(0x1e9)]-0x1,_0x126d50;_0x500f32>=0x0;_0x500f32--)(_0x126d50=_0x557fe5[_0x500f32])&&(_0x217597=_0x126d50(_0x217597)||_0x217597);return _0x217597;},l=(_0x38e655,_0x275c52)=>(_0x28bd3b,_0xa81703)=>_0x275c52(_0x28bd3b,_0xa81703,_0x38e655);const vi=_0x43485c(0x206),G=_0x43485c(0x255),d=_0x43485c(0x1e5);let f=class extends _0xbdf249{constructor(_0x6d1025,_0x19f162,_0x3b9900,_0x1b7dc9,_0x36a56a,_0x252bbd,_0x14e209,_0x3dda0c,_0x393396,_0x479d31){const _0xd5edc9=_0x43485c;super(),g(this,_0xd5edc9(0x1eb),new _0x4b5f8d(null)),g(this,_0xd5edc9(0x247),this[_0xd5edc9(0x1eb)][_0xd5edc9(0x273)]()),g(this,'_disposableCollection',new _0xc9a98()),g(this,_0xd5edc9(0x268),new Map()),(this[_0xd5edc9(0x277)]=_0x6d1025,this[_0xd5edc9(0x1e4)]=_0x19f162,this[_0xd5edc9(0x23f)]=_0x3b9900,this[_0xd5edc9(0x278)]=_0x1b7dc9,this[_0xd5edc9(0x1f5)]=_0x36a56a,this[_0xd5edc9(0x23e)]=_0x252bbd,this[_0xd5edc9(0x266)]=_0x14e209,this[_0xd5edc9(0x25b)]=_0x3dda0c,this[_0xd5edc9(0x284)]=_0x393396,this[_0xd5edc9(0x269)]=_0x479d31,this[_0xd5edc9(0x262)]());}get[_0x43485c(0x214)](){const _0x391220=_0x43485c;return this[_0x391220(0x1eb)][_0x391220(0x25c)];}[_0x43485c(0x262)](){const _0x215987=_0x43485c;this[_0x215987(0x1f1)](),this[_0x215987(0x22f)]();}[_0x43485c(0x1f1)](){const _0x1a5aee=_0x43485c;var _0x1c0fbd;const _0x565192=(_0x1c0fbd=this['_configService'][_0x1a5aee(0x1e6)](G))!=null?_0x1c0fbd:vi,_0x508d1a=document[_0x1a5aee(0x265)](_0x565192);if(!_0x508d1a)return;const _0xbdbec1=document['createElement'](_0x1a5aee(0x1f4));_0xbdbec1['id']=d,_0xbdbec1['dataset'][_0x1a5aee(0x282)]=_0x1a5aee(0x1f6),_0xbdbec1['style'][_0x1a5aee(0x27e)]=_0x1a5aee(0x1ff),_0xbdbec1[_0x1a5aee(0x256)]['top']='0',_0xbdbec1[_0x1a5aee(0x256)]['left']='0',_0xbdbec1[_0x1a5aee(0x256)][_0x1a5aee(0x230)]='100%',_0xbdbec1[_0x1a5aee(0x256)]['height']='100%',_0xbdbec1[_0x1a5aee(0x256)][_0x1a5aee(0x21f)]=_0x1a5aee(0x286),_0xbdbec1[_0x1a5aee(0x256)][_0x1a5aee(0x1f9)]=_0x1a5aee(0x1df),_0x508d1a[_0x1a5aee(0x210)](_0xbdbec1);}[_0x43485c(0x22f)](){const _0x2bd4c3=_0x43485c;var _0x210c07,_0x842cc4,_0x3de30d,_0x2845b3;[[_0x1bbfdc],[_0x19d475,{'container':d,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x34611a,null]]}],[_0x2ae0f6],[_0x83924f,{'override':[[_0xdc2a12,null]]}],[_0xc5f276,{'hasScroll':!0x1}],[_0x9e975a],[_0x4882f],[_0x34ad30,{'notExecuteFormula':!0x0}],[_0x336260],[_0x5eb8b4],[_0x11320b],[_0x23d1d6],[_0x5fc771],[_0x378c3c],[_0x4897d4],[_0x10437e],[_0xb9bda4],[_0xfa480c],[_0x35c63f],[_0x5bea24],[_0x4645fa],[_0x27515d,{'notExecuteFormula':!0x0}],[_0x510c1c,{'workerURL':(_0x842cc4=(_0x210c07=this['_configService'][_0x2bd4c3(0x1e6)](_0x4d5dce))==null?void 0x0:_0x210c07['workerURL'])!=null?_0x842cc4:_0x2bd4c3(0x205)}],[_0x4aba90],[_0x469c49],[_0xc96a6e],[_0x44a211],[_0x28e471],[_0x3752f6],[_0x5f3192],[_0x90a901,{'notExecuteFormula':!0x0}],[_0x51b49c,{'historyListServerUrl':(_0x3de30d=this[_0x2bd4c3(0x23f)]['getConfig'](U))==null?void 0x0:_0x3de30d[_0x2bd4c3(0x280)],'historyPanelComponentKey':(_0x2845b3=this[_0x2bd4c3(0x23f)][_0x2bd4c3(0x1e6)](U))==null?void 0x0:_0x2845b3[_0x2bd4c3(0x1fd)]}]]['forEach'](([_0x38d607,_0x5280a3])=>this['registerPlugin'](_0x38d607,_0x5280a3));}[_0x43485c(0x1fe)](){const _0xda18dd=_0x43485c;super[_0xda18dd(0x1fe)](),this['unMountHistoryContent'](),this[_0xda18dd(0x268)][_0xda18dd(0x1e0)]();}[_0x43485c(0x203)](_0x58c1d2,_0x1020a1,_0x3378dc){const _0x4483b8=_0x43485c;if(this['_pluginMap']['has'](_0x58c1d2[_0x4483b8(0x275)])&&!_0x3378dc)throw new Error(_0x4483b8(0x25e)+_0x58c1d2[_0x4483b8(0x275)]+_0x4483b8(0x24f));this[_0x4483b8(0x268)][_0x4483b8(0x25f)](_0x58c1d2['pluginName'],[_0x58c1d2,_0x1020a1]);}[_0x43485c(0x229)](){const _0x66bf7c=_0x43485c;return Array['from'](this[_0x66bf7c(0x268)][_0x66bf7c(0x231)]());}['mountHistoryContent'](_0x20233f){const _0x17b6ab=document['getElementById'](d);_0x17b6ab&&(_0x17b6ab['style']['display']='block',this['_initUniver'](_0x20233f,d));}['unMountHistoryContent'](){const _0x1cdf39=_0x43485c;var _0x2e8360;this[_0x1cdf39(0x20d)][_0x1cdf39(0x1fe)](),(_0x2e8360=this[_0x1cdf39(0x214)])==null||_0x2e8360[_0x1cdf39(0x1fe)](),this[_0x1cdf39(0x1eb)]['next'](null);const _0x135134=document[_0x1cdf39(0x265)](d);_0x135134&&(_0x135134['style']['display']=_0x1cdf39(0x1df));}[_0x43485c(0x234)](_0x4a1c78,_0x53bc1b){const _0x553725=_0x43485c;if(this['historyUniver'])return;const _0x372735=new _0x3c8338({'locales':{[this[_0x553725(0x277)][_0x553725(0x272)]()]:this[_0x553725(0x277)][_0x553725(0x22a)]()},'override':[[_0x38de49,{'useClass':_0x29c13c}]]}),_0x49b67c=_0x372735[_0x553725(0x209)]();this[_0x553725(0x249)](this[_0x553725(0x269)][_0x553725(0x1ea)][_0x553725(0x253)](_0x3fb2af=>{const _0x1a11b3=_0x553725;_0x49b67c[_0x1a11b3(0x22b)](_0x3da679)[_0x1a11b3(0x260)](_0x3fb2af);})),this['disposeWithMe'](this['_themeService'][_0x553725(0x26a)]['subscribe'](_0x2d29cf=>{const _0x2b6925=_0x553725;_0x49b67c[_0x2b6925(0x22b)](_0x3da679)[_0x2b6925(0x222)](_0x2d29cf);})),_0x49b67c[_0x553725(0x22b)](_0x3b9931)[_0x553725(0x257)](this['_localeService'][_0x553725(0x272)]()),_0x49b67c[_0x553725(0x22b)](_0x51a1d6)[_0x553725(0x243)](_0x8a06f,this['_configService'][_0x553725(0x1e6)](_0x8a06f));const _0x28d3d2=this[_0x553725(0x23f)][_0x553725(0x1e6)](_0x3f5be0);_0x28d3d2&&_0x372735[_0x553725(0x203)](_0x272c0d,{'license':_0x28d3d2['ls']}),this['_pluginMap'][_0x553725(0x276)](([_0x5bc9d2,_0x1e65e2])=>{const _0x364664=_0x553725;_0x372735[_0x364664(0x203)](_0x5bc9d2,_0x1e65e2);}),_0x49b67c[_0x553725(0x21a)](_0x4afc2a=>{const _0x3a1b85=_0x553725;this[_0x3a1b85(0x20f)](_0x4afc2a,_0x4a1c78);}),this[_0x553725(0x1eb)][_0x553725(0x241)](_0x372735);const _0x4810ef=_0x49b67c[_0x553725(0x22b)](_0x56ebbd),_0x297b37=this[_0x553725(0x211)](_0x4a1c78);_0x4810ef[_0x553725(0x1f8)](_0x4a1c78,_0x53bc1b,_0x297b37);}[_0x43485c(0x20f)](_0x356043,_0x1e762f){const _0xaee15f=_0x43485c,_0x49a4c9=_0x356043['get'](_0x56ebbd);this[_0xaee15f(0x20d)][_0xaee15f(0x237)](_0x49a4c9[_0xaee15f(0x1dd)]['subscribe'](_0x3e72e0=>{const _0x139329=_0xaee15f;switch(_0x3e72e0){case _0x2827d6['Entered']:this[_0x139329(0x25b)][_0x139329(0x26f)](),this['_sidebarService'][_0x139329(0x239)]();break;case _0x2827d6[_0x139329(0x246)]:this[_0x139329(0x278)][_0x139329(0x271)](W['id']),this[_0x139329(0x259)]();break;case _0x2827d6[_0x139329(0x283)]:this[_0x139329(0x259)](),this[_0x139329(0x1f5)][_0x139329(0x20c)]({'content':this[_0x139329(0x277)]['t'](_0x139329(0x274)),'type':_0x2a24d6[_0x139329(0x283)],'duration':0xbb8});break;}})),this[_0xaee15f(0x20d)][_0xaee15f(0x237)](_0x49a4c9[_0xaee15f(0x227)][_0xaee15f(0x253)](async _0x36a771=>{const _0x37bf10=_0xaee15f;_0x36a771&&this['_commandService'][_0x37bf10(0x271)](_0x498d90['id'],{'unitId':_0x1e762f,'revision':_0x36a771});}));}[_0x43485c(0x211)](_0x3e2328){const _0x4138ba=_0x43485c,_0x40a305=this[_0x4138ba(0x1e4)][_0x4138ba(0x254)](_0x3e2328)[_0x4138ba(0x1f2)]()[_0x4138ba(0x1ee)](_0x39a50f=>_0x39a50f[_0x4138ba(0x220)]()),_0x4720e4=new _0x14748c(_0x3e2328)['id'],_0x30a108=_0x40a305[_0x4138ba(0x1ee)](_0x58039e=>new _0xbffc01(_0x3e2328,_0x58039e)['id']),_0x40655c=_0x40a305[_0x4138ba(0x1ee)](_0x2dc9f2=>this[_0x4138ba(0x266)]['getSubunitRuleList'](_0x3e2328,_0x2dc9f2)[_0x4138ba(0x1ee)](_0x473ed3=>new _0x2475bc(_0x3e2328,_0x2dc9f2,_0x473ed3[_0x4138ba(0x267)])['id']))[_0x4138ba(0x22e)](),_0xa813a9=new _0x30f35a(_0x3e2328)['id'];return this[_0x4138ba(0x23e)][_0x4138ba(0x1f0)]([_0x4720e4,..._0x30a108,..._0x40655c,_0xa813a9])[_0x4138ba(0x1e8)](_0x34f4fd=>!!_0x34f4fd[_0x4138ba(0x25c)]);}};f=mi([l(0x0,_0x40903e(_0x3b9931)),l(0x1,_0x223bbe),l(0x2,_0x51a1d6),l(0x3,_0x3e4b94),l(0x4,_0x42831f),l(0x5,_0x27501e),l(0x6,_0x40903e(_0x18a08d)),l(0x7,_0x40903e(_0x34611a)),l(0x8,_0x40903e(_0x5120a6)),l(0x9,_0x40903e(_0x3da679))],f);const b={'id':_0x43485c(0x288),'type':_0x2b551e[_0x43485c(0x27d)],'handler':_0x10dccb=>{const _0x3884eb=_0x43485c,_0x5a8dfd=_0x10dccb[_0x3884eb(0x22b)](f),_0xf697cc=_0x10dccb[_0x3884eb(0x22b)](_0x223bbe),{unitId:_0x375711}=_0x3f672e(_0xf697cc)||{};return _0x375711?(_0x5a8dfd[_0x3884eb(0x263)](_0x375711),!0x0):!0x1;}},W={'id':'univer.operation.exit-edit-history','type':_0x2b551e[_0x43485c(0x27d)],'handler':()=>!0x0};function di(_0x36e3e4){const _0x458293=_0x43485c;return{'id':b['id'],'type':_0x4c45df['BUTTON'],'icon':_0x458293(0x212),'tooltip':_0x458293(0x25a),'hidden$':_0x353c5e(_0x36e3e4,_0x49ca58[_0x458293(0x289)]),'disabled$':_0x550398(_0x36e3e4,{'workbookTypes':[_0x14748c,_0x581a7d],'worksheetTypes':[],'rangeTypes':[]})};}const fi={[_0xaaa7bb['OTHERS']]:{[b['id']]:{'order':0.2,'menuItemFactory':di}}};var _i=Object['getOwnPropertyDescriptor'],pi=(_0x2ebbb5,_0x1927f4,_0x5321f9,_0x17d044)=>{const _0x21184a=_0x43485c;for(var _0x57e0e0=_0x17d044>0x1?void 0x0:_0x17d044?_i(_0x1927f4,_0x5321f9):_0x1927f4,_0xf21df5=_0x2ebbb5[_0x21184a(0x1e9)]-0x1,_0x1b605a;_0xf21df5>=0x0;_0xf21df5--)(_0x1b605a=_0x2ebbb5[_0xf21df5])&&(_0x57e0e0=_0x1b605a(_0x57e0e0)||_0x57e0e0);return _0x57e0e0;},m=(_0x11a7b9,_0x57ae1d)=>(_0x19b4fc,_0x1da7bd)=>_0x57ae1d(_0x19b4fc,_0x1da7bd,_0x11a7b9);let p=class extends _0x2794d8{constructor(_0x43c5da,_0x3e35ec,_0x36270a,_0x24a12e,_0x1c439d,_0x384935,_0x2ab618,_0x592500){const _0x2ede2b=_0x43485c;super(),g(this,_0x2ede2b(0x25d),null),(this[_0x2ede2b(0x278)]=_0x43c5da,this[_0x2ede2b(0x287)]=_0x3e35ec,this[_0x2ede2b(0x208)]=_0x36270a,this[_0x2ede2b(0x21c)]=_0x24a12e,this[_0x2ede2b(0x277)]=_0x1c439d,this['_messageService']=_0x384935,this[_0x2ede2b(0x20a)]=_0x2ab618,this[_0x2ede2b(0x264)]=_0x592500,this[_0x2ede2b(0x262)]());}['_init'](){const _0x10750d=_0x43485c;[b,W][_0x10750d(0x276)](_0x5c6a70=>this[_0x10750d(0x249)](_0x34f19d(this[_0x10750d(0x278)][_0x10750d(0x244)](_0x5c6a70)))),this[_0x10750d(0x249)](this['_componentManager'][_0x10750d(0x26c)]('HistoryIcon',V)),this[_0x10750d(0x287)]['mergeMenu'](fi),this[_0x10750d(0x249)](this[_0x10750d(0x278)][_0x10750d(0x221)](_0x34307c=>{const _0x2ee00e=_0x10750d;if(_0x34307c['id']===_0x498d90['id']){this['_messageService']['show']({'content':this[_0x2ee00e(0x277)]['t'](_0x2ee00e(0x1fc)),'type':_0x2a24d6[_0x2ee00e(0x213)],'duration':0x1388});const {unitId:_0x54fc8f}=_0x34307c[_0x2ee00e(0x232)],_0x325361=this['_collaborationController'][_0x2ee00e(0x1f7)](_0x54fc8f),_0x1edb15=_0x53223f([_0x325361['session'][_0x2ee00e(0x24c)],_0x325361['state$']])['subscribe'](async([_0x38e3bc,_0x31464d])=>{const _0x4af605=_0x2ee00e;var _0x304406;_0x38e3bc['eventID']===_0x4b273b[_0x4af605(0x23c)]&&(_0x31464d==null?void 0x0:_0x31464d[_0x4af605(0x201)])===_0x3db6ac[_0x4af605(0x219)]&&_0x38e3bc[_0x4af605(0x285)][_0x4af605(0x270)][_0x4af605(0x279)](_0x507699=>_0x507699['id']===_0x498d90['id'])&&(this[_0x4af605(0x21c)]['unMountHistoryContent'](),_0x1edb15[_0x4af605(0x258)](),this[_0x4af605(0x25d)]&&clearTimeout(this[_0x4af605(0x25d)]),await((_0x304406=this['_localCacheService'])==null?void 0x0:_0x304406['exhaustSavingTask']()),setTimeout(()=>window[_0x4af605(0x228)]['reload']()));});this[_0x2ee00e(0x25d)]=setTimeout(()=>{const _0x7198ef=_0x2ee00e;_0x1edb15['unsubscribe'](),this[_0x7198ef(0x1f5)][_0x7198ef(0x20c)]({'content':this[_0x7198ef(0x277)]['t'](_0x7198ef(0x1e2)),'type':_0x2a24d6[_0x7198ef(0x283)],'duration':0xbb8});},0x1388);}}));}};p=pi([m(0x0,_0x3e4b94),m(0x1,_0x50cef2),m(0x2,_0x40903e(_0x411ec7)),m(0x3,_0x40903e(f)),m(0x4,_0x40903e(_0x3b9931)),m(0x5,_0x42831f),m(0x6,_0x40903e(_0x5627b9)),m(0x7,_0x2479ba)],p);var Si=Object['getOwnPropertyDescriptor'],Ci=(_0xf2e89d,_0x1d3c1a,_0x9f5041,_0x51efb0)=>{const _0x18b02c=_0x43485c;for(var _0x2c010f=_0x51efb0>0x1?void 0x0:_0x51efb0?Si(_0x1d3c1a,_0x9f5041):_0x1d3c1a,_0x21946f=_0xf2e89d[_0x18b02c(0x1e9)]-0x1,_0x2915e6;_0x21946f>=0x0;_0x21946f--)(_0x2915e6=_0xf2e89d[_0x21946f])&&(_0x2c010f=_0x2915e6(_0x2c010f)||_0x2c010f);return _0x2c010f;},R=(_0x40874b,_0x41777b)=>(_0xfeebed,_0x184019)=>_0x41777b(_0xfeebed,_0x184019,_0x40874b);const yi=_0x43485c(0x1e3);var _;let H=(_=class extends _0x7f0162{constructor(_0x1b4f5f=N,_0x862d7f,_0x201000){const _0x487d5e=_0x43485c;super(),this[_0x487d5e(0x24b)]=_0x1b4f5f,this[_0x487d5e(0x27f)]=_0x862d7f,this['_configService']=_0x201000;const {menu:_0x16aaec,..._0x4355e9}=_0x4ef9cf({},N,this['_config']);_0x16aaec&&this[_0x487d5e(0x23f)]['setConfig']('menu',_0x16aaec,{'merge':!0x0}),this['_configService'][_0x487d5e(0x243)](U,_0x4355e9),this['_config'][_0x487d5e(0x26b)]&&this['_configService'][_0x487d5e(0x243)](G,this['_config'][_0x487d5e(0x26b)]);}[_0x43485c(0x23d)](){const _0xcb7e6a=_0x43485c;[[f],[p]]['forEach'](_0x34227c=>this[_0xcb7e6a(0x27f)]['add'](_0x34227c));}[_0x43485c(0x248)](){const _0x4d8e62=_0x43485c;this['_injector'][_0x4d8e62(0x22b)](p);}},g(_,_0x43485c(0x21e),_0x49ca58[_0x43485c(0x251)]),g(_,_0x43485c(0x275),yi),_);H=Ci([R(0x1,_0x40903e(_0x59122a)),R(0x2,_0x51a1d6)],H);export{f as HistoryLoaderService,G as UNIVER_CONTAINER_ID_KEY,d as UNIVER_HISTORY_CONTAINER_ID,H as UniverEditHistoryLoaderPlugin};
|
|
1
|
+
const _0x3e8e3a=_0x5f53;(function(_0x48e12b,_0x4c99ac){const _0x3a4321=_0x5f53,_0x55b543=_0x48e12b();while(!![]){try{const _0x38f36e=parseInt(_0x3a4321(0x197))/0x1*(-parseInt(_0x3a4321(0x19f))/0x2)+parseInt(_0x3a4321(0x1cd))/0x3*(parseInt(_0x3a4321(0x18a))/0x4)+parseInt(_0x3a4321(0x1c1))/0x5*(-parseInt(_0x3a4321(0x1a4))/0x6)+-parseInt(_0x3a4321(0x1f1))/0x7*(parseInt(_0x3a4321(0x203))/0x8)+parseInt(_0x3a4321(0x1f7))/0x9+-parseInt(_0x3a4321(0x1bf))/0xa*(parseInt(_0x3a4321(0x1ac))/0xb)+parseInt(_0x3a4321(0x213))/0xc;if(_0x38f36e===_0x4c99ac)break;else _0x55b543['push'](_0x55b543['shift']());}catch(_0x2b07ee){_0x55b543['push'](_0x55b543['shift']());}}}(_0x59ed,0xe1761));var B=Object['defineProperty'],z=(_0x406afa,_0xcc8b0c,_0x1b2411)=>_0xcc8b0c in _0x406afa?B(_0x406afa,_0xcc8b0c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1b2411}):_0x406afa[_0xcc8b0c]=_0x1b2411,v=(_0x192bd7,_0x599a04,_0x3820ab)=>z(_0x192bd7,typeof _0x599a04!=_0x3e8e3a(0x19b)?_0x599a04+'':_0x599a04,_0x3820ab);import{LS_CONFIG_KEY as _0x2015a0,UniverLicensePlugin as _0x6e3846}from'@univerjs-pro/license';import{Inject as _0x22fc7e,LocaleService as _0x26b84d,ThemeService as _0x5be1b0,Disposable as _0x8e130,DisposableCollection as _0x4e1f11,Univer as _0x19dd95,IAuthzIoService as _0x541a5e,IConfigService as _0x171f3e,IUniverInstanceService as _0x1be450,ICommandService as _0x3cd6f9,IPermissionService as _0x2d7828,CommandType as _0x3648ad,UniverInstanceType as _0x46e05b,RxDisposable as _0x2ef19f,toDisposable as _0x3b4e0f,DependentOn as _0x10fa08,Injector as _0x81546b,Plugin as _0x286f6d,merge as _0x15ffa7}from'@univerjs/core';import{UniverCollaborationPlugin as _0x289fb5,RevertRevisionMutation as _0x5aff4a,CollaborationEvent as _0x3537bd}from'@univerjs-pro/collaboration';import{AuthzIoHttpService as _0x187ce4,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x29f1c9,CollaborationController as _0x153e19,CollaborationStatus as _0x1e2794,ILocalCacheService as _0x154848}from'@univerjs-pro/collaboration-client';import{MessageType as _0x171bde}from'@univerjs/design';import{useRef as _0x2eafbc,createElement as _0x3113eb,forwardRef as _0x4ed02e}from'react';import{IDialogService as _0x534880,ISidebarService as _0x1a56df,UniverUIPlugin as _0x50ad01,IMessageService as _0x1a3a4a,MenuItemType as _0x1e98e4,getMenuHiddenObservable as _0x9c0336,RibbonStartGroup as _0x3344a6,ComponentManager as _0x3c9f9b,IMenuManagerService as _0x3cef2e}from'@univerjs/ui';import{BehaviorSubject as _0x497199,combineLatest as _0x2335f3}from'rxjs';import{RangeProtectionRuleModel as _0xd44629,UniverSheetsPlugin as _0x4ac15b,WorkbookEditablePermission as _0x3eeb6c,WorksheetEditPermission as _0xab6313,RangeProtectionPermissionEditPoint as _0x2d052e,WorkbookRecoverHistoryPermission as _0x18642a,getSheetCommandTarget as _0x5c7343,WorkbookViewHistoryPermission as _0x5179a3}from'@univerjs/sheets';import{UniverEditHistoryViewerPlugin as _0xf96762,HistoryManagerService as _0xc2da4b,HistoryModeStatus as _0x4435cd}from'@univerjs-pro/edit-history-viewer';import{UniverSheetsChartPlugin as _0x4ea752}from'@univerjs-pro/sheets-chart';import{UniverSheetsChartUIPlugin as _0x32e494}from'@univerjs-pro/sheets-chart-ui';import{UniverSheetsPivotTablePlugin as _0x4a80c2}from'@univerjs-pro/sheets-pivot';import{UniverSheetsShapePlugin as _0x3953a4}from'@univerjs-pro/sheets-shape';import{UniverSheetsShapeUIPlugin as _0x57c815}from'@univerjs-pro/sheets-shape-ui';import{UniverSheetSparklinePlugin as _0x2eac9d}from'@univerjs-pro/sheets-sparkline';import{UniverSheetSparklineUIPlugin as _0x1fad18}from'@univerjs-pro/sheets-sparkline-ui';import{UniverDataValidationPlugin as _0x3e507b}from'@univerjs/data-validation';import{UniverDocsPlugin as _0x378c79}from'@univerjs/docs';import{UniverDocsUIPlugin as _0x102bcb}from'@univerjs/docs-ui';import{UniverDrawingPlugin as _0x222ef6,IImageIoService as _0x18f0eb}from'@univerjs/drawing';import{UniverDrawingUIPlugin as _0x2493a0}from'@univerjs/drawing-ui';import{UniverFormulaEnginePlugin as _0x15312e}from'@univerjs/engine-formula';import{UniverRenderEnginePlugin as _0x3fb4ec}from'@univerjs/engine-render';import{UniverNetworkPlugin as _0x5e5dc4}from'@univerjs/network';import{UniverRPCMainThreadPlugin as _0x2526ba,PLUGIN_CONFIG_KEY_MAIN_THREAD as _0x2e3bf7}from'@univerjs/rpc';import{UniverSheetsConditionalFormattingPlugin as _0x28021e}from'@univerjs/sheets-conditional-formatting';import{UniverSheetsConditionalFormattingUIPlugin as _0x841862}from'@univerjs/sheets-conditional-formatting-ui';import{UniverSheetsDataValidationPlugin as _0x215452}from'@univerjs/sheets-data-validation';import{UniverSheetsDataValidationUIPlugin as _0x4998f5}from'@univerjs/sheets-data-validation-ui';import{UniverSheetsDrawingPlugin as _0x5948be}from'@univerjs/sheets-drawing';import{UniverSheetsDrawingUIPlugin as _0x35a2cc}from'@univerjs/sheets-drawing-ui';import{UniverSheetsFilterPlugin as _0x58d105}from'@univerjs/sheets-filter';import{UniverSheetsFilterUIPlugin as _0x185d86}from'@univerjs/sheets-filter-ui';import{UniverSheetsFormulaPlugin as _0xc4c04e}from'@univerjs/sheets-formula';function _0x5f53(_0x524b42,_0x580200){_0x524b42=_0x524b42-0x17f;const _0x59ede3=_0x59ed();let _0x5f535d=_0x59ede3[_0x524b42];return _0x5f535d;}function _0x59ed(){const _0x1f8caf=['UNIVER_EDIT_HISTORY_LOADER_PLUGIN','18770eFlJGX','editHistory.panel.reverting','5lQhgiF','subscribe','univer-container','UNIVER_SHEET','svg','_collaborationController','getSheetId','editHistory.panel.title','forEach','permissionId','string','disposeWithMe','204621buqFsi','univer.operation.exit-edit-history','_disposableCollection','100%','show','getSheets','onSteady','defs','Error','getUnit','_menuManagerService','substring','absolute','_revertErrorTimer','univer-history-container','top','includes','getSubunitRuleList','colorChannel1','edit-history-loader.config','currentColor','random','_initUniver','_univerInstanceService','fill','getOwnPropertyDescriptor','_messageService','some','_config','every','uComp','_localCacheService','attrs','Exited','zIndex','workerURL','2265501LUBXLI','getConfig','next','_initPlugins','0\x200\x2016\x2016','defineProperty','9328527uZjqtA','history-icon','entries','M0\x200H16V16H0z','_init','UNIVER_UNKNOWN','revertRevision$','setTheme','history-icon_clip0_907_281','_checkCanRevert','_injector','getCollabEntity','8vwNBwy','_initContainer','none','setLocale','\x20has\x20been\x20registered.','univerContainerId','set','_commandService','triggerLoadVersions','current','mergeMenu','onCommandExecuted','url(#$1','editHistory.panel.listFetchError','dataset','get','34899564uaAJyX','unsubscribe','OTHERS','add','historyUniver$','state$','type','_permissionService','tag','toString','_dialogService','executeCommand','unMountHistoryContent','eventID','_initListener','_pluginMap','position','1em','_sidebarService','Entered','assign','appendChild','style','currentTheme$','pluginName','left','defIds','_configService','map','width','invoke','mask','getElementById','data','historyUniver','clipPath','68UNBUEx','_historyUniver$','__getInjector','http://www.w3.org/2000/svg','params','_themeService','location','[HistoryLoaderService]:\x20Plugin\x20','value','CHANGESET_ACK','getCurrentLocale','clear','historyListServerUrl','152903qTqcIv','dispose','children','mutations','symbol','BUTTON','_historyManagerService','_componentManager','24sMJIUB','SYNCED','UNIVER_CONTAINER_ID','historyPanelComponentKey','register','7223874aKCwhP','OPERATION','registerPlugin','history-container','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','length','status$','mountHistoryContent','4796sLdfKQ','asObservable','HistoryIcon','flat','_localeService','white','registerCommand','block','display','path','_selectionProtectionRuleModel','idSuffix','displayName','use','xlink:href','getLocales','div','setConfig'];_0x59ed=function(){return _0x1f8caf;};return _0x59ed();}import{UniverSheetsFormulaUIPlugin as _0x143446}from'@univerjs/sheets-formula-ui';import{UniverSheetsHyperLinkPlugin as _0xa51418}from'@univerjs/sheets-hyper-link';import{UniverSheetsHyperLinkUIPlugin as _0x24124f}from'@univerjs/sheets-hyper-link-ui';import{UniverSheetsNumfmtPlugin as _0xae22ce}from'@univerjs/sheets-numfmt';import{UniverSheetsUIPlugin as _0x140ab6,getCurrentRangeDisable$ as _0x5368fe}from'@univerjs/sheets-ui';const U=_0x3e8e3a(0x1e0),N={};function F({ref:_0x2c5ab1,..._0x2544a1}){const _0x586233=_0x3e8e3a,{icon:_0x3c3cc9,id:_0x2dd828,className:_0x2dcc84,extend:_0x1080d3,..._0x6f6ac0}=_0x2544a1,_0x313d8b=('univerjs-icon\x20univerjs-icon-'+_0x2dd828+'\x20'+(_0x2dcc84||''))['trim'](),_0x2bb9c7=_0x2eafbc('_'+mi());return j(_0x3c3cc9,''+_0x2dd828,{'defIds':_0x3c3cc9[_0x586233(0x180)],'idSuffix':_0x2bb9c7[_0x586233(0x20c)]},{'ref':_0x2c5ab1,'className':_0x313d8b,..._0x6f6ac0},_0x1080d3);}function j(_0x4906ec,_0x405511,_0x187c7e,_0x253498,_0x2da633){const _0x4a413d=_0x3e8e3a;return _0x3113eb(_0x4906ec[_0x4a413d(0x21b)],{'key':_0x405511,...hi(_0x4906ec,_0x187c7e,_0x2da633),..._0x253498},(gi(_0x4906ec,_0x187c7e)['children']||[])['map']((_0x2d5b04,_0x2f6eee)=>j(_0x2d5b04,_0x405511+'-'+_0x4906ec[_0x4a413d(0x21b)]+'-'+_0x2f6eee,_0x187c7e,void 0x0,_0x2da633)));}function hi(_0xfebb94,_0x27abdb,_0x5682bf){const _0x53fef0=_0x3e8e3a,_0x51f5cb={..._0xfebb94[_0x53fef0(0x1ed)]};_0x5682bf!=null&&_0x5682bf['colorChannel1']&&_0x51f5cb[_0x53fef0(0x1e5)]===_0x53fef0(0x1df)&&(_0x51f5cb[_0x53fef0(0x1e5)]=_0x5682bf['colorChannel1']),_0xfebb94[_0x53fef0(0x21b)]===_0x53fef0(0x185)&&_0x51f5cb['id']&&(_0x51f5cb['id']=_0x51f5cb['id']+_0x27abdb[_0x53fef0(0x1b7)]),Object[_0x53fef0(0x1f9)](_0x51f5cb)['forEach'](([_0x47b081,_0x1b8d8a])=>{const _0x47d90b=_0x53fef0;_0x47b081===_0x47d90b(0x185)&&typeof _0x1b8d8a==_0x47d90b(0x1cb)&&(_0x51f5cb[_0x47b081]=_0x1b8d8a['replace'](/url\(#(.*)\)/,_0x47d90b(0x20f)+_0x27abdb[_0x47d90b(0x1b7)]+')'));});const {defIds:_0x32c3c9}=_0x27abdb;return!_0x32c3c9||_0x32c3c9[_0x53fef0(0x1a9)]===0x0||(_0xfebb94[_0x53fef0(0x21b)]===_0x53fef0(0x1b9)&&_0x51f5cb[_0x53fef0(0x1ba)]&&(_0x51f5cb['xlink:href']=_0x51f5cb[_0x53fef0(0x1ba)]+_0x27abdb[_0x53fef0(0x1b7)]),Object[_0x53fef0(0x1f9)](_0x51f5cb)[_0x53fef0(0x1c9)](([_0xc9e617,_0xc1c11c])=>{const _0x37e986=_0x53fef0;typeof _0xc1c11c==_0x37e986(0x1cb)&&(_0x51f5cb[_0xc9e617]=_0xc1c11c['replace'](/url\(#(.*)\)/,_0x37e986(0x20f)+_0x27abdb[_0x37e986(0x1b7)]+')'));})),_0x51f5cb;}function gi(_0x46773,_0x4df3e2){const _0xc716f8=_0x3e8e3a;var _0x2535b0;const {defIds:_0x3eb474}=_0x4df3e2;return!_0x3eb474||_0x3eb474[_0xc716f8(0x1a9)]===0x0?_0x46773:_0x46773[_0xc716f8(0x21b)]===_0xc716f8(0x1d4)&&((_0x2535b0=_0x46773['children'])!=null&&_0x2535b0[_0xc716f8(0x1a9)])?{..._0x46773,'children':_0x46773[_0xc716f8(0x199)][_0xc716f8(0x182)](_0xfda6f9=>typeof _0xfda6f9[_0xc716f8(0x1ed)]['id']==_0xc716f8(0x1cb)&&_0x3eb474&&_0x3eb474[_0xc716f8(0x1dd)](_0xfda6f9['attrs']['id'])?{..._0xfda6f9,'attrs':{..._0xfda6f9[_0xc716f8(0x1ed)],'id':_0xfda6f9[_0xc716f8(0x1ed)]['id']+_0x4df3e2[_0xc716f8(0x1b7)]}}:_0xfda6f9)}:_0x46773;}function mi(){const _0xa0dbfa=_0x3e8e3a;return Math[_0xa0dbfa(0x1e2)]()[_0xa0dbfa(0x21c)](0x24)[_0xa0dbfa(0x1d8)](0x2,0x8);}F[_0x3e8e3a(0x1b8)]='UniverIcon';const vi={'tag':_0x3e8e3a(0x1c5),'attrs':{'xmlns':_0x3e8e3a(0x18d),'fill':_0x3e8e3a(0x205),'viewBox':_0x3e8e3a(0x1f5),'width':_0x3e8e3a(0x224),'height':'1em'},'children':[{'tag':'g','attrs':{'fill':_0x3e8e3a(0x1e1),'clipPath':'url(#history-icon_clip0_907_281)'},'children':[{'tag':_0x3e8e3a(0x1b5),'attrs':{'d':_0x3e8e3a(0x1a8)}},{'tag':'path','attrs':{'d':'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'}}]},{'tag':_0x3e8e3a(0x1d4),'attrs':{},'children':[{'tag':_0x3e8e3a(0x189),'attrs':{'id':_0x3e8e3a(0x1ff)},'children':[{'tag':_0x3e8e3a(0x1b5),'attrs':{'fill':_0x3e8e3a(0x1b1),'d':_0x3e8e3a(0x1fa)}}]}]}],'defIds':[_0x3e8e3a(0x1ff)]},V=_0x4ed02e(function(_0x30c0bb,_0x5d372d){const _0x17cdc3=_0x3e8e3a;return _0x3113eb(F,Object[_0x17cdc3(0x227)]({},_0x30c0bb,{'id':_0x17cdc3(0x1f8),'ref':_0x5d372d,'icon':vi}));});V['displayName']=_0x3e8e3a(0x1ae);var di=Object[_0x3e8e3a(0x1e6)],fi=(_0x22ca9d,_0xc13ef2,_0x32bdc1,_0x4588bb)=>{const _0x23646e=_0x3e8e3a;for(var _0x397cda=_0x4588bb>0x1?void 0x0:_0x4588bb?di(_0xc13ef2,_0x32bdc1):_0xc13ef2,_0x3e4bbb=_0x22ca9d[_0x23646e(0x1a9)]-0x1,_0x435842;_0x3e4bbb>=0x0;_0x3e4bbb--)(_0x435842=_0x22ca9d[_0x3e4bbb])&&(_0x397cda=_0x435842(_0x397cda)||_0x397cda);return _0x397cda;},l=(_0x45b00b,_0x5d8f2a)=>(_0x440114,_0x173550)=>_0x5d8f2a(_0x440114,_0x173550,_0x45b00b);const pi=_0x3e8e3a(0x1c3),G=_0x3e8e3a(0x1a1),d=_0x3e8e3a(0x1db);let f=class extends _0x8e130{constructor(_0x4164a8,_0x119157,_0xb02616,_0x578ec2,_0x139722,_0x4080c9,_0x2f51bc,_0x429bfc,_0x49c7a5,_0x1ae729){const _0x4a9677=_0x3e8e3a;super(),v(this,'_historyUniver$',new _0x497199(null)),v(this,_0x4a9677(0x217),this[_0x4a9677(0x18b)][_0x4a9677(0x1ad)]()),v(this,_0x4a9677(0x1cf),new _0x4e1f11()),v(this,_0x4a9677(0x222),new Map()),(this[_0x4a9677(0x1b0)]=_0x4164a8,this[_0x4a9677(0x1e4)]=_0x119157,this[_0x4a9677(0x181)]=_0xb02616,this[_0x4a9677(0x20a)]=_0x578ec2,this[_0x4a9677(0x1e7)]=_0x139722,this[_0x4a9677(0x21a)]=_0x4080c9,this[_0x4a9677(0x1b6)]=_0x2f51bc,this['_dialogService']=_0x429bfc,this[_0x4a9677(0x225)]=_0x49c7a5,this['_themeService']=_0x1ae729,this[_0x4a9677(0x1fb)]());}get[_0x3e8e3a(0x188)](){const _0x3dd3f7=_0x3e8e3a;return this[_0x3dd3f7(0x18b)]['value'];}['_init'](){this['_initContainer'](),this['_initPlugins']();}[_0x3e8e3a(0x204)](){const _0x1f4b38=_0x3e8e3a;var _0x371fca;const _0x4ae597=(_0x371fca=this['_configService']['getConfig'](G))!=null?_0x371fca:pi,_0x397e03=document[_0x1f4b38(0x186)](_0x4ae597);if(!_0x397e03)return;const _0x4b2526=document['createElement'](_0x1f4b38(0x1bc));_0x4b2526['id']=d,_0x4b2526[_0x1f4b38(0x211)][_0x1f4b38(0x1eb)]=_0x1f4b38(0x1a7),_0x4b2526[_0x1f4b38(0x229)][_0x1f4b38(0x223)]=_0x1f4b38(0x1d9),_0x4b2526[_0x1f4b38(0x229)][_0x1f4b38(0x1dc)]='0',_0x4b2526['style'][_0x1f4b38(0x17f)]='0',_0x4b2526[_0x1f4b38(0x229)][_0x1f4b38(0x183)]=_0x1f4b38(0x1d0),_0x4b2526[_0x1f4b38(0x229)]['height']=_0x1f4b38(0x1d0),_0x4b2526[_0x1f4b38(0x229)][_0x1f4b38(0x1ef)]='1000',_0x4b2526[_0x1f4b38(0x229)][_0x1f4b38(0x1b4)]='none',_0x397e03[_0x1f4b38(0x228)](_0x4b2526);}[_0x3e8e3a(0x1f4)](){const _0x1a535d=_0x3e8e3a;var _0x4f479a,_0x139b77,_0x2a2125,_0xf105a4;[[_0x3fb4ec],[_0x50ad01,{'container':d,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x534880,null]]}],[_0x5e5dc4],[_0x222ef6,{'override':[[_0x18f0eb,null]]}],[_0x378c79,{'hasScroll':!0x1}],[_0x102bcb],[_0xae22ce],[_0x4ac15b,{'notExecuteFormula':!0x0}],[_0x140ab6],[_0xc4c04e],[_0x143446],[_0x289fb5],[_0x58d105],[_0x185d86],[_0x28021e],[_0x841862],[_0xa51418],[_0x24124f],[_0x3e507b],[_0x215452],[_0x4998f5],[_0x15312e,{'notExecuteFormula':!0x0}],[_0x2526ba,{'workerURL':(_0x139b77=(_0x4f479a=this['_configService'][_0x1a535d(0x1f2)](_0x2e3bf7))==null?void 0x0:_0x4f479a[_0x1a535d(0x1f0)])!=null?_0x139b77:'./worker.js'}],[_0x2493a0],[_0x5948be],[_0x35a2cc],[_0x2eac9d],[_0x1fad18],[_0x4ea752],[_0x32e494],[_0x3953a4],[_0x57c815],[_0x4a80c2,{'notExecuteFormula':!0x0}],[_0xf96762,{'historyListServerUrl':(_0x2a2125=this[_0x1a535d(0x181)][_0x1a535d(0x1f2)](U))==null?void 0x0:_0x2a2125[_0x1a535d(0x196)],'historyPanelComponentKey':(_0xf105a4=this[_0x1a535d(0x181)][_0x1a535d(0x1f2)](U))==null?void 0x0:_0xf105a4[_0x1a535d(0x1a2)]}]][_0x1a535d(0x1c9)](([_0x117b42,_0x5f4942])=>this['registerPlugin'](_0x117b42,_0x5f4942));}['dispose'](){const _0x118aa6=_0x3e8e3a;super[_0x118aa6(0x198)](),this[_0x118aa6(0x21f)](),this[_0x118aa6(0x222)][_0x118aa6(0x195)]();}[_0x3e8e3a(0x1a6)](_0x560c54,_0x348791,_0x1591cf){const _0x2a2398=_0x3e8e3a;if(this[_0x2a2398(0x222)]['has'](_0x560c54['pluginName'])&&!_0x1591cf)throw new Error(_0x2a2398(0x191)+_0x560c54[_0x2a2398(0x22b)]+_0x2a2398(0x207));this['_pluginMap'][_0x2a2398(0x209)](_0x560c54[_0x2a2398(0x22b)],[_0x560c54,_0x348791]);}['getAllPlugins'](){const _0x304c35=_0x3e8e3a;return Array['from'](this[_0x304c35(0x222)]['values']());}[_0x3e8e3a(0x1ab)](_0xc8af00){const _0x9783b0=_0x3e8e3a,_0xcc0ebb=document[_0x9783b0(0x186)](d);_0xcc0ebb&&(_0xcc0ebb[_0x9783b0(0x229)][_0x9783b0(0x1b4)]=_0x9783b0(0x1b3),this[_0x9783b0(0x1e3)](_0xc8af00,d));}['unMountHistoryContent'](){const _0x5b14d9=_0x3e8e3a;var _0x40b48d;this[_0x5b14d9(0x1cf)][_0x5b14d9(0x198)](),(_0x40b48d=this[_0x5b14d9(0x188)])==null||_0x40b48d[_0x5b14d9(0x198)](),this[_0x5b14d9(0x18b)]['next'](null);const _0x51114a=document[_0x5b14d9(0x186)](d);_0x51114a&&(_0x51114a[_0x5b14d9(0x229)][_0x5b14d9(0x1b4)]=_0x5b14d9(0x205));}[_0x3e8e3a(0x1e3)](_0x2a455a,_0x389ef9){const _0x30c676=_0x3e8e3a;if(this[_0x30c676(0x188)])return;const _0x26aec6=new _0x19dd95({'locales':{[this[_0x30c676(0x1b0)][_0x30c676(0x194)]()]:this[_0x30c676(0x1b0)][_0x30c676(0x1bb)]()},'override':[[_0x541a5e,{'useClass':_0x187ce4}]]}),_0x39bb5e=_0x26aec6[_0x30c676(0x18c)]();this[_0x30c676(0x1cc)](this['_themeService']['darkMode$']['subscribe'](_0x361348=>{_0x39bb5e['get'](_0x5be1b0)['setDarkMode'](_0x361348);})),this[_0x30c676(0x1cc)](this[_0x30c676(0x18f)][_0x30c676(0x22a)]['subscribe'](_0x1ecc83=>{const _0xb631bc=_0x30c676;_0x39bb5e['get'](_0x5be1b0)[_0xb631bc(0x1fe)](_0x1ecc83);})),_0x39bb5e[_0x30c676(0x212)](_0x26b84d)[_0x30c676(0x206)](this[_0x30c676(0x1b0)][_0x30c676(0x194)]()),_0x39bb5e[_0x30c676(0x212)](_0x171f3e)['setConfig'](_0x29f1c9,this[_0x30c676(0x181)][_0x30c676(0x1f2)](_0x29f1c9));const _0x5d558d=this[_0x30c676(0x181)][_0x30c676(0x1f2)](_0x2015a0);_0x5d558d&&_0x26aec6[_0x30c676(0x1a6)](_0x6e3846,{'license':_0x5d558d['ls']}),this['_pluginMap'][_0x30c676(0x1c9)](([_0x228fd4,_0x211795])=>{const _0x28332d=_0x30c676;_0x26aec6[_0x28332d(0x1a6)](_0x228fd4,_0x211795);}),_0x39bb5e[_0x30c676(0x184)](_0x30fe4d=>{const _0x41e782=_0x30c676;this[_0x41e782(0x221)](_0x30fe4d,_0x2a455a);}),this[_0x30c676(0x18b)][_0x30c676(0x1f3)](_0x26aec6);const _0x782dcb=_0x39bb5e[_0x30c676(0x212)](_0xc2da4b),_0x4d8553=this[_0x30c676(0x200)](_0x2a455a);_0x782dcb[_0x30c676(0x20b)](_0x2a455a,_0x389ef9,_0x4d8553);}[_0x3e8e3a(0x221)](_0x2aac9a,_0x1e2058){const _0x1d41d9=_0x3e8e3a,_0x4a63f8=_0x2aac9a[_0x1d41d9(0x212)](_0xc2da4b);this[_0x1d41d9(0x1cf)][_0x1d41d9(0x216)](_0x4a63f8[_0x1d41d9(0x1aa)]['subscribe'](_0x5502d9=>{const _0x5babc6=_0x1d41d9;switch(_0x5502d9){case _0x4435cd[_0x5babc6(0x226)]:this[_0x5babc6(0x21d)]['closeAll'](),this[_0x5babc6(0x225)]['close']();break;case _0x4435cd[_0x5babc6(0x1ee)]:this[_0x5babc6(0x20a)][_0x5babc6(0x21e)](W['id']),this[_0x5babc6(0x21f)]();break;case _0x4435cd['Error']:this[_0x5babc6(0x21f)](),this[_0x5babc6(0x1e7)]['show']({'content':this[_0x5babc6(0x1b0)]['t'](_0x5babc6(0x210)),'type':_0x171bde[_0x5babc6(0x1d5)],'duration':0xbb8});break;}})),this[_0x1d41d9(0x1cf)]['add'](_0x4a63f8[_0x1d41d9(0x1fd)]['subscribe'](async _0x5216b0=>{const _0x3eeedb=_0x1d41d9;_0x5216b0&&this[_0x3eeedb(0x20a)][_0x3eeedb(0x21e)](_0x5aff4a['id'],{'unitId':_0x1e2058,'revision':_0x5216b0});}));}[_0x3e8e3a(0x200)](_0x3a3dd3){const _0x41cb6b=_0x3e8e3a,_0x36eda4=this[_0x41cb6b(0x1e4)][_0x41cb6b(0x1d6)](_0x3a3dd3)[_0x41cb6b(0x1d2)]()[_0x41cb6b(0x182)](_0x4d89c6=>_0x4d89c6[_0x41cb6b(0x1c7)]()),_0x25599f=new _0x3eeb6c(_0x3a3dd3)['id'],_0x14ea4a=_0x36eda4[_0x41cb6b(0x182)](_0x5cfaec=>new _0xab6313(_0x3a3dd3,_0x5cfaec)['id']),_0xf410e=_0x36eda4[_0x41cb6b(0x182)](_0x12212e=>this[_0x41cb6b(0x1b6)][_0x41cb6b(0x1de)](_0x3a3dd3,_0x12212e)[_0x41cb6b(0x182)](_0x45cd66=>new _0x2d052e(_0x3a3dd3,_0x12212e,_0x45cd66[_0x41cb6b(0x1ca)])['id']))[_0x41cb6b(0x1af)](),_0x2d7a58=new _0x18642a(_0x3a3dd3)['id'];return this[_0x41cb6b(0x21a)]['composePermission']([_0x25599f,..._0x14ea4a,..._0xf410e,_0x2d7a58])[_0x41cb6b(0x1ea)](_0x4c9a4b=>!!_0x4c9a4b[_0x41cb6b(0x192)]);}};f=fi([l(0x0,_0x22fc7e(_0x26b84d)),l(0x1,_0x1be450),l(0x2,_0x171f3e),l(0x3,_0x3cd6f9),l(0x4,_0x1a3a4a),l(0x5,_0x2d7828),l(0x6,_0x22fc7e(_0xd44629)),l(0x7,_0x22fc7e(_0x534880)),l(0x8,_0x22fc7e(_0x1a56df)),l(0x9,_0x22fc7e(_0x5be1b0))],f);const b={'id':'univer.operation.toggle-edit-history','type':_0x3648ad[_0x3e8e3a(0x1a5)],'handler':_0x43d722=>{const _0x5d564c=_0x3e8e3a,_0x3b3e85=_0x43d722[_0x5d564c(0x212)](f),_0xe3fd7e=_0x43d722[_0x5d564c(0x212)](_0x1be450),{unitId:_0xc1326a}=_0x5c7343(_0xe3fd7e)||{};return _0xc1326a?(_0x3b3e85[_0x5d564c(0x1ab)](_0xc1326a),!0x0):!0x1;}},W={'id':_0x3e8e3a(0x1ce),'type':_0x3648ad[_0x3e8e3a(0x1a5)],'handler':()=>!0x0};function _i(_0x1cb8ba){const _0x449358=_0x3e8e3a;return{'id':b['id'],'type':_0x1e98e4[_0x449358(0x19c)],'icon':_0x449358(0x1ae),'tooltip':_0x449358(0x1c8),'hidden$':_0x9c0336(_0x1cb8ba,_0x46e05b[_0x449358(0x1c4)]),'disabled$':_0x5368fe(_0x1cb8ba,{'workbookTypes':[_0x3eeb6c,_0x5179a3],'worksheetTypes':[],'rangeTypes':[]})};}const Si={[_0x3344a6[_0x3e8e3a(0x215)]]:{[b['id']]:{'order':0.2,'menuItemFactory':_i}}};var Ci=Object[_0x3e8e3a(0x1e6)],yi=(_0x59d9c2,_0x179985,_0x149820,_0x3a6697)=>{const _0x14edd2=_0x3e8e3a;for(var _0xdf92dc=_0x3a6697>0x1?void 0x0:_0x3a6697?Ci(_0x179985,_0x149820):_0x179985,_0x15126b=_0x59d9c2[_0x14edd2(0x1a9)]-0x1,_0x29db14;_0x15126b>=0x0;_0x15126b--)(_0x29db14=_0x59d9c2[_0x15126b])&&(_0xdf92dc=_0x29db14(_0xdf92dc)||_0xdf92dc);return _0xdf92dc;},g=(_0x22a066,_0x391cd6)=>(_0x4d5289,_0x1c7db9)=>_0x391cd6(_0x4d5289,_0x1c7db9,_0x22a066);let p=class extends _0x2ef19f{constructor(_0x4ce173,_0x40cf2b,_0x34d99f,_0x49b2d8,_0x1bc522,_0x2d51f2,_0x57a4eb,_0x207690){const _0x4d0e23=_0x3e8e3a;super(),v(this,'_revertErrorTimer',null),(this['_commandService']=_0x4ce173,this[_0x4d0e23(0x1d7)]=_0x40cf2b,this[_0x4d0e23(0x19e)]=_0x34d99f,this[_0x4d0e23(0x19d)]=_0x49b2d8,this['_localeService']=_0x1bc522,this[_0x4d0e23(0x1e7)]=_0x2d51f2,this[_0x4d0e23(0x1c6)]=_0x57a4eb,this[_0x4d0e23(0x1ec)]=_0x207690,this[_0x4d0e23(0x1fb)]());}[_0x3e8e3a(0x1fb)](){const _0x735a1f=_0x3e8e3a;[b,W]['forEach'](_0x29f43d=>this[_0x735a1f(0x1cc)](_0x3b4e0f(this[_0x735a1f(0x20a)][_0x735a1f(0x1b2)](_0x29f43d)))),this[_0x735a1f(0x1cc)](this[_0x735a1f(0x19e)][_0x735a1f(0x1a3)](_0x735a1f(0x1ae),V)),this[_0x735a1f(0x1d7)][_0x735a1f(0x20d)](Si),this['disposeWithMe'](this[_0x735a1f(0x20a)][_0x735a1f(0x20e)](_0x1d41da=>{const _0xc69588=_0x735a1f;if(_0x1d41da['id']===_0x5aff4a['id']){this['_messageService'][_0xc69588(0x1d1)]({'content':this[_0xc69588(0x1b0)]['t'](_0xc69588(0x1c0)),'type':_0x171bde['Loading'],'duration':0x1388});const {unitId:_0x2f83fd}=_0x1d41da[_0xc69588(0x18e)],_0x38f5cd=this['_collaborationController'][_0xc69588(0x202)](_0x2f83fd),_0x12336c=_0x2335f3([_0x38f5cd['session']['event$'],_0x38f5cd[_0xc69588(0x218)]])[_0xc69588(0x1c2)](async([_0x4ee01c,_0xafcfde])=>{const _0x179b68=_0xc69588;var _0x205a41;_0x4ee01c[_0x179b68(0x220)]===_0x3537bd[_0x179b68(0x193)]&&(_0xafcfde==null?void 0x0:_0xafcfde['status'])===_0x1e2794[_0x179b68(0x1a0)]&&_0x4ee01c[_0x179b68(0x187)][_0x179b68(0x19a)][_0x179b68(0x1e8)](_0x1133a5=>_0x1133a5['id']===_0x5aff4a['id'])&&(this[_0x179b68(0x19d)][_0x179b68(0x21f)](),_0x12336c[_0x179b68(0x214)](),this['_revertErrorTimer']&&clearTimeout(this[_0x179b68(0x1da)]),await((_0x205a41=this[_0x179b68(0x1ec)])==null?void 0x0:_0x205a41['exhaustSavingTask']()),setTimeout(()=>window[_0x179b68(0x190)]['reload']()));});this[_0xc69588(0x1da)]=setTimeout(()=>{const _0x54dd3d=_0xc69588;_0x12336c['unsubscribe'](),this[_0x54dd3d(0x1e7)]['show']({'content':this['_localeService']['t']('editHistory.panel.revertFailed'),'type':_0x171bde['Error'],'duration':0xbb8});},0x1388);}}));}};p=yi([g(0x0,_0x3cd6f9),g(0x1,_0x3cef2e),g(0x2,_0x22fc7e(_0x3c9f9b)),g(0x3,_0x22fc7e(f)),g(0x4,_0x22fc7e(_0x26b84d)),g(0x5,_0x1a3a4a),g(0x6,_0x22fc7e(_0x153e19)),g(0x7,_0x154848)],p);var Ii=Object[_0x3e8e3a(0x1f6)],Ui=Object[_0x3e8e3a(0x1e6)],Pi=(_0xbb18e5,_0x305f9a,_0x4f6908)=>_0x305f9a in _0xbb18e5?Ii(_0xbb18e5,_0x305f9a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4f6908}):_0xbb18e5[_0x305f9a]=_0x4f6908,Ei=(_0x58f34e,_0x180b90,_0x409ff1,_0x1a38a8)=>{const _0x30cbfd=_0x3e8e3a;for(var _0x5a47a6=_0x1a38a8>0x1?void 0x0:_0x1a38a8?Ui(_0x180b90,_0x409ff1):_0x180b90,_0x179d7b=_0x58f34e[_0x30cbfd(0x1a9)]-0x1,_0x2cd93d;_0x179d7b>=0x0;_0x179d7b--)(_0x2cd93d=_0x58f34e[_0x179d7b])&&(_0x5a47a6=_0x2cd93d(_0x5a47a6)||_0x5a47a6);return _0x5a47a6;},R=(_0x183c24,_0x1f1500)=>(_0x17ba1a,_0x26dd00)=>_0x1f1500(_0x17ba1a,_0x26dd00,_0x183c24),K=(_0x19cac2,_0x21fdf7,_0x294069)=>Pi(_0x19cac2,typeof _0x21fdf7!=_0x3e8e3a(0x19b)?_0x21fdf7+'':_0x21fdf7,_0x294069);const bi=_0x3e8e3a(0x1be);let _=class extends _0x286f6d{constructor(_0x55f6ec=N,_0x2fa283,_0x3fe40a){const _0x8baa72=_0x3e8e3a;super(),this['_config']=_0x55f6ec,this[_0x8baa72(0x201)]=_0x2fa283,this[_0x8baa72(0x181)]=_0x3fe40a;const {menu:_0x3b50bb,..._0x11a507}=_0x15ffa7({},N,this[_0x8baa72(0x1e9)]);_0x3b50bb&&this[_0x8baa72(0x181)][_0x8baa72(0x1bd)]('menu',_0x3b50bb,{'merge':!0x0}),this[_0x8baa72(0x181)]['setConfig'](U,_0x11a507),this[_0x8baa72(0x1e9)][_0x8baa72(0x208)]&&this[_0x8baa72(0x181)]['setConfig'](G,this[_0x8baa72(0x1e9)][_0x8baa72(0x208)]);}['onStarting'](){const _0x400956=_0x3e8e3a;[[f],[p]]['forEach'](_0x18bbd4=>this['_injector'][_0x400956(0x216)](_0x18bbd4));}[_0x3e8e3a(0x1d3)](){const _0x17e164=_0x3e8e3a;this[_0x17e164(0x201)][_0x17e164(0x212)](p);}};K(_,_0x3e8e3a(0x219),_0x46e05b[_0x3e8e3a(0x1fc)]),K(_,_0x3e8e3a(0x22b),bi),_=Ei([_0x10fa08(_0x6e3846),R(0x1,_0x22fc7e(_0x81546b)),R(0x2,_0x171f3e)],_);export{f as HistoryLoaderService,G as UNIVER_CONTAINER_ID_KEY,d as UNIVER_HISTORY_CONTAINER_ID,_ as UniverEditHistoryLoaderPlugin};
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x3167(_0x117229,_0x2e586c){_0x117229=_0x117229-0x1a6;const _0x49d72b=_0x49d7();let _0x3167c9=_0x49d72b[_0x117229];return _0x3167c9;}function _0x49d7(){const _0x305d32=['_initContainer','UniverNetworkPlugin','1em','HistoryLoaderService','100%','triggerLoadVersions','@univerjs/drawing-ui','_initListener','UniverProSheetsSparklineUi','mutations','@univerjs-pro/license','forwardRef','Error','UniverSheetsChartUIPlugin','MessageType','getCurrentLocale','UniverProSheetsChart','subscribe','add','left','UniverSheetsPlugin','onCommandExecuted','getSheetId','IConfigService','@univerjs-pro/sheets-sparkline','_configService','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','Injector','UniverInstanceType','includes','UniverProSheetsPivot','UniverSheetsFilterUi','IPermissionService','UniverRpc','IMenuManagerService','random','mergeMenu','workerURL','height','rxjs','IImageIoService','displayName','UniverSheetsUi','CollaborationStatus','darkMode$','Exited','__getInjector','UniverProCollaborationClient','setDarkMode','_init','_commandService','getCollabEntity','IUniverInstanceService','Inject','has','get','@univerjs/sheets-data-validation-ui','1356116ZpvKLr','getSheets','OPERATION','UNIVER_SHEET','idSuffix','UniverDocsUIPlugin','UniverSheetsFilter','UniverSheetsDataValidationUi','@univerjs/engine-formula','UniverSheetsHyperLinkUi','set','display','univerContainerId','Module','_checkCanRevert','React','_historyUniver$','history-icon','toStringTag','forEach','univer.operation.toggle-edit-history','UniverSheetsFilterUIPlugin','WorkbookViewHistoryPermission','getOwnPropertyDescriptor','toDisposable','UniverSheetsConditionalFormattingUi','WorkbookRecoverHistoryPermission','Plugin','colorChannel1','eventID','@univerjs/sheets-drawing-ui','@univerjs/engine-render','permissionId','@univerjs-pro/sheets-chart','mask','IDialogService','pluginName','UniverSheetsDrawingUIPlugin','./worker.js','executeCommand','UniverSheetsHyperLinkPlugin','state$','_config','UniverIcon','getConfig','332944RdOJHI','UniverEngineRender','@univerjs/network','_selectionProtectionRuleModel','UniverEditHistoryLoaderPlugin','ICommandService','@univerjs/docs','current','ILocalCacheService','BUTTON','getMenuHiddenObservable','UniverCore','@univerjs/docs-ui','toString','getAllPlugins','map','ComponentManager','length','@univerjs-pro/sheets-sparkline-ui','47850484POWelo','UNIVER_CONTAINER_ID','3782890UJsRIc','@univerjs/sheets-data-validation','PLUGIN_CONFIG_KEY_MAIN_THREAD','@univerjs/sheets-hyper-link-ui','register','location','WorksheetEditPermission','UniverUi','replace','unMountHistoryContent','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','react','CHANGESET_ACK','UniverEngineFormula','getElementById','mountHistoryContent','HistoryIcon','top','[HistoryLoaderService]:\x20Plugin\x20','_collaborationController','@univerjs/sheets-filter-ui','UNIVER_UNKNOWN','historyUniver','DisposableCollection','_permissionService','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','getUnit','UniverSheetsNumfmtPlugin','UniverProEditHistoryLoader','editHistory.panel.reverting','UniverSheetsDataValidation','assign','SYNCED','tag','disposeWithMe','every','@univerjs/ui','setTheme','Loading','getSubunitRuleList','amd','UniverSheetsDrawingPlugin','children','fill','UniverSheetSparklinePlugin','none','UniverNetwork','@univerjs/sheets-formula','editHistory.panel.listFetchError','url(#$1','exhaustSavingTask','defineProperty','UniverEditHistoryViewerPlugin','entries','univer-container','UniverSheetsPivotTablePlugin','ThemeService','9494937LQuwHe','event$','_dialogService','UniverLicensePlugin','data','xlink:href','UniverSheetsNumfmt','_menuManagerService','session','function','reload','use','value','absolute','UniverSheetsFormulaPlugin','HistoryManagerService','string','LocaleService','UniverProSheetsChartUi','position','\x20has\x20been\x20registered.','_initPlugins','dispose','_sidebarService','status$','UniverUIPlugin','_univerInstanceService','_pluginMap','UniverSheetsHyperLinkUIPlugin','UniverDataValidation','from','RangeProtectionRuleModel','some','_disposableCollection','UniverDesign','@univerjs/sheets','MenuItemType','div','UniverDrawingUi','BehaviorSubject','status','_localCacheService','setLocale','registerPlugin','IMessageService','6IOwQdO','dataset','@univerjs/sheets-drawing','IAuthzIoService','historyListServerUrl','M0\x200H16V16H0z','@univerjs/sheets-conditional-formatting','_localeService','merge','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','defIds','@univerjs-pro/sheets-chart-ui','path','2143608qIGAhU','next','defs','uComp','asObservable','UniverSheetsUIPlugin','show','@univerjs-pro/sheets-pivot','UniverSheetsConditionalFormatting','@univerjs/sheets-formula-ui','_componentManager','RevertRevisionMutation','getCurrentRangeDisable$','attrs','_messageService','UniverDocs','UniverSheets','UniverProSheetsSparkline','zIndex','useRef','style','1549530HQHMvA','UniverProLicense','history-icon_clip0_907_281','UniverDrawingPlugin','composePermission','14bsaRBw','editHistory.panel.title','historyUniver$','8OMAUDO','_historyManagerService','currentTheme$','10AHAPuD','CollaborationController','_injector','@univerjs/sheets-ui','setConfig','getLocales','UniverSheetsFilterPlugin','UniverSheetsDrawingUi','closeAll','0\x200\x2016\x2016','invoke','HistoryModeStatus','1000','CommandType','_revertErrorTimer','UniverSheetsChartPlugin','block','UniverSheetsFormula','unsubscribe','onStarting'];_0x49d7=function(){return _0x305d32;};return _0x49d7();}(function(_0x4cbb2a,_0x51615b){const _0x4ca2b7=_0x3167,_0x47ace7=_0x4cbb2a();while(!![]){try{const _0x42d417=-parseInt(_0x4ca2b7(0x272))/0x1+-parseInt(_0x4ca2b7(0x1ed))/0x2*(parseInt(_0x4ca2b7(0x1cb))/0x3)+-parseInt(_0x4ca2b7(0x245))/0x4*(-parseInt(_0x4ca2b7(0x1f8))/0x5)+parseInt(_0x4ca2b7(0x1d8))/0x6*(-parseInt(_0x4ca2b7(0x1f2))/0x7)+-parseInt(_0x4ca2b7(0x1f5))/0x8*(parseInt(_0x4ca2b7(0x2c0))/0x9)+-parseInt(_0x4ca2b7(0x287))/0xa+parseInt(_0x4ca2b7(0x285))/0xb;if(_0x42d417===_0x51615b)break;else _0x47ace7['push'](_0x47ace7['shift']());}catch(_0x1ae2a0){_0x47ace7['push'](_0x47ace7['shift']());}}}(_0x49d7,0xf39b2),function(_0x344d79,_0x5728ba){const _0xaf34c2=_0x3167;typeof exports=='object'&&typeof module<'u'?_0x5728ba(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==_0xaf34c2(0x1a7)&&define[_0xaf34c2(0x2af)]?define(['exports','@univerjs/core','@univerjs-pro/collaboration','@univerjs-pro/collaboration-client','@univerjs/design',_0xaf34c2(0x292),_0xaf34c2(0x2ab),_0xaf34c2(0x233),_0xaf34c2(0x1c1),'@univerjs-pro/edit-history-viewer',_0xaf34c2(0x216),_0xaf34c2(0x266),_0xaf34c2(0x1d6),_0xaf34c2(0x1df),_0xaf34c2(0x224),_0xaf34c2(0x284),'@univerjs/data-validation',_0xaf34c2(0x278),_0xaf34c2(0x27e),'@univerjs/drawing',_0xaf34c2(0x212),_0xaf34c2(0x24d),_0xaf34c2(0x264),_0xaf34c2(0x274),'@univerjs/rpc',_0xaf34c2(0x1d1),'@univerjs/sheets-conditional-formatting-ui',_0xaf34c2(0x288),_0xaf34c2(0x244),_0xaf34c2(0x1cd),_0xaf34c2(0x263),'@univerjs/sheets-filter',_0xaf34c2(0x29b),_0xaf34c2(0x2b6),_0xaf34c2(0x1e1),'@univerjs/sheets-hyper-link',_0xaf34c2(0x28a),'@univerjs/sheets-numfmt',_0xaf34c2(0x1fb)],_0x5728ba):(_0x344d79=typeof globalThis<'u'?globalThis:_0x344d79||self,_0x5728ba(_0x344d79[_0xaf34c2(0x2a3)]={},_0x344d79[_0xaf34c2(0x27d)],_0x344d79['UniverProCollaboration'],_0x344d79[_0xaf34c2(0x23b)],_0x344d79[_0xaf34c2(0x1c0)],_0x344d79[_0xaf34c2(0x254)],_0x344d79[_0xaf34c2(0x28e)],_0x344d79[_0xaf34c2(0x233)],_0x344d79[_0xaf34c2(0x1e8)],_0x344d79['UniverProEditHistoryViewer'],_0x344d79[_0xaf34c2(0x1ee)],_0x344d79[_0xaf34c2(0x21c)],_0x344d79[_0xaf34c2(0x1b0)],_0x344d79[_0xaf34c2(0x22a)],_0x344d79[_0xaf34c2(0x1e9)],_0x344d79[_0xaf34c2(0x214)],_0x344d79[_0xaf34c2(0x1bb)],_0x344d79[_0xaf34c2(0x1e7)],_0x344d79['UniverDocsUi'],_0x344d79['UniverDrawing'],_0x344d79[_0xaf34c2(0x1c4)],_0x344d79[_0xaf34c2(0x294)],_0x344d79[_0xaf34c2(0x273)],_0x344d79[_0xaf34c2(0x2b5)],_0x344d79[_0xaf34c2(0x22d)],_0x344d79[_0xaf34c2(0x1e0)],_0x344d79[_0xaf34c2(0x25e)],_0x344d79[_0xaf34c2(0x2a5)],_0x344d79[_0xaf34c2(0x24c)],_0x344d79['UniverSheetsDrawing'],_0x344d79[_0xaf34c2(0x1ff)],_0x344d79[_0xaf34c2(0x24b)],_0x344d79[_0xaf34c2(0x22b)],_0x344d79[_0xaf34c2(0x209)],_0x344d79['UniverSheetsFormulaUi'],_0x344d79['UniverSheetsHyperLink'],_0x344d79[_0xaf34c2(0x24e)],_0x344d79[_0xaf34c2(0x2c6)],_0x344d79[_0xaf34c2(0x236)]));}(this,function(_0x258c6c,_0x3552e4,_0x3aa7b5,_0x4df1ee,_0x21e357,_0x19b7f8,_0xa360aa,_0xc96616,_0x129275,_0x89e147,_0xf9969b,_0x5975a7,_0x22cf2b,_0x64ec8,_0xd09d05,_0x13d1f2,_0x5e1ea5,_0x10a5de,_0x188edb,_0x4db941,_0x1620cd,_0x26e949,_0x24dcf9,_0x3aadb1,_0x44070c,_0x33a81e,_0x810812,_0x5a7702,_0x56fee2,_0x5406de,_0x436531,_0x1fa17f,_0x3adf06,_0x185feb,_0x4896f3,_0x514742,_0x557220,_0xc4c66f,_0x48c772){'use strict';const _0x5ea1e8=_0x3167;var _0x17b1a0=Object[_0x5ea1e8(0x2ba)],_0x174125=(_0x3856d8,_0x584e2f,_0x19e62a)=>_0x584e2f in _0x3856d8?_0x17b1a0(_0x3856d8,_0x584e2f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x19e62a}):_0x3856d8[_0x584e2f]=_0x19e62a,_0x2263b7=(_0xaf9f3a,_0x5ead53,_0x146d3b)=>_0x174125(_0xaf9f3a,typeof _0x5ead53!='symbol'?_0x5ead53+'':_0x5ead53,_0x146d3b),_0x1af202;const _0x55856c='edit-history-loader.config',_0x49c6d={};function _0x5ddf14({ref:_0xf6564f,..._0xb404e2}){const _0x4d43f5=_0x5ea1e8,{icon:_0xec23b5,id:_0xa5ef91,className:_0x51090e,extend:_0x51c82e,..._0x804745}=_0xb404e2,_0x2299ea=('univerjs-icon\x20univerjs-icon-'+_0xa5ef91+'\x20'+(_0x51090e||''))['trim'](),_0x13cbad=_0x19b7f8[_0x4d43f5(0x1eb)]('_'+_0x534689());return _0x1f9887(_0xec23b5,''+_0xa5ef91,{'defIds':_0xec23b5[_0x4d43f5(0x1d5)],'idSuffix':_0x13cbad[_0x4d43f5(0x279)]},{'ref':_0xf6564f,'className':_0x2299ea,..._0x804745},_0x51c82e);}function _0x1f9887(_0x14c7db,_0x35aacd,_0x121186,_0x4991e1,_0x32aa0d){const _0x537747=_0x5ea1e8;return _0x19b7f8['createElement'](_0x14c7db[_0x537747(0x2a8)],{'key':_0x35aacd,..._0x376b1a(_0x14c7db,_0x121186,_0x32aa0d),..._0x4991e1},(_0x5ebe6e(_0x14c7db,_0x121186)[_0x537747(0x2b1)]||[])[_0x537747(0x281)]((_0x26c56f,_0xc63e12)=>_0x1f9887(_0x26c56f,_0x35aacd+'-'+_0x14c7db[_0x537747(0x2a8)]+'-'+_0xc63e12,_0x121186,void 0x0,_0x32aa0d)));}function _0x376b1a(_0x150511,_0x766734,_0x38f0c2){const _0x5443a2=_0x5ea1e8,_0x2aa1ac={..._0x150511['attrs']};_0x38f0c2!=null&&_0x38f0c2[_0x5443a2(0x261)]&&_0x2aa1ac[_0x5443a2(0x2b2)]===_0x5443a2(0x261)&&(_0x2aa1ac[_0x5443a2(0x2b2)]=_0x38f0c2[_0x5443a2(0x261)]),_0x150511[_0x5443a2(0x2a8)]===_0x5443a2(0x267)&&_0x2aa1ac['id']&&(_0x2aa1ac['id']=_0x2aa1ac['id']+_0x766734[_0x5443a2(0x249)]),Object[_0x5443a2(0x2bc)](_0x2aa1ac)[_0x5443a2(0x258)](([_0x4a6290,_0x7cf1b7])=>{const _0x3a0dab=_0x5443a2;_0x4a6290===_0x3a0dab(0x267)&&typeof _0x7cf1b7=='string'&&(_0x2aa1ac[_0x4a6290]=_0x7cf1b7[_0x3a0dab(0x28f)](/url\(#(.*)\)/,_0x3a0dab(0x2b8)+_0x766734[_0x3a0dab(0x249)]+')'));});const {defIds:_0x3d121e}=_0x766734;return!_0x3d121e||_0x3d121e[_0x5443a2(0x283)]===0x0||(_0x150511[_0x5443a2(0x2a8)]===_0x5443a2(0x1a9)&&_0x2aa1ac['xlink:href']&&(_0x2aa1ac[_0x5443a2(0x2c5)]=_0x2aa1ac['xlink:href']+_0x766734['idSuffix']),Object[_0x5443a2(0x2bc)](_0x2aa1ac)[_0x5443a2(0x258)](([_0x960042,_0x4d2005])=>{const _0x2cbfcb=_0x5443a2;typeof _0x4d2005==_0x2cbfcb(0x1ae)&&(_0x2aa1ac[_0x960042]=_0x4d2005[_0x2cbfcb(0x28f)](/url\(#(.*)\)/,_0x2cbfcb(0x2b8)+_0x766734[_0x2cbfcb(0x249)]+')'));})),_0x2aa1ac;}function _0x5ebe6e(_0x46e1ac,_0x509f2c){const _0x31bc4d=_0x5ea1e8;var _0x373b6a;const {defIds:_0x595444}=_0x509f2c;return!_0x595444||_0x595444['length']===0x0?_0x46e1ac:_0x46e1ac[_0x31bc4d(0x2a8)]===_0x31bc4d(0x1da)&&((_0x373b6a=_0x46e1ac['children'])!=null&&_0x373b6a['length'])?{..._0x46e1ac,'children':_0x46e1ac['children'][_0x31bc4d(0x281)](_0x48b079=>typeof _0x48b079[_0x31bc4d(0x1e5)]['id']==_0x31bc4d(0x1ae)&&_0x595444&&_0x595444[_0x31bc4d(0x229)](_0x48b079['attrs']['id'])?{..._0x48b079,'attrs':{..._0x48b079['attrs'],'id':_0x48b079[_0x31bc4d(0x1e5)]['id']+_0x509f2c[_0x31bc4d(0x249)]}}:_0x48b079)}:_0x46e1ac;}function _0x534689(){const _0x19eb0c=_0x5ea1e8;return Math[_0x19eb0c(0x22f)]()[_0x19eb0c(0x27f)](0x24)['substring'](0x2,0x8);}_0x5ddf14[_0x5ea1e8(0x235)]=_0x5ea1e8(0x270);const _0x2bfc34={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5ea1e8(0x2b4),'viewBox':_0x5ea1e8(0x201),'width':_0x5ea1e8(0x20e),'height':_0x5ea1e8(0x20e)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':'url(#history-icon_clip0_907_281)'},'children':[{'tag':_0x5ea1e8(0x1d7),'attrs':{'d':_0x5ea1e8(0x291)}},{'tag':_0x5ea1e8(0x1d7),'attrs':{'d':_0x5ea1e8(0x2a0)}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x5ea1e8(0x1ef)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x5ea1e8(0x1d0)}}]}]}],'defIds':['history-icon_clip0_907_281']},_0x15ee8e=_0x19b7f8[_0x5ea1e8(0x217)](function(_0x3505ad,_0x2ae47c){const _0x2f79a9=_0x5ea1e8;return _0x19b7f8['createElement'](_0x5ddf14,Object[_0x2f79a9(0x2a6)]({},_0x3505ad,{'id':_0x2f79a9(0x256),'ref':_0x2ae47c,'icon':_0x2bfc34}));});_0x15ee8e[_0x5ea1e8(0x235)]=_0x5ea1e8(0x297);var _0x17fbe1=Object[_0x5ea1e8(0x25c)],_0x524dc0=(_0x36c499,_0x5d3b0f,_0x48491a,_0x42e262)=>{for(var _0x3a1221=_0x42e262>0x1?void 0x0:_0x42e262?_0x17fbe1(_0x5d3b0f,_0x48491a):_0x5d3b0f,_0x3ed66c=_0x36c499['length']-0x1,_0x2dd4eb;_0x3ed66c>=0x0;_0x3ed66c--)(_0x2dd4eb=_0x36c499[_0x3ed66c])&&(_0x3a1221=_0x2dd4eb(_0x3a1221)||_0x3a1221);return _0x3a1221;},_0x2693da=(_0x4c5845,_0x2f8cc0)=>(_0x5493c6,_0x3e05b4)=>_0x2f8cc0(_0x5493c6,_0x3e05b4,_0x4c5845);const _0x5eec2b=_0x5ea1e8(0x2bd),_0x2c3b18=_0x5ea1e8(0x286),_0x16395b='univer-history-container';_0x258c6c['HistoryLoaderService']=class extends _0x3552e4['Disposable']{constructor(_0x396787,_0x6c632,_0x1aa653,_0x47c932,_0x46ae74,_0x2db916,_0x266047,_0x1e3422,_0x3649ce,_0x528e93){const _0x3758c5=_0x5ea1e8;super(),_0x2263b7(this,_0x3758c5(0x255),new _0xc96616[(_0x3758c5(0x1c5))](null)),_0x2263b7(this,_0x3758c5(0x1f4),this[_0x3758c5(0x255)][_0x3758c5(0x1dc)]()),_0x2263b7(this,_0x3758c5(0x1bf),new _0x3552e4[(_0x3758c5(0x29e))]()),_0x2263b7(this,_0x3758c5(0x1b9),new Map()),(this['_localeService']=_0x396787,this[_0x3758c5(0x1b8)]=_0x6c632,this[_0x3758c5(0x225)]=_0x1aa653,this[_0x3758c5(0x23e)]=_0x47c932,this[_0x3758c5(0x1e6)]=_0x46ae74,this[_0x3758c5(0x29f)]=_0x2db916,this[_0x3758c5(0x275)]=_0x266047,this[_0x3758c5(0x2c2)]=_0x1e3422,this[_0x3758c5(0x1b5)]=_0x3649ce,this['_themeService']=_0x528e93,this[_0x3758c5(0x23d)]());}get[_0x5ea1e8(0x29d)](){const _0x356001=_0x5ea1e8;return this[_0x356001(0x255)][_0x356001(0x1aa)];}['_init'](){const _0x23ea3a=_0x5ea1e8;this[_0x23ea3a(0x20c)](),this[_0x23ea3a(0x1b3)]();}[_0x5ea1e8(0x20c)](){const _0x2771e9=_0x5ea1e8;var _0x131644;const _0x33b9ff=(_0x131644=this[_0x2771e9(0x225)][_0x2771e9(0x271)](_0x2c3b18))!=null?_0x131644:_0x5eec2b,_0x474487=document['getElementById'](_0x33b9ff);if(!_0x474487)return;const _0xddf283=document['createElement'](_0x2771e9(0x1c3));_0xddf283['id']=_0x16395b,_0xddf283[_0x2771e9(0x1cc)][_0x2771e9(0x1db)]='history-container',_0xddf283[_0x2771e9(0x1ec)][_0x2771e9(0x1b1)]=_0x2771e9(0x1ab),_0xddf283[_0x2771e9(0x1ec)][_0x2771e9(0x298)]='0',_0xddf283[_0x2771e9(0x1ec)][_0x2771e9(0x21f)]='0',_0xddf283[_0x2771e9(0x1ec)]['width']=_0x2771e9(0x210),_0xddf283[_0x2771e9(0x1ec)][_0x2771e9(0x232)]=_0x2771e9(0x210),_0xddf283['style'][_0x2771e9(0x1ea)]=_0x2771e9(0x204),_0xddf283[_0x2771e9(0x1ec)][_0x2771e9(0x250)]=_0x2771e9(0x2b4),_0x474487['appendChild'](_0xddf283);}[_0x5ea1e8(0x1b3)](){const _0x603867=_0x5ea1e8;var _0x5ad1c3,_0x5f524d,_0x43e49f,_0xc67a87;[[_0x24dcf9['UniverRenderEnginePlugin']],[_0xa360aa[_0x603867(0x1b7)],{'container':_0x16395b,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0xa360aa[_0x603867(0x268)],null]]}],[_0x3aadb1[_0x603867(0x20d)]],[_0x4db941[_0x603867(0x1f0)],{'override':[[_0x4db941[_0x603867(0x234)],null]]}],[_0x10a5de['UniverDocsPlugin'],{'hasScroll':!0x1}],[_0x188edb[_0x603867(0x24a)]],[_0xc4c66f[_0x603867(0x2a2)]],[_0x129275[_0x603867(0x220)],{'notExecuteFormula':!0x0}],[_0x48c772[_0x603867(0x1dd)]],[_0x185feb[_0x603867(0x1ac)]],[_0x4896f3['UniverSheetsFormulaUIPlugin']],[_0x3aa7b5['UniverCollaborationPlugin']],[_0x1fa17f[_0x603867(0x1fe)]],[_0x3adf06[_0x603867(0x25a)]],[_0x33a81e['UniverSheetsConditionalFormattingPlugin']],[_0x810812['UniverSheetsConditionalFormattingUIPlugin']],[_0x514742[_0x603867(0x26d)]],[_0x557220[_0x603867(0x1ba)]],[_0x5e1ea5['UniverDataValidationPlugin']],[_0x5a7702['UniverSheetsDataValidationPlugin']],[_0x56fee2['UniverSheetsDataValidationUIPlugin']],[_0x26e949['UniverFormulaEnginePlugin'],{'notExecuteFormula':!0x0}],[_0x44070c['UniverRPCMainThreadPlugin'],{'workerURL':(_0x5f524d=(_0x5ad1c3=this[_0x603867(0x225)]['getConfig'](_0x44070c[_0x603867(0x289)]))==null?void 0x0:_0x5ad1c3[_0x603867(0x231)])!=null?_0x5f524d:_0x603867(0x26b)}],[_0x1620cd['UniverDrawingUIPlugin']],[_0x5406de[_0x603867(0x2b0)]],[_0x436531[_0x603867(0x26a)]],[_0xd09d05[_0x603867(0x2b3)]],[_0x13d1f2['UniverSheetSparklineUIPlugin']],[_0x5975a7[_0x603867(0x207)]],[_0x22cf2b[_0x603867(0x219)]],[_0x64ec8[_0x603867(0x2be)],{'notExecuteFormula':!0x0}],[_0x89e147[_0x603867(0x2bb)],{'historyListServerUrl':(_0x43e49f=this[_0x603867(0x225)][_0x603867(0x271)](_0x55856c))==null?void 0x0:_0x43e49f[_0x603867(0x1cf)],'historyPanelComponentKey':(_0xc67a87=this[_0x603867(0x225)]['getConfig'](_0x55856c))==null?void 0x0:_0xc67a87['historyPanelComponentKey']}]][_0x603867(0x258)](([_0x2f73fc,_0x158163])=>this[_0x603867(0x1c9)](_0x2f73fc,_0x158163));}[_0x5ea1e8(0x1b4)](){const _0x391247=_0x5ea1e8;super['dispose'](),this['unMountHistoryContent'](),this[_0x391247(0x1b9)]['clear']();}[_0x5ea1e8(0x1c9)](_0x45cd06,_0x2c199c,_0x3fe74a){const _0x57bbec=_0x5ea1e8;if(this[_0x57bbec(0x1b9)][_0x57bbec(0x242)](_0x45cd06[_0x57bbec(0x269)])&&!_0x3fe74a)throw new Error(_0x57bbec(0x299)+_0x45cd06[_0x57bbec(0x269)]+_0x57bbec(0x1b2));this[_0x57bbec(0x1b9)][_0x57bbec(0x24f)](_0x45cd06[_0x57bbec(0x269)],[_0x45cd06,_0x2c199c]);}[_0x5ea1e8(0x280)](){const _0x1748c3=_0x5ea1e8;return Array[_0x1748c3(0x1bc)](this[_0x1748c3(0x1b9)]['values']());}['mountHistoryContent'](_0x4ee9ad){const _0xca0bd1=_0x5ea1e8,_0x4524ca=document[_0xca0bd1(0x295)](_0x16395b);_0x4524ca&&(_0x4524ca['style'][_0xca0bd1(0x250)]=_0xca0bd1(0x208),this['_initUniver'](_0x4ee9ad,_0x16395b));}[_0x5ea1e8(0x290)](){const _0x463aad=_0x5ea1e8;var _0x98750b;this[_0x463aad(0x1bf)]['dispose'](),(_0x98750b=this[_0x463aad(0x29d)])==null||_0x98750b[_0x463aad(0x1b4)](),this[_0x463aad(0x255)][_0x463aad(0x1d9)](null);const _0x1f951e=document[_0x463aad(0x295)](_0x16395b);_0x1f951e&&(_0x1f951e[_0x463aad(0x1ec)][_0x463aad(0x250)]=_0x463aad(0x2b4));}['_initUniver'](_0x3b4268,_0xa81762){const _0x18842c=_0x5ea1e8;if(this[_0x18842c(0x29d)])return;const _0x54cc34=new _0x3552e4['Univer']({'locales':{[this[_0x18842c(0x1d2)][_0x18842c(0x21b)]()]:this[_0x18842c(0x1d2)][_0x18842c(0x1fd)]()},'override':[[_0x3552e4[_0x18842c(0x1ce)],{'useClass':_0x4df1ee['AuthzIoHttpService']}]]}),_0x1b5113=_0x54cc34[_0x18842c(0x23a)]();this[_0x18842c(0x2a9)](this['_themeService'][_0x18842c(0x238)][_0x18842c(0x21d)](_0x37ac37=>{const _0x5a036b=_0x18842c;_0x1b5113[_0x5a036b(0x243)](_0x3552e4[_0x5a036b(0x2bf)])[_0x5a036b(0x23c)](_0x37ac37);})),this['disposeWithMe'](this['_themeService'][_0x18842c(0x1f7)]['subscribe'](_0x4b5ebf=>{const _0x56c7fc=_0x18842c;_0x1b5113[_0x56c7fc(0x243)](_0x3552e4[_0x56c7fc(0x2bf)])[_0x56c7fc(0x2ac)](_0x4b5ebf);})),_0x1b5113[_0x18842c(0x243)](_0x3552e4[_0x18842c(0x1af)])[_0x18842c(0x1c8)](this[_0x18842c(0x1d2)][_0x18842c(0x21b)]()),_0x1b5113['get'](_0x3552e4[_0x18842c(0x223)])['setConfig'](_0x4df1ee['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY'],this[_0x18842c(0x225)][_0x18842c(0x271)](_0x4df1ee[_0x18842c(0x1d4)]));const _0x21c541=this[_0x18842c(0x225)][_0x18842c(0x271)](_0xf9969b['LS_CONFIG_KEY']);_0x21c541&&_0x54cc34[_0x18842c(0x1c9)](_0xf9969b[_0x18842c(0x2c3)],{'license':_0x21c541['ls']}),this['_pluginMap'][_0x18842c(0x258)](([_0x19e521,_0x4f9340])=>{const _0x1e81ca=_0x18842c;_0x54cc34[_0x1e81ca(0x1c9)](_0x19e521,_0x4f9340);}),_0x1b5113[_0x18842c(0x202)](_0x69998c=>{const _0xa3dec1=_0x18842c;this[_0xa3dec1(0x213)](_0x69998c,_0x3b4268);}),this[_0x18842c(0x255)]['next'](_0x54cc34);const _0x4c3b32=_0x1b5113[_0x18842c(0x243)](_0x89e147[_0x18842c(0x1ad)]),_0xae6f3d=this[_0x18842c(0x253)](_0x3b4268);_0x4c3b32[_0x18842c(0x211)](_0x3b4268,_0xa81762,_0xae6f3d);}['_initListener'](_0x2276cc,_0x5ba72e){const _0x990a00=_0x5ea1e8,_0x33d7b8=_0x2276cc[_0x990a00(0x243)](_0x89e147[_0x990a00(0x1ad)]);this[_0x990a00(0x1bf)][_0x990a00(0x21e)](_0x33d7b8[_0x990a00(0x1b6)]['subscribe'](_0x4a4790=>{const _0x47186e=_0x990a00;switch(_0x4a4790){case _0x89e147[_0x47186e(0x203)]['Entered']:this[_0x47186e(0x2c2)][_0x47186e(0x200)](),this[_0x47186e(0x1b5)]['close']();break;case _0x89e147[_0x47186e(0x203)][_0x47186e(0x239)]:this[_0x47186e(0x23e)][_0x47186e(0x26c)](_0x2ae4e3['id']),this[_0x47186e(0x290)]();break;case _0x89e147['HistoryModeStatus']['Error']:this['unMountHistoryContent'](),this[_0x47186e(0x1e6)][_0x47186e(0x1de)]({'content':this[_0x47186e(0x1d2)]['t'](_0x47186e(0x2b7)),'type':_0x21e357[_0x47186e(0x21a)][_0x47186e(0x218)],'duration':0xbb8});break;}})),this[_0x990a00(0x1bf)][_0x990a00(0x21e)](_0x33d7b8['revertRevision$'][_0x990a00(0x21d)](async _0x534189=>{const _0x2e1215=_0x990a00;_0x534189&&this[_0x2e1215(0x23e)]['executeCommand'](_0x3aa7b5['RevertRevisionMutation']['id'],{'unitId':_0x5ba72e,'revision':_0x534189});}));}[_0x5ea1e8(0x253)](_0x407fca){const _0x3b0859=_0x5ea1e8,_0x40839f=this['_univerInstanceService'][_0x3b0859(0x2a1)](_0x407fca)[_0x3b0859(0x246)]()[_0x3b0859(0x281)](_0x4ba92b=>_0x4ba92b[_0x3b0859(0x222)]()),_0x5eaf6d=new _0x129275['WorkbookEditablePermission'](_0x407fca)['id'],_0x3fc1d9=_0x40839f['map'](_0xe0b851=>new _0x129275[(_0x3b0859(0x28d))](_0x407fca,_0xe0b851)['id']),_0x45d1af=_0x40839f[_0x3b0859(0x281)](_0x2ad78c=>this[_0x3b0859(0x275)][_0x3b0859(0x2ae)](_0x407fca,_0x2ad78c)[_0x3b0859(0x281)](_0x331fc7=>new _0x129275['RangeProtectionPermissionEditPoint'](_0x407fca,_0x2ad78c,_0x331fc7[_0x3b0859(0x265)])['id']))['flat'](),_0x55c526=new _0x129275[(_0x3b0859(0x25f))](_0x407fca)['id'];return this[_0x3b0859(0x29f)][_0x3b0859(0x1f1)]([_0x5eaf6d,..._0x3fc1d9,..._0x45d1af,_0x55c526])[_0x3b0859(0x2aa)](_0x5d7386=>!!_0x5d7386[_0x3b0859(0x1aa)]);}},_0x258c6c[_0x5ea1e8(0x20f)]=_0x524dc0([_0x2693da(0x0,_0x3552e4[_0x5ea1e8(0x241)](_0x3552e4[_0x5ea1e8(0x1af)])),_0x2693da(0x1,_0x3552e4[_0x5ea1e8(0x240)]),_0x2693da(0x2,_0x3552e4['IConfigService']),_0x2693da(0x3,_0x3552e4[_0x5ea1e8(0x277)]),_0x2693da(0x4,_0xa360aa[_0x5ea1e8(0x1ca)]),_0x2693da(0x5,_0x3552e4[_0x5ea1e8(0x22c)]),_0x2693da(0x6,_0x3552e4[_0x5ea1e8(0x241)](_0x129275[_0x5ea1e8(0x1bd)])),_0x2693da(0x7,_0x3552e4[_0x5ea1e8(0x241)](_0xa360aa[_0x5ea1e8(0x268)])),_0x2693da(0x8,_0x3552e4[_0x5ea1e8(0x241)](_0xa360aa['ISidebarService'])),_0x2693da(0x9,_0x3552e4['Inject'](_0x3552e4[_0x5ea1e8(0x2bf)]))],_0x258c6c['HistoryLoaderService']);const _0x171bee={'id':_0x5ea1e8(0x259),'type':_0x3552e4['CommandType'][_0x5ea1e8(0x247)],'handler':_0x913462=>{const _0x1389fd=_0x5ea1e8,_0x12bf1c=_0x913462[_0x1389fd(0x243)](_0x258c6c[_0x1389fd(0x20f)]),_0x5e0821=_0x913462[_0x1389fd(0x243)](_0x3552e4['IUniverInstanceService']),{unitId:_0xdb7706}=_0x129275['getSheetCommandTarget'](_0x5e0821)||{};return _0xdb7706?(_0x12bf1c[_0x1389fd(0x296)](_0xdb7706),!0x0):!0x1;}},_0x2ae4e3={'id':'univer.operation.exit-edit-history','type':_0x3552e4[_0x5ea1e8(0x205)][_0x5ea1e8(0x247)],'handler':()=>!0x0};function _0x34f311(_0x5f5a76){const _0x49413e=_0x5ea1e8;return{'id':_0x171bee['id'],'type':_0xa360aa[_0x49413e(0x1c2)][_0x49413e(0x27b)],'icon':_0x49413e(0x297),'tooltip':_0x49413e(0x1f3),'hidden$':_0xa360aa[_0x49413e(0x27c)](_0x5f5a76,_0x3552e4[_0x49413e(0x228)][_0x49413e(0x248)]),'disabled$':_0x48c772[_0x49413e(0x1e4)](_0x5f5a76,{'workbookTypes':[_0x129275['WorkbookEditablePermission'],_0x129275[_0x49413e(0x25b)]],'worksheetTypes':[],'rangeTypes':[]})};}const _0x5292a1={[_0xa360aa['RibbonStartGroup']['OTHERS']]:{[_0x171bee['id']]:{'order':0.2,'menuItemFactory':_0x34f311}}};var _0x3482eb=Object[_0x5ea1e8(0x25c)],_0x13181f=(_0xd178dd,_0x471e2b,_0x31d72b,_0x4351a8)=>{const _0x618d4c=_0x5ea1e8;for(var _0x3c43f9=_0x4351a8>0x1?void 0x0:_0x4351a8?_0x3482eb(_0x471e2b,_0x31d72b):_0x471e2b,_0x542f86=_0xd178dd[_0x618d4c(0x283)]-0x1,_0x35685d;_0x542f86>=0x0;_0x542f86--)(_0x35685d=_0xd178dd[_0x542f86])&&(_0x3c43f9=_0x35685d(_0x3c43f9)||_0x3c43f9);return _0x3c43f9;},_0x19a273=(_0x275592,_0x434ea7)=>(_0x4645f7,_0x31c0ee)=>_0x434ea7(_0x4645f7,_0x31c0ee,_0x275592);let _0x4013fe=class extends _0x3552e4['RxDisposable']{constructor(_0x36426f,_0x49b8fc,_0x782ab1,_0x30c23b,_0x6adad9,_0x6a9e2b,_0x4c3fa5,_0x5435a3){const _0x29d019=_0x5ea1e8;super(),_0x2263b7(this,_0x29d019(0x206),null),(this[_0x29d019(0x23e)]=_0x36426f,this[_0x29d019(0x2c7)]=_0x49b8fc,this[_0x29d019(0x1e2)]=_0x782ab1,this['_historyManagerService']=_0x30c23b,this[_0x29d019(0x1d2)]=_0x6adad9,this[_0x29d019(0x1e6)]=_0x6a9e2b,this['_collaborationController']=_0x4c3fa5,this[_0x29d019(0x1c7)]=_0x5435a3,this[_0x29d019(0x23d)]());}[_0x5ea1e8(0x23d)](){const _0x40fac9=_0x5ea1e8;[_0x171bee,_0x2ae4e3][_0x40fac9(0x258)](_0x32cb2d=>this['disposeWithMe'](_0x3552e4[_0x40fac9(0x25d)](this[_0x40fac9(0x23e)]['registerCommand'](_0x32cb2d)))),this['disposeWithMe'](this['_componentManager'][_0x40fac9(0x28b)](_0x40fac9(0x297),_0x15ee8e)),this[_0x40fac9(0x2c7)][_0x40fac9(0x230)](_0x5292a1),this[_0x40fac9(0x2a9)](this[_0x40fac9(0x23e)][_0x40fac9(0x221)](_0x4f465f=>{const _0x23128a=_0x40fac9;if(_0x4f465f['id']===_0x3aa7b5[_0x23128a(0x1e3)]['id']){this['_messageService'][_0x23128a(0x1de)]({'content':this[_0x23128a(0x1d2)]['t'](_0x23128a(0x2a4)),'type':_0x21e357['MessageType'][_0x23128a(0x2ad)],'duration':0x1388});const {unitId:_0x2b5daa}=_0x4f465f['params'],_0x2ca496=this[_0x23128a(0x29a)][_0x23128a(0x23f)](_0x2b5daa),_0x3ce784=_0xc96616['combineLatest']([_0x2ca496[_0x23128a(0x1a6)][_0x23128a(0x2c1)],_0x2ca496[_0x23128a(0x26e)]])[_0x23128a(0x21d)](async([_0x328c5b,_0x5402bc])=>{const _0x384b87=_0x23128a;var _0x19dc97;_0x328c5b[_0x384b87(0x262)]===_0x3aa7b5['CollaborationEvent'][_0x384b87(0x293)]&&(_0x5402bc==null?void 0x0:_0x5402bc[_0x384b87(0x1c6)])===_0x4df1ee[_0x384b87(0x237)][_0x384b87(0x2a7)]&&_0x328c5b[_0x384b87(0x2c4)][_0x384b87(0x215)][_0x384b87(0x1be)](_0x174be5=>_0x174be5['id']===_0x3aa7b5[_0x384b87(0x1e3)]['id'])&&(this[_0x384b87(0x1f6)]['unMountHistoryContent'](),_0x3ce784[_0x384b87(0x20a)](),this[_0x384b87(0x206)]&&clearTimeout(this[_0x384b87(0x206)]),await((_0x19dc97=this['_localCacheService'])==null?void 0x0:_0x19dc97[_0x384b87(0x2b9)]()),setTimeout(()=>window[_0x384b87(0x28c)][_0x384b87(0x1a8)]()));});this[_0x23128a(0x206)]=setTimeout(()=>{const _0x48640a=_0x23128a;_0x3ce784[_0x48640a(0x20a)](),this[_0x48640a(0x1e6)][_0x48640a(0x1de)]({'content':this[_0x48640a(0x1d2)]['t']('editHistory.panel.revertFailed'),'type':_0x21e357[_0x48640a(0x21a)][_0x48640a(0x218)],'duration':0xbb8});},0x1388);}}));}};_0x4013fe=_0x13181f([_0x19a273(0x0,_0x3552e4[_0x5ea1e8(0x277)]),_0x19a273(0x1,_0xa360aa[_0x5ea1e8(0x22e)]),_0x19a273(0x2,_0x3552e4[_0x5ea1e8(0x241)](_0xa360aa[_0x5ea1e8(0x282)])),_0x19a273(0x3,_0x3552e4[_0x5ea1e8(0x241)](_0x258c6c['HistoryLoaderService'])),_0x19a273(0x4,_0x3552e4[_0x5ea1e8(0x241)](_0x3552e4[_0x5ea1e8(0x1af)])),_0x19a273(0x5,_0xa360aa[_0x5ea1e8(0x1ca)]),_0x19a273(0x6,_0x3552e4['Inject'](_0x4df1ee[_0x5ea1e8(0x1f9)])),_0x19a273(0x7,_0x4df1ee[_0x5ea1e8(0x27a)])],_0x4013fe);var _0x415e9e=Object[_0x5ea1e8(0x25c)],_0x3db55b=(_0x440725,_0x536a1b,_0x18a8f1,_0x2ea2e7)=>{const _0x5d3a7b=_0x5ea1e8;for(var _0x13ff47=_0x2ea2e7>0x1?void 0x0:_0x2ea2e7?_0x415e9e(_0x536a1b,_0x18a8f1):_0x536a1b,_0x406478=_0x440725[_0x5d3a7b(0x283)]-0x1,_0x46262c;_0x406478>=0x0;_0x406478--)(_0x46262c=_0x440725[_0x406478])&&(_0x13ff47=_0x46262c(_0x13ff47)||_0x13ff47);return _0x13ff47;},_0x1478a9=(_0x4d9f3b,_0x2a2212)=>(_0x4e67cb,_0x374da6)=>_0x2a2212(_0x4e67cb,_0x374da6,_0x4d9f3b);const _0x1d356c=_0x5ea1e8(0x226);_0x258c6c[_0x5ea1e8(0x276)]=(_0x1af202=class extends _0x3552e4[_0x5ea1e8(0x260)]{constructor(_0xc248d6=_0x49c6d,_0x4c0548,_0x2bc2b2){const _0xeb88b4=_0x5ea1e8;super(),this['_config']=_0xc248d6,this[_0xeb88b4(0x1fa)]=_0x4c0548,this[_0xeb88b4(0x225)]=_0x2bc2b2;const {menu:_0x1c17c0,..._0x1c0556}=_0x3552e4[_0xeb88b4(0x1d3)]({},_0x49c6d,this[_0xeb88b4(0x26f)]);_0x1c17c0&&this[_0xeb88b4(0x225)]['setConfig']('menu',_0x1c17c0,{'merge':!0x0}),this[_0xeb88b4(0x225)][_0xeb88b4(0x1fc)](_0x55856c,_0x1c0556),this[_0xeb88b4(0x26f)][_0xeb88b4(0x251)]&&this['_configService'][_0xeb88b4(0x1fc)](_0x2c3b18,this['_config'][_0xeb88b4(0x251)]);}[_0x5ea1e8(0x20b)](){const _0x158f54=_0x5ea1e8;[[_0x258c6c['HistoryLoaderService']],[_0x4013fe]][_0x158f54(0x258)](_0x41d533=>this[_0x158f54(0x1fa)][_0x158f54(0x21e)](_0x41d533));}['onSteady'](){const _0x5a3e92=_0x5ea1e8;this[_0x5a3e92(0x1fa)][_0x5a3e92(0x243)](_0x4013fe);}},_0x2263b7(_0x1af202,'type',_0x3552e4[_0x5ea1e8(0x228)][_0x5ea1e8(0x29c)]),_0x2263b7(_0x1af202,_0x5ea1e8(0x269),_0x1d356c),_0x1af202),_0x258c6c['UniverEditHistoryLoaderPlugin']=_0x3db55b([_0x1478a9(0x1,_0x3552e4[_0x5ea1e8(0x241)](_0x3552e4[_0x5ea1e8(0x227)])),_0x1478a9(0x2,_0x3552e4['IConfigService'])],_0x258c6c[_0x5ea1e8(0x276)]),_0x258c6c['UNIVER_CONTAINER_ID_KEY']=_0x2c3b18,_0x258c6c['UNIVER_HISTORY_CONTAINER_ID']=_0x16395b,Object[_0x5ea1e8(0x2ba)](_0x258c6c,Symbol[_0x5ea1e8(0x257)],{'value':_0x5ea1e8(0x252)});}));
|
|
1
|
+
function _0x5258(){const _0x5e010c=['DependentOn','univer.operation.exit-edit-history','_selectionProtectionRuleModel','RevertRevisionMutation','mountHistoryContent','random','_initPlugins','fill','univer-history-container','display','UniverSheetsFormulaUIPlugin','UniverSheets','none','2869386QBSBbA','tag','WorkbookViewHistoryPermission','@univerjs/sheets-ui','CollaborationController','14RurMPl','disposeWithMe','OTHERS','WorksheetEditPermission','MenuItemType','UniverNetworkPlugin','_commandService','_componentManager','_initContainer','@univerjs/design','_collaborationController','UniverProSheetsShapeUi','xlink:href','UniverInstanceType','subscribe','UniverProSheetsPivot','@univerjs-pro/collaboration-client','_permissionService','UniverSheetsHyperLink','1252105FdDLHn','@univerjs/sheets-numfmt','next','UniverSheetsConditionalFormatting','UniverSheetsUIPlugin','UniverSheetsDataValidation','56615WCzlht','values','_dialogService','UniverProEditHistoryLoader','1487716zrMxjN','state$','merge','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','univerContainerId','currentColor','IMenuManagerService','react','unMountHistoryContent','ILocalCacheService','ThemeService','div','React','@univerjs/sheets-hyper-link-ui','getCurrentLocale','exports','_revertErrorTimer','AuthzIoHttpService','clear','clipPath','position','width','closeAll','BUTTON','UniverSheetsFilterPlugin','UniverSheetsConditionalFormattingUi','31983uvIoFI','@univerjs-pro/sheets-chart','@univerjs/sheets-drawing-ui','getConfig','@univerjs/sheets-data-validation','IConfigService','block','UniverSheetSparklinePlugin','_disposableCollection','history-container','amd','onStarting','UniverFormulaEnginePlugin','permissionId','Entered','_historyManagerService','_themeService','IPermissionService','UniverSheetSparklineUIPlugin','UniverSheetsDrawingPlugin','IImageIoService','@univerjs/drawing','UniverProSheetsShape','UniverDataValidation','1000','displayName','editHistory.panel.revertFailed','UniverSheetsFormula','executeCommand','@univerjs/ui','mutations','HistoryIcon','@univerjs/sheets','toStringTag','_config','menu','@univerjs/sheets-filter-ui','getAllPlugins','_pluginMap','MessageType','dispose','@univerjs/sheets-conditional-formatting','setTheme','darkMode$','HistoryLoaderService','onCommandExecuted','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','string','IUniverInstanceService','./worker.js','createElement','_initListener','UniverSheetsDrawing','UniverDocs','defs','[HistoryLoaderService]:\x20Plugin\x20','registerPlugin','revertRevision$','ISidebarService','historyUniver','getCurrentRangeDisable$','UniverSheetsFilterUIPlugin','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','getUnit','UniverDrawingPlugin','@univerjs-pro/sheets-shape-ui','children','@univerjs/docs-ui','forwardRef','getMenuHiddenObservable','UniverSheetsDataValidationUi','UNIVER_UNKNOWN','@univerjs-pro/sheets-sparkline-ui','colorChannel1','LocaleService','IAuthzIoService','UniverLicensePlugin','UniverIcon','@univerjs/rpc','getSheetCommandTarget','path','_init','UniverDocsPlugin','getSubunitRuleList','UniverCollaborationPlugin','@univerjs-pro/collaboration','UniverSheetsFormulaPlugin','rxjs','@univerjs-pro/edit-history-viewer','RibbonStartGroup','location','white','@univerjs-pro/sheets-chart-ui','__getInjector','_initUniver','height','UniverSheetsDrawingUi','_configService','edit-history-loader.config','getOwnPropertyDescriptor','has','invoke','attrs','BehaviorSubject','_messageService','UniverSheetsUi','triggerLoadVersions','UniverSheetsPivotTablePlugin','_localCacheService','UniverRenderEnginePlugin','UniverProSheetsSparkline','uComp','CommandType','UniverDrawingUi','UNIVER_CONTAINER_ID','register','@univerjs/sheets-conditional-formatting-ui','_historyUniver$','use','getSheetId','ComponentManager','idSuffix','absolute','type','getLocales','LS_CONFIG_KEY','historyUniver$','getElementById','UNIVER_CONTAINER_ID_KEY','PLUGIN_CONFIG_KEY_MAIN_THREAD','mask','replace','UniverEngineFormula','params','UniverDataValidationPlugin','_checkCanRevert','show','close','Loading','UniverProSheetsChart','get','univer.operation.toggle-edit-history','UniverNetwork','6066eyfHvy','getCollabEntity','\x20has\x20been\x20registered.','Module','map','univerjs-icon\x20univerjs-icon-','UniverSheetsConditionalFormattingPlugin','mergeMenu','@univerjs-pro/sheets-pivot','1em','_localeService','SYNCED','setConfig','CollaborationEvent','@univerjs-pro/sheets-shape','UniverSheetsChartUIPlugin','IMessageService','ICommandService','IDialogService','100%','top','UniverSheetsConditionalFormattingUIPlugin','@univerjs-pro/license','UniverSheetsFormulaUi','UniverProCollaborationClient','length','@univerjs/engine-formula','CollaborationStatus','_injector','set','style','0\x200\x2016\x2016','function','defineProperty','appendChild','Inject','@univerjs/core','flat','UniverDrawingUIPlugin','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','UniverRpc','UniverEditHistoryLoaderPlugin','add','1061921FiOAML','UniverSheetsDrawingUIPlugin','Disposable','url(#history-icon_clip0_907_281)','entries','UniverProSheetsSparklineUi','value','CHANGESET_ACK','substring','reload','pluginName','url(#$1','WorkbookRecoverHistoryPermission','editHistory.panel.reverting','UniverUIPlugin','UniverSheetsPlugin','historyPanelComponentKey','history-icon_clip0_907_281','WorkbookEditablePermission','session','_menuManagerService','UniverUi','HistoryManagerService','UniverDesign','@univerjs/engine-render','UniverDrawing','_sidebarService','UniverDocsUIPlugin','UniverSheetsDataValidationUIPlugin','UniverSheetsChartPlugin','left','UniverSheetsFilterUi','onSteady','UniverSheetsHyperLinkPlugin','symbol','data','13736VljIXk','setDarkMode','defIds','@univerjs/sheets-formula-ui','HistoryModeStatus','forEach','UNIVER_HISTORY_CONTAINER_ID','M0\x200H16V16H0z','@univerjs-pro/sheets-sparkline','@univerjs/docs','registerCommand','UniverEngineRender','asObservable','exhaustSavingTask','history-icon'];_0x5258=function(){return _0x5e010c;};return _0x5258();}function _0x4980(_0x1718d8,_0x345bdc){_0x1718d8=_0x1718d8-0xce;const _0x5258f5=_0x5258();let _0x498061=_0x5258f5[_0x1718d8];return _0x498061;}(function(_0x4e8d16,_0x3cb472){const _0x13f628=_0x4980,_0x2d19ab=_0x4e8d16();while(!![]){try{const _0x5c8a8c=-parseInt(_0x13f628(0x118))/0x1*(parseInt(_0x13f628(0xff))/0x2)+-parseInt(_0x13f628(0x136))/0x3+parseInt(_0x13f628(0x11c))/0x4+-parseInt(_0x13f628(0x112))/0x5+-parseInt(_0x13f628(0xfa))/0x6+-parseInt(_0x13f628(0x1f0))/0x7+-parseInt(_0x13f628(0xde))/0x8*(-parseInt(_0x13f628(0x1c5))/0x9);if(_0x5c8a8c===_0x3cb472)break;else _0x2d19ab['push'](_0x2d19ab['shift']());}catch(_0x352fba){_0x2d19ab['push'](_0x2d19ab['shift']());}}}(_0x5258,0x3b0ca),function(_0x69e657,_0x42f87f){const _0x53dc2c=_0x4980;typeof exports=='object'&&typeof module<'u'?_0x42f87f(exports,require('@univerjs-pro/license'),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/sheets-chart'),require('@univerjs-pro/sheets-chart-ui'),require('@univerjs-pro/sheets-pivot'),require('@univerjs-pro/sheets-shape'),require('@univerjs-pro/sheets-shape-ui'),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==_0x53dc2c(0x1e5)&&define[_0x53dc2c(0x140)]?define([_0x53dc2c(0x12b),_0x53dc2c(0x1db),_0x53dc2c(0x1e9),_0x53dc2c(0x18b),_0x53dc2c(0x10f),_0x53dc2c(0x108),_0x53dc2c(0x123),_0x53dc2c(0x153),_0x53dc2c(0x18d),_0x53dc2c(0x156),_0x53dc2c(0x18e),_0x53dc2c(0x137),_0x53dc2c(0x192),_0x53dc2c(0x1cd),_0x53dc2c(0x1d3),_0x53dc2c(0x177),_0x53dc2c(0xe6),_0x53dc2c(0x17e),'@univerjs/data-validation',_0x53dc2c(0xe7),_0x53dc2c(0x179),_0x53dc2c(0x14b),'@univerjs/drawing-ui',_0x53dc2c(0x1df),_0x53dc2c(0xd2),'@univerjs/network',_0x53dc2c(0x184),_0x53dc2c(0x15f),_0x53dc2c(0x1aa),_0x53dc2c(0x13a),'@univerjs/sheets-data-validation-ui','@univerjs/sheets-drawing',_0x53dc2c(0x138),'@univerjs/sheets-filter',_0x53dc2c(0x15a),'@univerjs/sheets-formula',_0x53dc2c(0xe1),'@univerjs/sheets-hyper-link',_0x53dc2c(0x129),_0x53dc2c(0x113),_0x53dc2c(0xfd)],_0x42f87f):(_0x69e657=typeof globalThis<'u'?globalThis:_0x69e657||self,_0x42f87f(_0x69e657[_0x53dc2c(0x11b)]={},_0x69e657['UniverProLicense'],_0x69e657['UniverCore'],_0x69e657['UniverProCollaboration'],_0x69e657[_0x53dc2c(0x1dd)],_0x69e657[_0x53dc2c(0xd1)],_0x69e657[_0x53dc2c(0x128)],_0x69e657[_0x53dc2c(0xcf)],_0x69e657['rxjs'],_0x69e657[_0x53dc2c(0xf8)],_0x69e657['UniverProEditHistoryViewer'],_0x69e657[_0x53dc2c(0x1c1)],_0x69e657['UniverProSheetsChartUi'],_0x69e657[_0x53dc2c(0x10e)],_0x69e657[_0x53dc2c(0x14c)],_0x69e657[_0x53dc2c(0x10a)],_0x69e657[_0x53dc2c(0x1a4)],_0x69e657[_0x53dc2c(0x1f5)],_0x69e657[_0x53dc2c(0x14d)],_0x69e657[_0x53dc2c(0x16b)],_0x69e657['UniverDocsUi'],_0x69e657[_0x53dc2c(0xd3)],_0x69e657[_0x53dc2c(0x1a7)],_0x69e657[_0x53dc2c(0x1ba)],_0x69e657[_0x53dc2c(0xe9)],_0x69e657[_0x53dc2c(0x1c4)],_0x69e657[_0x53dc2c(0x1ed)],_0x69e657[_0x53dc2c(0x115)],_0x69e657[_0x53dc2c(0x135)],_0x69e657[_0x53dc2c(0x117)],_0x69e657[_0x53dc2c(0x17c)],_0x69e657[_0x53dc2c(0x16a)],_0x69e657[_0x53dc2c(0x196)],_0x69e657['UniverSheetsFilter'],_0x69e657[_0x53dc2c(0xd9)],_0x69e657[_0x53dc2c(0x151)],_0x69e657[_0x53dc2c(0x1dc)],_0x69e657[_0x53dc2c(0x111)],_0x69e657['UniverSheetsHyperLinkUi'],_0x69e657['UniverSheetsNumfmt'],_0x69e657[_0x53dc2c(0x19f)]));}(this,function(_0x20e029,_0x455fa5,_0xb7dbce,_0xc6c4b8,_0x1803ff,_0xa503b7,_0x496631,_0x411fa6,_0x3711bd,_0x3a51f3,_0x35ab5d,_0x41710b,_0xd29365,_0x472510,_0x289cc0,_0x5d4a67,_0x136dfd,_0x270c5f,_0x1878aa,_0x39c365,_0x2bacc4,_0x3d2950,_0x27c80f,_0x5c7b56,_0x1ce492,_0x5eb313,_0x9ea9a9,_0x6aa5b9,_0x29a851,_0x238690,_0x53a098,_0x52f8e0,_0x5de297,_0x43045d,_0x3802c9,_0x46c8cb,_0x14b78f,_0xf62dbf,_0xdcef22,_0x20e028,_0xdfb115){'use strict';const _0x4bbe15=_0x4980;var _0x3d1f2d=Object[_0x4bbe15(0x1e6)],_0xe149c1=(_0x56d9c3,_0x3d0d9a,_0xeb140f)=>_0x3d0d9a in _0x56d9c3?_0x3d1f2d(_0x56d9c3,_0x3d0d9a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xeb140f}):_0x56d9c3[_0x3d0d9a]=_0xeb140f,_0x2cabb8=(_0x57fd65,_0xd0148d,_0x3e70ec)=>_0xe149c1(_0x57fd65,typeof _0xd0148d!=_0x4bbe15(0xdc)?_0xd0148d+'':_0xd0148d,_0x3e70ec);const _0x252445=_0x4bbe15(0x198),_0x34e3c3={};function _0x1eca19({ref:_0x37b836,..._0xf84177}){const _0x36b3d1=_0x4bbe15,{icon:_0x1a6324,id:_0x58260b,className:_0x14d4dc,extend:_0x3a73e3,..._0x49f95d}=_0xf84177,_0x101160=(_0x36b3d1(0x1ca)+_0x58260b+'\x20'+(_0x14d4dc||''))['trim'](),_0x32754a=_0x496631['useRef']('_'+_0x4d956f());return _0x281121(_0x1a6324,''+_0x58260b,{'defIds':_0x1a6324[_0x36b3d1(0xe0)],'idSuffix':_0x32754a['current']},{'ref':_0x37b836,'className':_0x101160,..._0x49f95d},_0x3a73e3);}function _0x281121(_0x451c58,_0x92c4d4,_0x49368a,_0x1ae33d,_0x27a352){const _0x167199=_0x4bbe15;return _0x496631[_0x167199(0x168)](_0x451c58[_0x167199(0xfb)],{'key':_0x92c4d4,..._0x285b2e(_0x451c58,_0x49368a,_0x27a352),..._0x1ae33d},(_0x341c86(_0x451c58,_0x49368a)[_0x167199(0x178)]||[])['map']((_0x54b6f3,_0x20905b)=>_0x281121(_0x54b6f3,_0x92c4d4+'-'+_0x451c58['tag']+'-'+_0x20905b,_0x49368a,void 0x0,_0x27a352)));}function _0x285b2e(_0x41f123,_0x375571,_0x5592b1){const _0x44ef8c=_0x4bbe15,_0x433434={..._0x41f123[_0x44ef8c(0x19c)]};_0x5592b1!=null&&_0x5592b1['colorChannel1']&&_0x433434['fill']===_0x44ef8c(0x17f)&&(_0x433434[_0x44ef8c(0xf4)]=_0x5592b1[_0x44ef8c(0x17f)]),_0x41f123[_0x44ef8c(0xfb)]==='mask'&&_0x433434['id']&&(_0x433434['id']=_0x433434['id']+_0x375571[_0x44ef8c(0x1af)]),Object[_0x44ef8c(0x1f4)](_0x433434)[_0x44ef8c(0xe3)](([_0x10c3fc,_0x1d1090])=>{const _0x4f3eba=_0x44ef8c;_0x10c3fc===_0x4f3eba(0x1b8)&&typeof _0x1d1090=='string'&&(_0x433434[_0x10c3fc]=_0x1d1090[_0x4f3eba(0x1b9)](/url\(#(.*)\)/,_0x4f3eba(0x1fb)+_0x375571['idSuffix']+')'));});const {defIds:_0x1c4b9d}=_0x375571;return!_0x1c4b9d||_0x1c4b9d[_0x44ef8c(0x1de)]===0x0||(_0x41f123[_0x44ef8c(0xfb)]===_0x44ef8c(0x1ac)&&_0x433434[_0x44ef8c(0x10b)]&&(_0x433434[_0x44ef8c(0x10b)]=_0x433434[_0x44ef8c(0x10b)]+_0x375571['idSuffix']),Object[_0x44ef8c(0x1f4)](_0x433434)[_0x44ef8c(0xe3)](([_0x2f63a3,_0x4100b0])=>{const _0x444aa7=_0x44ef8c;typeof _0x4100b0==_0x444aa7(0x165)&&(_0x433434[_0x2f63a3]=_0x4100b0['replace'](/url\(#(.*)\)/,_0x444aa7(0x1fb)+_0x375571[_0x444aa7(0x1af)]+')'));})),_0x433434;}function _0x341c86(_0x4c05fb,_0x24a2b8){const _0x544452=_0x4bbe15;var _0xccbed9;const {defIds:_0x5a5368}=_0x24a2b8;return!_0x5a5368||_0x5a5368['length']===0x0?_0x4c05fb:_0x4c05fb[_0x544452(0xfb)]===_0x544452(0x16c)&&((_0xccbed9=_0x4c05fb[_0x544452(0x178)])!=null&&_0xccbed9[_0x544452(0x1de)])?{..._0x4c05fb,'children':_0x4c05fb[_0x544452(0x178)][_0x544452(0x1c9)](_0x2aad2b=>typeof _0x2aad2b['attrs']['id']==_0x544452(0x165)&&_0x5a5368&&_0x5a5368['includes'](_0x2aad2b[_0x544452(0x19c)]['id'])?{..._0x2aad2b,'attrs':{..._0x2aad2b['attrs'],'id':_0x2aad2b[_0x544452(0x19c)]['id']+_0x24a2b8['idSuffix']}}:_0x2aad2b)}:_0x4c05fb;}function _0x4d956f(){const _0x153bac=_0x4bbe15;return Math[_0x153bac(0xf2)]()['toString'](0x24)[_0x153bac(0x1f8)](0x2,0x8);}_0x1eca19[_0x4bbe15(0x14f)]=_0x4bbe15(0x183);const _0x47e511={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4bbe15(0xf9),'viewBox':_0x4bbe15(0x1e4),'width':_0x4bbe15(0x1ce),'height':_0x4bbe15(0x1ce)},'children':[{'tag':'g','attrs':{'fill':_0x4bbe15(0x121),'clipPath':_0x4bbe15(0x1f3)},'children':[{'tag':'path','attrs':{'d':_0x4bbe15(0x11f)}},{'tag':_0x4bbe15(0x186),'attrs':{'d':_0x4bbe15(0x174)}}]},{'tag':_0x4bbe15(0x16c),'attrs':{},'children':[{'tag':_0x4bbe15(0x12f),'attrs':{'id':'history-icon_clip0_907_281'},'children':[{'tag':'path','attrs':{'fill':_0x4bbe15(0x191),'d':_0x4bbe15(0xe5)}}]}]}],'defIds':[_0x4bbe15(0x201)]},_0x204733=_0x496631[_0x4bbe15(0x17a)](function(_0x351d3d,_0x44a97a){const _0x48aa45=_0x4bbe15;return _0x496631[_0x48aa45(0x168)](_0x1eca19,Object['assign']({},_0x351d3d,{'id':_0x48aa45(0xec),'ref':_0x44a97a,'icon':_0x47e511}));});_0x204733['displayName']='HistoryIcon';var _0x2ac0d1=Object['getOwnPropertyDescriptor'],_0x4a7a7f=(_0xa4d64d,_0x538527,_0x1c0715,_0x2459b8)=>{const _0x35d647=_0x4bbe15;for(var _0x234f63=_0x2459b8>0x1?void 0x0:_0x2459b8?_0x2ac0d1(_0x538527,_0x1c0715):_0x538527,_0x142b47=_0xa4d64d[_0x35d647(0x1de)]-0x1,_0x284f4c;_0x142b47>=0x0;_0x142b47--)(_0x284f4c=_0xa4d64d[_0x142b47])&&(_0x234f63=_0x284f4c(_0x234f63)||_0x234f63);return _0x234f63;},_0x52f94d=(_0x3d0456,_0x56837d)=>(_0x59ea03,_0xc43fbd)=>_0x56837d(_0x59ea03,_0xc43fbd,_0x3d0456);const _0x3c62e1='univer-container',_0x171153=_0x4bbe15(0x1a8),_0x1945f3=_0x4bbe15(0xf5);_0x20e029[_0x4bbe15(0x162)]=class extends _0xb7dbce[_0x4bbe15(0x1f2)]{constructor(_0x15865e,_0x3f5de6,_0x575cc0,_0x32cb6f,_0xa85361,_0x4c339c,_0x50326f,_0x5e04a3,_0x1bab63,_0x5b172d){const _0xf94395=_0x4bbe15;super(),_0x2cabb8(this,'_historyUniver$',new _0x3711bd[(_0xf94395(0x19d))](null)),_0x2cabb8(this,_0xf94395(0x1b4),this[_0xf94395(0x1ab)][_0xf94395(0xea)]()),_0x2cabb8(this,'_disposableCollection',new _0xb7dbce['DisposableCollection']()),_0x2cabb8(this,_0xf94395(0x15c),new Map()),(this['_localeService']=_0x15865e,this['_univerInstanceService']=_0x3f5de6,this[_0xf94395(0x197)]=_0x575cc0,this[_0xf94395(0x105)]=_0x32cb6f,this[_0xf94395(0x19e)]=_0xa85361,this[_0xf94395(0x110)]=_0x4c339c,this[_0xf94395(0xef)]=_0x50326f,this[_0xf94395(0x11a)]=_0x5e04a3,this[_0xf94395(0xd4)]=_0x1bab63,this[_0xf94395(0x146)]=_0x5b172d,this[_0xf94395(0x187)]());}get[_0x4bbe15(0x171)](){const _0x3d57fc=_0x4bbe15;return this[_0x3d57fc(0x1ab)][_0x3d57fc(0x1f6)];}[_0x4bbe15(0x187)](){const _0x39a2eb=_0x4bbe15;this[_0x39a2eb(0x107)](),this[_0x39a2eb(0xf3)]();}[_0x4bbe15(0x107)](){const _0x498b7e=_0x4bbe15;var _0xe15c4;const _0x2269c0=(_0xe15c4=this[_0x498b7e(0x197)]['getConfig'](_0x171153))!=null?_0xe15c4:_0x3c62e1,_0x2b885b=document[_0x498b7e(0x1b5)](_0x2269c0);if(!_0x2b885b)return;const _0x2331d8=document[_0x498b7e(0x168)](_0x498b7e(0x127));_0x2331d8['id']=_0x1945f3,_0x2331d8['dataset'][_0x498b7e(0x1a5)]=_0x498b7e(0x13f),_0x2331d8[_0x498b7e(0x1e3)][_0x498b7e(0x130)]=_0x498b7e(0x1b0),_0x2331d8[_0x498b7e(0x1e3)][_0x498b7e(0x1d9)]='0',_0x2331d8[_0x498b7e(0x1e3)][_0x498b7e(0xd8)]='0',_0x2331d8[_0x498b7e(0x1e3)][_0x498b7e(0x131)]='100%',_0x2331d8[_0x498b7e(0x1e3)][_0x498b7e(0x195)]=_0x498b7e(0x1d8),_0x2331d8['style']['zIndex']=_0x498b7e(0x14e),_0x2331d8['style'][_0x498b7e(0xf6)]='none',_0x2b885b[_0x498b7e(0x1e7)](_0x2331d8);}[_0x4bbe15(0xf3)](){const _0x5dee26=_0x4bbe15;var _0x5b654b,_0x207240,_0x10d207,_0x296209;[[_0x1ce492[_0x5dee26(0x1a3)]],[_0x411fa6[_0x5dee26(0x1fe)],{'container':_0x1945f3,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x411fa6[_0x5dee26(0x1d7)],null]]}],[_0x5eb313[_0x5dee26(0x104)]],[_0x3d2950[_0x5dee26(0x176)],{'override':[[_0x3d2950[_0x5dee26(0x14a)],null]]}],[_0x39c365[_0x5dee26(0x188)],{'hasScroll':!0x1}],[_0x2bacc4[_0x5dee26(0xd5)]],[_0x20e028['UniverSheetsNumfmtPlugin']],[_0x3a51f3[_0x5dee26(0x1ff)],{'notExecuteFormula':!0x0}],[_0xdfb115[_0x5dee26(0x116)]],[_0x46c8cb[_0x5dee26(0x18c)]],[_0x14b78f[_0x5dee26(0xf7)]],[_0xc6c4b8[_0x5dee26(0x18a)]],[_0x43045d[_0x5dee26(0x134)]],[_0x3802c9[_0x5dee26(0x173)]],[_0x6aa5b9[_0x5dee26(0x1cb)]],[_0x29a851[_0x5dee26(0x1da)]],[_0xf62dbf[_0x5dee26(0xdb)]],[_0xdcef22['UniverSheetsHyperLinkUIPlugin']],[_0x1878aa[_0x5dee26(0x1bc)]],[_0x238690['UniverSheetsDataValidationPlugin']],[_0x53a098[_0x5dee26(0xd6)]],[_0x5c7b56[_0x5dee26(0x142)],{'notExecuteFormula':!0x0}],[_0x9ea9a9['UniverRPCMainThreadPlugin'],{'workerURL':(_0x207240=(_0x5b654b=this[_0x5dee26(0x197)]['getConfig'](_0x9ea9a9[_0x5dee26(0x1b7)]))==null?void 0x0:_0x5b654b['workerURL'])!=null?_0x207240:_0x5dee26(0x167)}],[_0x27c80f[_0x5dee26(0x1eb)]],[_0x52f8e0[_0x5dee26(0x149)]],[_0x5de297[_0x5dee26(0x1f1)]],[_0x136dfd[_0x5dee26(0x13d)]],[_0x270c5f[_0x5dee26(0x148)]],[_0x41710b[_0x5dee26(0xd7)]],[_0xd29365[_0x5dee26(0x1d4)]],[_0x289cc0['UniverSheetsShapePlugin']],[_0x5d4a67['UniverSheetsShapeUIPlugin']],[_0x472510[_0x5dee26(0x1a1)],{'notExecuteFormula':!0x0}],[_0x35ab5d['UniverEditHistoryViewerPlugin'],{'historyListServerUrl':(_0x10d207=this['_configService'][_0x5dee26(0x139)](_0x252445))==null?void 0x0:_0x10d207['historyListServerUrl'],'historyPanelComponentKey':(_0x296209=this[_0x5dee26(0x197)]['getConfig'](_0x252445))==null?void 0x0:_0x296209[_0x5dee26(0x200)]}]][_0x5dee26(0xe3)](([_0x1a21a3,_0x42cf77])=>this[_0x5dee26(0x16e)](_0x1a21a3,_0x42cf77));}[_0x4bbe15(0x15e)](){const _0x2944fb=_0x4bbe15;super[_0x2944fb(0x15e)](),this['unMountHistoryContent'](),this[_0x2944fb(0x15c)][_0x2944fb(0x12e)]();}[_0x4bbe15(0x16e)](_0x72f581,_0x88fb8b,_0x275abf){const _0x4c5b9b=_0x4bbe15;if(this[_0x4c5b9b(0x15c)][_0x4c5b9b(0x19a)](_0x72f581['pluginName'])&&!_0x275abf)throw new Error(_0x4c5b9b(0x16d)+_0x72f581[_0x4c5b9b(0x1fa)]+_0x4c5b9b(0x1c7));this[_0x4c5b9b(0x15c)][_0x4c5b9b(0x1e2)](_0x72f581[_0x4c5b9b(0x1fa)],[_0x72f581,_0x88fb8b]);}[_0x4bbe15(0x15b)](){const _0x5b4891=_0x4bbe15;return Array['from'](this['_pluginMap'][_0x5b4891(0x119)]());}['mountHistoryContent'](_0x289c07){const _0x542e38=_0x4bbe15,_0x14c09d=document[_0x542e38(0x1b5)](_0x1945f3);_0x14c09d&&(_0x14c09d[_0x542e38(0x1e3)][_0x542e38(0xf6)]=_0x542e38(0x13c),this[_0x542e38(0x194)](_0x289c07,_0x1945f3));}['unMountHistoryContent'](){const _0x3fa3f7=_0x4bbe15;var _0x11e29;this[_0x3fa3f7(0x13e)]['dispose'](),(_0x11e29=this[_0x3fa3f7(0x171)])==null||_0x11e29[_0x3fa3f7(0x15e)](),this['_historyUniver$'][_0x3fa3f7(0x114)](null);const _0x424395=document[_0x3fa3f7(0x1b5)](_0x1945f3);_0x424395&&(_0x424395[_0x3fa3f7(0x1e3)]['display']=_0x3fa3f7(0xf9));}[_0x4bbe15(0x194)](_0x1b5f1b,_0x173409){const _0xc47c32=_0x4bbe15;if(this['historyUniver'])return;const _0x1061fa=new _0xb7dbce['Univer']({'locales':{[this[_0xc47c32(0x1cf)][_0xc47c32(0x12a)]()]:this['_localeService'][_0xc47c32(0x1b2)]()},'override':[[_0xb7dbce[_0xc47c32(0x181)],{'useClass':_0x1803ff[_0xc47c32(0x12d)]}]]}),_0x270d80=_0x1061fa[_0xc47c32(0x193)]();this['disposeWithMe'](this[_0xc47c32(0x146)][_0xc47c32(0x161)][_0xc47c32(0x10d)](_0x1380f9=>{const _0x30a1b7=_0xc47c32;_0x270d80[_0x30a1b7(0x1c2)](_0xb7dbce['ThemeService'])[_0x30a1b7(0xdf)](_0x1380f9);})),this[_0xc47c32(0x100)](this[_0xc47c32(0x146)]['currentTheme$'][_0xc47c32(0x10d)](_0x5815b2=>{const _0x4895f0=_0xc47c32;_0x270d80[_0x4895f0(0x1c2)](_0xb7dbce[_0x4895f0(0x126)])[_0x4895f0(0x160)](_0x5815b2);})),_0x270d80[_0xc47c32(0x1c2)](_0xb7dbce[_0xc47c32(0x180)])['setLocale'](this['_localeService'][_0xc47c32(0x12a)]()),_0x270d80[_0xc47c32(0x1c2)](_0xb7dbce[_0xc47c32(0x13b)])[_0xc47c32(0x1d1)](_0x1803ff[_0xc47c32(0x164)],this['_configService'][_0xc47c32(0x139)](_0x1803ff[_0xc47c32(0x164)]));const _0x40cae3=this[_0xc47c32(0x197)][_0xc47c32(0x139)](_0x455fa5[_0xc47c32(0x1b3)]);_0x40cae3&&_0x1061fa[_0xc47c32(0x16e)](_0x455fa5[_0xc47c32(0x182)],{'license':_0x40cae3['ls']}),this[_0xc47c32(0x15c)][_0xc47c32(0xe3)](([_0xbbdd,_0x1e8648])=>{const _0x52f618=_0xc47c32;_0x1061fa[_0x52f618(0x16e)](_0xbbdd,_0x1e8648);}),_0x270d80[_0xc47c32(0x19b)](_0x1b26e9=>{const _0x1ddc73=_0xc47c32;this[_0x1ddc73(0x169)](_0x1b26e9,_0x1b5f1b);}),this[_0xc47c32(0x1ab)][_0xc47c32(0x114)](_0x1061fa);const _0x5905ed=_0x270d80[_0xc47c32(0x1c2)](_0x35ab5d[_0xc47c32(0xd0)]),_0x576cf6=this['_checkCanRevert'](_0x1b5f1b);_0x5905ed[_0xc47c32(0x1a0)](_0x1b5f1b,_0x173409,_0x576cf6);}[_0x4bbe15(0x169)](_0x540bc8,_0x3c7f8f){const _0x2154cd=_0x4bbe15,_0x44f80e=_0x540bc8[_0x2154cd(0x1c2)](_0x35ab5d['HistoryManagerService']);this[_0x2154cd(0x13e)][_0x2154cd(0x1ef)](_0x44f80e['status$'][_0x2154cd(0x10d)](_0x59e1e5=>{const _0x11e640=_0x2154cd;switch(_0x59e1e5){case _0x35ab5d['HistoryModeStatus'][_0x11e640(0x144)]:this[_0x11e640(0x11a)][_0x11e640(0x132)](),this[_0x11e640(0xd4)][_0x11e640(0x1bf)]();break;case _0x35ab5d[_0x11e640(0xe2)]['Exited']:this['_commandService'][_0x11e640(0x152)](_0x1bec9d['id']),this['unMountHistoryContent']();break;case _0x35ab5d[_0x11e640(0xe2)]['Error']:this['unMountHistoryContent'](),this['_messageService'][_0x11e640(0x1be)]({'content':this[_0x11e640(0x1cf)]['t']('editHistory.panel.listFetchError'),'type':_0xa503b7[_0x11e640(0x15d)]['Error'],'duration':0xbb8});break;}})),this[_0x2154cd(0x13e)][_0x2154cd(0x1ef)](_0x44f80e[_0x2154cd(0x16f)][_0x2154cd(0x10d)](async _0x5395dc=>{const _0xd0cec3=_0x2154cd;_0x5395dc&&this[_0xd0cec3(0x105)]['executeCommand'](_0xc6c4b8[_0xd0cec3(0xf0)]['id'],{'unitId':_0x3c7f8f,'revision':_0x5395dc});}));}[_0x4bbe15(0x1bd)](_0x30cf11){const _0xf5a3ab=_0x4bbe15,_0x1c7fe7=this['_univerInstanceService'][_0xf5a3ab(0x175)](_0x30cf11)['getSheets']()[_0xf5a3ab(0x1c9)](_0x14971b=>_0x14971b[_0xf5a3ab(0x1ad)]()),_0x15f62b=new _0x3a51f3[(_0xf5a3ab(0x202))](_0x30cf11)['id'],_0x5521f8=_0x1c7fe7[_0xf5a3ab(0x1c9)](_0x531bda=>new _0x3a51f3[(_0xf5a3ab(0x102))](_0x30cf11,_0x531bda)['id']),_0x148a91=_0x1c7fe7['map'](_0x4eb35b=>this[_0xf5a3ab(0xef)][_0xf5a3ab(0x189)](_0x30cf11,_0x4eb35b)[_0xf5a3ab(0x1c9)](_0x4b6da7=>new _0x3a51f3['RangeProtectionPermissionEditPoint'](_0x30cf11,_0x4eb35b,_0x4b6da7[_0xf5a3ab(0x143)])['id']))[_0xf5a3ab(0x1ea)](),_0x311510=new _0x3a51f3[(_0xf5a3ab(0x1fc))](_0x30cf11)['id'];return this[_0xf5a3ab(0x110)]['composePermission']([_0x15f62b,..._0x5521f8,..._0x148a91,_0x311510])['every'](_0x3c3102=>!!_0x3c3102[_0xf5a3ab(0x1f6)]);}},_0x20e029['HistoryLoaderService']=_0x4a7a7f([_0x52f94d(0x0,_0xb7dbce[_0x4bbe15(0x1e8)](_0xb7dbce[_0x4bbe15(0x180)])),_0x52f94d(0x1,_0xb7dbce[_0x4bbe15(0x166)]),_0x52f94d(0x2,_0xb7dbce[_0x4bbe15(0x13b)]),_0x52f94d(0x3,_0xb7dbce[_0x4bbe15(0x1d6)]),_0x52f94d(0x4,_0x411fa6[_0x4bbe15(0x1d5)]),_0x52f94d(0x5,_0xb7dbce[_0x4bbe15(0x147)]),_0x52f94d(0x6,_0xb7dbce['Inject'](_0x3a51f3['RangeProtectionRuleModel'])),_0x52f94d(0x7,_0xb7dbce[_0x4bbe15(0x1e8)](_0x411fa6[_0x4bbe15(0x1d7)])),_0x52f94d(0x8,_0xb7dbce['Inject'](_0x411fa6[_0x4bbe15(0x170)])),_0x52f94d(0x9,_0xb7dbce[_0x4bbe15(0x1e8)](_0xb7dbce[_0x4bbe15(0x126)]))],_0x20e029[_0x4bbe15(0x162)]);const _0x1c6fce={'id':_0x4bbe15(0x1c3),'type':_0xb7dbce[_0x4bbe15(0x1a6)]['OPERATION'],'handler':_0x1063d9=>{const _0x4ec601=_0x4bbe15,_0x285b6c=_0x1063d9[_0x4ec601(0x1c2)](_0x20e029[_0x4ec601(0x162)]),_0x1b958c=_0x1063d9[_0x4ec601(0x1c2)](_0xb7dbce[_0x4ec601(0x166)]),{unitId:_0x30045c}=_0x3a51f3[_0x4ec601(0x185)](_0x1b958c)||{};return _0x30045c?(_0x285b6c[_0x4ec601(0xf1)](_0x30045c),!0x0):!0x1;}},_0x1bec9d={'id':_0x4bbe15(0xee),'type':_0xb7dbce['CommandType']['OPERATION'],'handler':()=>!0x0};function _0x5025ce(_0x4f199a){const _0x9bb56b=_0x4bbe15;return{'id':_0x1c6fce['id'],'type':_0x411fa6[_0x9bb56b(0x103)][_0x9bb56b(0x133)],'icon':_0x9bb56b(0x155),'tooltip':'editHistory.panel.title','hidden$':_0x411fa6[_0x9bb56b(0x17b)](_0x4f199a,_0xb7dbce[_0x9bb56b(0x10c)]['UNIVER_SHEET']),'disabled$':_0xdfb115[_0x9bb56b(0x172)](_0x4f199a,{'workbookTypes':[_0x3a51f3[_0x9bb56b(0x202)],_0x3a51f3[_0x9bb56b(0xfc)]],'worksheetTypes':[],'rangeTypes':[]})};}const _0x1e093c={[_0x411fa6[_0x4bbe15(0x18f)][_0x4bbe15(0x101)]]:{[_0x1c6fce['id']]:{'order':0.2,'menuItemFactory':_0x5025ce}}};var _0x51e31c=Object['getOwnPropertyDescriptor'],_0x306220=(_0x504284,_0x1d8a2f,_0x5ed49b,_0x43ff17)=>{const _0x54cc53=_0x4bbe15;for(var _0x2baaf1=_0x43ff17>0x1?void 0x0:_0x43ff17?_0x51e31c(_0x1d8a2f,_0x5ed49b):_0x1d8a2f,_0x433816=_0x504284[_0x54cc53(0x1de)]-0x1,_0xcb531d;_0x433816>=0x0;_0x433816--)(_0xcb531d=_0x504284[_0x433816])&&(_0x2baaf1=_0xcb531d(_0x2baaf1)||_0x2baaf1);return _0x2baaf1;},_0x2d0b87=(_0x883a6a,_0x2b7fe6)=>(_0x3ab87f,_0x460650)=>_0x2b7fe6(_0x3ab87f,_0x460650,_0x883a6a);let _0x2d45ab=class extends _0xb7dbce['RxDisposable']{constructor(_0x37e8a9,_0x18ba83,_0x5f1ed2,_0x2d4302,_0x559e31,_0x288c8d,_0x3d8cc2,_0x4280ea){const _0x238407=_0x4bbe15;super(),_0x2cabb8(this,_0x238407(0x12c),null),(this[_0x238407(0x105)]=_0x37e8a9,this[_0x238407(0xce)]=_0x18ba83,this[_0x238407(0x106)]=_0x5f1ed2,this[_0x238407(0x145)]=_0x2d4302,this[_0x238407(0x1cf)]=_0x559e31,this[_0x238407(0x19e)]=_0x288c8d,this[_0x238407(0x109)]=_0x3d8cc2,this[_0x238407(0x1a2)]=_0x4280ea,this[_0x238407(0x187)]());}[_0x4bbe15(0x187)](){const _0x4d9c91=_0x4bbe15;[_0x1c6fce,_0x1bec9d][_0x4d9c91(0xe3)](_0x1f9d51=>this[_0x4d9c91(0x100)](_0xb7dbce['toDisposable'](this[_0x4d9c91(0x105)][_0x4d9c91(0xe8)](_0x1f9d51)))),this['disposeWithMe'](this[_0x4d9c91(0x106)][_0x4d9c91(0x1a9)](_0x4d9c91(0x155),_0x204733)),this[_0x4d9c91(0xce)][_0x4d9c91(0x1cc)](_0x1e093c),this[_0x4d9c91(0x100)](this[_0x4d9c91(0x105)][_0x4d9c91(0x163)](_0x2b4da9=>{const _0x47ce45=_0x4d9c91;if(_0x2b4da9['id']===_0xc6c4b8[_0x47ce45(0xf0)]['id']){this[_0x47ce45(0x19e)][_0x47ce45(0x1be)]({'content':this[_0x47ce45(0x1cf)]['t'](_0x47ce45(0x1fd)),'type':_0xa503b7[_0x47ce45(0x15d)][_0x47ce45(0x1c0)],'duration':0x1388});const {unitId:_0x3993ef}=_0x2b4da9[_0x47ce45(0x1bb)],_0x727824=this[_0x47ce45(0x109)][_0x47ce45(0x1c6)](_0x3993ef),_0x2bb762=_0x3711bd['combineLatest']([_0x727824[_0x47ce45(0x203)]['event$'],_0x727824[_0x47ce45(0x11d)]])[_0x47ce45(0x10d)](async([_0x5be778,_0x18d54d])=>{const _0x1eeece=_0x47ce45;var _0x4aefeb;_0x5be778['eventID']===_0xc6c4b8[_0x1eeece(0x1d2)][_0x1eeece(0x1f7)]&&(_0x18d54d==null?void 0x0:_0x18d54d['status'])===_0x1803ff[_0x1eeece(0x1e0)][_0x1eeece(0x1d0)]&&_0x5be778[_0x1eeece(0xdd)][_0x1eeece(0x154)]['some'](_0x26590b=>_0x26590b['id']===_0xc6c4b8['RevertRevisionMutation']['id'])&&(this[_0x1eeece(0x145)][_0x1eeece(0x124)](),_0x2bb762['unsubscribe'](),this[_0x1eeece(0x12c)]&&clearTimeout(this[_0x1eeece(0x12c)]),await((_0x4aefeb=this['_localCacheService'])==null?void 0x0:_0x4aefeb[_0x1eeece(0xeb)]()),setTimeout(()=>window[_0x1eeece(0x190)][_0x1eeece(0x1f9)]()));});this[_0x47ce45(0x12c)]=setTimeout(()=>{const _0x14c1d7=_0x47ce45;_0x2bb762['unsubscribe'](),this[_0x14c1d7(0x19e)]['show']({'content':this[_0x14c1d7(0x1cf)]['t'](_0x14c1d7(0x150)),'type':_0xa503b7[_0x14c1d7(0x15d)]['Error'],'duration':0xbb8});},0x1388);}}));}};_0x2d45ab=_0x306220([_0x2d0b87(0x0,_0xb7dbce[_0x4bbe15(0x1d6)]),_0x2d0b87(0x1,_0x411fa6[_0x4bbe15(0x122)]),_0x2d0b87(0x2,_0xb7dbce[_0x4bbe15(0x1e8)](_0x411fa6[_0x4bbe15(0x1ae)])),_0x2d0b87(0x3,_0xb7dbce[_0x4bbe15(0x1e8)](_0x20e029[_0x4bbe15(0x162)])),_0x2d0b87(0x4,_0xb7dbce[_0x4bbe15(0x1e8)](_0xb7dbce['LocaleService'])),_0x2d0b87(0x5,_0x411fa6[_0x4bbe15(0x1d5)]),_0x2d0b87(0x6,_0xb7dbce['Inject'](_0x1803ff[_0x4bbe15(0xfe)])),_0x2d0b87(0x7,_0x1803ff[_0x4bbe15(0x125)])],_0x2d45ab);var _0x4a6f15=Object[_0x4bbe15(0x1e6)],_0x2b0974=Object[_0x4bbe15(0x199)],_0x4407df=(_0x10c2a4,_0x5c8221,_0xf3b13b)=>_0x5c8221 in _0x10c2a4?_0x4a6f15(_0x10c2a4,_0x5c8221,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xf3b13b}):_0x10c2a4[_0x5c8221]=_0xf3b13b,_0x1f4075=(_0x453122,_0x50b0f8,_0x20edbb,_0x4ed88f)=>{const _0x36092e=_0x4bbe15;for(var _0x12dc11=_0x4ed88f>0x1?void 0x0:_0x4ed88f?_0x2b0974(_0x50b0f8,_0x20edbb):_0x50b0f8,_0x1c4592=_0x453122[_0x36092e(0x1de)]-0x1,_0xe6d78b;_0x1c4592>=0x0;_0x1c4592--)(_0xe6d78b=_0x453122[_0x1c4592])&&(_0x12dc11=_0xe6d78b(_0x12dc11)||_0x12dc11);return _0x12dc11;},_0x3fe231=(_0x9ea9f0,_0x4ef08f)=>(_0x20c112,_0x5ce92c)=>_0x4ef08f(_0x20c112,_0x5ce92c,_0x9ea9f0),_0xc77bfe=(_0x136be8,_0x276bbe,_0x495961)=>_0x4407df(_0x136be8,typeof _0x276bbe!=_0x4bbe15(0xdc)?_0x276bbe+'':_0x276bbe,_0x495961);const _0x49c85d=_0x4bbe15(0x1ec);_0x20e029[_0x4bbe15(0x1ee)]=class extends _0xb7dbce['Plugin']{constructor(_0x189bc7=_0x34e3c3,_0x1e548b,_0x3bc72f){const _0x673539=_0x4bbe15;super(),this[_0x673539(0x158)]=_0x189bc7,this[_0x673539(0x1e1)]=_0x1e548b,this[_0x673539(0x197)]=_0x3bc72f;const {menu:_0x23810d,..._0xc08ec2}=_0xb7dbce[_0x673539(0x11e)]({},_0x34e3c3,this['_config']);_0x23810d&&this['_configService'][_0x673539(0x1d1)](_0x673539(0x159),_0x23810d,{'merge':!0x0}),this[_0x673539(0x197)][_0x673539(0x1d1)](_0x252445,_0xc08ec2),this[_0x673539(0x158)][_0x673539(0x120)]&&this[_0x673539(0x197)][_0x673539(0x1d1)](_0x171153,this['_config'][_0x673539(0x120)]);}[_0x4bbe15(0x141)](){const _0x20ba1e=_0x4bbe15;[[_0x20e029[_0x20ba1e(0x162)]],[_0x2d45ab]][_0x20ba1e(0xe3)](_0x493b2c=>this['_injector']['add'](_0x493b2c));}[_0x4bbe15(0xda)](){const _0x366d7f=_0x4bbe15;this[_0x366d7f(0x1e1)][_0x366d7f(0x1c2)](_0x2d45ab);}},_0xc77bfe(_0x20e029[_0x4bbe15(0x1ee)],_0x4bbe15(0x1b1),_0xb7dbce[_0x4bbe15(0x10c)][_0x4bbe15(0x17d)]),_0xc77bfe(_0x20e029[_0x4bbe15(0x1ee)],_0x4bbe15(0x1fa),_0x49c85d),_0x20e029[_0x4bbe15(0x1ee)]=_0x1f4075([_0xb7dbce[_0x4bbe15(0xed)](_0x455fa5[_0x4bbe15(0x182)]),_0x3fe231(0x1,_0xb7dbce[_0x4bbe15(0x1e8)](_0xb7dbce['Injector'])),_0x3fe231(0x2,_0xb7dbce['IConfigService'])],_0x20e029[_0x4bbe15(0x1ee)]),_0x20e029[_0x4bbe15(0x1b6)]=_0x171153,_0x20e029[_0x4bbe15(0xe4)]=_0x1945f3,Object[_0x4bbe15(0x1e6)](_0x20e029,Symbol[_0x4bbe15(0x157)],{'value':_0x4bbe15(0x1c8)});}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/edit-history-loader",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "UniverSheet edit history loader",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -47,50 +47,52 @@
|
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@univerjs/icons": "^1.1.1",
|
|
50
|
-
"@univerjs-pro/collaboration": "0.15.
|
|
51
|
-
"@univerjs-pro/collaboration-client": "0.15.
|
|
52
|
-
"@univerjs-pro/
|
|
53
|
-
"@univerjs-pro/sheets-chart": "0.15.
|
|
54
|
-
"@univerjs-pro/sheets-chart
|
|
55
|
-
"@univerjs-pro/sheets-
|
|
56
|
-
"@univerjs-pro/sheets-
|
|
57
|
-
"@univerjs-pro/
|
|
58
|
-
"@univerjs-pro/
|
|
59
|
-
"@univerjs/
|
|
60
|
-
"@univerjs/
|
|
61
|
-
"@univerjs/
|
|
62
|
-
"@univerjs/
|
|
63
|
-
"@univerjs/
|
|
64
|
-
"@univerjs/
|
|
65
|
-
"@univerjs/
|
|
66
|
-
"@univerjs/drawing
|
|
67
|
-
"@univerjs/engine-
|
|
68
|
-
"@univerjs/
|
|
69
|
-
"@univerjs/
|
|
70
|
-
"@univerjs/
|
|
71
|
-
"@univerjs/rpc": "0.15.
|
|
72
|
-
"@univerjs/sheets": "0.15.
|
|
73
|
-
"@univerjs/sheets-
|
|
74
|
-
"@univerjs/sheets-
|
|
75
|
-
"@univerjs/sheets-
|
|
76
|
-
"@univerjs/sheets-
|
|
77
|
-
"@univerjs/sheets-filter
|
|
78
|
-
"@univerjs/sheets-drawing
|
|
79
|
-
"@univerjs/sheets-
|
|
80
|
-
"@univerjs/sheets-formula
|
|
81
|
-
"@univerjs/sheets-
|
|
82
|
-
"@univerjs/sheets-
|
|
83
|
-
"@univerjs/sheets-hyper-link-ui": "0.15.
|
|
84
|
-
"@univerjs/sheets-
|
|
85
|
-
"@univerjs/ui": "0.15.
|
|
50
|
+
"@univerjs-pro/collaboration": "0.15.4",
|
|
51
|
+
"@univerjs-pro/collaboration-client": "0.15.4",
|
|
52
|
+
"@univerjs-pro/edit-history-viewer": "0.15.4",
|
|
53
|
+
"@univerjs-pro/sheets-chart-ui": "0.15.4",
|
|
54
|
+
"@univerjs-pro/sheets-chart": "0.15.4",
|
|
55
|
+
"@univerjs-pro/sheets-shape": "0.15.4",
|
|
56
|
+
"@univerjs-pro/sheets-shape-ui": "0.15.4",
|
|
57
|
+
"@univerjs-pro/license": "0.15.4",
|
|
58
|
+
"@univerjs-pro/sheets-sparkline": "0.15.4",
|
|
59
|
+
"@univerjs-pro/sheets-sparkline-ui": "0.15.4",
|
|
60
|
+
"@univerjs/core": "0.15.4",
|
|
61
|
+
"@univerjs-pro/sheets-pivot": "0.15.4",
|
|
62
|
+
"@univerjs/design": "0.15.4",
|
|
63
|
+
"@univerjs/docs": "0.15.4",
|
|
64
|
+
"@univerjs/data-validation": "0.15.4",
|
|
65
|
+
"@univerjs/docs-ui": "0.15.4",
|
|
66
|
+
"@univerjs/drawing": "0.15.4",
|
|
67
|
+
"@univerjs/engine-formula": "0.15.4",
|
|
68
|
+
"@univerjs/drawing-ui": "0.15.4",
|
|
69
|
+
"@univerjs/engine-render": "0.15.4",
|
|
70
|
+
"@univerjs/network": "0.15.4",
|
|
71
|
+
"@univerjs/rpc": "0.15.4",
|
|
72
|
+
"@univerjs/sheets": "0.15.4",
|
|
73
|
+
"@univerjs/sheets-conditional-formatting-ui": "0.15.4",
|
|
74
|
+
"@univerjs/sheets-conditional-formatting": "0.15.4",
|
|
75
|
+
"@univerjs/sheets-data-validation": "0.15.4",
|
|
76
|
+
"@univerjs/sheets-drawing-ui": "0.15.4",
|
|
77
|
+
"@univerjs/sheets-filter": "0.15.4",
|
|
78
|
+
"@univerjs/sheets-drawing": "0.15.4",
|
|
79
|
+
"@univerjs/sheets-data-validation-ui": "0.15.4",
|
|
80
|
+
"@univerjs/sheets-formula": "0.15.4",
|
|
81
|
+
"@univerjs/sheets-formula-ui": "0.15.4",
|
|
82
|
+
"@univerjs/sheets-filter-ui": "0.15.4",
|
|
83
|
+
"@univerjs/sheets-hyper-link-ui": "0.15.4",
|
|
84
|
+
"@univerjs/sheets-hyper-link": "0.15.4",
|
|
85
|
+
"@univerjs/ui": "0.15.4",
|
|
86
|
+
"@univerjs/sheets-numfmt": "0.15.4",
|
|
87
|
+
"@univerjs/sheets-ui": "0.15.4"
|
|
86
88
|
},
|
|
87
89
|
"devDependencies": {
|
|
88
90
|
"react": "18.3.1",
|
|
89
91
|
"rxjs": "7.8.2",
|
|
90
92
|
"typescript": "^5.9.3",
|
|
91
93
|
"vite": "^7.3.1",
|
|
92
|
-
"vitest": "^4.0.
|
|
93
|
-
"@univerjs-infra/shared": "0.15.
|
|
94
|
+
"vitest": "^4.0.18",
|
|
95
|
+
"@univerjs-infra/shared": "0.15.4"
|
|
94
96
|
},
|
|
95
97
|
"scripts": {
|
|
96
98
|
"test": "vitest run",
|