@univerjs-pro/exchange-client 1.0.0-alpha.1 → 1.0.0-alpha.3
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.
- package/README.md +9 -2
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/index.d.ts +4 -10
- package/lib/types/services/exchange.service.d.ts +8 -1
- package/lib/types/services/utils/content-type.d.ts +2 -9
- package/lib/types/services/utils/snapshot.d.ts +2 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +12 -12
package/README.md
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
# @univerjs-pro/exchange-client
|
|
2
2
|
|
|
3
3
|
[](https://npmjs.com/package/@univerjs-pro/exchange-client)
|
|
4
|
+
[](https://npmjs.com/package/@univerjs-pro/exchange-client)
|
|
4
5
|
[](https://npmjs.com/package/@univerjs-pro/exchange-client)
|
|
5
6
|
|
|
6
|
-
`@univerjs-pro/exchange-client`
|
|
7
|
+
`@univerjs-pro/exchange-client` is part of Univer Pro. Workbook import and export client integration for Univer Pro.
|
|
7
8
|
|
|
8
9
|
## Package Overview
|
|
9
10
|
|
|
@@ -33,8 +34,14 @@ univer.registerPlugin(UniverExchangeClientPlugin);
|
|
|
33
34
|
// Merge EnUS into your Univer locale map when this package contributes UI text.
|
|
34
35
|
```
|
|
35
36
|
|
|
37
|
+
## Integration Notes
|
|
38
|
+
|
|
39
|
+
- Keep this package on the same version as the other `@univerjs/*` and `@univerjs-pro/*` packages in your application.
|
|
40
|
+
- Import the package stylesheet once in the application entry before rendering Univer UI.
|
|
41
|
+
- Import locale files only for the languages your application enables.
|
|
42
|
+
- Use the facade entry when integrating through Univer Facade APIs.
|
|
43
|
+
|
|
36
44
|
## Resources
|
|
37
45
|
|
|
38
46
|
- [Documentation](https://docs.univer.ai/guides/pro)
|
|
39
47
|
- [NPM package](https://npmjs.com/package/@univerjs-pro/exchange-client)
|
|
40
|
-
|
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x51911c=_0x5c55;(function(_0xd0bfa5,_0x30bd6f){const _0x26d348=_0x5c55,_0x415c72=_0xd0bfa5();while(!![]){try{const _0x9211d9=-parseInt(_0x26d348(0xdf))/0x1*(-parseInt(_0x26d348(0xf8))/0x2)+-parseInt(_0x26d348(0xe9))/0x3*(-parseInt(_0x26d348(0xd4))/0x4)+-parseInt(_0x26d348(0xe3))/0x5+parseInt(_0x26d348(0xe7))/0x6*(-parseInt(_0x26d348(0xf3))/0x7)+-parseInt(_0x26d348(0xe0))/0x8*(parseInt(_0x26d348(0xed))/0x9)+parseInt(_0x26d348(0xf4))/0xa+parseInt(_0x26d348(0xdd))/0xb;if(_0x9211d9===_0x30bd6f)break;else _0x415c72['push'](_0x415c72['shift']());}catch(_0x5a63ff){_0x415c72['push'](_0x415c72['shift']());}}}(_0x2677,0xabbad));let e=require('@univerjs-pro/exchange-client'),t=require('@univerjs/core'),n=require('@univerjs/core/facade');function _0x5c55(_0x4352fe,_0xa5d71){_0x4352fe=_0x4352fe-0xd3;const _0x26772b=_0x2677();let _0x5c556b=_0x26772b[_0x4352fe];return _0x5c556b;}var r=class extends n['FUniver']{async['importXLSXToUnitIdAsync'](_0x57c1dc){const _0x4681e8=_0x5c55;let _0x1c2b93=this[_0x4681e8(0xee)][_0x4681e8(0xeb)](e[_0x4681e8(0xe4)]);if(!_0x1c2b93)throw Error(_0x4681e8(0xdc));return _0x1c2b93[_0x4681e8(0xde)](_0x57c1dc,t[_0x4681e8(0xd3)][_0x4681e8(0xe8)]);}async[_0x51911c(0xf2)](_0x59ee58){const _0x242ca7=_0x51911c;let _0x426e42=this['_injector'][_0x242ca7(0xeb)](e[_0x242ca7(0xe4)]);if(!_0x426e42)throw Error(_0x242ca7(0xdc));return _0x426e42['importXLSXToSnapshot'](_0x59ee58);}async['exportXLSXByUnitIdAsync'](_0x4d2756){const _0x1f31c9=_0x51911c;let _0x2af41c=this[_0x1f31c9(0xee)][_0x1f31c9(0xeb)](e[_0x1f31c9(0xe4)]);if(!_0x2af41c)throw Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2af41c[_0x1f31c9(0xd8)](_0x4d2756);}async[_0x51911c(0xf9)](_0x4f8516){const _0x39e772=_0x51911c;let _0x1e19b5=this[_0x39e772(0xee)][_0x39e772(0xeb)](e[_0x39e772(0xe4)]);if(!_0x1e19b5)throw Error(_0x39e772(0xdc));return _0x1e19b5[_0x39e772(0xda)](_0x4f8516);}async[_0x51911c(0xd7)](_0xfbf545){const _0x28a28d=_0x51911c;let _0x53ffde=this[_0x28a28d(0xee)][_0x28a28d(0xeb)](e[_0x28a28d(0xe4)]);if(!_0x53ffde)throw Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x53ffde[_0x28a28d(0xde)](_0xfbf545,t[_0x28a28d(0xd3)][_0x28a28d(0xd5)]);}async[_0x51911c(0xf7)](_0x3d512c){const _0x3a3fae=_0x51911c;let _0xcf1e9f=this[_0x3a3fae(0xee)][_0x3a3fae(0xeb)](e['IExchangeService']);if(!_0xcf1e9f)throw Error(_0x3a3fae(0xdc));return _0xcf1e9f[_0x3a3fae(0xea)](_0x3d512c);}async[_0x51911c(0xec)](_0x180daf){const _0x3df0b5=_0x51911c;let _0x44f346=this['_injector']['get'](e['IExchangeService']);if(!_0x44f346)throw Error(_0x3df0b5(0xdc));return _0x44f346[_0x3df0b5(0xf5)](_0x180daf);}async[_0x51911c(0xe2)](_0x19e610){const _0x25ce93=_0x51911c;let _0x44ece2=this['_injector'][_0x25ce93(0xeb)](e['IExchangeService']);if(!_0x44ece2)throw Error(_0x25ce93(0xdc));return _0x44ece2[_0x25ce93(0xe1)](_0x19e610);}async[_0x51911c(0xf0)](_0x2bdd08){const _0x5d9df6=_0x51911c;let _0x2f9826=this[_0x5d9df6(0xee)][_0x5d9df6(0xeb)](e[_0x5d9df6(0xe4)]);if(!_0x2f9826)throw Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2f9826[_0x5d9df6(0xde)](_0x2bdd08,t[_0x5d9df6(0xd3)][_0x5d9df6(0xf1)]);}async['importPPTXToSnapshotAsync'](_0x4fb0a0){const _0xda90a1=_0x51911c;let _0x23e008=this[_0xda90a1(0xee)][_0xda90a1(0xeb)](e[_0xda90a1(0xe4)]);if(!_0x23e008)throw Error(_0xda90a1(0xdc));return _0x23e008[_0xda90a1(0xdb)](_0x4fb0a0);}async[_0x51911c(0xd6)](_0x5d1088){const _0x2acde3=_0x51911c;let _0x117571=this[_0x2acde3(0xee)][_0x2acde3(0xeb)](e[_0x2acde3(0xe4)]);if(!_0x117571)throw Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x117571[_0x2acde3(0xd9)](_0x5d1088);}async[_0x51911c(0xe5)](_0xf6694d){const _0x749d7d=_0x51911c;let _0x44cdda=this[_0x749d7d(0xee)][_0x749d7d(0xeb)](e[_0x749d7d(0xe4)]);if(!_0x44cdda)throw Error(_0x749d7d(0xdc));return _0x44cdda[_0x749d7d(0xf6)](_0xf6694d);}};function _0x2677(){const _0x2b1647=['importPPTXToSnapshot','The\x20exchange\x20service\x20is\x20not\x20available','22760848dskOuX','importFileToUnitId','2BCADdV','3316392ToOLVL','exportDOCXByUnitId','exportDOCXByUnitIdAsync','2884700ahsZoq','IExchangeService','exportPPTXBySnapshotAsync','extend','1281090sPbcMt','UNIVER_SHEET','2670AGYFJw','importDOCXToSnapshot','get','exportDOCXBySnapshotAsync','27uWHkIF','_injector','FUniver','importPPTXToUnitIdAsync','UNIVER_SLIDE','importXLSXToSnapshotAsync','14YDRTJc','6904780YbDXbZ','exportDOCXBySnapshot','exportPPTXBySnapshot','importDOCXToSnapshotAsync','62326krsnbl','exportXLSXBySnapshotAsync','UniverInstanceType','580XgrCPK','UNIVER_DOC','exportPPTXByUnitIdAsync','importDOCXToUnitIdAsync','exportXLSXByUnitId','exportPPTXByUnitId','exportXLSXBySnapshot'];_0x2677=function(){return _0x2b1647;};return _0x2677();}n[_0x51911c(0xef)][_0x51911c(0xe6)](r);
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x33cc6a=_0x4275;(function(_0x4917a3,_0x26c96f){const _0x4c5dbb=_0x4275,_0x3de8db=_0x4917a3();while(!![]){try{const _0x129078=parseInt(_0x4c5dbb(0x1f5))/0x1+parseInt(_0x4c5dbb(0x1ef))/0x2+parseInt(_0x4c5dbb(0x285))/0x3+parseInt(_0x4c5dbb(0x368))/0x4+parseInt(_0x4c5dbb(0x346))/0x5*(-parseInt(_0x4c5dbb(0x29c))/0x6)+parseInt(_0x4c5dbb(0x281))/0x7+-parseInt(_0x4c5dbb(0x1e9))/0x8*(parseInt(_0x4c5dbb(0x2ef))/0x9);if(_0x129078===_0x26c96f)break;else _0x3de8db['push'](_0x3de8db['shift']());}catch(_0x371e44){_0x3de8db['push'](_0x3de8db['shift']());}}}(_0x5a10,0xb4734),Object['defineProperty'](exports,Symbol[_0x33cc6a(0x287)],{'value':_0x33cc6a(0x339)}));let e=require('@univerjs-pro/license'),t=require('@univerjs/core'),n=require('@univerjs/network'),r=require('@univerjs/icons'),i=require('@univerjs/ui'),a=require('react'),o=require('rxjs'),s=require('@univerjs/design'),c=require('react/jsx-runtime'),l=require('@univerjs/protocol'),u=require('@univerjs-pro/collaboration'),d=require('fflate');const f=_0x33cc6a(0x1e6),p={};var m=_0x33cc6a(0x2af),ee=_0x33cc6a(0x2e7);function h(_0x16d662){'@babel/helpers - typeof';const _0x56cf7f=_0x33cc6a;return h=typeof Symbol==_0x56cf7f(0x36f)&&typeof Symbol[_0x56cf7f(0x2e8)]==_0x56cf7f(0x22a)?function(_0x550af1){return typeof _0x550af1;}:function(_0x543c10){const _0x4ff5d5=_0x56cf7f;return _0x543c10&&typeof Symbol=='function'&&_0x543c10[_0x4ff5d5(0x1f6)]===Symbol&&_0x543c10!==Symbol[_0x4ff5d5(0x2a2)]?'symbol':typeof _0x543c10;},h(_0x16d662);}function te(_0x54b65b,_0x437c3b){const _0x26c9f1=_0x33cc6a;if(h(_0x54b65b)!=_0x26c9f1(0x248)||!_0x54b65b)return _0x54b65b;var _0x305f51=_0x54b65b[Symbol['toPrimitive']];if(_0x305f51!==void 0x0){var _0x47c873=_0x305f51['call'](_0x54b65b,_0x437c3b||_0x26c9f1(0x355));if(h(_0x47c873)!=_0x26c9f1(0x248))return _0x47c873;throw TypeError(_0x26c9f1(0x262));}return(_0x437c3b===_0x26c9f1(0x282)?String:Number)(_0x54b65b);}function ne(_0x53f632){const _0x43d807=_0x33cc6a;var _0x5788f9=te(_0x53f632,_0x43d807(0x282));return h(_0x5788f9)=='symbol'?_0x5788f9:_0x5788f9+'';}function g(_0x1eea7c,_0x2f5b1c,_0x39a3d3){const _0x108606=_0x33cc6a;return(_0x2f5b1c=ne(_0x2f5b1c))in _0x1eea7c?Object[_0x108606(0x26e)](_0x1eea7c,_0x2f5b1c,{'value':_0x39a3d3,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1eea7c[_0x2f5b1c]=_0x39a3d3,_0x1eea7c;}let re=function(_0x39a38f){const _0x5cf9b8=_0x33cc6a;return _0x39a38f[_0x39a38f[_0x5cf9b8(0x2ae)]=0x0]='UPLOADING',_0x39a38f[_0x39a38f[_0x5cf9b8(0x30d)]=0x1]=_0x5cf9b8(0x30d),_0x39a38f[_0x39a38f[_0x5cf9b8(0x231)]=0x2]=_0x5cf9b8(0x231),_0x39a38f;}({});const _=(0x0,t[_0x33cc6a(0x2b9)])(_0x33cc6a(0x28a));var v=class extends t[_0x33cc6a(0x1f3)]{constructor(){const _0x4af7f9=_0x33cc6a;super(),g(this,_0x4af7f9(0x2d1),new o[(_0x4af7f9(0x228))]()),g(this,_0x4af7f9(0x2b3),new o[(_0x4af7f9(0x228))]()),g(this,'_list$',new o[(_0x4af7f9(0x228))]()),g(this,_0x4af7f9(0x2c7),this[_0x4af7f9(0x2d1)]['asObservable']()),g(this,_0x4af7f9(0x2bd),this[_0x4af7f9(0x2b3)]['asObservable']()),g(this,_0x4af7f9(0x2dc),this['_list$'][_0x4af7f9(0x2a4)]()),g(this,_0x4af7f9(0x289),[]);}[_0x33cc6a(0x1e2)](){const _0x34b62b=_0x33cc6a;super['dispose'](),this[_0x34b62b(0x2d1)][_0x34b62b(0x33d)](),this[_0x34b62b(0x2b3)][_0x34b62b(0x33d)](),this[_0x34b62b(0x33b)][_0x34b62b(0x33d)]();}[_0x33cc6a(0x217)](){const _0x546baa=_0x33cc6a;this[_0x546baa(0x2d1)][_0x546baa(0x316)](!0x0);}['hide'](){const _0x591cf6=_0x33cc6a;this['_visible$'][_0x591cf6(0x316)](!0x1);}[_0x33cc6a(0x264)](_0x5afec6){const _0x57ab85=_0x33cc6a;this[_0x57ab85(0x2b3)]['next'](_0x5afec6);}[_0x33cc6a(0x239)](_0x36bae3){const _0x530146=_0x33cc6a;this[_0x530146(0x289)][_0x530146(0x36e)](_0x36bae3),this[_0x530146(0x33b)][_0x530146(0x316)](this[_0x530146(0x289)]);}};function ie(_0x2ce196){const _0x10ca2c=_0x33cc6a;let {list:_0x254eda}=_0x2ce196;function _0x4e33fb(_0x35a6a6){const _0x154953=_0x4275;switch(_0x35a6a6){case 0x1:return(0x0,c[_0x154953(0x304)])(r['DocMultiIcon'],{});case 0x2:return(0x0,c[_0x154953(0x304)])(r[_0x154953(0x30a)],{});case 0x3:return(0x0,c['jsx'])(r[_0x154953(0x232)],{});default:return null;}}return(0x0,c['jsx'])(_0x10ca2c(0x23b),{'className':(0x0,s['clsx'])(_0x10ca2c(0x242),s[_0x10ca2c(0x2d3)]),'children':(0x0,c['jsx'])('ul',{'className':_0x10ca2c(0x2ee),'children':_0x254eda[_0x10ca2c(0x283)]((_0x1aef1c,_0x1dd7af)=>(0x0,c['jsx'])('li',{'children':(0x0,c[_0x10ca2c(0x342)])('a',{'className':_0x10ca2c(0x2f3),'href':_0x1aef1c['link'],'target':_0x10ca2c(0x35a),'rel':_0x10ca2c(0x2e0),'children':[(0x0,c[_0x10ca2c(0x342)])(_0x10ca2c(0x26c),{'className':_0x10ca2c(0x328),'children':[(0x0,c['jsx'])('span',{'className':_0x10ca2c(0x1eb),'children':_0x4e33fb(_0x1aef1c['type'])}),(0x0,c[_0x10ca2c(0x304)])(s['Tooltip'],{'showIfEllipsis':!0x0,'title':_0x1aef1c[_0x10ca2c(0x1ed)],'asChild':!0x0,'children':(0x0,c[_0x10ca2c(0x304)])(_0x10ca2c(0x26c),{'className':_0x10ca2c(0x227),'children':_0x1aef1c[_0x10ca2c(0x1ed)]})})]}),(0x0,c[_0x10ca2c(0x304)])(_0x10ca2c(0x26c),{'className':'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','children':(0x0,c[_0x10ca2c(0x304)])(r['ShareRangeIcon'],{})})]})},_0x1dd7af))})});}const y='application/vnd.openxmlformats-officedocument.wordprocessingml.document',b='application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',x='application/vnd.ms-excel.sheet.macroEnabled.12',S=_0x33cc6a(0x357),C='application/vnd.openxmlformats-officedocument.presentationml.presentation',w={[t[_0x33cc6a(0x20e)][_0x33cc6a(0x278)]]:[''],[t[_0x33cc6a(0x20e)][_0x33cc6a(0x2a1)]]:[y],[t[_0x33cc6a(0x20e)]['UNIVER_SHEET']]:[b,x,S],[t[_0x33cc6a(0x20e)][_0x33cc6a(0x2a6)]]:[C],[t[_0x33cc6a(0x20e)][_0x33cc6a(0x270)]]:[''],[t[_0x33cc6a(0x20e)]['UNIVER_PROJECT']]:[''],[t[_0x33cc6a(0x20e)][_0x33cc6a(0x2e4)]]:['']},T={[y]:_0x33cc6a(0x303),[b]:'xlsx',[x]:_0x33cc6a(0x273),[S]:'xltx',[C]:'pptx'};function ae(_0x22f364,_0x2269bf,_0x16f3b7){const _0x1e0444=_0x33cc6a;let _0x5a985a=document['createElement']('a');_0x5a985a['href']=_0x22f364,_0x5a985a[_0x1e0444(0x22d)][_0x1e0444(0x367)]=_0x1e0444(0x336),_0x5a985a['download']=_0x2269bf+'.'+_0x16f3b7,document[_0x1e0444(0x2c1)][_0x1e0444(0x219)](_0x5a985a),_0x5a985a[_0x1e0444(0x2d7)](),document[_0x1e0444(0x2c1)]['removeChild'](_0x5a985a);}function E(_0x14c200,_0x38abb7,_0x44fbad){const _0x13761b=_0x33cc6a;let _0x7890e=URL[_0x13761b(0x21a)](_0x14c200);ae(_0x7890e,_0x38abb7,_0x44fbad),URL[_0x13761b(0x2f0)](_0x7890e);}function D(_0x2a5b21){const _0x202906=_0x33cc6a;let _0x23ff8c=_0x2a5b21[_0x202906(0x1ed)][_0x202906(0x2aa)]('.')[_0x202906(0x345)]();if(!_0x23ff8c)return t[_0x202906(0x20e)][_0x202906(0x278)];let _0x26eed0=oe(),_0x28ffb4=t[_0x202906(0x20e)][_0x202906(0x278)];return _0x26eed0['some'](_0x1c1bba=>O(_0x23ff8c,_0x1c1bba)?(_0x28ffb4=_0x1c1bba,!0x0):!0x1),_0x28ffb4;}function oe(){const _0x36276b=_0x33cc6a;return Object[_0x36276b(0x2ca)](t[_0x36276b(0x20e)])[_0x36276b(0x2cf)](_0x1ad14a=>typeof _0x1ad14a=='number');}function O(_0x42330e,_0x56affc){const _0x1e1da5=_0x33cc6a;var _0x149572;return((_0x149572=w[_0x56affc])==null?[]:_0x149572)[_0x1e1da5(0x283)](_0x3e1032=>(T[_0x3e1032]||'')[_0x1e1da5(0x33c)]())[_0x1e1da5(0x256)](_0x42330e[_0x1e1da5(0x33c)]());}function k(_0x3dcae5,_0x3fbc17=!0x1){const _0x36d122=_0x33cc6a;let _0x4f7753=_0x3dcae5[_0x36d122(0x283)](_0x6d455f=>{var _0x884384;return(_0x884384=w[_0x6d455f])==null?[]:_0x884384;})[_0x36d122(0x27a)](',');return new Promise((_0x4a35b2,_0x2fde70)=>{const _0x5d60ae=_0x36d122;let _0x394f6b=document[_0x5d60ae(0x2df)](_0x5d60ae(0x32a));_0x394f6b[_0x5d60ae(0x277)]='file',_0x394f6b['accept']=_0x4f7753,_0x394f6b['multiple']=_0x3fbc17,_0x394f6b['addEventListener']('change',_0x39861d=>{const _0x30a9b3=_0x5d60ae;let _0x12a222=_0x39861d[_0x30a9b3(0x2ed)];if(!_0x12a222['files']||_0x12a222[_0x30a9b3(0x288)][_0x30a9b3(0x2a7)]===0x0)throw _0x2fde70(null),Error('No\x20file\x20selected');_0x4a35b2(_0x12a222[_0x30a9b3(0x288)]);}),_0x394f6b[_0x5d60ae(0x2d7)]();});}async function A(_0x71c41f,_0x1cffdf){const _0x20124e=_0x33cc6a;try{var _0x125c27,_0x4b92ed,_0x5a0e38;let _0x4a81f7=await _0x1cffdf[_0x20124e(0x293)](_0x71c41f,{'responseType':_0x20124e(0x22c)}),_0x38e979=_0x4a81f7[_0x20124e(0x2c1)],_0x1ff482=(_0x125c27=(_0x4b92ed=_0x4a81f7[_0x20124e(0x23e)][_0x20124e(0x293)]('Content-Type'))==null?void 0x0:_0x4b92ed[_0x20124e(0x27a)](',\x20'))==null?_0x20124e(0x31a):_0x125c27,_0x29c069=_0x20124e(0x29b)+(T[_0x1ff482]||_0x20124e(0x364)),_0x925a6c=(_0x5a0e38=_0x4a81f7[_0x20124e(0x23e)]['get'](_0x20124e(0x20a)))==null?void 0x0:_0x5a0e38['join'](',\x20');if(_0x925a6c){let _0x51f3bf=_0x925a6c[_0x20124e(0x325)](/filename=(.+)/);_0x51f3bf&&_0x51f3bf[0x1]&&(_0x29c069=_0x51f3bf[0x1]);}else _0x29c069=se(_0x71c41f)||_0x29c069;return new File([_0x38e979],_0x29c069,{'type':_0x1ff482});}catch(_0x50853b){console[_0x20124e(0x2ea)](_0x20124e(0x226),_0x50853b);return;}}function se(_0x195c48){const _0x3c5855=_0x33cc6a;try{return new URL(_0x195c48)[_0x3c5855(0x276)][_0x3c5855(0x2aa)]('/')['pop']();}catch(_0x5f5a50){console[_0x3c5855(0x2ea)](_0x3c5855(0x374),_0x5f5a50);return;}}function ce(_0xf3734b){const _0x528c0d=_0x33cc6a;let _0x5a4176=new Blob([_0xf3734b[_0x528c0d(0x2f6)]],{'type':_0x528c0d(0x31d)});return new File([_0x5a4176],_0x528c0d(0x354));}function j(_0x5d3497,_0x18fbb4){const _0x2b73da=_0x33cc6a;return _0x5d3497[_0x2b73da(0x1fd)]('{type}',_0x18fbb4);}function M(_0x443078,_0xc4a042){const _0x428a9e=_0x33cc6a;return _0x443078[_0x428a9e(0x1fd)](_0x428a9e(0x253),_0xc4a042);}function le(_0x470200,_0x5031a0){const _0x3dd7fc=_0x33cc6a;return _0x470200['replace'](_0x3dd7fc(0x28b),_0x5031a0);}function N(_0x5280f9,_0x52baaf){return function(_0x4dd901,_0x521aa5){_0x52baaf(_0x4dd901,_0x521aa5,_0x5280f9);};}function P(_0x3aae1e,_0x41cc9e,_0x5ecda6,_0x9a72d){const _0x2766c5=_0x33cc6a;var _0x937fdf=arguments['length'],_0x215334=_0x937fdf<0x3?_0x41cc9e:_0x9a72d===null?_0x9a72d=Object[_0x2766c5(0x34e)](_0x41cc9e,_0x5ecda6):_0x9a72d,_0x1cfd7b;if(typeof Reflect==_0x2766c5(0x248)&&typeof Reflect[_0x2766c5(0x372)]==_0x2766c5(0x36f))_0x215334=Reflect['decorate'](_0x3aae1e,_0x41cc9e,_0x5ecda6,_0x9a72d);else{for(var _0x4d1b1f=_0x3aae1e[_0x2766c5(0x2a7)]-0x1;_0x4d1b1f>=0x0;_0x4d1b1f--)(_0x1cfd7b=_0x3aae1e[_0x4d1b1f])&&(_0x215334=(_0x937fdf<0x3?_0x1cfd7b(_0x215334):_0x937fdf>0x3?_0x1cfd7b(_0x41cc9e,_0x5ecda6,_0x215334):_0x1cfd7b(_0x41cc9e,_0x5ecda6))||_0x215334);}return _0x937fdf>0x3&&_0x215334&&Object['defineProperty'](_0x41cc9e,_0x5ecda6,_0x215334),_0x215334;}const F=(0x0,t['createIdentifier'])(_0x33cc6a(0x377));let I=class{constructor(_0x3162a9,_0x454b3b){const _0x5d949e=_0x33cc6a;this[_0x5d949e(0x2d5)]=_0x3162a9,this[_0x5d949e(0x36d)]=_0x454b3b,g(this,'_taskInterrupted',new Set());}[_0x33cc6a(0x1e2)](){}[_0x33cc6a(0x295)](_0x148363){const _0x3b85c3=_0x33cc6a;this[_0x3b85c3(0x207)][_0x3b85c3(0x225)](_0x148363);}[_0x33cc6a(0x35e)](){const _0x3bd163=_0x33cc6a;this[_0x3bd163(0x207)][_0x3bd163(0x343)]();}async['upload'](_0x41a951,_0x1a4910=0x0,_0x410f45=!0x1){const _0xe5495f=_0x33cc6a;if(typeof _0x41a951==_0xe5495f(0x282)){let _0x5c7eac=await A(_0x41a951,this[_0xe5495f(0x36d)]);if(!_0x5c7eac)throw Error(_0xe5495f(0x2be));_0x41a951=_0x5c7eac;}_0x1a4910=_0x1a4910||_0x41a951[_0xe5495f(0x33f)];let _0x303a8d=new FormData();_0x303a8d[_0xe5495f(0x2e2)](_0xe5495f(0x34a),_0x41a951);try{let _0x4e8d6d=this[_0xe5495f(0x2cb)]()+_0xe5495f(0x2d2)+_0x1a4910+_0xe5495f(0x2bb)+l[_0xe5495f(0x2cd)][_0xe5495f(0x34d)]+_0xe5495f(0x2c0)+_0x410f45,_0x14c397={'body':_0x303a8d},_0x2d1db3=(await this['_httpService']['post'](_0x4e8d6d,_0x14c397))[_0xe5495f(0x2c1)];if(_0x2d1db3['error']&&_0x2d1db3[_0xe5495f(0x2ea)][_0xe5495f(0x2b1)]!==l[_0xe5495f(0x32c)]['OK'])throw Error(this[_0xe5495f(0x29f)](_0xe5495f(0x211),_0x2d1db3[_0xe5495f(0x2ea)]));return _0x2d1db3;}catch(_0x354d22){throw _0x354d22 instanceof Error?_0x354d22:Error(this[_0xe5495f(0x2e9)](_0xe5495f(0x211),_0x354d22));}}async[_0x33cc6a(0x1fc)](_0x4569f4){const _0x4716f5=_0x33cc6a;let {fileID:_0x11ef04,type:_0x207c64,outputType:_0x408dc8,minSheetColumnCount:_0x3f4039,minSheetRowCount:_0x1224d9}=_0x4569f4;try{let _0x26d987=j(this['_getImportURL'](),''+_0x207c64),_0x4a0e7c={'body':{'fileID':_0x11ef04,'outputType':_0x408dc8,'minSheetColumnCount':_0x3f4039,'minSheetRowCount':_0x1224d9}},_0x25e39e=(await this[_0x4716f5(0x36d)]['post'](_0x26d987,_0x4a0e7c))['body'];return _0x25e39e[_0x4716f5(0x2ea)]&&_0x25e39e['error'][_0x4716f5(0x2b1)]!==l['ErrorCode']['OK']?void 0x0:_0x25e39e;}catch{return;}}async[_0x33cc6a(0x2bc)](_0x1bd5f2){const _0x318684=_0x33cc6a;let {unitID:_0x396900,jsonID:_0xb5f63a,type:_0x3be4c6,sscSwitch:_0x40499a,useImageUrl:_0x56f22f,ignoreTableExport:_0x48fa42}=_0x1bd5f2;try{let _0x210a9a=j(this[_0x318684(0x27b)](),''+_0x3be4c6),_0x348973={'body':{'unitID':_0x396900,'jsonID':_0xb5f63a,'type':_0x3be4c6,'sscSwitch':_0x40499a,'useImageUrl':_0x56f22f,'ignoreTableExport':_0x48fa42}},_0x59f97d=(await this[_0x318684(0x36d)][_0x318684(0x28c)](_0x210a9a,_0x348973))['body'];return _0x59f97d[_0x318684(0x2ea)]&&_0x59f97d[_0x318684(0x2ea)]['code']!==l[_0x318684(0x32c)]['OK']?void 0x0:_0x59f97d;}catch{return;}}async[_0x33cc6a(0x306)](_0x2e1cf1){return new Promise((_0x508ca5,_0x1ce9ce)=>{const _0xce0cf=_0x4275;try{let _0x5092e8=0x0,_0xf26362=M(this[_0xce0cf(0x22f)](),''+_0x2e1cf1),_0x47460a=this[_0xce0cf(0x365)](),_0x32b523=async()=>{const _0x545aec=_0xce0cf;if(this[_0x545aec(0x207)][_0x545aec(0x310)](_0x2e1cf1))return;let _0x322a07=(await this[_0x545aec(0x36d)][_0x545aec(0x293)](_0xf26362))[_0x545aec(0x2c1)];if(_0x322a07[_0x545aec(0x2ea)]&&_0x322a07['error'][_0x545aec(0x2b1)]===l[_0x545aec(0x32c)]['OK']){if(_0x322a07['status']===_0x545aec(0x36a))_0x508ca5(_0x322a07);else{if(_0x322a07[_0x545aec(0x201)]===_0x545aec(0x259)){let _0x2ae8d8=0x3e8;if(_0x5092e8>=_0x47460a){_0x1ce9ce(_0x322a07);return;}else _0x5092e8>=0x7530&&(_0x2ae8d8=0x1388);_0x5092e8+=_0x2ae8d8,setTimeout(_0x32b523,_0x2ae8d8);}else _0x1ce9ce(_0x322a07);}}else _0x1ce9ce(_0x322a07);};_0x32b523();}catch(_0x13b48b){_0x1ce9ce(_0x13b48b instanceof Error?_0x13b48b:Error(String(_0x13b48b)));}});}async['signUrl'](_0x237b5c){const _0x170b81=_0x33cc6a;try{let _0x1f4629=le(this['_getSignURL'](),''+_0x237b5c);return(await this[_0x170b81(0x36d)][_0x170b81(0x293)](_0x1f4629))[_0x170b81(0x2c1)];}catch{return;}}async['getTextFromUrl'](_0x22617e){const _0x405cbb=_0x33cc6a;try{return(await this[_0x405cbb(0x36d)][_0x405cbb(0x293)](_0x22617e,{'responseType':'text'}))[_0x405cbb(0x2c1)];}catch{return;}}[_0x33cc6a(0x29f)](_0x14a7d6,_0x4962fd){const _0x25345d=_0x33cc6a;let _0x308908=this[_0x25345d(0x34b)](_0x4962fd);return _0x308908?_0x14a7d6+':\x20'+_0x308908:_0x14a7d6;}[_0x33cc6a(0x2e9)](_0x3afb31,_0x4d0ac3){const _0x206f79=_0x33cc6a;if(_0x4d0ac3 instanceof n[_0x206f79(0x2fe)]){let _0x2276e6=typeof _0x4d0ac3[_0x206f79(0x201)]==_0x206f79(0x1f0)?''+_0x4d0ac3[_0x206f79(0x201)]+(_0x4d0ac3[_0x206f79(0x2f7)]?'\x20'+_0x4d0ac3[_0x206f79(0x2f7)]:''):void 0x0,_0xdd72e8=this[_0x206f79(0x34b)](_0x4d0ac3['error']);return _0x2276e6&&_0xdd72e8?_0x3afb31+':\x20HTTP\x20'+_0x2276e6+'\x20-\x20'+_0xdd72e8:_0x2276e6?_0x3afb31+':\x20HTTP\x20'+_0x2276e6:_0xdd72e8?_0x3afb31+':\x20'+_0xdd72e8:_0x3afb31;}let _0x905c6a=this['_extractErrorDetail'](_0x4d0ac3);return _0x905c6a?_0x3afb31+':\x20'+_0x905c6a:_0x3afb31;}['_extractErrorDetail'](_0x458dd4){const _0x36a2ae=_0x33cc6a;if(typeof _0x458dd4==_0x36a2ae(0x282)){let _0x58f4c1=_0x458dd4[_0x36a2ae(0x375)]();return _0x58f4c1['length']>0x0?_0x58f4c1:void 0x0;}if(_0x458dd4 instanceof Error)return this[_0x36a2ae(0x34b)](_0x458dd4[_0x36a2ae(0x1ea)]);if(!_0x458dd4||typeof _0x458dd4!=_0x36a2ae(0x248)||Array[_0x36a2ae(0x2ac)](_0x458dd4))return;let _0x1c3cce=_0x458dd4,_0x486122=this['_extractErrorDetail'](_0x1c3cce[_0x36a2ae(0x1ea)]);if(_0x486122)return _0x486122;if(_0x1c3cce['error']&&typeof _0x1c3cce[_0x36a2ae(0x2ea)]=='object'&&!Array['isArray'](_0x1c3cce['error'])){let _0x58b652=this[_0x36a2ae(0x34b)](_0x1c3cce[_0x36a2ae(0x2ea)]);if(_0x58b652)return _0x58b652;}}[_0x33cc6a(0x2cb)](){const _0x1376a7=_0x33cc6a;var _0x4071b1;let _0x526029=this[_0x1376a7(0x2d5)][_0x1376a7(0x263)](f);return(_0x4071b1=_0x526029==null?void 0x0:_0x526029[_0x1376a7(0x27f)])==null?'/universer-api/stream/file/upload':_0x4071b1;}[_0x33cc6a(0x35f)](){const _0x122f4a=_0x33cc6a;var _0x4f3d70;let _0x438893=this['_configService'][_0x122f4a(0x263)](f);return(_0x4f3d70=_0x438893==null?void 0x0:_0x438893[_0x122f4a(0x251)])==null?'/universer-api/exchange/{type}/import':_0x4f3d70;}[_0x33cc6a(0x27b)](){const _0x1e2a76=_0x33cc6a;var _0x5b8bf5;let _0x2721c9=this[_0x1e2a76(0x2d5)]['getConfig'](f);return(_0x5b8bf5=_0x2721c9==null?void 0x0:_0x2721c9[_0x1e2a76(0x333)])==null?_0x1e2a76(0x2d6):_0x5b8bf5;}[_0x33cc6a(0x22f)](){const _0x158c12=_0x33cc6a;var _0x2e474a;let _0x46f262=this[_0x158c12(0x2d5)][_0x158c12(0x263)](f);return(_0x2e474a=_0x46f262==null?void 0x0:_0x46f262[_0x158c12(0x26a)])==null?'/universer-api/exchange/task/{taskID}':_0x2e474a;}[_0x33cc6a(0x360)](){const _0xc07558=_0x33cc6a;var _0x34da1f;let _0xeb8173=this[_0xc07558(0x2d5)]['getConfig'](f);return(_0x34da1f=_0xeb8173==null?void 0x0:_0xeb8173[_0xc07558(0x302)])==null?_0xc07558(0x216):_0x34da1f;}[_0x33cc6a(0x365)](){const _0xecaad0=_0x33cc6a;var _0xdfa30d;let _0x14b540=this[_0xecaad0(0x2d5)][_0xecaad0(0x263)](f);return(_0xdfa30d=_0x14b540==null?void 0x0:_0x14b540[_0xecaad0(0x305)])==null?0x1d4c0:_0xdfa30d;}};I=P([N(0x0,t[_0x33cc6a(0x25a)]),N(0x1,(0x0,t[_0x33cc6a(0x218)])(n[_0x33cc6a(0x2c4)]))],I);function ue(_0x513fa3){const _0x2bdb3f=_0x33cc6a;let _0x973f0=_0x513fa3[_0x2bdb3f(0x30b)];if(!_0x973f0)return null;let _0x2e7f8b={};_0x973f0[_0x2bdb3f(0x24c)]&&Object[_0x2bdb3f(0x31c)](_0x973f0[_0x2bdb3f(0x24c)])[_0x2bdb3f(0x271)](_0x5aaaa4=>{const _0x4aca31=_0x2bdb3f;let _0x244bfc=_0x973f0[_0x4aca31(0x24c)][_0x5aaaa4];_0x2e7f8b[_0x5aaaa4]={..._0x244bfc,'originalMeta':(0x0,u[_0x4aca31(0x272)])(u[_0x4aca31(0x363)]['decode'](_0x244bfc[_0x4aca31(0x35b)]))};});let _0x4bd689=(0x0,u[_0x2bdb3f(0x272)])(u['textDecoder']['decode'](_0x973f0[_0x2bdb3f(0x35b)]));return{..._0x513fa3,'workbook':{..._0x973f0,'originalMeta':_0x4bd689,'sheets':_0x2e7f8b},'doc':{},'slide':void 0x0};}function de(_0x107f87){const _0x410a58=_0x33cc6a;let _0x34bed1=_0x107f87[_0x410a58(0x25f)];if(!_0x34bed1)return null;let _0x3b0d67=(0x0,u['b64EncodeUnicode'])(u[_0x410a58(0x363)][_0x410a58(0x236)](_0x34bed1['originalMeta']));return{..._0x107f87,'workbook':{},'doc':{..._0x34bed1,'originalMeta':_0x3b0d67},'slide':void 0x0};}function _0x5a10(){const _0x508b70=['EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY','uploadFileServerUrl','Info','1746556CKuhht','string','map','univer-pro.exchange-client.operate.service','1631253bCtKLe','IMessageService','toStringTag','files','_list','univer-pro.exchange-client.upload-notification.service','{fileID}','post','exchange-client.uploadSuccessTip','Method\x20not\x20implemented.','transformDocumentDataToSnapshot','_emitProgress','_getMinSheetRowCount','toDisposable','get','UploadNotificationState','setTaskInterrupted','_showDownloadMessage','univer-flex','univer-mt-5\x20univer-flex\x20univer-flex-col','_exportBySnapshot','rev','file.','478470stWkAg','_requestService','univer-ml-1.5\x20univer-font-semibold\x20univer-leading-6\x20univer-text-gray-900\x20dark:!univer-text-white','_buildProtocolErrorMessage','saveSnapshot','UNIVER_DOC','prototype','univer-text-sm\x20univer-text-gray-500','asObservable','_showUploadMessage','UNIVER_SLIDE','length','importXLSXToUnitId','univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','split','Success','isArray','registerDependencies','UPLOADING','@univerjs-pro/exchange-client','_univerInstanceService','code','Failed\x20to\x20get\x20unitID\x20from\x20task','_state$','useEffect','disposeWithMe','Failed\x20to\x20transform\x20snapshot\x20to\x20string','getCurrentUnitOfType','shift','createIdentifier','exchange-client.unknownMistake','&source=','export','state$','upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url','_getUnitNameByType','&flate=','body','requestState$','transformSnapshotJsonToDocumentData','HTTPService','catch','useState','visible$','getUnitType','exportDOCXBySnapshot','values','_getUploadFileURL','fileID','FileSource','_export','filter','unitID','_visible$','?size=','scrollbarClassName','Failed\x20to\x20get\x20file\x20from\x20url','_configService','/universer-api/exchange/{type}/export','click','saveSheetBlock','FileId','slide','resources','list$','searchParams','signUrl','createElement','noreferrer','Failed\x20to\x20get\x20jsonID\x20from\x20task','append','useDependency','UNRECOGNIZED','_getUnitSlideJson','_importTaskId','1.0.0-alpha.1','iterator','_buildHttpErrorMessage','error','merge','touchDependencies','currentTarget','univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','6561657wIlJbj','revokeObjectURL','exportXLSXByUnitId','import\x20error','univer-flex\x20univer-justify-between\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-py-1\x20univer-text-gray-900\x20univer-no-underline\x20univer-outline-none\x20univer-transition-colors\x20hover:univer-bg-gray-200\x20dark:!univer-text-white\x20dark:hover:!univer-bg-gray-600','univer-pl-2\x20univer-pr-4','downloadEndpointUrl','buffer','statusText','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2','_import','_refresh','_getUnitName','importFileToUnitIdByCurrentType','subscribe','HTTPResponseError','downloadFile','upload\x20failed:\x20missing\x20FileId\x20in\x20response','data','signUrlServerUrl','docx','jsx','maxTimeoutTime','getTask','resolve','_fileTypeError','upload\x20failed:\x20FileId\x20is\x20empty','XlsxMultiIcon','workbook','exportPPTXBySnapshot','SUCCESS','_signUrl','transformSlideDataToSnapshot','has','export\x20error','exchange-client.networkError','exchange-client.uploading','getUnitId','minSheetColumnCount','next','exportPPTXByUnitId','exchange-client.cancel','importDOCXToUnitId','application/octet-stream','disposeUnit','keys','application/json','parse','location','importXLSXToSnapshot','exchange-client.uploadAgain','univer-fixed\x20univer-bottom-12\x20univer-right-3\x20univer-z-[1000]\x20univer-box-border\x20univer-flex\x20univer-w-[372px]\x20univer-flex-col\x20univer-rounded-md\x20univer-bg-white\x20univer-px-3\x20univer-pb-4\x20univer-pt-5\x20univer-shadow-md','uploadFileToUnitId','progress$','match','href','_registerComponents','univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','_getUnitDocJson','input','_logService','ErrorCode','CONNECTOR_DATA_TOO_LARGE','univer-h-7\x20univer-cursor-pointer\x20univer-select-none\x20univer-rounded-md\x20univer-border-0\x20univer-border-transparent\x20univer-bg-transparent\x20univer-px-2\x20univer-py-0\x20univer-text-sm\x20univer-text-primary-600\x20univer-transition-all\x20univer-duration-150\x20hover:univer-bg-primary-50','_uploadTaskNotDone','options','copyFileMeta','_config','exportServerUrl','ignoreTableExport','_refreshSlide','none','pptx','importFileToUnitId','Module','_getLinkByUnitId','_list$','toLowerCase','complete','set','size','_sheetBlockCache','importPPTXToUnitId','jsxs','clear','floor','pop','50nEPUVL','_getUnitIDSlide','transformSnapshotToSlideData','clsx','file','_extractErrorDetail','_totalUploadTaskCount','HttpImport','getOwnPropertyDescriptor','stringify','UniverExchangeClientPlugin','UNIVER_SHEET','sign\x20url\x20error','exchange-client.tooLarge','file.json','default','minSheetRowCount','application/vnd.openxmlformats-officedocument.spreadsheetml.template','_completeProgress','exportXLSXBySnapshot','_blank','originalMeta','getSnapshot','Failed\x20to\x20get\x20fileID\x20from\x20task','clearTaskInterrupted','_getImportURL','_getSignURL','DependentOn','IconManager','textDecoder','xlsx','_getMaxPollingTime','_uploadNotificationService','display','5425548iRHEUF','transformWorkbookDataToSnapshot','done','_upload','BehaviorSubject','_httpService','unshift','function','_importFileToUnitId','_exchangeService','decorate','fetchMissingChangesets','Error\x20getting\x20file\x20name\x20from\x20URL:','trim','IRequestService','univer-pro.exchange-client.request.service','getTextFromUrl','transformWorkbookDataToSnapshotJson','_showNetworkError','ILogService','transformSnapshotToDocumentData','dispose','BuiltInUIPart','_getMinSheetColumnCount','_messageService','exchange-client.config','sheetBlocks','getUniverInstanceTypeByFile','24UpMJbs','message','univer-flex\x20univer-h-5\x20univer-text-xl','Failed\x20to\x20get\x20text\x20from\x20url','name','_getDownloadEndpointURL','2601676RfYDHM','number','outputType','disableCellImageConversion','Disposable','UploadNotificationService','273309XkbFBE','constructor','importDOCXToSnapshot','blockID','univer-mx-0\x20univer-mb-3\x20univer-mt-4\x20univer-h-1.5\x20univer-w-[324px]\x20univer-rounded-lg\x20univer-bg-gray-200','unsubscribe','getDeserializedSheetBlock','import','replace','_getEnableServerSideComputing','UNDEFINED','exportDOCXByUnitId','status','saveUnit','exchange-client.uploadSuccess','block\x20is\x20required','ClockIcon','Injector','_taskInterrupted','onStarting','_requestState$','content-disposition','success','importWorkbookDataToUnitId','updateSnapshot','UniverInstanceType','Get\x20outputType\x20error','registerComponent','upload\x20request\x20failed','transformSnapshotJsonToWorkbookData','_getUnitIDDoc','Failed\x20to\x20get\x20taskID\x20from\x20import\x20response','interruptImportTask','/universer-api/file/{fileID}/sign-url','show','Inject','appendChild','createObjectURL','_getDisableCellImageConversion','packageName','MessageType','button','exchange-client.fileTypeError','exchange-client.wait','getSheetBlock','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','DirectExportIcon','upload','add','Error\x20fetching\x20file\x20from\x20URL:','univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','Subject','_resourceLoaderService','symbol','_progress$','blob','style','_getIgnoreTableExport','_getTaskURL','encode','ERROR','SlideMultiIcon','taskID','_getUnitJson','CONTENT','decode','_clearProgress','textEncoder','pushLink','onReady','div','_importToSnapshot','ExchangeService','headers','_addTotalCount','exchange-client.downloadSuccess','interrupt','univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden','origin','IUIPartsService','_localeService','ErrorIcon','register','object','createUnit','Warning','_getUnitID','sheets','LocaleService','transformDocumentDataToSnapshotJson','Failed\x20to\x20parse\x20json','min','importServerUrl','transformSnapshotToWorkbookData','{taskID}','pluginName','univer-text-blue-500','includes','univer-mb-3\x20univer-py-0\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','_injector','pending','IConfigService','enableServerSideComputing','Plugin','Error','IUploadNotificationService','doc','snapshot','_iconManager','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','getConfig','updateState','getUploadFile','importPPTXToSnapshot','INTERNAL_ERROR','title','univer-h-6\x20univer-text-2xl','getTaskServerUrl','univer-text-green-500','span','_addDoneTask','defineProperty','_uiPartsService','UNIVER_BASE','forEach','b64EncodeUnicode','xlsm','IResourceLoaderService','_registerIcons','pathname','type','UNIVER_UNKNOWN','CloseIcon','join','_getExportURL','exchange-client.downloading','_doneUploadTaskCount'];_0x5a10=function(){return _0x508b70;};return _0x5a10();}function fe(_0x17aad1){const _0x4e9a38=_0x33cc6a;var _0xfaf899;let _0x2d40ce=(_0xfaf899=_0x17aad1[_0x4e9a38(0x2da)])==null?_0x17aad1[_0x4e9a38(0x25f)]:_0xfaf899;if(!_0x2d40ce)return null;let _0xbd1bb8=typeof _0x2d40ce['originalMeta']==_0x4e9a38(0x282)?_0x2d40ce['originalMeta']:(0x0,u[_0x4e9a38(0x272)])(u['textDecoder'][_0x4e9a38(0x236)](_0x2d40ce[_0x4e9a38(0x35b)]));return{..._0x17aad1,'workbook':{},'doc':{},'slide':{..._0x2d40ce,'originalMeta':_0xbd1bb8}};}function L(_0x4f147d){const _0x5e277f=_0x33cc6a;let _0x1403aa={};return _0x4f147d[_0x5e277f(0x271)](_0x41b937=>{const _0x584149=_0x5e277f;_0x1403aa[_0x41b937['id']]={..._0x41b937,'data':(0x0,u[_0x584149(0x272)])(u['textDecoder'][_0x584149(0x236)](_0x41b937[_0x584149(0x301)]))};}),_0x1403aa;}async function R(_0x25d6af){const _0x31c880=_0x33cc6a;var _0x1e5d43;let _0x42342d={'metadata':void 0x0},_0x24764b=_0x25d6af['id'],_0x46f5dd=(_0x1e5d43=_0x25d6af['rev'])==null?0x0:_0x1e5d43,_0x587285=new W(),{snapshot:_0x26cbda}=await(0x0,u[_0x31c880(0x369)])(_0x42342d,_0x25d6af,_0x24764b,_0x46f5dd,_0x587285),_0x5469c8=await(0x0,u['getSheetBlocksFromSnapshot'])(_0x26cbda,_0x587285),_0x5c8386=ue(_0x26cbda);if(!_0x5c8386)throw Error(_0x31c880(0x2b6));return{'snapshot':_0x5c8386,'sheetBlocks':L(_0x5469c8)};}async function z(_0xad6fd0){const _0x1257f7=_0x33cc6a;var _0x22a16c;let _0x2e9628={'metadata':void 0x0},_0x3dd771=_0xad6fd0['id'],{snapshot:_0xb98d30}=await(0x0,u[_0x1257f7(0x28f)])(_0x2e9628,_0xad6fd0,_0x3dd771,(_0x22a16c=_0xad6fd0[_0x1257f7(0x29a)])==null?0x0:_0x22a16c,new W()),_0x2b9ce7=de(_0xb98d30);if(!_0x2b9ce7)throw Error(_0x1257f7(0x2b6));return{'snapshot':_0x2b9ce7,'sheetBlocks':{}};}async function B(_0x32b9e5){const _0x5539d7=_0x33cc6a;var _0x1ba8d8;let _0x37c940=_0x32b9e5['id'],_0x3fc585=(_0x1ba8d8=_0x32b9e5[_0x5539d7(0x29a)])==null?0x0:_0x1ba8d8,_0x4f4e3f=new W(),{snapshot:_0xabfbc8}=await(0x0,u[_0x5539d7(0x30f)])(_0x32b9e5[_0x5539d7(0x2db)],_0x32b9e5,_0x37c940,_0x3fc585,_0x4f4e3f),_0x4fb32=fe(_0xabfbc8);if(!_0x4fb32)throw Error(_0x5539d7(0x2b6));return{'snapshot':_0x4fb32,'sheetBlocks':{}};}async function V(_0x3291eb){const _0x2fad3f=_0x33cc6a;let _0x4b07ae=_0x3291eb[_0x2fad3f(0x260)],_0x38b1f8=_0x3291eb[_0x2fad3f(0x1e7)]||{};return await(0x0,u[_0x2fad3f(0x252)])(_0x4b07ae,Object[_0x2fad3f(0x31c)](_0x38b1f8)[_0x2fad3f(0x283)](_0x240764=>_0x38b1f8[_0x240764])[_0x2fad3f(0x283)](_0x1b65d2=>({..._0x1b65d2,'data':_0x1b65d2[_0x2fad3f(0x301)]?JSON[_0x2fad3f(0x31e)]((0x0,u['b64DecodeUnicode'])(_0x1b65d2[_0x2fad3f(0x301)])):void 0x0})));}function H(_0x3cc6d6){const _0x4aafcb=_0x33cc6a;let _0x495c7d=_0x3cc6d6[_0x4aafcb(0x260)];return(0x0,u[_0x4aafcb(0x1e1)])(_0x495c7d);}function U(_0x1eaab4){const _0x3a0a14=_0x33cc6a;let _0x41ee7e=_0x1eaab4[_0x3a0a14(0x260)];return(0x0,u[_0x3a0a14(0x348)])(_0x41ee7e);}var W=class{constructor(){const _0x4cf81c=_0x33cc6a;g(this,_0x4cf81c(0x340),new Map());}['getUnitOnRev'](){const _0xd1f31f=_0x33cc6a;return Promise[_0xd1f31f(0x307)]({'snapshot':{'unitID':'','type':t[_0xd1f31f(0x20e)][_0xd1f31f(0x351)],'rev':0x0,'workbook':void 0x0,'doc':void 0x0,'slide':void 0x0},'changesets':[],'error':{'code':l['ErrorCode']['OK'],'message':''}});}[_0x33cc6a(0x221)](_0x5e9017,_0x221677){const _0x873c48=_0x33cc6a;let _0x34fd4f=this[_0x873c48(0x340)]['get'](_0x221677['blockID']);return Promise[_0x873c48(0x307)]({'block':_0x34fd4f,'error':{'code':l[_0x873c48(0x32c)]['OK'],'message':''}});}[_0x33cc6a(0x1fb)](_0x11356d,_0x23879d){const _0x19061f=_0x33cc6a;let _0x234048=this[_0x19061f(0x340)][_0x19061f(0x293)](_0x23879d[_0x19061f(0x1f8)]);return Promise[_0x19061f(0x307)]({'block':_0x234048===void 0x0?void 0x0:{..._0x234048,'data':JSON['parse'](u[_0x19061f(0x363)][_0x19061f(0x236)](_0x234048['data']))},'error':{'code':l['ErrorCode']['OK'],'message':''}});}[_0x33cc6a(0x373)](){const _0x4a790e=_0x33cc6a;return Promise['resolve']({'changesets':[],'error':{'code':l[_0x4a790e(0x32c)]['OK'],'message':''}});}['getResourcesRequest'](){const _0x64a83a=_0x33cc6a;return Promise[_0x64a83a(0x307)]({'resources':{},'error':{'code':l[_0x64a83a(0x32c)]['OK'],'message':''}});}[_0x33cc6a(0x2a0)](){const _0x3b5c63=_0x33cc6a;return Promise['resolve']({'error':{'code':l[_0x3b5c63(0x32c)]['OK'],'message':''}});}[_0x33cc6a(0x20d)](){const _0x19afe9=_0x33cc6a;return Promise[_0x19afe9(0x307)]({'error':{'code':l[_0x19afe9(0x32c)]['OK'],'message':''}});}[_0x33cc6a(0x2d8)](_0x4cc56,_0xa80826){const _0x5497f0=_0x33cc6a;let {block:_0xa37aeb}=_0xa80826;return _0xa37aeb?(this[_0x5497f0(0x340)][_0x5497f0(0x33e)](_0xa37aeb['id'],_0xa37aeb),Promise['resolve']({'error':{'code':l['ErrorCode']['OK'],'message':''},'blockID':_0xa37aeb['id']})):Promise['resolve']({'error':{'code':l[_0x5497f0(0x32c)][_0x5497f0(0x1ff)],'message':_0x5497f0(0x204)},'blockID':''});}['saveChangeset'](){const _0x438031=_0x33cc6a;return Promise['resolve']({'error':{'code':l[_0x438031(0x32c)]['OK'],'message':''},'concurrent':[]});}[_0x33cc6a(0x331)](){return Promise['resolve']({'error':void 0x0,'fileMetaId':''});}['getLatestCsReqIdBySid'](){const _0x55eb91=_0x33cc6a;return Promise[_0x55eb91(0x307)]({'error':void 0x0,'latestReqID':0x0});}};const G=(0x0,t[_0x33cc6a(0x2b9)])('univer-pro.exchange-client.exchange.service');let K=class extends t[_0x33cc6a(0x1f3)]{constructor(_0x1ab863,_0x19f158,_0x225325){const _0x12d9fe=_0x33cc6a;super(),this[_0x12d9fe(0x2d5)]=_0x1ab863,this['_httpService']=_0x19f158,this[_0x12d9fe(0x29d)]=_0x225325,g(this,_0x12d9fe(0x2e6),null),g(this,_0x12d9fe(0x209),new o[(_0x12d9fe(0x228))]()),g(this,_0x12d9fe(0x2c2),this[_0x12d9fe(0x209)]['asObservable']());}[_0x33cc6a(0x1e2)](){const _0x14c69e=_0x33cc6a;super[_0x14c69e(0x1e2)](),this[_0x14c69e(0x209)]['complete']();}async[_0x33cc6a(0x1f7)](_0x1e5d83){const _0x3acb5d=_0x33cc6a;let _0x1adea5=await this['_importToSnapshot'](_0x1e5d83,t[_0x3acb5d(0x20e)]['UNIVER_DOC']);if(!_0x1adea5||!_0x1adea5[_0x3acb5d(0x260)])return;let _0x37dbe5=H(_0x1adea5);if(_0x37dbe5)return _0x37dbe5;}async[_0x33cc6a(0x200)](_0x46ec1c){const _0x184e66=_0x33cc6a;return this[_0x184e66(0x2ce)](_0x46ec1c,0x1,t[_0x184e66(0x20e)][_0x184e66(0x2a1)]);}async[_0x33cc6a(0x2c9)](_0x1e3d25){let _0x7962be=await z(_0x1e3d25);return this['_exportBySnapshot'](_0x7962be,t['UniverInstanceType']['UNIVER_DOC']);}async['importPPTXToSnapshot'](_0x4b646f){const _0x4520f=_0x33cc6a;let _0x301a79=await this[_0x4520f(0x23c)](_0x4b646f,t[_0x4520f(0x20e)][_0x4520f(0x2a6)]);if(!(!_0x301a79||!_0x301a79['snapshot']))return U(_0x301a79);}async['exportPPTXByUnitId'](_0x1e357a){const _0x189e9b=_0x33cc6a;return this[_0x189e9b(0x2ce)](_0x1e357a,0x1,t[_0x189e9b(0x20e)][_0x189e9b(0x2a6)]);}async[_0x33cc6a(0x30c)](_0x1cf18f){const _0x6ee202=_0x33cc6a;let _0x13a8bb=await B(_0x1cf18f);return this['_exportBySnapshot'](_0x13a8bb,t[_0x6ee202(0x20e)][_0x6ee202(0x2a6)]);}async[_0x33cc6a(0x320)](_0x45bb73){const _0x539b58=_0x33cc6a;let _0xbab56=await this[_0x539b58(0x23c)](_0x45bb73,t[_0x539b58(0x20e)][_0x539b58(0x351)]);if(!_0xbab56)return;let _0x249d83=await V(_0xbab56);if(_0x249d83)return _0x249d83;}async['exportXLSXByUnitId'](_0x82a666){return this['_export'](_0x82a666,0x1,t['UniverInstanceType']['UNIVER_SHEET']);}async[_0x33cc6a(0x359)](_0x31169e){const _0xf714f6=_0x33cc6a;let _0x4362a0=await R(_0x31169e);return this[_0xf714f6(0x299)](_0x4362a0,t['UniverInstanceType']['UNIVER_SHEET']);}async[_0x33cc6a(0x338)](_0x5b9ebd,_0x3a7c14){const _0x41e311=_0x33cc6a;var _0x3b1e5c,_0x267926;let _0x4d1a09=await this[_0x41e311(0x36b)](_0x5b9ebd);if(!_0x4d1a09)return;let _0x5c28fc=await this[_0x41e311(0x2f9)](_0x4d1a09,0x1,_0x3a7c14);if(!_0x5c28fc)return;this['_importTaskId']=_0x5c28fc,this[_0x41e311(0x29d)][_0x41e311(0x35e)]();let _0x2c9978=await this[_0x41e311(0x29d)][_0x41e311(0x306)](_0x5c28fc)[_0x41e311(0x2c5)](_0x2fc34f=>{const _0xc7fea3=_0x41e311;var _0x596de7;let _0x5cf2e2=_0x2fc34f instanceof Error?_0x2fc34f[_0xc7fea3(0x1ea)]:(_0x596de7=_0x2fc34f[_0xc7fea3(0x2ea)])==null?void 0x0:_0x596de7['message'];this[_0xc7fea3(0x209)][_0xc7fea3(0x316)]({'error':{'code':l[_0xc7fea3(0x32c)][_0xc7fea3(0x2e4)],'message':_0x5cf2e2||''},'state':0x3});});if(!_0x2c9978)return;let _0x3dee51=(_0x3b1e5c=_0x2c9978[_0x41e311(0x1fc)])==null?void 0x0:_0x3b1e5c[_0x41e311(0x1f1)],_0x54d323=((_0x267926=_0x2c9978['import'])==null?void 0x0:_0x267926[_0x41e311(0x2d0)])||'';if(_0x3dee51!==0x1){this[_0x41e311(0x209)][_0x41e311(0x316)]({'error':{'code':l[_0x41e311(0x32c)][_0x41e311(0x2e4)],'message':_0x41e311(0x20f)},'state':0x3});return;}if(_0x54d323[_0x41e311(0x2a7)]===0x0){this['_requestState$'][_0x41e311(0x316)]({'error':{'code':l['ErrorCode'][_0x41e311(0x2e4)],'message':_0x41e311(0x2b2)},'state':0x3});return;}return this[_0x41e311(0x209)][_0x41e311(0x316)]({'error':_0x2c9978[_0x41e311(0x2ea)],'state':0x3}),_0x54d323;}async[_0x33cc6a(0x20c)](_0x1628c1){const _0x2532c8=_0x33cc6a;let _0x5c2002=await R(_0x1628c1),_0x434ff7=typeof _0x1628c1['id']==_0x2532c8(0x282)&&_0x1628c1['id'][_0x2532c8(0x375)]()?_0x1628c1['id'][_0x2532c8(0x375)]()+'.json':'workbook.json',_0x4562b5=new File([JSON['stringify'](_0x5c2002)],_0x434ff7,{'type':_0x2532c8(0x31d)});return this[_0x2532c8(0x338)](_0x4562b5,t['UniverInstanceType'][_0x2532c8(0x351)]);}[_0x33cc6a(0x215)](){const _0x2c6826=_0x33cc6a;this[_0x2c6826(0x2e6)]&&this[_0x2c6826(0x29d)][_0x2c6826(0x295)](this[_0x2c6826(0x2e6)]);}async[_0x33cc6a(0x23c)](_0x57afe8,_0x2c1f18){const _0x3e6f9c=_0x33cc6a;var _0x20e020,_0xf69f28;let _0x82f305=await this['_upload'](_0x57afe8);if(!_0x82f305)return;let _0x2e61de=await this[_0x3e6f9c(0x2f9)](_0x82f305,0x2,_0x2c1f18);if(!_0x2e61de)return;this[_0x3e6f9c(0x2e6)]=_0x2e61de,this['_requestService'][_0x3e6f9c(0x35e)]();let _0x2fd848=await this[_0x3e6f9c(0x29d)][_0x3e6f9c(0x306)](_0x2e61de)[_0x3e6f9c(0x2c5)](_0x2a0d57=>{const _0x5de6a5=_0x3e6f9c;var _0x2ed3bb;let _0x3387b6=_0x2a0d57 instanceof Error?_0x2a0d57[_0x5de6a5(0x1ea)]:(_0x2ed3bb=_0x2a0d57[_0x5de6a5(0x2ea)])==null?void 0x0:_0x2ed3bb[_0x5de6a5(0x1ea)];this[_0x5de6a5(0x209)][_0x5de6a5(0x316)]({'error':{'code':l[_0x5de6a5(0x32c)][_0x5de6a5(0x2e4)],'message':_0x3387b6||''},'state':0x3});});if(!_0x2fd848)return;let _0x35813c=(_0x20e020=_0x2fd848[_0x3e6f9c(0x1fc)])==null?void 0x0:_0x20e020[_0x3e6f9c(0x1f1)],_0x343881=((_0xf69f28=_0x2fd848['import'])==null?void 0x0:_0xf69f28['jsonID'])||'';if(_0x35813c!==0x2){this[_0x3e6f9c(0x209)]['next']({'error':{'code':l['ErrorCode'][_0x3e6f9c(0x2e4)],'message':_0x3e6f9c(0x20f)},'state':0x3});return;}if(_0x343881['length']===0x0){this[_0x3e6f9c(0x209)]['next']({'error':{'code':l[_0x3e6f9c(0x32c)]['UNRECOGNIZED'],'message':_0x3e6f9c(0x2e1)},'state':0x3});return;}this[_0x3e6f9c(0x209)][_0x3e6f9c(0x316)]({'error':_0x2fd848['error'],'state':0x3});let _0x3eb554=await this[_0x3e6f9c(0x30e)](_0x343881);if(!_0x3eb554)return;let _0x9de4e1=await this['_requestService'][_0x3e6f9c(0x378)](_0x3eb554);if(!_0x9de4e1){this[_0x3e6f9c(0x209)][_0x3e6f9c(0x316)]({'error':{'code':l['ErrorCode']['UNRECOGNIZED'],'message':_0x3e6f9c(0x1ec)},'state':0x5});return;}try{let _0x634f3=JSON['parse'](_0x9de4e1);return this[_0x3e6f9c(0x209)][_0x3e6f9c(0x316)]({'error':{'code':l[_0x3e6f9c(0x32c)]['OK'],'message':_0x3e6f9c(0x20b)},'state':0x5}),_0x634f3;}catch{this[_0x3e6f9c(0x209)][_0x3e6f9c(0x316)]({'error':{'code':l[_0x3e6f9c(0x32c)][_0x3e6f9c(0x2e4)],'message':_0x3e6f9c(0x24f)},'state':0x5});}}async[_0x33cc6a(0x299)](_0x125a72,_0x15bcbc){const _0x1187a1=_0x33cc6a;let _0xbc950=JSON[_0x1187a1(0x34f)](_0x125a72),_0x2391f9=u[_0x1187a1(0x238)][_0x1187a1(0x230)](_0xbc950),_0x417b73=(0x0,d['deflateSync'])(_0x2391f9),_0x20d0b2=_0x2391f9[_0x1187a1(0x2a7)],_0x3c5071=ce(_0x417b73),_0x1e264c=await this[_0x1187a1(0x36b)](_0x3c5071,_0x20d0b2,!0x0);if(_0x1e264c)return this[_0x1187a1(0x2ce)](_0x1e264c,0x2,_0x15bcbc);}async[_0x33cc6a(0x2ce)](_0x5abfca,_0x221cfb,_0x48b62e){const _0x5020f1=_0x33cc6a;var _0xcd65f4;let _0x2bb479=await this[_0x5020f1(0x29d)]['export']({'unitID':_0x221cfb===0x1?_0x5abfca:'','jsonID':_0x221cfb===0x2?_0x5abfca:'','type':_0x48b62e,'sscSwitch':this['_getEnableServerSideComputing'](),'useImageUrl':this['_getDisableCellImageConversion'](),'ignoreTableExport':this[_0x5020f1(0x22e)]()});if(!_0x2bb479){this[_0x5020f1(0x209)]['next']({'error':{'code':l[_0x5020f1(0x32c)][_0x5020f1(0x2e4)],'message':_0x5020f1(0x311)},'state':0x2});return;}if(this[_0x5020f1(0x209)]['next']({'error':_0x2bb479[_0x5020f1(0x2ea)],'state':0x2}),_0x2bb479[_0x5020f1(0x2ea)]&&_0x2bb479[_0x5020f1(0x2ea)][_0x5020f1(0x2b1)]!==l[_0x5020f1(0x32c)]['OK'])return;let _0x44829a=_0x2bb479[_0x5020f1(0x233)],_0x27f39e=await this[_0x5020f1(0x29d)][_0x5020f1(0x306)](_0x44829a)[_0x5020f1(0x2c5)](_0x5e16ab=>{const _0x18e730=_0x5020f1;var _0x498485;let _0x54ddbe=_0x5e16ab instanceof Error?_0x5e16ab[_0x18e730(0x1ea)]:(_0x498485=_0x5e16ab['error'])==null?void 0x0:_0x498485[_0x18e730(0x1ea)];this[_0x18e730(0x209)]['next']({'error':{'code':l[_0x18e730(0x32c)]['UNRECOGNIZED'],'message':_0x54ddbe||''},'state':0x3});});if(!_0x27f39e)return;let _0x15e3f1=((_0xcd65f4=_0x27f39e[_0x5020f1(0x2bc)])==null?void 0x0:_0xcd65f4[_0x5020f1(0x2cc)])||'';if(_0x15e3f1[_0x5020f1(0x2a7)]===0x0){this[_0x5020f1(0x209)]['next']({'error':{'code':l['ErrorCode'][_0x5020f1(0x2e4)],'message':_0x5020f1(0x35d)},'state':0x3});return;}this[_0x5020f1(0x209)][_0x5020f1(0x316)]({'error':_0x27f39e[_0x5020f1(0x2ea)],'state':0x3});let _0x2fc80a=await this[_0x5020f1(0x30e)](_0x15e3f1);if(!_0x2fc80a)return;let _0x4b6fac=await A(_0x2fc80a,this['_httpService']);if(!_0x4b6fac){this['_requestState$'][_0x5020f1(0x316)]({'error':{'code':l[_0x5020f1(0x32c)]['UNRECOGNIZED'],'message':_0x5020f1(0x2d4)},'state':0x6});return;}return this['_requestState$']['next']({'error':{'code':l[_0x5020f1(0x32c)]['OK'],'message':_0x5020f1(0x20b)},'state':0x6}),_0x4b6fac;}async[_0x33cc6a(0x36b)](_0x3272eb,_0x307a27,_0x3eccf1){const _0x14aa27=_0x33cc6a;let _0x459a7d;try{_0x459a7d=await this['_requestService'][_0x14aa27(0x224)](_0x3272eb,_0x307a27,_0x3eccf1);}catch(_0x543051){let _0x1046f8=_0x543051 instanceof Error?_0x543051[_0x14aa27(0x1ea)]:String(_0x543051);this[_0x14aa27(0x209)][_0x14aa27(0x316)]({'error':{'code':l['ErrorCode']['UNRECOGNIZED'],'message':_0x1046f8},'state':0x0});return;}if(!_0x459a7d||typeof _0x459a7d[_0x14aa27(0x2d9)]!=_0x14aa27(0x282)){this[_0x14aa27(0x209)][_0x14aa27(0x316)]({'error':{'code':l[_0x14aa27(0x32c)]['UNRECOGNIZED'],'message':_0x14aa27(0x300)},'state':0x0});return;}let _0x32b2dd=_0x459a7d[_0x14aa27(0x2d9)];if(_0x32b2dd[_0x14aa27(0x2a7)]===0x0){this[_0x14aa27(0x209)][_0x14aa27(0x316)]({'error':{'code':l[_0x14aa27(0x32c)]['UNRECOGNIZED'],'message':_0x14aa27(0x309)},'state':0x0});return;}return this[_0x14aa27(0x209)][_0x14aa27(0x316)]({'error':{'code':l[_0x14aa27(0x32c)]['OK'],'message':_0x14aa27(0x20b)},'state':0x0}),_0x32b2dd;}async[_0x33cc6a(0x2f9)](_0x48bd4e,_0x27eded,_0x22dc88){const _0x35b4cc=_0x33cc6a;let _0x3f3330={'fileID':_0x48bd4e,'type':_0x22dc88,'outputType':_0x27eded,'fileUrl':'','minSheetRowCount':this[_0x35b4cc(0x291)](),'minSheetColumnCount':this['_getMinSheetColumnCount']()},_0x1b44c3=await this[_0x35b4cc(0x29d)]['import'](_0x3f3330);if(!_0x1b44c3){this[_0x35b4cc(0x209)][_0x35b4cc(0x316)]({'error':{'code':l[_0x35b4cc(0x32c)][_0x35b4cc(0x2e4)],'message':_0x35b4cc(0x2f2)},'state':0x1});return;}if(_0x1b44c3[_0x35b4cc(0x2ea)]&&_0x1b44c3[_0x35b4cc(0x2ea)][_0x35b4cc(0x2b1)]!==l['ErrorCode']['OK']){this[_0x35b4cc(0x209)][_0x35b4cc(0x316)]({'error':_0x1b44c3[_0x35b4cc(0x2ea)],'state':0x1});return;}let _0x22fe5b=_0x1b44c3[_0x35b4cc(0x233)];if(_0x22fe5b[_0x35b4cc(0x2a7)]===0x0){this[_0x35b4cc(0x209)][_0x35b4cc(0x316)]({'error':{'code':l[_0x35b4cc(0x32c)][_0x35b4cc(0x2e4)],'message':_0x35b4cc(0x214)},'state':0x1});return;}return this[_0x35b4cc(0x209)][_0x35b4cc(0x316)]({'error':_0x1b44c3['error'],'state':0x1}),_0x22fe5b;}async[_0x33cc6a(0x30e)](_0x5c4639){const _0x5f0818=_0x33cc6a;let _0x49c251=await this[_0x5f0818(0x29d)][_0x5f0818(0x2de)](_0x5c4639);if(!_0x49c251){this[_0x5f0818(0x209)][_0x5f0818(0x316)]({'error':{'code':l[_0x5f0818(0x32c)][_0x5f0818(0x2e4)],'message':_0x5f0818(0x352)},'state':0x4});return;}if(_0x49c251[_0x5f0818(0x2ea)]&&_0x49c251[_0x5f0818(0x2ea)][_0x5f0818(0x2b1)]!==l[_0x5f0818(0x32c)]['OK']){this[_0x5f0818(0x209)][_0x5f0818(0x316)]({'error':_0x49c251['error'],'state':0x4});return;}let _0x3545ea=(0x0,t['resolveWithBasePath'])(_0x49c251['url'],this[_0x5f0818(0x1ee)]());if(_0x3545ea[_0x5f0818(0x2a7)]===0x0){this[_0x5f0818(0x209)][_0x5f0818(0x316)]({'error':{'code':l['ErrorCode']['UNRECOGNIZED'],'message':_0x5f0818(0x352)},'state':0x4});return;}return this[_0x5f0818(0x209)]['next']({'error':_0x49c251[_0x5f0818(0x2ea)],'state':0x4}),_0x3545ea;}[_0x33cc6a(0x1ee)](){const _0x1073a2=_0x33cc6a;var _0x132e6e;let _0x1d0098=this['_configService'][_0x1073a2(0x263)](f);return(_0x132e6e=_0x1d0098==null?void 0x0:_0x1d0098[_0x1073a2(0x2f5)])==null?location[_0x1073a2(0x243)]:_0x132e6e;}['_getMinSheetRowCount'](){const _0x1e6855=_0x33cc6a;var _0x3db87d,_0x17523e;let _0x1fbeed=this['_configService'][_0x1e6855(0x263)](f);return(_0x3db87d=_0x1fbeed==null||(_0x17523e=_0x1fbeed['options'])==null?void 0x0:_0x17523e[_0x1e6855(0x356)])==null?0x1:_0x3db87d;}[_0x33cc6a(0x1e4)](){const _0x263de8=_0x33cc6a;var _0x38e011,_0x2cfa2c;let _0x3b27f1=this['_configService'][_0x263de8(0x263)](f);return(_0x38e011=_0x3b27f1==null||(_0x2cfa2c=_0x3b27f1['options'])==null?void 0x0:_0x2cfa2c[_0x263de8(0x315)])==null?0x1:_0x38e011;}[_0x33cc6a(0x1fe)](){const _0x1cd618=_0x33cc6a;var _0x1f37de,_0x284ab8;let _0x1c6ad4=this[_0x1cd618(0x2d5)][_0x1cd618(0x263)](f);return(_0x1f37de=_0x1c6ad4==null||(_0x284ab8=_0x1c6ad4[_0x1cd618(0x330)])==null?void 0x0:_0x284ab8[_0x1cd618(0x25b)])==null?!0x1:_0x1f37de;}[_0x33cc6a(0x21b)](){const _0x4b6ea0=_0x33cc6a;var _0x52d7ee,_0xaa219e;let _0x46408f=this[_0x4b6ea0(0x2d5)]['getConfig'](f);return(_0x52d7ee=_0x46408f==null||(_0xaa219e=_0x46408f[_0x4b6ea0(0x330)])==null?void 0x0:_0xaa219e[_0x4b6ea0(0x1f2)])==null?!0x0:_0x52d7ee;}['_getIgnoreTableExport'](){const _0x2cf8cf=_0x33cc6a;var _0x300fe7,_0x218f58;let _0x42c115=this['_configService'][_0x2cf8cf(0x263)](f);return(_0x300fe7=_0x42c115==null||(_0x218f58=_0x42c115[_0x2cf8cf(0x330)])==null?void 0x0:_0x218f58[_0x2cf8cf(0x334)])==null?!0x1:_0x300fe7;}};K=P([N(0x0,t[_0x33cc6a(0x25a)]),N(0x1,(0x0,t['Inject'])(n[_0x33cc6a(0x2c4)])),N(0x2,(0x0,t['Inject'])(F))],K);const pe={'done':0x0,'count':0x0},q=(0x0,t[_0x33cc6a(0x2b9)])(_0x33cc6a(0x284));let J=class extends t[_0x33cc6a(0x1f3)]{constructor(_0x2e869a,_0x597563,_0x5371ec,_0x2750d4,_0x441e64,_0xb50929,_0x57abde){const _0x1497c1=_0x33cc6a;super(),this['_univerInstanceService']=_0x2e869a,this['_messageService']=_0x597563,this[_0x1497c1(0x245)]=_0x5371ec,this[_0x1497c1(0x371)]=_0x2750d4,this[_0x1497c1(0x366)]=_0x441e64,this[_0x1497c1(0x32b)]=_0xb50929,this[_0x1497c1(0x229)]=_0x57abde,g(this,_0x1497c1(0x22b),new o[(_0x1497c1(0x36c))](pe)),g(this,_0x1497c1(0x324),this['_progress$'][_0x1497c1(0x2a4)]()),g(this,'_totalUploadTaskCount',0x0),g(this,_0x1497c1(0x27d),0x0),this[_0x1497c1(0x2b5)]((0x0,t[_0x1497c1(0x292)])(this[_0x1497c1(0x371)]['requestState$'][_0x1497c1(0x2fd)](_0xfb3b28=>{const _0x38b9b5=_0x1497c1;var _0x1fa0ab;((_0x1fa0ab=_0xfb3b28[_0x38b9b5(0x2ea)])==null?void 0x0:_0x1fa0ab['code'])===l[_0x38b9b5(0x32c)]['OK']?this[_0x38b9b5(0x26d)](0x1):this[_0x38b9b5(0x37a)](_0xfb3b28['error']);})));}[_0x33cc6a(0x241)](){const _0x49af07=_0x33cc6a;this['_clearProgress'](),this[_0x49af07(0x366)][_0x49af07(0x264)](0x2),this[_0x49af07(0x371)][_0x49af07(0x215)]();}async[_0x33cc6a(0x323)](_0x2648d4){const _0x383a45=_0x33cc6a;throw Error(_0x383a45(0x28e));}async['importFileToUnitIdByCurrentType'](){const _0x3515d0=_0x33cc6a;let _0x546a07=this['_univerInstanceService']['getFocusedUnit']();switch(_0x546a07?this['_univerInstanceService'][_0x3515d0(0x2c8)](_0x546a07['getUnitId']()):t['UniverInstanceType'][_0x3515d0(0x2e4)]){case t[_0x3515d0(0x20e)]['UNIVER_SLIDE']:return this[_0x3515d0(0x341)]();case t[_0x3515d0(0x20e)][_0x3515d0(0x2a1)]:return this[_0x3515d0(0x319)]();case t[_0x3515d0(0x20e)][_0x3515d0(0x351)]:default:return this[_0x3515d0(0x2a8)]();}}async[_0x33cc6a(0x319)](){const _0x490763=_0x33cc6a;let _0x348402=await k([t[_0x490763(0x20e)][_0x490763(0x2a1)]]);if(_0x348402&&!this['_fileTypeError'](_0x348402,t[_0x490763(0x20e)][_0x490763(0x2a1)]))return this['_importFileToUnitId'](_0x348402[0x0],t['UniverInstanceType'][_0x490763(0x2a1)]);}[_0x33cc6a(0x1f7)](){throw Error('Method\x20not\x20implemented.');}async[_0x33cc6a(0x200)](_0x2e2ed6,_0x4d364b,_0x1bf9d1){const _0x3615e3=_0x33cc6a;this[_0x3615e3(0x296)](s[_0x3615e3(0x21d)]['Info']);let _0x33e41f=await this['_exchangeService'][_0x3615e3(0x200)](_0x2e2ed6||this[_0x3615e3(0x213)]());_0x33e41f&&(E(_0x33e41f,_0x4d364b||this[_0x3615e3(0x2fb)](_0x33e41f),_0x3615e3(0x303)),this['_showDownloadMessage'](s[_0x3615e3(0x21d)][_0x3615e3(0x2ab)]));}async['exportDOCXBySnapshot'](){const _0x2fe98d=_0x33cc6a;this[_0x2fe98d(0x296)](s[_0x2fe98d(0x21d)]['Info']);let _0x440dc9=await this[_0x2fe98d(0x329)](),_0x18ed92=await this[_0x2fe98d(0x371)][_0x2fe98d(0x2c9)](_0x440dc9);_0x18ed92&&(E(_0x18ed92,this['_getUnitName'](_0x18ed92),_0x2fe98d(0x303)),this['_showDownloadMessage'](s[_0x2fe98d(0x21d)][_0x2fe98d(0x2ab)]));}async[_0x33cc6a(0x341)](){const _0x1ebfa1=_0x33cc6a;if(this['_uploadTaskNotDone']()){this[_0x1ebfa1(0x1e5)][_0x1ebfa1(0x217)]({'type':s[_0x1ebfa1(0x21d)][_0x1ebfa1(0x24a)],'content':this['_localeService']['t']('exchange-client.uploading')});return;}let _0x2577fe=await k([t[_0x1ebfa1(0x20e)][_0x1ebfa1(0x2a6)]]);if(_0x2577fe&&!this[_0x1ebfa1(0x308)](_0x2577fe,t[_0x1ebfa1(0x20e)][_0x1ebfa1(0x2a6)]))return this[_0x1ebfa1(0x370)](_0x2577fe[0x0],t[_0x1ebfa1(0x20e)]['UNIVER_SLIDE']);}async[_0x33cc6a(0x266)](){const _0x5cbd52=_0x33cc6a;if(this[_0x5cbd52(0x32f)]()){this[_0x5cbd52(0x1e5)][_0x5cbd52(0x217)]({'type':s[_0x5cbd52(0x21d)][_0x5cbd52(0x24a)],'content':this[_0x5cbd52(0x245)]['t']('exchange-client.uploading')});return;}let _0x3b57ea=await k([t[_0x5cbd52(0x20e)]['UNIVER_SLIDE']]);if(!_0x3b57ea)return;this['_showUploadMessage'](s['MessageType']['Info']);let _0x1a3292=await this['_exchangeService'][_0x5cbd52(0x266)](_0x3b57ea[0x0]);_0x1a3292&&(this[_0x5cbd52(0x335)](_0x1a3292),this['_showUploadMessage'](s['MessageType']['Success']));}async[_0x33cc6a(0x317)](_0x176aba,_0xee9b5,_0x1c7ff4){const _0x2af573=_0x33cc6a;this[_0x2af573(0x296)](s['MessageType'][_0x2af573(0x280)]);let _0x145d5d=await this['_exchangeService'][_0x2af573(0x317)](_0x176aba||this['_getUnitIDSlide']());_0x145d5d&&(E(_0x145d5d,_0xee9b5||this['_getUnitNameByType'](_0x145d5d,_0x1c7ff4==null?t[_0x2af573(0x20e)][_0x2af573(0x2a6)]:_0x1c7ff4),'pptx'),this[_0x2af573(0x296)](s['MessageType']['Success']));}async[_0x33cc6a(0x30c)](){const _0xb68d01=_0x33cc6a;this[_0xb68d01(0x296)](s[_0xb68d01(0x21d)]['Info']);let _0x3cfe68=await this['_getUnitSlideJson'](),_0x12b896=await this[_0xb68d01(0x371)][_0xb68d01(0x30c)](_0x3cfe68);_0x12b896&&(E(_0x12b896,this[_0xb68d01(0x2bf)](_0x12b896,t[_0xb68d01(0x20e)][_0xb68d01(0x2a6)]),_0xb68d01(0x337)),this[_0xb68d01(0x296)](s['MessageType'][_0xb68d01(0x2ab)]));}async[_0x33cc6a(0x2a8)](){const _0xb6a1ec=_0x33cc6a;if(this['_uploadTaskNotDone']()){this[_0xb6a1ec(0x1e5)][_0xb6a1ec(0x217)]({'type':s[_0xb6a1ec(0x21d)][_0xb6a1ec(0x24a)],'content':this['_localeService']['t']('exchange-client.uploading')});return;}let _0x39e4c7=await k([t[_0xb6a1ec(0x20e)]['UNIVER_SHEET']]);if(_0x39e4c7&&!this[_0xb6a1ec(0x308)](_0x39e4c7,t[_0xb6a1ec(0x20e)][_0xb6a1ec(0x351)]))return this[_0xb6a1ec(0x370)](_0x39e4c7[0x0],t['UniverInstanceType'][_0xb6a1ec(0x351)]);}async[_0x33cc6a(0x320)](){const _0x30f5a9=_0x33cc6a;if(this[_0x30f5a9(0x32f)]()){this[_0x30f5a9(0x1e5)][_0x30f5a9(0x217)]({'type':s['MessageType']['Warning'],'content':this[_0x30f5a9(0x245)]['t'](_0x30f5a9(0x313))});return;}let _0x589199=await k([t[_0x30f5a9(0x20e)]['UNIVER_SHEET']]);if(!_0x589199)return;this[_0x30f5a9(0x2a5)](s[_0x30f5a9(0x21d)][_0x30f5a9(0x280)]);let _0x28f5a0=await this[_0x30f5a9(0x371)][_0x30f5a9(0x320)](_0x589199[0x0]);_0x28f5a0&&(this[_0x30f5a9(0x2fa)](_0x28f5a0),this[_0x30f5a9(0x2a5)](s[_0x30f5a9(0x21d)][_0x30f5a9(0x2ab)]));}async[_0x33cc6a(0x2f1)](_0x1e180f,_0x473e5f,_0x269342){const _0x57f983=_0x33cc6a;this[_0x57f983(0x296)](s[_0x57f983(0x21d)][_0x57f983(0x280)]);let _0x49ba27=await this[_0x57f983(0x371)][_0x57f983(0x2f1)](_0x1e180f||this[_0x57f983(0x24b)]());_0x49ba27&&(E(_0x49ba27,_0x473e5f||this['_getUnitName'](_0x49ba27),_0x57f983(0x364)),this['_showDownloadMessage'](s[_0x57f983(0x21d)]['Success']));}async[_0x33cc6a(0x359)](){const _0x4a8d15=_0x33cc6a;this[_0x4a8d15(0x296)](s[_0x4a8d15(0x21d)]['Info']);let _0x7f29b=await this[_0x4a8d15(0x234)](),_0x56ef72=await this[_0x4a8d15(0x371)]['exportXLSXBySnapshot'](_0x7f29b);_0x56ef72&&(E(_0x56ef72,this['_getUnitName'](_0x56ef72),'xlsx'),this['_showDownloadMessage'](s[_0x4a8d15(0x21d)]['Success']));}['registerLink'](_0x182870){this['_getLinkByUnitId']=_0x182870;}async['_importFileToUnitId'](_0x34eaac,_0x5d15d2){const _0x353ecd=_0x33cc6a;this['_uploadNotificationService']['show'](),this[_0x353ecd(0x366)][_0x353ecd(0x264)](0x0),this[_0x353ecd(0x23f)](0x4),this['_addDoneTask'](0x1);let _0x42a1fc=await this['_exchangeService'][_0x353ecd(0x338)](_0x34eaac,_0x5d15d2);if(!_0x42a1fc){this[_0x353ecd(0x237)](),this[_0x353ecd(0x366)][_0x353ecd(0x264)](0x2);return;}let _0x4283d8={'link':this[_0x353ecd(0x33a)](_0x42a1fc,_0x5d15d2),'name':_0x34eaac['name'],'type':_0x5d15d2};return this[_0x353ecd(0x366)]['pushLink'](_0x4283d8),this[_0x353ecd(0x358)](),this[_0x353ecd(0x366)][_0x353ecd(0x264)](0x1),_0x42a1fc;}[_0x33cc6a(0x24b)](){const _0x2528bc=_0x33cc6a;return this['_univerInstanceService'][_0x2528bc(0x2b7)](t[_0x2528bc(0x20e)]['UNIVER_SHEET'])['getUnitId']();}['_getUnitIDDoc'](){const _0x44f6e2=_0x33cc6a;return this[_0x44f6e2(0x2b0)][_0x44f6e2(0x2b7)](t[_0x44f6e2(0x20e)][_0x44f6e2(0x2a1)])[_0x44f6e2(0x314)]();}[_0x33cc6a(0x347)](){const _0x488d76=_0x33cc6a;return this[_0x488d76(0x2b0)][_0x488d76(0x2b7)](t[_0x488d76(0x20e)][_0x488d76(0x2a6)])[_0x488d76(0x314)]();}['_getUnitName'](_0x34fd65){const _0x110c43=_0x33cc6a;return this[_0x110c43(0x2bf)](_0x34fd65,t[_0x110c43(0x20e)]['UNIVER_SHEET']);}[_0x33cc6a(0x2bf)](_0x406e1d,_0x279fb6){const _0x237121=_0x33cc6a;var _0x263272;let _0x509aad=(_0x263272=this[_0x237121(0x2b0)][_0x237121(0x2b7)](_0x279fb6))==null?void 0x0:_0x263272['getSnapshot'](),_0x285487=_0x509aad==null?void 0x0:_0x509aad[_0x237121(0x1ed)];return typeof _0x285487=='string'&&_0x285487[_0x237121(0x375)]()?_0x285487:_0x406e1d['name'][_0x237121(0x2aa)]('.')[_0x237121(0x2b8)]()||document[_0x237121(0x268)];}async[_0x33cc6a(0x234)](){const _0x5f5d8b=_0x33cc6a;return this['_univerInstanceService'][_0x5f5d8b(0x2b7)](t[_0x5f5d8b(0x20e)]['UNIVER_SHEET'])[_0x5f5d8b(0x35c)]();}async[_0x33cc6a(0x329)](){const _0x2807ec=_0x33cc6a;return this[_0x2807ec(0x2b0)][_0x2807ec(0x2b7)](t['UniverInstanceType'][_0x2807ec(0x2a1)])['getSnapshot']();}async[_0x33cc6a(0x2e5)](){const _0x2b3753=_0x33cc6a;let _0x4776b8=this['_univerInstanceService'][_0x2b3753(0x2b7)](t[_0x2b3753(0x20e)][_0x2b3753(0x2a6)]),_0x3b36e4=this[_0x2b3753(0x229)][_0x2b3753(0x202)](_0x4776b8['getUnitId']());return _0x3b36e4==null?_0x4776b8[_0x2b3753(0x35c)]():_0x3b36e4;}['_getLinkByUnitId'](_0x21abf2,_0x73355){const _0x13df27=_0x33cc6a;let _0x4562d7=new URL(window[_0x13df27(0x31f)][_0x13df27(0x326)]);return _0x4562d7[_0x13df27(0x2dd)][_0x13df27(0x33e)]('unit',_0x21abf2),_0x4562d7['searchParams']['set'](_0x13df27(0x277),''+_0x73355),_0x4562d7['toString']();}[_0x33cc6a(0x2fa)](_0x2b7b02){const _0x172148=_0x33cc6a;let _0x586d4c=this[_0x172148(0x2b0)]['getCurrentUnitOfType'](t[_0x172148(0x20e)][_0x172148(0x351)])[_0x172148(0x314)]();this[_0x172148(0x2b0)][_0x172148(0x31b)](_0x586d4c),this[_0x172148(0x2b0)][_0x172148(0x249)](t[_0x172148(0x20e)][_0x172148(0x351)],_0x2b7b02);}['_refreshSlide'](_0x59aefa){const _0x49800d=_0x33cc6a;let _0x367565=this[_0x49800d(0x2b0)][_0x49800d(0x2b7)](t[_0x49800d(0x20e)][_0x49800d(0x2a6)])[_0x49800d(0x314)]();this[_0x49800d(0x2b0)][_0x49800d(0x31b)](_0x367565),this[_0x49800d(0x2b0)][_0x49800d(0x249)](t[_0x49800d(0x20e)][_0x49800d(0x2a6)],_0x59aefa);}['_showNetworkError'](_0x144e6c){const _0x5ede05=_0x33cc6a;if(_0x144e6c){let {code:_0x3542e9}=_0x144e6c;switch(_0x3542e9){case l['ErrorCode'][_0x5ede05(0x32d)]:this[_0x5ede05(0x1e5)][_0x5ede05(0x217)]({'type':s[_0x5ede05(0x21d)][_0x5ede05(0x25d)],'content':this['_localeService']['t'](_0x5ede05(0x353))});break;case l[_0x5ede05(0x32c)][_0x5ede05(0x267)]:this[_0x5ede05(0x1e5)]['show']({'type':s[_0x5ede05(0x21d)]['Error'],'content':this[_0x5ede05(0x245)]['t']('exchange-client.internalError')});break;default:this[_0x5ede05(0x1e5)][_0x5ede05(0x217)]({'type':s['MessageType'][_0x5ede05(0x25d)],'content':this[_0x5ede05(0x245)]['t'](_0x5ede05(0x312))});break;}return null;}return this['_messageService'][_0x5ede05(0x217)]({'type':s[_0x5ede05(0x21d)][_0x5ede05(0x25d)],'content':this[_0x5ede05(0x245)]['t'](_0x5ede05(0x312))}),null;}[_0x33cc6a(0x296)](_0x7bb48){const _0x970b70=_0x33cc6a;let _0xcf35e5='';switch(_0x7bb48){case s[_0x970b70(0x21d)][_0x970b70(0x2ab)]:_0xcf35e5=this[_0x970b70(0x245)]['t'](_0x970b70(0x240));break;case s[_0x970b70(0x21d)][_0x970b70(0x280)]:_0xcf35e5=this[_0x970b70(0x245)]['t'](_0x970b70(0x27c));break;default:break;}this[_0x970b70(0x1e5)][_0x970b70(0x217)]({'type':_0x7bb48,'content':_0xcf35e5});}['_showUploadMessage'](_0x1cbf9f){const _0x2e6b1f=_0x33cc6a;let _0x4a931b='';switch(_0x1cbf9f){case s[_0x2e6b1f(0x21d)]['Success']:_0x4a931b=this[_0x2e6b1f(0x245)]['t'](_0x2e6b1f(0x203));break;case s[_0x2e6b1f(0x21d)][_0x2e6b1f(0x280)]:_0x4a931b=this[_0x2e6b1f(0x245)]['t'](_0x2e6b1f(0x313));break;default:break;}this[_0x2e6b1f(0x1e5)]['show']({'type':_0x1cbf9f,'content':_0x4a931b});}[_0x33cc6a(0x290)](){const _0x53925f=_0x33cc6a;this[_0x53925f(0x22b)]['next']({'done':this[_0x53925f(0x27d)],'count':this[_0x53925f(0x34c)]});}[_0x33cc6a(0x23f)](_0x1ba80b){const _0x1a2789=_0x33cc6a;this[_0x1a2789(0x34c)]+=_0x1ba80b,this[_0x1a2789(0x290)]();}[_0x33cc6a(0x26d)](_0x16847c){const _0x447717=_0x33cc6a;this['_doneUploadTaskCount']+=_0x16847c,this['_doneUploadTaskCount']=Math[_0x447717(0x250)](this['_doneUploadTaskCount'],this['_totalUploadTaskCount']),this[_0x447717(0x290)]();}[_0x33cc6a(0x358)](){const _0x2f0fb3=_0x33cc6a;this[_0x2f0fb3(0x27d)]=this[_0x2f0fb3(0x34c)],this[_0x2f0fb3(0x290)]();}[_0x33cc6a(0x237)](){const _0x5ae09c=_0x33cc6a;this[_0x5ae09c(0x27d)]=0x0,this[_0x5ae09c(0x34c)]=0x0,this[_0x5ae09c(0x290)]();}[_0x33cc6a(0x308)](_0x508ff7,_0x2ba4e8){const _0x79aa24=_0x33cc6a;let _0x4fe398=_0x508ff7[0x0],_0x317c01=_0x4fe398[_0x79aa24(0x1ed)];return D(_0x4fe398)===_0x2ba4e8?!0x1:(this[_0x79aa24(0x1e5)][_0x79aa24(0x217)]({'type':s[_0x79aa24(0x21d)][_0x79aa24(0x25d)],'content':this[_0x79aa24(0x245)]['t'](_0x79aa24(0x21f),_0x317c01)}),!0x0);}[_0x33cc6a(0x32f)](){const _0x3a28be=_0x33cc6a;return this[_0x3a28be(0x34c)]!==0x0&&this['_doneUploadTaskCount']!==this['_totalUploadTaskCount'];}};J=P([N(0x0,(0x0,t[_0x33cc6a(0x218)])(t['IUniverInstanceService'])),N(0x1,i[_0x33cc6a(0x286)]),N(0x2,(0x0,t[_0x33cc6a(0x218)])(t[_0x33cc6a(0x24d)])),N(0x3,(0x0,t[_0x33cc6a(0x218)])(G)),N(0x4,(0x0,t[_0x33cc6a(0x218)])(_)),N(0x5,t[_0x33cc6a(0x37b)]),N(0x6,(0x0,t[_0x33cc6a(0x218)])(t[_0x33cc6a(0x274)]))],J);function Y(_0x2e3478){const _0x1e0552=_0x33cc6a;let {onClick:_0x5a18ff,children:_0x3b5693,className:_0x3dc971}=_0x2e3478;return(0x0,c[_0x1e0552(0x304)])(_0x1e0552(0x21e),{'className':(0x0,s[_0x1e0552(0x349)])(_0x1e0552(0x32e),_0x3dc971),'type':'button','onClick':_0x5a18ff,'children':_0x3b5693});}function X(){const _0x3a35fe=_0x33cc6a;let _0x3e2398=(0x0,i['useDependency'])(q),_0x52ac8d=(0x0,i['useDependency'])(t[_0x3a35fe(0x24d)]);function _0x37b662(){const _0x47ee80=_0x3a35fe;_0x3e2398[_0x47ee80(0x2fc)]();}return(0x0,c['jsx'])(Y,{'onClick':_0x37b662,'children':_0x52ac8d['t'](_0x3a35fe(0x321))});}function _0x4275(_0x4edc4d,_0x4742cd){_0x4edc4d=_0x4edc4d-0x1e1;const _0x5a1096=_0x5a10();let _0x42758e=_0x5a1096[_0x4edc4d];return _0x42758e;}function me(){const _0x199356=_0x33cc6a;return(0x0,c['jsxs'])(_0x199356(0x23b),{'className':_0x199356(0x298),'children':[(0x0,c[_0x199356(0x304)])(_0x199356(0x26c),{'className':_0x199356(0x257),'children':(0x0,i[_0x199356(0x2e3)])(t['LocaleService'])['t']('exchange-client.interrupt')}),(0x0,c[_0x199356(0x304)])(X,{})]});}function he(_0x420e2f){const _0x319efc=_0x33cc6a;let {count:_0x43c06e}=_0x420e2f;return(0x0,c[_0x319efc(0x342)])(_0x319efc(0x23b),{'className':'univer-mt-3\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-2\x20univer-pr-1','children':[(0x0,c[_0x319efc(0x304)])(_0x319efc(0x26c),{'className':_0x319efc(0x2a3),'children':(0x0,i[_0x319efc(0x2e3)])(t['LocaleService'])['t'](_0x319efc(0x28d),''+_0x43c06e)}),(0x0,c[_0x319efc(0x304)])(X,{})]});}function ge(){const _0x532ce6=_0x33cc6a;let _0x2cca42=(0x0,i[_0x532ce6(0x2e3)])(q),_0x5f3568=(0x0,i[_0x532ce6(0x2e3)])(t[_0x532ce6(0x24d)]);function _0x22137f(){_0x2cca42['interrupt']();}return(0x0,c[_0x532ce6(0x304)])(Y,{'onClick':_0x22137f,'children':_0x5f3568['t'](_0x532ce6(0x318))});}function _e(){const _0x290b51=_0x33cc6a;let {count:_0x657549,done:_0x27b2c9}=(0x0,i['useObservable'])((0x0,i['useDependency'])(q)['progress$']),[_0x4c23b7,_0x3434ba]=(0x0,a[_0x290b51(0x2c6)])(_0x657549>0x0?_0x27b2c9/_0x657549:0x0);return(0x0,a[_0x290b51(0x2b4)])(()=>{_0x3434ba(_0x657549>0x0?_0x27b2c9/_0x657549:0x0);},[_0x657549,_0x27b2c9]),(0x0,c[_0x290b51(0x304)])(_0x290b51(0x23b),{'className':_0x290b51(0x1f9),'children':(0x0,c['jsx'])(_0x290b51(0x23b),{'className':'univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','style':{'width':Math[_0x290b51(0x344)](_0x4c23b7*0x64)+'%'}})});}function ve(){const _0x25b8b6=_0x33cc6a;return(0x0,c[_0x25b8b6(0x342)])(_0x25b8b6(0x23b),{'className':'univer-mt-5\x20univer-flex\x20univer-flex-col','children':[(0x0,c[_0x25b8b6(0x304)])(_0x25b8b6(0x26c),{'className':_0x25b8b6(0x2a9),'children':(0x0,i['useDependency'])(t['LocaleService'])['t'](_0x25b8b6(0x220))}),(0x0,c[_0x25b8b6(0x304)])(_0x25b8b6(0x23b),{'className':_0x25b8b6(0x2f4),'children':(0x0,c['jsx'])(_e,{})}),(0x0,c[_0x25b8b6(0x304)])(ge,{})]});}const ye={0x1:(0x0,c[_0x33cc6a(0x304)])(r['SuccessIcon'],{'className':_0x33cc6a(0x26b)}),0x0:(0x0,c[_0x33cc6a(0x304)])(r[_0x33cc6a(0x205)],{'className':_0x33cc6a(0x255)}),0x2:(0x0,c[_0x33cc6a(0x304)])(r[_0x33cc6a(0x246)],{'className':'univer-text-red-500'})};function be(){const _0x4cbc38=_0x33cc6a;let [_0x1be1a0,_0x365bb8]=(0x0,a['useState'])(0x0),[_0x3f53ec,_0x50490d]=(0x0,a[_0x4cbc38(0x2c6)])(!0x1),[_0x2289c6,_0x4655ac]=(0x0,a[_0x4cbc38(0x2c6)])([]),_0x255ab8=(0x0,i['useDependency'])(_),_0x27eac1=(0x0,i[_0x4cbc38(0x2e3)])(t[_0x4cbc38(0x24d)]);(0x0,a[_0x4cbc38(0x2b4)])(()=>{const _0x282b9b=_0x4cbc38;let _0x35814b=_0x255ab8['visible$'][_0x282b9b(0x2fd)](_0x7c9826=>{_0x50490d(_0x7c9826);}),_0x40bdba=_0x255ab8[_0x282b9b(0x2dc)][_0x282b9b(0x2fd)](_0x1360ae=>{_0x4655ac(_0x1360ae);}),_0x303bc4=_0x255ab8[_0x282b9b(0x2bd)][_0x282b9b(0x2fd)](_0xa86446=>{_0x365bb8(_0xa86446);});return()=>{const _0x28f7e0=_0x282b9b;_0x35814b[_0x28f7e0(0x1fa)](),_0x40bdba[_0x28f7e0(0x1fa)](),_0x303bc4[_0x28f7e0(0x1fa)]();};},[]);function _0x41fe74(){_0x50490d(!0x1);}function _0x4f8e2d(_0x181b72){const _0xb0582b=_0x4cbc38;switch(_0x181b72){case 0x1:return _0x27eac1['t'](_0xb0582b(0x203));case 0x0:return _0x27eac1['t']('exchange-client.uploading');case 0x2:return _0x27eac1['t'](_0xb0582b(0x2ba));default:return'';}}return _0x3f53ec&&(0x0,c[_0x4cbc38(0x342)])(_0x4cbc38(0x23b),{'className':_0x4cbc38(0x322),'children':[(0x0,c['jsxs'])(_0x4cbc38(0x23b),{'className':_0x4cbc38(0x2f8),'children':[(0x0,c[_0x4cbc38(0x342)])(_0x4cbc38(0x26c),{'className':_0x4cbc38(0x297),'children':[(0x0,c[_0x4cbc38(0x304)])(_0x4cbc38(0x26c),{'className':_0x4cbc38(0x269),'children':ye[_0x1be1a0]}),(0x0,c[_0x4cbc38(0x304)])(_0x4cbc38(0x26c),{'className':_0x4cbc38(0x29e),'children':_0x4f8e2d(_0x1be1a0)})]}),(0x0,c[_0x4cbc38(0x304)])(_0x4cbc38(0x26c),{'className':_0x4cbc38(0x222),'onClick':_0x41fe74,'children':(0x0,c[_0x4cbc38(0x304)])(r[_0x4cbc38(0x279)],{})})]}),(0x0,c['jsxs'])(_0x4cbc38(0x23b),{'children':[_0x1be1a0===0x0&&(0x0,c['jsx'])(ve,{}),_0x1be1a0===0x2&&(0x0,c['jsx'])(me,{}),_0x2289c6[_0x4cbc38(0x2a7)]>0x0&&(0x0,c['jsx'])(ie,{'list':_0x2289c6}),_0x1be1a0===0x1&&(0x0,c['jsx'])(he,{'count':_0x2289c6[_0x4cbc38(0x2a7)]})]})]});}function Z(){return(0x0,c['jsx'])(be,{});}let Q=class extends t[_0x33cc6a(0x1f3)]{constructor(_0xc0729c,_0x189b81,_0x41e356){const _0x446ce2=_0x33cc6a;super(),this['_injector']=_0xc0729c,this[_0x446ce2(0x26f)]=_0x189b81,this[_0x446ce2(0x261)]=_0x41e356,this[_0x446ce2(0x275)](),this[_0x446ce2(0x327)]();}[_0x33cc6a(0x275)](){const _0x32c06e=_0x33cc6a;this[_0x32c06e(0x2b5)](this['_iconManager'][_0x32c06e(0x247)]({'DirectExportIcon':r[_0x32c06e(0x223)]}));}[_0x33cc6a(0x327)](){const _0x386565=_0x33cc6a;this[_0x386565(0x2b5)](this[_0x386565(0x26f)][_0x386565(0x210)](i[_0x386565(0x1e3)][_0x386565(0x235)],()=>(0x0,i['connectInjector'])(Z,this[_0x386565(0x258)])));}};Q=P([N(0x0,(0x0,t[_0x33cc6a(0x218)])(t[_0x33cc6a(0x206)])),N(0x1,i[_0x33cc6a(0x244)]),N(0x2,(0x0,t['Inject'])(i[_0x33cc6a(0x362)]))],Q);let $=class extends t[_0x33cc6a(0x25c)]{constructor(_0x3cd019=p,_0x29f25e,_0x426c0b){const _0x1078ae=_0x33cc6a;super(),this['_config']=_0x3cd019,this['_injector']=_0x29f25e,this[_0x1078ae(0x2d5)]=_0x426c0b;let {..._0x51f562}=(0x0,t[_0x1078ae(0x2eb)])({},p,this[_0x1078ae(0x332)]);this[_0x1078ae(0x2d5)]['setConfig'](f,_0x51f562);}[_0x33cc6a(0x208)](){const _0x4abd83=_0x33cc6a;(0x0,t[_0x4abd83(0x2ad)])(this[_0x4abd83(0x258)],[[Q],[q,{'useClass':J}],[G,{'useClass':K}],[F,{'useClass':I}],[_,{'useClass':v}]]);}[_0x33cc6a(0x23a)](){const _0x42015b=_0x33cc6a;(0x0,t[_0x42015b(0x2ec)])(this[_0x42015b(0x258)],[[Q],[q]]);}};g($,_0x33cc6a(0x254),'UNIVER_EXCHANGE_CLIENT_PLUGIN'),g($,_0x33cc6a(0x21c),m),g($,'version',ee),$=P([(0x0,t[_0x33cc6a(0x361)])(n['UniverNetworkPlugin'],e['UniverLicensePlugin']),N(0x1,(0x0,t['Inject'])(t[_0x33cc6a(0x206)])),N(0x2,t[_0x33cc6a(0x25a)])],$),exports[_0x33cc6a(0x27e)]=f,Object['defineProperty'](exports,'ExchangeOperateService',{'enumerable':!0x0,'get':function(){return J;}}),Object[_0x33cc6a(0x26e)](exports,_0x33cc6a(0x23d),{'enumerable':!0x0,'get':function(){return K;}}),exports['IExchangeOperateService']=q,exports['IExchangeService']=G,exports[_0x33cc6a(0x376)]=F,exports[_0x33cc6a(0x25e)]=_,Object[_0x33cc6a(0x26e)](exports,'RequestService',{'enumerable':!0x0,'get':function(){return I;}}),Object['defineProperty'](exports,_0x33cc6a(0x350),{'enumerable':!0x0,'get':function(){return $;}}),exports['UploadNotificationContainer']=Z,exports[_0x33cc6a(0x1f4)]=v,exports[_0x33cc6a(0x294)]=re,exports[_0x33cc6a(0x2ff)]=E,exports[_0x33cc6a(0x1e8)]=D,exports[_0x33cc6a(0x265)]=k,exports[_0x33cc6a(0x24e)]=z,exports['transformSlideDataToSnapshotJson']=B,exports[_0x33cc6a(0x2c3)]=H,exports['transformSnapshotJsonToSlideData']=U,exports[_0x33cc6a(0x212)]=V,exports[_0x33cc6a(0x379)]=R;
|
|
1
|
+
const _0x3fbf3b=_0x338d;(function(_0x2ecd35,_0x11e534){const _0x2d6348=_0x338d,_0x26540a=_0x2ecd35();while(!![]){try{const _0x21584f=parseInt(_0x2d6348(0x217))/0x1+parseInt(_0x2d6348(0x181))/0x2+-parseInt(_0x2d6348(0xe2))/0x3*(parseInt(_0x2d6348(0x22c))/0x4)+-parseInt(_0x2d6348(0x218))/0x5*(parseInt(_0x2d6348(0x1cc))/0x6)+-parseInt(_0x2d6348(0x1c7))/0x7*(-parseInt(_0x2d6348(0x21d))/0x8)+parseInt(_0x2d6348(0x10d))/0x9*(parseInt(_0x2d6348(0x167))/0xa)+-parseInt(_0x2d6348(0x1aa))/0xb;if(_0x21584f===_0x11e534)break;else _0x26540a['push'](_0x26540a['shift']());}catch(_0x12e34f){_0x26540a['push'](_0x26540a['shift']());}}}(_0x7c4a,0x2a193),Object[_0x3fbf3b(0x1b2)](exports,Symbol['toStringTag'],{'value':'Module'}));let e=require('@univerjs-pro/license'),t=require('@univerjs/core'),n=require('@univerjs/network'),r=require('@univerjs/icons'),i=require('@univerjs/ui'),a=require('react'),o=require('rxjs'),s=require('@univerjs/design'),c=require('react/jsx-runtime'),l=require('@univerjs/protocol'),u=require('@univerjs-pro/collaboration'),d=require('fflate');var f='@univerjs-pro/exchange-client',p=_0x3fbf3b(0x128);const m=_0x3fbf3b(0x10c),h={};function g(_0x2d092d){'@babel/helpers - typeof';const _0x35f9f8=_0x3fbf3b;return g=typeof Symbol==_0x35f9f8(0x251)&&typeof Symbol[_0x35f9f8(0x1d4)]=='symbol'?function(_0x250a52){return typeof _0x250a52;}:function(_0x190cec){const _0x279c54=_0x35f9f8;return _0x190cec&&typeof Symbol==_0x279c54(0x251)&&_0x190cec['constructor']===Symbol&&_0x190cec!==Symbol['prototype']?_0x279c54(0x1e4):typeof _0x190cec;},g(_0x2d092d);}function _0x338d(_0x2e081e,_0x5e67d2){_0x2e081e=_0x2e081e-0xdd;const _0x7c4a1c=_0x7c4a();let _0x338d3f=_0x7c4a1c[_0x2e081e];return _0x338d3f;}function _(_0x45e8f1,_0x1e3669){const _0x1389fd=_0x3fbf3b;if(g(_0x45e8f1)!=_0x1389fd(0x116)||!_0x45e8f1)return _0x45e8f1;var _0x66e919=_0x45e8f1[Symbol[_0x1389fd(0x1fb)]];if(_0x66e919!==void 0x0){var _0x340fd7=_0x66e919[_0x1389fd(0x16a)](_0x45e8f1,_0x1e3669||_0x1389fd(0x264));if(g(_0x340fd7)!=_0x1389fd(0x116))return _0x340fd7;throw TypeError(_0x1389fd(0x117));}return(_0x1e3669===_0x1389fd(0x225)?String:Number)(_0x45e8f1);}function ee(_0x1f9f7d){const _0x5da313=_0x3fbf3b;var _0x4c23db=_(_0x1f9f7d,_0x5da313(0x225));return g(_0x4c23db)==_0x5da313(0x1e4)?_0x4c23db:_0x4c23db+'';}function v(_0x4bcce2,_0x40c2b6,_0x3d5f87){return(_0x40c2b6=ee(_0x40c2b6))in _0x4bcce2?Object['defineProperty'](_0x4bcce2,_0x40c2b6,{'value':_0x3d5f87,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4bcce2[_0x40c2b6]=_0x3d5f87,_0x4bcce2;}const y=(0x0,t[_0x3fbf3b(0x22b)])('univer-pro.exchange-client.upload-notification.service');var te=class extends t[_0x3fbf3b(0x1e7)]{constructor(){const _0x5081da=_0x3fbf3b;super(),v(this,_0x5081da(0x14e),new o[(_0x5081da(0x193))]()),v(this,_0x5081da(0x25b),new o[(_0x5081da(0x193))]()),v(this,'_list$',new o['Subject']()),v(this,'visible$',this[_0x5081da(0x14e)][_0x5081da(0x1ee)]()),v(this,_0x5081da(0x185),this[_0x5081da(0x25b)]['asObservable']()),v(this,_0x5081da(0x17d),this[_0x5081da(0x13d)][_0x5081da(0x1ee)]()),v(this,_0x5081da(0x1ae),[]);}['dispose'](){const _0x231d1e=_0x3fbf3b;super[_0x231d1e(0x112)](),this[_0x231d1e(0x14e)][_0x231d1e(0x1c1)](),this['_state$']['complete'](),this[_0x231d1e(0x13d)][_0x231d1e(0x1c1)]();}[_0x3fbf3b(0x230)](){const _0x213dc8=_0x3fbf3b;this[_0x213dc8(0x14e)][_0x213dc8(0xde)](!0x0);}[_0x3fbf3b(0x1bb)](){this['_visible$']['next'](!0x1);}[_0x3fbf3b(0x13c)](_0xa5b71c){const _0x14709b=_0x3fbf3b;this[_0x14709b(0x25b)][_0x14709b(0xde)](_0xa5b71c);}[_0x3fbf3b(0x22d)](_0x38948c){const _0x5a6aa1=_0x3fbf3b;this['_list']['unshift'](_0x38948c),this[_0x5a6aa1(0x13d)][_0x5a6aa1(0xde)](this[_0x5a6aa1(0x1ae)]);}};function ne(_0x257a68){const _0x3329f0=_0x3fbf3b;let {list:_0x483d22}=_0x257a68;function _0x12567d(_0x4c58e6){const _0x141311=_0x338d;switch(_0x4c58e6){case 0x1:return(0x0,c['jsx'])(r[_0x141311(0x1fe)],{});case 0x2:return(0x0,c[_0x141311(0x212)])(r[_0x141311(0xee)],{});case 0x3:return(0x0,c['jsx'])(r[_0x141311(0x1f7)],{});default:return null;}}return(0x0,c[_0x3329f0(0x212)])(_0x3329f0(0xfc),{'className':(0x0,s[_0x3329f0(0x105)])(_0x3329f0(0x18c),s[_0x3329f0(0xf3)]),'children':(0x0,c[_0x3329f0(0x212)])('ul',{'className':_0x3329f0(0x1ed),'children':_0x483d22[_0x3329f0(0x163)]((_0x46a2c8,_0x206abc)=>(0x0,c[_0x3329f0(0x212)])('li',{'children':(0x0,c[_0x3329f0(0x164)])('a',{'className':_0x3329f0(0x25c),'href':_0x46a2c8[_0x3329f0(0x1e8)],'target':_0x3329f0(0x10a),'rel':_0x3329f0(0x1c2),'children':[(0x0,c[_0x3329f0(0x164)])(_0x3329f0(0x118),{'className':_0x3329f0(0x254),'children':[(0x0,c[_0x3329f0(0x212)])(_0x3329f0(0x118),{'className':_0x3329f0(0x211),'children':_0x12567d(_0x46a2c8[_0x3329f0(0x18f)])}),(0x0,c[_0x3329f0(0x212)])(s[_0x3329f0(0x250)],{'showIfEllipsis':!0x0,'title':_0x46a2c8[_0x3329f0(0x240)],'asChild':!0x0,'children':(0x0,c[_0x3329f0(0x212)])('span',{'className':_0x3329f0(0x14b),'children':_0x46a2c8[_0x3329f0(0x240)]})})]}),(0x0,c['jsx'])(_0x3329f0(0x118),{'className':_0x3329f0(0x1e0),'children':(0x0,c[_0x3329f0(0x212)])(r[_0x3329f0(0x24b)],{})})]})},_0x206abc))})});}const b='application/vnd.openxmlformats-officedocument.wordprocessingml.document',x=_0x3fbf3b(0x244),S=_0x3fbf3b(0x213),C=_0x3fbf3b(0x22f),w=_0x3fbf3b(0x200),T={[t[_0x3fbf3b(0x15b)][_0x3fbf3b(0x19b)]]:[''],[t[_0x3fbf3b(0x15b)][_0x3fbf3b(0x252)]]:[b],[t[_0x3fbf3b(0x15b)][_0x3fbf3b(0x121)]]:[x,S,C],[t[_0x3fbf3b(0x15b)][_0x3fbf3b(0x1d5)]]:[w],[t[_0x3fbf3b(0x15b)][_0x3fbf3b(0x209)]]:[''],[t[_0x3fbf3b(0x15b)][_0x3fbf3b(0x136)]]:[''],[t['UniverInstanceType'][_0x3fbf3b(0x1d7)]]:[''],[t[_0x3fbf3b(0x15b)][_0x3fbf3b(0x1a1)]]:['']},E={[b]:'docx',[x]:_0x3fbf3b(0x20a),[S]:_0x3fbf3b(0x20f),[C]:_0x3fbf3b(0xfb),[w]:'pptx'};function re(_0x319391,_0x2a18c4,_0x2a863b){const _0x4fe5d3=_0x3fbf3b;let _0x5f2d7e=document[_0x4fe5d3(0x154)]('a');_0x5f2d7e[_0x4fe5d3(0x106)]=_0x319391,_0x5f2d7e[_0x4fe5d3(0x1fa)][_0x4fe5d3(0x132)]=_0x4fe5d3(0x229),_0x5f2d7e[_0x4fe5d3(0x189)]=_0x2a18c4+'.'+_0x2a863b,document[_0x4fe5d3(0x15a)]['appendChild'](_0x5f2d7e),_0x5f2d7e[_0x4fe5d3(0x205)](),document[_0x4fe5d3(0x15a)][_0x4fe5d3(0x1af)](_0x5f2d7e);}function D(_0x490398,_0xb19626,_0x215fc2){const _0x2496f5=_0x3fbf3b;let _0x4af3d9=URL[_0x2496f5(0x214)](_0x490398);re(_0x4af3d9,_0xb19626,_0x215fc2),URL[_0x2496f5(0x1c9)](_0x4af3d9);}function O(_0x532026){const _0x1348ca=_0x3fbf3b;let _0xbcc3d8=_0x532026['name'][_0x1348ca(0x215)]('.')[_0x1348ca(0x1a0)]();if(!_0xbcc3d8)return t['UniverInstanceType'][_0x1348ca(0x19b)];let _0x20a294=ie(),_0x21ce48=t[_0x1348ca(0x15b)][_0x1348ca(0x19b)];return _0x20a294[_0x1348ca(0x113)](_0x209dc7=>ae(_0xbcc3d8,_0x209dc7)?(_0x21ce48=_0x209dc7,!0x0):!0x1),_0x21ce48;}function ie(){const _0xa0013a=_0x3fbf3b;return Object['values'](t[_0xa0013a(0x15b)])[_0xa0013a(0x157)](_0x5800d8=>typeof _0x5800d8==_0xa0013a(0xf5));}function ae(_0x2e3a09,_0x787bbe){const _0x27af71=_0x3fbf3b;var _0x4757d4;return((_0x4757d4=T[_0x787bbe])==null?[]:_0x4757d4)[_0x27af71(0x163)](_0x33a043=>(E[_0x33a043]||'')[_0x27af71(0x153)]())['includes'](_0x2e3a09['toLowerCase']());}function k(_0x2f2d31,_0x59031b=!0x1){const _0x29cb56=_0x3fbf3b;let _0x4a9af4=_0x2f2d31[_0x29cb56(0x163)](_0x47c8a6=>{var _0x4268a5;return(_0x4268a5=T[_0x47c8a6])==null?[]:_0x4268a5;})[_0x29cb56(0x134)](',');return new Promise((_0x273232,_0x5e605b)=>{const _0x425b8e=_0x29cb56;let _0x4add1d=document[_0x425b8e(0x154)](_0x425b8e(0x257));_0x4add1d[_0x425b8e(0x18f)]=_0x425b8e(0x115),_0x4add1d['accept']=_0x4a9af4,_0x4add1d['multiple']=_0x59031b,_0x4add1d['addEventListener'](_0x425b8e(0x146),_0x23635a=>{const _0x413026=_0x425b8e;let _0x815fd3=_0x23635a[_0x413026(0x17f)];if(!_0x815fd3[_0x413026(0x139)]||_0x815fd3[_0x413026(0x139)]['length']===0x0)throw _0x5e605b(null),Error('No\x20file\x20selected');_0x273232(_0x815fd3['files']);}),_0x4add1d[_0x425b8e(0x205)]();});}async function A(_0x385eb4,_0x4245df){const _0x41b2ce=_0x3fbf3b;try{var _0x1903b2,_0x2fcd7f,_0x5ec554;let _0x1938eb=await _0x4245df[_0x41b2ce(0x160)](_0x385eb4,{'responseType':_0x41b2ce(0x11d)}),_0x538467=_0x1938eb[_0x41b2ce(0x15a)],_0x47a53c=(_0x1903b2=(_0x2fcd7f=_0x1938eb[_0x41b2ce(0x1cf)][_0x41b2ce(0x160)](_0x41b2ce(0x1ea)))==null?void 0x0:_0x2fcd7f['join'](',\x20'))==null?_0x41b2ce(0x1d6):_0x1903b2,_0x14181d='file.'+(E[_0x47a53c]||_0x41b2ce(0x20a)),_0x4fd8af=(_0x5ec554=_0x1938eb[_0x41b2ce(0x1cf)][_0x41b2ce(0x160)](_0x41b2ce(0x24f)))==null?void 0x0:_0x5ec554[_0x41b2ce(0x134)](',\x20');if(_0x4fd8af){let _0x2bdf8d=_0x4fd8af[_0x41b2ce(0x158)](/filename=(.+)/);_0x2bdf8d&&_0x2bdf8d[0x1]&&(_0x14181d=_0x2bdf8d[0x1]);}else _0x14181d=oe(_0x385eb4)||_0x14181d;return new File([_0x538467],_0x14181d,{'type':_0x47a53c});}catch(_0x2443bc){console['error'](_0x41b2ce(0x1cd),_0x2443bc);return;}}function oe(_0x484f7c){const _0x5e094f=_0x3fbf3b;try{return new URL(_0x484f7c)[_0x5e094f(0xe8)][_0x5e094f(0x215)]('/')[_0x5e094f(0x1a0)]();}catch(_0x372fc8){console['error']('Error\x20getting\x20file\x20name\x20from\x20URL:',_0x372fc8);return;}}function se(_0x3e6942){const _0x19e8e5=_0x3fbf3b;let _0x21b8c7=new Blob([_0x3e6942['buffer']],{'type':_0x19e8e5(0xeb)});return new File([_0x21b8c7],_0x19e8e5(0x18d));}function _0x7c4a(){const _0x4c2983=['progress$','floor','download','upload\x20failed:\x20missing\x20FileId\x20in\x20response','title','univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden','file.json','importXLSXToUnitId','type','has','UNDEFINED','visible$','Subject','interrupt','_httpService','Plugin','_upload','importPPTXToUnitId','copyFileMeta','IExchangeService','UNIVER_UNKNOWN','signUrl','disableCellImageConversion','pending','HTTPService','pop','UNRECOGNIZED','doc','_logService','FileId','exchange-client.downloading','_getIgnoreTableExport','getOwnPropertyDescriptor','sign\x20url\x20error','_getUnitDocJson','3103837RBZpgr','_uploadNotificationService','univer-flex','univer-pl-2\x20univer-pr-4','_list','removeChild','exchange-client.networkError','resolve','defineProperty','_config','Failed\x20to\x20get\x20jsonID\x20from\x20task','_export','_getEnableServerSideComputing','_getUnitIDDoc','fetchMissingChangesets','{taskID}','location','hide','_import','workbook','_exportBySnapshot','touchDependencies','ILogService','complete','noreferrer','Failed\x20to\x20parse\x20json','_extractErrorDetail','getCurrentUnitOfType','exchange-client.cancel','97097GrOCwp','_configService','revokeObjectURL','import','transformSlideDataToSnapshot','1187244eMcfAn','Error\x20fetching\x20file\x20from\x20URL:','exchange-client.uploadAgain','headers','decorate','SuccessIcon','Failed\x20to\x20transform\x20snapshot\x20to\x20string','subscribe','iterator','UNIVER_SLIDE','application/octet-stream','UNIVER_PROJECT','importWorkbookDataToUnitId','slide','Injector','getTextFromUrl','uploadFileServerUrl','stringify','getConfig','_addTotalCount','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','upload\x20failed:\x20FileId\x20is\x20empty','IExchangeOperateService','workbook.json','symbol','\x20-\x20','exchange-client.downloadSuccess','Disposable','link','code','Content-Type','_getSignURL','FileSource','univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','asObservable','url','.json','exchange-client.uploadSuccess','post','CloseIcon','taskID','univer-text-red-500','exchange-client.tooLarge','SlidesMultiIcon','version','exportServerUrl','style','toPrimitive','getDeserializedSheetBlock','_getMinSheetRowCount','DocsMultiIcon','replace','application/vnd.openxmlformats-officedocument.presentationml.presentation','_taskInterrupted','_getLinkByUnitId','_showUploadMessage','exchange-client.uploading','click','min','getUnitId','sheetBlocks','UNIVER_BASE','xlsx','upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url','_importFileToUnitId','resources','importFileToUnitId','xlsm','merge','univer-flex\x20univer-h-5\x20univer-text-xl','jsx','application/vnd.ms-excel.sheet.macroEnabled.12','createObjectURL','split','_injector','130057XMgeVN','5iSSUMj','data','textDecoder','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2','requestState$','8PPIdAV','_showNetworkError','sheets','snapshot','univer-text-sm\x20univer-text-gray-500','HTTPResponseError','_registerComponents','_getTaskURL','string','disposeUnit','_getUnitIDSlide','exportDOCXByUnitId','none','_getUploadFileURL','createIdentifier','88180IrcPOQ','pushLink','getUnitType','application/vnd.openxmlformats-officedocument.spreadsheetml.template','show','statusText','_progress$','Failed\x20to\x20get\x20file\x20from\x20url','CONNECTOR_DATA_TOO_LARGE','/universer-api/exchange/{type}/export','_getUnitName','registerComponent','toDisposable','options','univer-mb-3\x20univer-py-0\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','toString','append','_sheetBlockCache','importFileToUnitIdByCurrentType','univer-ml-1.5\x20univer-font-semibold\x20univer-leading-6\x20univer-text-gray-900\x20dark:!univer-text-white','name','getTaskServerUrl','_uiPartsService','Method\x20not\x20implemented.','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','importFileToJson','clearTaskInterrupted','_completeProgress','updateSnapshot','set','_importTaskId','ShareRangeIcon','_fileTypeError','_clearProgress','_getDownloadEndpointURL','content-disposition','Tooltip','function','UNIVER_DOC','add','univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','_emitProgress','unit','input','message','isArray','univer-h-7\x20univer-cursor-pointer\x20univer-select-none\x20univer-rounded-md\x20univer-border-0\x20univer-border-transparent\x20univer-bg-transparent\x20univer-px-2\x20univer-py-0\x20univer-text-sm\x20univer-text-primary-600\x20univer-transition-all\x20univer-duration-150\x20hover:univer-bg-primary-50','_state$','univer-flex\x20univer-justify-between\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-py-1\x20univer-text-gray-900\x20univer-no-underline\x20univer-outline-none\x20univer-transition-colors\x20hover:univer-bg-gray-200\x20dark:!univer-text-white\x20dark:hover:!univer-bg-gray-600','text','_univerInstanceService','getSheetBlocksFromSnapshot','LocaleService','signUrlServerUrl','/universer-api/exchange/{type}/import','createUnit','default','_uploadTaskNotDone','saveSnapshot','next','exportDOCXBySnapshot','export','exportXLSXByUnitId','3YILOwV','Failed\x20to\x20get\x20taskID\x20from\x20import\x20response','blockID','exportPPTXBySnapshot','exchange-client.uploadSuccessTip','originalMeta','pathname','INTERNAL_ERROR','b64EncodeUnicode','application/json','decode','_requestState$','SheetsMultiIcon','Info','exchange-client.fileTypeError','maxTimeoutTime','{fileID}','scrollbarClassName','useEffect','number','importXLSXToSnapshot',':\x20HTTP\x20','Inject','catch','_buildProtocolErrorMessage','xltx','div','univer-text-green-500','_doneUploadTaskCount','_getImportURL','button','registerLink','_getUnitJson','Success','UniverNetworkPlugin','clsx','href','getSheetBlock','UniverLicensePlugin','transformSnapshotToWorkbookData','_blank','trim','exchange-client.config','470574aDgFLH','Warning','HttpImport','unsubscribe','univer-mt-5\x20univer-flex\x20univer-flex-col','dispose','some','Error','file','object','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','span','_exchangeService','status','_refresh','enableServerSideComputing','blob','univer-fixed\x20univer-bottom-12\x20univer-right-3\x20univer-z-[1000]\x20univer-box-border\x20univer-flex\x20univer-w-[372px]\x20univer-flex-col\x20univer-rounded-md\x20univer-bg-white\x20univer-px-3\x20univer-pb-4\x20univer-pt-5\x20univer-shadow-md','BehaviorSubject','_buildHttpErrorMessage','UNIVER_SHEET','IMessageService','exchange-client.interrupt','forEach','transformWorkbookDataToSnapshot','getSnapshot','saveUnit','1.0.0-alpha.3','MessageType','_getUnitSlideJson','exportPPTXByUnitId','searchParams','importDOCXToSnapshot','textEncoder','parse','interruptImportTask','_showDownloadMessage','display','error','join','getTask','UNIVER_BOARD','minSheetColumnCount','ErrorCode','files','_getUnitNameByType','exportXLSXBySnapshot','updateState','_list$','_iconManager','resolveWithBasePath','importPPTXToSnapshot','shift','disposeWithMe','univer-pro.exchange-client.request.service','transformDocumentDataToSnapshot','register','change','_requestService','univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','Get\x20outputType\x20error','export\x20error','univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','useObservable','setConfig','_visible$','registerDependencies','_registerIcons','_getUnitID','b64DecodeUnicode','toLowerCase','createElement','_getDisableCellImageConversion','setTaskInterrupted','filter','match','transformSnapshotToDocumentData','body','UniverInstanceType','_resourceLoaderService','upload','univer-flex\x20univer-size-6\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-text-gray-500\x20univer-transition-colors\x20hover:univer-bg-gray-200\x20dark:!univer-bg-gray-600','_messageService','get','success','univer-pro.exchange-client.exchange.service','map','jsxs','pluginName','IconManager','40hQnNNE','_addDoneTask','CONTENT','call','keys','saveSheetBlock','length','IConfigService','importDOCXToUnitId','packageName','downloadFile','docx','_localeService','_getExportURL','_totalUploadTaskCount','useDependency','ErrorIcon','useState','rev','downloadEndpointUrl','&flate=','pptx','list$','importServerUrl','currentTarget','_getMaxPollingTime','642898gxwums','_signUrl','connectInjector','_importToJson','state$','_getMinSheetColumnCount'];_0x7c4a=function(){return _0x4c2983;};return _0x7c4a();}function j(_0x3760ae,_0x408811){const _0x4748af=_0x3fbf3b;return _0x3760ae[_0x4748af(0x1ff)]('{type}',_0x408811);}function ce(_0x4f2d2f,_0x2b8d36){const _0xd64a63=_0x3fbf3b;return _0x4f2d2f['replace'](_0xd64a63(0x1b9),_0x2b8d36);}function le(_0x363e48,_0x5aa8d5){const _0x2b3043=_0x3fbf3b;return _0x363e48[_0x2b3043(0x1ff)](_0x2b3043(0xf2),_0x5aa8d5);}function M(_0xeee525,_0x3e16d3){return function(_0x5469ec,_0x55dc14){_0x3e16d3(_0x5469ec,_0x55dc14,_0xeee525);};}function N(_0xdd19ba,_0x277149,_0xb193e2,_0x4e1045){const _0x4b3f7a=_0x3fbf3b;var _0x2b5057=arguments[_0x4b3f7a(0x16d)],_0x342a6e=_0x2b5057<0x3?_0x277149:_0x4e1045===null?_0x4e1045=Object[_0x4b3f7a(0x1a7)](_0x277149,_0xb193e2):_0x4e1045,_0x61b190;if(typeof Reflect==_0x4b3f7a(0x116)&&typeof Reflect[_0x4b3f7a(0x1d0)]==_0x4b3f7a(0x251))_0x342a6e=Reflect['decorate'](_0xdd19ba,_0x277149,_0xb193e2,_0x4e1045);else{for(var _0x12a2c8=_0xdd19ba[_0x4b3f7a(0x16d)]-0x1;_0x12a2c8>=0x0;_0x12a2c8--)(_0x61b190=_0xdd19ba[_0x12a2c8])&&(_0x342a6e=(_0x2b5057<0x3?_0x61b190(_0x342a6e):_0x2b5057>0x3?_0x61b190(_0x277149,_0xb193e2,_0x342a6e):_0x61b190(_0x277149,_0xb193e2))||_0x342a6e);}return _0x2b5057>0x3&&_0x342a6e&&Object[_0x4b3f7a(0x1b2)](_0x277149,_0xb193e2,_0x342a6e),_0x342a6e;}const P=(0x0,t['createIdentifier'])(_0x3fbf3b(0x143));let F=class{constructor(_0x7f8e0,_0x1b4193){const _0x321ad2=_0x3fbf3b;this[_0x321ad2(0x1c8)]=_0x7f8e0,this[_0x321ad2(0x195)]=_0x1b4193,v(this,'_taskInterrupted',new Set());}[_0x3fbf3b(0x112)](){}['setTaskInterrupted'](_0x5ba0b1){const _0x1b1d0b=_0x3fbf3b;this[_0x1b1d0b(0x201)][_0x1b1d0b(0x253)](_0x5ba0b1);}[_0x3fbf3b(0x246)](){const _0x2c487e=_0x3fbf3b;this[_0x2c487e(0x201)]['clear']();}async[_0x3fbf3b(0x15d)](_0x432292,_0x28d3dd=0x0,_0x2bb178=!0x1){const _0x2f06a0=_0x3fbf3b;if(typeof _0x432292==_0x2f06a0(0x225)){let _0xaf6b5d=await A(_0x432292,this['_httpService']);if(!_0xaf6b5d)throw Error(_0x2f06a0(0x20b));_0x432292=_0xaf6b5d;}_0x28d3dd=_0x28d3dd||_0x432292['size'];let _0x319be2=new FormData();_0x319be2[_0x2f06a0(0x23c)](_0x2f06a0(0x115),_0x432292);try{let _0x14d6fc=this[_0x2f06a0(0x22a)]()+'?size='+_0x28d3dd+'&source='+l[_0x2f06a0(0x1ec)][_0x2f06a0(0x10f)]+_0x2f06a0(0x17b)+_0x2bb178,_0x36895a={'body':_0x319be2},_0x5a5e10=(await this['_httpService']['post'](_0x14d6fc,_0x36895a))[_0x2f06a0(0x15a)];if(_0x5a5e10[_0x2f06a0(0x133)]&&_0x5a5e10[_0x2f06a0(0x133)][_0x2f06a0(0x1e9)]!==l[_0x2f06a0(0x138)]['OK'])throw Error(this['_buildProtocolErrorMessage']('upload\x20request\x20failed',_0x5a5e10[_0x2f06a0(0x133)]));return _0x5a5e10;}catch(_0x29e438){throw _0x29e438 instanceof Error?_0x29e438:Error(this['_buildHttpErrorMessage']('upload\x20request\x20failed',_0x29e438));}}async['import'](_0x430394){const _0x3d6710=_0x3fbf3b;let {fileID:_0x294427,type:_0xe28928,outputType:_0xd9ea57,minSheetColumnCount:_0x1e5e27,minSheetRowCount:_0x54696a}=_0x430394;try{let _0x269cc4=j(this[_0x3d6710(0xff)](),''+_0xe28928),_0x27e67e={'body':{'fileID':_0x294427,'outputType':_0xd9ea57,'minSheetColumnCount':_0x1e5e27,'minSheetRowCount':_0x54696a}},_0x558ecd=(await this[_0x3d6710(0x195)]['post'](_0x269cc4,_0x27e67e))[_0x3d6710(0x15a)];return _0x558ecd[_0x3d6710(0x133)]&&_0x558ecd[_0x3d6710(0x133)][_0x3d6710(0x1e9)]!==l[_0x3d6710(0x138)]['OK']?void 0x0:_0x558ecd;}catch{return;}}async['export'](_0x44705c){const _0x5bae26=_0x3fbf3b;let {unitID:_0x57c992,jsonID:_0x4b5071,type:_0x3f1c45,sscSwitch:_0x1413ec,useImageUrl:_0x2d9e9c,ignoreTableExport:_0x5d9124}=_0x44705c;try{let _0x26ca58=j(this[_0x5bae26(0x174)](),''+_0x3f1c45),_0x43d259={'body':{'unitID':_0x57c992,'jsonID':_0x4b5071,'type':_0x3f1c45,'sscSwitch':_0x1413ec,'useImageUrl':_0x2d9e9c,'ignoreTableExport':_0x5d9124}},_0x5f36ef=(await this[_0x5bae26(0x195)][_0x5bae26(0x1f2)](_0x26ca58,_0x43d259))[_0x5bae26(0x15a)];return _0x5f36ef[_0x5bae26(0x133)]&&_0x5f36ef[_0x5bae26(0x133)][_0x5bae26(0x1e9)]!==l[_0x5bae26(0x138)]['OK']?void 0x0:_0x5f36ef;}catch{return;}}async[_0x3fbf3b(0x135)](_0x5df06b){return new Promise((_0x59458c,_0x1a2c5c)=>{const _0x3132c6=_0x338d;try{let _0x3d5111=0x0,_0x596ce5=ce(this[_0x3132c6(0x224)](),''+_0x5df06b),_0x4f51cd=this[_0x3132c6(0x180)](),_0x2d6f51=async()=>{const _0x4773e3=_0x3132c6;if(this[_0x4773e3(0x201)][_0x4773e3(0x190)](_0x5df06b))return;let _0x31cb1e=(await this[_0x4773e3(0x195)][_0x4773e3(0x160)](_0x596ce5))[_0x4773e3(0x15a)];if(_0x31cb1e['error']&&_0x31cb1e[_0x4773e3(0x133)][_0x4773e3(0x1e9)]===l[_0x4773e3(0x138)]['OK']){if(_0x31cb1e[_0x4773e3(0x11a)]==='done')_0x59458c(_0x31cb1e);else{if(_0x31cb1e[_0x4773e3(0x11a)]===_0x4773e3(0x19e)){let _0x53ae62=0x3e8;if(_0x3d5111>=_0x4f51cd){_0x1a2c5c(_0x31cb1e);return;}else _0x3d5111>=0x7530&&(_0x53ae62=0x1388);_0x3d5111+=_0x53ae62,setTimeout(_0x2d6f51,_0x53ae62);}else _0x1a2c5c(_0x31cb1e);}}else _0x1a2c5c(_0x31cb1e);};_0x2d6f51();}catch(_0x3465ba){_0x1a2c5c(_0x3465ba instanceof Error?_0x3465ba:Error(String(_0x3465ba)));}});}async[_0x3fbf3b(0x19c)](_0x50579d){const _0xe744a=_0x3fbf3b;try{let _0x203c3e=le(this[_0xe744a(0x1eb)](),''+_0x50579d);return(await this[_0xe744a(0x195)][_0xe744a(0x160)](_0x203c3e))['body'];}catch{return;}}async['getTextFromUrl'](_0x38de79){const _0x15fc39=_0x3fbf3b;try{return(await this[_0x15fc39(0x195)][_0x15fc39(0x160)](_0x38de79,{'responseType':_0x15fc39(0x25d)}))[_0x15fc39(0x15a)];}catch{return;}}[_0x3fbf3b(0xfa)](_0x2d5975,_0x87ae8c){let _0x5d1b88=this['_extractErrorDetail'](_0x87ae8c);return _0x5d1b88?_0x2d5975+':\x20'+_0x5d1b88:_0x2d5975;}[_0x3fbf3b(0x120)](_0x1acb97,_0x435acf){const _0x38018b=_0x3fbf3b;if(_0x435acf instanceof n[_0x38018b(0x222)]){let _0x4675a5=typeof _0x435acf[_0x38018b(0x11a)]==_0x38018b(0xf5)?''+_0x435acf[_0x38018b(0x11a)]+(_0x435acf[_0x38018b(0x231)]?'\x20'+_0x435acf[_0x38018b(0x231)]:''):void 0x0,_0xa15fb8=this[_0x38018b(0x1c4)](_0x435acf[_0x38018b(0x133)]);return _0x4675a5&&_0xa15fb8?_0x1acb97+_0x38018b(0xf7)+_0x4675a5+_0x38018b(0x1e5)+_0xa15fb8:_0x4675a5?_0x1acb97+_0x38018b(0xf7)+_0x4675a5:_0xa15fb8?_0x1acb97+':\x20'+_0xa15fb8:_0x1acb97;}let _0x5276a4=this['_extractErrorDetail'](_0x435acf);return _0x5276a4?_0x1acb97+':\x20'+_0x5276a4:_0x1acb97;}[_0x3fbf3b(0x1c4)](_0x10b050){const _0x2610c3=_0x3fbf3b;if(typeof _0x10b050==_0x2610c3(0x225)){let _0x8496b6=_0x10b050[_0x2610c3(0x10b)]();return _0x8496b6[_0x2610c3(0x16d)]>0x0?_0x8496b6:void 0x0;}if(_0x10b050 instanceof Error)return this[_0x2610c3(0x1c4)](_0x10b050[_0x2610c3(0x258)]);if(!_0x10b050||typeof _0x10b050!=_0x2610c3(0x116)||Array[_0x2610c3(0x259)](_0x10b050))return;let _0x191dd4=_0x10b050,_0x3701df=this[_0x2610c3(0x1c4)](_0x191dd4[_0x2610c3(0x258)]);if(_0x3701df)return _0x3701df;if(_0x191dd4[_0x2610c3(0x133)]&&typeof _0x191dd4['error']=='object'&&!Array[_0x2610c3(0x259)](_0x191dd4[_0x2610c3(0x133)])){let _0x559300=this[_0x2610c3(0x1c4)](_0x191dd4[_0x2610c3(0x133)]);if(_0x559300)return _0x559300;}}[_0x3fbf3b(0x22a)](){const _0x1a70df=_0x3fbf3b;var _0x169476;let _0x37a889=this['_configService'][_0x1a70df(0x1de)](m);return(_0x169476=_0x37a889==null?void 0x0:_0x37a889[_0x1a70df(0x1dc)])==null?'/universer-api/stream/file/upload':_0x169476;}[_0x3fbf3b(0xff)](){const _0x19df88=_0x3fbf3b;var _0x1e906b;let _0xe4ca31=this[_0x19df88(0x1c8)][_0x19df88(0x1de)](m);return(_0x1e906b=_0xe4ca31==null?void 0x0:_0xe4ca31[_0x19df88(0x17e)])==null?_0x19df88(0x262):_0x1e906b;}[_0x3fbf3b(0x174)](){const _0xa93f99=_0x3fbf3b;var _0x195b98;let _0x2622b7=this[_0xa93f99(0x1c8)][_0xa93f99(0x1de)](m);return(_0x195b98=_0x2622b7==null?void 0x0:_0x2622b7[_0xa93f99(0x1f9)])==null?_0xa93f99(0x235):_0x195b98;}[_0x3fbf3b(0x224)](){const _0x1cd3cb=_0x3fbf3b;var _0x27113c;let _0x4dda62=this[_0x1cd3cb(0x1c8)]['getConfig'](m);return(_0x27113c=_0x4dda62==null?void 0x0:_0x4dda62[_0x1cd3cb(0x241)])==null?'/universer-api/exchange/task/{taskID}':_0x27113c;}[_0x3fbf3b(0x1eb)](){const _0x416686=_0x3fbf3b;var _0x494138;let _0x590b34=this[_0x416686(0x1c8)]['getConfig'](m);return(_0x494138=_0x590b34==null?void 0x0:_0x590b34[_0x416686(0x261)])==null?'/universer-api/file/{fileID}/sign-url':_0x494138;}['_getMaxPollingTime'](){const _0x3b6e2e=_0x3fbf3b;var _0x4d5064;let _0x281913=this[_0x3b6e2e(0x1c8)]['getConfig'](m);return(_0x4d5064=_0x281913==null?void 0x0:_0x281913[_0x3b6e2e(0xf1)])==null?0x1d4c0:_0x4d5064;}};F=N([M(0x0,t[_0x3fbf3b(0x16e)]),M(0x1,(0x0,t[_0x3fbf3b(0xf8)])(n[_0x3fbf3b(0x19f)]))],F);function I(_0x1ebe50){const _0x41b872=_0x3fbf3b;let _0x4a4520=_0x1ebe50[_0x41b872(0x1bd)];if(!_0x4a4520)return null;let _0x364683={};_0x4a4520[_0x41b872(0x21f)]&&Object[_0x41b872(0x16b)](_0x4a4520[_0x41b872(0x21f)])[_0x41b872(0x124)](_0x5d902e=>{const _0xcc4f0f=_0x41b872;let _0x6df2c2=_0x4a4520[_0xcc4f0f(0x21f)][_0x5d902e];_0x364683[_0x5d902e]={..._0x6df2c2,'originalMeta':(0x0,u[_0xcc4f0f(0xea)])(u[_0xcc4f0f(0x21a)][_0xcc4f0f(0xec)](_0x6df2c2[_0xcc4f0f(0xe7)]))};});let _0x555e5d=(0x0,u['b64EncodeUnicode'])(u[_0x41b872(0x21a)][_0x41b872(0xec)](_0x4a4520[_0x41b872(0xe7)]));return{..._0x1ebe50,'workbook':{..._0x4a4520,'originalMeta':_0x555e5d,'sheets':_0x364683},'doc':{},'slide':void 0x0,'board':void 0x0};}function L(_0x88a4ee){const _0x37d5b4=_0x3fbf3b;let _0xbe7e97=_0x88a4ee['doc'];if(!_0xbe7e97)return null;let _0x2ee4ad=(0x0,u[_0x37d5b4(0xea)])(u[_0x37d5b4(0x21a)][_0x37d5b4(0xec)](_0xbe7e97['originalMeta']));return{..._0x88a4ee,'workbook':{},'doc':{..._0xbe7e97,'originalMeta':_0x2ee4ad},'slide':void 0x0,'board':void 0x0};}function R(_0x15c5b9){const _0x309630=_0x3fbf3b;var _0x5cdaac;let _0x3e3b65=(_0x5cdaac=_0x15c5b9[_0x309630(0x1d9)])==null?_0x15c5b9[_0x309630(0x1a2)]:_0x5cdaac;if(!_0x3e3b65)return null;let _0x1ed725=typeof _0x3e3b65['originalMeta']=='string'?_0x3e3b65[_0x309630(0xe7)]:(0x0,u[_0x309630(0xea)])(u['textDecoder'][_0x309630(0xec)](_0x3e3b65[_0x309630(0xe7)]));return{..._0x15c5b9,'workbook':{},'doc':{},'slide':{..._0x3e3b65,'originalMeta':_0x1ed725},'board':void 0x0};}function z(_0x467425){const _0x1cc101=_0x3fbf3b;let _0x411d56={};return _0x467425[_0x1cc101(0x124)](_0x1ecf39=>{const _0x1b2447=_0x1cc101;_0x411d56[_0x1ecf39['id']]={..._0x1ecf39,'data':(0x0,u['b64EncodeUnicode'])(u[_0x1b2447(0x21a)]['decode'](_0x1ecf39['data']))};}),_0x411d56;}async function B(_0x36cc30){const _0x21a985=_0x3fbf3b;var _0x4f1e6a;let _0x3e20dc={'metadata':void 0x0},_0xa92b7=_0x36cc30['id'],_0x3850ef=(_0x4f1e6a=_0x36cc30['rev'])==null?0x0:_0x4f1e6a,_0x134c34=new W(),{snapshot:_0x55fb6d}=await(0x0,u[_0x21a985(0x125)])(_0x3e20dc,_0x36cc30,_0xa92b7,_0x3850ef,_0x134c34),_0x35c318=await(0x0,u[_0x21a985(0x25f)])(_0x55fb6d,_0x134c34),_0x1100de=I(_0x55fb6d);if(!_0x1100de)throw Error('Failed\x20to\x20transform\x20snapshot\x20to\x20string');return{'snapshot':_0x1100de,'sheetBlocks':z(_0x35c318)};}async function V(_0x5aa42e){const _0x11cf29=_0x3fbf3b;var _0x26df47;let _0x4f044b={'metadata':void 0x0},_0x37ccca=_0x5aa42e['id'],{snapshot:_0x501216}=await(0x0,u[_0x11cf29(0x144)])(_0x4f044b,_0x5aa42e,_0x37ccca,(_0x26df47=_0x5aa42e[_0x11cf29(0x179)])==null?0x0:_0x26df47,new W()),_0x8a9929=L(_0x501216);if(!_0x8a9929)throw Error(_0x11cf29(0x1d2));return{'snapshot':_0x8a9929,'sheetBlocks':{}};}async function H(_0x239f14){const _0x5a2661=_0x3fbf3b;var _0x1aec00;let _0x1a4730=_0x239f14['id'],_0x1ad4f1=(_0x1aec00=_0x239f14['rev'])==null?0x0:_0x1aec00,_0x121fe6=new W(),{snapshot:_0x3d8e4a}=await(0x0,u[_0x5a2661(0x1cb)])(_0x239f14[_0x5a2661(0x20d)],_0x239f14,_0x1a4730,_0x1ad4f1,_0x121fe6),_0x5d13c4=R(_0x3d8e4a);if(!_0x5d13c4)throw Error('Failed\x20to\x20transform\x20snapshot\x20to\x20string');return{'snapshot':_0x5d13c4,'sheetBlocks':{}};}async function U(_0x48023e){const _0x47f360=_0x3fbf3b;let _0x36118d=_0x48023e['snapshot'],_0x53dbaf=_0x48023e[_0x47f360(0x208)]||{};return await(0x0,u[_0x47f360(0x109)])(_0x36118d,Object['keys'](_0x53dbaf)[_0x47f360(0x163)](_0x3f8980=>_0x53dbaf[_0x3f8980])[_0x47f360(0x163)](_0x5e2e3f=>({..._0x5e2e3f,'data':_0x5e2e3f[_0x47f360(0x219)]?JSON[_0x47f360(0x12f)]((0x0,u[_0x47f360(0x152)])(_0x5e2e3f[_0x47f360(0x219)])):void 0x0})));}function ue(_0x176fbe){const _0x1192c2=_0x3fbf3b;let _0x211896=_0x176fbe[_0x1192c2(0x220)];return(0x0,u[_0x1192c2(0x159)])(_0x211896);}function de(_0x44ed67){const _0x35f857=_0x3fbf3b;let _0x4d73d3=_0x44ed67[_0x35f857(0x220)];return(0x0,u['transformSnapshotToSlideData'])(_0x4d73d3);}var W=class{constructor(){v(this,'_sheetBlockCache',new Map());}['getUnitOnRev'](){const _0x430d2b=_0x3fbf3b;return Promise[_0x430d2b(0x1b1)]({'snapshot':{'unitID':'','type':t[_0x430d2b(0x15b)][_0x430d2b(0x121)],'rev':0x0,'workbook':void 0x0,'doc':void 0x0,'slide':void 0x0,'board':void 0x0},'changesets':[],'error':{'code':l[_0x430d2b(0x138)]['OK'],'message':''}});}[_0x3fbf3b(0x107)](_0x3cef99,_0x3981b2){const _0xb3ee14=_0x3fbf3b;let _0x452f4f=this[_0xb3ee14(0x23d)][_0xb3ee14(0x160)](_0x3981b2[_0xb3ee14(0xe4)]);return Promise[_0xb3ee14(0x1b1)]({'block':_0x452f4f,'error':{'code':l['ErrorCode']['OK'],'message':''}});}[_0x3fbf3b(0x1fc)](_0x1c1770,_0x40ce79){const _0x901b10=_0x3fbf3b;let _0xc76341=this[_0x901b10(0x23d)]['get'](_0x40ce79[_0x901b10(0xe4)]);return Promise[_0x901b10(0x1b1)]({'block':_0xc76341===void 0x0?void 0x0:{..._0xc76341,'data':JSON[_0x901b10(0x12f)](u[_0x901b10(0x21a)]['decode'](_0xc76341[_0x901b10(0x219)]))},'error':{'code':l[_0x901b10(0x138)]['OK'],'message':''}});}[_0x3fbf3b(0x1b8)](){const _0x2cdd34=_0x3fbf3b;return Promise[_0x2cdd34(0x1b1)]({'changesets':[],'error':{'code':l[_0x2cdd34(0x138)]['OK'],'message':''}});}['getResourcesRequest'](){const _0x150445=_0x3fbf3b;return Promise[_0x150445(0x1b1)]({'resources':{},'error':{'code':l['ErrorCode']['OK'],'message':''}});}[_0x3fbf3b(0xdd)](){const _0x5690f7=_0x3fbf3b;return Promise[_0x5690f7(0x1b1)]({'error':{'code':l[_0x5690f7(0x138)]['OK'],'message':''}});}[_0x3fbf3b(0x248)](){const _0x3ed9bd=_0x3fbf3b;return Promise[_0x3ed9bd(0x1b1)]({'error':{'code':l['ErrorCode']['OK'],'message':''}});}[_0x3fbf3b(0x16c)](_0x1c9a09,_0x3eb1a7){const _0x5eddbf=_0x3fbf3b;let {block:_0x43cbb2}=_0x3eb1a7;return _0x43cbb2?(this[_0x5eddbf(0x23d)][_0x5eddbf(0x249)](_0x43cbb2['id'],_0x43cbb2),Promise[_0x5eddbf(0x1b1)]({'error':{'code':l['ErrorCode']['OK'],'message':''},'blockID':_0x43cbb2['id']})):Promise[_0x5eddbf(0x1b1)]({'error':{'code':l[_0x5eddbf(0x138)][_0x5eddbf(0x191)],'message':'block\x20is\x20required'},'blockID':''});}['saveChangeset'](){const _0x2a83aa=_0x3fbf3b;return Promise[_0x2a83aa(0x1b1)]({'error':{'code':l[_0x2a83aa(0x138)]['OK'],'message':''},'concurrent':[]});}[_0x3fbf3b(0x199)](){const _0x59d90e=_0x3fbf3b;return Promise[_0x59d90e(0x1b1)]({'error':void 0x0,'fileMetaId':''});}['getLatestCsReqIdBySid'](){return Promise['resolve']({'error':void 0x0,'latestReqID':0x0});}};const G=(0x0,t[_0x3fbf3b(0x22b)])(_0x3fbf3b(0x162));let K=class extends t[_0x3fbf3b(0x1e7)]{constructor(_0x6a54eb,_0x5dc39a,_0x6963c8){const _0x3d7900=_0x3fbf3b;super(),this['_configService']=_0x6a54eb,this['_httpService']=_0x5dc39a,this[_0x3d7900(0x147)]=_0x6963c8,v(this,'_importTaskId',null),v(this,_0x3d7900(0xed),new o[(_0x3d7900(0x193))]()),v(this,'requestState$',this[_0x3d7900(0xed)]['asObservable']());}[_0x3fbf3b(0x112)](){const _0x42702f=_0x3fbf3b;super[_0x42702f(0x112)](),this['_requestState$'][_0x42702f(0x1c1)]();}async[_0x3fbf3b(0x12d)](_0x233e2d){const _0x2a8807=_0x3fbf3b;let _0x4a6f5e=await this[_0x2a8807(0x245)](_0x233e2d,t[_0x2a8807(0x15b)][_0x2a8807(0x252)]);if(!_0x4a6f5e||!_0x4a6f5e[_0x2a8807(0x220)])return;let _0x59a62f=ue(_0x4a6f5e);if(_0x59a62f)return _0x59a62f;}async[_0x3fbf3b(0x228)](_0x2a24e6){const _0x1b2248=_0x3fbf3b;return this[_0x1b2248(0x1b5)](_0x2a24e6,0x1,t[_0x1b2248(0x15b)]['UNIVER_DOC']);}async[_0x3fbf3b(0xdf)](_0x2dcb7c){const _0x155886=_0x3fbf3b;let _0x5aabf0=await V(_0x2dcb7c);return this[_0x155886(0x1be)](_0x5aabf0,t[_0x155886(0x15b)]['UNIVER_DOC']);}async[_0x3fbf3b(0x140)](_0x450d21){const _0x411a26=_0x3fbf3b;let _0x300e2c=await this[_0x411a26(0x245)](_0x450d21,t[_0x411a26(0x15b)][_0x411a26(0x1d5)]);if(!(!_0x300e2c||!_0x300e2c[_0x411a26(0x220)]))return de(_0x300e2c);}async[_0x3fbf3b(0x12b)](_0x333647){const _0x4b87e9=_0x3fbf3b;return this[_0x4b87e9(0x1b5)](_0x333647,0x1,t[_0x4b87e9(0x15b)][_0x4b87e9(0x1d5)]);}async[_0x3fbf3b(0xe5)](_0x2a5207){const _0x4563c4=_0x3fbf3b;let _0x2dea86=await H(_0x2a5207);return this[_0x4563c4(0x1be)](_0x2dea86,t['UniverInstanceType'][_0x4563c4(0x1d5)]);}async[_0x3fbf3b(0xf6)](_0x46e15b){const _0x5c238e=_0x3fbf3b;let _0x21f64a=await this[_0x5c238e(0x245)](_0x46e15b,t[_0x5c238e(0x15b)][_0x5c238e(0x121)]);if(!_0x21f64a)return;let _0x19dadc=await U(_0x21f64a);if(_0x19dadc)return _0x19dadc;}async[_0x3fbf3b(0xe1)](_0x49f5fa){const _0x2ec91c=_0x3fbf3b;return this[_0x2ec91c(0x1b5)](_0x49f5fa,0x1,t['UniverInstanceType'][_0x2ec91c(0x121)]);}async[_0x3fbf3b(0x13b)](_0x5da36c){const _0x1c2dc2=_0x3fbf3b;let _0x37a871=await B(_0x5da36c);return this[_0x1c2dc2(0x1be)](_0x37a871,t[_0x1c2dc2(0x15b)][_0x1c2dc2(0x121)]);}async[_0x3fbf3b(0x20e)](_0x381abc,_0xb422d9){const _0x11cb55=_0x3fbf3b;var _0x5f6ed8,_0x48a3bb;let _0x25282c=await this[_0x11cb55(0x197)](_0x381abc);if(!_0x25282c)return;let _0x395073=await this[_0x11cb55(0x1bc)](_0x25282c,0x1,_0xb422d9);if(!_0x395073)return;this[_0x11cb55(0x24a)]=_0x395073,this[_0x11cb55(0x147)][_0x11cb55(0x246)]();let _0x484244=await this[_0x11cb55(0x147)][_0x11cb55(0x135)](_0x395073)[_0x11cb55(0xf9)](_0x34f66c=>{const _0x435db0=_0x11cb55;var _0x432526;let _0x13b149=_0x34f66c instanceof Error?_0x34f66c[_0x435db0(0x258)]:(_0x432526=_0x34f66c[_0x435db0(0x133)])==null?void 0x0:_0x432526[_0x435db0(0x258)];this[_0x435db0(0xed)]['next']({'error':{'code':l[_0x435db0(0x138)][_0x435db0(0x1a1)],'message':_0x13b149||''},'state':0x3});});if(!_0x484244)return;let _0x56f2d2=(_0x5f6ed8=_0x484244['import'])==null?void 0x0:_0x5f6ed8['outputType'],_0x247c8d=((_0x48a3bb=_0x484244[_0x11cb55(0x1ca)])==null?void 0x0:_0x48a3bb['unitID'])||'';if(_0x56f2d2!==0x1){this[_0x11cb55(0xed)][_0x11cb55(0xde)]({'error':{'code':l[_0x11cb55(0x138)][_0x11cb55(0x1a1)],'message':_0x11cb55(0x149)},'state':0x3});return;}if(_0x247c8d['length']===0x0){this[_0x11cb55(0xed)][_0x11cb55(0xde)]({'error':{'code':l['ErrorCode'][_0x11cb55(0x1a1)],'message':'Failed\x20to\x20get\x20unitID\x20from\x20task'},'state':0x3});return;}return this['_requestState$'][_0x11cb55(0xde)]({'error':_0x484244[_0x11cb55(0x133)],'state':0x3}),_0x247c8d;}async[_0x3fbf3b(0x245)](_0x59627f,_0x53da9d){return this['_importToJson'](_0x59627f,_0x53da9d);}async[_0x3fbf3b(0x1d8)](_0x22f6c1){const _0x25ecd1=_0x3fbf3b;let _0x10e7ea=await B(_0x22f6c1),_0x69dc4e=typeof _0x22f6c1['id']==_0x25ecd1(0x225)&&_0x22f6c1['id']['trim']()?_0x22f6c1['id']['trim']()+_0x25ecd1(0x1f0):_0x25ecd1(0x1e3),_0x401ef6=new File([JSON[_0x25ecd1(0x1dd)](_0x10e7ea)],_0x69dc4e,{'type':_0x25ecd1(0xeb)});return this['importFileToUnitId'](_0x401ef6,t[_0x25ecd1(0x15b)][_0x25ecd1(0x121)]);}[_0x3fbf3b(0x130)](){const _0x16ace3=_0x3fbf3b;this[_0x16ace3(0x24a)]&&this[_0x16ace3(0x147)][_0x16ace3(0x156)](this['_importTaskId']);}async[_0x3fbf3b(0x184)](_0x9dbe9c,_0x40083a){const _0x1b5a3c=_0x3fbf3b;var _0x477f4a,_0x208fd0;let _0x4dd5e2=await this[_0x1b5a3c(0x197)](_0x9dbe9c);if(!_0x4dd5e2)return;let _0x11b072=await this[_0x1b5a3c(0x1bc)](_0x4dd5e2,0x2,_0x40083a);if(!_0x11b072)return;this[_0x1b5a3c(0x24a)]=_0x11b072,this[_0x1b5a3c(0x147)][_0x1b5a3c(0x246)]();let _0x23cf00=await this['_requestService'][_0x1b5a3c(0x135)](_0x11b072)[_0x1b5a3c(0xf9)](_0x13962a=>{const _0x2b2e1b=_0x1b5a3c;var _0x4ded83;let _0x32584e=_0x13962a instanceof Error?_0x13962a[_0x2b2e1b(0x258)]:(_0x4ded83=_0x13962a['error'])==null?void 0x0:_0x4ded83[_0x2b2e1b(0x258)];this['_requestState$'][_0x2b2e1b(0xde)]({'error':{'code':l['ErrorCode'][_0x2b2e1b(0x1a1)],'message':_0x32584e||''},'state':0x3});});if(!_0x23cf00)return;let _0xdf7435=(_0x477f4a=_0x23cf00[_0x1b5a3c(0x1ca)])==null?void 0x0:_0x477f4a['outputType'],_0x4a68f7=((_0x208fd0=_0x23cf00[_0x1b5a3c(0x1ca)])==null?void 0x0:_0x208fd0['jsonID'])||'';if(_0xdf7435!==0x2){this[_0x1b5a3c(0xed)]['next']({'error':{'code':l[_0x1b5a3c(0x138)][_0x1b5a3c(0x1a1)],'message':'Get\x20outputType\x20error'},'state':0x3});return;}if(_0x4a68f7['length']===0x0){this[_0x1b5a3c(0xed)][_0x1b5a3c(0xde)]({'error':{'code':l[_0x1b5a3c(0x138)]['UNRECOGNIZED'],'message':_0x1b5a3c(0x1b4)},'state':0x3});return;}this[_0x1b5a3c(0xed)][_0x1b5a3c(0xde)]({'error':_0x23cf00[_0x1b5a3c(0x133)],'state':0x3});let _0x14cde6=await this['_signUrl'](_0x4a68f7);if(!_0x14cde6)return;let _0x11781b=await this['_requestService'][_0x1b5a3c(0x1db)](_0x14cde6);if(!_0x11781b){this['_requestState$']['next']({'error':{'code':l[_0x1b5a3c(0x138)][_0x1b5a3c(0x1a1)],'message':'Failed\x20to\x20get\x20text\x20from\x20url'},'state':0x5});return;}try{let _0x9193d8=JSON['parse'](_0x11781b);return this['_requestState$']['next']({'error':{'code':l['ErrorCode']['OK'],'message':_0x1b5a3c(0x161)},'state':0x5}),_0x9193d8;}catch{this[_0x1b5a3c(0xed)][_0x1b5a3c(0xde)]({'error':{'code':l['ErrorCode'][_0x1b5a3c(0x1a1)],'message':_0x1b5a3c(0x1c3)},'state':0x5});}}async[_0x3fbf3b(0x1be)](_0x27ee1a,_0x5aef6e){const _0x4d83b9=_0x3fbf3b;let _0x57409e=JSON[_0x4d83b9(0x1dd)](_0x27ee1a),_0x5bc400=u[_0x4d83b9(0x12e)]['encode'](_0x57409e),_0x29892c=(0x0,d['deflateSync'])(_0x5bc400),_0x475bb5=_0x5bc400[_0x4d83b9(0x16d)],_0x2ac50e=se(_0x29892c),_0x19f92e=await this[_0x4d83b9(0x197)](_0x2ac50e,_0x475bb5,!0x0);if(_0x19f92e)return this[_0x4d83b9(0x1b5)](_0x19f92e,0x2,_0x5aef6e);}async[_0x3fbf3b(0x1b5)](_0x4439b5,_0x476aac,_0x4f40fa){const _0xa74cd6=_0x3fbf3b;var _0x182c14;let _0x5cab26=await this['_requestService'][_0xa74cd6(0xe0)]({'unitID':_0x476aac===0x1?_0x4439b5:'','jsonID':_0x476aac===0x2?_0x4439b5:'','type':_0x4f40fa,'sscSwitch':this[_0xa74cd6(0x1b6)](),'useImageUrl':this['_getDisableCellImageConversion'](),'ignoreTableExport':this[_0xa74cd6(0x1a6)]()});if(!_0x5cab26){this['_requestState$'][_0xa74cd6(0xde)]({'error':{'code':l[_0xa74cd6(0x138)][_0xa74cd6(0x1a1)],'message':_0xa74cd6(0x14a)},'state':0x2});return;}if(this[_0xa74cd6(0xed)]['next']({'error':_0x5cab26[_0xa74cd6(0x133)],'state':0x2}),_0x5cab26[_0xa74cd6(0x133)]&&_0x5cab26[_0xa74cd6(0x133)][_0xa74cd6(0x1e9)]!==l[_0xa74cd6(0x138)]['OK'])return;let _0xc52f28=_0x5cab26[_0xa74cd6(0x1f4)],_0x44d720=await this[_0xa74cd6(0x147)][_0xa74cd6(0x135)](_0xc52f28)[_0xa74cd6(0xf9)](_0x39bc63=>{const _0x5b4d44=_0xa74cd6;var _0x448bf2;let _0x1af7db=_0x39bc63 instanceof Error?_0x39bc63[_0x5b4d44(0x258)]:(_0x448bf2=_0x39bc63[_0x5b4d44(0x133)])==null?void 0x0:_0x448bf2[_0x5b4d44(0x258)];this[_0x5b4d44(0xed)][_0x5b4d44(0xde)]({'error':{'code':l[_0x5b4d44(0x138)][_0x5b4d44(0x1a1)],'message':_0x1af7db||''},'state':0x3});});if(!_0x44d720)return;let _0x41158d=((_0x182c14=_0x44d720[_0xa74cd6(0xe0)])==null?void 0x0:_0x182c14['fileID'])||'';if(_0x41158d[_0xa74cd6(0x16d)]===0x0){this[_0xa74cd6(0xed)][_0xa74cd6(0xde)]({'error':{'code':l[_0xa74cd6(0x138)][_0xa74cd6(0x1a1)],'message':'Failed\x20to\x20get\x20fileID\x20from\x20task'},'state':0x3});return;}this[_0xa74cd6(0xed)][_0xa74cd6(0xde)]({'error':_0x44d720[_0xa74cd6(0x133)],'state':0x3});let _0x2bd001=await this['_signUrl'](_0x41158d);if(!_0x2bd001)return;let _0x1887b8=await A(_0x2bd001,this[_0xa74cd6(0x195)]);if(!_0x1887b8){this['_requestState$'][_0xa74cd6(0xde)]({'error':{'code':l[_0xa74cd6(0x138)][_0xa74cd6(0x1a1)],'message':_0xa74cd6(0x233)},'state':0x6});return;}return this[_0xa74cd6(0xed)][_0xa74cd6(0xde)]({'error':{'code':l[_0xa74cd6(0x138)]['OK'],'message':_0xa74cd6(0x161)},'state':0x6}),_0x1887b8;}async['_upload'](_0x41a8c2,_0x54ed2c,_0x22fd54){const _0x50768e=_0x3fbf3b;let _0x16f673;try{_0x16f673=await this[_0x50768e(0x147)]['upload'](_0x41a8c2,_0x54ed2c,_0x22fd54);}catch(_0x1a4da3){let _0x18c65a=_0x1a4da3 instanceof Error?_0x1a4da3[_0x50768e(0x258)]:String(_0x1a4da3);this['_requestState$'][_0x50768e(0xde)]({'error':{'code':l[_0x50768e(0x138)]['UNRECOGNIZED'],'message':_0x18c65a},'state':0x0});return;}if(!_0x16f673||typeof _0x16f673[_0x50768e(0x1a4)]!=_0x50768e(0x225)){this['_requestState$']['next']({'error':{'code':l[_0x50768e(0x138)][_0x50768e(0x1a1)],'message':_0x50768e(0x18a)},'state':0x0});return;}let _0x7dc69f=_0x16f673['FileId'];if(_0x7dc69f[_0x50768e(0x16d)]===0x0){this['_requestState$'][_0x50768e(0xde)]({'error':{'code':l[_0x50768e(0x138)]['UNRECOGNIZED'],'message':_0x50768e(0x1e1)},'state':0x0});return;}return this['_requestState$'][_0x50768e(0xde)]({'error':{'code':l['ErrorCode']['OK'],'message':_0x50768e(0x161)},'state':0x0}),_0x7dc69f;}async[_0x3fbf3b(0x1bc)](_0x55ed71,_0x11133c,_0x4eb7dd){const _0x1dec35=_0x3fbf3b;let _0x3401d5={'fileID':_0x55ed71,'type':_0x4eb7dd,'outputType':_0x11133c,'fileUrl':'','minSheetRowCount':this[_0x1dec35(0x1fd)](),'minSheetColumnCount':this[_0x1dec35(0x186)]()},_0x311d07=await this[_0x1dec35(0x147)]['import'](_0x3401d5);if(!_0x311d07){this[_0x1dec35(0xed)][_0x1dec35(0xde)]({'error':{'code':l['ErrorCode'][_0x1dec35(0x1a1)],'message':'import\x20error'},'state':0x1});return;}if(_0x311d07[_0x1dec35(0x133)]&&_0x311d07[_0x1dec35(0x133)][_0x1dec35(0x1e9)]!==l[_0x1dec35(0x138)]['OK']){this['_requestState$']['next']({'error':_0x311d07['error'],'state':0x1});return;}let _0x62a40b=_0x311d07['taskID'];if(_0x62a40b['length']===0x0){this[_0x1dec35(0xed)]['next']({'error':{'code':l['ErrorCode']['UNRECOGNIZED'],'message':_0x1dec35(0xe3)},'state':0x1});return;}return this['_requestState$'][_0x1dec35(0xde)]({'error':_0x311d07[_0x1dec35(0x133)],'state':0x1}),_0x62a40b;}async[_0x3fbf3b(0x182)](_0x25d7a5){const _0x560957=_0x3fbf3b;let _0x9f788f=await this[_0x560957(0x147)][_0x560957(0x19c)](_0x25d7a5);if(!_0x9f788f){this[_0x560957(0xed)][_0x560957(0xde)]({'error':{'code':l['ErrorCode'][_0x560957(0x1a1)],'message':_0x560957(0x1a8)},'state':0x4});return;}if(_0x9f788f[_0x560957(0x133)]&&_0x9f788f['error']['code']!==l[_0x560957(0x138)]['OK']){this[_0x560957(0xed)]['next']({'error':_0x9f788f['error'],'state':0x4});return;}let _0x3df13b=(0x0,t[_0x560957(0x13f)])(_0x9f788f[_0x560957(0x1ef)],this[_0x560957(0x24e)]());if(_0x3df13b[_0x560957(0x16d)]===0x0){this[_0x560957(0xed)][_0x560957(0xde)]({'error':{'code':l['ErrorCode'][_0x560957(0x1a1)],'message':_0x560957(0x1a8)},'state':0x4});return;}return this[_0x560957(0xed)][_0x560957(0xde)]({'error':_0x9f788f[_0x560957(0x133)],'state':0x4}),_0x3df13b;}['_getDownloadEndpointURL'](){const _0x22415a=_0x3fbf3b;var _0x282cc8;let _0x58e647=this[_0x22415a(0x1c8)][_0x22415a(0x1de)](m);return(_0x282cc8=_0x58e647==null?void 0x0:_0x58e647[_0x22415a(0x17a)])==null?location['origin']:_0x282cc8;}[_0x3fbf3b(0x1fd)](){const _0x1efb26=_0x3fbf3b;var _0x55295b,_0x30dafc;let _0x1d3215=this[_0x1efb26(0x1c8)][_0x1efb26(0x1de)](m);return(_0x55295b=_0x1d3215==null||(_0x30dafc=_0x1d3215['options'])==null?void 0x0:_0x30dafc['minSheetRowCount'])==null?0x1:_0x55295b;}['_getMinSheetColumnCount'](){const _0x1dae1c=_0x3fbf3b;var _0x28fa43,_0x20977f;let _0x4679e4=this[_0x1dae1c(0x1c8)]['getConfig'](m);return(_0x28fa43=_0x4679e4==null||(_0x20977f=_0x4679e4[_0x1dae1c(0x239)])==null?void 0x0:_0x20977f[_0x1dae1c(0x137)])==null?0x1:_0x28fa43;}[_0x3fbf3b(0x1b6)](){const _0x3256ba=_0x3fbf3b;var _0xbbdec4,_0x3359ff;let _0x3a163e=this['_configService']['getConfig'](m);return(_0xbbdec4=_0x3a163e==null||(_0x3359ff=_0x3a163e[_0x3256ba(0x239)])==null?void 0x0:_0x3359ff[_0x3256ba(0x11c)])==null?!0x1:_0xbbdec4;}[_0x3fbf3b(0x155)](){const _0x274938=_0x3fbf3b;var _0x217cb8,_0x25e349;let _0x22feb7=this[_0x274938(0x1c8)]['getConfig'](m);return(_0x217cb8=_0x22feb7==null||(_0x25e349=_0x22feb7['options'])==null?void 0x0:_0x25e349[_0x274938(0x19d)])==null?!0x0:_0x217cb8;}[_0x3fbf3b(0x1a6)](){const _0x47ab22=_0x3fbf3b;var _0x23f221,_0x3f5341;let _0x30cfab=this[_0x47ab22(0x1c8)]['getConfig'](m);return(_0x23f221=_0x30cfab==null||(_0x3f5341=_0x30cfab['options'])==null?void 0x0:_0x3f5341['ignoreTableExport'])==null?!0x1:_0x23f221;}};K=N([M(0x0,t[_0x3fbf3b(0x16e)]),M(0x1,(0x0,t[_0x3fbf3b(0xf8)])(n[_0x3fbf3b(0x19f)])),M(0x2,(0x0,t[_0x3fbf3b(0xf8)])(P))],K);const fe={'done':0x0,'count':0x0},q=(0x0,t['createIdentifier'])('univer-pro.exchange-client.operate.service');let J=class extends t[_0x3fbf3b(0x1e7)]{constructor(_0x4b3c8b,_0x5e28c3,_0x32af65,_0x198d8a,_0x368b39,_0x3f05b9,_0xedbe1c){const _0x3c1447=_0x3fbf3b;super(),this[_0x3c1447(0x25e)]=_0x4b3c8b,this[_0x3c1447(0x15f)]=_0x5e28c3,this['_localeService']=_0x32af65,this[_0x3c1447(0x119)]=_0x198d8a,this[_0x3c1447(0x1ab)]=_0x368b39,this[_0x3c1447(0x1a3)]=_0x3f05b9,this[_0x3c1447(0x15c)]=_0xedbe1c,v(this,_0x3c1447(0x232),new o[(_0x3c1447(0x11f))](fe)),v(this,_0x3c1447(0x187),this[_0x3c1447(0x232)][_0x3c1447(0x1ee)]()),v(this,_0x3c1447(0x175),0x0),v(this,_0x3c1447(0xfe),0x0),this[_0x3c1447(0x142)]((0x0,t[_0x3c1447(0x238)])(this[_0x3c1447(0x119)][_0x3c1447(0x21c)][_0x3c1447(0x1d3)](_0x10be42=>{const _0x456377=_0x3c1447;var _0x5cb97a;((_0x5cb97a=_0x10be42[_0x456377(0x133)])==null?void 0x0:_0x5cb97a[_0x456377(0x1e9)])===l[_0x456377(0x138)]['OK']?this[_0x456377(0x168)](0x1):this[_0x456377(0x21e)](_0x10be42['error']);})));}[_0x3fbf3b(0x194)](){const _0x396444=_0x3fbf3b;this[_0x396444(0x24d)](),this['_uploadNotificationService'][_0x396444(0x13c)](0x2),this[_0x396444(0x119)][_0x396444(0x130)]();}async['uploadFileToUnitId'](_0x31abec){const _0x572942=_0x3fbf3b;throw Error(_0x572942(0x243));}async[_0x3fbf3b(0x23e)](){const _0x8bca67=_0x3fbf3b;let _0x3b01ed=this[_0x8bca67(0x25e)]['getFocusedUnit']();switch(_0x3b01ed?this[_0x8bca67(0x25e)][_0x8bca67(0x22e)](_0x3b01ed[_0x8bca67(0x207)]()):t[_0x8bca67(0x15b)][_0x8bca67(0x1a1)]){case t[_0x8bca67(0x15b)][_0x8bca67(0x1d5)]:return this[_0x8bca67(0x198)]();case t[_0x8bca67(0x15b)][_0x8bca67(0x252)]:return this['importDOCXToUnitId']();case t[_0x8bca67(0x15b)]['UNIVER_SHEET']:default:return this[_0x8bca67(0x18e)]();}}async[_0x3fbf3b(0x16f)](){const _0x55942a=_0x3fbf3b;let _0x3070aa=await k([t[_0x55942a(0x15b)][_0x55942a(0x252)]]);if(_0x3070aa&&!this[_0x55942a(0x24c)](_0x3070aa,t[_0x55942a(0x15b)]['UNIVER_DOC']))return this[_0x55942a(0x20c)](_0x3070aa[0x0],t[_0x55942a(0x15b)][_0x55942a(0x252)]);}[_0x3fbf3b(0x12d)](){const _0x45b810=_0x3fbf3b;throw Error(_0x45b810(0x243));}async[_0x3fbf3b(0x228)](_0x38c704,_0x573dbb,_0xa8137f){const _0x1e43f7=_0x3fbf3b;this[_0x1e43f7(0x131)](s[_0x1e43f7(0x129)]['Info']);let _0x354db3=await this['_exchangeService'][_0x1e43f7(0x228)](_0x38c704||this[_0x1e43f7(0x1b7)]());_0x354db3&&(D(_0x354db3,_0x573dbb||this[_0x1e43f7(0x236)](_0x354db3),_0x1e43f7(0x172)),this[_0x1e43f7(0x131)](s[_0x1e43f7(0x129)][_0x1e43f7(0x103)]));}async[_0x3fbf3b(0xdf)](){const _0x4932ae=_0x3fbf3b;this[_0x4932ae(0x131)](s[_0x4932ae(0x129)][_0x4932ae(0xef)]);let _0x25b33c=await this['_getUnitDocJson'](),_0x571ab=await this[_0x4932ae(0x119)][_0x4932ae(0xdf)](_0x25b33c);_0x571ab&&(D(_0x571ab,this[_0x4932ae(0x236)](_0x571ab),'docx'),this['_showDownloadMessage'](s[_0x4932ae(0x129)][_0x4932ae(0x103)]));}async[_0x3fbf3b(0x198)](){const _0x1facc5=_0x3fbf3b;if(this[_0x1facc5(0x265)]()){this['_messageService'][_0x1facc5(0x230)]({'type':s[_0x1facc5(0x129)][_0x1facc5(0x10e)],'content':this[_0x1facc5(0x173)]['t']('exchange-client.uploading')});return;}let _0x5bebac=await k([t[_0x1facc5(0x15b)][_0x1facc5(0x1d5)]]);if(_0x5bebac&&!this[_0x1facc5(0x24c)](_0x5bebac,t['UniverInstanceType'][_0x1facc5(0x1d5)]))return this[_0x1facc5(0x20c)](_0x5bebac[0x0],t[_0x1facc5(0x15b)][_0x1facc5(0x1d5)]);}async[_0x3fbf3b(0x140)](){const _0x204ceb=_0x3fbf3b;if(this[_0x204ceb(0x265)]()){this[_0x204ceb(0x15f)][_0x204ceb(0x230)]({'type':s[_0x204ceb(0x129)]['Warning'],'content':this[_0x204ceb(0x173)]['t'](_0x204ceb(0x204))});return;}let _0x213f5b=await k([t['UniverInstanceType'][_0x204ceb(0x1d5)]]);if(!_0x213f5b)return;this['_showUploadMessage'](s[_0x204ceb(0x129)]['Info']);let _0x29d5c0=await this[_0x204ceb(0x119)][_0x204ceb(0x140)](_0x213f5b[0x0]);_0x29d5c0&&(this['_refreshSlide'](_0x29d5c0),this['_showUploadMessage'](s[_0x204ceb(0x129)][_0x204ceb(0x103)]));}async[_0x3fbf3b(0x12b)](_0x874ea7,_0x5bd33c,_0x17adcb){const _0x26b8a0=_0x3fbf3b;this[_0x26b8a0(0x131)](s['MessageType']['Info']);let _0x535bdb=await this[_0x26b8a0(0x119)]['exportPPTXByUnitId'](_0x874ea7||this[_0x26b8a0(0x227)]());_0x535bdb&&(D(_0x535bdb,_0x5bd33c||this[_0x26b8a0(0x13a)](_0x535bdb,_0x17adcb==null?t[_0x26b8a0(0x15b)][_0x26b8a0(0x1d5)]:_0x17adcb),_0x26b8a0(0x17c)),this[_0x26b8a0(0x131)](s['MessageType']['Success']));}async[_0x3fbf3b(0xe5)](){const _0x25a444=_0x3fbf3b;this['_showDownloadMessage'](s[_0x25a444(0x129)][_0x25a444(0xef)]);let _0x3eb5b1=await this[_0x25a444(0x12a)](),_0x295700=await this[_0x25a444(0x119)][_0x25a444(0xe5)](_0x3eb5b1);_0x295700&&(D(_0x295700,this[_0x25a444(0x13a)](_0x295700,t[_0x25a444(0x15b)][_0x25a444(0x1d5)]),_0x25a444(0x17c)),this[_0x25a444(0x131)](s[_0x25a444(0x129)][_0x25a444(0x103)]));}async[_0x3fbf3b(0x18e)](){const _0x4c355c=_0x3fbf3b;if(this[_0x4c355c(0x265)]()){this[_0x4c355c(0x15f)][_0x4c355c(0x230)]({'type':s['MessageType'][_0x4c355c(0x10e)],'content':this[_0x4c355c(0x173)]['t'](_0x4c355c(0x204))});return;}let _0x9a8d11=await k([t['UniverInstanceType'][_0x4c355c(0x121)]]);if(_0x9a8d11&&!this[_0x4c355c(0x24c)](_0x9a8d11,t[_0x4c355c(0x15b)][_0x4c355c(0x121)]))return this[_0x4c355c(0x20c)](_0x9a8d11[0x0],t[_0x4c355c(0x15b)]['UNIVER_SHEET']);}async[_0x3fbf3b(0xf6)](){const _0x378760=_0x3fbf3b;if(this[_0x378760(0x265)]()){this[_0x378760(0x15f)][_0x378760(0x230)]({'type':s[_0x378760(0x129)][_0x378760(0x10e)],'content':this[_0x378760(0x173)]['t'](_0x378760(0x204))});return;}let _0x1e1ed4=await k([t['UniverInstanceType'][_0x378760(0x121)]]);if(!_0x1e1ed4)return;this[_0x378760(0x203)](s[_0x378760(0x129)][_0x378760(0xef)]);let _0x22588f=await this['_exchangeService'][_0x378760(0xf6)](_0x1e1ed4[0x0]);_0x22588f&&(this[_0x378760(0x11b)](_0x22588f),this['_showUploadMessage'](s[_0x378760(0x129)][_0x378760(0x103)]));}async['exportXLSXByUnitId'](_0x3ec57c,_0x14a965,_0x5139b5){const _0x48e3c3=_0x3fbf3b;this[_0x48e3c3(0x131)](s[_0x48e3c3(0x129)]['Info']);let _0x5796aa=await this[_0x48e3c3(0x119)][_0x48e3c3(0xe1)](_0x3ec57c||this[_0x48e3c3(0x151)]());_0x5796aa&&(D(_0x5796aa,_0x14a965||this[_0x48e3c3(0x236)](_0x5796aa),'xlsx'),this[_0x48e3c3(0x131)](s[_0x48e3c3(0x129)]['Success']));}async[_0x3fbf3b(0x13b)](){const _0x227ef2=_0x3fbf3b;this['_showDownloadMessage'](s['MessageType'][_0x227ef2(0xef)]);let _0x2f1aa7=await this[_0x227ef2(0x102)](),_0x47cb55=await this['_exchangeService'][_0x227ef2(0x13b)](_0x2f1aa7);_0x47cb55&&(D(_0x47cb55,this['_getUnitName'](_0x47cb55),_0x227ef2(0x20a)),this[_0x227ef2(0x131)](s['MessageType'][_0x227ef2(0x103)]));}[_0x3fbf3b(0x101)](_0x4556f8){const _0x516a1c=_0x3fbf3b;this[_0x516a1c(0x202)]=_0x4556f8;}async[_0x3fbf3b(0x20c)](_0x4bab1f,_0x582d7c){const _0x1e9e03=_0x3fbf3b;this['_uploadNotificationService'][_0x1e9e03(0x230)](),this[_0x1e9e03(0x1ab)][_0x1e9e03(0x13c)](0x0),this[_0x1e9e03(0x1df)](0x4),this[_0x1e9e03(0x168)](0x1);let _0x4d28d5=await this['_exchangeService']['importFileToUnitId'](_0x4bab1f,_0x582d7c);if(!_0x4d28d5){this[_0x1e9e03(0x24d)](),this[_0x1e9e03(0x1ab)][_0x1e9e03(0x13c)](0x2);return;}let _0x509e42={'link':this[_0x1e9e03(0x202)](_0x4d28d5,_0x582d7c),'name':_0x4bab1f[_0x1e9e03(0x240)],'type':_0x582d7c};return this['_uploadNotificationService']['pushLink'](_0x509e42),this[_0x1e9e03(0x247)](),this['_uploadNotificationService'][_0x1e9e03(0x13c)](0x1),_0x4d28d5;}[_0x3fbf3b(0x151)](){const _0x4487ef=_0x3fbf3b;return this['_univerInstanceService']['getCurrentUnitOfType'](t[_0x4487ef(0x15b)][_0x4487ef(0x121)])[_0x4487ef(0x207)]();}['_getUnitIDDoc'](){const _0x3ba6cb=_0x3fbf3b;return this[_0x3ba6cb(0x25e)][_0x3ba6cb(0x1c5)](t[_0x3ba6cb(0x15b)][_0x3ba6cb(0x252)])[_0x3ba6cb(0x207)]();}[_0x3fbf3b(0x227)](){const _0x26bb66=_0x3fbf3b;return this[_0x26bb66(0x25e)][_0x26bb66(0x1c5)](t[_0x26bb66(0x15b)]['UNIVER_SLIDE'])['getUnitId']();}[_0x3fbf3b(0x236)](_0x55ca1a){const _0x1f6984=_0x3fbf3b;return this[_0x1f6984(0x13a)](_0x55ca1a,t['UniverInstanceType'][_0x1f6984(0x121)]);}[_0x3fbf3b(0x13a)](_0x1c03e2,_0x195805){const _0x411ae6=_0x3fbf3b;var _0x56246d;let _0x590688=(_0x56246d=this[_0x411ae6(0x25e)][_0x411ae6(0x1c5)](_0x195805))==null?void 0x0:_0x56246d[_0x411ae6(0x126)](),_0x52b392=_0x590688==null?void 0x0:_0x590688['name'];return typeof _0x52b392=='string'&&_0x52b392['trim']()?_0x52b392:_0x1c03e2[_0x411ae6(0x240)]['split']('.')[_0x411ae6(0x141)]()||document[_0x411ae6(0x18b)];}async[_0x3fbf3b(0x102)](){const _0x48fd13=_0x3fbf3b;return this[_0x48fd13(0x25e)][_0x48fd13(0x1c5)](t['UniverInstanceType'][_0x48fd13(0x121)])[_0x48fd13(0x126)]();}async[_0x3fbf3b(0x1a9)](){const _0x3d0393=_0x3fbf3b;return this['_univerInstanceService'][_0x3d0393(0x1c5)](t[_0x3d0393(0x15b)]['UNIVER_DOC'])[_0x3d0393(0x126)]();}async['_getUnitSlideJson'](){const _0x2ba75e=_0x3fbf3b;let _0x4ce58b=this[_0x2ba75e(0x25e)][_0x2ba75e(0x1c5)](t['UniverInstanceType'][_0x2ba75e(0x1d5)]),_0x3061b3=this[_0x2ba75e(0x15c)][_0x2ba75e(0x127)](_0x4ce58b[_0x2ba75e(0x207)]());return _0x3061b3==null?_0x4ce58b[_0x2ba75e(0x126)]():_0x3061b3;}['_getLinkByUnitId'](_0x3a3822,_0x359143){const _0x549590=_0x3fbf3b;let _0x38d72c=new URL(window[_0x549590(0x1ba)][_0x549590(0x106)]);return _0x38d72c[_0x549590(0x12c)][_0x549590(0x249)](_0x549590(0x256),_0x3a3822),_0x38d72c['searchParams'][_0x549590(0x249)]('type',''+_0x359143),_0x38d72c[_0x549590(0x23b)]();}['_refresh'](_0x40c922){const _0x383c61=_0x3fbf3b;let _0xbb8fc6=this[_0x383c61(0x25e)][_0x383c61(0x1c5)](t[_0x383c61(0x15b)][_0x383c61(0x121)])['getUnitId']();this['_univerInstanceService'][_0x383c61(0x226)](_0xbb8fc6),this[_0x383c61(0x25e)][_0x383c61(0x263)](t[_0x383c61(0x15b)][_0x383c61(0x121)],_0x40c922);}['_refreshSlide'](_0x43e02e){const _0x553cd0=_0x3fbf3b;let _0x2a64a4=this[_0x553cd0(0x25e)][_0x553cd0(0x1c5)](t[_0x553cd0(0x15b)][_0x553cd0(0x1d5)])[_0x553cd0(0x207)]();this[_0x553cd0(0x25e)]['disposeUnit'](_0x2a64a4),this[_0x553cd0(0x25e)][_0x553cd0(0x263)](t[_0x553cd0(0x15b)][_0x553cd0(0x1d5)],_0x43e02e);}['_showNetworkError'](_0x73f4a7){const _0x1e4628=_0x3fbf3b;if(_0x73f4a7){let {code:_0x95c51e}=_0x73f4a7;switch(_0x95c51e){case l[_0x1e4628(0x138)][_0x1e4628(0x234)]:this['_messageService'][_0x1e4628(0x230)]({'type':s[_0x1e4628(0x129)][_0x1e4628(0x114)],'content':this['_localeService']['t'](_0x1e4628(0x1f6))});break;case l['ErrorCode'][_0x1e4628(0xe9)]:this[_0x1e4628(0x15f)][_0x1e4628(0x230)]({'type':s[_0x1e4628(0x129)]['Error'],'content':this[_0x1e4628(0x173)]['t']('exchange-client.internalError')});break;default:this[_0x1e4628(0x15f)][_0x1e4628(0x230)]({'type':s[_0x1e4628(0x129)][_0x1e4628(0x114)],'content':this[_0x1e4628(0x173)]['t'](_0x1e4628(0x1b0))});break;}return null;}return this[_0x1e4628(0x15f)]['show']({'type':s[_0x1e4628(0x129)][_0x1e4628(0x114)],'content':this['_localeService']['t'](_0x1e4628(0x1b0))}),null;}['_showDownloadMessage'](_0x1ba671){const _0x165901=_0x3fbf3b;let _0x34aeb3='';switch(_0x1ba671){case s[_0x165901(0x129)]['Success']:_0x34aeb3=this['_localeService']['t'](_0x165901(0x1e6));break;case s[_0x165901(0x129)][_0x165901(0xef)]:_0x34aeb3=this['_localeService']['t'](_0x165901(0x1a5));break;default:break;}this[_0x165901(0x15f)][_0x165901(0x230)]({'type':_0x1ba671,'content':_0x34aeb3});}[_0x3fbf3b(0x203)](_0x2f974f){const _0xd04f97=_0x3fbf3b;let _0x9e6a71='';switch(_0x2f974f){case s[_0xd04f97(0x129)][_0xd04f97(0x103)]:_0x9e6a71=this[_0xd04f97(0x173)]['t'](_0xd04f97(0x1f1));break;case s[_0xd04f97(0x129)]['Info']:_0x9e6a71=this[_0xd04f97(0x173)]['t'](_0xd04f97(0x204));break;default:break;}this['_messageService'][_0xd04f97(0x230)]({'type':_0x2f974f,'content':_0x9e6a71});}[_0x3fbf3b(0x255)](){const _0x439f74=_0x3fbf3b;this[_0x439f74(0x232)][_0x439f74(0xde)]({'done':this['_doneUploadTaskCount'],'count':this[_0x439f74(0x175)]});}['_addTotalCount'](_0x53a8b6){const _0x4f1d71=_0x3fbf3b;this[_0x4f1d71(0x175)]+=_0x53a8b6,this[_0x4f1d71(0x255)]();}[_0x3fbf3b(0x168)](_0x42c7e4){const _0x3f837e=_0x3fbf3b;this[_0x3f837e(0xfe)]+=_0x42c7e4,this[_0x3f837e(0xfe)]=Math[_0x3f837e(0x206)](this[_0x3f837e(0xfe)],this[_0x3f837e(0x175)]),this[_0x3f837e(0x255)]();}['_completeProgress'](){const _0xd7b2fa=_0x3fbf3b;this[_0xd7b2fa(0xfe)]=this[_0xd7b2fa(0x175)],this[_0xd7b2fa(0x255)]();}[_0x3fbf3b(0x24d)](){const _0xdfa618=_0x3fbf3b;this[_0xdfa618(0xfe)]=0x0,this[_0xdfa618(0x175)]=0x0,this[_0xdfa618(0x255)]();}[_0x3fbf3b(0x24c)](_0x2aa60f,_0x2ab10b){const _0x17e8a8=_0x3fbf3b;let _0x14d205=_0x2aa60f[0x0],_0x231d8b=_0x14d205[_0x17e8a8(0x240)];return O(_0x14d205)===_0x2ab10b?!0x1:(this[_0x17e8a8(0x15f)][_0x17e8a8(0x230)]({'type':s['MessageType'][_0x17e8a8(0x114)],'content':this[_0x17e8a8(0x173)]['t'](_0x17e8a8(0xf0),_0x231d8b)}),!0x0);}['_uploadTaskNotDone'](){const _0x503733=_0x3fbf3b;return this['_totalUploadTaskCount']!==0x0&&this[_0x503733(0xfe)]!==this[_0x503733(0x175)];}};J=N([M(0x0,(0x0,t[_0x3fbf3b(0xf8)])(t['IUniverInstanceService'])),M(0x1,i[_0x3fbf3b(0x122)]),M(0x2,(0x0,t[_0x3fbf3b(0xf8)])(t[_0x3fbf3b(0x260)])),M(0x3,(0x0,t[_0x3fbf3b(0xf8)])(G)),M(0x4,(0x0,t[_0x3fbf3b(0xf8)])(y)),M(0x5,t[_0x3fbf3b(0x1c0)]),M(0x6,(0x0,t[_0x3fbf3b(0xf8)])(t['IResourceLoaderService']))],J);function Y(_0x2baf1b){const _0x46f6f5=_0x3fbf3b;let {onClick:_0x54e960,children:_0x266690,className:_0x24c699}=_0x2baf1b;return(0x0,c[_0x46f6f5(0x212)])(_0x46f6f5(0x100),{'className':(0x0,s[_0x46f6f5(0x105)])(_0x46f6f5(0x25a),_0x24c699),'type':_0x46f6f5(0x100),'onClick':_0x54e960,'children':_0x266690});}function X(){const _0x4b7aec=_0x3fbf3b;let _0x183efa=(0x0,i[_0x4b7aec(0x176)])(q),_0x21a2bc=(0x0,i[_0x4b7aec(0x176)])(t[_0x4b7aec(0x260)]);function _0x212195(){const _0x497aa2=_0x4b7aec;_0x183efa[_0x497aa2(0x23e)]();}return(0x0,c['jsx'])(Y,{'onClick':_0x212195,'children':_0x21a2bc['t'](_0x4b7aec(0x1ce))});}function pe(){const _0x44ec19=_0x3fbf3b;return(0x0,c[_0x44ec19(0x164)])(_0x44ec19(0xfc),{'className':_0x44ec19(0x111),'children':[(0x0,c['jsx'])(_0x44ec19(0x118),{'className':_0x44ec19(0x23a),'children':(0x0,i[_0x44ec19(0x176)])(t[_0x44ec19(0x260)])['t'](_0x44ec19(0x123))}),(0x0,c[_0x44ec19(0x212)])(X,{})]});}function Z(_0x168c8b){const _0x7387a5=_0x3fbf3b;let {count:_0x5c102a}=_0x168c8b;return(0x0,c['jsxs'])(_0x7387a5(0xfc),{'className':'univer-mt-3\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-2\x20univer-pr-1','children':[(0x0,c['jsx'])(_0x7387a5(0x118),{'className':_0x7387a5(0x221),'children':(0x0,i['useDependency'])(t['LocaleService'])['t'](_0x7387a5(0xe6),''+_0x5c102a)}),(0x0,c[_0x7387a5(0x212)])(X,{})]});}function me(){const _0x13e91c=_0x3fbf3b;let _0x50c58b=(0x0,i[_0x13e91c(0x176)])(q),_0xf992d4=(0x0,i[_0x13e91c(0x176)])(t[_0x13e91c(0x260)]);function _0x55ec6c(){const _0xa03429=_0x13e91c;_0x50c58b[_0xa03429(0x194)]();}return(0x0,c['jsx'])(Y,{'onClick':_0x55ec6c,'children':_0xf992d4['t'](_0x13e91c(0x1c6))});}function he(){const _0x41fbd3=_0x3fbf3b;let {count:_0x520b60,done:_0x2d769d}=(0x0,i[_0x41fbd3(0x14c)])((0x0,i['useDependency'])(q)[_0x41fbd3(0x187)]),[_0x58c379,_0x48eace]=(0x0,a[_0x41fbd3(0x178)])(_0x520b60>0x0?_0x2d769d/_0x520b60:0x0);return(0x0,a['useEffect'])(()=>{_0x48eace(_0x520b60>0x0?_0x2d769d/_0x520b60:0x0);},[_0x520b60,_0x2d769d]),(0x0,c['jsx'])('div',{'className':'univer-mx-0\x20univer-mb-3\x20univer-mt-4\x20univer-h-1.5\x20univer-w-[324px]\x20univer-rounded-lg\x20univer-bg-gray-200','children':(0x0,c[_0x41fbd3(0x212)])(_0x41fbd3(0xfc),{'className':_0x41fbd3(0x148),'style':{'width':Math[_0x41fbd3(0x188)](_0x58c379*0x64)+'%'}})});}function ge(){const _0x443661=_0x3fbf3b;return(0x0,c[_0x443661(0x164)])(_0x443661(0xfc),{'className':_0x443661(0x111),'children':[(0x0,c[_0x443661(0x212)])('span',{'className':'univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','children':(0x0,i['useDependency'])(t['LocaleService'])['t']('exchange-client.wait')}),(0x0,c[_0x443661(0x212)])(_0x443661(0xfc),{'className':_0x443661(0x1ad),'children':(0x0,c['jsx'])(he,{})}),(0x0,c[_0x443661(0x212)])(me,{})]});}const _e={0x1:(0x0,c[_0x3fbf3b(0x212)])(r[_0x3fbf3b(0x1d1)],{'className':_0x3fbf3b(0xfd)}),0x0:(0x0,c[_0x3fbf3b(0x212)])(r['ClockIcon'],{'className':'univer-text-blue-500'}),0x2:(0x0,c[_0x3fbf3b(0x212)])(r[_0x3fbf3b(0x177)],{'className':_0x3fbf3b(0x1f5)})};function ve(){const _0x4df08a=_0x3fbf3b;let [_0x229b63,_0x4feb5a]=(0x0,a['useState'])(0x0),[_0x44f224,_0x2c7738]=(0x0,a['useState'])(!0x1),[_0x226f5e,_0x510a3f]=(0x0,a['useState'])([]),_0xcd82e8=(0x0,i[_0x4df08a(0x176)])(y),_0x133cb6=(0x0,i[_0x4df08a(0x176)])(t['LocaleService']);(0x0,a[_0x4df08a(0xf4)])(()=>{const _0x6d2ee4=_0x4df08a;let _0x4a86f4=_0xcd82e8[_0x6d2ee4(0x192)]['subscribe'](_0x5df444=>{_0x2c7738(_0x5df444);}),_0x5eca68=_0xcd82e8[_0x6d2ee4(0x17d)][_0x6d2ee4(0x1d3)](_0x571023=>{_0x510a3f(_0x571023);}),_0xd9856f=_0xcd82e8[_0x6d2ee4(0x185)][_0x6d2ee4(0x1d3)](_0x149f9d=>{_0x4feb5a(_0x149f9d);});return()=>{const _0x47bd91=_0x6d2ee4;_0x4a86f4[_0x47bd91(0x110)](),_0x5eca68[_0x47bd91(0x110)](),_0xd9856f[_0x47bd91(0x110)]();};},[]);function _0x51befa(){_0x2c7738(!0x1);}function _0x2a95b6(_0x4be56f){const _0x5da764=_0x4df08a;switch(_0x4be56f){case 0x1:return _0x133cb6['t'](_0x5da764(0x1f1));case 0x0:return _0x133cb6['t'](_0x5da764(0x204));case 0x2:return _0x133cb6['t']('exchange-client.unknownMistake');default:return'';}}return _0x44f224&&(0x0,c[_0x4df08a(0x164)])(_0x4df08a(0xfc),{'className':_0x4df08a(0x11e),'children':[(0x0,c[_0x4df08a(0x164)])(_0x4df08a(0xfc),{'className':_0x4df08a(0x21b),'children':[(0x0,c[_0x4df08a(0x164)])(_0x4df08a(0x118),{'className':_0x4df08a(0x1ac),'children':[(0x0,c['jsx'])(_0x4df08a(0x118),{'className':'univer-h-6\x20univer-text-2xl','children':_e[_0x229b63]}),(0x0,c['jsx'])(_0x4df08a(0x118),{'className':_0x4df08a(0x23f),'children':_0x2a95b6(_0x229b63)})]}),(0x0,c[_0x4df08a(0x212)])('span',{'className':_0x4df08a(0x15e),'onClick':_0x51befa,'children':(0x0,c['jsx'])(r[_0x4df08a(0x1f3)],{})})]}),(0x0,c['jsxs'])(_0x4df08a(0xfc),{'children':[_0x229b63===0x0&&(0x0,c[_0x4df08a(0x212)])(ge,{}),_0x229b63===0x2&&(0x0,c[_0x4df08a(0x212)])(pe,{}),_0x226f5e[_0x4df08a(0x16d)]>0x0&&(0x0,c['jsx'])(ne,{'list':_0x226f5e}),_0x229b63===0x1&&(0x0,c[_0x4df08a(0x212)])(Z,{'count':_0x226f5e[_0x4df08a(0x16d)]})]})]});}function ye(){return(0x0,c['jsx'])(ve,{});}let Q=class extends t['Disposable']{constructor(_0x301852,_0x1c1a82,_0xd498ae){const _0x591d33=_0x3fbf3b;super(),this[_0x591d33(0x216)]=_0x301852,this[_0x591d33(0x242)]=_0x1c1a82,this[_0x591d33(0x13e)]=_0xd498ae,this[_0x591d33(0x150)](),this['_registerComponents']();}[_0x3fbf3b(0x150)](){const _0x13e33f=_0x3fbf3b;this[_0x13e33f(0x142)](this[_0x13e33f(0x13e)][_0x13e33f(0x145)]({'DirectExportIcon':r['DirectExportIcon']}));}[_0x3fbf3b(0x223)](){const _0x450bbd=_0x3fbf3b;this[_0x450bbd(0x142)](this['_uiPartsService'][_0x450bbd(0x237)](i['BuiltInUIPart'][_0x450bbd(0x169)],()=>(0x0,i[_0x450bbd(0x183)])(ye,this[_0x450bbd(0x216)])));}};Q=N([M(0x0,(0x0,t[_0x3fbf3b(0xf8)])(t[_0x3fbf3b(0x1da)])),M(0x1,i['IUIPartsService']),M(0x2,(0x0,t[_0x3fbf3b(0xf8)])(i[_0x3fbf3b(0x166)]))],Q);let $=class extends t[_0x3fbf3b(0x196)]{constructor(_0x155d26=h,_0x407c23,_0x47fd48){const _0x832984=_0x3fbf3b;super(),this[_0x832984(0x1b3)]=_0x155d26,this[_0x832984(0x216)]=_0x407c23,this[_0x832984(0x1c8)]=_0x47fd48;let {..._0x146d2e}=(0x0,t[_0x832984(0x210)])({},h,this[_0x832984(0x1b3)]);this['_configService'][_0x832984(0x14d)](m,_0x146d2e);}['onStarting'](){const _0x2141d3=_0x3fbf3b;(0x0,t[_0x2141d3(0x14f)])(this[_0x2141d3(0x216)],[[Q],[q,{'useClass':J}],[G,{'useClass':K}],[P,{'useClass':F}],[y,{'useClass':te}]]);}['onReady'](){const _0x3e9d75=_0x3fbf3b;(0x0,t[_0x3e9d75(0x1bf)])(this[_0x3e9d75(0x216)],[[Q],[q]]);}};v($,_0x3fbf3b(0x165),'UNIVER_EXCHANGE_CLIENT_PLUGIN'),v($,_0x3fbf3b(0x170),f),v($,_0x3fbf3b(0x1f8),p),$=N([(0x0,t['DependentOn'])(n[_0x3fbf3b(0x104)],e[_0x3fbf3b(0x108)]),M(0x1,(0x0,t[_0x3fbf3b(0xf8)])(t[_0x3fbf3b(0x1da)])),M(0x2,t['IConfigService'])],$),exports[_0x3fbf3b(0x1e2)]=q,exports[_0x3fbf3b(0x19a)]=G,Object[_0x3fbf3b(0x1b2)](exports,'UniverExchangeClientPlugin',{'enumerable':!0x0,'get':function(){return $;}}),exports[_0x3fbf3b(0x171)]=D;
|
package/lib/cjs/locale/ar-SA.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x514951=_0x520b;(function(_0x39d289,_0x2c0bc8){const _0x1b4a7b=_0x520b,_0x57c5ed=_0x39d289();while(!![]){try{const _0x3dd858=parseInt(_0x1b4a7b(0x137))/0x1+parseInt(_0x1b4a7b(0x12f))/0x2*(parseInt(_0x1b4a7b(0x135))/0x3)+parseInt(_0x1b4a7b(0x130))/0x4+parseInt(_0x1b4a7b(0x132))/0x5+parseInt(_0x1b4a7b(0x12a))/0x6+-parseInt(_0x1b4a7b(0x133))/0x7+parseInt(_0x1b4a7b(0x131))/0x8*(-parseInt(_0x1b4a7b(0x13c))/0x9);if(_0x3dd858===_0x2c0bc8)break;else _0x57c5ed['push'](_0x57c5ed['shift']());}catch(_0x5552f2){_0x57c5ed['push'](_0x57c5ed['shift']());}}}(_0x4727,0xe021d));const e={'exchange-client':{'uploading':_0x514951(0x12c),'uploadSuccess':_0x514951(0x12e),'uploadSuccessTip':'تم\x20رفع\x20{0}\x20ملف/ملفات\x20بنجاح','downloading':_0x514951(0x13a),'downloadSuccess':_0x514951(0x139),'unknownMistake':_0x514951(0x134),'networkError':_0x514951(0x13b),'tooLarge':_0x514951(0x129),'internalError':'خطأ\x20داخلي\x20غير\x20معروف','interrupt':_0x514951(0x12b),'fileTypeError':_0x514951(0x138),'wait':_0x514951(0x136),'cancel':'إلغاء','uploadAgain':'إعادة\x20الرفع'}};function _0x520b(_0x50f6da,_0x5882e3){_0x50f6da=_0x50f6da-0x129;const _0x4727e4=_0x4727();let _0x520bca=_0x4727e4[_0x50f6da];return _0x520bca;}module[_0x514951(0x12d)]=e;function _0x4727(){const _0x2e42b7=['412472RxtWub','7125210ozPhLu','5605124xoRwBh','خطأ\x20غير\x20معروف','50067RtkTPs','يرجى\x20الانتظار...','742819JzntHc','نوع\x20الملف\x20المحدد\x20[{0}]\x20غير\x20مدعوم\x20للرفع','تم\x20التحميل\x20بنجاح','جارٍ\x20التحميل','خطأ\x20في\x20الشبكة','639NpitfM','البيانات\x20كبيرة\x20جداً','9669720OrfapI','تمت\x20مقاطعة\x20الاتصال\x20بالشبكة\x20وفشل\x20رفع\x20الملف','جارٍ\x20الرفع','exports','تم\x20رفع\x20الملف\x20بنجاح','60WlajWT','4397260HSICXJ'];_0x4727=function(){return _0x2e42b7;};return _0x4727();}
|
package/lib/cjs/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4b2f40=_0x1b11;function _0x1b11(_0xe82329,_0x38030b){_0xe82329=_0xe82329-0x111;const _0x1786da=_0x1786();let _0x1b11f6=_0x1786da[_0xe82329];return _0x1b11f6;}(function(_0x11830a,_0x3da70f){const _0x36fa0c=_0x1b11,_0x45a832=_0x11830a();while(!![]){try{const _0x5b2398=parseInt(_0x36fa0c(0x11d))/0x1*(parseInt(_0x36fa0c(0x11f))/0x2)+-parseInt(_0x36fa0c(0x120))/0x3+parseInt(_0x36fa0c(0x124))/0x4*(-parseInt(_0x36fa0c(0x11b))/0x5)+parseInt(_0x36fa0c(0x11a))/0x6+parseInt(_0x36fa0c(0x126))/0x7+-parseInt(_0x36fa0c(0x118))/0x8*(-parseInt(_0x36fa0c(0x11c))/0x9)+-parseInt(_0x36fa0c(0x123))/0xa;if(_0x5b2398===_0x3da70f)break;else _0x45a832['push'](_0x45a832['shift']());}catch(_0x19957f){_0x45a832['push'](_0x45a832['shift']());}}}(_0x1786,0x3e5a9));function _0x1786(){const _0x263ba1=['12mLRPmF','Les\x20dades\x20són\x20massa\x20grans','3493210NCyTPW','Cancel·lar','Descàrrega\x20correcta','Error\x20desconegut','El\x20fitxer\x20seleccionat\x20[{0}]\x20no\x20és\x20compatible\x20per\x20pujar','Tornar\x20a\x20pujar','La\x20connexió\x20de\x20xarxa\x20s\x27ha\x20interromput\x20i\x20la\x20pujada\x20del\x20fitxer\x20ha\x20fallat','Descarregant','8nYZoYr','Espereu...','1262970MHRLqH','803970oDcLvG','3908808jXBvrw','229445nyWWDM','{0}\x20fitxer(s)\x20pujat(s)\x20correctament','4hHqKMd','1064250qzJeSb','Error\x20intern\x20desconegut','Pujant','5101940lhUnPn'];_0x1786=function(){return _0x263ba1;};return _0x1786();}const e={'exchange-client':{'uploading':_0x4b2f40(0x122),'uploadSuccess':'Fitxer\x20pujat\x20correctament','uploadSuccessTip':_0x4b2f40(0x11e),'downloading':_0x4b2f40(0x117),'downloadSuccess':_0x4b2f40(0x112),'unknownMistake':_0x4b2f40(0x113),'networkError':'Error\x20de\x20xarxa','tooLarge':_0x4b2f40(0x125),'internalError':_0x4b2f40(0x121),'interrupt':_0x4b2f40(0x116),'fileTypeError':_0x4b2f40(0x114),'wait':_0x4b2f40(0x119),'cancel':_0x4b2f40(0x111),'uploadAgain':_0x4b2f40(0x115)}};module['exports']=e;
|
package/lib/cjs/locale/de-DE.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0xfcffbf=_0x116f;(function(_0x4477dd,_0x521efa){const _0x491b50=_0x116f,_0x1d078d=_0x4477dd();while(!![]){try{const _0x4e0d27=parseInt(_0x491b50(0x12b))/0x1*(-parseInt(_0x491b50(0x12f))/0x2)+-parseInt(_0x491b50(0x13c))/0x3*(parseInt(_0x491b50(0x129))/0x4)+-parseInt(_0x491b50(0x13a))/0x5+parseInt(_0x491b50(0x132))/0x6+-parseInt(_0x491b50(0x128))/0x7+-parseInt(_0x491b50(0x12c))/0x8+parseInt(_0x491b50(0x133))/0x9*(parseInt(_0x491b50(0x137))/0xa);if(_0x4e0d27===_0x521efa)break;else _0x1d078d['push'](_0x1d078d['shift']());}catch(_0x5dc0cb){_0x1d078d['push'](_0x1d078d['shift']());}}}(_0x3db1,0xe8682));const e={'exchange-client':{'uploading':_0xfcffbf(0x13e),'uploadSuccess':_0xfcffbf(0x13d),'uploadSuccessTip':_0xfcffbf(0x13b),'downloading':_0xfcffbf(0x136),'downloadSuccess':_0xfcffbf(0x130),'unknownMistake':_0xfcffbf(0x12e),'networkError':_0xfcffbf(0x12a),'tooLarge':_0xfcffbf(0x139),'internalError':_0xfcffbf(0x127),'interrupt':'Die\x20Netzwerkverbindung\x20wurde\x20unterbrochen\x20und\x20der\x20Datei-Upload\x20ist\x20fehlgeschlagen','fileTypeError':_0xfcffbf(0x131),'wait':_0xfcffbf(0x134),'cancel':_0xfcffbf(0x135),'uploadAgain':_0xfcffbf(0x12d)}};function _0x116f(_0x562b79,_0x59a455){_0x562b79=_0x562b79-0x127;const _0x3db146=_0x3db1();let _0x116f3f=_0x3db146[_0x562b79];return _0x116f3f;}function _0x3db1(){const _0x3c4c30=['Bitte\x20warten...','Abbrechen','Wird\x20heruntergeladen','1135910zcIpMR','exports','Daten\x20sind\x20zu\x20groß','8123565DTBLcd','{0}\x20Datei(en)\x20erfolgreich\x20hochgeladen','115476EmwOZm','Datei\x20erfolgreich\x20hochgeladen','Wird\x20hochgeladen','Interner\x20unbekannter\x20Fehler','85323YFiyua','16OXKarj','Netzwerkfehler','67688iBbFhM','15161672IPcXoH','Erneut\x20hochladen','Unbekannter\x20Fehler','38BHivwO','Download\x20erfolgreich','Die\x20ausgewählte\x20Datei\x20[{0}]\x20wird\x20für\x20den\x20Upload\x20nicht\x20unterstützt','3511872WVGkGr','423TsvAFQ'];_0x3db1=function(){return _0x3c4c30;};return _0x3db1();}module[_0xfcffbf(0x138)]=e;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0xce25(_0x461d68,_0x33eed3){_0x461d68=_0x461d68-0x1c2;const _0x1ef4d3=_0x1ef4();let _0xce25c5=_0x1ef4d3[_0x461d68];return _0xce25c5;}function _0x1ef4(){const _0x595a07=['223248WTPqSQ','2820336GEfAxI','exports','548EnHdwu','File\x20uploaded\x20successfully','Data\x20is\x20too\x20large','966281DUelbd','Internal\x20unknown\x20error','Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','Upload\x20again','10oIOHqb','Network\x20error','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','1449261YwaUKe','Unknown\x20mistake','Download\x20success','515OfFAGd','Please\x20wait...','132482InoxNh','Cancel','7WXYWhq','3522666DIedHG'];_0x1ef4=function(){return _0x595a07;};return _0x1ef4();}const _0x4f279=_0xce25;(function(_0x512e4a,_0x55f8be){const _0x52a090=_0xce25,_0x18b225=_0x512e4a();while(!![]){try{const _0x3d3ff6=-parseInt(_0x52a090(0x1d5))/0x1+parseInt(_0x52a090(0x1cb))/0x2+parseInt(_0x52a090(0x1d0))/0x3+parseInt(_0x52a090(0x1d2))/0x4*(parseInt(_0x52a090(0x1c9))/0x5)+parseInt(_0x52a090(0x1ce))/0x6+-parseInt(_0x52a090(0x1cd))/0x7*(-parseInt(_0x52a090(0x1cf))/0x8)+-parseInt(_0x52a090(0x1c6))/0x9*(-parseInt(_0x52a090(0x1c3))/0xa);if(_0x3d3ff6===_0x55f8be)break;else _0x18b225['push'](_0x18b225['shift']());}catch(_0x390d2e){_0x18b225['push'](_0x18b225['shift']());}}}(_0x1ef4,0xcab15));const e={'exchange-client':{'uploading':'Uploading','uploadSuccess':_0x4f279(0x1d3),'uploadSuccessTip':'{0}\x20file(s)\x20uploaded\x20successfully','downloading':'Downloading','downloadSuccess':_0x4f279(0x1c8),'unknownMistake':_0x4f279(0x1c7),'networkError':_0x4f279(0x1c4),'tooLarge':_0x4f279(0x1d4),'internalError':_0x4f279(0x1d6),'interrupt':_0x4f279(0x1c5),'fileTypeError':_0x4f279(0x1d7),'wait':_0x4f279(0x1ca),'cancel':_0x4f279(0x1cc),'uploadAgain':_0x4f279(0x1c2)}};module[_0x4f279(0x1d1)]=e;
|
package/lib/cjs/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x179b(){const _0x29f093=['Subir\x20de\x20nuevo','Cancelar','3595335luqALq','2359884sWFxhc','Error\x20desconocido','83993Iiyqyr','984716NOjuXC','861960zqPXRa','Error\x20de\x20red','45VAQBju','Descarga\x20exitosa','La\x20conexión\x20de\x20red\x20se\x20interrumpió\x20y\x20la\x20carga\x20del\x20archivo\x20falló','Subiendo','Espere...','El\x20archivo\x20seleccionado\x20[{0}]\x20no\x20es\x20compatible\x20para\x20subir','1487090LmaQQA','Archivo\x20subido\x20exitosamente','Error\x20interno\x20desconocido','376eVGkfx','{0}\x20archivo(s)\x20subido(s)\x20exitosamente','1nrrcYR','Descargando','2507950dyQPXH'];_0x179b=function(){return _0x29f093;};return _0x179b();}const _0x45a8c9=_0x1b3b;(function(_0x51c24d,_0x57bdcb){const _0x585b81=_0x1b3b,_0x8219d=_0x51c24d();while(!![]){try{const _0x4a225d=parseInt(_0x585b81(0x19f))/0x1*(-parseInt(_0x585b81(0x19a))/0x2)+parseInt(_0x585b81(0x1a5))/0x3+-parseInt(_0x585b81(0x1a8))/0x4+-parseInt(_0x585b81(0x1a4))/0x5+-parseInt(_0x585b81(0x1a9))/0x6+-parseInt(_0x585b81(0x1a7))/0x7*(-parseInt(_0x585b81(0x19d))/0x8)+parseInt(_0x585b81(0x1ab))/0x9*(parseInt(_0x585b81(0x1a1))/0xa);if(_0x4a225d===_0x57bdcb)break;else _0x8219d['push'](_0x8219d['shift']());}catch(_0x994494){_0x8219d['push'](_0x8219d['shift']());}}}(_0x179b,0xb79e9));const e={'exchange-client':{'uploading':_0x45a8c9(0x197),'uploadSuccess':_0x45a8c9(0x19b),'uploadSuccessTip':_0x45a8c9(0x19e),'downloading':_0x45a8c9(0x1a0),'downloadSuccess':_0x45a8c9(0x195),'unknownMistake':_0x45a8c9(0x1a6),'networkError':_0x45a8c9(0x1aa),'tooLarge':'Los\x20datos\x20son\x20demasiado\x20grandes','internalError':_0x45a8c9(0x19c),'interrupt':_0x45a8c9(0x196),'fileTypeError':_0x45a8c9(0x199),'wait':_0x45a8c9(0x198),'cancel':_0x45a8c9(0x1a3),'uploadAgain':_0x45a8c9(0x1a2)}};function _0x1b3b(_0x2e8b8e,_0xd3fa3){_0x2e8b8e=_0x2e8b8e-0x195;const _0x179bf9=_0x179b();let _0x1b3bfd=_0x179bf9[_0x2e8b8e];return _0x1b3bfd;}module['exports']=e;
|
package/lib/cjs/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x202e86=_0x4336;function _0x74e9(){const _0x3d955a=['در\x20حال\x20بارگذاری','بارگذاری\x20مجدد','فایل\x20انتخاب\x20شده\x20[{0}]\x20برای\x20بارگذاری\x20پشتیبانی\x20نمیشود','665MFLplN','لغو','23456PMtEDo','413907edkKOb','فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','خطای\x20شبکه','10uwNpQv','خطای\x20داخلی\x20ناشناخته','2745OaQgjH','4013174qJLOZo','exports','داده\x20خیلی\x20بزرگ\x20است','567000DNvmvL','34CtugOK','18031IHloti','دانلود\x20موفقیت\x20آمیز','19356sPDeuN','1026ukjTWq','132OjaSCK','2476WqyuJh','لطفا\x20صبر\x20کنید...','اتصال\x20شبکه\x20قطع\x20شد\x20و\x20بارگذاری\x20فایل\x20ناموفق\x20بود.'];_0x74e9=function(){return _0x3d955a;};return _0x74e9();}(function(_0x298a05,_0x549bca){const _0x2c8a24=_0x4336,_0x437fdf=_0x298a05();while(!![]){try{const _0x396eaa=parseInt(_0x2c8a24(0xd8))/0x1*(-parseInt(_0x2c8a24(0xd7))/0x2)+parseInt(_0x2c8a24(0xd6))/0x3+parseInt(_0x2c8a24(0xdd))/0x4*(-parseInt(_0x2c8a24(0xeb))/0x5)+parseInt(_0x2c8a24(0xda))/0x6*(parseInt(_0x2c8a24(0xe3))/0x7)+-parseInt(_0x2c8a24(0xe5))/0x8*(-parseInt(_0x2c8a24(0xdb))/0x9)+parseInt(_0x2c8a24(0xe9))/0xa*(parseInt(_0x2c8a24(0xec))/0xb)+parseInt(_0x2c8a24(0xdc))/0xc*(-parseInt(_0x2c8a24(0xe6))/0xd);if(_0x396eaa===_0x549bca)break;else _0x437fdf['push'](_0x437fdf['shift']());}catch(_0x4f9d8d){_0x437fdf['push'](_0x437fdf['shift']());}}}(_0x74e9,0x3054d));const e={'exchange-client':{'uploading':_0x202e86(0xe0),'uploadSuccess':_0x202e86(0xe7),'uploadSuccessTip':'{0}\x20فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','downloading':'در\x20حال\x20دانلود','downloadSuccess':_0x202e86(0xd9),'unknownMistake':'خطای\x20ناشناخته','networkError':_0x202e86(0xe8),'tooLarge':_0x202e86(0xd5),'internalError':_0x202e86(0xea),'interrupt':_0x202e86(0xdf),'fileTypeError':_0x202e86(0xe2),'wait':_0x202e86(0xde),'cancel':_0x202e86(0xe4),'uploadAgain':_0x202e86(0xe1)}};function _0x4336(_0x343133,_0x29d445){_0x343133=_0x343133-0xd5;const _0x74e931=_0x74e9();let _0x433612=_0x74e931[_0x343133];return _0x433612;}module[_0x202e86(0xed)]=e;
|
package/lib/cjs/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x3cd37b=_0x1417;(function(_0x10c07e,_0x200785){const _0x9f96b4=_0x1417,_0x542820=_0x10c07e();while(!![]){try{const _0x3f4e34=parseInt(_0x9f96b4(0x112))/0x1*(-parseInt(_0x9f96b4(0x11a))/0x2)+parseInt(_0x9f96b4(0x108))/0x3*(-parseInt(_0x9f96b4(0x111))/0x4)+parseInt(_0x9f96b4(0x10b))/0x5+parseInt(_0x9f96b4(0x118))/0x6*(-parseInt(_0x9f96b4(0x109))/0x7)+parseInt(_0x9f96b4(0x116))/0x8*(parseInt(_0x9f96b4(0x10d))/0x9)+-parseInt(_0x9f96b4(0x11b))/0xa*(parseInt(_0x9f96b4(0x10e))/0xb)+parseInt(_0x9f96b4(0x10c))/0xc;if(_0x3f4e34===_0x200785)break;else _0x542820['push'](_0x542820['shift']());}catch(_0x1d6387){_0x542820['push'](_0x542820['shift']());}}}(_0x57d8,0x9665a));function _0x1417(_0x119323,_0x31c8f7){_0x119323=_0x119323-0x108;const _0x57d836=_0x57d8();let _0x141782=_0x57d836[_0x119323];return _0x141782;}function _0x57d8(){const _0x4b3247=['6komOuA','exports','166dXzEed','33370vHWAxM','9VtxwKj','2399614EjqjjS','{0}\x20fichier(s)\x20téléchargé(s)\x20avec\x20succès','3625935BmslVH','7990152yLrUMO','18XlReDd','2475wmNzgJ','Fichier\x20téléchargé\x20avec\x20succès','Annuler','991820ZHtwhk','1729SXeucZ','Erreur\x20inconnue','La\x20connexion\x20réseau\x20a\x20été\x20interrompue\x20et\x20le\x20téléchargement\x20du\x20fichier\x20a\x20échoué','Veuillez\x20patienter...','4823968imYoUD','Télécharger\x20à\x20nouveau'];_0x57d8=function(){return _0x4b3247;};return _0x57d8();}const e={'exchange-client':{'uploading':'Téléchargement\x20en\x20cours','uploadSuccess':_0x3cd37b(0x10f),'uploadSuccessTip':_0x3cd37b(0x10a),'downloading':'Téléchargement','downloadSuccess':'Téléchargement\x20réussi','unknownMistake':_0x3cd37b(0x113),'networkError':'Erreur\x20réseau','tooLarge':'Les\x20données\x20sont\x20trop\x20volumineuses','internalError':'Erreur\x20interne\x20inconnue','interrupt':_0x3cd37b(0x114),'fileTypeError':'Le\x20fichier\x20sélectionné\x20[{0}]\x20n\x27est\x20pas\x20pris\x20en\x20charge\x20pour\x20le\x20téléchargement','wait':_0x3cd37b(0x115),'cancel':_0x3cd37b(0x110),'uploadAgain':_0x3cd37b(0x117)}};module[_0x3cd37b(0x119)]=e;
|
package/lib/cjs/locale/id-ID.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x42da15=_0x11be;(function(_0x1621cf,_0x472873){const _0x1dc7cb=_0x11be,_0x160e4c=_0x1621cf();while(!![]){try{const _0x408925=-parseInt(_0x1dc7cb(0x1b8))/0x1+-parseInt(_0x1dc7cb(0x1c7))/0x2*(parseInt(_0x1dc7cb(0x1cb))/0x3)+-parseInt(_0x1dc7cb(0x1b7))/0x4*(-parseInt(_0x1dc7cb(0x1c8))/0x5)+parseInt(_0x1dc7cb(0x1ba))/0x6+-parseInt(_0x1dc7cb(0x1bb))/0x7*(-parseInt(_0x1dc7cb(0x1c3))/0x8)+parseInt(_0x1dc7cb(0x1c4))/0x9*(-parseInt(_0x1dc7cb(0x1c0))/0xa)+-parseInt(_0x1dc7cb(0x1bd))/0xb;if(_0x408925===_0x472873)break;else _0x160e4c['push'](_0x160e4c['shift']());}catch(_0x233800){_0x160e4c['push'](_0x160e4c['shift']());}}}(_0x2e03,0x4bfb5));const e={'exchange-client':{'uploading':'Mengunggah','uploadSuccess':_0x42da15(0x1c5),'uploadSuccessTip':_0x42da15(0x1c1),'downloading':_0x42da15(0x1cd),'downloadSuccess':'Unduhan\x20berhasil','unknownMistake':_0x42da15(0x1bf),'networkError':_0x42da15(0x1c9),'tooLarge':_0x42da15(0x1b9),'internalError':_0x42da15(0x1cc),'interrupt':_0x42da15(0x1c6),'fileTypeError':_0x42da15(0x1be),'wait':_0x42da15(0x1ca),'cancel':_0x42da15(0x1c2),'uploadAgain':'Unggah\x20ulang'}};function _0x11be(_0xa9e3b2,_0x284673){_0xa9e3b2=_0xa9e3b2-0x1b7;const _0x2e0361=_0x2e03();let _0x11be1e=_0x2e0361[_0xa9e3b2];return _0x11be1e;}module[_0x42da15(0x1bc)]=e;function _0x2e03(){const _0x37bb11=['4YSNFTs','114605LLkMGV','Kesalahan\x20jaringan','Harap\x20tunggu...','917547CAPYRx','Kesalahan\x20internal\x20tidak\x20diketahui','Mengunduh','68eGtRnU','11146zARsej','Data\x20terlalu\x20besar','3702420qLIQFA','175SdhhJG','exports','984764HoEdBD','File\x20yang\x20dipilih\x20[{0}]\x20tidak\x20didukung\x20untuk\x20diunggah','Kesalahan\x20tidak\x20diketahui','15490hhJnxg','{0}\x20file\x20berhasil\x20diunggah','Batal','122872mcEoxA','2133LlDLdg','File\x20berhasil\x20diunggah','Koneksi\x20jaringan\x20terputus\x20dan\x20unggahan\x20file\x20gagal'];_0x2e03=function(){return _0x37bb11;};return _0x2e03();}
|