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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) 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/types/services/utils/content-type.d.ts +2 -9
  65. package/lib/umd/facade.js +1 -1
  66. package/lib/umd/index.js +1 -1
  67. package/lib/umd/locale/ar-SA.js +1 -1
  68. package/lib/umd/locale/ca-ES.js +1 -1
  69. package/lib/umd/locale/de-DE.js +1 -1
  70. package/lib/umd/locale/en-US.js +1 -1
  71. package/lib/umd/locale/es-ES.js +1 -1
  72. package/lib/umd/locale/fa-IR.js +1 -1
  73. package/lib/umd/locale/fr-FR.js +1 -1
  74. package/lib/umd/locale/id-ID.js +1 -1
  75. package/lib/umd/locale/it-IT.js +1 -1
  76. package/lib/umd/locale/ja-JP.js +1 -1
  77. package/lib/umd/locale/ko-KR.js +1 -1
  78. package/lib/umd/locale/pl-PL.js +1 -1
  79. package/lib/umd/locale/pt-BR.js +1 -1
  80. package/lib/umd/locale/ru-RU.js +1 -1
  81. package/lib/umd/locale/sk-SK.js +1 -1
  82. package/lib/umd/locale/vi-VN.js +1 -1
  83. package/lib/umd/locale/zh-CN.js +1 -1
  84. package/lib/umd/locale/zh-HK.js +1 -1
  85. package/lib/umd/locale/zh-TW.js +1 -1
  86. package/package.json +10 -10
