@univerjs-pro/edit-history-loader 0.15.0-insiders.20251227-c108ce3 → 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 _0x4fb628=_0x23a4;(function(_0x3b3847,_0x59fa79){const _0x1afa66=_0x23a4,_0x4a62c7=_0x3b3847();while(!![]){try{const _0x2e87e1=parseInt(_0x1afa66(0x174))/0x1+-parseInt(_0x1afa66(0x15d))/0x2+parseInt(_0x1afa66(0x153))/0x3*(parseInt(_0x1afa66(0x19f))/0x4)+parseInt(_0x1afa66(0x1bd))/0x5*(-parseInt(_0x1afa66(0xf6))/0x6)+parseInt(_0x1afa66(0x128))/0x7+parseInt(_0x1afa66(0x186))/0x8+parseInt(_0x1afa66(0x17d))/0x9*(-parseInt(_0x1afa66(0x175))/0xa);if(_0x2e87e1===_0x59fa79)break;else _0x4a62c7['push'](_0x4a62c7['shift']());}catch(_0x12cb1a){_0x4a62c7['push'](_0x4a62c7['shift']());}}}(_0x4fa8,0x78c48));function _0x4fa8(){const _0x32428c=['history-icon','none','_config','assign','WorksheetEditPermission','getElementById','LS_CONFIG_KEY','./worker.js','dispose','setConfig','symbol','CollaborationStatus','get','WorkbookEditablePermission','subscribe','url(#$1','registerCommand','AuthzIoHttpService','onCommandExecuted','style','absolute','_injector','string','_init','forwardRef','5718559muVXta','Exited','getSubunitRuleList','createElement','BehaviorSubject','UniverSheetsFormulaPlugin','editHistory.panel.listFetchError','_localeService','UniverSheetsChartUIPlugin','BUTTON','forEach','UniverFormulaEnginePlugin','HistoryManagerService','disposeWithMe','100%','add','UNIVER_SHEET','reload','CollaborationController','length','Univer','_initUniver','every','UniverSheetsConditionalFormattingPlugin','map','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','UniverSheetsHyperLinkUIPlugin','next','UNIVER_CONTAINER_ID_KEY','MessageType','colorChannel1','RevertRevisionMutation','_historyManagerService','UniverDocsUIPlugin','IImageIoService','UniverSheetsPivotTablePlugin','url(#history-icon_clip0_907_281)','defs','toDisposable','IAuthzIoService','invoke','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_permissionService','764763JGAkzl','univer-history-container','entries','_commandService','_collaborationController','width','_themeService','[HistoryLoaderService]:\x20Plugin\x20','status','DisposableCollection','1175534GjoYpw','ComponentManager','appendChild','_initContainer','CommandType','state$','toString','getCurrentLocale','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','_checkCanRevert','_univerInstanceService','closeAll','mutations','type','UNIVER_CONTAINER_ID','_pluginMap','IPermissionService','_initPlugins','Entered','historyPanelComponentKey','UniverSheetsUIPlugin','mask','position','53370LDsyZf','15400qYAdrU','RibbonStartGroup','UniverSheetsDrawingUIPlugin','1em','1000','workerURL','onStarting','executeCommand','3285JFQFes','UniverInstanceType','_messageService','UniverSheetsDataValidationUIPlugin','univerjs-icon\x20univerjs-icon-','_localCacheService','fill','HistoryIcon','WorkbookRecoverHistoryPermission','5014480VWBtbf','has','_componentManager','trim','getSheetCommandTarget','UniverSheetSparklineUIPlugin','getOwnPropertyDescriptor','ILocalCacheService','OTHERS','LocaleService','HistoryModeStatus','UniverRenderEnginePlugin','asObservable','path','ThemeService','UniverUIPlugin','clipPath','_sidebarService','currentTheme$','UniverEditHistoryLoaderPlugin','_dialogService','Plugin','pluginName','permissionId','registerPlugin','8GiGOdb','mountHistoryContent','params','dataset','xlink:href','CollaborationEvent','replace','substring','getCollabEntity','Error','defineProperty','univerContainerId','UniverSheetsDrawingPlugin','UniverRPCMainThreadPlugin','getMenuHiddenObservable','ICommandService','historyListServerUrl','show','block','unMountHistoryContent','uComp','_initListener','random','from','http://www.w3.org/2000/svg','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','location','RxDisposable','children','composePermission','453035USTunv','historyUniver','PLUGIN_CONFIG_KEY_MAIN_THREAD','left','display','\x20has\x20been\x20registered.','unsubscribe','Module','_historyUniver$','Injector','_disposableCollection','UniverLicensePlugin','_menuManagerService','clear','defIds','getConfig','darkMode$','history-icon_clip0_907_281','displayName','UniverSheetsChartPlugin','setLocale','attrs','Inject','IMessageService','eventID','menu','some','_selectionProtectionRuleModel','_configService','IDialogService','status$','toStringTag','register','value','includes','values','UniverSheetsHyperLinkPlugin','OPERATION','UNIVER_UNKNOWN','UniverDrawingPlugin','24fLGeeq','exhaustSavingTask','UniverNetworkPlugin','useRef','SYNCED','HistoryLoaderService','getUnit','CHANGESET_ACK','tag','IUniverInstanceService','getAllPlugins','univer.operation.exit-edit-history','IConfigService','div','white','IMenuManagerService','_revertErrorTimer','UniverSheetsFilterPlugin','use','editHistory.panel.revertFailed','idSuffix','UniverCollaborationPlugin','UniverEditHistoryViewerPlugin','close','__getInjector'];_0x4fa8=function(){return _0x32428c;};return _0x4fa8();}function _0x23a4(_0x5935f0,_0x2b14f9){_0x5935f0=_0x5935f0-0xef;const _0x4fa864=_0x4fa8();let _0x23a43e=_0x4fa864[_0x5935f0];return _0x23a43e;}var A=Object[_0x4fb628(0x1a9)],F=(_0x212926,_0x41eac9,_0x3f3409)=>_0x41eac9 in _0x212926?A(_0x212926,_0x41eac9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3f3409}):_0x212926[_0x41eac9]=_0x3f3409,_=(_0x698727,_0x1af67c,_0x16d1a8)=>F(_0x698727,typeof _0x1af67c!=_0x4fb628(0x119)?_0x1af67c+'':_0x1af67c,_0x16d1a8);Object[_0x4fb628(0x1a9)](exports,Symbol[_0x4fb628(0x1dc)],{'value':_0x4fb628(0x1c4)});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:_0x2e19dc,..._0x5a0fa6}){const _0x5c7d91=_0x4fb628,{icon:_0x4d9cfa,id:_0x1eb8a9,className:_0x4fa563,extend:_0x54f7cc,..._0x411c97}=_0x5a0fa6,_0x23fb92=(_0x5c7d91(0x181)+_0x1eb8a9+'\x20'+(_0x4fa563||''))[_0x5c7d91(0x189)](),_0xfdc899=U[_0x5c7d91(0xf9)]('_'+Se());return q(_0x4d9cfa,''+_0x1eb8a9,{'defIds':_0x4d9cfa[_0x5c7d91(0x1cb)],'idSuffix':_0xfdc899['current']},{'ref':_0x2e19dc,'className':_0x23fb92,..._0x411c97},_0x54f7cc);}function q(_0x21fcd1,_0x245bfd,_0x412a3a,_0x3942e3,_0x13eab9){const _0x2b6554=_0x4fb628;return U[_0x2b6554(0x12b)](_0x21fcd1[_0x2b6554(0xfe)],{'key':_0x245bfd,...de(_0x21fcd1,_0x412a3a,_0x13eab9),..._0x3942e3},(_e(_0x21fcd1,_0x412a3a)['children']||[])[_0x2b6554(0x140)]((_0x186215,_0x1dd308)=>q(_0x186215,_0x245bfd+'-'+_0x21fcd1[_0x2b6554(0xfe)]+'-'+_0x1dd308,_0x412a3a,void 0x0,_0x13eab9)));}function de(_0x56b236,_0x780fbb,_0x2ebdde){const _0x2c6cd6=_0x4fb628,_0xd0165f={..._0x56b236[_0x2c6cd6(0x1d2)]};_0x2ebdde!=null&&_0x2ebdde[_0x2c6cd6(0x146)]&&_0xd0165f[_0x2c6cd6(0x183)]===_0x2c6cd6(0x146)&&(_0xd0165f['fill']=_0x2ebdde[_0x2c6cd6(0x146)]),_0x56b236[_0x2c6cd6(0xfe)]===_0x2c6cd6(0x172)&&_0xd0165f['id']&&(_0xd0165f['id']=_0xd0165f['id']+_0x780fbb[_0x2c6cd6(0x10a)]),Object[_0x2c6cd6(0x155)](_0xd0165f)['forEach'](([_0x3f4253,_0x4818ea])=>{const _0x2367e6=_0x2c6cd6;_0x3f4253==='mask'&&typeof _0x4818ea==_0x2367e6(0x125)&&(_0xd0165f[_0x3f4253]=_0x4818ea[_0x2367e6(0x1a5)](/url\(#(.*)\)/,_0x2367e6(0x11e)+_0x780fbb['idSuffix']+')'));});const {defIds:_0x595682}=_0x780fbb;return!_0x595682||_0x595682['length']===0x0||(_0x56b236['tag']===_0x2c6cd6(0x108)&&_0xd0165f[_0x2c6cd6(0x1a3)]&&(_0xd0165f['xlink:href']=_0xd0165f[_0x2c6cd6(0x1a3)]+_0x780fbb['idSuffix']),Object[_0x2c6cd6(0x155)](_0xd0165f)['forEach'](([_0x3f4933,_0x51916b])=>{const _0x23a279=_0x2c6cd6;typeof _0x51916b==_0x23a279(0x125)&&(_0xd0165f[_0x3f4933]=_0x51916b[_0x23a279(0x1a5)](/url\(#(.*)\)/,_0x23a279(0x11e)+_0x780fbb[_0x23a279(0x10a)]+')'));})),_0xd0165f;}function _e(_0x32e7b3,_0x5b0a31){const _0x38ff5b=_0x4fb628;var _0xede378;const {defIds:_0x598019}=_0x5b0a31;return!_0x598019||_0x598019[_0x38ff5b(0x13b)]===0x0?_0x32e7b3:_0x32e7b3[_0x38ff5b(0xfe)]==='defs'&&((_0xede378=_0x32e7b3[_0x38ff5b(0x1bb)])!=null&&_0xede378['length'])?{..._0x32e7b3,'children':_0x32e7b3[_0x38ff5b(0x1bb)][_0x38ff5b(0x140)](_0x243c59=>typeof _0x243c59[_0x38ff5b(0x1d2)]['id']==_0x38ff5b(0x125)&&_0x598019&&_0x598019[_0x38ff5b(0xf0)](_0x243c59[_0x38ff5b(0x1d2)]['id'])?{..._0x243c59,'attrs':{..._0x243c59[_0x38ff5b(0x1d2)],'id':_0x243c59['attrs']['id']+_0x5b0a31[_0x38ff5b(0x10a)]}}:_0x243c59)}:_0x32e7b3;}function Se(){const _0x2648a7=_0x4fb628;return Math[_0x2648a7(0x1b5)]()[_0x2648a7(0x163)](0x24)[_0x2648a7(0x1a6)](0x2,0x8);}D[_0x4fb628(0x1cf)]='UniverIcon';const me={'tag':'svg','attrs':{'xmlns':_0x4fb628(0x1b7),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x4fb628(0x178),'height':_0x4fb628(0x178)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':_0x4fb628(0x14c)},'children':[{'tag':'path','attrs':{'d':_0x4fb628(0x165)}},{'tag':_0x4fb628(0x193),'attrs':{'d':_0x4fb628(0x141)}}]},{'tag':_0x4fb628(0x14d),'attrs':{},'children':[{'tag':_0x4fb628(0x196),'attrs':{'id':_0x4fb628(0x1ce)},'children':[{'tag':_0x4fb628(0x193),'attrs':{'fill':_0x4fb628(0x104),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['history-icon_clip0_907_281']},$=U[_0x4fb628(0x127)](function(_0x1603a3,_0x293539){const _0x51f84d=_0x4fb628;return U[_0x51f84d(0x12b)](D,Object[_0x51f84d(0x112)]({},_0x1603a3,{'id':_0x51f84d(0x10f),'ref':_0x293539,'icon':me}));});$[_0x4fb628(0x1cf)]='HistoryIcon';var ye=Object[_0x4fb628(0x18c)],pe=(_0x91d971,_0x127ecb,_0x3e7962,_0x38451d)=>{const _0x9f5f4=_0x4fb628;for(var _0x56fe7b=_0x38451d>0x1?void 0x0:_0x38451d?ye(_0x127ecb,_0x3e7962):_0x127ecb,_0x1700a6=_0x91d971[_0x9f5f4(0x13b)]-0x1,_0x3c06a7;_0x1700a6>=0x0;_0x1700a6--)(_0x3c06a7=_0x91d971[_0x1700a6])&&(_0x56fe7b=_0x3c06a7(_0x56fe7b)||_0x56fe7b);return _0x56fe7b;},g=(_0xd005c2,_0x2f179f)=>(_0x585191,_0x48c228)=>_0x2f179f(_0x585191,_0x48c228,_0xd005c2);const fe='univer-container',H=_0x4fb628(0x16b),y=_0x4fb628(0x154);exports[_0x4fb628(0xfb)]=class extends o['Disposable']{constructor(_0x2c9597,_0x14d217,_0x13710d,_0x41e2e3,_0x5bb1a1,_0x123f78,_0x4db760,_0x209782,_0x1807fc,_0x5edfe4){const _0x191938=_0x4fb628;super(),_(this,_0x191938(0x1c5),new O[(_0x191938(0x12c))](null)),_(this,'historyUniver$',this[_0x191938(0x1c5)][_0x191938(0x192)]()),_(this,'_disposableCollection',new o[(_0x191938(0x15c))]()),_(this,_0x191938(0x16c),new Map()),(this[_0x191938(0x12f)]=_0x2c9597,this[_0x191938(0x167)]=_0x14d217,this[_0x191938(0x1d9)]=_0x13710d,this[_0x191938(0x156)]=_0x41e2e3,this[_0x191938(0x17f)]=_0x5bb1a1,this[_0x191938(0x152)]=_0x123f78,this['_selectionProtectionRuleModel']=_0x4db760,this[_0x191938(0x19a)]=_0x209782,this[_0x191938(0x197)]=_0x1807fc,this[_0x191938(0x159)]=_0x5edfe4,this[_0x191938(0x126)]());}get[_0x4fb628(0x1be)](){const _0x5c2e87=_0x4fb628;return this[_0x5c2e87(0x1c5)][_0x5c2e87(0xef)];}[_0x4fb628(0x126)](){const _0x6018f6=_0x4fb628;this[_0x6018f6(0x160)](),this[_0x6018f6(0x16e)]();}[_0x4fb628(0x160)](){const _0x2bcfde=_0x4fb628;var _0x125891;const _0x5325d5=(_0x125891=this['_configService'][_0x2bcfde(0x1cc)](H))!=null?_0x125891:fe,_0x35b1bb=document[_0x2bcfde(0x114)](_0x5325d5);if(!_0x35b1bb)return;const _0x1a3472=document[_0x2bcfde(0x12b)](_0x2bcfde(0x103));_0x1a3472['id']=y,_0x1a3472[_0x2bcfde(0x1a2)][_0x2bcfde(0x1b3)]='history-container',_0x1a3472[_0x2bcfde(0x122)][_0x2bcfde(0x173)]=_0x2bcfde(0x123),_0x1a3472['style']['top']='0',_0x1a3472[_0x2bcfde(0x122)][_0x2bcfde(0x1c0)]='0',_0x1a3472[_0x2bcfde(0x122)][_0x2bcfde(0x158)]='100%',_0x1a3472[_0x2bcfde(0x122)]['height']=_0x2bcfde(0x136),_0x1a3472[_0x2bcfde(0x122)]['zIndex']=_0x2bcfde(0x179),_0x1a3472['style'][_0x2bcfde(0x1c1)]=_0x2bcfde(0x110),_0x35b1bb[_0x2bcfde(0x15f)](_0x1a3472);}[_0x4fb628(0x16e)](){const _0x3e65f8=_0x4fb628;var _0x16521,_0x25e3f8,_0x40c4a0,_0x2a033b;[[X[_0x3e65f8(0x191)]],[h[_0x3e65f8(0x195)],{'container':y,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[h[_0x3e65f8(0x1da)],null]]}],[ee[_0x3e65f8(0xf8)]],[N[_0x3e65f8(0xf5)],{'override':[[N[_0x3e65f8(0x14a)],null]]}],[z['UniverDocsPlugin'],{'hasScroll':!0x1}],[Z[_0x3e65f8(0x149)]],[ve['UniverSheetsNumfmtPlugin']],[d['UniverSheetsPlugin'],{'notExecuteFormula':!0x0}],[k[_0x3e65f8(0x171)]],[le[_0x3e65f8(0x12d)]],[ue['UniverSheetsFormulaUIPlugin']],[C[_0x3e65f8(0x10b)]],[ae[_0x3e65f8(0x107)]],[ce['UniverSheetsFilterUIPlugin']],[ie[_0x3e65f8(0x13f)]],[te['UniverSheetsConditionalFormattingUIPlugin']],[he[_0x3e65f8(0xf2)]],[ge[_0x3e65f8(0x142)]],[B['UniverDataValidationPlugin']],[re['UniverSheetsDataValidationPlugin']],[ne[_0x3e65f8(0x180)]],[Q[_0x3e65f8(0x133)],{'notExecuteFormula':!0x0}],[R[_0x3e65f8(0x1ac)],{'workerURL':(_0x25e3f8=(_0x16521=this[_0x3e65f8(0x1d9)]['getConfig'](R[_0x3e65f8(0x1bf)]))==null?void 0x0:_0x16521[_0x3e65f8(0x17a)])!=null?_0x25e3f8:_0x3e65f8(0x116)}],[J['UniverDrawingUIPlugin']],[se[_0x3e65f8(0x1ab)]],[oe[_0x3e65f8(0x177)]],[K['UniverSheetSparklinePlugin']],[W[_0x3e65f8(0x18b)]],[V[_0x3e65f8(0x1d0)]],[G[_0x3e65f8(0x130)]],[Y[_0x3e65f8(0x14b)],{'notExecuteFormula':!0x0}],[m[_0x3e65f8(0x10c)],{'historyListServerUrl':(_0x40c4a0=this[_0x3e65f8(0x1d9)]['getConfig'](b))==null?void 0x0:_0x40c4a0[_0x3e65f8(0x1af)],'historyPanelComponentKey':(_0x2a033b=this['_configService'][_0x3e65f8(0x1cc)](b))==null?void 0x0:_0x2a033b[_0x3e65f8(0x170)]}]]['forEach'](([_0x48799a,_0x4a1b3d])=>this['registerPlugin'](_0x48799a,_0x4a1b3d));}[_0x4fb628(0x117)](){const _0x4a7b4b=_0x4fb628;super[_0x4a7b4b(0x117)](),this['unMountHistoryContent'](),this[_0x4a7b4b(0x16c)][_0x4a7b4b(0x1ca)]();}[_0x4fb628(0x19e)](_0x14858f,_0x956d1b,_0x5aebc3){const _0x41f35a=_0x4fb628;if(this[_0x41f35a(0x16c)][_0x41f35a(0x187)](_0x14858f['pluginName'])&&!_0x5aebc3)throw new Error(_0x41f35a(0x15a)+_0x14858f[_0x41f35a(0x19c)]+_0x41f35a(0x1c2));this[_0x41f35a(0x16c)]['set'](_0x14858f['pluginName'],[_0x14858f,_0x956d1b]);}[_0x4fb628(0x100)](){const _0x1a1430=_0x4fb628;return Array[_0x1a1430(0x1b6)](this[_0x1a1430(0x16c)][_0x1a1430(0xf1)]());}[_0x4fb628(0x1a0)](_0x69ef9b){const _0x5366dc=_0x4fb628,_0x47616c=document['getElementById'](y);_0x47616c&&(_0x47616c[_0x5366dc(0x122)][_0x5366dc(0x1c1)]=_0x5366dc(0x1b1),this['_initUniver'](_0x69ef9b,y));}[_0x4fb628(0x1b2)](){const _0x2fc3ae=_0x4fb628;var _0x2379b7;this[_0x2fc3ae(0x1c7)]['dispose'](),(_0x2379b7=this[_0x2fc3ae(0x1be)])==null||_0x2379b7[_0x2fc3ae(0x117)](),this['_historyUniver$'][_0x2fc3ae(0x143)](null);const _0x1313af=document[_0x2fc3ae(0x114)](y);_0x1313af&&(_0x1313af[_0x2fc3ae(0x122)][_0x2fc3ae(0x1c1)]=_0x2fc3ae(0x110));}[_0x4fb628(0x13d)](_0x8be6ba,_0x20796d){const _0x5e262b=_0x4fb628;if(this[_0x5e262b(0x1be)])return;const _0x55f147=new o[(_0x5e262b(0x13c))]({'locales':{[this[_0x5e262b(0x12f)][_0x5e262b(0x164)]()]:this[_0x5e262b(0x12f)]['getLocales']()},'override':[[o[_0x5e262b(0x14f)],{'useClass':p[_0x5e262b(0x120)]}]]}),_0x2ab454=_0x55f147[_0x5e262b(0x10e)]();this[_0x5e262b(0x135)](this[_0x5e262b(0x159)][_0x5e262b(0x1cd)]['subscribe'](_0x5307aa=>{const _0x14e8c3=_0x5e262b;_0x2ab454['get'](o[_0x14e8c3(0x194)])['setDarkMode'](_0x5307aa);})),this['disposeWithMe'](this['_themeService'][_0x5e262b(0x198)][_0x5e262b(0x11d)](_0x375b57=>{const _0x1194c8=_0x5e262b;_0x2ab454[_0x1194c8(0x11b)](o[_0x1194c8(0x194)])['setTheme'](_0x375b57);})),_0x2ab454[_0x5e262b(0x11b)](o['LocaleService'])[_0x5e262b(0x1d1)](this[_0x5e262b(0x12f)][_0x5e262b(0x164)]()),_0x2ab454['get'](o[_0x5e262b(0x102)])[_0x5e262b(0x118)](p[_0x5e262b(0x151)],this['_configService'][_0x5e262b(0x1cc)](p[_0x5e262b(0x151)]));const _0x3bf078=this['_configService'][_0x5e262b(0x1cc)](L[_0x5e262b(0x115)]);_0x3bf078&&_0x55f147[_0x5e262b(0x19e)](L[_0x5e262b(0x1c8)],{'license':_0x3bf078['ls']}),this['_pluginMap'][_0x5e262b(0x132)](([_0x23c2d9,_0x2ad672])=>{const _0x10f197=_0x5e262b;_0x55f147[_0x10f197(0x19e)](_0x23c2d9,_0x2ad672);}),_0x2ab454[_0x5e262b(0x150)](_0x32d040=>{const _0x404c14=_0x5e262b;this[_0x404c14(0x1b4)](_0x32d040,_0x8be6ba);}),this['_historyUniver$']['next'](_0x55f147);const _0x2004a6=_0x2ab454[_0x5e262b(0x11b)](m[_0x5e262b(0x134)]),_0xb89454=this['_checkCanRevert'](_0x8be6ba);_0x2004a6['triggerLoadVersions'](_0x8be6ba,_0x20796d,_0xb89454);}['_initListener'](_0x6c0de7,_0x4d81be){const _0x68cfa1=_0x4fb628,_0x187b24=_0x6c0de7[_0x68cfa1(0x11b)](m['HistoryManagerService']);this['_disposableCollection'][_0x68cfa1(0x137)](_0x187b24[_0x68cfa1(0x1db)][_0x68cfa1(0x11d)](_0x5088d5=>{const _0x168cea=_0x68cfa1;switch(_0x5088d5){case m[_0x168cea(0x190)][_0x168cea(0x16f)]:this[_0x168cea(0x19a)][_0x168cea(0x168)](),this[_0x168cea(0x197)][_0x168cea(0x10d)]();break;case m['HistoryModeStatus'][_0x168cea(0x129)]:this[_0x168cea(0x156)][_0x168cea(0x17c)](j['id']),this[_0x168cea(0x1b2)]();break;case m[_0x168cea(0x190)][_0x168cea(0x1a8)]:this[_0x168cea(0x1b2)](),this['_messageService'][_0x168cea(0x1b0)]({'content':this[_0x168cea(0x12f)]['t'](_0x168cea(0x12e)),'type':P['MessageType'][_0x168cea(0x1a8)],'duration':0xbb8});break;}})),this[_0x68cfa1(0x1c7)]['add'](_0x187b24['revertRevision$'][_0x68cfa1(0x11d)](async _0x18d938=>{const _0x23fade=_0x68cfa1;_0x18d938&&this[_0x23fade(0x156)][_0x23fade(0x17c)](C[_0x23fade(0x147)]['id'],{'unitId':_0x4d81be,'revision':_0x18d938});}));}[_0x4fb628(0x166)](_0x4ad5e2){const _0x175ce9=_0x4fb628,_0x313410=this['_univerInstanceService'][_0x175ce9(0xfc)](_0x4ad5e2)['getSheets']()[_0x175ce9(0x140)](_0x1635fd=>_0x1635fd['getSheetId']()),_0x2614ce=new d['WorkbookEditablePermission'](_0x4ad5e2)['id'],_0x3a4cf3=_0x313410[_0x175ce9(0x140)](_0x1adaf1=>new d[(_0x175ce9(0x113))](_0x4ad5e2,_0x1adaf1)['id']),_0xd5291c=_0x313410[_0x175ce9(0x140)](_0xd155bc=>this[_0x175ce9(0x1d8)][_0x175ce9(0x12a)](_0x4ad5e2,_0xd155bc)[_0x175ce9(0x140)](_0x2899cc=>new d['RangeProtectionPermissionEditPoint'](_0x4ad5e2,_0xd155bc,_0x2899cc[_0x175ce9(0x19d)])['id']))['flat'](),_0x37aa41=new d[(_0x175ce9(0x185))](_0x4ad5e2)['id'];return this[_0x175ce9(0x152)][_0x175ce9(0x1bc)]([_0x2614ce,..._0x3a4cf3,..._0xd5291c,_0x37aa41])[_0x175ce9(0x13e)](_0x3c2d98=>!!_0x3c2d98[_0x175ce9(0xef)]);}},exports['HistoryLoaderService']=pe([g(0x0,o[_0x4fb628(0x1d3)](o[_0x4fb628(0x18f)])),g(0x1,o[_0x4fb628(0xff)]),g(0x2,o[_0x4fb628(0x102)]),g(0x3,o[_0x4fb628(0x1ae)]),g(0x4,h[_0x4fb628(0x1d4)]),g(0x5,o[_0x4fb628(0x16d)]),g(0x6,o[_0x4fb628(0x1d3)](d['RangeProtectionRuleModel'])),g(0x7,o[_0x4fb628(0x1d3)](h[_0x4fb628(0x1da)])),g(0x8,o[_0x4fb628(0x1d3)](h['ISidebarService'])),g(0x9,o[_0x4fb628(0x1d3)](o[_0x4fb628(0x194)]))],exports[_0x4fb628(0xfb)]);const M={'id':'univer.operation.toggle-edit-history','type':o[_0x4fb628(0x161)][_0x4fb628(0xf3)],'handler':_0xa98359=>{const _0x2a7cad=_0x4fb628,_0x55e105=_0xa98359[_0x2a7cad(0x11b)](exports[_0x2a7cad(0xfb)]),_0x188b12=_0xa98359['get'](o[_0x2a7cad(0xff)]),{unitId:_0x36010b}=d[_0x2a7cad(0x18a)](_0x188b12)||{};return _0x36010b?(_0x55e105[_0x2a7cad(0x1a0)](_0x36010b),!0x0):!0x1;}},j={'id':_0x4fb628(0x101),'type':o[_0x4fb628(0x161)][_0x4fb628(0xf3)],'handler':()=>!0x0};function Ce(_0x5345b9){const _0x1d2538=_0x4fb628;return{'id':M['id'],'type':h['MenuItemType'][_0x1d2538(0x131)],'icon':_0x1d2538(0x184),'tooltip':'editHistory.panel.title','hidden$':h[_0x1d2538(0x1ad)](_0x5345b9,o['UniverInstanceType'][_0x1d2538(0x138)]),'disabled$':k['getCurrentRangeDisable$'](_0x5345b9,{'workbookTypes':[d[_0x1d2538(0x11c)],d['WorkbookViewHistoryPermission']],'worksheetTypes':[],'rangeTypes':[]})};}const Ie={[h[_0x4fb628(0x176)][_0x4fb628(0x18e)]]:{[M['id']]:{'order':0.2,'menuItemFactory':Ce}}};var Ue=Object[_0x4fb628(0x18c)],Ee=(_0x3527c3,_0x59493d,_0x3465ac,_0x45fd91)=>{const _0x271493=_0x4fb628;for(var _0x362039=_0x45fd91>0x1?void 0x0:_0x45fd91?Ue(_0x59493d,_0x3465ac):_0x59493d,_0x1f6a93=_0x3527c3[_0x271493(0x13b)]-0x1,_0x431e68;_0x1f6a93>=0x0;_0x1f6a93--)(_0x431e68=_0x3527c3[_0x1f6a93])&&(_0x362039=_0x431e68(_0x362039)||_0x362039);return _0x362039;},S=(_0x336731,_0x34cd17)=>(_0x3c62b7,_0x598eca)=>_0x34cd17(_0x3c62b7,_0x598eca,_0x336731);let E=class extends o[_0x4fb628(0x1ba)]{constructor(_0x188b43,_0x167b67,_0x8fd4dd,_0x352676,_0x15d605,_0x473c81,_0x1707e2,_0x19a487){const _0x1eaf57=_0x4fb628;super(),_(this,_0x1eaf57(0x106),null),(this[_0x1eaf57(0x156)]=_0x188b43,this[_0x1eaf57(0x1c9)]=_0x167b67,this['_componentManager']=_0x8fd4dd,this[_0x1eaf57(0x148)]=_0x352676,this[_0x1eaf57(0x12f)]=_0x15d605,this['_messageService']=_0x473c81,this[_0x1eaf57(0x157)]=_0x1707e2,this[_0x1eaf57(0x182)]=_0x19a487,this[_0x1eaf57(0x126)]());}[_0x4fb628(0x126)](){const _0x10f2f5=_0x4fb628;[M,j]['forEach'](_0x11da50=>this[_0x10f2f5(0x135)](o[_0x10f2f5(0x14e)](this[_0x10f2f5(0x156)][_0x10f2f5(0x11f)](_0x11da50)))),this[_0x10f2f5(0x135)](this[_0x10f2f5(0x188)][_0x10f2f5(0x1dd)](_0x10f2f5(0x184),$)),this[_0x10f2f5(0x1c9)]['mergeMenu'](Ie),this[_0x10f2f5(0x135)](this[_0x10f2f5(0x156)][_0x10f2f5(0x121)](_0x3f0d8e=>{const _0xae74f9=_0x10f2f5;if(_0x3f0d8e['id']===C[_0xae74f9(0x147)]['id']){this[_0xae74f9(0x17f)]['show']({'content':this[_0xae74f9(0x12f)]['t']('editHistory.panel.reverting'),'type':P[_0xae74f9(0x145)]['Loading'],'duration':0x1388});const {unitId:_0x39ecbc}=_0x3f0d8e[_0xae74f9(0x1a1)],_0x17c9b4=this[_0xae74f9(0x157)][_0xae74f9(0x1a7)](_0x39ecbc),_0x4ed265=O['combineLatest']([_0x17c9b4['session']['event$'],_0x17c9b4[_0xae74f9(0x162)]])['subscribe'](async([_0x439057,_0x5dcd20])=>{const _0x13af8a=_0xae74f9;var _0x2e298b;_0x439057[_0x13af8a(0x1d5)]===C[_0x13af8a(0x1a4)][_0x13af8a(0xfd)]&&(_0x5dcd20==null?void 0x0:_0x5dcd20[_0x13af8a(0x15b)])===p[_0x13af8a(0x11a)][_0x13af8a(0xfa)]&&_0x439057['data'][_0x13af8a(0x169)][_0x13af8a(0x1d7)](_0xdd8e6b=>_0xdd8e6b['id']===C[_0x13af8a(0x147)]['id'])&&(this['_historyManagerService'][_0x13af8a(0x1b2)](),_0x4ed265[_0x13af8a(0x1c3)](),this['_revertErrorTimer']&&clearTimeout(this['_revertErrorTimer']),await((_0x2e298b=this[_0x13af8a(0x182)])==null?void 0x0:_0x2e298b[_0x13af8a(0xf7)]()),setTimeout(()=>window[_0x13af8a(0x1b9)][_0x13af8a(0x139)]()));});this[_0xae74f9(0x106)]=setTimeout(()=>{const _0x4da822=_0xae74f9;_0x4ed265[_0x4da822(0x1c3)](),this['_messageService'][_0x4da822(0x1b0)]({'content':this[_0x4da822(0x12f)]['t'](_0x4da822(0x109)),'type':P[_0x4da822(0x145)]['Error'],'duration':0xbb8});},0x1388);}}));}};E=Ee([S(0x0,o[_0x4fb628(0x1ae)]),S(0x1,h[_0x4fb628(0x105)]),S(0x2,o['Inject'](h[_0x4fb628(0x15e)])),S(0x3,o[_0x4fb628(0x1d3)](exports[_0x4fb628(0xfb)])),S(0x4,o[_0x4fb628(0x1d3)](o[_0x4fb628(0x18f)])),S(0x5,h[_0x4fb628(0x1d4)]),S(0x6,o[_0x4fb628(0x1d3)](p[_0x4fb628(0x13a)])),S(0x7,p[_0x4fb628(0x18d)])],E);var Pe=Object['getOwnPropertyDescriptor'],be=(_0x1c3b00,_0x4c0ea6,_0x4fae48,_0x16afcd)=>{const _0x225520=_0x4fb628;for(var _0x4959d1=_0x16afcd>0x1?void 0x0:_0x16afcd?Pe(_0x4c0ea6,_0x4fae48):_0x4c0ea6,_0x51d4bd=_0x1c3b00[_0x225520(0x13b)]-0x1,_0x44fdc0;_0x51d4bd>=0x0;_0x51d4bd--)(_0x44fdc0=_0x1c3b00[_0x51d4bd])&&(_0x4959d1=_0x44fdc0(_0x4959d1)||_0x4959d1);return _0x4959d1;},w=(_0x168673,_0x1251f3)=>(_0x1944a7,_0x4164ad)=>_0x1251f3(_0x1944a7,_0x4164ad,_0x168673);const He=_0x4fb628(0x1b8);var I;exports['UniverEditHistoryLoaderPlugin']=(I=class extends o[_0x4fb628(0x19b)]{constructor(_0x194c22=T,_0x3ecfba,_0x110385){const _0x21b2b7=_0x4fb628;super(),this['_config']=_0x194c22,this[_0x21b2b7(0x124)]=_0x3ecfba,this[_0x21b2b7(0x1d9)]=_0x110385;const {menu:_0x35820d,..._0x275dab}=o['merge']({},T,this['_config']);_0x35820d&&this[_0x21b2b7(0x1d9)][_0x21b2b7(0x118)](_0x21b2b7(0x1d6),_0x35820d,{'merge':!0x0}),this[_0x21b2b7(0x1d9)][_0x21b2b7(0x118)](b,_0x275dab),this[_0x21b2b7(0x111)][_0x21b2b7(0x1aa)]&&this[_0x21b2b7(0x1d9)]['setConfig'](H,this[_0x21b2b7(0x111)]['univerContainerId']);}[_0x4fb628(0x17b)](){const _0xb94e9b=_0x4fb628;[[exports[_0xb94e9b(0xfb)]],[E]][_0xb94e9b(0x132)](_0x46f01d=>this['_injector']['add'](_0x46f01d));}['onSteady'](){const _0x2070bf=_0x4fb628;this[_0x2070bf(0x124)][_0x2070bf(0x11b)](E);}},_(I,_0x4fb628(0x16a),o[_0x4fb628(0x17e)][_0x4fb628(0xf4)]),_(I,_0x4fb628(0x19c),He),I),exports[_0x4fb628(0x199)]=be([w(0x1,o[_0x4fb628(0x1d3)](o[_0x4fb628(0x1c6)])),w(0x2,o['IConfigService'])],exports[_0x4fb628(0x199)]),exports[_0x4fb628(0x144)]=H,exports['UNIVER_HISTORY_CONTAINER_ID']=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 _0x26f5c5=_0x4153;(function(_0xeefe72,_0x3eb864){const _0xe0a80e=_0x4153,_0x513b57=_0xeefe72();while(!![]){try{const _0x5a5627=-parseInt(_0xe0a80e(0xe3))/0x1+parseInt(_0xe0a80e(0x108))/0x2+parseInt(_0xe0a80e(0xb3))/0x3+-parseInt(_0xe0a80e(0x92))/0x4+-parseInt(_0xe0a80e(0xa6))/0x5+-parseInt(_0xe0a80e(0x11f))/0x6*(-parseInt(_0xe0a80e(0xa0))/0x7)+parseInt(_0xe0a80e(0xcc))/0x8*(parseInt(_0xe0a80e(0xeb))/0x9);if(_0x5a5627===_0x3eb864)break;else _0x513b57['push'](_0x513b57['shift']());}catch(_0xa7e573){_0x513b57['push'](_0x513b57['shift']());}}}(_0x32cd,0xa6ff8));var Y=Object[_0x26f5c5(0xdc)],B=(_0x48f30a,_0xc601c9,_0x49d258)=>_0xc601c9 in _0x48f30a?Y(_0x48f30a,_0xc601c9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x49d258}):_0x48f30a[_0xc601c9]=_0x49d258,g=(_0x356be4,_0x1224d4,_0x45017a)=>B(_0x356be4,typeof _0x1224d4!=_0x26f5c5(0xf2)?_0x1224d4+'':_0x1224d4,_0x45017a);import{Inject as _0xb38479,LocaleService as _0x2e1af7,IUniverInstanceService as _0x1b154f,IConfigService as _0x3c4f6c,ICommandService as _0xeae62a,IPermissionService as _0x796d7,ThemeService as _0x38a186,Disposable as _0x17bff1,DisposableCollection as _0x76eaa7,Univer as _0x4059ab,IAuthzIoService as _0x35a2a6,CommandType as _0x583198,UniverInstanceType as _0x500737,RxDisposable as _0x371026,toDisposable as _0x3c8bed,Plugin as _0x5857f0,merge as _0x100c73,Injector as _0x198ee0}from'@univerjs/core';import{UniverCollaborationPlugin as _0x64c4c0,RevertRevisionMutation as _0xd1193f,CollaborationEvent as _0x28d345}from'@univerjs-pro/collaboration';import{AuthzIoHttpService as _0x531ebd,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x2a6248,CollaborationController as _0x250a30,ILocalCacheService as _0x43cb3d,CollaborationStatus as _0x188bde}from'@univerjs-pro/collaboration-client';import{MessageType as _0x58132a}from'@univerjs/design';import{useRef as _0xbdb9eb,createElement as _0x3228e2,forwardRef as _0x47085a}from'react';import{IMessageService as _0x3ff56f,IDialogService as _0x44bef5,ISidebarService as _0x49ae37,UniverUIPlugin as _0x408dd5,getMenuHiddenObservable as _0x4b4794,MenuItemType as _0x1200ff,RibbonStartGroup as _0x202139,IMenuManagerService as _0x18b5b2,ComponentManager as _0xc50fc4}from'@univerjs/ui';import{BehaviorSubject as _0x52b858,combineLatest as _0x19dfa3}from'rxjs';import{RangeProtectionRuleModel as _0xf75585,UniverSheetsPlugin as _0x272656,WorkbookEditablePermission as _0x45614f,WorksheetEditPermission as _0x23fd86,RangeProtectionPermissionEditPoint as _0x36dacb,WorkbookRecoverHistoryPermission as _0x3514f3,getSheetCommandTarget as _0x53e9a1,WorkbookViewHistoryPermission as _0x4c0659}from'@univerjs/sheets';import{UniverEditHistoryViewerPlugin as _0x1d25c0,HistoryManagerService as _0x16646d,HistoryModeStatus as _0x5180a7}from'@univerjs-pro/edit-history-viewer';import{LS_CONFIG_KEY as _0x4db0d1,UniverLicensePlugin as _0xd6f678}from'@univerjs-pro/license';import{UniverSheetsChartPlugin as _0x1ea352}from'@univerjs-pro/sheets-chart';import{UniverSheetsChartUIPlugin as _0x181e32}from'@univerjs-pro/sheets-chart-ui';import{UniverSheetsPivotTablePlugin as _0x436dc8}from'@univerjs-pro/sheets-pivot';import{UniverSheetSparklinePlugin as _0x5dda31}from'@univerjs-pro/sheets-sparkline';import{UniverSheetSparklineUIPlugin as _0x1469cd}from'@univerjs-pro/sheets-sparkline-ui';import{UniverDataValidationPlugin as _0x158e32}from'@univerjs/data-validation';import{UniverDocsPlugin as _0xe81348}from'@univerjs/docs';import{UniverDocsUIPlugin as _0x185513}from'@univerjs/docs-ui';import{UniverDrawingPlugin as _0x17d3b4,IImageIoService as _0x2c823b}from'@univerjs/drawing';import{UniverDrawingUIPlugin as _0x352f14}from'@univerjs/drawing-ui';import{UniverFormulaEnginePlugin as _0x5d4683}from'@univerjs/engine-formula';import{UniverRenderEnginePlugin as _0x3a9b1a}from'@univerjs/engine-render';import{UniverNetworkPlugin as _0x3b2836}from'@univerjs/network';import{UniverRPCMainThreadPlugin as _0x4fad4a,PLUGIN_CONFIG_KEY_MAIN_THREAD as _0x1da40e}from'@univerjs/rpc';import{UniverSheetsConditionalFormattingPlugin as _0x879b86}from'@univerjs/sheets-conditional-formatting';import{UniverSheetsConditionalFormattingUIPlugin as _0x378399}from'@univerjs/sheets-conditional-formatting-ui';import{UniverSheetsDataValidationPlugin as _0x4400f4}from'@univerjs/sheets-data-validation';function _0x32cd(){const _0x4646cb=['dataset','_localCacheService','height','getAllPlugins','url(#history-icon_clip0_907_281)','assign','104mYSZdO','getLocales','getSheetId','_messageService','uComp','unMountHistoryContent','triggerLoadVersions','editHistory.panel.reverting','path','_historyUniver$','_initPlugins','entries','defIds','UNIVER_SHEET','position','every','defineProperty','M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z','univerContainerId','mergeMenu','_configService','eventID','setTheme','97082nkYLlU','_initUniver','_collaborationController','string','top','OPERATION','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','permissionId','235089tRkfvx','event$','currentColor','next','params','asObservable','getSheets','symbol','left','historyPanelComponentKey','closeAll','_init','getOwnPropertyDescriptor','dispose','get','darkMode$','[HistoryLoaderService]:\x20Plugin\x20','subscribe','url(#$1','status$','mask','historyListServerUrl','./worker.js','_permissionService','idSuffix','BUTTON','display','edit-history-loader.config','defs','629682BMdWqX','fill','_sidebarService','displayName','createElement','getSubunitRuleList','pluginName','historyUniver','UNIVER_CONTAINER_ID','xlink:href','_initListener','attrs','use','toString','value','location','disposeWithMe','show','_selectionProtectionRuleModel','tag','length','clear','replace','14664pTXbll','_componentManager','0\x200\x2016\x2016','history-icon_clip0_907_281','_menuManagerService','data','colorChannel1','onStarting','1em','HistoryIcon','style','_historyManagerService','set','univer.operation.toggle-edit-history','_disposableCollection','_initContainer','__getInjector','100%','5283888LZmzTD','map','_injector','current','invoke','OTHERS','from','_revertErrorTimer','children','getElementById','values','setLocale','composePermission','has','3703LZYrNp','executeCommand','_univerInstanceService','http://www.w3.org/2000/svg','getCurrentLocale','_checkCanRevert','6008095msKyUo','session','SYNCED','add','zIndex','Loading','workerURL','getConfig','setConfig','mountHistoryContent','Exited','clipPath','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','4069221hXRTGD','1000','Error','random','_localeService','_pluginMap','unsubscribe','CHANGESET_ACK','forEach','registerPlugin','status','univer-history-container','_config','flat','includes','_commandService','_dialogService','history-icon','exhaustSavingTask'];_0x32cd=function(){return _0x4646cb;};return _0x32cd();}import{UniverSheetsDataValidationUIPlugin as _0x1359f1}from'@univerjs/sheets-data-validation-ui';import{UniverSheetsDrawingPlugin as _0xe9bfae}from'@univerjs/sheets-drawing';import{UniverSheetsDrawingUIPlugin as _0x314a73}from'@univerjs/sheets-drawing-ui';import{UniverSheetsFilterPlugin as _0x2ab64d}from'@univerjs/sheets-filter';import{UniverSheetsFilterUIPlugin as _0x1ff082}from'@univerjs/sheets-filter-ui';import{UniverSheetsFormulaPlugin as _0x111cff}from'@univerjs/sheets-formula';import{UniverSheetsFormulaUIPlugin as _0x16cbaa}from'@univerjs/sheets-formula-ui';import{UniverSheetsHyperLinkPlugin as _0x217fd7}from'@univerjs/sheets-hyper-link';import{UniverSheetsHyperLinkUIPlugin as _0x391f2e}from'@univerjs/sheets-hyper-link-ui';import{UniverSheetsNumfmtPlugin as _0x144214}from'@univerjs/sheets-numfmt';import{UniverSheetsUIPlugin as _0x49b19d,getCurrentRangeDisable$ as _0xf8252b}from'@univerjs/sheets-ui';const U=_0x26f5c5(0x106),N={};function F({ref:_0x4169c1,..._0x27ea3d}){const _0xa0f420=_0x26f5c5,{icon:_0x2fcd7e,id:_0x46580d,className:_0x2ade1d,extend:_0x4a70ed,..._0x401621}=_0x27ea3d,_0x58d3d1=('univerjs-icon\x20univerjs-icon-'+_0x46580d+'\x20'+(_0x2ade1d||''))['trim'](),_0x8ef55d=_0xbdb9eb('_'+hi());return j(_0x2fcd7e,''+_0x46580d,{'defIds':_0x2fcd7e[_0xa0f420(0xd8)],'idSuffix':_0x8ef55d[_0xa0f420(0x95)]},{'ref':_0x4169c1,'className':_0x58d3d1,..._0x401621},_0x4a70ed);}function j(_0x494aba,_0xbdb415,_0x5a4c6e,_0x2592e9,_0x5540d7){const _0x84881d=_0x26f5c5;return _0x3228e2(_0x494aba[_0x84881d(0x11b)],{'key':_0xbdb415,...ci(_0x494aba,_0x5a4c6e,_0x5540d7),..._0x2592e9},(li(_0x494aba,_0x5a4c6e)[_0x84881d(0x9a)]||[])['map']((_0xb96357,_0x188a68)=>j(_0xb96357,_0xbdb415+'-'+_0x494aba['tag']+'-'+_0x188a68,_0x5a4c6e,void 0x0,_0x5540d7)));}function ci(_0x1498cb,_0x29103d,_0x1e393f){const _0x28f891=_0x26f5c5,_0x5e722d={..._0x1498cb['attrs']};_0x1e393f!=null&&_0x1e393f[_0x28f891(0x125)]&&_0x5e722d[_0x28f891(0x109)]==='colorChannel1'&&(_0x5e722d[_0x28f891(0x109)]=_0x1e393f[_0x28f891(0x125)]),_0x1498cb[_0x28f891(0x11b)]===_0x28f891(0xff)&&_0x5e722d['id']&&(_0x5e722d['id']=_0x5e722d['id']+_0x29103d[_0x28f891(0x103)]),Object[_0x28f891(0xd7)](_0x5e722d)['forEach'](([_0x355f86,_0x3d1489])=>{const _0x5a776f=_0x28f891;_0x355f86===_0x5a776f(0xff)&&typeof _0x3d1489==_0x5a776f(0xe6)&&(_0x5e722d[_0x355f86]=_0x3d1489[_0x5a776f(0x11e)](/url\(#(.*)\)/,'url(#$1'+_0x29103d['idSuffix']+')'));});const {defIds:_0x1ebdfd}=_0x29103d;return!_0x1ebdfd||_0x1ebdfd[_0x28f891(0x11c)]===0x0||(_0x1498cb[_0x28f891(0x11b)]===_0x28f891(0x114)&&_0x5e722d[_0x28f891(0x111)]&&(_0x5e722d[_0x28f891(0x111)]=_0x5e722d[_0x28f891(0x111)]+_0x29103d[_0x28f891(0x103)]),Object['entries'](_0x5e722d)[_0x28f891(0xbb)](([_0x17d5e6,_0x4539c9])=>{const _0x1653de=_0x28f891;typeof _0x4539c9==_0x1653de(0xe6)&&(_0x5e722d[_0x17d5e6]=_0x4539c9['replace'](/url\(#(.*)\)/,_0x1653de(0xfd)+_0x29103d[_0x1653de(0x103)]+')'));})),_0x5e722d;}function li(_0x4d0d8b,_0x572339){const _0x544162=_0x26f5c5;var _0x3a17e4;const {defIds:_0x4da600}=_0x572339;return!_0x4da600||_0x4da600[_0x544162(0x11c)]===0x0?_0x4d0d8b:_0x4d0d8b[_0x544162(0x11b)]===_0x544162(0x107)&&((_0x3a17e4=_0x4d0d8b[_0x544162(0x9a)])!=null&&_0x3a17e4[_0x544162(0x11c)])?{..._0x4d0d8b,'children':_0x4d0d8b[_0x544162(0x9a)]['map'](_0x4bfcc2=>typeof _0x4bfcc2[_0x544162(0x113)]['id']==_0x544162(0xe6)&&_0x4da600&&_0x4da600[_0x544162(0xc1)](_0x4bfcc2[_0x544162(0x113)]['id'])?{..._0x4bfcc2,'attrs':{..._0x4bfcc2[_0x544162(0x113)],'id':_0x4bfcc2['attrs']['id']+_0x572339[_0x544162(0x103)]}}:_0x4bfcc2)}:_0x4d0d8b;}function hi(){const _0x1029af=_0x26f5c5;return Math[_0x1029af(0xb6)]()[_0x1029af(0x115)](0x24)['substring'](0x2,0x8);}F['displayName']='UniverIcon';const ui={'tag':'svg','attrs':{'xmlns':_0x26f5c5(0xa3),'fill':'none','viewBox':_0x26f5c5(0x121),'width':_0x26f5c5(0x127),'height':_0x26f5c5(0x127)},'children':[{'tag':'g','attrs':{'fill':_0x26f5c5(0xed),'clipPath':_0x26f5c5(0xca)},'children':[{'tag':'path','attrs':{'d':_0x26f5c5(0xdd)}},{'tag':_0x26f5c5(0xd4),'attrs':{'d':_0x26f5c5(0xe9)}}]},{'tag':_0x26f5c5(0x107),'attrs':{},'children':[{'tag':_0x26f5c5(0xb1),'attrs':{'id':'history-icon_clip0_907_281'},'children':[{'tag':_0x26f5c5(0xd4),'attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x26f5c5(0x122)]},V=_0x47085a(function(_0x1a99f2,_0xaf4a80){const _0x3aa733=_0x26f5c5;return _0x3228e2(F,Object[_0x3aa733(0xcb)]({},_0x1a99f2,{'id':_0x3aa733(0xc4),'ref':_0xaf4a80,'icon':ui}));});function _0x4153(_0x1d7703,_0x505a01){_0x1d7703=_0x1d7703-0x8e;const _0x32cd8a=_0x32cd();let _0x415358=_0x32cd8a[_0x1d7703];return _0x415358;}V[_0x26f5c5(0x10b)]='HistoryIcon';var gi=Object[_0x26f5c5(0xf7)],mi=(_0x251530,_0x2b56fe,_0x2a3434,_0x44fa89)=>{const _0x2d973d=_0x26f5c5;for(var _0x3326e2=_0x44fa89>0x1?void 0x0:_0x44fa89?gi(_0x2b56fe,_0x2a3434):_0x2b56fe,_0xadec4e=_0x251530[_0x2d973d(0x11c)]-0x1,_0x373949;_0xadec4e>=0x0;_0xadec4e--)(_0x373949=_0x251530[_0xadec4e])&&(_0x3326e2=_0x373949(_0x3326e2)||_0x3326e2);return _0x3326e2;},l=(_0x5d72e4,_0x72e5d3)=>(_0x519d73,_0x5e029e)=>_0x72e5d3(_0x519d73,_0x5e029e,_0x5d72e4);const vi='univer-container',G=_0x26f5c5(0x110),d=_0x26f5c5(0xbe);let f=class extends _0x17bff1{constructor(_0x3772df,_0x2e4e68,_0x226700,_0xaf9ff4,_0x27c158,_0x2328df,_0x5d253e,_0x838264,_0x188984,_0x1e9ed1){const _0x9d389c=_0x26f5c5;super(),g(this,_0x9d389c(0xd5),new _0x52b858(null)),g(this,'historyUniver$',this[_0x9d389c(0xd5)][_0x9d389c(0xf0)]()),g(this,_0x9d389c(0x8e),new _0x76eaa7()),g(this,_0x9d389c(0xb8),new Map()),(this[_0x9d389c(0xb7)]=_0x3772df,this[_0x9d389c(0xa2)]=_0x2e4e68,this['_configService']=_0x226700,this['_commandService']=_0xaf9ff4,this[_0x9d389c(0xcf)]=_0x27c158,this[_0x9d389c(0x102)]=_0x2328df,this['_selectionProtectionRuleModel']=_0x5d253e,this[_0x9d389c(0xc3)]=_0x838264,this[_0x9d389c(0x10a)]=_0x188984,this['_themeService']=_0x1e9ed1,this[_0x9d389c(0xf6)]());}get[_0x26f5c5(0x10f)](){const _0x4a38ae=_0x26f5c5;return this[_0x4a38ae(0xd5)]['value'];}[_0x26f5c5(0xf6)](){const _0x32f72d=_0x26f5c5;this[_0x32f72d(0x8f)](),this[_0x32f72d(0xd6)]();}['_initContainer'](){const _0x30d34e=_0x26f5c5;var _0x956bf4;const _0x284a13=(_0x956bf4=this[_0x30d34e(0xe0)][_0x30d34e(0xad)](G))!=null?_0x956bf4:vi,_0x4e6b23=document[_0x30d34e(0x9b)](_0x284a13);if(!_0x4e6b23)return;const _0x1a86e8=document[_0x30d34e(0x10c)]('div');_0x1a86e8['id']=d,_0x1a86e8[_0x30d34e(0xc6)][_0x30d34e(0xd0)]='history-container',_0x1a86e8[_0x30d34e(0x129)][_0x30d34e(0xda)]='absolute',_0x1a86e8[_0x30d34e(0x129)][_0x30d34e(0xe7)]='0',_0x1a86e8[_0x30d34e(0x129)][_0x30d34e(0xf3)]='0',_0x1a86e8[_0x30d34e(0x129)]['width']='100%',_0x1a86e8[_0x30d34e(0x129)][_0x30d34e(0xc8)]=_0x30d34e(0x91),_0x1a86e8[_0x30d34e(0x129)][_0x30d34e(0xaa)]=_0x30d34e(0xb4),_0x1a86e8['style'][_0x30d34e(0x105)]='none',_0x4e6b23['appendChild'](_0x1a86e8);}[_0x26f5c5(0xd6)](){const _0x12d9ac=_0x26f5c5;var _0x30a70a,_0x20d612,_0x59b699,_0x3e06ad;[[_0x3a9b1a],[_0x408dd5,{'container':d,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x44bef5,null]]}],[_0x3b2836],[_0x17d3b4,{'override':[[_0x2c823b,null]]}],[_0xe81348,{'hasScroll':!0x1}],[_0x185513],[_0x144214],[_0x272656,{'notExecuteFormula':!0x0}],[_0x49b19d],[_0x111cff],[_0x16cbaa],[_0x64c4c0],[_0x2ab64d],[_0x1ff082],[_0x879b86],[_0x378399],[_0x217fd7],[_0x391f2e],[_0x158e32],[_0x4400f4],[_0x1359f1],[_0x5d4683,{'notExecuteFormula':!0x0}],[_0x4fad4a,{'workerURL':(_0x20d612=(_0x30a70a=this[_0x12d9ac(0xe0)][_0x12d9ac(0xad)](_0x1da40e))==null?void 0x0:_0x30a70a[_0x12d9ac(0xac)])!=null?_0x20d612:_0x12d9ac(0x101)}],[_0x352f14],[_0xe9bfae],[_0x314a73],[_0x5dda31],[_0x1469cd],[_0x1ea352],[_0x181e32],[_0x436dc8,{'notExecuteFormula':!0x0}],[_0x1d25c0,{'historyListServerUrl':(_0x59b699=this['_configService'][_0x12d9ac(0xad)](U))==null?void 0x0:_0x59b699[_0x12d9ac(0x100)],'historyPanelComponentKey':(_0x3e06ad=this[_0x12d9ac(0xe0)]['getConfig'](U))==null?void 0x0:_0x3e06ad[_0x12d9ac(0xf4)]}]][_0x12d9ac(0xbb)](([_0x351809,_0x4de709])=>this['registerPlugin'](_0x351809,_0x4de709));}['dispose'](){const _0x16ce5b=_0x26f5c5;super[_0x16ce5b(0xf8)](),this[_0x16ce5b(0xd1)](),this['_pluginMap'][_0x16ce5b(0x11d)]();}[_0x26f5c5(0xbc)](_0x224a2d,_0x346415,_0x197bfe){const _0x558472=_0x26f5c5;if(this[_0x558472(0xb8)][_0x558472(0x9f)](_0x224a2d[_0x558472(0x10e)])&&!_0x197bfe)throw new Error(_0x558472(0xfb)+_0x224a2d['pluginName']+'\x20has\x20been\x20registered.');this[_0x558472(0xb8)][_0x558472(0x12b)](_0x224a2d['pluginName'],[_0x224a2d,_0x346415]);}[_0x26f5c5(0xc9)](){const _0x382cc9=_0x26f5c5;return Array[_0x382cc9(0x98)](this['_pluginMap'][_0x382cc9(0x9c)]());}['mountHistoryContent'](_0x37563b){const _0x2afb75=_0x26f5c5,_0x14e308=document[_0x2afb75(0x9b)](d);_0x14e308&&(_0x14e308[_0x2afb75(0x129)][_0x2afb75(0x105)]='block',this[_0x2afb75(0xe4)](_0x37563b,d));}[_0x26f5c5(0xd1)](){const _0x51ce26=_0x26f5c5;var _0x73c70a;this['_disposableCollection'][_0x51ce26(0xf8)](),(_0x73c70a=this[_0x51ce26(0x10f)])==null||_0x73c70a['dispose'](),this[_0x51ce26(0xd5)][_0x51ce26(0xee)](null);const _0x22a163=document[_0x51ce26(0x9b)](d);_0x22a163&&(_0x22a163[_0x51ce26(0x129)]['display']='none');}[_0x26f5c5(0xe4)](_0xf42072,_0x23b018){const _0x390de3=_0x26f5c5;if(this[_0x390de3(0x10f)])return;const _0x8dccfb=new _0x4059ab({'locales':{[this[_0x390de3(0xb7)][_0x390de3(0xa4)]()]:this[_0x390de3(0xb7)][_0x390de3(0xcd)]()},'override':[[_0x35a2a6,{'useClass':_0x531ebd}]]}),_0x4eb73f=_0x8dccfb[_0x390de3(0x90)]();this[_0x390de3(0x118)](this['_themeService'][_0x390de3(0xfa)]['subscribe'](_0x54e4e2=>{const _0x360fda=_0x390de3;_0x4eb73f[_0x360fda(0xf9)](_0x38a186)['setDarkMode'](_0x54e4e2);})),this[_0x390de3(0x118)](this['_themeService']['currentTheme$'][_0x390de3(0xfc)](_0xfecce2=>{const _0x14c625=_0x390de3;_0x4eb73f[_0x14c625(0xf9)](_0x38a186)[_0x14c625(0xe2)](_0xfecce2);})),_0x4eb73f['get'](_0x2e1af7)[_0x390de3(0x9d)](this['_localeService'][_0x390de3(0xa4)]()),_0x4eb73f[_0x390de3(0xf9)](_0x3c4f6c)['setConfig'](_0x2a6248,this[_0x390de3(0xe0)]['getConfig'](_0x2a6248));const _0x47d7f7=this[_0x390de3(0xe0)][_0x390de3(0xad)](_0x4db0d1);_0x47d7f7&&_0x8dccfb[_0x390de3(0xbc)](_0xd6f678,{'license':_0x47d7f7['ls']}),this['_pluginMap'][_0x390de3(0xbb)](([_0x54bb4e,_0x5b4735])=>{const _0x59a838=_0x390de3;_0x8dccfb[_0x59a838(0xbc)](_0x54bb4e,_0x5b4735);}),_0x4eb73f[_0x390de3(0x96)](_0x5a2fa5=>{const _0x2c70b9=_0x390de3;this[_0x2c70b9(0x112)](_0x5a2fa5,_0xf42072);}),this[_0x390de3(0xd5)][_0x390de3(0xee)](_0x8dccfb);const _0x158b82=_0x4eb73f['get'](_0x16646d),_0x5ddadc=this[_0x390de3(0xa5)](_0xf42072);_0x158b82[_0x390de3(0xd2)](_0xf42072,_0x23b018,_0x5ddadc);}[_0x26f5c5(0x112)](_0x2f6a58,_0x139e8e){const _0xec08ef=_0x26f5c5,_0x131e94=_0x2f6a58[_0xec08ef(0xf9)](_0x16646d);this[_0xec08ef(0x8e)][_0xec08ef(0xa9)](_0x131e94[_0xec08ef(0xfe)][_0xec08ef(0xfc)](_0x2afca1=>{const _0x4a9355=_0xec08ef;switch(_0x2afca1){case _0x5180a7['Entered']:this['_dialogService'][_0x4a9355(0xf5)](),this[_0x4a9355(0x10a)]['close']();break;case _0x5180a7[_0x4a9355(0xb0)]:this[_0x4a9355(0xc2)]['executeCommand'](W['id']),this[_0x4a9355(0xd1)]();break;case _0x5180a7[_0x4a9355(0xb5)]:this[_0x4a9355(0xd1)](),this[_0x4a9355(0xcf)]['show']({'content':this[_0x4a9355(0xb7)]['t']('editHistory.panel.listFetchError'),'type':_0x58132a[_0x4a9355(0xb5)],'duration':0xbb8});break;}})),this['_disposableCollection'][_0xec08ef(0xa9)](_0x131e94['revertRevision$'][_0xec08ef(0xfc)](async _0x2669a1=>{const _0x3b3de1=_0xec08ef;_0x2669a1&&this['_commandService'][_0x3b3de1(0xa1)](_0xd1193f['id'],{'unitId':_0x139e8e,'revision':_0x2669a1});}));}['_checkCanRevert'](_0x43ea9e){const _0x12bdc7=_0x26f5c5,_0x342f5f=this[_0x12bdc7(0xa2)]['getUnit'](_0x43ea9e)[_0x12bdc7(0xf1)]()[_0x12bdc7(0x93)](_0x54a314=>_0x54a314[_0x12bdc7(0xce)]()),_0x55b450=new _0x45614f(_0x43ea9e)['id'],_0x501e15=_0x342f5f[_0x12bdc7(0x93)](_0xfa8ef5=>new _0x23fd86(_0x43ea9e,_0xfa8ef5)['id']),_0x340e99=_0x342f5f[_0x12bdc7(0x93)](_0x3bc0e5=>this[_0x12bdc7(0x11a)][_0x12bdc7(0x10d)](_0x43ea9e,_0x3bc0e5)[_0x12bdc7(0x93)](_0x3f6f3e=>new _0x36dacb(_0x43ea9e,_0x3bc0e5,_0x3f6f3e[_0x12bdc7(0xea)])['id']))[_0x12bdc7(0xc0)](),_0x838ac=new _0x3514f3(_0x43ea9e)['id'];return this[_0x12bdc7(0x102)][_0x12bdc7(0x9e)]([_0x55b450,..._0x501e15,..._0x340e99,_0x838ac])[_0x12bdc7(0xdb)](_0x222ff4=>!!_0x222ff4[_0x12bdc7(0x116)]);}};f=mi([l(0x0,_0xb38479(_0x2e1af7)),l(0x1,_0x1b154f),l(0x2,_0x3c4f6c),l(0x3,_0xeae62a),l(0x4,_0x3ff56f),l(0x5,_0x796d7),l(0x6,_0xb38479(_0xf75585)),l(0x7,_0xb38479(_0x44bef5)),l(0x8,_0xb38479(_0x49ae37)),l(0x9,_0xb38479(_0x38a186))],f);const b={'id':_0x26f5c5(0x12c),'type':_0x583198[_0x26f5c5(0xe8)],'handler':_0x3c70c9=>{const _0x2f0532=_0x26f5c5,_0x4d800a=_0x3c70c9[_0x2f0532(0xf9)](f),_0x476f33=_0x3c70c9[_0x2f0532(0xf9)](_0x1b154f),{unitId:_0x426e55}=_0x53e9a1(_0x476f33)||{};return _0x426e55?(_0x4d800a[_0x2f0532(0xaf)](_0x426e55),!0x0):!0x1;}},W={'id':'univer.operation.exit-edit-history','type':_0x583198[_0x26f5c5(0xe8)],'handler':()=>!0x0};function di(_0x1f19f7){const _0x72619b=_0x26f5c5;return{'id':b['id'],'type':_0x1200ff[_0x72619b(0x104)],'icon':_0x72619b(0x128),'tooltip':'editHistory.panel.title','hidden$':_0x4b4794(_0x1f19f7,_0x500737[_0x72619b(0xd9)]),'disabled$':_0xf8252b(_0x1f19f7,{'workbookTypes':[_0x45614f,_0x4c0659],'worksheetTypes':[],'rangeTypes':[]})};}const fi={[_0x202139[_0x26f5c5(0x97)]]:{[b['id']]:{'order':0.2,'menuItemFactory':di}}};var _i=Object['getOwnPropertyDescriptor'],pi=(_0x18cc9e,_0x1ed577,_0xf9d7c7,_0x2e8117)=>{const _0x3d661b=_0x26f5c5;for(var _0x21ee5d=_0x2e8117>0x1?void 0x0:_0x2e8117?_i(_0x1ed577,_0xf9d7c7):_0x1ed577,_0x3bbb4c=_0x18cc9e[_0x3d661b(0x11c)]-0x1,_0x4cc30a;_0x3bbb4c>=0x0;_0x3bbb4c--)(_0x4cc30a=_0x18cc9e[_0x3bbb4c])&&(_0x21ee5d=_0x4cc30a(_0x21ee5d)||_0x21ee5d);return _0x21ee5d;},m=(_0x247168,_0x49ff4e)=>(_0x1924c1,_0x2f0bd8)=>_0x49ff4e(_0x1924c1,_0x2f0bd8,_0x247168);let p=class extends _0x371026{constructor(_0x34d20f,_0x57554e,_0x9bb375,_0x31608d,_0x4712e9,_0x5e3353,_0x414482,_0x33447e){const _0x20f5f8=_0x26f5c5;super(),g(this,'_revertErrorTimer',null),(this[_0x20f5f8(0xc2)]=_0x34d20f,this[_0x20f5f8(0x123)]=_0x57554e,this['_componentManager']=_0x9bb375,this[_0x20f5f8(0x12a)]=_0x31608d,this['_localeService']=_0x4712e9,this['_messageService']=_0x5e3353,this[_0x20f5f8(0xe5)]=_0x414482,this[_0x20f5f8(0xc7)]=_0x33447e,this[_0x20f5f8(0xf6)]());}[_0x26f5c5(0xf6)](){const _0x79c89a=_0x26f5c5;[b,W][_0x79c89a(0xbb)](_0xb1f593=>this[_0x79c89a(0x118)](_0x3c8bed(this[_0x79c89a(0xc2)]['registerCommand'](_0xb1f593)))),this[_0x79c89a(0x118)](this[_0x79c89a(0x120)]['register'](_0x79c89a(0x128),V)),this[_0x79c89a(0x123)][_0x79c89a(0xdf)](fi),this[_0x79c89a(0x118)](this[_0x79c89a(0xc2)]['onCommandExecuted'](_0x17aa6a=>{const _0x496ad8=_0x79c89a;if(_0x17aa6a['id']===_0xd1193f['id']){this['_messageService'][_0x496ad8(0x119)]({'content':this['_localeService']['t'](_0x496ad8(0xd3)),'type':_0x58132a[_0x496ad8(0xab)],'duration':0x1388});const {unitId:_0x5d19b5}=_0x17aa6a[_0x496ad8(0xef)],_0x3f10c6=this[_0x496ad8(0xe5)]['getCollabEntity'](_0x5d19b5),_0x1e6cda=_0x19dfa3([_0x3f10c6[_0x496ad8(0xa7)][_0x496ad8(0xec)],_0x3f10c6['state$']])[_0x496ad8(0xfc)](async([_0x14d97f,_0x4d3636])=>{const _0x9638a7=_0x496ad8;var _0x3e4667;_0x14d97f[_0x9638a7(0xe1)]===_0x28d345[_0x9638a7(0xba)]&&(_0x4d3636==null?void 0x0:_0x4d3636[_0x9638a7(0xbd)])===_0x188bde[_0x9638a7(0xa8)]&&_0x14d97f[_0x9638a7(0x124)]['mutations']['some'](_0x290a1f=>_0x290a1f['id']===_0xd1193f['id'])&&(this[_0x9638a7(0x12a)][_0x9638a7(0xd1)](),_0x1e6cda[_0x9638a7(0xb9)](),this[_0x9638a7(0x99)]&&clearTimeout(this['_revertErrorTimer']),await((_0x3e4667=this[_0x9638a7(0xc7)])==null?void 0x0:_0x3e4667[_0x9638a7(0xc5)]()),setTimeout(()=>window[_0x9638a7(0x117)]['reload']()));});this[_0x496ad8(0x99)]=setTimeout(()=>{const _0x9878c7=_0x496ad8;_0x1e6cda['unsubscribe'](),this[_0x9878c7(0xcf)][_0x9878c7(0x119)]({'content':this[_0x9878c7(0xb7)]['t']('editHistory.panel.revertFailed'),'type':_0x58132a[_0x9878c7(0xb5)],'duration':0xbb8});},0x1388);}}));}};p=pi([m(0x0,_0xeae62a),m(0x1,_0x18b5b2),m(0x2,_0xb38479(_0xc50fc4)),m(0x3,_0xb38479(f)),m(0x4,_0xb38479(_0x2e1af7)),m(0x5,_0x3ff56f),m(0x6,_0xb38479(_0x250a30)),m(0x7,_0x43cb3d)],p);var Si=Object[_0x26f5c5(0xf7)],Ci=(_0xaa6146,_0x7a9b0b,_0x276d50,_0x4ede15)=>{const _0x11fa6d=_0x26f5c5;for(var _0x2a77d3=_0x4ede15>0x1?void 0x0:_0x4ede15?Si(_0x7a9b0b,_0x276d50):_0x7a9b0b,_0x55c21d=_0xaa6146[_0x11fa6d(0x11c)]-0x1,_0x219d17;_0x55c21d>=0x0;_0x55c21d--)(_0x219d17=_0xaa6146[_0x55c21d])&&(_0x2a77d3=_0x219d17(_0x2a77d3)||_0x2a77d3);return _0x2a77d3;},R=(_0x57cca4,_0x4c01ab)=>(_0x532b40,_0x5b28bb)=>_0x4c01ab(_0x532b40,_0x5b28bb,_0x57cca4);const yi=_0x26f5c5(0xb2);var _;let H=(_=class extends _0x5857f0{constructor(_0x5ee2a7=N,_0x37f8ea,_0x18cab8){const _0x2837d4=_0x26f5c5;super(),this['_config']=_0x5ee2a7,this[_0x2837d4(0x94)]=_0x37f8ea,this[_0x2837d4(0xe0)]=_0x18cab8;const {menu:_0x551cfa,..._0x1c25c5}=_0x100c73({},N,this['_config']);_0x551cfa&&this[_0x2837d4(0xe0)][_0x2837d4(0xae)]('menu',_0x551cfa,{'merge':!0x0}),this[_0x2837d4(0xe0)][_0x2837d4(0xae)](U,_0x1c25c5),this[_0x2837d4(0xbf)][_0x2837d4(0xde)]&&this[_0x2837d4(0xe0)][_0x2837d4(0xae)](G,this[_0x2837d4(0xbf)]['univerContainerId']);}[_0x26f5c5(0x126)](){const _0x26ca06=_0x26f5c5;[[f],[p]]['forEach'](_0x63a84e=>this['_injector'][_0x26ca06(0xa9)](_0x63a84e));}['onSteady'](){const _0x107f71=_0x26f5c5;this['_injector'][_0x107f71(0xf9)](p);}},g(_,'type',_0x500737['UNIVER_UNKNOWN']),g(_,'pluginName',yi),_);H=Ci([R(0x1,_0xb38479(_0x198ee0)),R(0x2,_0x3c4f6c)],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 _0x26f5c5=_0x4153;(function(_0xeefe72,_0x3eb864){const _0xe0a80e=_0x4153,_0x513b57=_0xeefe72();while(!![]){try{const _0x5a5627=-parseInt(_0xe0a80e(0xe3))/0x1+parseInt(_0xe0a80e(0x108))/0x2+parseInt(_0xe0a80e(0xb3))/0x3+-parseInt(_0xe0a80e(0x92))/0x4+-parseInt(_0xe0a80e(0xa6))/0x5+-parseInt(_0xe0a80e(0x11f))/0x6*(-parseInt(_0xe0a80e(0xa0))/0x7)+parseInt(_0xe0a80e(0xcc))/0x8*(parseInt(_0xe0a80e(0xeb))/0x9);if(_0x5a5627===_0x3eb864)break;else _0x513b57['push'](_0x513b57['shift']());}catch(_0xa7e573){_0x513b57['push'](_0x513b57['shift']());}}}(_0x32cd,0xa6ff8));var Y=Object[_0x26f5c5(0xdc)],B=(_0x48f30a,_0xc601c9,_0x49d258)=>_0xc601c9 in _0x48f30a?Y(_0x48f30a,_0xc601c9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x49d258}):_0x48f30a[_0xc601c9]=_0x49d258,g=(_0x356be4,_0x1224d4,_0x45017a)=>B(_0x356be4,typeof _0x1224d4!=_0x26f5c5(0xf2)?_0x1224d4+'':_0x1224d4,_0x45017a);import{Inject as _0xb38479,LocaleService as _0x2e1af7,IUniverInstanceService as _0x1b154f,IConfigService as _0x3c4f6c,ICommandService as _0xeae62a,IPermissionService as _0x796d7,ThemeService as _0x38a186,Disposable as _0x17bff1,DisposableCollection as _0x76eaa7,Univer as _0x4059ab,IAuthzIoService as _0x35a2a6,CommandType as _0x583198,UniverInstanceType as _0x500737,RxDisposable as _0x371026,toDisposable as _0x3c8bed,Plugin as _0x5857f0,merge as _0x100c73,Injector as _0x198ee0}from'@univerjs/core';import{UniverCollaborationPlugin as _0x64c4c0,RevertRevisionMutation as _0xd1193f,CollaborationEvent as _0x28d345}from'@univerjs-pro/collaboration';import{AuthzIoHttpService as _0x531ebd,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x2a6248,CollaborationController as _0x250a30,ILocalCacheService as _0x43cb3d,CollaborationStatus as _0x188bde}from'@univerjs-pro/collaboration-client';import{MessageType as _0x58132a}from'@univerjs/design';import{useRef as _0xbdb9eb,createElement as _0x3228e2,forwardRef as _0x47085a}from'react';import{IMessageService as _0x3ff56f,IDialogService as _0x44bef5,ISidebarService as _0x49ae37,UniverUIPlugin as _0x408dd5,getMenuHiddenObservable as _0x4b4794,MenuItemType as _0x1200ff,RibbonStartGroup as _0x202139,IMenuManagerService as _0x18b5b2,ComponentManager as _0xc50fc4}from'@univerjs/ui';import{BehaviorSubject as _0x52b858,combineLatest as _0x19dfa3}from'rxjs';import{RangeProtectionRuleModel as _0xf75585,UniverSheetsPlugin as _0x272656,WorkbookEditablePermission as _0x45614f,WorksheetEditPermission as _0x23fd86,RangeProtectionPermissionEditPoint as _0x36dacb,WorkbookRecoverHistoryPermission as _0x3514f3,getSheetCommandTarget as _0x53e9a1,WorkbookViewHistoryPermission as _0x4c0659}from'@univerjs/sheets';import{UniverEditHistoryViewerPlugin as _0x1d25c0,HistoryManagerService as _0x16646d,HistoryModeStatus as _0x5180a7}from'@univerjs-pro/edit-history-viewer';import{LS_CONFIG_KEY as _0x4db0d1,UniverLicensePlugin as _0xd6f678}from'@univerjs-pro/license';import{UniverSheetsChartPlugin as _0x1ea352}from'@univerjs-pro/sheets-chart';import{UniverSheetsChartUIPlugin as _0x181e32}from'@univerjs-pro/sheets-chart-ui';import{UniverSheetsPivotTablePlugin as _0x436dc8}from'@univerjs-pro/sheets-pivot';import{UniverSheetSparklinePlugin as _0x5dda31}from'@univerjs-pro/sheets-sparkline';import{UniverSheetSparklineUIPlugin as _0x1469cd}from'@univerjs-pro/sheets-sparkline-ui';import{UniverDataValidationPlugin as _0x158e32}from'@univerjs/data-validation';import{UniverDocsPlugin as _0xe81348}from'@univerjs/docs';import{UniverDocsUIPlugin as _0x185513}from'@univerjs/docs-ui';import{UniverDrawingPlugin as _0x17d3b4,IImageIoService as _0x2c823b}from'@univerjs/drawing';import{UniverDrawingUIPlugin as _0x352f14}from'@univerjs/drawing-ui';import{UniverFormulaEnginePlugin as _0x5d4683}from'@univerjs/engine-formula';import{UniverRenderEnginePlugin as _0x3a9b1a}from'@univerjs/engine-render';import{UniverNetworkPlugin as _0x3b2836}from'@univerjs/network';import{UniverRPCMainThreadPlugin as _0x4fad4a,PLUGIN_CONFIG_KEY_MAIN_THREAD as _0x1da40e}from'@univerjs/rpc';import{UniverSheetsConditionalFormattingPlugin as _0x879b86}from'@univerjs/sheets-conditional-formatting';import{UniverSheetsConditionalFormattingUIPlugin as _0x378399}from'@univerjs/sheets-conditional-formatting-ui';import{UniverSheetsDataValidationPlugin as _0x4400f4}from'@univerjs/sheets-data-validation';function _0x32cd(){const _0x4646cb=['dataset','_localCacheService','height','getAllPlugins','url(#history-icon_clip0_907_281)','assign','104mYSZdO','getLocales','getSheetId','_messageService','uComp','unMountHistoryContent','triggerLoadVersions','editHistory.panel.reverting','path','_historyUniver$','_initPlugins','entries','defIds','UNIVER_SHEET','position','every','defineProperty','M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z','univerContainerId','mergeMenu','_configService','eventID','setTheme','97082nkYLlU','_initUniver','_collaborationController','string','top','OPERATION','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','permissionId','235089tRkfvx','event$','currentColor','next','params','asObservable','getSheets','symbol','left','historyPanelComponentKey','closeAll','_init','getOwnPropertyDescriptor','dispose','get','darkMode$','[HistoryLoaderService]:\x20Plugin\x20','subscribe','url(#$1','status$','mask','historyListServerUrl','./worker.js','_permissionService','idSuffix','BUTTON','display','edit-history-loader.config','defs','629682BMdWqX','fill','_sidebarService','displayName','createElement','getSubunitRuleList','pluginName','historyUniver','UNIVER_CONTAINER_ID','xlink:href','_initListener','attrs','use','toString','value','location','disposeWithMe','show','_selectionProtectionRuleModel','tag','length','clear','replace','14664pTXbll','_componentManager','0\x200\x2016\x2016','history-icon_clip0_907_281','_menuManagerService','data','colorChannel1','onStarting','1em','HistoryIcon','style','_historyManagerService','set','univer.operation.toggle-edit-history','_disposableCollection','_initContainer','__getInjector','100%','5283888LZmzTD','map','_injector','current','invoke','OTHERS','from','_revertErrorTimer','children','getElementById','values','setLocale','composePermission','has','3703LZYrNp','executeCommand','_univerInstanceService','http://www.w3.org/2000/svg','getCurrentLocale','_checkCanRevert','6008095msKyUo','session','SYNCED','add','zIndex','Loading','workerURL','getConfig','setConfig','mountHistoryContent','Exited','clipPath','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','4069221hXRTGD','1000','Error','random','_localeService','_pluginMap','unsubscribe','CHANGESET_ACK','forEach','registerPlugin','status','univer-history-container','_config','flat','includes','_commandService','_dialogService','history-icon','exhaustSavingTask'];_0x32cd=function(){return _0x4646cb;};return _0x32cd();}import{UniverSheetsDataValidationUIPlugin as _0x1359f1}from'@univerjs/sheets-data-validation-ui';import{UniverSheetsDrawingPlugin as _0xe9bfae}from'@univerjs/sheets-drawing';import{UniverSheetsDrawingUIPlugin as _0x314a73}from'@univerjs/sheets-drawing-ui';import{UniverSheetsFilterPlugin as _0x2ab64d}from'@univerjs/sheets-filter';import{UniverSheetsFilterUIPlugin as _0x1ff082}from'@univerjs/sheets-filter-ui';import{UniverSheetsFormulaPlugin as _0x111cff}from'@univerjs/sheets-formula';import{UniverSheetsFormulaUIPlugin as _0x16cbaa}from'@univerjs/sheets-formula-ui';import{UniverSheetsHyperLinkPlugin as _0x217fd7}from'@univerjs/sheets-hyper-link';import{UniverSheetsHyperLinkUIPlugin as _0x391f2e}from'@univerjs/sheets-hyper-link-ui';import{UniverSheetsNumfmtPlugin as _0x144214}from'@univerjs/sheets-numfmt';import{UniverSheetsUIPlugin as _0x49b19d,getCurrentRangeDisable$ as _0xf8252b}from'@univerjs/sheets-ui';const U=_0x26f5c5(0x106),N={};function F({ref:_0x4169c1,..._0x27ea3d}){const _0xa0f420=_0x26f5c5,{icon:_0x2fcd7e,id:_0x46580d,className:_0x2ade1d,extend:_0x4a70ed,..._0x401621}=_0x27ea3d,_0x58d3d1=('univerjs-icon\x20univerjs-icon-'+_0x46580d+'\x20'+(_0x2ade1d||''))['trim'](),_0x8ef55d=_0xbdb9eb('_'+hi());return j(_0x2fcd7e,''+_0x46580d,{'defIds':_0x2fcd7e[_0xa0f420(0xd8)],'idSuffix':_0x8ef55d[_0xa0f420(0x95)]},{'ref':_0x4169c1,'className':_0x58d3d1,..._0x401621},_0x4a70ed);}function j(_0x494aba,_0xbdb415,_0x5a4c6e,_0x2592e9,_0x5540d7){const _0x84881d=_0x26f5c5;return _0x3228e2(_0x494aba[_0x84881d(0x11b)],{'key':_0xbdb415,...ci(_0x494aba,_0x5a4c6e,_0x5540d7),..._0x2592e9},(li(_0x494aba,_0x5a4c6e)[_0x84881d(0x9a)]||[])['map']((_0xb96357,_0x188a68)=>j(_0xb96357,_0xbdb415+'-'+_0x494aba['tag']+'-'+_0x188a68,_0x5a4c6e,void 0x0,_0x5540d7)));}function ci(_0x1498cb,_0x29103d,_0x1e393f){const _0x28f891=_0x26f5c5,_0x5e722d={..._0x1498cb['attrs']};_0x1e393f!=null&&_0x1e393f[_0x28f891(0x125)]&&_0x5e722d[_0x28f891(0x109)]==='colorChannel1'&&(_0x5e722d[_0x28f891(0x109)]=_0x1e393f[_0x28f891(0x125)]),_0x1498cb[_0x28f891(0x11b)]===_0x28f891(0xff)&&_0x5e722d['id']&&(_0x5e722d['id']=_0x5e722d['id']+_0x29103d[_0x28f891(0x103)]),Object[_0x28f891(0xd7)](_0x5e722d)['forEach'](([_0x355f86,_0x3d1489])=>{const _0x5a776f=_0x28f891;_0x355f86===_0x5a776f(0xff)&&typeof _0x3d1489==_0x5a776f(0xe6)&&(_0x5e722d[_0x355f86]=_0x3d1489[_0x5a776f(0x11e)](/url\(#(.*)\)/,'url(#$1'+_0x29103d['idSuffix']+')'));});const {defIds:_0x1ebdfd}=_0x29103d;return!_0x1ebdfd||_0x1ebdfd[_0x28f891(0x11c)]===0x0||(_0x1498cb[_0x28f891(0x11b)]===_0x28f891(0x114)&&_0x5e722d[_0x28f891(0x111)]&&(_0x5e722d[_0x28f891(0x111)]=_0x5e722d[_0x28f891(0x111)]+_0x29103d[_0x28f891(0x103)]),Object['entries'](_0x5e722d)[_0x28f891(0xbb)](([_0x17d5e6,_0x4539c9])=>{const _0x1653de=_0x28f891;typeof _0x4539c9==_0x1653de(0xe6)&&(_0x5e722d[_0x17d5e6]=_0x4539c9['replace'](/url\(#(.*)\)/,_0x1653de(0xfd)+_0x29103d[_0x1653de(0x103)]+')'));})),_0x5e722d;}function li(_0x4d0d8b,_0x572339){const _0x544162=_0x26f5c5;var _0x3a17e4;const {defIds:_0x4da600}=_0x572339;return!_0x4da600||_0x4da600[_0x544162(0x11c)]===0x0?_0x4d0d8b:_0x4d0d8b[_0x544162(0x11b)]===_0x544162(0x107)&&((_0x3a17e4=_0x4d0d8b[_0x544162(0x9a)])!=null&&_0x3a17e4[_0x544162(0x11c)])?{..._0x4d0d8b,'children':_0x4d0d8b[_0x544162(0x9a)]['map'](_0x4bfcc2=>typeof _0x4bfcc2[_0x544162(0x113)]['id']==_0x544162(0xe6)&&_0x4da600&&_0x4da600[_0x544162(0xc1)](_0x4bfcc2[_0x544162(0x113)]['id'])?{..._0x4bfcc2,'attrs':{..._0x4bfcc2[_0x544162(0x113)],'id':_0x4bfcc2['attrs']['id']+_0x572339[_0x544162(0x103)]}}:_0x4bfcc2)}:_0x4d0d8b;}function hi(){const _0x1029af=_0x26f5c5;return Math[_0x1029af(0xb6)]()[_0x1029af(0x115)](0x24)['substring'](0x2,0x8);}F['displayName']='UniverIcon';const ui={'tag':'svg','attrs':{'xmlns':_0x26f5c5(0xa3),'fill':'none','viewBox':_0x26f5c5(0x121),'width':_0x26f5c5(0x127),'height':_0x26f5c5(0x127)},'children':[{'tag':'g','attrs':{'fill':_0x26f5c5(0xed),'clipPath':_0x26f5c5(0xca)},'children':[{'tag':'path','attrs':{'d':_0x26f5c5(0xdd)}},{'tag':_0x26f5c5(0xd4),'attrs':{'d':_0x26f5c5(0xe9)}}]},{'tag':_0x26f5c5(0x107),'attrs':{},'children':[{'tag':_0x26f5c5(0xb1),'attrs':{'id':'history-icon_clip0_907_281'},'children':[{'tag':_0x26f5c5(0xd4),'attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x26f5c5(0x122)]},V=_0x47085a(function(_0x1a99f2,_0xaf4a80){const _0x3aa733=_0x26f5c5;return _0x3228e2(F,Object[_0x3aa733(0xcb)]({},_0x1a99f2,{'id':_0x3aa733(0xc4),'ref':_0xaf4a80,'icon':ui}));});function _0x4153(_0x1d7703,_0x505a01){_0x1d7703=_0x1d7703-0x8e;const _0x32cd8a=_0x32cd();let _0x415358=_0x32cd8a[_0x1d7703];return _0x415358;}V[_0x26f5c5(0x10b)]='HistoryIcon';var gi=Object[_0x26f5c5(0xf7)],mi=(_0x251530,_0x2b56fe,_0x2a3434,_0x44fa89)=>{const _0x2d973d=_0x26f5c5;for(var _0x3326e2=_0x44fa89>0x1?void 0x0:_0x44fa89?gi(_0x2b56fe,_0x2a3434):_0x2b56fe,_0xadec4e=_0x251530[_0x2d973d(0x11c)]-0x1,_0x373949;_0xadec4e>=0x0;_0xadec4e--)(_0x373949=_0x251530[_0xadec4e])&&(_0x3326e2=_0x373949(_0x3326e2)||_0x3326e2);return _0x3326e2;},l=(_0x5d72e4,_0x72e5d3)=>(_0x519d73,_0x5e029e)=>_0x72e5d3(_0x519d73,_0x5e029e,_0x5d72e4);const vi='univer-container',G=_0x26f5c5(0x110),d=_0x26f5c5(0xbe);let f=class extends _0x17bff1{constructor(_0x3772df,_0x2e4e68,_0x226700,_0xaf9ff4,_0x27c158,_0x2328df,_0x5d253e,_0x838264,_0x188984,_0x1e9ed1){const _0x9d389c=_0x26f5c5;super(),g(this,_0x9d389c(0xd5),new _0x52b858(null)),g(this,'historyUniver$',this[_0x9d389c(0xd5)][_0x9d389c(0xf0)]()),g(this,_0x9d389c(0x8e),new _0x76eaa7()),g(this,_0x9d389c(0xb8),new Map()),(this[_0x9d389c(0xb7)]=_0x3772df,this[_0x9d389c(0xa2)]=_0x2e4e68,this['_configService']=_0x226700,this['_commandService']=_0xaf9ff4,this[_0x9d389c(0xcf)]=_0x27c158,this[_0x9d389c(0x102)]=_0x2328df,this['_selectionProtectionRuleModel']=_0x5d253e,this[_0x9d389c(0xc3)]=_0x838264,this[_0x9d389c(0x10a)]=_0x188984,this['_themeService']=_0x1e9ed1,this[_0x9d389c(0xf6)]());}get[_0x26f5c5(0x10f)](){const _0x4a38ae=_0x26f5c5;return this[_0x4a38ae(0xd5)]['value'];}[_0x26f5c5(0xf6)](){const _0x32f72d=_0x26f5c5;this[_0x32f72d(0x8f)](),this[_0x32f72d(0xd6)]();}['_initContainer'](){const _0x30d34e=_0x26f5c5;var _0x956bf4;const _0x284a13=(_0x956bf4=this[_0x30d34e(0xe0)][_0x30d34e(0xad)](G))!=null?_0x956bf4:vi,_0x4e6b23=document[_0x30d34e(0x9b)](_0x284a13);if(!_0x4e6b23)return;const _0x1a86e8=document[_0x30d34e(0x10c)]('div');_0x1a86e8['id']=d,_0x1a86e8[_0x30d34e(0xc6)][_0x30d34e(0xd0)]='history-container',_0x1a86e8[_0x30d34e(0x129)][_0x30d34e(0xda)]='absolute',_0x1a86e8[_0x30d34e(0x129)][_0x30d34e(0xe7)]='0',_0x1a86e8[_0x30d34e(0x129)][_0x30d34e(0xf3)]='0',_0x1a86e8[_0x30d34e(0x129)]['width']='100%',_0x1a86e8[_0x30d34e(0x129)][_0x30d34e(0xc8)]=_0x30d34e(0x91),_0x1a86e8[_0x30d34e(0x129)][_0x30d34e(0xaa)]=_0x30d34e(0xb4),_0x1a86e8['style'][_0x30d34e(0x105)]='none',_0x4e6b23['appendChild'](_0x1a86e8);}[_0x26f5c5(0xd6)](){const _0x12d9ac=_0x26f5c5;var _0x30a70a,_0x20d612,_0x59b699,_0x3e06ad;[[_0x3a9b1a],[_0x408dd5,{'container':d,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x44bef5,null]]}],[_0x3b2836],[_0x17d3b4,{'override':[[_0x2c823b,null]]}],[_0xe81348,{'hasScroll':!0x1}],[_0x185513],[_0x144214],[_0x272656,{'notExecuteFormula':!0x0}],[_0x49b19d],[_0x111cff],[_0x16cbaa],[_0x64c4c0],[_0x2ab64d],[_0x1ff082],[_0x879b86],[_0x378399],[_0x217fd7],[_0x391f2e],[_0x158e32],[_0x4400f4],[_0x1359f1],[_0x5d4683,{'notExecuteFormula':!0x0}],[_0x4fad4a,{'workerURL':(_0x20d612=(_0x30a70a=this[_0x12d9ac(0xe0)][_0x12d9ac(0xad)](_0x1da40e))==null?void 0x0:_0x30a70a[_0x12d9ac(0xac)])!=null?_0x20d612:_0x12d9ac(0x101)}],[_0x352f14],[_0xe9bfae],[_0x314a73],[_0x5dda31],[_0x1469cd],[_0x1ea352],[_0x181e32],[_0x436dc8,{'notExecuteFormula':!0x0}],[_0x1d25c0,{'historyListServerUrl':(_0x59b699=this['_configService'][_0x12d9ac(0xad)](U))==null?void 0x0:_0x59b699[_0x12d9ac(0x100)],'historyPanelComponentKey':(_0x3e06ad=this[_0x12d9ac(0xe0)]['getConfig'](U))==null?void 0x0:_0x3e06ad[_0x12d9ac(0xf4)]}]][_0x12d9ac(0xbb)](([_0x351809,_0x4de709])=>this['registerPlugin'](_0x351809,_0x4de709));}['dispose'](){const _0x16ce5b=_0x26f5c5;super[_0x16ce5b(0xf8)](),this[_0x16ce5b(0xd1)](),this['_pluginMap'][_0x16ce5b(0x11d)]();}[_0x26f5c5(0xbc)](_0x224a2d,_0x346415,_0x197bfe){const _0x558472=_0x26f5c5;if(this[_0x558472(0xb8)][_0x558472(0x9f)](_0x224a2d[_0x558472(0x10e)])&&!_0x197bfe)throw new Error(_0x558472(0xfb)+_0x224a2d['pluginName']+'\x20has\x20been\x20registered.');this[_0x558472(0xb8)][_0x558472(0x12b)](_0x224a2d['pluginName'],[_0x224a2d,_0x346415]);}[_0x26f5c5(0xc9)](){const _0x382cc9=_0x26f5c5;return Array[_0x382cc9(0x98)](this['_pluginMap'][_0x382cc9(0x9c)]());}['mountHistoryContent'](_0x37563b){const _0x2afb75=_0x26f5c5,_0x14e308=document[_0x2afb75(0x9b)](d);_0x14e308&&(_0x14e308[_0x2afb75(0x129)][_0x2afb75(0x105)]='block',this[_0x2afb75(0xe4)](_0x37563b,d));}[_0x26f5c5(0xd1)](){const _0x51ce26=_0x26f5c5;var _0x73c70a;this['_disposableCollection'][_0x51ce26(0xf8)](),(_0x73c70a=this[_0x51ce26(0x10f)])==null||_0x73c70a['dispose'](),this[_0x51ce26(0xd5)][_0x51ce26(0xee)](null);const _0x22a163=document[_0x51ce26(0x9b)](d);_0x22a163&&(_0x22a163[_0x51ce26(0x129)]['display']='none');}[_0x26f5c5(0xe4)](_0xf42072,_0x23b018){const _0x390de3=_0x26f5c5;if(this[_0x390de3(0x10f)])return;const _0x8dccfb=new _0x4059ab({'locales':{[this[_0x390de3(0xb7)][_0x390de3(0xa4)]()]:this[_0x390de3(0xb7)][_0x390de3(0xcd)]()},'override':[[_0x35a2a6,{'useClass':_0x531ebd}]]}),_0x4eb73f=_0x8dccfb[_0x390de3(0x90)]();this[_0x390de3(0x118)](this['_themeService'][_0x390de3(0xfa)]['subscribe'](_0x54e4e2=>{const _0x360fda=_0x390de3;_0x4eb73f[_0x360fda(0xf9)](_0x38a186)['setDarkMode'](_0x54e4e2);})),this[_0x390de3(0x118)](this['_themeService']['currentTheme$'][_0x390de3(0xfc)](_0xfecce2=>{const _0x14c625=_0x390de3;_0x4eb73f[_0x14c625(0xf9)](_0x38a186)[_0x14c625(0xe2)](_0xfecce2);})),_0x4eb73f['get'](_0x2e1af7)[_0x390de3(0x9d)](this['_localeService'][_0x390de3(0xa4)]()),_0x4eb73f[_0x390de3(0xf9)](_0x3c4f6c)['setConfig'](_0x2a6248,this[_0x390de3(0xe0)]['getConfig'](_0x2a6248));const _0x47d7f7=this[_0x390de3(0xe0)][_0x390de3(0xad)](_0x4db0d1);_0x47d7f7&&_0x8dccfb[_0x390de3(0xbc)](_0xd6f678,{'license':_0x47d7f7['ls']}),this['_pluginMap'][_0x390de3(0xbb)](([_0x54bb4e,_0x5b4735])=>{const _0x59a838=_0x390de3;_0x8dccfb[_0x59a838(0xbc)](_0x54bb4e,_0x5b4735);}),_0x4eb73f[_0x390de3(0x96)](_0x5a2fa5=>{const _0x2c70b9=_0x390de3;this[_0x2c70b9(0x112)](_0x5a2fa5,_0xf42072);}),this[_0x390de3(0xd5)][_0x390de3(0xee)](_0x8dccfb);const _0x158b82=_0x4eb73f['get'](_0x16646d),_0x5ddadc=this[_0x390de3(0xa5)](_0xf42072);_0x158b82[_0x390de3(0xd2)](_0xf42072,_0x23b018,_0x5ddadc);}[_0x26f5c5(0x112)](_0x2f6a58,_0x139e8e){const _0xec08ef=_0x26f5c5,_0x131e94=_0x2f6a58[_0xec08ef(0xf9)](_0x16646d);this[_0xec08ef(0x8e)][_0xec08ef(0xa9)](_0x131e94[_0xec08ef(0xfe)][_0xec08ef(0xfc)](_0x2afca1=>{const _0x4a9355=_0xec08ef;switch(_0x2afca1){case _0x5180a7['Entered']:this['_dialogService'][_0x4a9355(0xf5)](),this[_0x4a9355(0x10a)]['close']();break;case _0x5180a7[_0x4a9355(0xb0)]:this[_0x4a9355(0xc2)]['executeCommand'](W['id']),this[_0x4a9355(0xd1)]();break;case _0x5180a7[_0x4a9355(0xb5)]:this[_0x4a9355(0xd1)](),this[_0x4a9355(0xcf)]['show']({'content':this[_0x4a9355(0xb7)]['t']('editHistory.panel.listFetchError'),'type':_0x58132a[_0x4a9355(0xb5)],'duration':0xbb8});break;}})),this['_disposableCollection'][_0xec08ef(0xa9)](_0x131e94['revertRevision$'][_0xec08ef(0xfc)](async _0x2669a1=>{const _0x3b3de1=_0xec08ef;_0x2669a1&&this['_commandService'][_0x3b3de1(0xa1)](_0xd1193f['id'],{'unitId':_0x139e8e,'revision':_0x2669a1});}));}['_checkCanRevert'](_0x43ea9e){const _0x12bdc7=_0x26f5c5,_0x342f5f=this[_0x12bdc7(0xa2)]['getUnit'](_0x43ea9e)[_0x12bdc7(0xf1)]()[_0x12bdc7(0x93)](_0x54a314=>_0x54a314[_0x12bdc7(0xce)]()),_0x55b450=new _0x45614f(_0x43ea9e)['id'],_0x501e15=_0x342f5f[_0x12bdc7(0x93)](_0xfa8ef5=>new _0x23fd86(_0x43ea9e,_0xfa8ef5)['id']),_0x340e99=_0x342f5f[_0x12bdc7(0x93)](_0x3bc0e5=>this[_0x12bdc7(0x11a)][_0x12bdc7(0x10d)](_0x43ea9e,_0x3bc0e5)[_0x12bdc7(0x93)](_0x3f6f3e=>new _0x36dacb(_0x43ea9e,_0x3bc0e5,_0x3f6f3e[_0x12bdc7(0xea)])['id']))[_0x12bdc7(0xc0)](),_0x838ac=new _0x3514f3(_0x43ea9e)['id'];return this[_0x12bdc7(0x102)][_0x12bdc7(0x9e)]([_0x55b450,..._0x501e15,..._0x340e99,_0x838ac])[_0x12bdc7(0xdb)](_0x222ff4=>!!_0x222ff4[_0x12bdc7(0x116)]);}};f=mi([l(0x0,_0xb38479(_0x2e1af7)),l(0x1,_0x1b154f),l(0x2,_0x3c4f6c),l(0x3,_0xeae62a),l(0x4,_0x3ff56f),l(0x5,_0x796d7),l(0x6,_0xb38479(_0xf75585)),l(0x7,_0xb38479(_0x44bef5)),l(0x8,_0xb38479(_0x49ae37)),l(0x9,_0xb38479(_0x38a186))],f);const b={'id':_0x26f5c5(0x12c),'type':_0x583198[_0x26f5c5(0xe8)],'handler':_0x3c70c9=>{const _0x2f0532=_0x26f5c5,_0x4d800a=_0x3c70c9[_0x2f0532(0xf9)](f),_0x476f33=_0x3c70c9[_0x2f0532(0xf9)](_0x1b154f),{unitId:_0x426e55}=_0x53e9a1(_0x476f33)||{};return _0x426e55?(_0x4d800a[_0x2f0532(0xaf)](_0x426e55),!0x0):!0x1;}},W={'id':'univer.operation.exit-edit-history','type':_0x583198[_0x26f5c5(0xe8)],'handler':()=>!0x0};function di(_0x1f19f7){const _0x72619b=_0x26f5c5;return{'id':b['id'],'type':_0x1200ff[_0x72619b(0x104)],'icon':_0x72619b(0x128),'tooltip':'editHistory.panel.title','hidden$':_0x4b4794(_0x1f19f7,_0x500737[_0x72619b(0xd9)]),'disabled$':_0xf8252b(_0x1f19f7,{'workbookTypes':[_0x45614f,_0x4c0659],'worksheetTypes':[],'rangeTypes':[]})};}const fi={[_0x202139[_0x26f5c5(0x97)]]:{[b['id']]:{'order':0.2,'menuItemFactory':di}}};var _i=Object['getOwnPropertyDescriptor'],pi=(_0x18cc9e,_0x1ed577,_0xf9d7c7,_0x2e8117)=>{const _0x3d661b=_0x26f5c5;for(var _0x21ee5d=_0x2e8117>0x1?void 0x0:_0x2e8117?_i(_0x1ed577,_0xf9d7c7):_0x1ed577,_0x3bbb4c=_0x18cc9e[_0x3d661b(0x11c)]-0x1,_0x4cc30a;_0x3bbb4c>=0x0;_0x3bbb4c--)(_0x4cc30a=_0x18cc9e[_0x3bbb4c])&&(_0x21ee5d=_0x4cc30a(_0x21ee5d)||_0x21ee5d);return _0x21ee5d;},m=(_0x247168,_0x49ff4e)=>(_0x1924c1,_0x2f0bd8)=>_0x49ff4e(_0x1924c1,_0x2f0bd8,_0x247168);let p=class extends _0x371026{constructor(_0x34d20f,_0x57554e,_0x9bb375,_0x31608d,_0x4712e9,_0x5e3353,_0x414482,_0x33447e){const _0x20f5f8=_0x26f5c5;super(),g(this,'_revertErrorTimer',null),(this[_0x20f5f8(0xc2)]=_0x34d20f,this[_0x20f5f8(0x123)]=_0x57554e,this['_componentManager']=_0x9bb375,this[_0x20f5f8(0x12a)]=_0x31608d,this['_localeService']=_0x4712e9,this['_messageService']=_0x5e3353,this[_0x20f5f8(0xe5)]=_0x414482,this[_0x20f5f8(0xc7)]=_0x33447e,this[_0x20f5f8(0xf6)]());}[_0x26f5c5(0xf6)](){const _0x79c89a=_0x26f5c5;[b,W][_0x79c89a(0xbb)](_0xb1f593=>this[_0x79c89a(0x118)](_0x3c8bed(this[_0x79c89a(0xc2)]['registerCommand'](_0xb1f593)))),this[_0x79c89a(0x118)](this[_0x79c89a(0x120)]['register'](_0x79c89a(0x128),V)),this[_0x79c89a(0x123)][_0x79c89a(0xdf)](fi),this[_0x79c89a(0x118)](this[_0x79c89a(0xc2)]['onCommandExecuted'](_0x17aa6a=>{const _0x496ad8=_0x79c89a;if(_0x17aa6a['id']===_0xd1193f['id']){this['_messageService'][_0x496ad8(0x119)]({'content':this['_localeService']['t'](_0x496ad8(0xd3)),'type':_0x58132a[_0x496ad8(0xab)],'duration':0x1388});const {unitId:_0x5d19b5}=_0x17aa6a[_0x496ad8(0xef)],_0x3f10c6=this[_0x496ad8(0xe5)]['getCollabEntity'](_0x5d19b5),_0x1e6cda=_0x19dfa3([_0x3f10c6[_0x496ad8(0xa7)][_0x496ad8(0xec)],_0x3f10c6['state$']])[_0x496ad8(0xfc)](async([_0x14d97f,_0x4d3636])=>{const _0x9638a7=_0x496ad8;var _0x3e4667;_0x14d97f[_0x9638a7(0xe1)]===_0x28d345[_0x9638a7(0xba)]&&(_0x4d3636==null?void 0x0:_0x4d3636[_0x9638a7(0xbd)])===_0x188bde[_0x9638a7(0xa8)]&&_0x14d97f[_0x9638a7(0x124)]['mutations']['some'](_0x290a1f=>_0x290a1f['id']===_0xd1193f['id'])&&(this[_0x9638a7(0x12a)][_0x9638a7(0xd1)](),_0x1e6cda[_0x9638a7(0xb9)](),this[_0x9638a7(0x99)]&&clearTimeout(this['_revertErrorTimer']),await((_0x3e4667=this[_0x9638a7(0xc7)])==null?void 0x0:_0x3e4667[_0x9638a7(0xc5)]()),setTimeout(()=>window[_0x9638a7(0x117)]['reload']()));});this[_0x496ad8(0x99)]=setTimeout(()=>{const _0x9878c7=_0x496ad8;_0x1e6cda['unsubscribe'](),this[_0x9878c7(0xcf)][_0x9878c7(0x119)]({'content':this[_0x9878c7(0xb7)]['t']('editHistory.panel.revertFailed'),'type':_0x58132a[_0x9878c7(0xb5)],'duration':0xbb8});},0x1388);}}));}};p=pi([m(0x0,_0xeae62a),m(0x1,_0x18b5b2),m(0x2,_0xb38479(_0xc50fc4)),m(0x3,_0xb38479(f)),m(0x4,_0xb38479(_0x2e1af7)),m(0x5,_0x3ff56f),m(0x6,_0xb38479(_0x250a30)),m(0x7,_0x43cb3d)],p);var Si=Object[_0x26f5c5(0xf7)],Ci=(_0xaa6146,_0x7a9b0b,_0x276d50,_0x4ede15)=>{const _0x11fa6d=_0x26f5c5;for(var _0x2a77d3=_0x4ede15>0x1?void 0x0:_0x4ede15?Si(_0x7a9b0b,_0x276d50):_0x7a9b0b,_0x55c21d=_0xaa6146[_0x11fa6d(0x11c)]-0x1,_0x219d17;_0x55c21d>=0x0;_0x55c21d--)(_0x219d17=_0xaa6146[_0x55c21d])&&(_0x2a77d3=_0x219d17(_0x2a77d3)||_0x2a77d3);return _0x2a77d3;},R=(_0x57cca4,_0x4c01ab)=>(_0x532b40,_0x5b28bb)=>_0x4c01ab(_0x532b40,_0x5b28bb,_0x57cca4);const yi=_0x26f5c5(0xb2);var _;let H=(_=class extends _0x5857f0{constructor(_0x5ee2a7=N,_0x37f8ea,_0x18cab8){const _0x2837d4=_0x26f5c5;super(),this['_config']=_0x5ee2a7,this[_0x2837d4(0x94)]=_0x37f8ea,this[_0x2837d4(0xe0)]=_0x18cab8;const {menu:_0x551cfa,..._0x1c25c5}=_0x100c73({},N,this['_config']);_0x551cfa&&this[_0x2837d4(0xe0)][_0x2837d4(0xae)]('menu',_0x551cfa,{'merge':!0x0}),this[_0x2837d4(0xe0)][_0x2837d4(0xae)](U,_0x1c25c5),this[_0x2837d4(0xbf)][_0x2837d4(0xde)]&&this[_0x2837d4(0xe0)][_0x2837d4(0xae)](G,this[_0x2837d4(0xbf)]['univerContainerId']);}[_0x26f5c5(0x126)](){const _0x26ca06=_0x26f5c5;[[f],[p]]['forEach'](_0x63a84e=>this['_injector'][_0x26ca06(0xa9)](_0x63a84e));}['onSteady'](){const _0x107f71=_0x26f5c5;this['_injector'][_0x107f71(0xf9)](p);}},g(_,'type',_0x500737['UNIVER_UNKNOWN']),g(_,'pluginName',yi),_);H=Ci([R(0x1,_0xb38479(_0x198ee0)),R(0x2,_0x3c4f6c)],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(_0x26d90a,_0x4cd067){const _0x5a6478=_0x219b,_0x3cbc01=_0x26d90a();while(!![]){try{const _0x256325=parseInt(_0x5a6478(0x7a))/0x1*(parseInt(_0x5a6478(0x16f))/0x2)+-parseInt(_0x5a6478(0x7d))/0x3*(-parseInt(_0x5a6478(0x75))/0x4)+-parseInt(_0x5a6478(0x68))/0x5+parseInt(_0x5a6478(0x195))/0x6*(parseInt(_0x5a6478(0x12a))/0x7)+parseInt(_0x5a6478(0x86))/0x8+parseInt(_0x5a6478(0x16e))/0x9*(-parseInt(_0x5a6478(0x162))/0xa)+parseInt(_0x5a6478(0xc0))/0xb*(-parseInt(_0x5a6478(0x187))/0xc);if(_0x256325===_0x4cd067)break;else _0x3cbc01['push'](_0x3cbc01['shift']());}catch(_0x20b3c4){_0x3cbc01['push'](_0x3cbc01['shift']());}}}(_0x81f5,0x63699),function(_0x3d3c18,_0x45cfe7){const _0x79fb45=_0x219b;typeof exports=='object'&&typeof module<'u'?_0x45cfe7(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[_0x79fb45(0x172)]?define(['exports','@univerjs/core',_0x79fb45(0x184),_0x79fb45(0x176),'@univerjs/design',_0x79fb45(0x161),'@univerjs/ui',_0x79fb45(0xbe),_0x79fb45(0xeb),_0x79fb45(0xf6),_0x79fb45(0x168),_0x79fb45(0x9a),_0x79fb45(0x11a),_0x79fb45(0x14e),_0x79fb45(0x84),_0x79fb45(0xaa),_0x79fb45(0x165),_0x79fb45(0x153),'@univerjs/docs-ui','@univerjs/drawing','@univerjs/drawing-ui',_0x79fb45(0x6e),'@univerjs/engine-render',_0x79fb45(0xb2),_0x79fb45(0x118),_0x79fb45(0x14a),_0x79fb45(0x183),'@univerjs/sheets-data-validation',_0x79fb45(0xff),_0x79fb45(0x96),_0x79fb45(0x9f),_0x79fb45(0x8f),_0x79fb45(0x148),'@univerjs/sheets-formula',_0x79fb45(0xae),_0x79fb45(0xa6),_0x79fb45(0x135),_0x79fb45(0x171),_0x79fb45(0x166)],_0x45cfe7):(_0x3d3c18=typeof globalThis<'u'?globalThis:_0x3d3c18||self,_0x45cfe7(_0x3d3c18[_0x79fb45(0x80)]={},_0x3d3c18[_0x79fb45(0xf1)],_0x3d3c18['UniverProCollaboration'],_0x3d3c18[_0x79fb45(0x19a)],_0x3d3c18[_0x79fb45(0x113)],_0x3d3c18[_0x79fb45(0x150)],_0x3d3c18[_0x79fb45(0xad)],_0x3d3c18[_0x79fb45(0xbe)],_0x3d3c18[_0x79fb45(0x105)],_0x3d3c18['UniverProEditHistoryViewer'],_0x3d3c18[_0x79fb45(0x81)],_0x3d3c18[_0x79fb45(0x169)],_0x3d3c18[_0x79fb45(0xfb)],_0x3d3c18[_0x79fb45(0x12e)],_0x3d3c18[_0x79fb45(0xd7)],_0x3d3c18[_0x79fb45(0xec)],_0x3d3c18['UniverDataValidation'],_0x3d3c18[_0x79fb45(0x11f)],_0x3d3c18['UniverDocsUi'],_0x3d3c18[_0x79fb45(0x10a)],_0x3d3c18[_0x79fb45(0x190)],_0x3d3c18[_0x79fb45(0x13d)],_0x3d3c18[_0x79fb45(0x180)],_0x3d3c18[_0x79fb45(0xcd)],_0x3d3c18[_0x79fb45(0x79)],_0x3d3c18[_0x79fb45(0x109)],_0x3d3c18[_0x79fb45(0x19c)],_0x3d3c18[_0x79fb45(0xd6)],_0x3d3c18[_0x79fb45(0x102)],_0x3d3c18['UniverSheetsDrawing'],_0x3d3c18[_0x79fb45(0x197)],_0x3d3c18[_0x79fb45(0x9c)],_0x3d3c18[_0x79fb45(0x16a)],_0x3d3c18['UniverSheetsFormula'],_0x3d3c18[_0x79fb45(0x104)],_0x3d3c18[_0x79fb45(0xb9)],_0x3d3c18[_0x79fb45(0x182)],_0x3d3c18[_0x79fb45(0x173)],_0x3d3c18[_0x79fb45(0x8c)]));}(this,function(_0x58f8e7,_0x1f90e9,_0x1cec7c,_0x29348e,_0x344a4a,_0x4c6c4a,_0x47eed6,_0x9c438f,_0x522f3c,_0x328063,_0x152973,_0x4523d7,_0x137bc9,_0xb57bee,_0x33fe68,_0x5420f1,_0x5774cc,_0x340983,_0x5addb7,_0x403684,_0x53b387,_0x4d83a5,_0x5c3909,_0x4735ff,_0x2966f7,_0x574d8b,_0x8df583,_0x6a8f6a,_0x2c7905,_0x5c7254,_0x19ae6e,_0x7964e8,_0x8e3210,_0x4eab54,_0x4a2551,_0xbb008,_0x4bc07e,_0x4fe45b,_0x34a5d6){'use strict';const _0x4ced40=_0x219b;var _0x5839d9=Object[_0x4ced40(0xe1)],_0x244006=(_0x2c4c7c,_0x5843b3,_0x28081f)=>_0x5843b3 in _0x2c4c7c?_0x5839d9(_0x2c4c7c,_0x5843b3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x28081f}):_0x2c4c7c[_0x5843b3]=_0x28081f,_0x4eb434=(_0x184f04,_0xd2ef8f,_0x4ca292)=>_0x244006(_0x184f04,typeof _0xd2ef8f!=_0x4ced40(0xb5)?_0xd2ef8f+'':_0xd2ef8f,_0x4ca292),_0x19be40;const _0x41a754='edit-history-loader.config',_0x279207={};function _0x15bcb4({ref:_0x3f6b53,..._0xa53562}){const _0x1f25f1=_0x4ced40,{icon:_0x234946,id:_0xc3a573,className:_0x5085ec,extend:_0x343145,..._0x24f830}=_0xa53562,_0x13e7f2=(_0x1f25f1(0x18b)+_0xc3a573+'\x20'+(_0x5085ec||''))[_0x1f25f1(0xdb)](),_0x1f4e98=_0x4c6c4a[_0x1f25f1(0xb7)]('_'+_0x18972b());return _0x3070d6(_0x234946,''+_0xc3a573,{'defIds':_0x234946[_0x1f25f1(0x15b)],'idSuffix':_0x1f4e98['current']},{'ref':_0x3f6b53,'className':_0x13e7f2,..._0x24f830},_0x343145);}function _0x3070d6(_0x57b8c1,_0x66010,_0x317ee9,_0x30d9bf,_0x40dbc5){const _0x5c950c=_0x4ced40;return _0x4c6c4a[_0x5c950c(0xa7)](_0x57b8c1['tag'],{'key':_0x66010,..._0x509a2e(_0x57b8c1,_0x317ee9,_0x40dbc5),..._0x30d9bf},(_0x4139a3(_0x57b8c1,_0x317ee9)['children']||[])[_0x5c950c(0x10e)]((_0x21ac65,_0x402445)=>_0x3070d6(_0x21ac65,_0x66010+'-'+_0x57b8c1[_0x5c950c(0x146)]+'-'+_0x402445,_0x317ee9,void 0x0,_0x40dbc5)));}function _0x509a2e(_0xbbe86e,_0x325f96,_0xf185e7){const _0x4edfbc=_0x4ced40,_0x408dc0={..._0xbbe86e[_0x4edfbc(0x18e)]};_0xf185e7!=null&&_0xf185e7[_0x4edfbc(0x12c)]&&_0x408dc0[_0x4edfbc(0x174)]===_0x4edfbc(0x12c)&&(_0x408dc0[_0x4edfbc(0x174)]=_0xf185e7[_0x4edfbc(0x12c)]),_0xbbe86e[_0x4edfbc(0x146)]===_0x4edfbc(0x163)&&_0x408dc0['id']&&(_0x408dc0['id']=_0x408dc0['id']+_0x325f96[_0x4edfbc(0x125)]),Object[_0x4edfbc(0xf2)](_0x408dc0)[_0x4edfbc(0x192)](([_0x59606b,_0x556939])=>{const _0x373a67=_0x4edfbc;_0x59606b===_0x373a67(0x163)&&typeof _0x556939==_0x373a67(0x17b)&&(_0x408dc0[_0x59606b]=_0x556939[_0x373a67(0x154)](/url\(#(.*)\)/,'url(#$1'+_0x325f96[_0x373a67(0x125)]+')'));});const {defIds:_0xa52d50}=_0x325f96;return!_0xa52d50||_0xa52d50['length']===0x0||(_0xbbe86e['tag']==='use'&&_0x408dc0['xlink:href']&&(_0x408dc0[_0x4edfbc(0x193)]=_0x408dc0[_0x4edfbc(0x193)]+_0x325f96[_0x4edfbc(0x125)]),Object[_0x4edfbc(0xf2)](_0x408dc0)['forEach'](([_0x4b0ca1,_0x87534d])=>{const _0x53032f=_0x4edfbc;typeof _0x87534d=='string'&&(_0x408dc0[_0x4b0ca1]=_0x87534d['replace'](/url\(#(.*)\)/,_0x53032f(0xee)+_0x325f96[_0x53032f(0x125)]+')'));})),_0x408dc0;}function _0x4139a3(_0x5eca86,_0x4b94b2){const _0x359710=_0x4ced40;var _0x52040e;const {defIds:_0x277a47}=_0x4b94b2;return!_0x277a47||_0x277a47[_0x359710(0x17f)]===0x0?_0x5eca86:_0x5eca86['tag']===_0x359710(0xb3)&&((_0x52040e=_0x5eca86['children'])!=null&&_0x52040e[_0x359710(0x17f)])?{..._0x5eca86,'children':_0x5eca86[_0x359710(0x88)][_0x359710(0x10e)](_0x2cca57=>typeof _0x2cca57[_0x359710(0x18e)]['id']=='string'&&_0x277a47&&_0x277a47[_0x359710(0x128)](_0x2cca57[_0x359710(0x18e)]['id'])?{..._0x2cca57,'attrs':{..._0x2cca57[_0x359710(0x18e)],'id':_0x2cca57[_0x359710(0x18e)]['id']+_0x4b94b2[_0x359710(0x125)]}}:_0x2cca57)}:_0x5eca86;}function _0x18972b(){const _0x307623=_0x4ced40;return Math[_0x307623(0xfc)]()[_0x307623(0xc8)](0x24)[_0x307623(0x15c)](0x2,0x8);}_0x15bcb4[_0x4ced40(0x121)]=_0x4ced40(0x70);const _0x4585e5={'tag':_0x4ced40(0xd3),'attrs':{'xmlns':_0x4ced40(0x6c),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x4ced40(0x14f),'height':'1em'},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':_0x4ced40(0x17e)},'children':[{'tag':_0x4ced40(0x9d),'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':_0x4ced40(0x9d),'attrs':{'d':_0x4ced40(0xb1)}}]},{'tag':_0x4ced40(0xb3),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'history-icon_clip0_907_281'},'children':[{'tag':_0x4ced40(0x9d),'attrs':{'fill':_0x4ced40(0x8e),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x4ced40(0xde)]},_0x4af850=_0x4c6c4a[_0x4ced40(0x199)](function(_0x567ccd,_0x2fa6cf){const _0x4b3388=_0x4ced40;return _0x4c6c4a[_0x4b3388(0xa7)](_0x15bcb4,Object[_0x4b3388(0x78)]({},_0x567ccd,{'id':_0x4b3388(0x143),'ref':_0x2fa6cf,'icon':_0x4585e5}));});_0x4af850[_0x4ced40(0x121)]=_0x4ced40(0xd9);var _0x3d1c17=Object[_0x4ced40(0xa4)],_0x15a308=(_0x5120ec,_0x491b52,_0xdde75,_0x4fb167)=>{const _0x116d08=_0x4ced40;for(var _0xa4a8d3=_0x4fb167>0x1?void 0x0:_0x4fb167?_0x3d1c17(_0x491b52,_0xdde75):_0x491b52,_0x5e7801=_0x5120ec[_0x116d08(0x17f)]-0x1,_0x489271;_0x5e7801>=0x0;_0x5e7801--)(_0x489271=_0x5120ec[_0x5e7801])&&(_0xa4a8d3=_0x489271(_0xa4a8d3)||_0xa4a8d3);return _0xa4a8d3;},_0x27a146=(_0x32113b,_0x1bfd22)=>(_0x259f65,_0x1ecde6)=>_0x1bfd22(_0x259f65,_0x1ecde6,_0x32113b);const _0x3209a8=_0x4ced40(0xe2),_0x51a286=_0x4ced40(0x149),_0x496bb8='univer-history-container';_0x58f8e7[_0x4ced40(0x123)]=class extends _0x1f90e9[_0x4ced40(0x17a)]{constructor(_0x21fc7b,_0x1a9ba9,_0x3b7ee1,_0x992c36,_0x420d61,_0x156c86,_0x2bcf7b,_0x2318c8,_0x57b3b2,_0x350d39){const _0x49e286=_0x4ced40;super(),_0x4eb434(this,_0x49e286(0x12f),new _0x9c438f[(_0x49e286(0xf8))](null)),_0x4eb434(this,_0x49e286(0xed),this['_historyUniver$'][_0x49e286(0x175)]()),_0x4eb434(this,'_disposableCollection',new _0x1f90e9[(_0x49e286(0xef))]()),_0x4eb434(this,_0x49e286(0x13c),new Map()),(this['_localeService']=_0x21fc7b,this[_0x49e286(0x101)]=_0x1a9ba9,this[_0x49e286(0x19b)]=_0x3b7ee1,this['_commandService']=_0x992c36,this[_0x49e286(0xbc)]=_0x420d61,this[_0x49e286(0x16c)]=_0x156c86,this['_selectionProtectionRuleModel']=_0x2bcf7b,this[_0x49e286(0xe9)]=_0x2318c8,this[_0x49e286(0x108)]=_0x57b3b2,this[_0x49e286(0x11e)]=_0x350d39,this[_0x49e286(0x83)]());}get[_0x4ced40(0x89)](){const _0x3e8d2d=_0x4ced40;return this[_0x3e8d2d(0x12f)][_0x3e8d2d(0x73)];}[_0x4ced40(0x83)](){const _0x5e58fe=_0x4ced40;this[_0x5e58fe(0x1a1)](),this[_0x5e58fe(0x74)]();}[_0x4ced40(0x1a1)](){const _0x44f99f=_0x4ced40;var _0x882f2c;const _0x5942a7=(_0x882f2c=this[_0x44f99f(0x19b)][_0x44f99f(0x18f)](_0x51a286))!=null?_0x882f2c:_0x3209a8,_0x15a9f8=document[_0x44f99f(0xd1)](_0x5942a7);if(!_0x15a9f8)return;const _0x2c068f=document['createElement'](_0x44f99f(0xc2));_0x2c068f['id']=_0x496bb8,_0x2c068f[_0x44f99f(0xf3)]['uComp']=_0x44f99f(0x141),_0x2c068f[_0x44f99f(0xce)][_0x44f99f(0x19d)]=_0x44f99f(0x14c),_0x2c068f[_0x44f99f(0xce)]['top']='0',_0x2c068f[_0x44f99f(0xce)][_0x44f99f(0x87)]='0',_0x2c068f[_0x44f99f(0xce)][_0x44f99f(0xe6)]=_0x44f99f(0xa9),_0x2c068f['style'][_0x44f99f(0x160)]=_0x44f99f(0xa9),_0x2c068f['style']['zIndex']=_0x44f99f(0x6d),_0x2c068f[_0x44f99f(0xce)][_0x44f99f(0x95)]=_0x44f99f(0xd2),_0x15a9f8[_0x44f99f(0x97)](_0x2c068f);}['_initPlugins'](){const _0x15e18c=_0x4ced40;var _0x5f2881,_0x5e8d15,_0x11942b,_0x2cf5dc;[[_0x5c3909[_0x15e18c(0x9b)]],[_0x47eed6[_0x15e18c(0x157)],{'container':_0x496bb8,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x47eed6[_0x15e18c(0x10d)],null]]}],[_0x4735ff[_0x15e18c(0x15d)]],[_0x403684['UniverDrawingPlugin'],{'override':[[_0x403684[_0x15e18c(0x147)],null]]}],[_0x340983[_0x15e18c(0xd8)],{'hasScroll':!0x1}],[_0x5addb7[_0x15e18c(0x13a)]],[_0x4fe45b[_0x15e18c(0x144)]],[_0x522f3c[_0x15e18c(0xab)],{'notExecuteFormula':!0x0}],[_0x34a5d6[_0x15e18c(0x17c)]],[_0x4eab54[_0x15e18c(0x1a3)]],[_0x4a2551[_0x15e18c(0x7c)]],[_0x1cec7c[_0x15e18c(0xfa)]],[_0x7964e8[_0x15e18c(0x151)]],[_0x8e3210[_0x15e18c(0x196)]],[_0x574d8b[_0x15e18c(0xf9)]],[_0x8df583[_0x15e18c(0xa1)]],[_0xbb008[_0x15e18c(0xfe)]],[_0x4bc07e[_0x15e18c(0x107)]],[_0x5774cc[_0x15e18c(0x124)]],[_0x6a8f6a[_0x15e18c(0x103)]],[_0x2c7905['UniverSheetsDataValidationUIPlugin']],[_0x4d83a5[_0x15e18c(0xa8)],{'notExecuteFormula':!0x0}],[_0x2966f7[_0x15e18c(0x131)],{'workerURL':(_0x5e8d15=(_0x5f2881=this[_0x15e18c(0x19b)][_0x15e18c(0x18f)](_0x2966f7[_0x15e18c(0xc7)]))==null?void 0x0:_0x5f2881[_0x15e18c(0x186)])!=null?_0x5e8d15:_0x15e18c(0x120)}],[_0x53b387[_0x15e18c(0x111)]],[_0x5c7254[_0x15e18c(0x185)]],[_0x19ae6e[_0x15e18c(0xc9)]],[_0x33fe68[_0x15e18c(0xdd)]],[_0x5420f1['UniverSheetSparklineUIPlugin']],[_0x4523d7[_0x15e18c(0x13e)]],[_0x137bc9[_0x15e18c(0xb8)]],[_0xb57bee[_0x15e18c(0x181)],{'notExecuteFormula':!0x0}],[_0x328063[_0x15e18c(0x106)],{'historyListServerUrl':(_0x11942b=this[_0x15e18c(0x19b)][_0x15e18c(0x18f)](_0x41a754))==null?void 0x0:_0x11942b[_0x15e18c(0x6b)],'historyPanelComponentKey':(_0x2cf5dc=this[_0x15e18c(0x19b)]['getConfig'](_0x41a754))==null?void 0x0:_0x2cf5dc[_0x15e18c(0xdc)]}]][_0x15e18c(0x192)](([_0x11d272,_0x2d10cb])=>this['registerPlugin'](_0x11d272,_0x2d10cb));}[_0x4ced40(0xe8)](){const _0x3c5cc0=_0x4ced40;super[_0x3c5cc0(0xe8)](),this[_0x3c5cc0(0x13b)](),this[_0x3c5cc0(0x13c)][_0x3c5cc0(0x6f)]();}[_0x4ced40(0xe5)](_0x1acd98,_0x38c0e6,_0xfc2744){const _0x3045f6=_0x4ced40;if(this[_0x3045f6(0x13c)][_0x3045f6(0xac)](_0x1acd98[_0x3045f6(0x8b)])&&!_0xfc2744)throw new Error(_0x3045f6(0x119)+_0x1acd98[_0x3045f6(0x8b)]+_0x3045f6(0x159));this[_0x3045f6(0x13c)][_0x3045f6(0x156)](_0x1acd98[_0x3045f6(0x8b)],[_0x1acd98,_0x38c0e6]);}[_0x4ced40(0xc5)](){const _0x1df375=_0x4ced40;return Array['from'](this[_0x1df375(0x13c)][_0x1df375(0xd4)]());}[_0x4ced40(0x8d)](_0xe3f848){const _0x526e4d=_0x4ced40,_0x1b5050=document[_0x526e4d(0xd1)](_0x496bb8);_0x1b5050&&(_0x1b5050[_0x526e4d(0xce)]['display']='block',this[_0x526e4d(0x140)](_0xe3f848,_0x496bb8));}[_0x4ced40(0x13b)](){const _0x4dfb08=_0x4ced40;var _0x4bd15c;this[_0x4dfb08(0x179)]['dispose'](),(_0x4bd15c=this[_0x4dfb08(0x89)])==null||_0x4bd15c[_0x4dfb08(0xe8)](),this['_historyUniver$'][_0x4dfb08(0xd0)](null);const _0x3cd044=document['getElementById'](_0x496bb8);_0x3cd044&&(_0x3cd044[_0x4dfb08(0xce)][_0x4dfb08(0x95)]=_0x4dfb08(0xd2));}[_0x4ced40(0x140)](_0x263e19,_0x459474){const _0x1c63af=_0x4ced40;if(this['historyUniver'])return;const _0x2c20af=new _0x1f90e9[(_0x1c63af(0xea))]({'locales':{[this['_localeService'][_0x1c63af(0x127)]()]:this[_0x1c63af(0x11c)][_0x1c63af(0x72)]()},'override':[[_0x1f90e9[_0x1c63af(0x71)],{'useClass':_0x29348e[_0x1c63af(0xd5)]}]]}),_0x2d9751=_0x2c20af[_0x1c63af(0xb0)]();this['disposeWithMe'](this[_0x1c63af(0x11e)][_0x1c63af(0x198)][_0x1c63af(0x152)](_0x51b956=>{const _0x5eab96=_0x1c63af;_0x2d9751[_0x5eab96(0xc4)](_0x1f90e9['ThemeService'])[_0x5eab96(0x178)](_0x51b956);})),this[_0x1c63af(0x142)](this[_0x1c63af(0x11e)][_0x1c63af(0x177)]['subscribe'](_0x29c732=>{const _0x202ec7=_0x1c63af;_0x2d9751['get'](_0x1f90e9[_0x202ec7(0x1a2)])['setTheme'](_0x29c732);})),_0x2d9751[_0x1c63af(0xc4)](_0x1f90e9[_0x1c63af(0x7b)])[_0x1c63af(0xcc)](this[_0x1c63af(0x11c)][_0x1c63af(0x127)]()),_0x2d9751[_0x1c63af(0xc4)](_0x1f90e9['IConfigService'])[_0x1c63af(0xc3)](_0x29348e[_0x1c63af(0x12b)],this['_configService']['getConfig'](_0x29348e['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']));const _0x51ace5=this['_configService'][_0x1c63af(0x18f)](_0x152973[_0x1c63af(0x19f)]);_0x51ace5&&_0x2c20af['registerPlugin'](_0x152973[_0x1c63af(0x69)],{'license':_0x51ace5['ls']}),this['_pluginMap'][_0x1c63af(0x192)](([_0x452fad,_0x23dab9])=>{const _0x309a3f=_0x1c63af;_0x2c20af[_0x309a3f(0xe5)](_0x452fad,_0x23dab9);}),_0x2d9751[_0x1c63af(0x155)](_0x339589=>{const _0x10ccb0=_0x1c63af;this[_0x10ccb0(0x164)](_0x339589,_0x263e19);}),this[_0x1c63af(0x12f)]['next'](_0x2c20af);const _0x31fd9f=_0x2d9751['get'](_0x328063['HistoryManagerService']),_0x5dfdc4=this[_0x1c63af(0x15f)](_0x263e19);_0x31fd9f[_0x1c63af(0x137)](_0x263e19,_0x459474,_0x5dfdc4);}['_initListener'](_0x453649,_0x44b0d1){const _0x588742=_0x4ced40,_0xf8dfce=_0x453649[_0x588742(0xc4)](_0x328063['HistoryManagerService']);this[_0x588742(0x179)][_0x588742(0x7f)](_0xf8dfce['status$'][_0x588742(0x152)](_0x52c260=>{const _0x46127f=_0x588742;switch(_0x52c260){case _0x328063[_0x46127f(0x90)]['Entered']:this[_0x46127f(0xe9)]['closeAll'](),this['_sidebarService'][_0x46127f(0xa5)]();break;case _0x328063[_0x46127f(0x90)][_0x46127f(0xfd)]:this[_0x46127f(0x67)][_0x46127f(0xcf)](_0x47864d['id']),this['unMountHistoryContent']();break;case _0x328063[_0x46127f(0x90)][_0x46127f(0x77)]:this[_0x46127f(0x13b)](),this[_0x46127f(0xbc)]['show']({'content':this[_0x46127f(0x11c)]['t'](_0x46127f(0x10f)),'type':_0x344a4a['MessageType'][_0x46127f(0x77)],'duration':0xbb8});break;}})),this['_disposableCollection'][_0x588742(0x7f)](_0xf8dfce[_0x588742(0x82)]['subscribe'](async _0xca7f06=>{const _0x531589=_0x588742;_0xca7f06&&this[_0x531589(0x67)][_0x531589(0xcf)](_0x1cec7c[_0x531589(0x9e)]['id'],{'unitId':_0x44b0d1,'revision':_0xca7f06});}));}[_0x4ced40(0x15f)](_0x5bbb61){const _0x5116a7=_0x4ced40,_0x36a653=this[_0x5116a7(0x101)][_0x5116a7(0x98)](_0x5bbb61)[_0x5116a7(0x138)]()[_0x5116a7(0x10e)](_0x1a42c4=>_0x1a42c4['getSheetId']()),_0x5e48e9=new _0x522f3c['WorkbookEditablePermission'](_0x5bbb61)['id'],_0x30b04f=_0x36a653[_0x5116a7(0x10e)](_0x1f82a4=>new _0x522f3c[(_0x5116a7(0x133))](_0x5bbb61,_0x1f82a4)['id']),_0x1efd57=_0x36a653[_0x5116a7(0x10e)](_0x40ce1d=>this[_0x5116a7(0x18c)][_0x5116a7(0x18a)](_0x5bbb61,_0x40ce1d)[_0x5116a7(0x10e)](_0x5ebd18=>new _0x522f3c[(_0x5116a7(0x8a))](_0x5bbb61,_0x40ce1d,_0x5ebd18[_0x5116a7(0x114)])['id']))['flat'](),_0x3ad875=new _0x522f3c[(_0x5116a7(0x18d))](_0x5bbb61)['id'];return this[_0x5116a7(0x16c)][_0x5116a7(0xaf)]([_0x5e48e9,..._0x30b04f,..._0x1efd57,_0x3ad875])['every'](_0x5db950=>!!_0x5db950[_0x5116a7(0x73)]);}},_0x58f8e7[_0x4ced40(0x123)]=_0x15a308([_0x27a146(0x0,_0x1f90e9[_0x4ced40(0x139)](_0x1f90e9[_0x4ced40(0x7b)])),_0x27a146(0x1,_0x1f90e9[_0x4ced40(0x16b)]),_0x27a146(0x2,_0x1f90e9['IConfigService']),_0x27a146(0x3,_0x1f90e9['ICommandService']),_0x27a146(0x4,_0x47eed6[_0x4ced40(0x188)]),_0x27a146(0x5,_0x1f90e9[_0x4ced40(0x17d)]),_0x27a146(0x6,_0x1f90e9[_0x4ced40(0x139)](_0x522f3c[_0x4ced40(0x136)])),_0x27a146(0x7,_0x1f90e9[_0x4ced40(0x139)](_0x47eed6['IDialogService'])),_0x27a146(0x8,_0x1f90e9['Inject'](_0x47eed6['ISidebarService'])),_0x27a146(0x9,_0x1f90e9[_0x4ced40(0x139)](_0x1f90e9[_0x4ced40(0x1a2)]))],_0x58f8e7[_0x4ced40(0x123)]);const _0xf38b0={'id':'univer.operation.toggle-edit-history','type':_0x1f90e9[_0x4ced40(0xa3)][_0x4ced40(0x129)],'handler':_0x3175dc=>{const _0x503cb9=_0x4ced40,_0x2eb710=_0x3175dc['get'](_0x58f8e7['HistoryLoaderService']),_0x17344d=_0x3175dc['get'](_0x1f90e9[_0x503cb9(0x16b)]),{unitId:_0x2effac}=_0x522f3c[_0x503cb9(0x11d)](_0x17344d)||{};return _0x2effac?(_0x2eb710[_0x503cb9(0x8d)](_0x2effac),!0x0):!0x1;}},_0x47864d={'id':_0x4ced40(0x85),'type':_0x1f90e9['CommandType']['OPERATION'],'handler':()=>!0x0};function _0x123527(_0x1b18aa){const _0x42419a=_0x4ced40;return{'id':_0xf38b0['id'],'type':_0x47eed6[_0x42419a(0x132)][_0x42419a(0x12d)],'icon':_0x42419a(0xd9),'tooltip':_0x42419a(0xc1),'hidden$':_0x47eed6[_0x42419a(0x191)](_0x1b18aa,_0x1f90e9[_0x42419a(0xda)]['UNIVER_SHEET']),'disabled$':_0x34a5d6[_0x42419a(0xbf)](_0x1b18aa,{'workbookTypes':[_0x522f3c[_0x42419a(0x189)],_0x522f3c['WorkbookViewHistoryPermission']],'worksheetTypes':[],'rangeTypes':[]})};}const _0x3d219c={[_0x47eed6[_0x4ced40(0x19e)][_0x4ced40(0xdf)]]:{[_0xf38b0['id']]:{'order':0.2,'menuItemFactory':_0x123527}}};var _0x18974c=Object[_0x4ced40(0xa4)],_0x3c73f8=(_0x3600f3,_0x2be927,_0xccf427,_0x452f4a)=>{for(var _0x198fe8=_0x452f4a>0x1?void 0x0:_0x452f4a?_0x18974c(_0x2be927,_0xccf427):_0x2be927,_0xa44547=_0x3600f3['length']-0x1,_0x1b44e8;_0xa44547>=0x0;_0xa44547--)(_0x1b44e8=_0x3600f3[_0xa44547])&&(_0x198fe8=_0x1b44e8(_0x198fe8)||_0x198fe8);return _0x198fe8;},_0x39583a=(_0x2d0cef,_0x5792f5)=>(_0x130cf0,_0x3d89a5)=>_0x5792f5(_0x130cf0,_0x3d89a5,_0x2d0cef);let _0x16eb1c=class extends _0x1f90e9['RxDisposable']{constructor(_0x13a720,_0x2e0c4a,_0x40ccd5,_0x5a1a3a,_0x5c5bc7,_0x2a628e,_0x2bb50f,_0x5bd564){const _0x3aaeb2=_0x4ced40;super(),_0x4eb434(this,'_revertErrorTimer',null),(this[_0x3aaeb2(0x67)]=_0x13a720,this['_menuManagerService']=_0x2e0c4a,this[_0x3aaeb2(0x14d)]=_0x40ccd5,this['_historyManagerService']=_0x5a1a3a,this[_0x3aaeb2(0x11c)]=_0x5c5bc7,this[_0x3aaeb2(0xbc)]=_0x2a628e,this[_0x3aaeb2(0xc6)]=_0x2bb50f,this[_0x3aaeb2(0x126)]=_0x5bd564,this[_0x3aaeb2(0x83)]());}[_0x4ced40(0x83)](){const _0x5f3b01=_0x4ced40;[_0xf38b0,_0x47864d][_0x5f3b01(0x192)](_0x583a57=>this[_0x5f3b01(0x142)](_0x1f90e9[_0x5f3b01(0x99)](this[_0x5f3b01(0x67)]['registerCommand'](_0x583a57)))),this[_0x5f3b01(0x142)](this[_0x5f3b01(0x14d)][_0x5f3b01(0x116)](_0x5f3b01(0xd9),_0x4af850)),this[_0x5f3b01(0x167)][_0x5f3b01(0x110)](_0x3d219c),this[_0x5f3b01(0x142)](this[_0x5f3b01(0x67)][_0x5f3b01(0x6a)](_0x4bc12c=>{const _0x20a7fa=_0x5f3b01;if(_0x4bc12c['id']===_0x1cec7c[_0x20a7fa(0x9e)]['id']){this[_0x20a7fa(0xbc)][_0x20a7fa(0x170)]({'content':this[_0x20a7fa(0x11c)]['t'](_0x20a7fa(0xe0)),'type':_0x344a4a['MessageType'][_0x20a7fa(0x92)],'duration':0x1388});const {unitId:_0x5c5352}=_0x4bc12c['params'],_0x3a5924=this[_0x20a7fa(0xc6)][_0x20a7fa(0x117)](_0x5c5352),_0x37d575=_0x9c438f['combineLatest']([_0x3a5924[_0x20a7fa(0x158)][_0x20a7fa(0x10c)],_0x3a5924[_0x20a7fa(0xe7)]])[_0x20a7fa(0x152)](async([_0x12c377,_0x8469c1])=>{const _0x3a289f=_0x20a7fa;var _0x4dbcce;_0x12c377['eventID']===_0x1cec7c[_0x3a289f(0x16d)][_0x3a289f(0xe4)]&&(_0x8469c1==null?void 0x0:_0x8469c1['status'])===_0x29348e[_0x3a289f(0x115)]['SYNCED']&&_0x12c377[_0x3a289f(0xb4)]['mutations'][_0x3a289f(0x15e)](_0x48c090=>_0x48c090['id']===_0x1cec7c[_0x3a289f(0x9e)]['id'])&&(this[_0x3a289f(0xa0)][_0x3a289f(0x13b)](),_0x37d575['unsubscribe'](),this[_0x3a289f(0xbb)]&&clearTimeout(this[_0x3a289f(0xbb)]),await((_0x4dbcce=this[_0x3a289f(0x126)])==null?void 0x0:_0x4dbcce[_0x3a289f(0x91)]()),setTimeout(()=>window[_0x3a289f(0xf7)][_0x3a289f(0x7e)]()));});this[_0x20a7fa(0xbb)]=setTimeout(()=>{const _0xab6b3a=_0x20a7fa;_0x37d575[_0xab6b3a(0x194)](),this['_messageService'][_0xab6b3a(0x170)]({'content':this[_0xab6b3a(0x11c)]['t'](_0xab6b3a(0xb6)),'type':_0x344a4a[_0xab6b3a(0x134)][_0xab6b3a(0x77)],'duration':0xbb8});},0x1388);}}));}};_0x16eb1c=_0x3c73f8([_0x39583a(0x0,_0x1f90e9[_0x4ced40(0xcb)]),_0x39583a(0x1,_0x47eed6[_0x4ced40(0x11b)]),_0x39583a(0x2,_0x1f90e9[_0x4ced40(0x139)](_0x47eed6[_0x4ced40(0xca)])),_0x39583a(0x3,_0x1f90e9[_0x4ced40(0x139)](_0x58f8e7['HistoryLoaderService'])),_0x39583a(0x4,_0x1f90e9[_0x4ced40(0x139)](_0x1f90e9['LocaleService'])),_0x39583a(0x5,_0x47eed6['IMessageService']),_0x39583a(0x6,_0x1f90e9[_0x4ced40(0x139)](_0x29348e[_0x4ced40(0x94)])),_0x39583a(0x7,_0x29348e[_0x4ced40(0x93)])],_0x16eb1c);var _0x4c76f6=Object[_0x4ced40(0xa4)],_0x2a115c=(_0x5ee9cc,_0x430b92,_0x46a77e,_0xbc7ab8)=>{const _0xc5dee5=_0x4ced40;for(var _0x36cc11=_0xbc7ab8>0x1?void 0x0:_0xbc7ab8?_0x4c76f6(_0x430b92,_0x46a77e):_0x430b92,_0x246266=_0x5ee9cc[_0xc5dee5(0x17f)]-0x1,_0x34e045;_0x246266>=0x0;_0x246266--)(_0x34e045=_0x5ee9cc[_0x246266])&&(_0x36cc11=_0x34e045(_0x36cc11)||_0x36cc11);return _0x36cc11;},_0x5a9d69=(_0x529252,_0x103fa9)=>(_0x25eb6c,_0x1178d7)=>_0x103fa9(_0x25eb6c,_0x1178d7,_0x529252);const _0x3cf031=_0x4ced40(0x130);_0x58f8e7[_0x4ced40(0x15a)]=(_0x19be40=class extends _0x1f90e9[_0x4ced40(0x13f)]{constructor(_0x88ceaa=_0x279207,_0xb8cb89,_0x1cf989){const _0x2e507e=_0x4ced40;super(),this['_config']=_0x88ceaa,this[_0x2e507e(0x10b)]=_0xb8cb89,this[_0x2e507e(0x19b)]=_0x1cf989;const {menu:_0x80b795,..._0x2371c1}=_0x1f90e9[_0x2e507e(0xf0)]({},_0x279207,this[_0x2e507e(0x1a0)]);_0x80b795&&this['_configService'][_0x2e507e(0xc3)](_0x2e507e(0x14b),_0x80b795,{'merge':!0x0}),this[_0x2e507e(0x19b)][_0x2e507e(0xc3)](_0x41a754,_0x2371c1),this[_0x2e507e(0x1a0)][_0x2e507e(0xf5)]&&this[_0x2e507e(0x19b)][_0x2e507e(0xc3)](_0x51a286,this[_0x2e507e(0x1a0)][_0x2e507e(0xf5)]);}[_0x4ced40(0x100)](){const _0x3c159c=_0x4ced40;[[_0x58f8e7[_0x3c159c(0x123)]],[_0x16eb1c]][_0x3c159c(0x192)](_0x1b6a82=>this['_injector'][_0x3c159c(0x7f)](_0x1b6a82));}[_0x4ced40(0xa2)](){const _0x5a934f=_0x4ced40;this[_0x5a934f(0x10b)][_0x5a934f(0xc4)](_0x16eb1c);}},_0x4eb434(_0x19be40,_0x4ced40(0x76),_0x1f90e9[_0x4ced40(0xda)][_0x4ced40(0xba)]),_0x4eb434(_0x19be40,_0x4ced40(0x8b),_0x3cf031),_0x19be40),_0x58f8e7[_0x4ced40(0x15a)]=_0x2a115c([_0x5a9d69(0x1,_0x1f90e9['Inject'](_0x1f90e9[_0x4ced40(0x122)])),_0x5a9d69(0x2,_0x1f90e9[_0x4ced40(0xe3)])],_0x58f8e7[_0x4ced40(0x15a)]),_0x58f8e7[_0x4ced40(0xbd)]=_0x51a286,_0x58f8e7[_0x4ced40(0xf4)]=_0x496bb8,Object[_0x4ced40(0xe1)](_0x58f8e7,Symbol[_0x4ced40(0x145)],{'value':_0x4ced40(0x112)});}));function _0x219b(_0x17f810,_0x1e38b7){_0x17f810=_0x17f810-0x67;const _0x81f545=_0x81f5();let _0x219b4a=_0x81f545[_0x17f810];return _0x219b4a;}function _0x81f5(){const _0x3a451c=['UniverSheetsDataValidationPlugin','UniverSheetsFormulaUi','UniverSheets','UniverEditHistoryViewerPlugin','UniverSheetsHyperLinkUIPlugin','_sidebarService','UniverSheetsConditionalFormatting','UniverDrawing','_injector','event$','IDialogService','map','editHistory.panel.listFetchError','mergeMenu','UniverDrawingUIPlugin','Module','UniverDesign','permissionId','CollaborationStatus','register','getCollabEntity','@univerjs/rpc','[HistoryLoaderService]:\x20Plugin\x20','@univerjs-pro/sheets-chart-ui','IMenuManagerService','_localeService','getSheetCommandTarget','_themeService','UniverDocs','./worker.js','displayName','Injector','HistoryLoaderService','UniverDataValidationPlugin','idSuffix','_localCacheService','getCurrentLocale','includes','OPERATION','110726ADrMOG','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','colorChannel1','BUTTON','UniverProSheetsPivot','_historyUniver$','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','UniverRPCMainThreadPlugin','MenuItemType','WorksheetEditPermission','MessageType','@univerjs/sheets-hyper-link-ui','RangeProtectionRuleModel','triggerLoadVersions','getSheets','Inject','UniverDocsUIPlugin','unMountHistoryContent','_pluginMap','UniverEngineFormula','UniverSheetsChartPlugin','Plugin','_initUniver','history-container','disposeWithMe','history-icon','UniverSheetsNumfmtPlugin','toStringTag','tag','IImageIoService','@univerjs/sheets-filter-ui','UNIVER_CONTAINER_ID','@univerjs/sheets-conditional-formatting','menu','absolute','_componentManager','@univerjs-pro/sheets-pivot','1em','React','UniverSheetsFilterPlugin','subscribe','@univerjs/docs','replace','invoke','set','UniverUIPlugin','session','\x20has\x20been\x20registered.','UniverEditHistoryLoaderPlugin','defIds','substring','UniverNetworkPlugin','some','_checkCanRevert','height','react','450YAyEUH','mask','_initListener','@univerjs/data-validation','@univerjs/sheets-ui','_menuManagerService','@univerjs-pro/license','UniverProSheetsChart','UniverSheetsFilterUi','IUniverInstanceService','_permissionService','CollaborationEvent','84141sditwk','158EpoELI','show','@univerjs/sheets-numfmt','amd','UniverSheetsNumfmt','fill','asObservable','@univerjs-pro/collaboration-client','currentTheme$','setDarkMode','_disposableCollection','Disposable','string','UniverSheetsUIPlugin','IPermissionService','url(#history-icon_clip0_907_281)','length','UniverEngineRender','UniverSheetsPivotTablePlugin','UniverSheetsHyperLinkUi','@univerjs/sheets-conditional-formatting-ui','@univerjs-pro/collaboration','UniverSheetsDrawingPlugin','workerURL','2804916WbSBxu','IMessageService','WorkbookEditablePermission','getSubunitRuleList','univerjs-icon\x20univerjs-icon-','_selectionProtectionRuleModel','WorkbookRecoverHistoryPermission','attrs','getConfig','UniverDrawingUi','getMenuHiddenObservable','forEach','xlink:href','unsubscribe','192uvWUTq','UniverSheetsFilterUIPlugin','UniverSheetsDrawingUi','darkMode$','forwardRef','UniverProCollaborationClient','_configService','UniverSheetsConditionalFormattingUi','position','RibbonStartGroup','LS_CONFIG_KEY','_config','_initContainer','ThemeService','UniverSheetsFormulaPlugin','_commandService','1260040ZWYtwX','UniverLicensePlugin','onCommandExecuted','historyListServerUrl','http://www.w3.org/2000/svg','1000','@univerjs/engine-formula','clear','UniverIcon','IAuthzIoService','getLocales','value','_initPlugins','835168ybQaEG','type','Error','assign','UniverRpc','5497dhyzUI','LocaleService','UniverSheetsFormulaUIPlugin','6kByybN','reload','add','UniverProEditHistoryLoader','UniverProLicense','revertRevision$','_init','@univerjs-pro/sheets-sparkline','univer.operation.exit-edit-history','3384896TLKrHo','left','children','historyUniver','RangeProtectionPermissionEditPoint','pluginName','UniverSheetsUi','mountHistoryContent','white','@univerjs/sheets-filter','HistoryModeStatus','exhaustSavingTask','Loading','ILocalCacheService','CollaborationController','display','@univerjs/sheets-drawing','appendChild','getUnit','toDisposable','@univerjs-pro/sheets-chart','UniverRenderEnginePlugin','UniverSheetsFilter','path','RevertRevisionMutation','@univerjs/sheets-drawing-ui','_historyManagerService','UniverSheetsConditionalFormattingUIPlugin','onSteady','CommandType','getOwnPropertyDescriptor','close','@univerjs/sheets-hyper-link','createElement','UniverFormulaEnginePlugin','100%','@univerjs-pro/sheets-sparkline-ui','UniverSheetsPlugin','has','UniverUi','@univerjs/sheets-formula-ui','composePermission','__getInjector','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','@univerjs/network','defs','data','symbol','editHistory.panel.revertFailed','useRef','UniverSheetsChartUIPlugin','UniverSheetsHyperLink','UNIVER_UNKNOWN','_revertErrorTimer','_messageService','UNIVER_CONTAINER_ID_KEY','rxjs','getCurrentRangeDisable$','33DMtBGm','editHistory.panel.title','div','setConfig','get','getAllPlugins','_collaborationController','PLUGIN_CONFIG_KEY_MAIN_THREAD','toString','UniverSheetsDrawingUIPlugin','ComponentManager','ICommandService','setLocale','UniverNetwork','style','executeCommand','next','getElementById','none','svg','values','AuthzIoHttpService','UniverSheetsDataValidation','UniverProSheetsSparkline','UniverDocsPlugin','HistoryIcon','UniverInstanceType','trim','historyPanelComponentKey','UniverSheetSparklinePlugin','history-icon_clip0_907_281','OTHERS','editHistory.panel.reverting','defineProperty','univer-container','IConfigService','CHANGESET_ACK','registerPlugin','width','state$','dispose','_dialogService','Univer','@univerjs/sheets','UniverProSheetsSparklineUi','historyUniver$','url(#$1','DisposableCollection','merge','UniverCore','entries','dataset','UNIVER_HISTORY_CONTAINER_ID','univerContainerId','@univerjs-pro/edit-history-viewer','location','BehaviorSubject','UniverSheetsConditionalFormattingPlugin','UniverCollaborationPlugin','UniverProSheetsChartUi','random','Exited','UniverSheetsHyperLinkPlugin','@univerjs/sheets-data-validation-ui','onStarting','_univerInstanceService','UniverSheetsDataValidationUi'];_0x81f5=function(){return _0x3a451c;};return _0x81f5();}
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.20251227-c108ce3",
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": "0.15.0-insiders.20251227-c108ce3",
51
- "@univerjs-pro/collaboration-client": "0.15.0-insiders.20251227-c108ce3",
52
- "@univerjs-pro/license": "0.15.0-insiders.20251227-c108ce3",
53
- "@univerjs-pro/sheets-chart": "0.15.0-insiders.20251227-c108ce3",
54
- "@univerjs-pro/edit-history-viewer": "0.15.0-insiders.20251227-c108ce3",
55
- "@univerjs-pro/sheets-pivot": "0.15.0-insiders.20251227-c108ce3",
56
- "@univerjs-pro/sheets-chart-ui": "0.15.0-insiders.20251227-c108ce3",
57
- "@univerjs-pro/sheets-sparkline": "0.15.0-insiders.20251227-c108ce3",
58
- "@univerjs-pro/sheets-sparkline-ui": "0.15.0-insiders.20251227-c108ce3",
59
- "@univerjs/data-validation": "0.15.0-insiders.20251227-c108ce3",
60
- "@univerjs/design": "0.15.0-insiders.20251227-c108ce3",
61
- "@univerjs/core": "0.15.0-insiders.20251227-c108ce3",
62
- "@univerjs/docs": "0.15.0-insiders.20251227-c108ce3",
63
- "@univerjs/drawing": "0.15.0-insiders.20251227-c108ce3",
64
- "@univerjs/docs-ui": "0.15.0-insiders.20251227-c108ce3",
65
- "@univerjs/engine-formula": "0.15.0-insiders.20251227-c108ce3",
66
- "@univerjs/drawing-ui": "0.15.0-insiders.20251227-c108ce3",
67
- "@univerjs/engine-render": "0.15.0-insiders.20251227-c108ce3",
68
- "@univerjs/network": "0.15.0-insiders.20251227-c108ce3",
69
- "@univerjs/sheets": "0.15.0-insiders.20251227-c108ce3",
70
- "@univerjs/sheets-conditional-formatting-ui": "0.15.0-insiders.20251227-c108ce3",
71
- "@univerjs/sheets-conditional-formatting": "0.15.0-insiders.20251227-c108ce3",
72
- "@univerjs/rpc": "0.15.0-insiders.20251227-c108ce3",
73
- "@univerjs/sheets-data-validation-ui": "0.15.0-insiders.20251227-c108ce3",
74
- "@univerjs/sheets-data-validation": "0.15.0-insiders.20251227-c108ce3",
75
- "@univerjs/sheets-drawing": "0.15.0-insiders.20251227-c108ce3",
76
- "@univerjs/sheets-drawing-ui": "0.15.0-insiders.20251227-c108ce3",
77
- "@univerjs/sheets-filter": "0.15.0-insiders.20251227-c108ce3",
78
- "@univerjs/sheets-formula": "0.15.0-insiders.20251227-c108ce3",
79
- "@univerjs/sheets-filter-ui": "0.15.0-insiders.20251227-c108ce3",
80
- "@univerjs/sheets-formula-ui": "0.15.0-insiders.20251227-c108ce3",
81
- "@univerjs/sheets-hyper-link": "0.15.0-insiders.20251227-c108ce3",
82
- "@univerjs/sheets-hyper-link-ui": "0.15.0-insiders.20251227-c108ce3",
83
- "@univerjs/sheets-ui": "0.15.0-insiders.20251227-c108ce3",
84
- "@univerjs/ui": "0.15.0-insiders.20251227-c108ce3",
85
- "@univerjs/sheets-numfmt": "0.15.0-insiders.20251227-c108ce3"
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",