@univerjs-pro/exchange-client 1.0.0-alpha.4 → 1.0.0-alpha.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) 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.js +1 -1
  45. package/lib/locale/ar-SA.js +1 -1
  46. package/lib/locale/ca-ES.js +1 -1
  47. package/lib/locale/de-DE.js +1 -1
  48. package/lib/locale/en-US.js +1 -1
  49. package/lib/locale/es-ES.js +1 -1
  50. package/lib/locale/fa-IR.js +1 -1
  51. package/lib/locale/fr-FR.js +1 -1
  52. package/lib/locale/id-ID.js +1 -1
  53. package/lib/locale/it-IT.js +1 -1
  54. package/lib/locale/ja-JP.js +1 -1
  55. package/lib/locale/ko-KR.js +1 -1
  56. package/lib/locale/pl-PL.js +1 -1
  57. package/lib/locale/pt-BR.js +1 -1
  58. package/lib/locale/ru-RU.js +1 -1
  59. package/lib/locale/sk-SK.js +1 -1
  60. package/lib/locale/vi-VN.js +1 -1
  61. package/lib/locale/zh-CN.js +1 -1
  62. package/lib/locale/zh-HK.js +1 -1
  63. package/lib/locale/zh-TW.js +1 -1
  64. package/lib/umd/facade.js +1 -1
  65. package/lib/umd/index.js +1 -1
  66. package/lib/umd/locale/ar-SA.js +1 -1
  67. package/lib/umd/locale/ca-ES.js +1 -1
  68. package/lib/umd/locale/de-DE.js +1 -1
  69. package/lib/umd/locale/en-US.js +1 -1
  70. package/lib/umd/locale/es-ES.js +1 -1
  71. package/lib/umd/locale/fa-IR.js +1 -1
  72. package/lib/umd/locale/fr-FR.js +1 -1
  73. package/lib/umd/locale/id-ID.js +1 -1
  74. package/lib/umd/locale/it-IT.js +1 -1
  75. package/lib/umd/locale/ja-JP.js +1 -1
  76. package/lib/umd/locale/ko-KR.js +1 -1
  77. package/lib/umd/locale/pl-PL.js +1 -1
  78. package/lib/umd/locale/pt-BR.js +1 -1
  79. package/lib/umd/locale/ru-RU.js +1 -1
  80. package/lib/umd/locale/sk-SK.js +1 -1
  81. package/lib/umd/locale/vi-VN.js +1 -1
  82. package/lib/umd/locale/zh-CN.js +1 -1
  83. package/lib/umd/locale/zh-HK.js +1 -1
  84. package/lib/umd/locale/zh-TW.js +1 -1
  85. package/package.json +9 -9
