@univerjs-pro/exchange-client 1.0.0-alpha.8 → 1.0.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ar-SA.js +1 -1
  4. package/lib/cjs/locale/ca-ES.js +1 -1
  5. package/lib/cjs/locale/de-DE.js +1 -1
  6. package/lib/cjs/locale/en-US.js +1 -1
  7. package/lib/cjs/locale/es-ES.js +1 -1
  8. package/lib/cjs/locale/fa-IR.js +1 -1
  9. package/lib/cjs/locale/fr-FR.js +1 -1
  10. package/lib/cjs/locale/id-ID.js +1 -1
  11. package/lib/cjs/locale/it-IT.js +1 -1
  12. package/lib/cjs/locale/ja-JP.js +1 -1
  13. package/lib/cjs/locale/ko-KR.js +1 -1
  14. package/lib/cjs/locale/pl-PL.js +1 -1
  15. package/lib/cjs/locale/pt-BR.js +1 -1
  16. package/lib/cjs/locale/ru-RU.js +1 -1
  17. package/lib/cjs/locale/sk-SK.js +1 -1
  18. package/lib/cjs/locale/vi-VN.js +1 -1
  19. package/lib/cjs/locale/zh-CN.js +1 -1
  20. package/lib/cjs/locale/zh-HK.js +1 -1
  21. package/lib/cjs/locale/zh-TW.js +1 -1
  22. package/lib/es/facade.js +1 -1
  23. package/lib/es/index.js +1 -1
  24. package/lib/es/locale/ar-SA.js +1 -1
  25. package/lib/es/locale/ca-ES.js +1 -1
  26. package/lib/es/locale/de-DE.js +1 -1
  27. package/lib/es/locale/en-US.js +1 -1
  28. package/lib/es/locale/es-ES.js +1 -1
  29. package/lib/es/locale/fa-IR.js +1 -1
  30. package/lib/es/locale/fr-FR.js +1 -1
  31. package/lib/es/locale/id-ID.js +1 -1
  32. package/lib/es/locale/it-IT.js +1 -1
  33. package/lib/es/locale/ja-JP.js +1 -1
  34. package/lib/es/locale/ko-KR.js +1 -1
  35. package/lib/es/locale/pl-PL.js +1 -1
  36. package/lib/es/locale/pt-BR.js +1 -1
  37. package/lib/es/locale/ru-RU.js +1 -1
  38. package/lib/es/locale/sk-SK.js +1 -1
  39. package/lib/es/locale/vi-VN.js +1 -1
  40. package/lib/es/locale/zh-CN.js +1 -1
  41. package/lib/es/locale/zh-HK.js +1 -1
  42. package/lib/es/locale/zh-TW.js +1 -1
  43. package/lib/facade.js +1 -1
  44. package/lib/index.css +42 -4
  45. package/lib/index.js +1 -1
  46. package/lib/locale/ar-SA.js +1 -1
  47. package/lib/locale/ca-ES.js +1 -1
  48. package/lib/locale/de-DE.js +1 -1
  49. package/lib/locale/en-US.js +1 -1
  50. package/lib/locale/es-ES.js +1 -1
  51. package/lib/locale/fa-IR.js +1 -1
  52. package/lib/locale/fr-FR.js +1 -1
  53. package/lib/locale/id-ID.js +1 -1
  54. package/lib/locale/it-IT.js +1 -1
  55. package/lib/locale/ja-JP.js +1 -1
  56. package/lib/locale/ko-KR.js +1 -1
  57. package/lib/locale/pl-PL.js +1 -1
  58. package/lib/locale/pt-BR.js +1 -1
  59. package/lib/locale/ru-RU.js +1 -1
  60. package/lib/locale/sk-SK.js +1 -1
  61. package/lib/locale/vi-VN.js +1 -1
  62. package/lib/locale/zh-CN.js +1 -1
  63. package/lib/locale/zh-HK.js +1 -1
  64. package/lib/locale/zh-TW.js +1 -1
  65. package/lib/types/config/config.d.ts +0 -23
  66. package/lib/types/controllers/components.controller.d.ts +3 -3
  67. package/lib/types/facade/f-univer.d.ts +5 -279
  68. package/lib/types/index.d.ts +5 -2
  69. package/lib/types/locale/en-US.d.ts +1 -0
  70. package/lib/types/services/exchange.service.d.ts +12 -82
  71. package/lib/types/services/operate.service.d.ts +17 -96
  72. package/lib/types/services/request.service.d.ts +78 -10
  73. package/lib/types/services/utils/content-type.d.ts +6 -2
  74. package/lib/types/services/utils/snapshot.d.ts +7 -39
  75. package/lib/types/services/utils/tool.d.ts +1 -0
  76. package/lib/types/views/export-format-dialog/ExportFormatDialog.d.ts +14 -0
  77. package/lib/umd/facade.js +1 -1
  78. package/lib/umd/index.js +1 -1
  79. package/lib/umd/locale/ar-SA.js +1 -1
  80. package/lib/umd/locale/ca-ES.js +1 -1
  81. package/lib/umd/locale/de-DE.js +1 -1
  82. package/lib/umd/locale/en-US.js +1 -1
  83. package/lib/umd/locale/es-ES.js +1 -1
  84. package/lib/umd/locale/fa-IR.js +1 -1
  85. package/lib/umd/locale/fr-FR.js +1 -1
  86. package/lib/umd/locale/id-ID.js +1 -1
  87. package/lib/umd/locale/it-IT.js +1 -1
  88. package/lib/umd/locale/ja-JP.js +1 -1
  89. package/lib/umd/locale/ko-KR.js +1 -1
  90. package/lib/umd/locale/pl-PL.js +1 -1
  91. package/lib/umd/locale/pt-BR.js +1 -1
  92. package/lib/umd/locale/ru-RU.js +1 -1
  93. package/lib/umd/locale/sk-SK.js +1 -1
  94. package/lib/umd/locale/vi-VN.js +1 -1
  95. package/lib/umd/locale/zh-CN.js +1 -1
  96. package/lib/umd/locale/zh-HK.js +1 -1
  97. package/lib/umd/locale/zh-TW.js +1 -1
  98. package/package.json +11 -12
  99. package/lib/types/views/UploadNotificationContainer.d.ts +0 -1