@@ -1 +1 @@
1
- const _0x3b59e1=_0x167a;function _0x167a(_0x5f0e62,_0x424d87){_0x5f0e62=_0x5f0e62-0x7b;const _0x4a48e6=_0x4a48();let _0x167a00=_0x4a48e6[_0x5f0e62];return _0x167a00;}(function(_0x27bbbb,_0x10174a){const _0x2f11f8=_0x167a,_0x254330=_0x27bbbb();while(!![]){try{const _0x5725cb=parseInt(_0x2f11f8(0x7d))/0x1*(parseInt(_0x2f11f8(0x7e))/0x2)+parseInt(_0x2f11f8(0x85))/0x3+-parseInt(_0x2f11f8(0x88))/0x4+-parseInt(_0x2f11f8(0x80))/0x5*(-parseInt(_0x2f11f8(0x8b))/0x6)+-parseInt(_0x2f11f8(0x86))/0x7+parseInt(_0x2f11f8(0x7c))/0x8+parseInt(_0x2f11f8(0x87))/0x9;if(_0x5725cb===_0x10174a)break;else _0x254330['push'](_0x254330['shift']());}catch(_0x22a399){_0x254330['push'](_0x254330['shift']());}}}(_0x4a48,0x3e8bb));function _0x4a48(){const _0xa1bb78=['不明なエラー','ネットワーク接続が中断され、ファイルのアップロードに失敗しました','exports','データが大きすぎます','1019271RXdXyc','1777013VxABfA','449847CJtFBM','745512mqhFOA','お待ちください...','再度アップロード','234IbYbHH','ダウンロードが完了しました','ファイルが正常にアップロードされました','内部エラーが発生しました','497400euENxA','5spzDCW','2784vCwcls','キャンセル','30455JuOYWf'];_0x4a48=function(){return _0xa1bb78;};return _0x4a48();}const e={'exchange-client':{'uploading':'アップロード中','uploadSuccess':_0x3b59e1(0x8d),'uploadSuccessTip':'{0}\x20個のファイルが正常にアップロードされました','downloading':'ダウンロード中','downloadSuccess':_0x3b59e1(0x8c),'unknownMistake':_0x3b59e1(0x81),'networkError':'ネットワークエラー','tooLarge':_0x3b59e1(0x84),'internalError':_0x3b59e1(0x7b),'interrupt':_0x3b59e1(0x82),'fileTypeError':'選択されたファイル\x20[{0}]\x20はアップロードがサポートされていません','wait':_0x3b59e1(0x89),'cancel':_0x3b59e1(0x7f),'uploadAgain':_0x3b59e1(0x8a)}};module[_0x3b59e1(0x83)]=e;
1
+ const _0x26d1bb=_0xe3d2;(function(_0x4de007,_0x4c61de){const _0x3d6c87=_0xe3d2,_0x3a88ad=_0x4de007();while(!![]){try{const _0x5917de=-parseInt(_0x3d6c87(0x15e))/0x1*(parseInt(_0x3d6c87(0x155))/0x2)+parseInt(_0x3d6c87(0x154))/0x3*(-parseInt(_0x3d6c87(0x14a))/0x4)+parseInt(_0x3d6c87(0x15d))/0x5+parseInt(_0x3d6c87(0x151))/0x6*(parseInt(_0x3d6c87(0x156))/0x7)+parseInt(_0x3d6c87(0x14b))/0x8+-parseInt(_0x3d6c87(0x14d))/0x9+parseInt(_0x3d6c87(0x15c))/0xa;if(_0x5917de===_0x4c61de)break;else _0x3a88ad['push'](_0x3a88ad['shift']());}catch(_0x132a11){_0x3a88ad['push'](_0x3a88ad['shift']());}}}(_0x258c,0xdf1d4));function _0xe3d2(_0x1ddd7f,_0x4091f7){_0x1ddd7f=_0x1ddd7f-0x14a;const _0x258c9e=_0x258c();let _0xe3d2c7=_0x258c9e[_0x1ddd7f];return _0xe3d2c7;}function _0x258c(){const _0x41fc27=['5397eZIRtw','ネットワーク接続が中断され、ファイルのアップロードに失敗しました','{0}\x20個のファイルが正常にアップロードされました','お待ちください...','ダウンロードが完了しました','再度アップロード','28161630BMXfat','96345oaylkk','1mVAXXi','50376hThWRB','360936rctcxR','ファイルが正常にアップロードされました','2123775gNZIkD','不明なエラー','exports','データが大きすぎます','3042hYJvNG','アップロード中','ネットワークエラー','84ltNoXg','3537926zbHnuh'];_0x258c=function(){return _0x41fc27;};return _0x258c();}const e={'exchange-client':{'uploading':_0x26d1bb(0x152),'uploadSuccess':_0x26d1bb(0x14c),'uploadSuccessTip':_0x26d1bb(0x158),'downloading':'ダウンロード中','downloadSuccess':_0x26d1bb(0x15a),'unknownMistake':_0x26d1bb(0x14e),'networkError':_0x26d1bb(0x153),'tooLarge':_0x26d1bb(0x150),'internalError':'内部エラーが発生しました','interrupt':_0x26d1bb(0x157),'fileTypeError':'選択されたファイル\x20[{0}]\x20はアップロードがサポートされていません','wait':_0x26d1bb(0x159),'cancel':'キャンセル','uploadAgain':_0x26d1bb(0x15b)}};module[_0x26d1bb(0x14f)]=e;
@@ -1 +1 @@
1
- const _0x5880ca=_0x5ca1;function _0x5ca1(_0x13434c,_0x231910){_0x13434c=_0x13434c-0x131;const _0x29b780=_0x29b7();let _0x5ca1f5=_0x29b780[_0x13434c];return _0x5ca1f5;}function _0x29b7(){const _0x25d47c=['1951672rHdSNF','870392PjWWfK','네트워크\x20오류','36RiOJnc','7681130ZAkoVL','잠시만\x20기다려\x20주세요...','데이터가\x20너무\x20큽니다','2492080ftHHLK','exports','6bIXVlp','다시\x20업로드','2312796XMMdgM','30477370FiQaZH','내부\x20오류가\x20발생했습니다','업로드\x20중','6FlNsBt','9363599odYLJM','선택한\x20파일\x20[{0}]은(는)\x20업로드가\x20지원되지\x20않습니다','파일이\x20성공적으로\x20업로드되었습니다','{0}개의\x20파일이\x20성공적으로\x20업로드되었습니다','네트워크\x20연결이\x20중단되어\x20파일\x20업로드에\x20실패했습니다'];_0x29b7=function(){return _0x25d47c;};return _0x29b7();}(function(_0x218f53,_0x2ee64e){const _0x46bc90=_0x5ca1,_0x377582=_0x218f53();while(!![]){try{const _0x1c9ee6=-parseInt(_0x46bc90(0x139))/0x1+parseInt(_0x46bc90(0x143))/0x2+parseInt(_0x46bc90(0x132))/0x3*(-parseInt(_0x46bc90(0x13f))/0x4)+-parseInt(_0x46bc90(0x13c))/0x5+parseInt(_0x46bc90(0x141))/0x6*(parseInt(_0x46bc90(0x133))/0x7)+parseInt(_0x46bc90(0x138))/0x8*(-parseInt(_0x46bc90(0x13b))/0x9)+parseInt(_0x46bc90(0x144))/0xa;if(_0x1c9ee6===_0x2ee64e)break;else _0x377582['push'](_0x377582['shift']());}catch(_0x2d6f60){_0x377582['push'](_0x377582['shift']());}}}(_0x29b7,0xdef92));const e={'exchange-client':{'uploading':_0x5880ca(0x131),'uploadSuccess':_0x5880ca(0x135),'uploadSuccessTip':_0x5880ca(0x136),'downloading':'다운로드\x20중','downloadSuccess':'다운로드가\x20완료되었습니다','unknownMistake':'알\x20수\x20없는\x20오류','networkError':_0x5880ca(0x13a),'tooLarge':_0x5880ca(0x13e),'internalError':_0x5880ca(0x145),'interrupt':_0x5880ca(0x137),'fileTypeError':_0x5880ca(0x134),'wait':_0x5880ca(0x13d),'cancel':'취소','uploadAgain':_0x5880ca(0x142)}};module[_0x5880ca(0x140)]=e;
1
+ const _0x25b927=_0x6355;(function(_0x54826a,_0xd1ad9){const _0x41f87=_0x6355,_0x3412ed=_0x54826a();while(!![]){try{const _0x1a54e2=parseInt(_0x41f87(0x187))/0x1+-parseInt(_0x41f87(0x18a))/0x2+-parseInt(_0x41f87(0x189))/0x3*(-parseInt(_0x41f87(0x18c))/0x4)+-parseInt(_0x41f87(0x17e))/0x5*(-parseInt(_0x41f87(0x188))/0x6)+-parseInt(_0x41f87(0x18e))/0x7*(parseInt(_0x41f87(0x184))/0x8)+parseInt(_0x41f87(0x17c))/0x9*(parseInt(_0x41f87(0x17d))/0xa)+parseInt(_0x41f87(0x18f))/0xb*(-parseInt(_0x41f87(0x183))/0xc);if(_0x1a54e2===_0xd1ad9)break;else _0x3412ed['push'](_0x3412ed['shift']());}catch(_0x3d7f93){_0x3412ed['push'](_0x3412ed['shift']());}}}(_0x367b,0xe18b5));function _0x6355(_0x17dbae,_0x5cb3b6){_0x17dbae=_0x17dbae-0x179;const _0x367be6=_0x367b();let _0x635578=_0x367be6[_0x17dbae];return _0x635578;}function _0x367b(){const _0x590eaa=['알\x20수\x20없는\x20오류','다운로드\x20중','87246voKDmG','1230RepzVi','1063255xBMwCN','네트워크\x20오류','파일이\x20성공적으로\x20업로드되었습니다','네트워크\x20연결이\x20중단되어\x20파일\x20업로드에\x20실패했습니다','다운로드가\x20완료되었습니다','1935768bxXftl','8WFHUZQ','업로드\x20중','다시\x20업로드','1618971SxSegU','12prNirp','6SeLBer','2556302VSPkSa','내부\x20오류가\x20발생했습니다','1351164rEdWnv','선택한\x20파일\x20[{0}]은(는)\x20업로드가\x20지원되지\x20않습니다','10842461uIYKbu','11tRQQgr','잠시만\x20기다려\x20주세요...'];_0x367b=function(){return _0x590eaa;};return _0x367b();}const e={'exchange-client':{'uploading':_0x25b927(0x185),'uploadSuccess':_0x25b927(0x180),'uploadSuccessTip':'{0}개의\x20파일이\x20성공적으로\x20업로드되었습니다','downloading':_0x25b927(0x17b),'downloadSuccess':_0x25b927(0x182),'unknownMistake':_0x25b927(0x17a),'networkError':_0x25b927(0x17f),'tooLarge':'데이터가\x20너무\x20큽니다','internalError':_0x25b927(0x18b),'interrupt':_0x25b927(0x181),'fileTypeError':_0x25b927(0x18d),'wait':_0x25b927(0x179),'cancel':'취소','uploadAgain':_0x25b927(0x186)}};module['exports']=e;
@@ -1 +1 @@
1
- function _0x5117(_0x23a957,_0x1c23d5){_0x23a957=_0x23a957-0xfb;const _0xc611e5=_0xc611();let _0x5117ea=_0xc611e5[_0x23a957];return _0x5117ea;}function _0xc611(){const _0x3a79aa=['4ePWTZU','Wewnętrzny\x20nieznany\x20błąd','1805185JVlMkw','Nieznany\x20błąd','Proszę\x20czekać...','Plik\x20przesłany\x20pomyślnie','Przesyłanie','Wybrany\x20plik\x20[{0}]\x20nie\x20jest\x20obsługiwany\x20do\x20przesyłania','6272847xSvjjV','555142mhlUoK','Anuluj','Dane\x20są\x20zbyt\x20duże','Pobieranie\x20zakończone\x20sukcesem','Prześlij\x20ponownie','1197102HMKFdU','24582AvhbVH','Pobieranie','7194738JigWMF','8jbumob','Błąd\x20sieci','2649810nczQsB','Połączenie\x20sieciowe\x20zostało\x20przerwane\x20i\x20przesyłanie\x20pliku\x20nie\x20powiodło\x20się','64rxBpVU'];_0xc611=function(){return _0x3a79aa;};return _0xc611();}const _0x1cd80d=_0x5117;(function(_0x4c4f8a,_0x448cc6){const _0x28884c=_0x5117,_0x51f3e8=_0x4c4f8a();while(!![]){try{const _0x2be535=-parseInt(_0x28884c(0xfd))/0x1*(parseInt(_0x28884c(0x104))/0x2)+parseInt(_0x28884c(0xfc))/0x3*(parseInt(_0x28884c(0x105))/0x4)+parseInt(_0x28884c(0x107))/0x5+parseInt(_0x28884c(0xff))/0x6+parseInt(_0x28884c(0x10e))/0x7+parseInt(_0x28884c(0x100))/0x8*(-parseInt(_0x28884c(0x10d))/0x9)+parseInt(_0x28884c(0x102))/0xa;if(_0x2be535===_0x448cc6)break;else _0x51f3e8['push'](_0x51f3e8['shift']());}catch(_0x3397a9){_0x51f3e8['push'](_0x51f3e8['shift']());}}}(_0xc611,0xc82a2));const e={'exchange-client':{'uploading':_0x1cd80d(0x10b),'uploadSuccess':_0x1cd80d(0x10a),'uploadSuccessTip':'Pomyślnie\x20przesłano\x20{0}\x20plik(ów)','downloading':_0x1cd80d(0xfe),'downloadSuccess':_0x1cd80d(0x111),'unknownMistake':_0x1cd80d(0x108),'networkError':_0x1cd80d(0x101),'tooLarge':_0x1cd80d(0x110),'internalError':_0x1cd80d(0x106),'interrupt':_0x1cd80d(0x103),'fileTypeError':_0x1cd80d(0x10c),'wait':_0x1cd80d(0x109),'cancel':_0x1cd80d(0x10f),'uploadAgain':_0x1cd80d(0xfb)}};module['exports']=e;
1
+ function _0x33ed(_0x2fbceb,_0x29a3c5){_0x2fbceb=_0x2fbceb-0x1f0;const _0x255c16=_0x255c();let _0x33ed3d=_0x255c16[_0x2fbceb];return _0x33ed3d;}const _0x1c5b30=_0x33ed;(function(_0x4a43e8,_0x4e4f06){const _0x2869f9=_0x33ed,_0x3f65ea=_0x4a43e8();while(!![]){try{const _0x4ff78c=-parseInt(_0x2869f9(0x205))/0x1+parseInt(_0x2869f9(0x1f8))/0x2+parseInt(_0x2869f9(0x200))/0x3*(parseInt(_0x2869f9(0x1fc))/0x4)+-parseInt(_0x2869f9(0x1f6))/0x5+-parseInt(_0x2869f9(0x1f3))/0x6*(parseInt(_0x2869f9(0x1f5))/0x7)+-parseInt(_0x2869f9(0x1f0))/0x8+parseInt(_0x2869f9(0x1f7))/0x9*(parseInt(_0x2869f9(0x1fe))/0xa);if(_0x4ff78c===_0x4e4f06)break;else _0x3f65ea['push'](_0x3f65ea['shift']());}catch(_0x44ff57){_0x3f65ea['push'](_0x3f65ea['shift']());}}}(_0x255c,0xc1644));function _0x255c(){const _0x7389f9=['Wybrany\x20plik\x20[{0}]\x20nie\x20jest\x20obsługiwany\x20do\x20przesyłania','Anuluj','Wewnętrzny\x20nieznany\x20błąd','368TEHJIZ','Przesyłanie','35804730lrDLvg','Pobieranie','513sYQVxU','Proszę\x20czekać...','Pomyślnie\x20przesłano\x20{0}\x20plik(ów)','Dane\x20są\x20zbyt\x20duże','Nieznany\x20błąd','874903OoovZK','7451656saVPAX','Prześlij\x20ponownie','Połączenie\x20sieciowe\x20zostało\x20przerwane\x20i\x20przesyłanie\x20pliku\x20nie\x20powiodło\x20się','6VYsHaz','Pobieranie\x20zakończone\x20sukcesem','2447403DURmfV','7303930RGqgST','9lmiwcY','1625404buCEYn'];_0x255c=function(){return _0x7389f9;};return _0x255c();}const e={'exchange-client':{'uploading':_0x1c5b30(0x1fd),'uploadSuccess':'Plik\x20przesłany\x20pomyślnie','uploadSuccessTip':_0x1c5b30(0x202),'downloading':_0x1c5b30(0x1ff),'downloadSuccess':_0x1c5b30(0x1f4),'unknownMistake':_0x1c5b30(0x204),'networkError':'Błąd\x20sieci','tooLarge':_0x1c5b30(0x203),'internalError':_0x1c5b30(0x1fb),'interrupt':_0x1c5b30(0x1f2),'fileTypeError':_0x1c5b30(0x1f9),'wait':_0x1c5b30(0x201),'cancel':_0x1c5b30(0x1fa),'uploadAgain':_0x1c5b30(0x1f1)}};module['exports']=e;
@@ -1 +1 @@
1
- const _0x586129=_0x5e3d;(function(_0x298bf4,_0x5260dd){const _0x408159=_0x5e3d,_0x10a7e1=_0x298bf4();while(!![]){try{const _0x15f047=parseInt(_0x408159(0x96))/0x1+parseInt(_0x408159(0x97))/0x2*(parseInt(_0x408159(0xa4))/0x3)+parseInt(_0x408159(0x95))/0x4+parseInt(_0x408159(0x91))/0x5*(-parseInt(_0x408159(0x8f))/0x6)+-parseInt(_0x408159(0x93))/0x7*(parseInt(_0x408159(0xa0))/0x8)+-parseInt(_0x408159(0x98))/0x9+parseInt(_0x408159(0x9a))/0xa;if(_0x15f047===_0x5260dd)break;else _0x10a7e1['push'](_0x10a7e1['shift']());}catch(_0x43c3aa){_0x10a7e1['push'](_0x10a7e1['shift']());}}}(_0x1948,0xc0aac));const e={'exchange-client':{'uploading':_0x586129(0xa2),'uploadSuccess':_0x586129(0x90),'uploadSuccessTip':_0x586129(0xa3),'downloading':_0x586129(0x8e),'downloadSuccess':_0x586129(0x99),'unknownMistake':_0x586129(0x9b),'networkError':_0x586129(0x9d),'tooLarge':'Os\x20dados\x20são\x20muito\x20grandes','internalError':_0x586129(0x9c),'interrupt':_0x586129(0x9f),'fileTypeError':_0x586129(0x94),'wait':'Aguarde...','cancel':_0x586129(0x92),'uploadAgain':_0x586129(0x9e)}};module[_0x586129(0xa1)]=e;function _0x5e3d(_0x198836,_0x5c4139){_0x198836=_0x198836-0x8e;const _0x1948f6=_0x1948();let _0x5e3d2e=_0x1948f6[_0x198836];return _0x5e3d2e;}function _0x1948(){const _0x2d08f5=['Arquivo\x20enviado\x20com\x20sucesso','7499605NySxMH','Cancelar','7sGnXlM','O\x20arquivo\x20selecionado\x20[{0}]\x20não\x20é\x20suportado\x20para\x20envio','1451324jmKSYf','46258UtNntw','1986904xomgfz','6737031tKjKnv','Download\x20concluído\x20com\x20sucesso','17593850qGqbws','Erro\x20desconhecido','Erro\x20interno\x20desconhecido','Erro\x20de\x20rede','Enviar\x20novamente','A\x20conexão\x20de\x20rede\x20foi\x20interrompida\x20e\x20o\x20envio\x20do\x20arquivo\x20falhou','994256QJchJE','exports','Enviando','{0}\x20arquivo(s)\x20enviado(s)\x20com\x20sucesso','3QtbVpb','Baixando','6yXNETm'];_0x1948=function(){return _0x2d08f5;};return _0x1948();}
1
+ const _0x1e3b4b=_0x459e;function _0x459e(_0x19b98c,_0x35d9be){_0x19b98c=_0x19b98c-0x13d;const _0x287a1b=_0x287a();let _0x459eef=_0x287a1b[_0x19b98c];return _0x459eef;}(function(_0x4f697e,_0x700061){const _0x421a31=_0x459e,_0x362bd4=_0x4f697e();while(!![]){try{const _0x2fd367=-parseInt(_0x421a31(0x14c))/0x1*(-parseInt(_0x421a31(0x152))/0x2)+parseInt(_0x421a31(0x147))/0x3+-parseInt(_0x421a31(0x151))/0x4+parseInt(_0x421a31(0x14b))/0x5*(-parseInt(_0x421a31(0x145))/0x6)+-parseInt(_0x421a31(0x148))/0x7*(parseInt(_0x421a31(0x146))/0x8)+-parseInt(_0x421a31(0x149))/0x9+parseInt(_0x421a31(0x13e))/0xa;if(_0x2fd367===_0x700061)break;else _0x362bd4['push'](_0x362bd4['shift']());}catch(_0x8100a6){_0x362bd4['push'](_0x362bd4['shift']());}}}(_0x287a,0x487f8));const e={'exchange-client':{'uploading':'Enviando','uploadSuccess':_0x1e3b4b(0x141),'uploadSuccessTip':_0x1e3b4b(0x13f),'downloading':_0x1e3b4b(0x142),'downloadSuccess':_0x1e3b4b(0x140),'unknownMistake':'Erro\x20desconhecido','networkError':_0x1e3b4b(0x14f),'tooLarge':_0x1e3b4b(0x153),'internalError':_0x1e3b4b(0x14e),'interrupt':_0x1e3b4b(0x150),'fileTypeError':_0x1e3b4b(0x14a),'wait':_0x1e3b4b(0x13d),'cancel':_0x1e3b4b(0x143),'uploadAgain':_0x1e3b4b(0x144)}};function _0x287a(){const _0x17be5a=['Enviar\x20novamente','6MkInpz','1059784wuLsEq','786744ZjxiwH','21MtozdM','5191983tSeFXd','O\x20arquivo\x20selecionado\x20[{0}]\x20não\x20é\x20suportado\x20para\x20envio','1482195fCldkw','142KQzoga','exports','Erro\x20interno\x20desconhecido','Erro\x20de\x20rede','A\x20conexão\x20de\x20rede\x20foi\x20interrompida\x20e\x20o\x20envio\x20do\x20arquivo\x20falhou','576456FYMgqi','3754natHNu','Os\x20dados\x20são\x20muito\x20grandes','Aguarde...','11830290xKJjoF','{0}\x20arquivo(s)\x20enviado(s)\x20com\x20sucesso','Download\x20concluído\x20com\x20sucesso','Arquivo\x20enviado\x20com\x20sucesso','Baixando','Cancelar'];_0x287a=function(){return _0x17be5a;};return _0x287a();}module[_0x1e3b4b(0x14d)]=e;
@@ -1 +1 @@
1
- function _0x3b88(_0x213188,_0x124968){_0x213188=_0x213188-0x100;const _0xd54bc=_0xd54b();let _0x3b889d=_0xd54bc[_0x213188];return _0x3b889d;}function _0xd54b(){const _0x231633=['Неизвестная\x20ошибка','exports','Пожалуйста,\x20подождите...','2239174emPvZm','Загрузить\x20снова','12iVksHh','7NOBEPa','Отмена','Выбранный\x20файл\x20[{0}]\x20не\x20поддерживается\x20для\x20загрузки','Загрузка','6133896rUlfrt','Внутренняя\x20неизвестная\x20ошибка','{0}\x20файл(ов)\x20успешно\x20загружен(о)','5112909JXPSxU','Скачивание\x20успешно','Сетевое\x20соединение\x20было\x20прервано,\x20и\x20загрузка\x20файла\x20не\x20удалась','10101768bpcZKb','544805xVcFrd','10QZvYZP','Скачивание','Данные\x20слишком\x20большие','Файл\x20успешно\x20загружен','1621521uRoaNg','1519812mTKRjZ'];_0xd54b=function(){return _0x231633;};return _0xd54b();}const _0x26474c=_0x3b88;(function(_0x572f3b,_0x2f33f3){const _0x1029d5=_0x3b88,_0x4784c8=_0x572f3b();while(!![]){try{const _0x5d1a41=-parseInt(_0x1029d5(0x111))/0x1+-parseInt(_0x1029d5(0x116))/0x2+parseInt(_0x1029d5(0x108))/0x3+-parseInt(_0x1029d5(0x100))/0x4*(parseInt(_0x1029d5(0x10c))/0x5)+parseInt(_0x1029d5(0x10b))/0x6+-parseInt(_0x1029d5(0x101))/0x7*(-parseInt(_0x1029d5(0x105))/0x8)+-parseInt(_0x1029d5(0x112))/0x9*(parseInt(_0x1029d5(0x10d))/0xa);if(_0x5d1a41===_0x2f33f3)break;else _0x4784c8['push'](_0x4784c8['shift']());}catch(_0x5b202f){_0x4784c8['push'](_0x4784c8['shift']());}}}(_0xd54b,0xe0131));const e={'exchange-client':{'uploading':_0x26474c(0x104),'uploadSuccess':_0x26474c(0x110),'uploadSuccessTip':_0x26474c(0x107),'downloading':_0x26474c(0x10e),'downloadSuccess':_0x26474c(0x109),'unknownMistake':_0x26474c(0x113),'networkError':'Сетевая\x20ошибка','tooLarge':_0x26474c(0x10f),'internalError':_0x26474c(0x106),'interrupt':_0x26474c(0x10a),'fileTypeError':_0x26474c(0x103),'wait':_0x26474c(0x115),'cancel':_0x26474c(0x102),'uploadAgain':_0x26474c(0x117)}};module[_0x26474c(0x114)]=e;
1
+ const _0x3e0e8c=_0xa9a6;function _0xa9a6(_0x1e4445,_0x33d7e4){_0x1e4445=_0x1e4445-0x121;const _0xfa89ee=_0xfa89();let _0xa9a6b8=_0xfa89ee[_0x1e4445];return _0xa9a6b8;}function _0xfa89(){const _0x4bf2f8=['Скачивание','3886312fgjZXv','Файл\x20успешно\x20загружен','Загрузить\x20снова','4QyweWS','9RKSDbF','Сетевая\x20ошибка','Внутренняя\x20неизвестная\x20ошибка','Данные\x20слишком\x20большие','507880aJrqlg','4574297ThOGld','548913XhEFek','exports','1058855nmaIqb','3042072CnaHMw','Скачивание\x20успешно','Пожалуйста,\x20подождите...','Отмена','Неизвестная\x20ошибка','7122672VJMhHr'];_0xfa89=function(){return _0x4bf2f8;};return _0xfa89();}(function(_0x56fc1d,_0x18d443){const _0x43fe92=_0xa9a6,_0x47e2cc=_0x56fc1d();while(!![]){try{const _0xa4cd81=-parseInt(_0x43fe92(0x128))/0x1+parseInt(_0x43fe92(0x126))/0x2+-parseInt(_0x43fe92(0x12b))/0x3+parseInt(_0x43fe92(0x121))/0x4*(-parseInt(_0x43fe92(0x12a))/0x5)+parseInt(_0x43fe92(0x130))/0x6+parseInt(_0x43fe92(0x127))/0x7+parseInt(_0x43fe92(0x132))/0x8*(parseInt(_0x43fe92(0x122))/0x9);if(_0xa4cd81===_0x18d443)break;else _0x47e2cc['push'](_0x47e2cc['shift']());}catch(_0x48e4eb){_0x47e2cc['push'](_0x47e2cc['shift']());}}}(_0xfa89,0xc4ae4));const e={'exchange-client':{'uploading':'Загрузка','uploadSuccess':_0x3e0e8c(0x133),'uploadSuccessTip':'{0}\x20файл(ов)\x20успешно\x20загружен(о)','downloading':_0x3e0e8c(0x131),'downloadSuccess':_0x3e0e8c(0x12c),'unknownMistake':_0x3e0e8c(0x12f),'networkError':_0x3e0e8c(0x123),'tooLarge':_0x3e0e8c(0x125),'internalError':_0x3e0e8c(0x124),'interrupt':'Сетевое\x20соединение\x20было\x20прервано,\x20и\x20загрузка\x20файла\x20не\x20удалась','fileTypeError':'Выбранный\x20файл\x20[{0}]\x20не\x20поддерживается\x20для\x20загрузки','wait':_0x3e0e8c(0x12d),'cancel':_0x3e0e8c(0x12e),'uploadAgain':_0x3e0e8c(0x134)}};module[_0x3e0e8c(0x129)]=e;
@@ -1 +1 @@
1
- const _0x459c54=_0x5884;(function(_0x2d14f8,_0x533e36){const _0xc2bdaa=_0x5884,_0x4d1ffa=_0x2d14f8();while(!![]){try{const _0x158e85=parseInt(_0xc2bdaa(0x1c5))/0x1*(-parseInt(_0xc2bdaa(0x1ca))/0x2)+-parseInt(_0xc2bdaa(0x1cc))/0x3*(-parseInt(_0xc2bdaa(0x1b6))/0x4)+-parseInt(_0xc2bdaa(0x1bb))/0x5*(-parseInt(_0xc2bdaa(0x1c9))/0x6)+parseInt(_0xc2bdaa(0x1b9))/0x7+-parseInt(_0xc2bdaa(0x1c7))/0x8*(parseInt(_0xc2bdaa(0x1ba))/0x9)+-parseInt(_0xc2bdaa(0x1be))/0xa+-parseInt(_0xc2bdaa(0x1b7))/0xb*(-parseInt(_0xc2bdaa(0x1c8))/0xc);if(_0x158e85===_0x533e36)break;else _0x4d1ffa['push'](_0x4d1ffa['shift']());}catch(_0x234d5f){_0x4d1ffa['push'](_0x4d1ffa['shift']());}}}(_0x27db,0x46d15));function _0x5884(_0x6c0ebc,_0x59b155){_0x6c0ebc=_0x6c0ebc-0x1b6;const _0x27dbc3=_0x27db();let _0x588442=_0x27dbc3[_0x6c0ebc];return _0x588442;}const e={'exchange-client':{'uploading':_0x459c54(0x1c1),'uploadSuccess':_0x459c54(0x1bc),'uploadSuccessTip':_0x459c54(0x1c3),'downloading':_0x459c54(0x1bf),'downloadSuccess':_0x459c54(0x1c2),'unknownMistake':_0x459c54(0x1c0),'networkError':_0x459c54(0x1c6),'tooLarge':_0x459c54(0x1ce),'internalError':'Interná\x20neznáma\x20chyba','interrupt':_0x459c54(0x1cb),'fileTypeError':'Vybraný\x20súbor\x20[{0}]\x20nie\x20je\x20podporovaný\x20na\x20nahrávanie','wait':_0x459c54(0x1c4),'cancel':_0x459c54(0x1b8),'uploadAgain':_0x459c54(0x1cd)}};module[_0x459c54(0x1bd)]=e;function _0x27db(){const _0x282302=['Nahrávanie','Sťahovanie\x20úspešné','Úspešne\x20nahraných\x20{0}\x20súborov','Prosím\x20počkajte...','3VTDIel','Sieťová\x20chyba','310048vcShuU','7860KaDOLy','174774ZLeFas','377124nuNBCb','Sieťové\x20pripojenie\x20bolo\x20prerušené\x20a\x20nahrávanie\x20súboru\x20zlyhalo','15uOqoGL','Nahrať\x20znova','Dáta\x20sú\x20príliš\x20veľké','457388DkwnTy','10901HPQPjm','Zrušiť','117376gNrEks','9VGZIep','5gipYim','Súbor\x20bol\x20úspešne\x20nahraný','exports','3722260JjyozR','Sťahovanie','Neznáma\x20chyba'];_0x27db=function(){return _0x282302;};return _0x27db();}
1
+ const _0x126c93=_0x2d67;(function(_0xa5fc87,_0x590b4b){const _0x9246f2=_0x2d67,_0x4088f5=_0xa5fc87();while(!![]){try{const _0x15b12d=-parseInt(_0x9246f2(0x13f))/0x1+-parseInt(_0x9246f2(0x131))/0x2+parseInt(_0x9246f2(0x135))/0x3*(-parseInt(_0x9246f2(0x133))/0x4)+-parseInt(_0x9246f2(0x12f))/0x5+-parseInt(_0x9246f2(0x13c))/0x6*(-parseInt(_0x9246f2(0x13b))/0x7)+-parseInt(_0x9246f2(0x139))/0x8+parseInt(_0x9246f2(0x13e))/0x9;if(_0x15b12d===_0x590b4b)break;else _0x4088f5['push'](_0x4088f5['shift']());}catch(_0x168029){_0x4088f5['push'](_0x4088f5['shift']());}}}(_0x23c4,0x65063));function _0x23c4(){const _0x5257a1=['Zrušiť','Neznáma\x20chyba','836740VYxzRw','Dáta\x20sú\x20príliš\x20veľké','997658nfaFxT','Nahrávanie','908TiplhA','Sieťové\x20pripojenie\x20bolo\x20prerušené\x20a\x20nahrávanie\x20súboru\x20zlyhalo','5013hirvkQ','Vybraný\x20súbor\x20[{0}]\x20nie\x20je\x20podporovaný\x20na\x20nahrávanie','Interná\x20neznáma\x20chyba','Nahrať\x20znova','4144608vcnbNl','Sťahovanie','133DWTFcm','5178Hymusi','Súbor\x20bol\x20úspešne\x20nahraný','23390064BCwcMb','637928npYveB'];_0x23c4=function(){return _0x5257a1;};return _0x23c4();}const e={'exchange-client':{'uploading':_0x126c93(0x132),'uploadSuccess':_0x126c93(0x13d),'uploadSuccessTip':'Úspešne\x20nahraných\x20{0}\x20súborov','downloading':_0x126c93(0x13a),'downloadSuccess':'Sťahovanie\x20úspešné','unknownMistake':_0x126c93(0x12e),'networkError':'Sieťová\x20chyba','tooLarge':_0x126c93(0x130),'internalError':_0x126c93(0x137),'interrupt':_0x126c93(0x134),'fileTypeError':_0x126c93(0x136),'wait':'Prosím\x20počkajte...','cancel':_0x126c93(0x140),'uploadAgain':_0x126c93(0x138)}};function _0x2d67(_0x46aa8d,_0x167e8e){_0x46aa8d=_0x46aa8d-0x12e;const _0x23c407=_0x23c4();let _0x2d6790=_0x23c407[_0x46aa8d];return _0x2d6790;}module['exports']=e;
@@ -1 +1 @@
1
- const _0x5c2fc2=_0x4696;(function(_0x44880a,_0x4ac373){const _0x2eafad=_0x4696,_0xd36ccb=_0x44880a();while(!![]){try{const _0x52e1f1=-parseInt(_0x2eafad(0x10e))/0x1*(parseInt(_0x2eafad(0x104))/0x2)+parseInt(_0x2eafad(0x10c))/0x3+-parseInt(_0x2eafad(0x105))/0x4*(parseInt(_0x2eafad(0x112))/0x5)+parseInt(_0x2eafad(0x103))/0x6+-parseInt(_0x2eafad(0x111))/0x7+parseInt(_0x2eafad(0x106))/0x8*(-parseInt(_0x2eafad(0x109))/0x9)+parseInt(_0x2eafad(0x107))/0xa;if(_0x52e1f1===_0x4ac373)break;else _0xd36ccb['push'](_0xd36ccb['shift']());}catch(_0x1fa207){_0xd36ccb['push'](_0xd36ccb['shift']());}}}(_0x28d0,0x1d131));const e={'exchange-client':{'uploading':_0x5c2fc2(0x114),'uploadSuccess':'Tải\x20lên\x20tệp\x20thành\x20công','uploadSuccessTip':_0x5c2fc2(0x101),'downloading':'Đang\x20tải\x20xuống','downloadSuccess':_0x5c2fc2(0x10f),'unknownMistake':_0x5c2fc2(0x10d),'networkError':_0x5c2fc2(0x100),'tooLarge':_0x5c2fc2(0x113),'internalError':_0x5c2fc2(0x110),'interrupt':'Kết\x20nối\x20mạng\x20bị\x20gián\x20đoạn,\x20tải\x20lên\x20tệp\x20thất\x20bại','fileTypeError':_0x5c2fc2(0x10a),'wait':'Vui\x20lòng\x20đợi...','cancel':_0x5c2fc2(0x102),'uploadAgain':_0x5c2fc2(0x10b)}};module[_0x5c2fc2(0x108)]=e;function _0x4696(_0xf8bfe7,_0x9249){_0xf8bfe7=_0xf8bfe7-0x100;const _0x28d080=_0x28d0();let _0x46969d=_0x28d080[_0xf8bfe7];return _0x46969d;}function _0x28d0(){const _0x1b2f07=['Đang\x20tải\x20lên','Lỗi\x20mạng','{0}\x20tệp\x20đã\x20được\x20tải\x20lên\x20thành\x20công','Hủy\x20bỏ','825114ZQltQE','407982zQmxDp','188sGcnIT','208drFdrf','3495330BfCWHb','exports','35289TbhpcA','Tệp\x20được\x20chọn\x20[{0}]\x20không\x20được\x20hỗ\x20trợ\x20để\x20tải\x20lên','Tải\x20lên\x20lại','618900IPgvNi','Lỗi\x20không\x20xác\x20định','1lFqLRq','Tải\x20xuống\x20thành\x20công','Lỗi\x20không\x20xác\x20định\x20bên\x20trong','780409PhJkps','16685CJACTx','Luồng\x20dữ\x20liệu\x20quá\x20lớn'];_0x28d0=function(){return _0x1b2f07;};return _0x28d0();}
1
+ function _0x262a(){const _0x528edb=['6ckuMAH','Lỗi\x20không\x20xác\x20định','Đang\x20tải\x20lên','3282797fxqFRC','Hủy\x20bỏ','exports','1070394mSzadL','2205KPAEEn','Vui\x20lòng\x20đợi...','54714rJflUa','4oToFEs','2056165HGSTem','2036080pSNALn','Tải\x20lên\x20tệp\x20thành\x20công','8864aYSUxa','Tệp\x20được\x20chọn\x20[{0}]\x20không\x20được\x20hỗ\x20trợ\x20để\x20tải\x20lên','Lỗi\x20mạng','Tải\x20xuống\x20thành\x20công','{0}\x20tệp\x20đã\x20được\x20tải\x20lên\x20thành\x20công','20341530cvdnAr','Đang\x20tải\x20xuống'];_0x262a=function(){return _0x528edb;};return _0x262a();}const _0x5b5d5e=_0x4c4d;function _0x4c4d(_0x396fb6,_0x19b11c){_0x396fb6=_0x396fb6-0xaa;const _0x262a5b=_0x262a();let _0x4c4d8e=_0x262a5b[_0x396fb6];return _0x4c4d8e;}(function(_0x4f9701,_0x39801a){const _0x3a00ed=_0x4c4d,_0x3b11a5=_0x4f9701();while(!![]){try{const _0x3d64b7=parseInt(_0x3a00ed(0xbe))/0x1+parseInt(_0x3a00ed(0xac))/0x2+-parseInt(_0x3a00ed(0xbb))/0x3*(-parseInt(_0x3a00ed(0xaa))/0x4)+-parseInt(_0x3a00ed(0xab))/0x5*(-parseInt(_0x3a00ed(0xb5))/0x6)+parseInt(_0x3a00ed(0xb8))/0x7+parseInt(_0x3a00ed(0xae))/0x8*(parseInt(_0x3a00ed(0xbc))/0x9)+-parseInt(_0x3a00ed(0xb3))/0xa;if(_0x3d64b7===_0x39801a)break;else _0x3b11a5['push'](_0x3b11a5['shift']());}catch(_0x393710){_0x3b11a5['push'](_0x3b11a5['shift']());}}}(_0x262a,0x858f7));const e={'exchange-client':{'uploading':_0x5b5d5e(0xb7),'uploadSuccess':_0x5b5d5e(0xad),'uploadSuccessTip':_0x5b5d5e(0xb2),'downloading':_0x5b5d5e(0xb4),'downloadSuccess':_0x5b5d5e(0xb1),'unknownMistake':_0x5b5d5e(0xb6),'networkError':_0x5b5d5e(0xb0),'tooLarge':'Luồng\x20dữ\x20liệu\x20quá\x20lớn','internalError':'Lỗi\x20không\x20xác\x20định\x20bên\x20trong','interrupt':'Kết\x20nối\x20mạng\x20bị\x20gián\x20đoạn,\x20tải\x20lên\x20tệp\x20thất\x20bại','fileTypeError':_0x5b5d5e(0xaf),'wait':_0x5b5d5e(0xbd),'cancel':_0x5b5d5e(0xb9),'uploadAgain':'Tải\x20lên\x20lại'}};module[_0x5b5d5e(0xba)]=e;
@@ -1 +1 @@
1
- function _0x2ce4(_0x2cf354,_0x36796e){_0x2cf354=_0x2cf354-0x8b;const _0x536088=_0x5360();let _0x2ce453=_0x536088[_0x2cf354];return _0x2ce453;}const _0x36dfed=_0x2ce4;function _0x5360(){const _0x12099a=['2547906JoCYCe','所选文件\x20[{0}]\x20不支持上传','2844795wADVFG','数据流过大','网络异常','{0}个文件上传成功','文件上传成功','26845zegNAn','13330eQRXZz','内部未知错误','请稍等...','上传中','exports','下载成功','956736ZXmjmX','4UbIvGf','下载中','588865ghTXhR','再次上传','未知错误','网络连接中断,文件上传失败','2IkRqpm','1672LbDQTw','1196649kXyuPl','9251MKKZUT'];_0x5360=function(){return _0x12099a;};return _0x5360();}(function(_0x52aa29,_0x3747e0){const _0xb4f405=_0x2ce4,_0x1d56ed=_0x52aa29();while(!![]){try{const _0x12e571=parseInt(_0xb4f405(0x9f))/0x1*(-parseInt(_0xb4f405(0xa3))/0x2)+-parseInt(_0xb4f405(0x8e))/0x3*(-parseInt(_0xb4f405(0x9d))/0x4)+parseInt(_0xb4f405(0x90))/0x5+-parseInt(_0xb4f405(0x9c))/0x6+parseInt(_0xb4f405(0x95))/0x7*(parseInt(_0xb4f405(0x8b))/0x8)+parseInt(_0xb4f405(0x8c))/0x9+parseInt(_0xb4f405(0x96))/0xa*(-parseInt(_0xb4f405(0x8d))/0xb);if(_0x12e571===_0x3747e0)break;else _0x1d56ed['push'](_0x1d56ed['shift']());}catch(_0x33971f){_0x1d56ed['push'](_0x1d56ed['shift']());}}}(_0x5360,0x76023));const e={'exchange-client':{'uploading':_0x36dfed(0x99),'uploadSuccess':_0x36dfed(0x94),'uploadSuccessTip':_0x36dfed(0x93),'downloading':_0x36dfed(0x9e),'downloadSuccess':_0x36dfed(0x9b),'unknownMistake':_0x36dfed(0xa1),'networkError':_0x36dfed(0x92),'tooLarge':_0x36dfed(0x91),'internalError':_0x36dfed(0x97),'interrupt':_0x36dfed(0xa2),'fileTypeError':_0x36dfed(0x8f),'wait':_0x36dfed(0x98),'cancel':'取消','uploadAgain':_0x36dfed(0xa0)}};module[_0x36dfed(0x9a)]=e;
1
+ const _0x352f0a=_0x29f2;(function(_0x250abf,_0x11dd35){const _0x5e5242=_0x29f2,_0x2169e0=_0x250abf();while(!![]){try{const _0x381192=-parseInt(_0x5e5242(0xb8))/0x1*(parseInt(_0x5e5242(0xb9))/0x2)+-parseInt(_0x5e5242(0xbe))/0x3+-parseInt(_0x5e5242(0xc1))/0x4+-parseInt(_0x5e5242(0xbc))/0x5+-parseInt(_0x5e5242(0xc3))/0x6*(-parseInt(_0x5e5242(0xc8))/0x7)+-parseInt(_0x5e5242(0xc4))/0x8+parseInt(_0x5e5242(0xbf))/0x9;if(_0x381192===_0x11dd35)break;else _0x2169e0['push'](_0x2169e0['shift']());}catch(_0x12e43c){_0x2169e0['push'](_0x2169e0['shift']());}}}(_0x3335,0x3ee94));const e={'exchange-client':{'uploading':_0x352f0a(0xb6),'uploadSuccess':_0x352f0a(0xc7),'uploadSuccessTip':_0x352f0a(0xc9),'downloading':_0x352f0a(0xba),'downloadSuccess':_0x352f0a(0xc2),'unknownMistake':'未知错误','networkError':_0x352f0a(0xb7),'tooLarge':_0x352f0a(0xc6),'internalError':'内部未知错误','interrupt':_0x352f0a(0xc5),'fileTypeError':_0x352f0a(0xbd),'wait':_0x352f0a(0xb5),'cancel':'取消','uploadAgain':_0x352f0a(0xbb)}};function _0x29f2(_0x5652c9,_0x14b0af){_0x5652c9=_0x5652c9-0xb5;const _0x3335b1=_0x3335();let _0x29f2d1=_0x3335b1[_0x5652c9];return _0x29f2d1;}module[_0x352f0a(0xc0)]=e;function _0x3335(){const _0x845ba4=['2RtrPPC','下载中','再次上传','2018620fWciaP','所选文件\x20[{0}]\x20不支持上传','705405Ffdgca','14680359eSvaNa','exports','1632972occytc','下载成功','6EdUeCF','4004352uStyqX','网络连接中断,文件上传失败','数据流过大','文件上传成功','3258836zyTxHY','{0}个文件上传成功','请稍等...','上传中','网络异常','291369OPeWdq'];_0x3335=function(){return _0x845ba4;};return _0x3335();}
@@ -1 +1 @@
1
- const _0x23059a=_0x4d04;function _0x2ab0(){const _0x3c3d60=['請稍等...','72JRlPrp','資料流過大','2PeXEsR','網絡連線中斷,檔案上傳失敗','內部未知錯誤','下載中','565197tRKaqK','再次上傳','1060320NBRTdK','154DUyndG','網絡異常','未知錯誤','481188lXDGmF','上傳中','{0}個檔案上傳成功','4226664QMRWjp','450848hwzhaD','4vLZEaC','下載成功','213440zTwURg','15635565xcgniB','檔案上傳成功'];_0x2ab0=function(){return _0x3c3d60;};return _0x2ab0();}(function(_0xe2c01d,_0x55ab01){const _0x33b1be=_0x4d04,_0x22e22f=_0xe2c01d();while(!![]){try{const _0x190c1a=parseInt(_0x33b1be(0xcc))/0x1*(parseInt(_0x33b1be(0xd6))/0x2)+-parseInt(_0x33b1be(0xd0))/0x3*(-parseInt(_0x33b1be(0xc4))/0x4)+parseInt(_0x33b1be(0xc6))/0x5+parseInt(_0x33b1be(0xd9))/0x6+-parseInt(_0x33b1be(0xd3))/0x7*(parseInt(_0x33b1be(0xc3))/0x8)+-parseInt(_0x33b1be(0xca))/0x9*(parseInt(_0x33b1be(0xd2))/0xa)+parseInt(_0x33b1be(0xc7))/0xb;if(_0x190c1a===_0x55ab01)break;else _0x22e22f['push'](_0x22e22f['shift']());}catch(_0x18c9b2){_0x22e22f['push'](_0x22e22f['shift']());}}}(_0x2ab0,0xb71de));function _0x4d04(_0x2bc63c,_0x58eb8d){_0x2bc63c=_0x2bc63c-0xc3;const _0x2ab0d0=_0x2ab0();let _0x4d04c5=_0x2ab0d0[_0x2bc63c];return _0x4d04c5;}const e={'exchange-client':{'uploading':_0x23059a(0xd7),'uploadSuccess':_0x23059a(0xc8),'uploadSuccessTip':_0x23059a(0xd8),'downloading':_0x23059a(0xcf),'downloadSuccess':_0x23059a(0xc5),'unknownMistake':_0x23059a(0xd5),'networkError':_0x23059a(0xd4),'tooLarge':_0x23059a(0xcb),'internalError':_0x23059a(0xce),'interrupt':_0x23059a(0xcd),'fileTypeError':'所選檔案\x20[{0}]\x20不支援上傳','wait':_0x23059a(0xc9),'cancel':'取消','uploadAgain':_0x23059a(0xd1)}};module['exports']=e;
1
+ function _0x327f(){const _0xb47138=['4575220ZIdvqt','1081742DDvftM','9CLaEMv','網絡異常','144872kGkDso','exports','未知錯誤','3ixlWXO','1292537ZGrlio','上傳中','請稍等...','檔案上傳成功','網絡連線中斷,檔案上傳失敗','270WXFVbW','2741304UQpVyk','3285144rwgPBG','30625890aPSFyM','{0}個檔案上傳成功','內部未知錯誤','所選檔案\x20[{0}]\x20不支援上傳'];_0x327f=function(){return _0xb47138;};return _0x327f();}const _0x529f57=_0x22d8;(function(_0x12fd9b,_0x48faa1){const _0x2e79fa=_0x22d8,_0x2b1f14=_0x12fd9b();while(!![]){try{const _0x4be64f=-parseInt(_0x2e79fa(0xdb))/0x1+-parseInt(_0x2e79fa(0xd4))/0x2*(parseInt(_0x2e79fa(0xda))/0x3)+-parseInt(_0x2e79fa(0xe2))/0x4+parseInt(_0x2e79fa(0xd3))/0x5+-parseInt(_0x2e79fa(0xe0))/0x6*(parseInt(_0x2e79fa(0xd7))/0x7)+parseInt(_0x2e79fa(0xe1))/0x8+parseInt(_0x2e79fa(0xd5))/0x9*(parseInt(_0x2e79fa(0xe3))/0xa);if(_0x4be64f===_0x48faa1)break;else _0x2b1f14['push'](_0x2b1f14['shift']());}catch(_0x2c749a){_0x2b1f14['push'](_0x2b1f14['shift']());}}}(_0x327f,0xb344a));const e={'exchange-client':{'uploading':_0x529f57(0xdc),'uploadSuccess':_0x529f57(0xde),'uploadSuccessTip':_0x529f57(0xd0),'downloading':'下載中','downloadSuccess':'下載成功','unknownMistake':_0x529f57(0xd9),'networkError':_0x529f57(0xd6),'tooLarge':'資料流過大','internalError':_0x529f57(0xd1),'interrupt':_0x529f57(0xdf),'fileTypeError':_0x529f57(0xd2),'wait':_0x529f57(0xdd),'cancel':'取消','uploadAgain':'再次上傳'}};function _0x22d8(_0x55f8a6,_0x5aecbb){_0x55f8a6=_0x55f8a6-0xd0;const _0x327fb8=_0x327f();let _0x22d89a=_0x327fb8[_0x55f8a6];return _0x22d89a;}module[_0x529f57(0xd8)]=e;
@@ -1 +1 @@
1
- const _0x2ce423=_0x4969;function _0x4969(_0x3147ce,_0x424707){_0x3147ce=_0x3147ce-0x1f3;const _0x5cccb6=_0x5ccc();let _0x4969b8=_0x5cccb6[_0x3147ce];return _0x4969b8;}(function(_0x2412df,_0x43e0d3){const _0x3ba378=_0x4969,_0x105525=_0x2412df();while(!![]){try{const _0x5c98d1=-parseInt(_0x3ba378(0x1fd))/0x1*(-parseInt(_0x3ba378(0x1f8))/0x2)+-parseInt(_0x3ba378(0x1f3))/0x3*(-parseInt(_0x3ba378(0x203))/0x4)+parseInt(_0x3ba378(0x202))/0x5+parseInt(_0x3ba378(0x201))/0x6*(-parseInt(_0x3ba378(0x1ff))/0x7)+parseInt(_0x3ba378(0x1f6))/0x8+-parseInt(_0x3ba378(0x200))/0x9+parseInt(_0x3ba378(0x1fc))/0xa;if(_0x5c98d1===_0x43e0d3)break;else _0x105525['push'](_0x105525['shift']());}catch(_0x1750fc){_0x105525['push'](_0x105525['shift']());}}}(_0x5ccc,0xbcf31));const e={'exchange-client':{'uploading':'上傳中','uploadSuccess':'檔案上傳成功','uploadSuccessTip':'{0}個檔案上傳成功','downloading':_0x2ce423(0x1f9),'downloadSuccess':_0x2ce423(0x1f4),'unknownMistake':'未知錯誤','networkError':_0x2ce423(0x1f5),'tooLarge':'資料流過大','internalError':'內部未知錯誤','interrupt':_0x2ce423(0x1f7),'fileTypeError':_0x2ce423(0x1fa),'wait':_0x2ce423(0x1fe),'cancel':'取消','uploadAgain':_0x2ce423(0x204)}};function _0x5ccc(){const _0x4fa721=['請稍等...','2814SRaxNw','7947873MWnXYy','15786aCYynN','2550635YvzdwI','1103860GsfCid','再次上傳','12jBLPsg','下載成功','網路異常','446968KZuyEZ','網路連線中斷,檔案上傳失敗','2DVeXzV','下載中','所選檔案\x20[{0}]\x20不支援上傳','exports','3450470FrZtVn','699791qROrtO'];_0x5ccc=function(){return _0x4fa721;};return _0x5ccc();}module[_0x2ce423(0x1fb)]=e;
1
+ const _0x1d7baf=_0x438b;function _0x438b(_0x4236ce,_0x24d85b){_0x4236ce=_0x4236ce-0x133;const _0x190b85=_0x190b();let _0x438b1b=_0x190b85[_0x4236ce];return _0x438b1b;}(function(_0x14f9a2,_0x451e3c){const _0x38361d=_0x438b,_0x2da232=_0x14f9a2();while(!![]){try{const _0x573e7a=parseInt(_0x38361d(0x143))/0x1+-parseInt(_0x38361d(0x13a))/0x2*(parseInt(_0x38361d(0x147))/0x3)+parseInt(_0x38361d(0x13f))/0x4+parseInt(_0x38361d(0x146))/0x5+parseInt(_0x38361d(0x135))/0x6+parseInt(_0x38361d(0x13e))/0x7*(parseInt(_0x38361d(0x13d))/0x8)+parseInt(_0x38361d(0x144))/0x9*(-parseInt(_0x38361d(0x149))/0xa);if(_0x573e7a===_0x451e3c)break;else _0x2da232['push'](_0x2da232['shift']());}catch(_0x24d5b0){_0x2da232['push'](_0x2da232['shift']());}}}(_0x190b,0xed4ac));function _0x190b(){const _0x2a8e06=['未知錯誤','網路連線中斷,檔案上傳失敗','6542508RpjnQF','{0}個檔案上傳成功','上傳中','網路異常','exports','6QmPJDa','再次上傳','檔案上傳成功','8RlKSCU','10700165VkqKej','4864824pBWWPE','資料流過大','所選檔案\x20[{0}]\x20不支援上傳','請稍等...','1143372cxudBV','4743uYHMdB','內部未知錯誤','1459535fsSFio','559485UjrtcZ','下載成功','70950ZdaBDp'];_0x190b=function(){return _0x2a8e06;};return _0x190b();}const e={'exchange-client':{'uploading':_0x1d7baf(0x137),'uploadSuccess':_0x1d7baf(0x13c),'uploadSuccessTip':_0x1d7baf(0x136),'downloading':'下載中','downloadSuccess':_0x1d7baf(0x148),'unknownMistake':_0x1d7baf(0x133),'networkError':_0x1d7baf(0x138),'tooLarge':_0x1d7baf(0x140),'internalError':_0x1d7baf(0x145),'interrupt':_0x1d7baf(0x134),'fileTypeError':_0x1d7baf(0x141),'wait':_0x1d7baf(0x142),'cancel':'取消','uploadAgain':_0x1d7baf(0x13b)}};module[_0x1d7baf(0x139)]=e;
package/lib/es/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x2cde3c=_0x5b4f;function _0x33ff(){const _0x2fd72a=['importXLSXToSnapshotAsync','2663788WErOSz','exportPPTXBySnapshotAsync','importXLSXToUnitIdAsync','exportDOCXBySnapshotAsync','18oCgVIZ','importPPTXToSnapshotAsync','UNIVER_SLIDE','5oFHpBb','importDOCXToSnapshotAsync','importDOCXToUnitIdAsync','UNIVER_DOC','1185952jHqaIA','exportXLSXBySnapshotAsync','importFileToUnitId','extend','_injector','importPPTXToUnitIdAsync','exportPPTXBySnapshot','exportDOCXByUnitId','2289114JltMeu','exportDOCXBySnapshot','importPPTXToSnapshot','exportXLSXByUnitId','11263777YRhYXc','exportPPTXByUnitIdAsync','get','3050418GoYWnd','The\x20exchange\x20service\x20is\x20not\x20available','140vReZLB','exportXLSXByUnitIdAsync','2nQGACa','exportPPTXByUnitId','2887379IGkMfZ','importDOCXToSnapshot','UNIVER_SHEET','477584OInAVp'];_0x33ff=function(){return _0x2fd72a;};return _0x33ff();}(function(_0xd5f715,_0x74ae16){const _0x1038d8=_0x5b4f,_0x241f3c=_0xd5f715();while(!![]){try{const _0x19625b=parseInt(_0x1038d8(0x169))/0x1+parseInt(_0x1038d8(0x164))/0x2*(-parseInt(_0x1038d8(0x159))/0x3)+parseInt(_0x1038d8(0x16b))/0x4*(-parseInt(_0x1038d8(0x172))/0x5)+-parseInt(_0x1038d8(0x160))/0x6+-parseInt(_0x1038d8(0x15d))/0x7+-parseInt(_0x1038d8(0x151))/0x8*(-parseInt(_0x1038d8(0x16f))/0x9)+parseInt(_0x1038d8(0x162))/0xa*(parseInt(_0x1038d8(0x166))/0xb);if(_0x19625b===_0x74ae16)break;else _0x241f3c['push'](_0x241f3c['shift']());}catch(_0x530b75){_0x241f3c['push'](_0x241f3c['shift']());}}}(_0x33ff,0xdc513));function _0x5b4f(_0x4dd600,_0x1a1b6f){_0x4dd600=_0x4dd600-0x14f;const _0x33ff41=_0x33ff();let _0x5b4f97=_0x33ff41[_0x4dd600];return _0x5b4f97;}import{IExchangeService as _0x2c092b}from'@univerjs-pro/exchange-client';import{UniverInstanceType as _0x24f597}from'@univerjs/core';import{FUniver as _0x37c3c5}from'@univerjs/core/facade';var r=class extends _0x37c3c5{async[_0x2cde3c(0x16d)](_0x3034dd){const _0x109ca5=_0x2cde3c;let _0x49650d=this[_0x109ca5(0x155)][_0x109ca5(0x15f)](_0x2c092b);if(!_0x49650d)throw Error(_0x109ca5(0x161));return _0x49650d[_0x109ca5(0x153)](_0x3034dd,_0x24f597[_0x109ca5(0x168)]);}async[_0x2cde3c(0x16a)](_0x4e6302){const _0x5dfeb6=_0x2cde3c;let _0x4e31f3=this['_injector'][_0x5dfeb6(0x15f)](_0x2c092b);if(!_0x4e31f3)throw Error(_0x5dfeb6(0x161));return _0x4e31f3['importXLSXToSnapshot'](_0x4e6302);}async[_0x2cde3c(0x163)](_0x1982b9){const _0x5526ec=_0x2cde3c;let _0x21d70c=this[_0x5526ec(0x155)][_0x5526ec(0x15f)](_0x2c092b);if(!_0x21d70c)throw Error(_0x5526ec(0x161));return _0x21d70c[_0x5526ec(0x15c)](_0x1982b9);}async[_0x2cde3c(0x152)](_0x4eeb45){const _0x285504=_0x2cde3c;let _0x1c57ed=this[_0x285504(0x155)][_0x285504(0x15f)](_0x2c092b);if(!_0x1c57ed)throw Error(_0x285504(0x161));return _0x1c57ed['exportXLSXBySnapshot'](_0x4eeb45);}async[_0x2cde3c(0x14f)](_0x1fa5c4){const _0x1c2bf8=_0x2cde3c;let _0x283194=this['_injector'][_0x1c2bf8(0x15f)](_0x2c092b);if(!_0x283194)throw Error(_0x1c2bf8(0x161));return _0x283194[_0x1c2bf8(0x153)](_0x1fa5c4,_0x24f597[_0x1c2bf8(0x150)]);}async[_0x2cde3c(0x173)](_0x19b36d){const _0x355b1b=_0x2cde3c;let _0x2c2db6=this[_0x355b1b(0x155)]['get'](_0x2c092b);if(!_0x2c2db6)throw Error(_0x355b1b(0x161));return _0x2c2db6[_0x355b1b(0x167)](_0x19b36d);}async[_0x2cde3c(0x16e)](_0x193849){const _0x13bac1=_0x2cde3c;let _0x157ca2=this[_0x13bac1(0x155)][_0x13bac1(0x15f)](_0x2c092b);if(!_0x157ca2)throw Error(_0x13bac1(0x161));return _0x157ca2[_0x13bac1(0x15a)](_0x193849);}async['exportDOCXByUnitIdAsync'](_0x56b2e9){const _0xe3ac5f=_0x2cde3c;let _0x578db8=this[_0xe3ac5f(0x155)]['get'](_0x2c092b);if(!_0x578db8)throw Error(_0xe3ac5f(0x161));return _0x578db8[_0xe3ac5f(0x158)](_0x56b2e9);}async[_0x2cde3c(0x156)](_0x1c1285){const _0x4d0cf3=_0x2cde3c;let _0x32ba66=this[_0x4d0cf3(0x155)][_0x4d0cf3(0x15f)](_0x2c092b);if(!_0x32ba66)throw Error(_0x4d0cf3(0x161));return _0x32ba66[_0x4d0cf3(0x153)](_0x1c1285,_0x24f597[_0x4d0cf3(0x171)]);}async[_0x2cde3c(0x170)](_0x3cd782){const _0x329d2b=_0x2cde3c;let _0x10d8db=this[_0x329d2b(0x155)][_0x329d2b(0x15f)](_0x2c092b);if(!_0x10d8db)throw Error(_0x329d2b(0x161));return _0x10d8db[_0x329d2b(0x15b)](_0x3cd782);}async[_0x2cde3c(0x15e)](_0x9783d6){const _0x531b6a=_0x2cde3c;let _0x3f62c2=this[_0x531b6a(0x155)][_0x531b6a(0x15f)](_0x2c092b);if(!_0x3f62c2)throw Error(_0x531b6a(0x161));return _0x3f62c2[_0x531b6a(0x165)](_0x9783d6);}async[_0x2cde3c(0x16c)](_0x11fa0f){const _0x2557c0=_0x2cde3c;let _0x386974=this[_0x2557c0(0x155)]['get'](_0x2c092b);if(!_0x386974)throw Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x386974[_0x2557c0(0x157)](_0x11fa0f);}};_0x37c3c5[_0x2cde3c(0x154)](r);export{};
1
+ const _0x404bf1=_0x159c;(function(_0x3294d1,_0x27b244){const _0x1b6b84=_0x159c,_0x4aa73f=_0x3294d1();while(!![]){try{const _0x2970c=-parseInt(_0x1b6b84(0x15c))/0x1*(-parseInt(_0x1b6b84(0x17d))/0x2)+parseInt(_0x1b6b84(0x17e))/0x3*(parseInt(_0x1b6b84(0x167))/0x4)+parseInt(_0x1b6b84(0x15b))/0x5*(parseInt(_0x1b6b84(0x15f))/0x6)+-parseInt(_0x1b6b84(0x16c))/0x7*(-parseInt(_0x1b6b84(0x16d))/0x8)+-parseInt(_0x1b6b84(0x168))/0x9+parseInt(_0x1b6b84(0x16a))/0xa+parseInt(_0x1b6b84(0x174))/0xb*(-parseInt(_0x1b6b84(0x177))/0xc);if(_0x2970c===_0x27b244)break;else _0x4aa73f['push'](_0x4aa73f['shift']());}catch(_0x3b26c0){_0x4aa73f['push'](_0x4aa73f['shift']());}}}(_0x498f,0xd816a));function _0x498f(){const _0x3fa46d=['exportDOCXBySnapshot','get','exportXLSXBySnapshotAsync','importDOCXToUnitIdAsync','exportXLSXByUnitId','59086wyuCXC','3468462LCofVg','extend','560255SOzikC','41zeYjTM','exportPPTXBySnapshotAsync','importDOCXToSnapshotAsync','18bTqubg','exportPPTXByUnitIdAsync','UNIVER_SLIDE','importPPTXToSnapshot','UNIVER_SHEET','_injector','exportXLSXByUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','4liKHCh','10956618SazWXt','exportPPTXBySnapshot','12810940GwbPro','exportDOCXByUnitId','146804GnGrVS','248zAccCZ','exportXLSXBySnapshot','importXLSXToUnitIdAsync','exportPPTXByUnitId','exportDOCXByUnitIdAsync','importFileToUnitId','importPPTXToSnapshotAsync','3718aVdIfJ','importXLSXToSnapshotAsync','exportDOCXBySnapshotAsync','89904wzMqcC'];_0x498f=function(){return _0x3fa46d;};return _0x498f();}import{IExchangeService as _0x483430}from'@univerjs-pro/exchange-client';import{UniverInstanceType as _0x1b5c3b}from'@univerjs/core';import{FUniver as _0x3f27bc}from'@univerjs/core/facade';var r=class extends _0x3f27bc{async[_0x404bf1(0x16f)](_0xc4d6a6){const _0x598f5d=_0x404bf1;let _0x6f6752=this[_0x598f5d(0x164)][_0x598f5d(0x179)](_0x483430);if(!_0x6f6752)throw Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x6f6752[_0x598f5d(0x172)](_0xc4d6a6,_0x1b5c3b[_0x598f5d(0x163)]);}async[_0x404bf1(0x175)](_0x2c4203){const _0x12beff=_0x404bf1;let _0xfc8842=this[_0x12beff(0x164)]['get'](_0x483430);if(!_0xfc8842)throw Error(_0x12beff(0x166));return _0xfc8842['importXLSXToSnapshot'](_0x2c4203);}async[_0x404bf1(0x165)](_0x3c6130){const _0x17c9f7=_0x404bf1;let _0x38667f=this[_0x17c9f7(0x164)][_0x17c9f7(0x179)](_0x483430);if(!_0x38667f)throw Error(_0x17c9f7(0x166));return _0x38667f[_0x17c9f7(0x17c)](_0x3c6130);}async[_0x404bf1(0x17a)](_0x1fc99b){const _0x16c8ea=_0x404bf1;let _0x36c220=this[_0x16c8ea(0x164)][_0x16c8ea(0x179)](_0x483430);if(!_0x36c220)throw Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x36c220[_0x16c8ea(0x16e)](_0x1fc99b);}async[_0x404bf1(0x17b)](_0x267311){const _0x5511be=_0x404bf1;let _0x323599=this[_0x5511be(0x164)]['get'](_0x483430);if(!_0x323599)throw Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x323599['importFileToUnitId'](_0x267311,_0x1b5c3b['UNIVER_DOC']);}async[_0x404bf1(0x15e)](_0x94d29c){const _0x12ce11=_0x404bf1;let _0x16a10d=this['_injector'][_0x12ce11(0x179)](_0x483430);if(!_0x16a10d)throw Error(_0x12ce11(0x166));return _0x16a10d['importDOCXToSnapshot'](_0x94d29c);}async[_0x404bf1(0x176)](_0x26a173){const _0x5035e0=_0x404bf1;let _0x573d02=this['_injector']['get'](_0x483430);if(!_0x573d02)throw Error(_0x5035e0(0x166));return _0x573d02[_0x5035e0(0x178)](_0x26a173);}async[_0x404bf1(0x171)](_0x57d22d){const _0x337eb2=_0x404bf1;let _0x8d6c34=this[_0x337eb2(0x164)][_0x337eb2(0x179)](_0x483430);if(!_0x8d6c34)throw Error(_0x337eb2(0x166));return _0x8d6c34[_0x337eb2(0x16b)](_0x57d22d);}async['importPPTXToUnitIdAsync'](_0x107070){const _0x510404=_0x404bf1;let _0x43b810=this[_0x510404(0x164)][_0x510404(0x179)](_0x483430);if(!_0x43b810)throw Error(_0x510404(0x166));return _0x43b810[_0x510404(0x172)](_0x107070,_0x1b5c3b[_0x510404(0x161)]);}async[_0x404bf1(0x173)](_0x1dacc1){const _0x4b61b1=_0x404bf1;let _0x5b19fa=this[_0x4b61b1(0x164)][_0x4b61b1(0x179)](_0x483430);if(!_0x5b19fa)throw Error(_0x4b61b1(0x166));return _0x5b19fa[_0x4b61b1(0x162)](_0x1dacc1);}async[_0x404bf1(0x160)](_0x649776){const _0x4dfc11=_0x404bf1;let _0x1c4685=this[_0x4dfc11(0x164)][_0x4dfc11(0x179)](_0x483430);if(!_0x1c4685)throw Error(_0x4dfc11(0x166));return _0x1c4685[_0x4dfc11(0x170)](_0x649776);}async[_0x404bf1(0x15d)](_0x1f44e6){const _0x41a2ea=_0x404bf1;let _0x4db19f=this[_0x41a2ea(0x164)]['get'](_0x483430);if(!_0x4db19f)throw Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4db19f[_0x41a2ea(0x169)](_0x1f44e6);}};_0x3f27bc[_0x404bf1(0x15a)](r);function _0x159c(_0x3008ff,_0x4b2cc4){_0x3008ff=_0x3008ff-0x15a;const _0x498ff0=_0x498f();let _0x159c8b=_0x498ff0[_0x3008ff];return _0x159c8b;}export{};
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x43ed7e=_0x22bb;(function(_0x375f6b,_0x3d0e03){const _0x55448e=_0x22bb,_0x5e7de4=_0x375f6b();while(!![]){try{const _0x3bd9fb=parseInt(_0x55448e(0x1f9))/0x1+-parseInt(_0x55448e(0x13e))/0x2+parseInt(_0x55448e(0x156))/0x3+parseInt(_0x55448e(0x1d7))/0x4*(parseInt(_0x55448e(0x243))/0x5)+parseInt(_0x55448e(0x1e8))/0x6+-parseInt(_0x55448e(0x181))/0x7*(parseInt(_0x55448e(0x1fa))/0x8)+-parseInt(_0x55448e(0x255))/0x9;if(_0x3bd9fb===_0x3d0e03)break;else _0x5e7de4['push'](_0x5e7de4['shift']());}catch(_0x5624d0){_0x5e7de4['push'](_0x5e7de4['shift']());}}}(_0x36d9,0xdc208));import{UniverLicensePlugin as _0x52b0de}from'@univerjs-pro/license';import{DependentOn as _0x52c3ae,Disposable as _0x3d6021,IConfigService as _0x4c5c56,ILogService as _0x5d8e40,IResourceLoaderService as _0x2a7149,IUniverInstanceService as _0x4d4c37,Inject as _0x46f6af,Injector as _0x446de0,LocaleService as _0x9402c2,Plugin as _0x16ae97,UniverInstanceType as _0x2cdb6c,createIdentifier as _0x22cf7b,merge as _0x1aada9,registerDependencies as _0x4f6d5b,resolveWithBasePath as _0x213cae,toDisposable as _0xaef5e4,touchDependencies as _0x444a5e}from'@univerjs/core';import{HTTPResponseError as _0x23c934,HTTPService as _0x31e269,UniverNetworkPlugin as _0xb2ac78}from'@univerjs/network';import{ClockIcon as _0x403f6a,CloseIcon as _0x377a3a,DirectExportIcon as _0x39e7a2,DocMultiIcon as _0x1ef79f,ErrorIcon as _0x529c28,ShareRangeIcon as _0x1b706c,SlideMultiIcon as _0x4871a3,SuccessIcon as _0x58a2a0,XlsxMultiIcon as _0x126253}from'@univerjs/icons';import{BuiltInUIPart as _0x3d3eff,IMessageService as _0x585de7,IUIPartsService as _0xedf751,IconManager as _0xd59c44,connectInjector as _0x1b2b79,useDependency as _0x2a4e29,useObservable as _0x2cce0a}from'@univerjs/ui';import{useEffect as _0x103f18,useState as _0x42f1a7}from'react';import{BehaviorSubject as _0x18f3bd,Subject as _0x225e1d}from'rxjs';import{MessageType as _0x75752e,Tooltip as _0x3837ed,clsx as _0x2a9348,scrollbarClassName as _0x3be2d2}from'@univerjs/design';import{jsx as _0xc4d169,jsxs as _0x47ca2f}from'react/jsx-runtime';import{ErrorCode as _0x154f6e,FileSource as _0x447433}from'@univerjs/protocol';import{b64DecodeUnicode as _0x451361,b64EncodeUnicode as _0x17cf56,getSheetBlocksFromSnapshot as _0x479ad6,textDecoder as _0x33dbad,textEncoder as _0x3407f7,transformDocumentDataToSnapshot as _0x509cfb,transformSlideDataToSnapshot as _0x4dfb4e,transformSnapshotToDocumentData as _0x5bfe9c,transformSnapshotToSlideData as _0x506a16,transformSnapshotToWorkbookData as _0x293882,transformWorkbookDataToSnapshot as _0x22cbb7}from'@univerjs-pro/collaboration';import{deflateSync as _0x2fcf48}from'fflate';const w=_0x43ed7e(0x18a),T={};var Le=_0x43ed7e(0x16a),Re=_0x43ed7e(0x1bb);function E(_0x4223d1){'@babel/helpers - typeof';const _0x2eb07a=_0x43ed7e;return E=typeof Symbol==_0x2eb07a(0x1d1)&&typeof Symbol[_0x2eb07a(0x1a7)]=='symbol'?function(_0x532381){return typeof _0x532381;}:function(_0x5adee2){const _0x52299d=_0x2eb07a;return _0x5adee2&&typeof Symbol==_0x52299d(0x1d1)&&_0x5adee2[_0x52299d(0x149)]===Symbol&&_0x5adee2!==Symbol[_0x52299d(0x173)]?_0x52299d(0x121):typeof _0x5adee2;},E(_0x4223d1);}function ze(_0xf2a069,_0x262808){const _0x3fae22=_0x43ed7e;if(E(_0xf2a069)!=_0x3fae22(0x14c)||!_0xf2a069)return _0xf2a069;var _0x733cc0=_0xf2a069[Symbol[_0x3fae22(0x23c)]];if(_0x733cc0!==void 0x0){var _0x3b7156=_0x733cc0['call'](_0xf2a069,_0x262808||_0x3fae22(0x187));if(E(_0x3b7156)!=_0x3fae22(0x14c))return _0x3b7156;throw TypeError(_0x3fae22(0x179));}return(_0x262808===_0x3fae22(0x1bc)?String:Number)(_0xf2a069);}function Be(_0x22ff62){const _0xb22900=_0x43ed7e;var _0x21b0b8=ze(_0x22ff62,_0xb22900(0x1bc));return E(_0x21b0b8)==_0xb22900(0x121)?_0x21b0b8:_0x21b0b8+'';}function D(_0x4d2883,_0x9b4e26,_0x3bb7cf){const _0x1283f2=_0x43ed7e;return(_0x9b4e26=Be(_0x9b4e26))in _0x4d2883?Object[_0x1283f2(0x1b7)](_0x4d2883,_0x9b4e26,{'value':_0x3bb7cf,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4d2883[_0x9b4e26]=_0x3bb7cf,_0x4d2883;}let Ve=function(_0x44d648){const _0x5728ba=_0x43ed7e;return _0x44d648[_0x44d648[_0x5728ba(0x157)]=0x0]=_0x5728ba(0x157),_0x44d648[_0x44d648['SUCCESS']=0x1]=_0x5728ba(0x226),_0x44d648[_0x44d648[_0x5728ba(0x153)]=0x2]=_0x5728ba(0x153),_0x44d648;}({});const O=_0x22cf7b(_0x43ed7e(0x1f1));var k=class extends _0x3d6021{constructor(){const _0x4a226a=_0x43ed7e;super(),D(this,_0x4a226a(0x18c),new _0x225e1d()),D(this,_0x4a226a(0x1d6),new _0x225e1d()),D(this,_0x4a226a(0x24f),new _0x225e1d()),D(this,_0x4a226a(0x24c),this[_0x4a226a(0x18c)][_0x4a226a(0x203)]()),D(this,'state$',this['_state$']['asObservable']()),D(this,_0x4a226a(0x20b),this[_0x4a226a(0x24f)][_0x4a226a(0x203)]()),D(this,'_list',[]);}[_0x43ed7e(0x232)](){const _0x10c590=_0x43ed7e;super['dispose'](),this[_0x10c590(0x18c)]['complete'](),this[_0x10c590(0x1d6)][_0x10c590(0x195)](),this[_0x10c590(0x24f)][_0x10c590(0x195)]();}[_0x43ed7e(0x242)](){const _0x1f3553=_0x43ed7e;this[_0x1f3553(0x18c)]['next'](!0x0);}['hide'](){const _0xc2f60=_0x43ed7e;this[_0xc2f60(0x18c)][_0xc2f60(0x143)](!0x1);}[_0x43ed7e(0x269)](_0x1503e7){const _0x357f88=_0x43ed7e;this[_0x357f88(0x1d6)][_0x357f88(0x143)](_0x1503e7);}[_0x43ed7e(0x12b)](_0x36175d){const _0x39c19a=_0x43ed7e;this[_0x39c19a(0x13c)][_0x39c19a(0x267)](_0x36175d),this[_0x39c19a(0x24f)][_0x39c19a(0x143)](this[_0x39c19a(0x13c)]);}};function He(_0x1ffaa3){const _0x5283da=_0x43ed7e;let {list:_0x14d251}=_0x1ffaa3;function _0x254010(_0x5e2181){switch(_0x5e2181){case 0x1:return _0xc4d169(_0x1ef79f,{});case 0x2:return _0xc4d169(_0x126253,{});case 0x3:return _0xc4d169(_0x4871a3,{});default:return null;}}return _0xc4d169(_0x5283da(0x177),{'className':_0x2a9348(_0x5283da(0x1df),_0x3be2d2),'children':_0xc4d169('ul',{'className':_0x5283da(0x146),'children':_0x14d251[_0x5283da(0x1e0)]((_0x4cf35a,_0x3d88cc)=>_0xc4d169('li',{'children':_0x47ca2f('a',{'className':_0x5283da(0x21a),'href':_0x4cf35a[_0x5283da(0x1c5)],'target':_0x5283da(0x1fe),'rel':'noreferrer','children':[_0x47ca2f(_0x5283da(0x1af),{'className':_0x5283da(0x1d9),'children':[_0xc4d169('span',{'className':'univer-flex\x20univer-h-5\x20univer-text-xl','children':_0x254010(_0x4cf35a['type'])}),_0xc4d169(_0x3837ed,{'showIfEllipsis':!0x0,'title':_0x4cf35a[_0x5283da(0x1b5)],'asChild':!0x0,'children':_0xc4d169(_0x5283da(0x1af),{'className':'univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0x4cf35a[_0x5283da(0x1b5)]})})]}),_0xc4d169(_0x5283da(0x1af),{'className':_0x5283da(0x17f),'children':_0xc4d169(_0x1b706c,{})})]})},_0x3d88cc))})});}const A='application/vnd.openxmlformats-officedocument.wordprocessingml.document',j=_0x43ed7e(0x1b3),M='application/vnd.ms-excel.sheet.macroEnabled.12',N='application/vnd.openxmlformats-officedocument.spreadsheetml.template',P=_0x43ed7e(0x20c),F={[_0x2cdb6c[_0x43ed7e(0x1b1)]]:[''],[_0x2cdb6c[_0x43ed7e(0x1b2)]]:[A],[_0x2cdb6c['UNIVER_SHEET']]:[j,M,N],[_0x2cdb6c[_0x43ed7e(0x129)]]:[P],[_0x2cdb6c[_0x43ed7e(0x1a9)]]:[''],[_0x2cdb6c[_0x43ed7e(0x171)]]:[''],[_0x2cdb6c['UNRECOGNIZED']]:['']},I={[A]:_0x43ed7e(0x1ea),[j]:_0x43ed7e(0x1ed),[M]:_0x43ed7e(0x17a),[N]:_0x43ed7e(0x1a8),[P]:_0x43ed7e(0x200)};function Ue(_0x2bb5ab,_0x506cbd,_0x374c09){const _0x35f0a7=_0x43ed7e;let _0x27b3f2=document[_0x35f0a7(0x1d2)]('a');_0x27b3f2[_0x35f0a7(0x159)]=_0x2bb5ab,_0x27b3f2[_0x35f0a7(0x214)][_0x35f0a7(0x16d)]='none',_0x27b3f2[_0x35f0a7(0x1b0)]=_0x506cbd+'.'+_0x374c09,document['body'][_0x35f0a7(0x20a)](_0x27b3f2),_0x27b3f2[_0x35f0a7(0x250)](),document[_0x35f0a7(0x222)]['removeChild'](_0x27b3f2);}function L(_0x1df30b,_0x3477ab,_0x3db2f4){const _0xeb068f=_0x43ed7e;let _0x3441ff=URL['createObjectURL'](_0x1df30b);Ue(_0x3441ff,_0x3477ab,_0x3db2f4),URL[_0xeb068f(0x1c3)](_0x3441ff);}function R(_0x4d87bf){const _0x17329d=_0x43ed7e;let _0x5bf581=_0x4d87bf[_0x17329d(0x1b5)][_0x17329d(0x12c)]('.')[_0x17329d(0x1f6)]();if(!_0x5bf581)return _0x2cdb6c['UNIVER_UNKNOWN'];let _0x3b0a59=We(),_0x5c0ebc=_0x2cdb6c[_0x17329d(0x1b1)];return _0x3b0a59[_0x17329d(0x256)](_0x49d090=>Ge(_0x5bf581,_0x49d090)?(_0x5c0ebc=_0x49d090,!0x0):!0x1),_0x5c0ebc;}function We(){const _0x3b4dc6=_0x43ed7e;return Object[_0x3b4dc6(0x218)](_0x2cdb6c)['filter'](_0x49fa28=>typeof _0x49fa28=='number');}function Ge(_0x49e9d1,_0x3b156d){const _0xa6a789=_0x43ed7e;var _0x492603;return((_0x492603=F[_0x3b156d])==null?[]:_0x492603)[_0xa6a789(0x1e0)](_0x5da68e=>(I[_0x5da68e]||'')[_0xa6a789(0x1bf)]())[_0xa6a789(0x216)](_0x49e9d1[_0xa6a789(0x1bf)]());}function z(_0x16ac91,_0x2357d4=!0x1){const _0x24312e=_0x43ed7e;let _0x5120a4=_0x16ac91[_0x24312e(0x1e0)](_0x557944=>{var _0x14b316;return(_0x14b316=F[_0x557944])==null?[]:_0x14b316;})[_0x24312e(0x160)](',');return new Promise((_0x1f3012,_0x432cfc)=>{const _0x452b1f=_0x24312e;let _0xcde59f=document[_0x452b1f(0x1d2)]('input');_0xcde59f[_0x452b1f(0x254)]='file',_0xcde59f[_0x452b1f(0x148)]=_0x5120a4,_0xcde59f[_0x452b1f(0x1f4)]=_0x2357d4,_0xcde59f[_0x452b1f(0x24e)]('change',_0x24257a=>{const _0x172a8a=_0x452b1f;let _0x5bd795=_0x24257a[_0x172a8a(0x12a)];if(!_0x5bd795[_0x172a8a(0x25d)]||_0x5bd795['files'][_0x172a8a(0x20f)]===0x0)throw _0x432cfc(null),Error(_0x172a8a(0x23d));_0x1f3012(_0x5bd795[_0x172a8a(0x25d)]);}),_0xcde59f['click']();});}async function Ke(_0x370f2c,_0x1c7933){const _0x1fe456=_0x43ed7e;try{var _0x5d57a6,_0x2d029e,_0x2359f2;let _0x33b59b=await _0x1c7933['get'](_0x370f2c,{'responseType':_0x1fe456(0x13f)}),_0x5618a3=_0x33b59b[_0x1fe456(0x222)],_0x1ba303=(_0x5d57a6=(_0x2d029e=_0x33b59b['headers'][_0x1fe456(0x145)](_0x1fe456(0x1d3)))==null?void 0x0:_0x2d029e[_0x1fe456(0x160)](',\x20'))==null?_0x1fe456(0x1e2):_0x5d57a6,_0x408087=_0x1fe456(0x13a)+(I[_0x1ba303]||_0x1fe456(0x1ed)),_0x30a2f4=(_0x2359f2=_0x33b59b[_0x1fe456(0x14f)]['get'](_0x1fe456(0x1d8)))==null?void 0x0:_0x2359f2[_0x1fe456(0x160)](',\x20');if(_0x30a2f4){let _0x19baa6=_0x30a2f4[_0x1fe456(0x1ac)](/filename=(.+)/);_0x19baa6&&_0x19baa6[0x1]&&(_0x408087=_0x19baa6[0x1]);}else _0x408087=qe(_0x370f2c)||_0x408087;return new File([_0x5618a3],_0x408087,{'type':_0x1ba303});}catch(_0x260112){console[_0x1fe456(0x1fb)](_0x1fe456(0x1dd),_0x260112);return;}}function qe(_0x4c3f60){const _0x32e092=_0x43ed7e;try{return new URL(_0x4c3f60)[_0x32e092(0x19b)][_0x32e092(0x12c)]('/')[_0x32e092(0x1f6)]();}catch(_0x331774){console['error']('Error\x20getting\x20file\x20name\x20from\x20URL:',_0x331774);return;}}function Je(_0x315421){const _0x152cf9=_0x43ed7e;let _0x51f39f=new Blob([_0x315421['buffer']],{'type':'application/json'});return new File([_0x51f39f],_0x152cf9(0x25c));}function Ye(_0x38919d,_0x2c4c07){const _0x47033d=_0x43ed7e;return _0x38919d['replace'](_0x47033d(0x26e),_0x2c4c07);}function Xe(_0x39a0f3,_0x45eaf0){const _0xee3816=_0x43ed7e;return _0x39a0f3[_0xee3816(0x207)](_0xee3816(0x22e),_0x45eaf0);}function Ze(_0x2af6fa,_0x4814cd){const _0x497116=_0x43ed7e;return _0x2af6fa['replace'](_0x497116(0x128),_0x4814cd);}function B(_0x446c00,_0x598ff0){return function(_0x394f60,_0x15c84c){_0x598ff0(_0x394f60,_0x15c84c,_0x446c00);};}function V(_0x272ecd,_0x29701c,_0x4c5a92,_0x1e60d3){const _0x5d46ed=_0x43ed7e;var _0xc82370=arguments[_0x5d46ed(0x20f)],_0x2f6676=_0xc82370<0x3?_0x29701c:_0x1e60d3===null?_0x1e60d3=Object[_0x5d46ed(0x26d)](_0x29701c,_0x4c5a92):_0x1e60d3,_0x596434;if(typeof Reflect==_0x5d46ed(0x14c)&&typeof Reflect[_0x5d46ed(0x1ce)]==_0x5d46ed(0x1d1))_0x2f6676=Reflect[_0x5d46ed(0x1ce)](_0x272ecd,_0x29701c,_0x4c5a92,_0x1e60d3);else{for(var _0x120bbb=_0x272ecd['length']-0x1;_0x120bbb>=0x0;_0x120bbb--)(_0x596434=_0x272ecd[_0x120bbb])&&(_0x2f6676=(_0xc82370<0x3?_0x596434(_0x2f6676):_0xc82370>0x3?_0x596434(_0x29701c,_0x4c5a92,_0x2f6676):_0x596434(_0x29701c,_0x4c5a92))||_0x2f6676);}return _0xc82370>0x3&&_0x2f6676&&Object['defineProperty'](_0x29701c,_0x4c5a92,_0x2f6676),_0x2f6676;}const H=_0x22cf7b(_0x43ed7e(0x142));let U=class{constructor(_0x56e23d,_0x39507c){const _0x30855e=_0x43ed7e;this[_0x30855e(0x140)]=_0x56e23d,this[_0x30855e(0x1b6)]=_0x39507c,D(this,_0x30855e(0x192),new Set());}[_0x43ed7e(0x232)](){}[_0x43ed7e(0x17c)](_0x224e0c){const _0x526101=_0x43ed7e;this['_taskInterrupted'][_0x526101(0x17e)](_0x224e0c);}[_0x43ed7e(0x21c)](){const _0x16288c=_0x43ed7e;this[_0x16288c(0x192)][_0x16288c(0x19a)]();}async[_0x43ed7e(0x196)](_0x2e4867,_0x15cae4=0x0,_0xd4237f=!0x1){const _0x46644c=_0x43ed7e;if(typeof _0x2e4867=='string'){let _0x121b99=await Ke(_0x2e4867,this[_0x46644c(0x1b6)]);if(!_0x121b99)throw Error('upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url');_0x2e4867=_0x121b99;}_0x15cae4=_0x15cae4||_0x2e4867[_0x46644c(0x134)];let _0x28a78c=new FormData();_0x28a78c['append'](_0x46644c(0x239),_0x2e4867);try{let _0x2a76d7=this[_0x46644c(0x125)]()+'?size='+_0x15cae4+_0x46644c(0x174)+_0x447433['HttpImport']+_0x46644c(0x150)+_0xd4237f,_0x5a9064={'body':_0x28a78c},_0x56f26e=(await this[_0x46644c(0x1b6)]['post'](_0x2a76d7,_0x5a9064))[_0x46644c(0x222)];if(_0x56f26e[_0x46644c(0x1fb)]&&_0x56f26e['error'][_0x46644c(0x124)]!==_0x154f6e['OK'])throw Error(this['_buildProtocolErrorMessage']('upload\x20request\x20failed',_0x56f26e[_0x46644c(0x1fb)]));return _0x56f26e;}catch(_0x5dd706){throw _0x5dd706 instanceof Error?_0x5dd706:Error(this[_0x46644c(0x204)](_0x46644c(0x1e6),_0x5dd706));}}async[_0x43ed7e(0x175)](_0x453889){const _0x1d5522=_0x43ed7e;let {fileID:_0x158f62,type:_0x5bb934,outputType:_0x13b598,minSheetColumnCount:_0x168625,minSheetRowCount:_0x4f2f6f}=_0x453889;try{let _0x5168c4=Ye(this[_0x1d5522(0x1a6)](),''+_0x5bb934),_0x4e2280={'body':{'fileID':_0x158f62,'outputType':_0x13b598,'minSheetColumnCount':_0x168625,'minSheetRowCount':_0x4f2f6f}},_0x448ae5=(await this['_httpService']['post'](_0x5168c4,_0x4e2280))[_0x1d5522(0x222)];return _0x448ae5[_0x1d5522(0x1fb)]&&_0x448ae5['error'][_0x1d5522(0x124)]!==_0x154f6e['OK']?void 0x0:_0x448ae5;}catch{return;}}async[_0x43ed7e(0x1f3)](_0x12ac47){const _0x337b88=_0x43ed7e;let {unitID:_0x1b6083,jsonID:_0xea05fc,type:_0xad299a,sscSwitch:_0x494604,useImageUrl:_0xb9bf78,ignoreTableExport:_0x5550bd}=_0x12ac47;try{let _0x12cf77=Ye(this[_0x337b88(0x132)](),''+_0xad299a),_0x5a72b3={'body':{'unitID':_0x1b6083,'jsonID':_0xea05fc,'type':_0xad299a,'sscSwitch':_0x494604,'useImageUrl':_0xb9bf78,'ignoreTableExport':_0x5550bd}},_0x51e4ff=(await this[_0x337b88(0x1b6)][_0x337b88(0x127)](_0x12cf77,_0x5a72b3))['body'];return _0x51e4ff[_0x337b88(0x1fb)]&&_0x51e4ff[_0x337b88(0x1fb)]['code']!==_0x154f6e['OK']?void 0x0:_0x51e4ff;}catch{return;}}async[_0x43ed7e(0x184)](_0x45d2c3){return new Promise((_0x19e084,_0x4543dd)=>{const _0x3f8d19=_0x22bb;try{let _0x2b3d6d=0x0,_0x1f87a3=Xe(this[_0x3f8d19(0x190)](),''+_0x45d2c3),_0x2cc8b9=this[_0x3f8d19(0x1a4)](),_0x58f4b8=async()=>{const _0x3d505d=_0x3f8d19;if(this[_0x3d505d(0x192)][_0x3d505d(0x23a)](_0x45d2c3))return;let _0x44756e=(await this[_0x3d505d(0x1b6)][_0x3d505d(0x145)](_0x1f87a3))[_0x3d505d(0x222)];if(_0x44756e[_0x3d505d(0x1fb)]&&_0x44756e[_0x3d505d(0x1fb)]['code']===_0x154f6e['OK']){if(_0x44756e[_0x3d505d(0x21e)]==='done')_0x19e084(_0x44756e);else{if(_0x44756e['status']===_0x3d505d(0x1e9)){let _0x27679b=0x3e8;if(_0x2b3d6d>=_0x2cc8b9){_0x4543dd(_0x44756e);return;}else _0x2b3d6d>=0x7530&&(_0x27679b=0x1388);_0x2b3d6d+=_0x27679b,setTimeout(_0x58f4b8,_0x27679b);}else _0x4543dd(_0x44756e);}}else _0x4543dd(_0x44756e);};_0x58f4b8();}catch(_0x46822b){_0x4543dd(_0x46822b instanceof Error?_0x46822b:Error(String(_0x46822b)));}});}async[_0x43ed7e(0x238)](_0x2cd592){const _0x21e3f7=_0x43ed7e;try{let _0x2189c5=Ze(this[_0x21e3f7(0x26c)](),''+_0x2cd592);return(await this[_0x21e3f7(0x1b6)][_0x21e3f7(0x145)](_0x2189c5))[_0x21e3f7(0x222)];}catch{return;}}async['getTextFromUrl'](_0x536910){const _0x409d59=_0x43ed7e;try{return(await this[_0x409d59(0x1b6)][_0x409d59(0x145)](_0x536910,{'responseType':_0x409d59(0x12f)}))[_0x409d59(0x222)];}catch{return;}}['_buildProtocolErrorMessage'](_0x22035e,_0x14177f){const _0x15ca88=_0x43ed7e;let _0x4823ce=this[_0x15ca88(0x227)](_0x14177f);return _0x4823ce?_0x22035e+':\x20'+_0x4823ce:_0x22035e;}[_0x43ed7e(0x204)](_0x4dd4ef,_0x1cdf95){const _0x5d7922=_0x43ed7e;if(_0x1cdf95 instanceof _0x23c934){let _0x5a11f5=typeof _0x1cdf95[_0x5d7922(0x21e)]==_0x5d7922(0x231)?''+_0x1cdf95[_0x5d7922(0x21e)]+(_0x1cdf95[_0x5d7922(0x275)]?'\x20'+_0x1cdf95[_0x5d7922(0x275)]:''):void 0x0,_0x4a579c=this[_0x5d7922(0x227)](_0x1cdf95['error']);return _0x5a11f5&&_0x4a579c?_0x4dd4ef+_0x5d7922(0x164)+_0x5a11f5+_0x5d7922(0x147)+_0x4a579c:_0x5a11f5?_0x4dd4ef+_0x5d7922(0x164)+_0x5a11f5:_0x4a579c?_0x4dd4ef+':\x20'+_0x4a579c:_0x4dd4ef;}let _0x1ddd6e=this[_0x5d7922(0x227)](_0x1cdf95);return _0x1ddd6e?_0x4dd4ef+':\x20'+_0x1ddd6e:_0x4dd4ef;}[_0x43ed7e(0x227)](_0x5132dd){const _0x29caec=_0x43ed7e;if(typeof _0x5132dd==_0x29caec(0x1bc)){let _0x45d936=_0x5132dd[_0x29caec(0x1db)]();return _0x45d936['length']>0x0?_0x45d936:void 0x0;}if(_0x5132dd instanceof Error)return this[_0x29caec(0x227)](_0x5132dd[_0x29caec(0x225)]);if(!_0x5132dd||typeof _0x5132dd!=_0x29caec(0x14c)||Array[_0x29caec(0x165)](_0x5132dd))return;let _0x5d57bc=_0x5132dd,_0x3112f4=this[_0x29caec(0x227)](_0x5d57bc[_0x29caec(0x225)]);if(_0x3112f4)return _0x3112f4;if(_0x5d57bc['error']&&typeof _0x5d57bc[_0x29caec(0x1fb)]=='object'&&!Array[_0x29caec(0x165)](_0x5d57bc[_0x29caec(0x1fb)])){let _0x4ff3cc=this[_0x29caec(0x227)](_0x5d57bc[_0x29caec(0x1fb)]);if(_0x4ff3cc)return _0x4ff3cc;}}['_getUploadFileURL'](){const _0x36242b=_0x43ed7e;var _0x3844a1;let _0x2748b8=this[_0x36242b(0x140)][_0x36242b(0x178)](w);return(_0x3844a1=_0x2748b8==null?void 0x0:_0x2748b8[_0x36242b(0x262)])==null?_0x36242b(0x210):_0x3844a1;}[_0x43ed7e(0x1a6)](){const _0x39c061=_0x43ed7e;var _0x3aa400;let _0x5c93f5=this[_0x39c061(0x140)]['getConfig'](w);return(_0x3aa400=_0x5c93f5==null?void 0x0:_0x5c93f5['importServerUrl'])==null?_0x39c061(0x1ec):_0x3aa400;}['_getExportURL'](){const _0x1ba6e8=_0x43ed7e;var _0x1a2d8c;let _0x5328c2=this['_configService'][_0x1ba6e8(0x178)](w);return(_0x1a2d8c=_0x5328c2==null?void 0x0:_0x5328c2[_0x1ba6e8(0x131)])==null?_0x1ba6e8(0x276):_0x1a2d8c;}[_0x43ed7e(0x190)](){const _0x542ffa=_0x43ed7e;var _0x35458a;let _0x3ce7d1=this[_0x542ffa(0x140)][_0x542ffa(0x178)](w);return(_0x35458a=_0x3ce7d1==null?void 0x0:_0x3ce7d1[_0x542ffa(0x189)])==null?_0x542ffa(0x135):_0x35458a;}[_0x43ed7e(0x26c)](){const _0x531702=_0x43ed7e;var _0x5ca09d;let _0x34113d=this[_0x531702(0x140)][_0x531702(0x178)](w);return(_0x5ca09d=_0x34113d==null?void 0x0:_0x34113d['signUrlServerUrl'])==null?_0x531702(0x138):_0x5ca09d;}['_getMaxPollingTime'](){const _0x27e5f2=_0x43ed7e;var _0x511152;let _0x21949e=this[_0x27e5f2(0x140)]['getConfig'](w);return(_0x511152=_0x21949e==null?void 0x0:_0x21949e[_0x27e5f2(0x24b)])==null?0x1d4c0:_0x511152;}};U=V([B(0x0,_0x4c5c56),B(0x1,_0x46f6af(_0x31e269))],U);function Qe(_0x924bb1){const _0x38878c=_0x43ed7e;let _0x2edec7=_0x924bb1[_0x38878c(0x172)];if(!_0x2edec7)return null;let _0x53a991={};_0x2edec7[_0x38878c(0x11f)]&&Object[_0x38878c(0x1ab)](_0x2edec7[_0x38878c(0x11f)])['forEach'](_0xcf6586=>{const _0xb5e800=_0x38878c;let _0x464a05=_0x2edec7['sheets'][_0xcf6586];_0x53a991[_0xcf6586]={..._0x464a05,'originalMeta':_0x17cf56(_0x33dbad['decode'](_0x464a05[_0xb5e800(0x151)]))};});let _0x37cad0=_0x17cf56(_0x33dbad['decode'](_0x2edec7[_0x38878c(0x151)]));return{..._0x924bb1,'workbook':{..._0x2edec7,'originalMeta':_0x37cad0,'sheets':_0x53a991},'doc':{},'slide':void 0x0};}function _0x36d9(){const _0x1c6b13=['_getMinSheetRowCount','getFocusedUnit','_getLinkByUnitId','join','disableCellImageConversion','exportDOCXBySnapshot','disposeUnit',':\x20HTTP\x20','isArray','univer-ml-1.5\x20univer-font-semibold\x20univer-leading-6\x20univer-text-gray-900\x20dark:!univer-text-white','_requestState$','exchange-client.internalError','doc','@univerjs-pro/exchange-client','upload\x20failed:\x20missing\x20FileId\x20in\x20response','Get\x20outputType\x20error','display','requestState$','getUnitType','getUnitId','UNIVER_PROJECT','workbook','prototype','&source=','import','_clearProgress','div','getConfig','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','xlsm','stringify','setTaskInterrupted','univer-mt-3\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-2\x20univer-pr-1','add','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','minSheetRowCount','7iOtqTo','title','url','getTask','onReady','saveUnit','default','getCurrentUnitOfType','getTaskServerUrl','exchange-client.config','createUnit','_visible$','exchange-client.wait','_getUnitIDDoc','UNIVER_EXCHANGE_CLIENT_PLUGIN','_getTaskURL','floor','_taskInterrupted','Success','snapshot','complete','upload','progress$','_requestService','jsonID','clear','pathname','interruptImportTask','exportXLSXByUnitId','searchParams','_addTotalCount','_registerComponents','importXLSXToSnapshot','getSnapshot','rev','_getMaxPollingTime','UNIVER_SHEET','_getImportURL','iterator','xltx','UNIVER_BASE','catch','keys','match','_uploadNotificationService','Failed\x20to\x20get\x20taskID\x20from\x20import\x20response','span','download','UNIVER_UNKNOWN','UNIVER_DOC','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','outputType','name','_httpService','defineProperty','_getEnableServerSideComputing','state$','univer-text-red-500','1.0.0-alpha.0','string','exchange-client.uploadSuccess','_progress$','toLowerCase','importFileToUnitIdByCurrentType','FileId','Error','revokeObjectURL','application/json','link','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','button','saveChangeset','exchange-client.uploading','importXLSXToUnitId','_getUnitNameByType','version','univer-flex','decorate','onStarting','_exchangeService','function','createElement','Content-Type','_signUrl','exportPPTXBySnapshot','_state$','1956044KBMkkV','content-disposition','univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','exchange-client.downloadSuccess','trim','_import','Error\x20fetching\x20file\x20from\x20URL:','_registerIcons','univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden','map','_logService','application/octet-stream','univer-pro.exchange-client.operate.service','forEach','_importFileToUnitId','upload\x20request\x20failed','data','5415798RkBAMS','pending','docx','_getUnitID','/universer-api/exchange/{type}/import','xlsx','pluginName','INTERNAL_ERROR','univer-pro.exchange-client.exchange.service','univer-pro.exchange-client.upload-notification.service','_getDownloadEndpointURL','export','multiple','_fileTypeError','pop','options','Failed\x20to\x20get\x20text\x20from\x20url','36303xwHaKS','4417528KuLoUb','error','Failed\x20to\x20parse\x20json','parse','_blank','encode','pptx','getDeserializedSheetBlock','Info','asObservable','_buildHttpErrorMessage','uploadFileToUnitId','slide','replace','_univerInstanceService','shift','appendChild','list$','application/vnd.openxmlformats-officedocument.presentationml.presentation','location','updateSnapshot','length','/universer-api/stream/file/upload','registerComponent','export\x20error','_iconManager','style','packageName','includes','importWorkbookDataToUnitId','values','_localeService','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','getLatestCsReqIdBySid','clearTaskInterrupted','_getDisableCellImageConversion','status','_emitProgress','_getUnitName','exchange-client.unknownMistake','body','setConfig','disposeWithMe','message','SUCCESS','_extractErrorDetail','unit','_importToSnapshot','_upload','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','saveSheetBlock','exchange-client.fileTypeError','{taskID}','Failed\x20to\x20get\x20fileID\x20from\x20task','interrupt','number','dispose','_refreshSlide','.json','blockID','importDOCXToSnapshot','sign\x20url\x20error','signUrl','file','has','exportDOCXByUnitId','toPrimitive','No\x20file\x20selected','importFileToUnitId','_doneUploadTaskCount','importPPTXToUnitId','_addDoneTask','show','15FfDWhd','UNDEFINED','exportPPTXByUnitId','univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','taskID','importDOCXToUnitId','_getIgnoreTableExport','_importTaskId','maxTimeoutTime','visible$','_completeProgress','addEventListener','_list$','click','minSheetColumnCount','_exportBySnapshot','univer-mt-5\x20univer-flex\x20univer-flex-col','type','12316545kEAHEl','some','resources','getUnitOnRev','getTextFromUrl','upload\x20failed:\x20FileId\x20is\x20empty','_sheetBlockCache','file.json','files','registerLink','exportXLSXBySnapshot','exchange-client.interrupt','_getUnitSlideJson','uploadFileServerUrl','importPPTXToSnapshot','unsubscribe','Method\x20not\x20implemented.','_resourceLoaderService','unshift','_getUnitDocJson','updateState','exchange-client.downloading','_getUnitIDSlide','_getSignURL','getOwnPropertyDescriptor','{type}','subscribe','_messageService','univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','_showDownloadMessage','univer-text-sm\x20univer-text-gray-500','_getUnitJson','statusText','/universer-api/exchange/{type}/export','_totalUploadTaskCount','sheets','Warning','symbol','Failed\x20to\x20transform\x20snapshot\x20to\x20string','_export','code','_getUploadFileURL','_uploadTaskNotDone','post','{fileID}','UNIVER_SLIDE','currentTarget','pushLink','split','getResourcesRequest','downloadEndpointUrl','text','decode','exportServerUrl','_getExportURL','enableServerSideComputing','size','/universer-api/exchange/task/{taskID}','ignoreTableExport','univer-text-green-500','/universer-api/file/{fileID}/sign-url','exchange-client.tooLarge','file.','UNRECOGNIZED','_list','set','2243636oyokVO','blob','_configService','univer-h-6\x20univer-text-2xl','univer-pro.exchange-client.request.service','next','_injector','get','univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','\x20-\x20','accept','constructor','exchange-client.uploadSuccessTip','register','object','resolve','getSheetBlock','headers','&flate=','originalMeta','_refresh','ERROR','import\x20error','_getMinSheetColumnCount','4614555BbCUlP','UPLOADING','_config','href','success','toString','_showUploadMessage'];_0x36d9=function(){return _0x1c6b13;};return _0x36d9();}function $e(_0x473c5c){const _0x2aaec6=_0x43ed7e;let _0x581e0a=_0x473c5c[_0x2aaec6(0x169)];if(!_0x581e0a)return null;let _0x4f9321=_0x17cf56(_0x33dbad[_0x2aaec6(0x130)](_0x581e0a[_0x2aaec6(0x151)]));return{..._0x473c5c,'workbook':{},'doc':{..._0x581e0a,'originalMeta':_0x4f9321},'slide':void 0x0};}function et(_0x28d801){const _0x1a8845=_0x43ed7e;var _0x59bc17;let _0x1fe790=(_0x59bc17=_0x28d801[_0x1a8845(0x206)])==null?_0x28d801['doc']:_0x59bc17;if(!_0x1fe790)return null;let _0x29c4de=typeof _0x1fe790[_0x1a8845(0x151)]==_0x1a8845(0x1bc)?_0x1fe790[_0x1a8845(0x151)]:_0x17cf56(_0x33dbad['decode'](_0x1fe790['originalMeta']));return{..._0x28d801,'workbook':{},'doc':{},'slide':{..._0x1fe790,'originalMeta':_0x29c4de}};}function tt(_0x4a3541){const _0x3b20af=_0x43ed7e;let _0xdd2edc={};return _0x4a3541[_0x3b20af(0x1e4)](_0x854e18=>{const _0x394c20=_0x3b20af;_0xdd2edc[_0x854e18['id']]={..._0x854e18,'data':_0x17cf56(_0x33dbad[_0x394c20(0x130)](_0x854e18[_0x394c20(0x1e7)]))};}),_0xdd2edc;}async function W(_0x146534){const _0x20ff6e=_0x43ed7e;var _0x46dc6c;let _0x1b612d={'metadata':void 0x0},_0x17d3e5=_0x146534['id'],_0x52dc68=(_0x46dc6c=_0x146534[_0x20ff6e(0x1a3)])==null?0x0:_0x46dc6c,_0x1c77be=new K(),{snapshot:_0xda9f90}=await _0x22cbb7(_0x1b612d,_0x146534,_0x17d3e5,_0x52dc68,_0x1c77be),_0x4733ef=await _0x479ad6(_0xda9f90,_0x1c77be),_0x3adcd1=Qe(_0xda9f90);if(!_0x3adcd1)throw Error('Failed\x20to\x20transform\x20snapshot\x20to\x20string');return{'snapshot':_0x3adcd1,'sheetBlocks':tt(_0x4733ef)};}async function nt(_0x365da1){var _0x2387c2;let _0x381bad={'metadata':void 0x0},_0x2dc147=_0x365da1['id'],{snapshot:_0x2f75e4}=await _0x509cfb(_0x381bad,_0x365da1,_0x2dc147,(_0x2387c2=_0x365da1['rev'])==null?0x0:_0x2387c2,new K()),_0x1da520=$e(_0x2f75e4);if(!_0x1da520)throw Error('Failed\x20to\x20transform\x20snapshot\x20to\x20string');return{'snapshot':_0x1da520,'sheetBlocks':{}};}async function rt(_0x1fdc37){const _0x31b852=_0x43ed7e;var _0x2fcfa1;let _0x88a3ed=_0x1fdc37['id'],_0x170ef4=(_0x2fcfa1=_0x1fdc37[_0x31b852(0x1a3)])==null?0x0:_0x2fcfa1,_0x1ef9fa=new K(),{snapshot:_0x30bda2}=await _0x4dfb4e(_0x1fdc37[_0x31b852(0x257)],_0x1fdc37,_0x88a3ed,_0x170ef4,_0x1ef9fa),_0x16a2f7=et(_0x30bda2);if(!_0x16a2f7)throw Error(_0x31b852(0x122));return{'snapshot':_0x16a2f7,'sheetBlocks':{}};}function _0x22bb(_0x3b4043,_0x4b3cfe){_0x3b4043=_0x3b4043-0x11f;const _0x36d924=_0x36d9();let _0x22bbbf=_0x36d924[_0x3b4043];return _0x22bbbf;}async function it(_0x454abc){const _0x48e51e=_0x43ed7e;let _0x2f3569=_0x454abc[_0x48e51e(0x194)],_0x273e50=_0x454abc['sheetBlocks']||{};return await _0x293882(_0x2f3569,Object[_0x48e51e(0x1ab)](_0x273e50)[_0x48e51e(0x1e0)](_0x3f9b15=>_0x273e50[_0x3f9b15])[_0x48e51e(0x1e0)](_0x1b4c76=>({..._0x1b4c76,'data':_0x1b4c76[_0x48e51e(0x1e7)]?JSON[_0x48e51e(0x1fd)](_0x451361(_0x1b4c76['data'])):void 0x0})));}function at(_0x11c00f){let _0x218f03=_0x11c00f['snapshot'];return _0x5bfe9c(_0x218f03);}function G(_0x23d0d4){const _0x17781e=_0x43ed7e;let _0x42f0a2=_0x23d0d4[_0x17781e(0x194)];return _0x506a16(_0x42f0a2);}var K=class{constructor(){const _0x164f44=_0x43ed7e;D(this,_0x164f44(0x25b),new Map());}[_0x43ed7e(0x258)](){const _0x59b4da=_0x43ed7e;return Promise[_0x59b4da(0x14d)]({'snapshot':{'unitID':'','type':_0x2cdb6c['UNIVER_SHEET'],'rev':0x0,'workbook':void 0x0,'doc':void 0x0,'slide':void 0x0},'changesets':[],'error':{'code':_0x154f6e['OK'],'message':''}});}[_0x43ed7e(0x14e)](_0x3c012b,_0x3b9720){const _0xfbc99a=_0x43ed7e;let _0x34d9de=this[_0xfbc99a(0x25b)][_0xfbc99a(0x145)](_0x3b9720[_0xfbc99a(0x235)]);return Promise['resolve']({'block':_0x34d9de,'error':{'code':_0x154f6e['OK'],'message':''}});}[_0x43ed7e(0x201)](_0x12e910,_0x2970c6){const _0x39f843=_0x43ed7e;let _0x573869=this[_0x39f843(0x25b)][_0x39f843(0x145)](_0x2970c6['blockID']);return Promise[_0x39f843(0x14d)]({'block':_0x573869===void 0x0?void 0x0:{..._0x573869,'data':JSON[_0x39f843(0x1fd)](_0x33dbad[_0x39f843(0x130)](_0x573869[_0x39f843(0x1e7)]))},'error':{'code':_0x154f6e['OK'],'message':''}});}['fetchMissingChangesets'](){const _0x3621b2=_0x43ed7e;return Promise[_0x3621b2(0x14d)]({'changesets':[],'error':{'code':_0x154f6e['OK'],'message':''}});}[_0x43ed7e(0x12d)](){const _0x2da6ee=_0x43ed7e;return Promise[_0x2da6ee(0x14d)]({'resources':{},'error':{'code':_0x154f6e['OK'],'message':''}});}['saveSnapshot'](){return Promise['resolve']({'error':{'code':_0x154f6e['OK'],'message':''}});}[_0x43ed7e(0x20e)](){const _0x4b6dc5=_0x43ed7e;return Promise[_0x4b6dc5(0x14d)]({'error':{'code':_0x154f6e['OK'],'message':''}});}[_0x43ed7e(0x22c)](_0xf44ca8,_0x36d6e3){const _0x35a295=_0x43ed7e;let {block:_0x8413d2}=_0x36d6e3;return _0x8413d2?(this[_0x35a295(0x25b)][_0x35a295(0x13d)](_0x8413d2['id'],_0x8413d2),Promise[_0x35a295(0x14d)]({'error':{'code':_0x154f6e['OK'],'message':''},'blockID':_0x8413d2['id']})):Promise['resolve']({'error':{'code':_0x154f6e[_0x35a295(0x244)],'message':'block\x20is\x20required'},'blockID':''});}[_0x43ed7e(0x1c8)](){const _0x5ae8d1=_0x43ed7e;return Promise[_0x5ae8d1(0x14d)]({'error':{'code':_0x154f6e['OK'],'message':''},'concurrent':[]});}['copyFileMeta'](){const _0x195432=_0x43ed7e;return Promise[_0x195432(0x14d)]({'error':void 0x0,'fileMetaId':''});}[_0x43ed7e(0x21b)](){const _0x509956=_0x43ed7e;return Promise[_0x509956(0x14d)]({'error':void 0x0,'latestReqID':0x0});}};const q=_0x22cf7b(_0x43ed7e(0x1f0));let J=class extends _0x3d6021{constructor(_0x3306e3,_0x4a83f7,_0x3e2545){const _0xf57d71=_0x43ed7e;super(),this[_0xf57d71(0x140)]=_0x3306e3,this[_0xf57d71(0x1b6)]=_0x4a83f7,this[_0xf57d71(0x198)]=_0x3e2545,D(this,_0xf57d71(0x24a),null),D(this,'_requestState$',new _0x225e1d()),D(this,_0xf57d71(0x16e),this[_0xf57d71(0x167)][_0xf57d71(0x203)]());}['dispose'](){super['dispose'](),this['_requestState$']['complete']();}async[_0x43ed7e(0x236)](_0x41633d){const _0xa2747d=_0x43ed7e;let _0x2f792e=await this['_importToSnapshot'](_0x41633d,_0x2cdb6c[_0xa2747d(0x1b2)]);if(!_0x2f792e||!_0x2f792e[_0xa2747d(0x194)])return;let _0x474f17=at(_0x2f792e);if(_0x474f17)return _0x474f17;}async[_0x43ed7e(0x23b)](_0xebc1f3){const _0xd67985=_0x43ed7e;return this[_0xd67985(0x123)](_0xebc1f3,0x1,_0x2cdb6c['UNIVER_DOC']);}async[_0x43ed7e(0x162)](_0xacfca3){const _0x219019=_0x43ed7e;let _0x5de13e=await nt(_0xacfca3);return this[_0x219019(0x252)](_0x5de13e,_0x2cdb6c['UNIVER_DOC']);}async[_0x43ed7e(0x263)](_0xff69c8){const _0x192c10=_0x43ed7e;let _0x9c664a=await this[_0x192c10(0x229)](_0xff69c8,_0x2cdb6c[_0x192c10(0x129)]);if(!(!_0x9c664a||!_0x9c664a[_0x192c10(0x194)]))return G(_0x9c664a);}async[_0x43ed7e(0x245)](_0x9279ab){const _0x460140=_0x43ed7e;return this['_export'](_0x9279ab,0x1,_0x2cdb6c[_0x460140(0x129)]);}async[_0x43ed7e(0x1d5)](_0x48d900){const _0x482baf=_0x43ed7e;let _0x580c02=await rt(_0x48d900);return this[_0x482baf(0x252)](_0x580c02,_0x2cdb6c['UNIVER_SLIDE']);}async[_0x43ed7e(0x1a1)](_0x1775b9){const _0x20f934=_0x43ed7e;let _0x5558df=await this[_0x20f934(0x229)](_0x1775b9,_0x2cdb6c[_0x20f934(0x1a5)]);if(!_0x5558df)return;let _0x7f433d=await it(_0x5558df);if(_0x7f433d)return _0x7f433d;}async[_0x43ed7e(0x19d)](_0x22ac66){const _0x2f7bee=_0x43ed7e;return this[_0x2f7bee(0x123)](_0x22ac66,0x1,_0x2cdb6c[_0x2f7bee(0x1a5)]);}async[_0x43ed7e(0x25f)](_0x268d2b){const _0x4d7b0f=_0x43ed7e;let _0x58c799=await W(_0x268d2b);return this[_0x4d7b0f(0x252)](_0x58c799,_0x2cdb6c[_0x4d7b0f(0x1a5)]);}async[_0x43ed7e(0x23e)](_0x594207,_0x43a5ca){const _0x1090d0=_0x43ed7e;var _0x4c4be3,_0x2df321;let _0x3150f9=await this[_0x1090d0(0x22a)](_0x594207);if(!_0x3150f9)return;let _0x1c337e=await this[_0x1090d0(0x1dc)](_0x3150f9,0x1,_0x43a5ca);if(!_0x1c337e)return;this[_0x1090d0(0x24a)]=_0x1c337e,this['_requestService'][_0x1090d0(0x21c)]();let _0x37fe1c=await this[_0x1090d0(0x198)][_0x1090d0(0x184)](_0x1c337e)[_0x1090d0(0x1aa)](_0x2e1a1c=>{const _0x101dea=_0x1090d0;var _0x15aa9d;let _0x282d38=_0x2e1a1c instanceof Error?_0x2e1a1c['message']:(_0x15aa9d=_0x2e1a1c[_0x101dea(0x1fb)])==null?void 0x0:_0x15aa9d[_0x101dea(0x225)];this[_0x101dea(0x167)][_0x101dea(0x143)]({'error':{'code':_0x154f6e['UNRECOGNIZED'],'message':_0x282d38||''},'state':0x3});});if(!_0x37fe1c)return;let _0x182fee=(_0x4c4be3=_0x37fe1c['import'])==null?void 0x0:_0x4c4be3[_0x1090d0(0x1b4)],_0x530f8f=((_0x2df321=_0x37fe1c[_0x1090d0(0x175)])==null?void 0x0:_0x2df321['unitID'])||'';if(_0x182fee!==0x1){this['_requestState$'][_0x1090d0(0x143)]({'error':{'code':_0x154f6e['UNRECOGNIZED'],'message':_0x1090d0(0x16c)},'state':0x3});return;}if(_0x530f8f['length']===0x0){this[_0x1090d0(0x167)][_0x1090d0(0x143)]({'error':{'code':_0x154f6e[_0x1090d0(0x13b)],'message':'Failed\x20to\x20get\x20unitID\x20from\x20task'},'state':0x3});return;}return this[_0x1090d0(0x167)]['next']({'error':_0x37fe1c[_0x1090d0(0x1fb)],'state':0x3}),_0x530f8f;}async[_0x43ed7e(0x217)](_0x343110){const _0x5083f8=_0x43ed7e;let _0x9c4ee5=await W(_0x343110),_0x17829b=typeof _0x343110['id']==_0x5083f8(0x1bc)&&_0x343110['id'][_0x5083f8(0x1db)]()?_0x343110['id'][_0x5083f8(0x1db)]()+_0x5083f8(0x234):'workbook.json',_0x5b3f58=new File([JSON[_0x5083f8(0x17b)](_0x9c4ee5)],_0x17829b,{'type':_0x5083f8(0x1c4)});return this[_0x5083f8(0x23e)](_0x5b3f58,_0x2cdb6c[_0x5083f8(0x1a5)]);}[_0x43ed7e(0x19c)](){const _0x769b4=_0x43ed7e;this[_0x769b4(0x24a)]&&this[_0x769b4(0x198)]['setTaskInterrupted'](this['_importTaskId']);}async[_0x43ed7e(0x229)](_0x5edd74,_0x4ca9ad){const _0x1f77b1=_0x43ed7e;var _0x3de3b4,_0x294d1c;let _0x26c79a=await this[_0x1f77b1(0x22a)](_0x5edd74);if(!_0x26c79a)return;let _0x204509=await this[_0x1f77b1(0x1dc)](_0x26c79a,0x2,_0x4ca9ad);if(!_0x204509)return;this[_0x1f77b1(0x24a)]=_0x204509,this[_0x1f77b1(0x198)][_0x1f77b1(0x21c)]();let _0x31fce3=await this[_0x1f77b1(0x198)][_0x1f77b1(0x184)](_0x204509)[_0x1f77b1(0x1aa)](_0x355d02=>{const _0x40c8bf=_0x1f77b1;var _0x59cee7;let _0x7a37c=_0x355d02 instanceof Error?_0x355d02[_0x40c8bf(0x225)]:(_0x59cee7=_0x355d02[_0x40c8bf(0x1fb)])==null?void 0x0:_0x59cee7[_0x40c8bf(0x225)];this[_0x40c8bf(0x167)]['next']({'error':{'code':_0x154f6e[_0x40c8bf(0x13b)],'message':_0x7a37c||''},'state':0x3});});if(!_0x31fce3)return;let _0x59e48d=(_0x3de3b4=_0x31fce3[_0x1f77b1(0x175)])==null?void 0x0:_0x3de3b4[_0x1f77b1(0x1b4)],_0x4e489b=((_0x294d1c=_0x31fce3[_0x1f77b1(0x175)])==null?void 0x0:_0x294d1c[_0x1f77b1(0x199)])||'';if(_0x59e48d!==0x2){this[_0x1f77b1(0x167)][_0x1f77b1(0x143)]({'error':{'code':_0x154f6e[_0x1f77b1(0x13b)],'message':_0x1f77b1(0x16c)},'state':0x3});return;}if(_0x4e489b[_0x1f77b1(0x20f)]===0x0){this[_0x1f77b1(0x167)][_0x1f77b1(0x143)]({'error':{'code':_0x154f6e[_0x1f77b1(0x13b)],'message':'Failed\x20to\x20get\x20jsonID\x20from\x20task'},'state':0x3});return;}this[_0x1f77b1(0x167)][_0x1f77b1(0x143)]({'error':_0x31fce3['error'],'state':0x3});let _0x2717f1=await this[_0x1f77b1(0x1d4)](_0x4e489b);if(!_0x2717f1)return;let _0xb64d9f=await this[_0x1f77b1(0x198)][_0x1f77b1(0x259)](_0x2717f1);if(!_0xb64d9f){this['_requestState$'][_0x1f77b1(0x143)]({'error':{'code':_0x154f6e[_0x1f77b1(0x13b)],'message':_0x1f77b1(0x1f8)},'state':0x5});return;}try{let _0x3595b2=JSON[_0x1f77b1(0x1fd)](_0xb64d9f);return this['_requestState$']['next']({'error':{'code':_0x154f6e['OK'],'message':_0x1f77b1(0x15a)},'state':0x5}),_0x3595b2;}catch{this[_0x1f77b1(0x167)][_0x1f77b1(0x143)]({'error':{'code':_0x154f6e[_0x1f77b1(0x13b)],'message':_0x1f77b1(0x1fc)},'state':0x5});}}async[_0x43ed7e(0x252)](_0x51b9e3,_0x496469){const _0x2bce45=_0x43ed7e;let _0x15aae2=JSON[_0x2bce45(0x17b)](_0x51b9e3),_0x1d9be2=_0x3407f7[_0x2bce45(0x1ff)](_0x15aae2),_0x5915aa=_0x2fcf48(_0x1d9be2),_0x19a058=_0x1d9be2[_0x2bce45(0x20f)],_0x5111aa=Je(_0x5915aa),_0x1ff4e6=await this[_0x2bce45(0x22a)](_0x5111aa,_0x19a058,!0x0);if(_0x1ff4e6)return this['_export'](_0x1ff4e6,0x2,_0x496469);}async[_0x43ed7e(0x123)](_0x27b488,_0x4c4f34,_0x6c6f2c){const _0x8689f6=_0x43ed7e;var _0x456f7c;let _0xd12d84=await this[_0x8689f6(0x198)][_0x8689f6(0x1f3)]({'unitID':_0x4c4f34===0x1?_0x27b488:'','jsonID':_0x4c4f34===0x2?_0x27b488:'','type':_0x6c6f2c,'sscSwitch':this[_0x8689f6(0x1b8)](),'useImageUrl':this[_0x8689f6(0x21d)](),'ignoreTableExport':this[_0x8689f6(0x249)]()});if(!_0xd12d84){this[_0x8689f6(0x167)][_0x8689f6(0x143)]({'error':{'code':_0x154f6e[_0x8689f6(0x13b)],'message':_0x8689f6(0x212)},'state':0x2});return;}if(this[_0x8689f6(0x167)]['next']({'error':_0xd12d84['error'],'state':0x2}),_0xd12d84[_0x8689f6(0x1fb)]&&_0xd12d84[_0x8689f6(0x1fb)][_0x8689f6(0x124)]!==_0x154f6e['OK'])return;let _0x471ab4=_0xd12d84[_0x8689f6(0x247)],_0x56ec18=await this[_0x8689f6(0x198)][_0x8689f6(0x184)](_0x471ab4)['catch'](_0x39494a=>{const _0x52c290=_0x8689f6;var _0x8adf0a;let _0x223fd1=_0x39494a instanceof Error?_0x39494a[_0x52c290(0x225)]:(_0x8adf0a=_0x39494a[_0x52c290(0x1fb)])==null?void 0x0:_0x8adf0a[_0x52c290(0x225)];this[_0x52c290(0x167)][_0x52c290(0x143)]({'error':{'code':_0x154f6e[_0x52c290(0x13b)],'message':_0x223fd1||''},'state':0x3});});if(!_0x56ec18)return;let _0x4e1b8e=((_0x456f7c=_0x56ec18['export'])==null?void 0x0:_0x456f7c['fileID'])||'';if(_0x4e1b8e[_0x8689f6(0x20f)]===0x0){this[_0x8689f6(0x167)][_0x8689f6(0x143)]({'error':{'code':_0x154f6e[_0x8689f6(0x13b)],'message':_0x8689f6(0x22f)},'state':0x3});return;}this['_requestState$'][_0x8689f6(0x143)]({'error':_0x56ec18[_0x8689f6(0x1fb)],'state':0x3});let _0x1ffa28=await this[_0x8689f6(0x1d4)](_0x4e1b8e);if(!_0x1ffa28)return;let _0xfab4e9=await Ke(_0x1ffa28,this[_0x8689f6(0x1b6)]);if(!_0xfab4e9){this[_0x8689f6(0x167)][_0x8689f6(0x143)]({'error':{'code':_0x154f6e[_0x8689f6(0x13b)],'message':'Failed\x20to\x20get\x20file\x20from\x20url'},'state':0x6});return;}return this[_0x8689f6(0x167)][_0x8689f6(0x143)]({'error':{'code':_0x154f6e['OK'],'message':_0x8689f6(0x15a)},'state':0x6}),_0xfab4e9;}async[_0x43ed7e(0x22a)](_0x1e301b,_0x498074,_0x516c6c){const _0x4f52c7=_0x43ed7e;let _0x29059a;try{_0x29059a=await this[_0x4f52c7(0x198)]['upload'](_0x1e301b,_0x498074,_0x516c6c);}catch(_0x2f9db4){let _0x44a429=_0x2f9db4 instanceof Error?_0x2f9db4['message']:String(_0x2f9db4);this[_0x4f52c7(0x167)][_0x4f52c7(0x143)]({'error':{'code':_0x154f6e[_0x4f52c7(0x13b)],'message':_0x44a429},'state':0x0});return;}if(!_0x29059a||typeof _0x29059a['FileId']!='string'){this[_0x4f52c7(0x167)]['next']({'error':{'code':_0x154f6e[_0x4f52c7(0x13b)],'message':_0x4f52c7(0x16b)},'state':0x0});return;}let _0x3b4026=_0x29059a[_0x4f52c7(0x1c1)];if(_0x3b4026[_0x4f52c7(0x20f)]===0x0){this[_0x4f52c7(0x167)]['next']({'error':{'code':_0x154f6e['UNRECOGNIZED'],'message':_0x4f52c7(0x25a)},'state':0x0});return;}return this[_0x4f52c7(0x167)][_0x4f52c7(0x143)]({'error':{'code':_0x154f6e['OK'],'message':_0x4f52c7(0x15a)},'state':0x0}),_0x3b4026;}async[_0x43ed7e(0x1dc)](_0x34205e,_0x4e9d5a,_0x47bda4){const _0x4f7e26=_0x43ed7e;let _0x3a1509={'fileID':_0x34205e,'type':_0x47bda4,'outputType':_0x4e9d5a,'fileUrl':'','minSheetRowCount':this[_0x4f7e26(0x15d)](),'minSheetColumnCount':this['_getMinSheetColumnCount']()},_0xa3909e=await this['_requestService']['import'](_0x3a1509);if(!_0xa3909e){this[_0x4f7e26(0x167)][_0x4f7e26(0x143)]({'error':{'code':_0x154f6e[_0x4f7e26(0x13b)],'message':_0x4f7e26(0x154)},'state':0x1});return;}if(_0xa3909e[_0x4f7e26(0x1fb)]&&_0xa3909e['error'][_0x4f7e26(0x124)]!==_0x154f6e['OK']){this['_requestState$'][_0x4f7e26(0x143)]({'error':_0xa3909e[_0x4f7e26(0x1fb)],'state':0x1});return;}let _0x5a9342=_0xa3909e[_0x4f7e26(0x247)];if(_0x5a9342[_0x4f7e26(0x20f)]===0x0){this['_requestState$'][_0x4f7e26(0x143)]({'error':{'code':_0x154f6e['UNRECOGNIZED'],'message':_0x4f7e26(0x1ae)},'state':0x1});return;}return this[_0x4f7e26(0x167)][_0x4f7e26(0x143)]({'error':_0xa3909e['error'],'state':0x1}),_0x5a9342;}async[_0x43ed7e(0x1d4)](_0x5013dc){const _0x515a06=_0x43ed7e;let _0x322524=await this[_0x515a06(0x198)]['signUrl'](_0x5013dc);if(!_0x322524){this[_0x515a06(0x167)][_0x515a06(0x143)]({'error':{'code':_0x154f6e['UNRECOGNIZED'],'message':'sign\x20url\x20error'},'state':0x4});return;}if(_0x322524['error']&&_0x322524[_0x515a06(0x1fb)][_0x515a06(0x124)]!==_0x154f6e['OK']){this[_0x515a06(0x167)]['next']({'error':_0x322524['error'],'state':0x4});return;}let _0xd51611=_0x213cae(_0x322524[_0x515a06(0x183)],this[_0x515a06(0x1f2)]());if(_0xd51611[_0x515a06(0x20f)]===0x0){this[_0x515a06(0x167)][_0x515a06(0x143)]({'error':{'code':_0x154f6e[_0x515a06(0x13b)],'message':_0x515a06(0x237)},'state':0x4});return;}return this[_0x515a06(0x167)]['next']({'error':_0x322524[_0x515a06(0x1fb)],'state':0x4}),_0xd51611;}['_getDownloadEndpointURL'](){const _0xd8e839=_0x43ed7e;var _0x1d4751;let _0x2224eb=this['_configService'][_0xd8e839(0x178)](w);return(_0x1d4751=_0x2224eb==null?void 0x0:_0x2224eb[_0xd8e839(0x12e)])==null?location['origin']:_0x1d4751;}[_0x43ed7e(0x15d)](){const _0x49e902=_0x43ed7e;var _0x4b059f,_0x31f12a;let _0xf9c1a6=this[_0x49e902(0x140)][_0x49e902(0x178)](w);return(_0x4b059f=_0xf9c1a6==null||(_0x31f12a=_0xf9c1a6['options'])==null?void 0x0:_0x31f12a[_0x49e902(0x180)])==null?0x1:_0x4b059f;}[_0x43ed7e(0x155)](){const _0x55833c=_0x43ed7e;var _0x31e4a8,_0x2c66a1;let _0x1aa943=this[_0x55833c(0x140)][_0x55833c(0x178)](w);return(_0x31e4a8=_0x1aa943==null||(_0x2c66a1=_0x1aa943[_0x55833c(0x1f7)])==null?void 0x0:_0x2c66a1[_0x55833c(0x251)])==null?0x1:_0x31e4a8;}[_0x43ed7e(0x1b8)](){const _0x2279b7=_0x43ed7e;var _0x166e77,_0x4bca4b;let _0x4f084d=this[_0x2279b7(0x140)][_0x2279b7(0x178)](w);return(_0x166e77=_0x4f084d==null||(_0x4bca4b=_0x4f084d['options'])==null?void 0x0:_0x4bca4b[_0x2279b7(0x133)])==null?!0x1:_0x166e77;}[_0x43ed7e(0x21d)](){const _0x459d94=_0x43ed7e;var _0x2287e2,_0x45de45;let _0x49323e=this[_0x459d94(0x140)]['getConfig'](w);return(_0x2287e2=_0x49323e==null||(_0x45de45=_0x49323e[_0x459d94(0x1f7)])==null?void 0x0:_0x45de45[_0x459d94(0x161)])==null?!0x0:_0x2287e2;}['_getIgnoreTableExport'](){const _0x2768ce=_0x43ed7e;var _0x50f93a,_0x53f0b1;let _0x4883c4=this[_0x2768ce(0x140)][_0x2768ce(0x178)](w);return(_0x50f93a=_0x4883c4==null||(_0x53f0b1=_0x4883c4[_0x2768ce(0x1f7)])==null?void 0x0:_0x53f0b1[_0x2768ce(0x136)])==null?!0x1:_0x50f93a;}};J=V([B(0x0,_0x4c5c56),B(0x1,_0x46f6af(_0x31e269)),B(0x2,_0x46f6af(H))],J);const ot={'done':0x0,'count':0x0},Y=_0x22cf7b(_0x43ed7e(0x1e3));let X=class extends _0x3d6021{constructor(_0x5526d2,_0x202b70,_0x230420,_0x49c1f5,_0x37ab1f,_0x2ed265,_0x386ea6){const _0x48dd5e=_0x43ed7e;super(),this[_0x48dd5e(0x208)]=_0x5526d2,this['_messageService']=_0x202b70,this[_0x48dd5e(0x219)]=_0x230420,this[_0x48dd5e(0x1d0)]=_0x49c1f5,this[_0x48dd5e(0x1ad)]=_0x37ab1f,this[_0x48dd5e(0x1e1)]=_0x2ed265,this[_0x48dd5e(0x266)]=_0x386ea6,D(this,_0x48dd5e(0x1be),new _0x18f3bd(ot)),D(this,'progress$',this['_progress$'][_0x48dd5e(0x203)]()),D(this,'_totalUploadTaskCount',0x0),D(this,_0x48dd5e(0x23f),0x0),this[_0x48dd5e(0x224)](_0xaef5e4(this[_0x48dd5e(0x1d0)][_0x48dd5e(0x16e)][_0x48dd5e(0x26f)](_0x459003=>{const _0x47cf25=_0x48dd5e;var _0x53001d;((_0x53001d=_0x459003['error'])==null?void 0x0:_0x53001d[_0x47cf25(0x124)])===_0x154f6e['OK']?this[_0x47cf25(0x241)](0x1):this['_showNetworkError'](_0x459003[_0x47cf25(0x1fb)]);})));}[_0x43ed7e(0x230)](){const _0x392c9b=_0x43ed7e;this[_0x392c9b(0x176)](),this[_0x392c9b(0x1ad)]['updateState'](0x2),this['_exchangeService']['interruptImportTask']();}async[_0x43ed7e(0x205)](_0x7f94c){const _0x538d8f=_0x43ed7e;throw Error(_0x538d8f(0x265));}async[_0x43ed7e(0x1c0)](){const _0x305e14=_0x43ed7e;let _0x44b854=this[_0x305e14(0x208)][_0x305e14(0x15e)]();switch(_0x44b854?this['_univerInstanceService'][_0x305e14(0x16f)](_0x44b854[_0x305e14(0x170)]()):_0x2cdb6c[_0x305e14(0x13b)]){case _0x2cdb6c[_0x305e14(0x129)]:return this[_0x305e14(0x240)]();case _0x2cdb6c[_0x305e14(0x1b2)]:return this[_0x305e14(0x248)]();case _0x2cdb6c[_0x305e14(0x1a5)]:default:return this[_0x305e14(0x1ca)]();}}async['importDOCXToUnitId'](){const _0x29af04=_0x43ed7e;let _0x2fbd19=await z([_0x2cdb6c[_0x29af04(0x1b2)]]);if(_0x2fbd19&&!this['_fileTypeError'](_0x2fbd19,_0x2cdb6c[_0x29af04(0x1b2)]))return this[_0x29af04(0x1e5)](_0x2fbd19[0x0],_0x2cdb6c[_0x29af04(0x1b2)]);}[_0x43ed7e(0x236)](){const _0x3d0e64=_0x43ed7e;throw Error(_0x3d0e64(0x265));}async[_0x43ed7e(0x23b)](_0x392d6f,_0x4be27e,_0x144bf7){const _0x2ef999=_0x43ed7e;this[_0x2ef999(0x272)](_0x75752e[_0x2ef999(0x202)]);let _0x1930eb=await this[_0x2ef999(0x1d0)][_0x2ef999(0x23b)](_0x392d6f||this['_getUnitIDDoc']());_0x1930eb&&(L(_0x1930eb,_0x4be27e||this['_getUnitName'](_0x1930eb),'docx'),this['_showDownloadMessage'](_0x75752e['Success']));}async[_0x43ed7e(0x162)](){const _0x591fe2=_0x43ed7e;this['_showDownloadMessage'](_0x75752e['Info']);let _0x595d96=await this['_getUnitDocJson'](),_0x466188=await this[_0x591fe2(0x1d0)]['exportDOCXBySnapshot'](_0x595d96);_0x466188&&(L(_0x466188,this[_0x591fe2(0x220)](_0x466188),_0x591fe2(0x1ea)),this[_0x591fe2(0x272)](_0x75752e['Success']));}async[_0x43ed7e(0x240)](){const _0x278377=_0x43ed7e;if(this[_0x278377(0x126)]()){this[_0x278377(0x270)][_0x278377(0x242)]({'type':_0x75752e['Warning'],'content':this[_0x278377(0x219)]['t'](_0x278377(0x1c9))});return;}let _0x370b1b=await z([_0x2cdb6c[_0x278377(0x129)]]);if(_0x370b1b&&!this[_0x278377(0x1f5)](_0x370b1b,_0x2cdb6c[_0x278377(0x129)]))return this[_0x278377(0x1e5)](_0x370b1b[0x0],_0x2cdb6c[_0x278377(0x129)]);}async[_0x43ed7e(0x263)](){const _0x17b743=_0x43ed7e;if(this[_0x17b743(0x126)]()){this[_0x17b743(0x270)]['show']({'type':_0x75752e['Warning'],'content':this[_0x17b743(0x219)]['t'](_0x17b743(0x1c9))});return;}let _0x49c237=await z([_0x2cdb6c[_0x17b743(0x129)]]);if(!_0x49c237)return;this['_showUploadMessage'](_0x75752e['Info']);let _0x3a079f=await this[_0x17b743(0x1d0)]['importPPTXToSnapshot'](_0x49c237[0x0]);_0x3a079f&&(this[_0x17b743(0x233)](_0x3a079f),this[_0x17b743(0x15c)](_0x75752e['Success']));}async[_0x43ed7e(0x245)](_0xf761e,_0x23cd90,_0x366e36){const _0x3491d2=_0x43ed7e;this[_0x3491d2(0x272)](_0x75752e[_0x3491d2(0x202)]);let _0x572a41=await this[_0x3491d2(0x1d0)]['exportPPTXByUnitId'](_0xf761e||this[_0x3491d2(0x26b)]());_0x572a41&&(L(_0x572a41,_0x23cd90||this[_0x3491d2(0x1cb)](_0x572a41,_0x366e36==null?_0x2cdb6c[_0x3491d2(0x129)]:_0x366e36),'pptx'),this['_showDownloadMessage'](_0x75752e[_0x3491d2(0x193)]));}async['exportPPTXBySnapshot'](){const _0x1dd2af=_0x43ed7e;this['_showDownloadMessage'](_0x75752e[_0x1dd2af(0x202)]);let _0x52bbec=await this[_0x1dd2af(0x261)](),_0x5f9c1a=await this['_exchangeService'][_0x1dd2af(0x1d5)](_0x52bbec);_0x5f9c1a&&(L(_0x5f9c1a,this['_getUnitNameByType'](_0x5f9c1a,_0x2cdb6c[_0x1dd2af(0x129)]),'pptx'),this[_0x1dd2af(0x272)](_0x75752e[_0x1dd2af(0x193)]));}async[_0x43ed7e(0x1ca)](){const _0x459fb8=_0x43ed7e;if(this[_0x459fb8(0x126)]()){this[_0x459fb8(0x270)][_0x459fb8(0x242)]({'type':_0x75752e['Warning'],'content':this[_0x459fb8(0x219)]['t'](_0x459fb8(0x1c9))});return;}let _0x35ccf8=await z([_0x2cdb6c[_0x459fb8(0x1a5)]]);if(_0x35ccf8&&!this[_0x459fb8(0x1f5)](_0x35ccf8,_0x2cdb6c[_0x459fb8(0x1a5)]))return this['_importFileToUnitId'](_0x35ccf8[0x0],_0x2cdb6c[_0x459fb8(0x1a5)]);}async[_0x43ed7e(0x1a1)](){const _0x15731a=_0x43ed7e;if(this[_0x15731a(0x126)]()){this[_0x15731a(0x270)][_0x15731a(0x242)]({'type':_0x75752e[_0x15731a(0x120)],'content':this[_0x15731a(0x219)]['t'](_0x15731a(0x1c9))});return;}let _0x34eb95=await z([_0x2cdb6c[_0x15731a(0x1a5)]]);if(!_0x34eb95)return;this['_showUploadMessage'](_0x75752e['Info']);let _0xa79d71=await this[_0x15731a(0x1d0)][_0x15731a(0x1a1)](_0x34eb95[0x0]);_0xa79d71&&(this[_0x15731a(0x152)](_0xa79d71),this[_0x15731a(0x15c)](_0x75752e[_0x15731a(0x193)]));}async[_0x43ed7e(0x19d)](_0x4b8e81,_0x5a9bb9,_0x2c4b69){const _0x3742d1=_0x43ed7e;this[_0x3742d1(0x272)](_0x75752e[_0x3742d1(0x202)]);let _0x56d9cd=await this[_0x3742d1(0x1d0)][_0x3742d1(0x19d)](_0x4b8e81||this['_getUnitID']());_0x56d9cd&&(L(_0x56d9cd,_0x5a9bb9||this['_getUnitName'](_0x56d9cd),_0x3742d1(0x1ed)),this[_0x3742d1(0x272)](_0x75752e[_0x3742d1(0x193)]));}async[_0x43ed7e(0x25f)](){const _0x1a32ed=_0x43ed7e;this[_0x1a32ed(0x272)](_0x75752e[_0x1a32ed(0x202)]);let _0x3d2256=await this['_getUnitJson'](),_0x486b63=await this[_0x1a32ed(0x1d0)][_0x1a32ed(0x25f)](_0x3d2256);_0x486b63&&(L(_0x486b63,this['_getUnitName'](_0x486b63),_0x1a32ed(0x1ed)),this['_showDownloadMessage'](_0x75752e['Success']));}[_0x43ed7e(0x25e)](_0x3ff076){this['_getLinkByUnitId']=_0x3ff076;}async[_0x43ed7e(0x1e5)](_0x182954,_0xe2bb37){const _0x4d6d81=_0x43ed7e;this[_0x4d6d81(0x1ad)]['show'](),this[_0x4d6d81(0x1ad)][_0x4d6d81(0x269)](0x0),this[_0x4d6d81(0x19f)](0x4),this[_0x4d6d81(0x241)](0x1);let _0x386633=await this[_0x4d6d81(0x1d0)][_0x4d6d81(0x23e)](_0x182954,_0xe2bb37);if(!_0x386633){this['_clearProgress'](),this[_0x4d6d81(0x1ad)][_0x4d6d81(0x269)](0x2);return;}let _0x41417e={'link':this[_0x4d6d81(0x15f)](_0x386633,_0xe2bb37),'name':_0x182954['name'],'type':_0xe2bb37};return this[_0x4d6d81(0x1ad)][_0x4d6d81(0x12b)](_0x41417e),this[_0x4d6d81(0x24d)](),this[_0x4d6d81(0x1ad)][_0x4d6d81(0x269)](0x1),_0x386633;}[_0x43ed7e(0x1eb)](){const _0x5ef219=_0x43ed7e;return this['_univerInstanceService'][_0x5ef219(0x188)](_0x2cdb6c[_0x5ef219(0x1a5)])[_0x5ef219(0x170)]();}[_0x43ed7e(0x18e)](){const _0x308cfb=_0x43ed7e;return this[_0x308cfb(0x208)]['getCurrentUnitOfType'](_0x2cdb6c['UNIVER_DOC'])['getUnitId']();}[_0x43ed7e(0x26b)](){const _0x41c5f7=_0x43ed7e;return this[_0x41c5f7(0x208)][_0x41c5f7(0x188)](_0x2cdb6c[_0x41c5f7(0x129)])[_0x41c5f7(0x170)]();}[_0x43ed7e(0x220)](_0xb0ccfe){const _0x3b626c=_0x43ed7e;return this['_getUnitNameByType'](_0xb0ccfe,_0x2cdb6c[_0x3b626c(0x1a5)]);}['_getUnitNameByType'](_0xf91a31,_0x52539d){const _0x31fcfd=_0x43ed7e;var _0x69ca15;let _0x1689ed=(_0x69ca15=this['_univerInstanceService'][_0x31fcfd(0x188)](_0x52539d))==null?void 0x0:_0x69ca15['getSnapshot'](),_0x116026=_0x1689ed==null?void 0x0:_0x1689ed[_0x31fcfd(0x1b5)];return typeof _0x116026==_0x31fcfd(0x1bc)&&_0x116026[_0x31fcfd(0x1db)]()?_0x116026:_0xf91a31[_0x31fcfd(0x1b5)][_0x31fcfd(0x12c)]('.')[_0x31fcfd(0x209)]()||document[_0x31fcfd(0x182)];}async[_0x43ed7e(0x274)](){const _0x319400=_0x43ed7e;return this[_0x319400(0x208)][_0x319400(0x188)](_0x2cdb6c['UNIVER_SHEET'])[_0x319400(0x1a2)]();}async[_0x43ed7e(0x268)](){const _0x25416c=_0x43ed7e;return this[_0x25416c(0x208)][_0x25416c(0x188)](_0x2cdb6c[_0x25416c(0x1b2)])[_0x25416c(0x1a2)]();}async[_0x43ed7e(0x261)](){const _0x2c6347=_0x43ed7e;let _0x453332=this[_0x2c6347(0x208)][_0x2c6347(0x188)](_0x2cdb6c[_0x2c6347(0x129)]),_0x1db372=this[_0x2c6347(0x266)][_0x2c6347(0x186)](_0x453332[_0x2c6347(0x170)]());return _0x1db372==null?_0x453332['getSnapshot']():_0x1db372;}['_getLinkByUnitId'](_0x12abed,_0x498d26){const _0x5d9539=_0x43ed7e;let _0x4394b6=new URL(window[_0x5d9539(0x20d)][_0x5d9539(0x159)]);return _0x4394b6[_0x5d9539(0x19e)][_0x5d9539(0x13d)](_0x5d9539(0x228),_0x12abed),_0x4394b6[_0x5d9539(0x19e)][_0x5d9539(0x13d)]('type',''+_0x498d26),_0x4394b6[_0x5d9539(0x15b)]();}['_refresh'](_0x27222a){const _0x23b524=_0x43ed7e;let _0x3e5552=this[_0x23b524(0x208)][_0x23b524(0x188)](_0x2cdb6c[_0x23b524(0x1a5)])['getUnitId']();this['_univerInstanceService']['disposeUnit'](_0x3e5552),this['_univerInstanceService'][_0x23b524(0x18b)](_0x2cdb6c['UNIVER_SHEET'],_0x27222a);}[_0x43ed7e(0x233)](_0x5504a5){const _0x24309a=_0x43ed7e;let _0x476cf7=this[_0x24309a(0x208)][_0x24309a(0x188)](_0x2cdb6c['UNIVER_SLIDE'])[_0x24309a(0x170)]();this[_0x24309a(0x208)][_0x24309a(0x163)](_0x476cf7),this['_univerInstanceService'][_0x24309a(0x18b)](_0x2cdb6c['UNIVER_SLIDE'],_0x5504a5);}['_showNetworkError'](_0x349708){const _0x5e3b97=_0x43ed7e;if(_0x349708){let {code:_0x30489b}=_0x349708;switch(_0x30489b){case _0x154f6e['CONNECTOR_DATA_TOO_LARGE']:this[_0x5e3b97(0x270)]['show']({'type':_0x75752e['Error'],'content':this[_0x5e3b97(0x219)]['t'](_0x5e3b97(0x139))});break;case _0x154f6e[_0x5e3b97(0x1ef)]:this[_0x5e3b97(0x270)]['show']({'type':_0x75752e['Error'],'content':this['_localeService']['t'](_0x5e3b97(0x168))});break;default:this[_0x5e3b97(0x270)][_0x5e3b97(0x242)]({'type':_0x75752e[_0x5e3b97(0x1c2)],'content':this[_0x5e3b97(0x219)]['t']('exchange-client.networkError')});break;}return null;}return this[_0x5e3b97(0x270)][_0x5e3b97(0x242)]({'type':_0x75752e[_0x5e3b97(0x1c2)],'content':this[_0x5e3b97(0x219)]['t']('exchange-client.networkError')}),null;}[_0x43ed7e(0x272)](_0x4fdccd){const _0x64d921=_0x43ed7e;let _0x3d2366='';switch(_0x4fdccd){case _0x75752e[_0x64d921(0x193)]:_0x3d2366=this[_0x64d921(0x219)]['t'](_0x64d921(0x1da));break;case _0x75752e[_0x64d921(0x202)]:_0x3d2366=this['_localeService']['t'](_0x64d921(0x26a));break;default:break;}this[_0x64d921(0x270)][_0x64d921(0x242)]({'type':_0x4fdccd,'content':_0x3d2366});}[_0x43ed7e(0x15c)](_0x2c5858){const _0x347406=_0x43ed7e;let _0xfc38e1='';switch(_0x2c5858){case _0x75752e[_0x347406(0x193)]:_0xfc38e1=this[_0x347406(0x219)]['t']('exchange-client.uploadSuccess');break;case _0x75752e[_0x347406(0x202)]:_0xfc38e1=this[_0x347406(0x219)]['t']('exchange-client.uploading');break;default:break;}this[_0x347406(0x270)][_0x347406(0x242)]({'type':_0x2c5858,'content':_0xfc38e1});}[_0x43ed7e(0x21f)](){const _0x13e37f=_0x43ed7e;this[_0x13e37f(0x1be)][_0x13e37f(0x143)]({'done':this[_0x13e37f(0x23f)],'count':this['_totalUploadTaskCount']});}[_0x43ed7e(0x19f)](_0x3db1d1){const _0x5cadcb=_0x43ed7e;this[_0x5cadcb(0x277)]+=_0x3db1d1,this[_0x5cadcb(0x21f)]();}[_0x43ed7e(0x241)](_0xd4d678){const _0x2bae19=_0x43ed7e;this[_0x2bae19(0x23f)]+=_0xd4d678,this['_doneUploadTaskCount']=Math['min'](this[_0x2bae19(0x23f)],this[_0x2bae19(0x277)]),this['_emitProgress']();}[_0x43ed7e(0x24d)](){const _0xb77df7=_0x43ed7e;this[_0xb77df7(0x23f)]=this['_totalUploadTaskCount'],this[_0xb77df7(0x21f)]();}['_clearProgress'](){const _0x3a3f6e=_0x43ed7e;this['_doneUploadTaskCount']=0x0,this[_0x3a3f6e(0x277)]=0x0,this['_emitProgress']();}[_0x43ed7e(0x1f5)](_0x187117,_0x40d683){const _0xcc1ecb=_0x43ed7e;let _0x53d653=_0x187117[0x0],_0x3ae5af=_0x53d653[_0xcc1ecb(0x1b5)];return R(_0x53d653)===_0x40d683?!0x1:(this[_0xcc1ecb(0x270)][_0xcc1ecb(0x242)]({'type':_0x75752e[_0xcc1ecb(0x1c2)],'content':this['_localeService']['t'](_0xcc1ecb(0x22d),_0x3ae5af)}),!0x0);}[_0x43ed7e(0x126)](){const _0x112668=_0x43ed7e;return this[_0x112668(0x277)]!==0x0&&this[_0x112668(0x23f)]!==this['_totalUploadTaskCount'];}};X=V([B(0x0,_0x46f6af(_0x4d4c37)),B(0x1,_0x585de7),B(0x2,_0x46f6af(_0x9402c2)),B(0x3,_0x46f6af(q)),B(0x4,_0x46f6af(O)),B(0x5,_0x5d8e40),B(0x6,_0x46f6af(_0x2a7149))],X);function st(_0x4162b6){const _0x553465=_0x43ed7e;let {onClick:_0x3f8286,children:_0x1ad348,className:_0x4739cc}=_0x4162b6;return _0xc4d169(_0x553465(0x1c7),{'className':_0x2a9348(_0x553465(0x1c6),_0x4739cc),'type':_0x553465(0x1c7),'onClick':_0x3f8286,'children':_0x1ad348});}function ct(){let _0x13676c=_0x2a4e29(Y),_0x472490=_0x2a4e29(_0x9402c2);function _0x4e71f3(){const _0x316bb9=_0x22bb;_0x13676c[_0x316bb9(0x1c0)]();}return _0xc4d169(st,{'onClick':_0x4e71f3,'children':_0x472490['t']('exchange-client.uploadAgain')});}function lt(){const _0x5cd5fc=_0x43ed7e;return _0x47ca2f('div',{'className':_0x5cd5fc(0x253),'children':[_0xc4d169(_0x5cd5fc(0x1af),{'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':_0x2a4e29(_0x9402c2)['t'](_0x5cd5fc(0x260))}),_0xc4d169(ct,{})]});}function ut(_0x48f658){const _0x4bf5d0=_0x43ed7e;let {count:_0x33b29c}=_0x48f658;return _0x47ca2f(_0x4bf5d0(0x177),{'className':_0x4bf5d0(0x17d),'children':[_0xc4d169('span',{'className':_0x4bf5d0(0x273),'children':_0x2a4e29(_0x9402c2)['t'](_0x4bf5d0(0x14a),''+_0x33b29c)}),_0xc4d169(ct,{})]});}function dt(){let _0x4eaa6d=_0x2a4e29(Y),_0x1f1eb8=_0x2a4e29(_0x9402c2);function _0x307aba(){_0x4eaa6d['interrupt']();}return _0xc4d169(st,{'onClick':_0x307aba,'children':_0x1f1eb8['t']('exchange-client.cancel')});}function ft(){const _0x42450d=_0x43ed7e;let {count:_0x564819,done:_0x52d66e}=_0x2cce0a(_0x2a4e29(Y)[_0x42450d(0x197)]),[_0x55a71f,_0x938b2b]=_0x42f1a7(_0x564819>0x0?_0x52d66e/_0x564819:0x0);return _0x103f18(()=>{_0x938b2b(_0x564819>0x0?_0x52d66e/_0x564819:0x0);},[_0x564819,_0x52d66e]),_0xc4d169(_0x42450d(0x177),{'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':_0xc4d169(_0x42450d(0x177),{'className':_0x42450d(0x271),'style':{'width':Math[_0x42450d(0x191)](_0x55a71f*0x64)+'%'}})});}function pt(){const _0x560a69=_0x43ed7e;return _0x47ca2f(_0x560a69(0x177),{'className':_0x560a69(0x253),'children':[_0xc4d169('span',{'className':_0x560a69(0x246),'children':_0x2a4e29(_0x9402c2)['t'](_0x560a69(0x18d))}),_0xc4d169(_0x560a69(0x177),{'className':'univer-pl-2\x20univer-pr-4','children':_0xc4d169(ft,{})}),_0xc4d169(dt,{})]});}const mt={0x1:_0xc4d169(_0x58a2a0,{'className':_0x43ed7e(0x137)}),0x0:_0xc4d169(_0x403f6a,{'className':'univer-text-blue-500'}),0x2:_0xc4d169(_0x529c28,{'className':_0x43ed7e(0x1ba)})};function ht(){const _0x417b9d=_0x43ed7e;let [_0x55c3da,_0x1cae49]=_0x42f1a7(0x0),[_0x3b876e,_0x1b835b]=_0x42f1a7(!0x1),[_0x26dd22,_0x370161]=_0x42f1a7([]),_0x11ebb4=_0x2a4e29(O),_0x5b14e2=_0x2a4e29(_0x9402c2);_0x103f18(()=>{const _0x545f9a=_0x22bb;let _0x3c4b4c=_0x11ebb4[_0x545f9a(0x24c)][_0x545f9a(0x26f)](_0x5f2c5f=>{_0x1b835b(_0x5f2c5f);}),_0x344fee=_0x11ebb4[_0x545f9a(0x20b)][_0x545f9a(0x26f)](_0x3ff9b6=>{_0x370161(_0x3ff9b6);}),_0x49e94c=_0x11ebb4[_0x545f9a(0x1b9)][_0x545f9a(0x26f)](_0x83a0d9=>{_0x1cae49(_0x83a0d9);});return()=>{const _0x2f358c=_0x545f9a;_0x3c4b4c[_0x2f358c(0x264)](),_0x344fee[_0x2f358c(0x264)](),_0x49e94c[_0x2f358c(0x264)]();};},[]);function _0xd963bc(){_0x1b835b(!0x1);}function _0x20c266(_0x2f07d5){const _0x2695d8=_0x22bb;switch(_0x2f07d5){case 0x1:return _0x5b14e2['t'](_0x2695d8(0x1bd));case 0x0:return _0x5b14e2['t'](_0x2695d8(0x1c9));case 0x2:return _0x5b14e2['t'](_0x2695d8(0x221));default:return'';}}return _0x3b876e&&_0x47ca2f(_0x417b9d(0x177),{'className':'univer-fixed\x20univer-bottom-12\x20univer-right-3\x20univer-z-[1000]\x20univer-box-border\x20univer-flex\x20univer-w-[372px]\x20univer-flex-col\x20univer-rounded-md\x20univer-bg-white\x20univer-px-3\x20univer-pb-4\x20univer-pt-5\x20univer-shadow-md','children':[_0x47ca2f(_0x417b9d(0x177),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2','children':[_0x47ca2f(_0x417b9d(0x1af),{'className':_0x417b9d(0x1cd),'children':[_0xc4d169('span',{'className':_0x417b9d(0x141),'children':mt[_0x55c3da]}),_0xc4d169(_0x417b9d(0x1af),{'className':_0x417b9d(0x166),'children':_0x20c266(_0x55c3da)})]}),_0xc4d169('span',{'className':_0x417b9d(0x22b),'onClick':_0xd963bc,'children':_0xc4d169(_0x377a3a,{})})]}),_0x47ca2f('div',{'children':[_0x55c3da===0x0&&_0xc4d169(pt,{}),_0x55c3da===0x2&&_0xc4d169(lt,{}),_0x26dd22[_0x417b9d(0x20f)]>0x0&&_0xc4d169(He,{'list':_0x26dd22}),_0x55c3da===0x1&&_0xc4d169(ut,{'count':_0x26dd22[_0x417b9d(0x20f)]})]})]});}function Z(){return _0xc4d169(ht,{});}let Q=class extends _0x3d6021{constructor(_0x9372a9,_0x597bc0,_0x48b1b8){const _0x7817c4=_0x43ed7e;super(),this[_0x7817c4(0x144)]=_0x9372a9,this['_uiPartsService']=_0x597bc0,this[_0x7817c4(0x213)]=_0x48b1b8,this['_registerIcons'](),this['_registerComponents']();}[_0x43ed7e(0x1de)](){const _0x1ea33e=_0x43ed7e;this['disposeWithMe'](this[_0x1ea33e(0x213)][_0x1ea33e(0x14b)]({'DirectExportIcon':_0x39e7a2}));}[_0x43ed7e(0x1a0)](){const _0x32df82=_0x43ed7e;this[_0x32df82(0x224)](this['_uiPartsService'][_0x32df82(0x211)](_0x3d3eff['CONTENT'],()=>_0x1b2b79(Z,this[_0x32df82(0x144)])));}};Q=V([B(0x0,_0x46f6af(_0x446de0)),B(0x1,_0xedf751),B(0x2,_0x46f6af(_0xd59c44))],Q);let $=class extends _0x16ae97{constructor(_0x53b57d=T,_0x3bcccc,_0x41634b){const _0x2fe8b0=_0x43ed7e;super(),this[_0x2fe8b0(0x158)]=_0x53b57d,this[_0x2fe8b0(0x144)]=_0x3bcccc,this['_configService']=_0x41634b;let {..._0x1b4998}=_0x1aada9({},T,this[_0x2fe8b0(0x158)]);this['_configService'][_0x2fe8b0(0x223)](w,_0x1b4998);}[_0x43ed7e(0x1cf)](){const _0x3c294d=_0x43ed7e;_0x4f6d5b(this[_0x3c294d(0x144)],[[Q],[Y,{'useClass':X}],[q,{'useClass':J}],[H,{'useClass':U}],[O,{'useClass':k}]]);}[_0x43ed7e(0x185)](){const _0x354f29=_0x43ed7e;_0x444a5e(this[_0x354f29(0x144)],[[Q],[Y]]);}};D($,_0x43ed7e(0x1ee),_0x43ed7e(0x18f)),D($,_0x43ed7e(0x215),Le),D($,_0x43ed7e(0x1cc),Re),$=V([_0x52c3ae(_0xb2ac78,_0x52b0de),B(0x1,_0x46f6af(_0x446de0)),B(0x2,_0x4c5c56)],$);export{w as EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY,X as ExchangeOperateService,J as ExchangeService,Y as IExchangeOperateService,q as IExchangeService,H as IRequestService,O as IUploadNotificationService,U as RequestService,$ as UniverExchangeClientPlugin,Z as UploadNotificationContainer,k as UploadNotificationService,Ve as UploadNotificationState,L as downloadFile,R as getUniverInstanceTypeByFile,z as getUploadFile,nt as transformDocumentDataToSnapshotJson,rt as transformSlideDataToSnapshotJson,at as transformSnapshotJsonToDocumentData,G as transformSnapshotJsonToSlideData,it as transformSnapshotJsonToWorkbookData,W as transformWorkbookDataToSnapshotJson};
1
+ const _0x490cbe=_0x106c;(function(_0x44c1b7,_0x2cd7e6){const _0x504d60=_0x106c,_0x2c024a=_0x44c1b7();while(!![]){try{const _0x57a32f=parseInt(_0x504d60(0x172))/0x1*(-parseInt(_0x504d60(0x1a2))/0x2)+-parseInt(_0x504d60(0x134))/0x3+-parseInt(_0x504d60(0x12e))/0x4*(parseInt(_0x504d60(0x19a))/0x5)+parseInt(_0x504d60(0x15e))/0x6+-parseInt(_0x504d60(0x195))/0x7*(parseInt(_0x504d60(0xc0))/0x8)+parseInt(_0x504d60(0xfa))/0x9*(-parseInt(_0x504d60(0x1d5))/0xa)+parseInt(_0x504d60(0xce))/0xb;if(_0x57a32f===_0x2cd7e6)break;else _0x2c024a['push'](_0x2c024a['shift']());}catch(_0x32533b){_0x2c024a['push'](_0x2c024a['shift']());}}}(_0x29fd,0xd68c1));import{UniverLicensePlugin as _0x22f36e}from'@univerjs-pro/license';import{DependentOn as _0x3d16f1,Disposable as _0x1dc257,IConfigService as _0x1fefa9,ILogService as _0x3cc142,IResourceLoaderService as _0x5a3d60,IUniverInstanceService as _0x332fad,Inject as _0x2f48e0,Injector as _0x2f2441,LocaleService as _0x12b7d7,Plugin as _0x3f592f,UniverInstanceType as _0x1e7263,createIdentifier as _0x40b68d,merge as _0xc6fdf3,registerDependencies as _0x211ce9,resolveWithBasePath as _0x3ff679,toDisposable as _0x3bcf50,touchDependencies as _0x44ee94}from'@univerjs/core';import{HTTPResponseError as _0x5efb0e,HTTPService as _0x29f3f7,UniverNetworkPlugin as _0x12b298}from'@univerjs/network';import{ClockIcon as _0xee4f49,CloseIcon as _0x1b8b3b,DirectExportIcon as _0x4730cd,DocsMultiIcon as _0x4ca74f,ErrorIcon as _0x36406d,ShareRangeIcon as _0x1cf565,SheetsMultiIcon as _0x1b230f,SlidesMultiIcon as _0x550149,SuccessIcon as _0x3e9ebc}from'@univerjs/icons';import{BuiltInUIPart as _0x5584cd,IMessageService as _0x3a5859,IUIPartsService as _0xd51965,IconManager as _0x576e15,connectInjector as _0x195384,useDependency as _0x4bdb15,useObservable as _0x42b277}from'@univerjs/ui';import{useEffect as _0x4bb73c,useState as _0x3096a7}from'react';import{BehaviorSubject as _0x4ad5b6,Subject as _0x256cba}from'rxjs';import{MessageType as _0x513872,Tooltip as _0x18304a,clsx as _0x2c59b3,scrollbarClassName as _0x2bab26}from'@univerjs/design';import{jsx as _0x824b05,jsxs as _0x2b7014}from'react/jsx-runtime';import{ErrorCode as _0x1c150d,FileSource as _0x3c4bd9}from'@univerjs/protocol';import{b64DecodeUnicode as _0x1686bd,b64EncodeUnicode as _0x148e94,getSheetBlocksFromSnapshot as _0x19e78e,textDecoder as _0x423f89,textEncoder as _0x5d43d4,transformDocumentDataToSnapshot as _0x41ac56,transformSlideDataToSnapshot as _0x14f212,transformSnapshotToDocumentData as _0x212bf4,transformSnapshotToSlideData as _0x3e7616,transformSnapshotToWorkbookData as _0x14b7ec,transformWorkbookDataToSnapshot as _0x178ff3}from'@univerjs-pro/collaboration';import{deflateSync as _0xaca0b0}from'fflate';const w='exchange-client.config',T={};var Le=_0x490cbe(0x13a),Re=_0x490cbe(0xaa);function E(_0x4ac16e){'@babel/helpers - typeof';const _0xd2ef0f=_0x490cbe;return E=typeof Symbol==_0xd2ef0f(0x1db)&&typeof Symbol['iterator']==_0xd2ef0f(0x14b)?function(_0x30da18){return typeof _0x30da18;}:function(_0x176750){const _0x2b064d=_0xd2ef0f;return _0x176750&&typeof Symbol==_0x2b064d(0x1db)&&_0x176750[_0x2b064d(0x132)]===Symbol&&_0x176750!==Symbol[_0x2b064d(0x1c6)]?_0x2b064d(0x14b):typeof _0x176750;},E(_0x4ac16e);}function ze(_0x35f5cc,_0x2971a1){const _0xb36312=_0x490cbe;if(E(_0x35f5cc)!='object'||!_0x35f5cc)return _0x35f5cc;var _0x41f83e=_0x35f5cc[Symbol[_0xb36312(0x1d4)]];if(_0x41f83e!==void 0x0){var _0x4d3f0a=_0x41f83e['call'](_0x35f5cc,_0x2971a1||'default');if(E(_0x4d3f0a)!='object')return _0x4d3f0a;throw TypeError(_0xb36312(0xca));}return(_0x2971a1===_0xb36312(0x146)?String:Number)(_0x35f5cc);}function Be(_0x4b421b){const _0x102eba=_0x490cbe;var _0x3d47c8=ze(_0x4b421b,_0x102eba(0x146));return E(_0x3d47c8)=='symbol'?_0x3d47c8:_0x3d47c8+'';}function D(_0x1fd773,_0x5627d0,_0x5b40db){const _0x1384db=_0x490cbe;return(_0x5627d0=Be(_0x5627d0))in _0x1fd773?Object[_0x1384db(0xf7)](_0x1fd773,_0x5627d0,{'value':_0x5b40db,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1fd773[_0x5627d0]=_0x5b40db,_0x1fd773;}let Ve=function(_0x589525){const _0xa02820=_0x490cbe;return _0x589525[_0x589525[_0xa02820(0xd0)]=0x0]=_0xa02820(0xd0),_0x589525[_0x589525[_0xa02820(0x1ef)]=0x1]=_0xa02820(0x1ef),_0x589525[_0x589525[_0xa02820(0x138)]=0x2]=_0xa02820(0x138),_0x589525;}({});const O=_0x40b68d(_0x490cbe(0x1bf));var k=class extends _0x1dc257{constructor(){const _0x6d807f=_0x490cbe;super(),D(this,_0x6d807f(0x1d2),new _0x256cba()),D(this,_0x6d807f(0x11b),new _0x256cba()),D(this,'_list$',new _0x256cba()),D(this,_0x6d807f(0xe8),this[_0x6d807f(0x1d2)][_0x6d807f(0xe1)]()),D(this,'state$',this[_0x6d807f(0x11b)][_0x6d807f(0xe1)]()),D(this,_0x6d807f(0xcb),this[_0x6d807f(0xb1)][_0x6d807f(0xe1)]()),D(this,_0x6d807f(0x164),[]);}[_0x490cbe(0x191)](){const _0x521f9e=_0x490cbe;super[_0x521f9e(0x191)](),this[_0x521f9e(0x1d2)][_0x521f9e(0x1d7)](),this['_state$'][_0x521f9e(0x1d7)](),this['_list$']['complete']();}[_0x490cbe(0x1a1)](){this['_visible$']['next'](!0x0);}[_0x490cbe(0x16a)](){this['_visible$']['next'](!0x1);}[_0x490cbe(0x17a)](_0xd8ddd9){const _0x26951f=_0x490cbe;this[_0x26951f(0x11b)]['next'](_0xd8ddd9);}[_0x490cbe(0x114)](_0x4937e5){const _0x248180=_0x490cbe;this[_0x248180(0x164)][_0x248180(0x196)](_0x4937e5),this['_list$'][_0x248180(0x10f)](this[_0x248180(0x164)]);}};function He(_0x1af51d){const _0x82c975=_0x490cbe;let {list:_0x1a153f}=_0x1af51d;function _0x32a90e(_0x584722){switch(_0x584722){case 0x1:return _0x824b05(_0x4ca74f,{});case 0x2:return _0x824b05(_0x1b230f,{});case 0x3:return _0x824b05(_0x550149,{});default:return null;}}return _0x824b05('div',{'className':_0x2c59b3(_0x82c975(0x1a6),_0x2bab26),'children':_0x824b05('ul',{'className':'univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','children':_0x1a153f[_0x82c975(0x1e0)]((_0x137999,_0x31ed33)=>_0x824b05('li',{'children':_0x2b7014('a',{'className':_0x82c975(0x179),'href':_0x137999[_0x82c975(0xf6)],'target':_0x82c975(0x117),'rel':_0x82c975(0x182),'children':[_0x2b7014(_0x82c975(0x17e),{'className':_0x82c975(0x147),'children':[_0x824b05('span',{'className':_0x82c975(0x16b),'children':_0x32a90e(_0x137999[_0x82c975(0x1b5)])}),_0x824b05(_0x18304a,{'showIfEllipsis':!0x0,'title':_0x137999['name'],'asChild':!0x0,'children':_0x824b05('span',{'className':_0x82c975(0x17d),'children':_0x137999[_0x82c975(0xf8)]})})]}),_0x824b05(_0x82c975(0x17e),{'className':_0x82c975(0x12d),'children':_0x824b05(_0x1cf565,{})})]})},_0x31ed33))})});}const A=_0x490cbe(0x1b8),j=_0x490cbe(0xb2),M=_0x490cbe(0xda),N='application/vnd.openxmlformats-officedocument.spreadsheetml.template',P=_0x490cbe(0x1d3),F={[_0x1e7263[_0x490cbe(0x11c)]]:[''],[_0x1e7263[_0x490cbe(0x181)]]:[A],[_0x1e7263['UNIVER_SHEET']]:[j,M,N],[_0x1e7263[_0x490cbe(0x15c)]]:[P],[_0x1e7263[_0x490cbe(0x151)]]:[''],[_0x1e7263[_0x490cbe(0x18d)]]:[''],[_0x1e7263[_0x490cbe(0x10b)]]:[''],[_0x1e7263['UNRECOGNIZED']]:['']},I={[A]:_0x490cbe(0xf1),[j]:_0x490cbe(0x13e),[M]:'xlsm',[N]:_0x490cbe(0x11f),[P]:_0x490cbe(0xe0)};function Ue(_0xb41e86,_0x5e35c1,_0x4037a9){const _0x29318a=_0x490cbe;let _0x41d5d9=document[_0x29318a(0x12f)]('a');_0x41d5d9[_0x29318a(0x1fb)]=_0xb41e86,_0x41d5d9[_0x29318a(0xeb)]['display']='none',_0x41d5d9[_0x29318a(0x1e4)]=_0x5e35c1+'.'+_0x4037a9,document[_0x29318a(0x1c1)][_0x29318a(0x142)](_0x41d5d9),_0x41d5d9[_0x29318a(0x198)](),document['body'][_0x29318a(0x119)](_0x41d5d9);}function L(_0x7e3503,_0x415cf0,_0x1010eb){const _0x4cce56=_0x490cbe;let _0x27a052=URL[_0x4cce56(0x176)](_0x7e3503);Ue(_0x27a052,_0x415cf0,_0x1010eb),URL[_0x4cce56(0x186)](_0x27a052);}function R(_0x2fb2a7){const _0x4c80bd=_0x490cbe;let _0x57b594=_0x2fb2a7[_0x4c80bd(0xf8)]['split']('.')[_0x4c80bd(0xb0)]();if(!_0x57b594)return _0x1e7263[_0x4c80bd(0x11c)];let _0x3654d8=We(),_0x5b8e65=_0x1e7263[_0x4c80bd(0x11c)];return _0x3654d8[_0x4c80bd(0x190)](_0x20c6f8=>Ge(_0x57b594,_0x20c6f8)?(_0x5b8e65=_0x20c6f8,!0x0):!0x1),_0x5b8e65;}function We(){const _0x271ecd=_0x490cbe;return Object[_0x271ecd(0x1d9)](_0x1e7263)['filter'](_0x1053e9=>typeof _0x1053e9==_0x271ecd(0x1e2));}function Ge(_0x56f887,_0x3f985a){const _0x314af0=_0x490cbe;var _0x30569d;return((_0x30569d=F[_0x3f985a])==null?[]:_0x30569d)[_0x314af0(0x1e0)](_0x33366a=>(I[_0x33366a]||'')[_0x314af0(0xc4)]())[_0x314af0(0x197)](_0x56f887[_0x314af0(0xc4)]());}function z(_0x322ffa,_0x5f0732=!0x1){const _0x37304b=_0x490cbe;let _0x470250=_0x322ffa[_0x37304b(0x1e0)](_0x5e8f65=>{var _0x345275;return(_0x345275=F[_0x5e8f65])==null?[]:_0x345275;})[_0x37304b(0x1f8)](',');return new Promise((_0x4253d1,_0x5af6a9)=>{const _0x42e7c3=_0x37304b;let _0x238589=document[_0x42e7c3(0x12f)](_0x42e7c3(0xf0));_0x238589[_0x42e7c3(0x1b5)]=_0x42e7c3(0x184),_0x238589[_0x42e7c3(0x10e)]=_0x470250,_0x238589[_0x42e7c3(0xc7)]=_0x5f0732,_0x238589[_0x42e7c3(0x1c7)](_0x42e7c3(0x143),_0xbf8a60=>{const _0x43e426=_0x42e7c3;let _0x19a281=_0xbf8a60['currentTarget'];if(!_0x19a281[_0x43e426(0x1d1)]||_0x19a281[_0x43e426(0x1d1)][_0x43e426(0x165)]===0x0)throw _0x5af6a9(null),Error('No\x20file\x20selected');_0x4253d1(_0x19a281[_0x43e426(0x1d1)]);}),_0x238589['click']();});}async function Ke(_0x39bda2,_0x333cba){const _0x53bb5a=_0x490cbe;try{var _0x3e897c,_0x4ee4ff,_0x1be086;let _0x21bc41=await _0x333cba[_0x53bb5a(0x10a)](_0x39bda2,{'responseType':_0x53bb5a(0xd9)}),_0x49bdfc=_0x21bc41[_0x53bb5a(0x1c1)],_0xf9e0fa=(_0x3e897c=(_0x4ee4ff=_0x21bc41[_0x53bb5a(0x10d)]['get'](_0x53bb5a(0x189)))==null?void 0x0:_0x4ee4ff[_0x53bb5a(0x1f8)](',\x20'))==null?_0x53bb5a(0xbd):_0x3e897c,_0x30284d=_0x53bb5a(0x1c0)+(I[_0xf9e0fa]||_0x53bb5a(0x13e)),_0x23f47b=(_0x1be086=_0x21bc41['headers'][_0x53bb5a(0x10a)]('content-disposition'))==null?void 0x0:_0x1be086[_0x53bb5a(0x1f8)](',\x20');if(_0x23f47b){let _0x19cab8=_0x23f47b[_0x53bb5a(0x1c3)](/filename=(.+)/);_0x19cab8&&_0x19cab8[0x1]&&(_0x30284d=_0x19cab8[0x1]);}else _0x30284d=qe(_0x39bda2)||_0x30284d;return new File([_0x49bdfc],_0x30284d,{'type':_0xf9e0fa});}catch(_0x4f0852){console[_0x53bb5a(0xc3)](_0x53bb5a(0x152),_0x4f0852);return;}}function qe(_0x71b21c){const _0x37abcd=_0x490cbe;try{return new URL(_0x71b21c)[_0x37abcd(0x1ac)][_0x37abcd(0x11e)]('/')['pop']();}catch(_0x161908){console[_0x37abcd(0xc3)](_0x37abcd(0x1b9),_0x161908);return;}}function Je(_0x494cc9){const _0x2698b3=_0x490cbe;let _0x224d1e=new Blob([_0x494cc9[_0x2698b3(0x1ad)]],{'type':_0x2698b3(0x187)});return new File([_0x224d1e],_0x2698b3(0x105));}function Ye(_0x1da4d5,_0x35f1f7){const _0x352326=_0x490cbe;return _0x1da4d5[_0x352326(0xc8)](_0x352326(0x171),_0x35f1f7);}function Xe(_0x5bb2f2,_0xa228ae){const _0x246c81=_0x490cbe;return _0x5bb2f2[_0x246c81(0xc8)]('{taskID}',_0xa228ae);}function Ze(_0x22cd61,_0x39d50d){return _0x22cd61['replace']('{fileID}',_0x39d50d);}function B(_0x103608,_0x358b7e){return function(_0x1b877c,_0x2d303b){_0x358b7e(_0x1b877c,_0x2d303b,_0x103608);};}function V(_0x262032,_0x29f9b5,_0x14b8f8,_0x4ba0ba){const _0x3317b4=_0x490cbe;var _0x2405c4=arguments[_0x3317b4(0x165)],_0x4eae5f=_0x2405c4<0x3?_0x29f9b5:_0x4ba0ba===null?_0x4ba0ba=Object['getOwnPropertyDescriptor'](_0x29f9b5,_0x14b8f8):_0x4ba0ba,_0x5d298a;if(typeof Reflect=='object'&&typeof Reflect[_0x3317b4(0x175)]==_0x3317b4(0x1db))_0x4eae5f=Reflect[_0x3317b4(0x175)](_0x262032,_0x29f9b5,_0x14b8f8,_0x4ba0ba);else{for(var _0x2452f9=_0x262032['length']-0x1;_0x2452f9>=0x0;_0x2452f9--)(_0x5d298a=_0x262032[_0x2452f9])&&(_0x4eae5f=(_0x2405c4<0x3?_0x5d298a(_0x4eae5f):_0x2405c4>0x3?_0x5d298a(_0x29f9b5,_0x14b8f8,_0x4eae5f):_0x5d298a(_0x29f9b5,_0x14b8f8))||_0x4eae5f);}return _0x2405c4>0x3&&_0x4eae5f&&Object[_0x3317b4(0xf7)](_0x29f9b5,_0x14b8f8,_0x4eae5f),_0x4eae5f;}const H=_0x40b68d('univer-pro.exchange-client.request.service');let U=class{constructor(_0x19121c,_0x571e80){const _0x4b58a7=_0x490cbe;this['_configService']=_0x19121c,this[_0x4b58a7(0x1dc)]=_0x571e80,D(this,_0x4b58a7(0x11d),new Set());}[_0x490cbe(0x191)](){}[_0x490cbe(0xe7)](_0x142b89){const _0x3cee06=_0x490cbe;this[_0x3cee06(0x11d)]['add'](_0x142b89);}[_0x490cbe(0xd5)](){const _0x2e1572=_0x490cbe;this[_0x2e1572(0x11d)][_0x2e1572(0xad)]();}async['upload'](_0x2c793a,_0x2fd7ac=0x0,_0xcc366a=!0x1){const _0x2d5f87=_0x490cbe;if(typeof _0x2c793a==_0x2d5f87(0x146)){let _0x2c68b1=await Ke(_0x2c793a,this['_httpService']);if(!_0x2c68b1)throw Error(_0x2d5f87(0x11a));_0x2c793a=_0x2c68b1;}_0x2fd7ac=_0x2fd7ac||_0x2c793a[_0x2d5f87(0x1a3)];let _0x544f58=new FormData();_0x544f58['append'](_0x2d5f87(0x184),_0x2c793a);try{let _0x12d3bc=this['_getUploadFileURL']()+_0x2d5f87(0xb3)+_0x2fd7ac+_0x2d5f87(0x148)+_0x3c4bd9[_0x2d5f87(0x1e9)]+_0x2d5f87(0x1a0)+_0xcc366a,_0x4cc571={'body':_0x544f58},_0x1a8089=(await this['_httpService']['post'](_0x12d3bc,_0x4cc571))['body'];if(_0x1a8089[_0x2d5f87(0xc3)]&&_0x1a8089[_0x2d5f87(0xc3)][_0x2d5f87(0x1d6)]!==_0x1c150d['OK'])throw Error(this[_0x2d5f87(0xb6)](_0x2d5f87(0x18a),_0x1a8089['error']));return _0x1a8089;}catch(_0x47b099){throw _0x47b099 instanceof Error?_0x47b099:Error(this[_0x2d5f87(0xbe)](_0x2d5f87(0x18a),_0x47b099));}}async['import'](_0x1dabae){const _0xb122c6=_0x490cbe;let {fileID:_0x2a326d,type:_0xdba32f,outputType:_0x1000b1,minSheetColumnCount:_0x589de7,minSheetRowCount:_0x50c881}=_0x1dabae;try{let _0x55489c=Ye(this[_0xb122c6(0x102)](),''+_0xdba32f),_0x2bfc4f={'body':{'fileID':_0x2a326d,'outputType':_0x1000b1,'minSheetColumnCount':_0x589de7,'minSheetRowCount':_0x50c881}},_0x517e27=(await this['_httpService'][_0xb122c6(0x16d)](_0x55489c,_0x2bfc4f))['body'];return _0x517e27[_0xb122c6(0xc3)]&&_0x517e27[_0xb122c6(0xc3)][_0xb122c6(0x1d6)]!==_0x1c150d['OK']?void 0x0:_0x517e27;}catch{return;}}async[_0x490cbe(0x12b)](_0x2aa8cb){const _0x5d3ef0=_0x490cbe;let {unitID:_0x35da63,jsonID:_0x432dd3,type:_0x3e105a,sscSwitch:_0x442d2f,useImageUrl:_0x314153,ignoreTableExport:_0x2a9927}=_0x2aa8cb;try{let _0x50aad2=Ye(this['_getExportURL'](),''+_0x3e105a),_0x47a9dd={'body':{'unitID':_0x35da63,'jsonID':_0x432dd3,'type':_0x3e105a,'sscSwitch':_0x442d2f,'useImageUrl':_0x314153,'ignoreTableExport':_0x2a9927}},_0x44f947=(await this['_httpService'][_0x5d3ef0(0x16d)](_0x50aad2,_0x47a9dd))['body'];return _0x44f947[_0x5d3ef0(0xc3)]&&_0x44f947[_0x5d3ef0(0xc3)][_0x5d3ef0(0x1d6)]!==_0x1c150d['OK']?void 0x0:_0x44f947;}catch{return;}}async[_0x490cbe(0x160)](_0x1d15d9){return new Promise((_0x4927b0,_0x527fc4)=>{const _0x4c0cdf=_0x106c;try{let _0x58f026=0x0,_0x33bb12=Xe(this[_0x4c0cdf(0x1fc)](),''+_0x1d15d9),_0x4ab856=this[_0x4c0cdf(0x14e)](),_0x18aa8a=async()=>{const _0x597644=_0x4c0cdf;if(this[_0x597644(0x11d)]['has'](_0x1d15d9))return;let _0x2f4c96=(await this['_httpService']['get'](_0x33bb12))[_0x597644(0x1c1)];if(_0x2f4c96[_0x597644(0xc3)]&&_0x2f4c96[_0x597644(0xc3)][_0x597644(0x1d6)]===_0x1c150d['OK']){if(_0x2f4c96[_0x597644(0x19f)]===_0x597644(0xef))_0x4927b0(_0x2f4c96);else{if(_0x2f4c96[_0x597644(0x19f)]===_0x597644(0x122)){let _0xd9bea5=0x3e8;if(_0x58f026>=_0x4ab856){_0x527fc4(_0x2f4c96);return;}else _0x58f026>=0x7530&&(_0xd9bea5=0x1388);_0x58f026+=_0xd9bea5,setTimeout(_0x18aa8a,_0xd9bea5);}else _0x527fc4(_0x2f4c96);}}else _0x527fc4(_0x2f4c96);};_0x18aa8a();}catch(_0x562bc0){_0x527fc4(_0x562bc0 instanceof Error?_0x562bc0:Error(String(_0x562bc0)));}});}async['signUrl'](_0x14e0dd){const _0x3e2426=_0x490cbe;try{let _0x3a702d=Ze(this[_0x3e2426(0x1de)](),''+_0x14e0dd);return(await this[_0x3e2426(0x1dc)][_0x3e2426(0x10a)](_0x3a702d))[_0x3e2426(0x1c1)];}catch{return;}}async['getTextFromUrl'](_0x5d6c42){const _0x1d5d8c=_0x490cbe;try{return(await this[_0x1d5d8c(0x1dc)][_0x1d5d8c(0x10a)](_0x5d6c42,{'responseType':_0x1d5d8c(0x1f1)}))['body'];}catch{return;}}[_0x490cbe(0xb6)](_0x233746,_0x3ccace){const _0x1df561=_0x490cbe;let _0x427cab=this[_0x1df561(0x17b)](_0x3ccace);return _0x427cab?_0x233746+':\x20'+_0x427cab:_0x233746;}['_buildHttpErrorMessage'](_0x586747,_0x30be60){const _0x10baba=_0x490cbe;if(_0x30be60 instanceof _0x5efb0e){let _0x42630f=typeof _0x30be60['status']==_0x10baba(0x1e2)?''+_0x30be60['status']+(_0x30be60[_0x10baba(0xc5)]?'\x20'+_0x30be60['statusText']:''):void 0x0,_0x492e01=this[_0x10baba(0x17b)](_0x30be60[_0x10baba(0xc3)]);return _0x42630f&&_0x492e01?_0x586747+_0x10baba(0x1ae)+_0x42630f+_0x10baba(0x1c4)+_0x492e01:_0x42630f?_0x586747+_0x10baba(0x1ae)+_0x42630f:_0x492e01?_0x586747+':\x20'+_0x492e01:_0x586747;}let _0x2a3647=this[_0x10baba(0x17b)](_0x30be60);return _0x2a3647?_0x586747+':\x20'+_0x2a3647:_0x586747;}['_extractErrorDetail'](_0x19ed05){const _0x28252f=_0x490cbe;if(typeof _0x19ed05=='string'){let _0x1a74ac=_0x19ed05[_0x28252f(0xae)]();return _0x1a74ac['length']>0x0?_0x1a74ac:void 0x0;}if(_0x19ed05 instanceof Error)return this[_0x28252f(0x17b)](_0x19ed05[_0x28252f(0x154)]);if(!_0x19ed05||typeof _0x19ed05!=_0x28252f(0x185)||Array[_0x28252f(0xcd)](_0x19ed05))return;let _0x1d2096=_0x19ed05,_0x548274=this[_0x28252f(0x17b)](_0x1d2096['message']);if(_0x548274)return _0x548274;if(_0x1d2096['error']&&typeof _0x1d2096[_0x28252f(0xc3)]=='object'&&!Array[_0x28252f(0xcd)](_0x1d2096[_0x28252f(0xc3)])){let _0x2d22dd=this[_0x28252f(0x17b)](_0x1d2096['error']);if(_0x2d22dd)return _0x2d22dd;}}['_getUploadFileURL'](){const _0x19f1f0=_0x490cbe;var _0x4d08d9;let _0xfd3aa5=this[_0x19f1f0(0x161)][_0x19f1f0(0x1b4)](w);return(_0x4d08d9=_0xfd3aa5==null?void 0x0:_0xfd3aa5[_0x19f1f0(0x19d)])==null?'/universer-api/stream/file/upload':_0x4d08d9;}[_0x490cbe(0x102)](){const _0x1a9bd9=_0x490cbe;var _0x38ae9e;let _0x2c09d5=this[_0x1a9bd9(0x161)]['getConfig'](w);return(_0x38ae9e=_0x2c09d5==null?void 0x0:_0x2c09d5[_0x1a9bd9(0x1f9)])==null?_0x1a9bd9(0x1df):_0x38ae9e;}[_0x490cbe(0xdb)](){const _0x48add3=_0x490cbe;var _0x490a9e;let _0xb56418=this[_0x48add3(0x161)][_0x48add3(0x1b4)](w);return(_0x490a9e=_0xb56418==null?void 0x0:_0xb56418[_0x48add3(0x1cc)])==null?_0x48add3(0x1ba):_0x490a9e;}[_0x490cbe(0x1fc)](){const _0x5f4ffe=_0x490cbe;var _0x253f02;let _0x2f4191=this[_0x5f4ffe(0x161)]['getConfig'](w);return(_0x253f02=_0x2f4191==null?void 0x0:_0x2f4191['getTaskServerUrl'])==null?'/universer-api/exchange/task/{taskID}':_0x253f02;}[_0x490cbe(0x1de)](){const _0x86ac29=_0x490cbe;var _0x363fac;let _0xb8f936=this[_0x86ac29(0x161)][_0x86ac29(0x1b4)](w);return(_0x363fac=_0xb8f936==null?void 0x0:_0xb8f936['signUrlServerUrl'])==null?'/universer-api/file/{fileID}/sign-url':_0x363fac;}[_0x490cbe(0x14e)](){const _0x3e6780=_0x490cbe;var _0x39440a;let _0x4c936c=this[_0x3e6780(0x161)][_0x3e6780(0x1b4)](w);return(_0x39440a=_0x4c936c==null?void 0x0:_0x4c936c['maxTimeoutTime'])==null?0x1d4c0:_0x39440a;}};U=V([B(0x0,_0x1fefa9),B(0x1,_0x2f48e0(_0x29f3f7))],U);function Qe(_0x19342a){const _0xd39c61=_0x490cbe;let _0x1936fe=_0x19342a['workbook'];if(!_0x1936fe)return null;let _0x435933={};_0x1936fe['sheets']&&Object['keys'](_0x1936fe[_0xd39c61(0xfb)])[_0xd39c61(0xa9)](_0x46952b=>{const _0x1b2f72=_0xd39c61;let _0x2b0c50=_0x1936fe['sheets'][_0x46952b];_0x435933[_0x46952b]={..._0x2b0c50,'originalMeta':_0x148e94(_0x423f89[_0x1b2f72(0x1f4)](_0x2b0c50[_0x1b2f72(0x1d8)]))};});let _0x226cc0=_0x148e94(_0x423f89['decode'](_0x1936fe[_0xd39c61(0x1d8)]));return{..._0x19342a,'workbook':{..._0x1936fe,'originalMeta':_0x226cc0,'sheets':_0x435933},'doc':{},'slide':void 0x0};}function _0x29fd(){const _0x4252c3=['_uiPartsService','saveChangeset','_list','length','exchange-client.uploadSuccess','searchParams','univer-pro.exchange-client.operate.service','origin','hide','univer-flex\x20univer-h-5\x20univer-text-xl','getSheetBlock','post','exchange-client.uploadAgain','importXLSXToUnitId','importDOCXToSnapshot','{type}','6419WCkbVL','getUnitId','_registerComponents','decorate','createObjectURL','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','shift','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','updateState','_extractErrorDetail','importFileToUnitIdByCurrentType','univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','span','getTextFromUrl','_getUnitDocJson','UNIVER_DOC','noreferrer','exchange-client.fileTypeError','file','object','revokeObjectURL','application/json','importPPTXToSnapshot','Content-Type','upload\x20request\x20failed','_emitProgress','_getUnitSlideJson','UNIVER_BOARD','doc','Method\x20not\x20implemented.','some','dispose','fetchMissingChangesets','Error','_import','7gBtTgy','unshift','includes','click','min','1933350gLAwLZ','UNIVER_EXCHANGE_CLIENT_PLUGIN','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','uploadFileServerUrl','downloadEndpointUrl','status','&flate=','show','358yERFxP','size','registerLink','parse','univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden','_uploadNotificationService','_getMinSheetColumnCount','sign\x20url\x20error','upload\x20failed:\x20FileId\x20is\x20empty','_upload','pathname','buffer',':\x20HTTP\x20','jsonID','importPPTXToUnitId','_getMinSheetRowCount','packageName','catch','getConfig','type','_sheetBlockCache','_injector','application/vnd.openxmlformats-officedocument.wordprocessingml.document','Error\x20getting\x20file\x20name\x20from\x20URL:','/universer-api/exchange/{type}/export','_addDoneTask','univer-pl-2\x20univer-pr-4','_messageService','_showDownloadMessage','univer-pro.exchange-client.upload-notification.service','file.','body','toString','match','\x20-\x20','_totalUploadTaskCount','prototype','addEventListener','_localeService','_showUploadMessage','success','univer-mt-3\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-2\x20univer-pr-1','exportServerUrl','Failed\x20to\x20get\x20jsonID\x20from\x20task','univer-mx-0\x20univer-mb-3\x20univer-mt-4\x20univer-h-1.5\x20univer-w-[324px]\x20univer-rounded-lg\x20univer-bg-gray-200','sheetBlocks','CONTENT','files','_visible$','application/vnd.openxmlformats-officedocument.presentationml.presentation','toPrimitive','10yqFnYI','code','complete','originalMeta','values','univer-pro.exchange-client.exchange.service','function','_httpService','disposeWithMe','_getSignURL','/universer-api/exchange/{type}/import','map','register','number','_getUnitIDSlide','download','exportXLSXByUnitId','div','exportPPTXBySnapshot','unitID','HttpImport','interrupt','exchange-client.downloading','exportDOCXByUnitId','Failed\x20to\x20get\x20text\x20from\x20url','_getIgnoreTableExport','SUCCESS','univer-text-red-500','text','slide','univer-ml-1.5\x20univer-font-semibold\x20univer-leading-6\x20univer-text-gray-900\x20dark:!univer-text-white','decode','_registerIcons','Failed\x20to\x20get\x20file\x20from\x20url','_getLinkByUnitId','join','importServerUrl','Warning','href','_getTaskURL','importFileToUnitId','forEach','1.0.0-alpha.2','Get\x20outputType\x20error','_importTaskId','clear','trim','keys','pop','_list$','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','?size=','_doneUploadTaskCount','_importToSnapshot','_buildProtocolErrorMessage','exportXLSXBySnapshot','progress$','Info','uploadFileToUnitId','exchange-client.uploading','importWorkbookDataToUnitId','application/octet-stream','_buildHttpErrorMessage','_export','6298360WndOcp','workbook.json','stringify','error','toLowerCase','statusText','_getDisableCellImageConversion','multiple','replace','_exchangeService','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','list$','_getDownloadEndpointURL','isArray','42476566VNeXNd','_logService','UPLOADING','unit','_signUrl','_getUnitNameByType','subscribe','clearTaskInterrupted','FileId','setConfig','_univerInstanceService','blob','application/vnd.ms-excel.sheet.macroEnabled.12','_getExportURL','univer-flex','exchange-client.cancel','exchange-client.networkError','_config','pptx','asObservable','block\x20is\x20required','Failed\x20to\x20get\x20taskID\x20from\x20import\x20response','_exportBySnapshot','_requestState$','exchange-client.uploadSuccessTip','setTaskInterrupted','visible$','exchange-client.wait','unsubscribe','style','upload\x20failed:\x20missing\x20FileId\x20in\x20response','floor','univer-mt-5\x20univer-flex\x20univer-flex-col','done','input','docx','_uploadTaskNotDone','blockID','Success','exchange-client.interrupt','link','defineProperty','name','disposeUnit','7684938ZaOnCR','sheets','Failed\x20to\x20get\x20fileID\x20from\x20task','_resourceLoaderService','minSheetColumnCount','UNIVER_SHEET','encode','_progress$','_getImportURL','resources','CONNECTOR_DATA_TOO_LARGE','file.json','univer-text-green-500','_getEnableServerSideComputing','importXLSXToSnapshot','getSnapshot','get','UNIVER_PROJECT','data','headers','accept','next','_clearProgress','exportDOCXBySnapshot','_addTotalCount','state$','pushLink','_getUnitIDDoc','getUnitType','_blank','Failed\x20to\x20get\x20unitID\x20from\x20task','removeChild','upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url','_state$','UNIVER_UNKNOWN','_taskInterrupted','split','xltx','_iconManager','fileID','pending','_refreshSlide','createUnit','signUrl','_importFileToUnitId','exchange-client.unknownMistake','exchange-client.internalError','rev','updateSnapshot','export','Failed\x20to\x20transform\x20snapshot\x20to\x20string','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','4rjgaFK','createElement','univer-text-blue-500','options','constructor','saveSheetBlock','2883897nGudWK','UNRECOGNIZED','univer-text-sm\x20univer-text-gray-500','univer-mb-3\x20univer-py-0\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','ERROR','getResourcesRequest','@univerjs-pro/exchange-client','version','_getUnitJson','ignoreTableExport','xlsx','minSheetRowCount','snapshot','Failed\x20to\x20parse\x20json','appendChild','change','exportPPTXByUnitId','_getUnitName','string','univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','&source=','_refresh','import','symbol','_completeProgress','_fileTypeError','_getMaxPollingTime','enableServerSideComputing','exchange-client.tooLarge','UNIVER_BASE','Error\x20fetching\x20file\x20from\x20URL:','url','message','interruptImportTask','set','requestState$','_requestService','onStarting','univer-h-6\x20univer-text-2xl','getCurrentUnitOfType','UNIVER_SLIDE','export\x20error','6932556ewsMiQ','resolve','getTask','_configService'];_0x29fd=function(){return _0x4252c3;};return _0x29fd();}function $e(_0x48b77b){const _0x441d20=_0x490cbe;let _0x3bf739=_0x48b77b[_0x441d20(0x18e)];if(!_0x3bf739)return null;let _0x147796=_0x148e94(_0x423f89[_0x441d20(0x1f4)](_0x3bf739[_0x441d20(0x1d8)]));return{..._0x48b77b,'workbook':{},'doc':{..._0x3bf739,'originalMeta':_0x147796},'slide':void 0x0};}function et(_0x161f7f){const _0x35568b=_0x490cbe;var _0x2a71ef;let _0x533827=(_0x2a71ef=_0x161f7f[_0x35568b(0x1f2)])==null?_0x161f7f[_0x35568b(0x18e)]:_0x2a71ef;if(!_0x533827)return null;let _0x395da6=typeof _0x533827[_0x35568b(0x1d8)]==_0x35568b(0x146)?_0x533827[_0x35568b(0x1d8)]:_0x148e94(_0x423f89[_0x35568b(0x1f4)](_0x533827['originalMeta']));return{..._0x161f7f,'workbook':{},'doc':{},'slide':{..._0x533827,'originalMeta':_0x395da6}};}function tt(_0x4d6f75){const _0x485c85=_0x490cbe;let _0x58245c={};return _0x4d6f75[_0x485c85(0xa9)](_0x1b67b9=>{const _0x2ec65f=_0x485c85;_0x58245c[_0x1b67b9['id']]={..._0x1b67b9,'data':_0x148e94(_0x423f89[_0x2ec65f(0x1f4)](_0x1b67b9[_0x2ec65f(0x10c)]))};}),_0x58245c;}async function W(_0x209582){const _0x1f6ea3=_0x490cbe;var _0x3bec7d;let _0x14cbd4={'metadata':void 0x0},_0x436ec8=_0x209582['id'],_0xe21dea=(_0x3bec7d=_0x209582[_0x1f6ea3(0x129)])==null?0x0:_0x3bec7d,_0x294b94=new K(),{snapshot:_0x3ba671}=await _0x178ff3(_0x14cbd4,_0x209582,_0x436ec8,_0xe21dea,_0x294b94),_0x153ec7=await _0x19e78e(_0x3ba671,_0x294b94),_0x981036=Qe(_0x3ba671);if(!_0x981036)throw Error(_0x1f6ea3(0x12c));return{'snapshot':_0x981036,'sheetBlocks':tt(_0x153ec7)};}async function nt(_0x38738b){const _0x105fc2=_0x490cbe;var _0x58b0f9;let _0x14885b={'metadata':void 0x0},_0x2a9d06=_0x38738b['id'],{snapshot:_0xbf20d5}=await _0x41ac56(_0x14885b,_0x38738b,_0x2a9d06,(_0x58b0f9=_0x38738b[_0x105fc2(0x129)])==null?0x0:_0x58b0f9,new K()),_0x347333=$e(_0xbf20d5);if(!_0x347333)throw Error(_0x105fc2(0x12c));return{'snapshot':_0x347333,'sheetBlocks':{}};}async function rt(_0x5f5767){const _0x4fbcc2=_0x490cbe;var _0x465497;let _0x1a84ed=_0x5f5767['id'],_0x243fad=(_0x465497=_0x5f5767[_0x4fbcc2(0x129)])==null?0x0:_0x465497,_0x5e5628=new K(),{snapshot:_0x5a72c8}=await _0x14f212(_0x5f5767[_0x4fbcc2(0x103)],_0x5f5767,_0x1a84ed,_0x243fad,_0x5e5628),_0x22387a=et(_0x5a72c8);if(!_0x22387a)throw Error(_0x4fbcc2(0x12c));return{'snapshot':_0x22387a,'sheetBlocks':{}};}async function it(_0x4ede90){const _0x1ae67b=_0x490cbe;let _0x479682=_0x4ede90[_0x1ae67b(0x140)],_0x5c5b8f=_0x4ede90[_0x1ae67b(0x1cf)]||{};return await _0x14b7ec(_0x479682,Object[_0x1ae67b(0xaf)](_0x5c5b8f)[_0x1ae67b(0x1e0)](_0x313b33=>_0x5c5b8f[_0x313b33])['map'](_0x5830f7=>({..._0x5830f7,'data':_0x5830f7['data']?JSON[_0x1ae67b(0x1a5)](_0x1686bd(_0x5830f7[_0x1ae67b(0x10c)])):void 0x0})));}function at(_0x18a62f){let _0x2ce99e=_0x18a62f['snapshot'];return _0x212bf4(_0x2ce99e);}function G(_0x566f8c){const _0x1ffaff=_0x490cbe;let _0x180287=_0x566f8c[_0x1ffaff(0x140)];return _0x3e7616(_0x180287);}var K=class{constructor(){D(this,'_sheetBlockCache',new Map());}['getUnitOnRev'](){const _0x541912=_0x490cbe;return Promise[_0x541912(0x15f)]({'snapshot':{'unitID':'','type':_0x1e7263[_0x541912(0xff)],'rev':0x0,'workbook':void 0x0,'doc':void 0x0,'slide':void 0x0,'board':void 0x0},'changesets':[],'error':{'code':_0x1c150d['OK'],'message':''}});}[_0x490cbe(0x16c)](_0xcd258d,_0x16f529){const _0x11d547=_0x490cbe;let _0x3d044d=this[_0x11d547(0x1b6)]['get'](_0x16f529['blockID']);return Promise['resolve']({'block':_0x3d044d,'error':{'code':_0x1c150d['OK'],'message':''}});}['getDeserializedSheetBlock'](_0x58acf0,_0x42a1ed){const _0x36dfb4=_0x490cbe;let _0x521623=this[_0x36dfb4(0x1b6)][_0x36dfb4(0x10a)](_0x42a1ed[_0x36dfb4(0xf3)]);return Promise[_0x36dfb4(0x15f)]({'block':_0x521623===void 0x0?void 0x0:{..._0x521623,'data':JSON['parse'](_0x423f89[_0x36dfb4(0x1f4)](_0x521623[_0x36dfb4(0x10c)]))},'error':{'code':_0x1c150d['OK'],'message':''}});}[_0x490cbe(0x192)](){const _0x6a70f9=_0x490cbe;return Promise[_0x6a70f9(0x15f)]({'changesets':[],'error':{'code':_0x1c150d['OK'],'message':''}});}[_0x490cbe(0x139)](){const _0x557403=_0x490cbe;return Promise[_0x557403(0x15f)]({'resources':{},'error':{'code':_0x1c150d['OK'],'message':''}});}['saveSnapshot'](){const _0x52a2b4=_0x490cbe;return Promise[_0x52a2b4(0x15f)]({'error':{'code':_0x1c150d['OK'],'message':''}});}[_0x490cbe(0x12a)](){const _0x4af2a1=_0x490cbe;return Promise[_0x4af2a1(0x15f)]({'error':{'code':_0x1c150d['OK'],'message':''}});}[_0x490cbe(0x133)](_0x2979f2,_0xa960a6){const _0x2d8de4=_0x490cbe;let {block:_0x2483ef}=_0xa960a6;return _0x2483ef?(this[_0x2d8de4(0x1b6)][_0x2d8de4(0x156)](_0x2483ef['id'],_0x2483ef),Promise['resolve']({'error':{'code':_0x1c150d['OK'],'message':''},'blockID':_0x2483ef['id']})):Promise['resolve']({'error':{'code':_0x1c150d['UNDEFINED'],'message':_0x2d8de4(0xe2)},'blockID':''});}[_0x490cbe(0x163)](){return Promise['resolve']({'error':{'code':_0x1c150d['OK'],'message':''},'concurrent':[]});}['copyFileMeta'](){const _0x5258b4=_0x490cbe;return Promise[_0x5258b4(0x15f)]({'error':void 0x0,'fileMetaId':''});}['getLatestCsReqIdBySid'](){return Promise['resolve']({'error':void 0x0,'latestReqID':0x0});}};const q=_0x40b68d(_0x490cbe(0x1da));let J=class extends _0x1dc257{constructor(_0x22910d,_0x9df2a7,_0x4efd0d){const _0x4db14c=_0x490cbe;super(),this[_0x4db14c(0x161)]=_0x22910d,this['_httpService']=_0x9df2a7,this[_0x4db14c(0x158)]=_0x4efd0d,D(this,_0x4db14c(0xac),null),D(this,_0x4db14c(0xe5),new _0x256cba()),D(this,_0x4db14c(0x157),this[_0x4db14c(0xe5)][_0x4db14c(0xe1)]());}[_0x490cbe(0x191)](){const _0x2b6984=_0x490cbe;super[_0x2b6984(0x191)](),this[_0x2b6984(0xe5)][_0x2b6984(0x1d7)]();}async[_0x490cbe(0x170)](_0x5e944a){const _0x1c7e01=_0x490cbe;let _0x43c81f=await this[_0x1c7e01(0xb5)](_0x5e944a,_0x1e7263[_0x1c7e01(0x181)]);if(!_0x43c81f||!_0x43c81f[_0x1c7e01(0x140)])return;let _0x5653f6=at(_0x43c81f);if(_0x5653f6)return _0x5653f6;}async[_0x490cbe(0x1ec)](_0x2e7217){const _0xc6913f=_0x490cbe;return this['_export'](_0x2e7217,0x1,_0x1e7263[_0xc6913f(0x181)]);}async[_0x490cbe(0x111)](_0x17fb63){let _0x591e56=await nt(_0x17fb63);return this['_exportBySnapshot'](_0x591e56,_0x1e7263['UNIVER_DOC']);}async[_0x490cbe(0x188)](_0x1e4372){const _0x53237b=_0x490cbe;let _0xe27d1c=await this[_0x53237b(0xb5)](_0x1e4372,_0x1e7263[_0x53237b(0x15c)]);if(!(!_0xe27d1c||!_0xe27d1c['snapshot']))return G(_0xe27d1c);}async[_0x490cbe(0x144)](_0xf863c5){const _0x355a0a=_0x490cbe;return this[_0x355a0a(0xbf)](_0xf863c5,0x1,_0x1e7263['UNIVER_SLIDE']);}async['exportPPTXBySnapshot'](_0x2abb23){const _0x53319c=_0x490cbe;let _0x5e071=await rt(_0x2abb23);return this[_0x53319c(0xe4)](_0x5e071,_0x1e7263['UNIVER_SLIDE']);}async[_0x490cbe(0x108)](_0x21a447){const _0x554d2f=_0x490cbe;let _0x58e456=await this[_0x554d2f(0xb5)](_0x21a447,_0x1e7263[_0x554d2f(0xff)]);if(!_0x58e456)return;let _0x4e6c9b=await it(_0x58e456);if(_0x4e6c9b)return _0x4e6c9b;}async[_0x490cbe(0x1e5)](_0x1a04f0){const _0x377d85=_0x490cbe;return this[_0x377d85(0xbf)](_0x1a04f0,0x1,_0x1e7263[_0x377d85(0xff)]);}async[_0x490cbe(0xb7)](_0x463637){const _0x24199a=_0x490cbe;let _0x5f32fd=await W(_0x463637);return this[_0x24199a(0xe4)](_0x5f32fd,_0x1e7263[_0x24199a(0xff)]);}async[_0x490cbe(0xa8)](_0xd237a8,_0x200d55){const _0x13a81b=_0x490cbe;var _0x1d848a,_0x2f1099;let _0x55152f=await this[_0x13a81b(0x1ab)](_0xd237a8);if(!_0x55152f)return;let _0x1e7548=await this[_0x13a81b(0x194)](_0x55152f,0x1,_0x200d55);if(!_0x1e7548)return;this['_importTaskId']=_0x1e7548,this['_requestService'][_0x13a81b(0xd5)]();let _0x226242=await this[_0x13a81b(0x158)][_0x13a81b(0x160)](_0x1e7548)[_0x13a81b(0x1b3)](_0xf33786=>{const _0x36f38d=_0x13a81b;var _0x4256f8;let _0x1358f2=_0xf33786 instanceof Error?_0xf33786[_0x36f38d(0x154)]:(_0x4256f8=_0xf33786[_0x36f38d(0xc3)])==null?void 0x0:_0x4256f8['message'];this[_0x36f38d(0xe5)]['next']({'error':{'code':_0x1c150d['UNRECOGNIZED'],'message':_0x1358f2||''},'state':0x3});});if(!_0x226242)return;let _0x594fc3=(_0x1d848a=_0x226242['import'])==null?void 0x0:_0x1d848a['outputType'],_0x2a36ee=((_0x2f1099=_0x226242[_0x13a81b(0x14a)])==null?void 0x0:_0x2f1099[_0x13a81b(0x1e8)])||'';if(_0x594fc3!==0x1){this[_0x13a81b(0xe5)][_0x13a81b(0x10f)]({'error':{'code':_0x1c150d['UNRECOGNIZED'],'message':_0x13a81b(0xab)},'state':0x3});return;}if(_0x2a36ee[_0x13a81b(0x165)]===0x0){this[_0x13a81b(0xe5)][_0x13a81b(0x10f)]({'error':{'code':_0x1c150d[_0x13a81b(0x135)],'message':_0x13a81b(0x118)},'state':0x3});return;}return this[_0x13a81b(0xe5)][_0x13a81b(0x10f)]({'error':_0x226242[_0x13a81b(0xc3)],'state':0x3}),_0x2a36ee;}async[_0x490cbe(0xbc)](_0x56ee10){const _0x5b5080=_0x490cbe;let _0x49e723=await W(_0x56ee10),_0x3665e9=typeof _0x56ee10['id']=='string'&&_0x56ee10['id'][_0x5b5080(0xae)]()?_0x56ee10['id']['trim']()+'.json':_0x5b5080(0xc1),_0x381316=new File([JSON[_0x5b5080(0xc2)](_0x49e723)],_0x3665e9,{'type':_0x5b5080(0x187)});return this[_0x5b5080(0xa8)](_0x381316,_0x1e7263['UNIVER_SHEET']);}['interruptImportTask'](){const _0x3d1e9e=_0x490cbe;this['_importTaskId']&&this[_0x3d1e9e(0x158)][_0x3d1e9e(0xe7)](this[_0x3d1e9e(0xac)]);}async[_0x490cbe(0xb5)](_0x5d1a26,_0x5a3b41){const _0x3b5f4a=_0x490cbe;var _0x3abae4,_0x3b6396;let _0x358d84=await this[_0x3b5f4a(0x1ab)](_0x5d1a26);if(!_0x358d84)return;let _0x4801c8=await this[_0x3b5f4a(0x194)](_0x358d84,0x2,_0x5a3b41);if(!_0x4801c8)return;this[_0x3b5f4a(0xac)]=_0x4801c8,this['_requestService'][_0x3b5f4a(0xd5)]();let _0x2bd240=await this[_0x3b5f4a(0x158)][_0x3b5f4a(0x160)](_0x4801c8)[_0x3b5f4a(0x1b3)](_0x2f456f=>{const _0x3fb42c=_0x3b5f4a;var _0x5155a8;let _0x197840=_0x2f456f instanceof Error?_0x2f456f[_0x3fb42c(0x154)]:(_0x5155a8=_0x2f456f['error'])==null?void 0x0:_0x5155a8['message'];this[_0x3fb42c(0xe5)][_0x3fb42c(0x10f)]({'error':{'code':_0x1c150d[_0x3fb42c(0x135)],'message':_0x197840||''},'state':0x3});});if(!_0x2bd240)return;let _0x3540a2=(_0x3abae4=_0x2bd240['import'])==null?void 0x0:_0x3abae4['outputType'],_0xf7d91d=((_0x3b6396=_0x2bd240[_0x3b5f4a(0x14a)])==null?void 0x0:_0x3b6396[_0x3b5f4a(0x1af)])||'';if(_0x3540a2!==0x2){this[_0x3b5f4a(0xe5)][_0x3b5f4a(0x10f)]({'error':{'code':_0x1c150d['UNRECOGNIZED'],'message':_0x3b5f4a(0xab)},'state':0x3});return;}if(_0xf7d91d[_0x3b5f4a(0x165)]===0x0){this[_0x3b5f4a(0xe5)][_0x3b5f4a(0x10f)]({'error':{'code':_0x1c150d[_0x3b5f4a(0x135)],'message':_0x3b5f4a(0x1cd)},'state':0x3});return;}this[_0x3b5f4a(0xe5)]['next']({'error':_0x2bd240[_0x3b5f4a(0xc3)],'state':0x3});let _0x5a3856=await this['_signUrl'](_0xf7d91d);if(!_0x5a3856)return;let _0xb443a=await this['_requestService'][_0x3b5f4a(0x17f)](_0x5a3856);if(!_0xb443a){this['_requestState$'][_0x3b5f4a(0x10f)]({'error':{'code':_0x1c150d[_0x3b5f4a(0x135)],'message':_0x3b5f4a(0x1ed)},'state':0x5});return;}try{let _0x24c816=JSON[_0x3b5f4a(0x1a5)](_0xb443a);return this[_0x3b5f4a(0xe5)][_0x3b5f4a(0x10f)]({'error':{'code':_0x1c150d['OK'],'message':'success'},'state':0x5}),_0x24c816;}catch{this[_0x3b5f4a(0xe5)][_0x3b5f4a(0x10f)]({'error':{'code':_0x1c150d[_0x3b5f4a(0x135)],'message':_0x3b5f4a(0x141)},'state':0x5});}}async['_exportBySnapshot'](_0x5eb8de,_0x1f9d2c){const _0x112725=_0x490cbe;let _0x57d94f=JSON['stringify'](_0x5eb8de),_0x3c5df7=_0x5d43d4[_0x112725(0x100)](_0x57d94f),_0xc55094=_0xaca0b0(_0x3c5df7),_0x3ad908=_0x3c5df7[_0x112725(0x165)],_0x59e525=Je(_0xc55094),_0x3ffe0d=await this[_0x112725(0x1ab)](_0x59e525,_0x3ad908,!0x0);if(_0x3ffe0d)return this[_0x112725(0xbf)](_0x3ffe0d,0x2,_0x1f9d2c);}async['_export'](_0x3d8688,_0x52e8db,_0x3080bd){const _0xed03a3=_0x490cbe;var _0x19f6a7;let _0x3ef822=await this[_0xed03a3(0x158)]['export']({'unitID':_0x52e8db===0x1?_0x3d8688:'','jsonID':_0x52e8db===0x2?_0x3d8688:'','type':_0x3080bd,'sscSwitch':this[_0xed03a3(0x107)](),'useImageUrl':this[_0xed03a3(0xc6)](),'ignoreTableExport':this[_0xed03a3(0x1ee)]()});if(!_0x3ef822){this[_0xed03a3(0xe5)][_0xed03a3(0x10f)]({'error':{'code':_0x1c150d[_0xed03a3(0x135)],'message':_0xed03a3(0x15d)},'state':0x2});return;}if(this[_0xed03a3(0xe5)]['next']({'error':_0x3ef822[_0xed03a3(0xc3)],'state':0x2}),_0x3ef822[_0xed03a3(0xc3)]&&_0x3ef822[_0xed03a3(0xc3)][_0xed03a3(0x1d6)]!==_0x1c150d['OK'])return;let _0x16d6ff=_0x3ef822['taskID'],_0xb158b1=await this[_0xed03a3(0x158)]['getTask'](_0x16d6ff)[_0xed03a3(0x1b3)](_0x7802ad=>{const _0x236e89=_0xed03a3;var _0x398f01;let _0x143dd9=_0x7802ad instanceof Error?_0x7802ad[_0x236e89(0x154)]:(_0x398f01=_0x7802ad[_0x236e89(0xc3)])==null?void 0x0:_0x398f01[_0x236e89(0x154)];this[_0x236e89(0xe5)]['next']({'error':{'code':_0x1c150d[_0x236e89(0x135)],'message':_0x143dd9||''},'state':0x3});});if(!_0xb158b1)return;let _0x19b288=((_0x19f6a7=_0xb158b1[_0xed03a3(0x12b)])==null?void 0x0:_0x19f6a7[_0xed03a3(0x121)])||'';if(_0x19b288[_0xed03a3(0x165)]===0x0){this[_0xed03a3(0xe5)][_0xed03a3(0x10f)]({'error':{'code':_0x1c150d[_0xed03a3(0x135)],'message':_0xed03a3(0xfc)},'state':0x3});return;}this[_0xed03a3(0xe5)][_0xed03a3(0x10f)]({'error':_0xb158b1['error'],'state':0x3});let _0x31a62f=await this[_0xed03a3(0xd2)](_0x19b288);if(!_0x31a62f)return;let _0x26cc3c=await Ke(_0x31a62f,this[_0xed03a3(0x1dc)]);if(!_0x26cc3c){this[_0xed03a3(0xe5)][_0xed03a3(0x10f)]({'error':{'code':_0x1c150d[_0xed03a3(0x135)],'message':_0xed03a3(0x1f6)},'state':0x6});return;}return this[_0xed03a3(0xe5)][_0xed03a3(0x10f)]({'error':{'code':_0x1c150d['OK'],'message':_0xed03a3(0x1ca)},'state':0x6}),_0x26cc3c;}async['_upload'](_0x45d057,_0x52669f,_0x3b11e2){const _0x5ac8b5=_0x490cbe;let _0x325b86;try{_0x325b86=await this[_0x5ac8b5(0x158)]['upload'](_0x45d057,_0x52669f,_0x3b11e2);}catch(_0x5d06ae){let _0x33a43e=_0x5d06ae instanceof Error?_0x5d06ae['message']:String(_0x5d06ae);this['_requestState$'][_0x5ac8b5(0x10f)]({'error':{'code':_0x1c150d[_0x5ac8b5(0x135)],'message':_0x33a43e},'state':0x0});return;}if(!_0x325b86||typeof _0x325b86[_0x5ac8b5(0xd6)]!=_0x5ac8b5(0x146)){this[_0x5ac8b5(0xe5)][_0x5ac8b5(0x10f)]({'error':{'code':_0x1c150d[_0x5ac8b5(0x135)],'message':_0x5ac8b5(0xec)},'state':0x0});return;}let _0x2b3a50=_0x325b86[_0x5ac8b5(0xd6)];if(_0x2b3a50['length']===0x0){this['_requestState$'][_0x5ac8b5(0x10f)]({'error':{'code':_0x1c150d[_0x5ac8b5(0x135)],'message':_0x5ac8b5(0x1aa)},'state':0x0});return;}return this[_0x5ac8b5(0xe5)][_0x5ac8b5(0x10f)]({'error':{'code':_0x1c150d['OK'],'message':_0x5ac8b5(0x1ca)},'state':0x0}),_0x2b3a50;}async['_import'](_0x4d2113,_0x3c9c51,_0x353c01){const _0x328c5b=_0x490cbe;let _0x103337={'fileID':_0x4d2113,'type':_0x353c01,'outputType':_0x3c9c51,'fileUrl':'','minSheetRowCount':this[_0x328c5b(0x1b1)](),'minSheetColumnCount':this['_getMinSheetColumnCount']()},_0x509fb6=await this['_requestService'][_0x328c5b(0x14a)](_0x103337);if(!_0x509fb6){this[_0x328c5b(0xe5)][_0x328c5b(0x10f)]({'error':{'code':_0x1c150d[_0x328c5b(0x135)],'message':'import\x20error'},'state':0x1});return;}if(_0x509fb6[_0x328c5b(0xc3)]&&_0x509fb6['error'][_0x328c5b(0x1d6)]!==_0x1c150d['OK']){this['_requestState$'][_0x328c5b(0x10f)]({'error':_0x509fb6['error'],'state':0x1});return;}let _0x8b9b6c=_0x509fb6['taskID'];if(_0x8b9b6c[_0x328c5b(0x165)]===0x0){this['_requestState$'][_0x328c5b(0x10f)]({'error':{'code':_0x1c150d['UNRECOGNIZED'],'message':_0x328c5b(0xe3)},'state':0x1});return;}return this[_0x328c5b(0xe5)][_0x328c5b(0x10f)]({'error':_0x509fb6[_0x328c5b(0xc3)],'state':0x1}),_0x8b9b6c;}async[_0x490cbe(0xd2)](_0x413319){const _0x4bc205=_0x490cbe;let _0x438936=await this['_requestService'][_0x4bc205(0x125)](_0x413319);if(!_0x438936){this[_0x4bc205(0xe5)][_0x4bc205(0x10f)]({'error':{'code':_0x1c150d['UNRECOGNIZED'],'message':_0x4bc205(0x1a9)},'state':0x4});return;}if(_0x438936[_0x4bc205(0xc3)]&&_0x438936['error'][_0x4bc205(0x1d6)]!==_0x1c150d['OK']){this['_requestState$'][_0x4bc205(0x10f)]({'error':_0x438936[_0x4bc205(0xc3)],'state':0x4});return;}let _0x2ca0e4=_0x3ff679(_0x438936[_0x4bc205(0x153)],this[_0x4bc205(0xcc)]());if(_0x2ca0e4[_0x4bc205(0x165)]===0x0){this['_requestState$'][_0x4bc205(0x10f)]({'error':{'code':_0x1c150d[_0x4bc205(0x135)],'message':_0x4bc205(0x1a9)},'state':0x4});return;}return this[_0x4bc205(0xe5)][_0x4bc205(0x10f)]({'error':_0x438936['error'],'state':0x4}),_0x2ca0e4;}[_0x490cbe(0xcc)](){const _0x5443ad=_0x490cbe;var _0xb8da27;let _0x18a217=this[_0x5443ad(0x161)][_0x5443ad(0x1b4)](w);return(_0xb8da27=_0x18a217==null?void 0x0:_0x18a217[_0x5443ad(0x19e)])==null?location[_0x5443ad(0x169)]:_0xb8da27;}[_0x490cbe(0x1b1)](){const _0xa64301=_0x490cbe;var _0x5752b3,_0x255d51;let _0x1beb43=this[_0xa64301(0x161)]['getConfig'](w);return(_0x5752b3=_0x1beb43==null||(_0x255d51=_0x1beb43[_0xa64301(0x131)])==null?void 0x0:_0x255d51[_0xa64301(0x13f)])==null?0x1:_0x5752b3;}[_0x490cbe(0x1a8)](){const _0x4a543e=_0x490cbe;var _0x4937e1,_0x4bc13e;let _0x175af6=this['_configService']['getConfig'](w);return(_0x4937e1=_0x175af6==null||(_0x4bc13e=_0x175af6[_0x4a543e(0x131)])==null?void 0x0:_0x4bc13e[_0x4a543e(0xfe)])==null?0x1:_0x4937e1;}[_0x490cbe(0x107)](){const _0x5789f5=_0x490cbe;var _0x1310ea,_0x57a072;let _0x5103be=this[_0x5789f5(0x161)][_0x5789f5(0x1b4)](w);return(_0x1310ea=_0x5103be==null||(_0x57a072=_0x5103be[_0x5789f5(0x131)])==null?void 0x0:_0x57a072[_0x5789f5(0x14f)])==null?!0x1:_0x1310ea;}[_0x490cbe(0xc6)](){const _0x2485a0=_0x490cbe;var _0x1e9770,_0x18a402;let _0x3c333a=this[_0x2485a0(0x161)][_0x2485a0(0x1b4)](w);return(_0x1e9770=_0x3c333a==null||(_0x18a402=_0x3c333a['options'])==null?void 0x0:_0x18a402['disableCellImageConversion'])==null?!0x0:_0x1e9770;}[_0x490cbe(0x1ee)](){const _0x493111=_0x490cbe;var _0x3c2a8f,_0x1312f5;let _0x34d319=this[_0x493111(0x161)]['getConfig'](w);return(_0x3c2a8f=_0x34d319==null||(_0x1312f5=_0x34d319['options'])==null?void 0x0:_0x1312f5[_0x493111(0x13d)])==null?!0x1:_0x3c2a8f;}};J=V([B(0x0,_0x1fefa9),B(0x1,_0x2f48e0(_0x29f3f7)),B(0x2,_0x2f48e0(H))],J);const ot={'done':0x0,'count':0x0},Y=_0x40b68d(_0x490cbe(0x168));let X=class extends _0x1dc257{constructor(_0xe5e7bb,_0x3f7c50,_0x2d775f,_0x433288,_0x488cfa,_0x25e6c0,_0x5dac85){const _0x184b2f=_0x490cbe;super(),this[_0x184b2f(0xd8)]=_0xe5e7bb,this[_0x184b2f(0x1bd)]=_0x3f7c50,this[_0x184b2f(0x1c8)]=_0x2d775f,this[_0x184b2f(0xc9)]=_0x433288,this[_0x184b2f(0x1a7)]=_0x488cfa,this[_0x184b2f(0xcf)]=_0x25e6c0,this[_0x184b2f(0xfd)]=_0x5dac85,D(this,_0x184b2f(0x101),new _0x4ad5b6(ot)),D(this,_0x184b2f(0xb8),this['_progress$'][_0x184b2f(0xe1)]()),D(this,'_totalUploadTaskCount',0x0),D(this,'_doneUploadTaskCount',0x0),this[_0x184b2f(0x1dd)](_0x3bcf50(this['_exchangeService'][_0x184b2f(0x157)][_0x184b2f(0xd4)](_0x134298=>{const _0x26c888=_0x184b2f;var _0x4a1462;((_0x4a1462=_0x134298[_0x26c888(0xc3)])==null?void 0x0:_0x4a1462[_0x26c888(0x1d6)])===_0x1c150d['OK']?this['_addDoneTask'](0x1):this['_showNetworkError'](_0x134298[_0x26c888(0xc3)]);})));}[_0x490cbe(0x1ea)](){const _0x386a0d=_0x490cbe;this[_0x386a0d(0x110)](),this['_uploadNotificationService'][_0x386a0d(0x17a)](0x2),this['_exchangeService'][_0x386a0d(0x155)]();}async[_0x490cbe(0xba)](_0x2efe63){const _0x34c3e2=_0x490cbe;throw Error(_0x34c3e2(0x18f));}async['importFileToUnitIdByCurrentType'](){const _0x2074e5=_0x490cbe;let _0xa9d336=this[_0x2074e5(0xd8)]['getFocusedUnit']();switch(_0xa9d336?this['_univerInstanceService'][_0x2074e5(0x116)](_0xa9d336['getUnitId']()):_0x1e7263['UNRECOGNIZED']){case _0x1e7263['UNIVER_SLIDE']:return this[_0x2074e5(0x1b0)]();case _0x1e7263[_0x2074e5(0x181)]:return this['importDOCXToUnitId']();case _0x1e7263[_0x2074e5(0xff)]:default:return this[_0x2074e5(0x16f)]();}}async['importDOCXToUnitId'](){const _0x14490c=_0x490cbe;let _0x563de0=await z([_0x1e7263[_0x14490c(0x181)]]);if(_0x563de0&&!this[_0x14490c(0x14d)](_0x563de0,_0x1e7263[_0x14490c(0x181)]))return this[_0x14490c(0x126)](_0x563de0[0x0],_0x1e7263[_0x14490c(0x181)]);}['importDOCXToSnapshot'](){throw Error('Method\x20not\x20implemented.');}async[_0x490cbe(0x1ec)](_0x5d5a50,_0x2aef2e,_0xa3889d){const _0x38e020=_0x490cbe;this[_0x38e020(0x1be)](_0x513872[_0x38e020(0xb9)]);let _0x76547b=await this[_0x38e020(0xc9)][_0x38e020(0x1ec)](_0x5d5a50||this[_0x38e020(0x115)]());_0x76547b&&(L(_0x76547b,_0x2aef2e||this[_0x38e020(0x145)](_0x76547b),_0x38e020(0xf1)),this['_showDownloadMessage'](_0x513872[_0x38e020(0xf4)]));}async[_0x490cbe(0x111)](){const _0x4e5dfb=_0x490cbe;this[_0x4e5dfb(0x1be)](_0x513872['Info']);let _0x56b5fc=await this['_getUnitDocJson'](),_0x54dafa=await this[_0x4e5dfb(0xc9)][_0x4e5dfb(0x111)](_0x56b5fc);_0x54dafa&&(L(_0x54dafa,this[_0x4e5dfb(0x145)](_0x54dafa),_0x4e5dfb(0xf1)),this[_0x4e5dfb(0x1be)](_0x513872[_0x4e5dfb(0xf4)]));}async[_0x490cbe(0x1b0)](){const _0x245b13=_0x490cbe;if(this[_0x245b13(0xf2)]()){this[_0x245b13(0x1bd)][_0x245b13(0x1a1)]({'type':_0x513872[_0x245b13(0x1fa)],'content':this[_0x245b13(0x1c8)]['t'](_0x245b13(0xbb))});return;}let _0x1ba80e=await z([_0x1e7263[_0x245b13(0x15c)]]);if(_0x1ba80e&&!this[_0x245b13(0x14d)](_0x1ba80e,_0x1e7263[_0x245b13(0x15c)]))return this['_importFileToUnitId'](_0x1ba80e[0x0],_0x1e7263['UNIVER_SLIDE']);}async[_0x490cbe(0x188)](){const _0x3fdd73=_0x490cbe;if(this[_0x3fdd73(0xf2)]()){this[_0x3fdd73(0x1bd)][_0x3fdd73(0x1a1)]({'type':_0x513872[_0x3fdd73(0x1fa)],'content':this[_0x3fdd73(0x1c8)]['t']('exchange-client.uploading')});return;}let _0x588c53=await z([_0x1e7263[_0x3fdd73(0x15c)]]);if(!_0x588c53)return;this[_0x3fdd73(0x1c9)](_0x513872[_0x3fdd73(0xb9)]);let _0x583542=await this[_0x3fdd73(0xc9)][_0x3fdd73(0x188)](_0x588c53[0x0]);_0x583542&&(this[_0x3fdd73(0x123)](_0x583542),this[_0x3fdd73(0x1c9)](_0x513872['Success']));}async[_0x490cbe(0x144)](_0x49f603,_0x324f27,_0x3a8ef2){const _0x278397=_0x490cbe;this[_0x278397(0x1be)](_0x513872[_0x278397(0xb9)]);let _0x9012bb=await this['_exchangeService'][_0x278397(0x144)](_0x49f603||this[_0x278397(0x1e3)]());_0x9012bb&&(L(_0x9012bb,_0x324f27||this['_getUnitNameByType'](_0x9012bb,_0x3a8ef2==null?_0x1e7263[_0x278397(0x15c)]:_0x3a8ef2),_0x278397(0xe0)),this[_0x278397(0x1be)](_0x513872['Success']));}async[_0x490cbe(0x1e7)](){const _0x65e07=_0x490cbe;this[_0x65e07(0x1be)](_0x513872[_0x65e07(0xb9)]);let _0x5448df=await this[_0x65e07(0x18c)](),_0x515730=await this[_0x65e07(0xc9)][_0x65e07(0x1e7)](_0x5448df);_0x515730&&(L(_0x515730,this[_0x65e07(0xd3)](_0x515730,_0x1e7263[_0x65e07(0x15c)]),'pptx'),this[_0x65e07(0x1be)](_0x513872[_0x65e07(0xf4)]));}async[_0x490cbe(0x16f)](){const _0x5f0293=_0x490cbe;if(this[_0x5f0293(0xf2)]()){this[_0x5f0293(0x1bd)][_0x5f0293(0x1a1)]({'type':_0x513872[_0x5f0293(0x1fa)],'content':this[_0x5f0293(0x1c8)]['t'](_0x5f0293(0xbb))});return;}let _0x3eae41=await z([_0x1e7263[_0x5f0293(0xff)]]);if(_0x3eae41&&!this[_0x5f0293(0x14d)](_0x3eae41,_0x1e7263['UNIVER_SHEET']))return this['_importFileToUnitId'](_0x3eae41[0x0],_0x1e7263['UNIVER_SHEET']);}async['importXLSXToSnapshot'](){const _0x416375=_0x490cbe;if(this['_uploadTaskNotDone']()){this[_0x416375(0x1bd)][_0x416375(0x1a1)]({'type':_0x513872[_0x416375(0x1fa)],'content':this[_0x416375(0x1c8)]['t']('exchange-client.uploading')});return;}let _0xe2430b=await z([_0x1e7263['UNIVER_SHEET']]);if(!_0xe2430b)return;this['_showUploadMessage'](_0x513872[_0x416375(0xb9)]);let _0x175416=await this[_0x416375(0xc9)][_0x416375(0x108)](_0xe2430b[0x0]);_0x175416&&(this[_0x416375(0x149)](_0x175416),this['_showUploadMessage'](_0x513872[_0x416375(0xf4)]));}async['exportXLSXByUnitId'](_0x7c37d2,_0x33c3bc,_0x450e34){const _0x127236=_0x490cbe;this[_0x127236(0x1be)](_0x513872[_0x127236(0xb9)]);let _0x473ff7=await this[_0x127236(0xc9)]['exportXLSXByUnitId'](_0x7c37d2||this['_getUnitID']());_0x473ff7&&(L(_0x473ff7,_0x33c3bc||this[_0x127236(0x145)](_0x473ff7),_0x127236(0x13e)),this[_0x127236(0x1be)](_0x513872[_0x127236(0xf4)]));}async[_0x490cbe(0xb7)](){const _0x21ff10=_0x490cbe;this['_showDownloadMessage'](_0x513872[_0x21ff10(0xb9)]);let _0xbe185=await this[_0x21ff10(0x13c)](),_0x57e6b4=await this[_0x21ff10(0xc9)]['exportXLSXBySnapshot'](_0xbe185);_0x57e6b4&&(L(_0x57e6b4,this[_0x21ff10(0x145)](_0x57e6b4),_0x21ff10(0x13e)),this[_0x21ff10(0x1be)](_0x513872[_0x21ff10(0xf4)]));}[_0x490cbe(0x1a4)](_0x3a1d26){const _0x25507b=_0x490cbe;this[_0x25507b(0x1f7)]=_0x3a1d26;}async['_importFileToUnitId'](_0x2b2dab,_0x57983f){const _0x15c297=_0x490cbe;this[_0x15c297(0x1a7)][_0x15c297(0x1a1)](),this[_0x15c297(0x1a7)][_0x15c297(0x17a)](0x0),this[_0x15c297(0x112)](0x4),this[_0x15c297(0x1bb)](0x1);let _0x5ddbce=await this[_0x15c297(0xc9)][_0x15c297(0xa8)](_0x2b2dab,_0x57983f);if(!_0x5ddbce){this[_0x15c297(0x110)](),this[_0x15c297(0x1a7)][_0x15c297(0x17a)](0x2);return;}let _0x29527b={'link':this[_0x15c297(0x1f7)](_0x5ddbce,_0x57983f),'name':_0x2b2dab[_0x15c297(0xf8)],'type':_0x57983f};return this[_0x15c297(0x1a7)][_0x15c297(0x114)](_0x29527b),this[_0x15c297(0x14c)](),this[_0x15c297(0x1a7)]['updateState'](0x1),_0x5ddbce;}['_getUnitID'](){const _0x465e29=_0x490cbe;return this[_0x465e29(0xd8)][_0x465e29(0x15b)](_0x1e7263[_0x465e29(0xff)])[_0x465e29(0x173)]();}[_0x490cbe(0x115)](){const _0x55dd4c=_0x490cbe;return this[_0x55dd4c(0xd8)][_0x55dd4c(0x15b)](_0x1e7263['UNIVER_DOC'])[_0x55dd4c(0x173)]();}[_0x490cbe(0x1e3)](){const _0x516c9b=_0x490cbe;return this[_0x516c9b(0xd8)]['getCurrentUnitOfType'](_0x1e7263['UNIVER_SLIDE'])[_0x516c9b(0x173)]();}['_getUnitName'](_0x35b2e1){const _0x58673d=_0x490cbe;return this[_0x58673d(0xd3)](_0x35b2e1,_0x1e7263['UNIVER_SHEET']);}[_0x490cbe(0xd3)](_0x472660,_0x2610d9){const _0x5abc45=_0x490cbe;var _0x5b5975;let _0x2f6d19=(_0x5b5975=this[_0x5abc45(0xd8)][_0x5abc45(0x15b)](_0x2610d9))==null?void 0x0:_0x5b5975['getSnapshot'](),_0x2458de=_0x2f6d19==null?void 0x0:_0x2f6d19[_0x5abc45(0xf8)];return typeof _0x2458de==_0x5abc45(0x146)&&_0x2458de[_0x5abc45(0xae)]()?_0x2458de:_0x472660['name']['split']('.')[_0x5abc45(0x178)]()||document['title'];}async[_0x490cbe(0x13c)](){const _0x2fe2de=_0x490cbe;return this['_univerInstanceService'][_0x2fe2de(0x15b)](_0x1e7263[_0x2fe2de(0xff)])['getSnapshot']();}async[_0x490cbe(0x180)](){const _0xf57cb2=_0x490cbe;return this[_0xf57cb2(0xd8)]['getCurrentUnitOfType'](_0x1e7263[_0xf57cb2(0x181)])[_0xf57cb2(0x109)]();}async[_0x490cbe(0x18c)](){const _0x20d94a=_0x490cbe;let _0x37f153=this['_univerInstanceService'][_0x20d94a(0x15b)](_0x1e7263[_0x20d94a(0x15c)]),_0x3a1d1f=this[_0x20d94a(0xfd)]['saveUnit'](_0x37f153['getUnitId']());return _0x3a1d1f==null?_0x37f153[_0x20d94a(0x109)]():_0x3a1d1f;}['_getLinkByUnitId'](_0x545ff7,_0x44ac38){const _0x1b7174=_0x490cbe;let _0x564e47=new URL(window['location'][_0x1b7174(0x1fb)]);return _0x564e47[_0x1b7174(0x167)][_0x1b7174(0x156)](_0x1b7174(0xd1),_0x545ff7),_0x564e47[_0x1b7174(0x167)]['set']('type',''+_0x44ac38),_0x564e47[_0x1b7174(0x1c2)]();}['_refresh'](_0x2b56cb){const _0xc77fc8=_0x490cbe;let _0x4de4b8=this[_0xc77fc8(0xd8)]['getCurrentUnitOfType'](_0x1e7263[_0xc77fc8(0xff)])[_0xc77fc8(0x173)]();this[_0xc77fc8(0xd8)][_0xc77fc8(0xf9)](_0x4de4b8),this[_0xc77fc8(0xd8)][_0xc77fc8(0x124)](_0x1e7263[_0xc77fc8(0xff)],_0x2b56cb);}[_0x490cbe(0x123)](_0xa4544f){const _0x30ce73=_0x490cbe;let _0x260799=this['_univerInstanceService'][_0x30ce73(0x15b)](_0x1e7263[_0x30ce73(0x15c)])[_0x30ce73(0x173)]();this['_univerInstanceService'][_0x30ce73(0xf9)](_0x260799),this['_univerInstanceService'][_0x30ce73(0x124)](_0x1e7263['UNIVER_SLIDE'],_0xa4544f);}['_showNetworkError'](_0x44a3a3){const _0x3ab16a=_0x490cbe;if(_0x44a3a3){let {code:_0x2f7e4b}=_0x44a3a3;switch(_0x2f7e4b){case _0x1c150d[_0x3ab16a(0x104)]:this['_messageService']['show']({'type':_0x513872['Error'],'content':this[_0x3ab16a(0x1c8)]['t'](_0x3ab16a(0x150))});break;case _0x1c150d['INTERNAL_ERROR']:this['_messageService'][_0x3ab16a(0x1a1)]({'type':_0x513872[_0x3ab16a(0x193)],'content':this[_0x3ab16a(0x1c8)]['t'](_0x3ab16a(0x128))});break;default:this[_0x3ab16a(0x1bd)][_0x3ab16a(0x1a1)]({'type':_0x513872[_0x3ab16a(0x193)],'content':this['_localeService']['t'](_0x3ab16a(0xde))});break;}return null;}return this['_messageService'][_0x3ab16a(0x1a1)]({'type':_0x513872[_0x3ab16a(0x193)],'content':this[_0x3ab16a(0x1c8)]['t']('exchange-client.networkError')}),null;}[_0x490cbe(0x1be)](_0x1172a4){const _0x3458c8=_0x490cbe;let _0x3c689e='';switch(_0x1172a4){case _0x513872[_0x3458c8(0xf4)]:_0x3c689e=this[_0x3458c8(0x1c8)]['t']('exchange-client.downloadSuccess');break;case _0x513872[_0x3458c8(0xb9)]:_0x3c689e=this[_0x3458c8(0x1c8)]['t'](_0x3458c8(0x1eb));break;default:break;}this[_0x3458c8(0x1bd)][_0x3458c8(0x1a1)]({'type':_0x1172a4,'content':_0x3c689e});}[_0x490cbe(0x1c9)](_0x19ef12){const _0x2b95c4=_0x490cbe;let _0x1a4447='';switch(_0x19ef12){case _0x513872[_0x2b95c4(0xf4)]:_0x1a4447=this[_0x2b95c4(0x1c8)]['t'](_0x2b95c4(0x166));break;case _0x513872[_0x2b95c4(0xb9)]:_0x1a4447=this[_0x2b95c4(0x1c8)]['t'](_0x2b95c4(0xbb));break;default:break;}this[_0x2b95c4(0x1bd)]['show']({'type':_0x19ef12,'content':_0x1a4447});}[_0x490cbe(0x18b)](){const _0x22add0=_0x490cbe;this[_0x22add0(0x101)][_0x22add0(0x10f)]({'done':this[_0x22add0(0xb4)],'count':this[_0x22add0(0x1c5)]});}[_0x490cbe(0x112)](_0x3f3662){const _0x93f238=_0x490cbe;this[_0x93f238(0x1c5)]+=_0x3f3662,this[_0x93f238(0x18b)]();}[_0x490cbe(0x1bb)](_0x5ed43f){const _0x2d1459=_0x490cbe;this[_0x2d1459(0xb4)]+=_0x5ed43f,this['_doneUploadTaskCount']=Math[_0x2d1459(0x199)](this[_0x2d1459(0xb4)],this['_totalUploadTaskCount']),this[_0x2d1459(0x18b)]();}[_0x490cbe(0x14c)](){const _0x1acddd=_0x490cbe;this['_doneUploadTaskCount']=this[_0x1acddd(0x1c5)],this[_0x1acddd(0x18b)]();}['_clearProgress'](){const _0x3d867b=_0x490cbe;this[_0x3d867b(0xb4)]=0x0,this[_0x3d867b(0x1c5)]=0x0,this['_emitProgress']();}[_0x490cbe(0x14d)](_0x74d5d2,_0x2349db){const _0x4eb26c=_0x490cbe;let _0x24ec4c=_0x74d5d2[0x0],_0x12545c=_0x24ec4c[_0x4eb26c(0xf8)];return R(_0x24ec4c)===_0x2349db?!0x1:(this[_0x4eb26c(0x1bd)][_0x4eb26c(0x1a1)]({'type':_0x513872[_0x4eb26c(0x193)],'content':this['_localeService']['t'](_0x4eb26c(0x183),_0x12545c)}),!0x0);}[_0x490cbe(0xf2)](){const _0x3b921c=_0x490cbe;return this[_0x3b921c(0x1c5)]!==0x0&&this['_doneUploadTaskCount']!==this['_totalUploadTaskCount'];}};X=V([B(0x0,_0x2f48e0(_0x332fad)),B(0x1,_0x3a5859),B(0x2,_0x2f48e0(_0x12b7d7)),B(0x3,_0x2f48e0(q)),B(0x4,_0x2f48e0(O)),B(0x5,_0x3cc142),B(0x6,_0x2f48e0(_0x5a3d60))],X);function st(_0x48ef4e){const _0x51dd91=_0x490cbe;let {onClick:_0x5aa914,children:_0x251eac,className:_0x5ded5a}=_0x48ef4e;return _0x824b05('button',{'className':_0x2c59b3(_0x51dd91(0x177),_0x5ded5a),'type':'button','onClick':_0x5aa914,'children':_0x251eac});}function ct(){const _0x9902df=_0x490cbe;let _0xcf16b7=_0x4bdb15(Y),_0x3d3d77=_0x4bdb15(_0x12b7d7);function _0x55905a(){const _0xd5cb93=_0x106c;_0xcf16b7[_0xd5cb93(0x17c)]();}return _0x824b05(st,{'onClick':_0x55905a,'children':_0x3d3d77['t'](_0x9902df(0x16e))});}function lt(){const _0x28152c=_0x490cbe;return _0x2b7014('div',{'className':_0x28152c(0xee),'children':[_0x824b05('span',{'className':_0x28152c(0x137),'children':_0x4bdb15(_0x12b7d7)['t'](_0x28152c(0xf5))}),_0x824b05(ct,{})]});}function _0x106c(_0x4d5f21,_0x404aa9){_0x4d5f21=_0x4d5f21-0xa8;const _0x29fda6=_0x29fd();let _0x106cdc=_0x29fda6[_0x4d5f21];return _0x106cdc;}function ut(_0x3b46bc){const _0x126395=_0x490cbe;let {count:_0x32f1df}=_0x3b46bc;return _0x2b7014(_0x126395(0x1e6),{'className':_0x126395(0x1cb),'children':[_0x824b05(_0x126395(0x17e),{'className':_0x126395(0x136),'children':_0x4bdb15(_0x12b7d7)['t'](_0x126395(0xe6),''+_0x32f1df)}),_0x824b05(ct,{})]});}function dt(){const _0x3bbf57=_0x490cbe;let _0x58ee46=_0x4bdb15(Y),_0x197011=_0x4bdb15(_0x12b7d7);function _0x57cdb9(){const _0x2f7446=_0x106c;_0x58ee46[_0x2f7446(0x1ea)]();}return _0x824b05(st,{'onClick':_0x57cdb9,'children':_0x197011['t'](_0x3bbf57(0xdd))});}function ft(){const _0x1479ba=_0x490cbe;let {count:_0x3ddc3c,done:_0x4c516e}=_0x42b277(_0x4bdb15(Y)[_0x1479ba(0xb8)]),[_0x54eb55,_0x139665]=_0x3096a7(_0x3ddc3c>0x0?_0x4c516e/_0x3ddc3c:0x0);return _0x4bb73c(()=>{_0x139665(_0x3ddc3c>0x0?_0x4c516e/_0x3ddc3c:0x0);},[_0x3ddc3c,_0x4c516e]),_0x824b05(_0x1479ba(0x1e6),{'className':_0x1479ba(0x1ce),'children':_0x824b05(_0x1479ba(0x1e6),{'className':'univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','style':{'width':Math[_0x1479ba(0xed)](_0x54eb55*0x64)+'%'}})});}function pt(){const _0x1004af=_0x490cbe;return _0x2b7014('div',{'className':_0x1004af(0xee),'children':[_0x824b05('span',{'className':'univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0x4bdb15(_0x12b7d7)['t'](_0x1004af(0xe9))}),_0x824b05(_0x1004af(0x1e6),{'className':_0x1004af(0x1bc),'children':_0x824b05(ft,{})}),_0x824b05(dt,{})]});}const mt={0x1:_0x824b05(_0x3e9ebc,{'className':_0x490cbe(0x106)}),0x0:_0x824b05(_0xee4f49,{'className':_0x490cbe(0x130)}),0x2:_0x824b05(_0x36406d,{'className':_0x490cbe(0x1f0)})};function ht(){const _0x2ef1d6=_0x490cbe;let [_0xd4691c,_0x4a5194]=_0x3096a7(0x0),[_0x14c30d,_0x32d4ee]=_0x3096a7(!0x1),[_0x129f54,_0x339be1]=_0x3096a7([]),_0x2f6f84=_0x4bdb15(O),_0x5880ab=_0x4bdb15(_0x12b7d7);_0x4bb73c(()=>{const _0x224585=_0x106c;let _0x5735f4=_0x2f6f84[_0x224585(0xe8)][_0x224585(0xd4)](_0x3b8d1c=>{_0x32d4ee(_0x3b8d1c);}),_0xf265b1=_0x2f6f84[_0x224585(0xcb)][_0x224585(0xd4)](_0x2b7975=>{_0x339be1(_0x2b7975);}),_0x4c95b3=_0x2f6f84[_0x224585(0x113)][_0x224585(0xd4)](_0x7a33fe=>{_0x4a5194(_0x7a33fe);});return()=>{const _0x5c002e=_0x224585;_0x5735f4['unsubscribe'](),_0xf265b1[_0x5c002e(0xea)](),_0x4c95b3[_0x5c002e(0xea)]();};},[]);function _0x2a6fc9(){_0x32d4ee(!0x1);}function _0x4e84df(_0x387412){const _0x34aeac=_0x106c;switch(_0x387412){case 0x1:return _0x5880ab['t']('exchange-client.uploadSuccess');case 0x0:return _0x5880ab['t'](_0x34aeac(0xbb));case 0x2:return _0x5880ab['t'](_0x34aeac(0x127));default:return'';}}return _0x14c30d&&_0x2b7014('div',{'className':_0x2ef1d6(0x19c),'children':[_0x2b7014(_0x2ef1d6(0x1e6),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2','children':[_0x2b7014(_0x2ef1d6(0x17e),{'className':_0x2ef1d6(0xdc),'children':[_0x824b05(_0x2ef1d6(0x17e),{'className':_0x2ef1d6(0x15a),'children':mt[_0xd4691c]}),_0x824b05(_0x2ef1d6(0x17e),{'className':_0x2ef1d6(0x1f3),'children':_0x4e84df(_0xd4691c)})]}),_0x824b05(_0x2ef1d6(0x17e),{'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':_0x2a6fc9,'children':_0x824b05(_0x1b8b3b,{})})]}),_0x2b7014(_0x2ef1d6(0x1e6),{'children':[_0xd4691c===0x0&&_0x824b05(pt,{}),_0xd4691c===0x2&&_0x824b05(lt,{}),_0x129f54[_0x2ef1d6(0x165)]>0x0&&_0x824b05(He,{'list':_0x129f54}),_0xd4691c===0x1&&_0x824b05(ut,{'count':_0x129f54['length']})]})]});}function Z(){return _0x824b05(ht,{});}let Q=class extends _0x1dc257{constructor(_0x58149c,_0x2cb88e,_0x1add2b){const _0x1419a6=_0x490cbe;super(),this['_injector']=_0x58149c,this[_0x1419a6(0x162)]=_0x2cb88e,this[_0x1419a6(0x120)]=_0x1add2b,this['_registerIcons'](),this['_registerComponents']();}[_0x490cbe(0x1f5)](){const _0xf38373=_0x490cbe;this[_0xf38373(0x1dd)](this[_0xf38373(0x120)][_0xf38373(0x1e1)]({'DirectExportIcon':_0x4730cd}));}[_0x490cbe(0x174)](){const _0x1638c8=_0x490cbe;this[_0x1638c8(0x1dd)](this[_0x1638c8(0x162)]['registerComponent'](_0x5584cd[_0x1638c8(0x1d0)],()=>_0x195384(Z,this[_0x1638c8(0x1b7)])));}};Q=V([B(0x0,_0x2f48e0(_0x2f2441)),B(0x1,_0xd51965),B(0x2,_0x2f48e0(_0x576e15))],Q);let $=class extends _0x3f592f{constructor(_0x3baab1=T,_0x3bafe0,_0x5b2ae4){const _0x421721=_0x490cbe;super(),this[_0x421721(0xdf)]=_0x3baab1,this['_injector']=_0x3bafe0,this[_0x421721(0x161)]=_0x5b2ae4;let {..._0x45663e}=_0xc6fdf3({},T,this[_0x421721(0xdf)]);this[_0x421721(0x161)][_0x421721(0xd7)](w,_0x45663e);}[_0x490cbe(0x159)](){const _0x10dbad=_0x490cbe;_0x211ce9(this[_0x10dbad(0x1b7)],[[Q],[Y,{'useClass':X}],[q,{'useClass':J}],[H,{'useClass':U}],[O,{'useClass':k}]]);}['onReady'](){const _0x1de89a=_0x490cbe;_0x44ee94(this[_0x1de89a(0x1b7)],[[Q],[Y]]);}};D($,'pluginName',_0x490cbe(0x19b)),D($,_0x490cbe(0x1b2),Le),D($,_0x490cbe(0x13b),Re),$=V([_0x3d16f1(_0x12b298,_0x22f36e),B(0x1,_0x2f48e0(_0x2f2441)),B(0x2,_0x1fefa9)],$);export{w as EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY,X as ExchangeOperateService,J as ExchangeService,Y as IExchangeOperateService,q as IExchangeService,H as IRequestService,O as IUploadNotificationService,U as RequestService,$ as UniverExchangeClientPlugin,Z as UploadNotificationContainer,k as UploadNotificationService,Ve as UploadNotificationState,L as downloadFile,R as getUniverInstanceTypeByFile,z as getUploadFile,nt as transformDocumentDataToSnapshotJson,rt as transformSlideDataToSnapshotJson,at as transformSnapshotJsonToDocumentData,G as transformSnapshotJsonToSlideData,it as transformSnapshotJsonToWorkbookData,W as transformWorkbookDataToSnapshotJson};