@univerjs-pro/edit-history-loader 1.0.0-alpha.0 → 1.0.0-alpha.2
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/services/history-locale.d.ts +5 -0
- 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 +43 -43
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x2c98c3=_0x1ee9;(function(_0x11c65c,_0x53f4b4){const _0x519682=_0x1ee9,_0x2f876f=_0x11c65c();while(!![]){try{const _0x2b4a50=parseInt(_0x519682(0x244))/0x1*(-parseInt(_0x519682(0x224))/0x2)+-parseInt(_0x519682(0x242))/0x3+-parseInt(_0x519682(0x28a))/0x4+parseInt(_0x519682(0x261))/0x5*(parseInt(_0x519682(0x2a4))/0x6)+parseInt(_0x519682(0x260))/0x7+-parseInt(_0x519682(0x27c))/0x8+parseInt(_0x519682(0x21d))/0x9*(parseInt(_0x519682(0x29d))/0xa);if(_0x2b4a50===_0x53f4b4)break;else _0x2f876f['push'](_0x2f876f['shift']());}catch(_0x388e9b){_0x2f876f['push'](_0x2f876f['shift']());}}}(_0x56de,0x76fac));import{CommandType as _0x53cab4,DependentOn as _0x33bd82,Disposable as _0x35c3f7,DisposableCollection as _0x3224de,IAuthzIoService as _0x1e6f8b,ICommandService as _0x2e9bae,IConfigService as _0x456f42,IPermissionService as _0xdcfbf3,IUniverInstanceService as _0x3d12b2,Inject as _0x1f08fe,Injector as _0x441c33,LocaleService as _0x654c1,Plugin as _0x407da2,RxDisposable as _0x4f6e9a,ThemeService as _0x2e6bde,Univer as _0x204662,UniverInstanceType as _0x1728f,Workbook as _0x37ac5f,merge as _0xe15d42,toDisposable as _0x299a0e}from'@univerjs/core';import{RangeProtectionPermissionEditPoint as _0x3b9a55,RangeProtectionRuleModel as _0x5b0249,SetWorksheetActivateCommand as _0x1c8176,UniverSheetsPlugin as _0xf2b081,WorkbookEditablePermission as _0x25995a,WorkbookRecoverHistoryPermission as _0x497f38,WorkbookViewHistoryPermission as _0x488422,WorksheetEditPermission as _0x92c484,getSheetCommandTarget as _0x217a9a}from'@univerjs/sheets';import{CollaborationEvent as _0x4cea28,RevertRevisionMutation as _0x560657,UniverCollaborationPlugin as _0x3c74f8}from'@univerjs-pro/collaboration';import{AuthzIoHttpService as _0x18afd2,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x52014b,CollaborationController as _0x58c29a,CollaborationStatus as _0x546e92,DataLoaderService as _0x1c9870,ILocalCacheService as _0x2a77cc}from'@univerjs-pro/collaboration-client';import{HistoryManagerService as _0x14ccf1,HistoryModeStatus as _0x34d6e2,UniverEditHistoryViewerMobilePlugin as _0x5a0398,UniverEditHistoryViewerPlugin as _0x3a336d}from'@univerjs-pro/edit-history-viewer';import{LS_CONFIG_KEY as _0x599977,UniverLicensePlugin as _0x48f345}from'@univerjs-pro/license';import{UniverSheetsChartPlugin as _0x45e77b}from'@univerjs-pro/sheets-chart';import{UniverSheetsChartUIPlugin as _0x232a1b}from'@univerjs-pro/sheets-chart-ui';import{UniverSheetsPivotTablePlugin as _0x195115}from'@univerjs-pro/sheets-pivot';import{UniverSheetsShapePlugin as _0x9c4fba}from'@univerjs-pro/sheets-shape';import{UniverSheetsShapeUIPlugin as _0x57811d}from'@univerjs-pro/sheets-shape-ui';import{UniverSheetSparklinePlugin as _0x56c42f}from'@univerjs-pro/sheets-sparkline';import{UniverSheetSparklineUIPlugin as _0x5ef652}from'@univerjs-pro/sheets-sparkline-ui';import{UniverDataValidationPlugin as _0x1210be}from'@univerjs/data-validation';import{MessageType as _0x46fc5d}from'@univerjs/design';import{UniverDocsPlugin as _0x5bb246}from'@univerjs/docs';import{UniverDocsUIPlugin as _0x426f01}from'@univerjs/docs-ui';import{IImageIoService as _0xc40b12,UniverDrawingPlugin as _0x53a158}from'@univerjs/drawing';import{UniverDrawingUIPlugin as _0x96d988}from'@univerjs/drawing-ui';function _0x1ee9(_0x10012d,_0x494b1e){_0x10012d=_0x10012d-0x1e5;const _0x56de56=_0x56de();let _0x1ee907=_0x56de56[_0x10012d];return _0x1ee907;}import{UniverFormulaEnginePlugin as _0x21bcc8}from'@univerjs/engine-formula';function _0x56de(){const _0x5ed5cc=['mergeMenu','packageName','7050735STbGGC','then','string','historyListServerUrl','_collaborationController','_disposableCollection','permissionId','6NcDYWP','getElementById','_updateURLWithCurrentState','getUnit','decorate','urlChange$','prototype','loadUnit','eventID','_initListener','subscribe','absolute','defineProperty','get','has','version','object','history-container','SYNCED','edit-history-loader.panel.reverting','values','_localCacheService','historyPanelComponentKey','function','register','getCurrentUnitOfType','from','block','_dataLoaderService','width','1009071CeqwmO','_revertErrorTimer','298731sFoyYm','getLocales','darkMode$','event$','setDarkMode','revertRevision$','composePermission','height','getUnitId','activeSheet$','next','1.0.0-alpha.0','location','setParam','univer-history-container','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','edit-history-loader.panel.title','_checkCanRevert','univer-container','__getInjector','getAllPlugins','symbol','_initUniver','params','onCommandExecuted','closeAll','edit-history-loader.panel.listFetchError','_configService','4137147cpzaaA','6255OJdWIt','_config','_commandService','removeAll','map','invoke','executeCommand','_internalWebWorker','getSubunitRuleList','100%','createElement','_themeService','clear','getConfig','getOwnPropertyDescriptor','_permissionService','unsubscribe','setTheme','subunit','every','getCollabEntity','historyAIassistantEnabled','getParam','_pluginMap','_selectionProtectionRuleModel','_historyManagerService','reload','4766008ifeLAQ','history-panel','OPERATION','setConfig','triggerCustomVersions','state$','_injector','historyUniver','iterator','onSteady','_iconManager','getSheetId','call','position','1845820rhnEyv','disposeUnit','zIndex','_menuManagerService','Loading','univerContainerId','terminate','length','edit-history-loader.info.initializing','_urlService','set','appendChild','currentTheme$','mountHistoryContent','historyPanelHidden','_sidebarService','_historyUniver$','type','UNIVER_CONTAINER_ID','20qFnCvY','asObservable','_init','show','_univerInstanceService','div','pluginName','2970emnHrv','toPrimitive','HistoryIcon','top','_setupSubUnitSync','_updateSubUnitFromURLParams','_handleRevertAcknowledgement','[HistoryLoaderService]:\x20Plugin\x20','pipe','\x20has\x20been\x20registered.','close','onStarting','status$','value','getSheets','[MobileHistoryLoaderService]:\x20Plugin\x20','triggerLoadVersions','@univerjs-pro/edit-history-loader','unMountHistoryContent','style','Entered','UNIVER_UNKNOWN','CHANGESET_ACK','edit-history-loader.panel.revertFailed','menu','univer.operation.exit-edit-history','getSheetBySheetId','flat','UNIVER_SHEET','dataset','dispose$','_messageService','edit-history-loader.config','some','forEach','dispose','_dialogService','Exited','_initPlugins','disposeWithMe','setLocale','left','none','univer.operation.toggle-edit-history','getCurrentLocale','registerPlugin','display','_localeService','session','workerURL','registerCommand','historyUniver$','add','Error','getActiveSheet','_initContainer'];_0x56de=function(){return _0x5ed5cc;};return _0x56de();}import{UniverRenderEnginePlugin as _0x517d68}from'@univerjs/engine-render';import{UniverNetworkPlugin as _0x355803}from'@univerjs/network';import{IRemoteInstanceService as _0xb7f7e2,UniverRPCMainThreadPlugin as _0x58c79c}from'@univerjs/rpc';import{UniverSheetsConditionalFormattingPlugin as _0x3f1bbe}from'@univerjs/sheets-conditional-formatting';import{UniverSheetsConditionalFormattingUIPlugin as _0x5691a5}from'@univerjs/sheets-conditional-formatting-ui';import{UniverSheetsDataValidationPlugin as _0x1e4690}from'@univerjs/sheets-data-validation';import{UniverSheetsDataValidationMobileUIPlugin as _0x366e87,UniverSheetsDataValidationUIPlugin as _0x2b77d0}from'@univerjs/sheets-data-validation-ui';import{UniverSheetsDrawingPlugin as _0x317235}from'@univerjs/sheets-drawing';import{UniverSheetsDrawingUIPlugin as _0x8b785f}from'@univerjs/sheets-drawing-ui';import{UniverSheetsFilterPlugin as _0x54b6b1}from'@univerjs/sheets-filter';import{UniverSheetsFilterUIPlugin as _0x185b26}from'@univerjs/sheets-filter-ui';import{UniverSheetsFormulaPlugin as _0x5ac277}from'@univerjs/sheets-formula';import{UniverSheetsFormulaUIPlugin as _0x58e986}from'@univerjs/sheets-formula-ui';import{UniverSheetsHyperLinkPlugin as _0x495f8f}from'@univerjs/sheets-hyper-link';import{UniverSheetsHyperLinkUIPlugin as _0x1941f5}from'@univerjs/sheets-hyper-link-ui';import{UniverSheetsNumfmtPlugin as _0x269ba1}from'@univerjs/sheets-numfmt';import{UniverSheetsTablePlugin as _0x17dbd5}from'@univerjs/sheets-table';import{UniverSheetsMobileUIPlugin as _0x163c96,UniverSheetsUIPlugin as _0x17a25f,getCurrentRangeDisable$ as _0x3e28c0}from'@univerjs/sheets-ui';import{IDialogService as _0x1fa8af,IMenuManagerService as _0x53bdc6,IMessageService as _0x31ed3a,ISidebarService as _0x328c4b,IconManager as _0x3bbf65,MenuItemType as _0x3abb23,RibbonStartGroup as _0x186864,UniverMobileUIPlugin as _0x42f833,UniverUIPlugin as _0x387793,getMenuHiddenObservable as _0x240a7f}from'@univerjs/ui';import{BehaviorSubject as _0x4e2397,combineLatest as _0xdeab38,takeUntil as _0x862647}from'rxjs';import{HistoryIcon as _0x48c9bf}from'@univerjs/icons';import{IURLService as _0x4f50c6}from'@univerjs-pro/collaboration-client-ui';const I=_0x2c98c3(0x203),L={'historyPanelComponentKey':_0x2c98c3(0x27d)};function R(_0x18780a){'@babel/helpers - typeof';const _0x3faa4b=_0x2c98c3;return R=typeof Symbol=='function'&&typeof Symbol[_0x3faa4b(0x284)]==_0x3faa4b(0x259)?function(_0x32a3c8){return typeof _0x32a3c8;}:function(_0x163a06){const _0x503e37=_0x3faa4b;return _0x163a06&&typeof Symbol==_0x503e37(0x23b)&&_0x163a06['constructor']===Symbol&&_0x163a06!==Symbol[_0x503e37(0x22a)]?_0x503e37(0x259):typeof _0x163a06;},R(_0x18780a);}function ot(_0x439f53,_0x13cad6){const _0x5b2d91=_0x2c98c3;if(R(_0x439f53)!=_0x5b2d91(0x234)||!_0x439f53)return _0x439f53;var _0x51129e=_0x439f53[Symbol[_0x5b2d91(0x2a5)]];if(_0x51129e!==void 0x0){var _0x2f4969=_0x51129e[_0x5b2d91(0x288)](_0x439f53,_0x13cad6||'default');if(R(_0x2f4969)!=_0x5b2d91(0x234))return _0x2f4969;throw TypeError(_0x5b2d91(0x253));}return(_0x13cad6===_0x5b2d91(0x21f)?String:Number)(_0x439f53);}function st(_0x2c1ae1){const _0x28e656=_0x2c98c3;var _0x234092=ot(_0x2c1ae1,_0x28e656(0x21f));return R(_0x234092)==_0x28e656(0x259)?_0x234092:_0x234092+'';}function z(_0x11957a,_0x3e9238,_0x40f6ef){const _0x5e8944=_0x2c98c3;return(_0x3e9238=st(_0x3e9238))in _0x11957a?Object[_0x5e8944(0x230)](_0x11957a,_0x3e9238,{'value':_0x40f6ef,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x11957a[_0x3e9238]=_0x40f6ef,_0x11957a;}function B(_0xb69a18,_0xf2796){return function(_0x1e7cc7,_0x1c2c52){_0xf2796(_0x1e7cc7,_0x1c2c52,_0xb69a18);};}function V(_0x292734,_0x5593e4,_0x2d33c5,_0x3d7d49){const _0x250c1c=_0x2c98c3;var _0x440389=arguments['length'],_0x12e31c=_0x440389<0x3?_0x5593e4:_0x3d7d49===null?_0x3d7d49=Object[_0x250c1c(0x26f)](_0x5593e4,_0x2d33c5):_0x3d7d49,_0x5b9f1a;if(typeof Reflect==_0x250c1c(0x234)&&typeof Reflect['decorate']==_0x250c1c(0x23b))_0x12e31c=Reflect[_0x250c1c(0x228)](_0x292734,_0x5593e4,_0x2d33c5,_0x3d7d49);else{for(var _0x103794=_0x292734[_0x250c1c(0x291)]-0x1;_0x103794>=0x0;_0x103794--)(_0x5b9f1a=_0x292734[_0x103794])&&(_0x12e31c=(_0x440389<0x3?_0x5b9f1a(_0x12e31c):_0x440389>0x3?_0x5b9f1a(_0x5593e4,_0x2d33c5,_0x12e31c):_0x5b9f1a(_0x5593e4,_0x2d33c5))||_0x12e31c);}return _0x440389>0x3&&_0x12e31c&&Object['defineProperty'](_0x5593e4,_0x2d33c5,_0x12e31c),_0x12e31c;}const ct=_0x2c98c3(0x29c),H=_0x2c98c3(0x252);let U=class extends _0x35c3f7{constructor(_0x475dc6,_0x57115d,_0x1b6209,_0xc64559,_0x4999e7,_0x3a2f8b,_0x11cc3e,_0x2f4f03,_0x557932,_0x340ed6){const _0x12d73d=_0x2c98c3;super(),this[_0x12d73d(0x212)]=_0x475dc6,this[_0x12d73d(0x2a1)]=_0x57115d,this[_0x12d73d(0x25f)]=_0x1b6209,this[_0x12d73d(0x263)]=_0xc64559,this[_0x12d73d(0x202)]=_0x4999e7,this[_0x12d73d(0x270)]=_0x3a2f8b,this[_0x12d73d(0x279)]=_0x11cc3e,this['_dialogService']=_0x2f4f03,this[_0x12d73d(0x299)]=_0x557932,this[_0x12d73d(0x26c)]=_0x340ed6,z(this,'_historyUniver$',new _0x4e2397(null)),z(this,_0x12d73d(0x216),this[_0x12d73d(0x29a)][_0x12d73d(0x29e)]()),z(this,_0x12d73d(0x222),new _0x3224de()),z(this,_0x12d73d(0x278),new Map()),z(this,_0x12d73d(0x268),null),this[_0x12d73d(0x29f)]();}get[_0x2c98c3(0x283)](){const _0x9d098a=_0x2c98c3;return this[_0x9d098a(0x29a)][_0x9d098a(0x1f0)];}[_0x2c98c3(0x29f)](){const _0x4f0cc8=_0x2c98c3;this[_0x4f0cc8(0x21a)](),this[_0x4f0cc8(0x209)]();}['_initContainer'](){const _0x3937bf=_0x2c98c3;var _0x30d720;let _0x3f2d68=(_0x30d720=this['_configService'][_0x3937bf(0x26e)](_0x3937bf(0x29c)))==null?_0x3937bf(0x256):_0x30d720,_0x5d5587=document['getElementById'](_0x3f2d68);if(!_0x5d5587)return;let _0x1af3f1=document[_0x3937bf(0x26b)](_0x3937bf(0x2a2));_0x1af3f1['id']=H,_0x1af3f1[_0x3937bf(0x200)]['uComp']=_0x3937bf(0x235),_0x1af3f1[_0x3937bf(0x1f6)][_0x3937bf(0x289)]=_0x3937bf(0x22f),_0x1af3f1[_0x3937bf(0x1f6)]['top']='0',_0x1af3f1['style'][_0x3937bf(0x20c)]='0',_0x1af3f1['style']['width']='100%',_0x1af3f1['style'][_0x3937bf(0x24b)]=_0x3937bf(0x26a),_0x1af3f1['style']['zIndex']='49',_0x1af3f1['style'][_0x3937bf(0x211)]=_0x3937bf(0x20d),_0x5d5587[_0x3937bf(0x295)](_0x1af3f1);}[_0x2c98c3(0x209)](){const _0x195a8d=_0x2c98c3;[[_0x517d68],[_0x387793,{'container':H,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x1fa8af,null]]}],[_0x355803],[_0x53a158,{'override':[[_0xc40b12,null]]}],[_0x5bb246,{'hasScroll':!0x1}],[_0x426f01],[_0x269ba1],[_0xf2b081,{'notExecuteFormula':!0x0}],[_0x17a25f],[_0x5ac277],[_0x58e986],[_0x3c74f8],[_0x54b6b1],[_0x185b26],[_0x3f1bbe],[_0x5691a5],[_0x495f8f],[_0x1941f5],[_0x1210be],[_0x1e4690],[_0x2b77d0],[_0x21bcc8,{'notExecuteFormula':!0x0}],[_0x96d988],[_0x317235],[_0x8b785f],[_0x56c42f],[_0x5ef652],[_0x45e77b],[_0x232a1b],[_0x9c4fba],[_0x57811d],[_0x195115,{'notExecuteFormula':!0x0}],[_0x17dbd5]][_0x195a8d(0x205)](([_0x4e8e81,_0x5863a4])=>this[_0x195a8d(0x210)](_0x4e8e81,_0x5863a4));}[_0x2c98c3(0x206)](){const _0x1da7e1=_0x2c98c3;super[_0x1da7e1(0x206)](),this[_0x1da7e1(0x1f5)](),this[_0x1da7e1(0x278)][_0x1da7e1(0x26d)]();}[_0x2c98c3(0x210)](_0x3edfd5,_0x548169,_0x208a3b){const _0x2499f1=_0x2c98c3;if(this[_0x2499f1(0x278)]['has'](_0x3edfd5['pluginName'])&&!_0x208a3b)throw Error(_0x2499f1(0x1ea)+_0x3edfd5[_0x2499f1(0x2a3)]+'\x20has\x20been\x20registered.');this[_0x2499f1(0x278)][_0x2499f1(0x294)](_0x3edfd5['pluginName'],[_0x3edfd5,_0x548169]);}[_0x2c98c3(0x258)](){const _0x2b7d8f=_0x2c98c3;return Array[_0x2b7d8f(0x23e)](this[_0x2b7d8f(0x278)][_0x2b7d8f(0x238)]());}[_0x2c98c3(0x297)](_0x44bf26,_0x3e13a8){const _0x2fc09c=_0x2c98c3;let _0x269233=document[_0x2fc09c(0x225)](H);_0x269233&&(_0x269233[_0x2fc09c(0x1f6)][_0x2fc09c(0x211)]=_0x2fc09c(0x23f),this[_0x2fc09c(0x25a)](_0x44bf26,H,_0x3e13a8));}[_0x2c98c3(0x1f5)](){const _0x3a0115=_0x2c98c3;var _0x12e06a;this[_0x3a0115(0x222)][_0x3a0115(0x206)](),(_0x12e06a=this[_0x3a0115(0x283)])==null||_0x12e06a[_0x3a0115(0x206)](),this[_0x3a0115(0x29a)][_0x3a0115(0x24e)](null);let _0x49caeb=document['getElementById'](H);_0x49caeb&&(_0x49caeb[_0x3a0115(0x1f6)][_0x3a0115(0x211)]=_0x3a0115(0x20d),this['_internalWebWorker']&&(this[_0x3a0115(0x268)][_0x3a0115(0x290)](),this[_0x3a0115(0x268)]=null));}['_initUniver'](_0x29d5f5,_0x54428a,_0x2b24f7){const _0x24e9df=_0x2c98c3;var _0x19214f,_0xddefd2,_0x3e3468,_0x3d9728,_0x3ceec6;if(this[_0x24e9df(0x283)])return;let _0xa0e6b0=new _0x204662({'locales':{[this[_0x24e9df(0x212)]['getCurrentLocale']()]:this[_0x24e9df(0x212)][_0x24e9df(0x245)]()},'override':[[_0x1e6f8b,{'useClass':_0x18afd2}]]}),_0xd2c368=_0xa0e6b0[_0x24e9df(0x257)]();this[_0x24e9df(0x20a)](this[_0x24e9df(0x26c)][_0x24e9df(0x246)][_0x24e9df(0x22e)](_0x59d48b=>{const _0x43af1e=_0x24e9df;_0xd2c368[_0x43af1e(0x231)](_0x2e6bde)[_0x43af1e(0x248)](_0x59d48b);})),this[_0x24e9df(0x20a)](this['_themeService'][_0x24e9df(0x296)][_0x24e9df(0x22e)](_0xd18760=>{const _0x2065d7=_0x24e9df;_0xd2c368[_0x2065d7(0x231)](_0x2e6bde)[_0x2065d7(0x272)](_0xd18760);})),_0xd2c368[_0x24e9df(0x231)](_0x654c1)[_0x24e9df(0x20b)](this[_0x24e9df(0x212)][_0x24e9df(0x20f)]()),_0xd2c368['get'](_0x456f42)[_0x24e9df(0x27f)](_0x52014b,this['_configService'][_0x24e9df(0x26e)](_0x52014b));let _0x4584da=this[_0x24e9df(0x25f)][_0x24e9df(0x26e)](_0x599977);_0x4584da&&_0xa0e6b0[_0x24e9df(0x210)](_0x48f345,{'license':_0x4584da['ls']});let _0x461629=(_0x19214f=this['_configService'][_0x24e9df(0x26e)](_0x24e9df(0x203)))==null?void 0x0:_0x19214f[_0x24e9df(0x214)],_0x4674e5=!!_0x461629;_0x4674e5&&(this[_0x24e9df(0x268)]=_0x461629 instanceof Worker?_0x461629:null,_0xa0e6b0['registerPlugin'](_0x58c79c,{'workerURL':_0x461629})),this[_0x24e9df(0x278)][_0x24e9df(0x205)](([_0x1df061,_0x22a61d])=>{const _0x20d928=_0x24e9df;_0xa0e6b0[_0x20d928(0x210)](_0x1df061,_0x22a61d);}),_0xa0e6b0[_0x24e9df(0x210)](_0x3a336d,{'historyListServerUrl':(_0xddefd2=this['_configService'][_0x24e9df(0x26e)](_0x24e9df(0x203)))==null?void 0x0:_0xddefd2[_0x24e9df(0x220)],'historyPanelComponentKey':(_0x3e3468=this[_0x24e9df(0x25f)][_0x24e9df(0x26e)](_0x24e9df(0x203)))==null?void 0x0:_0x3e3468['historyPanelComponentKey'],'historyPanelHidden':(_0x3d9728=this[_0x24e9df(0x25f)][_0x24e9df(0x26e)](_0x24e9df(0x203)))==null?void 0x0:_0x3d9728[_0x24e9df(0x298)],'historyAIassistantEnabled':(_0x3ceec6=this[_0x24e9df(0x25f)][_0x24e9df(0x26e)]('edit-history-loader.config'))==null?void 0x0:_0x3ceec6[_0x24e9df(0x276)]}),_0xd2c368['invoke'](_0x240a36=>{const _0x53db1e=_0x24e9df;this[_0x53db1e(0x22d)](_0x240a36,_0x29d5f5);}),this[_0x24e9df(0x29a)][_0x24e9df(0x24e)](_0xa0e6b0);let _0x276e16=_0xd2c368[_0x24e9df(0x231)](_0x14ccf1),_0x2b4029=this[_0x24e9df(0x255)](_0x29d5f5),_0x26e005=()=>{_0x2b24f7?_0x276e16['triggerCustomVersions'](_0x29d5f5,_0x54428a,_0x2b4029,_0x2b24f7):_0x276e16['triggerLoadVersions'](_0x29d5f5,_0x54428a,_0x2b4029);};if(this['_messageService'][_0x24e9df(0x2a0)]({'content':this[_0x24e9df(0x212)]['t'](_0x24e9df(0x292)),'type':_0x46fc5d[_0x24e9df(0x28e)]}),_0x4674e5)try{_0xd2c368[_0x24e9df(0x231)](_0xb7f7e2)['whenReady']()[_0x24e9df(0x21e)](()=>{_0x26e005();});}catch{_0x26e005();}else _0x26e005();}['_initListener'](_0x5a173f,_0x5dc0f3){const _0x5633fc=_0x2c98c3;let _0x4e9b6a=_0x5a173f[_0x5633fc(0x231)](_0x14ccf1);this['_disposableCollection'][_0x5633fc(0x217)](_0x4e9b6a[_0x5633fc(0x1ef)][_0x5633fc(0x22e)](_0x4a8846=>{const _0x255d24=_0x5633fc;switch(_0x4a8846){case _0x34d6e2['Entered']:this['_dialogService'][_0x255d24(0x25d)](),this[_0x255d24(0x299)][_0x255d24(0x1ed)]();break;case _0x34d6e2[_0x255d24(0x208)]:this[_0x255d24(0x263)]['executeCommand'](G['id']),this[_0x255d24(0x1f5)]();break;case _0x34d6e2['Error']:this[_0x255d24(0x1f5)](),this[_0x255d24(0x202)][_0x255d24(0x2a0)]({'content':this['_localeService']['t'](_0x255d24(0x25e)),'type':_0x46fc5d[_0x255d24(0x218)],'duration':0xbb8});break;default:break;}})),this[_0x5633fc(0x222)][_0x5633fc(0x217)](_0x4e9b6a[_0x5633fc(0x249)][_0x5633fc(0x22e)](async _0x4d53af=>{const _0x5af256=_0x5633fc;_0x4d53af&&this['_commandService'][_0x5af256(0x267)](_0x560657['id'],{'unitId':_0x5dc0f3,'revision':_0x4d53af});}));}[_0x2c98c3(0x255)](_0x12a7dc){const _0x7acee2=_0x2c98c3;let _0x1d6539=this[_0x7acee2(0x2a1)]['getUnit'](_0x12a7dc)['getSheets']()[_0x7acee2(0x265)](_0x2fb132=>_0x2fb132[_0x7acee2(0x287)]()),_0x5f4512=new _0x25995a(_0x12a7dc)['id'],_0x4fea04=_0x1d6539[_0x7acee2(0x265)](_0x533e98=>new _0x92c484(_0x12a7dc,_0x533e98)['id']),_0x461011=_0x1d6539['map'](_0x196312=>this[_0x7acee2(0x279)][_0x7acee2(0x269)](_0x12a7dc,_0x196312)[_0x7acee2(0x265)](_0xdee4e5=>new _0x3b9a55(_0x12a7dc,_0x196312,_0xdee4e5[_0x7acee2(0x223)])['id']))[_0x7acee2(0x1fe)](),_0x476e43=new _0x497f38(_0x12a7dc)['id'];return this[_0x7acee2(0x270)][_0x7acee2(0x24a)]([_0x5f4512,..._0x4fea04,..._0x461011,_0x476e43])['every'](_0x1dd134=>!!_0x1dd134['value']);}};U=V([B(0x0,_0x1f08fe(_0x654c1)),B(0x1,_0x3d12b2),B(0x2,_0x456f42),B(0x3,_0x2e9bae),B(0x4,_0x31ed3a),B(0x5,_0xdcfbf3),B(0x6,_0x1f08fe(_0x5b0249)),B(0x7,_0x1f08fe(_0x1fa8af)),B(0x8,_0x1f08fe(_0x328c4b)),B(0x9,_0x1f08fe(_0x2e6bde))],U);const W={'id':_0x2c98c3(0x20e),'type':_0x53cab4[_0x2c98c3(0x27e)],'handler':_0x3b87b9=>{const _0x33abd6=_0x2c98c3;let _0x489bcd=_0x3b87b9[_0x33abd6(0x231)](U),{unitId:_0x5190bd}=_0x217a9a(_0x3b87b9[_0x33abd6(0x231)](_0x3d12b2))||{};return _0x5190bd?(_0x489bcd['mountHistoryContent'](_0x5190bd),!0x0):!0x1;}},G={'id':_0x2c98c3(0x1fc),'type':_0x53cab4[_0x2c98c3(0x27e)],'handler':()=>!0x0};var K=_0x2c98c3(0x1f4),lt=_0x2c98c3(0x24f);let q=class extends _0x35c3f7{constructor(_0x25a3c1){const _0x5251e7=_0x2c98c3;super(),this[_0x5251e7(0x286)]=_0x25a3c1,this['_registerIcons']();}['_registerIcons'](){const _0x115e04=_0x2c98c3;this[_0x115e04(0x20a)](this[_0x115e04(0x286)][_0x115e04(0x23c)]({'HistoryIcon':_0x48c9bf}));}};q=V([B(0x0,_0x1f08fe(_0x3bbf65))],q);function ut(_0x41a5a8){const _0x4f328b=_0x2c98c3;return{'id':W['id'],'type':_0x3abb23['BUTTON'],'icon':_0x4f328b(0x1e5),'tooltip':_0x4f328b(0x254),'hidden$':_0x240a7f(_0x41a5a8,_0x1728f['UNIVER_SHEET']),'disabled$':_0x3e28c0(_0x41a5a8,{'workbookTypes':[_0x488422],'worksheetTypes':[],'rangeTypes':[]})};}const dt={[_0x186864['OTHERS']]:{[W['id']]:{'order':0.2,'menuItemFactory':ut}}};let J=class extends _0x4f6e9a{constructor(_0x453d8d,_0x376e0c,_0x3cf999,_0x590301,_0x41fe68,_0x1f4a66,_0x3b6c49,_0x552963,_0x33eb76,_0x4512eb){const _0x31540b=_0x2c98c3;super(),this['_commandService']=_0x453d8d,this[_0x31540b(0x28d)]=_0x376e0c,this[_0x31540b(0x27a)]=_0x3cf999,this[_0x31540b(0x212)]=_0x590301,this['_messageService']=_0x41fe68,this[_0x31540b(0x221)]=_0x1f4a66,this[_0x31540b(0x239)]=_0x3b6c49,this['_dataLoaderService']=_0x552963,this[_0x31540b(0x2a1)]=_0x33eb76,this['_urlService']=_0x4512eb,z(this,_0x31540b(0x243),null),this[_0x31540b(0x29f)]();}[_0x2c98c3(0x29f)](){const _0x2b00e7=_0x2c98c3;[W,G]['forEach'](_0x71995c=>this[_0x2b00e7(0x20a)](_0x299a0e(this['_commandService'][_0x2b00e7(0x215)](_0x71995c)))),this[_0x2b00e7(0x28d)][_0x2b00e7(0x21b)](dt),this['disposeWithMe'](this[_0x2b00e7(0x263)][_0x2b00e7(0x25c)](async(_0x32c368,_0x21c1ed)=>{const _0x22d16d=_0x2b00e7;if(_0x32c368['id']===_0x560657['id']){let {unitId:_0x57b514}=_0x32c368[_0x22d16d(0x25b)];this['_messageService']['show']({'content':this[_0x22d16d(0x212)]['t'](_0x22d16d(0x237)),'type':_0x46fc5d[_0x22d16d(0x28e)],'duration':0x1388});let _0x3aaf47=this['_collaborationController'][_0x22d16d(0x275)](_0x57b514);_0x21c1ed!=null&&_0x21c1ed['fromCollab']?this['_handleRevertAcknowledgement'](_0x3aaf47,async()=>(setTimeout(()=>window[_0x22d16d(0x250)][_0x22d16d(0x27b)]()),!0x0),!0x0):this[_0x22d16d(0x1e9)](_0x3aaf47,async()=>{const _0x123c30=_0x22d16d;let _0x32ddcc=this['_univerInstanceService'][_0x123c30(0x23d)](_0x1728f[_0x123c30(0x1ff)]),_0x592bf4=_0x32ddcc==null?void 0x0:_0x32ddcc[_0x123c30(0x219)]();if(!_0x592bf4)return!0x1;this[_0x123c30(0x2a1)][_0x123c30(0x28b)](_0x57b514);let _0x2e27bf=await this[_0x123c30(0x240)][_0x123c30(0x22b)](_0x57b514,_0x1728f[_0x123c30(0x1ff)]);return _0x2e27bf&&_0x2e27bf instanceof _0x37ac5f?(await this['_setupSubUnitSync'](_0x2e27bf,_0x592bf4[_0x123c30(0x287)]()),!0x0):!0x1;});}}));}[_0x2c98c3(0x1e9)](_0x4b3336,_0x432c49,_0x560c20=!0x1){const _0x4b1834=_0x2c98c3;let _0x4cbe34=_0xdeab38([_0x4b3336[_0x4b1834(0x213)][_0x4b1834(0x247)],_0x4b3336['state$']])['subscribe'](async([_0xc5e805,_0x5ed017])=>{const _0x169857=_0x4b1834;if(_0xc5e805['eventID']===_0x4cea28[_0x169857(0x1f9)]&&(_0x5ed017==null?void 0x0:_0x5ed017['status'])===_0x546e92[_0x169857(0x236)]&&_0xc5e805['data']['mutations']['some'](_0xbc1deb=>_0xbc1deb['id']===_0x560657['id'])&&await _0x432c49()){var _0x12a2e8;this[_0x169857(0x27a)][_0x169857(0x1f5)](),_0x4cbe34['unsubscribe'](),this[_0x169857(0x243)]&&clearTimeout(this[_0x169857(0x243)]),await((_0x12a2e8=this[_0x169857(0x239)])==null?void 0x0:_0x12a2e8['exhaustSavingTask']()),this[_0x169857(0x202)][_0x169857(0x264)]();}});_0x560c20&&(this[_0x4b1834(0x243)]=setTimeout(()=>{const _0x3ed454=_0x4b1834;_0x4cbe34[_0x3ed454(0x271)](),this[_0x3ed454(0x202)][_0x3ed454(0x2a0)]({'content':this[_0x3ed454(0x212)]['t'](_0x3ed454(0x1fa)),'type':_0x46fc5d[_0x3ed454(0x218)],'duration':0xbb8});},0x1388));}async['_setupSubUnitSync'](_0x25448b,_0x4041bf){const _0xc1c4f1=_0x2c98c3;await this[_0xc1c4f1(0x1e8)](_0x25448b,_0x4041bf),_0x25448b[_0xc1c4f1(0x24d)]['pipe'](_0x862647(this['dispose$']))[_0xc1c4f1(0x22e)](_0x46009d=>{const _0x1b4b72=_0xc1c4f1;_0x46009d&&this[_0x1b4b72(0x226)](_0x46009d);}),this[_0xc1c4f1(0x293)]['urlChange$']['pipe'](_0x862647(this[_0xc1c4f1(0x201)]))['subscribe'](()=>this[_0xc1c4f1(0x1e8)](_0x25448b,_0x4041bf));}[_0x2c98c3(0x226)](_0x21e345,_0x5b1c85=!0x1){const _0x19762b=_0x2c98c3;let _0x1ba39d=this[_0x19762b(0x293)][_0x19762b(0x277)]('subunit');_0x21e345[_0x19762b(0x287)]()!==_0x1ba39d&&this[_0x19762b(0x293)][_0x19762b(0x251)]('subunit',_0x21e345[_0x19762b(0x287)](),_0x5b1c85);}async['_updateSubUnitFromURLParams'](_0xf3e83c,_0x313fe9){const _0x1329c4=_0x2c98c3;var _0x2af6aa;if(!_0x313fe9||!_0xf3e83c[_0x1329c4(0x1fd)](_0x313fe9)){let _0x5a2254=_0xf3e83c['getUnhiddenWorksheets']()[0x0],_0x308d53=_0xf3e83c[_0x1329c4(0x1fd)](_0x5a2254);if(!_0x308d53)return;this['_updateURLWithCurrentState'](_0x308d53,!0x0),await this[_0x1329c4(0x263)]['executeCommand'](_0x1c8176['id'],{'unitId':_0xf3e83c[_0x1329c4(0x24c)](),'subUnitId':_0x5a2254});return;}((_0x2af6aa=_0xf3e83c[_0x1329c4(0x219)]())==null?void 0x0:_0x2af6aa[_0x1329c4(0x287)]())!==_0x313fe9&&await this[_0x1329c4(0x263)][_0x1329c4(0x267)](_0x1c8176['id'],{'unitId':_0xf3e83c[_0x1329c4(0x24c)](),'subUnitId':_0x313fe9});}};J=V([B(0x0,_0x2e9bae),B(0x1,_0x53bdc6),B(0x2,_0x1f08fe(U)),B(0x3,_0x1f08fe(_0x654c1)),B(0x4,_0x31ed3a),B(0x5,_0x1f08fe(_0x58c29a)),B(0x6,_0x2a77cc),B(0x7,_0x1f08fe(_0x1c9870)),B(0x8,_0x3d12b2),B(0x9,_0x4f50c6)],J);const Y='univer-history-container-mobile';let X=class extends _0x35c3f7{constructor(_0x28d03c,_0x4ada63,_0x17b34c,_0x476599,_0x2a96d5,_0x2ad352,_0x194d8b,_0x585ea9,_0x2662b5,_0x3c669e){const _0x5548dd=_0x2c98c3;super(),this['_localeService']=_0x28d03c,this[_0x5548dd(0x2a1)]=_0x4ada63,this['_configService']=_0x17b34c,this[_0x5548dd(0x263)]=_0x476599,this[_0x5548dd(0x202)]=_0x2a96d5,this[_0x5548dd(0x270)]=_0x2ad352,this[_0x5548dd(0x279)]=_0x194d8b,this[_0x5548dd(0x207)]=_0x585ea9,this['_sidebarService']=_0x2662b5,this[_0x5548dd(0x26c)]=_0x3c669e,z(this,_0x5548dd(0x29a),new _0x4e2397(null)),z(this,_0x5548dd(0x216),this[_0x5548dd(0x29a)][_0x5548dd(0x29e)]()),z(this,_0x5548dd(0x222),new _0x3224de()),z(this,_0x5548dd(0x278),new Map()),z(this,_0x5548dd(0x268),null),this[_0x5548dd(0x29f)]();}get['historyUniver'](){return this['_historyUniver$']['value'];}[_0x2c98c3(0x29f)](){const _0x586620=_0x2c98c3;this[_0x586620(0x21a)](),this[_0x586620(0x209)]();}['_initContainer'](){const _0xed23c2=_0x2c98c3;var _0xbce10;let _0x56c60b=(_0xbce10=this[_0xed23c2(0x25f)]['getConfig'](_0xed23c2(0x29c)))==null?'univer-container':_0xbce10,_0x5ec8e5=document[_0xed23c2(0x225)](_0x56c60b);if(!_0x5ec8e5)return;let _0x4037d1=document[_0xed23c2(0x26b)](_0xed23c2(0x2a2));_0x4037d1['id']=Y,_0x4037d1[_0xed23c2(0x200)]['uComp']=_0xed23c2(0x235),_0x4037d1[_0xed23c2(0x1f6)]['position']=_0xed23c2(0x22f),_0x4037d1['style'][_0xed23c2(0x1e6)]='0',_0x4037d1[_0xed23c2(0x1f6)][_0xed23c2(0x20c)]='0',_0x4037d1[_0xed23c2(0x1f6)][_0xed23c2(0x241)]='100%',_0x4037d1[_0xed23c2(0x1f6)]['height']=_0xed23c2(0x26a),_0x4037d1[_0xed23c2(0x1f6)][_0xed23c2(0x28c)]='49',_0x4037d1[_0xed23c2(0x1f6)][_0xed23c2(0x211)]=_0xed23c2(0x20d),_0x5ec8e5[_0xed23c2(0x295)](_0x4037d1);}['_initPlugins'](){const _0x470453=_0x2c98c3;[[_0x517d68],[_0x42f833,{'container':Y,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x1fa8af,null]]}],[_0x355803],[_0x53a158,{'override':[[_0xc40b12,null]]}],[_0x5bb246,{'hasScroll':!0x1}],[_0x426f01],[_0x269ba1],[_0xf2b081,{'notExecuteFormula':!0x0}],[_0x163c96],[_0x5ac277],[_0x58e986],[_0x3c74f8],[_0x54b6b1],[_0x3f1bbe],[_0x495f8f],[_0x1941f5],[_0x1210be],[_0x1e4690],[_0x366e87],[_0x21bcc8,{'notExecuteFormula':!0x0}],[_0x96d988],[_0x317235],[_0x8b785f],[_0x56c42f],[_0x5ef652],[_0x45e77b],[_0x232a1b],[_0x9c4fba],[_0x57811d],[_0x195115,{'notExecuteFormula':!0x0}],[_0x17dbd5]][_0x470453(0x205)](([_0xd7c04c,_0x18c9af])=>this[_0x470453(0x210)](_0xd7c04c,_0x18c9af));}[_0x2c98c3(0x206)](){const _0x126f3e=_0x2c98c3;super[_0x126f3e(0x206)](),this[_0x126f3e(0x1f5)](),this['_pluginMap'][_0x126f3e(0x26d)]();}['registerPlugin'](_0x5b5146,_0x4218e9,_0xa88d4c){const _0x16edd1=_0x2c98c3;if(this[_0x16edd1(0x278)][_0x16edd1(0x232)](_0x5b5146[_0x16edd1(0x2a3)])&&!_0xa88d4c)throw Error(_0x16edd1(0x1f2)+_0x5b5146['pluginName']+_0x16edd1(0x1ec));this[_0x16edd1(0x278)]['set'](_0x5b5146[_0x16edd1(0x2a3)],[_0x5b5146,_0x4218e9]);}[_0x2c98c3(0x258)](){const _0x77700c=_0x2c98c3;return Array['from'](this[_0x77700c(0x278)][_0x77700c(0x238)]());}[_0x2c98c3(0x297)](_0x232d74,_0x176562){const _0x1a89b0=_0x2c98c3;let _0x32a175=document[_0x1a89b0(0x225)](Y);_0x32a175&&(_0x32a175[_0x1a89b0(0x1f6)][_0x1a89b0(0x211)]='block',this[_0x1a89b0(0x25a)](_0x232d74,Y,_0x176562));}[_0x2c98c3(0x1f5)](){const _0x193a16=_0x2c98c3;var _0x2bcb23;this[_0x193a16(0x222)][_0x193a16(0x206)](),(_0x2bcb23=this[_0x193a16(0x283)])==null||_0x2bcb23[_0x193a16(0x206)](),this[_0x193a16(0x29a)][_0x193a16(0x24e)](null);let _0xc0ac94=document[_0x193a16(0x225)](Y);_0xc0ac94&&(_0xc0ac94[_0x193a16(0x1f6)][_0x193a16(0x211)]=_0x193a16(0x20d),this[_0x193a16(0x268)]&&(this[_0x193a16(0x268)]['terminate'](),this[_0x193a16(0x268)]=null));}[_0x2c98c3(0x25a)](_0x12647c,_0xebb095,_0x4c4f28){const _0x62e951=_0x2c98c3;var _0x11586a,_0x54f42a,_0x23ea7a,_0x5387eb;if(this[_0x62e951(0x283)])return;let _0x20d3c7=new _0x204662({'locales':{[this[_0x62e951(0x212)][_0x62e951(0x20f)]()]:this[_0x62e951(0x212)][_0x62e951(0x245)]()},'override':[[_0x1e6f8b,{'useClass':_0x18afd2}]]}),_0x4b1717=_0x20d3c7[_0x62e951(0x257)]();this[_0x62e951(0x20a)](this[_0x62e951(0x26c)]['darkMode$'][_0x62e951(0x22e)](_0x5ecf6e=>{const _0x1affcd=_0x62e951;_0x4b1717[_0x1affcd(0x231)](_0x2e6bde)['setDarkMode'](_0x5ecf6e);})),this[_0x62e951(0x20a)](this['_themeService'][_0x62e951(0x296)]['subscribe'](_0x8cc2f6=>{const _0x529f19=_0x62e951;_0x4b1717[_0x529f19(0x231)](_0x2e6bde)[_0x529f19(0x272)](_0x8cc2f6);})),_0x4b1717[_0x62e951(0x231)](_0x654c1)[_0x62e951(0x20b)](this['_localeService'][_0x62e951(0x20f)]()),_0x4b1717[_0x62e951(0x231)](_0x456f42)['setConfig'](_0x52014b,this['_configService']['getConfig'](_0x52014b));let _0xdafca=this[_0x62e951(0x25f)][_0x62e951(0x26e)](_0x599977);_0xdafca&&_0x20d3c7[_0x62e951(0x210)](_0x48f345,{'license':_0xdafca['ls']});let _0x213edb=(_0x11586a=this[_0x62e951(0x25f)][_0x62e951(0x26e)](_0x62e951(0x203)))==null?void 0x0:_0x11586a[_0x62e951(0x214)],_0x2baa7b=!!_0x213edb;_0x2baa7b&&(this[_0x62e951(0x268)]=_0x213edb instanceof Worker?_0x213edb:null,_0x20d3c7[_0x62e951(0x210)](_0x58c79c,{'workerURL':_0x213edb})),this[_0x62e951(0x278)]['forEach'](([_0x38ef27,_0x22568c])=>{const _0x2116fb=_0x62e951;_0x20d3c7[_0x2116fb(0x210)](_0x38ef27,_0x22568c);}),_0x20d3c7[_0x62e951(0x210)](_0x5a0398,{'historyListServerUrl':(_0x54f42a=this[_0x62e951(0x25f)][_0x62e951(0x26e)](_0x62e951(0x203)))==null?void 0x0:_0x54f42a[_0x62e951(0x220)],'historyPanelComponentKey':(_0x23ea7a=this[_0x62e951(0x25f)][_0x62e951(0x26e)](_0x62e951(0x203)))==null?void 0x0:_0x23ea7a[_0x62e951(0x23a)],'historyPanelHidden':(_0x5387eb=this[_0x62e951(0x25f)][_0x62e951(0x26e)]('edit-history-loader.config'))==null?void 0x0:_0x5387eb['historyPanelHidden']}),_0x4b1717[_0x62e951(0x266)](_0x2ab4ac=>{const _0x430751=_0x62e951;this[_0x430751(0x22d)](_0x2ab4ac,_0x12647c);}),this['_historyUniver$'][_0x62e951(0x24e)](_0x20d3c7);let _0x24a31f=_0x4b1717[_0x62e951(0x231)](_0x14ccf1),_0x1a18f2=this[_0x62e951(0x255)](_0x12647c),_0x371817=()=>{const _0x55b144=_0x62e951;_0x4c4f28?_0x24a31f[_0x55b144(0x280)](_0x12647c,_0xebb095,_0x1a18f2,_0x4c4f28):_0x24a31f[_0x55b144(0x1f3)](_0x12647c,_0xebb095,_0x1a18f2);};if(this['_messageService'][_0x62e951(0x2a0)]({'content':this[_0x62e951(0x212)]['t'](_0x62e951(0x292)),'type':_0x46fc5d[_0x62e951(0x28e)]}),_0x2baa7b)try{_0x4b1717[_0x62e951(0x231)](_0xb7f7e2)['whenReady']()[_0x62e951(0x21e)](()=>{_0x371817();});}catch{_0x371817();}else _0x371817();}[_0x2c98c3(0x22d)](_0x2d984f,_0x5b4d03){const _0x5882e0=_0x2c98c3;let _0x39856b=_0x2d984f[_0x5882e0(0x231)](_0x14ccf1);this['_disposableCollection']['add'](_0x39856b[_0x5882e0(0x1ef)][_0x5882e0(0x22e)](_0x5528e=>{const _0x1c6fad=_0x5882e0;switch(_0x5528e){case _0x34d6e2[_0x1c6fad(0x1f7)]:this[_0x1c6fad(0x207)][_0x1c6fad(0x25d)](),this[_0x1c6fad(0x299)][_0x1c6fad(0x1ed)]();break;case _0x34d6e2['Exited']:this['_commandService'][_0x1c6fad(0x267)](G['id']),this[_0x1c6fad(0x1f5)]();break;case _0x34d6e2[_0x1c6fad(0x218)]:this[_0x1c6fad(0x1f5)](),this[_0x1c6fad(0x202)][_0x1c6fad(0x2a0)]({'content':this[_0x1c6fad(0x212)]['t'](_0x1c6fad(0x25e)),'type':_0x46fc5d[_0x1c6fad(0x218)],'duration':0xbb8});break;default:break;}})),this[_0x5882e0(0x222)][_0x5882e0(0x217)](_0x39856b[_0x5882e0(0x249)][_0x5882e0(0x22e)](async _0x98cc1=>{const _0x5ddf7b=_0x5882e0;_0x98cc1&&this[_0x5ddf7b(0x263)][_0x5ddf7b(0x267)](_0x560657['id'],{'unitId':_0x5b4d03,'revision':_0x98cc1});}));}['_checkCanRevert'](_0x2f12bb){const _0xa7be5a=_0x2c98c3;let _0x36233a=this['_univerInstanceService'][_0xa7be5a(0x227)](_0x2f12bb)[_0xa7be5a(0x1f1)]()[_0xa7be5a(0x265)](_0x3c0c41=>_0x3c0c41[_0xa7be5a(0x287)]()),_0x1de4a1=new _0x25995a(_0x2f12bb)['id'],_0x4f33bf=_0x36233a[_0xa7be5a(0x265)](_0x3678a1=>new _0x92c484(_0x2f12bb,_0x3678a1)['id']),_0x3a41fb=_0x36233a[_0xa7be5a(0x265)](_0x5dcedc=>this[_0xa7be5a(0x279)][_0xa7be5a(0x269)](_0x2f12bb,_0x5dcedc)[_0xa7be5a(0x265)](_0x4b837d=>new _0x3b9a55(_0x2f12bb,_0x5dcedc,_0x4b837d[_0xa7be5a(0x223)])['id']))['flat'](),_0x281e09=new _0x497f38(_0x2f12bb)['id'];return this[_0xa7be5a(0x270)]['composePermission']([_0x1de4a1,..._0x4f33bf,..._0x3a41fb,_0x281e09])[_0xa7be5a(0x274)](_0x523695=>!!_0x523695[_0xa7be5a(0x1f0)]);}};X=V([B(0x0,_0x1f08fe(_0x654c1)),B(0x1,_0x3d12b2),B(0x2,_0x456f42),B(0x3,_0x2e9bae),B(0x4,_0x31ed3a),B(0x5,_0xdcfbf3),B(0x6,_0x1f08fe(_0x5b0249)),B(0x7,_0x1f08fe(_0x1fa8af)),B(0x8,_0x1f08fe(_0x328c4b)),B(0x9,_0x1f08fe(_0x2e6bde))],X);let Z=class extends _0x407da2{constructor(_0x38353c=L,_0x1346ad,_0x3f9af8){const _0x18eed1=_0x2c98c3;super(),this['_config']=_0x38353c,this[_0x18eed1(0x282)]=_0x1346ad,this[_0x18eed1(0x25f)]=_0x3f9af8;let {menu:_0x120818,..._0x1e798f}=_0xe15d42({},L,this[_0x18eed1(0x262)]);_0x120818&&this[_0x18eed1(0x25f)][_0x18eed1(0x27f)](_0x18eed1(0x1fb),_0x120818,{'merge':!0x0}),this['_configService'][_0x18eed1(0x27f)](I,_0x1e798f),this[_0x18eed1(0x262)][_0x18eed1(0x28f)]&&this['_configService'][_0x18eed1(0x27f)](_0x18eed1(0x29c),this[_0x18eed1(0x262)][_0x18eed1(0x28f)]);}[_0x2c98c3(0x1ee)](){const _0x4d93b2=_0x2c98c3;this[_0x4d93b2(0x282)][_0x4d93b2(0x217)]([q]),this[_0x4d93b2(0x282)][_0x4d93b2(0x231)](q),[[U,{'useClass':X}],[J]][_0x4d93b2(0x205)](_0x28bba0=>this[_0x4d93b2(0x282)][_0x4d93b2(0x217)](_0x28bba0));}[_0x2c98c3(0x285)](){const _0x2b011c=_0x2c98c3;this[_0x2b011c(0x282)][_0x2b011c(0x231)](J);}};z(Z,'type',_0x1728f[_0x2c98c3(0x1f8)]),z(Z,'pluginName','UNIVER_EDIT_HISTORY_LOADER_MOBILE_PLUGIN'),z(Z,_0x2c98c3(0x21c),K),z(Z,'version',lt),Z=V([_0x33bd82(_0x48f345),B(0x1,_0x1f08fe(_0x441c33)),B(0x2,_0x456f42)],Z);let Q=class extends _0x4f6e9a{constructor(_0x43a634,_0x2eb873,_0x460306,_0x2ffc46,_0x423ae2,_0x137865,_0x3963eb,_0x1946e6,_0x1277c3,_0x6c6669){const _0x4a4f00=_0x2c98c3;super(),this[_0x4a4f00(0x263)]=_0x43a634,this[_0x4a4f00(0x28d)]=_0x2eb873,this[_0x4a4f00(0x27a)]=_0x460306,this[_0x4a4f00(0x212)]=_0x2ffc46,this[_0x4a4f00(0x202)]=_0x423ae2,this['_collaborationController']=_0x137865,this['_localCacheService']=_0x3963eb,this[_0x4a4f00(0x240)]=_0x1946e6,this[_0x4a4f00(0x2a1)]=_0x1277c3,this[_0x4a4f00(0x293)]=_0x6c6669,z(this,_0x4a4f00(0x243),null),this[_0x4a4f00(0x29f)]();}[_0x2c98c3(0x29f)](){const _0x2bae68=_0x2c98c3;[W,G][_0x2bae68(0x205)](_0x1820b4=>this[_0x2bae68(0x20a)](_0x299a0e(this[_0x2bae68(0x263)][_0x2bae68(0x215)](_0x1820b4)))),this['_menuManagerService'][_0x2bae68(0x21b)](dt),this['disposeWithMe'](this[_0x2bae68(0x263)][_0x2bae68(0x25c)](async(_0x2b68fe,_0x34ad9f)=>{const _0x54b69c=_0x2bae68;if(_0x2b68fe['id']===_0x560657['id']){let {unitId:_0x2cfbdb}=_0x2b68fe[_0x54b69c(0x25b)];this[_0x54b69c(0x202)][_0x54b69c(0x2a0)]({'content':this[_0x54b69c(0x212)]['t']('edit-history-loader.panel.reverting'),'type':_0x46fc5d[_0x54b69c(0x28e)],'duration':0x1388});let _0x58b8a7=this[_0x54b69c(0x221)][_0x54b69c(0x275)](_0x2cfbdb);_0x34ad9f!=null&&_0x34ad9f['fromCollab']?this['_handleRevertAcknowledgement'](_0x58b8a7,async()=>(setTimeout(()=>window[_0x54b69c(0x250)][_0x54b69c(0x27b)]()),!0x0),!0x0):this[_0x54b69c(0x1e9)](_0x58b8a7,async()=>{const _0x23fa90=_0x54b69c;let _0x3cab5e=this[_0x23fa90(0x2a1)][_0x23fa90(0x23d)](_0x1728f[_0x23fa90(0x1ff)]),_0x11e5c7=_0x3cab5e==null?void 0x0:_0x3cab5e[_0x23fa90(0x219)]();if(!_0x11e5c7)return!0x1;this[_0x23fa90(0x2a1)][_0x23fa90(0x28b)](_0x2cfbdb);let _0x36b3a6=await this['_dataLoaderService'][_0x23fa90(0x22b)](_0x2cfbdb,_0x1728f[_0x23fa90(0x1ff)]);return _0x36b3a6&&_0x36b3a6 instanceof _0x37ac5f?(await this['_setupSubUnitSync'](_0x36b3a6,_0x11e5c7[_0x23fa90(0x287)]()),!0x0):!0x1;});}}));}[_0x2c98c3(0x1e9)](_0x257630,_0x516afa,_0x45d04f=!0x1){const _0x3a0f58=_0x2c98c3;let _0x3086aa=_0xdeab38([_0x257630['session'][_0x3a0f58(0x247)],_0x257630[_0x3a0f58(0x281)]])[_0x3a0f58(0x22e)](async([_0x456b62,_0x5b04dd])=>{const _0x393b26=_0x3a0f58;if(_0x456b62[_0x393b26(0x22c)]===_0x4cea28[_0x393b26(0x1f9)]&&(_0x5b04dd==null?void 0x0:_0x5b04dd['status'])===_0x546e92[_0x393b26(0x236)]&&_0x456b62['data']['mutations'][_0x393b26(0x204)](_0x52f97a=>_0x52f97a['id']===_0x560657['id'])&&await _0x516afa()){var _0x5b82cc;this[_0x393b26(0x27a)][_0x393b26(0x1f5)](),_0x3086aa['unsubscribe'](),this['_revertErrorTimer']&&clearTimeout(this[_0x393b26(0x243)]),await((_0x5b82cc=this[_0x393b26(0x239)])==null?void 0x0:_0x5b82cc['exhaustSavingTask']());}});_0x45d04f&&(this['_revertErrorTimer']=setTimeout(()=>{const _0x3c304a=_0x3a0f58;_0x3086aa[_0x3c304a(0x271)](),this[_0x3c304a(0x202)]['show']({'content':this[_0x3c304a(0x212)]['t'](_0x3c304a(0x1fa)),'type':_0x46fc5d['Error'],'duration':0xbb8});},0x1388));}async[_0x2c98c3(0x1e7)](_0x125e90,_0x44ee6a){const _0x36935c=_0x2c98c3;await this[_0x36935c(0x1e8)](_0x125e90,_0x44ee6a),_0x125e90[_0x36935c(0x24d)][_0x36935c(0x1eb)](_0x862647(this[_0x36935c(0x201)]))['subscribe'](_0x1ff2f1=>{const _0x445eea=_0x36935c;_0x1ff2f1&&this[_0x445eea(0x226)](_0x1ff2f1);}),this['_urlService'][_0x36935c(0x229)][_0x36935c(0x1eb)](_0x862647(this['dispose$']))[_0x36935c(0x22e)](()=>this['_updateSubUnitFromURLParams'](_0x125e90,_0x44ee6a));}[_0x2c98c3(0x226)](_0x71664a,_0x2f1d9a=!0x1){const _0xb2c50f=_0x2c98c3;let _0x512fa2=this[_0xb2c50f(0x293)][_0xb2c50f(0x277)](_0xb2c50f(0x273));_0x71664a[_0xb2c50f(0x287)]()!==_0x512fa2&&this[_0xb2c50f(0x293)][_0xb2c50f(0x251)](_0xb2c50f(0x273),_0x71664a[_0xb2c50f(0x287)](),_0x2f1d9a);}async[_0x2c98c3(0x1e8)](_0x150000,_0x56e088){const _0x3ba01e=_0x2c98c3;var _0xfc36df;if(!_0x56e088||!_0x150000[_0x3ba01e(0x1fd)](_0x56e088)){let _0x3e6c08=_0x150000['getUnhiddenWorksheets']()[0x0],_0x4c3ea4=_0x150000['getSheetBySheetId'](_0x3e6c08);if(!_0x4c3ea4)return;this['_updateURLWithCurrentState'](_0x4c3ea4,!0x0),await this['_commandService']['executeCommand'](_0x1c8176['id'],{'unitId':_0x150000['getUnitId'](),'subUnitId':_0x3e6c08});return;}((_0xfc36df=_0x150000[_0x3ba01e(0x219)]())==null?void 0x0:_0xfc36df['getSheetId']())!==_0x56e088&&await this[_0x3ba01e(0x263)][_0x3ba01e(0x267)](_0x1c8176['id'],{'unitId':_0x150000['getUnitId'](),'subUnitId':_0x56e088});}};Q=V([B(0x0,_0x2e9bae),B(0x1,_0x53bdc6),B(0x2,_0x1f08fe(U)),B(0x3,_0x1f08fe(_0x654c1)),B(0x4,_0x31ed3a),B(0x5,_0x1f08fe(_0x58c29a)),B(0x6,_0x2a77cc),B(0x7,_0x1f08fe(_0x1c9870)),B(0x8,_0x3d12b2),B(0x9,_0x4f50c6)],Q);let $=class extends _0x407da2{constructor(_0xf71b8=L,_0x189fed,_0x2863b4){const _0x4ae23f=_0x2c98c3;super(),this['_config']=_0xf71b8,this[_0x4ae23f(0x282)]=_0x189fed,this['_configService']=_0x2863b4;let {menu:_0x1b19a8,..._0x14f194}=_0xe15d42({},L,this[_0x4ae23f(0x262)]);_0x1b19a8&&this[_0x4ae23f(0x25f)]['setConfig'](_0x4ae23f(0x1fb),_0x1b19a8,{'merge':!0x0}),this['_configService'][_0x4ae23f(0x27f)](I,_0x14f194),this[_0x4ae23f(0x262)][_0x4ae23f(0x28f)]&&this[_0x4ae23f(0x25f)][_0x4ae23f(0x27f)](ct,this[_0x4ae23f(0x262)]['univerContainerId']);}['onStarting'](){const _0x125d56=_0x2c98c3;this[_0x125d56(0x282)]['add']([q]),this[_0x125d56(0x282)][_0x125d56(0x231)](q),[[U],[Q]][_0x125d56(0x205)](_0x58345f=>this[_0x125d56(0x282)][_0x125d56(0x217)](_0x58345f));}[_0x2c98c3(0x285)](){this['_injector']['get'](Q);}};z($,_0x2c98c3(0x29b),_0x1728f[_0x2c98c3(0x1f8)]),z($,_0x2c98c3(0x2a3),'UNIVER_EDIT_HISTORY_LOADER_PLUGIN'),z($,_0x2c98c3(0x21c),K),z($,_0x2c98c3(0x233),lt),$=V([_0x33bd82(_0x48f345),B(0x1,_0x1f08fe(_0x441c33)),B(0x2,_0x456f42)],$);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};
|
|
1
|
+
const _0x409922=_0x2299;(function(_0x2e263c,_0x71fe32){const _0x268818=_0x2299,_0x1c17cb=_0x2e263c();while(!![]){try{const _0x27e0ec=-parseInt(_0x268818(0x150))/0x1*(parseInt(_0x268818(0xf7))/0x2)+-parseInt(_0x268818(0x159))/0x3*(parseInt(_0x268818(0xee))/0x4)+-parseInt(_0x268818(0x12b))/0x5+-parseInt(_0x268818(0x124))/0x6+parseInt(_0x268818(0x194))/0x7+-parseInt(_0x268818(0x14f))/0x8*(-parseInt(_0x268818(0x14b))/0x9)+parseInt(_0x268818(0xfc))/0xa;if(_0x27e0ec===_0x71fe32)break;else _0x1c17cb['push'](_0x1c17cb['shift']());}catch(_0x560dc5){_0x1c17cb['push'](_0x1c17cb['shift']());}}}(_0x4ed2,0xa0c50));import{CommandType as _0x41839b,DependentOn as _0x6b338a,Disposable as _0x253e6f,DisposableCollection as _0x195037,IAuthzIoService as _0x308757,ICommandService as _0x158646,IConfigService as _0x3f6bfe,IPermissionService as _0x267279,IUniverInstanceService as _0x468cb5,Inject as _0x179ae0,Injector as _0x482193,LocaleService as _0x192e53,Plugin as _0xb06818,RxDisposable as _0x302ffb,ThemeService as _0x36c8d5,Univer as _0x96159b,UniverInstanceType as _0x24ccc7,Workbook as _0x5d6ce4,merge as _0x3d45d7,toDisposable as _0x4477b5}from'@univerjs/core';import{RangeProtectionPermissionEditPoint as _0x1d8f56,RangeProtectionRuleModel as _0x462b27,SetWorksheetActivateCommand as _0x34946a,UniverSheetsPlugin as _0x18baa2,WorkbookEditablePermission as _0x25e853,WorkbookRecoverHistoryPermission as _0x43377d,WorkbookViewHistoryPermission as _0x25838b,WorksheetEditPermission as _0x405ce7,getSheetCommandTarget as _0x38294f}from'@univerjs/sheets';import{CollaborationEvent as _0xb435d5,RevertRevisionMutation as _0xada5fa,UniverCollaborationPlugin as _0xe39bab}from'@univerjs-pro/collaboration';import{AuthzIoHttpService as _0x4e5dda,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x23599c,CollaborationController as _0x439c79,CollaborationStatus as _0xd91b47,DataLoaderService as _0x194832,ILocalCacheService as _0x2058b3}from'@univerjs-pro/collaboration-client';import{HistoryManagerService as _0x5089b0,HistoryModeStatus as _0x36d0f0,UniverEditHistoryViewerMobilePlugin as _0x21e2db,UniverEditHistoryViewerPlugin as _0x487ed5}from'@univerjs-pro/edit-history-viewer';import{LS_CONFIG_KEY as _0x4edd87,UniverLicensePlugin as _0x389014}from'@univerjs-pro/license';import{UniverSheetsChartPlugin as _0x23aade}from'@univerjs-pro/sheets-chart';import{UniverSheetsChartUIPlugin as _0x5efb42}from'@univerjs-pro/sheets-chart-ui';import{UniverSheetsPivotTablePlugin as _0x59ac6a}from'@univerjs-pro/sheets-pivot';import{UniverSheetsShapePlugin as _0x6832ec}from'@univerjs-pro/sheets-shape';import{UniverSheetsShapeUIPlugin as _0x4f0cd4}from'@univerjs-pro/sheets-shape-ui';import{UniverSheetSparklinePlugin as _0x21a7bc}from'@univerjs-pro/sheets-sparkline';import{UniverSheetSparklineUIPlugin as _0x51c738}from'@univerjs-pro/sheets-sparkline-ui';import{UniverDataValidationPlugin as _0x4b4300}from'@univerjs/data-validation';import{MessageType as _0x2d707a}from'@univerjs/design';import{UniverDocsPlugin as _0x2b3fea}from'@univerjs/docs';import{UniverDocsUIPlugin as _0x25355a}from'@univerjs/docs-ui';import{IImageIoService as _0x525a60,UniverDrawingPlugin as _0x1f02c0}from'@univerjs/drawing';import{UniverDrawingUIPlugin as _0x1bab73}from'@univerjs/drawing-ui';import{UniverFormulaEnginePlugin as _0x2f9814}from'@univerjs/engine-formula';import{UniverRenderEnginePlugin as _0x58a97e}from'@univerjs/engine-render';import{UniverNetworkPlugin as _0x33fd36}from'@univerjs/network';import{IRemoteInstanceService as _0x3c64ba,UniverRPCMainThreadPlugin as _0x393553}from'@univerjs/rpc';import{UniverSheetsConditionalFormattingPlugin as _0x41161b}from'@univerjs/sheets-conditional-formatting';function _0x4ed2(){const _0x279889=['getCurrentUnitOfType','univerContainerId','getSheets','invoke','dir','_updateURLWithCurrentState','subscribe','UNIVER_SHEET','width','_handleRevertAcknowledgement','pluginName','disposeWithMe','__getInjector','setLocale','3639118RUZcJO','Exited','UNIVER_CONTAINER_ID','urlChange$','next','Entered','add','object','[MobileHistoryLoaderService]:\x20Plugin\x20','edit-history-loader.panel.revertFailed','set','getOwnPropertyDescriptor','getConfig','_dialogService','setDirection','status','_permissionService','Error','_messageService','_initListener','from','composePermission','100%','closeAll','packageName','block','_configService','_disposableCollection','948HmmHrA','_setupSubUnitSync','then','createElement','loadUnit','display','constructor','exhaustSavingTask','_univerInstanceService','2171132fNvmFF','type','onCommandExecuted','_initUniver','_config','37808480tkeeAP','darkMode$','_commandService','edit-history-loader.panel.reverting','iterator','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','none','setDarkMode','absolute','triggerCustomVersions','Loading','_historyManagerService','_checkCanRevert','_localeService','_iconManager','_localCacheService','getSheetId','currentTheme$','session','fromCollab','_initPlugins','symbol','UNIVER_UNKNOWN','get','disposeUnit','some','_injector','_pluginMap','activeSheet$','revertRevision$','_menuManagerService','function','historyPanelComponentKey','dispose$','getCurrentLocale','has','historyUniver','string','prototype','dispose','4440540wATlnr','executeCommand','menu','getUnhiddenWorksheets','getSubunitRuleList','SYNCED','status$','6446210Qksajw','triggerLoadVersions','whenReady','setTheme','event$','direction','mountHistoryContent','values','historyListServerUrl','historyPanelHidden','version','decorate','zIndex','edit-history-loader.panel.listFetchError','UNIVER_EDIT_HISTORY_LOADER_MOBILE_PLUGIN','params','close','_sidebarService','pipe','subunit','edit-history-loader.info.initializing','setParam','getLocales','show','edit-history-loader.config','toPrimitive','value','style','_themeService','getAllPlugins','permissionId','reload','141903pYYplt','getElementById','_dataLoaderService','univer-container','16DdmKYI','1HqiZOo','_revertErrorTimer','_internalWebWorker','mergeMenu','getSheetBySheetId','appendChild','registerCommand','top','length','7074ECzelg','getParam','getUnitId','data','defineProperty','left','onStarting','flat','unsubscribe','workerURL','_init','historyUniver$','forEach','_initContainer','position','_updateSubUnitFromURLParams','onSteady','every','_selectionProtectionRuleModel','map','univer.operation.toggle-edit-history','\x20has\x20been\x20registered.','setConfig','div','univer.operation.exit-edit-history','_urlService','univer-history-container-mobile','unMountHistoryContent','[HistoryLoaderService]:\x20Plugin\x20','getDirection','height','dataset','eventID','history-container','state$','location','uComp','_collaborationController','_historyUniver$','removeAll','clear','OTHERS','registerPlugin','getActiveSheet','asObservable'];_0x4ed2=function(){return _0x279889;};return _0x4ed2();}import{UniverSheetsConditionalFormattingUIPlugin as _0x5ede93}from'@univerjs/sheets-conditional-formatting-ui';import{UniverSheetsDataValidationPlugin as _0x567d47}from'@univerjs/sheets-data-validation';import{UniverSheetsDataValidationMobileUIPlugin as _0x3cfdd4,UniverSheetsDataValidationUIPlugin as _0x36c19e}from'@univerjs/sheets-data-validation-ui';import{UniverSheetsDrawingPlugin as _0x321b1e}from'@univerjs/sheets-drawing';import{UniverSheetsDrawingUIPlugin as _0x50606b}from'@univerjs/sheets-drawing-ui';import{UniverSheetsFilterPlugin as _0x399b6a}from'@univerjs/sheets-filter';import{UniverSheetsFilterUIPlugin as _0x3aebb8}from'@univerjs/sheets-filter-ui';import{UniverSheetsFormulaPlugin as _0x1809a3}from'@univerjs/sheets-formula';import{UniverSheetsFormulaUIPlugin as _0x1221bc}from'@univerjs/sheets-formula-ui';import{UniverSheetsHyperLinkPlugin as _0x271a44}from'@univerjs/sheets-hyper-link';import{UniverSheetsHyperLinkUIPlugin as _0x23fb88}from'@univerjs/sheets-hyper-link-ui';import{UniverSheetsNumfmtPlugin as _0x2a0988}from'@univerjs/sheets-numfmt';import{UniverSheetsTablePlugin as _0x377ce0}from'@univerjs/sheets-table';import{UniverSheetsMobileUIPlugin as _0x362434,UniverSheetsUIPlugin as _0x1f81dd,getCurrentRangeDisable$ as _0x2f11dc}from'@univerjs/sheets-ui';import{IDialogService as _0xe605c2,IMenuManagerService as _0x3dda75,IMessageService as _0x528aad,ISidebarService as _0x4e42d2,IconManager as _0x5dfedf,MenuItemType as _0x529609,RibbonStartGroup as _0x509a73,UniverMobileUIPlugin as _0x12d99e,UniverUIPlugin as _0x4d9bfd,getMenuHiddenObservable as _0x3671b3}from'@univerjs/ui';import{BehaviorSubject as _0x2e8bfe,combineLatest as _0x383efd,takeUntil as _0x1e85b1}from'rxjs';import{HistoryIcon as _0x3e99e9}from'@univerjs/icons';import{IURLService as _0x56467c}from'@univerjs-pro/collaboration-client-ui';function _0x2299(_0x554c8f,_0x47dadb){_0x554c8f=_0x554c8f-0xdf;const _0x4ed23c=_0x4ed2();let _0x2299cc=_0x4ed23c[_0x554c8f];return _0x2299cc;}const L=_0x409922(0x143),R={'historyPanelComponentKey':'history-panel'};function at(_0x2fbe88){const _0xde0fa7=_0x409922;let _0x4add14=_0x2fbe88['getCurrentLocale']();return{'locale':_0x4add14,'locales':{[_0x4add14]:_0x2fbe88[_0xde0fa7(0x141)]()},'direction':_0x2fbe88[_0xde0fa7(0x176)]()};}function ot(_0x4efbf7,_0x2c71ff){const _0x3d1674=_0x409922;let _0x1bf739=_0x2c71ff[_0x3d1674(0x176)]();_0x4efbf7[_0x3d1674(0x18a)]=_0x1bf739,_0x4efbf7['style'][_0x3d1674(0x130)]=_0x1bf739;}function z(_0x541171){'@babel/helpers - typeof';const _0x5504df=_0x409922;return z=typeof Symbol==_0x5504df(0x11b)&&typeof Symbol[_0x5504df(0x100)]==_0x5504df(0x111)?function(_0x5734d5){return typeof _0x5734d5;}:function(_0x321f49){const _0x15669a=_0x5504df;return _0x321f49&&typeof Symbol==_0x15669a(0x11b)&&_0x321f49[_0x15669a(0xf4)]===Symbol&&_0x321f49!==Symbol[_0x15669a(0x122)]?_0x15669a(0x111):typeof _0x321f49;},z(_0x541171);}function st(_0x59e463,_0x298b5a){const _0x2738f1=_0x409922;if(z(_0x59e463)!=_0x2738f1(0x19b)||!_0x59e463)return _0x59e463;var _0x184b25=_0x59e463[Symbol[_0x2738f1(0x144)]];if(_0x184b25!==void 0x0){var _0x1da33b=_0x184b25['call'](_0x59e463,_0x298b5a||'default');if(z(_0x1da33b)!=_0x2738f1(0x19b))return _0x1da33b;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x298b5a===_0x2738f1(0x121)?String:Number)(_0x59e463);}function ct(_0x4526a6){const _0x5b5805=_0x409922;var _0xe9504c=st(_0x4526a6,'string');return z(_0xe9504c)==_0x5b5805(0x111)?_0xe9504c:_0xe9504c+'';}function B(_0x59f0f2,_0x22b231,_0x3cb9d4){const _0x4378a2=_0x409922;return(_0x22b231=ct(_0x22b231))in _0x59f0f2?Object[_0x4378a2(0x15d)](_0x59f0f2,_0x22b231,{'value':_0x3cb9d4,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x59f0f2[_0x22b231]=_0x3cb9d4,_0x59f0f2;}function V(_0x3f7c4,_0x2b3a2e){return function(_0x1a3ff1,_0x388d56){_0x2b3a2e(_0x1a3ff1,_0x388d56,_0x3f7c4);};}function H(_0x13e0dd,_0x128e3a,_0x26fd4e,_0x38c883){const _0xf50846=_0x409922;var _0x421a8d=arguments[_0xf50846(0x158)],_0x37456d=_0x421a8d<0x3?_0x128e3a:_0x38c883===null?_0x38c883=Object[_0xf50846(0x19f)](_0x128e3a,_0x26fd4e):_0x38c883,_0x4103dd;if(typeof Reflect=='object'&&typeof Reflect[_0xf50846(0x136)]==_0xf50846(0x11b))_0x37456d=Reflect[_0xf50846(0x136)](_0x13e0dd,_0x128e3a,_0x26fd4e,_0x38c883);else{for(var _0x199385=_0x13e0dd[_0xf50846(0x158)]-0x1;_0x199385>=0x0;_0x199385--)(_0x4103dd=_0x13e0dd[_0x199385])&&(_0x37456d=(_0x421a8d<0x3?_0x4103dd(_0x37456d):_0x421a8d>0x3?_0x4103dd(_0x128e3a,_0x26fd4e,_0x37456d):_0x4103dd(_0x128e3a,_0x26fd4e))||_0x37456d);}return _0x421a8d>0x3&&_0x37456d&&Object['defineProperty'](_0x128e3a,_0x26fd4e,_0x37456d),_0x37456d;}const lt=_0x409922(0x196),U='univer-history-container';let W=class extends _0x253e6f{constructor(_0x1a1ba7,_0x134eee,_0x49427f,_0x168fc9,_0x59e842,_0x1efb3b,_0x3399a2,_0x356a0c,_0xc580cd,_0x100cb6){const _0x11f598=_0x409922;super(),this[_0x11f598(0x109)]=_0x1a1ba7,this[_0x11f598(0xf6)]=_0x134eee,this[_0x11f598(0xec)]=_0x49427f,this['_commandService']=_0x168fc9,this[_0x11f598(0xe4)]=_0x59e842,this['_permissionService']=_0x1efb3b,this[_0x11f598(0x16b)]=_0x3399a2,this['_dialogService']=_0x356a0c,this[_0x11f598(0x13c)]=_0xc580cd,this['_themeService']=_0x100cb6,B(this,_0x11f598(0x17f),new _0x2e8bfe(null)),B(this,_0x11f598(0x164),this[_0x11f598(0x17f)][_0x11f598(0x185)]()),B(this,_0x11f598(0xed),new _0x195037()),B(this,_0x11f598(0x117),new Map()),B(this,'_internalWebWorker',null),this['_init']();}get['historyUniver'](){const _0x5c5133=_0x409922;return this[_0x5c5133(0x17f)][_0x5c5133(0x145)];}['_init'](){const _0x5b96bb=_0x409922;this['_initContainer'](),this[_0x5b96bb(0x110)]();}[_0x409922(0x166)](){const _0x9f3bff=_0x409922;var _0x112e97;let _0x234989=(_0x112e97=this[_0x9f3bff(0xec)]['getConfig'](_0x9f3bff(0x196)))==null?_0x9f3bff(0x14e):_0x112e97,_0x19cd71=document[_0x9f3bff(0x14c)](_0x234989);if(!_0x19cd71)return;let _0x24e1ab=document[_0x9f3bff(0xf1)]('div');_0x24e1ab['id']=U,_0x24e1ab[_0x9f3bff(0x178)][_0x9f3bff(0x17d)]=_0x9f3bff(0x17a),_0x24e1ab[_0x9f3bff(0x146)]['position']='absolute',_0x24e1ab[_0x9f3bff(0x146)][_0x9f3bff(0x157)]='0',_0x24e1ab[_0x9f3bff(0x146)][_0x9f3bff(0x15e)]='0',_0x24e1ab[_0x9f3bff(0x146)][_0x9f3bff(0x18e)]=_0x9f3bff(0xe8),_0x24e1ab['style'][_0x9f3bff(0x177)]='100%',_0x24e1ab[_0x9f3bff(0x146)][_0x9f3bff(0x137)]='49',_0x24e1ab['style'][_0x9f3bff(0xf3)]='none',ot(_0x24e1ab,this['_localeService']),_0x19cd71[_0x9f3bff(0x155)](_0x24e1ab);}[_0x409922(0x110)](){const _0x3aa4ac=_0x409922;[[_0x58a97e],[_0x4d9bfd,{'container':U,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0xe605c2,null]]}],[_0x33fd36],[_0x1f02c0,{'override':[[_0x525a60,null]]}],[_0x2b3fea,{'hasScroll':!0x1}],[_0x25355a],[_0x2a0988],[_0x18baa2,{'notExecuteFormula':!0x0}],[_0x1f81dd],[_0x1809a3],[_0x1221bc],[_0xe39bab],[_0x399b6a],[_0x3aebb8],[_0x41161b],[_0x5ede93],[_0x271a44],[_0x23fb88],[_0x4b4300],[_0x567d47],[_0x36c19e],[_0x2f9814,{'notExecuteFormula':!0x0}],[_0x1bab73],[_0x321b1e],[_0x50606b],[_0x21a7bc],[_0x51c738],[_0x23aade],[_0x5efb42],[_0x6832ec],[_0x4f0cd4],[_0x59ac6a,{'notExecuteFormula':!0x0}],[_0x377ce0]][_0x3aa4ac(0x165)](([_0x29b076,_0x34af09])=>this[_0x3aa4ac(0x183)](_0x29b076,_0x34af09));}[_0x409922(0x123)](){const _0x41c195=_0x409922;super[_0x41c195(0x123)](),this['unMountHistoryContent'](),this[_0x41c195(0x117)][_0x41c195(0x181)]();}[_0x409922(0x183)](_0x40a485,_0x25f3fb,_0x465dc0){const _0x46b57b=_0x409922;if(this['_pluginMap'][_0x46b57b(0x11f)](_0x40a485[_0x46b57b(0x190)])&&!_0x465dc0)throw Error(_0x46b57b(0x175)+_0x40a485['pluginName']+_0x46b57b(0x16e));this[_0x46b57b(0x117)][_0x46b57b(0x19e)](_0x40a485[_0x46b57b(0x190)],[_0x40a485,_0x25f3fb]);}[_0x409922(0x148)](){const _0x41def8=_0x409922;return Array['from'](this[_0x41def8(0x117)]['values']());}[_0x409922(0x131)](_0x1d4f29,_0x32cc7a){const _0x5d4b8b=_0x409922;let _0x532479=document['getElementById'](U);_0x532479&&(_0x532479[_0x5d4b8b(0x146)]['display']=_0x5d4b8b(0xeb),this[_0x5d4b8b(0xfa)](_0x1d4f29,U,_0x32cc7a));}[_0x409922(0x174)](){const _0x2e525a=_0x409922;var _0x295f50;this[_0x2e525a(0xed)][_0x2e525a(0x123)](),(_0x295f50=this[_0x2e525a(0x120)])==null||_0x295f50[_0x2e525a(0x123)](),this['_historyUniver$'][_0x2e525a(0x198)](null);let _0x5e0bb5=document['getElementById'](U);_0x5e0bb5&&(_0x5e0bb5[_0x2e525a(0x146)]['display']=_0x2e525a(0x102),this[_0x2e525a(0x152)]&&(this[_0x2e525a(0x152)]['terminate'](),this['_internalWebWorker']=null));}[_0x409922(0xfa)](_0x2fde97,_0x2efec6,_0x12e3d3){const _0x9ca3bf=_0x409922;var _0x510f10,_0x2587e2,_0x51f4bb,_0x1209bc,_0x506811;if(this[_0x9ca3bf(0x120)])return;let _0x4b34df=new _0x96159b({...at(this[_0x9ca3bf(0x109)]),'override':[[_0x308757,{'useClass':_0x4e5dda}]]}),_0x553f1f=_0x4b34df[_0x9ca3bf(0x192)]();this[_0x9ca3bf(0x191)](this['_themeService'][_0x9ca3bf(0xfd)][_0x9ca3bf(0x18c)](_0x33d3e2=>{const _0xbaacc2=_0x9ca3bf;_0x553f1f['get'](_0x36c8d5)[_0xbaacc2(0x103)](_0x33d3e2);})),this[_0x9ca3bf(0x191)](this['_themeService']['currentTheme$'][_0x9ca3bf(0x18c)](_0x3ada68=>{const _0x2ac1bf=_0x9ca3bf;_0x553f1f[_0x2ac1bf(0x113)](_0x36c8d5)[_0x2ac1bf(0x12e)](_0x3ada68);}));let _0x4a6567=_0x553f1f['get'](_0x192e53);_0x4a6567['setLocale'](this[_0x9ca3bf(0x109)][_0x9ca3bf(0x11e)]()),_0x4a6567[_0x9ca3bf(0xe0)](this[_0x9ca3bf(0x109)]['getDirection']()),_0x553f1f[_0x9ca3bf(0x113)](_0x3f6bfe)['setConfig'](_0x23599c,this[_0x9ca3bf(0xec)][_0x9ca3bf(0x1a0)](_0x23599c));let _0x5f2f07=this[_0x9ca3bf(0xec)]['getConfig'](_0x4edd87);_0x5f2f07&&_0x4b34df[_0x9ca3bf(0x183)](_0x389014,{'license':_0x5f2f07['ls']});let _0x5e8bd9=(_0x510f10=this['_configService'][_0x9ca3bf(0x1a0)](_0x9ca3bf(0x143)))==null?void 0x0:_0x510f10[_0x9ca3bf(0x162)],_0x9af506=!!_0x5e8bd9;_0x9af506&&(this[_0x9ca3bf(0x152)]=_0x5e8bd9 instanceof Worker?_0x5e8bd9:null,_0x4b34df['registerPlugin'](_0x393553,{'workerURL':_0x5e8bd9})),this['_pluginMap'][_0x9ca3bf(0x165)](([_0x3c96a5,_0x133260])=>{const _0x575316=_0x9ca3bf;_0x4b34df[_0x575316(0x183)](_0x3c96a5,_0x133260);}),_0x4b34df['registerPlugin'](_0x487ed5,{'historyListServerUrl':(_0x2587e2=this[_0x9ca3bf(0xec)][_0x9ca3bf(0x1a0)](_0x9ca3bf(0x143)))==null?void 0x0:_0x2587e2[_0x9ca3bf(0x133)],'historyPanelComponentKey':(_0x51f4bb=this[_0x9ca3bf(0xec)][_0x9ca3bf(0x1a0)]('edit-history-loader.config'))==null?void 0x0:_0x51f4bb[_0x9ca3bf(0x11c)],'historyPanelHidden':(_0x1209bc=this['_configService']['getConfig'](_0x9ca3bf(0x143)))==null?void 0x0:_0x1209bc[_0x9ca3bf(0x134)],'historyAIassistantEnabled':(_0x506811=this[_0x9ca3bf(0xec)][_0x9ca3bf(0x1a0)](_0x9ca3bf(0x143)))==null?void 0x0:_0x506811['historyAIassistantEnabled']}),_0x553f1f['invoke'](_0x3e4209=>{const _0x47ac04=_0x9ca3bf;this[_0x47ac04(0xe5)](_0x3e4209,_0x2fde97);}),this[_0x9ca3bf(0x17f)][_0x9ca3bf(0x198)](_0x4b34df);let _0x4b83db=_0x553f1f[_0x9ca3bf(0x113)](_0x5089b0),_0x5031b4=this[_0x9ca3bf(0x108)](_0x2fde97),_0x211ff6=()=>{const _0x3f6622=_0x9ca3bf;_0x12e3d3?_0x4b83db[_0x3f6622(0x105)](_0x2fde97,_0x2efec6,_0x5031b4,_0x12e3d3):_0x4b83db[_0x3f6622(0x12c)](_0x2fde97,_0x2efec6,_0x5031b4);};if(this[_0x9ca3bf(0xe4)][_0x9ca3bf(0x142)]({'content':this[_0x9ca3bf(0x109)]['t'](_0x9ca3bf(0x13f)),'type':_0x2d707a[_0x9ca3bf(0x106)]}),_0x9af506)try{_0x553f1f['get'](_0x3c64ba)[_0x9ca3bf(0x12d)]()[_0x9ca3bf(0xf0)](()=>{_0x211ff6();});}catch{_0x211ff6();}else _0x211ff6();}[_0x409922(0xe5)](_0x30b036,_0x22ce1f){const _0x116064=_0x409922;let _0x3b7b3a=_0x30b036[_0x116064(0x113)](_0x5089b0);this[_0x116064(0xed)]['add'](_0x3b7b3a[_0x116064(0x12a)][_0x116064(0x18c)](_0x19b540=>{const _0x299094=_0x116064;switch(_0x19b540){case _0x36d0f0['Entered']:this[_0x299094(0xdf)][_0x299094(0xe9)](),this[_0x299094(0x13c)][_0x299094(0x13b)]();break;case _0x36d0f0[_0x299094(0x195)]:this[_0x299094(0xfe)][_0x299094(0x125)](K['id']),this['unMountHistoryContent']();break;case _0x36d0f0['Error']:this[_0x299094(0x174)](),this[_0x299094(0xe4)]['show']({'content':this[_0x299094(0x109)]['t'](_0x299094(0x138)),'type':_0x2d707a[_0x299094(0xe3)],'duration':0xbb8});break;default:break;}})),this[_0x116064(0xed)][_0x116064(0x19a)](_0x3b7b3a['revertRevision$'][_0x116064(0x18c)](async _0x20898d=>{const _0x32d7fd=_0x116064;_0x20898d&&this[_0x32d7fd(0xfe)][_0x32d7fd(0x125)](_0xada5fa['id'],{'unitId':_0x22ce1f,'revision':_0x20898d});}));}[_0x409922(0x108)](_0x239215){const _0x1e07ef=_0x409922;let _0x3f8151=this[_0x1e07ef(0xf6)]['getUnit'](_0x239215)[_0x1e07ef(0x188)]()['map'](_0x1e4f2b=>_0x1e4f2b[_0x1e07ef(0x10c)]()),_0x5425e6=new _0x25e853(_0x239215)['id'],_0x19bc10=_0x3f8151[_0x1e07ef(0x16c)](_0x26c9db=>new _0x405ce7(_0x239215,_0x26c9db)['id']),_0xdb7d32=_0x3f8151[_0x1e07ef(0x16c)](_0x16a3cd=>this['_selectionProtectionRuleModel']['getSubunitRuleList'](_0x239215,_0x16a3cd)[_0x1e07ef(0x16c)](_0x435754=>new _0x1d8f56(_0x239215,_0x16a3cd,_0x435754[_0x1e07ef(0x149)])['id']))[_0x1e07ef(0x160)](),_0x6b5f56=new _0x43377d(_0x239215)['id'];return this[_0x1e07ef(0xe2)][_0x1e07ef(0xe7)]([_0x5425e6,..._0x19bc10,..._0xdb7d32,_0x6b5f56])[_0x1e07ef(0x16a)](_0x4201d8=>!!_0x4201d8[_0x1e07ef(0x145)]);}};W=H([V(0x0,_0x179ae0(_0x192e53)),V(0x1,_0x468cb5),V(0x2,_0x3f6bfe),V(0x3,_0x158646),V(0x4,_0x528aad),V(0x5,_0x267279),V(0x6,_0x179ae0(_0x462b27)),V(0x7,_0x179ae0(_0xe605c2)),V(0x8,_0x179ae0(_0x4e42d2)),V(0x9,_0x179ae0(_0x36c8d5))],W);const G={'id':_0x409922(0x16d),'type':_0x41839b['OPERATION'],'handler':_0x1aa7bf=>{const _0x66d661=_0x409922;let _0x501078=_0x1aa7bf[_0x66d661(0x113)](W),{unitId:_0x3508cf}=_0x38294f(_0x1aa7bf[_0x66d661(0x113)](_0x468cb5))||{};return _0x3508cf?(_0x501078[_0x66d661(0x131)](_0x3508cf),!0x0):!0x1;}},K={'id':_0x409922(0x171),'type':_0x41839b['OPERATION'],'handler':()=>!0x0};var ut='@univerjs-pro/edit-history-loader',dt='1.0.0-alpha.2';let q=class extends _0x253e6f{constructor(_0x1d88a3){const _0x1bc84f=_0x409922;super(),this[_0x1bc84f(0x10a)]=_0x1d88a3,this['_registerIcons']();}['_registerIcons'](){const _0x21fd95=_0x409922;this['disposeWithMe'](this[_0x21fd95(0x10a)]['register']({'HistoryIcon':_0x3e99e9}));}};q=H([V(0x0,_0x179ae0(_0x5dfedf))],q);function ft(_0x4b6275){const _0xfc9b10=_0x409922;return{'id':G['id'],'type':_0x529609['BUTTON'],'icon':'HistoryIcon','tooltip':'edit-history-loader.panel.title','hidden$':_0x3671b3(_0x4b6275,_0x24ccc7[_0xfc9b10(0x18d)]),'disabled$':_0x2f11dc(_0x4b6275,{'workbookTypes':[_0x25838b],'worksheetTypes':[],'rangeTypes':[]})};}const pt={[_0x509a73[_0x409922(0x182)]]:{[G['id']]:{'order':0.2,'menuItemFactory':ft}}};let J=class extends _0x302ffb{constructor(_0x4e6255,_0x17afb4,_0x471ebc,_0x3f8173,_0x5a06ca,_0x4632d2,_0x1c5c6f,_0x56cf32,_0x15c691,_0xf502ec){const _0x56afde=_0x409922;super(),this[_0x56afde(0xfe)]=_0x4e6255,this['_menuManagerService']=_0x17afb4,this['_historyManagerService']=_0x471ebc,this['_localeService']=_0x3f8173,this[_0x56afde(0xe4)]=_0x5a06ca,this[_0x56afde(0x17e)]=_0x4632d2,this[_0x56afde(0x10b)]=_0x1c5c6f,this[_0x56afde(0x14d)]=_0x56cf32,this['_univerInstanceService']=_0x15c691,this[_0x56afde(0x172)]=_0xf502ec,B(this,'_revertErrorTimer',null),this[_0x56afde(0x163)]();}[_0x409922(0x163)](){const _0x1d01ff=_0x409922;[G,K]['forEach'](_0x5950b8=>this['disposeWithMe'](_0x4477b5(this[_0x1d01ff(0xfe)][_0x1d01ff(0x156)](_0x5950b8)))),this[_0x1d01ff(0x11a)][_0x1d01ff(0x153)](pt),this[_0x1d01ff(0x191)](this[_0x1d01ff(0xfe)][_0x1d01ff(0xf9)](async(_0x47cee1,_0x513ddb)=>{const _0x1c50aa=_0x1d01ff;if(_0x47cee1['id']===_0xada5fa['id']){let {unitId:_0x4df5a1}=_0x47cee1['params'];this['_messageService'][_0x1c50aa(0x142)]({'content':this['_localeService']['t'](_0x1c50aa(0xff)),'type':_0x2d707a['Loading'],'duration':0x1388});let _0x559661=this[_0x1c50aa(0x17e)]['getCollabEntity'](_0x4df5a1);_0x513ddb!=null&&_0x513ddb[_0x1c50aa(0x10f)]?this[_0x1c50aa(0x18f)](_0x559661,async()=>(setTimeout(()=>window['location'][_0x1c50aa(0x14a)]()),!0x0),!0x0):this[_0x1c50aa(0x18f)](_0x559661,async()=>{const _0x1f63d7=_0x1c50aa;let _0xc00d24=this['_univerInstanceService'][_0x1f63d7(0x186)](_0x24ccc7[_0x1f63d7(0x18d)]),_0x5a8650=_0xc00d24==null?void 0x0:_0xc00d24[_0x1f63d7(0x184)]();if(!_0x5a8650)return!0x1;this[_0x1f63d7(0xf6)]['disposeUnit'](_0x4df5a1);let _0x5c7331=await this[_0x1f63d7(0x14d)][_0x1f63d7(0xf2)](_0x4df5a1,_0x24ccc7['UNIVER_SHEET']);return _0x5c7331&&_0x5c7331 instanceof _0x5d6ce4?(await this[_0x1f63d7(0xef)](_0x5c7331,_0x5a8650[_0x1f63d7(0x10c)]()),!0x0):!0x1;});}}));}['_handleRevertAcknowledgement'](_0x6f69bb,_0x538d13,_0x115fc2=!0x1){const _0x161bc0=_0x409922;let _0x2e099d=_0x383efd([_0x6f69bb[_0x161bc0(0x10e)]['event$'],_0x6f69bb[_0x161bc0(0x17b)]])[_0x161bc0(0x18c)](async([_0x49ee4e,_0x364a2c])=>{const _0x1a960b=_0x161bc0;if(_0x49ee4e[_0x1a960b(0x179)]===_0xb435d5['CHANGESET_ACK']&&(_0x364a2c==null?void 0x0:_0x364a2c[_0x1a960b(0xe1)])===_0xd91b47[_0x1a960b(0x129)]&&_0x49ee4e['data']['mutations'][_0x1a960b(0x115)](_0x2a86a8=>_0x2a86a8['id']===_0xada5fa['id'])&&await _0x538d13()){var _0x526582;this[_0x1a960b(0x107)][_0x1a960b(0x174)](),_0x2e099d[_0x1a960b(0x161)](),this[_0x1a960b(0x151)]&&clearTimeout(this[_0x1a960b(0x151)]),await((_0x526582=this[_0x1a960b(0x10b)])==null?void 0x0:_0x526582[_0x1a960b(0xf5)]()),this[_0x1a960b(0xe4)][_0x1a960b(0x180)]();}});_0x115fc2&&(this['_revertErrorTimer']=setTimeout(()=>{const _0x38e2c1=_0x161bc0;_0x2e099d['unsubscribe'](),this[_0x38e2c1(0xe4)][_0x38e2c1(0x142)]({'content':this[_0x38e2c1(0x109)]['t'](_0x38e2c1(0x19d)),'type':_0x2d707a['Error'],'duration':0xbb8});},0x1388));}async['_setupSubUnitSync'](_0x5a9448,_0x151ad5){const _0xa999d7=_0x409922;await this[_0xa999d7(0x168)](_0x5a9448,_0x151ad5),_0x5a9448[_0xa999d7(0x118)][_0xa999d7(0x13d)](_0x1e85b1(this[_0xa999d7(0x11d)]))[_0xa999d7(0x18c)](_0x1d6923=>{_0x1d6923&&this['_updateURLWithCurrentState'](_0x1d6923);}),this['_urlService'][_0xa999d7(0x197)][_0xa999d7(0x13d)](_0x1e85b1(this[_0xa999d7(0x11d)]))['subscribe'](()=>this[_0xa999d7(0x168)](_0x5a9448,_0x151ad5));}['_updateURLWithCurrentState'](_0x39bdfa,_0x8518f1=!0x1){const _0x26b34f=_0x409922;let _0x485653=this['_urlService'][_0x26b34f(0x15a)](_0x26b34f(0x13e));_0x39bdfa[_0x26b34f(0x10c)]()!==_0x485653&&this['_urlService'][_0x26b34f(0x140)](_0x26b34f(0x13e),_0x39bdfa[_0x26b34f(0x10c)](),_0x8518f1);}async[_0x409922(0x168)](_0x4f7af9,_0x40ae17){const _0xba67ec=_0x409922;var _0x475054;if(!_0x40ae17||!_0x4f7af9[_0xba67ec(0x154)](_0x40ae17)){let _0x581f23=_0x4f7af9[_0xba67ec(0x127)]()[0x0],_0x1d786c=_0x4f7af9['getSheetBySheetId'](_0x581f23);if(!_0x1d786c)return;this['_updateURLWithCurrentState'](_0x1d786c,!0x0),await this[_0xba67ec(0xfe)][_0xba67ec(0x125)](_0x34946a['id'],{'unitId':_0x4f7af9[_0xba67ec(0x15b)](),'subUnitId':_0x581f23});return;}((_0x475054=_0x4f7af9['getActiveSheet']())==null?void 0x0:_0x475054['getSheetId']())!==_0x40ae17&&await this[_0xba67ec(0xfe)]['executeCommand'](_0x34946a['id'],{'unitId':_0x4f7af9[_0xba67ec(0x15b)](),'subUnitId':_0x40ae17});}};J=H([V(0x0,_0x158646),V(0x1,_0x3dda75),V(0x2,_0x179ae0(W)),V(0x3,_0x179ae0(_0x192e53)),V(0x4,_0x528aad),V(0x5,_0x179ae0(_0x439c79)),V(0x6,_0x2058b3),V(0x7,_0x179ae0(_0x194832)),V(0x8,_0x468cb5),V(0x9,_0x56467c)],J);const Y=_0x409922(0x173);let X=class extends _0x253e6f{constructor(_0x54779b,_0x150bd8,_0x19af0b,_0x11f1fa,_0x420c76,_0x56b608,_0x38ace8,_0x585c65,_0x12518e,_0x3a7416){const _0x5364ec=_0x409922;super(),this[_0x5364ec(0x109)]=_0x54779b,this[_0x5364ec(0xf6)]=_0x150bd8,this[_0x5364ec(0xec)]=_0x19af0b,this[_0x5364ec(0xfe)]=_0x11f1fa,this[_0x5364ec(0xe4)]=_0x420c76,this[_0x5364ec(0xe2)]=_0x56b608,this['_selectionProtectionRuleModel']=_0x38ace8,this[_0x5364ec(0xdf)]=_0x585c65,this[_0x5364ec(0x13c)]=_0x12518e,this[_0x5364ec(0x147)]=_0x3a7416,B(this,_0x5364ec(0x17f),new _0x2e8bfe(null)),B(this,_0x5364ec(0x164),this[_0x5364ec(0x17f)]['asObservable']()),B(this,_0x5364ec(0xed),new _0x195037()),B(this,_0x5364ec(0x117),new Map()),B(this,_0x5364ec(0x152),null),this[_0x5364ec(0x163)]();}get[_0x409922(0x120)](){const _0x4273f8=_0x409922;return this[_0x4273f8(0x17f)][_0x4273f8(0x145)];}['_init'](){const _0x43b044=_0x409922;this[_0x43b044(0x166)](),this[_0x43b044(0x110)]();}['_initContainer'](){const _0x1798d2=_0x409922;var _0x2984c3;let _0xfc1d97=(_0x2984c3=this['_configService'][_0x1798d2(0x1a0)]('UNIVER_CONTAINER_ID'))==null?_0x1798d2(0x14e):_0x2984c3,_0x480b1d=document[_0x1798d2(0x14c)](_0xfc1d97);if(!_0x480b1d)return;let _0x139910=document[_0x1798d2(0xf1)](_0x1798d2(0x170));_0x139910['id']=Y,_0x139910[_0x1798d2(0x178)][_0x1798d2(0x17d)]=_0x1798d2(0x17a),_0x139910['style'][_0x1798d2(0x167)]=_0x1798d2(0x104),_0x139910[_0x1798d2(0x146)][_0x1798d2(0x157)]='0',_0x139910[_0x1798d2(0x146)]['left']='0',_0x139910[_0x1798d2(0x146)]['width']=_0x1798d2(0xe8),_0x139910[_0x1798d2(0x146)][_0x1798d2(0x177)]='100%',_0x139910[_0x1798d2(0x146)][_0x1798d2(0x137)]='49',_0x139910[_0x1798d2(0x146)]['display']=_0x1798d2(0x102),ot(_0x139910,this['_localeService']),_0x480b1d[_0x1798d2(0x155)](_0x139910);}[_0x409922(0x110)](){const _0x43e639=_0x409922;[[_0x58a97e],[_0x12d99e,{'container':Y,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0xe605c2,null]]}],[_0x33fd36],[_0x1f02c0,{'override':[[_0x525a60,null]]}],[_0x2b3fea,{'hasScroll':!0x1}],[_0x25355a],[_0x2a0988],[_0x18baa2,{'notExecuteFormula':!0x0}],[_0x362434],[_0x1809a3],[_0x1221bc],[_0xe39bab],[_0x399b6a],[_0x41161b],[_0x271a44],[_0x23fb88],[_0x4b4300],[_0x567d47],[_0x3cfdd4],[_0x2f9814,{'notExecuteFormula':!0x0}],[_0x1bab73],[_0x321b1e],[_0x50606b],[_0x21a7bc],[_0x51c738],[_0x23aade],[_0x5efb42],[_0x6832ec],[_0x4f0cd4],[_0x59ac6a,{'notExecuteFormula':!0x0}],[_0x377ce0]][_0x43e639(0x165)](([_0x43ce89,_0x578782])=>this['registerPlugin'](_0x43ce89,_0x578782));}[_0x409922(0x123)](){const _0xcd2012=_0x409922;super[_0xcd2012(0x123)](),this[_0xcd2012(0x174)](),this[_0xcd2012(0x117)][_0xcd2012(0x181)]();}[_0x409922(0x183)](_0x413c81,_0x42ced1,_0x29c6d8){const _0x306213=_0x409922;if(this[_0x306213(0x117)][_0x306213(0x11f)](_0x413c81[_0x306213(0x190)])&&!_0x29c6d8)throw Error(_0x306213(0x19c)+_0x413c81[_0x306213(0x190)]+_0x306213(0x16e));this[_0x306213(0x117)]['set'](_0x413c81['pluginName'],[_0x413c81,_0x42ced1]);}['getAllPlugins'](){const _0x45ec4d=_0x409922;return Array[_0x45ec4d(0xe6)](this[_0x45ec4d(0x117)][_0x45ec4d(0x132)]());}[_0x409922(0x131)](_0x120920,_0x52b2e8){const _0x9b3cad=_0x409922;let _0x491d5f=document[_0x9b3cad(0x14c)](Y);_0x491d5f&&(_0x491d5f[_0x9b3cad(0x146)][_0x9b3cad(0xf3)]=_0x9b3cad(0xeb),this['_initUniver'](_0x120920,Y,_0x52b2e8));}[_0x409922(0x174)](){const _0x125e1e=_0x409922;var _0x3a646e;this[_0x125e1e(0xed)]['dispose'](),(_0x3a646e=this['historyUniver'])==null||_0x3a646e[_0x125e1e(0x123)](),this[_0x125e1e(0x17f)][_0x125e1e(0x198)](null);let _0x279b44=document[_0x125e1e(0x14c)](Y);_0x279b44&&(_0x279b44[_0x125e1e(0x146)][_0x125e1e(0xf3)]=_0x125e1e(0x102),this[_0x125e1e(0x152)]&&(this[_0x125e1e(0x152)]['terminate'](),this[_0x125e1e(0x152)]=null));}[_0x409922(0xfa)](_0xf42903,_0x1d94f0,_0x3233a3){const _0x186160=_0x409922;var _0x2a158d,_0x378083,_0x914206,_0x40a323;if(this['historyUniver'])return;let _0x13bf81=new _0x96159b({...at(this['_localeService']),'override':[[_0x308757,{'useClass':_0x4e5dda}]]}),_0x19f396=_0x13bf81[_0x186160(0x192)]();this[_0x186160(0x191)](this['_themeService'][_0x186160(0xfd)][_0x186160(0x18c)](_0x192e5c=>{const _0x2e29ee=_0x186160;_0x19f396[_0x2e29ee(0x113)](_0x36c8d5)[_0x2e29ee(0x103)](_0x192e5c);})),this[_0x186160(0x191)](this[_0x186160(0x147)][_0x186160(0x10d)][_0x186160(0x18c)](_0x205efa=>{const _0x1312a0=_0x186160;_0x19f396[_0x1312a0(0x113)](_0x36c8d5)[_0x1312a0(0x12e)](_0x205efa);}));let _0x246e2f=_0x19f396[_0x186160(0x113)](_0x192e53);_0x246e2f[_0x186160(0x193)](this['_localeService'][_0x186160(0x11e)]()),_0x246e2f['setDirection'](this[_0x186160(0x109)][_0x186160(0x176)]()),_0x19f396[_0x186160(0x113)](_0x3f6bfe)['setConfig'](_0x23599c,this['_configService'][_0x186160(0x1a0)](_0x23599c));let _0x4dd753=this[_0x186160(0xec)][_0x186160(0x1a0)](_0x4edd87);_0x4dd753&&_0x13bf81['registerPlugin'](_0x389014,{'license':_0x4dd753['ls']});let _0x334d70=(_0x2a158d=this[_0x186160(0xec)][_0x186160(0x1a0)]('edit-history-loader.config'))==null?void 0x0:_0x2a158d['workerURL'],_0x1a3ec9=!!_0x334d70;_0x1a3ec9&&(this[_0x186160(0x152)]=_0x334d70 instanceof Worker?_0x334d70:null,_0x13bf81[_0x186160(0x183)](_0x393553,{'workerURL':_0x334d70})),this[_0x186160(0x117)][_0x186160(0x165)](([_0x3a2cc4,_0x4a352a])=>{const _0x411e2b=_0x186160;_0x13bf81[_0x411e2b(0x183)](_0x3a2cc4,_0x4a352a);}),_0x13bf81['registerPlugin'](_0x21e2db,{'historyListServerUrl':(_0x378083=this['_configService']['getConfig'](_0x186160(0x143)))==null?void 0x0:_0x378083[_0x186160(0x133)],'historyPanelComponentKey':(_0x914206=this[_0x186160(0xec)][_0x186160(0x1a0)](_0x186160(0x143)))==null?void 0x0:_0x914206[_0x186160(0x11c)],'historyPanelHidden':(_0x40a323=this[_0x186160(0xec)][_0x186160(0x1a0)](_0x186160(0x143)))==null?void 0x0:_0x40a323['historyPanelHidden']}),_0x19f396[_0x186160(0x189)](_0x479c89=>{const _0x5a9fbc=_0x186160;this[_0x5a9fbc(0xe5)](_0x479c89,_0xf42903);}),this['_historyUniver$'][_0x186160(0x198)](_0x13bf81);let _0x294ab5=_0x19f396['get'](_0x5089b0),_0x35883a=this[_0x186160(0x108)](_0xf42903),_0x55bbca=()=>{const _0x4676ee=_0x186160;_0x3233a3?_0x294ab5[_0x4676ee(0x105)](_0xf42903,_0x1d94f0,_0x35883a,_0x3233a3):_0x294ab5[_0x4676ee(0x12c)](_0xf42903,_0x1d94f0,_0x35883a);};if(this[_0x186160(0xe4)][_0x186160(0x142)]({'content':this['_localeService']['t'](_0x186160(0x13f)),'type':_0x2d707a[_0x186160(0x106)]}),_0x1a3ec9)try{_0x19f396[_0x186160(0x113)](_0x3c64ba)[_0x186160(0x12d)]()[_0x186160(0xf0)](()=>{_0x55bbca();});}catch{_0x55bbca();}else _0x55bbca();}[_0x409922(0xe5)](_0x399d9e,_0x36e2ec){const _0x40bad1=_0x409922;let _0x572010=_0x399d9e['get'](_0x5089b0);this[_0x40bad1(0xed)][_0x40bad1(0x19a)](_0x572010[_0x40bad1(0x12a)][_0x40bad1(0x18c)](_0x2e89c1=>{const _0x5d102b=_0x40bad1;switch(_0x2e89c1){case _0x36d0f0[_0x5d102b(0x199)]:this['_dialogService'][_0x5d102b(0xe9)](),this[_0x5d102b(0x13c)][_0x5d102b(0x13b)]();break;case _0x36d0f0[_0x5d102b(0x195)]:this['_commandService']['executeCommand'](K['id']),this['unMountHistoryContent']();break;case _0x36d0f0[_0x5d102b(0xe3)]:this[_0x5d102b(0x174)](),this[_0x5d102b(0xe4)][_0x5d102b(0x142)]({'content':this[_0x5d102b(0x109)]['t'](_0x5d102b(0x138)),'type':_0x2d707a[_0x5d102b(0xe3)],'duration':0xbb8});break;default:break;}})),this[_0x40bad1(0xed)]['add'](_0x572010[_0x40bad1(0x119)][_0x40bad1(0x18c)](async _0x40038d=>{const _0x2ae147=_0x40bad1;_0x40038d&&this[_0x2ae147(0xfe)]['executeCommand'](_0xada5fa['id'],{'unitId':_0x36e2ec,'revision':_0x40038d});}));}[_0x409922(0x108)](_0x46de9b){const _0x5af9d5=_0x409922;let _0x5dec07=this[_0x5af9d5(0xf6)]['getUnit'](_0x46de9b)[_0x5af9d5(0x188)]()['map'](_0x45e553=>_0x45e553[_0x5af9d5(0x10c)]()),_0x4f9f99=new _0x25e853(_0x46de9b)['id'],_0x47dd52=_0x5dec07[_0x5af9d5(0x16c)](_0x8b92a=>new _0x405ce7(_0x46de9b,_0x8b92a)['id']),_0x364b8b=_0x5dec07[_0x5af9d5(0x16c)](_0x29b2aa=>this[_0x5af9d5(0x16b)][_0x5af9d5(0x128)](_0x46de9b,_0x29b2aa)['map'](_0x1b6933=>new _0x1d8f56(_0x46de9b,_0x29b2aa,_0x1b6933['permissionId'])['id']))[_0x5af9d5(0x160)](),_0x257663=new _0x43377d(_0x46de9b)['id'];return this[_0x5af9d5(0xe2)][_0x5af9d5(0xe7)]([_0x4f9f99,..._0x47dd52,..._0x364b8b,_0x257663])['every'](_0x5a2230=>!!_0x5a2230[_0x5af9d5(0x145)]);}};X=H([V(0x0,_0x179ae0(_0x192e53)),V(0x1,_0x468cb5),V(0x2,_0x3f6bfe),V(0x3,_0x158646),V(0x4,_0x528aad),V(0x5,_0x267279),V(0x6,_0x179ae0(_0x462b27)),V(0x7,_0x179ae0(_0xe605c2)),V(0x8,_0x179ae0(_0x4e42d2)),V(0x9,_0x179ae0(_0x36c8d5))],X);let Z=class extends _0xb06818{constructor(_0x87071b=R,_0x468b64,_0x32ef09){const _0x4dc1a7=_0x409922;super(),this[_0x4dc1a7(0xfb)]=_0x87071b,this[_0x4dc1a7(0x116)]=_0x468b64,this[_0x4dc1a7(0xec)]=_0x32ef09;let {menu:_0x1a0fd2,..._0x5289a6}=_0x3d45d7({},R,this['_config']);_0x1a0fd2&&this[_0x4dc1a7(0xec)]['setConfig']('menu',_0x1a0fd2,{'merge':!0x0}),this[_0x4dc1a7(0xec)][_0x4dc1a7(0x16f)](L,_0x5289a6),this[_0x4dc1a7(0xfb)][_0x4dc1a7(0x187)]&&this[_0x4dc1a7(0xec)][_0x4dc1a7(0x16f)]('UNIVER_CONTAINER_ID',this[_0x4dc1a7(0xfb)][_0x4dc1a7(0x187)]);}['onStarting'](){const _0x2e4e45=_0x409922;this[_0x2e4e45(0x116)][_0x2e4e45(0x19a)]([q]),this[_0x2e4e45(0x116)][_0x2e4e45(0x113)](q),[[W,{'useClass':X}],[J]][_0x2e4e45(0x165)](_0x3ab639=>this[_0x2e4e45(0x116)][_0x2e4e45(0x19a)](_0x3ab639));}[_0x409922(0x169)](){const _0x363fb7=_0x409922;this[_0x363fb7(0x116)]['get'](J);}};B(Z,_0x409922(0xf8),_0x24ccc7[_0x409922(0x112)]),B(Z,'pluginName',_0x409922(0x139)),B(Z,_0x409922(0xea),ut),B(Z,_0x409922(0x135),dt),Z=H([_0x6b338a(_0x389014),V(0x1,_0x179ae0(_0x482193)),V(0x2,_0x3f6bfe)],Z);let Q=class extends _0x302ffb{constructor(_0x26457e,_0x4581b0,_0x506d14,_0x43e5ba,_0x2ecc99,_0x14172c,_0x46c3c1,_0xfb4989,_0x5387ee,_0x23ae5f){const _0x2ccfb2=_0x409922;super(),this[_0x2ccfb2(0xfe)]=_0x26457e,this[_0x2ccfb2(0x11a)]=_0x4581b0,this[_0x2ccfb2(0x107)]=_0x506d14,this['_localeService']=_0x43e5ba,this[_0x2ccfb2(0xe4)]=_0x2ecc99,this[_0x2ccfb2(0x17e)]=_0x14172c,this['_localCacheService']=_0x46c3c1,this[_0x2ccfb2(0x14d)]=_0xfb4989,this[_0x2ccfb2(0xf6)]=_0x5387ee,this[_0x2ccfb2(0x172)]=_0x23ae5f,B(this,_0x2ccfb2(0x151),null),this['_init']();}[_0x409922(0x163)](){const _0x41a3e6=_0x409922;[G,K][_0x41a3e6(0x165)](_0x311711=>this['disposeWithMe'](_0x4477b5(this[_0x41a3e6(0xfe)][_0x41a3e6(0x156)](_0x311711)))),this[_0x41a3e6(0x11a)][_0x41a3e6(0x153)](pt),this[_0x41a3e6(0x191)](this['_commandService'][_0x41a3e6(0xf9)](async(_0x4d2e9d,_0x53ef29)=>{const _0x2dbd4d=_0x41a3e6;if(_0x4d2e9d['id']===_0xada5fa['id']){let {unitId:_0x1b0d9f}=_0x4d2e9d[_0x2dbd4d(0x13a)];this['_messageService'][_0x2dbd4d(0x142)]({'content':this['_localeService']['t'](_0x2dbd4d(0xff)),'type':_0x2d707a[_0x2dbd4d(0x106)],'duration':0x1388});let _0x4eba8d=this['_collaborationController']['getCollabEntity'](_0x1b0d9f);_0x53ef29!=null&&_0x53ef29[_0x2dbd4d(0x10f)]?this[_0x2dbd4d(0x18f)](_0x4eba8d,async()=>(setTimeout(()=>window[_0x2dbd4d(0x17c)][_0x2dbd4d(0x14a)]()),!0x0),!0x0):this[_0x2dbd4d(0x18f)](_0x4eba8d,async()=>{const _0x39e2d1=_0x2dbd4d;let _0x3a14d9=this['_univerInstanceService']['getCurrentUnitOfType'](_0x24ccc7['UNIVER_SHEET']),_0x1b913b=_0x3a14d9==null?void 0x0:_0x3a14d9[_0x39e2d1(0x184)]();if(!_0x1b913b)return!0x1;this[_0x39e2d1(0xf6)][_0x39e2d1(0x114)](_0x1b0d9f);let _0x3b35fa=await this['_dataLoaderService'][_0x39e2d1(0xf2)](_0x1b0d9f,_0x24ccc7[_0x39e2d1(0x18d)]);return _0x3b35fa&&_0x3b35fa instanceof _0x5d6ce4?(await this[_0x39e2d1(0xef)](_0x3b35fa,_0x1b913b[_0x39e2d1(0x10c)]()),!0x0):!0x1;});}}));}[_0x409922(0x18f)](_0xf7a13e,_0x18029f,_0x1f6e7e=!0x1){const _0x1fe8e3=_0x409922;let _0x386f4b=_0x383efd([_0xf7a13e['session'][_0x1fe8e3(0x12f)],_0xf7a13e['state$']])['subscribe'](async([_0x774efd,_0x48fb4d])=>{const _0x136a99=_0x1fe8e3;if(_0x774efd[_0x136a99(0x179)]===_0xb435d5['CHANGESET_ACK']&&(_0x48fb4d==null?void 0x0:_0x48fb4d[_0x136a99(0xe1)])===_0xd91b47[_0x136a99(0x129)]&&_0x774efd[_0x136a99(0x15c)]['mutations']['some'](_0x5a6d17=>_0x5a6d17['id']===_0xada5fa['id'])&&await _0x18029f()){var _0x4003d1;this[_0x136a99(0x107)]['unMountHistoryContent'](),_0x386f4b[_0x136a99(0x161)](),this[_0x136a99(0x151)]&&clearTimeout(this['_revertErrorTimer']),await((_0x4003d1=this['_localCacheService'])==null?void 0x0:_0x4003d1['exhaustSavingTask']());}});_0x1f6e7e&&(this[_0x1fe8e3(0x151)]=setTimeout(()=>{const _0x5bb931=_0x1fe8e3;_0x386f4b[_0x5bb931(0x161)](),this['_messageService'][_0x5bb931(0x142)]({'content':this[_0x5bb931(0x109)]['t'](_0x5bb931(0x19d)),'type':_0x2d707a[_0x5bb931(0xe3)],'duration':0xbb8});},0x1388));}async[_0x409922(0xef)](_0x4c6767,_0x5c2ff0){const _0x9235da=_0x409922;await this['_updateSubUnitFromURLParams'](_0x4c6767,_0x5c2ff0),_0x4c6767[_0x9235da(0x118)][_0x9235da(0x13d)](_0x1e85b1(this[_0x9235da(0x11d)]))['subscribe'](_0x22853b=>{_0x22853b&&this['_updateURLWithCurrentState'](_0x22853b);}),this['_urlService']['urlChange$'][_0x9235da(0x13d)](_0x1e85b1(this[_0x9235da(0x11d)]))[_0x9235da(0x18c)](()=>this['_updateSubUnitFromURLParams'](_0x4c6767,_0x5c2ff0));}[_0x409922(0x18b)](_0x3f0f8b,_0x6e5d2f=!0x1){const _0x2d5f06=_0x409922;let _0x1f49d3=this['_urlService'][_0x2d5f06(0x15a)]('subunit');_0x3f0f8b[_0x2d5f06(0x10c)]()!==_0x1f49d3&&this[_0x2d5f06(0x172)][_0x2d5f06(0x140)]('subunit',_0x3f0f8b[_0x2d5f06(0x10c)](),_0x6e5d2f);}async[_0x409922(0x168)](_0x2c47c4,_0xd54630){const _0x4c9be1=_0x409922;var _0x5f1689;if(!_0xd54630||!_0x2c47c4[_0x4c9be1(0x154)](_0xd54630)){let _0x1c9e92=_0x2c47c4[_0x4c9be1(0x127)]()[0x0],_0x5d8f5a=_0x2c47c4['getSheetBySheetId'](_0x1c9e92);if(!_0x5d8f5a)return;this[_0x4c9be1(0x18b)](_0x5d8f5a,!0x0),await this[_0x4c9be1(0xfe)]['executeCommand'](_0x34946a['id'],{'unitId':_0x2c47c4[_0x4c9be1(0x15b)](),'subUnitId':_0x1c9e92});return;}((_0x5f1689=_0x2c47c4['getActiveSheet']())==null?void 0x0:_0x5f1689['getSheetId']())!==_0xd54630&&await this[_0x4c9be1(0xfe)][_0x4c9be1(0x125)](_0x34946a['id'],{'unitId':_0x2c47c4['getUnitId'](),'subUnitId':_0xd54630});}};Q=H([V(0x0,_0x158646),V(0x1,_0x3dda75),V(0x2,_0x179ae0(W)),V(0x3,_0x179ae0(_0x192e53)),V(0x4,_0x528aad),V(0x5,_0x179ae0(_0x439c79)),V(0x6,_0x2058b3),V(0x7,_0x179ae0(_0x194832)),V(0x8,_0x468cb5),V(0x9,_0x56467c)],Q);let $=class extends _0xb06818{constructor(_0x6f622f=R,_0xfb87a4,_0x18d8a1){const _0x580927=_0x409922;super(),this['_config']=_0x6f622f,this['_injector']=_0xfb87a4,this[_0x580927(0xec)]=_0x18d8a1;let {menu:_0x18ad7b,..._0x4c928d}=_0x3d45d7({},R,this[_0x580927(0xfb)]);_0x18ad7b&&this[_0x580927(0xec)][_0x580927(0x16f)](_0x580927(0x126),_0x18ad7b,{'merge':!0x0}),this[_0x580927(0xec)][_0x580927(0x16f)](L,_0x4c928d),this['_config'][_0x580927(0x187)]&&this[_0x580927(0xec)][_0x580927(0x16f)](lt,this[_0x580927(0xfb)][_0x580927(0x187)]);}[_0x409922(0x15f)](){const _0x54171f=_0x409922;this['_injector']['add']([q]),this[_0x54171f(0x116)]['get'](q),[[W],[Q]][_0x54171f(0x165)](_0x5aed47=>this[_0x54171f(0x116)][_0x54171f(0x19a)](_0x5aed47));}[_0x409922(0x169)](){const _0x4218c5=_0x409922;this[_0x4218c5(0x116)][_0x4218c5(0x113)](Q);}};B($,_0x409922(0xf8),_0x24ccc7[_0x409922(0x112)]),B($,_0x409922(0x190),_0x409922(0x101)),B($,_0x409922(0xea),ut),B($,_0x409922(0x135),dt),$=H([_0x6b338a(_0x389014),V(0x1,_0x179ae0(_0x482193)),V(0x2,_0x3f6bfe)],$);export{L as EDIT_HISTORY_LOADER_PLUGIN_CONFIG_KEY,W as HistoryLoaderService,X as MobileHistoryLoaderService,G as ToggleEditHistoryOperation,lt as UNIVER_CONTAINER_ID_KEY,U as UNIVER_HISTORY_CONTAINER_ID,Z as UniverEditHistoryLoaderMobilePlugin,$ as UniverEditHistoryLoaderPlugin};
|
package/lib/locale/ar-SA.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x5136b7=_0x269f;(function(_0x4e5477,_0x43da6d){const _0x45708b=_0x269f,_0x2eb76f=_0x4e5477();while(!![]){try{const _0x481bfc=parseInt(_0x45708b(0x108))/0x1+parseInt(_0x45708b(0x10a))/0x2*(parseInt(_0x45708b(0x104))/0x3)+parseInt(_0x45708b(0x107))/0x4*(-parseInt(_0x45708b(0x106))/0x5)+-parseInt(_0x45708b(0x103))/0x6+-parseInt(_0x45708b(0x10d))/0x7+parseInt(_0x45708b(0x105))/0x8*(parseInt(_0x45708b(0x102))/0x9)+parseInt(_0x45708b(0x10b))/0xa*(parseInt(_0x45708b(0x109))/0xb);if(_0x481bfc===_0x43da6d)break;else _0x2eb76f['push'](_0x2eb76f['shift']());}catch(_0x315538){_0x2eb76f['push'](_0x2eb76f['shift']());}}}(_0x599e,0x3613b));function _0x269f(_0x5977a0,_0x189f9c){_0x5977a0=_0x5977a0-0x102;const _0x599eea=_0x599e();let _0x269fb8=_0x599eea[_0x5977a0];return _0x269fb8;}function _0x599e(){const _0x3b5284=['687020EkVJqy','فشل\x20في\x20الحصول\x20على\x20قائمة\x20سجل\x20التحرير','575309jgkesX','27CwTgfP','1392306VjeKFn','8373DZdiJH','99128eklBQA','6595icDsjF','956FysrwB','211160uMTPPg','88UDJbiP','38evQbYQ'];_0x599e=function(){return _0x3b5284;};return _0x599e();}const e={'edit-history-loader':{'panel':{'title':'سجل\x20التحرير','reverting':'جارٍ\x20الاستعادة،\x20يرجى\x20الانتظار...','revertFailed':'خطأ\x20غير\x20معروف،\x20يرجى\x20تحديث\x20الصفحة\x20لعرض\x20نتيجة\x20الاستعادة','listFetchError':_0x5136b7(0x10c)},'info':{'initializing':'جارٍ\x20التهيئة،\x20يرجى\x20الانتظار...'}}};export{e as default};
|
package/lib/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x446c(_0x5d69a2,_0x519b12){_0x5d69a2=_0x5d69a2-0x1b7;const _0x457758=_0x4577();let _0x446cfe=_0x457758[_0x5d69a2];return _0x446cfe;}const _0x7e9ece=_0x446c;(function(_0x9c40e8,_0x69fc20){const _0x3ff3c5=_0x446c,_0x17d1e2=_0x9c40e8();while(!![]){try{const _0x2e7a81=-parseInt(_0x3ff3c5(0x1be))/0x1+parseInt(_0x3ff3c5(0x1b7))/0x2+parseInt(_0x3ff3c5(0x1b9))/0x3*(parseInt(_0x3ff3c5(0x1ba))/0x4)+-parseInt(_0x3ff3c5(0x1bf))/0x5*(parseInt(_0x3ff3c5(0x1bb))/0x6)+-parseInt(_0x3ff3c5(0x1b8))/0x7+parseInt(_0x3ff3c5(0x1c2))/0x8+-parseInt(_0x3ff3c5(0x1bd))/0x9*(-parseInt(_0x3ff3c5(0x1c0))/0xa);if(_0x2e7a81===_0x69fc20)break;else _0x17d1e2['push'](_0x17d1e2['shift']());}catch(_0x166004){_0x17d1e2['push'](_0x17d1e2['shift']());}}}(_0x4577,0xd0fdc));function _0x4577(){const _0x5047a1=['645424dGhWsC','7493325HsErDW','1369509qdTDDF','8YDIrGL','3328014FcVbEg','No\x20s\x27ha\x20pogut\x20obtenir\x20la\x20llista\x20de\x20l\x27historial','9pyRJKr','349207pbwIet','5wSlNSb','12181710zGuEcv','Inicialitzant,\x20espereu...','3011920swRaqj','Error\x20desconegut,\x20actualitzeu\x20la\x20pàgina\x20per\x20veure\x20el\x20resultat\x20de\x20la\x20restauració','Restaurant,\x20espereu...','Historial\x20d\x27edicions'];_0x4577=function(){return _0x5047a1;};return _0x4577();}const e={'edit-history-loader':{'panel':{'title':_0x7e9ece(0x1c5),'reverting':_0x7e9ece(0x1c4),'revertFailed':_0x7e9ece(0x1c3),'listFetchError':_0x7e9ece(0x1bc)},'info':{'initializing':_0x7e9ece(0x1c1)}}};export{e as default};
|
package/lib/locale/de-DE.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4ec4f9=_0x25c2;(function(_0x9edee4,_0x117000){const _0x12a4a8=_0x25c2,_0x535aa1=_0x9edee4();while(!![]){try{const _0x3681ad=-parseInt(_0x12a4a8(0xbb))/0x1*(-parseInt(_0x12a4a8(0xb4))/0x2)+parseInt(_0x12a4a8(0xba))/0x3+-parseInt(_0x12a4a8(0xb6))/0x4+parseInt(_0x12a4a8(0xb0))/0x5+-parseInt(_0x12a4a8(0xb8))/0x6*(parseInt(_0x12a4a8(0xb1))/0x7)+-parseInt(_0x12a4a8(0xb5))/0x8+-parseInt(_0x12a4a8(0xb2))/0x9*(-parseInt(_0x12a4a8(0xb9))/0xa);if(_0x3681ad===_0x117000)break;else _0x535aa1['push'](_0x535aa1['shift']());}catch(_0x47397e){_0x535aa1['push'](_0x535aa1['shift']());}}}(_0x2e48,0xc5232));function _0x25c2(_0x322fb4,_0x4d95fb){_0x322fb4=_0x322fb4-0xae;const _0x2e48f1=_0x2e48();let _0x25c2d2=_0x2e48f1[_0x322fb4];return _0x25c2d2;}const e={'edit-history-loader':{'panel':{'title':_0x4ec4f9(0xb7),'reverting':_0x4ec4f9(0xae),'revertFailed':_0x4ec4f9(0xaf),'listFetchError':'Fehler\x20beim\x20Abrufen\x20der\x20Bearbeitungshistorie'},'info':{'initializing':_0x4ec4f9(0xb3)}}};function _0x2e48(){const _0x96ea45=['622596tAyDkE','1WuInbo','Wiederherstellung\x20läuft,\x20bitte\x20warten...','Unbekannter\x20Fehler,\x20bitte\x20aktualisieren\x20Sie\x20die\x20Seite,\x20um\x20das\x20Ergebnis\x20der\x20Wiederherstellung\x20anzuzeigen','7570075cmvzkP','308vaUEGr','9JGLYFV','Initialisierung\x20läuft,\x20bitte\x20warten...','3160174sRHFzQ','6644432kjtiPP','1761920hNgyZP','Bearbeitungsverlauf','167916rJlsEH','82580QuAOdt'];_0x2e48=function(){return _0x96ea45;};return _0x2e48();}export{e as default};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x14e629=_0x28b9;(function(_0x4fddb0,_0x5dd531){const _0x11b312=_0x28b9,_0x7e804d=_0x4fddb0();while(!![]){try{const _0x51dc01=-parseInt(_0x11b312(0x17d))/0x1+parseInt(_0x11b312(0x180))/0x2+-parseInt(_0x11b312(0x184))/0x3+parseInt(_0x11b312(0x186))/0x4+-parseInt(_0x11b312(0x17f))/0x5+parseInt(_0x11b312(0x188))/0x6+parseInt(_0x11b312(0x181))/0x7;if(_0x51dc01===_0x5dd531)break;else _0x7e804d['push'](_0x7e804d['shift']());}catch(_0x97d032){_0x7e804d['push'](_0x7e804d['shift']());}}}(_0x3420,0x6d890));function _0x28b9(_0x39fc2a,_0x2fd630){_0x39fc2a=_0x39fc2a-0x17d;const _0x342083=_0x3420();let _0x28b9b1=_0x342083[_0x39fc2a];return _0x28b9b1;}const e={'edit-history-loader':{'panel':{'title':_0x14e629(0x185),'reverting':_0x14e629(0x183),'revertFailed':_0x14e629(0x182),'listFetchError':_0x14e629(0x187)},'info':{'initializing':_0x14e629(0x17e)}}};function _0x3420(){const _0x5244ad=['Failed\x20to\x20get\x20edit\x20history\x20list','643632yYfGYp','133467bfhMtE','Initializing,\x20please\x20wait...','659840VEtgPI','1273134WEYlVg','1421588PwXkqR','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','Reverting,\x20please\x20wait...','1349916WuIIpK','Edit\x20History','868560GNRAYb'];_0x3420=function(){return _0x5244ad;};return _0x3420();}export{e as default};
|
package/lib/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x3893(){const _0x62a546=['222648JDwUhp','440AfEXZR','322994klJfZu','42oejpTC','300085SpkrUC','85970ngmBgp','4tFIMqR','1800753RPZHTs','8ljGcoD','4FgScrC','Inicializando,\x20espere...','3608080hkesCo','Restaurando,\x20espere...','3477807ETCGHJ','No\x20se\x20pudo\x20obtener\x20la\x20lista\x20del\x20historial\x20de\x20ediciones'];_0x3893=function(){return _0x62a546;};return _0x3893();}const _0x3a980b=_0x2f98;(function(_0x3ce308,_0x1799e2){const _0x2001b9=_0x2f98,_0x447ee6=_0x3ce308();while(!![]){try{const _0x1bf12b=parseInt(_0x2001b9(0x1e0))/0x1*(-parseInt(_0x2001b9(0x1e1))/0x2)+-parseInt(_0x2001b9(0x1e2))/0x3*(parseInt(_0x2001b9(0x1e4))/0x4)+-parseInt(_0x2001b9(0x1df))/0x5*(-parseInt(_0x2001b9(0x1de))/0x6)+-parseInt(_0x2001b9(0x1dd))/0x7*(parseInt(_0x2001b9(0x1e3))/0x8)+-parseInt(_0x2001b9(0x1d9))/0x9+parseInt(_0x2001b9(0x1e6))/0xa+-parseInt(_0x2001b9(0x1dc))/0xb*(-parseInt(_0x2001b9(0x1db))/0xc);if(_0x1bf12b===_0x1799e2)break;else _0x447ee6['push'](_0x447ee6['shift']());}catch(_0x2b96eb){_0x447ee6['push'](_0x447ee6['shift']());}}}(_0x3893,0x4db7b));function _0x2f98(_0x358f53,_0x177401){_0x358f53=_0x358f53-0x1d9;const _0x38937f=_0x3893();let _0x2f988f=_0x38937f[_0x358f53];return _0x2f988f;}const e={'edit-history-loader':{'panel':{'title':'Historial\x20de\x20ediciones','reverting':_0x3a980b(0x1e7),'revertFailed':'Error\x20desconocido,\x20actualice\x20la\x20página\x20para\x20ver\x20el\x20resultado\x20de\x20la\x20restauración','listFetchError':_0x3a980b(0x1da)},'info':{'initializing':_0x3a980b(0x1e5)}}};export{e as default};
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x53ee(){const _0x2b2f1f=['2255960cPoBlM','در\x20حال\x20راهاندازی،\x20لطفا\x20صبر\x20کنید...','81552dcoEaW','در\x20حال\x20بازگردانی،\x20لطفا\x20صبر\x20کنید...','57056eFoYDe','4167702kpojwn','5870404vovQWT','دریافت\x20لیست\x20تاریخچه\x20ویرایش\x20ناموفق\x20بود','268252BAACst','19974060zYLPAU','74ryzXMy','1337ZHLDSQ'];_0x53ee=function(){return _0x2b2f1f;};return _0x53ee();}const _0xb66843=_0x3eba;(function(_0x28e03f,_0x1f6151){const _0x54baaf=_0x3eba,_0x11be26=_0x28e03f();while(!![]){try{const _0x52116a=parseInt(_0x54baaf(0x12a))/0x1+-parseInt(_0x54baaf(0x120))/0x2*(-parseInt(_0x54baaf(0x124))/0x3)+parseInt(_0x54baaf(0x128))/0x4+-parseInt(_0x54baaf(0x122))/0x5+-parseInt(_0x54baaf(0x127))/0x6+parseInt(_0x54baaf(0x121))/0x7*(parseInt(_0x54baaf(0x126))/0x8)+-parseInt(_0x54baaf(0x11f))/0x9;if(_0x52116a===_0x1f6151)break;else _0x11be26['push'](_0x11be26['shift']());}catch(_0x44c177){_0x11be26['push'](_0x11be26['shift']());}}}(_0x53ee,0xb45a4));function _0x3eba(_0x333ec5,_0x29ba80){_0x333ec5=_0x333ec5-0x11f;const _0x53eeb1=_0x53ee();let _0x3ebab6=_0x53eeb1[_0x333ec5];return _0x3ebab6;}const e={'edit-history-loader':{'panel':{'title':'تاریخچه\x20ویرایش','reverting':_0xb66843(0x125),'revertFailed':'خطای\x20ناشناخته،\x20لطفا\x20صفحه\x20را\x20بارگذاری\x20مجدد\x20کنید\x20تا\x20نتیجه\x20بازگردانی\x20را\x20مشاهده\x20کنید','listFetchError':_0xb66843(0x129)},'info':{'initializing':_0xb66843(0x123)}}};export{e as default};
|
package/lib/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x507f12=_0x324f;(function(_0xd0007,_0x5378df){const _0x291ddf=_0x324f,_0x1e4244=_0xd0007();while(!![]){try{const _0x4b1e14=-parseInt(_0x291ddf(0x1df))/0x1*(-parseInt(_0x291ddf(0x1e0))/0x2)+parseInt(_0x291ddf(0x1e5))/0x3+-parseInt(_0x291ddf(0x1e2))/0x4+parseInt(_0x291ddf(0x1e3))/0x5*(parseInt(_0x291ddf(0x1dc))/0x6)+-parseInt(_0x291ddf(0x1e6))/0x7+-parseInt(_0x291ddf(0x1e4))/0x8+-parseInt(_0x291ddf(0x1e1))/0x9;if(_0x4b1e14===_0x5378df)break;else _0x1e4244['push'](_0x1e4244['shift']());}catch(_0x20e7e4){_0x1e4244['push'](_0x1e4244['shift']());}}}(_0x5c1e,0xbc885));function _0x324f(_0x59e463,_0x4bcee5){_0x59e463=_0x59e463-0x1db;const _0x5c1eb9=_0x5c1e();let _0x324fc8=_0x5c1eb9[_0x59e463];return _0x324fc8;}const e={'edit-history-loader':{'panel':{'title':_0x507f12(0x1de),'reverting':'Restauration\x20en\x20cours,\x20veuillez\x20patienter...','revertFailed':_0x507f12(0x1dd),'listFetchError':'Échec\x20de\x20l\x27obtention\x20de\x20la\x20liste\x20de\x20l\x27historique'},'info':{'initializing':_0x507f12(0x1db)}}};export{e as default};function _0x5c1e(){const _0x42d152=['7864560LxiuZb','2475100CASteW','10dJIfaf','216264vsUZPS','3250194MKmhtW','1847741ewMlqH','Initialisation\x20en\x20cours,\x20veuillez\x20patienter...','366546EyerSe','Erreur\x20inconnue,\x20veuillez\x20actualiser\x20la\x20page\x20pour\x20voir\x20le\x20résultat\x20de\x20la\x20restauration','Historique\x20des\x20modifications','2DicPHg','1350260fxdbXL'];_0x5c1e=function(){return _0x42d152;};return _0x5c1e();}
|
package/lib/locale/id-ID.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x12d162=_0x1027;(function(_0x3d8ca7,_0x8d4002){const _0x6bbb20=_0x1027,_0x1d0df7=_0x3d8ca7();while(!![]){try{const _0x43b134=parseInt(_0x6bbb20(0xd6))/0x1+-parseInt(_0x6bbb20(0xd8))/0x2+parseInt(_0x6bbb20(0xd1))/0x3+parseInt(_0x6bbb20(0xdb))/0x4*(parseInt(_0x6bbb20(0xde))/0x5)+-parseInt(_0x6bbb20(0xd7))/0x6*(-parseInt(_0x6bbb20(0xd2))/0x7)+-parseInt(_0x6bbb20(0xda))/0x8*(-parseInt(_0x6bbb20(0xd4))/0x9)+-parseInt(_0x6bbb20(0xd9))/0xa;if(_0x43b134===_0x8d4002)break;else _0x1d0df7['push'](_0x1d0df7['shift']());}catch(_0x2149d6){_0x1d0df7['push'](_0x1d0df7['shift']());}}}(_0x453c,0xace1e));const e={'edit-history-loader':{'panel':{'title':_0x12d162(0xd3),'reverting':_0x12d162(0xdc),'revertFailed':_0x12d162(0xd5),'listFetchError':_0x12d162(0xdf)},'info':{'initializing':_0x12d162(0xdd)}}};function _0x1027(_0x4521f7,_0x2c5f06){_0x4521f7=_0x4521f7-0xd1;const _0x453c8f=_0x453c();let _0x102780=_0x453c8f[_0x4521f7];return _0x102780;}function _0x453c(){const _0x6a8a36=['324468RewlQT','Kesalahan\x20tidak\x20diketahui,\x20harap\x20segarkan\x20halaman\x20untuk\x20melihat\x20hasil\x20pengembalian','397721QaLKMS','20850RJXXDU','411890PihsoV','8606610bgMSMr','8XAkheX','1480372nueNzv','Mengembalikan,\x20harap\x20tunggu...','Menginisialisasi,\x20harap\x20tunggu...','5XmDAdN','Gagal\x20mendapatkan\x20daftar\x20riwayat\x20edit','2860473cmzkaq','35zdHKfl','Riwayat\x20Edit'];_0x453c=function(){return _0x6a8a36;};return _0x453c();}export{e as default};
|
package/lib/locale/it-IT.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x49c6(_0x358918,_0x55aba1){_0x358918=_0x358918-0x187;const _0x4c5589=_0x4c55();let _0x49c6e4=_0x4c5589[_0x358918];return _0x49c6e4;}const _0x124202=_0x49c6;(function(_0x45ec46,_0x4e0f55){const _0x3c2dfc=_0x49c6,_0x3752a3=_0x45ec46();while(!![]){try{const _0x272ebe=parseInt(_0x3c2dfc(0x18e))/0x1*(parseInt(_0x3c2dfc(0x195))/0x2)+-parseInt(_0x3c2dfc(0x18b))/0x3+parseInt(_0x3c2dfc(0x18f))/0x4+parseInt(_0x3c2dfc(0x190))/0x5*(-parseInt(_0x3c2dfc(0x18d))/0x6)+parseInt(_0x3c2dfc(0x193))/0x7*(-parseInt(_0x3c2dfc(0x18c))/0x8)+-parseInt(_0x3c2dfc(0x191))/0x9*(-parseInt(_0x3c2dfc(0x196))/0xa)+-parseInt(_0x3c2dfc(0x18a))/0xb*(parseInt(_0x3c2dfc(0x192))/0xc);if(_0x272ebe===_0x4e0f55)break;else _0x3752a3['push'](_0x3752a3['shift']());}catch(_0x17e302){_0x3752a3['push'](_0x3752a3['shift']());}}}(_0x4c55,0x1f01e));const e={'edit-history-loader':{'panel':{'title':_0x124202(0x187),'reverting':_0x124202(0x188),'revertFailed':_0x124202(0x189),'listFetchError':_0x124202(0x194)},'info':{'initializing':'Inizializzazione\x20in\x20corso,\x20attendi...'}}};export{e as default};function _0x4c55(){const _0x36d27b=['4KKzZvW','460160UvBnsn','3240fRFnSV','1584JZcwxw','21864Maszpo','89215GKfKqo','Impossibile\x20ottenere\x20l\x27elenco\x20della\x20cronologia\x20modifiche','81742nzTVoJ','2450dlMEcP','Cronologia\x20modifiche','Ripristino\x20in\x20corso,\x20attendi...','Errore\x20sconosciuto,\x20aggiorna\x20la\x20pagina\x20per\x20visualizzare\x20il\x20risultato\x20del\x20ripristino','11VKmOhM','124197GTnPXX','8ATOhVo','1284toTWPx'];_0x4c55=function(){return _0x36d27b;};return _0x4c55();}
|
package/lib/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x5541(){const _0x1a19fc=['770460FMQJqg','2571148OvHquU','28972730AjYYjZ','66174UsbWMY','不明なエラーが発生しました。ページを更新して復元結果を確認してください','580092knlYVk','7814552gndIho','595nspcOg','9cdDoXj','編集履歴リストの取得に失敗しました','編集履歴','復元中です。お待ちください...','1316055ldgFQx','25IMdmPD'];_0x5541=function(){return _0x1a19fc;};return _0x5541();}const _0x4f961b=_0x28c7;function _0x28c7(_0x51d0ab,_0x3765ba){_0x51d0ab=_0x51d0ab-0x1b5;const _0x5541ad=_0x5541();let _0x28c7ac=_0x5541ad[_0x51d0ab];return _0x28c7ac;}(function(_0x35df46,_0x175697){const _0x342233=_0x28c7,_0x41269b=_0x35df46();while(!![]){try{const _0x39e1d0=parseInt(_0x342233(0x1c2))/0x1+-parseInt(_0x342233(0x1b5))/0x2+-parseInt(_0x342233(0x1c0))/0x3+parseInt(_0x342233(0x1b9))/0x4*(parseInt(_0x342233(0x1c1))/0x5)+-parseInt(_0x342233(0x1b7))/0x6*(parseInt(_0x342233(0x1bb))/0x7)+-parseInt(_0x342233(0x1ba))/0x8+parseInt(_0x342233(0x1bc))/0x9*(parseInt(_0x342233(0x1b6))/0xa);if(_0x39e1d0===_0x175697)break;else _0x41269b['push'](_0x41269b['shift']());}catch(_0x43b895){_0x41269b['push'](_0x41269b['shift']());}}}(_0x5541,0xb8281));const e={'edit-history-loader':{'panel':{'title':_0x4f961b(0x1be),'reverting':_0x4f961b(0x1bf),'revertFailed':_0x4f961b(0x1b8),'listFetchError':_0x4f961b(0x1bd)},'info':{'initializing':'初期化中です。お待ちください...'}}};export{e as default};
|
package/lib/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2be358=_0x1f76;function _0x2867(){const _0x523a34=['4524176iarBLJ','7942212bfIIeU','2fpQoZN','129928CAPfAx','복원\x20중입니다.\x20잠시만\x20기다려\x20주세요...','초기화\x20중입니다.\x20잠시만\x20기다려\x20주세요...','1020787ORNemu','315426jeMOQW','편집\x20기록\x20목록을\x20가져오지\x20못했습니다','편집\x20기록','12346190LmGIWX','7HODvkq','770829RqVvlX','25hUymbv','알\x20수\x20없는\x20오류가\x20발생했습니다.\x20페이지를\x20새로\x20고침하여\x20복원\x20결과를\x20확인하세요'];_0x2867=function(){return _0x523a34;};return _0x2867();}(function(_0x56eb77,_0x56f391){const _0x2e6941=_0x1f76,_0x37170d=_0x56eb77();while(!![]){try{const _0x19ce42=parseInt(_0x2e6941(0x1d0))/0x1*(-parseInt(_0x2e6941(0x1cc))/0x2)+-parseInt(_0x2e6941(0x1d6))/0x3+parseInt(_0x2e6941(0x1cd))/0x4+parseInt(_0x2e6941(0x1d7))/0x5*(parseInt(_0x2e6941(0x1d1))/0x6)+parseInt(_0x2e6941(0x1d5))/0x7*(-parseInt(_0x2e6941(0x1d9))/0x8)+parseInt(_0x2e6941(0x1da))/0x9+parseInt(_0x2e6941(0x1d4))/0xa;if(_0x19ce42===_0x56f391)break;else _0x37170d['push'](_0x37170d['shift']());}catch(_0x1add8e){_0x37170d['push'](_0x37170d['shift']());}}}(_0x2867,0x8af54));function _0x1f76(_0x378d46,_0x579862){_0x378d46=_0x378d46-0x1cc;const _0x2867f4=_0x2867();let _0x1f7659=_0x2867f4[_0x378d46];return _0x1f7659;}const e={'edit-history-loader':{'panel':{'title':_0x2be358(0x1d3),'reverting':_0x2be358(0x1ce),'revertFailed':_0x2be358(0x1d8),'listFetchError':_0x2be358(0x1d2)},'info':{'initializing':_0x2be358(0x1cf)}}};export{e as default};
|
package/lib/locale/pl-PL.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x82ffc=_0x1b4f;function _0x2b3f(){const _0x2f45bb=['Nieznany\x20błąd,\x20odśwież\x20stronę,\x20aby\x20zobaczyć\x20wynik\x20przywracania','18KNHdjz','15zRxqHw','6QacNyx','Historia\x20edycji','58352ptCkDP','196816rOGibd','900476qbRHmo','1926860fKguqp','1379861JyaISn','946490ZMnkYn','380012TDBQGB','33dcgUIl','Przywracanie,\x20proszę\x20czekać...'];_0x2b3f=function(){return _0x2f45bb;};return _0x2b3f();}(function(_0x347570,_0x522222){const _0x26ec4c=_0x1b4f,_0x2b5ae7=_0x347570();while(!![]){try{const _0x3b077a=-parseInt(_0x26ec4c(0x127))/0x1+parseInt(_0x26ec4c(0x129))/0x2+parseInt(_0x26ec4c(0x124))/0x3*(-parseInt(_0x26ec4c(0x11f))/0x4)+parseInt(_0x26ec4c(0x12a))/0x5+-parseInt(_0x26ec4c(0x125))/0x6*(-parseInt(_0x26ec4c(0x12b))/0x7)+parseInt(_0x26ec4c(0x128))/0x8*(parseInt(_0x26ec4c(0x123))/0x9)+-parseInt(_0x26ec4c(0x11e))/0xa*(parseInt(_0x26ec4c(0x120))/0xb);if(_0x3b077a===_0x522222)break;else _0x2b5ae7['push'](_0x2b5ae7['shift']());}catch(_0x789122){_0x2b5ae7['push'](_0x2b5ae7['shift']());}}}(_0x2b3f,0x409af));const e={'edit-history-loader':{'panel':{'title':_0x82ffc(0x126),'reverting':_0x82ffc(0x121),'revertFailed':_0x82ffc(0x122),'listFetchError':'Nie\x20udało\x20się\x20pobrać\x20listy\x20historii\x20edycji'},'info':{'initializing':'Inicjalizowanie,\x20proszę\x20czekać...'}}};function _0x1b4f(_0x383df4,_0x45d17d){_0x383df4=_0x383df4-0x11e;const _0x2b3f1d=_0x2b3f();let _0x1b4f18=_0x2b3f1d[_0x383df4];return _0x1b4f18;}export{e as default};
|
package/lib/locale/pt-BR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x3f6aad=_0x2381;(function(_0x41ed9f,_0x1311f6){const _0x5c4b35=_0x2381,_0x3d7540=_0x41ed9f();while(!![]){try{const _0x156452=parseInt(_0x5c4b35(0x8a))/0x1*(-parseInt(_0x5c4b35(0x94))/0x2)+parseInt(_0x5c4b35(0x8b))/0x3+parseInt(_0x5c4b35(0x92))/0x4+parseInt(_0x5c4b35(0x95))/0x5*(-parseInt(_0x5c4b35(0x89))/0x6)+parseInt(_0x5c4b35(0x8e))/0x7+parseInt(_0x5c4b35(0x93))/0x8+parseInt(_0x5c4b35(0x8c))/0x9*(-parseInt(_0x5c4b35(0x96))/0xa);if(_0x156452===_0x1311f6)break;else _0x3d7540['push'](_0x3d7540['shift']());}catch(_0xb15ec5){_0x3d7540['push'](_0x3d7540['shift']());}}}(_0x67c0,0x6d6a7));function _0x2381(_0x351942,_0x2435f4){_0x351942=_0x351942-0x89;const _0x67c08d=_0x67c0();let _0x23813f=_0x67c08d[_0x351942];return _0x23813f;}const e={'edit-history-loader':{'panel':{'title':_0x3f6aad(0x8d),'reverting':_0x3f6aad(0x8f),'revertFailed':_0x3f6aad(0x91),'listFetchError':_0x3f6aad(0x97)},'info':{'initializing':_0x3f6aad(0x90)}}};export{e as default};function _0x67c0(){const _0xa166e0=['Revertendo,\x20aguarde...','Inicializando,\x20aguarde...','Erro\x20desconhecido,\x20atualize\x20a\x20página\x20para\x20ver\x20o\x20resultado\x20da\x20reversão','2245152oKPSIn','5549712cjHneo','2boWygZ','5jktoPS','30dVMrRR','Falha\x20ao\x20obter\x20a\x20lista\x20de\x20histórico\x20de\x20edição','318012jOwQAh','414097WNmJtV','1786143VLBsKp','2827701xeojuF','Histórico\x20de\x20Edição','52150CYgJdq'];_0x67c0=function(){return _0xa166e0;};return _0x67c0();}
|
package/lib/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x1ac82e=_0x55fd;(function(_0xca059e,_0x39a185){const _0x127480=_0x55fd,_0x1882b7=_0xca059e();while(!![]){try{const _0x1b44b2=parseInt(_0x127480(0xda))/0x1+-parseInt(_0x127480(0xd7))/0x2*(parseInt(_0x127480(0xd8))/0x3)+parseInt(_0x127480(0xd9))/0x4+-parseInt(_0x127480(0xdd))/0x5+parseInt(_0x127480(0xd6))/0x6*(parseInt(_0x127480(0xdc))/0x7)+-parseInt(_0x127480(0xd5))/0x8+-parseInt(_0x127480(0xd1))/0x9*(parseInt(_0x127480(0xcf))/0xa);if(_0x1b44b2===_0x39a185)break;else _0x1882b7['push'](_0x1882b7['shift']());}catch(_0x48ef6d){_0x1882b7['push'](_0x1882b7['shift']());}}}(_0x3546,0x304b1));function _0x55fd(_0x499b16,_0x476d0c){_0x499b16=_0x499b16-0xcf;const _0x354618=_0x3546();let _0x55fd53=_0x354618[_0x499b16];return _0x55fd53;}const e={'edit-history-loader':{'panel':{'title':_0x1ac82e(0xd2),'reverting':_0x1ac82e(0xdb),'revertFailed':_0x1ac82e(0xd4),'listFetchError':_0x1ac82e(0xd0)},'info':{'initializing':_0x1ac82e(0xd3)}}};export{e as default};function _0x3546(){const _0x5df009=['81057tVuHdz','1322444hxnWoS','68243iBpiAp','Восстановление,\x20подождите...','14413ZKHGKm','1370035tBliTk','10rxtaSD','Не\x20удалось\x20получить\x20список\x20истории\x20изменений','1293471LrsSbG','История\x20изменений','Инициализация,\x20подождите...','Неизвестная\x20ошибка,\x20обновите\x20страницу\x20для\x20просмотра\x20результата\x20восстановления','1147136ikGyJZ','1128vaglsx','2ooSmuH'];_0x3546=function(){return _0x5df009;};return _0x3546();}
|
package/lib/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x1c6b44=_0x4cdf;function _0xe414(){const _0x21950f=['2151OpXUmo','Neznáma\x20chyba,\x20obnovte\x20stránku\x20a\x20pozrite\x20si\x20výsledok\x20obnovenia','Obnovuje\x20sa,\x20prosím\x20počkajte...','80YnmMhW','1537893ntVtJK','3213042ocLgbM','1089286jkeEmP','1654tuBDXa','251040BpUhVf','295280AYiruY','7322589aKJWOy','História\x20úprav','Inicializace,\x20prosím\x20počkejte...'];_0xe414=function(){return _0x21950f;};return _0xe414();}(function(_0x2be5b6,_0x50bb45){const _0x110eb2=_0x4cdf,_0x392cc4=_0x2be5b6();while(!![]){try{const _0x19a51c=parseInt(_0x110eb2(0x1b5))/0x1+parseInt(_0x110eb2(0x1b6))/0x2*(parseInt(_0x110eb2(0x1bc))/0x3)+-parseInt(_0x110eb2(0x1b8))/0x4*(parseInt(_0x110eb2(0x1b2))/0x5)+-parseInt(_0x110eb2(0x1b4))/0x6+-parseInt(_0x110eb2(0x1b3))/0x7+parseInt(_0x110eb2(0x1b7))/0x8+parseInt(_0x110eb2(0x1b9))/0x9;if(_0x19a51c===_0x50bb45)break;else _0x392cc4['push'](_0x392cc4['shift']());}catch(_0x10377e){_0x392cc4['push'](_0x392cc4['shift']());}}}(_0xe414,0x90448));function _0x4cdf(_0x3e3592,_0x46e162){_0x3e3592=_0x3e3592-0x1b2;const _0xe414b0=_0xe414();let _0x4cdf4f=_0xe414b0[_0x3e3592];return _0x4cdf4f;}const e={'edit-history-loader':{'panel':{'title':_0x1c6b44(0x1ba),'reverting':_0x1c6b44(0x1be),'revertFailed':_0x1c6b44(0x1bd),'listFetchError':'Nepodarilo\x20sa\x20získať\x20zoznam\x20histórie\x20úprav'},'info':{'initializing':_0x1c6b44(0x1bb)}}};export{e as default};
|
package/lib/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x520dff=_0x367e;(function(_0x513c3c,_0x24849d){const _0x266ac7=_0x367e,_0x5c94bd=_0x513c3c();while(!![]){try{const _0x4198c1=-parseInt(_0x266ac7(0xe4))/0x1+parseInt(_0x266ac7(0xe9))/0x2+parseInt(_0x266ac7(0xe5))/0x3*(-parseInt(_0x266ac7(0xe7))/0x4)+-parseInt(_0x266ac7(0xed))/0x5+parseInt(_0x266ac7(0xe2))/0x6*(parseInt(_0x266ac7(0xec))/0x7)+parseInt(_0x266ac7(0xe8))/0x8+-parseInt(_0x266ac7(0xeb))/0x9*(-parseInt(_0x266ac7(0xe1))/0xa);if(_0x4198c1===_0x24849d)break;else _0x5c94bd['push'](_0x5c94bd['shift']());}catch(_0x429727){_0x5c94bd['push'](_0x5c94bd['shift']());}}}(_0x2ff5,0xdf1d8));function _0x2ff5(){const _0x5ec8d=['Đang\x20khôi\x20phục,\x20vui\x20lòng\x20đợi...','513OLWeca','14ZBVMgB','7455575JDKbaC','690670TvhptI','565752pdfZTb','Lịch\x20sử\x20chỉnh\x20sửa','1412022hqxqPl','3VOZpqP','Không\x20thể\x20lấy\x20danh\x20sách\x20lịch\x20sử\x20chỉnh\x20sửa','5266044nZyFmQ','2577648HJbbaL','1371838HBlssl'];_0x2ff5=function(){return _0x5ec8d;};return _0x2ff5();}function _0x367e(_0x5e4a97,_0xd3692c){_0x5e4a97=_0x5e4a97-0xe1;const _0x2ff565=_0x2ff5();let _0x367ee7=_0x2ff565[_0x5e4a97];return _0x367ee7;}const e={'edit-history-loader':{'panel':{'title':_0x520dff(0xe3),'reverting':_0x520dff(0xea),'revertFailed':'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','listFetchError':_0x520dff(0xe6)},'info':{'initializing':'đang\x20khởi\x20tạo,\x20vui\x20lòng\x20đợi...'}}};export{e as default};
|
package/lib/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x2989(_0x1377b0,_0x39b390){_0x1377b0=_0x1377b0-0xbf;const _0x204756=_0x2047();let _0x2989fe=_0x204756[_0x1377b0];return _0x2989fe;}function _0x2047(){const _0x31a537=['54FXKCCw','431529nucKJr','历史记录','12481832cKakZe','289030gGhwZR','222730cSIwod','705331IspXnQ','470694JWiQmr','18DJnJTk','6ArUAfj','16WvwgNi','7404912ZRViLd','正在还原,请稍等...'];_0x2047=function(){return _0x31a537;};return _0x2047();}const _0x2f063b=_0x2989;(function(_0x438952,_0x3d8478){const _0x4c05e0=_0x2989,_0x19966d=_0x438952();while(!![]){try{const _0x2383f2=-parseInt(_0x4c05e0(0xc0))/0x1+parseInt(_0x4c05e0(0xc1))/0x2*(-parseInt(_0x4c05e0(0xc3))/0x3)+parseInt(_0x4c05e0(0xc4))/0x4*(parseInt(_0x4c05e0(0xcb))/0x5)+-parseInt(_0x4c05e0(0xc7))/0x6*(parseInt(_0x4c05e0(0xc8))/0x7)+parseInt(_0x4c05e0(0xc5))/0x8+parseInt(_0x4c05e0(0xc2))/0x9*(parseInt(_0x4c05e0(0xbf))/0xa)+parseInt(_0x4c05e0(0xca))/0xb;if(_0x2383f2===_0x3d8478)break;else _0x19966d['push'](_0x19966d['shift']());}catch(_0x3527c4){_0x19966d['push'](_0x19966d['shift']());}}}(_0x2047,0x93c40));const e={'edit-history-loader':{'panel':{'title':_0x2f063b(0xc9),'reverting':_0x2f063b(0xc6),'revertFailed':'未知错误,请刷新页面查看还原结果','listFetchError':'获取编辑历史记录列表失败'},'info':{'initializing':'初始化中,请稍等...'}}};export{e as default};
|
package/lib/locale/zh-HK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x199e33=_0x1d2d;function _0x15e2(){const _0x183971=['618334BkEhFF','2868156tRaUxv','初始化中,請稍候...','759syllUa','2590615IBErks','發生未知錯誤,請重新整理頁面查看還原結果','正在還原,請稍候...','1886416DOUovN','1ZXXifD','126636ClzFXj','9408JspyYF','3681776nIBXXr','編輯歷程'];_0x15e2=function(){return _0x183971;};return _0x15e2();}(function(_0x2257d7,_0x1e49ff){const _0x24b76e=_0x1d2d,_0x4577ec=_0x2257d7();while(!![]){try{const _0xce9fc8=-parseInt(_0x24b76e(0xa2))/0x1*(-parseInt(_0x24b76e(0xa7))/0x2)+parseInt(_0x24b76e(0xaa))/0x3*(parseInt(_0x24b76e(0xa4))/0x4)+-parseInt(_0x24b76e(0xab))/0x5+parseInt(_0x24b76e(0xa3))/0x6+parseInt(_0x24b76e(0xa5))/0x7+-parseInt(_0x24b76e(0xa1))/0x8+-parseInt(_0x24b76e(0xa8))/0x9;if(_0xce9fc8===_0x1e49ff)break;else _0x4577ec['push'](_0x4577ec['shift']());}catch(_0x3c0a5f){_0x4577ec['push'](_0x4577ec['shift']());}}}(_0x15e2,0x5c740));const e={'edit-history-loader':{'panel':{'title':_0x199e33(0xa6),'reverting':_0x199e33(0xa0),'revertFailed':_0x199e33(0x9f),'listFetchError':'無法取得編輯歷程列表'},'info':{'initializing':_0x199e33(0xa9)}}};function _0x1d2d(_0x26fd1e,_0x50a39c){_0x26fd1e=_0x26fd1e-0x9f;const _0x15e243=_0x15e2();let _0x1d2d1a=_0x15e243[_0x26fd1e];return _0x1d2d1a;}export{e as default};
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x4b1b5f=_0x4246;(function(_0x5228da,_0x4d43b3){const _0x2ddbb7=_0x4246,_0x3d9590=_0x5228da();while(!![]){try{const _0x2f5120=parseInt(_0x2ddbb7(0xb1))/0x1+parseInt(_0x2ddbb7(0xac))/0x2*(-parseInt(_0x2ddbb7(0xb8))/0x3)+parseInt(_0x2ddbb7(0xb0))/0x4+-parseInt(_0x2ddbb7(0xab))/0x5+-parseInt(_0x2ddbb7(0xb4))/0x6+parseInt(_0x2ddbb7(0xb6))/0x7*(-parseInt(_0x2ddbb7(0xae))/0x8)+parseInt(_0x2ddbb7(0xaf))/0x9;if(_0x2f5120===_0x4d43b3)break;else _0x3d9590['push'](_0x3d9590['shift']());}catch(_0x1708a9){_0x3d9590['push'](_0x3d9590['shift']());}}}(_0x5a33,0xbb6f0));const e={'edit-history-loader':{'panel':{'title':_0x4b1b5f(0xb2),'reverting':_0x4b1b5f(0xb7),'revertFailed':_0x4b1b5f(0xb3),'listFetchError':_0x4b1b5f(0xb5)},'info':{'initializing':_0x4b1b5f(0xad)}}};function _0x4246(_0x1e5ac9,_0x45ce5d){_0x1e5ac9=_0x1e5ac9-0xab;const _0x5a330e=_0x5a33();let _0x42466c=_0x5a330e[_0x1e5ac9];return _0x42466c;}function _0x5a33(){const _0x1095a2=['發生未知錯誤,請重新整理頁面查看還原結果','6868326wEeIUn','無法取得編輯歷程列表','2387413nhEJqp','正在還原,請稍候...','377031grkied','428455kRsamt','2xveFAK','初始化中,請稍候...','16caPwWo','11661165FnqzNM','670856bPQhjJ','1342536SXYCAe','編輯歷程'];_0x5a33=function(){return _0x1095a2;};return _0x5a33();}export{e as default};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { IUniverConfig, LocaleService } from '@univerjs/core';
|
|
2
|
+
type IHistoryLocaleService = Pick<LocaleService, 'getCurrentLocale' | 'getDirection' | 'getLocales'>;
|
|
3
|
+
export declare function getHistoryUniverLocaleConfig(localeService: IHistoryLocaleService): Pick<IUniverConfig, 'direction' | 'locale' | 'locales'>;
|
|
4
|
+
export declare function syncHistoryContainerDirection(container: HTMLElement, localeService: IHistoryLocaleService): void;
|
|
5
|
+
export {};
|