@univerjs-pro/edit-history-loader 0.15.0-insiders.20260107-3441c7a → 0.15.0-insiders.20260108-47c73e3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +39 -39
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
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;
|
|
1
|
+
'use strict';const _0x965831=_0x2f86;(function(_0x2aa2b6,_0x27327c){const _0x630efd=_0x2f86,_0x3ed9fc=_0x2aa2b6();while(!![]){try{const _0x66fa3c=-parseInt(_0x630efd(0xb4))/0x1*(-parseInt(_0x630efd(0xfa))/0x2)+parseInt(_0x630efd(0x140))/0x3*(parseInt(_0x630efd(0xa0))/0x4)+parseInt(_0x630efd(0x16e))/0x5+parseInt(_0x630efd(0xcc))/0x6+parseInt(_0x630efd(0x136))/0x7*(parseInt(_0x630efd(0xb8))/0x8)+-parseInt(_0x630efd(0xcb))/0x9+-parseInt(_0x630efd(0xc0))/0xa*(parseInt(_0x630efd(0x13c))/0xb);if(_0x66fa3c===_0x27327c)break;else _0x3ed9fc['push'](_0x3ed9fc['shift']());}catch(_0x3dac5d){_0x3ed9fc['push'](_0x3ed9fc['shift']());}}}(_0x11b2,0xdd8d1));var A=Object['defineProperty'],F=(_0x5ddbeb,_0x485209,_0xa35d92)=>_0x485209 in _0x5ddbeb?A(_0x5ddbeb,_0x485209,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xa35d92}):_0x5ddbeb[_0x485209]=_0xa35d92,_=(_0x524d16,_0x1cb9f3,_0x1736d4)=>F(_0x524d16,typeof _0x1cb9f3!=_0x965831(0x113)?_0x1cb9f3+'':_0x1cb9f3,_0x1736d4);function _0x2f86(_0x3a17ea,_0xb59a59){_0x3a17ea=_0x3a17ea-0x9f;const _0x11b264=_0x11b2();let _0x2f86d1=_0x11b264[_0x3a17ea];return _0x2f86d1;}Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x965831(0x137)});const o=require('@univerjs/core'),C=require('@univerjs-pro/collaboration'),p=require('@univerjs-pro/collaboration-client'),P=require('@univerjs/design'),U=require('react'),h=require('@univerjs/ui'),O=require('rxjs'),d=require('@univerjs/sheets'),m=require('@univerjs-pro/edit-history-viewer'),L=require('@univerjs-pro/license'),V=require('@univerjs-pro/sheets-chart'),G=require('@univerjs-pro/sheets-chart-ui'),Y=require('@univerjs-pro/sheets-pivot'),K=require('@univerjs-pro/sheets-sparkline'),W=require('@univerjs-pro/sheets-sparkline-ui'),B=require('@univerjs/data-validation'),z=require('@univerjs/docs'),Z=require('@univerjs/docs-ui'),N=require('@univerjs/drawing'),J=require('@univerjs/drawing-ui'),Q=require('@univerjs/engine-formula'),X=require('@univerjs/engine-render'),ee=require('@univerjs/network'),R=require('@univerjs/rpc'),ie=require('@univerjs/sheets-conditional-formatting'),te=require('@univerjs/sheets-conditional-formatting-ui'),re=require('@univerjs/sheets-data-validation'),ne=require('@univerjs/sheets-data-validation-ui'),se=require('@univerjs/sheets-drawing'),oe=require('@univerjs/sheets-drawing-ui'),ae=require('@univerjs/sheets-filter'),ce=require('@univerjs/sheets-filter-ui'),le=require('@univerjs/sheets-formula'),ue=require('@univerjs/sheets-formula-ui'),he=require('@univerjs/sheets-hyper-link'),ge=require('@univerjs/sheets-hyper-link-ui'),ve=require('@univerjs/sheets-numfmt'),k=require('@univerjs/sheets-ui'),b=_0x965831(0x14c),T={};function D({ref:_0x2bfd4f,..._0x40ff51}){const _0x46ae5b=_0x965831,{icon:_0x2ddaa7,id:_0x5c924c,className:_0x599b33,extend:_0x3f2c54,..._0x5ba516}=_0x40ff51,_0x4f7416=(_0x46ae5b(0xd4)+_0x5c924c+'\x20'+(_0x599b33||''))[_0x46ae5b(0x15f)](),_0x44c0c1=U[_0x46ae5b(0xc4)]('_'+Se());return q(_0x2ddaa7,''+_0x5c924c,{'defIds':_0x2ddaa7['defIds'],'idSuffix':_0x44c0c1[_0x46ae5b(0xb3)]},{'ref':_0x2bfd4f,'className':_0x4f7416,..._0x5ba516},_0x3f2c54);}function q(_0x1c1603,_0x2278c1,_0x3f1e06,_0x20c061,_0x4f433f){const _0x372e6b=_0x965831;return U['createElement'](_0x1c1603[_0x372e6b(0xb9)],{'key':_0x2278c1,...de(_0x1c1603,_0x3f1e06,_0x4f433f),..._0x20c061},(_e(_0x1c1603,_0x3f1e06)[_0x372e6b(0x190)]||[])[_0x372e6b(0x171)]((_0x3f6f6a,_0x89b7eb)=>q(_0x3f6f6a,_0x2278c1+'-'+_0x1c1603['tag']+'-'+_0x89b7eb,_0x3f1e06,void 0x0,_0x4f433f)));}function de(_0x571a33,_0xbf2e27,_0x2d3762){const _0x1a4ec7=_0x965831,_0x2d5109={..._0x571a33[_0x1a4ec7(0xf9)]};_0x2d3762!=null&&_0x2d3762[_0x1a4ec7(0xd1)]&&_0x2d5109[_0x1a4ec7(0x13e)]===_0x1a4ec7(0xd1)&&(_0x2d5109[_0x1a4ec7(0x13e)]=_0x2d3762[_0x1a4ec7(0xd1)]),_0x571a33['tag']===_0x1a4ec7(0x18c)&&_0x2d5109['id']&&(_0x2d5109['id']=_0x2d5109['id']+_0xbf2e27['idSuffix']),Object[_0x1a4ec7(0x17f)](_0x2d5109)[_0x1a4ec7(0x129)](([_0x3636e5,_0x132c5a])=>{const _0x4d2995=_0x1a4ec7;_0x3636e5===_0x4d2995(0x18c)&&typeof _0x132c5a==_0x4d2995(0xa1)&&(_0x2d5109[_0x3636e5]=_0x132c5a['replace'](/url\(#(.*)\)/,_0x4d2995(0x18b)+_0xbf2e27[_0x4d2995(0x10e)]+')'));});const {defIds:_0x167dbf}=_0xbf2e27;return!_0x167dbf||_0x167dbf[_0x1a4ec7(0x179)]===0x0||(_0x571a33[_0x1a4ec7(0xb9)]==='use'&&_0x2d5109[_0x1a4ec7(0xa5)]&&(_0x2d5109[_0x1a4ec7(0xa5)]=_0x2d5109['xlink:href']+_0xbf2e27['idSuffix']),Object[_0x1a4ec7(0x17f)](_0x2d5109)[_0x1a4ec7(0x129)](([_0x517a9e,_0xad1012])=>{const _0x549227=_0x1a4ec7;typeof _0xad1012==_0x549227(0xa1)&&(_0x2d5109[_0x517a9e]=_0xad1012['replace'](/url\(#(.*)\)/,_0x549227(0x18b)+_0xbf2e27[_0x549227(0x10e)]+')'));})),_0x2d5109;}function _e(_0x2b7610,_0x36d6d1){const _0xb8ac9a=_0x965831;var _0x4f24ed;const {defIds:_0xf24268}=_0x36d6d1;return!_0xf24268||_0xf24268[_0xb8ac9a(0x179)]===0x0?_0x2b7610:_0x2b7610['tag']===_0xb8ac9a(0x112)&&((_0x4f24ed=_0x2b7610[_0xb8ac9a(0x190)])!=null&&_0x4f24ed[_0xb8ac9a(0x179)])?{..._0x2b7610,'children':_0x2b7610['children'][_0xb8ac9a(0x171)](_0x4b6056=>typeof _0x4b6056[_0xb8ac9a(0xf9)]['id']=='string'&&_0xf24268&&_0xf24268[_0xb8ac9a(0xd7)](_0x4b6056['attrs']['id'])?{..._0x4b6056,'attrs':{..._0x4b6056[_0xb8ac9a(0xf9)],'id':_0x4b6056[_0xb8ac9a(0xf9)]['id']+_0x36d6d1[_0xb8ac9a(0x10e)]}}:_0x4b6056)}:_0x2b7610;}function Se(){const _0x2f3013=_0x965831;return Math['random']()['toString'](0x24)[_0x2f3013(0x101)](0x2,0x8);}D['displayName']=_0x965831(0x150);const me={'tag':_0x965831(0x102),'attrs':{'xmlns':_0x965831(0xe5),'fill':'none','viewBox':_0x965831(0x131),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'fill':_0x965831(0xee),'clipPath':'url(#history-icon_clip0_907_281)'},'children':[{'tag':_0x965831(0xd2),'attrs':{'d':_0x965831(0xc1)}},{'tag':_0x965831(0xd2),'attrs':{'d':_0x965831(0x106)}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x965831(0x176),'attrs':{'id':'history-icon_clip0_907_281'},'children':[{'tag':_0x965831(0xd2),'attrs':{'fill':'white','d':_0x965831(0xbf)}}]}]}],'defIds':[_0x965831(0xf2)]},$=U[_0x965831(0x10a)](function(_0x557177,_0x4e93b7){const _0x5f22e1=_0x965831;return U['createElement'](D,Object[_0x5f22e1(0xe6)]({},_0x557177,{'id':_0x5f22e1(0x119),'ref':_0x4e93b7,'icon':me}));});$['displayName']='HistoryIcon';var ye=Object[_0x965831(0xa6)],pe=(_0xccead0,_0x30e279,_0x1c9c2b,_0x16bb63)=>{const _0x347017=_0x965831;for(var _0x496136=_0x16bb63>0x1?void 0x0:_0x16bb63?ye(_0x30e279,_0x1c9c2b):_0x30e279,_0x1e7197=_0xccead0[_0x347017(0x179)]-0x1,_0x190ec9;_0x1e7197>=0x0;_0x1e7197--)(_0x190ec9=_0xccead0[_0x1e7197])&&(_0x496136=_0x190ec9(_0x496136)||_0x496136);return _0x496136;},g=(_0x1552e2,_0x33e96f)=>(_0x147706,_0x31bb72)=>_0x33e96f(_0x147706,_0x31bb72,_0x1552e2);const fe='univer-container',H=_0x965831(0x133),y=_0x965831(0xdf);exports[_0x965831(0x17e)]=class extends o[_0x965831(0xb5)]{constructor(_0x2f8f8d,_0x4cafb8,_0x2cc700,_0x4a4e89,_0x31182a,_0x6a8509,_0x5cab2f,_0x2a74b9,_0x530238,_0x287702){const _0x2c54a1=_0x965831;super(),_(this,'_historyUniver$',new O[(_0x2c54a1(0x149))](null)),_(this,_0x2c54a1(0xb6),this[_0x2c54a1(0x16b)]['asObservable']()),_(this,'_disposableCollection',new o[(_0x2c54a1(0x152))]()),_(this,'_pluginMap',new Map()),(this[_0x2c54a1(0xf8)]=_0x2f8f8d,this[_0x2c54a1(0x12a)]=_0x4cafb8,this['_configService']=_0x2cc700,this[_0x2c54a1(0xfb)]=_0x4a4e89,this[_0x2c54a1(0x109)]=_0x31182a,this[_0x2c54a1(0x159)]=_0x6a8509,this[_0x2c54a1(0xc6)]=_0x5cab2f,this[_0x2c54a1(0x114)]=_0x2a74b9,this[_0x2c54a1(0x13f)]=_0x530238,this[_0x2c54a1(0x120)]=_0x287702,this[_0x2c54a1(0xe9)]());}get[_0x965831(0x10d)](){const _0x5c40e4=_0x965831;return this[_0x5c40e4(0x16b)]['value'];}[_0x965831(0xe9)](){const _0x16e816=_0x965831;this['_initContainer'](),this[_0x16e816(0x107)]();}['_initContainer'](){const _0x4fecc3=_0x965831;var _0x54ecf4;const _0x3fa868=(_0x54ecf4=this[_0x4fecc3(0x191)][_0x4fecc3(0xf1)](H))!=null?_0x54ecf4:fe,_0x26c9ea=document['getElementById'](_0x3fa868);if(!_0x26c9ea)return;const _0x4e8664=document[_0x4fecc3(0xc5)](_0x4fecc3(0x130));_0x4e8664['id']=y,_0x4e8664[_0x4fecc3(0x186)][_0x4fecc3(0xef)]=_0x4fecc3(0xae),_0x4e8664['style'][_0x4fecc3(0x177)]=_0x4fecc3(0x172),_0x4e8664[_0x4fecc3(0x10b)][_0x4fecc3(0x14d)]='0',_0x4e8664[_0x4fecc3(0x10b)]['left']='0',_0x4e8664[_0x4fecc3(0x10b)][_0x4fecc3(0xfe)]=_0x4fecc3(0xbd),_0x4e8664['style'][_0x4fecc3(0x14a)]=_0x4fecc3(0xbd),_0x4e8664[_0x4fecc3(0x10b)][_0x4fecc3(0x174)]=_0x4fecc3(0x189),_0x4e8664[_0x4fecc3(0x10b)][_0x4fecc3(0x128)]=_0x4fecc3(0xb7),_0x26c9ea[_0x4fecc3(0xd5)](_0x4e8664);}[_0x965831(0x107)](){const _0x24d8c3=_0x965831;var _0x2aaf0b,_0x426558,_0x52608e,_0x5490e7;[[X[_0x24d8c3(0xab)]],[h[_0x24d8c3(0x15e)],{'container':y,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[h['IDialogService'],null]]}],[ee[_0x24d8c3(0x163)]],[N[_0x24d8c3(0x13a)],{'override':[[N[_0x24d8c3(0xb1)],null]]}],[z['UniverDocsPlugin'],{'hasScroll':!0x1}],[Z[_0x24d8c3(0x11f)]],[ve['UniverSheetsNumfmtPlugin']],[d[_0x24d8c3(0x155)],{'notExecuteFormula':!0x0}],[k[_0x24d8c3(0x143)]],[le[_0x24d8c3(0x11b)]],[ue['UniverSheetsFormulaUIPlugin']],[C[_0x24d8c3(0x16c)]],[ae[_0x24d8c3(0x183)]],[ce[_0x24d8c3(0x110)]],[ie['UniverSheetsConditionalFormattingPlugin']],[te['UniverSheetsConditionalFormattingUIPlugin']],[he[_0x24d8c3(0x188)]],[ge[_0x24d8c3(0xc2)]],[B[_0x24d8c3(0x138)]],[re[_0x24d8c3(0x10c)]],[ne[_0x24d8c3(0xa7)]],[Q[_0x24d8c3(0x151)],{'notExecuteFormula':!0x0}],[R[_0x24d8c3(0x10f)],{'workerURL':(_0x426558=(_0x2aaf0b=this[_0x24d8c3(0x191)][_0x24d8c3(0xf1)](R[_0x24d8c3(0x115)]))==null?void 0x0:_0x2aaf0b[_0x24d8c3(0x15b)])!=null?_0x426558:'./worker.js'}],[J[_0x24d8c3(0x11d)]],[se['UniverSheetsDrawingPlugin']],[oe[_0x24d8c3(0xa3)]],[K['UniverSheetSparklinePlugin']],[W[_0x24d8c3(0xba)]],[V['UniverSheetsChartPlugin']],[G[_0x24d8c3(0x145)]],[Y[_0x24d8c3(0xf4)],{'notExecuteFormula':!0x0}],[m[_0x24d8c3(0x124)],{'historyListServerUrl':(_0x52608e=this[_0x24d8c3(0x191)][_0x24d8c3(0xf1)](b))==null?void 0x0:_0x52608e['historyListServerUrl'],'historyPanelComponentKey':(_0x5490e7=this[_0x24d8c3(0x191)][_0x24d8c3(0xf1)](b))==null?void 0x0:_0x5490e7['historyPanelComponentKey']}]]['forEach'](([_0x4debd5,_0x380864])=>this['registerPlugin'](_0x4debd5,_0x380864));}[_0x965831(0xbc)](){const _0x5cf48f=_0x965831;super['dispose'](),this[_0x5cf48f(0xf7)](),this['_pluginMap'][_0x5cf48f(0x17c)]();}[_0x965831(0x185)](_0x3be768,_0x23ffcf,_0x3b7fb3){const _0x474c6a=_0x965831;if(this[_0x474c6a(0x17b)][_0x474c6a(0xd8)](_0x3be768[_0x474c6a(0x181)])&&!_0x3b7fb3)throw new Error(_0x474c6a(0xd6)+_0x3be768[_0x474c6a(0x181)]+'\x20has\x20been\x20registered.');this[_0x474c6a(0x17b)][_0x474c6a(0x14f)](_0x3be768[_0x474c6a(0x181)],[_0x3be768,_0x23ffcf]);}[_0x965831(0x17a)](){const _0x39ac1c=_0x965831;return Array[_0x39ac1c(0x121)](this[_0x39ac1c(0x17b)][_0x39ac1c(0xd9)]());}['mountHistoryContent'](_0x276fe2){const _0x45456c=_0x965831,_0x3121d5=document[_0x45456c(0x11e)](y);_0x3121d5&&(_0x3121d5[_0x45456c(0x10b)][_0x45456c(0x128)]=_0x45456c(0xeb),this[_0x45456c(0x100)](_0x276fe2,y));}['unMountHistoryContent'](){const _0x22c561=_0x965831;var _0x31bd07;this[_0x22c561(0x15d)]['dispose'](),(_0x31bd07=this[_0x22c561(0x10d)])==null||_0x31bd07['dispose'](),this[_0x22c561(0x16b)][_0x22c561(0x104)](null);const _0x32bebc=document['getElementById'](y);_0x32bebc&&(_0x32bebc[_0x22c561(0x10b)]['display']=_0x22c561(0xb7));}[_0x965831(0x100)](_0x474c0e,_0xfb6486){const _0x36894e=_0x965831;if(this['historyUniver'])return;const _0x5db257=new o['Univer']({'locales':{[this[_0x36894e(0xf8)]['getCurrentLocale']()]:this[_0x36894e(0xf8)][_0x36894e(0x13b)]()},'override':[[o[_0x36894e(0x17d)],{'useClass':p[_0x36894e(0xac)]}]]}),_0x44d18e=_0x5db257[_0x36894e(0x9f)]();this['disposeWithMe'](this[_0x36894e(0x120)][_0x36894e(0x12f)]['subscribe'](_0x351107=>{const _0x111bcb=_0x36894e;_0x44d18e[_0x111bcb(0x105)](o[_0x111bcb(0x184)])[_0x111bcb(0x141)](_0x351107);})),this[_0x36894e(0xed)](this[_0x36894e(0x120)][_0x36894e(0x127)]['subscribe'](_0x1e5552=>{const _0x1a5e84=_0x36894e;_0x44d18e[_0x1a5e84(0x105)](o[_0x1a5e84(0x184)])['setTheme'](_0x1e5552);})),_0x44d18e[_0x36894e(0x105)](o[_0x36894e(0xa2)])[_0x36894e(0xe7)](this[_0x36894e(0xf8)][_0x36894e(0xcf)]()),_0x44d18e[_0x36894e(0x105)](o[_0x36894e(0x14e)])['setConfig'](p[_0x36894e(0xf5)],this['_configService'][_0x36894e(0xf1)](p[_0x36894e(0xf5)]));const _0x1e7f7e=this[_0x36894e(0x191)]['getConfig'](L[_0x36894e(0xcd)]);_0x1e7f7e&&_0x5db257[_0x36894e(0x185)](L['UniverLicensePlugin'],{'license':_0x1e7f7e['ls']}),this[_0x36894e(0x17b)]['forEach'](([_0x47138e,_0x182b7a])=>{const _0x9a2520=_0x36894e;_0x5db257[_0x9a2520(0x185)](_0x47138e,_0x182b7a);}),_0x44d18e[_0x36894e(0x103)](_0x896415=>{this['_initListener'](_0x896415,_0x474c0e);}),this[_0x36894e(0x16b)][_0x36894e(0x104)](_0x5db257);const _0x3a5f33=_0x44d18e[_0x36894e(0x105)](m[_0x36894e(0x12e)]),_0x420116=this[_0x36894e(0xf6)](_0x474c0e);_0x3a5f33[_0x36894e(0xb0)](_0x474c0e,_0xfb6486,_0x420116);}[_0x965831(0x167)](_0x4abf4c,_0x3e8700){const _0x156a71=_0x965831,_0x52c79d=_0x4abf4c[_0x156a71(0x105)](m[_0x156a71(0x12e)]);this['_disposableCollection'][_0x156a71(0x146)](_0x52c79d[_0x156a71(0x160)]['subscribe'](_0x24cde4=>{const _0x546c93=_0x156a71;switch(_0x24cde4){case m['HistoryModeStatus'][_0x546c93(0x116)]:this[_0x546c93(0x114)][_0x546c93(0xdb)](),this[_0x546c93(0x13f)][_0x546c93(0xca)]();break;case m[_0x546c93(0x139)]['Exited']:this[_0x546c93(0xfb)]['executeCommand'](j['id']),this[_0x546c93(0xf7)]();break;case m[_0x546c93(0x139)][_0x546c93(0xe1)]:this[_0x546c93(0xf7)](),this[_0x546c93(0x109)][_0x546c93(0x16a)]({'content':this['_localeService']['t'](_0x546c93(0x18f)),'type':P[_0x546c93(0xfc)][_0x546c93(0xe1)],'duration':0xbb8});break;}})),this[_0x156a71(0x15d)][_0x156a71(0x146)](_0x52c79d[_0x156a71(0x187)][_0x156a71(0xc9)](async _0x5ab924=>{const _0x819cea=_0x156a71;_0x5ab924&&this['_commandService'][_0x819cea(0x117)](C[_0x819cea(0x16f)]['id'],{'unitId':_0x3e8700,'revision':_0x5ab924});}));}[_0x965831(0xf6)](_0x368473){const _0x8e9709=_0x965831,_0x330bd7=this[_0x8e9709(0x12a)][_0x8e9709(0x153)](_0x368473)[_0x8e9709(0x169)]()['map'](_0x35c01c=>_0x35c01c[_0x8e9709(0x158)]()),_0x372b7f=new d['WorkbookEditablePermission'](_0x368473)['id'],_0x2d39dc=_0x330bd7[_0x8e9709(0x171)](_0x522dad=>new d[(_0x8e9709(0xe8))](_0x368473,_0x522dad)['id']),_0x5a7656=_0x330bd7[_0x8e9709(0x171)](_0x4c89cf=>this[_0x8e9709(0xc6)][_0x8e9709(0x148)](_0x368473,_0x4c89cf)[_0x8e9709(0x171)](_0x2a9665=>new d[(_0x8e9709(0x15c))](_0x368473,_0x4c89cf,_0x2a9665[_0x8e9709(0x118)])['id']))['flat'](),_0x5cd6f9=new d[(_0x8e9709(0xda))](_0x368473)['id'];return this[_0x8e9709(0x159)][_0x8e9709(0xe4)]([_0x372b7f,..._0x2d39dc,..._0x5a7656,_0x5cd6f9])[_0x8e9709(0x15a)](_0x1327c6=>!!_0x1327c6[_0x8e9709(0x161)]);}},exports[_0x965831(0x17e)]=pe([g(0x0,o[_0x965831(0xbb)](o[_0x965831(0xa2)])),g(0x1,o['IUniverInstanceService']),g(0x2,o['IConfigService']),g(0x3,o[_0x965831(0x16d)]),g(0x4,h['IMessageService']),g(0x5,o['IPermissionService']),g(0x6,o[_0x965831(0xbb)](d[_0x965831(0x142)])),g(0x7,o[_0x965831(0xbb)](h[_0x965831(0x182)])),g(0x8,o['Inject'](h[_0x965831(0xc3)])),g(0x9,o[_0x965831(0xbb)](o[_0x965831(0x184)]))],exports['HistoryLoaderService']);const M={'id':_0x965831(0x108),'type':o[_0x965831(0x11c)][_0x965831(0x132)],'handler':_0xeffe1=>{const _0x4ce806=_0x965831,_0x477a2a=_0xeffe1['get'](exports[_0x4ce806(0x17e)]),_0x2d3e0e=_0xeffe1['get'](o[_0x4ce806(0xdd)]),{unitId:_0x3013dd}=d[_0x4ce806(0x18d)](_0x2d3e0e)||{};return _0x3013dd?(_0x477a2a[_0x4ce806(0xe3)](_0x3013dd),!0x0):!0x1;}},j={'id':_0x965831(0x178),'type':o[_0x965831(0x11c)][_0x965831(0x132)],'handler':()=>!0x0};function Ce(_0x547f76){const _0x7deca3=_0x965831;return{'id':M['id'],'type':h[_0x7deca3(0xd0)][_0x7deca3(0x156)],'icon':_0x7deca3(0xbe),'tooltip':'editHistory.panel.title','hidden$':h[_0x7deca3(0x14b)](_0x547f76,o[_0x7deca3(0x166)][_0x7deca3(0xdc)]),'disabled$':k[_0x7deca3(0xc7)](_0x547f76,{'workbookTypes':[d['WorkbookEditablePermission'],d[_0x7deca3(0x123)]],'worksheetTypes':[],'rangeTypes':[]})};}const Ie={[h[_0x965831(0x173)]['OTHERS']]:{[M['id']]:{'order':0.2,'menuItemFactory':Ce}}};var Ue=Object[_0x965831(0xa6)],Ee=(_0x2b68bc,_0x1a0e14,_0x58fff5,_0x1f15b9)=>{const _0x5300a4=_0x965831;for(var _0x1985ac=_0x1f15b9>0x1?void 0x0:_0x1f15b9?Ue(_0x1a0e14,_0x58fff5):_0x1a0e14,_0x108f1d=_0x2b68bc[_0x5300a4(0x179)]-0x1,_0x412192;_0x108f1d>=0x0;_0x108f1d--)(_0x412192=_0x2b68bc[_0x108f1d])&&(_0x1985ac=_0x412192(_0x1985ac)||_0x1985ac);return _0x1985ac;},S=(_0x2d44c7,_0x295bb6)=>(_0x3e5b13,_0x5b504e)=>_0x295bb6(_0x3e5b13,_0x5b504e,_0x2d44c7);let E=class extends o[_0x965831(0xf0)]{constructor(_0x49cdb7,_0x3745b9,_0x3e4e4c,_0x589826,_0x342209,_0x2dceaf,_0x4a398c,_0x2ed11f){const _0x2c66a4=_0x965831;super(),_(this,'_revertErrorTimer',null),(this['_commandService']=_0x49cdb7,this['_menuManagerService']=_0x3745b9,this[_0x2c66a4(0x11a)]=_0x3e4e4c,this[_0x2c66a4(0xff)]=_0x589826,this[_0x2c66a4(0xf8)]=_0x342209,this['_messageService']=_0x2dceaf,this[_0x2c66a4(0x13d)]=_0x4a398c,this[_0x2c66a4(0xc8)]=_0x2ed11f,this[_0x2c66a4(0xe9)]());}['_init'](){const _0xc0644d=_0x965831;[M,j][_0xc0644d(0x129)](_0x496514=>this[_0xc0644d(0xed)](o[_0xc0644d(0x125)](this[_0xc0644d(0xfb)][_0xc0644d(0x12d)](_0x496514)))),this[_0xc0644d(0xed)](this[_0xc0644d(0x11a)][_0xc0644d(0x147)]('HistoryIcon',$)),this['_menuManagerService'][_0xc0644d(0x144)](Ie),this[_0xc0644d(0xed)](this[_0xc0644d(0xfb)][_0xc0644d(0x122)](_0x37475f=>{const _0x4111a1=_0xc0644d;if(_0x37475f['id']===C[_0x4111a1(0x16f)]['id']){this['_messageService'][_0x4111a1(0x16a)]({'content':this[_0x4111a1(0xf8)]['t'](_0x4111a1(0x111)),'type':P[_0x4111a1(0xfc)][_0x4111a1(0xa9)],'duration':0x1388});const {unitId:_0x1d44bb}=_0x37475f[_0x4111a1(0x134)],_0x14942d=this[_0x4111a1(0x13d)][_0x4111a1(0xe2)](_0x1d44bb),_0x5ca6ef=O[_0x4111a1(0x175)]([_0x14942d[_0x4111a1(0x12c)]['event$'],_0x14942d[_0x4111a1(0xb2)]])[_0x4111a1(0xc9)](async([_0x3d1ce4,_0x47944b])=>{const _0x3f7402=_0x4111a1;var _0xc1695f;_0x3d1ce4['eventID']===C[_0x3f7402(0x18e)][_0x3f7402(0xde)]&&(_0x47944b==null?void 0x0:_0x47944b['status'])===p['CollaborationStatus'][_0x3f7402(0xf3)]&&_0x3d1ce4['data'][_0x3f7402(0x180)]['some'](_0xee55c4=>_0xee55c4['id']===C[_0x3f7402(0x16f)]['id'])&&(this['_historyManagerService'][_0x3f7402(0xf7)](),_0x5ca6ef['unsubscribe'](),this['_revertErrorTimer']&&clearTimeout(this[_0x3f7402(0xaf)]),await((_0xc1695f=this[_0x3f7402(0xc8)])==null?void 0x0:_0xc1695f[_0x3f7402(0x157)]()),setTimeout(()=>window[_0x3f7402(0x168)][_0x3f7402(0xad)]()));});this['_revertErrorTimer']=setTimeout(()=>{const _0xc9b8c2=_0x4111a1;_0x5ca6ef[_0xc9b8c2(0x170)](),this[_0xc9b8c2(0x109)][_0xc9b8c2(0x16a)]({'content':this[_0xc9b8c2(0xf8)]['t'](_0xc9b8c2(0xec)),'type':P['MessageType'][_0xc9b8c2(0xe1)],'duration':0xbb8});},0x1388);}}));}};E=Ee([S(0x0,o[_0x965831(0x16d)]),S(0x1,h[_0x965831(0xd3)]),S(0x2,o[_0x965831(0xbb)](h[_0x965831(0xce)])),S(0x3,o[_0x965831(0xbb)](exports['HistoryLoaderService'])),S(0x4,o[_0x965831(0xbb)](o[_0x965831(0xa2)])),S(0x5,h['IMessageService']),S(0x6,o[_0x965831(0xbb)](p[_0x965831(0x135)])),S(0x7,p['ILocalCacheService'])],E);var Pe=Object['getOwnPropertyDescriptor'],be=(_0x1cf238,_0x1b3c97,_0x2d7272,_0x13298a)=>{const _0x3ae122=_0x965831;for(var _0x1a8c7e=_0x13298a>0x1?void 0x0:_0x13298a?Pe(_0x1b3c97,_0x2d7272):_0x1b3c97,_0x500075=_0x1cf238[_0x3ae122(0x179)]-0x1,_0x4b04ef;_0x500075>=0x0;_0x500075--)(_0x4b04ef=_0x1cf238[_0x500075])&&(_0x1a8c7e=_0x4b04ef(_0x1a8c7e)||_0x1a8c7e);return _0x1a8c7e;},w=(_0xbf6c94,_0xb2cb20)=>(_0x113a21,_0x3e1ef4)=>_0xb2cb20(_0x113a21,_0x3e1ef4,_0xbf6c94);const He=_0x965831(0x165);var I;exports[_0x965831(0x126)]=(I=class extends o[_0x965831(0x164)]{constructor(_0x48f51e=T,_0x48db7f,_0x5f45eb){const _0x41ab3f=_0x965831;super(),this[_0x41ab3f(0xea)]=_0x48f51e,this[_0x41ab3f(0xaa)]=_0x48db7f,this['_configService']=_0x5f45eb;const {menu:_0x43b9a5,..._0x2653d9}=o[_0x41ab3f(0xe0)]({},T,this[_0x41ab3f(0xea)]);_0x43b9a5&&this[_0x41ab3f(0x191)][_0x41ab3f(0x162)](_0x41ab3f(0xa8),_0x43b9a5,{'merge':!0x0}),this[_0x41ab3f(0x191)]['setConfig'](b,_0x2653d9),this[_0x41ab3f(0xea)]['univerContainerId']&&this[_0x41ab3f(0x191)][_0x41ab3f(0x162)](H,this['_config']['univerContainerId']);}[_0x965831(0x18a)](){const _0x4af759=_0x965831;[[exports['HistoryLoaderService']],[E]][_0x4af759(0x129)](_0x5ecdbe=>this[_0x4af759(0xaa)][_0x4af759(0x146)](_0x5ecdbe));}['onSteady'](){this['_injector']['get'](E);}},_(I,_0x965831(0x154),o[_0x965831(0x166)][_0x965831(0x12b)]),_(I,'pluginName',He),I),exports[_0x965831(0x126)]=be([w(0x1,o['Inject'](o['Injector'])),w(0x2,o[_0x965831(0x14e)])],exports[_0x965831(0x126)]),exports[_0x965831(0xa4)]=H,exports[_0x965831(0xfd)]=y;function _0x11b2(){const _0x3a3753=['defs','symbol','_dialogService','PLUGIN_CONFIG_KEY_MAIN_THREAD','Entered','executeCommand','permissionId','history-icon','_componentManager','UniverSheetsFormulaPlugin','CommandType','UniverDrawingUIPlugin','getElementById','UniverDocsUIPlugin','_themeService','from','onCommandExecuted','WorkbookViewHistoryPermission','UniverEditHistoryViewerPlugin','toDisposable','UniverEditHistoryLoaderPlugin','currentTheme$','display','forEach','_univerInstanceService','UNIVER_UNKNOWN','session','registerCommand','HistoryManagerService','darkMode$','div','0\x200\x2016\x2016','OPERATION','UNIVER_CONTAINER_ID','params','CollaborationController','252azVXsW','Module','UniverDataValidationPlugin','HistoryModeStatus','UniverDrawingPlugin','getLocales','384747CtaSYi','_collaborationController','fill','_sidebarService','3OBMZzF','setDarkMode','RangeProtectionRuleModel','UniverSheetsUIPlugin','mergeMenu','UniverSheetsChartUIPlugin','add','register','getSubunitRuleList','BehaviorSubject','height','getMenuHiddenObservable','edit-history-loader.config','top','IConfigService','set','UniverIcon','UniverFormulaEnginePlugin','DisposableCollection','getUnit','type','UniverSheetsPlugin','BUTTON','exhaustSavingTask','getSheetId','_permissionService','every','workerURL','RangeProtectionPermissionEditPoint','_disposableCollection','UniverUIPlugin','trim','status$','value','setConfig','UniverNetworkPlugin','Plugin','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','UniverInstanceType','_initListener','location','getSheets','show','_historyUniver$','UniverCollaborationPlugin','ICommandService','5641335BpRFIR','RevertRevisionMutation','unsubscribe','map','absolute','RibbonStartGroup','zIndex','combineLatest','clipPath','position','univer.operation.exit-edit-history','length','getAllPlugins','_pluginMap','clear','IAuthzIoService','HistoryLoaderService','entries','mutations','pluginName','IDialogService','UniverSheetsFilterPlugin','ThemeService','registerPlugin','dataset','revertRevision$','UniverSheetsHyperLinkPlugin','1000','onStarting','url(#$1','mask','getSheetCommandTarget','CollaborationEvent','editHistory.panel.listFetchError','children','_configService','__getInjector','1324396ewnvwN','string','LocaleService','UniverSheetsDrawingUIPlugin','UNIVER_CONTAINER_ID_KEY','xlink:href','getOwnPropertyDescriptor','UniverSheetsDataValidationUIPlugin','menu','Loading','_injector','UniverRenderEnginePlugin','AuthzIoHttpService','reload','history-container','_revertErrorTimer','triggerLoadVersions','IImageIoService','state$','current','815225lnFCTH','Disposable','historyUniver$','none','315384POCOzx','tag','UniverSheetSparklineUIPlugin','Inject','dispose','100%','HistoryIcon','M0\x200H16V16H0z','610lVTQnP','M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z','UniverSheetsHyperLinkUIPlugin','ISidebarService','useRef','createElement','_selectionProtectionRuleModel','getCurrentRangeDisable$','_localCacheService','subscribe','close','14130576qLSPvp','5503890nBPfUg','LS_CONFIG_KEY','ComponentManager','getCurrentLocale','MenuItemType','colorChannel1','path','IMenuManagerService','univerjs-icon\x20univerjs-icon-','appendChild','[HistoryLoaderService]:\x20Plugin\x20','includes','has','values','WorkbookRecoverHistoryPermission','closeAll','UNIVER_SHEET','IUniverInstanceService','CHANGESET_ACK','univer-history-container','merge','Error','getCollabEntity','mountHistoryContent','composePermission','http://www.w3.org/2000/svg','assign','setLocale','WorksheetEditPermission','_init','_config','block','editHistory.panel.revertFailed','disposeWithMe','currentColor','uComp','RxDisposable','getConfig','history-icon_clip0_907_281','SYNCED','UniverSheetsPivotTablePlugin','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_checkCanRevert','unMountHistoryContent','_localeService','attrs','2AQHArX','_commandService','MessageType','UNIVER_HISTORY_CONTAINER_ID','width','_historyManagerService','_initUniver','substring','svg','invoke','next','get','M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z','_initPlugins','univer.operation.toggle-edit-history','_messageService','forwardRef','style','UniverSheetsDataValidationPlugin','historyUniver','idSuffix','UniverRPCMainThreadPlugin','UniverSheetsFilterUIPlugin','editHistory.panel.reverting'];_0x11b2=function(){return _0x3a3753;};return _0x11b2();}
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
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};
|
|
1
|
+
const _0x474f99=_0x5023;(function(_0x2ab425,_0x203f8b){const _0x21bde4=_0x5023,_0x1798bd=_0x2ab425();while(!![]){try{const _0x2aca42=parseInt(_0x21bde4(0x134))/0x1+-parseInt(_0x21bde4(0x126))/0x2+-parseInt(_0x21bde4(0x140))/0x3+parseInt(_0x21bde4(0x135))/0x4+-parseInt(_0x21bde4(0x1b2))/0x5+-parseInt(_0x21bde4(0x18f))/0x6+parseInt(_0x21bde4(0x150))/0x7*(parseInt(_0x21bde4(0x12c))/0x8);if(_0x2aca42===_0x203f8b)break;else _0x1798bd['push'](_0x1798bd['shift']());}catch(_0x1e5d6f){_0x1798bd['push'](_0x1798bd['shift']());}}}(_0x28be,0xad2c2));var Y=Object[_0x474f99(0x143)],B=(_0x23e6f7,_0x4a5331,_0x33e9f0)=>_0x4a5331 in _0x23e6f7?Y(_0x23e6f7,_0x4a5331,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x33e9f0}):_0x23e6f7[_0x4a5331]=_0x33e9f0,g=(_0xf030b0,_0x2f3846,_0x1b9a0a)=>B(_0xf030b0,typeof _0x2f3846!='symbol'?_0x2f3846+'':_0x2f3846,_0x1b9a0a);import{Inject as _0x5239a5,LocaleService as _0x1f43c6,IUniverInstanceService as _0x47550e,IConfigService as _0x3f79c4,ICommandService as _0x304d5c,IPermissionService as _0x5b946d,ThemeService as _0x444266,Disposable as _0x4024c5,DisposableCollection as _0x46a17b,Univer as _0x25cb3d,IAuthzIoService as _0xdc156e,CommandType as _0x494ac0,UniverInstanceType as _0x58f400,RxDisposable as _0x393998,toDisposable as _0x186139,Plugin as _0x4b30da,merge as _0x305d35,Injector as _0x1df0f6}from'@univerjs/core';import{UniverCollaborationPlugin as _0x3c66e7,RevertRevisionMutation as _0x110233,CollaborationEvent as _0x279cb0}from'@univerjs-pro/collaboration';import{AuthzIoHttpService as _0x367bcc,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x30e7fb,CollaborationController as _0x4954bc,ILocalCacheService as _0x12a6b5,CollaborationStatus as _0x17a777}from'@univerjs-pro/collaboration-client';import{MessageType as _0x362cde}from'@univerjs/design';import{useRef as _0x4a0ba1,createElement as _0x20ae27,forwardRef as _0x3b370b}from'react';import{IMessageService as _0x1ccc3b,IDialogService as _0x5a4374,ISidebarService as _0x26460b,UniverUIPlugin as _0x27ab6a,getMenuHiddenObservable as _0x5ac2c9,MenuItemType as _0x31aed6,RibbonStartGroup as _0x578bb9,IMenuManagerService as _0x1c0e00,ComponentManager as _0x5aace3}from'@univerjs/ui';import{BehaviorSubject as _0x232a5c,combineLatest as _0x2318d6}from'rxjs';import{RangeProtectionRuleModel as _0x43bf69,UniverSheetsPlugin as _0x41283d,WorkbookEditablePermission as _0x3bb4fd,WorksheetEditPermission as _0x1c5abc,RangeProtectionPermissionEditPoint as _0x4078bc,WorkbookRecoverHistoryPermission as _0x1945f8,getSheetCommandTarget as _0xcdc9ce,WorkbookViewHistoryPermission as _0x9c8c8a}from'@univerjs/sheets';import{UniverEditHistoryViewerPlugin as _0x70daa7,HistoryManagerService as _0x4c34fb,HistoryModeStatus as _0x540d3a}from'@univerjs-pro/edit-history-viewer';import{LS_CONFIG_KEY as _0x174fb6,UniverLicensePlugin as _0x357bab}from'@univerjs-pro/license';import{UniverSheetsChartPlugin as _0x5a993f}from'@univerjs-pro/sheets-chart';import{UniverSheetsChartUIPlugin as _0x19720f}from'@univerjs-pro/sheets-chart-ui';import{UniverSheetsPivotTablePlugin as _0x3598f1}from'@univerjs-pro/sheets-pivot';import{UniverSheetSparklinePlugin as _0x24c94b}from'@univerjs-pro/sheets-sparkline';import{UniverSheetSparklineUIPlugin as _0x47f339}from'@univerjs-pro/sheets-sparkline-ui';function _0x28be(){const _0x59cf6=['location','_sidebarService','getSheetId','random','top','UNIVER_CONTAINER_ID','path','idSuffix','onStarting','univer-container','_componentManager','svg','event$','session','onCommandExecuted','historyUniver','setTheme','_pluginMap','replace','defs','univer.operation.exit-edit-history','next','Error','_historyUniver$','_selectionProtectionRuleModel','1000','dispose','Exited','display','Loading','register','get','Entered','_initPlugins','use','6084132gTcCDr','includes','__getInjector','add','setConfig','div','edit-history-loader.config','M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z','closeAll','string','mask','mergeMenu','_collaborationController','assign','from','dataset','getAllPlugins','_univerInstanceService','position','revertRevision$','unsubscribe','history-container','_messageService','registerCommand','params','url(#$1','darkMode$','_menuManagerService','values','exhaustSavingTask','some','editHistory.panel.reverting','currentTheme$','appendChild','UNIVER_UNKNOWN','4489435PcCLWX','subscribe','toString','[HistoryLoaderService]:\x20Plugin\x20','univer.operation.toggle-edit-history','univerjs-icon\x20univerjs-icon-','getOwnPropertyDescriptor','getSheets','_localCacheService','historyListServerUrl','forEach','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','_initListener','_injector','getConfig','map','none','displayName','height','attrs','history-icon','UNIVER_SHEET','getLocales','_disposableCollection','children','_historyManagerService','BUTTON','status$','678444eNhAGI','history-icon_clip0_907_281','./worker.js','0\x200\x2016\x2016','mutations','executeCommand','533944DMLPeG','_themeService','has','getCurrentLocale','eventID','permissionId','tag','block','283455SCSdYm','1710676ikzisn','100%','SYNCED','univerContainerId','style','mountHistoryContent','flat','menu','registerPlugin','unMountHistoryContent','OTHERS','2662800SZMchG','pluginName','_permissionService','defineProperty','absolute','_commandService','_config','uComp','_initContainer','substring','status','1em','defIds','getCollabEntity','fill','UniverIcon','329ynQoEq','HistoryIcon','xlink:href','_checkCanRevert','editHistory.panel.listFetchError','getElementById','_localeService','value','every','reload','show','_revertErrorTimer','setDarkMode','_init','_initUniver','M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z','getUnit','entries','_configService','_dialogService','colorChannel1','zIndex','editHistory.panel.title','OPERATION','getSubunitRuleList','close','disposeWithMe','length'];_0x28be=function(){return _0x59cf6;};return _0x28be();}import{UniverDataValidationPlugin as _0x5c6d91}from'@univerjs/data-validation';import{UniverDocsPlugin as _0x3849d0}from'@univerjs/docs';import{UniverDocsUIPlugin as _0x28e9cf}from'@univerjs/docs-ui';import{UniverDrawingPlugin as _0x419d32,IImageIoService as _0x6a6720}from'@univerjs/drawing';import{UniverDrawingUIPlugin as _0x22adfb}from'@univerjs/drawing-ui';import{UniverFormulaEnginePlugin as _0x1f6231}from'@univerjs/engine-formula';import{UniverRenderEnginePlugin as _0x1a37a9}from'@univerjs/engine-render';import{UniverNetworkPlugin as _0x29b2da}from'@univerjs/network';import{UniverRPCMainThreadPlugin as _0x262848,PLUGIN_CONFIG_KEY_MAIN_THREAD as _0xef77c3}from'@univerjs/rpc';import{UniverSheetsConditionalFormattingPlugin as _0x18ca24}from'@univerjs/sheets-conditional-formatting';import{UniverSheetsConditionalFormattingUIPlugin as _0x1c5c8b}from'@univerjs/sheets-conditional-formatting-ui';import{UniverSheetsDataValidationPlugin as _0x43d078}from'@univerjs/sheets-data-validation';import{UniverSheetsDataValidationUIPlugin as _0x49993a}from'@univerjs/sheets-data-validation-ui';import{UniverSheetsDrawingPlugin as _0x39ec22}from'@univerjs/sheets-drawing';import{UniverSheetsDrawingUIPlugin as _0x5af344}from'@univerjs/sheets-drawing-ui';import{UniverSheetsFilterPlugin as _0xb2796b}from'@univerjs/sheets-filter';import{UniverSheetsFilterUIPlugin as _0x348c41}from'@univerjs/sheets-filter-ui';import{UniverSheetsFormulaPlugin as _0x1ca573}from'@univerjs/sheets-formula';import{UniverSheetsFormulaUIPlugin as _0x10c8fd}from'@univerjs/sheets-formula-ui';import{UniverSheetsHyperLinkPlugin as _0x3639b0}from'@univerjs/sheets-hyper-link';import{UniverSheetsHyperLinkUIPlugin as _0x448025}from'@univerjs/sheets-hyper-link-ui';import{UniverSheetsNumfmtPlugin as _0x4d5f27}from'@univerjs/sheets-numfmt';function _0x5023(_0x13460e,_0x23768c){_0x13460e=_0x13460e-0x111;const _0x28be68=_0x28be();let _0x5023e9=_0x28be68[_0x13460e];return _0x5023e9;}import{UniverSheetsUIPlugin as _0x49a3ef,getCurrentRangeDisable$ as _0x1eda80}from'@univerjs/sheets-ui';const U=_0x474f99(0x195),N={};function F({ref:_0x1f036f,..._0x1b815c}){const _0x493ad1=_0x474f99,{icon:_0x213845,id:_0x34fa0e,className:_0x3f356e,extend:_0x1147a6,..._0x128cdb}=_0x1b815c,_0x2b023a=(_0x493ad1(0x1b7)+_0x34fa0e+'\x20'+(_0x3f356e||''))['trim'](),_0x322212=_0x4a0ba1('_'+hi());return j(_0x213845,''+_0x34fa0e,{'defIds':_0x213845[_0x493ad1(0x14c)],'idSuffix':_0x322212['current']},{'ref':_0x1f036f,'className':_0x2b023a,..._0x128cdb},_0x1147a6);}function j(_0x27ce9f,_0x14cec3,_0x3365f2,_0x41f94b,_0x437527){const _0x8eab3a=_0x474f99;return _0x20ae27(_0x27ce9f['tag'],{'key':_0x14cec3,...ci(_0x27ce9f,_0x3365f2,_0x437527),..._0x41f94b},(li(_0x27ce9f,_0x3365f2)[_0x8eab3a(0x122)]||[])['map']((_0x27d2ee,_0x37ce78)=>j(_0x27d2ee,_0x14cec3+'-'+_0x27ce9f['tag']+'-'+_0x37ce78,_0x3365f2,void 0x0,_0x437527)));}function ci(_0x2cd7ab,_0x13af48,_0x251e6b){const _0x447e17=_0x474f99,_0x4ed237={..._0x2cd7ab['attrs']};_0x251e6b!=null&&_0x251e6b[_0x447e17(0x164)]&&_0x4ed237[_0x447e17(0x14e)]===_0x447e17(0x164)&&(_0x4ed237[_0x447e17(0x14e)]=_0x251e6b['colorChannel1']),_0x2cd7ab[_0x447e17(0x132)]===_0x447e17(0x199)&&_0x4ed237['id']&&(_0x4ed237['id']=_0x4ed237['id']+_0x13af48[_0x447e17(0x173)]),Object[_0x447e17(0x161)](_0x4ed237)['forEach'](([_0x4e2578,_0x509c66])=>{const _0x5374f9=_0x447e17;_0x4e2578===_0x5374f9(0x199)&&typeof _0x509c66==_0x5374f9(0x198)&&(_0x4ed237[_0x4e2578]=_0x509c66['replace'](/url\(#(.*)\)/,_0x5374f9(0x1a8)+_0x13af48['idSuffix']+')'));});const {defIds:_0x2bbada}=_0x13af48;return!_0x2bbada||_0x2bbada[_0x447e17(0x16b)]===0x0||(_0x2cd7ab['tag']===_0x447e17(0x18e)&&_0x4ed237[_0x447e17(0x152)]&&(_0x4ed237[_0x447e17(0x152)]=_0x4ed237[_0x447e17(0x152)]+_0x13af48['idSuffix']),Object['entries'](_0x4ed237)[_0x447e17(0x114)](([_0x1a5e5d,_0x2c762b])=>{const _0x4a3b7e=_0x447e17;typeof _0x2c762b==_0x4a3b7e(0x198)&&(_0x4ed237[_0x1a5e5d]=_0x2c762b[_0x4a3b7e(0x17e)](/url\(#(.*)\)/,_0x4a3b7e(0x1a8)+_0x13af48['idSuffix']+')'));})),_0x4ed237;}function li(_0x1989d9,_0x44277a){const _0x498341=_0x474f99;var _0x4ae3bd;const {defIds:_0x5662b4}=_0x44277a;return!_0x5662b4||_0x5662b4[_0x498341(0x16b)]===0x0?_0x1989d9:_0x1989d9[_0x498341(0x132)]===_0x498341(0x17f)&&((_0x4ae3bd=_0x1989d9['children'])!=null&&_0x4ae3bd[_0x498341(0x16b)])?{..._0x1989d9,'children':_0x1989d9['children'][_0x498341(0x119)](_0x4d4662=>typeof _0x4d4662['attrs']['id']==_0x498341(0x198)&&_0x5662b4&&_0x5662b4[_0x498341(0x190)](_0x4d4662[_0x498341(0x11d)]['id'])?{..._0x4d4662,'attrs':{..._0x4d4662[_0x498341(0x11d)],'id':_0x4d4662[_0x498341(0x11d)]['id']+_0x44277a[_0x498341(0x173)]}}:_0x4d4662)}:_0x1989d9;}function hi(){const _0x1182b0=_0x474f99;return Math[_0x1182b0(0x16f)]()[_0x1182b0(0x1b4)](0x24)[_0x1182b0(0x149)](0x2,0x8);}F[_0x474f99(0x11b)]=_0x474f99(0x14f);const ui={'tag':_0x474f99(0x177),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x474f99(0x11a),'viewBox':_0x474f99(0x129),'width':'1em','height':_0x474f99(0x14b)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':'url(#history-icon_clip0_907_281)'},'children':[{'tag':'path','attrs':{'d':_0x474f99(0x15f)}},{'tag':_0x474f99(0x172),'attrs':{'d':_0x474f99(0x196)}}]},{'tag':_0x474f99(0x17f),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x474f99(0x127)},'children':[{'tag':_0x474f99(0x172),'attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x474f99(0x127)]},V=_0x3b370b(function(_0xde3353,_0x16fbcc){const _0x209bf3=_0x474f99;return _0x20ae27(F,Object[_0x209bf3(0x19c)]({},_0xde3353,{'id':_0x209bf3(0x11e),'ref':_0x16fbcc,'icon':ui}));});V[_0x474f99(0x11b)]=_0x474f99(0x151);var gi=Object['getOwnPropertyDescriptor'],mi=(_0x2e05ab,_0xf24d31,_0x28daeb,_0x533986)=>{const _0x524cf4=_0x474f99;for(var _0x402611=_0x533986>0x1?void 0x0:_0x533986?gi(_0xf24d31,_0x28daeb):_0xf24d31,_0x419f2f=_0x2e05ab[_0x524cf4(0x16b)]-0x1,_0x40a6df;_0x419f2f>=0x0;_0x419f2f--)(_0x40a6df=_0x2e05ab[_0x419f2f])&&(_0x402611=_0x40a6df(_0x402611)||_0x402611);return _0x402611;},l=(_0x443cb7,_0x2dca8f)=>(_0x22d1dc,_0x53d768)=>_0x2dca8f(_0x22d1dc,_0x53d768,_0x443cb7);const vi=_0x474f99(0x175),G=_0x474f99(0x171),d='univer-history-container';let f=class extends _0x4024c5{constructor(_0x49f981,_0x5d6dcb,_0x4b8aaa,_0x5d8a3d,_0x4ad078,_0x218f35,_0x3dcefb,_0x12838b,_0x1008c0,_0x22ea34){const _0x536fd8=_0x474f99;super(),g(this,_0x536fd8(0x183),new _0x232a5c(null)),g(this,'historyUniver$',this['_historyUniver$']['asObservable']()),g(this,'_disposableCollection',new _0x46a17b()),g(this,_0x536fd8(0x17d),new Map()),(this[_0x536fd8(0x156)]=_0x49f981,this['_univerInstanceService']=_0x5d6dcb,this['_configService']=_0x4b8aaa,this[_0x536fd8(0x145)]=_0x5d8a3d,this[_0x536fd8(0x1a5)]=_0x4ad078,this[_0x536fd8(0x142)]=_0x218f35,this['_selectionProtectionRuleModel']=_0x3dcefb,this[_0x536fd8(0x163)]=_0x12838b,this[_0x536fd8(0x16d)]=_0x1008c0,this[_0x536fd8(0x12d)]=_0x22ea34,this[_0x536fd8(0x15d)]());}get[_0x474f99(0x17b)](){const _0x36062a=_0x474f99;return this[_0x36062a(0x183)][_0x36062a(0x157)];}[_0x474f99(0x15d)](){const _0x1edded=_0x474f99;this['_initContainer'](),this[_0x1edded(0x18d)]();}[_0x474f99(0x148)](){const _0x30031f=_0x474f99;var _0x526b2a;const _0xe0cfe3=(_0x526b2a=this['_configService'][_0x30031f(0x118)](G))!=null?_0x526b2a:vi,_0x297865=document[_0x30031f(0x155)](_0xe0cfe3);if(!_0x297865)return;const _0x5a21b6=document['createElement'](_0x30031f(0x194));_0x5a21b6['id']=d,_0x5a21b6[_0x30031f(0x19e)][_0x30031f(0x147)]=_0x30031f(0x1a4),_0x5a21b6[_0x30031f(0x139)][_0x30031f(0x1a1)]=_0x30031f(0x144),_0x5a21b6['style'][_0x30031f(0x170)]='0',_0x5a21b6[_0x30031f(0x139)]['left']='0',_0x5a21b6[_0x30031f(0x139)]['width']=_0x30031f(0x136),_0x5a21b6[_0x30031f(0x139)][_0x30031f(0x11c)]=_0x30031f(0x136),_0x5a21b6[_0x30031f(0x139)][_0x30031f(0x165)]=_0x30031f(0x185),_0x5a21b6[_0x30031f(0x139)]['display']='none',_0x297865[_0x30031f(0x1b0)](_0x5a21b6);}[_0x474f99(0x18d)](){const _0x2f76b7=_0x474f99;var _0x326bc4,_0x4c8d1c,_0x526a8f,_0x1892ce;[[_0x1a37a9],[_0x27ab6a,{'container':d,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x5a4374,null]]}],[_0x29b2da],[_0x419d32,{'override':[[_0x6a6720,null]]}],[_0x3849d0,{'hasScroll':!0x1}],[_0x28e9cf],[_0x4d5f27],[_0x41283d,{'notExecuteFormula':!0x0}],[_0x49a3ef],[_0x1ca573],[_0x10c8fd],[_0x3c66e7],[_0xb2796b],[_0x348c41],[_0x18ca24],[_0x1c5c8b],[_0x3639b0],[_0x448025],[_0x5c6d91],[_0x43d078],[_0x49993a],[_0x1f6231,{'notExecuteFormula':!0x0}],[_0x262848,{'workerURL':(_0x4c8d1c=(_0x326bc4=this[_0x2f76b7(0x162)]['getConfig'](_0xef77c3))==null?void 0x0:_0x326bc4['workerURL'])!=null?_0x4c8d1c:_0x2f76b7(0x128)}],[_0x22adfb],[_0x39ec22],[_0x5af344],[_0x24c94b],[_0x47f339],[_0x5a993f],[_0x19720f],[_0x3598f1,{'notExecuteFormula':!0x0}],[_0x70daa7,{'historyListServerUrl':(_0x526a8f=this[_0x2f76b7(0x162)][_0x2f76b7(0x118)](U))==null?void 0x0:_0x526a8f[_0x2f76b7(0x113)],'historyPanelComponentKey':(_0x1892ce=this[_0x2f76b7(0x162)]['getConfig'](U))==null?void 0x0:_0x1892ce['historyPanelComponentKey']}]][_0x2f76b7(0x114)](([_0x20ad8e,_0x13b17c])=>this[_0x2f76b7(0x13d)](_0x20ad8e,_0x13b17c));}['dispose'](){const _0x12d7f3=_0x474f99;super[_0x12d7f3(0x186)](),this[_0x12d7f3(0x13e)](),this['_pluginMap']['clear']();}[_0x474f99(0x13d)](_0x2aaf42,_0x3e8179,_0x18cbb1){const _0x1b487c=_0x474f99;if(this[_0x1b487c(0x17d)][_0x1b487c(0x12e)](_0x2aaf42['pluginName'])&&!_0x18cbb1)throw new Error(_0x1b487c(0x1b5)+_0x2aaf42[_0x1b487c(0x141)]+'\x20has\x20been\x20registered.');this[_0x1b487c(0x17d)]['set'](_0x2aaf42[_0x1b487c(0x141)],[_0x2aaf42,_0x3e8179]);}[_0x474f99(0x19f)](){const _0x27f8f4=_0x474f99;return Array[_0x27f8f4(0x19d)](this[_0x27f8f4(0x17d)][_0x27f8f4(0x1ab)]());}['mountHistoryContent'](_0x46255b){const _0x5250a0=_0x474f99,_0x57263e=document[_0x5250a0(0x155)](d);_0x57263e&&(_0x57263e[_0x5250a0(0x139)][_0x5250a0(0x188)]=_0x5250a0(0x133),this['_initUniver'](_0x46255b,d));}[_0x474f99(0x13e)](){const _0x4236c6=_0x474f99;var _0x373dc4;this[_0x4236c6(0x121)][_0x4236c6(0x186)](),(_0x373dc4=this['historyUniver'])==null||_0x373dc4['dispose'](),this[_0x4236c6(0x183)][_0x4236c6(0x181)](null);const _0x24645a=document[_0x4236c6(0x155)](d);_0x24645a&&(_0x24645a['style'][_0x4236c6(0x188)]=_0x4236c6(0x11a));}[_0x474f99(0x15e)](_0x259374,_0xb1b57e){const _0x35affe=_0x474f99;if(this[_0x35affe(0x17b)])return;const _0x5bbc99=new _0x25cb3d({'locales':{[this[_0x35affe(0x156)]['getCurrentLocale']()]:this[_0x35affe(0x156)][_0x35affe(0x120)]()},'override':[[_0xdc156e,{'useClass':_0x367bcc}]]}),_0x1f5f89=_0x5bbc99[_0x35affe(0x191)]();this[_0x35affe(0x16a)](this['_themeService'][_0x35affe(0x1a9)][_0x35affe(0x1b3)](_0x4b221e=>{const _0x53614b=_0x35affe;_0x1f5f89['get'](_0x444266)[_0x53614b(0x15c)](_0x4b221e);})),this[_0x35affe(0x16a)](this[_0x35affe(0x12d)][_0x35affe(0x1af)][_0x35affe(0x1b3)](_0x19df71=>{const _0x2db6f8=_0x35affe;_0x1f5f89[_0x2db6f8(0x18b)](_0x444266)[_0x2db6f8(0x17c)](_0x19df71);})),_0x1f5f89[_0x35affe(0x18b)](_0x1f43c6)['setLocale'](this[_0x35affe(0x156)][_0x35affe(0x12f)]()),_0x1f5f89[_0x35affe(0x18b)](_0x3f79c4)[_0x35affe(0x193)](_0x30e7fb,this[_0x35affe(0x162)][_0x35affe(0x118)](_0x30e7fb));const _0x18da77=this[_0x35affe(0x162)][_0x35affe(0x118)](_0x174fb6);_0x18da77&&_0x5bbc99[_0x35affe(0x13d)](_0x357bab,{'license':_0x18da77['ls']}),this[_0x35affe(0x17d)][_0x35affe(0x114)](([_0x13c06d,_0x21b54a])=>{_0x5bbc99['registerPlugin'](_0x13c06d,_0x21b54a);}),_0x1f5f89['invoke'](_0x5e9235=>{const _0xe39c1c=_0x35affe;this[_0xe39c1c(0x116)](_0x5e9235,_0x259374);}),this[_0x35affe(0x183)][_0x35affe(0x181)](_0x5bbc99);const _0x27ef4a=_0x1f5f89[_0x35affe(0x18b)](_0x4c34fb),_0x37ed86=this[_0x35affe(0x153)](_0x259374);_0x27ef4a['triggerLoadVersions'](_0x259374,_0xb1b57e,_0x37ed86);}[_0x474f99(0x116)](_0x2879ef,_0xc40525){const _0x355607=_0x474f99,_0x271e43=_0x2879ef[_0x355607(0x18b)](_0x4c34fb);this[_0x355607(0x121)][_0x355607(0x192)](_0x271e43[_0x355607(0x125)][_0x355607(0x1b3)](_0x149638=>{const _0x3268fd=_0x355607;switch(_0x149638){case _0x540d3a[_0x3268fd(0x18c)]:this['_dialogService'][_0x3268fd(0x197)](),this[_0x3268fd(0x16d)][_0x3268fd(0x169)]();break;case _0x540d3a[_0x3268fd(0x187)]:this[_0x3268fd(0x145)][_0x3268fd(0x12b)](W['id']),this['unMountHistoryContent']();break;case _0x540d3a[_0x3268fd(0x182)]:this[_0x3268fd(0x13e)](),this[_0x3268fd(0x1a5)]['show']({'content':this['_localeService']['t'](_0x3268fd(0x154)),'type':_0x362cde['Error'],'duration':0xbb8});break;}})),this[_0x355607(0x121)][_0x355607(0x192)](_0x271e43[_0x355607(0x1a2)][_0x355607(0x1b3)](async _0x2bcce1=>{const _0x107102=_0x355607;_0x2bcce1&&this['_commandService'][_0x107102(0x12b)](_0x110233['id'],{'unitId':_0xc40525,'revision':_0x2bcce1});}));}[_0x474f99(0x153)](_0x55a58a){const _0x4ecd1b=_0x474f99,_0xe8c21=this[_0x4ecd1b(0x1a0)][_0x4ecd1b(0x160)](_0x55a58a)[_0x4ecd1b(0x111)]()[_0x4ecd1b(0x119)](_0x536857=>_0x536857[_0x4ecd1b(0x16e)]()),_0xdf22a5=new _0x3bb4fd(_0x55a58a)['id'],_0x548fe9=_0xe8c21[_0x4ecd1b(0x119)](_0x362840=>new _0x1c5abc(_0x55a58a,_0x362840)['id']),_0x557343=_0xe8c21[_0x4ecd1b(0x119)](_0x27afaa=>this[_0x4ecd1b(0x184)][_0x4ecd1b(0x168)](_0x55a58a,_0x27afaa)[_0x4ecd1b(0x119)](_0x48d97c=>new _0x4078bc(_0x55a58a,_0x27afaa,_0x48d97c[_0x4ecd1b(0x131)])['id']))[_0x4ecd1b(0x13b)](),_0x4b165c=new _0x1945f8(_0x55a58a)['id'];return this['_permissionService']['composePermission']([_0xdf22a5,..._0x548fe9,..._0x557343,_0x4b165c])[_0x4ecd1b(0x158)](_0x5e49fe=>!!_0x5e49fe['value']);}};f=mi([l(0x0,_0x5239a5(_0x1f43c6)),l(0x1,_0x47550e),l(0x2,_0x3f79c4),l(0x3,_0x304d5c),l(0x4,_0x1ccc3b),l(0x5,_0x5b946d),l(0x6,_0x5239a5(_0x43bf69)),l(0x7,_0x5239a5(_0x5a4374)),l(0x8,_0x5239a5(_0x26460b)),l(0x9,_0x5239a5(_0x444266))],f);const b={'id':_0x474f99(0x1b6),'type':_0x494ac0[_0x474f99(0x167)],'handler':_0x41f74c=>{const _0x3911c9=_0x474f99,_0x18f25a=_0x41f74c[_0x3911c9(0x18b)](f),_0x2e46ca=_0x41f74c['get'](_0x47550e),{unitId:_0x399d4d}=_0xcdc9ce(_0x2e46ca)||{};return _0x399d4d?(_0x18f25a[_0x3911c9(0x13a)](_0x399d4d),!0x0):!0x1;}},W={'id':_0x474f99(0x180),'type':_0x494ac0[_0x474f99(0x167)],'handler':()=>!0x0};function di(_0x162787){const _0x4cdc38=_0x474f99;return{'id':b['id'],'type':_0x31aed6[_0x4cdc38(0x124)],'icon':_0x4cdc38(0x151),'tooltip':_0x4cdc38(0x166),'hidden$':_0x5ac2c9(_0x162787,_0x58f400[_0x4cdc38(0x11f)]),'disabled$':_0x1eda80(_0x162787,{'workbookTypes':[_0x3bb4fd,_0x9c8c8a],'worksheetTypes':[],'rangeTypes':[]})};}const fi={[_0x578bb9[_0x474f99(0x13f)]]:{[b['id']]:{'order':0.2,'menuItemFactory':di}}};var _i=Object['getOwnPropertyDescriptor'],pi=(_0x15b024,_0xb17eac,_0x2ec939,_0x1c3777)=>{const _0x139d11=_0x474f99;for(var _0x1b73aa=_0x1c3777>0x1?void 0x0:_0x1c3777?_i(_0xb17eac,_0x2ec939):_0xb17eac,_0x5a1180=_0x15b024[_0x139d11(0x16b)]-0x1,_0x52a031;_0x5a1180>=0x0;_0x5a1180--)(_0x52a031=_0x15b024[_0x5a1180])&&(_0x1b73aa=_0x52a031(_0x1b73aa)||_0x1b73aa);return _0x1b73aa;},m=(_0x206d68,_0x51a9bd)=>(_0x383b67,_0x2f6e7c)=>_0x51a9bd(_0x383b67,_0x2f6e7c,_0x206d68);let p=class extends _0x393998{constructor(_0x53d5d3,_0x127090,_0x653e4f,_0x325cc6,_0x2de800,_0x51aedf,_0x3172a7,_0x2ff58a){const _0x916563=_0x474f99;super(),g(this,_0x916563(0x15b),null),(this[_0x916563(0x145)]=_0x53d5d3,this[_0x916563(0x1aa)]=_0x127090,this[_0x916563(0x176)]=_0x653e4f,this[_0x916563(0x123)]=_0x325cc6,this[_0x916563(0x156)]=_0x2de800,this[_0x916563(0x1a5)]=_0x51aedf,this[_0x916563(0x19b)]=_0x3172a7,this['_localCacheService']=_0x2ff58a,this[_0x916563(0x15d)]());}[_0x474f99(0x15d)](){const _0x268f63=_0x474f99;[b,W][_0x268f63(0x114)](_0x23d8cf=>this['disposeWithMe'](_0x186139(this[_0x268f63(0x145)][_0x268f63(0x1a6)](_0x23d8cf)))),this['disposeWithMe'](this[_0x268f63(0x176)][_0x268f63(0x18a)](_0x268f63(0x151),V)),this[_0x268f63(0x1aa)][_0x268f63(0x19a)](fi),this[_0x268f63(0x16a)](this['_commandService'][_0x268f63(0x17a)](_0x4156bd=>{const _0x1890ef=_0x268f63;if(_0x4156bd['id']===_0x110233['id']){this[_0x1890ef(0x1a5)][_0x1890ef(0x15a)]({'content':this[_0x1890ef(0x156)]['t'](_0x1890ef(0x1ae)),'type':_0x362cde[_0x1890ef(0x189)],'duration':0x1388});const {unitId:_0x4cdaad}=_0x4156bd[_0x1890ef(0x1a7)],_0x5e70ee=this[_0x1890ef(0x19b)][_0x1890ef(0x14d)](_0x4cdaad),_0x3e1594=_0x2318d6([_0x5e70ee[_0x1890ef(0x179)][_0x1890ef(0x178)],_0x5e70ee['state$']])[_0x1890ef(0x1b3)](async([_0x3f53df,_0x1517c6])=>{const _0x44cdfe=_0x1890ef;var _0x231e8b;_0x3f53df[_0x44cdfe(0x130)]===_0x279cb0['CHANGESET_ACK']&&(_0x1517c6==null?void 0x0:_0x1517c6[_0x44cdfe(0x14a)])===_0x17a777[_0x44cdfe(0x137)]&&_0x3f53df['data'][_0x44cdfe(0x12a)][_0x44cdfe(0x1ad)](_0x5d9b59=>_0x5d9b59['id']===_0x110233['id'])&&(this[_0x44cdfe(0x123)]['unMountHistoryContent'](),_0x3e1594['unsubscribe'](),this[_0x44cdfe(0x15b)]&&clearTimeout(this[_0x44cdfe(0x15b)]),await((_0x231e8b=this[_0x44cdfe(0x112)])==null?void 0x0:_0x231e8b[_0x44cdfe(0x1ac)]()),setTimeout(()=>window[_0x44cdfe(0x16c)][_0x44cdfe(0x159)]()));});this[_0x1890ef(0x15b)]=setTimeout(()=>{const _0x5e15b7=_0x1890ef;_0x3e1594[_0x5e15b7(0x1a3)](),this['_messageService'][_0x5e15b7(0x15a)]({'content':this[_0x5e15b7(0x156)]['t']('editHistory.panel.revertFailed'),'type':_0x362cde['Error'],'duration':0xbb8});},0x1388);}}));}};p=pi([m(0x0,_0x304d5c),m(0x1,_0x1c0e00),m(0x2,_0x5239a5(_0x5aace3)),m(0x3,_0x5239a5(f)),m(0x4,_0x5239a5(_0x1f43c6)),m(0x5,_0x1ccc3b),m(0x6,_0x5239a5(_0x4954bc)),m(0x7,_0x12a6b5)],p);var Si=Object[_0x474f99(0x1b8)],Ci=(_0x18af1d,_0x32b8a7,_0x2b5ab6,_0x484a4a)=>{for(var _0x21501e=_0x484a4a>0x1?void 0x0:_0x484a4a?Si(_0x32b8a7,_0x2b5ab6):_0x32b8a7,_0x511947=_0x18af1d['length']-0x1,_0x200692;_0x511947>=0x0;_0x511947--)(_0x200692=_0x18af1d[_0x511947])&&(_0x21501e=_0x200692(_0x21501e)||_0x21501e);return _0x21501e;},R=(_0x2dd874,_0x455aa6)=>(_0x17f0e1,_0x40fffc)=>_0x455aa6(_0x17f0e1,_0x40fffc,_0x2dd874);const yi=_0x474f99(0x115);var _;let H=(_=class extends _0x4b30da{constructor(_0x49e680=N,_0x36e45a,_0x3e064e){const _0x4d1a75=_0x474f99;super(),this[_0x4d1a75(0x146)]=_0x49e680,this[_0x4d1a75(0x117)]=_0x36e45a,this['_configService']=_0x3e064e;const {menu:_0x10e319,..._0x2f0fe2}=_0x305d35({},N,this[_0x4d1a75(0x146)]);_0x10e319&&this[_0x4d1a75(0x162)][_0x4d1a75(0x193)](_0x4d1a75(0x13c),_0x10e319,{'merge':!0x0}),this['_configService'][_0x4d1a75(0x193)](U,_0x2f0fe2),this[_0x4d1a75(0x146)][_0x4d1a75(0x138)]&&this[_0x4d1a75(0x162)][_0x4d1a75(0x193)](G,this[_0x4d1a75(0x146)]['univerContainerId']);}[_0x474f99(0x174)](){const _0x29705f=_0x474f99;[[f],[p]][_0x29705f(0x114)](_0x314e70=>this[_0x29705f(0x117)][_0x29705f(0x192)](_0x314e70));}['onSteady'](){const _0x48e98d=_0x474f99;this[_0x48e98d(0x117)]['get'](p);}},g(_,'type',_0x58f400[_0x474f99(0x1b1)]),g(_,_0x474f99(0x141),yi),_);H=Ci([R(0x1,_0x5239a5(_0x1df0f6)),R(0x2,_0x3f79c4)],H);export{f as HistoryLoaderService,G as UNIVER_CONTAINER_ID_KEY,d as UNIVER_HISTORY_CONTAINER_ID,H as UniverEditHistoryLoaderPlugin};
|
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
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};
|
|
1
|
+
const _0x474f99=_0x5023;(function(_0x2ab425,_0x203f8b){const _0x21bde4=_0x5023,_0x1798bd=_0x2ab425();while(!![]){try{const _0x2aca42=parseInt(_0x21bde4(0x134))/0x1+-parseInt(_0x21bde4(0x126))/0x2+-parseInt(_0x21bde4(0x140))/0x3+parseInt(_0x21bde4(0x135))/0x4+-parseInt(_0x21bde4(0x1b2))/0x5+-parseInt(_0x21bde4(0x18f))/0x6+parseInt(_0x21bde4(0x150))/0x7*(parseInt(_0x21bde4(0x12c))/0x8);if(_0x2aca42===_0x203f8b)break;else _0x1798bd['push'](_0x1798bd['shift']());}catch(_0x1e5d6f){_0x1798bd['push'](_0x1798bd['shift']());}}}(_0x28be,0xad2c2));var Y=Object[_0x474f99(0x143)],B=(_0x23e6f7,_0x4a5331,_0x33e9f0)=>_0x4a5331 in _0x23e6f7?Y(_0x23e6f7,_0x4a5331,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x33e9f0}):_0x23e6f7[_0x4a5331]=_0x33e9f0,g=(_0xf030b0,_0x2f3846,_0x1b9a0a)=>B(_0xf030b0,typeof _0x2f3846!='symbol'?_0x2f3846+'':_0x2f3846,_0x1b9a0a);import{Inject as _0x5239a5,LocaleService as _0x1f43c6,IUniverInstanceService as _0x47550e,IConfigService as _0x3f79c4,ICommandService as _0x304d5c,IPermissionService as _0x5b946d,ThemeService as _0x444266,Disposable as _0x4024c5,DisposableCollection as _0x46a17b,Univer as _0x25cb3d,IAuthzIoService as _0xdc156e,CommandType as _0x494ac0,UniverInstanceType as _0x58f400,RxDisposable as _0x393998,toDisposable as _0x186139,Plugin as _0x4b30da,merge as _0x305d35,Injector as _0x1df0f6}from'@univerjs/core';import{UniverCollaborationPlugin as _0x3c66e7,RevertRevisionMutation as _0x110233,CollaborationEvent as _0x279cb0}from'@univerjs-pro/collaboration';import{AuthzIoHttpService as _0x367bcc,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x30e7fb,CollaborationController as _0x4954bc,ILocalCacheService as _0x12a6b5,CollaborationStatus as _0x17a777}from'@univerjs-pro/collaboration-client';import{MessageType as _0x362cde}from'@univerjs/design';import{useRef as _0x4a0ba1,createElement as _0x20ae27,forwardRef as _0x3b370b}from'react';import{IMessageService as _0x1ccc3b,IDialogService as _0x5a4374,ISidebarService as _0x26460b,UniverUIPlugin as _0x27ab6a,getMenuHiddenObservable as _0x5ac2c9,MenuItemType as _0x31aed6,RibbonStartGroup as _0x578bb9,IMenuManagerService as _0x1c0e00,ComponentManager as _0x5aace3}from'@univerjs/ui';import{BehaviorSubject as _0x232a5c,combineLatest as _0x2318d6}from'rxjs';import{RangeProtectionRuleModel as _0x43bf69,UniverSheetsPlugin as _0x41283d,WorkbookEditablePermission as _0x3bb4fd,WorksheetEditPermission as _0x1c5abc,RangeProtectionPermissionEditPoint as _0x4078bc,WorkbookRecoverHistoryPermission as _0x1945f8,getSheetCommandTarget as _0xcdc9ce,WorkbookViewHistoryPermission as _0x9c8c8a}from'@univerjs/sheets';import{UniverEditHistoryViewerPlugin as _0x70daa7,HistoryManagerService as _0x4c34fb,HistoryModeStatus as _0x540d3a}from'@univerjs-pro/edit-history-viewer';import{LS_CONFIG_KEY as _0x174fb6,UniverLicensePlugin as _0x357bab}from'@univerjs-pro/license';import{UniverSheetsChartPlugin as _0x5a993f}from'@univerjs-pro/sheets-chart';import{UniverSheetsChartUIPlugin as _0x19720f}from'@univerjs-pro/sheets-chart-ui';import{UniverSheetsPivotTablePlugin as _0x3598f1}from'@univerjs-pro/sheets-pivot';import{UniverSheetSparklinePlugin as _0x24c94b}from'@univerjs-pro/sheets-sparkline';import{UniverSheetSparklineUIPlugin as _0x47f339}from'@univerjs-pro/sheets-sparkline-ui';function _0x28be(){const _0x59cf6=['location','_sidebarService','getSheetId','random','top','UNIVER_CONTAINER_ID','path','idSuffix','onStarting','univer-container','_componentManager','svg','event$','session','onCommandExecuted','historyUniver','setTheme','_pluginMap','replace','defs','univer.operation.exit-edit-history','next','Error','_historyUniver$','_selectionProtectionRuleModel','1000','dispose','Exited','display','Loading','register','get','Entered','_initPlugins','use','6084132gTcCDr','includes','__getInjector','add','setConfig','div','edit-history-loader.config','M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z','closeAll','string','mask','mergeMenu','_collaborationController','assign','from','dataset','getAllPlugins','_univerInstanceService','position','revertRevision$','unsubscribe','history-container','_messageService','registerCommand','params','url(#$1','darkMode$','_menuManagerService','values','exhaustSavingTask','some','editHistory.panel.reverting','currentTheme$','appendChild','UNIVER_UNKNOWN','4489435PcCLWX','subscribe','toString','[HistoryLoaderService]:\x20Plugin\x20','univer.operation.toggle-edit-history','univerjs-icon\x20univerjs-icon-','getOwnPropertyDescriptor','getSheets','_localCacheService','historyListServerUrl','forEach','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','_initListener','_injector','getConfig','map','none','displayName','height','attrs','history-icon','UNIVER_SHEET','getLocales','_disposableCollection','children','_historyManagerService','BUTTON','status$','678444eNhAGI','history-icon_clip0_907_281','./worker.js','0\x200\x2016\x2016','mutations','executeCommand','533944DMLPeG','_themeService','has','getCurrentLocale','eventID','permissionId','tag','block','283455SCSdYm','1710676ikzisn','100%','SYNCED','univerContainerId','style','mountHistoryContent','flat','menu','registerPlugin','unMountHistoryContent','OTHERS','2662800SZMchG','pluginName','_permissionService','defineProperty','absolute','_commandService','_config','uComp','_initContainer','substring','status','1em','defIds','getCollabEntity','fill','UniverIcon','329ynQoEq','HistoryIcon','xlink:href','_checkCanRevert','editHistory.panel.listFetchError','getElementById','_localeService','value','every','reload','show','_revertErrorTimer','setDarkMode','_init','_initUniver','M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z','getUnit','entries','_configService','_dialogService','colorChannel1','zIndex','editHistory.panel.title','OPERATION','getSubunitRuleList','close','disposeWithMe','length'];_0x28be=function(){return _0x59cf6;};return _0x28be();}import{UniverDataValidationPlugin as _0x5c6d91}from'@univerjs/data-validation';import{UniverDocsPlugin as _0x3849d0}from'@univerjs/docs';import{UniverDocsUIPlugin as _0x28e9cf}from'@univerjs/docs-ui';import{UniverDrawingPlugin as _0x419d32,IImageIoService as _0x6a6720}from'@univerjs/drawing';import{UniverDrawingUIPlugin as _0x22adfb}from'@univerjs/drawing-ui';import{UniverFormulaEnginePlugin as _0x1f6231}from'@univerjs/engine-formula';import{UniverRenderEnginePlugin as _0x1a37a9}from'@univerjs/engine-render';import{UniverNetworkPlugin as _0x29b2da}from'@univerjs/network';import{UniverRPCMainThreadPlugin as _0x262848,PLUGIN_CONFIG_KEY_MAIN_THREAD as _0xef77c3}from'@univerjs/rpc';import{UniverSheetsConditionalFormattingPlugin as _0x18ca24}from'@univerjs/sheets-conditional-formatting';import{UniverSheetsConditionalFormattingUIPlugin as _0x1c5c8b}from'@univerjs/sheets-conditional-formatting-ui';import{UniverSheetsDataValidationPlugin as _0x43d078}from'@univerjs/sheets-data-validation';import{UniverSheetsDataValidationUIPlugin as _0x49993a}from'@univerjs/sheets-data-validation-ui';import{UniverSheetsDrawingPlugin as _0x39ec22}from'@univerjs/sheets-drawing';import{UniverSheetsDrawingUIPlugin as _0x5af344}from'@univerjs/sheets-drawing-ui';import{UniverSheetsFilterPlugin as _0xb2796b}from'@univerjs/sheets-filter';import{UniverSheetsFilterUIPlugin as _0x348c41}from'@univerjs/sheets-filter-ui';import{UniverSheetsFormulaPlugin as _0x1ca573}from'@univerjs/sheets-formula';import{UniverSheetsFormulaUIPlugin as _0x10c8fd}from'@univerjs/sheets-formula-ui';import{UniverSheetsHyperLinkPlugin as _0x3639b0}from'@univerjs/sheets-hyper-link';import{UniverSheetsHyperLinkUIPlugin as _0x448025}from'@univerjs/sheets-hyper-link-ui';import{UniverSheetsNumfmtPlugin as _0x4d5f27}from'@univerjs/sheets-numfmt';function _0x5023(_0x13460e,_0x23768c){_0x13460e=_0x13460e-0x111;const _0x28be68=_0x28be();let _0x5023e9=_0x28be68[_0x13460e];return _0x5023e9;}import{UniverSheetsUIPlugin as _0x49a3ef,getCurrentRangeDisable$ as _0x1eda80}from'@univerjs/sheets-ui';const U=_0x474f99(0x195),N={};function F({ref:_0x1f036f,..._0x1b815c}){const _0x493ad1=_0x474f99,{icon:_0x213845,id:_0x34fa0e,className:_0x3f356e,extend:_0x1147a6,..._0x128cdb}=_0x1b815c,_0x2b023a=(_0x493ad1(0x1b7)+_0x34fa0e+'\x20'+(_0x3f356e||''))['trim'](),_0x322212=_0x4a0ba1('_'+hi());return j(_0x213845,''+_0x34fa0e,{'defIds':_0x213845[_0x493ad1(0x14c)],'idSuffix':_0x322212['current']},{'ref':_0x1f036f,'className':_0x2b023a,..._0x128cdb},_0x1147a6);}function j(_0x27ce9f,_0x14cec3,_0x3365f2,_0x41f94b,_0x437527){const _0x8eab3a=_0x474f99;return _0x20ae27(_0x27ce9f['tag'],{'key':_0x14cec3,...ci(_0x27ce9f,_0x3365f2,_0x437527),..._0x41f94b},(li(_0x27ce9f,_0x3365f2)[_0x8eab3a(0x122)]||[])['map']((_0x27d2ee,_0x37ce78)=>j(_0x27d2ee,_0x14cec3+'-'+_0x27ce9f['tag']+'-'+_0x37ce78,_0x3365f2,void 0x0,_0x437527)));}function ci(_0x2cd7ab,_0x13af48,_0x251e6b){const _0x447e17=_0x474f99,_0x4ed237={..._0x2cd7ab['attrs']};_0x251e6b!=null&&_0x251e6b[_0x447e17(0x164)]&&_0x4ed237[_0x447e17(0x14e)]===_0x447e17(0x164)&&(_0x4ed237[_0x447e17(0x14e)]=_0x251e6b['colorChannel1']),_0x2cd7ab[_0x447e17(0x132)]===_0x447e17(0x199)&&_0x4ed237['id']&&(_0x4ed237['id']=_0x4ed237['id']+_0x13af48[_0x447e17(0x173)]),Object[_0x447e17(0x161)](_0x4ed237)['forEach'](([_0x4e2578,_0x509c66])=>{const _0x5374f9=_0x447e17;_0x4e2578===_0x5374f9(0x199)&&typeof _0x509c66==_0x5374f9(0x198)&&(_0x4ed237[_0x4e2578]=_0x509c66['replace'](/url\(#(.*)\)/,_0x5374f9(0x1a8)+_0x13af48['idSuffix']+')'));});const {defIds:_0x2bbada}=_0x13af48;return!_0x2bbada||_0x2bbada[_0x447e17(0x16b)]===0x0||(_0x2cd7ab['tag']===_0x447e17(0x18e)&&_0x4ed237[_0x447e17(0x152)]&&(_0x4ed237[_0x447e17(0x152)]=_0x4ed237[_0x447e17(0x152)]+_0x13af48['idSuffix']),Object['entries'](_0x4ed237)[_0x447e17(0x114)](([_0x1a5e5d,_0x2c762b])=>{const _0x4a3b7e=_0x447e17;typeof _0x2c762b==_0x4a3b7e(0x198)&&(_0x4ed237[_0x1a5e5d]=_0x2c762b[_0x4a3b7e(0x17e)](/url\(#(.*)\)/,_0x4a3b7e(0x1a8)+_0x13af48['idSuffix']+')'));})),_0x4ed237;}function li(_0x1989d9,_0x44277a){const _0x498341=_0x474f99;var _0x4ae3bd;const {defIds:_0x5662b4}=_0x44277a;return!_0x5662b4||_0x5662b4[_0x498341(0x16b)]===0x0?_0x1989d9:_0x1989d9[_0x498341(0x132)]===_0x498341(0x17f)&&((_0x4ae3bd=_0x1989d9['children'])!=null&&_0x4ae3bd[_0x498341(0x16b)])?{..._0x1989d9,'children':_0x1989d9['children'][_0x498341(0x119)](_0x4d4662=>typeof _0x4d4662['attrs']['id']==_0x498341(0x198)&&_0x5662b4&&_0x5662b4[_0x498341(0x190)](_0x4d4662[_0x498341(0x11d)]['id'])?{..._0x4d4662,'attrs':{..._0x4d4662[_0x498341(0x11d)],'id':_0x4d4662[_0x498341(0x11d)]['id']+_0x44277a[_0x498341(0x173)]}}:_0x4d4662)}:_0x1989d9;}function hi(){const _0x1182b0=_0x474f99;return Math[_0x1182b0(0x16f)]()[_0x1182b0(0x1b4)](0x24)[_0x1182b0(0x149)](0x2,0x8);}F[_0x474f99(0x11b)]=_0x474f99(0x14f);const ui={'tag':_0x474f99(0x177),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x474f99(0x11a),'viewBox':_0x474f99(0x129),'width':'1em','height':_0x474f99(0x14b)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':'url(#history-icon_clip0_907_281)'},'children':[{'tag':'path','attrs':{'d':_0x474f99(0x15f)}},{'tag':_0x474f99(0x172),'attrs':{'d':_0x474f99(0x196)}}]},{'tag':_0x474f99(0x17f),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x474f99(0x127)},'children':[{'tag':_0x474f99(0x172),'attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x474f99(0x127)]},V=_0x3b370b(function(_0xde3353,_0x16fbcc){const _0x209bf3=_0x474f99;return _0x20ae27(F,Object[_0x209bf3(0x19c)]({},_0xde3353,{'id':_0x209bf3(0x11e),'ref':_0x16fbcc,'icon':ui}));});V[_0x474f99(0x11b)]=_0x474f99(0x151);var gi=Object['getOwnPropertyDescriptor'],mi=(_0x2e05ab,_0xf24d31,_0x28daeb,_0x533986)=>{const _0x524cf4=_0x474f99;for(var _0x402611=_0x533986>0x1?void 0x0:_0x533986?gi(_0xf24d31,_0x28daeb):_0xf24d31,_0x419f2f=_0x2e05ab[_0x524cf4(0x16b)]-0x1,_0x40a6df;_0x419f2f>=0x0;_0x419f2f--)(_0x40a6df=_0x2e05ab[_0x419f2f])&&(_0x402611=_0x40a6df(_0x402611)||_0x402611);return _0x402611;},l=(_0x443cb7,_0x2dca8f)=>(_0x22d1dc,_0x53d768)=>_0x2dca8f(_0x22d1dc,_0x53d768,_0x443cb7);const vi=_0x474f99(0x175),G=_0x474f99(0x171),d='univer-history-container';let f=class extends _0x4024c5{constructor(_0x49f981,_0x5d6dcb,_0x4b8aaa,_0x5d8a3d,_0x4ad078,_0x218f35,_0x3dcefb,_0x12838b,_0x1008c0,_0x22ea34){const _0x536fd8=_0x474f99;super(),g(this,_0x536fd8(0x183),new _0x232a5c(null)),g(this,'historyUniver$',this['_historyUniver$']['asObservable']()),g(this,'_disposableCollection',new _0x46a17b()),g(this,_0x536fd8(0x17d),new Map()),(this[_0x536fd8(0x156)]=_0x49f981,this['_univerInstanceService']=_0x5d6dcb,this['_configService']=_0x4b8aaa,this[_0x536fd8(0x145)]=_0x5d8a3d,this[_0x536fd8(0x1a5)]=_0x4ad078,this[_0x536fd8(0x142)]=_0x218f35,this['_selectionProtectionRuleModel']=_0x3dcefb,this[_0x536fd8(0x163)]=_0x12838b,this[_0x536fd8(0x16d)]=_0x1008c0,this[_0x536fd8(0x12d)]=_0x22ea34,this[_0x536fd8(0x15d)]());}get[_0x474f99(0x17b)](){const _0x36062a=_0x474f99;return this[_0x36062a(0x183)][_0x36062a(0x157)];}[_0x474f99(0x15d)](){const _0x1edded=_0x474f99;this['_initContainer'](),this[_0x1edded(0x18d)]();}[_0x474f99(0x148)](){const _0x30031f=_0x474f99;var _0x526b2a;const _0xe0cfe3=(_0x526b2a=this['_configService'][_0x30031f(0x118)](G))!=null?_0x526b2a:vi,_0x297865=document[_0x30031f(0x155)](_0xe0cfe3);if(!_0x297865)return;const _0x5a21b6=document['createElement'](_0x30031f(0x194));_0x5a21b6['id']=d,_0x5a21b6[_0x30031f(0x19e)][_0x30031f(0x147)]=_0x30031f(0x1a4),_0x5a21b6[_0x30031f(0x139)][_0x30031f(0x1a1)]=_0x30031f(0x144),_0x5a21b6['style'][_0x30031f(0x170)]='0',_0x5a21b6[_0x30031f(0x139)]['left']='0',_0x5a21b6[_0x30031f(0x139)]['width']=_0x30031f(0x136),_0x5a21b6[_0x30031f(0x139)][_0x30031f(0x11c)]=_0x30031f(0x136),_0x5a21b6[_0x30031f(0x139)][_0x30031f(0x165)]=_0x30031f(0x185),_0x5a21b6[_0x30031f(0x139)]['display']='none',_0x297865[_0x30031f(0x1b0)](_0x5a21b6);}[_0x474f99(0x18d)](){const _0x2f76b7=_0x474f99;var _0x326bc4,_0x4c8d1c,_0x526a8f,_0x1892ce;[[_0x1a37a9],[_0x27ab6a,{'container':d,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x5a4374,null]]}],[_0x29b2da],[_0x419d32,{'override':[[_0x6a6720,null]]}],[_0x3849d0,{'hasScroll':!0x1}],[_0x28e9cf],[_0x4d5f27],[_0x41283d,{'notExecuteFormula':!0x0}],[_0x49a3ef],[_0x1ca573],[_0x10c8fd],[_0x3c66e7],[_0xb2796b],[_0x348c41],[_0x18ca24],[_0x1c5c8b],[_0x3639b0],[_0x448025],[_0x5c6d91],[_0x43d078],[_0x49993a],[_0x1f6231,{'notExecuteFormula':!0x0}],[_0x262848,{'workerURL':(_0x4c8d1c=(_0x326bc4=this[_0x2f76b7(0x162)]['getConfig'](_0xef77c3))==null?void 0x0:_0x326bc4['workerURL'])!=null?_0x4c8d1c:_0x2f76b7(0x128)}],[_0x22adfb],[_0x39ec22],[_0x5af344],[_0x24c94b],[_0x47f339],[_0x5a993f],[_0x19720f],[_0x3598f1,{'notExecuteFormula':!0x0}],[_0x70daa7,{'historyListServerUrl':(_0x526a8f=this[_0x2f76b7(0x162)][_0x2f76b7(0x118)](U))==null?void 0x0:_0x526a8f[_0x2f76b7(0x113)],'historyPanelComponentKey':(_0x1892ce=this[_0x2f76b7(0x162)]['getConfig'](U))==null?void 0x0:_0x1892ce['historyPanelComponentKey']}]][_0x2f76b7(0x114)](([_0x20ad8e,_0x13b17c])=>this[_0x2f76b7(0x13d)](_0x20ad8e,_0x13b17c));}['dispose'](){const _0x12d7f3=_0x474f99;super[_0x12d7f3(0x186)](),this[_0x12d7f3(0x13e)](),this['_pluginMap']['clear']();}[_0x474f99(0x13d)](_0x2aaf42,_0x3e8179,_0x18cbb1){const _0x1b487c=_0x474f99;if(this[_0x1b487c(0x17d)][_0x1b487c(0x12e)](_0x2aaf42['pluginName'])&&!_0x18cbb1)throw new Error(_0x1b487c(0x1b5)+_0x2aaf42[_0x1b487c(0x141)]+'\x20has\x20been\x20registered.');this[_0x1b487c(0x17d)]['set'](_0x2aaf42[_0x1b487c(0x141)],[_0x2aaf42,_0x3e8179]);}[_0x474f99(0x19f)](){const _0x27f8f4=_0x474f99;return Array[_0x27f8f4(0x19d)](this[_0x27f8f4(0x17d)][_0x27f8f4(0x1ab)]());}['mountHistoryContent'](_0x46255b){const _0x5250a0=_0x474f99,_0x57263e=document[_0x5250a0(0x155)](d);_0x57263e&&(_0x57263e[_0x5250a0(0x139)][_0x5250a0(0x188)]=_0x5250a0(0x133),this['_initUniver'](_0x46255b,d));}[_0x474f99(0x13e)](){const _0x4236c6=_0x474f99;var _0x373dc4;this[_0x4236c6(0x121)][_0x4236c6(0x186)](),(_0x373dc4=this['historyUniver'])==null||_0x373dc4['dispose'](),this[_0x4236c6(0x183)][_0x4236c6(0x181)](null);const _0x24645a=document[_0x4236c6(0x155)](d);_0x24645a&&(_0x24645a['style'][_0x4236c6(0x188)]=_0x4236c6(0x11a));}[_0x474f99(0x15e)](_0x259374,_0xb1b57e){const _0x35affe=_0x474f99;if(this[_0x35affe(0x17b)])return;const _0x5bbc99=new _0x25cb3d({'locales':{[this[_0x35affe(0x156)]['getCurrentLocale']()]:this[_0x35affe(0x156)][_0x35affe(0x120)]()},'override':[[_0xdc156e,{'useClass':_0x367bcc}]]}),_0x1f5f89=_0x5bbc99[_0x35affe(0x191)]();this[_0x35affe(0x16a)](this['_themeService'][_0x35affe(0x1a9)][_0x35affe(0x1b3)](_0x4b221e=>{const _0x53614b=_0x35affe;_0x1f5f89['get'](_0x444266)[_0x53614b(0x15c)](_0x4b221e);})),this[_0x35affe(0x16a)](this[_0x35affe(0x12d)][_0x35affe(0x1af)][_0x35affe(0x1b3)](_0x19df71=>{const _0x2db6f8=_0x35affe;_0x1f5f89[_0x2db6f8(0x18b)](_0x444266)[_0x2db6f8(0x17c)](_0x19df71);})),_0x1f5f89[_0x35affe(0x18b)](_0x1f43c6)['setLocale'](this[_0x35affe(0x156)][_0x35affe(0x12f)]()),_0x1f5f89[_0x35affe(0x18b)](_0x3f79c4)[_0x35affe(0x193)](_0x30e7fb,this[_0x35affe(0x162)][_0x35affe(0x118)](_0x30e7fb));const _0x18da77=this[_0x35affe(0x162)][_0x35affe(0x118)](_0x174fb6);_0x18da77&&_0x5bbc99[_0x35affe(0x13d)](_0x357bab,{'license':_0x18da77['ls']}),this[_0x35affe(0x17d)][_0x35affe(0x114)](([_0x13c06d,_0x21b54a])=>{_0x5bbc99['registerPlugin'](_0x13c06d,_0x21b54a);}),_0x1f5f89['invoke'](_0x5e9235=>{const _0xe39c1c=_0x35affe;this[_0xe39c1c(0x116)](_0x5e9235,_0x259374);}),this[_0x35affe(0x183)][_0x35affe(0x181)](_0x5bbc99);const _0x27ef4a=_0x1f5f89[_0x35affe(0x18b)](_0x4c34fb),_0x37ed86=this[_0x35affe(0x153)](_0x259374);_0x27ef4a['triggerLoadVersions'](_0x259374,_0xb1b57e,_0x37ed86);}[_0x474f99(0x116)](_0x2879ef,_0xc40525){const _0x355607=_0x474f99,_0x271e43=_0x2879ef[_0x355607(0x18b)](_0x4c34fb);this[_0x355607(0x121)][_0x355607(0x192)](_0x271e43[_0x355607(0x125)][_0x355607(0x1b3)](_0x149638=>{const _0x3268fd=_0x355607;switch(_0x149638){case _0x540d3a[_0x3268fd(0x18c)]:this['_dialogService'][_0x3268fd(0x197)](),this[_0x3268fd(0x16d)][_0x3268fd(0x169)]();break;case _0x540d3a[_0x3268fd(0x187)]:this[_0x3268fd(0x145)][_0x3268fd(0x12b)](W['id']),this['unMountHistoryContent']();break;case _0x540d3a[_0x3268fd(0x182)]:this[_0x3268fd(0x13e)](),this[_0x3268fd(0x1a5)]['show']({'content':this['_localeService']['t'](_0x3268fd(0x154)),'type':_0x362cde['Error'],'duration':0xbb8});break;}})),this[_0x355607(0x121)][_0x355607(0x192)](_0x271e43[_0x355607(0x1a2)][_0x355607(0x1b3)](async _0x2bcce1=>{const _0x107102=_0x355607;_0x2bcce1&&this['_commandService'][_0x107102(0x12b)](_0x110233['id'],{'unitId':_0xc40525,'revision':_0x2bcce1});}));}[_0x474f99(0x153)](_0x55a58a){const _0x4ecd1b=_0x474f99,_0xe8c21=this[_0x4ecd1b(0x1a0)][_0x4ecd1b(0x160)](_0x55a58a)[_0x4ecd1b(0x111)]()[_0x4ecd1b(0x119)](_0x536857=>_0x536857[_0x4ecd1b(0x16e)]()),_0xdf22a5=new _0x3bb4fd(_0x55a58a)['id'],_0x548fe9=_0xe8c21[_0x4ecd1b(0x119)](_0x362840=>new _0x1c5abc(_0x55a58a,_0x362840)['id']),_0x557343=_0xe8c21[_0x4ecd1b(0x119)](_0x27afaa=>this[_0x4ecd1b(0x184)][_0x4ecd1b(0x168)](_0x55a58a,_0x27afaa)[_0x4ecd1b(0x119)](_0x48d97c=>new _0x4078bc(_0x55a58a,_0x27afaa,_0x48d97c[_0x4ecd1b(0x131)])['id']))[_0x4ecd1b(0x13b)](),_0x4b165c=new _0x1945f8(_0x55a58a)['id'];return this['_permissionService']['composePermission']([_0xdf22a5,..._0x548fe9,..._0x557343,_0x4b165c])[_0x4ecd1b(0x158)](_0x5e49fe=>!!_0x5e49fe['value']);}};f=mi([l(0x0,_0x5239a5(_0x1f43c6)),l(0x1,_0x47550e),l(0x2,_0x3f79c4),l(0x3,_0x304d5c),l(0x4,_0x1ccc3b),l(0x5,_0x5b946d),l(0x6,_0x5239a5(_0x43bf69)),l(0x7,_0x5239a5(_0x5a4374)),l(0x8,_0x5239a5(_0x26460b)),l(0x9,_0x5239a5(_0x444266))],f);const b={'id':_0x474f99(0x1b6),'type':_0x494ac0[_0x474f99(0x167)],'handler':_0x41f74c=>{const _0x3911c9=_0x474f99,_0x18f25a=_0x41f74c[_0x3911c9(0x18b)](f),_0x2e46ca=_0x41f74c['get'](_0x47550e),{unitId:_0x399d4d}=_0xcdc9ce(_0x2e46ca)||{};return _0x399d4d?(_0x18f25a[_0x3911c9(0x13a)](_0x399d4d),!0x0):!0x1;}},W={'id':_0x474f99(0x180),'type':_0x494ac0[_0x474f99(0x167)],'handler':()=>!0x0};function di(_0x162787){const _0x4cdc38=_0x474f99;return{'id':b['id'],'type':_0x31aed6[_0x4cdc38(0x124)],'icon':_0x4cdc38(0x151),'tooltip':_0x4cdc38(0x166),'hidden$':_0x5ac2c9(_0x162787,_0x58f400[_0x4cdc38(0x11f)]),'disabled$':_0x1eda80(_0x162787,{'workbookTypes':[_0x3bb4fd,_0x9c8c8a],'worksheetTypes':[],'rangeTypes':[]})};}const fi={[_0x578bb9[_0x474f99(0x13f)]]:{[b['id']]:{'order':0.2,'menuItemFactory':di}}};var _i=Object['getOwnPropertyDescriptor'],pi=(_0x15b024,_0xb17eac,_0x2ec939,_0x1c3777)=>{const _0x139d11=_0x474f99;for(var _0x1b73aa=_0x1c3777>0x1?void 0x0:_0x1c3777?_i(_0xb17eac,_0x2ec939):_0xb17eac,_0x5a1180=_0x15b024[_0x139d11(0x16b)]-0x1,_0x52a031;_0x5a1180>=0x0;_0x5a1180--)(_0x52a031=_0x15b024[_0x5a1180])&&(_0x1b73aa=_0x52a031(_0x1b73aa)||_0x1b73aa);return _0x1b73aa;},m=(_0x206d68,_0x51a9bd)=>(_0x383b67,_0x2f6e7c)=>_0x51a9bd(_0x383b67,_0x2f6e7c,_0x206d68);let p=class extends _0x393998{constructor(_0x53d5d3,_0x127090,_0x653e4f,_0x325cc6,_0x2de800,_0x51aedf,_0x3172a7,_0x2ff58a){const _0x916563=_0x474f99;super(),g(this,_0x916563(0x15b),null),(this[_0x916563(0x145)]=_0x53d5d3,this[_0x916563(0x1aa)]=_0x127090,this[_0x916563(0x176)]=_0x653e4f,this[_0x916563(0x123)]=_0x325cc6,this[_0x916563(0x156)]=_0x2de800,this[_0x916563(0x1a5)]=_0x51aedf,this[_0x916563(0x19b)]=_0x3172a7,this['_localCacheService']=_0x2ff58a,this[_0x916563(0x15d)]());}[_0x474f99(0x15d)](){const _0x268f63=_0x474f99;[b,W][_0x268f63(0x114)](_0x23d8cf=>this['disposeWithMe'](_0x186139(this[_0x268f63(0x145)][_0x268f63(0x1a6)](_0x23d8cf)))),this['disposeWithMe'](this[_0x268f63(0x176)][_0x268f63(0x18a)](_0x268f63(0x151),V)),this[_0x268f63(0x1aa)][_0x268f63(0x19a)](fi),this[_0x268f63(0x16a)](this['_commandService'][_0x268f63(0x17a)](_0x4156bd=>{const _0x1890ef=_0x268f63;if(_0x4156bd['id']===_0x110233['id']){this[_0x1890ef(0x1a5)][_0x1890ef(0x15a)]({'content':this[_0x1890ef(0x156)]['t'](_0x1890ef(0x1ae)),'type':_0x362cde[_0x1890ef(0x189)],'duration':0x1388});const {unitId:_0x4cdaad}=_0x4156bd[_0x1890ef(0x1a7)],_0x5e70ee=this[_0x1890ef(0x19b)][_0x1890ef(0x14d)](_0x4cdaad),_0x3e1594=_0x2318d6([_0x5e70ee[_0x1890ef(0x179)][_0x1890ef(0x178)],_0x5e70ee['state$']])[_0x1890ef(0x1b3)](async([_0x3f53df,_0x1517c6])=>{const _0x44cdfe=_0x1890ef;var _0x231e8b;_0x3f53df[_0x44cdfe(0x130)]===_0x279cb0['CHANGESET_ACK']&&(_0x1517c6==null?void 0x0:_0x1517c6[_0x44cdfe(0x14a)])===_0x17a777[_0x44cdfe(0x137)]&&_0x3f53df['data'][_0x44cdfe(0x12a)][_0x44cdfe(0x1ad)](_0x5d9b59=>_0x5d9b59['id']===_0x110233['id'])&&(this[_0x44cdfe(0x123)]['unMountHistoryContent'](),_0x3e1594['unsubscribe'](),this[_0x44cdfe(0x15b)]&&clearTimeout(this[_0x44cdfe(0x15b)]),await((_0x231e8b=this[_0x44cdfe(0x112)])==null?void 0x0:_0x231e8b[_0x44cdfe(0x1ac)]()),setTimeout(()=>window[_0x44cdfe(0x16c)][_0x44cdfe(0x159)]()));});this[_0x1890ef(0x15b)]=setTimeout(()=>{const _0x5e15b7=_0x1890ef;_0x3e1594[_0x5e15b7(0x1a3)](),this['_messageService'][_0x5e15b7(0x15a)]({'content':this[_0x5e15b7(0x156)]['t']('editHistory.panel.revertFailed'),'type':_0x362cde['Error'],'duration':0xbb8});},0x1388);}}));}};p=pi([m(0x0,_0x304d5c),m(0x1,_0x1c0e00),m(0x2,_0x5239a5(_0x5aace3)),m(0x3,_0x5239a5(f)),m(0x4,_0x5239a5(_0x1f43c6)),m(0x5,_0x1ccc3b),m(0x6,_0x5239a5(_0x4954bc)),m(0x7,_0x12a6b5)],p);var Si=Object[_0x474f99(0x1b8)],Ci=(_0x18af1d,_0x32b8a7,_0x2b5ab6,_0x484a4a)=>{for(var _0x21501e=_0x484a4a>0x1?void 0x0:_0x484a4a?Si(_0x32b8a7,_0x2b5ab6):_0x32b8a7,_0x511947=_0x18af1d['length']-0x1,_0x200692;_0x511947>=0x0;_0x511947--)(_0x200692=_0x18af1d[_0x511947])&&(_0x21501e=_0x200692(_0x21501e)||_0x21501e);return _0x21501e;},R=(_0x2dd874,_0x455aa6)=>(_0x17f0e1,_0x40fffc)=>_0x455aa6(_0x17f0e1,_0x40fffc,_0x2dd874);const yi=_0x474f99(0x115);var _;let H=(_=class extends _0x4b30da{constructor(_0x49e680=N,_0x36e45a,_0x3e064e){const _0x4d1a75=_0x474f99;super(),this[_0x4d1a75(0x146)]=_0x49e680,this[_0x4d1a75(0x117)]=_0x36e45a,this['_configService']=_0x3e064e;const {menu:_0x10e319,..._0x2f0fe2}=_0x305d35({},N,this[_0x4d1a75(0x146)]);_0x10e319&&this[_0x4d1a75(0x162)][_0x4d1a75(0x193)](_0x4d1a75(0x13c),_0x10e319,{'merge':!0x0}),this['_configService'][_0x4d1a75(0x193)](U,_0x2f0fe2),this[_0x4d1a75(0x146)][_0x4d1a75(0x138)]&&this[_0x4d1a75(0x162)][_0x4d1a75(0x193)](G,this[_0x4d1a75(0x146)]['univerContainerId']);}[_0x474f99(0x174)](){const _0x29705f=_0x474f99;[[f],[p]][_0x29705f(0x114)](_0x314e70=>this[_0x29705f(0x117)][_0x29705f(0x192)](_0x314e70));}['onSteady'](){const _0x48e98d=_0x474f99;this[_0x48e98d(0x117)]['get'](p);}},g(_,'type',_0x58f400[_0x474f99(0x1b1)]),g(_,_0x474f99(0x141),yi),_);H=Ci([R(0x1,_0x5239a5(_0x1df0f6)),R(0x2,_0x3f79c4)],H);export{f as HistoryLoaderService,G as UNIVER_CONTAINER_ID_KEY,d as UNIVER_HISTORY_CONTAINER_ID,H as UniverEditHistoryLoaderPlugin};
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
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)});}));
|
|
1
|
+
(function(_0x19034b,_0x5e93e0){const _0x37456b=_0x53d2,_0x25068a=_0x19034b();while(!![]){try{const _0x9009f1=-parseInt(_0x37456b(0x2e5))/0x1+parseInt(_0x37456b(0x2ab))/0x2+parseInt(_0x37456b(0x1f8))/0x3*(-parseInt(_0x37456b(0x23f))/0x4)+parseInt(_0x37456b(0x1f5))/0x5+-parseInt(_0x37456b(0x2c5))/0x6+-parseInt(_0x37456b(0x215))/0x7*(parseInt(_0x37456b(0x233))/0x8)+parseInt(_0x37456b(0x27f))/0x9;if(_0x9009f1===_0x5e93e0)break;else _0x25068a['push'](_0x25068a['shift']());}catch(_0x4fe669){_0x25068a['push'](_0x25068a['shift']());}}}(_0x3c31,0xd8acc),function(_0x3af9b0,_0x1f530d){const _0x27b5a4=_0x53d2;typeof exports==_0x27b5a4(0x274)&&typeof module<'u'?_0x1f530d(exports,require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs/design'),require('react'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/sheets'),require('@univerjs-pro/edit-history-viewer'),require('@univerjs-pro/license'),require('@univerjs-pro/sheets-chart'),require('@univerjs-pro/sheets-chart-ui'),require('@univerjs-pro/sheets-pivot'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs-pro/sheets-sparkline-ui'),require('@univerjs/data-validation'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs/drawing-ui'),require('@univerjs/engine-formula'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/rpc'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-conditional-formatting-ui'),require('@univerjs/sheets-data-validation'),require('@univerjs/sheets-data-validation-ui'),require('@univerjs/sheets-drawing'),require('@univerjs/sheets-drawing-ui'),require('@univerjs/sheets-filter'),require('@univerjs/sheets-filter-ui'),require('@univerjs/sheets-formula'),require('@univerjs/sheets-formula-ui'),require('@univerjs/sheets-hyper-link'),require('@univerjs/sheets-hyper-link-ui'),require('@univerjs/sheets-numfmt'),require('@univerjs/sheets-ui')):typeof define==_0x27b5a4(0x25c)&&define[_0x27b5a4(0x24d)]?define([_0x27b5a4(0x2e6),_0x27b5a4(0x277),'@univerjs-pro/collaboration',_0x27b5a4(0x1e5),_0x27b5a4(0x2bb),_0x27b5a4(0x2be),'@univerjs/ui','rxjs',_0x27b5a4(0x296),_0x27b5a4(0x1fc),_0x27b5a4(0x268),'@univerjs-pro/sheets-chart',_0x27b5a4(0x1fe),_0x27b5a4(0x299),_0x27b5a4(0x2c6),'@univerjs-pro/sheets-sparkline-ui','@univerjs/data-validation',_0x27b5a4(0x2c9),_0x27b5a4(0x298),'@univerjs/drawing',_0x27b5a4(0x263),_0x27b5a4(0x289),_0x27b5a4(0x221),_0x27b5a4(0x21e),_0x27b5a4(0x2f3),_0x27b5a4(0x2ba),_0x27b5a4(0x2ea),_0x27b5a4(0x284),_0x27b5a4(0x2ec),_0x27b5a4(0x25d),_0x27b5a4(0x219),_0x27b5a4(0x292),_0x27b5a4(0x216),_0x27b5a4(0x273),'@univerjs/sheets-formula-ui',_0x27b5a4(0x238),_0x27b5a4(0x2dd),_0x27b5a4(0x1f6),_0x27b5a4(0x28c)],_0x1f530d):(_0x3af9b0=typeof globalThis<'u'?globalThis:_0x3af9b0||self,_0x1f530d(_0x3af9b0[_0x27b5a4(0x1e7)]={},_0x3af9b0[_0x27b5a4(0x1d6)],_0x3af9b0[_0x27b5a4(0x2d6)],_0x3af9b0[_0x27b5a4(0x286)],_0x3af9b0['UniverDesign'],_0x3af9b0[_0x27b5a4(0x26c)],_0x3af9b0[_0x27b5a4(0x253)],_0x3af9b0[_0x27b5a4(0x2c1)],_0x3af9b0[_0x27b5a4(0x2b8)],_0x3af9b0[_0x27b5a4(0x2fa)],_0x3af9b0[_0x27b5a4(0x22c)],_0x3af9b0['UniverProSheetsChart'],_0x3af9b0[_0x27b5a4(0x203)],_0x3af9b0[_0x27b5a4(0x288)],_0x3af9b0[_0x27b5a4(0x211)],_0x3af9b0['UniverProSheetsSparklineUi'],_0x3af9b0[_0x27b5a4(0x2cc)],_0x3af9b0['UniverDocs'],_0x3af9b0[_0x27b5a4(0x230)],_0x3af9b0['UniverDrawing'],_0x3af9b0[_0x27b5a4(0x200)],_0x3af9b0[_0x27b5a4(0x20f)],_0x3af9b0[_0x27b5a4(0x2b4)],_0x3af9b0[_0x27b5a4(0x2d3)],_0x3af9b0[_0x27b5a4(0x2d8)],_0x3af9b0[_0x27b5a4(0x257)],_0x3af9b0['UniverSheetsConditionalFormattingUi'],_0x3af9b0[_0x27b5a4(0x2d7)],_0x3af9b0[_0x27b5a4(0x250)],_0x3af9b0[_0x27b5a4(0x2c0)],_0x3af9b0[_0x27b5a4(0x2c2)],_0x3af9b0[_0x27b5a4(0x231)],_0x3af9b0[_0x27b5a4(0x237)],_0x3af9b0[_0x27b5a4(0x280)],_0x3af9b0[_0x27b5a4(0x2d2)],_0x3af9b0['UniverSheetsHyperLink'],_0x3af9b0[_0x27b5a4(0x2cb)],_0x3af9b0['UniverSheetsNumfmt'],_0x3af9b0[_0x27b5a4(0x213)]));}(this,function(_0xb5c8dc,_0x419a51,_0x485045,_0x110e37,_0x1f47b5,_0x164a11,_0x2b82df,_0x54efc0,_0x542cb9,_0x18ac35,_0x1d94cd,_0x1a9383,_0x16989b,_0x4085e1,_0x24b249,_0x2f25d9,_0x4894a6,_0x1d0821,_0x378767,_0x404858,_0xa7f386,_0x401ff2,_0x2bac70,_0x451c73,_0x46bd78,_0x3475c7,_0x16d3e1,_0x4332d4,_0x5b43b7,_0x5e4260,_0x188272,_0x49003b,_0x1db986,_0x412526,_0x33d006,_0x2a192b,_0x1d0a73,_0x250c7d,_0x242259){'use strict';const _0x25ed73=_0x53d2;var _0x34f3a9=Object[_0x25ed73(0x2a2)],_0x54ffc5=(_0x582672,_0x2b25ca,_0x16f1c2)=>_0x2b25ca in _0x582672?_0x34f3a9(_0x582672,_0x2b25ca,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x16f1c2}):_0x582672[_0x2b25ca]=_0x16f1c2,_0x395bb6=(_0x302db9,_0x440e54,_0x2b9de7)=>_0x54ffc5(_0x302db9,typeof _0x440e54!=_0x25ed73(0x244)?_0x440e54+'':_0x440e54,_0x2b9de7),_0x2752e7;const _0x34c9d5='edit-history-loader.config',_0x45b813={};function _0x5b9193({ref:_0x51f84c,..._0x49d047}){const _0x4401a4=_0x25ed73,{icon:_0x5cf5c1,id:_0x1b091d,className:_0x4ab0ad,extend:_0x23f526,..._0x34872}=_0x49d047,_0x5b1cc0=(_0x4401a4(0x1f1)+_0x1b091d+'\x20'+(_0x4ab0ad||''))['trim'](),_0x120ec8=_0x164a11[_0x4401a4(0x25f)]('_'+_0x269eb2());return _0x27f133(_0x5cf5c1,''+_0x1b091d,{'defIds':_0x5cf5c1[_0x4401a4(0x293)],'idSuffix':_0x120ec8['current']},{'ref':_0x51f84c,'className':_0x5b1cc0,..._0x34872},_0x23f526);}function _0x27f133(_0x1c6396,_0x26ddb3,_0x565ff2,_0x349719,_0x40987f){const _0x5598cc=_0x25ed73;return _0x164a11[_0x5598cc(0x270)](_0x1c6396[_0x5598cc(0x27a)],{'key':_0x26ddb3,..._0x14ac24(_0x1c6396,_0x565ff2,_0x40987f),..._0x349719},(_0x1475b3(_0x1c6396,_0x565ff2)[_0x5598cc(0x220)]||[])[_0x5598cc(0x2c3)]((_0x28df44,_0x2f583b)=>_0x27f133(_0x28df44,_0x26ddb3+'-'+_0x1c6396[_0x5598cc(0x27a)]+'-'+_0x2f583b,_0x565ff2,void 0x0,_0x40987f)));}function _0x14ac24(_0x1a644c,_0x1e44c3,_0x43cc13){const _0x122166=_0x25ed73,_0x4d6a21={..._0x1a644c[_0x122166(0x2e0)]};_0x43cc13!=null&&_0x43cc13['colorChannel1']&&_0x4d6a21[_0x122166(0x22e)]===_0x122166(0x1d2)&&(_0x4d6a21[_0x122166(0x22e)]=_0x43cc13['colorChannel1']),_0x1a644c[_0x122166(0x27a)]===_0x122166(0x2ac)&&_0x4d6a21['id']&&(_0x4d6a21['id']=_0x4d6a21['id']+_0x1e44c3['idSuffix']),Object[_0x122166(0x27e)](_0x4d6a21)[_0x122166(0x26a)](([_0x4023df,_0x525aea])=>{const _0x3f34de=_0x122166;_0x4023df===_0x3f34de(0x2ac)&&typeof _0x525aea==_0x3f34de(0x24a)&&(_0x4d6a21[_0x4023df]=_0x525aea[_0x3f34de(0x218)](/url\(#(.*)\)/,_0x3f34de(0x212)+_0x1e44c3[_0x3f34de(0x2a9)]+')'));});const {defIds:_0xcb6da3}=_0x1e44c3;return!_0xcb6da3||_0xcb6da3['length']===0x0||(_0x1a644c[_0x122166(0x27a)]===_0x122166(0x2a1)&&_0x4d6a21[_0x122166(0x290)]&&(_0x4d6a21[_0x122166(0x290)]=_0x4d6a21[_0x122166(0x290)]+_0x1e44c3[_0x122166(0x2a9)]),Object[_0x122166(0x27e)](_0x4d6a21)['forEach'](([_0x28071e,_0x29c1e5])=>{const _0x1d4cd9=_0x122166;typeof _0x29c1e5==_0x1d4cd9(0x24a)&&(_0x4d6a21[_0x28071e]=_0x29c1e5[_0x1d4cd9(0x218)](/url\(#(.*)\)/,_0x1d4cd9(0x212)+_0x1e44c3[_0x1d4cd9(0x2a9)]+')'));})),_0x4d6a21;}function _0x1475b3(_0x42e886,_0x450892){const _0xf9d413=_0x25ed73;var _0x1fd6b0;const {defIds:_0x14342d}=_0x450892;return!_0x14342d||_0x14342d[_0xf9d413(0x2e3)]===0x0?_0x42e886:_0x42e886['tag']===_0xf9d413(0x258)&&((_0x1fd6b0=_0x42e886['children'])!=null&&_0x1fd6b0['length'])?{..._0x42e886,'children':_0x42e886[_0xf9d413(0x220)]['map'](_0x3ecc3a=>typeof _0x3ecc3a[_0xf9d413(0x2e0)]['id']==_0xf9d413(0x24a)&&_0x14342d&&_0x14342d[_0xf9d413(0x2f7)](_0x3ecc3a[_0xf9d413(0x2e0)]['id'])?{..._0x3ecc3a,'attrs':{..._0x3ecc3a[_0xf9d413(0x2e0)],'id':_0x3ecc3a[_0xf9d413(0x2e0)]['id']+_0x450892['idSuffix']}}:_0x3ecc3a)}:_0x42e886;}function _0x269eb2(){const _0x37c17f=_0x25ed73;return Math[_0x37c17f(0x26f)]()['toString'](0x24)['substring'](0x2,0x8);}_0x5b9193[_0x25ed73(0x1fa)]='UniverIcon';const _0x556e1b={'tag':_0x25ed73(0x27c),'attrs':{'xmlns':_0x25ed73(0x201),'fill':_0x25ed73(0x2c8),'viewBox':_0x25ed73(0x1fb),'width':_0x25ed73(0x207),'height':_0x25ed73(0x207)},'children':[{'tag':'g','attrs':{'fill':_0x25ed73(0x2a0),'clipPath':_0x25ed73(0x297)},'children':[{'tag':'path','attrs':{'d':_0x25ed73(0x226)}},{'tag':_0x25ed73(0x1f0),'attrs':{'d':_0x25ed73(0x20e)}}]},{'tag':_0x25ed73(0x258),'attrs':{},'children':[{'tag':_0x25ed73(0x23e),'attrs':{'id':_0x25ed73(0x2ed)},'children':[{'tag':_0x25ed73(0x1f0),'attrs':{'fill':_0x25ed73(0x1db),'d':_0x25ed73(0x2f5)}}]}]}],'defIds':[_0x25ed73(0x2ed)]},_0x1a0996=_0x164a11[_0x25ed73(0x2dc)](function(_0x5711b4,_0x5ee73c){const _0x1bdcf6=_0x25ed73;return _0x164a11['createElement'](_0x5b9193,Object[_0x1bdcf6(0x26e)]({},_0x5711b4,{'id':_0x1bdcf6(0x2df),'ref':_0x5ee73c,'icon':_0x556e1b}));});_0x1a0996[_0x25ed73(0x1fa)]=_0x25ed73(0x1f4);var _0x12a0ab=Object[_0x25ed73(0x28d)],_0x2b2500=(_0x45669f,_0x21b1cf,_0x3b6c4e,_0x31cf89)=>{const _0x3987fc=_0x25ed73;for(var _0x37752b=_0x31cf89>0x1?void 0x0:_0x31cf89?_0x12a0ab(_0x21b1cf,_0x3b6c4e):_0x21b1cf,_0x1a6f43=_0x45669f[_0x3987fc(0x2e3)]-0x1,_0x26635b;_0x1a6f43>=0x0;_0x1a6f43--)(_0x26635b=_0x45669f[_0x1a6f43])&&(_0x37752b=_0x26635b(_0x37752b)||_0x37752b);return _0x37752b;},_0x49ea4b=(_0x4cd7a4,_0x508fe0)=>(_0x5ab902,_0x3b2e36)=>_0x508fe0(_0x5ab902,_0x3b2e36,_0x4cd7a4);const _0xfc82e7=_0x25ed73(0x23a),_0x5442d7=_0x25ed73(0x1da),_0xca8b27='univer-history-container';_0xb5c8dc[_0x25ed73(0x261)]=class extends _0x419a51[_0x25ed73(0x1e9)]{constructor(_0x30f69c,_0x2b9f19,_0x386ec0,_0x3be494,_0x54fdc3,_0x1115d9,_0x1cd5c2,_0x339247,_0x437236,_0x5acc9a){const _0xcc1691=_0x25ed73;super(),_0x395bb6(this,_0xcc1691(0x2d1),new _0x54efc0[(_0xcc1691(0x25e))](null)),_0x395bb6(this,'historyUniver$',this[_0xcc1691(0x2d1)]['asObservable']()),_0x395bb6(this,_0xcc1691(0x28a),new _0x419a51[(_0xcc1691(0x2e4))]()),_0x395bb6(this,'_pluginMap',new Map()),(this[_0xcc1691(0x1ec)]=_0x30f69c,this['_univerInstanceService']=_0x2b9f19,this['_configService']=_0x386ec0,this[_0xcc1691(0x2e2)]=_0x3be494,this['_messageService']=_0x54fdc3,this[_0xcc1691(0x1d8)]=_0x1115d9,this[_0xcc1691(0x2eb)]=_0x1cd5c2,this[_0xcc1691(0x228)]=_0x339247,this['_sidebarService']=_0x437236,this[_0xcc1691(0x24f)]=_0x5acc9a,this['_init']());}get[_0x25ed73(0x247)](){const _0x3d5783=_0x25ed73;return this[_0x3d5783(0x2d1)][_0x3d5783(0x1d4)];}[_0x25ed73(0x2ee)](){const _0x2ab0d6=_0x25ed73;this[_0x2ab0d6(0x24e)](),this[_0x2ab0d6(0x266)]();}['_initContainer'](){const _0x4f6b07=_0x25ed73;var _0x109e4f;const _0x563445=(_0x109e4f=this[_0x4f6b07(0x2af)][_0x4f6b07(0x1fd)](_0x5442d7))!=null?_0x109e4f:_0xfc82e7,_0x14e54c=document['getElementById'](_0x563445);if(!_0x14e54c)return;const _0xd08bc6=document[_0x4f6b07(0x270)](_0x4f6b07(0x2a7));_0xd08bc6['id']=_0xca8b27,_0xd08bc6[_0x4f6b07(0x272)][_0x4f6b07(0x208)]=_0x4f6b07(0x2f1),_0xd08bc6['style'][_0x4f6b07(0x1ff)]=_0x4f6b07(0x1f7),_0xd08bc6[_0x4f6b07(0x1ed)][_0x4f6b07(0x28f)]='0',_0xd08bc6[_0x4f6b07(0x1ed)][_0x4f6b07(0x2db)]='0',_0xd08bc6[_0x4f6b07(0x1ed)][_0x4f6b07(0x1dd)]=_0x4f6b07(0x225),_0xd08bc6[_0x4f6b07(0x1ed)][_0x4f6b07(0x23b)]=_0x4f6b07(0x225),_0xd08bc6[_0x4f6b07(0x1ed)]['zIndex']='1000',_0xd08bc6['style'][_0x4f6b07(0x26d)]=_0x4f6b07(0x2c8),_0x14e54c[_0x4f6b07(0x275)](_0xd08bc6);}[_0x25ed73(0x266)](){const _0x33b954=_0x25ed73;var _0x4e37c5,_0x1be76b,_0x3388c6,_0x7c0a92;[[_0x2bac70[_0x33b954(0x2bc)]],[_0x2b82df[_0x33b954(0x2b2)],{'container':_0xca8b27,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x2b82df['IDialogService'],null]]}],[_0x451c73[_0x33b954(0x22a)]],[_0x404858[_0x33b954(0x21f)],{'override':[[_0x404858[_0x33b954(0x2de)],null]]}],[_0x1d0821[_0x33b954(0x2b6)],{'hasScroll':!0x1}],[_0x378767['UniverDocsUIPlugin']],[_0x250c7d[_0x33b954(0x2d9)]],[_0x542cb9['UniverSheetsPlugin'],{'notExecuteFormula':!0x0}],[_0x242259['UniverSheetsUIPlugin']],[_0x412526[_0x33b954(0x2f6)]],[_0x33d006[_0x33b954(0x265)]],[_0x485045[_0x33b954(0x1d1)]],[_0x49003b[_0x33b954(0x21d)]],[_0x1db986[_0x33b954(0x28b)]],[_0x3475c7[_0x33b954(0x1e3)]],[_0x16d3e1[_0x33b954(0x1e2)]],[_0x2a192b[_0x33b954(0x235)]],[_0x1d0a73[_0x33b954(0x21b)]],[_0x4894a6[_0x33b954(0x259)]],[_0x4332d4[_0x33b954(0x2e9)]],[_0x5b43b7[_0x33b954(0x222)]],[_0x401ff2[_0x33b954(0x1e1)],{'notExecuteFormula':!0x0}],[_0x46bd78[_0x33b954(0x2da)],{'workerURL':(_0x1be76b=(_0x4e37c5=this[_0x33b954(0x2af)]['getConfig'](_0x46bd78[_0x33b954(0x267)]))==null?void 0x0:_0x4e37c5[_0x33b954(0x294)])!=null?_0x1be76b:_0x33b954(0x2e1)}],[_0xa7f386[_0x33b954(0x2f2)]],[_0x5e4260[_0x33b954(0x27b)]],[_0x188272[_0x33b954(0x29e)]],[_0x24b249[_0x33b954(0x2b1)]],[_0x2f25d9['UniverSheetSparklineUIPlugin']],[_0x1a9383['UniverSheetsChartPlugin']],[_0x16989b[_0x33b954(0x2b3)]],[_0x4085e1['UniverSheetsPivotTablePlugin'],{'notExecuteFormula':!0x0}],[_0x18ac35[_0x33b954(0x20c)],{'historyListServerUrl':(_0x3388c6=this[_0x33b954(0x2af)][_0x33b954(0x1fd)](_0x34c9d5))==null?void 0x0:_0x3388c6[_0x33b954(0x2ad)],'historyPanelComponentKey':(_0x7c0a92=this[_0x33b954(0x2af)][_0x33b954(0x1fd)](_0x34c9d5))==null?void 0x0:_0x7c0a92['historyPanelComponentKey']}]]['forEach'](([_0x12eea5,_0xea20db])=>this[_0x33b954(0x242)](_0x12eea5,_0xea20db));}[_0x25ed73(0x2c7)](){const _0x4ceacc=_0x25ed73;super['dispose'](),this[_0x4ceacc(0x2f8)](),this[_0x4ceacc(0x264)][_0x4ceacc(0x285)]();}[_0x25ed73(0x242)](_0x54c055,_0x24403a,_0x14071e){const _0x16fdc5=_0x25ed73;if(this[_0x16fdc5(0x264)]['has'](_0x54c055[_0x16fdc5(0x23d)])&&!_0x14071e)throw new Error(_0x16fdc5(0x2b9)+_0x54c055[_0x16fdc5(0x23d)]+_0x16fdc5(0x1d9));this['_pluginMap'][_0x16fdc5(0x20d)](_0x54c055[_0x16fdc5(0x23d)],[_0x54c055,_0x24403a]);}[_0x25ed73(0x2cd)](){const _0x132b0f=_0x25ed73;return Array[_0x132b0f(0x29b)](this[_0x132b0f(0x264)][_0x132b0f(0x20b)]());}[_0x25ed73(0x271)](_0xa9e581){const _0x4c841a=_0x25ed73,_0x13e911=document['getElementById'](_0xca8b27);_0x13e911&&(_0x13e911[_0x4c841a(0x1ed)][_0x4c841a(0x26d)]='block',this['_initUniver'](_0xa9e581,_0xca8b27));}[_0x25ed73(0x2f8)](){const _0x531994=_0x25ed73;var _0x117d75;this[_0x531994(0x28a)][_0x531994(0x2c7)](),(_0x117d75=this[_0x531994(0x247)])==null||_0x117d75['dispose'](),this['_historyUniver$'][_0x531994(0x246)](null);const _0x1d8b02=document['getElementById'](_0xca8b27);_0x1d8b02&&(_0x1d8b02[_0x531994(0x1ed)][_0x531994(0x26d)]=_0x531994(0x2c8));}['_initUniver'](_0x2f14ac,_0x448da0){const _0x4c1524=_0x25ed73;if(this[_0x4c1524(0x247)])return;const _0x1065da=new _0x419a51[(_0x4c1524(0x2b7))]({'locales':{[this[_0x4c1524(0x1ec)][_0x4c1524(0x2b0)]()]:this[_0x4c1524(0x1ec)][_0x4c1524(0x1ef)]()},'override':[[_0x419a51[_0x4c1524(0x283)],{'useClass':_0x110e37[_0x4c1524(0x232)]}]]}),_0x84b881=_0x1065da[_0x4c1524(0x281)]();this['disposeWithMe'](this['_themeService']['darkMode$']['subscribe'](_0x555e60=>{const _0x379ca3=_0x4c1524;_0x84b881[_0x379ca3(0x2a4)](_0x419a51[_0x379ca3(0x1de)])[_0x379ca3(0x251)](_0x555e60);})),this[_0x4c1524(0x2d5)](this[_0x4c1524(0x24f)][_0x4c1524(0x1e8)][_0x4c1524(0x243)](_0x1d4392=>{const _0x489f79=_0x4c1524;_0x84b881['get'](_0x419a51[_0x489f79(0x1de)])[_0x489f79(0x25a)](_0x1d4392);})),_0x84b881['get'](_0x419a51[_0x4c1524(0x295)])[_0x4c1524(0x20a)](this['_localeService'][_0x4c1524(0x2b0)]()),_0x84b881[_0x4c1524(0x2a4)](_0x419a51['IConfigService'])['setConfig'](_0x110e37[_0x4c1524(0x227)],this[_0x4c1524(0x2af)][_0x4c1524(0x1fd)](_0x110e37['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']));const _0x5900ff=this[_0x4c1524(0x2af)][_0x4c1524(0x1fd)](_0x1d94cd['LS_CONFIG_KEY']);_0x5900ff&&_0x1065da[_0x4c1524(0x242)](_0x1d94cd[_0x4c1524(0x2a3)],{'license':_0x5900ff['ls']}),this['_pluginMap'][_0x4c1524(0x26a)](([_0x264fb3,_0x254cfa])=>{const _0x582159=_0x4c1524;_0x1065da[_0x582159(0x242)](_0x264fb3,_0x254cfa);}),_0x84b881[_0x4c1524(0x254)](_0x37b030=>{const _0x495e60=_0x4c1524;this[_0x495e60(0x1ea)](_0x37b030,_0x2f14ac);}),this[_0x4c1524(0x2d1)][_0x4c1524(0x246)](_0x1065da);const _0x3bd0ac=_0x84b881[_0x4c1524(0x2a4)](_0x18ac35[_0x4c1524(0x24c)]),_0x4ac564=this[_0x4c1524(0x2ef)](_0x2f14ac);_0x3bd0ac[_0x4c1524(0x27d)](_0x2f14ac,_0x448da0,_0x4ac564);}[_0x25ed73(0x1ea)](_0x289d20,_0x32d0ba){const _0x5f000a=_0x25ed73,_0x4835a1=_0x289d20[_0x5f000a(0x2a4)](_0x18ac35[_0x5f000a(0x24c)]);this[_0x5f000a(0x28a)][_0x5f000a(0x2a5)](_0x4835a1['status$'][_0x5f000a(0x243)](_0x412ad4=>{const _0x1950f8=_0x5f000a;switch(_0x412ad4){case _0x18ac35[_0x1950f8(0x234)]['Entered']:this[_0x1950f8(0x228)][_0x1950f8(0x278)](),this[_0x1950f8(0x29a)]['close']();break;case _0x18ac35[_0x1950f8(0x234)][_0x1950f8(0x2bf)]:this['_commandService'][_0x1950f8(0x22d)](_0x143c2a['id']),this['unMountHistoryContent']();break;case _0x18ac35['HistoryModeStatus'][_0x1950f8(0x2bd)]:this[_0x1950f8(0x2f8)](),this[_0x1950f8(0x2b5)]['show']({'content':this[_0x1950f8(0x1ec)]['t'](_0x1950f8(0x206)),'type':_0x1f47b5[_0x1950f8(0x282)]['Error'],'duration':0xbb8});break;}})),this['_disposableCollection']['add'](_0x4835a1[_0x5f000a(0x209)]['subscribe'](async _0xce16ff=>{const _0x1e7699=_0x5f000a;_0xce16ff&&this[_0x1e7699(0x2e2)]['executeCommand'](_0x485045[_0x1e7699(0x239)]['id'],{'unitId':_0x32d0ba,'revision':_0xce16ff});}));}['_checkCanRevert'](_0x3aa6b6){const _0x5a378f=_0x25ed73,_0x21aa56=this[_0x5a378f(0x214)]['getUnit'](_0x3aa6b6)['getSheets']()[_0x5a378f(0x2c3)](_0x2e1eae=>_0x2e1eae[_0x5a378f(0x223)]()),_0x105c07=new _0x542cb9[(_0x5a378f(0x1eb))](_0x3aa6b6)['id'],_0x3b4e32=_0x21aa56['map'](_0x58beb2=>new _0x542cb9['WorksheetEditPermission'](_0x3aa6b6,_0x58beb2)['id']),_0x2c3e48=_0x21aa56['map'](_0x404380=>this[_0x5a378f(0x2eb)]['getSubunitRuleList'](_0x3aa6b6,_0x404380)['map'](_0x1d0d5f=>new _0x542cb9[(_0x5a378f(0x245))](_0x3aa6b6,_0x404380,_0x1d0d5f['permissionId'])['id']))['flat'](),_0x210e8f=new _0x542cb9[(_0x5a378f(0x1df))](_0x3aa6b6)['id'];return this[_0x5a378f(0x1d8)][_0x5a378f(0x2a8)]([_0x105c07,..._0x3b4e32,..._0x2c3e48,_0x210e8f])['every'](_0x585c5a=>!!_0x585c5a[_0x5a378f(0x1d4)]);}},_0xb5c8dc[_0x25ed73(0x261)]=_0x2b2500([_0x49ea4b(0x0,_0x419a51[_0x25ed73(0x1e6)](_0x419a51[_0x25ed73(0x295)])),_0x49ea4b(0x1,_0x419a51[_0x25ed73(0x2d0)]),_0x49ea4b(0x2,_0x419a51[_0x25ed73(0x21c)]),_0x49ea4b(0x3,_0x419a51[_0x25ed73(0x2f0)]),_0x49ea4b(0x4,_0x2b82df[_0x25ed73(0x291)]),_0x49ea4b(0x5,_0x419a51[_0x25ed73(0x1d5)]),_0x49ea4b(0x6,_0x419a51[_0x25ed73(0x1e6)](_0x542cb9[_0x25ed73(0x24b)])),_0x49ea4b(0x7,_0x419a51[_0x25ed73(0x1e6)](_0x2b82df['IDialogService'])),_0x49ea4b(0x8,_0x419a51[_0x25ed73(0x1e6)](_0x2b82df['ISidebarService'])),_0x49ea4b(0x9,_0x419a51[_0x25ed73(0x1e6)](_0x419a51[_0x25ed73(0x1de)]))],_0xb5c8dc[_0x25ed73(0x261)]);const _0x25fff6={'id':_0x25ed73(0x23c),'type':_0x419a51['CommandType'][_0x25ed73(0x22f)],'handler':_0x41f919=>{const _0x19860d=_0x25ed73,_0x5cc260=_0x41f919[_0x19860d(0x2a4)](_0xb5c8dc[_0x19860d(0x261)]),_0x2ac376=_0x41f919[_0x19860d(0x2a4)](_0x419a51[_0x19860d(0x2d0)]),{unitId:_0xd239a8}=_0x542cb9[_0x19860d(0x2ae)](_0x2ac376)||{};return _0xd239a8?(_0x5cc260[_0x19860d(0x271)](_0xd239a8),!0x0):!0x1;}},_0x143c2a={'id':'univer.operation.exit-edit-history','type':_0x419a51[_0x25ed73(0x2e8)][_0x25ed73(0x22f)],'handler':()=>!0x0};function _0x1fecab(_0x5a208f){const _0x5a3934=_0x25ed73;return{'id':_0x25fff6['id'],'type':_0x2b82df['MenuItemType'][_0x5a3934(0x2f4)],'icon':'HistoryIcon','tooltip':'editHistory.panel.title','hidden$':_0x2b82df[_0x5a3934(0x29d)](_0x5a208f,_0x419a51['UniverInstanceType']['UNIVER_SHEET']),'disabled$':_0x242259[_0x5a3934(0x28e)](_0x5a208f,{'workbookTypes':[_0x542cb9[_0x5a3934(0x1eb)],_0x542cb9[_0x5a3934(0x1e4)]],'worksheetTypes':[],'rangeTypes':[]})};}const _0x581bb8={[_0x2b82df[_0x25ed73(0x229)]['OTHERS']]:{[_0x25fff6['id']]:{'order':0.2,'menuItemFactory':_0x1fecab}}};var _0x5c0f79=Object[_0x25ed73(0x28d)],_0x3765ad=(_0x595252,_0x1c6a3d,_0x1cc0d4,_0xcf91e4)=>{for(var _0x2e9802=_0xcf91e4>0x1?void 0x0:_0xcf91e4?_0x5c0f79(_0x1c6a3d,_0x1cc0d4):_0x1c6a3d,_0x2a86a1=_0x595252['length']-0x1,_0x4a14a2;_0x2a86a1>=0x0;_0x2a86a1--)(_0x4a14a2=_0x595252[_0x2a86a1])&&(_0x2e9802=_0x4a14a2(_0x2e9802)||_0x2e9802);return _0x2e9802;},_0x384a78=(_0x490874,_0xf9a21)=>(_0x44f1a0,_0x553e3a)=>_0xf9a21(_0x44f1a0,_0x553e3a,_0x490874);let _0x4f4ec4=class extends _0x419a51[_0x25ed73(0x1d3)]{constructor(_0x347747,_0x5521a3,_0x306864,_0x5b7e09,_0x46aec3,_0x4b63cb,_0x152897,_0x4c90cc){const _0x50b3c1=_0x25ed73;super(),_0x395bb6(this,_0x50b3c1(0x210),null),(this[_0x50b3c1(0x2e2)]=_0x347747,this[_0x50b3c1(0x2f9)]=_0x5521a3,this[_0x50b3c1(0x1f9)]=_0x306864,this[_0x50b3c1(0x22b)]=_0x5b7e09,this[_0x50b3c1(0x1ec)]=_0x46aec3,this[_0x50b3c1(0x2b5)]=_0x4b63cb,this['_collaborationController']=_0x152897,this[_0x50b3c1(0x25b)]=_0x4c90cc,this[_0x50b3c1(0x2ee)]());}[_0x25ed73(0x2ee)](){const _0x5a4330=_0x25ed73;[_0x25fff6,_0x143c2a][_0x5a4330(0x26a)](_0x27788b=>this[_0x5a4330(0x2d5)](_0x419a51['toDisposable'](this[_0x5a4330(0x2e2)][_0x5a4330(0x255)](_0x27788b)))),this[_0x5a4330(0x2d5)](this[_0x5a4330(0x1f9)][_0x5a4330(0x2cf)](_0x5a4330(0x1f4),_0x1a0996)),this[_0x5a4330(0x2f9)]['mergeMenu'](_0x581bb8),this[_0x5a4330(0x2d5)](this[_0x5a4330(0x2e2)][_0x5a4330(0x2a6)](_0x5c2452=>{const _0x28824c=_0x5a4330;if(_0x5c2452['id']===_0x485045[_0x28824c(0x239)]['id']){this['_messageService'][_0x28824c(0x287)]({'content':this[_0x28824c(0x1ec)]['t']('editHistory.panel.reverting'),'type':_0x1f47b5[_0x28824c(0x282)]['Loading'],'duration':0x1388});const {unitId:_0x4de1cf}=_0x5c2452[_0x28824c(0x269)],_0x262b43=this['_collaborationController']['getCollabEntity'](_0x4de1cf),_0x2ae751=_0x54efc0[_0x28824c(0x1f2)]([_0x262b43[_0x28824c(0x224)]['event$'],_0x262b43[_0x28824c(0x2aa)]])[_0x28824c(0x243)](async([_0x3bd57e,_0x71fce3])=>{const _0x156e3e=_0x28824c;var _0x1374f8;_0x3bd57e[_0x156e3e(0x249)]===_0x485045[_0x156e3e(0x2e7)][_0x156e3e(0x202)]&&(_0x71fce3==null?void 0x0:_0x71fce3['status'])===_0x110e37[_0x156e3e(0x1ee)][_0x156e3e(0x29f)]&&_0x3bd57e['data'][_0x156e3e(0x256)][_0x156e3e(0x2d4)](_0x28e832=>_0x28e832['id']===_0x485045[_0x156e3e(0x239)]['id'])&&(this['_historyManagerService']['unMountHistoryContent'](),_0x2ae751[_0x156e3e(0x279)](),this[_0x156e3e(0x210)]&&clearTimeout(this[_0x156e3e(0x210)]),await((_0x1374f8=this['_localCacheService'])==null?void 0x0:_0x1374f8[_0x156e3e(0x217)]()),setTimeout(()=>window[_0x156e3e(0x241)][_0x156e3e(0x26b)]()));});this[_0x28824c(0x210)]=setTimeout(()=>{const _0x17ff64=_0x28824c;_0x2ae751['unsubscribe'](),this[_0x17ff64(0x2b5)][_0x17ff64(0x287)]({'content':this['_localeService']['t'](_0x17ff64(0x252)),'type':_0x1f47b5[_0x17ff64(0x282)][_0x17ff64(0x2bd)],'duration':0xbb8});},0x1388);}}));}};_0x4f4ec4=_0x3765ad([_0x384a78(0x0,_0x419a51[_0x25ed73(0x2f0)]),_0x384a78(0x1,_0x2b82df['IMenuManagerService']),_0x384a78(0x2,_0x419a51[_0x25ed73(0x1e6)](_0x2b82df['ComponentManager'])),_0x384a78(0x3,_0x419a51['Inject'](_0xb5c8dc['HistoryLoaderService'])),_0x384a78(0x4,_0x419a51['Inject'](_0x419a51['LocaleService'])),_0x384a78(0x5,_0x2b82df[_0x25ed73(0x291)]),_0x384a78(0x6,_0x419a51[_0x25ed73(0x1e6)](_0x110e37[_0x25ed73(0x204)])),_0x384a78(0x7,_0x110e37['ILocalCacheService'])],_0x4f4ec4);var _0x5b8b71=Object[_0x25ed73(0x28d)],_0xdebdd=(_0x36ec14,_0x408810,_0x1e916f,_0x38bbce)=>{const _0x1570c2=_0x25ed73;for(var _0x587513=_0x38bbce>0x1?void 0x0:_0x38bbce?_0x5b8b71(_0x408810,_0x1e916f):_0x408810,_0x3ba557=_0x36ec14[_0x1570c2(0x2e3)]-0x1,_0x378c95;_0x3ba557>=0x0;_0x3ba557--)(_0x378c95=_0x36ec14[_0x3ba557])&&(_0x587513=_0x378c95(_0x587513)||_0x587513);return _0x587513;},_0x2d55ce=(_0x52111b,_0x161141)=>(_0x52a90a,_0x4cad5e)=>_0x161141(_0x52a90a,_0x4cad5e,_0x52111b);const _0x24c89e=_0x25ed73(0x1e0);_0xb5c8dc[_0x25ed73(0x276)]=(_0x2752e7=class extends _0x419a51[_0x25ed73(0x2ca)]{constructor(_0x24b678=_0x45b813,_0x41f27d,_0x4a1cc4){const _0x3753e8=_0x25ed73;super(),this[_0x3753e8(0x260)]=_0x24b678,this[_0x3753e8(0x1f3)]=_0x41f27d,this[_0x3753e8(0x2af)]=_0x4a1cc4;const {menu:_0x4968fb,..._0x219051}=_0x419a51[_0x3753e8(0x2c4)]({},_0x45b813,this['_config']);_0x4968fb&&this[_0x3753e8(0x2af)][_0x3753e8(0x248)]('menu',_0x4968fb,{'merge':!0x0}),this['_configService'][_0x3753e8(0x248)](_0x34c9d5,_0x219051),this[_0x3753e8(0x260)][_0x3753e8(0x1dc)]&&this[_0x3753e8(0x2af)][_0x3753e8(0x248)](_0x5442d7,this[_0x3753e8(0x260)][_0x3753e8(0x1dc)]);}[_0x25ed73(0x262)](){const _0x5c0fc3=_0x25ed73;[[_0xb5c8dc['HistoryLoaderService']],[_0x4f4ec4]][_0x5c0fc3(0x26a)](_0x482abb=>this[_0x5c0fc3(0x1f3)]['add'](_0x482abb));}[_0x25ed73(0x21a)](){const _0x424fe3=_0x25ed73;this[_0x424fe3(0x1f3)][_0x424fe3(0x2a4)](_0x4f4ec4);}},_0x395bb6(_0x2752e7,'type',_0x419a51[_0x25ed73(0x1d7)][_0x25ed73(0x240)]),_0x395bb6(_0x2752e7,'pluginName',_0x24c89e),_0x2752e7),_0xb5c8dc[_0x25ed73(0x276)]=_0xdebdd([_0x2d55ce(0x1,_0x419a51[_0x25ed73(0x1e6)](_0x419a51[_0x25ed73(0x29c)])),_0x2d55ce(0x2,_0x419a51[_0x25ed73(0x21c)])],_0xb5c8dc['UniverEditHistoryLoaderPlugin']),_0xb5c8dc[_0x25ed73(0x2ce)]=_0x5442d7,_0xb5c8dc[_0x25ed73(0x205)]=_0xca8b27,Object[_0x25ed73(0x2a2)](_0xb5c8dc,Symbol[_0x25ed73(0x236)],{'value':'Module'});}));function _0x53d2(_0x1f7516,_0x2c2848){_0x1f7516=_0x1f7516-0x1d1;const _0x3c31ec=_0x3c31();let _0x53d252=_0x3c31ec[_0x1f7516];return _0x53d252;}function _0x3c31(){const _0x26170f=['UniverSheetsDataValidation','UniverRpc','UniverSheetsNumfmtPlugin','UniverRPCMainThreadPlugin','left','forwardRef','@univerjs/sheets-hyper-link-ui','IImageIoService','history-icon','attrs','./worker.js','_commandService','length','DisposableCollection','500609QIsqVw','exports','CollaborationEvent','CommandType','UniverSheetsDataValidationPlugin','@univerjs/sheets-conditional-formatting-ui','_selectionProtectionRuleModel','@univerjs/sheets-data-validation-ui','history-icon_clip0_907_281','_init','_checkCanRevert','ICommandService','history-container','UniverDrawingUIPlugin','@univerjs/rpc','BUTTON','M0\x200H16V16H0z','UniverSheetsFormulaPlugin','includes','unMountHistoryContent','_menuManagerService','UniverProEditHistoryViewer','UniverCollaborationPlugin','colorChannel1','RxDisposable','value','IPermissionService','UniverCore','UniverInstanceType','_permissionService','\x20has\x20been\x20registered.','UNIVER_CONTAINER_ID','white','univerContainerId','width','ThemeService','WorkbookRecoverHistoryPermission','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','UniverFormulaEnginePlugin','UniverSheetsConditionalFormattingUIPlugin','UniverSheetsConditionalFormattingPlugin','WorkbookViewHistoryPermission','@univerjs-pro/collaboration-client','Inject','UniverProEditHistoryLoader','currentTheme$','Disposable','_initListener','WorkbookEditablePermission','_localeService','style','CollaborationStatus','getLocales','path','univerjs-icon\x20univerjs-icon-','combineLatest','_injector','HistoryIcon','7758075xRfCWP','@univerjs/sheets-numfmt','absolute','21WteREq','_componentManager','displayName','0\x200\x2016\x2016','@univerjs-pro/edit-history-viewer','getConfig','@univerjs-pro/sheets-chart-ui','position','UniverDrawingUi','http://www.w3.org/2000/svg','CHANGESET_ACK','UniverProSheetsChartUi','CollaborationController','UNIVER_HISTORY_CONTAINER_ID','editHistory.panel.listFetchError','1em','uComp','revertRevision$','setLocale','values','UniverEditHistoryViewerPlugin','set','M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z','UniverEngineFormula','_revertErrorTimer','UniverProSheetsSparkline','url(#$1','UniverSheetsUi','_univerInstanceService','836213IWtStH','@univerjs/sheets-filter-ui','exhaustSavingTask','replace','@univerjs/sheets-drawing-ui','onSteady','UniverSheetsHyperLinkUIPlugin','IConfigService','UniverSheetsFilterPlugin','@univerjs/network','UniverDrawingPlugin','children','@univerjs/engine-render','UniverSheetsDataValidationUIPlugin','getSheetId','session','100%','M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_dialogService','RibbonStartGroup','UniverNetworkPlugin','_historyManagerService','UniverProLicense','executeCommand','fill','OPERATION','UniverDocsUi','UniverSheetsFilter','AuthzIoHttpService','80isITer','HistoryModeStatus','UniverSheetsHyperLinkPlugin','toStringTag','UniverSheetsFilterUi','@univerjs/sheets-hyper-link','RevertRevisionMutation','univer-container','height','univer.operation.toggle-edit-history','pluginName','clipPath','667616vSCeJE','UNIVER_UNKNOWN','location','registerPlugin','subscribe','symbol','RangeProtectionPermissionEditPoint','next','historyUniver','setConfig','eventID','string','RangeProtectionRuleModel','HistoryManagerService','amd','_initContainer','_themeService','UniverSheetsDataValidationUi','setDarkMode','editHistory.panel.revertFailed','UniverUi','invoke','registerCommand','mutations','UniverSheetsConditionalFormatting','defs','UniverDataValidationPlugin','setTheme','_localCacheService','function','@univerjs/sheets-drawing','BehaviorSubject','useRef','_config','HistoryLoaderService','onStarting','@univerjs/drawing-ui','_pluginMap','UniverSheetsFormulaUIPlugin','_initPlugins','PLUGIN_CONFIG_KEY_MAIN_THREAD','@univerjs-pro/license','params','forEach','reload','React','display','assign','random','createElement','mountHistoryContent','dataset','@univerjs/sheets-formula','object','appendChild','UniverEditHistoryLoaderPlugin','@univerjs/core','closeAll','unsubscribe','tag','UniverSheetsDrawingPlugin','svg','triggerLoadVersions','entries','17291592RatSoX','UniverSheetsFormula','__getInjector','MessageType','IAuthzIoService','@univerjs/sheets-data-validation','clear','UniverProCollaborationClient','show','UniverProSheetsPivot','@univerjs/engine-formula','_disposableCollection','UniverSheetsFilterUIPlugin','@univerjs/sheets-ui','getOwnPropertyDescriptor','getCurrentRangeDisable$','top','xlink:href','IMessageService','@univerjs/sheets-filter','defIds','workerURL','LocaleService','@univerjs/sheets','url(#history-icon_clip0_907_281)','@univerjs/docs-ui','@univerjs-pro/sheets-pivot','_sidebarService','from','Injector','getMenuHiddenObservable','UniverSheetsDrawingUIPlugin','SYNCED','currentColor','use','defineProperty','UniverLicensePlugin','get','add','onCommandExecuted','div','composePermission','idSuffix','state$','794520RxFBKZ','mask','historyListServerUrl','getSheetCommandTarget','_configService','getCurrentLocale','UniverSheetSparklinePlugin','UniverUIPlugin','UniverSheetsChartUIPlugin','UniverEngineRender','_messageService','UniverDocsPlugin','Univer','UniverSheets','[HistoryLoaderService]:\x20Plugin\x20','@univerjs/sheets-conditional-formatting','@univerjs/design','UniverRenderEnginePlugin','Error','react','Exited','UniverSheetsDrawing','rxjs','UniverSheetsDrawingUi','map','merge','714816bFJHOI','@univerjs-pro/sheets-sparkline','dispose','none','@univerjs/docs','Plugin','UniverSheetsHyperLinkUi','UniverDataValidation','getAllPlugins','UNIVER_CONTAINER_ID_KEY','register','IUniverInstanceService','_historyUniver$','UniverSheetsFormulaUi','UniverNetwork','some','disposeWithMe','UniverProCollaboration'];_0x3c31=function(){return _0x26170f;};return _0x3c31();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/edit-history-loader",
|
|
3
|
-
"version": "0.15.0-insiders.
|
|
3
|
+
"version": "0.15.0-insiders.20260108-47c73e3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "UniverSheet edit history loader",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -46,49 +46,49 @@
|
|
|
46
46
|
"rxjs": ">=7.0.0"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@univerjs/icons": "^1.1.
|
|
50
|
-
"@univerjs-pro/collaboration": "0.15.0-insiders.
|
|
51
|
-
"@univerjs-pro/collaboration-client": "0.15.0-insiders.
|
|
52
|
-
"@univerjs-pro/edit-history-viewer": "0.15.0-insiders.
|
|
53
|
-
"@univerjs-pro/sheets-chart
|
|
54
|
-
"@univerjs-pro/license": "0.15.0-insiders.
|
|
55
|
-
"@univerjs-pro/sheets-
|
|
56
|
-
"@univerjs
|
|
57
|
-
"@univerjs-pro/sheets-
|
|
58
|
-
"@univerjs/
|
|
59
|
-
"@univerjs/
|
|
60
|
-
"@univerjs/
|
|
61
|
-
"@univerjs/docs-ui": "0.15.0-insiders.
|
|
62
|
-
"@univerjs/
|
|
63
|
-
"@univerjs
|
|
64
|
-
"@univerjs/
|
|
65
|
-
"@univerjs/
|
|
66
|
-
"@univerjs/
|
|
67
|
-
"@univerjs/
|
|
68
|
-
"@univerjs/rpc": "0.15.0-insiders.
|
|
69
|
-
"@univerjs/
|
|
70
|
-
"@univerjs/sheets
|
|
71
|
-
"@univerjs/
|
|
72
|
-
"@univerjs/sheets-data-validation": "0.15.0-insiders.
|
|
73
|
-
"@univerjs/sheets-
|
|
74
|
-
"@univerjs/sheets-
|
|
75
|
-
"@univerjs/sheets-drawing": "0.15.0-insiders.
|
|
76
|
-
"@univerjs/sheets-
|
|
77
|
-
"@univerjs/sheets-
|
|
78
|
-
"@univerjs/sheets-
|
|
79
|
-
"@univerjs/sheets-formula": "0.15.0-insiders.
|
|
80
|
-
"@univerjs/sheets-
|
|
81
|
-
"@univerjs/sheets-hyper-link": "0.15.0-insiders.
|
|
82
|
-
"@univerjs/sheets-
|
|
83
|
-
"@univerjs/
|
|
84
|
-
"@univerjs/ui": "0.15.0-insiders.
|
|
85
|
-
"@univerjs/sheets-numfmt": "0.15.0-insiders.
|
|
49
|
+
"@univerjs/icons": "^1.1.1",
|
|
50
|
+
"@univerjs-pro/collaboration": "0.15.0-insiders.20260108-47c73e3",
|
|
51
|
+
"@univerjs-pro/collaboration-client": "0.15.0-insiders.20260108-47c73e3",
|
|
52
|
+
"@univerjs-pro/edit-history-viewer": "0.15.0-insiders.20260108-47c73e3",
|
|
53
|
+
"@univerjs-pro/sheets-chart": "0.15.0-insiders.20260108-47c73e3",
|
|
54
|
+
"@univerjs-pro/license": "0.15.0-insiders.20260108-47c73e3",
|
|
55
|
+
"@univerjs-pro/sheets-pivot": "0.15.0-insiders.20260108-47c73e3",
|
|
56
|
+
"@univerjs/core": "0.15.0-insiders.20260108-47c73e3",
|
|
57
|
+
"@univerjs-pro/sheets-chart-ui": "0.15.0-insiders.20260108-47c73e3",
|
|
58
|
+
"@univerjs-pro/sheets-sparkline-ui": "0.15.0-insiders.20260108-47c73e3",
|
|
59
|
+
"@univerjs-pro/sheets-sparkline": "0.15.0-insiders.20260108-47c73e3",
|
|
60
|
+
"@univerjs/data-validation": "0.15.0-insiders.20260108-47c73e3",
|
|
61
|
+
"@univerjs/docs-ui": "0.15.0-insiders.20260108-47c73e3",
|
|
62
|
+
"@univerjs/design": "0.15.0-insiders.20260108-47c73e3",
|
|
63
|
+
"@univerjs/drawing": "0.15.0-insiders.20260108-47c73e3",
|
|
64
|
+
"@univerjs/engine-formula": "0.15.0-insiders.20260108-47c73e3",
|
|
65
|
+
"@univerjs/docs": "0.15.0-insiders.20260108-47c73e3",
|
|
66
|
+
"@univerjs/drawing-ui": "0.15.0-insiders.20260108-47c73e3",
|
|
67
|
+
"@univerjs/engine-render": "0.15.0-insiders.20260108-47c73e3",
|
|
68
|
+
"@univerjs/rpc": "0.15.0-insiders.20260108-47c73e3",
|
|
69
|
+
"@univerjs/network": "0.15.0-insiders.20260108-47c73e3",
|
|
70
|
+
"@univerjs/sheets": "0.15.0-insiders.20260108-47c73e3",
|
|
71
|
+
"@univerjs/sheets-conditional-formatting": "0.15.0-insiders.20260108-47c73e3",
|
|
72
|
+
"@univerjs/sheets-data-validation-ui": "0.15.0-insiders.20260108-47c73e3",
|
|
73
|
+
"@univerjs/sheets-drawing": "0.15.0-insiders.20260108-47c73e3",
|
|
74
|
+
"@univerjs/sheets-conditional-formatting-ui": "0.15.0-insiders.20260108-47c73e3",
|
|
75
|
+
"@univerjs/sheets-drawing-ui": "0.15.0-insiders.20260108-47c73e3",
|
|
76
|
+
"@univerjs/sheets-filter": "0.15.0-insiders.20260108-47c73e3",
|
|
77
|
+
"@univerjs/sheets-data-validation": "0.15.0-insiders.20260108-47c73e3",
|
|
78
|
+
"@univerjs/sheets-formula": "0.15.0-insiders.20260108-47c73e3",
|
|
79
|
+
"@univerjs/sheets-formula-ui": "0.15.0-insiders.20260108-47c73e3",
|
|
80
|
+
"@univerjs/sheets-hyper-link": "0.15.0-insiders.20260108-47c73e3",
|
|
81
|
+
"@univerjs/sheets-hyper-link-ui": "0.15.0-insiders.20260108-47c73e3",
|
|
82
|
+
"@univerjs/sheets-filter-ui": "0.15.0-insiders.20260108-47c73e3",
|
|
83
|
+
"@univerjs/ui": "0.15.0-insiders.20260108-47c73e3",
|
|
84
|
+
"@univerjs/sheets-ui": "0.15.0-insiders.20260108-47c73e3",
|
|
85
|
+
"@univerjs/sheets-numfmt": "0.15.0-insiders.20260108-47c73e3"
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|
|
88
88
|
"react": "18.3.1",
|
|
89
89
|
"rxjs": "7.8.2",
|
|
90
90
|
"typescript": "^5.9.3",
|
|
91
|
-
"vite": "^7.3.
|
|
91
|
+
"vite": "^7.3.1",
|
|
92
92
|
"vitest": "^4.0.16",
|
|
93
93
|
"@univerjs-infra/shared": "0.15.0"
|
|
94
94
|
},
|