@univerjs-pro/exchange-client 1.0.0-beta.1 → 1.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/controllers/components.controller.d.ts +2 -0
- package/lib/types/index.d.ts +2 -2
- package/lib/types/services/request.service.d.ts +8 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +11 -11
package/lib/cjs/locale/pt-BR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4e2199=_0x31fd;function _0x38fe(){const _0x442253=['2247033FXXTzJ','Cancelar','A\x20conexão\x20de\x20rede\x20foi\x20interrompida\x20e\x20o\x20envio\x20do\x20arquivo\x20falhou','8fOGSRP','2CZeMAm','1527857sKSOoW','4QPdBXy','Enviando','9138465IepPEf','Enviar\x20novamente','Aguarde...','5021754cRSlhn','Erro\x20desconhecido','Erro\x20de\x20rede','Erro\x20interno\x20desconhecido','{0}\x20arquivo(s)\x20enviado(s)\x20com\x20sucesso','48220PJJRqQ','5UgnwVC','1243ydFACe','Baixando','Arquivo\x20enviado\x20com\x20sucesso','3024616DAUofS','Confirmar','Os\x20dados\x20são\x20muito\x20grandes','Download\x20concluído\x20com\x20sucesso','35855100ZOzBFr'];_0x38fe=function(){return _0x442253;};return _0x38fe();}(function(_0x3eaee5,_0x54765d){const _0x263e12=_0x31fd,_0x5eacbc=_0x3eaee5();while(!![]){try{const _0x353d6f=-parseInt(_0x263e12(0x9a))/0x1*(parseInt(_0x263e12(0x99))/0x2)+parseInt(_0x263e12(0x95))/0x3*(-parseInt(_0x263e12(0x9b))/0x4)+parseInt(_0x263e12(0xa6))/0x5*(-parseInt(_0x263e12(0xa0))/0x6)+parseInt(_0x263e12(0x90))/0x7+parseInt(_0x263e12(0x98))/0x8*(parseInt(_0x263e12(0x9d))/0x9)+parseInt(_0x263e12(0xa5))/0xa*(-parseInt(_0x263e12(0x8d))/0xb)+parseInt(_0x263e12(0x94))/0xc;if(_0x353d6f===_0x54765d)break;else _0x5eacbc['push'](_0x5eacbc['shift']());}catch(_0x39c8ca){_0x5eacbc['push'](_0x5eacbc['shift']());}}}(_0x38fe,0xbd9ed));const e={'exchange-client':{'uploading':_0x4e2199(0x9c),'uploadSuccess':_0x4e2199(0x8f),'uploadSuccessTip':_0x4e2199(0xa4),'downloading':_0x4e2199(0x8e),'downloadSuccess':_0x4e2199(0x93),'unknownMistake':_0x4e2199(0xa1),'networkError':_0x4e2199(0xa2),'tooLarge':_0x4e2199(0x92),'internalError':_0x4e2199(0xa3),'interrupt':_0x4e2199(0x97),'fileTypeError':'O\x20arquivo\x20selecionado\x20[{0}]\x20não\x20é\x20suportado\x20para\x20envio','wait':_0x4e2199(0x9f),'cancel':_0x4e2199(0x96),'confirm':_0x4e2199(0x91),'uploadAgain':_0x4e2199(0x9e)}};function _0x31fd(_0x403c70,_0x5c39de){_0x403c70=_0x403c70-0x8d;const _0x38fecd=_0x38fe();let _0x31fdf0=_0x38fecd[_0x403c70];return _0x31fdf0;}module['exports']=e;
|
package/lib/cjs/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x3bb4(){const _0x53fc69=['2mhMBlr','1468464OZwZPK','Внутренняя\x20неизвестная\x20ошибка','Неизвестная\x20ошибка','1192elyZWF','Скачивание\x20успешно','6PRzLDY','4475834QWGRax','Отмена','Пожалуйста,\x20подождите...','Подтвердить','Сетевая\x20ошибка','Данные\x20слишком\x20большие','14153BAGtFy','400505qmsdKq','Загрузка','753BwQjJF','90gacqPP','192627VnYfaa','1502920dyGUWU','exports','Сетевое\x20соединение\x20было\x20прервано,\x20и\x20загрузка\x20файла\x20не\x20удалась'];_0x3bb4=function(){return _0x53fc69;};return _0x3bb4();}const _0x39c280=_0x2372;(function(_0x5dd684,_0x3f36a8){const _0x14c733=_0x2372,_0x120342=_0x5dd684();while(!![]){try{const _0x1392ea=parseInt(_0x14c733(0x197))/0x1*(parseInt(_0x14c733(0x1a0))/0x2)+-parseInt(_0x14c733(0x19a))/0x3*(parseInt(_0x14c733(0x1a4))/0x4)+parseInt(_0x14c733(0x19d))/0x5+parseInt(_0x14c733(0x1a6))/0x6*(-parseInt(_0x14c733(0x198))/0x7)+parseInt(_0x14c733(0x1a1))/0x8+parseInt(_0x14c733(0x19c))/0x9*(parseInt(_0x14c733(0x19b))/0xa)+-parseInt(_0x14c733(0x1a7))/0xb;if(_0x1392ea===_0x3f36a8)break;else _0x120342['push'](_0x120342['shift']());}catch(_0x21a720){_0x120342['push'](_0x120342['shift']());}}}(_0x3bb4,0x251cf));function _0x2372(_0x300942,_0x34751f){_0x300942=_0x300942-0x192;const _0x3bb4d5=_0x3bb4();let _0x23721b=_0x3bb4d5[_0x300942];return _0x23721b;}const e={'exchange-client':{'uploading':_0x39c280(0x199),'uploadSuccess':'Файл\x20успешно\x20загружен','uploadSuccessTip':'{0}\x20файл(ов)\x20успешно\x20загружен(о)','downloading':'Скачивание','downloadSuccess':_0x39c280(0x1a5),'unknownMistake':_0x39c280(0x1a3),'networkError':_0x39c280(0x195),'tooLarge':_0x39c280(0x196),'internalError':_0x39c280(0x1a2),'interrupt':_0x39c280(0x19f),'fileTypeError':'Выбранный\x20файл\x20[{0}]\x20не\x20поддерживается\x20для\x20загрузки','wait':_0x39c280(0x193),'cancel':_0x39c280(0x192),'confirm':_0x39c280(0x194),'uploadAgain':'Загрузить\x20снова'}};module[_0x39c280(0x19e)]=e;
|
package/lib/cjs/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x3271(_0x478c5d,_0x2c30fb){_0x478c5d=_0x478c5d-0x12d;const _0x4e8b8c=_0x4e8b();let _0x3271cd=_0x4e8b8c[_0x478c5d];return _0x3271cd;}const _0xc8d514=_0x3271;(function(_0x197cde,_0x419387){const _0x16b131=_0x3271,_0x35cb1e=_0x197cde();while(!![]){try{const _0x4c5452=parseInt(_0x16b131(0x134))/0x1*(-parseInt(_0x16b131(0x140))/0x2)+parseInt(_0x16b131(0x142))/0x3*(-parseInt(_0x16b131(0x141))/0x4)+parseInt(_0x16b131(0x13b))/0x5*(parseInt(_0x16b131(0x144))/0x6)+-parseInt(_0x16b131(0x13e))/0x7+parseInt(_0x16b131(0x132))/0x8*(parseInt(_0x16b131(0x12d))/0x9)+parseInt(_0x16b131(0x130))/0xa*(parseInt(_0x16b131(0x13f))/0xb)+-parseInt(_0x16b131(0x139))/0xc*(-parseInt(_0x16b131(0x131))/0xd);if(_0x4c5452===_0x419387)break;else _0x35cb1e['push'](_0x35cb1e['shift']());}catch(_0x47dc39){_0x35cb1e['push'](_0x35cb1e['shift']());}}}(_0x4e8b,0x86a0a));const e={'exchange-client':{'uploading':_0xc8d514(0x12f),'uploadSuccess':_0xc8d514(0x13d),'uploadSuccessTip':_0xc8d514(0x138),'downloading':'Sťahovanie','downloadSuccess':_0xc8d514(0x135),'unknownMistake':_0xc8d514(0x133),'networkError':_0xc8d514(0x13a),'tooLarge':_0xc8d514(0x146),'internalError':_0xc8d514(0x147),'interrupt':_0xc8d514(0x136),'fileTypeError':_0xc8d514(0x137),'wait':_0xc8d514(0x145),'cancel':_0xc8d514(0x12e),'confirm':'Potvrdiť','uploadAgain':_0xc8d514(0x143)}};function _0x4e8b(){const _0xc9d82f=['8cKXCeB','Neznáma\x20chyba','59321uEpxtl','Sťahovanie\x20úspešné','Sieťové\x20pripojenie\x20bolo\x20prerušené\x20a\x20nahrávanie\x20súboru\x20zlyhalo','Vybraný\x20súbor\x20[{0}]\x20nie\x20je\x20podporovaný\x20na\x20nahrávanie','Úspešne\x20nahraných\x20{0}\x20súborov','8395308emjchy','Sieťová\x20chyba','5PWqbAi','exports','Súbor\x20bol\x20úspešne\x20nahraný','2731624LmXgid','33soLppV','10AWpaqH','1825396nYKMQr','6eltNpX','Nahrať\x20znova','2820294rMJSby','Prosím\x20počkajte...','Dáta\x20sú\x20príliš\x20veľké','Interná\x20neznáma\x20chyba','946962AAoOjK','Zrušiť','Nahrávanie','2920310axrAxn','13gzahzl'];_0x4e8b=function(){return _0xc9d82f;};return _0x4e8b();}module[_0xc8d514(0x13c)]=e;
|
package/lib/cjs/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x22a4ae=_0x4e7c;function _0x4127(){const _0x59020e=['Vui\x20lòng\x20đợi...','1591736EBqrOl','238727SfZTMA','Luồng\x20dữ\x20liệu\x20quá\x20lớn','Kết\x20nối\x20mạng\x20bị\x20gián\x20đoạn,\x20tải\x20lên\x20tệp\x20thất\x20bại','Tải\x20lên\x20tệp\x20thành\x20công','1755537CcLWKl','Lỗi\x20không\x20xác\x20định','Xác\x20nhận','5DGbfkU','Đang\x20tải\x20lên','Hủy\x20bỏ','4994738KRGgTv','10tRTrpF','7380876cDfcsT','{0}\x20tệp\x20đã\x20được\x20tải\x20lên\x20thành\x20công','4jorHfT','Lỗi\x20mạng','Tệp\x20được\x20chọn\x20[{0}]\x20không\x20được\x20hỗ\x20trợ\x20để\x20tải\x20lên','7124944sdWHhU','23646879ochJdX','Tải\x20lên\x20lại'];_0x4127=function(){return _0x59020e;};return _0x4127();}(function(_0x16ef3a,_0x3caaeb){const _0x1467e2=_0x4e7c,_0x15c32b=_0x16ef3a();while(!![]){try{const _0x5027e5=parseInt(_0x1467e2(0x164))/0x1+parseInt(_0x1467e2(0x163))/0x2+-parseInt(_0x1467e2(0x152))/0x3*(parseInt(_0x1467e2(0x15c))/0x4)+parseInt(_0x1467e2(0x155))/0x5*(parseInt(_0x1467e2(0x15a))/0x6)+parseInt(_0x1467e2(0x158))/0x7+parseInt(_0x1467e2(0x15f))/0x8+parseInt(_0x1467e2(0x160))/0x9*(-parseInt(_0x1467e2(0x159))/0xa);if(_0x5027e5===_0x3caaeb)break;else _0x15c32b['push'](_0x15c32b['shift']());}catch(_0x1730a0){_0x15c32b['push'](_0x15c32b['shift']());}}}(_0x4127,0xa039b));const e={'exchange-client':{'uploading':_0x22a4ae(0x156),'uploadSuccess':_0x22a4ae(0x151),'uploadSuccessTip':_0x22a4ae(0x15b),'downloading':'Đang\x20tải\x20xuống','downloadSuccess':'Tải\x20xuống\x20thành\x20công','unknownMistake':_0x22a4ae(0x153),'networkError':_0x22a4ae(0x15d),'tooLarge':_0x22a4ae(0x14f),'internalError':'Lỗi\x20không\x20xác\x20định\x20bên\x20trong','interrupt':_0x22a4ae(0x150),'fileTypeError':_0x22a4ae(0x15e),'wait':_0x22a4ae(0x162),'cancel':_0x22a4ae(0x157),'confirm':_0x22a4ae(0x154),'uploadAgain':_0x22a4ae(0x161)}};function _0x4e7c(_0x167d84,_0x4f7dc2){_0x167d84=_0x167d84-0x14f;const _0x412757=_0x4127();let _0x4e7c05=_0x412757[_0x167d84];return _0x4e7c05;}module['exports']=e;
|
package/lib/cjs/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x5043(){const _0x31a810=['exports','文件上传成功','22211490PhhRfU','214ofiBbN','上传中','11mDPJVb','网络连接中断,文件上传失败','837088uoqFbn','下载中','请稍等...','6534112vhSQtQ','内部未知错误','网络异常','3948128VsXMqN','4671NqAyri','{0}个文件上传成功','10216323wHRaIm','未知错误','数据流过大','3ijvaLD','66pnOKnp','806605HCStED','所选文件\x20[{0}]\x20不支持上传','再次上传','下载成功'];_0x5043=function(){return _0x31a810;};return _0x5043();}function _0xd3aa(_0x2619f3,_0x3a26a5){_0x2619f3=_0x2619f3-0x1e2;const _0x504367=_0x5043();let _0xd3aab1=_0x504367[_0x2619f3];return _0xd3aab1;}const _0x520509=_0xd3aa;(function(_0x5352a1,_0x4e5f8e){const _0x4d36e4=_0xd3aa,_0x1a6ecd=_0x5352a1();while(!![]){try{const _0x35752b=-parseInt(_0x4d36e4(0x1f2))/0x1*(-parseInt(_0x4d36e4(0x1e7))/0x2)+-parseInt(_0x4d36e4(0x1f7))/0x3*(parseInt(_0x4d36e4(0x1f1))/0x4)+parseInt(_0x4d36e4(0x1f9))/0x5+parseInt(_0x4d36e4(0x1f8))/0x6*(-parseInt(_0x4d36e4(0x1eb))/0x7)+-parseInt(_0x4d36e4(0x1ee))/0x8+parseInt(_0x4d36e4(0x1f4))/0x9+parseInt(_0x4d36e4(0x1e6))/0xa*(parseInt(_0x4d36e4(0x1e9))/0xb);if(_0x35752b===_0x4e5f8e)break;else _0x1a6ecd['push'](_0x1a6ecd['shift']());}catch(_0x38a6d9){_0x1a6ecd['push'](_0x1a6ecd['shift']());}}}(_0x5043,0xdb492));const e={'exchange-client':{'uploading':_0x520509(0x1e8),'uploadSuccess':_0x520509(0x1e5),'uploadSuccessTip':_0x520509(0x1f3),'downloading':_0x520509(0x1ec),'downloadSuccess':_0x520509(0x1e3),'unknownMistake':_0x520509(0x1f5),'networkError':_0x520509(0x1f0),'tooLarge':_0x520509(0x1f6),'internalError':_0x520509(0x1ef),'interrupt':_0x520509(0x1ea),'fileTypeError':_0x520509(0x1fa),'wait':_0x520509(0x1ed),'cancel':'取消','confirm':'确认','uploadAgain':_0x520509(0x1e2)}};module[_0x520509(0x1e4)]=e;
|
package/lib/cjs/locale/zh-HK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x2da787=_0x3950;(function(_0x378267,_0x262209){const _0xfd323d=_0x3950,_0x24ffbe=_0x378267();while(!![]){try{const _0x4a9174=parseInt(_0xfd323d(0xc2))/0x1*(-parseInt(_0xfd323d(0xc8))/0x2)+-parseInt(_0xfd323d(0xbb))/0x3+parseInt(_0xfd323d(0xc0))/0x4*(parseInt(_0xfd323d(0xbc))/0x5)+-parseInt(_0xfd323d(0xc5))/0x6*(-parseInt(_0xfd323d(0xc4))/0x7)+-parseInt(_0xfd323d(0xc7))/0x8+-parseInt(_0xfd323d(0xc9))/0x9+parseInt(_0xfd323d(0xcb))/0xa;if(_0x4a9174===_0x262209)break;else _0x24ffbe['push'](_0x24ffbe['shift']());}catch(_0x22f8f0){_0x24ffbe['push'](_0x24ffbe['shift']());}}}(_0x3540,0x9fc0d));function _0x3950(_0x30b101,_0x52d114){_0x30b101=_0x30b101-0xba;const _0x3540e1=_0x3540();let _0x395095=_0x3540e1[_0x30b101];return _0x395095;}function _0x3540(){const _0x3ebd20=['4mqzvIi','下載中','33dCqFjO','上傳中','7oRSNKt','7041558uXHeSq','exports','2352728laryQf','63016PuWbyf','10735956WVVmDJ','網絡異常','22695530Extidq','內部未知錯誤','網絡連線中斷,檔案上傳失敗','3551277fcQVQT','4608505qgLYOm','請稍等...','未知錯誤','檔案上傳成功'];_0x3540=function(){return _0x3ebd20;};return _0x3540();}const e={'exchange-client':{'uploading':_0x2da787(0xc3),'uploadSuccess':_0x2da787(0xbf),'uploadSuccessTip':'{0}個檔案上傳成功','downloading':_0x2da787(0xc1),'downloadSuccess':'下載成功','unknownMistake':_0x2da787(0xbe),'networkError':_0x2da787(0xca),'tooLarge':'資料流過大','internalError':_0x2da787(0xcc),'interrupt':_0x2da787(0xba),'fileTypeError':'所選檔案\x20[{0}]\x20不支援上傳','wait':_0x2da787(0xbd),'cancel':'取消','confirm':'確認','uploadAgain':'再次上傳'}};module[_0x2da787(0xc6)]=e;
|
package/lib/cjs/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x4b94(_0x670a59,_0x2ff848){_0x670a59=_0x670a59-0x162;const _0x16bbde=_0x16bb();let _0x4b94c1=_0x16bbde[_0x670a59];return _0x4b94c1;}function _0x16bb(){const _0x3b8dc1=['64CVlIVw','未知錯誤','4154185ENuLoQ','111AFVyfX','6129937gVPHXU','下載中','49636VsyMoo','再次上傳','4kjkLxz','10tWfLUh','內部未知錯誤','檔案上傳成功','exports','上傳中','8109999OcyEVg','1222596nOSFdG','資料流過大','請稍等...','508627hVjSTY','202766CqtzAW','下載成功','網路連線中斷,檔案上傳失敗'];_0x16bb=function(){return _0x3b8dc1;};return _0x16bb();}const _0x50ea0d=_0x4b94;(function(_0x3d1431,_0x1f96be){const _0x155272=_0x4b94,_0x423f6d=_0x3d1431();while(!![]){try{const _0x5a375b=-parseInt(_0x155272(0x167))/0x1*(-parseInt(_0x155272(0x172))/0x2)+-parseInt(_0x155272(0x162))/0x3*(-parseInt(_0x155272(0x165))/0x4)+parseInt(_0x155272(0x177))/0x5+-parseInt(_0x155272(0x16e))/0x6+-parseInt(_0x155272(0x171))/0x7*(-parseInt(_0x155272(0x175))/0x8)+-parseInt(_0x155272(0x16d))/0x9+parseInt(_0x155272(0x168))/0xa*(-parseInt(_0x155272(0x163))/0xb);if(_0x5a375b===_0x1f96be)break;else _0x423f6d['push'](_0x423f6d['shift']());}catch(_0x539ca6){_0x423f6d['push'](_0x423f6d['shift']());}}}(_0x16bb,0x960f6));const e={'exchange-client':{'uploading':_0x50ea0d(0x16c),'uploadSuccess':_0x50ea0d(0x16a),'uploadSuccessTip':'{0}個檔案上傳成功','downloading':_0x50ea0d(0x164),'downloadSuccess':_0x50ea0d(0x173),'unknownMistake':_0x50ea0d(0x176),'networkError':'網路異常','tooLarge':_0x50ea0d(0x16f),'internalError':_0x50ea0d(0x169),'interrupt':_0x50ea0d(0x174),'fileTypeError':'所選檔案\x20[{0}]\x20不支援上傳','wait':_0x50ea0d(0x170),'cancel':'取消','confirm':'確認','uploadAgain':_0x50ea0d(0x166)}};module[_0x50ea0d(0x16b)]=e;
|
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var _0x262629=_0x210b;(function(_0x252531,_0x37469b){var _0x12201f=_0x210b,_0x191884=_0x252531();while(!![]){try{var _0x687413=-parseInt(_0x12201f(0x1d9))/0x1*(-parseInt(_0x12201f(0x1de))/0x2)+-parseInt(_0x12201f(0x1dc))/0x3*(parseInt(_0x12201f(0x1d8))/0x4)+parseInt(_0x12201f(0x1d6))/0x5+parseInt(_0x12201f(0x1da))/0x6*(-parseInt(_0x12201f(0x1d3))/0x7)+parseInt(_0x12201f(0x1d4))/0x8+parseInt(_0x12201f(0x1db))/0x9+-parseInt(_0x12201f(0x1df))/0xa;if(_0x687413===_0x37469b)break;else _0x191884['push'](_0x191884['shift']());}catch(_0x20502d){_0x191884['push'](_0x191884['shift']());}}}(_0x15cf,0x8d466));import{IExchangeService as _0x3d7000}from'@univerjs-pro/exchange-client';import{FUniver as _0x319d83}from'@univerjs/core/facade';var n=class extends _0x319d83{[_0x262629(0x1d5)](_0x3bac0c,_0x5b2941,_0x17111c){var _0x324347=_0x262629;this[_0x324347(0x1dd)][_0x324347(0x1d2)](_0x3d7000)['downloadFile'](_0x3bac0c,_0x5b2941,_0x17111c);}};function _0x15cf(){var _0x2f50b9=['extend','4aOIxJJ','571737XLiORo','6EbAtgS','1389708ukYWCt','1372185AglPnt','_injector','2FlCwSe','1093020FxIreB','get','4180631ZDVujW','7649744XKGCxf','downloadFile','301125VFSaDC'];_0x15cf=function(){return _0x2f50b9;};return _0x15cf();}_0x319d83[_0x262629(0x1d7)](n);function _0x210b(_0x515687,_0x1da72d){_0x515687=_0x515687-0x1d2;var _0x15cf3f=_0x15cf();var _0x210b91=_0x15cf3f[_0x515687];return _0x210b91;}export{};
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x67af43=_0x11c6;(function(_0x21395e,_0x469d6f){const _0x10b628=_0x11c6,_0xaf0e7=_0x21395e();while(!![]){try{const _0x140865=parseInt(_0x10b628(0x269))/0x1+-parseInt(_0x10b628(0x291))/0x2*(-parseInt(_0x10b628(0x1cd))/0x3)+-parseInt(_0x10b628(0x1f2))/0x4*(parseInt(_0x10b628(0x206))/0x5)+-parseInt(_0x10b628(0x189))/0x6+-parseInt(_0x10b628(0x162))/0x7*(parseInt(_0x10b628(0x1df))/0x8)+parseInt(_0x10b628(0x27f))/0x9+parseInt(_0x10b628(0x18e))/0xa*(-parseInt(_0x10b628(0x215))/0xb);if(_0x140865===_0x469d6f)break;else _0xaf0e7['push'](_0xaf0e7['shift']());}catch(_0x459413){_0xaf0e7['push'](_0xaf0e7['shift']());}}}(_0x3725,0xb633c));import{UniverLicensePlugin as _0x4879c3}from'@univerjs-pro/license';import{DependentOn as _0x169aab,Disposable as _0x2f4977,IConfigService as _0x360230,ILogService as _0x145bdb,IUniverInstanceService as _0x5a04e6,Inject as _0x5ac304,Injector as _0x48222c,LocaleService as _0x529199,Plugin as _0x31cf87,UniverInstanceType as _0x55e920,createIdentifier as _0x389ad7,merge as _0x444f78,registerDependencies as _0x4b5e80,resolveWithBasePath as _0xf66e2a,toDisposable as _0xd5290e,touchDependencies as _0x4c55e9}from'@univerjs/core';import{HTTPEventType as _0x34d7f3,HTTPResponseError as _0x27964e,HTTPService as _0x33297d,UniverNetworkPlugin as _0x5186fe}from'@univerjs/network';import{ClockIcon as _0x5c74c8,CloseIcon as _0x43b669,DirectExportIcon as _0x182b8d,DocsMultiIcon as _0x4d6ad0,ErrorIcon as _0x470829,ExportIcon as _0x171c7d,FolderIcon as _0x11e05d,LoadingMultiIcon as _0x5f5516,ShareRangeIcon as _0x493990,SheetsMultiIcon as _0x4aa68b,SlidesMultiIcon as _0x3aaeee,SuccessIcon as _0x548550}from'@univerjs/icons';import{BuiltInUIPart as _0x116151,ComponentManager as _0x5ab250,IMessageService as _0x1a9b3a,IUIPartsService as _0x4d8bd7,IconManager as _0xaaf83a,connectInjector as _0x539370,useDependency as _0x293a00,useObservable as _0x47df85}from'@univerjs/ui';import{Button as _0x1e8c04,MessageType as _0x4e76a4,Radio as _0x5688eb,Select as _0x310297,Tooltip as _0x54f859,clsx as _0x4eb781,scrollbarClassName as _0x295247}from'@univerjs/design';import{useRef as _0x2fc96b,useState as _0x4060a3}from'react';import{ErrorCode as _0x261329,FileSource as _0x598305}from'@univerjs/protocol';import{jsx as _0x4e3b3f,jsxs as _0x2034a5}from'react/jsx-runtime';import{BehaviorSubject as _0x3e98f7,Subject as _0x2ee755}from'rxjs';import{ISnapshotServerService as _0x909ffc,SnapshotService as _0x1cdb69,b64EncodeUnicode as _0x4c5e06,textDecoder as _0xb1d071,textEncoder as _0x2da458}from'@univerjs-pro/collaboration';import{deflateSync as _0x4de99a}from'fflate';var Pe=_0x67af43(0x226),Fe=_0x67af43(0x187);const O=_0x67af43(0x1ff),k={},A='application/vnd.openxmlformats-officedocument.wordprocessingml.document',j=_0x67af43(0x1d8),M='application/vnd.ms-excel',N='application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',P='text/csv',F=_0x67af43(0x1ec),I=_0x67af43(0x19d),L=_0x67af43(0x219),R=_0x67af43(0x181),Ie={[_0x55e920[_0x67af43(0x1db)]]:[''],[_0x55e920[_0x67af43(0x285)]]:[j,A],[_0x55e920[_0x67af43(0x1a7)]]:[M,N,P,F],[_0x55e920[_0x67af43(0x1c2)]]:[I,L],[_0x55e920[_0x67af43(0x2b7)]]:[R],[_0x55e920['UNIVER_BASE']]:[M,N,P,F],[_0x55e920[_0x67af43(0x260)]]:[''],[_0x55e920[_0x67af43(0x17e)]]:[''],[_0x55e920[_0x67af43(0x24c)]]:['']},z={[j]:_0x67af43(0x267),[A]:_0x67af43(0x264),[M]:_0x67af43(0x266),[N]:_0x67af43(0x249),[P]:_0x67af43(0x1b4),[F]:_0x67af43(0x16a),[I]:'ppt',[L]:'pptx',[R]:_0x67af43(0x21e)},Le=Object['fromEntries'](Object[_0x67af43(0x27a)](Ie)[_0x67af43(0x160)](([_0x2d1b8a,_0x21e153])=>[_0x2d1b8a,_0x21e153[_0x67af43(0x160)](_0x25e5f7=>z[_0x25e5f7])['filter'](Boolean)]));function Re(_0x550616,_0x2f2827,_0x1153f2){const _0xe2060a=_0x67af43;let _0x2671b1=document[_0xe2060a(0x265)]('a');_0x2671b1[_0xe2060a(0x2a3)]=_0x550616,_0x2671b1[_0xe2060a(0x1fb)][_0xe2060a(0x1f0)]=_0xe2060a(0x167),_0x2671b1[_0xe2060a(0x20b)]=_0x2f2827+'.'+_0x1153f2,document['body'][_0xe2060a(0x2b9)](_0x2671b1),_0x2671b1[_0xe2060a(0x19c)](),document[_0xe2060a(0x1e5)][_0xe2060a(0x18c)](_0x2671b1);}function ze(_0x134f3d,_0x2b1b2b){const _0x300c67=_0x67af43;var _0x5e3d49;let _0x3d20c0=(_0x5e3d49=_0x134f3d['name'][_0x300c67(0x21a)]('.')[_0x300c67(0x277)]())==null?void 0x0:_0x5e3d49[_0x300c67(0x28b)]();return!!(_0x3d20c0&&(Le[_0x2b1b2b]??[])[_0x300c67(0x211)](_0x3d20c0));}function B(_0x2516a1,_0x1ebadc=!0x1){const _0x284fd4=_0x67af43;let _0xf3af78=_0x2516a1[_0x284fd4(0x1ba)](_0x2efa91=>Le[_0x2efa91]??[])[_0x284fd4(0x160)](_0x5e62a1=>'.'+_0x5e62a1)[_0x284fd4(0x1a2)](',');return new Promise(_0x167db1=>{const _0x8efe68=_0x284fd4;let _0xa49dc8=document[_0x8efe68(0x265)](_0x8efe68(0x212));_0xa49dc8[_0x8efe68(0x1b5)]=_0x8efe68(0x1f1),_0xa49dc8[_0x8efe68(0x1d6)]=_0xf3af78,_0xa49dc8[_0x8efe68(0x210)]=_0x1ebadc;let _0x350d2e=()=>{const _0x430f6e=_0x8efe68;var _0x77c3c;return _0x167db1((_0x77c3c=_0xa49dc8[_0x430f6e(0x220)])!=null&&_0x77c3c[_0x430f6e(0x172)]?_0xa49dc8[_0x430f6e(0x220)]:null);};_0xa49dc8[_0x8efe68(0x1c0)](_0x8efe68(0x280),_0x350d2e,{'once':!0x0}),_0xa49dc8[_0x8efe68(0x1c0)](_0x8efe68(0x19b),_0x350d2e,{'once':!0x0}),_0xa49dc8[_0x8efe68(0x19c)]();});}async function Be(_0x7c76d,_0x1ec9eb){const _0x1e782f=_0x67af43;try{return await Ve(_0x7c76d,_0x1ec9eb);}catch(_0x729453){console[_0x1e782f(0x2b5)](_0x1e782f(0x29f),_0x729453);return;}}async function Ve(_0x27df75,_0x13d098,_0x16a64d){const _0x20b5a9=_0x67af43;var _0x28a9f7,_0x5d9fcd;let _0x1918d3=_0x16a64d?await He(_0x27df75,_0x13d098,_0x16a64d):await _0x13d098[_0x20b5a9(0x218)](_0x27df75,{'responseType':_0x20b5a9(0x177)}),_0x275f71=_0x1918d3[_0x20b5a9(0x1e5)],_0x2c6398=((_0x28a9f7=_0x1918d3[_0x20b5a9(0x1e3)][_0x20b5a9(0x218)]('Content-Type'))==null?void 0x0:_0x28a9f7['join'](',\x20'))??_0x20b5a9(0x203),_0x20e736=_0x20b5a9(0x1f3)+(z[_0x2c6398]||_0x20b5a9(0x249)),_0x3611c3=(_0x5d9fcd=_0x1918d3[_0x20b5a9(0x1e3)][_0x20b5a9(0x218)]('content-disposition'))==null?void 0x0:_0x5d9fcd[_0x20b5a9(0x1a2)](',\x20');if(_0x3611c3){let _0x452e3d=_0x3611c3[_0x20b5a9(0x17f)](/filename=(.+)/);_0x452e3d&&_0x452e3d[0x1]&&(_0x20e736=_0x452e3d[0x1]);}else _0x20e736=Ue(_0x27df75)||_0x20e736;return new File([_0x275f71],_0x20e736,{'type':_0x2c6398});}function He(_0xfe7be,_0x485786,_0x36cb2d){return new Promise((_0x35f907,_0x11eb89)=>{const _0x23b737=_0x11c6;let _0x13ac02=!0x1,_0x37a196,_0x16df74=()=>_0x36cb2d[_0x23b737(0x198)](_0x23b737(0x29a),_0x2c30b0),_0x2c30b0=()=>{const _0x19683b=_0x23b737;if(_0x13ac02)return;_0x13ac02=!0x0,_0x37a196==null||_0x37a196[_0x19683b(0x1a8)](),_0x16df74();let _0x558531=Error(_0x19683b(0x22a));_0x558531['name']=_0x19683b(0x23a),_0x11eb89(_0x558531);};if(_0x36cb2d[_0x23b737(0x1c0)](_0x23b737(0x29a),_0x2c30b0,{'once':!0x0}),_0x36cb2d[_0x23b737(0x1a1)]){_0x2c30b0();return;}_0x37a196=_0x485786[_0x23b737(0x297)](_0x23b737(0x202),_0xfe7be,{'responseType':'blob'})[_0x23b737(0x18b)]({'next'(_0x26cf20){const _0x2fcaed=_0x23b737;_0x13ac02||_0x26cf20[_0x2fcaed(0x1b5)]!==_0x34d7f3[_0x2fcaed(0x16e)]||(_0x13ac02=!0x0,_0x16df74(),_0x37a196==null||_0x37a196[_0x2fcaed(0x1a8)](),_0x35f907(_0x26cf20));},'error'(_0x1347b2){_0x13ac02||(_0x13ac02=!0x0,_0x16df74(),_0x11eb89(_0x1347b2));},'complete'(){const _0xd6d9c=_0x23b737;_0x13ac02||(_0x13ac02=!0x0,_0x16df74(),_0x11eb89(Error(_0xd6d9c(0x234))));}}),_0x13ac02&&_0x37a196[_0x23b737(0x1a8)]();});}function Ue(_0x12b64a){const _0x3389e0=_0x67af43;try{return new URL(_0x12b64a)[_0x3389e0(0x15e)][_0x3389e0(0x21a)]('/')[_0x3389e0(0x277)]();}catch(_0x3f2a11){console[_0x3389e0(0x2b5)]('Error\x20getting\x20file\x20name\x20from\x20URL:',_0x3f2a11);return;}}function We(_0x32bc26){const _0x283a49=_0x67af43;let _0x5db22d=new Blob([_0x32bc26['buffer']],{'type':_0x283a49(0x1cb)});return new File([_0x5db22d],_0x283a49(0x23e));}function Ge(_0x2cddbb,_0x36c4f6){const _0x18336d=_0x67af43;return _0x2cddbb[_0x18336d(0x2ab)](_0x18336d(0x17d),_0x36c4f6);}function Ke(_0x2b1d37,_0x39dd8c){const _0x1f8723=_0x67af43;return _0x2b1d37[_0x1f8723(0x2ab)](_0x1f8723(0x25b),_0x39dd8c);}function qe(_0x445bfd,_0x27be33){const _0x26eb8b=_0x67af43;return _0x445bfd[_0x26eb8b(0x2ab)](_0x26eb8b(0x191),_0x27be33);}function V(_0x399292){'@babel/helpers - typeof';const _0x229388=_0x67af43;return V=typeof Symbol==_0x229388(0x26f)&&typeof Symbol[_0x229388(0x169)]==_0x229388(0x22c)?function(_0x3cd5e4){return typeof _0x3cd5e4;}:function(_0x11c8ed){const _0x2401af=_0x229388;return _0x11c8ed&&typeof Symbol==_0x2401af(0x26f)&&_0x11c8ed[_0x2401af(0x2c1)]===Symbol&&_0x11c8ed!==Symbol[_0x2401af(0x254)]?_0x2401af(0x22c):typeof _0x11c8ed;},V(_0x399292);}function Je(_0x52ffb6,_0x5b1206){const _0x46e3c2=_0x67af43;if(V(_0x52ffb6)!=_0x46e3c2(0x163)||!_0x52ffb6)return _0x52ffb6;var _0x38fa89=_0x52ffb6[Symbol[_0x46e3c2(0x1d4)]];if(_0x38fa89!==void 0x0){var _0x15aa33=_0x38fa89[_0x46e3c2(0x298)](_0x52ffb6,_0x5b1206||_0x46e3c2(0x29d));if(V(_0x15aa33)!='object')return _0x15aa33;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x5b1206==='string'?String:Number)(_0x52ffb6);}function Ye(_0x41f74a){const _0x240dea=_0x67af43;var _0x1a856f=Je(_0x41f74a,_0x240dea(0x2bc));return V(_0x1a856f)==_0x240dea(0x22c)?_0x1a856f:_0x1a856f+'';}function H(_0x487cb3,_0xce49b0,_0x41341b){const _0x358ad2=_0x67af43;return(_0xce49b0=Ye(_0xce49b0))in _0x487cb3?Object[_0x358ad2(0x1b2)](_0x487cb3,_0xce49b0,{'value':_0x41341b,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x487cb3[_0xce49b0]=_0x41341b,_0x487cb3;}function U(_0x430919,_0x43fc95){return function(_0x12ff54,_0x28efc7){_0x43fc95(_0x12ff54,_0x28efc7,_0x430919);};}function W(_0x499c5b,_0x47e1e8,_0x27dde2,_0x57f1e5){const _0x3e498a=_0x67af43;var _0x43cc87=arguments[_0x3e498a(0x172)],_0x229d4b=_0x43cc87<0x3?_0x47e1e8:_0x57f1e5===null?_0x57f1e5=Object['getOwnPropertyDescriptor'](_0x47e1e8,_0x27dde2):_0x57f1e5,_0x3848d1;if(typeof Reflect=='object'&&typeof Reflect[_0x3e498a(0x19e)]==_0x3e498a(0x26f))_0x229d4b=Reflect[_0x3e498a(0x19e)](_0x499c5b,_0x47e1e8,_0x27dde2,_0x57f1e5);else{for(var _0x4c85d6=_0x499c5b[_0x3e498a(0x172)]-0x1;_0x4c85d6>=0x0;_0x4c85d6--)(_0x3848d1=_0x499c5b[_0x4c85d6])&&(_0x229d4b=(_0x43cc87<0x3?_0x3848d1(_0x229d4b):_0x43cc87>0x3?_0x3848d1(_0x47e1e8,_0x27dde2,_0x229d4b):_0x3848d1(_0x47e1e8,_0x27dde2))||_0x229d4b);}return _0x43cc87>0x3&&_0x229d4b&&Object[_0x3e498a(0x1b2)](_0x47e1e8,_0x27dde2,_0x229d4b),_0x229d4b;}let Xe=function(_0x44c309){const _0x3ced31=_0x67af43;return _0x44c309[_0x44c309['UNDEFINED']=0x0]=_0x3ced31(0x25e),_0x44c309[_0x44c309[_0x3ced31(0x1ab)]=0x1]=_0x3ced31(0x1ab),_0x44c309[_0x44c309[_0x3ced31(0x200)]=0x2]='JSON',_0x44c309[_0x44c309['UNRECOGNIZED']=-0x1]=_0x3ced31(0x24c),_0x44c309;}({}),Ze=function(_0x10112b){const _0x47c537=_0x67af43;return _0x10112b[_0x47c537(0x17b)]=_0x47c537(0x249),_0x10112b['CSV']='csv',_0x10112b[_0x47c537(0x233)]=_0x47c537(0x16a),_0x10112b['DOCX']='docx',_0x10112b['PPTX']='pptx',_0x10112b[_0x47c537(0x1a3)]=_0x47c537(0x21e),_0x10112b;}({}),Qe=function(_0x52076f){const _0x36d1e5=_0x67af43;return _0x52076f[_0x36d1e5(0x213)]=_0x36d1e5(0x16f),_0x52076f[_0x36d1e5(0x287)]=_0x36d1e5(0x270),_0x52076f[_0x36d1e5(0x24e)]=_0x36d1e5(0x23f),_0x52076f['HYBRID']=_0x36d1e5(0x262),_0x52076f;}({}),$e=function(_0xd4554e){const _0x47d288=_0x67af43;return _0xd4554e[_0x47d288(0x1d9)]=_0x47d288(0x204),_0xd4554e[_0x47d288(0x29e)]=_0x47d288(0x1f5),_0xd4554e[_0x47d288(0x1c7)]=_0x47d288(0x289),_0xd4554e['FAIL']='fail',_0xd4554e;}({}),et=function(_0x5dd810){const _0x193b27=_0x67af43;return _0x5dd810[_0x193b27(0x287)]=_0x193b27(0x270),_0x5dd810[_0x193b27(0x16d)]=_0x193b27(0x2c5),_0x5dd810;}({});function _0x3725(){const _0xf0df18=['GET','application/octet-stream','convert-then-values','sign\x20url\x20error','5wxFgkr','success','univer-mx-0\x20univer-mb-3\x20univer-mt-4\x20univer-h-1.5\x20univer-w-[324px]\x20univer-rounded-lg\x20univer-bg-gray-200','_getUploadFileURL','isArray','download','_refreshUnit','_addDoneTask','complete','_progress$','multiple','includes','input','AUTO','_requestService','171116XBVAYM','encode','getLatestCsReqIdBySid','get','application/vnd.openxmlformats-officedocument.presentationml.presentation','split','requestState$','univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden','title','pdf','_registerUIParts','files','exchange-client.downloadSuccess','clear','exchange-client.tooLarge','_getSignURL','setConfig','@univerjs-pro/exchange-client','&source=','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','uploadFileServerUrl','File\x20request\x20aborted.','upload\x20failed:\x20FileId\x20is\x20empty','symbol','code','unit','stringify','_uiPartsService','statusText','trim','TSV','File\x20request\x20completed\x20without\x20a\x20response.','getTaskServerUrl','UNIVER_BASE','exchange-client.wait','_importToJson','workbook','AbortError','dispose','&flate=','pluginName','file.json','sheets','_getExportURL','_sheetBlockCache','/universer-api/exchange/{type}/import','upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url','registerLink','CONNECTOR_DATA_TOO_LARGE','univer-pro.exchange-client.exchange.service','_upload','_import','xlsx','status','getUnitId','UNRECOGNIZED','Error','SHEETS','univer-mt-3\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-2\x20univer-pr-1','interrupt','_totalUploadTaskCount','univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','createObjectURL','prototype','export','list$','univer-flex\x20univer-size-6\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-text-2xl','_importTaskId','_injector','\x20is\x20currently\x20active.','{taskID}','exportFileBySnapshot','Success','UNDEFINED','floor','UNIVER_BOARD','exchange-client.internalError','hybrid','exchange-client.uploadAgain','docx','createElement','xls','doc','INTERNAL_ERROR','685420hiDSxR','_extractErrorDetail','univer-flex\x20univer-h-5\x20univer-text-xl','getDeserializedSheetBlock','searchParams','_doneUploadTaskCount','function','tables','forEach','univer-pro.exchange-client.upload-notification.service','focusUnit','_taskInterrupted','retryImportFileToUnitId','pending','pop','asObservable','?size=','entries','maxTimeoutTime','univer-flex\x20univer-items-center','univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','_visible$','6466446wRowgR','change','message','_uploadNotificationService','CONTENT','_univerInstanceService','UNIVER_DOC','disposeWithMe','TABLES','parse','text','_isSelectingUnitImportFile','toLowerCase','jsonID','_buildProtocolErrorMessage','_showUploadMessage','div','getResourcesRequest','1398qyaniH','unitID','_localeService','small','univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','hide','stream','call','set','abort','resolve','/universer-api/file/{fileID}/sign-url','default','VALUES','Error\x20fetching\x20file\x20from\x20URL:','getTask','_buildHttpErrorMessage','_signUrl','href','Failed\x20to\x20get\x20text\x20from\x20url','_importFileToUnitId','number','importFileToJson','univer-flex\x20univer-flex-col\x20univer-gap-4','saveChangeset','_iconManager','replace','setTaskInterrupted','downloadEndpointUrl','_blank','originalMeta','registerComponent','interruptImportTask','_getMaxPollingTime','upload\x20request\x20failed','getUnitOnRev','error','Warning','UNIVER_PDF','_httpService','appendChild','Info','import\x20error','string','univer-text-green-500','revokeObjectURL','_showDownloadMessage','_componentManager','constructor','_showNetworkError','exportServerUrl','clearTaskInterrupted','ranges','fileID','pathname','univer-flex\x20univer-items-center\x20univer-gap-3','map','univer-mb-3\x20univer-py-0\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-gray-0','2184mJbfDZ','object','univer-mt-5\x20univer-flex\x20univer-flex-col','_completeProgress','saveSnapshot','none','Failed\x20to\x20get\x20unitID\x20from\x20task','iterator','tsv','fetchMissingChangesets','Failed\x20to\x20get\x20taskID\x20from\x20import\x20response','RANGES','Response','auto','saveSheetBlock','onStarting','length','univer-text-primary-600','univer-flex\x20univer-justify-end\x20univer-gap-2','_lastUnitImportContext','exchange-client.interrupt','blob','version','import','_clearProgress','XLSX','signUrlServerUrl','{type}','UNIVER_PROJECT','match','UNIVER_EXCHANGE_CLIENT_PLUGIN','application/pdf','exchange-client.export-format-dialog','_getDownloadEndpointURL','state$','_config','keys','1.0.0-beta.1','button','314082xVtncS','importFileToUnitId','subscribe','removeChild','append','30bpMaUn','blockID','disposeUnit','{fileID}','/universer-api/exchange/{type}/export','univer-text-sm\x20univer-text-gray-500','progress$','span','_logService','getFileById','removeEventListener','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-gray-0\x20univer-px-3\x20univer-pb-4\x20univer-pt-5\x20univer-shadow-md','downloadFile','cancel','click','application/vnd.ms-powerpoint','decorate','add','exchange-client.uploadSuccess','aborted','join','PDF','_addTotalCount','/universer-api/exchange/task/{taskID}','importer','UNIVER_SHEET','unsubscribe','Failed\x20to\x20parse\x20json','_getLinkByUnitId','UNIT',':\x20HTTP\x20','done','_messageService','min','updateState','next','defineProperty','origin','csv','type','/universer-api/stream/file/upload','_state$','getConfig','_exportBySnapshot','flatMap','_fileTypeError','exportFile','_export','FileId','Failed\x20to\x20get\x20jsonID\x20from\x20task','addEventListener','name','UNIVER_SLIDE','visible$','univer-flex\x20univer-flex-col\x20univer-gap-5\x20univer-p-1','exchange-client.uploading','signUrl','TEXT','primary','importServerUrl','univer-pl-2\x20univer-pr-4','application/json','has','6339vhUMKR','decode','exchange-client.unknownMistake','_requestState$','noreferrer','_list$','block\x20is\x20required','toPrimitive','_exchangeService','accept','_configService','application/msword','CONVERT_THEN_VALUES','post','UNIVER_UNKNOWN','export\x20error','getTextFromUrl','size','28984bOVRHV','importFileAsSnapshot','_list','univer-w-48','headers','taskID','body','Get\x20outputType\x20error','createUnit','exchange-client.uploadSuccessTip','getCurrentUnitOfType','show','catch','text/tab-separated-values','pushLink','_getTaskURL','univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-gray-0','display','file','3620840ZJWhKS','file.','outputType','values','_uploadTaskNotDone','current','upload','exchange-client.networkError','HttpImport','style','isUnitLoadedFromServer','exchange-client.cancel','_emitProgress','exchange-client.config','JSON','_getImportURL'];_0x3725=function(){return _0xf0df18;};return _0x3725();}const tt=_0x389ad7('univer-pro.exchange-client.request.service');let G=class{constructor(_0x4aafc1,_0x414ef7){const _0x54d981=_0x67af43;this['_configService']=_0x4aafc1,this[_0x54d981(0x2b8)]=_0x414ef7,H(this,_0x54d981(0x274),new Set());}[_0x67af43(0x23b)](){}[_0x67af43(0x2ac)](_0x558065){const _0x53bc5b=_0x67af43;this['_taskInterrupted'][_0x53bc5b(0x19f)](_0x558065);}[_0x67af43(0x2c4)](){const _0x510a7e=_0x67af43;this['_taskInterrupted'][_0x510a7e(0x222)]();}async[_0x67af43(0x1f8)](_0x4314c8,_0x561958=0x0,_0x1f0e42=!0x1){const _0x4d265f=_0x67af43;if(typeof _0x4314c8=='string'){let _0x2586ac=await Be(_0x4314c8,this['_httpService']);if(!_0x2586ac)throw Error(_0x4d265f(0x243));_0x4314c8=_0x2586ac;}_0x561958||=_0x4314c8[_0x4d265f(0x1de)];let _0x5e0eca=new FormData();_0x5e0eca[_0x4d265f(0x18d)](_0x4d265f(0x1f1),_0x4314c8);try{let _0x2216d5=this[_0x4d265f(0x209)]()+_0x4d265f(0x279)+_0x561958+_0x4d265f(0x227)+_0x598305[_0x4d265f(0x1fa)]+_0x4d265f(0x23c)+_0x1f0e42,_0x2fc992={'body':_0x5e0eca},_0x1a5ea4=(await this[_0x4d265f(0x2b8)]['post'](_0x2216d5,_0x2fc992))[_0x4d265f(0x1e5)];if(_0x1a5ea4[_0x4d265f(0x2b5)]&&_0x1a5ea4[_0x4d265f(0x2b5)][_0x4d265f(0x22d)]!==_0x261329['OK'])throw Error(this[_0x4d265f(0x28d)]('upload\x20request\x20failed',_0x1a5ea4[_0x4d265f(0x2b5)]));return _0x1a5ea4;}catch(_0x279ff1){throw _0x279ff1 instanceof Error?_0x279ff1:Error(this[_0x4d265f(0x2a1)](_0x4d265f(0x2b3),_0x279ff1));}}async[_0x67af43(0x179)](_0x2b654d){const _0x36d551=_0x67af43;let {type:_0x14cdc9,..._0x47f0da}=_0x2b654d;try{let _0x5d8eab=Ge(this[_0x36d551(0x201)](),''+_0x14cdc9),_0x15a523={'body':_0x47f0da},_0x316074=(await this[_0x36d551(0x2b8)][_0x36d551(0x1da)](_0x5d8eab,_0x15a523))[_0x36d551(0x1e5)];return _0x316074[_0x36d551(0x2b5)]&&_0x316074[_0x36d551(0x2b5)][_0x36d551(0x22d)]!==_0x261329['OK']?void 0x0:_0x316074;}catch{return;}}async[_0x67af43(0x255)](_0x5bea79){const _0x54d77b=_0x67af43;let {type:_0x3ff92a}=_0x5bea79;try{let _0x29d129=Ge(this[_0x54d77b(0x240)](),''+_0x3ff92a),_0x5de39c={'body':_0x5bea79},_0x3cac0b=(await this[_0x54d77b(0x2b8)]['post'](_0x29d129,_0x5de39c))['body'];return _0x3cac0b[_0x54d77b(0x2b5)]&&_0x3cac0b[_0x54d77b(0x2b5)]['code']!==_0x261329['OK']?void 0x0:_0x3cac0b;}catch{return;}}async[_0x67af43(0x2a0)](_0x49a939){return new Promise((_0x99e8f0,_0x5e7a6a)=>{const _0x12215f=_0x11c6;try{let _0x5ea21d=0x0,_0x5ccaff=Ke(this[_0x12215f(0x1ee)](),''+_0x49a939),_0x5340e6=this['_getMaxPollingTime'](),_0x30d130=async()=>{const _0x25f8ea=_0x12215f;if(this[_0x25f8ea(0x274)]['has'](_0x49a939))return;let _0x361f6f=(await this[_0x25f8ea(0x2b8)]['get'](_0x5ccaff))['body'];if(_0x361f6f[_0x25f8ea(0x2b5)]&&_0x361f6f[_0x25f8ea(0x2b5)][_0x25f8ea(0x22d)]===_0x261329['OK']){if(_0x361f6f[_0x25f8ea(0x24a)]===_0x25f8ea(0x1ad))_0x99e8f0(_0x361f6f);else{if(_0x361f6f[_0x25f8ea(0x24a)]===_0x25f8ea(0x276)){let _0x54c5ed=0x3e8;if(_0x5ea21d>=_0x5340e6){_0x5e7a6a(_0x361f6f);return;}else _0x5ea21d>=0x7530&&(_0x54c5ed=0x1388);_0x5ea21d+=_0x54c5ed,setTimeout(_0x30d130,_0x54c5ed);}else _0x5e7a6a(_0x361f6f);}}else _0x5e7a6a(_0x361f6f);};_0x30d130();}catch(_0x343f99){_0x5e7a6a(_0x343f99 instanceof Error?_0x343f99:Error(String(_0x343f99)));}});}async[_0x67af43(0x1c6)](_0x1dd7c4){const _0x1d82ff=_0x67af43;try{let _0x219f2b=qe(this[_0x1d82ff(0x224)](),''+_0x1dd7c4);return(await this[_0x1d82ff(0x2b8)][_0x1d82ff(0x218)](_0x219f2b))[_0x1d82ff(0x1e5)];}catch{return;}}async['getTextFromUrl'](_0x45455b){const _0x17c379=_0x67af43;try{return(await this[_0x17c379(0x2b8)]['get'](_0x45455b,{'responseType':_0x17c379(0x289)}))[_0x17c379(0x1e5)];}catch{return;}}[_0x67af43(0x28d)](_0x1c05de,_0x550d2d){let _0x2ff25f=this['_extractErrorDetail'](_0x550d2d);return _0x2ff25f?_0x1c05de+':\x20'+_0x2ff25f:_0x1c05de;}['_buildHttpErrorMessage'](_0x391385,_0x36c73d){const _0x24f90a=_0x67af43;if(_0x36c73d instanceof _0x27964e){let _0x496f74=typeof _0x36c73d[_0x24f90a(0x24a)]==_0x24f90a(0x2a6)?''+_0x36c73d[_0x24f90a(0x24a)]+(_0x36c73d[_0x24f90a(0x231)]?'\x20'+_0x36c73d[_0x24f90a(0x231)]:''):void 0x0,_0x156afc=this[_0x24f90a(0x26a)](_0x36c73d[_0x24f90a(0x2b5)]);return _0x496f74&&_0x156afc?_0x391385+_0x24f90a(0x1ac)+_0x496f74+'\x20-\x20'+_0x156afc:_0x496f74?_0x391385+':\x20HTTP\x20'+_0x496f74:_0x156afc?_0x391385+':\x20'+_0x156afc:_0x391385;}let _0x2d3221=this[_0x24f90a(0x26a)](_0x36c73d);return _0x2d3221?_0x391385+':\x20'+_0x2d3221:_0x391385;}['_extractErrorDetail'](_0x319764){const _0x130be4=_0x67af43;if(typeof _0x319764==_0x130be4(0x2bc)){let _0x250cb5=_0x319764[_0x130be4(0x232)]();return _0x250cb5['length']>0x0?_0x250cb5:void 0x0;}if(_0x319764 instanceof Error)return this[_0x130be4(0x26a)](_0x319764[_0x130be4(0x281)]);if(!_0x319764||typeof _0x319764!=_0x130be4(0x163)||Array[_0x130be4(0x20a)](_0x319764))return;let _0x5aa6f6=_0x319764,_0x4f3866=this['_extractErrorDetail'](_0x5aa6f6[_0x130be4(0x281)]);if(_0x4f3866)return _0x4f3866;if(_0x5aa6f6[_0x130be4(0x2b5)]&&typeof _0x5aa6f6[_0x130be4(0x2b5)]==_0x130be4(0x163)&&!Array[_0x130be4(0x20a)](_0x5aa6f6[_0x130be4(0x2b5)])){let _0x597573=this[_0x130be4(0x26a)](_0x5aa6f6[_0x130be4(0x2b5)]);if(_0x597573)return _0x597573;}}[_0x67af43(0x209)](){const _0x255e90=_0x67af43;let _0x341343=this[_0x255e90(0x1d7)][_0x255e90(0x1b8)](O);return(_0x341343==null?void 0x0:_0x341343[_0x255e90(0x229)])??_0x255e90(0x1b6);}['_getImportURL'](){const _0xc804fa=_0x67af43;let _0x3cfb64=this[_0xc804fa(0x1d7)][_0xc804fa(0x1b8)](O);return(_0x3cfb64==null?void 0x0:_0x3cfb64[_0xc804fa(0x1c9)])??_0xc804fa(0x242);}[_0x67af43(0x240)](){const _0x73ffa0=_0x67af43;let _0x5e5b93=this[_0x73ffa0(0x1d7)]['getConfig'](O);return(_0x5e5b93==null?void 0x0:_0x5e5b93[_0x73ffa0(0x2c3)])??_0x73ffa0(0x192);}[_0x67af43(0x1ee)](){const _0x3680db=_0x67af43;let _0x338849=this['_configService'][_0x3680db(0x1b8)](O);return(_0x338849==null?void 0x0:_0x338849[_0x3680db(0x235)])??_0x3680db(0x1a5);}['_getSignURL'](){const _0x414e02=_0x67af43;let _0x49d0d7=this[_0x414e02(0x1d7)][_0x414e02(0x1b8)](O);return(_0x49d0d7==null?void 0x0:_0x49d0d7[_0x414e02(0x17c)])??_0x414e02(0x29c);}[_0x67af43(0x2b2)](){const _0x597fc9=_0x67af43;let _0x149c7b=this[_0x597fc9(0x1d7)][_0x597fc9(0x1b8)](O);return(_0x149c7b==null?void 0x0:_0x149c7b[_0x597fc9(0x27b)])??0x1d4c0;}};G=W([U(0x0,_0x360230),U(0x1,_0x5ac304(_0x33297d))],G);const nt=_0x67af43(0x182);function rt({formats:_0x4ecfc3,items:_0x3a9065,selectedId:_0x45f87f,onCancel:_0x5d2168,onConfirm:_0xffa9c7}){const _0x110cd5=_0x67af43;let _0x50e030=_0x293a00(_0x529199),[_0x52c074,_0x55f568]=_0x4060a3(_0x4ecfc3[0x0]),[_0x2f43cc,_0xb1b58f]=_0x4060a3(_0x45f87f),[_0x20a351,_0x1e0e3e]=_0x4060a3(!0x1),_0x3212a9=_0x2fc96b(!0x1);return _0x2034a5(_0x110cd5(0x28f),{'className':_0x110cd5(0x1c4),'children':[_0x4e3b3f(_0x110cd5(0x28f),{'className':_0x110cd5(0x2a8),'children':_0x4ecfc3[_0x110cd5(0x160)](_0x36b75a=>_0x2034a5('div',{'className':_0x110cd5(0x15f),'children':[_0x4e3b3f(_0x5688eb,{'value':_0x36b75a,'checked':_0x52c074===_0x36b75a,'onChange':_0x20ce9b=>_0x55f568(_0x20ce9b),'children':_0x4e3b3f(_0x110cd5(0x195),{'className':'univer-w-10','children':_0x36b75a['toUpperCase']()})}),_0x36b75a!==_0x110cd5(0x249)&&_0x4e3b3f(_0x310297,{'className':_0x110cd5(0x1e2),'value':_0x2f43cc,'options':_0x3a9065,'onChange':_0x3e8784=>_0xb1b58f(String(_0x3e8784))})]},_0x36b75a))}),_0x2034a5('div',{'className':_0x110cd5(0x174),'children':[_0x4e3b3f(_0x1e8c04,{'type':_0x110cd5(0x188),'variant':'default','onClick':_0x5d2168,'children':_0x50e030['t'](_0x110cd5(0x1fd))}),_0x2034a5(_0x1e8c04,{'type':'button','variant':_0x110cd5(0x1c8),'aria-busy':_0x20a351,'disabled':_0x20a351||!_0x52c074||_0x52c074!==_0x110cd5(0x249)&&!_0x2f43cc,'onClick':async()=>{const _0x4926f2=_0x110cd5;if(!_0x3212a9[_0x4926f2(0x1f7)]){_0x3212a9[_0x4926f2(0x1f7)]=!0x0,_0x1e0e3e(!0x0);try{await _0xffa9c7(_0x52c074,_0x2f43cc);}finally{_0x3212a9[_0x4926f2(0x1f7)]=!0x1,_0x1e0e3e(!0x1);}}},'children':[_0x20a351&&_0x4e3b3f(_0x5f5516,{'className':'univer-animate-spin'}),_0x50e030['t']('exchange-client.confirm')]})]})]});}let K=class extends _0x2f4977{constructor(_0x33e251,_0xf21338){const _0x770258=_0x67af43;super(),this['_iconManager']=_0x33e251,this[_0x770258(0x2c0)]=_0xf21338,this[_0x770258(0x286)](this[_0x770258(0x2aa)]['register']({'DirectExportIcon':_0x182b8d,'ExportIcon':_0x171c7d,'FolderIcon':_0x11e05d})),this[_0x770258(0x286)](this[_0x770258(0x2c0)]['register'](nt,rt));}};K=W([U(0x0,_0x5ac304(_0xaaf83a)),U(0x1,_0x5ac304(_0x5ab250))],K);const q=_0x389ad7(_0x67af43(0x272));var it=class extends _0x2f4977{constructor(){const _0x22b476=_0x67af43;super(),H(this,'_visible$',new _0x2ee755()),H(this,'_state$',new _0x2ee755()),H(this,'_list$',new _0x2ee755()),H(this,_0x22b476(0x1c3),this[_0x22b476(0x27e)][_0x22b476(0x278)]()),H(this,_0x22b476(0x184),this[_0x22b476(0x1b7)][_0x22b476(0x278)]()),H(this,_0x22b476(0x256),this[_0x22b476(0x1d2)][_0x22b476(0x278)]()),H(this,_0x22b476(0x1e1),[]);}[_0x67af43(0x23b)](){const _0x275733=_0x67af43;super[_0x275733(0x23b)](),this['_visible$'][_0x275733(0x20e)](),this['_state$'][_0x275733(0x20e)](),this[_0x275733(0x1d2)]['complete']();}[_0x67af43(0x1ea)](){const _0x2913ca=_0x67af43;this[_0x2913ca(0x27e)][_0x2913ca(0x1b1)](!0x0);}[_0x67af43(0x296)](){const _0x1e0d6b=_0x67af43;this[_0x1e0d6b(0x27e)][_0x1e0d6b(0x1b1)](!0x1);}[_0x67af43(0x1b0)](_0x735260){const _0x414828=_0x67af43;this[_0x414828(0x1b7)][_0x414828(0x1b1)](_0x735260);}[_0x67af43(0x1ed)](_0x5b1801){const _0x39b6f5=_0x67af43;this[_0x39b6f5(0x1e1)]['unshift'](_0x5b1801),this[_0x39b6f5(0x1d2)][_0x39b6f5(0x1b1)](this['_list']);}};function at(_0x4a775e){const _0x17597f=_0x67af43;let {list:_0xe40d94}=_0x4a775e;function _0x13ba32(_0x50f4c1){const _0x42be03=_0x11c6;switch(_0x50f4c1){case _0x55e920['UNIVER_DOC']:return _0x4e3b3f(_0x4d6ad0,{});case _0x55e920[_0x42be03(0x1a7)]:case _0x55e920[_0x42be03(0x236)]:return _0x4e3b3f(_0x4aa68b,{});case _0x55e920['UNIVER_SLIDE']:return _0x4e3b3f(_0x3aaeee,{});default:return null;}}return _0x4e3b3f(_0x17597f(0x28f),{'className':_0x4eb781(_0x17597f(0x21c),_0x295247),'children':_0x4e3b3f('ul',{'className':_0x17597f(0x27d),'children':_0xe40d94[_0x17597f(0x160)]((_0x3b9631,_0x4e4c56)=>_0x4e3b3f('li',{'children':_0x2034a5('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-gray-0\x20dark:hover:!univer-bg-gray-600','href':_0x3b9631['link'],'target':_0x17597f(0x2ae),'rel':_0x17597f(0x1d1),'children':[_0x2034a5('span',{'className':_0x17597f(0x295),'children':[_0x4e3b3f(_0x17597f(0x195),{'className':_0x17597f(0x26b),'children':_0x13ba32(_0x3b9631[_0x17597f(0x1b5)])}),_0x4e3b3f(_0x54f859,{'showIfEllipsis':!0x0,'title':_0x3b9631['name'],'asChild':!0x0,'children':_0x4e3b3f(_0x17597f(0x195),{'className':'univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-gray-0','children':_0x3b9631[_0x17597f(0x1c1)]})})]}),_0x4e3b3f(_0x17597f(0x195),{'className':_0x17597f(0x228),'children':_0x4e3b3f(_0x493990,{})})]})},_0x4e4c56))})});}const J=_0x389ad7(_0x67af43(0x246));let Y=class extends _0x2f4977{constructor(_0x4485c8,_0x5f2ffa,_0x2d7e34){const _0x1bb80f=_0x67af43;super(),this['_configService']=_0x4485c8,this[_0x1bb80f(0x2b8)]=_0x5f2ffa,this[_0x1bb80f(0x214)]=_0x2d7e34,H(this,_0x1bb80f(0x258),null),H(this,_0x1bb80f(0x1d0),new _0x2ee755()),H(this,_0x1bb80f(0x21b),this['_requestState$'][_0x1bb80f(0x278)]());}[_0x67af43(0x23b)](){const _0x32e651=_0x67af43;super[_0x32e651(0x23b)](),this[_0x32e651(0x1d0)][_0x32e651(0x20e)]();}[_0x67af43(0x19a)](_0x2bc3b8,_0x11fc85,_0x1f1475){const _0xf15ad4=_0x67af43;let _0x3d6038=URL[_0xf15ad4(0x253)](_0x2bc3b8);Re(_0x3d6038,_0x11fc85,_0x1f1475),URL[_0xf15ad4(0x2be)](_0x3d6038);}async[_0x67af43(0x197)](_0x18d8a7,_0x491038){const _0x3d7d0f=_0x67af43;if(_0x491038!=null&&_0x491038[_0x3d7d0f(0x1a1)])return;let _0x2b16c8=await this['_signUrl'](_0x18d8a7);if(!(!_0x2b16c8||_0x491038!=null&&_0x491038['aborted']))return Ve(_0x2b16c8,this[_0x3d7d0f(0x2b8)],_0x491038);}async[_0x67af43(0x18a)](_0xc668b,_0x43fe9c,_0x4b1af4){const _0x1bd0ba=_0x67af43;var _0x46456b,_0x323058;let _0x39b00e=await this[_0x1bd0ba(0x247)](_0xc668b);if(!_0x39b00e)return;let _0x7b2674=await this[_0x1bd0ba(0x248)](_0x39b00e,0x1,_0x43fe9c,_0x4b1af4);if(!_0x7b2674)return;this[_0x1bd0ba(0x258)]=_0x7b2674,this['_requestService']['clearTaskInterrupted']();let _0x38431f=await this['_requestService'][_0x1bd0ba(0x2a0)](_0x7b2674)[_0x1bd0ba(0x1eb)](_0x6e0db4=>{const _0x9957c6=_0x1bd0ba;var _0x31189d;let _0x26b76b=_0x6e0db4 instanceof Error?_0x6e0db4[_0x9957c6(0x281)]:(_0x31189d=_0x6e0db4[_0x9957c6(0x2b5)])==null?void 0x0:_0x31189d[_0x9957c6(0x281)];this[_0x9957c6(0x1d0)]['next']({'error':{'code':_0x261329[_0x9957c6(0x24c)],'message':_0x26b76b||''},'state':0x3});});if(!_0x38431f)return;let _0x5a087f=(_0x46456b=_0x38431f[_0x1bd0ba(0x179)])==null?void 0x0:_0x46456b[_0x1bd0ba(0x1f4)],_0x2b6f65=((_0x323058=_0x38431f[_0x1bd0ba(0x179)])==null?void 0x0:_0x323058[_0x1bd0ba(0x292)])||'';if(_0x5a087f!==0x1){this['_requestState$']['next']({'error':{'code':_0x261329['UNRECOGNIZED'],'message':_0x1bd0ba(0x1e6)},'state':0x3});return;}if(_0x2b6f65[_0x1bd0ba(0x172)]===0x0){this[_0x1bd0ba(0x1d0)][_0x1bd0ba(0x1b1)]({'error':{'code':_0x261329[_0x1bd0ba(0x24c)],'message':_0x1bd0ba(0x168)},'state':0x3});return;}return this[_0x1bd0ba(0x1d0)]['next']({'error':_0x38431f[_0x1bd0ba(0x2b5)],'state':0x3}),_0x2b6f65;}async[_0x67af43(0x2a7)](_0x3e71ee,_0x42dab8,_0x5281d9){const _0x295a8c=_0x67af43;return this[_0x295a8c(0x238)](_0x3e71ee,_0x42dab8,_0x5281d9);}async['exportFileByUnitId'](_0x585951,_0x3ef491,_0x3ba6d0,_0x47ac73){const _0xcca45a=_0x67af43;return this[_0xcca45a(0x1bd)](_0x585951,0x1,_0x3ef491,_0x3ba6d0,_0x47ac73);}async[_0x67af43(0x25c)](_0x1d11c6,_0x1a840e,_0x24072a,_0xc1052f){const _0x2e260b=_0x67af43;return this[_0x2e260b(0x1b9)](_0x1d11c6,_0x1a840e,_0x24072a,_0xc1052f);}[_0x67af43(0x2b1)](){const _0x50dc61=_0x67af43;this[_0x50dc61(0x258)]&&this['_requestService'][_0x50dc61(0x2ac)](this['_importTaskId']);}async[_0x67af43(0x238)](_0x3a8480,_0x53cfac,_0x1427bd){const _0x45ca14=_0x67af43;var _0x25fa1f,_0x13f9b2;let _0x557597=await this[_0x45ca14(0x247)](_0x3a8480);if(!_0x557597)return;let _0x23e4c4=await this[_0x45ca14(0x248)](_0x557597,0x2,_0x53cfac,_0x1427bd);if(!_0x23e4c4)return;this[_0x45ca14(0x258)]=_0x23e4c4,this[_0x45ca14(0x214)][_0x45ca14(0x2c4)]();let _0x2af9fe=await this[_0x45ca14(0x214)]['getTask'](_0x23e4c4)[_0x45ca14(0x1eb)](_0x399b85=>{const _0x4a7fa8=_0x45ca14;var _0x1f5489;let _0x31e35c=_0x399b85 instanceof Error?_0x399b85[_0x4a7fa8(0x281)]:(_0x1f5489=_0x399b85['error'])==null?void 0x0:_0x1f5489['message'];this[_0x4a7fa8(0x1d0)][_0x4a7fa8(0x1b1)]({'error':{'code':_0x261329[_0x4a7fa8(0x24c)],'message':_0x31e35c||''},'state':0x3});});if(!_0x2af9fe)return;let _0x359711=(_0x25fa1f=_0x2af9fe[_0x45ca14(0x179)])==null?void 0x0:_0x25fa1f[_0x45ca14(0x1f4)],_0xde083b=((_0x13f9b2=_0x2af9fe[_0x45ca14(0x179)])==null?void 0x0:_0x13f9b2[_0x45ca14(0x28c)])||'';if(_0x359711!==0x2){this[_0x45ca14(0x1d0)][_0x45ca14(0x1b1)]({'error':{'code':_0x261329[_0x45ca14(0x24c)],'message':'Get\x20outputType\x20error'},'state':0x3});return;}if(_0xde083b['length']===0x0){this[_0x45ca14(0x1d0)][_0x45ca14(0x1b1)]({'error':{'code':_0x261329['UNRECOGNIZED'],'message':_0x45ca14(0x1bf)},'state':0x3});return;}this['_requestState$'][_0x45ca14(0x1b1)]({'error':_0x2af9fe[_0x45ca14(0x2b5)],'state':0x3});let _0x5f2244=await this[_0x45ca14(0x2a2)](_0xde083b);if(!_0x5f2244)return;let _0x466ecc=await this[_0x45ca14(0x214)][_0x45ca14(0x1dd)](_0x5f2244);if(!_0x466ecc){this['_requestState$'][_0x45ca14(0x1b1)]({'error':{'code':_0x261329[_0x45ca14(0x24c)],'message':_0x45ca14(0x2a4)},'state':0x5});return;}try{let _0x28aa90=JSON[_0x45ca14(0x288)](_0x466ecc);return this['_requestState$'][_0x45ca14(0x1b1)]({'error':{'code':_0x261329['OK'],'message':_0x45ca14(0x207)},'state':0x5}),_0x28aa90;}catch{this[_0x45ca14(0x1d0)]['next']({'error':{'code':_0x261329[_0x45ca14(0x24c)],'message':_0x45ca14(0x1a9)},'state':0x5});}}async[_0x67af43(0x1b9)](_0xf3a833,_0x17c5b8,_0x35facf,_0x17286f){const _0x48a8bc=_0x67af43;let _0x54a749=JSON[_0x48a8bc(0x22f)](_0xf3a833),_0xdcf607=_0x2da458[_0x48a8bc(0x216)](_0x54a749),_0xf5056e=_0x4de99a(_0xdcf607),_0x54f67b=_0xdcf607[_0x48a8bc(0x172)],_0x3bccbe=We(_0xf5056e),_0x4ddb0f=await this[_0x48a8bc(0x247)](_0x3bccbe,_0x54f67b,!0x0);if(_0x4ddb0f)return this[_0x48a8bc(0x1bd)](_0x4ddb0f,0x2,_0x17c5b8,_0x35facf,_0x17286f);}async[_0x67af43(0x1bd)](_0x413c4a,_0x1e6e8c,_0x2864ab,_0x332f8e,_0x31b75d){const _0x1c604a=_0x67af43;var _0x450628;let _0x5cce39=await this[_0x1c604a(0x214)][_0x1c604a(0x255)]({..._0x1e6e8c===0x1?{'unitID':_0x413c4a}:{'jsonID':_0x413c4a},'type':_0x2864ab,'format':_0x332f8e,'options':_0x31b75d});if(!_0x5cce39){this['_requestState$'][_0x1c604a(0x1b1)]({'error':{'code':_0x261329['UNRECOGNIZED'],'message':_0x1c604a(0x1dc)},'state':0x2});return;}if(this[_0x1c604a(0x1d0)]['next']({'error':_0x5cce39[_0x1c604a(0x2b5)],'state':0x2}),_0x5cce39[_0x1c604a(0x2b5)]&&_0x5cce39[_0x1c604a(0x2b5)][_0x1c604a(0x22d)]!==_0x261329['OK'])return;let _0x3f7aa8=_0x5cce39['taskID'],_0xd24d6b=await this[_0x1c604a(0x214)][_0x1c604a(0x2a0)](_0x3f7aa8)['catch'](_0x908791=>{const _0x39e237=_0x1c604a;var _0x1466ca;let _0x3bc9e8=_0x908791 instanceof Error?_0x908791[_0x39e237(0x281)]:(_0x1466ca=_0x908791[_0x39e237(0x2b5)])==null?void 0x0:_0x1466ca[_0x39e237(0x281)];this['_requestState$'][_0x39e237(0x1b1)]({'error':{'code':_0x261329[_0x39e237(0x24c)],'message':_0x3bc9e8||''},'state':0x3});});if(!_0xd24d6b)return;let _0x6faca2=((_0x450628=_0xd24d6b['export'])==null?void 0x0:_0x450628[_0x1c604a(0x2c6)])||'';if(_0x6faca2['length']===0x0){this['_requestState$'][_0x1c604a(0x1b1)]({'error':{'code':_0x261329['UNRECOGNIZED'],'message':'Failed\x20to\x20get\x20fileID\x20from\x20task'},'state':0x3});return;}this[_0x1c604a(0x1d0)][_0x1c604a(0x1b1)]({'error':_0xd24d6b[_0x1c604a(0x2b5)],'state':0x3});let _0x46fc23=await this['_signUrl'](_0x6faca2);if(!_0x46fc23)return;let _0x1588aa=await Be(_0x46fc23,this['_httpService']);if(!_0x1588aa){this['_requestState$'][_0x1c604a(0x1b1)]({'error':{'code':_0x261329[_0x1c604a(0x24c)],'message':'Failed\x20to\x20get\x20file\x20from\x20url'},'state':0x6});return;}return this['_requestState$'][_0x1c604a(0x1b1)]({'error':{'code':_0x261329['OK'],'message':_0x1c604a(0x207)},'state':0x6}),_0x1588aa;}async[_0x67af43(0x247)](_0x59aa7c,_0x247373,_0x40b422){const _0x5a05d8=_0x67af43;let _0x30d66e;try{_0x30d66e=await this[_0x5a05d8(0x214)][_0x5a05d8(0x1f8)](_0x59aa7c,_0x247373,_0x40b422);}catch(_0x47418c){let _0x431994=_0x47418c instanceof Error?_0x47418c['message']:String(_0x47418c);this[_0x5a05d8(0x1d0)][_0x5a05d8(0x1b1)]({'error':{'code':_0x261329[_0x5a05d8(0x24c)],'message':_0x431994},'state':0x0});return;}if(!_0x30d66e||typeof _0x30d66e[_0x5a05d8(0x1be)]!=_0x5a05d8(0x2bc)){this[_0x5a05d8(0x1d0)][_0x5a05d8(0x1b1)]({'error':{'code':_0x261329['UNRECOGNIZED'],'message':'upload\x20failed:\x20missing\x20FileId\x20in\x20response'},'state':0x0});return;}let _0x269da2=_0x30d66e[_0x5a05d8(0x1be)];if(_0x269da2[_0x5a05d8(0x172)]===0x0){this[_0x5a05d8(0x1d0)][_0x5a05d8(0x1b1)]({'error':{'code':_0x261329[_0x5a05d8(0x24c)],'message':_0x5a05d8(0x22b)},'state':0x0});return;}return this[_0x5a05d8(0x1d0)][_0x5a05d8(0x1b1)]({'error':{'code':_0x261329['OK'],'message':_0x5a05d8(0x207)},'state':0x0}),_0x269da2;}async[_0x67af43(0x248)](_0x523e96,_0x19c4c6,_0xbeb917,_0x44bbc1){const _0x2f665d=_0x67af43;let _0xff85fc={'fileID':_0x523e96,'type':_0xbeb917,'outputType':_0x19c4c6,'options':_0x44bbc1},_0x52a1dc=await this[_0x2f665d(0x214)][_0x2f665d(0x179)](_0xff85fc);if(!_0x52a1dc){this[_0x2f665d(0x1d0)]['next']({'error':{'code':_0x261329[_0x2f665d(0x24c)],'message':_0x2f665d(0x2bb)},'state':0x1});return;}if(_0x52a1dc['error']&&_0x52a1dc[_0x2f665d(0x2b5)][_0x2f665d(0x22d)]!==_0x261329['OK']){this[_0x2f665d(0x1d0)][_0x2f665d(0x1b1)]({'error':_0x52a1dc['error'],'state':0x1});return;}let _0x141fb9=_0x52a1dc[_0x2f665d(0x1e4)];if(_0x141fb9[_0x2f665d(0x172)]===0x0){this['_requestState$'][_0x2f665d(0x1b1)]({'error':{'code':_0x261329['UNRECOGNIZED'],'message':_0x2f665d(0x16c)},'state':0x1});return;}return this[_0x2f665d(0x1d0)]['next']({'error':_0x52a1dc[_0x2f665d(0x2b5)],'state':0x1}),_0x141fb9;}async[_0x67af43(0x2a2)](_0x3940d6){const _0x47ce48=_0x67af43;let _0x157907=await this[_0x47ce48(0x214)][_0x47ce48(0x1c6)](_0x3940d6);if(!_0x157907){this[_0x47ce48(0x1d0)][_0x47ce48(0x1b1)]({'error':{'code':_0x261329['UNRECOGNIZED'],'message':_0x47ce48(0x205)},'state':0x4});return;}if(_0x157907[_0x47ce48(0x2b5)]&&_0x157907[_0x47ce48(0x2b5)]['code']!==_0x261329['OK']){this[_0x47ce48(0x1d0)]['next']({'error':_0x157907[_0x47ce48(0x2b5)],'state':0x4});return;}let _0x5cd590=_0xf66e2a(_0x157907['url'],this[_0x47ce48(0x183)]());if(_0x5cd590[_0x47ce48(0x172)]===0x0){this[_0x47ce48(0x1d0)][_0x47ce48(0x1b1)]({'error':{'code':_0x261329['UNRECOGNIZED'],'message':_0x47ce48(0x205)},'state':0x4});return;}return this['_requestState$'][_0x47ce48(0x1b1)]({'error':_0x157907[_0x47ce48(0x2b5)],'state':0x4}),_0x5cd590;}[_0x67af43(0x183)](){const _0x4300e5=_0x67af43;let _0x212295=this[_0x4300e5(0x1d7)][_0x4300e5(0x1b8)](O);return(_0x212295==null?void 0x0:_0x212295[_0x4300e5(0x2ad)])??location[_0x4300e5(0x1b3)];}};Y=W([U(0x0,_0x360230),U(0x1,_0x5ac304(_0x33297d)),U(0x2,_0x5ac304(tt))],Y);const ot={'done':0x0,'count':0x0},X=_0x389ad7('univer-pro.exchange-client.operate.service');let Z=class extends _0x2f4977{constructor(_0x1881f3,_0x480ecd,_0x269181,_0x4d0bec,_0x435d5d,_0x15fed4){const _0x29f31d=_0x67af43;super(),this['_univerInstanceService']=_0x1881f3,this[_0x29f31d(0x1ae)]=_0x480ecd,this['_localeService']=_0x269181,this[_0x29f31d(0x1d5)]=_0x4d0bec,this[_0x29f31d(0x282)]=_0x435d5d,this[_0x29f31d(0x196)]=_0x15fed4,H(this,_0x29f31d(0x20f),new _0x3e98f7(ot)),H(this,_0x29f31d(0x194),this[_0x29f31d(0x20f)][_0x29f31d(0x278)]()),H(this,_0x29f31d(0x251),0x0),H(this,'_doneUploadTaskCount',0x0),H(this,_0x29f31d(0x28a),!0x1),H(this,_0x29f31d(0x175),null),this[_0x29f31d(0x286)](_0xd5290e(this[_0x29f31d(0x1d5)][_0x29f31d(0x21b)]['subscribe'](_0x45718c=>{const _0x3ade0b=_0x29f31d;var _0x4c8802;((_0x4c8802=_0x45718c['error'])==null?void 0x0:_0x4c8802[_0x3ade0b(0x22d)])===_0x261329['OK']?this[_0x3ade0b(0x20d)](0x1):this[_0x3ade0b(0x2c2)](_0x45718c['error']);})));}[_0x67af43(0x250)](){const _0x5a338d=_0x67af43;this[_0x5a338d(0x17a)](),this[_0x5a338d(0x282)][_0x5a338d(0x1b0)](0x2),this['_exchangeService'][_0x5a338d(0x2b1)]();}async[_0x67af43(0x18a)](_0x16044b,_0x15c6a0){const _0x10c67f=_0x67af43;if(this[_0x10c67f(0x28a)]||this[_0x10c67f(0x1f6)]()){this[_0x10c67f(0x1ae)][_0x10c67f(0x1ea)]({'type':_0x4e76a4['Warning'],'content':this[_0x10c67f(0x293)]['t'](_0x10c67f(0x1c5))});return;}let _0x25941e;this[_0x10c67f(0x28a)]=!0x0;try{_0x25941e=await B([_0x16044b]);}finally{this['_isSelectingUnitImportFile']=!0x1;}if(_0x25941e&&!this[_0x10c67f(0x1bb)](_0x25941e,_0x16044b))return this[_0x10c67f(0x175)]={'type':_0x16044b,'importer':_0x15c6a0},this['_importFileToUnitId'](_0x25941e[0x0],_0x16044b,_0x15c6a0);}async[_0x67af43(0x275)](){const _0x31f786=_0x67af43;let _0x37bf83=this[_0x31f786(0x175)];if(_0x37bf83)return this[_0x31f786(0x18a)](_0x37bf83[_0x31f786(0x1b5)],_0x37bf83[_0x31f786(0x1a6)]);}async['importFileToSnapshot'](_0x17d357,_0x2a9260){const _0x34ce05=_0x67af43;if(this['_uploadTaskNotDone']()){this['_messageService'][_0x34ce05(0x1ea)]({'type':_0x4e76a4[_0x34ce05(0x2b6)],'content':this['_localeService']['t'](_0x34ce05(0x1c5))});return;}let _0x1206f5=await B([_0x17d357]);if(!_0x1206f5||this[_0x34ce05(0x1bb)](_0x1206f5,_0x17d357))return;this[_0x34ce05(0x28e)](_0x4e76a4[_0x34ce05(0x2ba)]);let _0x1dd72a=await _0x2a9260(_0x1206f5[0x0]);_0x1dd72a&&(this[_0x34ce05(0x20c)](_0x17d357,_0x1dd72a),this[_0x34ce05(0x28e)](_0x4e76a4[_0x34ce05(0x25d)]));}async[_0x67af43(0x1e0)](_0x4ae984,_0x2e9a12){const _0xc22425=_0x67af43;if(this['_uploadTaskNotDone']()){this[_0xc22425(0x1ae)][_0xc22425(0x1ea)]({'type':_0x4e76a4['Warning'],'content':this['_localeService']['t']('exchange-client.uploading')});return;}let _0x146fea=await B([_0x4ae984]);if(!_0x146fea||this['_fileTypeError'](_0x146fea,_0x4ae984))return;this[_0xc22425(0x28e)](_0x4e76a4[_0xc22425(0x2ba)]);let _0x386534=await _0x2e9a12(_0x146fea[0x0]);if(_0x386534)return this['_showUploadMessage'](_0x4e76a4[_0xc22425(0x25d)]),_0x386534;}async[_0x67af43(0x1bc)](_0x2472fa,_0x171afa,_0x1c45d2){const _0x169393=_0x67af43;this[_0x169393(0x2bf)](_0x4e76a4[_0x169393(0x2ba)]);let _0x26dc58=await _0x2472fa();_0x26dc58&&(this[_0x169393(0x1d5)]['downloadFile'](_0x26dc58,_0x171afa||_0x26dc58[_0x169393(0x1c1)][_0x169393(0x21a)]('.')['shift']()||document[_0x169393(0x21d)],_0x1c45d2),this[_0x169393(0x2bf)](_0x4e76a4[_0x169393(0x25d)]));}[_0x67af43(0x244)](_0x2f29fc){const _0x405e58=_0x67af43;this[_0x405e58(0x1aa)]=_0x2f29fc;}async[_0x67af43(0x2a5)](_0x5acae3,_0x3278af,_0x28796a){const _0x1736cd=_0x67af43;this[_0x1736cd(0x282)][_0x1736cd(0x1ea)](),this[_0x1736cd(0x282)]['updateState'](0x0),this[_0x1736cd(0x1a4)](0x4),this['_addDoneTask'](0x1);let _0x454f6d=await _0x28796a(_0x5acae3);if(!_0x454f6d){this['_clearProgress'](),this['_uploadNotificationService'][_0x1736cd(0x1b0)](0x2);return;}let _0x437040={'link':this[_0x1736cd(0x1aa)](_0x454f6d,_0x3278af),'name':_0x5acae3['name'],'type':_0x3278af};return this[_0x1736cd(0x282)][_0x1736cd(0x1ed)](_0x437040),this[_0x1736cd(0x165)](),this[_0x1736cd(0x282)]['updateState'](0x1),_0x454f6d;}[_0x67af43(0x20c)](_0x2a5858,_0x16a22c){const _0x3728b1=_0x67af43;let _0x47bb63=this['_univerInstanceService']['getCurrentUnitOfType'](_0x2a5858);if(!_0x47bb63)throw Error('No\x20unit\x20of\x20type\x20'+_0x2a5858+_0x3728b1(0x25a));this['_univerInstanceService'][_0x3728b1(0x190)](_0x47bb63[_0x3728b1(0x24b)]());let _0x37b250=this['_univerInstanceService'][_0x3728b1(0x1e7)](_0x2a5858,_0x16a22c);this[_0x3728b1(0x284)][_0x3728b1(0x273)](_0x37b250[_0x3728b1(0x24b)]());}[_0x67af43(0x1aa)](_0x3183ad,_0x244522){const _0x5130ef=_0x67af43;let _0x46a515=new URL(window['location'][_0x5130ef(0x2a3)]);return _0x46a515[_0x5130ef(0x26d)][_0x5130ef(0x299)](_0x5130ef(0x22e),_0x3183ad),_0x46a515[_0x5130ef(0x26d)][_0x5130ef(0x299)]('type',''+_0x244522),_0x46a515['toString']();}[_0x67af43(0x2c2)](_0x413a48){const _0x357545=_0x67af43;if(_0x413a48){let {code:_0x4c7f93}=_0x413a48;switch(_0x4c7f93){case _0x261329[_0x357545(0x245)]:this[_0x357545(0x1ae)][_0x357545(0x1ea)]({'type':_0x4e76a4[_0x357545(0x24d)],'content':this[_0x357545(0x293)]['t'](_0x357545(0x223))});break;case _0x261329[_0x357545(0x268)]:this[_0x357545(0x1ae)][_0x357545(0x1ea)]({'type':_0x4e76a4['Error'],'content':this['_localeService']['t'](_0x357545(0x261))});break;default:this[_0x357545(0x1ae)]['show']({'type':_0x4e76a4[_0x357545(0x24d)],'content':this[_0x357545(0x293)]['t'](_0x357545(0x1f9))});break;}return null;}return this['_messageService'][_0x357545(0x1ea)]({'type':_0x4e76a4[_0x357545(0x24d)],'content':this[_0x357545(0x293)]['t'](_0x357545(0x1f9))}),null;}[_0x67af43(0x2bf)](_0x337275){const _0x17e5ed=_0x67af43;let _0x31da34='';switch(_0x337275){case _0x4e76a4[_0x17e5ed(0x25d)]:_0x31da34=this[_0x17e5ed(0x293)]['t'](_0x17e5ed(0x221));break;case _0x4e76a4[_0x17e5ed(0x2ba)]:_0x31da34=this['_localeService']['t']('exchange-client.downloading');break;default:break;}this['_messageService'][_0x17e5ed(0x1ea)]({'type':_0x337275,'content':_0x31da34});}[_0x67af43(0x28e)](_0x35d860){const _0x9f9617=_0x67af43;let _0x4cd779='';switch(_0x35d860){case _0x4e76a4[_0x9f9617(0x25d)]:_0x4cd779=this[_0x9f9617(0x293)]['t'](_0x9f9617(0x1a0));break;case _0x4e76a4['Info']:_0x4cd779=this[_0x9f9617(0x293)]['t'](_0x9f9617(0x1c5));break;default:break;}this[_0x9f9617(0x1ae)][_0x9f9617(0x1ea)]({'type':_0x35d860,'content':_0x4cd779});}[_0x67af43(0x1fe)](){const _0x284e88=_0x67af43;this[_0x284e88(0x20f)][_0x284e88(0x1b1)]({'done':this['_doneUploadTaskCount'],'count':this[_0x284e88(0x251)]});}['_addTotalCount'](_0x333511){const _0x18c6b1=_0x67af43;this[_0x18c6b1(0x251)]+=_0x333511,this[_0x18c6b1(0x1fe)]();}[_0x67af43(0x20d)](_0x498e6f){const _0x46ce2d=_0x67af43;this[_0x46ce2d(0x26e)]+=_0x498e6f,this[_0x46ce2d(0x26e)]=Math[_0x46ce2d(0x1af)](this[_0x46ce2d(0x26e)],this[_0x46ce2d(0x251)]),this[_0x46ce2d(0x1fe)]();}[_0x67af43(0x165)](){const _0x2a89ff=_0x67af43;this[_0x2a89ff(0x26e)]=this[_0x2a89ff(0x251)],this[_0x2a89ff(0x1fe)]();}[_0x67af43(0x17a)](){const _0x4acb26=_0x67af43;this[_0x4acb26(0x26e)]=0x0,this['_totalUploadTaskCount']=0x0,this['_emitProgress']();}['_fileTypeError'](_0x8ef5e2,_0x525047){const _0x44929f=_0x67af43;let _0x130a08=_0x8ef5e2[0x0],_0x2938b5=_0x130a08[_0x44929f(0x1c1)];return ze(_0x130a08,_0x525047)?!0x1:(this[_0x44929f(0x1ae)][_0x44929f(0x1ea)]({'type':_0x4e76a4[_0x44929f(0x24d)],'content':this[_0x44929f(0x293)]['t']('exchange-client.fileTypeError',_0x2938b5)}),!0x0);}[_0x67af43(0x1f6)](){const _0x1e5e97=_0x67af43;return this[_0x1e5e97(0x251)]!==0x0&&this['_doneUploadTaskCount']!==this[_0x1e5e97(0x251)];}};Z=W([U(0x0,_0x5ac304(_0x5a04e6)),U(0x1,_0x1a9b3a),U(0x2,_0x5ac304(_0x529199)),U(0x3,_0x5ac304(J)),U(0x4,_0x5ac304(q)),U(0x5,_0x145bdb)],Z);function st(_0x1f2799){const _0x3ee17a=_0x67af43;let {onClick:_0x107ddf,children:_0x4aee13,className:_0x424a9a}=_0x1f2799;return _0x4e3b3f(_0x1e8c04,{'size':_0x3ee17a(0x294),'variant':_0x3ee17a(0x289),'className':_0x4eb781(_0x3ee17a(0x173),_0x424a9a),'type':_0x3ee17a(0x188),'onClick':_0x107ddf,'children':_0x4aee13});}function _0x11c6(_0x10c442,_0x441e13){_0x10c442=_0x10c442-0x15e;const _0x372555=_0x3725();let _0x11c688=_0x372555[_0x10c442];return _0x11c688;}function ct(){const _0x2c79a4=_0x67af43;let _0x3510ba=_0x293a00(X),_0x102d8b=_0x293a00(_0x529199);function _0x1fd6b9(){const _0x15723b=_0x11c6;return _0x3510ba[_0x15723b(0x275)]();}return _0x4e3b3f(st,{'onClick':_0x1fd6b9,'children':_0x102d8b['t'](_0x2c79a4(0x263))});}function lt(){const _0x55231d=_0x67af43;return _0x2034a5(_0x55231d(0x28f),{'className':_0x55231d(0x164),'children':[_0x4e3b3f(_0x55231d(0x195),{'className':_0x55231d(0x161),'children':_0x293a00(_0x529199)['t'](_0x55231d(0x176))}),_0x4e3b3f(ct,{})]});}function ut(_0x39f560){const _0x4203d5=_0x67af43;let {count:_0x530cbb}=_0x39f560;return _0x2034a5(_0x4203d5(0x28f),{'className':_0x4203d5(0x24f),'children':[_0x4e3b3f(_0x4203d5(0x195),{'className':_0x4203d5(0x193),'children':_0x293a00(_0x529199)['t'](_0x4203d5(0x1e8),''+_0x530cbb)}),_0x4e3b3f(ct,{})]});}function dt(){let _0x2dc958=_0x293a00(X),_0x2b62ed=_0x293a00(_0x529199);function _0x24e161(){const _0x1eba4b=_0x11c6;_0x2dc958[_0x1eba4b(0x250)]();}return _0x4e3b3f(st,{'onClick':_0x24e161,'children':_0x2b62ed['t']('exchange-client.cancel')});}function ft(){const _0x1d9b7f=_0x67af43;let {count:_0x4cdec9,done:_0xcffe27}=_0x47df85(_0x293a00(X)[_0x1d9b7f(0x194)]),_0x4aa7fc=_0x4cdec9>0x0?_0xcffe27/_0x4cdec9:0x0;return _0x4e3b3f('div',{'className':_0x1d9b7f(0x208),'children':_0x4e3b3f(_0x1d9b7f(0x28f),{'className':_0x1d9b7f(0x252),'style':{'width':Math[_0x1d9b7f(0x25f)](_0x4aa7fc*0x64)+'%'}})});}function pt(){const _0xd4e9df=_0x67af43;return _0x2034a5(_0xd4e9df(0x28f),{'className':_0xd4e9df(0x164),'children':[_0x4e3b3f('span',{'className':_0xd4e9df(0x1ef),'children':_0x293a00(_0x529199)['t'](_0xd4e9df(0x237))}),_0x4e3b3f('div',{'className':_0xd4e9df(0x1ca),'children':_0x4e3b3f(ft,{})}),_0x4e3b3f(dt,{})]});}const mt={0x1:_0x4e3b3f(_0x548550,{'className':_0x67af43(0x2bd)}),0x0:_0x4e3b3f(_0x5c74c8,{'className':'univer-text-blue-500'}),0x2:_0x4e3b3f(_0x470829,{'className':'univer-text-red-500'})};function ht(){const _0x4e71d5=_0x67af43;let _0x210b24=_0x293a00(q),_0x98b128=_0x293a00(_0x529199),_0x24c46f=_0x47df85(_0x210b24['state$'],0x0),_0x489bc6=_0x47df85(_0x210b24[_0x4e71d5(0x1c3)],!0x1),_0x5b65e9=_0x47df85(_0x210b24['list$'],[]);function _0x1dad2b(){_0x210b24['hide']();}function _0xb6c5f2(_0x53e9c2){const _0x34fc6f=_0x4e71d5;switch(_0x53e9c2){case 0x1:return _0x98b128['t'](_0x34fc6f(0x1a0));case 0x0:return _0x98b128['t']('exchange-client.uploading');case 0x2:return _0x98b128['t'](_0x34fc6f(0x1cf));default:return'';}}return _0x489bc6&&_0x2034a5(_0x4e71d5(0x28f),{'className':_0x4e71d5(0x199),'children':[_0x2034a5(_0x4e71d5(0x28f),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2','children':[_0x2034a5('span',{'className':_0x4e71d5(0x27c),'children':[_0x4e3b3f(_0x4e71d5(0x195),{'className':_0x4e71d5(0x257),'children':mt[_0x24c46f]}),_0x4e3b3f('span',{'className':'univer-ml-1.5\x20univer-font-semibold\x20univer-text-gray-900\x20dark:!univer-text-gray-0','children':_0xb6c5f2(_0x24c46f)})]}),_0x4e3b3f(_0x4e71d5(0x195),{'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':_0x1dad2b,'children':_0x4e3b3f(_0x43b669,{})})]}),_0x2034a5(_0x4e71d5(0x28f),{'children':[_0x24c46f===0x0&&_0x4e3b3f(pt,{}),_0x24c46f===0x2&&_0x4e3b3f(lt,{}),_0x5b65e9[_0x4e71d5(0x172)]>0x0&&_0x4e3b3f(at,{'list':_0x5b65e9}),_0x24c46f===0x1&&_0x4e3b3f(ut,{'count':_0x5b65e9[_0x4e71d5(0x172)]})]})]});}let Q=class extends _0x2f4977{constructor(_0x813bac,_0x296168){const _0x49aeb3=_0x67af43;super(),this['_injector']=_0x813bac,this[_0x49aeb3(0x230)]=_0x296168,this[_0x49aeb3(0x21f)]();}[_0x67af43(0x21f)](){const _0x5c5246=_0x67af43;this[_0x5c5246(0x286)](this[_0x5c5246(0x230)][_0x5c5246(0x2b0)](_0x116151[_0x5c5246(0x283)],()=>_0x539370(ht,this[_0x5c5246(0x259)])));}};Q=W([U(0x0,_0x5ac304(_0x48222c)),U(0x1,_0x4d8bd7)],Q);let $=class extends _0x31cf87{constructor(_0x5efdd9=k,_0x3e9b22,_0x51fafa){const _0x478954=_0x67af43;super(),this[_0x478954(0x185)]=_0x5efdd9,this[_0x478954(0x259)]=_0x3e9b22,this[_0x478954(0x1d7)]=_0x51fafa;let {..._0x311ea0}=_0x444f78({},k,this['_config']);this[_0x478954(0x1d7)][_0x478954(0x225)](O,_0x311ea0);}[_0x67af43(0x171)](){const _0x118343=_0x67af43;_0x4b5e80(this[_0x118343(0x259)],[[K],[Q],[X,{'useClass':Z}],[J,{'useClass':Y}],[tt,{'useClass':G}],[q,{'useClass':it}]]);}['onReady'](){const _0x280121=_0x67af43;_0x4c55e9(this[_0x280121(0x259)],[[K],[Q],[X]]);}};H($,_0x67af43(0x23d),_0x67af43(0x180)),H($,'packageName',Pe),H($,_0x67af43(0x178),Fe),$=W([_0x169aab(_0x4879c3,_0x5186fe),U(0x1,_0x5ac304(_0x48222c)),U(0x2,_0x360230)],$);function gt(_0x208d73,_0x42cd57){const _0x12f75c=_0x67af43;let _0x39d22e=_0x208d73[_0x12f75c(0x218)](_0x5a04e6)[_0x12f75c(0x1e9)](_0x42cd57);return!_0x39d22e||!_0x208d73[_0x12f75c(0x1cc)](_0x1cdb69)||!_0x208d73[_0x12f75c(0x1cc)](_0x909ffc)?!0x1:_0x208d73[_0x12f75c(0x218)](_0x1cdb69)[_0x12f75c(0x1fc)](_0x39d22e);}function _t(_0x176010){const _0x55bdcf=_0x67af43;let _0x319c18=_0x176010[_0x55bdcf(0x239)];if(!_0x319c18)return null;let _0x5c4ed6={};_0x319c18[_0x55bdcf(0x23f)]&&Object[_0x55bdcf(0x186)](_0x319c18[_0x55bdcf(0x23f)])['forEach'](_0x3d4ca6=>{const _0x4ac56d=_0x55bdcf;let _0x471614=_0x319c18[_0x4ac56d(0x23f)][_0x3d4ca6];_0x5c4ed6[_0x3d4ca6]={..._0x471614,'originalMeta':_0x4c5e06(_0xb1d071[_0x4ac56d(0x1ce)](_0x471614[_0x4ac56d(0x2af)]))};});let _0x3114a2=_0x4c5e06(_0xb1d071[_0x55bdcf(0x1ce)](_0x319c18['originalMeta']));return{..._0x176010,'workbook':{..._0x319c18,'originalMeta':_0x3114a2,'sheets':_0x5c4ed6},'doc':{},'slide':void 0x0,'board':void 0x0,'pdf':void 0x0};}function vt(_0x164100){const _0x2d12d5=_0x67af43;let _0x32dfbf={};return _0x164100[_0x2d12d5(0x271)](_0xc275de=>{const _0x36da54=_0x2d12d5;_0x32dfbf[_0xc275de['id']]={..._0xc275de,'data':_0x4c5e06(_0xb1d071[_0x36da54(0x1ce)](_0xc275de['data']))};}),_0x32dfbf;}var yt=class{constructor(){const _0x598ef9=_0x67af43;H(this,_0x598ef9(0x241),new Map());}[_0x67af43(0x2b4)](){return Promise['resolve']({'snapshot':{'unitID':'','type':_0x55e920['UNIVER_SHEET'],'rev':0x0,'workbook':void 0x0,'doc':void 0x0,'slide':void 0x0,'board':void 0x0},'changesets':[],'error':{'code':_0x261329['OK'],'message':''}});}['getSheetBlock'](_0x4ce6cd,_0x284987){const _0x3cf476=_0x67af43;let _0x514e95=this[_0x3cf476(0x241)][_0x3cf476(0x218)](_0x284987[_0x3cf476(0x18f)]);return Promise[_0x3cf476(0x29b)]({'block':_0x514e95,'error':{'code':_0x261329['OK'],'message':''}});}[_0x67af43(0x26c)](_0x1c63d9,_0x534037){const _0xf7043b=_0x67af43;let _0x4a8c54=this[_0xf7043b(0x241)][_0xf7043b(0x218)](_0x534037[_0xf7043b(0x18f)]);return Promise['resolve']({'block':_0x4a8c54===void 0x0?void 0x0:{..._0x4a8c54,'data':JSON[_0xf7043b(0x288)](_0xb1d071[_0xf7043b(0x1ce)](_0x4a8c54['data']))},'error':{'code':_0x261329['OK'],'message':''}});}[_0x67af43(0x16b)](){const _0x2be927=_0x67af43;return Promise[_0x2be927(0x29b)]({'changesets':[],'error':{'code':_0x261329['OK'],'message':''}});}[_0x67af43(0x290)](){return Promise['resolve']({'resources':{},'error':{'code':_0x261329['OK'],'message':''}});}[_0x67af43(0x166)](){const _0x343ae8=_0x67af43;return Promise[_0x343ae8(0x29b)]({'error':{'code':_0x261329['OK'],'message':''}});}['updateSnapshot'](){return Promise['resolve']({'error':{'code':_0x261329['OK'],'message':''}});}[_0x67af43(0x170)](_0x3b446c,_0x159ba7){const _0x14817b=_0x67af43;let {block:_0x221f47}=_0x159ba7;return _0x221f47?(this[_0x14817b(0x241)][_0x14817b(0x299)](_0x221f47['id'],_0x221f47),Promise[_0x14817b(0x29b)]({'error':{'code':_0x261329['OK'],'message':''},'blockID':_0x221f47['id']})):Promise['resolve']({'error':{'code':_0x261329[_0x14817b(0x25e)],'message':_0x14817b(0x1d3)},'blockID':''});}[_0x67af43(0x2a9)](){return Promise['resolve']({'error':{'code':_0x261329['OK'],'message':''},'concurrent':[]});}['copyFileMeta'](){const _0x3db675=_0x67af43;return Promise[_0x3db675(0x29b)]({'error':void 0x0,'fileMetaId':''});}[_0x67af43(0x217)](){const _0x13b9c7=_0x67af43;return Promise[_0x13b9c7(0x29b)]({'error':void 0x0,'latestReqID':0x0});}};export{yt as ClientSnapshotServerService,nt as EXPORT_FORMAT_DIALOG,et as ExchangeBaseExportMode,$e as ExchangeBaseFormulaPolicy,Qe as ExchangeBaseImportMode,Ze as ExchangeFormat,X as IExchangeOperateService,J as IExchangeService,Xe as ImportOutputType,$ as UniverExchangeClientPlugin,gt as isCurrentUnitLoadedFromServer,vt as transformSheetBlockMetaToString,_t as transformWorkbookSnapshotMetaToString};
|
|
1
|
+
const _0x2f95ae=_0x4a6c;(function(_0x1979e0,_0x52ee67){const _0x5fa46=_0x4a6c,_0x4257a3=_0x1979e0();while(!![]){try{const _0x40cc2e=-parseInt(_0x5fa46(0x13b))/0x1+parseInt(_0x5fa46(0x247))/0x2+parseInt(_0x5fa46(0x220))/0x3*(-parseInt(_0x5fa46(0x11f))/0x4)+parseInt(_0x5fa46(0x273))/0x5*(parseInt(_0x5fa46(0x218))/0x6)+-parseInt(_0x5fa46(0x23f))/0x7*(-parseInt(_0x5fa46(0x169))/0x8)+-parseInt(_0x5fa46(0x1ac))/0x9*(parseInt(_0x5fa46(0x19a))/0xa)+parseInt(_0x5fa46(0x159))/0xb;if(_0x40cc2e===_0x52ee67)break;else _0x4257a3['push'](_0x4257a3['shift']());}catch(_0x2bbca1){_0x4257a3['push'](_0x4257a3['shift']());}}}(_0x4999,0x53d75));import{UniverLicensePlugin as _0x57131c}from'@univerjs-pro/license';import{DependentOn as _0x3ccf1c,Disposable as _0x2c9817,IConfigService as _0x5cee41,ILogService as _0x47835b,IUniverInstanceService as _0x2bebe1,Inject as _0x14d22c,Injector as _0x118913,LocaleService as _0x46ea87,Plugin as _0x10c31e,UniverInstanceType as _0xbcb063,createIdentifier as _0x2c7e44,merge as _0x1a6e89,registerDependencies as _0x11d493,resolveWithBasePath as _0x25cbe8,toDisposable as _0x53fe3d,touchDependencies as _0x2798c8}from'@univerjs/core';import{HTTPEventType as _0x62e1ea,HTTPResponseError as _0x118f50,HTTPService as _0x2f22b7,UniverNetworkPlugin as _0x3de26d}from'@univerjs/network';function _0x4a6c(_0x1e42b7,_0x2403c7){_0x1e42b7=_0x1e42b7-0x111;const _0x4999a1=_0x4999();let _0x4a6c1c=_0x4999a1[_0x1e42b7];return _0x4a6c1c;}import{ClockIcon as _0x1e0fab,CloseIcon as _0x5dea8f,DirectExportIcon as _0x36e844,DocsMultiIcon as _0x14ba93,ErrorIcon as _0x22bee4,ExportIcon as _0x423b9c,FolderIcon as _0x33a57e,LoadingMultiIcon as _0x4a629c,ShareRangeIcon as _0x4ca49f,SheetsMultiIcon as _0x1470ad,SlidesMultiIcon as _0x177697,SuccessIcon as _0x140ea0}from'@univerjs/icons';import{BuiltInUIPart as _0x5310d0,ComponentManager as _0x2595d,IMessageService as _0x2b7e62,IUIPartsService as _0x2a041c,IconManager as _0x2ec023,connectInjector as _0x13e9cf,useDependency as _0x8a3e97,useObservable as _0x2ed394}from'@univerjs/ui';import{Button as _0x44a18e,MessageType as _0x31c6b4,Radio as _0x3f1f40,Select as _0x575129,Tooltip as _0x3a4204,clsx as _0x4a1af8,scrollbarClassName as _0x8b0884}from'@univerjs/design';import{useRef as _0x1e12fc,useState as _0x2dde57}from'react';import{ErrorCode as _0x4d3b89,FileSource as _0x5216b3}from'@univerjs/protocol';import{jsx as _0x1ff327,jsxs as _0x22af6d}from'react/jsx-runtime';import{BehaviorSubject as _0x2dd244,Subject as _0x2d4281}from'rxjs';import{ISnapshotServerService as _0x34c17b,SnapshotService as _0x5302a4,b64EncodeUnicode as _0x17d6df,textDecoder as _0x4ac32d,textEncoder as _0x309d2b}from'@univerjs-pro/collaboration';import{deflateSync as _0xebcdf2}from'fflate';var Pe=_0x2f95ae(0x15e),Fe='1.0.0-beta.2';const O='exchange-client.config',k={},A='application/vnd.openxmlformats-officedocument.wordprocessingml.document',j=_0x2f95ae(0x111),M='application/vnd.ms-excel',N=_0x2f95ae(0x16f),P='text/csv',F='text/tab-separated-values',I=_0x2f95ae(0x226),L='application/vnd.openxmlformats-officedocument.presentationml.presentation',R=_0x2f95ae(0x211),Ie={[_0xbcb063['UNIVER_UNKNOWN']]:[''],[_0xbcb063[_0x2f95ae(0x17e)]]:[j,A],[_0xbcb063[_0x2f95ae(0x1cf)]]:[M,N,P,F],[_0xbcb063[_0x2f95ae(0x162)]]:[I,L],[_0xbcb063[_0x2f95ae(0x136)]]:[R],[_0xbcb063['UNIVER_BASE']]:[M,N,P,F],[_0xbcb063[_0x2f95ae(0x1a8)]]:[''],[_0xbcb063['UNIVER_PROJECT']]:[''],[_0xbcb063[_0x2f95ae(0x213)]]:['']},z={[j]:_0x2f95ae(0x1ce),[A]:_0x2f95ae(0x190),[M]:_0x2f95ae(0x1c3),[N]:_0x2f95ae(0x1c1),[P]:'csv',[F]:_0x2f95ae(0x18c),[I]:_0x2f95ae(0x172),[L]:_0x2f95ae(0x26d),[R]:_0x2f95ae(0x1b4)},Le=Object[_0x2f95ae(0x20e)](Object[_0x2f95ae(0x1bc)](Ie)['map'](([_0x2e7074,_0xd27764])=>[_0x2e7074,_0xd27764[_0x2f95ae(0x165)](_0x2b27a7=>z[_0x2b27a7])[_0x2f95ae(0x177)](Boolean)]));function Re(_0x3526c0,_0x287c89,_0xa7bb83){const _0x4484c9=_0x2f95ae;let _0x36e925=document['createElement']('a');_0x36e925[_0x4484c9(0x1af)]=_0x3526c0,_0x36e925[_0x4484c9(0x23a)][_0x4484c9(0x1d0)]=_0x4484c9(0x244),_0x36e925[_0x4484c9(0x254)]=_0x287c89+'.'+_0xa7bb83,document[_0x4484c9(0x253)][_0x4484c9(0x1e1)](_0x36e925),_0x36e925[_0x4484c9(0x148)](),document[_0x4484c9(0x253)][_0x4484c9(0x223)](_0x36e925);}function ze(_0x5d8ec8,_0x338b80){const _0x37d3e6=_0x2f95ae;var _0x869e41;let _0x5eb36f=(_0x869e41=_0x5d8ec8['name'][_0x37d3e6(0x1dc)]('.')[_0x37d3e6(0x1a7)]())==null?void 0x0:_0x869e41[_0x37d3e6(0x1ad)]();return!!(_0x5eb36f&&(Le[_0x338b80]??[])[_0x37d3e6(0x187)](_0x5eb36f));}function B(_0x5aac94,_0x1db7fe=!0x1){const _0x5c135c=_0x2f95ae;let _0x2ca2a8=_0x5aac94[_0x5c135c(0x1a4)](_0x39ec1f=>Le[_0x39ec1f]??[])[_0x5c135c(0x165)](_0x4a0506=>'.'+_0x4a0506)[_0x5c135c(0x256)](',');return new Promise(_0x503f75=>{const _0x4708eb=_0x5c135c;let _0x3ab3d0=document[_0x4708eb(0x205)](_0x4708eb(0x1f3));_0x3ab3d0[_0x4708eb(0x236)]=_0x4708eb(0x229),_0x3ab3d0[_0x4708eb(0x178)]=_0x2ca2a8,_0x3ab3d0[_0x4708eb(0x20b)]=_0x1db7fe;let _0x4505aa=()=>{const _0x34b178=_0x4708eb;var _0x19547c;return _0x503f75((_0x19547c=_0x3ab3d0['files'])!=null&&_0x19547c[_0x34b178(0x174)]?_0x3ab3d0[_0x34b178(0x132)]:null);};_0x3ab3d0[_0x4708eb(0x160)](_0x4708eb(0x214),_0x4505aa,{'once':!0x0}),_0x3ab3d0[_0x4708eb(0x160)](_0x4708eb(0x168),_0x4505aa,{'once':!0x0}),_0x3ab3d0[_0x4708eb(0x148)]();});}async function Be(_0x408273,_0x269498){const _0x521f2e=_0x2f95ae;try{return await Ve(_0x408273,_0x269498);}catch(_0x3e1d43){console[_0x521f2e(0x171)](_0x521f2e(0x250),_0x3e1d43);return;}}async function Ve(_0x2beed1,_0x5b8055,_0x16393e){const _0x46e478=_0x2f95ae;var _0x506f83,_0x66b448;let _0x104249=_0x16393e?await He(_0x2beed1,_0x5b8055,_0x16393e):await _0x5b8055[_0x46e478(0x184)](_0x2beed1,{'responseType':_0x46e478(0x16a)}),_0x3d37b5=_0x104249[_0x46e478(0x253)],_0x2d6658=((_0x506f83=_0x104249[_0x46e478(0x1f5)][_0x46e478(0x184)](_0x46e478(0x263)))==null?void 0x0:_0x506f83[_0x46e478(0x256)](',\x20'))??_0x46e478(0x201),_0x40e93e='file.'+(z[_0x2d6658]||_0x46e478(0x1c1)),_0x40e78f=(_0x66b448=_0x104249[_0x46e478(0x1f5)][_0x46e478(0x184)]('content-disposition'))==null?void 0x0:_0x66b448[_0x46e478(0x256)](',\x20');if(_0x40e78f){let _0x53cc31=_0x40e78f[_0x46e478(0x1f2)](/filename=(.+)/);_0x53cc31&&_0x53cc31[0x1]&&(_0x40e93e=_0x53cc31[0x1]);}else _0x40e93e=Ue(_0x2beed1)||_0x40e93e;return new File([_0x3d37b5],_0x40e93e,{'type':_0x2d6658});}function He(_0x45fef,_0x5b5f20,_0x56f5a2){return new Promise((_0x1f47b0,_0x580a73)=>{const _0x252bc9=_0x4a6c;let _0x12ab21=!0x1,_0x521924,_0xf8d35a=()=>_0x56f5a2[_0x252bc9(0x164)](_0x252bc9(0x12b),_0x545a09),_0x545a09=()=>{const _0x36fdb9=_0x252bc9;if(_0x12ab21)return;_0x12ab21=!0x0,_0x521924==null||_0x521924['unsubscribe'](),_0xf8d35a();let _0x57825b=Error(_0x36fdb9(0x20d));_0x57825b[_0x36fdb9(0x154)]='AbortError',_0x580a73(_0x57825b);};if(_0x56f5a2[_0x252bc9(0x160)]('abort',_0x545a09,{'once':!0x0}),_0x56f5a2[_0x252bc9(0x13d)]){_0x545a09();return;}_0x521924=_0x5b5f20['stream'](_0x252bc9(0x23e),_0x45fef,{'responseType':'blob'})['subscribe']({'next'(_0x36bea3){const _0x304335=_0x252bc9;_0x12ab21||_0x36bea3[_0x304335(0x236)]!==_0x62e1ea['Response']||(_0x12ab21=!0x0,_0xf8d35a(),_0x521924==null||_0x521924['unsubscribe'](),_0x1f47b0(_0x36bea3));},'error'(_0x3dd602){_0x12ab21||(_0x12ab21=!0x0,_0xf8d35a(),_0x580a73(_0x3dd602));},'complete'(){const _0xe97c75=_0x252bc9;_0x12ab21||(_0x12ab21=!0x0,_0xf8d35a(),_0x580a73(Error(_0xe97c75(0x1e3))));}}),_0x12ab21&&_0x521924['unsubscribe']();});}function Ue(_0x4911bb){const _0x234fd8=_0x2f95ae;try{return new URL(_0x4911bb)['pathname']['split']('/')['pop']();}catch(_0x24a07b){console['error'](_0x234fd8(0x20f),_0x24a07b);return;}}function We(_0x4f68ed){const _0x3f99c9=_0x2f95ae;let _0xa0b895=new Blob([_0x4f68ed[_0x3f99c9(0x17b)]],{'type':_0x3f99c9(0x26a)});return new File([_0xa0b895],_0x3f99c9(0x1f7));}function Ge(_0x362ec4,_0x15c45e){const _0x171093=_0x2f95ae;return _0x362ec4[_0x171093(0x1bb)](_0x171093(0x141),_0x15c45e);}function Ke(_0x406682,_0x4a37cf){const _0x3714a7=_0x2f95ae;return _0x406682[_0x3714a7(0x1bb)](_0x3714a7(0x25d),_0x4a37cf);}function qe(_0x551b84,_0x4697e0){const _0x159fdf=_0x2f95ae;return _0x551b84[_0x159fdf(0x1bb)]('{fileID}',_0x4697e0);}function V(_0x6e496d){'@babel/helpers - typeof';const _0x219afa=_0x2f95ae;return V=typeof Symbol=='function'&&typeof Symbol['iterator']==_0x219afa(0x158)?function(_0x5d093e){return typeof _0x5d093e;}:function(_0x278373){const _0x3f169b=_0x219afa;return _0x278373&&typeof Symbol=='function'&&_0x278373[_0x3f169b(0x246)]===Symbol&&_0x278373!==Symbol['prototype']?_0x3f169b(0x158):typeof _0x278373;},V(_0x6e496d);}function Je(_0x1ce430,_0x1ea084){const _0x4986d8=_0x2f95ae;if(V(_0x1ce430)!='object'||!_0x1ce430)return _0x1ce430;var _0x5ca485=_0x1ce430[Symbol[_0x4986d8(0x1cc)]];if(_0x5ca485!==void 0x0){var _0x29bd43=_0x5ca485[_0x4986d8(0x1b7)](_0x1ce430,_0x1ea084||_0x4986d8(0x150));if(V(_0x29bd43)!=_0x4986d8(0x1b0))return _0x29bd43;throw TypeError(_0x4986d8(0x1d2));}return(_0x1ea084===_0x4986d8(0x26b)?String:Number)(_0x1ce430);}function Ye(_0x1b7f74){const _0x4a0772=_0x2f95ae;var _0x23deb3=Je(_0x1b7f74,_0x4a0772(0x26b));return V(_0x23deb3)==_0x4a0772(0x158)?_0x23deb3:_0x23deb3+'';}function H(_0x439d1e,_0x2ae5e4,_0x41ac0e){return(_0x2ae5e4=Ye(_0x2ae5e4))in _0x439d1e?Object['defineProperty'](_0x439d1e,_0x2ae5e4,{'value':_0x41ac0e,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x439d1e[_0x2ae5e4]=_0x41ac0e,_0x439d1e;}function U(_0x5ac57b,_0x3bc782){return function(_0x21ee69,_0x2ff5d6){_0x3bc782(_0x21ee69,_0x2ff5d6,_0x5ac57b);};}function W(_0x5a3b03,_0x43dfbf,_0x1e47e4,_0x488356){const _0x553999=_0x2f95ae;var _0x19e010=arguments[_0x553999(0x174)],_0x5b793f=_0x19e010<0x3?_0x43dfbf:_0x488356===null?_0x488356=Object[_0x553999(0x24d)](_0x43dfbf,_0x1e47e4):_0x488356,_0x2b1c4e;if(typeof Reflect=='object'&&typeof Reflect['decorate']=='function')_0x5b793f=Reflect[_0x553999(0x25a)](_0x5a3b03,_0x43dfbf,_0x1e47e4,_0x488356);else{for(var _0x2b1bf6=_0x5a3b03[_0x553999(0x174)]-0x1;_0x2b1bf6>=0x0;_0x2b1bf6--)(_0x2b1c4e=_0x5a3b03[_0x2b1bf6])&&(_0x5b793f=(_0x19e010<0x3?_0x2b1c4e(_0x5b793f):_0x19e010>0x3?_0x2b1c4e(_0x43dfbf,_0x1e47e4,_0x5b793f):_0x2b1c4e(_0x43dfbf,_0x1e47e4))||_0x5b793f);}return _0x19e010>0x3&&_0x5b793f&&Object[_0x553999(0x1df)](_0x43dfbf,_0x1e47e4,_0x5b793f),_0x5b793f;}let Xe=function(_0x588b54){const _0x2a7a13=_0x2f95ae;return _0x588b54[_0x588b54[_0x2a7a13(0x26c)]=0x0]='UNDEFINED',_0x588b54[_0x588b54['UNIT']=0x1]='UNIT',_0x588b54[_0x588b54[_0x2a7a13(0x17d)]=0x2]=_0x2a7a13(0x17d),_0x588b54[_0x588b54[_0x2a7a13(0x213)]=-0x1]=_0x2a7a13(0x213),_0x588b54;}({}),Ze=function(_0x1dcf46){const _0x1bd175=_0x2f95ae;return _0x1dcf46[_0x1bd175(0x1fd)]=_0x1bd175(0x1c1),_0x1dcf46[_0x1bd175(0x1dd)]=_0x1bd175(0x1f1),_0x1dcf46[_0x1bd175(0x21a)]=_0x1bd175(0x18c),_0x1dcf46[_0x1bd175(0x18a)]=_0x1bd175(0x190),_0x1dcf46[_0x1bd175(0x16b)]=_0x1bd175(0x26d),_0x1dcf46[_0x1bd175(0x161)]=_0x1bd175(0x1b4),_0x1dcf46;}({}),Qe=function(_0x500e8a){const _0x2a0e3c=_0x2f95ae;return _0x500e8a[_0x2a0e3c(0x207)]=_0x2a0e3c(0x22b),_0x500e8a['TRADITIONAL']='traditional',_0x500e8a;}({}),$e=function(_0x1ed9e3){const _0x7ea26=_0x2f95ae;return _0x1ed9e3[_0x7ea26(0x1b2)]=_0x7ea26(0x265),_0x1ed9e3[_0x7ea26(0x1fb)]=_0x7ea26(0x22f),_0x1ed9e3[_0x7ea26(0x1b5)]=_0x7ea26(0x216),_0x1ed9e3[_0x7ea26(0x262)]='hybrid',_0x1ed9e3;}({}),et=function(_0x3bc78d){const _0x3da4c8=_0x2f95ae;return _0x3bc78d[_0x3da4c8(0x225)]=_0x3da4c8(0x175),_0x3bc78d[_0x3da4c8(0x166)]=_0x3da4c8(0x259),_0x3bc78d['TEXT']=_0x3da4c8(0x24c),_0x3bc78d[_0x3da4c8(0x21c)]='fail',_0x3bc78d;}({}),tt=function(_0x481c3b){const _0x456187=_0x2f95ae;return _0x481c3b['TABLES']=_0x456187(0x22f),_0x481c3b[_0x456187(0x25e)]=_0x456187(0x1f9),_0x481c3b;}({});const nt=_0x2c7e44(_0x2f95ae(0x137));let G=class{constructor(_0x396c3e,_0x47d02f){const _0x10bf32=_0x2f95ae;this[_0x10bf32(0x199)]=_0x396c3e,this[_0x10bf32(0x22c)]=_0x47d02f,H(this,_0x10bf32(0x274),new Set());}[_0x2f95ae(0x264)](){}[_0x2f95ae(0x258)](_0x18d6ae){const _0x4c8b41=_0x2f95ae;this[_0x4c8b41(0x274)][_0x4c8b41(0x1fc)](_0x18d6ae);}[_0x2f95ae(0x217)](){const _0x21539e=_0x2f95ae;this[_0x21539e(0x274)][_0x21539e(0x1ae)]();}async[_0x2f95ae(0x26e)](_0x5b780d,_0x3ec9c0=0x0,_0x4b9203=!0x1){const _0x134b5d=_0x2f95ae;if(typeof _0x5b780d==_0x134b5d(0x26b)){let _0x19d840=await Be(_0x5b780d,this[_0x134b5d(0x22c)]);if(!_0x19d840)throw Error('upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url');_0x5b780d=_0x19d840;}_0x3ec9c0||=_0x5b780d[_0x134b5d(0x261)];let _0x1838b1=new FormData();_0x1838b1[_0x134b5d(0x16e)]('file',_0x5b780d);try{let _0x2a1c81=this[_0x134b5d(0x11c)]()+_0x134b5d(0x122)+_0x3ec9c0+_0x134b5d(0x182)+_0x5216b3[_0x134b5d(0x230)]+'&flate='+_0x4b9203,_0x2b593f={'body':_0x1838b1},_0x40302c=(await this['_httpService'][_0x134b5d(0x1ea)](_0x2a1c81,_0x2b593f))[_0x134b5d(0x253)];if(_0x40302c[_0x134b5d(0x171)]&&_0x40302c['error']['code']!==_0x4d3b89['OK'])throw Error(this['_buildProtocolErrorMessage'](_0x134b5d(0x242),_0x40302c['error']));return _0x40302c;}catch(_0x22bbcf){throw _0x22bbcf instanceof Error?_0x22bbcf:Error(this[_0x134b5d(0x1fe)](_0x134b5d(0x242),_0x22bbcf));}}async[_0x2f95ae(0x202)](_0x167179){const _0x4c2317=_0x2f95ae;let {type:_0xeafbf6,..._0x2edbf3}=_0x167179;try{let _0x321f93=Ge(this['_getImportURL'](),''+_0xeafbf6),_0xf52ede={'body':_0x2edbf3},_0x232fc6=(await this['_httpService']['post'](_0x321f93,_0xf52ede))[_0x4c2317(0x253)];return _0x232fc6['error']&&_0x232fc6['error']['code']!==_0x4d3b89['OK']?void 0x0:_0x232fc6;}catch{return;}}async[_0x2f95ae(0x135)](_0x4ffff7){const _0x475798=_0x2f95ae;let {type:_0x1532e9}=_0x4ffff7;try{let _0x5c9f12=Ge(this['_getExportURL'](),''+_0x1532e9),_0x5887ab={'body':_0x4ffff7},_0xc2f6b0=(await this[_0x475798(0x22c)][_0x475798(0x1ea)](_0x5c9f12,_0x5887ab))['body'];return _0xc2f6b0[_0x475798(0x171)]&&_0xc2f6b0[_0x475798(0x171)]['code']!==_0x4d3b89['OK']?void 0x0:_0xc2f6b0;}catch{return;}}async[_0x2f95ae(0x121)](_0x234f55){return new Promise((_0x269684,_0xd03b4f)=>{const _0x5bf700=_0x4a6c;try{let _0x53046d=0x0,_0x3834e6=Ke(this['_getTaskURL'](),''+_0x234f55),_0x3d0b48=this[_0x5bf700(0x152)](),_0x343375=async()=>{const _0x4c2259=_0x5bf700;if(this[_0x4c2259(0x274)][_0x4c2259(0x19e)](_0x234f55))return;let _0x554a91=(await this[_0x4c2259(0x22c)][_0x4c2259(0x184)](_0x3834e6))[_0x4c2259(0x253)];if(_0x554a91[_0x4c2259(0x171)]&&_0x554a91[_0x4c2259(0x171)][_0x4c2259(0x12c)]===_0x4d3b89['OK']){if(_0x554a91[_0x4c2259(0x1d9)]===_0x4c2259(0x114))_0x269684(_0x554a91);else{if(_0x554a91[_0x4c2259(0x1d9)]===_0x4c2259(0x24b)){let _0xfe90c3=0x3e8;if(_0x53046d>=_0x3d0b48){_0xd03b4f(_0x554a91);return;}else _0x53046d>=0x7530&&(_0xfe90c3=0x1388);_0x53046d+=_0xfe90c3,setTimeout(_0x343375,_0xfe90c3);}else _0xd03b4f(_0x554a91);}}else _0xd03b4f(_0x554a91);};_0x343375();}catch(_0x5644c5){_0xd03b4f(_0x5644c5 instanceof Error?_0x5644c5:Error(String(_0x5644c5)));}});}async[_0x2f95ae(0x13e)](_0x26b0d8){const _0x472d8d=_0x2f95ae;try{let _0x132e0b=qe(this[_0x472d8d(0x1e5)](),''+_0x26b0d8);return(await this['_httpService'][_0x472d8d(0x184)](_0x132e0b))['body'];}catch{return;}}async[_0x2f95ae(0x145)](_0xdf4e7d){const _0xcb56c6=_0x2f95ae;try{return(await this[_0xcb56c6(0x22c)][_0xcb56c6(0x184)](_0xdf4e7d,{'responseType':_0xcb56c6(0x24c)}))[_0xcb56c6(0x253)];}catch{return;}}[_0x2f95ae(0x260)](_0x81a5de,_0x419c10){const _0x87047d=_0x2f95ae;let _0x5e2273=this[_0x87047d(0x233)](_0x419c10);return _0x5e2273?_0x81a5de+':\x20'+_0x5e2273:_0x81a5de;}[_0x2f95ae(0x1fe)](_0x1da39c,_0x263b47){const _0x195af7=_0x2f95ae;if(_0x263b47 instanceof _0x118f50){let _0x45c643=typeof _0x263b47[_0x195af7(0x1d9)]=='number'?''+_0x263b47['status']+(_0x263b47[_0x195af7(0x183)]?'\x20'+_0x263b47[_0x195af7(0x183)]:''):void 0x0,_0x2c5b56=this[_0x195af7(0x233)](_0x263b47[_0x195af7(0x171)]);return _0x45c643&&_0x2c5b56?_0x1da39c+_0x195af7(0x1f6)+_0x45c643+_0x195af7(0x206)+_0x2c5b56:_0x45c643?_0x1da39c+_0x195af7(0x1f6)+_0x45c643:_0x2c5b56?_0x1da39c+':\x20'+_0x2c5b56:_0x1da39c;}let _0xabbbdf=this[_0x195af7(0x233)](_0x263b47);return _0xabbbdf?_0x1da39c+':\x20'+_0xabbbdf:_0x1da39c;}[_0x2f95ae(0x233)](_0x4e01fc){const _0x4e4ef1=_0x2f95ae;if(typeof _0x4e01fc=='string'){let _0x13ed78=_0x4e01fc['trim']();return _0x13ed78[_0x4e4ef1(0x174)]>0x0?_0x13ed78:void 0x0;}if(_0x4e01fc instanceof Error)return this[_0x4e4ef1(0x233)](_0x4e01fc[_0x4e4ef1(0x1a1)]);if(!_0x4e01fc||typeof _0x4e01fc!='object'||Array['isArray'](_0x4e01fc))return;let _0x396b9b=_0x4e01fc,_0x3de454=this[_0x4e4ef1(0x233)](_0x396b9b[_0x4e4ef1(0x1a1)]);if(_0x3de454)return _0x3de454;if(_0x396b9b['error']&&typeof _0x396b9b[_0x4e4ef1(0x171)]==_0x4e4ef1(0x1b0)&&!Array[_0x4e4ef1(0x272)](_0x396b9b[_0x4e4ef1(0x171)])){let _0x4f066b=this[_0x4e4ef1(0x233)](_0x396b9b[_0x4e4ef1(0x171)]);if(_0x4f066b)return _0x4f066b;}}[_0x2f95ae(0x11c)](){const _0x5cb937=_0x2f95ae;let _0xf4ddc7=this['_configService']['getConfig'](O);return(_0xf4ddc7==null?void 0x0:_0xf4ddc7[_0x5cb937(0x1ee)])??_0x5cb937(0x1d4);}[_0x2f95ae(0x192)](){const _0x5f5b1a=_0x2f95ae;let _0x242501=this[_0x5f5b1a(0x199)]['getConfig'](O);return(_0x242501==null?void 0x0:_0x242501[_0x5f5b1a(0x128)])??_0x5f5b1a(0x235);}[_0x2f95ae(0x222)](){const _0x568268=_0x2f95ae;let _0x1d9eba=this[_0x568268(0x199)]['getConfig'](O);return(_0x1d9eba==null?void 0x0:_0x1d9eba[_0x568268(0x155)])??'/universer-api/exchange/{type}/export';}[_0x2f95ae(0x22e)](){const _0x4400b1=_0x2f95ae;let _0x390958=this['_configService'][_0x4400b1(0x1d3)](O);return(_0x390958==null?void 0x0:_0x390958[_0x4400b1(0x19c)])??'/universer-api/exchange/task/{taskID}';}[_0x2f95ae(0x1e5)](){const _0x36ef51=_0x2f95ae;let _0xbc17b2=this['_configService'][_0x36ef51(0x1d3)](O);return(_0xbc17b2==null?void 0x0:_0xbc17b2['signUrlServerUrl'])??_0x36ef51(0x133);}[_0x2f95ae(0x152)](){const _0x52279f=_0x2f95ae;let _0x381027=this[_0x52279f(0x199)][_0x52279f(0x1d3)](O);return(_0x381027==null?void 0x0:_0x381027[_0x52279f(0x142)])??0x1d4c0;}};G=W([U(0x0,_0x5cee41),U(0x1,_0x14d22c(_0x2f22b7))],G);const rt=_0x2f95ae(0x267);function it({formats:_0x5e171c,items:_0x461f41,selectedId:_0x1f6358,onCancel:_0x42e71b,onConfirm:_0xbaa24e}){const _0x2e5dfa=_0x2f95ae;let _0xb38669=_0x8a3e97(_0x46ea87),[_0xebbba,_0x26e7c7]=_0x2dde57(_0x5e171c[0x0]),[_0x5f0fe6,_0x5b39fa]=_0x2dde57(_0x1f6358),[_0x260e69,_0x12d20f]=_0x2dde57(!0x1),_0x28bd8e=_0x1e12fc(!0x1);return _0x22af6d('div',{'className':_0x2e5dfa(0x130),'children':[_0x1ff327(_0x2e5dfa(0x25c),{'className':_0x2e5dfa(0x15b),'children':_0x5e171c['map'](_0x3e7e80=>_0x22af6d('div',{'className':_0x2e5dfa(0x24f),'children':[_0x1ff327(_0x3f1f40,{'value':_0x3e7e80,'checked':_0xebbba===_0x3e7e80,'onChange':_0x26dc58=>_0x26e7c7(_0x26dc58),'children':_0x1ff327('span',{'className':_0x2e5dfa(0x125),'children':_0x3e7e80[_0x2e5dfa(0x232)]()})}),_0x3e7e80!==_0x2e5dfa(0x1c1)&&_0x1ff327(_0x575129,{'className':_0x2e5dfa(0x163),'value':_0x5f0fe6,'options':_0x461f41,'onChange':_0x131a59=>_0x5b39fa(String(_0x131a59))})]},_0x3e7e80))}),_0x22af6d(_0x2e5dfa(0x25c),{'className':'univer-flex\x20univer-justify-end\x20univer-gap-2','children':[_0x1ff327(_0x44a18e,{'type':_0x2e5dfa(0x196),'variant':_0x2e5dfa(0x150),'onClick':_0x42e71b,'children':_0xb38669['t'](_0x2e5dfa(0x143))}),_0x22af6d(_0x44a18e,{'type':_0x2e5dfa(0x196),'variant':_0x2e5dfa(0x186),'aria-busy':_0x260e69,'disabled':_0x260e69||!_0xebbba||_0xebbba!==_0x2e5dfa(0x1c1)&&!_0x5f0fe6,'onClick':async()=>{const _0x2d3293=_0x2e5dfa;if(!_0x28bd8e['current']){_0x28bd8e[_0x2d3293(0x1d6)]=!0x0,_0x12d20f(!0x0);try{await _0xbaa24e(_0xebbba,_0x5f0fe6);}finally{_0x28bd8e[_0x2d3293(0x1d6)]=!0x1,_0x12d20f(!0x1);}}},'children':[_0x260e69&&_0x1ff327(_0x4a629c,{'className':'univer-animate-spin'}),_0xb38669['t'](_0x2e5dfa(0x239))]})]})]});}let K=class extends _0x2c9817{constructor(_0x40d625,_0x5626d8){const _0x27e8b0=_0x2f95ae;super(),this[_0x27e8b0(0x248)]=_0x40d625,this[_0x27e8b0(0x11e)]=_0x5626d8,this[_0x27e8b0(0x120)](),this['_registerComponents']();}['_registerIcons'](){this['disposeWithMe'](this['_iconManager']['register']({'DirectExportIcon':_0x36e844,'ExportIcon':_0x423b9c,'FolderIcon':_0x33a57e}));}[_0x2f95ae(0x25b)](){const _0x28140c=_0x2f95ae;this[_0x28140c(0x15a)](this[_0x28140c(0x11e)][_0x28140c(0x18f)](rt,it));}};K=W([U(0x0,_0x14d22c(_0x2ec023)),U(0x1,_0x14d22c(_0x2595d))],K);const q=_0x2c7e44(_0x2f95ae(0x1d8));var at=class extends _0x2c9817{constructor(){const _0x44eab4=_0x2f95ae;super(),H(this,_0x44eab4(0x147),new _0x2d4281()),H(this,'_state$',new _0x2d4281()),H(this,_0x44eab4(0x1ab),new _0x2d4281()),H(this,_0x44eab4(0x1c0),this[_0x44eab4(0x147)][_0x44eab4(0x113)]()),H(this,_0x44eab4(0x156),this[_0x44eab4(0x1a9)][_0x44eab4(0x113)]()),H(this,'list$',this['_list$'][_0x44eab4(0x113)]()),H(this,_0x44eab4(0x129),[]);}[_0x2f95ae(0x264)](){const _0x5306e9=_0x2f95ae;super[_0x5306e9(0x264)](),this[_0x5306e9(0x147)][_0x5306e9(0x12a)](),this[_0x5306e9(0x1a9)][_0x5306e9(0x12a)](),this[_0x5306e9(0x1ab)][_0x5306e9(0x12a)]();}[_0x2f95ae(0x117)](){const _0x3f21cd=_0x2f95ae;this[_0x3f21cd(0x147)][_0x3f21cd(0x1d7)](!0x0);}['hide'](){const _0x30f2c8=_0x2f95ae;this['_visible$'][_0x30f2c8(0x1d7)](!0x1);}[_0x2f95ae(0x1c6)](_0x22068a){const _0x5963a4=_0x2f95ae;this[_0x5963a4(0x1a9)][_0x5963a4(0x1d7)](_0x22068a);}[_0x2f95ae(0x126)](_0x23495c){const _0x2bf563=_0x2f95ae;this[_0x2bf563(0x129)][_0x2bf563(0x210)](_0x23495c),this[_0x2bf563(0x1ab)][_0x2bf563(0x1d7)](this[_0x2bf563(0x129)]);}};function ot(_0x46cdd0){const _0x2d7af9=_0x2f95ae;let {list:_0x37eb77}=_0x46cdd0;function _0x2dcccc(_0x1cf40f){const _0x41e92e=_0x4a6c;switch(_0x1cf40f){case _0xbcb063['UNIVER_DOC']:return _0x1ff327(_0x14ba93,{});case _0xbcb063[_0x41e92e(0x1cf)]:case _0xbcb063['UNIVER_BASE']:return _0x1ff327(_0x1470ad,{});case _0xbcb063[_0x41e92e(0x162)]:return _0x1ff327(_0x177697,{});default:return null;}}return _0x1ff327(_0x2d7af9(0x25c),{'className':_0x4a1af8('univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden',_0x8b0884),'children':_0x1ff327('ul',{'className':_0x2d7af9(0x15d),'children':_0x37eb77[_0x2d7af9(0x165)]((_0x23b33e,_0x442cd0)=>_0x1ff327('li',{'children':_0x22af6d('a',{'className':_0x2d7af9(0x1da),'href':_0x23b33e[_0x2d7af9(0x18b)],'target':_0x2d7af9(0x21d),'rel':'noreferrer','children':[_0x22af6d(_0x2d7af9(0x14e),{'className':_0x2d7af9(0x203),'children':[_0x1ff327(_0x2d7af9(0x14e),{'className':'univer-flex\x20univer-h-5\x20univer-text-xl','children':_0x2dcccc(_0x23b33e[_0x2d7af9(0x236)])}),_0x1ff327(_0x3a4204,{'showIfEllipsis':!0x0,'title':_0x23b33e[_0x2d7af9(0x154)],'asChild':!0x0,'children':_0x1ff327(_0x2d7af9(0x14e),{'className':_0x2d7af9(0x1b6),'children':_0x23b33e[_0x2d7af9(0x154)]})})]}),_0x1ff327('span',{'className':_0x2d7af9(0x227),'children':_0x1ff327(_0x4ca49f,{})})]})},_0x442cd0))})});}const J=_0x2c7e44(_0x2f95ae(0x14a));let Y=class extends _0x2c9817{constructor(_0x3f2b69,_0x2cb62f,_0x48ae9b){const _0x26f85b=_0x2f95ae;super(),this[_0x26f85b(0x199)]=_0x3f2b69,this['_httpService']=_0x2cb62f,this[_0x26f85b(0x14b)]=_0x48ae9b,H(this,_0x26f85b(0x144),null),H(this,_0x26f85b(0x1ed),new _0x2d4281()),H(this,_0x26f85b(0x1aa),this['_requestState$'][_0x26f85b(0x113)]());}[_0x2f95ae(0x264)](){const _0x10317d=_0x2f95ae;super['dispose'](),this['_requestState$'][_0x10317d(0x12a)]();}[_0x2f95ae(0x1c9)](_0x2fa53d,_0x1f07c6,_0x530fc8){const _0x9b2941=_0x2f95ae;let _0x58c29b=URL[_0x9b2941(0x197)](_0x2fa53d);Re(_0x58c29b,_0x1f07c6,_0x530fc8),URL['revokeObjectURL'](_0x58c29b);}async[_0x2f95ae(0x11a)](_0x5b7214,_0x823041){const _0x58f682=_0x2f95ae;if(_0x823041!=null&&_0x823041[_0x58f682(0x13d)])return;let _0x1eac5f=await this[_0x58f682(0x19f)](_0x5b7214);if(!(!_0x1eac5f||_0x823041!=null&&_0x823041[_0x58f682(0x13d)]))return Ve(_0x1eac5f,this[_0x58f682(0x22c)],_0x823041);}async['importFileToUnitId'](_0xd007f4,_0xd181ab,_0x58808c){const _0x4c3379=_0x2f95ae;var _0x4a7e68,_0x2a742e;let _0x5f2ea9=await this[_0x4c3379(0x116)](_0xd007f4);if(!_0x5f2ea9)return;let _0x5beec4=await this[_0x4c3379(0x16d)](_0x5f2ea9,0x1,_0xd181ab,_0x58808c);if(!_0x5beec4)return;this[_0x4c3379(0x144)]=_0x5beec4,this[_0x4c3379(0x14b)]['clearTaskInterrupted']();let _0x3eac75=await this[_0x4c3379(0x14b)][_0x4c3379(0x121)](_0x5beec4)['catch'](_0x2edf33=>{const _0x2c5a34=_0x4c3379;var _0x40b086;let _0x50bd08=_0x2edf33 instanceof Error?_0x2edf33[_0x2c5a34(0x1a1)]:(_0x40b086=_0x2edf33['error'])==null?void 0x0:_0x40b086['message'];this['_requestState$'][_0x2c5a34(0x1d7)]({'error':{'code':_0x4d3b89[_0x2c5a34(0x213)],'message':_0x50bd08||''},'state':0x3});});if(!_0x3eac75)return;let _0xbeef5=(_0x4a7e68=_0x3eac75[_0x4c3379(0x202)])==null?void 0x0:_0x4a7e68[_0x4c3379(0x204)],_0x4aca5b=((_0x2a742e=_0x3eac75[_0x4c3379(0x202)])==null?void 0x0:_0x2a742e[_0x4c3379(0x1f0)])||'';if(_0xbeef5!==0x1){this[_0x4c3379(0x1ed)][_0x4c3379(0x1d7)]({'error':{'code':_0x4d3b89[_0x4c3379(0x213)],'message':_0x4c3379(0x198)},'state':0x3});return;}if(_0x4aca5b[_0x4c3379(0x174)]===0x0){this[_0x4c3379(0x1ed)][_0x4c3379(0x1d7)]({'error':{'code':_0x4d3b89['UNRECOGNIZED'],'message':_0x4c3379(0x138)},'state':0x3});return;}return this[_0x4c3379(0x1ed)][_0x4c3379(0x1d7)]({'error':_0x3eac75['error'],'state':0x3}),_0x4aca5b;}async[_0x2f95ae(0x13f)](_0x25904d,_0x5e3aca,_0x56fc00){return this['_importToJson'](_0x25904d,_0x5e3aca,_0x56fc00);}async[_0x2f95ae(0x243)](_0x26c469,_0x387d6e,_0x3e1a8e,_0x4e4635){const _0x469d8f=_0x2f95ae;return this[_0x469d8f(0x21f)](_0x26c469,0x1,_0x387d6e,_0x3e1a8e,_0x4e4635);}async[_0x2f95ae(0x1d1)](_0x3bec2b,_0x16c1a8,_0x5b904e,_0x48ccf3){const _0x3c71d8=_0x2f95ae;return this[_0x3c71d8(0x15c)](_0x3bec2b,_0x16c1a8,_0x5b904e,_0x48ccf3);}[_0x2f95ae(0x1cb)](){const _0x5dd34b=_0x2f95ae;this[_0x5dd34b(0x144)]&&this['_requestService'][_0x5dd34b(0x258)](this[_0x5dd34b(0x144)]);}async[_0x2f95ae(0x1b8)](_0xdc39af,_0xf831e,_0x39d384){const _0x3ec873=_0x2f95ae;var _0x15aa5d,_0x5a8441;let _0x174ea1=await this[_0x3ec873(0x116)](_0xdc39af);if(!_0x174ea1)return;let _0x52d249=await this[_0x3ec873(0x16d)](_0x174ea1,0x2,_0xf831e,_0x39d384);if(!_0x52d249)return;this['_importTaskId']=_0x52d249,this['_requestService'][_0x3ec873(0x217)]();let _0x455b96=await this[_0x3ec873(0x14b)][_0x3ec873(0x121)](_0x52d249)[_0x3ec873(0x1e6)](_0x34e97e=>{const _0x1d9069=_0x3ec873;var _0x132064;let _0x5f133b=_0x34e97e instanceof Error?_0x34e97e['message']:(_0x132064=_0x34e97e['error'])==null?void 0x0:_0x132064[_0x1d9069(0x1a1)];this['_requestState$']['next']({'error':{'code':_0x4d3b89[_0x1d9069(0x213)],'message':_0x5f133b||''},'state':0x3});});if(!_0x455b96)return;let _0x78a68d=(_0x15aa5d=_0x455b96[_0x3ec873(0x202)])==null?void 0x0:_0x15aa5d['outputType'],_0x131b82=((_0x5a8441=_0x455b96[_0x3ec873(0x202)])==null?void 0x0:_0x5a8441[_0x3ec873(0x1a6)])||'';if(_0x78a68d!==0x2){this['_requestState$'][_0x3ec873(0x1d7)]({'error':{'code':_0x4d3b89[_0x3ec873(0x213)],'message':_0x3ec873(0x198)},'state':0x3});return;}if(_0x131b82[_0x3ec873(0x174)]===0x0){this[_0x3ec873(0x1ed)][_0x3ec873(0x1d7)]({'error':{'code':_0x4d3b89[_0x3ec873(0x213)],'message':_0x3ec873(0x234)},'state':0x3});return;}this[_0x3ec873(0x1ed)][_0x3ec873(0x1d7)]({'error':_0x455b96[_0x3ec873(0x171)],'state':0x3});let _0x5e1020=await this[_0x3ec873(0x19f)](_0x131b82);if(!_0x5e1020)return;let _0x222621=await this[_0x3ec873(0x14b)][_0x3ec873(0x145)](_0x5e1020);if(!_0x222621){this['_requestState$'][_0x3ec873(0x1d7)]({'error':{'code':_0x4d3b89[_0x3ec873(0x213)],'message':'Failed\x20to\x20get\x20text\x20from\x20url'},'state':0x5});return;}try{let _0x3c84ba=JSON['parse'](_0x222621);return this[_0x3ec873(0x1ed)][_0x3ec873(0x1d7)]({'error':{'code':_0x4d3b89['OK'],'message':_0x3ec873(0x24a)},'state':0x5}),_0x3c84ba;}catch{this[_0x3ec873(0x1ed)][_0x3ec873(0x1d7)]({'error':{'code':_0x4d3b89['UNRECOGNIZED'],'message':_0x3ec873(0x189)},'state':0x5});}}async['_exportBySnapshot'](_0x173164,_0x1f697a,_0x235a95,_0x35aea0){const _0x399c1d=_0x2f95ae;let _0x16f5a1=JSON['stringify'](_0x173164),_0x332c16=_0x309d2b[_0x399c1d(0x249)](_0x16f5a1),_0x1fd1cb=_0xebcdf2(_0x332c16),_0x2c30ce=_0x332c16[_0x399c1d(0x174)],_0x62fe26=We(_0x1fd1cb),_0x228588=await this[_0x399c1d(0x116)](_0x62fe26,_0x2c30ce,!0x0);if(_0x228588)return this['_export'](_0x228588,0x2,_0x1f697a,_0x235a95,_0x35aea0);}async[_0x2f95ae(0x21f)](_0x48e805,_0xc78f1f,_0x115819,_0x1c26fc,_0x42039d){const _0x54a960=_0x2f95ae;var _0x2d2731;let _0x224fbc=await this['_requestService'][_0x54a960(0x135)]({..._0xc78f1f===0x1?{'unitID':_0x48e805}:{'jsonID':_0x48e805},'type':_0x115819,'format':_0x1c26fc,'options':_0x42039d});if(!_0x224fbc){this[_0x54a960(0x1ed)][_0x54a960(0x1d7)]({'error':{'code':_0x4d3b89['UNRECOGNIZED'],'message':'export\x20error'},'state':0x2});return;}if(this[_0x54a960(0x1ed)][_0x54a960(0x1d7)]({'error':_0x224fbc[_0x54a960(0x171)],'state':0x2}),_0x224fbc[_0x54a960(0x171)]&&_0x224fbc[_0x54a960(0x171)][_0x54a960(0x12c)]!==_0x4d3b89['OK'])return;let _0x48c096=_0x224fbc[_0x54a960(0x1a2)],_0x3bfd28=await this[_0x54a960(0x14b)]['getTask'](_0x48c096)[_0x54a960(0x1e6)](_0x28e3be=>{const _0x1cd47f=_0x54a960;var _0x482236;let _0x3a4b5a=_0x28e3be instanceof Error?_0x28e3be[_0x1cd47f(0x1a1)]:(_0x482236=_0x28e3be[_0x1cd47f(0x171)])==null?void 0x0:_0x482236[_0x1cd47f(0x1a1)];this['_requestState$'][_0x1cd47f(0x1d7)]({'error':{'code':_0x4d3b89[_0x1cd47f(0x213)],'message':_0x3a4b5a||''},'state':0x3});});if(!_0x3bfd28)return;let _0x379ca6=((_0x2d2731=_0x3bfd28[_0x54a960(0x135)])==null?void 0x0:_0x2d2731[_0x54a960(0x1c2)])||'';if(_0x379ca6['length']===0x0){this[_0x54a960(0x1ed)][_0x54a960(0x1d7)]({'error':{'code':_0x4d3b89['UNRECOGNIZED'],'message':_0x54a960(0x245)},'state':0x3});return;}this['_requestState$'][_0x54a960(0x1d7)]({'error':_0x3bfd28[_0x54a960(0x171)],'state':0x3});let _0x55d371=await this['_signUrl'](_0x379ca6);if(!_0x55d371)return;let _0x523a96=await Be(_0x55d371,this['_httpService']);if(!_0x523a96){this[_0x54a960(0x1ed)][_0x54a960(0x1d7)]({'error':{'code':_0x4d3b89[_0x54a960(0x213)],'message':_0x54a960(0x181)},'state':0x6});return;}return this['_requestState$']['next']({'error':{'code':_0x4d3b89['OK'],'message':_0x54a960(0x24a)},'state':0x6}),_0x523a96;}async['_upload'](_0x282272,_0x33f61f,_0x21d01c){const _0x2d9450=_0x2f95ae;let _0x60d2d4;try{_0x60d2d4=await this[_0x2d9450(0x14b)][_0x2d9450(0x26e)](_0x282272,_0x33f61f,_0x21d01c);}catch(_0x4a2147){let _0xfc9271=_0x4a2147 instanceof Error?_0x4a2147[_0x2d9450(0x1a1)]:String(_0x4a2147);this[_0x2d9450(0x1ed)][_0x2d9450(0x1d7)]({'error':{'code':_0x4d3b89[_0x2d9450(0x213)],'message':_0xfc9271},'state':0x0});return;}if(!_0x60d2d4||typeof _0x60d2d4[_0x2d9450(0x20c)]!=_0x2d9450(0x26b)){this[_0x2d9450(0x1ed)][_0x2d9450(0x1d7)]({'error':{'code':_0x4d3b89[_0x2d9450(0x213)],'message':_0x2d9450(0x17f)},'state':0x0});return;}let _0x5f1a0b=_0x60d2d4['FileId'];if(_0x5f1a0b[_0x2d9450(0x174)]===0x0){this['_requestState$'][_0x2d9450(0x1d7)]({'error':{'code':_0x4d3b89[_0x2d9450(0x213)],'message':'upload\x20failed:\x20FileId\x20is\x20empty'},'state':0x0});return;}return this['_requestState$'][_0x2d9450(0x1d7)]({'error':{'code':_0x4d3b89['OK'],'message':_0x2d9450(0x24a)},'state':0x0}),_0x5f1a0b;}async['_import'](_0x3771d0,_0xf930fe,_0x155b7c,_0x599e3a){const _0x1bbe5f=_0x2f95ae;let _0x2ba521={'fileID':_0x3771d0,'type':_0x155b7c,'outputType':_0xf930fe,'options':_0x599e3a},_0x319b5e=await this[_0x1bbe5f(0x14b)][_0x1bbe5f(0x202)](_0x2ba521);if(!_0x319b5e){this['_requestState$'][_0x1bbe5f(0x1d7)]({'error':{'code':_0x4d3b89[_0x1bbe5f(0x213)],'message':_0x1bbe5f(0x24e)},'state':0x1});return;}if(_0x319b5e[_0x1bbe5f(0x171)]&&_0x319b5e[_0x1bbe5f(0x171)][_0x1bbe5f(0x12c)]!==_0x4d3b89['OK']){this['_requestState$'][_0x1bbe5f(0x1d7)]({'error':_0x319b5e[_0x1bbe5f(0x171)],'state':0x1});return;}let _0x59d0d7=_0x319b5e[_0x1bbe5f(0x1a2)];if(_0x59d0d7['length']===0x0){this[_0x1bbe5f(0x1ed)][_0x1bbe5f(0x1d7)]({'error':{'code':_0x4d3b89['UNRECOGNIZED'],'message':'Failed\x20to\x20get\x20taskID\x20from\x20import\x20response'},'state':0x1});return;}return this[_0x1bbe5f(0x1ed)][_0x1bbe5f(0x1d7)]({'error':_0x319b5e[_0x1bbe5f(0x171)],'state':0x1}),_0x59d0d7;}async[_0x2f95ae(0x19f)](_0x4e269e){const _0x38e5a8=_0x2f95ae;let _0x33f8a5=await this[_0x38e5a8(0x14b)][_0x38e5a8(0x13e)](_0x4e269e);if(!_0x33f8a5){this[_0x38e5a8(0x1ed)][_0x38e5a8(0x1d7)]({'error':{'code':_0x4d3b89['UNRECOGNIZED'],'message':'sign\x20url\x20error'},'state':0x4});return;}if(_0x33f8a5[_0x38e5a8(0x171)]&&_0x33f8a5[_0x38e5a8(0x171)][_0x38e5a8(0x12c)]!==_0x4d3b89['OK']){this[_0x38e5a8(0x1ed)][_0x38e5a8(0x1d7)]({'error':_0x33f8a5[_0x38e5a8(0x171)],'state':0x4});return;}let _0x16eaae=_0x25cbe8(_0x33f8a5[_0x38e5a8(0x25f)],this[_0x38e5a8(0x208)]());if(_0x16eaae['length']===0x0){this[_0x38e5a8(0x1ed)]['next']({'error':{'code':_0x4d3b89[_0x38e5a8(0x213)],'message':_0x38e5a8(0x179)},'state':0x4});return;}return this[_0x38e5a8(0x1ed)][_0x38e5a8(0x1d7)]({'error':_0x33f8a5['error'],'state':0x4}),_0x16eaae;}[_0x2f95ae(0x208)](){const _0xa1e040=_0x2f95ae;let _0x397ff7=this[_0xa1e040(0x199)]['getConfig'](O);return(_0x397ff7==null?void 0x0:_0x397ff7[_0xa1e040(0x131)])??location[_0xa1e040(0x157)];}};Y=W([U(0x0,_0x5cee41),U(0x1,_0x14d22c(_0x2f22b7)),U(0x2,_0x14d22c(nt))],Y);const st={'done':0x0,'count':0x0},X=_0x2c7e44(_0x2f95ae(0x1ba));let Z=class extends _0x2c9817{constructor(_0x3a4ba2,_0x270a18,_0x3fe06e,_0x2f6e22,_0x2bdc7f,_0x3202ec){const _0x5a74ee=_0x2f95ae;super(),this[_0x5a74ee(0x1b1)]=_0x3a4ba2,this[_0x5a74ee(0x1ec)]=_0x270a18,this[_0x5a74ee(0x153)]=_0x3fe06e,this[_0x5a74ee(0x1eb)]=_0x2f6e22,this[_0x5a74ee(0x1e8)]=_0x2bdc7f,this[_0x5a74ee(0x188)]=_0x3202ec,H(this,_0x5a74ee(0x139),new _0x2dd244(st)),H(this,_0x5a74ee(0x21b),this[_0x5a74ee(0x139)][_0x5a74ee(0x113)]()),H(this,'_totalUploadTaskCount',0x0),H(this,_0x5a74ee(0x238),0x0),H(this,_0x5a74ee(0x14d),!0x1),H(this,'_lastUnitImportContext',null),this['disposeWithMe'](_0x53fe3d(this[_0x5a74ee(0x1eb)][_0x5a74ee(0x1aa)][_0x5a74ee(0x123)](_0x6411e6=>{const _0x15885a=_0x5a74ee;var _0x562e4b;((_0x562e4b=_0x6411e6[_0x15885a(0x171)])==null?void 0x0:_0x562e4b[_0x15885a(0x12c)])===_0x4d3b89['OK']?this[_0x15885a(0x20a)](0x1):this[_0x15885a(0x12d)](_0x6411e6['error']);})));}[_0x2f95ae(0x194)](){const _0x1886e4=_0x2f95ae;this[_0x1886e4(0x140)](),this[_0x1886e4(0x1e8)][_0x1886e4(0x1c6)](0x2),this[_0x1886e4(0x1eb)][_0x1886e4(0x1cb)]();}async[_0x2f95ae(0x18e)](_0x188249,_0x18afa5){const _0x5b6abc=_0x2f95ae;if(this[_0x5b6abc(0x14d)]||this['_uploadTaskNotDone']()){this[_0x5b6abc(0x1ec)]['show']({'type':_0x31c6b4[_0x5b6abc(0x266)],'content':this['_localeService']['t'](_0x5b6abc(0x1de))});return;}let _0x24ad2b;this[_0x5b6abc(0x14d)]=!0x0;try{_0x24ad2b=await B([_0x188249]);}finally{this['_isSelectingUnitImportFile']=!0x1;}if(_0x24ad2b&&!this[_0x5b6abc(0x1e4)](_0x24ad2b,_0x188249))return this[_0x5b6abc(0x19b)]={'type':_0x188249,'importer':_0x18afa5},this[_0x5b6abc(0x209)](_0x24ad2b[0x0],_0x188249,_0x18afa5);}async[_0x2f95ae(0x1d5)](){const _0x8d049a=_0x2f95ae;let _0x31b0b8=this[_0x8d049a(0x19b)];if(_0x31b0b8)return this[_0x8d049a(0x18e)](_0x31b0b8[_0x8d049a(0x236)],_0x31b0b8[_0x8d049a(0x14f)]);}async['importFileToSnapshot'](_0x5ec555,_0x5b6e04){const _0xa952e1=_0x2f95ae;if(this[_0xa952e1(0x231)]()){this[_0xa952e1(0x1ec)][_0xa952e1(0x117)]({'type':_0x31c6b4[_0xa952e1(0x266)],'content':this[_0xa952e1(0x153)]['t'](_0xa952e1(0x1de))});return;}let _0x32dae2=await B([_0x5ec555]);if(!_0x32dae2||this[_0xa952e1(0x1e4)](_0x32dae2,_0x5ec555))return;this[_0xa952e1(0x12e)](_0x31c6b4[_0xa952e1(0x11b)]);let _0x459284=await _0x5b6e04(_0x32dae2[0x0]);_0x459284&&(this['_refreshUnit'](_0x5ec555,_0x459284),this[_0xa952e1(0x12e)](_0x31c6b4[_0xa952e1(0x15f)]));}async[_0x2f95ae(0x257)](_0x4fb56f,_0x4c1937){const _0x232755=_0x2f95ae;if(this[_0x232755(0x231)]()){this['_messageService'][_0x232755(0x117)]({'type':_0x31c6b4[_0x232755(0x266)],'content':this['_localeService']['t'](_0x232755(0x1de))});return;}let _0x49cacf=await B([_0x4fb56f]);if(!_0x49cacf||this[_0x232755(0x1e4)](_0x49cacf,_0x4fb56f))return;this[_0x232755(0x12e)](_0x31c6b4[_0x232755(0x11b)]);let _0x21190a=await _0x4c1937(_0x49cacf[0x0]);if(_0x21190a)return this[_0x232755(0x12e)](_0x31c6b4[_0x232755(0x15f)]),_0x21190a;}async[_0x2f95ae(0x228)](_0x2fbeda,_0x15312e,_0x4a18c2){const _0xe163c2=_0x2f95ae;this[_0xe163c2(0x200)](_0x31c6b4[_0xe163c2(0x11b)]);let _0x325e7c=await _0x2fbeda();_0x325e7c&&(this[_0xe163c2(0x1eb)][_0xe163c2(0x1c9)](_0x325e7c,_0x15312e||_0x325e7c['name']['split']('.')[_0xe163c2(0x23d)]()||document[_0xe163c2(0x1b9)],_0x4a18c2),this['_showDownloadMessage'](_0x31c6b4[_0xe163c2(0x15f)]));}[_0x2f95ae(0x13a)](_0x5a225c){const _0x1169e3=_0x2f95ae;this[_0x1169e3(0x1e2)]=_0x5a225c;}async[_0x2f95ae(0x209)](_0x50329a,_0x50c2d5,_0x5c53ab){const _0x41fd68=_0x2f95ae;this[_0x41fd68(0x1e8)][_0x41fd68(0x117)](),this[_0x41fd68(0x1e8)][_0x41fd68(0x1c6)](0x0),this[_0x41fd68(0x180)](0x4),this[_0x41fd68(0x20a)](0x1);let _0x633f3=await _0x5c53ab(_0x50329a);if(!_0x633f3){this['_clearProgress'](),this['_uploadNotificationService'][_0x41fd68(0x1c6)](0x2);return;}let _0x1f1c2b={'link':this[_0x41fd68(0x1e2)](_0x633f3,_0x50c2d5),'name':_0x50329a[_0x41fd68(0x154)],'type':_0x50c2d5};return this[_0x41fd68(0x1e8)][_0x41fd68(0x126)](_0x1f1c2b),this[_0x41fd68(0x14c)](),this[_0x41fd68(0x1e8)][_0x41fd68(0x1c6)](0x1),_0x633f3;}[_0x2f95ae(0x1a3)](_0x4b0995,_0x2d0b78){const _0x1f0e5b=_0x2f95ae;let _0x5e4873=this['_univerInstanceService'][_0x1f0e5b(0x11d)](_0x4b0995);if(!_0x5e4873)throw Error('No\x20unit\x20of\x20type\x20'+_0x4b0995+'\x20is\x20currently\x20active.');this['_univerInstanceService'][_0x1f0e5b(0x1f4)](_0x5e4873[_0x1f0e5b(0x1f8)]());let _0x31c584=this[_0x1f0e5b(0x1b1)][_0x1f0e5b(0x270)](_0x4b0995,_0x2d0b78);this[_0x1f0e5b(0x1b1)][_0x1f0e5b(0x23c)](_0x31c584[_0x1f0e5b(0x1f8)]());}[_0x2f95ae(0x1e2)](_0x50e93e,_0x2a6962){const _0x3cda04=_0x2f95ae;let _0x262dac=new URL(window[_0x3cda04(0x1ff)][_0x3cda04(0x1af)]);return _0x262dac[_0x3cda04(0x17c)][_0x3cda04(0x124)](_0x3cda04(0x212),_0x50e93e),_0x262dac[_0x3cda04(0x17c)][_0x3cda04(0x124)]('type',''+_0x2a6962),_0x262dac[_0x3cda04(0x1c4)]();}[_0x2f95ae(0x12d)](_0x450071){const _0x1ec143=_0x2f95ae;if(_0x450071){let {code:_0x2b1fd1}=_0x450071;switch(_0x2b1fd1){case _0x4d3b89[_0x1ec143(0x1e7)]:this[_0x1ec143(0x1ec)][_0x1ec143(0x117)]({'type':_0x31c6b4[_0x1ec143(0x26f)],'content':this['_localeService']['t'](_0x1ec143(0x275))});break;case _0x4d3b89[_0x1ec143(0x191)]:this['_messageService'][_0x1ec143(0x117)]({'type':_0x31c6b4[_0x1ec143(0x26f)],'content':this[_0x1ec143(0x153)]['t'](_0x1ec143(0x1db))});break;default:this[_0x1ec143(0x1ec)][_0x1ec143(0x117)]({'type':_0x31c6b4[_0x1ec143(0x26f)],'content':this['_localeService']['t'](_0x1ec143(0x1a5))});break;}return null;}return this[_0x1ec143(0x1ec)][_0x1ec143(0x117)]({'type':_0x31c6b4[_0x1ec143(0x26f)],'content':this[_0x1ec143(0x153)]['t'](_0x1ec143(0x1a5))}),null;}[_0x2f95ae(0x200)](_0x2bff23){const _0x5f2eb2=_0x2f95ae;let _0x26b703='';switch(_0x2bff23){case _0x31c6b4[_0x5f2eb2(0x15f)]:_0x26b703=this[_0x5f2eb2(0x153)]['t'](_0x5f2eb2(0x134));break;case _0x31c6b4[_0x5f2eb2(0x11b)]:_0x26b703=this['_localeService']['t'](_0x5f2eb2(0x149));break;default:break;}this[_0x5f2eb2(0x1ec)]['show']({'type':_0x2bff23,'content':_0x26b703});}[_0x2f95ae(0x12e)](_0x17bfed){const _0x31c944=_0x2f95ae;let _0x26fa8c='';switch(_0x17bfed){case _0x31c6b4[_0x31c944(0x15f)]:_0x26fa8c=this['_localeService']['t'](_0x31c944(0x269));break;case _0x31c6b4['Info']:_0x26fa8c=this['_localeService']['t'](_0x31c944(0x1de));break;default:break;}this['_messageService'][_0x31c944(0x117)]({'type':_0x17bfed,'content':_0x26fa8c});}[_0x2f95ae(0x241)](){const _0x1f2c4c=_0x2f95ae;this['_progress$'][_0x1f2c4c(0x1d7)]({'done':this['_doneUploadTaskCount'],'count':this['_totalUploadTaskCount']});}[_0x2f95ae(0x180)](_0x3e3850){const _0x56d2fc=_0x2f95ae;this[_0x56d2fc(0x224)]+=_0x3e3850,this[_0x56d2fc(0x241)]();}[_0x2f95ae(0x20a)](_0x106402){const _0x34ef39=_0x2f95ae;this[_0x34ef39(0x238)]+=_0x106402,this['_doneUploadTaskCount']=Math[_0x34ef39(0x22a)](this[_0x34ef39(0x238)],this[_0x34ef39(0x224)]),this[_0x34ef39(0x241)]();}['_completeProgress'](){const _0x4938d1=_0x2f95ae;this[_0x4938d1(0x238)]=this[_0x4938d1(0x224)],this[_0x4938d1(0x241)]();}['_clearProgress'](){const _0x304353=_0x2f95ae;this['_doneUploadTaskCount']=0x0,this['_totalUploadTaskCount']=0x0,this[_0x304353(0x241)]();}[_0x2f95ae(0x1e4)](_0x163fa1,_0x493e9b){const _0x446640=_0x2f95ae;let _0x2bb9c2=_0x163fa1[0x0],_0x3f5bce=_0x2bb9c2['name'];return ze(_0x2bb9c2,_0x493e9b)?!0x1:(this[_0x446640(0x1ec)][_0x446640(0x117)]({'type':_0x31c6b4['Error'],'content':this[_0x446640(0x153)]['t'](_0x446640(0x1c8),_0x3f5bce)}),!0x0);}[_0x2f95ae(0x231)](){const _0x36b897=_0x2f95ae;return this['_totalUploadTaskCount']!==0x0&&this[_0x36b897(0x238)]!==this['_totalUploadTaskCount'];}};Z=W([U(0x0,_0x14d22c(_0x2bebe1)),U(0x1,_0x2b7e62),U(0x2,_0x14d22c(_0x46ea87)),U(0x3,_0x14d22c(J)),U(0x4,_0x14d22c(q)),U(0x5,_0x47835b)],Z);function ct(_0x1b71d8){const _0x532d1c=_0x2f95ae;let {onClick:_0x6360fc,children:_0x39f751,className:_0x303908}=_0x1b71d8;return _0x1ff327(_0x44a18e,{'size':_0x532d1c(0x119),'variant':_0x532d1c(0x24c),'className':_0x4a1af8('univer-text-primary-600',_0x303908),'type':_0x532d1c(0x196),'onClick':_0x6360fc,'children':_0x39f751});}function lt(){const _0x1f0ea9=_0x2f95ae;let _0x42c9fa=_0x8a3e97(X),_0x38a983=_0x8a3e97(_0x46ea87);function _0x74109d(){const _0x49be7c=_0x4a6c;return _0x42c9fa[_0x49be7c(0x1d5)]();}return _0x1ff327(ct,{'onClick':_0x74109d,'children':_0x38a983['t'](_0x1f0ea9(0x173))});}function _0x4999(){const _0x49073a=['_registerComponents','div','{taskID}','RANGES','url','_buildProtocolErrorMessage','size','HYBRID','Content-Type','dispose','auto','Warning','exchange-client.export-format-dialog','exchange-client.interrupt','exchange-client.uploadSuccess','application/json','string','UNDEFINED','pptx','upload','Error','createUnit','exchange-client.wait','isArray','24995sPcutp','_taskInterrupted','exchange-client.tooLarge','application/msword','hide','asObservable','done','_config','_upload','show','saveSnapshot','small','getFileById','Info','_getUploadFileURL','getCurrentUnitOfType','_componentManager','892124lYXNiU','_registerIcons','getTask','?size=','subscribe','set','univer-w-10','pushLink','packageName','importServerUrl','_list','complete','abort','code','_showNetworkError','_showUploadMessage','pluginName','univer-flex\x20univer-flex-col\x20univer-gap-5\x20univer-p-1','downloadEndpointUrl','files','/universer-api/file/{fileID}/sign-url','exchange-client.downloadSuccess','export','UNIVER_PDF','univer-pro.exchange-client.request.service','Failed\x20to\x20get\x20unitID\x20from\x20task','_progress$','registerLink','22016ZGxNgM','univer-mb-3\x20univer-py-0\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-gray-0','aborted','signUrl','importFileToJson','_clearProgress','{type}','maxTimeoutTime','exchange-client.cancel','_importTaskId','getTextFromUrl','univer-text-green-500','_visible$','click','exchange-client.downloading','univer-pro.exchange-client.exchange.service','_requestService','_completeProgress','_isSelectingUnitImportFile','span','importer','default','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-gray-0\x20univer-px-3\x20univer-pb-4\x20univer-pt-5\x20univer-shadow-md','_getMaxPollingTime','_localeService','name','exportServerUrl','state$','origin','symbol','4861626frsrOr','disposeWithMe','univer-flex\x20univer-flex-col\x20univer-gap-4','_exportBySnapshot','univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','@univerjs-pro/exchange-client','Success','addEventListener','PDF','UNIVER_SLIDE','univer-w-48','removeEventListener','map','VALUES','setConfig','cancel','104LhlCEd','blob','PPTX','keys','_import','append','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','decode','error','ppt','exchange-client.uploadAgain','length','convert-then-values','originalMeta','filter','accept','sign\x20url\x20error','univer-text-sm\x20univer-text-gray-500','buffer','searchParams','JSON','UNIVER_DOC','upload\x20failed:\x20missing\x20FileId\x20in\x20response','_addTotalCount','Failed\x20to\x20get\x20file\x20from\x20url','&source=','statusText','get','univer-flex\x20univer-size-6\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-text-2xl','primary','includes','_logService','Failed\x20to\x20parse\x20json','DOCX','link','tsv','univer-pl-2\x20univer-pr-4','importFileToUnitId','register','docx','INTERNAL_ERROR','_getImportURL','resolve','interrupt','getLatestCsReqIdBySid','button','createObjectURL','Get\x20outputType\x20error','_configService','50guQPZw','_lastUnitImportContext','getTaskServerUrl','parse','has','_signUrl','getUnitOnRev','message','taskID','_refreshUnit','flatMap','exchange-client.networkError','jsonID','pop','UNIVER_BOARD','_state$','requestState$','_list$','617391ZABuak','toLowerCase','clear','href','object','_univerInstanceService','AUTO','data','pdf','SHEETS','univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-gray-0','call','_importToJson','title','univer-pro.exchange-client.operate.service','replace','entries','fetchMissingChangesets','version','onReady','visible$','xlsx','fileID','xls','toString','_registerUIParts','updateState','_uiPartsService','exchange-client.fileTypeError','downloadFile','univer-flex\x20univer-items-center','interruptImportTask','toPrimitive','univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-gray-0','doc','UNIVER_SHEET','display','exportFileBySnapshot','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','getConfig','/universer-api/stream/file/upload','retryImportFileToUnitId','current','next','univer-pro.exchange-client.upload-notification.service','status','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-gray-0\x20dark:hover:!univer-bg-gray-600','exchange-client.internalError','split','CSV','exchange-client.uploading','defineProperty','blockID','appendChild','_getLinkByUnitId','File\x20request\x20completed\x20without\x20a\x20response.','_fileTypeError','_getSignURL','catch','CONNECTOR_DATA_TOO_LARGE','_uploadNotificationService','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2','post','_exchangeService','_messageService','_requestState$','uploadFileServerUrl','univer-mt-3\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-2\x20univer-pr-1','unitID','csv','match','input','disposeUnit','headers',':\x20HTTP\x20','file.json','getUnitId','ranges','univer-mx-0\x20univer-mb-3\x20univer-mt-4\x20univer-h-1.5\x20univer-w-[324px]\x20univer-rounded-lg\x20univer-bg-gray-200','TABLES','add','XLSX','_buildHttpErrorMessage','location','_showDownloadMessage','application/octet-stream','import','univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','outputType','createElement','\x20-\x20','MODERN','_getDownloadEndpointURL','_importFileToUnitId','_addDoneTask','multiple','FileId','File\x20request\x20aborted.','fromEntries','Error\x20getting\x20file\x20name\x20from\x20URL:','unshift','application/pdf','unit','UNRECOGNIZED','change','UNIVER_EXCHANGE_CLIENT_PLUGIN','sheets','clearTaskInterrupted','108iWvLnM','saveSheetBlock','TSV','progress$','FAIL','_blank','floor','_export','3AYjraS','isUnitLoadedFromServer','_getExportURL','removeChild','_totalUploadTaskCount','CONVERT_THEN_VALUES','application/vnd.ms-powerpoint','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','exportFile','file','min','modern','_httpService','getSheetBlock','_getTaskURL','tables','HttpImport','_uploadTaskNotDone','toUpperCase','_extractErrorDetail','Failed\x20to\x20get\x20jsonID\x20from\x20task','/universer-api/exchange/{type}/import','type','block\x20is\x20required','_doneUploadTaskCount','exchange-client.confirm','style','_injector','focusUnit','shift','GET','58079MzLlpu','workbook','_emitProgress','upload\x20request\x20failed','exportFileByUnitId','none','Failed\x20to\x20get\x20fileID\x20from\x20task','constructor','583292UhxnhP','_iconManager','encode','success','pending','text','getOwnPropertyDescriptor','import\x20error','univer-flex\x20univer-items-center\x20univer-gap-3','Error\x20fetching\x20file\x20from\x20URL:','_sheetBlockCache','univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','body','download','CONTENT','join','importFileAsSnapshot','setTaskInterrupted','values','decorate'];_0x4999=function(){return _0x49073a;};return _0x4999();}function ut(){const _0x973d80=_0x2f95ae;return _0x22af6d(_0x973d80(0x25c),{'className':'univer-mt-5\x20univer-flex\x20univer-flex-col','children':[_0x1ff327(_0x973d80(0x14e),{'className':_0x973d80(0x13c),'children':_0x8a3e97(_0x46ea87)['t'](_0x973d80(0x268))}),_0x1ff327(lt,{})]});}function dt(_0xb8fdd5){const _0x59c11e=_0x2f95ae;let {count:_0x776e2b}=_0xb8fdd5;return _0x22af6d(_0x59c11e(0x25c),{'className':_0x59c11e(0x1ef),'children':[_0x1ff327(_0x59c11e(0x14e),{'className':_0x59c11e(0x17a),'children':_0x8a3e97(_0x46ea87)['t']('exchange-client.uploadSuccessTip',''+_0x776e2b)}),_0x1ff327(lt,{})]});}function ft(){const _0x4d01b7=_0x2f95ae;let _0x50378f=_0x8a3e97(X),_0x2c82ee=_0x8a3e97(_0x46ea87);function _0x508142(){const _0x520e03=_0x4a6c;_0x50378f[_0x520e03(0x194)]();}return _0x1ff327(ct,{'onClick':_0x508142,'children':_0x2c82ee['t'](_0x4d01b7(0x143))});}function pt(){const _0x45808f=_0x2f95ae;let {count:_0x1bbd9f,done:_0x4556e2}=_0x2ed394(_0x8a3e97(X)[_0x45808f(0x21b)]),_0x25debd=_0x1bbd9f>0x0?_0x4556e2/_0x1bbd9f:0x0;return _0x1ff327(_0x45808f(0x25c),{'className':_0x45808f(0x1fa),'children':_0x1ff327(_0x45808f(0x25c),{'className':_0x45808f(0x252),'style':{'width':Math[_0x45808f(0x21e)](_0x25debd*0x64)+'%'}})});}function mt(){const _0x3111b9=_0x2f95ae;return _0x22af6d(_0x3111b9(0x25c),{'className':'univer-mt-5\x20univer-flex\x20univer-flex-col','children':[_0x1ff327(_0x3111b9(0x14e),{'className':_0x3111b9(0x1cd),'children':_0x8a3e97(_0x46ea87)['t'](_0x3111b9(0x271))}),_0x1ff327(_0x3111b9(0x25c),{'className':_0x3111b9(0x18d),'children':_0x1ff327(pt,{})}),_0x1ff327(ft,{})]});}const ht={0x1:_0x1ff327(_0x140ea0,{'className':_0x2f95ae(0x146)}),0x0:_0x1ff327(_0x1e0fab,{'className':'univer-text-blue-500'}),0x2:_0x1ff327(_0x22bee4,{'className':'univer-text-red-500'})};function gt(){const _0x199e94=_0x2f95ae;let _0xcf1c4d=_0x8a3e97(q),_0x2206a3=_0x8a3e97(_0x46ea87),_0x5602bc=_0x2ed394(_0xcf1c4d['state$'],0x0),_0x40264c=_0x2ed394(_0xcf1c4d[_0x199e94(0x1c0)],!0x1),_0x41e350=_0x2ed394(_0xcf1c4d['list$'],[]);function _0x339cb0(){const _0x4133d7=_0x199e94;_0xcf1c4d[_0x4133d7(0x112)]();}function _0x58a0eb(_0x3039df){const _0x38095e=_0x199e94;switch(_0x3039df){case 0x1:return _0x2206a3['t'](_0x38095e(0x269));case 0x0:return _0x2206a3['t'](_0x38095e(0x1de));case 0x2:return _0x2206a3['t']('exchange-client.unknownMistake');default:return'';}}return _0x40264c&&_0x22af6d(_0x199e94(0x25c),{'className':_0x199e94(0x151),'children':[_0x22af6d(_0x199e94(0x25c),{'className':_0x199e94(0x1e9),'children':[_0x22af6d('span',{'className':_0x199e94(0x1ca),'children':[_0x1ff327('span',{'className':_0x199e94(0x185),'children':ht[_0x5602bc]}),_0x1ff327('span',{'className':'univer-ml-1.5\x20univer-font-semibold\x20univer-text-gray-900\x20dark:!univer-text-gray-0','children':_0x58a0eb(_0x5602bc)})]}),_0x1ff327(_0x199e94(0x14e),{'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':_0x339cb0,'children':_0x1ff327(_0x5dea8f,{})})]}),_0x22af6d('div',{'children':[_0x5602bc===0x0&&_0x1ff327(mt,{}),_0x5602bc===0x2&&_0x1ff327(ut,{}),_0x41e350[_0x199e94(0x174)]>0x0&&_0x1ff327(ot,{'list':_0x41e350}),_0x5602bc===0x1&&_0x1ff327(dt,{'count':_0x41e350[_0x199e94(0x174)]})]})]});}let Q=class extends _0x2c9817{constructor(_0x1af57b,_0x3aacf9){const _0x7348f3=_0x2f95ae;super(),this[_0x7348f3(0x23b)]=_0x1af57b,this['_uiPartsService']=_0x3aacf9,this[_0x7348f3(0x1c5)]();}[_0x2f95ae(0x1c5)](){const _0x164d75=_0x2f95ae;this['disposeWithMe'](this[_0x164d75(0x1c7)]['registerComponent'](_0x5310d0[_0x164d75(0x255)],()=>_0x13e9cf(gt,this[_0x164d75(0x23b)])));}};Q=W([U(0x0,_0x14d22c(_0x118913)),U(0x1,_0x2a041c)],Q);let $=class extends _0x10c31e{constructor(_0x1c20d2=k,_0x5cdaf7,_0x43437d){const _0x448f27=_0x2f95ae;super(),this[_0x448f27(0x115)]=_0x1c20d2,this[_0x448f27(0x23b)]=_0x5cdaf7,this[_0x448f27(0x199)]=_0x43437d;let {..._0x458167}=_0x1a6e89({},k,this['_config']);this['_configService'][_0x448f27(0x167)](O,_0x458167);}['onStarting'](){const _0x32d9bd=_0x2f95ae;_0x11d493(this[_0x32d9bd(0x23b)],[[K],[Q],[X,{'useClass':Z}],[J,{'useClass':Y}],[nt,{'useClass':G}],[q,{'useClass':at}]]);}[_0x2f95ae(0x1bf)](){const _0x657e5f=_0x2f95ae;_0x2798c8(this[_0x657e5f(0x23b)],[[K],[Q],[X]]);}};H($,_0x2f95ae(0x12f),_0x2f95ae(0x215)),H($,_0x2f95ae(0x127),Pe),H($,_0x2f95ae(0x1be),Fe),$=W([_0x3ccf1c(_0x57131c,_0x3de26d),U(0x1,_0x14d22c(_0x118913)),U(0x2,_0x5cee41)],$);function _t(_0xd4f5dd,_0x1ef633){const _0x3e35e1=_0x2f95ae;let _0x442a8c=_0xd4f5dd[_0x3e35e1(0x184)](_0x2bebe1)[_0x3e35e1(0x11d)](_0x1ef633);return!_0x442a8c||!_0xd4f5dd[_0x3e35e1(0x19e)](_0x5302a4)||!_0xd4f5dd[_0x3e35e1(0x19e)](_0x34c17b)?!0x1:_0xd4f5dd[_0x3e35e1(0x184)](_0x5302a4)[_0x3e35e1(0x221)](_0x442a8c);}function vt(_0x41c786){const _0x3a4b75=_0x2f95ae;let _0x664805=_0x41c786[_0x3a4b75(0x240)];if(!_0x664805)return null;let _0x31fce4={};_0x664805['sheets']&&Object[_0x3a4b75(0x16c)](_0x664805[_0x3a4b75(0x216)])['forEach'](_0x1597df=>{const _0x1c69c5=_0x3a4b75;let _0xb0a771=_0x664805[_0x1c69c5(0x216)][_0x1597df];_0x31fce4[_0x1597df]={..._0xb0a771,'originalMeta':_0x17d6df(_0x4ac32d[_0x1c69c5(0x170)](_0xb0a771[_0x1c69c5(0x176)]))};});let _0xcf92e4=_0x17d6df(_0x4ac32d[_0x3a4b75(0x170)](_0x664805['originalMeta']));return{..._0x41c786,'workbook':{..._0x664805,'originalMeta':_0xcf92e4,'sheets':_0x31fce4},'doc':{},'slide':void 0x0,'board':void 0x0,'pdf':void 0x0};}function yt(_0x16074b){let _0x3c961e={};return _0x16074b['forEach'](_0x17f18a=>{const _0x98f29=_0x4a6c;_0x3c961e[_0x17f18a['id']]={..._0x17f18a,'data':_0x17d6df(_0x4ac32d[_0x98f29(0x170)](_0x17f18a[_0x98f29(0x1b3)]))};}),_0x3c961e;}var bt=class{constructor(){const _0x503e36=_0x2f95ae;H(this,_0x503e36(0x251),new Map());}[_0x2f95ae(0x1a0)](){const _0x1dab11=_0x2f95ae;return Promise[_0x1dab11(0x193)]({'snapshot':{'unitID':'','type':_0xbcb063[_0x1dab11(0x1cf)],'rev':0x0,'workbook':void 0x0,'doc':void 0x0,'slide':void 0x0,'board':void 0x0},'changesets':[],'error':{'code':_0x4d3b89['OK'],'message':''}});}[_0x2f95ae(0x22d)](_0x14881f,_0x4b46c3){const _0x3a8475=_0x2f95ae;let _0xb411d9=this[_0x3a8475(0x251)][_0x3a8475(0x184)](_0x4b46c3['blockID']);return Promise[_0x3a8475(0x193)]({'block':_0xb411d9,'error':{'code':_0x4d3b89['OK'],'message':''}});}['getDeserializedSheetBlock'](_0x321770,_0x3f7dbb){const _0x51a5d4=_0x2f95ae;let _0x381585=this[_0x51a5d4(0x251)]['get'](_0x3f7dbb[_0x51a5d4(0x1e0)]);return Promise['resolve']({'block':_0x381585===void 0x0?void 0x0:{..._0x381585,'data':JSON[_0x51a5d4(0x19d)](_0x4ac32d['decode'](_0x381585[_0x51a5d4(0x1b3)]))},'error':{'code':_0x4d3b89['OK'],'message':''}});}[_0x2f95ae(0x1bd)](){return Promise['resolve']({'changesets':[],'error':{'code':_0x4d3b89['OK'],'message':''}});}['getResourcesRequest'](){return Promise['resolve']({'resources':{},'error':{'code':_0x4d3b89['OK'],'message':''}});}[_0x2f95ae(0x118)](){const _0x2ed279=_0x2f95ae;return Promise[_0x2ed279(0x193)]({'error':{'code':_0x4d3b89['OK'],'message':''}});}['updateSnapshot'](){return Promise['resolve']({'error':{'code':_0x4d3b89['OK'],'message':''}});}[_0x2f95ae(0x219)](_0x220937,_0x445625){const _0x2e0c1e=_0x2f95ae;let {block:_0xe49148}=_0x445625;return _0xe49148?(this[_0x2e0c1e(0x251)][_0x2e0c1e(0x124)](_0xe49148['id'],_0xe49148),Promise['resolve']({'error':{'code':_0x4d3b89['OK'],'message':''},'blockID':_0xe49148['id']})):Promise['resolve']({'error':{'code':_0x4d3b89['UNDEFINED'],'message':_0x2e0c1e(0x237)},'blockID':''});}['saveChangeset'](){const _0x557f21=_0x2f95ae;return Promise[_0x557f21(0x193)]({'error':{'code':_0x4d3b89['OK'],'message':''},'concurrent':[]});}['copyFileMeta'](){const _0x4dfba9=_0x2f95ae;return Promise[_0x4dfba9(0x193)]({'error':void 0x0,'fileMetaId':''});}[_0x2f95ae(0x195)](){const _0x35d9e1=_0x2f95ae;return Promise[_0x35d9e1(0x193)]({'error':void 0x0,'latestReqID':0x0});}};export{bt as ClientSnapshotServerService,rt as EXPORT_FORMAT_DIALOG,tt as ExchangeBaseExportMode,et as ExchangeBaseFormulaPolicy,$e as ExchangeBaseImportMode,Qe as ExchangeDocType,Ze as ExchangeFormat,X as IExchangeOperateService,J as IExchangeService,Xe as ImportOutputType,$ as UniverExchangeClientPlugin,_t as isCurrentUnitLoadedFromServer,yt as transformSheetBlockMetaToString,vt as transformWorkbookSnapshotMetaToString};
|
package/lib/es/locale/ar-SA.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x3f12(_0x193def,_0x396965){_0x193def=_0x193def-0x1f0;const _0x1092b4=_0x1092();let _0x3f12b5=_0x1092b4[_0x193def];return _0x3f12b5;}function _0x1092(){const _0x5535ee=['جارٍ\x20الرفع','537878kYlzWb','خطأ\x20في\x20الشبكة','إلغاء','82UEgqjv','تمت\x20مقاطعة\x20الاتصال\x20بالشبكة\x20وفشل\x20رفع\x20الملف','تم\x20رفع\x20{0}\x20ملف/ملفات\x20بنجاح','نوع\x20الملف\x20المحدد\x20[{0}]\x20غير\x20مدعوم\x20للرفع','122625xhCCtq','تأكيد','11980440INNusU','5533402GmmKzp','يرجى\x20الانتظار...','خطأ\x20غير\x20معروف','26045jYXUjS','440BqnzmK','2638254EqITJc','668NHGBuY','خطأ\x20داخلي\x20غير\x20معروف','33555eyzTqu','إعادة\x20الرفع','جارٍ\x20التحميل'];_0x1092=function(){return _0x5535ee;};return _0x1092();}const _0x34476c=_0x3f12;(function(_0x5d634d,_0x353e46){const _0x1723cb=_0x3f12,_0x5dee4c=_0x5d634d();while(!![]){try{const _0x177458=parseInt(_0x1723cb(0x1f7))/0x1+-parseInt(_0x1723cb(0x1fa))/0x2*(parseInt(_0x1723cb(0x1f3))/0x3)+-parseInt(_0x1723cb(0x1f1))/0x4*(-parseInt(_0x1723cb(0x204))/0x5)+-parseInt(_0x1723cb(0x1f0))/0x6+parseInt(_0x1723cb(0x201))/0x7+parseInt(_0x1723cb(0x205))/0x8*(parseInt(_0x1723cb(0x1fe))/0x9)+-parseInt(_0x1723cb(0x200))/0xa;if(_0x177458===_0x353e46)break;else _0x5dee4c['push'](_0x5dee4c['shift']());}catch(_0x3daeb3){_0x5dee4c['push'](_0x5dee4c['shift']());}}}(_0x1092,0xcfd68));const e={'exchange-client':{'uploading':_0x34476c(0x1f6),'uploadSuccess':'تم\x20رفع\x20الملف\x20بنجاح','uploadSuccessTip':_0x34476c(0x1fc),'downloading':_0x34476c(0x1f5),'downloadSuccess':'تم\x20التحميل\x20بنجاح','unknownMistake':_0x34476c(0x203),'networkError':_0x34476c(0x1f8),'tooLarge':'البيانات\x20كبيرة\x20جداً','internalError':_0x34476c(0x1f2),'interrupt':_0x34476c(0x1fb),'fileTypeError':_0x34476c(0x1fd),'wait':_0x34476c(0x202),'cancel':_0x34476c(0x1f9),'confirm':_0x34476c(0x1ff),'uploadAgain':_0x34476c(0x1f4)}};export{e as default};
|
package/lib/es/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x9c0323=_0x29c2;function _0x167f(){const _0x3cb0d8=['12865VMTsek','564905MuRtfi','Fitxer\x20pujat\x20correctament','Descàrrega\x20correcta','2xtKlpl','20XYQvce','2932785bHgBUf','Tornar\x20a\x20pujar','Error\x20desconegut','15601553azuzxx','420TyBDGC','Cancel·lar','{0}\x20fitxer(s)\x20pujat(s)\x20correctament','1182WafSnL','Pujant','Error\x20intern\x20desconegut','3236681EAZkuX','El\x20fitxer\x20seleccionat\x20[{0}]\x20no\x20és\x20compatible\x20per\x20pujar','24876dVkdnI','La\x20connexió\x20de\x20xarxa\x20s\x27ha\x20interromput\x20i\x20la\x20pujada\x20del\x20fitxer\x20ha\x20fallat','Espereu...','4475824eToQbe','Descarregant'];_0x167f=function(){return _0x3cb0d8;};return _0x167f();}(function(_0x273766,_0x61e7fd){const _0x568f79=_0x29c2,_0x1baa3f=_0x273766();while(!![]){try{const _0x3a71f3=parseInt(_0x568f79(0x1d6))/0x1*(-parseInt(_0x568f79(0x1d9))/0x2)+parseInt(_0x568f79(0x1df))/0x3*(-parseInt(_0x568f79(0x1e7))/0x4)+-parseInt(_0x568f79(0x1d5))/0x5*(parseInt(_0x568f79(0x1e2))/0x6)+parseInt(_0x568f79(0x1e5))/0x7+-parseInt(_0x568f79(0x1ea))/0x8+-parseInt(_0x568f79(0x1db))/0x9+parseInt(_0x568f79(0x1da))/0xa*(parseInt(_0x568f79(0x1de))/0xb);if(_0x3a71f3===_0x61e7fd)break;else _0x1baa3f['push'](_0x1baa3f['shift']());}catch(_0x4497ed){_0x1baa3f['push'](_0x1baa3f['shift']());}}}(_0x167f,0x730c8));const e={'exchange-client':{'uploading':_0x9c0323(0x1e3),'uploadSuccess':_0x9c0323(0x1d7),'uploadSuccessTip':_0x9c0323(0x1e1),'downloading':_0x9c0323(0x1eb),'downloadSuccess':_0x9c0323(0x1d8),'unknownMistake':_0x9c0323(0x1dd),'networkError':'Error\x20de\x20xarxa','tooLarge':'Les\x20dades\x20són\x20massa\x20grans','internalError':_0x9c0323(0x1e4),'interrupt':_0x9c0323(0x1e8),'fileTypeError':_0x9c0323(0x1e6),'wait':_0x9c0323(0x1e9),'cancel':_0x9c0323(0x1e0),'confirm':'Confirmar','uploadAgain':_0x9c0323(0x1dc)}};function _0x29c2(_0x1ea63d,_0x3f7b0e){_0x1ea63d=_0x1ea63d-0x1d5;const _0x167f22=_0x167f();let _0x29c292=_0x167f22[_0x1ea63d];return _0x29c292;}export{e as default};
|
package/lib/es/locale/de-DE.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x101c(){const _0x41ce75=['Daten\x20sind\x20zu\x20groß','Datei\x20erfolgreich\x20hochgeladen','5040826TEMbZV','244435EImpZj','8149449hyFSZR','16XsiLvg','6990607WsjeSy','Interner\x20unbekannter\x20Fehler','Wird\x20heruntergeladen','Bitte\x20warten...','11205dzuciD','Unbekannter\x20Fehler','Wird\x20hochgeladen','93OWYuRL','Bestätigen','8txWeLU','Erneut\x20hochladen','{0}\x20Datei(en)\x20erfolgreich\x20hochgeladen','9970CkSFFD','78KdEfWq','Abbrechen','Die\x20ausgewählte\x20Datei\x20[{0}]\x20wird\x20für\x20den\x20Upload\x20nicht\x20unterstützt','33595vWJAts','57488PCHglM','12mDFKDf','Netzwerkfehler'];_0x101c=function(){return _0x41ce75;};return _0x101c();}const _0x40c6c3=_0x9db9;(function(_0x4cccbe,_0x32cd7d){const _0x453963=_0x9db9,_0x1a2e55=_0x4cccbe();while(!![]){try{const _0x36598c=parseInt(_0x453963(0x20a))/0x1*(-parseInt(_0x453963(0x203))/0x2)+parseInt(_0x453963(0x201))/0x3*(parseInt(_0x453963(0x20b))/0x4)+parseInt(_0x453963(0x1f7))/0x5*(-parseInt(_0x453963(0x207))/0x6)+parseInt(_0x453963(0x1f6))/0x7*(-parseInt(_0x453963(0x1f9))/0x8)+-parseInt(_0x453963(0x1fe))/0x9*(-parseInt(_0x453963(0x206))/0xa)+parseInt(_0x453963(0x1f8))/0xb+-parseInt(_0x453963(0x20c))/0xc*(-parseInt(_0x453963(0x1fa))/0xd);if(_0x36598c===_0x32cd7d)break;else _0x1a2e55['push'](_0x1a2e55['shift']());}catch(_0x5aaf6a){_0x1a2e55['push'](_0x1a2e55['shift']());}}}(_0x101c,0xb8630));const e={'exchange-client':{'uploading':_0x40c6c3(0x200),'uploadSuccess':_0x40c6c3(0x1f5),'uploadSuccessTip':_0x40c6c3(0x205),'downloading':_0x40c6c3(0x1fc),'downloadSuccess':'Download\x20erfolgreich','unknownMistake':_0x40c6c3(0x1ff),'networkError':_0x40c6c3(0x20d),'tooLarge':_0x40c6c3(0x1f4),'internalError':_0x40c6c3(0x1fb),'interrupt':'Die\x20Netzwerkverbindung\x20wurde\x20unterbrochen\x20und\x20der\x20Datei-Upload\x20ist\x20fehlgeschlagen','fileTypeError':_0x40c6c3(0x209),'wait':_0x40c6c3(0x1fd),'cancel':_0x40c6c3(0x208),'confirm':_0x40c6c3(0x202),'uploadAgain':_0x40c6c3(0x204)}};function _0x9db9(_0x2cfb04,_0x423183){_0x2cfb04=_0x2cfb04-0x1f4;const _0x101c64=_0x101c();let _0x9db918=_0x101c64[_0x2cfb04];return _0x9db918;}export{e as default};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x3bfa8b=_0x1606;function _0x172b(){const _0x1ce201=['Uploading','75500VQxYTb','Downloading','12cJuZsM','Confirm','4dfshvv','{0}\x20file(s)\x20uploaded\x20successfully','1685589yZcnha','Data\x20is\x20too\x20large','File\x20uploaded\x20successfully','6XHIhiF','4385169FPOtKf','Unknown\x20mistake','Cancel','10544dXTaqo','1772911nopzcY','1467640UjxUQM','Upload\x20again','8GwdkrG','Network\x20error','Please\x20wait...','13906475glhQnl','Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload'];_0x172b=function(){return _0x1ce201;};return _0x172b();}function _0x1606(_0xb3284b,_0x25f106){_0xb3284b=_0xb3284b-0x147;const _0x172b08=_0x172b();let _0x160664=_0x172b08[_0xb3284b];return _0x160664;}(function(_0x1e07c2,_0x3a70dc){const _0x4e757c=_0x1606,_0x1bdcd9=_0x1e07c2();while(!![]){try{const _0x58659e=parseInt(_0x4e757c(0x153))/0x1*(parseInt(_0x4e757c(0x148))/0x2)+-parseInt(_0x4e757c(0x14c))/0x3*(parseInt(_0x4e757c(0x14a))/0x4)+parseInt(_0x4e757c(0x155))/0x5*(parseInt(_0x4e757c(0x14f))/0x6)+parseInt(_0x4e757c(0x154))/0x7*(-parseInt(_0x4e757c(0x157))/0x8)+-parseInt(_0x4e757c(0x150))/0x9+parseInt(_0x4e757c(0x15d))/0xa+parseInt(_0x4e757c(0x15a))/0xb;if(_0x58659e===_0x3a70dc)break;else _0x1bdcd9['push'](_0x1bdcd9['shift']());}catch(_0x1f33b9){_0x1bdcd9['push'](_0x1bdcd9['shift']());}}}(_0x172b,0x4fa2e));const e={'exchange-client':{'uploading':_0x3bfa8b(0x15c),'uploadSuccess':_0x3bfa8b(0x14e),'uploadSuccessTip':_0x3bfa8b(0x14b),'downloading':_0x3bfa8b(0x147),'downloadSuccess':'Download\x20success','unknownMistake':_0x3bfa8b(0x151),'networkError':_0x3bfa8b(0x158),'tooLarge':_0x3bfa8b(0x14d),'internalError':'Internal\x20unknown\x20error','interrupt':'The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','fileTypeError':_0x3bfa8b(0x15b),'wait':_0x3bfa8b(0x159),'cancel':_0x3bfa8b(0x152),'confirm':_0x3bfa8b(0x149),'uploadAgain':_0x3bfa8b(0x156)}};export{e as default};
|
package/lib/es/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x595de2=_0x4626;function _0x1e45(){const _0x508631=['Error\x20interno\x20desconocido','Descargando','9KQswmi','El\x20archivo\x20seleccionado\x20[{0}]\x20no\x20es\x20compatible\x20para\x20subir','402BIDhiw','10sThHDD','Confirmar','8567368WlPOXH','Error\x20de\x20red','{0}\x20archivo(s)\x20subido(s)\x20exitosamente','455760BiowkP','6230595MFWPQq','5359508iyZzdz','22025100HqUpHt','4330iMZvbO','Los\x20datos\x20son\x20demasiado\x20grandes','3772293VTLnzv','Archivo\x20subido\x20exitosamente','Cancelar','La\x20conexión\x20de\x20red\x20se\x20interrumpió\x20y\x20la\x20carga\x20del\x20archivo\x20falló','Subir\x20de\x20nuevo'];_0x1e45=function(){return _0x508631;};return _0x1e45();}(function(_0x170b4d,_0x2a3a51){const _0x373f02=_0x4626,_0x1e005c=_0x170b4d();while(!![]){try{const _0x212ba7=parseInt(_0x373f02(0x16f))/0x1*(parseInt(_0x373f02(0x17a))/0x2)+parseInt(_0x373f02(0x171))/0x3+-parseInt(_0x373f02(0x182))/0x4+parseInt(_0x373f02(0x17b))/0x5*(-parseInt(_0x373f02(0x180))/0x6)+-parseInt(_0x373f02(0x181))/0x7+parseInt(_0x373f02(0x17d))/0x8*(-parseInt(_0x373f02(0x178))/0x9)+parseInt(_0x373f02(0x183))/0xa;if(_0x212ba7===_0x2a3a51)break;else _0x1e005c['push'](_0x1e005c['shift']());}catch(_0x15b33f){_0x1e005c['push'](_0x1e005c['shift']());}}}(_0x1e45,0xd639c));function _0x4626(_0x53cdb9,_0x3da437){_0x53cdb9=_0x53cdb9-0x16f;const _0x1e458e=_0x1e45();let _0x46266a=_0x1e458e[_0x53cdb9];return _0x46266a;}const e={'exchange-client':{'uploading':'Subiendo','uploadSuccess':_0x595de2(0x172),'uploadSuccessTip':_0x595de2(0x17f),'downloading':_0x595de2(0x177),'downloadSuccess':'Descarga\x20exitosa','unknownMistake':'Error\x20desconocido','networkError':_0x595de2(0x17e),'tooLarge':_0x595de2(0x170),'internalError':_0x595de2(0x176),'interrupt':_0x595de2(0x174),'fileTypeError':_0x595de2(0x179),'wait':'Espere...','cancel':_0x595de2(0x173),'confirm':_0x595de2(0x17c),'uploadAgain':_0x595de2(0x175)}};export{e as default};
|