@univerjs-pro/exchange-client 1.0.4 → 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 (130) 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 +11 -18
  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/UploadNotificationContainer.d.ts +0 -2
  100. package/lib/types/views/export-format-dialog/ExportFormatDialog.d.ts +0 -14
  101. package/lib/types/views/link-list/LinkList.d.ts +0 -5
  102. package/lib/types/views/mobile/MobileExportFormatDialog.d.ts +0 -14
  103. package/lib/types/views/mobile/MobileUploadNotification.d.ts +0 -1
  104. package/lib/types/views/upload-again/UploadAgain.d.ts +0 -1
  105. package/lib/types/views/upload-button/UploadButton.d.ts +0 -7
  106. package/lib/types/views/upload-error/UploadError.d.ts +0 -1
  107. package/lib/types/views/upload-notification/UploadNotification.d.ts +0 -1
  108. package/lib/types/views/upload-success/UploadSuccess.d.ts +0 -4
  109. package/lib/types/views/uploading/Uploading.d.ts +0 -1
  110. package/lib/types/views/uploading/upload-cancel/UploadCancel.d.ts +0 -1
  111. package/lib/types/views/uploading/upload-progress/UploadProgress.d.ts +0 -1
  112. package/lib/umd/locale/ar-SA.js +0 -1
  113. package/lib/umd/locale/ca-ES.js +0 -1
  114. package/lib/umd/locale/de-DE.js +0 -1
  115. package/lib/umd/locale/en-US.js +0 -1
  116. package/lib/umd/locale/es-ES.js +0 -1
  117. package/lib/umd/locale/fa-IR.js +0 -1
  118. package/lib/umd/locale/fr-FR.js +0 -1
  119. package/lib/umd/locale/id-ID.js +0 -1
  120. package/lib/umd/locale/it-IT.js +0 -1
  121. package/lib/umd/locale/ja-JP.js +0 -1
  122. package/lib/umd/locale/ko-KR.js +0 -1
  123. package/lib/umd/locale/pl-PL.js +0 -1
  124. package/lib/umd/locale/pt-BR.js +0 -1
  125. package/lib/umd/locale/ru-RU.js +0 -1
  126. package/lib/umd/locale/sk-SK.js +0 -1
  127. package/lib/umd/locale/vi-VN.js +0 -1
  128. package/lib/umd/locale/zh-CN.js +0 -1
  129. package/lib/umd/locale/zh-HK.js +0 -1
  130. package/lib/umd/locale/zh-TW.js +0 -1
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x22fb02=_0xb364;(function(_0x144487,_0x6ae2d9){const _0x426dcd=_0xb364,_0x360d9a=_0x144487();while(!![]){try{const _0xb47781=-parseInt(_0x426dcd(0x1d0))/0x1+-parseInt(_0x426dcd(0x1d3))/0x2+parseInt(_0x426dcd(0x1d6))/0x3*(parseInt(_0x426dcd(0x1da))/0x4)+parseInt(_0x426dcd(0x1cf))/0x5*(parseInt(_0x426dcd(0x1db))/0x6)+parseInt(_0x426dcd(0x1d7))/0x7*(-parseInt(_0x426dcd(0x1ce))/0x8)+-parseInt(_0x426dcd(0x1d4))/0x9*(-parseInt(_0x426dcd(0x1d8))/0xa)+parseInt(_0x426dcd(0x1d1))/0xb*(parseInt(_0x426dcd(0x1d5))/0xc);if(_0xb47781===_0x6ae2d9)break;else _0x360d9a['push'](_0x360d9a['shift']());}catch(_0x4e284c){_0x360d9a['push'](_0x360d9a['shift']());}}}(_0xa8af,0x768b2));let e=require('@univerjs-pro/exchange-client'),t=require('@univerjs/core/facade');var n=class extends t['FUniver']{['downloadFile'](_0x4b883d,_0x2712da,_0x544517){const _0x1a9a11=_0xb364;this[_0x1a9a11(0x1dc)][_0x1a9a11(0x1d2)](e['IExchangeService'])[_0x1a9a11(0x1cd)](_0x4b883d,_0x2712da,_0x544517);}};t['FUniver'][_0x22fb02(0x1d9)](n);function _0xb364(_0x49077b,_0x380b05){_0x49077b=_0x49077b-0x1cd;const _0xa8af6f=_0xa8af();let _0xb36461=_0xa8af6f[_0x49077b];return _0xb36461;}function _0xa8af(){const _0x37552c=['3CZxjJz','4988221ZMBQbB','10DLgNIE','extend','4492dyxVrP','1590pMWGVo','_injector','downloadFile','8PrGtdN','4900gzNbuv','53270gssdGj','3798542remQHc','get','618308WOKKEr','2374128YnOVyn','36DrCSfx'];_0xa8af=function(){return _0x37552c;};return _0xa8af();}
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 _0x371424=_0xd5ee;(function(_0x1100d8,_0x15372a){const _0x8d81cd=_0xd5ee,_0x2f33f2=_0x1100d8();while(!![]){try{const _0x572835=parseInt(_0x8d81cd(0x24b))/0x1*(parseInt(_0x8d81cd(0x1f1))/0x2)+-parseInt(_0x8d81cd(0x324))/0x3*(-parseInt(_0x8d81cd(0x1c4))/0x4)+-parseInt(_0x8d81cd(0x22b))/0x5*(parseInt(_0x8d81cd(0x217))/0x6)+parseInt(_0x8d81cd(0x202))/0x7+parseInt(_0x8d81cd(0x261))/0x8+-parseInt(_0x8d81cd(0x1d3))/0x9+-parseInt(_0x8d81cd(0x25a))/0xa;if(_0x572835===_0x15372a)break;else _0x2f33f2['push'](_0x2f33f2['shift']());}catch(_0xe0d449){_0x2f33f2['push'](_0x2f33f2['shift']());}}}(_0x22a6,0x377f5),Object[_0x371424(0x23e)](exports,Symbol['toStringTag'],{'value':'Module'}));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=_0x371424(0x21a),p='1.0.4';const m=_0x371424(0x207),h={},g=_0x371424(0x272),_='application/msword',v=_0x371424(0x2d5),y=_0x371424(0x35c),b=_0x371424(0x1af),x=_0x371424(0x28b),S='application/vnd.ms-powerpoint',C=_0x371424(0x1bf),w='application/pdf',ee={[t['UniverInstanceType'][_0x371424(0x2d2)]]:[''],[t['UniverInstanceType'][_0x371424(0x229)]]:[_,g],[t['UniverInstanceType'][_0x371424(0x30b)]]:[v,y,b,x],[t[_0x371424(0x34a)][_0x371424(0x2d8)]]:[S,C],[t[_0x371424(0x34a)][_0x371424(0x264)]]:[w],[t[_0x371424(0x34a)][_0x371424(0x213)]]:[v,y,b,x],[t[_0x371424(0x34a)][_0x371424(0x32f)]]:[''],[t['UniverInstanceType'][_0x371424(0x2ce)]]:[''],[t[_0x371424(0x34a)]['UNRECOGNIZED']]:['']},T={[_]:_0x371424(0x1b7),[g]:'docx',[v]:'xls',[y]:_0x371424(0x1fd),[b]:_0x371424(0x2f9),[x]:'tsv',[S]:_0x371424(0x2f5),[C]:_0x371424(0x28e),[w]:'pdf'},E=Object[_0x371424(0x244)](Object['entries'](ee)[_0x371424(0x354)](([_0x2e3f91,_0x171fc1])=>[_0x2e3f91,_0x171fc1[_0x371424(0x354)](_0x2a059a=>T[_0x2a059a])['filter'](Boolean)]));function te(_0x3124f8,_0x223e4d,_0x3b6de3){const _0x55f286=_0x371424;let _0x56514c=document[_0x55f286(0x31c)]('a');_0x56514c[_0x55f286(0x318)]=_0x3124f8,_0x56514c[_0x55f286(0x2b4)][_0x55f286(0x2c7)]='none',_0x56514c[_0x55f286(0x2bb)]=_0x223e4d+'.'+_0x3b6de3,document[_0x55f286(0x265)][_0x55f286(0x360)](_0x56514c),_0x56514c['click'](),document['body']['removeChild'](_0x56514c);}function ne(_0x14e5a1,_0xd75866){const _0x28fc35=_0x371424;var _0x1d9934;let _0x5745e7=(_0x1d9934=_0x14e5a1[_0x28fc35(0x1ad)][_0x28fc35(0x24a)]('.')[_0x28fc35(0x22d)]())==null?void 0x0:_0x1d9934['toLowerCase']();return!!(_0x5745e7&&(E[_0xd75866]??[])[_0x28fc35(0x2aa)](_0x5745e7));}function D(_0x83d3a8,_0x2cf50f=!0x1){const _0x1b22a7=_0x371424;let _0x2f0eb4=_0x83d3a8['flatMap'](_0x144523=>E[_0x144523]??[])['map'](_0x100933=>'.'+_0x100933)[_0x1b22a7(0x243)](',');return new Promise(_0x36eceb=>{const _0x960b3f=_0x1b22a7;let _0x3c2739=document['createElement'](_0x960b3f(0x224));_0x3c2739['type']='file',_0x3c2739[_0x960b3f(0x1ed)]=_0x2f0eb4,_0x3c2739[_0x960b3f(0x30a)]=_0x2cf50f;let _0x24ebc7=()=>{const _0x5a38bf=_0x960b3f;var _0x25c195;return _0x36eceb((_0x25c195=_0x3c2739[_0x5a38bf(0x357)])!=null&&_0x25c195['length']?_0x3c2739[_0x5a38bf(0x357)]:null);};_0x3c2739['addEventListener'](_0x960b3f(0x2c5),_0x24ebc7,{'once':!0x0}),_0x3c2739[_0x960b3f(0x20c)]('cancel',_0x24ebc7,{'once':!0x0}),_0x3c2739['click']();});}async function O(_0x36a76a,_0x345bc0){const _0x3bdf68=_0x371424;try{return await k(_0x36a76a,_0x345bc0);}catch(_0x4d4a7d){console[_0x3bdf68(0x1b6)](_0x3bdf68(0x226),_0x4d4a7d);return;}}async function k(_0x447e00,_0x34e8ba,_0x1c2093){const _0x24b3e5=_0x371424;var _0xde8f58,_0xf5a6c1;let _0xf18e20=_0x1c2093?await re(_0x447e00,_0x34e8ba,_0x1c2093):await _0x34e8ba[_0x24b3e5(0x1ba)](_0x447e00,{'responseType':_0x24b3e5(0x1d0)}),_0x328672=_0xf18e20[_0x24b3e5(0x265)],_0x178701=((_0xde8f58=_0xf18e20[_0x24b3e5(0x20e)]['get'](_0x24b3e5(0x279)))==null?void 0x0:_0xde8f58[_0x24b3e5(0x243)](',\x20'))??'application/octet-stream',_0x424a04=_0x24b3e5(0x2fe)+(T[_0x178701]||'xlsx'),_0x4928a5=(_0xf5a6c1=_0xf18e20[_0x24b3e5(0x20e)][_0x24b3e5(0x1ba)]('content-disposition'))==null?void 0x0:_0xf5a6c1['join'](',\x20');if(_0x4928a5){let _0xe41a60=_0x4928a5[_0x24b3e5(0x278)](/filename=(.+)/);_0xe41a60&&_0xe41a60[0x1]&&(_0x424a04=_0xe41a60[0x1]);}else _0x424a04=ie(_0x447e00)||_0x424a04;return new File([_0x328672],_0x424a04,{'type':_0x178701});}function re(_0x1346c7,_0x5b7a3a,_0x49b8bf){return new Promise((_0x3b1306,_0x3675ea)=>{const _0xea93c2=_0xd5ee;let _0x826430=!0x1,_0x4ffe4b,_0x46aebf=()=>_0x49b8bf[_0xea93c2(0x250)](_0xea93c2(0x22f),_0x57bec7),_0x57bec7=()=>{const _0x13d8a4=_0xea93c2;if(_0x826430)return;_0x826430=!0x0,_0x4ffe4b==null||_0x4ffe4b[_0x13d8a4(0x32c)](),_0x46aebf();let _0x2004a0=Error(_0x13d8a4(0x2e5));_0x2004a0['name']=_0x13d8a4(0x23b),_0x3675ea(_0x2004a0);};if(_0x49b8bf[_0xea93c2(0x20c)](_0xea93c2(0x22f),_0x57bec7,{'once':!0x0}),_0x49b8bf['aborted']){_0x57bec7();return;}_0x4ffe4b=_0x5b7a3a[_0xea93c2(0x24f)]('GET',_0x1346c7,{'responseType':_0xea93c2(0x1d0)})['subscribe']({'next'(_0x2e8841){const _0x38cd57=_0xea93c2;_0x826430||_0x2e8841['type']!==n[_0x38cd57(0x2cb)][_0x38cd57(0x1ce)]||(_0x826430=!0x0,_0x46aebf(),_0x4ffe4b==null||_0x4ffe4b['unsubscribe'](),_0x3b1306(_0x2e8841));},'error'(_0x9fcf5d){_0x826430||(_0x826430=!0x0,_0x46aebf(),_0x3675ea(_0x9fcf5d));},'complete'(){const _0x86f425=_0xea93c2;_0x826430||(_0x826430=!0x0,_0x46aebf(),_0x3675ea(Error(_0x86f425(0x303))));}}),_0x826430&&_0x4ffe4b['unsubscribe']();});}function ie(_0x1a8ee7){const _0x3eccbd=_0x371424;try{return new URL(_0x1a8ee7)[_0x3eccbd(0x2a3)][_0x3eccbd(0x24a)]('/')['pop']();}catch(_0x35d828){console['error']('Error\x20getting\x20file\x20name\x20from\x20URL:',_0x35d828);return;}}function ae(_0x1e893f){const _0xc20866=_0x371424;let _0x3e8567=new Blob([_0x1e893f[_0xc20866(0x252)]],{'type':_0xc20866(0x281)});return new File([_0x3e8567],_0xc20866(0x2da));}function A(_0x56b115,_0x184966){const _0x1106fd=_0x371424;return _0x56b115[_0x1106fd(0x251)](_0x1106fd(0x1e2),_0x184966);}function j(_0x2b0280,_0x54a548){const _0xa63ba=_0x371424;return _0x2b0280[_0xa63ba(0x251)](_0xa63ba(0x1ee),_0x54a548);}function oe(_0x4e46af,_0x28ca3b){const _0x1f7090=_0x371424;return _0x4e46af['replace'](_0x1f7090(0x298),_0x28ca3b);}function M(_0x50c223){'@babel/helpers - typeof';const _0x5cce83=_0x371424;return M=typeof Symbol=='function'&&typeof Symbol[_0x5cce83(0x2ee)]==_0x5cce83(0x2dd)?function(_0x2df54f){return typeof _0x2df54f;}:function(_0x4f81eb){const _0x112776=_0x5cce83;return _0x4f81eb&&typeof Symbol=='function'&&_0x4f81eb['constructor']===Symbol&&_0x4f81eb!==Symbol[_0x112776(0x259)]?_0x112776(0x2dd):typeof _0x4f81eb;},M(_0x50c223);}function se(_0x1c97d1,_0x1cfd8b){const _0x206143=_0x371424;if(M(_0x1c97d1)!=_0x206143(0x2ae)||!_0x1c97d1)return _0x1c97d1;var _0x314352=_0x1c97d1[Symbol[_0x206143(0x322)]];if(_0x314352!==void 0x0){var _0x3faae7=_0x314352[_0x206143(0x35b)](_0x1c97d1,_0x1cfd8b||_0x206143(0x242));if(M(_0x3faae7)!='object')return _0x3faae7;throw TypeError(_0x206143(0x35d));}return(_0x1cfd8b===_0x206143(0x289)?String:Number)(_0x1c97d1);}function ce(_0x2a41e2){const _0x389697=_0x371424;var _0x25e7bc=se(_0x2a41e2,'string');return M(_0x25e7bc)==_0x389697(0x2dd)?_0x25e7bc:_0x25e7bc+'';}function N(_0x86540e,_0x3c00e8,_0x44b6df){const _0x13cd5f=_0x371424;return(_0x3c00e8=ce(_0x3c00e8))in _0x86540e?Object[_0x13cd5f(0x23e)](_0x86540e,_0x3c00e8,{'value':_0x44b6df,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x86540e[_0x3c00e8]=_0x44b6df,_0x86540e;}function P(_0x1277da,_0x35156d){return function(_0x34e5b9,_0x4d1aa4){_0x35156d(_0x34e5b9,_0x4d1aa4,_0x1277da);};}function F(_0x303740,_0xfff379,_0x5c2025,_0x2acff8){const _0x4115f1=_0x371424;var _0x31d2f7=arguments['length'],_0x51824d=_0x31d2f7<0x3?_0xfff379:_0x2acff8===null?_0x2acff8=Object[_0x4115f1(0x2d7)](_0xfff379,_0x5c2025):_0x2acff8,_0x3a9b74;if(typeof Reflect=='object'&&typeof Reflect[_0x4115f1(0x362)]==_0x4115f1(0x275))_0x51824d=Reflect[_0x4115f1(0x362)](_0x303740,_0xfff379,_0x5c2025,_0x2acff8);else{for(var _0xdab224=_0x303740[_0x4115f1(0x2b3)]-0x1;_0xdab224>=0x0;_0xdab224--)(_0x3a9b74=_0x303740[_0xdab224])&&(_0x51824d=(_0x31d2f7<0x3?_0x3a9b74(_0x51824d):_0x31d2f7>0x3?_0x3a9b74(_0xfff379,_0x5c2025,_0x51824d):_0x3a9b74(_0xfff379,_0x5c2025))||_0x51824d);}return _0x31d2f7>0x3&&_0x51824d&&Object[_0x4115f1(0x23e)](_0xfff379,_0x5c2025,_0x51824d),_0x51824d;}let le=function(_0x58ef4e){const _0x5aab52=_0x371424;return _0x58ef4e[_0x58ef4e['UNDEFINED']=0x0]=_0x5aab52(0x1b9),_0x58ef4e[_0x58ef4e['UNIT']=0x1]=_0x5aab52(0x2ed),_0x58ef4e[_0x58ef4e[_0x5aab52(0x33d)]=0x2]=_0x5aab52(0x33d),_0x58ef4e[_0x58ef4e[_0x5aab52(0x2f1)]=-0x1]=_0x5aab52(0x2f1),_0x58ef4e;}({}),ue=function(_0x2362f1){const _0x53dce1=_0x371424;return _0x2362f1[_0x53dce1(0x2e9)]=_0x53dce1(0x1fd),_0x2362f1['CSV']=_0x53dce1(0x2f9),_0x2362f1['TSV']=_0x53dce1(0x2a7),_0x2362f1[_0x53dce1(0x2f3)]='docx',_0x2362f1['PPTX']=_0x53dce1(0x28e),_0x2362f1[_0x53dce1(0x235)]=_0x53dce1(0x249),_0x2362f1;}({}),de=function(_0x4c94de){const _0x4b9ce1=_0x371424;return _0x4c94de[_0x4b9ce1(0x2f7)]=_0x4b9ce1(0x277),_0x4c94de[_0x4b9ce1(0x26e)]=_0x4b9ce1(0x2b0),_0x4c94de;}({}),fe=function(_0x553ea1){const _0x1ab61f=_0x371424;return _0x553ea1[_0x1ab61f(0x211)]=_0x1ab61f(0x295),_0x553ea1[_0x1ab61f(0x2cf)]='tables',_0x553ea1[_0x1ab61f(0x302)]=_0x1ab61f(0x221),_0x553ea1['HYBRID']=_0x1ab61f(0x330),_0x553ea1;}({}),pe=function(_0x249bc6){const _0x3197c1=_0x371424;return _0x249bc6[_0x3197c1(0x305)]=_0x3197c1(0x32a),_0x249bc6['VALUES']=_0x3197c1(0x205),_0x249bc6[_0x3197c1(0x316)]=_0x3197c1(0x206),_0x249bc6[_0x3197c1(0x1e7)]='fail',_0x249bc6;}({}),me=function(_0x598dc1){const _0x357341=_0x371424;return _0x598dc1['TABLES']=_0x357341(0x2eb),_0x598dc1['RANGES']=_0x357341(0x1bb),_0x598dc1;}({});const I=(0x0,t['createIdentifier'])(_0x371424(0x1cc));function _0x22a6(){const _0x573826=['upload','_requestService','upload\x20failed:\x20FileId\x20is\x20empty','univer-text-blue-500','pdf','split','3vSpLmk','floor','FolderIcon','createObjectURL','stream','removeEventListener','replace','buffer','SuccessIcon','dispose','transformWorkbookSnapshotMetaToString','UniverExchangeClientPlugin','_messageService','searchParams','prototype','2526240QoUywu','getTask','uploadFileServerUrl','exchange-client.uploading','_getUploadFileURL','ErrorCode','univer-animate-spin','1056032BROBin','univer-text-red-500','primary','UNIVER_PDF','body','univer-w-48','ExchangeBaseImportMode','_addDoneTask','&flate=','exchange-client.tooLarge','ComponentManager','touchDependencies','_getSignURL','TRADITIONAL','getUnitOnRev','disposeUnit','_registerComponents','application/vnd.openxmlformats-officedocument.wordprocessingml.document','count','_injector','function','univer-flex\x20univer-size-6\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-text-2xl','modern','match','Content-Type','DependentOn','saveSnapshot','univer-text-primary-600','Failed\x20to\x20get\x20jsonID\x20from\x20task','saveChangeset','Failed\x20to\x20get\x20text\x20from\x20url','_getExportURL','application/json','_exportBySnapshot','univer-m-0\x20univer-grid\x20univer-list-none\x20univer-gap-2\x20univer-p-0','small','saveSheetBlock','data','unitID','exchange-client.confirm','string','upload\x20request\x20failed','text/tab-separated-values','univer-pro.exchange-client.operate.service','univer-mt-5\x20univer-flex\x20univer-flex-col','pptx','_getMaxPollingTime','_config','_extractErrorDetail','packageName','exportServerUrl','catch','auto','univer-text-sm\x20univer-text-gray-700\x20dark:!univer-text-gray-200','span','{fileID}','getDeserializedSheetBlock','getLatestCsReqIdBySid','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','BuiltInUIPart','exchange-client.downloadSuccess','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2','EXPORT_FORMAT_DIALOG','file','textEncoder','textDecoder','pathname','_refreshUnit','_emitProgress','parse','tsv','toDisposable','IConfigService','includes','_import','_getLinkByUnitId','No\x20unit\x20of\x20type\x20','object','useRef','traditional','_sheetBlockCache','exchange-client.interrupt','length','style','Info','useDependency','visible$','univer-mt-3\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-2\x20univer-pr-1','status','_doneUploadTaskCount','download','transformSheetBlockMetaToString','LocaleService','onStarting','IExchangeService','importer','ExchangeBaseExportMode','useObservable','Success','size','change','current','display','asObservable','_upload','_registerIcons','HTTPEventType','upload\x20failed:\x20missing\x20FileId\x20in\x20response','LoadingMultiIcon','UNIVER_PROJECT','TABLES','toUpperCase','UniverExchangeClientMobileUIPlugin','UNIVER_UNKNOWN','SnapshotService','exchange-client.export-format-dialog','application/vnd.ms-excel','_registerUIParts','getOwnPropertyDescriptor','UNIVER_SLIDE','IExchangeOperateService','file.json','export','_blank','symbol','UNIVER_EXCHANGE_CLIENT_PLUGIN','code','_requestState$','jsx','getConfig','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','forEach','File\x20request\x20aborted.','interruptImportTask','univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','_visible$','XLSX','?size=','tables','ILogService','UNIT','iterator','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','resolve','UNRECOGNIZED','UniverMobileUIPlugin','DOCX','pushLink','ppt','exportFileByUnitId','MODERN','CONNECTOR_DATA_TOO_LARGE','csv','state$','Radio','ExchangeDocType','Error','file.','BehaviorSubject','isCurrentUnitLoadedFromServer','FileSource','SHEETS','File\x20request\x20completed\x20without\x20a\x20response.','univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','CONVERT_THEN_VALUES','div','Subject','_completeProgress','exchange-client.downloading','multiple','UNIVER_SHEET','signUrlServerUrl','univer-grid\x20univer-gap-2\x20univer-rounded-xl\x20univer-bg-gray-50\x20univer-p-3\x20dark:!univer-bg-gray-800','pluginName','url','importFileToUnitId','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','append','univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-gray-0','univer-w-full\x20!univer-min-w-0','jsxs','TEXT','univer-h-full\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','href','subscribe','exchange-client.unknownMistake','univer-sticky\x20univer-bottom-0\x20univer-bg-gray-0\x20univer-py-3\x20dark:!univer-bg-gray-900','createElement','aborted','univer-text-green-500','exchange-client.wait','connectInjector','importFileToSnapshot','toPrimitive','_taskInterrupted','590052NigNVg','ClientSnapshotServerService','show','ClockIcon','taskID','message','convert-then-values','disposeWithMe','unsubscribe','createUnit','_exchangeService','UNIVER_BOARD','hybrid','has','sign\x20url\x20error','getResourcesRequest','set','number','exchange-client.uploadAgain','_importFileToUnitId','_export','univer-flex\x20univer-flex-col\x20univer-gap-5\x20univer-p-1','_clearProgress','onReady','univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','JSON','_univerInstanceService','noreferrer','IUniverInstanceService','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','UniverLicensePlugin','import\x20error','merge','_importToJson','next','importFileToJson','univer-flex\x20univer-size-5\x20univer-shrink-0\x20univer-items-center','import','UniverInstanceType','signUrl','univer-flex\x20univer-min-w-0\x20univer-items-center\x20univer-gap-2\x20univer-font-semibold','univer-mb-3\x20univer-py-0\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-gray-0','_lastUnitImportContext','stringify','INTERNAL_ERROR','_buildProtocolErrorMessage','SheetsMultiIcon','success','map','setTaskInterrupted','exchange-client.cancel','files','_list','IMessageService','_getImportURL','call','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','progress$','/universer-api/exchange/task/{taskID}','appendChild','Failed\x20to\x20get\x20file\x20from\x20url','decorate','FileId','Get\x20outputType\x20error','ImportOutputType','/universer-api/exchange/{type}/export','encode','univer-flex\x20univer-items-center','done','_isSelectingUnitImportFile','UniverNetworkPlugin','clearTaskInterrupted','title','univer-shrink-0','_state$','name','exchange-client.uploadSuccessTip','text/csv','pending','fetchMissingChangesets','downloadEndpointUrl','complete','statusText','Inject','error','doc','HTTPService','UNDEFINED','get','ranges','_totalUploadTaskCount','ExchangeBaseFormulaPolicy','blockID','application/vnd.openxmlformats-officedocument.presentationml.presentation','isUnitLoadedFromServer','getTextFromUrl','/universer-api/exchange/{type}/import','requestState$','8WzFAdw','decode','CloseIcon','b64EncodeUnicode','scrollbarClassName','_httpService','exportFileBySnapshot','_configService','univer-pro.exchange-client.request.service','_iconManager','Response','univer-flex\x20univer-h-5\x20univer-text-xl','blob','originalMeta','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','3655548qlsqRD','\x20-\x20','getFileById','retryImportFileToUnitId','focusUnit','workbook','maxTimeoutTime','_showDownloadMessage','IUIPartsService','_uploadTaskNotDone','exchange-client.internalError','register','_addTotalCount','_uploadNotificationService','add','{type}','univer-pro.exchange-client.upload-notification.service','min','_componentManager','&source=','FAIL','ShareRangeIcon','registerComponent','_showUploadMessage','_fileTypeError','copyFileMeta','accept','{taskID}','_getTaskURL','createIdentifier','204762EWnaIa','Disposable','hide',':\x20HTTP\x20','_uiPartsService','DocsMultiIcon','ErrorIcon','useState','type','_progress$','unit','post','xlsx','getUnitId','header','shift','_signUrl','1654884QSOUsv','_list$','exchange-client.networkError','values','text','exchange-client.config','button','resolveWithBasePath','Tooltip','version','addEventListener','fileID','headers','trim','Button','AUTO','_buildHttpErrorMessage','UNIVER_BASE','MobileSelect','clear','ExportIcon','12oznbRA','Failed\x20to\x20parse\x20json','SlidesMultiIcon','@univerjs-pro/exchange-client','Injector','registerLink','link','getCurrentUnitOfType','_importTaskId','interrupt','sheets','MessageType','univer-text-sm\x20univer-text-gray-500','input','CONTENT','Error\x20fetching\x20file\x20from\x20URL:','\x20is\x20currently\x20active.','toString','UNIVER_DOC','Plugin','457035AtAPik','univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden','pop','outputType','abort','exchange-client.uploadSuccess','_showNetworkError','Warning','_logService','_localeService','PDF','HTTPResponseError','downloadFile','upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url','updateState','list$','AbortError','export\x20error','univer-w-10','defineProperty','univer-flex\x20univer-size-6\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-text-xl','_getDownloadEndpointURL','IconManager','default','join','fromEntries'];_0x22a6=function(){return _0x573826;};return _0x22a6();}let L=class{constructor(_0x2c59d9,_0x433f14){const _0x4e8064=_0x371424;this[_0x4e8064(0x1cb)]=_0x2c59d9,this[_0x4e8064(0x1c9)]=_0x433f14,N(this,'_taskInterrupted',new Set());}[_0x371424(0x254)](){}[_0x371424(0x355)](_0x28e123){const _0x777008=_0x371424;this[_0x777008(0x323)][_0x777008(0x1e1)](_0x28e123);}['clearTaskInterrupted'](){const _0x28d2d7=_0x371424;this[_0x28d2d7(0x323)][_0x28d2d7(0x215)]();}async[_0x371424(0x245)](_0x1d41db,_0x51b688=0x0,_0x4a6e43=!0x1){const _0x1a210b=_0x371424;if(typeof _0x1d41db==_0x1a210b(0x289)){let _0x5e9cbb=await O(_0x1d41db,this[_0x1a210b(0x1c9)]);if(!_0x5e9cbb)throw Error(_0x1a210b(0x238));_0x1d41db=_0x5e9cbb;}_0x51b688||=_0x1d41db[_0x1a210b(0x2c4)];let _0x4bd471=new FormData();_0x4bd471[_0x1a210b(0x312)](_0x1a210b(0x2a0),_0x1d41db);try{let _0x10c00b=this[_0x1a210b(0x25e)]()+_0x1a210b(0x2ea)+_0x51b688+_0x1a210b(0x1e6)+s[_0x1a210b(0x301)]['HttpImport']+_0x1a210b(0x269)+_0x4a6e43,_0x65ffbe={'body':_0x4bd471},_0x5d0849=(await this[_0x1a210b(0x1c9)][_0x1a210b(0x1fc)](_0x10c00b,_0x65ffbe))[_0x1a210b(0x265)];if(_0x5d0849[_0x1a210b(0x1b6)]&&_0x5d0849[_0x1a210b(0x1b6)][_0x1a210b(0x2df)]!==s[_0x1a210b(0x25f)]['OK'])throw Error(this[_0x1a210b(0x351)](_0x1a210b(0x28a),_0x5d0849[_0x1a210b(0x1b6)]));return _0x5d0849;}catch(_0x5df3b6){throw _0x5df3b6 instanceof Error?_0x5df3b6:Error(this[_0x1a210b(0x212)](_0x1a210b(0x28a),_0x5df3b6));}}async[_0x371424(0x349)](_0x59e5b0){const _0x47f57e=_0x371424;let {type:_0x51ca51,..._0x143c0c}=_0x59e5b0;try{let _0x2edd31=A(this[_0x47f57e(0x35a)](),''+_0x51ca51),_0x1954aa={'body':_0x143c0c},_0x3100d8=(await this[_0x47f57e(0x1c9)][_0x47f57e(0x1fc)](_0x2edd31,_0x1954aa))[_0x47f57e(0x265)];return _0x3100d8[_0x47f57e(0x1b6)]&&_0x3100d8[_0x47f57e(0x1b6)]['code']!==s['ErrorCode']['OK']?void 0x0:_0x3100d8;}catch{return;}}async[_0x371424(0x2db)](_0x46bf07){const _0x1c64bf=_0x371424;let {type:_0x5bc831}=_0x46bf07;try{let _0x167c5f=A(this[_0x1c64bf(0x280)](),''+_0x5bc831),_0x1984ab={'body':_0x46bf07},_0x7108af=(await this['_httpService'][_0x1c64bf(0x1fc)](_0x167c5f,_0x1984ab))[_0x1c64bf(0x265)];return _0x7108af['error']&&_0x7108af['error'][_0x1c64bf(0x2df)]!==s[_0x1c64bf(0x25f)]['OK']?void 0x0:_0x7108af;}catch{return;}}async[_0x371424(0x25b)](_0x5e85a8){return new Promise((_0x19e8f9,_0x9f71f9)=>{const _0xc25fa7=_0xd5ee;try{let _0x58f1ce=0x0,_0x4918eb=j(this[_0xc25fa7(0x1ef)](),''+_0x5e85a8),_0x4e6090=this[_0xc25fa7(0x28f)](),_0x3c9157=async()=>{const _0x263feb=_0xc25fa7;if(this[_0x263feb(0x323)][_0x263feb(0x331)](_0x5e85a8))return;let _0x295cbb=(await this[_0x263feb(0x1c9)][_0x263feb(0x1ba)](_0x4918eb))['body'];if(_0x295cbb[_0x263feb(0x1b6)]&&_0x295cbb[_0x263feb(0x1b6)]['code']===s[_0x263feb(0x25f)]['OK']){if(_0x295cbb[_0x263feb(0x2b9)]===_0x263feb(0x369))_0x19e8f9(_0x295cbb);else{if(_0x295cbb[_0x263feb(0x2b9)]===_0x263feb(0x1b0)){let _0x1944b8=0x3e8;if(_0x58f1ce>=_0x4e6090){_0x9f71f9(_0x295cbb);return;}_0x58f1ce>=0x7530&&(_0x1944b8=0x1388),_0x58f1ce+=_0x1944b8,setTimeout(_0x3c9157,_0x1944b8);}else _0x9f71f9(_0x295cbb);}}else _0x9f71f9(_0x295cbb);};_0x3c9157();}catch(_0x594f66){_0x9f71f9(_0x594f66 instanceof Error?_0x594f66:Error(String(_0x594f66)));}});}async[_0x371424(0x34b)](_0x51c617){const _0x6febb8=_0x371424;try{let _0x36b6d0=oe(this[_0x6febb8(0x26d)](),''+_0x51c617);return(await this[_0x6febb8(0x1c9)][_0x6febb8(0x1ba)](_0x36b6d0))[_0x6febb8(0x265)];}catch{return;}}async[_0x371424(0x1c1)](_0x5975ce){const _0x266138=_0x371424;try{return(await this[_0x266138(0x1c9)][_0x266138(0x1ba)](_0x5975ce,{'responseType':'text'}))['body'];}catch{return;}}['_buildProtocolErrorMessage'](_0x304cb9,_0x3eecbf){const _0x5c6ae5=_0x371424;let _0x481a9b=this[_0x5c6ae5(0x291)](_0x3eecbf);return _0x481a9b?_0x304cb9+':\x20'+_0x481a9b:_0x304cb9;}[_0x371424(0x212)](_0x5e4dc2,_0x1d116a){const _0x187d4b=_0x371424;if(_0x1d116a instanceof n[_0x187d4b(0x236)]){let _0x495547=typeof _0x1d116a[_0x187d4b(0x2b9)]==_0x187d4b(0x335)?''+_0x1d116a[_0x187d4b(0x2b9)]+(_0x1d116a[_0x187d4b(0x1b4)]?'\x20'+_0x1d116a[_0x187d4b(0x1b4)]:''):void 0x0,_0x8a9085=this[_0x187d4b(0x291)](_0x1d116a['error']);return _0x495547&&_0x8a9085?_0x5e4dc2+_0x187d4b(0x1f4)+_0x495547+_0x187d4b(0x1d4)+_0x8a9085:_0x495547?_0x5e4dc2+_0x187d4b(0x1f4)+_0x495547:_0x8a9085?_0x5e4dc2+':\x20'+_0x8a9085:_0x5e4dc2;}let _0xf0e89a=this[_0x187d4b(0x291)](_0x1d116a);return _0xf0e89a?_0x5e4dc2+':\x20'+_0xf0e89a:_0x5e4dc2;}['_extractErrorDetail'](_0x18b17d){const _0x4ec1ac=_0x371424;if(typeof _0x18b17d==_0x4ec1ac(0x289)){let _0x370643=_0x18b17d[_0x4ec1ac(0x20f)]();return _0x370643['length']>0x0?_0x370643:void 0x0;}if(_0x18b17d instanceof Error)return this[_0x4ec1ac(0x291)](_0x18b17d['message']);if(!_0x18b17d||typeof _0x18b17d!='object'||Array['isArray'](_0x18b17d))return;let _0x54d6ba=_0x18b17d,_0x3bdc7b=this[_0x4ec1ac(0x291)](_0x54d6ba[_0x4ec1ac(0x329)]);if(_0x3bdc7b)return _0x3bdc7b;if(_0x54d6ba[_0x4ec1ac(0x1b6)]&&typeof _0x54d6ba[_0x4ec1ac(0x1b6)]==_0x4ec1ac(0x2ae)&&!Array['isArray'](_0x54d6ba['error'])){let _0x18bdcd=this[_0x4ec1ac(0x291)](_0x54d6ba[_0x4ec1ac(0x1b6)]);if(_0x18bdcd)return _0x18bdcd;}}[_0x371424(0x25e)](){const _0x4a0cfb=_0x371424;let _0x1200e6=this[_0x4a0cfb(0x1cb)][_0x4a0cfb(0x2e2)](m);return(_0x1200e6==null?void 0x0:_0x1200e6[_0x4a0cfb(0x25c)])??'/universer-api/stream/file/upload';}[_0x371424(0x35a)](){const _0x34d477=_0x371424;let _0x381856=this['_configService']['getConfig'](m);return(_0x381856==null?void 0x0:_0x381856['importServerUrl'])??_0x34d477(0x1c2);}[_0x371424(0x280)](){const _0x2191d4=_0x371424;let _0x413cff=this[_0x2191d4(0x1cb)][_0x2191d4(0x2e2)](m);return(_0x413cff==null?void 0x0:_0x413cff[_0x2191d4(0x293)])??_0x2191d4(0x366);}[_0x371424(0x1ef)](){const _0x36e5e4=_0x371424;let _0x2e66b0=this[_0x36e5e4(0x1cb)][_0x36e5e4(0x2e2)](m);return(_0x2e66b0==null?void 0x0:_0x2e66b0['getTaskServerUrl'])??_0x36e5e4(0x35f);}[_0x371424(0x26d)](){const _0x5b5956=_0x371424;let _0x540a37=this[_0x5b5956(0x1cb)][_0x5b5956(0x2e2)](m);return(_0x540a37==null?void 0x0:_0x540a37[_0x5b5956(0x30c)])??'/universer-api/file/{fileID}/sign-url';}[_0x371424(0x28f)](){const _0x1b2e05=_0x371424;let _0x200e2c=this[_0x1b2e05(0x1cb)][_0x1b2e05(0x2e2)](m);return(_0x200e2c==null?void 0x0:_0x200e2c[_0x1b2e05(0x1d9)])??0x1d4c0;}};L=F([P(0x0,t[_0x371424(0x2a9)]),P(0x1,(0x0,t[_0x371424(0x1b5)])(n[_0x371424(0x1b8)]))],L);const R=_0x371424(0x2d4);function he({formats:_0x176b65,items:_0x59f364,selectedId:_0x2f90d0,onCancel:_0x23cb12,onConfirm:_0x78ebd1}){const _0x1c9779=_0x371424;let _0x2cd8c5=(0x0,r['useDependency'])(t[_0x1c9779(0x2bd)]),[_0x2bc44d,_0x17f1c5]=(0x0,o['useState'])(_0x176b65[0x0]),[_0xb2a05c,_0x12fc13]=(0x0,o['useState'])(_0x2f90d0),[_0x34fd09,_0x4f3488]=(0x0,o[_0x1c9779(0x1f8)])(!0x1),_0x2ea67d=(0x0,o[_0x1c9779(0x2af)])(!0x1);return(0x0,c[_0x1c9779(0x315)])('div',{'className':_0x1c9779(0x339),'children':[(0x0,c['jsx'])(_0x1c9779(0x306),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-4','children':_0x176b65['map'](_0x103cd0=>(0x0,c[_0x1c9779(0x315)])(_0x1c9779(0x306),{'className':'univer-flex\x20univer-items-center\x20univer-gap-3','children':[(0x0,c['jsx'])(a[_0x1c9779(0x2fb)],{'value':_0x103cd0,'checked':_0x2bc44d===_0x103cd0,'onChange':_0x2fba6c=>_0x17f1c5(_0x2fba6c),'children':(0x0,c['jsx'])(_0x1c9779(0x297),{'className':_0x1c9779(0x23d),'children':_0x103cd0[_0x1c9779(0x2d0)]()})}),_0x103cd0!==_0x1c9779(0x1fd)&&(0x0,c[_0x1c9779(0x2e1)])(a['Select'],{'className':_0x1c9779(0x266),'value':_0xb2a05c,'options':_0x59f364,'onChange':_0x3ecef8=>_0x12fc13(String(_0x3ecef8))})]},_0x103cd0))}),(0x0,c[_0x1c9779(0x315)])(_0x1c9779(0x306),{'className':'univer-flex\x20univer-justify-end\x20univer-gap-2','children':[(0x0,c['jsx'])(a[_0x1c9779(0x210)],{'type':_0x1c9779(0x208),'variant':_0x1c9779(0x242),'onClick':_0x23cb12,'children':_0x2cd8c5['t'](_0x1c9779(0x356))}),(0x0,c[_0x1c9779(0x315)])(a[_0x1c9779(0x210)],{'type':_0x1c9779(0x208),'variant':_0x1c9779(0x263),'aria-busy':_0x34fd09,'disabled':_0x34fd09||!_0x2bc44d||_0x2bc44d!==_0x1c9779(0x1fd)&&!_0xb2a05c,'onClick':async()=>{const _0x37719d=_0x1c9779;if(!_0x2ea67d[_0x37719d(0x2c6)]){_0x2ea67d['current']=!0x0,_0x4f3488(!0x0);try{await _0x78ebd1(_0x2bc44d,_0xb2a05c);}finally{_0x2ea67d[_0x37719d(0x2c6)]=!0x1,_0x4f3488(!0x1);}}},'children':[_0x34fd09&&(0x0,c[_0x1c9779(0x2e1)])(i[_0x1c9779(0x2cd)],{'className':'univer-animate-spin'}),_0x2cd8c5['t'](_0x1c9779(0x288))]})]})]});}function ge({formats:_0x50e680,items:_0x18cfad,selectedId:_0x4a3736,onCancel:_0x3f56f8,onConfirm:_0x9653ec}){const _0x49239b=_0x371424;let _0x59dc5e=(0x0,r[_0x49239b(0x2b6)])(t['LocaleService']),[_0x354ac6,_0x1c4765]=(0x0,o[_0x49239b(0x1f8)])(_0x50e680[0x0]),[_0x3e3d58,_0x22ee17]=(0x0,o[_0x49239b(0x1f8)])(_0x4a3736),[_0xd74b1b,_0x2e9ac7]=(0x0,o[_0x49239b(0x1f8)])(!0x1),_0x11cee8=(0x0,o[_0x49239b(0x2af)])(!0x1);async function _0x2e6185(){const _0x2a664e=_0x49239b;if(!_0x11cee8[_0x2a664e(0x2c6)]){_0x11cee8[_0x2a664e(0x2c6)]=!0x0,_0x2e9ac7(!0x0);try{await _0x9653ec(_0x354ac6,_0x3e3d58);}finally{_0x11cee8[_0x2a664e(0x2c6)]=!0x1,_0x2e9ac7(!0x1);}}}return(0x0,c['jsxs'])(_0x49239b(0x306),{'className':'univer-grid\x20univer-gap-4','children':[(0x0,c[_0x49239b(0x2e1)])('div',{'className':'univer-grid\x20univer-gap-3','children':_0x50e680[_0x49239b(0x354)](_0x3632fe=>(0x0,c[_0x49239b(0x315)])(_0x49239b(0x306),{'className':_0x49239b(0x30d),'children':[(0x0,c[_0x49239b(0x2e1)])(a[_0x49239b(0x2fb)],{'value':_0x3632fe,'checked':_0x354ac6===_0x3632fe,'onChange':_0x3560fa=>_0x1c4765(_0x3560fa),'children':_0x3632fe['toUpperCase']()}),_0x3632fe!==_0x49239b(0x1fd)&&_0x354ac6===_0x3632fe&&(0x0,c['jsx'])(a[_0x49239b(0x214)],{'className':_0x49239b(0x314),'value':_0x3e3d58,'options':_0x18cfad,'onChange':_0x200a2c=>_0x22ee17(String(_0x200a2c))})]},_0x3632fe))}),(0x0,c['jsxs'])(a['MobileActionRowGroup'],{'className':_0x49239b(0x31b),'children':[(0x0,c[_0x49239b(0x2e1)])(a[_0x49239b(0x210)],{'type':'button','onClick':_0x3f56f8,'children':_0x59dc5e['t']('exchange-client.cancel')}),(0x0,c[_0x49239b(0x315)])(a[_0x49239b(0x210)],{'type':'button','variant':_0x49239b(0x263),'aria-busy':_0xd74b1b,'disabled':_0xd74b1b||!_0x354ac6||_0x354ac6!=='xlsx'&&!_0x3e3d58,'onClick':_0x2e6185,'children':[_0xd74b1b&&(0x0,c['jsx'])(i[_0x49239b(0x2cd)],{'className':_0x49239b(0x260)}),_0x59dc5e['t']('exchange-client.confirm')]})]})]});}let z=class extends t['Disposable']{constructor(_0xffb577,_0x2e03e4){const _0x4fc3f4=_0x371424;super(),this[_0x4fc3f4(0x1cd)]=_0xffb577,this[_0x4fc3f4(0x1e5)]=_0x2e03e4,this[_0x4fc3f4(0x32b)](this[_0x4fc3f4(0x1cd)][_0x4fc3f4(0x1de)]({'DirectExportIcon':i['DirectExportIcon'],'ExportIcon':i[_0x4fc3f4(0x216)],'FolderIcon':i[_0x4fc3f4(0x24d)]})),this[_0x4fc3f4(0x32b)](this[_0x4fc3f4(0x1e5)][_0x4fc3f4(0x1de)](R,ge));}};z=F([P(0x0,(0x0,t[_0x371424(0x1b5)])(r[_0x371424(0x241)])),P(0x1,(0x0,t[_0x371424(0x1b5)])(r[_0x371424(0x26b)]))],z);const B=(0x0,t['createIdentifier'])('univer-pro.exchange-client.exchange.service');let V=class extends t[_0x371424(0x1f2)]{constructor(_0x18cf53,_0x1dce13,_0x591c17){const _0x4f55db=_0x371424;super(),this[_0x4f55db(0x1cb)]=_0x18cf53,this['_httpService']=_0x1dce13,this['_requestService']=_0x591c17,N(this,_0x4f55db(0x21f),null),N(this,'_requestState$',new l['Subject']()),N(this,_0x4f55db(0x1c3),this[_0x4f55db(0x2e0)][_0x4f55db(0x2c8)]());}[_0x371424(0x254)](){const _0x420802=_0x371424;super[_0x420802(0x254)](),this['_requestState$']['complete']();}[_0x371424(0x237)](_0x3191a3,_0x5abe2e,_0x2b4c5a){const _0x5808e1=_0x371424;let _0x242a13=URL[_0x5808e1(0x24e)](_0x3191a3);te(_0x242a13,_0x5abe2e,_0x2b4c5a),URL['revokeObjectURL'](_0x242a13);}async[_0x371424(0x1d5)](_0x50ecbf,_0x4c02e7){const _0x3fc692=_0x371424;if(_0x4c02e7!=null&&_0x4c02e7[_0x3fc692(0x31d)])return;let _0x3e4b03=await this[_0x3fc692(0x201)](_0x50ecbf);if(!(!_0x3e4b03||_0x4c02e7!=null&&_0x4c02e7[_0x3fc692(0x31d)]))return k(_0x3e4b03,this['_httpService'],_0x4c02e7);}async[_0x371424(0x310)](_0x181a5c,_0x17326a,_0x49b931){const _0x5857ee=_0x371424;var _0xc22bf,_0x222833;let _0x477048=await this['_upload'](_0x181a5c);if(!_0x477048)return;let _0x30f62c=await this['_import'](_0x477048,0x1,_0x17326a,_0x49b931);if(!_0x30f62c)return;this['_importTaskId']=_0x30f62c,this[_0x5857ee(0x246)][_0x5857ee(0x36c)]();let _0x12e33f=await this[_0x5857ee(0x246)]['getTask'](_0x30f62c)[_0x5857ee(0x294)](_0x43466e=>{const _0xca1969=_0x5857ee;var _0x5ac372;let _0x44719f=_0x43466e instanceof Error?_0x43466e[_0xca1969(0x329)]:(_0x5ac372=_0x43466e[_0xca1969(0x1b6)])==null?void 0x0:_0x5ac372[_0xca1969(0x329)];this['_requestState$'][_0xca1969(0x346)]({'error':{'code':s[_0xca1969(0x25f)][_0xca1969(0x2f1)],'message':_0x44719f||''},'state':0x3});});if(!_0x12e33f)return;let _0x34a19e=(_0xc22bf=_0x12e33f[_0x5857ee(0x349)])==null?void 0x0:_0xc22bf[_0x5857ee(0x22e)],_0x55d5a4=((_0x222833=_0x12e33f[_0x5857ee(0x349)])==null?void 0x0:_0x222833[_0x5857ee(0x287)])||'';if(_0x34a19e!==0x1){this[_0x5857ee(0x2e0)][_0x5857ee(0x346)]({'error':{'code':s['ErrorCode'][_0x5857ee(0x2f1)],'message':_0x5857ee(0x364)},'state':0x3});return;}if(_0x55d5a4['length']===0x0){this[_0x5857ee(0x2e0)]['next']({'error':{'code':s[_0x5857ee(0x25f)]['UNRECOGNIZED'],'message':'Failed\x20to\x20get\x20unitID\x20from\x20task'},'state':0x3});return;}return this['_requestState$']['next']({'error':_0x12e33f[_0x5857ee(0x1b6)],'state':0x3}),_0x55d5a4;}async[_0x371424(0x347)](_0x4e8806,_0x24258c,_0xfac9e){const _0x35a835=_0x371424;return this[_0x35a835(0x345)](_0x4e8806,_0x24258c,_0xfac9e);}async[_0x371424(0x2f6)](_0x6fd518,_0xb90ea7,_0x47ae92,_0xdf11f8){const _0x2dc690=_0x371424;return this[_0x2dc690(0x338)](_0x6fd518,0x1,_0xb90ea7,_0x47ae92,_0xdf11f8);}async[_0x371424(0x1ca)](_0x1c642f,_0x33edbf,_0x23bd2a,_0x539389){const _0x133bf5=_0x371424;return this[_0x133bf5(0x282)](_0x1c642f,_0x33edbf,_0x23bd2a,_0x539389);}[_0x371424(0x2e6)](){const _0x5a1e1a=_0x371424;this[_0x5a1e1a(0x21f)]&&this['_requestService'][_0x5a1e1a(0x355)](this[_0x5a1e1a(0x21f)]);}async[_0x371424(0x345)](_0x381dbc,_0x17bc0b,_0x4a9d4c){const _0x4af8e1=_0x371424;var _0x489d88,_0x36e77e;let _0xbe79ae=await this[_0x4af8e1(0x2c9)](_0x381dbc);if(!_0xbe79ae)return;let _0x3e4458=await this[_0x4af8e1(0x2ab)](_0xbe79ae,0x2,_0x17bc0b,_0x4a9d4c);if(!_0x3e4458)return;this['_importTaskId']=_0x3e4458,this[_0x4af8e1(0x246)][_0x4af8e1(0x36c)]();let _0x3c0ce8=await this[_0x4af8e1(0x246)][_0x4af8e1(0x25b)](_0x3e4458)[_0x4af8e1(0x294)](_0x4b63cc=>{const _0x44dbe4=_0x4af8e1;var _0x391dda;let _0x3e1423=_0x4b63cc instanceof Error?_0x4b63cc[_0x44dbe4(0x329)]:(_0x391dda=_0x4b63cc[_0x44dbe4(0x1b6)])==null?void 0x0:_0x391dda[_0x44dbe4(0x329)];this['_requestState$'][_0x44dbe4(0x346)]({'error':{'code':s[_0x44dbe4(0x25f)][_0x44dbe4(0x2f1)],'message':_0x3e1423||''},'state':0x3});});if(!_0x3c0ce8)return;let _0x556f5a=(_0x489d88=_0x3c0ce8[_0x4af8e1(0x349)])==null?void 0x0:_0x489d88[_0x4af8e1(0x22e)],_0x389663=((_0x36e77e=_0x3c0ce8['import'])==null?void 0x0:_0x36e77e['jsonID'])||'';if(_0x556f5a!==0x2){this[_0x4af8e1(0x2e0)][_0x4af8e1(0x346)]({'error':{'code':s[_0x4af8e1(0x25f)]['UNRECOGNIZED'],'message':_0x4af8e1(0x364)},'state':0x3});return;}if(_0x389663['length']===0x0){this[_0x4af8e1(0x2e0)][_0x4af8e1(0x346)]({'error':{'code':s['ErrorCode'][_0x4af8e1(0x2f1)],'message':_0x4af8e1(0x27d)},'state':0x3});return;}this[_0x4af8e1(0x2e0)][_0x4af8e1(0x346)]({'error':_0x3c0ce8[_0x4af8e1(0x1b6)],'state':0x3});let _0x4cbbc5=await this['_signUrl'](_0x389663);if(!_0x4cbbc5)return;let _0x1925bc=await this[_0x4af8e1(0x246)][_0x4af8e1(0x1c1)](_0x4cbbc5);if(!_0x1925bc){this[_0x4af8e1(0x2e0)][_0x4af8e1(0x346)]({'error':{'code':s[_0x4af8e1(0x25f)][_0x4af8e1(0x2f1)],'message':_0x4af8e1(0x27f)},'state':0x5});return;}try{let _0x29838c=JSON[_0x4af8e1(0x2a6)](_0x1925bc);return this[_0x4af8e1(0x2e0)][_0x4af8e1(0x346)]({'error':{'code':s[_0x4af8e1(0x25f)]['OK'],'message':_0x4af8e1(0x353)},'state':0x5}),_0x29838c;}catch{this[_0x4af8e1(0x2e0)][_0x4af8e1(0x346)]({'error':{'code':s['ErrorCode'][_0x4af8e1(0x2f1)],'message':_0x4af8e1(0x218)},'state':0x5});}}async[_0x371424(0x282)](_0xec0be8,_0x4473f0,_0x3b2290,_0x487ba7){const _0x15b875=_0x371424;let _0x27cffe=JSON[_0x15b875(0x34f)](_0xec0be8),_0x20c03a=u[_0x15b875(0x2a1)][_0x15b875(0x367)](_0x27cffe),_0x3c13e5=(0x0,d['deflateSync'])(_0x20c03a),_0x34e0ef=_0x20c03a[_0x15b875(0x2b3)],_0x14e129=ae(_0x3c13e5),_0x4a22f5=await this['_upload'](_0x14e129,_0x34e0ef,!0x0);if(_0x4a22f5)return this[_0x15b875(0x338)](_0x4a22f5,0x2,_0x4473f0,_0x3b2290,_0x487ba7);}async[_0x371424(0x338)](_0x4e319e,_0x49c4f7,_0x381346,_0x3ef592,_0x212751){const _0x33f6aa=_0x371424;var _0x563895;let _0x4eee49=await this[_0x33f6aa(0x246)]['export']({..._0x49c4f7===0x1?{'unitID':_0x4e319e}:{'jsonID':_0x4e319e},'type':_0x381346,'format':_0x3ef592,'options':_0x212751});if(!_0x4eee49){this[_0x33f6aa(0x2e0)][_0x33f6aa(0x346)]({'error':{'code':s[_0x33f6aa(0x25f)][_0x33f6aa(0x2f1)],'message':_0x33f6aa(0x23c)},'state':0x2});return;}if(this[_0x33f6aa(0x2e0)]['next']({'error':_0x4eee49[_0x33f6aa(0x1b6)],'state':0x2}),_0x4eee49[_0x33f6aa(0x1b6)]&&_0x4eee49[_0x33f6aa(0x1b6)]['code']!==s[_0x33f6aa(0x25f)]['OK'])return;let _0x3f394c=_0x4eee49[_0x33f6aa(0x328)],_0x44bc6a=await this[_0x33f6aa(0x246)][_0x33f6aa(0x25b)](_0x3f394c)['catch'](_0x379c8f=>{const _0x3fb02e=_0x33f6aa;var _0x47edf2;let _0x454480=_0x379c8f instanceof Error?_0x379c8f[_0x3fb02e(0x329)]:(_0x47edf2=_0x379c8f[_0x3fb02e(0x1b6)])==null?void 0x0:_0x47edf2[_0x3fb02e(0x329)];this[_0x3fb02e(0x2e0)][_0x3fb02e(0x346)]({'error':{'code':s[_0x3fb02e(0x25f)][_0x3fb02e(0x2f1)],'message':_0x454480||''},'state':0x3});});if(!_0x44bc6a)return;let _0x307786=((_0x563895=_0x44bc6a[_0x33f6aa(0x2db)])==null?void 0x0:_0x563895[_0x33f6aa(0x20d)])||'';if(_0x307786[_0x33f6aa(0x2b3)]===0x0){this[_0x33f6aa(0x2e0)]['next']({'error':{'code':s[_0x33f6aa(0x25f)]['UNRECOGNIZED'],'message':'Failed\x20to\x20get\x20fileID\x20from\x20task'},'state':0x3});return;}this[_0x33f6aa(0x2e0)][_0x33f6aa(0x346)]({'error':_0x44bc6a[_0x33f6aa(0x1b6)],'state':0x3});let _0x5db5f9=await this['_signUrl'](_0x307786);if(!_0x5db5f9)return;let _0x3044b4=await O(_0x5db5f9,this[_0x33f6aa(0x1c9)]);if(!_0x3044b4){this[_0x33f6aa(0x2e0)][_0x33f6aa(0x346)]({'error':{'code':s[_0x33f6aa(0x25f)][_0x33f6aa(0x2f1)],'message':_0x33f6aa(0x361)},'state':0x6});return;}return this['_requestState$'][_0x33f6aa(0x346)]({'error':{'code':s[_0x33f6aa(0x25f)]['OK'],'message':'success'},'state':0x6}),_0x3044b4;}async[_0x371424(0x2c9)](_0x5bbb6f,_0x30e1bd,_0x19b9e3){const _0x27c601=_0x371424;let _0x527152;try{_0x527152=await this['_requestService'][_0x27c601(0x245)](_0x5bbb6f,_0x30e1bd,_0x19b9e3);}catch(_0x2d5e81){let _0x47c438=_0x2d5e81 instanceof Error?_0x2d5e81['message']:String(_0x2d5e81);this[_0x27c601(0x2e0)][_0x27c601(0x346)]({'error':{'code':s[_0x27c601(0x25f)][_0x27c601(0x2f1)],'message':_0x47c438},'state':0x0});return;}if(!_0x527152||typeof _0x527152['FileId']!=_0x27c601(0x289)){this[_0x27c601(0x2e0)][_0x27c601(0x346)]({'error':{'code':s['ErrorCode'][_0x27c601(0x2f1)],'message':_0x27c601(0x2cc)},'state':0x0});return;}let _0xd1785e=_0x527152[_0x27c601(0x363)];if(_0xd1785e[_0x27c601(0x2b3)]===0x0){this['_requestState$']['next']({'error':{'code':s[_0x27c601(0x25f)][_0x27c601(0x2f1)],'message':_0x27c601(0x247)},'state':0x0});return;}return this[_0x27c601(0x2e0)][_0x27c601(0x346)]({'error':{'code':s['ErrorCode']['OK'],'message':_0x27c601(0x353)},'state':0x0}),_0xd1785e;}async['_import'](_0x25fc7d,_0xb86454,_0x27560d,_0x530068){const _0xdcd748=_0x371424;let _0x350abe={'fileID':_0x25fc7d,'type':_0x27560d,'outputType':_0xb86454,'options':_0x530068},_0xd4890a=await this['_requestService'][_0xdcd748(0x349)](_0x350abe);if(!_0xd4890a){this[_0xdcd748(0x2e0)][_0xdcd748(0x346)]({'error':{'code':s[_0xdcd748(0x25f)][_0xdcd748(0x2f1)],'message':_0xdcd748(0x343)},'state':0x1});return;}if(_0xd4890a[_0xdcd748(0x1b6)]&&_0xd4890a[_0xdcd748(0x1b6)][_0xdcd748(0x2df)]!==s[_0xdcd748(0x25f)]['OK']){this['_requestState$'][_0xdcd748(0x346)]({'error':_0xd4890a[_0xdcd748(0x1b6)],'state':0x1});return;}let _0x5da2e1=_0xd4890a[_0xdcd748(0x328)];if(_0x5da2e1[_0xdcd748(0x2b3)]===0x0){this[_0xdcd748(0x2e0)][_0xdcd748(0x346)]({'error':{'code':s[_0xdcd748(0x25f)][_0xdcd748(0x2f1)],'message':'Failed\x20to\x20get\x20taskID\x20from\x20import\x20response'},'state':0x1});return;}return this[_0xdcd748(0x2e0)][_0xdcd748(0x346)]({'error':_0xd4890a['error'],'state':0x1}),_0x5da2e1;}async['_signUrl'](_0x55a54b){const _0x2310af=_0x371424;let _0x63ccfb=await this['_requestService']['signUrl'](_0x55a54b);if(!_0x63ccfb){this[_0x2310af(0x2e0)][_0x2310af(0x346)]({'error':{'code':s[_0x2310af(0x25f)][_0x2310af(0x2f1)],'message':_0x2310af(0x332)},'state':0x4});return;}if(_0x63ccfb[_0x2310af(0x1b6)]&&_0x63ccfb[_0x2310af(0x1b6)]['code']!==s[_0x2310af(0x25f)]['OK']){this['_requestState$'][_0x2310af(0x346)]({'error':_0x63ccfb[_0x2310af(0x1b6)],'state':0x4});return;}let _0x54fd18=(0x0,t[_0x2310af(0x209)])(_0x63ccfb[_0x2310af(0x30f)],this[_0x2310af(0x240)]());if(_0x54fd18[_0x2310af(0x2b3)]===0x0){this[_0x2310af(0x2e0)][_0x2310af(0x346)]({'error':{'code':s[_0x2310af(0x25f)][_0x2310af(0x2f1)],'message':'sign\x20url\x20error'},'state':0x4});return;}return this[_0x2310af(0x2e0)][_0x2310af(0x346)]({'error':_0x63ccfb[_0x2310af(0x1b6)],'state':0x4}),_0x54fd18;}[_0x371424(0x240)](){const _0x540327=_0x371424;let _0xcbc119=this[_0x540327(0x1cb)][_0x540327(0x2e2)](m);return(_0xcbc119==null?void 0x0:_0xcbc119[_0x540327(0x1b2)])??location['origin'];}};V=F([P(0x0,t['IConfigService']),P(0x1,(0x0,t['Inject'])(n[_0x371424(0x1b8)])),P(0x2,(0x0,t[_0x371424(0x1b5)])(I))],V);const H=(0x0,t[_0x371424(0x1f0)])(_0x371424(0x1e3));var U=class extends t['Disposable']{constructor(){const _0x693b37=_0x371424;super(),N(this,_0x693b37(0x2e8),new l[(_0x693b37(0x307))]()),N(this,'_state$',new l[(_0x693b37(0x307))]()),N(this,_0x693b37(0x203),new l['Subject']()),N(this,_0x693b37(0x2b7),this['_visible$'][_0x693b37(0x2c8)]()),N(this,_0x693b37(0x2fa),this[_0x693b37(0x1ac)]['asObservable']()),N(this,_0x693b37(0x23a),this[_0x693b37(0x203)][_0x693b37(0x2c8)]()),N(this,_0x693b37(0x358),[]);}[_0x371424(0x254)](){const _0x1d536a=_0x371424;super[_0x1d536a(0x254)](),this[_0x1d536a(0x2e8)]['complete'](),this[_0x1d536a(0x1ac)][_0x1d536a(0x1b3)](),this[_0x1d536a(0x203)][_0x1d536a(0x1b3)]();}['show'](){const _0xd20541=_0x371424;this[_0xd20541(0x2e8)][_0xd20541(0x346)](!0x0);}[_0x371424(0x1f3)](){const _0x1cb11b=_0x371424;this[_0x1cb11b(0x2e8)][_0x1cb11b(0x346)](!0x1);}[_0x371424(0x239)](_0xb5efc1){const _0x1b8735=_0x371424;this[_0x1b8735(0x1ac)][_0x1b8735(0x346)](_0xb5efc1);}['pushLink'](_0x5eaad2){const _0x2d01a1=_0x371424;this[_0x2d01a1(0x358)]['unshift'](_0x5eaad2),this[_0x2d01a1(0x203)][_0x2d01a1(0x346)](this[_0x2d01a1(0x358)]);}};const _e={'done':0x0,'count':0x0},W=(0x0,t[_0x371424(0x1f0)])(_0x371424(0x28c));let G=class extends t['Disposable']{constructor(_0x3e248f,_0x5ce747,_0x19a9ea,_0x39da85,_0x31b0ee,_0x4528f9){const _0x52e7ae=_0x371424;super(),this[_0x52e7ae(0x33e)]=_0x3e248f,this[_0x52e7ae(0x257)]=_0x5ce747,this['_localeService']=_0x19a9ea,this[_0x52e7ae(0x32e)]=_0x39da85,this['_uploadNotificationService']=_0x31b0ee,this[_0x52e7ae(0x233)]=_0x4528f9,N(this,_0x52e7ae(0x1fa),new l[(_0x52e7ae(0x2ff))](_e)),N(this,_0x52e7ae(0x35e),this['_progress$'][_0x52e7ae(0x2c8)]()),N(this,_0x52e7ae(0x1bc),0x0),N(this,_0x52e7ae(0x2ba),0x0),N(this,_0x52e7ae(0x36a),!0x1),N(this,_0x52e7ae(0x34e),null),this[_0x52e7ae(0x32b)]((0x0,t[_0x52e7ae(0x2a8)])(this[_0x52e7ae(0x32e)][_0x52e7ae(0x1c3)][_0x52e7ae(0x319)](_0x14a242=>{const _0x557aab=_0x52e7ae;var _0x20295a;((_0x20295a=_0x14a242[_0x557aab(0x1b6)])==null?void 0x0:_0x20295a['code'])===s[_0x557aab(0x25f)]['OK']?this[_0x557aab(0x268)](0x1):this[_0x557aab(0x231)](_0x14a242['error']);})));}[_0x371424(0x220)](){const _0x224538=_0x371424;this[_0x224538(0x33a)](),this['_uploadNotificationService'][_0x224538(0x239)](0x2),this['_exchangeService']['interruptImportTask']();}async[_0x371424(0x310)](_0x24cbd9,_0x4b6979){const _0x39c715=_0x371424;if(this[_0x39c715(0x36a)]||this['_uploadTaskNotDone']()){this[_0x39c715(0x257)][_0x39c715(0x326)]({'type':a['MessageType'][_0x39c715(0x232)],'content':this['_localeService']['t']('exchange-client.uploading')});return;}let _0x43ae78;this[_0x39c715(0x36a)]=!0x0;try{_0x43ae78=await D([_0x24cbd9]);}finally{this[_0x39c715(0x36a)]=!0x1;}if(_0x43ae78&&!this['_fileTypeError'](_0x43ae78,_0x24cbd9))return this[_0x39c715(0x34e)]={'type':_0x24cbd9,'importer':_0x4b6979},this['_importFileToUnitId'](_0x43ae78[0x0],_0x24cbd9,_0x4b6979);}async[_0x371424(0x1d6)](){const _0x4639b6=_0x371424;let _0x562da2=this[_0x4639b6(0x34e)];if(_0x562da2)return this[_0x4639b6(0x310)](_0x562da2['type'],_0x562da2[_0x4639b6(0x2c0)]);}async[_0x371424(0x321)](_0x29b719,_0x447c56){const _0x12cf59=_0x371424;if(this[_0x12cf59(0x1dc)]()){this[_0x12cf59(0x257)][_0x12cf59(0x326)]({'type':a['MessageType']['Warning'],'content':this['_localeService']['t']('exchange-client.uploading')});return;}let _0xbe3f34=await D([_0x29b719]);if(!_0xbe3f34||this[_0x12cf59(0x1eb)](_0xbe3f34,_0x29b719))return;this['_showUploadMessage'](a[_0x12cf59(0x222)]['Info']);let _0x5458c1=await _0x447c56(_0xbe3f34[0x0]);_0x5458c1&&(this[_0x12cf59(0x2a4)](_0x29b719,_0x5458c1),this[_0x12cf59(0x1ea)](a[_0x12cf59(0x222)][_0x12cf59(0x2c3)]));}async['importFileAsSnapshot'](_0x5f0e38,_0x3aa2ff){const _0x1deebd=_0x371424;if(this[_0x1deebd(0x1dc)]()){this[_0x1deebd(0x257)]['show']({'type':a[_0x1deebd(0x222)][_0x1deebd(0x232)],'content':this['_localeService']['t'](_0x1deebd(0x25d))});return;}let _0x5b16dd=await D([_0x5f0e38]);if(!_0x5b16dd||this[_0x1deebd(0x1eb)](_0x5b16dd,_0x5f0e38))return;this[_0x1deebd(0x1ea)](a[_0x1deebd(0x222)][_0x1deebd(0x2b5)]);let _0x227cf0=await _0x3aa2ff(_0x5b16dd[0x0]);if(_0x227cf0)return this['_showUploadMessage'](a['MessageType'][_0x1deebd(0x2c3)]),_0x227cf0;}async['exportFile'](_0x1cabd1,_0x407e19,_0x54a66d){const _0x32f95b=_0x371424;this['_showDownloadMessage'](a[_0x32f95b(0x222)]['Info']);let _0x117dd5=await _0x1cabd1();_0x117dd5&&(this[_0x32f95b(0x32e)][_0x32f95b(0x237)](_0x117dd5,_0x407e19||_0x117dd5[_0x32f95b(0x1ad)]['split']('.')[_0x32f95b(0x200)]()||document[_0x32f95b(0x1aa)],_0x54a66d),this[_0x32f95b(0x1da)](a['MessageType'][_0x32f95b(0x2c3)]));}[_0x371424(0x21c)](_0x2e60da){const _0x277396=_0x371424;this[_0x277396(0x2ac)]=_0x2e60da;}async[_0x371424(0x337)](_0x353ab6,_0x153419,_0x6586f){const _0x53e161=_0x371424;this[_0x53e161(0x1e0)]['show'](),this[_0x53e161(0x1e0)]['updateState'](0x0),this[_0x53e161(0x1df)](0x4),this[_0x53e161(0x268)](0x1);let _0x3adeb7=await _0x6586f(_0x353ab6);if(!_0x3adeb7){this[_0x53e161(0x33a)](),this[_0x53e161(0x1e0)][_0x53e161(0x239)](0x2);return;}let _0x22cc6e={'link':this[_0x53e161(0x2ac)](_0x3adeb7,_0x153419),'name':_0x353ab6[_0x53e161(0x1ad)],'type':_0x153419};return this['_uploadNotificationService'][_0x53e161(0x2f4)](_0x22cc6e),this[_0x53e161(0x308)](),this['_uploadNotificationService'][_0x53e161(0x239)](0x1),_0x3adeb7;}[_0x371424(0x2a4)](_0x4719b9,_0x5cef3d){const _0x2457a1=_0x371424;let _0x347427=this['_univerInstanceService'][_0x2457a1(0x21e)](_0x4719b9);if(!_0x347427)throw Error(_0x2457a1(0x2ad)+_0x4719b9+_0x2457a1(0x227));this['_univerInstanceService'][_0x2457a1(0x270)](_0x347427[_0x2457a1(0x1fe)]());let _0x128a1b=this[_0x2457a1(0x33e)][_0x2457a1(0x32d)](_0x4719b9,_0x5cef3d);this[_0x2457a1(0x33e)][_0x2457a1(0x1d7)](_0x128a1b[_0x2457a1(0x1fe)]());}['_getLinkByUnitId'](_0x5970d5,_0x46c58d){const _0x5a00fe=_0x371424;let _0x1a7b1a=new URL(window['location'][_0x5a00fe(0x318)]);return _0x1a7b1a['searchParams']['set'](_0x5a00fe(0x1fb),_0x5970d5),_0x1a7b1a[_0x5a00fe(0x258)]['set'](_0x5a00fe(0x1f9),''+_0x46c58d),_0x1a7b1a[_0x5a00fe(0x228)]();}['_showNetworkError'](_0x49df52){const _0x3d9330=_0x371424;if(_0x49df52){let {code:_0x4aeda3}=_0x49df52;switch(_0x4aeda3){case s['ErrorCode'][_0x3d9330(0x2f8)]:this[_0x3d9330(0x257)][_0x3d9330(0x326)]({'type':a[_0x3d9330(0x222)][_0x3d9330(0x2fd)],'content':this[_0x3d9330(0x234)]['t'](_0x3d9330(0x26a))});break;case s[_0x3d9330(0x25f)][_0x3d9330(0x350)]:this[_0x3d9330(0x257)][_0x3d9330(0x326)]({'type':a['MessageType'][_0x3d9330(0x2fd)],'content':this[_0x3d9330(0x234)]['t'](_0x3d9330(0x1dd))});break;default:this[_0x3d9330(0x257)][_0x3d9330(0x326)]({'type':a[_0x3d9330(0x222)][_0x3d9330(0x2fd)],'content':this['_localeService']['t'](_0x3d9330(0x204))});}return null;}return this[_0x3d9330(0x257)][_0x3d9330(0x326)]({'type':a[_0x3d9330(0x222)][_0x3d9330(0x2fd)],'content':this[_0x3d9330(0x234)]['t'](_0x3d9330(0x204))}),null;}[_0x371424(0x1da)](_0x149426){const _0xadb4c8=_0x371424;let _0x57420b='';switch(_0x149426){case a[_0xadb4c8(0x222)]['Success']:_0x57420b=this[_0xadb4c8(0x234)]['t'](_0xadb4c8(0x29d));break;case a['MessageType'][_0xadb4c8(0x2b5)]:_0x57420b=this[_0xadb4c8(0x234)]['t'](_0xadb4c8(0x309));}this[_0xadb4c8(0x257)][_0xadb4c8(0x326)]({'type':_0x149426,'content':_0x57420b});}[_0x371424(0x1ea)](_0x4e3730){const _0x52874f=_0x371424;let _0x17923f='';switch(_0x4e3730){case a[_0x52874f(0x222)]['Success']:_0x17923f=this[_0x52874f(0x234)]['t'](_0x52874f(0x230));break;case a[_0x52874f(0x222)][_0x52874f(0x2b5)]:_0x17923f=this[_0x52874f(0x234)]['t'](_0x52874f(0x25d));}this[_0x52874f(0x257)][_0x52874f(0x326)]({'type':_0x4e3730,'content':_0x17923f});}[_0x371424(0x2a5)](){const _0x28c760=_0x371424;this[_0x28c760(0x1fa)][_0x28c760(0x346)]({'done':this[_0x28c760(0x2ba)],'count':this['_totalUploadTaskCount']});}[_0x371424(0x1df)](_0x373225){const _0x8c91ea=_0x371424;this['_totalUploadTaskCount']+=_0x373225,this[_0x8c91ea(0x2a5)]();}[_0x371424(0x268)](_0x3df31a){const _0x59b1b3=_0x371424;this[_0x59b1b3(0x2ba)]+=_0x3df31a,this[_0x59b1b3(0x2ba)]=Math[_0x59b1b3(0x1e4)](this[_0x59b1b3(0x2ba)],this[_0x59b1b3(0x1bc)]),this[_0x59b1b3(0x2a5)]();}[_0x371424(0x308)](){const _0x4bb3b1=_0x371424;this[_0x4bb3b1(0x2ba)]=this[_0x4bb3b1(0x1bc)],this['_emitProgress']();}[_0x371424(0x33a)](){const _0x558fdf=_0x371424;this[_0x558fdf(0x2ba)]=0x0,this[_0x558fdf(0x1bc)]=0x0,this[_0x558fdf(0x2a5)]();}[_0x371424(0x1eb)](_0x24e9a2,_0x678e1d){const _0x312c7a=_0x371424;let _0x4bf9d2=_0x24e9a2[0x0],_0x116173=_0x4bf9d2[_0x312c7a(0x1ad)];return!ne(_0x4bf9d2,_0x678e1d)&&(this[_0x312c7a(0x257)][_0x312c7a(0x326)]({'type':a[_0x312c7a(0x222)]['Error'],'content':this[_0x312c7a(0x234)]['t']('exchange-client.fileTypeError',_0x116173)}),!0x0);}[_0x371424(0x1dc)](){const _0x3c5b41=_0x371424;return this['_totalUploadTaskCount']!==0x0&&this[_0x3c5b41(0x2ba)]!==this[_0x3c5b41(0x1bc)];}};G=F([P(0x0,(0x0,t[_0x371424(0x1b5)])(t[_0x371424(0x340)])),P(0x1,r[_0x371424(0x359)]),P(0x2,(0x0,t['Inject'])(t['LocaleService'])),P(0x3,(0x0,t[_0x371424(0x1b5)])(B)),P(0x4,(0x0,t[_0x371424(0x1b5)])(H)),P(0x5,t[_0x371424(0x2ec)])],G);const ve={0x1:(0x0,c[_0x371424(0x2e1)])(i[_0x371424(0x253)],{'className':_0x371424(0x31e)}),0x0:(0x0,c[_0x371424(0x2e1)])(i['ClockIcon'],{'className':'univer-text-blue-500'}),0x2:(0x0,c['jsx'])(i[_0x371424(0x1f7)],{'className':_0x371424(0x262)})};function ye(){const _0x578a95=_0x371424;let _0x3e1533=(0x0,r[_0x578a95(0x2b6)])(H),_0xca5aa3=(0x0,r['useDependency'])(t['LocaleService']),_0x32f181=(0x0,r[_0x578a95(0x2b6)])(W),_0x3d849c=(0x0,r[_0x578a95(0x2c2)])(_0x3e1533[_0x578a95(0x2b7)],!0x1),_0x4cef40=(0x0,r[_0x578a95(0x2c2)])(_0x3e1533[_0x578a95(0x2fa)],0x0),_0x22b02b=(0x0,r['useObservable'])(_0x3e1533['list$'],[]),_0x26d2e1=(0x0,r[_0x578a95(0x2c2)])(_0x32f181[_0x578a95(0x35e)],{'done':0x0,'count':0x0});if(!_0x3d849c)return null;function _0x270dc7(_0x47d6c7){const _0xcfb04f=_0x578a95;switch(_0x47d6c7){case t[_0xcfb04f(0x34a)][_0xcfb04f(0x229)]:return(0x0,c[_0xcfb04f(0x2e1)])(i[_0xcfb04f(0x1f6)],{});case t['UniverInstanceType'][_0xcfb04f(0x30b)]:case t[_0xcfb04f(0x34a)][_0xcfb04f(0x213)]:return(0x0,c[_0xcfb04f(0x2e1)])(i[_0xcfb04f(0x352)],{});case t[_0xcfb04f(0x34a)]['UNIVER_SLIDE']:return(0x0,c[_0xcfb04f(0x2e1)])(i[_0xcfb04f(0x219)],{});default:return null;}}function _0x5f06ce(){const _0x1b3c4d=_0x578a95;switch(_0x4cef40){case 0x1:return _0xca5aa3['t'](_0x1b3c4d(0x230));case 0x2:return _0xca5aa3['t'](_0x1b3c4d(0x31a));default:return _0xca5aa3['t'](_0x1b3c4d(0x25d));}}let _0x3d38b5=_0x26d2e1[_0x578a95(0x273)]>0x0?Math[_0x578a95(0x24c)](_0x26d2e1['done']/_0x26d2e1[_0x578a95(0x273)]*0x64):0x0;return(0x0,c[_0x578a95(0x315)])('section',{'data-u-comp':'mobile-upload-notification','className':_0x578a95(0x2ef),'children':[(0x0,c[_0x578a95(0x315)])(_0x578a95(0x1ff),{'className':_0x578a95(0x1d2),'children':[(0x0,c[_0x578a95(0x315)])(_0x578a95(0x297),{'className':_0x578a95(0x34c),'children':[(0x0,c[_0x578a95(0x2e1)])(_0x578a95(0x297),{'className':_0x578a95(0x23f),'children':ve[_0x4cef40]}),(0x0,c[_0x578a95(0x2e1)])(_0x578a95(0x297),{'className':'univer-truncate','children':_0x5f06ce()})]}),(0x0,c[_0x578a95(0x2e1)])(a['Button'],{'size':'icon','variant':'text','aria-label':_0xca5aa3['t']('exchange-client.cancel'),'onClick':()=>_0x3e1533[_0x578a95(0x1f3)](),'children':(0x0,c['jsx'])(i[_0x578a95(0x1c6)],{})})]}),_0x4cef40===0x0&&(0x0,c[_0x578a95(0x315)])(_0x578a95(0x306),{'className':'univer-grid\x20univer-gap-3','children':[(0x0,c['jsx'])(_0x578a95(0x297),{'className':_0x578a95(0x296),'children':_0xca5aa3['t'](_0x578a95(0x31f))}),(0x0,c[_0x578a95(0x2e1)])('div',{'className':'univer-h-1.5\x20univer-w-full\x20univer-overflow-hidden\x20univer-rounded-lg\x20univer-bg-gray-200','children':(0x0,c[_0x578a95(0x2e1)])(_0x578a95(0x306),{'className':_0x578a95(0x317),'style':{'width':_0x3d38b5+'%'}})}),(0x0,c[_0x578a95(0x2e1)])(a[_0x578a95(0x210)],{'variant':_0x578a95(0x206),'onClick':()=>_0x32f181[_0x578a95(0x220)](),'children':_0xca5aa3['t'](_0x578a95(0x356))})]}),_0x4cef40===0x2&&(0x0,c[_0x578a95(0x315)])('div',{'className':'univer-grid\x20univer-gap-2','children':[(0x0,c[_0x578a95(0x2e1)])(_0x578a95(0x297),{'className':_0x578a95(0x296),'children':_0xca5aa3['t'](_0x578a95(0x2b2))}),(0x0,c[_0x578a95(0x2e1)])(a[_0x578a95(0x210)],{'variant':_0x578a95(0x206),'onClick':()=>_0x32f181[_0x578a95(0x1d6)](),'children':_0xca5aa3['t']('exchange-client.uploadAgain')})]}),_0x22b02b[_0x578a95(0x2b3)]>0x0&&(0x0,c[_0x578a95(0x2e1)])('ul',{'className':_0x578a95(0x283),'children':_0x22b02b[_0x578a95(0x354)](_0x132984=>(0x0,c[_0x578a95(0x2e1)])('li',{'children':(0x0,c[_0x578a95(0x315)])('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':_0x132984[_0x578a95(0x21d)],'target':'_blank','rel':_0x578a95(0x33f),'children':[(0x0,c[_0x578a95(0x2e1)])(_0x578a95(0x297),{'className':_0x578a95(0x348),'children':_0x270dc7(_0x132984[_0x578a95(0x1f9)])}),(0x0,c[_0x578a95(0x2e1)])(_0x578a95(0x297),{'className':'univer-min-w-0\x20univer-flex-1\x20univer-truncate\x20univer-text-sm','children':_0x132984['name']}),(0x0,c[_0x578a95(0x2e1)])(i[_0x578a95(0x1e8)],{'className':_0x578a95(0x1ab)})]})},_0x132984[_0x578a95(0x21d)]))}),_0x4cef40===0x1&&(0x0,c[_0x578a95(0x315)])(_0x578a95(0x306),{'className':_0x578a95(0x1d2),'children':[(0x0,c['jsx'])(_0x578a95(0x297),{'className':_0x578a95(0x223),'children':_0xca5aa3['t'](_0x578a95(0x1ae),''+_0x22b02b[_0x578a95(0x2b3)])}),(0x0,c[_0x578a95(0x2e1)])(a['Button'],{'variant':_0x578a95(0x206),'onClick':()=>_0x32f181[_0x578a95(0x1d6)](),'children':_0xca5aa3['t'](_0x578a95(0x336))})]})]});}let K=class extends t[_0x371424(0x1f2)]{constructor(_0x182814,_0x9b3f16){const _0x3472b4=_0x371424;super(),this['_injector']=_0x182814,this[_0x3472b4(0x1f5)]=_0x9b3f16,this['disposeWithMe'](this[_0x3472b4(0x1f5)][_0x3472b4(0x1e9)](r[_0x3472b4(0x29c)][_0x3472b4(0x225)],()=>(0x0,r[_0x3472b4(0x320)])(ye,this[_0x3472b4(0x274)])));}};K=F([P(0x0,(0x0,t[_0x371424(0x1b5)])(t['Injector'])),P(0x1,r[_0x371424(0x1db)])],K);let q=class extends t[_0x371424(0x22a)]{constructor(_0x2b35e6=h,_0x5651d2,_0x3773c4){const _0x4192ea=_0x371424;super(),this[_0x4192ea(0x290)]=_0x2b35e6,this[_0x4192ea(0x274)]=_0x5651d2,this['_configService']=_0x3773c4;let {..._0x67042b}=(0x0,t[_0x4192ea(0x344)])({},h,this[_0x4192ea(0x290)]);this[_0x4192ea(0x1cb)]['setConfig'](m,_0x67042b);}[_0x371424(0x2be)](){const _0x51cc58=_0x371424;(0x0,t['registerDependencies'])(this[_0x51cc58(0x274)],[[z],[K],[W,{'useClass':G}],[B,{'useClass':V}],[I,{'useClass':L}],[H,{'useClass':U}]]);}[_0x371424(0x33b)](){const _0x6082c0=_0x371424;(0x0,t['touchDependencies'])(this[_0x6082c0(0x274)],[[z],[K],[W]]);}};N(q,_0x371424(0x30e),_0x371424(0x2de)),N(q,_0x371424(0x292),f),N(q,_0x371424(0x20b),p),q=F([(0x0,t[_0x371424(0x27a)])(e[_0x371424(0x342)],n[_0x371424(0x36b)],r[_0x371424(0x2f2)]),P(0x1,(0x0,t[_0x371424(0x1b5)])(t[_0x371424(0x21b)])),P(0x2,t[_0x371424(0x2a9)])],q);let J=class extends t[_0x371424(0x1f2)]{constructor(_0x483895,_0x7789de){const _0x467a3d=_0x371424;super(),this[_0x467a3d(0x1cd)]=_0x483895,this[_0x467a3d(0x1e5)]=_0x7789de,this['_registerIcons'](),this[_0x467a3d(0x271)]();}[_0x371424(0x2ca)](){const _0x48bef2=_0x371424;this[_0x48bef2(0x32b)](this[_0x48bef2(0x1cd)][_0x48bef2(0x1de)]({'DirectExportIcon':i['DirectExportIcon'],'ExportIcon':i['ExportIcon'],'FolderIcon':i[_0x48bef2(0x24d)]}));}[_0x371424(0x271)](){const _0x1f456e=_0x371424;this[_0x1f456e(0x32b)](this[_0x1f456e(0x1e5)]['register'](R,he));}};J=F([P(0x0,(0x0,t['Inject'])(r['IconManager'])),P(0x1,(0x0,t[_0x371424(0x1b5)])(r[_0x371424(0x26b)]))],J);function be(_0x5b00e8){const _0x229989=_0x371424;let {list:_0x384324}=_0x5b00e8;function _0x3d75ad(_0x35b0ed){const _0x4ce603=_0xd5ee;switch(_0x35b0ed){case t[_0x4ce603(0x34a)][_0x4ce603(0x229)]:return(0x0,c[_0x4ce603(0x2e1)])(i[_0x4ce603(0x1f6)],{});case t['UniverInstanceType']['UNIVER_SHEET']:case t[_0x4ce603(0x34a)]['UNIVER_BASE']:return(0x0,c['jsx'])(i[_0x4ce603(0x352)],{});case t['UniverInstanceType'][_0x4ce603(0x2d8)]:return(0x0,c['jsx'])(i[_0x4ce603(0x219)],{});default:return null;}}return(0x0,c[_0x229989(0x2e1)])('div',{'className':(0x0,a['clsx'])(_0x229989(0x22c),a[_0x229989(0x1c8)]),'children':(0x0,c[_0x229989(0x2e1)])('ul',{'className':_0x229989(0x33c),'children':_0x384324['map']((_0x15c4b3,_0x29b7ca)=>(0x0,c['jsx'])('li',{'children':(0x0,c[_0x229989(0x315)])('a',{'className':_0x229989(0x341),'href':_0x15c4b3[_0x229989(0x21d)],'target':_0x229989(0x2dc),'rel':_0x229989(0x33f),'children':[(0x0,c[_0x229989(0x315)])('span',{'className':_0x229989(0x304),'children':[(0x0,c[_0x229989(0x2e1)])(_0x229989(0x297),{'className':_0x229989(0x1cf),'children':_0x3d75ad(_0x15c4b3[_0x229989(0x1f9)])}),(0x0,c[_0x229989(0x2e1)])(a[_0x229989(0x20a)],{'showIfEllipsis':!0x0,'title':_0x15c4b3[_0x229989(0x1ad)],'asChild':!0x0,'children':(0x0,c[_0x229989(0x2e1)])('span',{'className':'univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-gray-0','children':_0x15c4b3['name']})})]}),(0x0,c['jsx'])('span',{'className':_0x229989(0x2e3),'children':(0x0,c[_0x229989(0x2e1)])(i[_0x229989(0x1e8)],{})})]})},_0x29b7ca))})});}function Y(_0xd9a6f2){const _0x4be661=_0x371424;let {onClick:_0x2a2cdd,children:_0x3c49ba,className:_0x124f67}=_0xd9a6f2;return(0x0,c['jsx'])(a[_0x4be661(0x210)],{'size':_0x4be661(0x284),'variant':_0x4be661(0x206),'className':(0x0,a['clsx'])(_0x4be661(0x27c),_0x124f67),'type':'button','onClick':_0x2a2cdd,'children':_0x3c49ba});}function X(){const _0x5198b4=_0x371424;let _0x4f30aa=(0x0,r['useDependency'])(W),_0x5d0b96=(0x0,r['useDependency'])(t[_0x5198b4(0x2bd)]);function _0x1c88f4(){const _0x59dfc6=_0x5198b4;return _0x4f30aa[_0x59dfc6(0x1d6)]();}return(0x0,c[_0x5198b4(0x2e1)])(Y,{'onClick':_0x1c88f4,'children':_0x5d0b96['t'](_0x5198b4(0x336))});}function xe(){const _0xe3ae06=_0x371424;let _0x5dd7d1=(0x0,r['useDependency'])(t[_0xe3ae06(0x2bd)]);return(0x0,c[_0xe3ae06(0x315)])(_0xe3ae06(0x306),{'className':_0xe3ae06(0x28d),'children':[(0x0,c[_0xe3ae06(0x2e1)])(_0xe3ae06(0x297),{'className':_0xe3ae06(0x34d),'children':_0x5dd7d1['t'](_0xe3ae06(0x2b2))}),(0x0,c['jsx'])(X,{})]});}function Se(_0x3074f0){const _0x542bb4=_0x371424;let {count:_0x19b293}=_0x3074f0,_0x53a3f8=(0x0,r[_0x542bb4(0x2b6)])(t[_0x542bb4(0x2bd)]);return(0x0,c['jsxs'])(_0x542bb4(0x306),{'className':_0x542bb4(0x2b8),'children':[(0x0,c[_0x542bb4(0x2e1)])('span',{'className':_0x542bb4(0x223),'children':_0x53a3f8['t']('exchange-client.uploadSuccessTip',''+_0x19b293)}),(0x0,c[_0x542bb4(0x2e1)])(X,{})]});}function _0xd5ee(_0x3e5c2e,_0x51b211){_0x3e5c2e=_0x3e5c2e-0x1aa;const _0x22a6f3=_0x22a6();let _0xd5ee80=_0x22a6f3[_0x3e5c2e];return _0xd5ee80;}function Ce(){const _0x42b170=_0x371424;let _0x14aaf4=(0x0,r[_0x42b170(0x2b6)])(W),_0x5186a8=(0x0,r[_0x42b170(0x2b6)])(t[_0x42b170(0x2bd)]);function _0x5d8d86(){const _0x5e233b=_0x42b170;_0x14aaf4[_0x5e233b(0x220)]();}return(0x0,c[_0x42b170(0x2e1)])(Y,{'onClick':_0x5d8d86,'children':_0x5186a8['t'](_0x42b170(0x356))});}function we(){const _0xa4b1a9=_0x371424;let _0x46b5f1=(0x0,r[_0xa4b1a9(0x2b6)])(W),{count:_0x390f2b,done:_0x3f60a0}=(0x0,r[_0xa4b1a9(0x2c2)])(_0x46b5f1[_0xa4b1a9(0x35e)]),_0x43a839=_0x390f2b>0x0?_0x3f60a0/_0x390f2b:0x0;return(0x0,c[_0xa4b1a9(0x2e1)])(_0xa4b1a9(0x306),{'className':'univer-mx-0\x20univer-mb-3\x20univer-mt-4\x20univer-h-1.5\x20univer-w-[324px]\x20univer-rounded-lg\x20univer-bg-gray-200','children':(0x0,c['jsx'])(_0xa4b1a9(0x306),{'className':_0xa4b1a9(0x2e7),'style':{'width':Math[_0xa4b1a9(0x24c)](_0x43a839*0x64)+'%'}})});}function Te(){const _0x16832e=_0x371424;let _0x37c1f9=(0x0,r[_0x16832e(0x2b6)])(t[_0x16832e(0x2bd)]);return(0x0,c[_0x16832e(0x315)])('div',{'className':'univer-mt-5\x20univer-flex\x20univer-flex-col','children':[(0x0,c[_0x16832e(0x2e1)])('span',{'className':_0x16832e(0x313),'children':_0x37c1f9['t'](_0x16832e(0x31f))}),(0x0,c['jsx'])(_0x16832e(0x306),{'className':'univer-pl-2\x20univer-pr-4','children':(0x0,c[_0x16832e(0x2e1)])(we,{})}),(0x0,c[_0x16832e(0x2e1)])(Ce,{})]});}const Z={0x1:(0x0,c[_0x371424(0x2e1)])(i[_0x371424(0x253)],{'className':'univer-text-green-500'}),0x0:(0x0,c[_0x371424(0x2e1)])(i[_0x371424(0x327)],{'className':_0x371424(0x248)}),0x2:(0x0,c['jsx'])(i['ErrorIcon'],{'className':'univer-text-red-500'})};function Ee(){const _0xca949a=_0x371424;let _0x366c7c=(0x0,r[_0xca949a(0x2b6)])(H),_0x3810bf=(0x0,r['useDependency'])(t[_0xca949a(0x2bd)]),_0xced628=(0x0,r['useObservable'])(_0x366c7c['state$'],0x0),_0x5494e2=(0x0,r[_0xca949a(0x2c2)])(_0x366c7c[_0xca949a(0x2b7)],!0x1),_0x3d0ce8=(0x0,r[_0xca949a(0x2c2)])(_0x366c7c[_0xca949a(0x23a)],[]);function _0x48ab0a(){const _0x3684d2=_0xca949a;_0x366c7c[_0x3684d2(0x1f3)]();}function _0x4356d9(_0x4228da){const _0x44e254=_0xca949a;switch(_0x4228da){case 0x1:return _0x3810bf['t'](_0x44e254(0x230));case 0x0:return _0x3810bf['t'](_0x44e254(0x25d));case 0x2:return _0x3810bf['t'](_0x44e254(0x31a));default:return'';}}return _0x5494e2&&(0x0,c['jsxs'])(_0xca949a(0x306),{'className':_0xca949a(0x29b),'children':[(0x0,c[_0xca949a(0x315)])('div',{'className':_0xca949a(0x29e),'children':[(0x0,c['jsxs'])(_0xca949a(0x297),{'className':_0xca949a(0x368),'children':[(0x0,c['jsx'])(_0xca949a(0x297),{'className':_0xca949a(0x276),'children':Z[_0xced628]}),(0x0,c[_0xca949a(0x2e1)])(_0xca949a(0x297),{'className':'univer-ml-1.5\x20univer-font-semibold\x20univer-text-gray-900\x20dark:!univer-text-gray-0','children':_0x4356d9(_0xced628)})]}),(0x0,c[_0xca949a(0x2e1)])(_0xca949a(0x297),{'className':_0xca949a(0x311),'onClick':_0x48ab0a,'children':(0x0,c[_0xca949a(0x2e1)])(i[_0xca949a(0x1c6)],{})})]}),(0x0,c[_0xca949a(0x315)])(_0xca949a(0x306),{'children':[_0xced628===0x0&&(0x0,c[_0xca949a(0x2e1)])(Te,{}),_0xced628===0x2&&(0x0,c[_0xca949a(0x2e1)])(xe,{}),_0x3d0ce8[_0xca949a(0x2b3)]>0x0&&(0x0,c[_0xca949a(0x2e1)])(be,{'list':_0x3d0ce8}),_0xced628===0x1&&(0x0,c[_0xca949a(0x2e1)])(Se,{'count':_0x3d0ce8[_0xca949a(0x2b3)]})]})]});}let Q=class extends t[_0x371424(0x1f2)]{constructor(_0x58fc21,_0x297100){const _0x44f7b0=_0x371424;super(),this[_0x44f7b0(0x274)]=_0x58fc21,this[_0x44f7b0(0x1f5)]=_0x297100,this['_registerUIParts']();}[_0x371424(0x2d6)](){const _0x39d379=_0x371424;this[_0x39d379(0x32b)](this[_0x39d379(0x1f5)][_0x39d379(0x1e9)](r['BuiltInUIPart'][_0x39d379(0x225)],()=>(0x0,r[_0x39d379(0x320)])(Ee,this[_0x39d379(0x274)])));}};Q=F([P(0x0,(0x0,t[_0x371424(0x1b5)])(t[_0x371424(0x21b)])),P(0x1,r['IUIPartsService'])],Q);let $=class extends t[_0x371424(0x22a)]{constructor(_0x166f9e=h,_0x4aec68,_0x369011){const _0x528be7=_0x371424;super(),this[_0x528be7(0x290)]=_0x166f9e,this[_0x528be7(0x274)]=_0x4aec68,this[_0x528be7(0x1cb)]=_0x369011;let {..._0x5918b2}=(0x0,t[_0x528be7(0x344)])({},h,this[_0x528be7(0x290)]);this[_0x528be7(0x1cb)]['setConfig'](m,_0x5918b2);}[_0x371424(0x2be)](){const _0x478f3d=_0x371424;(0x0,t['registerDependencies'])(this[_0x478f3d(0x274)],[[J],[Q],[W,{'useClass':G}],[B,{'useClass':V}],[I,{'useClass':L}],[H,{'useClass':U}]]);}['onReady'](){const _0x16ea16=_0x371424;(0x0,t[_0x16ea16(0x26c)])(this[_0x16ea16(0x274)],[[J],[Q],[W]]);}};N($,'pluginName',_0x371424(0x2de)),N($,_0x371424(0x292),f),N($,_0x371424(0x20b),p),$=F([(0x0,t[_0x371424(0x27a)])(e[_0x371424(0x342)],n[_0x371424(0x36b)]),P(0x1,(0x0,t[_0x371424(0x1b5)])(t[_0x371424(0x21b)])),P(0x2,t[_0x371424(0x2a9)])],$);function De(_0x52b4f6,_0x4b9bc7){const _0x2547f3=_0x371424;let _0x2d6c1a=_0x52b4f6['get'](t[_0x2547f3(0x340)])['getCurrentUnitOfType'](_0x4b9bc7);return!_0x2d6c1a||!_0x52b4f6[_0x2547f3(0x331)](u['SnapshotService'])||!_0x52b4f6['has'](u['ISnapshotServerService'])?!0x1:_0x52b4f6[_0x2547f3(0x1ba)](u[_0x2547f3(0x2d3)])[_0x2547f3(0x1c0)](_0x2d6c1a);}function Oe(_0x1b1303){const _0x5c314b=_0x371424;let _0x22652c=_0x1b1303[_0x5c314b(0x1d8)];if(!_0x22652c)return null;let _0x20c8b1={};_0x22652c[_0x5c314b(0x221)]&&Object['keys'](_0x22652c[_0x5c314b(0x221)])[_0x5c314b(0x2e4)](_0x2c91e6=>{const _0x144070=_0x5c314b;let _0x28ef18=_0x22652c[_0x144070(0x221)][_0x2c91e6];_0x20c8b1[_0x2c91e6]={..._0x28ef18,'originalMeta':(0x0,u[_0x144070(0x1c7)])(u[_0x144070(0x2a2)][_0x144070(0x1c5)](_0x28ef18['originalMeta']))};});let _0x363d1f=(0x0,u[_0x5c314b(0x1c7)])(u[_0x5c314b(0x2a2)][_0x5c314b(0x1c5)](_0x22652c[_0x5c314b(0x1d1)]));return{..._0x1b1303,'workbook':{..._0x22652c,'originalMeta':_0x363d1f,'sheets':_0x20c8b1},'doc':{},'slide':void 0x0,'board':void 0x0,'pdf':void 0x0};}function ke(_0x36f544){let _0x493194={};return _0x36f544['forEach'](_0x4c3de3=>{const _0x57919b=_0xd5ee;_0x493194[_0x4c3de3['id']]={..._0x4c3de3,'data':(0x0,u[_0x57919b(0x1c7)])(u[_0x57919b(0x2a2)][_0x57919b(0x1c5)](_0x4c3de3[_0x57919b(0x286)]))};}),_0x493194;}var Ae=class{constructor(){const _0x433689=_0x371424;N(this,_0x433689(0x2b1),new Map());}[_0x371424(0x26f)](){const _0xa0bb68=_0x371424;return Promise[_0xa0bb68(0x2f0)]({'snapshot':{'unitID':'','type':t[_0xa0bb68(0x34a)][_0xa0bb68(0x30b)],'rev':0x0,'workbook':void 0x0,'doc':void 0x0,'slide':void 0x0,'board':void 0x0},'changesets':[],'error':{'code':s[_0xa0bb68(0x25f)]['OK'],'message':''}});}['getSheetBlock'](_0x14cb80,_0x2ef9e8){const _0x1cfefa=_0x371424;let _0x57ba50=this['_sheetBlockCache'][_0x1cfefa(0x1ba)](_0x2ef9e8[_0x1cfefa(0x1be)]);return Promise[_0x1cfefa(0x2f0)]({'block':_0x57ba50,'error':{'code':s[_0x1cfefa(0x25f)]['OK'],'message':''}});}[_0x371424(0x299)](_0x126cf0,_0x278bbd){const _0x1f5e6f=_0x371424;let _0x54696e=this['_sheetBlockCache']['get'](_0x278bbd[_0x1f5e6f(0x1be)]);return Promise[_0x1f5e6f(0x2f0)]({'block':_0x54696e===void 0x0?void 0x0:{..._0x54696e,'data':JSON[_0x1f5e6f(0x2a6)](u[_0x1f5e6f(0x2a2)][_0x1f5e6f(0x1c5)](_0x54696e[_0x1f5e6f(0x286)]))},'error':{'code':s['ErrorCode']['OK'],'message':''}});}[_0x371424(0x1b1)](){return Promise['resolve']({'changesets':[],'error':{'code':s['ErrorCode']['OK'],'message':''}});}[_0x371424(0x333)](){const _0x2aebd8=_0x371424;return Promise['resolve']({'resources':{},'error':{'code':s[_0x2aebd8(0x25f)]['OK'],'message':''}});}[_0x371424(0x27b)](){const _0x40924c=_0x371424;return Promise[_0x40924c(0x2f0)]({'error':{'code':s[_0x40924c(0x25f)]['OK'],'message':''}});}['updateSnapshot'](){const _0x2e9c36=_0x371424;return Promise[_0x2e9c36(0x2f0)]({'error':{'code':s[_0x2e9c36(0x25f)]['OK'],'message':''}});}[_0x371424(0x285)](_0x1062a5,_0x187722){const _0x178d0a=_0x371424;let {block:_0x55e1de}=_0x187722;return _0x55e1de?(this['_sheetBlockCache'][_0x178d0a(0x334)](_0x55e1de['id'],_0x55e1de),Promise[_0x178d0a(0x2f0)]({'error':{'code':s[_0x178d0a(0x25f)]['OK'],'message':''},'blockID':_0x55e1de['id']})):Promise[_0x178d0a(0x2f0)]({'error':{'code':s[_0x178d0a(0x25f)][_0x178d0a(0x1b9)],'message':'block\x20is\x20required'},'blockID':''});}[_0x371424(0x27e)](){const _0x2c6210=_0x371424;return Promise[_0x2c6210(0x2f0)]({'error':{'code':s[_0x2c6210(0x25f)]['OK'],'message':''},'concurrent':[]});}[_0x371424(0x1ec)](){const _0x4dd86a=_0x371424;return Promise[_0x4dd86a(0x2f0)]({'error':void 0x0,'fileMetaId':''});}[_0x371424(0x29a)](){const _0x59d7ad=_0x371424;return Promise[_0x59d7ad(0x2f0)]({'error':void 0x0,'latestReqID':0x0});}};exports[_0x371424(0x325)]=Ae,exports[_0x371424(0x29f)]=R,exports[_0x371424(0x2c1)]=me,exports[_0x371424(0x1bd)]=pe,exports[_0x371424(0x267)]=fe,exports[_0x371424(0x2fc)]=de,exports['ExchangeFormat']=ue,exports[_0x371424(0x2d9)]=W,exports[_0x371424(0x2bf)]=B,exports[_0x371424(0x365)]=le,Object['defineProperty'](exports,_0x371424(0x2d1),{'enumerable':!0x0,'get':function(){return q;}}),Object[_0x371424(0x23e)](exports,_0x371424(0x256),{'enumerable':!0x0,'get':function(){return $;}}),exports[_0x371424(0x300)]=De,exports[_0x371424(0x2bc)]=ke,exports[_0x371424(0x255)]=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 _0x22906b=_0x499d;function _0x499d(_0x5124db,_0x223abe){_0x5124db=_0x5124db-0x1e5;var _0x3e5454=_0x3e54();var _0x499de1=_0x3e5454[_0x5124db];return _0x499de1;}(function(_0x3929ac,_0x548fce){var _0x2ab984=_0x499d,_0x195086=_0x3929ac();while(!![]){try{var _0x49be0c=parseInt(_0x2ab984(0x1e9))/0x1+-parseInt(_0x2ab984(0x1e8))/0x2*(-parseInt(_0x2ab984(0x1eb))/0x3)+parseInt(_0x2ab984(0x1f2))/0x4*(-parseInt(_0x2ab984(0x1ea))/0x5)+parseInt(_0x2ab984(0x1ec))/0x6+parseInt(_0x2ab984(0x1e6))/0x7*(-parseInt(_0x2ab984(0x1f0))/0x8)+parseInt(_0x2ab984(0x1ee))/0x9+-parseInt(_0x2ab984(0x1ed))/0xa*(parseInt(_0x2ab984(0x1e7))/0xb);if(_0x49be0c===_0x548fce)break;else _0x195086['push'](_0x195086['shift']());}catch(_0x1a6632){_0x195086['push'](_0x195086['shift']());}}}(_0x3e54,0xc3fae));import{IExchangeService as _0x1559fd}from'@univerjs-pro/exchange-client';import{FUniver as _0x5b9cd6}from'@univerjs/core/facade';var n=class extends _0x5b9cd6{['downloadFile'](_0x259205,_0x6d6686,_0x572c18){var _0xb29d10=_0x499d;this[_0xb29d10(0x1e5)]['get'](_0x1559fd)[_0xb29d10(0x1f1)](_0x259205,_0x6d6686,_0x572c18);}};_0x5b9cd6[_0x22906b(0x1ef)](n);export{};function _0x3e54(){var _0x509a5d=['7ORWkXL','4373985BwOtpg','2787028KmOHPj','27977IvTzdq','3340vSWgtk','3uMLUnP','1381938JqUZoW','10SAHzCO','10321272AFsJyy','extend','5021192nBVmrI','downloadFile','5812LZwshq','_injector'];_0x3e54=function(){return _0x509a5d;};return _0x3e54();}
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();}