@univerjs-pro/exchange-client 0.19.0 → 0.20.0
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/ca-ES.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/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.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-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.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/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.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-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.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/ja-JP.js +1 -1
- package/lib/locale/ko-KR.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-TW.js +1 -1
- package/lib/types/facade/f-univer.d.ts +0 -86
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.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/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.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-TW.js +1 -1
- package/package.json +8 -8
package/lib/es/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x10d8(_0x2f47ce,_0x15b083){_0x2f47ce=_0x2f47ce-0x139;const _0x46ee84=_0x46ee();let _0x10d8b1=_0x46ee84[_0x2f47ce];return _0x10d8b1;}const _0x49fffa=_0x10d8;function _0x46ee(){const _0x2286b2=['1587788fSDuvq','1812111pDxEJU','Lưu\x20dưới\x20dạng','8180904hFUmAa','Tệp','Tệp\x20được\x20chọn\x20[{0}]\x20không\x20được\x20hỗ\x20trợ\x20để\x20tải\x20lên','Lỗi\x20không\x20xác\x20định','1239cgatkW','Luồng\x20dữ\x20liệu\x20quá\x20lớn','Tải\x20lên\x20tệp\x20thành\x20công','Lỗi\x20không\x20xác\x20định\x20bên\x20trong','Hủy\x20bỏ','2364RgmQPx','3436270xCWTgS','1hHxKvT','{0}\x20tệp\x20đã\x20được\x20tải\x20lên\x20thành\x20công','Vui\x20lòng\x20đợi...','504iCPjJt','4oQhDgn','Lỗi\x20mạng','44370drnESb','Tải\x20xuống\x20thành\x20công','19967794vWhjsz'];_0x46ee=function(){return _0x2286b2;};return _0x46ee();}(function(_0x11e607,_0x4d6a85){const _0x56835a=_0x10d8,_0x24b749=_0x11e607();while(!![]){try{const _0x433e2a=-parseInt(_0x56835a(0x147))/0x1*(-parseInt(_0x56835a(0x139))/0x2)+-parseInt(_0x56835a(0x13a))/0x3+-parseInt(_0x56835a(0x14b))/0x4*(parseInt(_0x56835a(0x146))/0x5)+-parseInt(_0x56835a(0x145))/0x6*(-parseInt(_0x56835a(0x140))/0x7)+-parseInt(_0x56835a(0x13c))/0x8+parseInt(_0x56835a(0x14a))/0x9*(parseInt(_0x56835a(0x14d))/0xa)+parseInt(_0x56835a(0x14f))/0xb;if(_0x433e2a===_0x4d6a85)break;else _0x24b749['push'](_0x24b749['shift']());}catch(_0x4d346a){_0x24b749['push'](_0x24b749['shift']());}}}(_0x46ee,0x95c4e));const e={'exchange':{'file':_0x49fffa(0x13d),'upload':'Mở\x20(Tệp)','download':_0x49fffa(0x13b),'uploading':'Đang\x20tải\x20lên','uploadSuccess':_0x49fffa(0x142),'uploadSuccessTip':_0x49fffa(0x148),'downloading':'Đang\x20tải\x20xuống','downloadSuccess':_0x49fffa(0x14e),'unknownMistake':_0x49fffa(0x13f),'networkError':_0x49fffa(0x14c),'tooLarge':_0x49fffa(0x141),'internalError':_0x49fffa(0x143),'interrupt':'Kết\x20nối\x20mạng\x20bị\x20gián\x20đoạn,\x20tải\x20lên\x20tệp\x20thất\x20bại','fileTypeError':_0x49fffa(0x13e),'wait':_0x49fffa(0x149),'cancel':_0x49fffa(0x144),'uploadAgain':'Tải\x20lên\x20lại'}};export{e as default};
|
package/lib/es/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x2f11(_0x12fca3,_0x591fe9){_0x12fca3=_0x12fca3-0x1cf;const _0x1fd3d6=_0x1fd3();let _0x2f1129=_0x1fd3d6[_0x12fca3];return _0x2f1129;}const _0x5e0c37=_0x2f11;(function(_0xf307da,_0x49182b){const _0x333872=_0x2f11,_0x3fadef=_0xf307da();while(!![]){try{const _0x10bee0=parseInt(_0x333872(0x1e0))/0x1+-parseInt(_0x333872(0x1da))/0x2*(-parseInt(_0x333872(0x1e1))/0x3)+-parseInt(_0x333872(0x1dd))/0x4*(parseInt(_0x333872(0x1e3))/0x5)+parseInt(_0x333872(0x1db))/0x6*(parseInt(_0x333872(0x1e2))/0x7)+parseInt(_0x333872(0x1d6))/0x8+-parseInt(_0x333872(0x1d2))/0x9*(parseInt(_0x333872(0x1d4))/0xa)+parseInt(_0x333872(0x1cf))/0xb*(-parseInt(_0x333872(0x1d9))/0xc);if(_0x10bee0===_0x49182b)break;else _0x3fadef['push'](_0x3fadef['shift']());}catch(_0xee6dc){_0x3fadef['push'](_0x3fadef['shift']());}}}(_0x1fd3,0xdbd41));const e={'exchange':{'file':'文件','upload':'打开(文件)','download':_0x5e0c37(0x1d5),'uploading':_0x5e0c37(0x1e7),'uploadSuccess':_0x5e0c37(0x1e4),'uploadSuccessTip':_0x5e0c37(0x1e6),'downloading':_0x5e0c37(0x1d8),'downloadSuccess':_0x5e0c37(0x1e5),'unknownMistake':_0x5e0c37(0x1dc),'networkError':_0x5e0c37(0x1d3),'tooLarge':_0x5e0c37(0x1d1),'internalError':_0x5e0c37(0x1d7),'interrupt':_0x5e0c37(0x1df),'fileTypeError':_0x5e0c37(0x1de),'wait':'请稍等...','cancel':'取消','uploadAgain':_0x5e0c37(0x1d0)}};function _0x1fd3(){const _0x463226=['数据流过大','1932687MnMhtS','网络异常','50ruqFFj','另存为','11346632QLcfYA','内部未知错误','下载中','12XhRUhq','10YfvKHk','401178tIrQAz','未知错误','2458968LHMxSd','所选文件\x20[{0}]\x20不支持上传','网络连接中断,文件上传失败','881400ukVEzk','677211EpnvFK','7bWekOb','10rrGvQg','文件上传成功','下载成功','{0}个文件上传成功','上传中','3208271Nfesao','再次上传'];_0x1fd3=function(){return _0x463226;};return _0x1fd3();}export{e as default};
|
package/lib/es/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2fd15b=_0x26a5;(function(_0x2dccd2,_0x322438){const _0x280636=_0x26a5,_0xc1c219=_0x2dccd2();while(!![]){try{const _0x2e275c=parseInt(_0x280636(0x13d))/0x1*(-parseInt(_0x280636(0x148))/0x2)+-parseInt(_0x280636(0x140))/0x3+-parseInt(_0x280636(0x14a))/0x4*(-parseInt(_0x280636(0x13e))/0x5)+parseInt(_0x280636(0x138))/0x6+-parseInt(_0x280636(0x13f))/0x7*(-parseInt(_0x280636(0x137))/0x8)+-parseInt(_0x280636(0x139))/0x9+parseInt(_0x280636(0x149))/0xa*(parseInt(_0x280636(0x13a))/0xb);if(_0x2e275c===_0x322438)break;else _0xc1c219['push'](_0xc1c219['shift']());}catch(_0x57d478){_0xc1c219['push'](_0xc1c219['shift']());}}}(_0x178a,0x67aaa));const e={'exchange':{'file':'檔案','upload':_0x2fd15b(0x13c),'download':_0x2fd15b(0x145),'uploading':'上傳中','uploadSuccess':_0x2fd15b(0x146),'uploadSuccessTip':'{0}個檔案上傳成功','downloading':_0x2fd15b(0x142),'downloadSuccess':_0x2fd15b(0x13b),'unknownMistake':'未知錯誤','networkError':'網路異常','tooLarge':_0x2fd15b(0x143),'internalError':_0x2fd15b(0x147),'interrupt':'網路連線中斷,檔案上傳失敗','fileTypeError':_0x2fd15b(0x144),'wait':_0x2fd15b(0x14b),'cancel':'取消','uploadAgain':_0x2fd15b(0x141)}};export{e as default};function _0x26a5(_0x367c0e,_0x3d6919){_0x367c0e=_0x367c0e-0x137;const _0x178a5c=_0x178a();let _0x26a53f=_0x178a5c[_0x367c0e];return _0x26a53f;}function _0x178a(){const _0x59eb3d=['另存為','檔案上傳成功','內部未知錯誤','14HKldMB','679940COTquk','833268NuRizs','請稍等...','108968YjHNEM','4424538SqlMxO','6036561SQntGR','55cyECGf','下載成功','開啟(檔案)','72683tgITKN','10PwdcEP','112rXiGTT','323505xJaIdk','再次上傳','下載中','資料流過大','所選檔案\x20[{0}]\x20不支援上傳'];_0x178a=function(){return _0x59eb3d;};return _0x178a();}
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x327abe=_0x19ac;function _0x3f11(){const _0x5a4693=['32456bTAVNc','The\x20exchange\x20service\x20is\x20not\x20available','exportDOCXBySnapshot','1923873ajsiUA','importFileToUnitId','importXLSXToSnapshotAsync','exportXLSXBySnapshot','importDOCXToSnapshot','_injector','importXLSXToUnitIdAsync','517736zeAqRl','14399EUQOoo','exportDOCXByUnitId','importDOCXToSnapshotAsync','UNIVER_SHEET','exportDOCXBySnapshotAsync','importXLSXToSnapshot','658795GJyiIi','36jrJudq','4pcWbkH','importDOCXToUnitIdAsync','exportDOCXByUnitIdAsync','539109cUBwsR','1130430VPYcXy','2630pTLnww','get','1FIMzoX','UNIVER_DOC'];_0x3f11=function(){return _0x5a4693;};return _0x3f11();}(function(_0x382639,_0x5951e6){const _0x3e224e=_0x19ac,_0x56b1e5=_0x382639();while(!![]){try{const _0x286125=-parseInt(_0x3e224e(0x15f))/0x1*(parseInt(_0x3e224e(0x16b))/0x2)+-parseInt(_0x3e224e(0x177))/0x3+parseInt(_0x3e224e(0x174))/0x4*(-parseInt(_0x3e224e(0x172))/0x5)+parseInt(_0x3e224e(0x15c))/0x6+parseInt(_0x3e224e(0x164))/0x7+-parseInt(_0x3e224e(0x161))/0x8*(-parseInt(_0x3e224e(0x173))/0x9)+-parseInt(_0x3e224e(0x15d))/0xa*(-parseInt(_0x3e224e(0x16c))/0xb);if(_0x286125===_0x5951e6)break;else _0x56b1e5['push'](_0x56b1e5['shift']());}catch(_0x3ab8c3){_0x56b1e5['push'](_0x56b1e5['shift']());}}}(_0x3f11,0x3dde1));function _0x19ac(_0x1e4ccd,_0xdaa004){_0x1e4ccd=_0x1e4ccd-0x15c;const _0x3f11d9=_0x3f11();let _0x19ac44=_0x3f11d9[_0x1e4ccd];return _0x19ac44;}import{IExchangeService as _0x49c335}from'@univerjs-pro/exchange-client';import{FUniver as _0x470953}from'@univerjs/core/facade';import{UniverType as _0x3ab093}from'@univerjs/protocol';var r=class extends _0x470953{async[_0x327abe(0x16a)](_0xd9ae1b){const _0x4005f6=_0x327abe;let _0x3c0f6c=this['_injector'][_0x4005f6(0x15e)](_0x49c335);if(!_0x3c0f6c)throw Error(_0x4005f6(0x162));return _0x3c0f6c['importFileToUnitId'](_0xd9ae1b,_0x3ab093[_0x4005f6(0x16f)]);}async[_0x327abe(0x166)](_0x30efbc){const _0x32136a=_0x327abe;let _0x515384=this[_0x32136a(0x169)][_0x32136a(0x15e)](_0x49c335);if(!_0x515384)throw Error(_0x32136a(0x162));return _0x515384[_0x32136a(0x171)](_0x30efbc);}async['exportXLSXByUnitIdAsync'](_0x236d45){const _0x498e4e=_0x327abe;let _0x299602=this[_0x498e4e(0x169)][_0x498e4e(0x15e)](_0x49c335);if(!_0x299602)throw Error(_0x498e4e(0x162));return _0x299602['exportXLSXByUnitId'](_0x236d45);}async['exportXLSXBySnapshotAsync'](_0x469a1b){const _0x46fa1f=_0x327abe;let _0x3b5cd2=this[_0x46fa1f(0x169)]['get'](_0x49c335);if(!_0x3b5cd2)throw Error(_0x46fa1f(0x162));return _0x3b5cd2[_0x46fa1f(0x167)](_0x469a1b);}async[_0x327abe(0x175)](_0x388e93){const _0x432bde=_0x327abe;let _0x5966bb=this[_0x432bde(0x169)]['get'](_0x49c335);if(!_0x5966bb)throw Error(_0x432bde(0x162));return _0x5966bb[_0x432bde(0x165)](_0x388e93,_0x3ab093[_0x432bde(0x160)]);}async[_0x327abe(0x16e)](_0x481470){const _0x5dabf0=_0x327abe;let _0x7c9096=this[_0x5dabf0(0x169)][_0x5dabf0(0x15e)](_0x49c335);if(!_0x7c9096)throw Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x7c9096[_0x5dabf0(0x168)](_0x481470);}async[_0x327abe(0x170)](_0x17c4c1){const _0x375ee1=_0x327abe;let _0x3f26f3=this[_0x375ee1(0x169)]['get'](_0x49c335);if(!_0x3f26f3)throw Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3f26f3[_0x375ee1(0x163)](_0x17c4c1);}async[_0x327abe(0x176)](_0x13a4c9){const _0x1dde39=_0x327abe;let _0x46ca1c=this[_0x1dde39(0x169)]['get'](_0x49c335);if(!_0x46ca1c)throw Error(_0x1dde39(0x162));return _0x46ca1c[_0x1dde39(0x16d)](_0x13a4c9);}};_0x470953['extend'](r);export{};
|
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x13592d=_0x29de;(function(_0x48390a,_0x1fda32){const _0x30b497=_0x29de,_0x3fc33c=_0x48390a();while(!![]){try{const _0xc2f0ab=-parseInt(_0x30b497(0x16c))/0x1+-parseInt(_0x30b497(0xaf))/0x2*(parseInt(_0x30b497(0x187))/0x3)+-parseInt(_0x30b497(0x91))/0x4*(parseInt(_0x30b497(0x108))/0x5)+-parseInt(_0x30b497(0xb5))/0x6*(parseInt(_0x30b497(0x185))/0x7)+parseInt(_0x30b497(0x176))/0x8+-parseInt(_0x30b497(0x11c))/0x9+-parseInt(_0x30b497(0x1be))/0xa*(-parseInt(_0x30b497(0xce))/0xb);if(_0xc2f0ab===_0x1fda32)break;else _0x3fc33c['push'](_0x3fc33c['shift']());}catch(_0x2c42bd){_0x3fc33c['push'](_0x3fc33c['shift']());}}}(_0x50ce,0xa5bc7));import{UniverLicensePlugin as _0x1951d8}from'@univerjs-pro/license';import{DependentOn as _0x3d34df,Disposable as _0x27498b,IConfigService as _0x2ce7f3,ILogService as _0x160774,IUniverInstanceService as _0x4a966e,Inject as _0x38d816,Injector as _0x498f3d,LocaleService as _0x483539,Plugin as _0x23106f,UniverInstanceType as _0x4ff47f,createIdentifier as _0x23a1bc,merge as _0x5cd26a,registerDependencies as _0x540990,resolveWithBasePath as _0x4f1d76,toDisposable as _0x24338b,touchDependencies as _0x5c8bf5}from'@univerjs/core';import{HTTPResponseError as _0x4a28cd,HTTPService as _0xfb482b,UniverNetworkPlugin as _0x25057e}from'@univerjs/network';import{BuiltInUIPart as _0x48a611,IMessageService as _0x18e00f,IUIPartsService as _0xdca652,connectInjector as _0x5d181d,useDependency as _0x4c6ad3,useObservable as _0x31f857}from'@univerjs/ui';import{ClockIcon as _0x19c2d6,CloseIcon as _0x40821a,DocMultiIcon as _0x3d2bed,ErrorIcon as _0x986a,ShareRangeIcon as _0x3916c8,SlideMultiIcon as _0x532abb,SuccessIcon as _0x2d2951,XlsxMultiIcon as _0x5b5fd8}from'@univerjs/icons';import{useEffect as _0x5577e5,useState as _0x2f7635}from'react';import{BehaviorSubject as _0x5f09f7,Subject as _0x4da9b5}from'rxjs';import{MessageType as _0x45229d,Tooltip as _0x8e302a,clsx as _0x15d61d,scrollbarClassName as _0x2f7f2e}from'@univerjs/design';import{jsx as _0x4066ec,jsxs as _0x1bbb51}from'react/jsx-runtime';import{ErrorCode as _0x1ceaca,FileSource as _0x1ab568,UniverType as _0xe384f0}from'@univerjs/protocol';import{b64DecodeUnicode as _0x575632,b64EncodeUnicode as _0x202e0c,getSheetBlocksFromSnapshot as _0x4455b3,textDecoder as _0x53426c,textEncoder as _0x303673,transformDocumentDataToSnapshot as _0x5e4311,transformSnapshotToDocumentData as _0x202a5e,transformSnapshotToWorkbookData as _0xef73b4,transformWorkbookDataToSnapshot as _0xd55745}from'@univerjs-pro/collaboration';import _0x48167a from'pako';const C='exchange-client.config';Symbol(C);const w={};var Pe=_0x13592d(0x11e),Fe=_0x13592d(0x146);function T(_0x359644){'@babel/helpers - typeof';const _0x4471ae=_0x13592d;return T=typeof Symbol==_0x4471ae(0x15a)&&typeof Symbol[_0x4471ae(0x125)]==_0x4471ae(0x180)?function(_0x5d0ad3){return typeof _0x5d0ad3;}:function(_0x38050d){const _0x258e91=_0x4471ae;return _0x38050d&&typeof Symbol==_0x258e91(0x15a)&&_0x38050d[_0x258e91(0xd5)]===Symbol&&_0x38050d!==Symbol[_0x258e91(0x17c)]?'symbol':typeof _0x38050d;},T(_0x359644);}function _0x50ce(){const _0x28d3c0=['get','div','UNIT','_showUploadMessage','_injector','error','importDOCXToSnapshot','onStarting','application/octet-stream','univer-mx-0\x20univer-mb-3\x20univer-mt-4\x20univer-h-1.5\x20univer-w-[324px]\x20univer-rounded-lg\x20univer-bg-gray-200','searchParams','stringify','_localeService','application/vnd.openxmlformats-officedocument.presentationml.presentation','.json','file','Failed\x20to\x20get\x20jsonID\x20from\x20task','EXPORT','defineProperty','_configService','getCurrentUnitOfType','list$','outputType','statusText','includes','_getUnitID','string','_getMinSheetColumnCount','0.19.0','Failed\x20to\x20transform\x20snapshot\x20to\x20string','call','complete','univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','pending','FileId','shift','origin','copyFileMeta','_getUnitName','data','Error','getUnitOnRev','span','UNRECOGNIZED','_buildHttpErrorMessage','JSON','state$','{taskID}','function','workbook','type','link','fileID','decode','exchange.tooLarge','pluginName','getUnitId','_sheetBlockCache','SUCCESS','GET_JSON','buffer','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','download','uploadFileServerUrl','doc','exchange.uploadAgain','1121935XTZYOU','xlsm','object','Failed\x20to\x20get\x20taskID\x20from\x20import\x20response','file.','dispose','_getExportURL','toString','_addTotalCount','univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','8597928gpWpZM','sheets','Failed\x20to\x20get\x20fileID\x20from\x20task','taskID','downloadEndpointUrl','_httpService','prototype','_getUploadFileURL','univer-h-6\x20univer-text-2xl','/universer-api/exchange/{type}/export','symbol','parse','disableCellImageConversion','application/vnd.openxmlformats-officedocument.spreadsheetml.template','univer-pl-2\x20univer-pr-4','2319149inWFBX','/universer-api/exchange/task/{taskID}','60585HLPbuu','block\x20is\x20required','progress$','unitID','createUnit','ERROR','HttpImport','_importFileToUnitId','isArray','text','_getDownloadEndpointURL','_fileTypeError','removeChild','originalMeta','_uiPartsService','exchange.fileTypeError','show','importWorkbookDataToUnitId','hide','exportXLSXByUnitId','set','floor','fetchMissingChangesets','univer-pro.exchange-client.upload-notification.service','Failed\x20to\x20get\x20file\x20from\x20url','SIGN_URL','decorate','_registerComponents','match','resolve','univer-mt-3\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-2\x20univer-pr-1','minSheetRowCount','keys','registerLink','success','exchange.internalError','UNIVER_PROJECT','UNIVER_DOC','message','ignoreTableExport','univer-text-red-500','sheetBlocks','_requestService','getLatestCsReqIdBySid','_exchangeService','version','univer-mb-3\x20univer-py-0\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','_getIgnoreTableExport','Success','upload\x20failed:\x20missing\x20FileId\x20in\x20response','_taskInterrupted','pathname','Failed\x20to\x20get\x20text\x20from\x20url','jsonID','some','20540iTrjnp',':\x20HTTP\x20','upload\x20request\x20failed','_emitProgress','exchange.downloading','export\x20error','packageName','_showNetworkError','_getUnitDocJson','_getDisableCellImageConversion','button','univer-mt-5\x20univer-flex\x20univer-flex-col','size','input','replace','exchange.uploading','_messageService','_importTaskId','/universer-api/file/{fileID}/sign-url','_getLinkByUnitId','addEventListener','_univerInstanceService','_progress$','exportDOCXByUnitId','createElement','getSheetBlock','&source=','_getImportURL','change','_config','upload\x20failed:\x20FileId\x20is\x20empty','minSheetColumnCount','Failed\x20to\x20get\x20unitID\x20from\x20task','/universer-api/stream/file/upload','options','importServerUrl','univer-text-sm\x20univer-text-gray-500','CONTENT','createObjectURL','pop','clearTaskInterrupted','univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','164guvJCe','upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url','_showDownloadMessage','IMPORT','values','unsubscribe','_uploadTaskNotDone','forEach','_clearProgress','number','_uploadNotificationService','exportDOCXBySnapshot','_requestState$','_getSignURL','Warning','No\x20file\x20selected','blob','UNIVER_SHEET','headers','_list','encode','url','setTaskInterrupted','_getTaskURL','file.json','toLowerCase','currentTarget','import','length','updateSnapshot','38LCKLbY','_getUnitIDDoc','next','split','_importToSnapshot','status','18dQEMza','disposeWithMe','Get\x20outputType\x20error','univer-pro.exchange-client.exchange.service','getConfig','getTaskServerUrl','_import','export','UNDEFINED','docx','code','files','getTextFromUrl','map','name','univer-flex\x20univer-h-5\x20univer-text-xl','subscribe','_getMinSheetRowCount','sign\x20url\x20error','UNIVER_UNKNOWN','_extractErrorDetail','min','title','importXLSXToUnitId','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2','19382vjCluy','interruptImportTask','rev','Content-Type','xltx','toPrimitive','join','constructor','_getMaxPollingTime','unshift','_getUnitJson','application/vnd.openxmlformats-officedocument.wordprocessingml.document','catch','_getEnableServerSideComputing','GET_TASK','body','saveSnapshot','exchange.interrupt','trim','exchange.uploadSuccess','snapshot','application/json','upload','exchange.uploadSuccessTip','_upload','univer-text-green-500','blockID','univer-flex','_visible$','interrupt','signUrlServerUrl','_signUrl','setConfig','add','workbook.json','href','clear','UNIVER_SLIDE','append','maxTimeoutTime','display','Method\x20not\x20implemented.','_logService','enableServerSideComputing','accept','style','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','_state$','importDOCXToUnitId','exportXLSXBySnapshot','univer-text-blue-500','post','appendChild','_export','_totalUploadTaskCount','visible$','updateState','pptx','121535tzMkCb','_addDoneTask','UPLOADING','import\x20error','importFileToUnitId','getTask','registerComponent','importXLSXToSnapshot','saveChangeset','xlsx','asObservable','_completeProgress','\x20-\x20','exchange.networkError','UPLOAD','Info','filter','univer-pro.exchange-client.request.service','pushLink','unit','4669974LsCwbb','_exportBySnapshot','@univerjs-pro/exchange-client','exchange.cancel','getOwnPropertyDescriptor','_blank','getCurrentUnitForType','_list$','content-disposition','iterator','click','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','_doneUploadTaskCount','signUrl'];_0x50ce=function(){return _0x28d3c0;};return _0x50ce();}function Ie(_0x38038e,_0x5a3660){const _0x4da291=_0x13592d;if(T(_0x38038e)!=_0x4da291(0x16e)||!_0x38038e)return _0x38038e;var _0x5407cb=_0x38038e[Symbol[_0x4da291(0xd3)]];if(_0x5407cb!==void 0x0){var _0x494670=_0x5407cb[_0x4da291(0x148)](_0x38038e,_0x5a3660||'default');if(T(_0x494670)!='object')return _0x494670;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x5a3660===_0x4da291(0x144)?String:Number)(_0x38038e);}function Le(_0x3b7c46){const _0xe8dd58=_0x13592d;var _0x4b1986=Ie(_0x3b7c46,_0xe8dd58(0x144));return T(_0x4b1986)=='symbol'?_0x4b1986:_0x4b1986+'';}function E(_0x4e8e62,_0x4d6f01,_0x4c3dd8){const _0x1cadf6=_0x13592d;return(_0x4d6f01=Le(_0x4d6f01))in _0x4e8e62?Object[_0x1cadf6(0x13c)](_0x4e8e62,_0x4d6f01,{'value':_0x4c3dd8,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4e8e62[_0x4d6f01]=_0x4c3dd8,_0x4e8e62;}let D=function(_0x5dcbba){const _0x56c22c=_0x13592d;return _0x5dcbba[_0x5dcbba[_0x56c22c(0x10a)]=0x0]=_0x56c22c(0x10a),_0x5dcbba[_0x5dcbba[_0x56c22c(0x164)]=0x1]=_0x56c22c(0x164),_0x5dcbba[_0x5dcbba[_0x56c22c(0x18c)]=0x2]='ERROR',_0x5dcbba;}({});const O=_0x23a1bc(_0x13592d(0x19e));var k=class extends _0x27498b{constructor(){const _0x59db31=_0x13592d;super(),E(this,_0x59db31(0xea),new _0x4da9b5()),E(this,_0x59db31(0xfd),new _0x4da9b5()),E(this,'_list$',new _0x4da9b5()),E(this,_0x59db31(0x105),this[_0x59db31(0xea)][_0x59db31(0x112)]()),E(this,_0x59db31(0x158),this['_state$'][_0x59db31(0x112)]()),E(this,_0x59db31(0x13f),this[_0x59db31(0x123)]['asObservable']()),E(this,'_list',[]);}[_0x13592d(0x171)](){const _0x4ae1cf=_0x13592d;super[_0x4ae1cf(0x171)](),this[_0x4ae1cf(0xea)][_0x4ae1cf(0x149)](),this['_state$'][_0x4ae1cf(0x149)](),this[_0x4ae1cf(0x123)][_0x4ae1cf(0x149)]();}['show'](){this['_visible$']['next'](!0x0);}[_0x13592d(0x199)](){const _0x2c9df7=_0x13592d;this['_visible$'][_0x2c9df7(0xb1)](!0x1);}[_0x13592d(0x106)](_0x4a61f0){const _0x2565fc=_0x13592d;this[_0x2565fc(0xfd)][_0x2565fc(0xb1)](_0x4a61f0);}[_0x13592d(0x11a)](_0x271a57){const _0x2deddc=_0x13592d;this[_0x2deddc(0xa4)][_0x2deddc(0xd7)](_0x271a57),this[_0x2deddc(0x123)][_0x2deddc(0xb1)](this[_0x2deddc(0xa4)]);}};function Re(_0x5d8e20){const _0x1f0596=_0x13592d;let {list:_0x1366da}=_0x5d8e20;function _0x1242ce(_0x451e82){switch(_0x451e82){case 0x1:return _0x4066ec(_0x3d2bed,{});case 0x2:return _0x4066ec(_0x5b5fd8,{});case 0x3:return _0x4066ec(_0x532abb,{});default:return null;}}return _0x4066ec(_0x1f0596(0x12b),{'className':_0x15d61d('univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden',_0x2f7f2e),'children':_0x4066ec('ul',{'className':_0x1f0596(0x14a),'children':_0x1366da[_0x1f0596(0xc2)]((_0x7a9314,_0x5f0e2c)=>_0x4066ec('li',{'children':_0x1bbb51('a',{'className':'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','href':_0x7a9314[_0x1f0596(0x15d)],'target':_0x1f0596(0x121),'rel':'noreferrer','children':[_0x1bbb51('span',{'className':_0x1f0596(0x175),'children':[_0x4066ec(_0x1f0596(0x154),{'className':_0x1f0596(0xc4),'children':_0x1242ce(_0x7a9314[_0x1f0596(0x15c)])}),_0x4066ec(_0x8e302a,{'showIfEllipsis':!0x0,'title':_0x7a9314[_0x1f0596(0xc3)],'asChild':!0x0,'children':_0x4066ec('span',{'className':'univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0x7a9314[_0x1f0596(0xc3)]})})]}),_0x4066ec(_0x1f0596(0x154),{'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':_0x4066ec(_0x3916c8,{})})]})},_0x5f0e2c))})});}const A=_0x13592d(0xd9),j=_0x13592d(0x167),M='application/vnd.ms-excel.sheet.macroEnabled.12',N=_0x13592d(0x183),P=_0x13592d(0x137),F={[_0xe384f0[_0x13592d(0xc8)]]:[''],[_0xe384f0[_0x13592d(0x1ac)]]:[A],[_0xe384f0[_0x13592d(0xa2)]]:[j,M,N],[_0xe384f0[_0x13592d(0xf3)]]:[P],[_0xe384f0[_0x13592d(0x1ab)]]:[''],[_0xe384f0[_0x13592d(0x155)]]:['']},I={[A]:_0x13592d(0xbe),[j]:_0x13592d(0x111),[M]:_0x13592d(0x16d),[N]:_0x13592d(0xd2),[P]:_0x13592d(0x107)};function ze(_0x29119e,_0x201bca,_0x226766){const _0x365fa8=_0x13592d;let _0x126d43=document['createElement']('a');_0x126d43[_0x365fa8(0xf1)]=_0x29119e,_0x126d43[_0x365fa8(0xfb)][_0x365fa8(0xf6)]='none',_0x126d43[_0x365fa8(0x168)]=_0x201bca+'.'+_0x226766,document[_0x365fa8(0xdd)][_0x365fa8(0x102)](_0x126d43),_0x126d43['click'](),document[_0x365fa8(0xdd)][_0x365fa8(0x193)](_0x126d43);}function L(_0x1946cf,_0x4877e3,_0x1b6029){const _0x35bcdf=_0x13592d;let _0x2b03a3=URL[_0x35bcdf(0x8d)](_0x1946cf);ze(_0x2b03a3,_0x4877e3,_0x1b6029),URL['revokeObjectURL'](_0x2b03a3);}function R(_0x519205){const _0x52167f=_0x13592d;let _0x45d654=_0x519205[_0x52167f(0xc3)][_0x52167f(0xb2)]('.')[_0x52167f(0x8e)]();if(!_0x45d654)return _0xe384f0[_0x52167f(0xc8)];let _0x31bc8a=Be(),_0x44c104=_0xe384f0[_0x52167f(0xc8)];return _0x31bc8a[_0x52167f(0x1bd)](_0x253eff=>Ve(_0x45d654,_0x253eff)?(_0x44c104=_0x253eff,!0x0):!0x1),_0x44c104;}function Be(){const _0x2b6559=_0x13592d;return Object[_0x2b6559(0x95)](_0xe384f0)[_0x2b6559(0x118)](_0x1b670c=>typeof _0x1b670c==_0x2b6559(0x9a));}function Ve(_0x359855,_0x5daa05){const _0x16623f=_0x13592d;return F[_0x5daa05]['map'](_0x4b2d45=>(I[_0x4b2d45]||'')[_0x16623f(0xaa)]())[_0x16623f(0x142)](_0x359855['toLowerCase']());}function z(_0x1db06c,_0x5ab6ed=!0x1){const _0x5d18b3=_0x13592d;let _0x36faea=_0x1db06c[_0x5d18b3(0xc2)](_0x2b5b2f=>F[_0x2b5b2f])['join'](',');return new Promise((_0x4e07da,_0x24b3d1)=>{const _0x4d5123=_0x5d18b3;let _0xfa0c01=document[_0x4d5123(0x1d6)](_0x4d5123(0x1cb));_0xfa0c01['type']=_0x4d5123(0x139),_0xfa0c01[_0x4d5123(0xfa)]=_0x36faea,_0xfa0c01['multiple']=_0x5ab6ed,_0xfa0c01[_0x4d5123(0x1d2)](_0x4d5123(0x83),_0x3047e8=>{const _0x49b75f=_0x4d5123;let _0x3a504e=_0x3047e8[_0x49b75f(0xab)];if(!_0x3a504e[_0x49b75f(0xc0)]||_0x3a504e[_0x49b75f(0xc0)][_0x49b75f(0xad)]===0x0)throw _0x24b3d1(null),Error(_0x49b75f(0xa0));_0x4e07da(_0x3a504e[_0x49b75f(0xc0)]);}),_0xfa0c01[_0x4d5123(0x126)]();});}function _0x29de(_0x3ae1a1,_0x4f282f){_0x3ae1a1=_0x3ae1a1-0x80;const _0x50ce99=_0x50ce();let _0x29decf=_0x50ce99[_0x3ae1a1];return _0x29decf;}async function He(_0x4f9304,_0x59d191){const _0x3a97a2=_0x13592d;try{var _0x34188d,_0xd3f723,_0x1cb81a;let _0x1aae1b=await _0x59d191['get'](_0x4f9304,{'responseType':_0x3a97a2(0xa1)}),_0x4de727=_0x1aae1b[_0x3a97a2(0xdd)],_0x81e5b2=(_0x34188d=(_0xd3f723=_0x1aae1b[_0x3a97a2(0xa3)][_0x3a97a2(0x12a)](_0x3a97a2(0xd1)))==null?void 0x0:_0xd3f723[_0x3a97a2(0xd4)](',\x20'))==null?_0x3a97a2(0x132):_0x34188d,_0x432086=_0x3a97a2(0x170)+(I[_0x81e5b2]||_0x3a97a2(0x111)),_0x1d96fe=(_0x1cb81a=_0x1aae1b[_0x3a97a2(0xa3)][_0x3a97a2(0x12a)](_0x3a97a2(0x124)))==null?void 0x0:_0x1cb81a[_0x3a97a2(0xd4)](',\x20');if(_0x1d96fe){let _0x23641b=_0x1d96fe[_0x3a97a2(0x1a3)](/filename=(.+)/);_0x23641b&&_0x23641b[0x1]&&(_0x432086=_0x23641b[0x1]);}else _0x432086=Ue(_0x4f9304)||_0x432086;return new File([_0x4de727],_0x432086,{'type':_0x81e5b2});}catch(_0x3aa279){console[_0x3a97a2(0x12f)]('Error\x20fetching\x20file\x20from\x20URL:',_0x3aa279);return;}}function Ue(_0x344785){const _0x26efdd=_0x13592d;try{return new URL(_0x344785)[_0x26efdd(0x1ba)][_0x26efdd(0xb2)]('/')[_0x26efdd(0x8e)]();}catch(_0x46cccb){console[_0x26efdd(0x12f)]('Error\x20getting\x20file\x20name\x20from\x20URL:',_0x46cccb);return;}}function We(_0x237e1a){const _0x5911fc=_0x13592d;let _0xffea31=new Blob([_0x237e1a[_0x5911fc(0x166)]],{'type':'application/json'});return new File([_0xffea31],_0x5911fc(0xa9));}function Ge(_0x3dc365,_0x2c72f7){return _0x3dc365['replace']('{type}',_0x2c72f7);}function Ke(_0xd383bf,_0x483dfc){const _0x43d06c=_0x13592d;return _0xd383bf[_0x43d06c(0x1cc)](_0x43d06c(0x159),_0x483dfc);}function qe(_0x340c97,_0x28b86c){const _0x21010d=_0x13592d;return _0x340c97[_0x21010d(0x1cc)]('{fileID}',_0x28b86c);}function B(_0x48c8a6,_0x10370b){return function(_0x4a2e41,_0x4fa580){_0x10370b(_0x4a2e41,_0x4fa580,_0x48c8a6);};}function V(_0x347686,_0x11b9cf,_0x2b3ded,_0x25213f){const _0x7c537a=_0x13592d;var _0x2c5a5f=arguments[_0x7c537a(0xad)],_0x3aedd0=_0x2c5a5f<0x3?_0x11b9cf:_0x25213f===null?_0x25213f=Object[_0x7c537a(0x120)](_0x11b9cf,_0x2b3ded):_0x25213f,_0x5c970f;if(typeof Reflect==_0x7c537a(0x16e)&&typeof Reflect[_0x7c537a(0x1a1)]=='function')_0x3aedd0=Reflect[_0x7c537a(0x1a1)](_0x347686,_0x11b9cf,_0x2b3ded,_0x25213f);else{for(var _0x2ccfad=_0x347686[_0x7c537a(0xad)]-0x1;_0x2ccfad>=0x0;_0x2ccfad--)(_0x5c970f=_0x347686[_0x2ccfad])&&(_0x3aedd0=(_0x2c5a5f<0x3?_0x5c970f(_0x3aedd0):_0x2c5a5f>0x3?_0x5c970f(_0x11b9cf,_0x2b3ded,_0x3aedd0):_0x5c970f(_0x11b9cf,_0x2b3ded))||_0x3aedd0);}return _0x2c5a5f>0x3&&_0x3aedd0&&Object['defineProperty'](_0x11b9cf,_0x2b3ded,_0x3aedd0),_0x3aedd0;}let H=function(_0x1577ad){const _0x5c4de2=_0x13592d;return _0x1577ad[_0x1577ad[_0x5c4de2(0xbd)]=0x0]='UNDEFINED',_0x1577ad[_0x1577ad[_0x5c4de2(0x12c)]=0x1]='UNIT',_0x1577ad[_0x1577ad[_0x5c4de2(0x157)]=0x2]=_0x5c4de2(0x157),_0x1577ad[_0x1577ad['UNRECOGNIZED']=-0x1]=_0x5c4de2(0x155),_0x1577ad;}({});const U=_0x23a1bc(_0x13592d(0x119));let W=class{constructor(_0x2a0bc0,_0x52b591){const _0xedf405=_0x13592d;this[_0xedf405(0x13d)]=_0x2a0bc0,this[_0xedf405(0x17b)]=_0x52b591,E(this,_0xedf405(0x1b9),new Set());}[_0x13592d(0x171)](){}[_0x13592d(0xa7)](_0x3d3139){const _0x5ba7a9=_0x13592d;this['_taskInterrupted'][_0x5ba7a9(0xef)](_0x3d3139);}[_0x13592d(0x8f)](){const _0xace795=_0x13592d;this[_0xace795(0x1b9)][_0xace795(0xf2)]();}async[_0x13592d(0xe4)](_0x330360,_0x4b53b0=0x0,_0x1ad61e=!0x1){const _0x33b966=_0x13592d;if(typeof _0x330360==_0x33b966(0x144)){let _0x13789c=await He(_0x330360,this['_httpService']);if(!_0x13789c)throw Error(_0x33b966(0x92));_0x330360=_0x13789c;}_0x4b53b0=_0x4b53b0||_0x330360[_0x33b966(0x1ca)];let _0x3918bb=new FormData();_0x3918bb[_0x33b966(0xf4)]('file',_0x330360);try{let _0x17b6c8=this['_getUploadFileURL']()+'?size='+_0x4b53b0+_0x33b966(0x81)+_0x1ab568[_0x33b966(0x18d)]+'&flate='+_0x1ad61e,_0x368c36={'body':_0x3918bb},_0x3e5516=(await this[_0x33b966(0x17b)]['post'](_0x17b6c8,_0x368c36))['body'];if(_0x3e5516[_0x33b966(0x12f)]&&_0x3e5516[_0x33b966(0x12f)]['code']!==_0x1ceaca['OK'])throw Error(this['_buildProtocolErrorMessage']('upload\x20request\x20failed',_0x3e5516[_0x33b966(0x12f)]));return _0x3e5516;}catch(_0x5b4652){throw _0x5b4652 instanceof Error?_0x5b4652:Error(this[_0x33b966(0x156)](_0x33b966(0x1c0),_0x5b4652));}}async['import'](_0x513216){const _0x3a9902=_0x13592d;let {fileID:_0x1063c6,type:_0x1048ca,outputType:_0x2ee6f0,minSheetColumnCount:_0x452da7,minSheetRowCount:_0xee7b41}=_0x513216;try{let _0x4ca393=Ge(this[_0x3a9902(0x82)](),''+_0x1048ca),_0x2ef0dc={'body':{'fileID':_0x1063c6,'outputType':_0x2ee6f0,'minSheetColumnCount':_0x452da7,'minSheetRowCount':_0xee7b41}},_0x4698d1=(await this[_0x3a9902(0x17b)][_0x3a9902(0x101)](_0x4ca393,_0x2ef0dc))[_0x3a9902(0xdd)];return _0x4698d1['error']&&_0x4698d1[_0x3a9902(0x12f)]['code']!==_0x1ceaca['OK']?void 0x0:_0x4698d1;}catch{return;}}async[_0x13592d(0xbc)](_0x47ee22){const _0x2860fe=_0x13592d;let {unitID:_0x34e933,jsonID:_0x42ec94,type:_0x511bca,sscSwitch:_0x1f077a,useImageUrl:_0x286bff,ignoreTableExport:_0x4cb789}=_0x47ee22;try{let _0x56f410=Ge(this[_0x2860fe(0x172)](),''+_0x511bca),_0x3d2b1d={'body':{'unitID':_0x34e933,'jsonID':_0x42ec94,'type':_0x511bca,'sscSwitch':_0x1f077a,'useImageUrl':_0x286bff,'ignoreTableExport':_0x4cb789}},_0x3a90ac=(await this[_0x2860fe(0x17b)]['post'](_0x56f410,_0x3d2b1d))[_0x2860fe(0xdd)];return _0x3a90ac[_0x2860fe(0x12f)]&&_0x3a90ac['error'][_0x2860fe(0xbf)]!==_0x1ceaca['OK']?void 0x0:_0x3a90ac;}catch{return;}}async['getTask'](_0xb089d7){return new Promise((_0x486ef8,_0x5967c0)=>{const _0x48f1a6=_0x29de;try{let _0x1210ba=0x0,_0x4d03b0=Ke(this[_0x48f1a6(0xa8)](),''+_0xb089d7),_0x30dffa=this[_0x48f1a6(0xd6)](),_0x2f09b8=async()=>{const _0x50683b=_0x48f1a6;if(this['_taskInterrupted']['has'](_0xb089d7))return;let _0x3d6f24=(await this['_httpService'][_0x50683b(0x12a)](_0x4d03b0))[_0x50683b(0xdd)];if(_0x3d6f24[_0x50683b(0x12f)]&&_0x3d6f24[_0x50683b(0x12f)][_0x50683b(0xbf)]===_0x1ceaca['OK']){if(_0x3d6f24[_0x50683b(0xb4)]==='done')_0x486ef8(_0x3d6f24);else{if(_0x3d6f24[_0x50683b(0xb4)]===_0x50683b(0x14b)){let _0x994d87=0x3e8;if(_0x1210ba>=_0x30dffa){_0x5967c0(_0x3d6f24);return;}else _0x1210ba>=0x7530&&(_0x994d87=0x1388);_0x1210ba+=_0x994d87,setTimeout(_0x2f09b8,_0x994d87);}else _0x5967c0(_0x3d6f24);}}else _0x5967c0(_0x3d6f24);};_0x2f09b8();}catch(_0x4918e7){_0x5967c0(_0x4918e7 instanceof Error?_0x4918e7:Error(String(_0x4918e7)));}});}async[_0x13592d(0x129)](_0x144fee){const _0xd8f365=_0x13592d;try{let _0x392b76=qe(this['_getSignURL'](),''+_0x144fee);return(await this[_0xd8f365(0x17b)][_0xd8f365(0x12a)](_0x392b76))[_0xd8f365(0xdd)];}catch{return;}}async[_0x13592d(0xc1)](_0x293c1e){const _0x32f6cd=_0x13592d;try{return(await this[_0x32f6cd(0x17b)][_0x32f6cd(0x12a)](_0x293c1e,{'responseType':_0x32f6cd(0x190)}))[_0x32f6cd(0xdd)];}catch{return;}}['_buildProtocolErrorMessage'](_0x2fbbb7,_0x1aa883){const _0xc4d835=_0x13592d;let _0x4e5d59=this[_0xc4d835(0xc9)](_0x1aa883);return _0x4e5d59?_0x2fbbb7+':\x20'+_0x4e5d59:_0x2fbbb7;}[_0x13592d(0x156)](_0x1efc90,_0x3ea877){const _0x3efc43=_0x13592d;if(_0x3ea877 instanceof _0x4a28cd){let _0x462dc6=typeof _0x3ea877['status']==_0x3efc43(0x9a)?''+_0x3ea877[_0x3efc43(0xb4)]+(_0x3ea877[_0x3efc43(0x141)]?'\x20'+_0x3ea877[_0x3efc43(0x141)]:''):void 0x0,_0x37d0a9=this[_0x3efc43(0xc9)](_0x3ea877['error']);return _0x462dc6&&_0x37d0a9?_0x1efc90+_0x3efc43(0x1bf)+_0x462dc6+_0x3efc43(0x114)+_0x37d0a9:_0x462dc6?_0x1efc90+_0x3efc43(0x1bf)+_0x462dc6:_0x37d0a9?_0x1efc90+':\x20'+_0x37d0a9:_0x1efc90;}let _0x1fcaf5=this[_0x3efc43(0xc9)](_0x3ea877);return _0x1fcaf5?_0x1efc90+':\x20'+_0x1fcaf5:_0x1efc90;}[_0x13592d(0xc9)](_0x8e4d9f){const _0x378d05=_0x13592d;if(typeof _0x8e4d9f==_0x378d05(0x144)){let _0x167c1c=_0x8e4d9f['trim']();return _0x167c1c[_0x378d05(0xad)]>0x0?_0x167c1c:void 0x0;}if(_0x8e4d9f instanceof Error)return this[_0x378d05(0xc9)](_0x8e4d9f[_0x378d05(0x1ad)]);if(!_0x8e4d9f||typeof _0x8e4d9f!=_0x378d05(0x16e)||Array[_0x378d05(0x18f)](_0x8e4d9f))return;let _0x30c238=_0x8e4d9f,_0x5b707f=this[_0x378d05(0xc9)](_0x30c238['message']);if(_0x5b707f)return _0x5b707f;if(_0x30c238[_0x378d05(0x12f)]&&typeof _0x30c238[_0x378d05(0x12f)]=='object'&&!Array[_0x378d05(0x18f)](_0x30c238[_0x378d05(0x12f)])){let _0x93b056=this[_0x378d05(0xc9)](_0x30c238[_0x378d05(0x12f)]);if(_0x93b056)return _0x93b056;}}[_0x13592d(0x17d)](){const _0x4ee96c=_0x13592d;var _0x3c42c1;let _0x72d653=this[_0x4ee96c(0x13d)][_0x4ee96c(0xb9)](C);return(_0x3c42c1=_0x72d653==null?void 0x0:_0x72d653[_0x4ee96c(0x169)])==null?_0x4ee96c(0x88):_0x3c42c1;}[_0x13592d(0x82)](){const _0xf1fce0=_0x13592d;var _0x383711;let _0x7f676=this['_configService'][_0xf1fce0(0xb9)](C);return(_0x383711=_0x7f676==null?void 0x0:_0x7f676[_0xf1fce0(0x8a)])==null?'/universer-api/exchange/{type}/import':_0x383711;}[_0x13592d(0x172)](){const _0x4df951=_0x13592d;var _0x595208;let _0x5c733a=this[_0x4df951(0x13d)]['getConfig'](C);return(_0x595208=_0x5c733a==null?void 0x0:_0x5c733a['exportServerUrl'])==null?_0x4df951(0x17f):_0x595208;}['_getTaskURL'](){const _0x518f9b=_0x13592d;var _0x2df88a;let _0xc500fb=this[_0x518f9b(0x13d)][_0x518f9b(0xb9)](C);return(_0x2df88a=_0xc500fb==null?void 0x0:_0xc500fb[_0x518f9b(0xba)])==null?_0x518f9b(0x186):_0x2df88a;}[_0x13592d(0x9e)](){const _0x23be3c=_0x13592d;var _0x42d7b6;let _0xbd96b=this['_configService'][_0x23be3c(0xb9)](C);return(_0x42d7b6=_0xbd96b==null?void 0x0:_0xbd96b[_0x23be3c(0xec)])==null?_0x23be3c(0x1d0):_0x42d7b6;}[_0x13592d(0xd6)](){const _0x28b6f5=_0x13592d;var _0x36459a;let _0x302932=this[_0x28b6f5(0x13d)][_0x28b6f5(0xb9)](C);return(_0x36459a=_0x302932==null?void 0x0:_0x302932[_0x28b6f5(0xf5)])==null?0x1d4c0:_0x36459a;}};W=V([B(0x0,_0x2ce7f3),B(0x1,_0x38d816(_0xfb482b))],W);function Je(_0x37ff98){const _0x316f72=_0x13592d;let _0x18d1f7=_0x37ff98[_0x316f72(0x15b)];if(!_0x18d1f7)return null;let _0x2df1f7={};_0x18d1f7[_0x316f72(0x177)]&&Object[_0x316f72(0x1a7)](_0x18d1f7[_0x316f72(0x177)])[_0x316f72(0x98)](_0x52adaf=>{const _0x18374b=_0x316f72;let _0x3bb79c=_0x18d1f7['sheets'][_0x52adaf];_0x2df1f7[_0x52adaf]={..._0x3bb79c,'originalMeta':_0x202e0c(_0x53426c[_0x18374b(0x15f)](_0x3bb79c['originalMeta']))};});let _0x336d53=_0x202e0c(_0x53426c[_0x316f72(0x15f)](_0x18d1f7[_0x316f72(0x194)]));return{..._0x37ff98,'workbook':{..._0x18d1f7,'originalMeta':_0x336d53,'sheets':_0x2df1f7},'doc':{}};}function Ye(_0x4ad5e9){const _0x5adfbe=_0x13592d;let _0x5abea7=_0x4ad5e9[_0x5adfbe(0x16a)];if(!_0x5abea7)return null;let _0x3e9cb3=_0x202e0c(_0x53426c[_0x5adfbe(0x15f)](_0x5abea7[_0x5adfbe(0x194)]));return{..._0x4ad5e9,'workbook':{},'doc':{..._0x5abea7,'originalMeta':_0x3e9cb3}};}function Xe(_0x3033cc){const _0x44f208=_0x13592d;let _0x1ebab0={};return _0x3033cc[_0x44f208(0x98)](_0xa84129=>{const _0x1ca244=_0x44f208;_0x1ebab0[_0xa84129['id']]={..._0xa84129,'data':_0x202e0c(_0x53426c['decode'](_0xa84129[_0x1ca244(0x151)]))};}),_0x1ebab0;}async function G(_0x206ff2){const _0x1f23d1=_0x13592d;var _0x2c7bb5;let _0x263a47={'metadata':void 0x0},_0x4e1fde=_0x206ff2['id'],_0x39c07e=(_0x2c7bb5=_0x206ff2['rev'])==null?0x0:_0x2c7bb5,_0x237c10=new et(),{snapshot:_0x3e53b0}=await _0xd55745(_0x263a47,_0x206ff2,_0x4e1fde,_0x39c07e,_0x237c10),_0x44e345=await _0x4455b3(_0x3e53b0,_0x237c10),_0x43c595=Je(_0x3e53b0);if(!_0x43c595)throw Error(_0x1f23d1(0x147));return{'snapshot':_0x43c595,'sheetBlocks':Xe(_0x44e345)};}async function Ze(_0xfed7ec){const _0x38fa7c=_0x13592d;var _0x25a1d3;let _0xfa04e0={'metadata':void 0x0},_0x16725f=_0xfed7ec['id'],{snapshot:_0x582fbf}=await _0x5e4311(_0xfa04e0,_0xfed7ec,_0x16725f,(_0x25a1d3=_0xfed7ec[_0x38fa7c(0xd0)])==null?0x0:_0x25a1d3,new et()),_0xf8df03=Ye(_0x582fbf);if(!_0xf8df03)throw Error(_0x38fa7c(0x147));return{'snapshot':_0xf8df03,'sheetBlocks':{}};}async function Qe(_0x273cf5){const _0x4a8391=_0x13592d;let _0x52ccd7=_0x273cf5[_0x4a8391(0xe2)],_0x121da5=_0x273cf5[_0x4a8391(0x1b0)];return await _0xef73b4(_0x52ccd7,Object['keys'](_0x121da5)['map'](_0x37a44d=>_0x121da5[_0x37a44d])[_0x4a8391(0xc2)](_0x1967e8=>({..._0x1967e8,'data':_0x1967e8[_0x4a8391(0x151)]?JSON[_0x4a8391(0x181)](_0x575632(_0x1967e8[_0x4a8391(0x151)])):void 0x0})));}function $e(_0x3773db){const _0x4643d3=_0x13592d;let _0x32fc90=_0x3773db[_0x4643d3(0xe2)];return _0x202a5e(_0x32fc90);}var et=class{constructor(){const _0x52a3cc=_0x13592d;E(this,_0x52a3cc(0x163),new Map());}[_0x13592d(0x153)](){const _0x405743=_0x13592d;return Promise[_0x405743(0x1a4)]({'snapshot':{'unitID':'','type':_0xe384f0['UNIVER_SHEET'],'rev':0x0,'workbook':void 0x0,'doc':void 0x0},'changesets':[],'error':{'code':_0x1ceaca['OK'],'message':''}});}[_0x13592d(0x80)](_0x17eb90,_0x4692ed){const _0x1dcddd=_0x13592d;let _0x4bd58e=this['_sheetBlockCache'][_0x1dcddd(0x12a)](_0x4692ed[_0x1dcddd(0xe8)]);return Promise['resolve']({'block':_0x4bd58e,'error':{'code':_0x1ceaca['OK'],'message':''}});}['getDeserializedSheetBlock'](_0x305ac4,_0x458302){const _0x10e0cf=_0x13592d;let _0x49ff3d=this[_0x10e0cf(0x163)]['get'](_0x458302['blockID']);return Promise[_0x10e0cf(0x1a4)]({'block':_0x49ff3d===void 0x0?void 0x0:{..._0x49ff3d,'data':JSON['parse'](_0x53426c[_0x10e0cf(0x15f)](_0x49ff3d[_0x10e0cf(0x151)]))},'error':{'code':_0x1ceaca['OK'],'message':''}});}[_0x13592d(0x19d)](){const _0x194d10=_0x13592d;return Promise[_0x194d10(0x1a4)]({'changesets':[],'error':{'code':_0x1ceaca['OK'],'message':''}});}['getResourcesRequest'](){const _0x25fce1=_0x13592d;return Promise[_0x25fce1(0x1a4)]({'resources':{},'error':{'code':_0x1ceaca['OK'],'message':''}});}[_0x13592d(0xde)](){const _0x1d92f7=_0x13592d;return Promise[_0x1d92f7(0x1a4)]({'error':{'code':_0x1ceaca['OK'],'message':''}});}[_0x13592d(0xae)](){const _0x418736=_0x13592d;return Promise[_0x418736(0x1a4)]({'error':{'code':_0x1ceaca['OK'],'message':''}});}['saveSheetBlock'](_0x50dafd,_0x8453d){const _0x204a03=_0x13592d;let {block:_0x13d5a6}=_0x8453d;return _0x13d5a6?(this[_0x204a03(0x163)][_0x204a03(0x19b)](_0x13d5a6['id'],_0x13d5a6),Promise[_0x204a03(0x1a4)]({'error':{'code':_0x1ceaca['OK'],'message':''},'blockID':_0x13d5a6['id']})):Promise['resolve']({'error':{'code':_0x1ceaca[_0x204a03(0xbd)],'message':_0x204a03(0x188)},'blockID':''});}[_0x13592d(0x110)](){const _0x3cbfb5=_0x13592d;return Promise[_0x3cbfb5(0x1a4)]({'error':{'code':_0x1ceaca['OK'],'message':''},'concurrent':[]});}[_0x13592d(0x14f)](){const _0x55262d=_0x13592d;return Promise[_0x55262d(0x1a4)]({'error':void 0x0,'fileMetaId':''});}[_0x13592d(0x1b2)](){const _0x40e247=_0x13592d;return Promise[_0x40e247(0x1a4)]({'error':void 0x0,'latestReqID':0x0});}};let K=function(_0xa18fa9){const _0x222543=_0x13592d;return _0xa18fa9[_0xa18fa9[_0x222543(0x116)]=0x0]='UPLOAD',_0xa18fa9[_0xa18fa9[_0x222543(0x94)]=0x1]=_0x222543(0x94),_0xa18fa9[_0xa18fa9[_0x222543(0x13b)]=0x2]=_0x222543(0x13b),_0xa18fa9[_0xa18fa9[_0x222543(0xdc)]=0x3]=_0x222543(0xdc),_0xa18fa9[_0xa18fa9[_0x222543(0x1a0)]=0x4]=_0x222543(0x1a0),_0xa18fa9[_0xa18fa9[_0x222543(0x165)]=0x5]='GET_JSON',_0xa18fa9[_0xa18fa9['GET_FILE']=0x6]='GET_FILE',_0xa18fa9;}({});const q=_0x23a1bc(_0x13592d(0xb8));let J=class extends _0x27498b{constructor(_0x21760f,_0x3c3581,_0x3c6386){const _0xb975d3=_0x13592d;super(),this[_0xb975d3(0x13d)]=_0x21760f,this['_httpService']=_0x3c3581,this[_0xb975d3(0x1b1)]=_0x3c6386,E(this,_0xb975d3(0x1cf),null),E(this,_0xb975d3(0x9d),new _0x4da9b5()),E(this,'requestState$',this['_requestState$'][_0xb975d3(0x112)]());}[_0x13592d(0x171)](){const _0x521d4f=_0x13592d;super[_0x521d4f(0x171)](),this[_0x521d4f(0x9d)][_0x521d4f(0x149)]();}async[_0x13592d(0x130)](_0x32e1e7){const _0x598a04=_0x13592d;let _0x150007=await this[_0x598a04(0xb3)](_0x32e1e7,_0xe384f0[_0x598a04(0x1ac)]);if(!_0x150007||!_0x150007[_0x598a04(0xe2)])return;let _0x272ee2=$e(_0x150007);if(_0x272ee2)return _0x272ee2;}async[_0x13592d(0x1d5)](_0x1ab268){const _0x2a7a62=_0x13592d;return this[_0x2a7a62(0x103)](_0x1ab268,H[_0x2a7a62(0x12c)],_0xe384f0[_0x2a7a62(0x1ac)]);}async['exportDOCXBySnapshot'](_0x32d5a6){const _0x516cd8=_0x13592d;let _0x1d9666=await Ze(_0x32d5a6);return this[_0x516cd8(0x11d)](_0x1d9666,_0xe384f0['UNIVER_DOC']);}async[_0x13592d(0x10f)](_0x753bbe){const _0x53dc75=_0x13592d;let _0x219f5f=await this[_0x53dc75(0xb3)](_0x753bbe,_0xe384f0[_0x53dc75(0xa2)]);if(!_0x219f5f)return;let _0x181eb6=await Qe(_0x219f5f);if(_0x181eb6)return _0x181eb6;}async[_0x13592d(0x19a)](_0x191b69){const _0x1dcb8b=_0x13592d;return this[_0x1dcb8b(0x103)](_0x191b69,H[_0x1dcb8b(0x12c)],_0xe384f0[_0x1dcb8b(0xa2)]);}async[_0x13592d(0xff)](_0x3a3c3c){const _0x3b2f76=_0x13592d;let _0x3f5c04=await G(_0x3a3c3c);return this[_0x3b2f76(0x11d)](_0x3f5c04,_0xe384f0[_0x3b2f76(0xa2)]);}async[_0x13592d(0x10c)](_0xa4eae3,_0x2adcc9){const _0x3b0f8b=_0x13592d;var _0x46ba8b,_0x2cf293;let _0x1d35f1=await this[_0x3b0f8b(0xe6)](_0xa4eae3);if(!_0x1d35f1)return;let _0x1b84d1=await this[_0x3b0f8b(0xbb)](_0x1d35f1,H['UNIT'],_0x2adcc9);if(!_0x1b84d1)return;this['_importTaskId']=_0x1b84d1,this[_0x3b0f8b(0x1b1)][_0x3b0f8b(0x8f)]();let _0x3a30ff=await this[_0x3b0f8b(0x1b1)]['getTask'](_0x1b84d1)['catch'](_0x3018b7=>{const _0x23a085=_0x3b0f8b;var _0xb6c8d;let _0xd00440=_0x3018b7 instanceof Error?_0x3018b7[_0x23a085(0x1ad)]:(_0xb6c8d=_0x3018b7['error'])==null?void 0x0:_0xb6c8d[_0x23a085(0x1ad)];this[_0x23a085(0x9d)][_0x23a085(0xb1)]({'error':{'code':_0x1ceaca[_0x23a085(0x155)],'message':_0xd00440||''},'state':K['GET_TASK']});});if(!_0x3a30ff)return;let _0x372a4d=(_0x46ba8b=_0x3a30ff['import'])==null?void 0x0:_0x46ba8b[_0x3b0f8b(0x140)],_0x564405=((_0x2cf293=_0x3a30ff[_0x3b0f8b(0xac)])==null?void 0x0:_0x2cf293[_0x3b0f8b(0x18a)])||'';if(_0x372a4d!==H[_0x3b0f8b(0x12c)]){this[_0x3b0f8b(0x9d)]['next']({'error':{'code':_0x1ceaca[_0x3b0f8b(0x155)],'message':_0x3b0f8b(0xb7)},'state':K[_0x3b0f8b(0xdc)]});return;}if(_0x564405[_0x3b0f8b(0xad)]===0x0){this[_0x3b0f8b(0x9d)][_0x3b0f8b(0xb1)]({'error':{'code':_0x1ceaca['UNRECOGNIZED'],'message':_0x3b0f8b(0x87)},'state':K['GET_TASK']});return;}return this[_0x3b0f8b(0x9d)][_0x3b0f8b(0xb1)]({'error':_0x3a30ff[_0x3b0f8b(0x12f)],'state':K[_0x3b0f8b(0xdc)]}),_0x564405;}async[_0x13592d(0x198)](_0x37b7ab){const _0x4c3be9=_0x13592d;let _0x40019a=await G(_0x37b7ab),_0x305738=typeof _0x37b7ab['id']=='string'&&_0x37b7ab['id'][_0x4c3be9(0xe0)]()?_0x37b7ab['id']['trim']()+_0x4c3be9(0x138):_0x4c3be9(0xf0),_0xd04bd4=new File([JSON[_0x4c3be9(0x135)](_0x40019a)],_0x305738,{'type':_0x4c3be9(0xe3)});return this[_0x4c3be9(0x10c)](_0xd04bd4,_0xe384f0[_0x4c3be9(0xa2)]);}[_0x13592d(0xcf)](){const _0x1c495e=_0x13592d;this[_0x1c495e(0x1cf)]&&this[_0x1c495e(0x1b1)]['setTaskInterrupted'](this['_importTaskId']);}async[_0x13592d(0xb3)](_0x295148,_0x2199ed){const _0x1138ed=_0x13592d;var _0x3a6659,_0x9e2166;let _0x41ab9d=await this[_0x1138ed(0xe6)](_0x295148);if(!_0x41ab9d)return;let _0x595c39=await this[_0x1138ed(0xbb)](_0x41ab9d,H[_0x1138ed(0x157)],_0x2199ed);if(!_0x595c39)return;this['_importTaskId']=_0x595c39,this[_0x1138ed(0x1b1)][_0x1138ed(0x8f)]();let _0x15df19=await this['_requestService'][_0x1138ed(0x10d)](_0x595c39)[_0x1138ed(0xda)](_0x3f4fc9=>{const _0x28d427=_0x1138ed;var _0x433c2a;let _0x5ca2ad=_0x3f4fc9 instanceof Error?_0x3f4fc9[_0x28d427(0x1ad)]:(_0x433c2a=_0x3f4fc9['error'])==null?void 0x0:_0x433c2a[_0x28d427(0x1ad)];this[_0x28d427(0x9d)][_0x28d427(0xb1)]({'error':{'code':_0x1ceaca[_0x28d427(0x155)],'message':_0x5ca2ad||''},'state':K[_0x28d427(0xdc)]});});if(!_0x15df19)return;let _0x48a184=(_0x3a6659=_0x15df19[_0x1138ed(0xac)])==null?void 0x0:_0x3a6659[_0x1138ed(0x140)],_0x2ac273=((_0x9e2166=_0x15df19[_0x1138ed(0xac)])==null?void 0x0:_0x9e2166[_0x1138ed(0x1bc)])||'';if(_0x48a184!==H[_0x1138ed(0x157)]){this[_0x1138ed(0x9d)][_0x1138ed(0xb1)]({'error':{'code':_0x1ceaca[_0x1138ed(0x155)],'message':_0x1138ed(0xb7)},'state':K[_0x1138ed(0xdc)]});return;}if(_0x2ac273['length']===0x0){this[_0x1138ed(0x9d)][_0x1138ed(0xb1)]({'error':{'code':_0x1ceaca[_0x1138ed(0x155)],'message':_0x1138ed(0x13a)},'state':K[_0x1138ed(0xdc)]});return;}this['_requestState$']['next']({'error':_0x15df19[_0x1138ed(0x12f)],'state':K[_0x1138ed(0xdc)]});let _0x3fea4b=await this[_0x1138ed(0xed)](_0x2ac273);if(!_0x3fea4b)return;let _0x14ef9b=await this[_0x1138ed(0x1b1)][_0x1138ed(0xc1)](_0x3fea4b);if(!_0x14ef9b){this[_0x1138ed(0x9d)][_0x1138ed(0xb1)]({'error':{'code':_0x1ceaca['UNRECOGNIZED'],'message':_0x1138ed(0x1bb)},'state':K[_0x1138ed(0x165)]});return;}try{let _0x5b414a=JSON['parse'](_0x14ef9b);return this[_0x1138ed(0x9d)][_0x1138ed(0xb1)]({'error':{'code':_0x1ceaca['OK'],'message':'success'},'state':K[_0x1138ed(0x165)]}),_0x5b414a;}catch{this[_0x1138ed(0x9d)][_0x1138ed(0xb1)]({'error':{'code':_0x1ceaca[_0x1138ed(0x155)],'message':'Failed\x20to\x20parse\x20json'},'state':K[_0x1138ed(0x165)]});}}async[_0x13592d(0x11d)](_0x2b48f3,_0x5de1a3){const _0x3e14b3=_0x13592d;let _0x4ca4ae=JSON['stringify'](_0x2b48f3),_0x5071e3=_0x48167a['deflateRaw'](_0x4ca4ae),_0x525691=_0x303673[_0x3e14b3(0xa5)](_0x4ca4ae)[_0x3e14b3(0xad)],_0x17b974=We(_0x5071e3),_0x32ae93=await this[_0x3e14b3(0xe6)](_0x17b974,_0x525691,!0x0);if(_0x32ae93)return this[_0x3e14b3(0x103)](_0x32ae93,H['JSON'],_0x5de1a3);}async[_0x13592d(0x103)](_0xc57662,_0x2db851,_0x4d1baa){const _0x136a1e=_0x13592d;var _0x1e091c;let _0x48448d=await this['_requestService']['export']({'unitID':_0x2db851===H[_0x136a1e(0x12c)]?_0xc57662:'','jsonID':_0x2db851===H[_0x136a1e(0x157)]?_0xc57662:'','type':_0x4d1baa,'sscSwitch':this[_0x136a1e(0xdb)](),'useImageUrl':this[_0x136a1e(0x1c7)](),'ignoreTableExport':this['_getIgnoreTableExport']()});if(!_0x48448d){this[_0x136a1e(0x9d)]['next']({'error':{'code':_0x1ceaca[_0x136a1e(0x155)],'message':_0x136a1e(0x1c3)},'state':K[_0x136a1e(0x13b)]});return;}if(this[_0x136a1e(0x9d)][_0x136a1e(0xb1)]({'error':_0x48448d[_0x136a1e(0x12f)],'state':K['EXPORT']}),_0x48448d[_0x136a1e(0x12f)]&&_0x48448d[_0x136a1e(0x12f)][_0x136a1e(0xbf)]!==_0x1ceaca['OK'])return;let _0x12fab0=_0x48448d[_0x136a1e(0x179)],_0x123050=await this[_0x136a1e(0x1b1)][_0x136a1e(0x10d)](_0x12fab0)[_0x136a1e(0xda)](_0x17acab=>{const _0x3d49a2=_0x136a1e;var _0x302f80;let _0x40dc3a=_0x17acab instanceof Error?_0x17acab['message']:(_0x302f80=_0x17acab[_0x3d49a2(0x12f)])==null?void 0x0:_0x302f80[_0x3d49a2(0x1ad)];this[_0x3d49a2(0x9d)]['next']({'error':{'code':_0x1ceaca[_0x3d49a2(0x155)],'message':_0x40dc3a||''},'state':K[_0x3d49a2(0xdc)]});});if(!_0x123050)return;let _0x53d24d=((_0x1e091c=_0x123050[_0x136a1e(0xbc)])==null?void 0x0:_0x1e091c[_0x136a1e(0x15e)])||'';if(_0x53d24d[_0x136a1e(0xad)]===0x0){this[_0x136a1e(0x9d)][_0x136a1e(0xb1)]({'error':{'code':_0x1ceaca['UNRECOGNIZED'],'message':_0x136a1e(0x178)},'state':K[_0x136a1e(0xdc)]});return;}this[_0x136a1e(0x9d)][_0x136a1e(0xb1)]({'error':_0x123050[_0x136a1e(0x12f)],'state':K[_0x136a1e(0xdc)]});let _0x1c459a=await this[_0x136a1e(0xed)](_0x53d24d);if(!_0x1c459a)return;let _0x4286ef=await He(_0x1c459a,this[_0x136a1e(0x17b)]);if(!_0x4286ef){this['_requestState$'][_0x136a1e(0xb1)]({'error':{'code':_0x1ceaca['UNRECOGNIZED'],'message':_0x136a1e(0x19f)},'state':K['GET_FILE']});return;}return this[_0x136a1e(0x9d)][_0x136a1e(0xb1)]({'error':{'code':_0x1ceaca['OK'],'message':_0x136a1e(0x1a9)},'state':K['GET_FILE']}),_0x4286ef;}async['_upload'](_0x195059,_0x4c25ae,_0x5c5a7b){const _0x3a3e23=_0x13592d;let _0x202c7a;try{_0x202c7a=await this[_0x3a3e23(0x1b1)][_0x3a3e23(0xe4)](_0x195059,_0x4c25ae,_0x5c5a7b);}catch(_0x4ac020){let _0x51d035=_0x4ac020 instanceof Error?_0x4ac020[_0x3a3e23(0x1ad)]:String(_0x4ac020);this[_0x3a3e23(0x9d)]['next']({'error':{'code':_0x1ceaca[_0x3a3e23(0x155)],'message':_0x51d035},'state':K[_0x3a3e23(0x116)]});return;}if(!_0x202c7a||typeof _0x202c7a[_0x3a3e23(0x14c)]!=_0x3a3e23(0x144)){this[_0x3a3e23(0x9d)]['next']({'error':{'code':_0x1ceaca[_0x3a3e23(0x155)],'message':_0x3a3e23(0x1b8)},'state':K[_0x3a3e23(0x116)]});return;}let _0x5802e7=_0x202c7a[_0x3a3e23(0x14c)];if(_0x5802e7[_0x3a3e23(0xad)]===0x0){this[_0x3a3e23(0x9d)][_0x3a3e23(0xb1)]({'error':{'code':_0x1ceaca[_0x3a3e23(0x155)],'message':_0x3a3e23(0x85)},'state':K[_0x3a3e23(0x116)]});return;}return this[_0x3a3e23(0x9d)][_0x3a3e23(0xb1)]({'error':{'code':_0x1ceaca['OK'],'message':_0x3a3e23(0x1a9)},'state':K['UPLOAD']}),_0x5802e7;}async[_0x13592d(0xbb)](_0x15b224,_0x51edcb,_0x4ee2de){const _0x211d9a=_0x13592d;let _0x33f1da={'fileID':_0x15b224,'type':_0x4ee2de,'outputType':_0x51edcb,'fileUrl':'','minSheetRowCount':this[_0x211d9a(0xc6)](),'minSheetColumnCount':this[_0x211d9a(0x145)]()},_0x3e60ab=await this[_0x211d9a(0x1b1)][_0x211d9a(0xac)](_0x33f1da);if(!_0x3e60ab){this[_0x211d9a(0x9d)][_0x211d9a(0xb1)]({'error':{'code':_0x1ceaca[_0x211d9a(0x155)],'message':_0x211d9a(0x10b)},'state':K['IMPORT']});return;}if(_0x3e60ab[_0x211d9a(0x12f)]&&_0x3e60ab[_0x211d9a(0x12f)][_0x211d9a(0xbf)]!==_0x1ceaca['OK']){this[_0x211d9a(0x9d)][_0x211d9a(0xb1)]({'error':_0x3e60ab[_0x211d9a(0x12f)],'state':K[_0x211d9a(0x94)]});return;}let _0x3120fb=_0x3e60ab['taskID'];if(_0x3120fb[_0x211d9a(0xad)]===0x0){this[_0x211d9a(0x9d)][_0x211d9a(0xb1)]({'error':{'code':_0x1ceaca[_0x211d9a(0x155)],'message':_0x211d9a(0x16f)},'state':K['IMPORT']});return;}return this['_requestState$'][_0x211d9a(0xb1)]({'error':_0x3e60ab['error'],'state':K[_0x211d9a(0x94)]}),_0x3120fb;}async[_0x13592d(0xed)](_0x18aa77){const _0x42220d=_0x13592d;let _0x164e5f=await this[_0x42220d(0x1b1)]['signUrl'](_0x18aa77);if(!_0x164e5f){this[_0x42220d(0x9d)]['next']({'error':{'code':_0x1ceaca[_0x42220d(0x155)],'message':_0x42220d(0xc7)},'state':K[_0x42220d(0x1a0)]});return;}if(_0x164e5f[_0x42220d(0x12f)]&&_0x164e5f[_0x42220d(0x12f)]['code']!==_0x1ceaca['OK']){this[_0x42220d(0x9d)][_0x42220d(0xb1)]({'error':_0x164e5f[_0x42220d(0x12f)],'state':K['SIGN_URL']});return;}let _0xe1c748=_0x4f1d76(_0x164e5f[_0x42220d(0xa6)],this[_0x42220d(0x191)]());if(_0xe1c748['length']===0x0){this['_requestState$'][_0x42220d(0xb1)]({'error':{'code':_0x1ceaca[_0x42220d(0x155)],'message':_0x42220d(0xc7)},'state':K['SIGN_URL']});return;}return this[_0x42220d(0x9d)][_0x42220d(0xb1)]({'error':_0x164e5f[_0x42220d(0x12f)],'state':K[_0x42220d(0x1a0)]}),_0xe1c748;}[_0x13592d(0x191)](){const _0x55b4bd=_0x13592d;var _0x5321e5;let _0x335302=this[_0x55b4bd(0x13d)][_0x55b4bd(0xb9)](C);return(_0x5321e5=_0x335302==null?void 0x0:_0x335302[_0x55b4bd(0x17a)])==null?location[_0x55b4bd(0x14e)]:_0x5321e5;}[_0x13592d(0xc6)](){const _0x2bbe4c=_0x13592d;var _0x25e727,_0x5ec193;let _0x40ac3c=this[_0x2bbe4c(0x13d)][_0x2bbe4c(0xb9)](C);return(_0x25e727=_0x40ac3c==null||(_0x5ec193=_0x40ac3c[_0x2bbe4c(0x89)])==null?void 0x0:_0x5ec193[_0x2bbe4c(0x1a6)])==null?0x1:_0x25e727;}[_0x13592d(0x145)](){const _0x5105b3=_0x13592d;var _0x56bf0c,_0x1fc364;let _0x14e312=this[_0x5105b3(0x13d)][_0x5105b3(0xb9)](C);return(_0x56bf0c=_0x14e312==null||(_0x1fc364=_0x14e312[_0x5105b3(0x89)])==null?void 0x0:_0x1fc364[_0x5105b3(0x86)])==null?0x1:_0x56bf0c;}['_getEnableServerSideComputing'](){const _0x32d00b=_0x13592d;var _0x5b865c,_0x5db97c;let _0x856272=this[_0x32d00b(0x13d)]['getConfig'](C);return(_0x5b865c=_0x856272==null||(_0x5db97c=_0x856272[_0x32d00b(0x89)])==null?void 0x0:_0x5db97c[_0x32d00b(0xf9)])==null?!0x1:_0x5b865c;}[_0x13592d(0x1c7)](){const _0x5b919c=_0x13592d;var _0x3f9c81,_0x8e0795;let _0x4aaab1=this[_0x5b919c(0x13d)][_0x5b919c(0xb9)](C);return(_0x3f9c81=_0x4aaab1==null||(_0x8e0795=_0x4aaab1[_0x5b919c(0x89)])==null?void 0x0:_0x8e0795[_0x5b919c(0x182)])==null?!0x0:_0x3f9c81;}[_0x13592d(0x1b6)](){const _0x231d3b=_0x13592d;var _0x128f9e,_0x245668;let _0x4ae7a1=this[_0x231d3b(0x13d)][_0x231d3b(0xb9)](C);return(_0x128f9e=_0x4ae7a1==null||(_0x245668=_0x4ae7a1[_0x231d3b(0x89)])==null?void 0x0:_0x245668[_0x231d3b(0x1ae)])==null?!0x1:_0x128f9e;}};J=V([B(0x0,_0x2ce7f3),B(0x1,_0x38d816(_0xfb482b)),B(0x2,_0x38d816(U))],J);const tt={'done':0x0,'count':0x0},Y=_0x23a1bc('univer-pro.exchange-client.operate.service');let X=class extends _0x27498b{constructor(_0x516741,_0x2c6bf7,_0xa3359a,_0x55d61b,_0x5ea0fc,_0x37cd74){const _0x203a61=_0x13592d;super(),this['_univerInstanceService']=_0x516741,this['_messageService']=_0x2c6bf7,this[_0x203a61(0x136)]=_0xa3359a,this['_exchangeService']=_0x55d61b,this[_0x203a61(0x9b)]=_0x5ea0fc,this[_0x203a61(0xf8)]=_0x37cd74,E(this,_0x203a61(0x1d4),new _0x5f09f7(tt)),E(this,_0x203a61(0x189),this[_0x203a61(0x1d4)][_0x203a61(0x112)]()),E(this,_0x203a61(0x104),0x0),E(this,_0x203a61(0x128),0x0),this[_0x203a61(0xb6)](_0x24338b(this[_0x203a61(0x1b3)]['requestState$']['subscribe'](_0x58fa5c=>{const _0x318ca5=_0x203a61;var _0x28a9a7;((_0x28a9a7=_0x58fa5c[_0x318ca5(0x12f)])==null?void 0x0:_0x28a9a7[_0x318ca5(0xbf)])===_0x1ceaca['OK']?this['_addDoneTask'](0x1):this[_0x318ca5(0x1c5)](_0x58fa5c[_0x318ca5(0x12f)]);})));}[_0x13592d(0xeb)](){const _0x487710=_0x13592d;this[_0x487710(0x99)](),this['_uploadNotificationService'][_0x487710(0x106)](D[_0x487710(0x18c)]),this[_0x487710(0x1b3)]['interruptImportTask']();}async['uploadFileToUnitId'](_0x194f33){const _0x3d3202=_0x13592d;throw Error(_0x3d3202(0xf7));}async[_0x13592d(0xfe)](){const _0x4b5c72=_0x13592d;let _0x52a58b=await z([_0xe384f0['UNIVER_DOC']]);if(_0x52a58b&&!this[_0x4b5c72(0x192)](_0x52a58b,_0xe384f0['UNIVER_DOC']))return this[_0x4b5c72(0x18e)](_0x52a58b[0x0],_0xe384f0[_0x4b5c72(0x1ac)]);}[_0x13592d(0x130)](){const _0x1f947a=_0x13592d;throw Error(_0x1f947a(0xf7));}async[_0x13592d(0x1d5)](_0x4b19be,_0x261486,_0x3617c8){const _0xe60dd1=_0x13592d;this['_showDownloadMessage'](_0x45229d[_0xe60dd1(0x117)]);let _0x11a0f1=await this['_exchangeService'][_0xe60dd1(0x1d5)](_0x4b19be||this[_0xe60dd1(0xb0)]());_0x11a0f1&&(L(_0x11a0f1,_0x261486||this['_getUnitName'](_0x11a0f1),_0xe60dd1(0xbe)),this[_0xe60dd1(0x93)](_0x45229d[_0xe60dd1(0x1b7)]));}async[_0x13592d(0x9c)](){const _0x5d859c=_0x13592d;this[_0x5d859c(0x93)](_0x45229d[_0x5d859c(0x117)]);let _0x504689=await this[_0x5d859c(0x1c6)](),_0x1fb75f=await this['_exchangeService'][_0x5d859c(0x9c)](_0x504689);_0x1fb75f&&(L(_0x1fb75f,this[_0x5d859c(0x150)](_0x1fb75f),_0x5d859c(0xbe)),this[_0x5d859c(0x93)](_0x45229d[_0x5d859c(0x1b7)]));}async[_0x13592d(0xcc)](){const _0xd98d58=_0x13592d;if(this[_0xd98d58(0x97)]()){this[_0xd98d58(0x1ce)]['show']({'type':_0x45229d[_0xd98d58(0x9f)],'content':this[_0xd98d58(0x136)]['t'](_0xd98d58(0x1cd))});return;}let _0x1cbd8e=await z([_0xe384f0[_0xd98d58(0xa2)]]);if(_0x1cbd8e&&!this[_0xd98d58(0x192)](_0x1cbd8e,_0xe384f0['UNIVER_SHEET']))return this[_0xd98d58(0x18e)](_0x1cbd8e[0x0],_0xe384f0[_0xd98d58(0xa2)]);}async['importXLSXToSnapshot'](){const _0x41cae9=_0x13592d;if(this[_0x41cae9(0x97)]()){this[_0x41cae9(0x1ce)][_0x41cae9(0x197)]({'type':_0x45229d[_0x41cae9(0x9f)],'content':this[_0x41cae9(0x136)]['t'](_0x41cae9(0x1cd))});return;}let _0x5e8826=await z([_0xe384f0[_0x41cae9(0xa2)]]);if(!_0x5e8826)return;this['_showUploadMessage'](_0x45229d[_0x41cae9(0x117)]);let _0x621568=await this['_exchangeService'][_0x41cae9(0x10f)](_0x5e8826[0x0]);_0x621568&&(this['_refresh'](_0x621568),this['_showUploadMessage'](_0x45229d[_0x41cae9(0x1b7)]));}async[_0x13592d(0x19a)](_0x21a144,_0x15d22d,_0x37e4d3){const _0x4ac48f=_0x13592d;this[_0x4ac48f(0x93)](_0x45229d[_0x4ac48f(0x117)]);let _0x40ea8f=await this[_0x4ac48f(0x1b3)][_0x4ac48f(0x19a)](_0x21a144||this[_0x4ac48f(0x143)]());_0x40ea8f&&(L(_0x40ea8f,_0x15d22d||this['_getUnitName'](_0x40ea8f),_0x4ac48f(0x111)),this[_0x4ac48f(0x93)](_0x45229d[_0x4ac48f(0x1b7)]));}async[_0x13592d(0xff)](){const _0x2ad5cb=_0x13592d;this['_showDownloadMessage'](_0x45229d['Info']);let _0x36c139=await this[_0x2ad5cb(0xd8)](),_0x3eeafa=await this['_exchangeService'][_0x2ad5cb(0xff)](_0x36c139);_0x3eeafa&&(L(_0x3eeafa,this[_0x2ad5cb(0x150)](_0x3eeafa),_0x2ad5cb(0x111)),this[_0x2ad5cb(0x93)](_0x45229d['Success']));}[_0x13592d(0x1a8)](_0x1373c1){const _0x2d019d=_0x13592d;this[_0x2d019d(0x1d1)]=_0x1373c1;}async[_0x13592d(0x18e)](_0x29ce84,_0x46a955){const _0x1f0a35=_0x13592d;this[_0x1f0a35(0x9b)][_0x1f0a35(0x197)](),this['_uploadNotificationService'][_0x1f0a35(0x106)](D['UPLOADING']),this[_0x1f0a35(0x174)](0x4),this[_0x1f0a35(0x109)](0x1);let _0x3f7852=await this['_exchangeService']['importFileToUnitId'](_0x29ce84,_0x46a955);if(!_0x3f7852){this[_0x1f0a35(0x99)](),this[_0x1f0a35(0x9b)]['updateState'](D['ERROR']);return;}let _0x2f5078={'link':this[_0x1f0a35(0x1d1)](_0x3f7852,_0x46a955),'name':_0x29ce84['name'],'type':_0x46a955};return this['_uploadNotificationService'][_0x1f0a35(0x11a)](_0x2f5078),this['_completeProgress'](),this[_0x1f0a35(0x9b)][_0x1f0a35(0x106)](D[_0x1f0a35(0x164)]),_0x3f7852;}['_getUnitID'](){const _0xe09a3f=_0x13592d;return this['_univerInstanceService'][_0xe09a3f(0x13e)](_0x4ff47f['UNIVER_SHEET'])[_0xe09a3f(0x162)]();}[_0x13592d(0xb0)](){const _0xf36390=_0x13592d;return this[_0xf36390(0x1d3)][_0xf36390(0x13e)](_0x4ff47f[_0xf36390(0x1ac)])[_0xf36390(0x162)]();}['_getUnitName'](_0x5592a5){const _0x30c19f=_0x13592d;var _0x25da4b;return((_0x25da4b=this[_0x30c19f(0x1d3)][_0x30c19f(0x13e)](_0x4ff47f[_0x30c19f(0xa2)]))==null?void 0x0:_0x25da4b[_0x30c19f(0xc3)])||_0x5592a5[_0x30c19f(0xc3)][_0x30c19f(0xb2)]('.')[_0x30c19f(0x14d)]()||document[_0x30c19f(0xcb)];}async[_0x13592d(0xd8)](){const _0x42a3f2=_0x13592d;return this[_0x42a3f2(0x1d3)][_0x42a3f2(0x13e)](_0x4ff47f[_0x42a3f2(0xa2)])['getSnapshot']();}async[_0x13592d(0x1c6)](){const _0x697b27=_0x13592d;return this[_0x697b27(0x1d3)][_0x697b27(0x13e)](_0x4ff47f[_0x697b27(0x1ac)])['getSnapshot']();}[_0x13592d(0x1d1)](_0x594c75,_0x12edc2){const _0x4d164c=_0x13592d;let _0xf0f6f6=new URL(window['location'][_0x4d164c(0xf1)]);return _0xf0f6f6[_0x4d164c(0x134)][_0x4d164c(0x19b)](_0x4d164c(0x11b),_0x594c75),_0xf0f6f6[_0x4d164c(0x134)][_0x4d164c(0x19b)](_0x4d164c(0x15c),''+_0x12edc2),_0xf0f6f6[_0x4d164c(0x173)]();}['_refresh'](_0x5ee26d){const _0x30c224=_0x13592d;let _0x5dd6c4=this['_univerInstanceService'][_0x30c224(0x122)](_0x4ff47f['UNIVER_SHEET'])[_0x30c224(0x162)]();this[_0x30c224(0x1d3)]['disposeUnit'](_0x5dd6c4),this[_0x30c224(0x1d3)][_0x30c224(0x18b)](_0x4ff47f[_0x30c224(0xa2)],_0x5ee26d);}[_0x13592d(0x1c5)](_0x5ae460){const _0x359180=_0x13592d;if(_0x5ae460){let {code:_0x2b72e9}=_0x5ae460;switch(_0x2b72e9){case _0x1ceaca['CONNECTOR_DATA_TOO_LARGE']:this[_0x359180(0x1ce)][_0x359180(0x197)]({'type':_0x45229d[_0x359180(0x152)],'content':this[_0x359180(0x136)]['t'](_0x359180(0x160))});break;case _0x1ceaca['INTERNAL_ERROR']:this[_0x359180(0x1ce)][_0x359180(0x197)]({'type':_0x45229d[_0x359180(0x152)],'content':this['_localeService']['t'](_0x359180(0x1aa))});break;default:this['_messageService'][_0x359180(0x197)]({'type':_0x45229d['Error'],'content':this['_localeService']['t'](_0x359180(0x115))});break;}return null;}return this[_0x359180(0x1ce)][_0x359180(0x197)]({'type':_0x45229d['Error'],'content':this[_0x359180(0x136)]['t'](_0x359180(0x115))}),null;}['_showDownloadMessage'](_0x29502a){const _0x50e17b=_0x13592d;let _0x33c4e2='';switch(_0x29502a){case _0x45229d['Success']:_0x33c4e2=this[_0x50e17b(0x136)]['t']('exchange.downloadSuccess');break;case _0x45229d[_0x50e17b(0x117)]:_0x33c4e2=this[_0x50e17b(0x136)]['t'](_0x50e17b(0x1c2));break;default:break;}this[_0x50e17b(0x1ce)][_0x50e17b(0x197)]({'type':_0x29502a,'content':_0x33c4e2});}[_0x13592d(0x12d)](_0x327764){const _0x1ca82c=_0x13592d;let _0x34f858='';switch(_0x327764){case _0x45229d['Success']:_0x34f858=this[_0x1ca82c(0x136)]['t'](_0x1ca82c(0xe1));break;case _0x45229d[_0x1ca82c(0x117)]:_0x34f858=this['_localeService']['t']('exchange.uploading');break;default:break;}this[_0x1ca82c(0x1ce)][_0x1ca82c(0x197)]({'type':_0x327764,'content':_0x34f858});}[_0x13592d(0x1c1)](){const _0x142e66=_0x13592d;this[_0x142e66(0x1d4)][_0x142e66(0xb1)]({'done':this['_doneUploadTaskCount'],'count':this[_0x142e66(0x104)]});}[_0x13592d(0x174)](_0x1ebb92){const _0x452c69=_0x13592d;this[_0x452c69(0x104)]+=_0x1ebb92,this[_0x452c69(0x1c1)]();}[_0x13592d(0x109)](_0x53db98){const _0x10839a=_0x13592d;this[_0x10839a(0x128)]+=_0x53db98,this[_0x10839a(0x128)]=Math[_0x10839a(0xca)](this[_0x10839a(0x128)],this[_0x10839a(0x104)]),this['_emitProgress']();}[_0x13592d(0x113)](){const _0x39a4ee=_0x13592d;this[_0x39a4ee(0x128)]=this[_0x39a4ee(0x104)],this[_0x39a4ee(0x1c1)]();}[_0x13592d(0x99)](){const _0x301b67=_0x13592d;this[_0x301b67(0x128)]=0x0,this['_totalUploadTaskCount']=0x0,this[_0x301b67(0x1c1)]();}[_0x13592d(0x192)](_0x1498c3,_0xeaac88){const _0x510dee=_0x13592d;let _0x494bf2=_0x1498c3[0x0],_0x45d1ba=_0x494bf2[_0x510dee(0xc3)];return R(_0x494bf2)===_0xeaac88?!0x1:(this[_0x510dee(0x1ce)][_0x510dee(0x197)]({'type':_0x45229d['Error'],'content':this[_0x510dee(0x136)]['t'](_0x510dee(0x196),_0x45d1ba)}),!0x0);}[_0x13592d(0x97)](){const _0x3a16a0=_0x13592d;return this[_0x3a16a0(0x104)]!==0x0&&this['_doneUploadTaskCount']!==this[_0x3a16a0(0x104)];}};X=V([B(0x0,_0x38d816(_0x4a966e)),B(0x1,_0x18e00f),B(0x2,_0x38d816(_0x483539)),B(0x3,_0x38d816(q)),B(0x4,_0x38d816(O)),B(0x5,_0x160774)],X);function nt(_0x2949ad){const _0x3524cb=_0x13592d;let {onClick:_0x292027,children:_0x3d9162,className:_0x32d2e2}=_0x2949ad;return _0x4066ec(_0x3524cb(0x1c8),{'className':_0x15d61d(_0x3524cb(0xfc),_0x32d2e2),'type':'button','onClick':_0x292027,'children':_0x3d9162});}function rt(){const _0x1df2c8=_0x13592d;let _0x2f6915=_0x4c6ad3(Y),_0x1c4fc9=_0x4c6ad3(_0x483539);function _0x473358(){_0x2f6915['importXLSXToUnitId']();}return _0x4066ec(nt,{'onClick':_0x473358,'children':_0x1c4fc9['t'](_0x1df2c8(0x16b))});}function it(){const _0x47b903=_0x13592d;return _0x1bbb51('div',{'className':_0x47b903(0x1c9),'children':[_0x4066ec(_0x47b903(0x154),{'className':_0x47b903(0x1b5),'children':_0x4c6ad3(_0x483539)['t'](_0x47b903(0xdf))}),_0x4066ec(rt,{})]});}function at(_0x492c87){const _0x56dd60=_0x13592d;let {count:_0xa299e7}=_0x492c87;return _0x1bbb51(_0x56dd60(0x12b),{'className':_0x56dd60(0x1a5),'children':[_0x4066ec(_0x56dd60(0x154),{'className':_0x56dd60(0x8b),'children':_0x4c6ad3(_0x483539)['t'](_0x56dd60(0xe5),''+_0xa299e7)}),_0x4066ec(rt,{})]});}function ot(){const _0x28c71a=_0x13592d;let _0x2e10ce=_0x4c6ad3(Y),_0x44a929=_0x4c6ad3(_0x483539);function _0x1438c9(){_0x2e10ce['interrupt']();}return _0x4066ec(nt,{'onClick':_0x1438c9,'children':_0x44a929['t'](_0x28c71a(0x11f))});}function st(){const _0x3c50bf=_0x13592d;let {count:_0x1c7b90,done:_0x11821a}=_0x31f857(_0x4c6ad3(Y)[_0x3c50bf(0x189)]),[_0x5da1ab,_0x44b234]=_0x2f7635(_0x1c7b90>0x0?_0x11821a/_0x1c7b90:0x0);return _0x5577e5(()=>{_0x44b234(_0x1c7b90>0x0?_0x11821a/_0x1c7b90:0x0);},[_0x1c7b90,_0x11821a]),_0x4066ec('div',{'className':_0x3c50bf(0x133),'children':_0x4066ec(_0x3c50bf(0x12b),{'className':'univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','style':{'width':Math[_0x3c50bf(0x19c)](_0x5da1ab*0x64)+'%'}})});}function ct(){const _0x30fb51=_0x13592d;return _0x1bbb51(_0x30fb51(0x12b),{'className':_0x30fb51(0x1c9),'children':[_0x4066ec('span',{'className':_0x30fb51(0x90),'children':_0x4c6ad3(_0x483539)['t']('exchange.wait')}),_0x4066ec(_0x30fb51(0x12b),{'className':_0x30fb51(0x184),'children':_0x4066ec(st,{})}),_0x4066ec(ot,{})]});}const lt={[D[_0x13592d(0x164)]]:_0x4066ec(_0x2d2951,{'className':_0x13592d(0xe7)}),[D[_0x13592d(0x10a)]]:_0x4066ec(_0x19c2d6,{'className':_0x13592d(0x100)}),[D[_0x13592d(0x18c)]]:_0x4066ec(_0x986a,{'className':_0x13592d(0x1af)})};function ut(){const _0x36ce90=_0x13592d;let [_0x10cb87,_0x12ec16]=_0x2f7635(D[_0x36ce90(0x10a)]),[_0x3fef16,_0x2250ff]=_0x2f7635(!0x1),[_0x4f984e,_0x163a2f]=_0x2f7635([]),_0xa619c3=_0x4c6ad3(O),_0x4e3950=_0x4c6ad3(_0x483539);_0x5577e5(()=>{const _0x2c5550=_0x36ce90;let _0x3895d1=_0xa619c3[_0x2c5550(0x105)][_0x2c5550(0xc5)](_0xd4158a=>{_0x2250ff(_0xd4158a);}),_0xa753cf=_0xa619c3['list$'][_0x2c5550(0xc5)](_0x236d4c=>{_0x163a2f(_0x236d4c);}),_0x2d02cc=_0xa619c3['state$'][_0x2c5550(0xc5)](_0x4349b8=>{_0x12ec16(_0x4349b8);});return()=>{const _0x244629=_0x2c5550;_0x3895d1[_0x244629(0x96)](),_0xa753cf['unsubscribe'](),_0x2d02cc[_0x244629(0x96)]();};},[]);function _0x2ff365(){_0x2250ff(!0x1);}function _0xb4396f(_0x7ce0b){const _0x7219a4=_0x36ce90;switch(_0x7ce0b){case D[_0x7219a4(0x164)]:return _0x4e3950['t']('exchange.uploadSuccess');case D[_0x7219a4(0x10a)]:return _0x4e3950['t']('exchange.uploading');case D[_0x7219a4(0x18c)]:return _0x4e3950['t']('exchange.unknownMistake');default:return'';}}return _0x3fef16&&_0x1bbb51('div',{'className':_0x36ce90(0x127),'children':[_0x1bbb51(_0x36ce90(0x12b),{'className':_0x36ce90(0xcd),'children':[_0x1bbb51('span',{'className':_0x36ce90(0xe9),'children':[_0x4066ec(_0x36ce90(0x154),{'className':_0x36ce90(0x17e),'children':lt[_0x10cb87]}),_0x4066ec(_0x36ce90(0x154),{'className':'univer-ml-1.5\x20univer-font-semibold\x20univer-leading-6\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0xb4396f(_0x10cb87)})]}),_0x4066ec(_0x36ce90(0x154),{'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':_0x2ff365,'children':_0x4066ec(_0x40821a,{})})]}),_0x1bbb51(_0x36ce90(0x12b),{'children':[_0x10cb87===D[_0x36ce90(0x10a)]&&_0x4066ec(ct,{}),_0x10cb87===D['ERROR']&&_0x4066ec(it,{}),_0x4f984e[_0x36ce90(0xad)]>0x0&&_0x4066ec(Re,{'list':_0x4f984e}),_0x10cb87===D[_0x36ce90(0x164)]&&_0x4066ec(at,{'count':_0x4f984e[_0x36ce90(0xad)]})]})]});}function Z(){return _0x4066ec(ut,{});}let Q=class extends _0x27498b{constructor(_0x50e4e7,_0x47e706){const _0x17d030=_0x13592d;super(),this['_injector']=_0x50e4e7,this[_0x17d030(0x195)]=_0x47e706,this[_0x17d030(0x1a2)]();}[_0x13592d(0x1a2)](){const _0x23dbe4=_0x13592d;this['disposeWithMe'](this['_uiPartsService'][_0x23dbe4(0x10e)](_0x48a611[_0x23dbe4(0x8c)],()=>_0x5d181d(Z,this[_0x23dbe4(0x12e)])));}};Q=V([B(0x0,_0x38d816(_0x498f3d)),B(0x1,_0xdca652)],Q);let $=class extends _0x23106f{constructor(_0xa7549=w,_0xdef5a2,_0xfd4fb2){const _0x3ff12f=_0x13592d;super(),this[_0x3ff12f(0x84)]=_0xa7549,this[_0x3ff12f(0x12e)]=_0xdef5a2,this[_0x3ff12f(0x13d)]=_0xfd4fb2;let {..._0x10a243}=_0x5cd26a({},w,this['_config']);this['_configService'][_0x3ff12f(0xee)](C,_0x10a243);}[_0x13592d(0x131)](){const _0x35112a=_0x13592d;_0x540990(this[_0x35112a(0x12e)],[[Q],[Y,{'useClass':X}],[q,{'useClass':J}],[U,{'useClass':W}],[O,{'useClass':k}]]);}['onReady'](){const _0x49a00f=_0x13592d;_0x5c8bf5(this[_0x49a00f(0x12e)],[[Q],[Y]]);}};E($,_0x13592d(0x161),'UNIVER_EXCHANGE_CLIENT_PLUGIN'),E($,_0x13592d(0x1c4),Pe),E($,_0x13592d(0x1b4),Fe),$=V([_0x3d34df(_0x25057e,_0x1951d8),B(0x1,_0x38d816(_0x498f3d)),B(0x2,_0x2ce7f3)],$);export{C as EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY,X as ExchangeOperateService,J as ExchangeService,Y as IExchangeOperateService,q as IExchangeService,U as IRequestService,O as IUploadNotificationService,W as RequestService,$ as UniverExchangeClientPlugin,Z as UploadNotificationContainer,k as UploadNotificationService,D as UploadNotificationState,L as downloadFile,R as getUniverTypeByFile,z as getUploadFile,Ze as transformDocumentDataToSnapshotJson,$e as transformSnapshotJsonToDocumentData,Qe as transformSnapshotJsonToWorkbookData,G as transformWorkbookDataToSnapshotJson};
|
|
1
|
+
const _0x4e7d02=_0x1bf1;(function(_0xce1831,_0x4484fd){const _0x5a8b1e=_0x1bf1,_0x114f71=_0xce1831();while(!![]){try{const _0xa2a4e8=-parseInt(_0x5a8b1e(0x289))/0x1+parseInt(_0x5a8b1e(0x1ca))/0x2*(-parseInt(_0x5a8b1e(0x23c))/0x3)+parseInt(_0x5a8b1e(0x1a3))/0x4*(-parseInt(_0x5a8b1e(0x217))/0x5)+parseInt(_0x5a8b1e(0x243))/0x6*(parseInt(_0x5a8b1e(0x20f))/0x7)+parseInt(_0x5a8b1e(0x178))/0x8+parseInt(_0x5a8b1e(0x20c))/0x9*(-parseInt(_0x5a8b1e(0x182))/0xa)+parseInt(_0x5a8b1e(0x293))/0xb;if(_0xa2a4e8===_0x4484fd)break;else _0x114f71['push'](_0x114f71['shift']());}catch(_0x30663c){_0x114f71['push'](_0x114f71['shift']());}}}(_0x1235,0xef077));import{UniverLicensePlugin as _0x409b54}from'@univerjs-pro/license';import{DependentOn as _0x820998,Disposable as _0x4dabd8,IConfigService as _0x5025ec,ILogService as _0x291954,IUniverInstanceService as _0x4d1513,Inject as _0x908286,Injector as _0x35c7ff,LocaleService as _0x55c46a,Plugin as _0x2bf09b,UniverInstanceType as _0x1bc29d,createIdentifier as _0x68f6a7,merge as _0x401368,registerDependencies as _0x25b5d2,resolveWithBasePath as _0x5b46d2,toDisposable as _0x32473d,touchDependencies as _0x5084bc}from'@univerjs/core';import{HTTPResponseError as _0xaca049,HTTPService as _0x510ad2,UniverNetworkPlugin as _0x5ba4d7}from'@univerjs/network';import{BuiltInUIPart as _0x1766fa,IMessageService as _0x424672,IUIPartsService as _0x33db00,connectInjector as _0x193867,useDependency as _0x4ff9f3,useObservable as _0x53a383}from'@univerjs/ui';import{ClockIcon as _0x4d8ddb,CloseIcon as _0x37f2e6,DocMultiIcon as _0xb1ccbf,ErrorIcon as _0xa9d3c4,ShareRangeIcon as _0x42dfad,SlideMultiIcon as _0x54f6df,SuccessIcon as _0x14387e,XlsxMultiIcon as _0x58978c}from'@univerjs/icons';import{useEffect as _0x5887d4,useState as _0x1978fb}from'react';import{BehaviorSubject as _0x24b703,Subject as _0x547b21}from'rxjs';import{MessageType as _0x4fd874,Tooltip as _0x4083e,clsx as _0x3cfa8c,scrollbarClassName as _0x270883}from'@univerjs/design';import{jsx as _0x4e5966,jsxs as _0x569e90}from'react/jsx-runtime';import{ErrorCode as _0x2a7457,FileSource as _0x1e48c5,UniverType as _0x447a01}from'@univerjs/protocol';import{b64DecodeUnicode as _0x37c34f,b64EncodeUnicode as _0xf7e0a,getSheetBlocksFromSnapshot as _0x10d957,textDecoder as _0x3f34df,textEncoder as _0x127474,transformDocumentDataToSnapshot as _0x430a1b,transformSnapshotToDocumentData as _0xa52bea,transformSnapshotToWorkbookData as _0x3f788f,transformWorkbookDataToSnapshot as _0x157656}from'@univerjs-pro/collaboration';import _0x324fe9 from'pako';const C=_0x4e7d02(0x1e8);Symbol(C);const w={};var Pe=_0x4e7d02(0x294),Fe=_0x4e7d02(0x28d);function T(_0x3ddf55){'@babel/helpers - typeof';const _0x5ed2ac=_0x4e7d02;return T=typeof Symbol=='function'&&typeof Symbol[_0x5ed2ac(0x1fe)]==_0x5ed2ac(0x1a0)?function(_0x2ca748){return typeof _0x2ca748;}:function(_0x1c32f5){const _0x175b95=_0x5ed2ac;return _0x1c32f5&&typeof Symbol=='function'&&_0x1c32f5[_0x175b95(0x247)]===Symbol&&_0x1c32f5!==Symbol[_0x175b95(0x251)]?_0x175b95(0x1a0):typeof _0x1c32f5;},T(_0x3ddf55);}function Ie(_0x314bc8,_0x5c4b31){const _0x4663af=_0x4e7d02;if(T(_0x314bc8)!=_0x4663af(0x20e)||!_0x314bc8)return _0x314bc8;var _0x752bb5=_0x314bc8[Symbol[_0x4663af(0x2b6)]];if(_0x752bb5!==void 0x0){var _0x40d032=_0x752bb5[_0x4663af(0x1d9)](_0x314bc8,_0x5c4b31||'default');if(T(_0x40d032)!=_0x4663af(0x20e))return _0x40d032;throw TypeError(_0x4663af(0x1f3));}return(_0x5c4b31===_0x4663af(0x244)?String:Number)(_0x314bc8);}function Le(_0x84bd5f){const _0x26e7e3=_0x4e7d02;var _0x19f549=Ie(_0x84bd5f,'string');return T(_0x19f549)==_0x26e7e3(0x1a0)?_0x19f549:_0x19f549+'';}function E(_0x3f0c11,_0x3f26e8,_0x22afc8){const _0x4e2ff9=_0x4e7d02;return(_0x3f26e8=Le(_0x3f26e8))in _0x3f0c11?Object[_0x4e2ff9(0x26c)](_0x3f0c11,_0x3f26e8,{'value':_0x22afc8,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3f0c11[_0x3f26e8]=_0x22afc8,_0x3f0c11;}let D=function(_0x1ee382){const _0x3f702e=_0x4e7d02;return _0x1ee382[_0x1ee382['UPLOADING']=0x0]=_0x3f702e(0x25f),_0x1ee382[_0x1ee382['SUCCESS']=0x1]=_0x3f702e(0x1b2),_0x1ee382[_0x1ee382[_0x3f702e(0x1b5)]=0x2]=_0x3f702e(0x1b5),_0x1ee382;}({});const O=_0x68f6a7(_0x4e7d02(0x1d4));var k=class extends _0x4dabd8{constructor(){const _0x1577bd=_0x4e7d02;super(),E(this,_0x1577bd(0x250),new _0x547b21()),E(this,_0x1577bd(0x163),new _0x547b21()),E(this,_0x1577bd(0x265),new _0x547b21()),E(this,_0x1577bd(0x229),this['_visible$'][_0x1577bd(0x17d)]()),E(this,_0x1577bd(0x20b),this['_state$'][_0x1577bd(0x17d)]()),E(this,'list$',this[_0x1577bd(0x265)][_0x1577bd(0x17d)]()),E(this,_0x1577bd(0x1be),[]);}[_0x4e7d02(0x17a)](){const _0x1f8f05=_0x4e7d02;super['dispose'](),this[_0x1f8f05(0x250)][_0x1f8f05(0x1cd)](),this[_0x1f8f05(0x163)][_0x1f8f05(0x1cd)](),this[_0x1f8f05(0x265)]['complete']();}[_0x4e7d02(0x18f)](){const _0x3428e5=_0x4e7d02;this[_0x3428e5(0x250)][_0x3428e5(0x24d)](!0x0);}[_0x4e7d02(0x21e)](){const _0x5122c3=_0x4e7d02;this[_0x5122c3(0x250)][_0x5122c3(0x24d)](!0x1);}['updateState'](_0x56e3b5){const _0x1ed87e=_0x4e7d02;this[_0x1ed87e(0x163)][_0x1ed87e(0x24d)](_0x56e3b5);}[_0x4e7d02(0x218)](_0x529e1f){const _0x1e4e25=_0x4e7d02;this['_list']['unshift'](_0x529e1f),this[_0x1e4e25(0x265)][_0x1e4e25(0x24d)](this[_0x1e4e25(0x1be)]);}};function Re(_0x1c03f3){const _0x107276=_0x4e7d02;let {list:_0x2a1e0a}=_0x1c03f3;function _0x331abe(_0x2e04b0){switch(_0x2e04b0){case 0x1:return _0x4e5966(_0xb1ccbf,{});case 0x2:return _0x4e5966(_0x58978c,{});case 0x3:return _0x4e5966(_0x54f6df,{});default:return null;}}return _0x4e5966('div',{'className':_0x3cfa8c(_0x107276(0x206),_0x270883),'children':_0x4e5966('ul',{'className':_0x107276(0x1c4),'children':_0x2a1e0a[_0x107276(0x257)]((_0x2453e2,_0x2ea929)=>_0x4e5966('li',{'children':_0x569e90('a',{'className':'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','href':_0x2453e2[_0x107276(0x226)],'target':'_blank','rel':_0x107276(0x260),'children':[_0x569e90(_0x107276(0x277),{'className':_0x107276(0x194),'children':[_0x4e5966('span',{'className':_0x107276(0x211),'children':_0x331abe(_0x2453e2[_0x107276(0x2ad)])}),_0x4e5966(_0x4083e,{'showIfEllipsis':!0x0,'title':_0x2453e2[_0x107276(0x1c5)],'asChild':!0x0,'children':_0x4e5966('span',{'className':'univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0x2453e2[_0x107276(0x1c5)]})})]}),_0x4e5966(_0x107276(0x277),{'className':_0x107276(0x224),'children':_0x4e5966(_0x42dfad,{})})]})},_0x2ea929))})});}const A=_0x4e7d02(0x236),j=_0x4e7d02(0x27f),M=_0x4e7d02(0x21a),N=_0x4e7d02(0x21b),P=_0x4e7d02(0x1b3),F={[_0x447a01[_0x4e7d02(0x1d1)]]:[''],[_0x447a01[_0x4e7d02(0x169)]]:[A],[_0x447a01[_0x4e7d02(0x19d)]]:[j,M,N],[_0x447a01[_0x4e7d02(0x1a4)]]:[P],[_0x447a01[_0x4e7d02(0x1fb)]]:[''],[_0x447a01[_0x4e7d02(0x186)]]:['']},I={[A]:_0x4e7d02(0x22b),[j]:_0x4e7d02(0x299),[M]:_0x4e7d02(0x170),[N]:'xltx',[P]:_0x4e7d02(0x193)};function ze(_0x45f4fb,_0x21948d,_0x2088f9){const _0x3d20cb=_0x4e7d02;let _0x4fd095=document[_0x3d20cb(0x164)]('a');_0x4fd095['href']=_0x45f4fb,_0x4fd095[_0x3d20cb(0x248)][_0x3d20cb(0x1cc)]=_0x3d20cb(0x1e3),_0x4fd095[_0x3d20cb(0x233)]=_0x21948d+'.'+_0x2088f9,document[_0x3d20cb(0x230)][_0x3d20cb(0x26f)](_0x4fd095),_0x4fd095[_0x3d20cb(0x27a)](),document[_0x3d20cb(0x230)][_0x3d20cb(0x232)](_0x4fd095);}function L(_0x3f0bbe,_0x4340d7,_0x143bbe){const _0x49a0ff=_0x4e7d02;let _0x4e2fa6=URL[_0x49a0ff(0x2b4)](_0x3f0bbe);ze(_0x4e2fa6,_0x4340d7,_0x143bbe),URL[_0x49a0ff(0x1a1)](_0x4e2fa6);}function R(_0x2bcab9){const _0x6d5f23=_0x4e7d02;let _0x3a93e8=_0x2bcab9[_0x6d5f23(0x1c5)]['split']('.')[_0x6d5f23(0x1ea)]();if(!_0x3a93e8)return _0x447a01[_0x6d5f23(0x1d1)];let _0x4bfa91=Be(),_0x494acd=_0x447a01['UNIVER_UNKNOWN'];return _0x4bfa91[_0x6d5f23(0x2a6)](_0x59808c=>Ve(_0x3a93e8,_0x59808c)?(_0x494acd=_0x59808c,!0x0):!0x1),_0x494acd;}function Be(){const _0x7fa40e=_0x4e7d02;return Object[_0x7fa40e(0x1f8)](_0x447a01)['filter'](_0x349b6d=>typeof _0x349b6d==_0x7fa40e(0x22e));}function Ve(_0x401d2f,_0xb05bdd){const _0x49dbc1=_0x4e7d02;return F[_0xb05bdd][_0x49dbc1(0x257)](_0x299264=>(I[_0x299264]||'')[_0x49dbc1(0x29c)]())[_0x49dbc1(0x28a)](_0x401d2f[_0x49dbc1(0x29c)]());}function z(_0x372e42,_0x5a32f9=!0x1){let _0x543b3f=_0x372e42['map'](_0x5e8c50=>F[_0x5e8c50])['join'](',');return new Promise((_0x176fbd,_0x37ade1)=>{const _0x35dbe0=_0x1bf1;let _0xeafdd1=document['createElement'](_0x35dbe0(0x2af));_0xeafdd1[_0x35dbe0(0x2ad)]=_0x35dbe0(0x16c),_0xeafdd1[_0x35dbe0(0x210)]=_0x543b3f,_0xeafdd1[_0x35dbe0(0x21d)]=_0x5a32f9,_0xeafdd1[_0x35dbe0(0x2b2)](_0x35dbe0(0x223),_0x2b1f6e=>{const _0x1ba375=_0x35dbe0;let _0x2c7b00=_0x2b1f6e[_0x1ba375(0x173)];if(!_0x2c7b00[_0x1ba375(0x23b)]||_0x2c7b00['files'][_0x1ba375(0x1e5)]===0x0)throw _0x37ade1(null),Error(_0x1ba375(0x208));_0x176fbd(_0x2c7b00[_0x1ba375(0x23b)]);}),_0xeafdd1[_0x35dbe0(0x27a)]();});}async function He(_0x208d2a,_0x5630a9){const _0x35d701=_0x4e7d02;try{var _0x2d6f8b,_0x37454a,_0x37f888;let _0x38f7d8=await _0x5630a9[_0x35d701(0x205)](_0x208d2a,{'responseType':'blob'}),_0x3d1810=_0x38f7d8[_0x35d701(0x230)],_0x599dab=(_0x2d6f8b=(_0x37454a=_0x38f7d8[_0x35d701(0x27c)]['get'](_0x35d701(0x200)))==null?void 0x0:_0x37454a['join'](',\x20'))==null?_0x35d701(0x1c1):_0x2d6f8b,_0x2997ae='file.'+(I[_0x599dab]||_0x35d701(0x299)),_0x9517ae=(_0x37f888=_0x38f7d8[_0x35d701(0x27c)][_0x35d701(0x205)](_0x35d701(0x271)))==null?void 0x0:_0x37f888[_0x35d701(0x18d)](',\x20');if(_0x9517ae){let _0x489852=_0x9517ae['match'](/filename=(.+)/);_0x489852&&_0x489852[0x1]&&(_0x2997ae=_0x489852[0x1]);}else _0x2997ae=Ue(_0x208d2a)||_0x2997ae;return new File([_0x3d1810],_0x2997ae,{'type':_0x599dab});}catch(_0x5b161d){console[_0x35d701(0x166)](_0x35d701(0x1f7),_0x5b161d);return;}}function Ue(_0x486902){const _0x2eacc9=_0x4e7d02;try{return new URL(_0x486902)['pathname']['split']('/')[_0x2eacc9(0x1ea)]();}catch(_0x236195){console[_0x2eacc9(0x166)](_0x2eacc9(0x249),_0x236195);return;}}function We(_0x5d754b){const _0x22018a=_0x4e7d02;let _0x5003a6=new Blob([_0x5d754b[_0x22018a(0x25c)]],{'type':_0x22018a(0x29d)});return new File([_0x5003a6],'file.json');}function Ge(_0x21a578,_0x4519d7){const _0x2266b1=_0x4e7d02;return _0x21a578[_0x2266b1(0x240)](_0x2266b1(0x255),_0x4519d7);}function Ke(_0x19f146,_0x21d0a0){const _0x560c93=_0x4e7d02;return _0x19f146[_0x560c93(0x240)](_0x560c93(0x1bb),_0x21d0a0);}function qe(_0x45d3da,_0x24c0f4){const _0x1191a3=_0x4e7d02;return _0x45d3da[_0x1191a3(0x240)](_0x1191a3(0x23a),_0x24c0f4);}function B(_0x2b2c1a,_0x895f63){return function(_0x5e250a,_0x936e7){_0x895f63(_0x5e250a,_0x936e7,_0x2b2c1a);};}function V(_0x5dc0ce,_0x6ce447,_0x4c673,_0x3abd34){const _0x583a83=_0x4e7d02;var _0xe094d1=arguments[_0x583a83(0x1e5)],_0x131a5c=_0xe094d1<0x3?_0x6ce447:_0x3abd34===null?_0x3abd34=Object[_0x583a83(0x242)](_0x6ce447,_0x4c673):_0x3abd34,_0x2140a0;if(typeof Reflect==_0x583a83(0x20e)&&typeof Reflect[_0x583a83(0x21f)]=='function')_0x131a5c=Reflect[_0x583a83(0x21f)](_0x5dc0ce,_0x6ce447,_0x4c673,_0x3abd34);else{for(var _0x3ef548=_0x5dc0ce['length']-0x1;_0x3ef548>=0x0;_0x3ef548--)(_0x2140a0=_0x5dc0ce[_0x3ef548])&&(_0x131a5c=(_0xe094d1<0x3?_0x2140a0(_0x131a5c):_0xe094d1>0x3?_0x2140a0(_0x6ce447,_0x4c673,_0x131a5c):_0x2140a0(_0x6ce447,_0x4c673))||_0x131a5c);}return _0xe094d1>0x3&&_0x131a5c&&Object[_0x583a83(0x26c)](_0x6ce447,_0x4c673,_0x131a5c),_0x131a5c;}let H=function(_0x1e3771){const _0x189692=_0x4e7d02;return _0x1e3771[_0x1e3771[_0x189692(0x269)]=0x0]=_0x189692(0x269),_0x1e3771[_0x1e3771[_0x189692(0x23e)]=0x1]=_0x189692(0x23e),_0x1e3771[_0x1e3771[_0x189692(0x1fc)]=0x2]=_0x189692(0x1fc),_0x1e3771[_0x1e3771['UNRECOGNIZED']=-0x1]=_0x189692(0x186),_0x1e3771;}({});const U=_0x68f6a7(_0x4e7d02(0x252));let W=class{constructor(_0x9f1eb7,_0x487a21){const _0x4377d4=_0x4e7d02;this['_configService']=_0x9f1eb7,this['_httpService']=_0x487a21,E(this,_0x4377d4(0x1a8),new Set());}[_0x4e7d02(0x17a)](){}[_0x4e7d02(0x2b3)](_0x539118){const _0x1d8474=_0x4e7d02;this['_taskInterrupted'][_0x1d8474(0x1d5)](_0x539118);}[_0x4e7d02(0x161)](){const _0x3353a9=_0x4e7d02;this[_0x3353a9(0x1a8)][_0x3353a9(0x19e)]();}async['upload'](_0x152969,_0x221938=0x0,_0x4612b2=!0x1){const _0xb0b49b=_0x4e7d02;if(typeof _0x152969=='string'){let _0x4cf30b=await He(_0x152969,this['_httpService']);if(!_0x4cf30b)throw Error(_0xb0b49b(0x177));_0x152969=_0x4cf30b;}_0x221938=_0x221938||_0x152969[_0xb0b49b(0x241)];let _0x149b92=new FormData();_0x149b92[_0xb0b49b(0x1bf)](_0xb0b49b(0x16c),_0x152969);try{let _0x528be4=this[_0xb0b49b(0x17e)]()+_0xb0b49b(0x1cf)+_0x221938+_0xb0b49b(0x1e9)+_0x1e48c5[_0xb0b49b(0x1b9)]+'&flate='+_0x4612b2,_0x370508={'body':_0x149b92},_0x34291a=(await this['_httpService'][_0xb0b49b(0x1ab)](_0x528be4,_0x370508))[_0xb0b49b(0x230)];if(_0x34291a[_0xb0b49b(0x166)]&&_0x34291a[_0xb0b49b(0x166)][_0xb0b49b(0x180)]!==_0x2a7457['OK'])throw Error(this[_0xb0b49b(0x222)](_0xb0b49b(0x28b),_0x34291a[_0xb0b49b(0x166)]));return _0x34291a;}catch(_0x423dd8){throw _0x423dd8 instanceof Error?_0x423dd8:Error(this['_buildHttpErrorMessage'](_0xb0b49b(0x28b),_0x423dd8));}}async[_0x4e7d02(0x2a1)](_0x65e02f){const _0x330180=_0x4e7d02;let {fileID:_0x10c36b,type:_0x3704cb,outputType:_0x5a7a48,minSheetColumnCount:_0x51a327,minSheetRowCount:_0x4f31ef}=_0x65e02f;try{let _0x4e70e2=Ge(this['_getImportURL'](),''+_0x3704cb),_0x2f9415={'body':{'fileID':_0x10c36b,'outputType':_0x5a7a48,'minSheetColumnCount':_0x51a327,'minSheetRowCount':_0x4f31ef}},_0x27595f=(await this[_0x330180(0x1c9)][_0x330180(0x1ab)](_0x4e70e2,_0x2f9415))['body'];return _0x27595f[_0x330180(0x166)]&&_0x27595f[_0x330180(0x166)]['code']!==_0x2a7457['OK']?void 0x0:_0x27595f;}catch{return;}}async['export'](_0x194149){const _0x4fb528=_0x4e7d02;let {unitID:_0x3b9607,jsonID:_0x3a4163,type:_0x4612d0,sscSwitch:_0x8d7e9a,useImageUrl:_0x5163d6,ignoreTableExport:_0x599fd3}=_0x194149;try{let _0x37387c=Ge(this['_getExportURL'](),''+_0x4612d0),_0x422f9c={'body':{'unitID':_0x3b9607,'jsonID':_0x3a4163,'type':_0x4612d0,'sscSwitch':_0x8d7e9a,'useImageUrl':_0x5163d6,'ignoreTableExport':_0x599fd3}},_0x462ac5=(await this['_httpService'][_0x4fb528(0x1ab)](_0x37387c,_0x422f9c))[_0x4fb528(0x230)];return _0x462ac5[_0x4fb528(0x166)]&&_0x462ac5[_0x4fb528(0x166)]['code']!==_0x2a7457['OK']?void 0x0:_0x462ac5;}catch{return;}}async['getTask'](_0x3dcfd9){return new Promise((_0x4fb08c,_0x3ad437)=>{const _0x38681f=_0x1bf1;try{let _0x178153=0x0,_0x35a2b1=Ke(this[_0x38681f(0x1d0)](),''+_0x3dcfd9),_0x161022=this[_0x38681f(0x287)](),_0x34c733=async()=>{const _0xb9d379=_0x38681f;if(this[_0xb9d379(0x1a8)][_0xb9d379(0x17b)](_0x3dcfd9))return;let _0x33ae20=(await this['_httpService'][_0xb9d379(0x205)](_0x35a2b1))[_0xb9d379(0x230)];if(_0x33ae20['error']&&_0x33ae20[_0xb9d379(0x166)]['code']===_0x2a7457['OK']){if(_0x33ae20[_0xb9d379(0x266)]==='done')_0x4fb08c(_0x33ae20);else{if(_0x33ae20[_0xb9d379(0x266)]==='pending'){let _0x38097d=0x3e8;if(_0x178153>=_0x161022){_0x3ad437(_0x33ae20);return;}else _0x178153>=0x7530&&(_0x38097d=0x1388);_0x178153+=_0x38097d,setTimeout(_0x34c733,_0x38097d);}else _0x3ad437(_0x33ae20);}}else _0x3ad437(_0x33ae20);};_0x34c733();}catch(_0x4bf15f){_0x3ad437(_0x4bf15f instanceof Error?_0x4bf15f:Error(String(_0x4bf15f)));}});}async[_0x4e7d02(0x202)](_0x1bbd79){const _0x578ce8=_0x4e7d02;try{let _0x1926c5=qe(this[_0x578ce8(0x225)](),''+_0x1bbd79);return(await this[_0x578ce8(0x1c9)][_0x578ce8(0x205)](_0x1926c5))[_0x578ce8(0x230)];}catch{return;}}async[_0x4e7d02(0x261)](_0x2c31a5){const _0xa6cdb2=_0x4e7d02;try{return(await this['_httpService'][_0xa6cdb2(0x205)](_0x2c31a5,{'responseType':_0xa6cdb2(0x288)}))[_0xa6cdb2(0x230)];}catch{return;}}[_0x4e7d02(0x222)](_0x2bf930,_0x3cea3a){const _0x564c4f=_0x4e7d02;let _0x223d87=this[_0x564c4f(0x283)](_0x3cea3a);return _0x223d87?_0x2bf930+':\x20'+_0x223d87:_0x2bf930;}['_buildHttpErrorMessage'](_0x430be2,_0x19c2e1){const _0x2a417b=_0x4e7d02;if(_0x19c2e1 instanceof _0xaca049){let _0x3f53ae=typeof _0x19c2e1[_0x2a417b(0x266)]==_0x2a417b(0x22e)?''+_0x19c2e1['status']+(_0x19c2e1[_0x2a417b(0x286)]?'\x20'+_0x19c2e1['statusText']:''):void 0x0,_0x1cd074=this[_0x2a417b(0x283)](_0x19c2e1[_0x2a417b(0x166)]);return _0x3f53ae&&_0x1cd074?_0x430be2+_0x2a417b(0x192)+_0x3f53ae+'\x20-\x20'+_0x1cd074:_0x3f53ae?_0x430be2+_0x2a417b(0x192)+_0x3f53ae:_0x1cd074?_0x430be2+':\x20'+_0x1cd074:_0x430be2;}let _0x42163c=this['_extractErrorDetail'](_0x19c2e1);return _0x42163c?_0x430be2+':\x20'+_0x42163c:_0x430be2;}[_0x4e7d02(0x283)](_0x214f0a){const _0xa258b4=_0x4e7d02;if(typeof _0x214f0a==_0xa258b4(0x244)){let _0x429378=_0x214f0a[_0xa258b4(0x195)]();return _0x429378[_0xa258b4(0x1e5)]>0x0?_0x429378:void 0x0;}if(_0x214f0a instanceof Error)return this[_0xa258b4(0x283)](_0x214f0a['message']);if(!_0x214f0a||typeof _0x214f0a!='object'||Array[_0xa258b4(0x2aa)](_0x214f0a))return;let _0x30c78b=_0x214f0a,_0x2cd4bf=this['_extractErrorDetail'](_0x30c78b['message']);if(_0x2cd4bf)return _0x2cd4bf;if(_0x30c78b[_0xa258b4(0x166)]&&typeof _0x30c78b[_0xa258b4(0x166)]==_0xa258b4(0x20e)&&!Array['isArray'](_0x30c78b['error'])){let _0x7bd1=this['_extractErrorDetail'](_0x30c78b[_0xa258b4(0x166)]);if(_0x7bd1)return _0x7bd1;}}['_getUploadFileURL'](){const _0x37e4f9=_0x4e7d02;var _0x24d608;let _0x3839b9=this['_configService'][_0x37e4f9(0x254)](C);return(_0x24d608=_0x3839b9==null?void 0x0:_0x3839b9[_0x37e4f9(0x215)])==null?_0x37e4f9(0x2a9):_0x24d608;}[_0x4e7d02(0x273)](){const _0x863936=_0x4e7d02;var _0x374e9b;let _0x36c9cc=this['_configService']['getConfig'](C);return(_0x374e9b=_0x36c9cc==null?void 0x0:_0x36c9cc[_0x863936(0x21c)])==null?_0x863936(0x22a):_0x374e9b;}[_0x4e7d02(0x162)](){const _0x233837=_0x4e7d02;var _0x17e8a7;let _0x412df6=this[_0x233837(0x28c)]['getConfig'](C);return(_0x17e8a7=_0x412df6==null?void 0x0:_0x412df6[_0x233837(0x1b8)])==null?_0x233837(0x246):_0x17e8a7;}['_getTaskURL'](){const _0x57be1f=_0x4e7d02;var _0x5585ba;let _0x1907a3=this[_0x57be1f(0x28c)][_0x57be1f(0x254)](C);return(_0x5585ba=_0x1907a3==null?void 0x0:_0x1907a3[_0x57be1f(0x179)])==null?_0x57be1f(0x183):_0x5585ba;}[_0x4e7d02(0x225)](){const _0x52ec69=_0x4e7d02;var _0x33772f;let _0x1f010c=this[_0x52ec69(0x28c)][_0x52ec69(0x254)](C);return(_0x33772f=_0x1f010c==null?void 0x0:_0x1f010c[_0x52ec69(0x1db)])==null?_0x52ec69(0x1ed):_0x33772f;}['_getMaxPollingTime'](){const _0x57d413=_0x4e7d02;var _0x55eb60;let _0x2c9ff7=this['_configService']['getConfig'](C);return(_0x55eb60=_0x2c9ff7==null?void 0x0:_0x2c9ff7[_0x57d413(0x18e)])==null?0x1d4c0:_0x55eb60;}};W=V([B(0x0,_0x5025ec),B(0x1,_0x908286(_0x510ad2))],W);function Je(_0x165848){const _0x36b1b7=_0x4e7d02;let _0x20fc8e=_0x165848[_0x36b1b7(0x29a)];if(!_0x20fc8e)return null;let _0x4c802e={};_0x20fc8e[_0x36b1b7(0x296)]&&Object[_0x36b1b7(0x190)](_0x20fc8e[_0x36b1b7(0x296)])['forEach'](_0x3772ce=>{const _0x32328f=_0x36b1b7;let _0x4c0ee7=_0x20fc8e[_0x32328f(0x296)][_0x3772ce];_0x4c802e[_0x3772ce]={..._0x4c0ee7,'originalMeta':_0xf7e0a(_0x3f34df[_0x32328f(0x199)](_0x4c0ee7[_0x32328f(0x1de)]))};});let _0x4ba1cf=_0xf7e0a(_0x3f34df[_0x36b1b7(0x199)](_0x20fc8e[_0x36b1b7(0x1de)]));return{..._0x165848,'workbook':{..._0x20fc8e,'originalMeta':_0x4ba1cf,'sheets':_0x4c802e},'doc':{}};}function Ye(_0x4f2052){const _0x2e8ef1=_0x4e7d02;let _0x2e9c45=_0x4f2052[_0x2e8ef1(0x16f)];if(!_0x2e9c45)return null;let _0x366f48=_0xf7e0a(_0x3f34df[_0x2e8ef1(0x199)](_0x2e9c45[_0x2e8ef1(0x1de)]));return{..._0x4f2052,'workbook':{},'doc':{..._0x2e9c45,'originalMeta':_0x366f48}};}function Xe(_0x34d747){const _0x53e8af=_0x4e7d02;let _0x13a9ad={};return _0x34d747[_0x53e8af(0x204)](_0x4b316a=>{const _0x5fef24=_0x53e8af;_0x13a9ad[_0x4b316a['id']]={..._0x4b316a,'data':_0xf7e0a(_0x3f34df[_0x5fef24(0x199)](_0x4b316a[_0x5fef24(0x1a5)]))};}),_0x13a9ad;}async function G(_0x521881){const _0x3a7bb2=_0x4e7d02;var _0x28e7b1;let _0x55179b={'metadata':void 0x0},_0x1533b5=_0x521881['id'],_0x2e374c=(_0x28e7b1=_0x521881[_0x3a7bb2(0x1b6)])==null?0x0:_0x28e7b1,_0x8a6fa0=new et(),{snapshot:_0x5cdee6}=await _0x157656(_0x55179b,_0x521881,_0x1533b5,_0x2e374c,_0x8a6fa0),_0x10c53e=await _0x10d957(_0x5cdee6,_0x8a6fa0),_0x60ffdd=Je(_0x5cdee6);if(!_0x60ffdd)throw Error(_0x3a7bb2(0x27e));return{'snapshot':_0x60ffdd,'sheetBlocks':Xe(_0x10c53e)};}async function Ze(_0x38da00){const _0x48187b=_0x4e7d02;var _0x80cbae;let _0x33193d={'metadata':void 0x0},_0x5f28b0=_0x38da00['id'],{snapshot:_0x56135b}=await _0x430a1b(_0x33193d,_0x38da00,_0x5f28b0,(_0x80cbae=_0x38da00[_0x48187b(0x1b6)])==null?0x0:_0x80cbae,new et()),_0x5e0849=Ye(_0x56135b);if(!_0x5e0849)throw Error(_0x48187b(0x27e));return{'snapshot':_0x5e0849,'sheetBlocks':{}};}async function Qe(_0x113c84){const _0x5e163f=_0x4e7d02;let _0x684ab7=_0x113c84[_0x5e163f(0x1c7)],_0x2ac785=_0x113c84['sheetBlocks'];return await _0x3f788f(_0x684ab7,Object[_0x5e163f(0x190)](_0x2ac785)['map'](_0x4ae93f=>_0x2ac785[_0x4ae93f])['map'](_0x4f1c4e=>({..._0x4f1c4e,'data':_0x4f1c4e[_0x5e163f(0x1a5)]?JSON[_0x5e163f(0x272)](_0x37c34f(_0x4f1c4e[_0x5e163f(0x1a5)])):void 0x0})));}function $e(_0x21c5a5){const _0x544aa7=_0x4e7d02;let _0x11021f=_0x21c5a5[_0x544aa7(0x1c7)];return _0xa52bea(_0x11021f);}var et=class{constructor(){E(this,'_sheetBlockCache',new Map());}[_0x4e7d02(0x276)](){const _0x396f3e=_0x4e7d02;return Promise[_0x396f3e(0x24a)]({'snapshot':{'unitID':'','type':_0x447a01[_0x396f3e(0x19d)],'rev':0x0,'workbook':void 0x0,'doc':void 0x0},'changesets':[],'error':{'code':_0x2a7457['OK'],'message':''}});}[_0x4e7d02(0x1a9)](_0x15c700,_0x350686){const _0x352858=_0x4e7d02;let _0x5a1f56=this[_0x352858(0x221)][_0x352858(0x205)](_0x350686[_0x352858(0x279)]);return Promise[_0x352858(0x24a)]({'block':_0x5a1f56,'error':{'code':_0x2a7457['OK'],'message':''}});}[_0x4e7d02(0x29b)](_0x1c37f2,_0x543009){const _0x1af9e6=_0x4e7d02;let _0xaec767=this['_sheetBlockCache']['get'](_0x543009[_0x1af9e6(0x279)]);return Promise[_0x1af9e6(0x24a)]({'block':_0xaec767===void 0x0?void 0x0:{..._0xaec767,'data':JSON[_0x1af9e6(0x272)](_0x3f34df[_0x1af9e6(0x199)](_0xaec767[_0x1af9e6(0x1a5)]))},'error':{'code':_0x2a7457['OK'],'message':''}});}[_0x4e7d02(0x198)](){const _0xee9944=_0x4e7d02;return Promise[_0xee9944(0x24a)]({'changesets':[],'error':{'code':_0x2a7457['OK'],'message':''}});}[_0x4e7d02(0x262)](){const _0x3a84fc=_0x4e7d02;return Promise[_0x3a84fc(0x24a)]({'resources':{},'error':{'code':_0x2a7457['OK'],'message':''}});}['saveSnapshot'](){const _0x4b5d57=_0x4e7d02;return Promise[_0x4b5d57(0x24a)]({'error':{'code':_0x2a7457['OK'],'message':''}});}[_0x4e7d02(0x18a)](){const _0x2a7446=_0x4e7d02;return Promise[_0x2a7446(0x24a)]({'error':{'code':_0x2a7457['OK'],'message':''}});}[_0x4e7d02(0x189)](_0x5977cf,_0x574e07){const _0x369eb6=_0x4e7d02;let {block:_0x91e6c9}=_0x574e07;return _0x91e6c9?(this['_sheetBlockCache'][_0x369eb6(0x17f)](_0x91e6c9['id'],_0x91e6c9),Promise['resolve']({'error':{'code':_0x2a7457['OK'],'message':''},'blockID':_0x91e6c9['id']})):Promise[_0x369eb6(0x24a)]({'error':{'code':_0x2a7457[_0x369eb6(0x269)],'message':'block\x20is\x20required'},'blockID':''});}[_0x4e7d02(0x1f6)](){const _0x47e742=_0x4e7d02;return Promise[_0x47e742(0x24a)]({'error':{'code':_0x2a7457['OK'],'message':''},'concurrent':[]});}['copyFileMeta'](){const _0x33d8e0=_0x4e7d02;return Promise[_0x33d8e0(0x24a)]({'error':void 0x0,'fileMetaId':''});}[_0x4e7d02(0x191)](){const _0x4e5c02=_0x4e7d02;return Promise[_0x4e5c02(0x24a)]({'error':void 0x0,'latestReqID':0x0});}};let K=function(_0x2623c2){const _0x1afd4f=_0x4e7d02;return _0x2623c2[_0x2623c2[_0x1afd4f(0x235)]=0x0]=_0x1afd4f(0x235),_0x2623c2[_0x2623c2['IMPORT']=0x1]=_0x1afd4f(0x228),_0x2623c2[_0x2623c2['EXPORT']=0x2]=_0x1afd4f(0x284),_0x2623c2[_0x2623c2[_0x1afd4f(0x18b)]=0x3]=_0x1afd4f(0x18b),_0x2623c2[_0x2623c2[_0x1afd4f(0x1d8)]=0x4]='SIGN_URL',_0x2623c2[_0x2623c2[_0x1afd4f(0x275)]=0x5]=_0x1afd4f(0x275),_0x2623c2[_0x2623c2[_0x1afd4f(0x278)]=0x6]='GET_FILE',_0x2623c2;}({});const q=_0x68f6a7(_0x4e7d02(0x274));let J=class extends _0x4dabd8{constructor(_0x1b51a7,_0x21c509,_0xffe3fc){const _0x13184d=_0x4e7d02;super(),this[_0x13184d(0x28c)]=_0x1b51a7,this[_0x13184d(0x1c9)]=_0x21c509,this[_0x13184d(0x1ce)]=_0xffe3fc,E(this,_0x13184d(0x280),null),E(this,'_requestState$',new _0x547b21()),E(this,_0x13184d(0x264),this[_0x13184d(0x2ac)][_0x13184d(0x17d)]());}[_0x4e7d02(0x17a)](){const _0x30a53b=_0x4e7d02;super[_0x30a53b(0x17a)](),this['_requestState$'][_0x30a53b(0x1cd)]();}async['importDOCXToSnapshot'](_0x44551a){const _0x463af0=_0x4e7d02;let _0x1e3c81=await this['_importToSnapshot'](_0x44551a,_0x447a01[_0x463af0(0x169)]);if(!_0x1e3c81||!_0x1e3c81[_0x463af0(0x1c7)])return;let _0x5db15a=$e(_0x1e3c81);if(_0x5db15a)return _0x5db15a;}async[_0x4e7d02(0x1f0)](_0x495cc7){return this['_export'](_0x495cc7,H['UNIT'],_0x447a01['UNIVER_DOC']);}async[_0x4e7d02(0x181)](_0x8f9c24){const _0x3a1d60=_0x4e7d02;let _0x15531b=await Ze(_0x8f9c24);return this[_0x3a1d60(0x19a)](_0x15531b,_0x447a01[_0x3a1d60(0x169)]);}async['importXLSXToSnapshot'](_0x3c4092){const _0x26cebd=_0x4e7d02;let _0x56e8d7=await this[_0x26cebd(0x2a3)](_0x3c4092,_0x447a01[_0x26cebd(0x19d)]);if(!_0x56e8d7)return;let _0x41b548=await Qe(_0x56e8d7);if(_0x41b548)return _0x41b548;}async['exportXLSXByUnitId'](_0x540eb3){const _0x1d3089=_0x4e7d02;return this[_0x1d3089(0x25d)](_0x540eb3,H[_0x1d3089(0x23e)],_0x447a01[_0x1d3089(0x19d)]);}async[_0x4e7d02(0x26a)](_0x34f589){const _0x13579=_0x4e7d02;let _0x4482f8=await G(_0x34f589);return this[_0x13579(0x19a)](_0x4482f8,_0x447a01['UNIVER_SHEET']);}async[_0x4e7d02(0x212)](_0x1ce940,_0x1cd0ba){const _0x2b9081=_0x4e7d02;var _0x2bf64c,_0x490e9c;let _0x16d82a=await this['_upload'](_0x1ce940);if(!_0x16d82a)return;let _0x35287f=await this['_import'](_0x16d82a,H['UNIT'],_0x1cd0ba);if(!_0x35287f)return;this[_0x2b9081(0x280)]=_0x35287f,this[_0x2b9081(0x1ce)][_0x2b9081(0x161)]();let _0x2284fa=await this[_0x2b9081(0x1ce)]['getTask'](_0x35287f)[_0x2b9081(0x1f1)](_0x40fc63=>{const _0x3070c2=_0x2b9081;var _0xbdc4cf;let _0x571352=_0x40fc63 instanceof Error?_0x40fc63[_0x3070c2(0x27d)]:(_0xbdc4cf=_0x40fc63[_0x3070c2(0x166)])==null?void 0x0:_0xbdc4cf[_0x3070c2(0x27d)];this['_requestState$'][_0x3070c2(0x24d)]({'error':{'code':_0x2a7457[_0x3070c2(0x186)],'message':_0x571352||''},'state':K['GET_TASK']});});if(!_0x2284fa)return;let _0x3e109b=(_0x2bf64c=_0x2284fa[_0x2b9081(0x2a1)])==null?void 0x0:_0x2bf64c[_0x2b9081(0x1fd)],_0x17c2f6=((_0x490e9c=_0x2284fa['import'])==null?void 0x0:_0x490e9c[_0x2b9081(0x2a2)])||'';if(_0x3e109b!==H['UNIT']){this[_0x2b9081(0x2ac)][_0x2b9081(0x24d)]({'error':{'code':_0x2a7457[_0x2b9081(0x186)],'message':_0x2b9081(0x237)},'state':K[_0x2b9081(0x18b)]});return;}if(_0x17c2f6[_0x2b9081(0x1e5)]===0x0){this['_requestState$']['next']({'error':{'code':_0x2a7457[_0x2b9081(0x186)],'message':_0x2b9081(0x167)},'state':K[_0x2b9081(0x18b)]});return;}return this[_0x2b9081(0x2ac)][_0x2b9081(0x24d)]({'error':_0x2284fa['error'],'state':K[_0x2b9081(0x18b)]}),_0x17c2f6;}async[_0x4e7d02(0x1ac)](_0x167e6a){const _0x4282ed=_0x4e7d02;let _0x42d02b=await G(_0x167e6a),_0x4f19c6=typeof _0x167e6a['id']==_0x4282ed(0x244)&&_0x167e6a['id'][_0x4282ed(0x195)]()?_0x167e6a['id']['trim']()+_0x4282ed(0x184):'workbook.json',_0x426f0f=new File([JSON[_0x4282ed(0x22c)](_0x42d02b)],_0x4f19c6,{'type':'application/json'});return this[_0x4282ed(0x212)](_0x426f0f,_0x447a01[_0x4282ed(0x19d)]);}['interruptImportTask'](){const _0x28f0b8=_0x4e7d02;this[_0x28f0b8(0x280)]&&this[_0x28f0b8(0x1ce)][_0x28f0b8(0x2b3)](this['_importTaskId']);}async[_0x4e7d02(0x2a3)](_0x49a917,_0x1398f7){const _0x5d4575=_0x4e7d02;var _0x231478,_0x52ec95;let _0x589492=await this[_0x5d4575(0x29f)](_0x49a917);if(!_0x589492)return;let _0x455bf6=await this[_0x5d4575(0x1d7)](_0x589492,H['JSON'],_0x1398f7);if(!_0x455bf6)return;this['_importTaskId']=_0x455bf6,this['_requestService'][_0x5d4575(0x161)]();let _0x384699=await this[_0x5d4575(0x1ce)]['getTask'](_0x455bf6)[_0x5d4575(0x1f1)](_0x1b8128=>{const _0x2ddce4=_0x5d4575;var _0x34f132;let _0x4e1205=_0x1b8128 instanceof Error?_0x1b8128[_0x2ddce4(0x27d)]:(_0x34f132=_0x1b8128['error'])==null?void 0x0:_0x34f132[_0x2ddce4(0x27d)];this[_0x2ddce4(0x2ac)]['next']({'error':{'code':_0x2a7457[_0x2ddce4(0x186)],'message':_0x4e1205||''},'state':K[_0x2ddce4(0x18b)]});});if(!_0x384699)return;let _0x2206fd=(_0x231478=_0x384699[_0x5d4575(0x2a1)])==null?void 0x0:_0x231478[_0x5d4575(0x1fd)],_0x31661b=((_0x52ec95=_0x384699['import'])==null?void 0x0:_0x52ec95[_0x5d4575(0x1c8)])||'';if(_0x2206fd!==H[_0x5d4575(0x1fc)]){this[_0x5d4575(0x2ac)][_0x5d4575(0x24d)]({'error':{'code':_0x2a7457[_0x5d4575(0x186)],'message':_0x5d4575(0x237)},'state':K[_0x5d4575(0x18b)]});return;}if(_0x31661b[_0x5d4575(0x1e5)]===0x0){this[_0x5d4575(0x2ac)][_0x5d4575(0x24d)]({'error':{'code':_0x2a7457[_0x5d4575(0x186)],'message':_0x5d4575(0x1c0)},'state':K['GET_TASK']});return;}this['_requestState$'][_0x5d4575(0x24d)]({'error':_0x384699[_0x5d4575(0x166)],'state':K[_0x5d4575(0x18b)]});let _0x5240fe=await this[_0x5d4575(0x160)](_0x31661b);if(!_0x5240fe)return;let _0x38494c=await this[_0x5d4575(0x1ce)][_0x5d4575(0x261)](_0x5240fe);if(!_0x38494c){this[_0x5d4575(0x2ac)][_0x5d4575(0x24d)]({'error':{'code':_0x2a7457[_0x5d4575(0x186)],'message':_0x5d4575(0x1dd)},'state':K['GET_JSON']});return;}try{let _0x387bc8=JSON['parse'](_0x38494c);return this[_0x5d4575(0x2ac)][_0x5d4575(0x24d)]({'error':{'code':_0x2a7457['OK'],'message':'success'},'state':K[_0x5d4575(0x275)]}),_0x387bc8;}catch{this['_requestState$'][_0x5d4575(0x24d)]({'error':{'code':_0x2a7457[_0x5d4575(0x186)],'message':_0x5d4575(0x24b)},'state':K['GET_JSON']});}}async[_0x4e7d02(0x19a)](_0x29c477,_0x5c1c45){const _0x38b164=_0x4e7d02;let _0x2b5619=JSON[_0x38b164(0x22c)](_0x29c477),_0x3f0c8c=_0x324fe9['deflateRaw'](_0x2b5619),_0x1dd495=_0x127474['encode'](_0x2b5619)[_0x38b164(0x1e5)],_0x46a342=We(_0x3f0c8c),_0x1971f0=await this[_0x38b164(0x29f)](_0x46a342,_0x1dd495,!0x0);if(_0x1971f0)return this['_export'](_0x1971f0,H['JSON'],_0x5c1c45);}async[_0x4e7d02(0x25d)](_0x28cb14,_0x4b7040,_0xb0a44d){const _0x33e12e=_0x4e7d02;var _0x1e12d2;let _0x28fdcc=await this[_0x33e12e(0x1ce)]['export']({'unitID':_0x4b7040===H[_0x33e12e(0x23e)]?_0x28cb14:'','jsonID':_0x4b7040===H['JSON']?_0x28cb14:'','type':_0xb0a44d,'sscSwitch':this[_0x33e12e(0x176)](),'useImageUrl':this['_getDisableCellImageConversion'](),'ignoreTableExport':this[_0x33e12e(0x24f)]()});if(!_0x28fdcc){this['_requestState$'][_0x33e12e(0x24d)]({'error':{'code':_0x2a7457[_0x33e12e(0x186)],'message':_0x33e12e(0x201)},'state':K['EXPORT']});return;}if(this[_0x33e12e(0x2ac)]['next']({'error':_0x28fdcc[_0x33e12e(0x166)],'state':K[_0x33e12e(0x284)]}),_0x28fdcc['error']&&_0x28fdcc[_0x33e12e(0x166)]['code']!==_0x2a7457['OK'])return;let _0xaef32f=_0x28fdcc[_0x33e12e(0x2a7)],_0x576784=await this[_0x33e12e(0x1ce)][_0x33e12e(0x267)](_0xaef32f)['catch'](_0x2a400b=>{const _0x42a96c=_0x33e12e;var _0x5737cc;let _0x349e90=_0x2a400b instanceof Error?_0x2a400b['message']:(_0x5737cc=_0x2a400b[_0x42a96c(0x166)])==null?void 0x0:_0x5737cc[_0x42a96c(0x27d)];this[_0x42a96c(0x2ac)]['next']({'error':{'code':_0x2a7457[_0x42a96c(0x186)],'message':_0x349e90||''},'state':K[_0x42a96c(0x18b)]});});if(!_0x576784)return;let _0x58b122=((_0x1e12d2=_0x576784[_0x33e12e(0x1e0)])==null?void 0x0:_0x1e12d2[_0x33e12e(0x29e)])||'';if(_0x58b122[_0x33e12e(0x1e5)]===0x0){this['_requestState$'][_0x33e12e(0x24d)]({'error':{'code':_0x2a7457[_0x33e12e(0x186)],'message':_0x33e12e(0x16a)},'state':K[_0x33e12e(0x18b)]});return;}this[_0x33e12e(0x2ac)][_0x33e12e(0x24d)]({'error':_0x576784['error'],'state':K[_0x33e12e(0x18b)]});let _0x2b8a66=await this[_0x33e12e(0x160)](_0x58b122);if(!_0x2b8a66)return;let _0x210279=await He(_0x2b8a66,this[_0x33e12e(0x1c9)]);if(!_0x210279){this[_0x33e12e(0x2ac)]['next']({'error':{'code':_0x2a7457[_0x33e12e(0x186)],'message':_0x33e12e(0x2ae)},'state':K[_0x33e12e(0x278)]});return;}return this['_requestState$'][_0x33e12e(0x24d)]({'error':{'code':_0x2a7457['OK'],'message':_0x33e12e(0x1e6)},'state':K[_0x33e12e(0x278)]}),_0x210279;}async[_0x4e7d02(0x29f)](_0x4d7a5b,_0x3c5060,_0x51df4f){const _0x45b6aa=_0x4e7d02;let _0x4a177d;try{_0x4a177d=await this[_0x45b6aa(0x1ce)][_0x45b6aa(0x1eb)](_0x4d7a5b,_0x3c5060,_0x51df4f);}catch(_0x1eb659){let _0x2a1c8e=_0x1eb659 instanceof Error?_0x1eb659[_0x45b6aa(0x27d)]:String(_0x1eb659);this[_0x45b6aa(0x2ac)][_0x45b6aa(0x24d)]({'error':{'code':_0x2a7457[_0x45b6aa(0x186)],'message':_0x2a1c8e},'state':K[_0x45b6aa(0x235)]});return;}if(!_0x4a177d||typeof _0x4a177d[_0x45b6aa(0x25b)]!=_0x45b6aa(0x244)){this[_0x45b6aa(0x2ac)][_0x45b6aa(0x24d)]({'error':{'code':_0x2a7457[_0x45b6aa(0x186)],'message':_0x45b6aa(0x245)},'state':K[_0x45b6aa(0x235)]});return;}let _0x28c3b9=_0x4a177d['FileId'];if(_0x28c3b9['length']===0x0){this[_0x45b6aa(0x2ac)][_0x45b6aa(0x24d)]({'error':{'code':_0x2a7457['UNRECOGNIZED'],'message':_0x45b6aa(0x16d)},'state':K[_0x45b6aa(0x235)]});return;}return this[_0x45b6aa(0x2ac)][_0x45b6aa(0x24d)]({'error':{'code':_0x2a7457['OK'],'message':_0x45b6aa(0x1e6)},'state':K[_0x45b6aa(0x235)]}),_0x28c3b9;}async['_import'](_0x400005,_0x4ac95c,_0x4eea7d){const _0x7f154f=_0x4e7d02;let _0x45e1eb={'fileID':_0x400005,'type':_0x4eea7d,'outputType':_0x4ac95c,'fileUrl':'','minSheetRowCount':this[_0x7f154f(0x20a)](),'minSheetColumnCount':this[_0x7f154f(0x1a2)]()},_0x8b0820=await this['_requestService'][_0x7f154f(0x2a1)](_0x45e1eb);if(!_0x8b0820){this[_0x7f154f(0x2ac)][_0x7f154f(0x24d)]({'error':{'code':_0x2a7457[_0x7f154f(0x186)],'message':_0x7f154f(0x172)},'state':K[_0x7f154f(0x228)]});return;}if(_0x8b0820[_0x7f154f(0x166)]&&_0x8b0820[_0x7f154f(0x166)]['code']!==_0x2a7457['OK']){this[_0x7f154f(0x2ac)]['next']({'error':_0x8b0820['error'],'state':K[_0x7f154f(0x228)]});return;}let _0x174d80=_0x8b0820['taskID'];if(_0x174d80[_0x7f154f(0x1e5)]===0x0){this[_0x7f154f(0x2ac)][_0x7f154f(0x24d)]({'error':{'code':_0x2a7457[_0x7f154f(0x186)],'message':_0x7f154f(0x1a6)},'state':K[_0x7f154f(0x228)]});return;}return this[_0x7f154f(0x2ac)][_0x7f154f(0x24d)]({'error':_0x8b0820['error'],'state':K[_0x7f154f(0x228)]}),_0x174d80;}async['_signUrl'](_0x5009b8){const _0x5d4b92=_0x4e7d02;let _0x5ccb96=await this[_0x5d4b92(0x1ce)][_0x5d4b92(0x202)](_0x5009b8);if(!_0x5ccb96){this[_0x5d4b92(0x2ac)][_0x5d4b92(0x24d)]({'error':{'code':_0x2a7457[_0x5d4b92(0x186)],'message':_0x5d4b92(0x1ef)},'state':K[_0x5d4b92(0x1d8)]});return;}if(_0x5ccb96[_0x5d4b92(0x166)]&&_0x5ccb96[_0x5d4b92(0x166)][_0x5d4b92(0x180)]!==_0x2a7457['OK']){this[_0x5d4b92(0x2ac)][_0x5d4b92(0x24d)]({'error':_0x5ccb96[_0x5d4b92(0x166)],'state':K[_0x5d4b92(0x1d8)]});return;}let _0x4bd975=_0x5b46d2(_0x5ccb96[_0x5d4b92(0x256)],this['_getDownloadEndpointURL']());if(_0x4bd975[_0x5d4b92(0x1e5)]===0x0){this[_0x5d4b92(0x2ac)][_0x5d4b92(0x24d)]({'error':{'code':_0x2a7457['UNRECOGNIZED'],'message':'sign\x20url\x20error'},'state':K[_0x5d4b92(0x1d8)]});return;}return this[_0x5d4b92(0x2ac)][_0x5d4b92(0x24d)]({'error':_0x5ccb96['error'],'state':K[_0x5d4b92(0x1d8)]}),_0x4bd975;}[_0x4e7d02(0x268)](){const _0x562f14=_0x4e7d02;var _0x34b529;let _0x1fb43a=this[_0x562f14(0x28c)][_0x562f14(0x254)](C);return(_0x34b529=_0x1fb43a==null?void 0x0:_0x1fb43a[_0x562f14(0x291)])==null?location[_0x562f14(0x1fa)]:_0x34b529;}[_0x4e7d02(0x20a)](){const _0x333cd8=_0x4e7d02;var _0x38ea57,_0xa74b9e;let _0x398cab=this[_0x333cd8(0x28c)][_0x333cd8(0x254)](C);return(_0x38ea57=_0x398cab==null||(_0xa74b9e=_0x398cab['options'])==null?void 0x0:_0xa74b9e[_0x333cd8(0x25a)])==null?0x1:_0x38ea57;}[_0x4e7d02(0x1a2)](){const _0x562524=_0x4e7d02;var _0x772698,_0x4a5012;let _0x32deb9=this[_0x562524(0x28c)][_0x562524(0x254)](C);return(_0x772698=_0x32deb9==null||(_0x4a5012=_0x32deb9[_0x562524(0x16b)])==null?void 0x0:_0x4a5012[_0x562524(0x1ff)])==null?0x1:_0x772698;}[_0x4e7d02(0x176)](){const _0x1b0a8e=_0x4e7d02;var _0x3b3f77,_0x3d1d18;let _0x14488b=this[_0x1b0a8e(0x28c)]['getConfig'](C);return(_0x3b3f77=_0x14488b==null||(_0x3d1d18=_0x14488b[_0x1b0a8e(0x16b)])==null?void 0x0:_0x3d1d18[_0x1b0a8e(0x187)])==null?!0x1:_0x3b3f77;}['_getDisableCellImageConversion'](){const _0x18adab=_0x4e7d02;var _0x415c0f,_0x331838;let _0x4f797a=this[_0x18adab(0x28c)][_0x18adab(0x254)](C);return(_0x415c0f=_0x4f797a==null||(_0x331838=_0x4f797a[_0x18adab(0x16b)])==null?void 0x0:_0x331838[_0x18adab(0x1f5)])==null?!0x0:_0x415c0f;}[_0x4e7d02(0x24f)](){const _0x119909=_0x4e7d02;var _0x755aab,_0x1b8271;let _0x4bfd19=this[_0x119909(0x28c)][_0x119909(0x254)](C);return(_0x755aab=_0x4bfd19==null||(_0x1b8271=_0x4bfd19[_0x119909(0x16b)])==null?void 0x0:_0x1b8271[_0x119909(0x18c)])==null?!0x1:_0x755aab;}};J=V([B(0x0,_0x5025ec),B(0x1,_0x908286(_0x510ad2)),B(0x2,_0x908286(U))],J);const tt={'done':0x0,'count':0x0},Y=_0x68f6a7(_0x4e7d02(0x216));let X=class extends _0x4dabd8{constructor(_0x3f3561,_0x1738ea,_0x13a76e,_0x1cb7ac,_0x61c93a,_0xd3b5b4){const _0x401589=_0x4e7d02;super(),this['_univerInstanceService']=_0x3f3561,this['_messageService']=_0x1738ea,this['_localeService']=_0x13a76e,this[_0x401589(0x227)]=_0x1cb7ac,this[_0x401589(0x22d)]=_0x61c93a,this['_logService']=_0xd3b5b4,E(this,'_progress$',new _0x24b703(tt)),E(this,_0x401589(0x1ae),this[_0x401589(0x1a7)][_0x401589(0x17d)]()),E(this,'_totalUploadTaskCount',0x0),E(this,_0x401589(0x263),0x0),this[_0x401589(0x1b7)](_0x32473d(this['_exchangeService'][_0x401589(0x264)][_0x401589(0x2ab)](_0x33e2a0=>{const _0x2c3a00=_0x401589;var _0x53b17b;((_0x53b17b=_0x33e2a0[_0x2c3a00(0x166)])==null?void 0x0:_0x53b17b['code'])===_0x2a7457['OK']?this[_0x2c3a00(0x2a0)](0x1):this[_0x2c3a00(0x2b7)](_0x33e2a0[_0x2c3a00(0x166)]);})));}['interrupt'](){const _0x4bbb5c=_0x4e7d02;this[_0x4bbb5c(0x213)](),this[_0x4bbb5c(0x22d)]['updateState'](D[_0x4bbb5c(0x1b5)]),this[_0x4bbb5c(0x227)]['interruptImportTask']();}async['uploadFileToUnitId'](_0x281c8e){const _0x2773c1=_0x4e7d02;throw Error(_0x2773c1(0x203));}async[_0x4e7d02(0x165)](){const _0x4ce7c6=_0x4e7d02;let _0x427a23=await z([_0x447a01[_0x4ce7c6(0x169)]]);if(_0x427a23&&!this['_fileTypeError'](_0x427a23,_0x447a01['UNIVER_DOC']))return this['_importFileToUnitId'](_0x427a23[0x0],_0x447a01[_0x4ce7c6(0x169)]);}[_0x4e7d02(0x1c6)](){const _0x3e0f2f=_0x4e7d02;throw Error(_0x3e0f2f(0x203));}async[_0x4e7d02(0x1f0)](_0x5c0ecf,_0x203f81,_0x31bbd3){const _0x1aff31=_0x4e7d02;this[_0x1aff31(0x1e2)](_0x4fd874[_0x1aff31(0x219)]);let _0x1ddcc1=await this[_0x1aff31(0x227)][_0x1aff31(0x1f0)](_0x5c0ecf||this[_0x1aff31(0x2a8)]());_0x1ddcc1&&(L(_0x1ddcc1,_0x203f81||this['_getUnitName'](_0x1ddcc1),'docx'),this[_0x1aff31(0x1e2)](_0x4fd874[_0x1aff31(0x281)]));}async['exportDOCXBySnapshot'](){const _0x1d5826=_0x4e7d02;this[_0x1d5826(0x1e2)](_0x4fd874[_0x1d5826(0x219)]);let _0x57749d=await this[_0x1d5826(0x27b)](),_0x26a6ed=await this[_0x1d5826(0x227)][_0x1d5826(0x181)](_0x57749d);_0x26a6ed&&(L(_0x26a6ed,this[_0x1d5826(0x1e4)](_0x26a6ed),_0x1d5826(0x22b)),this[_0x1d5826(0x1e2)](_0x4fd874['Success']));}async[_0x4e7d02(0x297)](){const _0x5ca208=_0x4e7d02;if(this[_0x5ca208(0x2b8)]()){this[_0x5ca208(0x1bd)][_0x5ca208(0x18f)]({'type':_0x4fd874['Warning'],'content':this[_0x5ca208(0x174)]['t']('exchange.uploading')});return;}let _0x12234a=await z([_0x447a01[_0x5ca208(0x19d)]]);if(_0x12234a&&!this[_0x5ca208(0x1b0)](_0x12234a,_0x447a01[_0x5ca208(0x19d)]))return this['_importFileToUnitId'](_0x12234a[0x0],_0x447a01['UNIVER_SHEET']);}async[_0x4e7d02(0x2b1)](){const _0xef0e11=_0x4e7d02;if(this[_0xef0e11(0x2b8)]()){this[_0xef0e11(0x1bd)]['show']({'type':_0x4fd874[_0xef0e11(0x19c)],'content':this[_0xef0e11(0x174)]['t']('exchange.uploading')});return;}let _0x13c6e8=await z([_0x447a01[_0xef0e11(0x19d)]]);if(!_0x13c6e8)return;this[_0xef0e11(0x258)](_0x4fd874[_0xef0e11(0x219)]);let _0x44f2fe=await this[_0xef0e11(0x227)][_0xef0e11(0x2b1)](_0x13c6e8[0x0]);_0x44f2fe&&(this['_refresh'](_0x44f2fe),this[_0xef0e11(0x258)](_0x4fd874[_0xef0e11(0x281)]));}async[_0x4e7d02(0x214)](_0x1fc0f4,_0x937e1,_0x26f252){const _0x2a385c=_0x4e7d02;this[_0x2a385c(0x1e2)](_0x4fd874['Info']);let _0xd5de8e=await this[_0x2a385c(0x227)]['exportXLSXByUnitId'](_0x1fc0f4||this['_getUnitID']());_0xd5de8e&&(L(_0xd5de8e,_0x937e1||this[_0x2a385c(0x1e4)](_0xd5de8e),_0x2a385c(0x299)),this['_showDownloadMessage'](_0x4fd874[_0x2a385c(0x281)]));}async[_0x4e7d02(0x26a)](){const _0xd0a332=_0x4e7d02;this[_0xd0a332(0x1e2)](_0x4fd874['Info']);let _0x8118c0=await this['_getUnitJson'](),_0x296313=await this[_0xd0a332(0x227)][_0xd0a332(0x26a)](_0x8118c0);_0x296313&&(L(_0x296313,this[_0xd0a332(0x1e4)](_0x296313),_0xd0a332(0x299)),this[_0xd0a332(0x1e2)](_0x4fd874[_0xd0a332(0x281)]));}[_0x4e7d02(0x292)](_0x3e373f){this['_getLinkByUnitId']=_0x3e373f;}async[_0x4e7d02(0x282)](_0x5a44fe,_0x37d308){const _0x13ddcf=_0x4e7d02;this[_0x13ddcf(0x22d)][_0x13ddcf(0x18f)](),this[_0x13ddcf(0x22d)][_0x13ddcf(0x28f)](D[_0x13ddcf(0x25f)]),this['_addTotalCount'](0x4),this['_addDoneTask'](0x1);let _0x4ce107=await this['_exchangeService']['importFileToUnitId'](_0x5a44fe,_0x37d308);if(!_0x4ce107){this[_0x13ddcf(0x213)](),this[_0x13ddcf(0x22d)][_0x13ddcf(0x28f)](D['ERROR']);return;}let _0x369a2e={'link':this[_0x13ddcf(0x19b)](_0x4ce107,_0x37d308),'name':_0x5a44fe[_0x13ddcf(0x1c5)],'type':_0x37d308};return this[_0x13ddcf(0x22d)]['pushLink'](_0x369a2e),this[_0x13ddcf(0x234)](),this[_0x13ddcf(0x22d)][_0x13ddcf(0x28f)](D[_0x13ddcf(0x1b2)]),_0x4ce107;}[_0x4e7d02(0x1c2)](){const _0x465702=_0x4e7d02;return this['_univerInstanceService']['getCurrentUnitOfType'](_0x1bc29d[_0x465702(0x19d)])['getUnitId']();}['_getUnitIDDoc'](){const _0x44bff3=_0x4e7d02;return this['_univerInstanceService'][_0x44bff3(0x25e)](_0x1bc29d[_0x44bff3(0x169)])[_0x44bff3(0x253)]();}['_getUnitName'](_0x53b5c8){const _0x1e585c=_0x4e7d02;var _0x45db2c;return((_0x45db2c=this[_0x1e585c(0x17c)][_0x1e585c(0x25e)](_0x1bc29d['UNIVER_SHEET']))==null?void 0x0:_0x45db2c[_0x1e585c(0x1c5)])||_0x53b5c8[_0x1e585c(0x1c5)]['split']('.')['shift']()||document[_0x1e585c(0x231)];}async['_getUnitJson'](){const _0x105d7c=_0x4e7d02;return this[_0x105d7c(0x17c)][_0x105d7c(0x25e)](_0x1bc29d[_0x105d7c(0x19d)])[_0x105d7c(0x23f)]();}async[_0x4e7d02(0x27b)](){const _0xcd25ab=_0x4e7d02;return this[_0xcd25ab(0x17c)]['getCurrentUnitOfType'](_0x1bc29d[_0xcd25ab(0x169)])['getSnapshot']();}[_0x4e7d02(0x19b)](_0x5de843,_0x237e20){const _0x2c0ce2=_0x4e7d02;let _0x416696=new URL(window[_0x2c0ce2(0x1f4)][_0x2c0ce2(0x259)]);return _0x416696['searchParams']['set'](_0x2c0ce2(0x26d),_0x5de843),_0x416696[_0x2c0ce2(0x168)][_0x2c0ce2(0x17f)](_0x2c0ce2(0x2ad),''+_0x237e20),_0x416696['toString']();}[_0x4e7d02(0x1b4)](_0x42ff0d){const _0x284f26=_0x4e7d02;let _0x3f2ac1=this[_0x284f26(0x17c)][_0x284f26(0x197)](_0x1bc29d[_0x284f26(0x19d)])[_0x284f26(0x253)]();this['_univerInstanceService'][_0x284f26(0x207)](_0x3f2ac1),this['_univerInstanceService'][_0x284f26(0x1bc)](_0x1bc29d[_0x284f26(0x19d)],_0x42ff0d);}[_0x4e7d02(0x2b7)](_0x2079e1){const _0x11bbc6=_0x4e7d02;if(_0x2079e1){let {code:_0x580446}=_0x2079e1;switch(_0x580446){case _0x2a7457[_0x11bbc6(0x22f)]:this[_0x11bbc6(0x1bd)][_0x11bbc6(0x18f)]({'type':_0x4fd874[_0x11bbc6(0x290)],'content':this[_0x11bbc6(0x174)]['t'](_0x11bbc6(0x1d3))});break;case _0x2a7457[_0x11bbc6(0x1f9)]:this[_0x11bbc6(0x1bd)]['show']({'type':_0x4fd874[_0x11bbc6(0x290)],'content':this[_0x11bbc6(0x174)]['t']('exchange.internalError')});break;default:this[_0x11bbc6(0x1bd)][_0x11bbc6(0x18f)]({'type':_0x4fd874[_0x11bbc6(0x290)],'content':this[_0x11bbc6(0x174)]['t'](_0x11bbc6(0x1df))});break;}return null;}return this[_0x11bbc6(0x1bd)]['show']({'type':_0x4fd874[_0x11bbc6(0x290)],'content':this[_0x11bbc6(0x174)]['t'](_0x11bbc6(0x1df))}),null;}[_0x4e7d02(0x1e2)](_0x1a5b55){const _0xd6e56a=_0x4e7d02;let _0x4023ef='';switch(_0x1a5b55){case _0x4fd874[_0xd6e56a(0x281)]:_0x4023ef=this[_0xd6e56a(0x174)]['t'](_0xd6e56a(0x1ba));break;case _0x4fd874['Info']:_0x4023ef=this[_0xd6e56a(0x174)]['t']('exchange.downloading');break;default:break;}this['_messageService'][_0xd6e56a(0x18f)]({'type':_0x1a5b55,'content':_0x4023ef});}['_showUploadMessage'](_0x550238){const _0x47d301=_0x4e7d02;let _0x266054='';switch(_0x550238){case _0x4fd874[_0x47d301(0x281)]:_0x266054=this[_0x47d301(0x174)]['t'](_0x47d301(0x285));break;case _0x4fd874[_0x47d301(0x219)]:_0x266054=this['_localeService']['t'](_0x47d301(0x2b5));break;default:break;}this[_0x47d301(0x1bd)][_0x47d301(0x18f)]({'type':_0x550238,'content':_0x266054});}[_0x4e7d02(0x270)](){const _0x37f622=_0x4e7d02;this[_0x37f622(0x1a7)][_0x37f622(0x24d)]({'done':this[_0x37f622(0x263)],'count':this['_totalUploadTaskCount']});}[_0x4e7d02(0x26e)](_0x3ab947){const _0x5742c3=_0x4e7d02;this[_0x5742c3(0x196)]+=_0x3ab947,this['_emitProgress']();}[_0x4e7d02(0x2a0)](_0x555ea4){const _0x59b835=_0x4e7d02;this['_doneUploadTaskCount']+=_0x555ea4,this[_0x59b835(0x263)]=Math[_0x59b835(0x1b1)](this[_0x59b835(0x263)],this[_0x59b835(0x196)]),this['_emitProgress']();}['_completeProgress'](){const _0xbc8cb4=_0x4e7d02;this[_0xbc8cb4(0x263)]=this[_0xbc8cb4(0x196)],this[_0xbc8cb4(0x270)]();}[_0x4e7d02(0x213)](){const _0x4a7a64=_0x4e7d02;this['_doneUploadTaskCount']=0x0,this[_0x4a7a64(0x196)]=0x0,this[_0x4a7a64(0x270)]();}[_0x4e7d02(0x1b0)](_0x2a67b1,_0x1b6d51){const _0x2bfd7d=_0x4e7d02;let _0x51cfb=_0x2a67b1[0x0],_0x423009=_0x51cfb[_0x2bfd7d(0x1c5)];return R(_0x51cfb)===_0x1b6d51?!0x1:(this['_messageService']['show']({'type':_0x4fd874[_0x2bfd7d(0x290)],'content':this['_localeService']['t'](_0x2bfd7d(0x295),_0x423009)}),!0x0);}[_0x4e7d02(0x2b8)](){const _0x407e16=_0x4e7d02;return this[_0x407e16(0x196)]!==0x0&&this['_doneUploadTaskCount']!==this[_0x407e16(0x196)];}};X=V([B(0x0,_0x908286(_0x4d1513)),B(0x1,_0x424672),B(0x2,_0x908286(_0x55c46a)),B(0x3,_0x908286(q)),B(0x4,_0x908286(O)),B(0x5,_0x291954)],X);function _0x1bf1(_0x12f7e0,_0x6ce24c){_0x12f7e0=_0x12f7e0-0x160;const _0x1235d6=_0x1235();let _0x1bf122=_0x1235d6[_0x12f7e0];return _0x1bf122;}function nt(_0x157fbd){const _0x1c9d9a=_0x4e7d02;let {onClick:_0x125485,children:_0x8a20cb,className:_0xc4936b}=_0x157fbd;return _0x4e5966(_0x1c9d9a(0x1ad),{'className':_0x3cfa8c(_0x1c9d9a(0x209),_0xc4936b),'type':_0x1c9d9a(0x1ad),'onClick':_0x125485,'children':_0x8a20cb});}function rt(){const _0x4b4dea=_0x4e7d02;let _0x305e9e=_0x4ff9f3(Y),_0xaed0e6=_0x4ff9f3(_0x55c46a);function _0x41e769(){const _0x5997a3=_0x1bf1;_0x305e9e[_0x5997a3(0x297)]();}return _0x4e5966(nt,{'onClick':_0x41e769,'children':_0xaed0e6['t'](_0x4b4dea(0x1ee))});}function _0x1235(){const _0x3cd130=['exportXLSXBySnapshot','exchange.cancel','defineProperty','unit','_addTotalCount','appendChild','_emitProgress','content-disposition','parse','_getImportURL','univer-pro.exchange-client.exchange.service','GET_JSON','getUnitOnRev','span','GET_FILE','blockID','click','_getUnitDocJson','headers','message','Failed\x20to\x20transform\x20snapshot\x20to\x20string','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','_importTaskId','Success','_importFileToUnitId','_extractErrorDetail','EXPORT','exchange.uploadSuccess','statusText','_getMaxPollingTime','text','1489628tBsaTO','includes','upload\x20request\x20failed','_configService','0.20.0','_uiPartsService','updateState','Error','downloadEndpointUrl','registerLink','61876738xNDGkr','@univerjs-pro/exchange-client','exchange.fileTypeError','sheets','importXLSXToUnitId','_config','xlsx','workbook','getDeserializedSheetBlock','toLowerCase','application/json','fileID','_upload','_addDoneTask','import','unitID','_importToSnapshot','pluginName','div','some','taskID','_getUnitIDDoc','/universer-api/stream/file/upload','isArray','subscribe','_requestState$','type','Failed\x20to\x20get\x20file\x20from\x20url','input','univer-mt-3\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-2\x20univer-pr-1','importXLSXToSnapshot','addEventListener','setTaskInterrupted','createObjectURL','exchange.uploading','toPrimitive','_showNetworkError','_uploadTaskNotDone','_signUrl','clearTaskInterrupted','_getExportURL','_state$','createElement','importDOCXToUnitId','error','Failed\x20to\x20get\x20unitID\x20from\x20task','searchParams','UNIVER_DOC','Failed\x20to\x20get\x20fileID\x20from\x20task','options','file','upload\x20failed:\x20FileId\x20is\x20empty','packageName','doc','xlsm','CONTENT','import\x20error','currentTarget','_localeService','univer-mt-5\x20univer-flex\x20univer-flex-col','_getEnableServerSideComputing','upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url','7681968LscJTf','getTaskServerUrl','dispose','has','_univerInstanceService','asObservable','_getUploadFileURL','set','code','exportDOCXBySnapshot','1863870PwEheI','/universer-api/exchange/task/{taskID}','.json','exchange.interrupt','UNRECOGNIZED','enableServerSideComputing','version','saveSheetBlock','updateSnapshot','GET_TASK','ignoreTableExport','join','maxTimeoutTime','show','keys','getLatestCsReqIdBySid',':\x20HTTP\x20','pptx','univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','trim','_totalUploadTaskCount','getCurrentUnitForType','fetchMissingChangesets','decode','_exportBySnapshot','_getLinkByUnitId','Warning','UNIVER_SHEET','clear','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','symbol','revokeObjectURL','_getMinSheetColumnCount','20LAclsC','UNIVER_SLIDE','data','Failed\x20to\x20get\x20taskID\x20from\x20import\x20response','_progress$','_taskInterrupted','getSheetBlock','setConfig','post','importWorkbookDataToUnitId','button','progress$','registerComponent','_fileTypeError','min','SUCCESS','application/vnd.openxmlformats-officedocument.presentationml.presentation','_refresh','ERROR','rev','disposeWithMe','exportServerUrl','HttpImport','exchange.downloadSuccess','{taskID}','createUnit','_messageService','_list','append','Failed\x20to\x20get\x20jsonID\x20from\x20task','application/octet-stream','_getUnitID','univer-text-green-500','univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','name','importDOCXToSnapshot','snapshot','jsonID','_httpService','14xbAKTE','univer-mb-3\x20univer-py-0\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','display','complete','_requestService','?size=','_getTaskURL','UNIVER_UNKNOWN','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2','exchange.tooLarge','univer-pro.exchange-client.upload-notification.service','add','univer-text-red-500','_import','SIGN_URL','call','exchange.unknownMistake','signUrlServerUrl','_injector','Failed\x20to\x20get\x20text\x20from\x20url','originalMeta','exchange.networkError','export','UNIVER_EXCHANGE_CLIENT_PLUGIN','_showDownloadMessage','none','_getUnitName','length','success','onStarting','exchange-client.config','&source=','pop','upload','univer-ml-1.5\x20univer-font-semibold\x20univer-leading-6\x20univer-text-gray-900\x20dark:!univer-text-white','/universer-api/file/{fileID}/sign-url','exchange.uploadAgain','sign\x20url\x20error','exportDOCXByUnitId','catch','univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','location','disableCellImageConversion','saveChangeset','Error\x20fetching\x20file\x20from\x20URL:','values','INTERNAL_ERROR','origin','UNIVER_PROJECT','JSON','outputType','iterator','minSheetColumnCount','Content-Type','export\x20error','signUrl','Method\x20not\x20implemented.','forEach','get','univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden','disposeUnit','No\x20file\x20selected','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','_getMinSheetRowCount','state$','81ktoNYg','unsubscribe','object','490175IUHsaI','accept','univer-flex\x20univer-h-5\x20univer-text-xl','importFileToUnitId','_clearProgress','exportXLSXByUnitId','uploadFileServerUrl','univer-pro.exchange-client.operate.service','1852110eSfqts','pushLink','Info','application/vnd.ms-excel.sheet.macroEnabled.12','application/vnd.openxmlformats-officedocument.spreadsheetml.template','importServerUrl','multiple','hide','decorate','exchange.wait','_sheetBlockCache','_buildProtocolErrorMessage','change','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','_getSignURL','link','_exchangeService','IMPORT','visible$','/universer-api/exchange/{type}/import','docx','stringify','_uploadNotificationService','number','CONNECTOR_DATA_TOO_LARGE','body','title','removeChild','download','_completeProgress','UPLOAD','application/vnd.openxmlformats-officedocument.wordprocessingml.document','Get\x20outputType\x20error','list$','_registerComponents','{fileID}','files','341655SJWtPx','univer-h-6\x20univer-text-2xl','UNIT','getSnapshot','replace','size','getOwnPropertyDescriptor','18rRtkct','string','upload\x20failed:\x20missing\x20FileId\x20in\x20response','/universer-api/exchange/{type}/export','constructor','style','Error\x20getting\x20file\x20name\x20from\x20URL:','resolve','Failed\x20to\x20parse\x20json','univer-pl-2\x20univer-pr-4','next','univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','_getIgnoreTableExport','_visible$','prototype','univer-pro.exchange-client.request.service','getUnitId','getConfig','{type}','url','map','_showUploadMessage','href','minSheetRowCount','FileId','buffer','_export','getCurrentUnitOfType','UPLOADING','noreferrer','getTextFromUrl','getResourcesRequest','_doneUploadTaskCount','requestState$','_list$','status','getTask','_getDownloadEndpointURL','UNDEFINED'];_0x1235=function(){return _0x3cd130;};return _0x1235();}function it(){const _0x4dfd19=_0x4e7d02;return _0x569e90(_0x4dfd19(0x2a5),{'className':_0x4dfd19(0x175),'children':[_0x4e5966(_0x4dfd19(0x277),{'className':_0x4dfd19(0x1cb),'children':_0x4ff9f3(_0x55c46a)['t'](_0x4dfd19(0x185))}),_0x4e5966(rt,{})]});}function at(_0x1c89fe){const _0x4f665e=_0x4e7d02;let {count:_0x4af436}=_0x1c89fe;return _0x569e90(_0x4f665e(0x2a5),{'className':_0x4f665e(0x2b0),'children':[_0x4e5966('span',{'className':'univer-text-sm\x20univer-text-gray-500','children':_0x4ff9f3(_0x55c46a)['t']('exchange.uploadSuccessTip',''+_0x4af436)}),_0x4e5966(rt,{})]});}function ot(){const _0xcfe287=_0x4e7d02;let _0x369adf=_0x4ff9f3(Y),_0xffae04=_0x4ff9f3(_0x55c46a);function _0x1cca6c(){_0x369adf['interrupt']();}return _0x4e5966(nt,{'onClick':_0x1cca6c,'children':_0xffae04['t'](_0xcfe287(0x26b))});}function st(){const _0x399898=_0x4e7d02;let {count:_0x580725,done:_0x54c9f3}=_0x53a383(_0x4ff9f3(Y)['progress$']),[_0xfbc593,_0x5e901c]=_0x1978fb(_0x580725>0x0?_0x54c9f3/_0x580725:0x0);return _0x5887d4(()=>{_0x5e901c(_0x580725>0x0?_0x54c9f3/_0x580725:0x0);},[_0x580725,_0x54c9f3]),_0x4e5966(_0x399898(0x2a5),{'className':'univer-mx-0\x20univer-mb-3\x20univer-mt-4\x20univer-h-1.5\x20univer-w-[324px]\x20univer-rounded-lg\x20univer-bg-gray-200','children':_0x4e5966('div',{'className':_0x399898(0x1f2),'style':{'width':Math['floor'](_0xfbc593*0x64)+'%'}})});}function ct(){const _0x36eb74=_0x4e7d02;return _0x569e90(_0x36eb74(0x2a5),{'className':_0x36eb74(0x175),'children':[_0x4e5966(_0x36eb74(0x277),{'className':_0x36eb74(0x24e),'children':_0x4ff9f3(_0x55c46a)['t'](_0x36eb74(0x220))}),_0x4e5966(_0x36eb74(0x2a5),{'className':_0x36eb74(0x24c),'children':_0x4e5966(st,{})}),_0x4e5966(ot,{})]});}const lt={[D[_0x4e7d02(0x1b2)]]:_0x4e5966(_0x14387e,{'className':_0x4e7d02(0x1c3)}),[D[_0x4e7d02(0x25f)]]:_0x4e5966(_0x4d8ddb,{'className':'univer-text-blue-500'}),[D['ERROR']]:_0x4e5966(_0xa9d3c4,{'className':_0x4e7d02(0x1d6)})};function ut(){const _0x331ce5=_0x4e7d02;let [_0x3afb6e,_0x23629b]=_0x1978fb(D[_0x331ce5(0x25f)]),[_0x52610f,_0x205a80]=_0x1978fb(!0x1),[_0x118222,_0x84c344]=_0x1978fb([]),_0x4099f6=_0x4ff9f3(O),_0x3ab5c0=_0x4ff9f3(_0x55c46a);_0x5887d4(()=>{const _0x30a457=_0x331ce5;let _0x32e605=_0x4099f6['visible$']['subscribe'](_0xf694c8=>{_0x205a80(_0xf694c8);}),_0x2ad105=_0x4099f6[_0x30a457(0x238)][_0x30a457(0x2ab)](_0x195030=>{_0x84c344(_0x195030);}),_0xaf880c=_0x4099f6[_0x30a457(0x20b)][_0x30a457(0x2ab)](_0x541dfa=>{_0x23629b(_0x541dfa);});return()=>{const _0x66c94b=_0x30a457;_0x32e605[_0x66c94b(0x20d)](),_0x2ad105['unsubscribe'](),_0xaf880c[_0x66c94b(0x20d)]();};},[]);function _0x59dd9d(){_0x205a80(!0x1);}function _0x321702(_0x21c3cb){const _0x65a107=_0x331ce5;switch(_0x21c3cb){case D[_0x65a107(0x1b2)]:return _0x3ab5c0['t'](_0x65a107(0x285));case D[_0x65a107(0x25f)]:return _0x3ab5c0['t'](_0x65a107(0x2b5));case D[_0x65a107(0x1b5)]:return _0x3ab5c0['t'](_0x65a107(0x1da));default:return'';}}return _0x52610f&&_0x569e90(_0x331ce5(0x2a5),{'className':_0x331ce5(0x19f),'children':[_0x569e90(_0x331ce5(0x2a5),{'className':_0x331ce5(0x1d2),'children':[_0x569e90(_0x331ce5(0x277),{'className':'univer-flex','children':[_0x4e5966(_0x331ce5(0x277),{'className':_0x331ce5(0x23d),'children':lt[_0x3afb6e]}),_0x4e5966(_0x331ce5(0x277),{'className':_0x331ce5(0x1ec),'children':_0x321702(_0x3afb6e)})]}),_0x4e5966('span',{'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':_0x59dd9d,'children':_0x4e5966(_0x37f2e6,{})})]}),_0x569e90(_0x331ce5(0x2a5),{'children':[_0x3afb6e===D[_0x331ce5(0x25f)]&&_0x4e5966(ct,{}),_0x3afb6e===D[_0x331ce5(0x1b5)]&&_0x4e5966(it,{}),_0x118222[_0x331ce5(0x1e5)]>0x0&&_0x4e5966(Re,{'list':_0x118222}),_0x3afb6e===D[_0x331ce5(0x1b2)]&&_0x4e5966(at,{'count':_0x118222['length']})]})]});}function Z(){return _0x4e5966(ut,{});}let Q=class extends _0x4dabd8{constructor(_0x423c3e,_0x331bd9){const _0x1b23a5=_0x4e7d02;super(),this['_injector']=_0x423c3e,this[_0x1b23a5(0x28e)]=_0x331bd9,this[_0x1b23a5(0x239)]();}[_0x4e7d02(0x239)](){const _0x358a9a=_0x4e7d02;this[_0x358a9a(0x1b7)](this[_0x358a9a(0x28e)][_0x358a9a(0x1af)](_0x1766fa[_0x358a9a(0x171)],()=>_0x193867(Z,this[_0x358a9a(0x1dc)])));}};Q=V([B(0x0,_0x908286(_0x35c7ff)),B(0x1,_0x33db00)],Q);let $=class extends _0x2bf09b{constructor(_0x19d15a=w,_0x374f3f,_0xcc1126){const _0x3608c8=_0x4e7d02;super(),this[_0x3608c8(0x298)]=_0x19d15a,this[_0x3608c8(0x1dc)]=_0x374f3f,this['_configService']=_0xcc1126;let {..._0x39f29f}=_0x401368({},w,this[_0x3608c8(0x298)]);this[_0x3608c8(0x28c)][_0x3608c8(0x1aa)](C,_0x39f29f);}[_0x4e7d02(0x1e7)](){const _0xf30427=_0x4e7d02;_0x25b5d2(this[_0xf30427(0x1dc)],[[Q],[Y,{'useClass':X}],[q,{'useClass':J}],[U,{'useClass':W}],[O,{'useClass':k}]]);}['onReady'](){_0x5084bc(this['_injector'],[[Q],[Y]]);}};E($,_0x4e7d02(0x2a4),_0x4e7d02(0x1e1)),E($,_0x4e7d02(0x16e),Pe),E($,_0x4e7d02(0x188),Fe),$=V([_0x820998(_0x5ba4d7,_0x409b54),B(0x1,_0x908286(_0x35c7ff)),B(0x2,_0x5025ec)],$);export{C as EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY,X as ExchangeOperateService,J as ExchangeService,Y as IExchangeOperateService,q as IExchangeService,U as IRequestService,O as IUploadNotificationService,W as RequestService,$ as UniverExchangeClientPlugin,Z as UploadNotificationContainer,k as UploadNotificationService,D as UploadNotificationState,L as downloadFile,R as getUniverTypeByFile,z as getUploadFile,Ze as transformDocumentDataToSnapshotJson,$e as transformSnapshotJsonToDocumentData,Qe as transformSnapshotJsonToWorkbookData,G as transformWorkbookDataToSnapshotJson};
|
package/lib/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x5803(){const _0x40115d=['10gzIubX','Please\x20wait...','Cancel','{0}\x20file(s)\x20uploaded\x20successfully','Internal\x20unknown\x20error','Downloading','1RKYbAP','6636XKTDFR','7168iwNAWP','Uploading','File\x20uploaded\x20successfully','Unknown\x20mistake','8CszmJr','9gqkRto','8932360MnEgzE','Data\x20is\x20too\x20large','22096282pIslrL','2016552ZRgVPA','File','10399741yBRJDz','186015FvWYql','2355270pXswnC','12pQDKfz'];_0x5803=function(){return _0x40115d;};return _0x5803();}const _0x2773b7=_0x30ca;(function(_0x48de9c,_0x343980){const _0x3a36e6=_0x30ca,_0x7f55b2=_0x48de9c();while(!![]){try{const _0x733af2=-parseInt(_0x3a36e6(0x1d6))/0x1*(-parseInt(_0x3a36e6(0x1e1))/0x2)+parseInt(_0x3a36e6(0x1e4))/0x3*(-parseInt(_0x3a36e6(0x1dc))/0x4)+parseInt(_0x3a36e6(0x1e5))/0x5+-parseInt(_0x3a36e6(0x1d7))/0x6*(parseInt(_0x3a36e6(0x1d8))/0x7)+parseInt(_0x3a36e6(0x1de))/0x8*(parseInt(_0x3a36e6(0x1dd))/0x9)+-parseInt(_0x3a36e6(0x1e7))/0xa*(-parseInt(_0x3a36e6(0x1e3))/0xb)+parseInt(_0x3a36e6(0x1e6))/0xc*(-parseInt(_0x3a36e6(0x1e0))/0xd);if(_0x733af2===_0x343980)break;else _0x7f55b2['push'](_0x7f55b2['shift']());}catch(_0x5ae8f){_0x7f55b2['push'](_0x7f55b2['shift']());}}}(_0x5803,0x8ed4e));function _0x30ca(_0x4e35c8,_0x32b287){_0x4e35c8=_0x4e35c8-0x1d5;const _0x5803de=_0x5803();let _0x30ca93=_0x5803de[_0x4e35c8];return _0x30ca93;}const e={'exchange':{'file':_0x2773b7(0x1e2),'upload':'Open(File)','download':'Save\x20As','uploading':_0x2773b7(0x1d9),'uploadSuccess':_0x2773b7(0x1da),'uploadSuccessTip':_0x2773b7(0x1ea),'downloading':_0x2773b7(0x1d5),'downloadSuccess':'Download\x20success','unknownMistake':_0x2773b7(0x1db),'networkError':'Network\x20error','tooLarge':_0x2773b7(0x1df),'internalError':_0x2773b7(0x1eb),'interrupt':'The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','fileTypeError':'Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','wait':_0x2773b7(0x1e8),'cancel':_0x2773b7(0x1e9),'uploadAgain':'Upload\x20again'}};export{e as default};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x902b0a=_0xb0e2;function _0x563f(){const _0x52055b=['The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','Save\x20As','Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','Downloading','26254503SFFFKo','Download\x20success','326555ARVqLO','9150lndZpE','1210gwhtdx','4487rThADK','Cancel','78579PYnyRB','Network\x20error','4dSvuOi','Uploading','Internal\x20unknown\x20error','1454neVjgC','792039qahoTP','Unknown\x20mistake','6622168CUeiqb','File\x20uploaded\x20successfully','861BAFdSf','File','Upload\x20again'];_0x563f=function(){return _0x52055b;};return _0x563f();}(function(_0x5a6035,_0x853b37){const _0x139452=_0xb0e2,_0x2aac7c=_0x5a6035();while(!![]){try{const _0x186250=-parseInt(_0x139452(0x1e3))/0x1+-parseInt(_0x139452(0x1e2))/0x2*(-parseInt(_0x139452(0x1cf))/0x3)+-parseInt(_0x139452(0x1df))/0x4*(parseInt(_0x139452(0x1d8))/0x5)+parseInt(_0x139452(0x1d9))/0x6*(-parseInt(_0x139452(0x1db))/0x7)+parseInt(_0x139452(0x1e5))/0x8+parseInt(_0x139452(0x1dd))/0x9*(-parseInt(_0x139452(0x1da))/0xa)+parseInt(_0x139452(0x1d6))/0xb;if(_0x186250===_0x853b37)break;else _0x2aac7c['push'](_0x2aac7c['shift']());}catch(_0x55a454){_0x2aac7c['push'](_0x2aac7c['shift']());}}}(_0x563f,0x81d9b));const e={'exchange':{'file':_0x902b0a(0x1d0),'upload':'Open(File)','download':_0x902b0a(0x1d3),'uploading':_0x902b0a(0x1e0),'uploadSuccess':_0x902b0a(0x1e6),'uploadSuccessTip':'{0}\x20file(s)\x20uploaded\x20successfully','downloading':_0x902b0a(0x1d5),'downloadSuccess':_0x902b0a(0x1d7),'unknownMistake':_0x902b0a(0x1e4),'networkError':_0x902b0a(0x1de),'tooLarge':'Data\x20is\x20too\x20large','internalError':_0x902b0a(0x1e1),'interrupt':_0x902b0a(0x1d2),'fileTypeError':_0x902b0a(0x1d4),'wait':'Please\x20wait...','cancel':_0x902b0a(0x1dc),'uploadAgain':_0x902b0a(0x1d1)}};function _0xb0e2(_0x25a683,_0x4f159d){_0x25a683=_0x25a683-0x1cf;const _0x563fb8=_0x563f();let _0xb0e2e2=_0x563fb8[_0x25a683];return _0xb0e2e2;}export{e as default};
|
package/lib/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x5217(){const _0x591e0e=['Download\x20success','Cancel','44940550qiDbSA','3ZAWGyt','Upload\x20again','Save\x20As','14135202tMjRoh','Uploading','Data\x20is\x20too\x20large','923990pTLqGl','5416ujDfgZ','6305548bVDYth','Open(File)','{0}\x20file(s)\x20uploaded\x20successfully','Downloading','6993zEtjAH','96485ENtPgo','741282SSSyVW','18ouOOyU'];_0x5217=function(){return _0x591e0e;};return _0x5217();}function _0x1663(_0x5712d3,_0x1bdbb3){_0x5712d3=_0x5712d3-0x156;const _0x52177d=_0x5217();let _0x1663c5=_0x52177d[_0x5712d3];return _0x1663c5;}const _0x54c2c4=_0x1663;(function(_0x520779,_0x12454f){const _0x3b68fd=_0x1663,_0x1e6d11=_0x520779();while(!![]){try{const _0x2fb6ea=parseInt(_0x3b68fd(0x168))/0x1+-parseInt(_0x3b68fd(0x160))/0x2+parseInt(_0x3b68fd(0x15a))/0x3*(-parseInt(_0x3b68fd(0x162))/0x4)+-parseInt(_0x3b68fd(0x167))/0x5*(parseInt(_0x3b68fd(0x156))/0x6)+-parseInt(_0x3b68fd(0x166))/0x7*(parseInt(_0x3b68fd(0x161))/0x8)+-parseInt(_0x3b68fd(0x15d))/0x9+parseInt(_0x3b68fd(0x159))/0xa;if(_0x2fb6ea===_0x12454f)break;else _0x1e6d11['push'](_0x1e6d11['shift']());}catch(_0x2d8f9c){_0x1e6d11['push'](_0x1e6d11['shift']());}}}(_0x5217,0xd9d03));const e={'exchange':{'file':'File','upload':_0x54c2c4(0x163),'download':_0x54c2c4(0x15c),'uploading':_0x54c2c4(0x15e),'uploadSuccess':'File\x20uploaded\x20successfully','uploadSuccessTip':_0x54c2c4(0x164),'downloading':_0x54c2c4(0x165),'downloadSuccess':_0x54c2c4(0x157),'unknownMistake':'Unknown\x20mistake','networkError':'Network\x20error','tooLarge':_0x54c2c4(0x15f),'internalError':'Internal\x20unknown\x20error','interrupt':'The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','fileTypeError':'Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','wait':'Please\x20wait...','cancel':_0x54c2c4(0x158),'uploadAgain':_0x54c2c4(0x15b)}};export{e as default};
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x31fc(_0x8b2162,_0x421be8){_0x8b2162=_0x8b2162-0x1c1;const _0x218f49=_0x218f();let _0x31fccc=_0x218f49[_0x8b2162];return _0x31fccc;}const _0xce605a=_0x31fc;(function(_0x53fc4b,_0x222ba4){const _0x5a9889=_0x31fc,_0x23bfd4=_0x53fc4b();while(!![]){try{const _0x24fcd8=-parseInt(_0x5a9889(0x1d4))/0x1*(parseInt(_0x5a9889(0x1cf))/0x2)+parseInt(_0x5a9889(0x1c4))/0x3+parseInt(_0x5a9889(0x1d6))/0x4+parseInt(_0x5a9889(0x1c1))/0x5+-parseInt(_0x5a9889(0x1cc))/0x6*(-parseInt(_0x5a9889(0x1d5))/0x7)+-parseInt(_0x5a9889(0x1c9))/0x8*(-parseInt(_0x5a9889(0x1d8))/0x9)+parseInt(_0x5a9889(0x1c7))/0xa*(-parseInt(_0x5a9889(0x1d7))/0xb);if(_0x24fcd8===_0x222ba4)break;else _0x23bfd4['push'](_0x23bfd4['shift']());}catch(_0x40bf18){_0x23bfd4['push'](_0x23bfd4['shift']());}}}(_0x218f,0xe5fe1));function _0x218f(){const _0x46ff9f=['{0}\x20فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','1339716LUTyMG','بارگذاری\x20مجدد','لطفا\x20صبر\x20کنید...','10DhAJqP','فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','13468256ySJoXk','اتصال\x20شبکه\x20قطع\x20شد\x20و\x20بارگذاری\x20فایل\x20ناموفق\x20بود.','بازکردن(فایل)','2517204eWuWEt','ذخیره\x20به\x20عنوان','خطای\x20ناشناخته','1393000tJDYyT','در\x20حال\x20بارگذاری','لغو','دانلود\x20موفقیت\x20آمیز','خطای\x20شبکه','2frHlux','21NbSdRK','7243596jyJbGw','50502947ZTGNNb','9TWaSWW','8633105nNpvWt','فایل'];_0x218f=function(){return _0x46ff9f;};return _0x218f();}const e={'exchange':{'file':_0xce605a(0x1c2),'upload':_0xce605a(0x1cb),'download':_0xce605a(0x1cd),'uploading':_0xce605a(0x1d0),'uploadSuccess':_0xce605a(0x1c8),'uploadSuccessTip':_0xce605a(0x1c3),'downloading':'در\x20حال\x20دانلود','downloadSuccess':_0xce605a(0x1d2),'unknownMistake':_0xce605a(0x1ce),'networkError':_0xce605a(0x1d3),'tooLarge':'داده\x20خیلی\x20بزرگ\x20است','internalError':'خطای\x20داخلی\x20ناشناخته','interrupt':_0xce605a(0x1ca),'fileTypeError':'فایل\x20انتخاب\x20شده\x20[{0}]\x20برای\x20بارگذاری\x20پشتیبانی\x20نمیشود','wait':_0xce605a(0x1c6),'cancel':_0xce605a(0x1d1),'uploadAgain':_0xce605a(0x1c5)}};export{e as default};
|
package/lib/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x5090a8=_0x591d;(function(_0x572292,_0xa46f09){const _0x266de5=_0x591d,_0x3895e0=_0x572292();while(!![]){try{const _0x564d7a=parseInt(_0x266de5(0x18d))/0x1+parseInt(_0x266de5(0x194))/0x2*(-parseInt(_0x266de5(0x18f))/0x3)+-parseInt(_0x266de5(0x19e))/0x4+parseInt(_0x266de5(0x196))/0x5*(parseInt(_0x266de5(0x198))/0x6)+-parseInt(_0x266de5(0x19b))/0x7+parseInt(_0x266de5(0x18e))/0x8+-parseInt(_0x266de5(0x1a2))/0x9;if(_0x564d7a===_0xa46f09)break;else _0x3895e0['push'](_0x3895e0['shift']());}catch(_0x12302b){_0x3895e0['push'](_0x3895e0['shift']());}}}(_0x1fd6,0x84699));function _0x1fd6(){const _0x386ef6=['La\x20connexion\x20réseau\x20a\x20été\x20interrompue\x20et\x20le\x20téléchargement\x20du\x20fichier\x20a\x20échoué','3271555cjMfzK','Enregistrer\x20sous','Fichier\x20téléchargé\x20avec\x20succès','1460368dSjhgX','Télécharger\x20à\x20nouveau','Annuler','Téléchargement\x20réussi','4837545EWJMUk','Erreur\x20inconnue','Le\x20fichier\x20sélectionné\x20[{0}]\x20n\x27est\x20pas\x20pris\x20en\x20charge\x20pour\x20le\x20téléchargement','878146xgfuAl','5379832dFTQrf','168888ONeaGC','Les\x20données\x20sont\x20trop\x20volumineuses','{0}\x20fichier(s)\x20téléchargé(s)\x20avec\x20succès','Téléchargement','Fichier','2ZitEYP','Téléchargement\x20en\x20cours','5MivYBL','Ouvrir\x20(Fichier)','2507964qeeIKW','Erreur\x20réseau'];_0x1fd6=function(){return _0x386ef6;};return _0x1fd6();}function _0x591d(_0x1ec599,_0x12f219){_0x1ec599=_0x1ec599-0x18d;const _0x1fd64a=_0x1fd6();let _0x591ddc=_0x1fd64a[_0x1ec599];return _0x591ddc;}const e={'exchange':{'file':_0x5090a8(0x193),'upload':_0x5090a8(0x197),'download':_0x5090a8(0x19c),'uploading':_0x5090a8(0x195),'uploadSuccess':_0x5090a8(0x19d),'uploadSuccessTip':_0x5090a8(0x191),'downloading':_0x5090a8(0x192),'downloadSuccess':_0x5090a8(0x1a1),'unknownMistake':_0x5090a8(0x1a3),'networkError':_0x5090a8(0x199),'tooLarge':_0x5090a8(0x190),'internalError':'Erreur\x20interne\x20inconnue','interrupt':_0x5090a8(0x19a),'fileTypeError':_0x5090a8(0x1a4),'wait':'Veuillez\x20patienter...','cancel':_0x5090a8(0x1a0),'uploadAgain':_0x5090a8(0x19f)}};export{e as default};
|
package/lib/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x2d2e21=_0x5a93;function _0x5a93(_0x28adc7,_0x972b36){_0x28adc7=_0x28adc7-0x1c7;const _0x52b2a5=_0x52b2();let _0x5a937c=_0x52b2a5[_0x28adc7];return _0x5a937c;}(function(_0x66c51d,_0x2b2059){const _0x599f8b=_0x5a93,_0xb77c0e=_0x66c51d();while(!![]){try{const _0x10c3f9=parseInt(_0x599f8b(0x1ce))/0x1+parseInt(_0x599f8b(0x1dd))/0x2+-parseInt(_0x599f8b(0x1cc))/0x3+parseInt(_0x599f8b(0x1d1))/0x4*(parseInt(_0x599f8b(0x1c8))/0x5)+parseInt(_0x599f8b(0x1cd))/0x6+-parseInt(_0x599f8b(0x1d9))/0x7*(parseInt(_0x599f8b(0x1dc))/0x8)+-parseInt(_0x599f8b(0x1c7))/0x9*(-parseInt(_0x599f8b(0x1cb))/0xa);if(_0x10c3f9===_0x2b2059)break;else _0xb77c0e['push'](_0xb77c0e['shift']());}catch(_0x2f43d0){_0xb77c0e['push'](_0xb77c0e['shift']());}}}(_0x52b2,0x59989));const e={'exchange':{'file':_0x2d2e21(0x1de),'upload':_0x2d2e21(0x1d4),'download':_0x2d2e21(0x1d3),'uploading':_0x2d2e21(0x1ca),'uploadSuccess':_0x2d2e21(0x1d2),'uploadSuccessTip':_0x2d2e21(0x1c9),'downloading':_0x2d2e21(0x1d7),'downloadSuccess':_0x2d2e21(0x1da),'unknownMistake':'不明なエラー','networkError':'ネットワークエラー','tooLarge':_0x2d2e21(0x1d5),'internalError':'内部エラーが発生しました','interrupt':_0x2d2e21(0x1d8),'fileTypeError':_0x2d2e21(0x1db),'wait':_0x2d2e21(0x1d0),'cancel':_0x2d2e21(0x1d6),'uploadAgain':_0x2d2e21(0x1cf)}};function _0x52b2(){const _0x3eeb70=['アップロード中','10wmQFHI','2149194pQTyQT','3549030iecapK','227145wwOIhc','再度アップロード','お待ちください...','37852YXOCEP','ファイルが正常にアップロードされました','名前を付けて保存','開く(ファイル)','データが大きすぎます','キャンセル','ダウンロード中','ネットワーク接続が中断され、ファイルのアップロードに失敗しました','11998znVisd','ダウンロードが完了しました','選択されたファイル\x20[{0}]\x20はアップロードがサポートされていません','424QrbaoZ','174664qvkeYq','ファイル','1732851EORdhe','40VTIxTi','{0}\x20個のファイルが正常にアップロードされました'];_0x52b2=function(){return _0x3eeb70;};return _0x52b2();}export{e as default};
|
package/lib/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x1016(){const _0x146efd=['504VCBvVR','다시\x20업로드','252nSuygm','62224kfzrid','열기(파일)','잠시만\x20기다려\x20주세요...','데이터가\x20너무\x20큽니다','2694890vAtQyV','111fhTWef','136216hvBgPS','3053610jPXnmL','업로드\x20중','알\x20수\x20없는\x20오류','2015VpNNsM','{0}개의\x20파일이\x20성공적으로\x20업로드되었습니다','선택한\x20파일\x20[{0}]은(는)\x20업로드가\x20지원되지\x20않습니다','네트워크\x20연결이\x20중단되어\x20파일\x20업로드에\x20실패했습니다','다운로드\x20중','760320VKUykG','내부\x20오류가\x20발생했습니다','4164NafDyH','네트워크\x20오류','494OPDcWF'];_0x1016=function(){return _0x146efd;};return _0x1016();}const _0x4ecdd1=_0x4701;(function(_0x348feb,_0x326119){const _0x3ff929=_0x4701,_0x11ec87=_0x348feb();while(!![]){try{const _0x28c67f=-parseInt(_0x3ff929(0xfd))/0x1*(parseInt(_0x3ff929(0xfc))/0x2)+-parseInt(_0x3ff929(0xee))/0x3*(-parseInt(_0x3ff929(0x100))/0x4)+-parseInt(_0x3ff929(0xf3))/0x5*(parseInt(_0x3ff929(0xfa))/0x6)+-parseInt(_0x3ff929(0xff))/0x7*(-parseInt(_0x3ff929(0xef))/0x8)+parseInt(_0x3ff929(0xf8))/0x9+-parseInt(_0x3ff929(0xf0))/0xa+-parseInt(_0x3ff929(0x104))/0xb;if(_0x28c67f===_0x326119)break;else _0x11ec87['push'](_0x11ec87['shift']());}catch(_0x14eb39){_0x11ec87['push'](_0x11ec87['shift']());}}}(_0x1016,0x4dc27));function _0x4701(_0x443002,_0x4b76fa){_0x443002=_0x443002-0xee;const _0x101699=_0x1016();let _0x470117=_0x101699[_0x443002];return _0x470117;}const e={'exchange':{'file':'파일','upload':_0x4ecdd1(0x101),'download':'다른\x20이름으로\x20저장','uploading':_0x4ecdd1(0xf1),'uploadSuccess':'파일이\x20성공적으로\x20업로드되었습니다','uploadSuccessTip':_0x4ecdd1(0xf4),'downloading':_0x4ecdd1(0xf7),'downloadSuccess':'다운로드가\x20완료되었습니다','unknownMistake':_0x4ecdd1(0xf2),'networkError':_0x4ecdd1(0xfb),'tooLarge':_0x4ecdd1(0x103),'internalError':_0x4ecdd1(0xf9),'interrupt':_0x4ecdd1(0xf6),'fileTypeError':_0x4ecdd1(0xf5),'wait':_0x4ecdd1(0x102),'cancel':'취소','uploadAgain':_0x4ecdd1(0xfe)}};export{e as default};
|
package/lib/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x711d(_0x524fd5,_0x103914){_0x524fd5=_0x524fd5-0x169;const _0x18d9e1=_0x18d9();let _0x711da4=_0x18d9e1[_0x524fd5];return _0x711da4;}const _0x220c97=_0x711d;(function(_0x469afd,_0x27cedb){const _0x3436ef=_0x711d,_0x56445f=_0x469afd();while(!![]){try{const _0x1c096b=parseInt(_0x3436ef(0x176))/0x1*(parseInt(_0x3436ef(0x179))/0x2)+-parseInt(_0x3436ef(0x17e))/0x3*(-parseInt(_0x3436ef(0x17d))/0x4)+parseInt(_0x3436ef(0x17b))/0x5*(-parseInt(_0x3436ef(0x182))/0x6)+parseInt(_0x3436ef(0x169))/0x7*(parseInt(_0x3436ef(0x16b))/0x8)+-parseInt(_0x3436ef(0x16d))/0x9+parseInt(_0x3436ef(0x172))/0xa+-parseInt(_0x3436ef(0x17f))/0xb;if(_0x1c096b===_0x27cedb)break;else _0x56445f['push'](_0x56445f['shift']());}catch(_0x560649){_0x56445f['push'](_0x56445f['shift']());}}}(_0x18d9,0xaceca));function _0x18d9(){const _0x18cff9=['Внутренняя\x20неизвестная\x20ошибка','16eJeesu','Пожалуйста,\x20подождите...','12005568ldqWPw','Сетевое\x20соединение\x20было\x20прервано,\x20и\x20загрузка\x20файла\x20не\x20удалась','Неизвестная\x20ошибка','Сохранить\x20как','{0}\x20файл(ов)\x20успешно\x20загружен(о)','2603980cCQUlT','Сетевая\x20ошибка','Загрузить\x20снова','Данные\x20слишком\x20большие','1227799HAAzKk','Загрузка','Скачивание','2zdEHak','Открыть(Файл)','5aQPwwW','Выбранный\x20файл\x20[{0}]\x20не\x20поддерживается\x20для\x20загрузки','20lpdtCG','758559noNQga','6332777eUPvIN','Файл\x20успешно\x20загружен','Отмена','1259562FSXgvG','263977RLAJft'];_0x18d9=function(){return _0x18cff9;};return _0x18d9();}const e={'exchange':{'file':'Файл','upload':_0x220c97(0x17a),'download':_0x220c97(0x170),'uploading':_0x220c97(0x177),'uploadSuccess':_0x220c97(0x180),'uploadSuccessTip':_0x220c97(0x171),'downloading':_0x220c97(0x178),'downloadSuccess':'Скачивание\x20успешно','unknownMistake':_0x220c97(0x16f),'networkError':_0x220c97(0x173),'tooLarge':_0x220c97(0x175),'internalError':_0x220c97(0x16a),'interrupt':_0x220c97(0x16e),'fileTypeError':_0x220c97(0x17c),'wait':_0x220c97(0x16c),'cancel':_0x220c97(0x181),'uploadAgain':_0x220c97(0x174)}};export{e as default};
|