@univerjs-pro/edit-history-loader 0.25.1 → 1.0.0-alpha.1
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/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/controllers/components.controller.d.ts +7 -0
- package/lib/types/controllers/history-loader.controller.d.ts +2 -3
- package/lib/types/controllers/history-menu.d.ts +2 -1
- package/lib/types/controllers/mobile-history-loader.controller.d.ts +2 -3
- package/lib/types/index.d.ts +3 -3
- package/lib/types/locale/types.d.ts +3 -0
- package/lib/types/mobile-plugin.d.ts +1 -1
- package/lib/types/plugin.d.ts +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +44 -44
- /package/lib/types/{command → commands}/history.operate.d.ts +0 -0
- /package/lib/types/{controllers/config.schema.d.ts → config/config.d.ts} +0 -0
- /package/lib/types/{controllers/menu.schema.d.ts → menu/schema.d.ts} +0 -0
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x51e293=_0x2fa8;(function(_0x126ccd,_0x1f5fa3){const _0x4efd7e=_0x2fa8,_0xf6954b=_0x126ccd();while(!![]){try{const _0x1e07b9=parseInt(_0x4efd7e(0x24d))/0x1*(-parseInt(_0x4efd7e(0x1ab))/0x2)+-parseInt(_0x4efd7e(0x1bc))/0x3+-parseInt(_0x4efd7e(0x1a9))/0x4*(-parseInt(_0x4efd7e(0x1ff))/0x5)+-parseInt(_0x4efd7e(0x224))/0x6+parseInt(_0x4efd7e(0x1d9))/0x7+-parseInt(_0x4efd7e(0x20b))/0x8*(-parseInt(_0x4efd7e(0x1c2))/0x9)+-parseInt(_0x4efd7e(0x221))/0xa*(parseInt(_0x4efd7e(0x1b3))/0xb);if(_0x1e07b9===_0x1f5fa3)break;else _0xf6954b['push'](_0xf6954b['shift']());}catch(_0x46ffd5){_0xf6954b['push'](_0xf6954b['shift']());}}}(_0x2a39,0x1e249));import{CommandType as _0x3d5df8,DependentOn as _0x51581f,Disposable as _0x3b0571,DisposableCollection as _0x23e6ea,IAuthzIoService as _0x5d50e1,ICommandService as _0x5bcf60,IConfigService as _0x5d5514,IPermissionService as _0x596d58,IUniverInstanceService as _0x1ce298,Inject as _0x102fc7,Injector as _0x5ee0e3,LocaleService as _0xd2d502,Plugin as _0x37682d,RxDisposable as _0x45c40d,ThemeService as _0x49f88f,Univer as _0x191548,UniverInstanceType as _0x234953,Workbook as _0x1d912a,merge as _0x3a3707,toDisposable as _0x315320}from'@univerjs/core';import{RangeProtectionPermissionEditPoint as _0x5e36b5,RangeProtectionRuleModel as _0x1c26fe,SetWorksheetActivateCommand as _0xa82b9c,UniverSheetsPlugin as _0x34cadc,WorkbookEditablePermission as _0x4fb099,WorkbookRecoverHistoryPermission as _0xdaeacc,WorkbookViewHistoryPermission as _0x562672,WorksheetEditPermission as _0x26e9b1,getSheetCommandTarget as _0x37ec0e}from'@univerjs/sheets';import{CollaborationEvent as _0x476f17,RevertRevisionMutation as _0x403d50,UniverCollaborationPlugin as _0x3d3cf1}from'@univerjs-pro/collaboration';import{AuthzIoHttpService as _0x4a545d,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0xc7bda7,CollaborationController as _0xb67735,CollaborationStatus as _0x5a1b63,DataLoaderService as _0x18d51a,ILocalCacheService as _0x27a81a}from'@univerjs-pro/collaboration-client';import{HistoryManagerService as _0x406221,HistoryModeStatus as _0x215d4c,UniverEditHistoryViewerMobilePlugin as _0x8b0ffc,UniverEditHistoryViewerPlugin as _0x9430ed}from'@univerjs-pro/edit-history-viewer';import{LS_CONFIG_KEY as _0x4c6c98,UniverLicensePlugin as _0x58857c}from'@univerjs-pro/license';import{UniverSheetsChartPlugin as _0x37ecb5}from'@univerjs-pro/sheets-chart';import{UniverSheetsChartUIPlugin as _0x48bd23}from'@univerjs-pro/sheets-chart-ui';import{UniverSheetsPivotTablePlugin as _0x41f344}from'@univerjs-pro/sheets-pivot';import{UniverSheetsShapePlugin as _0x173546}from'@univerjs-pro/sheets-shape';import{UniverSheetsShapeUIPlugin as _0x42f70d}from'@univerjs-pro/sheets-shape-ui';import{UniverSheetSparklinePlugin as _0x6953f}from'@univerjs-pro/sheets-sparkline';import{UniverSheetSparklineUIPlugin as _0x23a31e}from'@univerjs-pro/sheets-sparkline-ui';import{UniverDataValidationPlugin as _0x57de3c}from'@univerjs/data-validation';import{MessageType as _0x5c5d92}from'@univerjs/design';import{UniverDocsPlugin as _0x12e6d3}from'@univerjs/docs';import{UniverDocsUIPlugin as _0x199e75}from'@univerjs/docs-ui';import{IImageIoService as _0x314976,UniverDrawingPlugin as _0x54de5f}from'@univerjs/drawing';import{UniverDrawingUIPlugin as _0x322e9c}from'@univerjs/drawing-ui';import{UniverFormulaEnginePlugin as _0x57849e}from'@univerjs/engine-formula';import{UniverRenderEnginePlugin as _0x40427b}from'@univerjs/engine-render';import{UniverNetworkPlugin as _0x445778}from'@univerjs/network';import{IRemoteInstanceService as _0x1c96ac,UniverRPCMainThreadPlugin as _0xfa38ef}from'@univerjs/rpc';import{UniverSheetsConditionalFormattingPlugin as _0x4c9a8c}from'@univerjs/sheets-conditional-formatting';import{UniverSheetsConditionalFormattingUIPlugin as _0xbba9c3}from'@univerjs/sheets-conditional-formatting-ui';import{UniverSheetsDataValidationPlugin as _0xd8a32a}from'@univerjs/sheets-data-validation';import{UniverSheetsDataValidationMobileUIPlugin as _0x1fe344,UniverSheetsDataValidationUIPlugin as _0x36291a}from'@univerjs/sheets-data-validation-ui';import{UniverSheetsDrawingPlugin as _0x1d65be}from'@univerjs/sheets-drawing';import{UniverSheetsDrawingUIPlugin as _0xf9efb3}from'@univerjs/sheets-drawing-ui';import{UniverSheetsFilterPlugin as _0x95b45b}from'@univerjs/sheets-filter';import{UniverSheetsFilterUIPlugin as _0x409ef9}from'@univerjs/sheets-filter-ui';import{UniverSheetsFormulaPlugin as _0x495bcc}from'@univerjs/sheets-formula';import{UniverSheetsFormulaUIPlugin as _0x35d9da}from'@univerjs/sheets-formula-ui';import{UniverSheetsHyperLinkPlugin as _0x1b6dec}from'@univerjs/sheets-hyper-link';import{UniverSheetsHyperLinkUIPlugin as _0x1b4647}from'@univerjs/sheets-hyper-link-ui';import{UniverSheetsNumfmtPlugin as _0x1624c6}from'@univerjs/sheets-numfmt';import{UniverSheetsTablePlugin as _0x374c90}from'@univerjs/sheets-table';import{UniverSheetsMobileUIPlugin as _0x2740d8,UniverSheetsUIPlugin as _0x38e3e8,getCurrentRangeDisable$ as _0x3460c4}from'@univerjs/sheets-ui';import{ComponentManager as _0x5eed86,IDialogService as _0xda4de0,IMenuManagerService as _0x8be2a1,IMessageService as _0x1da5eb,ISidebarService as _0x385be2,MenuItemType as _0xddd5cf,RibbonStartGroup as _0x54ea7a,UniverMobileUIPlugin as _0x22911a,UniverUIPlugin as _0x25d838,getMenuHiddenObservable as _0x4ac16b}from'@univerjs/ui';import{BehaviorSubject as _0x283d48,combineLatest as _0x220587,takeUntil as _0x951d67}from'rxjs';import{IURLService as _0x3196a6}from'@univerjs-pro/collaboration-client-ui';import{HistoryIcon as _0x7d2673}from'@univerjs/icons';const R=_0x51e293(0x211),z={};function B(_0x17e0b5){'@babel/helpers - typeof';const _0x4c599d=_0x51e293;return B=typeof Symbol=='function'&&typeof Symbol['iterator']==_0x4c599d(0x1f8)?function(_0x56a470){return typeof _0x56a470;}:function(_0x3641a8){const _0x30df4e=_0x4c599d;return _0x3641a8&&typeof Symbol==_0x30df4e(0x199)&&_0x3641a8['constructor']===Symbol&&_0x3641a8!==Symbol['prototype']?_0x30df4e(0x1f8):typeof _0x3641a8;},B(_0x17e0b5);}function _0x2fa8(_0x4a06c7,_0x4ca954){_0x4a06c7=_0x4a06c7-0x189;const _0x2a399c=_0x2a39();let _0x2fa8e2=_0x2a399c[_0x4a06c7];return _0x2fa8e2;}function it(_0x2f0f88,_0x38848f){const _0x2b484e=_0x51e293;if(B(_0x2f0f88)!='object'||!_0x2f0f88)return _0x2f0f88;var _0x1d9e90=_0x2f0f88[Symbol[_0x2b484e(0x1e1)]];if(_0x1d9e90!==void 0x0){var _0x7c0769=_0x1d9e90['call'](_0x2f0f88,_0x38848f||_0x2b484e(0x1cb));if(B(_0x7c0769)!=_0x2b484e(0x207))return _0x7c0769;throw TypeError(_0x2b484e(0x234));}return(_0x38848f===_0x2b484e(0x232)?String:Number)(_0x2f0f88);}function at(_0x1d5fdc){const _0x4495d2=_0x51e293;var _0x4ee0a7=it(_0x1d5fdc,'string');return B(_0x4ee0a7)==_0x4495d2(0x1f8)?_0x4ee0a7:_0x4ee0a7+'';}function V(_0x4b946f,_0x5eb98c,_0x1a16f5){const _0x149734=_0x51e293;return(_0x5eb98c=at(_0x5eb98c))in _0x4b946f?Object[_0x149734(0x1b0)](_0x4b946f,_0x5eb98c,{'value':_0x1a16f5,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4b946f[_0x5eb98c]=_0x1a16f5,_0x4b946f;}function H(_0x118ed1,_0x3c6846){return function(_0x516c0d,_0x4a2b5b){_0x3c6846(_0x516c0d,_0x4a2b5b,_0x118ed1);};}function U(_0x2fba64,_0x19354c,_0x2f5b65,_0x19cf80){const _0x29de8a=_0x51e293;var _0xa3dcdf=arguments[_0x29de8a(0x24a)],_0x10056d=_0xa3dcdf<0x3?_0x19354c:_0x19cf80===null?_0x19cf80=Object[_0x29de8a(0x213)](_0x19354c,_0x2f5b65):_0x19cf80,_0x2a12b3;if(typeof Reflect==_0x29de8a(0x207)&&typeof Reflect[_0x29de8a(0x1b7)]==_0x29de8a(0x199))_0x10056d=Reflect['decorate'](_0x2fba64,_0x19354c,_0x2f5b65,_0x19cf80);else{for(var _0x4e15b0=_0x2fba64[_0x29de8a(0x24a)]-0x1;_0x4e15b0>=0x0;_0x4e15b0--)(_0x2a12b3=_0x2fba64[_0x4e15b0])&&(_0x10056d=(_0xa3dcdf<0x3?_0x2a12b3(_0x10056d):_0xa3dcdf>0x3?_0x2a12b3(_0x19354c,_0x2f5b65,_0x10056d):_0x2a12b3(_0x19354c,_0x2f5b65))||_0x10056d);}return _0xa3dcdf>0x3&&_0x10056d&&Object[_0x29de8a(0x1b0)](_0x19354c,_0x2f5b65,_0x10056d),_0x10056d;}const ot=_0x51e293(0x1fd),W=_0x51e293(0x1f7);let G=class extends _0x3b0571{constructor(_0x45f528,_0xfb5a62,_0x272db7,_0x3b1b42,_0x1dd029,_0x493fe2,_0x4f644c,_0x29e955,_0x2b51fe,_0x2ca503){const _0x1fc9b0=_0x51e293;super(),this[_0x1fc9b0(0x1c3)]=_0x45f528,this[_0x1fc9b0(0x23b)]=_0xfb5a62,this[_0x1fc9b0(0x1e6)]=_0x272db7,this[_0x1fc9b0(0x19c)]=_0x3b1b42,this['_messageService']=_0x1dd029,this[_0x1fc9b0(0x1ec)]=_0x493fe2,this['_selectionProtectionRuleModel']=_0x4f644c,this[_0x1fc9b0(0x237)]=_0x29e955,this[_0x1fc9b0(0x245)]=_0x2b51fe,this[_0x1fc9b0(0x241)]=_0x2ca503,V(this,_0x1fc9b0(0x1ea),new _0x283d48(null)),V(this,_0x1fc9b0(0x1f6),this[_0x1fc9b0(0x1ea)][_0x1fc9b0(0x249)]()),V(this,_0x1fc9b0(0x1cd),new _0x23e6ea()),V(this,_0x1fc9b0(0x238),new Map()),V(this,'_internalWebWorker',null),this['_init']();}get[_0x51e293(0x1bb)](){const _0x14d08b=_0x51e293;return this[_0x14d08b(0x1ea)][_0x14d08b(0x205)];}[_0x51e293(0x1a1)](){const _0x1bffe2=_0x51e293;this[_0x1bffe2(0x215)](),this['_initPlugins']();}[_0x51e293(0x215)](){const _0x413111=_0x51e293;var _0x4f85ee;let _0x10c7bd=(_0x4f85ee=this['_configService'][_0x413111(0x216)]('UNIVER_CONTAINER_ID'))==null?'univer-container':_0x4f85ee,_0x4f8fc5=document[_0x413111(0x1f0)](_0x10c7bd);if(!_0x4f8fc5)return;let _0x5ee83c=document[_0x413111(0x22a)](_0x413111(0x22e));_0x5ee83c['id']=W,_0x5ee83c['dataset']['uComp']='history-container',_0x5ee83c[_0x413111(0x1bd)][_0x413111(0x22f)]=_0x413111(0x236),_0x5ee83c['style'][_0x413111(0x1e2)]='0',_0x5ee83c[_0x413111(0x1bd)][_0x413111(0x198)]='0',_0x5ee83c['style']['width']='100%',_0x5ee83c['style'][_0x413111(0x204)]=_0x413111(0x20d),_0x5ee83c['style']['zIndex']='49',_0x5ee83c['style'][_0x413111(0x23e)]=_0x413111(0x1e3),_0x4f8fc5['appendChild'](_0x5ee83c);}[_0x51e293(0x1eb)](){const _0x5efd49=_0x51e293;[[_0x40427b],[_0x25d838,{'container':W,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0xda4de0,null]]}],[_0x445778],[_0x54de5f,{'override':[[_0x314976,null]]}],[_0x12e6d3,{'hasScroll':!0x1}],[_0x199e75],[_0x1624c6],[_0x34cadc,{'notExecuteFormula':!0x0}],[_0x38e3e8],[_0x495bcc],[_0x35d9da],[_0x3d3cf1],[_0x95b45b],[_0x409ef9],[_0x4c9a8c],[_0xbba9c3],[_0x1b6dec],[_0x1b4647],[_0x57de3c],[_0xd8a32a],[_0x36291a],[_0x57849e,{'notExecuteFormula':!0x0}],[_0x322e9c],[_0x1d65be],[_0xf9efb3],[_0x6953f],[_0x23a31e],[_0x37ecb5],[_0x48bd23],[_0x173546],[_0x42f70d],[_0x41f344,{'notExecuteFormula':!0x0}],[_0x374c90]]['forEach'](([_0x57cf42,_0xcfda94])=>this[_0x5efd49(0x1b2)](_0x57cf42,_0xcfda94));}[_0x51e293(0x24b)](){const _0x130813=_0x51e293;super[_0x130813(0x24b)](),this[_0x130813(0x1aa)](),this[_0x130813(0x238)]['clear']();}[_0x51e293(0x1b2)](_0x4807cd,_0x17b70f,_0x3f2b64){const _0x334ab6=_0x51e293;if(this[_0x334ab6(0x238)][_0x334ab6(0x227)](_0x4807cd[_0x334ab6(0x21e)])&&!_0x3f2b64)throw Error(_0x334ab6(0x1cc)+_0x4807cd['pluginName']+_0x334ab6(0x21b));this[_0x334ab6(0x238)][_0x334ab6(0x235)](_0x4807cd[_0x334ab6(0x21e)],[_0x4807cd,_0x17b70f]);}['getAllPlugins'](){const _0x56dde0=_0x51e293;return Array[_0x56dde0(0x1f5)](this[_0x56dde0(0x238)][_0x56dde0(0x1d1)]());}[_0x51e293(0x194)](_0x2eef02,_0x5d29fa){const _0x22d675=_0x51e293;let _0x456b27=document[_0x22d675(0x1f0)](W);_0x456b27&&(_0x456b27[_0x22d675(0x1bd)][_0x22d675(0x23e)]=_0x22d675(0x229),this[_0x22d675(0x1f4)](_0x2eef02,W,_0x5d29fa));}['unMountHistoryContent'](){const _0x532f7d=_0x51e293;var _0xd405a0;this[_0x532f7d(0x1cd)][_0x532f7d(0x24b)](),(_0xd405a0=this[_0x532f7d(0x1bb)])==null||_0xd405a0[_0x532f7d(0x24b)](),this[_0x532f7d(0x1ea)][_0x532f7d(0x223)](null);let _0x531cb8=document[_0x532f7d(0x1f0)](W);_0x531cb8&&(_0x531cb8[_0x532f7d(0x1bd)]['display']=_0x532f7d(0x1e3),this[_0x532f7d(0x1c5)]&&(this[_0x532f7d(0x1c5)][_0x532f7d(0x1ad)](),this[_0x532f7d(0x1c5)]=null));}[_0x51e293(0x1f4)](_0x476c80,_0x1bdd99,_0x5de3e1){const _0x4b89f3=_0x51e293;var _0x45ab05,_0x200df8,_0x397774,_0x3a23a7,_0x458cc6;if(this['historyUniver'])return;let _0x32ad79=new _0x191548({'locales':{[this[_0x4b89f3(0x1c3)][_0x4b89f3(0x1ca)]()]:this['_localeService'][_0x4b89f3(0x197)]()},'override':[[_0x5d50e1,{'useClass':_0x4a545d}]]}),_0x588789=_0x32ad79[_0x4b89f3(0x20e)]();this[_0x4b89f3(0x1a8)](this[_0x4b89f3(0x241)][_0x4b89f3(0x1db)][_0x4b89f3(0x1c7)](_0x5cc2d6=>{_0x588789['get'](_0x49f88f)['setDarkMode'](_0x5cc2d6);})),this[_0x4b89f3(0x1a8)](this[_0x4b89f3(0x241)][_0x4b89f3(0x246)][_0x4b89f3(0x1c7)](_0x160bb1=>{const _0x123004=_0x4b89f3;_0x588789[_0x123004(0x1b8)](_0x49f88f)[_0x123004(0x243)](_0x160bb1);})),_0x588789[_0x4b89f3(0x1b8)](_0xd2d502)['setLocale'](this[_0x4b89f3(0x1c3)]['getCurrentLocale']()),_0x588789[_0x4b89f3(0x1b8)](_0x5d5514)[_0x4b89f3(0x1d2)](_0xc7bda7,this[_0x4b89f3(0x1e6)][_0x4b89f3(0x216)](_0xc7bda7));let _0x4f1fd3=this[_0x4b89f3(0x1e6)]['getConfig'](_0x4c6c98);_0x4f1fd3&&_0x32ad79[_0x4b89f3(0x1b2)](_0x58857c,{'license':_0x4f1fd3['ls']});let _0x4384d9=(_0x45ab05=this[_0x4b89f3(0x1e6)][_0x4b89f3(0x216)](_0x4b89f3(0x211)))==null?void 0x0:_0x45ab05[_0x4b89f3(0x1e8)],_0x1f4bf9=!!_0x4384d9;_0x1f4bf9&&(this[_0x4b89f3(0x1c5)]=_0x4384d9 instanceof Worker?_0x4384d9:null,_0x32ad79['registerPlugin'](_0xfa38ef,{'workerURL':_0x4384d9})),this['_pluginMap']['forEach'](([_0x17202b,_0x1b937])=>{_0x32ad79['registerPlugin'](_0x17202b,_0x1b937);}),_0x32ad79['registerPlugin'](_0x9430ed,{'historyListServerUrl':(_0x200df8=this[_0x4b89f3(0x1e6)][_0x4b89f3(0x216)](_0x4b89f3(0x211)))==null?void 0x0:_0x200df8[_0x4b89f3(0x1c0)],'historyPanelComponentKey':(_0x397774=this[_0x4b89f3(0x1e6)][_0x4b89f3(0x216)](_0x4b89f3(0x211)))==null?void 0x0:_0x397774[_0x4b89f3(0x1df)],'historyPanelHidden':(_0x3a23a7=this[_0x4b89f3(0x1e6)][_0x4b89f3(0x216)](_0x4b89f3(0x211)))==null?void 0x0:_0x3a23a7[_0x4b89f3(0x19a)],'historyAIassistantEnabled':(_0x458cc6=this[_0x4b89f3(0x1e6)]['getConfig']('edit-history-loader.config'))==null?void 0x0:_0x458cc6[_0x4b89f3(0x23c)]}),_0x588789['invoke'](_0x40a85c=>{const _0xa34f35=_0x4b89f3;this[_0xa34f35(0x1f3)](_0x40a85c,_0x476c80);}),this['_historyUniver$'][_0x4b89f3(0x223)](_0x32ad79);let _0x57ebaf=_0x588789[_0x4b89f3(0x1b8)](_0x406221),_0x33a3dd=this['_checkCanRevert'](_0x476c80),_0x3203c5=()=>{const _0x4dea54=_0x4b89f3;_0x5de3e1?_0x57ebaf[_0x4dea54(0x231)](_0x476c80,_0x1bdd99,_0x33a3dd,_0x5de3e1):_0x57ebaf[_0x4dea54(0x220)](_0x476c80,_0x1bdd99,_0x33a3dd);};if(this[_0x4b89f3(0x1a5)][_0x4b89f3(0x20a)]({'content':this['_localeService']['t'](_0x4b89f3(0x18b)),'type':_0x5c5d92[_0x4b89f3(0x189)]}),_0x1f4bf9)try{_0x588789[_0x4b89f3(0x1b8)](_0x1c96ac)['whenReady']()[_0x4b89f3(0x192)](()=>{_0x3203c5();});}catch{_0x3203c5();}else _0x3203c5();}[_0x51e293(0x1f3)](_0x1573a5,_0x1c7d35){const _0x483d9b=_0x51e293;let _0x3e2765=_0x1573a5[_0x483d9b(0x1b8)](_0x406221);this['_disposableCollection'][_0x483d9b(0x190)](_0x3e2765[_0x483d9b(0x20f)]['subscribe'](_0xa8f362=>{const _0x20acbd=_0x483d9b;switch(_0xa8f362){case _0x215d4c[_0x20acbd(0x1ef)]:this[_0x20acbd(0x237)][_0x20acbd(0x1cf)](),this['_sidebarService'][_0x20acbd(0x1c4)]();break;case _0x215d4c[_0x20acbd(0x242)]:this[_0x20acbd(0x19c)][_0x20acbd(0x1a7)](q['id']),this[_0x20acbd(0x1aa)]();break;case _0x215d4c[_0x20acbd(0x212)]:this[_0x20acbd(0x1aa)](),this['_messageService'][_0x20acbd(0x20a)]({'content':this['_localeService']['t'](_0x20acbd(0x200)),'type':_0x5c5d92[_0x20acbd(0x212)],'duration':0xbb8});break;default:break;}})),this[_0x483d9b(0x1cd)]['add'](_0x3e2765[_0x483d9b(0x1d0)][_0x483d9b(0x1c7)](async _0x5143f7=>{const _0xd07ed5=_0x483d9b;_0x5143f7&&this[_0xd07ed5(0x19c)]['executeCommand'](_0x403d50['id'],{'unitId':_0x1c7d35,'revision':_0x5143f7});}));}[_0x51e293(0x1b6)](_0x3293a7){const _0x23b0ec=_0x51e293;let _0x4d01c2=this[_0x23b0ec(0x23b)][_0x23b0ec(0x1e9)](_0x3293a7)[_0x23b0ec(0x208)]()[_0x23b0ec(0x1bf)](_0x242b0c=>_0x242b0c[_0x23b0ec(0x23f)]()),_0x447b7b=new _0x4fb099(_0x3293a7)['id'],_0x52bf24=_0x4d01c2[_0x23b0ec(0x1bf)](_0x333b2b=>new _0x26e9b1(_0x3293a7,_0x333b2b)['id']),_0x175a81=_0x4d01c2[_0x23b0ec(0x1bf)](_0x5dca33=>this[_0x23b0ec(0x1c6)][_0x23b0ec(0x1ac)](_0x3293a7,_0x5dca33)[_0x23b0ec(0x1bf)](_0x1a9ba6=>new _0x5e36b5(_0x3293a7,_0x5dca33,_0x1a9ba6[_0x23b0ec(0x218)])['id']))[_0x23b0ec(0x1b5)](),_0x483286=new _0xdaeacc(_0x3293a7)['id'];return this['_permissionService'][_0x23b0ec(0x193)]([_0x447b7b,..._0x52bf24,..._0x175a81,_0x483286])[_0x23b0ec(0x1ae)](_0x14c49d=>!!_0x14c49d[_0x23b0ec(0x205)]);}};G=U([H(0x0,_0x102fc7(_0xd2d502)),H(0x1,_0x1ce298),H(0x2,_0x5d5514),H(0x3,_0x5bcf60),H(0x4,_0x1da5eb),H(0x5,_0x596d58),H(0x6,_0x102fc7(_0x1c26fe)),H(0x7,_0x102fc7(_0xda4de0)),H(0x8,_0x102fc7(_0x385be2)),H(0x9,_0x102fc7(_0x49f88f))],G);const K={'id':_0x51e293(0x24c),'type':_0x3d5df8[_0x51e293(0x1e5)],'handler':_0x2b9aa4=>{const _0x2f9c6c=_0x51e293;let _0x4dddf2=_0x2b9aa4['get'](G),{unitId:_0x21ea78}=_0x37ec0e(_0x2b9aa4['get'](_0x1ce298))||{};return _0x21ea78?(_0x4dddf2[_0x2f9c6c(0x194)](_0x21ea78),!0x0):!0x1;}},q={'id':_0x51e293(0x225),'type':_0x3d5df8[_0x51e293(0x1e5)],'handler':()=>!0x0};var st=_0x51e293(0x1ce),ct=_0x51e293(0x240);function lt(_0x343bb1){const _0x4a5c91=_0x51e293;return{'id':K['id'],'type':_0xddd5cf[_0x4a5c91(0x219)],'icon':_0x4a5c91(0x19e),'tooltip':_0x4a5c91(0x1fe),'hidden$':_0x4ac16b(_0x343bb1,_0x234953['UNIVER_SHEET']),'disabled$':_0x3460c4(_0x343bb1,{'workbookTypes':[_0x562672],'worksheetTypes':[],'rangeTypes':[]})};}const ut={[_0x54ea7a[_0x51e293(0x1f9)]]:{[K['id']]:{'order':0.2,'menuItemFactory':lt}}};let J=class extends _0x45c40d{constructor(_0x31a13f,_0x23e9a5,_0x2813c1,_0x1c608c,_0xfd74a5,_0x4accdf,_0x387ca1,_0x4dad58,_0x19ba4d,_0x3bdc07,_0x5e8cdc){const _0xd4f7c3=_0x51e293;super(),this[_0xd4f7c3(0x19c)]=_0x31a13f,this[_0xd4f7c3(0x1af)]=_0x23e9a5,this[_0xd4f7c3(0x21c)]=_0x2813c1,this['_historyManagerService']=_0x1c608c,this[_0xd4f7c3(0x1c3)]=_0xfd74a5,this[_0xd4f7c3(0x1a5)]=_0x4accdf,this['_collaborationController']=_0x387ca1,this[_0xd4f7c3(0x1d8)]=_0x4dad58,this['_dataLoaderService']=_0x19ba4d,this['_univerInstanceService']=_0x3bdc07,this[_0xd4f7c3(0x1c8)]=_0x5e8cdc,V(this,'_revertErrorTimer',null),this[_0xd4f7c3(0x1a1)]();}['_init'](){const _0x2ef6b8=_0x51e293;[K,q][_0x2ef6b8(0x23a)](_0x4ac530=>this[_0x2ef6b8(0x1a8)](_0x315320(this[_0x2ef6b8(0x19c)][_0x2ef6b8(0x233)](_0x4ac530)))),this[_0x2ef6b8(0x1a8)](this['_componentManager'][_0x2ef6b8(0x1fb)](_0x2ef6b8(0x19e),_0x7d2673)),this[_0x2ef6b8(0x1af)][_0x2ef6b8(0x244)](ut),this[_0x2ef6b8(0x1a8)](this[_0x2ef6b8(0x19c)][_0x2ef6b8(0x1ba)](async(_0x520921,_0x53b76e)=>{const _0x5a5df3=_0x2ef6b8;if(_0x520921['id']===_0x403d50['id']){let {unitId:_0xde251f}=_0x520921[_0x5a5df3(0x206)];this[_0x5a5df3(0x1a5)][_0x5a5df3(0x20a)]({'content':this['_localeService']['t'](_0x5a5df3(0x21a)),'type':_0x5c5d92[_0x5a5df3(0x189)],'duration':0x1388});let _0x5a1b7a=this[_0x5a5df3(0x1d7)][_0x5a5df3(0x22b)](_0xde251f);_0x53b76e!=null&&_0x53b76e[_0x5a5df3(0x1e0)]?this[_0x5a5df3(0x18e)](_0x5a1b7a,async()=>(setTimeout(()=>window['location'][_0x5a5df3(0x22c)]()),!0x0),!0x0):this[_0x5a5df3(0x18e)](_0x5a1b7a,async()=>{const _0x2f2eed=_0x5a5df3;let _0x512c42=this[_0x2f2eed(0x23b)]['getCurrentUnitOfType'](_0x234953['UNIVER_SHEET']),_0x39a16a=_0x512c42==null?void 0x0:_0x512c42[_0x2f2eed(0x20c)]();if(!_0x39a16a)return!0x1;this[_0x2f2eed(0x23b)][_0x2f2eed(0x1de)](_0xde251f);let _0x3553cb=await this[_0x2f2eed(0x230)][_0x2f2eed(0x1a0)](_0xde251f,_0x234953[_0x2f2eed(0x1d3)]);return _0x3553cb&&_0x3553cb instanceof _0x1d912a?(await this[_0x2f2eed(0x1c9)](_0x3553cb,_0x39a16a[_0x2f2eed(0x23f)]()),!0x0):!0x1;});}}));}['_handleRevertAcknowledgement'](_0x139473,_0x2e26c9,_0x3ce769=!0x1){const _0x19eb60=_0x51e293;let _0x183e58=_0x220587([_0x139473[_0x19eb60(0x209)]['event$'],_0x139473[_0x19eb60(0x1a6)]])['subscribe'](async([_0xfa5b96,_0x5e1869])=>{const _0x5cf90c=_0x19eb60;if(_0xfa5b96[_0x5cf90c(0x1f2)]===_0x476f17[_0x5cf90c(0x1a3)]&&(_0x5e1869==null?void 0x0:_0x5e1869[_0x5cf90c(0x203)])===_0x5a1b63[_0x5cf90c(0x19b)]&&_0xfa5b96[_0x5cf90c(0x1fc)][_0x5cf90c(0x1ed)]['some'](_0x17e281=>_0x17e281['id']===_0x403d50['id'])&&await _0x2e26c9()){var _0x3e0720;this[_0x5cf90c(0x228)][_0x5cf90c(0x1aa)](),_0x183e58[_0x5cf90c(0x1dc)](),this[_0x5cf90c(0x1f1)]&&clearTimeout(this['_revertErrorTimer']),await((_0x3e0720=this['_localCacheService'])==null?void 0x0:_0x3e0720[_0x5cf90c(0x21d)]()),this[_0x5cf90c(0x1a5)][_0x5cf90c(0x23d)]();}});_0x3ce769&&(this[_0x19eb60(0x1f1)]=setTimeout(()=>{const _0x5b2122=_0x19eb60;_0x183e58['unsubscribe'](),this[_0x5b2122(0x1a5)]['show']({'content':this[_0x5b2122(0x1c3)]['t']('edit-history-loader.panel.revertFailed'),'type':_0x5c5d92[_0x5b2122(0x212)],'duration':0xbb8});},0x1388));}async[_0x51e293(0x1c9)](_0x55acdd,_0x4a2bf1){const _0x369c6e=_0x51e293;await this[_0x369c6e(0x214)](_0x55acdd,_0x4a2bf1),_0x55acdd[_0x369c6e(0x1e4)][_0x369c6e(0x1fa)](_0x951d67(this['dispose$']))[_0x369c6e(0x1c7)](_0x33f745=>{const _0x287f83=_0x369c6e;_0x33f745&&this[_0x287f83(0x18c)](_0x33f745);}),this[_0x369c6e(0x1c8)][_0x369c6e(0x19d)][_0x369c6e(0x1fa)](_0x951d67(this[_0x369c6e(0x21f)]))[_0x369c6e(0x1c7)](()=>this[_0x369c6e(0x214)](_0x55acdd,_0x4a2bf1));}['_updateURLWithCurrentState'](_0x1985ad,_0x4fe9cf=!0x1){const _0x347433=_0x51e293;let _0xa5103=this[_0x347433(0x1c8)][_0x347433(0x18f)](_0x347433(0x248));_0x1985ad['getSheetId']()!==_0xa5103&&this[_0x347433(0x1c8)][_0x347433(0x1dd)]('subunit',_0x1985ad[_0x347433(0x23f)](),_0x4fe9cf);}async[_0x51e293(0x214)](_0xab775f,_0x4f4222){const _0x2a1c91=_0x51e293;var _0x389686;if(!_0x4f4222||!_0xab775f[_0x2a1c91(0x1da)](_0x4f4222)){let _0x5850bf=_0xab775f[_0x2a1c91(0x1b4)]()[0x0],_0x41378c=_0xab775f[_0x2a1c91(0x1da)](_0x5850bf);if(!_0x41378c)return;this[_0x2a1c91(0x18c)](_0x41378c,!0x0),await this[_0x2a1c91(0x19c)][_0x2a1c91(0x1a7)](_0xa82b9c['id'],{'unitId':_0xab775f[_0x2a1c91(0x1d5)](),'subUnitId':_0x5850bf});return;}((_0x389686=_0xab775f[_0x2a1c91(0x20c)]())==null?void 0x0:_0x389686['getSheetId']())!==_0x4f4222&&await this['_commandService'][_0x2a1c91(0x1a7)](_0xa82b9c['id'],{'unitId':_0xab775f['getUnitId'](),'subUnitId':_0x4f4222});}};J=U([H(0x0,_0x5bcf60),H(0x1,_0x8be2a1),H(0x2,_0x102fc7(_0x5eed86)),H(0x3,_0x102fc7(G)),H(0x4,_0x102fc7(_0xd2d502)),H(0x5,_0x1da5eb),H(0x6,_0x102fc7(_0xb67735)),H(0x7,_0x27a81a),H(0x8,_0x102fc7(_0x18d51a)),H(0x9,_0x1ce298),H(0xa,_0x3196a6)],J);const Y=_0x51e293(0x191);let X=class extends _0x3b0571{constructor(_0x581f86,_0x130d83,_0x3cba7c,_0x310a4f,_0x5e31f7,_0x30004b,_0x5be3cc,_0x466e0f,_0x39100f,_0x2c835e){const _0x56ff89=_0x51e293;super(),this['_localeService']=_0x581f86,this['_univerInstanceService']=_0x130d83,this[_0x56ff89(0x1e6)]=_0x3cba7c,this['_commandService']=_0x310a4f,this['_messageService']=_0x5e31f7,this[_0x56ff89(0x1ec)]=_0x30004b,this[_0x56ff89(0x1c6)]=_0x5be3cc,this['_dialogService']=_0x466e0f,this['_sidebarService']=_0x39100f,this['_themeService']=_0x2c835e,V(this,'_historyUniver$',new _0x283d48(null)),V(this,_0x56ff89(0x1f6),this[_0x56ff89(0x1ea)][_0x56ff89(0x249)]()),V(this,_0x56ff89(0x1cd),new _0x23e6ea()),V(this,_0x56ff89(0x238),new Map()),V(this,_0x56ff89(0x1c5),null),this[_0x56ff89(0x1a1)]();}get[_0x51e293(0x1bb)](){const _0x18de0a=_0x51e293;return this[_0x18de0a(0x1ea)][_0x18de0a(0x205)];}['_init'](){const _0x196764=_0x51e293;this[_0x196764(0x215)](),this[_0x196764(0x1eb)]();}[_0x51e293(0x215)](){const _0x47d875=_0x51e293;var _0x2026f9;let _0x5ac137=(_0x2026f9=this['_configService'][_0x47d875(0x216)]('UNIVER_CONTAINER_ID'))==null?_0x47d875(0x18a):_0x2026f9,_0x8ed844=document['getElementById'](_0x5ac137);if(!_0x8ed844)return;let _0x372ce1=document[_0x47d875(0x22a)](_0x47d875(0x22e));_0x372ce1['id']=Y,_0x372ce1[_0x47d875(0x195)][_0x47d875(0x226)]=_0x47d875(0x196),_0x372ce1[_0x47d875(0x1bd)]['position']=_0x47d875(0x236),_0x372ce1['style'][_0x47d875(0x1e2)]='0',_0x372ce1[_0x47d875(0x1bd)][_0x47d875(0x198)]='0',_0x372ce1[_0x47d875(0x1bd)][_0x47d875(0x247)]='100%',_0x372ce1[_0x47d875(0x1bd)][_0x47d875(0x204)]=_0x47d875(0x20d),_0x372ce1[_0x47d875(0x1bd)][_0x47d875(0x24e)]='49',_0x372ce1[_0x47d875(0x1bd)][_0x47d875(0x23e)]=_0x47d875(0x1e3),_0x8ed844['appendChild'](_0x372ce1);}[_0x51e293(0x1eb)](){const _0xaac8de=_0x51e293;[[_0x40427b],[_0x22911a,{'container':Y,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0xda4de0,null]]}],[_0x445778],[_0x54de5f,{'override':[[_0x314976,null]]}],[_0x12e6d3,{'hasScroll':!0x1}],[_0x199e75],[_0x1624c6],[_0x34cadc,{'notExecuteFormula':!0x0}],[_0x2740d8],[_0x495bcc],[_0x35d9da],[_0x3d3cf1],[_0x95b45b],[_0x4c9a8c],[_0x1b6dec],[_0x1b4647],[_0x57de3c],[_0xd8a32a],[_0x1fe344],[_0x57849e,{'notExecuteFormula':!0x0}],[_0x322e9c],[_0x1d65be],[_0xf9efb3],[_0x6953f],[_0x23a31e],[_0x37ecb5],[_0x48bd23],[_0x173546],[_0x42f70d],[_0x41f344,{'notExecuteFormula':!0x0}],[_0x374c90]]['forEach'](([_0x5ca6dd,_0x2c58cd])=>this[_0xaac8de(0x1b2)](_0x5ca6dd,_0x2c58cd));}[_0x51e293(0x24b)](){const _0x250223=_0x51e293;super['dispose'](),this[_0x250223(0x1aa)](),this[_0x250223(0x238)]['clear']();}[_0x51e293(0x1b2)](_0x489b0f,_0x23b5e1,_0x1376a5){const _0x43687d=_0x51e293;if(this[_0x43687d(0x238)][_0x43687d(0x227)](_0x489b0f[_0x43687d(0x21e)])&&!_0x1376a5)throw Error(_0x43687d(0x19f)+_0x489b0f[_0x43687d(0x21e)]+_0x43687d(0x21b));this[_0x43687d(0x238)]['set'](_0x489b0f[_0x43687d(0x21e)],[_0x489b0f,_0x23b5e1]);}[_0x51e293(0x202)](){const _0x1ff9d0=_0x51e293;return Array[_0x1ff9d0(0x1f5)](this[_0x1ff9d0(0x238)][_0x1ff9d0(0x1d1)]());}[_0x51e293(0x194)](_0x430633,_0x515944){const _0x3b8c45=_0x51e293;let _0x13b449=document[_0x3b8c45(0x1f0)](Y);_0x13b449&&(_0x13b449[_0x3b8c45(0x1bd)][_0x3b8c45(0x23e)]=_0x3b8c45(0x229),this[_0x3b8c45(0x1f4)](_0x430633,Y,_0x515944));}[_0x51e293(0x1aa)](){const _0x440af7=_0x51e293;var _0x4f820f;this[_0x440af7(0x1cd)][_0x440af7(0x24b)](),(_0x4f820f=this[_0x440af7(0x1bb)])==null||_0x4f820f['dispose'](),this[_0x440af7(0x1ea)][_0x440af7(0x223)](null);let _0x26bca7=document[_0x440af7(0x1f0)](Y);_0x26bca7&&(_0x26bca7[_0x440af7(0x1bd)][_0x440af7(0x23e)]=_0x440af7(0x1e3),this[_0x440af7(0x1c5)]&&(this['_internalWebWorker']['terminate'](),this[_0x440af7(0x1c5)]=null));}[_0x51e293(0x1f4)](_0x8160b0,_0x11259b,_0x3c7c9b){const _0x485077=_0x51e293;var _0x3ac191,_0xe9b884,_0x5edfb6,_0x9edd47;if(this[_0x485077(0x1bb)])return;let _0x309616=new _0x191548({'locales':{[this['_localeService'][_0x485077(0x1ca)]()]:this[_0x485077(0x1c3)][_0x485077(0x197)]()},'override':[[_0x5d50e1,{'useClass':_0x4a545d}]]}),_0xe882ce=_0x309616[_0x485077(0x20e)]();this['disposeWithMe'](this[_0x485077(0x241)][_0x485077(0x1db)][_0x485077(0x1c7)](_0x5359d8=>{const _0x1833b0=_0x485077;_0xe882ce[_0x1833b0(0x1b8)](_0x49f88f)[_0x1833b0(0x1ee)](_0x5359d8);})),this[_0x485077(0x1a8)](this[_0x485077(0x241)][_0x485077(0x246)][_0x485077(0x1c7)](_0x353e84=>{const _0x44afb4=_0x485077;_0xe882ce[_0x44afb4(0x1b8)](_0x49f88f)[_0x44afb4(0x243)](_0x353e84);})),_0xe882ce[_0x485077(0x1b8)](_0xd2d502)['setLocale'](this[_0x485077(0x1c3)][_0x485077(0x1ca)]()),_0xe882ce['get'](_0x5d5514)[_0x485077(0x1d2)](_0xc7bda7,this['_configService']['getConfig'](_0xc7bda7));let _0x211c4f=this[_0x485077(0x1e6)][_0x485077(0x216)](_0x4c6c98);_0x211c4f&&_0x309616[_0x485077(0x1b2)](_0x58857c,{'license':_0x211c4f['ls']});let _0x4fec3c=(_0x3ac191=this[_0x485077(0x1e6)][_0x485077(0x216)](_0x485077(0x211)))==null?void 0x0:_0x3ac191[_0x485077(0x1e8)],_0x295331=!!_0x4fec3c;_0x295331&&(this['_internalWebWorker']=_0x4fec3c instanceof Worker?_0x4fec3c:null,_0x309616[_0x485077(0x1b2)](_0xfa38ef,{'workerURL':_0x4fec3c})),this[_0x485077(0x238)][_0x485077(0x23a)](([_0x31244c,_0x362fa6])=>{_0x309616['registerPlugin'](_0x31244c,_0x362fa6);}),_0x309616[_0x485077(0x1b2)](_0x8b0ffc,{'historyListServerUrl':(_0xe9b884=this[_0x485077(0x1e6)][_0x485077(0x216)](_0x485077(0x211)))==null?void 0x0:_0xe9b884[_0x485077(0x1c0)],'historyPanelComponentKey':(_0x5edfb6=this['_configService'][_0x485077(0x216)](_0x485077(0x211)))==null?void 0x0:_0x5edfb6[_0x485077(0x1df)],'historyPanelHidden':(_0x9edd47=this[_0x485077(0x1e6)][_0x485077(0x216)]('edit-history-loader.config'))==null?void 0x0:_0x9edd47[_0x485077(0x19a)]}),_0xe882ce[_0x485077(0x18d)](_0xce40c8=>{const _0x39528c=_0x485077;this[_0x39528c(0x1f3)](_0xce40c8,_0x8160b0);}),this[_0x485077(0x1ea)][_0x485077(0x223)](_0x309616);let _0x428d52=_0xe882ce['get'](_0x406221),_0x41f050=this[_0x485077(0x1b6)](_0x8160b0),_0x2c49e7=()=>{const _0x5d9c0c=_0x485077;_0x3c7c9b?_0x428d52['triggerCustomVersions'](_0x8160b0,_0x11259b,_0x41f050,_0x3c7c9b):_0x428d52[_0x5d9c0c(0x220)](_0x8160b0,_0x11259b,_0x41f050);};if(this['_messageService']['show']({'content':this['_localeService']['t'](_0x485077(0x18b)),'type':_0x5c5d92[_0x485077(0x189)]}),_0x295331)try{_0xe882ce[_0x485077(0x1b8)](_0x1c96ac)[_0x485077(0x1d6)]()[_0x485077(0x192)](()=>{_0x2c49e7();});}catch{_0x2c49e7();}else _0x2c49e7();}[_0x51e293(0x1f3)](_0x3dc54a,_0x1efe56){const _0x3e4f67=_0x51e293;let _0x257b12=_0x3dc54a[_0x3e4f67(0x1b8)](_0x406221);this[_0x3e4f67(0x1cd)][_0x3e4f67(0x190)](_0x257b12[_0x3e4f67(0x20f)][_0x3e4f67(0x1c7)](_0x1e67e1=>{const _0x1c9ab3=_0x3e4f67;switch(_0x1e67e1){case _0x215d4c['Entered']:this[_0x1c9ab3(0x237)]['closeAll'](),this[_0x1c9ab3(0x245)]['close']();break;case _0x215d4c[_0x1c9ab3(0x242)]:this[_0x1c9ab3(0x19c)][_0x1c9ab3(0x1a7)](q['id']),this[_0x1c9ab3(0x1aa)]();break;case _0x215d4c['Error']:this[_0x1c9ab3(0x1aa)](),this[_0x1c9ab3(0x1a5)][_0x1c9ab3(0x20a)]({'content':this[_0x1c9ab3(0x1c3)]['t'](_0x1c9ab3(0x200)),'type':_0x5c5d92[_0x1c9ab3(0x212)],'duration':0xbb8});break;default:break;}})),this['_disposableCollection']['add'](_0x257b12[_0x3e4f67(0x1d0)][_0x3e4f67(0x1c7)](async _0x10ce88=>{_0x10ce88&&this['_commandService']['executeCommand'](_0x403d50['id'],{'unitId':_0x1efe56,'revision':_0x10ce88});}));}[_0x51e293(0x1b6)](_0x27ec33){const _0x617cc4=_0x51e293;let _0x212be6=this[_0x617cc4(0x23b)][_0x617cc4(0x1e9)](_0x27ec33)[_0x617cc4(0x208)]()[_0x617cc4(0x1bf)](_0x47b857=>_0x47b857[_0x617cc4(0x23f)]()),_0x1b3ee3=new _0x4fb099(_0x27ec33)['id'],_0x419f37=_0x212be6[_0x617cc4(0x1bf)](_0x49ee14=>new _0x26e9b1(_0x27ec33,_0x49ee14)['id']),_0x4e2bfa=_0x212be6[_0x617cc4(0x1bf)](_0x394bef=>this[_0x617cc4(0x1c6)][_0x617cc4(0x1ac)](_0x27ec33,_0x394bef)['map'](_0x509b67=>new _0x5e36b5(_0x27ec33,_0x394bef,_0x509b67[_0x617cc4(0x218)])['id']))['flat'](),_0x9841bb=new _0xdaeacc(_0x27ec33)['id'];return this['_permissionService'][_0x617cc4(0x193)]([_0x1b3ee3,..._0x419f37,..._0x4e2bfa,_0x9841bb])[_0x617cc4(0x1ae)](_0x78c900=>!!_0x78c900[_0x617cc4(0x205)]);}};X=U([H(0x0,_0x102fc7(_0xd2d502)),H(0x1,_0x1ce298),H(0x2,_0x5d5514),H(0x3,_0x5bcf60),H(0x4,_0x1da5eb),H(0x5,_0x596d58),H(0x6,_0x102fc7(_0x1c26fe)),H(0x7,_0x102fc7(_0xda4de0)),H(0x8,_0x102fc7(_0x385be2)),H(0x9,_0x102fc7(_0x49f88f))],X);let Z=class extends _0x37682d{constructor(_0x49ab06=z,_0x11c3a3,_0x5ba2af){const _0xc2ca00=_0x51e293;super(),this[_0xc2ca00(0x201)]=_0x49ab06,this[_0xc2ca00(0x1b1)]=_0x11c3a3,this[_0xc2ca00(0x1e6)]=_0x5ba2af;let {menu:_0x44791a,..._0x4d9ef3}=_0x3a3707({},z,this[_0xc2ca00(0x201)]);_0x44791a&&this[_0xc2ca00(0x1e6)]['setConfig'](_0xc2ca00(0x1be),_0x44791a,{'merge':!0x0}),this[_0xc2ca00(0x1e6)][_0xc2ca00(0x1d2)](R,_0x4d9ef3),this[_0xc2ca00(0x201)][_0xc2ca00(0x22d)]&&this[_0xc2ca00(0x1e6)][_0xc2ca00(0x1d2)]('UNIVER_CONTAINER_ID',this[_0xc2ca00(0x201)]['univerContainerId']);}[_0x51e293(0x1d4)](){const _0x5b1456=_0x51e293;[[G,{'useClass':X}],[J]][_0x5b1456(0x23a)](_0x2ae230=>this['_injector'][_0x5b1456(0x190)](_0x2ae230));}[_0x51e293(0x222)](){const _0x3d2ff9=_0x51e293;this['_injector'][_0x3d2ff9(0x1b8)](J);}};V(Z,_0x51e293(0x239),_0x234953[_0x51e293(0x1b9)]),V(Z,'pluginName',_0x51e293(0x217)),V(Z,_0x51e293(0x210),st),V(Z,'version',ct),Z=U([_0x51581f(_0x58857c),H(0x1,_0x102fc7(_0x5ee0e3)),H(0x2,_0x5d5514)],Z);function _0x2a39(){const _0x5b1f4d=['executeCommand','disposeWithMe','76hXfbxt','unMountHistoryContent','14116KUEzkA','getSubunitRuleList','terminate','every','_menuManagerService','defineProperty','_injector','registerPlugin','11nzNFRd','getUnhiddenWorksheets','flat','_checkCanRevert','decorate','get','UNIVER_UNKNOWN','onCommandExecuted','historyUniver','392934FmAqtw','style','menu','map','historyListServerUrl','location','18rSkbit','_localeService','close','_internalWebWorker','_selectionProtectionRuleModel','subscribe','_urlService','_setupSubUnitSync','getCurrentLocale','default','[HistoryLoaderService]:\x20Plugin\x20','_disposableCollection','@univerjs-pro/edit-history-loader','closeAll','revertRevision$','values','setConfig','UNIVER_SHEET','onStarting','getUnitId','whenReady','_collaborationController','_localCacheService','941066wLovrE','getSheetBySheetId','darkMode$','unsubscribe','setParam','disposeUnit','historyPanelComponentKey','fromCollab','toPrimitive','top','none','activeSheet$','OPERATION','_configService','getCurrentUnitOfType','workerURL','getUnit','_historyUniver$','_initPlugins','_permissionService','mutations','setDarkMode','Entered','getElementById','_revertErrorTimer','eventID','_initListener','_initUniver','from','historyUniver$','univer-history-container','symbol','OTHERS','pipe','register','data','UNIVER_CONTAINER_ID','edit-history-loader.panel.title','54685zmyedB','edit-history-loader.panel.listFetchError','_config','getAllPlugins','status','height','value','params','object','getSheets','session','show','946208TfLiYo','getActiveSheet','100%','__getInjector','status$','packageName','edit-history-loader.config','Error','getOwnPropertyDescriptor','_updateSubUnitFromURLParams','_initContainer','getConfig','UNIVER_EDIT_HISTORY_LOADER_MOBILE_PLUGIN','permissionId','BUTTON','edit-history-loader.panel.reverting','\x20has\x20been\x20registered.','_componentManager','exhaustSavingTask','pluginName','dispose$','triggerLoadVersions','530780sRwhIw','onSteady','next','1161804FnfkWw','univer.operation.exit-edit-history','uComp','has','_historyManagerService','block','createElement','getCollabEntity','reload','univerContainerId','div','position','_dataLoaderService','triggerCustomVersions','string','registerCommand','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','set','absolute','_dialogService','_pluginMap','type','forEach','_univerInstanceService','historyAIassistantEnabled','removeAll','display','getSheetId','0.25.1','_themeService','Exited','setTheme','mergeMenu','_sidebarService','currentTheme$','width','subunit','asObservable','length','dispose','univer.operation.toggle-edit-history','11dVSARt','zIndex','Loading','univer-container','edit-history-loader.info.initializing','_updateURLWithCurrentState','invoke','_handleRevertAcknowledgement','getParam','add','univer-history-container-mobile','then','composePermission','mountHistoryContent','dataset','history-container','getLocales','left','function','historyPanelHidden','SYNCED','_commandService','urlChange$','HistoryIcon','[MobileHistoryLoaderService]:\x20Plugin\x20','loadUnit','_init','edit-history-loader.panel.revertFailed','CHANGESET_ACK','event$','_messageService','state$'];_0x2a39=function(){return _0x5b1f4d;};return _0x2a39();}let Q=class extends _0x45c40d{constructor(_0x3f9fa4,_0x12733f,_0x496bb4,_0x5d02f0,_0x1fa677,_0x5a1dcb,_0x92102b,_0x5ef584,_0x4e6971,_0x4bb8d4,_0x24fc7c){const _0x47ec52=_0x51e293;super(),this[_0x47ec52(0x19c)]=_0x3f9fa4,this[_0x47ec52(0x1af)]=_0x12733f,this[_0x47ec52(0x21c)]=_0x496bb4,this[_0x47ec52(0x228)]=_0x5d02f0,this[_0x47ec52(0x1c3)]=_0x1fa677,this[_0x47ec52(0x1a5)]=_0x5a1dcb,this[_0x47ec52(0x1d7)]=_0x92102b,this[_0x47ec52(0x1d8)]=_0x5ef584,this[_0x47ec52(0x230)]=_0x4e6971,this[_0x47ec52(0x23b)]=_0x4bb8d4,this[_0x47ec52(0x1c8)]=_0x24fc7c,V(this,_0x47ec52(0x1f1),null),this[_0x47ec52(0x1a1)]();}[_0x51e293(0x1a1)](){const _0x3a073c=_0x51e293;[K,q]['forEach'](_0x24f86e=>this[_0x3a073c(0x1a8)](_0x315320(this['_commandService']['registerCommand'](_0x24f86e)))),this[_0x3a073c(0x1a8)](this[_0x3a073c(0x21c)][_0x3a073c(0x1fb)]('HistoryIcon',_0x7d2673)),this['_menuManagerService'][_0x3a073c(0x244)](ut),this['disposeWithMe'](this[_0x3a073c(0x19c)][_0x3a073c(0x1ba)](async(_0x5e3067,_0x44059f)=>{const _0x22cd30=_0x3a073c;if(_0x5e3067['id']===_0x403d50['id']){let {unitId:_0x157f49}=_0x5e3067['params'];this[_0x22cd30(0x1a5)][_0x22cd30(0x20a)]({'content':this[_0x22cd30(0x1c3)]['t']('edit-history-loader.panel.reverting'),'type':_0x5c5d92[_0x22cd30(0x189)],'duration':0x1388});let _0x241cb6=this['_collaborationController']['getCollabEntity'](_0x157f49);_0x44059f!=null&&_0x44059f[_0x22cd30(0x1e0)]?this[_0x22cd30(0x18e)](_0x241cb6,async()=>(setTimeout(()=>window[_0x22cd30(0x1c1)][_0x22cd30(0x22c)]()),!0x0),!0x0):this[_0x22cd30(0x18e)](_0x241cb6,async()=>{const _0x46c5ac=_0x22cd30;let _0x2ee8fd=this[_0x46c5ac(0x23b)][_0x46c5ac(0x1e7)](_0x234953[_0x46c5ac(0x1d3)]),_0x512ece=_0x2ee8fd==null?void 0x0:_0x2ee8fd[_0x46c5ac(0x20c)]();if(!_0x512ece)return!0x1;this[_0x46c5ac(0x23b)][_0x46c5ac(0x1de)](_0x157f49);let _0x247978=await this['_dataLoaderService'][_0x46c5ac(0x1a0)](_0x157f49,_0x234953[_0x46c5ac(0x1d3)]);return _0x247978&&_0x247978 instanceof _0x1d912a?(await this['_setupSubUnitSync'](_0x247978,_0x512ece[_0x46c5ac(0x23f)]()),!0x0):!0x1;});}}));}['_handleRevertAcknowledgement'](_0x18e9ee,_0x125cc8,_0xddf9e2=!0x1){const _0xb02e01=_0x51e293;let _0x290f1b=_0x220587([_0x18e9ee['session'][_0xb02e01(0x1a4)],_0x18e9ee[_0xb02e01(0x1a6)]])[_0xb02e01(0x1c7)](async([_0x43f2f5,_0x1ce503])=>{const _0x3f878a=_0xb02e01;if(_0x43f2f5['eventID']===_0x476f17[_0x3f878a(0x1a3)]&&(_0x1ce503==null?void 0x0:_0x1ce503[_0x3f878a(0x203)])===_0x5a1b63[_0x3f878a(0x19b)]&&_0x43f2f5[_0x3f878a(0x1fc)][_0x3f878a(0x1ed)]['some'](_0x1ae61d=>_0x1ae61d['id']===_0x403d50['id'])&&await _0x125cc8()){var _0x12698f;this[_0x3f878a(0x228)][_0x3f878a(0x1aa)](),_0x290f1b[_0x3f878a(0x1dc)](),this[_0x3f878a(0x1f1)]&&clearTimeout(this['_revertErrorTimer']),await((_0x12698f=this[_0x3f878a(0x1d8)])==null?void 0x0:_0x12698f[_0x3f878a(0x21d)]());}});_0xddf9e2&&(this[_0xb02e01(0x1f1)]=setTimeout(()=>{const _0x12354e=_0xb02e01;_0x290f1b['unsubscribe'](),this[_0x12354e(0x1a5)][_0x12354e(0x20a)]({'content':this['_localeService']['t'](_0x12354e(0x1a2)),'type':_0x5c5d92['Error'],'duration':0xbb8});},0x1388));}async[_0x51e293(0x1c9)](_0x2862aa,_0x2a54bd){const _0xdcf111=_0x51e293;await this[_0xdcf111(0x214)](_0x2862aa,_0x2a54bd),_0x2862aa[_0xdcf111(0x1e4)][_0xdcf111(0x1fa)](_0x951d67(this[_0xdcf111(0x21f)]))[_0xdcf111(0x1c7)](_0x27780a=>{const _0x11bd2e=_0xdcf111;_0x27780a&&this[_0x11bd2e(0x18c)](_0x27780a);}),this['_urlService'][_0xdcf111(0x19d)][_0xdcf111(0x1fa)](_0x951d67(this[_0xdcf111(0x21f)]))[_0xdcf111(0x1c7)](()=>this[_0xdcf111(0x214)](_0x2862aa,_0x2a54bd));}['_updateURLWithCurrentState'](_0x30de7e,_0x545cce=!0x1){const _0x45cfa9=_0x51e293;let _0x52fc1d=this[_0x45cfa9(0x1c8)][_0x45cfa9(0x18f)](_0x45cfa9(0x248));_0x30de7e[_0x45cfa9(0x23f)]()!==_0x52fc1d&&this[_0x45cfa9(0x1c8)][_0x45cfa9(0x1dd)](_0x45cfa9(0x248),_0x30de7e[_0x45cfa9(0x23f)](),_0x545cce);}async[_0x51e293(0x214)](_0x2248eb,_0x347c21){const _0x136e2f=_0x51e293;var _0x3b1ed0;if(!_0x347c21||!_0x2248eb[_0x136e2f(0x1da)](_0x347c21)){let _0x13f39e=_0x2248eb['getUnhiddenWorksheets']()[0x0],_0x42a941=_0x2248eb[_0x136e2f(0x1da)](_0x13f39e);if(!_0x42a941)return;this[_0x136e2f(0x18c)](_0x42a941,!0x0),await this[_0x136e2f(0x19c)][_0x136e2f(0x1a7)](_0xa82b9c['id'],{'unitId':_0x2248eb[_0x136e2f(0x1d5)](),'subUnitId':_0x13f39e});return;}((_0x3b1ed0=_0x2248eb['getActiveSheet']())==null?void 0x0:_0x3b1ed0[_0x136e2f(0x23f)]())!==_0x347c21&&await this[_0x136e2f(0x19c)]['executeCommand'](_0xa82b9c['id'],{'unitId':_0x2248eb[_0x136e2f(0x1d5)](),'subUnitId':_0x347c21});}};Q=U([H(0x0,_0x5bcf60),H(0x1,_0x8be2a1),H(0x2,_0x102fc7(_0x5eed86)),H(0x3,_0x102fc7(G)),H(0x4,_0x102fc7(_0xd2d502)),H(0x5,_0x1da5eb),H(0x6,_0x102fc7(_0xb67735)),H(0x7,_0x27a81a),H(0x8,_0x102fc7(_0x18d51a)),H(0x9,_0x1ce298),H(0xa,_0x3196a6)],Q);let $=class extends _0x37682d{constructor(_0xf99aa8=z,_0x45b8b1,_0x19e270){const _0x3d6e3f=_0x51e293;super(),this['_config']=_0xf99aa8,this[_0x3d6e3f(0x1b1)]=_0x45b8b1,this[_0x3d6e3f(0x1e6)]=_0x19e270;let {menu:_0xcbfc30,..._0x4f4ba7}=_0x3a3707({},z,this[_0x3d6e3f(0x201)]);_0xcbfc30&&this[_0x3d6e3f(0x1e6)][_0x3d6e3f(0x1d2)](_0x3d6e3f(0x1be),_0xcbfc30,{'merge':!0x0}),this['_configService']['setConfig'](R,_0x4f4ba7),this[_0x3d6e3f(0x201)][_0x3d6e3f(0x22d)]&&this[_0x3d6e3f(0x1e6)][_0x3d6e3f(0x1d2)](ot,this[_0x3d6e3f(0x201)][_0x3d6e3f(0x22d)]);}[_0x51e293(0x1d4)](){const _0x1e2843=_0x51e293;[[G],[Q]]['forEach'](_0x27da47=>this[_0x1e2843(0x1b1)][_0x1e2843(0x190)](_0x27da47));}[_0x51e293(0x222)](){const _0x3df482=_0x51e293;this[_0x3df482(0x1b1)][_0x3df482(0x1b8)](Q);}};V($,'type',_0x234953[_0x51e293(0x1b9)]),V($,_0x51e293(0x21e),'UNIVER_EDIT_HISTORY_LOADER_PLUGIN'),V($,_0x51e293(0x210),st),V($,'version',ct),$=U([_0x51581f(_0x58857c),H(0x1,_0x102fc7(_0x5ee0e3)),H(0x2,_0x5d5514)],$);export{R as EDIT_HISTORY_LOADER_PLUGIN_CONFIG_KEY,G as HistoryLoaderService,X as MobileHistoryLoaderService,K as ToggleEditHistoryOperation,ot as UNIVER_CONTAINER_ID_KEY,W as UNIVER_HISTORY_CONTAINER_ID,Z as UniverEditHistoryLoaderMobilePlugin,$ as UniverEditHistoryLoaderPlugin};
|
|
1
|
+
function _0x8267(){const _0x58cb58=['then','3837978BgpBtw','_menuManagerService','workerURL','UNIVER_CONTAINER_ID','univer.operation.toggle-edit-history','getCurrentUnitOfType','712808ufQrSC','@univerjs-pro/edit-history-loader','6663zUAxlN','historyAIassistantEnabled','session','OTHERS','flat','subscribe','registerCommand','params','getCurrentLocale','getSheetBySheetId','pluginName','close','zIndex','11180JgeOhU','add','state$','_localCacheService','_initUniver','show','getAllPlugins','menu','_injector','pipe','disposeWithMe','toPrimitive','_init','createElement','onCommandExecuted','eventID','mountHistoryContent','width','style','_historyManagerService','setDarkMode','values','1.0.0-alpha.1','has','clear','symbol','prototype','_initListener','triggerLoadVersions','call','getUnitId','edit-history-loader.panel.reverting','whenReady','defineProperty','permissionId','version','subunit','_iconManager','edit-history-loader.panel.listFetchError','_permissionService','_initPlugins','502QMVgQT','set','mutations','univerContainerId','some','getParam','edit-history-loader.info.initializing','packageName','closeAll','status$','revertRevision$','data','top','univer-history-container','setTheme','_internalWebWorker','8ujIhlI','getActiveSheet','BUTTON','\x20has\x20been\x20registered.','_themeService','edit-history-loader.panel.revertFailed','getCollabEntity','setLocale','position','object','_commandService','dispose','every','unsubscribe','exhaustSavingTask','unMountHistoryContent','OPERATION','Entered','Loading','_collaborationController','value','2747712lpgVXV','_localeService','triggerCustomVersions','location','_updateURLWithCurrentState','currentTheme$','_historyUniver$','status','block','468930bHKYHY','fromCollab','_registerIcons','getElementById','[HistoryLoaderService]:\x20Plugin\x20','history-panel','loadUnit','univer-container','urlChange$','Error','decorate','_urlService','setConfig','100%','_config','event$','onSteady','10XdnUKS','_setupSubUnitSync','_handleRevertAcknowledgement','executeCommand','string','edit-history-loader.config','historyUniver','none','_sidebarService','_updateSubUnitFromURLParams','[MobileHistoryLoaderService]:\x20Plugin\x20','length','registerPlugin','from','forEach','uComp','left','_pluginMap','onStarting','getUnhiddenWorksheets','darkMode$','register','absolute','display','_dataLoaderService','_disposableCollection','getConfig','getSheets','968PDlxaB','_checkCanRevert','_revertErrorTimer','history-container','UNIVER_SHEET','edit-history-loader.panel.title','_dialogService','12857317EgZGeX','dataset','next','UNIVER_UNKNOWN','_messageService','_selectionProtectionRuleModel','appendChild','invoke','_initContainer','function','composePermission','default','constructor','type','SYNCED','getOwnPropertyDescriptor','terminate','_configService','historyPanelHidden','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','univer-history-container-mobile','map','_univerInstanceService','HistoryIcon','historyListServerUrl','__getInjector','mergeMenu','get','getSheetId','asObservable','height','dispose$','getLocales','getUnit','removeAll','Exited','UNIVER_EDIT_HISTORY_LOADER_MOBILE_PLUGIN','disposeUnit'];_0x8267=function(){return _0x58cb58;};return _0x8267();}const _0x5af2cf=_0x4f95;(function(_0x3c7696,_0x204c4e){const _0x303299=_0x4f95,_0x385c93=_0x3c7696();while(!![]){try{const _0x4764e0=-parseInt(_0x303299(0x20f))/0x1+-parseInt(_0x303299(0x180))/0x2*(parseInt(_0x303299(0x211))/0x3)+-parseInt(_0x303299(0x1db))/0x4*(-parseInt(_0x303299(0x21e))/0x5)+parseInt(_0x303299(0x1a5))/0x6+-parseInt(_0x303299(0x1ae))/0x7*(parseInt(_0x303299(0x190))/0x8)+-parseInt(_0x303299(0x209))/0x9+parseInt(_0x303299(0x1bf))/0xa*(parseInt(_0x303299(0x1e2))/0xb);if(_0x4764e0===_0x204c4e)break;else _0x385c93['push'](_0x385c93['shift']());}catch(_0x3e5243){_0x385c93['push'](_0x385c93['shift']());}}}(_0x8267,0x62ae8));import{CommandType as _0x524074,DependentOn as _0x215b3a,Disposable as _0x28c74e,DisposableCollection as _0x195677,IAuthzIoService as _0x1ed9f5,ICommandService as _0x2c4360,IConfigService as _0x433e3f,IPermissionService as _0x1793c7,IUniverInstanceService as _0x2fd3df,Inject as _0xa5134,Injector as _0xd18721,LocaleService as _0x2709c3,Plugin as _0x51724b,RxDisposable as _0x58fc47,ThemeService as _0x77b5ed,Univer as _0x318377,UniverInstanceType as _0x2716bf,Workbook as _0x564143,merge as _0x266f91,toDisposable as _0x3867a4}from'@univerjs/core';import{RangeProtectionPermissionEditPoint as _0x162ed3,RangeProtectionRuleModel as _0x53eaad,SetWorksheetActivateCommand as _0x252815,UniverSheetsPlugin as _0x2b4e05,WorkbookEditablePermission as _0x5a56a8,WorkbookRecoverHistoryPermission as _0x164e7f,WorkbookViewHistoryPermission as _0x48faec,WorksheetEditPermission as _0x1909be,getSheetCommandTarget as _0x50daf4}from'@univerjs/sheets';import{CollaborationEvent as _0x280d18,RevertRevisionMutation as _0x31ab55,UniverCollaborationPlugin as _0x1f786c}from'@univerjs-pro/collaboration';import{AuthzIoHttpService as _0x5cd0a7,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x3d0eb7,CollaborationController as _0x1f21e2,CollaborationStatus as _0x55595c,DataLoaderService as _0x23d93a,ILocalCacheService as _0x5a608e}from'@univerjs-pro/collaboration-client';import{HistoryManagerService as _0x2eb63a,HistoryModeStatus as _0x3497e9,UniverEditHistoryViewerMobilePlugin as _0x361aa0,UniverEditHistoryViewerPlugin as _0x321009}from'@univerjs-pro/edit-history-viewer';import{LS_CONFIG_KEY as _0x3a6b45,UniverLicensePlugin as _0xda7ff9}from'@univerjs-pro/license';import{UniverSheetsChartPlugin as _0xa2d588}from'@univerjs-pro/sheets-chart';import{UniverSheetsChartUIPlugin as _0x9a2a00}from'@univerjs-pro/sheets-chart-ui';import{UniverSheetsPivotTablePlugin as _0x40f951}from'@univerjs-pro/sheets-pivot';import{UniverSheetsShapePlugin as _0x4b95eb}from'@univerjs-pro/sheets-shape';import{UniverSheetsShapeUIPlugin as _0x1d0397}from'@univerjs-pro/sheets-shape-ui';import{UniverSheetSparklinePlugin as _0xcccd98}from'@univerjs-pro/sheets-sparkline';import{UniverSheetSparklineUIPlugin as _0x510dfe}from'@univerjs-pro/sheets-sparkline-ui';import{UniverDataValidationPlugin as _0xda96c0}from'@univerjs/data-validation';import{MessageType as _0x23eb58}from'@univerjs/design';import{UniverDocsPlugin as _0x78bbef}from'@univerjs/docs';import{UniverDocsUIPlugin as _0x175e35}from'@univerjs/docs-ui';import{IImageIoService as _0x1cae50,UniverDrawingPlugin as _0x270322}from'@univerjs/drawing';import{UniverDrawingUIPlugin as _0x4da4d4}from'@univerjs/drawing-ui';import{UniverFormulaEnginePlugin as _0x4e9d53}from'@univerjs/engine-formula';import{UniverRenderEnginePlugin as _0x41c425}from'@univerjs/engine-render';import{UniverNetworkPlugin as _0x331ad8}from'@univerjs/network';function _0x4f95(_0x4fda07,_0x60f766){_0x4fda07=_0x4fda07-0x15e;const _0x8267ba=_0x8267();let _0x4f951a=_0x8267ba[_0x4fda07];return _0x4f951a;}import{IRemoteInstanceService as _0xd248b2,UniverRPCMainThreadPlugin as _0x1f74aa}from'@univerjs/rpc';import{UniverSheetsConditionalFormattingPlugin as _0x76de3a}from'@univerjs/sheets-conditional-formatting';import{UniverSheetsConditionalFormattingUIPlugin as _0x1adc51}from'@univerjs/sheets-conditional-formatting-ui';import{UniverSheetsDataValidationPlugin as _0x67a0a1}from'@univerjs/sheets-data-validation';import{UniverSheetsDataValidationMobileUIPlugin as _0xc84d59,UniverSheetsDataValidationUIPlugin as _0xe1f3b3}from'@univerjs/sheets-data-validation-ui';import{UniverSheetsDrawingPlugin as _0x448dee}from'@univerjs/sheets-drawing';import{UniverSheetsDrawingUIPlugin as _0x107c24}from'@univerjs/sheets-drawing-ui';import{UniverSheetsFilterPlugin as _0x6a94a1}from'@univerjs/sheets-filter';import{UniverSheetsFilterUIPlugin as _0xacef6c}from'@univerjs/sheets-filter-ui';import{UniverSheetsFormulaPlugin as _0x3f4819}from'@univerjs/sheets-formula';import{UniverSheetsFormulaUIPlugin as _0x5662f0}from'@univerjs/sheets-formula-ui';import{UniverSheetsHyperLinkPlugin as _0x55154f}from'@univerjs/sheets-hyper-link';import{UniverSheetsHyperLinkUIPlugin as _0x537bda}from'@univerjs/sheets-hyper-link-ui';import{UniverSheetsNumfmtPlugin as _0x51d68b}from'@univerjs/sheets-numfmt';import{UniverSheetsTablePlugin as _0x144f32}from'@univerjs/sheets-table';import{UniverSheetsMobileUIPlugin as _0x4540e1,UniverSheetsUIPlugin as _0x1d64ec,getCurrentRangeDisable$ as _0x5e42fe}from'@univerjs/sheets-ui';import{IDialogService as _0x5023dc,IMenuManagerService as _0x4b26af,IMessageService as _0x4f3883,ISidebarService as _0x142c21,IconManager as _0x39f634,MenuItemType as _0x4f7c9f,RibbonStartGroup as _0x5cb8cd,UniverMobileUIPlugin as _0x19787a,UniverUIPlugin as _0x377425,getMenuHiddenObservable as _0x287fde}from'@univerjs/ui';import{BehaviorSubject as _0x126128,combineLatest as _0x3db44e,takeUntil as _0x5920f5}from'rxjs';import{HistoryIcon as _0xfb0b38}from'@univerjs/icons';import{IURLService as _0x5ba956}from'@univerjs-pro/collaboration-client-ui';const I='edit-history-loader.config',L={'historyPanelComponentKey':_0x5af2cf(0x1b3)};function R(_0x757671){'@babel/helpers - typeof';const _0x1aa566=_0x5af2cf;return R=typeof Symbol==_0x1aa566(0x1eb)&&typeof Symbol['iterator']=='symbol'?function(_0xaae130){return typeof _0xaae130;}:function(_0x1d8738){const _0x1a7408=_0x1aa566;return _0x1d8738&&typeof Symbol==_0x1a7408(0x1eb)&&_0x1d8738[_0x1a7408(0x1ee)]===Symbol&&_0x1d8738!==Symbol[_0x1a7408(0x171)]?_0x1a7408(0x170):typeof _0x1d8738;},R(_0x757671);}function ot(_0x193dd9,_0x383cb3){const _0x1b71f4=_0x5af2cf;if(R(_0x193dd9)!='object'||!_0x193dd9)return _0x193dd9;var _0x4f51ce=_0x193dd9[Symbol[_0x1b71f4(0x162)]];if(_0x4f51ce!==void 0x0){var _0x59ca2c=_0x4f51ce[_0x1b71f4(0x174)](_0x193dd9,_0x383cb3||_0x1b71f4(0x1ed));if(R(_0x59ca2c)!=_0x1b71f4(0x199))return _0x59ca2c;throw TypeError(_0x1b71f4(0x1f5));}return(_0x383cb3===_0x1b71f4(0x1c3)?String:Number)(_0x193dd9);}function st(_0x418d1f){const _0x4b7f6c=_0x5af2cf;var _0x496c9a=ot(_0x418d1f,'string');return R(_0x496c9a)==_0x4b7f6c(0x170)?_0x496c9a:_0x496c9a+'';}function z(_0x474139,_0x120c04,_0x58038a){const _0x11551e=_0x5af2cf;return(_0x120c04=st(_0x120c04))in _0x474139?Object[_0x11551e(0x178)](_0x474139,_0x120c04,{'value':_0x58038a,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x474139[_0x120c04]=_0x58038a,_0x474139;}function B(_0x4a8fa6,_0x2ed44e){return function(_0xa25f73,_0x27aa6b){_0x2ed44e(_0xa25f73,_0x27aa6b,_0x4a8fa6);};}function V(_0x330715,_0x5bc82f,_0x39476d,_0x3a5276){const _0x333303=_0x5af2cf;var _0x504b86=arguments[_0x333303(0x1ca)],_0x3e082c=_0x504b86<0x3?_0x5bc82f:_0x3a5276===null?_0x3a5276=Object[_0x333303(0x1f1)](_0x5bc82f,_0x39476d):_0x3a5276,_0x209d6f;if(typeof Reflect==_0x333303(0x199)&&typeof Reflect[_0x333303(0x1b8)]==_0x333303(0x1eb))_0x3e082c=Reflect[_0x333303(0x1b8)](_0x330715,_0x5bc82f,_0x39476d,_0x3a5276);else{for(var _0x1868d7=_0x330715[_0x333303(0x1ca)]-0x1;_0x1868d7>=0x0;_0x1868d7--)(_0x209d6f=_0x330715[_0x1868d7])&&(_0x3e082c=(_0x504b86<0x3?_0x209d6f(_0x3e082c):_0x504b86>0x3?_0x209d6f(_0x5bc82f,_0x39476d,_0x3e082c):_0x209d6f(_0x5bc82f,_0x39476d))||_0x3e082c);}return _0x504b86>0x3&&_0x3e082c&&Object[_0x333303(0x178)](_0x5bc82f,_0x39476d,_0x3e082c),_0x3e082c;}const ct='UNIVER_CONTAINER_ID',H=_0x5af2cf(0x18d);let U=class extends _0x28c74e{constructor(_0x248b8a,_0xb87504,_0x4599ea,_0x26af70,_0x2630db,_0x40e259,_0x1093ba,_0x576c01,_0xb46b26,_0x206860){const _0x54a096=_0x5af2cf;super(),this[_0x54a096(0x1a6)]=_0x248b8a,this[_0x54a096(0x1f8)]=_0xb87504,this[_0x54a096(0x1f3)]=_0x4599ea,this[_0x54a096(0x19a)]=_0x26af70,this[_0x54a096(0x1e6)]=_0x2630db,this[_0x54a096(0x17e)]=_0x40e259,this[_0x54a096(0x1e7)]=_0x1093ba,this[_0x54a096(0x1e1)]=_0x576c01,this[_0x54a096(0x1c7)]=_0xb46b26,this[_0x54a096(0x194)]=_0x206860,z(this,'_historyUniver$',new _0x126128(null)),z(this,'historyUniver$',this[_0x54a096(0x1ab)][_0x54a096(0x1ff)]()),z(this,'_disposableCollection',new _0x195677()),z(this,'_pluginMap',new Map()),z(this,_0x54a096(0x18f),null),this['_init']();}get[_0x5af2cf(0x1c5)](){const _0x4a6add=_0x5af2cf;return this[_0x4a6add(0x1ab)][_0x4a6add(0x1a4)];}['_init'](){const _0x82f341=_0x5af2cf;this[_0x82f341(0x1ea)](),this['_initPlugins']();}['_initContainer'](){const _0x18731a=_0x5af2cf;var _0x442796;let _0x2830f3=(_0x442796=this[_0x18731a(0x1f3)]['getConfig'](_0x18731a(0x20c)))==null?_0x18731a(0x1b5):_0x442796,_0x16d52a=document[_0x18731a(0x1b1)](_0x2830f3);if(!_0x16d52a)return;let _0x18c924=document[_0x18731a(0x164)]('div');_0x18c924['id']=H,_0x18c924[_0x18731a(0x1e3)][_0x18731a(0x1ce)]='history-container',_0x18c924['style'][_0x18731a(0x198)]=_0x18731a(0x1d5),_0x18c924[_0x18731a(0x169)][_0x18731a(0x18c)]='0',_0x18c924[_0x18731a(0x169)][_0x18731a(0x1cf)]='0',_0x18c924['style'][_0x18731a(0x168)]=_0x18731a(0x1bb),_0x18c924[_0x18731a(0x169)][_0x18731a(0x200)]=_0x18731a(0x1bb),_0x18c924[_0x18731a(0x169)][_0x18731a(0x21d)]='49',_0x18c924[_0x18731a(0x169)]['display']=_0x18731a(0x1c6),_0x16d52a[_0x18731a(0x1e8)](_0x18c924);}['_initPlugins'](){const _0x466977=_0x5af2cf;[[_0x41c425],[_0x377425,{'container':H,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x5023dc,null]]}],[_0x331ad8],[_0x270322,{'override':[[_0x1cae50,null]]}],[_0x78bbef,{'hasScroll':!0x1}],[_0x175e35],[_0x51d68b],[_0x2b4e05,{'notExecuteFormula':!0x0}],[_0x1d64ec],[_0x3f4819],[_0x5662f0],[_0x1f786c],[_0x6a94a1],[_0xacef6c],[_0x76de3a],[_0x1adc51],[_0x55154f],[_0x537bda],[_0xda96c0],[_0x67a0a1],[_0xe1f3b3],[_0x4e9d53,{'notExecuteFormula':!0x0}],[_0x4da4d4],[_0x448dee],[_0x107c24],[_0xcccd98],[_0x510dfe],[_0xa2d588],[_0x9a2a00],[_0x4b95eb],[_0x1d0397],[_0x40f951,{'notExecuteFormula':!0x0}],[_0x144f32]][_0x466977(0x1cd)](([_0x5f25c8,_0x281bd1])=>this['registerPlugin'](_0x5f25c8,_0x281bd1));}['dispose'](){const _0x1f5166=_0x5af2cf;super[_0x1f5166(0x19b)](),this[_0x1f5166(0x19f)](),this[_0x1f5166(0x1d0)][_0x1f5166(0x16f)]();}[_0x5af2cf(0x1cb)](_0x28a54b,_0x32a7ad,_0x51ba18){const _0x126027=_0x5af2cf;if(this[_0x126027(0x1d0)]['has'](_0x28a54b[_0x126027(0x21b)])&&!_0x51ba18)throw Error(_0x126027(0x1b2)+_0x28a54b[_0x126027(0x21b)]+_0x126027(0x193));this[_0x126027(0x1d0)][_0x126027(0x181)](_0x28a54b['pluginName'],[_0x28a54b,_0x32a7ad]);}[_0x5af2cf(0x224)](){const _0x40da65=_0x5af2cf;return Array[_0x40da65(0x1cc)](this[_0x40da65(0x1d0)][_0x40da65(0x16c)]());}[_0x5af2cf(0x167)](_0x57946e,_0x3269b1){const _0x3a348c=_0x5af2cf;let _0x2c9794=document['getElementById'](H);_0x2c9794&&(_0x2c9794[_0x3a348c(0x169)][_0x3a348c(0x1d6)]='block',this['_initUniver'](_0x57946e,H,_0x3269b1));}[_0x5af2cf(0x19f)](){const _0x16f1df=_0x5af2cf;var _0x6c49b2;this[_0x16f1df(0x1d8)][_0x16f1df(0x19b)](),(_0x6c49b2=this['historyUniver'])==null||_0x6c49b2[_0x16f1df(0x19b)](),this[_0x16f1df(0x1ab)][_0x16f1df(0x1e4)](null);let _0x4815ea=document['getElementById'](H);_0x4815ea&&(_0x4815ea[_0x16f1df(0x169)][_0x16f1df(0x1d6)]=_0x16f1df(0x1c6),this[_0x16f1df(0x18f)]&&(this[_0x16f1df(0x18f)]['terminate'](),this[_0x16f1df(0x18f)]=null));}['_initUniver'](_0x3fb6fb,_0x2dfb35,_0x8ff1fc){const _0x34ba94=_0x5af2cf;var _0x52b9d5,_0x5f4ccd,_0x32e8e4,_0x4a2888,_0x199f28;if(this['historyUniver'])return;let _0x106db7=new _0x318377({'locales':{[this['_localeService']['getCurrentLocale']()]:this[_0x34ba94(0x1a6)]['getLocales']()},'override':[[_0x1ed9f5,{'useClass':_0x5cd0a7}]]}),_0x17523d=_0x106db7[_0x34ba94(0x1fb)]();this[_0x34ba94(0x161)](this[_0x34ba94(0x194)]['darkMode$']['subscribe'](_0x2f7954=>{const _0x4fb6b0=_0x34ba94;_0x17523d['get'](_0x77b5ed)[_0x4fb6b0(0x16b)](_0x2f7954);})),this[_0x34ba94(0x161)](this[_0x34ba94(0x194)]['currentTheme$'][_0x34ba94(0x216)](_0x21e234=>{const _0x34b0b3=_0x34ba94;_0x17523d[_0x34b0b3(0x1fd)](_0x77b5ed)['setTheme'](_0x21e234);})),_0x17523d[_0x34ba94(0x1fd)](_0x2709c3)['setLocale'](this[_0x34ba94(0x1a6)]['getCurrentLocale']()),_0x17523d[_0x34ba94(0x1fd)](_0x433e3f)['setConfig'](_0x3d0eb7,this[_0x34ba94(0x1f3)][_0x34ba94(0x1d9)](_0x3d0eb7));let _0x4bd3da=this[_0x34ba94(0x1f3)][_0x34ba94(0x1d9)](_0x3a6b45);_0x4bd3da&&_0x106db7[_0x34ba94(0x1cb)](_0xda7ff9,{'license':_0x4bd3da['ls']});let _0x347a77=(_0x52b9d5=this['_configService']['getConfig'](_0x34ba94(0x1c4)))==null?void 0x0:_0x52b9d5['workerURL'],_0x288acc=!!_0x347a77;_0x288acc&&(this[_0x34ba94(0x18f)]=_0x347a77 instanceof Worker?_0x347a77:null,_0x106db7['registerPlugin'](_0x1f74aa,{'workerURL':_0x347a77})),this[_0x34ba94(0x1d0)][_0x34ba94(0x1cd)](([_0x3a4f29,_0x575bf5])=>{const _0x590d76=_0x34ba94;_0x106db7[_0x590d76(0x1cb)](_0x3a4f29,_0x575bf5);}),_0x106db7['registerPlugin'](_0x321009,{'historyListServerUrl':(_0x5f4ccd=this[_0x34ba94(0x1f3)][_0x34ba94(0x1d9)](_0x34ba94(0x1c4)))==null?void 0x0:_0x5f4ccd[_0x34ba94(0x1fa)],'historyPanelComponentKey':(_0x32e8e4=this[_0x34ba94(0x1f3)][_0x34ba94(0x1d9)](_0x34ba94(0x1c4)))==null?void 0x0:_0x32e8e4['historyPanelComponentKey'],'historyPanelHidden':(_0x4a2888=this[_0x34ba94(0x1f3)][_0x34ba94(0x1d9)](_0x34ba94(0x1c4)))==null?void 0x0:_0x4a2888[_0x34ba94(0x1f4)],'historyAIassistantEnabled':(_0x199f28=this[_0x34ba94(0x1f3)][_0x34ba94(0x1d9)](_0x34ba94(0x1c4)))==null?void 0x0:_0x199f28[_0x34ba94(0x212)]}),_0x17523d['invoke'](_0x389d1b=>{this['_initListener'](_0x389d1b,_0x3fb6fb);}),this[_0x34ba94(0x1ab)]['next'](_0x106db7);let _0x536341=_0x17523d['get'](_0x2eb63a),_0x573549=this[_0x34ba94(0x1dc)](_0x3fb6fb),_0x55be48=()=>{_0x8ff1fc?_0x536341['triggerCustomVersions'](_0x3fb6fb,_0x2dfb35,_0x573549,_0x8ff1fc):_0x536341['triggerLoadVersions'](_0x3fb6fb,_0x2dfb35,_0x573549);};if(this[_0x34ba94(0x1e6)][_0x34ba94(0x223)]({'content':this[_0x34ba94(0x1a6)]['t'](_0x34ba94(0x186)),'type':_0x23eb58[_0x34ba94(0x1a2)]}),_0x288acc)try{_0x17523d[_0x34ba94(0x1fd)](_0xd248b2)[_0x34ba94(0x177)]()[_0x34ba94(0x208)](()=>{_0x55be48();});}catch{_0x55be48();}else _0x55be48();}['_initListener'](_0x360a21,_0x5eaf77){const _0x56c9f5=_0x5af2cf;let _0x2f77a4=_0x360a21['get'](_0x2eb63a);this[_0x56c9f5(0x1d8)][_0x56c9f5(0x21f)](_0x2f77a4[_0x56c9f5(0x189)]['subscribe'](_0x242a13=>{const _0x89f164=_0x56c9f5;switch(_0x242a13){case _0x3497e9[_0x89f164(0x1a1)]:this['_dialogService'][_0x89f164(0x188)](),this['_sidebarService']['close']();break;case _0x3497e9[_0x89f164(0x205)]:this[_0x89f164(0x19a)][_0x89f164(0x1c2)](G['id']),this['unMountHistoryContent']();break;case _0x3497e9[_0x89f164(0x1b7)]:this[_0x89f164(0x19f)](),this['_messageService'][_0x89f164(0x223)]({'content':this[_0x89f164(0x1a6)]['t'](_0x89f164(0x17d)),'type':_0x23eb58['Error'],'duration':0xbb8});break;default:break;}})),this[_0x56c9f5(0x1d8)][_0x56c9f5(0x21f)](_0x2f77a4[_0x56c9f5(0x18a)]['subscribe'](async _0x588996=>{const _0x182d31=_0x56c9f5;_0x588996&&this[_0x182d31(0x19a)][_0x182d31(0x1c2)](_0x31ab55['id'],{'unitId':_0x5eaf77,'revision':_0x588996});}));}[_0x5af2cf(0x1dc)](_0x44a430){const _0x4ed00c=_0x5af2cf;let _0x5bfc86=this[_0x4ed00c(0x1f8)][_0x4ed00c(0x203)](_0x44a430)['getSheets']()[_0x4ed00c(0x1f7)](_0x1a98b6=>_0x1a98b6[_0x4ed00c(0x1fe)]()),_0x13d48b=new _0x5a56a8(_0x44a430)['id'],_0x27d051=_0x5bfc86[_0x4ed00c(0x1f7)](_0x758fc1=>new _0x1909be(_0x44a430,_0x758fc1)['id']),_0x1c4698=_0x5bfc86[_0x4ed00c(0x1f7)](_0x3127f1=>this[_0x4ed00c(0x1e7)]['getSubunitRuleList'](_0x44a430,_0x3127f1)[_0x4ed00c(0x1f7)](_0x1e6d49=>new _0x162ed3(_0x44a430,_0x3127f1,_0x1e6d49[_0x4ed00c(0x179)])['id']))['flat'](),_0x525a3e=new _0x164e7f(_0x44a430)['id'];return this['_permissionService']['composePermission']([_0x13d48b,..._0x27d051,..._0x1c4698,_0x525a3e])[_0x4ed00c(0x19c)](_0x2ec230=>!!_0x2ec230[_0x4ed00c(0x1a4)]);}};U=V([B(0x0,_0xa5134(_0x2709c3)),B(0x1,_0x2fd3df),B(0x2,_0x433e3f),B(0x3,_0x2c4360),B(0x4,_0x4f3883),B(0x5,_0x1793c7),B(0x6,_0xa5134(_0x53eaad)),B(0x7,_0xa5134(_0x5023dc)),B(0x8,_0xa5134(_0x142c21)),B(0x9,_0xa5134(_0x77b5ed))],U);const W={'id':_0x5af2cf(0x20d),'type':_0x524074[_0x5af2cf(0x1a0)],'handler':_0x1542b4=>{const _0x3db452=_0x5af2cf;let _0x3c3d96=_0x1542b4[_0x3db452(0x1fd)](U),{unitId:_0x2fc272}=_0x50daf4(_0x1542b4[_0x3db452(0x1fd)](_0x2fd3df))||{};return _0x2fc272?(_0x3c3d96[_0x3db452(0x167)](_0x2fc272),!0x0):!0x1;}},G={'id':'univer.operation.exit-edit-history','type':_0x524074[_0x5af2cf(0x1a0)],'handler':()=>!0x0};var K=_0x5af2cf(0x210),lt=_0x5af2cf(0x16d);let q=class extends _0x28c74e{constructor(_0x1efce2){const _0x2b4a57=_0x5af2cf;super(),this[_0x2b4a57(0x17c)]=_0x1efce2,this[_0x2b4a57(0x1b0)]();}[_0x5af2cf(0x1b0)](){const _0x3ac0b0=_0x5af2cf;this['disposeWithMe'](this[_0x3ac0b0(0x17c)][_0x3ac0b0(0x1d4)]({'HistoryIcon':_0xfb0b38}));}};q=V([B(0x0,_0xa5134(_0x39f634))],q);function ut(_0x439f5f){const _0x6065b1=_0x5af2cf;return{'id':W['id'],'type':_0x4f7c9f[_0x6065b1(0x192)],'icon':_0x6065b1(0x1f9),'tooltip':_0x6065b1(0x1e0),'hidden$':_0x287fde(_0x439f5f,_0x2716bf['UNIVER_SHEET']),'disabled$':_0x5e42fe(_0x439f5f,{'workbookTypes':[_0x48faec],'worksheetTypes':[],'rangeTypes':[]})};}const dt={[_0x5cb8cd[_0x5af2cf(0x214)]]:{[W['id']]:{'order':0.2,'menuItemFactory':ut}}};let J=class extends _0x58fc47{constructor(_0x287a81,_0x306e72,_0x2c2487,_0xc170d0,_0x1ffd64,_0x46f8e7,_0x35c625,_0x13e88d,_0x648e1d,_0x4edcbd){const _0x1284d1=_0x5af2cf;super(),this[_0x1284d1(0x19a)]=_0x287a81,this[_0x1284d1(0x20a)]=_0x306e72,this[_0x1284d1(0x16a)]=_0x2c2487,this[_0x1284d1(0x1a6)]=_0xc170d0,this[_0x1284d1(0x1e6)]=_0x1ffd64,this['_collaborationController']=_0x46f8e7,this['_localCacheService']=_0x35c625,this[_0x1284d1(0x1d7)]=_0x13e88d,this[_0x1284d1(0x1f8)]=_0x648e1d,this['_urlService']=_0x4edcbd,z(this,_0x1284d1(0x1dd),null),this[_0x1284d1(0x163)]();}[_0x5af2cf(0x163)](){const _0x33092b=_0x5af2cf;[W,G][_0x33092b(0x1cd)](_0x58fa30=>this[_0x33092b(0x161)](_0x3867a4(this['_commandService'][_0x33092b(0x217)](_0x58fa30)))),this[_0x33092b(0x20a)]['mergeMenu'](dt),this[_0x33092b(0x161)](this[_0x33092b(0x19a)][_0x33092b(0x165)](async(_0x5c3489,_0x276814)=>{const _0x551455=_0x33092b;if(_0x5c3489['id']===_0x31ab55['id']){let {unitId:_0x5df28d}=_0x5c3489[_0x551455(0x218)];this[_0x551455(0x1e6)][_0x551455(0x223)]({'content':this['_localeService']['t'](_0x551455(0x176)),'type':_0x23eb58['Loading'],'duration':0x1388});let _0x479c00=this[_0x551455(0x1a3)][_0x551455(0x196)](_0x5df28d);_0x276814!=null&&_0x276814['fromCollab']?this[_0x551455(0x1c1)](_0x479c00,async()=>(setTimeout(()=>window[_0x551455(0x1a8)]['reload']()),!0x0),!0x0):this[_0x551455(0x1c1)](_0x479c00,async()=>{const _0x24671d=_0x551455;let _0x5e8963=this[_0x24671d(0x1f8)]['getCurrentUnitOfType'](_0x2716bf[_0x24671d(0x1df)]),_0x16158b=_0x5e8963==null?void 0x0:_0x5e8963['getActiveSheet']();if(!_0x16158b)return!0x1;this['_univerInstanceService'][_0x24671d(0x207)](_0x5df28d);let _0x1f0906=await this[_0x24671d(0x1d7)][_0x24671d(0x1b4)](_0x5df28d,_0x2716bf[_0x24671d(0x1df)]);return _0x1f0906&&_0x1f0906 instanceof _0x564143?(await this[_0x24671d(0x1c0)](_0x1f0906,_0x16158b[_0x24671d(0x1fe)]()),!0x0):!0x1;});}}));}[_0x5af2cf(0x1c1)](_0x2b98c8,_0x2ee1bb,_0x3773c0=!0x1){const _0x5f3cc4=_0x5af2cf;let _0x2b20ef=_0x3db44e([_0x2b98c8[_0x5f3cc4(0x213)][_0x5f3cc4(0x1bd)],_0x2b98c8[_0x5f3cc4(0x220)]])[_0x5f3cc4(0x216)](async([_0x1027ac,_0x3379fb])=>{const _0x4d7567=_0x5f3cc4;if(_0x1027ac[_0x4d7567(0x166)]===_0x280d18['CHANGESET_ACK']&&(_0x3379fb==null?void 0x0:_0x3379fb[_0x4d7567(0x1ac)])===_0x55595c[_0x4d7567(0x1f0)]&&_0x1027ac[_0x4d7567(0x18b)][_0x4d7567(0x182)]['some'](_0x125bbe=>_0x125bbe['id']===_0x31ab55['id'])&&await _0x2ee1bb()){var _0x3d09c7;this[_0x4d7567(0x16a)][_0x4d7567(0x19f)](),_0x2b20ef['unsubscribe'](),this['_revertErrorTimer']&&clearTimeout(this[_0x4d7567(0x1dd)]),await((_0x3d09c7=this[_0x4d7567(0x221)])==null?void 0x0:_0x3d09c7[_0x4d7567(0x19e)]()),this['_messageService'][_0x4d7567(0x204)]();}});_0x3773c0&&(this[_0x5f3cc4(0x1dd)]=setTimeout(()=>{const _0x5bdc62=_0x5f3cc4;_0x2b20ef[_0x5bdc62(0x19d)](),this[_0x5bdc62(0x1e6)][_0x5bdc62(0x223)]({'content':this['_localeService']['t'](_0x5bdc62(0x195)),'type':_0x23eb58[_0x5bdc62(0x1b7)],'duration':0xbb8});},0x1388));}async['_setupSubUnitSync'](_0xdb364d,_0x11ab30){const _0x5bf996=_0x5af2cf;await this[_0x5bf996(0x1c8)](_0xdb364d,_0x11ab30),_0xdb364d['activeSheet$']['pipe'](_0x5920f5(this[_0x5bf996(0x201)]))[_0x5bf996(0x216)](_0xfee734=>{_0xfee734&&this['_updateURLWithCurrentState'](_0xfee734);}),this[_0x5bf996(0x1b9)]['urlChange$'][_0x5bf996(0x160)](_0x5920f5(this[_0x5bf996(0x201)]))[_0x5bf996(0x216)](()=>this[_0x5bf996(0x1c8)](_0xdb364d,_0x11ab30));}[_0x5af2cf(0x1a9)](_0x292640,_0xe9323d=!0x1){const _0xe5a89d=_0x5af2cf;let _0xd478fd=this['_urlService'][_0xe5a89d(0x185)](_0xe5a89d(0x17b));_0x292640[_0xe5a89d(0x1fe)]()!==_0xd478fd&&this['_urlService']['setParam'](_0xe5a89d(0x17b),_0x292640[_0xe5a89d(0x1fe)](),_0xe9323d);}async[_0x5af2cf(0x1c8)](_0x1a4a82,_0x273260){const _0x4d56c1=_0x5af2cf;var _0x217052;if(!_0x273260||!_0x1a4a82[_0x4d56c1(0x21a)](_0x273260)){let _0x43d54e=_0x1a4a82[_0x4d56c1(0x1d2)]()[0x0],_0x10aa60=_0x1a4a82[_0x4d56c1(0x21a)](_0x43d54e);if(!_0x10aa60)return;this[_0x4d56c1(0x1a9)](_0x10aa60,!0x0),await this[_0x4d56c1(0x19a)][_0x4d56c1(0x1c2)](_0x252815['id'],{'unitId':_0x1a4a82[_0x4d56c1(0x175)](),'subUnitId':_0x43d54e});return;}((_0x217052=_0x1a4a82[_0x4d56c1(0x191)]())==null?void 0x0:_0x217052['getSheetId']())!==_0x273260&&await this[_0x4d56c1(0x19a)][_0x4d56c1(0x1c2)](_0x252815['id'],{'unitId':_0x1a4a82['getUnitId'](),'subUnitId':_0x273260});}};J=V([B(0x0,_0x2c4360),B(0x1,_0x4b26af),B(0x2,_0xa5134(U)),B(0x3,_0xa5134(_0x2709c3)),B(0x4,_0x4f3883),B(0x5,_0xa5134(_0x1f21e2)),B(0x6,_0x5a608e),B(0x7,_0xa5134(_0x23d93a)),B(0x8,_0x2fd3df),B(0x9,_0x5ba956)],J);const Y=_0x5af2cf(0x1f6);let X=class extends _0x28c74e{constructor(_0x18fc98,_0x1b6314,_0x4fb21e,_0x3c73f5,_0x4b5d68,_0x42ec2a,_0x1af99c,_0x50dbc9,_0x78bf30,_0x24a241){const _0x313945=_0x5af2cf;super(),this['_localeService']=_0x18fc98,this['_univerInstanceService']=_0x1b6314,this['_configService']=_0x4fb21e,this['_commandService']=_0x3c73f5,this['_messageService']=_0x4b5d68,this[_0x313945(0x17e)]=_0x42ec2a,this[_0x313945(0x1e7)]=_0x1af99c,this['_dialogService']=_0x50dbc9,this['_sidebarService']=_0x78bf30,this['_themeService']=_0x24a241,z(this,_0x313945(0x1ab),new _0x126128(null)),z(this,'historyUniver$',this[_0x313945(0x1ab)][_0x313945(0x1ff)]()),z(this,'_disposableCollection',new _0x195677()),z(this,_0x313945(0x1d0),new Map()),z(this,_0x313945(0x18f),null),this[_0x313945(0x163)]();}get[_0x5af2cf(0x1c5)](){const _0x54c8bc=_0x5af2cf;return this[_0x54c8bc(0x1ab)][_0x54c8bc(0x1a4)];}[_0x5af2cf(0x163)](){const _0xb110c2=_0x5af2cf;this['_initContainer'](),this[_0xb110c2(0x17f)]();}[_0x5af2cf(0x1ea)](){const _0x33d19a=_0x5af2cf;var _0x3db69e;let _0x441d4f=(_0x3db69e=this[_0x33d19a(0x1f3)][_0x33d19a(0x1d9)](_0x33d19a(0x20c)))==null?'univer-container':_0x3db69e,_0x3494be=document['getElementById'](_0x441d4f);if(!_0x3494be)return;let _0x2a0343=document['createElement']('div');_0x2a0343['id']=Y,_0x2a0343[_0x33d19a(0x1e3)][_0x33d19a(0x1ce)]=_0x33d19a(0x1de),_0x2a0343['style'][_0x33d19a(0x198)]=_0x33d19a(0x1d5),_0x2a0343[_0x33d19a(0x169)][_0x33d19a(0x18c)]='0',_0x2a0343[_0x33d19a(0x169)]['left']='0',_0x2a0343[_0x33d19a(0x169)][_0x33d19a(0x168)]=_0x33d19a(0x1bb),_0x2a0343['style'][_0x33d19a(0x200)]=_0x33d19a(0x1bb),_0x2a0343[_0x33d19a(0x169)][_0x33d19a(0x21d)]='49',_0x2a0343[_0x33d19a(0x169)][_0x33d19a(0x1d6)]='none',_0x3494be[_0x33d19a(0x1e8)](_0x2a0343);}[_0x5af2cf(0x17f)](){const _0x1aaa34=_0x5af2cf;[[_0x41c425],[_0x19787a,{'container':Y,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x5023dc,null]]}],[_0x331ad8],[_0x270322,{'override':[[_0x1cae50,null]]}],[_0x78bbef,{'hasScroll':!0x1}],[_0x175e35],[_0x51d68b],[_0x2b4e05,{'notExecuteFormula':!0x0}],[_0x4540e1],[_0x3f4819],[_0x5662f0],[_0x1f786c],[_0x6a94a1],[_0x76de3a],[_0x55154f],[_0x537bda],[_0xda96c0],[_0x67a0a1],[_0xc84d59],[_0x4e9d53,{'notExecuteFormula':!0x0}],[_0x4da4d4],[_0x448dee],[_0x107c24],[_0xcccd98],[_0x510dfe],[_0xa2d588],[_0x9a2a00],[_0x4b95eb],[_0x1d0397],[_0x40f951,{'notExecuteFormula':!0x0}],[_0x144f32]]['forEach'](([_0xc45a52,_0x4d609e])=>this[_0x1aaa34(0x1cb)](_0xc45a52,_0x4d609e));}[_0x5af2cf(0x19b)](){const _0x3dae1a=_0x5af2cf;super['dispose'](),this[_0x3dae1a(0x19f)](),this['_pluginMap'][_0x3dae1a(0x16f)]();}[_0x5af2cf(0x1cb)](_0x4c8b8e,_0x3283f6,_0x508fc0){const _0x577db1=_0x5af2cf;if(this[_0x577db1(0x1d0)][_0x577db1(0x16e)](_0x4c8b8e['pluginName'])&&!_0x508fc0)throw Error(_0x577db1(0x1c9)+_0x4c8b8e['pluginName']+_0x577db1(0x193));this[_0x577db1(0x1d0)][_0x577db1(0x181)](_0x4c8b8e[_0x577db1(0x21b)],[_0x4c8b8e,_0x3283f6]);}[_0x5af2cf(0x224)](){const _0x3d3c9c=_0x5af2cf;return Array[_0x3d3c9c(0x1cc)](this[_0x3d3c9c(0x1d0)]['values']());}['mountHistoryContent'](_0x55b5de,_0x2e9499){const _0x1507dc=_0x5af2cf;let _0x1e8068=document[_0x1507dc(0x1b1)](Y);_0x1e8068&&(_0x1e8068[_0x1507dc(0x169)][_0x1507dc(0x1d6)]=_0x1507dc(0x1ad),this['_initUniver'](_0x55b5de,Y,_0x2e9499));}[_0x5af2cf(0x19f)](){const _0xf6da47=_0x5af2cf;var _0x48faf4;this[_0xf6da47(0x1d8)][_0xf6da47(0x19b)](),(_0x48faf4=this['historyUniver'])==null||_0x48faf4[_0xf6da47(0x19b)](),this[_0xf6da47(0x1ab)][_0xf6da47(0x1e4)](null);let _0x5b98ff=document[_0xf6da47(0x1b1)](Y);_0x5b98ff&&(_0x5b98ff[_0xf6da47(0x169)][_0xf6da47(0x1d6)]=_0xf6da47(0x1c6),this[_0xf6da47(0x18f)]&&(this[_0xf6da47(0x18f)][_0xf6da47(0x1f2)](),this[_0xf6da47(0x18f)]=null));}[_0x5af2cf(0x222)](_0x48e043,_0x582af0,_0xcc58ad){const _0x39b557=_0x5af2cf;var _0x1dd257,_0x351beb,_0x3e0593,_0x258e3b;if(this['historyUniver'])return;let _0xa8756e=new _0x318377({'locales':{[this[_0x39b557(0x1a6)][_0x39b557(0x219)]()]:this[_0x39b557(0x1a6)][_0x39b557(0x202)]()},'override':[[_0x1ed9f5,{'useClass':_0x5cd0a7}]]}),_0x13deff=_0xa8756e[_0x39b557(0x1fb)]();this[_0x39b557(0x161)](this[_0x39b557(0x194)][_0x39b557(0x1d3)][_0x39b557(0x216)](_0x128499=>{const _0x388f87=_0x39b557;_0x13deff[_0x388f87(0x1fd)](_0x77b5ed)[_0x388f87(0x16b)](_0x128499);})),this['disposeWithMe'](this[_0x39b557(0x194)][_0x39b557(0x1aa)][_0x39b557(0x216)](_0x3fa29f=>{const _0x1f3262=_0x39b557;_0x13deff[_0x1f3262(0x1fd)](_0x77b5ed)[_0x1f3262(0x18e)](_0x3fa29f);})),_0x13deff[_0x39b557(0x1fd)](_0x2709c3)[_0x39b557(0x197)](this[_0x39b557(0x1a6)]['getCurrentLocale']()),_0x13deff['get'](_0x433e3f)[_0x39b557(0x1ba)](_0x3d0eb7,this['_configService'][_0x39b557(0x1d9)](_0x3d0eb7));let _0x2739d9=this[_0x39b557(0x1f3)]['getConfig'](_0x3a6b45);_0x2739d9&&_0xa8756e[_0x39b557(0x1cb)](_0xda7ff9,{'license':_0x2739d9['ls']});let _0x5a6faf=(_0x1dd257=this['_configService'][_0x39b557(0x1d9)](_0x39b557(0x1c4)))==null?void 0x0:_0x1dd257[_0x39b557(0x20b)],_0xe0a1c5=!!_0x5a6faf;_0xe0a1c5&&(this[_0x39b557(0x18f)]=_0x5a6faf instanceof Worker?_0x5a6faf:null,_0xa8756e[_0x39b557(0x1cb)](_0x1f74aa,{'workerURL':_0x5a6faf})),this['_pluginMap'][_0x39b557(0x1cd)](([_0x24b772,_0x40c2f8])=>{const _0x42c02c=_0x39b557;_0xa8756e[_0x42c02c(0x1cb)](_0x24b772,_0x40c2f8);}),_0xa8756e[_0x39b557(0x1cb)](_0x361aa0,{'historyListServerUrl':(_0x351beb=this[_0x39b557(0x1f3)][_0x39b557(0x1d9)](_0x39b557(0x1c4)))==null?void 0x0:_0x351beb[_0x39b557(0x1fa)],'historyPanelComponentKey':(_0x3e0593=this[_0x39b557(0x1f3)][_0x39b557(0x1d9)](_0x39b557(0x1c4)))==null?void 0x0:_0x3e0593['historyPanelComponentKey'],'historyPanelHidden':(_0x258e3b=this[_0x39b557(0x1f3)][_0x39b557(0x1d9)](_0x39b557(0x1c4)))==null?void 0x0:_0x258e3b[_0x39b557(0x1f4)]}),_0x13deff[_0x39b557(0x1e9)](_0x2f5f34=>{const _0x40e257=_0x39b557;this[_0x40e257(0x172)](_0x2f5f34,_0x48e043);}),this[_0x39b557(0x1ab)][_0x39b557(0x1e4)](_0xa8756e);let _0x137272=_0x13deff[_0x39b557(0x1fd)](_0x2eb63a),_0x1c82fa=this[_0x39b557(0x1dc)](_0x48e043),_0x326968=()=>{const _0x3f1ee6=_0x39b557;_0xcc58ad?_0x137272[_0x3f1ee6(0x1a7)](_0x48e043,_0x582af0,_0x1c82fa,_0xcc58ad):_0x137272[_0x3f1ee6(0x173)](_0x48e043,_0x582af0,_0x1c82fa);};if(this[_0x39b557(0x1e6)][_0x39b557(0x223)]({'content':this[_0x39b557(0x1a6)]['t'](_0x39b557(0x186)),'type':_0x23eb58[_0x39b557(0x1a2)]}),_0xe0a1c5)try{_0x13deff[_0x39b557(0x1fd)](_0xd248b2)[_0x39b557(0x177)]()[_0x39b557(0x208)](()=>{_0x326968();});}catch{_0x326968();}else _0x326968();}[_0x5af2cf(0x172)](_0x22ecbb,_0x370ff2){const _0x3bd496=_0x5af2cf;let _0x3cbf92=_0x22ecbb[_0x3bd496(0x1fd)](_0x2eb63a);this[_0x3bd496(0x1d8)][_0x3bd496(0x21f)](_0x3cbf92[_0x3bd496(0x189)][_0x3bd496(0x216)](_0x5436ad=>{const _0xc4224d=_0x3bd496;switch(_0x5436ad){case _0x3497e9['Entered']:this[_0xc4224d(0x1e1)][_0xc4224d(0x188)](),this[_0xc4224d(0x1c7)][_0xc4224d(0x21c)]();break;case _0x3497e9[_0xc4224d(0x205)]:this[_0xc4224d(0x19a)][_0xc4224d(0x1c2)](G['id']),this[_0xc4224d(0x19f)]();break;case _0x3497e9[_0xc4224d(0x1b7)]:this[_0xc4224d(0x19f)](),this[_0xc4224d(0x1e6)][_0xc4224d(0x223)]({'content':this[_0xc4224d(0x1a6)]['t'](_0xc4224d(0x17d)),'type':_0x23eb58[_0xc4224d(0x1b7)],'duration':0xbb8});break;default:break;}})),this['_disposableCollection']['add'](_0x3cbf92[_0x3bd496(0x18a)][_0x3bd496(0x216)](async _0x244050=>{const _0x10c4c3=_0x3bd496;_0x244050&&this[_0x10c4c3(0x19a)][_0x10c4c3(0x1c2)](_0x31ab55['id'],{'unitId':_0x370ff2,'revision':_0x244050});}));}[_0x5af2cf(0x1dc)](_0x2bd04a){const _0x49b1e5=_0x5af2cf;let _0x45de50=this['_univerInstanceService'][_0x49b1e5(0x203)](_0x2bd04a)[_0x49b1e5(0x1da)]()[_0x49b1e5(0x1f7)](_0x2c3703=>_0x2c3703['getSheetId']()),_0x53021b=new _0x5a56a8(_0x2bd04a)['id'],_0x22187e=_0x45de50[_0x49b1e5(0x1f7)](_0xc14a76=>new _0x1909be(_0x2bd04a,_0xc14a76)['id']),_0x216c2d=_0x45de50[_0x49b1e5(0x1f7)](_0xa9f1fc=>this['_selectionProtectionRuleModel']['getSubunitRuleList'](_0x2bd04a,_0xa9f1fc)[_0x49b1e5(0x1f7)](_0xfbd95e=>new _0x162ed3(_0x2bd04a,_0xa9f1fc,_0xfbd95e['permissionId'])['id']))[_0x49b1e5(0x215)](),_0x38e1af=new _0x164e7f(_0x2bd04a)['id'];return this[_0x49b1e5(0x17e)][_0x49b1e5(0x1ec)]([_0x53021b,..._0x22187e,..._0x216c2d,_0x38e1af])[_0x49b1e5(0x19c)](_0x565eea=>!!_0x565eea[_0x49b1e5(0x1a4)]);}};X=V([B(0x0,_0xa5134(_0x2709c3)),B(0x1,_0x2fd3df),B(0x2,_0x433e3f),B(0x3,_0x2c4360),B(0x4,_0x4f3883),B(0x5,_0x1793c7),B(0x6,_0xa5134(_0x53eaad)),B(0x7,_0xa5134(_0x5023dc)),B(0x8,_0xa5134(_0x142c21)),B(0x9,_0xa5134(_0x77b5ed))],X);let Z=class extends _0x51724b{constructor(_0x2a7d47=L,_0x22c49d,_0x174cfc){const _0x5b7df2=_0x5af2cf;super(),this['_config']=_0x2a7d47,this[_0x5b7df2(0x15f)]=_0x22c49d,this[_0x5b7df2(0x1f3)]=_0x174cfc;let {menu:_0x1c5aaf,..._0x43491a}=_0x266f91({},L,this[_0x5b7df2(0x1bc)]);_0x1c5aaf&&this[_0x5b7df2(0x1f3)][_0x5b7df2(0x1ba)]('menu',_0x1c5aaf,{'merge':!0x0}),this[_0x5b7df2(0x1f3)][_0x5b7df2(0x1ba)](I,_0x43491a),this[_0x5b7df2(0x1bc)][_0x5b7df2(0x183)]&&this['_configService'][_0x5b7df2(0x1ba)](_0x5b7df2(0x20c),this[_0x5b7df2(0x1bc)][_0x5b7df2(0x183)]);}[_0x5af2cf(0x1d1)](){const _0x2c1ea4=_0x5af2cf;this[_0x2c1ea4(0x15f)][_0x2c1ea4(0x21f)]([q]),this[_0x2c1ea4(0x15f)][_0x2c1ea4(0x1fd)](q),[[U,{'useClass':X}],[J]][_0x2c1ea4(0x1cd)](_0x3755ed=>this[_0x2c1ea4(0x15f)][_0x2c1ea4(0x21f)](_0x3755ed));}['onSteady'](){const _0x992c76=_0x5af2cf;this[_0x992c76(0x15f)][_0x992c76(0x1fd)](J);}};z(Z,_0x5af2cf(0x1ef),_0x2716bf[_0x5af2cf(0x1e5)]),z(Z,_0x5af2cf(0x21b),_0x5af2cf(0x206)),z(Z,'packageName',K),z(Z,_0x5af2cf(0x17a),lt),Z=V([_0x215b3a(_0xda7ff9),B(0x1,_0xa5134(_0xd18721)),B(0x2,_0x433e3f)],Z);let Q=class extends _0x58fc47{constructor(_0xa4977a,_0x74bf03,_0x5d412f,_0x378f58,_0x52292b,_0x17c200,_0x5c6b6c,_0xf20375,_0x4518ba,_0xb6c420){const _0x3cbf0d=_0x5af2cf;super(),this[_0x3cbf0d(0x19a)]=_0xa4977a,this[_0x3cbf0d(0x20a)]=_0x74bf03,this['_historyManagerService']=_0x5d412f,this[_0x3cbf0d(0x1a6)]=_0x378f58,this[_0x3cbf0d(0x1e6)]=_0x52292b,this[_0x3cbf0d(0x1a3)]=_0x17c200,this[_0x3cbf0d(0x221)]=_0x5c6b6c,this[_0x3cbf0d(0x1d7)]=_0xf20375,this[_0x3cbf0d(0x1f8)]=_0x4518ba,this['_urlService']=_0xb6c420,z(this,'_revertErrorTimer',null),this[_0x3cbf0d(0x163)]();}[_0x5af2cf(0x163)](){const _0x3c995a=_0x5af2cf;[W,G][_0x3c995a(0x1cd)](_0x4df346=>this[_0x3c995a(0x161)](_0x3867a4(this[_0x3c995a(0x19a)]['registerCommand'](_0x4df346)))),this['_menuManagerService'][_0x3c995a(0x1fc)](dt),this[_0x3c995a(0x161)](this[_0x3c995a(0x19a)][_0x3c995a(0x165)](async(_0x459dc6,_0x2b96ba)=>{const _0x42a824=_0x3c995a;if(_0x459dc6['id']===_0x31ab55['id']){let {unitId:_0x5b49d7}=_0x459dc6['params'];this[_0x42a824(0x1e6)][_0x42a824(0x223)]({'content':this['_localeService']['t'](_0x42a824(0x176)),'type':_0x23eb58[_0x42a824(0x1a2)],'duration':0x1388});let _0x17bd7e=this[_0x42a824(0x1a3)][_0x42a824(0x196)](_0x5b49d7);_0x2b96ba!=null&&_0x2b96ba[_0x42a824(0x1af)]?this[_0x42a824(0x1c1)](_0x17bd7e,async()=>(setTimeout(()=>window[_0x42a824(0x1a8)]['reload']()),!0x0),!0x0):this[_0x42a824(0x1c1)](_0x17bd7e,async()=>{const _0x180a9e=_0x42a824;let _0x592524=this['_univerInstanceService'][_0x180a9e(0x20e)](_0x2716bf[_0x180a9e(0x1df)]),_0x47c7ad=_0x592524==null?void 0x0:_0x592524[_0x180a9e(0x191)]();if(!_0x47c7ad)return!0x1;this[_0x180a9e(0x1f8)]['disposeUnit'](_0x5b49d7);let _0x11cea9=await this[_0x180a9e(0x1d7)][_0x180a9e(0x1b4)](_0x5b49d7,_0x2716bf[_0x180a9e(0x1df)]);return _0x11cea9&&_0x11cea9 instanceof _0x564143?(await this[_0x180a9e(0x1c0)](_0x11cea9,_0x47c7ad[_0x180a9e(0x1fe)]()),!0x0):!0x1;});}}));}['_handleRevertAcknowledgement'](_0x1c3589,_0xa0a3,_0x83415=!0x1){const _0x27aaa2=_0x5af2cf;let _0x1f50df=_0x3db44e([_0x1c3589[_0x27aaa2(0x213)][_0x27aaa2(0x1bd)],_0x1c3589[_0x27aaa2(0x220)]])[_0x27aaa2(0x216)](async([_0x4d01b3,_0x474f18])=>{const _0x5c95bd=_0x27aaa2;if(_0x4d01b3['eventID']===_0x280d18['CHANGESET_ACK']&&(_0x474f18==null?void 0x0:_0x474f18[_0x5c95bd(0x1ac)])===_0x55595c['SYNCED']&&_0x4d01b3[_0x5c95bd(0x18b)]['mutations'][_0x5c95bd(0x184)](_0xe997bc=>_0xe997bc['id']===_0x31ab55['id'])&&await _0xa0a3()){var _0x242063;this['_historyManagerService'][_0x5c95bd(0x19f)](),_0x1f50df[_0x5c95bd(0x19d)](),this[_0x5c95bd(0x1dd)]&&clearTimeout(this['_revertErrorTimer']),await((_0x242063=this['_localCacheService'])==null?void 0x0:_0x242063[_0x5c95bd(0x19e)]());}});_0x83415&&(this[_0x27aaa2(0x1dd)]=setTimeout(()=>{const _0x2c7fde=_0x27aaa2;_0x1f50df[_0x2c7fde(0x19d)](),this[_0x2c7fde(0x1e6)][_0x2c7fde(0x223)]({'content':this[_0x2c7fde(0x1a6)]['t'](_0x2c7fde(0x195)),'type':_0x23eb58['Error'],'duration':0xbb8});},0x1388));}async[_0x5af2cf(0x1c0)](_0x1b656d,_0xcbc60d){const _0x447806=_0x5af2cf;await this[_0x447806(0x1c8)](_0x1b656d,_0xcbc60d),_0x1b656d['activeSheet$'][_0x447806(0x160)](_0x5920f5(this['dispose$']))[_0x447806(0x216)](_0x59e14f=>{const _0x562087=_0x447806;_0x59e14f&&this[_0x562087(0x1a9)](_0x59e14f);}),this[_0x447806(0x1b9)][_0x447806(0x1b6)]['pipe'](_0x5920f5(this['dispose$']))[_0x447806(0x216)](()=>this[_0x447806(0x1c8)](_0x1b656d,_0xcbc60d));}[_0x5af2cf(0x1a9)](_0x51d0d2,_0x4e3985=!0x1){const _0x3b59f3=_0x5af2cf;let _0x53874c=this[_0x3b59f3(0x1b9)][_0x3b59f3(0x185)](_0x3b59f3(0x17b));_0x51d0d2[_0x3b59f3(0x1fe)]()!==_0x53874c&&this[_0x3b59f3(0x1b9)]['setParam'](_0x3b59f3(0x17b),_0x51d0d2[_0x3b59f3(0x1fe)](),_0x4e3985);}async[_0x5af2cf(0x1c8)](_0x46eb5b,_0x8c975f){const _0x36faf3=_0x5af2cf;var _0x590f70;if(!_0x8c975f||!_0x46eb5b[_0x36faf3(0x21a)](_0x8c975f)){let _0x3d70bc=_0x46eb5b[_0x36faf3(0x1d2)]()[0x0],_0x8047ed=_0x46eb5b[_0x36faf3(0x21a)](_0x3d70bc);if(!_0x8047ed)return;this[_0x36faf3(0x1a9)](_0x8047ed,!0x0),await this[_0x36faf3(0x19a)][_0x36faf3(0x1c2)](_0x252815['id'],{'unitId':_0x46eb5b[_0x36faf3(0x175)](),'subUnitId':_0x3d70bc});return;}((_0x590f70=_0x46eb5b['getActiveSheet']())==null?void 0x0:_0x590f70[_0x36faf3(0x1fe)]())!==_0x8c975f&&await this[_0x36faf3(0x19a)]['executeCommand'](_0x252815['id'],{'unitId':_0x46eb5b['getUnitId'](),'subUnitId':_0x8c975f});}};Q=V([B(0x0,_0x2c4360),B(0x1,_0x4b26af),B(0x2,_0xa5134(U)),B(0x3,_0xa5134(_0x2709c3)),B(0x4,_0x4f3883),B(0x5,_0xa5134(_0x1f21e2)),B(0x6,_0x5a608e),B(0x7,_0xa5134(_0x23d93a)),B(0x8,_0x2fd3df),B(0x9,_0x5ba956)],Q);let $=class extends _0x51724b{constructor(_0x3a9ae1=L,_0x3e08ea,_0x8b10a2){const _0x56f3ce=_0x5af2cf;super(),this[_0x56f3ce(0x1bc)]=_0x3a9ae1,this[_0x56f3ce(0x15f)]=_0x3e08ea,this[_0x56f3ce(0x1f3)]=_0x8b10a2;let {menu:_0x3006ab,..._0x4a9f22}=_0x266f91({},L,this[_0x56f3ce(0x1bc)]);_0x3006ab&&this[_0x56f3ce(0x1f3)][_0x56f3ce(0x1ba)](_0x56f3ce(0x15e),_0x3006ab,{'merge':!0x0}),this[_0x56f3ce(0x1f3)]['setConfig'](I,_0x4a9f22),this[_0x56f3ce(0x1bc)][_0x56f3ce(0x183)]&&this[_0x56f3ce(0x1f3)][_0x56f3ce(0x1ba)](ct,this['_config'][_0x56f3ce(0x183)]);}[_0x5af2cf(0x1d1)](){const _0x1f972f=_0x5af2cf;this[_0x1f972f(0x15f)]['add']([q]),this[_0x1f972f(0x15f)][_0x1f972f(0x1fd)](q),[[U],[Q]][_0x1f972f(0x1cd)](_0x1693b9=>this[_0x1f972f(0x15f)][_0x1f972f(0x21f)](_0x1693b9));}[_0x5af2cf(0x1be)](){this['_injector']['get'](Q);}};z($,_0x5af2cf(0x1ef),_0x2716bf[_0x5af2cf(0x1e5)]),z($,_0x5af2cf(0x21b),'UNIVER_EDIT_HISTORY_LOADER_PLUGIN'),z($,_0x5af2cf(0x187),K),z($,_0x5af2cf(0x17a),lt),$=V([_0x215b3a(_0xda7ff9),B(0x1,_0xa5134(_0xd18721)),B(0x2,_0x433e3f)],$);export{I as EDIT_HISTORY_LOADER_PLUGIN_CONFIG_KEY,U as HistoryLoaderService,X as MobileHistoryLoaderService,W as ToggleEditHistoryOperation,ct as UNIVER_CONTAINER_ID_KEY,H as UNIVER_HISTORY_CONTAINER_ID,Z as UniverEditHistoryLoaderMobilePlugin,$ as UniverEditHistoryLoaderPlugin};
|
package/lib/locale/ar-SA.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x739c94=_0x2f74;(function(_0xe7e2d6,_0x5d2e19){const _0x4d0092=_0x2f74,_0x195c4c=_0xe7e2d6();while(!![]){try{const _0x2b5978=-parseInt(_0x4d0092(0x1f0))/0x1+-parseInt(_0x4d0092(0x1f2))/0x2*(parseInt(_0x4d0092(0x1ea))/0x3)+-parseInt(_0x4d0092(0x1f3))/0x4*(-parseInt(_0x4d0092(0x1f5))/0x5)+parseInt(_0x4d0092(0x1ee))/0x6+-parseInt(_0x4d0092(0x1e6))/0x7*(parseInt(_0x4d0092(0x1e8))/0x8)+parseInt(_0x4d0092(0x1e7))/0x9+-parseInt(_0x4d0092(0x1ef))/0xa*(-parseInt(_0x4d0092(0x1ec))/0xb);if(_0x2b5978===_0x5d2e19)break;else _0x195c4c['push'](_0x195c4c['shift']());}catch(_0x4d7b27){_0x195c4c['push'](_0x195c4c['shift']());}}}(_0x690d,0x81a77));function _0x690d(){const _0x497066=['11WzbDCe','جارٍ\x20الاستعادة،\x20يرجى\x20الانتظار...','1455354NRfFwR','15498910IQdTNY','358613TxXzVM','سجل\x20التحرير','100404ArrsCE','20RemQIN','فشل\x20في\x20الحصول\x20على\x20قائمة\x20سجل\x20التحرير','351665mWDcXw','6370clwfVn','1029195XRbAor','8944bTxsGv','جارٍ\x20التهيئة،\x20يرجى\x20الانتظار...','21xpVIJK','خطأ\x20غير\x20معروف،\x20يرجى\x20تحديث\x20الصفحة\x20لعرض\x20نتيجة\x20الاستعادة'];_0x690d=function(){return _0x497066;};return _0x690d();}const e={'edit-history-loader':{'panel':{'title':_0x739c94(0x1f1),'reverting':_0x739c94(0x1ed),'revertFailed':_0x739c94(0x1eb),'listFetchError':_0x739c94(0x1f4)},'info':{'initializing':_0x739c94(0x1e9)}}};function _0x2f74(_0x4f8123,_0x4ff936){_0x4f8123=_0x4f8123-0x1e6;const _0x690dea=_0x690d();let _0x2f743d=_0x690dea[_0x4f8123];return _0x2f743d;}export{e as default};
|
package/lib/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x162625=_0x2b04;function _0xff40(){const _0x49668c=['361002kkfXxD','1516322kZgPfG','2378256ZenAOO','Historial\x20d\x27edicions','2909624NDzBMJ','100XCNNFE','165471sqyhMZ','3778722jPBkFW','Restaurant,\x20espereu...','2vIGRzy','2897517gmMXwi','Error\x20desconegut,\x20actualitzeu\x20la\x20pàgina\x20per\x20veure\x20el\x20resultat\x20de\x20la\x20restauració'];_0xff40=function(){return _0x49668c;};return _0xff40();}function _0x2b04(_0x50c5de,_0x67c178){_0x50c5de=_0x50c5de-0xab;const _0xff40ac=_0xff40();let _0x2b043e=_0xff40ac[_0x50c5de];return _0x2b043e;}(function(_0x4d96cb,_0x58fccd){const _0x13aed4=_0x2b04,_0x529318=_0x4d96cb();while(!![]){try{const _0x48f1e2=parseInt(_0x13aed4(0xac))/0x1*(-parseInt(_0x13aed4(0xb4))/0x2)+parseInt(_0x13aed4(0xb1))/0x3+parseInt(_0x13aed4(0xad))/0x4+-parseInt(_0x13aed4(0xb0))/0x5*(-parseInt(_0x13aed4(0xab))/0x6)+parseInt(_0x13aed4(0xb5))/0x7+-parseInt(_0x13aed4(0xaf))/0x8+parseInt(_0x13aed4(0xb2))/0x9;if(_0x48f1e2===_0x58fccd)break;else _0x529318['push'](_0x529318['shift']());}catch(_0x3f58f0){_0x529318['push'](_0x529318['shift']());}}}(_0xff40,0xc4fa9));const e={'edit-history-loader':{'panel':{'title':_0x162625(0xae),'reverting':_0x162625(0xb3),'revertFailed':_0x162625(0xb6),'listFetchError':'No\x20s\x27ha\x20pogut\x20obtenir\x20la\x20llista\x20de\x20l\x27historial'},'info':{'initializing':'Inicialitzant,\x20espereu...'}}};export{e as default};
|
package/lib/locale/de-DE.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x2486(_0x39bb39,_0x5ef74a){_0x39bb39=_0x39bb39-0x1bc;const _0x423f12=_0x423f();let _0x24864f=_0x423f12[_0x39bb39];return _0x24864f;}const _0x12ac38=_0x2486;(function(_0x2f918d,_0x1e777a){const _0x1960b0=_0x2486,_0x3c6504=_0x2f918d();while(!![]){try{const _0x4c9307=-parseInt(_0x1960b0(0x1c6))/0x1*(-parseInt(_0x1960b0(0x1c7))/0x2)+-parseInt(_0x1960b0(0x1c0))/0x3*(parseInt(_0x1960b0(0x1c1))/0x4)+-parseInt(_0x1960b0(0x1c9))/0x5+parseInt(_0x1960b0(0x1be))/0x6*(parseInt(_0x1960b0(0x1c3))/0x7)+-parseInt(_0x1960b0(0x1bf))/0x8*(parseInt(_0x1960b0(0x1bd))/0x9)+-parseInt(_0x1960b0(0x1bc))/0xa+-parseInt(_0x1960b0(0x1c5))/0xb*(-parseInt(_0x1960b0(0x1c4))/0xc);if(_0x4c9307===_0x1e777a)break;else _0x3c6504['push'](_0x3c6504['shift']());}catch(_0x4d1c04){_0x3c6504['push'](_0x3c6504['shift']());}}}(_0x423f,0x52d9c));function _0x423f(){const _0x1051df=['27524TMzKaO','Unbekannter\x20Fehler,\x20bitte\x20aktualisieren\x20Sie\x20die\x20Seite,\x20um\x20das\x20Ergebnis\x20der\x20Wiederherstellung\x20anzuzeigen','84ANNGnB','804012HBGOiD','187LNkHDH','370lKeFUG','1178ctSAPi','Initialisierung\x20läuft,\x20bitte\x20warten...','2936220fsfegF','1402780GtzNQZ','558NkMJcG','288942WEDBZR','70264kvuimR','141EDJtLO'];_0x423f=function(){return _0x1051df;};return _0x423f();}const e={'edit-history-loader':{'panel':{'title':'Bearbeitungsverlauf','reverting':'Wiederherstellung\x20läuft,\x20bitte\x20warten...','revertFailed':_0x12ac38(0x1c2),'listFetchError':'Fehler\x20beim\x20Abrufen\x20der\x20Bearbeitungshistorie'},'info':{'initializing':_0x12ac38(0x1c8)}}};export{e as default};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x527a4e=_0x57d7;function _0x59ac(){const _0x471c4b=['1008189aUfamU','748494PMzHUY','282186kFscaJ','84553RtaXGY','488606hLUkrZ','Reverting,\x20please\x20wait...','8SZQHbp','1OUJRBv','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','2019290PmAUFX','178288CJRucb','10SNRQoX','Initializing,\x20please\x20wait...','Edit\x20History'];_0x59ac=function(){return _0x471c4b;};return _0x59ac();}function _0x57d7(_0x14f1b1,_0x305073){_0x14f1b1=_0x14f1b1-0x82;const _0x59ac09=_0x59ac();let _0x57d774=_0x59ac09[_0x14f1b1];return _0x57d774;}(function(_0x52c087,_0xb1d407){const _0x23392c=_0x57d7,_0x4dfd98=_0x52c087();while(!![]){try{const _0x19d1b5=-parseInt(_0x23392c(0x8a))/0x1*(parseInt(_0x23392c(0x87))/0x2)+parseInt(_0x23392c(0x85))/0x3+-parseInt(_0x23392c(0x8d))/0x4*(-parseInt(_0x23392c(0x8e))/0x5)+-parseInt(_0x23392c(0x84))/0x6+parseInt(_0x23392c(0x86))/0x7*(parseInt(_0x23392c(0x89))/0x8)+parseInt(_0x23392c(0x83))/0x9+parseInt(_0x23392c(0x8c))/0xa;if(_0x19d1b5===_0xb1d407)break;else _0x4dfd98['push'](_0x4dfd98['shift']());}catch(_0x3410be){_0x4dfd98['push'](_0x4dfd98['shift']());}}}(_0x59ac,0x22397));const e={'edit-history-loader':{'panel':{'title':_0x527a4e(0x82),'reverting':_0x527a4e(0x88),'revertFailed':_0x527a4e(0x8b),'listFetchError':'Failed\x20to\x20get\x20edit\x20history\x20list'},'info':{'initializing':_0x527a4e(0x8f)}}};export{e as default};
|
package/lib/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x1d625c=_0x1c8a;function _0x200a(){const _0x45e2b5=['1702660HOSzSm','9ErDXpo','748542sudtkA','Inicializando,\x20espere...','240256ijbLfi','Historial\x20de\x20ediciones','848400IudVzC','Restaurando,\x20espere...','1091104AnHDMF','1668120GaEwfv','2QOqVWN','96712YGClkO','Error\x20desconocido,\x20actualice\x20la\x20página\x20para\x20ver\x20el\x20resultado\x20de\x20la\x20restauración'];_0x200a=function(){return _0x45e2b5;};return _0x200a();}(function(_0x2741c0,_0x59fe65){const _0x371730=_0x1c8a,_0x109e86=_0x2741c0();while(!![]){try{const _0x287b23=parseInt(_0x371730(0x105))/0x1+-parseInt(_0x371730(0xfe))/0x2*(-parseInt(_0x371730(0x103))/0x3)+parseInt(_0x371730(0x107))/0x4+-parseInt(_0x371730(0x101))/0x5+-parseInt(_0x371730(0xfd))/0x6+parseInt(_0x371730(0x109))/0x7+-parseInt(_0x371730(0xff))/0x8*(-parseInt(_0x371730(0x102))/0x9);if(_0x287b23===_0x59fe65)break;else _0x109e86['push'](_0x109e86['shift']());}catch(_0x4bfbab){_0x109e86['push'](_0x109e86['shift']());}}}(_0x200a,0x3d58f));const e={'edit-history-loader':{'panel':{'title':_0x1d625c(0x106),'reverting':_0x1d625c(0x108),'revertFailed':_0x1d625c(0x100),'listFetchError':'No\x20se\x20pudo\x20obtener\x20la\x20lista\x20del\x20historial\x20de\x20ediciones'},'info':{'initializing':_0x1d625c(0x104)}}};function _0x1c8a(_0x48d237,_0x5ca1a1){_0x48d237=_0x48d237-0xfd;const _0x200a5a=_0x200a();let _0x1c8a6d=_0x200a5a[_0x48d237];return _0x1c8a6d;}export{e as default};
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x155f64=_0x502f;(function(_0x27f3ca,_0x18ed4d){const _0x2fa27b=_0x502f,_0x541f23=_0x27f3ca();while(!![]){try{const _0x238cb0=parseInt(_0x2fa27b(0x115))/0x1+parseInt(_0x2fa27b(0x10f))/0x2+-parseInt(_0x2fa27b(0x112))/0x3+parseInt(_0x2fa27b(0x10e))/0x4+-parseInt(_0x2fa27b(0x10d))/0x5+-parseInt(_0x2fa27b(0x111))/0x6*(-parseInt(_0x2fa27b(0x10a))/0x7)+-parseInt(_0x2fa27b(0x10c))/0x8;if(_0x238cb0===_0x18ed4d)break;else _0x541f23['push'](_0x541f23['shift']());}catch(_0x466c85){_0x541f23['push'](_0x541f23['shift']());}}}(_0x2ad9,0x9464f));function _0x2ad9(){const _0x4cccaf=['خطای\x20ناشناخته،\x20لطفا\x20صفحه\x20را\x20بارگذاری\x20مجدد\x20کنید\x20تا\x20نتیجه\x20بازگردانی\x20را\x20مشاهده\x20کنید','426558LMNOUz','781571vcoLRh','در\x20حال\x20بازگردانی،\x20لطفا\x20صبر\x20کنید...','8187352jkXXWa','159525KBdaUr','4031536AnaDhS','1478714FWxBdD','دریافت\x20لیست\x20تاریخچه\x20ویرایش\x20ناموفق\x20بود','36ZfNQnF','3541710GYYoLX','تاریخچه\x20ویرایش'];_0x2ad9=function(){return _0x4cccaf;};return _0x2ad9();}function _0x502f(_0x24560d,_0x1fb786){_0x24560d=_0x24560d-0x10a;const _0x2ad904=_0x2ad9();let _0x502f4f=_0x2ad904[_0x24560d];return _0x502f4f;}const e={'edit-history-loader':{'panel':{'title':_0x155f64(0x113),'reverting':_0x155f64(0x10b),'revertFailed':_0x155f64(0x114),'listFetchError':_0x155f64(0x110)},'info':{'initializing':'در\x20حال\x20راهاندازی،\x20لطفا\x20صبر\x20کنید...'}}};export{e as default};
|
package/lib/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x194ce9=_0x23f6;(function(_0x1242b2,_0x32cfbd){const _0xf9c41d=_0x23f6,_0x11a637=_0x1242b2();while(!![]){try{const _0x2110b0=-parseInt(_0xf9c41d(0x11d))/0x1*(parseInt(_0xf9c41d(0x119))/0x2)+-parseInt(_0xf9c41d(0x11b))/0x3+-parseInt(_0xf9c41d(0x113))/0x4*(-parseInt(_0xf9c41d(0x118))/0x5)+-parseInt(_0xf9c41d(0x116))/0x6*(-parseInt(_0xf9c41d(0x11a))/0x7)+parseInt(_0xf9c41d(0x11c))/0x8*(parseInt(_0xf9c41d(0x117))/0x9)+-parseInt(_0xf9c41d(0x111))/0xa+parseInt(_0xf9c41d(0x115))/0xb;if(_0x2110b0===_0x32cfbd)break;else _0x11a637['push'](_0x11a637['shift']());}catch(_0x1c55c8){_0x11a637['push'](_0x11a637['shift']());}}}(_0x288f,0x3d562));const e={'edit-history-loader':{'panel':{'title':_0x194ce9(0x114),'reverting':_0x194ce9(0x112),'revertFailed':'Erreur\x20inconnue,\x20veuillez\x20actualiser\x20la\x20page\x20pour\x20voir\x20le\x20résultat\x20de\x20la\x20restauration','listFetchError':'Échec\x20de\x20l\x27obtention\x20de\x20la\x20liste\x20de\x20l\x27historique'},'info':{'initializing':'Initialisation\x20en\x20cours,\x20veuillez\x20patienter...'}}};export{e as default};function _0x23f6(_0x1c419f,_0x2bcfa3){_0x1c419f=_0x1c419f-0x111;const _0x288fa4=_0x288f();let _0x23f615=_0x288fa4[_0x1c419f];return _0x23f615;}function _0x288f(){const _0x2a3347=['4SSLQhY','Historique\x20des\x20modifications','1661539XIsbHR','42nJoVbr','9bGgZKI','1895295XFvlaF','51572QyjOrv','254506GvgXNu','184398CyZnCp','2315552nWAHuy','17ISHwFG','3229960uMggZW','Restauration\x20en\x20cours,\x20veuillez\x20patienter...'];_0x288f=function(){return _0x2a3347;};return _0x288f();}
|
package/lib/locale/id-ID.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x3b2073=_0x19e2;(function(_0x48450f,_0x58c2b6){const _0xd7d4e1=_0x19e2,_0x1096ea=_0x48450f();while(!![]){try{const _0x491a38=parseInt(_0xd7d4e1(0x9d))/0x1*(parseInt(_0xd7d4e1(0x99))/0x2)+parseInt(_0xd7d4e1(0x91))/0x3*(-parseInt(_0xd7d4e1(0x9b))/0x4)+parseInt(_0xd7d4e1(0x98))/0x5*(-parseInt(_0xd7d4e1(0x96))/0x6)+-parseInt(_0xd7d4e1(0x9a))/0x7*(-parseInt(_0xd7d4e1(0x93))/0x8)+-parseInt(_0xd7d4e1(0x8e))/0x9+parseInt(_0xd7d4e1(0x90))/0xa*(parseInt(_0xd7d4e1(0x9c))/0xb)+-parseInt(_0xd7d4e1(0x95))/0xc*(parseInt(_0xd7d4e1(0x97))/0xd);if(_0x491a38===_0x58c2b6)break;else _0x1096ea['push'](_0x1096ea['shift']());}catch(_0x4abf95){_0x1096ea['push'](_0x1096ea['shift']());}}}(_0x2117,0x561b0));const e={'edit-history-loader':{'panel':{'title':_0x3b2073(0x9e),'reverting':_0x3b2073(0x94),'revertFailed':'Kesalahan\x20tidak\x20diketahui,\x20harap\x20segarkan\x20halaman\x20untuk\x20melihat\x20hasil\x20pengembalian','listFetchError':_0x3b2073(0x8f)},'info':{'initializing':_0x3b2073(0x92)}}};function _0x19e2(_0x52e009,_0x5b0c77){_0x52e009=_0x52e009-0x8e;const _0x2117ff=_0x2117();let _0x19e2e9=_0x2117ff[_0x52e009];return _0x19e2e9;}export{e as default};function _0x2117(){const _0x2294e0=['124hJBymi','11MMQelM','866kFokqM','Riwayat\x20Edit','4294611YMEcLb','Gagal\x20mendapatkan\x20daftar\x20riwayat\x20edit','4209190tkCswc','31374UTsZig','Menginisialisasi,\x20harap\x20tunggu...','4176888ZWgCfV','Mengembalikan,\x20harap\x20tunggu...','292212IuBJnD','12UBpnIO','39IDXtRq','558470RrKdiE','1172CFirqo','7GMReNw'];_0x2117=function(){return _0x2294e0;};return _0x2117();}
|
package/lib/locale/it-IT.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x128ba3=_0x3663;function _0x3663(_0x293d52,_0xa91924){_0x293d52=_0x293d52-0xc6;const _0x2c547d=_0x2c54();let _0x3663ce=_0x2c547d[_0x293d52];return _0x3663ce;}(function(_0x49405d,_0x261d0a){const _0x2df6b7=_0x3663,_0x513d77=_0x49405d();while(!![]){try{const _0x169996=-parseInt(_0x2df6b7(0xce))/0x1*(-parseInt(_0x2df6b7(0xc9))/0x2)+-parseInt(_0x2df6b7(0xc8))/0x3+-parseInt(_0x2df6b7(0xca))/0x4*(parseInt(_0x2df6b7(0xcf))/0x5)+parseInt(_0x2df6b7(0xc7))/0x6+parseInt(_0x2df6b7(0xcb))/0x7*(parseInt(_0x2df6b7(0xd3))/0x8)+parseInt(_0x2df6b7(0xcc))/0x9*(parseInt(_0x2df6b7(0xd0))/0xa)+-parseInt(_0x2df6b7(0xd1))/0xb*(-parseInt(_0x2df6b7(0xcd))/0xc);if(_0x169996===_0x261d0a)break;else _0x513d77['push'](_0x513d77['shift']());}catch(_0xf5b59d){_0x513d77['push'](_0x513d77['shift']());}}}(_0x2c54,0x723ac));function _0x2c54(){const _0x4b7114=['213562RGrLTK','652rHdxkY','3118003COaQhN','34947HQGIxB','12QJrals','1PnFiNa','21305yJBKkh','610viPqWp','5502871akGfvf','Ripristino\x20in\x20corso,\x20attendi...','16nWpExd','Inizializzazione\x20in\x20corso,\x20attendi...','1604970pQvjmE','2519493UCrnzl'];_0x2c54=function(){return _0x4b7114;};return _0x2c54();}const e={'edit-history-loader':{'panel':{'title':'Cronologia\x20modifiche','reverting':_0x128ba3(0xd2),'revertFailed':'Errore\x20sconosciuto,\x20aggiorna\x20la\x20pagina\x20per\x20visualizzare\x20il\x20risultato\x20del\x20ripristino','listFetchError':'Impossibile\x20ottenere\x20l\x27elenco\x20della\x20cronologia\x20modifiche'},'info':{'initializing':_0x128ba3(0xc6)}}};export{e as default};
|
package/lib/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x130c3c=_0x3159;(function(_0x2b05f2,_0x7bb9cd){const _0x1fb627=_0x3159,_0xb81438=_0x2b05f2();while(!![]){try{const _0x5efb65=parseInt(_0x1fb627(0x1a2))/0x1+parseInt(_0x1fb627(0x19e))/0x2+parseInt(_0x1fb627(0x1a3))/0x3*(-parseInt(_0x1fb627(0x1a8))/0x4)+-parseInt(_0x1fb627(0x1a9))/0x5+parseInt(_0x1fb627(0x1a5))/0x6*(parseInt(_0x1fb627(0x1ab))/0x7)+-parseInt(_0x1fb627(0x1a7))/0x8+parseInt(_0x1fb627(0x1a4))/0x9*(-parseInt(_0x1fb627(0x1a1))/0xa);if(_0x5efb65===_0x7bb9cd)break;else _0xb81438['push'](_0xb81438['shift']());}catch(_0x22a6c6){_0xb81438['push'](_0xb81438['shift']());}}}(_0xb078,0xe9474));function _0x3159(_0x988f23,_0x1944b5){_0x988f23=_0x988f23-0x19e;const _0xb07896=_0xb078();let _0x3159de=_0xb07896[_0x988f23];return _0x3159de;}const e={'edit-history-loader':{'panel':{'title':_0x130c3c(0x1a0),'reverting':_0x130c3c(0x1a6),'revertFailed':_0x130c3c(0x1aa),'listFetchError':_0x130c3c(0x19f)},'info':{'initializing':'初期化中です。お待ちください...'}}};export{e as default};function _0xb078(){const _0x1eb113=['3465959SWmmcW','3821732OFPcuq','編集履歴リストの取得に失敗しました','編集履歴','6640iagBLv','536778LzfklQ','159GLzdjM','5940DDdsOY','12PPZUuQ','復元中です。お待ちください...','9725200yqtMam','33100oJpWxV','1949725oJSxUZ','不明なエラーが発生しました。ページを更新して復元結果を確認してください'];_0xb078=function(){return _0x1eb113;};return _0xb078();}
|
package/lib/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x489d56=_0x4171;(function(_0x138914,_0x3838b3){const _0x40d7ca=_0x4171,_0x5666b5=_0x138914();while(!![]){try{const _0x29bbb7=-parseInt(_0x40d7ca(0x130))/0x1+-parseInt(_0x40d7ca(0x127))/0x2*(parseInt(_0x40d7ca(0x12b))/0x3)+-parseInt(_0x40d7ca(0x126))/0x4*(parseInt(_0x40d7ca(0x132))/0x5)+parseInt(_0x40d7ca(0x136))/0x6+-parseInt(_0x40d7ca(0x12e))/0x7*(parseInt(_0x40d7ca(0x12c))/0x8)+parseInt(_0x40d7ca(0x12f))/0x9*(-parseInt(_0x40d7ca(0x12a))/0xa)+-parseInt(_0x40d7ca(0x133))/0xb*(-parseInt(_0x40d7ca(0x12d))/0xc);if(_0x29bbb7===_0x3838b3)break;else _0x5666b5['push'](_0x5666b5['shift']());}catch(_0x4119e4){_0x5666b5['push'](_0x5666b5['shift']());}}}(_0x1b4a,0x3c4ab));function _0x1b4a(){const _0x3a9a9d=['1127792laUSea','552exHIuy','7tRAdhT','207eOPrSK','162296UMKaSi','초기화\x20중입니다.\x20잠시만\x20기다려\x20주세요...','583095vCaplH','143726QflRvg','복원\x20중입니다.\x20잠시만\x20기다려\x20주세요...','알\x20수\x20없는\x20오류가\x20발생했습니다.\x20페이지를\x20새로\x20고침하여\x20복원\x20결과를\x20확인하세요','2750736AYeSYO','4EtFFaN','227894CtYaAm','편집\x20기록\x20목록을\x20가져오지\x20못했습니다','편집\x20기록','22090zzcAew','9WKaoXJ'];_0x1b4a=function(){return _0x3a9a9d;};return _0x1b4a();}function _0x4171(_0x26e4dc,_0xefdcbe){_0x26e4dc=_0x26e4dc-0x126;const _0x1b4afa=_0x1b4a();let _0x417148=_0x1b4afa[_0x26e4dc];return _0x417148;}const e={'edit-history-loader':{'panel':{'title':_0x489d56(0x129),'reverting':_0x489d56(0x134),'revertFailed':_0x489d56(0x135),'listFetchError':_0x489d56(0x128)},'info':{'initializing':_0x489d56(0x131)}}};export{e as default};
|
package/lib/locale/pl-PL.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x24c924=_0x3942;function _0x3942(_0x293a4c,_0x43f6db){_0x293a4c=_0x293a4c-0x1e9;const _0x313352=_0x3133();let _0x3942d0=_0x313352[_0x293a4c];return _0x3942d0;}(function(_0x4b0271,_0x319ff8){const _0x164e70=_0x3942,_0x134bb9=_0x4b0271();while(!![]){try{const _0x49243e=-parseInt(_0x164e70(0x1eb))/0x1+parseInt(_0x164e70(0x1ef))/0x2*(parseInt(_0x164e70(0x1f4))/0x3)+parseInt(_0x164e70(0x1ec))/0x4+-parseInt(_0x164e70(0x1f3))/0x5+-parseInt(_0x164e70(0x1ed))/0x6*(parseInt(_0x164e70(0x1ea))/0x7)+-parseInt(_0x164e70(0x1ee))/0x8+parseInt(_0x164e70(0x1e9))/0x9*(parseInt(_0x164e70(0x1f0))/0xa);if(_0x49243e===_0x319ff8)break;else _0x134bb9['push'](_0x134bb9['shift']());}catch(_0x576c16){_0x134bb9['push'](_0x134bb9['shift']());}}}(_0x3133,0xa9d6e));const e={'edit-history-loader':{'panel':{'title':_0x24c924(0x1f1),'reverting':_0x24c924(0x1f6),'revertFailed':_0x24c924(0x1f2),'listFetchError':'Nie\x20udało\x20się\x20pobrać\x20listy\x20historii\x20edycji'},'info':{'initializing':_0x24c924(0x1f5)}}};export{e as default};function _0x3133(){const _0x27b12e=['214938cCUmLk','2699680HIthsI','58204RveGYl','10piJiYe','Historia\x20edycji','Nieznany\x20błąd,\x20odśwież\x20stronę,\x20aby\x20zobaczyć\x20wynik\x20przywracania','2591305nBmGbK','120tKOTpK','Inicjalizowanie,\x20proszę\x20czekać...','Przywracanie,\x20proszę\x20czekać...','1288692FLKtyu','14mQYFVp','997823JTzPQq','5254336sjuRNh'];_0x3133=function(){return _0x27b12e;};return _0x3133();}
|
package/lib/locale/pt-BR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x1329(_0x13a2d6,_0x443d52){_0x13a2d6=_0x13a2d6-0x1e5;const _0x803539=_0x8035();let _0x132994=_0x803539[_0x13a2d6];return _0x132994;}const _0x1399ee=_0x1329;(function(_0x465731,_0x513a8f){const _0x3d5682=_0x1329,_0x3b222c=_0x465731();while(!![]){try{const _0x506268=-parseInt(_0x3d5682(0x1e6))/0x1*(parseInt(_0x3d5682(0x1f0))/0x2)+-parseInt(_0x3d5682(0x1e9))/0x3+-parseInt(_0x3d5682(0x1ee))/0x4+parseInt(_0x3d5682(0x1eb))/0x5+-parseInt(_0x3d5682(0x1e5))/0x6+-parseInt(_0x3d5682(0x1e8))/0x7+parseInt(_0x3d5682(0x1ed))/0x8;if(_0x506268===_0x513a8f)break;else _0x3b222c['push'](_0x3b222c['shift']());}catch(_0x5ed294){_0x3b222c['push'](_0x3b222c['shift']());}}}(_0x8035,0x24f15));const e={'edit-history-loader':{'panel':{'title':_0x1399ee(0x1ec),'reverting':_0x1399ee(0x1e7),'revertFailed':_0x1399ee(0x1ef),'listFetchError':_0x1399ee(0x1f1)},'info':{'initializing':_0x1399ee(0x1ea)}}};function _0x8035(){const _0x20d996=['997324UtRkEO','Erro\x20desconhecido,\x20atualize\x20a\x20página\x20para\x20ver\x20o\x20resultado\x20da\x20reversão','2oaDVPd','Falha\x20ao\x20obter\x20a\x20lista\x20de\x20histórico\x20de\x20edição','667734rdeKBQ','159293FoTpDB','Revertendo,\x20aguarde...','1739801kwTaMH','405942TWEuvi','Inicializando,\x20aguarde...','1212290xrOYBw','Histórico\x20de\x20Edição','6501032AZkjPX'];_0x8035=function(){return _0x20d996;};return _0x8035();}export{e as default};
|
package/lib/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x1439(){const _0x5e8703=['162naOVgs','131136KzvsnT','1538453EzHZAR','264JRUatd','232875XCRFvr','6LtPcLq','22860vLUDHP','22VgMAvo','65810eoWGsN','История\x20изменений','15819nMHKOF','Инициализация,\x20подождите...','1321500uUKFPB','Неизвестная\x20ошибка,\x20обновите\x20страницу\x20для\x20просмотра\x20результата\x20восстановления','Не\x20удалось\x20получить\x20список\x20истории\x20изменений','14pPygNg'];_0x1439=function(){return _0x5e8703;};return _0x1439();}function _0x120a(_0x5ab4ab,_0x1b9617){_0x5ab4ab=_0x5ab4ab-0x1ab;const _0x14395d=_0x1439();let _0x120a20=_0x14395d[_0x5ab4ab];return _0x120a20;}const _0x438486=_0x120a;(function(_0x2f7e22,_0x540a1a){const _0x5946c0=_0x120a,_0x31662a=_0x2f7e22();while(!![]){try{const _0x119362=parseInt(_0x5946c0(0x1ae))/0x1*(-parseInt(_0x5946c0(0x1b3))/0x2)+parseInt(_0x5946c0(0x1b8))/0x3+-parseInt(_0x5946c0(0x1b7))/0x4*(-parseInt(_0x5946c0(0x1ba))/0x5)+parseInt(_0x5946c0(0x1b9))/0x6*(parseInt(_0x5946c0(0x1b6))/0x7)+parseInt(_0x5946c0(0x1b5))/0x8+parseInt(_0x5946c0(0x1b4))/0x9*(-parseInt(_0x5946c0(0x1ac))/0xa)+-parseInt(_0x5946c0(0x1ab))/0xb*(parseInt(_0x5946c0(0x1b0))/0xc);if(_0x119362===_0x540a1a)break;else _0x31662a['push'](_0x31662a['shift']());}catch(_0x57111f){_0x31662a['push'](_0x31662a['shift']());}}}(_0x1439,0x288db));const e={'edit-history-loader':{'panel':{'title':_0x438486(0x1ad),'reverting':'Восстановление,\x20подождите...','revertFailed':_0x438486(0x1b1),'listFetchError':_0x438486(0x1b2)},'info':{'initializing':_0x438486(0x1af)}}};export{e as default};
|
package/lib/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x3c03fa=_0x50b2;function _0x856c(){const _0x529930=['2044250eZIwPq','45482IiIAYq','405PkGTGN','35IeYUWQ','3ZwdkJm','301831JUoPwp','Inicializace,\x20prosím\x20počkejte...','955756AMSYKv','Obnovuje\x20sa,\x20prosím\x20počkajte...','12871210EBhnwz','82362ApOVHf','Nepodarilo\x20sa\x20získať\x20zoznam\x20histórie\x20úprav','90144GnOFMz'];_0x856c=function(){return _0x529930;};return _0x856c();}(function(_0x7de5d9,_0x41cd9b){const _0x410d40=_0x50b2,_0x29681a=_0x7de5d9();while(!![]){try{const _0x5b520c=parseInt(_0x410d40(0xc3))/0x1+parseInt(_0x410d40(0xbf))/0x2*(parseInt(_0x410d40(0xc2))/0x3)+parseInt(_0x410d40(0xc5))/0x4+parseInt(_0x410d40(0xbe))/0x5+parseInt(_0x410d40(0xc8))/0x6*(parseInt(_0x410d40(0xc1))/0x7)+-parseInt(_0x410d40(0xca))/0x8*(-parseInt(_0x410d40(0xc0))/0x9)+-parseInt(_0x410d40(0xc7))/0xa;if(_0x5b520c===_0x41cd9b)break;else _0x29681a['push'](_0x29681a['shift']());}catch(_0xe01a66){_0x29681a['push'](_0x29681a['shift']());}}}(_0x856c,0x3fb47));const e={'edit-history-loader':{'panel':{'title':'História\x20úprav','reverting':_0x3c03fa(0xc6),'revertFailed':'Neznáma\x20chyba,\x20obnovte\x20stránku\x20a\x20pozrite\x20si\x20výsledok\x20obnovenia','listFetchError':_0x3c03fa(0xc9)},'info':{'initializing':_0x3c03fa(0xc4)}}};function _0x50b2(_0x202c5f,_0x13db7a){_0x202c5f=_0x202c5f-0xbe;const _0x856cc5=_0x856c();let _0x50b28c=_0x856cc5[_0x202c5f];return _0x50b28c;}export{e as default};
|
package/lib/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0xe27d(){const _0x3eaf3c=['Không\x20thể\x20lấy\x20danh\x20sách\x20lịch\x20sử\x20chỉnh\x20sửa','448lwGWzU','743298laZjbJ','1115823Yedzrc','Lỗi\x20không\x20xác\x20định,\x20vui\x20lòng\x20làm\x20mới\x20trang\x20để\x20xem\x20kết\x20quả\x20khôi\x20phục','đang\x20khởi\x20tạo,\x20vui\x20lòng\x20đợi...','12928fJDcHi','2049088RWURVA','266848gfnsXK','172278ficdzi','Đang\x20khôi\x20phục,\x20vui\x20lòng\x20đợi...','1463830jVZIfU'];_0xe27d=function(){return _0x3eaf3c;};return _0xe27d();}const _0x1da2a6=_0x566a;(function(_0x2d576f,_0x3c93a2){const _0x2ced98=_0x566a,_0x201276=_0x2d576f();while(!![]){try{const _0x4d35c3=parseInt(_0x2ced98(0x84))/0x1+parseInt(_0x2ced98(0x8a))/0x2+parseInt(_0x2ced98(0x7f))/0x3+-parseInt(_0x2ced98(0x83))/0x4+-parseInt(_0x2ced98(0x87))/0x5+-parseInt(_0x2ced98(0x85))/0x6+parseInt(_0x2ced98(0x89))/0x7*(parseInt(_0x2ced98(0x82))/0x8);if(_0x4d35c3===_0x3c93a2)break;else _0x201276['push'](_0x201276['shift']());}catch(_0x9ca9f2){_0x201276['push'](_0x201276['shift']());}}}(_0xe27d,0x4462f));function _0x566a(_0xc4d3ff,_0x571796){_0xc4d3ff=_0xc4d3ff-0x7f;const _0xe27d28=_0xe27d();let _0x566a02=_0xe27d28[_0xc4d3ff];return _0x566a02;}const e={'edit-history-loader':{'panel':{'title':'Lịch\x20sử\x20chỉnh\x20sửa','reverting':_0x1da2a6(0x86),'revertFailed':_0x1da2a6(0x80),'listFetchError':_0x1da2a6(0x88)},'info':{'initializing':_0x1da2a6(0x81)}}};export{e as default};
|
package/lib/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x268f79=_0x2d90;(function(_0x36db5d,_0x2a9b97){const _0x388d15=_0x2d90,_0x5e6a88=_0x36db5d();while(!![]){try{const _0x447bce=-parseInt(_0x388d15(0xd8))/0x1*(-parseInt(_0x388d15(0xdb))/0x2)+parseInt(_0x388d15(0xda))/0x3*(parseInt(_0x388d15(0xd5))/0x4)+parseInt(_0x388d15(0xd0))/0x5+parseInt(_0x388d15(0xd2))/0x6+-parseInt(_0x388d15(0xd4))/0x7+-parseInt(_0x388d15(0xd1))/0x8+-parseInt(_0x388d15(0xd6))/0x9;if(_0x447bce===_0x2a9b97)break;else _0x5e6a88['push'](_0x5e6a88['shift']());}catch(_0x41d7c8){_0x5e6a88['push'](_0x5e6a88['shift']());}}}(_0x1b0c,0xe304a));const e={'edit-history-loader':{'panel':{'title':_0x268f79(0xd9),'reverting':_0x268f79(0xd3),'revertFailed':'未知错误,请刷新页面查看还原结果','listFetchError':_0x268f79(0xcf)},'info':{'initializing':_0x268f79(0xd7)}}};export{e as default};function _0x2d90(_0x5df367,_0x44882e){_0x5df367=_0x5df367-0xcf;const _0x1b0c3f=_0x1b0c();let _0x2d9011=_0x1b0c3f[_0x5df367];return _0x2d9011;}function _0x1b0c(){const _0x4975e0=['62617CtOwGQ','历史记录','3813QAfIfC','34KqPFMw','获取编辑历史记录列表失败','2168450LWRSEB','4885192jeuzRW','6660822VJitJN','正在还原,请稍等...','5556089fJLBzx','3428IkuYOm','12269889VachvH','初始化中,请稍等...'];_0x1b0c=function(){return _0x4975e0;};return _0x1b0c();}
|
package/lib/locale/zh-HK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x428e(){const _0x383330=['初始化中,請稍候...','編輯歷程','6145EmtQOI','619848GMJxMz','1596312zKNHbe','560230jXiRRy','11rpHZtl','發生未知錯誤,請重新整理頁面查看還原結果','6SdEAjd','正在還原,請稍候...','2361970JuBIFv','433685guEcty','222BsuYTK','4SwfBKp','2041059RlrwXl'];_0x428e=function(){return _0x383330;};return _0x428e();}function _0x49a4(_0x5cb51d,_0x290c9a){_0x5cb51d=_0x5cb51d-0x14d;const _0x428e08=_0x428e();let _0x49a4ad=_0x428e08[_0x5cb51d];return _0x49a4ad;}const _0x3294a4=_0x49a4;(function(_0x19150f,_0xe7b0b0){const _0x362f70=_0x49a4,_0x45b6b6=_0x19150f();while(!![]){try{const _0x24fb40=-parseInt(_0x362f70(0x15b))/0x1*(-parseInt(_0x362f70(0x156))/0x2)+parseInt(_0x362f70(0x158))/0x3*(-parseInt(_0x362f70(0x157))/0x4)+parseInt(_0x362f70(0x14f))/0x5+parseInt(_0x362f70(0x152))/0x6*(-parseInt(_0x362f70(0x155))/0x7)+-parseInt(_0x362f70(0x14d))/0x8+parseInt(_0x362f70(0x14e))/0x9+-parseInt(_0x362f70(0x154))/0xa*(-parseInt(_0x362f70(0x150))/0xb);if(_0x24fb40===_0xe7b0b0)break;else _0x45b6b6['push'](_0x45b6b6['shift']());}catch(_0xcce2b7){_0x45b6b6['push'](_0x45b6b6['shift']());}}}(_0x428e,0x5eb4d));const e={'edit-history-loader':{'panel':{'title':_0x3294a4(0x15a),'reverting':_0x3294a4(0x153),'revertFailed':_0x3294a4(0x151),'listFetchError':'無法取得編輯歷程列表'},'info':{'initializing':_0x3294a4(0x159)}}};export{e as default};
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x1a094c=_0x9bc7;function _0x5746(){const _0x3961d3=['110459pIGLqe','77230amjUZp','1866IPZtrM','2LqYoSR','無法取得編輯歷程列表','6629sGebDP','1358452VLPtmq','903684ekXEwJ','297984VDjzpm','1096650ZtNwXq','531UPagbz','正在還原,請稍候...','初始化中,請稍候...'];_0x5746=function(){return _0x3961d3;};return _0x5746();}function _0x9bc7(_0x304414,_0x49ff7e){_0x304414=_0x304414-0x1cd;const _0x57465f=_0x5746();let _0x9bc786=_0x57465f[_0x304414];return _0x9bc786;}(function(_0x10d28e,_0x20ce84){const _0x20b7e2=_0x9bc7,_0xdba7b8=_0x10d28e();while(!![]){try{const _0x3dd492=parseInt(_0x20b7e2(0x1d7))/0x1*(parseInt(_0x20b7e2(0x1cd))/0x2)+parseInt(_0x20b7e2(0x1d1))/0x3+parseInt(_0x20b7e2(0x1d0))/0x4+parseInt(_0x20b7e2(0x1d3))/0x5+-parseInt(_0x20b7e2(0x1d9))/0x6*(parseInt(_0x20b7e2(0x1cf))/0x7)+-parseInt(_0x20b7e2(0x1d2))/0x8+-parseInt(_0x20b7e2(0x1d4))/0x9*(parseInt(_0x20b7e2(0x1d8))/0xa);if(_0x3dd492===_0x20ce84)break;else _0xdba7b8['push'](_0xdba7b8['shift']());}catch(_0x1b890e){_0xdba7b8['push'](_0xdba7b8['shift']());}}}(_0x5746,0x2cba8));const e={'edit-history-loader':{'panel':{'title':'編輯歷程','reverting':_0x1a094c(0x1d5),'revertFailed':'發生未知錯誤,請重新整理頁面查看還原結果','listFetchError':_0x1a094c(0x1ce)},'info':{'initializing':_0x1a094c(0x1d6)}}};export{e as default};
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { CollaborationController, DataLoaderService, ILocalCacheService } from '@univerjs-pro/collaboration-client';
|
|
2
2
|
import { IURLService } from '@univerjs-pro/collaboration-client-ui';
|
|
3
3
|
import { ICommandService, IUniverInstanceService, LocaleService, RxDisposable } from '@univerjs/core';
|
|
4
|
-
import {
|
|
4
|
+
import { IMenuManagerService, IMessageService } from '@univerjs/ui';
|
|
5
5
|
import { HistoryLoaderService } from '../services/history-loader.service';
|
|
6
6
|
export declare class HistoryLoaderController extends RxDisposable {
|
|
7
7
|
private readonly _commandService;
|
|
8
8
|
protected readonly _menuManagerService: IMenuManagerService;
|
|
9
|
-
private readonly _componentManager;
|
|
10
9
|
private readonly _historyManagerService;
|
|
11
10
|
private readonly _localeService;
|
|
12
11
|
private readonly _messageService;
|
|
@@ -16,7 +15,7 @@ export declare class HistoryLoaderController extends RxDisposable {
|
|
|
16
15
|
private readonly _univerInstanceService;
|
|
17
16
|
private readonly _urlService;
|
|
18
17
|
private _revertErrorTimer;
|
|
19
|
-
constructor(_commandService: ICommandService, _menuManagerService: IMenuManagerService,
|
|
18
|
+
constructor(_commandService: ICommandService, _menuManagerService: IMenuManagerService, _historyManagerService: HistoryLoaderService, _localeService: LocaleService, _messageService: IMessageService, _collaborationController: CollaborationController, _localCacheService: ILocalCacheService, _dataLoaderService: DataLoaderService, _univerInstanceService: IUniverInstanceService, _urlService: IURLService);
|
|
20
19
|
private _init;
|
|
21
20
|
private _handleRevertAcknowledgement;
|
|
22
21
|
private _setupSubUnitSync;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import type { IAccessor } from '@univerjs/core';
|
|
2
2
|
import type { IMenuItem } from '@univerjs/ui';
|
|
3
|
-
|
|
3
|
+
import type { LocaleKey } from '../locale/types';
|
|
4
|
+
export declare function ToggleEditHistoryMenuFactory(accessor: IAccessor): IMenuItem<LocaleKey>;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { CollaborationController, DataLoaderService, ILocalCacheService } from '@univerjs-pro/collaboration-client';
|
|
2
2
|
import { IURLService } from '@univerjs-pro/collaboration-client-ui';
|
|
3
3
|
import { ICommandService, IUniverInstanceService, LocaleService, RxDisposable } from '@univerjs/core';
|
|
4
|
-
import {
|
|
4
|
+
import { IMenuManagerService, IMessageService } from '@univerjs/ui';
|
|
5
5
|
import { HistoryLoaderService } from '../services/history-loader.service';
|
|
6
6
|
export declare class MobileHistoryLoaderController extends RxDisposable {
|
|
7
7
|
private readonly _commandService;
|
|
8
8
|
protected readonly _menuManagerService: IMenuManagerService;
|
|
9
|
-
private readonly _componentManager;
|
|
10
9
|
private readonly _historyManagerService;
|
|
11
10
|
private readonly _localeService;
|
|
12
11
|
private readonly _messageService;
|
|
@@ -16,7 +15,7 @@ export declare class MobileHistoryLoaderController extends RxDisposable {
|
|
|
16
15
|
private readonly _univerInstanceService;
|
|
17
16
|
private readonly _urlService;
|
|
18
17
|
private _revertErrorTimer;
|
|
19
|
-
constructor(_commandService: ICommandService, _menuManagerService: IMenuManagerService,
|
|
18
|
+
constructor(_commandService: ICommandService, _menuManagerService: IMenuManagerService, _historyManagerService: HistoryLoaderService, _localeService: LocaleService, _messageService: IMessageService, _collaborationController: CollaborationController, _localCacheService: ILocalCacheService, _dataLoaderService: DataLoaderService, _univerInstanceService: IUniverInstanceService, _urlService: IURLService);
|
|
20
19
|
private _init;
|
|
21
20
|
private _handleRevertAcknowledgement;
|
|
22
21
|
private _setupSubUnitSync;
|