@univerjs-pro/exchange-client 1.0.0-alpha.4 → 1.0.0-alpha.5
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/facade.js +1 -1
- 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/facade.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/facade.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/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x1063(_0x47780a,_0x49785d){_0x47780a=_0x47780a-0x86;const _0x2a98c1=_0x2a98();let _0x106322=_0x2a98c1[_0x47780a];return _0x106322;}const _0x1a2ed9=_0x1063;(function(_0x35bd11,_0x2fa05e){const _0xe04407=_0x1063,_0x4ff06e=_0x35bd11();while(!![]){try{const _0x315f8f=parseInt(_0xe04407(0x93))/0x1*(parseInt(_0xe04407(0x94))/0x2)+parseInt(_0xe04407(0xaa))/0x3*(-parseInt(_0xe04407(0xa2))/0x4)+parseInt(_0xe04407(0x9d))/0x5+-parseInt(_0xe04407(0xa7))/0x6+-parseInt(_0xe04407(0x86))/0x7*(parseInt(_0xe04407(0x8a))/0x8)+parseInt(_0xe04407(0x9f))/0x9+parseInt(_0xe04407(0x97))/0xa*(parseInt(_0xe04407(0x99))/0xb);if(_0x315f8f===_0x2fa05e)break;else _0x4ff06e['push'](_0x4ff06e['shift']());}catch(_0x27a72f){_0x4ff06e['push'](_0x4ff06e['shift']());}}}(_0x2a98,0x23207));let e=require('@univerjs-pro/exchange-client'),t=require('@univerjs/core'),n=require('@univerjs/core/facade');var r=class extends n[_0x1a2ed9(0x8b)]{[_0x1a2ed9(0x90)](_0x2c5d1b,_0x295a95,_0x54793d){const _0x5b2902=_0x1a2ed9;this[_0x5b2902(0x9c)][_0x5b2902(0x87)](e[_0x5b2902(0xa4)])[_0x5b2902(0x90)](_0x2c5d1b,_0x295a95,_0x54793d);}async[_0x1a2ed9(0x89)](_0x2b1c26){const _0x312bb5=_0x1a2ed9;return this[_0x312bb5(0x9c)][_0x312bb5(0x87)](e[_0x312bb5(0xa4)])[_0x312bb5(0x8c)](_0x2b1c26);}async[_0x1a2ed9(0xa8)](_0x4df8bf){const _0x18065d=_0x1a2ed9;return this['_injector'][_0x18065d(0x87)](e[_0x18065d(0xa4)])[_0x18065d(0x9a)](_0x4df8bf);}async[_0x1a2ed9(0xa5)](_0x12865c){const _0x2c037b=_0x1a2ed9;return this[_0x2c037b(0x9c)][_0x2c037b(0x87)](e[_0x2c037b(0xa4)])[_0x2c037b(0x95)](_0x12865c,t[_0x2c037b(0x8f)]['UNIVER_SHEET']);}async[_0x1a2ed9(0x8d)](_0x1e67d0){const _0x25baed=_0x1a2ed9;return this[_0x25baed(0x9c)]['get'](e['IExchangeService'])[_0x25baed(0x98)](_0x1e67d0);}async[_0x1a2ed9(0xa0)](_0x3273a6){const _0x4a7eee=_0x1a2ed9;return this[_0x4a7eee(0x9c)][_0x4a7eee(0x87)](e[_0x4a7eee(0xa4)])[_0x4a7eee(0x91)](_0x3273a6);}async[_0x1a2ed9(0xad)](_0x331e0b){const _0x11f343=_0x1a2ed9;return this[_0x11f343(0x9c)]['get'](e[_0x11f343(0xa4)])['exportXLSXBySnapshot'](_0x331e0b);}async[_0x1a2ed9(0xab)](_0x466fb0){const _0x164a04=_0x1a2ed9;return this[_0x164a04(0x9c)][_0x164a04(0x87)](e[_0x164a04(0xa4)])[_0x164a04(0x95)](_0x466fb0,t['UniverInstanceType'][_0x164a04(0x9b)]);}async[_0x1a2ed9(0x9e)](_0x1936fd){const _0x25db18=_0x1a2ed9;return this['_injector'][_0x25db18(0x87)](e['IExchangeService'])[_0x25db18(0xa9)](_0x1936fd);}async[_0x1a2ed9(0x92)](_0x529df5){const _0x27f1f1=_0x1a2ed9;return this[_0x27f1f1(0x9c)][_0x27f1f1(0x87)](e[_0x27f1f1(0xa4)])[_0x27f1f1(0xa6)](_0x529df5);}async[_0x1a2ed9(0xa1)](_0x507a6a){const _0x55fc2a=_0x1a2ed9;return this[_0x55fc2a(0x9c)][_0x55fc2a(0x87)](e[_0x55fc2a(0xa4)])[_0x55fc2a(0x96)](_0x507a6a);}async['importPPTXToUnitIdAsync'](_0x3797e3){const _0x19ffcf=_0x1a2ed9;return this[_0x19ffcf(0x9c)][_0x19ffcf(0x87)](e[_0x19ffcf(0xa4)])['importFileToUnitId'](_0x3797e3,t[_0x19ffcf(0x8f)][_0x19ffcf(0x88)]);}async['importPPTXToSnapshotAsync'](_0x4196f9){const _0xe08618=_0x1a2ed9;return this[_0xe08618(0x9c)][_0xe08618(0x87)](e[_0xe08618(0xa4)])['importPPTXToSnapshot'](_0x4196f9);}async['exportPPTXByUnitIdAsync'](_0x4a688f){const _0x9b252e=_0x1a2ed9;return this[_0x9b252e(0x9c)]['get'](e['IExchangeService'])['exportPPTXByUnitId'](_0x4a688f);}async[_0x1a2ed9(0x8e)](_0xa581fc){const _0x152a46=_0x1a2ed9;return this[_0x152a46(0x9c)][_0x152a46(0x87)](e[_0x152a46(0xa4)])[_0x152a46(0xa3)](_0xa581fc);}};function _0x2a98(){const _0x61dfe9=['importDOCXToSnapshotAsync','1789686VLmiUj','exportXLSXByUnitIdAsync','exportDOCXByUnitIdAsync','750292YCxzUN','exportPPTXBySnapshot','IExchangeService','importXLSXToUnitIdAsync','exportDOCXBySnapshot','935706giAWuK','transformWorkbookDataToSnapshotJsonAsync','importDOCXToSnapshot','3MJADef','importDOCXToUnitIdAsync','extend','exportXLSXBySnapshotAsync','7SnQmMH','get','UNIVER_SLIDE','transformSnapshotJsonToWorkbookDataAsync','1047064bYNjeI','FUniver','transformSnapshotJsonToWorkbookData','importXLSXToSnapshotAsync','exportPPTXBySnapshotAsync','UniverInstanceType','downloadFile','exportXLSXByUnitId','exportDOCXBySnapshotAsync','53755BgZynQ','2wIXaYa','importFileToUnitId','exportDOCXByUnitId','290410iYbJYM','importXLSXToSnapshot','77JNEgAK','transformWorkbookDataToSnapshotJson','UNIVER_DOC','_injector','811950kkecdv'];_0x2a98=function(){return _0x61dfe9;};return _0x2a98();}n[_0x1a2ed9(0x8b)][_0x1a2ed9(0xac)](r);
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x379674=_0x4e7e;(function(_0x45c918,_0x5d2239){const _0x34516d=_0x4e7e,_0x2e3e6c=_0x45c918();while(!![]){try{const _0x4c5934=-parseInt(_0x34516d(0x28f))/0x1*(parseInt(_0x34516d(0x264))/0x2)+parseInt(_0x34516d(0x24f))/0x3+parseInt(_0x34516d(0x2b5))/0x4+-parseInt(_0x34516d(0x20d))/0x5*(-parseInt(_0x34516d(0x27c))/0x6)+-parseInt(_0x34516d(0x266))/0x7+-parseInt(_0x34516d(0x312))/0x8+-parseInt(_0x34516d(0x214))/0x9;if(_0x4c5934===_0x5d2239)break;else _0x2e3e6c['push'](_0x2e3e6c['shift']());}catch(_0x1fc7d4){_0x2e3e6c['push'](_0x2e3e6c['shift']());}}}(_0xb3dc,0x28c16),Object['defineProperty'](exports,Symbol[_0x379674(0x28e)],{'value':_0x379674(0x2cf)}));let e=require('@univerjs-pro/license'),t=require('@univerjs/core'),n=require('@univerjs/network'),r=require('@univerjs/icons'),i=require('@univerjs/ui'),a=require('rxjs'),o=require('@univerjs/design'),s=require('react/jsx-runtime'),c=require('@univerjs/protocol'),l=require('@univerjs-pro/collaboration'),u=require('fflate');var d=_0x379674(0x2cd),ee=_0x379674(0x1ac);const f=_0x379674(0x211),p={};function m(_0x2da062,_0x30e80a){return function(_0x4e31ef,_0x5532ba){_0x30e80a(_0x4e31ef,_0x5532ba,_0x2da062);};}function h(_0x2c6af5,_0x3f97a4,_0x48139a,_0x443710){const _0x2b503d=_0x379674;var _0x50fb0d=arguments[_0x2b503d(0x269)],_0x8f2fe1=_0x50fb0d<0x3?_0x3f97a4:_0x443710===null?_0x443710=Object[_0x2b503d(0x1a8)](_0x3f97a4,_0x48139a):_0x443710,_0x39989c;if(typeof Reflect==_0x2b503d(0x22a)&&typeof Reflect[_0x2b503d(0x1c2)]==_0x2b503d(0x1d9))_0x8f2fe1=Reflect[_0x2b503d(0x1c2)](_0x2c6af5,_0x3f97a4,_0x48139a,_0x443710);else{for(var _0x5ee2ce=_0x2c6af5[_0x2b503d(0x269)]-0x1;_0x5ee2ce>=0x0;_0x5ee2ce--)(_0x39989c=_0x2c6af5[_0x5ee2ce])&&(_0x8f2fe1=(_0x50fb0d<0x3?_0x39989c(_0x8f2fe1):_0x50fb0d>0x3?_0x39989c(_0x3f97a4,_0x48139a,_0x8f2fe1):_0x39989c(_0x3f97a4,_0x48139a))||_0x8f2fe1);}return _0x50fb0d>0x3&&_0x8f2fe1&&Object['defineProperty'](_0x3f97a4,_0x48139a,_0x8f2fe1),_0x8f2fe1;}let g=class extends t[_0x379674(0x2f5)]{constructor(_0x121e07){const _0x7e0996=_0x379674;super(),this[_0x7e0996(0x21c)]=_0x121e07,this[_0x7e0996(0x22f)]();}[_0x379674(0x22f)](){const _0x1ea97a=_0x379674;this[_0x1ea97a(0x262)](this[_0x1ea97a(0x21c)][_0x1ea97a(0x2a2)]({'DirectExportIcon':r[_0x1ea97a(0x2f7)]}));}};g=h([m(0x0,(0x0,t[_0x379674(0x25d)])(i[_0x379674(0x322)]))],g);function _(_0x21dd06){'@babel/helpers - typeof';const _0x40ca18=_0x379674;return _=typeof Symbol=='function'&&typeof Symbol[_0x40ca18(0x304)]==_0x40ca18(0x1a0)?function(_0x4df327){return typeof _0x4df327;}:function(_0x3f321d){const _0x185eba=_0x40ca18;return _0x3f321d&&typeof Symbol==_0x185eba(0x1d9)&&_0x3f321d[_0x185eba(0x283)]===Symbol&&_0x3f321d!==Symbol[_0x185eba(0x285)]?_0x185eba(0x1a0):typeof _0x3f321d;},_(_0x21dd06);}function te(_0x1ae17c,_0xb5ebbb){const _0x2b32b8=_0x379674;if(_(_0x1ae17c)!=_0x2b32b8(0x22a)||!_0x1ae17c)return _0x1ae17c;var _0x30e877=_0x1ae17c[Symbol[_0x2b32b8(0x2bb)]];if(_0x30e877!==void 0x0){var _0x553024=_0x30e877[_0x2b32b8(0x1b0)](_0x1ae17c,_0xb5ebbb||'default');if(_(_0x553024)!='object')return _0x553024;throw TypeError(_0x2b32b8(0x2d9));}return(_0xb5ebbb===_0x2b32b8(0x2f6)?String:Number)(_0x1ae17c);}function ne(_0x44cdd6){var _0x1f2ec2=te(_0x44cdd6,'string');return _(_0x1f2ec2)=='symbol'?_0x1f2ec2:_0x1f2ec2+'';}function v(_0x1448ea,_0x19a249,_0x566e98){const _0x41bb52=_0x379674;return(_0x19a249=ne(_0x19a249))in _0x1448ea?Object[_0x41bb52(0x276)](_0x1448ea,_0x19a249,{'value':_0x566e98,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1448ea[_0x19a249]=_0x566e98,_0x1448ea;}const y=(0x0,t[_0x379674(0x2eb)])(_0x379674(0x2c4));var b=class extends t['Disposable']{constructor(){const _0x5e51ff=_0x379674;super(),v(this,'_visible$',new a['Subject']()),v(this,_0x5e51ff(0x1ef),new a[(_0x5e51ff(0x324))]()),v(this,_0x5e51ff(0x257),new a[(_0x5e51ff(0x324))]()),v(this,_0x5e51ff(0x2f2),this[_0x5e51ff(0x1e4)]['asObservable']()),v(this,'state$',this[_0x5e51ff(0x1ef)][_0x5e51ff(0x263)]()),v(this,'list$',this[_0x5e51ff(0x257)][_0x5e51ff(0x263)]()),v(this,_0x5e51ff(0x219),[]);}[_0x379674(0x2b2)](){const _0x2c37ab=_0x379674;super['dispose'](),this[_0x2c37ab(0x1e4)][_0x2c37ab(0x326)](),this['_state$']['complete'](),this['_list$'][_0x2c37ab(0x326)]();}[_0x379674(0x32b)](){const _0x26ebe9=_0x379674;this[_0x26ebe9(0x1e4)][_0x26ebe9(0x1bb)](!0x0);}['hide'](){const _0x5b72b4=_0x379674;this['_visible$'][_0x5b72b4(0x1bb)](!0x1);}[_0x379674(0x1c3)](_0x32514e){const _0x42e788=_0x379674;this[_0x42e788(0x1ef)][_0x42e788(0x1bb)](_0x32514e);}[_0x379674(0x277)](_0x5b54e6){const _0x45197c=_0x379674;this[_0x45197c(0x219)][_0x45197c(0x299)](_0x5b54e6),this['_list$']['next'](this[_0x45197c(0x219)]);}};function re(_0x18661a){const _0x23716d=_0x379674;let {list:_0x5e9cd3}=_0x18661a;function _0x559511(_0x510896){const _0x181c52=_0x4e7e;switch(_0x510896){case 0x1:return(0x0,s[_0x181c52(0x1f0)])(r['DocsMultiIcon'],{});case 0x2:return(0x0,s['jsx'])(r[_0x181c52(0x212)],{});case 0x3:return(0x0,s[_0x181c52(0x1f0)])(r[_0x181c52(0x2e9)],{});default:return null;}}return(0x0,s['jsx'])(_0x23716d(0x221),{'className':(0x0,o[_0x23716d(0x204)])('univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden',o[_0x23716d(0x1dc)]),'children':(0x0,s['jsx'])('ul',{'className':'univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','children':_0x5e9cd3[_0x23716d(0x2f0)]((_0x411172,_0x75091b)=>(0x0,s[_0x23716d(0x1f0)])('li',{'children':(0x0,s['jsxs'])('a',{'className':_0x23716d(0x201),'href':_0x411172[_0x23716d(0x21a)],'target':'_blank','rel':_0x23716d(0x26e),'children':[(0x0,s[_0x23716d(0x2c0)])('span',{'className':_0x23716d(0x1d8),'children':[(0x0,s[_0x23716d(0x1f0)])(_0x23716d(0x1df),{'className':_0x23716d(0x23d),'children':_0x559511(_0x411172[_0x23716d(0x2ef)])}),(0x0,s['jsx'])(o[_0x23716d(0x24b)],{'showIfEllipsis':!0x0,'title':_0x411172[_0x23716d(0x22b)],'asChild':!0x0,'children':(0x0,s[_0x23716d(0x1f0)])(_0x23716d(0x1df),{'className':_0x23716d(0x1cf),'children':_0x411172[_0x23716d(0x22b)]})})]}),(0x0,s[_0x23716d(0x1f0)])(_0x23716d(0x1df),{'className':_0x23716d(0x2d2),'children':(0x0,s[_0x23716d(0x1f0)])(r[_0x23716d(0x1e9)],{})})]})},_0x75091b))})});}function _0xb3dc(){const _0x2599cf=['Error\x20getting\x20file\x20name\x20from\x20URL:','b64EncodeUnicode','url','_uploadNotificationService','accept','xlsx','outputType','445224yaOdWZ','text','docx','HTTPService','_exportBySnapshot','UNRECOGNIZED','_getTaskURL','univer-text-green-500','currentTarget','application/vnd.ms-excel.sheet.macroEnabled.12','connectInjector','forEach','exchange-client.fileTypeError','headers','_getUnitName','exportDOCXBySnapshot','IconManager','originalMeta','Subject','UNDEFINED','complete','.json','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','xlsm','_refreshSlide','show','status','exportPPTXBySnapshot','symbol','parse','getSnapshot','doc','importPPTXToSnapshot','upload\x20request\x20failed','exportXLSXBySnapshot','_fileTypeError','getOwnPropertyDescriptor','_sheetBlockCache','_buildProtocolErrorMessage',':\x20HTTP\x20','1.0.0-alpha.4','buffer','pluginName','univer-text-sm\x20univer-text-gray-500','call','_uiPartsService','shift','import','Injector','_showNetworkError','_requestService','_getImportURL','univer-pl-2\x20univer-pr-4','_configService','UniverInstanceType','next','interrupt','&flate=','statusText','isArray','exchange-client.internalError','INTERNAL_ERROR','decorate','updateState','change','trim','saveChangeset','_getIgnoreTableExport','append','_uploadTaskNotDone','sheetBlocks','_univerInstanceService','_refresh','IExchangeOperateService','UNIVER_PROJECT','univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','getSheetBlocksFromSnapshot','\x20-\x20','add','IConfigService','_getMinSheetColumnCount','disposeUnit','univer-text-red-500','filter','univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','function','setTaskInterrupted','progress$','scrollbarClassName','location','_config','span','catch','_getDownloadEndpointURL','floor','hide','_visible$','/universer-api/exchange/task/{taskID}','Warning','UNIVER_BASE','_getUnitID','ShareRangeIcon','exportXLSXByUnitId','exchange-client.downloadSuccess','unit','univer-text-blue-500','UNIVER_UNKNOWN','_state$','jsx','exchange-client.cancel','ErrorIcon','_doneUploadTaskCount','UNIVER_EXCHANGE_CLIENT_PLUGIN','_registerUIParts','maxTimeoutTime','registerComponent','Info','_getMinSheetRowCount','saveUnit','jsonID','none','_progress$','_messageService','univer-ml-1.5\x20univer-font-semibold\x20univer-text-gray-900\x20dark:!univer-text-white','post','univer-flex\x20univer-justify-between\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-py-1\x20univer-text-gray-900\x20univer-no-underline\x20univer-outline-none\x20univer-transition-colors\x20hover:univer-bg-gray-200\x20dark:!univer-text-white\x20dark:hover:!univer-bg-gray-600','/universer-api/stream/file/upload','toDisposable','clsx','getUnitType','minSheetRowCount','_showUploadMessage','CONNECTOR_DATA_TOO_LARGE','_getUnitDocJson','transformSnapshotJsonToWorkbookData','resolve','IMessageService','181045eRZxGM','exportPPTXByUnitId','getSheetBlock','split','exchange-client.config','SheetsMultiIcon','exchange-client.uploading','64935JkWkpi','getUnitId','files','createObjectURL','application/json','_list','link','_extractErrorDetail','_iconManager','signUrl','UNIVER_DOC','&source=','display','div','exportDOCXByUnitId','Error\x20fetching\x20file\x20from\x20URL:','_upload','options','deflateSync','exchange-client.downloading','saveSnapshot','resolveWithBasePath','object','name','importFileToJson','searchParams','merge','_registerIcons','univer-mx-0\x20univer-mb-3\x20univer-mt-4\x20univer-h-1.5\x20univer-w-[324px]\x20univer-rounded-lg\x20univer-bg-gray-200','_logService','pop','b64DecodeUnicode','_addDoneTask','UniverNetworkPlugin','_addTotalCount','LocaleService','toLowerCase','multiple','replace','HTTPResponseError','decode','univer-flex\x20univer-h-5\x20univer-text-xl','_getUnitNameByType','Failed\x20to\x20get\x20fileID\x20from\x20task','_getUploadFileURL','FileId','UNIVER_PDF','blockID','Error','state$','No\x20file\x20selected','_showDownloadMessage','univer-flex','copyFileMeta','transformWorkbookDataToSnapshotJson','Tooltip','pptx','_resourceLoaderService','has','554115MDFuEP','_getUnitIDSlide','title','UNIVER_SLIDE','getUnitOnRev','_localeService','Failed\x20to\x20get\x20jsonID\x20from\x20task','updateSnapshot','_list$','ErrorCode','appendChild','upload','_emitProgress','importXLSXToUnitId','Inject','rev','transformSnapshotToWorkbookData','revokeObjectURL','sign\x20url\x20error','disposeWithMe','asObservable','2vFPvwH','Failed\x20to\x20parse\x20json','793786EwgxgG','importDOCXToSnapshot','_completeProgress','length','exchange-client.uploadSuccess','download','packageName','registerDependencies','noreferrer','success','transformSnapshotToSlideData','interruptImportTask','_importToJson','_getUnitSlideJson','exchange-client.uploadSuccessTip','keys','defineProperty','pushLink','exchange-client.wait','useDependency','snapshot','requestState$','36DjxQbe','_importTaskId','some','transformWorkbookDataToSnapshot','_injector','_importFileToUnitId','_exchangeService','constructor','set','prototype','useObservable','body','_totalUploadTaskCount','?size=','_httpService','_taskInterrupted','_import','createUnit','toStringTag','142187sRpGsn','downloadFile','UniverExchangeClientPlugin','application/pdf','code','exchange-client.tooLarge','exchange-client.networkError','_signUrl','number','workbook','unshift','univer-h-7\x20univer-cursor-pointer\x20univer-select-none\x20univer-rounded-md\x20univer-border-0\x20univer-border-transparent\x20univer-bg-transparent\x20univer-px-2\x20univer-py-0\x20univer-text-sm\x20univer-text-primary-600\x20univer-transition-all\x20univer-duration-150\x20hover:univer-bg-primary-50','fetchMissingChangesets','Get\x20outputType\x20error','IUniverInstanceService','MessageType','slide','application/vnd.openxmlformats-officedocument.spreadsheetml.template','textEncoder','register','application/vnd.openxmlformats-officedocument.wordprocessingml.document','stringify','/universer-api/exchange/{type}/import','getTaskServerUrl','textDecoder','ILogService','clear','univer-mt-3\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-2\x20univer-pr-1','getConfig','univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','export','file','sheets','_buildHttpErrorMessage','unitID','dispose','uploadFileToUnitId','getCurrentUnitOfType','333712WvpGXM','export\x20error','data','import\x20error','BuiltInUIPart','exchange-client.uploadAgain','toPrimitive','Failed\x20to\x20transform\x20snapshot\x20to\x20string','_export','error','_getSignURL','jsxs','removeChild','_getUnitIDDoc','block\x20is\x20required','univer-pro.exchange-client.upload-notification.service','Failed\x20to\x20get\x20text\x20from\x20url','list$','univer-mt-5\x20univer-flex\x20univer-flex-col','values','Content-Type','minSheetColumnCount','getTextFromUrl','join','@univerjs-pro/exchange-client','application/octet-stream','Module','importFileToUnitId','href','univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-p-0\x20univer-text-base\x20univer-text-gray-600\x20univer-outline-none\x20univer-transition-colors\x20hover:univer-bg-gray-200\x20dark:!univer-text-gray-200\x20dark:hover:!univer-bg-gray-600','UNIVER_SHEET','taskID','transformSlideDataToSnapshot','Method\x20not\x20implemented.','button','importFileToUnitIdByCurrentType','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','importXLSXToSnapshot','FileSource','click','touchDependencies','transformDocumentDataToSnapshot','{fileID}','_requestState$','get','importPPTXToUnitId','setConfig','ignoreTableExport','min','getDeserializedSheetBlock','importWorkbookDataToUnitId','CloseIcon','SlidesMultiIcon','univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','createIdentifier','_getUnitJson','file.','application/vnd.openxmlformats-officedocument.presentationml.presentation','type','map','_getDisableCellImageConversion','visible$','Success','_clearProgress','Disposable','string','DirectExportIcon','Failed\x20to\x20get\x20taskID\x20from\x20import\x20response','UniverLicensePlugin','getTask','fileID','clearTaskInterrupted','message','workbook.json','downloadEndpointUrl','registerLink','pending','_getExportURL','Plugin','iterator','xltx','_getLinkByUnitId','importServerUrl','{type}','univer-h-6\x20univer-text-2xl','disableCellImageConversion'];_0xb3dc=function(){return _0x2599cf;};return _0xb3dc();}const x=_0x379674(0x2a3),S=_0x379674(0x328),C=_0x379674(0x31b),w=_0x379674(0x2a0),T=_0x379674(0x2ee),E=_0x379674(0x292),D={[t[_0x379674(0x1ba)][_0x379674(0x1ee)]]:[''],[t[_0x379674(0x1ba)][_0x379674(0x21e)]]:[x],[t[_0x379674(0x1ba)][_0x379674(0x2d3)]]:[S,C,w],[t[_0x379674(0x1ba)][_0x379674(0x252)]]:[T],[t[_0x379674(0x1ba)][_0x379674(0x1e7)]]:[''],[t[_0x379674(0x1ba)]['UNIVER_BOARD']]:[''],[t[_0x379674(0x1ba)][_0x379674(0x1ce)]]:[''],[t['UniverInstanceType'][_0x379674(0x242)]]:[E],[t[_0x379674(0x1ba)][_0x379674(0x317)]]:['']},O={[x]:_0x379674(0x314),[S]:_0x379674(0x310),[C]:_0x379674(0x329),[w]:_0x379674(0x305),[T]:_0x379674(0x24c),[E]:'pdf'};function k(_0x19116,_0x2aa547,_0x29c656){const _0x2537ea=_0x379674;let _0x4be955=document['createElement']('a');_0x4be955[_0x2537ea(0x2d1)]=_0x19116,_0x4be955['style'][_0x2537ea(0x220)]=_0x2537ea(0x1fc),_0x4be955[_0x2537ea(0x26b)]=_0x2aa547+'.'+_0x29c656,document[_0x2537ea(0x287)][_0x2537ea(0x259)](_0x4be955),_0x4be955[_0x2537ea(0x2dc)](),document['body'][_0x2537ea(0x2c1)](_0x4be955);}function A(_0x396504,_0x4bbf23,_0x1bcda3){const _0x368cf6=_0x379674;let _0x16b6c7=URL[_0x368cf6(0x217)](_0x396504);k(_0x16b6c7,_0x4bbf23,_0x1bcda3),URL[_0x368cf6(0x260)](_0x16b6c7);}function j(_0x580b7b){const _0x3ec67d=_0x379674;let _0x22a2ac=_0x580b7b[_0x3ec67d(0x22b)]['split']('.')[_0x3ec67d(0x232)]();if(!_0x22a2ac)return t[_0x3ec67d(0x1ba)][_0x3ec67d(0x1ee)];let _0x2c1326=ie(),_0x538106=t[_0x3ec67d(0x1ba)][_0x3ec67d(0x1ee)];return _0x2c1326[_0x3ec67d(0x27e)](_0x3c2636=>ae(_0x22a2ac,_0x3c2636)?(_0x538106=_0x3c2636,!0x0):!0x1),_0x538106;}function ie(){const _0x3fe555=_0x379674;return Object[_0x3fe555(0x2c8)](t[_0x3fe555(0x1ba)])[_0x3fe555(0x1d7)](_0x42b330=>typeof _0x42b330==_0x3fe555(0x297));}function ae(_0x1427b4,_0x3492fb){const _0x5581f6=_0x379674;var _0x3364db;return((_0x3364db=D[_0x3492fb])==null?[]:_0x3364db)[_0x5581f6(0x2f0)](_0x217442=>(O[_0x217442]||'')[_0x5581f6(0x238)]())['includes'](_0x1427b4[_0x5581f6(0x238)]());}function M(_0x59121c,_0x1e1ff2=!0x1){const _0x2d7791=_0x379674;let _0x52e210=_0x59121c[_0x2d7791(0x2f0)](_0x367d09=>{var _0x341cd8;return(_0x341cd8=D[_0x367d09])==null?[]:_0x341cd8;})[_0x2d7791(0x2cc)](',');return new Promise((_0x5eee98,_0x3d381e)=>{const _0x27ac6c=_0x2d7791;let _0x2b0dc4=document['createElement']('input');_0x2b0dc4[_0x27ac6c(0x2ef)]='file',_0x2b0dc4[_0x27ac6c(0x30f)]=_0x52e210,_0x2b0dc4[_0x27ac6c(0x239)]=_0x1e1ff2,_0x2b0dc4['addEventListener'](_0x27ac6c(0x1c4),_0x344068=>{const _0x1c8c08=_0x27ac6c;let _0x5d43f=_0x344068[_0x1c8c08(0x31a)];if(!_0x5d43f[_0x1c8c08(0x216)]||_0x5d43f[_0x1c8c08(0x216)]['length']===0x0)throw _0x3d381e(null),Error(_0x1c8c08(0x246));_0x5eee98(_0x5d43f[_0x1c8c08(0x216)]);}),_0x2b0dc4[_0x27ac6c(0x2dc)]();});}async function N(_0x3d90c6,_0x628b8c){const _0x374fcd=_0x379674;try{var _0x492a98,_0x46fe0a,_0x2ed78f;let _0x79ab0a=await _0x628b8c[_0x374fcd(0x2e1)](_0x3d90c6,{'responseType':'blob'}),_0x18015d=_0x79ab0a[_0x374fcd(0x287)],_0x245116=(_0x492a98=(_0x46fe0a=_0x79ab0a[_0x374fcd(0x31f)][_0x374fcd(0x2e1)](_0x374fcd(0x2c9)))==null?void 0x0:_0x46fe0a['join'](',\x20'))==null?_0x374fcd(0x2ce):_0x492a98,_0x1fe5de=_0x374fcd(0x2ed)+(O[_0x245116]||_0x374fcd(0x310)),_0x21b517=(_0x2ed78f=_0x79ab0a[_0x374fcd(0x31f)][_0x374fcd(0x2e1)]('content-disposition'))==null?void 0x0:_0x2ed78f['join'](',\x20');if(_0x21b517){let _0x10d325=_0x21b517['match'](/filename=(.+)/);_0x10d325&&_0x10d325[0x1]&&(_0x1fe5de=_0x10d325[0x1]);}else _0x1fe5de=oe(_0x3d90c6)||_0x1fe5de;return new File([_0x18015d],_0x1fe5de,{'type':_0x245116});}catch(_0x1eeba6){console['error'](_0x374fcd(0x223),_0x1eeba6);return;}}function oe(_0x2eda75){const _0x49095d=_0x379674;try{return new URL(_0x2eda75)['pathname'][_0x49095d(0x210)]('/')[_0x49095d(0x232)]();}catch(_0x15fed4){console[_0x49095d(0x2be)](_0x49095d(0x30b),_0x15fed4);return;}}function se(_0x40023a){const _0x13726d=_0x379674;let _0x21a1b1=new Blob([_0x40023a[_0x13726d(0x1ad)]],{'type':'application/json'});return new File([_0x21a1b1],'file.json');}function P(_0x4b9aa5,_0x5d1df2){const _0x225f88=_0x379674;return _0x4b9aa5[_0x225f88(0x23a)](_0x225f88(0x308),_0x5d1df2);}function ce(_0x3cd4be,_0x153656){const _0x397330=_0x379674;return _0x3cd4be[_0x397330(0x23a)]('{taskID}',_0x153656);}function le(_0x51fa80,_0x7d2766){const _0xd578dc=_0x379674;return _0x51fa80[_0xd578dc(0x23a)](_0xd578dc(0x2df),_0x7d2766);}const F=(0x0,t[_0x379674(0x2eb)])('univer-pro.exchange-client.request.service');let I=class{constructor(_0x422d28,_0x3cdf2a){const _0x2bdce7=_0x379674;this[_0x2bdce7(0x1b9)]=_0x422d28,this[_0x2bdce7(0x28a)]=_0x3cdf2a,v(this,_0x2bdce7(0x28b),new Set());}['dispose'](){}[_0x379674(0x1da)](_0x5292d8){const _0x52c844=_0x379674;this['_taskInterrupted'][_0x52c844(0x1d2)](_0x5292d8);}[_0x379674(0x2fc)](){const _0x5c27c0=_0x379674;this[_0x5c27c0(0x28b)][_0x5c27c0(0x2a9)]();}async[_0x379674(0x25a)](_0x1ed255,_0x1b1f3a=0x0,_0x3d2561=!0x1){const _0x1231d4=_0x379674;if(typeof _0x1ed255==_0x1231d4(0x2f6)){let _0x261640=await N(_0x1ed255,this['_httpService']);if(!_0x261640)throw Error('upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url');_0x1ed255=_0x261640;}_0x1b1f3a=_0x1b1f3a||_0x1ed255['size'];let _0x20c2a8=new FormData();_0x20c2a8[_0x1231d4(0x1c8)](_0x1231d4(0x2ae),_0x1ed255);try{let _0x44803d=this[_0x1231d4(0x240)]()+_0x1231d4(0x289)+_0x1b1f3a+_0x1231d4(0x21f)+c[_0x1231d4(0x2db)]['HttpImport']+_0x1231d4(0x1bd)+_0x3d2561,_0x40a6e2={'body':_0x20c2a8},_0x612465=(await this[_0x1231d4(0x28a)][_0x1231d4(0x200)](_0x44803d,_0x40a6e2))[_0x1231d4(0x287)];if(_0x612465[_0x1231d4(0x2be)]&&_0x612465[_0x1231d4(0x2be)][_0x1231d4(0x293)]!==c[_0x1231d4(0x258)]['OK'])throw Error(this[_0x1231d4(0x1aa)](_0x1231d4(0x1a5),_0x612465['error']));return _0x612465;}catch(_0x42acbe){throw _0x42acbe instanceof Error?_0x42acbe:Error(this['_buildHttpErrorMessage']('upload\x20request\x20failed',_0x42acbe));}}async[_0x379674(0x1b3)](_0x1e5a00){const _0x3ad55d=_0x379674;let {fileID:_0x24c0b1,type:_0x365458,outputType:_0x346dee,minSheetColumnCount:_0x5c8e53,minSheetRowCount:_0x383e16}=_0x1e5a00;try{let _0x46278d=P(this[_0x3ad55d(0x1b7)](),''+_0x365458),_0x2f26e4={'body':{'fileID':_0x24c0b1,'outputType':_0x346dee,'minSheetColumnCount':_0x5c8e53,'minSheetRowCount':_0x383e16}},_0x3bfc83=(await this[_0x3ad55d(0x28a)][_0x3ad55d(0x200)](_0x46278d,_0x2f26e4))[_0x3ad55d(0x287)];return _0x3bfc83[_0x3ad55d(0x2be)]&&_0x3bfc83[_0x3ad55d(0x2be)]['code']!==c[_0x3ad55d(0x258)]['OK']?void 0x0:_0x3bfc83;}catch{return;}}async['export'](_0x8436c0){const _0x193338=_0x379674;let {unitID:_0x495329,jsonID:_0x466c3c,type:_0x35d964,useImageUrl:_0x521600,ignoreTableExport:_0x270aeb}=_0x8436c0;try{let _0x5ced81=P(this[_0x193338(0x302)](),''+_0x35d964),_0x38198d={'body':{'unitID':_0x495329,'jsonID':_0x466c3c,'type':_0x35d964,'useImageUrl':_0x521600,'ignoreTableExport':_0x270aeb}},_0x439181=(await this[_0x193338(0x28a)][_0x193338(0x200)](_0x5ced81,_0x38198d))[_0x193338(0x287)];return _0x439181['error']&&_0x439181['error'][_0x193338(0x293)]!==c[_0x193338(0x258)]['OK']?void 0x0:_0x439181;}catch{return;}}async[_0x379674(0x2fa)](_0xdb135){return new Promise((_0x4a814b,_0x2f5d02)=>{const _0x358109=_0x4e7e;try{let _0x4129f7=0x0,_0xc8aa1b=ce(this[_0x358109(0x318)](),''+_0xdb135),_0x5203e3=this['_getMaxPollingTime'](),_0x52586f=async()=>{const _0x2a9ec4=_0x358109;if(this[_0x2a9ec4(0x28b)][_0x2a9ec4(0x24e)](_0xdb135))return;let _0x24db5e=(await this[_0x2a9ec4(0x28a)][_0x2a9ec4(0x2e1)](_0xc8aa1b))['body'];if(_0x24db5e[_0x2a9ec4(0x2be)]&&_0x24db5e[_0x2a9ec4(0x2be)][_0x2a9ec4(0x293)]===c['ErrorCode']['OK']){if(_0x24db5e['status']==='done')_0x4a814b(_0x24db5e);else{if(_0x24db5e[_0x2a9ec4(0x19e)]===_0x2a9ec4(0x301)){let _0x428895=0x3e8;if(_0x4129f7>=_0x5203e3){_0x2f5d02(_0x24db5e);return;}else _0x4129f7>=0x7530&&(_0x428895=0x1388);_0x4129f7+=_0x428895,setTimeout(_0x52586f,_0x428895);}else _0x2f5d02(_0x24db5e);}}else _0x2f5d02(_0x24db5e);};_0x52586f();}catch(_0x497994){_0x2f5d02(_0x497994 instanceof Error?_0x497994:Error(String(_0x497994)));}});}async[_0x379674(0x21d)](_0x41c3dd){const _0x64df53=_0x379674;try{let _0x70d2e6=le(this[_0x64df53(0x2bf)](),''+_0x41c3dd);return(await this[_0x64df53(0x28a)]['get'](_0x70d2e6))[_0x64df53(0x287)];}catch{return;}}async[_0x379674(0x2cb)](_0x5a2274){const _0xf58bdb=_0x379674;try{return(await this[_0xf58bdb(0x28a)][_0xf58bdb(0x2e1)](_0x5a2274,{'responseType':_0xf58bdb(0x313)}))[_0xf58bdb(0x287)];}catch{return;}}[_0x379674(0x1aa)](_0x5bcb66,_0x1ee0a5){const _0x2d8341=_0x379674;let _0x12f66b=this[_0x2d8341(0x21b)](_0x1ee0a5);return _0x12f66b?_0x5bcb66+':\x20'+_0x12f66b:_0x5bcb66;}[_0x379674(0x2b0)](_0x3e2c82,_0x9d831b){const _0x1accbd=_0x379674;if(_0x9d831b instanceof n[_0x1accbd(0x23b)]){let _0x5709ff=typeof _0x9d831b[_0x1accbd(0x19e)]==_0x1accbd(0x297)?''+_0x9d831b[_0x1accbd(0x19e)]+(_0x9d831b[_0x1accbd(0x1be)]?'\x20'+_0x9d831b[_0x1accbd(0x1be)]:''):void 0x0,_0x466f56=this[_0x1accbd(0x21b)](_0x9d831b['error']);return _0x5709ff&&_0x466f56?_0x3e2c82+_0x1accbd(0x1ab)+_0x5709ff+_0x1accbd(0x1d1)+_0x466f56:_0x5709ff?_0x3e2c82+_0x1accbd(0x1ab)+_0x5709ff:_0x466f56?_0x3e2c82+':\x20'+_0x466f56:_0x3e2c82;}let _0x5b1e60=this[_0x1accbd(0x21b)](_0x9d831b);return _0x5b1e60?_0x3e2c82+':\x20'+_0x5b1e60:_0x3e2c82;}[_0x379674(0x21b)](_0x4cf6da){const _0x3fea81=_0x379674;if(typeof _0x4cf6da==_0x3fea81(0x2f6)){let _0x340669=_0x4cf6da['trim']();return _0x340669['length']>0x0?_0x340669:void 0x0;}if(_0x4cf6da instanceof Error)return this['_extractErrorDetail'](_0x4cf6da['message']);if(!_0x4cf6da||typeof _0x4cf6da!=_0x3fea81(0x22a)||Array[_0x3fea81(0x1bf)](_0x4cf6da))return;let _0x3b03e6=_0x4cf6da,_0x14addf=this['_extractErrorDetail'](_0x3b03e6[_0x3fea81(0x2fd)]);if(_0x14addf)return _0x14addf;if(_0x3b03e6[_0x3fea81(0x2be)]&&typeof _0x3b03e6[_0x3fea81(0x2be)]=='object'&&!Array[_0x3fea81(0x1bf)](_0x3b03e6[_0x3fea81(0x2be)])){let _0x40d74b=this[_0x3fea81(0x21b)](_0x3b03e6['error']);if(_0x40d74b)return _0x40d74b;}}[_0x379674(0x240)](){const _0x3b31b2=_0x379674;var _0x486213;let _0x10863e=this[_0x3b31b2(0x1b9)][_0x3b31b2(0x2ab)](f);return(_0x486213=_0x10863e==null?void 0x0:_0x10863e['uploadFileServerUrl'])==null?_0x3b31b2(0x202):_0x486213;}[_0x379674(0x1b7)](){const _0xcc1798=_0x379674;var _0x3e54fc;let _0x3d9a88=this['_configService'][_0xcc1798(0x2ab)](f);return(_0x3e54fc=_0x3d9a88==null?void 0x0:_0x3d9a88[_0xcc1798(0x307)])==null?_0xcc1798(0x2a5):_0x3e54fc;}[_0x379674(0x302)](){const _0x4d5aca=_0x379674;var _0x51f1ff;let _0x2099cd=this[_0x4d5aca(0x1b9)]['getConfig'](f);return(_0x51f1ff=_0x2099cd==null?void 0x0:_0x2099cd['exportServerUrl'])==null?'/universer-api/exchange/{type}/export':_0x51f1ff;}[_0x379674(0x318)](){const _0x1d48b4=_0x379674;var _0x373342;let _0x2722ad=this[_0x1d48b4(0x1b9)][_0x1d48b4(0x2ab)](f);return(_0x373342=_0x2722ad==null?void 0x0:_0x2722ad[_0x1d48b4(0x2a6)])==null?_0x1d48b4(0x1e5):_0x373342;}[_0x379674(0x2bf)](){const _0x4fb3e0=_0x379674;var _0x1e66e1;let _0x3966de=this['_configService'][_0x4fb3e0(0x2ab)](f);return(_0x1e66e1=_0x3966de==null?void 0x0:_0x3966de['signUrlServerUrl'])==null?'/universer-api/file/{fileID}/sign-url':_0x1e66e1;}['_getMaxPollingTime'](){const _0x2808b5=_0x379674;var _0x156d75;let _0x42559a=this[_0x2808b5(0x1b9)][_0x2808b5(0x2ab)](f);return(_0x156d75=_0x42559a==null?void 0x0:_0x42559a[_0x2808b5(0x1f6)])==null?0x1d4c0:_0x156d75;}};I=h([m(0x0,t[_0x379674(0x1d3)]),m(0x1,(0x0,t[_0x379674(0x25d)])(n['HTTPService']))],I);function L(_0x4a5bcd){const _0x284a73=_0x379674;let _0x4cd485=_0x4a5bcd[_0x284a73(0x298)];if(!_0x4cd485)return null;let _0x4c5948={};_0x4cd485[_0x284a73(0x2af)]&&Object[_0x284a73(0x275)](_0x4cd485['sheets'])['forEach'](_0x18817b=>{const _0x1cc770=_0x284a73;let _0x4e0b7b=_0x4cd485[_0x1cc770(0x2af)][_0x18817b];_0x4c5948[_0x18817b]={..._0x4e0b7b,'originalMeta':(0x0,l[_0x1cc770(0x30c)])(l[_0x1cc770(0x2a7)]['decode'](_0x4e0b7b[_0x1cc770(0x323)]))};});let _0x12ecd7=(0x0,l['b64EncodeUnicode'])(l[_0x284a73(0x2a7)][_0x284a73(0x23c)](_0x4cd485[_0x284a73(0x323)]));return{..._0x4a5bcd,'workbook':{..._0x4cd485,'originalMeta':_0x12ecd7,'sheets':_0x4c5948},'doc':{},'slide':void 0x0,'board':void 0x0};}function R(_0x5c6985){const _0x534ad6=_0x379674;let _0x66e4ef=_0x5c6985['doc'];if(!_0x66e4ef)return null;let _0x3d72e0=(0x0,l[_0x534ad6(0x30c)])(l[_0x534ad6(0x2a7)]['decode'](_0x66e4ef['originalMeta']));return{..._0x5c6985,'workbook':{},'doc':{..._0x66e4ef,'originalMeta':_0x3d72e0},'slide':void 0x0,'board':void 0x0};}function z(_0x425ec8){const _0x31dc04=_0x379674;var _0x338940;let _0x14171e=(_0x338940=_0x425ec8[_0x31dc04(0x29f)])==null?_0x425ec8[_0x31dc04(0x1a3)]:_0x338940;if(!_0x14171e)return null;let _0x339d8e=typeof _0x14171e[_0x31dc04(0x323)]=='string'?_0x14171e[_0x31dc04(0x323)]:(0x0,l[_0x31dc04(0x30c)])(l[_0x31dc04(0x2a7)][_0x31dc04(0x23c)](_0x14171e[_0x31dc04(0x323)]));return{..._0x425ec8,'workbook':{},'doc':{},'slide':{..._0x14171e,'originalMeta':_0x339d8e},'board':void 0x0};}function B(_0x345b81){const _0x19a6d0=_0x379674;let _0x36415f={};return _0x345b81[_0x19a6d0(0x31d)](_0x3c6771=>{const _0x10226b=_0x19a6d0;_0x36415f[_0x3c6771['id']]={..._0x3c6771,'data':(0x0,l['b64EncodeUnicode'])(l['textDecoder'][_0x10226b(0x23c)](_0x3c6771['data']))};}),_0x36415f;}async function V(_0x59676d){const _0x24673e=_0x379674;var _0x432861;let _0x2bef27={'metadata':void 0x0},_0x1b595d=_0x59676d['id'],_0x5c1d57=(_0x432861=_0x59676d['rev'])==null?0x0:_0x432861,_0x457c1f=new W(),{snapshot:_0x9fa01d}=await(0x0,l[_0x24673e(0x27f)])(_0x2bef27,_0x59676d,_0x1b595d,_0x5c1d57,_0x457c1f),_0x3986b7=await(0x0,l['getSheetBlocksFromSnapshot'])(_0x9fa01d,_0x457c1f),_0x3f0071=L(_0x9fa01d);if(!_0x3f0071)throw Error('Failed\x20to\x20transform\x20snapshot\x20to\x20string');return{'snapshot':_0x3f0071,'sheetBlocks':B(_0x3986b7)};}async function H(_0x37828a){const _0x5cf78f=_0x379674;var _0x457ecb;let _0x5c96cd={'metadata':void 0x0},_0x18cb12=_0x37828a['id'],{snapshot:_0x57f5b5}=await(0x0,l[_0x5cf78f(0x2de)])(_0x5c96cd,_0x37828a,_0x18cb12,(_0x457ecb=_0x37828a['rev'])==null?0x0:_0x457ecb,new W()),_0x184234=R(_0x57f5b5);if(!_0x184234)throw Error(_0x5cf78f(0x2bc));return{'snapshot':_0x184234,'sheetBlocks':{}};}async function U(_0x5515eb){const _0x152e09=_0x379674;var _0x571bfa;let _0x1bd708=_0x5515eb['id'],_0x5367fe=(_0x571bfa=_0x5515eb['rev'])==null?0x0:_0x571bfa,_0x2084b9=new W(),{snapshot:_0x58781c}=await(0x0,l[_0x152e09(0x2d5)])(_0x5515eb['resources'],_0x5515eb,_0x1bd708,_0x5367fe,_0x2084b9),_0x31f085=z(_0x58781c);if(!_0x31f085)throw Error('Failed\x20to\x20transform\x20snapshot\x20to\x20string');return{'snapshot':_0x31f085,'sheetBlocks':{}};}async function ue(_0x2811d9){const _0x457892=_0x379674;let _0x464148=_0x2811d9[_0x457892(0x27a)],_0x4be932=_0x2811d9[_0x457892(0x1ca)]||{};return await(0x0,l[_0x457892(0x25f)])(_0x464148,Object[_0x457892(0x275)](_0x4be932)[_0x457892(0x2f0)](_0x2a0ecd=>_0x4be932[_0x2a0ecd])['map'](_0x16cd9a=>({..._0x16cd9a,'data':_0x16cd9a[_0x457892(0x2b7)]?JSON[_0x457892(0x1a1)]((0x0,l[_0x457892(0x233)])(_0x16cd9a[_0x457892(0x2b7)])):void 0x0})));}function de(_0x6697e){const _0x47d2d3=_0x379674;let _0x2cd891=_0x6697e[_0x47d2d3(0x27a)];return(0x0,l['transformSnapshotToDocumentData'])(_0x2cd891);}function _0x4e7e(_0x28477b,_0x10fa9c){_0x28477b=_0x28477b-0x19e;const _0xb3dc21=_0xb3dc();let _0x4e7ed2=_0xb3dc21[_0x28477b];return _0x4e7ed2;}function fe(_0x1f4bc6){const _0x32d6be=_0x379674;let _0x42d344=_0x1f4bc6[_0x32d6be(0x27a)];return(0x0,l[_0x32d6be(0x270)])(_0x42d344);}var W=class{constructor(){const _0xc4c321=_0x379674;v(this,_0xc4c321(0x1a9),new Map());}[_0x379674(0x253)](){const _0x241e0b=_0x379674;return Promise[_0x241e0b(0x20b)]({'snapshot':{'unitID':'','type':t['UniverInstanceType'][_0x241e0b(0x2d3)],'rev':0x0,'workbook':void 0x0,'doc':void 0x0,'slide':void 0x0,'board':void 0x0},'changesets':[],'error':{'code':c[_0x241e0b(0x258)]['OK'],'message':''}});}[_0x379674(0x20f)](_0x407c39,_0x1f534d){const _0x36d897=_0x379674;let _0x4effb5=this[_0x36d897(0x1a9)]['get'](_0x1f534d[_0x36d897(0x243)]);return Promise['resolve']({'block':_0x4effb5,'error':{'code':c[_0x36d897(0x258)]['OK'],'message':''}});}[_0x379674(0x2e6)](_0x4f58a9,_0x1f6467){const _0x2c8464=_0x379674;let _0x213664=this[_0x2c8464(0x1a9)]['get'](_0x1f6467[_0x2c8464(0x243)]);return Promise[_0x2c8464(0x20b)]({'block':_0x213664===void 0x0?void 0x0:{..._0x213664,'data':JSON['parse'](l['textDecoder']['decode'](_0x213664[_0x2c8464(0x2b7)]))},'error':{'code':c['ErrorCode']['OK'],'message':''}});}[_0x379674(0x29b)](){const _0x127dd2=_0x379674;return Promise[_0x127dd2(0x20b)]({'changesets':[],'error':{'code':c['ErrorCode']['OK'],'message':''}});}['getResourcesRequest'](){const _0xdefbb3=_0x379674;return Promise[_0xdefbb3(0x20b)]({'resources':{},'error':{'code':c[_0xdefbb3(0x258)]['OK'],'message':''}});}[_0x379674(0x228)](){const _0x33a9a2=_0x379674;return Promise[_0x33a9a2(0x20b)]({'error':{'code':c['ErrorCode']['OK'],'message':''}});}[_0x379674(0x256)](){const _0x1cf426=_0x379674;return Promise[_0x1cf426(0x20b)]({'error':{'code':c[_0x1cf426(0x258)]['OK'],'message':''}});}['saveSheetBlock'](_0x407fd2,_0x3a4213){const _0x2eec99=_0x379674;let {block:_0x4083ed}=_0x3a4213;return _0x4083ed?(this['_sheetBlockCache'][_0x2eec99(0x284)](_0x4083ed['id'],_0x4083ed),Promise['resolve']({'error':{'code':c[_0x2eec99(0x258)]['OK'],'message':''},'blockID':_0x4083ed['id']})):Promise[_0x2eec99(0x20b)]({'error':{'code':c['ErrorCode'][_0x2eec99(0x325)],'message':_0x2eec99(0x2c3)},'blockID':''});}[_0x379674(0x1c6)](){const _0x2877f2=_0x379674;return Promise[_0x2877f2(0x20b)]({'error':{'code':c[_0x2877f2(0x258)]['OK'],'message':''},'concurrent':[]});}[_0x379674(0x249)](){const _0x7a127d=_0x379674;return Promise[_0x7a127d(0x20b)]({'error':void 0x0,'fileMetaId':''});}['getLatestCsReqIdBySid'](){const _0x3cb160=_0x379674;return Promise[_0x3cb160(0x20b)]({'error':void 0x0,'latestReqID':0x0});}};const G=(0x0,t[_0x379674(0x2eb)])('univer-pro.exchange-client.exchange.service');let K=class extends t['Disposable']{constructor(_0x16e23e,_0x5a623d,_0x11eec1){const _0x295c3d=_0x379674;super(),this[_0x295c3d(0x1b9)]=_0x16e23e,this[_0x295c3d(0x28a)]=_0x5a623d,this[_0x295c3d(0x1b6)]=_0x11eec1,v(this,_0x295c3d(0x27d),null),v(this,_0x295c3d(0x2e0),new a[(_0x295c3d(0x324))]()),v(this,_0x295c3d(0x27b),this['_requestState$'][_0x295c3d(0x263)]());}['dispose'](){const _0x409ae8=_0x379674;super['dispose'](),this[_0x409ae8(0x2e0)][_0x409ae8(0x326)]();}['downloadFile'](_0x133c98,_0xf07c11,_0x2d7674){const _0x2b0f71=_0x379674;let _0x4f4aa9=URL[_0x2b0f71(0x217)](_0x133c98);k(_0x4f4aa9,_0xf07c11,_0x2d7674),URL[_0x2b0f71(0x260)](_0x4f4aa9);}async[_0x379674(0x20a)](_0x5904f3){const _0x38f94b=_0x379674;let _0x244f39=_0x5904f3[_0x38f94b(0x27a)],_0x454602=_0x5904f3['sheetBlocks']||{};return(0x0,l[_0x38f94b(0x25f)])(_0x244f39,Object['keys'](_0x454602)['map'](_0x11e3fe=>_0x454602[_0x11e3fe])['map'](_0x1dede1=>({..._0x1dede1,'data':_0x1dede1['data']?JSON[_0x38f94b(0x1a1)]((0x0,l[_0x38f94b(0x233)])(_0x1dede1['data'])):void 0x0})));}async[_0x379674(0x24a)](_0x182a4e){const _0x4a3167=_0x379674;var _0x1506a5;let _0x4f30b5={'metadata':void 0x0},_0x588250=_0x182a4e['id'],_0x5b882f=(_0x1506a5=_0x182a4e[_0x4a3167(0x25e)])==null?0x0:_0x1506a5,_0x2dbef3=new W(),{snapshot:_0x301f2f}=await(0x0,l[_0x4a3167(0x27f)])(_0x4f30b5,_0x182a4e,_0x588250,_0x5b882f,_0x2dbef3),_0x1285db=await(0x0,l[_0x4a3167(0x1d0)])(_0x301f2f,_0x2dbef3),_0x187c83=L(_0x301f2f);if(!_0x187c83)throw Error(_0x4a3167(0x2bc));return{'snapshot':_0x187c83,'sheetBlocks':B(_0x1285db)};}async[_0x379674(0x267)](_0x25830c){const _0x399563=_0x379674;let _0x2bbe42=await this[_0x399563(0x22c)](_0x25830c,t[_0x399563(0x1ba)][_0x399563(0x21e)]);if(!_0x2bbe42||!_0x2bbe42['snapshot'])return;let _0x3119c5=de(_0x2bbe42);if(_0x3119c5)return _0x3119c5;}async['exportDOCXByUnitId'](_0x47724a){const _0x33aa70=_0x379674;return this[_0x33aa70(0x2bd)](_0x47724a,0x1,t['UniverInstanceType'][_0x33aa70(0x21e)]);}async[_0x379674(0x321)](_0x281d5b){const _0x2b5c7c=_0x379674;let _0x3ee7a8=await H(_0x281d5b);return this[_0x2b5c7c(0x316)](_0x3ee7a8,t[_0x2b5c7c(0x1ba)]['UNIVER_DOC']);}async[_0x379674(0x1a4)](_0x1b49bf){const _0x267801=_0x379674;let _0x322c65=await this[_0x267801(0x22c)](_0x1b49bf,t[_0x267801(0x1ba)][_0x267801(0x252)]);if(!(!_0x322c65||!_0x322c65[_0x267801(0x27a)]))return fe(_0x322c65);}async['exportPPTXByUnitId'](_0x10cf37){const _0x4396f8=_0x379674;return this[_0x4396f8(0x2bd)](_0x10cf37,0x1,t['UniverInstanceType'][_0x4396f8(0x252)]);}async[_0x379674(0x19f)](_0x5245f6){const _0x1baa09=_0x379674;let _0x4b235c=await U(_0x5245f6);return this['_exportBySnapshot'](_0x4b235c,t[_0x1baa09(0x1ba)]['UNIVER_SLIDE']);}async[_0x379674(0x2da)](_0x1c7285){const _0x55709b=_0x379674;let _0x472930=await this[_0x55709b(0x22c)](_0x1c7285,t[_0x55709b(0x1ba)][_0x55709b(0x2d3)]);if(!_0x472930)return;let _0x3a89da=await this[_0x55709b(0x20a)](_0x472930);if(_0x3a89da)return _0x3a89da;}async[_0x379674(0x1ea)](_0x1905b1){const _0x1382e8=_0x379674;return this['_export'](_0x1905b1,0x1,t['UniverInstanceType'][_0x1382e8(0x2d3)]);}async[_0x379674(0x1a6)](_0x2b39dc){const _0x1df28f=_0x379674;let _0x334905=await this[_0x1df28f(0x24a)](_0x2b39dc);return this[_0x1df28f(0x316)](_0x334905,t['UniverInstanceType'][_0x1df28f(0x2d3)]);}async['importFileToUnitId'](_0x11aab7,_0x5c7372){const _0x34b8d9=_0x379674;var _0xe2984,_0x5ae192;let _0x3e332f=await this[_0x34b8d9(0x224)](_0x11aab7);if(!_0x3e332f)return;let _0x384df2=await this[_0x34b8d9(0x28c)](_0x3e332f,0x1,_0x5c7372);if(!_0x384df2)return;this['_importTaskId']=_0x384df2,this['_requestService'][_0x34b8d9(0x2fc)]();let _0x3cf5d5=await this[_0x34b8d9(0x1b6)][_0x34b8d9(0x2fa)](_0x384df2)['catch'](_0x4927cc=>{const _0x3e0c01=_0x34b8d9;var _0x377aa2;let _0x42e44b=_0x4927cc instanceof Error?_0x4927cc[_0x3e0c01(0x2fd)]:(_0x377aa2=_0x4927cc[_0x3e0c01(0x2be)])==null?void 0x0:_0x377aa2[_0x3e0c01(0x2fd)];this[_0x3e0c01(0x2e0)][_0x3e0c01(0x1bb)]({'error':{'code':c[_0x3e0c01(0x258)][_0x3e0c01(0x317)],'message':_0x42e44b||''},'state':0x3});});if(!_0x3cf5d5)return;let _0x3c432a=(_0xe2984=_0x3cf5d5[_0x34b8d9(0x1b3)])==null?void 0x0:_0xe2984[_0x34b8d9(0x311)],_0x52c30a=((_0x5ae192=_0x3cf5d5[_0x34b8d9(0x1b3)])==null?void 0x0:_0x5ae192[_0x34b8d9(0x2b1)])||'';if(_0x3c432a!==0x1){this[_0x34b8d9(0x2e0)][_0x34b8d9(0x1bb)]({'error':{'code':c[_0x34b8d9(0x258)][_0x34b8d9(0x317)],'message':_0x34b8d9(0x29c)},'state':0x3});return;}if(_0x52c30a['length']===0x0){this[_0x34b8d9(0x2e0)][_0x34b8d9(0x1bb)]({'error':{'code':c['ErrorCode']['UNRECOGNIZED'],'message':'Failed\x20to\x20get\x20unitID\x20from\x20task'},'state':0x3});return;}return this[_0x34b8d9(0x2e0)][_0x34b8d9(0x1bb)]({'error':_0x3cf5d5[_0x34b8d9(0x2be)],'state':0x3}),_0x52c30a;}async['importFileToJson'](_0x1aef81,_0x12b1ad){const _0x116b8e=_0x379674;return this[_0x116b8e(0x272)](_0x1aef81,_0x12b1ad);}async[_0x379674(0x2e7)](_0x9d8f35){const _0x3cad96=_0x379674;let _0x261563=await this['transformWorkbookDataToSnapshotJson'](_0x9d8f35),_0x1a8b6c=typeof _0x9d8f35['id']==_0x3cad96(0x2f6)&&_0x9d8f35['id']['trim']()?_0x9d8f35['id'][_0x3cad96(0x1c5)]()+_0x3cad96(0x327):_0x3cad96(0x2fe),_0x3f5e31=new File([JSON['stringify'](_0x261563)],_0x1a8b6c,{'type':_0x3cad96(0x218)});return this[_0x3cad96(0x2d0)](_0x3f5e31,t[_0x3cad96(0x1ba)][_0x3cad96(0x2d3)]);}[_0x379674(0x271)](){const _0x8bdf59=_0x379674;this[_0x8bdf59(0x27d)]&&this[_0x8bdf59(0x1b6)][_0x8bdf59(0x1da)](this[_0x8bdf59(0x27d)]);}async['_importToJson'](_0x2ee7c5,_0x32bbc3){const _0x117ae6=_0x379674;var _0x3578a7,_0x373f80;let _0xb7b4f6=await this[_0x117ae6(0x224)](_0x2ee7c5);if(!_0xb7b4f6)return;let _0x18a14d=await this['_import'](_0xb7b4f6,0x2,_0x32bbc3);if(!_0x18a14d)return;this[_0x117ae6(0x27d)]=_0x18a14d,this[_0x117ae6(0x1b6)][_0x117ae6(0x2fc)]();let _0x5ef1f3=await this[_0x117ae6(0x1b6)]['getTask'](_0x18a14d)[_0x117ae6(0x1e0)](_0xbf2586=>{const _0x9115ab=_0x117ae6;var _0x59d9eb;let _0x5e82c1=_0xbf2586 instanceof Error?_0xbf2586[_0x9115ab(0x2fd)]:(_0x59d9eb=_0xbf2586['error'])==null?void 0x0:_0x59d9eb[_0x9115ab(0x2fd)];this[_0x9115ab(0x2e0)][_0x9115ab(0x1bb)]({'error':{'code':c[_0x9115ab(0x258)][_0x9115ab(0x317)],'message':_0x5e82c1||''},'state':0x3});});if(!_0x5ef1f3)return;let _0x35a33a=(_0x3578a7=_0x5ef1f3[_0x117ae6(0x1b3)])==null?void 0x0:_0x3578a7[_0x117ae6(0x311)],_0x159648=((_0x373f80=_0x5ef1f3['import'])==null?void 0x0:_0x373f80[_0x117ae6(0x1fb)])||'';if(_0x35a33a!==0x2){this[_0x117ae6(0x2e0)]['next']({'error':{'code':c[_0x117ae6(0x258)][_0x117ae6(0x317)],'message':_0x117ae6(0x29c)},'state':0x3});return;}if(_0x159648[_0x117ae6(0x269)]===0x0){this['_requestState$'][_0x117ae6(0x1bb)]({'error':{'code':c[_0x117ae6(0x258)][_0x117ae6(0x317)],'message':_0x117ae6(0x255)},'state':0x3});return;}this['_requestState$'][_0x117ae6(0x1bb)]({'error':_0x5ef1f3[_0x117ae6(0x2be)],'state':0x3});let _0x3ed516=await this[_0x117ae6(0x296)](_0x159648);if(!_0x3ed516)return;let _0x45da2e=await this[_0x117ae6(0x1b6)]['getTextFromUrl'](_0x3ed516);if(!_0x45da2e){this[_0x117ae6(0x2e0)]['next']({'error':{'code':c[_0x117ae6(0x258)][_0x117ae6(0x317)],'message':_0x117ae6(0x2c5)},'state':0x5});return;}try{let _0x12f706=JSON[_0x117ae6(0x1a1)](_0x45da2e);return this['_requestState$']['next']({'error':{'code':c[_0x117ae6(0x258)]['OK'],'message':_0x117ae6(0x26f)},'state':0x5}),_0x12f706;}catch{this['_requestState$'][_0x117ae6(0x1bb)]({'error':{'code':c[_0x117ae6(0x258)][_0x117ae6(0x317)],'message':_0x117ae6(0x265)},'state':0x5});}}async['_exportBySnapshot'](_0x19514e,_0x5a1526){const _0x3bd003=_0x379674;let _0x5f052b=JSON[_0x3bd003(0x2a4)](_0x19514e),_0x29e1bd=l[_0x3bd003(0x2a1)]['encode'](_0x5f052b),_0x111f24=(0x0,u[_0x3bd003(0x226)])(_0x29e1bd),_0x55df19=_0x29e1bd[_0x3bd003(0x269)],_0x40f27e=se(_0x111f24),_0x2cd998=await this['_upload'](_0x40f27e,_0x55df19,!0x0);if(_0x2cd998)return this[_0x3bd003(0x2bd)](_0x2cd998,0x2,_0x5a1526);}async[_0x379674(0x2bd)](_0x4aa159,_0x5c9d26,_0x1a3fb1){const _0x53b3fb=_0x379674;var _0x4d0573;let _0x4a7f7f=await this[_0x53b3fb(0x1b6)][_0x53b3fb(0x2ad)]({'unitID':_0x5c9d26===0x1?_0x4aa159:'','jsonID':_0x5c9d26===0x2?_0x4aa159:'','type':_0x1a3fb1,'useImageUrl':this[_0x53b3fb(0x2f1)](),'ignoreTableExport':this[_0x53b3fb(0x1c7)]()});if(!_0x4a7f7f){this['_requestState$'][_0x53b3fb(0x1bb)]({'error':{'code':c[_0x53b3fb(0x258)][_0x53b3fb(0x317)],'message':_0x53b3fb(0x2b6)},'state':0x2});return;}if(this[_0x53b3fb(0x2e0)]['next']({'error':_0x4a7f7f[_0x53b3fb(0x2be)],'state':0x2}),_0x4a7f7f[_0x53b3fb(0x2be)]&&_0x4a7f7f['error'][_0x53b3fb(0x293)]!==c[_0x53b3fb(0x258)]['OK'])return;let _0x3f5ba3=_0x4a7f7f[_0x53b3fb(0x2d4)],_0x3e3d72=await this[_0x53b3fb(0x1b6)][_0x53b3fb(0x2fa)](_0x3f5ba3)[_0x53b3fb(0x1e0)](_0x3ff1b5=>{const _0xa07784=_0x53b3fb;var _0x4ab8a4;let _0x18da3a=_0x3ff1b5 instanceof Error?_0x3ff1b5['message']:(_0x4ab8a4=_0x3ff1b5[_0xa07784(0x2be)])==null?void 0x0:_0x4ab8a4[_0xa07784(0x2fd)];this[_0xa07784(0x2e0)][_0xa07784(0x1bb)]({'error':{'code':c['ErrorCode']['UNRECOGNIZED'],'message':_0x18da3a||''},'state':0x3});});if(!_0x3e3d72)return;let _0x369a89=((_0x4d0573=_0x3e3d72[_0x53b3fb(0x2ad)])==null?void 0x0:_0x4d0573[_0x53b3fb(0x2fb)])||'';if(_0x369a89[_0x53b3fb(0x269)]===0x0){this['_requestState$'][_0x53b3fb(0x1bb)]({'error':{'code':c[_0x53b3fb(0x258)][_0x53b3fb(0x317)],'message':_0x53b3fb(0x23f)},'state':0x3});return;}this[_0x53b3fb(0x2e0)][_0x53b3fb(0x1bb)]({'error':_0x3e3d72[_0x53b3fb(0x2be)],'state':0x3});let _0x168dfe=await this['_signUrl'](_0x369a89);if(!_0x168dfe)return;let _0x57dd7d=await N(_0x168dfe,this[_0x53b3fb(0x28a)]);if(!_0x57dd7d){this[_0x53b3fb(0x2e0)][_0x53b3fb(0x1bb)]({'error':{'code':c['ErrorCode']['UNRECOGNIZED'],'message':'Failed\x20to\x20get\x20file\x20from\x20url'},'state':0x6});return;}return this['_requestState$'][_0x53b3fb(0x1bb)]({'error':{'code':c[_0x53b3fb(0x258)]['OK'],'message':_0x53b3fb(0x26f)},'state':0x6}),_0x57dd7d;}async[_0x379674(0x224)](_0x7c7493,_0x50cdd0,_0x5ece56){const _0x2579e1=_0x379674;let _0x27b92f;try{_0x27b92f=await this[_0x2579e1(0x1b6)][_0x2579e1(0x25a)](_0x7c7493,_0x50cdd0,_0x5ece56);}catch(_0x500d88){let _0x4be795=_0x500d88 instanceof Error?_0x500d88['message']:String(_0x500d88);this['_requestState$'][_0x2579e1(0x1bb)]({'error':{'code':c[_0x2579e1(0x258)][_0x2579e1(0x317)],'message':_0x4be795},'state':0x0});return;}if(!_0x27b92f||typeof _0x27b92f['FileId']!=_0x2579e1(0x2f6)){this['_requestState$'][_0x2579e1(0x1bb)]({'error':{'code':c[_0x2579e1(0x258)][_0x2579e1(0x317)],'message':'upload\x20failed:\x20missing\x20FileId\x20in\x20response'},'state':0x0});return;}let _0x215a0a=_0x27b92f[_0x2579e1(0x241)];if(_0x215a0a[_0x2579e1(0x269)]===0x0){this['_requestState$'][_0x2579e1(0x1bb)]({'error':{'code':c[_0x2579e1(0x258)][_0x2579e1(0x317)],'message':'upload\x20failed:\x20FileId\x20is\x20empty'},'state':0x0});return;}return this[_0x2579e1(0x2e0)][_0x2579e1(0x1bb)]({'error':{'code':c[_0x2579e1(0x258)]['OK'],'message':_0x2579e1(0x26f)},'state':0x0}),_0x215a0a;}async[_0x379674(0x28c)](_0x2eb67b,_0x35ea04,_0x50548f){const _0x4dc348=_0x379674;let _0x597116={'fileID':_0x2eb67b,'type':_0x50548f,'outputType':_0x35ea04,'fileUrl':'','minSheetRowCount':this[_0x4dc348(0x1f9)](),'minSheetColumnCount':this[_0x4dc348(0x1d4)]()},_0xc515de=await this[_0x4dc348(0x1b6)][_0x4dc348(0x1b3)](_0x597116);if(!_0xc515de){this[_0x4dc348(0x2e0)][_0x4dc348(0x1bb)]({'error':{'code':c['ErrorCode']['UNRECOGNIZED'],'message':_0x4dc348(0x2b8)},'state':0x1});return;}if(_0xc515de[_0x4dc348(0x2be)]&&_0xc515de['error'][_0x4dc348(0x293)]!==c[_0x4dc348(0x258)]['OK']){this[_0x4dc348(0x2e0)][_0x4dc348(0x1bb)]({'error':_0xc515de[_0x4dc348(0x2be)],'state':0x1});return;}let _0x50248d=_0xc515de[_0x4dc348(0x2d4)];if(_0x50248d[_0x4dc348(0x269)]===0x0){this[_0x4dc348(0x2e0)][_0x4dc348(0x1bb)]({'error':{'code':c[_0x4dc348(0x258)][_0x4dc348(0x317)],'message':_0x4dc348(0x2f8)},'state':0x1});return;}return this['_requestState$'][_0x4dc348(0x1bb)]({'error':_0xc515de[_0x4dc348(0x2be)],'state':0x1}),_0x50248d;}async[_0x379674(0x296)](_0x295381){const _0x59c469=_0x379674;let _0x425d8f=await this[_0x59c469(0x1b6)][_0x59c469(0x21d)](_0x295381);if(!_0x425d8f){this[_0x59c469(0x2e0)][_0x59c469(0x1bb)]({'error':{'code':c[_0x59c469(0x258)]['UNRECOGNIZED'],'message':_0x59c469(0x261)},'state':0x4});return;}if(_0x425d8f[_0x59c469(0x2be)]&&_0x425d8f[_0x59c469(0x2be)]['code']!==c[_0x59c469(0x258)]['OK']){this['_requestState$'][_0x59c469(0x1bb)]({'error':_0x425d8f[_0x59c469(0x2be)],'state':0x4});return;}let _0x4d6779=(0x0,t[_0x59c469(0x229)])(_0x425d8f[_0x59c469(0x30d)],this[_0x59c469(0x1e1)]());if(_0x4d6779[_0x59c469(0x269)]===0x0){this[_0x59c469(0x2e0)][_0x59c469(0x1bb)]({'error':{'code':c['ErrorCode'][_0x59c469(0x317)],'message':_0x59c469(0x261)},'state':0x4});return;}return this['_requestState$'][_0x59c469(0x1bb)]({'error':_0x425d8f[_0x59c469(0x2be)],'state':0x4}),_0x4d6779;}[_0x379674(0x1e1)](){const _0x5afc7b=_0x379674;var _0x1c5b7f;let _0x49cd5d=this[_0x5afc7b(0x1b9)][_0x5afc7b(0x2ab)](f);return(_0x1c5b7f=_0x49cd5d==null?void 0x0:_0x49cd5d[_0x5afc7b(0x2ff)])==null?location['origin']:_0x1c5b7f;}[_0x379674(0x1f9)](){const _0x695d2a=_0x379674;var _0x512276,_0x3b650c;let _0x3c21a1=this[_0x695d2a(0x1b9)][_0x695d2a(0x2ab)](f);return(_0x512276=_0x3c21a1==null||(_0x3b650c=_0x3c21a1['options'])==null?void 0x0:_0x3b650c[_0x695d2a(0x206)])==null?0x1:_0x512276;}['_getMinSheetColumnCount'](){const _0x3b1a61=_0x379674;var _0x3696f5,_0x1ea185;let _0x203211=this['_configService']['getConfig'](f);return(_0x3696f5=_0x203211==null||(_0x1ea185=_0x203211[_0x3b1a61(0x225)])==null?void 0x0:_0x1ea185[_0x3b1a61(0x2ca)])==null?0x1:_0x3696f5;}[_0x379674(0x2f1)](){const _0x48f490=_0x379674;var _0x282b7b,_0x4b2976;let _0x196540=this[_0x48f490(0x1b9)][_0x48f490(0x2ab)](f);return(_0x282b7b=_0x196540==null||(_0x4b2976=_0x196540[_0x48f490(0x225)])==null?void 0x0:_0x4b2976[_0x48f490(0x30a)])==null?!0x0:_0x282b7b;}[_0x379674(0x1c7)](){const _0x48dd54=_0x379674;var _0xbfeeaa,_0x273ada;let _0x18bd38=this[_0x48dd54(0x1b9)][_0x48dd54(0x2ab)](f);return(_0xbfeeaa=_0x18bd38==null||(_0x273ada=_0x18bd38[_0x48dd54(0x225)])==null?void 0x0:_0x273ada[_0x48dd54(0x2e4)])==null?!0x1:_0xbfeeaa;}};K=h([m(0x0,t[_0x379674(0x1d3)]),m(0x1,(0x0,t[_0x379674(0x25d)])(n[_0x379674(0x315)])),m(0x2,(0x0,t['Inject'])(F))],K);const pe={'done':0x0,'count':0x0},q=(0x0,t[_0x379674(0x2eb)])('univer-pro.exchange-client.operate.service');let J=class extends t[_0x379674(0x2f5)]{constructor(_0x357771,_0x52a98c,_0xad5591,_0x473684,_0x4e5c1c,_0x2ea9b8,_0x59e362){const _0x1c93a9=_0x379674;super(),this[_0x1c93a9(0x1cb)]=_0x357771,this[_0x1c93a9(0x1fe)]=_0x52a98c,this[_0x1c93a9(0x254)]=_0xad5591,this[_0x1c93a9(0x282)]=_0x473684,this[_0x1c93a9(0x30e)]=_0x4e5c1c,this[_0x1c93a9(0x231)]=_0x2ea9b8,this[_0x1c93a9(0x24d)]=_0x59e362,v(this,'_progress$',new a['BehaviorSubject'](pe)),v(this,_0x1c93a9(0x1db),this[_0x1c93a9(0x1fd)][_0x1c93a9(0x263)]()),v(this,_0x1c93a9(0x288),0x0),v(this,'_doneUploadTaskCount',0x0),this[_0x1c93a9(0x262)]((0x0,t[_0x1c93a9(0x203)])(this[_0x1c93a9(0x282)][_0x1c93a9(0x27b)]['subscribe'](_0x13c3b5=>{const _0x274524=_0x1c93a9;var _0xeaa0c3;((_0xeaa0c3=_0x13c3b5['error'])==null?void 0x0:_0xeaa0c3[_0x274524(0x293)])===c['ErrorCode']['OK']?this[_0x274524(0x234)](0x1):this[_0x274524(0x1b5)](_0x13c3b5[_0x274524(0x2be)]);})));}[_0x379674(0x1bc)](){const _0x206fd3=_0x379674;this[_0x206fd3(0x2f4)](),this[_0x206fd3(0x30e)][_0x206fd3(0x1c3)](0x2),this[_0x206fd3(0x282)]['interruptImportTask']();}async[_0x379674(0x2b3)](_0xa701b7){const _0xc029d=_0x379674;throw Error(_0xc029d(0x2d6));}async[_0x379674(0x2d8)](){const _0x47f6a3=_0x379674;let _0x3fcbe4=this[_0x47f6a3(0x1cb)]['getFocusedUnit']();switch(_0x3fcbe4?this['_univerInstanceService'][_0x47f6a3(0x205)](_0x3fcbe4['getUnitId']()):t[_0x47f6a3(0x1ba)][_0x47f6a3(0x317)]){case t[_0x47f6a3(0x1ba)][_0x47f6a3(0x252)]:return this[_0x47f6a3(0x2e2)]();case t[_0x47f6a3(0x1ba)][_0x47f6a3(0x21e)]:return this['importDOCXToUnitId']();case t[_0x47f6a3(0x1ba)][_0x47f6a3(0x2d3)]:default:return this[_0x47f6a3(0x25c)]();}}async['importDOCXToUnitId'](){const _0x421e39=_0x379674;let _0x2f002e=await M([t[_0x421e39(0x1ba)][_0x421e39(0x21e)]]);if(_0x2f002e&&!this[_0x421e39(0x1a7)](_0x2f002e,t['UniverInstanceType'][_0x421e39(0x21e)]))return this[_0x421e39(0x281)](_0x2f002e[0x0],t[_0x421e39(0x1ba)]['UNIVER_DOC']);}[_0x379674(0x267)](){const _0x41cf4b=_0x379674;throw Error(_0x41cf4b(0x2d6));}async['exportDOCXByUnitId'](_0x42fb4b,_0x40a88d,_0x21125a){const _0x4a7dd5=_0x379674;this[_0x4a7dd5(0x247)](o[_0x4a7dd5(0x29e)][_0x4a7dd5(0x1f8)]);let _0x2277de=await this[_0x4a7dd5(0x282)][_0x4a7dd5(0x222)](_0x42fb4b||this[_0x4a7dd5(0x2c2)]());_0x2277de&&(this[_0x4a7dd5(0x282)][_0x4a7dd5(0x290)](_0x2277de,_0x40a88d||this[_0x4a7dd5(0x320)](_0x2277de),_0x4a7dd5(0x314)),this['_showDownloadMessage'](o[_0x4a7dd5(0x29e)][_0x4a7dd5(0x2f3)]));}async[_0x379674(0x321)](){const _0x591a6a=_0x379674;this[_0x591a6a(0x247)](o[_0x591a6a(0x29e)][_0x591a6a(0x1f8)]);let _0x5cb58c=await this[_0x591a6a(0x209)](),_0x1d49cd=await this[_0x591a6a(0x282)]['exportDOCXBySnapshot'](_0x5cb58c);_0x1d49cd&&(this[_0x591a6a(0x282)][_0x591a6a(0x290)](_0x1d49cd,this[_0x591a6a(0x320)](_0x1d49cd),'docx'),this[_0x591a6a(0x247)](o[_0x591a6a(0x29e)][_0x591a6a(0x2f3)]));}async['importPPTXToUnitId'](){const _0x296c7d=_0x379674;if(this[_0x296c7d(0x1c9)]()){this[_0x296c7d(0x1fe)][_0x296c7d(0x32b)]({'type':o[_0x296c7d(0x29e)][_0x296c7d(0x1e6)],'content':this[_0x296c7d(0x254)]['t'](_0x296c7d(0x213))});return;}let _0x34153f=await M([t['UniverInstanceType']['UNIVER_SLIDE']]);if(_0x34153f&&!this[_0x296c7d(0x1a7)](_0x34153f,t[_0x296c7d(0x1ba)]['UNIVER_SLIDE']))return this['_importFileToUnitId'](_0x34153f[0x0],t[_0x296c7d(0x1ba)]['UNIVER_SLIDE']);}async[_0x379674(0x1a4)](){const _0x2f8749=_0x379674;if(this['_uploadTaskNotDone']()){this[_0x2f8749(0x1fe)][_0x2f8749(0x32b)]({'type':o[_0x2f8749(0x29e)][_0x2f8749(0x1e6)],'content':this['_localeService']['t'](_0x2f8749(0x213))});return;}let _0x5bed90=await M([t['UniverInstanceType'][_0x2f8749(0x252)]]);if(!_0x5bed90)return;this[_0x2f8749(0x207)](o['MessageType']['Info']);let _0x435c8e=await this['_exchangeService'][_0x2f8749(0x1a4)](_0x5bed90[0x0]);_0x435c8e&&(this['_refreshSlide'](_0x435c8e),this[_0x2f8749(0x207)](o[_0x2f8749(0x29e)][_0x2f8749(0x2f3)]));}async[_0x379674(0x20e)](_0x11726d,_0x2d1b2a,_0x1a1ace){const _0x59fd2c=_0x379674;this[_0x59fd2c(0x247)](o[_0x59fd2c(0x29e)]['Info']);let _0x861b50=await this[_0x59fd2c(0x282)][_0x59fd2c(0x20e)](_0x11726d||this[_0x59fd2c(0x250)]());_0x861b50&&(this[_0x59fd2c(0x282)]['downloadFile'](_0x861b50,_0x2d1b2a||this[_0x59fd2c(0x23e)](_0x861b50,_0x1a1ace==null?t[_0x59fd2c(0x1ba)][_0x59fd2c(0x252)]:_0x1a1ace),_0x59fd2c(0x24c)),this['_showDownloadMessage'](o[_0x59fd2c(0x29e)][_0x59fd2c(0x2f3)]));}async[_0x379674(0x19f)](){const _0x5f21e5=_0x379674;this[_0x5f21e5(0x247)](o[_0x5f21e5(0x29e)][_0x5f21e5(0x1f8)]);let _0x4cc1c0=await this[_0x5f21e5(0x273)](),_0x425d4c=await this['_exchangeService'][_0x5f21e5(0x19f)](_0x4cc1c0);_0x425d4c&&(this[_0x5f21e5(0x282)][_0x5f21e5(0x290)](_0x425d4c,this['_getUnitNameByType'](_0x425d4c,t[_0x5f21e5(0x1ba)][_0x5f21e5(0x252)]),_0x5f21e5(0x24c)),this['_showDownloadMessage'](o[_0x5f21e5(0x29e)][_0x5f21e5(0x2f3)]));}async[_0x379674(0x25c)](){const _0x3c6cfb=_0x379674;if(this[_0x3c6cfb(0x1c9)]()){this[_0x3c6cfb(0x1fe)]['show']({'type':o['MessageType'][_0x3c6cfb(0x1e6)],'content':this['_localeService']['t'](_0x3c6cfb(0x213))});return;}let _0x38ae73=await M([t[_0x3c6cfb(0x1ba)][_0x3c6cfb(0x2d3)]]);if(_0x38ae73&&!this[_0x3c6cfb(0x1a7)](_0x38ae73,t[_0x3c6cfb(0x1ba)]['UNIVER_SHEET']))return this[_0x3c6cfb(0x281)](_0x38ae73[0x0],t[_0x3c6cfb(0x1ba)]['UNIVER_SHEET']);}async[_0x379674(0x2da)](){const _0x47dfcc=_0x379674;if(this[_0x47dfcc(0x1c9)]()){this[_0x47dfcc(0x1fe)][_0x47dfcc(0x32b)]({'type':o[_0x47dfcc(0x29e)]['Warning'],'content':this[_0x47dfcc(0x254)]['t']('exchange-client.uploading')});return;}let _0x2177a9=await M([t['UniverInstanceType'][_0x47dfcc(0x2d3)]]);if(!_0x2177a9)return;this[_0x47dfcc(0x207)](o['MessageType'][_0x47dfcc(0x1f8)]);let _0x203bed=await this['_exchangeService'][_0x47dfcc(0x2da)](_0x2177a9[0x0]);_0x203bed&&(this['_refresh'](_0x203bed),this['_showUploadMessage'](o['MessageType'][_0x47dfcc(0x2f3)]));}async[_0x379674(0x1ea)](_0x3ec134,_0x267dbf,_0x5dd5f7){const _0x11d857=_0x379674;this['_showDownloadMessage'](o[_0x11d857(0x29e)]['Info']);let _0x58e070=await this[_0x11d857(0x282)][_0x11d857(0x1ea)](_0x3ec134||this[_0x11d857(0x1e8)]());_0x58e070&&(this[_0x11d857(0x282)]['downloadFile'](_0x58e070,_0x267dbf||this[_0x11d857(0x320)](_0x58e070),_0x11d857(0x310)),this[_0x11d857(0x247)](o[_0x11d857(0x29e)]['Success']));}async[_0x379674(0x1a6)](){const _0x55c698=_0x379674;this[_0x55c698(0x247)](o[_0x55c698(0x29e)][_0x55c698(0x1f8)]);let _0x276bbe=await this[_0x55c698(0x2ec)](),_0x4bc89f=await this[_0x55c698(0x282)][_0x55c698(0x1a6)](_0x276bbe);_0x4bc89f&&(this[_0x55c698(0x282)]['downloadFile'](_0x4bc89f,this['_getUnitName'](_0x4bc89f),_0x55c698(0x310)),this['_showDownloadMessage'](o['MessageType'][_0x55c698(0x2f3)]));}[_0x379674(0x300)](_0x10b411){const _0x5de7d1=_0x379674;this[_0x5de7d1(0x306)]=_0x10b411;}async[_0x379674(0x281)](_0x10c909,_0x4be3a2){const _0x574c0b=_0x379674;this[_0x574c0b(0x30e)]['show'](),this[_0x574c0b(0x30e)]['updateState'](0x0),this[_0x574c0b(0x236)](0x4),this[_0x574c0b(0x234)](0x1);let _0x271055=await this[_0x574c0b(0x282)][_0x574c0b(0x2d0)](_0x10c909,_0x4be3a2);if(!_0x271055){this[_0x574c0b(0x2f4)](),this['_uploadNotificationService'][_0x574c0b(0x1c3)](0x2);return;}let _0x2fec96={'link':this['_getLinkByUnitId'](_0x271055,_0x4be3a2),'name':_0x10c909[_0x574c0b(0x22b)],'type':_0x4be3a2};return this[_0x574c0b(0x30e)]['pushLink'](_0x2fec96),this[_0x574c0b(0x268)](),this[_0x574c0b(0x30e)][_0x574c0b(0x1c3)](0x1),_0x271055;}[_0x379674(0x1e8)](){const _0x220e36=_0x379674;return this['_univerInstanceService'][_0x220e36(0x2b4)](t['UniverInstanceType']['UNIVER_SHEET'])[_0x220e36(0x215)]();}['_getUnitIDDoc'](){const _0xa52ad4=_0x379674;return this[_0xa52ad4(0x1cb)][_0xa52ad4(0x2b4)](t[_0xa52ad4(0x1ba)][_0xa52ad4(0x21e)])[_0xa52ad4(0x215)]();}[_0x379674(0x250)](){const _0x3996d5=_0x379674;return this[_0x3996d5(0x1cb)][_0x3996d5(0x2b4)](t[_0x3996d5(0x1ba)][_0x3996d5(0x252)])['getUnitId']();}[_0x379674(0x320)](_0x447ad5){const _0x4a0f23=_0x379674;return this[_0x4a0f23(0x23e)](_0x447ad5,t[_0x4a0f23(0x1ba)][_0x4a0f23(0x2d3)]);}[_0x379674(0x23e)](_0x50eb08,_0xba15b0){const _0x52a8ec=_0x379674;var _0x2d6ad9;let _0xcf5fb0=(_0x2d6ad9=this[_0x52a8ec(0x1cb)][_0x52a8ec(0x2b4)](_0xba15b0))==null?void 0x0:_0x2d6ad9[_0x52a8ec(0x1a2)](),_0x35782c=_0xcf5fb0==null?void 0x0:_0xcf5fb0['name'];return typeof _0x35782c==_0x52a8ec(0x2f6)&&_0x35782c[_0x52a8ec(0x1c5)]()?_0x35782c:_0x50eb08[_0x52a8ec(0x22b)]['split']('.')[_0x52a8ec(0x1b2)]()||document[_0x52a8ec(0x251)];}async[_0x379674(0x2ec)](){const _0xb8ed40=_0x379674;return this['_univerInstanceService'][_0xb8ed40(0x2b4)](t[_0xb8ed40(0x1ba)][_0xb8ed40(0x2d3)])[_0xb8ed40(0x1a2)]();}async['_getUnitDocJson'](){const _0x536c60=_0x379674;return this[_0x536c60(0x1cb)]['getCurrentUnitOfType'](t[_0x536c60(0x1ba)]['UNIVER_DOC'])[_0x536c60(0x1a2)]();}async[_0x379674(0x273)](){const _0x20e078=_0x379674;let _0x520cfb=this[_0x20e078(0x1cb)][_0x20e078(0x2b4)](t['UniverInstanceType'][_0x20e078(0x252)]),_0x5537e4=this[_0x20e078(0x24d)][_0x20e078(0x1fa)](_0x520cfb['getUnitId']());return _0x5537e4==null?_0x520cfb[_0x20e078(0x1a2)]():_0x5537e4;}[_0x379674(0x306)](_0x2dbe2c,_0x214d19){const _0x451feb=_0x379674;let _0x506220=new URL(window[_0x451feb(0x1dd)][_0x451feb(0x2d1)]);return _0x506220['searchParams']['set'](_0x451feb(0x1ec),_0x2dbe2c),_0x506220[_0x451feb(0x22d)][_0x451feb(0x284)]('type',''+_0x214d19),_0x506220['toString']();}[_0x379674(0x1cc)](_0x3ced0e){const _0x33d981=_0x379674;let _0x37d068=this[_0x33d981(0x1cb)][_0x33d981(0x2b4)](t['UniverInstanceType'][_0x33d981(0x2d3)])[_0x33d981(0x215)]();this[_0x33d981(0x1cb)][_0x33d981(0x1d5)](_0x37d068),this[_0x33d981(0x1cb)][_0x33d981(0x28d)](t[_0x33d981(0x1ba)][_0x33d981(0x2d3)],_0x3ced0e);}[_0x379674(0x32a)](_0x51ea04){const _0x4f27b2=_0x379674;let _0x26fe92=this[_0x4f27b2(0x1cb)][_0x4f27b2(0x2b4)](t['UniverInstanceType'][_0x4f27b2(0x252)])[_0x4f27b2(0x215)]();this['_univerInstanceService'][_0x4f27b2(0x1d5)](_0x26fe92),this[_0x4f27b2(0x1cb)][_0x4f27b2(0x28d)](t[_0x4f27b2(0x1ba)]['UNIVER_SLIDE'],_0x51ea04);}[_0x379674(0x1b5)](_0x43ec9b){const _0x18b518=_0x379674;if(_0x43ec9b){let {code:_0x53be9b}=_0x43ec9b;switch(_0x53be9b){case c[_0x18b518(0x258)][_0x18b518(0x208)]:this[_0x18b518(0x1fe)][_0x18b518(0x32b)]({'type':o[_0x18b518(0x29e)]['Error'],'content':this[_0x18b518(0x254)]['t'](_0x18b518(0x294))});break;case c[_0x18b518(0x258)][_0x18b518(0x1c1)]:this[_0x18b518(0x1fe)]['show']({'type':o[_0x18b518(0x29e)][_0x18b518(0x244)],'content':this[_0x18b518(0x254)]['t'](_0x18b518(0x1c0))});break;default:this[_0x18b518(0x1fe)][_0x18b518(0x32b)]({'type':o[_0x18b518(0x29e)][_0x18b518(0x244)],'content':this['_localeService']['t']('exchange-client.networkError')});break;}return null;}return this[_0x18b518(0x1fe)]['show']({'type':o['MessageType'][_0x18b518(0x244)],'content':this['_localeService']['t'](_0x18b518(0x295))}),null;}[_0x379674(0x247)](_0x151610){const _0x39dbef=_0x379674;let _0x1d1bec='';switch(_0x151610){case o[_0x39dbef(0x29e)]['Success']:_0x1d1bec=this[_0x39dbef(0x254)]['t'](_0x39dbef(0x1eb));break;case o[_0x39dbef(0x29e)][_0x39dbef(0x1f8)]:_0x1d1bec=this['_localeService']['t'](_0x39dbef(0x227));break;default:break;}this[_0x39dbef(0x1fe)][_0x39dbef(0x32b)]({'type':_0x151610,'content':_0x1d1bec});}[_0x379674(0x207)](_0xb54a17){const _0x191f17=_0x379674;let _0x37c5f2='';switch(_0xb54a17){case o[_0x191f17(0x29e)][_0x191f17(0x2f3)]:_0x37c5f2=this[_0x191f17(0x254)]['t'](_0x191f17(0x26a));break;case o[_0x191f17(0x29e)][_0x191f17(0x1f8)]:_0x37c5f2=this[_0x191f17(0x254)]['t'](_0x191f17(0x213));break;default:break;}this[_0x191f17(0x1fe)][_0x191f17(0x32b)]({'type':_0xb54a17,'content':_0x37c5f2});}[_0x379674(0x25b)](){const _0x36509e=_0x379674;this[_0x36509e(0x1fd)][_0x36509e(0x1bb)]({'done':this[_0x36509e(0x1f3)],'count':this[_0x36509e(0x288)]});}[_0x379674(0x236)](_0x56bd41){const _0x3e8f37=_0x379674;this[_0x3e8f37(0x288)]+=_0x56bd41,this[_0x3e8f37(0x25b)]();}[_0x379674(0x234)](_0x17a488){const _0x15c190=_0x379674;this[_0x15c190(0x1f3)]+=_0x17a488,this['_doneUploadTaskCount']=Math[_0x15c190(0x2e5)](this[_0x15c190(0x1f3)],this['_totalUploadTaskCount']),this['_emitProgress']();}['_completeProgress'](){const _0x33a217=_0x379674;this['_doneUploadTaskCount']=this[_0x33a217(0x288)],this[_0x33a217(0x25b)]();}[_0x379674(0x2f4)](){const _0x4d33ce=_0x379674;this[_0x4d33ce(0x1f3)]=0x0,this[_0x4d33ce(0x288)]=0x0,this['_emitProgress']();}[_0x379674(0x1a7)](_0x55879c,_0x52058d){const _0x576f13=_0x379674;let _0x3c8ade=_0x55879c[0x0],_0x54cb7e=_0x3c8ade[_0x576f13(0x22b)];return j(_0x3c8ade)===_0x52058d?!0x1:(this[_0x576f13(0x1fe)][_0x576f13(0x32b)]({'type':o[_0x576f13(0x29e)][_0x576f13(0x244)],'content':this[_0x576f13(0x254)]['t'](_0x576f13(0x31e),_0x54cb7e)}),!0x0);}[_0x379674(0x1c9)](){const _0x33996f=_0x379674;return this['_totalUploadTaskCount']!==0x0&&this['_doneUploadTaskCount']!==this[_0x33996f(0x288)];}};J=h([m(0x0,(0x0,t[_0x379674(0x25d)])(t[_0x379674(0x29d)])),m(0x1,i[_0x379674(0x20c)]),m(0x2,(0x0,t[_0x379674(0x25d)])(t[_0x379674(0x237)])),m(0x3,(0x0,t[_0x379674(0x25d)])(G)),m(0x4,(0x0,t[_0x379674(0x25d)])(y)),m(0x5,t[_0x379674(0x2a8)]),m(0x6,(0x0,t['Inject'])(t['IResourceLoaderService']))],J);function Y(_0x5d7a0e){const _0x113956=_0x379674;let {onClick:_0x1a0a10,children:_0x20a2cc,className:_0x20ea02}=_0x5d7a0e;return(0x0,s[_0x113956(0x1f0)])(_0x113956(0x2d7),{'className':(0x0,o['clsx'])(_0x113956(0x29a),_0x20ea02),'type':_0x113956(0x2d7),'onClick':_0x1a0a10,'children':_0x20a2cc});}function X(){const _0x123ce6=_0x379674;let _0x598964=(0x0,i[_0x123ce6(0x279)])(q),_0x4095cf=(0x0,i['useDependency'])(t[_0x123ce6(0x237)]);function _0x51ebc5(){_0x598964['importFileToUnitIdByCurrentType']();}return(0x0,s['jsx'])(Y,{'onClick':_0x51ebc5,'children':_0x4095cf['t'](_0x123ce6(0x2ba))});}function me(){const _0x76f1b3=_0x379674;return(0x0,s[_0x76f1b3(0x2c0)])(_0x76f1b3(0x221),{'className':'univer-mt-5\x20univer-flex\x20univer-flex-col','children':[(0x0,s[_0x76f1b3(0x1f0)])('span',{'className':'univer-mb-3\x20univer-py-0\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','children':(0x0,i[_0x76f1b3(0x279)])(t['LocaleService'])['t']('exchange-client.interrupt')}),(0x0,s['jsx'])(X,{})]});}function he(_0x255351){const _0x1f33b6=_0x379674;let {count:_0x388bd3}=_0x255351;return(0x0,s['jsxs'])(_0x1f33b6(0x221),{'className':_0x1f33b6(0x2aa),'children':[(0x0,s['jsx'])(_0x1f33b6(0x1df),{'className':_0x1f33b6(0x1af),'children':(0x0,i['useDependency'])(t[_0x1f33b6(0x237)])['t'](_0x1f33b6(0x274),''+_0x388bd3)}),(0x0,s[_0x1f33b6(0x1f0)])(X,{})]});}function ge(){const _0x332120=_0x379674;let _0x3d7ac3=(0x0,i[_0x332120(0x279)])(q),_0xfa789e=(0x0,i[_0x332120(0x279)])(t['LocaleService']);function _0x5e478e(){const _0x1c220b=_0x332120;_0x3d7ac3[_0x1c220b(0x1bc)]();}return(0x0,s[_0x332120(0x1f0)])(Y,{'onClick':_0x5e478e,'children':_0xfa789e['t'](_0x332120(0x1f1))});}function _e(){const _0x2a64e4=_0x379674;let {count:_0xe20672,done:_0x101561}=(0x0,i[_0x2a64e4(0x286)])((0x0,i[_0x2a64e4(0x279)])(q)['progress$']),_0x2d2ae6=_0xe20672>0x0?_0x101561/_0xe20672:0x0;return(0x0,s[_0x2a64e4(0x1f0)])(_0x2a64e4(0x221),{'className':_0x2a64e4(0x230),'children':(0x0,s[_0x2a64e4(0x1f0)])(_0x2a64e4(0x221),{'className':_0x2a64e4(0x2ac),'style':{'width':Math[_0x2a64e4(0x1e2)](_0x2d2ae6*0x64)+'%'}})});}function ve(){const _0x145a82=_0x379674;return(0x0,s[_0x145a82(0x2c0)])(_0x145a82(0x221),{'className':_0x145a82(0x2c7),'children':[(0x0,s['jsx'])('span',{'className':_0x145a82(0x2ea),'children':(0x0,i['useDependency'])(t[_0x145a82(0x237)])['t'](_0x145a82(0x278))}),(0x0,s['jsx'])(_0x145a82(0x221),{'className':_0x145a82(0x1b8),'children':(0x0,s[_0x145a82(0x1f0)])(_e,{})}),(0x0,s[_0x145a82(0x1f0)])(ge,{})]});}const Z={0x1:(0x0,s[_0x379674(0x1f0)])(r['SuccessIcon'],{'className':_0x379674(0x319)}),0x0:(0x0,s['jsx'])(r['ClockIcon'],{'className':_0x379674(0x1ed)}),0x2:(0x0,s[_0x379674(0x1f0)])(r[_0x379674(0x1f2)],{'className':_0x379674(0x1d6)})};function ye(){const _0x5854f2=_0x379674;let _0x3b88cf=(0x0,i[_0x5854f2(0x279)])(y),_0xe421da=(0x0,i[_0x5854f2(0x279)])(t[_0x5854f2(0x237)]),_0x5a16d8=(0x0,i['useObservable'])(_0x3b88cf[_0x5854f2(0x245)],0x0),_0xdae7d3=(0x0,i[_0x5854f2(0x286)])(_0x3b88cf['visible$'],!0x1),_0x92bbd6=(0x0,i['useObservable'])(_0x3b88cf[_0x5854f2(0x2c6)],[]);function _0x5ab216(){const _0x2cfdf7=_0x5854f2;_0x3b88cf[_0x2cfdf7(0x1e3)]();}function _0x5e5623(_0x16d610){const _0x1cb028=_0x5854f2;switch(_0x16d610){case 0x1:return _0xe421da['t'](_0x1cb028(0x26a));case 0x0:return _0xe421da['t'](_0x1cb028(0x213));case 0x2:return _0xe421da['t']('exchange-client.unknownMistake');default:return'';}}return _0xdae7d3&&(0x0,s[_0x5854f2(0x2c0)])(_0x5854f2(0x221),{'className':'univer-fixed\x20univer-bottom-12\x20univer-right-3\x20univer-z-[1000]\x20univer-box-border\x20univer-flex\x20univer-w-[372px]\x20univer-flex-col\x20univer-rounded-md\x20univer-bg-white\x20univer-px-3\x20univer-pb-4\x20univer-pt-5\x20univer-shadow-md','children':[(0x0,s[_0x5854f2(0x2c0)])(_0x5854f2(0x221),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2','children':[(0x0,s['jsxs'])(_0x5854f2(0x1df),{'className':_0x5854f2(0x248),'children':[(0x0,s[_0x5854f2(0x1f0)])('span',{'className':_0x5854f2(0x309),'children':Z[_0x5a16d8]}),(0x0,s[_0x5854f2(0x1f0)])(_0x5854f2(0x1df),{'className':_0x5854f2(0x1ff),'children':_0x5e5623(_0x5a16d8)})]}),(0x0,s[_0x5854f2(0x1f0)])(_0x5854f2(0x1df),{'className':'univer-flex\x20univer-size-6\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-text-gray-500\x20univer-transition-colors\x20hover:univer-bg-gray-200\x20dark:!univer-bg-gray-600','onClick':_0x5ab216,'children':(0x0,s['jsx'])(r[_0x5854f2(0x2e8)],{})})]}),(0x0,s['jsxs'])('div',{'children':[_0x5a16d8===0x0&&(0x0,s[_0x5854f2(0x1f0)])(ve,{}),_0x5a16d8===0x2&&(0x0,s[_0x5854f2(0x1f0)])(me,{}),_0x92bbd6[_0x5854f2(0x269)]>0x0&&(0x0,s[_0x5854f2(0x1f0)])(re,{'list':_0x92bbd6}),_0x5a16d8===0x1&&(0x0,s[_0x5854f2(0x1f0)])(he,{'count':_0x92bbd6[_0x5854f2(0x269)]})]})]});}function be(){const _0x48e404=_0x379674;return(0x0,s[_0x48e404(0x1f0)])(ye,{});}let Q=class extends t[_0x379674(0x2f5)]{constructor(_0x33ad6f,_0x103512){const _0x549030=_0x379674;super(),this[_0x549030(0x280)]=_0x33ad6f,this[_0x549030(0x1b1)]=_0x103512,this[_0x549030(0x1f5)]();}[_0x379674(0x1f5)](){const _0x5727f4=_0x379674;this['disposeWithMe'](this[_0x5727f4(0x1b1)][_0x5727f4(0x1f7)](i[_0x5727f4(0x2b9)]['CONTENT'],()=>(0x0,i[_0x5727f4(0x31c)])(be,this['_injector'])));}};Q=h([m(0x0,(0x0,t[_0x379674(0x25d)])(t[_0x379674(0x1b4)])),m(0x1,i['IUIPartsService'])],Q);let $=class extends t[_0x379674(0x303)]{constructor(_0x3ef104=p,_0x288004,_0x2ff8c2){const _0x148c82=_0x379674;super(),this[_0x148c82(0x1de)]=_0x3ef104,this[_0x148c82(0x280)]=_0x288004,this[_0x148c82(0x1b9)]=_0x2ff8c2;let {..._0x434d09}=(0x0,t[_0x148c82(0x22e)])({},p,this[_0x148c82(0x1de)]);this['_configService'][_0x148c82(0x2e3)](f,_0x434d09);}['onStarting'](){const _0x2fb48a=_0x379674;(0x0,t[_0x2fb48a(0x26d)])(this[_0x2fb48a(0x280)],[[g],[Q],[q,{'useClass':J}],[G,{'useClass':K}],[F,{'useClass':I}],[y,{'useClass':b}]]);}['onReady'](){const _0x549a10=_0x379674;(0x0,t[_0x549a10(0x2dd)])(this['_injector'],[[g],[Q],[q]]);}};v($,_0x379674(0x1ae),_0x379674(0x1f4)),v($,_0x379674(0x26c),d),v($,'version',ee),$=h([(0x0,t['DependentOn'])(n[_0x379674(0x235)],e[_0x379674(0x2f9)]),m(0x1,(0x0,t[_0x379674(0x25d)])(t['Injector'])),m(0x2,t['IConfigService'])],$),exports[_0x379674(0x1cd)]=q,exports['IExchangeService']=G,Object[_0x379674(0x276)](exports,_0x379674(0x291),{'enumerable':!0x0,'get':function(){return $;}}),exports[_0x379674(0x290)]=A,exports[_0x379674(0x20a)]=ue,exports['transformWorkbookDataToSnapshotJson']=V;
|
|
1
|
+
const _0x3ae1dd=_0x35b5;(function(_0x3c80c5,_0x4f6d0c){const _0x554e55=_0x35b5,_0x24e33f=_0x3c80c5();while(!![]){try{const _0x55d88a=parseInt(_0x554e55(0x204))/0x1*(parseInt(_0x554e55(0x2d2))/0x2)+parseInt(_0x554e55(0x307))/0x3*(-parseInt(_0x554e55(0x34b))/0x4)+-parseInt(_0x554e55(0x2b0))/0x5*(-parseInt(_0x554e55(0x28f))/0x6)+parseInt(_0x554e55(0x337))/0x7+-parseInt(_0x554e55(0x1dd))/0x8*(parseInt(_0x554e55(0x2fb))/0x9)+-parseInt(_0x554e55(0x276))/0xa+-parseInt(_0x554e55(0x236))/0xb*(parseInt(_0x554e55(0x216))/0xc);if(_0x55d88a===_0x4f6d0c)break;else _0x24e33f['push'](_0x24e33f['shift']());}catch(_0x48b324){_0x24e33f['push'](_0x24e33f['shift']());}}}(_0x3d33,0x1ea3b),Object[_0x3ae1dd(0x240)](exports,Symbol[_0x3ae1dd(0x21b)],{'value':_0x3ae1dd(0x295)}));let e=require('@univerjs-pro/license'),t=require('@univerjs/core'),n=require('@univerjs/network'),r=require('@univerjs/icons'),i=require('@univerjs/ui'),a=require('rxjs'),o=require('@univerjs/design'),s=require('react/jsx-runtime'),c=require('@univerjs/protocol'),l=require('@univerjs-pro/collaboration'),u=require('fflate');var d='@univerjs-pro/exchange-client',ee=_0x3ae1dd(0x1d0);const f=_0x3ae1dd(0x275),p={};function m(_0x16a57e,_0x1b4b8f){return function(_0x430117,_0x3d9e7c){_0x1b4b8f(_0x430117,_0x3d9e7c,_0x16a57e);};}function h(_0x158044,_0x327abc,_0x2659f5,_0xd50e4b){const _0xee308e=_0x3ae1dd;var _0x4ef80a=arguments[_0xee308e(0x2f6)],_0x1d2df1=_0x4ef80a<0x3?_0x327abc:_0xd50e4b===null?_0xd50e4b=Object[_0xee308e(0x2b2)](_0x327abc,_0x2659f5):_0xd50e4b,_0x569186;if(typeof Reflect==_0xee308e(0x1fe)&&typeof Reflect[_0xee308e(0x1f3)]==_0xee308e(0x23d))_0x1d2df1=Reflect[_0xee308e(0x1f3)](_0x158044,_0x327abc,_0x2659f5,_0xd50e4b);else{for(var _0x1c92cc=_0x158044['length']-0x1;_0x1c92cc>=0x0;_0x1c92cc--)(_0x569186=_0x158044[_0x1c92cc])&&(_0x1d2df1=(_0x4ef80a<0x3?_0x569186(_0x1d2df1):_0x4ef80a>0x3?_0x569186(_0x327abc,_0x2659f5,_0x1d2df1):_0x569186(_0x327abc,_0x2659f5))||_0x1d2df1);}return _0x4ef80a>0x3&&_0x1d2df1&&Object[_0xee308e(0x240)](_0x327abc,_0x2659f5,_0x1d2df1),_0x1d2df1;}let g=class extends t['Disposable']{constructor(_0x3f4b04){const _0x25fc60=_0x3ae1dd;super(),this[_0x25fc60(0x26a)]=_0x3f4b04,this[_0x25fc60(0x1f8)]();}[_0x3ae1dd(0x1f8)](){const _0x577693=_0x3ae1dd;this[_0x577693(0x2b9)](this['_iconManager'][_0x577693(0x24b)]({'DirectExportIcon':r['DirectExportIcon']}));}};g=h([m(0x0,(0x0,t[_0x3ae1dd(0x223)])(i[_0x3ae1dd(0x324)]))],g);function _(_0x31db3b){'@babel/helpers - typeof';const _0x5b8485=_0x3ae1dd;return _=typeof Symbol==_0x5b8485(0x23d)&&typeof Symbol[_0x5b8485(0x335)]==_0x5b8485(0x20a)?function(_0x24a597){return typeof _0x24a597;}:function(_0x278127){const _0x406cc6=_0x5b8485;return _0x278127&&typeof Symbol==_0x406cc6(0x23d)&&_0x278127['constructor']===Symbol&&_0x278127!==Symbol[_0x406cc6(0x290)]?_0x406cc6(0x20a):typeof _0x278127;},_(_0x31db3b);}function _0x35b5(_0x3ae53b,_0x4c8d52){_0x3ae53b=_0x3ae53b-0x1cb;const _0x3d3304=_0x3d33();let _0x35b521=_0x3d3304[_0x3ae53b];return _0x35b521;}function te(_0x20b6dd,_0x5dbff1){const _0x2fa1b0=_0x3ae1dd;if(_(_0x20b6dd)!=_0x2fa1b0(0x1fe)||!_0x20b6dd)return _0x20b6dd;var _0x50b1b4=_0x20b6dd[Symbol[_0x2fa1b0(0x253)]];if(_0x50b1b4!==void 0x0){var _0xbaf987=_0x50b1b4[_0x2fa1b0(0x224)](_0x20b6dd,_0x5dbff1||_0x2fa1b0(0x280));if(_(_0xbaf987)!=_0x2fa1b0(0x1fe))return _0xbaf987;throw TypeError(_0x2fa1b0(0x356));}return(_0x5dbff1===_0x2fa1b0(0x23e)?String:Number)(_0x20b6dd);}function ne(_0x5dc3c1){const _0x187810=_0x3ae1dd;var _0x424b03=te(_0x5dc3c1,_0x187810(0x23e));return _(_0x424b03)==_0x187810(0x20a)?_0x424b03:_0x424b03+'';}function v(_0x4265c6,_0x3adaba,_0x345698){const _0x39bf16=_0x3ae1dd;return(_0x3adaba=ne(_0x3adaba))in _0x4265c6?Object[_0x39bf16(0x240)](_0x4265c6,_0x3adaba,{'value':_0x345698,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4265c6[_0x3adaba]=_0x345698,_0x4265c6;}const y=(0x0,t[_0x3ae1dd(0x2f3)])(_0x3ae1dd(0x26e));var b=class extends t[_0x3ae1dd(0x25e)]{constructor(){const _0x5e3b17=_0x3ae1dd;super(),v(this,_0x5e3b17(0x278),new a[(_0x5e3b17(0x1f9))]()),v(this,_0x5e3b17(0x296),new a['Subject']()),v(this,_0x5e3b17(0x241),new a[(_0x5e3b17(0x1f9))]()),v(this,_0x5e3b17(0x339),this['_visible$']['asObservable']()),v(this,'state$',this[_0x5e3b17(0x296)][_0x5e3b17(0x1de)]()),v(this,'list$',this['_list$'][_0x5e3b17(0x1de)]()),v(this,_0x5e3b17(0x258),[]);}['dispose'](){const _0x2d5585=_0x3ae1dd;super[_0x2d5585(0x20c)](),this[_0x2d5585(0x278)][_0x2d5585(0x2d1)](),this[_0x2d5585(0x296)][_0x2d5585(0x2d1)](),this['_list$'][_0x2d5585(0x2d1)]();}[_0x3ae1dd(0x24a)](){const _0x53322c=_0x3ae1dd;this['_visible$'][_0x53322c(0x2bf)](!0x0);}[_0x3ae1dd(0x1d1)](){const _0x169da1=_0x3ae1dd;this[_0x169da1(0x278)][_0x169da1(0x2bf)](!0x1);}[_0x3ae1dd(0x346)](_0x83954d){const _0x3c4ddd=_0x3ae1dd;this[_0x3c4ddd(0x296)][_0x3c4ddd(0x2bf)](_0x83954d);}[_0x3ae1dd(0x231)](_0x1b0716){const _0x51a47d=_0x3ae1dd;this[_0x51a47d(0x258)][_0x51a47d(0x2e4)](_0x1b0716),this['_list$'][_0x51a47d(0x2bf)](this[_0x51a47d(0x258)]);}};function re(_0x12dac2){const _0x316b60=_0x3ae1dd;let {list:_0x306741}=_0x12dac2;function _0x134c35(_0x3a3c9d){const _0x33c146=_0x35b5;switch(_0x3a3c9d){case 0x1:return(0x0,s[_0x33c146(0x2ba)])(r[_0x33c146(0x28b)],{});case 0x2:return(0x0,s[_0x33c146(0x2ba)])(r[_0x33c146(0x316)],{});case 0x3:return(0x0,s['jsx'])(r[_0x33c146(0x31e)],{});default:return null;}}return(0x0,s[_0x316b60(0x2ba)])(_0x316b60(0x33b),{'className':(0x0,o['clsx'])(_0x316b60(0x292),o[_0x316b60(0x1ef)]),'children':(0x0,s[_0x316b60(0x2ba)])('ul',{'className':_0x316b60(0x1cc),'children':_0x306741[_0x316b60(0x347)]((_0x367ac8,_0x24ecc2)=>(0x0,s[_0x316b60(0x2ba)])('li',{'children':(0x0,s[_0x316b60(0x1cd)])('a',{'className':_0x316b60(0x234),'href':_0x367ac8[_0x316b60(0x2ab)],'target':_0x316b60(0x2e1),'rel':_0x316b60(0x301),'children':[(0x0,s[_0x316b60(0x1cd)])(_0x316b60(0x305),{'className':_0x316b60(0x2d5),'children':[(0x0,s[_0x316b60(0x2ba)])(_0x316b60(0x305),{'className':_0x316b60(0x29b),'children':_0x134c35(_0x367ac8[_0x316b60(0x314)])}),(0x0,s[_0x316b60(0x2ba)])(o['Tooltip'],{'showIfEllipsis':!0x0,'title':_0x367ac8['name'],'asChild':!0x0,'children':(0x0,s['jsx'])('span',{'className':_0x316b60(0x21c),'children':_0x367ac8['name']})})]}),(0x0,s[_0x316b60(0x2ba)])(_0x316b60(0x305),{'className':'univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-p-0\x20univer-text-base\x20univer-text-gray-600\x20univer-outline-none\x20univer-transition-colors\x20hover:univer-bg-gray-200\x20dark:!univer-text-gray-200\x20dark:hover:!univer-bg-gray-600','children':(0x0,s[_0x316b60(0x2ba)])(r[_0x316b60(0x2c1)],{})})]})},_0x24ecc2))})});}const x=_0x3ae1dd(0x1cf),S=_0x3ae1dd(0x348),C=_0x3ae1dd(0x358),w=_0x3ae1dd(0x351),T='application/vnd.openxmlformats-officedocument.presentationml.presentation',E='application/pdf',D={[t[_0x3ae1dd(0x24e)][_0x3ae1dd(0x270)]]:[''],[t[_0x3ae1dd(0x24e)]['UNIVER_DOC']]:[x],[t[_0x3ae1dd(0x24e)][_0x3ae1dd(0x27a)]]:[S,C,w],[t['UniverInstanceType'][_0x3ae1dd(0x352)]]:[T],[t[_0x3ae1dd(0x24e)]['UNIVER_BASE']]:[''],[t[_0x3ae1dd(0x24e)]['UNIVER_BOARD']]:[''],[t[_0x3ae1dd(0x24e)][_0x3ae1dd(0x2d9)]]:[''],[t[_0x3ae1dd(0x24e)]['UNIVER_PDF']]:[E],[t[_0x3ae1dd(0x24e)][_0x3ae1dd(0x344)]]:['']},O={[x]:_0x3ae1dd(0x31c),[S]:_0x3ae1dd(0x1fb),[C]:'xlsm',[w]:_0x3ae1dd(0x338),[T]:_0x3ae1dd(0x2c3),[E]:_0x3ae1dd(0x22d)};function k(_0x447a59,_0x591c0f,_0x13e84c){const _0x26862d=_0x3ae1dd;let _0x6242a8=document[_0x26862d(0x26c)]('a');_0x6242a8[_0x26862d(0x264)]=_0x447a59,_0x6242a8['style']['display']='none',_0x6242a8[_0x26862d(0x345)]=_0x591c0f+'.'+_0x13e84c,document[_0x26862d(0x289)][_0x26862d(0x220)](_0x6242a8),_0x6242a8[_0x26862d(0x362)](),document[_0x26862d(0x289)][_0x26862d(0x2ac)](_0x6242a8);}function A(_0x54643a,_0x3728bb,_0x3ff248){const _0x5c50d0=_0x3ae1dd;let _0x421b52=URL[_0x5c50d0(0x1f6)](_0x54643a);k(_0x421b52,_0x3728bb,_0x3ff248),URL['revokeObjectURL'](_0x421b52);}function j(_0x4f709e){const _0x38da44=_0x3ae1dd;let _0x365758=_0x4f709e[_0x38da44(0x1e3)][_0x38da44(0x29a)]('.')[_0x38da44(0x2da)]();if(!_0x365758)return t[_0x38da44(0x24e)][_0x38da44(0x270)];let _0x8ddc83=ie(),_0xf9b458=t[_0x38da44(0x24e)][_0x38da44(0x270)];return _0x8ddc83['some'](_0x176c4b=>ae(_0x365758,_0x176c4b)?(_0xf9b458=_0x176c4b,!0x0):!0x1),_0xf9b458;}function ie(){return Object['values'](t['UniverInstanceType'])['filter'](_0x569741=>typeof _0x569741=='number');}function ae(_0x212fe8,_0x37e11e){const _0x4502eb=_0x3ae1dd;var _0x1e34aa;return((_0x1e34aa=D[_0x37e11e])==null?[]:_0x1e34aa)['map'](_0x3c9619=>(O[_0x3c9619]||'')[_0x4502eb(0x2ea)]())[_0x4502eb(0x22a)](_0x212fe8['toLowerCase']());}function M(_0x5c216a,_0x43fa2d=!0x1){const _0x2e871c=_0x3ae1dd;let _0x487bee=_0x5c216a[_0x2e871c(0x347)](_0x1cbd28=>{var _0x386b0b;return(_0x386b0b=D[_0x1cbd28])==null?[]:_0x386b0b;})['join'](',');return new Promise((_0x27156a,_0x5673b9)=>{const _0x83f8b0=_0x2e871c;let _0x19d306=document['createElement'](_0x83f8b0(0x31b));_0x19d306[_0x83f8b0(0x314)]=_0x83f8b0(0x2c4),_0x19d306[_0x83f8b0(0x2d3)]=_0x487bee,_0x19d306[_0x83f8b0(0x2c6)]=_0x43fa2d,_0x19d306[_0x83f8b0(0x363)](_0x83f8b0(0x2ce),_0x5c0b38=>{const _0x3d60aa=_0x83f8b0;let _0x3eb162=_0x5c0b38[_0x3d60aa(0x34d)];if(!_0x3eb162[_0x3d60aa(0x318)]||_0x3eb162['files']['length']===0x0)throw _0x5673b9(null),Error('No\x20file\x20selected');_0x27156a(_0x3eb162[_0x3d60aa(0x318)]);}),_0x19d306[_0x83f8b0(0x362)]();});}async function N(_0x699f13,_0x4e5ba0){const _0x4c7170=_0x3ae1dd;try{var _0x1e3b0a,_0x333071,_0x18e47f;let _0x343366=await _0x4e5ba0['get'](_0x699f13,{'responseType':'blob'}),_0x51ca81=_0x343366[_0x4c7170(0x289)],_0x347dba=(_0x1e3b0a=(_0x333071=_0x343366['headers']['get'](_0x4c7170(0x254)))==null?void 0x0:_0x333071[_0x4c7170(0x2a5)](',\x20'))==null?'application/octet-stream':_0x1e3b0a,_0x2f8b7a=_0x4c7170(0x360)+(O[_0x347dba]||_0x4c7170(0x1fb)),_0x2c6c7b=(_0x18e47f=_0x343366[_0x4c7170(0x33e)][_0x4c7170(0x1dc)](_0x4c7170(0x2a9)))==null?void 0x0:_0x18e47f[_0x4c7170(0x2a5)](',\x20');if(_0x2c6c7b){let _0x3863e8=_0x2c6c7b['match'](/filename=(.+)/);_0x3863e8&&_0x3863e8[0x1]&&(_0x2f8b7a=_0x3863e8[0x1]);}else _0x2f8b7a=oe(_0x699f13)||_0x2f8b7a;return new File([_0x51ca81],_0x2f8b7a,{'type':_0x347dba});}catch(_0x4d6c88){console[_0x4c7170(0x2fe)](_0x4c7170(0x27b),_0x4d6c88);return;}}function oe(_0x1484d2){const _0xd180f7=_0x3ae1dd;try{return new URL(_0x1484d2)[_0xd180f7(0x312)][_0xd180f7(0x29a)]('/')[_0xd180f7(0x2da)]();}catch(_0x3d14b7){console[_0xd180f7(0x2fe)](_0xd180f7(0x1e1),_0x3d14b7);return;}}function se(_0x160cc3){const _0x5363ff=_0x3ae1dd;let _0x564683=new Blob([_0x160cc3[_0x5363ff(0x1ec)]],{'type':'application/json'});return new File([_0x564683],'file.json');}function P(_0x364b67,_0x1de9b9){const _0x4134d7=_0x3ae1dd;return _0x364b67['replace'](_0x4134d7(0x364),_0x1de9b9);}function ce(_0x363bb2,_0x311e76){const _0x1c02d6=_0x3ae1dd;return _0x363bb2[_0x1c02d6(0x255)](_0x1c02d6(0x25f),_0x311e76);}function le(_0x2875f0,_0x5c10a6){const _0x419847=_0x3ae1dd;return _0x2875f0['replace'](_0x419847(0x2ad),_0x5c10a6);}const F=(0x0,t[_0x3ae1dd(0x2f3)])(_0x3ae1dd(0x259));let I=class{constructor(_0x19ae4e,_0x3d7cd5){this['_configService']=_0x19ae4e,this['_httpService']=_0x3d7cd5,v(this,'_taskInterrupted',new Set());}['dispose'](){}[_0x3ae1dd(0x245)](_0x34cb81){const _0x3d7b13=_0x3ae1dd;this[_0x3d7b13(0x209)][_0x3d7b13(0x243)](_0x34cb81);}[_0x3ae1dd(0x1ce)](){this['_taskInterrupted']['clear']();}async[_0x3ae1dd(0x1e6)](_0x3732bf,_0x165c9c=0x0,_0x21c930=!0x1){const _0x499392=_0x3ae1dd;if(typeof _0x3732bf==_0x499392(0x23e)){let _0x2a4ee5=await N(_0x3732bf,this[_0x499392(0x262)]);if(!_0x2a4ee5)throw Error(_0x499392(0x332));_0x3732bf=_0x2a4ee5;}_0x165c9c=_0x165c9c||_0x3732bf[_0x499392(0x32d)];let _0x579cfd=new FormData();_0x579cfd[_0x499392(0x24c)]('file',_0x3732bf);try{let _0x2cf11c=this[_0x499392(0x35e)]()+_0x499392(0x1ee)+_0x165c9c+_0x499392(0x2a3)+c[_0x499392(0x28e)][_0x499392(0x1d7)]+'&flate='+_0x21c930,_0x574d85={'body':_0x579cfd},_0x4cf307=(await this['_httpService'][_0x499392(0x2d6)](_0x2cf11c,_0x574d85))[_0x499392(0x289)];if(_0x4cf307['error']&&_0x4cf307['error'][_0x499392(0x32a)]!==c[_0x499392(0x2cf)]['OK'])throw Error(this[_0x499392(0x2f8)](_0x499392(0x333),_0x4cf307[_0x499392(0x2fe)]));return _0x4cf307;}catch(_0x181e0a){throw _0x181e0a instanceof Error?_0x181e0a:Error(this[_0x499392(0x2f4)]('upload\x20request\x20failed',_0x181e0a));}}async['import'](_0x337dda){const _0x586292=_0x3ae1dd;let {fileID:_0xd210c3,type:_0xd4f25c,outputType:_0x557baf,minSheetColumnCount:_0x36cdef,minSheetRowCount:_0x60eb50}=_0x337dda;try{let _0xece9c3=P(this[_0x586292(0x2a0)](),''+_0xd4f25c),_0x4f5f41={'body':{'fileID':_0xd210c3,'outputType':_0x557baf,'minSheetColumnCount':_0x36cdef,'minSheetRowCount':_0x60eb50}},_0x34a83e=(await this[_0x586292(0x262)][_0x586292(0x2d6)](_0xece9c3,_0x4f5f41))[_0x586292(0x289)];return _0x34a83e[_0x586292(0x2fe)]&&_0x34a83e[_0x586292(0x2fe)][_0x586292(0x32a)]!==c[_0x586292(0x2cf)]['OK']?void 0x0:_0x34a83e;}catch{return;}}async[_0x3ae1dd(0x24f)](_0x564471){const _0x3fc00f=_0x3ae1dd;let {unitID:_0x1cd2e9,jsonID:_0x5a1213,type:_0x52c387,useImageUrl:_0x244802,ignoreTableExport:_0x2f15cd}=_0x564471;try{let _0x57d665=P(this[_0x3fc00f(0x2a6)](),''+_0x52c387),_0x435bee={'body':{'unitID':_0x1cd2e9,'jsonID':_0x5a1213,'type':_0x52c387,'useImageUrl':_0x244802,'ignoreTableExport':_0x2f15cd}},_0x4fc13b=(await this[_0x3fc00f(0x262)][_0x3fc00f(0x2d6)](_0x57d665,_0x435bee))['body'];return _0x4fc13b['error']&&_0x4fc13b[_0x3fc00f(0x2fe)]['code']!==c[_0x3fc00f(0x2cf)]['OK']?void 0x0:_0x4fc13b;}catch{return;}}async[_0x3ae1dd(0x1fa)](_0x526046){return new Promise((_0x2d8889,_0x427030)=>{try{let _0x3b5c05=0x0,_0x10434a=ce(this['_getTaskURL'](),''+_0x526046),_0x11cf86=this['_getMaxPollingTime'](),_0x1355d2=async()=>{const _0x21ef75=_0x35b5;if(this['_taskInterrupted'][_0x21ef75(0x282)](_0x526046))return;let _0x3cf081=(await this[_0x21ef75(0x262)][_0x21ef75(0x1dc)](_0x10434a))[_0x21ef75(0x289)];if(_0x3cf081[_0x21ef75(0x2fe)]&&_0x3cf081[_0x21ef75(0x2fe)][_0x21ef75(0x32a)]===c[_0x21ef75(0x2cf)]['OK']){if(_0x3cf081[_0x21ef75(0x2b8)]==='done')_0x2d8889(_0x3cf081);else{if(_0x3cf081[_0x21ef75(0x2b8)]===_0x21ef75(0x21f)){let _0x4a796a=0x3e8;if(_0x3b5c05>=_0x11cf86){_0x427030(_0x3cf081);return;}else _0x3b5c05>=0x7530&&(_0x4a796a=0x1388);_0x3b5c05+=_0x4a796a,setTimeout(_0x1355d2,_0x4a796a);}else _0x427030(_0x3cf081);}}else _0x427030(_0x3cf081);};_0x1355d2();}catch(_0x2411c8){_0x427030(_0x2411c8 instanceof Error?_0x2411c8:Error(String(_0x2411c8)));}});}async[_0x3ae1dd(0x227)](_0x234be4){const _0x194ee4=_0x3ae1dd;try{let _0x56cdc7=le(this[_0x194ee4(0x221)](),''+_0x234be4);return(await this['_httpService']['get'](_0x56cdc7))[_0x194ee4(0x289)];}catch{return;}}async[_0x3ae1dd(0x203)](_0xe86d81){const _0x3643ef=_0x3ae1dd;try{return(await this['_httpService'][_0x3643ef(0x1dc)](_0xe86d81,{'responseType':_0x3643ef(0x35f)}))['body'];}catch{return;}}[_0x3ae1dd(0x2f8)](_0x275c6a,_0x7c1236){let _0xb4abd4=this['_extractErrorDetail'](_0x7c1236);return _0xb4abd4?_0x275c6a+':\x20'+_0xb4abd4:_0x275c6a;}[_0x3ae1dd(0x2f4)](_0xb25858,_0x4c0732){const _0x5b79c4=_0x3ae1dd;if(_0x4c0732 instanceof n['HTTPResponseError']){let _0x29834b=typeof _0x4c0732[_0x5b79c4(0x2b8)]==_0x5b79c4(0x2ef)?''+_0x4c0732['status']+(_0x4c0732['statusText']?'\x20'+_0x4c0732['statusText']:''):void 0x0,_0x212663=this[_0x5b79c4(0x249)](_0x4c0732['error']);return _0x29834b&&_0x212663?_0xb25858+':\x20HTTP\x20'+_0x29834b+_0x5b79c4(0x2f2)+_0x212663:_0x29834b?_0xb25858+_0x5b79c4(0x26d)+_0x29834b:_0x212663?_0xb25858+':\x20'+_0x212663:_0xb25858;}let _0x2a4391=this[_0x5b79c4(0x249)](_0x4c0732);return _0x2a4391?_0xb25858+':\x20'+_0x2a4391:_0xb25858;}[_0x3ae1dd(0x249)](_0x3d928b){const _0x1209e2=_0x3ae1dd;if(typeof _0x3d928b==_0x1209e2(0x23e)){let _0x1ed6f3=_0x3d928b[_0x1209e2(0x2a8)]();return _0x1ed6f3[_0x1209e2(0x2f6)]>0x0?_0x1ed6f3:void 0x0;}if(_0x3d928b instanceof Error)return this[_0x1209e2(0x249)](_0x3d928b[_0x1209e2(0x334)]);if(!_0x3d928b||typeof _0x3d928b!=_0x1209e2(0x1fe)||Array[_0x1209e2(0x31d)](_0x3d928b))return;let _0x43e677=_0x3d928b,_0x33397b=this['_extractErrorDetail'](_0x43e677[_0x1209e2(0x334)]);if(_0x33397b)return _0x33397b;if(_0x43e677[_0x1209e2(0x2fe)]&&typeof _0x43e677[_0x1209e2(0x2fe)]==_0x1209e2(0x1fe)&&!Array[_0x1209e2(0x31d)](_0x43e677[_0x1209e2(0x2fe)])){let _0x257439=this[_0x1209e2(0x249)](_0x43e677['error']);if(_0x257439)return _0x257439;}}[_0x3ae1dd(0x35e)](){const _0xda7105=_0x3ae1dd;var _0x171bc5;let _0x1346de=this['_configService'][_0xda7105(0x342)](f);return(_0x171bc5=_0x1346de==null?void 0x0:_0x1346de[_0xda7105(0x263)])==null?_0xda7105(0x25a):_0x171bc5;}[_0x3ae1dd(0x2a0)](){const _0x36eca3=_0x3ae1dd;var _0x2fbc8;let _0xb6752c=this[_0x36eca3(0x304)][_0x36eca3(0x342)](f);return(_0x2fbc8=_0xb6752c==null?void 0x0:_0xb6752c[_0x36eca3(0x322)])==null?_0x36eca3(0x2d4):_0x2fbc8;}['_getExportURL'](){const _0x35dd04=_0x3ae1dd;var _0x466728;let _0x2d01a2=this['_configService'][_0x35dd04(0x342)](f);return(_0x466728=_0x2d01a2==null?void 0x0:_0x2d01a2[_0x35dd04(0x2f5)])==null?_0x35dd04(0x2f9):_0x466728;}[_0x3ae1dd(0x2dc)](){const _0x2fc42a=_0x3ae1dd;var _0x565a18;let _0x31c967=this[_0x2fc42a(0x304)][_0x2fc42a(0x342)](f);return(_0x565a18=_0x31c967==null?void 0x0:_0x31c967[_0x2fc42a(0x261)])==null?'/universer-api/exchange/task/{taskID}':_0x565a18;}[_0x3ae1dd(0x221)](){const _0x26b74f=_0x3ae1dd;var _0x52ffd5;let _0x107895=this[_0x26b74f(0x304)][_0x26b74f(0x342)](f);return(_0x52ffd5=_0x107895==null?void 0x0:_0x107895[_0x26b74f(0x1e5)])==null?_0x26b74f(0x2c8):_0x52ffd5;}[_0x3ae1dd(0x266)](){const _0x5d61bd=_0x3ae1dd;var _0x452cb0;let _0x51d63d=this['_configService']['getConfig'](f);return(_0x452cb0=_0x51d63d==null?void 0x0:_0x51d63d[_0x5d61bd(0x306)])==null?0x1d4c0:_0x452cb0;}};I=h([m(0x0,t[_0x3ae1dd(0x2d8)]),m(0x1,(0x0,t[_0x3ae1dd(0x223)])(n[_0x3ae1dd(0x319)]))],I);function L(_0x470a86){const _0x1c7069=_0x3ae1dd;let _0x440325=_0x470a86[_0x1c7069(0x32b)];if(!_0x440325)return null;let _0x481835={};_0x440325['sheets']&&Object[_0x1c7069(0x1d5)](_0x440325[_0x1c7069(0x317)])[_0x1c7069(0x1e9)](_0x4e5e47=>{const _0x397c09=_0x1c7069;let _0x4e29d9=_0x440325[_0x397c09(0x317)][_0x4e5e47];_0x481835[_0x4e5e47]={..._0x4e29d9,'originalMeta':(0x0,l[_0x397c09(0x330)])(l[_0x397c09(0x225)][_0x397c09(0x1db)](_0x4e29d9[_0x397c09(0x325)]))};});let _0x3ec124=(0x0,l['b64EncodeUnicode'])(l[_0x1c7069(0x225)]['decode'](_0x440325[_0x1c7069(0x325)]));return{..._0x470a86,'workbook':{..._0x440325,'originalMeta':_0x3ec124,'sheets':_0x481835},'doc':{},'slide':void 0x0,'board':void 0x0};}function R(_0x2fc8dd){const _0x5d4441=_0x3ae1dd;let _0x203194=_0x2fc8dd[_0x5d4441(0x32c)];if(!_0x203194)return null;let _0x3f26a5=(0x0,l[_0x5d4441(0x330)])(l['textDecoder'][_0x5d4441(0x1db)](_0x203194[_0x5d4441(0x325)]));return{..._0x2fc8dd,'workbook':{},'doc':{..._0x203194,'originalMeta':_0x3f26a5},'slide':void 0x0,'board':void 0x0};}function z(_0xa6160){const _0x2160cd=_0x3ae1dd;var _0x454431;let _0x239457=(_0x454431=_0xa6160[_0x2160cd(0x2bc)])==null?_0xa6160[_0x2160cd(0x32c)]:_0x454431;if(!_0x239457)return null;let _0x3615a3=typeof _0x239457[_0x2160cd(0x325)]==_0x2160cd(0x23e)?_0x239457[_0x2160cd(0x325)]:(0x0,l[_0x2160cd(0x330)])(l[_0x2160cd(0x225)][_0x2160cd(0x1db)](_0x239457[_0x2160cd(0x325)]));return{..._0xa6160,'workbook':{},'doc':{},'slide':{..._0x239457,'originalMeta':_0x3615a3},'board':void 0x0};}function B(_0x20d45a){const _0x19e716=_0x3ae1dd;let _0x407336={};return _0x20d45a[_0x19e716(0x1e9)](_0x341a0f=>{const _0x764bd0=_0x19e716;_0x407336[_0x341a0f['id']]={..._0x341a0f,'data':(0x0,l['b64EncodeUnicode'])(l[_0x764bd0(0x225)]['decode'](_0x341a0f[_0x764bd0(0x1e4)]))};}),_0x407336;}async function V(_0xece31){const _0x2dfca2=_0x3ae1dd;var _0x169d7d;let _0x791903={'metadata':void 0x0},_0x671345=_0xece31['id'],_0x2c6e10=(_0x169d7d=_0xece31['rev'])==null?0x0:_0x169d7d,_0x68925f=new W(),{snapshot:_0x20aab8}=await(0x0,l['transformWorkbookDataToSnapshot'])(_0x791903,_0xece31,_0x671345,_0x2c6e10,_0x68925f),_0x198511=await(0x0,l[_0x2dfca2(0x2a4)])(_0x20aab8,_0x68925f),_0x2b5d1d=L(_0x20aab8);if(!_0x2b5d1d)throw Error('Failed\x20to\x20transform\x20snapshot\x20to\x20string');return{'snapshot':_0x2b5d1d,'sheetBlocks':B(_0x198511)};}function _0x3d33(){const _0x2bafba=['exchange-client.uploadSuccess','univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden','UniverNetworkPlugin','exchange-client.tooLarge','Module','_state$','_uiPartsService','clsx','workbook.json','split','univer-flex\x20univer-h-5\x20univer-text-xl','getCurrentUnitOfType','importPPTXToSnapshot','location','blockID','_getImportURL','textEncoder','url','&source=','getSheetBlocksFromSnapshot','join','_getExportURL','_requestService','trim','content-disposition','downloadEndpointUrl','link','removeChild','{fileID}','univer-ml-1.5\x20univer-font-semibold\x20univer-text-gray-900\x20dark:!univer-text-white','interruptImportTask','190610SBCmic','Method\x20not\x20implemented.','getOwnPropertyDescriptor','uploadFileToUnitId','univer-mt-3\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-2\x20univer-pr-1','_getMinSheetRowCount','_getMinSheetColumnCount','Failed\x20to\x20get\x20text\x20from\x20url','status','disposeWithMe','jsx','exchange-client.internalError','slide','Failed\x20to\x20get\x20file\x20from\x20url','version','next','_config','ShareRangeIcon','_import','pptx','file','univer-text-red-500','multiple','_clearProgress','/universer-api/file/{fileID}/sign-url','_export','MessageType','disposeUnit','transformSlideDataToSnapshot','DependentOn','change','ErrorCode','UniverLicensePlugin','complete','132482tJqVCX','accept','/universer-api/exchange/{type}/import','univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','post','univer-pro.exchange-client.exchange.service','IConfigService','UNIVER_PROJECT','pop','_refreshSlide','_getTaskURL','_getUnitIDDoc','_exportBySnapshot','univer-flex','options','_blank','_signUrl','touchDependencies','unshift','b64DecodeUnicode','_uploadNotificationService','univer-pro.exchange-client.operate.service','getUnitId','Warning','toLowerCase','_showNetworkError','exchange-client.fileTypeError','stringify','pluginName','number','success','saveUnit','\x20-\x20','createIdentifier','_buildHttpErrorMessage','exportServerUrl','length','downloadFile','_buildProtocolErrorMessage','/universer-api/exchange/{type}/export','requestState$','7614bwMGLy','univer-text-green-500','_upload','error','_getDisableCellImageConversion','progress$','noreferrer','importPPTXToUnitId','_emitProgress','_configService','span','maxTimeoutTime','87MJWVyP','parse','univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2','export\x20error','_requestState$','saveChangeset','univer-mx-0\x20univer-mb-3\x20univer-mt-4\x20univer-h-1.5\x20univer-w-[324px]\x20univer-rounded-lg\x20univer-bg-gray-200','importWorkbookDataToUnitId','_sheetBlockCache','taskID','pathname','transformSnapshotToDocumentData','type','univer-fixed\x20univer-bottom-12\x20univer-right-3\x20univer-z-[1000]\x20univer-box-border\x20univer-flex\x20univer-w-[372px]\x20univer-flex-col\x20univer-rounded-md\x20univer-bg-white\x20univer-px-3\x20univer-pb-4\x20univer-pt-5\x20univer-shadow-md','SheetsMultiIcon','sheets','files','HTTPService','_injector','input','docx','isArray','SlidesMultiIcon','_exchangeService','copyFileMeta','_messageService','importServerUrl','exportPPTXByUnitId','IconManager','originalMeta','_doneUploadTaskCount','exportXLSXBySnapshot','rev','.json','code','workbook','doc','size','getSnapshot','_registerUIParts','b64EncodeUnicode','exportPPTXBySnapshot','upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url','upload\x20request\x20failed','message','iterator','set','1674673NUMGav','xltx','visible$','interrupt','div','getSheetBlock','exchange-client.wait','headers','importFileToUnitId','importDOCXToSnapshot','ILogService','getConfig','state$','UNRECOGNIZED','download','updateState','map','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','transformWorkbookDataToSnapshot','importFileToUnitIdByCurrentType','380GhpgWI','getUnitType','currentTarget','importXLSXToUnitId','FileId','UNIVER_DOC','application/vnd.openxmlformats-officedocument.spreadsheetml.template','UNIVER_SLIDE','minSheetRowCount','jsonID','SuccessIcon','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','application/json','application/vnd.ms-excel.sheet.macroEnabled.12','_showDownloadMessage','updateSnapshot','button','transformWorkbookDataToSnapshotJson','_getUnitName','_getUploadFileURL','text','file.','_importTaskId','click','addEventListener','{type}','registerLink','IMessageService','IUIPartsService','univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','jsxs','clearTaskInterrupted','application/vnd.openxmlformats-officedocument.wordprocessingml.document','1.0.0-alpha.5','hide','importDOCXToUnitId','univer-text-blue-500','fileID','keys','exportXLSXByUnitId','HttpImport','exchange-client.downloadSuccess','_getUnitIDSlide','_getUnitSlideJson','decode','get','936cVLlsA','asObservable','_importToJson','registerDependencies','Error\x20getting\x20file\x20name\x20from\x20URL:','univer-flex\x20univer-size-6\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-text-gray-500\x20univer-transition-colors\x20hover:univer-bg-gray-200\x20dark:!univer-bg-gray-600','name','data','signUrlServerUrl','upload','saveSnapshot','minSheetColumnCount','forEach','exchange-client.networkError','fetchMissingChangesets','buffer','upload\x20failed:\x20FileId\x20is\x20empty','?size=','scrollbarClassName','_importFileToUnitId','INTERNAL_ERROR','title','decorate','useObservable','_showUploadMessage','createObjectURL','Error','_registerIcons','Subject','getTask','xlsx','_getUnitID','_completeProgress','object','_uploadTaskNotDone','unit','IExchangeService','disableCellImageConversion','getTextFromUrl','3llKvye','Plugin','exchange-client.uploading','_getDownloadEndpointURL','transformSnapshotToWorkbookData','_taskInterrupted','symbol','connectInjector','dispose','exchange-client.interrupt','importFileToJson','exportDOCXBySnapshot','_getLinkByUnitId','resources','onStarting','encode','_getIgnoreTableExport','registerComponent','2423352OtXCJu','block\x20is\x20required','_getUnitJson','createUnit','snapshot','toStringTag','univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','saveSheetBlock','exchange-client.downloading','pending','appendChild','_getSignURL','useDependency','Inject','call','textDecoder','toString','signUrl','Failed\x20to\x20get\x20jsonID\x20from\x20task','_fileTypeError','includes','_totalUploadTaskCount','getUnitOnRev','pdf','import','Failed\x20to\x20transform\x20snapshot\x20to\x20string','import\x20error','pushLink','Failed\x20to\x20get\x20fileID\x20from\x20task','transformDocumentDataToSnapshot','univer-flex\x20univer-justify-between\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-py-1\x20univer-text-gray-900\x20univer-no-underline\x20univer-outline-none\x20univer-transition-colors\x20hover:univer-bg-gray-200\x20dark:!univer-text-white\x20dark:hover:!univer-bg-gray-600','floor','11kKuVLF','CONNECTOR_DATA_TOO_LARGE','exchange-client.uploadAgain','getDeserializedSheetBlock','univer-pl-2\x20univer-pr-4','searchParams','exchange-client.unknownMistake','function','string','_refresh','defineProperty','_list$','list$','add','subscribe','setTaskInterrupted','Get\x20outputType\x20error','deflateSync','_addDoneTask','_extractErrorDetail','show','register','append','univer-mt-5\x20univer-flex\x20univer-flex-col','UniverInstanceType','export','Info','_progress$','_univerInstanceService','toPrimitive','Content-Type','replace','Failed\x20to\x20get\x20taskID\x20from\x20import\x20response','Failed\x20to\x20parse\x20json','_list','univer-pro.exchange-client.request.service','/universer-api/stream/file/upload','_getUnitNameByType','catch','IExchangeOperateService','Disposable','{taskID}','outputType','getTaskServerUrl','_httpService','uploadFileServerUrl','href','Failed\x20to\x20get\x20unitID\x20from\x20task','_getMaxPollingTime','transformSnapshotJsonToWorkbookData','setConfig','shift','_iconManager','min','createElement',':\x20HTTP\x20','univer-pro.exchange-client.upload-notification.service','upload\x20failed:\x20missing\x20FileId\x20in\x20response','UNIVER_UNKNOWN','UniverExchangeClientPlugin','IResourceLoaderService','packageName','getLatestCsReqIdBySid','exchange-client.config','469020DajOQx','LocaleService','_visible$','univer-h-7\x20univer-cursor-pointer\x20univer-select-none\x20univer-rounded-md\x20univer-border-0\x20univer-border-transparent\x20univer-bg-transparent\x20univer-px-2\x20univer-py-0\x20univer-text-sm\x20univer-text-primary-600\x20univer-transition-all\x20univer-duration-150\x20hover:univer-bg-primary-50','UNIVER_SHEET','Error\x20fetching\x20file\x20from\x20URL:','importXLSXToSnapshot','Success','CloseIcon','_localeService','default','ignoreTableExport','has','UNIVER_EXCHANGE_CLIENT_PLUGIN','sign\x20url\x20error','_resourceLoaderService','univer-text-sm\x20univer-text-gray-500','_logService','Injector','body','resolve','DocsMultiIcon','_getUnitDocJson','UNDEFINED','FileSource','6JKxGeX','prototype'];_0x3d33=function(){return _0x2bafba;};return _0x3d33();}async function H(_0x2bde30){const _0x1b7cfc=_0x3ae1dd;var _0x55a78f;let _0x22e695={'metadata':void 0x0},_0x2f0662=_0x2bde30['id'],{snapshot:_0x562759}=await(0x0,l[_0x1b7cfc(0x233)])(_0x22e695,_0x2bde30,_0x2f0662,(_0x55a78f=_0x2bde30[_0x1b7cfc(0x328)])==null?0x0:_0x55a78f,new W()),_0x57fad6=R(_0x562759);if(!_0x57fad6)throw Error(_0x1b7cfc(0x22f));return{'snapshot':_0x57fad6,'sheetBlocks':{}};}async function U(_0x65a66f){const _0x2ab023=_0x3ae1dd;var _0x4c3710;let _0x4949a7=_0x65a66f['id'],_0x46a4da=(_0x4c3710=_0x65a66f[_0x2ab023(0x328)])==null?0x0:_0x4c3710,_0x44f369=new W(),{snapshot:_0x169cf1}=await(0x0,l[_0x2ab023(0x2cc)])(_0x65a66f[_0x2ab023(0x211)],_0x65a66f,_0x4949a7,_0x46a4da,_0x44f369),_0x305f50=z(_0x169cf1);if(!_0x305f50)throw Error('Failed\x20to\x20transform\x20snapshot\x20to\x20string');return{'snapshot':_0x305f50,'sheetBlocks':{}};}async function ue(_0x726cee){const _0x50f946=_0x3ae1dd;let _0xf0b10b=_0x726cee['snapshot'],_0x177066=_0x726cee['sheetBlocks']||{};return await(0x0,l[_0x50f946(0x208)])(_0xf0b10b,Object[_0x50f946(0x1d5)](_0x177066)[_0x50f946(0x347)](_0x15e87d=>_0x177066[_0x15e87d])['map'](_0x351062=>({..._0x351062,'data':_0x351062[_0x50f946(0x1e4)]?JSON[_0x50f946(0x308)]((0x0,l['b64DecodeUnicode'])(_0x351062[_0x50f946(0x1e4)])):void 0x0})));}function de(_0x40e4e9){const _0x2e7358=_0x3ae1dd;let _0xb07057=_0x40e4e9[_0x2e7358(0x21a)];return(0x0,l[_0x2e7358(0x313)])(_0xb07057);}function fe(_0x23370f){const _0x183052=_0x3ae1dd;let _0x560482=_0x23370f[_0x183052(0x21a)];return(0x0,l['transformSnapshotToSlideData'])(_0x560482);}var W=class{constructor(){const _0x4c4aac=_0x3ae1dd;v(this,_0x4c4aac(0x310),new Map());}[_0x3ae1dd(0x22c)](){const _0x50b9e1=_0x3ae1dd;return Promise['resolve']({'snapshot':{'unitID':'','type':t[_0x50b9e1(0x24e)]['UNIVER_SHEET'],'rev':0x0,'workbook':void 0x0,'doc':void 0x0,'slide':void 0x0,'board':void 0x0},'changesets':[],'error':{'code':c[_0x50b9e1(0x2cf)]['OK'],'message':''}});}[_0x3ae1dd(0x33c)](_0x4c07fb,_0x17edb3){const _0x55c726=_0x3ae1dd;let _0x3e0713=this['_sheetBlockCache'][_0x55c726(0x1dc)](_0x17edb3[_0x55c726(0x29f)]);return Promise['resolve']({'block':_0x3e0713,'error':{'code':c[_0x55c726(0x2cf)]['OK'],'message':''}});}[_0x3ae1dd(0x239)](_0x2c2c2b,_0x2d8a7c){const _0x18ca3d=_0x3ae1dd;let _0x281fd3=this['_sheetBlockCache']['get'](_0x2d8a7c[_0x18ca3d(0x29f)]);return Promise[_0x18ca3d(0x28a)]({'block':_0x281fd3===void 0x0?void 0x0:{..._0x281fd3,'data':JSON[_0x18ca3d(0x308)](l[_0x18ca3d(0x225)]['decode'](_0x281fd3[_0x18ca3d(0x1e4)]))},'error':{'code':c[_0x18ca3d(0x2cf)]['OK'],'message':''}});}[_0x3ae1dd(0x1eb)](){const _0x5614e7=_0x3ae1dd;return Promise[_0x5614e7(0x28a)]({'changesets':[],'error':{'code':c[_0x5614e7(0x2cf)]['OK'],'message':''}});}['getResourcesRequest'](){const _0x15703f=_0x3ae1dd;return Promise[_0x15703f(0x28a)]({'resources':{},'error':{'code':c[_0x15703f(0x2cf)]['OK'],'message':''}});}[_0x3ae1dd(0x1e7)](){const _0x3f250c=_0x3ae1dd;return Promise['resolve']({'error':{'code':c[_0x3f250c(0x2cf)]['OK'],'message':''}});}[_0x3ae1dd(0x35a)](){const _0x3c5e99=_0x3ae1dd;return Promise['resolve']({'error':{'code':c[_0x3c5e99(0x2cf)]['OK'],'message':''}});}[_0x3ae1dd(0x21d)](_0xe0d703,_0x23038d){const _0x5163fc=_0x3ae1dd;let {block:_0x1781ac}=_0x23038d;return _0x1781ac?(this[_0x5163fc(0x310)][_0x5163fc(0x336)](_0x1781ac['id'],_0x1781ac),Promise['resolve']({'error':{'code':c[_0x5163fc(0x2cf)]['OK'],'message':''},'blockID':_0x1781ac['id']})):Promise[_0x5163fc(0x28a)]({'error':{'code':c[_0x5163fc(0x2cf)][_0x5163fc(0x28d)],'message':_0x5163fc(0x217)},'blockID':''});}[_0x3ae1dd(0x30d)](){const _0x1e23ae=_0x3ae1dd;return Promise[_0x1e23ae(0x28a)]({'error':{'code':c['ErrorCode']['OK'],'message':''},'concurrent':[]});}[_0x3ae1dd(0x320)](){const _0x30781b=_0x3ae1dd;return Promise[_0x30781b(0x28a)]({'error':void 0x0,'fileMetaId':''});}[_0x3ae1dd(0x274)](){const _0x46ca61=_0x3ae1dd;return Promise[_0x46ca61(0x28a)]({'error':void 0x0,'latestReqID':0x0});}};const G=(0x0,t[_0x3ae1dd(0x2f3)])(_0x3ae1dd(0x2d7));let K=class extends t[_0x3ae1dd(0x25e)]{constructor(_0x12881f,_0x27a139,_0x136ab5){const _0x1dd68a=_0x3ae1dd;super(),this[_0x1dd68a(0x304)]=_0x12881f,this['_httpService']=_0x27a139,this['_requestService']=_0x136ab5,v(this,_0x1dd68a(0x361),null),v(this,'_requestState$',new a['Subject']()),v(this,_0x1dd68a(0x2fa),this[_0x1dd68a(0x30c)][_0x1dd68a(0x1de)]());}[_0x3ae1dd(0x20c)](){const _0x41ba45=_0x3ae1dd;super[_0x41ba45(0x20c)](),this[_0x41ba45(0x30c)][_0x41ba45(0x2d1)]();}[_0x3ae1dd(0x2f7)](_0x3d2330,_0xf8fdab,_0x48d6a4){const _0x12e73f=_0x3ae1dd;let _0x5dfe84=URL[_0x12e73f(0x1f6)](_0x3d2330);k(_0x5dfe84,_0xf8fdab,_0x48d6a4),URL['revokeObjectURL'](_0x5dfe84);}async[_0x3ae1dd(0x267)](_0x4b2cf4){const _0x380ecf=_0x3ae1dd;let _0x1b35e6=_0x4b2cf4[_0x380ecf(0x21a)],_0x5de63f=_0x4b2cf4['sheetBlocks']||{};return(0x0,l[_0x380ecf(0x208)])(_0x1b35e6,Object[_0x380ecf(0x1d5)](_0x5de63f)[_0x380ecf(0x347)](_0x2daf51=>_0x5de63f[_0x2daf51])[_0x380ecf(0x347)](_0x3018f3=>({..._0x3018f3,'data':_0x3018f3[_0x380ecf(0x1e4)]?JSON[_0x380ecf(0x308)]((0x0,l[_0x380ecf(0x2e5)])(_0x3018f3[_0x380ecf(0x1e4)])):void 0x0})));}async['transformWorkbookDataToSnapshotJson'](_0x2faea9){const _0x5f0999=_0x3ae1dd;var _0x5ea3bc;let _0x21e0c5={'metadata':void 0x0},_0x37093f=_0x2faea9['id'],_0x555fb3=(_0x5ea3bc=_0x2faea9[_0x5f0999(0x328)])==null?0x0:_0x5ea3bc,_0x261cc7=new W(),{snapshot:_0x354f40}=await(0x0,l[_0x5f0999(0x349)])(_0x21e0c5,_0x2faea9,_0x37093f,_0x555fb3,_0x261cc7),_0xf30d1f=await(0x0,l[_0x5f0999(0x2a4)])(_0x354f40,_0x261cc7),_0x5cb9b1=L(_0x354f40);if(!_0x5cb9b1)throw Error('Failed\x20to\x20transform\x20snapshot\x20to\x20string');return{'snapshot':_0x5cb9b1,'sheetBlocks':B(_0xf30d1f)};}async[_0x3ae1dd(0x340)](_0x292232){const _0x3c7ca8=_0x3ae1dd;let _0x4d553d=await this[_0x3c7ca8(0x20e)](_0x292232,t[_0x3c7ca8(0x24e)][_0x3c7ca8(0x350)]);if(!_0x4d553d||!_0x4d553d[_0x3c7ca8(0x21a)])return;let _0x20f010=de(_0x4d553d);if(_0x20f010)return _0x20f010;}async['exportDOCXByUnitId'](_0xe6b368){const _0x1cf729=_0x3ae1dd;return this[_0x1cf729(0x2c9)](_0xe6b368,0x1,t[_0x1cf729(0x24e)][_0x1cf729(0x350)]);}async[_0x3ae1dd(0x20f)](_0x1920ef){const _0x12fc4f=_0x3ae1dd;let _0xe43358=await H(_0x1920ef);return this['_exportBySnapshot'](_0xe43358,t[_0x12fc4f(0x24e)][_0x12fc4f(0x350)]);}async[_0x3ae1dd(0x29d)](_0x399568){const _0x5d4168=_0x3ae1dd;let _0x2a66b6=await this[_0x5d4168(0x20e)](_0x399568,t[_0x5d4168(0x24e)]['UNIVER_SLIDE']);if(!(!_0x2a66b6||!_0x2a66b6[_0x5d4168(0x21a)]))return fe(_0x2a66b6);}async[_0x3ae1dd(0x323)](_0x585c9f){const _0x144db2=_0x3ae1dd;return this[_0x144db2(0x2c9)](_0x585c9f,0x1,t[_0x144db2(0x24e)]['UNIVER_SLIDE']);}async[_0x3ae1dd(0x331)](_0x3ab596){const _0x460a1e=_0x3ae1dd;let _0xe26862=await U(_0x3ab596);return this[_0x460a1e(0x2de)](_0xe26862,t['UniverInstanceType'][_0x460a1e(0x352)]);}async[_0x3ae1dd(0x27c)](_0x34247a){const _0x498084=_0x3ae1dd;let _0x194e40=await this[_0x498084(0x20e)](_0x34247a,t[_0x498084(0x24e)][_0x498084(0x27a)]);if(!_0x194e40)return;let _0xa0efd9=await this[_0x498084(0x267)](_0x194e40);if(_0xa0efd9)return _0xa0efd9;}async[_0x3ae1dd(0x1d6)](_0x41e9c2){const _0x40c3d0=_0x3ae1dd;return this[_0x40c3d0(0x2c9)](_0x41e9c2,0x1,t[_0x40c3d0(0x24e)][_0x40c3d0(0x27a)]);}async[_0x3ae1dd(0x327)](_0x1674cd){const _0x31d0a6=_0x3ae1dd;let _0x4f36a6=await this['transformWorkbookDataToSnapshotJson'](_0x1674cd);return this[_0x31d0a6(0x2de)](_0x4f36a6,t[_0x31d0a6(0x24e)][_0x31d0a6(0x27a)]);}async[_0x3ae1dd(0x33f)](_0x3c858,_0x45bc25){const _0x160f5a=_0x3ae1dd;var _0x145937,_0x146a3c;let _0x38eae3=await this['_upload'](_0x3c858);if(!_0x38eae3)return;let _0x522aee=await this[_0x160f5a(0x2c2)](_0x38eae3,0x1,_0x45bc25);if(!_0x522aee)return;this[_0x160f5a(0x361)]=_0x522aee,this[_0x160f5a(0x2a7)][_0x160f5a(0x1ce)]();let _0x1acc0f=await this[_0x160f5a(0x2a7)][_0x160f5a(0x1fa)](_0x522aee)[_0x160f5a(0x25c)](_0xf463ae=>{const _0x56eda6=_0x160f5a;var _0xf04fb8;let _0x30f55e=_0xf463ae instanceof Error?_0xf463ae[_0x56eda6(0x334)]:(_0xf04fb8=_0xf463ae[_0x56eda6(0x2fe)])==null?void 0x0:_0xf04fb8[_0x56eda6(0x334)];this[_0x56eda6(0x30c)][_0x56eda6(0x2bf)]({'error':{'code':c[_0x56eda6(0x2cf)][_0x56eda6(0x344)],'message':_0x30f55e||''},'state':0x3});});if(!_0x1acc0f)return;let _0x1bd58e=(_0x145937=_0x1acc0f['import'])==null?void 0x0:_0x145937[_0x160f5a(0x260)],_0x5744d7=((_0x146a3c=_0x1acc0f[_0x160f5a(0x22e)])==null?void 0x0:_0x146a3c['unitID'])||'';if(_0x1bd58e!==0x1){this[_0x160f5a(0x30c)][_0x160f5a(0x2bf)]({'error':{'code':c[_0x160f5a(0x2cf)]['UNRECOGNIZED'],'message':_0x160f5a(0x246)},'state':0x3});return;}if(_0x5744d7['length']===0x0){this[_0x160f5a(0x30c)][_0x160f5a(0x2bf)]({'error':{'code':c['ErrorCode'][_0x160f5a(0x344)],'message':_0x160f5a(0x265)},'state':0x3});return;}return this[_0x160f5a(0x30c)][_0x160f5a(0x2bf)]({'error':_0x1acc0f[_0x160f5a(0x2fe)],'state':0x3}),_0x5744d7;}async[_0x3ae1dd(0x20e)](_0x5cc5ca,_0x47b2d1){const _0x15f7c7=_0x3ae1dd;return this[_0x15f7c7(0x1df)](_0x5cc5ca,_0x47b2d1);}async[_0x3ae1dd(0x30f)](_0x50d5cd){const _0x56bf91=_0x3ae1dd;let _0xf55179=await this['transformWorkbookDataToSnapshotJson'](_0x50d5cd),_0x45baa0=typeof _0x50d5cd['id']==_0x56bf91(0x23e)&&_0x50d5cd['id'][_0x56bf91(0x2a8)]()?_0x50d5cd['id'][_0x56bf91(0x2a8)]()+_0x56bf91(0x329):_0x56bf91(0x299),_0x4b3125=new File([JSON[_0x56bf91(0x2ed)](_0xf55179)],_0x45baa0,{'type':_0x56bf91(0x357)});return this[_0x56bf91(0x33f)](_0x4b3125,t[_0x56bf91(0x24e)][_0x56bf91(0x27a)]);}[_0x3ae1dd(0x2af)](){const _0x1a2a5a=_0x3ae1dd;this['_importTaskId']&&this[_0x1a2a5a(0x2a7)][_0x1a2a5a(0x245)](this[_0x1a2a5a(0x361)]);}async[_0x3ae1dd(0x1df)](_0x1d3fc3,_0x2abcec){const _0x26cfee=_0x3ae1dd;var _0x7e3e2c,_0x4e03ab;let _0x757398=await this[_0x26cfee(0x2fd)](_0x1d3fc3);if(!_0x757398)return;let _0x267c19=await this['_import'](_0x757398,0x2,_0x2abcec);if(!_0x267c19)return;this['_importTaskId']=_0x267c19,this[_0x26cfee(0x2a7)][_0x26cfee(0x1ce)]();let _0x346591=await this[_0x26cfee(0x2a7)]['getTask'](_0x267c19)['catch'](_0x1df259=>{const _0xd068c5=_0x26cfee;var _0x3ade0a;let _0x1eb15f=_0x1df259 instanceof Error?_0x1df259[_0xd068c5(0x334)]:(_0x3ade0a=_0x1df259[_0xd068c5(0x2fe)])==null?void 0x0:_0x3ade0a[_0xd068c5(0x334)];this[_0xd068c5(0x30c)]['next']({'error':{'code':c[_0xd068c5(0x2cf)][_0xd068c5(0x344)],'message':_0x1eb15f||''},'state':0x3});});if(!_0x346591)return;let _0x3cdbe3=(_0x7e3e2c=_0x346591[_0x26cfee(0x22e)])==null?void 0x0:_0x7e3e2c['outputType'],_0x4d0742=((_0x4e03ab=_0x346591[_0x26cfee(0x22e)])==null?void 0x0:_0x4e03ab[_0x26cfee(0x354)])||'';if(_0x3cdbe3!==0x2){this[_0x26cfee(0x30c)][_0x26cfee(0x2bf)]({'error':{'code':c[_0x26cfee(0x2cf)]['UNRECOGNIZED'],'message':_0x26cfee(0x246)},'state':0x3});return;}if(_0x4d0742['length']===0x0){this[_0x26cfee(0x30c)][_0x26cfee(0x2bf)]({'error':{'code':c['ErrorCode'][_0x26cfee(0x344)],'message':_0x26cfee(0x228)},'state':0x3});return;}this[_0x26cfee(0x30c)]['next']({'error':_0x346591[_0x26cfee(0x2fe)],'state':0x3});let _0x16ab9a=await this['_signUrl'](_0x4d0742);if(!_0x16ab9a)return;let _0x1ae973=await this[_0x26cfee(0x2a7)][_0x26cfee(0x203)](_0x16ab9a);if(!_0x1ae973){this[_0x26cfee(0x30c)][_0x26cfee(0x2bf)]({'error':{'code':c['ErrorCode'][_0x26cfee(0x344)],'message':_0x26cfee(0x2b7)},'state':0x5});return;}try{let _0x3cd9ec=JSON[_0x26cfee(0x308)](_0x1ae973);return this[_0x26cfee(0x30c)][_0x26cfee(0x2bf)]({'error':{'code':c[_0x26cfee(0x2cf)]['OK'],'message':_0x26cfee(0x2f0)},'state':0x5}),_0x3cd9ec;}catch{this[_0x26cfee(0x30c)]['next']({'error':{'code':c[_0x26cfee(0x2cf)]['UNRECOGNIZED'],'message':_0x26cfee(0x257)},'state':0x5});}}async[_0x3ae1dd(0x2de)](_0x16041a,_0x2df1fd){const _0x2a8940=_0x3ae1dd;let _0xcd8b20=JSON[_0x2a8940(0x2ed)](_0x16041a),_0x2e6562=l[_0x2a8940(0x2a1)][_0x2a8940(0x213)](_0xcd8b20),_0xa39880=(0x0,u[_0x2a8940(0x247)])(_0x2e6562),_0x533b81=_0x2e6562[_0x2a8940(0x2f6)],_0x43d271=se(_0xa39880),_0xf79d56=await this[_0x2a8940(0x2fd)](_0x43d271,_0x533b81,!0x0);if(_0xf79d56)return this[_0x2a8940(0x2c9)](_0xf79d56,0x2,_0x2df1fd);}async[_0x3ae1dd(0x2c9)](_0x2b5aa2,_0x4a683d,_0x7b64ca){const _0x5135a0=_0x3ae1dd;var _0x2f769a;let _0x47d7b8=await this[_0x5135a0(0x2a7)][_0x5135a0(0x24f)]({'unitID':_0x4a683d===0x1?_0x2b5aa2:'','jsonID':_0x4a683d===0x2?_0x2b5aa2:'','type':_0x7b64ca,'useImageUrl':this[_0x5135a0(0x2ff)](),'ignoreTableExport':this[_0x5135a0(0x214)]()});if(!_0x47d7b8){this[_0x5135a0(0x30c)][_0x5135a0(0x2bf)]({'error':{'code':c[_0x5135a0(0x2cf)][_0x5135a0(0x344)],'message':_0x5135a0(0x30b)},'state':0x2});return;}if(this['_requestState$'][_0x5135a0(0x2bf)]({'error':_0x47d7b8[_0x5135a0(0x2fe)],'state':0x2}),_0x47d7b8[_0x5135a0(0x2fe)]&&_0x47d7b8[_0x5135a0(0x2fe)][_0x5135a0(0x32a)]!==c[_0x5135a0(0x2cf)]['OK'])return;let _0x12dae4=_0x47d7b8['taskID'],_0x3b9da0=await this[_0x5135a0(0x2a7)][_0x5135a0(0x1fa)](_0x12dae4)[_0x5135a0(0x25c)](_0x4c1927=>{const _0x6b9df0=_0x5135a0;var _0x1fef44;let _0x372360=_0x4c1927 instanceof Error?_0x4c1927[_0x6b9df0(0x334)]:(_0x1fef44=_0x4c1927[_0x6b9df0(0x2fe)])==null?void 0x0:_0x1fef44[_0x6b9df0(0x334)];this[_0x6b9df0(0x30c)][_0x6b9df0(0x2bf)]({'error':{'code':c[_0x6b9df0(0x2cf)][_0x6b9df0(0x344)],'message':_0x372360||''},'state':0x3});});if(!_0x3b9da0)return;let _0x4bf3d8=((_0x2f769a=_0x3b9da0[_0x5135a0(0x24f)])==null?void 0x0:_0x2f769a[_0x5135a0(0x1d4)])||'';if(_0x4bf3d8[_0x5135a0(0x2f6)]===0x0){this[_0x5135a0(0x30c)][_0x5135a0(0x2bf)]({'error':{'code':c['ErrorCode'][_0x5135a0(0x344)],'message':_0x5135a0(0x232)},'state':0x3});return;}this[_0x5135a0(0x30c)][_0x5135a0(0x2bf)]({'error':_0x3b9da0[_0x5135a0(0x2fe)],'state':0x3});let _0x543e4d=await this[_0x5135a0(0x2e2)](_0x4bf3d8);if(!_0x543e4d)return;let _0x331e40=await N(_0x543e4d,this[_0x5135a0(0x262)]);if(!_0x331e40){this[_0x5135a0(0x30c)][_0x5135a0(0x2bf)]({'error':{'code':c['ErrorCode'][_0x5135a0(0x344)],'message':_0x5135a0(0x2bd)},'state':0x6});return;}return this[_0x5135a0(0x30c)][_0x5135a0(0x2bf)]({'error':{'code':c['ErrorCode']['OK'],'message':_0x5135a0(0x2f0)},'state':0x6}),_0x331e40;}async[_0x3ae1dd(0x2fd)](_0x482c48,_0x512eff,_0x5e9de0){const _0x28724c=_0x3ae1dd;let _0x36736c;try{_0x36736c=await this[_0x28724c(0x2a7)]['upload'](_0x482c48,_0x512eff,_0x5e9de0);}catch(_0x27c930){let _0xd2a689=_0x27c930 instanceof Error?_0x27c930[_0x28724c(0x334)]:String(_0x27c930);this[_0x28724c(0x30c)][_0x28724c(0x2bf)]({'error':{'code':c['ErrorCode'][_0x28724c(0x344)],'message':_0xd2a689},'state':0x0});return;}if(!_0x36736c||typeof _0x36736c[_0x28724c(0x34f)]!='string'){this[_0x28724c(0x30c)][_0x28724c(0x2bf)]({'error':{'code':c[_0x28724c(0x2cf)][_0x28724c(0x344)],'message':_0x28724c(0x26f)},'state':0x0});return;}let _0x34cb51=_0x36736c[_0x28724c(0x34f)];if(_0x34cb51['length']===0x0){this['_requestState$'][_0x28724c(0x2bf)]({'error':{'code':c[_0x28724c(0x2cf)][_0x28724c(0x344)],'message':_0x28724c(0x1ed)},'state':0x0});return;}return this[_0x28724c(0x30c)][_0x28724c(0x2bf)]({'error':{'code':c[_0x28724c(0x2cf)]['OK'],'message':'success'},'state':0x0}),_0x34cb51;}async['_import'](_0x35a6a8,_0x13a4a1,_0x21bde9){const _0x2f20ce=_0x3ae1dd;let _0x410c6a={'fileID':_0x35a6a8,'type':_0x21bde9,'outputType':_0x13a4a1,'fileUrl':'','minSheetRowCount':this[_0x2f20ce(0x2b5)](),'minSheetColumnCount':this[_0x2f20ce(0x2b6)]()},_0x593df6=await this[_0x2f20ce(0x2a7)][_0x2f20ce(0x22e)](_0x410c6a);if(!_0x593df6){this['_requestState$'][_0x2f20ce(0x2bf)]({'error':{'code':c['ErrorCode']['UNRECOGNIZED'],'message':_0x2f20ce(0x230)},'state':0x1});return;}if(_0x593df6[_0x2f20ce(0x2fe)]&&_0x593df6[_0x2f20ce(0x2fe)][_0x2f20ce(0x32a)]!==c[_0x2f20ce(0x2cf)]['OK']){this[_0x2f20ce(0x30c)][_0x2f20ce(0x2bf)]({'error':_0x593df6['error'],'state':0x1});return;}let _0x38f2ad=_0x593df6[_0x2f20ce(0x311)];if(_0x38f2ad['length']===0x0){this[_0x2f20ce(0x30c)][_0x2f20ce(0x2bf)]({'error':{'code':c['ErrorCode'][_0x2f20ce(0x344)],'message':_0x2f20ce(0x256)},'state':0x1});return;}return this[_0x2f20ce(0x30c)][_0x2f20ce(0x2bf)]({'error':_0x593df6[_0x2f20ce(0x2fe)],'state':0x1}),_0x38f2ad;}async[_0x3ae1dd(0x2e2)](_0x15e34d){const _0x336f83=_0x3ae1dd;let _0x2cfb42=await this[_0x336f83(0x2a7)][_0x336f83(0x227)](_0x15e34d);if(!_0x2cfb42){this['_requestState$'][_0x336f83(0x2bf)]({'error':{'code':c['ErrorCode'][_0x336f83(0x344)],'message':_0x336f83(0x284)},'state':0x4});return;}if(_0x2cfb42[_0x336f83(0x2fe)]&&_0x2cfb42[_0x336f83(0x2fe)][_0x336f83(0x32a)]!==c[_0x336f83(0x2cf)]['OK']){this['_requestState$'][_0x336f83(0x2bf)]({'error':_0x2cfb42[_0x336f83(0x2fe)],'state':0x4});return;}let _0x207418=(0x0,t['resolveWithBasePath'])(_0x2cfb42[_0x336f83(0x2a2)],this[_0x336f83(0x207)]());if(_0x207418[_0x336f83(0x2f6)]===0x0){this[_0x336f83(0x30c)][_0x336f83(0x2bf)]({'error':{'code':c['ErrorCode'][_0x336f83(0x344)],'message':_0x336f83(0x284)},'state':0x4});return;}return this['_requestState$'][_0x336f83(0x2bf)]({'error':_0x2cfb42[_0x336f83(0x2fe)],'state':0x4}),_0x207418;}[_0x3ae1dd(0x207)](){const _0x3edde1=_0x3ae1dd;var _0xf08b38;let _0x492feb=this[_0x3edde1(0x304)][_0x3edde1(0x342)](f);return(_0xf08b38=_0x492feb==null?void 0x0:_0x492feb[_0x3edde1(0x2aa)])==null?location['origin']:_0xf08b38;}['_getMinSheetRowCount'](){const _0x3d9352=_0x3ae1dd;var _0x1cb416,_0x6c3193;let _0x4e2a41=this[_0x3d9352(0x304)]['getConfig'](f);return(_0x1cb416=_0x4e2a41==null||(_0x6c3193=_0x4e2a41[_0x3d9352(0x2e0)])==null?void 0x0:_0x6c3193[_0x3d9352(0x353)])==null?0x1:_0x1cb416;}[_0x3ae1dd(0x2b6)](){const _0x268e19=_0x3ae1dd;var _0x3bb034,_0x2b4946;let _0x57a81a=this[_0x268e19(0x304)][_0x268e19(0x342)](f);return(_0x3bb034=_0x57a81a==null||(_0x2b4946=_0x57a81a['options'])==null?void 0x0:_0x2b4946[_0x268e19(0x1e8)])==null?0x1:_0x3bb034;}[_0x3ae1dd(0x2ff)](){const _0x320502=_0x3ae1dd;var _0x211401,_0x399d9a;let _0x43ef17=this['_configService'][_0x320502(0x342)](f);return(_0x211401=_0x43ef17==null||(_0x399d9a=_0x43ef17['options'])==null?void 0x0:_0x399d9a[_0x320502(0x202)])==null?!0x0:_0x211401;}[_0x3ae1dd(0x214)](){const _0x4f3111=_0x3ae1dd;var _0x4da89d,_0x1ebb0e;let _0x2f3959=this[_0x4f3111(0x304)][_0x4f3111(0x342)](f);return(_0x4da89d=_0x2f3959==null||(_0x1ebb0e=_0x2f3959['options'])==null?void 0x0:_0x1ebb0e[_0x4f3111(0x281)])==null?!0x1:_0x4da89d;}};K=h([m(0x0,t[_0x3ae1dd(0x2d8)]),m(0x1,(0x0,t['Inject'])(n[_0x3ae1dd(0x319)])),m(0x2,(0x0,t[_0x3ae1dd(0x223)])(F))],K);const pe={'done':0x0,'count':0x0},q=(0x0,t[_0x3ae1dd(0x2f3)])(_0x3ae1dd(0x2e7));let J=class extends t[_0x3ae1dd(0x25e)]{constructor(_0x5641fa,_0x391464,_0x4927e1,_0x1dc15b,_0x53f3a5,_0x26f55c,_0x3a5c23){const _0x5edf5e=_0x3ae1dd;super(),this[_0x5edf5e(0x252)]=_0x5641fa,this[_0x5edf5e(0x321)]=_0x391464,this[_0x5edf5e(0x27f)]=_0x4927e1,this[_0x5edf5e(0x31f)]=_0x1dc15b,this[_0x5edf5e(0x2e6)]=_0x53f3a5,this[_0x5edf5e(0x287)]=_0x26f55c,this['_resourceLoaderService']=_0x3a5c23,v(this,_0x5edf5e(0x251),new a['BehaviorSubject'](pe)),v(this,_0x5edf5e(0x300),this[_0x5edf5e(0x251)][_0x5edf5e(0x1de)]()),v(this,_0x5edf5e(0x22b),0x0),v(this,_0x5edf5e(0x326),0x0),this[_0x5edf5e(0x2b9)]((0x0,t['toDisposable'])(this[_0x5edf5e(0x31f)]['requestState$'][_0x5edf5e(0x244)](_0x330b66=>{const _0x4f0f70=_0x5edf5e;var _0x20cc3c;((_0x20cc3c=_0x330b66[_0x4f0f70(0x2fe)])==null?void 0x0:_0x20cc3c['code'])===c['ErrorCode']['OK']?this['_addDoneTask'](0x1):this['_showNetworkError'](_0x330b66[_0x4f0f70(0x2fe)]);})));}[_0x3ae1dd(0x33a)](){const _0x5e2866=_0x3ae1dd;this[_0x5e2866(0x2c7)](),this[_0x5e2866(0x2e6)][_0x5e2866(0x346)](0x2),this['_exchangeService'][_0x5e2866(0x2af)]();}async[_0x3ae1dd(0x2b3)](_0xf67a61){throw Error('Method\x20not\x20implemented.');}async['importFileToUnitIdByCurrentType'](){const _0x310d80=_0x3ae1dd;let _0x27bfde=this[_0x310d80(0x252)]['getFocusedUnit']();switch(_0x27bfde?this[_0x310d80(0x252)][_0x310d80(0x34c)](_0x27bfde[_0x310d80(0x2e8)]()):t[_0x310d80(0x24e)][_0x310d80(0x344)]){case t[_0x310d80(0x24e)][_0x310d80(0x352)]:return this['importPPTXToUnitId']();case t[_0x310d80(0x24e)][_0x310d80(0x350)]:return this['importDOCXToUnitId']();case t['UniverInstanceType']['UNIVER_SHEET']:default:return this['importXLSXToUnitId']();}}async[_0x3ae1dd(0x1d2)](){const _0x482ee8=_0x3ae1dd;let _0x187cc5=await M([t[_0x482ee8(0x24e)][_0x482ee8(0x350)]]);if(_0x187cc5&&!this['_fileTypeError'](_0x187cc5,t[_0x482ee8(0x24e)][_0x482ee8(0x350)]))return this['_importFileToUnitId'](_0x187cc5[0x0],t[_0x482ee8(0x24e)]['UNIVER_DOC']);}[_0x3ae1dd(0x340)](){const _0x5d91f4=_0x3ae1dd;throw Error(_0x5d91f4(0x2b1));}async['exportDOCXByUnitId'](_0x5031b6,_0x24430c,_0x1d5f93){const _0xc0c202=_0x3ae1dd;this[_0xc0c202(0x359)](o['MessageType'][_0xc0c202(0x250)]);let _0x35a3fd=await this['_exchangeService']['exportDOCXByUnitId'](_0x5031b6||this[_0xc0c202(0x2dd)]());_0x35a3fd&&(this[_0xc0c202(0x31f)][_0xc0c202(0x2f7)](_0x35a3fd,_0x24430c||this[_0xc0c202(0x35d)](_0x35a3fd),_0xc0c202(0x31c)),this[_0xc0c202(0x359)](o['MessageType']['Success']));}async[_0x3ae1dd(0x20f)](){const _0x29dfd9=_0x3ae1dd;this[_0x29dfd9(0x359)](o[_0x29dfd9(0x2ca)]['Info']);let _0x441713=await this[_0x29dfd9(0x28c)](),_0xecfc52=await this[_0x29dfd9(0x31f)]['exportDOCXBySnapshot'](_0x441713);_0xecfc52&&(this[_0x29dfd9(0x31f)][_0x29dfd9(0x2f7)](_0xecfc52,this[_0x29dfd9(0x35d)](_0xecfc52),_0x29dfd9(0x31c)),this['_showDownloadMessage'](o[_0x29dfd9(0x2ca)][_0x29dfd9(0x27d)]));}async[_0x3ae1dd(0x302)](){const _0x56d8a6=_0x3ae1dd;if(this['_uploadTaskNotDone']()){this[_0x56d8a6(0x321)][_0x56d8a6(0x24a)]({'type':o[_0x56d8a6(0x2ca)]['Warning'],'content':this['_localeService']['t'](_0x56d8a6(0x206))});return;}let _0x235f55=await M([t[_0x56d8a6(0x24e)][_0x56d8a6(0x352)]]);if(_0x235f55&&!this['_fileTypeError'](_0x235f55,t[_0x56d8a6(0x24e)][_0x56d8a6(0x352)]))return this[_0x56d8a6(0x1f0)](_0x235f55[0x0],t[_0x56d8a6(0x24e)][_0x56d8a6(0x352)]);}async[_0x3ae1dd(0x29d)](){const _0x57e6a0=_0x3ae1dd;if(this['_uploadTaskNotDone']()){this[_0x57e6a0(0x321)][_0x57e6a0(0x24a)]({'type':o[_0x57e6a0(0x2ca)]['Warning'],'content':this[_0x57e6a0(0x27f)]['t']('exchange-client.uploading')});return;}let _0x4a827b=await M([t[_0x57e6a0(0x24e)][_0x57e6a0(0x352)]]);if(!_0x4a827b)return;this[_0x57e6a0(0x1f5)](o[_0x57e6a0(0x2ca)][_0x57e6a0(0x250)]);let _0x3607a3=await this[_0x57e6a0(0x31f)][_0x57e6a0(0x29d)](_0x4a827b[0x0]);_0x3607a3&&(this[_0x57e6a0(0x2db)](_0x3607a3),this[_0x57e6a0(0x1f5)](o[_0x57e6a0(0x2ca)][_0x57e6a0(0x27d)]));}async[_0x3ae1dd(0x323)](_0x2b2e5f,_0x5bc3a1,_0x2c01b0){const _0x596cb5=_0x3ae1dd;this[_0x596cb5(0x359)](o[_0x596cb5(0x2ca)][_0x596cb5(0x250)]);let _0x41712a=await this[_0x596cb5(0x31f)]['exportPPTXByUnitId'](_0x2b2e5f||this[_0x596cb5(0x1d9)]());_0x41712a&&(this[_0x596cb5(0x31f)][_0x596cb5(0x2f7)](_0x41712a,_0x5bc3a1||this[_0x596cb5(0x25b)](_0x41712a,_0x2c01b0==null?t['UniverInstanceType'][_0x596cb5(0x352)]:_0x2c01b0),_0x596cb5(0x2c3)),this[_0x596cb5(0x359)](o[_0x596cb5(0x2ca)]['Success']));}async[_0x3ae1dd(0x331)](){const _0x58a4b9=_0x3ae1dd;this[_0x58a4b9(0x359)](o[_0x58a4b9(0x2ca)]['Info']);let _0x38b0a3=await this['_getUnitSlideJson'](),_0x1b0344=await this['_exchangeService'][_0x58a4b9(0x331)](_0x38b0a3);_0x1b0344&&(this['_exchangeService'][_0x58a4b9(0x2f7)](_0x1b0344,this[_0x58a4b9(0x25b)](_0x1b0344,t[_0x58a4b9(0x24e)][_0x58a4b9(0x352)]),_0x58a4b9(0x2c3)),this[_0x58a4b9(0x359)](o['MessageType'][_0x58a4b9(0x27d)]));}async[_0x3ae1dd(0x34e)](){const _0x20fded=_0x3ae1dd;if(this['_uploadTaskNotDone']()){this[_0x20fded(0x321)][_0x20fded(0x24a)]({'type':o[_0x20fded(0x2ca)][_0x20fded(0x2e9)],'content':this[_0x20fded(0x27f)]['t'](_0x20fded(0x206))});return;}let _0x30211d=await M([t[_0x20fded(0x24e)]['UNIVER_SHEET']]);if(_0x30211d&&!this[_0x20fded(0x229)](_0x30211d,t[_0x20fded(0x24e)][_0x20fded(0x27a)]))return this[_0x20fded(0x1f0)](_0x30211d[0x0],t[_0x20fded(0x24e)]['UNIVER_SHEET']);}async['importXLSXToSnapshot'](){const _0x1a5e08=_0x3ae1dd;if(this[_0x1a5e08(0x1ff)]()){this[_0x1a5e08(0x321)][_0x1a5e08(0x24a)]({'type':o[_0x1a5e08(0x2ca)][_0x1a5e08(0x2e9)],'content':this['_localeService']['t'](_0x1a5e08(0x206))});return;}let _0x3b4e10=await M([t[_0x1a5e08(0x24e)][_0x1a5e08(0x27a)]]);if(!_0x3b4e10)return;this[_0x1a5e08(0x1f5)](o[_0x1a5e08(0x2ca)][_0x1a5e08(0x250)]);let _0x53346e=await this['_exchangeService']['importXLSXToSnapshot'](_0x3b4e10[0x0]);_0x53346e&&(this['_refresh'](_0x53346e),this[_0x1a5e08(0x1f5)](o[_0x1a5e08(0x2ca)][_0x1a5e08(0x27d)]));}async['exportXLSXByUnitId'](_0x533aad,_0x37720b,_0xb64dbe){const _0x520092=_0x3ae1dd;this[_0x520092(0x359)](o[_0x520092(0x2ca)]['Info']);let _0x504e55=await this['_exchangeService'][_0x520092(0x1d6)](_0x533aad||this[_0x520092(0x1fc)]());_0x504e55&&(this[_0x520092(0x31f)][_0x520092(0x2f7)](_0x504e55,_0x37720b||this['_getUnitName'](_0x504e55),'xlsx'),this[_0x520092(0x359)](o['MessageType'][_0x520092(0x27d)]));}async[_0x3ae1dd(0x327)](){const _0x1ce24f=_0x3ae1dd;this[_0x1ce24f(0x359)](o[_0x1ce24f(0x2ca)][_0x1ce24f(0x250)]);let _0xcfe1d3=await this[_0x1ce24f(0x218)](),_0x30333a=await this[_0x1ce24f(0x31f)][_0x1ce24f(0x327)](_0xcfe1d3);_0x30333a&&(this[_0x1ce24f(0x31f)][_0x1ce24f(0x2f7)](_0x30333a,this['_getUnitName'](_0x30333a),_0x1ce24f(0x1fb)),this[_0x1ce24f(0x359)](o[_0x1ce24f(0x2ca)][_0x1ce24f(0x27d)]));}[_0x3ae1dd(0x365)](_0x31cbb3){const _0x2cff8b=_0x3ae1dd;this[_0x2cff8b(0x210)]=_0x31cbb3;}async[_0x3ae1dd(0x1f0)](_0x5eb931,_0x50fbd8){const _0x25d8f4=_0x3ae1dd;this[_0x25d8f4(0x2e6)][_0x25d8f4(0x24a)](),this[_0x25d8f4(0x2e6)][_0x25d8f4(0x346)](0x0),this['_addTotalCount'](0x4),this['_addDoneTask'](0x1);let _0x3f86f3=await this['_exchangeService'][_0x25d8f4(0x33f)](_0x5eb931,_0x50fbd8);if(!_0x3f86f3){this['_clearProgress'](),this[_0x25d8f4(0x2e6)][_0x25d8f4(0x346)](0x2);return;}let _0x17556b={'link':this[_0x25d8f4(0x210)](_0x3f86f3,_0x50fbd8),'name':_0x5eb931[_0x25d8f4(0x1e3)],'type':_0x50fbd8};return this[_0x25d8f4(0x2e6)][_0x25d8f4(0x231)](_0x17556b),this[_0x25d8f4(0x1fd)](),this['_uploadNotificationService']['updateState'](0x1),_0x3f86f3;}['_getUnitID'](){const _0x2ce61c=_0x3ae1dd;return this['_univerInstanceService'][_0x2ce61c(0x29c)](t[_0x2ce61c(0x24e)]['UNIVER_SHEET'])['getUnitId']();}[_0x3ae1dd(0x2dd)](){const _0x4e8e74=_0x3ae1dd;return this['_univerInstanceService'][_0x4e8e74(0x29c)](t[_0x4e8e74(0x24e)]['UNIVER_DOC'])[_0x4e8e74(0x2e8)]();}[_0x3ae1dd(0x1d9)](){const _0x55c220=_0x3ae1dd;return this[_0x55c220(0x252)][_0x55c220(0x29c)](t['UniverInstanceType'][_0x55c220(0x352)])[_0x55c220(0x2e8)]();}[_0x3ae1dd(0x35d)](_0x3e4907){const _0x588fbe=_0x3ae1dd;return this['_getUnitNameByType'](_0x3e4907,t[_0x588fbe(0x24e)][_0x588fbe(0x27a)]);}[_0x3ae1dd(0x25b)](_0x397147,_0x330501){const _0x2f504b=_0x3ae1dd;var _0x1edc81;let _0x1e224c=(_0x1edc81=this[_0x2f504b(0x252)][_0x2f504b(0x29c)](_0x330501))==null?void 0x0:_0x1edc81[_0x2f504b(0x32e)](),_0x1d3265=_0x1e224c==null?void 0x0:_0x1e224c[_0x2f504b(0x1e3)];return typeof _0x1d3265==_0x2f504b(0x23e)&&_0x1d3265[_0x2f504b(0x2a8)]()?_0x1d3265:_0x397147[_0x2f504b(0x1e3)][_0x2f504b(0x29a)]('.')[_0x2f504b(0x269)]()||document[_0x2f504b(0x1f2)];}async[_0x3ae1dd(0x218)](){const _0x406f3e=_0x3ae1dd;let _0x27bf48=this[_0x406f3e(0x252)][_0x406f3e(0x29c)](t[_0x406f3e(0x24e)][_0x406f3e(0x27a)]),_0x4df5d4=this[_0x406f3e(0x285)][_0x406f3e(0x2f1)](_0x27bf48[_0x406f3e(0x2e8)]());return _0x4df5d4==null?_0x27bf48[_0x406f3e(0x32e)]():_0x4df5d4;}async[_0x3ae1dd(0x28c)](){const _0x3b6dcb=_0x3ae1dd;let _0x276711=this[_0x3b6dcb(0x252)][_0x3b6dcb(0x29c)](t[_0x3b6dcb(0x24e)]['UNIVER_DOC']),_0x44ef42=this['_resourceLoaderService'][_0x3b6dcb(0x2f1)](_0x276711['getUnitId']());return _0x44ef42==null?_0x276711['getSnapshot']():_0x44ef42;}async[_0x3ae1dd(0x1da)](){const _0x1dade0=_0x3ae1dd;let _0x5dbc5f=this[_0x1dade0(0x252)][_0x1dade0(0x29c)](t[_0x1dade0(0x24e)][_0x1dade0(0x352)]),_0x34e1ee=this[_0x1dade0(0x285)]['saveUnit'](_0x5dbc5f[_0x1dade0(0x2e8)]());return _0x34e1ee==null?_0x5dbc5f['getSnapshot']():_0x34e1ee;}[_0x3ae1dd(0x210)](_0x89810f,_0x39d622){const _0x4af32a=_0x3ae1dd;let _0x2773d0=new URL(window[_0x4af32a(0x29e)][_0x4af32a(0x264)]);return _0x2773d0['searchParams'][_0x4af32a(0x336)](_0x4af32a(0x200),_0x89810f),_0x2773d0[_0x4af32a(0x23b)]['set'](_0x4af32a(0x314),''+_0x39d622),_0x2773d0[_0x4af32a(0x226)]();}[_0x3ae1dd(0x23f)](_0x3e28ba){const _0x55013d=_0x3ae1dd;let _0x273e18=this[_0x55013d(0x252)][_0x55013d(0x29c)](t[_0x55013d(0x24e)]['UNIVER_SHEET'])['getUnitId']();this[_0x55013d(0x252)][_0x55013d(0x2cb)](_0x273e18),this[_0x55013d(0x252)][_0x55013d(0x219)](t[_0x55013d(0x24e)][_0x55013d(0x27a)],_0x3e28ba);}[_0x3ae1dd(0x2db)](_0x5f5d1d){const _0x59f628=_0x3ae1dd;let _0x42dcbc=this['_univerInstanceService'][_0x59f628(0x29c)](t[_0x59f628(0x24e)][_0x59f628(0x352)])[_0x59f628(0x2e8)]();this['_univerInstanceService'][_0x59f628(0x2cb)](_0x42dcbc),this[_0x59f628(0x252)]['createUnit'](t['UniverInstanceType'][_0x59f628(0x352)],_0x5f5d1d);}[_0x3ae1dd(0x2eb)](_0x120048){const _0x478310=_0x3ae1dd;if(_0x120048){let {code:_0x478652}=_0x120048;switch(_0x478652){case c[_0x478310(0x2cf)][_0x478310(0x237)]:this[_0x478310(0x321)][_0x478310(0x24a)]({'type':o[_0x478310(0x2ca)]['Error'],'content':this['_localeService']['t'](_0x478310(0x294))});break;case c[_0x478310(0x2cf)][_0x478310(0x1f1)]:this['_messageService'][_0x478310(0x24a)]({'type':o['MessageType'][_0x478310(0x1f7)],'content':this[_0x478310(0x27f)]['t'](_0x478310(0x2bb))});break;default:this['_messageService'][_0x478310(0x24a)]({'type':o[_0x478310(0x2ca)][_0x478310(0x1f7)],'content':this['_localeService']['t']('exchange-client.networkError')});break;}return null;}return this[_0x478310(0x321)][_0x478310(0x24a)]({'type':o[_0x478310(0x2ca)][_0x478310(0x1f7)],'content':this['_localeService']['t'](_0x478310(0x1ea))}),null;}['_showDownloadMessage'](_0x51af85){const _0x27b83f=_0x3ae1dd;let _0x5e38c8='';switch(_0x51af85){case o[_0x27b83f(0x2ca)]['Success']:_0x5e38c8=this[_0x27b83f(0x27f)]['t'](_0x27b83f(0x1d8));break;case o['MessageType'][_0x27b83f(0x250)]:_0x5e38c8=this['_localeService']['t'](_0x27b83f(0x21e));break;default:break;}this['_messageService'][_0x27b83f(0x24a)]({'type':_0x51af85,'content':_0x5e38c8});}[_0x3ae1dd(0x1f5)](_0x39ae2d){const _0x2a7437=_0x3ae1dd;let _0x3d62b6='';switch(_0x39ae2d){case o[_0x2a7437(0x2ca)][_0x2a7437(0x27d)]:_0x3d62b6=this[_0x2a7437(0x27f)]['t'](_0x2a7437(0x291));break;case o['MessageType'][_0x2a7437(0x250)]:_0x3d62b6=this[_0x2a7437(0x27f)]['t']('exchange-client.uploading');break;default:break;}this[_0x2a7437(0x321)][_0x2a7437(0x24a)]({'type':_0x39ae2d,'content':_0x3d62b6});}[_0x3ae1dd(0x303)](){const _0x4d2deb=_0x3ae1dd;this[_0x4d2deb(0x251)][_0x4d2deb(0x2bf)]({'done':this['_doneUploadTaskCount'],'count':this[_0x4d2deb(0x22b)]});}['_addTotalCount'](_0x27ac17){const _0x3064c7=_0x3ae1dd;this['_totalUploadTaskCount']+=_0x27ac17,this[_0x3064c7(0x303)]();}[_0x3ae1dd(0x248)](_0x175f5b){const _0x48a49b=_0x3ae1dd;this[_0x48a49b(0x326)]+=_0x175f5b,this[_0x48a49b(0x326)]=Math[_0x48a49b(0x26b)](this[_0x48a49b(0x326)],this[_0x48a49b(0x22b)]),this[_0x48a49b(0x303)]();}[_0x3ae1dd(0x1fd)](){const _0x3c33d8=_0x3ae1dd;this[_0x3c33d8(0x326)]=this[_0x3c33d8(0x22b)],this[_0x3c33d8(0x303)]();}[_0x3ae1dd(0x2c7)](){const _0x2ef0a0=_0x3ae1dd;this[_0x2ef0a0(0x326)]=0x0,this[_0x2ef0a0(0x22b)]=0x0,this[_0x2ef0a0(0x303)]();}['_fileTypeError'](_0x466a2c,_0x28282a){const _0x3f3da8=_0x3ae1dd;let _0x32ff22=_0x466a2c[0x0],_0x10fc27=_0x32ff22[_0x3f3da8(0x1e3)];return j(_0x32ff22)===_0x28282a?!0x1:(this[_0x3f3da8(0x321)][_0x3f3da8(0x24a)]({'type':o['MessageType'][_0x3f3da8(0x1f7)],'content':this['_localeService']['t'](_0x3f3da8(0x2ec),_0x10fc27)}),!0x0);}[_0x3ae1dd(0x1ff)](){const _0x365cde=_0x3ae1dd;return this[_0x365cde(0x22b)]!==0x0&&this['_doneUploadTaskCount']!==this[_0x365cde(0x22b)];}};J=h([m(0x0,(0x0,t[_0x3ae1dd(0x223)])(t['IUniverInstanceService'])),m(0x1,i[_0x3ae1dd(0x366)]),m(0x2,(0x0,t[_0x3ae1dd(0x223)])(t[_0x3ae1dd(0x277)])),m(0x3,(0x0,t[_0x3ae1dd(0x223)])(G)),m(0x4,(0x0,t['Inject'])(y)),m(0x5,t[_0x3ae1dd(0x341)]),m(0x6,(0x0,t['Inject'])(t[_0x3ae1dd(0x272)]))],J);function Y(_0x35bc47){const _0x299069=_0x3ae1dd;let {onClick:_0x30607,children:_0x5a274c,className:_0x13fe54}=_0x35bc47;return(0x0,s['jsx'])(_0x299069(0x35b),{'className':(0x0,o[_0x299069(0x298)])(_0x299069(0x279),_0x13fe54),'type':_0x299069(0x35b),'onClick':_0x30607,'children':_0x5a274c});}function X(){const _0x29ca5e=_0x3ae1dd;let _0x1ce390=(0x0,i[_0x29ca5e(0x222)])(q),_0x4da46c=(0x0,i['useDependency'])(t['LocaleService']);function _0x351326(){const _0x1cfd1b=_0x29ca5e;_0x1ce390[_0x1cfd1b(0x34a)]();}return(0x0,s[_0x29ca5e(0x2ba)])(Y,{'onClick':_0x351326,'children':_0x4da46c['t'](_0x29ca5e(0x238))});}function me(){const _0x54814b=_0x3ae1dd;return(0x0,s[_0x54814b(0x1cd)])(_0x54814b(0x33b),{'className':_0x54814b(0x24d),'children':[(0x0,s[_0x54814b(0x2ba)])(_0x54814b(0x305),{'className':'univer-mb-3\x20univer-py-0\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','children':(0x0,i[_0x54814b(0x222)])(t[_0x54814b(0x277)])['t'](_0x54814b(0x20d))}),(0x0,s[_0x54814b(0x2ba)])(X,{})]});}function he(_0x1f0c28){const _0x199ca5=_0x3ae1dd;let {count:_0x21b4e3}=_0x1f0c28;return(0x0,s[_0x199ca5(0x1cd)])(_0x199ca5(0x33b),{'className':_0x199ca5(0x2b4),'children':[(0x0,s['jsx'])(_0x199ca5(0x305),{'className':_0x199ca5(0x286),'children':(0x0,i[_0x199ca5(0x222)])(t[_0x199ca5(0x277)])['t']('exchange-client.uploadSuccessTip',''+_0x21b4e3)}),(0x0,s[_0x199ca5(0x2ba)])(X,{})]});}function ge(){const _0x20d052=_0x3ae1dd;let _0x473280=(0x0,i['useDependency'])(q),_0x5481aa=(0x0,i['useDependency'])(t[_0x20d052(0x277)]);function _0x3a6142(){_0x473280['interrupt']();}return(0x0,s[_0x20d052(0x2ba)])(Y,{'onClick':_0x3a6142,'children':_0x5481aa['t']('exchange-client.cancel')});}function _e(){const _0x1ca9b0=_0x3ae1dd;let {count:_0x44c969,done:_0x4db022}=(0x0,i['useObservable'])((0x0,i['useDependency'])(q)[_0x1ca9b0(0x300)]),_0x345268=_0x44c969>0x0?_0x4db022/_0x44c969:0x0;return(0x0,s[_0x1ca9b0(0x2ba)])('div',{'className':_0x1ca9b0(0x30e),'children':(0x0,s[_0x1ca9b0(0x2ba)])(_0x1ca9b0(0x33b),{'className':'univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','style':{'width':Math[_0x1ca9b0(0x235)](_0x345268*0x64)+'%'}})});}function ve(){const _0x18d21d=_0x3ae1dd;return(0x0,s[_0x18d21d(0x1cd)])('div',{'className':_0x18d21d(0x24d),'children':[(0x0,s['jsx'])('span',{'className':_0x18d21d(0x309),'children':(0x0,i[_0x18d21d(0x222)])(t[_0x18d21d(0x277)])['t'](_0x18d21d(0x33d))}),(0x0,s[_0x18d21d(0x2ba)])(_0x18d21d(0x33b),{'className':_0x18d21d(0x23a),'children':(0x0,s[_0x18d21d(0x2ba)])(_e,{})}),(0x0,s[_0x18d21d(0x2ba)])(ge,{})]});}const Z={0x1:(0x0,s[_0x3ae1dd(0x2ba)])(r[_0x3ae1dd(0x355)],{'className':_0x3ae1dd(0x2fc)}),0x0:(0x0,s[_0x3ae1dd(0x2ba)])(r['ClockIcon'],{'className':_0x3ae1dd(0x1d3)}),0x2:(0x0,s[_0x3ae1dd(0x2ba)])(r['ErrorIcon'],{'className':_0x3ae1dd(0x2c5)})};function ye(){const _0x5d435f=_0x3ae1dd;let _0x38fd33=(0x0,i['useDependency'])(y),_0x4a3582=(0x0,i[_0x5d435f(0x222)])(t[_0x5d435f(0x277)]),_0x51f102=(0x0,i[_0x5d435f(0x1f4)])(_0x38fd33[_0x5d435f(0x343)],0x0),_0x2a35ef=(0x0,i[_0x5d435f(0x1f4)])(_0x38fd33[_0x5d435f(0x339)],!0x1),_0x5cf4ca=(0x0,i[_0x5d435f(0x1f4)])(_0x38fd33[_0x5d435f(0x242)],[]);function _0x581a14(){const _0x6cb184=_0x5d435f;_0x38fd33[_0x6cb184(0x1d1)]();}function _0x522578(_0x388547){const _0x5aa98b=_0x5d435f;switch(_0x388547){case 0x1:return _0x4a3582['t'](_0x5aa98b(0x291));case 0x0:return _0x4a3582['t']('exchange-client.uploading');case 0x2:return _0x4a3582['t'](_0x5aa98b(0x23c));default:return'';}}return _0x2a35ef&&(0x0,s['jsxs'])(_0x5d435f(0x33b),{'className':_0x5d435f(0x315),'children':[(0x0,s['jsxs'])(_0x5d435f(0x33b),{'className':_0x5d435f(0x30a),'children':[(0x0,s[_0x5d435f(0x1cd)])(_0x5d435f(0x305),{'className':_0x5d435f(0x2df),'children':[(0x0,s['jsx'])('span',{'className':'univer-h-6\x20univer-text-2xl','children':Z[_0x51f102]}),(0x0,s['jsx'])(_0x5d435f(0x305),{'className':_0x5d435f(0x2ae),'children':_0x522578(_0x51f102)})]}),(0x0,s['jsx'])(_0x5d435f(0x305),{'className':_0x5d435f(0x1e2),'onClick':_0x581a14,'children':(0x0,s[_0x5d435f(0x2ba)])(r[_0x5d435f(0x27e)],{})})]}),(0x0,s[_0x5d435f(0x1cd)])(_0x5d435f(0x33b),{'children':[_0x51f102===0x0&&(0x0,s[_0x5d435f(0x2ba)])(ve,{}),_0x51f102===0x2&&(0x0,s['jsx'])(me,{}),_0x5cf4ca[_0x5d435f(0x2f6)]>0x0&&(0x0,s[_0x5d435f(0x2ba)])(re,{'list':_0x5cf4ca}),_0x51f102===0x1&&(0x0,s[_0x5d435f(0x2ba)])(he,{'count':_0x5cf4ca[_0x5d435f(0x2f6)]})]})]});}function be(){const _0x4990cb=_0x3ae1dd;return(0x0,s[_0x4990cb(0x2ba)])(ye,{});}let Q=class extends t['Disposable']{constructor(_0x38d1d8,_0x1460ce){const _0x13cad9=_0x3ae1dd;super(),this[_0x13cad9(0x31a)]=_0x38d1d8,this['_uiPartsService']=_0x1460ce,this['_registerUIParts']();}[_0x3ae1dd(0x32f)](){const _0x16c37d=_0x3ae1dd;this[_0x16c37d(0x2b9)](this[_0x16c37d(0x297)][_0x16c37d(0x215)](i['BuiltInUIPart']['CONTENT'],()=>(0x0,i[_0x16c37d(0x20b)])(be,this[_0x16c37d(0x31a)])));}};Q=h([m(0x0,(0x0,t[_0x3ae1dd(0x223)])(t['Injector'])),m(0x1,i[_0x3ae1dd(0x1cb)])],Q);let $=class extends t[_0x3ae1dd(0x205)]{constructor(_0x51078a=p,_0x811370,_0x3f13a0){const _0x5ccc39=_0x3ae1dd;super(),this[_0x5ccc39(0x2c0)]=_0x51078a,this[_0x5ccc39(0x31a)]=_0x811370,this['_configService']=_0x3f13a0;let {..._0x45272a}=(0x0,t['merge'])({},p,this[_0x5ccc39(0x2c0)]);this[_0x5ccc39(0x304)][_0x5ccc39(0x268)](f,_0x45272a);}[_0x3ae1dd(0x212)](){const _0x11f7f1=_0x3ae1dd;(0x0,t[_0x11f7f1(0x1e0)])(this[_0x11f7f1(0x31a)],[[g],[Q],[q,{'useClass':J}],[G,{'useClass':K}],[F,{'useClass':I}],[y,{'useClass':b}]]);}['onReady'](){const _0x48912f=_0x3ae1dd;(0x0,t[_0x48912f(0x2e3)])(this[_0x48912f(0x31a)],[[g],[Q],[q]]);}};v($,_0x3ae1dd(0x2ee),_0x3ae1dd(0x283)),v($,_0x3ae1dd(0x273),d),v($,_0x3ae1dd(0x2be),ee),$=h([(0x0,t[_0x3ae1dd(0x2cd)])(n[_0x3ae1dd(0x293)],e[_0x3ae1dd(0x2d0)]),m(0x1,(0x0,t['Inject'])(t[_0x3ae1dd(0x288)])),m(0x2,t[_0x3ae1dd(0x2d8)])],$),exports[_0x3ae1dd(0x25d)]=q,exports[_0x3ae1dd(0x201)]=G,Object['defineProperty'](exports,_0x3ae1dd(0x271),{'enumerable':!0x0,'get':function(){return $;}}),exports[_0x3ae1dd(0x2f7)]=A,exports['transformSnapshotJsonToWorkbookData']=ue,exports[_0x3ae1dd(0x35c)]=V;
|
package/lib/cjs/locale/ar-SA.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x1020(){const _0x14f22e=['2257324PAWROh','تم\x20التحميل\x20بنجاح','exports','تم\x20رفع\x20{0}\x20ملف/ملفات\x20بنجاح','2364520cZFcfl','27pwOOKX','180141TPyyWn','7gYnNUQ','4265544rGJOXW','خطأ\x20داخلي\x20غير\x20معروف','تم\x20رفع\x20الملف\x20بنجاح','158DgUoks','5RYuTJI','21588182agwnwF','جارٍ\x20الرفع','نوع\x20الملف\x20المحدد\x20[{0}]\x20غير\x20مدعوم\x20للرفع','جارٍ\x20التحميل','خطأ\x20في\x20الشبكة','يرجى\x20الانتظار...','356262qyjydN','إلغاء','10820FPWxdc'];_0x1020=function(){return _0x14f22e;};return _0x1020();}const _0x94e5=_0xf59e;(function(_0x33e22b,_0x2ad12d){const _0x504fd4=_0xf59e,_0x2d45e6=_0x33e22b();while(!![]){try{const _0x315df4=parseInt(_0x504fd4(0x1e8))/0x1*(parseInt(_0x504fd4(0x1dc))/0x2)+-parseInt(_0x504fd4(0x1e3))/0x3+parseInt(_0x504fd4(0x1dd))/0x4+parseInt(_0x504fd4(0x1e9))/0x5*(-parseInt(_0x504fd4(0x1da))/0x6)+-parseInt(_0x504fd4(0x1e4))/0x7*(-parseInt(_0x504fd4(0x1e5))/0x8)+parseInt(_0x504fd4(0x1e2))/0x9*(parseInt(_0x504fd4(0x1e1))/0xa)+-parseInt(_0x504fd4(0x1d4))/0xb;if(_0x315df4===_0x2ad12d)break;else _0x2d45e6['push'](_0x2d45e6['shift']());}catch(_0x4e6a90){_0x2d45e6['push'](_0x2d45e6['shift']());}}}(_0x1020,0x8d85a));const e={'exchange-client':{'uploading':_0x94e5(0x1d5),'uploadSuccess':_0x94e5(0x1e7),'uploadSuccessTip':_0x94e5(0x1e0),'downloading':_0x94e5(0x1d7),'downloadSuccess':_0x94e5(0x1de),'unknownMistake':'خطأ\x20غير\x20معروف','networkError':_0x94e5(0x1d8),'tooLarge':'البيانات\x20كبيرة\x20جداً','internalError':_0x94e5(0x1e6),'interrupt':'تمت\x20مقاطعة\x20الاتصال\x20بالشبكة\x20وفشل\x20رفع\x20الملف','fileTypeError':_0x94e5(0x1d6),'wait':_0x94e5(0x1d9),'cancel':_0x94e5(0x1db),'uploadAgain':'إعادة\x20الرفع'}};function _0xf59e(_0x5118e7,_0x9d0493){_0x5118e7=_0x5118e7-0x1d4;const _0x102006=_0x1020();let _0xf59e16=_0x102006[_0x5118e7];return _0xf59e16;}module[_0x94e5(0x1df)]=e;
|
package/lib/cjs/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x7471ac=_0x2f0c;function _0x2eba(){const _0x395605=['Les\x20dades\x20són\x20massa\x20grans','{0}\x20fitxer(s)\x20pujat(s)\x20correctament','2478384crIxKo','Error\x20intern\x20desconegut','Fitxer\x20pujat\x20correctament','La\x20connexió\x20de\x20xarxa\x20s\x27ha\x20interromput\x20i\x20la\x20pujada\x20del\x20fitxer\x20ha\x20fallat','7584480LRhxjP','453545JTAWCa','Descàrrega\x20correcta','513wteAnW','Pujant','Espereu...','445oNxwEd','6323779oPOMeM','8880VNnqES','18408hbUEdP','Descarregant','Tornar\x20a\x20pujar','exports','782048rjcTya','Error\x20desconegut'];_0x2eba=function(){return _0x395605;};return _0x2eba();}(function(_0x3778b3,_0x52f80d){const _0x442be2=_0x2f0c,_0x353ad7=_0x3778b3();while(!![]){try{const _0x5cea60=-parseInt(_0x442be2(0x1ca))/0x1+parseInt(_0x442be2(0x1c1))/0x2+parseInt(_0x442be2(0x1c5))/0x3+parseInt(_0x442be2(0x1d2))/0x4*(-parseInt(_0x442be2(0x1cf))/0x5)+parseInt(_0x442be2(0x1c9))/0x6+-parseInt(_0x442be2(0x1d0))/0x7+parseInt(_0x442be2(0x1d1))/0x8*(parseInt(_0x442be2(0x1cc))/0x9);if(_0x5cea60===_0x52f80d)break;else _0x353ad7['push'](_0x353ad7['shift']());}catch(_0x3fbd0a){_0x353ad7['push'](_0x353ad7['shift']());}}}(_0x2eba,0xbdefe));const e={'exchange-client':{'uploading':_0x7471ac(0x1cd),'uploadSuccess':_0x7471ac(0x1c7),'uploadSuccessTip':_0x7471ac(0x1c4),'downloading':_0x7471ac(0x1be),'downloadSuccess':_0x7471ac(0x1cb),'unknownMistake':_0x7471ac(0x1c2),'networkError':'Error\x20de\x20xarxa','tooLarge':_0x7471ac(0x1c3),'internalError':_0x7471ac(0x1c6),'interrupt':_0x7471ac(0x1c8),'fileTypeError':'El\x20fitxer\x20seleccionat\x20[{0}]\x20no\x20és\x20compatible\x20per\x20pujar','wait':_0x7471ac(0x1ce),'cancel':'Cancel·lar','uploadAgain':_0x7471ac(0x1bf)}};function _0x2f0c(_0x4fa8e5,_0x3dcf77){_0x4fa8e5=_0x4fa8e5-0x1be;const _0x2ebab2=_0x2eba();let _0x2f0ca7=_0x2ebab2[_0x4fa8e5];return _0x2f0ca7;}module[_0x7471ac(0x1c0)]=e;
|
package/lib/cjs/locale/de-DE.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0xf7d398=_0x57a9;(function(_0x5a6fdb,_0x33e50d){const _0x2271df=_0x57a9,_0x15a991=_0x5a6fdb();while(!![]){try{const _0x36dfa2=parseInt(_0x2271df(0x14e))/0x1+-parseInt(_0x2271df(0x155))/0x2*(parseInt(_0x2271df(0x14a))/0x3)+-parseInt(_0x2271df(0x152))/0x4+parseInt(_0x2271df(0x142))/0x5+parseInt(_0x2271df(0x148))/0x6*(parseInt(_0x2271df(0x14b))/0x7)+parseInt(_0x2271df(0x156))/0x8+parseInt(_0x2271df(0x14f))/0x9*(parseInt(_0x2271df(0x14c))/0xa);if(_0x36dfa2===_0x33e50d)break;else _0x15a991['push'](_0x15a991['shift']());}catch(_0x206aeb){_0x15a991['push'](_0x15a991['shift']());}}}(_0x38bb,0x6310e));function _0x57a9(_0x3de815,_0x8aa7f5){_0x3de815=_0x3de815-0x140;const _0x38bbe6=_0x38bb();let _0x57a9f4=_0x38bbe6[_0x3de815];return _0x57a9f4;}function _0x38bb(){const _0x4916f8=['10lrunbG','Wird\x20heruntergeladen','275886TWOIRH','444249NdlDdZ','Download\x20erfolgreich','Datei\x20erfolgreich\x20hochgeladen','3072168FWLvrk','Interner\x20unbekannter\x20Fehler','Unbekannter\x20Fehler','2106VspXiM','275416vyYELS','Wird\x20hochgeladen','Die\x20ausgewählte\x20Datei\x20[{0}]\x20wird\x20für\x20den\x20Upload\x20nicht\x20unterstützt','997075QhSYAv','Netzwerkfehler','exports','Erneut\x20hochladen','Daten\x20sind\x20zu\x20groß','Abbrechen','12rJIery','{0}\x20Datei(en)\x20erfolgreich\x20hochgeladen','93hqqKEE','2265795fzMJmP'];_0x38bb=function(){return _0x4916f8;};return _0x38bb();}const e={'exchange-client':{'uploading':_0xf7d398(0x140),'uploadSuccess':_0xf7d398(0x151),'uploadSuccessTip':_0xf7d398(0x149),'downloading':_0xf7d398(0x14d),'downloadSuccess':_0xf7d398(0x150),'unknownMistake':_0xf7d398(0x154),'networkError':_0xf7d398(0x143),'tooLarge':_0xf7d398(0x146),'internalError':_0xf7d398(0x153),'interrupt':'Die\x20Netzwerkverbindung\x20wurde\x20unterbrochen\x20und\x20der\x20Datei-Upload\x20ist\x20fehlgeschlagen','fileTypeError':_0xf7d398(0x141),'wait':'Bitte\x20warten...','cancel':_0xf7d398(0x147),'uploadAgain':_0xf7d398(0x145)}};module[_0xf7d398(0x144)]=e;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x4959(){const _0x3701a0=['187170KnDjxx','1370uUrBTd','exports','8626536MnAhBJ','Please\x20wait...','Download\x20success','Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','Downloading','Unknown\x20mistake','Network\x20error','Upload\x20again','209748SjhmZr','Internal\x20unknown\x20error','94hgxlMq','1194954OoyEUn','14982170BGITuZ','File\x20uploaded\x20successfully','7tNHsCX','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','2415224uLGfiL','Uploading','{0}\x20file(s)\x20uploaded\x20successfully','100TfxohR','Cancel'];_0x4959=function(){return _0x3701a0;};return _0x4959();}const _0x39a9fd=_0x345f;(function(_0x32ab99,_0xfc8aea){const _0x2a4e11=_0x345f,_0x241e1b=_0x32ab99();while(!![]){try{const _0x14a79c=parseInt(_0x2a4e11(0xdd))/0x1*(parseInt(_0x2a4e11(0xd1))/0x2)+parseInt(_0x2a4e11(0xd0))/0x3+parseInt(_0x2a4e11(0xdb))/0x4*(parseInt(_0x2a4e11(0xce))/0x5)+-parseInt(_0x2a4e11(0xde))/0x6*(parseInt(_0x2a4e11(0xc9))/0x7)+parseInt(_0x2a4e11(0xcb))/0x8+parseInt(_0x2a4e11(0xd3))/0x9+-parseInt(_0x2a4e11(0xdf))/0xa;if(_0x14a79c===_0xfc8aea)break;else _0x241e1b['push'](_0x241e1b['shift']());}catch(_0x48037e){_0x241e1b['push'](_0x241e1b['shift']());}}}(_0x4959,0xb44f7));function _0x345f(_0x205d9f,_0x26f2c2){_0x205d9f=_0x205d9f-0xc9;const _0x4959df=_0x4959();let _0x345fa7=_0x4959df[_0x205d9f];return _0x345fa7;}const e={'exchange-client':{'uploading':_0x39a9fd(0xcc),'uploadSuccess':_0x39a9fd(0xe0),'uploadSuccessTip':_0x39a9fd(0xcd),'downloading':_0x39a9fd(0xd7),'downloadSuccess':_0x39a9fd(0xd5),'unknownMistake':_0x39a9fd(0xd8),'networkError':_0x39a9fd(0xd9),'tooLarge':'Data\x20is\x20too\x20large','internalError':_0x39a9fd(0xdc),'interrupt':_0x39a9fd(0xca),'fileTypeError':_0x39a9fd(0xd6),'wait':_0x39a9fd(0xd4),'cancel':_0x39a9fd(0xcf),'uploadAgain':_0x39a9fd(0xda)}};module[_0x39a9fd(0xd2)]=e;
|
package/lib/cjs/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x385290=_0x4d85;function _0x5778(){const _0x31b4db=['Subir\x20de\x20nuevo','3MJOaPo','9100312qNHcaF','4012731KYnnrL','El\x20archivo\x20seleccionado\x20[{0}]\x20no\x20es\x20compatible\x20para\x20subir','64293416FGwiOs','1711921WSmhqU','Error\x20interno\x20desconocido','Descarga\x20exitosa','128720JNCybv','Error\x20desconocido','3202108LzigEB','10XWZbsg','2VvBIxo','12RALMma','Descargando','Error\x20de\x20red','3896870OoOkVW','Cancelar'];_0x5778=function(){return _0x31b4db;};return _0x5778();}(function(_0x30e941,_0x2da771){const _0x4752c0=_0x4d85,_0x182300=_0x30e941();while(!![]){try{const _0x123fdc=-parseInt(_0x4752c0(0xb7))/0x1*(parseInt(_0x4752c0(0xbe))/0x2)+-parseInt(_0x4752c0(0xb2))/0x3*(-parseInt(_0x4752c0(0xba))/0x4)+-parseInt(_0x4752c0(0xaf))/0x5+parseInt(_0x4752c0(0xbf))/0x6*(-parseInt(_0x4752c0(0xbc))/0x7)+-parseInt(_0x4752c0(0xb3))/0x8+-parseInt(_0x4752c0(0xb4))/0x9*(parseInt(_0x4752c0(0xbd))/0xa)+parseInt(_0x4752c0(0xb6))/0xb;if(_0x123fdc===_0x2da771)break;else _0x182300['push'](_0x182300['shift']());}catch(_0x5c04c7){_0x182300['push'](_0x182300['shift']());}}}(_0x5778,0xd8a9f));const e={'exchange-client':{'uploading':'Subiendo','uploadSuccess':'Archivo\x20subido\x20exitosamente','uploadSuccessTip':'{0}\x20archivo(s)\x20subido(s)\x20exitosamente','downloading':_0x385290(0xad),'downloadSuccess':_0x385290(0xb9),'unknownMistake':_0x385290(0xbb),'networkError':_0x385290(0xae),'tooLarge':'Los\x20datos\x20son\x20demasiado\x20grandes','internalError':_0x385290(0xb8),'interrupt':'La\x20conexión\x20de\x20red\x20se\x20interrumpió\x20y\x20la\x20carga\x20del\x20archivo\x20falló','fileTypeError':_0x385290(0xb5),'wait':'Espere...','cancel':_0x385290(0xb0),'uploadAgain':_0x385290(0xb1)}};function _0x4d85(_0x13fb70,_0x3b2463){_0x13fb70=_0x13fb70-0xad;const _0x577842=_0x5778();let _0x4d8514=_0x577842[_0x13fb70];return _0x4d8514;}module['exports']=e;
|
package/lib/cjs/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x445d(){const _0x2b8f68=['28617756hBGuCd','1118186qerXGO','1493930XcKzVs','لطفا\x20صبر\x20کنید...','1HgmmWV','558588Qishtg','21lbcpdP','11567600QETLAh','در\x20حال\x20بارگذاری','10YKDQly','اتصال\x20شبکه\x20قطع\x20شد\x20و\x20بارگذاری\x20فایل\x20ناموفق\x20بود.','فایل\x20انتخاب\x20شده\x20[{0}]\x20برای\x20بارگذاری\x20پشتیبانی\x20نمیشود','{0}\x20فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','1440297KCLPxo','6jcswLV','869248uPrslN','لغو','در\x20حال\x20دانلود','داده\x20خیلی\x20بزرگ\x20است','خطای\x20ناشناخته','دانلود\x20موفقیت\x20آمیز','13jevMAP','8AKrnss'];_0x445d=function(){return _0x2b8f68;};return _0x445d();}const _0x5283b6=_0x31bc;function _0x31bc(_0x1ed530,_0x5aa6ac){_0x1ed530=_0x1ed530-0x136;const _0x445d66=_0x445d();let _0x31bc85=_0x445d66[_0x1ed530];return _0x31bc85;}(function(_0x20c883,_0x453af9){const _0x5276ff=_0x31bc,_0x47c676=_0x20c883();while(!![]){try{const _0x5227c6=parseInt(_0x5276ff(0x140))/0x1*(-parseInt(_0x5276ff(0x13d))/0x2)+parseInt(_0x5276ff(0x141))/0x3*(-parseInt(_0x5276ff(0x13b))/0x4)+-parseInt(_0x5276ff(0x13e))/0x5*(-parseInt(_0x5276ff(0x14a))/0x6)+-parseInt(_0x5276ff(0x142))/0x7*(parseInt(_0x5276ff(0x14b))/0x8)+-parseInt(_0x5276ff(0x149))/0x9*(-parseInt(_0x5276ff(0x145))/0xa)+-parseInt(_0x5276ff(0x143))/0xb+-parseInt(_0x5276ff(0x13c))/0xc*(-parseInt(_0x5276ff(0x13a))/0xd);if(_0x5227c6===_0x453af9)break;else _0x47c676['push'](_0x47c676['shift']());}catch(_0x3a76b2){_0x47c676['push'](_0x47c676['shift']());}}}(_0x445d,0x82833));const e={'exchange-client':{'uploading':_0x5283b6(0x144),'uploadSuccess':'فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','uploadSuccessTip':_0x5283b6(0x148),'downloading':_0x5283b6(0x136),'downloadSuccess':_0x5283b6(0x139),'unknownMistake':_0x5283b6(0x138),'networkError':'خطای\x20شبکه','tooLarge':_0x5283b6(0x137),'internalError':'خطای\x20داخلی\x20ناشناخته','interrupt':_0x5283b6(0x146),'fileTypeError':_0x5283b6(0x147),'wait':_0x5283b6(0x13f),'cancel':_0x5283b6(0x14c),'uploadAgain':'بارگذاری\x20مجدد'}};module['exports']=e;
|
package/lib/cjs/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x1601a1=_0x306e;(function(_0x17301c,_0x555f09){const _0x4c7484=_0x306e,_0xcc2d32=_0x17301c();while(!![]){try{const _0x47326d=parseInt(_0x4c7484(0x146))/0x1+-parseInt(_0x4c7484(0x145))/0x2*(parseInt(_0x4c7484(0x15b))/0x3)+-parseInt(_0x4c7484(0x148))/0x4*(parseInt(_0x4c7484(0x14d))/0x5)+parseInt(_0x4c7484(0x14c))/0x6+parseInt(_0x4c7484(0x149))/0x7+parseInt(_0x4c7484(0x151))/0x8*(parseInt(_0x4c7484(0x14a))/0x9)+parseInt(_0x4c7484(0x155))/0xa*(-parseInt(_0x4c7484(0x158))/0xb);if(_0x47326d===_0x555f09)break;else _0xcc2d32['push'](_0xcc2d32['shift']());}catch(_0x1993ac){_0xcc2d32['push'](_0xcc2d32['shift']());}}}(_0x5388,0xf2272));const e={'exchange-client':{'uploading':_0x1601a1(0x153),'uploadSuccess':'Fichier\x20téléchargé\x20avec\x20succès','uploadSuccessTip':_0x1601a1(0x147),'downloading':_0x1601a1(0x157),'downloadSuccess':_0x1601a1(0x15c),'unknownMistake':_0x1601a1(0x156),'networkError':'Erreur\x20réseau','tooLarge':_0x1601a1(0x14b),'internalError':_0x1601a1(0x15a),'interrupt':_0x1601a1(0x159),'fileTypeError':_0x1601a1(0x154),'wait':_0x1601a1(0x14f),'cancel':_0x1601a1(0x152),'uploadAgain':_0x1601a1(0x14e)}};function _0x306e(_0xd85f4a,_0x46e6a7){_0xd85f4a=_0xd85f4a-0x145;const _0x53884a=_0x5388();let _0x306e51=_0x53884a[_0xd85f4a];return _0x306e51;}function _0x5388(){const _0xca15e=['83764yiDLsA','4489611wfTpoM','57951FBnrCd','Les\x20données\x20sont\x20trop\x20volumineuses','8939364iLxpAv','120FIVnOK','Télécharger\x20à\x20nouveau','Veuillez\x20patienter...','exports','2416iCoJFl','Annuler','Téléchargement\x20en\x20cours','Le\x20fichier\x20sélectionné\x20[{0}]\x20n\x27est\x20pas\x20pris\x20en\x20charge\x20pour\x20le\x20téléchargement','260rleXuW','Erreur\x20inconnue','Téléchargement','970101JtZKru','La\x20connexion\x20réseau\x20a\x20été\x20interrompue\x20et\x20le\x20téléchargement\x20du\x20fichier\x20a\x20échoué','Erreur\x20interne\x20inconnue','1076541ryyuEm','Téléchargement\x20réussi','8QBkAvW','1146951pzmqAo','{0}\x20fichier(s)\x20téléchargé(s)\x20avec\x20succès'];_0x5388=function(){return _0xca15e;};return _0x5388();}module[_0x1601a1(0x150)]=e;
|
package/lib/cjs/locale/id-ID.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x41e9(_0x2f8c86,_0x486be9){_0x2f8c86=_0x2f8c86-0x144;const _0x21afcf=_0x21af();let _0x41e9ec=_0x21afcf[_0x2f8c86];return _0x41e9ec;}const _0x1b3062=_0x41e9;(function(_0x30be9c,_0x13a604){const _0x4a8017=_0x41e9,_0xc21bb7=_0x30be9c();while(!![]){try{const _0x60070b=parseInt(_0x4a8017(0x155))/0x1*(parseInt(_0x4a8017(0x15b))/0x2)+-parseInt(_0x4a8017(0x152))/0x3*(-parseInt(_0x4a8017(0x15a))/0x4)+parseInt(_0x4a8017(0x148))/0x5*(-parseInt(_0x4a8017(0x145))/0x6)+parseInt(_0x4a8017(0x147))/0x7+parseInt(_0x4a8017(0x144))/0x8*(parseInt(_0x4a8017(0x150))/0x9)+-parseInt(_0x4a8017(0x14e))/0xa+-parseInt(_0x4a8017(0x157))/0xb;if(_0x60070b===_0x13a604)break;else _0xc21bb7['push'](_0xc21bb7['shift']());}catch(_0x2eb42a){_0xc21bb7['push'](_0xc21bb7['shift']());}}}(_0x21af,0x490e5));const e={'exchange-client':{'uploading':_0x1b3062(0x14a),'uploadSuccess':_0x1b3062(0x153),'uploadSuccessTip':'{0}\x20file\x20berhasil\x20diunggah','downloading':_0x1b3062(0x159),'downloadSuccess':_0x1b3062(0x146),'unknownMistake':_0x1b3062(0x149),'networkError':_0x1b3062(0x14d),'tooLarge':_0x1b3062(0x154),'internalError':_0x1b3062(0x14f),'interrupt':_0x1b3062(0x158),'fileTypeError':_0x1b3062(0x14c),'wait':_0x1b3062(0x156),'cancel':_0x1b3062(0x14b),'uploadAgain':'Unggah\x20ulang'}};function _0x21af(){const _0x2a0b5a=['2993277MAXlXo','305dgymBO','Kesalahan\x20tidak\x20diketahui','Mengunggah','Batal','File\x20yang\x20dipilih\x20[{0}]\x20tidak\x20didukung\x20untuk\x20diunggah','Kesalahan\x20jaringan','5656910hMydgQ','Kesalahan\x20internal\x20tidak\x20diketahui','1960974GUvGlf','exports','30GPyqPX','File\x20berhasil\x20diunggah','Data\x20terlalu\x20besar','11734CSZwlU','Harap\x20tunggu...','3657566CFkEoF','Koneksi\x20jaringan\x20terputus\x20dan\x20unggahan\x20file\x20gagal','Mengunduh','74936EwEpHd','56mNuNVC','16mqtKoT','17886OZhvWU','Unduhan\x20berhasil'];_0x21af=function(){return _0x2a0b5a;};return _0x21af();}module[_0x1b3062(0x151)]=e;
|
package/lib/cjs/locale/it-IT.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0xbe8782=_0x1e6a;(function(_0x4cf499,_0x509f98){const _0x485f9b=_0x1e6a,_0x790b68=_0x4cf499();while(!![]){try{const _0x2052dd=-parseInt(_0x485f9b(0xd1))/0x1+-parseInt(_0x485f9b(0xd2))/0x2*(-parseInt(_0x485f9b(0xd3))/0x3)+parseInt(_0x485f9b(0xdd))/0x4*(-parseInt(_0x485f9b(0xd5))/0x5)+-parseInt(_0x485f9b(0xda))/0x6+-parseInt(_0x485f9b(0xd0))/0x7+parseInt(_0x485f9b(0xd9))/0x8+parseInt(_0x485f9b(0xe1))/0x9;if(_0x2052dd===_0x509f98)break;else _0x790b68['push'](_0x790b68['shift']());}catch(_0x1bc02b){_0x790b68['push'](_0x790b68['shift']());}}}(_0x31f1,0x1ba39));const e={'exchange-client':{'uploading':'Caricamento\x20in\x20corso','uploadSuccess':_0xbe8782(0xd7),'uploadSuccessTip':_0xbe8782(0xdb),'downloading':_0xbe8782(0xd8),'downloadSuccess':_0xbe8782(0xd6),'unknownMistake':_0xbe8782(0xdc),'networkError':'Errore\x20di\x20rete','tooLarge':'I\x20dati\x20sono\x20troppo\x20grandi','internalError':_0xbe8782(0xcf),'interrupt':_0xbe8782(0xd4),'fileTypeError':_0xbe8782(0xdf),'wait':'Attendi...','cancel':_0xbe8782(0xe0),'uploadAgain':_0xbe8782(0xe2)}};function _0x1e6a(_0xc0d612,_0x21ec8f){_0xc0d612=_0xc0d612-0xcf;const _0x31f16e=_0x31f1();let _0x1e6af0=_0x31f16e[_0xc0d612];return _0x1e6af0;}module[_0xbe8782(0xde)]=e;function _0x31f1(){const _0x48fdd4=['exports','Il\x20file\x20selezionato\x20[{0}]\x20non\x20è\x20supportato\x20per\x20il\x20caricamento','Annulla','4497984PmhCax','Carica\x20di\x20nuovo','Errore\x20interno\x20sconosciuto','605353sfQSGe','167747FZriKd','21726dGxwRC','48DEBEHm','La\x20connessione\x20di\x20rete\x20è\x20stata\x20interrotta\x20e\x20il\x20caricamento\x20del\x20file\x20è\x20fallito','95xqegLY','Download\x20riuscito','File\x20caricato\x20con\x20successo','Download\x20in\x20corso','253576HMVsOf','1205934cfkTsa','{0}\x20file\x20caricati\x20con\x20successo','Errore\x20sconosciuto','28812rSxyhY'];_0x31f1=function(){return _0x48fdd4;};return _0x31f1();}
|