@@ -1 +1 @@
1
- const _0xb2a44d=_0x5e5b;(function(_0x36146d,_0x3faea2){const _0x22e895=_0x5e5b,_0x9b3f9c=_0x36146d();while(!![]){try{const _0x39ee40=-parseInt(_0x22e895(0xfc))/0x1+-parseInt(_0x22e895(0xfb))/0x2+parseInt(_0x22e895(0x101))/0x3+parseInt(_0x22e895(0xfe))/0x4+-parseInt(_0x22e895(0x100))/0x5+parseInt(_0x22e895(0xf8))/0x6+-parseInt(_0x22e895(0xf3))/0x7*(-parseInt(_0x22e895(0xf5))/0x8);if(_0x39ee40===_0x3faea2)break;else _0x9b3f9c['push'](_0x9b3f9c['shift']());}catch(_0x158d5d){_0x9b3f9c['push'](_0x9b3f9c['shift']());}}}(_0xc217,0x9876e));function _0x5e5b(_0x15b093,_0x4d2a54){_0x15b093=_0x15b093-0xf1;const _0xc217ef=_0xc217();let _0x5e5b44=_0xc217ef[_0x15b093];return _0x5e5b44;}function _0xc217(){const _0x490398=['ネットワークエラー','836284QSsjAs','お待ちください...','4899825XxszdD','1537284oVplcB','ファイルが正常にアップロードされました','{0}\x20個のファイルが正常にアップロードされました','91QSeglS','不明なエラー','529928grGxKp','キャンセル','アップロード中','7201812uaCyoA','データが大きすぎます','内部エラーが発生しました','1298198DqjMlv','529376WsDXAE'];_0xc217=function(){return _0x490398;};return _0xc217();}const e={'exchange-client':{'uploading':_0xb2a44d(0xf7),'uploadSuccess':_0xb2a44d(0xf1),'uploadSuccessTip':_0xb2a44d(0xf2),'downloading':'ダウンロード中','downloadSuccess':'ダウンロードが完了しました','unknownMistake':_0xb2a44d(0xf4),'networkError':_0xb2a44d(0xfd),'tooLarge':_0xb2a44d(0xf9),'internalError':_0xb2a44d(0xfa),'interrupt':'ネットワーク接続が中断され、ファイルのアップロードに失敗しました','fileTypeError':'選択されたファイル\x20[{0}]\x20はアップロードがサポートされていません','wait':_0xb2a44d(0xff),'cancel':_0xb2a44d(0xf6),'uploadAgain':'再度アップロード'}};module['exports']=e;
1
+ const _0xb10e7f=_0x2124;(function(_0x5dbc1b,_0x42dcdc){const _0xac5da9=_0x2124,_0x3cb72a=_0x5dbc1b();while(!![]){try{const _0x3c932d=-parseInt(_0xac5da9(0x84))/0x1+parseInt(_0xac5da9(0x79))/0x2*(parseInt(_0xac5da9(0x7f))/0x3)+-parseInt(_0xac5da9(0x81))/0x4+-parseInt(_0xac5da9(0x80))/0x5+parseInt(_0xac5da9(0x78))/0x6*(-parseInt(_0xac5da9(0x7e))/0x7)+-parseInt(_0xac5da9(0x7d))/0x8+parseInt(_0xac5da9(0x7a))/0x9;if(_0x3c932d===_0x42dcdc)break;else _0x3cb72a['push'](_0x3cb72a['shift']());}catch(_0xc4ae19){_0x3cb72a['push'](_0x3cb72a['shift']());}}}(_0x1765,0x293c3));function _0x2124(_0x3eb057,_0x5ca9b1){_0x3eb057=_0x3eb057-0x70;const _0x176561=_0x1765();let _0x21241a=_0x176561[_0x3eb057];return _0x21241a;}const e={'exchange-client':{'uploading':_0xb10e7f(0x7c),'uploadSuccess':'ファイルが正常にアップロードされました','uploadSuccessTip':_0xb10e7f(0x74),'downloading':_0xb10e7f(0x7b),'downloadSuccess':_0xb10e7f(0x70),'unknownMistake':_0xb10e7f(0x73),'networkError':_0xb10e7f(0x75),'tooLarge':_0xb10e7f(0x71),'internalError':_0xb10e7f(0x77),'interrupt':_0xb10e7f(0x76),'fileTypeError':'選択されたファイル\x20[{0}]\x20はアップロードがサポートされていません','wait':'お待ちください...','cancel':_0xb10e7f(0x82),'uploadAgain':_0xb10e7f(0x83)}};module[_0xb10e7f(0x72)]=e;function _0x1765(){const _0x2fb1b9=['640176QCMKvt','1288ntmnnb','15arbLWx','551975sVkcqZ','839772RRvUKN','キャンセル','再度アップロード','122559wHzjLQ','ダウンロードが完了しました','データが大きすぎます','exports','不明なエラー','{0}\x20個のファイルが正常にアップロードされました','ネットワークエラー','ネットワーク接続が中断され、ファイルのアップロードに失敗しました','内部エラーが発生しました','282ACExmq','46342azEhGd','5261499KgIsZG','ダウンロード中','アップロード中'];_0x1765=function(){return _0x2fb1b9;};return _0x1765();}
@@ -1 +1 @@
1
- const _0x370c68=_0x2364;function _0x5581(){const _0xab4bb5=['다운로드가\x20완료되었습니다','잠시만\x20기다려\x20주세요...','데이터가\x20너무\x20큽니다','업로드\x20중','exports','1980798JuvsKk','내부\x20오류가\x20발생했습니다','4mQXjxR','6610NzEaOD','선택한\x20파일\x20[{0}]은(는)\x20업로드가\x20지원되지\x20않습니다','88fKLgHS','네트워크\x20연결이\x20중단되어\x20파일\x20업로드에\x20실패했습니다','3712674wISHgK','4obozfj','{0}개의\x20파일이\x20성공적으로\x20업로드되었습니다','12188LGMGjG','982009AmNDzI','344907fQMXaA','네트워크\x20오류','알\x20수\x20없는\x20오류','파일이\x20성공적으로\x20업로드되었습니다','1576934bdGXjI','2764115DbtyZo'];_0x5581=function(){return _0xab4bb5;};return _0x5581();}function _0x2364(_0x23d23c,_0x473409){_0x23d23c=_0x23d23c-0xcb;const _0x55813b=_0x5581();let _0x23648b=_0x55813b[_0x23d23c];return _0x23648b;}(function(_0x16457a,_0x4a3114){const _0x5a8d4e=_0x2364,_0x356242=_0x16457a();while(!![]){try{const _0x4b8834=parseInt(_0x5a8d4e(0xdc))/0x1+-parseInt(_0x5a8d4e(0xce))/0x2*(-parseInt(_0x5a8d4e(0xcc))/0x3)+parseInt(_0x5a8d4e(0xd4))/0x4*(-parseInt(_0x5a8d4e(0xdd))/0x5)+-parseInt(_0x5a8d4e(0xd3))/0x6+parseInt(_0x5a8d4e(0xd7))/0x7*(-parseInt(_0x5a8d4e(0xd1))/0x8)+-parseInt(_0x5a8d4e(0xd8))/0x9+-parseInt(_0x5a8d4e(0xcf))/0xa*(-parseInt(_0x5a8d4e(0xd6))/0xb);if(_0x4b8834===_0x4a3114)break;else _0x356242['push'](_0x356242['shift']());}catch(_0x13cf6b){_0x356242['push'](_0x356242['shift']());}}}(_0x5581,0xd60e4));const e={'exchange-client':{'uploading':_0x370c68(0xe1),'uploadSuccess':_0x370c68(0xdb),'uploadSuccessTip':_0x370c68(0xd5),'downloading':'다운로드\x20중','downloadSuccess':_0x370c68(0xde),'unknownMistake':_0x370c68(0xda),'networkError':_0x370c68(0xd9),'tooLarge':_0x370c68(0xe0),'internalError':_0x370c68(0xcd),'interrupt':_0x370c68(0xd2),'fileTypeError':_0x370c68(0xd0),'wait':_0x370c68(0xdf),'cancel':'취소','uploadAgain':'다시\x20업로드'}};module[_0x370c68(0xcb)]=e;
1
+ function _0x2e12(){const _0x3e7475=['네트워크\x20오류','69538wkEhZk','4155792iDXbdQ','2AMpLyC','3996372tFUPps','666924FEYITe','파일이\x20성공적으로\x20업로드되었습니다','558oyorlP','업로드\x20','1185710MatdDp','{0}개의\x20파일이\x20성공적으로\x20업로드되었습니다','138130TNiJII','55NFAMrJ','데이터가\x20너무\x20큽니다','27bAhrEA','다운로드\x20','63418QECTZK','exports','네트워크\x20연결이\x20중단되어\x20파일\x20업로드에\x20실패했습니다'];_0x2e12=function(){return _0x3e7475;};return _0x2e12();}const _0x26f9e2=_0x35b8;function _0x35b8(_0x311321,_0x139173){_0x311321=_0x311321-0x134;const _0x2e120a=_0x2e12();let _0x35b82f=_0x2e120a[_0x311321];return _0x35b82f;}(function(_0x55f92d,_0x10bb0d){const _0x279f44=_0x35b8,_0x310dbe=_0x55f92d();while(!![]){try{const _0x385dfd=parseInt(_0x279f44(0x143))/0x1*(-parseInt(_0x279f44(0x13d))/0x2)+-parseInt(_0x279f44(0x145))/0x3+parseInt(_0x279f44(0x144))/0x4+parseInt(_0x279f44(0x138))/0x5+parseInt(_0x279f44(0x134))/0x6*(-parseInt(_0x279f44(0x141))/0x7)+parseInt(_0x279f44(0x142))/0x8*(parseInt(_0x279f44(0x13b))/0x9)+parseInt(_0x279f44(0x136))/0xa*(-parseInt(_0x279f44(0x139))/0xb);if(_0x385dfd===_0x10bb0d)break;else _0x310dbe['push'](_0x310dbe['shift']());}catch(_0x5ac1ef){_0x310dbe['push'](_0x310dbe['shift']());}}}(_0x2e12,0xbf16a));const e={'exchange-client':{'uploading':_0x26f9e2(0x135),'uploadSuccess':_0x26f9e2(0x146),'uploadSuccessTip':_0x26f9e2(0x137),'downloading':_0x26f9e2(0x13c),'downloadSuccess':'다운로드가\x20완료되었습니다','unknownMistake':'알\x20수\x20없는\x20오류','networkError':_0x26f9e2(0x140),'tooLarge':_0x26f9e2(0x13a),'internalError':'내부\x20오류가\x20발생했습니다','interrupt':_0x26f9e2(0x13f),'fileTypeError':'선택한\x20파일\x20[{0}]은()\x20업로드가\x20지원되지\x20않습니다','wait':'잠시만\x20기다려\x20주세요...','cancel':'취소','uploadAgain':'다시\x20업로드'}};module[_0x26f9e2(0x13e)]=e;
@@ -1 +1 @@
1
- function _0x214c(){const _0x46a12f=['8378040nzlbvp','Połączenie\x20sieciowe\x20zostało\x20przerwane\x20i\x20przesyłanie\x20pliku\x20nie\x20powiodło\x20się','35QpWrmO','133206FKYyMM','Przesyłanie','Pomyślnie\x20przesłano\x20{0}\x20plik(ów)','17646464xAIMQp','Dane\x20są\x20zbyt\x20duże','8fHpkAE','Proszę\x20czekać...','Anuluj','120RTuLyq','5308700DAOUPc','Błąd\x20sieci','Pobieranie\x20zakończone\x20sukcesem','Wybrany\x20plik\x20[{0}]\x20nie\x20jest\x20obsługiwany\x20do\x20przesyłania','Plik\x20przesłany\x20pomyślnie','Prześlij\x20ponownie','2212578BeVirA','exports','1wDrNaQ','777054zqRpPw','1506244aUODqD'];_0x214c=function(){return _0x46a12f;};return _0x214c();}const _0x57ca90=_0x2b92;(function(_0x58b97c,_0x22953d){const _0x89c468=_0x2b92,_0x53170f=_0x58b97c();while(!![]){try{const _0x136067=-parseInt(_0x89c468(0xa2))/0x1*(parseInt(_0x89c468(0xa4))/0x2)+-parseInt(_0x89c468(0xa8))/0x3*(-parseInt(_0x89c468(0x99))/0x4)+-parseInt(_0x89c468(0xa5))/0x5+-parseInt(_0x89c468(0xa3))/0x6*(-parseInt(_0x89c468(0xa7))/0x7)+-parseInt(_0x89c468(0xad))/0x8*(-parseInt(_0x89c468(0xa0))/0x9)+-parseInt(_0x89c468(0x9a))/0xa+parseInt(_0x89c468(0xab))/0xb;if(_0x136067===_0x22953d)break;else _0x53170f['push'](_0x53170f['shift']());}catch(_0x15fafd){_0x53170f['push'](_0x53170f['shift']());}}}(_0x214c,0xd46b7));function _0x2b92(_0x5b3558,_0x52e49f){_0x5b3558=_0x5b3558-0x99;const _0x214caf=_0x214c();let _0x2b926c=_0x214caf[_0x5b3558];return _0x2b926c;}const e={'exchange-client':{'uploading':_0x57ca90(0xa9),'uploadSuccess':_0x57ca90(0x9e),'uploadSuccessTip':_0x57ca90(0xaa),'downloading':'Pobieranie','downloadSuccess':_0x57ca90(0x9c),'unknownMistake':'Nieznany\x20błąd','networkError':_0x57ca90(0x9b),'tooLarge':_0x57ca90(0xac),'internalError':'Wewnętrzny\x20nieznany\x20błąd','interrupt':_0x57ca90(0xa6),'fileTypeError':_0x57ca90(0x9d),'wait':_0x57ca90(0xae),'cancel':_0x57ca90(0xaf),'uploadAgain':_0x57ca90(0x9f)}};module[_0x57ca90(0xa1)]=e;
1
+ function _0x2ce5(_0x4d7e48,_0x4f7e2a){_0x4d7e48=_0x4d7e48-0x12a;const _0x218c7a=_0x218c();let _0x2ce5f8=_0x218c7a[_0x4d7e48];return _0x2ce5f8;}const _0x14a262=_0x2ce5;function _0x218c(){const _0x28c63a=['2684430whjllN','Nieznany\x20błąd','9PIgmOl','exports','Połączenie\x20sieciowe\x20zostało\x20przerwane\x20i\x20przesyłanie\x20pliku\x20nie\x20powiodło\x20się','Anuluj','4367907mBrgYF','Pobieranie','Wybrany\x20plik\x20[{0}]\x20nie\x20jest\x20obsługiwany\x20do\x20przesyłania','Pomyślnie\x20przesłano\x20{0}\x20plik(ów)','5401310UahEpw','3340146WMYPlN','Wewnętrzny\x20nieznany\x20błąd','Pobieranie\x20zakończone\x20sukcesem','8exBuJa','70348VmDbHR','Dane\x20są\x20zbyt\x20duże','Przesyłanie','13BFChOg','Błąd\x20sieci','Prześlij\x20ponownie','7629600ImHoxC','5mlXsOB','542804vUyDKm'];_0x218c=function(){return _0x28c63a;};return _0x218c();}(function(_0x4516ea,_0x2f8abd){const _0x1282e5=_0x2ce5,_0x1ec515=_0x4516ea();while(!![]){try{const _0x7fc853=-parseInt(_0x1282e5(0x133))/0x1*(parseInt(_0x1282e5(0x130))/0x2)+-parseInt(_0x1282e5(0x13b))/0x3*(parseInt(_0x1282e5(0x138))/0x4)+-parseInt(_0x1282e5(0x137))/0x5*(-parseInt(_0x1282e5(0x12c))/0x6)+parseInt(_0x1282e5(0x139))/0x7+-parseInt(_0x1282e5(0x12f))/0x8*(-parseInt(_0x1282e5(0x13f))/0x9)+parseInt(_0x1282e5(0x12b))/0xa+-parseInt(_0x1282e5(0x136))/0xb;if(_0x7fc853===_0x2f8abd)break;else _0x1ec515['push'](_0x1ec515['shift']());}catch(_0x2de605){_0x1ec515['push'](_0x1ec515['shift']());}}}(_0x218c,0x63876));const e={'exchange-client':{'uploading':_0x14a262(0x132),'uploadSuccess':'Plik\x20przesłany\x20pomyślnie','uploadSuccessTip':_0x14a262(0x12a),'downloading':_0x14a262(0x140),'downloadSuccess':_0x14a262(0x12e),'unknownMistake':_0x14a262(0x13a),'networkError':_0x14a262(0x134),'tooLarge':_0x14a262(0x131),'internalError':_0x14a262(0x12d),'interrupt':_0x14a262(0x13d),'fileTypeError':_0x14a262(0x141),'wait':'Proszę\x20czekać...','cancel':_0x14a262(0x13e),'uploadAgain':_0x14a262(0x135)}};module[_0x14a262(0x13c)]=e;
@@ -1 +1 @@
1
- function _0xd357(){const _0x1f2192=['Erro\x20de\x20rede','Erro\x20desconhecido','{0}\x20arquivo(s)\x20enviado(s)\x20com\x20sucesso','Baixando','Os\x20dados\x20são\x20muito\x20grandes','Erro\x20interno\x20desconhecido','2DcEKaX','8vUDhRI','2418773Rwtbtw','Download\x20concluído\x20com\x20sucesso','Arquivo\x20enviado\x20com\x20sucesso','684312yyLQTF','3799974SMBtCa','Enviar\x20novamente','5090BEruUk','18854TnqVYy','6254487oxdUOY','10kmIdKy','274730nyLGXf','Aguarde...','Cancelar','621240iuFIBW'];_0xd357=function(){return _0x1f2192;};return _0xd357();}const _0x2a42b7=_0x54c2;(function(_0x5f22fe,_0x210315){const _0x3379a4=_0x54c2,_0x30bdfc=_0x5f22fe();while(!![]){try{const _0x93d04e=parseInt(_0x3379a4(0xc9))/0x1*(-parseInt(_0x3379a4(0xd5))/0x2)+parseInt(_0x3379a4(0xd8))/0x3+-parseInt(_0x3379a4(0xce))/0x4*(-parseInt(_0x3379a4(0xd4))/0x5)+parseInt(_0x3379a4(0xcf))/0x6+-parseInt(_0x3379a4(0xcb))/0x7+parseInt(_0x3379a4(0xca))/0x8*(parseInt(_0x3379a4(0xd3))/0x9)+-parseInt(_0x3379a4(0xd1))/0xa*(parseInt(_0x3379a4(0xd2))/0xb);if(_0x93d04e===_0x210315)break;else _0x30bdfc['push'](_0x30bdfc['shift']());}catch(_0x4d85af){_0x30bdfc['push'](_0x30bdfc['shift']());}}}(_0xd357,0x5df2d));function _0x54c2(_0x25b5ee,_0x2567cd){_0x25b5ee=_0x25b5ee-0xc9;const _0xd357aa=_0xd357();let _0x54c26f=_0xd357aa[_0x25b5ee];return _0x54c26f;}const e={'exchange-client':{'uploading':'Enviando','uploadSuccess':_0x2a42b7(0xcd),'uploadSuccessTip':_0x2a42b7(0xdb),'downloading':_0x2a42b7(0xdc),'downloadSuccess':_0x2a42b7(0xcc),'unknownMistake':_0x2a42b7(0xda),'networkError':_0x2a42b7(0xd9),'tooLarge':_0x2a42b7(0xdd),'internalError':_0x2a42b7(0xde),'interrupt':'A\x20conexão\x20de\x20rede\x20foi\x20interrompida\x20e\x20o\x20envio\x20do\x20arquivo\x20falhou','fileTypeError':'O\x20arquivo\x20selecionado\x20[{0}]\x20não\x20é\x20suportado\x20para\x20envio','wait':_0x2a42b7(0xd6),'cancel':_0x2a42b7(0xd7),'uploadAgain':_0x2a42b7(0xd0)}};module['exports']=e;
1
+ const _0x310807=_0x5d41;(function(_0x7e54e4,_0x4a9faa){const _0xe184ba=_0x5d41,_0x30b88c=_0x7e54e4();while(!![]){try{const _0x3b8448=parseInt(_0xe184ba(0xee))/0x1+-parseInt(_0xe184ba(0xf3))/0x2+-parseInt(_0xe184ba(0xf9))/0x3+-parseInt(_0xe184ba(0xfa))/0x4+parseInt(_0xe184ba(0xfe))/0x5*(parseInt(_0xe184ba(0xf7))/0x6)+-parseInt(_0xe184ba(0xfc))/0x7*(parseInt(_0xe184ba(0x101))/0x8)+parseInt(_0xe184ba(0xf8))/0x9*(parseInt(_0xe184ba(0xed))/0xa);if(_0x3b8448===_0x4a9faa)break;else _0x30b88c['push'](_0x30b88c['shift']());}catch(_0x5c3a36){_0x30b88c['push'](_0x30b88c['shift']());}}}(_0x1307,0xb1eee));const e={'exchange-client':{'uploading':_0x310807(0xfb),'uploadSuccess':_0x310807(0xf1),'uploadSuccessTip':'{0}\x20arquivo(s)\x20enviado(s)\x20com\x20sucesso','downloading':'Baixando','downloadSuccess':_0x310807(0xf0),'unknownMistake':_0x310807(0xf6),'networkError':'Erro\x20de\x20rede','tooLarge':_0x310807(0xfd),'internalError':'Erro\x20interno\x20desconhecido','interrupt':_0x310807(0xf4),'fileTypeError':_0x310807(0x100),'wait':_0x310807(0xef),'cancel':_0x310807(0xf5),'uploadAgain':_0x310807(0xff)}};module[_0x310807(0xf2)]=e;function _0x5d41(_0x3982f5,_0x33552b){_0x3982f5=_0x3982f5-0xed;const _0x130754=_0x1307();let _0x5d4177=_0x130754[_0x3982f5];return _0x5d4177;}function _0x1307(){const _0x8aa626=['231ijGGIp','Os\x20dados\x20são\x20muito\x20grandes','5RAPvLi','Enviar\x20novamente','O\x20arquivo\x20selecionado\x20[{0}]\x20não\x20é\x20suportado\x20para\x20envio','98104kRCRDU','5093060GmAqDV','999705IhYccu','Aguarde...','Download\x20concluído\x20com\x20sucesso','Arquivo\x20enviado\x20com\x20sucesso','exports','1547726NpQeTG','A\x20conexão\x20de\x20rede\x20foi\x20interrompida\x20e\x20o\x20envio\x20do\x20arquivo\x20falhou','Cancelar','Erro\x20desconhecido','7083738YzzLUP','9spOaSp','913836dYmDHD','1910664ZOhkXG','Enviando'];_0x1307=function(){return _0x8aa626;};return _0x1307();}
@@ -1 +1 @@
1
- function _0xb7b0(_0x24526d,_0x504fec){_0x24526d=_0x24526d-0x10f;const _0x23315c=_0x2331();let _0xb7b051=_0x23315c[_0x24526d];return _0xb7b051;}const _0x179fa5=_0xb7b0;(function(_0x14b150,_0x16cce1){const _0x5e5ca5=_0xb7b0,_0x362085=_0x14b150();while(!![]){try{const _0x5eea09=parseInt(_0x5e5ca5(0x111))/0x1*(-parseInt(_0x5e5ca5(0x11f))/0x2)+parseInt(_0x5e5ca5(0x114))/0x3*(-parseInt(_0x5e5ca5(0x11e))/0x4)+parseInt(_0x5e5ca5(0x119))/0x5+parseInt(_0x5e5ca5(0x117))/0x6+parseInt(_0x5e5ca5(0x124))/0x7+parseInt(_0x5e5ca5(0x110))/0x8+-parseInt(_0x5e5ca5(0x112))/0x9;if(_0x5eea09===_0x16cce1)break;else _0x362085['push'](_0x362085['shift']());}catch(_0x33ea52){_0x362085['push'](_0x362085['shift']());}}}(_0x2331,0x4b206));function _0x2331(){const _0xa1d25c=['2826950YqecgX','Сетевая\x20ошибка','Скачивание\x20успешно','exports','Отмена','196lamxbY','212jvdXpX','Неизвестная\x20ошибка','Загрузить\x20снова','Сетевое\x20соединение\x20было\x20прервано,\x20и\x20загрузка\x20файла\x20не\x20удалась','Скачивание','596687IThyGE','Выбранный\x20файл\x20[{0}]\x20не\x20поддерживается\x20для\x20загрузки','994600OoUaWh','2823rtAZkx','876582pfdFJh','Внутренняя\x20неизвестная\x20ошибка','29730gUVXSW','Пожалуйста,\x20подождите...','Загрузка','2489928GGAkaS','Файл\x20успешно\x20загружен'];_0x2331=function(){return _0xa1d25c;};return _0x2331();}const e={'exchange-client':{'uploading':_0x179fa5(0x116),'uploadSuccess':_0x179fa5(0x118),'uploadSuccessTip':'{0}\x20файл(ов)\x20успешно\x20загружен(о)','downloading':_0x179fa5(0x123),'downloadSuccess':_0x179fa5(0x11b),'unknownMistake':_0x179fa5(0x120),'networkError':_0x179fa5(0x11a),'tooLarge':'Данные\x20слишком\x20большие','internalError':_0x179fa5(0x113),'interrupt':_0x179fa5(0x122),'fileTypeError':_0x179fa5(0x10f),'wait':_0x179fa5(0x115),'cancel':_0x179fa5(0x11d),'uploadAgain':_0x179fa5(0x121)}};module[_0x179fa5(0x11c)]=e;
1
+ const _0x388d00=_0x64c3;(function(_0x186051,_0xa1b354){const _0x4ee352=_0x64c3,_0x52b59e=_0x186051();while(!![]){try{const _0x3b353b=-parseInt(_0x4ee352(0x1c8))/0x1+parseInt(_0x4ee352(0x1d0))/0x2+-parseInt(_0x4ee352(0x1c2))/0x3*(-parseInt(_0x4ee352(0x1c9))/0x4)+-parseInt(_0x4ee352(0x1d2))/0x5*(parseInt(_0x4ee352(0x1ca))/0x6)+parseInt(_0x4ee352(0x1c3))/0x7+-parseInt(_0x4ee352(0x1cb))/0x8*(parseInt(_0x4ee352(0x1c6))/0x9)+parseInt(_0x4ee352(0x1cc))/0xa;if(_0x3b353b===_0xa1b354)break;else _0x52b59e['push'](_0x52b59e['shift']());}catch(_0x393a23){_0x52b59e['push'](_0x52b59e['shift']());}}}(_0x15f3,0x7cbe8));function _0x64c3(_0x31ba5f,_0xe00a9f){_0x31ba5f=_0x31ba5f-0x1c2;const _0x15f339=_0x15f3();let _0x64c38a=_0x15f339[_0x31ba5f];return _0x64c38a;}function _0x15f3(){const _0x16cfd1=['5393016ELNVmN','Выбранный\x20файл\x20[{0}]\x20не\x20поддерживается\x20для\x20загрузки','21931qQAXWV','130612MFoyzS','1698oevqoj','8WuvCzt','4006690GkGpnO','Скачивание\x20успешно','Скачивание','Данные\x20слишком\x20большие','414234eXzFSq','Загрузить\x20снова','8995obTWwW','Отмена','39IpZgFy','4262643jlVyub','Файл\x20успешно\x20загружен','Неизвестная\x20ошибка'];_0x15f3=function(){return _0x16cfd1;};return _0x15f3();}const e={'exchange-client':{'uploading':'Загрузка','uploadSuccess':_0x388d00(0x1c4),'uploadSuccessTip':'{0}\x20файл(ов)\x20успешно\x20загружен(о)','downloading':_0x388d00(0x1ce),'downloadSuccess':_0x388d00(0x1cd),'unknownMistake':_0x388d00(0x1c5),'networkError':'Сетевая\x20ошибка','tooLarge':_0x388d00(0x1cf),'internalError':'Внутренняя\x20неизвестная\x20ошибка','interrupt':'Сетевое\x20соединение\x20было\x20прервано,\x20и\x20загрузка\x20файла\x20не\x20удалась','fileTypeError':_0x388d00(0x1c7),'wait':'Пожалуйста,\x20подождите...','cancel':_0x388d00(0x1d3),'uploadAgain':_0x388d00(0x1d1)}};module['exports']=e;
@@ -1 +1 @@
1
- function _0x575d(){const _0xbe40a8=['Zrušiť','384043XrvzFE','6qjVOCg','Sťahovanie\x20úspešné','Úspešne\x20nahraných\x20{0}\x20súborov','180pbgduP','Sťahovanie','Súbor\x20bol\x20úspešne\x20nahraný','221284HTykcy','Interná\x20neznáma\x20chyba','282140ghfoeB','Sieťová\x20chyba','115opVaMt','8776IaCOEB','1833461nCvFLA','exports','Nahrať\x20znova','16264GvYaLC','Neznáma\x20chyba','791223DDSBTm','414mIzzHi'];_0x575d=function(){return _0xbe40a8;};return _0x575d();}const _0x521841=_0x4247;(function(_0x18d739,_0x5410c5){const _0x10f5c5=_0x4247,_0x5cca2f=_0x18d739();while(!![]){try{const _0x5c1184=parseInt(_0x10f5c5(0x179))/0x1+parseInt(_0x10f5c5(0x177))/0x2+parseInt(_0x10f5c5(0x182))/0x3+-parseInt(_0x10f5c5(0x180))/0x4*(parseInt(_0x10f5c5(0x17b))/0x5)+-parseInt(_0x10f5c5(0x186))/0x6*(-parseInt(_0x10f5c5(0x17d))/0x7)+-parseInt(_0x10f5c5(0x17c))/0x8*(parseInt(_0x10f5c5(0x183))/0x9)+parseInt(_0x10f5c5(0x174))/0xa*(-parseInt(_0x10f5c5(0x185))/0xb);if(_0x5c1184===_0x5410c5)break;else _0x5cca2f['push'](_0x5cca2f['shift']());}catch(_0x2f902d){_0x5cca2f['push'](_0x5cca2f['shift']());}}}(_0x575d,0x23a70));const e={'exchange-client':{'uploading':'Nahrávanie','uploadSuccess':_0x521841(0x176),'uploadSuccessTip':_0x521841(0x173),'downloading':_0x521841(0x175),'downloadSuccess':_0x521841(0x187),'unknownMistake':_0x521841(0x181),'networkError':_0x521841(0x17a),'tooLarge':'Dáta\x20sú\x20príliš\x20veľké','internalError':_0x521841(0x178),'interrupt':'Sieťové\x20pripojenie\x20bolo\x20prerušené\x20a\x20nahrávanie\x20súboru\x20zlyhalo','fileTypeError':'Vybraný\x20súbor\x20[{0}]\x20nie\x20je\x20podporovaný\x20na\x20nahrávanie','wait':'Prosím\x20počkajte...','cancel':_0x521841(0x184),'uploadAgain':_0x521841(0x17f)}};function _0x4247(_0x4d5365,_0x1ec262){_0x4d5365=_0x4d5365-0x173;const _0x575d29=_0x575d();let _0x42478b=_0x575d29[_0x4d5365];return _0x42478b;}module[_0x521841(0x17e)]=e;
1
+ function _0xc566(){const _0x2f0632=['Sieťové\x20pripojenie\x20bolo\x20prerušené\x20a\x20nahrávanie\x20súboru\x20zlyhalo','245316wLLVIg','10KkYLVm','Interná\x20neznáma\x20chyba','Súbor\x20bol\x20úspešne\x20nahraný','Nahrať\x20znova','exports','1483867uQHHvE','33tOLETc','Sťahovanie','3334880CvrBdZ','207138BPzRmF','850496hlayRC','Neznáma\x20chyba','Úspešne\x20nahraných\x20{0}\x20súborov','Vybraný\x20súbor\x20[{0}]\x20nie\x20je\x20podporovaný\x20na\x20nahrávanie','19275084NERAFJ','1293061bfIouF','Sieťová\x20chyba'];_0xc566=function(){return _0x2f0632;};return _0xc566();}const _0x13d8cd=_0x3802;(function(_0xdef451,_0x40a96b){const _0x7d8d13=_0x3802,_0x3d9e67=_0xdef451();while(!![]){try{const _0xce258f=parseInt(_0x7d8d13(0x156))/0x1+-parseInt(_0x7d8d13(0x150))/0x2*(-parseInt(_0x7d8d13(0x160))/0x3)+parseInt(_0x7d8d13(0x14f))/0x4+parseInt(_0x7d8d13(0x15a))/0x5*(-parseInt(_0x7d8d13(0x159))/0x6)+-parseInt(_0x7d8d13(0x15f))/0x7+-parseInt(_0x7d8d13(0x151))/0x8+-parseInt(_0x7d8d13(0x155))/0x9;if(_0xce258f===_0x40a96b)break;else _0x3d9e67['push'](_0x3d9e67['shift']());}catch(_0x29b616){_0x3d9e67['push'](_0x3d9e67['shift']());}}}(_0xc566,0xb0d4b));function _0x3802(_0x2be7f8,_0x642510){_0x2be7f8=_0x2be7f8-0x14f;const _0xc566ca=_0xc566();let _0x380211=_0xc566ca[_0x2be7f8];return _0x380211;}const e={'exchange-client':{'uploading':'Nahrávanie','uploadSuccess':_0x13d8cd(0x15c),'uploadSuccessTip':_0x13d8cd(0x153),'downloading':_0x13d8cd(0x161),'downloadSuccess':'Sťahovanie\x20úspešné','unknownMistake':_0x13d8cd(0x152),'networkError':_0x13d8cd(0x157),'tooLarge':'Dáta\x20sú\x20príliš\x20veľké','internalError':_0x13d8cd(0x15b),'interrupt':_0x13d8cd(0x158),'fileTypeError':_0x13d8cd(0x154),'wait':'Prosím\x20počkajte...','cancel':'Zrušiť','uploadAgain':_0x13d8cd(0x15d)}};module[_0x13d8cd(0x15e)]=e;
@@ -1 +1 @@
1
- const _0x500bc0=_0x449c;(function(_0xfb2c3c,_0x4b30b6){const _0x317bc3=_0x449c,_0x1517bc=_0xfb2c3c();while(!![]){try{const _0x37e0f0=-parseInt(_0x317bc3(0x67))/0x1+parseInt(_0x317bc3(0x72))/0x2+-parseInt(_0x317bc3(0x74))/0x3+parseInt(_0x317bc3(0x6e))/0x4+parseInt(_0x317bc3(0x6c))/0x5*(parseInt(_0x317bc3(0x6a))/0x6)+-parseInt(_0x317bc3(0x71))/0x7*(parseInt(_0x317bc3(0x73))/0x8)+parseInt(_0x317bc3(0x6d))/0x9;if(_0x37e0f0===_0x4b30b6)break;else _0x1517bc['push'](_0x1517bc['shift']());}catch(_0xd64d16){_0x1517bc['push'](_0x1517bc['shift']());}}}(_0x5e29,0x7768f));function _0x449c(_0x3585cc,_0x425192){_0x3585cc=_0x3585cc-0x64;const _0x5e29a=_0x5e29();let _0x449c25=_0x5e29a[_0x3585cc];return _0x449c25;}function _0x5e29(){const _0x3102c9=['Hủy\x20bỏ','Luồng\x20dữ\x20liệu\x20quá\x20lớn','Lỗi\x20không\x20xác\x20định\x20bên\x20trong','Kết\x20nối\x20mạng\x20bị\x20gián\x20đoạn,\x20tải\x20lên\x20tệp\x20thất\x20bại','622820BNxbjB','{0}\x20tệp\x20đã\x20được\x20tải\x20lên\x20thành\x20công','Lỗi\x20mạng','162duzZlM','Lỗi\x20không\x20xác\x20định','50455EQfJYD','6763311WUExTv','3484692bQUsGK','Đang\x20tải\x20lên','Đang\x20tải\x20xuống','4335121ZNyNlo','1008238jVcJRi','8hKTqSD','2004006clidCl'];_0x5e29=function(){return _0x3102c9;};return _0x5e29();}const e={'exchange-client':{'uploading':_0x500bc0(0x6f),'uploadSuccess':'Tải\x20lên\x20tệp\x20thành\x20công','uploadSuccessTip':_0x500bc0(0x68),'downloading':_0x500bc0(0x70),'downloadSuccess':'Tải\x20xuống\x20thành\x20công','unknownMistake':_0x500bc0(0x6b),'networkError':_0x500bc0(0x69),'tooLarge':_0x500bc0(0x64),'internalError':_0x500bc0(0x65),'interrupt':_0x500bc0(0x66),'fileTypeError':'Tệp\x20được\x20chọn\x20[{0}]\x20không\x20được\x20hỗ\x20trợ\x20để\x20tải\x20lên','wait':'Vui\x20lòng\x20đợi...','cancel':_0x500bc0(0x75),'uploadAgain':'Tải\x20lên\x20lại'}};module['exports']=e;
1
+ const _0x1eee14=_0x345b;(function(_0x42fd29,_0x31dc52){const _0x264cba=_0x345b,_0x3002e5=_0x42fd29();while(!![]){try{const _0x1347fe=parseInt(_0x264cba(0x158))/0x1*(parseInt(_0x264cba(0x154))/0x2)+parseInt(_0x264cba(0x15c))/0x3+parseInt(_0x264cba(0x160))/0x4*(parseInt(_0x264cba(0x14c))/0x5)+-parseInt(_0x264cba(0x161))/0x6+parseInt(_0x264cba(0x152))/0x7*(parseInt(_0x264cba(0x15a))/0x8)+parseInt(_0x264cba(0x156))/0x9+-parseInt(_0x264cba(0x15e))/0xa*(parseInt(_0x264cba(0x150))/0xb);if(_0x1347fe===_0x31dc52)break;else _0x3002e5['push'](_0x3002e5['shift']());}catch(_0x34f1fc){_0x3002e5['push'](_0x3002e5['shift']());}}}(_0x5f2e,0x43437));function _0x345b(_0x40b4f2,_0x2e32b3){_0x40b4f2=_0x40b4f2-0x149;const _0x5f2eb4=_0x5f2e();let _0x345b31=_0x5f2eb4[_0x40b4f2];return _0x345b31;}const e={'exchange-client':{'uploading':_0x1eee14(0x14f),'uploadSuccess':_0x1eee14(0x153),'uploadSuccessTip':_0x1eee14(0x14d),'downloading':_0x1eee14(0x15d),'downloadSuccess':_0x1eee14(0x14e),'unknownMistake':_0x1eee14(0x155),'networkError':_0x1eee14(0x14a),'tooLarge':_0x1eee14(0x14b),'internalError':_0x1eee14(0x15b),'interrupt':'Kết\x20nối\x20mạng\x20bị\x20gián\x20đoạn,\x20tải\x20lên\x20tệp\x20thất\x20bại','fileTypeError':_0x1eee14(0x149),'wait':_0x1eee14(0x159),'cancel':_0x1eee14(0x157),'uploadAgain':_0x1eee14(0x151)}};function _0x5f2e(){const _0x2bacbe=['11irKNoE','Vui\x20lòng\x20đợi...','2488792uLbwYI','Lỗi\x20không\x20xác\x20định\x20bên\x20trong','1552809kYXJKw','Đang\x20tải\x20xuống','6804880wmGjPs','exports','582840fMRMCa','1096866OykxBa','Tệp\x20được\x20chọn\x20[{0}]\x20không\x20được\x20hỗ\x20trợ\x20để\x20tải\x20lên','Lỗi\x20mạng','Luồng\x20dữ\x20liệu\x20quá\x20lớn','15IiYVWE','{0}\x20tệp\x20đã\x20được\x20tải\x20lên\x20thành\x20công','Tải\x20xuống\x20thành\x20công','Đang\x20tải\x20lên','22XEqOCG','Tải\x20lên\x20lại','7JVwPbR','Tải\x20lên\x20tệp\x20thành\x20công','46754OzusZC','Lỗi\x20không\x20xác\x20định','2666871bewYhd','Hủy\x20bỏ'];_0x5f2e=function(){return _0x2bacbe;};return _0x5f2e();}module[_0x1eee14(0x15f)]=e;
@@ -1 +1 @@
1
- function _0x29e6(_0x266937,_0x126e03){_0x266937=_0x266937-0xe4;const _0x231bf7=_0x231b();let _0x29e6c6=_0x231bf7[_0x266937];return _0x29e6c6;}const _0x6a5176=_0x29e6;function _0x231b(){const _0x441dc5=['网络异常','1604505nOZGvj','24EDTmRI','exports','下载成功','3797684whzPFL','文件上传成功','297bfWVFM','所选文件\x20[{0}]\x20不支持上传','101661nmfdcB','216220Uafpiy','网络连接中断,文件上传失败','2378022tDFZGb','8ZDREVC','数据流过大','未知错误','下载中','117UZsSCD','89521qaHeRH','26256rjncxv','再次上传','120NIeBZU','上传中'];_0x231b=function(){return _0x441dc5;};return _0x231b();}(function(_0xa115e8,_0x29f85c){const _0x4dc604=_0x29e6,_0x40228b=_0xa115e8();while(!![]){try{const _0xde52f2=-parseInt(_0x4dc604(0xf5))/0x1+-parseInt(_0x4dc604(0xf6))/0x2*(-parseInt(_0x4dc604(0xf4))/0x3)+parseInt(_0x4dc604(0xf0))/0x4*(-parseInt(_0x4dc604(0xe4))/0x5)+parseInt(_0x4dc604(0xef))/0x6+-parseInt(_0x4dc604(0xec))/0x7*(-parseInt(_0x4dc604(0xf8))/0x8)+parseInt(_0x4dc604(0xea))/0x9*(-parseInt(_0x4dc604(0xed))/0xa)+parseInt(_0x4dc604(0xe8))/0xb*(parseInt(_0x4dc604(0xe5))/0xc);if(_0xde52f2===_0x29f85c)break;else _0x40228b['push'](_0x40228b['shift']());}catch(_0x56a104){_0x40228b['push'](_0x40228b['shift']());}}}(_0x231b,0x5ac65));const e={'exchange-client':{'uploading':_0x6a5176(0xf9),'uploadSuccess':_0x6a5176(0xe9),'uploadSuccessTip':'{0}个文件上传成功','downloading':_0x6a5176(0xf3),'downloadSuccess':_0x6a5176(0xe7),'unknownMistake':_0x6a5176(0xf2),'networkError':_0x6a5176(0xfa),'tooLarge':_0x6a5176(0xf1),'internalError':'内部未知错误','interrupt':_0x6a5176(0xee),'fileTypeError':_0x6a5176(0xeb),'wait':'请稍等...','cancel':'取消','uploadAgain':_0x6a5176(0xf7)}};module[_0x6a5176(0xe6)]=e;
1
+ function _0x3044(){const _0x398a40=['179346nIRNKc','991345KzGHFv','内部未知错误','数据流过大','所选文件\x20[{0}]\x20不支持上传','未知错误','下载中','63DiIoca','下载成功','{0}个文件上传成功','11444URxBEK','4511374glvwct','exports','文件上传成功','上传中','1846875NlNgft','2332284LqKcRx','网络连接中断,文件上传失败','3jezcfx','再次上传','827768oyGcOM'];_0x3044=function(){return _0x398a40;};return _0x3044();}function _0x2af5(_0x506d0d,_0x416dc1){_0x506d0d=_0x506d0d-0x194;const _0x3044ed=_0x3044();let _0x2af560=_0x3044ed[_0x506d0d];return _0x2af560;}const _0x496e99=_0x2af5;(function(_0x580f2d,_0x3a49ee){const _0x13f066=_0x2af5,_0x1c81e3=_0x580f2d();while(!![]){try{const _0x50cdc6=parseInt(_0x13f066(0x196))/0x1*(parseInt(_0x13f066(0x1a3))/0x2)+parseInt(_0x13f066(0x1a8))/0x3+-parseInt(_0x13f066(0x194))/0x4+parseInt(_0x13f066(0x19a))/0x5+parseInt(_0x13f066(0x199))/0x6+-parseInt(_0x13f066(0x1a4))/0x7+-parseInt(_0x13f066(0x198))/0x8*(-parseInt(_0x13f066(0x1a0))/0x9);if(_0x50cdc6===_0x3a49ee)break;else _0x1c81e3['push'](_0x1c81e3['shift']());}catch(_0x5b6043){_0x1c81e3['push'](_0x1c81e3['shift']());}}}(_0x3044,0x5753f));const e={'exchange-client':{'uploading':_0x496e99(0x1a7),'uploadSuccess':_0x496e99(0x1a6),'uploadSuccessTip':_0x496e99(0x1a2),'downloading':_0x496e99(0x19f),'downloadSuccess':_0x496e99(0x1a1),'unknownMistake':_0x496e99(0x19e),'networkError':'网络异常','tooLarge':_0x496e99(0x19c),'internalError':_0x496e99(0x19b),'interrupt':_0x496e99(0x195),'fileTypeError':_0x496e99(0x19d),'wait':'请稍等...','cancel':'取消','uploadAgain':_0x496e99(0x197)}};module[_0x496e99(0x1a5)]=e;
@@ -1 +1 @@
1
- const _0x4d6090=_0x4fac;(function(_0x5a93dd,_0x12b70f){const _0x36447e=_0x4fac,_0x394e22=_0x5a93dd();while(!![]){try{const _0x1a4a79=parseInt(_0x36447e(0x1f6))/0x1+-parseInt(_0x36447e(0x1f8))/0x2*(-parseInt(_0x36447e(0x1f4))/0x3)+parseInt(_0x36447e(0x1f2))/0x4+parseInt(_0x36447e(0x1f5))/0x5+parseInt(_0x36447e(0x1ff))/0x6*(-parseInt(_0x36447e(0x1f7))/0x7)+parseInt(_0x36447e(0x1f3))/0x8+-parseInt(_0x36447e(0x1f9))/0x9;if(_0x1a4a79===_0x12b70f)break;else _0x394e22['push'](_0x394e22['shift']());}catch(_0x1b8f32){_0x394e22['push'](_0x394e22['shift']());}}}(_0x5b5a,0x4400d));const e={'exchange-client':{'uploading':'上傳中','uploadSuccess':_0x4d6090(0x1fa),'uploadSuccessTip':_0x4d6090(0x1fc),'downloading':'下載中','downloadSuccess':_0x4d6090(0x1f0),'unknownMistake':'未知錯誤','networkError':_0x4d6090(0x200),'tooLarge':'資料流過大','internalError':_0x4d6090(0x1f1),'interrupt':_0x4d6090(0x1fe),'fileTypeError':_0x4d6090(0x201),'wait':_0x4d6090(0x1fd),'cancel':'取消','uploadAgain':'再次上傳'}};module[_0x4d6090(0x1fb)]=e;function _0x4fac(_0x2ad58b,_0x5ed45a){_0x2ad58b=_0x2ad58b-0x1f0;const _0x5b5aa2=_0x5b5a();let _0x4fac0e=_0x5b5aa2[_0x2ad58b];return _0x4fac0e;}function _0x5b5a(){const _0x230841=['下載成功','內部未知錯誤','24156wpiJir','3879024wQsbVU','3cIDwvn','88055dcSars','200372CLeAOW','448336NDQzen','703606CywvdC','6463026xHcySW','檔案上傳成功','exports','{0}個檔案上傳成功','請稍等...','網絡連線中斷,檔案上傳失敗','6yImGhW','網絡異常','所選檔案\x20[{0}]\x20不支援上傳'];_0x5b5a=function(){return _0x230841;};return _0x5b5a();}
1
+ const _0x51c414=_0x2730;(function(_0x177746,_0x5e23fd){const _0x48a0c5=_0x2730,_0xda6c74=_0x177746();while(!![]){try{const _0x10bc5c=-parseInt(_0x48a0c5(0x9b))/0x1*(-parseInt(_0x48a0c5(0x92))/0x2)+parseInt(_0x48a0c5(0x9d))/0x3+parseInt(_0x48a0c5(0x9a))/0x4+-parseInt(_0x48a0c5(0x9f))/0x5*(parseInt(_0x48a0c5(0x93))/0x6)+parseInt(_0x48a0c5(0x96))/0x7*(-parseInt(_0x48a0c5(0x91))/0x8)+-parseInt(_0x48a0c5(0x9c))/0x9+parseInt(_0x48a0c5(0x90))/0xa*(parseInt(_0x48a0c5(0x8e))/0xb);if(_0x10bc5c===_0x5e23fd)break;else _0xda6c74['push'](_0xda6c74['shift']());}catch(_0x146794){_0xda6c74['push'](_0xda6c74['shift']());}}}(_0x3098,0x82580));function _0x2730(_0x56e731,_0x4b4e03){_0x56e731=_0x56e731-0x8c;const _0x30987d=_0x3098();let _0x27300b=_0x30987d[_0x56e731];return _0x27300b;}const e={'exchange-client':{'uploading':'上傳中','uploadSuccess':'檔案上傳成功','uploadSuccessTip':_0x51c414(0x8c),'downloading':_0x51c414(0x9e),'downloadSuccess':_0x51c414(0x97),'unknownMistake':_0x51c414(0x94),'networkError':_0x51c414(0x98),'tooLarge':'資料流過大','internalError':_0x51c414(0x99),'interrupt':_0x51c414(0x95),'fileTypeError':_0x51c414(0x8d),'wait':'請稍等...','cancel':'取消','uploadAgain':_0x51c414(0x8f)}};module['exports']=e;function _0x3098(){const _0x69cbac=['內部未知錯誤','1552272rXvZtP','284ndCegM','6252138SRxmlg','577527kdGqMU','下載中','5gyjNaf','{0}個檔案上傳成功','所選檔案\x20[{0}]\x20不支援上傳','11dlbHBf','再次上傳','15083400JBvZlY','1072tDQEvC','6132OYBhbv','5789274RFEWij','未知錯誤','網絡連線中斷,檔案上傳失敗','40026ygSbiD','下載成功','網絡異常'];_0x3098=function(){return _0x69cbac;};return _0x3098();}
@@ -1 +1 @@
1
- const _0x4fb1ba=_0x25ff;(function(_0x5a6b35,_0x338f2e){const _0x4c682d=_0x25ff,_0x351aa6=_0x5a6b35();while(!![]){try{const _0x3ab82b=parseInt(_0x4c682d(0x1c7))/0x1*(-parseInt(_0x4c682d(0x1ca))/0x2)+-parseInt(_0x4c682d(0x1bd))/0x3*(parseInt(_0x4c682d(0x1ba))/0x4)+-parseInt(_0x4c682d(0x1bb))/0x5+parseInt(_0x4c682d(0x1cc))/0x6*(-parseInt(_0x4c682d(0x1c9))/0x7)+parseInt(_0x4c682d(0x1c8))/0x8*(parseInt(_0x4c682d(0x1bf))/0x9)+-parseInt(_0x4c682d(0x1c3))/0xa+parseInt(_0x4c682d(0x1c4))/0xb;if(_0x3ab82b===_0x338f2e)break;else _0x351aa6['push'](_0x351aa6['shift']());}catch(_0x3fbb3f){_0x351aa6['push'](_0x351aa6['shift']());}}}(_0x2456,0xf0ce9));const e={'exchange-client':{'uploading':_0x4fb1ba(0x1cb),'uploadSuccess':_0x4fb1ba(0x1c5),'uploadSuccessTip':'{0}個檔案上傳成功','downloading':_0x4fb1ba(0x1be),'downloadSuccess':_0x4fb1ba(0x1c6),'unknownMistake':_0x4fb1ba(0x1c1),'networkError':'網路異常','tooLarge':'資料流過大','internalError':'內部未知錯誤','interrupt':_0x4fb1ba(0x1bc),'fileTypeError':_0x4fb1ba(0x1c0),'wait':_0x4fb1ba(0x1c2),'cancel':'取消','uploadAgain':_0x4fb1ba(0x1b8)}};function _0x25ff(_0x310e60,_0x396aa6){_0x310e60=_0x310e60-0x1b8;const _0x2456fc=_0x2456();let _0x25ff9b=_0x2456fc[_0x310e60];return _0x25ff9b;}function _0x2456(){const _0x30e26b=['再次上傳','exports','652604thfXmc','2040875HnUQDh','網路連線中斷,檔案上傳失敗','33YgsXEV','下載中','3861udrTkx','所選檔案\x20[{0}]\x20不支援上傳','未知錯誤','請稍等...','6293020okcIul','42807380INJLoh','檔案上傳成功','下載成功','2qItjBm','21000uIxgwg','14KTyHBI','659944gHDCrl','上傳中','1617834nHqaIU'];_0x2456=function(){return _0x30e26b;};return _0x2456();}module[_0x4fb1ba(0x1b9)]=e;
1
+ const _0x117f88=_0x2f6f;(function(_0x1e8b4e,_0x5c66dc){const _0x2f29df=_0x2f6f,_0x3d947d=_0x1e8b4e();while(!![]){try{const _0x11fbe3=-parseInt(_0x2f29df(0x1a1))/0x1+parseInt(_0x2f29df(0x19e))/0x2+parseInt(_0x2f29df(0x1a3))/0x3*(parseInt(_0x2f29df(0x1ac))/0x4)+-parseInt(_0x2f29df(0x19d))/0x5*(-parseInt(_0x2f29df(0x1a2))/0x6)+parseInt(_0x2f29df(0x1aa))/0x7+-parseInt(_0x2f29df(0x198))/0x8*(-parseInt(_0x2f29df(0x1a8))/0x9)+-parseInt(_0x2f29df(0x1a9))/0xa*(-parseInt(_0x2f29df(0x19f))/0xb);if(_0x11fbe3===_0x5c66dc)break;else _0x3d947d['push'](_0x3d947d['shift']());}catch(_0xd30e0e){_0x3d947d['push'](_0x3d947d['shift']());}}}(_0x219e,0xa7232));const e={'exchange-client':{'uploading':'上傳中','uploadSuccess':_0x117f88(0x199),'uploadSuccessTip':_0x117f88(0x1a6),'downloading':'下載中','downloadSuccess':_0x117f88(0x19c),'unknownMistake':_0x117f88(0x19a),'networkError':_0x117f88(0x1a7),'tooLarge':_0x117f88(0x1ae),'internalError':_0x117f88(0x19b),'interrupt':_0x117f88(0x1a0),'fileTypeError':_0x117f88(0x1a5),'wait':_0x117f88(0x1a4),'cancel':'取消','uploadAgain':_0x117f88(0x1ab)}};module[_0x117f88(0x1ad)]=e;function _0x2f6f(_0x1ae877,_0x3f9cda){_0x1ae877=_0x1ae877-0x198;const _0x219eb3=_0x219e();let _0x2f6f83=_0x219eb3[_0x1ae877];return _0x2f6f83;}function _0x219e(){const _0xe2e6df=['4czybwm','exports','資料流過大','689944lVqVCL','檔案上傳成功','未知錯誤','內部未知錯誤','下載成功','374525YMILGn','98894TVIZXB','2805zaHNGK','網路連線中斷,檔案上傳失敗','1209677nedzhD','6RZCQRB','425613dJCyCT','請稍等...','所選檔案\x20[{0}]\x20不支援上傳','{0}個檔案上傳成功','網路異常','36ZPacmQ','18260QvqgGT','5722122AmUSaA','再次上傳'];_0x219e=function(){return _0xe2e6df;};return _0x219e();}
package/lib/es/facade.js CHANGED
@@ -1 +1 @@
1
- var _0x424500=_0x20c7;(function(_0x15f6aa,_0xe48b59){var _0x408e08=_0x20c7,_0x379cc4=_0x15f6aa();while(!![]){try{var _0x540a31=-parseInt(_0x408e08(0x1cd))/0x1+parseInt(_0x408e08(0x1d9))/0x2+-parseInt(_0x408e08(0x1dd))/0x3*(parseInt(_0x408e08(0x1e2))/0x4)+parseInt(_0x408e08(0x1ca))/0x5*(parseInt(_0x408e08(0x1e6))/0x6)+parseInt(_0x408e08(0x1d1))/0x7+parseInt(_0x408e08(0x1c8))/0x8*(parseInt(_0x408e08(0x1e7))/0x9)+-parseInt(_0x408e08(0x1d2))/0xa*(parseInt(_0x408e08(0x1c7))/0xb);if(_0x540a31===_0xe48b59)break;else _0x379cc4['push'](_0x379cc4['shift']());}catch(_0x2b5477){_0x379cc4['push'](_0x379cc4['shift']());}}}(_0x4efb,0x40b4c));import{IExchangeService as _0xe0f610}from'@univerjs-pro/exchange-client';import{UniverInstanceType as _0x2d0124}from'@univerjs/core';function _0x20c7(_0x36a3bb,_0x1c0275){_0x36a3bb=_0x36a3bb-0x1c6;var _0x4efb8f=_0x4efb();var _0x20c733=_0x4efb8f[_0x36a3bb];return _0x20c733;}import{FUniver as _0x160d2c}from'@univerjs/core/facade';var r=class extends _0x160d2c{[_0x424500(0x1e3)](_0x21c264,_0x11a13d,_0x43ad7a){var _0x5e9a64=_0x424500;this[_0x5e9a64(0x1e1)][_0x5e9a64(0x1ce)](_0xe0f610)[_0x5e9a64(0x1e3)](_0x21c264,_0x11a13d,_0x43ad7a);}async[_0x424500(0x1d6)](_0x3af6e0){var _0x447462=_0x424500;return this[_0x447462(0x1e1)][_0x447462(0x1ce)](_0xe0f610)['transformSnapshotJsonToWorkbookData'](_0x3af6e0);}async[_0x424500(0x1cb)](_0x57df1){var _0x4a4ae4=_0x424500;return this[_0x4a4ae4(0x1e1)][_0x4a4ae4(0x1ce)](_0xe0f610)[_0x4a4ae4(0x1df)](_0x57df1);}async[_0x424500(0x1ea)](_0x213bd4){var _0x2be58f=_0x424500;return this[_0x2be58f(0x1e1)][_0x2be58f(0x1ce)](_0xe0f610)[_0x2be58f(0x1d8)](_0x213bd4,_0x2d0124['UNIVER_SHEET']);}async[_0x424500(0x1e9)](_0x3c9de4){var _0x2df915=_0x424500;return this['_injector'][_0x2df915(0x1ce)](_0xe0f610)[_0x2df915(0x1d4)](_0x3c9de4);}async['exportXLSXByUnitIdAsync'](_0x10e18e){var _0x15e565=_0x424500;return this[_0x15e565(0x1e1)][_0x15e565(0x1ce)](_0xe0f610)[_0x15e565(0x1e5)](_0x10e18e);}async[_0x424500(0x1c6)](_0x3892d7){var _0x3aa539=_0x424500;return this[_0x3aa539(0x1e1)][_0x3aa539(0x1ce)](_0xe0f610)[_0x3aa539(0x1cf)](_0x3892d7);}async['importDOCXToUnitIdAsync'](_0x5506fc){var _0x37a950=_0x424500;return this['_injector'][_0x37a950(0x1ce)](_0xe0f610)[_0x37a950(0x1d8)](_0x5506fc,_0x2d0124['UNIVER_DOC']);}async[_0x424500(0x1d0)](_0x4a2ae6){var _0x39e95a=_0x424500;return this[_0x39e95a(0x1e1)][_0x39e95a(0x1ce)](_0xe0f610)[_0x39e95a(0x1d7)](_0x4a2ae6);}async[_0x424500(0x1e8)](_0x8446be){var _0x58c64f=_0x424500;return this[_0x58c64f(0x1e1)][_0x58c64f(0x1ce)](_0xe0f610)[_0x58c64f(0x1d5)](_0x8446be);}async['exportDOCXByUnitIdAsync'](_0x569cba){var _0x45193c=_0x424500;return this[_0x45193c(0x1e1)][_0x45193c(0x1ce)](_0xe0f610)['exportDOCXByUnitId'](_0x569cba);}async[_0x424500(0x1da)](_0x5de22e){var _0x315836=_0x424500;return this[_0x315836(0x1e1)]['get'](_0xe0f610)[_0x315836(0x1d8)](_0x5de22e,_0x2d0124[_0x315836(0x1de)]);}async[_0x424500(0x1cc)](_0x4997e5){var _0x78473e=_0x424500;return this[_0x78473e(0x1e1)][_0x78473e(0x1ce)](_0xe0f610)[_0x78473e(0x1dc)](_0x4997e5);}async[_0x424500(0x1e4)](_0x7e60c5){var _0x355ee0=_0x424500;return this[_0x355ee0(0x1e1)][_0x355ee0(0x1ce)](_0xe0f610)[_0x355ee0(0x1e0)](_0x7e60c5);}async[_0x424500(0x1db)](_0x43ad51){var _0x3413bb=_0x424500;return this[_0x3413bb(0x1e1)][_0x3413bb(0x1ce)](_0xe0f610)[_0x3413bb(0x1c9)](_0x43ad51);}};function _0x4efb(){var _0x407165=['104LxUULN','exportPPTXBySnapshot','755LjgkJI','transformWorkbookDataToSnapshotJsonAsync','importPPTXToSnapshotAsync','327595zRSayP','get','exportXLSXBySnapshot','importDOCXToSnapshotAsync','2544934vYyfwY','10uEnjli','extend','importXLSXToSnapshot','exportDOCXBySnapshot','transformSnapshotJsonToWorkbookDataAsync','importDOCXToSnapshot','importFileToUnitId','345966saejXc','importPPTXToUnitIdAsync','exportPPTXBySnapshotAsync','importPPTXToSnapshot','75qaDAJv','UNIVER_SLIDE','transformWorkbookDataToSnapshotJson','exportPPTXByUnitId','_injector','2680snuyli','downloadFile','exportPPTXByUnitIdAsync','exportXLSXByUnitId','17568lNfuIU','188847HCMaji','exportDOCXBySnapshotAsync','importXLSXToSnapshotAsync','importXLSXToUnitIdAsync','exportXLSXBySnapshotAsync','7062781HPhlWK'];_0x4efb=function(){return _0x407165;};return _0x4efb();}_0x160d2c[_0x424500(0x1d3)](r);export{};
1
+ var _0x301299=_0x5e41;(function(_0x541c67,_0x4468f8){var _0x293f60=_0x5e41,_0x12491c=_0x541c67();while(!![]){try{var _0x1c38b7=parseInt(_0x293f60(0xf4))/0x1+parseInt(_0x293f60(0x101))/0x2+-parseInt(_0x293f60(0xff))/0x3*(parseInt(_0x293f60(0xee))/0x4)+parseInt(_0x293f60(0xf9))/0x5+parseInt(_0x293f60(0xfc))/0x6+-parseInt(_0x293f60(0xf2))/0x7*(-parseInt(_0x293f60(0xe9))/0x8)+-parseInt(_0x293f60(0xfa))/0x9;if(_0x1c38b7===_0x4468f8)break;else _0x12491c['push'](_0x12491c['shift']());}catch(_0x550222){_0x12491c['push'](_0x12491c['shift']());}}}(_0x4ede,0xecef9));import{IExchangeService as _0xa64477}from'@univerjs-pro/exchange-client';import{UniverInstanceType as _0x58111e}from'@univerjs/core';import{FUniver as _0x3e5e94}from'@univerjs/core/facade';function _0x4ede(){var _0x3f80ca=['transformSnapshotJsonToWorkbookDataAsync','downloadFile','UNIVER_DOC','9383270hLJGjs','51147432HQdCrq','UNIVER_SLIDE','9972522cuKSEU','exportXLSXByUnitId','exportXLSXBySnapshotAsync','97386YoPmwk','exportPPTXBySnapshot','1047846blLEMx','importPPTXToSnapshot','exportDOCXBySnapshot','importFileToUnitId','transformSnapshotJsonToWorkbookData','importDOCXToSnapshotAsync','exportPPTXByUnitIdAsync','exportXLSXBySnapshot','24KgrMqd','exportDOCXByUnitId','importPPTXToSnapshotAsync','importPPTXToUnitIdAsync','get','24MXJeqx','exportPPTXByUnitId','transformWorkbookDataToSnapshotJson','_injector','4196584bXJyUf','exportXLSXByUnitIdAsync','987109RarUBv','exportDOCXBySnapshotAsync'];_0x4ede=function(){return _0x3f80ca;};return _0x4ede();}var r=class extends _0x3e5e94{[_0x301299(0xf7)](_0x28791d,_0x2308d2,_0x5fe735){var _0x4ee2a4=_0x301299;this[_0x4ee2a4(0xf1)]['get'](_0xa64477)['downloadFile'](_0x28791d,_0x2308d2,_0x5fe735);}async[_0x301299(0xf6)](_0x3f9630){var _0x4ee77d=_0x301299;return this[_0x4ee77d(0xf1)][_0x4ee77d(0xed)](_0xa64477)[_0x4ee77d(0x105)](_0x3f9630);}async['transformWorkbookDataToSnapshotJsonAsync'](_0x4b330b){var _0x2eeedd=_0x301299;return this[_0x2eeedd(0xf1)][_0x2eeedd(0xed)](_0xa64477)[_0x2eeedd(0xf0)](_0x4b330b);}async['importXLSXToUnitIdAsync'](_0x125d5e){var _0x37c421=_0x301299;return this[_0x37c421(0xf1)]['get'](_0xa64477)[_0x37c421(0x104)](_0x125d5e,_0x58111e['UNIVER_SHEET']);}async['importXLSXToSnapshotAsync'](_0x1cd61b){var _0x3dbadf=_0x301299;return this[_0x3dbadf(0xf1)]['get'](_0xa64477)['importXLSXToSnapshot'](_0x1cd61b);}async[_0x301299(0xf3)](_0x351429){var _0x243ea7=_0x301299;return this[_0x243ea7(0xf1)][_0x243ea7(0xed)](_0xa64477)[_0x243ea7(0xfd)](_0x351429);}async[_0x301299(0xfe)](_0x1733a2){var _0x21bb49=_0x301299;return this[_0x21bb49(0xf1)][_0x21bb49(0xed)](_0xa64477)[_0x21bb49(0xe8)](_0x1733a2);}async['importDOCXToUnitIdAsync'](_0x88a3c7){var _0x14a61a=_0x301299;return this[_0x14a61a(0xf1)][_0x14a61a(0xed)](_0xa64477)['importFileToUnitId'](_0x88a3c7,_0x58111e[_0x14a61a(0xf8)]);}async[_0x301299(0x106)](_0x88aa06){var _0x767013=_0x301299;return this[_0x767013(0xf1)][_0x767013(0xed)](_0xa64477)['importDOCXToSnapshot'](_0x88aa06);}async[_0x301299(0xf5)](_0x471776){var _0x3d6271=_0x301299;return this['_injector']['get'](_0xa64477)[_0x3d6271(0x103)](_0x471776);}async['exportDOCXByUnitIdAsync'](_0x11e4ff){var _0x55bd0d=_0x301299;return this[_0x55bd0d(0xf1)]['get'](_0xa64477)[_0x55bd0d(0xea)](_0x11e4ff);}async[_0x301299(0xec)](_0x32ca6a){var _0xbba451=_0x301299;return this[_0xbba451(0xf1)][_0xbba451(0xed)](_0xa64477)[_0xbba451(0x104)](_0x32ca6a,_0x58111e[_0xbba451(0xfb)]);}async[_0x301299(0xeb)](_0x59fe57){var _0x21150f=_0x301299;return this[_0x21150f(0xf1)]['get'](_0xa64477)[_0x21150f(0x102)](_0x59fe57);}async[_0x301299(0xe7)](_0xe9aa8d){var _0x4c22bb=_0x301299;return this[_0x4c22bb(0xf1)][_0x4c22bb(0xed)](_0xa64477)[_0x4c22bb(0xef)](_0xe9aa8d);}async['exportPPTXBySnapshotAsync'](_0x585a5a){var _0x344339=_0x301299;return this[_0x344339(0xf1)][_0x344339(0xed)](_0xa64477)[_0x344339(0x100)](_0x585a5a);}};function _0x5e41(_0x4ae6d6,_0x25ecf5){_0x4ae6d6=_0x4ae6d6-0xe7;var _0x4ede1c=_0x4ede();var _0x5e4170=_0x4ede1c[_0x4ae6d6];return _0x5e4170;}_0x3e5e94['extend'](r);export{};
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x23d669=_0x1e38;(function(_0x57f23f,_0x7c4c10){const _0x3aed9b=_0x1e38,_0x5d558a=_0x57f23f();while(!![]){try{const _0x16c5dc=-parseInt(_0x3aed9b(0x271))/0x1+-parseInt(_0x3aed9b(0x25a))/0x2+parseInt(_0x3aed9b(0x27f))/0x3+parseInt(_0x3aed9b(0x2ad))/0x4*(-parseInt(_0x3aed9b(0x2a9))/0x5)+parseInt(_0x3aed9b(0x2a1))/0x6*(-parseInt(_0x3aed9b(0x2b5))/0x7)+-parseInt(_0x3aed9b(0x27e))/0x8*(-parseInt(_0x3aed9b(0x213))/0x9)+parseInt(_0x3aed9b(0x245))/0xa*(parseInt(_0x3aed9b(0x1d8))/0xb);if(_0x16c5dc===_0x7c4c10)break;else _0x5d558a['push'](_0x5d558a['shift']());}catch(_0x130812){_0x5d558a['push'](_0x5d558a['shift']());}}}(_0x1858,0x77103));import{UniverLicensePlugin as _0x3e389e}from'@univerjs-pro/license';import{DependentOn as _0x1569cc,Disposable as _0x52bca0,IConfigService as _0x3d8792,ILogService as _0x3a0011,IResourceLoaderService as _0x157fb9,IUniverInstanceService as _0x5339d7,Inject as _0x4a5a40,Injector as _0x567ddb,LocaleService as _0x272894,Plugin as _0x41f81a,UniverInstanceType as _0x2d6c67,createIdentifier as _0x80f77a,merge as _0x4e3ddb,registerDependencies as _0x183bc4,resolveWithBasePath as _0x1c36ea,toDisposable as _0x3fea9b,touchDependencies as _0x5af7e6}from'@univerjs/core';import{HTTPResponseError as _0x5210cd,HTTPService as _0x4d8820,UniverNetworkPlugin as _0x5408c6}from'@univerjs/network';import{ClockIcon as _0x2706de,CloseIcon as _0x33d7e6,DirectExportIcon as _0x14b262,DocsMultiIcon as _0x53c355,ErrorIcon as _0x24fa5b,ShareRangeIcon as _0x46f9e8,SheetsMultiIcon as _0x3d35da,SlidesMultiIcon as _0x1a3297,SuccessIcon as _0x3e9272}from'@univerjs/icons';import{BuiltInUIPart as _0x5092be,IMessageService as _0x314cf6,IUIPartsService as _0x2ba4ee,IconManager as _0x3a6c35,connectInjector as _0x5566e3,useDependency as _0x34ce1b,useObservable as _0xe4fe28}from'@univerjs/ui';import{BehaviorSubject as _0x27b5e3,Subject as _0x27b580}from'rxjs';import{MessageType as _0x2849b7,Tooltip as _0x1e8df0,clsx as _0x4079bb,scrollbarClassName as _0x5808d7}from'@univerjs/design';import{jsx as _0x44e330,jsxs as _0x4de0df}from'react/jsx-runtime';import{ErrorCode as _0x18b2f3,FileSource as _0x58c9ac}from'@univerjs/protocol';import{b64DecodeUnicode as _0x2569a2,b64EncodeUnicode as _0x226c59,getSheetBlocksFromSnapshot as _0x43e137,textDecoder as _0x2a36ef,textEncoder as _0x493234,transformDocumentDataToSnapshot as _0x59b499,transformSlideDataToSnapshot as _0x23bc36,transformSnapshotToDocumentData as _0x1b12c6,transformSnapshotToSlideData as _0x5711f7,transformSnapshotToWorkbookData as _0x4cef1f,transformWorkbookDataToSnapshot as _0x2cfb44}from'@univerjs-pro/collaboration';import{deflateSync as _0x2b1f2b}from'fflate';var Pe=_0x23d669(0x18c),Fe='1.0.0-alpha.4';const T=_0x23d669(0x1f9),Ie={};function E(_0x1cef7b,_0x22f767){return function(_0x49f6d3,_0x41911f){_0x22f767(_0x49f6d3,_0x41911f,_0x1cef7b);};}function D(_0x4d33e8,_0x1c837f,_0xcf509e,_0x4c21b9){const _0x66da43=_0x23d669;var _0x26863d=arguments[_0x66da43(0x1ed)],_0x39d67c=_0x26863d<0x3?_0x1c837f:_0x4c21b9===null?_0x4c21b9=Object[_0x66da43(0x247)](_0x1c837f,_0xcf509e):_0x4c21b9,_0x59bb94;if(typeof Reflect==_0x66da43(0x1a4)&&typeof Reflect['decorate']==_0x66da43(0x241))_0x39d67c=Reflect[_0x66da43(0x292)](_0x4d33e8,_0x1c837f,_0xcf509e,_0x4c21b9);else{for(var _0x2597e0=_0x4d33e8[_0x66da43(0x1ed)]-0x1;_0x2597e0>=0x0;_0x2597e0--)(_0x59bb94=_0x4d33e8[_0x2597e0])&&(_0x39d67c=(_0x26863d<0x3?_0x59bb94(_0x39d67c):_0x26863d>0x3?_0x59bb94(_0x1c837f,_0xcf509e,_0x39d67c):_0x59bb94(_0x1c837f,_0xcf509e))||_0x39d67c);}return _0x26863d>0x3&&_0x39d67c&&Object[_0x66da43(0x2bc)](_0x1c837f,_0xcf509e,_0x39d67c),_0x39d67c;}let O=class extends _0x52bca0{constructor(_0x56f903){const _0x2f9e8b=_0x23d669;super(),this['_iconManager']=_0x56f903,this[_0x2f9e8b(0x23f)]();}['_registerIcons'](){const _0xb6663d=_0x23d669;this[_0xb6663d(0x1d6)](this['_iconManager'][_0xb6663d(0x16e)]({'DirectExportIcon':_0x14b262}));}};O=D([E(0x0,_0x4a5a40(_0x3a6c35))],O);function k(_0x5aa360){'@babel/helpers - typeof';const _0x412bbb=_0x23d669;return k=typeof Symbol==_0x412bbb(0x241)&&typeof Symbol[_0x412bbb(0x173)]==_0x412bbb(0x1ba)?function(_0x46eb2a){return typeof _0x46eb2a;}:function(_0x327781){const _0x4f8616=_0x412bbb;return _0x327781&&typeof Symbol==_0x4f8616(0x241)&&_0x327781[_0x4f8616(0x2b3)]===Symbol&&_0x327781!==Symbol['prototype']?_0x4f8616(0x1ba):typeof _0x327781;},k(_0x5aa360);}function Le(_0x5bcd63,_0x5b003f){const _0x594559=_0x23d669;if(k(_0x5bcd63)!=_0x594559(0x1a4)||!_0x5bcd63)return _0x5bcd63;var _0x268b67=_0x5bcd63[Symbol[_0x594559(0x1a9)]];if(_0x268b67!==void 0x0){var _0x567a8c=_0x268b67[_0x594559(0x1ce)](_0x5bcd63,_0x5b003f||'default');if(k(_0x567a8c)!=_0x594559(0x1a4))return _0x567a8c;throw TypeError(_0x594559(0x28f));}return(_0x5b003f===_0x594559(0x1a8)?String:Number)(_0x5bcd63);}function Re(_0x3a0f68){const _0x39b142=_0x23d669;var _0xb3e0be=Le(_0x3a0f68,_0x39b142(0x1a8));return k(_0xb3e0be)==_0x39b142(0x1ba)?_0xb3e0be:_0xb3e0be+'';}function A(_0x254850,_0x402b85,_0xc91001){const _0x4c2414=_0x23d669;return(_0x402b85=Re(_0x402b85))in _0x254850?Object[_0x4c2414(0x2bc)](_0x254850,_0x402b85,{'value':_0xc91001,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x254850[_0x402b85]=_0xc91001,_0x254850;}const j=_0x80f77a(_0x23d669(0x19f));var ze=class extends _0x52bca0{constructor(){const _0x56035e=_0x23d669;super(),A(this,_0x56035e(0x2c4),new _0x27b580()),A(this,_0x56035e(0x194),new _0x27b580()),A(this,'_list$',new _0x27b580()),A(this,_0x56035e(0x23b),this[_0x56035e(0x2c4)][_0x56035e(0x2b2)]()),A(this,_0x56035e(0x178),this[_0x56035e(0x194)][_0x56035e(0x2b2)]()),A(this,_0x56035e(0x1c5),this[_0x56035e(0x28e)]['asObservable']()),A(this,_0x56035e(0x1e5),[]);}['dispose'](){const _0xdc955c=_0x23d669;super[_0xdc955c(0x244)](),this['_visible$'][_0xdc955c(0x1d9)](),this[_0xdc955c(0x194)][_0xdc955c(0x1d9)](),this['_list$'][_0xdc955c(0x1d9)]();}[_0x23d669(0x1e3)](){const _0x1a000a=_0x23d669;this[_0x1a000a(0x2c4)]['next'](!0x0);}['hide'](){const _0x3ac8e2=_0x23d669;this['_visible$'][_0x3ac8e2(0x21f)](!0x1);}['updateState'](_0x64dba2){const _0x37502c=_0x23d669;this[_0x37502c(0x194)][_0x37502c(0x21f)](_0x64dba2);}[_0x23d669(0x1bd)](_0x2a2ded){const _0x348ce0=_0x23d669;this[_0x348ce0(0x1e5)][_0x348ce0(0x177)](_0x2a2ded),this[_0x348ce0(0x28e)]['next'](this['_list']);}};function Be(_0x155452){const _0x5e6f0e=_0x23d669;let {list:_0x3c21cc}=_0x155452;function _0x310dd3(_0x1320e1){switch(_0x1320e1){case 0x1:return _0x44e330(_0x53c355,{});case 0x2:return _0x44e330(_0x3d35da,{});case 0x3:return _0x44e330(_0x1a3297,{});default:return null;}}return _0x44e330(_0x5e6f0e(0x203),{'className':_0x4079bb('univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden',_0x5808d7),'children':_0x44e330('ul',{'className':_0x5e6f0e(0x2b1),'children':_0x3c21cc['map']((_0x38df06,_0x572f37)=>_0x44e330('li',{'children':_0x4de0df('a',{'className':_0x5e6f0e(0x20d),'href':_0x38df06[_0x5e6f0e(0x26b)],'target':_0x5e6f0e(0x22e),'rel':_0x5e6f0e(0x211),'children':[_0x4de0df(_0x5e6f0e(0x246),{'className':'univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','children':[_0x44e330(_0x5e6f0e(0x246),{'className':_0x5e6f0e(0x16b),'children':_0x310dd3(_0x38df06['type'])}),_0x44e330(_0x1e8df0,{'showIfEllipsis':!0x0,'title':_0x38df06['name'],'asChild':!0x0,'children':_0x44e330(_0x5e6f0e(0x246),{'className':_0x5e6f0e(0x270),'children':_0x38df06[_0x5e6f0e(0x265)]})})]}),_0x44e330(_0x5e6f0e(0x246),{'className':_0x5e6f0e(0x200),'children':_0x44e330(_0x46f9e8,{})})]})},_0x572f37))})});}const M=_0x23d669(0x1bb),N=_0x23d669(0x249),P=_0x23d669(0x17d),F=_0x23d669(0x192),I=_0x23d669(0x1eb),L=_0x23d669(0x1a0),R={[_0x2d6c67[_0x23d669(0x2c2)]]:[''],[_0x2d6c67[_0x23d669(0x169)]]:[M],[_0x2d6c67['UNIVER_SHEET']]:[N,P,F],[_0x2d6c67[_0x23d669(0x26c)]]:[I],[_0x2d6c67['UNIVER_BASE']]:[''],[_0x2d6c67[_0x23d669(0x24b)]]:[''],[_0x2d6c67[_0x23d669(0x20e)]]:[''],[_0x2d6c67['UNIVER_PDF']]:[L],[_0x2d6c67['UNRECOGNIZED']]:['']},z={[M]:'docx',[N]:'xlsx',[P]:_0x23d669(0x170),[F]:_0x23d669(0x18b),[I]:_0x23d669(0x236),[L]:_0x23d669(0x229)};function B(_0x20bcaf,_0xf64b7c,_0x4ca062){const _0x37fb81=_0x23d669;let _0x1c339f=document[_0x37fb81(0x1d5)]('a');_0x1c339f[_0x37fb81(0x1f0)]=_0x20bcaf,_0x1c339f['style'][_0x37fb81(0x2bd)]=_0x37fb81(0x20f),_0x1c339f[_0x37fb81(0x248)]=_0xf64b7c+'.'+_0x4ca062,document['body']['appendChild'](_0x1c339f),_0x1c339f['click'](),document[_0x37fb81(0x18d)][_0x37fb81(0x219)](_0x1c339f);}function Ve(_0x560b7a,_0x342f3d,_0xe351b){const _0x5928c2=_0x23d669;let _0x5bc312=URL['createObjectURL'](_0x560b7a);B(_0x5bc312,_0x342f3d,_0xe351b),URL[_0x5928c2(0x188)](_0x5bc312);}function He(_0x561a9b){const _0xab3392=_0x23d669;let _0x428925=_0x561a9b[_0xab3392(0x265)]['split']('.')[_0xab3392(0x24f)]();if(!_0x428925)return _0x2d6c67[_0xab3392(0x2c2)];let _0x14360d=Ue(),_0x19dc0f=_0x2d6c67[_0xab3392(0x2c2)];return _0x14360d[_0xab3392(0x257)](_0x5d76b2=>We(_0x428925,_0x5d76b2)?(_0x19dc0f=_0x5d76b2,!0x0):!0x1),_0x19dc0f;}function Ue(){const _0x5243cc=_0x23d669;return Object[_0x5243cc(0x20b)](_0x2d6c67)[_0x5243cc(0x187)](_0x2739d3=>typeof _0x2739d3==_0x5243cc(0x298));}function We(_0x202315,_0x44ce92){const _0x5e0660=_0x23d669;var _0x5cc4cb;return((_0x5cc4cb=R[_0x44ce92])==null?[]:_0x5cc4cb)[_0x5e0660(0x214)](_0x477705=>(z[_0x477705]||'')[_0x5e0660(0x2c3)]())['includes'](_0x202315[_0x5e0660(0x2c3)]());}function V(_0x15c911,_0x59433f=!0x1){const _0x1baee=_0x23d669;let _0x1bb4be=_0x15c911[_0x1baee(0x214)](_0x538fa0=>{var _0x38d36f;return(_0x38d36f=R[_0x538fa0])==null?[]:_0x38d36f;})[_0x1baee(0x1c8)](',');return new Promise((_0x28215d,_0x149775)=>{const _0x15c3ca=_0x1baee;let _0x304cf6=document['createElement']('input');_0x304cf6['type']=_0x15c3ca(0x287),_0x304cf6[_0x15c3ca(0x1c7)]=_0x1bb4be,_0x304cf6[_0x15c3ca(0x238)]=_0x59433f,_0x304cf6[_0x15c3ca(0x209)](_0x15c3ca(0x16a),_0x58b4e4=>{const _0x253db8=_0x15c3ca;let _0x103f27=_0x58b4e4[_0x253db8(0x1ca)];if(!_0x103f27['files']||_0x103f27[_0x253db8(0x28a)][_0x253db8(0x1ed)]===0x0)throw _0x149775(null),Error(_0x253db8(0x180));_0x28215d(_0x103f27[_0x253db8(0x28a)]);}),_0x304cf6[_0x15c3ca(0x21a)]();});}async function H(_0x2c1ce0,_0x1bc9a4){const _0x496075=_0x23d669;try{var _0x34759,_0x3ffa28,_0x103024;let _0xee082b=await _0x1bc9a4[_0x496075(0x207)](_0x2c1ce0,{'responseType':_0x496075(0x2a0)}),_0x15eecd=_0xee082b[_0x496075(0x18d)],_0x525b73=(_0x34759=(_0x3ffa28=_0xee082b[_0x496075(0x1ef)][_0x496075(0x207)](_0x496075(0x227)))==null?void 0x0:_0x3ffa28['join'](',\x20'))==null?_0x496075(0x21c):_0x34759,_0x30bba0=_0x496075(0x297)+(z[_0x525b73]||_0x496075(0x22f)),_0x5991c3=(_0x103024=_0xee082b[_0x496075(0x1ef)][_0x496075(0x207)](_0x496075(0x25b)))==null?void 0x0:_0x103024[_0x496075(0x1c8)](',\x20');if(_0x5991c3){let _0x4c178f=_0x5991c3['match'](/filename=(.+)/);_0x4c178f&&_0x4c178f[0x1]&&(_0x30bba0=_0x4c178f[0x1]);}else _0x30bba0=Ge(_0x2c1ce0)||_0x30bba0;return new File([_0x15eecd],_0x30bba0,{'type':_0x525b73});}catch(_0x3bff96){console[_0x496075(0x293)](_0x496075(0x260),_0x3bff96);return;}}function Ge(_0x4f292f){const _0x369081=_0x23d669;try{return new URL(_0x4f292f)['pathname'][_0x369081(0x24c)]('/')[_0x369081(0x24f)]();}catch(_0x4cd5fa){console[_0x369081(0x293)](_0x369081(0x1e7),_0x4cd5fa);return;}}function Ke(_0x5454ca){const _0x5e5468=_0x23d669;let _0x2b71fb=new Blob([_0x5454ca[_0x5e5468(0x206)]],{'type':_0x5e5468(0x221)});return new File([_0x2b71fb],'file.json');}function U(_0x382062,_0x4ea589){const _0x28664e=_0x23d669;return _0x382062[_0x28664e(0x225)](_0x28664e(0x21d),_0x4ea589);}function _0x1e38(_0x199163,_0x108e34){_0x199163=_0x199163-0x168;const _0x18581d=_0x1858();let _0x1e38b5=_0x18581d[_0x199163];return _0x1e38b5;}function qe(_0x312aa2,_0x137fcc){const _0x115592=_0x23d669;return _0x312aa2[_0x115592(0x225)]('{taskID}',_0x137fcc);}function Je(_0x199f30,_0x105df4){const _0x7953fe=_0x23d669;return _0x199f30['replace'](_0x7953fe(0x237),_0x105df4);}const W=_0x80f77a('univer-pro.exchange-client.request.service');let G=class{constructor(_0xfda3aa,_0x23c274){const _0x53dfaf=_0x23d669;this[_0x53dfaf(0x275)]=_0xfda3aa,this[_0x53dfaf(0x181)]=_0x23c274,A(this,_0x53dfaf(0x16c),new Set());}[_0x23d669(0x244)](){}[_0x23d669(0x1ab)](_0x2647f6){const _0x24164d=_0x23d669;this['_taskInterrupted'][_0x24164d(0x28c)](_0x2647f6);}[_0x23d669(0x1fc)](){const _0x2c0c1f=_0x23d669;this[_0x2c0c1f(0x16c)][_0x2c0c1f(0x19d)]();}async[_0x23d669(0x2bb)](_0x21a951,_0x1bae94=0x0,_0x301b8d=!0x1){const _0x453eb3=_0x23d669;if(typeof _0x21a951=='string'){let _0x1cc8ce=await H(_0x21a951,this['_httpService']);if(!_0x1cc8ce)throw Error('upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url');_0x21a951=_0x1cc8ce;}_0x1bae94=_0x1bae94||_0x21a951['size'];let _0x5dcfa9=new FormData();_0x5dcfa9[_0x453eb3(0x1ec)](_0x453eb3(0x287),_0x21a951);try{let _0x21dff8=this[_0x453eb3(0x2bf)]()+_0x453eb3(0x291)+_0x1bae94+_0x453eb3(0x2b6)+_0x58c9ac[_0x453eb3(0x289)]+_0x453eb3(0x26f)+_0x301b8d,_0x46e8c0={'body':_0x5dcfa9},_0x1bca53=(await this[_0x453eb3(0x181)][_0x453eb3(0x26d)](_0x21dff8,_0x46e8c0))[_0x453eb3(0x18d)];if(_0x1bca53[_0x453eb3(0x293)]&&_0x1bca53[_0x453eb3(0x293)][_0x453eb3(0x1f6)]!==_0x18b2f3['OK'])throw Error(this[_0x453eb3(0x2be)](_0x453eb3(0x299),_0x1bca53[_0x453eb3(0x293)]));return _0x1bca53;}catch(_0xc1b1fb){throw _0xc1b1fb instanceof Error?_0xc1b1fb:Error(this[_0x453eb3(0x1e0)](_0x453eb3(0x299),_0xc1b1fb));}}async[_0x23d669(0x296)](_0x30bcbf){const _0x30c84d=_0x23d669;let {fileID:_0x2e832,type:_0x4af2a9,outputType:_0x2a99b8,minSheetColumnCount:_0x38b00f,minSheetRowCount:_0x54529d}=_0x30bcbf;try{let _0x29dbfd=U(this[_0x30c84d(0x1bc)](),''+_0x4af2a9),_0x20f8b3={'body':{'fileID':_0x2e832,'outputType':_0x2a99b8,'minSheetColumnCount':_0x38b00f,'minSheetRowCount':_0x54529d}},_0xe4f91b=(await this['_httpService']['post'](_0x29dbfd,_0x20f8b3))['body'];return _0xe4f91b[_0x30c84d(0x293)]&&_0xe4f91b['error'][_0x30c84d(0x1f6)]!==_0x18b2f3['OK']?void 0x0:_0xe4f91b;}catch{return;}}async[_0x23d669(0x26a)](_0x2599ca){const _0xac73e1=_0x23d669;let {unitID:_0x417fd7,jsonID:_0x3ae10b,type:_0x7157f8,useImageUrl:_0x13115a,ignoreTableExport:_0x2e03a9}=_0x2599ca;try{let _0x34dc3a=U(this[_0xac73e1(0x22d)](),''+_0x7157f8),_0x20d302={'body':{'unitID':_0x417fd7,'jsonID':_0x3ae10b,'type':_0x7157f8,'useImageUrl':_0x13115a,'ignoreTableExport':_0x2e03a9}},_0x23feca=(await this[_0xac73e1(0x181)][_0xac73e1(0x26d)](_0x34dc3a,_0x20d302))[_0xac73e1(0x18d)];return _0x23feca['error']&&_0x23feca[_0xac73e1(0x293)]['code']!==_0x18b2f3['OK']?void 0x0:_0x23feca;}catch{return;}}async[_0x23d669(0x28b)](_0x4ebd78){return new Promise((_0x194845,_0x1a7205)=>{const _0x318637=_0x1e38;try{let _0x37f5f4=0x0,_0x3c6fab=qe(this[_0x318637(0x1b2)](),''+_0x4ebd78),_0x275a44=this['_getMaxPollingTime'](),_0x21cf48=async()=>{const _0x2dc3e2=_0x318637;if(this[_0x2dc3e2(0x16c)]['has'](_0x4ebd78))return;let _0x56e252=(await this['_httpService'][_0x2dc3e2(0x207)](_0x3c6fab))[_0x2dc3e2(0x18d)];if(_0x56e252[_0x2dc3e2(0x293)]&&_0x56e252[_0x2dc3e2(0x293)][_0x2dc3e2(0x1f6)]===_0x18b2f3['OK']){if(_0x56e252[_0x2dc3e2(0x253)]===_0x2dc3e2(0x1e8))_0x194845(_0x56e252);else{if(_0x56e252[_0x2dc3e2(0x253)]===_0x2dc3e2(0x1cf)){let _0x2682fc=0x3e8;if(_0x37f5f4>=_0x275a44){_0x1a7205(_0x56e252);return;}else _0x37f5f4>=0x7530&&(_0x2682fc=0x1388);_0x37f5f4+=_0x2682fc,setTimeout(_0x21cf48,_0x2682fc);}else _0x1a7205(_0x56e252);}}else _0x1a7205(_0x56e252);};_0x21cf48();}catch(_0x30e682){_0x1a7205(_0x30e682 instanceof Error?_0x30e682:Error(String(_0x30e682)));}});}async[_0x23d669(0x230)](_0xc15347){const _0x41625a=_0x23d669;try{let _0x565e27=Je(this[_0x41625a(0x23e)](),''+_0xc15347);return(await this[_0x41625a(0x181)][_0x41625a(0x207)](_0x565e27))[_0x41625a(0x18d)];}catch{return;}}async['getTextFromUrl'](_0x1a370b){const _0x15a564=_0x23d669;try{return(await this[_0x15a564(0x181)][_0x15a564(0x207)](_0x1a370b,{'responseType':_0x15a564(0x1d3)}))[_0x15a564(0x18d)];}catch{return;}}[_0x23d669(0x2be)](_0x5569c4,_0x735759){const _0x45ae9f=_0x23d669;let _0x19bcfc=this[_0x45ae9f(0x17f)](_0x735759);return _0x19bcfc?_0x5569c4+':\x20'+_0x19bcfc:_0x5569c4;}[_0x23d669(0x1e0)](_0x3d0a67,_0x30f000){const _0x5eb241=_0x23d669;if(_0x30f000 instanceof _0x5210cd){let _0x575718=typeof _0x30f000[_0x5eb241(0x253)]==_0x5eb241(0x298)?''+_0x30f000[_0x5eb241(0x253)]+(_0x30f000['statusText']?'\x20'+_0x30f000[_0x5eb241(0x25d)]:''):void 0x0,_0x2d8fb2=this[_0x5eb241(0x17f)](_0x30f000['error']);return _0x575718&&_0x2d8fb2?_0x3d0a67+_0x5eb241(0x2c0)+_0x575718+'\x20-\x20'+_0x2d8fb2:_0x575718?_0x3d0a67+_0x5eb241(0x2c0)+_0x575718:_0x2d8fb2?_0x3d0a67+':\x20'+_0x2d8fb2:_0x3d0a67;}let _0x4fc283=this['_extractErrorDetail'](_0x30f000);return _0x4fc283?_0x3d0a67+':\x20'+_0x4fc283:_0x3d0a67;}[_0x23d669(0x17f)](_0x4f1444){const _0x46bfd4=_0x23d669;if(typeof _0x4f1444=='string'){let _0x20d384=_0x4f1444[_0x46bfd4(0x171)]();return _0x20d384[_0x46bfd4(0x1ed)]>0x0?_0x20d384:void 0x0;}if(_0x4f1444 instanceof Error)return this[_0x46bfd4(0x17f)](_0x4f1444['message']);if(!_0x4f1444||typeof _0x4f1444!='object'||Array[_0x46bfd4(0x273)](_0x4f1444))return;let _0x240bf8=_0x4f1444,_0xb0ad9a=this['_extractErrorDetail'](_0x240bf8[_0x46bfd4(0x21e)]);if(_0xb0ad9a)return _0xb0ad9a;if(_0x240bf8[_0x46bfd4(0x293)]&&typeof _0x240bf8['error']=='object'&&!Array[_0x46bfd4(0x273)](_0x240bf8[_0x46bfd4(0x293)])){let _0x1d6846=this[_0x46bfd4(0x17f)](_0x240bf8[_0x46bfd4(0x293)]);if(_0x1d6846)return _0x1d6846;}}['_getUploadFileURL'](){const _0x4319b2=_0x23d669;var _0x22cd47;let _0x1ddf0e=this['_configService']['getConfig'](T);return(_0x22cd47=_0x1ddf0e==null?void 0x0:_0x1ddf0e[_0x4319b2(0x29d)])==null?_0x4319b2(0x195):_0x22cd47;}['_getImportURL'](){const _0x103b29=_0x23d669;var _0xc0808a;let _0x42fab8=this['_configService']['getConfig'](T);return(_0xc0808a=_0x42fab8==null?void 0x0:_0x42fab8[_0x103b29(0x198)])==null?_0x103b29(0x285):_0xc0808a;}[_0x23d669(0x22d)](){const _0x5d606c=_0x23d669;var _0x42414e;let _0x1a3188=this[_0x5d606c(0x275)]['getConfig'](T);return(_0x42414e=_0x1a3188==null?void 0x0:_0x1a3188[_0x5d606c(0x284)])==null?_0x5d606c(0x1a1):_0x42414e;}[_0x23d669(0x1b2)](){const _0x420c28=_0x23d669;var _0x9e58b9;let _0x2fa6f8=this[_0x420c28(0x275)][_0x420c28(0x190)](T);return(_0x9e58b9=_0x2fa6f8==null?void 0x0:_0x2fa6f8['getTaskServerUrl'])==null?'/universer-api/exchange/task/{taskID}':_0x9e58b9;}['_getSignURL'](){const _0x1bb105=_0x23d669;var _0x442531;let _0x20a03e=this[_0x1bb105(0x275)][_0x1bb105(0x190)](T);return(_0x442531=_0x20a03e==null?void 0x0:_0x20a03e[_0x1bb105(0x2b8)])==null?_0x1bb105(0x196):_0x442531;}[_0x23d669(0x280)](){const _0x2d8045=_0x23d669;var _0x5163fb;let _0x58acc7=this[_0x2d8045(0x275)][_0x2d8045(0x190)](T);return(_0x5163fb=_0x58acc7==null?void 0x0:_0x58acc7[_0x2d8045(0x176)])==null?0x1d4c0:_0x5163fb;}};G=D([E(0x0,_0x3d8792),E(0x1,_0x4a5a40(_0x4d8820))],G);function Ye(_0x4f11a3){const _0x4d5580=_0x23d669;let _0x3195b7=_0x4f11a3['workbook'];if(!_0x3195b7)return null;let _0x2ec7b4={};_0x3195b7[_0x4d5580(0x1fe)]&&Object[_0x4d5580(0x2aa)](_0x3195b7['sheets'])[_0x4d5580(0x2ba)](_0x21360f=>{const _0x355625=_0x4d5580;let _0x32db3c=_0x3195b7[_0x355625(0x1fe)][_0x21360f];_0x2ec7b4[_0x21360f]={..._0x32db3c,'originalMeta':_0x226c59(_0x2a36ef[_0x355625(0x25e)](_0x32db3c[_0x355625(0x2ac)]))};});let _0x30394e=_0x226c59(_0x2a36ef[_0x4d5580(0x25e)](_0x3195b7[_0x4d5580(0x2ac)]));return{..._0x4f11a3,'workbook':{..._0x3195b7,'originalMeta':_0x30394e,'sheets':_0x2ec7b4},'doc':{},'slide':void 0x0,'board':void 0x0};}function Xe(_0x21aa0c){const _0xfb1fa9=_0x23d669;let _0x501509=_0x21aa0c[_0xfb1fa9(0x1ff)];if(!_0x501509)return null;let _0x45914e=_0x226c59(_0x2a36ef[_0xfb1fa9(0x25e)](_0x501509[_0xfb1fa9(0x2ac)]));return{..._0x21aa0c,'workbook':{},'doc':{..._0x501509,'originalMeta':_0x45914e},'slide':void 0x0,'board':void 0x0};}function Ze(_0x5f2687){const _0x431db0=_0x23d669;var _0x358855;let _0x59fba9=(_0x358855=_0x5f2687[_0x431db0(0x16d)])==null?_0x5f2687['doc']:_0x358855;if(!_0x59fba9)return null;let _0x14e06a=typeof _0x59fba9['originalMeta']==_0x431db0(0x1a8)?_0x59fba9[_0x431db0(0x2ac)]:_0x226c59(_0x2a36ef[_0x431db0(0x25e)](_0x59fba9[_0x431db0(0x2ac)]));return{..._0x5f2687,'workbook':{},'doc':{},'slide':{..._0x59fba9,'originalMeta':_0x14e06a},'board':void 0x0};}function K(_0x4e0070){const _0x3b5c6a=_0x23d669;let _0x127ab7={};return _0x4e0070[_0x3b5c6a(0x2ba)](_0x4f6911=>{const _0x3494cc=_0x3b5c6a;_0x127ab7[_0x4f6911['id']]={..._0x4f6911,'data':_0x226c59(_0x2a36ef[_0x3494cc(0x25e)](_0x4f6911['data']))};}),_0x127ab7;}async function Qe(_0x3c0413){const _0x1581c2=_0x23d669;var _0x2dd6cb;let _0x8d4ade={'metadata':void 0x0},_0x58948e=_0x3c0413['id'],_0x51b07f=(_0x2dd6cb=_0x3c0413[_0x1581c2(0x1b5)])==null?0x0:_0x2dd6cb,_0x34201f=new q(),{snapshot:_0x5bf8c4}=await _0x2cfb44(_0x8d4ade,_0x3c0413,_0x58948e,_0x51b07f,_0x34201f),_0x2720cb=await _0x43e137(_0x5bf8c4,_0x34201f),_0x29c0b7=Ye(_0x5bf8c4);if(!_0x29c0b7)throw Error(_0x1581c2(0x279));return{'snapshot':_0x29c0b7,'sheetBlocks':K(_0x2720cb)};}async function $e(_0x34a6ea){const _0x5db97b=_0x23d669;var _0x5cb861;let _0x57434c={'metadata':void 0x0},_0x547f0a=_0x34a6ea['id'],{snapshot:_0x2b6f61}=await _0x59b499(_0x57434c,_0x34a6ea,_0x547f0a,(_0x5cb861=_0x34a6ea[_0x5db97b(0x1b5)])==null?0x0:_0x5cb861,new q()),_0x4839a0=Xe(_0x2b6f61);if(!_0x4839a0)throw Error(_0x5db97b(0x279));return{'snapshot':_0x4839a0,'sheetBlocks':{}};}async function et(_0x265754){const _0xc696fd=_0x23d669;var _0x1977e1;let _0x1346f2=_0x265754['id'],_0x9c2710=(_0x1977e1=_0x265754[_0xc696fd(0x1b5)])==null?0x0:_0x1977e1,_0x5662ab=new q(),{snapshot:_0x1d2e00}=await _0x23bc36(_0x265754[_0xc696fd(0x232)],_0x265754,_0x1346f2,_0x9c2710,_0x5662ab),_0x292241=Ze(_0x1d2e00);if(!_0x292241)throw Error(_0xc696fd(0x279));return{'snapshot':_0x292241,'sheetBlocks':{}};}async function tt(_0xc32aa6){const _0x5f5a56=_0x23d669;let _0x1ff5dc=_0xc32aa6[_0x5f5a56(0x1d0)],_0x4f7384=_0xc32aa6[_0x5f5a56(0x1c6)]||{};return await _0x4cef1f(_0x1ff5dc,Object[_0x5f5a56(0x2aa)](_0x4f7384)[_0x5f5a56(0x214)](_0x42756c=>_0x4f7384[_0x42756c])[_0x5f5a56(0x214)](_0x26c1dd=>({..._0x26c1dd,'data':_0x26c1dd[_0x5f5a56(0x228)]?JSON[_0x5f5a56(0x201)](_0x2569a2(_0x26c1dd[_0x5f5a56(0x228)])):void 0x0})));}function nt(_0x445fcd){const _0x3ded0b=_0x23d669;let _0x473ca4=_0x445fcd[_0x3ded0b(0x1d0)];return _0x1b12c6(_0x473ca4);}function rt(_0x5ace33){const _0x151cd7=_0x23d669;let _0x2e4374=_0x5ace33[_0x151cd7(0x1d0)];return _0x5711f7(_0x2e4374);}function _0x1858(){const _0x63b75a=['importFileToUnitIdByCurrentType','headers','href','createUnit','exportDOCXBySnapshot','set','univer-pro.exchange-client.exchange.service','univer-pl-2\x20univer-pr-4','code','getUnitOnRev','univer-mt-5\x20univer-flex\x20univer-flex-col','exchange-client.config','_exportBySnapshot','shift','clearTaskInterrupted','exportXLSXBySnapshot','sheets','doc','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','parse','_showUploadMessage','div','getFocusedUnit','stringify','buffer','get','fetchMissingChangesets','addEventListener','CONTENT','values','_refreshSlide','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','UNIVER_PROJECT','none','importPPTXToUnitId','noreferrer','packageName','9729MggFCA','map','_injector','upload\x20failed:\x20missing\x20FileId\x20in\x20response','_getUnitDocJson','univer-flex','removeChild','click','_emitProgress','application/octet-stream','{type}','message','next','_getDisableCellImageConversion','application/json','Info','_getUnitID','exportXLSXByUnitId','replace','_logService','Content-Type','data','pdf','blockID','ignoreTableExport','outputType','_getExportURL','_blank','xlsx','signUrl','_signUrl','resources','_config','importDOCXToSnapshot','Get\x20outputType\x20error','pptx','{fileID}','multiple','UNIVER_SHEET','url','visible$','importXLSXToSnapshot','_getMinSheetRowCount','_getSignURL','_registerIcons','registerLink','function','exportDOCXByUnitId','getTextFromUrl','dispose','3110aLZAJg','span','getOwnPropertyDescriptor','download','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','_import','UNIVER_BOARD','split','Failed\x20to\x20get\x20unitID\x20from\x20task','univer-text-green-500','pop','options','downloadEndpointUrl','_localeService','status','_getUnitName','importXLSXToUnitId','hide','some','copyFileMeta','getSnapshot','1191720SwrTrB','content-disposition','setConfig','statusText','decode','univer-mb-3\x20univer-py-0\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','Error\x20fetching\x20file\x20from\x20URL:','_getUnitSlideJson','CONNECTOR_DATA_TOO_LARGE','registerComponent','UNDEFINED','name','_upload','importFileToUnitId','getUnitId','jsonID','export','link','UNIVER_SLIDE','post','getCurrentUnitOfType','&flate=','univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','815140LpyRwP','_getUnitIDDoc','isArray','onStarting','_configService','importFileToJson','getLatestCsReqIdBySid','_clearProgress','Failed\x20to\x20transform\x20snapshot\x20to\x20string','block\x20is\x20required','_registerUIParts','taskID','importDOCXToUnitId','5176DlmLrO','2292279KMRqjj','_getMaxPollingTime','sign\x20url\x20error','fileID','univer-mx-0\x20univer-mb-3\x20univer-mt-4\x20univer-h-1.5\x20univer-w-[324px]\x20univer-rounded-lg\x20univer-bg-gray-200','exportServerUrl','/universer-api/exchange/{type}/import','_showNetworkError','file','exchange-client.tooLarge','HttpImport','files','getTask','add','title','_list$','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','Success','?size=','decorate','error','version','_resourceLoaderService','import','file.','number','upload\x20request\x20failed','_getDownloadEndpointURL','Failed\x20to\x20get\x20jsonID\x20from\x20task','saveSnapshot','uploadFileServerUrl','exchange-client.interrupt','_getIgnoreTableExport','blob','6sdYrCN','min','univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','type','_doneUploadTaskCount','_exchangeService','resolve','updateSnapshot','3033750snJvbL','keys','_addTotalCount','originalMeta','4GxldLz','import\x20error','_requestService','catch','univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','asObservable','constructor','pluginName','3615416kFVfVz','&source=','exchange-client.fileTypeError','signUrlServerUrl','univer-h-6\x20univer-text-2xl','forEach','upload','defineProperty','display','_buildProtocolErrorMessage','_getUploadFileURL',':\x20HTTP\x20','.json','UNIVER_UNKNOWN','toLowerCase','_visible$','_requestState$','_importTaskId','transformSnapshotJsonToWorkbookData','UNIVER_DOC','change','univer-flex\x20univer-h-5\x20univer-text-xl','_taskInterrupted','slide','register','_showDownloadMessage','xlsm','trim','UNRECOGNIZED','iterator','searchParams','_fileTypeError','maxTimeoutTime','unshift','state$','_importFileToUnitId','exchange-client.internalError','_uploadTaskNotDone','unitID','application/vnd.ms-excel.sheet.macroEnabled.12','_getUnitIDSlide','_extractErrorDetail','No\x20file\x20selected','_httpService','progress$','origin','docx','requestState$','Error','filter','revokeObjectURL','_totalUploadTaskCount','importPPTXToSnapshot','xltx','@univerjs-pro/exchange-client','body','exchange-client.uploadSuccess','_addDoneTask','getConfig','INTERNAL_ERROR','application/vnd.openxmlformats-officedocument.spreadsheetml.template','saveUnit','_state$','/universer-api/stream/file/upload','/universer-api/file/{fileID}/sign-url','exchange-client.wait','importServerUrl','_getUnitJson','minSheetRowCount','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2','univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','clear','toString','univer-pro.exchange-client.upload-notification.service','application/pdf','/universer-api/exchange/{type}/export','exchange-client.uploading','interruptImportTask','object','_getLinkByUnitId','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','_refresh','string','toPrimitive','success','setTaskInterrupted','encode','_getMinSheetColumnCount','upload\x20failed:\x20FileId\x20is\x20empty','location','_univerInstanceService','Failed\x20to\x20get\x20text\x20from\x20url','_getTaskURL','disableCellImageConversion','updateState','rev','downloadFile','_messageService','univer-mt-3\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-2\x20univer-pr-1','getResourcesRequest','symbol','application/vnd.openxmlformats-officedocument.wordprocessingml.document','_getImportURL','pushLink','floor','_export','univer-text-red-500','_completeProgress','exportPPTXBySnapshot','button','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','list$','sheetBlocks','accept','join','exchange-client.networkError','currentTarget','_uiPartsService','Failed\x20to\x20parse\x20json','_getUnitNameByType','call','pending','snapshot','Failed\x20to\x20get\x20fileID\x20from\x20task','exportPPTXByUnitId','text','minSheetColumnCount','createElement','disposeWithMe','subscribe','55121QohURV','complete','getSheetBlock','Failed\x20to\x20get\x20taskID\x20from\x20import\x20response','Method\x20not\x20implemented.','transformWorkbookDataToSnapshotJson','Warning','_sheetBlockCache','_buildHttpErrorMessage','_uploadNotificationService','_importToJson','show','_progress$','_list','interrupt','Error\x20getting\x20file\x20name\x20from\x20URL:','done','univer-text-sm\x20univer-text-gray-500','exchange-client.uploadAgain','application/vnd.openxmlformats-officedocument.presentationml.presentation','append','length'];_0x1858=function(){return _0x63b75a;};return _0x1858();}var q=class{constructor(){const _0x578764=_0x23d669;A(this,_0x578764(0x1df),new Map());}[_0x23d669(0x1f7)](){const _0x5f058c=_0x23d669;return Promise[_0x5f058c(0x2a7)]({'snapshot':{'unitID':'','type':_0x2d6c67[_0x5f058c(0x239)],'rev':0x0,'workbook':void 0x0,'doc':void 0x0,'slide':void 0x0,'board':void 0x0},'changesets':[],'error':{'code':_0x18b2f3['OK'],'message':''}});}[_0x23d669(0x1da)](_0xbe1a22,_0x1434ba){const _0xfc2a3=_0x23d669;let _0x2d82f9=this['_sheetBlockCache']['get'](_0x1434ba[_0xfc2a3(0x22a)]);return Promise[_0xfc2a3(0x2a7)]({'block':_0x2d82f9,'error':{'code':_0x18b2f3['OK'],'message':''}});}['getDeserializedSheetBlock'](_0x47b2f5,_0x4d17c2){const _0x5a66ac=_0x23d669;let _0x5c6528=this[_0x5a66ac(0x1df)][_0x5a66ac(0x207)](_0x4d17c2[_0x5a66ac(0x22a)]);return Promise[_0x5a66ac(0x2a7)]({'block':_0x5c6528===void 0x0?void 0x0:{..._0x5c6528,'data':JSON[_0x5a66ac(0x201)](_0x2a36ef[_0x5a66ac(0x25e)](_0x5c6528[_0x5a66ac(0x228)]))},'error':{'code':_0x18b2f3['OK'],'message':''}});}[_0x23d669(0x208)](){const _0x383cd5=_0x23d669;return Promise[_0x383cd5(0x2a7)]({'changesets':[],'error':{'code':_0x18b2f3['OK'],'message':''}});}[_0x23d669(0x1b9)](){const _0x17bd59=_0x23d669;return Promise[_0x17bd59(0x2a7)]({'resources':{},'error':{'code':_0x18b2f3['OK'],'message':''}});}[_0x23d669(0x29c)](){return Promise['resolve']({'error':{'code':_0x18b2f3['OK'],'message':''}});}[_0x23d669(0x2a8)](){const _0x24b4a4=_0x23d669;return Promise[_0x24b4a4(0x2a7)]({'error':{'code':_0x18b2f3['OK'],'message':''}});}['saveSheetBlock'](_0x1120f6,_0x2da708){const _0x39d11e=_0x23d669;let {block:_0x2f939d}=_0x2da708;return _0x2f939d?(this[_0x39d11e(0x1df)]['set'](_0x2f939d['id'],_0x2f939d),Promise[_0x39d11e(0x2a7)]({'error':{'code':_0x18b2f3['OK'],'message':''},'blockID':_0x2f939d['id']})):Promise['resolve']({'error':{'code':_0x18b2f3[_0x39d11e(0x264)],'message':_0x39d11e(0x27a)},'blockID':''});}['saveChangeset'](){return Promise['resolve']({'error':{'code':_0x18b2f3['OK'],'message':''},'concurrent':[]});}[_0x23d669(0x258)](){const _0x59bba6=_0x23d669;return Promise[_0x59bba6(0x2a7)]({'error':void 0x0,'fileMetaId':''});}[_0x23d669(0x277)](){const _0x5cf05d=_0x23d669;return Promise[_0x5cf05d(0x2a7)]({'error':void 0x0,'latestReqID':0x0});}};const J=_0x80f77a(_0x23d669(0x1f4));let Y=class extends _0x52bca0{constructor(_0x2c8542,_0x18c1fa,_0x1a8239){const _0x386309=_0x23d669;super(),this[_0x386309(0x275)]=_0x2c8542,this[_0x386309(0x181)]=_0x18c1fa,this[_0x386309(0x2af)]=_0x1a8239,A(this,_0x386309(0x2c6),null),A(this,'_requestState$',new _0x27b580()),A(this,_0x386309(0x185),this[_0x386309(0x2c5)][_0x386309(0x2b2)]());}[_0x23d669(0x244)](){const _0x5b070b=_0x23d669;super[_0x5b070b(0x244)](),this[_0x5b070b(0x2c5)][_0x5b070b(0x1d9)]();}['downloadFile'](_0x50ab98,_0x56e47d,_0x3ae48d){const _0x52771c=_0x23d669;let _0x335578=URL['createObjectURL'](_0x50ab98);B(_0x335578,_0x56e47d,_0x3ae48d),URL[_0x52771c(0x188)](_0x335578);}async[_0x23d669(0x168)](_0x1a5333){const _0x4409f1=_0x23d669;let _0x458dec=_0x1a5333[_0x4409f1(0x1d0)],_0x10b3da=_0x1a5333[_0x4409f1(0x1c6)]||{};return _0x4cef1f(_0x458dec,Object[_0x4409f1(0x2aa)](_0x10b3da)[_0x4409f1(0x214)](_0xfb8f89=>_0x10b3da[_0xfb8f89])[_0x4409f1(0x214)](_0x7939bf=>({..._0x7939bf,'data':_0x7939bf[_0x4409f1(0x228)]?JSON[_0x4409f1(0x201)](_0x2569a2(_0x7939bf[_0x4409f1(0x228)])):void 0x0})));}async[_0x23d669(0x1dd)](_0xa8e85a){const _0x3efea1=_0x23d669;var _0x27810d;let _0x9f1b2={'metadata':void 0x0},_0x38bd97=_0xa8e85a['id'],_0x1efd53=(_0x27810d=_0xa8e85a['rev'])==null?0x0:_0x27810d,_0x190824=new q(),{snapshot:_0x16e8ec}=await _0x2cfb44(_0x9f1b2,_0xa8e85a,_0x38bd97,_0x1efd53,_0x190824),_0x21142e=await _0x43e137(_0x16e8ec,_0x190824),_0xf7c9e2=Ye(_0x16e8ec);if(!_0xf7c9e2)throw Error(_0x3efea1(0x279));return{'snapshot':_0xf7c9e2,'sheetBlocks':K(_0x21142e)};}async[_0x23d669(0x234)](_0x9c5c2e){const _0x1e1cec=_0x23d669;let _0x2abfe5=await this[_0x1e1cec(0x276)](_0x9c5c2e,_0x2d6c67[_0x1e1cec(0x169)]);if(!_0x2abfe5||!_0x2abfe5[_0x1e1cec(0x1d0)])return;let _0x2e26fc=nt(_0x2abfe5);if(_0x2e26fc)return _0x2e26fc;}async['exportDOCXByUnitId'](_0xb9d2af){const _0xa58161=_0x23d669;return this[_0xa58161(0x1bf)](_0xb9d2af,0x1,_0x2d6c67[_0xa58161(0x169)]);}async[_0x23d669(0x1f2)](_0x5bdcb1){const _0x5b0bb3=_0x23d669;let _0xe79a4=await $e(_0x5bdcb1);return this[_0x5b0bb3(0x1fa)](_0xe79a4,_0x2d6c67[_0x5b0bb3(0x169)]);}async['importPPTXToSnapshot'](_0x22c3db){const _0x1f996f=_0x23d669;let _0x2cf6c7=await this[_0x1f996f(0x276)](_0x22c3db,_0x2d6c67[_0x1f996f(0x26c)]);if(!(!_0x2cf6c7||!_0x2cf6c7[_0x1f996f(0x1d0)]))return rt(_0x2cf6c7);}async[_0x23d669(0x1d2)](_0x17a8a2){const _0x10c00a=_0x23d669;return this[_0x10c00a(0x1bf)](_0x17a8a2,0x1,_0x2d6c67[_0x10c00a(0x26c)]);}async[_0x23d669(0x1c2)](_0x1cb24a){const _0x14a1f2=_0x23d669;let _0x49b4e4=await et(_0x1cb24a);return this[_0x14a1f2(0x1fa)](_0x49b4e4,_0x2d6c67[_0x14a1f2(0x26c)]);}async[_0x23d669(0x23c)](_0x521906){const _0x575fd9=_0x23d669;let _0x288b70=await this[_0x575fd9(0x276)](_0x521906,_0x2d6c67[_0x575fd9(0x239)]);if(!_0x288b70)return;let _0x4d6e2a=await this[_0x575fd9(0x168)](_0x288b70);if(_0x4d6e2a)return _0x4d6e2a;}async[_0x23d669(0x224)](_0x1ab696){return this['_export'](_0x1ab696,0x1,_0x2d6c67['UNIVER_SHEET']);}async[_0x23d669(0x1fd)](_0x546df9){const _0x27b53c=_0x23d669;let _0x517167=await this[_0x27b53c(0x1dd)](_0x546df9);return this[_0x27b53c(0x1fa)](_0x517167,_0x2d6c67[_0x27b53c(0x239)]);}async[_0x23d669(0x267)](_0x535dc2,_0x17ed84){const _0x557f23=_0x23d669;var _0x56aa50,_0x914758;let _0xb2e2fd=await this[_0x557f23(0x266)](_0x535dc2);if(!_0xb2e2fd)return;let _0x56d916=await this[_0x557f23(0x24a)](_0xb2e2fd,0x1,_0x17ed84);if(!_0x56d916)return;this['_importTaskId']=_0x56d916,this[_0x557f23(0x2af)][_0x557f23(0x1fc)]();let _0x1b4dd0=await this[_0x557f23(0x2af)][_0x557f23(0x28b)](_0x56d916)[_0x557f23(0x2b0)](_0xa0a543=>{const _0x4433e1=_0x557f23;var _0x47792b;let _0x7de22=_0xa0a543 instanceof Error?_0xa0a543[_0x4433e1(0x21e)]:(_0x47792b=_0xa0a543[_0x4433e1(0x293)])==null?void 0x0:_0x47792b[_0x4433e1(0x21e)];this[_0x4433e1(0x2c5)][_0x4433e1(0x21f)]({'error':{'code':_0x18b2f3['UNRECOGNIZED'],'message':_0x7de22||''},'state':0x3});});if(!_0x1b4dd0)return;let _0x218637=(_0x56aa50=_0x1b4dd0['import'])==null?void 0x0:_0x56aa50['outputType'],_0x5912f3=((_0x914758=_0x1b4dd0[_0x557f23(0x296)])==null?void 0x0:_0x914758[_0x557f23(0x17c)])||'';if(_0x218637!==0x1){this[_0x557f23(0x2c5)]['next']({'error':{'code':_0x18b2f3[_0x557f23(0x172)],'message':_0x557f23(0x235)},'state':0x3});return;}if(_0x5912f3[_0x557f23(0x1ed)]===0x0){this[_0x557f23(0x2c5)][_0x557f23(0x21f)]({'error':{'code':_0x18b2f3[_0x557f23(0x172)],'message':_0x557f23(0x24d)},'state':0x3});return;}return this['_requestState$'][_0x557f23(0x21f)]({'error':_0x1b4dd0[_0x557f23(0x293)],'state':0x3}),_0x5912f3;}async['importFileToJson'](_0x4f2b6c,_0xd6e77a){return this['_importToJson'](_0x4f2b6c,_0xd6e77a);}async['importWorkbookDataToUnitId'](_0x110e70){const _0x2aec08=_0x23d669;let _0x34a966=await this[_0x2aec08(0x1dd)](_0x110e70),_0x2f8ae2=typeof _0x110e70['id']=='string'&&_0x110e70['id'][_0x2aec08(0x171)]()?_0x110e70['id'][_0x2aec08(0x171)]()+_0x2aec08(0x2c1):'workbook.json',_0x110ea6=new File([JSON[_0x2aec08(0x205)](_0x34a966)],_0x2f8ae2,{'type':_0x2aec08(0x221)});return this[_0x2aec08(0x267)](_0x110ea6,_0x2d6c67[_0x2aec08(0x239)]);}['interruptImportTask'](){const _0x44201d=_0x23d669;this[_0x44201d(0x2c6)]&&this[_0x44201d(0x2af)][_0x44201d(0x1ab)](this[_0x44201d(0x2c6)]);}async[_0x23d669(0x1e2)](_0x23b49a,_0x297fb3){const _0x65ad9e=_0x23d669;var _0x31075c,_0x495999;let _0x4fa8bb=await this['_upload'](_0x23b49a);if(!_0x4fa8bb)return;let _0xfa8155=await this[_0x65ad9e(0x24a)](_0x4fa8bb,0x2,_0x297fb3);if(!_0xfa8155)return;this[_0x65ad9e(0x2c6)]=_0xfa8155,this['_requestService'][_0x65ad9e(0x1fc)]();let _0x308ac4=await this[_0x65ad9e(0x2af)][_0x65ad9e(0x28b)](_0xfa8155)[_0x65ad9e(0x2b0)](_0x40ba0e=>{const _0x543748=_0x65ad9e;var _0x55f1d1;let _0x5ddac0=_0x40ba0e instanceof Error?_0x40ba0e[_0x543748(0x21e)]:(_0x55f1d1=_0x40ba0e['error'])==null?void 0x0:_0x55f1d1['message'];this[_0x543748(0x2c5)][_0x543748(0x21f)]({'error':{'code':_0x18b2f3['UNRECOGNIZED'],'message':_0x5ddac0||''},'state':0x3});});if(!_0x308ac4)return;let _0x4ba2a2=(_0x31075c=_0x308ac4[_0x65ad9e(0x296)])==null?void 0x0:_0x31075c[_0x65ad9e(0x22c)],_0x2a67c8=((_0x495999=_0x308ac4[_0x65ad9e(0x296)])==null?void 0x0:_0x495999[_0x65ad9e(0x269)])||'';if(_0x4ba2a2!==0x2){this['_requestState$'][_0x65ad9e(0x21f)]({'error':{'code':_0x18b2f3[_0x65ad9e(0x172)],'message':_0x65ad9e(0x235)},'state':0x3});return;}if(_0x2a67c8[_0x65ad9e(0x1ed)]===0x0){this['_requestState$']['next']({'error':{'code':_0x18b2f3[_0x65ad9e(0x172)],'message':_0x65ad9e(0x29b)},'state':0x3});return;}this['_requestState$'][_0x65ad9e(0x21f)]({'error':_0x308ac4[_0x65ad9e(0x293)],'state':0x3});let _0x37ec96=await this[_0x65ad9e(0x231)](_0x2a67c8);if(!_0x37ec96)return;let _0x55d85a=await this[_0x65ad9e(0x2af)][_0x65ad9e(0x243)](_0x37ec96);if(!_0x55d85a){this[_0x65ad9e(0x2c5)][_0x65ad9e(0x21f)]({'error':{'code':_0x18b2f3['UNRECOGNIZED'],'message':_0x65ad9e(0x1b1)},'state':0x5});return;}try{let _0x44b6c9=JSON[_0x65ad9e(0x201)](_0x55d85a);return this['_requestState$'][_0x65ad9e(0x21f)]({'error':{'code':_0x18b2f3['OK'],'message':'success'},'state':0x5}),_0x44b6c9;}catch{this['_requestState$'][_0x65ad9e(0x21f)]({'error':{'code':_0x18b2f3['UNRECOGNIZED'],'message':_0x65ad9e(0x1cc)},'state':0x5});}}async[_0x23d669(0x1fa)](_0x284dd2,_0x198522){const _0x36bc6c=_0x23d669;let _0x2b4944=JSON[_0x36bc6c(0x205)](_0x284dd2),_0xce7257=_0x493234[_0x36bc6c(0x1ac)](_0x2b4944),_0x11d479=_0x2b1f2b(_0xce7257),_0x4c4478=_0xce7257[_0x36bc6c(0x1ed)],_0x454e5d=Ke(_0x11d479),_0x423241=await this[_0x36bc6c(0x266)](_0x454e5d,_0x4c4478,!0x0);if(_0x423241)return this[_0x36bc6c(0x1bf)](_0x423241,0x2,_0x198522);}async[_0x23d669(0x1bf)](_0x4d07be,_0x525f89,_0x3ce77d){const _0x1adb94=_0x23d669;var _0x3b6d7e;let _0x2663dd=await this['_requestService']['export']({'unitID':_0x525f89===0x1?_0x4d07be:'','jsonID':_0x525f89===0x2?_0x4d07be:'','type':_0x3ce77d,'useImageUrl':this[_0x1adb94(0x220)](),'ignoreTableExport':this[_0x1adb94(0x29f)]()});if(!_0x2663dd){this['_requestState$'][_0x1adb94(0x21f)]({'error':{'code':_0x18b2f3[_0x1adb94(0x172)],'message':'export\x20error'},'state':0x2});return;}if(this['_requestState$'][_0x1adb94(0x21f)]({'error':_0x2663dd['error'],'state':0x2}),_0x2663dd[_0x1adb94(0x293)]&&_0x2663dd[_0x1adb94(0x293)][_0x1adb94(0x1f6)]!==_0x18b2f3['OK'])return;let _0x149e8f=_0x2663dd[_0x1adb94(0x27c)],_0x4d01c8=await this['_requestService'][_0x1adb94(0x28b)](_0x149e8f)[_0x1adb94(0x2b0)](_0x373a17=>{const _0x38bd9c=_0x1adb94;var _0x17f930;let _0x25a26f=_0x373a17 instanceof Error?_0x373a17[_0x38bd9c(0x21e)]:(_0x17f930=_0x373a17[_0x38bd9c(0x293)])==null?void 0x0:_0x17f930[_0x38bd9c(0x21e)];this[_0x38bd9c(0x2c5)]['next']({'error':{'code':_0x18b2f3[_0x38bd9c(0x172)],'message':_0x25a26f||''},'state':0x3});});if(!_0x4d01c8)return;let _0x4a6ef4=((_0x3b6d7e=_0x4d01c8[_0x1adb94(0x26a)])==null?void 0x0:_0x3b6d7e[_0x1adb94(0x282)])||'';if(_0x4a6ef4[_0x1adb94(0x1ed)]===0x0){this[_0x1adb94(0x2c5)][_0x1adb94(0x21f)]({'error':{'code':_0x18b2f3['UNRECOGNIZED'],'message':_0x1adb94(0x1d1)},'state':0x3});return;}this[_0x1adb94(0x2c5)][_0x1adb94(0x21f)]({'error':_0x4d01c8[_0x1adb94(0x293)],'state':0x3});let _0x56be3e=await this[_0x1adb94(0x231)](_0x4a6ef4);if(!_0x56be3e)return;let _0x286084=await H(_0x56be3e,this[_0x1adb94(0x181)]);if(!_0x286084){this[_0x1adb94(0x2c5)][_0x1adb94(0x21f)]({'error':{'code':_0x18b2f3[_0x1adb94(0x172)],'message':'Failed\x20to\x20get\x20file\x20from\x20url'},'state':0x6});return;}return this[_0x1adb94(0x2c5)][_0x1adb94(0x21f)]({'error':{'code':_0x18b2f3['OK'],'message':_0x1adb94(0x1aa)},'state':0x6}),_0x286084;}async[_0x23d669(0x266)](_0x426f2b,_0x3b44b1,_0x42d751){const _0x720183=_0x23d669;let _0x37d7c9;try{_0x37d7c9=await this[_0x720183(0x2af)][_0x720183(0x2bb)](_0x426f2b,_0x3b44b1,_0x42d751);}catch(_0x216ea4){let _0x452deb=_0x216ea4 instanceof Error?_0x216ea4[_0x720183(0x21e)]:String(_0x216ea4);this['_requestState$'][_0x720183(0x21f)]({'error':{'code':_0x18b2f3[_0x720183(0x172)],'message':_0x452deb},'state':0x0});return;}if(!_0x37d7c9||typeof _0x37d7c9['FileId']!=_0x720183(0x1a8)){this[_0x720183(0x2c5)][_0x720183(0x21f)]({'error':{'code':_0x18b2f3[_0x720183(0x172)],'message':_0x720183(0x216)},'state':0x0});return;}let _0xc7a435=_0x37d7c9['FileId'];if(_0xc7a435[_0x720183(0x1ed)]===0x0){this[_0x720183(0x2c5)][_0x720183(0x21f)]({'error':{'code':_0x18b2f3[_0x720183(0x172)],'message':_0x720183(0x1ae)},'state':0x0});return;}return this[_0x720183(0x2c5)][_0x720183(0x21f)]({'error':{'code':_0x18b2f3['OK'],'message':_0x720183(0x1aa)},'state':0x0}),_0xc7a435;}async[_0x23d669(0x24a)](_0xcbb723,_0x590f42,_0x34520d){const _0x2d8ef0=_0x23d669;let _0x56d45a={'fileID':_0xcbb723,'type':_0x34520d,'outputType':_0x590f42,'fileUrl':'','minSheetRowCount':this['_getMinSheetRowCount'](),'minSheetColumnCount':this[_0x2d8ef0(0x1ad)]()},_0x59b88f=await this['_requestService'][_0x2d8ef0(0x296)](_0x56d45a);if(!_0x59b88f){this['_requestState$'][_0x2d8ef0(0x21f)]({'error':{'code':_0x18b2f3[_0x2d8ef0(0x172)],'message':_0x2d8ef0(0x2ae)},'state':0x1});return;}if(_0x59b88f['error']&&_0x59b88f[_0x2d8ef0(0x293)][_0x2d8ef0(0x1f6)]!==_0x18b2f3['OK']){this[_0x2d8ef0(0x2c5)][_0x2d8ef0(0x21f)]({'error':_0x59b88f['error'],'state':0x1});return;}let _0xa52280=_0x59b88f[_0x2d8ef0(0x27c)];if(_0xa52280[_0x2d8ef0(0x1ed)]===0x0){this[_0x2d8ef0(0x2c5)][_0x2d8ef0(0x21f)]({'error':{'code':_0x18b2f3[_0x2d8ef0(0x172)],'message':_0x2d8ef0(0x1db)},'state':0x1});return;}return this[_0x2d8ef0(0x2c5)]['next']({'error':_0x59b88f[_0x2d8ef0(0x293)],'state':0x1}),_0xa52280;}async[_0x23d669(0x231)](_0x4e219e){const _0x348913=_0x23d669;let _0x5854b9=await this[_0x348913(0x2af)][_0x348913(0x230)](_0x4e219e);if(!_0x5854b9){this['_requestState$'][_0x348913(0x21f)]({'error':{'code':_0x18b2f3[_0x348913(0x172)],'message':_0x348913(0x281)},'state':0x4});return;}if(_0x5854b9[_0x348913(0x293)]&&_0x5854b9[_0x348913(0x293)]['code']!==_0x18b2f3['OK']){this[_0x348913(0x2c5)][_0x348913(0x21f)]({'error':_0x5854b9[_0x348913(0x293)],'state':0x4});return;}let _0xb6d441=_0x1c36ea(_0x5854b9[_0x348913(0x23a)],this['_getDownloadEndpointURL']());if(_0xb6d441[_0x348913(0x1ed)]===0x0){this[_0x348913(0x2c5)][_0x348913(0x21f)]({'error':{'code':_0x18b2f3[_0x348913(0x172)],'message':_0x348913(0x281)},'state':0x4});return;}return this[_0x348913(0x2c5)]['next']({'error':_0x5854b9[_0x348913(0x293)],'state':0x4}),_0xb6d441;}[_0x23d669(0x29a)](){const _0x439729=_0x23d669;var _0x28c070;let _0x561575=this[_0x439729(0x275)][_0x439729(0x190)](T);return(_0x28c070=_0x561575==null?void 0x0:_0x561575[_0x439729(0x251)])==null?location[_0x439729(0x183)]:_0x28c070;}[_0x23d669(0x23d)](){const _0x440e97=_0x23d669;var _0x5e47c6,_0xec36b7;let _0x139b25=this[_0x440e97(0x275)]['getConfig'](T);return(_0x5e47c6=_0x139b25==null||(_0xec36b7=_0x139b25[_0x440e97(0x250)])==null?void 0x0:_0xec36b7[_0x440e97(0x19a)])==null?0x1:_0x5e47c6;}['_getMinSheetColumnCount'](){const _0x2b33ed=_0x23d669;var _0x160dae,_0x4e9725;let _0x39bc62=this[_0x2b33ed(0x275)][_0x2b33ed(0x190)](T);return(_0x160dae=_0x39bc62==null||(_0x4e9725=_0x39bc62[_0x2b33ed(0x250)])==null?void 0x0:_0x4e9725[_0x2b33ed(0x1d4)])==null?0x1:_0x160dae;}[_0x23d669(0x220)](){const _0x4b6ddd=_0x23d669;var _0x164915,_0x5144e9;let _0xf194a7=this['_configService'][_0x4b6ddd(0x190)](T);return(_0x164915=_0xf194a7==null||(_0x5144e9=_0xf194a7[_0x4b6ddd(0x250)])==null?void 0x0:_0x5144e9[_0x4b6ddd(0x1b3)])==null?!0x0:_0x164915;}[_0x23d669(0x29f)](){const _0x34f43a=_0x23d669;var _0x2e6dc0,_0x440701;let _0x3ce428=this[_0x34f43a(0x275)][_0x34f43a(0x190)](T);return(_0x2e6dc0=_0x3ce428==null||(_0x440701=_0x3ce428['options'])==null?void 0x0:_0x440701[_0x34f43a(0x22b)])==null?!0x1:_0x2e6dc0;}};Y=D([E(0x0,_0x3d8792),E(0x1,_0x4a5a40(_0x4d8820)),E(0x2,_0x4a5a40(W))],Y);const it={'done':0x0,'count':0x0},X=_0x80f77a('univer-pro.exchange-client.operate.service');let Z=class extends _0x52bca0{constructor(_0x3d1142,_0x433c18,_0x5c213e,_0x201175,_0x26539f,_0x13385d,_0x1d7701){const _0x1d9087=_0x23d669;super(),this[_0x1d9087(0x1b0)]=_0x3d1142,this[_0x1d9087(0x1b7)]=_0x433c18,this[_0x1d9087(0x252)]=_0x5c213e,this[_0x1d9087(0x2a6)]=_0x201175,this[_0x1d9087(0x1e1)]=_0x26539f,this[_0x1d9087(0x226)]=_0x13385d,this[_0x1d9087(0x295)]=_0x1d7701,A(this,_0x1d9087(0x1e4),new _0x27b5e3(it)),A(this,_0x1d9087(0x182),this[_0x1d9087(0x1e4)][_0x1d9087(0x2b2)]()),A(this,_0x1d9087(0x189),0x0),A(this,_0x1d9087(0x2a5),0x0),this[_0x1d9087(0x1d6)](_0x3fea9b(this[_0x1d9087(0x2a6)][_0x1d9087(0x185)][_0x1d9087(0x1d7)](_0x3b1778=>{const _0x3880aa=_0x1d9087;var _0x280dcf;((_0x280dcf=_0x3b1778['error'])==null?void 0x0:_0x280dcf[_0x3880aa(0x1f6)])===_0x18b2f3['OK']?this['_addDoneTask'](0x1):this[_0x3880aa(0x286)](_0x3b1778[_0x3880aa(0x293)]);})));}['interrupt'](){const _0x5ef8a0=_0x23d669;this['_clearProgress'](),this['_uploadNotificationService'][_0x5ef8a0(0x1b4)](0x2),this['_exchangeService'][_0x5ef8a0(0x1a3)]();}async['uploadFileToUnitId'](_0x198f8d){const _0x4b5046=_0x23d669;throw Error(_0x4b5046(0x1dc));}async[_0x23d669(0x1ee)](){const _0x10e950=_0x23d669;let _0x36d7cb=this[_0x10e950(0x1b0)][_0x10e950(0x204)]();switch(_0x36d7cb?this[_0x10e950(0x1b0)]['getUnitType'](_0x36d7cb['getUnitId']()):_0x2d6c67['UNRECOGNIZED']){case _0x2d6c67[_0x10e950(0x26c)]:return this[_0x10e950(0x210)]();case _0x2d6c67[_0x10e950(0x169)]:return this['importDOCXToUnitId']();case _0x2d6c67['UNIVER_SHEET']:default:return this[_0x10e950(0x255)]();}}async[_0x23d669(0x27d)](){const _0x5c7eb6=_0x23d669;let _0x3e9194=await V([_0x2d6c67[_0x5c7eb6(0x169)]]);if(_0x3e9194&&!this[_0x5c7eb6(0x175)](_0x3e9194,_0x2d6c67['UNIVER_DOC']))return this[_0x5c7eb6(0x179)](_0x3e9194[0x0],_0x2d6c67[_0x5c7eb6(0x169)]);}['importDOCXToSnapshot'](){throw Error('Method\x20not\x20implemented.');}async[_0x23d669(0x242)](_0x2f0e0c,_0x1b7efc,_0x2521ba){const _0x5a6c36=_0x23d669;this[_0x5a6c36(0x16f)](_0x2849b7[_0x5a6c36(0x222)]);let _0x4af797=await this[_0x5a6c36(0x2a6)][_0x5a6c36(0x242)](_0x2f0e0c||this[_0x5a6c36(0x272)]());_0x4af797&&(this[_0x5a6c36(0x2a6)][_0x5a6c36(0x1b6)](_0x4af797,_0x1b7efc||this[_0x5a6c36(0x254)](_0x4af797),_0x5a6c36(0x184)),this[_0x5a6c36(0x16f)](_0x2849b7[_0x5a6c36(0x290)]));}async[_0x23d669(0x1f2)](){const _0x512397=_0x23d669;this[_0x512397(0x16f)](_0x2849b7[_0x512397(0x222)]);let _0x1b7e35=await this[_0x512397(0x217)](),_0x535e50=await this['_exchangeService'][_0x512397(0x1f2)](_0x1b7e35);_0x535e50&&(this[_0x512397(0x2a6)]['downloadFile'](_0x535e50,this[_0x512397(0x254)](_0x535e50),_0x512397(0x184)),this[_0x512397(0x16f)](_0x2849b7[_0x512397(0x290)]));}async[_0x23d669(0x210)](){const _0x328bfe=_0x23d669;if(this[_0x328bfe(0x17b)]()){this['_messageService'][_0x328bfe(0x1e3)]({'type':_0x2849b7['Warning'],'content':this[_0x328bfe(0x252)]['t']('exchange-client.uploading')});return;}let _0x3b6e4b=await V([_0x2d6c67[_0x328bfe(0x26c)]]);if(_0x3b6e4b&&!this[_0x328bfe(0x175)](_0x3b6e4b,_0x2d6c67[_0x328bfe(0x26c)]))return this['_importFileToUnitId'](_0x3b6e4b[0x0],_0x2d6c67[_0x328bfe(0x26c)]);}async[_0x23d669(0x18a)](){const _0x55fd25=_0x23d669;if(this['_uploadTaskNotDone']()){this[_0x55fd25(0x1b7)][_0x55fd25(0x1e3)]({'type':_0x2849b7[_0x55fd25(0x1de)],'content':this['_localeService']['t']('exchange-client.uploading')});return;}let _0x257070=await V([_0x2d6c67['UNIVER_SLIDE']]);if(!_0x257070)return;this['_showUploadMessage'](_0x2849b7[_0x55fd25(0x222)]);let _0x5f2138=await this[_0x55fd25(0x2a6)]['importPPTXToSnapshot'](_0x257070[0x0]);_0x5f2138&&(this[_0x55fd25(0x20c)](_0x5f2138),this['_showUploadMessage'](_0x2849b7['Success']));}async[_0x23d669(0x1d2)](_0x12aa3d,_0x222d1c,_0x2b3a95){const _0x119208=_0x23d669;this[_0x119208(0x16f)](_0x2849b7[_0x119208(0x222)]);let _0xfa760e=await this['_exchangeService'][_0x119208(0x1d2)](_0x12aa3d||this[_0x119208(0x17e)]());_0xfa760e&&(this[_0x119208(0x2a6)][_0x119208(0x1b6)](_0xfa760e,_0x222d1c||this[_0x119208(0x1cd)](_0xfa760e,_0x2b3a95==null?_0x2d6c67[_0x119208(0x26c)]:_0x2b3a95),_0x119208(0x236)),this[_0x119208(0x16f)](_0x2849b7[_0x119208(0x290)]));}async[_0x23d669(0x1c2)](){const _0x5d9148=_0x23d669;this[_0x5d9148(0x16f)](_0x2849b7[_0x5d9148(0x222)]);let _0x41adbc=await this[_0x5d9148(0x261)](),_0x2fa52e=await this['_exchangeService'][_0x5d9148(0x1c2)](_0x41adbc);_0x2fa52e&&(this[_0x5d9148(0x2a6)]['downloadFile'](_0x2fa52e,this[_0x5d9148(0x1cd)](_0x2fa52e,_0x2d6c67[_0x5d9148(0x26c)]),_0x5d9148(0x236)),this[_0x5d9148(0x16f)](_0x2849b7[_0x5d9148(0x290)]));}async[_0x23d669(0x255)](){const _0x4e8929=_0x23d669;if(this[_0x4e8929(0x17b)]()){this[_0x4e8929(0x1b7)][_0x4e8929(0x1e3)]({'type':_0x2849b7[_0x4e8929(0x1de)],'content':this['_localeService']['t'](_0x4e8929(0x1a2))});return;}let _0x4d6ccc=await V([_0x2d6c67[_0x4e8929(0x239)]]);if(_0x4d6ccc&&!this[_0x4e8929(0x175)](_0x4d6ccc,_0x2d6c67[_0x4e8929(0x239)]))return this[_0x4e8929(0x179)](_0x4d6ccc[0x0],_0x2d6c67[_0x4e8929(0x239)]);}async['importXLSXToSnapshot'](){const _0x59b341=_0x23d669;if(this[_0x59b341(0x17b)]()){this[_0x59b341(0x1b7)]['show']({'type':_0x2849b7[_0x59b341(0x1de)],'content':this[_0x59b341(0x252)]['t'](_0x59b341(0x1a2))});return;}let _0x31648e=await V([_0x2d6c67[_0x59b341(0x239)]]);if(!_0x31648e)return;this[_0x59b341(0x202)](_0x2849b7[_0x59b341(0x222)]);let _0x5388c4=await this['_exchangeService'][_0x59b341(0x23c)](_0x31648e[0x0]);_0x5388c4&&(this['_refresh'](_0x5388c4),this[_0x59b341(0x202)](_0x2849b7[_0x59b341(0x290)]));}async[_0x23d669(0x224)](_0x3aa45e,_0x2899c7,_0x564067){const _0x23a693=_0x23d669;this['_showDownloadMessage'](_0x2849b7[_0x23a693(0x222)]);let _0x495dbb=await this['_exchangeService'][_0x23a693(0x224)](_0x3aa45e||this[_0x23a693(0x223)]());_0x495dbb&&(this[_0x23a693(0x2a6)]['downloadFile'](_0x495dbb,_0x2899c7||this[_0x23a693(0x254)](_0x495dbb),_0x23a693(0x22f)),this[_0x23a693(0x16f)](_0x2849b7['Success']));}async['exportXLSXBySnapshot'](){const _0x43034a=_0x23d669;this['_showDownloadMessage'](_0x2849b7[_0x43034a(0x222)]);let _0x4ae6a2=await this[_0x43034a(0x199)](),_0x57bb3e=await this[_0x43034a(0x2a6)][_0x43034a(0x1fd)](_0x4ae6a2);_0x57bb3e&&(this['_exchangeService'][_0x43034a(0x1b6)](_0x57bb3e,this[_0x43034a(0x254)](_0x57bb3e),'xlsx'),this[_0x43034a(0x16f)](_0x2849b7[_0x43034a(0x290)]));}[_0x23d669(0x240)](_0x460eec){const _0x3741b7=_0x23d669;this[_0x3741b7(0x1a5)]=_0x460eec;}async[_0x23d669(0x179)](_0x4c117a,_0x5333e7){const _0x2695a4=_0x23d669;this[_0x2695a4(0x1e1)][_0x2695a4(0x1e3)](),this[_0x2695a4(0x1e1)][_0x2695a4(0x1b4)](0x0),this[_0x2695a4(0x2ab)](0x4),this[_0x2695a4(0x18f)](0x1);let _0x3deadc=await this[_0x2695a4(0x2a6)][_0x2695a4(0x267)](_0x4c117a,_0x5333e7);if(!_0x3deadc){this[_0x2695a4(0x278)](),this[_0x2695a4(0x1e1)][_0x2695a4(0x1b4)](0x2);return;}let _0x5b7149={'link':this[_0x2695a4(0x1a5)](_0x3deadc,_0x5333e7),'name':_0x4c117a[_0x2695a4(0x265)],'type':_0x5333e7};return this[_0x2695a4(0x1e1)][_0x2695a4(0x1bd)](_0x5b7149),this['_completeProgress'](),this[_0x2695a4(0x1e1)][_0x2695a4(0x1b4)](0x1),_0x3deadc;}[_0x23d669(0x223)](){const _0x1b86f8=_0x23d669;return this[_0x1b86f8(0x1b0)][_0x1b86f8(0x26e)](_0x2d6c67[_0x1b86f8(0x239)])[_0x1b86f8(0x268)]();}['_getUnitIDDoc'](){const _0x2c194b=_0x23d669;return this['_univerInstanceService']['getCurrentUnitOfType'](_0x2d6c67['UNIVER_DOC'])[_0x2c194b(0x268)]();}[_0x23d669(0x17e)](){const _0x196a67=_0x23d669;return this[_0x196a67(0x1b0)][_0x196a67(0x26e)](_0x2d6c67['UNIVER_SLIDE'])[_0x196a67(0x268)]();}[_0x23d669(0x254)](_0x50d594){const _0x2829d=_0x23d669;return this[_0x2829d(0x1cd)](_0x50d594,_0x2d6c67['UNIVER_SHEET']);}[_0x23d669(0x1cd)](_0x1f53b5,_0x52b0c6){const _0x310794=_0x23d669;var _0x5178ed;let _0x4bd5a2=(_0x5178ed=this[_0x310794(0x1b0)][_0x310794(0x26e)](_0x52b0c6))==null?void 0x0:_0x5178ed[_0x310794(0x259)](),_0xcfe4e=_0x4bd5a2==null?void 0x0:_0x4bd5a2[_0x310794(0x265)];return typeof _0xcfe4e==_0x310794(0x1a8)&&_0xcfe4e['trim']()?_0xcfe4e:_0x1f53b5[_0x310794(0x265)]['split']('.')[_0x310794(0x1fb)]()||document[_0x310794(0x28d)];}async[_0x23d669(0x199)](){const _0x4af984=_0x23d669;return this[_0x4af984(0x1b0)][_0x4af984(0x26e)](_0x2d6c67['UNIVER_SHEET'])[_0x4af984(0x259)]();}async[_0x23d669(0x217)](){const _0x382625=_0x23d669;return this['_univerInstanceService'][_0x382625(0x26e)](_0x2d6c67[_0x382625(0x169)])['getSnapshot']();}async[_0x23d669(0x261)](){const _0x195a26=_0x23d669;let _0x47409c=this[_0x195a26(0x1b0)]['getCurrentUnitOfType'](_0x2d6c67[_0x195a26(0x26c)]),_0x4cfa94=this[_0x195a26(0x295)][_0x195a26(0x193)](_0x47409c[_0x195a26(0x268)]());return _0x4cfa94==null?_0x47409c[_0x195a26(0x259)]():_0x4cfa94;}[_0x23d669(0x1a5)](_0x3c4b72,_0x5e2008){const _0x25b605=_0x23d669;let _0xb54fad=new URL(window[_0x25b605(0x1af)][_0x25b605(0x1f0)]);return _0xb54fad[_0x25b605(0x174)]['set']('unit',_0x3c4b72),_0xb54fad[_0x25b605(0x174)][_0x25b605(0x1f3)](_0x25b605(0x2a4),''+_0x5e2008),_0xb54fad[_0x25b605(0x19e)]();}[_0x23d669(0x1a7)](_0x165ed){const _0x10fc1a=_0x23d669;let _0x55c4a3=this[_0x10fc1a(0x1b0)][_0x10fc1a(0x26e)](_0x2d6c67['UNIVER_SHEET'])[_0x10fc1a(0x268)]();this[_0x10fc1a(0x1b0)]['disposeUnit'](_0x55c4a3),this[_0x10fc1a(0x1b0)][_0x10fc1a(0x1f1)](_0x2d6c67[_0x10fc1a(0x239)],_0x165ed);}['_refreshSlide'](_0x3ab6ba){const _0x244689=_0x23d669;let _0xf0abe3=this[_0x244689(0x1b0)][_0x244689(0x26e)](_0x2d6c67[_0x244689(0x26c)])[_0x244689(0x268)]();this[_0x244689(0x1b0)]['disposeUnit'](_0xf0abe3),this[_0x244689(0x1b0)][_0x244689(0x1f1)](_0x2d6c67[_0x244689(0x26c)],_0x3ab6ba);}[_0x23d669(0x286)](_0x2a8221){const _0x7b98c=_0x23d669;if(_0x2a8221){let {code:_0x4622ac}=_0x2a8221;switch(_0x4622ac){case _0x18b2f3[_0x7b98c(0x262)]:this[_0x7b98c(0x1b7)]['show']({'type':_0x2849b7[_0x7b98c(0x186)],'content':this[_0x7b98c(0x252)]['t'](_0x7b98c(0x288))});break;case _0x18b2f3[_0x7b98c(0x191)]:this[_0x7b98c(0x1b7)][_0x7b98c(0x1e3)]({'type':_0x2849b7[_0x7b98c(0x186)],'content':this[_0x7b98c(0x252)]['t'](_0x7b98c(0x17a))});break;default:this[_0x7b98c(0x1b7)]['show']({'type':_0x2849b7[_0x7b98c(0x186)],'content':this[_0x7b98c(0x252)]['t'](_0x7b98c(0x1c9))});break;}return null;}return this[_0x7b98c(0x1b7)][_0x7b98c(0x1e3)]({'type':_0x2849b7[_0x7b98c(0x186)],'content':this[_0x7b98c(0x252)]['t']('exchange-client.networkError')}),null;}['_showDownloadMessage'](_0xa388f){const _0x10e0ec=_0x23d669;let _0x45ddf1='';switch(_0xa388f){case _0x2849b7[_0x10e0ec(0x290)]:_0x45ddf1=this['_localeService']['t']('exchange-client.downloadSuccess');break;case _0x2849b7[_0x10e0ec(0x222)]:_0x45ddf1=this['_localeService']['t']('exchange-client.downloading');break;default:break;}this['_messageService']['show']({'type':_0xa388f,'content':_0x45ddf1});}['_showUploadMessage'](_0x2129b2){const _0x3da9d2=_0x23d669;let _0x13bdb0='';switch(_0x2129b2){case _0x2849b7[_0x3da9d2(0x290)]:_0x13bdb0=this['_localeService']['t'](_0x3da9d2(0x18e));break;case _0x2849b7[_0x3da9d2(0x222)]:_0x13bdb0=this[_0x3da9d2(0x252)]['t']('exchange-client.uploading');break;default:break;}this[_0x3da9d2(0x1b7)][_0x3da9d2(0x1e3)]({'type':_0x2129b2,'content':_0x13bdb0});}[_0x23d669(0x21b)](){const _0x235c24=_0x23d669;this[_0x235c24(0x1e4)]['next']({'done':this[_0x235c24(0x2a5)],'count':this[_0x235c24(0x189)]});}['_addTotalCount'](_0x164d54){const _0x440fa9=_0x23d669;this[_0x440fa9(0x189)]+=_0x164d54,this['_emitProgress']();}['_addDoneTask'](_0x1ff2b4){const _0x4e5b84=_0x23d669;this[_0x4e5b84(0x2a5)]+=_0x1ff2b4,this[_0x4e5b84(0x2a5)]=Math[_0x4e5b84(0x2a2)](this[_0x4e5b84(0x2a5)],this[_0x4e5b84(0x189)]),this[_0x4e5b84(0x21b)]();}[_0x23d669(0x1c1)](){const _0x2efdf3=_0x23d669;this[_0x2efdf3(0x2a5)]=this['_totalUploadTaskCount'],this[_0x2efdf3(0x21b)]();}[_0x23d669(0x278)](){const _0x2ab693=_0x23d669;this[_0x2ab693(0x2a5)]=0x0,this[_0x2ab693(0x189)]=0x0,this[_0x2ab693(0x21b)]();}[_0x23d669(0x175)](_0x5b490f,_0x189892){const _0x14e080=_0x23d669;let _0x111ac8=_0x5b490f[0x0],_0x19a475=_0x111ac8[_0x14e080(0x265)];return He(_0x111ac8)===_0x189892?!0x1:(this['_messageService'][_0x14e080(0x1e3)]({'type':_0x2849b7[_0x14e080(0x186)],'content':this[_0x14e080(0x252)]['t'](_0x14e080(0x2b7),_0x19a475)}),!0x0);}[_0x23d669(0x17b)](){const _0x56880c=_0x23d669;return this['_totalUploadTaskCount']!==0x0&&this[_0x56880c(0x2a5)]!==this[_0x56880c(0x189)];}};Z=D([E(0x0,_0x4a5a40(_0x5339d7)),E(0x1,_0x314cf6),E(0x2,_0x4a5a40(_0x272894)),E(0x3,_0x4a5a40(J)),E(0x4,_0x4a5a40(j)),E(0x5,_0x3a0011),E(0x6,_0x4a5a40(_0x157fb9))],Z);function at(_0x1bfa6a){const _0x5e6863=_0x23d669;let {onClick:_0x20928a,children:_0xc6debb,className:_0x4a93f0}=_0x1bfa6a;return _0x44e330(_0x5e6863(0x1c3),{'className':_0x4079bb(_0x5e6863(0x1a6),_0x4a93f0),'type':_0x5e6863(0x1c3),'onClick':_0x20928a,'children':_0xc6debb});}function ot(){const _0x867327=_0x23d669;let _0x3e9e8a=_0x34ce1b(X),_0x531745=_0x34ce1b(_0x272894);function _0x3f0776(){_0x3e9e8a['importFileToUnitIdByCurrentType']();}return _0x44e330(at,{'onClick':_0x3f0776,'children':_0x531745['t'](_0x867327(0x1ea))});}function st(){const _0x446545=_0x23d669;return _0x4de0df(_0x446545(0x203),{'className':_0x446545(0x1f8),'children':[_0x44e330(_0x446545(0x246),{'className':_0x446545(0x25f),'children':_0x34ce1b(_0x272894)['t'](_0x446545(0x29e))}),_0x44e330(ot,{})]});}function ct(_0x483d15){const _0x3f5d6b=_0x23d669;let {count:_0x24ea75}=_0x483d15;return _0x4de0df(_0x3f5d6b(0x203),{'className':_0x3f5d6b(0x1b8),'children':[_0x44e330('span',{'className':_0x3f5d6b(0x1e9),'children':_0x34ce1b(_0x272894)['t']('exchange-client.uploadSuccessTip',''+_0x24ea75)}),_0x44e330(ot,{})]});}function lt(){let _0x2efb40=_0x34ce1b(X),_0x2aa39d=_0x34ce1b(_0x272894);function _0x568d4a(){const _0x3e08f6=_0x1e38;_0x2efb40[_0x3e08f6(0x1e6)]();}return _0x44e330(at,{'onClick':_0x568d4a,'children':_0x2aa39d['t']('exchange-client.cancel')});}function ut(){const _0xaff6fc=_0x23d669;let {count:_0x48cf18,done:_0x3abac2}=_0xe4fe28(_0x34ce1b(X)[_0xaff6fc(0x182)]),_0x4428ba=_0x48cf18>0x0?_0x3abac2/_0x48cf18:0x0;return _0x44e330('div',{'className':_0xaff6fc(0x283),'children':_0x44e330(_0xaff6fc(0x203),{'className':_0xaff6fc(0x19c),'style':{'width':Math[_0xaff6fc(0x1be)](_0x4428ba*0x64)+'%'}})});}function dt(){const _0x1007b8=_0x23d669;return _0x4de0df(_0x1007b8(0x203),{'className':'univer-mt-5\x20univer-flex\x20univer-flex-col','children':[_0x44e330(_0x1007b8(0x246),{'className':_0x1007b8(0x2a3),'children':_0x34ce1b(_0x272894)['t'](_0x1007b8(0x197))}),_0x44e330(_0x1007b8(0x203),{'className':_0x1007b8(0x1f5),'children':_0x44e330(ut,{})}),_0x44e330(lt,{})]});}const ft={0x1:_0x44e330(_0x3e9272,{'className':_0x23d669(0x24e)}),0x0:_0x44e330(_0x2706de,{'className':'univer-text-blue-500'}),0x2:_0x44e330(_0x24fa5b,{'className':_0x23d669(0x1c0)})};function pt(){const _0x493c50=_0x23d669;let _0x270a81=_0x34ce1b(j),_0x4eda31=_0x34ce1b(_0x272894),_0x49b397=_0xe4fe28(_0x270a81['state$'],0x0),_0x48d080=_0xe4fe28(_0x270a81[_0x493c50(0x23b)],!0x1),_0x52ae50=_0xe4fe28(_0x270a81[_0x493c50(0x1c5)],[]);function _0x1e766e(){const _0x4c30fa=_0x493c50;_0x270a81[_0x4c30fa(0x256)]();}function _0x4ce4f7(_0x3a76bd){const _0x2a1af6=_0x493c50;switch(_0x3a76bd){case 0x1:return _0x4eda31['t'](_0x2a1af6(0x18e));case 0x0:return _0x4eda31['t'](_0x2a1af6(0x1a2));case 0x2:return _0x4eda31['t']('exchange-client.unknownMistake');default:return'';}}return _0x48d080&&_0x4de0df(_0x493c50(0x203),{'className':_0x493c50(0x1c4),'children':[_0x4de0df(_0x493c50(0x203),{'className':_0x493c50(0x19b),'children':[_0x4de0df(_0x493c50(0x246),{'className':_0x493c50(0x218),'children':[_0x44e330(_0x493c50(0x246),{'className':_0x493c50(0x2b9),'children':ft[_0x49b397]}),_0x44e330(_0x493c50(0x246),{'className':'univer-ml-1.5\x20univer-font-semibold\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0x4ce4f7(_0x49b397)})]}),_0x44e330(_0x493c50(0x246),{'className':'univer-flex\x20univer-size-6\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-text-gray-500\x20univer-transition-colors\x20hover:univer-bg-gray-200\x20dark:!univer-bg-gray-600','onClick':_0x1e766e,'children':_0x44e330(_0x33d7e6,{})})]}),_0x4de0df(_0x493c50(0x203),{'children':[_0x49b397===0x0&&_0x44e330(dt,{}),_0x49b397===0x2&&_0x44e330(st,{}),_0x52ae50[_0x493c50(0x1ed)]>0x0&&_0x44e330(Be,{'list':_0x52ae50}),_0x49b397===0x1&&_0x44e330(ct,{'count':_0x52ae50[_0x493c50(0x1ed)]})]})]});}function mt(){return _0x44e330(pt,{});}let Q=class extends _0x52bca0{constructor(_0x461882,_0x433ba3){const _0x9435e5=_0x23d669;super(),this[_0x9435e5(0x215)]=_0x461882,this[_0x9435e5(0x1cb)]=_0x433ba3,this[_0x9435e5(0x27b)]();}[_0x23d669(0x27b)](){const _0x13fa5d=_0x23d669;this[_0x13fa5d(0x1d6)](this[_0x13fa5d(0x1cb)][_0x13fa5d(0x263)](_0x5092be[_0x13fa5d(0x20a)],()=>_0x5566e3(mt,this[_0x13fa5d(0x215)])));}};Q=D([E(0x0,_0x4a5a40(_0x567ddb)),E(0x1,_0x2ba4ee)],Q);let $=class extends _0x41f81a{constructor(_0x123845=Ie,_0x4f668b,_0x5cd3cc){const _0x12853f=_0x23d669;super(),this[_0x12853f(0x233)]=_0x123845,this[_0x12853f(0x215)]=_0x4f668b,this[_0x12853f(0x275)]=_0x5cd3cc;let {..._0x626326}=_0x4e3ddb({},Ie,this['_config']);this[_0x12853f(0x275)][_0x12853f(0x25c)](T,_0x626326);}[_0x23d669(0x274)](){const _0x28acb7=_0x23d669;_0x183bc4(this[_0x28acb7(0x215)],[[O],[Q],[X,{'useClass':Z}],[J,{'useClass':Y}],[W,{'useClass':G}],[j,{'useClass':ze}]]);}['onReady'](){_0x5af7e6(this['_injector'],[[O],[Q],[X]]);}};A($,_0x23d669(0x2b4),'UNIVER_EXCHANGE_CLIENT_PLUGIN'),A($,_0x23d669(0x212),Pe),A($,_0x23d669(0x294),Fe),$=D([_0x1569cc(_0x5408c6,_0x3e389e),E(0x1,_0x4a5a40(_0x567ddb)),E(0x2,_0x3d8792)],$);export{X as IExchangeOperateService,J as IExchangeService,$ as UniverExchangeClientPlugin,Ve as downloadFile,tt as transformSnapshotJsonToWorkbookData,Qe as transformWorkbookDataToSnapshotJson};
1
+ const _0x5c504e=_0x2440;(function(_0x6a6acc,_0x543972){const _0x76a3a4=_0x2440,_0x56fe4f=_0x6a6acc();while(!![]){try{const _0xd7b12d=-parseInt(_0x76a3a4(0x15b))/0x1*(-parseInt(_0x76a3a4(0x108))/0x2)+parseInt(_0x76a3a4(0x131))/0x3+parseInt(_0x76a3a4(0x162))/0x4+parseInt(_0x76a3a4(0x20f))/0x5+parseInt(_0x76a3a4(0xe2))/0x6+parseInt(_0x76a3a4(0xf9))/0x7+-parseInt(_0x76a3a4(0x1cc))/0x8;if(_0xd7b12d===_0x543972)break;else _0x56fe4f['push'](_0x56fe4f['shift']());}catch(_0x3e6a1d){_0x56fe4f['push'](_0x56fe4f['shift']());}}}(_0x6885,0x4be45));import{UniverLicensePlugin as _0x1101b8}from'@univerjs-pro/license';import{DependentOn as _0x28e539,Disposable as _0x550844,IConfigService as _0x36c765,ILogService as _0x540080,IResourceLoaderService as _0x18fe2c,IUniverInstanceService as _0x3eeec7,Inject as _0x35058d,Injector as _0xfe1cbc,LocaleService as _0x5a0b64,Plugin as _0x2c045d,UniverInstanceType as _0x24b8a6,createIdentifier as _0x1fb009,merge as _0x42532d,registerDependencies as _0x15c917,resolveWithBasePath as _0xaa9139,toDisposable as _0x3b4c3f,touchDependencies as _0x5c237b}from'@univerjs/core';import{HTTPResponseError as _0x2055c9,HTTPService as _0x12cdb1,UniverNetworkPlugin as _0x14b948}from'@univerjs/network';import{ClockIcon as _0x4d8d84,CloseIcon as _0x5dbead,DirectExportIcon as _0x6672a7,DocsMultiIcon as _0x5bf916,ErrorIcon as _0x398e7c,ShareRangeIcon as _0x5aa714,SheetsMultiIcon as _0x1b8f90,SlidesMultiIcon as _0x125d87,SuccessIcon as _0x467180}from'@univerjs/icons';import{BuiltInUIPart as _0x4f3b08,IMessageService as _0x1544db,IUIPartsService as _0x2537d8,IconManager as _0x14a8dd,connectInjector as _0x32b9d6,useDependency as _0x4e7708,useObservable as _0xd11166}from'@univerjs/ui';import{BehaviorSubject as _0x57e22a,Subject as _0x439300}from'rxjs';import{MessageType as _0x47b0d2,Tooltip as _0x12ed84,clsx as _0x40cc83,scrollbarClassName as _0x1281d4}from'@univerjs/design';function _0x6885(){const _0x5949b0=['Get\x20outputType\x20error','_exportBySnapshot','_config','1.0.0-alpha.5','Content-Type','onReady','type','asObservable','_getExportURL','taskID','isArray','_visible$','_getUnitName','code','univer-text-red-500','toLowerCase','object','_resourceLoaderService','_upload','3413725OGGKSt','min','_getUploadFileURL','getUnitType','.json','_getDownloadEndpointURL','importFileToJson','/universer-api/stream/file/upload','replace','Error\x20fetching\x20file\x20from\x20URL:','upload\x20request\x20failed','/universer-api/exchange/{type}/export','downloadEndpointUrl','_refreshSlide','maxTimeoutTime','1272PgxCBM','getCurrentUnitOfType','exportXLSXBySnapshot','UNIVER_PROJECT','next','_getUnitIDDoc','univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','button','dispose','minSheetRowCount','_signUrl','getUnitId','transformSnapshotJsonToWorkbookData','download','univer-text-sm\x20univer-text-gray-500','?size=','pop','pathname','_getUnitIDSlide','export\x20error','getTaskServerUrl','Error','importFileToUnitId','_httpService','has','addEventListener','accept','resolve','_list','buffer','_getUnitID','exchange-client.uploadAgain','registerComponent','FileId','includes','application/pdf','upload\x20failed:\x20FileId\x20is\x20empty','_doneUploadTaskCount','_exchangeService','exchange-client.uploadSuccess','univer-flex','1666332PxQWoX','sign\x20url\x20error','statusText','disposeWithMe','createUnit','importFileToUnitIdByCurrentType','Failed\x20to\x20get\x20text\x20from\x20url','content-disposition','_getUnitSlideJson','requestState$','input','workbook.json','_getSignURL','{type}','fetchMissingChangesets','univer-text-green-500','currentTarget','CONNECTOR_DATA_TOO_LARGE','importXLSXToUnitId','/universer-api/exchange/task/{taskID}','Failed\x20to\x20get\x20taskID\x20from\x20import\x20response','snapshot','importXLSXToSnapshot','exchange-client.downloading','success','_getUnitJson','Warning','Failed\x20to\x20get\x20fileID\x20from\x20task','_taskInterrupted','iterator','/universer-api/exchange/{type}/import','interruptImportTask','symbol','keys','univer-mt-3\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-2\x20univer-pr-1','_buildHttpErrorMessage','revokeObjectURL','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','searchParams','upload\x20failed:\x20missing\x20FileId\x20in\x20response','trim','_registerIcons','47HkvAZh','getConfig','_buildProtocolErrorMessage','_localeService','number','application/vnd.openxmlformats-officedocument.wordprocessingml.document','univer-ml-1.5\x20univer-font-semibold\x20univer-text-gray-900\x20dark:!univer-text-white','1762420ftItsS','fileID','_totalUploadTaskCount','Info','univer-pl-2\x20univer-pr-4','exportXLSXByUnitId','pluginName','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','outputType','exchange-client.downloadSuccess','univer-pro.exchange-client.request.service','match','map','click','exchange-client.internalError','transformWorkbookDataToSnapshotJson','UNIVER_EXCHANGE_CLIENT_PLUGIN','Success','file','importWorkbookDataToUnitId','split','upload','files','INTERNAL_ERROR','set','url','prototype','Method\x20not\x20implemented.','onStarting','disableCellImageConversion','univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','_addDoneTask','saveChangeset','Failed\x20to\x20parse\x20json','length','_getMinSheetRowCount','sheets','UNRECOGNIZED','Failed\x20to\x20get\x20unitID\x20from\x20task','interrupt','exchange-client.config','signUrl','application/vnd.openxmlformats-officedocument.spreadsheetml.template','catch','_addTotalCount','downloadFile','univer-flex\x20univer-h-5\x20univer-text-xl','_uploadNotificationService','complete','upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url','_state$','_showDownloadMessage','name','Failed\x20to\x20transform\x20snapshot\x20to\x20string','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','_uploadTaskNotDone','importDOCXToUnitId','_getLinkByUnitId','_getUnitDocJson','decorate','sheetBlocks','_import','_importTaskId','message','_showNetworkError','_configService','exchange-client.uploading','_registerUIParts','setTaskInterrupted','univer-h-6\x20univer-text-2xl','noreferrer','originalMeta','link','exchange-client.wait','getSnapshot','UNIVER_SHEET','uploadFileToUnitId','string','_sheetBlockCache','headers','text','exchange-client.cancel','exchange-client.networkError','origin','_requestService','_export','UNIVER_PDF','block\x20is\x20required','file.json','{fileID}','signUrlServerUrl','_requestState$','removeChild','CONTENT','rev','unitID','show','getSheetBlock','_iconManager','HttpImport','importServerUrl','pptx','call','_importFileToUnitId','importPPTXToUnitId','size','16332144zKtgoF','filter','_clearProgress','href','multiple','_getImportURL','univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','_showUploadMessage','blockID','exchange-client.tooLarge','export','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','_fileTypeError','unshift','_blank','updateState','univer-pro.exchange-client.upload-notification.service','exportServerUrl','join','exportDOCXByUnitId','_importToJson','saveSheetBlock','_uiPartsService','xlsx','options','getTextFromUrl','application/octet-stream','_list$','data','copyFileMeta','_messageService','doc','pushLink','disposeUnit','div','pdf','error','univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden','createElement','values','exportPPTXBySnapshot','_getDisableCellImageConversion','univer-mt-5\x20univer-flex\x20univer-flex-col','{taskID}','hide',':\x20HTTP\x20','&source=','post','xltx','exchange-client.uploadSuccessTip','_emitProgress','importPPTXToSnapshot','encode','decode','UNIVER_DOC','import\x20error','status','docx','list$','_getUnitNameByType','getUnitOnRev','uploadFileServerUrl','import','state$','file.','floor','forEach','2811160WOJsZr','getTask','_univerInstanceService','_injector','_getTaskURL','UNDEFINED','application/vnd.ms-excel.sheet.macroEnabled.12','_logService','exportDOCXBySnapshot','clearTaskInterrupted','body','defineProperty','exportPPTXByUnitId','getLatestCsReqIdBySid','createObjectURL','_progress$','UNIVER_SLIDE','stringify','_completeProgress','_extractErrorDetail','_getMinSheetColumnCount','application/json','span','saveUnit','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','importDOCXToSnapshot','exchange-client.interrupt','visible$','subscribe','display','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','_getMaxPollingTime','get','parse','slide','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2','UNIVER_UNKNOWN','Error\x20getting\x20file\x20name\x20from\x20URL:','univer-text-blue-500','_getIgnoreTableExport','1659138WLLiSi','jsonID','function','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.'];_0x6885=function(){return _0x5949b0;};return _0x6885();}import{jsx as _0x3a61b7,jsxs as _0x39922c}from'react/jsx-runtime';import{ErrorCode as _0x59538c,FileSource as _0x4a60ee}from'@univerjs/protocol';import{b64DecodeUnicode as _0x2406db,b64EncodeUnicode as _0x3782a9,getSheetBlocksFromSnapshot as _0x2b34e5,textDecoder as _0x19c752,textEncoder as _0x533e4e,transformDocumentDataToSnapshot as _0x175492,transformSlideDataToSnapshot as _0x58a5e8,transformSnapshotToDocumentData as _0x7fd94e,transformSnapshotToSlideData as _0x1e9415,transformSnapshotToWorkbookData as _0x4bfcd1,transformWorkbookDataToSnapshot as _0x4dcdaa}from'@univerjs-pro/collaboration';import{deflateSync as _0x17f531}from'fflate';var Pe='@univerjs-pro/exchange-client',Fe=_0x5c504e(0xe9);const T=_0x5c504e(0x18a),Ie={};function E(_0x41f360,_0x1054fd){return function(_0x272532,_0xe7b735){_0x1054fd(_0x272532,_0xe7b735,_0x41f360);};}function D(_0xceef7f,_0x4f9001,_0x12a860,_0xbee424){const _0x41c636=_0x5c504e;var _0x366955=arguments['length'],_0x5d7d39=_0x366955<0x3?_0x4f9001:_0xbee424===null?_0xbee424=Object['getOwnPropertyDescriptor'](_0x4f9001,_0x12a860):_0xbee424,_0x5d8bfe;if(typeof Reflect=='object'&&typeof Reflect[_0x41c636(0x19d)]==_0x41c636(0xe4))_0x5d7d39=Reflect[_0x41c636(0x19d)](_0xceef7f,_0x4f9001,_0x12a860,_0xbee424);else{for(var _0x2136df=_0xceef7f[_0x41c636(0x184)]-0x1;_0x2136df>=0x0;_0x2136df--)(_0x5d8bfe=_0xceef7f[_0x2136df])&&(_0x5d7d39=(_0x366955<0x3?_0x5d8bfe(_0x5d7d39):_0x366955>0x3?_0x5d8bfe(_0x4f9001,_0x12a860,_0x5d7d39):_0x5d8bfe(_0x4f9001,_0x12a860))||_0x5d7d39);}return _0x366955>0x3&&_0x5d7d39&&Object[_0x41c636(0x21a)](_0x4f9001,_0x12a860,_0x5d7d39),_0x5d7d39;}let O=class extends _0x550844{constructor(_0x254182){const _0x352f42=_0x5c504e;super(),this[_0x352f42(0x1c4)]=_0x254182,this[_0x352f42(0x15a)]();}[_0x5c504e(0x15a)](){const _0x110ebf=_0x5c504e;this[_0x110ebf(0x134)](this['_iconManager']['register']({'DirectExportIcon':_0x6672a7}));}};O=D([E(0x0,_0x35058d(_0x14a8dd))],O);function k(_0x529459){'@babel/helpers - typeof';const _0x5a305a=_0x5c504e;return k=typeof Symbol==_0x5a305a(0xe4)&&typeof Symbol[_0x5a305a(0x14e)]==_0x5a305a(0x151)?function(_0xadb894){return typeof _0xadb894;}:function(_0x206ed1){const _0x3ce81e=_0x5a305a;return _0x206ed1&&typeof Symbol==_0x3ce81e(0xe4)&&_0x206ed1['constructor']===Symbol&&_0x206ed1!==Symbol[_0x3ce81e(0x17c)]?_0x3ce81e(0x151):typeof _0x206ed1;},k(_0x529459);}function Le(_0x5a5055,_0x295adb){const _0x4ddb9c=_0x5c504e;if(k(_0x5a5055)!=_0x4ddb9c(0xf6)||!_0x5a5055)return _0x5a5055;var _0x4384da=_0x5a5055[Symbol['toPrimitive']];if(_0x4384da!==void 0x0){var _0x3d899d=_0x4384da[_0x4ddb9c(0x1c8)](_0x5a5055,_0x295adb||'default');if(k(_0x3d899d)!=_0x4ddb9c(0xf6))return _0x3d899d;throw TypeError(_0x4ddb9c(0xe5));}return(_0x295adb===_0x4ddb9c(0x1af)?String:Number)(_0x5a5055);}function Re(_0x43cdff){const _0x4971cb=_0x5c504e;var _0x3b4e62=Le(_0x43cdff,_0x4971cb(0x1af));return k(_0x3b4e62)=='symbol'?_0x3b4e62:_0x3b4e62+'';}function A(_0x36ea72,_0x24d76f,_0x300a82){const _0x48334f=_0x5c504e;return(_0x24d76f=Re(_0x24d76f))in _0x36ea72?Object[_0x48334f(0x21a)](_0x36ea72,_0x24d76f,{'value':_0x300a82,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x36ea72[_0x24d76f]=_0x300a82,_0x36ea72;}const j=_0x1fb009(_0x5c504e(0x1dc));var ze=class extends _0x550844{constructor(){const _0x586790=_0x5c504e;super(),A(this,_0x586790(0xf1),new _0x439300()),A(this,_0x586790(0x194),new _0x439300()),A(this,_0x586790(0x1e7),new _0x439300()),A(this,_0x586790(0xd5),this[_0x586790(0xf1)][_0x586790(0xed)]()),A(this,_0x586790(0x20b),this[_0x586790(0x194)][_0x586790(0xed)]()),A(this,'list$',this[_0x586790(0x1e7)][_0x586790(0xed)]()),A(this,_0x586790(0x124),[]);}[_0x5c504e(0x110)](){const _0x57cc3f=_0x5c504e;super[_0x57cc3f(0x110)](),this[_0x57cc3f(0xf1)][_0x57cc3f(0x192)](),this['_state$'][_0x57cc3f(0x192)](),this['_list$']['complete']();}[_0x5c504e(0x1c2)](){const _0x220d96=_0x5c504e;this[_0x220d96(0xf1)][_0x220d96(0x10c)](!0x0);}[_0x5c504e(0x1f8)](){const _0x11f340=_0x5c504e;this[_0x11f340(0xf1)][_0x11f340(0x10c)](!0x1);}[_0x5c504e(0x1db)](_0x47d8b7){const _0x526435=_0x5c504e;this[_0x526435(0x194)][_0x526435(0x10c)](_0x47d8b7);}[_0x5c504e(0x1ec)](_0x486e11){const _0x23390a=_0x5c504e;this[_0x23390a(0x124)][_0x23390a(0x1d9)](_0x486e11),this['_list$'][_0x23390a(0x10c)](this[_0x23390a(0x124)]);}};function Be(_0x54521b){const _0xb88ac2=_0x5c504e;let {list:_0x33b49e}=_0x54521b;function _0x21d522(_0x8cf1c9){switch(_0x8cf1c9){case 0x1:return _0x3a61b7(_0x5bf916,{});case 0x2:return _0x3a61b7(_0x1b8f90,{});case 0x3:return _0x3a61b7(_0x125d87,{});default:return null;}}return _0x3a61b7(_0xb88ac2(0x1ee),{'className':_0x40cc83(_0xb88ac2(0x1f1),_0x1281d4),'children':_0x3a61b7('ul',{'className':_0xb88ac2(0x10e),'children':_0x33b49e[_0xb88ac2(0x16e)]((_0x43cfcc,_0x2d78bd)=>_0x3a61b7('li',{'children':_0x39922c('a',{'className':_0xb88ac2(0x227),'href':_0x43cfcc[_0xb88ac2(0x1aa)],'target':_0xb88ac2(0x1da),'rel':_0xb88ac2(0x1a8),'children':[_0x39922c(_0xb88ac2(0x225),{'className':_0xb88ac2(0x1d2),'children':[_0x3a61b7(_0xb88ac2(0x225),{'className':_0xb88ac2(0x190),'children':_0x21d522(_0x43cfcc[_0xb88ac2(0xec)])}),_0x3a61b7(_0x12ed84,{'showIfEllipsis':!0x0,'title':_0x43cfcc['name'],'asChild':!0x0,'children':_0x3a61b7(_0xb88ac2(0x225),{'className':_0xb88ac2(0x180),'children':_0x43cfcc[_0xb88ac2(0x196)]})})]}),_0x3a61b7(_0xb88ac2(0x225),{'className':_0xb88ac2(0x156),'children':_0x3a61b7(_0x5aa714,{})})]})},_0x2d78bd))})});}const M=_0x5c504e(0x160),N=_0x5c504e(0x169),P=_0x5c504e(0x215),F=_0x5c504e(0x18c),I='application/vnd.openxmlformats-officedocument.presentationml.presentation',L=_0x5c504e(0x12b),R={[_0x24b8a6['UNIVER_UNKNOWN']]:[''],[_0x24b8a6[_0x5c504e(0x202)]]:[M],[_0x24b8a6[_0x5c504e(0x1ad)]]:[N,P,F],[_0x24b8a6[_0x5c504e(0x21f)]]:[I],[_0x24b8a6['UNIVER_BASE']]:[''],[_0x24b8a6['UNIVER_BOARD']]:[''],[_0x24b8a6[_0x5c504e(0x10b)]]:[''],[_0x24b8a6[_0x5c504e(0x1b8)]]:[L],[_0x24b8a6[_0x5c504e(0x187)]]:['']},z={[M]:'docx',[N]:_0x5c504e(0x1e3),[P]:'xlsm',[F]:_0x5c504e(0x1fc),[I]:_0x5c504e(0x1c7),[L]:_0x5c504e(0x1ef)};function B(_0x4eab1c,_0x303738,_0x3ce899){const _0x169ddc=_0x5c504e;let _0x5d25a2=document['createElement']('a');_0x5d25a2[_0x169ddc(0x1cf)]=_0x4eab1c,_0x5d25a2['style'][_0x169ddc(0xd7)]='none',_0x5d25a2[_0x169ddc(0x115)]=_0x303738+'.'+_0x3ce899,document[_0x169ddc(0x219)]['appendChild'](_0x5d25a2),_0x5d25a2[_0x169ddc(0x16f)](),document[_0x169ddc(0x219)][_0x169ddc(0x1be)](_0x5d25a2);}function Ve(_0x186fc3,_0x1ba495,_0x5665cc){const _0x1c0c3d=_0x5c504e;let _0xa2099d=URL[_0x1c0c3d(0x21d)](_0x186fc3);B(_0xa2099d,_0x1ba495,_0x5665cc),URL[_0x1c0c3d(0x155)](_0xa2099d);}function He(_0x17b1d2){const _0x12b6c7=_0x5c504e;let _0x20bb75=_0x17b1d2['name'][_0x12b6c7(0x176)]('.')['pop']();if(!_0x20bb75)return _0x24b8a6['UNIVER_UNKNOWN'];let _0x26b3ca=Ue(),_0x497de=_0x24b8a6[_0x12b6c7(0xde)];return _0x26b3ca['some'](_0x4d4be1=>We(_0x20bb75,_0x4d4be1)?(_0x497de=_0x4d4be1,!0x0):!0x1),_0x497de;}function Ue(){const _0x2cc99b=_0x5c504e;return Object[_0x2cc99b(0x1f3)](_0x24b8a6)[_0x2cc99b(0x1cd)](_0x31f0fb=>typeof _0x31f0fb==_0x2cc99b(0x15f));}function We(_0x18c371,_0x422cd8){const _0xc6dce8=_0x5c504e;var _0x4eff3e;return((_0x4eff3e=R[_0x422cd8])==null?[]:_0x4eff3e)['map'](_0x44b7cd=>(z[_0x44b7cd]||'')[_0xc6dce8(0xf5)]())[_0xc6dce8(0x12a)](_0x18c371['toLowerCase']());}function V(_0x39d788,_0x298e20=!0x1){const _0x813e6=_0x5c504e;let _0xc49114=_0x39d788[_0x813e6(0x16e)](_0xce3d15=>{var _0x434661;return(_0x434661=R[_0xce3d15])==null?[]:_0x434661;})[_0x813e6(0x1de)](',');return new Promise((_0x3e405a,_0x1eaeae)=>{const _0x34eeec=_0x813e6;let _0x3cca9d=document[_0x34eeec(0x1f2)](_0x34eeec(0x13b));_0x3cca9d['type']=_0x34eeec(0x174),_0x3cca9d[_0x34eeec(0x122)]=_0xc49114,_0x3cca9d[_0x34eeec(0x1d0)]=_0x298e20,_0x3cca9d[_0x34eeec(0x121)]('change',_0x5e6d50=>{const _0x704e70=_0x34eeec;let _0x48b04c=_0x5e6d50[_0x704e70(0x141)];if(!_0x48b04c[_0x704e70(0x178)]||_0x48b04c[_0x704e70(0x178)]['length']===0x0)throw _0x1eaeae(null),Error('No\x20file\x20selected');_0x3e405a(_0x48b04c[_0x704e70(0x178)]);}),_0x3cca9d['click']();});}async function H(_0x28ce8f,_0x3c47b4){const _0x45578a=_0x5c504e;try{var _0x7e6f3e,_0x1573d4,_0x33903f;let _0x222681=await _0x3c47b4['get'](_0x28ce8f,{'responseType':'blob'}),_0xc69b62=_0x222681[_0x45578a(0x219)],_0x5d2740=(_0x7e6f3e=(_0x1573d4=_0x222681['headers'][_0x45578a(0xda)](_0x45578a(0xea)))==null?void 0x0:_0x1573d4['join'](',\x20'))==null?_0x45578a(0x1e6):_0x7e6f3e,_0x52a81a=_0x45578a(0x20c)+(z[_0x5d2740]||_0x45578a(0x1e3)),_0x3b94b9=(_0x33903f=_0x222681[_0x45578a(0x1b1)]['get'](_0x45578a(0x138)))==null?void 0x0:_0x33903f[_0x45578a(0x1de)](',\x20');if(_0x3b94b9){let _0x78e95f=_0x3b94b9[_0x45578a(0x16d)](/filename=(.+)/);_0x78e95f&&_0x78e95f[0x1]&&(_0x52a81a=_0x78e95f[0x1]);}else _0x52a81a=Ge(_0x28ce8f)||_0x52a81a;return new File([_0xc69b62],_0x52a81a,{'type':_0x5d2740});}catch(_0x2eb460){console[_0x45578a(0x1f0)](_0x45578a(0x102),_0x2eb460);return;}}function Ge(_0x1cd238){const _0x4bbd5b=_0x5c504e;try{return new URL(_0x1cd238)[_0x4bbd5b(0x119)][_0x4bbd5b(0x176)]('/')[_0x4bbd5b(0x118)]();}catch(_0x3dc4d3){console[_0x4bbd5b(0x1f0)](_0x4bbd5b(0xdf),_0x3dc4d3);return;}}function Ke(_0x4fed4c){const _0x238f37=_0x5c504e;let _0x36da40=new Blob([_0x4fed4c[_0x238f37(0x125)]],{'type':'application/json'});return new File([_0x36da40],_0x238f37(0x1ba));}function U(_0x54c087,_0x4ae60a){const _0x9b29e9=_0x5c504e;return _0x54c087[_0x9b29e9(0x101)](_0x9b29e9(0x13e),_0x4ae60a);}function qe(_0x3280e0,_0xd99359){const _0x4fee1c=_0x5c504e;return _0x3280e0[_0x4fee1c(0x101)](_0x4fee1c(0x1f7),_0xd99359);}function Je(_0x433ce9,_0x48d487){const _0x98ac28=_0x5c504e;return _0x433ce9[_0x98ac28(0x101)](_0x98ac28(0x1bb),_0x48d487);}const W=_0x1fb009(_0x5c504e(0x16c));let G=class{constructor(_0x46745e,_0x5e4bd6){const _0x32ec4f=_0x5c504e;this[_0x32ec4f(0x1a3)]=_0x46745e,this[_0x32ec4f(0x11f)]=_0x5e4bd6,A(this,_0x32ec4f(0x14d),new Set());}['dispose'](){}[_0x5c504e(0x1a6)](_0x3e41aa){this['_taskInterrupted']['add'](_0x3e41aa);}[_0x5c504e(0x218)](){const _0x35fc7a=_0x5c504e;this[_0x35fc7a(0x14d)]['clear']();}async[_0x5c504e(0x177)](_0x1d1a06,_0x205d03=0x0,_0x1fa5c2=!0x1){const _0x2c41ad=_0x5c504e;if(typeof _0x1d1a06==_0x2c41ad(0x1af)){let _0x308a64=await H(_0x1d1a06,this[_0x2c41ad(0x11f)]);if(!_0x308a64)throw Error(_0x2c41ad(0x193));_0x1d1a06=_0x308a64;}_0x205d03=_0x205d03||_0x1d1a06[_0x2c41ad(0x1cb)];let _0x4a3215=new FormData();_0x4a3215['append'](_0x2c41ad(0x174),_0x1d1a06);try{let _0x34aac5=this[_0x2c41ad(0xfb)]()+_0x2c41ad(0x117)+_0x205d03+_0x2c41ad(0x1fa)+_0x4a60ee[_0x2c41ad(0x1c5)]+'&flate='+_0x1fa5c2,_0x4deb11={'body':_0x4a3215},_0x13cbc9=(await this[_0x2c41ad(0x11f)][_0x2c41ad(0x1fb)](_0x34aac5,_0x4deb11))[_0x2c41ad(0x219)];if(_0x13cbc9[_0x2c41ad(0x1f0)]&&_0x13cbc9['error']['code']!==_0x59538c['OK'])throw Error(this[_0x2c41ad(0x15d)](_0x2c41ad(0x103),_0x13cbc9[_0x2c41ad(0x1f0)]));return _0x13cbc9;}catch(_0x2ed40a){throw _0x2ed40a instanceof Error?_0x2ed40a:Error(this['_buildHttpErrorMessage']('upload\x20request\x20failed',_0x2ed40a));}}async['import'](_0x776af9){const _0x50f876=_0x5c504e;let {fileID:_0x1ad359,type:_0x707bed,outputType:_0x241de7,minSheetColumnCount:_0x42325f,minSheetRowCount:_0x52edfd}=_0x776af9;try{let _0xfe7731=U(this['_getImportURL'](),''+_0x707bed),_0x34298d={'body':{'fileID':_0x1ad359,'outputType':_0x241de7,'minSheetColumnCount':_0x42325f,'minSheetRowCount':_0x52edfd}},_0x388c6a=(await this[_0x50f876(0x11f)]['post'](_0xfe7731,_0x34298d))[_0x50f876(0x219)];return _0x388c6a[_0x50f876(0x1f0)]&&_0x388c6a['error'][_0x50f876(0xf3)]!==_0x59538c['OK']?void 0x0:_0x388c6a;}catch{return;}}async[_0x5c504e(0x1d6)](_0x58148d){const _0x3ba1da=_0x5c504e;let {unitID:_0x54eaff,jsonID:_0x3a9563,type:_0x3d7be0,useImageUrl:_0x309cb8,ignoreTableExport:_0x39ed08}=_0x58148d;try{let _0x18413f=U(this['_getExportURL'](),''+_0x3d7be0),_0x11afeb={'body':{'unitID':_0x54eaff,'jsonID':_0x3a9563,'type':_0x3d7be0,'useImageUrl':_0x309cb8,'ignoreTableExport':_0x39ed08}},_0x13e5da=(await this[_0x3ba1da(0x11f)][_0x3ba1da(0x1fb)](_0x18413f,_0x11afeb))[_0x3ba1da(0x219)];return _0x13e5da[_0x3ba1da(0x1f0)]&&_0x13e5da['error'][_0x3ba1da(0xf3)]!==_0x59538c['OK']?void 0x0:_0x13e5da;}catch{return;}}async['getTask'](_0x276769){return new Promise((_0x17ad10,_0x11c572)=>{const _0x11ee45=_0x2440;try{let _0x51b2bb=0x0,_0x11223c=qe(this[_0x11ee45(0x213)](),''+_0x276769),_0x5e2e81=this[_0x11ee45(0xd9)](),_0x498463=async()=>{const _0x410f21=_0x11ee45;if(this[_0x410f21(0x14d)][_0x410f21(0x120)](_0x276769))return;let _0x354087=(await this[_0x410f21(0x11f)][_0x410f21(0xda)](_0x11223c))[_0x410f21(0x219)];if(_0x354087[_0x410f21(0x1f0)]&&_0x354087[_0x410f21(0x1f0)][_0x410f21(0xf3)]===_0x59538c['OK']){if(_0x354087[_0x410f21(0x204)]==='done')_0x17ad10(_0x354087);else{if(_0x354087['status']==='pending'){let _0xe780e6=0x3e8;if(_0x51b2bb>=_0x5e2e81){_0x11c572(_0x354087);return;}else _0x51b2bb>=0x7530&&(_0xe780e6=0x1388);_0x51b2bb+=_0xe780e6,setTimeout(_0x498463,_0xe780e6);}else _0x11c572(_0x354087);}}else _0x11c572(_0x354087);};_0x498463();}catch(_0x3d6479){_0x11c572(_0x3d6479 instanceof Error?_0x3d6479:Error(String(_0x3d6479)));}});}async[_0x5c504e(0x18b)](_0x1ba1c1){const _0x49e945=_0x5c504e;try{let _0x358658=Je(this[_0x49e945(0x13d)](),''+_0x1ba1c1);return(await this[_0x49e945(0x11f)]['get'](_0x358658))[_0x49e945(0x219)];}catch{return;}}async[_0x5c504e(0x1e5)](_0x52c32c){const _0xe175cf=_0x5c504e;try{return(await this[_0xe175cf(0x11f)][_0xe175cf(0xda)](_0x52c32c,{'responseType':_0xe175cf(0x1b2)}))['body'];}catch{return;}}['_buildProtocolErrorMessage'](_0x240a29,_0x314b24){let _0x9ab5bb=this['_extractErrorDetail'](_0x314b24);return _0x9ab5bb?_0x240a29+':\x20'+_0x9ab5bb:_0x240a29;}[_0x5c504e(0x154)](_0x46d8da,_0xf98616){const _0x1c74eb=_0x5c504e;if(_0xf98616 instanceof _0x2055c9){let _0x15d79a=typeof _0xf98616[_0x1c74eb(0x204)]=='number'?''+_0xf98616[_0x1c74eb(0x204)]+(_0xf98616[_0x1c74eb(0x133)]?'\x20'+_0xf98616[_0x1c74eb(0x133)]:''):void 0x0,_0x171949=this['_extractErrorDetail'](_0xf98616['error']);return _0x15d79a&&_0x171949?_0x46d8da+_0x1c74eb(0x1f9)+_0x15d79a+'\x20-\x20'+_0x171949:_0x15d79a?_0x46d8da+_0x1c74eb(0x1f9)+_0x15d79a:_0x171949?_0x46d8da+':\x20'+_0x171949:_0x46d8da;}let _0x220741=this[_0x1c74eb(0x222)](_0xf98616);return _0x220741?_0x46d8da+':\x20'+_0x220741:_0x46d8da;}[_0x5c504e(0x222)](_0x1bd3d8){const _0x5b36e2=_0x5c504e;if(typeof _0x1bd3d8==_0x5b36e2(0x1af)){let _0x16b49c=_0x1bd3d8[_0x5b36e2(0x159)]();return _0x16b49c[_0x5b36e2(0x184)]>0x0?_0x16b49c:void 0x0;}if(_0x1bd3d8 instanceof Error)return this[_0x5b36e2(0x222)](_0x1bd3d8['message']);if(!_0x1bd3d8||typeof _0x1bd3d8!='object'||Array[_0x5b36e2(0xf0)](_0x1bd3d8))return;let _0x397038=_0x1bd3d8,_0x554b2c=this[_0x5b36e2(0x222)](_0x397038[_0x5b36e2(0x1a1)]);if(_0x554b2c)return _0x554b2c;if(_0x397038[_0x5b36e2(0x1f0)]&&typeof _0x397038['error']=='object'&&!Array[_0x5b36e2(0xf0)](_0x397038['error'])){let _0xb9bd99=this[_0x5b36e2(0x222)](_0x397038[_0x5b36e2(0x1f0)]);if(_0xb9bd99)return _0xb9bd99;}}[_0x5c504e(0xfb)](){const _0x3e0872=_0x5c504e;var _0x327e93;let _0x585c12=this[_0x3e0872(0x1a3)]['getConfig'](T);return(_0x327e93=_0x585c12==null?void 0x0:_0x585c12[_0x3e0872(0x209)])==null?_0x3e0872(0x100):_0x327e93;}[_0x5c504e(0x1d1)](){const _0xdff751=_0x5c504e;var _0x4ff266;let _0x1e90cb=this['_configService']['getConfig'](T);return(_0x4ff266=_0x1e90cb==null?void 0x0:_0x1e90cb[_0xdff751(0x1c6)])==null?_0xdff751(0x14f):_0x4ff266;}[_0x5c504e(0xee)](){const _0x3312ea=_0x5c504e;var _0x3070ad;let _0x290fa2=this[_0x3312ea(0x1a3)][_0x3312ea(0x15c)](T);return(_0x3070ad=_0x290fa2==null?void 0x0:_0x290fa2[_0x3312ea(0x1dd)])==null?_0x3312ea(0x104):_0x3070ad;}['_getTaskURL'](){const _0x477331=_0x5c504e;var _0x456cd9;let _0x27d2ae=this['_configService'][_0x477331(0x15c)](T);return(_0x456cd9=_0x27d2ae==null?void 0x0:_0x27d2ae[_0x477331(0x11c)])==null?_0x477331(0x144):_0x456cd9;}['_getSignURL'](){const _0x1119d7=_0x5c504e;var _0x265c6d;let _0x1943cb=this['_configService'][_0x1119d7(0x15c)](T);return(_0x265c6d=_0x1943cb==null?void 0x0:_0x1943cb[_0x1119d7(0x1bc)])==null?'/universer-api/file/{fileID}/sign-url':_0x265c6d;}[_0x5c504e(0xd9)](){const _0x1105bc=_0x5c504e;var _0x4ac0d4;let _0x35bb85=this[_0x1105bc(0x1a3)][_0x1105bc(0x15c)](T);return(_0x4ac0d4=_0x35bb85==null?void 0x0:_0x35bb85[_0x1105bc(0x107)])==null?0x1d4c0:_0x4ac0d4;}};G=D([E(0x0,_0x36c765),E(0x1,_0x35058d(_0x12cdb1))],G);function Ye(_0xc12b03){const _0x4c68a7=_0x5c504e;let _0x7d7c60=_0xc12b03['workbook'];if(!_0x7d7c60)return null;let _0x727495={};_0x7d7c60[_0x4c68a7(0x186)]&&Object[_0x4c68a7(0x152)](_0x7d7c60[_0x4c68a7(0x186)])[_0x4c68a7(0x20e)](_0x321be0=>{const _0x2b0938=_0x4c68a7;let _0x441e13=_0x7d7c60[_0x2b0938(0x186)][_0x321be0];_0x727495[_0x321be0]={..._0x441e13,'originalMeta':_0x3782a9(_0x19c752[_0x2b0938(0x201)](_0x441e13[_0x2b0938(0x1a9)]))};});let _0xcba026=_0x3782a9(_0x19c752[_0x4c68a7(0x201)](_0x7d7c60[_0x4c68a7(0x1a9)]));return{..._0xc12b03,'workbook':{..._0x7d7c60,'originalMeta':_0xcba026,'sheets':_0x727495},'doc':{},'slide':void 0x0,'board':void 0x0};}function Xe(_0x236c3a){const _0x420a54=_0x5c504e;let _0x10cf8e=_0x236c3a['doc'];if(!_0x10cf8e)return null;let _0x377b4a=_0x3782a9(_0x19c752[_0x420a54(0x201)](_0x10cf8e[_0x420a54(0x1a9)]));return{..._0x236c3a,'workbook':{},'doc':{..._0x10cf8e,'originalMeta':_0x377b4a},'slide':void 0x0,'board':void 0x0};}function Ze(_0x305a9b){const _0x41cdf8=_0x5c504e;var _0x43020b;let _0x1affda=(_0x43020b=_0x305a9b[_0x41cdf8(0xdc)])==null?_0x305a9b[_0x41cdf8(0x1eb)]:_0x43020b;if(!_0x1affda)return null;let _0x3dfc04=typeof _0x1affda[_0x41cdf8(0x1a9)]==_0x41cdf8(0x1af)?_0x1affda[_0x41cdf8(0x1a9)]:_0x3782a9(_0x19c752[_0x41cdf8(0x201)](_0x1affda[_0x41cdf8(0x1a9)]));return{..._0x305a9b,'workbook':{},'doc':{},'slide':{..._0x1affda,'originalMeta':_0x3dfc04},'board':void 0x0};}function _0x2440(_0x3465e7,_0x58a3c9){_0x3465e7=_0x3465e7-0xd4;const _0x68856c=_0x6885();let _0x244047=_0x68856c[_0x3465e7];return _0x244047;}function K(_0x45e490){const _0x54beb5=_0x5c504e;let _0xd64d59={};return _0x45e490[_0x54beb5(0x20e)](_0x13b549=>{const _0x2b8c4d=_0x54beb5;_0xd64d59[_0x13b549['id']]={..._0x13b549,'data':_0x3782a9(_0x19c752[_0x2b8c4d(0x201)](_0x13b549[_0x2b8c4d(0x1e8)]))};}),_0xd64d59;}async function Qe(_0x232733){const _0x46b6df=_0x5c504e;var _0x1e41a9;let _0x4a87c4={'metadata':void 0x0},_0x379e90=_0x232733['id'],_0x2a9234=(_0x1e41a9=_0x232733[_0x46b6df(0x1c0)])==null?0x0:_0x1e41a9,_0x59115d=new q(),{snapshot:_0x5c49a3}=await _0x4dcdaa(_0x4a87c4,_0x232733,_0x379e90,_0x2a9234,_0x59115d),_0x28aa83=await _0x2b34e5(_0x5c49a3,_0x59115d),_0xe0ea82=Ye(_0x5c49a3);if(!_0xe0ea82)throw Error('Failed\x20to\x20transform\x20snapshot\x20to\x20string');return{'snapshot':_0xe0ea82,'sheetBlocks':K(_0x28aa83)};}async function $e(_0xe92dd1){const _0x316c0a=_0x5c504e;var _0x18271f;let _0x526ca8={'metadata':void 0x0},_0x53acdf=_0xe92dd1['id'],{snapshot:_0x1eb3f7}=await _0x175492(_0x526ca8,_0xe92dd1,_0x53acdf,(_0x18271f=_0xe92dd1[_0x316c0a(0x1c0)])==null?0x0:_0x18271f,new q()),_0x3b7983=Xe(_0x1eb3f7);if(!_0x3b7983)throw Error(_0x316c0a(0x197));return{'snapshot':_0x3b7983,'sheetBlocks':{}};}async function et(_0x1a7c58){var _0x54d41e;let _0x121b24=_0x1a7c58['id'],_0x318113=(_0x54d41e=_0x1a7c58['rev'])==null?0x0:_0x54d41e,_0x416991=new q(),{snapshot:_0x7463af}=await _0x58a5e8(_0x1a7c58['resources'],_0x1a7c58,_0x121b24,_0x318113,_0x416991),_0x512334=Ze(_0x7463af);if(!_0x512334)throw Error('Failed\x20to\x20transform\x20snapshot\x20to\x20string');return{'snapshot':_0x512334,'sheetBlocks':{}};}async function tt(_0x40c271){const _0xa8d7b1=_0x5c504e;let _0x37b4f4=_0x40c271[_0xa8d7b1(0x146)],_0x180172=_0x40c271[_0xa8d7b1(0x19e)]||{};return await _0x4bfcd1(_0x37b4f4,Object[_0xa8d7b1(0x152)](_0x180172)[_0xa8d7b1(0x16e)](_0x2aa224=>_0x180172[_0x2aa224])[_0xa8d7b1(0x16e)](_0x19c557=>({..._0x19c557,'data':_0x19c557[_0xa8d7b1(0x1e8)]?JSON['parse'](_0x2406db(_0x19c557['data'])):void 0x0})));}function nt(_0x4db138){let _0x2992e4=_0x4db138['snapshot'];return _0x7fd94e(_0x2992e4);}function rt(_0x14c51b){const _0x4fbae2=_0x5c504e;let _0x3575c1=_0x14c51b[_0x4fbae2(0x146)];return _0x1e9415(_0x3575c1);}var q=class{constructor(){A(this,'_sheetBlockCache',new Map());}[_0x5c504e(0x208)](){const _0x3b1631=_0x5c504e;return Promise['resolve']({'snapshot':{'unitID':'','type':_0x24b8a6[_0x3b1631(0x1ad)],'rev':0x0,'workbook':void 0x0,'doc':void 0x0,'slide':void 0x0,'board':void 0x0},'changesets':[],'error':{'code':_0x59538c['OK'],'message':''}});}[_0x5c504e(0x1c3)](_0x9ecc0,_0x139a89){const _0x51d501=_0x5c504e;let _0x517dd7=this[_0x51d501(0x1b0)][_0x51d501(0xda)](_0x139a89[_0x51d501(0x1d4)]);return Promise['resolve']({'block':_0x517dd7,'error':{'code':_0x59538c['OK'],'message':''}});}['getDeserializedSheetBlock'](_0x5adfd9,_0x4ebe0e){const _0x5aa08c=_0x5c504e;let _0x4b2464=this[_0x5aa08c(0x1b0)]['get'](_0x4ebe0e[_0x5aa08c(0x1d4)]);return Promise[_0x5aa08c(0x123)]({'block':_0x4b2464===void 0x0?void 0x0:{..._0x4b2464,'data':JSON[_0x5aa08c(0xdb)](_0x19c752['decode'](_0x4b2464[_0x5aa08c(0x1e8)]))},'error':{'code':_0x59538c['OK'],'message':''}});}[_0x5c504e(0x13f)](){const _0x384388=_0x5c504e;return Promise[_0x384388(0x123)]({'changesets':[],'error':{'code':_0x59538c['OK'],'message':''}});}['getResourcesRequest'](){const _0x1cd24b=_0x5c504e;return Promise[_0x1cd24b(0x123)]({'resources':{},'error':{'code':_0x59538c['OK'],'message':''}});}['saveSnapshot'](){const _0x29e3a6=_0x5c504e;return Promise[_0x29e3a6(0x123)]({'error':{'code':_0x59538c['OK'],'message':''}});}['updateSnapshot'](){return Promise['resolve']({'error':{'code':_0x59538c['OK'],'message':''}});}[_0x5c504e(0x1e1)](_0x5a1557,_0x91fc72){const _0x321a86=_0x5c504e;let {block:_0x4a3ed2}=_0x91fc72;return _0x4a3ed2?(this[_0x321a86(0x1b0)]['set'](_0x4a3ed2['id'],_0x4a3ed2),Promise[_0x321a86(0x123)]({'error':{'code':_0x59538c['OK'],'message':''},'blockID':_0x4a3ed2['id']})):Promise['resolve']({'error':{'code':_0x59538c[_0x321a86(0x214)],'message':_0x321a86(0x1b9)},'blockID':''});}[_0x5c504e(0x182)](){const _0x3fbbc7=_0x5c504e;return Promise[_0x3fbbc7(0x123)]({'error':{'code':_0x59538c['OK'],'message':''},'concurrent':[]});}[_0x5c504e(0x1e9)](){const _0x19bed8=_0x5c504e;return Promise[_0x19bed8(0x123)]({'error':void 0x0,'fileMetaId':''});}[_0x5c504e(0x21c)](){const _0xa0ebd4=_0x5c504e;return Promise[_0xa0ebd4(0x123)]({'error':void 0x0,'latestReqID':0x0});}};const J=_0x1fb009('univer-pro.exchange-client.exchange.service');let Y=class extends _0x550844{constructor(_0x3ddfe6,_0x423f01,_0x537b71){const _0x40cfae=_0x5c504e;super(),this[_0x40cfae(0x1a3)]=_0x3ddfe6,this[_0x40cfae(0x11f)]=_0x423f01,this['_requestService']=_0x537b71,A(this,_0x40cfae(0x1a0),null),A(this,'_requestState$',new _0x439300()),A(this,'requestState$',this['_requestState$']['asObservable']());}[_0x5c504e(0x110)](){const _0x6136c6=_0x5c504e;super[_0x6136c6(0x110)](),this[_0x6136c6(0x1bd)][_0x6136c6(0x192)]();}['downloadFile'](_0x28c2da,_0x2e095e,_0x5e788b){const _0x246dc2=_0x5c504e;let _0x526094=URL[_0x246dc2(0x21d)](_0x28c2da);B(_0x526094,_0x2e095e,_0x5e788b),URL[_0x246dc2(0x155)](_0x526094);}async[_0x5c504e(0x114)](_0x1a2a98){const _0x2d2deb=_0x5c504e;let _0x3a9538=_0x1a2a98[_0x2d2deb(0x146)],_0xd57bdb=_0x1a2a98[_0x2d2deb(0x19e)]||{};return _0x4bfcd1(_0x3a9538,Object['keys'](_0xd57bdb)[_0x2d2deb(0x16e)](_0x3029d7=>_0xd57bdb[_0x3029d7])[_0x2d2deb(0x16e)](_0x2aff33=>({..._0x2aff33,'data':_0x2aff33[_0x2d2deb(0x1e8)]?JSON[_0x2d2deb(0xdb)](_0x2406db(_0x2aff33[_0x2d2deb(0x1e8)])):void 0x0})));}async[_0x5c504e(0x171)](_0x172b96){const _0x52af24=_0x5c504e;var _0x23a9d6;let _0x3c7bab={'metadata':void 0x0},_0x2932c2=_0x172b96['id'],_0x52079f=(_0x23a9d6=_0x172b96[_0x52af24(0x1c0)])==null?0x0:_0x23a9d6,_0x366061=new q(),{snapshot:_0x1619d2}=await _0x4dcdaa(_0x3c7bab,_0x172b96,_0x2932c2,_0x52079f,_0x366061),_0x2bc29b=await _0x2b34e5(_0x1619d2,_0x366061),_0x3f8068=Ye(_0x1619d2);if(!_0x3f8068)throw Error('Failed\x20to\x20transform\x20snapshot\x20to\x20string');return{'snapshot':_0x3f8068,'sheetBlocks':K(_0x2bc29b)};}async['importDOCXToSnapshot'](_0x12ea75){const _0x5ce548=_0x5c504e;let _0x8fffca=await this[_0x5ce548(0xff)](_0x12ea75,_0x24b8a6[_0x5ce548(0x202)]);if(!_0x8fffca||!_0x8fffca[_0x5ce548(0x146)])return;let _0x496803=nt(_0x8fffca);if(_0x496803)return _0x496803;}async[_0x5c504e(0x1df)](_0x5667e2){const _0x43e5ad=_0x5c504e;return this[_0x43e5ad(0x1b7)](_0x5667e2,0x1,_0x24b8a6[_0x43e5ad(0x202)]);}async['exportDOCXBySnapshot'](_0x3172b9){const _0x5285a0=_0x5c504e;let _0x3159b1=await $e(_0x3172b9);return this[_0x5285a0(0xe7)](_0x3159b1,_0x24b8a6['UNIVER_DOC']);}async['importPPTXToSnapshot'](_0x3296f7){const _0x4a2b49=_0x5c504e;let _0x40ef11=await this['importFileToJson'](_0x3296f7,_0x24b8a6[_0x4a2b49(0x21f)]);if(!(!_0x40ef11||!_0x40ef11[_0x4a2b49(0x146)]))return rt(_0x40ef11);}async[_0x5c504e(0x21b)](_0x247e20){const _0x20dd87=_0x5c504e;return this[_0x20dd87(0x1b7)](_0x247e20,0x1,_0x24b8a6['UNIVER_SLIDE']);}async[_0x5c504e(0x1f4)](_0x1ad7f1){const _0xf7dca1=_0x5c504e;let _0x3e16ef=await et(_0x1ad7f1);return this[_0xf7dca1(0xe7)](_0x3e16ef,_0x24b8a6[_0xf7dca1(0x21f)]);}async[_0x5c504e(0x147)](_0x25fb48){const _0x465c7f=_0x5c504e;let _0x206f7c=await this[_0x465c7f(0xff)](_0x25fb48,_0x24b8a6['UNIVER_SHEET']);if(!_0x206f7c)return;let _0xf9046f=await this[_0x465c7f(0x114)](_0x206f7c);if(_0xf9046f)return _0xf9046f;}async[_0x5c504e(0x167)](_0x39a7dd){const _0x57e354=_0x5c504e;return this[_0x57e354(0x1b7)](_0x39a7dd,0x1,_0x24b8a6[_0x57e354(0x1ad)]);}async[_0x5c504e(0x10a)](_0x1cd48e){const _0x2a4be1=_0x5c504e;let _0xa15ece=await this[_0x2a4be1(0x171)](_0x1cd48e);return this[_0x2a4be1(0xe7)](_0xa15ece,_0x24b8a6[_0x2a4be1(0x1ad)]);}async[_0x5c504e(0x11e)](_0x1c601a,_0x18c946){const _0x200230=_0x5c504e;var _0x49c53d,_0x13e4b5;let _0x1ac766=await this[_0x200230(0xf8)](_0x1c601a);if(!_0x1ac766)return;let _0x5943a6=await this['_import'](_0x1ac766,0x1,_0x18c946);if(!_0x5943a6)return;this[_0x200230(0x1a0)]=_0x5943a6,this[_0x200230(0x1b6)][_0x200230(0x218)]();let _0x1e0618=await this[_0x200230(0x1b6)]['getTask'](_0x5943a6)[_0x200230(0x18d)](_0xc9c67e=>{const _0x34b109=_0x200230;var _0x38a1b6;let _0x1263b2=_0xc9c67e instanceof Error?_0xc9c67e[_0x34b109(0x1a1)]:(_0x38a1b6=_0xc9c67e[_0x34b109(0x1f0)])==null?void 0x0:_0x38a1b6[_0x34b109(0x1a1)];this['_requestState$'][_0x34b109(0x10c)]({'error':{'code':_0x59538c[_0x34b109(0x187)],'message':_0x1263b2||''},'state':0x3});});if(!_0x1e0618)return;let _0xf91603=(_0x49c53d=_0x1e0618['import'])==null?void 0x0:_0x49c53d[_0x200230(0x16a)],_0x59cb3d=((_0x13e4b5=_0x1e0618[_0x200230(0x20a)])==null?void 0x0:_0x13e4b5[_0x200230(0x1c1)])||'';if(_0xf91603!==0x1){this['_requestState$'][_0x200230(0x10c)]({'error':{'code':_0x59538c[_0x200230(0x187)],'message':_0x200230(0xe6)},'state':0x3});return;}if(_0x59cb3d[_0x200230(0x184)]===0x0){this['_requestState$'][_0x200230(0x10c)]({'error':{'code':_0x59538c['UNRECOGNIZED'],'message':_0x200230(0x188)},'state':0x3});return;}return this[_0x200230(0x1bd)]['next']({'error':_0x1e0618[_0x200230(0x1f0)],'state':0x3}),_0x59cb3d;}async[_0x5c504e(0xff)](_0x594f94,_0xaeec79){const _0x193d1f=_0x5c504e;return this[_0x193d1f(0x1e0)](_0x594f94,_0xaeec79);}async[_0x5c504e(0x175)](_0x290144){const _0x68d6fe=_0x5c504e;let _0x3923b1=await this[_0x68d6fe(0x171)](_0x290144),_0x5ad309=typeof _0x290144['id']=='string'&&_0x290144['id'][_0x68d6fe(0x159)]()?_0x290144['id'][_0x68d6fe(0x159)]()+_0x68d6fe(0xfd):_0x68d6fe(0x13c),_0x4745fb=new File([JSON[_0x68d6fe(0x220)](_0x3923b1)],_0x5ad309,{'type':_0x68d6fe(0x224)});return this['importFileToUnitId'](_0x4745fb,_0x24b8a6[_0x68d6fe(0x1ad)]);}[_0x5c504e(0x150)](){const _0x9b9c37=_0x5c504e;this[_0x9b9c37(0x1a0)]&&this['_requestService'][_0x9b9c37(0x1a6)](this['_importTaskId']);}async[_0x5c504e(0x1e0)](_0x19018e,_0x6a66fe){const _0x112b52=_0x5c504e;var _0x3287f3,_0x533845;let _0x32aba1=await this[_0x112b52(0xf8)](_0x19018e);if(!_0x32aba1)return;let _0x58251a=await this[_0x112b52(0x19f)](_0x32aba1,0x2,_0x6a66fe);if(!_0x58251a)return;this['_importTaskId']=_0x58251a,this[_0x112b52(0x1b6)]['clearTaskInterrupted']();let _0x2c26f4=await this[_0x112b52(0x1b6)]['getTask'](_0x58251a)[_0x112b52(0x18d)](_0x20f47d=>{const _0x5eaef1=_0x112b52;var _0x1b9e0a;let _0x1f4cc1=_0x20f47d instanceof Error?_0x20f47d[_0x5eaef1(0x1a1)]:(_0x1b9e0a=_0x20f47d['error'])==null?void 0x0:_0x1b9e0a[_0x5eaef1(0x1a1)];this[_0x5eaef1(0x1bd)]['next']({'error':{'code':_0x59538c[_0x5eaef1(0x187)],'message':_0x1f4cc1||''},'state':0x3});});if(!_0x2c26f4)return;let _0xa55fbc=(_0x3287f3=_0x2c26f4[_0x112b52(0x20a)])==null?void 0x0:_0x3287f3[_0x112b52(0x16a)],_0x2d50cc=((_0x533845=_0x2c26f4[_0x112b52(0x20a)])==null?void 0x0:_0x533845[_0x112b52(0xe3)])||'';if(_0xa55fbc!==0x2){this[_0x112b52(0x1bd)][_0x112b52(0x10c)]({'error':{'code':_0x59538c[_0x112b52(0x187)],'message':_0x112b52(0xe6)},'state':0x3});return;}if(_0x2d50cc[_0x112b52(0x184)]===0x0){this['_requestState$']['next']({'error':{'code':_0x59538c[_0x112b52(0x187)],'message':'Failed\x20to\x20get\x20jsonID\x20from\x20task'},'state':0x3});return;}this['_requestState$'][_0x112b52(0x10c)]({'error':_0x2c26f4['error'],'state':0x3});let _0x1f9a16=await this[_0x112b52(0x112)](_0x2d50cc);if(!_0x1f9a16)return;let _0x3381c5=await this[_0x112b52(0x1b6)]['getTextFromUrl'](_0x1f9a16);if(!_0x3381c5){this[_0x112b52(0x1bd)][_0x112b52(0x10c)]({'error':{'code':_0x59538c[_0x112b52(0x187)],'message':_0x112b52(0x137)},'state':0x5});return;}try{let _0x2e1b77=JSON['parse'](_0x3381c5);return this['_requestState$'][_0x112b52(0x10c)]({'error':{'code':_0x59538c['OK'],'message':_0x112b52(0x149)},'state':0x5}),_0x2e1b77;}catch{this['_requestState$']['next']({'error':{'code':_0x59538c[_0x112b52(0x187)],'message':_0x112b52(0x183)},'state':0x5});}}async[_0x5c504e(0xe7)](_0x19cd98,_0x519e5e){const _0x2b3831=_0x5c504e;let _0x2ec704=JSON[_0x2b3831(0x220)](_0x19cd98),_0x2412f3=_0x533e4e[_0x2b3831(0x200)](_0x2ec704),_0x2bc813=_0x17f531(_0x2412f3),_0x3ca25e=_0x2412f3[_0x2b3831(0x184)],_0x11f8d6=Ke(_0x2bc813),_0x563cb2=await this['_upload'](_0x11f8d6,_0x3ca25e,!0x0);if(_0x563cb2)return this[_0x2b3831(0x1b7)](_0x563cb2,0x2,_0x519e5e);}async[_0x5c504e(0x1b7)](_0xe30153,_0x5d129b,_0x39a89d){const _0x269aa9=_0x5c504e;var _0x181318;let _0x397253=await this[_0x269aa9(0x1b6)][_0x269aa9(0x1d6)]({'unitID':_0x5d129b===0x1?_0xe30153:'','jsonID':_0x5d129b===0x2?_0xe30153:'','type':_0x39a89d,'useImageUrl':this[_0x269aa9(0x1f5)](),'ignoreTableExport':this[_0x269aa9(0xe1)]()});if(!_0x397253){this['_requestState$']['next']({'error':{'code':_0x59538c[_0x269aa9(0x187)],'message':_0x269aa9(0x11b)},'state':0x2});return;}if(this[_0x269aa9(0x1bd)][_0x269aa9(0x10c)]({'error':_0x397253[_0x269aa9(0x1f0)],'state':0x2}),_0x397253[_0x269aa9(0x1f0)]&&_0x397253[_0x269aa9(0x1f0)][_0x269aa9(0xf3)]!==_0x59538c['OK'])return;let _0x10e784=_0x397253[_0x269aa9(0xef)],_0x46fca0=await this[_0x269aa9(0x1b6)][_0x269aa9(0x210)](_0x10e784)[_0x269aa9(0x18d)](_0x150291=>{const _0x4ee68a=_0x269aa9;var _0x46b6ad;let _0x1577e5=_0x150291 instanceof Error?_0x150291['message']:(_0x46b6ad=_0x150291[_0x4ee68a(0x1f0)])==null?void 0x0:_0x46b6ad[_0x4ee68a(0x1a1)];this['_requestState$'][_0x4ee68a(0x10c)]({'error':{'code':_0x59538c[_0x4ee68a(0x187)],'message':_0x1577e5||''},'state':0x3});});if(!_0x46fca0)return;let _0x129ee5=((_0x181318=_0x46fca0[_0x269aa9(0x1d6)])==null?void 0x0:_0x181318[_0x269aa9(0x163)])||'';if(_0x129ee5[_0x269aa9(0x184)]===0x0){this[_0x269aa9(0x1bd)][_0x269aa9(0x10c)]({'error':{'code':_0x59538c[_0x269aa9(0x187)],'message':_0x269aa9(0x14c)},'state':0x3});return;}this['_requestState$'][_0x269aa9(0x10c)]({'error':_0x46fca0[_0x269aa9(0x1f0)],'state':0x3});let _0x103754=await this[_0x269aa9(0x112)](_0x129ee5);if(!_0x103754)return;let _0x378c99=await H(_0x103754,this['_httpService']);if(!_0x378c99){this[_0x269aa9(0x1bd)][_0x269aa9(0x10c)]({'error':{'code':_0x59538c[_0x269aa9(0x187)],'message':'Failed\x20to\x20get\x20file\x20from\x20url'},'state':0x6});return;}return this[_0x269aa9(0x1bd)][_0x269aa9(0x10c)]({'error':{'code':_0x59538c['OK'],'message':_0x269aa9(0x149)},'state':0x6}),_0x378c99;}async['_upload'](_0x12cb3b,_0x4b4091,_0x1ed246){const _0x499608=_0x5c504e;let _0x525386;try{_0x525386=await this[_0x499608(0x1b6)]['upload'](_0x12cb3b,_0x4b4091,_0x1ed246);}catch(_0x592e1){let _0x30c8f9=_0x592e1 instanceof Error?_0x592e1['message']:String(_0x592e1);this[_0x499608(0x1bd)]['next']({'error':{'code':_0x59538c[_0x499608(0x187)],'message':_0x30c8f9},'state':0x0});return;}if(!_0x525386||typeof _0x525386[_0x499608(0x129)]!=_0x499608(0x1af)){this[_0x499608(0x1bd)][_0x499608(0x10c)]({'error':{'code':_0x59538c['UNRECOGNIZED'],'message':_0x499608(0x158)},'state':0x0});return;}let _0x364a3a=_0x525386[_0x499608(0x129)];if(_0x364a3a['length']===0x0){this[_0x499608(0x1bd)][_0x499608(0x10c)]({'error':{'code':_0x59538c['UNRECOGNIZED'],'message':_0x499608(0x12c)},'state':0x0});return;}return this[_0x499608(0x1bd)][_0x499608(0x10c)]({'error':{'code':_0x59538c['OK'],'message':'success'},'state':0x0}),_0x364a3a;}async['_import'](_0x21c7de,_0x562090,_0x3fa780){const _0x1cf7b7=_0x5c504e;let _0xd32ab8={'fileID':_0x21c7de,'type':_0x3fa780,'outputType':_0x562090,'fileUrl':'','minSheetRowCount':this[_0x1cf7b7(0x185)](),'minSheetColumnCount':this[_0x1cf7b7(0x223)]()},_0x5383d2=await this['_requestService'][_0x1cf7b7(0x20a)](_0xd32ab8);if(!_0x5383d2){this[_0x1cf7b7(0x1bd)][_0x1cf7b7(0x10c)]({'error':{'code':_0x59538c[_0x1cf7b7(0x187)],'message':_0x1cf7b7(0x203)},'state':0x1});return;}if(_0x5383d2[_0x1cf7b7(0x1f0)]&&_0x5383d2[_0x1cf7b7(0x1f0)][_0x1cf7b7(0xf3)]!==_0x59538c['OK']){this[_0x1cf7b7(0x1bd)][_0x1cf7b7(0x10c)]({'error':_0x5383d2[_0x1cf7b7(0x1f0)],'state':0x1});return;}let _0x24cf6f=_0x5383d2[_0x1cf7b7(0xef)];if(_0x24cf6f[_0x1cf7b7(0x184)]===0x0){this[_0x1cf7b7(0x1bd)]['next']({'error':{'code':_0x59538c[_0x1cf7b7(0x187)],'message':_0x1cf7b7(0x145)},'state':0x1});return;}return this[_0x1cf7b7(0x1bd)][_0x1cf7b7(0x10c)]({'error':_0x5383d2[_0x1cf7b7(0x1f0)],'state':0x1}),_0x24cf6f;}async[_0x5c504e(0x112)](_0x3d380b){const _0x564bb5=_0x5c504e;let _0x4c01ec=await this[_0x564bb5(0x1b6)][_0x564bb5(0x18b)](_0x3d380b);if(!_0x4c01ec){this['_requestState$'][_0x564bb5(0x10c)]({'error':{'code':_0x59538c[_0x564bb5(0x187)],'message':_0x564bb5(0x132)},'state':0x4});return;}if(_0x4c01ec[_0x564bb5(0x1f0)]&&_0x4c01ec['error'][_0x564bb5(0xf3)]!==_0x59538c['OK']){this['_requestState$'][_0x564bb5(0x10c)]({'error':_0x4c01ec[_0x564bb5(0x1f0)],'state':0x4});return;}let _0x414128=_0xaa9139(_0x4c01ec[_0x564bb5(0x17b)],this[_0x564bb5(0xfe)]());if(_0x414128['length']===0x0){this[_0x564bb5(0x1bd)][_0x564bb5(0x10c)]({'error':{'code':_0x59538c['UNRECOGNIZED'],'message':'sign\x20url\x20error'},'state':0x4});return;}return this['_requestState$'][_0x564bb5(0x10c)]({'error':_0x4c01ec[_0x564bb5(0x1f0)],'state':0x4}),_0x414128;}['_getDownloadEndpointURL'](){const _0x10e626=_0x5c504e;var _0x1bd686;let _0x24020f=this[_0x10e626(0x1a3)][_0x10e626(0x15c)](T);return(_0x1bd686=_0x24020f==null?void 0x0:_0x24020f[_0x10e626(0x105)])==null?location[_0x10e626(0x1b5)]:_0x1bd686;}['_getMinSheetRowCount'](){const _0x3f711f=_0x5c504e;var _0x228eb0,_0x32c477;let _0x14455f=this[_0x3f711f(0x1a3)][_0x3f711f(0x15c)](T);return(_0x228eb0=_0x14455f==null||(_0x32c477=_0x14455f['options'])==null?void 0x0:_0x32c477[_0x3f711f(0x111)])==null?0x1:_0x228eb0;}[_0x5c504e(0x223)](){const _0x766e74=_0x5c504e;var _0x565fa9,_0x986760;let _0x34d0d0=this[_0x766e74(0x1a3)][_0x766e74(0x15c)](T);return(_0x565fa9=_0x34d0d0==null||(_0x986760=_0x34d0d0['options'])==null?void 0x0:_0x986760['minSheetColumnCount'])==null?0x1:_0x565fa9;}[_0x5c504e(0x1f5)](){const _0x4a52c5=_0x5c504e;var _0x448cd1,_0x3db9e5;let _0x442db1=this[_0x4a52c5(0x1a3)][_0x4a52c5(0x15c)](T);return(_0x448cd1=_0x442db1==null||(_0x3db9e5=_0x442db1[_0x4a52c5(0x1e4)])==null?void 0x0:_0x3db9e5[_0x4a52c5(0x17f)])==null?!0x0:_0x448cd1;}[_0x5c504e(0xe1)](){const _0x569d71=_0x5c504e;var _0x33050d,_0xc51eed;let _0xc68422=this[_0x569d71(0x1a3)]['getConfig'](T);return(_0x33050d=_0xc68422==null||(_0xc51eed=_0xc68422[_0x569d71(0x1e4)])==null?void 0x0:_0xc51eed['ignoreTableExport'])==null?!0x1:_0x33050d;}};Y=D([E(0x0,_0x36c765),E(0x1,_0x35058d(_0x12cdb1)),E(0x2,_0x35058d(W))],Y);const it={'done':0x0,'count':0x0},X=_0x1fb009('univer-pro.exchange-client.operate.service');let Z=class extends _0x550844{constructor(_0x36c118,_0x3270d6,_0x3ab24a,_0x308090,_0xf64221,_0x48469f,_0x31a273){const _0x105ce5=_0x5c504e;super(),this[_0x105ce5(0x211)]=_0x36c118,this['_messageService']=_0x3270d6,this[_0x105ce5(0x15e)]=_0x3ab24a,this[_0x105ce5(0x12e)]=_0x308090,this[_0x105ce5(0x191)]=_0xf64221,this[_0x105ce5(0x216)]=_0x48469f,this['_resourceLoaderService']=_0x31a273,A(this,_0x105ce5(0x21e),new _0x57e22a(it)),A(this,'progress$',this[_0x105ce5(0x21e)][_0x105ce5(0xed)]()),A(this,_0x105ce5(0x164),0x0),A(this,_0x105ce5(0x12d),0x0),this[_0x105ce5(0x134)](_0x3b4c3f(this[_0x105ce5(0x12e)][_0x105ce5(0x13a)][_0x105ce5(0xd6)](_0x2165dd=>{const _0x29b879=_0x105ce5;var _0x17e1fa;((_0x17e1fa=_0x2165dd[_0x29b879(0x1f0)])==null?void 0x0:_0x17e1fa[_0x29b879(0xf3)])===_0x59538c['OK']?this[_0x29b879(0x181)](0x1):this[_0x29b879(0x1a2)](_0x2165dd[_0x29b879(0x1f0)]);})));}['interrupt'](){const _0x302753=_0x5c504e;this[_0x302753(0x1ce)](),this[_0x302753(0x191)][_0x302753(0x1db)](0x2),this[_0x302753(0x12e)][_0x302753(0x150)]();}async[_0x5c504e(0x1ae)](_0xacff24){throw Error('Method\x20not\x20implemented.');}async[_0x5c504e(0x136)](){const _0x229176=_0x5c504e;let _0x569572=this[_0x229176(0x211)]['getFocusedUnit']();switch(_0x569572?this['_univerInstanceService'][_0x229176(0xfc)](_0x569572[_0x229176(0x113)]()):_0x24b8a6[_0x229176(0x187)]){case _0x24b8a6[_0x229176(0x21f)]:return this[_0x229176(0x1ca)]();case _0x24b8a6[_0x229176(0x202)]:return this[_0x229176(0x19a)]();case _0x24b8a6[_0x229176(0x1ad)]:default:return this[_0x229176(0x143)]();}}async[_0x5c504e(0x19a)](){const _0x1bc80c=_0x5c504e;let _0x52cb96=await V([_0x24b8a6[_0x1bc80c(0x202)]]);if(_0x52cb96&&!this[_0x1bc80c(0x1d8)](_0x52cb96,_0x24b8a6[_0x1bc80c(0x202)]))return this[_0x1bc80c(0x1c9)](_0x52cb96[0x0],_0x24b8a6[_0x1bc80c(0x202)]);}[_0x5c504e(0x228)](){const _0x3224b1=_0x5c504e;throw Error(_0x3224b1(0x17d));}async[_0x5c504e(0x1df)](_0x24bf07,_0x1bd022,_0x30c6b5){const _0x5015be=_0x5c504e;this['_showDownloadMessage'](_0x47b0d2[_0x5015be(0x165)]);let _0x1d1f95=await this[_0x5015be(0x12e)]['exportDOCXByUnitId'](_0x24bf07||this[_0x5015be(0x10d)]());_0x1d1f95&&(this['_exchangeService']['downloadFile'](_0x1d1f95,_0x1bd022||this[_0x5015be(0xf2)](_0x1d1f95),_0x5015be(0x205)),this[_0x5015be(0x195)](_0x47b0d2['Success']));}async[_0x5c504e(0x217)](){const _0x1e4ff9=_0x5c504e;this[_0x1e4ff9(0x195)](_0x47b0d2['Info']);let _0x31f50d=await this[_0x1e4ff9(0x19c)](),_0x4d099d=await this['_exchangeService'][_0x1e4ff9(0x217)](_0x31f50d);_0x4d099d&&(this[_0x1e4ff9(0x12e)][_0x1e4ff9(0x18f)](_0x4d099d,this[_0x1e4ff9(0xf2)](_0x4d099d),_0x1e4ff9(0x205)),this[_0x1e4ff9(0x195)](_0x47b0d2[_0x1e4ff9(0x173)]));}async[_0x5c504e(0x1ca)](){const _0x2eb735=_0x5c504e;if(this[_0x2eb735(0x199)]()){this['_messageService'][_0x2eb735(0x1c2)]({'type':_0x47b0d2[_0x2eb735(0x14b)],'content':this[_0x2eb735(0x15e)]['t'](_0x2eb735(0x1a4))});return;}let _0x35384d=await V([_0x24b8a6[_0x2eb735(0x21f)]]);if(_0x35384d&&!this[_0x2eb735(0x1d8)](_0x35384d,_0x24b8a6[_0x2eb735(0x21f)]))return this[_0x2eb735(0x1c9)](_0x35384d[0x0],_0x24b8a6[_0x2eb735(0x21f)]);}async[_0x5c504e(0x1ff)](){const _0x4f5053=_0x5c504e;if(this[_0x4f5053(0x199)]()){this[_0x4f5053(0x1ea)][_0x4f5053(0x1c2)]({'type':_0x47b0d2[_0x4f5053(0x14b)],'content':this['_localeService']['t']('exchange-client.uploading')});return;}let _0x15b485=await V([_0x24b8a6[_0x4f5053(0x21f)]]);if(!_0x15b485)return;this[_0x4f5053(0x1d3)](_0x47b0d2[_0x4f5053(0x165)]);let _0x13f752=await this[_0x4f5053(0x12e)][_0x4f5053(0x1ff)](_0x15b485[0x0]);_0x13f752&&(this[_0x4f5053(0x106)](_0x13f752),this[_0x4f5053(0x1d3)](_0x47b0d2[_0x4f5053(0x173)]));}async[_0x5c504e(0x21b)](_0x533bda,_0xbcc803,_0x122933){const _0x175a04=_0x5c504e;this[_0x175a04(0x195)](_0x47b0d2['Info']);let _0xcdf8a8=await this[_0x175a04(0x12e)][_0x175a04(0x21b)](_0x533bda||this[_0x175a04(0x11a)]());_0xcdf8a8&&(this[_0x175a04(0x12e)][_0x175a04(0x18f)](_0xcdf8a8,_0xbcc803||this[_0x175a04(0x207)](_0xcdf8a8,_0x122933==null?_0x24b8a6[_0x175a04(0x21f)]:_0x122933),'pptx'),this[_0x175a04(0x195)](_0x47b0d2['Success']));}async[_0x5c504e(0x1f4)](){const _0xcb129a=_0x5c504e;this[_0xcb129a(0x195)](_0x47b0d2['Info']);let _0x4c55d8=await this['_getUnitSlideJson'](),_0x171d8e=await this[_0xcb129a(0x12e)][_0xcb129a(0x1f4)](_0x4c55d8);_0x171d8e&&(this[_0xcb129a(0x12e)][_0xcb129a(0x18f)](_0x171d8e,this[_0xcb129a(0x207)](_0x171d8e,_0x24b8a6[_0xcb129a(0x21f)]),_0xcb129a(0x1c7)),this['_showDownloadMessage'](_0x47b0d2[_0xcb129a(0x173)]));}async[_0x5c504e(0x143)](){const _0x29ea57=_0x5c504e;if(this['_uploadTaskNotDone']()){this[_0x29ea57(0x1ea)][_0x29ea57(0x1c2)]({'type':_0x47b0d2[_0x29ea57(0x14b)],'content':this['_localeService']['t'](_0x29ea57(0x1a4))});return;}let _0x4c2753=await V([_0x24b8a6[_0x29ea57(0x1ad)]]);if(_0x4c2753&&!this['_fileTypeError'](_0x4c2753,_0x24b8a6[_0x29ea57(0x1ad)]))return this[_0x29ea57(0x1c9)](_0x4c2753[0x0],_0x24b8a6['UNIVER_SHEET']);}async[_0x5c504e(0x147)](){const _0x430ae3=_0x5c504e;if(this[_0x430ae3(0x199)]()){this[_0x430ae3(0x1ea)][_0x430ae3(0x1c2)]({'type':_0x47b0d2['Warning'],'content':this[_0x430ae3(0x15e)]['t']('exchange-client.uploading')});return;}let _0x46546c=await V([_0x24b8a6[_0x430ae3(0x1ad)]]);if(!_0x46546c)return;this['_showUploadMessage'](_0x47b0d2[_0x430ae3(0x165)]);let _0x2696f6=await this['_exchangeService'][_0x430ae3(0x147)](_0x46546c[0x0]);_0x2696f6&&(this['_refresh'](_0x2696f6),this['_showUploadMessage'](_0x47b0d2[_0x430ae3(0x173)]));}async['exportXLSXByUnitId'](_0x45bc4f,_0x29d941,_0xc3be52){const _0xf6e87f=_0x5c504e;this[_0xf6e87f(0x195)](_0x47b0d2['Info']);let _0x50f7b0=await this[_0xf6e87f(0x12e)][_0xf6e87f(0x167)](_0x45bc4f||this[_0xf6e87f(0x126)]());_0x50f7b0&&(this[_0xf6e87f(0x12e)][_0xf6e87f(0x18f)](_0x50f7b0,_0x29d941||this[_0xf6e87f(0xf2)](_0x50f7b0),_0xf6e87f(0x1e3)),this[_0xf6e87f(0x195)](_0x47b0d2[_0xf6e87f(0x173)]));}async[_0x5c504e(0x10a)](){const _0x276819=_0x5c504e;this[_0x276819(0x195)](_0x47b0d2['Info']);let _0x4c38cc=await this[_0x276819(0x14a)](),_0x2fde8b=await this[_0x276819(0x12e)][_0x276819(0x10a)](_0x4c38cc);_0x2fde8b&&(this['_exchangeService'][_0x276819(0x18f)](_0x2fde8b,this['_getUnitName'](_0x2fde8b),_0x276819(0x1e3)),this[_0x276819(0x195)](_0x47b0d2[_0x276819(0x173)]));}['registerLink'](_0x335588){const _0x8abf1b=_0x5c504e;this[_0x8abf1b(0x19b)]=_0x335588;}async[_0x5c504e(0x1c9)](_0x3d50b8,_0x2919cb){const _0x460bab=_0x5c504e;this[_0x460bab(0x191)][_0x460bab(0x1c2)](),this[_0x460bab(0x191)]['updateState'](0x0),this['_addTotalCount'](0x4),this[_0x460bab(0x181)](0x1);let _0x1434b5=await this[_0x460bab(0x12e)][_0x460bab(0x11e)](_0x3d50b8,_0x2919cb);if(!_0x1434b5){this[_0x460bab(0x1ce)](),this[_0x460bab(0x191)]['updateState'](0x2);return;}let _0x6fe722={'link':this[_0x460bab(0x19b)](_0x1434b5,_0x2919cb),'name':_0x3d50b8[_0x460bab(0x196)],'type':_0x2919cb};return this['_uploadNotificationService'][_0x460bab(0x1ec)](_0x6fe722),this[_0x460bab(0x221)](),this[_0x460bab(0x191)][_0x460bab(0x1db)](0x1),_0x1434b5;}[_0x5c504e(0x126)](){const _0x3fc090=_0x5c504e;return this[_0x3fc090(0x211)]['getCurrentUnitOfType'](_0x24b8a6[_0x3fc090(0x1ad)])['getUnitId']();}['_getUnitIDDoc'](){const _0xd2db24=_0x5c504e;return this[_0xd2db24(0x211)][_0xd2db24(0x109)](_0x24b8a6['UNIVER_DOC'])[_0xd2db24(0x113)]();}[_0x5c504e(0x11a)](){const _0x1236c3=_0x5c504e;return this[_0x1236c3(0x211)][_0x1236c3(0x109)](_0x24b8a6[_0x1236c3(0x21f)])[_0x1236c3(0x113)]();}[_0x5c504e(0xf2)](_0xff50bb){const _0x19f9f5=_0x5c504e;return this[_0x19f9f5(0x207)](_0xff50bb,_0x24b8a6[_0x19f9f5(0x1ad)]);}[_0x5c504e(0x207)](_0x504385,_0x205ba5){const _0x23f0b1=_0x5c504e;var _0x109aeb;let _0x4caf08=(_0x109aeb=this[_0x23f0b1(0x211)][_0x23f0b1(0x109)](_0x205ba5))==null?void 0x0:_0x109aeb[_0x23f0b1(0x1ac)](),_0x45e455=_0x4caf08==null?void 0x0:_0x4caf08[_0x23f0b1(0x196)];return typeof _0x45e455==_0x23f0b1(0x1af)&&_0x45e455[_0x23f0b1(0x159)]()?_0x45e455:_0x504385[_0x23f0b1(0x196)][_0x23f0b1(0x176)]('.')['shift']()||document['title'];}async[_0x5c504e(0x14a)](){const _0x5bcd8e=_0x5c504e;let _0x547f21=this[_0x5bcd8e(0x211)][_0x5bcd8e(0x109)](_0x24b8a6[_0x5bcd8e(0x1ad)]),_0x5c343d=this[_0x5bcd8e(0xf7)][_0x5bcd8e(0x226)](_0x547f21['getUnitId']());return _0x5c343d==null?_0x547f21[_0x5bcd8e(0x1ac)]():_0x5c343d;}async[_0x5c504e(0x19c)](){const _0x1be11b=_0x5c504e;let _0xfb8cd6=this['_univerInstanceService'][_0x1be11b(0x109)](_0x24b8a6[_0x1be11b(0x202)]),_0x29c3f5=this[_0x1be11b(0xf7)]['saveUnit'](_0xfb8cd6[_0x1be11b(0x113)]());return _0x29c3f5==null?_0xfb8cd6[_0x1be11b(0x1ac)]():_0x29c3f5;}async[_0x5c504e(0x139)](){const _0xf666fa=_0x5c504e;let _0x48371c=this[_0xf666fa(0x211)][_0xf666fa(0x109)](_0x24b8a6[_0xf666fa(0x21f)]),_0x5e2f46=this[_0xf666fa(0xf7)][_0xf666fa(0x226)](_0x48371c[_0xf666fa(0x113)]());return _0x5e2f46==null?_0x48371c[_0xf666fa(0x1ac)]():_0x5e2f46;}['_getLinkByUnitId'](_0x5d40c2,_0x53b435){const _0x498411=_0x5c504e;let _0x1a8460=new URL(window['location']['href']);return _0x1a8460['searchParams'][_0x498411(0x17a)]('unit',_0x5d40c2),_0x1a8460[_0x498411(0x157)]['set'](_0x498411(0xec),''+_0x53b435),_0x1a8460['toString']();}['_refresh'](_0x36f881){const _0x4be64d=_0x5c504e;let _0x2e79f8=this[_0x4be64d(0x211)][_0x4be64d(0x109)](_0x24b8a6[_0x4be64d(0x1ad)])[_0x4be64d(0x113)]();this[_0x4be64d(0x211)][_0x4be64d(0x1ed)](_0x2e79f8),this[_0x4be64d(0x211)][_0x4be64d(0x135)](_0x24b8a6['UNIVER_SHEET'],_0x36f881);}[_0x5c504e(0x106)](_0x4db6d3){const _0x1f7d94=_0x5c504e;let _0x26c347=this['_univerInstanceService'][_0x1f7d94(0x109)](_0x24b8a6['UNIVER_SLIDE'])[_0x1f7d94(0x113)]();this[_0x1f7d94(0x211)][_0x1f7d94(0x1ed)](_0x26c347),this[_0x1f7d94(0x211)]['createUnit'](_0x24b8a6['UNIVER_SLIDE'],_0x4db6d3);}[_0x5c504e(0x1a2)](_0x4f497b){const _0x4112d4=_0x5c504e;if(_0x4f497b){let {code:_0x24bd8b}=_0x4f497b;switch(_0x24bd8b){case _0x59538c[_0x4112d4(0x142)]:this[_0x4112d4(0x1ea)][_0x4112d4(0x1c2)]({'type':_0x47b0d2[_0x4112d4(0x11d)],'content':this[_0x4112d4(0x15e)]['t'](_0x4112d4(0x1d5))});break;case _0x59538c[_0x4112d4(0x179)]:this[_0x4112d4(0x1ea)]['show']({'type':_0x47b0d2[_0x4112d4(0x11d)],'content':this['_localeService']['t'](_0x4112d4(0x170))});break;default:this['_messageService'][_0x4112d4(0x1c2)]({'type':_0x47b0d2[_0x4112d4(0x11d)],'content':this[_0x4112d4(0x15e)]['t']('exchange-client.networkError')});break;}return null;}return this['_messageService']['show']({'type':_0x47b0d2['Error'],'content':this['_localeService']['t'](_0x4112d4(0x1b4))}),null;}[_0x5c504e(0x195)](_0x24731b){const _0x279f8e=_0x5c504e;let _0x19147c='';switch(_0x24731b){case _0x47b0d2[_0x279f8e(0x173)]:_0x19147c=this['_localeService']['t'](_0x279f8e(0x16b));break;case _0x47b0d2[_0x279f8e(0x165)]:_0x19147c=this['_localeService']['t'](_0x279f8e(0x148));break;default:break;}this['_messageService'][_0x279f8e(0x1c2)]({'type':_0x24731b,'content':_0x19147c});}['_showUploadMessage'](_0x96de94){const _0x28a04e=_0x5c504e;let _0x4de14c='';switch(_0x96de94){case _0x47b0d2['Success']:_0x4de14c=this[_0x28a04e(0x15e)]['t'](_0x28a04e(0x12f));break;case _0x47b0d2['Info']:_0x4de14c=this['_localeService']['t']('exchange-client.uploading');break;default:break;}this['_messageService']['show']({'type':_0x96de94,'content':_0x4de14c});}['_emitProgress'](){const _0x4fae15=_0x5c504e;this[_0x4fae15(0x21e)]['next']({'done':this[_0x4fae15(0x12d)],'count':this[_0x4fae15(0x164)]});}[_0x5c504e(0x18e)](_0x1af923){const _0x12bffb=_0x5c504e;this[_0x12bffb(0x164)]+=_0x1af923,this[_0x12bffb(0x1fe)]();}[_0x5c504e(0x181)](_0x2284f3){const _0x5dac33=_0x5c504e;this[_0x5dac33(0x12d)]+=_0x2284f3,this[_0x5dac33(0x12d)]=Math[_0x5dac33(0xfa)](this['_doneUploadTaskCount'],this[_0x5dac33(0x164)]),this[_0x5dac33(0x1fe)]();}[_0x5c504e(0x221)](){const _0x5dbb21=_0x5c504e;this['_doneUploadTaskCount']=this[_0x5dbb21(0x164)],this[_0x5dbb21(0x1fe)]();}[_0x5c504e(0x1ce)](){const _0x5f4c2f=_0x5c504e;this[_0x5f4c2f(0x12d)]=0x0,this[_0x5f4c2f(0x164)]=0x0,this[_0x5f4c2f(0x1fe)]();}[_0x5c504e(0x1d8)](_0x23d5aa,_0x5e7c4b){const _0x477dd1=_0x5c504e;let _0x22f236=_0x23d5aa[0x0],_0x164456=_0x22f236[_0x477dd1(0x196)];return He(_0x22f236)===_0x5e7c4b?!0x1:(this[_0x477dd1(0x1ea)][_0x477dd1(0x1c2)]({'type':_0x47b0d2[_0x477dd1(0x11d)],'content':this['_localeService']['t']('exchange-client.fileTypeError',_0x164456)}),!0x0);}['_uploadTaskNotDone'](){const _0x336581=_0x5c504e;return this[_0x336581(0x164)]!==0x0&&this[_0x336581(0x12d)]!==this[_0x336581(0x164)];}};Z=D([E(0x0,_0x35058d(_0x3eeec7)),E(0x1,_0x1544db),E(0x2,_0x35058d(_0x5a0b64)),E(0x3,_0x35058d(J)),E(0x4,_0x35058d(j)),E(0x5,_0x540080),E(0x6,_0x35058d(_0x18fe2c))],Z);function at(_0x1b8f88){const _0x2e226d=_0x5c504e;let {onClick:_0x886c30,children:_0x584084,className:_0xde1b0a}=_0x1b8f88;return _0x3a61b7(_0x2e226d(0x10f),{'className':_0x40cc83(_0x2e226d(0xd8),_0xde1b0a),'type':_0x2e226d(0x10f),'onClick':_0x886c30,'children':_0x584084});}function ot(){const _0xf58c3d=_0x5c504e;let _0x15787e=_0x4e7708(X),_0xa5dccd=_0x4e7708(_0x5a0b64);function _0x161619(){_0x15787e['importFileToUnitIdByCurrentType']();}return _0x3a61b7(at,{'onClick':_0x161619,'children':_0xa5dccd['t'](_0xf58c3d(0x127))});}function st(){const _0x5ae0a8=_0x5c504e;return _0x39922c(_0x5ae0a8(0x1ee),{'className':_0x5ae0a8(0x1f6),'children':[_0x3a61b7('span',{'className':'univer-mb-3\x20univer-py-0\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0x4e7708(_0x5a0b64)['t'](_0x5ae0a8(0xd4))}),_0x3a61b7(ot,{})]});}function ct(_0x4b4818){const _0x425de6=_0x5c504e;let {count:_0xaeff34}=_0x4b4818;return _0x39922c(_0x425de6(0x1ee),{'className':_0x425de6(0x153),'children':[_0x3a61b7(_0x425de6(0x225),{'className':_0x425de6(0x116),'children':_0x4e7708(_0x5a0b64)['t'](_0x425de6(0x1fd),''+_0xaeff34)}),_0x3a61b7(ot,{})]});}function lt(){const _0x35798b=_0x5c504e;let _0x2f14c7=_0x4e7708(X),_0x1f9061=_0x4e7708(_0x5a0b64);function _0x35c24d(){const _0x42a889=_0x2440;_0x2f14c7[_0x42a889(0x189)]();}return _0x3a61b7(at,{'onClick':_0x35c24d,'children':_0x1f9061['t'](_0x35798b(0x1b3))});}function ut(){const _0x3cb269=_0x5c504e;let {count:_0x2e2d17,done:_0x55b91b}=_0xd11166(_0x4e7708(X)['progress$']),_0x519645=_0x2e2d17>0x0?_0x55b91b/_0x2e2d17:0x0;return _0x3a61b7('div',{'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':_0x3a61b7(_0x3cb269(0x1ee),{'className':'univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','style':{'width':Math[_0x3cb269(0x20d)](_0x519645*0x64)+'%'}})});}function dt(){const _0x195acf=_0x5c504e;return _0x39922c(_0x195acf(0x1ee),{'className':_0x195acf(0x1f6),'children':[_0x3a61b7(_0x195acf(0x225),{'className':'univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0x4e7708(_0x5a0b64)['t'](_0x195acf(0x1ab))}),_0x3a61b7('div',{'className':_0x195acf(0x166),'children':_0x3a61b7(ut,{})}),_0x3a61b7(lt,{})]});}const ft={0x1:_0x3a61b7(_0x467180,{'className':_0x5c504e(0x140)}),0x0:_0x3a61b7(_0x4d8d84,{'className':_0x5c504e(0xe0)}),0x2:_0x3a61b7(_0x398e7c,{'className':_0x5c504e(0xf4)})};function pt(){const _0x3771aa=_0x5c504e;let _0x578dfb=_0x4e7708(j),_0x455a77=_0x4e7708(_0x5a0b64),_0x563428=_0xd11166(_0x578dfb[_0x3771aa(0x20b)],0x0),_0x27536b=_0xd11166(_0x578dfb[_0x3771aa(0xd5)],!0x1),_0x36043a=_0xd11166(_0x578dfb[_0x3771aa(0x206)],[]);function _0x54aa25(){const _0x4d4728=_0x3771aa;_0x578dfb[_0x4d4728(0x1f8)]();}function _0x4ee5a0(_0x3da982){const _0x275944=_0x3771aa;switch(_0x3da982){case 0x1:return _0x455a77['t'](_0x275944(0x12f));case 0x0:return _0x455a77['t']('exchange-client.uploading');case 0x2:return _0x455a77['t']('exchange-client.unknownMistake');default:return'';}}return _0x27536b&&_0x39922c(_0x3771aa(0x1ee),{'className':_0x3771aa(0x198),'children':[_0x39922c(_0x3771aa(0x1ee),{'className':_0x3771aa(0xdd),'children':[_0x39922c(_0x3771aa(0x225),{'className':_0x3771aa(0x130),'children':[_0x3a61b7(_0x3771aa(0x225),{'className':_0x3771aa(0x1a7),'children':ft[_0x563428]}),_0x3a61b7(_0x3771aa(0x225),{'className':_0x3771aa(0x161),'children':_0x4ee5a0(_0x563428)})]}),_0x3a61b7(_0x3771aa(0x225),{'className':_0x3771aa(0x1d7),'onClick':_0x54aa25,'children':_0x3a61b7(_0x5dbead,{})})]}),_0x39922c(_0x3771aa(0x1ee),{'children':[_0x563428===0x0&&_0x3a61b7(dt,{}),_0x563428===0x2&&_0x3a61b7(st,{}),_0x36043a[_0x3771aa(0x184)]>0x0&&_0x3a61b7(Be,{'list':_0x36043a}),_0x563428===0x1&&_0x3a61b7(ct,{'count':_0x36043a[_0x3771aa(0x184)]})]})]});}function mt(){return _0x3a61b7(pt,{});}let Q=class extends _0x550844{constructor(_0x53b74c,_0x23ed2b){const _0x5edd4c=_0x5c504e;super(),this[_0x5edd4c(0x212)]=_0x53b74c,this[_0x5edd4c(0x1e2)]=_0x23ed2b,this[_0x5edd4c(0x1a5)]();}[_0x5c504e(0x1a5)](){const _0x106c7a=_0x5c504e;this[_0x106c7a(0x134)](this['_uiPartsService'][_0x106c7a(0x128)](_0x4f3b08[_0x106c7a(0x1bf)],()=>_0x32b9d6(mt,this[_0x106c7a(0x212)])));}};Q=D([E(0x0,_0x35058d(_0xfe1cbc)),E(0x1,_0x2537d8)],Q);let $=class extends _0x2c045d{constructor(_0x8f8b28=Ie,_0x5e5b67,_0x7edbfa){const _0x2481da=_0x5c504e;super(),this['_config']=_0x8f8b28,this[_0x2481da(0x212)]=_0x5e5b67,this[_0x2481da(0x1a3)]=_0x7edbfa;let {..._0x4f8e74}=_0x42532d({},Ie,this[_0x2481da(0xe8)]);this[_0x2481da(0x1a3)]['setConfig'](T,_0x4f8e74);}[_0x5c504e(0x17e)](){const _0xbc5c32=_0x5c504e;_0x15c917(this[_0xbc5c32(0x212)],[[O],[Q],[X,{'useClass':Z}],[J,{'useClass':Y}],[W,{'useClass':G}],[j,{'useClass':ze}]]);}[_0x5c504e(0xeb)](){const _0x49b8d2=_0x5c504e;_0x5c237b(this[_0x49b8d2(0x212)],[[O],[Q],[X]]);}};A($,_0x5c504e(0x168),_0x5c504e(0x172)),A($,'packageName',Pe),A($,'version',Fe),$=D([_0x28e539(_0x14b948,_0x1101b8),E(0x1,_0x35058d(_0xfe1cbc)),E(0x2,_0x36c765)],$);export{X as IExchangeOperateService,J as IExchangeService,$ as UniverExchangeClientPlugin,Ve as downloadFile,tt as transformSnapshotJsonToWorkbookData,Qe as transformWorkbookDataToSnapshotJson};