@univerjs-pro/edit-history-loader 0.15.0-insiders.20260106-79b11f9 → 0.15.0-insiders.20260107-3441c7a

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x25e8dd=_0xd997;(function(_0x37ceac,_0x3f0abb){const _0x2fa1=_0xd997,_0x4d960d=_0x37ceac();while(!![]){try{const _0x2cd360=parseInt(_0x2fa1(0x182))/0x1*(-parseInt(_0x2fa1(0x122))/0x2)+parseInt(_0x2fa1(0x116))/0x3+parseInt(_0x2fa1(0x173))/0x4+-parseInt(_0x2fa1(0x1a1))/0x5+-parseInt(_0x2fa1(0x19f))/0x6+parseInt(_0x2fa1(0x141))/0x7*(parseInt(_0x2fa1(0x132))/0x8)+parseInt(_0x2fa1(0x12b))/0x9;if(_0x2cd360===_0x3f0abb)break;else _0x4d960d['push'](_0x4d960d['shift']());}catch(_0x233838){_0x4d960d['push'](_0x4d960d['shift']());}}}(_0x5227,0x99352));var A=Object[_0x25e8dd(0x19c)],F=(_0x59a175,_0x19d123,_0xfb4eaf)=>_0x19d123 in _0x59a175?A(_0x59a175,_0x19d123,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xfb4eaf}):_0x59a175[_0x19d123]=_0xfb4eaf,_=(_0x53adc4,_0x3d3d92,_0x285a5a)=>F(_0x53adc4,typeof _0x3d3d92!='symbol'?_0x3d3d92+'':_0x3d3d92,_0x285a5a);Object['defineProperty'](exports,Symbol[_0x25e8dd(0xfc)],{'value':_0x25e8dd(0xf5)});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='edit-history-loader.config',T={};function D({ref:_0x1217f4,..._0x138bc0}){const _0x442ed2=_0x25e8dd,{icon:_0x513ba0,id:_0x3fe046,className:_0x267973,extend:_0x55db36,..._0x11e08d}=_0x138bc0,_0xd525df=(_0x442ed2(0x11f)+_0x3fe046+'\x20'+(_0x267973||''))[_0x442ed2(0x108)](),_0x22a4ac=U[_0x442ed2(0x1d3)]('_'+Se());return q(_0x513ba0,''+_0x3fe046,{'defIds':_0x513ba0[_0x442ed2(0x14b)],'idSuffix':_0x22a4ac[_0x442ed2(0xed)]},{'ref':_0x1217f4,'className':_0xd525df,..._0x11e08d},_0x55db36);}function q(_0x5b583e,_0x518867,_0x495c5b,_0x4ef23c,_0x57d479){const _0x1b7ebf=_0x25e8dd;return U[_0x1b7ebf(0x12f)](_0x5b583e[_0x1b7ebf(0x1a5)],{'key':_0x518867,...de(_0x5b583e,_0x495c5b,_0x57d479),..._0x4ef23c},(_e(_0x5b583e,_0x495c5b)[_0x1b7ebf(0x133)]||[])['map']((_0x26deaf,_0x5a6be0)=>q(_0x26deaf,_0x518867+'-'+_0x5b583e[_0x1b7ebf(0x1a5)]+'-'+_0x5a6be0,_0x495c5b,void 0x0,_0x57d479)));}function de(_0x17f847,_0x4fe2f6,_0xc1226d){const _0x587d59=_0x25e8dd,_0x4beaac={..._0x17f847[_0x587d59(0xee)]};_0xc1226d!=null&&_0xc1226d[_0x587d59(0x120)]&&_0x4beaac['fill']===_0x587d59(0x120)&&(_0x4beaac[_0x587d59(0x10d)]=_0xc1226d[_0x587d59(0x120)]),_0x17f847[_0x587d59(0x1a5)]===_0x587d59(0x101)&&_0x4beaac['id']&&(_0x4beaac['id']=_0x4beaac['id']+_0x4fe2f6[_0x587d59(0x1c4)]),Object[_0x587d59(0x131)](_0x4beaac)['forEach'](([_0x59775f,_0x3e2f34])=>{const _0x2b39a6=_0x587d59;_0x59775f===_0x2b39a6(0x101)&&typeof _0x3e2f34=='string'&&(_0x4beaac[_0x59775f]=_0x3e2f34[_0x2b39a6(0x1d6)](/url\(#(.*)\)/,_0x2b39a6(0x1e2)+_0x4fe2f6[_0x2b39a6(0x1c4)]+')'));});const {defIds:_0x27a351}=_0x4fe2f6;return!_0x27a351||_0x27a351[_0x587d59(0x1dc)]===0x0||(_0x17f847[_0x587d59(0x1a5)]===_0x587d59(0x1cd)&&_0x4beaac[_0x587d59(0x13f)]&&(_0x4beaac[_0x587d59(0x13f)]=_0x4beaac['xlink:href']+_0x4fe2f6[_0x587d59(0x1c4)]),Object[_0x587d59(0x131)](_0x4beaac)[_0x587d59(0x15d)](([_0x29bcde,_0x2d7b38])=>{const _0x2ba6da=_0x587d59;typeof _0x2d7b38==_0x2ba6da(0x11b)&&(_0x4beaac[_0x29bcde]=_0x2d7b38[_0x2ba6da(0x1d6)](/url\(#(.*)\)/,_0x2ba6da(0x1e2)+_0x4fe2f6['idSuffix']+')'));})),_0x4beaac;}function _e(_0x4bb829,_0x2b15a1){const _0x1f2796=_0x25e8dd;var _0x1556c7;const {defIds:_0x295540}=_0x2b15a1;return!_0x295540||_0x295540[_0x1f2796(0x1dc)]===0x0?_0x4bb829:_0x4bb829[_0x1f2796(0x1a5)]===_0x1f2796(0x1cf)&&((_0x1556c7=_0x4bb829[_0x1f2796(0x133)])!=null&&_0x1556c7[_0x1f2796(0x1dc)])?{..._0x4bb829,'children':_0x4bb829['children'][_0x1f2796(0x1af)](_0x498dda=>typeof _0x498dda[_0x1f2796(0xee)]['id']==_0x1f2796(0x11b)&&_0x295540&&_0x295540[_0x1f2796(0x165)](_0x498dda[_0x1f2796(0xee)]['id'])?{..._0x498dda,'attrs':{..._0x498dda[_0x1f2796(0xee)],'id':_0x498dda['attrs']['id']+_0x2b15a1[_0x1f2796(0x1c4)]}}:_0x498dda)}:_0x4bb829;}function Se(){const _0x31b301=_0x25e8dd;return Math[_0x31b301(0x14d)]()['toString'](0x24)[_0x31b301(0x110)](0x2,0x8);}D[_0x25e8dd(0x121)]=_0x25e8dd(0x10b);const me={'tag':'svg','attrs':{'xmlns':_0x25e8dd(0xf8),'fill':_0x25e8dd(0x161),'viewBox':_0x25e8dd(0x145),'width':_0x25e8dd(0x14f),'height':_0x25e8dd(0x14f)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':_0x25e8dd(0x151)},'children':[{'tag':_0x25e8dd(0x1b6),'attrs':{'d':_0x25e8dd(0x1d0)}},{'tag':_0x25e8dd(0x1b6),'attrs':{'d':_0x25e8dd(0x1bb)}}]},{'tag':_0x25e8dd(0x1cf),'attrs':{},'children':[{'tag':_0x25e8dd(0x15b),'attrs':{'id':'history-icon_clip0_907_281'},'children':[{'tag':_0x25e8dd(0x1b6),'attrs':{'fill':_0x25e8dd(0x1b3),'d':_0x25e8dd(0x174)}}]}]}],'defIds':[_0x25e8dd(0x156)]},$=U[_0x25e8dd(0x16e)](function(_0x1e614c,_0x370ed1){const _0x39a721=_0x25e8dd;return U[_0x39a721(0x12f)](D,Object[_0x39a721(0xfb)]({},_0x1e614c,{'id':_0x39a721(0x102),'ref':_0x370ed1,'icon':me}));});$[_0x25e8dd(0x121)]='HistoryIcon';var ye=Object[_0x25e8dd(0x193)],pe=(_0x38da8f,_0x579a3b,_0x2128a9,_0x1d37e5)=>{for(var _0x498127=_0x1d37e5>0x1?void 0x0:_0x1d37e5?ye(_0x579a3b,_0x2128a9):_0x579a3b,_0x1e15f8=_0x38da8f['length']-0x1,_0x740993;_0x1e15f8>=0x0;_0x1e15f8--)(_0x740993=_0x38da8f[_0x1e15f8])&&(_0x498127=_0x740993(_0x498127)||_0x498127);return _0x498127;},g=(_0x46f638,_0x3321fc)=>(_0x2540c7,_0x577749)=>_0x3321fc(_0x2540c7,_0x577749,_0x46f638);const fe=_0x25e8dd(0xff),H='UNIVER_CONTAINER_ID',y=_0x25e8dd(0x1bf);exports[_0x25e8dd(0x125)]=class extends o[_0x25e8dd(0x1aa)]{constructor(_0x7f420d,_0x303425,_0x22ca82,_0x33e99f,_0x1cf223,_0x3dfd7b,_0x42e4d3,_0x15f08e,_0x27908d,_0x11f362){const _0xbda5b0=_0x25e8dd;super(),_(this,'_historyUniver$',new O['BehaviorSubject'](null)),_(this,_0xbda5b0(0xf1),this[_0xbda5b0(0x149)][_0xbda5b0(0xec)]()),_(this,_0xbda5b0(0x137),new o[(_0xbda5b0(0x13b))]()),_(this,_0xbda5b0(0x1b7),new Map()),(this[_0xbda5b0(0x17c)]=_0x7f420d,this[_0xbda5b0(0x14c)]=_0x303425,this[_0xbda5b0(0x1a6)]=_0x22ca82,this[_0xbda5b0(0x1a2)]=_0x33e99f,this[_0xbda5b0(0x14e)]=_0x1cf223,this[_0xbda5b0(0x106)]=_0x3dfd7b,this[_0xbda5b0(0x166)]=_0x42e4d3,this[_0xbda5b0(0x147)]=_0x15f08e,this[_0xbda5b0(0x17b)]=_0x27908d,this[_0xbda5b0(0x19e)]=_0x11f362,this[_0xbda5b0(0x1da)]());}get['historyUniver'](){const _0x2a08e5=_0x25e8dd;return this[_0x2a08e5(0x149)][_0x2a08e5(0x15c)];}[_0x25e8dd(0x1da)](){const _0x500a18=_0x25e8dd;this[_0x500a18(0x118)](),this[_0x500a18(0x18e)]();}[_0x25e8dd(0x118)](){const _0x4e7208=_0x25e8dd;var _0x1bdd01;const _0x5affa9=(_0x1bdd01=this[_0x4e7208(0x1a6)]['getConfig'](H))!=null?_0x1bdd01:fe,_0x4f39d5=document[_0x4e7208(0x127)](_0x5affa9);if(!_0x4f39d5)return;const _0x2131bf=document[_0x4e7208(0x12f)]('div');_0x2131bf['id']=y,_0x2131bf[_0x4e7208(0x1ba)][_0x4e7208(0x136)]=_0x4e7208(0x170),_0x2131bf[_0x4e7208(0x194)][_0x4e7208(0x190)]=_0x4e7208(0x199),_0x2131bf['style']['top']='0',_0x2131bf['style']['left']='0',_0x2131bf[_0x4e7208(0x194)]['width']=_0x4e7208(0x144),_0x2131bf[_0x4e7208(0x194)][_0x4e7208(0x1d8)]=_0x4e7208(0x144),_0x2131bf['style'][_0x4e7208(0x150)]=_0x4e7208(0x126),_0x2131bf['style']['display']='none',_0x4f39d5[_0x4e7208(0x1d2)](_0x2131bf);}[_0x25e8dd(0x18e)](){const _0x20356a=_0x25e8dd;var _0x3b56b2,_0x3394a5,_0x1152ac,_0x345213;[[X[_0x20356a(0x192)]],[h[_0x20356a(0x17d)],{'container':y,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[h[_0x20356a(0x1dd)],null]]}],[ee[_0x20356a(0x19d)]],[N['UniverDrawingPlugin'],{'override':[[N[_0x20356a(0xf7)],null]]}],[z['UniverDocsPlugin'],{'hasScroll':!0x1}],[Z[_0x20356a(0x13e)]],[ve[_0x20356a(0x1d4)]],[d[_0x20356a(0x152)],{'notExecuteFormula':!0x0}],[k[_0x20356a(0x15f)]],[le[_0x20356a(0x130)]],[ue[_0x20356a(0x1cc)]],[C[_0x20356a(0x18d)]],[ae['UniverSheetsFilterPlugin']],[ce[_0x20356a(0x1d5)]],[ie[_0x20356a(0xf6)]],[te[_0x20356a(0x153)]],[he[_0x20356a(0x1ab)]],[ge[_0x20356a(0x1c0)]],[B[_0x20356a(0x176)]],[re['UniverSheetsDataValidationPlugin']],[ne[_0x20356a(0xfd)]],[Q[_0x20356a(0x103)],{'notExecuteFormula':!0x0}],[R[_0x20356a(0x1db)],{'workerURL':(_0x3394a5=(_0x3b56b2=this[_0x20356a(0x1a6)][_0x20356a(0x186)](R[_0x20356a(0x178)]))==null?void 0x0:_0x3b56b2[_0x20356a(0x113)])!=null?_0x3394a5:'./worker.js'}],[J[_0x20356a(0x1b1)]],[se[_0x20356a(0x18f)]],[oe['UniverSheetsDrawingUIPlugin']],[K[_0x20356a(0x1b4)]],[W['UniverSheetSparklineUIPlugin']],[V[_0x20356a(0x171)]],[G[_0x20356a(0x109)]],[Y[_0x20356a(0x1e0)],{'notExecuteFormula':!0x0}],[m[_0x20356a(0x1a9)],{'historyListServerUrl':(_0x1152ac=this[_0x20356a(0x1a6)]['getConfig'](b))==null?void 0x0:_0x1152ac['historyListServerUrl'],'historyPanelComponentKey':(_0x345213=this[_0x20356a(0x1a6)][_0x20356a(0x186)](b))==null?void 0x0:_0x345213[_0x20356a(0x1c8)]}]]['forEach'](([_0x1ccfae,_0x287f4c])=>this[_0x20356a(0x180)](_0x1ccfae,_0x287f4c));}[_0x25e8dd(0x1a0)](){const _0x3228be=_0x25e8dd;super[_0x3228be(0x1a0)](),this['unMountHistoryContent'](),this[_0x3228be(0x1b7)][_0x3228be(0xf0)]();}[_0x25e8dd(0x180)](_0x5813a9,_0x460ad4,_0x9e3fe1){const _0x309e9d=_0x25e8dd;if(this[_0x309e9d(0x1b7)][_0x309e9d(0x16f)](_0x5813a9[_0x309e9d(0x1de)])&&!_0x9e3fe1)throw new Error('[HistoryLoaderService]:\x20Plugin\x20'+_0x5813a9[_0x309e9d(0x1de)]+_0x309e9d(0x129));this[_0x309e9d(0x1b7)][_0x309e9d(0x146)](_0x5813a9[_0x309e9d(0x1de)],[_0x5813a9,_0x460ad4]);}[_0x25e8dd(0x16c)](){const _0x4f6702=_0x25e8dd;return Array[_0x4f6702(0x16d)](this['_pluginMap'][_0x4f6702(0x12d)]());}[_0x25e8dd(0x1bc)](_0x51ef7d){const _0x26a5ed=_0x25e8dd,_0x508646=document[_0x26a5ed(0x127)](y);_0x508646&&(_0x508646[_0x26a5ed(0x194)][_0x26a5ed(0x134)]='block',this[_0x26a5ed(0x1ad)](_0x51ef7d,y));}[_0x25e8dd(0x1c2)](){const _0xb000c9=_0x25e8dd;var _0x42dba9;this[_0xb000c9(0x137)][_0xb000c9(0x1a0)](),(_0x42dba9=this[_0xb000c9(0x10e)])==null||_0x42dba9[_0xb000c9(0x1a0)](),this[_0xb000c9(0x149)][_0xb000c9(0x111)](null);const _0x554e7b=document[_0xb000c9(0x127)](y);_0x554e7b&&(_0x554e7b[_0xb000c9(0x194)][_0xb000c9(0x134)]=_0xb000c9(0x161));}[_0x25e8dd(0x1ad)](_0x51f5c1,_0x3e9059){const _0x198991=_0x25e8dd;if(this['historyUniver'])return;const _0x1d3279=new o[(_0x198991(0x13a))]({'locales':{[this['_localeService'][_0x198991(0x1c9)]()]:this[_0x198991(0x17c)][_0x198991(0x1b8)]()},'override':[[o['IAuthzIoService'],{'useClass':p[_0x198991(0x1be)]}]]}),_0x541bf0=_0x1d3279[_0x198991(0x140)]();this[_0x198991(0x177)](this['_themeService'][_0x198991(0x16b)][_0x198991(0x1d7)](_0x47e755=>{const _0x111512=_0x198991;_0x541bf0['get'](o[_0x111512(0x167)])[_0x111512(0x1df)](_0x47e755);})),this[_0x198991(0x177)](this[_0x198991(0x19e)][_0x198991(0x114)][_0x198991(0x1d7)](_0x423dad=>{const _0x192cb1=_0x198991;_0x541bf0[_0x192cb1(0x1b5)](o[_0x192cb1(0x167)])[_0x192cb1(0x189)](_0x423dad);})),_0x541bf0['get'](o[_0x198991(0x16a)])['setLocale'](this[_0x198991(0x17c)][_0x198991(0x1c9)]()),_0x541bf0['get'](o[_0x198991(0x104)])[_0x198991(0x1a8)](p[_0x198991(0x115)],this[_0x198991(0x1a6)][_0x198991(0x186)](p['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']));const _0x4146ab=this[_0x198991(0x1a6)][_0x198991(0x186)](L[_0x198991(0x148)]);_0x4146ab&&_0x1d3279[_0x198991(0x180)](L[_0x198991(0x1b9)],{'license':_0x4146ab['ls']}),this[_0x198991(0x1b7)][_0x198991(0x15d)](([_0x50f404,_0x430aab])=>{_0x1d3279['registerPlugin'](_0x50f404,_0x430aab);}),_0x541bf0['invoke'](_0x398f65=>{const _0x206a6f=_0x198991;this[_0x206a6f(0x12c)](_0x398f65,_0x51f5c1);}),this[_0x198991(0x149)]['next'](_0x1d3279);const _0x474241=_0x541bf0[_0x198991(0x1b5)](m[_0x198991(0xf4)]),_0x22efcd=this[_0x198991(0x17e)](_0x51f5c1);_0x474241['triggerLoadVersions'](_0x51f5c1,_0x3e9059,_0x22efcd);}[_0x25e8dd(0x12c)](_0x26341b,_0x42b7b2){const _0x406b4b=_0x25e8dd,_0x4887ed=_0x26341b[_0x406b4b(0x1b5)](m['HistoryManagerService']);this[_0x406b4b(0x137)][_0x406b4b(0x1c7)](_0x4887ed['status$'][_0x406b4b(0x1d7)](_0x35ca4d=>{const _0x1358ad=_0x406b4b;switch(_0x35ca4d){case m[_0x1358ad(0x19a)][_0x1358ad(0x185)]:this[_0x1358ad(0x147)]['closeAll'](),this[_0x1358ad(0x17b)][_0x1358ad(0x18c)]();break;case m[_0x1358ad(0x19a)][_0x1358ad(0x10f)]:this[_0x1358ad(0x1a2)]['executeCommand'](j['id']),this[_0x1358ad(0x1c2)]();break;case m['HistoryModeStatus'][_0x1358ad(0x10c)]:this[_0x1358ad(0x1c2)](),this[_0x1358ad(0x14e)]['show']({'content':this[_0x1358ad(0x17c)]['t'](_0x1358ad(0x163)),'type':P[_0x1358ad(0x187)]['Error'],'duration':0xbb8});break;}})),this[_0x406b4b(0x137)][_0x406b4b(0x1c7)](_0x4887ed[_0x406b4b(0x1a3)][_0x406b4b(0x1d7)](async _0x4df73f=>{const _0x5bf6a5=_0x406b4b;_0x4df73f&&this[_0x5bf6a5(0x1a2)][_0x5bf6a5(0x1a4)](C[_0x5bf6a5(0x119)]['id'],{'unitId':_0x42b7b2,'revision':_0x4df73f});}));}[_0x25e8dd(0x17e)](_0x24d5aa){const _0x49e713=_0x25e8dd,_0x47ef0c=this['_univerInstanceService']['getUnit'](_0x24d5aa)[_0x49e713(0xfe)]()[_0x49e713(0x1af)](_0x28146a=>_0x28146a[_0x49e713(0x124)]()),_0x3a202d=new d[(_0x49e713(0x179))](_0x24d5aa)['id'],_0x10a935=_0x47ef0c[_0x49e713(0x1af)](_0x1ff10a=>new d[(_0x49e713(0x139))](_0x24d5aa,_0x1ff10a)['id']),_0x420eb6=_0x47ef0c[_0x49e713(0x1af)](_0xf3520e=>this[_0x49e713(0x166)][_0x49e713(0xf9)](_0x24d5aa,_0xf3520e)['map'](_0x129e52=>new d[(_0x49e713(0x154))](_0x24d5aa,_0xf3520e,_0x129e52[_0x49e713(0x112)])['id']))[_0x49e713(0xf2)](),_0x261989=new d['WorkbookRecoverHistoryPermission'](_0x24d5aa)['id'];return this['_permissionService'][_0x49e713(0x10a)]([_0x3a202d,..._0x10a935,..._0x420eb6,_0x261989])['every'](_0x1c1946=>!!_0x1c1946['value']);}},exports[_0x25e8dd(0x125)]=pe([g(0x0,o[_0x25e8dd(0xf3)](o[_0x25e8dd(0x16a)])),g(0x1,o['IUniverInstanceService']),g(0x2,o['IConfigService']),g(0x3,o[_0x25e8dd(0x183)]),g(0x4,h[_0x25e8dd(0x117)]),g(0x5,o[_0x25e8dd(0x1e1)]),g(0x6,o[_0x25e8dd(0xf3)](d['RangeProtectionRuleModel'])),g(0x7,o[_0x25e8dd(0xf3)](h[_0x25e8dd(0x1dd)])),g(0x8,o[_0x25e8dd(0xf3)](h['ISidebarService'])),g(0x9,o[_0x25e8dd(0xf3)](o[_0x25e8dd(0x167)]))],exports[_0x25e8dd(0x125)]);const M={'id':_0x25e8dd(0x1ca),'type':o[_0x25e8dd(0x1c6)][_0x25e8dd(0xef)],'handler':_0x120932=>{const _0xdde6e5=_0x25e8dd,_0xe80a0c=_0x120932[_0xdde6e5(0x1b5)](exports[_0xdde6e5(0x125)]),_0x46c598=_0x120932[_0xdde6e5(0x1b5)](o[_0xdde6e5(0x11d)]),{unitId:_0x35576d}=d[_0xdde6e5(0x159)](_0x46c598)||{};return _0x35576d?(_0xe80a0c[_0xdde6e5(0x1bc)](_0x35576d),!0x0):!0x1;}},j={'id':_0x25e8dd(0x11e),'type':o[_0x25e8dd(0x1c6)][_0x25e8dd(0xef)],'handler':()=>!0x0};function Ce(_0xd29ce){const _0x3ed9d4=_0x25e8dd;return{'id':M['id'],'type':h[_0x3ed9d4(0x168)]['BUTTON'],'icon':_0x3ed9d4(0x155),'tooltip':'editHistory.panel.title','hidden$':h[_0x3ed9d4(0x11c)](_0xd29ce,o[_0x3ed9d4(0x19b)]['UNIVER_SHEET']),'disabled$':k[_0x3ed9d4(0x1a7)](_0xd29ce,{'workbookTypes':[d[_0x3ed9d4(0x179)],d[_0x3ed9d4(0x1c1)]],'worksheetTypes':[],'rangeTypes':[]})};}const Ie={[h[_0x25e8dd(0x13d)][_0x25e8dd(0x1c3)]]:{[M['id']]:{'order':0.2,'menuItemFactory':Ce}}};function _0x5227(){const _0x4c44d0=['3535905gNPfZG','_commandService','revertRevision$','executeCommand','tag','_configService','getCurrentRangeDisable$','setConfig','UniverEditHistoryViewerPlugin','Disposable','UniverSheetsHyperLinkPlugin','show','_initUniver','_injector','map','registerCommand','UniverDrawingUIPlugin','data','white','UniverSheetSparklinePlugin','get','path','_pluginMap','getLocales','UniverLicensePlugin','dataset','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','mountHistoryContent','_localCacheService','AuthzIoHttpService','univer-history-container','UniverSheetsHyperLinkUIPlugin','WorkbookViewHistoryPermission','unMountHistoryContent','OTHERS','idSuffix','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','CommandType','add','historyPanelComponentKey','getCurrentLocale','univer.operation.toggle-edit-history','toDisposable','UniverSheetsFormulaUIPlugin','use','params','defs','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','register','appendChild','useRef','UniverSheetsNumfmtPlugin','UniverSheetsFilterUIPlugin','replace','subscribe','height','UniverEditHistoryLoaderPlugin','_init','UniverRPCMainThreadPlugin','length','IDialogService','pluginName','setDarkMode','UniverSheetsPivotTablePlugin','IPermissionService','url(#$1','editHistory.panel.reverting','menu','univerContainerId','asObservable','current','attrs','OPERATION','clear','historyUniver$','flat','Inject','HistoryManagerService','Module','UniverSheetsConditionalFormattingPlugin','IImageIoService','http://www.w3.org/2000/svg','getSubunitRuleList','reload','assign','toStringTag','UniverSheetsDataValidationUIPlugin','getSheets','univer-container','onSteady','mask','history-icon','UniverFormulaEnginePlugin','IConfigService','_menuManagerService','_permissionService','onCommandExecuted','trim','UniverSheetsChartUIPlugin','composePermission','UniverIcon','Error','fill','historyUniver','Exited','substring','next','permissionId','workerURL','currentTheme$','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','1057455rmkDJL','IMessageService','_initContainer','RevertRevisionMutation','IMenuManagerService','string','getMenuHiddenObservable','IUniverInstanceService','univer.operation.exit-edit-history','univerjs-icon\x20univerjs-icon-','colorChannel1','displayName','40396oxOrxJ','_revertErrorTimer','getSheetId','HistoryLoaderService','1000','getElementById','mutations','\x20has\x20been\x20registered.','merge','20153493sysxmm','_initListener','values','session','createElement','UniverSheetsFormulaPlugin','entries','249656TBBVne','children','display','CHANGESET_ACK','uComp','_disposableCollection','state$','WorksheetEditPermission','Univer','DisposableCollection','mergeMenu','RibbonStartGroup','UniverDocsUIPlugin','xlink:href','__getInjector','77AHwqHF','event$','_historyManagerService','100%','0\x200\x2016\x2016','set','_dialogService','LS_CONFIG_KEY','_historyUniver$','ILocalCacheService','defIds','_univerInstanceService','random','_messageService','1em','zIndex','url(#history-icon_clip0_907_281)','UniverSheetsPlugin','UniverSheetsConditionalFormattingUIPlugin','RangeProtectionPermissionEditPoint','HistoryIcon','history-icon_clip0_907_281','editHistory.panel.revertFailed','CollaborationEvent','getSheetCommandTarget','eventID','clipPath','value','forEach','UNIVER_CONTAINER_ID_KEY','UniverSheetsUIPlugin','Loading','none','onStarting','editHistory.panel.listFetchError','UNIVER_HISTORY_CONTAINER_ID','includes','_selectionProtectionRuleModel','ThemeService','MenuItemType','_componentManager','LocaleService','darkMode$','getAllPlugins','from','forwardRef','has','history-container','UniverSheetsChartPlugin','getCollabEntity','70996GPzcjC','M0\x200H16V16H0z','RxDisposable','UniverDataValidationPlugin','disposeWithMe','PLUGIN_CONFIG_KEY_MAIN_THREAD','WorkbookEditablePermission','_config','_sidebarService','_localeService','UniverUIPlugin','_checkCanRevert','CollaborationController','registerPlugin','SYNCED','46lERTbw','ICommandService','exhaustSavingTask','Entered','getConfig','MessageType','CollaborationStatus','setTheme','Plugin','_collaborationController','close','UniverCollaborationPlugin','_initPlugins','UniverSheetsDrawingPlugin','position','Injector','UniverRenderEnginePlugin','getOwnPropertyDescriptor','style','ComponentManager','some','location','unsubscribe','absolute','HistoryModeStatus','UniverInstanceType','defineProperty','UniverNetworkPlugin','_themeService','4133766pUQKIj','dispose'];_0x5227=function(){return _0x4c44d0;};return _0x5227();}var Ue=Object['getOwnPropertyDescriptor'],Ee=(_0x5388e,_0x3aa628,_0x118e0e,_0x488c2d)=>{const _0x144d77=_0x25e8dd;for(var _0x31c332=_0x488c2d>0x1?void 0x0:_0x488c2d?Ue(_0x3aa628,_0x118e0e):_0x3aa628,_0x35aac9=_0x5388e[_0x144d77(0x1dc)]-0x1,_0x232f7b;_0x35aac9>=0x0;_0x35aac9--)(_0x232f7b=_0x5388e[_0x35aac9])&&(_0x31c332=_0x232f7b(_0x31c332)||_0x31c332);return _0x31c332;},S=(_0x51305d,_0x5f4c6a)=>(_0x31029a,_0x4faa32)=>_0x5f4c6a(_0x31029a,_0x4faa32,_0x51305d);let E=class extends o[_0x25e8dd(0x175)]{constructor(_0x26da1e,_0x15af34,_0x2ec019,_0x2d635a,_0x120e62,_0x187684,_0x1bb60a,_0x498c5f){const _0x2de9ec=_0x25e8dd;super(),_(this,_0x2de9ec(0x123),null),(this[_0x2de9ec(0x1a2)]=_0x26da1e,this['_menuManagerService']=_0x15af34,this[_0x2de9ec(0x169)]=_0x2ec019,this[_0x2de9ec(0x143)]=_0x2d635a,this[_0x2de9ec(0x17c)]=_0x120e62,this[_0x2de9ec(0x14e)]=_0x187684,this['_collaborationController']=_0x1bb60a,this[_0x2de9ec(0x1bd)]=_0x498c5f,this[_0x2de9ec(0x1da)]());}[_0x25e8dd(0x1da)](){const _0x29754d=_0x25e8dd;[M,j][_0x29754d(0x15d)](_0x51786f=>this[_0x29754d(0x177)](o[_0x29754d(0x1cb)](this['_commandService'][_0x29754d(0x1b0)](_0x51786f)))),this[_0x29754d(0x177)](this[_0x29754d(0x169)][_0x29754d(0x1d1)]('HistoryIcon',$)),this[_0x29754d(0x105)][_0x29754d(0x13c)](Ie),this[_0x29754d(0x177)](this['_commandService'][_0x29754d(0x107)](_0x227680=>{const _0x52ae57=_0x29754d;if(_0x227680['id']===C[_0x52ae57(0x119)]['id']){this[_0x52ae57(0x14e)][_0x52ae57(0x1ac)]({'content':this[_0x52ae57(0x17c)]['t'](_0x52ae57(0x1e3)),'type':P['MessageType'][_0x52ae57(0x160)],'duration':0x1388});const {unitId:_0x49b44a}=_0x227680[_0x52ae57(0x1ce)],_0x241353=this[_0x52ae57(0x18b)][_0x52ae57(0x172)](_0x49b44a),_0x14954d=O['combineLatest']([_0x241353[_0x52ae57(0x12e)][_0x52ae57(0x142)],_0x241353[_0x52ae57(0x138)]])['subscribe'](async([_0x130b53,_0x38fd41])=>{const _0x514f4d=_0x52ae57;var _0x10028a;_0x130b53[_0x514f4d(0x15a)]===C[_0x514f4d(0x158)][_0x514f4d(0x135)]&&(_0x38fd41==null?void 0x0:_0x38fd41['status'])===p[_0x514f4d(0x188)][_0x514f4d(0x181)]&&_0x130b53[_0x514f4d(0x1b2)][_0x514f4d(0x128)][_0x514f4d(0x196)](_0x546160=>_0x546160['id']===C['RevertRevisionMutation']['id'])&&(this['_historyManagerService'][_0x514f4d(0x1c2)](),_0x14954d[_0x514f4d(0x198)](),this['_revertErrorTimer']&&clearTimeout(this[_0x514f4d(0x123)]),await((_0x10028a=this[_0x514f4d(0x1bd)])==null?void 0x0:_0x10028a[_0x514f4d(0x184)]()),setTimeout(()=>window[_0x514f4d(0x197)][_0x514f4d(0xfa)]()));});this[_0x52ae57(0x123)]=setTimeout(()=>{const _0x5aed27=_0x52ae57;_0x14954d[_0x5aed27(0x198)](),this[_0x5aed27(0x14e)]['show']({'content':this['_localeService']['t'](_0x5aed27(0x157)),'type':P[_0x5aed27(0x187)][_0x5aed27(0x10c)],'duration':0xbb8});},0x1388);}}));}};E=Ee([S(0x0,o[_0x25e8dd(0x183)]),S(0x1,h[_0x25e8dd(0x11a)]),S(0x2,o[_0x25e8dd(0xf3)](h[_0x25e8dd(0x195)])),S(0x3,o[_0x25e8dd(0xf3)](exports[_0x25e8dd(0x125)])),S(0x4,o[_0x25e8dd(0xf3)](o[_0x25e8dd(0x16a)])),S(0x5,h['IMessageService']),S(0x6,o['Inject'](p[_0x25e8dd(0x17f)])),S(0x7,p[_0x25e8dd(0x14a)])],E);var Pe=Object['getOwnPropertyDescriptor'],be=(_0x302d1a,_0x387e13,_0x4fecf2,_0x5e84e0)=>{for(var _0x2b1e7=_0x5e84e0>0x1?void 0x0:_0x5e84e0?Pe(_0x387e13,_0x4fecf2):_0x387e13,_0x2b2861=_0x302d1a['length']-0x1,_0x1154cd;_0x2b2861>=0x0;_0x2b2861--)(_0x1154cd=_0x302d1a[_0x2b2861])&&(_0x2b1e7=_0x1154cd(_0x2b1e7)||_0x2b1e7);return _0x2b1e7;},w=(_0x326953,_0x382bbc)=>(_0x2f767a,_0x5dc476)=>_0x382bbc(_0x2f767a,_0x5dc476,_0x326953);function _0xd997(_0x44aca,_0x175edb){_0x44aca=_0x44aca-0xec;const _0x522728=_0x5227();let _0xd997c4=_0x522728[_0x44aca];return _0xd997c4;}const He=_0x25e8dd(0x1c5);var I;exports[_0x25e8dd(0x1d9)]=(I=class extends o[_0x25e8dd(0x18a)]{constructor(_0x40f8b1=T,_0x14d8bd,_0x15b78d){const _0x586727=_0x25e8dd;super(),this[_0x586727(0x17a)]=_0x40f8b1,this[_0x586727(0x1ae)]=_0x14d8bd,this[_0x586727(0x1a6)]=_0x15b78d;const {menu:_0x379bd5,..._0x42d359}=o[_0x586727(0x12a)]({},T,this[_0x586727(0x17a)]);_0x379bd5&&this[_0x586727(0x1a6)]['setConfig'](_0x586727(0x1e4),_0x379bd5,{'merge':!0x0}),this[_0x586727(0x1a6)][_0x586727(0x1a8)](b,_0x42d359),this['_config']['univerContainerId']&&this[_0x586727(0x1a6)]['setConfig'](H,this[_0x586727(0x17a)][_0x586727(0x1e5)]);}[_0x25e8dd(0x162)](){const _0x2844d3=_0x25e8dd;[[exports[_0x2844d3(0x125)]],[E]][_0x2844d3(0x15d)](_0x266f98=>this['_injector']['add'](_0x266f98));}[_0x25e8dd(0x100)](){const _0x69a525=_0x25e8dd;this['_injector'][_0x69a525(0x1b5)](E);}},_(I,'type',o['UniverInstanceType']['UNIVER_UNKNOWN']),_(I,_0x25e8dd(0x1de),He),I),exports[_0x25e8dd(0x1d9)]=be([w(0x1,o[_0x25e8dd(0xf3)](o[_0x25e8dd(0x191)])),w(0x2,o[_0x25e8dd(0x104)])],exports[_0x25e8dd(0x1d9)]),exports[_0x25e8dd(0x15e)]=H,exports[_0x25e8dd(0x164)]=y;
1
+ 'use strict';const _0xf68217=_0x43ba;(function(_0x279c7b,_0x3a6f13){const _0x58e2fb=_0x43ba,_0x16a964=_0x279c7b();while(!![]){try{const _0x2a1702=-parseInt(_0x58e2fb(0xa0))/0x1*(parseInt(_0x58e2fb(0x16f))/0x2)+-parseInt(_0x58e2fb(0x150))/0x3*(-parseInt(_0x58e2fb(0x11b))/0x4)+parseInt(_0x58e2fb(0x11a))/0x5+parseInt(_0x58e2fb(0x11e))/0x6+-parseInt(_0x58e2fb(0xac))/0x7*(parseInt(_0x58e2fb(0x9e))/0x8)+parseInt(_0x58e2fb(0xf8))/0x9*(parseInt(_0x58e2fb(0x157))/0xa)+parseInt(_0x58e2fb(0x15e))/0xb*(-parseInt(_0x58e2fb(0x9f))/0xc);if(_0x2a1702===_0x3a6f13)break;else _0x16a964['push'](_0x16a964['shift']());}catch(_0x3e7498){_0x16a964['push'](_0x16a964['shift']());}}}(_0x6396,0x904b5));var A=Object[_0xf68217(0x87)],F=(_0x3d7eab,_0xb95e3d,_0x7cbcab)=>_0xb95e3d in _0x3d7eab?A(_0x3d7eab,_0xb95e3d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x7cbcab}):_0x3d7eab[_0xb95e3d]=_0x7cbcab,_=(_0x17b357,_0x2cb66d,_0x10f29a)=>F(_0x17b357,typeof _0x2cb66d!=_0xf68217(0x12b)?_0x2cb66d+'':_0x2cb66d,_0x10f29a);Object['defineProperty'](exports,Symbol[_0xf68217(0xaa)],{'value':'Module'});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='edit-history-loader.config',T={};function D({ref:_0x37f0d9,..._0x391ba8}){const _0x4bf634=_0xf68217,{icon:_0x313a00,id:_0x2a3959,className:_0x22fbcd,extend:_0x2b5ec4,..._0x159117}=_0x391ba8,_0x3e5607=(_0x4bf634(0x16e)+_0x2a3959+'\x20'+(_0x22fbcd||''))[_0x4bf634(0x85)](),_0x57d169=U[_0x4bf634(0xba)]('_'+Se());return q(_0x313a00,''+_0x2a3959,{'defIds':_0x313a00[_0x4bf634(0x170)],'idSuffix':_0x57d169[_0x4bf634(0x16a)]},{'ref':_0x37f0d9,'className':_0x3e5607,..._0x159117},_0x2b5ec4);}function q(_0x28833d,_0x21f4b7,_0x43ea4d,_0x5bea43,_0x3e7ac5){const _0x2146a4=_0xf68217;return U[_0x2146a4(0x15c)](_0x28833d['tag'],{'key':_0x21f4b7,...de(_0x28833d,_0x43ea4d,_0x3e7ac5),..._0x5bea43},(_e(_0x28833d,_0x43ea4d)[_0x2146a4(0x12a)]||[])[_0x2146a4(0xca)]((_0x1927e2,_0x579c98)=>q(_0x1927e2,_0x21f4b7+'-'+_0x28833d['tag']+'-'+_0x579c98,_0x43ea4d,void 0x0,_0x3e7ac5)));}function de(_0x49aaae,_0x551b7b,_0x3fa5e9){const _0x22aeb2=_0xf68217,_0x163be9={..._0x49aaae['attrs']};_0x3fa5e9!=null&&_0x3fa5e9[_0x22aeb2(0xd5)]&&_0x163be9[_0x22aeb2(0xda)]===_0x22aeb2(0xd5)&&(_0x163be9[_0x22aeb2(0xda)]=_0x3fa5e9[_0x22aeb2(0xd5)]),_0x49aaae['tag']===_0x22aeb2(0x168)&&_0x163be9['id']&&(_0x163be9['id']=_0x163be9['id']+_0x551b7b['idSuffix']),Object[_0x22aeb2(0x164)](_0x163be9)[_0x22aeb2(0xcb)](([_0x283a06,_0x7d78ca])=>{const _0x5c52d3=_0x22aeb2;_0x283a06===_0x5c52d3(0x168)&&typeof _0x7d78ca==_0x5c52d3(0xdb)&&(_0x163be9[_0x283a06]=_0x7d78ca['replace'](/url\(#(.*)\)/,'url(#$1'+_0x551b7b[_0x5c52d3(0xe5)]+')'));});const {defIds:_0x2486f1}=_0x551b7b;return!_0x2486f1||_0x2486f1[_0x22aeb2(0xb4)]===0x0||(_0x49aaae['tag']===_0x22aeb2(0x162)&&_0x163be9[_0x22aeb2(0x134)]&&(_0x163be9['xlink:href']=_0x163be9['xlink:href']+_0x551b7b[_0x22aeb2(0xe5)]),Object[_0x22aeb2(0x164)](_0x163be9)['forEach'](([_0x2879f0,_0x5bbc32])=>{const _0x20c2db=_0x22aeb2;typeof _0x5bbc32==_0x20c2db(0xdb)&&(_0x163be9[_0x2879f0]=_0x5bbc32[_0x20c2db(0xcd)](/url\(#(.*)\)/,_0x20c2db(0x14a)+_0x551b7b['idSuffix']+')'));})),_0x163be9;}function _e(_0x333fbd,_0x2968fc){const _0x430d32=_0xf68217;var _0x25816b;const {defIds:_0x4bc434}=_0x2968fc;return!_0x4bc434||_0x4bc434['length']===0x0?_0x333fbd:_0x333fbd[_0x430d32(0x107)]===_0x430d32(0x141)&&((_0x25816b=_0x333fbd['children'])!=null&&_0x25816b[_0x430d32(0xb4)])?{..._0x333fbd,'children':_0x333fbd[_0x430d32(0x12a)][_0x430d32(0xca)](_0x5454bc=>typeof _0x5454bc[_0x430d32(0x89)]['id']=='string'&&_0x4bc434&&_0x4bc434['includes'](_0x5454bc[_0x430d32(0x89)]['id'])?{..._0x5454bc,'attrs':{..._0x5454bc[_0x430d32(0x89)],'id':_0x5454bc[_0x430d32(0x89)]['id']+_0x2968fc[_0x430d32(0xe5)]}}:_0x5454bc)}:_0x333fbd;}function Se(){const _0x2a9eb7=_0xf68217;return Math[_0x2a9eb7(0xce)]()[_0x2a9eb7(0x9c)](0x24)[_0x2a9eb7(0x14e)](0x2,0x8);}D[_0xf68217(0x129)]=_0xf68217(0xe4);const me={'tag':_0xf68217(0x115),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0xf68217(0x117),'width':_0xf68217(0x15b),'height':'1em'},'children':[{'tag':'g','attrs':{'fill':_0xf68217(0xa5),'clipPath':_0xf68217(0xee)},'children':[{'tag':_0xf68217(0xf5),'attrs':{'d':'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'}},{'tag':_0xf68217(0xf5),'attrs':{'d':_0xf68217(0xa3)}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0xf68217(0x156)},'children':[{'tag':_0xf68217(0xf5),'attrs':{'fill':_0xf68217(0xaf),'d':_0xf68217(0xc3)}}]}]}],'defIds':[_0xf68217(0x156)]},$=U[_0xf68217(0x11d)](function(_0x4e1a46,_0x26ed3d){const _0x248f13=_0xf68217;return U['createElement'](D,Object[_0x248f13(0xa2)]({},_0x4e1a46,{'id':_0x248f13(0x9a),'ref':_0x26ed3d,'icon':me}));});$['displayName']=_0xf68217(0x100);var ye=Object[_0xf68217(0xf2)],pe=(_0x179d4e,_0x1e3fb5,_0xadfd55,_0x2eeb79)=>{const _0x355e8e=_0xf68217;for(var _0x55fecd=_0x2eeb79>0x1?void 0x0:_0x2eeb79?ye(_0x1e3fb5,_0xadfd55):_0x1e3fb5,_0x4f12cc=_0x179d4e[_0x355e8e(0xb4)]-0x1,_0x225b97;_0x4f12cc>=0x0;_0x4f12cc--)(_0x225b97=_0x179d4e[_0x4f12cc])&&(_0x55fecd=_0x225b97(_0x55fecd)||_0x55fecd);return _0x55fecd;},g=(_0x3931b4,_0x5f1da8)=>(_0x3114b2,_0x38f1fc)=>_0x5f1da8(_0x3114b2,_0x38f1fc,_0x3931b4);const fe=_0xf68217(0xbd),H=_0xf68217(0xef),y=_0xf68217(0xae);exports[_0xf68217(0x97)]=class extends o['Disposable']{constructor(_0x275f18,_0x141502,_0x3eafde,_0x3a4579,_0x33c300,_0x3665da,_0x4e3e43,_0x2ba1e1,_0x56de3f,_0x2d8eb4){const _0x312e8b=_0xf68217;super(),_(this,_0x312e8b(0xdd),new O[(_0x312e8b(0xe9))](null)),_(this,_0x312e8b(0xd3),this[_0x312e8b(0xdd)][_0x312e8b(0x137)]()),_(this,_0x312e8b(0xd9),new o[(_0x312e8b(0xa7))]()),_(this,_0x312e8b(0x92),new Map()),(this[_0x312e8b(0x13c)]=_0x275f18,this[_0x312e8b(0x122)]=_0x141502,this[_0x312e8b(0x118)]=_0x3eafde,this[_0x312e8b(0x12d)]=_0x3a4579,this[_0x312e8b(0x14b)]=_0x33c300,this[_0x312e8b(0x98)]=_0x3665da,this[_0x312e8b(0x133)]=_0x4e3e43,this[_0x312e8b(0x136)]=_0x2ba1e1,this[_0x312e8b(0x155)]=_0x56de3f,this['_themeService']=_0x2d8eb4,this[_0x312e8b(0x116)]());}get[_0xf68217(0xa9)](){const _0x2fd978=_0xf68217;return this[_0x2fd978(0xdd)]['value'];}[_0xf68217(0x116)](){const _0x10483d=_0xf68217;this['_initContainer'](),this[_0x10483d(0xc2)]();}[_0xf68217(0x102)](){const _0x8438c5=_0xf68217;var _0x11dd46;const _0x41f617=(_0x11dd46=this[_0x8438c5(0x118)][_0x8438c5(0x131)](H))!=null?_0x11dd46:fe,_0xe0f7d2=document[_0x8438c5(0xc5)](_0x41f617);if(!_0xe0f7d2)return;const _0x1ee551=document[_0x8438c5(0x15c)]('div');_0x1ee551['id']=y,_0x1ee551['dataset']['uComp']=_0x8438c5(0x16d),_0x1ee551[_0x8438c5(0xb7)][_0x8438c5(0x106)]='absolute',_0x1ee551[_0x8438c5(0xb7)][_0x8438c5(0x13b)]='0',_0x1ee551[_0x8438c5(0xb7)]['left']='0',_0x1ee551[_0x8438c5(0xb7)][_0x8438c5(0x88)]=_0x8438c5(0x11c),_0x1ee551[_0x8438c5(0xb7)]['height']=_0x8438c5(0x11c),_0x1ee551[_0x8438c5(0xb7)]['zIndex']='1000',_0x1ee551['style'][_0x8438c5(0x10c)]='none',_0xe0f7d2[_0x8438c5(0x13d)](_0x1ee551);}['_initPlugins'](){const _0x4b4626=_0xf68217;var _0x1c875b,_0x50390e,_0x10e224,_0x1efefd;[[X[_0x4b4626(0x96)]],[h[_0x4b4626(0x93)],{'container':y,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[h[_0x4b4626(0xa8)],null]]}],[ee['UniverNetworkPlugin']],[N['UniverDrawingPlugin'],{'override':[[N[_0x4b4626(0x151)],null]]}],[z[_0x4b4626(0x11f)],{'hasScroll':!0x1}],[Z[_0x4b4626(0x15a)]],[ve[_0x4b4626(0x16c)]],[d[_0x4b4626(0xe8)],{'notExecuteFormula':!0x0}],[k[_0x4b4626(0x130)]],[le[_0x4b4626(0xb3)]],[ue['UniverSheetsFormulaUIPlugin']],[C[_0x4b4626(0xb2)]],[ae[_0x4b4626(0xd6)]],[ce[_0x4b4626(0x8d)]],[ie[_0x4b4626(0xff)]],[te['UniverSheetsConditionalFormattingUIPlugin']],[he['UniverSheetsHyperLinkPlugin']],[ge[_0x4b4626(0xb1)]],[B[_0x4b4626(0xc8)]],[re[_0x4b4626(0x123)]],[ne['UniverSheetsDataValidationUIPlugin']],[Q[_0x4b4626(0x10f)],{'notExecuteFormula':!0x0}],[R['UniverRPCMainThreadPlugin'],{'workerURL':(_0x50390e=(_0x1c875b=this[_0x4b4626(0x118)][_0x4b4626(0x131)](R[_0x4b4626(0x111)]))==null?void 0x0:_0x1c875b[_0x4b4626(0x8c)])!=null?_0x50390e:_0x4b4626(0x16b)}],[J[_0x4b4626(0x166)]],[se[_0x4b4626(0x148)]],[oe[_0x4b4626(0x8f)]],[K[_0x4b4626(0x128)]],[W[_0x4b4626(0xd2)]],[V[_0x4b4626(0xe3)]],[G[_0x4b4626(0x15d)]],[Y['UniverSheetsPivotTablePlugin'],{'notExecuteFormula':!0x0}],[m[_0x4b4626(0xbe)],{'historyListServerUrl':(_0x10e224=this['_configService'][_0x4b4626(0x131)](b))==null?void 0x0:_0x10e224['historyListServerUrl'],'historyPanelComponentKey':(_0x1efefd=this[_0x4b4626(0x118)][_0x4b4626(0x131)](b))==null?void 0x0:_0x1efefd['historyPanelComponentKey']}]][_0x4b4626(0xcb)](([_0x16f285,_0x2bead6])=>this['registerPlugin'](_0x16f285,_0x2bead6));}[_0xf68217(0xe6)](){const _0x162383=_0xf68217;super['dispose'](),this['unMountHistoryContent'](),this['_pluginMap'][_0x162383(0xf9)]();}['registerPlugin'](_0x154a83,_0x497fea,_0x51c6c4){const _0x4d2a3d=_0xf68217;if(this[_0x4d2a3d(0x92)][_0x4d2a3d(0xa1)](_0x154a83[_0x4d2a3d(0xcf)])&&!_0x51c6c4)throw new Error('[HistoryLoaderService]:\x20Plugin\x20'+_0x154a83[_0x4d2a3d(0xcf)]+_0x4d2a3d(0x159));this[_0x4d2a3d(0x92)][_0x4d2a3d(0x172)](_0x154a83[_0x4d2a3d(0xcf)],[_0x154a83,_0x497fea]);}[_0xf68217(0xc0)](){const _0x334b23=_0xf68217;return Array[_0x334b23(0x109)](this[_0x334b23(0x92)][_0x334b23(0xb9)]());}['mountHistoryContent'](_0x416c62){const _0x1172e5=_0xf68217,_0x20682c=document[_0x1172e5(0xc5)](y);_0x20682c&&(_0x20682c[_0x1172e5(0xb7)]['display']=_0x1172e5(0x83),this[_0x1172e5(0xd0)](_0x416c62,y));}[_0xf68217(0x140)](){const _0x1dcafb=_0xf68217;var _0x400bd2;this[_0x1dcafb(0xd9)][_0x1dcafb(0xe6)](),(_0x400bd2=this[_0x1dcafb(0xa9)])==null||_0x400bd2[_0x1dcafb(0xe6)](),this[_0x1dcafb(0xdd)][_0x1dcafb(0x14d)](null);const _0x2eaee0=document['getElementById'](y);_0x2eaee0&&(_0x2eaee0[_0x1dcafb(0xb7)]['display']=_0x1dcafb(0x82));}[_0xf68217(0xd0)](_0x34045d,_0x4cb5de){const _0x416a01=_0xf68217;if(this[_0x416a01(0xa9)])return;const _0x24e100=new o[(_0x416a01(0x142))]({'locales':{[this['_localeService'][_0x416a01(0x84)]()]:this[_0x416a01(0x13c)][_0x416a01(0x104)]()},'override':[[o['IAuthzIoService'],{'useClass':p['AuthzIoHttpService']}]]}),_0x2f2465=_0x24e100[_0x416a01(0xb0)]();this['disposeWithMe'](this[_0x416a01(0xc9)][_0x416a01(0x147)][_0x416a01(0xc1)](_0x5e8d0b=>{const _0x541972=_0x416a01;_0x2f2465[_0x541972(0x167)](o['ThemeService'])[_0x541972(0x119)](_0x5e8d0b);})),this[_0x416a01(0x124)](this[_0x416a01(0xc9)][_0x416a01(0x132)][_0x416a01(0xc1)](_0x64be64=>{const _0x2151fc=_0x416a01;_0x2f2465[_0x2151fc(0x167)](o[_0x2151fc(0x99)])[_0x2151fc(0xbc)](_0x64be64);})),_0x2f2465[_0x416a01(0x167)](o[_0x416a01(0xa4)])[_0x416a01(0x146)](this[_0x416a01(0x13c)][_0x416a01(0x84)]()),_0x2f2465[_0x416a01(0x167)](o[_0x416a01(0xf6)])[_0x416a01(0xbb)](p[_0x416a01(0x101)],this[_0x416a01(0x118)][_0x416a01(0x131)](p['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']));const _0x4dad18=this['_configService']['getConfig'](L['LS_CONFIG_KEY']);_0x4dad18&&_0x24e100[_0x416a01(0xa6)](L[_0x416a01(0x12f)],{'license':_0x4dad18['ls']}),this[_0x416a01(0x92)][_0x416a01(0xcb)](([_0x192e8c,_0x319f49])=>{_0x24e100['registerPlugin'](_0x192e8c,_0x319f49);}),_0x2f2465[_0x416a01(0xfd)](_0x3f6e6b=>{const _0x2e22d2=_0x416a01;this[_0x2e22d2(0x126)](_0x3f6e6b,_0x34045d);}),this[_0x416a01(0xdd)]['next'](_0x24e100);const _0x2fb824=_0x2f2465[_0x416a01(0x167)](m[_0x416a01(0x13f)]),_0x3e20c5=this['_checkCanRevert'](_0x34045d);_0x2fb824['triggerLoadVersions'](_0x34045d,_0x4cb5de,_0x3e20c5);}['_initListener'](_0x2d1fbc,_0x1a0c48){const _0x13a88a=_0xf68217,_0x5eccdb=_0x2d1fbc['get'](m[_0x13a88a(0x13f)]);this[_0x13a88a(0xd9)][_0x13a88a(0x12c)](_0x5eccdb[_0x13a88a(0xd1)][_0x13a88a(0xc1)](_0x1b94f5=>{const _0x369139=_0x13a88a;switch(_0x1b94f5){case m[_0x369139(0xfe)]['Entered']:this['_dialogService'][_0x369139(0xe7)](),this[_0x369139(0x155)][_0x369139(0x121)]();break;case m[_0x369139(0xfe)][_0x369139(0x165)]:this['_commandService'][_0x369139(0xfc)](j['id']),this['unMountHistoryContent']();break;case m[_0x369139(0xfe)][_0x369139(0x153)]:this[_0x369139(0x140)](),this[_0x369139(0x14b)][_0x369139(0x12e)]({'content':this['_localeService']['t'](_0x369139(0xed)),'type':P['MessageType'][_0x369139(0x153)],'duration':0xbb8});break;}})),this[_0x13a88a(0xd9)][_0x13a88a(0x12c)](_0x5eccdb['revertRevision$'][_0x13a88a(0xc1)](async _0x45c3df=>{const _0x5d7b1d=_0x13a88a;_0x45c3df&&this[_0x5d7b1d(0x12d)]['executeCommand'](C[_0x5d7b1d(0x113)]['id'],{'unitId':_0x1a0c48,'revision':_0x45c3df});}));}[_0xf68217(0x158)](_0x2218dc){const _0x46c06b=_0xf68217,_0x3d77c0=this[_0x46c06b(0x122)]['getUnit'](_0x2218dc)['getSheets']()['map'](_0x113e9b=>_0x113e9b[_0x46c06b(0x10e)]()),_0x4abbd2=new d[(_0x46c06b(0xeb))](_0x2218dc)['id'],_0x4a3b65=_0x3d77c0[_0x46c06b(0xca)](_0x389f9d=>new d[(_0x46c06b(0x169))](_0x2218dc,_0x389f9d)['id']),_0x33b3a2=_0x3d77c0[_0x46c06b(0xca)](_0x3a9ace=>this[_0x46c06b(0x133)][_0x46c06b(0x144)](_0x2218dc,_0x3a9ace)[_0x46c06b(0xca)](_0x4f9e7a=>new d[(_0x46c06b(0xfb))](_0x2218dc,_0x3a9ace,_0x4f9e7a[_0x46c06b(0xc7)])['id']))['flat'](),_0x40ebd9=new d[(_0x46c06b(0x110))](_0x2218dc)['id'];return this['_permissionService']['composePermission']([_0x4abbd2,..._0x4a3b65,..._0x33b3a2,_0x40ebd9])[_0x46c06b(0x114)](_0x3b67f9=>!!_0x3b67f9[_0x46c06b(0xde)]);}},exports[_0xf68217(0x97)]=pe([g(0x0,o[_0xf68217(0xb5)](o[_0xf68217(0xa4)])),g(0x1,o[_0xf68217(0xdf)]),g(0x2,o[_0xf68217(0xf6)]),g(0x3,o['ICommandService']),g(0x4,h[_0xf68217(0x10b)]),g(0x5,o[_0xf68217(0x8a)]),g(0x6,o[_0xf68217(0xb5)](d[_0xf68217(0x139)])),g(0x7,o['Inject'](h['IDialogService'])),g(0x8,o['Inject'](h[_0xf68217(0xb6)])),g(0x9,o[_0xf68217(0xb5)](o[_0xf68217(0x99)]))],exports['HistoryLoaderService']);function _0x43ba(_0x4c8c50,_0x3b74cf){_0x4c8c50=_0x4c8c50-0x82;const _0x63967d=_0x6396();let _0x43ba74=_0x63967d[_0x4c8c50];return _0x43ba74;}const M={'id':_0xf68217(0x154),'type':o[_0xf68217(0x112)][_0xf68217(0xab)],'handler':_0x29079a=>{const _0x3b6c1b=_0xf68217,_0x2138ab=_0x29079a[_0x3b6c1b(0x167)](exports[_0x3b6c1b(0x97)]),_0x511031=_0x29079a[_0x3b6c1b(0x167)](o[_0x3b6c1b(0xdf)]),{unitId:_0x2d3b43}=d['getSheetCommandTarget'](_0x511031)||{};return _0x2d3b43?(_0x2138ab[_0x3b6c1b(0xf4)](_0x2d3b43),!0x0):!0x1;}},j={'id':_0xf68217(0xf1),'type':o['CommandType'][_0xf68217(0xab)],'handler':()=>!0x0};function Ce(_0x56c0ac){const _0x489b40=_0xf68217;return{'id':M['id'],'type':h[_0x489b40(0x125)][_0x489b40(0xea)],'icon':'HistoryIcon','tooltip':_0x489b40(0x171),'hidden$':h[_0x489b40(0x103)](_0x56c0ac,o[_0x489b40(0x161)][_0x489b40(0x14f)]),'disabled$':k[_0x489b40(0xe0)](_0x56c0ac,{'workbookTypes':[d[_0x489b40(0xeb)],d[_0x489b40(0xe1)]],'worksheetTypes':[],'rangeTypes':[]})};}const Ie={[h[_0xf68217(0xc6)][_0xf68217(0x127)]]:{[M['id']]:{'order':0.2,'menuItemFactory':Ce}}};var Ue=Object[_0xf68217(0xf2)],Ee=(_0x5bca1f,_0x332920,_0x2eb875,_0x1d0cea)=>{const _0x18ef26=_0xf68217;for(var _0x5a60c5=_0x1d0cea>0x1?void 0x0:_0x1d0cea?Ue(_0x332920,_0x2eb875):_0x332920,_0x45f61d=_0x5bca1f[_0x18ef26(0xb4)]-0x1,_0xb46cfa;_0x45f61d>=0x0;_0x45f61d--)(_0xb46cfa=_0x5bca1f[_0x45f61d])&&(_0x5a60c5=_0xb46cfa(_0x5a60c5)||_0x5a60c5);return _0x5a60c5;},S=(_0x28c00c,_0xc59566)=>(_0x23d5ff,_0xd54896)=>_0xc59566(_0x23d5ff,_0xd54896,_0x28c00c);let E=class extends o[_0xf68217(0xd4)]{constructor(_0x1eb4a8,_0x1716d4,_0x4253ab,_0x362bb7,_0x448863,_0x5e4a75,_0x51d128,_0x38f0e2){const _0x43f64e=_0xf68217;super(),_(this,'_revertErrorTimer',null),(this[_0x43f64e(0x12d)]=_0x1eb4a8,this['_menuManagerService']=_0x1716d4,this[_0x43f64e(0x94)]=_0x4253ab,this[_0x43f64e(0x143)]=_0x362bb7,this[_0x43f64e(0x13c)]=_0x448863,this[_0x43f64e(0x14b)]=_0x5e4a75,this[_0x43f64e(0x108)]=_0x51d128,this['_localCacheService']=_0x38f0e2,this[_0x43f64e(0x116)]());}[_0xf68217(0x116)](){const _0x3a783c=_0xf68217;[M,j][_0x3a783c(0xcb)](_0x311811=>this[_0x3a783c(0x124)](o['toDisposable'](this[_0x3a783c(0x12d)][_0x3a783c(0x173)](_0x311811)))),this[_0x3a783c(0x124)](this[_0x3a783c(0x94)][_0x3a783c(0x135)]('HistoryIcon',$)),this[_0x3a783c(0x120)]['mergeMenu'](Ie),this[_0x3a783c(0x124)](this[_0x3a783c(0x12d)][_0x3a783c(0xd8)](_0x14fd9c=>{const _0x122761=_0x3a783c;if(_0x14fd9c['id']===C[_0x122761(0x113)]['id']){this[_0x122761(0x14b)][_0x122761(0x12e)]({'content':this['_localeService']['t'](_0x122761(0x95)),'type':P[_0x122761(0x91)][_0x122761(0x15f)],'duration':0x1388});const {unitId:_0xe10bd4}=_0x14fd9c[_0x122761(0x105)],_0x50029a=this[_0x122761(0x108)][_0x122761(0x86)](_0xe10bd4),_0x41842b=O[_0x122761(0x9d)]([_0x50029a['session']['event$'],_0x50029a[_0x122761(0x163)]])[_0x122761(0xc1)](async([_0x4772fa,_0x2565d4])=>{const _0x5aa262=_0x122761;var _0x44bcae;_0x4772fa[_0x5aa262(0xbf)]===C['CollaborationEvent']['CHANGESET_ACK']&&(_0x2565d4==null?void 0x0:_0x2565d4[_0x5aa262(0xb8)])===p['CollaborationStatus'][_0x5aa262(0x10a)]&&_0x4772fa[_0x5aa262(0xf0)]['mutations']['some'](_0x2f34e8=>_0x2f34e8['id']===C['RevertRevisionMutation']['id'])&&(this[_0x5aa262(0x143)][_0x5aa262(0x140)](),_0x41842b[_0x5aa262(0x145)](),this[_0x5aa262(0xd7)]&&clearTimeout(this[_0x5aa262(0xd7)]),await((_0x44bcae=this[_0x5aa262(0x90)])==null?void 0x0:_0x44bcae[_0x5aa262(0xdc)]()),setTimeout(()=>window[_0x5aa262(0xad)][_0x5aa262(0x14c)]()));});this['_revertErrorTimer']=setTimeout(()=>{const _0x3c658=_0x122761;_0x41842b[_0x3c658(0x145)](),this[_0x3c658(0x14b)][_0x3c658(0x12e)]({'content':this['_localeService']['t'](_0x3c658(0xc4)),'type':P[_0x3c658(0x91)][_0x3c658(0x153)],'duration':0xbb8});},0x1388);}}));}};function _0x6396(){const _0x47afe3=['status','values','useRef','setConfig','setTheme','univer-container','UniverEditHistoryViewerPlugin','eventID','getAllPlugins','subscribe','_initPlugins','M0\x200H16V16H0z','editHistory.panel.revertFailed','getElementById','RibbonStartGroup','permissionId','UniverDataValidationPlugin','_themeService','map','forEach','type','replace','random','pluginName','_initUniver','status$','UniverSheetSparklineUIPlugin','historyUniver$','RxDisposable','colorChannel1','UniverSheetsFilterPlugin','_revertErrorTimer','onCommandExecuted','_disposableCollection','fill','string','exhaustSavingTask','_historyUniver$','value','IUniverInstanceService','getCurrentRangeDisable$','WorkbookViewHistoryPermission','Plugin','UniverSheetsChartPlugin','UniverIcon','idSuffix','dispose','closeAll','UniverSheetsPlugin','BehaviorSubject','BUTTON','WorkbookEditablePermission','_config','editHistory.panel.listFetchError','url(#history-icon_clip0_907_281)','UNIVER_CONTAINER_ID','data','univer.operation.exit-edit-history','getOwnPropertyDescriptor','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','mountHistoryContent','path','IConfigService','ILocalCacheService','9wxbelT','clear','UNIVER_HISTORY_CONTAINER_ID','RangeProtectionPermissionEditPoint','executeCommand','invoke','HistoryModeStatus','UniverSheetsConditionalFormattingPlugin','HistoryIcon','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_initContainer','getMenuHiddenObservable','getLocales','params','position','tag','_collaborationController','from','SYNCED','IMessageService','display','UniverEditHistoryLoaderPlugin','getSheetId','UniverFormulaEnginePlugin','WorkbookRecoverHistoryPermission','PLUGIN_CONFIG_KEY_MAIN_THREAD','CommandType','RevertRevisionMutation','every','svg','_init','0\x200\x2016\x2016','_configService','setDarkMode','3862930jEqBiA','230248gFzDiT','100%','forwardRef','5525634Gxqgpe','UniverDocsPlugin','_menuManagerService','close','_univerInstanceService','UniverSheetsDataValidationPlugin','disposeWithMe','MenuItemType','_initListener','OTHERS','UniverSheetSparklinePlugin','displayName','children','symbol','add','_commandService','show','UniverLicensePlugin','UniverSheetsUIPlugin','getConfig','currentTheme$','_selectionProtectionRuleModel','xlink:href','register','_dialogService','asObservable','Injector','RangeProtectionRuleModel','UNIVER_CONTAINER_ID_KEY','top','_localeService','appendChild','onStarting','HistoryManagerService','unMountHistoryContent','defs','Univer','_historyManagerService','getSubunitRuleList','unsubscribe','setLocale','darkMode$','UniverSheetsDrawingPlugin','IMenuManagerService','url(#$1','_messageService','reload','next','substring','UNIVER_SHEET','9SUhSyM','IImageIoService','menu','Error','univer.operation.toggle-edit-history','_sidebarService','history-icon_clip0_907_281','2528650NqNWrP','_checkCanRevert','\x20has\x20been\x20registered.','UniverDocsUIPlugin','1em','createElement','UniverSheetsChartUIPlugin','44OCjenV','Loading','merge','UniverInstanceType','use','state$','entries','Exited','UniverDrawingUIPlugin','get','mask','WorksheetEditPermission','current','./worker.js','UniverSheetsNumfmtPlugin','history-container','univerjs-icon\x20univerjs-icon-','2uCVvxg','defIds','editHistory.panel.title','set','registerCommand','none','block','getCurrentLocale','trim','getCollabEntity','defineProperty','width','attrs','IPermissionService','ComponentManager','workerURL','UniverSheetsFilterUIPlugin','_injector','UniverSheetsDrawingUIPlugin','_localCacheService','MessageType','_pluginMap','UniverUIPlugin','_componentManager','editHistory.panel.reverting','UniverRenderEnginePlugin','HistoryLoaderService','_permissionService','ThemeService','history-icon','univerContainerId','toString','combineLatest','144tYqJXd','3509016iQQoEQ','353749SvBlfj','has','assign','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','LocaleService','currentColor','registerPlugin','DisposableCollection','IDialogService','historyUniver','toStringTag','OPERATION','1799eAKncg','location','univer-history-container','white','__getInjector','UniverSheetsHyperLinkUIPlugin','UniverCollaborationPlugin','UniverSheetsFormulaPlugin','length','Inject','ISidebarService','style'];_0x6396=function(){return _0x47afe3;};return _0x6396();}E=Ee([S(0x0,o['ICommandService']),S(0x1,h[_0xf68217(0x149)]),S(0x2,o['Inject'](h[_0xf68217(0x8b)])),S(0x3,o[_0xf68217(0xb5)](exports['HistoryLoaderService'])),S(0x4,o[_0xf68217(0xb5)](o[_0xf68217(0xa4)])),S(0x5,h[_0xf68217(0x10b)]),S(0x6,o[_0xf68217(0xb5)](p['CollaborationController'])),S(0x7,p[_0xf68217(0xf7)])],E);var Pe=Object[_0xf68217(0xf2)],be=(_0x28a749,_0xe6d6f0,_0x1c9239,_0xaf44c5)=>{const _0x112660=_0xf68217;for(var _0x4d3860=_0xaf44c5>0x1?void 0x0:_0xaf44c5?Pe(_0xe6d6f0,_0x1c9239):_0xe6d6f0,_0x56e718=_0x28a749[_0x112660(0xb4)]-0x1,_0x5951cc;_0x56e718>=0x0;_0x56e718--)(_0x5951cc=_0x28a749[_0x56e718])&&(_0x4d3860=_0x5951cc(_0x4d3860)||_0x4d3860);return _0x4d3860;},w=(_0x10c9b7,_0x402a83)=>(_0x264c0a,_0x3bf79f)=>_0x402a83(_0x264c0a,_0x3bf79f,_0x10c9b7);const He=_0xf68217(0xf3);var I;exports[_0xf68217(0x10d)]=(I=class extends o[_0xf68217(0xe2)]{constructor(_0x1722dd=T,_0x426d73,_0x37290f){const _0x203f29=_0xf68217;super(),this['_config']=_0x1722dd,this[_0x203f29(0x8e)]=_0x426d73,this['_configService']=_0x37290f;const {menu:_0x163903,..._0x5b9d83}=o[_0x203f29(0x160)]({},T,this['_config']);_0x163903&&this[_0x203f29(0x118)][_0x203f29(0xbb)](_0x203f29(0x152),_0x163903,{'merge':!0x0}),this[_0x203f29(0x118)][_0x203f29(0xbb)](b,_0x5b9d83),this[_0x203f29(0xec)][_0x203f29(0x9b)]&&this[_0x203f29(0x118)][_0x203f29(0xbb)](H,this[_0x203f29(0xec)][_0x203f29(0x9b)]);}[_0xf68217(0x13e)](){const _0xe489d0=_0xf68217;[[exports[_0xe489d0(0x97)]],[E]][_0xe489d0(0xcb)](_0x49e282=>this[_0xe489d0(0x8e)][_0xe489d0(0x12c)](_0x49e282));}['onSteady'](){const _0x8fafb6=_0xf68217;this[_0x8fafb6(0x8e)][_0x8fafb6(0x167)](E);}},_(I,_0xf68217(0xcc),o[_0xf68217(0x161)]['UNIVER_UNKNOWN']),_(I,'pluginName',He),I),exports[_0xf68217(0x10d)]=be([w(0x1,o[_0xf68217(0xb5)](o[_0xf68217(0x138)])),w(0x2,o['IConfigService'])],exports[_0xf68217(0x10d)]),exports[_0xf68217(0x13a)]=H,exports[_0xf68217(0xfa)]=y;
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x39a409=_0x4215;(function(_0x4328f9,_0x4a8bb9){const _0x3a085a=_0x4215,_0x5c98b0=_0x4328f9();while(!![]){try{const _0x4fc6e2=-parseInt(_0x3a085a(0x173))/0x1+parseInt(_0x3a085a(0x156))/0x2+parseInt(_0x3a085a(0x1c4))/0x3*(-parseInt(_0x3a085a(0x15f))/0x4)+parseInt(_0x3a085a(0x1c0))/0x5*(-parseInt(_0x3a085a(0x17b))/0x6)+parseInt(_0x3a085a(0x174))/0x7*(-parseInt(_0x3a085a(0x1c1))/0x8)+-parseInt(_0x3a085a(0x155))/0x9+parseInt(_0x3a085a(0x1a2))/0xa;if(_0x4fc6e2===_0x4a8bb9)break;else _0x5c98b0['push'](_0x5c98b0['shift']());}catch(_0x8ce1fe){_0x5c98b0['push'](_0x5c98b0['shift']());}}}(_0x197d,0x19a65));var Y=Object[_0x39a409(0x16e)],B=(_0x3165e9,_0x2b34d2,_0x5cb011)=>_0x2b34d2 in _0x3165e9?Y(_0x3165e9,_0x2b34d2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5cb011}):_0x3165e9[_0x2b34d2]=_0x5cb011,g=(_0x1cf6e9,_0x50036a,_0xc4d513)=>B(_0x1cf6e9,typeof _0x50036a!='symbol'?_0x50036a+'':_0x50036a,_0xc4d513);import{Inject as _0x4d0f78,LocaleService as _0x5a075e,IUniverInstanceService as _0x47b3be,IConfigService as _0x1036a9,ICommandService as _0x270472,IPermissionService as _0x44885c,ThemeService as _0x2ea7de,Disposable as _0x49da04,DisposableCollection as _0x4ae443,Univer as _0x2af004,IAuthzIoService as _0x2e67dc,CommandType as _0x23553e,UniverInstanceType as _0x33cada,RxDisposable as _0x157ec3,toDisposable as _0x572451,Plugin as _0x219636,merge as _0x4aa835,Injector as _0x2a077e}from'@univerjs/core';import{UniverCollaborationPlugin as _0x21bf16,RevertRevisionMutation as _0x388f9a,CollaborationEvent as _0x18fd40}from'@univerjs-pro/collaboration';import{AuthzIoHttpService as _0x1e7fd3,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x431c30,CollaborationController as _0x450258,ILocalCacheService as _0x3ebc56,CollaborationStatus as _0x346212}from'@univerjs-pro/collaboration-client';import{MessageType as _0x57be99}from'@univerjs/design';import{useRef as _0x23c6f8,createElement as _0x353685,forwardRef as _0x4f6452}from'react';import{IMessageService as _0xea87f8,IDialogService as _0x56af60,ISidebarService as _0x4f29fb,UniverUIPlugin as _0xd84c08,getMenuHiddenObservable as _0x4e42e2,MenuItemType as _0x343a87,RibbonStartGroup as _0x57879a,IMenuManagerService as _0x26094f,ComponentManager as _0x529cde}from'@univerjs/ui';import{BehaviorSubject as _0x1e1719,combineLatest as _0x2accaf}from'rxjs';import{RangeProtectionRuleModel as _0x440857,UniverSheetsPlugin as _0x2d42f2,WorkbookEditablePermission as _0x30b2b0,WorksheetEditPermission as _0x38ce77,RangeProtectionPermissionEditPoint as _0x49c7c9,WorkbookRecoverHistoryPermission as _0x4755cd,getSheetCommandTarget as _0x335a78,WorkbookViewHistoryPermission as _0x244137}from'@univerjs/sheets';import{UniverEditHistoryViewerPlugin as _0x55f083,HistoryManagerService as _0x28e5b3,HistoryModeStatus as _0x31562f}from'@univerjs-pro/edit-history-viewer';import{LS_CONFIG_KEY as _0x42a5c0,UniverLicensePlugin as _0x2267c3}from'@univerjs-pro/license';import{UniverSheetsChartPlugin as _0x4a62d7}from'@univerjs-pro/sheets-chart';import{UniverSheetsChartUIPlugin as _0x1c1683}from'@univerjs-pro/sheets-chart-ui';import{UniverSheetsPivotTablePlugin as _0x54d5cc}from'@univerjs-pro/sheets-pivot';import{UniverSheetSparklinePlugin as _0x53a353}from'@univerjs-pro/sheets-sparkline';import{UniverSheetSparklineUIPlugin as _0x58f67d}from'@univerjs-pro/sheets-sparkline-ui';import{UniverDataValidationPlugin as _0x2415c8}from'@univerjs/data-validation';import{UniverDocsPlugin as _0x3e7d56}from'@univerjs/docs';import{UniverDocsUIPlugin as _0x1bc943}from'@univerjs/docs-ui';import{UniverDrawingPlugin as _0x3286a4,IImageIoService as _0x66f5be}from'@univerjs/drawing';import{UniverDrawingUIPlugin as _0x1e9d93}from'@univerjs/drawing-ui';import{UniverFormulaEnginePlugin as _0x37863c}from'@univerjs/engine-formula';import{UniverRenderEnginePlugin as _0x5ce173}from'@univerjs/engine-render';import{UniverNetworkPlugin as _0x3705a0}from'@univerjs/network';import{UniverRPCMainThreadPlugin as _0x395e79,PLUGIN_CONFIG_KEY_MAIN_THREAD as _0x569c2e}from'@univerjs/rpc';import{UniverSheetsConditionalFormattingPlugin as _0x1f0c0e}from'@univerjs/sheets-conditional-formatting';import{UniverSheetsConditionalFormattingUIPlugin as _0x4591cf}from'@univerjs/sheets-conditional-formatting-ui';import{UniverSheetsDataValidationPlugin as _0x2f6efb}from'@univerjs/sheets-data-validation';import{UniverSheetsDataValidationUIPlugin as _0x72766e}from'@univerjs/sheets-data-validation-ui';import{UniverSheetsDrawingPlugin as _0x1f0e4a}from'@univerjs/sheets-drawing';import{UniverSheetsDrawingUIPlugin as _0x1beca3}from'@univerjs/sheets-drawing-ui';import{UniverSheetsFilterPlugin as _0x2e23be}from'@univerjs/sheets-filter';import{UniverSheetsFilterUIPlugin as _0x45dadf}from'@univerjs/sheets-filter-ui';import{UniverSheetsFormulaPlugin as _0x27ea31}from'@univerjs/sheets-formula';import{UniverSheetsFormulaUIPlugin as _0x121351}from'@univerjs/sheets-formula-ui';import{UniverSheetsHyperLinkPlugin as _0x4b6b5e}from'@univerjs/sheets-hyper-link';import{UniverSheetsHyperLinkUIPlugin as _0x590a71}from'@univerjs/sheets-hyper-link-ui';import{UniverSheetsNumfmtPlugin as _0x296f36}from'@univerjs/sheets-numfmt';import{UniverSheetsUIPlugin as _0x5339c0,getCurrentRangeDisable$ as _0x34f0f4}from'@univerjs/sheets-ui';const U=_0x39a409(0x1af),N={};function F({ref:_0x12f44a,..._0x287e65}){const _0x2e5cb1=_0x39a409,{icon:_0x28f5c4,id:_0x456d64,className:_0x5f4686,extend:_0x4bea15,..._0x1165e2}=_0x287e65,_0x534bcc=(_0x2e5cb1(0x15a)+_0x456d64+'\x20'+(_0x5f4686||''))['trim'](),_0x39fb19=_0x23c6f8('_'+hi());return j(_0x28f5c4,''+_0x456d64,{'defIds':_0x28f5c4[_0x2e5cb1(0x18d)],'idSuffix':_0x39fb19['current']},{'ref':_0x12f44a,'className':_0x534bcc,..._0x1165e2},_0x4bea15);}function j(_0x5a1ee9,_0x1de9bf,_0x4bc91a,_0x26f54c,_0xbd4289){const _0x58a684=_0x39a409;return _0x353685(_0x5a1ee9[_0x58a684(0x1a3)],{'key':_0x1de9bf,...ci(_0x5a1ee9,_0x4bc91a,_0xbd4289),..._0x26f54c},(li(_0x5a1ee9,_0x4bc91a)['children']||[])[_0x58a684(0x185)]((_0x257a53,_0x392354)=>j(_0x257a53,_0x1de9bf+'-'+_0x5a1ee9[_0x58a684(0x1a3)]+'-'+_0x392354,_0x4bc91a,void 0x0,_0xbd4289)));}function ci(_0x179869,_0x1ef5d6,_0x1776bc){const _0x43f79d=_0x39a409,_0x5f0798={..._0x179869[_0x43f79d(0x175)]};_0x1776bc!=null&&_0x1776bc[_0x43f79d(0x18b)]&&_0x5f0798[_0x43f79d(0x181)]===_0x43f79d(0x18b)&&(_0x5f0798['fill']=_0x1776bc[_0x43f79d(0x18b)]),_0x179869[_0x43f79d(0x1a3)]===_0x43f79d(0x1d2)&&_0x5f0798['id']&&(_0x5f0798['id']=_0x5f0798['id']+_0x1ef5d6['idSuffix']),Object[_0x43f79d(0x146)](_0x5f0798)[_0x43f79d(0x19a)](([_0x316d26,_0x579a26])=>{const _0x453586=_0x43f79d;_0x316d26===_0x453586(0x1d2)&&typeof _0x579a26=='string'&&(_0x5f0798[_0x316d26]=_0x579a26[_0x453586(0x143)](/url\(#(.*)\)/,'url(#$1'+_0x1ef5d6[_0x453586(0x190)]+')'));});const {defIds:_0x514dcf}=_0x1ef5d6;return!_0x514dcf||_0x514dcf[_0x43f79d(0x1d5)]===0x0||(_0x179869['tag']===_0x43f79d(0x1a5)&&_0x5f0798[_0x43f79d(0x1a9)]&&(_0x5f0798[_0x43f79d(0x1a9)]=_0x5f0798['xlink:href']+_0x1ef5d6[_0x43f79d(0x190)]),Object[_0x43f79d(0x146)](_0x5f0798)[_0x43f79d(0x19a)](([_0x411004,_0x1a9b3d])=>{const _0x653efd=_0x43f79d;typeof _0x1a9b3d==_0x653efd(0x1ac)&&(_0x5f0798[_0x411004]=_0x1a9b3d['replace'](/url\(#(.*)\)/,'url(#$1'+_0x1ef5d6[_0x653efd(0x190)]+')'));})),_0x5f0798;}function _0x4215(_0x11a234,_0x1abe64){_0x11a234=_0x11a234-0x134;const _0x197d74=_0x197d();let _0x4215cc=_0x197d74[_0x11a234];return _0x4215cc;}function li(_0x47a86c,_0xead4d3){const _0x33b8dc=_0x39a409;var _0x1f2494;const {defIds:_0x4e9a5f}=_0xead4d3;return!_0x4e9a5f||_0x4e9a5f['length']===0x0?_0x47a86c:_0x47a86c[_0x33b8dc(0x1a3)]===_0x33b8dc(0x158)&&((_0x1f2494=_0x47a86c[_0x33b8dc(0x13a)])!=null&&_0x1f2494[_0x33b8dc(0x1d5)])?{..._0x47a86c,'children':_0x47a86c[_0x33b8dc(0x13a)][_0x33b8dc(0x185)](_0x1d0acc=>typeof _0x1d0acc['attrs']['id']=='string'&&_0x4e9a5f&&_0x4e9a5f[_0x33b8dc(0x1c2)](_0x1d0acc['attrs']['id'])?{..._0x1d0acc,'attrs':{..._0x1d0acc[_0x33b8dc(0x175)],'id':_0x1d0acc[_0x33b8dc(0x175)]['id']+_0xead4d3[_0x33b8dc(0x190)]}}:_0x1d0acc)}:_0x47a86c;}function hi(){const _0x47a29a=_0x39a409;return Math[_0x47a29a(0x163)]()['toString'](0x24)[_0x47a29a(0x147)](0x2,0x8);}F[_0x39a409(0x15c)]=_0x39a409(0x1a4);const ui={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x39a409(0x1b3),'viewBox':_0x39a409(0x1aa),'width':_0x39a409(0x15d),'height':_0x39a409(0x15d)},'children':[{'tag':'g','attrs':{'fill':_0x39a409(0x1d3),'clipPath':_0x39a409(0x161)},'children':[{'tag':'path','attrs':{'d':'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'}},{'tag':_0x39a409(0x166),'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':_0x39a409(0x158),'attrs':{},'children':[{'tag':_0x39a409(0x178),'attrs':{'id':'history-icon_clip0_907_281'},'children':[{'tag':_0x39a409(0x166),'attrs':{'fill':_0x39a409(0x1a1),'d':_0x39a409(0x182)}}]}]}],'defIds':['history-icon_clip0_907_281']},V=_0x4f6452(function(_0x13772f,_0x4d99a4){const _0x4edb86=_0x39a409;return _0x353685(F,Object[_0x4edb86(0x177)]({},_0x13772f,{'id':'history-icon','ref':_0x4d99a4,'icon':ui}));});V['displayName']=_0x39a409(0x1c3);var gi=Object[_0x39a409(0x154)],mi=(_0x422c1a,_0x41f1e5,_0x264f38,_0x55c810)=>{const _0x219601=_0x39a409;for(var _0x9961e=_0x55c810>0x1?void 0x0:_0x55c810?gi(_0x41f1e5,_0x264f38):_0x41f1e5,_0x1b6500=_0x422c1a[_0x219601(0x1d5)]-0x1,_0x3ef054;_0x1b6500>=0x0;_0x1b6500--)(_0x3ef054=_0x422c1a[_0x1b6500])&&(_0x9961e=_0x3ef054(_0x9961e)||_0x9961e);return _0x9961e;},l=(_0x32b534,_0x78a0e6)=>(_0x503ff0,_0x161b24)=>_0x78a0e6(_0x503ff0,_0x161b24,_0x32b534);const vi=_0x39a409(0x1c8),G=_0x39a409(0x13e),d=_0x39a409(0x1d1);let f=class extends _0x49da04{constructor(_0x3e6486,_0x4b4971,_0x4b293c,_0xbb8bbe,_0xe4a43e,_0x196b8,_0x25b776,_0x8970ae,_0x7b89b,_0x4e9cb1){const _0xb7b853=_0x39a409;super(),g(this,_0xb7b853(0x1ba),new _0x1e1719(null)),g(this,_0xb7b853(0x18c),this['_historyUniver$'][_0xb7b853(0x17d)]()),g(this,_0xb7b853(0x159),new _0x4ae443()),g(this,_0xb7b853(0x13b),new Map()),(this[_0xb7b853(0x19d)]=_0x3e6486,this[_0xb7b853(0x1c5)]=_0x4b4971,this[_0xb7b853(0x148)]=_0x4b293c,this['_commandService']=_0xbb8bbe,this[_0xb7b853(0x172)]=_0xe4a43e,this[_0xb7b853(0x14f)]=_0x196b8,this[_0xb7b853(0x1a6)]=_0x25b776,this['_dialogService']=_0x8970ae,this[_0xb7b853(0x14b)]=_0x7b89b,this[_0xb7b853(0x14a)]=_0x4e9cb1,this[_0xb7b853(0x1a8)]());}get['historyUniver'](){const _0x4080f3=_0x39a409;return this[_0x4080f3(0x1ba)][_0x4080f3(0x1cd)];}[_0x39a409(0x1a8)](){const _0x184efc=_0x39a409;this['_initContainer'](),this[_0x184efc(0x13d)]();}[_0x39a409(0x16a)](){const _0x3b0a66=_0x39a409;var _0x769d72;const _0x5c6a22=(_0x769d72=this['_configService'][_0x3b0a66(0x167)](G))!=null?_0x769d72:vi,_0x394ba3=document[_0x3b0a66(0x1b1)](_0x5c6a22);if(!_0x394ba3)return;const _0x28b48c=document[_0x3b0a66(0x134)]('div');_0x28b48c['id']=d,_0x28b48c['dataset'][_0x3b0a66(0x151)]=_0x3b0a66(0x17a),_0x28b48c[_0x3b0a66(0x192)][_0x3b0a66(0x18e)]=_0x3b0a66(0x17e),_0x28b48c[_0x3b0a66(0x192)]['top']='0',_0x28b48c[_0x3b0a66(0x192)][_0x3b0a66(0x1bf)]='0',_0x28b48c[_0x3b0a66(0x192)][_0x3b0a66(0x153)]=_0x3b0a66(0x14d),_0x28b48c[_0x3b0a66(0x192)][_0x3b0a66(0x197)]='100%',_0x28b48c[_0x3b0a66(0x192)][_0x3b0a66(0x13c)]=_0x3b0a66(0x19e),_0x28b48c[_0x3b0a66(0x192)]['display']=_0x3b0a66(0x1b3),_0x394ba3['appendChild'](_0x28b48c);}[_0x39a409(0x13d)](){const _0x4c3e9f=_0x39a409;var _0x3d421f,_0x4be136,_0x234282,_0x53c60d;[[_0x5ce173],[_0xd84c08,{'container':d,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x56af60,null]]}],[_0x3705a0],[_0x3286a4,{'override':[[_0x66f5be,null]]}],[_0x3e7d56,{'hasScroll':!0x1}],[_0x1bc943],[_0x296f36],[_0x2d42f2,{'notExecuteFormula':!0x0}],[_0x5339c0],[_0x27ea31],[_0x121351],[_0x21bf16],[_0x2e23be],[_0x45dadf],[_0x1f0c0e],[_0x4591cf],[_0x4b6b5e],[_0x590a71],[_0x2415c8],[_0x2f6efb],[_0x72766e],[_0x37863c,{'notExecuteFormula':!0x0}],[_0x395e79,{'workerURL':(_0x4be136=(_0x3d421f=this[_0x4c3e9f(0x148)][_0x4c3e9f(0x167)](_0x569c2e))==null?void 0x0:_0x3d421f['workerURL'])!=null?_0x4be136:_0x4c3e9f(0x145)}],[_0x1e9d93],[_0x1f0e4a],[_0x1beca3],[_0x53a353],[_0x58f67d],[_0x4a62d7],[_0x1c1683],[_0x54d5cc,{'notExecuteFormula':!0x0}],[_0x55f083,{'historyListServerUrl':(_0x234282=this[_0x4c3e9f(0x148)][_0x4c3e9f(0x167)](U))==null?void 0x0:_0x234282['historyListServerUrl'],'historyPanelComponentKey':(_0x53c60d=this[_0x4c3e9f(0x148)][_0x4c3e9f(0x167)](U))==null?void 0x0:_0x53c60d[_0x4c3e9f(0x139)]}]][_0x4c3e9f(0x19a)](([_0x2279ca,_0x2ee621])=>this['registerPlugin'](_0x2279ca,_0x2ee621));}['dispose'](){const _0x577d9b=_0x39a409;super[_0x577d9b(0x1b0)](),this[_0x577d9b(0x189)](),this[_0x577d9b(0x13b)]['clear']();}[_0x39a409(0x1b4)](_0x2abe0b,_0x40a861,_0x17191e){const _0x2e03fd=_0x39a409;if(this[_0x2e03fd(0x13b)][_0x2e03fd(0x186)](_0x2abe0b[_0x2e03fd(0x1b6)])&&!_0x17191e)throw new Error(_0x2e03fd(0x199)+_0x2abe0b[_0x2e03fd(0x1b6)]+'\x20has\x20been\x20registered.');this[_0x2e03fd(0x13b)][_0x2e03fd(0x1bc)](_0x2abe0b[_0x2e03fd(0x1b6)],[_0x2abe0b,_0x40a861]);}[_0x39a409(0x1b5)](){const _0x42d6fd=_0x39a409;return Array['from'](this[_0x42d6fd(0x13b)]['values']());}['mountHistoryContent'](_0x4f67b8){const _0x13324e=_0x39a409,_0x1266dc=document[_0x13324e(0x1b1)](d);_0x1266dc&&(_0x1266dc[_0x13324e(0x192)][_0x13324e(0x1b2)]='block',this['_initUniver'](_0x4f67b8,d));}[_0x39a409(0x189)](){const _0x2e7ee8=_0x39a409;var _0x428c26;this['_disposableCollection'][_0x2e7ee8(0x1b0)](),(_0x428c26=this[_0x2e7ee8(0x14e)])==null||_0x428c26[_0x2e7ee8(0x1b0)](),this[_0x2e7ee8(0x1ba)][_0x2e7ee8(0x137)](null);const _0x3c54da=document['getElementById'](d);_0x3c54da&&(_0x3c54da['style'][_0x2e7ee8(0x1b2)]=_0x2e7ee8(0x1b3));}[_0x39a409(0x19f)](_0x205c5a,_0x141c7e){const _0x50c436=_0x39a409;if(this[_0x50c436(0x14e)])return;const _0x1cf4f2=new _0x2af004({'locales':{[this[_0x50c436(0x19d)][_0x50c436(0x187)]()]:this[_0x50c436(0x19d)][_0x50c436(0x1cb)]()},'override':[[_0x2e67dc,{'useClass':_0x1e7fd3}]]}),_0x361a85=_0x1cf4f2[_0x50c436(0x18a)]();this[_0x50c436(0x140)](this[_0x50c436(0x14a)][_0x50c436(0x176)]['subscribe'](_0x13573e=>{const _0x3542f7=_0x50c436;_0x361a85[_0x3542f7(0x1c9)](_0x2ea7de)[_0x3542f7(0x170)](_0x13573e);})),this['disposeWithMe'](this['_themeService'][_0x50c436(0x1d4)][_0x50c436(0x169)](_0x34f98d=>{const _0x1818aa=_0x50c436;_0x361a85[_0x1818aa(0x1c9)](_0x2ea7de)[_0x1818aa(0x162)](_0x34f98d);})),_0x361a85['get'](_0x5a075e)[_0x50c436(0x179)](this['_localeService']['getCurrentLocale']()),_0x361a85[_0x50c436(0x1c9)](_0x1036a9)[_0x50c436(0x1ca)](_0x431c30,this['_configService'][_0x50c436(0x167)](_0x431c30));const _0x1aa4af=this[_0x50c436(0x148)][_0x50c436(0x167)](_0x42a5c0);_0x1aa4af&&_0x1cf4f2[_0x50c436(0x1b4)](_0x2267c3,{'license':_0x1aa4af['ls']}),this[_0x50c436(0x13b)][_0x50c436(0x19a)](([_0x51f44c,_0x58d640])=>{_0x1cf4f2['registerPlugin'](_0x51f44c,_0x58d640);}),_0x361a85[_0x50c436(0x149)](_0xcc07a3=>{const _0x50c2f8=_0x50c436;this[_0x50c2f8(0x1d0)](_0xcc07a3,_0x205c5a);}),this['_historyUniver$']['next'](_0x1cf4f2);const _0x3e236f=_0x361a85[_0x50c436(0x1c9)](_0x28e5b3),_0xefe191=this[_0x50c436(0x16f)](_0x205c5a);_0x3e236f[_0x50c436(0x138)](_0x205c5a,_0x141c7e,_0xefe191);}[_0x39a409(0x1d0)](_0x469186,_0x2b1bf9){const _0x2beecb=_0x39a409,_0x346751=_0x469186[_0x2beecb(0x1c9)](_0x28e5b3);this[_0x2beecb(0x159)][_0x2beecb(0x165)](_0x346751[_0x2beecb(0x198)][_0x2beecb(0x169)](_0x389d=>{const _0x16dc41=_0x2beecb;switch(_0x389d){case _0x31562f[_0x16dc41(0x191)]:this[_0x16dc41(0x171)][_0x16dc41(0x142)](),this[_0x16dc41(0x14b)][_0x16dc41(0x135)]();break;case _0x31562f[_0x16dc41(0x1a0)]:this['_commandService'][_0x16dc41(0x1b7)](W['id']),this[_0x16dc41(0x189)]();break;case _0x31562f[_0x16dc41(0x152)]:this[_0x16dc41(0x189)](),this[_0x16dc41(0x172)][_0x16dc41(0x188)]({'content':this[_0x16dc41(0x19d)]['t'](_0x16dc41(0x15b)),'type':_0x57be99['Error'],'duration':0xbb8});break;}})),this['_disposableCollection']['add'](_0x346751['revertRevision$'][_0x2beecb(0x169)](async _0x5dcbd1=>{const _0xf340bf=_0x2beecb;_0x5dcbd1&&this[_0xf340bf(0x141)][_0xf340bf(0x1b7)](_0x388f9a['id'],{'unitId':_0x2b1bf9,'revision':_0x5dcbd1});}));}[_0x39a409(0x16f)](_0x52e07b){const _0x44ce16=_0x39a409,_0x1b7dfa=this[_0x44ce16(0x1c5)][_0x44ce16(0x19c)](_0x52e07b)[_0x44ce16(0x1cc)]()[_0x44ce16(0x185)](_0x4168d7=>_0x4168d7[_0x44ce16(0x13f)]()),_0x54cbd1=new _0x30b2b0(_0x52e07b)['id'],_0x215867=_0x1b7dfa[_0x44ce16(0x185)](_0x1cbd9d=>new _0x38ce77(_0x52e07b,_0x1cbd9d)['id']),_0x5bb83d=_0x1b7dfa['map'](_0x1f5b62=>this[_0x44ce16(0x1a6)][_0x44ce16(0x1ad)](_0x52e07b,_0x1f5b62)[_0x44ce16(0x185)](_0x277b0a=>new _0x49c7c9(_0x52e07b,_0x1f5b62,_0x277b0a[_0x44ce16(0x1a7)])['id']))['flat'](),_0x3fea05=new _0x4755cd(_0x52e07b)['id'];return this['_permissionService'][_0x44ce16(0x14c)]([_0x54cbd1,..._0x215867,..._0x5bb83d,_0x3fea05])[_0x44ce16(0x194)](_0x5442dd=>!!_0x5442dd['value']);}};f=mi([l(0x0,_0x4d0f78(_0x5a075e)),l(0x1,_0x47b3be),l(0x2,_0x1036a9),l(0x3,_0x270472),l(0x4,_0xea87f8),l(0x5,_0x44885c),l(0x6,_0x4d0f78(_0x440857)),l(0x7,_0x4d0f78(_0x56af60)),l(0x8,_0x4d0f78(_0x4f29fb)),l(0x9,_0x4d0f78(_0x2ea7de))],f);const b={'id':_0x39a409(0x1ab),'type':_0x23553e[_0x39a409(0x17f)],'handler':_0x43e945=>{const _0x19e850=_0x39a409,_0x2b0d33=_0x43e945['get'](f),_0x3e2312=_0x43e945[_0x19e850(0x1c9)](_0x47b3be),{unitId:_0x187532}=_0x335a78(_0x3e2312)||{};return _0x187532?(_0x2b0d33[_0x19e850(0x184)](_0x187532),!0x0):!0x1;}},W={'id':'univer.operation.exit-edit-history','type':_0x23553e[_0x39a409(0x17f)],'handler':()=>!0x0};function di(_0x4569c6){const _0xfdf906=_0x39a409;return{'id':b['id'],'type':_0x343a87[_0xfdf906(0x136)],'icon':_0xfdf906(0x1c3),'tooltip':'editHistory.panel.title','hidden$':_0x4e42e2(_0x4569c6,_0x33cada['UNIVER_SHEET']),'disabled$':_0x34f0f4(_0x4569c6,{'workbookTypes':[_0x30b2b0,_0x244137],'worksheetTypes':[],'rangeTypes':[]})};}const fi={[_0x57879a[_0x39a409(0x183)]]:{[b['id']]:{'order':0.2,'menuItemFactory':di}}};var _i=Object[_0x39a409(0x154)],pi=(_0x367e60,_0x2eb5b4,_0x10c4fd,_0x5590c1)=>{for(var _0x1bd382=_0x5590c1>0x1?void 0x0:_0x5590c1?_i(_0x2eb5b4,_0x10c4fd):_0x2eb5b4,_0x22a8fb=_0x367e60['length']-0x1,_0x2b6b68;_0x22a8fb>=0x0;_0x22a8fb--)(_0x2b6b68=_0x367e60[_0x22a8fb])&&(_0x1bd382=_0x2b6b68(_0x1bd382)||_0x1bd382);return _0x1bd382;},m=(_0x3038eb,_0x5b877e)=>(_0x4737d1,_0x254d94)=>_0x5b877e(_0x4737d1,_0x254d94,_0x3038eb);let p=class extends _0x157ec3{constructor(_0xe7108f,_0x4a3c0b,_0x59d070,_0x5720e3,_0xd35b75,_0x2a1df5,_0x2c25ce,_0x132cdd){const _0x3fb26a=_0x39a409;super(),g(this,'_revertErrorTimer',null),(this['_commandService']=_0xe7108f,this[_0x3fb26a(0x1b8)]=_0x4a3c0b,this[_0x3fb26a(0x1be)]=_0x59d070,this['_historyManagerService']=_0x5720e3,this['_localeService']=_0xd35b75,this[_0x3fb26a(0x172)]=_0x2a1df5,this[_0x3fb26a(0x196)]=_0x2c25ce,this[_0x3fb26a(0x19b)]=_0x132cdd,this[_0x3fb26a(0x1a8)]());}['_init'](){const _0x47846d=_0x39a409;[b,W][_0x47846d(0x19a)](_0x4f034c=>this[_0x47846d(0x140)](_0x572451(this['_commandService'][_0x47846d(0x16c)](_0x4f034c)))),this[_0x47846d(0x140)](this[_0x47846d(0x1be)][_0x47846d(0x18f)](_0x47846d(0x1c3),V)),this['_menuManagerService'][_0x47846d(0x15e)](fi),this[_0x47846d(0x140)](this[_0x47846d(0x141)][_0x47846d(0x168)](_0x48aead=>{const _0xdf642b=_0x47846d;if(_0x48aead['id']===_0x388f9a['id']){this['_messageService'][_0xdf642b(0x188)]({'content':this[_0xdf642b(0x19d)]['t']('editHistory.panel.reverting'),'type':_0x57be99[_0xdf642b(0x16b)],'duration':0x1388});const {unitId:_0xbaf462}=_0x48aead[_0xdf642b(0x180)],_0x24d9f1=this[_0xdf642b(0x196)]['getCollabEntity'](_0xbaf462),_0x21d306=_0x2accaf([_0x24d9f1['session'][_0xdf642b(0x1ce)],_0x24d9f1[_0xdf642b(0x17c)]])['subscribe'](async([_0x4228b4,_0x179ff6])=>{const _0x2f6612=_0xdf642b;var _0x42fc61;_0x4228b4[_0x2f6612(0x1c7)]===_0x18fd40[_0x2f6612(0x164)]&&(_0x179ff6==null?void 0x0:_0x179ff6[_0x2f6612(0x1cf)])===_0x346212['SYNCED']&&_0x4228b4['data'][_0x2f6612(0x16d)]['some'](_0x598cad=>_0x598cad['id']===_0x388f9a['id'])&&(this['_historyManagerService'][_0x2f6612(0x189)](),_0x21d306['unsubscribe'](),this[_0x2f6612(0x150)]&&clearTimeout(this[_0x2f6612(0x150)]),await((_0x42fc61=this[_0x2f6612(0x19b)])==null?void 0x0:_0x42fc61[_0x2f6612(0x160)]()),setTimeout(()=>window['location'][_0x2f6612(0x1ae)]()));});this[_0xdf642b(0x150)]=setTimeout(()=>{const _0x2530db=_0xdf642b;_0x21d306['unsubscribe'](),this[_0x2530db(0x172)][_0x2530db(0x188)]({'content':this[_0x2530db(0x19d)]['t'](_0x2530db(0x144)),'type':_0x57be99['Error'],'duration':0xbb8});},0x1388);}}));}};p=pi([m(0x0,_0x270472),m(0x1,_0x26094f),m(0x2,_0x4d0f78(_0x529cde)),m(0x3,_0x4d0f78(f)),m(0x4,_0x4d0f78(_0x5a075e)),m(0x5,_0xea87f8),m(0x6,_0x4d0f78(_0x450258)),m(0x7,_0x3ebc56)],p);var Si=Object[_0x39a409(0x154)],Ci=(_0x16c1b2,_0x3ccd86,_0xa686e7,_0x1eaf6c)=>{const _0x3d9030=_0x39a409;for(var _0x4479b3=_0x1eaf6c>0x1?void 0x0:_0x1eaf6c?Si(_0x3ccd86,_0xa686e7):_0x3ccd86,_0x5d1b54=_0x16c1b2[_0x3d9030(0x1d5)]-0x1,_0x3e5cf1;_0x5d1b54>=0x0;_0x5d1b54--)(_0x3e5cf1=_0x16c1b2[_0x5d1b54])&&(_0x4479b3=_0x3e5cf1(_0x4479b3)||_0x4479b3);return _0x4479b3;},R=(_0x5ad2c9,_0x437e3f)=>(_0x598bd2,_0x1822ac)=>_0x437e3f(_0x598bd2,_0x1822ac,_0x5ad2c9);function _0x197d(){const _0x557b40=['univerjs-icon\x20univerjs-icon-','editHistory.panel.listFetchError','displayName','1em','mergeMenu','16WnFYyS','exhaustSavingTask','url(#history-icon_clip0_907_281)','setTheme','random','CHANGESET_ACK','add','path','getConfig','onCommandExecuted','subscribe','_initContainer','Loading','registerCommand','mutations','defineProperty','_checkCanRevert','setDarkMode','_dialogService','_messageService','93471FbHidw','638771UfhcOi','attrs','darkMode$','assign','clipPath','setLocale','history-container','12XYIaiq','state$','asObservable','absolute','OPERATION','params','fill','M0\x200H16V16H0z','OTHERS','mountHistoryContent','map','has','getCurrentLocale','show','unMountHistoryContent','__getInjector','colorChannel1','historyUniver$','defIds','position','register','idSuffix','Entered','style','_injector','every','univerContainerId','_collaborationController','height','status$','[HistoryLoaderService]:\x20Plugin\x20','forEach','_localCacheService','getUnit','_localeService','1000','_initUniver','Exited','white','7220270TVJhdz','tag','UniverIcon','use','_selectionProtectionRuleModel','permissionId','_init','xlink:href','0\x200\x2016\x2016','univer.operation.toggle-edit-history','string','getSubunitRuleList','reload','edit-history-loader.config','dispose','getElementById','display','none','registerPlugin','getAllPlugins','pluginName','executeCommand','_menuManagerService','_config','_historyUniver$','menu','set','UNIVER_UNKNOWN','_componentManager','left','260740EZoSux','8zacMQB','includes','HistoryIcon','117213kkmlvK','_univerInstanceService','onSteady','eventID','univer-container','get','setConfig','getLocales','getSheets','value','event$','status','_initListener','univer-history-container','mask','currentColor','currentTheme$','length','createElement','close','BUTTON','next','triggerLoadVersions','historyPanelComponentKey','children','_pluginMap','zIndex','_initPlugins','UNIVER_CONTAINER_ID','getSheetId','disposeWithMe','_commandService','closeAll','replace','editHistory.panel.revertFailed','./worker.js','entries','substring','_configService','invoke','_themeService','_sidebarService','composePermission','100%','historyUniver','_permissionService','_revertErrorTimer','uComp','Error','width','getOwnPropertyDescriptor','1650888IfWVIB','23540HzuijY','type','defs','_disposableCollection'];_0x197d=function(){return _0x557b40;};return _0x197d();}const yi='UNIVER_EDIT_HISTORY_LOADER_PLUGIN';var _;let H=(_=class extends _0x219636{constructor(_0x1e0186=N,_0x2a515b,_0x586356){const _0x501206=_0x39a409;super(),this[_0x501206(0x1b9)]=_0x1e0186,this[_0x501206(0x193)]=_0x2a515b,this[_0x501206(0x148)]=_0x586356;const {menu:_0x52ba3e,..._0x31a2c7}=_0x4aa835({},N,this['_config']);_0x52ba3e&&this[_0x501206(0x148)][_0x501206(0x1ca)](_0x501206(0x1bb),_0x52ba3e,{'merge':!0x0}),this[_0x501206(0x148)][_0x501206(0x1ca)](U,_0x31a2c7),this['_config'][_0x501206(0x195)]&&this[_0x501206(0x148)]['setConfig'](G,this['_config'][_0x501206(0x195)]);}['onStarting'](){const _0x177403=_0x39a409;[[f],[p]][_0x177403(0x19a)](_0x2ab5ee=>this[_0x177403(0x193)][_0x177403(0x165)](_0x2ab5ee));}[_0x39a409(0x1c6)](){const _0x39443d=_0x39a409;this[_0x39443d(0x193)][_0x39443d(0x1c9)](p);}},g(_,_0x39a409(0x157),_0x33cada[_0x39a409(0x1bd)]),g(_,'pluginName',yi),_);H=Ci([R(0x1,_0x4d0f78(_0x2a077e)),R(0x2,_0x1036a9)],H);export{f as HistoryLoaderService,G as UNIVER_CONTAINER_ID_KEY,d as UNIVER_HISTORY_CONTAINER_ID,H as UniverEditHistoryLoaderPlugin};
1
+ const _0x367929=_0x3bd2;(function(_0x5f39e0,_0x59904e){const _0x39bcd8=_0x3bd2,_0x31b892=_0x5f39e0();while(!![]){try{const _0x810d5f=-parseInt(_0x39bcd8(0xba))/0x1*(parseInt(_0x39bcd8(0xcd))/0x2)+parseInt(_0x39bcd8(0xe2))/0x3*(parseInt(_0x39bcd8(0x10a))/0x4)+-parseInt(_0x39bcd8(0xbd))/0x5*(parseInt(_0x39bcd8(0xda))/0x6)+parseInt(_0x39bcd8(0x9e))/0x7+parseInt(_0x39bcd8(0xdb))/0x8+-parseInt(_0x39bcd8(0x12a))/0x9+-parseInt(_0x39bcd8(0xb3))/0xa;if(_0x810d5f===_0x59904e)break;else _0x31b892['push'](_0x31b892['shift']());}catch(_0x203055){_0x31b892['push'](_0x31b892['shift']());}}}(_0x37a9,0x522a7));function _0x37a9(){const _0x913b6f=['\x20has\x20been\x20registered.','_injector','_menuManagerService','reload','getAllPlugins','_localCacheService','height','use','OTHERS','next','./worker.js','setDarkMode','Entered','composePermission','subscribe','getSubunitRuleList','svg','string','length','history-icon','zIndex','appendChild','_univerInstanceService','univer.operation.toggle-edit-history','tag','revertRevision$','clear','triggerLoadVersions','_sidebarService','status$','155529gCqbti','getSheets','dataset','random','univerjs-icon\x20univerjs-icon-','style','getConfig','_configService','SYNCED','block','UNIVER_UNKNOWN','xlink:href','trim','value','OPERATION','historyUniver','_componentManager','getCollabEntity','editHistory.panel.reverting','path','entries','_historyManagerService','history-icon_clip0_907_281','defIds','historyPanelComponentKey','asObservable','_pluginMap','setConfig','createElement','mergeMenu','3280067qHaOSC','map','1em','M0\x200H16V16H0z','location','absolute','defineProperty','registerCommand','mask','pluginName','dispose','Error','editHistory.panel.listFetchError','100%','editHistory.panel.revertFailed','getUnit','_dialogService','toString','BUTTON','__getInjector','defs','3376700tXMCOB','current','setTheme','_historyUniver$','history-container','_collaborationController','onSteady','1osyBFj','_commandService','univer-history-container','69545RmzFMZ','disposeWithMe','display','every','data','_themeService','_revertErrorTimer','_initPlugins','univerContainerId','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','UniverIcon','width','_config','closeAll','[HistoryLoaderService]:\x20Plugin\x20','unsubscribe','1179458Cyriax','_checkCanRevert','getElementById','historyUniver$','_selectionProtectionRuleModel','register','session','eventID','add','mountHistoryContent','editHistory.panel.title','onStarting','div','12MzvygZ','4074528KXoWyQ','historyListServerUrl','1000','attrs','getCurrentLocale','colorChannel1','children','3YCgxCA','params','getSheetId','state$','executeCommand','invoke','substring','exhaustSavingTask','_disposableCollection','univer-container','Loading','_messageService','get','_initUniver','event$','UNIVER_CONTAINER_ID','_init','fill','idSuffix','url(#$1','none','replace','setLocale','assign','unMountHistoryContent','values','close','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','flat','set','position','registerPlugin','HistoryIcon','symbol','show','getOwnPropertyDescriptor','mutations','forEach','_localeService','url(#history-icon_clip0_907_281)','1324608BTALOu','_permissionService'];_0x37a9=function(){return _0x913b6f;};return _0x37a9();}var Y=Object[_0x367929(0xa4)],B=(_0x36781d,_0x314015,_0x384de5)=>_0x314015 in _0x36781d?Y(_0x36781d,_0x314015,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x384de5}):_0x36781d[_0x314015]=_0x384de5,g=(_0x3808af,_0x38db27,_0x3c62b3)=>B(_0x3808af,typeof _0x38db27!=_0x367929(0x103)?_0x38db27+'':_0x38db27,_0x3c62b3);import{Inject as _0x3a681a,LocaleService as _0x3f4791,IUniverInstanceService as _0x3e110e,IConfigService as _0x1d2255,ICommandService as _0x591114,IPermissionService as _0x3c490f,ThemeService as _0x1a393d,Disposable as _0x124845,DisposableCollection as _0x28ede2,Univer as _0x43c4fb,IAuthzIoService as _0xe15076,CommandType as _0x5e2d84,UniverInstanceType as _0x1969ac,RxDisposable as _0x3618fa,toDisposable as _0x299325,Plugin as _0x5b8387,merge as _0x57defd,Injector as _0x5b5fc7}from'@univerjs/core';import{UniverCollaborationPlugin as _0x269ec1,RevertRevisionMutation as _0x38a934,CollaborationEvent as _0x31350f}from'@univerjs-pro/collaboration';import{AuthzIoHttpService as _0x440cb6,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x511c7a,CollaborationController as _0x4760cc,ILocalCacheService as _0x1e5fff,CollaborationStatus as _0x30d8d3}from'@univerjs-pro/collaboration-client';import{MessageType as _0x1d2dba}from'@univerjs/design';import{useRef as _0x2f7533,createElement as _0x2c016b,forwardRef as _0x1c7c3c}from'react';import{IMessageService as _0x108a0f,IDialogService as _0xead82a,ISidebarService as _0x3bfd0f,UniverUIPlugin as _0x5d1301,getMenuHiddenObservable as _0x216ba1,MenuItemType as _0x5628d5,RibbonStartGroup as _0x60a397,IMenuManagerService as _0x1d907c,ComponentManager as _0x521098}from'@univerjs/ui';import{BehaviorSubject as _0x43bdb2,combineLatest as _0x376ec6}from'rxjs';import{RangeProtectionRuleModel as _0x450f85,UniverSheetsPlugin as _0x27acd5,WorkbookEditablePermission as _0x2545f3,WorksheetEditPermission as _0x367e9d,RangeProtectionPermissionEditPoint as _0x2d83a2,WorkbookRecoverHistoryPermission as _0x5b2c68,getSheetCommandTarget as _0x2149a1,WorkbookViewHistoryPermission as _0x355bc4}from'@univerjs/sheets';function _0x3bd2(_0x4078d0,_0x386191){_0x4078d0=_0x4078d0-0x94;const _0x37a955=_0x37a9();let _0x3bd237=_0x37a955[_0x4078d0];return _0x3bd237;}import{UniverEditHistoryViewerPlugin as _0x5f557a,HistoryManagerService as _0x437ca5,HistoryModeStatus as _0x13817f}from'@univerjs-pro/edit-history-viewer';import{LS_CONFIG_KEY as _0x2d2c6c,UniverLicensePlugin as _0x3de666}from'@univerjs-pro/license';import{UniverSheetsChartPlugin as _0x344e2a}from'@univerjs-pro/sheets-chart';import{UniverSheetsChartUIPlugin as _0x19e3c8}from'@univerjs-pro/sheets-chart-ui';import{UniverSheetsPivotTablePlugin as _0x24fd48}from'@univerjs-pro/sheets-pivot';import{UniverSheetSparklinePlugin as _0x261172}from'@univerjs-pro/sheets-sparkline';import{UniverSheetSparklineUIPlugin as _0x8c7485}from'@univerjs-pro/sheets-sparkline-ui';import{UniverDataValidationPlugin as _0x134b19}from'@univerjs/data-validation';import{UniverDocsPlugin as _0x5e3711}from'@univerjs/docs';import{UniverDocsUIPlugin as _0x1639cb}from'@univerjs/docs-ui';import{UniverDrawingPlugin as _0x5c4301,IImageIoService as _0x24131d}from'@univerjs/drawing';import{UniverDrawingUIPlugin as _0x241ed5}from'@univerjs/drawing-ui';import{UniverFormulaEnginePlugin as _0x5b2757}from'@univerjs/engine-formula';import{UniverRenderEnginePlugin as _0x5155d2}from'@univerjs/engine-render';import{UniverNetworkPlugin as _0x2e2639}from'@univerjs/network';import{UniverRPCMainThreadPlugin as _0x1d3471,PLUGIN_CONFIG_KEY_MAIN_THREAD as _0x2097b7}from'@univerjs/rpc';import{UniverSheetsConditionalFormattingPlugin as _0x4cf6e2}from'@univerjs/sheets-conditional-formatting';import{UniverSheetsConditionalFormattingUIPlugin as _0x221c2b}from'@univerjs/sheets-conditional-formatting-ui';import{UniverSheetsDataValidationPlugin as _0x2b9816}from'@univerjs/sheets-data-validation';import{UniverSheetsDataValidationUIPlugin as _0x30a166}from'@univerjs/sheets-data-validation-ui';import{UniverSheetsDrawingPlugin as _0x5cfd36}from'@univerjs/sheets-drawing';import{UniverSheetsDrawingUIPlugin as _0x55bf51}from'@univerjs/sheets-drawing-ui';import{UniverSheetsFilterPlugin as _0x1e106c}from'@univerjs/sheets-filter';import{UniverSheetsFilterUIPlugin as _0x552a89}from'@univerjs/sheets-filter-ui';import{UniverSheetsFormulaPlugin as _0xd0a808}from'@univerjs/sheets-formula';import{UniverSheetsFormulaUIPlugin as _0x7e68f2}from'@univerjs/sheets-formula-ui';import{UniverSheetsHyperLinkPlugin as _0x4d2f9f}from'@univerjs/sheets-hyper-link';import{UniverSheetsHyperLinkUIPlugin as _0x566754}from'@univerjs/sheets-hyper-link-ui';import{UniverSheetsNumfmtPlugin as _0xe59536}from'@univerjs/sheets-numfmt';import{UniverSheetsUIPlugin as _0x49c66b,getCurrentRangeDisable$ as _0x5bc44b}from'@univerjs/sheets-ui';const U='edit-history-loader.config',N={};function F({ref:_0x32d1a1,..._0x1a83ff}){const _0x5e77de=_0x367929,{icon:_0x5b603a,id:_0x21a2ef,className:_0x2b971c,extend:_0x18c96e,..._0x7869f1}=_0x1a83ff,_0x22cc47=(_0x5e77de(0x12e)+_0x21a2ef+'\x20'+(_0x2b971c||''))[_0x5e77de(0x136)](),_0x15904b=_0x2f7533('_'+hi());return j(_0x5b603a,''+_0x21a2ef,{'defIds':_0x5b603a[_0x5e77de(0x97)],'idSuffix':_0x15904b[_0x5e77de(0xb4)]},{'ref':_0x32d1a1,'className':_0x22cc47,..._0x7869f1},_0x18c96e);}function j(_0x14e8f4,_0x50b137,_0x65cc26,_0xa43e2,_0x32414a){const _0x3fe971=_0x367929;return _0x2c016b(_0x14e8f4['tag'],{'key':_0x50b137,...ci(_0x14e8f4,_0x65cc26,_0x32414a),..._0xa43e2},(li(_0x14e8f4,_0x65cc26)[_0x3fe971(0xe1)]||[])[_0x3fe971(0x9f)]((_0xd3093e,_0x58e418)=>j(_0xd3093e,_0x50b137+'-'+_0x14e8f4['tag']+'-'+_0x58e418,_0x65cc26,void 0x0,_0x32414a)));}function ci(_0x30aba3,_0x5b3b63,_0x416698){const _0x371efc=_0x367929,_0x440aa7={..._0x30aba3[_0x371efc(0xde)]};_0x416698!=null&&_0x416698[_0x371efc(0xe0)]&&_0x440aa7[_0x371efc(0xf3)]===_0x371efc(0xe0)&&(_0x440aa7[_0x371efc(0xf3)]=_0x416698[_0x371efc(0xe0)]),_0x30aba3[_0x371efc(0x124)]===_0x371efc(0xa6)&&_0x440aa7['id']&&(_0x440aa7['id']=_0x440aa7['id']+_0x5b3b63[_0x371efc(0xf4)]),Object[_0x371efc(0x94)](_0x440aa7)[_0x371efc(0x107)](([_0x2a13e8,_0x257287])=>{const _0x1a9df2=_0x371efc;_0x2a13e8===_0x1a9df2(0xa6)&&typeof _0x257287==_0x1a9df2(0x11d)&&(_0x440aa7[_0x2a13e8]=_0x257287['replace'](/url\(#(.*)\)/,_0x1a9df2(0xf5)+_0x5b3b63[_0x1a9df2(0xf4)]+')'));});const {defIds:_0x5e7ba1}=_0x5b3b63;return!_0x5e7ba1||_0x5e7ba1['length']===0x0||(_0x30aba3[_0x371efc(0x124)]===_0x371efc(0x113)&&_0x440aa7[_0x371efc(0x135)]&&(_0x440aa7['xlink:href']=_0x440aa7[_0x371efc(0x135)]+_0x5b3b63[_0x371efc(0xf4)]),Object[_0x371efc(0x94)](_0x440aa7)[_0x371efc(0x107)](([_0x56656f,_0x307641])=>{const _0x16bcec=_0x371efc;typeof _0x307641=='string'&&(_0x440aa7[_0x56656f]=_0x307641[_0x16bcec(0xf7)](/url\(#(.*)\)/,_0x16bcec(0xf5)+_0x5b3b63[_0x16bcec(0xf4)]+')'));})),_0x440aa7;}function li(_0x344ae0,_0x507ad7){const _0x21556f=_0x367929;var _0x3b3e06;const {defIds:_0x5385a3}=_0x507ad7;return!_0x5385a3||_0x5385a3[_0x21556f(0x11e)]===0x0?_0x344ae0:_0x344ae0[_0x21556f(0x124)]===_0x21556f(0xb2)&&((_0x3b3e06=_0x344ae0[_0x21556f(0xe1)])!=null&&_0x3b3e06[_0x21556f(0x11e)])?{..._0x344ae0,'children':_0x344ae0['children']['map'](_0x4e22a3=>typeof _0x4e22a3['attrs']['id']=='string'&&_0x5385a3&&_0x5385a3['includes'](_0x4e22a3[_0x21556f(0xde)]['id'])?{..._0x4e22a3,'attrs':{..._0x4e22a3[_0x21556f(0xde)],'id':_0x4e22a3[_0x21556f(0xde)]['id']+_0x507ad7[_0x21556f(0xf4)]}}:_0x4e22a3)}:_0x344ae0;}function hi(){const _0x2462f0=_0x367929;return Math[_0x2462f0(0x12d)]()[_0x2462f0(0xaf)](0x24)[_0x2462f0(0xe8)](0x2,0x8);}F['displayName']=_0x367929(0xc7);const ui={'tag':_0x367929(0x11c),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x367929(0xf6),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x367929(0xa0)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':_0x367929(0x109)},'children':[{'tag':_0x367929(0x13d),'attrs':{'d':'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'}},{'tag':_0x367929(0x13d),'attrs':{'d':_0x367929(0xc6)}}]},{'tag':_0x367929(0xb2),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x367929(0x96)},'children':[{'tag':_0x367929(0x13d),'attrs':{'fill':'white','d':_0x367929(0xa1)}}]}]}],'defIds':['history-icon_clip0_907_281']},V=_0x1c7c3c(function(_0x43575a,_0x5d65ef){const _0x41c434=_0x367929;return _0x2c016b(F,Object[_0x41c434(0xf9)]({},_0x43575a,{'id':_0x41c434(0x11f),'ref':_0x5d65ef,'icon':ui}));});V['displayName']=_0x367929(0x102);var gi=Object[_0x367929(0x105)],mi=(_0x36b06d,_0x3e250f,_0x53516d,_0x1389cc)=>{const _0x3772ac=_0x367929;for(var _0x40cfa5=_0x1389cc>0x1?void 0x0:_0x1389cc?gi(_0x3e250f,_0x53516d):_0x3e250f,_0x57c406=_0x36b06d[_0x3772ac(0x11e)]-0x1,_0x3f25cd;_0x57c406>=0x0;_0x57c406--)(_0x3f25cd=_0x36b06d[_0x57c406])&&(_0x40cfa5=_0x3f25cd(_0x40cfa5)||_0x40cfa5);return _0x40cfa5;},l=(_0x2e75c1,_0x11bcc2)=>(_0x69e276,_0x3d1165)=>_0x11bcc2(_0x69e276,_0x3d1165,_0x2e75c1);const vi=_0x367929(0xeb),G=_0x367929(0xf1),d=_0x367929(0xbc);let f=class extends _0x124845{constructor(_0x5b7141,_0x4f046f,_0x2a8418,_0x17ac6a,_0x309ef1,_0x24c384,_0x1f85e7,_0x2b4be5,_0x192be8,_0x58a034){const _0x1c5bc7=_0x367929;super(),g(this,_0x1c5bc7(0xb6),new _0x43bdb2(null)),g(this,_0x1c5bc7(0xd0),this[_0x1c5bc7(0xb6)][_0x1c5bc7(0x99)]()),g(this,_0x1c5bc7(0xea),new _0x28ede2()),g(this,_0x1c5bc7(0x9a),new Map()),(this[_0x1c5bc7(0x108)]=_0x5b7141,this['_univerInstanceService']=_0x4f046f,this[_0x1c5bc7(0x131)]=_0x2a8418,this[_0x1c5bc7(0xbb)]=_0x17ac6a,this[_0x1c5bc7(0xed)]=_0x309ef1,this[_0x1c5bc7(0x10b)]=_0x24c384,this[_0x1c5bc7(0xd1)]=_0x1f85e7,this[_0x1c5bc7(0xae)]=_0x2b4be5,this[_0x1c5bc7(0x128)]=_0x192be8,this[_0x1c5bc7(0xc2)]=_0x58a034,this['_init']());}get[_0x367929(0x139)](){const _0x16b3dd=_0x367929;return this[_0x16b3dd(0xb6)][_0x16b3dd(0x137)];}[_0x367929(0xf2)](){const _0x3fd69f=_0x367929;this['_initContainer'](),this[_0x3fd69f(0xc4)]();}['_initContainer'](){const _0x19eef0=_0x367929;var _0x4be08f;const _0x31d71d=(_0x4be08f=this[_0x19eef0(0x131)]['getConfig'](G))!=null?_0x4be08f:vi,_0x3426c0=document[_0x19eef0(0xcf)](_0x31d71d);if(!_0x3426c0)return;const _0x338b82=document[_0x19eef0(0x9c)](_0x19eef0(0xd9));_0x338b82['id']=d,_0x338b82[_0x19eef0(0x12c)]['uComp']=_0x19eef0(0xb7),_0x338b82[_0x19eef0(0x12f)][_0x19eef0(0x100)]=_0x19eef0(0xa3),_0x338b82['style']['top']='0',_0x338b82['style']['left']='0',_0x338b82[_0x19eef0(0x12f)][_0x19eef0(0xc8)]=_0x19eef0(0xab),_0x338b82[_0x19eef0(0x12f)][_0x19eef0(0x112)]=_0x19eef0(0xab),_0x338b82[_0x19eef0(0x12f)][_0x19eef0(0x120)]=_0x19eef0(0xdd),_0x338b82[_0x19eef0(0x12f)][_0x19eef0(0xbf)]=_0x19eef0(0xf6),_0x3426c0[_0x19eef0(0x121)](_0x338b82);}[_0x367929(0xc4)](){const _0xd42645=_0x367929;var _0xc54cc,_0x2440fe,_0x37a552,_0xf5f60b;[[_0x5155d2],[_0x5d1301,{'container':d,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0xead82a,null]]}],[_0x2e2639],[_0x5c4301,{'override':[[_0x24131d,null]]}],[_0x5e3711,{'hasScroll':!0x1}],[_0x1639cb],[_0xe59536],[_0x27acd5,{'notExecuteFormula':!0x0}],[_0x49c66b],[_0xd0a808],[_0x7e68f2],[_0x269ec1],[_0x1e106c],[_0x552a89],[_0x4cf6e2],[_0x221c2b],[_0x4d2f9f],[_0x566754],[_0x134b19],[_0x2b9816],[_0x30a166],[_0x5b2757,{'notExecuteFormula':!0x0}],[_0x1d3471,{'workerURL':(_0x2440fe=(_0xc54cc=this[_0xd42645(0x131)][_0xd42645(0x130)](_0x2097b7))==null?void 0x0:_0xc54cc['workerURL'])!=null?_0x2440fe:_0xd42645(0x116)}],[_0x241ed5],[_0x5cfd36],[_0x55bf51],[_0x261172],[_0x8c7485],[_0x344e2a],[_0x19e3c8],[_0x24fd48,{'notExecuteFormula':!0x0}],[_0x5f557a,{'historyListServerUrl':(_0x37a552=this['_configService'][_0xd42645(0x130)](U))==null?void 0x0:_0x37a552[_0xd42645(0xdc)],'historyPanelComponentKey':(_0xf5f60b=this['_configService']['getConfig'](U))==null?void 0x0:_0xf5f60b[_0xd42645(0x98)]}]][_0xd42645(0x107)](([_0x2d82b4,_0xa8824e])=>this[_0xd42645(0x101)](_0x2d82b4,_0xa8824e));}[_0x367929(0xa8)](){const _0x5df634=_0x367929;super[_0x5df634(0xa8)](),this[_0x5df634(0xfa)](),this[_0x5df634(0x9a)][_0x5df634(0x126)]();}['registerPlugin'](_0x4713c7,_0x4eee48,_0x4da162){const _0xbd6fef=_0x367929;if(this[_0xbd6fef(0x9a)]['has'](_0x4713c7[_0xbd6fef(0xa7)])&&!_0x4da162)throw new Error(_0xbd6fef(0xcb)+_0x4713c7['pluginName']+_0xbd6fef(0x10c));this['_pluginMap'][_0xbd6fef(0xff)](_0x4713c7[_0xbd6fef(0xa7)],[_0x4713c7,_0x4eee48]);}[_0x367929(0x110)](){const _0x521616=_0x367929;return Array['from'](this['_pluginMap'][_0x521616(0xfb)]());}[_0x367929(0xd6)](_0x9f17f){const _0x5ea3ab=_0x367929,_0x29de85=document[_0x5ea3ab(0xcf)](d);_0x29de85&&(_0x29de85[_0x5ea3ab(0x12f)]['display']=_0x5ea3ab(0x133),this[_0x5ea3ab(0xef)](_0x9f17f,d));}[_0x367929(0xfa)](){const _0x2aeccb=_0x367929;var _0x1f67e7;this['_disposableCollection'][_0x2aeccb(0xa8)](),(_0x1f67e7=this['historyUniver'])==null||_0x1f67e7[_0x2aeccb(0xa8)](),this[_0x2aeccb(0xb6)][_0x2aeccb(0x115)](null);const _0xaf6ba8=document[_0x2aeccb(0xcf)](d);_0xaf6ba8&&(_0xaf6ba8[_0x2aeccb(0x12f)][_0x2aeccb(0xbf)]=_0x2aeccb(0xf6));}[_0x367929(0xef)](_0x789a96,_0x6b5be){const _0x5899e8=_0x367929;if(this[_0x5899e8(0x139)])return;const _0x17451c=new _0x43c4fb({'locales':{[this[_0x5899e8(0x108)][_0x5899e8(0xdf)]()]:this[_0x5899e8(0x108)]['getLocales']()},'override':[[_0xe15076,{'useClass':_0x440cb6}]]}),_0x55f475=_0x17451c[_0x5899e8(0xb1)]();this[_0x5899e8(0xbe)](this['_themeService']['darkMode$'][_0x5899e8(0x11a)](_0x522f1d=>{const _0x26eeb6=_0x5899e8;_0x55f475[_0x26eeb6(0xee)](_0x1a393d)[_0x26eeb6(0x117)](_0x522f1d);})),this[_0x5899e8(0xbe)](this[_0x5899e8(0xc2)]['currentTheme$']['subscribe'](_0x4261fc=>{const _0x5af134=_0x5899e8;_0x55f475[_0x5af134(0xee)](_0x1a393d)[_0x5af134(0xb5)](_0x4261fc);})),_0x55f475[_0x5899e8(0xee)](_0x3f4791)[_0x5899e8(0xf8)](this[_0x5899e8(0x108)][_0x5899e8(0xdf)]()),_0x55f475[_0x5899e8(0xee)](_0x1d2255)[_0x5899e8(0x9b)](_0x511c7a,this[_0x5899e8(0x131)][_0x5899e8(0x130)](_0x511c7a));const _0x5a9e90=this[_0x5899e8(0x131)][_0x5899e8(0x130)](_0x2d2c6c);_0x5a9e90&&_0x17451c[_0x5899e8(0x101)](_0x3de666,{'license':_0x5a9e90['ls']}),this[_0x5899e8(0x9a)]['forEach'](([_0x179e0f,_0x138cb2])=>{_0x17451c['registerPlugin'](_0x179e0f,_0x138cb2);}),_0x55f475[_0x5899e8(0xe7)](_0x3dcca2=>{this['_initListener'](_0x3dcca2,_0x789a96);}),this[_0x5899e8(0xb6)][_0x5899e8(0x115)](_0x17451c);const _0x47cc9e=_0x55f475[_0x5899e8(0xee)](_0x437ca5),_0x5542e0=this[_0x5899e8(0xce)](_0x789a96);_0x47cc9e[_0x5899e8(0x127)](_0x789a96,_0x6b5be,_0x5542e0);}['_initListener'](_0x13b56e,_0x376526){const _0xcd2eaa=_0x367929,_0x2fb77b=_0x13b56e[_0xcd2eaa(0xee)](_0x437ca5);this['_disposableCollection']['add'](_0x2fb77b[_0xcd2eaa(0x129)][_0xcd2eaa(0x11a)](_0x1e48ef=>{const _0x3dedea=_0xcd2eaa;switch(_0x1e48ef){case _0x13817f[_0x3dedea(0x118)]:this[_0x3dedea(0xae)][_0x3dedea(0xca)](),this[_0x3dedea(0x128)][_0x3dedea(0xfc)]();break;case _0x13817f['Exited']:this[_0x3dedea(0xbb)][_0x3dedea(0xe6)](W['id']),this[_0x3dedea(0xfa)]();break;case _0x13817f['Error']:this[_0x3dedea(0xfa)](),this[_0x3dedea(0xed)][_0x3dedea(0x104)]({'content':this['_localeService']['t'](_0x3dedea(0xaa)),'type':_0x1d2dba[_0x3dedea(0xa9)],'duration':0xbb8});break;}})),this[_0xcd2eaa(0xea)]['add'](_0x2fb77b[_0xcd2eaa(0x125)][_0xcd2eaa(0x11a)](async _0x58a3b=>{const _0x13ac12=_0xcd2eaa;_0x58a3b&&this[_0x13ac12(0xbb)][_0x13ac12(0xe6)](_0x38a934['id'],{'unitId':_0x376526,'revision':_0x58a3b});}));}[_0x367929(0xce)](_0x45d93b){const _0x337ad2=_0x367929,_0x1896f7=this[_0x337ad2(0x122)][_0x337ad2(0xad)](_0x45d93b)[_0x337ad2(0x12b)]()[_0x337ad2(0x9f)](_0x5a9231=>_0x5a9231[_0x337ad2(0xe4)]()),_0x412fbc=new _0x2545f3(_0x45d93b)['id'],_0x687485=_0x1896f7[_0x337ad2(0x9f)](_0x5da1ac=>new _0x367e9d(_0x45d93b,_0x5da1ac)['id']),_0x4fccf5=_0x1896f7[_0x337ad2(0x9f)](_0x27344d=>this[_0x337ad2(0xd1)][_0x337ad2(0x11b)](_0x45d93b,_0x27344d)['map'](_0x6a2997=>new _0x2d83a2(_0x45d93b,_0x27344d,_0x6a2997['permissionId'])['id']))[_0x337ad2(0xfe)](),_0x3eb7dc=new _0x5b2c68(_0x45d93b)['id'];return this['_permissionService'][_0x337ad2(0x119)]([_0x412fbc,..._0x687485,..._0x4fccf5,_0x3eb7dc])[_0x337ad2(0xc0)](_0x51f26b=>!!_0x51f26b[_0x337ad2(0x137)]);}};f=mi([l(0x0,_0x3a681a(_0x3f4791)),l(0x1,_0x3e110e),l(0x2,_0x1d2255),l(0x3,_0x591114),l(0x4,_0x108a0f),l(0x5,_0x3c490f),l(0x6,_0x3a681a(_0x450f85)),l(0x7,_0x3a681a(_0xead82a)),l(0x8,_0x3a681a(_0x3bfd0f)),l(0x9,_0x3a681a(_0x1a393d))],f);const b={'id':_0x367929(0x123),'type':_0x5e2d84[_0x367929(0x138)],'handler':_0x2bcd92=>{const _0x2a2e45=_0x367929,_0x1252ae=_0x2bcd92[_0x2a2e45(0xee)](f),_0x1a6b11=_0x2bcd92[_0x2a2e45(0xee)](_0x3e110e),{unitId:_0x223bb1}=_0x2149a1(_0x1a6b11)||{};return _0x223bb1?(_0x1252ae[_0x2a2e45(0xd6)](_0x223bb1),!0x0):!0x1;}},W={'id':'univer.operation.exit-edit-history','type':_0x5e2d84[_0x367929(0x138)],'handler':()=>!0x0};function di(_0x37b837){const _0x56f0e8=_0x367929;return{'id':b['id'],'type':_0x5628d5[_0x56f0e8(0xb0)],'icon':_0x56f0e8(0x102),'tooltip':_0x56f0e8(0xd7),'hidden$':_0x216ba1(_0x37b837,_0x1969ac['UNIVER_SHEET']),'disabled$':_0x5bc44b(_0x37b837,{'workbookTypes':[_0x2545f3,_0x355bc4],'worksheetTypes':[],'rangeTypes':[]})};}const fi={[_0x60a397[_0x367929(0x114)]]:{[b['id']]:{'order':0.2,'menuItemFactory':di}}};var _i=Object['getOwnPropertyDescriptor'],pi=(_0x358bdc,_0x4c42f4,_0x14bf0e,_0x74d913)=>{for(var _0x4cf5d4=_0x74d913>0x1?void 0x0:_0x74d913?_i(_0x4c42f4,_0x14bf0e):_0x4c42f4,_0x356df2=_0x358bdc['length']-0x1,_0x420605;_0x356df2>=0x0;_0x356df2--)(_0x420605=_0x358bdc[_0x356df2])&&(_0x4cf5d4=_0x420605(_0x4cf5d4)||_0x4cf5d4);return _0x4cf5d4;},m=(_0x521898,_0x25fbc6)=>(_0x57a6b4,_0x2e3022)=>_0x25fbc6(_0x57a6b4,_0x2e3022,_0x521898);let p=class extends _0x3618fa{constructor(_0x51ae10,_0x26503a,_0x44748a,_0x37b2f9,_0x2bcb41,_0xebf58e,_0x21d936,_0x24a610){const _0x31fcf3=_0x367929;super(),g(this,_0x31fcf3(0xc3),null),(this[_0x31fcf3(0xbb)]=_0x51ae10,this[_0x31fcf3(0x10e)]=_0x26503a,this['_componentManager']=_0x44748a,this[_0x31fcf3(0x95)]=_0x37b2f9,this[_0x31fcf3(0x108)]=_0x2bcb41,this[_0x31fcf3(0xed)]=_0xebf58e,this[_0x31fcf3(0xb8)]=_0x21d936,this['_localCacheService']=_0x24a610,this[_0x31fcf3(0xf2)]());}[_0x367929(0xf2)](){const _0x1c9cff=_0x367929;[b,W][_0x1c9cff(0x107)](_0x32cabc=>this[_0x1c9cff(0xbe)](_0x299325(this[_0x1c9cff(0xbb)][_0x1c9cff(0xa5)](_0x32cabc)))),this['disposeWithMe'](this[_0x1c9cff(0x13a)][_0x1c9cff(0xd2)](_0x1c9cff(0x102),V)),this[_0x1c9cff(0x10e)][_0x1c9cff(0x9d)](fi),this[_0x1c9cff(0xbe)](this[_0x1c9cff(0xbb)]['onCommandExecuted'](_0x1af5ac=>{const _0x5efe0f=_0x1c9cff;if(_0x1af5ac['id']===_0x38a934['id']){this[_0x5efe0f(0xed)]['show']({'content':this[_0x5efe0f(0x108)]['t'](_0x5efe0f(0x13c)),'type':_0x1d2dba[_0x5efe0f(0xec)],'duration':0x1388});const {unitId:_0x570eab}=_0x1af5ac[_0x5efe0f(0xe3)],_0x507ebe=this[_0x5efe0f(0xb8)][_0x5efe0f(0x13b)](_0x570eab),_0x17ccfc=_0x376ec6([_0x507ebe[_0x5efe0f(0xd3)][_0x5efe0f(0xf0)],_0x507ebe[_0x5efe0f(0xe5)]])[_0x5efe0f(0x11a)](async([_0x3f0ab3,_0x3cb315])=>{const _0x4ac0f4=_0x5efe0f;var _0x32f34d;_0x3f0ab3[_0x4ac0f4(0xd4)]===_0x31350f['CHANGESET_ACK']&&(_0x3cb315==null?void 0x0:_0x3cb315['status'])===_0x30d8d3[_0x4ac0f4(0x132)]&&_0x3f0ab3[_0x4ac0f4(0xc1)][_0x4ac0f4(0x106)]['some'](_0x2f4f53=>_0x2f4f53['id']===_0x38a934['id'])&&(this[_0x4ac0f4(0x95)][_0x4ac0f4(0xfa)](),_0x17ccfc['unsubscribe'](),this[_0x4ac0f4(0xc3)]&&clearTimeout(this[_0x4ac0f4(0xc3)]),await((_0x32f34d=this[_0x4ac0f4(0x111)])==null?void 0x0:_0x32f34d[_0x4ac0f4(0xe9)]()),setTimeout(()=>window[_0x4ac0f4(0xa2)][_0x4ac0f4(0x10f)]()));});this['_revertErrorTimer']=setTimeout(()=>{const _0x5a14e7=_0x5efe0f;_0x17ccfc[_0x5a14e7(0xcc)](),this['_messageService']['show']({'content':this[_0x5a14e7(0x108)]['t'](_0x5a14e7(0xac)),'type':_0x1d2dba[_0x5a14e7(0xa9)],'duration':0xbb8});},0x1388);}}));}};p=pi([m(0x0,_0x591114),m(0x1,_0x1d907c),m(0x2,_0x3a681a(_0x521098)),m(0x3,_0x3a681a(f)),m(0x4,_0x3a681a(_0x3f4791)),m(0x5,_0x108a0f),m(0x6,_0x3a681a(_0x4760cc)),m(0x7,_0x1e5fff)],p);var Si=Object['getOwnPropertyDescriptor'],Ci=(_0x358b29,_0x53109b,_0x541c81,_0xee719c)=>{const _0x3dfdc7=_0x367929;for(var _0x47de7a=_0xee719c>0x1?void 0x0:_0xee719c?Si(_0x53109b,_0x541c81):_0x53109b,_0x33f36d=_0x358b29[_0x3dfdc7(0x11e)]-0x1,_0x4f968f;_0x33f36d>=0x0;_0x33f36d--)(_0x4f968f=_0x358b29[_0x33f36d])&&(_0x47de7a=_0x4f968f(_0x47de7a)||_0x47de7a);return _0x47de7a;},R=(_0x4ad689,_0x678526)=>(_0x47824d,_0x267d5d)=>_0x678526(_0x47824d,_0x267d5d,_0x4ad689);const yi=_0x367929(0xfd);var _;let H=(_=class extends _0x5b8387{constructor(_0x5fbfd3=N,_0x53032c,_0x2d3476){const _0x52f0cb=_0x367929;super(),this[_0x52f0cb(0xc9)]=_0x5fbfd3,this[_0x52f0cb(0x10d)]=_0x53032c,this[_0x52f0cb(0x131)]=_0x2d3476;const {menu:_0x28b74a,..._0x4c2e1d}=_0x57defd({},N,this[_0x52f0cb(0xc9)]);_0x28b74a&&this[_0x52f0cb(0x131)][_0x52f0cb(0x9b)]('menu',_0x28b74a,{'merge':!0x0}),this[_0x52f0cb(0x131)]['setConfig'](U,_0x4c2e1d),this[_0x52f0cb(0xc9)]['univerContainerId']&&this[_0x52f0cb(0x131)]['setConfig'](G,this['_config'][_0x52f0cb(0xc5)]);}[_0x367929(0xd8)](){const _0x122234=_0x367929;[[f],[p]]['forEach'](_0x26c2a2=>this[_0x122234(0x10d)][_0x122234(0xd5)](_0x26c2a2));}[_0x367929(0xb9)](){const _0x501621=_0x367929;this[_0x501621(0x10d)][_0x501621(0xee)](p);}},g(_,'type',_0x1969ac[_0x367929(0x134)]),g(_,'pluginName',yi),_);H=Ci([R(0x1,_0x3a681a(_0x5b5fc7)),R(0x2,_0x1d2255)],H);export{f as HistoryLoaderService,G as UNIVER_CONTAINER_ID_KEY,d as UNIVER_HISTORY_CONTAINER_ID,H as UniverEditHistoryLoaderPlugin};
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- const _0x39a409=_0x4215;(function(_0x4328f9,_0x4a8bb9){const _0x3a085a=_0x4215,_0x5c98b0=_0x4328f9();while(!![]){try{const _0x4fc6e2=-parseInt(_0x3a085a(0x173))/0x1+parseInt(_0x3a085a(0x156))/0x2+parseInt(_0x3a085a(0x1c4))/0x3*(-parseInt(_0x3a085a(0x15f))/0x4)+parseInt(_0x3a085a(0x1c0))/0x5*(-parseInt(_0x3a085a(0x17b))/0x6)+parseInt(_0x3a085a(0x174))/0x7*(-parseInt(_0x3a085a(0x1c1))/0x8)+-parseInt(_0x3a085a(0x155))/0x9+parseInt(_0x3a085a(0x1a2))/0xa;if(_0x4fc6e2===_0x4a8bb9)break;else _0x5c98b0['push'](_0x5c98b0['shift']());}catch(_0x8ce1fe){_0x5c98b0['push'](_0x5c98b0['shift']());}}}(_0x197d,0x19a65));var Y=Object[_0x39a409(0x16e)],B=(_0x3165e9,_0x2b34d2,_0x5cb011)=>_0x2b34d2 in _0x3165e9?Y(_0x3165e9,_0x2b34d2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5cb011}):_0x3165e9[_0x2b34d2]=_0x5cb011,g=(_0x1cf6e9,_0x50036a,_0xc4d513)=>B(_0x1cf6e9,typeof _0x50036a!='symbol'?_0x50036a+'':_0x50036a,_0xc4d513);import{Inject as _0x4d0f78,LocaleService as _0x5a075e,IUniverInstanceService as _0x47b3be,IConfigService as _0x1036a9,ICommandService as _0x270472,IPermissionService as _0x44885c,ThemeService as _0x2ea7de,Disposable as _0x49da04,DisposableCollection as _0x4ae443,Univer as _0x2af004,IAuthzIoService as _0x2e67dc,CommandType as _0x23553e,UniverInstanceType as _0x33cada,RxDisposable as _0x157ec3,toDisposable as _0x572451,Plugin as _0x219636,merge as _0x4aa835,Injector as _0x2a077e}from'@univerjs/core';import{UniverCollaborationPlugin as _0x21bf16,RevertRevisionMutation as _0x388f9a,CollaborationEvent as _0x18fd40}from'@univerjs-pro/collaboration';import{AuthzIoHttpService as _0x1e7fd3,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x431c30,CollaborationController as _0x450258,ILocalCacheService as _0x3ebc56,CollaborationStatus as _0x346212}from'@univerjs-pro/collaboration-client';import{MessageType as _0x57be99}from'@univerjs/design';import{useRef as _0x23c6f8,createElement as _0x353685,forwardRef as _0x4f6452}from'react';import{IMessageService as _0xea87f8,IDialogService as _0x56af60,ISidebarService as _0x4f29fb,UniverUIPlugin as _0xd84c08,getMenuHiddenObservable as _0x4e42e2,MenuItemType as _0x343a87,RibbonStartGroup as _0x57879a,IMenuManagerService as _0x26094f,ComponentManager as _0x529cde}from'@univerjs/ui';import{BehaviorSubject as _0x1e1719,combineLatest as _0x2accaf}from'rxjs';import{RangeProtectionRuleModel as _0x440857,UniverSheetsPlugin as _0x2d42f2,WorkbookEditablePermission as _0x30b2b0,WorksheetEditPermission as _0x38ce77,RangeProtectionPermissionEditPoint as _0x49c7c9,WorkbookRecoverHistoryPermission as _0x4755cd,getSheetCommandTarget as _0x335a78,WorkbookViewHistoryPermission as _0x244137}from'@univerjs/sheets';import{UniverEditHistoryViewerPlugin as _0x55f083,HistoryManagerService as _0x28e5b3,HistoryModeStatus as _0x31562f}from'@univerjs-pro/edit-history-viewer';import{LS_CONFIG_KEY as _0x42a5c0,UniverLicensePlugin as _0x2267c3}from'@univerjs-pro/license';import{UniverSheetsChartPlugin as _0x4a62d7}from'@univerjs-pro/sheets-chart';import{UniverSheetsChartUIPlugin as _0x1c1683}from'@univerjs-pro/sheets-chart-ui';import{UniverSheetsPivotTablePlugin as _0x54d5cc}from'@univerjs-pro/sheets-pivot';import{UniverSheetSparklinePlugin as _0x53a353}from'@univerjs-pro/sheets-sparkline';import{UniverSheetSparklineUIPlugin as _0x58f67d}from'@univerjs-pro/sheets-sparkline-ui';import{UniverDataValidationPlugin as _0x2415c8}from'@univerjs/data-validation';import{UniverDocsPlugin as _0x3e7d56}from'@univerjs/docs';import{UniverDocsUIPlugin as _0x1bc943}from'@univerjs/docs-ui';import{UniverDrawingPlugin as _0x3286a4,IImageIoService as _0x66f5be}from'@univerjs/drawing';import{UniverDrawingUIPlugin as _0x1e9d93}from'@univerjs/drawing-ui';import{UniverFormulaEnginePlugin as _0x37863c}from'@univerjs/engine-formula';import{UniverRenderEnginePlugin as _0x5ce173}from'@univerjs/engine-render';import{UniverNetworkPlugin as _0x3705a0}from'@univerjs/network';import{UniverRPCMainThreadPlugin as _0x395e79,PLUGIN_CONFIG_KEY_MAIN_THREAD as _0x569c2e}from'@univerjs/rpc';import{UniverSheetsConditionalFormattingPlugin as _0x1f0c0e}from'@univerjs/sheets-conditional-formatting';import{UniverSheetsConditionalFormattingUIPlugin as _0x4591cf}from'@univerjs/sheets-conditional-formatting-ui';import{UniverSheetsDataValidationPlugin as _0x2f6efb}from'@univerjs/sheets-data-validation';import{UniverSheetsDataValidationUIPlugin as _0x72766e}from'@univerjs/sheets-data-validation-ui';import{UniverSheetsDrawingPlugin as _0x1f0e4a}from'@univerjs/sheets-drawing';import{UniverSheetsDrawingUIPlugin as _0x1beca3}from'@univerjs/sheets-drawing-ui';import{UniverSheetsFilterPlugin as _0x2e23be}from'@univerjs/sheets-filter';import{UniverSheetsFilterUIPlugin as _0x45dadf}from'@univerjs/sheets-filter-ui';import{UniverSheetsFormulaPlugin as _0x27ea31}from'@univerjs/sheets-formula';import{UniverSheetsFormulaUIPlugin as _0x121351}from'@univerjs/sheets-formula-ui';import{UniverSheetsHyperLinkPlugin as _0x4b6b5e}from'@univerjs/sheets-hyper-link';import{UniverSheetsHyperLinkUIPlugin as _0x590a71}from'@univerjs/sheets-hyper-link-ui';import{UniverSheetsNumfmtPlugin as _0x296f36}from'@univerjs/sheets-numfmt';import{UniverSheetsUIPlugin as _0x5339c0,getCurrentRangeDisable$ as _0x34f0f4}from'@univerjs/sheets-ui';const U=_0x39a409(0x1af),N={};function F({ref:_0x12f44a,..._0x287e65}){const _0x2e5cb1=_0x39a409,{icon:_0x28f5c4,id:_0x456d64,className:_0x5f4686,extend:_0x4bea15,..._0x1165e2}=_0x287e65,_0x534bcc=(_0x2e5cb1(0x15a)+_0x456d64+'\x20'+(_0x5f4686||''))['trim'](),_0x39fb19=_0x23c6f8('_'+hi());return j(_0x28f5c4,''+_0x456d64,{'defIds':_0x28f5c4[_0x2e5cb1(0x18d)],'idSuffix':_0x39fb19['current']},{'ref':_0x12f44a,'className':_0x534bcc,..._0x1165e2},_0x4bea15);}function j(_0x5a1ee9,_0x1de9bf,_0x4bc91a,_0x26f54c,_0xbd4289){const _0x58a684=_0x39a409;return _0x353685(_0x5a1ee9[_0x58a684(0x1a3)],{'key':_0x1de9bf,...ci(_0x5a1ee9,_0x4bc91a,_0xbd4289),..._0x26f54c},(li(_0x5a1ee9,_0x4bc91a)['children']||[])[_0x58a684(0x185)]((_0x257a53,_0x392354)=>j(_0x257a53,_0x1de9bf+'-'+_0x5a1ee9[_0x58a684(0x1a3)]+'-'+_0x392354,_0x4bc91a,void 0x0,_0xbd4289)));}function ci(_0x179869,_0x1ef5d6,_0x1776bc){const _0x43f79d=_0x39a409,_0x5f0798={..._0x179869[_0x43f79d(0x175)]};_0x1776bc!=null&&_0x1776bc[_0x43f79d(0x18b)]&&_0x5f0798[_0x43f79d(0x181)]===_0x43f79d(0x18b)&&(_0x5f0798['fill']=_0x1776bc[_0x43f79d(0x18b)]),_0x179869[_0x43f79d(0x1a3)]===_0x43f79d(0x1d2)&&_0x5f0798['id']&&(_0x5f0798['id']=_0x5f0798['id']+_0x1ef5d6['idSuffix']),Object[_0x43f79d(0x146)](_0x5f0798)[_0x43f79d(0x19a)](([_0x316d26,_0x579a26])=>{const _0x453586=_0x43f79d;_0x316d26===_0x453586(0x1d2)&&typeof _0x579a26=='string'&&(_0x5f0798[_0x316d26]=_0x579a26[_0x453586(0x143)](/url\(#(.*)\)/,'url(#$1'+_0x1ef5d6[_0x453586(0x190)]+')'));});const {defIds:_0x514dcf}=_0x1ef5d6;return!_0x514dcf||_0x514dcf[_0x43f79d(0x1d5)]===0x0||(_0x179869['tag']===_0x43f79d(0x1a5)&&_0x5f0798[_0x43f79d(0x1a9)]&&(_0x5f0798[_0x43f79d(0x1a9)]=_0x5f0798['xlink:href']+_0x1ef5d6[_0x43f79d(0x190)]),Object[_0x43f79d(0x146)](_0x5f0798)[_0x43f79d(0x19a)](([_0x411004,_0x1a9b3d])=>{const _0x653efd=_0x43f79d;typeof _0x1a9b3d==_0x653efd(0x1ac)&&(_0x5f0798[_0x411004]=_0x1a9b3d['replace'](/url\(#(.*)\)/,'url(#$1'+_0x1ef5d6[_0x653efd(0x190)]+')'));})),_0x5f0798;}function _0x4215(_0x11a234,_0x1abe64){_0x11a234=_0x11a234-0x134;const _0x197d74=_0x197d();let _0x4215cc=_0x197d74[_0x11a234];return _0x4215cc;}function li(_0x47a86c,_0xead4d3){const _0x33b8dc=_0x39a409;var _0x1f2494;const {defIds:_0x4e9a5f}=_0xead4d3;return!_0x4e9a5f||_0x4e9a5f['length']===0x0?_0x47a86c:_0x47a86c[_0x33b8dc(0x1a3)]===_0x33b8dc(0x158)&&((_0x1f2494=_0x47a86c[_0x33b8dc(0x13a)])!=null&&_0x1f2494[_0x33b8dc(0x1d5)])?{..._0x47a86c,'children':_0x47a86c[_0x33b8dc(0x13a)][_0x33b8dc(0x185)](_0x1d0acc=>typeof _0x1d0acc['attrs']['id']=='string'&&_0x4e9a5f&&_0x4e9a5f[_0x33b8dc(0x1c2)](_0x1d0acc['attrs']['id'])?{..._0x1d0acc,'attrs':{..._0x1d0acc[_0x33b8dc(0x175)],'id':_0x1d0acc[_0x33b8dc(0x175)]['id']+_0xead4d3[_0x33b8dc(0x190)]}}:_0x1d0acc)}:_0x47a86c;}function hi(){const _0x47a29a=_0x39a409;return Math[_0x47a29a(0x163)]()['toString'](0x24)[_0x47a29a(0x147)](0x2,0x8);}F[_0x39a409(0x15c)]=_0x39a409(0x1a4);const ui={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x39a409(0x1b3),'viewBox':_0x39a409(0x1aa),'width':_0x39a409(0x15d),'height':_0x39a409(0x15d)},'children':[{'tag':'g','attrs':{'fill':_0x39a409(0x1d3),'clipPath':_0x39a409(0x161)},'children':[{'tag':'path','attrs':{'d':'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'}},{'tag':_0x39a409(0x166),'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':_0x39a409(0x158),'attrs':{},'children':[{'tag':_0x39a409(0x178),'attrs':{'id':'history-icon_clip0_907_281'},'children':[{'tag':_0x39a409(0x166),'attrs':{'fill':_0x39a409(0x1a1),'d':_0x39a409(0x182)}}]}]}],'defIds':['history-icon_clip0_907_281']},V=_0x4f6452(function(_0x13772f,_0x4d99a4){const _0x4edb86=_0x39a409;return _0x353685(F,Object[_0x4edb86(0x177)]({},_0x13772f,{'id':'history-icon','ref':_0x4d99a4,'icon':ui}));});V['displayName']=_0x39a409(0x1c3);var gi=Object[_0x39a409(0x154)],mi=(_0x422c1a,_0x41f1e5,_0x264f38,_0x55c810)=>{const _0x219601=_0x39a409;for(var _0x9961e=_0x55c810>0x1?void 0x0:_0x55c810?gi(_0x41f1e5,_0x264f38):_0x41f1e5,_0x1b6500=_0x422c1a[_0x219601(0x1d5)]-0x1,_0x3ef054;_0x1b6500>=0x0;_0x1b6500--)(_0x3ef054=_0x422c1a[_0x1b6500])&&(_0x9961e=_0x3ef054(_0x9961e)||_0x9961e);return _0x9961e;},l=(_0x32b534,_0x78a0e6)=>(_0x503ff0,_0x161b24)=>_0x78a0e6(_0x503ff0,_0x161b24,_0x32b534);const vi=_0x39a409(0x1c8),G=_0x39a409(0x13e),d=_0x39a409(0x1d1);let f=class extends _0x49da04{constructor(_0x3e6486,_0x4b4971,_0x4b293c,_0xbb8bbe,_0xe4a43e,_0x196b8,_0x25b776,_0x8970ae,_0x7b89b,_0x4e9cb1){const _0xb7b853=_0x39a409;super(),g(this,_0xb7b853(0x1ba),new _0x1e1719(null)),g(this,_0xb7b853(0x18c),this['_historyUniver$'][_0xb7b853(0x17d)]()),g(this,_0xb7b853(0x159),new _0x4ae443()),g(this,_0xb7b853(0x13b),new Map()),(this[_0xb7b853(0x19d)]=_0x3e6486,this[_0xb7b853(0x1c5)]=_0x4b4971,this[_0xb7b853(0x148)]=_0x4b293c,this['_commandService']=_0xbb8bbe,this[_0xb7b853(0x172)]=_0xe4a43e,this[_0xb7b853(0x14f)]=_0x196b8,this[_0xb7b853(0x1a6)]=_0x25b776,this['_dialogService']=_0x8970ae,this[_0xb7b853(0x14b)]=_0x7b89b,this[_0xb7b853(0x14a)]=_0x4e9cb1,this[_0xb7b853(0x1a8)]());}get['historyUniver'](){const _0x4080f3=_0x39a409;return this[_0x4080f3(0x1ba)][_0x4080f3(0x1cd)];}[_0x39a409(0x1a8)](){const _0x184efc=_0x39a409;this['_initContainer'](),this[_0x184efc(0x13d)]();}[_0x39a409(0x16a)](){const _0x3b0a66=_0x39a409;var _0x769d72;const _0x5c6a22=(_0x769d72=this['_configService'][_0x3b0a66(0x167)](G))!=null?_0x769d72:vi,_0x394ba3=document[_0x3b0a66(0x1b1)](_0x5c6a22);if(!_0x394ba3)return;const _0x28b48c=document[_0x3b0a66(0x134)]('div');_0x28b48c['id']=d,_0x28b48c['dataset'][_0x3b0a66(0x151)]=_0x3b0a66(0x17a),_0x28b48c[_0x3b0a66(0x192)][_0x3b0a66(0x18e)]=_0x3b0a66(0x17e),_0x28b48c[_0x3b0a66(0x192)]['top']='0',_0x28b48c[_0x3b0a66(0x192)][_0x3b0a66(0x1bf)]='0',_0x28b48c[_0x3b0a66(0x192)][_0x3b0a66(0x153)]=_0x3b0a66(0x14d),_0x28b48c[_0x3b0a66(0x192)][_0x3b0a66(0x197)]='100%',_0x28b48c[_0x3b0a66(0x192)][_0x3b0a66(0x13c)]=_0x3b0a66(0x19e),_0x28b48c[_0x3b0a66(0x192)]['display']=_0x3b0a66(0x1b3),_0x394ba3['appendChild'](_0x28b48c);}[_0x39a409(0x13d)](){const _0x4c3e9f=_0x39a409;var _0x3d421f,_0x4be136,_0x234282,_0x53c60d;[[_0x5ce173],[_0xd84c08,{'container':d,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x56af60,null]]}],[_0x3705a0],[_0x3286a4,{'override':[[_0x66f5be,null]]}],[_0x3e7d56,{'hasScroll':!0x1}],[_0x1bc943],[_0x296f36],[_0x2d42f2,{'notExecuteFormula':!0x0}],[_0x5339c0],[_0x27ea31],[_0x121351],[_0x21bf16],[_0x2e23be],[_0x45dadf],[_0x1f0c0e],[_0x4591cf],[_0x4b6b5e],[_0x590a71],[_0x2415c8],[_0x2f6efb],[_0x72766e],[_0x37863c,{'notExecuteFormula':!0x0}],[_0x395e79,{'workerURL':(_0x4be136=(_0x3d421f=this[_0x4c3e9f(0x148)][_0x4c3e9f(0x167)](_0x569c2e))==null?void 0x0:_0x3d421f['workerURL'])!=null?_0x4be136:_0x4c3e9f(0x145)}],[_0x1e9d93],[_0x1f0e4a],[_0x1beca3],[_0x53a353],[_0x58f67d],[_0x4a62d7],[_0x1c1683],[_0x54d5cc,{'notExecuteFormula':!0x0}],[_0x55f083,{'historyListServerUrl':(_0x234282=this[_0x4c3e9f(0x148)][_0x4c3e9f(0x167)](U))==null?void 0x0:_0x234282['historyListServerUrl'],'historyPanelComponentKey':(_0x53c60d=this[_0x4c3e9f(0x148)][_0x4c3e9f(0x167)](U))==null?void 0x0:_0x53c60d[_0x4c3e9f(0x139)]}]][_0x4c3e9f(0x19a)](([_0x2279ca,_0x2ee621])=>this['registerPlugin'](_0x2279ca,_0x2ee621));}['dispose'](){const _0x577d9b=_0x39a409;super[_0x577d9b(0x1b0)](),this[_0x577d9b(0x189)](),this[_0x577d9b(0x13b)]['clear']();}[_0x39a409(0x1b4)](_0x2abe0b,_0x40a861,_0x17191e){const _0x2e03fd=_0x39a409;if(this[_0x2e03fd(0x13b)][_0x2e03fd(0x186)](_0x2abe0b[_0x2e03fd(0x1b6)])&&!_0x17191e)throw new Error(_0x2e03fd(0x199)+_0x2abe0b[_0x2e03fd(0x1b6)]+'\x20has\x20been\x20registered.');this[_0x2e03fd(0x13b)][_0x2e03fd(0x1bc)](_0x2abe0b[_0x2e03fd(0x1b6)],[_0x2abe0b,_0x40a861]);}[_0x39a409(0x1b5)](){const _0x42d6fd=_0x39a409;return Array['from'](this[_0x42d6fd(0x13b)]['values']());}['mountHistoryContent'](_0x4f67b8){const _0x13324e=_0x39a409,_0x1266dc=document[_0x13324e(0x1b1)](d);_0x1266dc&&(_0x1266dc[_0x13324e(0x192)][_0x13324e(0x1b2)]='block',this['_initUniver'](_0x4f67b8,d));}[_0x39a409(0x189)](){const _0x2e7ee8=_0x39a409;var _0x428c26;this['_disposableCollection'][_0x2e7ee8(0x1b0)](),(_0x428c26=this[_0x2e7ee8(0x14e)])==null||_0x428c26[_0x2e7ee8(0x1b0)](),this[_0x2e7ee8(0x1ba)][_0x2e7ee8(0x137)](null);const _0x3c54da=document['getElementById'](d);_0x3c54da&&(_0x3c54da['style'][_0x2e7ee8(0x1b2)]=_0x2e7ee8(0x1b3));}[_0x39a409(0x19f)](_0x205c5a,_0x141c7e){const _0x50c436=_0x39a409;if(this[_0x50c436(0x14e)])return;const _0x1cf4f2=new _0x2af004({'locales':{[this[_0x50c436(0x19d)][_0x50c436(0x187)]()]:this[_0x50c436(0x19d)][_0x50c436(0x1cb)]()},'override':[[_0x2e67dc,{'useClass':_0x1e7fd3}]]}),_0x361a85=_0x1cf4f2[_0x50c436(0x18a)]();this[_0x50c436(0x140)](this[_0x50c436(0x14a)][_0x50c436(0x176)]['subscribe'](_0x13573e=>{const _0x3542f7=_0x50c436;_0x361a85[_0x3542f7(0x1c9)](_0x2ea7de)[_0x3542f7(0x170)](_0x13573e);})),this['disposeWithMe'](this['_themeService'][_0x50c436(0x1d4)][_0x50c436(0x169)](_0x34f98d=>{const _0x1818aa=_0x50c436;_0x361a85[_0x1818aa(0x1c9)](_0x2ea7de)[_0x1818aa(0x162)](_0x34f98d);})),_0x361a85['get'](_0x5a075e)[_0x50c436(0x179)](this['_localeService']['getCurrentLocale']()),_0x361a85[_0x50c436(0x1c9)](_0x1036a9)[_0x50c436(0x1ca)](_0x431c30,this['_configService'][_0x50c436(0x167)](_0x431c30));const _0x1aa4af=this[_0x50c436(0x148)][_0x50c436(0x167)](_0x42a5c0);_0x1aa4af&&_0x1cf4f2[_0x50c436(0x1b4)](_0x2267c3,{'license':_0x1aa4af['ls']}),this[_0x50c436(0x13b)][_0x50c436(0x19a)](([_0x51f44c,_0x58d640])=>{_0x1cf4f2['registerPlugin'](_0x51f44c,_0x58d640);}),_0x361a85[_0x50c436(0x149)](_0xcc07a3=>{const _0x50c2f8=_0x50c436;this[_0x50c2f8(0x1d0)](_0xcc07a3,_0x205c5a);}),this['_historyUniver$']['next'](_0x1cf4f2);const _0x3e236f=_0x361a85[_0x50c436(0x1c9)](_0x28e5b3),_0xefe191=this[_0x50c436(0x16f)](_0x205c5a);_0x3e236f[_0x50c436(0x138)](_0x205c5a,_0x141c7e,_0xefe191);}[_0x39a409(0x1d0)](_0x469186,_0x2b1bf9){const _0x2beecb=_0x39a409,_0x346751=_0x469186[_0x2beecb(0x1c9)](_0x28e5b3);this[_0x2beecb(0x159)][_0x2beecb(0x165)](_0x346751[_0x2beecb(0x198)][_0x2beecb(0x169)](_0x389d=>{const _0x16dc41=_0x2beecb;switch(_0x389d){case _0x31562f[_0x16dc41(0x191)]:this[_0x16dc41(0x171)][_0x16dc41(0x142)](),this[_0x16dc41(0x14b)][_0x16dc41(0x135)]();break;case _0x31562f[_0x16dc41(0x1a0)]:this['_commandService'][_0x16dc41(0x1b7)](W['id']),this[_0x16dc41(0x189)]();break;case _0x31562f[_0x16dc41(0x152)]:this[_0x16dc41(0x189)](),this[_0x16dc41(0x172)][_0x16dc41(0x188)]({'content':this[_0x16dc41(0x19d)]['t'](_0x16dc41(0x15b)),'type':_0x57be99['Error'],'duration':0xbb8});break;}})),this['_disposableCollection']['add'](_0x346751['revertRevision$'][_0x2beecb(0x169)](async _0x5dcbd1=>{const _0xf340bf=_0x2beecb;_0x5dcbd1&&this[_0xf340bf(0x141)][_0xf340bf(0x1b7)](_0x388f9a['id'],{'unitId':_0x2b1bf9,'revision':_0x5dcbd1});}));}[_0x39a409(0x16f)](_0x52e07b){const _0x44ce16=_0x39a409,_0x1b7dfa=this[_0x44ce16(0x1c5)][_0x44ce16(0x19c)](_0x52e07b)[_0x44ce16(0x1cc)]()[_0x44ce16(0x185)](_0x4168d7=>_0x4168d7[_0x44ce16(0x13f)]()),_0x54cbd1=new _0x30b2b0(_0x52e07b)['id'],_0x215867=_0x1b7dfa[_0x44ce16(0x185)](_0x1cbd9d=>new _0x38ce77(_0x52e07b,_0x1cbd9d)['id']),_0x5bb83d=_0x1b7dfa['map'](_0x1f5b62=>this[_0x44ce16(0x1a6)][_0x44ce16(0x1ad)](_0x52e07b,_0x1f5b62)[_0x44ce16(0x185)](_0x277b0a=>new _0x49c7c9(_0x52e07b,_0x1f5b62,_0x277b0a[_0x44ce16(0x1a7)])['id']))['flat'](),_0x3fea05=new _0x4755cd(_0x52e07b)['id'];return this['_permissionService'][_0x44ce16(0x14c)]([_0x54cbd1,..._0x215867,..._0x5bb83d,_0x3fea05])[_0x44ce16(0x194)](_0x5442dd=>!!_0x5442dd['value']);}};f=mi([l(0x0,_0x4d0f78(_0x5a075e)),l(0x1,_0x47b3be),l(0x2,_0x1036a9),l(0x3,_0x270472),l(0x4,_0xea87f8),l(0x5,_0x44885c),l(0x6,_0x4d0f78(_0x440857)),l(0x7,_0x4d0f78(_0x56af60)),l(0x8,_0x4d0f78(_0x4f29fb)),l(0x9,_0x4d0f78(_0x2ea7de))],f);const b={'id':_0x39a409(0x1ab),'type':_0x23553e[_0x39a409(0x17f)],'handler':_0x43e945=>{const _0x19e850=_0x39a409,_0x2b0d33=_0x43e945['get'](f),_0x3e2312=_0x43e945[_0x19e850(0x1c9)](_0x47b3be),{unitId:_0x187532}=_0x335a78(_0x3e2312)||{};return _0x187532?(_0x2b0d33[_0x19e850(0x184)](_0x187532),!0x0):!0x1;}},W={'id':'univer.operation.exit-edit-history','type':_0x23553e[_0x39a409(0x17f)],'handler':()=>!0x0};function di(_0x4569c6){const _0xfdf906=_0x39a409;return{'id':b['id'],'type':_0x343a87[_0xfdf906(0x136)],'icon':_0xfdf906(0x1c3),'tooltip':'editHistory.panel.title','hidden$':_0x4e42e2(_0x4569c6,_0x33cada['UNIVER_SHEET']),'disabled$':_0x34f0f4(_0x4569c6,{'workbookTypes':[_0x30b2b0,_0x244137],'worksheetTypes':[],'rangeTypes':[]})};}const fi={[_0x57879a[_0x39a409(0x183)]]:{[b['id']]:{'order':0.2,'menuItemFactory':di}}};var _i=Object[_0x39a409(0x154)],pi=(_0x367e60,_0x2eb5b4,_0x10c4fd,_0x5590c1)=>{for(var _0x1bd382=_0x5590c1>0x1?void 0x0:_0x5590c1?_i(_0x2eb5b4,_0x10c4fd):_0x2eb5b4,_0x22a8fb=_0x367e60['length']-0x1,_0x2b6b68;_0x22a8fb>=0x0;_0x22a8fb--)(_0x2b6b68=_0x367e60[_0x22a8fb])&&(_0x1bd382=_0x2b6b68(_0x1bd382)||_0x1bd382);return _0x1bd382;},m=(_0x3038eb,_0x5b877e)=>(_0x4737d1,_0x254d94)=>_0x5b877e(_0x4737d1,_0x254d94,_0x3038eb);let p=class extends _0x157ec3{constructor(_0xe7108f,_0x4a3c0b,_0x59d070,_0x5720e3,_0xd35b75,_0x2a1df5,_0x2c25ce,_0x132cdd){const _0x3fb26a=_0x39a409;super(),g(this,'_revertErrorTimer',null),(this['_commandService']=_0xe7108f,this[_0x3fb26a(0x1b8)]=_0x4a3c0b,this[_0x3fb26a(0x1be)]=_0x59d070,this['_historyManagerService']=_0x5720e3,this['_localeService']=_0xd35b75,this[_0x3fb26a(0x172)]=_0x2a1df5,this[_0x3fb26a(0x196)]=_0x2c25ce,this[_0x3fb26a(0x19b)]=_0x132cdd,this[_0x3fb26a(0x1a8)]());}['_init'](){const _0x47846d=_0x39a409;[b,W][_0x47846d(0x19a)](_0x4f034c=>this[_0x47846d(0x140)](_0x572451(this['_commandService'][_0x47846d(0x16c)](_0x4f034c)))),this[_0x47846d(0x140)](this[_0x47846d(0x1be)][_0x47846d(0x18f)](_0x47846d(0x1c3),V)),this['_menuManagerService'][_0x47846d(0x15e)](fi),this[_0x47846d(0x140)](this[_0x47846d(0x141)][_0x47846d(0x168)](_0x48aead=>{const _0xdf642b=_0x47846d;if(_0x48aead['id']===_0x388f9a['id']){this['_messageService'][_0xdf642b(0x188)]({'content':this[_0xdf642b(0x19d)]['t']('editHistory.panel.reverting'),'type':_0x57be99[_0xdf642b(0x16b)],'duration':0x1388});const {unitId:_0xbaf462}=_0x48aead[_0xdf642b(0x180)],_0x24d9f1=this[_0xdf642b(0x196)]['getCollabEntity'](_0xbaf462),_0x21d306=_0x2accaf([_0x24d9f1['session'][_0xdf642b(0x1ce)],_0x24d9f1[_0xdf642b(0x17c)]])['subscribe'](async([_0x4228b4,_0x179ff6])=>{const _0x2f6612=_0xdf642b;var _0x42fc61;_0x4228b4[_0x2f6612(0x1c7)]===_0x18fd40[_0x2f6612(0x164)]&&(_0x179ff6==null?void 0x0:_0x179ff6[_0x2f6612(0x1cf)])===_0x346212['SYNCED']&&_0x4228b4['data'][_0x2f6612(0x16d)]['some'](_0x598cad=>_0x598cad['id']===_0x388f9a['id'])&&(this['_historyManagerService'][_0x2f6612(0x189)](),_0x21d306['unsubscribe'](),this[_0x2f6612(0x150)]&&clearTimeout(this[_0x2f6612(0x150)]),await((_0x42fc61=this[_0x2f6612(0x19b)])==null?void 0x0:_0x42fc61[_0x2f6612(0x160)]()),setTimeout(()=>window['location'][_0x2f6612(0x1ae)]()));});this[_0xdf642b(0x150)]=setTimeout(()=>{const _0x2530db=_0xdf642b;_0x21d306['unsubscribe'](),this[_0x2530db(0x172)][_0x2530db(0x188)]({'content':this[_0x2530db(0x19d)]['t'](_0x2530db(0x144)),'type':_0x57be99['Error'],'duration':0xbb8});},0x1388);}}));}};p=pi([m(0x0,_0x270472),m(0x1,_0x26094f),m(0x2,_0x4d0f78(_0x529cde)),m(0x3,_0x4d0f78(f)),m(0x4,_0x4d0f78(_0x5a075e)),m(0x5,_0xea87f8),m(0x6,_0x4d0f78(_0x450258)),m(0x7,_0x3ebc56)],p);var Si=Object[_0x39a409(0x154)],Ci=(_0x16c1b2,_0x3ccd86,_0xa686e7,_0x1eaf6c)=>{const _0x3d9030=_0x39a409;for(var _0x4479b3=_0x1eaf6c>0x1?void 0x0:_0x1eaf6c?Si(_0x3ccd86,_0xa686e7):_0x3ccd86,_0x5d1b54=_0x16c1b2[_0x3d9030(0x1d5)]-0x1,_0x3e5cf1;_0x5d1b54>=0x0;_0x5d1b54--)(_0x3e5cf1=_0x16c1b2[_0x5d1b54])&&(_0x4479b3=_0x3e5cf1(_0x4479b3)||_0x4479b3);return _0x4479b3;},R=(_0x5ad2c9,_0x437e3f)=>(_0x598bd2,_0x1822ac)=>_0x437e3f(_0x598bd2,_0x1822ac,_0x5ad2c9);function _0x197d(){const _0x557b40=['univerjs-icon\x20univerjs-icon-','editHistory.panel.listFetchError','displayName','1em','mergeMenu','16WnFYyS','exhaustSavingTask','url(#history-icon_clip0_907_281)','setTheme','random','CHANGESET_ACK','add','path','getConfig','onCommandExecuted','subscribe','_initContainer','Loading','registerCommand','mutations','defineProperty','_checkCanRevert','setDarkMode','_dialogService','_messageService','93471FbHidw','638771UfhcOi','attrs','darkMode$','assign','clipPath','setLocale','history-container','12XYIaiq','state$','asObservable','absolute','OPERATION','params','fill','M0\x200H16V16H0z','OTHERS','mountHistoryContent','map','has','getCurrentLocale','show','unMountHistoryContent','__getInjector','colorChannel1','historyUniver$','defIds','position','register','idSuffix','Entered','style','_injector','every','univerContainerId','_collaborationController','height','status$','[HistoryLoaderService]:\x20Plugin\x20','forEach','_localCacheService','getUnit','_localeService','1000','_initUniver','Exited','white','7220270TVJhdz','tag','UniverIcon','use','_selectionProtectionRuleModel','permissionId','_init','xlink:href','0\x200\x2016\x2016','univer.operation.toggle-edit-history','string','getSubunitRuleList','reload','edit-history-loader.config','dispose','getElementById','display','none','registerPlugin','getAllPlugins','pluginName','executeCommand','_menuManagerService','_config','_historyUniver$','menu','set','UNIVER_UNKNOWN','_componentManager','left','260740EZoSux','8zacMQB','includes','HistoryIcon','117213kkmlvK','_univerInstanceService','onSteady','eventID','univer-container','get','setConfig','getLocales','getSheets','value','event$','status','_initListener','univer-history-container','mask','currentColor','currentTheme$','length','createElement','close','BUTTON','next','triggerLoadVersions','historyPanelComponentKey','children','_pluginMap','zIndex','_initPlugins','UNIVER_CONTAINER_ID','getSheetId','disposeWithMe','_commandService','closeAll','replace','editHistory.panel.revertFailed','./worker.js','entries','substring','_configService','invoke','_themeService','_sidebarService','composePermission','100%','historyUniver','_permissionService','_revertErrorTimer','uComp','Error','width','getOwnPropertyDescriptor','1650888IfWVIB','23540HzuijY','type','defs','_disposableCollection'];_0x197d=function(){return _0x557b40;};return _0x197d();}const yi='UNIVER_EDIT_HISTORY_LOADER_PLUGIN';var _;let H=(_=class extends _0x219636{constructor(_0x1e0186=N,_0x2a515b,_0x586356){const _0x501206=_0x39a409;super(),this[_0x501206(0x1b9)]=_0x1e0186,this[_0x501206(0x193)]=_0x2a515b,this[_0x501206(0x148)]=_0x586356;const {menu:_0x52ba3e,..._0x31a2c7}=_0x4aa835({},N,this['_config']);_0x52ba3e&&this[_0x501206(0x148)][_0x501206(0x1ca)](_0x501206(0x1bb),_0x52ba3e,{'merge':!0x0}),this[_0x501206(0x148)][_0x501206(0x1ca)](U,_0x31a2c7),this['_config'][_0x501206(0x195)]&&this[_0x501206(0x148)]['setConfig'](G,this['_config'][_0x501206(0x195)]);}['onStarting'](){const _0x177403=_0x39a409;[[f],[p]][_0x177403(0x19a)](_0x2ab5ee=>this[_0x177403(0x193)][_0x177403(0x165)](_0x2ab5ee));}[_0x39a409(0x1c6)](){const _0x39443d=_0x39a409;this[_0x39443d(0x193)][_0x39443d(0x1c9)](p);}},g(_,_0x39a409(0x157),_0x33cada[_0x39a409(0x1bd)]),g(_,'pluginName',yi),_);H=Ci([R(0x1,_0x4d0f78(_0x2a077e)),R(0x2,_0x1036a9)],H);export{f as HistoryLoaderService,G as UNIVER_CONTAINER_ID_KEY,d as UNIVER_HISTORY_CONTAINER_ID,H as UniverEditHistoryLoaderPlugin};
1
+ const _0x367929=_0x3bd2;(function(_0x5f39e0,_0x59904e){const _0x39bcd8=_0x3bd2,_0x31b892=_0x5f39e0();while(!![]){try{const _0x810d5f=-parseInt(_0x39bcd8(0xba))/0x1*(parseInt(_0x39bcd8(0xcd))/0x2)+parseInt(_0x39bcd8(0xe2))/0x3*(parseInt(_0x39bcd8(0x10a))/0x4)+-parseInt(_0x39bcd8(0xbd))/0x5*(parseInt(_0x39bcd8(0xda))/0x6)+parseInt(_0x39bcd8(0x9e))/0x7+parseInt(_0x39bcd8(0xdb))/0x8+-parseInt(_0x39bcd8(0x12a))/0x9+-parseInt(_0x39bcd8(0xb3))/0xa;if(_0x810d5f===_0x59904e)break;else _0x31b892['push'](_0x31b892['shift']());}catch(_0x203055){_0x31b892['push'](_0x31b892['shift']());}}}(_0x37a9,0x522a7));function _0x37a9(){const _0x913b6f=['\x20has\x20been\x20registered.','_injector','_menuManagerService','reload','getAllPlugins','_localCacheService','height','use','OTHERS','next','./worker.js','setDarkMode','Entered','composePermission','subscribe','getSubunitRuleList','svg','string','length','history-icon','zIndex','appendChild','_univerInstanceService','univer.operation.toggle-edit-history','tag','revertRevision$','clear','triggerLoadVersions','_sidebarService','status$','155529gCqbti','getSheets','dataset','random','univerjs-icon\x20univerjs-icon-','style','getConfig','_configService','SYNCED','block','UNIVER_UNKNOWN','xlink:href','trim','value','OPERATION','historyUniver','_componentManager','getCollabEntity','editHistory.panel.reverting','path','entries','_historyManagerService','history-icon_clip0_907_281','defIds','historyPanelComponentKey','asObservable','_pluginMap','setConfig','createElement','mergeMenu','3280067qHaOSC','map','1em','M0\x200H16V16H0z','location','absolute','defineProperty','registerCommand','mask','pluginName','dispose','Error','editHistory.panel.listFetchError','100%','editHistory.panel.revertFailed','getUnit','_dialogService','toString','BUTTON','__getInjector','defs','3376700tXMCOB','current','setTheme','_historyUniver$','history-container','_collaborationController','onSteady','1osyBFj','_commandService','univer-history-container','69545RmzFMZ','disposeWithMe','display','every','data','_themeService','_revertErrorTimer','_initPlugins','univerContainerId','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','UniverIcon','width','_config','closeAll','[HistoryLoaderService]:\x20Plugin\x20','unsubscribe','1179458Cyriax','_checkCanRevert','getElementById','historyUniver$','_selectionProtectionRuleModel','register','session','eventID','add','mountHistoryContent','editHistory.panel.title','onStarting','div','12MzvygZ','4074528KXoWyQ','historyListServerUrl','1000','attrs','getCurrentLocale','colorChannel1','children','3YCgxCA','params','getSheetId','state$','executeCommand','invoke','substring','exhaustSavingTask','_disposableCollection','univer-container','Loading','_messageService','get','_initUniver','event$','UNIVER_CONTAINER_ID','_init','fill','idSuffix','url(#$1','none','replace','setLocale','assign','unMountHistoryContent','values','close','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','flat','set','position','registerPlugin','HistoryIcon','symbol','show','getOwnPropertyDescriptor','mutations','forEach','_localeService','url(#history-icon_clip0_907_281)','1324608BTALOu','_permissionService'];_0x37a9=function(){return _0x913b6f;};return _0x37a9();}var Y=Object[_0x367929(0xa4)],B=(_0x36781d,_0x314015,_0x384de5)=>_0x314015 in _0x36781d?Y(_0x36781d,_0x314015,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x384de5}):_0x36781d[_0x314015]=_0x384de5,g=(_0x3808af,_0x38db27,_0x3c62b3)=>B(_0x3808af,typeof _0x38db27!=_0x367929(0x103)?_0x38db27+'':_0x38db27,_0x3c62b3);import{Inject as _0x3a681a,LocaleService as _0x3f4791,IUniverInstanceService as _0x3e110e,IConfigService as _0x1d2255,ICommandService as _0x591114,IPermissionService as _0x3c490f,ThemeService as _0x1a393d,Disposable as _0x124845,DisposableCollection as _0x28ede2,Univer as _0x43c4fb,IAuthzIoService as _0xe15076,CommandType as _0x5e2d84,UniverInstanceType as _0x1969ac,RxDisposable as _0x3618fa,toDisposable as _0x299325,Plugin as _0x5b8387,merge as _0x57defd,Injector as _0x5b5fc7}from'@univerjs/core';import{UniverCollaborationPlugin as _0x269ec1,RevertRevisionMutation as _0x38a934,CollaborationEvent as _0x31350f}from'@univerjs-pro/collaboration';import{AuthzIoHttpService as _0x440cb6,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x511c7a,CollaborationController as _0x4760cc,ILocalCacheService as _0x1e5fff,CollaborationStatus as _0x30d8d3}from'@univerjs-pro/collaboration-client';import{MessageType as _0x1d2dba}from'@univerjs/design';import{useRef as _0x2f7533,createElement as _0x2c016b,forwardRef as _0x1c7c3c}from'react';import{IMessageService as _0x108a0f,IDialogService as _0xead82a,ISidebarService as _0x3bfd0f,UniverUIPlugin as _0x5d1301,getMenuHiddenObservable as _0x216ba1,MenuItemType as _0x5628d5,RibbonStartGroup as _0x60a397,IMenuManagerService as _0x1d907c,ComponentManager as _0x521098}from'@univerjs/ui';import{BehaviorSubject as _0x43bdb2,combineLatest as _0x376ec6}from'rxjs';import{RangeProtectionRuleModel as _0x450f85,UniverSheetsPlugin as _0x27acd5,WorkbookEditablePermission as _0x2545f3,WorksheetEditPermission as _0x367e9d,RangeProtectionPermissionEditPoint as _0x2d83a2,WorkbookRecoverHistoryPermission as _0x5b2c68,getSheetCommandTarget as _0x2149a1,WorkbookViewHistoryPermission as _0x355bc4}from'@univerjs/sheets';function _0x3bd2(_0x4078d0,_0x386191){_0x4078d0=_0x4078d0-0x94;const _0x37a955=_0x37a9();let _0x3bd237=_0x37a955[_0x4078d0];return _0x3bd237;}import{UniverEditHistoryViewerPlugin as _0x5f557a,HistoryManagerService as _0x437ca5,HistoryModeStatus as _0x13817f}from'@univerjs-pro/edit-history-viewer';import{LS_CONFIG_KEY as _0x2d2c6c,UniverLicensePlugin as _0x3de666}from'@univerjs-pro/license';import{UniverSheetsChartPlugin as _0x344e2a}from'@univerjs-pro/sheets-chart';import{UniverSheetsChartUIPlugin as _0x19e3c8}from'@univerjs-pro/sheets-chart-ui';import{UniverSheetsPivotTablePlugin as _0x24fd48}from'@univerjs-pro/sheets-pivot';import{UniverSheetSparklinePlugin as _0x261172}from'@univerjs-pro/sheets-sparkline';import{UniverSheetSparklineUIPlugin as _0x8c7485}from'@univerjs-pro/sheets-sparkline-ui';import{UniverDataValidationPlugin as _0x134b19}from'@univerjs/data-validation';import{UniverDocsPlugin as _0x5e3711}from'@univerjs/docs';import{UniverDocsUIPlugin as _0x1639cb}from'@univerjs/docs-ui';import{UniverDrawingPlugin as _0x5c4301,IImageIoService as _0x24131d}from'@univerjs/drawing';import{UniverDrawingUIPlugin as _0x241ed5}from'@univerjs/drawing-ui';import{UniverFormulaEnginePlugin as _0x5b2757}from'@univerjs/engine-formula';import{UniverRenderEnginePlugin as _0x5155d2}from'@univerjs/engine-render';import{UniverNetworkPlugin as _0x2e2639}from'@univerjs/network';import{UniverRPCMainThreadPlugin as _0x1d3471,PLUGIN_CONFIG_KEY_MAIN_THREAD as _0x2097b7}from'@univerjs/rpc';import{UniverSheetsConditionalFormattingPlugin as _0x4cf6e2}from'@univerjs/sheets-conditional-formatting';import{UniverSheetsConditionalFormattingUIPlugin as _0x221c2b}from'@univerjs/sheets-conditional-formatting-ui';import{UniverSheetsDataValidationPlugin as _0x2b9816}from'@univerjs/sheets-data-validation';import{UniverSheetsDataValidationUIPlugin as _0x30a166}from'@univerjs/sheets-data-validation-ui';import{UniverSheetsDrawingPlugin as _0x5cfd36}from'@univerjs/sheets-drawing';import{UniverSheetsDrawingUIPlugin as _0x55bf51}from'@univerjs/sheets-drawing-ui';import{UniverSheetsFilterPlugin as _0x1e106c}from'@univerjs/sheets-filter';import{UniverSheetsFilterUIPlugin as _0x552a89}from'@univerjs/sheets-filter-ui';import{UniverSheetsFormulaPlugin as _0xd0a808}from'@univerjs/sheets-formula';import{UniverSheetsFormulaUIPlugin as _0x7e68f2}from'@univerjs/sheets-formula-ui';import{UniverSheetsHyperLinkPlugin as _0x4d2f9f}from'@univerjs/sheets-hyper-link';import{UniverSheetsHyperLinkUIPlugin as _0x566754}from'@univerjs/sheets-hyper-link-ui';import{UniverSheetsNumfmtPlugin as _0xe59536}from'@univerjs/sheets-numfmt';import{UniverSheetsUIPlugin as _0x49c66b,getCurrentRangeDisable$ as _0x5bc44b}from'@univerjs/sheets-ui';const U='edit-history-loader.config',N={};function F({ref:_0x32d1a1,..._0x1a83ff}){const _0x5e77de=_0x367929,{icon:_0x5b603a,id:_0x21a2ef,className:_0x2b971c,extend:_0x18c96e,..._0x7869f1}=_0x1a83ff,_0x22cc47=(_0x5e77de(0x12e)+_0x21a2ef+'\x20'+(_0x2b971c||''))[_0x5e77de(0x136)](),_0x15904b=_0x2f7533('_'+hi());return j(_0x5b603a,''+_0x21a2ef,{'defIds':_0x5b603a[_0x5e77de(0x97)],'idSuffix':_0x15904b[_0x5e77de(0xb4)]},{'ref':_0x32d1a1,'className':_0x22cc47,..._0x7869f1},_0x18c96e);}function j(_0x14e8f4,_0x50b137,_0x65cc26,_0xa43e2,_0x32414a){const _0x3fe971=_0x367929;return _0x2c016b(_0x14e8f4['tag'],{'key':_0x50b137,...ci(_0x14e8f4,_0x65cc26,_0x32414a),..._0xa43e2},(li(_0x14e8f4,_0x65cc26)[_0x3fe971(0xe1)]||[])[_0x3fe971(0x9f)]((_0xd3093e,_0x58e418)=>j(_0xd3093e,_0x50b137+'-'+_0x14e8f4['tag']+'-'+_0x58e418,_0x65cc26,void 0x0,_0x32414a)));}function ci(_0x30aba3,_0x5b3b63,_0x416698){const _0x371efc=_0x367929,_0x440aa7={..._0x30aba3[_0x371efc(0xde)]};_0x416698!=null&&_0x416698[_0x371efc(0xe0)]&&_0x440aa7[_0x371efc(0xf3)]===_0x371efc(0xe0)&&(_0x440aa7[_0x371efc(0xf3)]=_0x416698[_0x371efc(0xe0)]),_0x30aba3[_0x371efc(0x124)]===_0x371efc(0xa6)&&_0x440aa7['id']&&(_0x440aa7['id']=_0x440aa7['id']+_0x5b3b63[_0x371efc(0xf4)]),Object[_0x371efc(0x94)](_0x440aa7)[_0x371efc(0x107)](([_0x2a13e8,_0x257287])=>{const _0x1a9df2=_0x371efc;_0x2a13e8===_0x1a9df2(0xa6)&&typeof _0x257287==_0x1a9df2(0x11d)&&(_0x440aa7[_0x2a13e8]=_0x257287['replace'](/url\(#(.*)\)/,_0x1a9df2(0xf5)+_0x5b3b63[_0x1a9df2(0xf4)]+')'));});const {defIds:_0x5e7ba1}=_0x5b3b63;return!_0x5e7ba1||_0x5e7ba1['length']===0x0||(_0x30aba3[_0x371efc(0x124)]===_0x371efc(0x113)&&_0x440aa7[_0x371efc(0x135)]&&(_0x440aa7['xlink:href']=_0x440aa7[_0x371efc(0x135)]+_0x5b3b63[_0x371efc(0xf4)]),Object[_0x371efc(0x94)](_0x440aa7)[_0x371efc(0x107)](([_0x56656f,_0x307641])=>{const _0x16bcec=_0x371efc;typeof _0x307641=='string'&&(_0x440aa7[_0x56656f]=_0x307641[_0x16bcec(0xf7)](/url\(#(.*)\)/,_0x16bcec(0xf5)+_0x5b3b63[_0x16bcec(0xf4)]+')'));})),_0x440aa7;}function li(_0x344ae0,_0x507ad7){const _0x21556f=_0x367929;var _0x3b3e06;const {defIds:_0x5385a3}=_0x507ad7;return!_0x5385a3||_0x5385a3[_0x21556f(0x11e)]===0x0?_0x344ae0:_0x344ae0[_0x21556f(0x124)]===_0x21556f(0xb2)&&((_0x3b3e06=_0x344ae0[_0x21556f(0xe1)])!=null&&_0x3b3e06[_0x21556f(0x11e)])?{..._0x344ae0,'children':_0x344ae0['children']['map'](_0x4e22a3=>typeof _0x4e22a3['attrs']['id']=='string'&&_0x5385a3&&_0x5385a3['includes'](_0x4e22a3[_0x21556f(0xde)]['id'])?{..._0x4e22a3,'attrs':{..._0x4e22a3[_0x21556f(0xde)],'id':_0x4e22a3[_0x21556f(0xde)]['id']+_0x507ad7[_0x21556f(0xf4)]}}:_0x4e22a3)}:_0x344ae0;}function hi(){const _0x2462f0=_0x367929;return Math[_0x2462f0(0x12d)]()[_0x2462f0(0xaf)](0x24)[_0x2462f0(0xe8)](0x2,0x8);}F['displayName']=_0x367929(0xc7);const ui={'tag':_0x367929(0x11c),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x367929(0xf6),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x367929(0xa0)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':_0x367929(0x109)},'children':[{'tag':_0x367929(0x13d),'attrs':{'d':'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'}},{'tag':_0x367929(0x13d),'attrs':{'d':_0x367929(0xc6)}}]},{'tag':_0x367929(0xb2),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x367929(0x96)},'children':[{'tag':_0x367929(0x13d),'attrs':{'fill':'white','d':_0x367929(0xa1)}}]}]}],'defIds':['history-icon_clip0_907_281']},V=_0x1c7c3c(function(_0x43575a,_0x5d65ef){const _0x41c434=_0x367929;return _0x2c016b(F,Object[_0x41c434(0xf9)]({},_0x43575a,{'id':_0x41c434(0x11f),'ref':_0x5d65ef,'icon':ui}));});V['displayName']=_0x367929(0x102);var gi=Object[_0x367929(0x105)],mi=(_0x36b06d,_0x3e250f,_0x53516d,_0x1389cc)=>{const _0x3772ac=_0x367929;for(var _0x40cfa5=_0x1389cc>0x1?void 0x0:_0x1389cc?gi(_0x3e250f,_0x53516d):_0x3e250f,_0x57c406=_0x36b06d[_0x3772ac(0x11e)]-0x1,_0x3f25cd;_0x57c406>=0x0;_0x57c406--)(_0x3f25cd=_0x36b06d[_0x57c406])&&(_0x40cfa5=_0x3f25cd(_0x40cfa5)||_0x40cfa5);return _0x40cfa5;},l=(_0x2e75c1,_0x11bcc2)=>(_0x69e276,_0x3d1165)=>_0x11bcc2(_0x69e276,_0x3d1165,_0x2e75c1);const vi=_0x367929(0xeb),G=_0x367929(0xf1),d=_0x367929(0xbc);let f=class extends _0x124845{constructor(_0x5b7141,_0x4f046f,_0x2a8418,_0x17ac6a,_0x309ef1,_0x24c384,_0x1f85e7,_0x2b4be5,_0x192be8,_0x58a034){const _0x1c5bc7=_0x367929;super(),g(this,_0x1c5bc7(0xb6),new _0x43bdb2(null)),g(this,_0x1c5bc7(0xd0),this[_0x1c5bc7(0xb6)][_0x1c5bc7(0x99)]()),g(this,_0x1c5bc7(0xea),new _0x28ede2()),g(this,_0x1c5bc7(0x9a),new Map()),(this[_0x1c5bc7(0x108)]=_0x5b7141,this['_univerInstanceService']=_0x4f046f,this[_0x1c5bc7(0x131)]=_0x2a8418,this[_0x1c5bc7(0xbb)]=_0x17ac6a,this[_0x1c5bc7(0xed)]=_0x309ef1,this[_0x1c5bc7(0x10b)]=_0x24c384,this[_0x1c5bc7(0xd1)]=_0x1f85e7,this[_0x1c5bc7(0xae)]=_0x2b4be5,this[_0x1c5bc7(0x128)]=_0x192be8,this[_0x1c5bc7(0xc2)]=_0x58a034,this['_init']());}get[_0x367929(0x139)](){const _0x16b3dd=_0x367929;return this[_0x16b3dd(0xb6)][_0x16b3dd(0x137)];}[_0x367929(0xf2)](){const _0x3fd69f=_0x367929;this['_initContainer'](),this[_0x3fd69f(0xc4)]();}['_initContainer'](){const _0x19eef0=_0x367929;var _0x4be08f;const _0x31d71d=(_0x4be08f=this[_0x19eef0(0x131)]['getConfig'](G))!=null?_0x4be08f:vi,_0x3426c0=document[_0x19eef0(0xcf)](_0x31d71d);if(!_0x3426c0)return;const _0x338b82=document[_0x19eef0(0x9c)](_0x19eef0(0xd9));_0x338b82['id']=d,_0x338b82[_0x19eef0(0x12c)]['uComp']=_0x19eef0(0xb7),_0x338b82[_0x19eef0(0x12f)][_0x19eef0(0x100)]=_0x19eef0(0xa3),_0x338b82['style']['top']='0',_0x338b82['style']['left']='0',_0x338b82[_0x19eef0(0x12f)][_0x19eef0(0xc8)]=_0x19eef0(0xab),_0x338b82[_0x19eef0(0x12f)][_0x19eef0(0x112)]=_0x19eef0(0xab),_0x338b82[_0x19eef0(0x12f)][_0x19eef0(0x120)]=_0x19eef0(0xdd),_0x338b82[_0x19eef0(0x12f)][_0x19eef0(0xbf)]=_0x19eef0(0xf6),_0x3426c0[_0x19eef0(0x121)](_0x338b82);}[_0x367929(0xc4)](){const _0xd42645=_0x367929;var _0xc54cc,_0x2440fe,_0x37a552,_0xf5f60b;[[_0x5155d2],[_0x5d1301,{'container':d,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0xead82a,null]]}],[_0x2e2639],[_0x5c4301,{'override':[[_0x24131d,null]]}],[_0x5e3711,{'hasScroll':!0x1}],[_0x1639cb],[_0xe59536],[_0x27acd5,{'notExecuteFormula':!0x0}],[_0x49c66b],[_0xd0a808],[_0x7e68f2],[_0x269ec1],[_0x1e106c],[_0x552a89],[_0x4cf6e2],[_0x221c2b],[_0x4d2f9f],[_0x566754],[_0x134b19],[_0x2b9816],[_0x30a166],[_0x5b2757,{'notExecuteFormula':!0x0}],[_0x1d3471,{'workerURL':(_0x2440fe=(_0xc54cc=this[_0xd42645(0x131)][_0xd42645(0x130)](_0x2097b7))==null?void 0x0:_0xc54cc['workerURL'])!=null?_0x2440fe:_0xd42645(0x116)}],[_0x241ed5],[_0x5cfd36],[_0x55bf51],[_0x261172],[_0x8c7485],[_0x344e2a],[_0x19e3c8],[_0x24fd48,{'notExecuteFormula':!0x0}],[_0x5f557a,{'historyListServerUrl':(_0x37a552=this['_configService'][_0xd42645(0x130)](U))==null?void 0x0:_0x37a552[_0xd42645(0xdc)],'historyPanelComponentKey':(_0xf5f60b=this['_configService']['getConfig'](U))==null?void 0x0:_0xf5f60b[_0xd42645(0x98)]}]][_0xd42645(0x107)](([_0x2d82b4,_0xa8824e])=>this[_0xd42645(0x101)](_0x2d82b4,_0xa8824e));}[_0x367929(0xa8)](){const _0x5df634=_0x367929;super[_0x5df634(0xa8)](),this[_0x5df634(0xfa)](),this[_0x5df634(0x9a)][_0x5df634(0x126)]();}['registerPlugin'](_0x4713c7,_0x4eee48,_0x4da162){const _0xbd6fef=_0x367929;if(this[_0xbd6fef(0x9a)]['has'](_0x4713c7[_0xbd6fef(0xa7)])&&!_0x4da162)throw new Error(_0xbd6fef(0xcb)+_0x4713c7['pluginName']+_0xbd6fef(0x10c));this['_pluginMap'][_0xbd6fef(0xff)](_0x4713c7[_0xbd6fef(0xa7)],[_0x4713c7,_0x4eee48]);}[_0x367929(0x110)](){const _0x521616=_0x367929;return Array['from'](this['_pluginMap'][_0x521616(0xfb)]());}[_0x367929(0xd6)](_0x9f17f){const _0x5ea3ab=_0x367929,_0x29de85=document[_0x5ea3ab(0xcf)](d);_0x29de85&&(_0x29de85[_0x5ea3ab(0x12f)]['display']=_0x5ea3ab(0x133),this[_0x5ea3ab(0xef)](_0x9f17f,d));}[_0x367929(0xfa)](){const _0x2aeccb=_0x367929;var _0x1f67e7;this['_disposableCollection'][_0x2aeccb(0xa8)](),(_0x1f67e7=this['historyUniver'])==null||_0x1f67e7[_0x2aeccb(0xa8)](),this[_0x2aeccb(0xb6)][_0x2aeccb(0x115)](null);const _0xaf6ba8=document[_0x2aeccb(0xcf)](d);_0xaf6ba8&&(_0xaf6ba8[_0x2aeccb(0x12f)][_0x2aeccb(0xbf)]=_0x2aeccb(0xf6));}[_0x367929(0xef)](_0x789a96,_0x6b5be){const _0x5899e8=_0x367929;if(this[_0x5899e8(0x139)])return;const _0x17451c=new _0x43c4fb({'locales':{[this[_0x5899e8(0x108)][_0x5899e8(0xdf)]()]:this[_0x5899e8(0x108)]['getLocales']()},'override':[[_0xe15076,{'useClass':_0x440cb6}]]}),_0x55f475=_0x17451c[_0x5899e8(0xb1)]();this[_0x5899e8(0xbe)](this['_themeService']['darkMode$'][_0x5899e8(0x11a)](_0x522f1d=>{const _0x26eeb6=_0x5899e8;_0x55f475[_0x26eeb6(0xee)](_0x1a393d)[_0x26eeb6(0x117)](_0x522f1d);})),this[_0x5899e8(0xbe)](this[_0x5899e8(0xc2)]['currentTheme$']['subscribe'](_0x4261fc=>{const _0x5af134=_0x5899e8;_0x55f475[_0x5af134(0xee)](_0x1a393d)[_0x5af134(0xb5)](_0x4261fc);})),_0x55f475[_0x5899e8(0xee)](_0x3f4791)[_0x5899e8(0xf8)](this[_0x5899e8(0x108)][_0x5899e8(0xdf)]()),_0x55f475[_0x5899e8(0xee)](_0x1d2255)[_0x5899e8(0x9b)](_0x511c7a,this[_0x5899e8(0x131)][_0x5899e8(0x130)](_0x511c7a));const _0x5a9e90=this[_0x5899e8(0x131)][_0x5899e8(0x130)](_0x2d2c6c);_0x5a9e90&&_0x17451c[_0x5899e8(0x101)](_0x3de666,{'license':_0x5a9e90['ls']}),this[_0x5899e8(0x9a)]['forEach'](([_0x179e0f,_0x138cb2])=>{_0x17451c['registerPlugin'](_0x179e0f,_0x138cb2);}),_0x55f475[_0x5899e8(0xe7)](_0x3dcca2=>{this['_initListener'](_0x3dcca2,_0x789a96);}),this[_0x5899e8(0xb6)][_0x5899e8(0x115)](_0x17451c);const _0x47cc9e=_0x55f475[_0x5899e8(0xee)](_0x437ca5),_0x5542e0=this[_0x5899e8(0xce)](_0x789a96);_0x47cc9e[_0x5899e8(0x127)](_0x789a96,_0x6b5be,_0x5542e0);}['_initListener'](_0x13b56e,_0x376526){const _0xcd2eaa=_0x367929,_0x2fb77b=_0x13b56e[_0xcd2eaa(0xee)](_0x437ca5);this['_disposableCollection']['add'](_0x2fb77b[_0xcd2eaa(0x129)][_0xcd2eaa(0x11a)](_0x1e48ef=>{const _0x3dedea=_0xcd2eaa;switch(_0x1e48ef){case _0x13817f[_0x3dedea(0x118)]:this[_0x3dedea(0xae)][_0x3dedea(0xca)](),this[_0x3dedea(0x128)][_0x3dedea(0xfc)]();break;case _0x13817f['Exited']:this[_0x3dedea(0xbb)][_0x3dedea(0xe6)](W['id']),this[_0x3dedea(0xfa)]();break;case _0x13817f['Error']:this[_0x3dedea(0xfa)](),this[_0x3dedea(0xed)][_0x3dedea(0x104)]({'content':this['_localeService']['t'](_0x3dedea(0xaa)),'type':_0x1d2dba[_0x3dedea(0xa9)],'duration':0xbb8});break;}})),this[_0xcd2eaa(0xea)]['add'](_0x2fb77b[_0xcd2eaa(0x125)][_0xcd2eaa(0x11a)](async _0x58a3b=>{const _0x13ac12=_0xcd2eaa;_0x58a3b&&this[_0x13ac12(0xbb)][_0x13ac12(0xe6)](_0x38a934['id'],{'unitId':_0x376526,'revision':_0x58a3b});}));}[_0x367929(0xce)](_0x45d93b){const _0x337ad2=_0x367929,_0x1896f7=this[_0x337ad2(0x122)][_0x337ad2(0xad)](_0x45d93b)[_0x337ad2(0x12b)]()[_0x337ad2(0x9f)](_0x5a9231=>_0x5a9231[_0x337ad2(0xe4)]()),_0x412fbc=new _0x2545f3(_0x45d93b)['id'],_0x687485=_0x1896f7[_0x337ad2(0x9f)](_0x5da1ac=>new _0x367e9d(_0x45d93b,_0x5da1ac)['id']),_0x4fccf5=_0x1896f7[_0x337ad2(0x9f)](_0x27344d=>this[_0x337ad2(0xd1)][_0x337ad2(0x11b)](_0x45d93b,_0x27344d)['map'](_0x6a2997=>new _0x2d83a2(_0x45d93b,_0x27344d,_0x6a2997['permissionId'])['id']))[_0x337ad2(0xfe)](),_0x3eb7dc=new _0x5b2c68(_0x45d93b)['id'];return this['_permissionService'][_0x337ad2(0x119)]([_0x412fbc,..._0x687485,..._0x4fccf5,_0x3eb7dc])[_0x337ad2(0xc0)](_0x51f26b=>!!_0x51f26b[_0x337ad2(0x137)]);}};f=mi([l(0x0,_0x3a681a(_0x3f4791)),l(0x1,_0x3e110e),l(0x2,_0x1d2255),l(0x3,_0x591114),l(0x4,_0x108a0f),l(0x5,_0x3c490f),l(0x6,_0x3a681a(_0x450f85)),l(0x7,_0x3a681a(_0xead82a)),l(0x8,_0x3a681a(_0x3bfd0f)),l(0x9,_0x3a681a(_0x1a393d))],f);const b={'id':_0x367929(0x123),'type':_0x5e2d84[_0x367929(0x138)],'handler':_0x2bcd92=>{const _0x2a2e45=_0x367929,_0x1252ae=_0x2bcd92[_0x2a2e45(0xee)](f),_0x1a6b11=_0x2bcd92[_0x2a2e45(0xee)](_0x3e110e),{unitId:_0x223bb1}=_0x2149a1(_0x1a6b11)||{};return _0x223bb1?(_0x1252ae[_0x2a2e45(0xd6)](_0x223bb1),!0x0):!0x1;}},W={'id':'univer.operation.exit-edit-history','type':_0x5e2d84[_0x367929(0x138)],'handler':()=>!0x0};function di(_0x37b837){const _0x56f0e8=_0x367929;return{'id':b['id'],'type':_0x5628d5[_0x56f0e8(0xb0)],'icon':_0x56f0e8(0x102),'tooltip':_0x56f0e8(0xd7),'hidden$':_0x216ba1(_0x37b837,_0x1969ac['UNIVER_SHEET']),'disabled$':_0x5bc44b(_0x37b837,{'workbookTypes':[_0x2545f3,_0x355bc4],'worksheetTypes':[],'rangeTypes':[]})};}const fi={[_0x60a397[_0x367929(0x114)]]:{[b['id']]:{'order':0.2,'menuItemFactory':di}}};var _i=Object['getOwnPropertyDescriptor'],pi=(_0x358bdc,_0x4c42f4,_0x14bf0e,_0x74d913)=>{for(var _0x4cf5d4=_0x74d913>0x1?void 0x0:_0x74d913?_i(_0x4c42f4,_0x14bf0e):_0x4c42f4,_0x356df2=_0x358bdc['length']-0x1,_0x420605;_0x356df2>=0x0;_0x356df2--)(_0x420605=_0x358bdc[_0x356df2])&&(_0x4cf5d4=_0x420605(_0x4cf5d4)||_0x4cf5d4);return _0x4cf5d4;},m=(_0x521898,_0x25fbc6)=>(_0x57a6b4,_0x2e3022)=>_0x25fbc6(_0x57a6b4,_0x2e3022,_0x521898);let p=class extends _0x3618fa{constructor(_0x51ae10,_0x26503a,_0x44748a,_0x37b2f9,_0x2bcb41,_0xebf58e,_0x21d936,_0x24a610){const _0x31fcf3=_0x367929;super(),g(this,_0x31fcf3(0xc3),null),(this[_0x31fcf3(0xbb)]=_0x51ae10,this[_0x31fcf3(0x10e)]=_0x26503a,this['_componentManager']=_0x44748a,this[_0x31fcf3(0x95)]=_0x37b2f9,this[_0x31fcf3(0x108)]=_0x2bcb41,this[_0x31fcf3(0xed)]=_0xebf58e,this[_0x31fcf3(0xb8)]=_0x21d936,this['_localCacheService']=_0x24a610,this[_0x31fcf3(0xf2)]());}[_0x367929(0xf2)](){const _0x1c9cff=_0x367929;[b,W][_0x1c9cff(0x107)](_0x32cabc=>this[_0x1c9cff(0xbe)](_0x299325(this[_0x1c9cff(0xbb)][_0x1c9cff(0xa5)](_0x32cabc)))),this['disposeWithMe'](this[_0x1c9cff(0x13a)][_0x1c9cff(0xd2)](_0x1c9cff(0x102),V)),this[_0x1c9cff(0x10e)][_0x1c9cff(0x9d)](fi),this[_0x1c9cff(0xbe)](this[_0x1c9cff(0xbb)]['onCommandExecuted'](_0x1af5ac=>{const _0x5efe0f=_0x1c9cff;if(_0x1af5ac['id']===_0x38a934['id']){this[_0x5efe0f(0xed)]['show']({'content':this[_0x5efe0f(0x108)]['t'](_0x5efe0f(0x13c)),'type':_0x1d2dba[_0x5efe0f(0xec)],'duration':0x1388});const {unitId:_0x570eab}=_0x1af5ac[_0x5efe0f(0xe3)],_0x507ebe=this[_0x5efe0f(0xb8)][_0x5efe0f(0x13b)](_0x570eab),_0x17ccfc=_0x376ec6([_0x507ebe[_0x5efe0f(0xd3)][_0x5efe0f(0xf0)],_0x507ebe[_0x5efe0f(0xe5)]])[_0x5efe0f(0x11a)](async([_0x3f0ab3,_0x3cb315])=>{const _0x4ac0f4=_0x5efe0f;var _0x32f34d;_0x3f0ab3[_0x4ac0f4(0xd4)]===_0x31350f['CHANGESET_ACK']&&(_0x3cb315==null?void 0x0:_0x3cb315['status'])===_0x30d8d3[_0x4ac0f4(0x132)]&&_0x3f0ab3[_0x4ac0f4(0xc1)][_0x4ac0f4(0x106)]['some'](_0x2f4f53=>_0x2f4f53['id']===_0x38a934['id'])&&(this[_0x4ac0f4(0x95)][_0x4ac0f4(0xfa)](),_0x17ccfc['unsubscribe'](),this[_0x4ac0f4(0xc3)]&&clearTimeout(this[_0x4ac0f4(0xc3)]),await((_0x32f34d=this[_0x4ac0f4(0x111)])==null?void 0x0:_0x32f34d[_0x4ac0f4(0xe9)]()),setTimeout(()=>window[_0x4ac0f4(0xa2)][_0x4ac0f4(0x10f)]()));});this['_revertErrorTimer']=setTimeout(()=>{const _0x5a14e7=_0x5efe0f;_0x17ccfc[_0x5a14e7(0xcc)](),this['_messageService']['show']({'content':this[_0x5a14e7(0x108)]['t'](_0x5a14e7(0xac)),'type':_0x1d2dba[_0x5a14e7(0xa9)],'duration':0xbb8});},0x1388);}}));}};p=pi([m(0x0,_0x591114),m(0x1,_0x1d907c),m(0x2,_0x3a681a(_0x521098)),m(0x3,_0x3a681a(f)),m(0x4,_0x3a681a(_0x3f4791)),m(0x5,_0x108a0f),m(0x6,_0x3a681a(_0x4760cc)),m(0x7,_0x1e5fff)],p);var Si=Object['getOwnPropertyDescriptor'],Ci=(_0x358b29,_0x53109b,_0x541c81,_0xee719c)=>{const _0x3dfdc7=_0x367929;for(var _0x47de7a=_0xee719c>0x1?void 0x0:_0xee719c?Si(_0x53109b,_0x541c81):_0x53109b,_0x33f36d=_0x358b29[_0x3dfdc7(0x11e)]-0x1,_0x4f968f;_0x33f36d>=0x0;_0x33f36d--)(_0x4f968f=_0x358b29[_0x33f36d])&&(_0x47de7a=_0x4f968f(_0x47de7a)||_0x47de7a);return _0x47de7a;},R=(_0x4ad689,_0x678526)=>(_0x47824d,_0x267d5d)=>_0x678526(_0x47824d,_0x267d5d,_0x4ad689);const yi=_0x367929(0xfd);var _;let H=(_=class extends _0x5b8387{constructor(_0x5fbfd3=N,_0x53032c,_0x2d3476){const _0x52f0cb=_0x367929;super(),this[_0x52f0cb(0xc9)]=_0x5fbfd3,this[_0x52f0cb(0x10d)]=_0x53032c,this[_0x52f0cb(0x131)]=_0x2d3476;const {menu:_0x28b74a,..._0x4c2e1d}=_0x57defd({},N,this[_0x52f0cb(0xc9)]);_0x28b74a&&this[_0x52f0cb(0x131)][_0x52f0cb(0x9b)]('menu',_0x28b74a,{'merge':!0x0}),this[_0x52f0cb(0x131)]['setConfig'](U,_0x4c2e1d),this[_0x52f0cb(0xc9)]['univerContainerId']&&this[_0x52f0cb(0x131)]['setConfig'](G,this['_config'][_0x52f0cb(0xc5)]);}[_0x367929(0xd8)](){const _0x122234=_0x367929;[[f],[p]]['forEach'](_0x26c2a2=>this[_0x122234(0x10d)][_0x122234(0xd5)](_0x26c2a2));}[_0x367929(0xb9)](){const _0x501621=_0x367929;this[_0x501621(0x10d)][_0x501621(0xee)](p);}},g(_,'type',_0x1969ac[_0x367929(0x134)]),g(_,'pluginName',yi),_);H=Ci([R(0x1,_0x3a681a(_0x5b5fc7)),R(0x2,_0x1d2255)],H);export{f as HistoryLoaderService,G as UNIVER_CONTAINER_ID_KEY,d as UNIVER_HISTORY_CONTAINER_ID,H as UniverEditHistoryLoaderPlugin};
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x221e(){const _0x430d04=['[HistoryLoaderService]:\x20Plugin\x20','permissionId','@univerjs/sheets-data-validation','4398656tVbiCI','closeAll','@univerjs/sheets-numfmt','UniverDrawing','toDisposable','UniverFormulaEnginePlugin','editHistory.panel.reverting','event$','url(#history-icon_clip0_907_281)','UniverProSheetsChartUi','onSteady','UniverProLicense','length','M0\x200H16V16H0z','@univerjs-pro/sheets-chart','UNIVER_HISTORY_CONTAINER_ID','history-icon_clip0_907_281','Module','setConfig','_menuManagerService','ISidebarService','editHistory.panel.revertFailed','Plugin','left','_injector','UniverSheetsUi','1513000NMPQWE','@univerjs/docs-ui','UniverSheetSparklinePlugin','1em','HistoryManagerService','@univerjs-pro/edit-history-viewer','add','IPermissionService','includes','MenuItemType','univer.operation.exit-edit-history','style','symbol','UniverSheetsUIPlugin','get','has','revertRevision$','subscribe','_configService','asObservable','Exited','UniverSheetsFilterUIPlugin','225250qivESs','UniverSheetsPivotTablePlugin','from','OPERATION','attrs','BehaviorSubject','IConfigService','@univerjs-pro/sheets-pivot','@univerjs/sheets-drawing','idSuffix','set','Loading','react','UniverProCollaboration','eventID','CollaborationController','WorkbookViewHistoryPermission','UniverSheetsFilterUi','@univerjs/docs','unMountHistoryContent','absolute','getOwnPropertyDescriptor','state$','_selectionProtectionRuleModel','unsubscribe','toString','assign','PLUGIN_CONFIG_KEY_MAIN_THREAD','_permissionService','@univerjs/engine-formula','_historyUniver$','RangeProtectionRuleModel','UniverInstanceType','object','mountHistoryContent','230akVrlb','workerURL','UniverEngineFormula','div','ComponentManager','edit-history-loader.config','combineLatest','map','Inject','executeCommand','mask','replace','pluginName','100%','UniverSheetsConditionalFormatting','HistoryModeStatus','top','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','clipPath','\x20has\x20been\x20registered.','historyUniver','1115038JQGqtv','_revertErrorTimer','_dialogService','mergeMenu','dataset','@univerjs/drawing','params','IMessageService','forwardRef','_localCacheService','DisposableCollection','setLocale','exhaustSavingTask','UniverUIPlugin','Entered','1000','UniverEngineRender','UniverCore','@univerjs/engine-render','flat','display','UniverDataValidation','14oWMqsU','UniverSheetsFormula','path','univerContainerId','random','next','UniverProSheetsSparklineUi','AuthzIoHttpService','UniverDesign','CollaborationStatus','HistoryLoaderService','values','@univerjs/sheets-ui','registerCommand','_localeService','1275330RInOcn','onCommandExecuted','CollaborationEvent','displayName','UNIVER_SHEET','UniverSheetsChartUIPlugin','@univerjs/sheets-filter','UniverSheetsHyperLinkUIPlugin','UniverSheetsNumfmtPlugin','univer.operation.toggle-edit-history','UniverSheetsDrawingUIPlugin','xlink:href','data','UniverDrawingUIPlugin','__getInjector','LocaleService','_checkCanRevert','fill','IDialogService','UniverSheetsNumfmt','getUnit','UniverSheetsFormulaUIPlugin','@univerjs/design','@univerjs/sheets-drawing-ui','univerjs-icon\x20univerjs-icon-','UniverProEditHistoryViewer','@univerjs/network','onStarting','_pluginMap','rxjs','getAllPlugins','getSheetId','@univerjs/sheets','close','entries','UNIVER_CONTAINER_ID','2414358AClahU','_initPlugins','getMenuHiddenObservable','getCurrentLocale','univer-history-container','show','UniverSheetsHyperLinkPlugin','ICommandService','status$','type','ThemeService','UniverRpc','use','IUniverInstanceService','RangeProtectionPermissionEditPoint','UniverLicensePlugin','invoke','HistoryIcon','UNIVER_UNKNOWN','value','clear','@univerjs/sheets-conditional-formatting-ui','session','getSheets','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','UniverProSheetsChart','every','setTheme','url(#$1','UniverNetwork','UniverSheetsFilter','@univerjs-pro/sheets-sparkline-ui','getConfig','getSubunitRuleList','_config','UniverProSheetsSparkline','116nTpPLa','_initUniver','UniverEditHistoryViewerPlugin','uComp','_init','UniverEditHistoryLoaderPlugin','_historyManagerService','WorkbookRecoverHistoryPermission','editHistory.panel.listFetchError','UniverDrawingUi','@univerjs/sheets-conditional-formatting','0\x200\x2016\x2016','@univerjs/sheets-hyper-link-ui','registerPlugin','_componentManager','UniverSheetsDrawing','location','CommandType','UniverSheetsFormulaUi','defineProperty','menu','colorChannel1','_commandService','dispose','@univerjs-pro/collaboration-client','RevertRevisionMutation','UniverSheetsHyperLink','createElement','_initListener','1433844QxLtlM','@univerjs-pro/collaboration','_themeService','block','UniverSheetsChartPlugin','MessageType','Error','function','_collaborationController','history-container','Injector','UniverSheetsFilterPlugin','svg','_univerInstanceService','UniverDocsUi','string','trim','WorkbookEditablePermission','appendChild','_messageService','UniverProSheetsPivot','UniverRenderEnginePlugin','UniverDocsPlugin','UniverUi','substring','reload','zIndex','Disposable','some','none','useRef','getElementById','historyUniver$','forEach','_sidebarService','@univerjs/drawing-ui','currentTheme$','UniverSheetsDrawingUi','@univerjs/sheets-data-validation-ui','status','Univer','_disposableCollection','IAuthzIoService','UniverSheetsHyperLinkUi','disposeWithMe','UniverSheetsDrawingPlugin','UniverSheetsConditionalFormattingPlugin','amd','toStringTag','getLocales','mutations','BUTTON','UniverSheetsDataValidation','_initContainer','getCollabEntity','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','@univerjs/rpc','children','UniverProEditHistoryLoader','@univerjs/sheets-hyper-link','UniverSheetsDataValidationUi','UniverDocs','OTHERS','IMenuManagerService','tag','CHANGESET_ACK','UniverSheetsDataValidationUIPlugin'];_0x221e=function(){return _0x430d04;};return _0x221e();}function _0x3fec(_0xd59f4f,_0x1bed96){_0xd59f4f=_0xd59f4f-0x111;const _0x221ead=_0x221e();let _0x3fec31=_0x221ead[_0xd59f4f];return _0x3fec31;}(function(_0x3a5f5e,_0x56dc7f){const _0x2b1d85=_0x3fec,_0x127c1d=_0x3a5f5e();while(!![]){try{const _0x29e621=-parseInt(_0x2b1d85(0x19a))/0x1+-parseInt(_0x2b1d85(0x14c))/0x2+-parseInt(_0x2b1d85(0x1e3))/0x3+parseInt(_0x2b1d85(0x207))/0x4*(-parseInt(_0x2b1d85(0x162))/0x5)+-parseInt(_0x2b1d85(0x1bf))/0x6*(-parseInt(_0x2b1d85(0x1b0))/0x7)+parseInt(_0x2b1d85(0x132))/0x8+-parseInt(_0x2b1d85(0x224))/0x9*(-parseInt(_0x2b1d85(0x185))/0xa);if(_0x29e621===_0x56dc7f)break;else _0x127c1d['push'](_0x127c1d['shift']());}catch(_0x4b72df){_0x127c1d['push'](_0x127c1d['shift']());}}}(_0x221e,0xa0434),function(_0x2d09e1,_0x4c68b2){const _0x4fb7ab=_0x3fec;typeof exports==_0x4fb7ab(0x183)&&typeof module<'u'?_0x4c68b2(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==_0x4fb7ab(0x22b)&&define[_0x4fb7ab(0x11b)]?define(['exports','@univerjs/core',_0x4fb7ab(0x225),_0x4fb7ab(0x21f),_0x4fb7ab(0x1d5),_0x4fb7ab(0x16e),'@univerjs/ui',_0x4fb7ab(0x1dc),_0x4fb7ab(0x1df),_0x4fb7ab(0x151),'@univerjs-pro/license',_0x4fb7ab(0x140),'@univerjs-pro/sheets-chart-ui',_0x4fb7ab(0x169),'@univerjs-pro/sheets-sparkline',_0x4fb7ab(0x202),'@univerjs/data-validation',_0x4fb7ab(0x174),_0x4fb7ab(0x14d),_0x4fb7ab(0x19f),_0x4fb7ab(0x247),_0x4fb7ab(0x17f),_0x4fb7ab(0x1ac),_0x4fb7ab(0x1d9),_0x4fb7ab(0x124),_0x4fb7ab(0x211),_0x4fb7ab(0x1f8),_0x4fb7ab(0x131),_0x4fb7ab(0x112),_0x4fb7ab(0x16a),_0x4fb7ab(0x1d6),_0x4fb7ab(0x1c5),'@univerjs/sheets-filter-ui','@univerjs/sheets-formula','@univerjs/sheets-formula-ui',_0x4fb7ab(0x127),_0x4fb7ab(0x213),_0x4fb7ab(0x134),_0x4fb7ab(0x1bc)],_0x4c68b2):(_0x2d09e1=typeof globalThis<'u'?globalThis:_0x2d09e1||self,_0x4c68b2(_0x2d09e1[_0x4fb7ab(0x126)]={},_0x2d09e1[_0x4fb7ab(0x1ab)],_0x2d09e1[_0x4fb7ab(0x16f)],_0x2d09e1['UniverProCollaborationClient'],_0x2d09e1[_0x4fb7ab(0x1b8)],_0x2d09e1['React'],_0x2d09e1[_0x4fb7ab(0x23b)],_0x2d09e1[_0x4fb7ab(0x1dc)],_0x2d09e1['UniverSheets'],_0x2d09e1[_0x4fb7ab(0x1d8)],_0x2d09e1[_0x4fb7ab(0x13d)],_0x2d09e1[_0x4fb7ab(0x1fc)],_0x2d09e1[_0x4fb7ab(0x13b)],_0x2d09e1[_0x4fb7ab(0x238)],_0x2d09e1[_0x4fb7ab(0x206)],_0x2d09e1[_0x4fb7ab(0x1b6)],_0x2d09e1[_0x4fb7ab(0x1af)],_0x2d09e1[_0x4fb7ab(0x129)],_0x2d09e1[_0x4fb7ab(0x232)],_0x2d09e1[_0x4fb7ab(0x135)],_0x2d09e1[_0x4fb7ab(0x210)],_0x2d09e1[_0x4fb7ab(0x187)],_0x2d09e1[_0x4fb7ab(0x1aa)],_0x2d09e1[_0x4fb7ab(0x200)],_0x2d09e1[_0x4fb7ab(0x1ee)],_0x2d09e1[_0x4fb7ab(0x193)],_0x2d09e1['UniverSheetsConditionalFormattingUi'],_0x2d09e1[_0x4fb7ab(0x120)],_0x2d09e1[_0x4fb7ab(0x128)],_0x2d09e1[_0x4fb7ab(0x216)],_0x2d09e1[_0x4fb7ab(0x111)],_0x2d09e1[_0x4fb7ab(0x201)],_0x2d09e1[_0x4fb7ab(0x173)],_0x2d09e1[_0x4fb7ab(0x1b1)],_0x2d09e1[_0x4fb7ab(0x219)],_0x2d09e1[_0x4fb7ab(0x221)],_0x2d09e1[_0x4fb7ab(0x117)],_0x2d09e1[_0x4fb7ab(0x1d2)],_0x2d09e1[_0x4fb7ab(0x14b)]));}(this,function(_0x27ada1,_0x537c22,_0x4f3e9c,_0x251c0a,_0x3ef9d6,_0x41080a,_0x22baaf,_0x22eb74,_0x44ec29,_0x5a1305,_0x2d79c1,_0x737433,_0x55fdb9,_0x293dd8,_0x28ed15,_0x3dd1e2,_0x2e1490,_0xf44cde,_0x56f538,_0x59b92f,_0x230441,_0x52f746,_0x33ba4f,_0x31a66b,_0x1340b6,_0x16b055,_0x1bb4fa,_0x42f6d6,_0x2633a3,_0x3d7369,_0x31a301,_0x3f601c,_0x5f6a98,_0x212bed,_0x3e107e,_0x551090,_0x2805d7,_0x126bcd,_0x5df6f3){'use strict';const _0x23586f=_0x3fec;var _0x4471b3=Object[_0x23586f(0x21a)],_0x2b7506=(_0x377052,_0x114197,_0x3597da)=>_0x114197 in _0x377052?_0x4471b3(_0x377052,_0x114197,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3597da}):_0x377052[_0x114197]=_0x3597da,_0xc3bd1b=(_0x30b17f,_0x315970,_0x4244f3)=>_0x2b7506(_0x30b17f,typeof _0x315970!=_0x23586f(0x158)?_0x315970+'':_0x315970,_0x4244f3),_0x5c3e85;const _0x264e8e=_0x23586f(0x18a),_0x2937ec={};function _0x414ef8({ref:_0xb8e16,..._0x1ee41a}){const _0x4eb197=_0x23586f,{icon:_0x200766,id:_0x494958,className:_0x1da537,extend:_0x21c2b4,..._0x47ba9a}=_0x1ee41a,_0x243dae=(_0x4eb197(0x1d7)+_0x494958+'\x20'+(_0x1da537||''))[_0x4eb197(0x234)](),_0x150cfb=_0x41080a[_0x4eb197(0x242)]('_'+_0x4b3b6c());return _0x113efb(_0x200766,''+_0x494958,{'defIds':_0x200766['defIds'],'idSuffix':_0x150cfb['current']},{'ref':_0xb8e16,'className':_0x243dae,..._0x47ba9a},_0x21c2b4);}function _0x113efb(_0x3af182,_0x1dd42a,_0x2fc90b,_0x37663c,_0x14cd87){const _0x515ef5=_0x23586f;return _0x41080a[_0x515ef5(0x222)](_0x3af182[_0x515ef5(0x12c)],{'key':_0x1dd42a,..._0x33bdb8(_0x3af182,_0x2fc90b,_0x14cd87),..._0x37663c},(_0x3e878e(_0x3af182,_0x2fc90b)[_0x515ef5(0x125)]||[])[_0x515ef5(0x18c)]((_0x2921b2,_0x31e9a8)=>_0x113efb(_0x2921b2,_0x1dd42a+'-'+_0x3af182[_0x515ef5(0x12c)]+'-'+_0x31e9a8,_0x2fc90b,void 0x0,_0x14cd87)));}function _0x33bdb8(_0x159f49,_0x5e60c3,_0x2571fb){const _0x1c031d=_0x23586f,_0x3cd13b={..._0x159f49['attrs']};_0x2571fb!=null&&_0x2571fb[_0x1c031d(0x21c)]&&_0x3cd13b['fill']===_0x1c031d(0x21c)&&(_0x3cd13b[_0x1c031d(0x1d0)]=_0x2571fb[_0x1c031d(0x21c)]),_0x159f49['tag']==='mask'&&_0x3cd13b['id']&&(_0x3cd13b['id']=_0x3cd13b['id']+_0x5e60c3[_0x1c031d(0x16b)]),Object['entries'](_0x3cd13b)['forEach'](([_0x48292e,_0x56da33])=>{const _0x59f2aa=_0x1c031d;_0x48292e===_0x59f2aa(0x18f)&&typeof _0x56da33==_0x59f2aa(0x233)&&(_0x3cd13b[_0x48292e]=_0x56da33[_0x59f2aa(0x190)](/url\(#(.*)\)/,_0x59f2aa(0x1ff)+_0x5e60c3[_0x59f2aa(0x16b)]+')'));});const {defIds:_0x4c30b6}=_0x5e60c3;return!_0x4c30b6||_0x4c30b6[_0x1c031d(0x13e)]===0x0||(_0x159f49[_0x1c031d(0x12c)]===_0x1c031d(0x1ef)&&_0x3cd13b['xlink:href']&&(_0x3cd13b[_0x1c031d(0x1ca)]=_0x3cd13b[_0x1c031d(0x1ca)]+_0x5e60c3[_0x1c031d(0x16b)]),Object[_0x1c031d(0x1e1)](_0x3cd13b)[_0x1c031d(0x245)](([_0x203d7b,_0x56166c])=>{const _0x3699bf=_0x1c031d;typeof _0x56166c=='string'&&(_0x3cd13b[_0x203d7b]=_0x56166c[_0x3699bf(0x190)](/url\(#(.*)\)/,_0x3699bf(0x1ff)+_0x5e60c3['idSuffix']+')'));})),_0x3cd13b;}function _0x3e878e(_0xb4aed3,_0x48aa51){const _0x3eadd5=_0x23586f;var _0x20e5ef;const {defIds:_0x330753}=_0x48aa51;return!_0x330753||_0x330753[_0x3eadd5(0x13e)]===0x0?_0xb4aed3:_0xb4aed3[_0x3eadd5(0x12c)]==='defs'&&((_0x20e5ef=_0xb4aed3[_0x3eadd5(0x125)])!=null&&_0x20e5ef[_0x3eadd5(0x13e)])?{..._0xb4aed3,'children':_0xb4aed3['children']['map'](_0x477c5a=>typeof _0x477c5a[_0x3eadd5(0x166)]['id']=='string'&&_0x330753&&_0x330753[_0x3eadd5(0x154)](_0x477c5a['attrs']['id'])?{..._0x477c5a,'attrs':{..._0x477c5a[_0x3eadd5(0x166)],'id':_0x477c5a['attrs']['id']+_0x48aa51[_0x3eadd5(0x16b)]}}:_0x477c5a)}:_0xb4aed3;}function _0x4b3b6c(){const _0x35de89=_0x23586f;return Math[_0x35de89(0x1b4)]()[_0x35de89(0x17b)](0x24)[_0x35de89(0x23c)](0x2,0x8);}_0x414ef8[_0x23586f(0x1c2)]='UniverIcon';const _0x3d53b6={'tag':_0x23586f(0x230),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x23586f(0x241),'viewBox':_0x23586f(0x212),'width':_0x23586f(0x14f),'height':_0x23586f(0x14f)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':_0x23586f(0x13a)},'children':[{'tag':_0x23586f(0x1b2),'attrs':{'d':_0x23586f(0x1fb)}},{'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':'defs','attrs':{},'children':[{'tag':_0x23586f(0x197),'attrs':{'id':_0x23586f(0x142)},'children':[{'tag':_0x23586f(0x1b2),'attrs':{'fill':'white','d':_0x23586f(0x13f)}}]}]}],'defIds':[_0x23586f(0x142)]},_0x438dd9=_0x41080a[_0x23586f(0x1a2)](function(_0x528c05,_0x1b9166){const _0x1d6fb4=_0x23586f;return _0x41080a[_0x1d6fb4(0x222)](_0x414ef8,Object[_0x1d6fb4(0x17c)]({},_0x528c05,{'id':'history-icon','ref':_0x1b9166,'icon':_0x3d53b6}));});_0x438dd9[_0x23586f(0x1c2)]=_0x23586f(0x1f4);var _0x3a4b29=Object[_0x23586f(0x177)],_0x4956e5=(_0x55692a,_0x39c30a,_0x38e7b0,_0x3607bb)=>{const _0x2df7e8=_0x23586f;for(var _0x4b005e=_0x3607bb>0x1?void 0x0:_0x3607bb?_0x3a4b29(_0x39c30a,_0x38e7b0):_0x39c30a,_0x5e98e7=_0x55692a[_0x2df7e8(0x13e)]-0x1,_0x4182b7;_0x5e98e7>=0x0;_0x5e98e7--)(_0x4182b7=_0x55692a[_0x5e98e7])&&(_0x4b005e=_0x4182b7(_0x4b005e)||_0x4b005e);return _0x4b005e;},_0x58fb9e=(_0x2dafac,_0x1e5825)=>(_0x59bed6,_0x544e13)=>_0x1e5825(_0x59bed6,_0x544e13,_0x2dafac);const _0x4b2c74='univer-container',_0x1dc2bf=_0x23586f(0x1e2),_0x316434=_0x23586f(0x1e7);_0x27ada1['HistoryLoaderService']=class extends _0x537c22[_0x23586f(0x23f)]{constructor(_0x3a3818,_0x26276a,_0xfd4679,_0x3779b2,_0x26312a,_0x1a0e24,_0x4f94d4,_0x51bd3f,_0x313b7b,_0x1dee47){const _0x50889b=_0x23586f;super(),_0xc3bd1b(this,'_historyUniver$',new _0x22eb74[(_0x50889b(0x167))](null)),_0xc3bd1b(this,_0x50889b(0x244),this['_historyUniver$'][_0x50889b(0x15f)]()),_0xc3bd1b(this,_0x50889b(0x115),new _0x537c22[(_0x50889b(0x1a4))]()),_0xc3bd1b(this,'_pluginMap',new Map()),(this['_localeService']=_0x3a3818,this['_univerInstanceService']=_0x26276a,this['_configService']=_0xfd4679,this[_0x50889b(0x21d)]=_0x3779b2,this[_0x50889b(0x237)]=_0x26312a,this[_0x50889b(0x17e)]=_0x1a0e24,this[_0x50889b(0x179)]=_0x4f94d4,this[_0x50889b(0x19c)]=_0x51bd3f,this[_0x50889b(0x246)]=_0x313b7b,this[_0x50889b(0x226)]=_0x1dee47,this['_init']());}get[_0x23586f(0x199)](){const _0x4e1111=_0x23586f;return this[_0x4e1111(0x180)][_0x4e1111(0x1f6)];}[_0x23586f(0x20b)](){const _0x1efd63=_0x23586f;this[_0x1efd63(0x121)](),this[_0x1efd63(0x1e4)]();}[_0x23586f(0x121)](){const _0x4e65a3=_0x23586f;var _0x360a85;const _0x4ee441=(_0x360a85=this[_0x4e65a3(0x15e)][_0x4e65a3(0x203)](_0x1dc2bf))!=null?_0x360a85:_0x4b2c74,_0x213ee8=document[_0x4e65a3(0x243)](_0x4ee441);if(!_0x213ee8)return;const _0x575443=document[_0x4e65a3(0x222)](_0x4e65a3(0x188));_0x575443['id']=_0x316434,_0x575443[_0x4e65a3(0x19e)][_0x4e65a3(0x20a)]=_0x4e65a3(0x22d),_0x575443['style']['position']=_0x4e65a3(0x176),_0x575443[_0x4e65a3(0x157)][_0x4e65a3(0x195)]='0',_0x575443['style'][_0x4e65a3(0x149)]='0',_0x575443[_0x4e65a3(0x157)]['width']='100%',_0x575443[_0x4e65a3(0x157)]['height']=_0x4e65a3(0x192),_0x575443['style'][_0x4e65a3(0x23e)]=_0x4e65a3(0x1a9),_0x575443[_0x4e65a3(0x157)]['display']=_0x4e65a3(0x241),_0x213ee8[_0x4e65a3(0x236)](_0x575443);}['_initPlugins'](){const _0x4c538d=_0x23586f;var _0x46db58,_0x283c46,_0x404b28,_0x2ec6da;[[_0x33ba4f[_0x4c538d(0x239)]],[_0x22baaf[_0x4c538d(0x1a7)],{'container':_0x316434,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x22baaf[_0x4c538d(0x1d1)],null]]}],[_0x31a66b['UniverNetworkPlugin']],[_0x59b92f['UniverDrawingPlugin'],{'override':[[_0x59b92f['IImageIoService'],null]]}],[_0xf44cde[_0x4c538d(0x23a)],{'hasScroll':!0x1}],[_0x56f538['UniverDocsUIPlugin']],[_0x126bcd[_0x4c538d(0x1c7)]],[_0x44ec29['UniverSheetsPlugin'],{'notExecuteFormula':!0x0}],[_0x5df6f3[_0x4c538d(0x159)]],[_0x212bed['UniverSheetsFormulaPlugin']],[_0x3e107e[_0x4c538d(0x1d4)]],[_0x4f3e9c['UniverCollaborationPlugin']],[_0x3f601c[_0x4c538d(0x22f)]],[_0x5f6a98[_0x4c538d(0x161)]],[_0x16b055[_0x4c538d(0x11a)]],[_0x1bb4fa['UniverSheetsConditionalFormattingUIPlugin']],[_0x551090[_0x4c538d(0x1e9)]],[_0x2805d7[_0x4c538d(0x1c6)]],[_0x2e1490['UniverDataValidationPlugin']],[_0x42f6d6['UniverSheetsDataValidationPlugin']],[_0x2633a3[_0x4c538d(0x12e)]],[_0x52f746[_0x4c538d(0x137)],{'notExecuteFormula':!0x0}],[_0x1340b6['UniverRPCMainThreadPlugin'],{'workerURL':(_0x283c46=(_0x46db58=this[_0x4c538d(0x15e)][_0x4c538d(0x203)](_0x1340b6[_0x4c538d(0x17d)]))==null?void 0x0:_0x46db58[_0x4c538d(0x186)])!=null?_0x283c46:'./worker.js'}],[_0x230441[_0x4c538d(0x1cc)]],[_0x3d7369[_0x4c538d(0x119)]],[_0x31a301[_0x4c538d(0x1c9)]],[_0x28ed15[_0x4c538d(0x14e)]],[_0x3dd1e2['UniverSheetSparklineUIPlugin']],[_0x737433[_0x4c538d(0x228)]],[_0x55fdb9[_0x4c538d(0x1c4)]],[_0x293dd8[_0x4c538d(0x163)],{'notExecuteFormula':!0x0}],[_0x5a1305[_0x4c538d(0x209)],{'historyListServerUrl':(_0x404b28=this['_configService'][_0x4c538d(0x203)](_0x264e8e))==null?void 0x0:_0x404b28['historyListServerUrl'],'historyPanelComponentKey':(_0x2ec6da=this['_configService']['getConfig'](_0x264e8e))==null?void 0x0:_0x2ec6da['historyPanelComponentKey']}]][_0x4c538d(0x245)](([_0x3f0fed,_0xece0b0])=>this['registerPlugin'](_0x3f0fed,_0xece0b0));}[_0x23586f(0x21e)](){const _0x3c346a=_0x23586f;super[_0x3c346a(0x21e)](),this['unMountHistoryContent'](),this[_0x3c346a(0x1db)][_0x3c346a(0x1f7)]();}['registerPlugin'](_0x235515,_0x14c4f2,_0x178af4){const _0x457877=_0x23586f;if(this[_0x457877(0x1db)][_0x457877(0x15b)](_0x235515[_0x457877(0x191)])&&!_0x178af4)throw new Error(_0x457877(0x12f)+_0x235515['pluginName']+_0x457877(0x198));this[_0x457877(0x1db)][_0x457877(0x16c)](_0x235515[_0x457877(0x191)],[_0x235515,_0x14c4f2]);}[_0x23586f(0x1dd)](){const _0x1e8307=_0x23586f;return Array[_0x1e8307(0x164)](this['_pluginMap'][_0x1e8307(0x1bb)]());}['mountHistoryContent'](_0x3ecb24){const _0x1b0d1c=_0x23586f,_0x5cfcd3=document[_0x1b0d1c(0x243)](_0x316434);_0x5cfcd3&&(_0x5cfcd3[_0x1b0d1c(0x157)]['display']=_0x1b0d1c(0x227),this[_0x1b0d1c(0x208)](_0x3ecb24,_0x316434));}['unMountHistoryContent'](){const _0xdf006=_0x23586f;var _0x469cb8;this['_disposableCollection'][_0xdf006(0x21e)](),(_0x469cb8=this['historyUniver'])==null||_0x469cb8[_0xdf006(0x21e)](),this[_0xdf006(0x180)][_0xdf006(0x1b5)](null);const _0x4732a5=document[_0xdf006(0x243)](_0x316434);_0x4732a5&&(_0x4732a5[_0xdf006(0x157)][_0xdf006(0x1ae)]='none');}[_0x23586f(0x208)](_0x35c586,_0x20b145){const _0x166bc4=_0x23586f;if(this[_0x166bc4(0x199)])return;const _0xe37425=new _0x537c22[(_0x166bc4(0x114))]({'locales':{[this[_0x166bc4(0x1be)][_0x166bc4(0x1e6)]()]:this[_0x166bc4(0x1be)][_0x166bc4(0x11d)]()},'override':[[_0x537c22[_0x166bc4(0x116)],{'useClass':_0x251c0a[_0x166bc4(0x1b7)]}]]}),_0x514088=_0xe37425[_0x166bc4(0x1cd)]();this[_0x166bc4(0x118)](this['_themeService']['darkMode$'][_0x166bc4(0x15d)](_0x4b7c29=>{const _0x76b0ea=_0x166bc4;_0x514088[_0x76b0ea(0x15a)](_0x537c22['ThemeService'])['setDarkMode'](_0x4b7c29);})),this[_0x166bc4(0x118)](this[_0x166bc4(0x226)][_0x166bc4(0x248)][_0x166bc4(0x15d)](_0x8c2b4f=>{const _0x46536c=_0x166bc4;_0x514088[_0x46536c(0x15a)](_0x537c22[_0x46536c(0x1ed)])[_0x46536c(0x1fe)](_0x8c2b4f);})),_0x514088[_0x166bc4(0x15a)](_0x537c22[_0x166bc4(0x1ce)])[_0x166bc4(0x1a5)](this['_localeService'][_0x166bc4(0x1e6)]()),_0x514088[_0x166bc4(0x15a)](_0x537c22['IConfigService'])['setConfig'](_0x251c0a[_0x166bc4(0x196)],this[_0x166bc4(0x15e)][_0x166bc4(0x203)](_0x251c0a[_0x166bc4(0x196)]));const _0x3843c3=this[_0x166bc4(0x15e)]['getConfig'](_0x2d79c1['LS_CONFIG_KEY']);_0x3843c3&&_0xe37425[_0x166bc4(0x214)](_0x2d79c1[_0x166bc4(0x1f2)],{'license':_0x3843c3['ls']}),this[_0x166bc4(0x1db)]['forEach'](([_0x5afaa6,_0x2ee4d2])=>{const _0x4db390=_0x166bc4;_0xe37425[_0x4db390(0x214)](_0x5afaa6,_0x2ee4d2);}),_0x514088[_0x166bc4(0x1f3)](_0x59416b=>{this['_initListener'](_0x59416b,_0x35c586);}),this[_0x166bc4(0x180)]['next'](_0xe37425);const _0x3f1803=_0x514088[_0x166bc4(0x15a)](_0x5a1305[_0x166bc4(0x150)]),_0x1fdeb6=this['_checkCanRevert'](_0x35c586);_0x3f1803['triggerLoadVersions'](_0x35c586,_0x20b145,_0x1fdeb6);}[_0x23586f(0x223)](_0x3b031d,_0x8020fb){const _0x4d069f=_0x23586f,_0x18e630=_0x3b031d['get'](_0x5a1305['HistoryManagerService']);this[_0x4d069f(0x115)][_0x4d069f(0x152)](_0x18e630[_0x4d069f(0x1eb)]['subscribe'](_0x33857e=>{const _0x144a1a=_0x4d069f;switch(_0x33857e){case _0x5a1305[_0x144a1a(0x194)][_0x144a1a(0x1a8)]:this[_0x144a1a(0x19c)][_0x144a1a(0x133)](),this[_0x144a1a(0x246)][_0x144a1a(0x1e0)]();break;case _0x5a1305[_0x144a1a(0x194)][_0x144a1a(0x160)]:this[_0x144a1a(0x21d)][_0x144a1a(0x18e)](_0x40b99b['id']),this[_0x144a1a(0x175)]();break;case _0x5a1305['HistoryModeStatus'][_0x144a1a(0x22a)]:this[_0x144a1a(0x175)](),this[_0x144a1a(0x237)]['show']({'content':this[_0x144a1a(0x1be)]['t'](_0x144a1a(0x20f)),'type':_0x3ef9d6['MessageType']['Error'],'duration':0xbb8});break;}})),this[_0x4d069f(0x115)][_0x4d069f(0x152)](_0x18e630[_0x4d069f(0x15c)][_0x4d069f(0x15d)](async _0x74b841=>{const _0x1c5a97=_0x4d069f;_0x74b841&&this[_0x1c5a97(0x21d)]['executeCommand'](_0x4f3e9c[_0x1c5a97(0x220)]['id'],{'unitId':_0x8020fb,'revision':_0x74b841});}));}[_0x23586f(0x1cf)](_0x4899d0){const _0x2da548=_0x23586f,_0x1e5c83=this[_0x2da548(0x231)][_0x2da548(0x1d3)](_0x4899d0)[_0x2da548(0x1fa)]()[_0x2da548(0x18c)](_0x580994=>_0x580994[_0x2da548(0x1de)]()),_0x286052=new _0x44ec29[(_0x2da548(0x235))](_0x4899d0)['id'],_0x3c7564=_0x1e5c83[_0x2da548(0x18c)](_0x13a1cb=>new _0x44ec29['WorksheetEditPermission'](_0x4899d0,_0x13a1cb)['id']),_0xcd7e70=_0x1e5c83[_0x2da548(0x18c)](_0xcb79e8=>this[_0x2da548(0x179)][_0x2da548(0x204)](_0x4899d0,_0xcb79e8)[_0x2da548(0x18c)](_0x2f1f79=>new _0x44ec29[(_0x2da548(0x1f1))](_0x4899d0,_0xcb79e8,_0x2f1f79[_0x2da548(0x130)])['id']))[_0x2da548(0x1ad)](),_0x383437=new _0x44ec29[(_0x2da548(0x20e))](_0x4899d0)['id'];return this['_permissionService']['composePermission']([_0x286052,..._0x3c7564,..._0xcd7e70,_0x383437])[_0x2da548(0x1fd)](_0x788696=>!!_0x788696[_0x2da548(0x1f6)]);}},_0x27ada1[_0x23586f(0x1ba)]=_0x4956e5([_0x58fb9e(0x0,_0x537c22[_0x23586f(0x18d)](_0x537c22[_0x23586f(0x1ce)])),_0x58fb9e(0x1,_0x537c22[_0x23586f(0x1f0)]),_0x58fb9e(0x2,_0x537c22['IConfigService']),_0x58fb9e(0x3,_0x537c22['ICommandService']),_0x58fb9e(0x4,_0x22baaf[_0x23586f(0x1a1)]),_0x58fb9e(0x5,_0x537c22[_0x23586f(0x153)]),_0x58fb9e(0x6,_0x537c22[_0x23586f(0x18d)](_0x44ec29[_0x23586f(0x181)])),_0x58fb9e(0x7,_0x537c22[_0x23586f(0x18d)](_0x22baaf[_0x23586f(0x1d1)])),_0x58fb9e(0x8,_0x537c22['Inject'](_0x22baaf[_0x23586f(0x146)])),_0x58fb9e(0x9,_0x537c22[_0x23586f(0x18d)](_0x537c22['ThemeService']))],_0x27ada1[_0x23586f(0x1ba)]);const _0x8dff02={'id':_0x23586f(0x1c8),'type':_0x537c22[_0x23586f(0x218)][_0x23586f(0x165)],'handler':_0x373594=>{const _0x3d71c7=_0x23586f,_0x27d6a4=_0x373594[_0x3d71c7(0x15a)](_0x27ada1[_0x3d71c7(0x1ba)]),_0x1f25dd=_0x373594[_0x3d71c7(0x15a)](_0x537c22[_0x3d71c7(0x1f0)]),{unitId:_0x2cf9d0}=_0x44ec29['getSheetCommandTarget'](_0x1f25dd)||{};return _0x2cf9d0?(_0x27d6a4[_0x3d71c7(0x184)](_0x2cf9d0),!0x0):!0x1;}},_0x40b99b={'id':_0x23586f(0x156),'type':_0x537c22['CommandType'][_0x23586f(0x165)],'handler':()=>!0x0};function _0x5e1f06(_0x449ab9){const _0x33a740=_0x23586f;return{'id':_0x8dff02['id'],'type':_0x22baaf[_0x33a740(0x155)][_0x33a740(0x11f)],'icon':_0x33a740(0x1f4),'tooltip':'editHistory.panel.title','hidden$':_0x22baaf[_0x33a740(0x1e5)](_0x449ab9,_0x537c22[_0x33a740(0x182)][_0x33a740(0x1c3)]),'disabled$':_0x5df6f3['getCurrentRangeDisable$'](_0x449ab9,{'workbookTypes':[_0x44ec29[_0x33a740(0x235)],_0x44ec29[_0x33a740(0x172)]],'worksheetTypes':[],'rangeTypes':[]})};}const _0x4cae7b={[_0x22baaf['RibbonStartGroup'][_0x23586f(0x12a)]]:{[_0x8dff02['id']]:{'order':0.2,'menuItemFactory':_0x5e1f06}}};var _0x26be2e=Object[_0x23586f(0x177)],_0x49ebd4=(_0x2ba406,_0x53d939,_0x4a2d2e,_0x2f9de2)=>{const _0x17df4a=_0x23586f;for(var _0x3dea75=_0x2f9de2>0x1?void 0x0:_0x2f9de2?_0x26be2e(_0x53d939,_0x4a2d2e):_0x53d939,_0x476734=_0x2ba406[_0x17df4a(0x13e)]-0x1,_0x262f69;_0x476734>=0x0;_0x476734--)(_0x262f69=_0x2ba406[_0x476734])&&(_0x3dea75=_0x262f69(_0x3dea75)||_0x3dea75);return _0x3dea75;},_0x2d4b4a=(_0x44f113,_0x2550ce)=>(_0x483942,_0x14183c)=>_0x2550ce(_0x483942,_0x14183c,_0x44f113);let _0xb881c7=class extends _0x537c22['RxDisposable']{constructor(_0x4d541b,_0x3ffae9,_0x375347,_0x101706,_0x27133c,_0x3dfa15,_0x411753,_0x58a049){const _0x1f68b8=_0x23586f;super(),_0xc3bd1b(this,_0x1f68b8(0x19b),null),(this[_0x1f68b8(0x21d)]=_0x4d541b,this[_0x1f68b8(0x145)]=_0x3ffae9,this[_0x1f68b8(0x215)]=_0x375347,this[_0x1f68b8(0x20d)]=_0x101706,this[_0x1f68b8(0x1be)]=_0x27133c,this[_0x1f68b8(0x237)]=_0x3dfa15,this['_collaborationController']=_0x411753,this[_0x1f68b8(0x1a3)]=_0x58a049,this[_0x1f68b8(0x20b)]());}[_0x23586f(0x20b)](){const _0x3f2ac8=_0x23586f;[_0x8dff02,_0x40b99b][_0x3f2ac8(0x245)](_0x55956c=>this[_0x3f2ac8(0x118)](_0x537c22[_0x3f2ac8(0x136)](this[_0x3f2ac8(0x21d)][_0x3f2ac8(0x1bd)](_0x55956c)))),this[_0x3f2ac8(0x118)](this[_0x3f2ac8(0x215)]['register']('HistoryIcon',_0x438dd9)),this[_0x3f2ac8(0x145)][_0x3f2ac8(0x19d)](_0x4cae7b),this[_0x3f2ac8(0x118)](this[_0x3f2ac8(0x21d)][_0x3f2ac8(0x1c0)](_0x20b0c8=>{const _0x352fe4=_0x3f2ac8;if(_0x20b0c8['id']===_0x4f3e9c['RevertRevisionMutation']['id']){this[_0x352fe4(0x237)][_0x352fe4(0x1e8)]({'content':this['_localeService']['t'](_0x352fe4(0x138)),'type':_0x3ef9d6[_0x352fe4(0x229)][_0x352fe4(0x16d)],'duration':0x1388});const {unitId:_0x40536f}=_0x20b0c8[_0x352fe4(0x1a0)],_0x4d162a=this[_0x352fe4(0x22c)][_0x352fe4(0x122)](_0x40536f),_0x7bbb0e=_0x22eb74[_0x352fe4(0x18b)]([_0x4d162a[_0x352fe4(0x1f9)][_0x352fe4(0x139)],_0x4d162a[_0x352fe4(0x178)]])[_0x352fe4(0x15d)](async([_0x56e6f1,_0x55e476])=>{const _0x35c124=_0x352fe4;var _0x9a0496;_0x56e6f1[_0x35c124(0x170)]===_0x4f3e9c[_0x35c124(0x1c1)][_0x35c124(0x12d)]&&(_0x55e476==null?void 0x0:_0x55e476[_0x35c124(0x113)])===_0x251c0a[_0x35c124(0x1b9)]['SYNCED']&&_0x56e6f1[_0x35c124(0x1cb)][_0x35c124(0x11e)][_0x35c124(0x240)](_0x3635e2=>_0x3635e2['id']===_0x4f3e9c['RevertRevisionMutation']['id'])&&(this[_0x35c124(0x20d)]['unMountHistoryContent'](),_0x7bbb0e[_0x35c124(0x17a)](),this[_0x35c124(0x19b)]&&clearTimeout(this[_0x35c124(0x19b)]),await((_0x9a0496=this[_0x35c124(0x1a3)])==null?void 0x0:_0x9a0496[_0x35c124(0x1a6)]()),setTimeout(()=>window[_0x35c124(0x217)][_0x35c124(0x23d)]()));});this['_revertErrorTimer']=setTimeout(()=>{const _0x41ac4a=_0x352fe4;_0x7bbb0e[_0x41ac4a(0x17a)](),this[_0x41ac4a(0x237)]['show']({'content':this['_localeService']['t'](_0x41ac4a(0x147)),'type':_0x3ef9d6[_0x41ac4a(0x229)][_0x41ac4a(0x22a)],'duration':0xbb8});},0x1388);}}));}};_0xb881c7=_0x49ebd4([_0x2d4b4a(0x0,_0x537c22[_0x23586f(0x1ea)]),_0x2d4b4a(0x1,_0x22baaf[_0x23586f(0x12b)]),_0x2d4b4a(0x2,_0x537c22[_0x23586f(0x18d)](_0x22baaf[_0x23586f(0x189)])),_0x2d4b4a(0x3,_0x537c22['Inject'](_0x27ada1[_0x23586f(0x1ba)])),_0x2d4b4a(0x4,_0x537c22[_0x23586f(0x18d)](_0x537c22[_0x23586f(0x1ce)])),_0x2d4b4a(0x5,_0x22baaf[_0x23586f(0x1a1)]),_0x2d4b4a(0x6,_0x537c22[_0x23586f(0x18d)](_0x251c0a[_0x23586f(0x171)])),_0x2d4b4a(0x7,_0x251c0a['ILocalCacheService'])],_0xb881c7);var _0x5b662f=Object[_0x23586f(0x177)],_0xe47ace=(_0x415bdc,_0x304cef,_0x1643ff,_0x2b830d)=>{const _0x4b4ff1=_0x23586f;for(var _0x22be5b=_0x2b830d>0x1?void 0x0:_0x2b830d?_0x5b662f(_0x304cef,_0x1643ff):_0x304cef,_0x290f3c=_0x415bdc[_0x4b4ff1(0x13e)]-0x1,_0x586429;_0x290f3c>=0x0;_0x290f3c--)(_0x586429=_0x415bdc[_0x290f3c])&&(_0x22be5b=_0x586429(_0x22be5b)||_0x22be5b);return _0x22be5b;},_0x72dc6e=(_0x335da1,_0x13c69a)=>(_0xa5b6d0,_0x46cf73)=>_0x13c69a(_0xa5b6d0,_0x46cf73,_0x335da1);const _0x2255c2=_0x23586f(0x123);_0x27ada1[_0x23586f(0x20c)]=(_0x5c3e85=class extends _0x537c22[_0x23586f(0x148)]{constructor(_0x27be98=_0x2937ec,_0x2e977d,_0x31eb25){const _0x3dc2e8=_0x23586f;super(),this[_0x3dc2e8(0x205)]=_0x27be98,this[_0x3dc2e8(0x14a)]=_0x2e977d,this[_0x3dc2e8(0x15e)]=_0x31eb25;const {menu:_0x19019b,..._0x3d443e}=_0x537c22['merge']({},_0x2937ec,this['_config']);_0x19019b&&this[_0x3dc2e8(0x15e)][_0x3dc2e8(0x144)](_0x3dc2e8(0x21b),_0x19019b,{'merge':!0x0}),this['_configService'][_0x3dc2e8(0x144)](_0x264e8e,_0x3d443e),this['_config'][_0x3dc2e8(0x1b3)]&&this[_0x3dc2e8(0x15e)][_0x3dc2e8(0x144)](_0x1dc2bf,this[_0x3dc2e8(0x205)][_0x3dc2e8(0x1b3)]);}[_0x23586f(0x1da)](){const _0x2fa9ac=_0x23586f;[[_0x27ada1['HistoryLoaderService']],[_0xb881c7]][_0x2fa9ac(0x245)](_0x179d5b=>this[_0x2fa9ac(0x14a)]['add'](_0x179d5b));}[_0x23586f(0x13c)](){const _0x43dfbc=_0x23586f;this[_0x43dfbc(0x14a)][_0x43dfbc(0x15a)](_0xb881c7);}},_0xc3bd1b(_0x5c3e85,_0x23586f(0x1ec),_0x537c22[_0x23586f(0x182)][_0x23586f(0x1f5)]),_0xc3bd1b(_0x5c3e85,_0x23586f(0x191),_0x2255c2),_0x5c3e85),_0x27ada1[_0x23586f(0x20c)]=_0xe47ace([_0x72dc6e(0x1,_0x537c22[_0x23586f(0x18d)](_0x537c22[_0x23586f(0x22e)])),_0x72dc6e(0x2,_0x537c22[_0x23586f(0x168)])],_0x27ada1[_0x23586f(0x20c)]),_0x27ada1['UNIVER_CONTAINER_ID_KEY']=_0x1dc2bf,_0x27ada1[_0x23586f(0x141)]=_0x316434,Object[_0x23586f(0x21a)](_0x27ada1,Symbol[_0x23586f(0x11c)],{'value':_0x23586f(0x143)});}));
1
+ function _0x4265(_0xa65dda,_0x28ed54){_0xa65dda=_0xa65dda-0x99;const _0x5aec3a=_0x5aec();let _0x426566=_0x5aec3a[_0xa65dda];return _0x426566;}function _0x5aec(){const _0x1f668c=['UniverInstanceType','_init','_sidebarService','@univerjs/rpc','WorkbookRecoverHistoryPermission','IUniverInstanceService','./worker.js','UniverProEditHistoryLoader','currentColor','283352XoNbhe','MessageType','revertRevision$','UniverSheetsDrawing','asObservable','18soMGFD','UniverUi','width','_historyUniver$','UniverProSheetsChart','Injector','executeCommand','259020TsaMRI','UniverSheetsFilterPlugin','IConfigService','@univerjs/design','_historyManagerService','M0\x200H16V16H0z','WorkbookEditablePermission','position','@univerjs/sheets-formula-ui','mutations','_localCacheService','UniverSheetsNumfmt','Error','getSheetId','getMenuHiddenObservable','attrs','UniverSheetsDataValidationUi','UniverIcon','Inject','CollaborationEvent','UniverProSheetsPivot','style','onStarting','_injector','height','IDialogService','8193339qGvKLY','UniverSheetsPlugin','colorChannel1','UniverRPCMainThreadPlugin','svg','Exited','next','mountHistoryContent','getOwnPropertyDescriptor','@univerjs/sheets-data-validation-ui','UniverSheetsFormula','_univerInstanceService','UniverSheetsDrawingPlugin','RibbonStartGroup','@univerjs-pro/sheets-sparkline','url(#$1','none','Module','@univerjs/sheets','session','@univerjs/docs','UniverSheetsDrawingUIPlugin','UniverCore','historyUniver$','UniverProSheetsChartUi','historyPanelComponentKey','_dialogService','@univerjs/engine-formula','RevertRevisionMutation','div','UniverSheetsFilter','value','3aAKwEi','_initContainer','@univerjs/sheets-filter','UniverSheetsHyperLink','values','UniverDataValidation','history-icon_clip0_907_281','get','defineProperty','setConfig','UniverDrawingUIPlugin','getUnit','use','Disposable','map','_selectionProtectionRuleModel','UniverSheetsFormulaUIPlugin','toDisposable','UniverEditHistoryViewerPlugin','UniverFormulaEnginePlugin','string','subscribe','11oWIzsH','@univerjs/drawing','createElement','1em','WorkbookViewHistoryPermission','UniverSheetsUi','UniverDocsPlugin','UniverNetwork','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','top','close','closeAll','UniverNetworkPlugin','path','merge','UniverSheets','LocaleService','univer.operation.exit-edit-history','_disposableCollection','registerPlugin','UniverSheetsConditionalFormattingUIPlugin','@univerjs/sheets-hyper-link','BehaviorSubject','Loading','show','some','useRef','appendChild','UniverEditHistoryLoaderPlugin','UniverSheetsFormulaUi','@univerjs/sheets-drawing','IAuthzIoService','display','_localeService','CollaborationController','UniverSheetsPivotTablePlugin','children','@univerjs/sheets-drawing-ui','@univerjs/docs-ui','forwardRef','1434950QNFRCp','UniverUIPlugin','uComp','ISidebarService','random','UniverDrawingUi','@univerjs-pro/sheets-pivot','url(#history-icon_clip0_907_281)','defIds','pluginName','@univerjs/sheets-data-validation','UniverSheetSparklineUIPlugin','UniverSheetsChartUIPlugin','UniverDesign','editHistory.panel.reverting','forEach','@univerjs/sheets-conditional-formatting-ui','getCurrentLocale','composePermission','UniverSheetsHyperLinkUi','add','474iveTkh','symbol','triggerLoadVersions','clipPath','length','UniverDrawingPlugin','HistoryManagerService','params','mergeMenu','UNIVER_CONTAINER_ID_KEY','UniverSheetsDataValidationUIPlugin','event$','_menuManagerService','getSheetCommandTarget','current','ILocalCacheService','_initPlugins','IMenuManagerService','1807140HYkaVC','IMessageService','__getInjector','idSuffix','clear','_messageService','setLocale','ICommandService','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','invoke','@univerjs/sheets-ui','@univerjs/sheets-hyper-link-ui','Univer','react','ComponentManager','data','UniverDocsUIPlugin','180VTHBTZ','100%','@univerjs-pro/sheets-chart','status$','getConfig','SYNCED','rxjs','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','@univerjs-pro/sheets-chart-ui','_revertErrorTimer','univer.operation.toggle-edit-history','exhaustSavingTask','@univerjs-pro/sheets-sparkline-ui','RangeProtectionRuleModel','every','_initUniver','getAllPlugins','eventID','location','@univerjs-pro/license','@univerjs/sheets-numfmt','set','ThemeService','from','mask','unsubscribe','entries','editHistory.panel.revertFailed','@univerjs-pro/collaboration','getElementById','registerCommand','edit-history-loader.config','zIndex','unMountHistoryContent','@univerjs/engine-render','currentTheme$','_initListener','UniverSheetsFilterUIPlugin','10tGgYdk','state$','history-container','[HistoryLoaderService]:\x20Plugin\x20','absolute','@univerjs/core','_pluginMap','_collaborationController','disposeWithMe','permissionId','getSheets','xlink:href','UniverSheetsHyperLinkUIPlugin','univerContainerId','_checkCanRevert','UniverDocs','UniverSheetsNumfmtPlugin','@univerjs/network','OTHERS','_configService','defs','reload','_themeService','getCurrentRangeDisable$','RangeProtectionPermissionEditPoint','white','http://www.w3.org/2000/svg','UniverSheetsDrawingUi','displayName','includes','onSteady','historyUniver','@univerjs/drawing-ui','HistoryModeStatus','_permissionService','getCollabEntity','fill','UniverProSheetsSparklineUi','HistoryLoaderService','React','PLUGIN_CONFIG_KEY_MAIN_THREAD','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','univer-history-container','UniverSheetsDataValidationPlugin','substring','2710024LYhIUe','UniverSheetsFormulaPlugin','@univerjs/sheets-conditional-formatting','UniverSheetsFilterUi','type','@univerjs-pro/edit-history-viewer','UniverSheetsChartPlugin','tag','UniverProLicense','dispose','UNIVER_SHEET','UniverCollaborationPlugin','menu','_config','amd','CHANGESET_ACK','OPERATION','HistoryIcon','replace','_commandService'];_0x5aec=function(){return _0x1f668c;};return _0x5aec();}(function(_0x135846,_0x4fefa5){const _0x5e3237=_0x4265,_0x1b4147=_0x135846();while(!![]){try{const _0x13e80f=parseInt(_0x5e3237(0x9f))/0x1*(-parseInt(_0x5e3237(0x1a8))/0x2)+-parseInt(_0x5e3237(0x155))/0x3*(parseInt(_0x5e3237(0x10f))/0x4)+parseInt(_0x5e3237(0xc5))/0x5*(-parseInt(_0x5e3237(0x11b))/0x6)+parseInt(_0x5e3237(0x135))/0x7+parseInt(_0x5e3237(0xf2))/0x8*(-parseInt(_0x5e3237(0x114))/0x9)+parseInt(_0x5e3237(0x193))/0xa+-parseInt(_0x5e3237(0x16b))/0xb*(-parseInt(_0x5e3237(0x1ba))/0xc);if(_0x13e80f===_0x4fefa5)break;else _0x1b4147['push'](_0x1b4147['shift']());}catch(_0x430724){_0x1b4147['push'](_0x1b4147['shift']());}}}(_0x5aec,0x8f5d7),function(_0x3434dc,_0x31887d){const _0x56ef2d=_0x4265;typeof exports=='object'&&typeof module<'u'?_0x31887d(exports,require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs/design'),require('react'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/sheets'),require('@univerjs-pro/edit-history-viewer'),require('@univerjs-pro/license'),require('@univerjs-pro/sheets-chart'),require('@univerjs-pro/sheets-chart-ui'),require('@univerjs-pro/sheets-pivot'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs-pro/sheets-sparkline-ui'),require('@univerjs/data-validation'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs/drawing-ui'),require('@univerjs/engine-formula'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/rpc'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-conditional-formatting-ui'),require('@univerjs/sheets-data-validation'),require('@univerjs/sheets-data-validation-ui'),require('@univerjs/sheets-drawing'),require('@univerjs/sheets-drawing-ui'),require('@univerjs/sheets-filter'),require('@univerjs/sheets-filter-ui'),require('@univerjs/sheets-formula'),require('@univerjs/sheets-formula-ui'),require('@univerjs/sheets-hyper-link'),require('@univerjs/sheets-hyper-link-ui'),require('@univerjs/sheets-numfmt'),require('@univerjs/sheets-ui')):typeof define=='function'&&define[_0x56ef2d(0x100)]?define(['exports',_0x56ef2d(0xca),_0x56ef2d(0xbb),'@univerjs-pro/collaboration-client',_0x56ef2d(0x11e),_0x56ef2d(0x9b),'@univerjs/ui',_0x56ef2d(0xa5),_0x56ef2d(0x147),_0x56ef2d(0xf7),_0x56ef2d(0xb2),_0x56ef2d(0xa1),_0x56ef2d(0xa7),_0x56ef2d(0x199),_0x56ef2d(0x143),_0x56ef2d(0xab),'@univerjs/data-validation',_0x56ef2d(0x149),_0x56ef2d(0x191),_0x56ef2d(0x16c),_0x56ef2d(0xe5),_0x56ef2d(0x150),_0x56ef2d(0xc1),_0x56ef2d(0xd6),_0x56ef2d(0x109),_0x56ef2d(0xf4),_0x56ef2d(0x1a3),_0x56ef2d(0x19d),_0x56ef2d(0x13e),_0x56ef2d(0x189),_0x56ef2d(0x190),_0x56ef2d(0x157),'@univerjs/sheets-filter-ui','@univerjs/sheets-formula',_0x56ef2d(0x123),_0x56ef2d(0x180),_0x56ef2d(0x99),_0x56ef2d(0xb3),_0x56ef2d(0x1c4)],_0x31887d):(_0x3434dc=typeof globalThis<'u'?globalThis:_0x3434dc||self,_0x31887d(_0x3434dc[_0x56ef2d(0x10d)]={},_0x3434dc[_0x56ef2d(0x14b)],_0x3434dc['UniverProCollaboration'],_0x3434dc['UniverProCollaborationClient'],_0x3434dc[_0x56ef2d(0x1a0)],_0x3434dc[_0x56ef2d(0xec)],_0x3434dc[_0x56ef2d(0x115)],_0x3434dc[_0x56ef2d(0xa5)],_0x3434dc[_0x56ef2d(0x17a)],_0x3434dc['UniverProEditHistoryViewer'],_0x3434dc[_0x56ef2d(0xfa)],_0x3434dc[_0x56ef2d(0x118)],_0x3434dc[_0x56ef2d(0x14d)],_0x3434dc[_0x56ef2d(0x12f)],_0x3434dc['UniverProSheetsSparkline'],_0x3434dc[_0x56ef2d(0xea)],_0x3434dc[_0x56ef2d(0x15a)],_0x3434dc[_0x56ef2d(0xd4)],_0x3434dc['UniverDocsUi'],_0x3434dc['UniverDrawing'],_0x3434dc[_0x56ef2d(0x198)],_0x3434dc['UniverEngineFormula'],_0x3434dc['UniverEngineRender'],_0x3434dc[_0x56ef2d(0x172)],_0x3434dc['UniverRpc'],_0x3434dc['UniverSheetsConditionalFormatting'],_0x3434dc['UniverSheetsConditionalFormattingUi'],_0x3434dc['UniverSheetsDataValidation'],_0x3434dc[_0x56ef2d(0x12b)],_0x3434dc[_0x56ef2d(0x112)],_0x3434dc[_0x56ef2d(0xe0)],_0x3434dc[_0x56ef2d(0x153)],_0x3434dc[_0x56ef2d(0xf5)],_0x3434dc[_0x56ef2d(0x13f)],_0x3434dc[_0x56ef2d(0x188)],_0x3434dc[_0x56ef2d(0x158)],_0x3434dc[_0x56ef2d(0x1a6)],_0x3434dc[_0x56ef2d(0x126)],_0x3434dc[_0x56ef2d(0x170)]));}(this,function(_0x5e8394,_0x2660fb,_0x54c25f,_0x3c76f4,_0x2c73c8,_0x49666d,_0x2c341a,_0x4c3d83,_0x680d09,_0x3efc8,_0x3b43f6,_0x2512ee,_0x264649,_0x4fcfdd,_0x1db678,_0xac5d58,_0x48027a,_0x2325a9,_0x3e6a34,_0x243389,_0x1c6e00,_0x1745f2,_0x47420d,_0x10dc0a,_0x2ebb49,_0x4340a5,_0x95b17d,_0x1a3d0f,_0x42f6be,_0x5ddba4,_0x20863d,_0x5913d8,_0x218a23,_0x2c8e10,_0x5c73a3,_0x351d03,_0x168722,_0x221b00,_0x497c8c){'use strict';const _0x55ebc3=_0x4265;var _0x7e7d17=Object['defineProperty'],_0x126afc=(_0x3ecebc,_0x2254a2,_0x208e72)=>_0x2254a2 in _0x3ecebc?_0x7e7d17(_0x3ecebc,_0x2254a2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x208e72}):_0x3ecebc[_0x2254a2]=_0x208e72,_0x53a22d=(_0x14722c,_0x430c25,_0x3e1365)=>_0x126afc(_0x14722c,typeof _0x430c25!=_0x55ebc3(0x1a9)?_0x430c25+'':_0x430c25,_0x3e1365),_0x583878;const _0x16c33e=_0x55ebc3(0xbe),_0x187a95={};function _0x313fdc({ref:_0x117255,..._0x4e99f8}){const _0x324050=_0x55ebc3,{icon:_0x5d35f8,id:_0x5a4e56,className:_0x14120f,extend:_0x17c48e,..._0x410a4a}=_0x4e99f8,_0x2879eb=('univerjs-icon\x20univerjs-icon-'+_0x5a4e56+'\x20'+(_0x14120f||''))['trim'](),_0x20278f=_0x49666d[_0x324050(0x185)]('_'+_0x1dac35());return _0x383b59(_0x5d35f8,''+_0x5a4e56,{'defIds':_0x5d35f8[_0x324050(0x19b)],'idSuffix':_0x20278f[_0x324050(0x1b6)]},{'ref':_0x117255,'className':_0x2879eb,..._0x410a4a},_0x17c48e);}function _0x383b59(_0x4695b0,_0x5bee3b,_0x33c4fa,_0x4ceb0c,_0x852db0){const _0x33b7b2=_0x55ebc3;return _0x49666d['createElement'](_0x4695b0['tag'],{'key':_0x5bee3b,..._0x43f924(_0x4695b0,_0x33c4fa,_0x852db0),..._0x4ceb0c},(_0x2fceb4(_0x4695b0,_0x33c4fa)[_0x33b7b2(0x18f)]||[])[_0x33b7b2(0x163)]((_0x356ecd,_0x325ec1)=>_0x383b59(_0x356ecd,_0x5bee3b+'-'+_0x4695b0[_0x33b7b2(0xf9)]+'-'+_0x325ec1,_0x33c4fa,void 0x0,_0x852db0)));}function _0x43f924(_0xd17b0,_0x3c46a5,_0x17b076){const _0xfd4fcf=_0x55ebc3,_0x37d313={..._0xd17b0[_0xfd4fcf(0x12a)]};_0x17b076!=null&&_0x17b076[_0xfd4fcf(0x137)]&&_0x37d313[_0xfd4fcf(0xe9)]==='colorChannel1'&&(_0x37d313[_0xfd4fcf(0xe9)]=_0x17b076[_0xfd4fcf(0x137)]),_0xd17b0[_0xfd4fcf(0xf9)]==='mask'&&_0x37d313['id']&&(_0x37d313['id']=_0x37d313['id']+_0x3c46a5[_0xfd4fcf(0x1bd)]),Object[_0xfd4fcf(0xb9)](_0x37d313)[_0xfd4fcf(0x1a2)](([_0x37293c,_0x56085d])=>{const _0x434fe6=_0xfd4fcf;_0x37293c===_0x434fe6(0xb7)&&typeof _0x56085d==_0x434fe6(0x169)&&(_0x37d313[_0x37293c]=_0x56085d[_0x434fe6(0x104)](/url\(#(.*)\)/,_0x434fe6(0x144)+_0x3c46a5[_0x434fe6(0x1bd)]+')'));});const {defIds:_0x1d589e}=_0x3c46a5;return!_0x1d589e||_0x1d589e[_0xfd4fcf(0x1ac)]===0x0||(_0xd17b0[_0xfd4fcf(0xf9)]===_0xfd4fcf(0x161)&&_0x37d313['xlink:href']&&(_0x37d313[_0xfd4fcf(0xd0)]=_0x37d313[_0xfd4fcf(0xd0)]+_0x3c46a5['idSuffix']),Object[_0xfd4fcf(0xb9)](_0x37d313)[_0xfd4fcf(0x1a2)](([_0x165c9c,_0x237f7a])=>{const _0x252621=_0xfd4fcf;typeof _0x237f7a=='string'&&(_0x37d313[_0x165c9c]=_0x237f7a[_0x252621(0x104)](/url\(#(.*)\)/,_0x252621(0x144)+_0x3c46a5[_0x252621(0x1bd)]+')'));})),_0x37d313;}function _0x2fceb4(_0x4fdd50,_0x5219f4){const _0xf0252f=_0x55ebc3;var _0x1f5760;const {defIds:_0x124275}=_0x5219f4;return!_0x124275||_0x124275[_0xf0252f(0x1ac)]===0x0?_0x4fdd50:_0x4fdd50[_0xf0252f(0xf9)]==='defs'&&((_0x1f5760=_0x4fdd50[_0xf0252f(0x18f)])!=null&&_0x1f5760['length'])?{..._0x4fdd50,'children':_0x4fdd50[_0xf0252f(0x18f)][_0xf0252f(0x163)](_0x7fa687=>typeof _0x7fa687['attrs']['id']=='string'&&_0x124275&&_0x124275[_0xf0252f(0xe2)](_0x7fa687[_0xf0252f(0x12a)]['id'])?{..._0x7fa687,'attrs':{..._0x7fa687[_0xf0252f(0x12a)],'id':_0x7fa687[_0xf0252f(0x12a)]['id']+_0x5219f4['idSuffix']}}:_0x7fa687)}:_0x4fdd50;}function _0x1dac35(){const _0x28e117=_0x55ebc3;return Math[_0x28e117(0x197)]()['toString'](0x24)[_0x28e117(0xf1)](0x2,0x8);}_0x313fdc['displayName']=_0x55ebc3(0x12c);const _0x547b06={'tag':_0x55ebc3(0x139),'attrs':{'xmlns':_0x55ebc3(0xdf),'fill':_0x55ebc3(0x145),'viewBox':'0\x200\x2016\x2016','width':_0x55ebc3(0x16e),'height':_0x55ebc3(0x16e)},'children':[{'tag':'g','attrs':{'fill':_0x55ebc3(0x10e),'clipPath':_0x55ebc3(0x19a)},'children':[{'tag':_0x55ebc3(0x178),'attrs':{'d':_0x55ebc3(0x1c2)}},{'tag':_0x55ebc3(0x178),'attrs':{'d':_0x55ebc3(0xee)}}]},{'tag':_0x55ebc3(0xd9),'attrs':{},'children':[{'tag':_0x55ebc3(0x1ab),'attrs':{'id':_0x55ebc3(0x15b)},'children':[{'tag':_0x55ebc3(0x178),'attrs':{'fill':_0x55ebc3(0xde),'d':_0x55ebc3(0x120)}}]}]}],'defIds':[_0x55ebc3(0x15b)]},_0x280c44=_0x49666d[_0x55ebc3(0x192)](function(_0x207a2a,_0xf01c96){const _0x524156=_0x55ebc3;return _0x49666d[_0x524156(0x16d)](_0x313fdc,Object['assign']({},_0x207a2a,{'id':'history-icon','ref':_0xf01c96,'icon':_0x547b06}));});_0x280c44[_0x55ebc3(0xe1)]=_0x55ebc3(0x103);var _0x5d804b=Object[_0x55ebc3(0x13d)],_0x129205=(_0x144a6a,_0x336973,_0x490633,_0x5c2618)=>{const _0x2a0dc8=_0x55ebc3;for(var _0x497c23=_0x5c2618>0x1?void 0x0:_0x5c2618?_0x5d804b(_0x336973,_0x490633):_0x336973,_0x46066d=_0x144a6a[_0x2a0dc8(0x1ac)]-0x1,_0x1d21ef;_0x46066d>=0x0;_0x46066d--)(_0x1d21ef=_0x144a6a[_0x46066d])&&(_0x497c23=_0x1d21ef(_0x497c23)||_0x497c23);return _0x497c23;},_0x2c5f99=(_0x18b5e2,_0x33ac09)=>(_0x555f71,_0x5993c1)=>_0x33ac09(_0x555f71,_0x5993c1,_0x18b5e2);const _0x26bd8e='univer-container',_0x3454e5='UNIVER_CONTAINER_ID',_0x46c8c7=_0x55ebc3(0xef);_0x5e8394['HistoryLoaderService']=class extends _0x2660fb[_0x55ebc3(0x162)]{constructor(_0x1c4e10,_0x414766,_0x266c61,_0x18e9f4,_0x1392f9,_0x250c8d,_0x371af4,_0x48cfd4,_0x1cb715,_0x32313d){const _0x5116f1=_0x55ebc3;super(),_0x53a22d(this,'_historyUniver$',new _0x4c3d83[(_0x5116f1(0x181))](null)),_0x53a22d(this,_0x5116f1(0x14c),this['_historyUniver$'][_0x5116f1(0x113)]()),_0x53a22d(this,_0x5116f1(0x17d),new _0x2660fb['DisposableCollection']()),_0x53a22d(this,_0x5116f1(0xcb),new Map()),(this[_0x5116f1(0x18c)]=_0x1c4e10,this[_0x5116f1(0x140)]=_0x414766,this['_configService']=_0x266c61,this[_0x5116f1(0x105)]=_0x18e9f4,this[_0x5116f1(0x1bf)]=_0x1392f9,this[_0x5116f1(0xe7)]=_0x250c8d,this[_0x5116f1(0x164)]=_0x371af4,this[_0x5116f1(0x14f)]=_0x48cfd4,this[_0x5116f1(0x108)]=_0x1cb715,this[_0x5116f1(0xdb)]=_0x32313d,this[_0x5116f1(0x107)]());}get[_0x55ebc3(0xe4)](){const _0x33b092=_0x55ebc3;return this[_0x33b092(0x117)][_0x33b092(0x154)];}[_0x55ebc3(0x107)](){const _0x53745d=_0x55ebc3;this['_initContainer'](),this[_0x53745d(0x1b8)]();}[_0x55ebc3(0x156)](){const _0x3aad7d=_0x55ebc3;var _0x51d4ee;const _0x327c93=(_0x51d4ee=this[_0x3aad7d(0xd8)][_0x3aad7d(0xa3)](_0x3454e5))!=null?_0x51d4ee:_0x26bd8e,_0x59ddda=document[_0x3aad7d(0xbc)](_0x327c93);if(!_0x59ddda)return;const _0x4cb9b3=document['createElement'](_0x3aad7d(0x152));_0x4cb9b3['id']=_0x46c8c7,_0x4cb9b3['dataset'][_0x3aad7d(0x195)]=_0x3aad7d(0xc7),_0x4cb9b3[_0x3aad7d(0x130)][_0x3aad7d(0x122)]=_0x3aad7d(0xc9),_0x4cb9b3['style'][_0x3aad7d(0x174)]='0',_0x4cb9b3[_0x3aad7d(0x130)]['left']='0',_0x4cb9b3[_0x3aad7d(0x130)][_0x3aad7d(0x116)]=_0x3aad7d(0xa0),_0x4cb9b3[_0x3aad7d(0x130)][_0x3aad7d(0x133)]=_0x3aad7d(0xa0),_0x4cb9b3[_0x3aad7d(0x130)][_0x3aad7d(0xbf)]='1000',_0x4cb9b3[_0x3aad7d(0x130)][_0x3aad7d(0x18b)]=_0x3aad7d(0x145),_0x59ddda[_0x3aad7d(0x186)](_0x4cb9b3);}[_0x55ebc3(0x1b8)](){const _0x466e7d=_0x55ebc3;var _0x437b74,_0x1f4746,_0x3ac23f,_0x2ce858;[[_0x47420d['UniverRenderEnginePlugin']],[_0x2c341a[_0x466e7d(0x194)],{'container':_0x46c8c7,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x2c341a['IDialogService'],null]]}],[_0x10dc0a[_0x466e7d(0x177)]],[_0x243389[_0x466e7d(0x1ad)],{'override':[[_0x243389['IImageIoService'],null]]}],[_0x2325a9[_0x466e7d(0x171)],{'hasScroll':!0x1}],[_0x3e6a34[_0x466e7d(0x9e)]],[_0x221b00[_0x466e7d(0xd5)]],[_0x680d09[_0x466e7d(0x136)],{'notExecuteFormula':!0x0}],[_0x497c8c['UniverSheetsUIPlugin']],[_0x2c8e10[_0x466e7d(0xf3)]],[_0x5c73a3[_0x466e7d(0x165)]],[_0x54c25f[_0x466e7d(0xfd)]],[_0x5913d8[_0x466e7d(0x11c)]],[_0x218a23[_0x466e7d(0xc4)]],[_0x4340a5['UniverSheetsConditionalFormattingPlugin']],[_0x95b17d[_0x466e7d(0x17f)]],[_0x351d03['UniverSheetsHyperLinkPlugin']],[_0x168722[_0x466e7d(0xd1)]],[_0x48027a['UniverDataValidationPlugin']],[_0x1a3d0f[_0x466e7d(0xf0)]],[_0x42f6be[_0x466e7d(0x1b2)]],[_0x1745f2[_0x466e7d(0x168)],{'notExecuteFormula':!0x0}],[_0x2ebb49[_0x466e7d(0x138)],{'workerURL':(_0x1f4746=(_0x437b74=this['_configService'][_0x466e7d(0xa3)](_0x2ebb49[_0x466e7d(0xed)]))==null?void 0x0:_0x437b74['workerURL'])!=null?_0x1f4746:_0x466e7d(0x10c)}],[_0x1c6e00[_0x466e7d(0x15f)]],[_0x5ddba4[_0x466e7d(0x141)]],[_0x20863d[_0x466e7d(0x14a)]],[_0x1db678['UniverSheetSparklinePlugin']],[_0xac5d58[_0x466e7d(0x19e)]],[_0x2512ee[_0x466e7d(0xf8)]],[_0x264649[_0x466e7d(0x19f)]],[_0x4fcfdd[_0x466e7d(0x18e)],{'notExecuteFormula':!0x0}],[_0x3efc8[_0x466e7d(0x167)],{'historyListServerUrl':(_0x3ac23f=this[_0x466e7d(0xd8)]['getConfig'](_0x16c33e))==null?void 0x0:_0x3ac23f['historyListServerUrl'],'historyPanelComponentKey':(_0x2ce858=this[_0x466e7d(0xd8)][_0x466e7d(0xa3)](_0x16c33e))==null?void 0x0:_0x2ce858[_0x466e7d(0x14e)]}]][_0x466e7d(0x1a2)](([_0x2735e6,_0xdbb639])=>this[_0x466e7d(0x17e)](_0x2735e6,_0xdbb639));}[_0x55ebc3(0xfb)](){const _0x56e5f0=_0x55ebc3;super[_0x56e5f0(0xfb)](),this['unMountHistoryContent'](),this[_0x56e5f0(0xcb)][_0x56e5f0(0x1be)]();}[_0x55ebc3(0x17e)](_0x3b5d4f,_0x21bfd2,_0x49e67b){const _0x1c0030=_0x55ebc3;if(this[_0x1c0030(0xcb)]['has'](_0x3b5d4f[_0x1c0030(0x19c)])&&!_0x49e67b)throw new Error(_0x1c0030(0xc8)+_0x3b5d4f[_0x1c0030(0x19c)]+'\x20has\x20been\x20registered.');this[_0x1c0030(0xcb)][_0x1c0030(0xb4)](_0x3b5d4f[_0x1c0030(0x19c)],[_0x3b5d4f,_0x21bfd2]);}[_0x55ebc3(0xaf)](){const _0x39403e=_0x55ebc3;return Array[_0x39403e(0xb6)](this[_0x39403e(0xcb)][_0x39403e(0x159)]());}[_0x55ebc3(0x13c)](_0xfda500){const _0x3a0c57=_0x55ebc3,_0x211f02=document['getElementById'](_0x46c8c7);_0x211f02&&(_0x211f02[_0x3a0c57(0x130)][_0x3a0c57(0x18b)]='block',this['_initUniver'](_0xfda500,_0x46c8c7));}[_0x55ebc3(0xc0)](){const _0x582732=_0x55ebc3;var _0x3b350e;this[_0x582732(0x17d)][_0x582732(0xfb)](),(_0x3b350e=this[_0x582732(0xe4)])==null||_0x3b350e[_0x582732(0xfb)](),this[_0x582732(0x117)][_0x582732(0x13b)](null);const _0x526818=document[_0x582732(0xbc)](_0x46c8c7);_0x526818&&(_0x526818['style'][_0x582732(0x18b)]=_0x582732(0x145));}[_0x55ebc3(0xae)](_0x50408a,_0x8a84b7){const _0x367512=_0x55ebc3;if(this[_0x367512(0xe4)])return;const _0x39b8c5=new _0x2660fb[(_0x367512(0x9a))]({'locales':{[this[_0x367512(0x18c)][_0x367512(0x1a4)]()]:this[_0x367512(0x18c)]['getLocales']()},'override':[[_0x2660fb[_0x367512(0x18a)],{'useClass':_0x3c76f4['AuthzIoHttpService']}]]}),_0x427710=_0x39b8c5[_0x367512(0x1bc)]();this[_0x367512(0xcd)](this[_0x367512(0xdb)]['darkMode$'][_0x367512(0x16a)](_0x1eafc0=>{const _0x340061=_0x367512;_0x427710['get'](_0x2660fb[_0x340061(0xb5)])['setDarkMode'](_0x1eafc0);})),this[_0x367512(0xcd)](this[_0x367512(0xdb)][_0x367512(0xc2)][_0x367512(0x16a)](_0x24ee55=>{const _0x5b7413=_0x367512;_0x427710[_0x5b7413(0x15c)](_0x2660fb[_0x5b7413(0xb5)])['setTheme'](_0x24ee55);})),_0x427710[_0x367512(0x15c)](_0x2660fb[_0x367512(0x17b)])[_0x367512(0x1c0)](this[_0x367512(0x18c)][_0x367512(0x1a4)]()),_0x427710[_0x367512(0x15c)](_0x2660fb[_0x367512(0x11d)])[_0x367512(0x15e)](_0x3c76f4['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY'],this[_0x367512(0xd8)]['getConfig'](_0x3c76f4[_0x367512(0x173)]));const _0x1340d0=this[_0x367512(0xd8)]['getConfig'](_0x3b43f6['LS_CONFIG_KEY']);_0x1340d0&&_0x39b8c5[_0x367512(0x17e)](_0x3b43f6['UniverLicensePlugin'],{'license':_0x1340d0['ls']}),this[_0x367512(0xcb)][_0x367512(0x1a2)](([_0x15b5f1,_0x479b80])=>{const _0x587814=_0x367512;_0x39b8c5[_0x587814(0x17e)](_0x15b5f1,_0x479b80);}),_0x427710[_0x367512(0x1c3)](_0x294bc9=>{this['_initListener'](_0x294bc9,_0x50408a);}),this['_historyUniver$'][_0x367512(0x13b)](_0x39b8c5);const _0x2938ef=_0x427710[_0x367512(0x15c)](_0x3efc8['HistoryManagerService']),_0x4239c7=this[_0x367512(0xd3)](_0x50408a);_0x2938ef[_0x367512(0x1aa)](_0x50408a,_0x8a84b7,_0x4239c7);}[_0x55ebc3(0xc3)](_0x4baff2,_0x3343ca){const _0x3c3a43=_0x55ebc3,_0xab7436=_0x4baff2[_0x3c3a43(0x15c)](_0x3efc8[_0x3c3a43(0x1ae)]);this['_disposableCollection'][_0x3c3a43(0x1a7)](_0xab7436[_0x3c3a43(0xa2)]['subscribe'](_0x251cae=>{const _0x41e637=_0x3c3a43;switch(_0x251cae){case _0x3efc8[_0x41e637(0xe6)]['Entered']:this[_0x41e637(0x14f)][_0x41e637(0x176)](),this[_0x41e637(0x108)][_0x41e637(0x175)]();break;case _0x3efc8[_0x41e637(0xe6)][_0x41e637(0x13a)]:this[_0x41e637(0x105)][_0x41e637(0x11a)](_0x3d088c['id']),this['unMountHistoryContent']();break;case _0x3efc8['HistoryModeStatus'][_0x41e637(0x127)]:this[_0x41e637(0xc0)](),this[_0x41e637(0x1bf)][_0x41e637(0x183)]({'content':this['_localeService']['t']('editHistory.panel.listFetchError'),'type':_0x2c73c8[_0x41e637(0x110)][_0x41e637(0x127)],'duration':0xbb8});break;}})),this['_disposableCollection'][_0x3c3a43(0x1a7)](_0xab7436[_0x3c3a43(0x111)][_0x3c3a43(0x16a)](async _0x2f9888=>{const _0x293f0c=_0x3c3a43;_0x2f9888&&this['_commandService'][_0x293f0c(0x11a)](_0x54c25f['RevertRevisionMutation']['id'],{'unitId':_0x3343ca,'revision':_0x2f9888});}));}[_0x55ebc3(0xd3)](_0x4df897){const _0x35242e=_0x55ebc3,_0x5912a8=this[_0x35242e(0x140)][_0x35242e(0x160)](_0x4df897)[_0x35242e(0xcf)]()[_0x35242e(0x163)](_0x255891=>_0x255891[_0x35242e(0x128)]()),_0x592a2e=new _0x680d09['WorkbookEditablePermission'](_0x4df897)['id'],_0x3fe398=_0x5912a8['map'](_0x3f842d=>new _0x680d09['WorksheetEditPermission'](_0x4df897,_0x3f842d)['id']),_0x16ca25=_0x5912a8['map'](_0xc80c02=>this['_selectionProtectionRuleModel']['getSubunitRuleList'](_0x4df897,_0xc80c02)[_0x35242e(0x163)](_0x223b8d=>new _0x680d09[(_0x35242e(0xdd))](_0x4df897,_0xc80c02,_0x223b8d[_0x35242e(0xce)])['id']))['flat'](),_0xb29e3f=new _0x680d09[(_0x35242e(0x10a))](_0x4df897)['id'];return this['_permissionService'][_0x35242e(0x1a5)]([_0x592a2e,..._0x3fe398,..._0x16ca25,_0xb29e3f])[_0x35242e(0xad)](_0x41c4a5=>!!_0x41c4a5[_0x35242e(0x154)]);}},_0x5e8394[_0x55ebc3(0xeb)]=_0x129205([_0x2c5f99(0x0,_0x2660fb[_0x55ebc3(0x12d)](_0x2660fb['LocaleService'])),_0x2c5f99(0x1,_0x2660fb[_0x55ebc3(0x10b)]),_0x2c5f99(0x2,_0x2660fb['IConfigService']),_0x2c5f99(0x3,_0x2660fb[_0x55ebc3(0x1c1)]),_0x2c5f99(0x4,_0x2c341a[_0x55ebc3(0x1bb)]),_0x2c5f99(0x5,_0x2660fb['IPermissionService']),_0x2c5f99(0x6,_0x2660fb[_0x55ebc3(0x12d)](_0x680d09[_0x55ebc3(0xac)])),_0x2c5f99(0x7,_0x2660fb[_0x55ebc3(0x12d)](_0x2c341a[_0x55ebc3(0x134)])),_0x2c5f99(0x8,_0x2660fb['Inject'](_0x2c341a[_0x55ebc3(0x196)])),_0x2c5f99(0x9,_0x2660fb[_0x55ebc3(0x12d)](_0x2660fb[_0x55ebc3(0xb5)]))],_0x5e8394[_0x55ebc3(0xeb)]);const _0x5139fa={'id':_0x55ebc3(0xa9),'type':_0x2660fb['CommandType'][_0x55ebc3(0x102)],'handler':_0x28f16e=>{const _0x4dfec8=_0x55ebc3,_0x32c9f2=_0x28f16e[_0x4dfec8(0x15c)](_0x5e8394[_0x4dfec8(0xeb)]),_0x23e659=_0x28f16e[_0x4dfec8(0x15c)](_0x2660fb[_0x4dfec8(0x10b)]),{unitId:_0x52e808}=_0x680d09[_0x4dfec8(0x1b5)](_0x23e659)||{};return _0x52e808?(_0x32c9f2[_0x4dfec8(0x13c)](_0x52e808),!0x0):!0x1;}},_0x3d088c={'id':_0x55ebc3(0x17c),'type':_0x2660fb['CommandType'][_0x55ebc3(0x102)],'handler':()=>!0x0};function _0x45a054(_0x2c49b1){const _0x2f4938=_0x55ebc3;return{'id':_0x5139fa['id'],'type':_0x2c341a['MenuItemType']['BUTTON'],'icon':_0x2f4938(0x103),'tooltip':'editHistory.panel.title','hidden$':_0x2c341a[_0x2f4938(0x129)](_0x2c49b1,_0x2660fb[_0x2f4938(0x106)][_0x2f4938(0xfc)]),'disabled$':_0x497c8c[_0x2f4938(0xdc)](_0x2c49b1,{'workbookTypes':[_0x680d09[_0x2f4938(0x121)],_0x680d09[_0x2f4938(0x16f)]],'worksheetTypes':[],'rangeTypes':[]})};}const _0x358cdf={[_0x2c341a[_0x55ebc3(0x142)][_0x55ebc3(0xd7)]]:{[_0x5139fa['id']]:{'order':0.2,'menuItemFactory':_0x45a054}}};var _0x20b60d=Object[_0x55ebc3(0x13d)],_0x4327ac=(_0x44b6d4,_0x50b4fc,_0x75b385,_0x47ea78)=>{const _0x27ce95=_0x55ebc3;for(var _0x31c827=_0x47ea78>0x1?void 0x0:_0x47ea78?_0x20b60d(_0x50b4fc,_0x75b385):_0x50b4fc,_0xcd8ae=_0x44b6d4[_0x27ce95(0x1ac)]-0x1,_0x5a6042;_0xcd8ae>=0x0;_0xcd8ae--)(_0x5a6042=_0x44b6d4[_0xcd8ae])&&(_0x31c827=_0x5a6042(_0x31c827)||_0x31c827);return _0x31c827;},_0x1e35b7=(_0x38a52a,_0x5ad5f0)=>(_0x12767e,_0x3973b7)=>_0x5ad5f0(_0x12767e,_0x3973b7,_0x38a52a);let _0xba955f=class extends _0x2660fb['RxDisposable']{constructor(_0xa21730,_0x481158,_0x4085a0,_0x57c3a5,_0xfbf8db,_0x2cdda3,_0x223ab1,_0x338ae9){const _0x4272cd=_0x55ebc3;super(),_0x53a22d(this,'_revertErrorTimer',null),(this[_0x4272cd(0x105)]=_0xa21730,this[_0x4272cd(0x1b4)]=_0x481158,this['_componentManager']=_0x4085a0,this[_0x4272cd(0x11f)]=_0x57c3a5,this[_0x4272cd(0x18c)]=_0xfbf8db,this[_0x4272cd(0x1bf)]=_0x2cdda3,this[_0x4272cd(0xcc)]=_0x223ab1,this[_0x4272cd(0x125)]=_0x338ae9,this['_init']());}[_0x55ebc3(0x107)](){const _0x9f95c3=_0x55ebc3;[_0x5139fa,_0x3d088c][_0x9f95c3(0x1a2)](_0x20cfae=>this[_0x9f95c3(0xcd)](_0x2660fb[_0x9f95c3(0x166)](this[_0x9f95c3(0x105)][_0x9f95c3(0xbd)](_0x20cfae)))),this['disposeWithMe'](this['_componentManager']['register'](_0x9f95c3(0x103),_0x280c44)),this[_0x9f95c3(0x1b4)][_0x9f95c3(0x1b0)](_0x358cdf),this[_0x9f95c3(0xcd)](this[_0x9f95c3(0x105)]['onCommandExecuted'](_0x782ea6=>{const _0x1f9053=_0x9f95c3;if(_0x782ea6['id']===_0x54c25f['RevertRevisionMutation']['id']){this['_messageService'][_0x1f9053(0x183)]({'content':this['_localeService']['t'](_0x1f9053(0x1a1)),'type':_0x2c73c8[_0x1f9053(0x110)][_0x1f9053(0x182)],'duration':0x1388});const {unitId:_0xb12d73}=_0x782ea6[_0x1f9053(0x1af)],_0x42c2c7=this[_0x1f9053(0xcc)][_0x1f9053(0xe8)](_0xb12d73),_0x5b9f7b=_0x4c3d83['combineLatest']([_0x42c2c7[_0x1f9053(0x148)][_0x1f9053(0x1b3)],_0x42c2c7[_0x1f9053(0xc6)]])[_0x1f9053(0x16a)](async([_0x4c1130,_0x3b6406])=>{const _0x22b126=_0x1f9053;var _0x1ab868;_0x4c1130[_0x22b126(0xb0)]===_0x54c25f[_0x22b126(0x12e)][_0x22b126(0x101)]&&(_0x3b6406==null?void 0x0:_0x3b6406['status'])===_0x3c76f4['CollaborationStatus'][_0x22b126(0xa4)]&&_0x4c1130[_0x22b126(0x9d)][_0x22b126(0x124)][_0x22b126(0x184)](_0x34b58e=>_0x34b58e['id']===_0x54c25f[_0x22b126(0x151)]['id'])&&(this[_0x22b126(0x11f)][_0x22b126(0xc0)](),_0x5b9f7b[_0x22b126(0xb8)](),this[_0x22b126(0xa8)]&&clearTimeout(this['_revertErrorTimer']),await((_0x1ab868=this[_0x22b126(0x125)])==null?void 0x0:_0x1ab868[_0x22b126(0xaa)]()),setTimeout(()=>window[_0x22b126(0xb1)][_0x22b126(0xda)]()));});this[_0x1f9053(0xa8)]=setTimeout(()=>{const _0x157c3e=_0x1f9053;_0x5b9f7b[_0x157c3e(0xb8)](),this[_0x157c3e(0x1bf)][_0x157c3e(0x183)]({'content':this['_localeService']['t'](_0x157c3e(0xba)),'type':_0x2c73c8[_0x157c3e(0x110)][_0x157c3e(0x127)],'duration':0xbb8});},0x1388);}}));}};_0xba955f=_0x4327ac([_0x1e35b7(0x0,_0x2660fb[_0x55ebc3(0x1c1)]),_0x1e35b7(0x1,_0x2c341a[_0x55ebc3(0x1b9)]),_0x1e35b7(0x2,_0x2660fb['Inject'](_0x2c341a[_0x55ebc3(0x9c)])),_0x1e35b7(0x3,_0x2660fb[_0x55ebc3(0x12d)](_0x5e8394['HistoryLoaderService'])),_0x1e35b7(0x4,_0x2660fb[_0x55ebc3(0x12d)](_0x2660fb[_0x55ebc3(0x17b)])),_0x1e35b7(0x5,_0x2c341a[_0x55ebc3(0x1bb)]),_0x1e35b7(0x6,_0x2660fb[_0x55ebc3(0x12d)](_0x3c76f4[_0x55ebc3(0x18d)])),_0x1e35b7(0x7,_0x3c76f4[_0x55ebc3(0x1b7)])],_0xba955f);var _0x53715e=Object[_0x55ebc3(0x13d)],_0x113f77=(_0xbf1fcd,_0x37416a,_0x130085,_0x45e2cb)=>{for(var _0x4b573c=_0x45e2cb>0x1?void 0x0:_0x45e2cb?_0x53715e(_0x37416a,_0x130085):_0x37416a,_0x485f94=_0xbf1fcd['length']-0x1,_0x4866a9;_0x485f94>=0x0;_0x485f94--)(_0x4866a9=_0xbf1fcd[_0x485f94])&&(_0x4b573c=_0x4866a9(_0x4b573c)||_0x4b573c);return _0x4b573c;},_0x4026df=(_0x427951,_0x1a3547)=>(_0x2f57a3,_0xfd9977)=>_0x1a3547(_0x2f57a3,_0xfd9977,_0x427951);const _0x5472f3=_0x55ebc3(0xa6);_0x5e8394['UniverEditHistoryLoaderPlugin']=(_0x583878=class extends _0x2660fb['Plugin']{constructor(_0x2b3f50=_0x187a95,_0x7919c2,_0x5d0543){const _0x4c66b2=_0x55ebc3;super(),this[_0x4c66b2(0xff)]=_0x2b3f50,this['_injector']=_0x7919c2,this[_0x4c66b2(0xd8)]=_0x5d0543;const {menu:_0x584406,..._0x7b3c45}=_0x2660fb[_0x4c66b2(0x179)]({},_0x187a95,this['_config']);_0x584406&&this['_configService']['setConfig'](_0x4c66b2(0xfe),_0x584406,{'merge':!0x0}),this[_0x4c66b2(0xd8)]['setConfig'](_0x16c33e,_0x7b3c45),this[_0x4c66b2(0xff)][_0x4c66b2(0xd2)]&&this[_0x4c66b2(0xd8)][_0x4c66b2(0x15e)](_0x3454e5,this[_0x4c66b2(0xff)]['univerContainerId']);}[_0x55ebc3(0x131)](){const _0x202d9e=_0x55ebc3;[[_0x5e8394[_0x202d9e(0xeb)]],[_0xba955f]][_0x202d9e(0x1a2)](_0x1ba95d=>this[_0x202d9e(0x132)][_0x202d9e(0x1a7)](_0x1ba95d));}[_0x55ebc3(0xe3)](){const _0x534eff=_0x55ebc3;this[_0x534eff(0x132)][_0x534eff(0x15c)](_0xba955f);}},_0x53a22d(_0x583878,_0x55ebc3(0xf6),_0x2660fb['UniverInstanceType']['UNIVER_UNKNOWN']),_0x53a22d(_0x583878,_0x55ebc3(0x19c),_0x5472f3),_0x583878),_0x5e8394['UniverEditHistoryLoaderPlugin']=_0x113f77([_0x4026df(0x1,_0x2660fb[_0x55ebc3(0x12d)](_0x2660fb[_0x55ebc3(0x119)])),_0x4026df(0x2,_0x2660fb[_0x55ebc3(0x11d)])],_0x5e8394[_0x55ebc3(0x187)]),_0x5e8394[_0x55ebc3(0x1b1)]=_0x3454e5,_0x5e8394['UNIVER_HISTORY_CONTAINER_ID']=_0x46c8c7,Object[_0x55ebc3(0x15d)](_0x5e8394,Symbol['toStringTag'],{'value':_0x55ebc3(0x146)});}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/edit-history-loader",
3
- "version": "0.15.0-insiders.20260106-79b11f9",
3
+ "version": "0.15.0-insiders.20260107-3441c7a",
4
4
  "private": false,
5
5
  "description": "UniverSheet edit history loader",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -47,42 +47,42 @@
47
47
  },
48
48
  "dependencies": {
49
49
  "@univerjs/icons": "^1.1.0",
50
- "@univerjs-pro/collaboration-client": "0.15.0-insiders.20260106-79b11f9",
51
- "@univerjs-pro/collaboration": "0.15.0-insiders.20260106-79b11f9",
52
- "@univerjs-pro/sheets-chart": "0.15.0-insiders.20260106-79b11f9",
53
- "@univerjs-pro/sheets-chart-ui": "0.15.0-insiders.20260106-79b11f9",
54
- "@univerjs-pro/sheets-pivot": "0.15.0-insiders.20260106-79b11f9",
55
- "@univerjs-pro/sheets-sparkline": "0.15.0-insiders.20260106-79b11f9",
56
- "@univerjs-pro/edit-history-viewer": "0.15.0-insiders.20260106-79b11f9",
57
- "@univerjs/core": "0.15.0-insiders.20260106-79b11f9",
58
- "@univerjs-pro/sheets-sparkline-ui": "0.15.0-insiders.20260106-79b11f9",
59
- "@univerjs-pro/license": "0.15.0-insiders.20260106-79b11f9",
60
- "@univerjs/design": "0.15.0-insiders.20260106-79b11f9",
61
- "@univerjs/docs": "0.15.0-insiders.20260106-79b11f9",
62
- "@univerjs/drawing": "0.15.0-insiders.20260106-79b11f9",
63
- "@univerjs/data-validation": "0.15.0-insiders.20260106-79b11f9",
64
- "@univerjs/docs-ui": "0.15.0-insiders.20260106-79b11f9",
65
- "@univerjs/drawing-ui": "0.15.0-insiders.20260106-79b11f9",
66
- "@univerjs/engine-formula": "0.15.0-insiders.20260106-79b11f9",
67
- "@univerjs/engine-render": "0.15.0-insiders.20260106-79b11f9",
68
- "@univerjs/network": "0.15.0-insiders.20260106-79b11f9",
69
- "@univerjs/rpc": "0.15.0-insiders.20260106-79b11f9",
70
- "@univerjs/sheets-conditional-formatting-ui": "0.15.0-insiders.20260106-79b11f9",
71
- "@univerjs/sheets": "0.15.0-insiders.20260106-79b11f9",
72
- "@univerjs/sheets-data-validation": "0.15.0-insiders.20260106-79b11f9",
73
- "@univerjs/sheets-drawing": "0.15.0-insiders.20260106-79b11f9",
74
- "@univerjs/sheets-filter": "0.15.0-insiders.20260106-79b11f9",
75
- "@univerjs/sheets-conditional-formatting": "0.15.0-insiders.20260106-79b11f9",
76
- "@univerjs/sheets-filter-ui": "0.15.0-insiders.20260106-79b11f9",
77
- "@univerjs/sheets-formula": "0.15.0-insiders.20260106-79b11f9",
78
- "@univerjs/sheets-formula-ui": "0.15.0-insiders.20260106-79b11f9",
79
- "@univerjs/sheets-hyper-link": "0.15.0-insiders.20260106-79b11f9",
80
- "@univerjs/sheets-hyper-link-ui": "0.15.0-insiders.20260106-79b11f9",
81
- "@univerjs/sheets-data-validation-ui": "0.15.0-insiders.20260106-79b11f9",
82
- "@univerjs/sheets-ui": "0.15.0-insiders.20260106-79b11f9",
83
- "@univerjs/sheets-drawing-ui": "0.15.0-insiders.20260106-79b11f9",
84
- "@univerjs/ui": "0.15.0-insiders.20260106-79b11f9",
85
- "@univerjs/sheets-numfmt": "0.15.0-insiders.20260106-79b11f9"
50
+ "@univerjs-pro/collaboration": "0.15.0-insiders.20260107-3441c7a",
51
+ "@univerjs-pro/collaboration-client": "0.15.0-insiders.20260107-3441c7a",
52
+ "@univerjs-pro/edit-history-viewer": "0.15.0-insiders.20260107-3441c7a",
53
+ "@univerjs-pro/sheets-chart-ui": "0.15.0-insiders.20260107-3441c7a",
54
+ "@univerjs-pro/license": "0.15.0-insiders.20260107-3441c7a",
55
+ "@univerjs-pro/sheets-chart": "0.15.0-insiders.20260107-3441c7a",
56
+ "@univerjs-pro/sheets-pivot": "0.15.0-insiders.20260107-3441c7a",
57
+ "@univerjs-pro/sheets-sparkline": "0.15.0-insiders.20260107-3441c7a",
58
+ "@univerjs/core": "0.15.0-insiders.20260107-3441c7a",
59
+ "@univerjs/design": "0.15.0-insiders.20260107-3441c7a",
60
+ "@univerjs/docs": "0.15.0-insiders.20260107-3441c7a",
61
+ "@univerjs/docs-ui": "0.15.0-insiders.20260107-3441c7a",
62
+ "@univerjs/drawing": "0.15.0-insiders.20260107-3441c7a",
63
+ "@univerjs-pro/sheets-sparkline-ui": "0.15.0-insiders.20260107-3441c7a",
64
+ "@univerjs/drawing-ui": "0.15.0-insiders.20260107-3441c7a",
65
+ "@univerjs/data-validation": "0.15.0-insiders.20260107-3441c7a",
66
+ "@univerjs/engine-formula": "0.15.0-insiders.20260107-3441c7a",
67
+ "@univerjs/network": "0.15.0-insiders.20260107-3441c7a",
68
+ "@univerjs/rpc": "0.15.0-insiders.20260107-3441c7a",
69
+ "@univerjs/sheets": "0.15.0-insiders.20260107-3441c7a",
70
+ "@univerjs/sheets-conditional-formatting": "0.15.0-insiders.20260107-3441c7a",
71
+ "@univerjs/engine-render": "0.15.0-insiders.20260107-3441c7a",
72
+ "@univerjs/sheets-data-validation": "0.15.0-insiders.20260107-3441c7a",
73
+ "@univerjs/sheets-conditional-formatting-ui": "0.15.0-insiders.20260107-3441c7a",
74
+ "@univerjs/sheets-data-validation-ui": "0.15.0-insiders.20260107-3441c7a",
75
+ "@univerjs/sheets-drawing": "0.15.0-insiders.20260107-3441c7a",
76
+ "@univerjs/sheets-drawing-ui": "0.15.0-insiders.20260107-3441c7a",
77
+ "@univerjs/sheets-filter": "0.15.0-insiders.20260107-3441c7a",
78
+ "@univerjs/sheets-filter-ui": "0.15.0-insiders.20260107-3441c7a",
79
+ "@univerjs/sheets-formula": "0.15.0-insiders.20260107-3441c7a",
80
+ "@univerjs/sheets-formula-ui": "0.15.0-insiders.20260107-3441c7a",
81
+ "@univerjs/sheets-hyper-link": "0.15.0-insiders.20260107-3441c7a",
82
+ "@univerjs/sheets-hyper-link-ui": "0.15.0-insiders.20260107-3441c7a",
83
+ "@univerjs/sheets-ui": "0.15.0-insiders.20260107-3441c7a",
84
+ "@univerjs/ui": "0.15.0-insiders.20260107-3441c7a",
85
+ "@univerjs/sheets-numfmt": "0.15.0-insiders.20260107-3441c7a"
86
86
  },
87
87
  "devDependencies": {
88
88
  "react": "18.3.1",