@univerjs-pro/exchange-client 1.1.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (129) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/es/facade.js +1 -1
  4. package/lib/es/index.js +1 -1
  5. package/lib/facade.js +1 -1
  6. package/lib/index.js +1 -1
  7. package/lib/types/index.d.ts +0 -5
  8. package/lib/types/plugin.d.ts +0 -1
  9. package/lib/types/services/utils/tool.d.ts +0 -1
  10. package/lib/umd/facade.js +1 -1
  11. package/lib/umd/index.js +1 -1
  12. package/package.json +8 -15
  13. package/lib/cjs/locale/ar-SA.js +0 -1
  14. package/lib/cjs/locale/ca-ES.js +0 -1
  15. package/lib/cjs/locale/de-DE.js +0 -1
  16. package/lib/cjs/locale/en-US.js +0 -1
  17. package/lib/cjs/locale/es-ES.js +0 -1
  18. package/lib/cjs/locale/fa-IR.js +0 -1
  19. package/lib/cjs/locale/fr-FR.js +0 -1
  20. package/lib/cjs/locale/id-ID.js +0 -1
  21. package/lib/cjs/locale/it-IT.js +0 -1
  22. package/lib/cjs/locale/ja-JP.js +0 -1
  23. package/lib/cjs/locale/ko-KR.js +0 -1
  24. package/lib/cjs/locale/pl-PL.js +0 -1
  25. package/lib/cjs/locale/pt-BR.js +0 -1
  26. package/lib/cjs/locale/ru-RU.js +0 -1
  27. package/lib/cjs/locale/sk-SK.js +0 -1
  28. package/lib/cjs/locale/vi-VN.js +0 -1
  29. package/lib/cjs/locale/zh-CN.js +0 -1
  30. package/lib/cjs/locale/zh-HK.js +0 -1
  31. package/lib/cjs/locale/zh-TW.js +0 -1
  32. package/lib/es/locale/ar-SA.js +0 -1
  33. package/lib/es/locale/ca-ES.js +0 -1
  34. package/lib/es/locale/de-DE.js +0 -1
  35. package/lib/es/locale/en-US.js +0 -1
  36. package/lib/es/locale/es-ES.js +0 -1
  37. package/lib/es/locale/fa-IR.js +0 -1
  38. package/lib/es/locale/fr-FR.js +0 -1
  39. package/lib/es/locale/id-ID.js +0 -1
  40. package/lib/es/locale/it-IT.js +0 -1
  41. package/lib/es/locale/ja-JP.js +0 -1
  42. package/lib/es/locale/ko-KR.js +0 -1
  43. package/lib/es/locale/pl-PL.js +0 -1
  44. package/lib/es/locale/pt-BR.js +0 -1
  45. package/lib/es/locale/ru-RU.js +0 -1
  46. package/lib/es/locale/sk-SK.js +0 -1
  47. package/lib/es/locale/vi-VN.js +0 -1
  48. package/lib/es/locale/zh-CN.js +0 -1
  49. package/lib/es/locale/zh-HK.js +0 -1
  50. package/lib/es/locale/zh-TW.js +0 -1
  51. package/lib/index.css +0 -459
  52. package/lib/locale/ar-SA.js +0 -1
  53. package/lib/locale/ca-ES.js +0 -1
  54. package/lib/locale/de-DE.js +0 -1
  55. package/lib/locale/en-US.js +0 -1
  56. package/lib/locale/es-ES.js +0 -1
  57. package/lib/locale/fa-IR.js +0 -1
  58. package/lib/locale/fr-FR.js +0 -1
  59. package/lib/locale/id-ID.js +0 -1
  60. package/lib/locale/it-IT.js +0 -1
  61. package/lib/locale/ja-JP.js +0 -1
  62. package/lib/locale/ko-KR.js +0 -1
  63. package/lib/locale/pl-PL.js +0 -1
  64. package/lib/locale/pt-BR.js +0 -1
  65. package/lib/locale/ru-RU.js +0 -1
  66. package/lib/locale/sk-SK.js +0 -1
  67. package/lib/locale/vi-VN.js +0 -1
  68. package/lib/locale/zh-CN.js +0 -1
  69. package/lib/locale/zh-HK.js +0 -1
  70. package/lib/locale/zh-TW.js +0 -1
  71. package/lib/types/controllers/components.controller.d.ts +0 -9
  72. package/lib/types/controllers/exchange.controller.d.ts +0 -8
  73. package/lib/types/controllers/mobile/components.controller.d.ts +0 -7
  74. package/lib/types/controllers/mobile/exchange.controller.d.ts +0 -7
  75. package/lib/types/locale/ar-SA.d.ts +0 -3
  76. package/lib/types/locale/ca-ES.d.ts +0 -3
  77. package/lib/types/locale/de-DE.d.ts +0 -3
  78. package/lib/types/locale/en-US.d.ts +0 -20
  79. package/lib/types/locale/es-ES.d.ts +0 -3
  80. package/lib/types/locale/fa-IR.d.ts +0 -3
  81. package/lib/types/locale/fr-FR.d.ts +0 -3
  82. package/lib/types/locale/id-ID.d.ts +0 -3
  83. package/lib/types/locale/it-IT.d.ts +0 -3
  84. package/lib/types/locale/ja-JP.d.ts +0 -3
  85. package/lib/types/locale/ko-KR.d.ts +0 -3
  86. package/lib/types/locale/pl-PL.d.ts +0 -3
  87. package/lib/types/locale/pt-BR.d.ts +0 -3
  88. package/lib/types/locale/ru-RU.d.ts +0 -3
  89. package/lib/types/locale/sk-SK.d.ts +0 -3
  90. package/lib/types/locale/types.d.ts +0 -3
  91. package/lib/types/locale/vi-VN.d.ts +0 -3
  92. package/lib/types/locale/zh-CN.d.ts +0 -3
  93. package/lib/types/locale/zh-HK.d.ts +0 -3
  94. package/lib/types/locale/zh-TW.d.ts +0 -3
  95. package/lib/types/mobile-plugin.d.ts +0 -13
  96. package/lib/types/services/operate.service.d.ts +0 -73
  97. package/lib/types/services/upload-notification.service.d.ts +0 -52
  98. package/lib/types/services/utils/collaboration.d.ts +0 -2
  99. package/lib/types/views/export-format-dialog/ExportFormatDialog.d.ts +0 -14
  100. package/lib/types/views/link-list/LinkList.d.ts +0 -5
  101. package/lib/types/views/mobile/MobileExportFormatDialog.d.ts +0 -14
  102. package/lib/types/views/mobile/MobileUploadNotification.d.ts +0 -1
  103. package/lib/types/views/upload-again/UploadAgain.d.ts +0 -1
  104. package/lib/types/views/upload-button/UploadButton.d.ts +0 -7
  105. package/lib/types/views/upload-error/UploadError.d.ts +0 -1
  106. package/lib/types/views/upload-notification/UploadNotification.d.ts +0 -1
  107. package/lib/types/views/upload-success/UploadSuccess.d.ts +0 -4
  108. package/lib/types/views/uploading/Uploading.d.ts +0 -1
  109. package/lib/types/views/uploading/upload-cancel/UploadCancel.d.ts +0 -1
  110. package/lib/types/views/uploading/upload-progress/UploadProgress.d.ts +0 -1
  111. package/lib/umd/locale/ar-SA.js +0 -1
  112. package/lib/umd/locale/ca-ES.js +0 -1
  113. package/lib/umd/locale/de-DE.js +0 -1
  114. package/lib/umd/locale/en-US.js +0 -1
  115. package/lib/umd/locale/es-ES.js +0 -1
  116. package/lib/umd/locale/fa-IR.js +0 -1
  117. package/lib/umd/locale/fr-FR.js +0 -1
  118. package/lib/umd/locale/id-ID.js +0 -1
  119. package/lib/umd/locale/it-IT.js +0 -1
  120. package/lib/umd/locale/ja-JP.js +0 -1
  121. package/lib/umd/locale/ko-KR.js +0 -1
  122. package/lib/umd/locale/pl-PL.js +0 -1
  123. package/lib/umd/locale/pt-BR.js +0 -1
  124. package/lib/umd/locale/ru-RU.js +0 -1
  125. package/lib/umd/locale/sk-SK.js +0 -1
  126. package/lib/umd/locale/vi-VN.js +0 -1
  127. package/lib/umd/locale/zh-CN.js +0 -1
  128. package/lib/umd/locale/zh-HK.js +0 -1
  129. package/lib/umd/locale/zh-TW.js +0 -1
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x4095b5=_0x5c51;(function(_0x16208a,_0x4a7205){const _0x49ac06=_0x5c51,_0x175b63=_0x16208a();while(!![]){try{const _0x35ee93=-parseInt(_0x49ac06(0x167))/0x1+-parseInt(_0x49ac06(0x16d))/0x2+parseInt(_0x49ac06(0x169))/0x3*(parseInt(_0x49ac06(0x161))/0x4)+-parseInt(_0x49ac06(0x168))/0x5+-parseInt(_0x49ac06(0x165))/0x6+parseInt(_0x49ac06(0x164))/0x7+parseInt(_0x49ac06(0x16a))/0x8;if(_0x35ee93===_0x4a7205)break;else _0x175b63['push'](_0x175b63['shift']());}catch(_0x18caf0){_0x175b63['push'](_0x175b63['shift']());}}}(_0x5c46,0xce377));function _0x5c51(_0x514ad8,_0x308a15){_0x514ad8=_0x514ad8-0x161;const _0x5c4684=_0x5c46();let _0x5c515d=_0x5c4684[_0x514ad8];return _0x5c515d;}function _0x5c46(){const _0x2a724d=['202316JuSRHt','4DVEzid','downloadFile','get','1563184BCyuxV','6948018tPAFiI','extend','1679665gliDde','7047160gzHPtg','1998921Psdhby','34426416EUEZxD','IExchangeService','_injector'];_0x5c46=function(){return _0x2a724d;};return _0x5c46();}let e=require('@univerjs-pro/exchange-client'),t=require('@univerjs/core/facade');var n=class extends t['FUniver']{[_0x4095b5(0x162)](_0x554b82,_0x3fdf7a,_0x572fe6){const _0x405614=_0x4095b5;this[_0x405614(0x16c)][_0x405614(0x163)](e[_0x405614(0x16b)])[_0x405614(0x162)](_0x554b82,_0x3fdf7a,_0x572fe6);}};t['FUniver'][_0x4095b5(0x166)](n);
1
+ const _0x425f20=_0x2050;(function(_0xd5a161,_0x50a071){const _0x5d7f10=_0x2050,_0x13bfd3=_0xd5a161();while(!![]){try{const _0x21894a=parseInt(_0x5d7f10(0x107))/0x1*(-parseInt(_0x5d7f10(0x10a))/0x2)+-parseInt(_0x5d7f10(0x109))/0x3*(-parseInt(_0x5d7f10(0x10e))/0x4)+parseInt(_0x5d7f10(0x103))/0x5+parseInt(_0x5d7f10(0x10b))/0x6+parseInt(_0x5d7f10(0x108))/0x7*(-parseInt(_0x5d7f10(0x10c))/0x8)+-parseInt(_0x5d7f10(0x105))/0x9*(-parseInt(_0x5d7f10(0x100))/0xa)+-parseInt(_0x5d7f10(0x10d))/0xb*(parseInt(_0x5d7f10(0x102))/0xc);if(_0x21894a===_0x50a071)break;else _0x13bfd3['push'](_0x13bfd3['shift']());}catch(_0x313d0c){_0x13bfd3['push'](_0x13bfd3['shift']());}}}(_0xaea3,0x8c39b));let e=require('@univerjs-pro/exchange-client'),t=require('@univerjs/core/facade');function _0xaea3(){const _0x1130e2=['45ZLKsEw','FUniver','1FKOEsl','16394CmGTqO','2852886gZlUiJ','1199764VTHnXj','2927436tLzhda','424pugkvu','2739MUCdVB','4glBvWM','extend','1363220jOCaRC','IExchangeService','55740qItxKw','1672490vJcoJe','downloadFile'];_0xaea3=function(){return _0x1130e2;};return _0xaea3();}var n=class extends t[_0x425f20(0x106)]{[_0x425f20(0x104)](_0xf57e43,_0x50582e,_0x2f5ed4){const _0x58526b=_0x425f20;this['_injector']['get'](e[_0x58526b(0x101)])['downloadFile'](_0xf57e43,_0x50582e,_0x2f5ed4);}};function _0x2050(_0x2cf2de,_0x2a87d7){_0x2cf2de=_0x2cf2de-0xff;const _0xaea3e1=_0xaea3();let _0x20502a=_0xaea3e1[_0x2cf2de];return _0x20502a;}t[_0x425f20(0x106)][_0x425f20(0xff)](n);
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- const _0x25937d=_0x4913;(function(_0x1b7fb8,_0x3ceea3){const _0x305246=_0x4913,_0x4c9dd1=_0x1b7fb8();while(!![]){try{const _0x3d4959=parseInt(_0x305246(0x111))/0x1+parseInt(_0x305246(0xc0))/0x2*(-parseInt(_0x305246(0x1da))/0x3)+-parseInt(_0x305246(0x127))/0x4+-parseInt(_0x305246(0x9f))/0x5+-parseInt(_0x305246(0x1fe))/0x6+-parseInt(_0x305246(0x1fa))/0x7*(parseInt(_0x305246(0xfa))/0x8)+parseInt(_0x305246(0xf2))/0x9*(parseInt(_0x305246(0x1eb))/0xa);if(_0x3d4959===_0x3ceea3)break;else _0x4c9dd1['push'](_0x4c9dd1['shift']());}catch(_0xd54ff2){_0x4c9dd1['push'](_0x4c9dd1['shift']());}}}(_0x3e97,0xac54e),Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x25937d(0x10c)}));let e=require('@univerjs-pro/license'),t=require('@univerjs/core'),n=require('@univerjs/network'),r=require('@univerjs/ui'),i=require('@univerjs/icons'),a=require('@univerjs/design'),o=require('react'),s=require('@univerjs/protocol'),c=require('react/jsx-runtime'),l=require('rxjs'),u=require('@univerjs-pro/collaboration'),d=require('fflate');var f=_0x25937d(0x229),p=_0x25937d(0x23a);const m=_0x25937d(0x192),h={},g=_0x25937d(0x1ed),_=_0x25937d(0x23c),v=_0x25937d(0x201),y=_0x25937d(0xa3),b='text/csv',x=_0x25937d(0x146),S='application/vnd.ms-powerpoint',C=_0x25937d(0xa1),w=_0x25937d(0x1c7),ee={[t[_0x25937d(0x16b)][_0x25937d(0x24f)]]:[''],[t[_0x25937d(0x16b)][_0x25937d(0x13b)]]:[_,g],[t['UniverInstanceType']['UNIVER_SHEET']]:[v,y,b,x],[t[_0x25937d(0x16b)][_0x25937d(0x1d1)]]:[S,C],[t[_0x25937d(0x16b)]['UNIVER_PDF']]:[w],[t[_0x25937d(0x16b)]['UNIVER_BASE']]:[v,y,b,x],[t[_0x25937d(0x16b)][_0x25937d(0x244)]]:[''],[t['UniverInstanceType'][_0x25937d(0x189)]]:[''],[t[_0x25937d(0x16b)][_0x25937d(0x215)]]:['']},T={[_]:_0x25937d(0xc7),[g]:_0x25937d(0x17d),[v]:_0x25937d(0x11c),[y]:_0x25937d(0xc4),[b]:'csv',[x]:'tsv',[S]:_0x25937d(0x123),[C]:'pptx',[w]:'pdf'},E=Object['fromEntries'](Object[_0x25937d(0x232)](ee)['map'](([_0x219566,_0x479747])=>[_0x219566,_0x479747['map'](_0x390799=>T[_0x390799])[_0x25937d(0x121)](Boolean)]));function te(_0x5ca556,_0xe60878,_0x146b6b){const _0x4dfc54=_0x25937d;let _0x2595b0=document[_0x4dfc54(0x1f0)]('a');_0x2595b0[_0x4dfc54(0xd8)]=_0x5ca556,_0x2595b0['style'][_0x4dfc54(0xc8)]=_0x4dfc54(0x1c8),_0x2595b0[_0x4dfc54(0xaa)]=_0xe60878+'.'+_0x146b6b,document[_0x4dfc54(0x248)][_0x4dfc54(0xf8)](_0x2595b0),_0x2595b0['click'](),document[_0x4dfc54(0x248)]['removeChild'](_0x2595b0);}function ne(_0x3713ee,_0x33a41e){const _0x2df655=_0x25937d;var _0x2db9d2;let _0x49771d=(_0x2db9d2=_0x3713ee[_0x2df655(0xea)][_0x2df655(0x199)]('.')[_0x2df655(0x234)]())==null?void 0x0:_0x2db9d2['toLowerCase']();return!!(_0x49771d&&(E[_0x33a41e]??[])['includes'](_0x49771d));}function D(_0x2ed92f,_0x229656=!0x1){const _0x59193d=_0x25937d;let _0x5acb32=_0x2ed92f[_0x59193d(0x1a7)](_0x2cf5d5=>E[_0x2cf5d5]??[])[_0x59193d(0x235)](_0x3a9f81=>'.'+_0x3a9f81)['join'](',');return new Promise(_0x1ebac8=>{const _0x18e6b0=_0x59193d;let _0x26fd41=document['createElement'](_0x18e6b0(0xfd));_0x26fd41['type']=_0x18e6b0(0x1b0),_0x26fd41['accept']=_0x5acb32,_0x26fd41[_0x18e6b0(0x194)]=_0x229656;let _0x12d527=()=>{const _0x35377f=_0x18e6b0;var _0x7ce2ab;return _0x1ebac8((_0x7ce2ab=_0x26fd41[_0x35377f(0x198)])!=null&&_0x7ce2ab[_0x35377f(0x1ce)]?_0x26fd41[_0x35377f(0x198)]:null);};_0x26fd41[_0x18e6b0(0x148)]('change',_0x12d527,{'once':!0x0}),_0x26fd41[_0x18e6b0(0x148)](_0x18e6b0(0x195),_0x12d527,{'once':!0x0}),_0x26fd41[_0x18e6b0(0xfc)]();});}async function O(_0x423760,_0xb82ec9){const _0xb21f47=_0x25937d;try{return await k(_0x423760,_0xb82ec9);}catch(_0x2983ec){console['error'](_0xb21f47(0x208),_0x2983ec);return;}}async function k(_0x5b46f1,_0x1ebd50,_0x46bbc0){const _0x374549=_0x25937d;var _0x25d3a4,_0xd7f519;let _0x2a0d10=_0x46bbc0?await re(_0x5b46f1,_0x1ebd50,_0x46bbc0):await _0x1ebd50['get'](_0x5b46f1,{'responseType':_0x374549(0x162)}),_0x57504e=_0x2a0d10[_0x374549(0x248)],_0x1f21e5=((_0x25d3a4=_0x2a0d10[_0x374549(0xad)][_0x374549(0x1ff)](_0x374549(0x1f2)))==null?void 0x0:_0x25d3a4[_0x374549(0x213)](',\x20'))??_0x374549(0x143),_0x58bf18=_0x374549(0x1f5)+(T[_0x1f21e5]||_0x374549(0xc4)),_0x367f1e=(_0xd7f519=_0x2a0d10[_0x374549(0xad)]['get'](_0x374549(0x204)))==null?void 0x0:_0xd7f519[_0x374549(0x213)](',\x20');if(_0x367f1e){let _0x3e9942=_0x367f1e[_0x374549(0x18c)](/filename=(.+)/);_0x3e9942&&_0x3e9942[0x1]&&(_0x58bf18=_0x3e9942[0x1]);}else _0x58bf18=ie(_0x5b46f1)||_0x58bf18;return new File([_0x57504e],_0x58bf18,{'type':_0x1f21e5});}function re(_0x23e48a,_0x34d037,_0x127819){return new Promise((_0x2f4568,_0x16a93d)=>{const _0x3cd017=_0x4913;let _0x874d61=!0x1,_0x32ec39,_0x6bcf1a=()=>_0x127819[_0x3cd017(0x117)](_0x3cd017(0xd1),_0x1c84f9),_0x1c84f9=()=>{const _0x534f6f=_0x3cd017;if(_0x874d61)return;_0x874d61=!0x0,_0x32ec39==null||_0x32ec39[_0x534f6f(0x220)](),_0x6bcf1a();let _0x404ef4=Error(_0x534f6f(0x115));_0x404ef4['name']=_0x534f6f(0x135),_0x16a93d(_0x404ef4);};_0x127819[_0x3cd017(0x148)](_0x3cd017(0xd1),_0x1c84f9,{'once':!0x0}),_0x127819[_0x3cd017(0x175)]?_0x1c84f9():(_0x32ec39=_0x34d037[_0x3cd017(0x163)](_0x3cd017(0xc2),_0x23e48a,{'responseType':'blob'})[_0x3cd017(0x1f4)]({'next'(_0x2a093e){const _0x4a13e1=_0x3cd017;_0x874d61||_0x2a093e[_0x4a13e1(0x155)]!==n[_0x4a13e1(0x93)]['Response']||(_0x874d61=!0x0,_0x6bcf1a(),_0x32ec39==null||_0x32ec39[_0x4a13e1(0x220)](),_0x2f4568(_0x2a093e));},'error'(_0x363d72){_0x874d61||(_0x874d61=!0x0,_0x6bcf1a(),_0x16a93d(_0x363d72));},'complete'(){_0x874d61||(_0x874d61=!0x0,_0x6bcf1a(),_0x16a93d(Error('File\x20request\x20completed\x20without\x20a\x20response.')));}}),_0x874d61&&_0x32ec39[_0x3cd017(0x220)]());});}function ie(_0x8be592){const _0x4af197=_0x25937d;try{return new URL(_0x8be592)[_0x4af197(0x141)][_0x4af197(0x199)]('/')[_0x4af197(0x234)]();}catch(_0x830950){console[_0x4af197(0x16f)](_0x4af197(0x94),_0x830950);return;}}function ae(_0x2a6536){const _0x43aa92=_0x25937d;let _0x3b4ae5=new Blob([_0x2a6536[_0x43aa92(0x241)]],{'type':'application/json'});return new File([_0x3b4ae5],_0x43aa92(0x1cc));}function A(_0x1a655e,_0x28e44e){const _0x2b2716=_0x25937d;return _0x1a655e[_0x2b2716(0xae)](_0x2b2716(0x92),_0x28e44e);}function j(_0x596e66,_0x2caae7){const _0x42a969=_0x25937d;return _0x596e66[_0x42a969(0xae)](_0x42a969(0x1ae),_0x2caae7);}function oe(_0x589256,_0xc8be12){return _0x589256['replace']('{fileID}',_0xc8be12);}function _0x4913(_0x5c27e9,_0x4af031){_0x5c27e9=_0x5c27e9-0x92;const _0x3e97e1=_0x3e97();let _0x4913dc=_0x3e97e1[_0x5c27e9];return _0x4913dc;}function M(_0xa005bc){'@babel/helpers - typeof';const _0x4fc126=_0x25937d;return M=typeof Symbol==_0x4fc126(0x14d)&&typeof Symbol[_0x4fc126(0x224)]=='symbol'?function(_0x29686f){return typeof _0x29686f;}:function(_0x5a6d47){const _0x41bd33=_0x4fc126;return _0x5a6d47&&typeof Symbol==_0x41bd33(0x14d)&&_0x5a6d47[_0x41bd33(0x1c9)]===Symbol&&_0x5a6d47!==Symbol[_0x41bd33(0x1af)]?_0x41bd33(0x1f9):typeof _0x5a6d47;},M(_0xa005bc);}function se(_0x588dca,_0x4a7708){const _0x1e9d1e=_0x25937d;if(M(_0x588dca)!=_0x1e9d1e(0xee)||!_0x588dca)return _0x588dca;var _0x32a666=_0x588dca[Symbol[_0x1e9d1e(0x165)]];if(_0x32a666!==void 0x0){var _0xbe0d82=_0x32a666[_0x1e9d1e(0x125)](_0x588dca,_0x4a7708||_0x1e9d1e(0x202));if(M(_0xbe0d82)!=_0x1e9d1e(0xee))return _0xbe0d82;throw TypeError(_0x1e9d1e(0xd0));}return(_0x4a7708===_0x1e9d1e(0x166)?String:Number)(_0x588dca);}function ce(_0x32cbc){const _0x578716=_0x25937d;var _0x1cf78f=se(_0x32cbc,_0x578716(0x166));return M(_0x1cf78f)=='symbol'?_0x1cf78f:_0x1cf78f+'';}function N(_0x361654,_0x1976a2,_0x3a0c86){const _0x1b0754=_0x25937d;return(_0x1976a2=ce(_0x1976a2))in _0x361654?Object[_0x1b0754(0x1b4)](_0x361654,_0x1976a2,{'value':_0x3a0c86,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x361654[_0x1976a2]=_0x3a0c86,_0x361654;}function P(_0x5b8c51,_0x4f23e2){return function(_0x562d37,_0x5a2d10){_0x4f23e2(_0x562d37,_0x5a2d10,_0x5b8c51);};}function _0x3e97(){const _0x1449a8=['transformWorkbookSnapshotMetaToString','Failed\x20to\x20get\x20text\x20from\x20url','AUTO','FolderIcon','complete','SheetsMultiIcon','decorate','clsx','link','INTERNAL_ERROR','getFileById','primary','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2','flatMap','version','importServerUrl','exchange-client.uploadAgain','statusText','_univerInstanceService','exchange-client.unknownMistake','{taskID}','prototype','file','number','clear','upload','defineProperty','_registerIcons','b64EncodeUnicode','exchange-client.confirm','IConfigService','tsv','interrupt','jsxs','_requestState$','_getUploadFileURL','\x20is\x20currently\x20active.','has','univer-w-full\x20!univer-min-w-0','fail','_completeProgress','_importTaskId','createObjectURL','univer-animate-spin','tables','application/pdf','none','constructor','useDependency','exchange-client.downloadSuccess','file.json','univer-flex\x20univer-justify-end\x20univer-gap-2','length','register','textEncoder','UNIVER_SLIDE','url','univer-text-green-500','Failed\x20to\x20get\x20unitID\x20from\x20task','getResourcesRequest','_addDoneTask','getTaskServerUrl','setTaskInterrupted','Button','2547xfSxWj','importFileToUnitId','univer-flex\x20univer-size-6\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-text-xl','block\x20is\x20required','upload\x20request\x20failed','maxTimeoutTime','Failed\x20to\x20get\x20jsonID\x20from\x20task','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','originalMeta','merge','IUniverInstanceService','saveSheetBlock','JSON','resolve','univer-grid\x20univer-gap-3','ErrorCode','_httpService','24476410OiJZAg','_showNetworkError','application/vnd.openxmlformats-officedocument.wordprocessingml.document','_uploadTaskNotDone','&flate=','createElement','getTextFromUrl','Content-Type','exportFileByUnitId','subscribe','file.','_getLinkByUnitId','univer-flex\x20univer-h-5\x20univer-text-xl','univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','symbol','4430587OfSCfs','export','searchParams','univer-truncate','2911890DnSqdt','get','Get\x20outputType\x20error','application/vnd.ms-excel','default','univer-flex\x20univer-flex-col\x20univer-gap-5\x20univer-p-1','content-disposition','univer-shrink-0','TEXT','toUpperCase','Error\x20fetching\x20file\x20from\x20URL:','exchange-client.fileTypeError','connectInjector','_getDownloadEndpointURL','post','univer-h-full\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','asObservable','import','unshift','importFileToJson','_getTaskURL','join','signUrl','UNRECOGNIZED','exportFile','toDisposable','univer-flex\x20univer-min-w-0\x20univer-items-center\x20univer-gap-2\x20univer-font-semibold','jsx','XLSX','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','getDeserializedSheetBlock','exportFileBySnapshot','text','fileID','unsubscribe','Failed\x20to\x20get\x20fileID\x20from\x20task','UNDEFINED','ranges','iterator','/universer-api/file/{fileID}/sign-url','isCurrentUnitLoadedFromServer','_exportBySnapshot','onStarting','@univerjs-pro/exchange-client','_getSignURL','Radio','IMessageService','univer-w-48','hide','Tooltip','exchange-client.uploadSuccess','ClockIcon','entries','disposeWithMe','pop','map','uploadFileServerUrl','set','upload\x20failed:\x20missing\x20FileId\x20in\x20response','convert-then-values','1.1.0','status','application/msword','TABLES','Failed\x20to\x20get\x20taskID\x20from\x20import\x20response','_iconManager','visible$','buffer','_registerComponents','univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','UNIVER_BOARD','_injector','Injector','pluginName','body','univer-fixed\x20univer-bottom-16\x20univer-left-3\x20univer-right-3\x20univer-z-[1000]\x20univer-box-border\x20univer-grid\x20univer-max-h-[50vh]\x20univer-gap-3\x20univer-overflow-y-auto\x20univer-rounded-xl\x20univer-bg-gray-0\x20univer-p-4\x20univer-shadow-lg\x20dark:!univer-bg-gray-900','getOwnPropertyDescriptor','IUIPartsService','/universer-api/stream/file/upload','registerComponent','TRADITIONAL','UNIVER_UNKNOWN','blockID','Warning','HTTPResponseError','setConfig','CONVERT_THEN_VALUES','updateState','useState','clearTaskInterrupted','{type}','HTTPEventType','Error\x20getting\x20file\x20name\x20from\x20URL:','outputType','div','getUnitOnRev','pptx','forEach','ExchangeBaseImportMode','pdf','saveSnapshot','_localeService','_isSelectingUnitImportFile','2255120TQxKyq','importFileAsSnapshot','application/vnd.openxmlformats-officedocument.presentationml.presentation','univer-text-sm\x20univer-text-gray-500','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','univer-grid\x20univer-gap-2\x20univer-rounded-xl\x20univer-bg-gray-50\x20univer-p-3\x20dark:!univer-bg-gray-800','_clearProgress','univer-text-red-500','univer-flex\x20univer-items-center','show','isArray','download','_configService','saveChangeset','headers','replace','state$','current','univer-pro.exchange-client.operate.service','list$','count','UniverNetworkPlugin','interruptImportTask','upload\x20failed:\x20FileId\x20is\x20empty','next','_getMaxPollingTime','touchDependencies','_sheetBlockCache','floor','_messageService','univer-pro.exchange-client.upload-notification.service','univer-flex\x20univer-items-center\x20univer-gap-3','univer-mt-3\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-2\x20univer-pr-1','810EFaGGe','_fileTypeError','GET','success','xlsx','CONNECTOR_DATA_TOO_LARGE','_buildHttpErrorMessage','doc','display','univer-ml-1.5\x20univer-font-semibold\x20univer-text-gray-900\x20dark:!univer-text-gray-0','univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden','values','_logService','_uploadNotificationService','downloadFile','PPTX','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','abort','exchange-client.interrupt','deflateSync','_visible$','useObservable','noreferrer','exchange-client.export-format-dialog','href','sheets','univer-grid\x20univer-gap-4','_buildProtocolErrorMessage','Info','_emitProgress','DOCX','HTTPService','RANGES','Plugin','getCurrentUnitOfType','updateSnapshot','?size=','univer-grid\x20univer-gap-2','Success','LoadingMultiIcon','upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url','ClientSnapshotServerService','name','UNIVER_EXCHANGE_CLIENT_PLUGIN','location','catch','object','done',':\x20HTTP\x20','univer-mt-5\x20univer-flex\x20univer-flex-col','9IIcxpx','_list$','scrollbarClassName','encode','Inject','registerLink','appendChild','exchange-client.internalError','8VZEQCH','/universer-api/exchange/{type}/export','click','input','export\x20error','univer-flex\x20univer-justify-between\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-py-1\x20univer-text-gray-900\x20univer-no-underline\x20univer-outline-none\x20univer-transition-colors\x20hover:univer-bg-gray-200\x20dark:!univer-text-gray-0\x20dark:hover:!univer-bg-gray-600','exchange-client.cancel','univer-sticky\x20univer-bottom-0\x20univer-bg-gray-0\x20univer-py-3\x20dark:!univer-bg-gray-900','_totalUploadTaskCount','ISnapshotServerService','title','HttpImport','getConfig','exchange-client.downloading','UNIT','sign\x20url\x20error','parse','IExchangeOperateService','Module','button','FileSource','SuccessIcon','pushLink','1222544KSFyNB','ErrorIcon','IExchangeService','MobileActionRowGroup','File\x20request\x20aborted.','header','removeEventListener','decode','importer','_blank','_registerUIParts','xls','pending','_export','size','MODERN','filter','FileId','ppt','exchange-client.networkError','call','_lastUnitImportContext','4204760JtWGCR','univer-h-1.5\x20univer-w-full\x20univer-overflow-hidden\x20univer-rounded-lg\x20univer-bg-gray-200','message','_refreshUnit','_getExportURL','UniverMobileUIPlugin','getUnitId','_showUploadMessage','progress$','CONTENT','SHEETS','_importFileToUnitId','revokeObjectURL','min','AbortError','small','IconManager','VALUES','HYBRID','univer-mx-0\x20univer-mb-3\x20univer-mt-4\x20univer-h-1.5\x20univer-w-[324px]\x20univer-rounded-lg\x20univer-bg-gray-200','UNIVER_DOC','_signUrl','ShareRangeIcon','BehaviorSubject','Select','Error','pathname','ExportIcon','application/octet-stream','data','createUnit','text/tab-separated-values','section','addEventListener','univer-fixed\x20univer-bottom-12\x20univer-right-3\x20univer-z-[1000]\x20univer-box-border\x20univer-flex\x20univer-w-[372px]\x20univer-flex-col\x20univer-rounded-md\x20univer-bg-gray-0\x20univer-px-3\x20univer-pb-4\x20univer-pt-5\x20univer-shadow-md','_uiPartsService','_doneUploadTaskCount','univer-text-sm\x20univer-text-gray-700\x20dark:!univer-text-gray-200','function','univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-gray-0','_addTotalCount','transformSheetBlockMetaToString','_import','textDecoder','MobileSelect','DirectExportIcon','type','univer-flex\x20univer-flex-col\x20univer-gap-4','CSV','UniverLicensePlugin','Subject','resolveWithBasePath','exchange-client.uploadSuccessTip','disposeUnit','code','getTask','_requestService','univer-w-10','_importToJson','blob','stream','trim','toPrimitive','string','ComponentManager','DocsMultiIcon','MessageType','PDF','UniverInstanceType','_extractErrorDetail','_progress$','CloseIcon','error','taskID','_upload','LocaleService','BuiltInUIPart','_list','aborted','UNIVER_BASE','unitID','UNIVER_SHEET','Disposable','createIdentifier','dispose','_showDownloadMessage','docx','span','univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-gray-0','requestState$','univer-text-blue-500','SnapshotService','EXPORT_FORMAT_DIALOG','ExchangeBaseExportMode','ExchangeDocType','_config','retryImportFileToUnitId','exchange-client.tooLarge','UNIVER_PROJECT','univer-pl-2\x20univer-pr-4','_getImportURL','match','exchange-client.uploading','stringify','getSheetBlock','_taskInterrupted','_state$','exchange-client.config','modern','multiple','cancel','ILogService','_exchangeService','files','split'];_0x3e97=function(){return _0x1449a8;};return _0x3e97();}function F(_0x5d5ae2,_0x553f46,_0x4f5fad,_0x2564e7){const _0x961017=_0x25937d;var _0xd2d949=arguments[_0x961017(0x1ce)],_0x4fa4f2=_0xd2d949<0x3?_0x553f46:_0x2564e7===null?_0x2564e7=Object[_0x961017(0x24a)](_0x553f46,_0x4f5fad):_0x2564e7,_0x1f7c06;if(typeof Reflect==_0x961017(0xee)&&typeof Reflect[_0x961017(0x1a0)]==_0x961017(0x14d))_0x4fa4f2=Reflect[_0x961017(0x1a0)](_0x5d5ae2,_0x553f46,_0x4f5fad,_0x2564e7);else{for(var _0x5c5929=_0x5d5ae2[_0x961017(0x1ce)]-0x1;_0x5c5929>=0x0;_0x5c5929--)(_0x1f7c06=_0x5d5ae2[_0x5c5929])&&(_0x4fa4f2=(_0xd2d949<0x3?_0x1f7c06(_0x4fa4f2):_0xd2d949>0x3?_0x1f7c06(_0x553f46,_0x4f5fad,_0x4fa4f2):_0x1f7c06(_0x553f46,_0x4f5fad))||_0x4fa4f2);}return _0xd2d949>0x3&&_0x4fa4f2&&Object[_0x961017(0x1b4)](_0x553f46,_0x4f5fad,_0x4fa4f2),_0x4fa4f2;}let le=function(_0xe0bb0f){const _0x5a9703=_0x25937d;return _0xe0bb0f[_0xe0bb0f[_0x5a9703(0x222)]=0x0]=_0x5a9703(0x222),_0xe0bb0f[_0xe0bb0f[_0x5a9703(0x108)]=0x1]=_0x5a9703(0x108),_0xe0bb0f[_0xe0bb0f[_0x5a9703(0x1e6)]=0x2]=_0x5a9703(0x1e6),_0xe0bb0f[_0xe0bb0f[_0x5a9703(0x215)]=-0x1]=_0x5a9703(0x215),_0xe0bb0f;}({}),ue=function(_0x3751e3){const _0x4762e0=_0x25937d;return _0x3751e3[_0x4762e0(0x21a)]=_0x4762e0(0xc4),_0x3751e3[_0x4762e0(0x157)]='csv',_0x3751e3['TSV']=_0x4762e0(0x1b9),_0x3751e3[_0x4762e0(0xde)]=_0x4762e0(0x17d),_0x3751e3[_0x4762e0(0xcf)]=_0x4762e0(0x98),_0x3751e3[_0x4762e0(0x16a)]=_0x4762e0(0x9b),_0x3751e3;}({}),de=function(_0x1efc00){const _0x33aaa7=_0x25937d;return _0x1efc00[_0x33aaa7(0x120)]=_0x33aaa7(0x193),_0x1efc00[_0x33aaa7(0x24e)]='traditional',_0x1efc00;}({}),fe=function(_0x193f02){const _0x489d53=_0x25937d;return _0x193f02[_0x489d53(0x19c)]='auto',_0x193f02[_0x489d53(0x23d)]='tables',_0x193f02[_0x489d53(0x131)]='sheets',_0x193f02[_0x489d53(0x139)]='hybrid',_0x193f02;}({}),pe=function(_0x3740fb){const _0x39cf51=_0x25937d;return _0x3740fb[_0x39cf51(0x254)]=_0x39cf51(0x239),_0x3740fb[_0x39cf51(0x138)]=_0x39cf51(0xcb),_0x3740fb[_0x39cf51(0x206)]=_0x39cf51(0x21e),_0x3740fb['FAIL']=_0x39cf51(0x1c1),_0x3740fb;}({}),me=function(_0x40b73a){const _0x36ae1e=_0x25937d;return _0x40b73a[_0x36ae1e(0x23d)]=_0x36ae1e(0x1c6),_0x40b73a[_0x36ae1e(0xe0)]=_0x36ae1e(0x223),_0x40b73a;}({});const I=(0x0,t[_0x25937d(0x17a)])('univer-pro.exchange-client.request.service');let L=class{constructor(_0x15c0b8,_0x89514d){const _0x5d2654=_0x25937d;this[_0x5d2654(0xab)]=_0x15c0b8,this[_0x5d2654(0x1ea)]=_0x89514d,N(this,_0x5d2654(0x190),new Set());}[_0x25937d(0x17b)](){}['setTaskInterrupted'](_0x17b993){const _0x389bb5=_0x25937d;this[_0x389bb5(0x190)]['add'](_0x17b993);}[_0x25937d(0x257)](){const _0x27a969=_0x25937d;this[_0x27a969(0x190)][_0x27a969(0x1b2)]();}async[_0x25937d(0x1b3)](_0xabacfa,_0x46ab31=0x0,_0x255757=!0x1){const _0x331f00=_0x25937d;if(typeof _0xabacfa==_0x331f00(0x166)){let _0xd49265=await O(_0xabacfa,this[_0x331f00(0x1ea)]);if(!_0xd49265)throw Error(_0x331f00(0xe8));_0xabacfa=_0xd49265;}_0x46ab31||=_0xabacfa[_0x331f00(0x11f)];let _0x23a258=new FormData();_0x23a258['append'](_0x331f00(0x1b0),_0xabacfa);try{let _0x57f072=this[_0x331f00(0x1bd)]()+_0x331f00(0xe4)+_0x46ab31+'&source='+s[_0x331f00(0x10e)][_0x331f00(0x105)]+_0x331f00(0x1ef)+_0x255757,_0x535ecb={'body':_0x23a258},_0x265003=(await this[_0x331f00(0x1ea)][_0x331f00(0x20c)](_0x57f072,_0x535ecb))[_0x331f00(0x248)];if(_0x265003[_0x331f00(0x16f)]&&_0x265003[_0x331f00(0x16f)]['code']!==s[_0x331f00(0x1e9)]['OK'])throw Error(this[_0x331f00(0xdb)](_0x331f00(0x1de),_0x265003['error']));return _0x265003;}catch(_0x2e75d6){throw _0x2e75d6 instanceof Error?_0x2e75d6:Error(this[_0x331f00(0xc6)](_0x331f00(0x1de),_0x2e75d6));}}async[_0x25937d(0x20f)](_0x2bf110){const _0x31ff20=_0x25937d;let {type:_0x4d76ca,..._0x40937a}=_0x2bf110;try{let _0x3c8439=A(this['_getImportURL'](),''+_0x4d76ca),_0x576d1a={'body':_0x40937a},_0x37deaa=(await this[_0x31ff20(0x1ea)]['post'](_0x3c8439,_0x576d1a))['body'];return _0x37deaa[_0x31ff20(0x16f)]&&_0x37deaa[_0x31ff20(0x16f)][_0x31ff20(0x15d)]!==s[_0x31ff20(0x1e9)]['OK']?void 0x0:_0x37deaa;}catch{return;}}async[_0x25937d(0x1fb)](_0x565b65){const _0x474ebb=_0x25937d;let {type:_0x4cafe1}=_0x565b65;try{let _0x191ff4=A(this[_0x474ebb(0x12b)](),''+_0x4cafe1),_0x52f479={'body':_0x565b65},_0x2f636a=(await this[_0x474ebb(0x1ea)][_0x474ebb(0x20c)](_0x191ff4,_0x52f479))[_0x474ebb(0x248)];return _0x2f636a[_0x474ebb(0x16f)]&&_0x2f636a[_0x474ebb(0x16f)][_0x474ebb(0x15d)]!==s[_0x474ebb(0x1e9)]['OK']?void 0x0:_0x2f636a;}catch{return;}}async[_0x25937d(0x15e)](_0x568e25){return new Promise((_0x470c8c,_0x23a821)=>{const _0xd59d8c=_0x4913;try{let _0x1e0f8d=0x0,_0x364289=j(this[_0xd59d8c(0x212)](),''+_0x568e25),_0x39b1a0=this[_0xd59d8c(0xb8)](),_0x8b1ae=async()=>{const _0x3b9d47=_0xd59d8c;if(this[_0x3b9d47(0x190)][_0x3b9d47(0x1bf)](_0x568e25))return;let _0x353168=(await this['_httpService']['get'](_0x364289))[_0x3b9d47(0x248)];if(_0x353168['error']&&_0x353168[_0x3b9d47(0x16f)][_0x3b9d47(0x15d)]===s[_0x3b9d47(0x1e9)]['OK']){if(_0x353168['status']===_0x3b9d47(0xef))_0x470c8c(_0x353168);else{if(_0x353168[_0x3b9d47(0x23b)]===_0x3b9d47(0x11d)){let _0x4747e1=0x3e8;if(_0x1e0f8d>=_0x39b1a0){_0x23a821(_0x353168);return;}_0x1e0f8d>=0x7530&&(_0x4747e1=0x1388),_0x1e0f8d+=_0x4747e1,setTimeout(_0x8b1ae,_0x4747e1);}else _0x23a821(_0x353168);}}else _0x23a821(_0x353168);};_0x8b1ae();}catch(_0x1bec4b){_0x23a821(_0x1bec4b instanceof Error?_0x1bec4b:Error(String(_0x1bec4b)));}});}async[_0x25937d(0x214)](_0x1616f7){const _0x51dd84=_0x25937d;try{let _0x342e7b=oe(this[_0x51dd84(0x22a)](),''+_0x1616f7);return(await this[_0x51dd84(0x1ea)][_0x51dd84(0x1ff)](_0x342e7b))[_0x51dd84(0x248)];}catch{return;}}async['getTextFromUrl'](_0x385cf0){const _0x338de0=_0x25937d;try{return(await this['_httpService'][_0x338de0(0x1ff)](_0x385cf0,{'responseType':_0x338de0(0x21e)}))['body'];}catch{return;}}['_buildProtocolErrorMessage'](_0x35a8c2,_0x4dc2f5){const _0x49eb8f=_0x25937d;let _0x3e98bc=this[_0x49eb8f(0x16c)](_0x4dc2f5);return _0x3e98bc?_0x35a8c2+':\x20'+_0x3e98bc:_0x35a8c2;}[_0x25937d(0xc6)](_0x26f46d,_0x316212){const _0x392947=_0x25937d;if(_0x316212 instanceof n[_0x392947(0x252)]){let _0x214dc7=typeof _0x316212[_0x392947(0x23b)]==_0x392947(0x1b1)?''+_0x316212[_0x392947(0x23b)]+(_0x316212[_0x392947(0x1ab)]?'\x20'+_0x316212['statusText']:''):void 0x0,_0x1d8291=this[_0x392947(0x16c)](_0x316212[_0x392947(0x16f)]);return _0x214dc7&&_0x1d8291?_0x26f46d+_0x392947(0xf0)+_0x214dc7+'\x20-\x20'+_0x1d8291:_0x214dc7?_0x26f46d+_0x392947(0xf0)+_0x214dc7:_0x1d8291?_0x26f46d+':\x20'+_0x1d8291:_0x26f46d;}let _0x4885d4=this[_0x392947(0x16c)](_0x316212);return _0x4885d4?_0x26f46d+':\x20'+_0x4885d4:_0x26f46d;}[_0x25937d(0x16c)](_0x3c7ca2){const _0xfc0fc4=_0x25937d;if(typeof _0x3c7ca2=='string'){let _0x516ad5=_0x3c7ca2[_0xfc0fc4(0x164)]();return _0x516ad5[_0xfc0fc4(0x1ce)]>0x0?_0x516ad5:void 0x0;}if(_0x3c7ca2 instanceof Error)return this[_0xfc0fc4(0x16c)](_0x3c7ca2[_0xfc0fc4(0x129)]);if(!_0x3c7ca2||typeof _0x3c7ca2!=_0xfc0fc4(0xee)||Array[_0xfc0fc4(0xa9)](_0x3c7ca2))return;let _0x206ed3=_0x3c7ca2,_0x5359c7=this[_0xfc0fc4(0x16c)](_0x206ed3[_0xfc0fc4(0x129)]);if(_0x5359c7)return _0x5359c7;if(_0x206ed3[_0xfc0fc4(0x16f)]&&typeof _0x206ed3[_0xfc0fc4(0x16f)]==_0xfc0fc4(0xee)&&!Array[_0xfc0fc4(0xa9)](_0x206ed3[_0xfc0fc4(0x16f)])){let _0xf38366=this[_0xfc0fc4(0x16c)](_0x206ed3[_0xfc0fc4(0x16f)]);if(_0xf38366)return _0xf38366;}}[_0x25937d(0x1bd)](){const _0x160dc6=_0x25937d;let _0x2b8ad0=this[_0x160dc6(0xab)][_0x160dc6(0x106)](m);return(_0x2b8ad0==null?void 0x0:_0x2b8ad0[_0x160dc6(0x236)])??_0x160dc6(0x24c);}[_0x25937d(0x18b)](){const _0x4b07eb=_0x25937d;let _0x32768e=this['_configService']['getConfig'](m);return(_0x32768e==null?void 0x0:_0x32768e[_0x4b07eb(0x1a9)])??'/universer-api/exchange/{type}/import';}[_0x25937d(0x12b)](){const _0x2b79ac=_0x25937d;let _0x159087=this[_0x2b79ac(0xab)][_0x2b79ac(0x106)](m);return(_0x159087==null?void 0x0:_0x159087['exportServerUrl'])??_0x2b79ac(0xfb);}[_0x25937d(0x212)](){const _0x4226bb=_0x25937d;let _0x1b0c0c=this['_configService'][_0x4226bb(0x106)](m);return(_0x1b0c0c==null?void 0x0:_0x1b0c0c[_0x4226bb(0x1d7)])??'/universer-api/exchange/task/{taskID}';}['_getSignURL'](){const _0x2c993c=_0x25937d;let _0x345f96=this['_configService'][_0x2c993c(0x106)](m);return(_0x345f96==null?void 0x0:_0x345f96['signUrlServerUrl'])??_0x2c993c(0x225);}['_getMaxPollingTime'](){const _0x599a0c=_0x25937d;let _0x29c0f7=this[_0x599a0c(0xab)]['getConfig'](m);return(_0x29c0f7==null?void 0x0:_0x29c0f7[_0x599a0c(0x1df)])??0x1d4c0;}};L=F([P(0x0,t['IConfigService']),P(0x1,(0x0,t[_0x25937d(0xf6)])(n[_0x25937d(0xdf)]))],L);const R=_0x25937d(0xd7);function he({formats:_0x31ba00,items:_0x41ca89,selectedId:_0x925def,onCancel:_0x3c2022,onConfirm:_0x36b888}){const _0x41e3f9=_0x25937d;let _0x53bc10=(0x0,r[_0x41e3f9(0x1ca)])(t[_0x41e3f9(0x172)]),[_0x1175d4,_0x5af26f]=(0x0,o[_0x41e3f9(0x256)])(_0x31ba00[0x0]),[_0x4026ad,_0x1b068a]=(0x0,o[_0x41e3f9(0x256)])(_0x925def),[_0x5bb442,_0x2295aa]=(0x0,o['useState'])(!0x1),_0x2b5bf6=(0x0,o['useRef'])(!0x1);return(0x0,c[_0x41e3f9(0x1bb)])('div',{'className':_0x41e3f9(0x203),'children':[(0x0,c[_0x41e3f9(0x219)])('div',{'className':_0x41e3f9(0x156),'children':_0x31ba00[_0x41e3f9(0x235)](_0x530d6f=>(0x0,c[_0x41e3f9(0x1bb)])(_0x41e3f9(0x96),{'className':_0x41e3f9(0xbe),'children':[(0x0,c['jsx'])(a[_0x41e3f9(0x22b)],{'value':_0x530d6f,'checked':_0x1175d4===_0x530d6f,'onChange':_0x2093f4=>_0x5af26f(_0x2093f4),'children':(0x0,c[_0x41e3f9(0x219)])(_0x41e3f9(0x17e),{'className':_0x41e3f9(0x160),'children':_0x530d6f['toUpperCase']()})}),_0x530d6f!==_0x41e3f9(0xc4)&&(0x0,c[_0x41e3f9(0x219)])(a[_0x41e3f9(0x13f)],{'className':_0x41e3f9(0x22d),'value':_0x4026ad,'options':_0x41ca89,'onChange':_0x312d3c=>_0x1b068a(String(_0x312d3c))})]},_0x530d6f))}),(0x0,c[_0x41e3f9(0x1bb)])(_0x41e3f9(0x96),{'className':_0x41e3f9(0x1cd),'children':[(0x0,c[_0x41e3f9(0x219)])(a[_0x41e3f9(0x1d9)],{'type':_0x41e3f9(0x10d),'variant':_0x41e3f9(0x202),'onClick':_0x3c2022,'children':_0x53bc10['t']('exchange-client.cancel')}),(0x0,c[_0x41e3f9(0x1bb)])(a['Button'],{'type':_0x41e3f9(0x10d),'variant':'primary','aria-busy':_0x5bb442,'disabled':_0x5bb442||!_0x1175d4||_0x1175d4!==_0x41e3f9(0xc4)&&!_0x4026ad,'onClick':async()=>{const _0x3dd358=_0x41e3f9;if(!_0x2b5bf6['current']){_0x2b5bf6[_0x3dd358(0xb0)]=!0x0,_0x2295aa(!0x0);try{await _0x36b888(_0x1175d4,_0x4026ad);}finally{_0x2b5bf6['current']=!0x1,_0x2295aa(!0x1);}}},'children':[_0x5bb442&&(0x0,c[_0x41e3f9(0x219)])(i[_0x41e3f9(0xe7)],{'className':_0x41e3f9(0x1c5)}),_0x53bc10['t'](_0x41e3f9(0x1b7))]})]})]});}function ge({formats:_0x16ce62,items:_0x52d50f,selectedId:_0x3ca567,onCancel:_0x855f26,onConfirm:_0x1c446a}){const _0x42ddc1=_0x25937d;let _0x5631d3=(0x0,r[_0x42ddc1(0x1ca)])(t[_0x42ddc1(0x172)]),[_0x19e17d,_0x424688]=(0x0,o[_0x42ddc1(0x256)])(_0x16ce62[0x0]),[_0xaa52f3,_0x205f34]=(0x0,o['useState'])(_0x3ca567),[_0x4d919e,_0x58dca5]=(0x0,o[_0x42ddc1(0x256)])(!0x1),_0x20badf=(0x0,o['useRef'])(!0x1);async function _0x3bf0b2(){const _0xf64a1c=_0x42ddc1;if(!_0x20badf[_0xf64a1c(0xb0)]){_0x20badf[_0xf64a1c(0xb0)]=!0x0,_0x58dca5(!0x0);try{await _0x1c446a(_0x19e17d,_0xaa52f3);}finally{_0x20badf[_0xf64a1c(0xb0)]=!0x1,_0x58dca5(!0x1);}}}return(0x0,c[_0x42ddc1(0x1bb)])('div',{'className':_0x42ddc1(0xda),'children':[(0x0,c['jsx'])(_0x42ddc1(0x96),{'className':_0x42ddc1(0x1e8),'children':_0x16ce62[_0x42ddc1(0x235)](_0x54d207=>(0x0,c['jsxs'])(_0x42ddc1(0x96),{'className':_0x42ddc1(0xa4),'children':[(0x0,c[_0x42ddc1(0x219)])(a[_0x42ddc1(0x22b)],{'value':_0x54d207,'checked':_0x19e17d===_0x54d207,'onChange':_0x17fb3d=>_0x424688(_0x17fb3d),'children':_0x54d207[_0x42ddc1(0x207)]()}),_0x54d207!==_0x42ddc1(0xc4)&&_0x19e17d===_0x54d207&&(0x0,c[_0x42ddc1(0x219)])(a[_0x42ddc1(0x153)],{'className':_0x42ddc1(0x1c0),'value':_0xaa52f3,'options':_0x52d50f,'onChange':_0x167a62=>_0x205f34(String(_0x167a62))})]},_0x54d207))}),(0x0,c['jsxs'])(a[_0x42ddc1(0x114)],{'className':_0x42ddc1(0x101),'children':[(0x0,c['jsx'])(a[_0x42ddc1(0x1d9)],{'type':'button','onClick':_0x855f26,'children':_0x5631d3['t'](_0x42ddc1(0x100))}),(0x0,c[_0x42ddc1(0x1bb)])(a[_0x42ddc1(0x1d9)],{'type':_0x42ddc1(0x10d),'variant':_0x42ddc1(0x1a5),'aria-busy':_0x4d919e,'disabled':_0x4d919e||!_0x19e17d||_0x19e17d!==_0x42ddc1(0xc4)&&!_0xaa52f3,'onClick':_0x3bf0b2,'children':[_0x4d919e&&(0x0,c[_0x42ddc1(0x219)])(i[_0x42ddc1(0xe7)],{'className':'univer-animate-spin'}),_0x5631d3['t'](_0x42ddc1(0x1b7))]})]})]});}let z=class extends t[_0x25937d(0x179)]{constructor(_0x3d84da,_0x2e8588){const _0x45076f=_0x25937d;super(),this[_0x45076f(0x23f)]=_0x3d84da,this['_componentManager']=_0x2e8588,this[_0x45076f(0x233)](this[_0x45076f(0x23f)][_0x45076f(0x1cf)]({'DirectExportIcon':i[_0x45076f(0x154)],'ExportIcon':i['ExportIcon'],'FolderIcon':i['FolderIcon']})),this[_0x45076f(0x233)](this['_componentManager'][_0x45076f(0x1cf)](R,ge));}};z=F([P(0x0,(0x0,t['Inject'])(r[_0x25937d(0x137)])),P(0x1,(0x0,t[_0x25937d(0xf6)])(r[_0x25937d(0x167)]))],z);const B=(0x0,t[_0x25937d(0x17a)])('univer-pro.exchange-client.exchange.service');let V=class extends t['Disposable']{constructor(_0x3dd3bc,_0x872988,_0x431200){const _0x18666f=_0x25937d;super(),this['_configService']=_0x3dd3bc,this[_0x18666f(0x1ea)]=_0x872988,this['_requestService']=_0x431200,N(this,'_importTaskId',null),N(this,_0x18666f(0x1bc),new l[(_0x18666f(0x159))]()),N(this,_0x18666f(0x180),this[_0x18666f(0x1bc)][_0x18666f(0x20e)]());}[_0x25937d(0x17b)](){const _0x5e8523=_0x25937d;super['dispose'](),this[_0x5e8523(0x1bc)]['complete']();}[_0x25937d(0xce)](_0x2592ef,_0x408a22,_0x40fffe){const _0x51a8ae=_0x25937d;let _0x521f90=URL[_0x51a8ae(0x1c4)](_0x2592ef);te(_0x521f90,_0x408a22,_0x40fffe),URL[_0x51a8ae(0x133)](_0x521f90);}async[_0x25937d(0x1a4)](_0x11caa7,_0x16bd16){const _0x2d120d=_0x25937d;if(_0x16bd16!=null&&_0x16bd16[_0x2d120d(0x175)])return;let _0x214edd=await this[_0x2d120d(0x13c)](_0x11caa7);if(!(!_0x214edd||_0x16bd16!=null&&_0x16bd16[_0x2d120d(0x175)]))return k(_0x214edd,this[_0x2d120d(0x1ea)],_0x16bd16);}async[_0x25937d(0x1db)](_0x32d9ba,_0x4c86bc,_0x41e034){const _0x45e2b1=_0x25937d;var _0x48455f,_0x3690be;let _0x17fb74=await this[_0x45e2b1(0x171)](_0x32d9ba);if(!_0x17fb74)return;let _0x41e224=await this[_0x45e2b1(0x151)](_0x17fb74,0x1,_0x4c86bc,_0x41e034);if(!_0x41e224)return;this[_0x45e2b1(0x1c3)]=_0x41e224,this[_0x45e2b1(0x15f)]['clearTaskInterrupted']();let _0x41a574=await this[_0x45e2b1(0x15f)][_0x45e2b1(0x15e)](_0x41e224)[_0x45e2b1(0xed)](_0x21e571=>{const _0x43c9bb=_0x45e2b1;var _0x33f57a;let _0x58ef74=_0x21e571 instanceof Error?_0x21e571[_0x43c9bb(0x129)]:(_0x33f57a=_0x21e571[_0x43c9bb(0x16f)])==null?void 0x0:_0x33f57a['message'];this[_0x43c9bb(0x1bc)][_0x43c9bb(0xb7)]({'error':{'code':s[_0x43c9bb(0x1e9)][_0x43c9bb(0x215)],'message':_0x58ef74||''},'state':0x3});});if(!_0x41a574)return;let _0x3e82ea=(_0x48455f=_0x41a574[_0x45e2b1(0x20f)])==null?void 0x0:_0x48455f[_0x45e2b1(0x95)],_0x4a93e8=((_0x3690be=_0x41a574['import'])==null?void 0x0:_0x3690be[_0x45e2b1(0x177)])||'';if(_0x3e82ea!==0x1)this[_0x45e2b1(0x1bc)][_0x45e2b1(0xb7)]({'error':{'code':s['ErrorCode'][_0x45e2b1(0x215)],'message':_0x45e2b1(0x200)},'state':0x3});else{if(_0x4a93e8['length']===0x0)this['_requestState$'][_0x45e2b1(0xb7)]({'error':{'code':s[_0x45e2b1(0x1e9)]['UNRECOGNIZED'],'message':_0x45e2b1(0x1d4)},'state':0x3});else return this['_requestState$'][_0x45e2b1(0xb7)]({'error':_0x41a574[_0x45e2b1(0x16f)],'state':0x3}),_0x4a93e8;}}async[_0x25937d(0x211)](_0x1ced6b,_0x50782b,_0x3de4ee){const _0x2cd4dd=_0x25937d;return this[_0x2cd4dd(0x161)](_0x1ced6b,_0x50782b,_0x3de4ee);}async[_0x25937d(0x1f3)](_0x3b0b11,_0x51bdcf,_0x93c61e,_0xdca999){const _0x5ce74b=_0x25937d;return this[_0x5ce74b(0x11e)](_0x3b0b11,0x1,_0x51bdcf,_0x93c61e,_0xdca999);}async[_0x25937d(0x21d)](_0x5b9d7d,_0x52caf4,_0x260907,_0x2f308b){const _0x2998c4=_0x25937d;return this[_0x2998c4(0x227)](_0x5b9d7d,_0x52caf4,_0x260907,_0x2f308b);}['interruptImportTask'](){const _0x3fdc80=_0x25937d;this[_0x3fdc80(0x1c3)]&&this[_0x3fdc80(0x15f)][_0x3fdc80(0x1d8)](this[_0x3fdc80(0x1c3)]);}async[_0x25937d(0x161)](_0x3876cb,_0x3c2359,_0xeaec99){const _0x3ebcf1=_0x25937d;var _0x1d7785,_0x1914d6;let _0x16af0d=await this['_upload'](_0x3876cb);if(!_0x16af0d)return;let _0x1aef94=await this[_0x3ebcf1(0x151)](_0x16af0d,0x2,_0x3c2359,_0xeaec99);if(!_0x1aef94)return;this[_0x3ebcf1(0x1c3)]=_0x1aef94,this[_0x3ebcf1(0x15f)][_0x3ebcf1(0x257)]();let _0x54140c=await this[_0x3ebcf1(0x15f)]['getTask'](_0x1aef94)[_0x3ebcf1(0xed)](_0x3d9488=>{const _0x43e054=_0x3ebcf1;var _0xbcea6b;let _0x1b9fd4=_0x3d9488 instanceof Error?_0x3d9488[_0x43e054(0x129)]:(_0xbcea6b=_0x3d9488['error'])==null?void 0x0:_0xbcea6b['message'];this[_0x43e054(0x1bc)][_0x43e054(0xb7)]({'error':{'code':s[_0x43e054(0x1e9)]['UNRECOGNIZED'],'message':_0x1b9fd4||''},'state':0x3});});if(!_0x54140c)return;let _0x5d4758=(_0x1d7785=_0x54140c[_0x3ebcf1(0x20f)])==null?void 0x0:_0x1d7785[_0x3ebcf1(0x95)],_0x4a24d8=((_0x1914d6=_0x54140c['import'])==null?void 0x0:_0x1914d6['jsonID'])||'';if(_0x5d4758!==0x2){this['_requestState$'][_0x3ebcf1(0xb7)]({'error':{'code':s[_0x3ebcf1(0x1e9)][_0x3ebcf1(0x215)],'message':_0x3ebcf1(0x200)},'state':0x3});return;}if(_0x4a24d8[_0x3ebcf1(0x1ce)]===0x0){this[_0x3ebcf1(0x1bc)][_0x3ebcf1(0xb7)]({'error':{'code':s['ErrorCode'][_0x3ebcf1(0x215)],'message':_0x3ebcf1(0x1e0)},'state':0x3});return;}this[_0x3ebcf1(0x1bc)]['next']({'error':_0x54140c['error'],'state':0x3});let _0x3f84c6=await this[_0x3ebcf1(0x13c)](_0x4a24d8);if(!_0x3f84c6)return;let _0x1a985e=await this[_0x3ebcf1(0x15f)][_0x3ebcf1(0x1f1)](_0x3f84c6);if(!_0x1a985e)this[_0x3ebcf1(0x1bc)][_0x3ebcf1(0xb7)]({'error':{'code':s[_0x3ebcf1(0x1e9)][_0x3ebcf1(0x215)],'message':_0x3ebcf1(0x19b)},'state':0x5});else try{let _0x569bd9=JSON[_0x3ebcf1(0x10a)](_0x1a985e);return this[_0x3ebcf1(0x1bc)]['next']({'error':{'code':s[_0x3ebcf1(0x1e9)]['OK'],'message':'success'},'state':0x5}),_0x569bd9;}catch{this[_0x3ebcf1(0x1bc)][_0x3ebcf1(0xb7)]({'error':{'code':s['ErrorCode'][_0x3ebcf1(0x215)],'message':'Failed\x20to\x20parse\x20json'},'state':0x5});}}async['_exportBySnapshot'](_0x445de6,_0x4c1414,_0x25701f,_0x45009e){const _0x31fbdc=_0x25937d;let _0x3aa2fc=JSON[_0x31fbdc(0x18e)](_0x445de6),_0x215af0=u[_0x31fbdc(0x1d0)][_0x31fbdc(0xf5)](_0x3aa2fc),_0x1532f2=(0x0,d[_0x31fbdc(0xd3)])(_0x215af0),_0x3989bd=_0x215af0[_0x31fbdc(0x1ce)],_0x180efc=ae(_0x1532f2),_0xdf6e8d=await this[_0x31fbdc(0x171)](_0x180efc,_0x3989bd,!0x0);if(_0xdf6e8d)return this[_0x31fbdc(0x11e)](_0xdf6e8d,0x2,_0x4c1414,_0x25701f,_0x45009e);}async[_0x25937d(0x11e)](_0x5f24c0,_0x1b6509,_0x3cb526,_0x266ca4,_0x4782c9){const _0x4e91b7=_0x25937d;var _0x43f72c;let _0x592b71=await this[_0x4e91b7(0x15f)][_0x4e91b7(0x1fb)]({..._0x1b6509===0x1?{'unitID':_0x5f24c0}:{'jsonID':_0x5f24c0},'type':_0x3cb526,'format':_0x266ca4,'options':_0x4782c9});if(!_0x592b71){this[_0x4e91b7(0x1bc)][_0x4e91b7(0xb7)]({'error':{'code':s[_0x4e91b7(0x1e9)][_0x4e91b7(0x215)],'message':_0x4e91b7(0xfe)},'state':0x2});return;}if(this['_requestState$']['next']({'error':_0x592b71[_0x4e91b7(0x16f)],'state':0x2}),_0x592b71['error']&&_0x592b71['error'][_0x4e91b7(0x15d)]!==s['ErrorCode']['OK'])return;let _0x2b4032=_0x592b71[_0x4e91b7(0x170)],_0x2ca5b5=await this['_requestService']['getTask'](_0x2b4032)[_0x4e91b7(0xed)](_0x467a51=>{const _0x85e5f2=_0x4e91b7;var _0x260d95;let _0x542902=_0x467a51 instanceof Error?_0x467a51[_0x85e5f2(0x129)]:(_0x260d95=_0x467a51[_0x85e5f2(0x16f)])==null?void 0x0:_0x260d95['message'];this[_0x85e5f2(0x1bc)][_0x85e5f2(0xb7)]({'error':{'code':s[_0x85e5f2(0x1e9)]['UNRECOGNIZED'],'message':_0x542902||''},'state':0x3});});if(!_0x2ca5b5)return;let _0x406e41=((_0x43f72c=_0x2ca5b5['export'])==null?void 0x0:_0x43f72c[_0x4e91b7(0x21f)])||'';if(_0x406e41[_0x4e91b7(0x1ce)]===0x0){this['_requestState$'][_0x4e91b7(0xb7)]({'error':{'code':s['ErrorCode'][_0x4e91b7(0x215)],'message':_0x4e91b7(0x221)},'state':0x3});return;}this[_0x4e91b7(0x1bc)][_0x4e91b7(0xb7)]({'error':_0x2ca5b5[_0x4e91b7(0x16f)],'state':0x3});let _0x494908=await this[_0x4e91b7(0x13c)](_0x406e41);if(!_0x494908)return;let _0x2276ec=await O(_0x494908,this[_0x4e91b7(0x1ea)]);if(!_0x2276ec)this[_0x4e91b7(0x1bc)][_0x4e91b7(0xb7)]({'error':{'code':s[_0x4e91b7(0x1e9)][_0x4e91b7(0x215)],'message':'Failed\x20to\x20get\x20file\x20from\x20url'},'state':0x6});else return this[_0x4e91b7(0x1bc)][_0x4e91b7(0xb7)]({'error':{'code':s[_0x4e91b7(0x1e9)]['OK'],'message':_0x4e91b7(0xc3)},'state':0x6}),_0x2276ec;}async[_0x25937d(0x171)](_0x6bc7db,_0x76739c,_0x1e34cf){const _0x3ea44c=_0x25937d;let _0x35f782;try{_0x35f782=await this[_0x3ea44c(0x15f)][_0x3ea44c(0x1b3)](_0x6bc7db,_0x76739c,_0x1e34cf);}catch(_0x3f85a4){let _0x5bb160=_0x3f85a4 instanceof Error?_0x3f85a4['message']:String(_0x3f85a4);this[_0x3ea44c(0x1bc)][_0x3ea44c(0xb7)]({'error':{'code':s[_0x3ea44c(0x1e9)][_0x3ea44c(0x215)],'message':_0x5bb160},'state':0x0});return;}if(!_0x35f782||typeof _0x35f782[_0x3ea44c(0x122)]!=_0x3ea44c(0x166)){this[_0x3ea44c(0x1bc)][_0x3ea44c(0xb7)]({'error':{'code':s['ErrorCode']['UNRECOGNIZED'],'message':_0x3ea44c(0x238)},'state':0x0});return;}let _0x59c0d6=_0x35f782[_0x3ea44c(0x122)];if(_0x59c0d6['length']===0x0)this[_0x3ea44c(0x1bc)][_0x3ea44c(0xb7)]({'error':{'code':s[_0x3ea44c(0x1e9)][_0x3ea44c(0x215)],'message':_0x3ea44c(0xb6)},'state':0x0});else return this[_0x3ea44c(0x1bc)][_0x3ea44c(0xb7)]({'error':{'code':s['ErrorCode']['OK'],'message':_0x3ea44c(0xc3)},'state':0x0}),_0x59c0d6;}async[_0x25937d(0x151)](_0x18a156,_0x93bfc,_0x4090e1,_0x4bad15){const _0xe1cea3=_0x25937d;let _0x360ee7={'fileID':_0x18a156,'type':_0x4090e1,'outputType':_0x93bfc,'options':_0x4bad15},_0x34a064=await this['_requestService'][_0xe1cea3(0x20f)](_0x360ee7);if(!_0x34a064){this[_0xe1cea3(0x1bc)][_0xe1cea3(0xb7)]({'error':{'code':s['ErrorCode'][_0xe1cea3(0x215)],'message':'import\x20error'},'state':0x1});return;}if(_0x34a064['error']&&_0x34a064['error']['code']!==s[_0xe1cea3(0x1e9)]['OK']){this['_requestState$']['next']({'error':_0x34a064[_0xe1cea3(0x16f)],'state':0x1});return;}let _0xd6fc96=_0x34a064[_0xe1cea3(0x170)];if(_0xd6fc96['length']===0x0)this[_0xe1cea3(0x1bc)][_0xe1cea3(0xb7)]({'error':{'code':s[_0xe1cea3(0x1e9)][_0xe1cea3(0x215)],'message':_0xe1cea3(0x23e)},'state':0x1});else return this[_0xe1cea3(0x1bc)][_0xe1cea3(0xb7)]({'error':_0x34a064['error'],'state':0x1}),_0xd6fc96;}async[_0x25937d(0x13c)](_0x4a9e38){const _0x301df4=_0x25937d;let _0x494a88=await this[_0x301df4(0x15f)][_0x301df4(0x214)](_0x4a9e38);if(!_0x494a88){this['_requestState$']['next']({'error':{'code':s[_0x301df4(0x1e9)]['UNRECOGNIZED'],'message':_0x301df4(0x109)},'state':0x4});return;}if(_0x494a88[_0x301df4(0x16f)]&&_0x494a88['error']['code']!==s[_0x301df4(0x1e9)]['OK']){this[_0x301df4(0x1bc)]['next']({'error':_0x494a88[_0x301df4(0x16f)],'state':0x4});return;}let _0x3ad3ee=(0x0,t[_0x301df4(0x15a)])(_0x494a88[_0x301df4(0x1d2)],this['_getDownloadEndpointURL']());if(_0x3ad3ee[_0x301df4(0x1ce)]===0x0)this[_0x301df4(0x1bc)]['next']({'error':{'code':s['ErrorCode'][_0x301df4(0x215)],'message':'sign\x20url\x20error'},'state':0x4});else return this[_0x301df4(0x1bc)]['next']({'error':_0x494a88[_0x301df4(0x16f)],'state':0x4}),_0x3ad3ee;}[_0x25937d(0x20b)](){const _0x557846=_0x25937d;let _0x50376f=this[_0x557846(0xab)][_0x557846(0x106)](m);return(_0x50376f==null?void 0x0:_0x50376f['downloadEndpointUrl'])??location['origin'];}};V=F([P(0x0,t[_0x25937d(0x1b8)]),P(0x1,(0x0,t[_0x25937d(0xf6)])(n[_0x25937d(0xdf)])),P(0x2,(0x0,t[_0x25937d(0xf6)])(I))],V);const H=(0x0,t[_0x25937d(0x17a)])(_0x25937d(0xbd));var U=class extends t[_0x25937d(0x179)]{constructor(){const _0x3a5a3d=_0x25937d;super(),N(this,_0x3a5a3d(0xd4),new l[(_0x3a5a3d(0x159))]()),N(this,_0x3a5a3d(0x191),new l[(_0x3a5a3d(0x159))]()),N(this,_0x3a5a3d(0xf3),new l[(_0x3a5a3d(0x159))]()),N(this,_0x3a5a3d(0x240),this[_0x3a5a3d(0xd4)][_0x3a5a3d(0x20e)]()),N(this,_0x3a5a3d(0xaf),this['_state$']['asObservable']()),N(this,_0x3a5a3d(0xb2),this[_0x3a5a3d(0xf3)]['asObservable']()),N(this,_0x3a5a3d(0x174),[]);}[_0x25937d(0x17b)](){const _0x4bb677=_0x25937d;super[_0x4bb677(0x17b)](),this[_0x4bb677(0xd4)][_0x4bb677(0x19e)](),this[_0x4bb677(0x191)][_0x4bb677(0x19e)](),this[_0x4bb677(0xf3)][_0x4bb677(0x19e)]();}['show'](){const _0x3303a7=_0x25937d;this[_0x3303a7(0xd4)][_0x3303a7(0xb7)](!0x0);}['hide'](){const _0x5db1aa=_0x25937d;this[_0x5db1aa(0xd4)][_0x5db1aa(0xb7)](!0x1);}[_0x25937d(0x255)](_0x250d09){const _0xc52b78=_0x25937d;this[_0xc52b78(0x191)][_0xc52b78(0xb7)](_0x250d09);}[_0x25937d(0x110)](_0x2b97b9){const _0x19baa4=_0x25937d;this['_list'][_0x19baa4(0x210)](_0x2b97b9),this[_0x19baa4(0xf3)]['next'](this[_0x19baa4(0x174)]);}};const _e={'done':0x0,'count':0x0},W=(0x0,t['createIdentifier'])(_0x25937d(0xb1));let G=class extends t['Disposable']{constructor(_0x4b62be,_0x346905,_0x1b35b8,_0x48ad64,_0xe88bb2,_0x73688c){const _0x26fcfa=_0x25937d;super(),this[_0x26fcfa(0x1ac)]=_0x4b62be,this[_0x26fcfa(0xbc)]=_0x346905,this[_0x26fcfa(0x9d)]=_0x1b35b8,this['_exchangeService']=_0x48ad64,this[_0x26fcfa(0xcd)]=_0xe88bb2,this[_0x26fcfa(0xcc)]=_0x73688c,N(this,_0x26fcfa(0x16d),new l[(_0x26fcfa(0x13e))](_e)),N(this,'progress$',this[_0x26fcfa(0x16d)][_0x26fcfa(0x20e)]()),N(this,_0x26fcfa(0x102),0x0),N(this,_0x26fcfa(0x14b),0x0),N(this,_0x26fcfa(0x9e),!0x1),N(this,'_lastUnitImportContext',null),this[_0x26fcfa(0x233)]((0x0,t[_0x26fcfa(0x217)])(this[_0x26fcfa(0x197)][_0x26fcfa(0x180)][_0x26fcfa(0x1f4)](_0x5c8542=>{const _0xd57f36=_0x26fcfa;var _0x17e6ea;((_0x17e6ea=_0x5c8542[_0xd57f36(0x16f)])==null?void 0x0:_0x17e6ea[_0xd57f36(0x15d)])===s[_0xd57f36(0x1e9)]['OK']?this[_0xd57f36(0x1d6)](0x1):this[_0xd57f36(0x1ec)](_0x5c8542[_0xd57f36(0x16f)]);})));}['interrupt'](){const _0x33698c=_0x25937d;this[_0x33698c(0xa5)](),this[_0x33698c(0xcd)][_0x33698c(0x255)](0x2),this['_exchangeService'][_0x33698c(0xb5)]();}async[_0x25937d(0x1db)](_0x1fe6bb,_0x19bcb7){const _0x5a2842=_0x25937d;if(this[_0x5a2842(0x9e)]||this[_0x5a2842(0x1ee)]()){this[_0x5a2842(0xbc)][_0x5a2842(0xa8)]({'type':a[_0x5a2842(0x169)][_0x5a2842(0x251)],'content':this[_0x5a2842(0x9d)]['t'](_0x5a2842(0x18d))});return;}let _0x6c64d5;this['_isSelectingUnitImportFile']=!0x0;try{_0x6c64d5=await D([_0x1fe6bb]);}finally{this[_0x5a2842(0x9e)]=!0x1;}if(_0x6c64d5&&!this[_0x5a2842(0xc1)](_0x6c64d5,_0x1fe6bb))return this[_0x5a2842(0x126)]={'type':_0x1fe6bb,'importer':_0x19bcb7},this[_0x5a2842(0x132)](_0x6c64d5[0x0],_0x1fe6bb,_0x19bcb7);}async[_0x25937d(0x187)](){const _0x17eaf2=_0x25937d;let _0x1fb5be=this[_0x17eaf2(0x126)];if(_0x1fb5be)return this['importFileToUnitId'](_0x1fb5be[_0x17eaf2(0x155)],_0x1fb5be[_0x17eaf2(0x119)]);}async['importFileToSnapshot'](_0x13f9d7,_0xd38346){const _0x1cfd0e=_0x25937d;if(this[_0x1cfd0e(0x1ee)]()){this[_0x1cfd0e(0xbc)][_0x1cfd0e(0xa8)]({'type':a['MessageType'][_0x1cfd0e(0x251)],'content':this['_localeService']['t'](_0x1cfd0e(0x18d))});return;}let _0x1d2db9=await D([_0x13f9d7]);if(!_0x1d2db9||this['_fileTypeError'](_0x1d2db9,_0x13f9d7))return;this[_0x1cfd0e(0x12e)](a[_0x1cfd0e(0x169)][_0x1cfd0e(0xdc)]);let _0x1254df=await _0xd38346(_0x1d2db9[0x0]);_0x1254df&&(this[_0x1cfd0e(0x12a)](_0x13f9d7,_0x1254df),this['_showUploadMessage'](a[_0x1cfd0e(0x169)][_0x1cfd0e(0xe6)]));}async[_0x25937d(0xa0)](_0x51cc74,_0x2b0f44){const _0xa28009=_0x25937d;if(this[_0xa28009(0x1ee)]()){this[_0xa28009(0xbc)][_0xa28009(0xa8)]({'type':a[_0xa28009(0x169)][_0xa28009(0x251)],'content':this['_localeService']['t'](_0xa28009(0x18d))});return;}let _0x552af5=await D([_0x51cc74]);if(!_0x552af5||this[_0xa28009(0xc1)](_0x552af5,_0x51cc74))return;this[_0xa28009(0x12e)](a[_0xa28009(0x169)][_0xa28009(0xdc)]);let _0x5a643d=await _0x2b0f44(_0x552af5[0x0]);if(_0x5a643d)return this['_showUploadMessage'](a['MessageType'][_0xa28009(0xe6)]),_0x5a643d;}async[_0x25937d(0x216)](_0x44996c,_0x1ec68c,_0x2735ac){const _0xb53826=_0x25937d;this['_showDownloadMessage'](a[_0xb53826(0x169)][_0xb53826(0xdc)]);let _0x13f93a=await _0x44996c();_0x13f93a&&(this[_0xb53826(0x197)][_0xb53826(0xce)](_0x13f93a,_0x1ec68c||_0x13f93a['name'][_0xb53826(0x199)]('.')['shift']()||document[_0xb53826(0x104)],_0x2735ac),this['_showDownloadMessage'](a[_0xb53826(0x169)][_0xb53826(0xe6)]));}[_0x25937d(0xf7)](_0x1ba6fd){const _0x2e638b=_0x25937d;this[_0x2e638b(0x1f6)]=_0x1ba6fd;}async[_0x25937d(0x132)](_0x1ff4e8,_0x464c99,_0x276ab6){const _0x279c61=_0x25937d;this[_0x279c61(0xcd)][_0x279c61(0xa8)](),this[_0x279c61(0xcd)][_0x279c61(0x255)](0x0),this[_0x279c61(0x14f)](0x4),this[_0x279c61(0x1d6)](0x1);let _0x507ff3=await _0x276ab6(_0x1ff4e8);if(!_0x507ff3){this['_clearProgress'](),this[_0x279c61(0xcd)]['updateState'](0x2);return;}let _0x338909={'link':this[_0x279c61(0x1f6)](_0x507ff3,_0x464c99),'name':_0x1ff4e8['name'],'type':_0x464c99};return this[_0x279c61(0xcd)][_0x279c61(0x110)](_0x338909),this[_0x279c61(0x1c2)](),this[_0x279c61(0xcd)][_0x279c61(0x255)](0x1),_0x507ff3;}[_0x25937d(0x12a)](_0x545def,_0x579a36){const _0x707cef=_0x25937d;let _0x5810eb=this['_univerInstanceService'][_0x707cef(0xe2)](_0x545def);if(!_0x5810eb)throw Error('No\x20unit\x20of\x20type\x20'+_0x545def+_0x707cef(0x1be));this[_0x707cef(0x1ac)][_0x707cef(0x15c)](_0x5810eb[_0x707cef(0x12d)]());let _0x14e3df=this[_0x707cef(0x1ac)][_0x707cef(0x145)](_0x545def,_0x579a36);this['_univerInstanceService']['focusUnit'](_0x14e3df[_0x707cef(0x12d)]());}[_0x25937d(0x1f6)](_0x2b6ae2,_0x284a07){const _0x56a293=_0x25937d;let _0xe5de40=new URL(window[_0x56a293(0xec)][_0x56a293(0xd8)]);return _0xe5de40[_0x56a293(0x1fc)]['set']('unit',_0x2b6ae2),_0xe5de40['searchParams'][_0x56a293(0x237)](_0x56a293(0x155),''+_0x284a07),_0xe5de40['toString']();}[_0x25937d(0x1ec)](_0x55d1a7){const _0x5ec6c=_0x25937d;if(_0x55d1a7){let {code:_0x56671b}=_0x55d1a7;switch(_0x56671b){case s[_0x5ec6c(0x1e9)][_0x5ec6c(0xc5)]:this[_0x5ec6c(0xbc)][_0x5ec6c(0xa8)]({'type':a['MessageType']['Error'],'content':this['_localeService']['t'](_0x5ec6c(0x188))});break;case s[_0x5ec6c(0x1e9)][_0x5ec6c(0x1a3)]:this[_0x5ec6c(0xbc)][_0x5ec6c(0xa8)]({'type':a[_0x5ec6c(0x169)][_0x5ec6c(0x140)],'content':this['_localeService']['t'](_0x5ec6c(0xf9))});break;default:this['_messageService'][_0x5ec6c(0xa8)]({'type':a[_0x5ec6c(0x169)][_0x5ec6c(0x140)],'content':this[_0x5ec6c(0x9d)]['t'](_0x5ec6c(0x124))});}return null;}return this[_0x5ec6c(0xbc)][_0x5ec6c(0xa8)]({'type':a[_0x5ec6c(0x169)][_0x5ec6c(0x140)],'content':this[_0x5ec6c(0x9d)]['t'](_0x5ec6c(0x124))}),null;}[_0x25937d(0x17c)](_0x4fd428){const _0x83780e=_0x25937d;let _0xc2fef9='';switch(_0x4fd428){case a[_0x83780e(0x169)]['Success']:_0xc2fef9=this[_0x83780e(0x9d)]['t'](_0x83780e(0x1cb));break;case a[_0x83780e(0x169)][_0x83780e(0xdc)]:_0xc2fef9=this[_0x83780e(0x9d)]['t'](_0x83780e(0x107));}this[_0x83780e(0xbc)][_0x83780e(0xa8)]({'type':_0x4fd428,'content':_0xc2fef9});}[_0x25937d(0x12e)](_0xe4e5de){const _0x127eb9=_0x25937d;let _0x20297c='';switch(_0xe4e5de){case a[_0x127eb9(0x169)][_0x127eb9(0xe6)]:_0x20297c=this[_0x127eb9(0x9d)]['t'](_0x127eb9(0x230));break;case a[_0x127eb9(0x169)][_0x127eb9(0xdc)]:_0x20297c=this[_0x127eb9(0x9d)]['t'](_0x127eb9(0x18d));}this[_0x127eb9(0xbc)][_0x127eb9(0xa8)]({'type':_0xe4e5de,'content':_0x20297c});}['_emitProgress'](){const _0xa4eb03=_0x25937d;this[_0xa4eb03(0x16d)]['next']({'done':this[_0xa4eb03(0x14b)],'count':this['_totalUploadTaskCount']});}['_addTotalCount'](_0x3330da){const _0x5c5510=_0x25937d;this['_totalUploadTaskCount']+=_0x3330da,this[_0x5c5510(0xdd)]();}[_0x25937d(0x1d6)](_0x1714a4){const _0x45074d=_0x25937d;this['_doneUploadTaskCount']+=_0x1714a4,this[_0x45074d(0x14b)]=Math[_0x45074d(0x134)](this['_doneUploadTaskCount'],this[_0x45074d(0x102)]),this[_0x45074d(0xdd)]();}['_completeProgress'](){const _0x580f85=_0x25937d;this[_0x580f85(0x14b)]=this['_totalUploadTaskCount'],this[_0x580f85(0xdd)]();}[_0x25937d(0xa5)](){const _0x4f1135=_0x25937d;this[_0x4f1135(0x14b)]=0x0,this['_totalUploadTaskCount']=0x0,this[_0x4f1135(0xdd)]();}['_fileTypeError'](_0x5440af,_0x314b90){const _0x27f6a3=_0x25937d;let _0x1dfe8f=_0x5440af[0x0],_0x307946=_0x1dfe8f[_0x27f6a3(0xea)];return!ne(_0x1dfe8f,_0x314b90)&&(this[_0x27f6a3(0xbc)][_0x27f6a3(0xa8)]({'type':a[_0x27f6a3(0x169)][_0x27f6a3(0x140)],'content':this[_0x27f6a3(0x9d)]['t'](_0x27f6a3(0x209),_0x307946)}),!0x0);}['_uploadTaskNotDone'](){const _0x57ed7e=_0x25937d;return this[_0x57ed7e(0x102)]!==0x0&&this[_0x57ed7e(0x14b)]!==this[_0x57ed7e(0x102)];}};G=F([P(0x0,(0x0,t[_0x25937d(0xf6)])(t[_0x25937d(0x1e4)])),P(0x1,r[_0x25937d(0x22c)]),P(0x2,(0x0,t['Inject'])(t[_0x25937d(0x172)])),P(0x3,(0x0,t[_0x25937d(0xf6)])(B)),P(0x4,(0x0,t[_0x25937d(0xf6)])(H)),P(0x5,t[_0x25937d(0x196)])],G);const ve={0x1:(0x0,c['jsx'])(i[_0x25937d(0x10f)],{'className':_0x25937d(0x1d3)}),0x0:(0x0,c['jsx'])(i[_0x25937d(0x231)],{'className':_0x25937d(0x181)}),0x2:(0x0,c[_0x25937d(0x219)])(i[_0x25937d(0x112)],{'className':'univer-text-red-500'})};function ye(){const _0x778b99=_0x25937d;let _0x14619c=(0x0,r[_0x778b99(0x1ca)])(H),_0x12e534=(0x0,r[_0x778b99(0x1ca)])(t['LocaleService']),_0x6a1ceb=(0x0,r[_0x778b99(0x1ca)])(W),_0x27b1ac=(0x0,r[_0x778b99(0xd5)])(_0x14619c['visible$'],!0x1),_0x3299e4=(0x0,r[_0x778b99(0xd5)])(_0x14619c[_0x778b99(0xaf)],0x0),_0x4669c4=(0x0,r['useObservable'])(_0x14619c[_0x778b99(0xb2)],[]),_0x289abf=(0x0,r[_0x778b99(0xd5)])(_0x6a1ceb[_0x778b99(0x12f)],{'done':0x0,'count':0x0});if(!_0x27b1ac)return null;function _0x1631af(_0x255007){const _0x579f8d=_0x778b99;switch(_0x255007){case t[_0x579f8d(0x16b)]['UNIVER_DOC']:return(0x0,c['jsx'])(i[_0x579f8d(0x168)],{});case t[_0x579f8d(0x16b)]['UNIVER_SHEET']:case t[_0x579f8d(0x16b)]['UNIVER_BASE']:return(0x0,c[_0x579f8d(0x219)])(i[_0x579f8d(0x19f)],{});case t['UniverInstanceType'][_0x579f8d(0x1d1)]:return(0x0,c[_0x579f8d(0x219)])(i['SlidesMultiIcon'],{});default:return null;}}function _0x2aa583(){const _0xaecf2b=_0x778b99;switch(_0x3299e4){case 0x1:return _0x12e534['t']('exchange-client.uploadSuccess');case 0x2:return _0x12e534['t'](_0xaecf2b(0x1ad));default:return _0x12e534['t'](_0xaecf2b(0x18d));}}let _0x4f2f6a=_0x289abf[_0x778b99(0xb3)]>0x0?Math['floor'](_0x289abf[_0x778b99(0xef)]/_0x289abf[_0x778b99(0xb3)]*0x64):0x0;return(0x0,c[_0x778b99(0x1bb)])(_0x778b99(0x147),{'data-u-comp':'mobile-upload-notification','className':_0x778b99(0x249),'children':[(0x0,c[_0x778b99(0x1bb)])(_0x778b99(0x116),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','children':[(0x0,c['jsxs'])('span',{'className':_0x778b99(0x218),'children':[(0x0,c[_0x778b99(0x219)])('span',{'className':_0x778b99(0x1dc),'children':ve[_0x3299e4]}),(0x0,c[_0x778b99(0x219)])(_0x778b99(0x17e),{'className':_0x778b99(0x1fd),'children':_0x2aa583()})]}),(0x0,c[_0x778b99(0x219)])(a['Button'],{'size':'icon','variant':'text','aria-label':_0x12e534['t'](_0x778b99(0x100)),'onClick':()=>_0x14619c[_0x778b99(0x22e)](),'children':(0x0,c['jsx'])(i[_0x778b99(0x16e)],{})})]}),_0x3299e4===0x0&&(0x0,c[_0x778b99(0x1bb)])(_0x778b99(0x96),{'className':_0x778b99(0x1e8),'children':[(0x0,c['jsx'])(_0x778b99(0x17e),{'className':_0x778b99(0x14c),'children':_0x12e534['t']('exchange-client.wait')}),(0x0,c[_0x778b99(0x219)])(_0x778b99(0x96),{'className':_0x778b99(0x128),'children':(0x0,c[_0x778b99(0x219)])(_0x778b99(0x96),{'className':_0x778b99(0x20d),'style':{'width':_0x4f2f6a+'%'}})}),(0x0,c[_0x778b99(0x219)])(a[_0x778b99(0x1d9)],{'variant':_0x778b99(0x21e),'onClick':()=>_0x6a1ceb[_0x778b99(0x1ba)](),'children':_0x12e534['t']('exchange-client.cancel')})]}),_0x3299e4===0x2&&(0x0,c[_0x778b99(0x1bb)])(_0x778b99(0x96),{'className':_0x778b99(0xe5),'children':[(0x0,c[_0x778b99(0x219)])(_0x778b99(0x17e),{'className':_0x778b99(0x14c),'children':_0x12e534['t'](_0x778b99(0xd2))}),(0x0,c['jsx'])(a[_0x778b99(0x1d9)],{'variant':'text','onClick':()=>_0x6a1ceb[_0x778b99(0x187)](),'children':_0x12e534['t'](_0x778b99(0x1aa))})]}),_0x4669c4[_0x778b99(0x1ce)]>0x0&&(0x0,c[_0x778b99(0x219)])('ul',{'className':'univer-m-0\x20univer-grid\x20univer-list-none\x20univer-gap-2\x20univer-p-0','children':_0x4669c4[_0x778b99(0x235)](_0x5d30bf=>(0x0,c['jsx'])('li',{'children':(0x0,c['jsxs'])('a',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-rounded-lg\x20univer-bg-gray-50\x20univer-px-3\x20univer-py-2\x20univer-text-gray-900\x20univer-no-underline\x20dark:!univer-bg-gray-800\x20dark:!univer-text-gray-0','href':_0x5d30bf[_0x778b99(0x1a2)],'target':_0x778b99(0x11a),'rel':_0x778b99(0xd6),'children':[(0x0,c[_0x778b99(0x219)])(_0x778b99(0x17e),{'className':'univer-flex\x20univer-size-5\x20univer-shrink-0\x20univer-items-center','children':_0x1631af(_0x5d30bf['type'])}),(0x0,c[_0x778b99(0x219)])(_0x778b99(0x17e),{'className':'univer-min-w-0\x20univer-flex-1\x20univer-truncate\x20univer-text-sm','children':_0x5d30bf['name']}),(0x0,c[_0x778b99(0x219)])(i['ShareRangeIcon'],{'className':_0x778b99(0x205)})]})},_0x5d30bf[_0x778b99(0x1a2)]))}),_0x3299e4===0x1&&(0x0,c[_0x778b99(0x1bb)])(_0x778b99(0x96),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','children':[(0x0,c['jsx'])(_0x778b99(0x17e),{'className':_0x778b99(0xa2),'children':_0x12e534['t'](_0x778b99(0x15b),''+_0x4669c4[_0x778b99(0x1ce)])}),(0x0,c[_0x778b99(0x219)])(a[_0x778b99(0x1d9)],{'variant':_0x778b99(0x21e),'onClick':()=>_0x6a1ceb['retryImportFileToUnitId'](),'children':_0x12e534['t']('exchange-client.uploadAgain')})]})]});}let K=class extends t[_0x25937d(0x179)]{constructor(_0x33f076,_0x5268df){const _0x1108df=_0x25937d;super(),this['_injector']=_0x33f076,this[_0x1108df(0x14a)]=_0x5268df,this['disposeWithMe'](this[_0x1108df(0x14a)][_0x1108df(0x24d)](r[_0x1108df(0x173)][_0x1108df(0x130)],()=>(0x0,r[_0x1108df(0x20a)])(ye,this[_0x1108df(0x245)])));}};K=F([P(0x0,(0x0,t[_0x25937d(0xf6)])(t['Injector'])),P(0x1,r[_0x25937d(0x24b)])],K);let q=class extends t[_0x25937d(0xe1)]{constructor(_0x43be3a=h,_0x258062,_0x23a8b8){const _0x3c84e6=_0x25937d;super(),this['_config']=_0x43be3a,this['_injector']=_0x258062,this[_0x3c84e6(0xab)]=_0x23a8b8;let {..._0x6ce830}=(0x0,t['merge'])({},h,this[_0x3c84e6(0x186)]);this['_configService'][_0x3c84e6(0x253)](m,_0x6ce830);}[_0x25937d(0x228)](){(0x0,t['registerDependencies'])(this['_injector'],[[z],[K],[W,{'useClass':G}],[B,{'useClass':V}],[I,{'useClass':L}],[H,{'useClass':U}]]);}['onReady'](){const _0xa6986d=_0x25937d;(0x0,t['touchDependencies'])(this[_0xa6986d(0x245)],[[z],[K],[W]]);}};N(q,_0x25937d(0x247),_0x25937d(0xeb)),N(q,'packageName',f),N(q,_0x25937d(0x1a8),p),q=F([(0x0,t['DependentOn'])(e[_0x25937d(0x158)],n[_0x25937d(0xb4)],r[_0x25937d(0x12c)]),P(0x1,(0x0,t[_0x25937d(0xf6)])(t['Injector'])),P(0x2,t[_0x25937d(0x1b8)])],q);let J=class extends t[_0x25937d(0x179)]{constructor(_0xfcccaa,_0x24d017){const _0x3b0e77=_0x25937d;super(),this[_0x3b0e77(0x23f)]=_0xfcccaa,this['_componentManager']=_0x24d017,this[_0x3b0e77(0x1b5)](),this[_0x3b0e77(0x242)]();}[_0x25937d(0x1b5)](){const _0x96ce47=_0x25937d;this[_0x96ce47(0x233)](this[_0x96ce47(0x23f)][_0x96ce47(0x1cf)]({'DirectExportIcon':i['DirectExportIcon'],'ExportIcon':i[_0x96ce47(0x142)],'FolderIcon':i[_0x96ce47(0x19d)]}));}[_0x25937d(0x242)](){const _0x5573ba=_0x25937d;this[_0x5573ba(0x233)](this['_componentManager'][_0x5573ba(0x1cf)](R,he));}};J=F([P(0x0,(0x0,t[_0x25937d(0xf6)])(r[_0x25937d(0x137)])),P(0x1,(0x0,t['Inject'])(r[_0x25937d(0x167)]))],J);function be(_0x57af38){const _0x101124=_0x25937d;let {list:_0x342e82}=_0x57af38;function _0x2ebd50(_0x4af83d){const _0x2055ac=_0x4913;switch(_0x4af83d){case t[_0x2055ac(0x16b)][_0x2055ac(0x13b)]:return(0x0,c['jsx'])(i[_0x2055ac(0x168)],{});case t[_0x2055ac(0x16b)]['UNIVER_SHEET']:case t[_0x2055ac(0x16b)][_0x2055ac(0x176)]:return(0x0,c[_0x2055ac(0x219)])(i[_0x2055ac(0x19f)],{});case t[_0x2055ac(0x16b)]['UNIVER_SLIDE']:return(0x0,c[_0x2055ac(0x219)])(i['SlidesMultiIcon'],{});default:return null;}}return(0x0,c['jsx'])(_0x101124(0x96),{'className':(0x0,a[_0x101124(0x1a1)])(_0x101124(0xca),a[_0x101124(0xf4)]),'children':(0x0,c[_0x101124(0x219)])('ul',{'className':_0x101124(0x1f8),'children':_0x342e82[_0x101124(0x235)]((_0x458e76,_0x3d0204)=>(0x0,c[_0x101124(0x219)])('li',{'children':(0x0,c['jsxs'])('a',{'className':_0x101124(0xff),'href':_0x458e76['link'],'target':_0x101124(0x11a),'rel':_0x101124(0xd6),'children':[(0x0,c[_0x101124(0x1bb)])(_0x101124(0x17e),{'className':'univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','children':[(0x0,c[_0x101124(0x219)])(_0x101124(0x17e),{'className':_0x101124(0x1f7),'children':_0x2ebd50(_0x458e76[_0x101124(0x155)])}),(0x0,c[_0x101124(0x219)])(a[_0x101124(0x22f)],{'showIfEllipsis':!0x0,'title':_0x458e76['name'],'asChild':!0x0,'children':(0x0,c[_0x101124(0x219)])('span',{'className':_0x101124(0x17f),'children':_0x458e76[_0x101124(0xea)]})})]}),(0x0,c[_0x101124(0x219)])(_0x101124(0x17e),{'className':_0x101124(0x21b),'children':(0x0,c[_0x101124(0x219)])(i[_0x101124(0x13d)],{})})]})},_0x3d0204))})});}function Y(_0x2d3ffe){const _0x14331b=_0x25937d;let {onClick:_0x52d185,children:_0xf6a848,className:_0x1a732e}=_0x2d3ffe;return(0x0,c[_0x14331b(0x219)])(a[_0x14331b(0x1d9)],{'size':_0x14331b(0x136),'variant':'text','className':(0x0,a['clsx'])('univer-text-primary-600',_0x1a732e),'type':_0x14331b(0x10d),'onClick':_0x52d185,'children':_0xf6a848});}function X(){const _0x49097c=_0x25937d;let _0x139339=(0x0,r['useDependency'])(W),_0x4a9517=(0x0,r[_0x49097c(0x1ca)])(t[_0x49097c(0x172)]);function _0x3a77f7(){const _0x3e182d=_0x49097c;return _0x139339[_0x3e182d(0x187)]();}return(0x0,c['jsx'])(Y,{'onClick':_0x3a77f7,'children':_0x4a9517['t'](_0x49097c(0x1aa))});}function xe(){const _0x2f6114=_0x25937d;let _0x1f8d1d=(0x0,r[_0x2f6114(0x1ca)])(t[_0x2f6114(0x172)]);return(0x0,c[_0x2f6114(0x1bb)])(_0x2f6114(0x96),{'className':_0x2f6114(0xf1),'children':[(0x0,c['jsx'])(_0x2f6114(0x17e),{'className':'univer-mb-3\x20univer-py-0\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-gray-0','children':_0x1f8d1d['t']('exchange-client.interrupt')}),(0x0,c[_0x2f6114(0x219)])(X,{})]});}function Se(_0xe9d47a){const _0x45913b=_0x25937d;let {count:_0x297df4}=_0xe9d47a,_0x294165=(0x0,r['useDependency'])(t[_0x45913b(0x172)]);return(0x0,c[_0x45913b(0x1bb)])(_0x45913b(0x96),{'className':_0x45913b(0xbf),'children':[(0x0,c[_0x45913b(0x219)])(_0x45913b(0x17e),{'className':'univer-text-sm\x20univer-text-gray-500','children':_0x294165['t']('exchange-client.uploadSuccessTip',''+_0x297df4)}),(0x0,c[_0x45913b(0x219)])(X,{})]});}function Ce(){const _0x421e8d=_0x25937d;let _0x3a9ffe=(0x0,r[_0x421e8d(0x1ca)])(W),_0x4e623c=(0x0,r[_0x421e8d(0x1ca)])(t[_0x421e8d(0x172)]);function _0x47c06d(){const _0x39ca28=_0x421e8d;_0x3a9ffe[_0x39ca28(0x1ba)]();}return(0x0,c[_0x421e8d(0x219)])(Y,{'onClick':_0x47c06d,'children':_0x4e623c['t']('exchange-client.cancel')});}function we(){const _0x18946a=_0x25937d;let _0x5bc146=(0x0,r['useDependency'])(W),{count:_0x180766,done:_0x556e8e}=(0x0,r['useObservable'])(_0x5bc146[_0x18946a(0x12f)]),_0x168358=_0x180766>0x0?_0x556e8e/_0x180766:0x0;return(0x0,c[_0x18946a(0x219)])(_0x18946a(0x96),{'className':_0x18946a(0x13a),'children':(0x0,c['jsx'])(_0x18946a(0x96),{'className':_0x18946a(0x243),'style':{'width':Math[_0x18946a(0xbb)](_0x168358*0x64)+'%'}})});}function Te(){const _0x191a57=_0x25937d;let _0x52af7c=(0x0,r[_0x191a57(0x1ca)])(t[_0x191a57(0x172)]);return(0x0,c['jsxs'])('div',{'className':_0x191a57(0xf1),'children':[(0x0,c[_0x191a57(0x219)])(_0x191a57(0x17e),{'className':_0x191a57(0x14e),'children':_0x52af7c['t']('exchange-client.wait')}),(0x0,c['jsx'])(_0x191a57(0x96),{'className':_0x191a57(0x18a),'children':(0x0,c['jsx'])(we,{})}),(0x0,c[_0x191a57(0x219)])(Ce,{})]});}const Z={0x1:(0x0,c['jsx'])(i[_0x25937d(0x10f)],{'className':'univer-text-green-500'}),0x0:(0x0,c[_0x25937d(0x219)])(i[_0x25937d(0x231)],{'className':_0x25937d(0x181)}),0x2:(0x0,c[_0x25937d(0x219)])(i[_0x25937d(0x112)],{'className':_0x25937d(0xa6)})};function Ee(){const _0x48bf33=_0x25937d;let _0x457a00=(0x0,r['useDependency'])(H),_0x3df5ac=(0x0,r[_0x48bf33(0x1ca)])(t[_0x48bf33(0x172)]),_0x5c86c3=(0x0,r[_0x48bf33(0xd5)])(_0x457a00['state$'],0x0),_0x29e8ca=(0x0,r[_0x48bf33(0xd5)])(_0x457a00[_0x48bf33(0x240)],!0x1),_0x514dee=(0x0,r[_0x48bf33(0xd5)])(_0x457a00['list$'],[]);function _0x452b09(){_0x457a00['hide']();}function _0x5c0dde(_0x4dd511){const _0x28801c=_0x48bf33;switch(_0x4dd511){case 0x1:return _0x3df5ac['t']('exchange-client.uploadSuccess');case 0x0:return _0x3df5ac['t'](_0x28801c(0x18d));case 0x2:return _0x3df5ac['t']('exchange-client.unknownMistake');default:return'';}}return _0x29e8ca&&(0x0,c[_0x48bf33(0x1bb)])(_0x48bf33(0x96),{'className':_0x48bf33(0x149),'children':[(0x0,c[_0x48bf33(0x1bb)])(_0x48bf33(0x96),{'className':_0x48bf33(0x1a6),'children':[(0x0,c[_0x48bf33(0x1bb)])(_0x48bf33(0x17e),{'className':_0x48bf33(0xa7),'children':[(0x0,c[_0x48bf33(0x219)])('span',{'className':'univer-flex\x20univer-size-6\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-text-2xl','children':Z[_0x5c86c3]}),(0x0,c[_0x48bf33(0x219)])(_0x48bf33(0x17e),{'className':_0x48bf33(0xc9),'children':_0x5c0dde(_0x5c86c3)})]}),(0x0,c[_0x48bf33(0x219)])(_0x48bf33(0x17e),{'className':_0x48bf33(0x1e1),'onClick':_0x452b09,'children':(0x0,c[_0x48bf33(0x219)])(i[_0x48bf33(0x16e)],{})})]}),(0x0,c['jsxs'])(_0x48bf33(0x96),{'children':[_0x5c86c3===0x0&&(0x0,c[_0x48bf33(0x219)])(Te,{}),_0x5c86c3===0x2&&(0x0,c['jsx'])(xe,{}),_0x514dee[_0x48bf33(0x1ce)]>0x0&&(0x0,c[_0x48bf33(0x219)])(be,{'list':_0x514dee}),_0x5c86c3===0x1&&(0x0,c[_0x48bf33(0x219)])(Se,{'count':_0x514dee['length']})]})]});}let Q=class extends t[_0x25937d(0x179)]{constructor(_0x325f9d,_0x1a363b){const _0x31d83f=_0x25937d;super(),this[_0x31d83f(0x245)]=_0x325f9d,this[_0x31d83f(0x14a)]=_0x1a363b,this[_0x31d83f(0x11b)]();}[_0x25937d(0x11b)](){const _0x31f1d0=_0x25937d;this['disposeWithMe'](this['_uiPartsService'][_0x31f1d0(0x24d)](r[_0x31f1d0(0x173)][_0x31f1d0(0x130)],()=>(0x0,r['connectInjector'])(Ee,this['_injector'])));}};Q=F([P(0x0,(0x0,t[_0x25937d(0xf6)])(t[_0x25937d(0x246)])),P(0x1,r['IUIPartsService'])],Q);let $=class extends t[_0x25937d(0xe1)]{constructor(_0x545dd5=h,_0x439a8a,_0x56369d){const _0x56d6aa=_0x25937d;super(),this[_0x56d6aa(0x186)]=_0x545dd5,this[_0x56d6aa(0x245)]=_0x439a8a,this[_0x56d6aa(0xab)]=_0x56369d;let {..._0x52e226}=(0x0,t[_0x56d6aa(0x1e3)])({},h,this[_0x56d6aa(0x186)]);this['_configService'][_0x56d6aa(0x253)](m,_0x52e226);}['onStarting'](){(0x0,t['registerDependencies'])(this['_injector'],[[J],[Q],[W,{'useClass':G}],[B,{'useClass':V}],[I,{'useClass':L}],[H,{'useClass':U}]]);}['onReady'](){const _0x25d2b7=_0x25937d;(0x0,t[_0x25d2b7(0xb9)])(this['_injector'],[[J],[Q],[W]]);}};N($,_0x25937d(0x247),_0x25937d(0xeb)),N($,'packageName',f),N($,_0x25937d(0x1a8),p),$=F([(0x0,t['DependentOn'])(e['UniverLicensePlugin'],n[_0x25937d(0xb4)]),P(0x1,(0x0,t[_0x25937d(0xf6)])(t['Injector'])),P(0x2,t[_0x25937d(0x1b8)])],$);function De(_0x1fc7d2,_0x119f18){const _0x55b99a=_0x25937d;let _0x16a467=_0x1fc7d2['get'](t[_0x55b99a(0x1e4)])['getCurrentUnitOfType'](_0x119f18);return!_0x16a467||!_0x1fc7d2[_0x55b99a(0x1bf)](u[_0x55b99a(0x182)])||!_0x1fc7d2['has'](u[_0x55b99a(0x103)])?!0x1:_0x1fc7d2[_0x55b99a(0x1ff)](u[_0x55b99a(0x182)])['isUnitLoadedFromServer'](_0x16a467);}function Oe(_0xa8daa7){const _0x2bf36c=_0x25937d;let _0x2a5e2a=_0xa8daa7['workbook'];if(!_0x2a5e2a)return null;let _0x3ec238={};_0x2a5e2a[_0x2bf36c(0xd9)]&&Object['keys'](_0x2a5e2a[_0x2bf36c(0xd9)])[_0x2bf36c(0x99)](_0x31b6a3=>{const _0x50fd37=_0x2bf36c;let _0x5dec25=_0x2a5e2a[_0x50fd37(0xd9)][_0x31b6a3];_0x3ec238[_0x31b6a3]={..._0x5dec25,'originalMeta':(0x0,u[_0x50fd37(0x1b6)])(u[_0x50fd37(0x152)][_0x50fd37(0x118)](_0x5dec25['originalMeta']))};});let _0x31b5fa=(0x0,u[_0x2bf36c(0x1b6)])(u[_0x2bf36c(0x152)][_0x2bf36c(0x118)](_0x2a5e2a[_0x2bf36c(0x1e2)]));return{..._0xa8daa7,'workbook':{..._0x2a5e2a,'originalMeta':_0x31b5fa,'sheets':_0x3ec238},'doc':{},'slide':void 0x0,'board':void 0x0,'pdf':void 0x0};}function ke(_0x2d23ac){const _0x5cf9c5=_0x25937d;let _0x368cab={};return _0x2d23ac[_0x5cf9c5(0x99)](_0x3c32e2=>{const _0x1fe78e=_0x5cf9c5;_0x368cab[_0x3c32e2['id']]={..._0x3c32e2,'data':(0x0,u[_0x1fe78e(0x1b6)])(u[_0x1fe78e(0x152)][_0x1fe78e(0x118)](_0x3c32e2['data']))};}),_0x368cab;}var Ae=class{constructor(){N(this,'_sheetBlockCache',new Map());}[_0x25937d(0x97)](){const _0x325f30=_0x25937d;return Promise['resolve']({'snapshot':{'unitID':'','type':t[_0x325f30(0x16b)][_0x325f30(0x178)],'rev':0x0,'workbook':void 0x0,'doc':void 0x0,'slide':void 0x0,'board':void 0x0},'changesets':[],'error':{'code':s[_0x325f30(0x1e9)]['OK'],'message':''}});}[_0x25937d(0x18f)](_0x5ac721,_0x1b4e6a){const _0x269ec1=_0x25937d;let _0x918645=this[_0x269ec1(0xba)][_0x269ec1(0x1ff)](_0x1b4e6a[_0x269ec1(0x250)]);return Promise[_0x269ec1(0x1e7)]({'block':_0x918645,'error':{'code':s[_0x269ec1(0x1e9)]['OK'],'message':''}});}[_0x25937d(0x21c)](_0x4d4e24,_0x2be807){const _0x5610a1=_0x25937d;let _0x580d2a=this[_0x5610a1(0xba)][_0x5610a1(0x1ff)](_0x2be807[_0x5610a1(0x250)]);return Promise['resolve']({'block':_0x580d2a===void 0x0?void 0x0:{..._0x580d2a,'data':JSON[_0x5610a1(0x10a)](u['textDecoder'][_0x5610a1(0x118)](_0x580d2a[_0x5610a1(0x144)]))},'error':{'code':s[_0x5610a1(0x1e9)]['OK'],'message':''}});}['fetchMissingChangesets'](){const _0x125d3e=_0x25937d;return Promise['resolve']({'changesets':[],'error':{'code':s[_0x125d3e(0x1e9)]['OK'],'message':''}});}[_0x25937d(0x1d5)](){const _0x4e0ebb=_0x25937d;return Promise[_0x4e0ebb(0x1e7)]({'resources':{},'error':{'code':s[_0x4e0ebb(0x1e9)]['OK'],'message':''}});}[_0x25937d(0x9c)](){const _0x33e36e=_0x25937d;return Promise['resolve']({'error':{'code':s[_0x33e36e(0x1e9)]['OK'],'message':''}});}[_0x25937d(0xe3)](){const _0x3d7f1e=_0x25937d;return Promise[_0x3d7f1e(0x1e7)]({'error':{'code':s[_0x3d7f1e(0x1e9)]['OK'],'message':''}});}[_0x25937d(0x1e5)](_0x48f06b,_0x5b0b9a){const _0x3034f5=_0x25937d;let {block:_0x5f0b45}=_0x5b0b9a;return _0x5f0b45?(this[_0x3034f5(0xba)][_0x3034f5(0x237)](_0x5f0b45['id'],_0x5f0b45),Promise['resolve']({'error':{'code':s[_0x3034f5(0x1e9)]['OK'],'message':''},'blockID':_0x5f0b45['id']})):Promise[_0x3034f5(0x1e7)]({'error':{'code':s[_0x3034f5(0x1e9)][_0x3034f5(0x222)],'message':_0x3034f5(0x1dd)},'blockID':''});}[_0x25937d(0xac)](){const _0x410b57=_0x25937d;return Promise['resolve']({'error':{'code':s[_0x410b57(0x1e9)]['OK'],'message':''},'concurrent':[]});}['copyFileMeta'](){const _0x24ca9d=_0x25937d;return Promise[_0x24ca9d(0x1e7)]({'error':void 0x0,'fileMetaId':''});}['getLatestCsReqIdBySid'](){return Promise['resolve']({'error':void 0x0,'latestReqID':0x0});}};exports[_0x25937d(0xe9)]=Ae,exports[_0x25937d(0x183)]=R,exports[_0x25937d(0x184)]=me,exports['ExchangeBaseFormulaPolicy']=pe,exports[_0x25937d(0x9a)]=fe,exports[_0x25937d(0x185)]=de,exports['ExchangeFormat']=ue,exports[_0x25937d(0x10b)]=W,exports[_0x25937d(0x113)]=B,exports['ImportOutputType']=le,Object[_0x25937d(0x1b4)](exports,'UniverExchangeClientMobileUIPlugin',{'enumerable':!0x0,'get':function(){return q;}}),Object[_0x25937d(0x1b4)](exports,'UniverExchangeClientPlugin',{'enumerable':!0x0,'get':function(){return $;}}),exports[_0x25937d(0x226)]=De,exports[_0x25937d(0x150)]=ke,exports[_0x25937d(0x19a)]=Oe;
1
+ const _0x2a97bf=_0x4b12;(function(_0xba3e09,_0xc5bdd2){const _0x58511=_0x4b12,_0x353482=_0xba3e09();while(!![]){try{const _0x15b63e=parseInt(_0x58511(0x26f))/0x1*(parseInt(_0x58511(0x1cd))/0x2)+-parseInt(_0x58511(0x216))/0x3+-parseInt(_0x58511(0x210))/0x4*(-parseInt(_0x58511(0x1fe))/0x5)+-parseInt(_0x58511(0x252))/0x6*(-parseInt(_0x58511(0x290))/0x7)+parseInt(_0x58511(0x1da))/0x8*(parseInt(_0x58511(0x1a4))/0x9)+-parseInt(_0x58511(0x1db))/0xa+-parseInt(_0x58511(0x275))/0xb*(-parseInt(_0x58511(0x1d9))/0xc);if(_0x15b63e===_0xc5bdd2)break;else _0x353482['push'](_0x353482['shift']());}catch(_0x5a0b8f){_0x353482['push'](_0x353482['shift']());}}}(_0x24ab,0xd4e60),Object[_0x2a97bf(0x23f)](exports,Symbol[_0x2a97bf(0x21d)],{'value':_0x2a97bf(0x1fa)}));let e=require('@univerjs-pro/license'),t=require('@univerjs/core'),n=require('@univerjs/network'),r=require('@univerjs-pro/collaboration'),i=require('@univerjs/protocol'),a=require('fflate'),o=require('rxjs');function _0x24ab(){const _0x2508bb=['clearTaskInterrupted','application/pdf','exportFileByUnitId','_import','getResourcesRequest','add','exportServerUrl','decorate','saveSheetBlock','sheets','ExchangeFormat','FileSource','&source=','Failed\x20to\x20get\x20unitID\x20from\x20task','body','originalMeta','MODERN','textDecoder','/universer-api/stream/file/upload','message','function','pptx','upload\x20failed:\x20FileId\x20is\x20empty','320oWKPst','dispose','b64EncodeUnicode','encode','ppt','ranges','\x20-\x20','HTTPService','forEach','Error\x20getting\x20file\x20name\x20from\x20URL:','content-disposition','string','32844oyQjWQ','152PMmcmb','11619250YOdvGF','Injector','signUrlServerUrl','upload\x20failed:\x20missing\x20FileId\x20in\x20response','univer-pro.exchange-client.request.service','_getExportURL','uploadFileServerUrl','FAIL','constructor','_configService','text','statusText','UNIVER_DOC','UNDEFINED','Failed\x20to\x20parse\x20json','status','getTextFromUrl','{taskID}','_getImportURL','interruptImportTask','csv','pdf','get','text/tab-separated-values','ExchangeBaseExportMode','convert-then-values','asObservable','file','PPTX','clear','/universer-api/exchange/{type}/import','Module','UniverNetworkPlugin','application/vnd.ms-powerpoint','type','2688715ROeALR','/universer-api/exchange/{type}/export','AUTO','Failed\x20to\x20get\x20jsonID\x20from\x20task','number','createIdentifier','has','FileId','upload','UNIVER_BOARD','_importToJson','UNIT','removeEventListener','_httpService','default','ExchangeBaseFormulaPolicy','onStarting','UNIVER_EXCHANGE_CLIENT_PLUGIN','8xwrvLX','fail','import\x20error','JSON','HttpImport','getSheetBlock','4625352kyZtfq','join','code','importFileToUnitId','_buildHttpErrorMessage','application/json','/universer-api/file/{fileID}/sign-url','toStringTag','requestState$','length','decode','@univerjs-pro/exchange-client','_config','export\x20error','map','Failed\x20to\x20get\x20text\x20from\x20url','match','getTaskServerUrl','CONVERT_THEN_VALUES','&flate=','_getUploadFileURL','getTask','DependentOn','fromEntries','export','doc','downloadFile','application/vnd.ms-excel','maxTimeoutTime','blockID','AbortError','block\x20is\x20required','Get\x20outputType\x20error','Disposable','getLatestCsReqIdBySid','_signUrl','IConfigService','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','headers','keys','symbol','defineProperty','_importTaskId','ImportOutputType','values','auto','upload\x20request\x20failed','click','tsv','aborted','Plugin','_injector','file.json','deflateSync','prototype','UNIVER_PROJECT','abort','resolveWithBasePath','set','_export','4407360SfFwwr','Error\x20fetching\x20file\x20from\x20URL:','ErrorCode','success','transformSheetBlockMetaToString','next','post','ExchangeBaseImportMode','application/octet-stream','resolve','UNIVER_SHEET','textEncoder','fetchMissingChangesets','Failed\x20to\x20get\x20file\x20from\x20url','Subject','object','transformWorkbookSnapshotMetaToString','subscribe','createObjectURL','outputType','tables','revokeObjectURL','filter','_taskInterrupted','DOCX','getDeserializedSheetBlock','?size=','_getTaskURL','_upload','2942msOsRm','File\x20request\x20aborted.','xlsx','traditional','url','trim','1364ZiHwCB','createElement','CSV','_getSignURL','origin','_requestService','_sheetBlockCache','replace','_getMaxPollingTime','signUrl','pluginName','import','downloadEndpointUrl','registerDependencies','error','Failed\x20to\x20get\x20taskID\x20from\x20import\x20response','workbook','UNIVER_SLIDE','hybrid','HTTPEventType','_buildProtocolErrorMessage','catch','none','application/vnd.openxmlformats-officedocument.presentationml.presentation','univer-pro.exchange-client.exchange.service','unsubscribe','appendChild','14WcMDya','taskID','blob','file.','IExchangeService','done','getUnitOnRev','upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url','name','XLSX','UNIVER_PDF','_extractErrorDetail','size','saveChangeset','download','RANGES','Failed\x20to\x20get\x20fileID\x20from\x20task','sign\x20url\x20error','isArray','setConfig','Inject','104697grxRJB','_requestState$','importFileToJson','/universer-api/exchange/task/{taskID}','text/csv','VALUES','application/vnd.openxmlformats-officedocument.wordprocessingml.document','TRADITIONAL','getConfig','{type}','TEXT','{fileID}','UniverLicensePlugin','Response','UniverInstanceType','_exportBySnapshot','UNRECOGNIZED','buffer'];_0x24ab=function(){return _0x2508bb;};return _0x24ab();}var s=_0x2a97bf(0x221),c='1.2.0';const l='exchange-client.config',u={},d=_0x2a97bf(0x1aa),f='application/msword',p=_0x2a97bf(0x231),m='application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',h=_0x2a97bf(0x1a8),g=_0x2a97bf(0x1f2),_=_0x2a97bf(0x1fc),v=_0x2a97bf(0x28c),y=_0x2a97bf(0x1b7),b={[t[_0x2a97bf(0x1b2)]['UNIVER_UNKNOWN']]:[''],[t['UniverInstanceType'][_0x2a97bf(0x1e7)]]:[f,d],[t[_0x2a97bf(0x1b2)][_0x2a97bf(0x25c)]]:[p,m,h,g],[t[_0x2a97bf(0x1b2)][_0x2a97bf(0x286)]]:[_,v],[t['UniverInstanceType'][_0x2a97bf(0x199)]]:[y],[t[_0x2a97bf(0x1b2)]['UNIVER_BASE']]:[p,m,h,g],[t['UniverInstanceType'][_0x2a97bf(0x207)]]:[''],[t[_0x2a97bf(0x1b2)][_0x2a97bf(0x24d)]]:[''],[t[_0x2a97bf(0x1b2)]['UNRECOGNIZED']]:['']},x={[f]:_0x2a97bf(0x22f),[d]:'docx',[p]:'xls',[m]:_0x2a97bf(0x271),[h]:_0x2a97bf(0x1ef),[g]:_0x2a97bf(0x246),[_]:_0x2a97bf(0x1d1),[v]:'pptx',[y]:'pdf'};Object[_0x2a97bf(0x22d)](Object['entries'](b)[_0x2a97bf(0x224)](([_0x14ac11,_0x42e193])=>[_0x14ac11,_0x42e193[_0x2a97bf(0x224)](_0x4e3544=>x[_0x4e3544])[_0x2a97bf(0x268)](Boolean)]));function S(_0x23c99b,_0x4ff37a,_0x127659){const _0x2ce0e5=_0x2a97bf;let _0x5a50e1=document[_0x2ce0e5(0x276)]('a');_0x5a50e1['href']=_0x23c99b,_0x5a50e1['style']['display']=_0x2ce0e5(0x28b),_0x5a50e1[_0x2ce0e5(0x19d)]=_0x4ff37a+'.'+_0x127659,document[_0x2ce0e5(0x1c4)][_0x2ce0e5(0x28f)](_0x5a50e1),_0x5a50e1[_0x2ce0e5(0x245)](),document[_0x2ce0e5(0x1c4)]['removeChild'](_0x5a50e1);}async function C(_0x2c713f,_0x841841){const _0x5c2bf0=_0x2a97bf;try{return await w(_0x2c713f,_0x841841);}catch(_0x300526){console['error'](_0x5c2bf0(0x253),_0x300526);return;}}async function w(_0x4d2b1e,_0x302293,_0x409160){const _0x5d8df9=_0x2a97bf;var _0x211773,_0x29667c;let _0x324935=_0x409160?await T(_0x4d2b1e,_0x302293,_0x409160):await _0x302293['get'](_0x4d2b1e,{'responseType':_0x5d8df9(0x292)}),_0x2b0c7d=_0x324935[_0x5d8df9(0x1c4)],_0x112aba=((_0x211773=_0x324935[_0x5d8df9(0x23c)][_0x5d8df9(0x1f1)]('Content-Type'))==null?void 0x0:_0x211773['join'](',\x20'))??_0x5d8df9(0x25a),_0x25f8f6=_0x5d8df9(0x293)+(x[_0x112aba]||'xlsx'),_0x1d318d=(_0x29667c=_0x324935[_0x5d8df9(0x23c)][_0x5d8df9(0x1f1)](_0x5d8df9(0x1d7)))==null?void 0x0:_0x29667c[_0x5d8df9(0x217)](',\x20');if(_0x1d318d){let _0x1cde3e=_0x1d318d[_0x5d8df9(0x226)](/filename=(.+)/);_0x1cde3e&&_0x1cde3e[0x1]&&(_0x25f8f6=_0x1cde3e[0x1]);}else _0x25f8f6=E(_0x4d2b1e)||_0x25f8f6;return new File([_0x2b0c7d],_0x25f8f6,{'type':_0x112aba});}function T(_0x1f3d13,_0x521235,_0x33e9a4){return new Promise((_0x41cfc2,_0x37ea23)=>{const _0x4fa209=_0x4b12;let _0x302feb=!0x1,_0x1a920d,_0x547e7b=()=>_0x33e9a4[_0x4fa209(0x20a)](_0x4fa209(0x24e),_0x2c6a97),_0x2c6a97=()=>{const _0x5efd41=_0x4fa209;if(_0x302feb)return;_0x302feb=!0x0,_0x1a920d==null||_0x1a920d['unsubscribe'](),_0x547e7b();let _0x3bd9be=Error(_0x5efd41(0x270));_0x3bd9be[_0x5efd41(0x197)]=_0x5efd41(0x234),_0x37ea23(_0x3bd9be);};_0x33e9a4['addEventListener']('abort',_0x2c6a97,{'once':!0x0}),_0x33e9a4[_0x4fa209(0x247)]?_0x2c6a97():(_0x1a920d=_0x521235['stream']('GET',_0x1f3d13,{'responseType':'blob'})[_0x4fa209(0x263)]({'next'(_0x225229){const _0x15e254=_0x4fa209;_0x302feb||_0x225229[_0x15e254(0x1fd)]!==n[_0x15e254(0x288)][_0x15e254(0x1b1)]||(_0x302feb=!0x0,_0x547e7b(),_0x1a920d==null||_0x1a920d[_0x15e254(0x28e)](),_0x41cfc2(_0x225229));},'error'(_0x4214ee){_0x302feb||(_0x302feb=!0x0,_0x547e7b(),_0x37ea23(_0x4214ee));},'complete'(){_0x302feb||(_0x302feb=!0x0,_0x547e7b(),_0x37ea23(Error('File\x20request\x20completed\x20without\x20a\x20response.')));}}),_0x302feb&&_0x1a920d['unsubscribe']());});}function E(_0xe58e47){const _0x298b95=_0x2a97bf;try{return new URL(_0xe58e47)['pathname']['split']('/')['pop']();}catch(_0x550170){console['error'](_0x298b95(0x1d6),_0x550170);return;}}function D(_0x20c192){const _0x1cab35=_0x2a97bf;let _0x54a988=new Blob([_0x20c192[_0x1cab35(0x1b5)]],{'type':_0x1cab35(0x21b)});return new File([_0x54a988],_0x1cab35(0x24a));}function O(_0x10aa00,_0x199516){const _0x142ec4=_0x2a97bf;return _0x10aa00[_0x142ec4(0x27c)](_0x142ec4(0x1ad),_0x199516);}function k(_0x3c3d5a,_0x42d03f){const _0x5342b1=_0x2a97bf;return _0x3c3d5a[_0x5342b1(0x27c)](_0x5342b1(0x1ec),_0x42d03f);}function A(_0x52eb02,_0x40914c){const _0x4f7564=_0x2a97bf;return _0x52eb02[_0x4f7564(0x27c)](_0x4f7564(0x1af),_0x40914c);}function j(_0x5abf81){'@babel/helpers - typeof';const _0x366813=_0x2a97bf;return j=typeof Symbol==_0x366813(0x1ca)&&typeof Symbol['iterator']==_0x366813(0x23e)?function(_0x23bd09){return typeof _0x23bd09;}:function(_0x46b1ef){const _0x3b05f4=_0x366813;return _0x46b1ef&&typeof Symbol==_0x3b05f4(0x1ca)&&_0x46b1ef[_0x3b05f4(0x1e3)]===Symbol&&_0x46b1ef!==Symbol[_0x3b05f4(0x24c)]?_0x3b05f4(0x23e):typeof _0x46b1ef;},j(_0x5abf81);}function M(_0x1db2a7,_0xc59cbd){const _0x3dd8fd=_0x2a97bf;if(j(_0x1db2a7)!=_0x3dd8fd(0x261)||!_0x1db2a7)return _0x1db2a7;var _0xd5f297=_0x1db2a7[Symbol['toPrimitive']];if(_0xd5f297!==void 0x0){var _0x2b73a0=_0xd5f297['call'](_0x1db2a7,_0xc59cbd||_0x3dd8fd(0x20c));if(j(_0x2b73a0)!=_0x3dd8fd(0x261))return _0x2b73a0;throw TypeError(_0x3dd8fd(0x23b));}return(_0xc59cbd===_0x3dd8fd(0x1d8)?String:Number)(_0x1db2a7);}function N(_0xc04d1a){const _0x1dc874=_0x2a97bf;var _0x2e90aa=M(_0xc04d1a,_0x1dc874(0x1d8));return j(_0x2e90aa)==_0x1dc874(0x23e)?_0x2e90aa:_0x2e90aa+'';}function P(_0x47bb71,_0x2846ed,_0x2eaca2){return(_0x2846ed=N(_0x2846ed))in _0x47bb71?Object['defineProperty'](_0x47bb71,_0x2846ed,{'value':_0x2eaca2,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x47bb71[_0x2846ed]=_0x2eaca2,_0x47bb71;}function _0x4b12(_0x276a8c,_0x438e59){_0x276a8c=_0x276a8c-0x194;const _0x24ab38=_0x24ab();let _0x4b1265=_0x24ab38[_0x276a8c];return _0x4b1265;}function F(_0x566499,_0x4a76dc){return function(_0x261336,_0x5c39ca){_0x4a76dc(_0x261336,_0x5c39ca,_0x566499);};}function I(_0x2ad2ef,_0x537072,_0x3d561a,_0x1997d9){const _0x5d0a9e=_0x2a97bf;var _0x40f432=arguments[_0x5d0a9e(0x21f)],_0x109cc2=_0x40f432<0x3?_0x537072:_0x1997d9===null?_0x1997d9=Object['getOwnPropertyDescriptor'](_0x537072,_0x3d561a):_0x1997d9,_0x36b8db;if(typeof Reflect==_0x5d0a9e(0x261)&&typeof Reflect[_0x5d0a9e(0x1bd)]=='function')_0x109cc2=Reflect[_0x5d0a9e(0x1bd)](_0x2ad2ef,_0x537072,_0x3d561a,_0x1997d9);else{for(var _0x411ec7=_0x2ad2ef[_0x5d0a9e(0x21f)]-0x1;_0x411ec7>=0x0;_0x411ec7--)(_0x36b8db=_0x2ad2ef[_0x411ec7])&&(_0x109cc2=(_0x40f432<0x3?_0x36b8db(_0x109cc2):_0x40f432>0x3?_0x36b8db(_0x537072,_0x3d561a,_0x109cc2):_0x36b8db(_0x537072,_0x3d561a))||_0x109cc2);}return _0x40f432>0x3&&_0x109cc2&&Object['defineProperty'](_0x537072,_0x3d561a,_0x109cc2),_0x109cc2;}let L=function(_0x4d364e){const _0x43c5ec=_0x2a97bf;return _0x4d364e[_0x4d364e['UNDEFINED']=0x0]=_0x43c5ec(0x1e8),_0x4d364e[_0x4d364e['UNIT']=0x1]=_0x43c5ec(0x209),_0x4d364e[_0x4d364e[_0x43c5ec(0x213)]=0x2]=_0x43c5ec(0x213),_0x4d364e[_0x4d364e[_0x43c5ec(0x1b4)]=-0x1]='UNRECOGNIZED',_0x4d364e;}({}),R=function(_0x24380b){const _0x4f89fb=_0x2a97bf;return _0x24380b[_0x4f89fb(0x198)]=_0x4f89fb(0x271),_0x24380b[_0x4f89fb(0x277)]='csv',_0x24380b['TSV']=_0x4f89fb(0x246),_0x24380b[_0x4f89fb(0x26a)]='docx',_0x24380b[_0x4f89fb(0x1f7)]=_0x4f89fb(0x1cb),_0x24380b['PDF']=_0x4f89fb(0x1f0),_0x24380b;}({}),z=function(_0x2524ea){const _0x35a0a9=_0x2a97bf;return _0x2524ea[_0x35a0a9(0x1c6)]='modern',_0x2524ea[_0x35a0a9(0x1ab)]=_0x35a0a9(0x272),_0x2524ea;}({}),B=function(_0x4685ab){const _0x11145b=_0x2a97bf;return _0x4685ab[_0x11145b(0x200)]=_0x11145b(0x243),_0x4685ab['TABLES']='tables',_0x4685ab['SHEETS']='sheets',_0x4685ab['HYBRID']=_0x11145b(0x287),_0x4685ab;}({}),V=function(_0x127575){const _0x2d7fe4=_0x2a97bf;return _0x127575[_0x2d7fe4(0x228)]=_0x2d7fe4(0x1f4),_0x127575[_0x2d7fe4(0x1a9)]=_0x2d7fe4(0x242),_0x127575[_0x2d7fe4(0x1ae)]=_0x2d7fe4(0x1e5),_0x127575[_0x2d7fe4(0x1e2)]=_0x2d7fe4(0x211),_0x127575;}({}),H=function(_0x2fb983){const _0x10e244=_0x2a97bf;return _0x2fb983['TABLES']=_0x10e244(0x266),_0x2fb983[_0x10e244(0x19e)]=_0x10e244(0x1d2),_0x2fb983;}({});const U=(0x0,t['createIdentifier'])(_0x2a97bf(0x1df));let W=class{constructor(_0xbfd5eb,_0x1e03a0){const _0x390a15=_0x2a97bf;this['_configService']=_0xbfd5eb,this[_0x390a15(0x20b)]=_0x1e03a0,P(this,_0x390a15(0x269),new Set());}[_0x2a97bf(0x1ce)](){}['setTaskInterrupted'](_0x4308a4){const _0x5cce42=_0x2a97bf;this['_taskInterrupted'][_0x5cce42(0x1bb)](_0x4308a4);}[_0x2a97bf(0x1b6)](){const _0x1c63a4=_0x2a97bf;this['_taskInterrupted'][_0x1c63a4(0x1f8)]();}async['upload'](_0x56fc15,_0x329a0a=0x0,_0x3822d7=!0x1){const _0x175a6f=_0x2a97bf;if(typeof _0x56fc15==_0x175a6f(0x1d8)){let _0x1760b2=await C(_0x56fc15,this[_0x175a6f(0x20b)]);if(!_0x1760b2)throw Error(_0x175a6f(0x196));_0x56fc15=_0x1760b2;}_0x329a0a||=_0x56fc15[_0x175a6f(0x19b)];let _0xf76390=new FormData();_0xf76390['append'](_0x175a6f(0x1f6),_0x56fc15);try{let _0x2de789=this[_0x175a6f(0x22a)]()+_0x175a6f(0x26c)+_0x329a0a+_0x175a6f(0x1c2)+i[_0x175a6f(0x1c1)][_0x175a6f(0x214)]+_0x175a6f(0x229)+_0x3822d7,_0x1fbc88={'body':_0xf76390},_0x3cf25c=(await this[_0x175a6f(0x20b)][_0x175a6f(0x258)](_0x2de789,_0x1fbc88))[_0x175a6f(0x1c4)];if(_0x3cf25c[_0x175a6f(0x283)]&&_0x3cf25c[_0x175a6f(0x283)]['code']!==i[_0x175a6f(0x254)]['OK'])throw Error(this[_0x175a6f(0x289)](_0x175a6f(0x244),_0x3cf25c['error']));return _0x3cf25c;}catch(_0x1c5c91){throw _0x1c5c91 instanceof Error?_0x1c5c91:Error(this[_0x175a6f(0x21a)]('upload\x20request\x20failed',_0x1c5c91));}}async[_0x2a97bf(0x280)](_0x14c2d8){const _0x4e2a98=_0x2a97bf;let {type:_0x10c89b,..._0x200994}=_0x14c2d8;try{let _0x4a08c6=O(this[_0x4e2a98(0x1ed)](),''+_0x10c89b),_0xc88b28={'body':_0x200994},_0x4d06ae=(await this[_0x4e2a98(0x20b)][_0x4e2a98(0x258)](_0x4a08c6,_0xc88b28))[_0x4e2a98(0x1c4)];return _0x4d06ae[_0x4e2a98(0x283)]&&_0x4d06ae[_0x4e2a98(0x283)][_0x4e2a98(0x218)]!==i[_0x4e2a98(0x254)]['OK']?void 0x0:_0x4d06ae;}catch{return;}}async['export'](_0x24349e){const _0x2d63ac=_0x2a97bf;let {type:_0x1fc7d1}=_0x24349e;try{let _0x1b3fdb=O(this[_0x2d63ac(0x1e0)](),''+_0x1fc7d1),_0x303ba8={'body':_0x24349e},_0x3ebd7d=(await this['_httpService']['post'](_0x1b3fdb,_0x303ba8))[_0x2d63ac(0x1c4)];return _0x3ebd7d['error']&&_0x3ebd7d[_0x2d63ac(0x283)][_0x2d63ac(0x218)]!==i[_0x2d63ac(0x254)]['OK']?void 0x0:_0x3ebd7d;}catch{return;}}async[_0x2a97bf(0x22b)](_0x11a616){return new Promise((_0x5c85b2,_0x21cc22)=>{const _0x18c0fd=_0x4b12;try{let _0x36a550=0x0,_0x312ecc=k(this[_0x18c0fd(0x26d)](),''+_0x11a616),_0x547d55=this[_0x18c0fd(0x27d)](),_0x21a7f9=async()=>{const _0x525761=_0x18c0fd;if(this[_0x525761(0x269)][_0x525761(0x204)](_0x11a616))return;let _0x8d47ad=(await this[_0x525761(0x20b)][_0x525761(0x1f1)](_0x312ecc))[_0x525761(0x1c4)];if(_0x8d47ad[_0x525761(0x283)]&&_0x8d47ad['error'][_0x525761(0x218)]===i[_0x525761(0x254)]['OK']){if(_0x8d47ad[_0x525761(0x1ea)]===_0x525761(0x194))_0x5c85b2(_0x8d47ad);else{if(_0x8d47ad['status']==='pending'){let _0x3b1077=0x3e8;if(_0x36a550>=_0x547d55){_0x21cc22(_0x8d47ad);return;}_0x36a550>=0x7530&&(_0x3b1077=0x1388),_0x36a550+=_0x3b1077,setTimeout(_0x21a7f9,_0x3b1077);}else _0x21cc22(_0x8d47ad);}}else _0x21cc22(_0x8d47ad);};_0x21a7f9();}catch(_0x1f0249){_0x21cc22(_0x1f0249 instanceof Error?_0x1f0249:Error(String(_0x1f0249)));}});}async[_0x2a97bf(0x27e)](_0x143595){const _0x2aa7ed=_0x2a97bf;try{let _0x3931b0=A(this[_0x2aa7ed(0x278)](),''+_0x143595);return(await this[_0x2aa7ed(0x20b)]['get'](_0x3931b0))[_0x2aa7ed(0x1c4)];}catch{return;}}async[_0x2a97bf(0x1eb)](_0x39ebf2){const _0x5d40c8=_0x2a97bf;try{return(await this[_0x5d40c8(0x20b)][_0x5d40c8(0x1f1)](_0x39ebf2,{'responseType':_0x5d40c8(0x1e5)}))[_0x5d40c8(0x1c4)];}catch{return;}}[_0x2a97bf(0x289)](_0x5e1c9f,_0x1e8c95){const _0x2a4190=_0x2a97bf;let _0x27d9ac=this[_0x2a4190(0x19a)](_0x1e8c95);return _0x27d9ac?_0x5e1c9f+':\x20'+_0x27d9ac:_0x5e1c9f;}[_0x2a97bf(0x21a)](_0x2c4262,_0x1ec3fb){const _0x4c33b8=_0x2a97bf;if(_0x1ec3fb instanceof n['HTTPResponseError']){let _0x50a92a=typeof _0x1ec3fb['status']==_0x4c33b8(0x202)?''+_0x1ec3fb[_0x4c33b8(0x1ea)]+(_0x1ec3fb['statusText']?'\x20'+_0x1ec3fb[_0x4c33b8(0x1e6)]:''):void 0x0,_0xba091e=this['_extractErrorDetail'](_0x1ec3fb[_0x4c33b8(0x283)]);return _0x50a92a&&_0xba091e?_0x2c4262+':\x20HTTP\x20'+_0x50a92a+_0x4c33b8(0x1d3)+_0xba091e:_0x50a92a?_0x2c4262+':\x20HTTP\x20'+_0x50a92a:_0xba091e?_0x2c4262+':\x20'+_0xba091e:_0x2c4262;}let _0x296285=this[_0x4c33b8(0x19a)](_0x1ec3fb);return _0x296285?_0x2c4262+':\x20'+_0x296285:_0x2c4262;}[_0x2a97bf(0x19a)](_0x78b60e){const _0x561c17=_0x2a97bf;if(typeof _0x78b60e==_0x561c17(0x1d8)){let _0x383724=_0x78b60e[_0x561c17(0x274)]();return _0x383724['length']>0x0?_0x383724:void 0x0;}if(_0x78b60e instanceof Error)return this[_0x561c17(0x19a)](_0x78b60e[_0x561c17(0x1c9)]);if(!_0x78b60e||typeof _0x78b60e!=_0x561c17(0x261)||Array['isArray'](_0x78b60e))return;let _0xb2e37f=_0x78b60e,_0x2f58c3=this[_0x561c17(0x19a)](_0xb2e37f[_0x561c17(0x1c9)]);if(_0x2f58c3)return _0x2f58c3;if(_0xb2e37f[_0x561c17(0x283)]&&typeof _0xb2e37f[_0x561c17(0x283)]==_0x561c17(0x261)&&!Array[_0x561c17(0x1a1)](_0xb2e37f[_0x561c17(0x283)])){let _0x5eeea8=this[_0x561c17(0x19a)](_0xb2e37f[_0x561c17(0x283)]);if(_0x5eeea8)return _0x5eeea8;}}['_getUploadFileURL'](){const _0x5c8201=_0x2a97bf;let _0xf1bc1c=this[_0x5c8201(0x1e4)][_0x5c8201(0x1ac)](l);return(_0xf1bc1c==null?void 0x0:_0xf1bc1c[_0x5c8201(0x1e1)])??_0x5c8201(0x1c8);}[_0x2a97bf(0x1ed)](){const _0x878295=_0x2a97bf;let _0x56e042=this[_0x878295(0x1e4)][_0x878295(0x1ac)](l);return(_0x56e042==null?void 0x0:_0x56e042['importServerUrl'])??_0x878295(0x1f9);}[_0x2a97bf(0x1e0)](){const _0x3f769b=_0x2a97bf;let _0x3b6f8c=this[_0x3f769b(0x1e4)][_0x3f769b(0x1ac)](l);return(_0x3b6f8c==null?void 0x0:_0x3b6f8c[_0x3f769b(0x1bc)])??_0x3f769b(0x1ff);}['_getTaskURL'](){const _0x350993=_0x2a97bf;let _0x2a1de7=this[_0x350993(0x1e4)][_0x350993(0x1ac)](l);return(_0x2a1de7==null?void 0x0:_0x2a1de7[_0x350993(0x227)])??_0x350993(0x1a7);}[_0x2a97bf(0x278)](){const _0x2f0158=_0x2a97bf;let _0x41f580=this['_configService'][_0x2f0158(0x1ac)](l);return(_0x41f580==null?void 0x0:_0x41f580[_0x2f0158(0x1dd)])??_0x2f0158(0x21c);}[_0x2a97bf(0x27d)](){const _0x2b3991=_0x2a97bf;let _0x4edf98=this[_0x2b3991(0x1e4)][_0x2b3991(0x1ac)](l);return(_0x4edf98==null?void 0x0:_0x4edf98[_0x2b3991(0x232)])??0x1d4c0;}};W=I([F(0x0,t[_0x2a97bf(0x23a)]),F(0x1,(0x0,t[_0x2a97bf(0x1a3)])(n[_0x2a97bf(0x1d4)]))],W);const G=(0x0,t[_0x2a97bf(0x203)])(_0x2a97bf(0x28d));let K=class extends t[_0x2a97bf(0x237)]{constructor(_0x4cbc75,_0x490d8b,_0x5587f3){const _0x423ddc=_0x2a97bf;super(),this[_0x423ddc(0x1e4)]=_0x4cbc75,this['_httpService']=_0x490d8b,this['_requestService']=_0x5587f3,P(this,_0x423ddc(0x240),null),P(this,_0x423ddc(0x1a5),new o[(_0x423ddc(0x260))]()),P(this,_0x423ddc(0x21e),this[_0x423ddc(0x1a5)][_0x423ddc(0x1f5)]());}[_0x2a97bf(0x1ce)](){const _0x3403de=_0x2a97bf;super[_0x3403de(0x1ce)](),this[_0x3403de(0x1a5)]['complete']();}[_0x2a97bf(0x230)](_0x291165,_0x2a6279,_0x1496e1){const _0x547d6a=_0x2a97bf;let _0x47be9f=URL[_0x547d6a(0x264)](_0x291165);S(_0x47be9f,_0x2a6279,_0x1496e1),URL[_0x547d6a(0x267)](_0x47be9f);}async['getFileById'](_0x1344d9,_0x3a7226){const _0x4f04ac=_0x2a97bf;if(_0x3a7226!=null&&_0x3a7226[_0x4f04ac(0x247)])return;let _0x16c491=await this[_0x4f04ac(0x239)](_0x1344d9);if(!(!_0x16c491||_0x3a7226!=null&&_0x3a7226[_0x4f04ac(0x247)]))return w(_0x16c491,this[_0x4f04ac(0x20b)],_0x3a7226);}async[_0x2a97bf(0x219)](_0x5f64e1,_0xbb9e16,_0x50f3b8){const _0x5ab162=_0x2a97bf;var _0x1262c0,_0x561f2b;let _0x3f6e27=await this[_0x5ab162(0x26e)](_0x5f64e1);if(!_0x3f6e27)return;let _0x34f7d3=await this['_import'](_0x3f6e27,0x1,_0xbb9e16,_0x50f3b8);if(!_0x34f7d3)return;this[_0x5ab162(0x240)]=_0x34f7d3,this[_0x5ab162(0x27a)][_0x5ab162(0x1b6)]();let _0x7c85c1=await this[_0x5ab162(0x27a)][_0x5ab162(0x22b)](_0x34f7d3)['catch'](_0x1bfc05=>{const _0x4b5bf2=_0x5ab162;var _0x5ed0f;let _0x5de253=_0x1bfc05 instanceof Error?_0x1bfc05[_0x4b5bf2(0x1c9)]:(_0x5ed0f=_0x1bfc05['error'])==null?void 0x0:_0x5ed0f[_0x4b5bf2(0x1c9)];this['_requestState$'][_0x4b5bf2(0x257)]({'error':{'code':i[_0x4b5bf2(0x254)][_0x4b5bf2(0x1b4)],'message':_0x5de253||''},'state':0x3});});if(!_0x7c85c1)return;let _0x2a8f28=(_0x1262c0=_0x7c85c1[_0x5ab162(0x280)])==null?void 0x0:_0x1262c0[_0x5ab162(0x265)],_0x39d919=((_0x561f2b=_0x7c85c1['import'])==null?void 0x0:_0x561f2b['unitID'])||'';if(_0x2a8f28!==0x1)this[_0x5ab162(0x1a5)][_0x5ab162(0x257)]({'error':{'code':i[_0x5ab162(0x254)][_0x5ab162(0x1b4)],'message':_0x5ab162(0x236)},'state':0x3});else{if(_0x39d919['length']===0x0)this[_0x5ab162(0x1a5)][_0x5ab162(0x257)]({'error':{'code':i[_0x5ab162(0x254)]['UNRECOGNIZED'],'message':_0x5ab162(0x1c3)},'state':0x3});else return this['_requestState$'][_0x5ab162(0x257)]({'error':_0x7c85c1[_0x5ab162(0x283)],'state':0x3}),_0x39d919;}}async[_0x2a97bf(0x1a6)](_0x1d4cee,_0x224c5d,_0x3e4b47){const _0x107dc2=_0x2a97bf;return this[_0x107dc2(0x208)](_0x1d4cee,_0x224c5d,_0x3e4b47);}async[_0x2a97bf(0x1b8)](_0x4d76f2,_0x45dd22,_0xf99ba9,_0x56616c){return this['_export'](_0x4d76f2,0x1,_0x45dd22,_0xf99ba9,_0x56616c);}async['exportFileBySnapshot'](_0xab7592,_0x5b69ce,_0x4fca65,_0x322aab){return this['_exportBySnapshot'](_0xab7592,_0x5b69ce,_0x4fca65,_0x322aab);}[_0x2a97bf(0x1ee)](){const _0x3b8135=_0x2a97bf;this['_importTaskId']&&this[_0x3b8135(0x27a)]['setTaskInterrupted'](this['_importTaskId']);}async[_0x2a97bf(0x208)](_0x508468,_0x15ce60,_0x3ca199){const _0x248e3a=_0x2a97bf;var _0x1cf2db,_0x510a7a;let _0x2e27a8=await this[_0x248e3a(0x26e)](_0x508468);if(!_0x2e27a8)return;let _0x414ddb=await this[_0x248e3a(0x1b9)](_0x2e27a8,0x2,_0x15ce60,_0x3ca199);if(!_0x414ddb)return;this['_importTaskId']=_0x414ddb,this[_0x248e3a(0x27a)][_0x248e3a(0x1b6)]();let _0x4430bb=await this[_0x248e3a(0x27a)][_0x248e3a(0x22b)](_0x414ddb)[_0x248e3a(0x28a)](_0x1a71f6=>{const _0x79398a=_0x248e3a;var _0x375dd0;let _0x13ba26=_0x1a71f6 instanceof Error?_0x1a71f6[_0x79398a(0x1c9)]:(_0x375dd0=_0x1a71f6[_0x79398a(0x283)])==null?void 0x0:_0x375dd0[_0x79398a(0x1c9)];this[_0x79398a(0x1a5)][_0x79398a(0x257)]({'error':{'code':i[_0x79398a(0x254)][_0x79398a(0x1b4)],'message':_0x13ba26||''},'state':0x3});});if(!_0x4430bb)return;let _0xa772ff=(_0x1cf2db=_0x4430bb[_0x248e3a(0x280)])==null?void 0x0:_0x1cf2db[_0x248e3a(0x265)],_0x5388b0=((_0x510a7a=_0x4430bb[_0x248e3a(0x280)])==null?void 0x0:_0x510a7a['jsonID'])||'';if(_0xa772ff!==0x2){this[_0x248e3a(0x1a5)][_0x248e3a(0x257)]({'error':{'code':i[_0x248e3a(0x254)][_0x248e3a(0x1b4)],'message':_0x248e3a(0x236)},'state':0x3});return;}if(_0x5388b0[_0x248e3a(0x21f)]===0x0){this[_0x248e3a(0x1a5)][_0x248e3a(0x257)]({'error':{'code':i[_0x248e3a(0x254)][_0x248e3a(0x1b4)],'message':_0x248e3a(0x201)},'state':0x3});return;}this['_requestState$']['next']({'error':_0x4430bb[_0x248e3a(0x283)],'state':0x3});let _0x34273a=await this[_0x248e3a(0x239)](_0x5388b0);if(!_0x34273a)return;let _0x124d11=await this[_0x248e3a(0x27a)]['getTextFromUrl'](_0x34273a);if(!_0x124d11)this['_requestState$'][_0x248e3a(0x257)]({'error':{'code':i[_0x248e3a(0x254)][_0x248e3a(0x1b4)],'message':_0x248e3a(0x225)},'state':0x5});else try{let _0x22d211=JSON['parse'](_0x124d11);return this[_0x248e3a(0x1a5)][_0x248e3a(0x257)]({'error':{'code':i[_0x248e3a(0x254)]['OK'],'message':'success'},'state':0x5}),_0x22d211;}catch{this[_0x248e3a(0x1a5)]['next']({'error':{'code':i[_0x248e3a(0x254)][_0x248e3a(0x1b4)],'message':_0x248e3a(0x1e9)},'state':0x5});}}async[_0x2a97bf(0x1b3)](_0x3120ea,_0x546e3f,_0x255413,_0x4b7f73){const _0x9bb48c=_0x2a97bf;let _0x340ad9=JSON['stringify'](_0x3120ea),_0x4912b3=r[_0x9bb48c(0x25d)][_0x9bb48c(0x1d0)](_0x340ad9),_0x49f885=(0x0,a[_0x9bb48c(0x24b)])(_0x4912b3),_0x449ac6=_0x4912b3[_0x9bb48c(0x21f)],_0x5c4701=D(_0x49f885),_0x564cd0=await this[_0x9bb48c(0x26e)](_0x5c4701,_0x449ac6,!0x0);if(_0x564cd0)return this[_0x9bb48c(0x251)](_0x564cd0,0x2,_0x546e3f,_0x255413,_0x4b7f73);}async[_0x2a97bf(0x251)](_0x13c223,_0x508a2a,_0x3707c5,_0x343a95,_0x2fc424){const _0x538d25=_0x2a97bf;var _0x413604;let _0x4877ec=await this[_0x538d25(0x27a)][_0x538d25(0x22e)]({..._0x508a2a===0x1?{'unitID':_0x13c223}:{'jsonID':_0x13c223},'type':_0x3707c5,'format':_0x343a95,'options':_0x2fc424});if(!_0x4877ec){this[_0x538d25(0x1a5)][_0x538d25(0x257)]({'error':{'code':i[_0x538d25(0x254)][_0x538d25(0x1b4)],'message':_0x538d25(0x223)},'state':0x2});return;}if(this[_0x538d25(0x1a5)]['next']({'error':_0x4877ec['error'],'state':0x2}),_0x4877ec[_0x538d25(0x283)]&&_0x4877ec[_0x538d25(0x283)][_0x538d25(0x218)]!==i[_0x538d25(0x254)]['OK'])return;let _0x340833=_0x4877ec[_0x538d25(0x291)],_0x1bdb32=await this[_0x538d25(0x27a)]['getTask'](_0x340833)['catch'](_0x490643=>{const _0x278800=_0x538d25;var _0x2eda6c;let _0x20712a=_0x490643 instanceof Error?_0x490643['message']:(_0x2eda6c=_0x490643[_0x278800(0x283)])==null?void 0x0:_0x2eda6c[_0x278800(0x1c9)];this[_0x278800(0x1a5)][_0x278800(0x257)]({'error':{'code':i['ErrorCode']['UNRECOGNIZED'],'message':_0x20712a||''},'state':0x3});});if(!_0x1bdb32)return;let _0x3b4629=((_0x413604=_0x1bdb32[_0x538d25(0x22e)])==null?void 0x0:_0x413604['fileID'])||'';if(_0x3b4629[_0x538d25(0x21f)]===0x0){this[_0x538d25(0x1a5)]['next']({'error':{'code':i[_0x538d25(0x254)][_0x538d25(0x1b4)],'message':_0x538d25(0x19f)},'state':0x3});return;}this[_0x538d25(0x1a5)][_0x538d25(0x257)]({'error':_0x1bdb32[_0x538d25(0x283)],'state':0x3});let _0x2cc052=await this[_0x538d25(0x239)](_0x3b4629);if(!_0x2cc052)return;let _0x125624=await C(_0x2cc052,this['_httpService']);if(!_0x125624)this[_0x538d25(0x1a5)][_0x538d25(0x257)]({'error':{'code':i[_0x538d25(0x254)][_0x538d25(0x1b4)],'message':_0x538d25(0x25f)},'state':0x6});else return this[_0x538d25(0x1a5)][_0x538d25(0x257)]({'error':{'code':i[_0x538d25(0x254)]['OK'],'message':'success'},'state':0x6}),_0x125624;}async[_0x2a97bf(0x26e)](_0x5f4658,_0x13c042,_0x4d4124){const _0x1bf3a7=_0x2a97bf;let _0x4264b5;try{_0x4264b5=await this[_0x1bf3a7(0x27a)][_0x1bf3a7(0x206)](_0x5f4658,_0x13c042,_0x4d4124);}catch(_0x5645fa){let _0x271e01=_0x5645fa instanceof Error?_0x5645fa[_0x1bf3a7(0x1c9)]:String(_0x5645fa);this['_requestState$']['next']({'error':{'code':i[_0x1bf3a7(0x254)][_0x1bf3a7(0x1b4)],'message':_0x271e01},'state':0x0});return;}if(!_0x4264b5||typeof _0x4264b5[_0x1bf3a7(0x205)]!=_0x1bf3a7(0x1d8)){this[_0x1bf3a7(0x1a5)][_0x1bf3a7(0x257)]({'error':{'code':i['ErrorCode'][_0x1bf3a7(0x1b4)],'message':_0x1bf3a7(0x1de)},'state':0x0});return;}let _0x1655bc=_0x4264b5[_0x1bf3a7(0x205)];if(_0x1655bc[_0x1bf3a7(0x21f)]===0x0)this[_0x1bf3a7(0x1a5)][_0x1bf3a7(0x257)]({'error':{'code':i[_0x1bf3a7(0x254)]['UNRECOGNIZED'],'message':_0x1bf3a7(0x1cc)},'state':0x0});else return this[_0x1bf3a7(0x1a5)]['next']({'error':{'code':i['ErrorCode']['OK'],'message':_0x1bf3a7(0x255)},'state':0x0}),_0x1655bc;}async[_0x2a97bf(0x1b9)](_0x452fe1,_0x1bc3ab,_0x2f1cbc,_0x1d7f1e){const _0x5e47ff=_0x2a97bf;let _0x4b808f={'fileID':_0x452fe1,'type':_0x2f1cbc,'outputType':_0x1bc3ab,'options':_0x1d7f1e},_0xcf300a=await this[_0x5e47ff(0x27a)][_0x5e47ff(0x280)](_0x4b808f);if(!_0xcf300a){this[_0x5e47ff(0x1a5)][_0x5e47ff(0x257)]({'error':{'code':i[_0x5e47ff(0x254)][_0x5e47ff(0x1b4)],'message':_0x5e47ff(0x212)},'state':0x1});return;}if(_0xcf300a[_0x5e47ff(0x283)]&&_0xcf300a['error'][_0x5e47ff(0x218)]!==i[_0x5e47ff(0x254)]['OK']){this[_0x5e47ff(0x1a5)][_0x5e47ff(0x257)]({'error':_0xcf300a[_0x5e47ff(0x283)],'state':0x1});return;}let _0x492a55=_0xcf300a[_0x5e47ff(0x291)];if(_0x492a55[_0x5e47ff(0x21f)]===0x0)this['_requestState$']['next']({'error':{'code':i[_0x5e47ff(0x254)][_0x5e47ff(0x1b4)],'message':_0x5e47ff(0x284)},'state':0x1});else return this['_requestState$'][_0x5e47ff(0x257)]({'error':_0xcf300a['error'],'state':0x1}),_0x492a55;}async[_0x2a97bf(0x239)](_0x451236){const _0x4b59c4=_0x2a97bf;let _0x2db7ae=await this[_0x4b59c4(0x27a)][_0x4b59c4(0x27e)](_0x451236);if(!_0x2db7ae){this['_requestState$'][_0x4b59c4(0x257)]({'error':{'code':i[_0x4b59c4(0x254)]['UNRECOGNIZED'],'message':_0x4b59c4(0x1a0)},'state':0x4});return;}if(_0x2db7ae[_0x4b59c4(0x283)]&&_0x2db7ae['error'][_0x4b59c4(0x218)]!==i[_0x4b59c4(0x254)]['OK']){this[_0x4b59c4(0x1a5)][_0x4b59c4(0x257)]({'error':_0x2db7ae[_0x4b59c4(0x283)],'state':0x4});return;}let _0xc7b5ee=(0x0,t[_0x4b59c4(0x24f)])(_0x2db7ae[_0x4b59c4(0x273)],this['_getDownloadEndpointURL']());if(_0xc7b5ee[_0x4b59c4(0x21f)]===0x0)this[_0x4b59c4(0x1a5)]['next']({'error':{'code':i[_0x4b59c4(0x254)][_0x4b59c4(0x1b4)],'message':'sign\x20url\x20error'},'state':0x4});else return this[_0x4b59c4(0x1a5)]['next']({'error':_0x2db7ae[_0x4b59c4(0x283)],'state':0x4}),_0xc7b5ee;}['_getDownloadEndpointURL'](){const _0x2a0a14=_0x2a97bf;let _0x58ec6b=this[_0x2a0a14(0x1e4)][_0x2a0a14(0x1ac)](l);return(_0x58ec6b==null?void 0x0:_0x58ec6b[_0x2a0a14(0x281)])??location[_0x2a0a14(0x279)];}};K=I([F(0x0,t[_0x2a97bf(0x23a)]),F(0x1,(0x0,t[_0x2a97bf(0x1a3)])(n[_0x2a97bf(0x1d4)])),F(0x2,(0x0,t[_0x2a97bf(0x1a3)])(U))],K);let q=class extends t[_0x2a97bf(0x248)]{constructor(_0x40faa8=u,_0x5af495,_0x29905e){const _0x343772=_0x2a97bf;super(),this[_0x343772(0x222)]=_0x40faa8,this[_0x343772(0x249)]=_0x5af495,this['_configService']=_0x29905e;let {..._0x4697a4}=(0x0,t['merge'])({},u,this['_config']);this['_configService'][_0x343772(0x1a2)](l,_0x4697a4);}[_0x2a97bf(0x20e)](){const _0x381fa4=_0x2a97bf;(0x0,t[_0x381fa4(0x282)])(this[_0x381fa4(0x249)],[[G,{'useClass':K}],[U,{'useClass':W}]]);}};P(q,_0x2a97bf(0x27f),_0x2a97bf(0x20f)),P(q,'packageName',s),P(q,'version',c),q=I([(0x0,t[_0x2a97bf(0x22c)])(e[_0x2a97bf(0x1b0)],n[_0x2a97bf(0x1fb)]),F(0x1,(0x0,t[_0x2a97bf(0x1a3)])(t[_0x2a97bf(0x1dc)])),F(0x2,t[_0x2a97bf(0x23a)])],q);function J(_0x4b3ed9){const _0x3400fc=_0x2a97bf;let _0x1ab3c3=_0x4b3ed9[_0x3400fc(0x285)];if(!_0x1ab3c3)return null;let _0x47829a={};_0x1ab3c3['sheets']&&Object[_0x3400fc(0x23d)](_0x1ab3c3[_0x3400fc(0x1bf)])[_0x3400fc(0x1d5)](_0x595bb3=>{const _0x1d9161=_0x3400fc;let _0x366780=_0x1ab3c3['sheets'][_0x595bb3];_0x47829a[_0x595bb3]={..._0x366780,'originalMeta':(0x0,r[_0x1d9161(0x1cf)])(r[_0x1d9161(0x1c7)][_0x1d9161(0x220)](_0x366780[_0x1d9161(0x1c5)]))};});let _0x20bdc8=(0x0,r[_0x3400fc(0x1cf)])(r[_0x3400fc(0x1c7)][_0x3400fc(0x220)](_0x1ab3c3['originalMeta']));return{..._0x4b3ed9,'workbook':{..._0x1ab3c3,'originalMeta':_0x20bdc8,'sheets':_0x47829a},'doc':{},'slide':void 0x0,'board':void 0x0,'pdf':void 0x0};}function Y(_0x5de002){const _0x4ef7f0=_0x2a97bf;let _0x1054e9={};return _0x5de002[_0x4ef7f0(0x1d5)](_0x2df4c7=>{const _0x549bc6=_0x4ef7f0;_0x1054e9[_0x2df4c7['id']]={..._0x2df4c7,'data':(0x0,r['b64EncodeUnicode'])(r['textDecoder'][_0x549bc6(0x220)](_0x2df4c7['data']))};}),_0x1054e9;}var X=class{constructor(){const _0x4a8fe3=_0x2a97bf;P(this,_0x4a8fe3(0x27b),new Map());}[_0x2a97bf(0x195)](){const _0x54d3dc=_0x2a97bf;return Promise['resolve']({'snapshot':{'unitID':'','type':t[_0x54d3dc(0x1b2)][_0x54d3dc(0x25c)],'rev':0x0,'workbook':void 0x0,'doc':void 0x0,'slide':void 0x0,'board':void 0x0},'changesets':[],'error':{'code':i['ErrorCode']['OK'],'message':''}});}[_0x2a97bf(0x215)](_0x202679,_0x5868c0){const _0x414ab6=_0x2a97bf;let _0x3e4cc0=this[_0x414ab6(0x27b)][_0x414ab6(0x1f1)](_0x5868c0['blockID']);return Promise['resolve']({'block':_0x3e4cc0,'error':{'code':i[_0x414ab6(0x254)]['OK'],'message':''}});}[_0x2a97bf(0x26b)](_0x2530fc,_0x476e16){const _0x1fc5b7=_0x2a97bf;let _0x5b0b1f=this[_0x1fc5b7(0x27b)][_0x1fc5b7(0x1f1)](_0x476e16[_0x1fc5b7(0x233)]);return Promise[_0x1fc5b7(0x25b)]({'block':_0x5b0b1f===void 0x0?void 0x0:{..._0x5b0b1f,'data':JSON['parse'](r['textDecoder'][_0x1fc5b7(0x220)](_0x5b0b1f['data']))},'error':{'code':i[_0x1fc5b7(0x254)]['OK'],'message':''}});}[_0x2a97bf(0x25e)](){const _0xe9288f=_0x2a97bf;return Promise[_0xe9288f(0x25b)]({'changesets':[],'error':{'code':i['ErrorCode']['OK'],'message':''}});}[_0x2a97bf(0x1ba)](){const _0x3528f2=_0x2a97bf;return Promise[_0x3528f2(0x25b)]({'resources':{},'error':{'code':i[_0x3528f2(0x254)]['OK'],'message':''}});}['saveSnapshot'](){const _0x16bbe5=_0x2a97bf;return Promise[_0x16bbe5(0x25b)]({'error':{'code':i[_0x16bbe5(0x254)]['OK'],'message':''}});}['updateSnapshot'](){const _0x2c2bc6=_0x2a97bf;return Promise['resolve']({'error':{'code':i[_0x2c2bc6(0x254)]['OK'],'message':''}});}[_0x2a97bf(0x1be)](_0x18209d,_0xd36b2b){const _0x1268b1=_0x2a97bf;let {block:_0x17f690}=_0xd36b2b;return _0x17f690?(this[_0x1268b1(0x27b)][_0x1268b1(0x250)](_0x17f690['id'],_0x17f690),Promise[_0x1268b1(0x25b)]({'error':{'code':i[_0x1268b1(0x254)]['OK'],'message':''},'blockID':_0x17f690['id']})):Promise[_0x1268b1(0x25b)]({'error':{'code':i['ErrorCode'][_0x1268b1(0x1e8)],'message':_0x1268b1(0x235)},'blockID':''});}[_0x2a97bf(0x19c)](){const _0x3be1ac=_0x2a97bf;return Promise[_0x3be1ac(0x25b)]({'error':{'code':i[_0x3be1ac(0x254)]['OK'],'message':''},'concurrent':[]});}['copyFileMeta'](){const _0x153aaa=_0x2a97bf;return Promise[_0x153aaa(0x25b)]({'error':void 0x0,'fileMetaId':''});}[_0x2a97bf(0x238)](){return Promise['resolve']({'error':void 0x0,'latestReqID':0x0});}};exports['ClientSnapshotServerService']=X,exports[_0x2a97bf(0x1f3)]=H,exports[_0x2a97bf(0x20d)]=V,exports[_0x2a97bf(0x259)]=B,exports['ExchangeDocType']=z,exports[_0x2a97bf(0x1c0)]=R,exports[_0x2a97bf(0x294)]=G,exports[_0x2a97bf(0x241)]=L,Object[_0x2a97bf(0x23f)](exports,'UniverExchangeClientPlugin',{'enumerable':!0x0,'get':function(){return q;}}),exports[_0x2a97bf(0x256)]=Y,exports[_0x2a97bf(0x262)]=J;
package/lib/es/facade.js CHANGED
@@ -1 +1 @@
1
- var _0x2e10fd=_0x7af3;function _0x7af3(_0x58d37a,_0x2c8ac5){_0x58d37a=_0x58d37a-0x153;var _0x3e9a78=_0x3e9a();var _0x7af3b4=_0x3e9a78[_0x58d37a];return _0x7af3b4;}(function(_0x143305,_0x300573){var _0x4e9da6=_0x7af3,_0x329d29=_0x143305();while(!![]){try{var _0x436d79=-parseInt(_0x4e9da6(0x159))/0x1+-parseInt(_0x4e9da6(0x15c))/0x2*(-parseInt(_0x4e9da6(0x156))/0x3)+-parseInt(_0x4e9da6(0x158))/0x4*(parseInt(_0x4e9da6(0x157))/0x5)+parseInt(_0x4e9da6(0x153))/0x6+parseInt(_0x4e9da6(0x15d))/0x7+-parseInt(_0x4e9da6(0x154))/0x8*(parseInt(_0x4e9da6(0x15f))/0x9)+parseInt(_0x4e9da6(0x155))/0xa;if(_0x436d79===_0x300573)break;else _0x329d29['push'](_0x329d29['shift']());}catch(_0x262b3f){_0x329d29['push'](_0x329d29['shift']());}}}(_0x3e9a,0x34f92));import{IExchangeService as _0x23a626}from'@univerjs-pro/exchange-client';import{FUniver as _0x141105}from'@univerjs/core/facade';function _0x3e9a(){var _0x4f09d2=['22719GOCUpW','10SkzIjx','679804kuFPhe','206014zavGWE','get','downloadFile','62SkCneF','2118228DeFlIg','extend','18czJNir','116754yonSpK','120800xNtlon','2362680usxgBO'];_0x3e9a=function(){return _0x4f09d2;};return _0x3e9a();}var n=class extends _0x141105{[_0x2e10fd(0x15b)](_0x351b9e,_0x3bba67,_0x3a7e8b){var _0x487092=_0x2e10fd;this['_injector'][_0x487092(0x15a)](_0x23a626)[_0x487092(0x15b)](_0x351b9e,_0x3bba67,_0x3a7e8b);}};_0x141105[_0x2e10fd(0x15e)](n);export{};
1
+ var _0x53cb70=_0x55da;(function(_0x1a997a,_0x454b61){var _0x5bc8bc=_0x55da,_0x3d7e9b=_0x1a997a();while(!![]){try{var _0x1e7481=parseInt(_0x5bc8bc(0x140))/0x1+parseInt(_0x5bc8bc(0x141))/0x2*(parseInt(_0x5bc8bc(0x13e))/0x3)+-parseInt(_0x5bc8bc(0x13b))/0x4*(-parseInt(_0x5bc8bc(0x136))/0x5)+-parseInt(_0x5bc8bc(0x142))/0x6+parseInt(_0x5bc8bc(0x13a))/0x7+parseInt(_0x5bc8bc(0x137))/0x8+-parseInt(_0x5bc8bc(0x13d))/0x9;if(_0x1e7481===_0x454b61)break;else _0x3d7e9b['push'](_0x3d7e9b['shift']());}catch(_0x5b1368){_0x3d7e9b['push'](_0x3d7e9b['shift']());}}}(_0x13d1,0x8340a));import{IExchangeService as _0x27bed5}from'@univerjs-pro/exchange-client';import{FUniver as _0x1dc6e3}from'@univerjs/core/facade';var n=class extends _0x1dc6e3{['downloadFile'](_0x34c4ea,_0x4195b9,_0x1bba1a){var _0x1d86b=_0x55da;this[_0x1d86b(0x13f)][_0x1d86b(0x138)](_0x27bed5)[_0x1d86b(0x13c)](_0x34c4ea,_0x4195b9,_0x1bba1a);}};function _0x55da(_0x4b3765,_0x51025d){_0x4b3765=_0x4b3765-0x136;var _0x13d158=_0x13d1();var _0x55da4c=_0x13d158[_0x4b3765];return _0x55da4c;}_0x1dc6e3[_0x53cb70(0x139)](n);export{};function _0x13d1(){var _0x42eb83=['11928240TNbZPC','3pPIEuz','_injector','763030GFqZUG','618356BkyAYi','1517814atoeMs','14185kBEWlQ','7232360EqlSyK','get','extend','878507wmSrQF','20iXagsp','downloadFile'];_0x13d1=function(){return _0x42eb83;};return _0x13d1();}