@@ -1 +1 @@
1
- const _0x3920dc=_0x36cb;(function(_0x5eda2a,_0x49eee7){const _0x59f95e=_0x36cb,_0x5a2f1f=_0x5eda2a();while(!![]){try{const _0x2789fb=parseInt(_0x59f95e(0x1da))/0x1+-parseInt(_0x59f95e(0x1d4))/0x2*(-parseInt(_0x59f95e(0x1cc))/0x3)+-parseInt(_0x59f95e(0x1d0))/0x4*(-parseInt(_0x59f95e(0x1cf))/0x5)+-parseInt(_0x59f95e(0x1c7))/0x6*(-parseInt(_0x59f95e(0x1d9))/0x7)+parseInt(_0x59f95e(0x1dc))/0x8*(-parseInt(_0x59f95e(0x1cd))/0x9)+parseInt(_0x59f95e(0x1d6))/0xa+-parseInt(_0x59f95e(0x1ce))/0xb*(parseInt(_0x59f95e(0x1d3))/0xc);if(_0x2789fb===_0x49eee7)break;else _0x5a2f1f['push'](_0x5a2f1f['shift']());}catch(_0x192f40){_0x5a2f1f['push'](_0x5a2f1f['shift']());}}}(_0x5910,0xdd047));function _0x36cb(_0x555e38,_0x254bfe){_0x555e38=_0x555e38-0x1c7;const _0x5910bb=_0x5910();let _0x36cb6e=_0x5910bb[_0x555e38];return _0x36cb6e;}const e={'exchange-client':{'uploading':_0x3920dc(0x1d7),'uploadSuccess':_0x3920dc(0x1c8),'uploadSuccessTip':_0x3920dc(0x1cb),'downloading':_0x3920dc(0x1c9),'downloadSuccess':'다운로드가\x20완료되었습니다','unknownMistake':_0x3920dc(0x1d5),'networkError':'네트워크\x20오류','tooLarge':_0x3920dc(0x1d8),'internalError':_0x3920dc(0x1ca),'interrupt':_0x3920dc(0x1d1),'fileTypeError':_0x3920dc(0x1de),'wait':_0x3920dc(0x1db),'cancel':'취소','uploadAgain':_0x3920dc(0x1d2)}};module[_0x3920dc(0x1dd)]=e;function _0x5910(){const _0x5ec9d7=['다운로드\x20중','내부\x20오류가\x20발생했습니다','{0}개의\x20파일이\x20성공적으로\x20업로드되었습니다','6FDILzt','63nhNmvA','1598102yPnAlN','25SrOgBQ','133828WiritH','네트워크\x20연결이\x20중단되어\x20파일\x20업로드에\x20실패했습니다','다시\x20업로드','96Dyzgxp','442186LqnLxN','알\x20수\x20없는\x20오류','10930930uvPajY','업로드\x20중','데이터가\x20너무\x20큽니다','3899nvqpIb','604149tbnZqA','잠시만\x20기다려\x20주세요...','1987624HLbTmL','exports','선택한\x20파일\x20[{0}]은(는)\x20업로드가\x20지원되지\x20않습니다','16158MDaxfg','파일이\x20성공적으로\x20업로드되었습니다'];_0x5910=function(){return _0x5ec9d7;};return _0x5910();}
1
+ const _0xfffd54=_0xb15e;function _0xb15e(_0x27bcde,_0x4844af){_0x27bcde=_0x27bcde-0x1c6;const _0x28588b=_0x2858();let _0xb15ed4=_0x28588b[_0x27bcde];return _0xb15ed4;}(function(_0x1be81b,_0x3b7c2c){const _0x5ae92b=_0xb15e,_0x23a614=_0x1be81b();while(!![]){try{const _0xe3e6a5=-parseInt(_0x5ae92b(0x1d4))/0x1+parseInt(_0x5ae92b(0x1d3))/0x2*(-parseInt(_0x5ae92b(0x1d0))/0x3)+-parseInt(_0x5ae92b(0x1d6))/0x4*(parseInt(_0x5ae92b(0x1cf))/0x5)+-parseInt(_0x5ae92b(0x1c8))/0x6+parseInt(_0x5ae92b(0x1cc))/0x7*(-parseInt(_0x5ae92b(0x1cb))/0x8)+parseInt(_0x5ae92b(0x1d9))/0x9+parseInt(_0x5ae92b(0x1d5))/0xa;if(_0xe3e6a5===_0x3b7c2c)break;else _0x23a614['push'](_0x23a614['shift']());}catch(_0x3a645b){_0x23a614['push'](_0x23a614['shift']());}}}(_0x2858,0xd0a2f));const e={'exchange-client':{'uploading':_0xfffd54(0x1d8),'uploadSuccess':_0xfffd54(0x1d7),'uploadSuccessTip':'{0}개의\x20파일이\x20성공적으로\x20업로드되었습니다','downloading':'다운로드\x20중','downloadSuccess':'다운로드가\x20완료되었습니다','unknownMistake':_0xfffd54(0x1d1),'networkError':_0xfffd54(0x1c9),'tooLarge':_0xfffd54(0x1cd),'internalError':'내부\x20오류가\x20발생했습니다','interrupt':_0xfffd54(0x1c6),'fileTypeError':_0xfffd54(0x1d2),'wait':_0xfffd54(0x1ca),'cancel':'취소','confirm':'확인','uploadAgain':_0xfffd54(0x1c7)}};module[_0xfffd54(0x1ce)]=e;function _0x2858(){const _0x496079=['exports','5HCxuGr','1718373ntEWMJ','알\x20수\x20없는\x20오류','선택한\x20파일\x20[{0}]은(는)\x20업로드가\x20지원되지\x20않습니다','2vcbibT','1524185YlPjXj','31117060kFBUwc','1849680iNiKSJ','파일이\x20성공적으로\x20업로드되었습니다','업로드\x20중','5746545QpjZYL','네트워크\x20연결이\x20중단되어\x20파일\x20업로드에\x20실패했습니다','다시\x20업로드','1037160XfQSnm','네트워크\x20오류','잠시만\x20기다려\x20주세요...','12448xWjhyA','735HSZuLi','데이터가\x20너무\x20큽니다'];_0x2858=function(){return _0x496079;};return _0x2858();}
@@ -1 +1 @@
1
- const _0x3bb8f8=_0x1ab5;function _0x353f(){const _0x2570a3=['22398BxTzLM','Nieznany\x20błąd','Proszę\x20czekać...','Połączenie\x20sieciowe\x20zostało\x20przerwane\x20i\x20przesyłanie\x20pliku\x20nie\x20powiodło\x20się','305SXlpVd','Przesyłanie','56wdGBaA','530937nBwydE','303688sixqCG','102TXhGip','Anuluj','Wybrany\x20plik\x20[{0}]\x20nie\x20jest\x20obsługiwany\x20do\x20przesyłania','Pomyślnie\x20przesłano\x20{0}\x20plik(ów)','Wewnętrzny\x20nieznany\x20błąd','853300qFrTob','Dane\x20są\x20zbyt\x20duże','224686qKnrXG','Pobieranie\x20zakończone\x20sukcesem','100OQrQIq','Błąd\x20sieci','Prześlij\x20ponownie','918909KrZXaY','Pobieranie'];_0x353f=function(){return _0x2570a3;};return _0x353f();}function _0x1ab5(_0x4381c5,_0x2bd45d){_0x4381c5=_0x4381c5-0x152;const _0x353fbe=_0x353f();let _0x1ab5f4=_0x353fbe[_0x4381c5];return _0x1ab5f4;}(function(_0xe9fef1,_0x4507e8){const _0x53f5b1=_0x1ab5,_0x199a40=_0xe9fef1();while(!![]){try{const _0x1a5a95=parseInt(_0x53f5b1(0x152))/0x1*(parseInt(_0x53f5b1(0x157))/0x2)+-parseInt(_0x53f5b1(0x163))/0x3+parseInt(_0x53f5b1(0x156))/0x4+-parseInt(_0x53f5b1(0x160))/0x5*(parseInt(_0x53f5b1(0x165))/0x6)+parseInt(_0x53f5b1(0x15e))/0x7+parseInt(_0x53f5b1(0x154))/0x8*(parseInt(_0x53f5b1(0x155))/0x9)+parseInt(_0x53f5b1(0x15c))/0xa;if(_0x1a5a95===_0x4507e8)break;else _0x199a40['push'](_0x199a40['shift']());}catch(_0x5991f9){_0x199a40['push'](_0x199a40['shift']());}}}(_0x353f,0x3acfd));const e={'exchange-client':{'uploading':_0x3bb8f8(0x153),'uploadSuccess':'Plik\x20przesłany\x20pomyślnie','uploadSuccessTip':_0x3bb8f8(0x15a),'downloading':_0x3bb8f8(0x164),'downloadSuccess':_0x3bb8f8(0x15f),'unknownMistake':_0x3bb8f8(0x166),'networkError':_0x3bb8f8(0x161),'tooLarge':_0x3bb8f8(0x15d),'internalError':_0x3bb8f8(0x15b),'interrupt':_0x3bb8f8(0x168),'fileTypeError':_0x3bb8f8(0x159),'wait':_0x3bb8f8(0x167),'cancel':_0x3bb8f8(0x158),'uploadAgain':_0x3bb8f8(0x162)}};module['exports']=e;
1
+ const _0x4ce1cb=_0x4aec;(function(_0x2597dc,_0x293092){const _0x4028e4=_0x4aec,_0x4a61d6=_0x2597dc();while(!![]){try{const _0x293836=-parseInt(_0x4028e4(0x1de))/0x1+parseInt(_0x4028e4(0x1d8))/0x2*(-parseInt(_0x4028e4(0x1cf))/0x3)+-parseInt(_0x4028e4(0x1cc))/0x4*(-parseInt(_0x4028e4(0x1dc))/0x5)+-parseInt(_0x4028e4(0x1dd))/0x6*(-parseInt(_0x4028e4(0x1e2))/0x7)+-parseInt(_0x4028e4(0x1e3))/0x8+parseInt(_0x4028e4(0x1d3))/0x9*(-parseInt(_0x4028e4(0x1e0))/0xa)+parseInt(_0x4028e4(0x1e1))/0xb;if(_0x293836===_0x293092)break;else _0x4a61d6['push'](_0x4a61d6['shift']());}catch(_0x580d1c){_0x4a61d6['push'](_0x4a61d6['shift']());}}}(_0x17a6,0x707f8));const e={'exchange-client':{'uploading':_0x4ce1cb(0x1db),'uploadSuccess':_0x4ce1cb(0x1d9),'uploadSuccessTip':_0x4ce1cb(0x1da),'downloading':_0x4ce1cb(0x1d6),'downloadSuccess':_0x4ce1cb(0x1cd),'unknownMistake':_0x4ce1cb(0x1d5),'networkError':'Błąd\x20sieci','tooLarge':_0x4ce1cb(0x1d4),'internalError':_0x4ce1cb(0x1d0),'interrupt':_0x4ce1cb(0x1d7),'fileTypeError':'Wybrany\x20plik\x20[{0}]\x20nie\x20jest\x20obsługiwany\x20do\x20przesyłania','wait':_0x4ce1cb(0x1d2),'cancel':_0x4ce1cb(0x1ce),'confirm':_0x4ce1cb(0x1df),'uploadAgain':'Prześlij\x20ponownie'}};function _0x4aec(_0x48a63f,_0x1127f8){_0x48a63f=_0x48a63f-0x1cc;const _0x17a696=_0x17a6();let _0x4aec45=_0x17a696[_0x48a63f];return _0x4aec45;}function _0x17a6(){const _0x17cc7b=['Pomyślnie\x20przesłano\x20{0}\x20plik(ów)','Przesyłanie','15VUiJWL','18wzihyc','806121EjVUzk','Potwierdź','10exeHcJ','36334683CyMoUK','185465RQoAyT','6447576PzRglZ','419332OzoTpq','Pobieranie\x20zakończone\x20sukcesem','Anuluj','11079cZUcur','Wewnętrzny\x20nieznany\x20błąd','exports','Proszę\x20czekać...','7239879CpCZSY','Dane\x20są\x20zbyt\x20duże','Nieznany\x20błąd','Pobieranie','Połączenie\x20sieciowe\x20zostało\x20przerwane\x20i\x20przesyłanie\x20pliku\x20nie\x20powiodło\x20się','444aQOVzM','Plik\x20przesłany\x20pomyślnie'];_0x17a6=function(){return _0x17cc7b;};return _0x17a6();}module[_0x4ce1cb(0x1d1)]=e;
@@ -1 +1 @@
1
- const _0x5876fc=_0x5d14;function _0x5d14(_0x4843b0,_0x5c742c){_0x4843b0=_0x4843b0-0x169;const _0x105f9e=_0x105f();let _0x5d142d=_0x105f9e[_0x4843b0];return _0x5d142d;}function _0x105f(){const _0x3229c7=['2992832VbKijl','2uIinLQ','Erro\x20interno\x20desconhecido','exports','54864AgCnXx','1581633BcNRuP','A\x20conexão\x20de\x20rede\x20foi\x20interrompida\x20e\x20o\x20envio\x20do\x20arquivo\x20falhou','Enviar\x20novamente','Arquivo\x20enviado\x20com\x20sucesso','203zWaqTo','Cancelar','1329552QtqZaO','Erro\x20de\x20rede','123499EfvngK','{0}\x20arquivo(s)\x20enviado(s)\x20com\x20sucesso','79664faomFA','40BJBiQh','Os\x20dados\x20são\x20muito\x20grandes','147697wqJSwU','465EFZGPS','Enviando','Download\x20concluído\x20com\x20sucesso'];_0x105f=function(){return _0x3229c7;};return _0x105f();}(function(_0x36be73,_0x4cb934){const _0x5d8fac=_0x5d14,_0x2c6372=_0x36be73();while(!![]){try{const _0x5a7c10=parseInt(_0x5d8fac(0x17b))/0x1*(-parseInt(_0x5d8fac(0x16f))/0x2)+-parseInt(_0x5d8fac(0x173))/0x3+parseInt(_0x5d8fac(0x16e))/0x4+-parseInt(_0x5d8fac(0x16b))/0x5*(-parseInt(_0x5d8fac(0x172))/0x6)+parseInt(_0x5d8fac(0x177))/0x7*(-parseInt(_0x5d8fac(0x17d))/0x8)+-parseInt(_0x5d8fac(0x179))/0x9+parseInt(_0x5d8fac(0x17e))/0xa*(parseInt(_0x5d8fac(0x16a))/0xb);if(_0x5a7c10===_0x4cb934)break;else _0x2c6372['push'](_0x2c6372['shift']());}catch(_0x2d9966){_0x2c6372['push'](_0x2c6372['shift']());}}}(_0x105f,0x89f60));const e={'exchange-client':{'uploading':_0x5876fc(0x16c),'uploadSuccess':_0x5876fc(0x176),'uploadSuccessTip':_0x5876fc(0x17c),'downloading':'Baixando','downloadSuccess':_0x5876fc(0x16d),'unknownMistake':'Erro\x20desconhecido','networkError':_0x5876fc(0x17a),'tooLarge':_0x5876fc(0x169),'internalError':_0x5876fc(0x170),'interrupt':_0x5876fc(0x174),'fileTypeError':'O\x20arquivo\x20selecionado\x20[{0}]\x20não\x20é\x20suportado\x20para\x20envio','wait':'Aguarde...','cancel':_0x5876fc(0x178),'uploadAgain':_0x5876fc(0x175)}};module[_0x5876fc(0x171)]=e;
1
+ const _0x414f2b=_0x1c0f;(function(_0x5c8725,_0x545042){const _0x24b1f9=_0x1c0f,_0x4dbc4d=_0x5c8725();while(!![]){try{const _0x3a53e3=parseInt(_0x24b1f9(0x1d6))/0x1*(-parseInt(_0x24b1f9(0x1d9))/0x2)+parseInt(_0x24b1f9(0x1e0))/0x3+-parseInt(_0x24b1f9(0x1e3))/0x4+-parseInt(_0x24b1f9(0x1dd))/0x5+parseInt(_0x24b1f9(0x1da))/0x6+-parseInt(_0x24b1f9(0x1d5))/0x7+parseInt(_0x24b1f9(0x1db))/0x8;if(_0x3a53e3===_0x545042)break;else _0x4dbc4d['push'](_0x4dbc4d['shift']());}catch(_0x12bfe4){_0x4dbc4d['push'](_0x4dbc4d['shift']());}}}(_0x16f9,0x6c48e));const e={'exchange-client':{'uploading':_0x414f2b(0x1e8),'uploadSuccess':_0x414f2b(0x1d4),'uploadSuccessTip':_0x414f2b(0x1ea),'downloading':_0x414f2b(0x1d7),'downloadSuccess':_0x414f2b(0x1d8),'unknownMistake':'Erro\x20desconhecido','networkError':_0x414f2b(0x1dc),'tooLarge':_0x414f2b(0x1e6),'internalError':_0x414f2b(0x1e4),'interrupt':_0x414f2b(0x1e5),'fileTypeError':_0x414f2b(0x1de),'wait':_0x414f2b(0x1df),'cancel':_0x414f2b(0x1e9),'confirm':_0x414f2b(0x1e7),'uploadAgain':_0x414f2b(0x1e1)}};function _0x1c0f(_0x3d3f4b,_0x167687){_0x3d3f4b=_0x3d3f4b-0x1d4;const _0x16f9b5=_0x16f9();let _0x1c0f8d=_0x16f9b5[_0x3d3f4b];return _0x1c0f8d;}module[_0x414f2b(0x1e2)]=e;function _0x16f9(){const _0x8207c7=['2DMmEgv','Baixando','Download\x20concluído\x20com\x20sucesso','471826JcRTUm','2824776bAeGPR','9657336uBNHRC','Erro\x20de\x20rede','3490980hzHHtW','O\x20arquivo\x20selecionado\x20[{0}]\x20não\x20é\x20suportado\x20para\x20envio','Aguarde...','2313537YkhgRB','Enviar\x20novamente','exports','2797416YOLhxY','Erro\x20interno\x20desconhecido','A\x20conexão\x20de\x20rede\x20foi\x20interrompida\x20e\x20o\x20envio\x20do\x20arquivo\x20falhou','Os\x20dados\x20são\x20muito\x20grandes','Confirmar','Enviando','Cancelar','{0}\x20arquivo(s)\x20enviado(s)\x20com\x20sucesso','Arquivo\x20enviado\x20com\x20sucesso','953624aFhqKL'];_0x16f9=function(){return _0x8207c7;};return _0x16f9();}
@@ -1 +1 @@
1
- function _0x4d3f(){const _0x5a9391=['Скачивание\x20успешно','1663508TYKMxO','exports','Пожалуйста,\x20подождите...','2011052ZdgbFk','Неизвестная\x20ошибка','Скачивание','Внутренняя\x20неизвестная\x20ошибка','3048492EIxqSA','Выбранный\x20файл\x20[{0}]\x20не\x20поддерживается\x20для\x20загрузки','1325352qVWjBq','Сетевая\x20ошибка','8714340HOnMeS','4LheHcD','3721975cnYHfL','200962HeUnZO','Сетевое\x20соединение\x20было\x20прервано,\x20и\x20загрузка\x20файла\x20не\x20удалась','Отмена','3OGtjmG','Загрузить\x20снова'];_0x4d3f=function(){return _0x5a9391;};return _0x4d3f();}const _0x203193=_0x25eb;(function(_0xb631e2,_0x2da6db){const _0x5a2748=_0x25eb,_0x5a3e97=_0xb631e2();while(!![]){try{const _0xf8f3a=parseInt(_0x5a2748(0x1b9))/0x1*(-parseInt(_0x5a2748(0x1b7))/0x2)+-parseInt(_0x5a2748(0x1bc))/0x3*(-parseInt(_0x5a2748(0x1ae))/0x4)+-parseInt(_0x5a2748(0x1b8))/0x5+parseInt(_0x5a2748(0x1b2))/0x6+-parseInt(_0x5a2748(0x1bf))/0x7+-parseInt(_0x5a2748(0x1b4))/0x8+parseInt(_0x5a2748(0x1b6))/0x9;if(_0xf8f3a===_0x2da6db)break;else _0x5a3e97['push'](_0x5a3e97['shift']());}catch(_0x170fe3){_0x5a3e97['push'](_0x5a3e97['shift']());}}}(_0x4d3f,0x68da1));const e={'exchange-client':{'uploading':'Загрузка','uploadSuccess':'Файл\x20успешно\x20загружен','uploadSuccessTip':'{0}\x20файл(ов)\x20успешно\x20загружен(о)','downloading':_0x203193(0x1b0),'downloadSuccess':_0x203193(0x1be),'unknownMistake':_0x203193(0x1af),'networkError':_0x203193(0x1b5),'tooLarge':'Данные\x20слишком\x20большие','internalError':_0x203193(0x1b1),'interrupt':_0x203193(0x1ba),'fileTypeError':_0x203193(0x1b3),'wait':_0x203193(0x1ad),'cancel':_0x203193(0x1bb),'uploadAgain':_0x203193(0x1bd)}};function _0x25eb(_0x5e4d32,_0x48d767){_0x5e4d32=_0x5e4d32-0x1ad;const _0x4d3f20=_0x4d3f();let _0x25eb39=_0x4d3f20[_0x5e4d32];return _0x25eb39;}module[_0x203193(0x1c0)]=e;
1
+ const _0x1edd40=_0x24d9;(function(_0x27a075,_0x4978ef){const _0xf471ef=_0x24d9,_0x15b930=_0x27a075();while(!![]){try{const _0x331b1a=-parseInt(_0xf471ef(0x169))/0x1*(parseInt(_0xf471ef(0x16b))/0x2)+-parseInt(_0xf471ef(0x165))/0x3*(parseInt(_0xf471ef(0x162))/0x4)+parseInt(_0xf471ef(0x164))/0x5+-parseInt(_0xf471ef(0x16e))/0x6+parseInt(_0xf471ef(0x174))/0x7*(parseInt(_0xf471ef(0x172))/0x8)+-parseInt(_0xf471ef(0x16c))/0x9*(parseInt(_0xf471ef(0x171))/0xa)+parseInt(_0xf471ef(0x16f))/0xb;if(_0x331b1a===_0x4978ef)break;else _0x15b930['push'](_0x15b930['shift']());}catch(_0x51e9fb){_0x15b930['push'](_0x15b930['shift']());}}}(_0x26e7,0x8cff4));function _0x24d9(_0x2f99cd,_0x2e81f1){_0x2f99cd=_0x2f99cd-0x162;const _0x26e75f=_0x26e7();let _0x24d923=_0x26e75f[_0x2f99cd];return _0x24d923;}const e={'exchange-client':{'uploading':'Загрузка','uploadSuccess':_0x1edd40(0x16a),'uploadSuccessTip':_0x1edd40(0x175),'downloading':'Скачивание','downloadSuccess':_0x1edd40(0x170),'unknownMistake':_0x1edd40(0x173),'networkError':'Сетевая\x20ошибка','tooLarge':_0x1edd40(0x166),'internalError':'Внутренняя\x20неизвестная\x20ошибка','interrupt':'Сетевое\x20соединение\x20было\x20прервано,\x20и\x20загрузка\x20файла\x20не\x20удалась','fileTypeError':_0x1edd40(0x168),'wait':'Пожалуйста,\x20подождите...','cancel':_0x1edd40(0x163),'confirm':_0x1edd40(0x167),'uploadAgain':_0x1edd40(0x16d)}};module['exports']=e;function _0x26e7(){const _0x3dec21=['468955RJHAiW','Файл\x20успешно\x20загружен','2TavlDY','9qdrlLi','Загрузить\x20снова','3163854wrQhcc','10587445iZXFjt','Скачивание\x20успешно','4199420ZpqTPx','4949696ndisEs','Неизвестная\x20ошибка','7JHIYBe','{0}\x20файл(ов)\x20успешно\x20загружен(о)','8LMlgoW','Отмена','3889905URSJhT','548187HGRiwT','Данные\x20слишком\x20большие','Подтвердить','Выбранный\x20файл\x20[{0}]\x20не\x20поддерживается\x20для\x20загрузки'];_0x26e7=function(){return _0x3dec21;};return _0x26e7();}
@@ -1 +1 @@
1
- const _0x432751=_0x3fbd;(function(_0x281017,_0x320c9e){const _0x576c29=_0x3fbd,_0x23cab6=_0x281017();while(!![]){try{const _0x373959=parseInt(_0x576c29(0xb6))/0x1*(parseInt(_0x576c29(0xab))/0x2)+parseInt(_0x576c29(0xad))/0x3+parseInt(_0x576c29(0xae))/0x4+-parseInt(_0x576c29(0xb3))/0x5+parseInt(_0x576c29(0xb2))/0x6+-parseInt(_0x576c29(0xac))/0x7+-parseInt(_0x576c29(0xb9))/0x8*(parseInt(_0x576c29(0xaf))/0x9);if(_0x373959===_0x320c9e)break;else _0x23cab6['push'](_0x23cab6['shift']());}catch(_0x56855e){_0x23cab6['push'](_0x23cab6['shift']());}}}(_0x58c0,0x38eb3));const e={'exchange-client':{'uploading':'Nahrávanie','uploadSuccess':_0x432751(0xb5),'uploadSuccessTip':_0x432751(0xb1),'downloading':'Sťahovanie','downloadSuccess':_0x432751(0xa7),'unknownMistake':_0x432751(0xb8),'networkError':_0x432751(0xa9),'tooLarge':'Dáta\x20sú\x20príliš\x20veľké','internalError':_0x432751(0xb4),'interrupt':'Sieťové\x20pripojenie\x20bolo\x20prerušené\x20a\x20nahrávanie\x20súboru\x20zlyhalo','fileTypeError':_0x432751(0xb0),'wait':_0x432751(0xa8),'cancel':_0x432751(0xaa),'uploadAgain':_0x432751(0xb7)}};function _0x58c0(){const _0x50a0c1=['8RplcDZ','Sťahovanie\x20úspešné','Prosím\x20počkajte...','Sieťová\x20chyba','Zrušiť','239398uIjMzU','161266KAVqpq','601800KeJywU','294648FgtIPS','2517579IYgsXN','Vybraný\x20súbor\x20[{0}]\x20nie\x20je\x20podporovaný\x20na\x20nahrávanie','Úspešne\x20nahraných\x20{0}\x20súborov','2555928AcUEpf','2018700nOJWdj','Interná\x20neznáma\x20chyba','Súbor\x20bol\x20úspešne\x20nahraný','2Fxgqxp','Nahrať\x20znova','Neznáma\x20chyba'];_0x58c0=function(){return _0x50a0c1;};return _0x58c0();}function _0x3fbd(_0x2fe3ba,_0x33df18){_0x2fe3ba=_0x2fe3ba-0xa7;const _0x58c0ed=_0x58c0();let _0x3fbd8b=_0x58c0ed[_0x2fe3ba];return _0x3fbd8b;}module['exports']=e;
1
+ function _0x42c1(){const _0x347e12=['exports','Zrušiť','Sieťová\x20chyba','Nahrávanie','Úspešne\x20nahraných\x20{0}\x20súborov','45028OZLGLq','Súbor\x20bol\x20úspešne\x20nahraný','124340dYJjFJ','30slNgFU','999NzICJV','Neznáma\x20chyba','6gTgepo','8230nPiMmg','1128xkJTot','Potvrdiť','66224bGpWvA','2523078gjaNHX','Sťahovanie','167597DAQPfp','Prosím\x20počkajte...','113344aoVSyu','Dáta\x20sú\x20príliš\x20veľké','Sťahovanie\x20úspešné','Vybraný\x20súbor\x20[{0}]\x20nie\x20je\x20podporovaný\x20na\x20nahrávanie','364rIFczV'];_0x42c1=function(){return _0x347e12;};return _0x42c1();}const _0x2de5ba=_0x4667;(function(_0x32c6b9,_0x3f9b14){const _0x2955e4=_0x4667,_0x4b842f=_0x32c6b9();while(!![]){try{const _0x590c2e=-parseInt(_0x2955e4(0x93))/0x1+-parseInt(_0x2955e4(0xa1))/0x2*(-parseInt(_0x2955e4(0x8c))/0x3)+parseInt(_0x2955e4(0x9f))/0x4*(parseInt(_0x2955e4(0xa2))/0x5)+-parseInt(_0x2955e4(0x91))/0x6+-parseInt(_0x2955e4(0x99))/0x7*(parseInt(_0x2955e4(0x90))/0x8)+-parseInt(_0x2955e4(0x8a))/0x9*(-parseInt(_0x2955e4(0x8d))/0xa)+-parseInt(_0x2955e4(0x95))/0xb*(-parseInt(_0x2955e4(0x8e))/0xc);if(_0x590c2e===_0x3f9b14)break;else _0x4b842f['push'](_0x4b842f['shift']());}catch(_0x131fcc){_0x4b842f['push'](_0x4b842f['shift']());}}}(_0x42c1,0x38f1d));const e={'exchange-client':{'uploading':_0x2de5ba(0x9d),'uploadSuccess':_0x2de5ba(0xa0),'uploadSuccessTip':_0x2de5ba(0x9e),'downloading':_0x2de5ba(0x92),'downloadSuccess':_0x2de5ba(0x97),'unknownMistake':_0x2de5ba(0x8b),'networkError':_0x2de5ba(0x9c),'tooLarge':_0x2de5ba(0x96),'internalError':'Interná\x20neznáma\x20chyba','interrupt':'Sieťové\x20pripojenie\x20bolo\x20prerušené\x20a\x20nahrávanie\x20súboru\x20zlyhalo','fileTypeError':_0x2de5ba(0x98),'wait':_0x2de5ba(0x94),'cancel':_0x2de5ba(0x9b),'confirm':_0x2de5ba(0x8f),'uploadAgain':'Nahrať\x20znova'}};function _0x4667(_0x34d3f1,_0x3e054a){_0x34d3f1=_0x34d3f1-0x8a;const _0x42c108=_0x42c1();let _0x466757=_0x42c108[_0x34d3f1];return _0x466757;}module[_0x2de5ba(0x9a)]=e;
@@ -1 +1 @@
1
- const _0x4253b4=_0x197a;(function(_0x520951,_0x432cd9){const _0x183f9f=_0x197a,_0x322932=_0x520951();while(!![]){try{const _0x47581a=-parseInt(_0x183f9f(0x1f3))/0x1*(-parseInt(_0x183f9f(0x1fa))/0x2)+parseInt(_0x183f9f(0x1f7))/0x3+parseInt(_0x183f9f(0x203))/0x4*(-parseInt(_0x183f9f(0x1f6))/0x5)+-parseInt(_0x183f9f(0x1f5))/0x6*(parseInt(_0x183f9f(0x205))/0x7)+parseInt(_0x183f9f(0x1fe))/0x8+-parseInt(_0x183f9f(0x202))/0x9*(parseInt(_0x183f9f(0x1f8))/0xa)+parseInt(_0x183f9f(0x1fc))/0xb;if(_0x47581a===_0x432cd9)break;else _0x322932['push'](_0x322932['shift']());}catch(_0x120744){_0x322932['push'](_0x322932['shift']());}}}(_0x430f,0x7a3a9));function _0x197a(_0x5166a6,_0x5a5bba){_0x5166a6=_0x5166a6-0x1f2;const _0x430ff4=_0x430f();let _0x197a2a=_0x430ff4[_0x5166a6];return _0x197a2a;}const e={'exchange-client':{'uploading':_0x4253b4(0x1fb),'uploadSuccess':_0x4253b4(0x200),'uploadSuccessTip':_0x4253b4(0x207),'downloading':_0x4253b4(0x1f2),'downloadSuccess':_0x4253b4(0x1ff),'unknownMistake':'Lỗi\x20không\x20xác\x20định','networkError':_0x4253b4(0x201),'tooLarge':'Luồng\x20dữ\x20liệu\x20quá\x20lớn','internalError':'Lỗi\x20không\x20xác\x20định\x20bên\x20trong','interrupt':_0x4253b4(0x1fd),'fileTypeError':_0x4253b4(0x1f9),'wait':_0x4253b4(0x204),'cancel':_0x4253b4(0x208),'uploadAgain':_0x4253b4(0x206)}};function _0x430f(){const _0x5b6b47=['3001400MwKHso','Tải\x20xuống\x20thành\x20công','Tải\x20lên\x20tệp\x20thành\x20công','Lỗi\x20mạng','23391cYAAcU','1092AxcTDY','Vui\x20lòng\x20đợi...','9807iHDGgk','Tải\x20lên\x20lại','{0}\x20tệp\x20đã\x20được\x20tải\x20lên\x20thành\x20công','Hủy\x20bỏ','Đang\x20tải\x20xuống','455WixkVR','exports','2382YNgGaj','12670dMZlxJ','491226PLnuxu','1210pSwRhu','Tệp\x20được\x20chọn\x20[{0}]\x20không\x20được\x20hỗ\x20trợ\x20để\x20tải\x20lên','126mTMgIv','Đang\x20tải\x20lên','16450775EcWlWF','Kết\x20nối\x20mạng\x20bị\x20gián\x20đoạn,\x20tải\x20lên\x20tệp\x20thất\x20bại'];_0x430f=function(){return _0x5b6b47;};return _0x430f();}module[_0x4253b4(0x1f4)]=e;
1
+ const _0x29d12b=_0x2d0b;function _0x5031(){const _0x38e899=['13443419MjHLRl','9ZoVmKo','Lỗi\x20không\x20xác\x20định','4171016lgvtJM','Tải\x20lên\x20tệp\x20thành\x20công','{0}\x20tệp\x20đã\x20được\x20tải\x20lên\x20thành\x20công','Tải\x20lên\x20lại','3884846qWONCa','198wBGriv','114PrpeTb','27687RAzcKD','Lỗi\x20không\x20xác\x20định\x20bên\x20trong','Luồng\x20dữ\x20liệu\x20quá\x20lớn','356rOYqEr','14279hOwjcK','37665mNYxgJ','Đang\x20tải\x20lên','Tệp\x20được\x20chọn\x20[{0}]\x20không\x20được\x20hỗ\x20trợ\x20để\x20tải\x20lên','Lỗi\x20mạng','Hủy\x20bỏ','5245020IQmyyK','12WIAiPx'];_0x5031=function(){return _0x38e899;};return _0x5031();}function _0x2d0b(_0x3a7de4,_0x5e4bed){_0x3a7de4=_0x3a7de4-0xe4;const _0x503130=_0x5031();let _0x2d0ba9=_0x503130[_0x3a7de4];return _0x2d0ba9;}(function(_0x314dc2,_0x4250a2){const _0x2a131c=_0x2d0b,_0x84c4ef=_0x314dc2();while(!![]){try{const _0xd0905d=-parseInt(_0x2a131c(0xee))/0x1*(parseInt(_0x2a131c(0xe9))/0x2)+parseInt(_0x2a131c(0xea))/0x3*(parseInt(_0x2a131c(0xed))/0x4)+-parseInt(_0x2a131c(0xef))/0x5*(parseInt(_0x2a131c(0xe8))/0x6)+-parseInt(_0x2a131c(0xe7))/0x7+-parseInt(_0x2a131c(0xf9))/0x8*(parseInt(_0x2a131c(0xf7))/0x9)+parseInt(_0x2a131c(0xf4))/0xa+-parseInt(_0x2a131c(0xf6))/0xb*(-parseInt(_0x2a131c(0xf5))/0xc);if(_0xd0905d===_0x4250a2)break;else _0x84c4ef['push'](_0x84c4ef['shift']());}catch(_0xb9688b){_0x84c4ef['push'](_0x84c4ef['shift']());}}}(_0x5031,0x68c6d));const e={'exchange-client':{'uploading':_0x29d12b(0xf0),'uploadSuccess':_0x29d12b(0xe4),'uploadSuccessTip':_0x29d12b(0xe5),'downloading':'Đang\x20tải\x20xuống','downloadSuccess':'Tải\x20xuống\x20thành\x20công','unknownMistake':_0x29d12b(0xf8),'networkError':_0x29d12b(0xf2),'tooLarge':_0x29d12b(0xec),'internalError':_0x29d12b(0xeb),'interrupt':'Kết\x20nối\x20mạng\x20bị\x20gián\x20đoạn,\x20tải\x20lên\x20tệp\x20thất\x20bại','fileTypeError':_0x29d12b(0xf1),'wait':'Vui\x20lòng\x20đợi...','cancel':_0x29d12b(0xf3),'confirm':'Xác\x20nhận','uploadAgain':_0x29d12b(0xe6)}};module['exports']=e;
@@ -1 +1 @@
1
- const _0x1f3ac0=_0x58ab;function _0x3261(){const _0x1b4be5=['4466700Hgnvdy','数据流过大','下载成功','1682qeSaPk','627501agmwPa','请稍等...','内部未知错误','3262165enFboC','所选文件\x20[{0}]\x20不支持上传','2346174PIFFdW','网络连接中断,文件上传失败','上传中','923nINtUi','exports','网络异常','下载中','48bzFFDs','再次上传','2283096FmVAWw','未知错误','1969412WluHBt'];_0x3261=function(){return _0x1b4be5;};return _0x3261();}function _0x58ab(_0x310538,_0x2576a4){_0x310538=_0x310538-0x8d;const _0x326146=_0x3261();let _0x58ab2b=_0x326146[_0x310538];return _0x58ab2b;}(function(_0x13cb02,_0x8dd24f){const _0x3da354=_0x58ab,_0x5c7ef6=_0x13cb02();while(!![]){try{const _0x5df258=-parseInt(_0x3da354(0x9e))/0x1*(parseInt(_0x3da354(0x95))/0x2)+-parseInt(_0x3da354(0x8f))/0x3+parseInt(_0x3da354(0x91))/0x4+parseInt(_0x3da354(0x99))/0x5+-parseInt(_0x3da354(0x92))/0x6+parseInt(_0x3da354(0x96))/0x7+-parseInt(_0x3da354(0x8d))/0x8*(-parseInt(_0x3da354(0x9b))/0x9);if(_0x5df258===_0x8dd24f)break;else _0x5c7ef6['push'](_0x5c7ef6['shift']());}catch(_0x427fdf){_0x5c7ef6['push'](_0x5c7ef6['shift']());}}}(_0x3261,0x7e2d4));const e={'exchange-client':{'uploading':_0x1f3ac0(0x9d),'uploadSuccess':'文件上传成功','uploadSuccessTip':'{0}个文件上传成功','downloading':_0x1f3ac0(0xa1),'downloadSuccess':_0x1f3ac0(0x94),'unknownMistake':_0x1f3ac0(0x90),'networkError':_0x1f3ac0(0xa0),'tooLarge':_0x1f3ac0(0x93),'internalError':_0x1f3ac0(0x98),'interrupt':_0x1f3ac0(0x9c),'fileTypeError':_0x1f3ac0(0x9a),'wait':_0x1f3ac0(0x97),'cancel':'取消','uploadAgain':_0x1f3ac0(0x8e)}};module[_0x1f3ac0(0x9f)]=e;
1
+ function _0x397e(_0x2c4045,_0xe01fc4){_0x2c4045=_0x2c4045-0x177;const _0x102822=_0x1028();let _0x397eab=_0x102822[_0x2c4045];return _0x397eab;}const _0x28e332=_0x397e;(function(_0x5643ca,_0x9fac1){const _0x186f49=_0x397e,_0x439bac=_0x5643ca();while(!![]){try{const _0xb8a725=parseInt(_0x186f49(0x17b))/0x1*(-parseInt(_0x186f49(0x187))/0x2)+parseInt(_0x186f49(0x183))/0x3*(-parseInt(_0x186f49(0x18b))/0x4)+parseInt(_0x186f49(0x177))/0x5+parseInt(_0x186f49(0x17f))/0x6+parseInt(_0x186f49(0x189))/0x7+parseInt(_0x186f49(0x185))/0x8+-parseInt(_0x186f49(0x186))/0x9;if(_0xb8a725===_0x9fac1)break;else _0x439bac['push'](_0x439bac['shift']());}catch(_0x57a21d){_0x439bac['push'](_0x439bac['shift']());}}}(_0x1028,0xd8c4c));const e={'exchange-client':{'uploading':_0x28e332(0x17c),'uploadSuccess':'文件上传成功','uploadSuccessTip':_0x28e332(0x179),'downloading':'下载中','downloadSuccess':_0x28e332(0x17d),'unknownMistake':_0x28e332(0x18a),'networkError':_0x28e332(0x184),'tooLarge':_0x28e332(0x17a),'internalError':_0x28e332(0x182),'interrupt':_0x28e332(0x180),'fileTypeError':_0x28e332(0x188),'wait':_0x28e332(0x178),'cancel':'取消','confirm':'确认','uploadAgain':_0x28e332(0x17e)}};function _0x1028(){const _0x52631f=['2tNUwVZ','所选文件\x20[{0}]\x20不支持上传','5970055uuIenH','未知错误','1272860LtRazv','3284230GSEKgD','请稍等...','{0}个文件上传成功','数据流过大','344663byafzx','上传中','下载成功','再次上传','7050648VQgECL','网络连接中断,文件上传失败','exports','内部未知错误','3BYnKNp','网络异常','607888dtxENR','10890387nsFoeH'];_0x1028=function(){return _0x52631f;};return _0x1028();}module[_0x28e332(0x181)]=e;
@@ -1 +1 @@
1
- const _0x20ec3e=_0x566f;(function(_0x58c873,_0x23f6f8){const _0x576cbc=_0x566f,_0x203c84=_0x58c873();while(!![]){try{const _0x3b9384=parseInt(_0x576cbc(0x183))/0x1*(parseInt(_0x576cbc(0x18a))/0x2)+-parseInt(_0x576cbc(0x182))/0x3*(parseInt(_0x576cbc(0x18e))/0x4)+parseInt(_0x576cbc(0x18d))/0x5+parseInt(_0x576cbc(0x17d))/0x6*(parseInt(_0x576cbc(0x187))/0x7)+-parseInt(_0x576cbc(0x191))/0x8+-parseInt(_0x576cbc(0x184))/0x9+parseInt(_0x576cbc(0x190))/0xa*(parseInt(_0x576cbc(0x17f))/0xb);if(_0x3b9384===_0x23f6f8)break;else _0x203c84['push'](_0x203c84['shift']());}catch(_0xc2389d){_0x203c84['push'](_0x203c84['shift']());}}}(_0x1065,0xbf16b));const e={'exchange-client':{'uploading':_0x20ec3e(0x18b),'uploadSuccess':'檔案上傳成功','uploadSuccessTip':_0x20ec3e(0x189),'downloading':'下載中','downloadSuccess':_0x20ec3e(0x17e),'unknownMistake':_0x20ec3e(0x181),'networkError':_0x20ec3e(0x188),'tooLarge':_0x20ec3e(0x18c),'internalError':'內部未知錯誤','interrupt':_0x20ec3e(0x186),'fileTypeError':_0x20ec3e(0x18f),'wait':_0x20ec3e(0x185),'cancel':'取消','uploadAgain':_0x20ec3e(0x192)}};module[_0x20ec3e(0x180)]=e;function _0x566f(_0x1e794d,_0x2f06de){_0x1e794d=_0x1e794d-0x17d;const _0x106570=_0x1065();let _0x566f97=_0x106570[_0x1e794d];return _0x566f97;}function _0x1065(){const _0x3e2c95=['22RTACHW','exports','未知錯誤','903kBMHHk','4FKFZSB','9715869JWaelV','請稍等...','網絡連線中斷,檔案上傳失敗','119pfmTyZ','網絡異常','{0}個檔案上傳成功','701666lqfgPc','上傳中','資料流過大','7107690JfXMKm','5848YcCqkg','所選檔案\x20[{0}]\x20不支援上傳','2130910cNskiO','11649464acuMeF','再次上傳','179094VsxqjX','下載成功'];_0x1065=function(){return _0x3e2c95;};return _0x1065();}
1
+ const _0x56b73e=_0x4693;(function(_0x5c76f5,_0x5bed87){const _0x2f915e=_0x4693,_0x2ed8ee=_0x5c76f5();while(!![]){try{const _0x59899b=parseInt(_0x2f915e(0x6f))/0x1*(parseInt(_0x2f915e(0x71))/0x2)+-parseInt(_0x2f915e(0x75))/0x3*(-parseInt(_0x2f915e(0x6c))/0x4)+parseInt(_0x2f915e(0x6d))/0x5+-parseInt(_0x2f915e(0x7a))/0x6*(-parseInt(_0x2f915e(0x7e))/0x7)+parseInt(_0x2f915e(0x81))/0x8+parseInt(_0x2f915e(0x76))/0x9+parseInt(_0x2f915e(0x73))/0xa*(-parseInt(_0x2f915e(0x74))/0xb);if(_0x59899b===_0x5bed87)break;else _0x2ed8ee['push'](_0x2ed8ee['shift']());}catch(_0x1ca657){_0x2ed8ee['push'](_0x2ed8ee['shift']());}}}(_0xed53,0xb8a31));function _0x4693(_0x16f1b3,_0x386f68){_0x16f1b3=_0x16f1b3-0x6c;const _0xed535b=_0xed53();let _0x46934f=_0xed535b[_0x16f1b3];return _0x46934f;}const e={'exchange-client':{'uploading':_0x56b73e(0x6e),'uploadSuccess':_0x56b73e(0x82),'uploadSuccessTip':_0x56b73e(0x7c),'downloading':_0x56b73e(0x7f),'downloadSuccess':_0x56b73e(0x79),'unknownMistake':'未知錯誤','networkError':'網絡異常','tooLarge':_0x56b73e(0x70),'internalError':_0x56b73e(0x80),'interrupt':_0x56b73e(0x72),'fileTypeError':_0x56b73e(0x77),'wait':_0x56b73e(0x7b),'cancel':'取消','confirm':'確認','uploadAgain':_0x56b73e(0x78)}};function _0xed53(){const _0x1263a7=['下載中','內部未知錯誤','5755280qCoIfV','檔案上傳成功','64kzunHB','7092895uYzKfZ','上傳中','5TaEJrR','資料流過大','589542dchtHF','網絡連線中斷,檔案上傳失敗','15501950mSTnOz','44VvXWnV','172749uDdCSr','10080333kWTeFP','所選檔案\x20[{0}]\x20不支援上傳','再次上傳','下載成功','852NAWifB','請稍等...','{0}個檔案上傳成功','exports','64274oZXAxx'];_0xed53=function(){return _0x1263a7;};return _0xed53();}module[_0x56b73e(0x7d)]=e;
@@ -1 +1 @@
1
- const _0x22ec01=_0xab35;(function(_0x1753ea,_0x4100ec){const _0x3e3fcc=_0xab35,_0x19990=_0x1753ea();while(!![]){try{const _0x1bcd65=-parseInt(_0x3e3fcc(0x11d))/0x1*(parseInt(_0x3e3fcc(0x12d))/0x2)+-parseInt(_0x3e3fcc(0x11e))/0x3+parseInt(_0x3e3fcc(0x129))/0x4*(-parseInt(_0x3e3fcc(0x12c))/0x5)+parseInt(_0x3e3fcc(0x120))/0x6+parseInt(_0x3e3fcc(0x12a))/0x7+parseInt(_0x3e3fcc(0x127))/0x8*(-parseInt(_0x3e3fcc(0x12f))/0x9)+parseInt(_0x3e3fcc(0x12e))/0xa;if(_0x1bcd65===_0x4100ec)break;else _0x19990['push'](_0x19990['shift']());}catch(_0x10e853){_0x19990['push'](_0x19990['shift']());}}}(_0x4666,0x79a90));const e={'exchange-client':{'uploading':_0x22ec01(0x122),'uploadSuccess':_0x22ec01(0x123),'uploadSuccessTip':_0x22ec01(0x126),'downloading':_0x22ec01(0x124),'downloadSuccess':_0x22ec01(0x121),'unknownMistake':_0x22ec01(0x11f),'networkError':'網路異常','tooLarge':'資料流過大','internalError':'內部未知錯誤','interrupt':'網路連線中斷,檔案上傳失敗','fileTypeError':_0x22ec01(0x128),'wait':_0x22ec01(0x125),'cancel':'取消','uploadAgain':_0x22ec01(0x130)}};module[_0x22ec01(0x12b)]=e;function _0xab35(_0x4b59f6,_0x3d3331){_0x4b59f6=_0x4b59f6-0x11d;const _0x46662e=_0x4666();let _0xab35e8=_0x46662e[_0x4b59f6];return _0xab35e8;}function _0x4666(){const _0x1e87cd=['2amDENI','14102700PwOTiT','219708YIehJc','再次上傳','557507KiUrrW','2324664WUagFT','未知錯誤','226086IPYIHL','下載成功','上傳中','檔案上傳成功','下載中','請稍等...','{0}個檔案上傳成功','32FEWGKY','所選檔案\x20[{0}]\x20不支援上傳','4ZVfBaD','6580700KSOXrz','exports','2298440SkKACq'];_0x4666=function(){return _0x1e87cd;};return _0x4666();}
1
+ const _0x3ecc2a=_0x2da7;function _0x2da7(_0x4d005f,_0x539323){_0x4d005f=_0x4d005f-0xd3;const _0x402a3c=_0x402a();let _0x2da7c4=_0x402a3c[_0x4d005f];return _0x2da7c4;}(function(_0x2d584f,_0x1f9525){const _0xcb19cd=_0x2da7,_0x2c0dbb=_0x2d584f();while(!![]){try{const _0x443e0a=-parseInt(_0xcb19cd(0xe5))/0x1+-parseInt(_0xcb19cd(0xe0))/0x2*(parseInt(_0xcb19cd(0xdd))/0x3)+-parseInt(_0xcb19cd(0xd5))/0x4+parseInt(_0xcb19cd(0xe2))/0x5*(parseInt(_0xcb19cd(0xe3))/0x6)+parseInt(_0xcb19cd(0xda))/0x7+-parseInt(_0xcb19cd(0xde))/0x8+parseInt(_0xcb19cd(0xe6))/0x9*(parseInt(_0xcb19cd(0xdc))/0xa);if(_0x443e0a===_0x1f9525)break;else _0x2c0dbb['push'](_0x2c0dbb['shift']());}catch(_0x5dd998){_0x2c0dbb['push'](_0x2c0dbb['shift']());}}}(_0x402a,0x39ef9));const e={'exchange-client':{'uploading':_0x3ecc2a(0xd8),'uploadSuccess':'檔案上傳成功','uploadSuccessTip':_0x3ecc2a(0xdb),'downloading':'下載中','downloadSuccess':_0x3ecc2a(0xd6),'unknownMistake':_0x3ecc2a(0xe1),'networkError':_0x3ecc2a(0xd7),'tooLarge':_0x3ecc2a(0xd9),'internalError':_0x3ecc2a(0xe4),'interrupt':'網路連線中斷,檔案上傳失敗','fileTypeError':_0x3ecc2a(0xd4),'wait':_0x3ecc2a(0xd3),'cancel':'取消','confirm':'確認','uploadAgain':_0x3ecc2a(0xdf)}};module['exports']=e;function _0x402a(){const _0x27d2c2=['18BovylM','內部未知錯誤','198862Oywqxa','5094963JsXDAN','請稍等...','所選檔案\x20[{0}]\x20不支援上傳','178680uEbHiD','下載成功','網路異常','上傳中','資料流過大','1083635TDdqaI','{0}個檔案上傳成功','10vEtonh','3mCowaP','502256CLMsYN','再次上傳','543616OUcWjk','未知錯誤','157525lZYfay'];_0x402a=function(){return _0x27d2c2;};return _0x402a();}
package/lib/es/facade.js CHANGED
@@ -1 +1 @@
1
- var _0x56fc14=_0x24d9;(function(_0x2378a1,_0x25820e){var _0x27b4ae=_0x24d9,_0x26330b=_0x2378a1();while(!![]){try{var _0x3eb287=parseInt(_0x27b4ae(0x121))/0x1*(parseInt(_0x27b4ae(0x111))/0x2)+-parseInt(_0x27b4ae(0x11a))/0x3*(parseInt(_0x27b4ae(0x11c))/0x4)+parseInt(_0x27b4ae(0x109))/0x5+parseInt(_0x27b4ae(0x10e))/0x6+-parseInt(_0x27b4ae(0x10c))/0x7*(-parseInt(_0x27b4ae(0x116))/0x8)+-parseInt(_0x27b4ae(0x115))/0x9*(parseInt(_0x27b4ae(0x106))/0xa)+parseInt(_0x27b4ae(0x118))/0xb;if(_0x3eb287===_0x25820e)break;else _0x26330b['push'](_0x26330b['shift']());}catch(_0x194277){_0x26330b['push'](_0x26330b['shift']());}}}(_0xd350,0xad96d));import{IExchangeService as _0x28c189}from'@univerjs-pro/exchange-client';import{UniverInstanceType as _0x2d688f}from'@univerjs/core';function _0xd350(){var _0x416cf6=['exportDOCXBySnapshotAsync','UNIVER_SHEET','UNIVER_DOC','importPPTXToUnitIdAsync','importPPTXToSnapshot','exportPPTXBySnapshot','130oVXhGE','exportXLSXBySnapshotAsync','exportPPTXByUnitId','1667170bxytCN','downloadFile','importPPTXToSnapshotAsync','35SSTCdx','get','125490PNNKHw','exportXLSXByUnitId','importXLSXToSnapshot','2jdVCLR','transformWorkbookDataToSnapshotJsonAsync','exportPPTXByUnitIdAsync','exportDOCXByUnitIdAsync','641655McJpeJ','483176bTXVRy','exportDOCXByUnitId','1886170cgePKG','exportXLSXBySnapshot','2181qDJyvv','importFileToUnitId','3192Etxuhg','exportDOCXBySnapshot','importDOCXToSnapshotAsync','transformSnapshotJsonToWorkbookData','importDOCXToUnitIdAsync','1390198lOZddm','_injector','transformSnapshotJsonToWorkbookDataAsync','UNIVER_SLIDE'];_0xd350=function(){return _0x416cf6;};return _0xd350();}function _0x24d9(_0x17ff38,_0x1dcb6f){_0x17ff38=_0x17ff38-0x103;var _0xd35042=_0xd350();var _0x24d968=_0xd35042[_0x17ff38];return _0x24d968;}import{FUniver as _0x87f6a}from'@univerjs/core/facade';var r=class extends _0x87f6a{[_0x56fc14(0x10a)](_0x44d9fe,_0x1a1107,_0x3382a1){var _0x1f5420=_0x56fc14;this['_injector'][_0x1f5420(0x10d)](_0x28c189)[_0x1f5420(0x10a)](_0x44d9fe,_0x1a1107,_0x3382a1);}async[_0x56fc14(0x123)](_0x3c5ddf){var _0x2b1113=_0x56fc14;return this['_injector'][_0x2b1113(0x10d)](_0x28c189)[_0x2b1113(0x11f)](_0x3c5ddf);}async[_0x56fc14(0x112)](_0x4306bc){var _0x275faf=_0x56fc14;return this[_0x275faf(0x122)][_0x275faf(0x10d)](_0x28c189)['transformWorkbookDataToSnapshotJson'](_0x4306bc);}async['importXLSXToUnitIdAsync'](_0x54c71c){var _0x230294=_0x56fc14;return this[_0x230294(0x122)]['get'](_0x28c189)[_0x230294(0x11b)](_0x54c71c,_0x2d688f[_0x230294(0x126)]);}async['importXLSXToSnapshotAsync'](_0x3ce04f){var _0x31b2c5=_0x56fc14;return this[_0x31b2c5(0x122)][_0x31b2c5(0x10d)](_0x28c189)[_0x31b2c5(0x110)](_0x3ce04f);}async['exportXLSXByUnitIdAsync'](_0x599aec){var _0x4ac91f=_0x56fc14;return this[_0x4ac91f(0x122)][_0x4ac91f(0x10d)](_0x28c189)[_0x4ac91f(0x10f)](_0x599aec);}async[_0x56fc14(0x107)](_0xffca6c){var _0x357961=_0x56fc14;return this[_0x357961(0x122)]['get'](_0x28c189)[_0x357961(0x119)](_0xffca6c);}async[_0x56fc14(0x120)](_0x4fa81c){var _0x4649a7=_0x56fc14;return this[_0x4649a7(0x122)][_0x4649a7(0x10d)](_0x28c189)['importFileToUnitId'](_0x4fa81c,_0x2d688f[_0x4649a7(0x127)]);}async[_0x56fc14(0x11e)](_0x49234f){var _0x16eae6=_0x56fc14;return this[_0x16eae6(0x122)]['get'](_0x28c189)['importDOCXToSnapshot'](_0x49234f);}async[_0x56fc14(0x125)](_0x28b118){var _0x6c722a=_0x56fc14;return this['_injector'][_0x6c722a(0x10d)](_0x28c189)[_0x6c722a(0x11d)](_0x28b118);}async[_0x56fc14(0x114)](_0x16e2d9){var _0x3d32f2=_0x56fc14;return this['_injector'][_0x3d32f2(0x10d)](_0x28c189)[_0x3d32f2(0x117)](_0x16e2d9);}async[_0x56fc14(0x103)](_0x3e0ff3){var _0x4ca536=_0x56fc14;return this[_0x4ca536(0x122)][_0x4ca536(0x10d)](_0x28c189)['importFileToUnitId'](_0x3e0ff3,_0x2d688f[_0x4ca536(0x124)]);}async[_0x56fc14(0x10b)](_0x2057b8){var _0x227378=_0x56fc14;return this[_0x227378(0x122)]['get'](_0x28c189)[_0x227378(0x104)](_0x2057b8);}async[_0x56fc14(0x113)](_0x5a3d64){var _0x11b2d2=_0x56fc14;return this[_0x11b2d2(0x122)]['get'](_0x28c189)[_0x11b2d2(0x108)](_0x5a3d64);}async['exportPPTXBySnapshotAsync'](_0x2b722e){var _0x1b0d17=_0x56fc14;return this['_injector'][_0x1b0d17(0x10d)](_0x28c189)[_0x1b0d17(0x105)](_0x2b722e);}};_0x87f6a['extend'](r);export{};
1
+ (function(_0x3cb5ae,_0x5ee1e3){var _0x2c5eba=_0x1820,_0x1f5f8f=_0x3cb5ae();while(!![]){try{var _0x608b1e=parseInt(_0x2c5eba(0x125))/0x1+-parseInt(_0x2c5eba(0x12c))/0x2*(parseInt(_0x2c5eba(0x12a))/0x3)+-parseInt(_0x2c5eba(0x124))/0x4*(-parseInt(_0x2c5eba(0x121))/0x5)+parseInt(_0x2c5eba(0x127))/0x6*(parseInt(_0x2c5eba(0x129))/0x7)+-parseInt(_0x2c5eba(0x126))/0x8+parseInt(_0x2c5eba(0x12d))/0x9*(parseInt(_0x2c5eba(0x123))/0xa)+-parseInt(_0x2c5eba(0x122))/0xb;if(_0x608b1e===_0x5ee1e3)break;else _0x1f5f8f['push'](_0x1f5f8f['shift']());}catch(_0x19a34b){_0x1f5f8f['push'](_0x1f5f8f['shift']());}}}(_0x1953,0xe5493));import{IExchangeService as _0x4d0779}from'@univerjs-pro/exchange-client';import{FUniver as _0x250a4d}from'@univerjs/core/facade';function _0x1953(){var _0x4fb50d=['2802807TqzdRT','8065roXMIC','1038279dBeVkl','20ZTRXUZ','4036BBGymP','368824NOslEc','5598120wHdECc','2766MXXlFf','_injector','6573QPkfhc','3561HZZHYO','downloadFile','2222ZLNSFb'];_0x1953=function(){return _0x4fb50d;};return _0x1953();}var n=class extends _0x250a4d{['downloadFile'](_0x591215,_0x30b5ab,_0x9a9b09){var _0x8acf8d=_0x1820;this[_0x8acf8d(0x128)]['get'](_0x4d0779)[_0x8acf8d(0x12b)](_0x591215,_0x30b5ab,_0x9a9b09);}};_0x250a4d['extend'](n);function _0x1820(_0x3a6b27,_0x135fa0){_0x3a6b27=_0x3a6b27-0x121;var _0x195356=_0x1953();var _0x182043=_0x195356[_0x3a6b27];return _0x182043;}export{};
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x222254=_0x5ef7;(function(_0x18c733,_0x294b14){const _0xfa64fe=_0x5ef7,_0x4d6216=_0x18c733();while(!![]){try{const _0x1fbf8e=parseInt(_0xfa64fe(0x18d))/0x1*(-parseInt(_0xfa64fe(0x1be))/0x2)+parseInt(_0xfa64fe(0x169))/0x3*(-parseInt(_0xfa64fe(0x226))/0x4)+-parseInt(_0xfa64fe(0x159))/0x5+parseInt(_0xfa64fe(0x257))/0x6+parseInt(_0xfa64fe(0x161))/0x7*(-parseInt(_0xfa64fe(0x1a2))/0x8)+parseInt(_0xfa64fe(0x1ff))/0x9+parseInt(_0xfa64fe(0x1a4))/0xa;if(_0x1fbf8e===_0x294b14)break;else _0x4d6216['push'](_0x4d6216['shift']());}catch(_0x4bca76){_0x4d6216['push'](_0x4d6216['shift']());}}}(_0x4aac,0xcd30e));import{UniverLicensePlugin as _0x5101d5}from'@univerjs-pro/license';import{DependentOn as _0x478567,Disposable as _0x5b5c70,IConfigService as _0x55d0d4,ILogService as _0x4ed4b7,IResourceLoaderService as _0x56b3b9,IUniverInstanceService as _0x432a12,Inject as _0x412acd,Injector as _0x328aba,LocaleService as _0x51b184,Plugin as _0x2a7ab1,UniverInstanceType as _0x151766,createIdentifier as _0x18097c,merge as _0x17799a,registerDependencies as _0x27dbb6,resolveWithBasePath as _0xd7c7a9,toDisposable as _0x1e4bdd,touchDependencies as _0x4959dc}from'@univerjs/core';import{HTTPResponseError as _0xa14227,HTTPService as _0x2c82c0,UniverNetworkPlugin as _0x417308}from'@univerjs/network';import{BuiltInUIPart as _0x552673,IMessageService as _0x4f4a53,IUIPartsService as _0x37052e,IconManager as _0x3c6ba6,UniverUIPlugin as _0x35b6ef,connectInjector as _0x1d0427,useDependency as _0x1e3628,useObservable as _0x4079b5}from'@univerjs/ui';import{ClockIcon as _0xd88cde,CloseIcon as _0x5d7771,DirectExportIcon as _0x441350,DocsMultiIcon as _0x546a32,ErrorIcon as _0x4cd45e,ShareRangeIcon as _0x256f52,SheetsMultiIcon as _0x311260,SlidesMultiIcon as _0x5ce95e,SuccessIcon as _0x5ab502}from'@univerjs/icons';import{BehaviorSubject as _0x213ee6,Subject as _0x34e63b}from'rxjs';import{MessageType as _0x30a331,Tooltip as _0x1496db,clsx as _0x2c1e21,scrollbarClassName as _0x5223d9}from'@univerjs/design';import{jsx as _0x314104,jsxs as _0x525f8d}from'react/jsx-runtime';import{ErrorCode as _0x1889ed,FileSource as _0x5723fe}from'@univerjs/protocol';import{SnapshotService as _0x1c35f5,b64DecodeUnicode as _0x3ca26b,b64EncodeUnicode as _0x117463,getSheetBlocksFromSnapshot as _0x5ca6b,textDecoder as _0x4d8b4a,textEncoder as _0x53514b,transformDocumentDataToSnapshot as _0x3600cc,transformPdfDataToSnapshot as _0x554ea5,transformSlideDataToSnapshot as _0x1b47d4,transformSnapshotToDocumentData as _0x1903a0,transformSnapshotToPdfData as _0x52625d,transformSnapshotToSlideData as _0x5f4b94,transformSnapshotToWorkbookData as _0x401a94,transformWorkbookDataToSnapshot as _0xc55962}from'@univerjs-pro/collaboration';import{deflateSync as _0xcd5c59}from'fflate';var Re=_0x222254(0x27b),ze='1.0.0-alpha.8';const T=_0x222254(0x1a7),E={};function D(_0x1ab5f3,_0x448d04){return function(_0x3d6e54,_0x22cbe5){_0x448d04(_0x3d6e54,_0x22cbe5,_0x1ab5f3);};}function O(_0x304c8b,_0xd4c64b,_0x34537d,_0x5ceef3){const _0x2f5137=_0x222254;var _0x11e5ab=arguments['length'],_0x3c7e33=_0x11e5ab<0x3?_0xd4c64b:_0x5ceef3===null?_0x5ceef3=Object[_0x2f5137(0x12c)](_0xd4c64b,_0x34537d):_0x5ceef3,_0x282807;if(typeof Reflect==_0x2f5137(0x21e)&&typeof Reflect[_0x2f5137(0x281)]==_0x2f5137(0x1d5))_0x3c7e33=Reflect[_0x2f5137(0x281)](_0x304c8b,_0xd4c64b,_0x34537d,_0x5ceef3);else{for(var _0x422843=_0x304c8b[_0x2f5137(0x194)]-0x1;_0x422843>=0x0;_0x422843--)(_0x282807=_0x304c8b[_0x422843])&&(_0x3c7e33=(_0x11e5ab<0x3?_0x282807(_0x3c7e33):_0x11e5ab>0x3?_0x282807(_0xd4c64b,_0x34537d,_0x3c7e33):_0x282807(_0xd4c64b,_0x34537d))||_0x3c7e33);}return _0x11e5ab>0x3&&_0x3c7e33&&Object[_0x2f5137(0x18a)](_0xd4c64b,_0x34537d,_0x3c7e33),_0x3c7e33;}let k=class extends _0x5b5c70{constructor(_0x1dcfa9){const _0x5e087d=_0x222254;super(),this[_0x5e087d(0x155)]=_0x1dcfa9,this['_registerIcons']();}[_0x222254(0x1a8)](){const _0x19330a=_0x222254;this[_0x19330a(0x237)](this[_0x19330a(0x155)][_0x19330a(0x1e5)]({'DirectExportIcon':_0x441350}));}};k=O([D(0x0,_0x412acd(_0x3c6ba6))],k);function A(_0x571b34){'@babel/helpers - typeof';const _0x11ead2=_0x222254;return A=typeof Symbol=='function'&&typeof Symbol[_0x11ead2(0x258)]==_0x11ead2(0x140)?function(_0x15ce47){return typeof _0x15ce47;}:function(_0xf39f6a){const _0x26ad05=_0x11ead2;return _0xf39f6a&&typeof Symbol==_0x26ad05(0x1d5)&&_0xf39f6a['constructor']===Symbol&&_0xf39f6a!==Symbol['prototype']?_0x26ad05(0x140):typeof _0xf39f6a;},A(_0x571b34);}function Be(_0x19e92f,_0x1ac037){const _0x48eed5=_0x222254;if(A(_0x19e92f)!='object'||!_0x19e92f)return _0x19e92f;var _0x544050=_0x19e92f[Symbol[_0x48eed5(0x211)]];if(_0x544050!==void 0x0){var _0x94066d=_0x544050[_0x48eed5(0x245)](_0x19e92f,_0x1ac037||_0x48eed5(0x265));if(A(_0x94066d)!=_0x48eed5(0x21e))return _0x94066d;throw TypeError(_0x48eed5(0x1ba));}return(_0x1ac037===_0x48eed5(0x27c)?String:Number)(_0x19e92f);}function Ve(_0x49647e){const _0x2933b7=_0x222254;var _0x3b409e=Be(_0x49647e,_0x2933b7(0x27c));return A(_0x3b409e)=='symbol'?_0x3b409e:_0x3b409e+'';}function j(_0x2037bf,_0x2e8d01,_0x55f5b4){const _0x14ba1e=_0x222254;return(_0x2e8d01=Ve(_0x2e8d01))in _0x2037bf?Object[_0x14ba1e(0x18a)](_0x2037bf,_0x2e8d01,{'value':_0x55f5b4,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2037bf[_0x2e8d01]=_0x55f5b4,_0x2037bf;}const M=_0x18097c(_0x222254(0x18b));var He=class extends _0x5b5c70{constructor(){const _0x6123fb=_0x222254;super(),j(this,'_visible$',new _0x34e63b()),j(this,_0x6123fb(0x266),new _0x34e63b()),j(this,_0x6123fb(0x186),new _0x34e63b()),j(this,'visible$',this[_0x6123fb(0x213)][_0x6123fb(0x239)]()),j(this,_0x6123fb(0x1c9),this['_state$'][_0x6123fb(0x239)]()),j(this,_0x6123fb(0x1bd),this['_list$'][_0x6123fb(0x239)]()),j(this,_0x6123fb(0x17c),[]);}[_0x222254(0x1f4)](){const _0x5f52e4=_0x222254;super[_0x5f52e4(0x1f4)](),this[_0x5f52e4(0x213)][_0x5f52e4(0x263)](),this[_0x5f52e4(0x266)][_0x5f52e4(0x263)](),this[_0x5f52e4(0x186)][_0x5f52e4(0x263)]();}[_0x222254(0x17f)](){const _0x427151=_0x222254;this[_0x427151(0x213)][_0x427151(0x138)](!0x0);}[_0x222254(0x22e)](){const _0x2e2646=_0x222254;this[_0x2e2646(0x213)][_0x2e2646(0x138)](!0x1);}[_0x222254(0x143)](_0x4e2043){const _0x5ce012=_0x222254;this[_0x5ce012(0x266)][_0x5ce012(0x138)](_0x4e2043);}[_0x222254(0x240)](_0x551e82){const _0x2e5cd4=_0x222254;this['_list'][_0x2e5cd4(0x27d)](_0x551e82),this[_0x2e5cd4(0x186)][_0x2e5cd4(0x138)](this[_0x2e5cd4(0x17c)]);}};function Ue(_0x12e54b){const _0xb2edaf=_0x222254;let {list:_0x9f2c35}=_0x12e54b;function _0x110140(_0x3e4690){switch(_0x3e4690){case 0x1:return _0x314104(_0x546a32,{});case 0x2:return _0x314104(_0x311260,{});case 0x3:return _0x314104(_0x5ce95e,{});default:return null;}}return _0x314104(_0xb2edaf(0x26d),{'className':_0x2c1e21(_0xb2edaf(0x1a9),_0x5223d9),'children':_0x314104('ul',{'className':_0xb2edaf(0x16a),'children':_0x9f2c35[_0xb2edaf(0x196)]((_0x340c1d,_0x57bae8)=>_0x314104('li',{'children':_0x525f8d('a',{'className':_0xb2edaf(0x174),'href':_0x340c1d[_0xb2edaf(0x183)],'target':_0xb2edaf(0x1e9),'rel':_0xb2edaf(0x20b),'children':[_0x525f8d(_0xb2edaf(0x269),{'className':'univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','children':[_0x314104(_0xb2edaf(0x269),{'className':_0xb2edaf(0x23c),'children':_0x110140(_0x340c1d[_0xb2edaf(0x15e)])}),_0x314104(_0x1496db,{'showIfEllipsis':!0x0,'title':_0x340c1d[_0xb2edaf(0x1b2)],'asChild':!0x0,'children':_0x314104(_0xb2edaf(0x269),{'className':_0xb2edaf(0x21c),'children':_0x340c1d['name']})})]}),_0x314104(_0xb2edaf(0x269),{'className':_0xb2edaf(0x1a6),'children':_0x314104(_0x256f52,{})})]})},_0x57bae8))})});}function _0x5ef7(_0x40e9c7,_0x15fbd7){_0x40e9c7=_0x40e9c7-0x125;const _0x4aacd2=_0x4aac();let _0x5ef77a=_0x4aacd2[_0x40e9c7];return _0x5ef77a;}const N=_0x222254(0x19e),P=_0x222254(0x273),F='application/vnd.ms-excel.sheet.macroEnabled.12',I=_0x222254(0x1b3),L=_0x222254(0x1d7),R='application/pdf',We={[_0x151766[_0x222254(0x270)]]:[''],[_0x151766[_0x222254(0x22d)]]:[N],[_0x151766[_0x222254(0x274)]]:[P,F,I],[_0x151766[_0x222254(0x1a3)]]:[L],[_0x151766[_0x222254(0x173)]]:[R],[_0x151766[_0x222254(0x200)]]:[''],[_0x151766[_0x222254(0x15c)]]:[''],[_0x151766['UNIVER_PROJECT']]:[''],[_0x151766[_0x222254(0x195)]]:['']},z={[N]:_0x222254(0x158),[P]:_0x222254(0x1f1),[F]:'xlsm',[I]:_0x222254(0x1b9),[L]:'pptx',[R]:_0x222254(0x1d0)};function Ge(_0x3b2b56,_0x587e4f,_0x4b328c){const _0x255f19=_0x222254;let _0x61a9a6=document[_0x255f19(0x1cf)]('a');_0x61a9a6['href']=_0x3b2b56,_0x61a9a6[_0x255f19(0x1e4)][_0x255f19(0x216)]='none',_0x61a9a6[_0x255f19(0x185)]=_0x587e4f+'.'+_0x4b328c,document['body'][_0x255f19(0x279)](_0x61a9a6),_0x61a9a6['click'](),document[_0x255f19(0x17e)]['removeChild'](_0x61a9a6);}function Ke(_0x257d85){const _0x3fd19c=_0x222254;let _0x14d71d=_0x257d85[_0x3fd19c(0x1b2)][_0x3fd19c(0x218)]('.')[_0x3fd19c(0x215)]();if(!_0x14d71d)return _0x151766['UNIVER_UNKNOWN'];let _0x697ded=qe(),_0x5ede55=_0x151766[_0x3fd19c(0x270)];return _0x697ded['some'](_0x2043e0=>Je(_0x14d71d,_0x2043e0)?(_0x5ede55=_0x2043e0,!0x0):!0x1),_0x5ede55;}function qe(){const _0x49dc8e=_0x222254;return Object['values'](_0x151766)[_0x49dc8e(0x167)](_0x258ff9=>typeof _0x258ff9==_0x49dc8e(0x24d));}function Je(_0x2d0cdb,_0x3675f6){const _0x519fcb=_0x222254;var _0x5e1725;return((_0x5e1725=We[_0x3675f6])==null?[]:_0x5e1725)['map'](_0x3b4540=>(z[_0x3b4540]||'')[_0x519fcb(0x1d3)]())[_0x519fcb(0x145)](_0x2d0cdb[_0x519fcb(0x1d3)]());}function B(_0x587e5d,_0x52be59=!0x1){const _0x1cbe57=_0x222254;let _0x36e04b=_0x587e5d[_0x1cbe57(0x196)](_0x4e3dfd=>{var _0x3ad7be;return(_0x3ad7be=We[_0x4e3dfd])==null?[]:_0x3ad7be;})[_0x1cbe57(0x125)](',');return new Promise(_0x42aa6a=>{const _0x137bcb=_0x1cbe57;let _0x52ee91=document[_0x137bcb(0x1cf)](_0x137bcb(0x255));_0x52ee91[_0x137bcb(0x15e)]=_0x137bcb(0x234),_0x52ee91[_0x137bcb(0x209)]=_0x36e04b,_0x52ee91[_0x137bcb(0x227)]=_0x52be59;let _0x441f12=()=>{const _0xb89435=_0x137bcb;var _0x374c13;return _0x42aa6a((_0x374c13=_0x52ee91['files'])!=null&&_0x374c13[_0xb89435(0x194)]?_0x52ee91[_0xb89435(0x18e)]:null);};_0x52ee91['addEventListener'](_0x137bcb(0x23e),_0x441f12,{'once':!0x0}),_0x52ee91[_0x137bcb(0x25b)](_0x137bcb(0x1e7),_0x441f12,{'once':!0x0}),_0x52ee91[_0x137bcb(0x259)]();});}async function V(_0x32801a,_0x505fb1){const _0x12ce15=_0x222254;try{var _0x4fc690,_0x479561,_0x2db3f5;let _0x36d661=await _0x505fb1[_0x12ce15(0x197)](_0x32801a,{'responseType':_0x12ce15(0x166)}),_0x1cd9f0=_0x36d661[_0x12ce15(0x17e)],_0x254a64=(_0x4fc690=(_0x479561=_0x36d661[_0x12ce15(0x149)][_0x12ce15(0x197)]('Content-Type'))==null?void 0x0:_0x479561[_0x12ce15(0x125)](',\x20'))==null?_0x12ce15(0x180):_0x4fc690,_0x247fa4='file.'+(z[_0x254a64]||_0x12ce15(0x1f1)),_0x879679=(_0x2db3f5=_0x36d661[_0x12ce15(0x149)][_0x12ce15(0x197)]('content-disposition'))==null?void 0x0:_0x2db3f5['join'](',\x20');if(_0x879679){let _0x22e291=_0x879679['match'](/filename=(.+)/);_0x22e291&&_0x22e291[0x1]&&(_0x247fa4=_0x22e291[0x1]);}else _0x247fa4=Ye(_0x32801a)||_0x247fa4;return new File([_0x1cd9f0],_0x247fa4,{'type':_0x254a64});}catch(_0xcc0291){console[_0x12ce15(0x22f)](_0x12ce15(0x141),_0xcc0291);return;}}function Ye(_0x1163e1){const _0x4c9977=_0x222254;try{return new URL(_0x1163e1)[_0x4c9977(0x19c)][_0x4c9977(0x218)]('/')[_0x4c9977(0x215)]();}catch(_0x5073fc){console[_0x4c9977(0x22f)]('Error\x20getting\x20file\x20name\x20from\x20URL:',_0x5073fc);return;}}function Xe(_0x30f103){const _0x581687=_0x222254;let _0xa55534=new Blob([_0x30f103[_0x581687(0x267)]],{'type':_0x581687(0x1f7)});return new File([_0xa55534],'file.json');}function H(_0x4a35af,_0x37a558){const _0x54897a=_0x222254;return _0x4a35af[_0x54897a(0x222)](_0x54897a(0x248),_0x37a558);}function _0x4aac(){const _0x396d05=['workbook','511396VSJMmb','multiple','_clearProgress','getCurrentUnitOfType','ignoreTableExport','_showNetworkError','disableCellImageConversion','UNIVER_DOC','hide','error','univer-text-sm\x20univer-text-gray-500','UNDEFINED','clearTaskInterrupted','univer-mt-3\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-2\x20univer-pr-1','file','exportServerUrl','progress$','disposeWithMe','importServerUrl','asObservable','_getDownloadEndpointURL','_getUnitID','univer-flex\x20univer-h-5\x20univer-text-xl','encode','change','&source=','pushLink','Failed\x20to\x20parse\x20json','toString','Failed\x20to\x20get\x20fileID\x20from\x20task','/universer-api/stream/file/upload','call','_importTaskId','_upload','{type}','upload\x20failed:\x20missing\x20FileId\x20in\x20response','.json','Failed\x20to\x20transform\x20PDF\x20snapshot\x20to\x20string','resources','number','import\x20error','univer-fixed\x20univer-bottom-12\x20univer-right-3\x20univer-z-[1000]\x20univer-box-border\x20univer-flex\x20univer-w-[372px]\x20univer-flex-col\x20univer-rounded-md\x20univer-bg-white\x20univer-px-3\x20univer-pb-4\x20univer-pt-5\x20univer-shadow-md','workbook.json','INTERNAL_ERROR','_importFileToUnitId','exportDOCXBySnapshot','getSnapshot','input','snapshot','1189206bGcxpA','iterator','click','setConfig','addEventListener','decode','_requestService','uploadFileServerUrl','copyFileMeta','Info','done','append','complete','exchange-client.internalError','default','_state$','buffer','href','span','location','blockID','outputType','div','has','FileId','UNIVER_UNKNOWN','export\x20error','title','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','UNIVER_SHEET','univer-ml-1.5\x20univer-font-semibold\x20univer-text-gray-900\x20dark:!univer-text-white','_addDoneTask','_getUnitJson','createUnit','appendChild','size','@univerjs-pro/exchange-client','string','unshift','upload','registerLink','_getExportURL','decorate','join','_getMinSheetRowCount','import','data','upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url','catch','exportDOCXByUnitId','getOwnPropertyDescriptor','univer-pro.exchange-client.operate.service','_signUrl','block\x20is\x20required','updateSnapshot','interrupt','downloadFile','exchange-client.interrupt','_exportBySnapshot','minSheetColumnCount','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2','interruptImportTask','next','_refreshUnit','_resourceLoaderService','_buildProtocolErrorMessage','Method\x20not\x20implemented.','doc','importXLSXToSnapshot','{fileID}','symbol','Error\x20fetching\x20file\x20from\x20URL:','_uiPartsService','updateState','sign\x20url\x20error','includes','isArray','/universer-api/exchange/{type}/export','_showUploadMessage','headers','min','_progress$','_totalUploadTaskCount','_httpService','upload\x20failed:\x20FileId\x20is\x20empty','\x20is\x20currently\x20active.','exportXLSXByUnitId','button','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','saveChangeset','exchange-client.uploadAgain','_iconManager','keys','visible$','docx','7583305ooLeeP','statusText','_uploadTaskNotDone','UNIVER_BOARD','_registerUIParts','type','_buildHttpErrorMessage','exchange-client.downloadSuccess','2850589BOYHVe','exchange-client.networkError','trim','univer-text-green-500','options','blob','filter','set','12SqYOBD','univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','univer-pro.exchange-client.exchange.service','_addTotalCount','signUrlServerUrl','clear','setTaskInterrupted','exportPPTXByUnitId','_config','originalMeta','UNIVER_PDF','univer-flex\x20univer-justify-between\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-py-1\x20univer-text-gray-900\x20univer-no-underline\x20univer-outline-none\x20univer-transition-colors\x20hover:univer-bg-gray-200\x20dark:!univer-text-white\x20dark:hover:!univer-bg-gray-600','registerComponent','add','message','_doneUploadTaskCount','fetchMissingChangesets','revokeObjectURL','uploadFileToUnitId','_list','univer-mb-3\x20univer-py-0\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','body','show','application/octet-stream','getUnitId','univer-mt-5\x20univer-flex\x20univer-flex-col','link','exportPPTXBySnapshot','download','_list$','isUnitLoadedFromServer','saveUnit','floor','defineProperty','univer-pro.exchange-client.upload-notification.service','importPDFToUnitId','6567AZSRdX','files','UNIVER_EXCHANGE_CLIENT_PLUGIN','exchange-client.tooLarge','_requestState$','signUrl','exportXLSXBySnapshot','length','UNRECOGNIZED','map','get','transformSnapshotJsonToWorkbookData','getTaskServerUrl','sheets','pptx','pathname','_getTaskURL','application/vnd.openxmlformats-officedocument.wordprocessingml.document','exchange-client.uploadSuccessTip','/universer-api/file/{fileID}/sign-url','/universer-api/exchange/task/{taskID}','8vsJKec','UNIVER_SLIDE','26087000CUAVVP','minSheetRowCount','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','exchange-client.config','_registerIcons','univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden','getResourcesRequest','Warning','exchange-client.wait','searchParams','univer-pl-2\x20univer-pr-4','Failed\x20to\x20transform\x20snapshot\x20to\x20string','Failed\x20to\x20get\x20file\x20from\x20url','_injector','name','application/vnd.openxmlformats-officedocument.spreadsheetml.template','getTextFromUrl','Success','/universer-api/exchange/{type}/import','_logService','code','xltx','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','getDeserializedSheetBlock','importPDFToSnapshot','list$','110ZGicPc','univer-pro.exchange-client.request.service','Get\x20outputType\x20error','export','importDOCXToUnitId','Failed\x20to\x20get\x20jsonID\x20from\x20task','exportPDFBySnapshot','importFileToUnitId','_getUnitNameByType','stringify','_configService','state$','CONTENT','importFileToJson','importWorkbookDataToUnitId','No\x20unit\x20of\x20type\x20','importPPTXToSnapshot','createElement','pdf','_completeProgress','univer-h-7\x20univer-cursor-pointer\x20univer-select-none\x20univer-rounded-md\x20univer-border-0\x20univer-border-transparent\x20univer-bg-transparent\x20univer-px-2\x20univer-py-0\x20univer-text-sm\x20univer-text-primary-600\x20univer-transition-all\x20univer-duration-150\x20hover:univer-bg-primary-50','toLowerCase','univer-text-blue-500','function','_univerInstanceService','application/vnd.openxmlformats-officedocument.presentationml.presentation','_uploadNotificationService','onStarting','\x20-\x20','createObjectURL','saveSheetBlock','_fileTypeError','_getIgnoreTableExport','transformWorkbookDataToSnapshotJson','_emitProgress','parse','pluginName','_importToJson','style','register','importXLSXToUnitId','cancel','upload\x20request\x20failed','_blank',':\x20HTTP\x20','_getMinSheetColumnCount','_localeService','getUnitOnRev','post','rev','success','xlsx','_messageService','packageName','dispose','_getUploadFileURL','CONNECTOR_DATA_TOO_LARGE','application/json','_export','_getLinkByUnitId','exportPDFByUnitId','status','_getImportURL','text','{taskID}','7470270CalFaP','UNIVER_BASE','_showDownloadMessage','getUnitType','_getSignURL','getTask','Error','_extractErrorDetail','subscribe','Failed\x20to\x20get\x20unitID\x20from\x20task','accept','getConfig','noreferrer','importPPTXToUnitId','_exchangeService','importFileToUnitIdByCurrentType','getFocusedUnit','requestState$','toPrimitive','univer-flex','_visible$','origin','pop','display','shift','split','importDOCXToSnapshot','exchange-client.uploading','_sheetBlockCache','univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','saveSnapshot','object','taskID','getSheetBlock','_taskInterrupted','replace','univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','resolve'];_0x4aac=function(){return _0x396d05;};return _0x4aac();}function Ze(_0x252cdf,_0x5cc0e4){const _0x18a35c=_0x222254;return _0x252cdf[_0x18a35c(0x222)](_0x18a35c(0x1fe),_0x5cc0e4);}function Qe(_0x3bafa6,_0x5328e0){const _0x3980e9=_0x222254;return _0x3bafa6[_0x3980e9(0x222)](_0x3980e9(0x13f),_0x5328e0);}const U=_0x18097c(_0x222254(0x1bf));let W=class{constructor(_0x4c935d,_0x1af2a6){const _0x3d9bb7=_0x222254;this['_configService']=_0x4c935d,this[_0x3d9bb7(0x14d)]=_0x1af2a6,j(this,'_taskInterrupted',new Set());}['dispose'](){}[_0x222254(0x16f)](_0x28c085){const _0x27f278=_0x222254;this[_0x27f278(0x221)][_0x27f278(0x176)](_0x28c085);}[_0x222254(0x232)](){const _0x48d01d=_0x222254;this[_0x48d01d(0x221)][_0x48d01d(0x16e)]();}async['upload'](_0x4927d2,_0x13ffcc=0x0,_0x17cdbe=!0x1){const _0x1b9b6a=_0x222254;if(typeof _0x4927d2==_0x1b9b6a(0x27c)){let _0x10da8a=await V(_0x4927d2,this[_0x1b9b6a(0x14d)]);if(!_0x10da8a)throw Error(_0x1b9b6a(0x129));_0x4927d2=_0x10da8a;}_0x13ffcc=_0x13ffcc||_0x4927d2[_0x1b9b6a(0x27a)];let _0xceac8a=new FormData();_0xceac8a[_0x1b9b6a(0x262)]('file',_0x4927d2);try{let _0x33cb0c=this['_getUploadFileURL']()+'?size='+_0x13ffcc+_0x1b9b6a(0x23f)+_0x5723fe['HttpImport']+'&flate='+_0x17cdbe,_0x1e4157={'body':_0xceac8a},_0x1d5364=(await this[_0x1b9b6a(0x14d)][_0x1b9b6a(0x1ee)](_0x33cb0c,_0x1e4157))[_0x1b9b6a(0x17e)];if(_0x1d5364[_0x1b9b6a(0x22f)]&&_0x1d5364[_0x1b9b6a(0x22f)][_0x1b9b6a(0x1b8)]!==_0x1889ed['OK'])throw Error(this[_0x1b9b6a(0x13b)]('upload\x20request\x20failed',_0x1d5364[_0x1b9b6a(0x22f)]));return _0x1d5364;}catch(_0x50a654){throw _0x50a654 instanceof Error?_0x50a654:Error(this[_0x1b9b6a(0x15f)](_0x1b9b6a(0x1e8),_0x50a654));}}async[_0x222254(0x127)](_0x182b02){const _0x54de7c=_0x222254;let {fileID:_0x5e4a65,type:_0x44e2a4,outputType:_0x121907,minSheetColumnCount:_0x2776dc,minSheetRowCount:_0x56a390}=_0x182b02;try{let _0x234d1c=H(this[_0x54de7c(0x1fc)](),''+_0x44e2a4),_0x461e1e={'body':{'fileID':_0x5e4a65,'outputType':_0x121907,'minSheetColumnCount':_0x2776dc,'minSheetRowCount':_0x56a390}},_0x129fdc=(await this['_httpService'][_0x54de7c(0x1ee)](_0x234d1c,_0x461e1e))[_0x54de7c(0x17e)];return _0x129fdc[_0x54de7c(0x22f)]&&_0x129fdc[_0x54de7c(0x22f)][_0x54de7c(0x1b8)]!==_0x1889ed['OK']?void 0x0:_0x129fdc;}catch{return;}}async[_0x222254(0x1c1)](_0x176430){const _0x2a3adb=_0x222254;let {unitID:_0x8b9b6c,jsonID:_0x4cfd68,type:_0x37eefe,useImageUrl:_0x4a5434,ignoreTableExport:_0x5645bb}=_0x176430;try{let _0x13053a=H(this[_0x2a3adb(0x280)](),''+_0x37eefe),_0x25df7c={'body':{'unitID':_0x8b9b6c,'jsonID':_0x4cfd68,'type':_0x37eefe,'useImageUrl':_0x4a5434,'ignoreTableExport':_0x5645bb}},_0x1c0c1f=(await this[_0x2a3adb(0x14d)]['post'](_0x13053a,_0x25df7c))[_0x2a3adb(0x17e)];return _0x1c0c1f[_0x2a3adb(0x22f)]&&_0x1c0c1f[_0x2a3adb(0x22f)][_0x2a3adb(0x1b8)]!==_0x1889ed['OK']?void 0x0:_0x1c0c1f;}catch{return;}}async[_0x222254(0x204)](_0x6e3095){return new Promise((_0x179be5,_0x199d6a)=>{const _0x5bafed=_0x5ef7;try{let _0x242ae1=0x0,_0x16950d=Ze(this[_0x5bafed(0x19d)](),''+_0x6e3095),_0x52d283=this['_getMaxPollingTime'](),_0x58e309=async()=>{const _0x209056=_0x5bafed;if(this[_0x209056(0x221)][_0x209056(0x26e)](_0x6e3095))return;let _0x3db141=(await this[_0x209056(0x14d)][_0x209056(0x197)](_0x16950d))[_0x209056(0x17e)];if(_0x3db141['error']&&_0x3db141[_0x209056(0x22f)][_0x209056(0x1b8)]===_0x1889ed['OK']){if(_0x3db141[_0x209056(0x1fb)]===_0x209056(0x261))_0x179be5(_0x3db141);else{if(_0x3db141[_0x209056(0x1fb)]==='pending'){let _0x5b7786=0x3e8;if(_0x242ae1>=_0x52d283){_0x199d6a(_0x3db141);return;}else _0x242ae1>=0x7530&&(_0x5b7786=0x1388);_0x242ae1+=_0x5b7786,setTimeout(_0x58e309,_0x5b7786);}else _0x199d6a(_0x3db141);}}else _0x199d6a(_0x3db141);};_0x58e309();}catch(_0x363474){_0x199d6a(_0x363474 instanceof Error?_0x363474:Error(String(_0x363474)));}});}async[_0x222254(0x192)](_0x30610a){const _0x5c2da5=_0x222254;try{let _0x590681=Qe(this['_getSignURL'](),''+_0x30610a);return(await this['_httpService'][_0x5c2da5(0x197)](_0x590681))[_0x5c2da5(0x17e)];}catch{return;}}async[_0x222254(0x1b4)](_0x842383){const _0x2ea528=_0x222254;try{return(await this[_0x2ea528(0x14d)][_0x2ea528(0x197)](_0x842383,{'responseType':_0x2ea528(0x1fd)}))['body'];}catch{return;}}[_0x222254(0x13b)](_0x4aef2f,_0x4978a4){const _0x358cee=_0x222254;let _0x36f703=this[_0x358cee(0x206)](_0x4978a4);return _0x36f703?_0x4aef2f+':\x20'+_0x36f703:_0x4aef2f;}[_0x222254(0x15f)](_0x1f4780,_0x4637f4){const _0x41541a=_0x222254;if(_0x4637f4 instanceof _0xa14227){let _0x37351e=typeof _0x4637f4[_0x41541a(0x1fb)]=='number'?''+_0x4637f4[_0x41541a(0x1fb)]+(_0x4637f4[_0x41541a(0x15a)]?'\x20'+_0x4637f4[_0x41541a(0x15a)]:''):void 0x0,_0x1fb53e=this[_0x41541a(0x206)](_0x4637f4['error']);return _0x37351e&&_0x1fb53e?_0x1f4780+_0x41541a(0x1ea)+_0x37351e+_0x41541a(0x1da)+_0x1fb53e:_0x37351e?_0x1f4780+_0x41541a(0x1ea)+_0x37351e:_0x1fb53e?_0x1f4780+':\x20'+_0x1fb53e:_0x1f4780;}let _0x2fa076=this['_extractErrorDetail'](_0x4637f4);return _0x2fa076?_0x1f4780+':\x20'+_0x2fa076:_0x1f4780;}[_0x222254(0x206)](_0x2509f4){const _0x1b1a1f=_0x222254;if(typeof _0x2509f4=='string'){let _0x2dc1a5=_0x2509f4[_0x1b1a1f(0x163)]();return _0x2dc1a5[_0x1b1a1f(0x194)]>0x0?_0x2dc1a5:void 0x0;}if(_0x2509f4 instanceof Error)return this['_extractErrorDetail'](_0x2509f4[_0x1b1a1f(0x177)]);if(!_0x2509f4||typeof _0x2509f4!=_0x1b1a1f(0x21e)||Array[_0x1b1a1f(0x146)](_0x2509f4))return;let _0x578dc6=_0x2509f4,_0x21b4f4=this[_0x1b1a1f(0x206)](_0x578dc6['message']);if(_0x21b4f4)return _0x21b4f4;if(_0x578dc6[_0x1b1a1f(0x22f)]&&typeof _0x578dc6[_0x1b1a1f(0x22f)]==_0x1b1a1f(0x21e)&&!Array[_0x1b1a1f(0x146)](_0x578dc6[_0x1b1a1f(0x22f)])){let _0x258c13=this[_0x1b1a1f(0x206)](_0x578dc6[_0x1b1a1f(0x22f)]);if(_0x258c13)return _0x258c13;}}[_0x222254(0x1f5)](){const _0x2566f2=_0x222254;var _0x31f5bb;let _0x190fd7=this[_0x2566f2(0x1c8)][_0x2566f2(0x20a)](T);return(_0x31f5bb=_0x190fd7==null?void 0x0:_0x190fd7[_0x2566f2(0x25e)])==null?_0x2566f2(0x244):_0x31f5bb;}['_getImportURL'](){const _0x36d7d7=_0x222254;var _0x3fb027;let _0x5a74fb=this[_0x36d7d7(0x1c8)][_0x36d7d7(0x20a)](T);return(_0x3fb027=_0x5a74fb==null?void 0x0:_0x5a74fb[_0x36d7d7(0x238)])==null?_0x36d7d7(0x1b6):_0x3fb027;}[_0x222254(0x280)](){const _0x698297=_0x222254;var _0x1c5ccb;let _0x137e79=this[_0x698297(0x1c8)][_0x698297(0x20a)](T);return(_0x1c5ccb=_0x137e79==null?void 0x0:_0x137e79[_0x698297(0x235)])==null?_0x698297(0x147):_0x1c5ccb;}[_0x222254(0x19d)](){const _0x867ec8=_0x222254;var _0x4ea2dd;let _0x533f51=this[_0x867ec8(0x1c8)][_0x867ec8(0x20a)](T);return(_0x4ea2dd=_0x533f51==null?void 0x0:_0x533f51[_0x867ec8(0x199)])==null?_0x867ec8(0x1a1):_0x4ea2dd;}[_0x222254(0x203)](){const _0x4ccca2=_0x222254;var _0x735906;let _0x41e01e=this[_0x4ccca2(0x1c8)][_0x4ccca2(0x20a)](T);return(_0x735906=_0x41e01e==null?void 0x0:_0x41e01e[_0x4ccca2(0x16d)])==null?_0x4ccca2(0x1a0):_0x735906;}['_getMaxPollingTime'](){const _0xc3ef82=_0x222254;var _0x142db5;let _0x1e8e05=this[_0xc3ef82(0x1c8)]['getConfig'](T);return(_0x142db5=_0x1e8e05==null?void 0x0:_0x1e8e05['maxTimeoutTime'])==null?0x1d4c0:_0x142db5;}};W=O([D(0x0,_0x55d0d4),D(0x1,_0x412acd(_0x2c82c0))],W);function $e(_0x19c3d8){const _0x2529ef=_0x222254;let _0x47a427=_0x19c3d8[_0x2529ef(0x225)];if(!_0x47a427)return null;let _0x2bd480={};_0x47a427[_0x2529ef(0x19a)]&&Object[_0x2529ef(0x156)](_0x47a427[_0x2529ef(0x19a)])['forEach'](_0x316e71=>{const _0x59875a=_0x2529ef;let _0x5e83ad=_0x47a427[_0x59875a(0x19a)][_0x316e71];_0x2bd480[_0x316e71]={..._0x5e83ad,'originalMeta':_0x117463(_0x4d8b4a[_0x59875a(0x25c)](_0x5e83ad[_0x59875a(0x172)]))};});let _0x169ec0=_0x117463(_0x4d8b4a[_0x2529ef(0x25c)](_0x47a427[_0x2529ef(0x172)]));return{..._0x19c3d8,'workbook':{..._0x47a427,'originalMeta':_0x169ec0,'sheets':_0x2bd480},'doc':{},'slide':void 0x0,'board':void 0x0,'pdf':void 0x0};}function et(_0x1d668c){const _0x154277=_0x222254;let _0x528c5f=_0x1d668c[_0x154277(0x13d)];if(!_0x528c5f)return null;let _0x5a72fe=_0x117463(_0x4d8b4a[_0x154277(0x25c)](_0x528c5f[_0x154277(0x172)]));return{..._0x1d668c,'workbook':{},'doc':{..._0x528c5f,'originalMeta':_0x5a72fe},'slide':void 0x0,'board':void 0x0,'pdf':void 0x0};}function tt(_0x1e79be){const _0x334d4d=_0x222254;var _0x1ab161;let _0x2ae009=(_0x1ab161=_0x1e79be['slide'])==null?_0x1e79be[_0x334d4d(0x13d)]:_0x1ab161;if(!_0x2ae009)return null;let _0x531372=typeof _0x2ae009[_0x334d4d(0x172)]==_0x334d4d(0x27c)?_0x2ae009[_0x334d4d(0x172)]:_0x117463(_0x4d8b4a['decode'](_0x2ae009['originalMeta']));return{..._0x1e79be,'workbook':{},'doc':{},'slide':{..._0x2ae009,'originalMeta':_0x531372},'board':void 0x0,'pdf':void 0x0};}function nt(_0x46490c){const _0xad6577=_0x222254;let _0x134ec6=_0x46490c[_0xad6577(0x1d0)];if(!_0x134ec6)return null;let _0x2a0637=typeof _0x134ec6[_0xad6577(0x172)]=='string'?_0x134ec6[_0xad6577(0x172)]:_0x117463(_0x4d8b4a['decode'](_0x134ec6[_0xad6577(0x172)]));return{..._0x46490c,'workbook':{},'doc':{},'slide':void 0x0,'board':void 0x0,'pdf':{..._0x134ec6,'originalMeta':_0x2a0637}};}function rt(_0x16d54c){let _0x325242={};return _0x16d54c['forEach'](_0x11e7ff=>{const _0x4def20=_0x5ef7;_0x325242[_0x11e7ff['id']]={..._0x11e7ff,'data':_0x117463(_0x4d8b4a[_0x4def20(0x25c)](_0x11e7ff[_0x4def20(0x128)]))};}),_0x325242;}async function it(_0x97b738){const _0x3577e5=_0x222254;var _0x1df6bc;let _0xf5349e={'metadata':void 0x0},_0x4375c6=_0x97b738['id'],{snapshot:_0x14290a}=await _0x3600cc(_0xf5349e,_0x97b738,_0x4375c6,(_0x1df6bc=_0x97b738[_0x3577e5(0x1ef)])==null?0x0:_0x1df6bc,new G()),_0x2dccfa=et(_0x14290a);if(!_0x2dccfa)throw Error(_0x3577e5(0x1af));return{'snapshot':_0x2dccfa,'sheetBlocks':{}};}async function at(_0x77db18){const _0x33ed1f=_0x222254;var _0x58cae1;let _0x47b6d2=_0x77db18['id'],_0x1b442d=(_0x58cae1=_0x77db18[_0x33ed1f(0x1ef)])==null?0x0:_0x58cae1,_0x3e4f09=new G(),{snapshot:_0x549c11}=await _0x1b47d4(_0x77db18[_0x33ed1f(0x24c)],_0x77db18,_0x47b6d2,_0x1b442d,_0x3e4f09),_0x2358b4=tt(_0x549c11);if(!_0x2358b4)throw Error(_0x33ed1f(0x1af));return{'snapshot':_0x2358b4,'sheetBlocks':{}};}async function ot(_0x37b6f8){const _0x11e373=_0x222254;var _0x260a1f;let _0x51ebcd=new G(),{snapshot:_0x567980}=await _0x554ea5(_0x37b6f8,_0x37b6f8['id'],(_0x260a1f=_0x37b6f8[_0x11e373(0x1ef)])==null?0x0:_0x260a1f,_0x51ebcd),_0xc89fa0=nt(_0x567980);if(!_0xc89fa0)throw Error(_0x11e373(0x24b));return{'snapshot':_0xc89fa0,'sheetBlocks':{}};}function st(_0x3eb319){const _0x48cc40=_0x222254;let _0x14a990=_0x3eb319[_0x48cc40(0x256)];return _0x1903a0(_0x14a990);}function ct(_0x16ae57){let _0x55cca5=_0x16ae57['snapshot'];return _0x5f4b94(_0x55cca5);}function lt(_0x9b77ca){return _0x52625d(_0x9b77ca['snapshot']);}var G=class{constructor(){const _0xb42ee6=_0x222254;j(this,_0xb42ee6(0x21b),new Map());}[_0x222254(0x1ed)](){const _0x37fa4e=_0x222254;return Promise[_0x37fa4e(0x224)]({'snapshot':{'unitID':'','type':_0x151766[_0x37fa4e(0x274)],'rev':0x0,'workbook':void 0x0,'doc':void 0x0,'slide':void 0x0,'board':void 0x0},'changesets':[],'error':{'code':_0x1889ed['OK'],'message':''}});}[_0x222254(0x220)](_0x31de5c,_0x572433){const _0x29a727=_0x222254;let _0x17cdf5=this['_sheetBlockCache'][_0x29a727(0x197)](_0x572433[_0x29a727(0x26b)]);return Promise[_0x29a727(0x224)]({'block':_0x17cdf5,'error':{'code':_0x1889ed['OK'],'message':''}});}[_0x222254(0x1bb)](_0x3f5798,_0x1c85cc){const _0x46aa2d=_0x222254;let _0x41192c=this[_0x46aa2d(0x21b)][_0x46aa2d(0x197)](_0x1c85cc[_0x46aa2d(0x26b)]);return Promise['resolve']({'block':_0x41192c===void 0x0?void 0x0:{..._0x41192c,'data':JSON[_0x46aa2d(0x1e1)](_0x4d8b4a[_0x46aa2d(0x25c)](_0x41192c['data']))},'error':{'code':_0x1889ed['OK'],'message':''}});}[_0x222254(0x179)](){const _0x479a1e=_0x222254;return Promise[_0x479a1e(0x224)]({'changesets':[],'error':{'code':_0x1889ed['OK'],'message':''}});}[_0x222254(0x1aa)](){const _0x10eea2=_0x222254;return Promise[_0x10eea2(0x224)]({'resources':{},'error':{'code':_0x1889ed['OK'],'message':''}});}[_0x222254(0x21d)](){return Promise['resolve']({'error':{'code':_0x1889ed['OK'],'message':''}});}[_0x222254(0x130)](){const _0x1e9cda=_0x222254;return Promise[_0x1e9cda(0x224)]({'error':{'code':_0x1889ed['OK'],'message':''}});}[_0x222254(0x1dc)](_0x35510b,_0x332193){const _0x44df2e=_0x222254;let {block:_0x5d7483}=_0x332193;return _0x5d7483?(this[_0x44df2e(0x21b)][_0x44df2e(0x168)](_0x5d7483['id'],_0x5d7483),Promise[_0x44df2e(0x224)]({'error':{'code':_0x1889ed['OK'],'message':''},'blockID':_0x5d7483['id']})):Promise[_0x44df2e(0x224)]({'error':{'code':_0x1889ed[_0x44df2e(0x231)],'message':_0x44df2e(0x12f)},'blockID':''});}[_0x222254(0x153)](){return Promise['resolve']({'error':{'code':_0x1889ed['OK'],'message':''},'concurrent':[]});}[_0x222254(0x25f)](){const _0x4940be=_0x222254;return Promise[_0x4940be(0x224)]({'error':void 0x0,'fileMetaId':''});}['getLatestCsReqIdBySid'](){const _0x428f93=_0x222254;return Promise[_0x428f93(0x224)]({'error':void 0x0,'latestReqID':0x0});}};const K=_0x18097c(_0x222254(0x16b));let q=class extends _0x5b5c70{constructor(_0x4bb122,_0x54f6a7,_0xf75546){const _0x103669=_0x222254;super(),this[_0x103669(0x1c8)]=_0x4bb122,this[_0x103669(0x14d)]=_0x54f6a7,this[_0x103669(0x25d)]=_0xf75546,j(this,_0x103669(0x246),null),j(this,'_requestState$',new _0x34e63b()),j(this,_0x103669(0x210),this['_requestState$']['asObservable']());}[_0x222254(0x1f4)](){const _0x3bb15b=_0x222254;super['dispose'](),this[_0x3bb15b(0x191)][_0x3bb15b(0x263)]();}[_0x222254(0x132)](_0x300217,_0x2d43aa,_0x5878b9){const _0x22ddd8=_0x222254;let _0x2f848a=URL[_0x22ddd8(0x1db)](_0x300217);Ge(_0x2f848a,_0x2d43aa,_0x5878b9),URL[_0x22ddd8(0x17a)](_0x2f848a);}async[_0x222254(0x198)](_0x1057d4){const _0x36a0f8=_0x222254;let _0x10c1a6=_0x1057d4['snapshot'],_0x1e80a4=_0x1057d4['sheetBlocks']||{};return _0x401a94(_0x10c1a6,Object[_0x36a0f8(0x156)](_0x1e80a4)[_0x36a0f8(0x196)](_0x44aefa=>_0x1e80a4[_0x44aefa])[_0x36a0f8(0x196)](_0x1fed52=>({..._0x1fed52,'data':_0x1fed52[_0x36a0f8(0x128)]?JSON['parse'](_0x3ca26b(_0x1fed52['data'])):void 0x0})));}async[_0x222254(0x1df)](_0xa4ac){const _0x11acee=_0x222254;var _0x248752;let _0x19d398={'metadata':void 0x0},_0x1e3c44=_0xa4ac['id'],_0x25bf1a=(_0x248752=_0xa4ac[_0x11acee(0x1ef)])==null?0x0:_0x248752,_0x4bcecf=new G(),{snapshot:_0x191db6}=await _0xc55962(_0x19d398,_0xa4ac,_0x1e3c44,_0x25bf1a,_0x4bcecf),_0x3d54b8=await _0x5ca6b(_0x191db6,_0x4bcecf),_0x29f473=$e(_0x191db6);if(!_0x29f473)throw Error(_0x11acee(0x1af));return{'snapshot':_0x29f473,'sheetBlocks':rt(_0x3d54b8)};}async[_0x222254(0x219)](_0x30a075){const _0x28e9ef=_0x222254;let _0x9b4632=await this[_0x28e9ef(0x1cb)](_0x30a075,_0x151766[_0x28e9ef(0x22d)]);if(!_0x9b4632||!_0x9b4632[_0x28e9ef(0x256)])return;let _0x29175c=st(_0x9b4632);if(_0x29175c)return _0x29175c;}async[_0x222254(0x12b)](_0xb5b669){const _0x2365a2=_0x222254;return this[_0x2365a2(0x1f8)](_0xb5b669,0x1,_0x151766[_0x2365a2(0x22d)]);}async[_0x222254(0x253)](_0x389e7a){const _0x12b521=_0x222254;let _0x2efb7e=await it(_0x389e7a);return this[_0x12b521(0x134)](_0x2efb7e,_0x151766[_0x12b521(0x22d)]);}async['importPPTXToSnapshot'](_0x2a491f){const _0x1a97f9=_0x222254;let _0x3b51f6=await this[_0x1a97f9(0x1cb)](_0x2a491f,_0x151766[_0x1a97f9(0x1a3)]);if(!(!_0x3b51f6||!_0x3b51f6['snapshot']))return ct(_0x3b51f6);}async[_0x222254(0x170)](_0x4fce55){const _0x30e53a=_0x222254;return this[_0x30e53a(0x1f8)](_0x4fce55,0x1,_0x151766['UNIVER_SLIDE']);}async[_0x222254(0x184)](_0x2a317b){const _0x272c88=_0x222254;let _0xed3f05=await at(_0x2a317b);return this[_0x272c88(0x134)](_0xed3f05,_0x151766[_0x272c88(0x1a3)]);}async[_0x222254(0x1bc)](_0x4d1c23){const _0x5a9004=_0x222254;let _0x57d391=await this[_0x5a9004(0x1cb)](_0x4d1c23,_0x151766[_0x5a9004(0x173)]);if(_0x57d391!=null&&_0x57d391['snapshot'])return lt(_0x57d391);}async['exportPDFByUnitId'](_0x2e71b8){const _0x3f36f9=_0x222254;return this[_0x3f36f9(0x1f8)](_0x2e71b8,0x1,_0x151766[_0x3f36f9(0x173)]);}async[_0x222254(0x1c4)](_0x895315){const _0xd8ca99=_0x222254;let _0x36504f=await ot(_0x895315);return this[_0xd8ca99(0x134)](_0x36504f,_0x151766['UNIVER_PDF']);}async[_0x222254(0x13e)](_0x36af3e){const _0xe3a72a=_0x222254;let _0x504f29=await this[_0xe3a72a(0x1cb)](_0x36af3e,_0x151766[_0xe3a72a(0x274)]);if(!_0x504f29)return;let _0x332d8d=await this[_0xe3a72a(0x198)](_0x504f29);if(_0x332d8d)return _0x332d8d;}async[_0x222254(0x150)](_0x4fd373){const _0x26a9b7=_0x222254;return this[_0x26a9b7(0x1f8)](_0x4fd373,0x1,_0x151766['UNIVER_SHEET']);}async[_0x222254(0x193)](_0x5830b5){const _0x53eeb8=_0x222254;let _0x527df6=await this['transformWorkbookDataToSnapshotJson'](_0x5830b5);return this[_0x53eeb8(0x134)](_0x527df6,_0x151766[_0x53eeb8(0x274)]);}async[_0x222254(0x1c5)](_0x5e8b69,_0x46e62d){const _0x59ccfc=_0x222254;var _0x4012d6,_0x29b499;let _0xe4824f=await this['_upload'](_0x5e8b69);if(!_0xe4824f)return;let _0x3d2235=await this['_import'](_0xe4824f,0x1,_0x46e62d);if(!_0x3d2235)return;this['_importTaskId']=_0x3d2235,this[_0x59ccfc(0x25d)][_0x59ccfc(0x232)]();let _0x14b295=await this[_0x59ccfc(0x25d)]['getTask'](_0x3d2235)[_0x59ccfc(0x12a)](_0x322b19=>{const _0x49a70b=_0x59ccfc;var _0x173dc6;let _0x18f8b6=_0x322b19 instanceof Error?_0x322b19[_0x49a70b(0x177)]:(_0x173dc6=_0x322b19[_0x49a70b(0x22f)])==null?void 0x0:_0x173dc6[_0x49a70b(0x177)];this[_0x49a70b(0x191)]['next']({'error':{'code':_0x1889ed['UNRECOGNIZED'],'message':_0x18f8b6||''},'state':0x3});});if(!_0x14b295)return;let _0x4e3a56=(_0x4012d6=_0x14b295[_0x59ccfc(0x127)])==null?void 0x0:_0x4012d6['outputType'],_0x76fb2c=((_0x29b499=_0x14b295[_0x59ccfc(0x127)])==null?void 0x0:_0x29b499['unitID'])||'';if(_0x4e3a56!==0x1){this[_0x59ccfc(0x191)][_0x59ccfc(0x138)]({'error':{'code':_0x1889ed['UNRECOGNIZED'],'message':_0x59ccfc(0x1c0)},'state':0x3});return;}if(_0x76fb2c[_0x59ccfc(0x194)]===0x0){this[_0x59ccfc(0x191)]['next']({'error':{'code':_0x1889ed['UNRECOGNIZED'],'message':_0x59ccfc(0x208)},'state':0x3});return;}return this[_0x59ccfc(0x191)]['next']({'error':_0x14b295[_0x59ccfc(0x22f)],'state':0x3}),_0x76fb2c;}async[_0x222254(0x1cb)](_0xd008d,_0x4430c6){const _0x21d09b=_0x222254;return this[_0x21d09b(0x1e3)](_0xd008d,_0x4430c6);}async[_0x222254(0x1cc)](_0x20c22f){const _0x3524b1=_0x222254;let _0x3606c6=await this['transformWorkbookDataToSnapshotJson'](_0x20c22f),_0x17460c=typeof _0x20c22f['id']==_0x3524b1(0x27c)&&_0x20c22f['id'][_0x3524b1(0x163)]()?_0x20c22f['id'][_0x3524b1(0x163)]()+_0x3524b1(0x24a):_0x3524b1(0x250),_0x2018c1=new File([JSON['stringify'](_0x3606c6)],_0x17460c,{'type':_0x3524b1(0x1f7)});return this['importFileToUnitId'](_0x2018c1,_0x151766['UNIVER_SHEET']);}[_0x222254(0x137)](){const _0x49356b=_0x222254;this['_importTaskId']&&this[_0x49356b(0x25d)][_0x49356b(0x16f)](this[_0x49356b(0x246)]);}async[_0x222254(0x1e3)](_0x5ba3bc,_0x37a43b){const _0x7217e7=_0x222254;var _0x58a5df,_0x6daf41;let _0x47f81e=await this[_0x7217e7(0x247)](_0x5ba3bc);if(!_0x47f81e)return;let _0x550c6e=await this['_import'](_0x47f81e,0x2,_0x37a43b);if(!_0x550c6e)return;this[_0x7217e7(0x246)]=_0x550c6e,this['_requestService']['clearTaskInterrupted']();let _0x75f19f=await this[_0x7217e7(0x25d)][_0x7217e7(0x204)](_0x550c6e)['catch'](_0x7fb70b=>{const _0x4a7d4f=_0x7217e7;var _0x58669e;let _0x1910e1=_0x7fb70b instanceof Error?_0x7fb70b[_0x4a7d4f(0x177)]:(_0x58669e=_0x7fb70b['error'])==null?void 0x0:_0x58669e[_0x4a7d4f(0x177)];this[_0x4a7d4f(0x191)][_0x4a7d4f(0x138)]({'error':{'code':_0x1889ed[_0x4a7d4f(0x195)],'message':_0x1910e1||''},'state':0x3});});if(!_0x75f19f)return;let _0x1e2f5c=(_0x58a5df=_0x75f19f[_0x7217e7(0x127)])==null?void 0x0:_0x58a5df[_0x7217e7(0x26c)],_0x4c185c=((_0x6daf41=_0x75f19f['import'])==null?void 0x0:_0x6daf41['jsonID'])||'';if(_0x1e2f5c!==0x2){this[_0x7217e7(0x191)]['next']({'error':{'code':_0x1889ed[_0x7217e7(0x195)],'message':_0x7217e7(0x1c0)},'state':0x3});return;}if(_0x4c185c[_0x7217e7(0x194)]===0x0){this['_requestState$']['next']({'error':{'code':_0x1889ed[_0x7217e7(0x195)],'message':_0x7217e7(0x1c3)},'state':0x3});return;}this[_0x7217e7(0x191)]['next']({'error':_0x75f19f['error'],'state':0x3});let _0x2eea82=await this[_0x7217e7(0x12e)](_0x4c185c);if(!_0x2eea82)return;let _0x1e877e=await this[_0x7217e7(0x25d)][_0x7217e7(0x1b4)](_0x2eea82);if(!_0x1e877e){this[_0x7217e7(0x191)]['next']({'error':{'code':_0x1889ed['UNRECOGNIZED'],'message':'Failed\x20to\x20get\x20text\x20from\x20url'},'state':0x5});return;}try{let _0x1309e3=JSON[_0x7217e7(0x1e1)](_0x1e877e);return this[_0x7217e7(0x191)][_0x7217e7(0x138)]({'error':{'code':_0x1889ed['OK'],'message':'success'},'state':0x5}),_0x1309e3;}catch{this[_0x7217e7(0x191)][_0x7217e7(0x138)]({'error':{'code':_0x1889ed[_0x7217e7(0x195)],'message':_0x7217e7(0x241)},'state':0x5});}}async[_0x222254(0x134)](_0xae05a8,_0x1a1683){const _0x5ba9c7=_0x222254;let _0x4cf7db=JSON[_0x5ba9c7(0x1c7)](_0xae05a8),_0x1de25d=_0x53514b[_0x5ba9c7(0x23d)](_0x4cf7db),_0x3f6064=_0xcd5c59(_0x1de25d),_0x56ef2b=_0x1de25d['length'],_0x4585a7=Xe(_0x3f6064),_0xedbd4e=await this[_0x5ba9c7(0x247)](_0x4585a7,_0x56ef2b,!0x0);if(_0xedbd4e)return this[_0x5ba9c7(0x1f8)](_0xedbd4e,0x2,_0x1a1683);}async[_0x222254(0x1f8)](_0x1d3f5b,_0x5f816d,_0x285656){const _0x599207=_0x222254;var _0x52a01c;let _0x545a63=await this[_0x599207(0x25d)][_0x599207(0x1c1)]({'unitID':_0x5f816d===0x1?_0x1d3f5b:'','jsonID':_0x5f816d===0x2?_0x1d3f5b:'','type':_0x285656,'useImageUrl':this['_getDisableCellImageConversion'](),'ignoreTableExport':this[_0x599207(0x1de)]()});if(!_0x545a63){this[_0x599207(0x191)][_0x599207(0x138)]({'error':{'code':_0x1889ed[_0x599207(0x195)],'message':_0x599207(0x271)},'state':0x2});return;}if(this[_0x599207(0x191)]['next']({'error':_0x545a63[_0x599207(0x22f)],'state':0x2}),_0x545a63[_0x599207(0x22f)]&&_0x545a63[_0x599207(0x22f)][_0x599207(0x1b8)]!==_0x1889ed['OK'])return;let _0x3e97fc=_0x545a63[_0x599207(0x21f)],_0x3fc1ea=await this[_0x599207(0x25d)][_0x599207(0x204)](_0x3e97fc)[_0x599207(0x12a)](_0x5220b6=>{const _0x5ab29d=_0x599207;var _0x3a1ddb;let _0x8bed71=_0x5220b6 instanceof Error?_0x5220b6[_0x5ab29d(0x177)]:(_0x3a1ddb=_0x5220b6[_0x5ab29d(0x22f)])==null?void 0x0:_0x3a1ddb['message'];this[_0x5ab29d(0x191)][_0x5ab29d(0x138)]({'error':{'code':_0x1889ed[_0x5ab29d(0x195)],'message':_0x8bed71||''},'state':0x3});});if(!_0x3fc1ea)return;let _0x2a03d6=((_0x52a01c=_0x3fc1ea[_0x599207(0x1c1)])==null?void 0x0:_0x52a01c['fileID'])||'';if(_0x2a03d6[_0x599207(0x194)]===0x0){this['_requestState$'][_0x599207(0x138)]({'error':{'code':_0x1889ed[_0x599207(0x195)],'message':_0x599207(0x243)},'state':0x3});return;}this[_0x599207(0x191)][_0x599207(0x138)]({'error':_0x3fc1ea[_0x599207(0x22f)],'state':0x3});let _0x47d0ea=await this['_signUrl'](_0x2a03d6);if(!_0x47d0ea)return;let _0x2a1abb=await V(_0x47d0ea,this[_0x599207(0x14d)]);if(!_0x2a1abb){this[_0x599207(0x191)][_0x599207(0x138)]({'error':{'code':_0x1889ed['UNRECOGNIZED'],'message':_0x599207(0x1b0)},'state':0x6});return;}return this[_0x599207(0x191)][_0x599207(0x138)]({'error':{'code':_0x1889ed['OK'],'message':_0x599207(0x1f0)},'state':0x6}),_0x2a1abb;}async[_0x222254(0x247)](_0x522da0,_0x193c2f,_0xe478ff){const _0x478c67=_0x222254;let _0x46dfe7;try{_0x46dfe7=await this[_0x478c67(0x25d)][_0x478c67(0x27e)](_0x522da0,_0x193c2f,_0xe478ff);}catch(_0x4a7011){let _0x1b1607=_0x4a7011 instanceof Error?_0x4a7011[_0x478c67(0x177)]:String(_0x4a7011);this[_0x478c67(0x191)][_0x478c67(0x138)]({'error':{'code':_0x1889ed[_0x478c67(0x195)],'message':_0x1b1607},'state':0x0});return;}if(!_0x46dfe7||typeof _0x46dfe7[_0x478c67(0x26f)]!=_0x478c67(0x27c)){this[_0x478c67(0x191)]['next']({'error':{'code':_0x1889ed[_0x478c67(0x195)],'message':_0x478c67(0x249)},'state':0x0});return;}let _0x2a30e3=_0x46dfe7[_0x478c67(0x26f)];if(_0x2a30e3[_0x478c67(0x194)]===0x0){this[_0x478c67(0x191)][_0x478c67(0x138)]({'error':{'code':_0x1889ed[_0x478c67(0x195)],'message':_0x478c67(0x14e)},'state':0x0});return;}return this['_requestState$']['next']({'error':{'code':_0x1889ed['OK'],'message':'success'},'state':0x0}),_0x2a30e3;}async['_import'](_0x2d2b68,_0x457e11,_0x1f3e45){const _0x36c212=_0x222254;let _0x544694={'fileID':_0x2d2b68,'type':_0x1f3e45,'outputType':_0x457e11,'fileUrl':'','minSheetRowCount':this[_0x36c212(0x126)](),'minSheetColumnCount':this['_getMinSheetColumnCount']()},_0xd47a8e=await this[_0x36c212(0x25d)][_0x36c212(0x127)](_0x544694);if(!_0xd47a8e){this[_0x36c212(0x191)][_0x36c212(0x138)]({'error':{'code':_0x1889ed['UNRECOGNIZED'],'message':_0x36c212(0x24e)},'state':0x1});return;}if(_0xd47a8e[_0x36c212(0x22f)]&&_0xd47a8e[_0x36c212(0x22f)][_0x36c212(0x1b8)]!==_0x1889ed['OK']){this['_requestState$'][_0x36c212(0x138)]({'error':_0xd47a8e[_0x36c212(0x22f)],'state':0x1});return;}let _0x46eb41=_0xd47a8e[_0x36c212(0x21f)];if(_0x46eb41['length']===0x0){this['_requestState$'][_0x36c212(0x138)]({'error':{'code':_0x1889ed[_0x36c212(0x195)],'message':'Failed\x20to\x20get\x20taskID\x20from\x20import\x20response'},'state':0x1});return;}return this[_0x36c212(0x191)][_0x36c212(0x138)]({'error':_0xd47a8e[_0x36c212(0x22f)],'state':0x1}),_0x46eb41;}async['_signUrl'](_0x49d430){const _0x314544=_0x222254;let _0x58cb98=await this['_requestService']['signUrl'](_0x49d430);if(!_0x58cb98){this[_0x314544(0x191)][_0x314544(0x138)]({'error':{'code':_0x1889ed[_0x314544(0x195)],'message':_0x314544(0x144)},'state':0x4});return;}if(_0x58cb98[_0x314544(0x22f)]&&_0x58cb98[_0x314544(0x22f)]['code']!==_0x1889ed['OK']){this[_0x314544(0x191)][_0x314544(0x138)]({'error':_0x58cb98[_0x314544(0x22f)],'state':0x4});return;}let _0x57d284=_0xd7c7a9(_0x58cb98['url'],this[_0x314544(0x23a)]());if(_0x57d284['length']===0x0){this[_0x314544(0x191)][_0x314544(0x138)]({'error':{'code':_0x1889ed[_0x314544(0x195)],'message':_0x314544(0x144)},'state':0x4});return;}return this[_0x314544(0x191)]['next']({'error':_0x58cb98['error'],'state':0x4}),_0x57d284;}[_0x222254(0x23a)](){const _0x56c118=_0x222254;var _0x7123c6;let _0x2394bf=this['_configService'][_0x56c118(0x20a)](T);return(_0x7123c6=_0x2394bf==null?void 0x0:_0x2394bf['downloadEndpointUrl'])==null?location[_0x56c118(0x214)]:_0x7123c6;}[_0x222254(0x126)](){const _0xb5cced=_0x222254;var _0x3a6dff,_0x3c38ef;let _0x63e2d=this[_0xb5cced(0x1c8)][_0xb5cced(0x20a)](T);return(_0x3a6dff=_0x63e2d==null||(_0x3c38ef=_0x63e2d[_0xb5cced(0x165)])==null?void 0x0:_0x3c38ef[_0xb5cced(0x1a5)])==null?0x1:_0x3a6dff;}[_0x222254(0x1eb)](){const _0x45e171=_0x222254;var _0x44262f,_0x4e0d98;let _0xd5410a=this['_configService'][_0x45e171(0x20a)](T);return(_0x44262f=_0xd5410a==null||(_0x4e0d98=_0xd5410a[_0x45e171(0x165)])==null?void 0x0:_0x4e0d98[_0x45e171(0x135)])==null?0x1:_0x44262f;}['_getDisableCellImageConversion'](){const _0x1a9db6=_0x222254;var _0x5482bf,_0x25a435;let _0x39416d=this[_0x1a9db6(0x1c8)][_0x1a9db6(0x20a)](T);return(_0x5482bf=_0x39416d==null||(_0x25a435=_0x39416d[_0x1a9db6(0x165)])==null?void 0x0:_0x25a435[_0x1a9db6(0x22c)])==null||_0x5482bf;}[_0x222254(0x1de)](){const _0x23db99=_0x222254;var _0x351e51,_0x4e81f5;let _0x171604=this['_configService']['getConfig'](T);return(_0x351e51=_0x171604==null||(_0x4e81f5=_0x171604[_0x23db99(0x165)])==null?void 0x0:_0x4e81f5[_0x23db99(0x22a)])!=null&&_0x351e51;}};q=O([D(0x0,_0x55d0d4),D(0x1,_0x412acd(_0x2c82c0)),D(0x2,_0x412acd(U))],q);const ut={'done':0x0,'count':0x0},J=_0x18097c(_0x222254(0x12d));let Y=class extends _0x5b5c70{constructor(_0x58b087,_0x4e9704,_0x229fb4,_0x525982,_0x20f69a,_0x373528,_0x4ac9dd){const _0x4a19d9=_0x222254;super(),this[_0x4a19d9(0x1d6)]=_0x58b087,this[_0x4a19d9(0x1f2)]=_0x4e9704,this[_0x4a19d9(0x1ec)]=_0x229fb4,this[_0x4a19d9(0x20d)]=_0x525982,this[_0x4a19d9(0x1d8)]=_0x20f69a,this[_0x4a19d9(0x1b7)]=_0x373528,this['_resourceLoaderService']=_0x4ac9dd,j(this,_0x4a19d9(0x14b),new _0x213ee6(ut)),j(this,_0x4a19d9(0x236),this[_0x4a19d9(0x14b)]['asObservable']()),j(this,_0x4a19d9(0x14c),0x0),j(this,'_doneUploadTaskCount',0x0),this['disposeWithMe'](_0x1e4bdd(this['_exchangeService'][_0x4a19d9(0x210)][_0x4a19d9(0x207)](_0x2b2110=>{const _0x536c26=_0x4a19d9;var _0x12d468;((_0x12d468=_0x2b2110['error'])==null?void 0x0:_0x12d468[_0x536c26(0x1b8)])===_0x1889ed['OK']?this[_0x536c26(0x276)](0x1):this['_showNetworkError'](_0x2b2110[_0x536c26(0x22f)]);})));}[_0x222254(0x131)](){const _0x151814=_0x222254;this['_clearProgress'](),this['_uploadNotificationService'][_0x151814(0x143)](0x2),this[_0x151814(0x20d)][_0x151814(0x137)]();}async[_0x222254(0x1e6)](){const _0x50717d=_0x222254;if(this[_0x50717d(0x15b)]()){this[_0x50717d(0x1f2)][_0x50717d(0x17f)]({'type':_0x30a331[_0x50717d(0x1ab)],'content':this[_0x50717d(0x1ec)]['t'](_0x50717d(0x21a))});return;}let _0x5d5f37=await B([_0x151766['UNIVER_SHEET']]);if(_0x5d5f37&&!this[_0x50717d(0x1dd)](_0x5d5f37,_0x151766['UNIVER_SHEET']))return this['_importFileToUnitId'](_0x5d5f37[0x0],_0x151766[_0x50717d(0x274)]);}async['importXLSXToSnapshot'](){const _0x1338ad=_0x222254;if(this['_uploadTaskNotDone']()){this[_0x1338ad(0x1f2)][_0x1338ad(0x17f)]({'type':_0x30a331[_0x1338ad(0x1ab)],'content':this[_0x1338ad(0x1ec)]['t'](_0x1338ad(0x21a))});return;}let _0x4abee2=await B([_0x151766[_0x1338ad(0x274)]]);if(!_0x4abee2)return;this[_0x1338ad(0x148)](_0x30a331[_0x1338ad(0x260)]);let _0x93443b=await this[_0x1338ad(0x20d)]['importXLSXToSnapshot'](_0x4abee2[0x0]);_0x93443b&&(this[_0x1338ad(0x139)](_0x151766[_0x1338ad(0x274)],_0x93443b),this[_0x1338ad(0x148)](_0x30a331[_0x1338ad(0x1b5)]));}async[_0x222254(0x150)](_0x5f0283,_0x1fd63b){const _0x275dc9=_0x222254;this[_0x275dc9(0x201)](_0x30a331['Info']);let _0xab0d3f=await this[_0x275dc9(0x20d)]['exportXLSXByUnitId'](_0x5f0283||this[_0x275dc9(0x23b)](_0x151766['UNIVER_SHEET']));_0xab0d3f&&(this['_exchangeService']['downloadFile'](_0xab0d3f,_0x1fd63b||this[_0x275dc9(0x1c6)](_0xab0d3f,_0x151766['UNIVER_SHEET']),_0x275dc9(0x1f1)),this[_0x275dc9(0x201)](_0x30a331[_0x275dc9(0x1b5)]));}async[_0x222254(0x193)](){const _0x59fdd4=_0x222254;this[_0x59fdd4(0x201)](_0x30a331[_0x59fdd4(0x260)]);let _0x241d79=await this[_0x59fdd4(0x277)](_0x151766['UNIVER_SHEET']),_0x561e99=await this['_exchangeService']['exportXLSXBySnapshot'](_0x241d79);_0x561e99&&(this[_0x59fdd4(0x20d)][_0x59fdd4(0x132)](_0x561e99,this['_getUnitNameByType'](_0x561e99,_0x151766[_0x59fdd4(0x274)]),_0x59fdd4(0x1f1)),this['_showDownloadMessage'](_0x30a331['Success']));}async[_0x222254(0x1c2)](){const _0xbc4d0d=_0x222254;if(this[_0xbc4d0d(0x15b)]()){this[_0xbc4d0d(0x1f2)]['show']({'type':_0x30a331[_0xbc4d0d(0x1ab)],'content':this[_0xbc4d0d(0x1ec)]['t']('exchange-client.uploading')});return;}let _0x3cf0d1=await B([_0x151766[_0xbc4d0d(0x22d)]]);if(_0x3cf0d1&&!this[_0xbc4d0d(0x1dd)](_0x3cf0d1,_0x151766['UNIVER_DOC']))return this[_0xbc4d0d(0x252)](_0x3cf0d1[0x0],_0x151766[_0xbc4d0d(0x22d)]);}async[_0x222254(0x219)](){const _0x538664=_0x222254;if(this[_0x538664(0x15b)]()){this[_0x538664(0x1f2)][_0x538664(0x17f)]({'type':_0x30a331[_0x538664(0x1ab)],'content':this[_0x538664(0x1ec)]['t'](_0x538664(0x21a))});return;}let _0x167b3e=await B([_0x151766['UNIVER_DOC']]);if(!_0x167b3e||this['_fileTypeError'](_0x167b3e,_0x151766[_0x538664(0x22d)]))return;this[_0x538664(0x148)](_0x30a331['Info']);let _0x425497=await this[_0x538664(0x20d)]['importDOCXToSnapshot'](_0x167b3e[0x0]);_0x425497&&(this[_0x538664(0x139)](_0x151766[_0x538664(0x22d)],_0x425497),this[_0x538664(0x148)](_0x30a331[_0x538664(0x1b5)]));}async[_0x222254(0x12b)](_0x286cbf,_0x740a57){const _0x2f8697=_0x222254;this[_0x2f8697(0x201)](_0x30a331[_0x2f8697(0x260)]);let _0x308ed2=await this['_exchangeService'][_0x2f8697(0x12b)](_0x286cbf||this[_0x2f8697(0x23b)](_0x151766[_0x2f8697(0x22d)]));_0x308ed2&&(this[_0x2f8697(0x20d)]['downloadFile'](_0x308ed2,_0x740a57||this['_getUnitNameByType'](_0x308ed2,_0x151766[_0x2f8697(0x22d)]),_0x2f8697(0x158)),this[_0x2f8697(0x201)](_0x30a331[_0x2f8697(0x1b5)]));}async[_0x222254(0x253)](_0x3294d2){const _0x26d599=_0x222254;this[_0x26d599(0x201)](_0x30a331['Info']);let _0x4b1f84=_0x3294d2==null?await this[_0x26d599(0x277)](_0x151766[_0x26d599(0x22d)]):_0x3294d2,_0x3fc33d=await this[_0x26d599(0x20d)]['exportDOCXBySnapshot'](_0x4b1f84);_0x3fc33d&&(this[_0x26d599(0x20d)]['downloadFile'](_0x3fc33d,this[_0x26d599(0x1c6)](_0x3fc33d,_0x151766['UNIVER_DOC']),'docx'),this[_0x26d599(0x201)](_0x30a331[_0x26d599(0x1b5)]));}async[_0x222254(0x20c)](){const _0x53ef19=_0x222254;if(this[_0x53ef19(0x15b)]()){this['_messageService'][_0x53ef19(0x17f)]({'type':_0x30a331['Warning'],'content':this[_0x53ef19(0x1ec)]['t'](_0x53ef19(0x21a))});return;}let _0x35e5e7=await B([_0x151766[_0x53ef19(0x1a3)]]);if(_0x35e5e7&&!this[_0x53ef19(0x1dd)](_0x35e5e7,_0x151766[_0x53ef19(0x1a3)]))return this[_0x53ef19(0x252)](_0x35e5e7[0x0],_0x151766['UNIVER_SLIDE']);}async[_0x222254(0x18c)](){const _0x2408e4=_0x222254;if(this[_0x2408e4(0x15b)]()){this[_0x2408e4(0x1f2)][_0x2408e4(0x17f)]({'type':_0x30a331[_0x2408e4(0x1ab)],'content':this[_0x2408e4(0x1ec)]['t']('exchange-client.uploading')});return;}let _0x513e67=await B([_0x151766['UNIVER_PDF']]);if(!(!_0x513e67||this[_0x2408e4(0x1dd)](_0x513e67,_0x151766[_0x2408e4(0x173)])))return this[_0x2408e4(0x252)](_0x513e67[0x0],_0x151766[_0x2408e4(0x173)]);}async['importPDFToSnapshot'](){const _0x192eb2=_0x222254;if(this['_uploadTaskNotDone']()){this[_0x192eb2(0x1f2)][_0x192eb2(0x17f)]({'type':_0x30a331[_0x192eb2(0x1ab)],'content':this['_localeService']['t'](_0x192eb2(0x21a))});return;}let _0x4d84d3=await B([_0x151766[_0x192eb2(0x173)]]);if(!_0x4d84d3||this[_0x192eb2(0x1dd)](_0x4d84d3,_0x151766[_0x192eb2(0x173)]))return;this[_0x192eb2(0x148)](_0x30a331[_0x192eb2(0x260)]);let _0x34489f=await this[_0x192eb2(0x20d)][_0x192eb2(0x1bc)](_0x4d84d3[0x0]);if(_0x34489f)return this['_showUploadMessage'](_0x30a331[_0x192eb2(0x1b5)]),_0x34489f;}async[_0x222254(0x1fa)](_0x367a8c,_0x2b8f00,_0x3fafe7){const _0x53d47c=_0x222254;this[_0x53d47c(0x201)](_0x30a331['Info']);let _0x1b9b17=await this['_exchangeService'][_0x53d47c(0x1fa)](_0x367a8c||this[_0x53d47c(0x23b)](_0x151766[_0x53d47c(0x173)]));_0x1b9b17&&(this['_exchangeService'][_0x53d47c(0x132)](_0x1b9b17,_0x2b8f00||this['_getUnitNameByType'](_0x1b9b17,_0x3fafe7==null?_0x151766['UNIVER_PDF']:_0x3fafe7),_0x53d47c(0x1d0)),this[_0x53d47c(0x201)](_0x30a331['Success']));}async[_0x222254(0x1c4)](){const _0x2e3153=_0x222254;this['_showDownloadMessage'](_0x30a331['Info']);let _0x295c0a=await this[_0x2e3153(0x277)](_0x151766[_0x2e3153(0x173)]),_0x1cb4a7=await this[_0x2e3153(0x20d)][_0x2e3153(0x1c4)](_0x295c0a);_0x1cb4a7&&(this[_0x2e3153(0x20d)][_0x2e3153(0x132)](_0x1cb4a7,this['_getUnitNameByType'](_0x1cb4a7,_0x151766[_0x2e3153(0x173)]),_0x2e3153(0x1d0)),this[_0x2e3153(0x201)](_0x30a331['Success']));}async[_0x222254(0x1ce)](){const _0x3739fa=_0x222254;if(this[_0x3739fa(0x15b)]()){this[_0x3739fa(0x1f2)]['show']({'type':_0x30a331[_0x3739fa(0x1ab)],'content':this[_0x3739fa(0x1ec)]['t'](_0x3739fa(0x21a))});return;}let _0x42701a=await B([_0x151766[_0x3739fa(0x1a3)]]);if(!_0x42701a)return;this[_0x3739fa(0x148)](_0x30a331[_0x3739fa(0x260)]);let _0x2ca0a0=await this[_0x3739fa(0x20d)][_0x3739fa(0x1ce)](_0x42701a[0x0]);_0x2ca0a0&&(this[_0x3739fa(0x139)](_0x151766['UNIVER_SLIDE'],_0x2ca0a0),this[_0x3739fa(0x148)](_0x30a331[_0x3739fa(0x1b5)]));}async[_0x222254(0x170)](_0xf93437,_0xb0c706){const _0x4e8af4=_0x222254;this['_showDownloadMessage'](_0x30a331['Info']);let _0x2eb82b=await this[_0x4e8af4(0x20d)][_0x4e8af4(0x170)](_0xf93437||this[_0x4e8af4(0x23b)](_0x151766[_0x4e8af4(0x1a3)]));_0x2eb82b&&(this['_exchangeService'][_0x4e8af4(0x132)](_0x2eb82b,_0xb0c706||this['_getUnitNameByType'](_0x2eb82b,_0x151766['UNIVER_SLIDE']),_0x4e8af4(0x19b)),this[_0x4e8af4(0x201)](_0x30a331[_0x4e8af4(0x1b5)]));}async['exportPPTXBySnapshot'](){const _0x4d85c0=_0x222254;this[_0x4d85c0(0x201)](_0x30a331[_0x4d85c0(0x260)]);let _0x3d0b49=await this[_0x4d85c0(0x277)](_0x151766[_0x4d85c0(0x1a3)]),_0x23e893=await this[_0x4d85c0(0x20d)][_0x4d85c0(0x184)](_0x3d0b49);_0x23e893&&(this[_0x4d85c0(0x20d)][_0x4d85c0(0x132)](_0x23e893,this[_0x4d85c0(0x1c6)](_0x23e893,_0x151766[_0x4d85c0(0x1a3)]),_0x4d85c0(0x19b)),this[_0x4d85c0(0x201)](_0x30a331[_0x4d85c0(0x1b5)]));}async[_0x222254(0x17b)](_0x48d7a1){const _0x58e1b5=_0x222254;throw Error(_0x58e1b5(0x13c));}async[_0x222254(0x20e)](){const _0x3934ec=_0x222254;let _0x407e97=this[_0x3934ec(0x1d6)][_0x3934ec(0x20f)]();switch(_0x407e97?this[_0x3934ec(0x1d6)][_0x3934ec(0x202)](_0x407e97[_0x3934ec(0x181)]()):_0x151766['UNRECOGNIZED']){case _0x151766[_0x3934ec(0x173)]:return this['importPDFToUnitId']();case _0x151766['UNIVER_SLIDE']:return this['importPPTXToUnitId']();case _0x151766['UNIVER_DOC']:return this[_0x3934ec(0x1c2)]();case _0x151766['UNIVER_SHEET']:default:return this[_0x3934ec(0x1e6)]();}}[_0x222254(0x27f)](_0x3895c2){const _0x4f1a25=_0x222254;this[_0x4f1a25(0x1f9)]=_0x3895c2;}async['_importFileToUnitId'](_0x3bd246,_0x2f1d06){const _0x3ee26f=_0x222254;this['_uploadNotificationService'][_0x3ee26f(0x17f)](),this['_uploadNotificationService'][_0x3ee26f(0x143)](0x0),this[_0x3ee26f(0x16c)](0x4),this[_0x3ee26f(0x276)](0x1);let _0x2887bb=await this[_0x3ee26f(0x20d)][_0x3ee26f(0x1c5)](_0x3bd246,_0x2f1d06);if(!_0x2887bb){this[_0x3ee26f(0x228)](),this[_0x3ee26f(0x1d8)][_0x3ee26f(0x143)](0x2);return;}let _0x52da1f={'link':this[_0x3ee26f(0x1f9)](_0x2887bb,_0x2f1d06),'name':_0x3bd246[_0x3ee26f(0x1b2)],'type':_0x2f1d06};return this['_uploadNotificationService'][_0x3ee26f(0x240)](_0x52da1f),this[_0x3ee26f(0x1d1)](),this['_uploadNotificationService'][_0x3ee26f(0x143)](0x1),_0x2887bb;}['_getUnitID'](_0x3e5555){const _0xbe8cd8=_0x222254;let _0x258f1f=this[_0xbe8cd8(0x1d6)]['getCurrentUnitOfType'](_0x3e5555);if(!_0x258f1f)throw Error(_0xbe8cd8(0x1cd)+_0x3e5555+_0xbe8cd8(0x14f));return _0x258f1f['getUnitId']();}[_0x222254(0x1c6)](_0x214d44,_0x141b6a){const _0x387278=_0x222254;let _0x27db7f=this[_0x387278(0x1d6)]['getCurrentUnitOfType'](_0x141b6a);if(_0x27db7f){let _0x4de9b1='';switch(_0x141b6a){case _0x151766[_0x387278(0x274)]:_0x4de9b1=_0x27db7f[_0x387278(0x254)]()['name'];break;case _0x151766[_0x387278(0x22d)]:_0x4de9b1=_0x27db7f[_0x387278(0x254)]()[_0x387278(0x272)];break;case _0x151766[_0x387278(0x1a3)]:_0x4de9b1=_0x27db7f[_0x387278(0x254)]()[_0x387278(0x1b2)];break;case _0x151766[_0x387278(0x173)]:_0x4de9b1=_0x27db7f[_0x387278(0x254)]()['name'];break;default:break;}if(typeof _0x4de9b1==_0x387278(0x27c)&&_0x4de9b1[_0x387278(0x163)]())return _0x4de9b1;}return _0x214d44[_0x387278(0x1b2)][_0x387278(0x218)]('.')[_0x387278(0x217)]()||document[_0x387278(0x272)];}async[_0x222254(0x277)](_0x56b7ec){const _0x5340e8=_0x222254;let _0x1883de=this[_0x5340e8(0x1d6)]['getCurrentUnitOfType'](_0x56b7ec);if(!_0x1883de)throw Error(_0x5340e8(0x1cd)+_0x56b7ec+_0x5340e8(0x14f));if(_0x56b7ec===_0x151766[_0x5340e8(0x274)]){let _0x5df617=this[_0x5340e8(0x13a)][_0x5340e8(0x188)](_0x1883de[_0x5340e8(0x181)]());return _0x5df617==null?_0x1883de[_0x5340e8(0x254)]():_0x5df617;}if(_0x56b7ec===_0x151766['UNIVER_DOC']){let _0x21b928=this[_0x5340e8(0x13a)][_0x5340e8(0x188)](_0x1883de[_0x5340e8(0x181)]());return _0x21b928==null?_0x1883de['getSnapshot']():_0x21b928;}if(_0x56b7ec===_0x151766['UNIVER_SLIDE']){let _0xe05c0f=this[_0x5340e8(0x13a)]['saveUnit'](_0x1883de[_0x5340e8(0x181)]());return _0xe05c0f==null?_0x1883de[_0x5340e8(0x254)]():_0xe05c0f;}return _0x56b7ec===_0x151766[_0x5340e8(0x173)]?_0x1883de[_0x5340e8(0x254)]():null;}[_0x222254(0x139)](...[_0x41604c,_0x1907e4]){const _0x4b7ac0=_0x222254;let _0x2d1594=this[_0x4b7ac0(0x1d6)][_0x4b7ac0(0x229)](_0x41604c);if(!_0x2d1594)throw Error(_0x4b7ac0(0x1cd)+_0x41604c+_0x4b7ac0(0x14f));switch(this[_0x4b7ac0(0x1d6)]['disposeUnit'](_0x2d1594['getUnitId']()),_0x41604c){case _0x151766[_0x4b7ac0(0x274)]:this[_0x4b7ac0(0x1d6)]['createUnit'](_0x41604c,_0x1907e4);break;case _0x151766['UNIVER_DOC']:this[_0x4b7ac0(0x1d6)]['createUnit'](_0x41604c,_0x1907e4);break;case _0x151766['UNIVER_SLIDE']:this[_0x4b7ac0(0x1d6)][_0x4b7ac0(0x278)](_0x41604c,_0x1907e4);break;}}[_0x222254(0x1f9)](_0xb65d72,_0x513617){const _0x56c31c=_0x222254;let _0x5931ca=new URL(window[_0x56c31c(0x26a)][_0x56c31c(0x268)]);return _0x5931ca[_0x56c31c(0x1ad)]['set']('unit',_0xb65d72),_0x5931ca[_0x56c31c(0x1ad)][_0x56c31c(0x168)]('type',''+_0x513617),_0x5931ca[_0x56c31c(0x242)]();}[_0x222254(0x22b)](_0x50efb4){const _0x14b52c=_0x222254;if(_0x50efb4){let {code:_0x29e060}=_0x50efb4;switch(_0x29e060){case _0x1889ed[_0x14b52c(0x1f6)]:this[_0x14b52c(0x1f2)][_0x14b52c(0x17f)]({'type':_0x30a331[_0x14b52c(0x205)],'content':this[_0x14b52c(0x1ec)]['t'](_0x14b52c(0x190))});break;case _0x1889ed[_0x14b52c(0x251)]:this[_0x14b52c(0x1f2)]['show']({'type':_0x30a331['Error'],'content':this[_0x14b52c(0x1ec)]['t'](_0x14b52c(0x264))});break;default:this[_0x14b52c(0x1f2)]['show']({'type':_0x30a331[_0x14b52c(0x205)],'content':this[_0x14b52c(0x1ec)]['t']('exchange-client.networkError')});break;}return null;}return this[_0x14b52c(0x1f2)][_0x14b52c(0x17f)]({'type':_0x30a331['Error'],'content':this[_0x14b52c(0x1ec)]['t'](_0x14b52c(0x162))}),null;}[_0x222254(0x201)](_0x510c3e){const _0x3950c6=_0x222254;let _0x4f3933='';switch(_0x510c3e){case _0x30a331[_0x3950c6(0x1b5)]:_0x4f3933=this[_0x3950c6(0x1ec)]['t'](_0x3950c6(0x160));break;case _0x30a331[_0x3950c6(0x260)]:_0x4f3933=this[_0x3950c6(0x1ec)]['t']('exchange-client.downloading');break;default:break;}this[_0x3950c6(0x1f2)][_0x3950c6(0x17f)]({'type':_0x510c3e,'content':_0x4f3933});}[_0x222254(0x148)](_0x2d54c2){const _0x57d9bd=_0x222254;let _0x140b98='';switch(_0x2d54c2){case _0x30a331[_0x57d9bd(0x1b5)]:_0x140b98=this[_0x57d9bd(0x1ec)]['t']('exchange-client.uploadSuccess');break;case _0x30a331[_0x57d9bd(0x260)]:_0x140b98=this[_0x57d9bd(0x1ec)]['t'](_0x57d9bd(0x21a));break;default:break;}this[_0x57d9bd(0x1f2)]['show']({'type':_0x2d54c2,'content':_0x140b98});}[_0x222254(0x1e0)](){const _0xa81966=_0x222254;this['_progress$'][_0xa81966(0x138)]({'done':this[_0xa81966(0x178)],'count':this['_totalUploadTaskCount']});}[_0x222254(0x16c)](_0x5719fd){const _0x5618a4=_0x222254;this[_0x5618a4(0x14c)]+=_0x5719fd,this[_0x5618a4(0x1e0)]();}[_0x222254(0x276)](_0x3ddb4b){const _0x2dbb39=_0x222254;this[_0x2dbb39(0x178)]+=_0x3ddb4b,this['_doneUploadTaskCount']=Math[_0x2dbb39(0x14a)](this[_0x2dbb39(0x178)],this[_0x2dbb39(0x14c)]),this[_0x2dbb39(0x1e0)]();}[_0x222254(0x1d1)](){const _0x1da138=_0x222254;this[_0x1da138(0x178)]=this[_0x1da138(0x14c)],this['_emitProgress']();}[_0x222254(0x228)](){const _0x520f95=_0x222254;this['_doneUploadTaskCount']=0x0,this[_0x520f95(0x14c)]=0x0,this[_0x520f95(0x1e0)]();}[_0x222254(0x1dd)](_0x2963e7,_0x450957){const _0x41a20c=_0x222254;let _0x227160=_0x2963e7[0x0],_0xed5ef1=_0x227160['name'];return Ke(_0x227160)===_0x450957?!0x1:(this[_0x41a20c(0x1f2)][_0x41a20c(0x17f)]({'type':_0x30a331[_0x41a20c(0x205)],'content':this[_0x41a20c(0x1ec)]['t']('exchange-client.fileTypeError',_0xed5ef1)}),!0x0);}['_uploadTaskNotDone'](){const _0x436927=_0x222254;return this[_0x436927(0x14c)]!==0x0&&this[_0x436927(0x178)]!==this[_0x436927(0x14c)];}};Y=O([D(0x0,_0x412acd(_0x432a12)),D(0x1,_0x4f4a53),D(0x2,_0x412acd(_0x51b184)),D(0x3,_0x412acd(K)),D(0x4,_0x412acd(M)),D(0x5,_0x4ed4b7),D(0x6,_0x412acd(_0x56b3b9))],Y);function X(_0x1c6ea7){const _0x542ca3=_0x222254;let {onClick:_0x41ee4e,children:_0x53f49c,className:_0x10a0a2}=_0x1c6ea7;return _0x314104(_0x542ca3(0x151),{'className':_0x2c1e21(_0x542ca3(0x1d2),_0x10a0a2),'type':_0x542ca3(0x151),'onClick':_0x41ee4e,'children':_0x53f49c});}function Z(){const _0x18957e=_0x222254;let _0x3f22b2=_0x1e3628(J),_0x5578eb=_0x1e3628(_0x51b184);function _0x5e07ee(){_0x3f22b2['importFileToUnitIdByCurrentType']();}return _0x314104(X,{'onClick':_0x5e07ee,'children':_0x5578eb['t'](_0x18957e(0x154))});}function dt(){const _0x355536=_0x222254;return _0x525f8d(_0x355536(0x26d),{'className':_0x355536(0x182),'children':[_0x314104('span',{'className':_0x355536(0x17d),'children':_0x1e3628(_0x51b184)['t'](_0x355536(0x133))}),_0x314104(Z,{})]});}function ft(_0x3dd86d){const _0x2f929b=_0x222254;let {count:_0x29ceb3}=_0x3dd86d;return _0x525f8d(_0x2f929b(0x26d),{'className':_0x2f929b(0x233),'children':[_0x314104(_0x2f929b(0x269),{'className':_0x2f929b(0x230),'children':_0x1e3628(_0x51b184)['t'](_0x2f929b(0x19f),''+_0x29ceb3)}),_0x314104(Z,{})]});}function pt(){let _0x3c898b=_0x1e3628(J),_0x11ceaf=_0x1e3628(_0x51b184);function _0x198ead(){_0x3c898b['interrupt']();}return _0x314104(X,{'onClick':_0x198ead,'children':_0x11ceaf['t']('exchange-client.cancel')});}function mt(){const _0x48a009=_0x222254;let {count:_0x2623ef,done:_0x386dd1}=_0x4079b5(_0x1e3628(J)[_0x48a009(0x236)]),_0xedbc05=_0x2623ef>0x0?_0x386dd1/_0x2623ef:0x0;return _0x314104(_0x48a009(0x26d),{'className':'univer-mx-0\x20univer-mb-3\x20univer-mt-4\x20univer-h-1.5\x20univer-w-[324px]\x20univer-rounded-lg\x20univer-bg-gray-200','children':_0x314104(_0x48a009(0x26d),{'className':_0x48a009(0x223),'style':{'width':Math[_0x48a009(0x189)](_0xedbc05*0x64)+'%'}})});}function ht(){const _0x3c3f35=_0x222254;return _0x525f8d(_0x3c3f35(0x26d),{'className':'univer-mt-5\x20univer-flex\x20univer-flex-col','children':[_0x314104(_0x3c3f35(0x269),{'className':'univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0x1e3628(_0x51b184)['t'](_0x3c3f35(0x1ac))}),_0x314104(_0x3c3f35(0x26d),{'className':_0x3c3f35(0x1ae),'children':_0x314104(mt,{})}),_0x314104(pt,{})]});}const gt={0x1:_0x314104(_0x5ab502,{'className':_0x222254(0x164)}),0x0:_0x314104(_0xd88cde,{'className':_0x222254(0x1d4)}),0x2:_0x314104(_0x4cd45e,{'className':'univer-text-red-500'})};function _t(){const _0x227764=_0x222254;let _0x32cb0e=_0x1e3628(M),_0x2da04f=_0x1e3628(_0x51b184),_0x5966ac=_0x4079b5(_0x32cb0e[_0x227764(0x1c9)],0x0),_0x4739b8=_0x4079b5(_0x32cb0e[_0x227764(0x157)],!0x1),_0x5078ca=_0x4079b5(_0x32cb0e[_0x227764(0x1bd)],[]);function _0x52064f(){_0x32cb0e['hide']();}function _0x260a13(_0x402b17){const _0x279884=_0x227764;switch(_0x402b17){case 0x1:return _0x2da04f['t']('exchange-client.uploadSuccess');case 0x0:return _0x2da04f['t'](_0x279884(0x21a));case 0x2:return _0x2da04f['t']('exchange-client.unknownMistake');default:return'';}}return _0x4739b8&&_0x525f8d(_0x227764(0x26d),{'className':_0x227764(0x24f),'children':[_0x525f8d(_0x227764(0x26d),{'className':_0x227764(0x136),'children':[_0x525f8d('span',{'className':_0x227764(0x212),'children':[_0x314104(_0x227764(0x269),{'className':'univer-h-6\x20univer-text-2xl','children':gt[_0x5966ac]}),_0x314104('span',{'className':_0x227764(0x275),'children':_0x260a13(_0x5966ac)})]}),_0x314104(_0x227764(0x269),{'className':_0x227764(0x152),'onClick':_0x52064f,'children':_0x314104(_0x5d7771,{})})]}),_0x525f8d('div',{'children':[_0x5966ac===0x0&&_0x314104(ht,{}),_0x5966ac===0x2&&_0x314104(dt,{}),_0x5078ca['length']>0x0&&_0x314104(Ue,{'list':_0x5078ca}),_0x5966ac===0x1&&_0x314104(ft,{'count':_0x5078ca[_0x227764(0x194)]})]})]});}function vt(){return _0x314104(_t,{});}let Q=class extends _0x5b5c70{constructor(_0x12b2f0,_0x4b01ba){const _0x2196b3=_0x222254;super(),this['_injector']=_0x12b2f0,this[_0x2196b3(0x142)]=_0x4b01ba,this['_registerUIParts']();}[_0x222254(0x15d)](){const _0x30b9cf=_0x222254;this['disposeWithMe'](this[_0x30b9cf(0x142)][_0x30b9cf(0x175)](_0x552673[_0x30b9cf(0x1ca)],()=>_0x1d0427(vt,this[_0x30b9cf(0x1b1)])));}};Q=O([D(0x0,_0x412acd(_0x328aba)),D(0x1,_0x37052e)],Q);let $=class extends _0x2a7ab1{constructor(_0x309792=E,_0x51db24,_0xd3ec60){const _0x19f586=_0x222254;super(),this[_0x19f586(0x171)]=_0x309792,this[_0x19f586(0x1b1)]=_0x51db24,this[_0x19f586(0x1c8)]=_0xd3ec60;let {..._0x1ef2f4}=_0x17799a({},E,this[_0x19f586(0x171)]);this[_0x19f586(0x1c8)][_0x19f586(0x25a)](T,_0x1ef2f4);}[_0x222254(0x1d9)](){_0x27dbb6(this['_injector'],[[k],[Q],[J,{'useClass':Y}],[K,{'useClass':q}],[U,{'useClass':W}],[M,{'useClass':He}]]);}['onReady'](){const _0x4f159e=_0x222254;_0x4959dc(this[_0x4f159e(0x1b1)],[[k],[Q],[J]]);}};j($,_0x222254(0x1e2),_0x222254(0x18f)),j($,_0x222254(0x1f3),Re),j($,'version',ze),$=O([_0x478567(_0x5101d5,_0x417308,_0x35b6ef),D(0x1,_0x412acd(_0x328aba)),D(0x2,_0x55d0d4)],$);function yt(_0x419363,_0x1ea14d){const _0x35d74c=_0x222254;let _0x2e6c8e=_0x419363[_0x35d74c(0x197)](_0x432a12)[_0x35d74c(0x229)](_0x1ea14d);return!_0x2e6c8e||!_0x419363[_0x35d74c(0x26e)](_0x1c35f5)?!0x1:_0x419363[_0x35d74c(0x197)](_0x1c35f5)[_0x35d74c(0x187)](_0x2e6c8e);}export{J as IExchangeOperateService,K as IExchangeService,$ as UniverExchangeClientPlugin,yt as isCurrentUnitLoadedFromServer};
1
+ const _0xb22c3f=_0xbd3a;(function(_0x2be29d,_0x1e9a4d){const _0x479759=_0xbd3a,_0x38159b=_0x2be29d();while(!![]){try{const _0x47966a=-parseInt(_0x479759(0x18c))/0x1*(parseInt(_0x479759(0x22a))/0x2)+parseInt(_0x479759(0x15b))/0x3*(parseInt(_0x479759(0x1d0))/0x4)+-parseInt(_0x479759(0x1f3))/0x5+parseInt(_0x479759(0x1b0))/0x6+parseInt(_0x479759(0x219))/0x7*(-parseInt(_0x479759(0x13a))/0x8)+parseInt(_0x479759(0x183))/0x9*(-parseInt(_0x479759(0x1e5))/0xa)+-parseInt(_0x479759(0x1b4))/0xb*(-parseInt(_0x479759(0x173))/0xc);if(_0x47966a===_0x1e9a4d)break;else _0x38159b['push'](_0x38159b['shift']());}catch(_0x7a6977){_0x38159b['push'](_0x38159b['shift']());}}}(_0x4122,0x3e8c5));import{UniverLicensePlugin as _0x25b9dd}from'@univerjs-pro/license';function _0xbd3a(_0x452344,_0x30c0db){_0x452344=_0x452344-0xe4;const _0x4122e4=_0x4122();let _0xbd3a1d=_0x4122e4[_0x452344];return _0xbd3a1d;}import{DependentOn as _0x1037e7,Disposable as _0x2040d3,IConfigService as _0x5f3cc3,ILogService as _0x58e207,IUniverInstanceService as _0x5ad51b,Inject as _0xef64f2,Injector as _0x100b76,LocaleService as _0x1cbbed,Plugin as _0x1b02e6,UniverInstanceType as _0x7f45ac,createIdentifier as _0x1f411c,merge as _0x25754e,registerDependencies as _0x155a28,resolveWithBasePath as _0xb5c1f8,toDisposable as _0x2a0974,touchDependencies as _0x5b774e}from'@univerjs/core';import{HTTPResponseError as _0x1d8572,HTTPService as _0x2e0a65,UniverNetworkPlugin as _0x9966dc}from'@univerjs/network';import{ClockIcon as _0x4cda26,CloseIcon as _0xba5f11,DirectExportIcon as _0x296ac9,DocsMultiIcon as _0x4f4fe4,ErrorIcon as _0x545137,ExportIcon as _0x175bd4,FolderIcon as _0x43c8b0,LoadingMultiIcon as _0x3a7fa9,ShareRangeIcon as _0xcfde4b,SheetsMultiIcon as _0x24dfbf,SlidesMultiIcon as _0xd373e1,SuccessIcon as _0x977a80}from'@univerjs/icons';import{BuiltInUIPart as _0x34311b,ComponentManager as _0x5e99be,IMessageService as _0x3c6397,IUIPartsService as _0x40f5d9,IconManager as _0xd3d92d,connectInjector as _0x4c5168,useDependency as _0x20f799,useObservable as _0x28b3a6}from'@univerjs/ui';import{Button as _0x3c0757,MessageType as _0x12993f,Radio as _0x187182,Select as _0x524043,Tooltip as _0x18d07b,clsx as _0x50a5b0,scrollbarClassName as _0x2737e3}from'@univerjs/design';import{useRef as _0x2d5dc0,useState as _0x55cbbd}from'react';import{ErrorCode as _0x119cf9,FileSource as _0x2430af}from'@univerjs/protocol';import{jsx as _0x31faf1,jsxs as _0x2a60ab}from'react/jsx-runtime';import{BehaviorSubject as _0x5c4032,Subject as _0x352b8a}from'rxjs';import{ISnapshotServerService as _0x5bf809,SnapshotService as _0x58a593,b64EncodeUnicode as _0x5cd2ac,textDecoder as _0x535831,textEncoder as _0x2be5b7}from'@univerjs-pro/collaboration';import{deflateSync as _0x47ffca}from'fflate';var Ne='@univerjs-pro/exchange-client',Pe=_0xb22c3f(0x132);const O=_0xb22c3f(0x134),k={},A=_0xb22c3f(0x1ba),j=_0xb22c3f(0xfa),M=_0xb22c3f(0x199),N=_0xb22c3f(0x175),P=_0xb22c3f(0x1b1),F='text/tab-separated-values',I=_0xb22c3f(0x114),L=_0xb22c3f(0x1d4),R=_0xb22c3f(0x1f5),Fe={[_0x7f45ac['UNIVER_UNKNOWN']]:[''],[_0x7f45ac['UNIVER_DOC']]:[j,A],[_0x7f45ac[_0xb22c3f(0x1a8)]]:[M,N,P,F],[_0x7f45ac[_0xb22c3f(0x1ab)]]:[I,L],[_0x7f45ac[_0xb22c3f(0x1d2)]]:[R],[_0x7f45ac['UNIVER_BASE']]:[M,N,P,F],[_0x7f45ac['UNIVER_BOARD']]:[''],[_0x7f45ac['UNIVER_PROJECT']]:[''],[_0x7f45ac[_0xb22c3f(0x1e1)]]:['']},Ie={[j]:_0xb22c3f(0x230),[A]:_0xb22c3f(0x149),[M]:_0xb22c3f(0x176),[N]:_0xb22c3f(0x10b),[P]:_0xb22c3f(0x161),[F]:_0xb22c3f(0x1ea),[I]:_0xb22c3f(0x145),[L]:_0xb22c3f(0xe4),[R]:_0xb22c3f(0x110)},Le=Object['fromEntries'](Object[_0xb22c3f(0x106)](Fe)[_0xb22c3f(0x120)](([_0x379b41,_0x8f8da2])=>[_0x379b41,_0x8f8da2[_0xb22c3f(0x120)](_0x26a3cb=>Ie[_0x26a3cb])[_0xb22c3f(0x1da)](Boolean)]));function Re(_0x423d23,_0x336609,_0x31b7c5){const _0x478140=_0xb22c3f;let _0x14d536=document['createElement']('a');_0x14d536[_0x478140(0x1a1)]=_0x423d23,_0x14d536[_0x478140(0x1a3)]['display']=_0x478140(0x1a6),_0x14d536['download']=_0x336609+'.'+_0x31b7c5,document['body']['appendChild'](_0x14d536),_0x14d536[_0x478140(0x104)](),document['body'][_0x478140(0x1f2)](_0x14d536);}function ze(_0x152880,_0x58f0c8){const _0x2cd656=_0xb22c3f;var _0x57baae;let _0x587617=(_0x57baae=_0x152880['name'][_0x2cd656(0x177)]('.')['pop']())==null?void 0x0:_0x57baae[_0x2cd656(0x206)]();return!!(_0x587617&&(Le[_0x58f0c8]??[])[_0x2cd656(0x18f)](_0x587617));}function z(_0x2e64e6,_0x2a3f65=!0x1){const _0x366511=_0xb22c3f;let _0x5526e8=_0x2e64e6['flatMap'](_0x1348f0=>Le[_0x1348f0]??[])[_0x366511(0x120)](_0x379d52=>'.'+_0x379d52)[_0x366511(0x1a9)](',');return new Promise(_0x89a399=>{const _0x5e69a1=_0x366511;let _0x415295=document[_0x5e69a1(0xe5)](_0x5e69a1(0x235));_0x415295[_0x5e69a1(0x190)]='file',_0x415295['accept']=_0x5526e8,_0x415295[_0x5e69a1(0x17d)]=_0x2a3f65;let _0x5d56af=()=>{const _0x3e9db3=_0x5e69a1;var _0x41a805;return _0x89a399((_0x41a805=_0x415295[_0x3e9db3(0x15d)])!=null&&_0x41a805['length']?_0x415295[_0x3e9db3(0x15d)]:null);};_0x415295[_0x5e69a1(0xf5)](_0x5e69a1(0x123),_0x5d56af,{'once':!0x0}),_0x415295[_0x5e69a1(0xf5)](_0x5e69a1(0x196),_0x5d56af,{'once':!0x0}),_0x415295[_0x5e69a1(0x104)]();});}async function Be(_0x3b30f8,_0x311ba6){const _0x443204=_0xb22c3f;try{var _0x3ca95d,_0x3ea68f;let _0x2e72af=await _0x311ba6[_0x443204(0x220)](_0x3b30f8,{'responseType':'blob'}),_0x35411e=_0x2e72af[_0x443204(0x17f)],_0x203c53=((_0x3ca95d=_0x2e72af[_0x443204(0x101)]['get'](_0x443204(0x15f)))==null?void 0x0:_0x3ca95d['join'](',\x20'))??_0x443204(0x186),_0x48e8ee=_0x443204(0x200)+(Ie[_0x203c53]||'xlsx'),_0x45836c=(_0x3ea68f=_0x2e72af['headers'][_0x443204(0x220)]('content-disposition'))==null?void 0x0:_0x3ea68f['join'](',\x20');if(_0x45836c){let _0xc0773f=_0x45836c[_0x443204(0x233)](/filename=(.+)/);_0xc0773f&&_0xc0773f[0x1]&&(_0x48e8ee=_0xc0773f[0x1]);}else _0x48e8ee=Ve(_0x3b30f8)||_0x48e8ee;return new File([_0x35411e],_0x48e8ee,{'type':_0x203c53});}catch(_0x275297){console['error'](_0x443204(0x13e),_0x275297);return;}}function Ve(_0x56736d){const _0x5a683b=_0xb22c3f;try{return new URL(_0x56736d)[_0x5a683b(0xfb)][_0x5a683b(0x177)]('/')[_0x5a683b(0xf4)]();}catch(_0x1511bb){console[_0x5a683b(0x1b9)]('Error\x20getting\x20file\x20name\x20from\x20URL:',_0x1511bb);return;}}function He(_0x1f5fd5){const _0xdf210a=_0xb22c3f;let _0x5df3d2=new Blob([_0x1f5fd5[_0xdf210a(0xe9)]],{'type':_0xdf210a(0x189)});return new File([_0x5df3d2],_0xdf210a(0x1ef));}function Ue(_0x3ca7d1,_0x199d27){const _0x9613fd=_0xb22c3f;return _0x3ca7d1[_0x9613fd(0x201)](_0x9613fd(0x162),_0x199d27);}function We(_0x15f946,_0x48ba50){const _0x33d3bc=_0xb22c3f;return _0x15f946[_0x33d3bc(0x201)](_0x33d3bc(0x1eb),_0x48ba50);}function Ge(_0x3d954f,_0x259c1d){const _0x40b8e1=_0xb22c3f;return _0x3d954f[_0x40b8e1(0x201)](_0x40b8e1(0x1ae),_0x259c1d);}function B(_0x3f392e){'@babel/helpers - typeof';const _0x14a2c8=_0xb22c3f;return B=typeof Symbol==_0x14a2c8(0x159)&&typeof Symbol[_0x14a2c8(0x1af)]==_0x14a2c8(0x1d5)?function(_0xe39e8d){return typeof _0xe39e8d;}:function(_0x138554){const _0x484634=_0x14a2c8;return _0x138554&&typeof Symbol=='function'&&_0x138554['constructor']===Symbol&&_0x138554!==Symbol[_0x484634(0x1c7)]?_0x484634(0x1d5):typeof _0x138554;},B(_0x3f392e);}function Ke(_0x2c18e1,_0x306139){const _0x730c4a=_0xb22c3f;if(B(_0x2c18e1)!=_0x730c4a(0x1c3)||!_0x2c18e1)return _0x2c18e1;var _0x1395fc=_0x2c18e1[Symbol['toPrimitive']];if(_0x1395fc!==void 0x0){var _0x213cc1=_0x1395fc[_0x730c4a(0x12d)](_0x2c18e1,_0x306139||_0x730c4a(0x185));if(B(_0x213cc1)!=_0x730c4a(0x1c3))return _0x213cc1;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x306139===_0x730c4a(0x14f)?String:Number)(_0x2c18e1);}function qe(_0x361085){const _0x443986=_0xb22c3f;var _0x47ba5e=Ke(_0x361085,'string');return B(_0x47ba5e)==_0x443986(0x1d5)?_0x47ba5e:_0x47ba5e+'';}function V(_0x189713,_0xf99664,_0x2b58a0){const _0xa8625c=_0xb22c3f;return(_0xf99664=qe(_0xf99664))in _0x189713?Object[_0xa8625c(0x224)](_0x189713,_0xf99664,{'value':_0x2b58a0,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x189713[_0xf99664]=_0x2b58a0,_0x189713;}function H(_0x3e62d5,_0x257186){return function(_0x50fc80,_0xd6cb0a){_0x257186(_0x50fc80,_0xd6cb0a,_0x3e62d5);};}function U(_0xfd448c,_0x4616ee,_0x4b20fa,_0x2241f4){const _0x4f1841=_0xb22c3f;var _0x31ea86=arguments['length'],_0x291d95=_0x31ea86<0x3?_0x4616ee:_0x2241f4===null?_0x2241f4=Object[_0x4f1841(0xf0)](_0x4616ee,_0x4b20fa):_0x2241f4,_0x3dc50e;if(typeof Reflect==_0x4f1841(0x1c3)&&typeof Reflect[_0x4f1841(0x19e)]==_0x4f1841(0x159))_0x291d95=Reflect['decorate'](_0xfd448c,_0x4616ee,_0x4b20fa,_0x2241f4);else{for(var _0x10a6c2=_0xfd448c[_0x4f1841(0x207)]-0x1;_0x10a6c2>=0x0;_0x10a6c2--)(_0x3dc50e=_0xfd448c[_0x10a6c2])&&(_0x291d95=(_0x31ea86<0x3?_0x3dc50e(_0x291d95):_0x31ea86>0x3?_0x3dc50e(_0x4616ee,_0x4b20fa,_0x291d95):_0x3dc50e(_0x4616ee,_0x4b20fa))||_0x291d95);}return _0x31ea86>0x3&&_0x291d95&&Object[_0x4f1841(0x224)](_0x4616ee,_0x4b20fa,_0x291d95),_0x291d95;}let Je=function(_0x377d04){const _0x535269=_0xb22c3f;return _0x377d04[_0x377d04['UNDEFINED']=0x0]=_0x535269(0x17e),_0x377d04[_0x377d04[_0x535269(0x13f)]=0x1]=_0x535269(0x13f),_0x377d04[_0x377d04[_0x535269(0x13b)]=0x2]=_0x535269(0x13b),_0x377d04[_0x377d04[_0x535269(0x1e1)]=-0x1]=_0x535269(0x1e1),_0x377d04;}({}),Ye=function(_0x237ecc){const _0x2b0914=_0xb22c3f;return _0x237ecc[_0x2b0914(0x14b)]=_0x2b0914(0x10b),_0x237ecc[_0x2b0914(0x12b)]=_0x2b0914(0x161),_0x237ecc[_0x2b0914(0x21b)]='tsv',_0x237ecc[_0x2b0914(0x1ff)]=_0x2b0914(0x149),_0x237ecc['PPTX']=_0x2b0914(0xe4),_0x237ecc['PDF']=_0x2b0914(0x110),_0x237ecc;}({}),Xe=function(_0x1df65c){const _0x404e0e=_0xb22c3f;return _0x1df65c[_0x404e0e(0x218)]=_0x404e0e(0x139),_0x1df65c[_0x404e0e(0x202)]=_0x404e0e(0x165),_0x1df65c[_0x404e0e(0x22e)]=_0x404e0e(0x18d),_0x1df65c['HYBRID']=_0x404e0e(0x1a2),_0x1df65c;}({}),Ze=function(_0x1d9c16){const _0x97d9d3=_0xb22c3f;return _0x1d9c16['CONVERT_THEN_VALUES']='convert-then-values',_0x1d9c16['VALUES']=_0x97d9d3(0x128),_0x1d9c16[_0x97d9d3(0x153)]=_0x97d9d3(0x208),_0x1d9c16[_0x97d9d3(0x21f)]=_0x97d9d3(0x11e),_0x1d9c16;}({}),Qe=function(_0x3778d4){const _0x4046ec=_0xb22c3f;return _0x3778d4[_0x4046ec(0x202)]='tables',_0x3778d4[_0x4046ec(0x108)]='ranges',_0x3778d4;}({});const $e=_0x1f411c(_0xb22c3f(0x102));let W=class{constructor(_0x3029f9,_0x23b728){const _0x445f90=_0xb22c3f;this[_0x445f90(0x144)]=_0x3029f9,this[_0x445f90(0x22b)]=_0x23b728,V(this,_0x445f90(0x1f4),new Set());}[_0xb22c3f(0x10a)](){}[_0xb22c3f(0x1b5)](_0x3aa5a1){const _0x33ea16=_0xb22c3f;this[_0x33ea16(0x1f4)]['add'](_0x3aa5a1);}[_0xb22c3f(0x13d)](){const _0x1d388f=_0xb22c3f;this['_taskInterrupted'][_0x1d388f(0x1fb)]();}async[_0xb22c3f(0x180)](_0x34d9fc,_0x7f327c=0x0,_0x1dfef1=!0x1){const _0x217e67=_0xb22c3f;if(typeof _0x34d9fc==_0x217e67(0x14f)){let _0x3effc6=await Be(_0x34d9fc,this['_httpService']);if(!_0x3effc6)throw Error(_0x217e67(0x109));_0x34d9fc=_0x3effc6;}_0x7f327c||=_0x34d9fc['size'];let _0x51f4fe=new FormData();_0x51f4fe[_0x217e67(0x1c5)](_0x217e67(0xea),_0x34d9fc);try{let _0x90f275=this[_0x217e67(0x1e3)]()+_0x217e67(0x133)+_0x7f327c+_0x217e67(0x1b7)+_0x2430af[_0x217e67(0x1d1)]+_0x217e67(0x20e)+_0x1dfef1,_0x478736={'body':_0x51f4fe},_0x5c6c9c=(await this[_0x217e67(0x22b)][_0x217e67(0x1b3)](_0x90f275,_0x478736))[_0x217e67(0x17f)];if(_0x5c6c9c['error']&&_0x5c6c9c[_0x217e67(0x1b9)][_0x217e67(0x100)]!==_0x119cf9['OK'])throw Error(this['_buildProtocolErrorMessage'](_0x217e67(0x14e),_0x5c6c9c[_0x217e67(0x1b9)]));return _0x5c6c9c;}catch(_0x12dec4){throw _0x12dec4 instanceof Error?_0x12dec4:Error(this[_0x217e67(0x192)]('upload\x20request\x20failed',_0x12dec4));}}async[_0xb22c3f(0x146)](_0x286c9f){const _0x4fd56f=_0xb22c3f;let {type:_0xee2342,..._0x6297a2}=_0x286c9f;try{let _0x17c4d7=Ue(this[_0x4fd56f(0x11b)](),''+_0xee2342),_0x3da849={'body':_0x6297a2},_0x202541=(await this[_0x4fd56f(0x22b)]['post'](_0x17c4d7,_0x3da849))['body'];return _0x202541[_0x4fd56f(0x1b9)]&&_0x202541[_0x4fd56f(0x1b9)][_0x4fd56f(0x100)]!==_0x119cf9['OK']?void 0x0:_0x202541;}catch{return;}}async[_0xb22c3f(0xf1)](_0x584aee){const _0x59b984=_0xb22c3f;let {type:_0x86f22f}=_0x584aee;try{let _0x244dcd=Ue(this[_0x59b984(0x172)](),''+_0x86f22f),_0x3ec970={'body':_0x584aee},_0x1ba21c=(await this[_0x59b984(0x22b)]['post'](_0x244dcd,_0x3ec970))[_0x59b984(0x17f)];return _0x1ba21c['error']&&_0x1ba21c[_0x59b984(0x1b9)][_0x59b984(0x100)]!==_0x119cf9['OK']?void 0x0:_0x1ba21c;}catch{return;}}async[_0xb22c3f(0x163)](_0x1fe349){return new Promise((_0x123c1e,_0x3c676c)=>{const _0x3e7ea2=_0xbd3a;try{let _0x49ea87=0x0,_0x8f5642=We(this[_0x3e7ea2(0x182)](),''+_0x1fe349),_0x276845=this[_0x3e7ea2(0x1aa)](),_0x52e3ab=async()=>{const _0x31b089=_0x3e7ea2;if(this['_taskInterrupted'][_0x31b089(0x16f)](_0x1fe349))return;let _0x9276dd=(await this[_0x31b089(0x22b)][_0x31b089(0x220)](_0x8f5642))[_0x31b089(0x17f)];if(_0x9276dd[_0x31b089(0x1b9)]&&_0x9276dd[_0x31b089(0x1b9)][_0x31b089(0x100)]===_0x119cf9['OK']){if(_0x9276dd[_0x31b089(0x1f0)]===_0x31b089(0x1c6))_0x123c1e(_0x9276dd);else{if(_0x9276dd['status']===_0x31b089(0x1bf)){let _0x5264cb=0x3e8;if(_0x49ea87>=_0x276845){_0x3c676c(_0x9276dd);return;}else _0x49ea87>=0x7530&&(_0x5264cb=0x1388);_0x49ea87+=_0x5264cb,setTimeout(_0x52e3ab,_0x5264cb);}else _0x3c676c(_0x9276dd);}}else _0x3c676c(_0x9276dd);};_0x52e3ab();}catch(_0x57e5b4){_0x3c676c(_0x57e5b4 instanceof Error?_0x57e5b4:Error(String(_0x57e5b4)));}});}async[_0xb22c3f(0x204)](_0x1269cd){const _0x1e987e=_0xb22c3f;try{let _0x15286e=Ge(this['_getSignURL'](),''+_0x1269cd);return(await this['_httpService'][_0x1e987e(0x220)](_0x15286e))['body'];}catch{return;}}async[_0xb22c3f(0x229)](_0x47cd2c){const _0x5aac72=_0xb22c3f;try{return(await this[_0x5aac72(0x22b)][_0x5aac72(0x220)](_0x47cd2c,{'responseType':'text'}))[_0x5aac72(0x17f)];}catch{return;}}[_0xb22c3f(0x11d)](_0x1563ed,_0x53f851){let _0x513fd3=this['_extractErrorDetail'](_0x53f851);return _0x513fd3?_0x1563ed+':\x20'+_0x513fd3:_0x1563ed;}[_0xb22c3f(0x192)](_0x25f280,_0x24ba40){const _0x10eb39=_0xb22c3f;if(_0x24ba40 instanceof _0x1d8572){let _0x58c7e7=typeof _0x24ba40[_0x10eb39(0x1f0)]==_0x10eb39(0x12a)?''+_0x24ba40['status']+(_0x24ba40[_0x10eb39(0x184)]?'\x20'+_0x24ba40[_0x10eb39(0x184)]:''):void 0x0,_0x2ebaf4=this['_extractErrorDetail'](_0x24ba40[_0x10eb39(0x1b9)]);return _0x58c7e7&&_0x2ebaf4?_0x25f280+_0x10eb39(0x1e9)+_0x58c7e7+_0x10eb39(0x130)+_0x2ebaf4:_0x58c7e7?_0x25f280+_0x10eb39(0x1e9)+_0x58c7e7:_0x2ebaf4?_0x25f280+':\x20'+_0x2ebaf4:_0x25f280;}let _0x2e2409=this[_0x10eb39(0x18b)](_0x24ba40);return _0x2e2409?_0x25f280+':\x20'+_0x2e2409:_0x25f280;}['_extractErrorDetail'](_0x561f8a){const _0x2781f9=_0xb22c3f;if(typeof _0x561f8a==_0x2781f9(0x14f)){let _0x393ca9=_0x561f8a[_0x2781f9(0x1ad)]();return _0x393ca9[_0x2781f9(0x207)]>0x0?_0x393ca9:void 0x0;}if(_0x561f8a instanceof Error)return this[_0x2781f9(0x18b)](_0x561f8a['message']);if(!_0x561f8a||typeof _0x561f8a!=_0x2781f9(0x1c3)||Array['isArray'](_0x561f8a))return;let _0x912652=_0x561f8a,_0x5d725b=this['_extractErrorDetail'](_0x912652[_0x2781f9(0x135)]);if(_0x5d725b)return _0x5d725b;if(_0x912652[_0x2781f9(0x1b9)]&&typeof _0x912652[_0x2781f9(0x1b9)]==_0x2781f9(0x1c3)&&!Array[_0x2781f9(0x16d)](_0x912652[_0x2781f9(0x1b9)])){let _0x2e5742=this[_0x2781f9(0x18b)](_0x912652[_0x2781f9(0x1b9)]);if(_0x2e5742)return _0x2e5742;}}[_0xb22c3f(0x1e3)](){const _0x55ba61=_0xb22c3f;let _0x294b6d=this[_0x55ba61(0x144)][_0x55ba61(0x164)](O);return(_0x294b6d==null?void 0x0:_0x294b6d['uploadFileServerUrl'])??_0x55ba61(0x1de);}[_0xb22c3f(0x11b)](){const _0x379a11=_0xb22c3f;let _0x39dba1=this[_0x379a11(0x144)][_0x379a11(0x164)](O);return(_0x39dba1==null?void 0x0:_0x39dba1['importServerUrl'])??_0x379a11(0x113);}[_0xb22c3f(0x172)](){const _0x146c28=_0xb22c3f;let _0x41befc=this['_configService'][_0x146c28(0x164)](O);return(_0x41befc==null?void 0x0:_0x41befc['exportServerUrl'])??_0x146c28(0x1ed);}[_0xb22c3f(0x182)](){const _0x4694fa=_0xb22c3f;let _0x2308da=this[_0x4694fa(0x144)]['getConfig'](O);return(_0x2308da==null?void 0x0:_0x2308da[_0x4694fa(0x117)])??_0x4694fa(0x234);}['_getSignURL'](){const _0x507e6d=_0xb22c3f;let _0x23b97d=this[_0x507e6d(0x144)][_0x507e6d(0x164)](O);return(_0x23b97d==null?void 0x0:_0x23b97d['signUrlServerUrl'])??'/universer-api/file/{fileID}/sign-url';}[_0xb22c3f(0x1aa)](){const _0xcb4bde=_0xb22c3f;let _0x3832a9=this['_configService'][_0xcb4bde(0x164)](O);return(_0x3832a9==null?void 0x0:_0x3832a9['maxTimeoutTime'])??0x1d4c0;}};W=U([H(0x0,_0x5f3cc3),H(0x1,_0xef64f2(_0x2e0a65))],W);const et='exchange-client.export-format-dialog';function tt({formats:_0x316087,items:_0x579344,selectedId:_0x34a6a6,onCancel:_0x3257a3,onConfirm:_0x2163f1}){const _0x178a23=_0xb22c3f;let _0x14f35d=_0x20f799(_0x1cbbed),[_0x21d0ff,_0x27e833]=_0x55cbbd(_0x316087[0x0]),[_0x54d049,_0x1cc97b]=_0x55cbbd(_0x34a6a6),[_0x47a069,_0x256b8b]=_0x55cbbd(!0x1),_0x56f2eb=_0x2d5dc0(!0x1);return _0x2a60ab(_0x178a23(0x156),{'className':_0x178a23(0x1cb),'children':[_0x31faf1(_0x178a23(0x156),{'className':_0x178a23(0x212),'children':_0x316087[_0x178a23(0x120)](_0x35b17f=>_0x2a60ab(_0x178a23(0x156),{'className':'univer-flex\x20univer-items-center\x20univer-gap-3','children':[_0x31faf1(_0x187182,{'value':_0x35b17f,'checked':_0x21d0ff===_0x35b17f,'onChange':_0x48e00d=>_0x27e833(_0x48e00d),'children':_0x31faf1('span',{'className':_0x178a23(0x10d),'children':_0x35b17f[_0x178a23(0xf9)]()})}),_0x35b17f!=='xlsx'&&_0x31faf1(_0x524043,{'className':_0x178a23(0x1c0),'value':_0x54d049,'options':_0x579344,'onChange':_0x2013d6=>_0x1cc97b(String(_0x2013d6))})]},_0x35b17f))}),_0x2a60ab(_0x178a23(0x156),{'className':_0x178a23(0x1dd),'children':[_0x31faf1(_0x3c0757,{'type':'button','variant':_0x178a23(0x185),'onClick':_0x3257a3,'children':_0x14f35d['t']('exchange-client.cancel')}),_0x2a60ab(_0x3c0757,{'type':_0x178a23(0xee),'variant':_0x178a23(0x147),'aria-busy':_0x47a069,'disabled':_0x47a069||!_0x21d0ff||_0x21d0ff!=='xlsx'&&!_0x54d049,'onClick':async()=>{const _0x4bd229=_0x178a23;if(!_0x56f2eb['current']){_0x56f2eb['current']=!0x0,_0x256b8b(!0x0);try{await _0x2163f1(_0x21d0ff,_0x54d049);}finally{_0x56f2eb[_0x4bd229(0x169)]=!0x1,_0x256b8b(!0x1);}}},'children':[_0x47a069&&_0x31faf1(_0x3a7fa9,{'className':_0x178a23(0x228)}),_0x14f35d['t'](_0x178a23(0x198))]})]})]});}let G=class extends _0x2040d3{constructor(_0x46e022,_0x372737){const _0x56ae67=_0xb22c3f;super(),this[_0x56ae67(0x143)]=_0x46e022,this[_0x56ae67(0x140)]=_0x372737,this[_0x56ae67(0x154)](this[_0x56ae67(0x143)]['register']({'DirectExportIcon':_0x296ac9,'ExportIcon':_0x175bd4,'FolderIcon':_0x43c8b0})),this[_0x56ae67(0x154)](this[_0x56ae67(0x140)]['register'](et,tt));}};G=U([H(0x0,_0xef64f2(_0xd3d92d)),H(0x1,_0xef64f2(_0x5e99be))],G);const K=_0x1f411c(_0xb22c3f(0x1d6));var nt=class extends _0x2040d3{constructor(){const _0x2fe19a=_0xb22c3f;super(),V(this,_0x2fe19a(0x232),new _0x352b8a()),V(this,_0x2fe19a(0x17b),new _0x352b8a()),V(this,_0x2fe19a(0xfc),new _0x352b8a()),V(this,'visible$',this[_0x2fe19a(0x232)][_0x2fe19a(0x1e8)]()),V(this,_0x2fe19a(0x188),this[_0x2fe19a(0x17b)]['asObservable']()),V(this,_0x2fe19a(0x157),this[_0x2fe19a(0xfc)][_0x2fe19a(0x1e8)]()),V(this,'_list',[]);}[_0xb22c3f(0x10a)](){const _0x3b195b=_0xb22c3f;super[_0x3b195b(0x10a)](),this[_0x3b195b(0x232)][_0x3b195b(0x20d)](),this[_0x3b195b(0x17b)][_0x3b195b(0x20d)](),this[_0x3b195b(0xfc)][_0x3b195b(0x20d)]();}[_0xb22c3f(0x151)](){const _0x4fa0c4=_0xb22c3f;this['_visible$'][_0x4fa0c4(0x11a)](!0x0);}[_0xb22c3f(0x17a)](){const _0x3866fb=_0xb22c3f;this[_0x3866fb(0x232)][_0x3866fb(0x11a)](!0x1);}['updateState'](_0x264def){const _0x1d81de=_0xb22c3f;this[_0x1d81de(0x17b)][_0x1d81de(0x11a)](_0x264def);}['pushLink'](_0x2420bf){this['_list']['unshift'](_0x2420bf),this['_list$']['next'](this['_list']);}};function rt(_0x1014e9){const _0x12f6c1=_0xb22c3f;let {list:_0x4d5dce}=_0x1014e9;function _0x24e15e(_0x5536cd){const _0x247fdf=_0xbd3a;switch(_0x5536cd){case _0x7f45ac[_0x247fdf(0x195)]:return _0x31faf1(_0x4f4fe4,{});case _0x7f45ac[_0x247fdf(0x1a8)]:case _0x7f45ac[_0x247fdf(0xeb)]:return _0x31faf1(_0x24dfbf,{});case _0x7f45ac[_0x247fdf(0x1ab)]:return _0x31faf1(_0xd373e1,{});default:return null;}}return _0x31faf1(_0x12f6c1(0x156),{'className':_0x50a5b0(_0x12f6c1(0x122),_0x2737e3),'children':_0x31faf1('ul',{'className':_0x12f6c1(0xe8),'children':_0x4d5dce[_0x12f6c1(0x120)]((_0x43a105,_0x2e2f61)=>_0x31faf1('li',{'children':_0x2a60ab('a',{'className':_0x12f6c1(0x1ee),'href':_0x43a105['link'],'target':'_blank','rel':_0x12f6c1(0x1f1),'children':[_0x2a60ab(_0x12f6c1(0x111),{'className':_0x12f6c1(0x1fa),'children':[_0x31faf1('span',{'className':_0x12f6c1(0x136),'children':_0x24e15e(_0x43a105['type'])}),_0x31faf1(_0x18d07b,{'showIfEllipsis':!0x0,'title':_0x43a105[_0x12f6c1(0x105)],'asChild':!0x0,'children':_0x31faf1('span',{'className':_0x12f6c1(0xed),'children':_0x43a105[_0x12f6c1(0x105)]})})]}),_0x31faf1('span',{'className':_0x12f6c1(0x12c),'children':_0x31faf1(_0xcfde4b,{})})]})},_0x2e2f61))})});}const q=_0x1f411c(_0xb22c3f(0x115));let J=class extends _0x2040d3{constructor(_0x110687,_0x46405e,_0x2a5cde){const _0x45aeb4=_0xb22c3f;super(),this[_0x45aeb4(0x144)]=_0x110687,this['_httpService']=_0x46405e,this[_0x45aeb4(0x1e2)]=_0x2a5cde,V(this,'_importTaskId',null),V(this,_0x45aeb4(0x1be),new _0x352b8a()),V(this,_0x45aeb4(0x1c9),this[_0x45aeb4(0x1be)][_0x45aeb4(0x1e8)]());}[_0xb22c3f(0x10a)](){const _0x5a0f22=_0xb22c3f;super[_0x5a0f22(0x10a)](),this[_0x5a0f22(0x1be)]['complete']();}[_0xb22c3f(0x1a5)](_0x19d067,_0x3090d0,_0x729d56){const _0x438f54=_0xb22c3f;let _0x3d4fe1=URL[_0x438f54(0x226)](_0x19d067);Re(_0x3d4fe1,_0x3090d0,_0x729d56),URL[_0x438f54(0xf2)](_0x3d4fe1);}async[_0xb22c3f(0x197)](_0x505691,_0x3cd0d1,_0x9c796d){const _0x1fba05=_0xb22c3f;var _0x4da574,_0x3baddd;let _0x3877ea=await this[_0x1fba05(0x12f)](_0x505691);if(!_0x3877ea)return;let _0x3a05eb=await this['_import'](_0x3877ea,0x1,_0x3cd0d1,_0x9c796d);if(!_0x3a05eb)return;this['_importTaskId']=_0x3a05eb,this[_0x1fba05(0x1e2)][_0x1fba05(0x13d)]();let _0x5e6706=await this[_0x1fba05(0x1e2)][_0x1fba05(0x163)](_0x3a05eb)['catch'](_0x177f51=>{const _0x5e828f=_0x1fba05;var _0x2d5074;let _0x23b849=_0x177f51 instanceof Error?_0x177f51['message']:(_0x2d5074=_0x177f51[_0x5e828f(0x1b9)])==null?void 0x0:_0x2d5074[_0x5e828f(0x135)];this[_0x5e828f(0x1be)][_0x5e828f(0x11a)]({'error':{'code':_0x119cf9[_0x5e828f(0x1e1)],'message':_0x23b849||''},'state':0x3});});if(!_0x5e6706)return;let _0xee034d=(_0x4da574=_0x5e6706[_0x1fba05(0x146)])==null?void 0x0:_0x4da574['outputType'],_0x3ac8d6=((_0x3baddd=_0x5e6706[_0x1fba05(0x146)])==null?void 0x0:_0x3baddd[_0x1fba05(0x148)])||'';if(_0xee034d!==0x1){this['_requestState$'][_0x1fba05(0x11a)]({'error':{'code':_0x119cf9[_0x1fba05(0x1e1)],'message':_0x1fba05(0xfe)},'state':0x3});return;}if(_0x3ac8d6[_0x1fba05(0x207)]===0x0){this['_requestState$']['next']({'error':{'code':_0x119cf9[_0x1fba05(0x1e1)],'message':_0x1fba05(0x237)},'state':0x3});return;}return this[_0x1fba05(0x1be)][_0x1fba05(0x11a)]({'error':_0x5e6706['error'],'state':0x3}),_0x3ac8d6;}async['importFileToJson'](_0x1ae26a,_0x1799ee,_0x44ed83){return this['_importToJson'](_0x1ae26a,_0x1799ee,_0x44ed83);}async[_0xb22c3f(0x178)](_0x5ddf11,_0x180f68,_0x3e3ed8,_0x2fb8d5){const _0x1a6df1=_0xb22c3f;return this[_0x1a6df1(0x138)](_0x5ddf11,0x1,_0x180f68,_0x3e3ed8,_0x2fb8d5);}async['exportFileBySnapshot'](_0x3f5654,_0x316576,_0x52a519,_0x49a0ca){const _0x13575a=_0xb22c3f;return this[_0x13575a(0x1c1)](_0x3f5654,_0x316576,_0x52a519,_0x49a0ca);}['interruptImportTask'](){const _0x1bec41=_0xb22c3f;this[_0x1bec41(0x112)]&&this[_0x1bec41(0x1e2)][_0x1bec41(0x1b5)](this[_0x1bec41(0x112)]);}async[_0xb22c3f(0x103)](_0x20fce7,_0x48d84b,_0x5e7aa4){const _0x1dc26c=_0xb22c3f;var _0x3e3bbf,_0x2e1d51;let _0x45aa5d=await this[_0x1dc26c(0x12f)](_0x20fce7);if(!_0x45aa5d)return;let _0x32c6ce=await this[_0x1dc26c(0x1fd)](_0x45aa5d,0x2,_0x48d84b,_0x5e7aa4);if(!_0x32c6ce)return;this[_0x1dc26c(0x112)]=_0x32c6ce,this['_requestService'][_0x1dc26c(0x13d)]();let _0x567205=await this[_0x1dc26c(0x1e2)][_0x1dc26c(0x163)](_0x32c6ce)[_0x1dc26c(0x11f)](_0x2bd763=>{const _0x3907dc=_0x1dc26c;var _0x2d249d;let _0x2901cd=_0x2bd763 instanceof Error?_0x2bd763['message']:(_0x2d249d=_0x2bd763['error'])==null?void 0x0:_0x2d249d[_0x3907dc(0x135)];this[_0x3907dc(0x1be)][_0x3907dc(0x11a)]({'error':{'code':_0x119cf9[_0x3907dc(0x1e1)],'message':_0x2901cd||''},'state':0x3});});if(!_0x567205)return;let _0x1a2520=(_0x3e3bbf=_0x567205[_0x1dc26c(0x146)])==null?void 0x0:_0x3e3bbf[_0x1dc26c(0x1db)],_0x4eb497=((_0x2e1d51=_0x567205[_0x1dc26c(0x146)])==null?void 0x0:_0x2e1d51[_0x1dc26c(0x16a)])||'';if(_0x1a2520!==0x2){this['_requestState$']['next']({'error':{'code':_0x119cf9['UNRECOGNIZED'],'message':_0x1dc26c(0xfe)},'state':0x3});return;}if(_0x4eb497['length']===0x0){this[_0x1dc26c(0x1be)][_0x1dc26c(0x11a)]({'error':{'code':_0x119cf9[_0x1dc26c(0x1e1)],'message':_0x1dc26c(0x214)},'state':0x3});return;}this[_0x1dc26c(0x1be)][_0x1dc26c(0x11a)]({'error':_0x567205[_0x1dc26c(0x1b9)],'state':0x3});let _0x91e6c0=await this[_0x1dc26c(0x1fe)](_0x4eb497);if(!_0x91e6c0)return;let _0x103d98=await this[_0x1dc26c(0x1e2)][_0x1dc26c(0x229)](_0x91e6c0);if(!_0x103d98){this['_requestState$'][_0x1dc26c(0x11a)]({'error':{'code':_0x119cf9[_0x1dc26c(0x1e1)],'message':_0x1dc26c(0x194)},'state':0x5});return;}try{let _0x39f4a9=JSON['parse'](_0x103d98);return this[_0x1dc26c(0x1be)][_0x1dc26c(0x11a)]({'error':{'code':_0x119cf9['OK'],'message':_0x1dc26c(0x187)},'state':0x5}),_0x39f4a9;}catch{this[_0x1dc26c(0x1be)][_0x1dc26c(0x11a)]({'error':{'code':_0x119cf9['UNRECOGNIZED'],'message':_0x1dc26c(0x22f)},'state':0x5});}}async[_0xb22c3f(0x1c1)](_0x55bba4,_0x5cecdc,_0x550320,_0x3a79bb){const _0x560557=_0xb22c3f;let _0x17f26c=JSON[_0x560557(0x21e)](_0x55bba4),_0xeb5cf=_0x2be5b7['encode'](_0x17f26c),_0x5675a2=_0x47ffca(_0xeb5cf),_0x5e7d5a=_0xeb5cf[_0x560557(0x207)],_0x4017b9=He(_0x5675a2),_0x352814=await this[_0x560557(0x12f)](_0x4017b9,_0x5e7d5a,!0x0);if(_0x352814)return this['_export'](_0x352814,0x2,_0x5cecdc,_0x550320,_0x3a79bb);}async[_0xb22c3f(0x138)](_0xee5380,_0x483cc3,_0x4ffd6b,_0x13fccf,_0x21b2d0){const _0x2036fc=_0xb22c3f;var _0x15ae61;let _0x45bb48=await this[_0x2036fc(0x1e2)][_0x2036fc(0xf1)]({..._0x483cc3===0x1?{'unitID':_0xee5380}:{'jsonID':_0xee5380},'type':_0x4ffd6b,'format':_0x13fccf,'options':_0x21b2d0});if(!_0x45bb48){this['_requestState$'][_0x2036fc(0x11a)]({'error':{'code':_0x119cf9[_0x2036fc(0x1e1)],'message':_0x2036fc(0x1f8)},'state':0x2});return;}if(this[_0x2036fc(0x1be)]['next']({'error':_0x45bb48['error'],'state':0x2}),_0x45bb48[_0x2036fc(0x1b9)]&&_0x45bb48['error'][_0x2036fc(0x100)]!==_0x119cf9['OK'])return;let _0x3a73ea=_0x45bb48[_0x2036fc(0x137)],_0x3f4146=await this[_0x2036fc(0x1e2)][_0x2036fc(0x163)](_0x3a73ea)[_0x2036fc(0x11f)](_0x27c516=>{const _0x3b75ac=_0x2036fc;var _0x5c52af;let _0x14a0d5=_0x27c516 instanceof Error?_0x27c516['message']:(_0x5c52af=_0x27c516[_0x3b75ac(0x1b9)])==null?void 0x0:_0x5c52af[_0x3b75ac(0x135)];this[_0x3b75ac(0x1be)][_0x3b75ac(0x11a)]({'error':{'code':_0x119cf9['UNRECOGNIZED'],'message':_0x14a0d5||''},'state':0x3});});if(!_0x3f4146)return;let _0x388ae5=((_0x15ae61=_0x3f4146['export'])==null?void 0x0:_0x15ae61[_0x2036fc(0x158)])||'';if(_0x388ae5[_0x2036fc(0x207)]===0x0){this['_requestState$'][_0x2036fc(0x11a)]({'error':{'code':_0x119cf9['UNRECOGNIZED'],'message':'Failed\x20to\x20get\x20fileID\x20from\x20task'},'state':0x3});return;}this[_0x2036fc(0x1be)][_0x2036fc(0x11a)]({'error':_0x3f4146[_0x2036fc(0x1b9)],'state':0x3});let _0x42d645=await this['_signUrl'](_0x388ae5);if(!_0x42d645)return;let _0x4668fe=await Be(_0x42d645,this[_0x2036fc(0x22b)]);if(!_0x4668fe){this[_0x2036fc(0x1be)]['next']({'error':{'code':_0x119cf9['UNRECOGNIZED'],'message':_0x2036fc(0x1c2)},'state':0x6});return;}return this['_requestState$']['next']({'error':{'code':_0x119cf9['OK'],'message':_0x2036fc(0x187)},'state':0x6}),_0x4668fe;}async[_0xb22c3f(0x12f)](_0x210606,_0x4347a5,_0x2dc0a1){const _0xa7cc5f=_0xb22c3f;let _0x95fcb6;try{_0x95fcb6=await this[_0xa7cc5f(0x1e2)][_0xa7cc5f(0x180)](_0x210606,_0x4347a5,_0x2dc0a1);}catch(_0x393d58){let _0x394f5c=_0x393d58 instanceof Error?_0x393d58[_0xa7cc5f(0x135)]:String(_0x393d58);this[_0xa7cc5f(0x1be)][_0xa7cc5f(0x11a)]({'error':{'code':_0x119cf9[_0xa7cc5f(0x1e1)],'message':_0x394f5c},'state':0x0});return;}if(!_0x95fcb6||typeof _0x95fcb6[_0xa7cc5f(0x191)]!='string'){this['_requestState$'][_0xa7cc5f(0x11a)]({'error':{'code':_0x119cf9['UNRECOGNIZED'],'message':'upload\x20failed:\x20missing\x20FileId\x20in\x20response'},'state':0x0});return;}let _0x4adae8=_0x95fcb6[_0xa7cc5f(0x191)];if(_0x4adae8[_0xa7cc5f(0x207)]===0x0){this[_0xa7cc5f(0x1be)]['next']({'error':{'code':_0x119cf9[_0xa7cc5f(0x1e1)],'message':_0xa7cc5f(0x14c)},'state':0x0});return;}return this[_0xa7cc5f(0x1be)]['next']({'error':{'code':_0x119cf9['OK'],'message':_0xa7cc5f(0x187)},'state':0x0}),_0x4adae8;}async['_import'](_0x27ada2,_0x36f21b,_0x566e17,_0x2fa0bc){const _0x19f8e0=_0xb22c3f;let _0x21bbe7={'fileID':_0x27ada2,'type':_0x566e17,'outputType':_0x36f21b,'options':_0x2fa0bc},_0x1185f1=await this[_0x19f8e0(0x1e2)][_0x19f8e0(0x146)](_0x21bbe7);if(!_0x1185f1){this[_0x19f8e0(0x1be)]['next']({'error':{'code':_0x119cf9[_0x19f8e0(0x1e1)],'message':_0x19f8e0(0x10c)},'state':0x1});return;}if(_0x1185f1[_0x19f8e0(0x1b9)]&&_0x1185f1['error'][_0x19f8e0(0x100)]!==_0x119cf9['OK']){this[_0x19f8e0(0x1be)]['next']({'error':_0x1185f1[_0x19f8e0(0x1b9)],'state':0x1});return;}let _0x4e0b40=_0x1185f1[_0x19f8e0(0x137)];if(_0x4e0b40['length']===0x0){this['_requestState$'][_0x19f8e0(0x11a)]({'error':{'code':_0x119cf9['UNRECOGNIZED'],'message':_0x19f8e0(0x166)},'state':0x1});return;}return this[_0x19f8e0(0x1be)][_0x19f8e0(0x11a)]({'error':_0x1185f1['error'],'state':0x1}),_0x4e0b40;}async[_0xb22c3f(0x1fe)](_0xab4ab1){const _0x1566c8=_0xb22c3f;let _0x2e04c5=await this[_0x1566c8(0x1e2)][_0x1566c8(0x204)](_0xab4ab1);if(!_0x2e04c5){this[_0x1566c8(0x1be)][_0x1566c8(0x11a)]({'error':{'code':_0x119cf9[_0x1566c8(0x1e1)],'message':_0x1566c8(0x10e)},'state':0x4});return;}if(_0x2e04c5[_0x1566c8(0x1b9)]&&_0x2e04c5['error']['code']!==_0x119cf9['OK']){this[_0x1566c8(0x1be)][_0x1566c8(0x11a)]({'error':_0x2e04c5['error'],'state':0x4});return;}let _0x2f368b=_0xb5c1f8(_0x2e04c5[_0x1566c8(0xfd)],this[_0x1566c8(0x215)]());if(_0x2f368b[_0x1566c8(0x207)]===0x0){this[_0x1566c8(0x1be)][_0x1566c8(0x11a)]({'error':{'code':_0x119cf9['UNRECOGNIZED'],'message':_0x1566c8(0x10e)},'state':0x4});return;}return this['_requestState$']['next']({'error':_0x2e04c5[_0x1566c8(0x1b9)],'state':0x4}),_0x2f368b;}[_0xb22c3f(0x215)](){const _0x26adfa=_0xb22c3f;let _0x3bef8b=this[_0x26adfa(0x144)]['getConfig'](O);return(_0x3bef8b==null?void 0x0:_0x3bef8b[_0x26adfa(0x223)])??location[_0x26adfa(0x1e4)];}};J=U([H(0x0,_0x5f3cc3),H(0x1,_0xef64f2(_0x2e0a65)),H(0x2,_0xef64f2($e))],J);const it={'done':0x0,'count':0x0},Y=_0x1f411c(_0xb22c3f(0x19f));let X=class extends _0x2040d3{constructor(_0x4abd7d,_0xc3bb5d,_0x1fe396,_0x2cabd3,_0x2f5781,_0x4f1ba8){const _0x75469=_0xb22c3f;super(),this['_univerInstanceService']=_0x4abd7d,this[_0x75469(0x167)]=_0xc3bb5d,this['_localeService']=_0x1fe396,this[_0x75469(0x1ec)]=_0x2cabd3,this['_uploadNotificationService']=_0x2f5781,this[_0x75469(0x15a)]=_0x4f1ba8,V(this,'_progress$',new _0x5c4032(it)),V(this,'progress$',this[_0x75469(0x125)][_0x75469(0x1e8)]()),V(this,_0x75469(0x1a4),0x0),V(this,_0x75469(0xef),0x0),V(this,_0x75469(0xec),!0x1),V(this,'_lastUnitImportContext',null),this[_0x75469(0x154)](_0x2a0974(this[_0x75469(0x1ec)][_0x75469(0x1c9)][_0x75469(0x13c)](_0x90de3f=>{const _0x2098cf=_0x75469;var _0x1e1fae;((_0x1e1fae=_0x90de3f['error'])==null?void 0x0:_0x1e1fae['code'])===_0x119cf9['OK']?this[_0x2098cf(0x1bb)](0x1):this[_0x2098cf(0x1a0)](_0x90de3f['error']);})));}[_0xb22c3f(0x205)](){const _0x2645c9=_0xb22c3f;this[_0x2645c9(0x181)](),this[_0x2645c9(0x15c)]['updateState'](0x2),this[_0x2645c9(0x1ec)][_0x2645c9(0x222)]();}async[_0xb22c3f(0x197)](_0x17b00d,_0x89f44b){const _0x25aa30=_0xb22c3f;if(this[_0x25aa30(0xec)]||this[_0x25aa30(0xe7)]()){this[_0x25aa30(0x167)]['show']({'type':_0x12993f['Warning'],'content':this[_0x25aa30(0x119)]['t']('exchange-client.uploading')});return;}let _0x134ea4;this[_0x25aa30(0xec)]=!0x0;try{_0x134ea4=await z([_0x17b00d]);}finally{this['_isSelectingUnitImportFile']=!0x1;}if(_0x134ea4&&!this[_0x25aa30(0x155)](_0x134ea4,_0x17b00d))return this[_0x25aa30(0x10f)]={'type':_0x17b00d,'importer':_0x89f44b},this[_0x25aa30(0x168)](_0x134ea4[0x0],_0x17b00d,_0x89f44b);}async['retryImportFileToUnitId'](){const _0x4ee41a=_0xb22c3f;let _0x9edc6f=this[_0x4ee41a(0x10f)];if(_0x9edc6f)return this[_0x4ee41a(0x197)](_0x9edc6f[_0x4ee41a(0x190)],_0x9edc6f['importer']);}async[_0xb22c3f(0x22d)](_0x4e62ea,_0x33bc51){const _0x484287=_0xb22c3f;if(this[_0x484287(0xe7)]()){this[_0x484287(0x167)][_0x484287(0x151)]({'type':_0x12993f[_0x484287(0x1e7)],'content':this['_localeService']['t']('exchange-client.uploading')});return;}let _0x2a4bcf=await z([_0x4e62ea]);if(!_0x2a4bcf||this[_0x484287(0x155)](_0x2a4bcf,_0x4e62ea))return;this[_0x484287(0x18e)](_0x12993f[_0x484287(0x171)]);let _0x42bda4=await _0x33bc51(_0x2a4bcf[0x0]);_0x42bda4&&(this[_0x484287(0x209)](_0x4e62ea,_0x42bda4),this[_0x484287(0x18e)](_0x12993f[_0x484287(0x1e0)]));}async['importFileAsSnapshot'](_0x494bed,_0x448fb3){const _0x593cb6=_0xb22c3f;if(this[_0x593cb6(0xe7)]()){this[_0x593cb6(0x167)]['show']({'type':_0x12993f[_0x593cb6(0x1e7)],'content':this['_localeService']['t']('exchange-client.uploading')});return;}let _0x100b12=await z([_0x494bed]);if(!_0x100b12||this[_0x593cb6(0x155)](_0x100b12,_0x494bed))return;this['_showUploadMessage'](_0x12993f['Info']);let _0x56848c=await _0x448fb3(_0x100b12[0x0]);if(_0x56848c)return this[_0x593cb6(0x18e)](_0x12993f[_0x593cb6(0x1e0)]),_0x56848c;}async[_0xb22c3f(0x129)](_0x4e9357,_0x57c5db,_0x24fac3){const _0x419fee=_0xb22c3f;this['_showDownloadMessage'](_0x12993f[_0x419fee(0x171)]);let _0x2450f7=await _0x4e9357();_0x2450f7&&(this[_0x419fee(0x1ec)]['downloadFile'](_0x2450f7,_0x57c5db||_0x2450f7[_0x419fee(0x105)][_0x419fee(0x177)]('.')['shift']()||document[_0x419fee(0x1a7)],_0x24fac3),this['_showDownloadMessage'](_0x12993f[_0x419fee(0x1e0)]));}[_0xb22c3f(0x14a)](_0x5a66bd){const _0x105ea0=_0xb22c3f;this[_0x105ea0(0x1bd)]=_0x5a66bd;}async['_importFileToUnitId'](_0x23db40,_0x5b0e8f,_0x2407eb){const _0x4e7196=_0xb22c3f;this['_uploadNotificationService']['show'](),this[_0x4e7196(0x15c)]['updateState'](0x0),this[_0x4e7196(0x118)](0x4),this[_0x4e7196(0x1bb)](0x1);let _0x41aa79=await _0x2407eb(_0x23db40);if(!_0x41aa79){this[_0x4e7196(0x181)](),this[_0x4e7196(0x15c)][_0x4e7196(0x1fc)](0x2);return;}let _0x50857b={'link':this['_getLinkByUnitId'](_0x41aa79,_0x5b0e8f),'name':_0x23db40[_0x4e7196(0x105)],'type':_0x5b0e8f};return this[_0x4e7196(0x15c)][_0x4e7196(0x1c8)](_0x50857b),this[_0x4e7196(0x116)](),this['_uploadNotificationService']['updateState'](0x1),_0x41aa79;}[_0xb22c3f(0x209)](_0x54f386,_0x365cbc){const _0x4e281f=_0xb22c3f;let _0x5cad1a=this['_univerInstanceService'][_0x4e281f(0xf6)](_0x54f386);if(!_0x5cad1a)throw Error(_0x4e281f(0x1cf)+_0x54f386+_0x4e281f(0x1b8));this['_univerInstanceService'][_0x4e281f(0x20c)](_0x5cad1a['getUnitId']());let _0x17b17a=this[_0x4e281f(0x1ce)][_0x4e281f(0x14d)](_0x54f386,_0x365cbc);this['_univerInstanceService']['focusUnit'](_0x17b17a[_0x4e281f(0x131)]());}['_getLinkByUnitId'](_0x5ea560,_0x3cd9d6){const _0x260c18=_0xb22c3f;let _0x346dde=new URL(window[_0x260c18(0x1f6)]['href']);return _0x346dde[_0x260c18(0x1f9)]['set'](_0x260c18(0x160),_0x5ea560),_0x346dde[_0x260c18(0x1f9)]['set'](_0x260c18(0x190),''+_0x3cd9d6),_0x346dde[_0x260c18(0xff)]();}['_showNetworkError'](_0x111019){const _0x5d24fb=_0xb22c3f;if(_0x111019){let {code:_0x49b98a}=_0x111019;switch(_0x49b98a){case _0x119cf9['CONNECTOR_DATA_TOO_LARGE']:this[_0x5d24fb(0x167)]['show']({'type':_0x12993f[_0x5d24fb(0x107)],'content':this[_0x5d24fb(0x119)]['t'](_0x5d24fb(0x231))});break;case _0x119cf9[_0x5d24fb(0x1d8)]:this['_messageService'][_0x5d24fb(0x151)]({'type':_0x12993f[_0x5d24fb(0x107)],'content':this['_localeService']['t'](_0x5d24fb(0x236))});break;default:this[_0x5d24fb(0x167)][_0x5d24fb(0x151)]({'type':_0x12993f[_0x5d24fb(0x107)],'content':this['_localeService']['t'](_0x5d24fb(0x127))});break;}return null;}return this[_0x5d24fb(0x167)][_0x5d24fb(0x151)]({'type':_0x12993f['Error'],'content':this[_0x5d24fb(0x119)]['t'](_0x5d24fb(0x127))}),null;}['_showDownloadMessage'](_0x169ed7){const _0x106465=_0xb22c3f;let _0x1f6ed3='';switch(_0x169ed7){case _0x12993f['Success']:_0x1f6ed3=this[_0x106465(0x119)]['t'](_0x106465(0x19b));break;case _0x12993f[_0x106465(0x171)]:_0x1f6ed3=this[_0x106465(0x119)]['t'](_0x106465(0x19d));break;default:break;}this[_0x106465(0x167)]['show']({'type':_0x169ed7,'content':_0x1f6ed3});}[_0xb22c3f(0x18e)](_0x559bd4){const _0x139b44=_0xb22c3f;let _0x19feb8='';switch(_0x559bd4){case _0x12993f[_0x139b44(0x1e0)]:_0x19feb8=this['_localeService']['t'](_0x139b44(0x1ac));break;case _0x12993f[_0x139b44(0x171)]:_0x19feb8=this[_0x139b44(0x119)]['t'](_0x139b44(0x124));break;default:break;}this[_0x139b44(0x167)][_0x139b44(0x151)]({'type':_0x559bd4,'content':_0x19feb8});}[_0xb22c3f(0x225)](){const _0x26c6b4=_0xb22c3f;this[_0x26c6b4(0x125)]['next']({'done':this[_0x26c6b4(0xef)],'count':this[_0x26c6b4(0x1a4)]});}[_0xb22c3f(0x118)](_0x41ea57){const _0x55da7b=_0xb22c3f;this[_0x55da7b(0x1a4)]+=_0x41ea57,this[_0x55da7b(0x225)]();}[_0xb22c3f(0x1bb)](_0x42ecba){const _0x12e48e=_0xb22c3f;this[_0x12e48e(0xef)]+=_0x42ecba,this[_0x12e48e(0xef)]=Math[_0x12e48e(0x15e)](this[_0x12e48e(0xef)],this['_totalUploadTaskCount']),this[_0x12e48e(0x225)]();}[_0xb22c3f(0x116)](){const _0x56dc4e=_0xb22c3f;this[_0x56dc4e(0xef)]=this[_0x56dc4e(0x1a4)],this[_0x56dc4e(0x225)]();}['_clearProgress'](){const _0x39371b=_0xb22c3f;this[_0x39371b(0xef)]=0x0,this[_0x39371b(0x1a4)]=0x0,this[_0x39371b(0x225)]();}[_0xb22c3f(0x155)](_0x2cef00,_0x52c4af){const _0xf113e7=_0xb22c3f;let _0x4cd9d7=_0x2cef00[0x0],_0x25fa88=_0x4cd9d7[_0xf113e7(0x105)];return ze(_0x4cd9d7,_0x52c4af)?!0x1:(this[_0xf113e7(0x167)][_0xf113e7(0x151)]({'type':_0x12993f['Error'],'content':this['_localeService']['t'](_0xf113e7(0xf7),_0x25fa88)}),!0x0);}[_0xb22c3f(0xe7)](){const _0x34e9b8=_0xb22c3f;return this[_0x34e9b8(0x1a4)]!==0x0&&this['_doneUploadTaskCount']!==this[_0x34e9b8(0x1a4)];}};X=U([H(0x0,_0xef64f2(_0x5ad51b)),H(0x1,_0x3c6397),H(0x2,_0xef64f2(_0x1cbbed)),H(0x3,_0xef64f2(q)),H(0x4,_0xef64f2(K)),H(0x5,_0x58e207)],X);function at(_0x120325){const _0x26b0f6=_0xb22c3f;let {onClick:_0x11d9e2,children:_0x4969ed,className:_0x42aade}=_0x120325;return _0x31faf1(_0x26b0f6(0xee),{'className':_0x50a5b0('univer-h-7\x20univer-cursor-pointer\x20univer-select-none\x20univer-rounded-md\x20univer-border-0\x20univer-border-transparent\x20univer-bg-transparent\x20univer-px-2\x20univer-py-0\x20univer-text-sm\x20univer-text-primary-600\x20univer-transition-all\x20univer-duration-150\x20hover:univer-bg-primary-50',_0x42aade),'type':_0x26b0f6(0xee),'onClick':_0x11d9e2,'children':_0x4969ed});}function Z(){const _0x1fbd73=_0xb22c3f;let _0x139b52=_0x20f799(Y),_0x336e31=_0x20f799(_0x1cbbed);function _0x467818(){const _0x29e2f4=_0xbd3a;return _0x139b52[_0x29e2f4(0x174)]();}return _0x31faf1(at,{'onClick':_0x467818,'children':_0x336e31['t'](_0x1fbd73(0x1d9))});}function ot(){const _0x34edfc=_0xb22c3f;return _0x2a60ab('div',{'className':_0x34edfc(0x170),'children':[_0x31faf1(_0x34edfc(0x111),{'className':_0x34edfc(0x16c),'children':_0x20f799(_0x1cbbed)['t'](_0x34edfc(0xe6))}),_0x31faf1(Z,{})]});}function st(_0x16df88){const _0x459914=_0xb22c3f;let {count:_0x4b95ac}=_0x16df88;return _0x2a60ab(_0x459914(0x156),{'className':_0x459914(0x217),'children':[_0x31faf1(_0x459914(0x111),{'className':_0x459914(0x1cc),'children':_0x20f799(_0x1cbbed)['t'](_0x459914(0x193),''+_0x4b95ac)}),_0x31faf1(Z,{})]});}function ct(){let _0x130c8f=_0x20f799(Y),_0x48692f=_0x20f799(_0x1cbbed);function _0x33c014(){const _0x21f53=_0xbd3a;_0x130c8f[_0x21f53(0x205)]();}return _0x31faf1(at,{'onClick':_0x33c014,'children':_0x48692f['t']('exchange-client.cancel')});}function _0x4122(){const _0x44c429=['_completeProgress','getTaskServerUrl','_addTotalCount','_localeService','next','_getImportURL','packageName','_buildProtocolErrorMessage','fail','catch','map','_sheetBlockCache','univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden','change','exchange-client.uploading','_progress$','univer-flex\x20univer-size-6\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-text-2xl','exchange-client.networkError','values','exportFile','number','CSV','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','call','saveChangeset','_upload','\x20-\x20','getUnitId','1.0.0-beta.0','?size=','exchange-client.config','message','univer-flex\x20univer-h-5\x20univer-text-xl','taskID','_export','auto','504ObFSXM','JSON','subscribe','clearTaskInterrupted','Error\x20fetching\x20file\x20from\x20URL:','UNIT','_componentManager','version','_injector','_iconManager','_configService','ppt','import','primary','unitID','docx','registerLink','XLSX','upload\x20failed:\x20FileId\x20is\x20empty','createUnit','upload\x20request\x20failed','string','blockID','show','copyFileMeta','TEXT','disposeWithMe','_fileTypeError','div','list$','fileID','function','_logService','28782NXlyQc','_uploadNotificationService','files','min','Content-Type','unit','csv','{type}','getTask','getConfig','tables','Failed\x20to\x20get\x20taskID\x20from\x20import\x20response','_messageService','_importFileToUnitId','current','jsonID','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','univer-mb-3\x20univer-py-0\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','isArray','saveSnapshot','has','univer-mt-5\x20univer-flex\x20univer-flex-col','Info','_getExportURL','156MiXifb','retryImportFileToUnitId','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','xls','split','exportFileByUnitId','data','hide','_state$','exchange-client.unknownMistake','multiple','UNDEFINED','body','upload','_clearProgress','_getTaskURL','16974lBEkqO','statusText','default','application/octet-stream','success','state$','application/json','getResourcesRequest','_extractErrorDetail','115049qoOKJg','sheets','_showUploadMessage','includes','type','FileId','_buildHttpErrorMessage','exchange-client.uploadSuccessTip','Failed\x20to\x20get\x20text\x20from\x20url','UNIVER_DOC','cancel','importFileToUnitId','exchange-client.confirm','application/vnd.ms-excel','_uiPartsService','exchange-client.downloadSuccess','decode','exchange-client.downloading','decorate','univer-pro.exchange-client.operate.service','_showNetworkError','href','hybrid','style','_totalUploadTaskCount','downloadFile','none','title','UNIVER_SHEET','join','_getMaxPollingTime','UNIVER_SLIDE','exchange-client.uploadSuccess','trim','{fileID}','iterator','2342184FrnBNn','text/csv','set','post','431123NkqNnl','setTaskInterrupted','workbook','&source=','\x20is\x20currently\x20active.','error','application/vnd.openxmlformats-officedocument.wordprocessingml.document','_addDoneTask','getLatestCsReqIdBySid','_getLinkByUnitId','_requestState$','pending','univer-w-48','_exportBySnapshot','Failed\x20to\x20get\x20file\x20from\x20url','object','univer-pl-2\x20univer-pr-4','append','done','prototype','pushLink','requestState$','saveSheetBlock','univer-flex\x20univer-flex-col\x20univer-gap-5\x20univer-p-1','univer-text-sm\x20univer-text-gray-500','parse','_univerInstanceService','No\x20unit\x20of\x20type\x20','4nvBmgq','HttpImport','UNIVER_PDF','_registerUIParts','application/vnd.openxmlformats-officedocument.presentationml.presentation','symbol','univer-pro.exchange-client.upload-notification.service','forEach','INTERNAL_ERROR','exchange-client.uploadAgain','filter','outputType','resolve','univer-flex\x20univer-justify-end\x20univer-gap-2','/universer-api/stream/file/upload','progress$','Success','UNRECOGNIZED','_requestService','_getUploadFileURL','origin','230RfisRC','univer-text-green-500','Warning','asObservable',':\x20HTTP\x20','tsv','{taskID}','_exchangeService','/universer-api/exchange/{type}/export','univer-flex\x20univer-justify-between\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-py-1\x20univer-text-gray-900\x20univer-no-underline\x20univer-outline-none\x20univer-transition-colors\x20hover:univer-bg-gray-200\x20dark:!univer-text-white\x20dark:hover:!univer-bg-gray-600','file.json','status','noreferrer','removeChild','167360jENNbM','_taskInterrupted','application/pdf','location','univer-ml-1.5\x20univer-font-semibold\x20univer-text-gray-900\x20dark:!univer-text-white','export\x20error','searchParams','univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','clear','updateState','_import','_signUrl','DOCX','file.','replace','TABLES','getSheetBlock','signUrl','interrupt','toLowerCase','length','text','_refreshUnit','floor','UNIVER_EXCHANGE_CLIENT_PLUGIN','disposeUnit','complete','&flate=','getDeserializedSheetBlock','isUnitLoadedFromServer','univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','univer-flex\x20univer-flex-col\x20univer-gap-4','visible$','Failed\x20to\x20get\x20jsonID\x20from\x20task','_getDownloadEndpointURL','CONTENT','univer-mt-3\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-2\x20univer-pr-1','AUTO','25697CQsYFa','setConfig','TSV','onReady','originalMeta','stringify','FAIL','get','pluginName','interruptImportTask','downloadEndpointUrl','defineProperty','_emitProgress','createObjectURL','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2','univer-animate-spin','getTextFromUrl','6KfNngu','_httpService','univer-text-blue-500','importFileToSnapshot','SHEETS','Failed\x20to\x20parse\x20json','doc','exchange-client.tooLarge','_visible$','match','/universer-api/exchange/task/{taskID}','input','exchange-client.internalError','Failed\x20to\x20get\x20unitID\x20from\x20task','pptx','createElement','exchange-client.interrupt','_uploadTaskNotDone','univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','buffer','file','UNIVER_BASE','_isSelectingUnitImportFile','univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','button','_doneUploadTaskCount','getOwnPropertyDescriptor','export','revokeObjectURL','_config','pop','addEventListener','getCurrentUnitOfType','exchange-client.fileTypeError','keys','toUpperCase','application/msword','pathname','_list$','url','Get\x20outputType\x20error','toString','code','headers','univer-pro.exchange-client.request.service','_importToJson','click','name','entries','Error','RANGES','upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url','dispose','xlsx','import\x20error','univer-w-10','sign\x20url\x20error','_lastUnitImportContext','pdf','span','_importTaskId','/universer-api/exchange/{type}/import','application/vnd.ms-powerpoint','univer-pro.exchange-client.exchange.service'];_0x4122=function(){return _0x44c429;};return _0x4122();}function lt(){const _0x57e9da=_0xb22c3f;let {count:_0x390845,done:_0x4062b4}=_0x28b3a6(_0x20f799(Y)[_0x57e9da(0x1df)]),_0x2e4677=_0x390845>0x0?_0x4062b4/_0x390845:0x0;return _0x31faf1(_0x57e9da(0x156),{'className':'univer-mx-0\x20univer-mb-3\x20univer-mt-4\x20univer-h-1.5\x20univer-w-[324px]\x20univer-rounded-lg\x20univer-bg-gray-200','children':_0x31faf1(_0x57e9da(0x156),{'className':_0x57e9da(0x211),'style':{'width':Math[_0x57e9da(0x20a)](_0x2e4677*0x64)+'%'}})});}function ut(){const _0x322b8d=_0xb22c3f;return _0x2a60ab('div',{'className':_0x322b8d(0x170),'children':[_0x31faf1(_0x322b8d(0x111),{'className':'univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0x20f799(_0x1cbbed)['t']('exchange-client.wait')}),_0x31faf1(_0x322b8d(0x156),{'className':_0x322b8d(0x1c4),'children':_0x31faf1(lt,{})}),_0x31faf1(ct,{})]});}const dt={0x1:_0x31faf1(_0x977a80,{'className':_0xb22c3f(0x1e6)}),0x0:_0x31faf1(_0x4cda26,{'className':_0xb22c3f(0x22c)}),0x2:_0x31faf1(_0x545137,{'className':'univer-text-red-500'})};function ft(){const _0x4e4bf0=_0xb22c3f;let _0x4a6ce7=_0x20f799(K),_0x21697a=_0x20f799(_0x1cbbed),_0x2f4ed7=_0x28b3a6(_0x4a6ce7[_0x4e4bf0(0x188)],0x0),_0x4dc7d8=_0x28b3a6(_0x4a6ce7[_0x4e4bf0(0x213)],!0x1),_0x18edbe=_0x28b3a6(_0x4a6ce7[_0x4e4bf0(0x157)],[]);function _0x5e80c4(){const _0x41f34b=_0x4e4bf0;_0x4a6ce7[_0x41f34b(0x17a)]();}function _0x56155d(_0x1b94a0){const _0x4c0e2d=_0x4e4bf0;switch(_0x1b94a0){case 0x1:return _0x21697a['t'](_0x4c0e2d(0x1ac));case 0x0:return _0x21697a['t'](_0x4c0e2d(0x124));case 0x2:return _0x21697a['t'](_0x4c0e2d(0x17c));default:return'';}}return _0x4dc7d8&&_0x2a60ab(_0x4e4bf0(0x156),{'className':'univer-fixed\x20univer-bottom-12\x20univer-right-3\x20univer-z-[1000]\x20univer-box-border\x20univer-flex\x20univer-w-[372px]\x20univer-flex-col\x20univer-rounded-md\x20univer-bg-white\x20univer-px-3\x20univer-pb-4\x20univer-pt-5\x20univer-shadow-md','children':[_0x2a60ab(_0x4e4bf0(0x156),{'className':_0x4e4bf0(0x227),'children':[_0x2a60ab(_0x4e4bf0(0x111),{'className':'univer-flex\x20univer-items-center','children':[_0x31faf1(_0x4e4bf0(0x111),{'className':_0x4e4bf0(0x126),'children':dt[_0x2f4ed7]}),_0x31faf1(_0x4e4bf0(0x111),{'className':_0x4e4bf0(0x1f7),'children':_0x56155d(_0x2f4ed7)})]}),_0x31faf1(_0x4e4bf0(0x111),{'className':_0x4e4bf0(0x16b),'onClick':_0x5e80c4,'children':_0x31faf1(_0xba5f11,{})})]}),_0x2a60ab(_0x4e4bf0(0x156),{'children':[_0x2f4ed7===0x0&&_0x31faf1(ut,{}),_0x2f4ed7===0x2&&_0x31faf1(ot,{}),_0x18edbe[_0x4e4bf0(0x207)]>0x0&&_0x31faf1(rt,{'list':_0x18edbe}),_0x2f4ed7===0x1&&_0x31faf1(st,{'count':_0x18edbe['length']})]})]});}let Q=class extends _0x2040d3{constructor(_0x1df60a,_0x8fb0fc){const _0x2d2e9b=_0xb22c3f;super(),this[_0x2d2e9b(0x142)]=_0x1df60a,this[_0x2d2e9b(0x19a)]=_0x8fb0fc,this[_0x2d2e9b(0x1d3)]();}[_0xb22c3f(0x1d3)](){const _0x417777=_0xb22c3f;this[_0x417777(0x154)](this['_uiPartsService']['registerComponent'](_0x34311b[_0x417777(0x216)],()=>_0x4c5168(ft,this[_0x417777(0x142)])));}};Q=U([H(0x0,_0xef64f2(_0x100b76)),H(0x1,_0x40f5d9)],Q);let $=class extends _0x1b02e6{constructor(_0x1a17c0=k,_0x5c628c,_0x1e5247){const _0x22b36d=_0xb22c3f;super(),this[_0x22b36d(0xf3)]=_0x1a17c0,this['_injector']=_0x5c628c,this['_configService']=_0x1e5247;let {..._0x125c01}=_0x25754e({},k,this['_config']);this[_0x22b36d(0x144)][_0x22b36d(0x21a)](O,_0x125c01);}['onStarting'](){_0x155a28(this['_injector'],[[G],[Q],[Y,{'useClass':X}],[q,{'useClass':J}],[$e,{'useClass':W}],[K,{'useClass':nt}]]);}[_0xb22c3f(0x21c)](){const _0x563074=_0xb22c3f;_0x5b774e(this[_0x563074(0x142)],[[G],[Q],[Y]]);}};V($,_0xb22c3f(0x221),_0xb22c3f(0x20b)),V($,_0xb22c3f(0x11c),Ne),V($,_0xb22c3f(0x141),Pe),$=U([_0x1037e7(_0x25b9dd,_0x9966dc),H(0x1,_0xef64f2(_0x100b76)),H(0x2,_0x5f3cc3)],$);function pt(_0x1fae54,_0x3d16d9){const _0x4dfa67=_0xb22c3f;let _0x43c2f1=_0x1fae54[_0x4dfa67(0x220)](_0x5ad51b)[_0x4dfa67(0xf6)](_0x3d16d9);return!_0x43c2f1||!_0x1fae54[_0x4dfa67(0x16f)](_0x58a593)||!_0x1fae54[_0x4dfa67(0x16f)](_0x5bf809)?!0x1:_0x1fae54[_0x4dfa67(0x220)](_0x58a593)[_0x4dfa67(0x210)](_0x43c2f1);}function mt(_0x477523){const _0x59efbe=_0xb22c3f;let _0x4ff05e=_0x477523[_0x59efbe(0x1b6)];if(!_0x4ff05e)return null;let _0x4d181c={};_0x4ff05e['sheets']&&Object[_0x59efbe(0xf8)](_0x4ff05e[_0x59efbe(0x18d)])[_0x59efbe(0x1d7)](_0x3cb9ba=>{const _0x270f9c=_0x59efbe;let _0x9d696a=_0x4ff05e['sheets'][_0x3cb9ba];_0x4d181c[_0x3cb9ba]={..._0x9d696a,'originalMeta':_0x5cd2ac(_0x535831[_0x270f9c(0x19c)](_0x9d696a[_0x270f9c(0x21d)]))};});let _0x3106eb=_0x5cd2ac(_0x535831[_0x59efbe(0x19c)](_0x4ff05e[_0x59efbe(0x21d)]));return{..._0x477523,'workbook':{..._0x4ff05e,'originalMeta':_0x3106eb,'sheets':_0x4d181c},'doc':{},'slide':void 0x0,'board':void 0x0,'pdf':void 0x0};}function ht(_0x4b7b05){let _0x1470e0={};return _0x4b7b05['forEach'](_0x3e41a0=>{const _0x444ee8=_0xbd3a;_0x1470e0[_0x3e41a0['id']]={..._0x3e41a0,'data':_0x5cd2ac(_0x535831['decode'](_0x3e41a0[_0x444ee8(0x179)]))};}),_0x1470e0;}var gt=class{constructor(){const _0x3eefe3=_0xb22c3f;V(this,_0x3eefe3(0x121),new Map());}['getUnitOnRev'](){const _0x47c7e5=_0xb22c3f;return Promise[_0x47c7e5(0x1dc)]({'snapshot':{'unitID':'','type':_0x7f45ac['UNIVER_SHEET'],'rev':0x0,'workbook':void 0x0,'doc':void 0x0,'slide':void 0x0,'board':void 0x0},'changesets':[],'error':{'code':_0x119cf9['OK'],'message':''}});}[_0xb22c3f(0x203)](_0x495ba0,_0x5dfaf3){const _0x38f14b=_0xb22c3f;let _0x5779f9=this[_0x38f14b(0x121)][_0x38f14b(0x220)](_0x5dfaf3[_0x38f14b(0x150)]);return Promise['resolve']({'block':_0x5779f9,'error':{'code':_0x119cf9['OK'],'message':''}});}[_0xb22c3f(0x20f)](_0x4eaeee,_0x95b7e5){const _0x6d92ab=_0xb22c3f;let _0x51897a=this[_0x6d92ab(0x121)][_0x6d92ab(0x220)](_0x95b7e5[_0x6d92ab(0x150)]);return Promise['resolve']({'block':_0x51897a===void 0x0?void 0x0:{..._0x51897a,'data':JSON[_0x6d92ab(0x1cd)](_0x535831[_0x6d92ab(0x19c)](_0x51897a['data']))},'error':{'code':_0x119cf9['OK'],'message':''}});}['fetchMissingChangesets'](){const _0x1c3212=_0xb22c3f;return Promise[_0x1c3212(0x1dc)]({'changesets':[],'error':{'code':_0x119cf9['OK'],'message':''}});}[_0xb22c3f(0x18a)](){const _0x23afe6=_0xb22c3f;return Promise[_0x23afe6(0x1dc)]({'resources':{},'error':{'code':_0x119cf9['OK'],'message':''}});}[_0xb22c3f(0x16e)](){const _0x3973ed=_0xb22c3f;return Promise[_0x3973ed(0x1dc)]({'error':{'code':_0x119cf9['OK'],'message':''}});}['updateSnapshot'](){const _0x555c24=_0xb22c3f;return Promise[_0x555c24(0x1dc)]({'error':{'code':_0x119cf9['OK'],'message':''}});}[_0xb22c3f(0x1ca)](_0x3868f0,_0x4d3ea9){const _0x4b0ea6=_0xb22c3f;let {block:_0x40abb8}=_0x4d3ea9;return _0x40abb8?(this[_0x4b0ea6(0x121)][_0x4b0ea6(0x1b2)](_0x40abb8['id'],_0x40abb8),Promise[_0x4b0ea6(0x1dc)]({'error':{'code':_0x119cf9['OK'],'message':''},'blockID':_0x40abb8['id']})):Promise[_0x4b0ea6(0x1dc)]({'error':{'code':_0x119cf9[_0x4b0ea6(0x17e)],'message':'block\x20is\x20required'},'blockID':''});}[_0xb22c3f(0x12e)](){return Promise['resolve']({'error':{'code':_0x119cf9['OK'],'message':''},'concurrent':[]});}[_0xb22c3f(0x152)](){const _0x3e00aa=_0xb22c3f;return Promise[_0x3e00aa(0x1dc)]({'error':void 0x0,'fileMetaId':''});}[_0xb22c3f(0x1bc)](){const _0x1ef3db=_0xb22c3f;return Promise[_0x1ef3db(0x1dc)]({'error':void 0x0,'latestReqID':0x0});}};export{gt as ClientSnapshotServerService,et as EXPORT_FORMAT_DIALOG,Qe as ExchangeBaseExportMode,Ze as ExchangeBaseFormulaPolicy,Xe as ExchangeBaseImportMode,Ye as ExchangeFormat,Y as IExchangeOperateService,q as IExchangeService,Je as ImportOutputType,$ as UniverExchangeClientPlugin,pt as isCurrentUnitLoadedFromServer,ht as transformSheetBlockMetaToString,mt as transformWorkbookSnapshotMetaToString};
@@ -1 +1 @@
1
- const _0x5ae3d0=_0x2ac6;function _0x1578(){const _0x3a8825=['1544hrGaLo','44678925ucZIqK','خطأ\x20غير\x20معروف','1868728lUvAWA','خطأ\x20في\x20الشبكة','جارٍ\x20الرفع','2871330gbPcsc','تم\x20رفع\x20{0}\x20ملف/ملفات\x20بنجاح','1704416gXRHgX','جارٍ\x20التحميل','4740165QGYlRQ','821860CUJYuy','إلغاء','يرجى\x20الانتظار...','15320SaXUhT','2XGicZz','تمت\x20مقاطعة\x20الاتصال\x20بالشبكة\x20وفشل\x20رفع\x20الملف','تم\x20التحميل\x20بنجاح','البيانات\x20كبيرة\x20جداً'];_0x1578=function(){return _0x3a8825;};return _0x1578();}(function(_0x40352b,_0x64668a){const _0x3f0e8a=_0x2ac6,_0x29b002=_0x40352b();while(!![]){try{const _0x1a247f=-parseInt(_0x3f0e8a(0x115))/0x1+parseInt(_0x3f0e8a(0x119))/0x2*(-parseInt(_0x3f0e8a(0x114))/0x3)+parseInt(_0x3f0e8a(0x11d))/0x4*(-parseInt(_0x3f0e8a(0x118))/0x5)+-parseInt(_0x3f0e8a(0x123))/0x6+parseInt(_0x3f0e8a(0x112))/0x7+-parseInt(_0x3f0e8a(0x120))/0x8+parseInt(_0x3f0e8a(0x11e))/0x9;if(_0x1a247f===_0x64668a)break;else _0x29b002['push'](_0x29b002['shift']());}catch(_0x487efd){_0x29b002['push'](_0x29b002['shift']());}}}(_0x1578,0xde6c8));const e={'exchange-client':{'uploading':_0x5ae3d0(0x122),'uploadSuccess':'تم\x20رفع\x20الملف\x20بنجاح','uploadSuccessTip':_0x5ae3d0(0x111),'downloading':_0x5ae3d0(0x113),'downloadSuccess':_0x5ae3d0(0x11b),'unknownMistake':_0x5ae3d0(0x11f),'networkError':_0x5ae3d0(0x121),'tooLarge':_0x5ae3d0(0x11c),'internalError':'خطأ\x20داخلي\x20غير\x20معروف','interrupt':_0x5ae3d0(0x11a),'fileTypeError':'نوع\x20الملف\x20المحدد\x20[{0}]\x20غير\x20مدعوم\x20للرفع','wait':_0x5ae3d0(0x117),'cancel':_0x5ae3d0(0x116),'uploadAgain':'إعادة\x20الرفع'}};function _0x2ac6(_0x655e83,_0x13aa91){_0x655e83=_0x655e83-0x111;const _0x15780d=_0x1578();let _0x2ac6f7=_0x15780d[_0x655e83];return _0x2ac6f7;}export{e as default};
1
+ const _0x67c506=_0x3e8b;function _0x3e8b(_0x3f2cf1,_0x19ec40){_0x3f2cf1=_0x3f2cf1-0x14e;const _0x88bc7=_0x88bc();let _0x3e8bc3=_0x88bc7[_0x3f2cf1];return _0x3e8bc3;}(function(_0x5ebb32,_0x3d06b3){const _0x444fb5=_0x3e8b,_0x2e40f4=_0x5ebb32();while(!![]){try{const _0xeb0525=parseInt(_0x444fb5(0x15c))/0x1*(parseInt(_0x444fb5(0x15e))/0x2)+-parseInt(_0x444fb5(0x165))/0x3*(parseInt(_0x444fb5(0x160))/0x4)+parseInt(_0x444fb5(0x150))/0x5+parseInt(_0x444fb5(0x161))/0x6*(parseInt(_0x444fb5(0x15f))/0x7)+parseInt(_0x444fb5(0x163))/0x8*(parseInt(_0x444fb5(0x157))/0x9)+-parseInt(_0x444fb5(0x152))/0xa*(parseInt(_0x444fb5(0x166))/0xb)+parseInt(_0x444fb5(0x14e))/0xc*(parseInt(_0x444fb5(0x15a))/0xd);if(_0xeb0525===_0x3d06b3)break;else _0x2e40f4['push'](_0x2e40f4['shift']());}catch(_0x2592c5){_0x2e40f4['push'](_0x2e40f4['shift']());}}}(_0x88bc,0x91570));function _0x88bc(){const _0x53d270=['تم\x20التحميل\x20بنجاح','خطأ\x20غير\x20معروف','البيانات\x20كبيرة\x20جداً','53838KURhVi','إعادة\x20الرفع','نوع\x20الملف\x20المحدد\x20[{0}]\x20غير\x20مدعوم\x20للرفع','65acVePU','إلغاء','1713CZqgTu','تمت\x20مقاطعة\x20الاتصال\x20بالشبكة\x20وفشل\x20رفع\x20الملف','452QZvNlz','28ERAbXF','172unngjQ','523812ZDKxFI','خطأ\x20داخلي\x20غير\x20معروف','536hNkYXl','تم\x20رفع\x20{0}\x20ملف/ملفات\x20بنجاح','69783IJWpvf','191543XsmEDp','232908mOoRSQ','تم\x20رفع\x20الملف\x20بنجاح','3722180nxpBAt','خطأ\x20في\x20الشبكة','220jsOkBE','يرجى\x20الانتظار...'];_0x88bc=function(){return _0x53d270;};return _0x88bc();}const e={'exchange-client':{'uploading':'جارٍ\x20الرفع','uploadSuccess':_0x67c506(0x14f),'uploadSuccessTip':_0x67c506(0x164),'downloading':'جارٍ\x20التحميل','downloadSuccess':_0x67c506(0x154),'unknownMistake':_0x67c506(0x155),'networkError':_0x67c506(0x151),'tooLarge':_0x67c506(0x156),'internalError':_0x67c506(0x162),'interrupt':_0x67c506(0x15d),'fileTypeError':_0x67c506(0x159),'wait':_0x67c506(0x153),'cancel':_0x67c506(0x15b),'confirm':'تأكيد','uploadAgain':_0x67c506(0x158)}};export{e as default};
@@ -1 +1 @@
1
- const _0x461ae8=_0x460c;function _0x16df(){const _0x39ac8a=['3506290hVQXNe','66otNQkt','El\x20fitxer\x20seleccionat\x20[{0}]\x20no\x20és\x20compatible\x20per\x20pujar','Pujant','11sxDYxv','La\x20connexió\x20de\x20xarxa\x20s\x27ha\x20interromput\x20i\x20la\x20pujada\x20del\x20fitxer\x20ha\x20fallat','142816TEwGfk','Fitxer\x20pujat\x20correctament','Descarregant','Descàrrega\x20correcta','Error\x20intern\x20desconegut','1cPzoGS','{0}\x20fitxer(s)\x20pujat(s)\x20correctament','Tornar\x20a\x20pujar','644784Eesgvn','Cancel·lar','4494564DWRjnb','1559068VbKfyv','7KnTwFs','1503602qEUYzf','120225zWdBHf'];_0x16df=function(){return _0x39ac8a;};return _0x16df();}(function(_0x39540c,_0x5d119e){const _0x1e1021=_0x460c,_0x49be8a=_0x39540c();while(!![]){try{const _0x331e0c=-parseInt(_0x1e1021(0xca))/0x1*(parseInt(_0x1e1021(0xd2))/0x2)+parseInt(_0x1e1021(0xcd))/0x3+parseInt(_0x1e1021(0xd0))/0x4+-parseInt(_0x1e1021(0xd3))/0x5*(parseInt(_0x1e1021(0xd5))/0x6)+parseInt(_0x1e1021(0xd1))/0x7*(-parseInt(_0x1e1021(0xda))/0x8)+parseInt(_0x1e1021(0xcf))/0x9+-parseInt(_0x1e1021(0xd4))/0xa*(-parseInt(_0x1e1021(0xd8))/0xb);if(_0x331e0c===_0x5d119e)break;else _0x49be8a['push'](_0x49be8a['shift']());}catch(_0x168bb4){_0x49be8a['push'](_0x49be8a['shift']());}}}(_0x16df,0x66adc));function _0x460c(_0x3a7d5d,_0x114063){_0x3a7d5d=_0x3a7d5d-0xca;const _0x16df4f=_0x16df();let _0x460cd3=_0x16df4f[_0x3a7d5d];return _0x460cd3;}const e={'exchange-client':{'uploading':_0x461ae8(0xd7),'uploadSuccess':_0x461ae8(0xdb),'uploadSuccessTip':_0x461ae8(0xcb),'downloading':_0x461ae8(0xdc),'downloadSuccess':_0x461ae8(0xdd),'unknownMistake':'Error\x20desconegut','networkError':'Error\x20de\x20xarxa','tooLarge':'Les\x20dades\x20són\x20massa\x20grans','internalError':_0x461ae8(0xde),'interrupt':_0x461ae8(0xd9),'fileTypeError':_0x461ae8(0xd6),'wait':'Espereu...','cancel':_0x461ae8(0xce),'uploadAgain':_0x461ae8(0xcc)}};export{e as default};
1
+ const _0x833d2b=_0x412e;function _0x14ef(){const _0x1838d4=['5287926BGEExM','6369130DEZsnM','2245dauYao','Espereu...','462810PDhgOm','10268nRKbHo','La\x20connexió\x20de\x20xarxa\x20s\x27ha\x20interromput\x20i\x20la\x20pujada\x20del\x20fitxer\x20ha\x20fallat','1208YepkOi','El\x20fitxer\x20seleccionat\x20[{0}]\x20no\x20és\x20compatible\x20per\x20pujar','499618rOGaOm','Tornar\x20a\x20pujar','Cancel·lar','593500zyVySU','Descàrrega\x20correcta','Error\x20desconegut','16893ZakplF','{0}\x20fitxer(s)\x20pujat(s)\x20correctament','Les\x20dades\x20són\x20massa\x20grans','Fitxer\x20pujat\x20correctament','12oYSmGp','Pujant','Confirmar','Error\x20intern\x20desconegut'];_0x14ef=function(){return _0x1838d4;};return _0x14ef();}(function(_0x4423c2,_0x338fea){const _0x45a7c0=_0x412e,_0x5f5c0a=_0x4423c2();while(!![]){try{const _0x37bc31=parseInt(_0x45a7c0(0x136))/0x1+parseInt(_0x45a7c0(0x139))/0x2*(-parseInt(_0x45a7c0(0x140))/0x3)+parseInt(_0x45a7c0(0x132))/0x4*(parseInt(_0x45a7c0(0x146))/0x5)+parseInt(_0x45a7c0(0x131))/0x6+-parseInt(_0x45a7c0(0x144))/0x7+-parseInt(_0x45a7c0(0x134))/0x8*(-parseInt(_0x45a7c0(0x13c))/0x9)+parseInt(_0x45a7c0(0x145))/0xa;if(_0x37bc31===_0x338fea)break;else _0x5f5c0a['push'](_0x5f5c0a['shift']());}catch(_0x47e98e){_0x5f5c0a['push'](_0x5f5c0a['shift']());}}}(_0x14ef,0xacaba));const e={'exchange-client':{'uploading':_0x833d2b(0x141),'uploadSuccess':_0x833d2b(0x13f),'uploadSuccessTip':_0x833d2b(0x13d),'downloading':'Descarregant','downloadSuccess':_0x833d2b(0x13a),'unknownMistake':_0x833d2b(0x13b),'networkError':'Error\x20de\x20xarxa','tooLarge':_0x833d2b(0x13e),'internalError':_0x833d2b(0x143),'interrupt':_0x833d2b(0x133),'fileTypeError':_0x833d2b(0x135),'wait':_0x833d2b(0x147),'cancel':_0x833d2b(0x138),'confirm':_0x833d2b(0x142),'uploadAgain':_0x833d2b(0x137)}};function _0x412e(_0x37023a,_0x19cd3d){_0x37023a=_0x37023a-0x131;const _0x14ef63=_0x14ef();let _0x412e29=_0x14ef63[_0x37023a];return _0x412e29;}export{e as default};