@univerjs-pro/exchange-client 1.0.0-alpha.2 → 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/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 _0x2c0792=_0x37e6;(function(_0x411f34,_0x1df63d){const _0x12e071=_0x37e6,_0xe5a76e=_0x411f34();while(!![]){try{const _0x3e0d2c=parseInt(_0x12e071(0x203))/0x1*(-parseInt(_0x12e071(0x297))/0x2)+-parseInt(_0x12e071(0x25f))/0x3+parseInt(_0x12e071(0x27e))/0x4*(-parseInt(_0x12e071(0x2cf))/0x5)+-parseInt(_0x12e071(0x2ed))/0x6+-parseInt(_0x12e071(0x27f))/0x7*(-parseInt(_0x12e071(0x303))/0x8)+parseInt(_0x12e071(0x2d0))/0x9+parseInt(_0x12e071(0x1f6))/0xa;if(_0x3e0d2c===_0x1df63d)break;else _0xe5a76e['push'](_0xe5a76e['shift']());}catch(_0x423ea3){_0xe5a76e['push'](_0xe5a76e['shift']());}}}(_0x243f,0x19201),Object[_0x2c0792(0x310)](exports,Symbol[_0x2c0792(0x319)],{'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');const f='exchange-client.config',p={};var m=_0x2c0792(0x2f8),ee=_0x2c0792(0x375);function h(_0x18f434){'@babel/helpers - typeof';const _0x3fc535=_0x2c0792;return h=typeof Symbol==_0x3fc535(0x347)&&typeof Symbol[_0x3fc535(0x272)]=='symbol'?function(_0x4655b0){return typeof _0x4655b0;}:function(_0x73bf45){const _0x1de5c8=_0x3fc535;return _0x73bf45&&typeof Symbol==_0x1de5c8(0x347)&&_0x73bf45['constructor']===Symbol&&_0x73bf45!==Symbol[_0x1de5c8(0x254)]?_0x1de5c8(0x29b):typeof _0x73bf45;},h(_0x18f434);}function te(_0x839388,_0x4d1b46){const _0x41b76c=_0x2c0792;if(h(_0x839388)!='object'||!_0x839388)return _0x839388;var _0x184015=_0x839388[Symbol[_0x41b76c(0x2e6)]];if(_0x184015!==void 0x0){var _0x2662c8=_0x184015[_0x41b76c(0x26f)](_0x839388,_0x4d1b46||_0x41b76c(0x2de));if(h(_0x2662c8)!='object')return _0x2662c8;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x4d1b46===_0x41b76c(0x33b)?String:Number)(_0x839388);}function ne(_0x14d903){const _0x24aeaa=_0x2c0792;var _0xbcd4d9=te(_0x14d903,_0x24aeaa(0x33b));return h(_0xbcd4d9)==_0x24aeaa(0x29b)?_0xbcd4d9:_0xbcd4d9+'';}function g(_0x3f63b4,_0x351f40,_0x1dc807){const _0x181104=_0x2c0792;return(_0x351f40=ne(_0x351f40))in _0x3f63b4?Object[_0x181104(0x310)](_0x3f63b4,_0x351f40,{'value':_0x1dc807,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3f63b4[_0x351f40]=_0x1dc807,_0x3f63b4;}let re=function(_0x4d0d88){const _0x471367=_0x2c0792;return _0x4d0d88[_0x4d0d88[_0x471367(0x290)]=0x0]=_0x471367(0x290),_0x4d0d88[_0x4d0d88[_0x471367(0x22c)]=0x1]=_0x471367(0x22c),_0x4d0d88[_0x4d0d88['ERROR']=0x2]=_0x471367(0x2cb),_0x4d0d88;}({});const _=(0x0,t[_0x2c0792(0x242)])('univer-pro.exchange-client.upload-notification.service');var v=class extends t['Disposable']{constructor(){const _0x3de91f=_0x2c0792;super(),g(this,_0x3de91f(0x354),new o[(_0x3de91f(0x208))]()),g(this,_0x3de91f(0x2ce),new o['Subject']()),g(this,_0x3de91f(0x220),new o['Subject']()),g(this,_0x3de91f(0x2c6),this[_0x3de91f(0x354)][_0x3de91f(0x25a)]()),g(this,_0x3de91f(0x278),this[_0x3de91f(0x2ce)][_0x3de91f(0x25a)]()),g(this,_0x3de91f(0x29c),this[_0x3de91f(0x220)][_0x3de91f(0x25a)]()),g(this,_0x3de91f(0x263),[]);}['dispose'](){const _0x4849eb=_0x2c0792;super[_0x4849eb(0x33f)](),this[_0x4849eb(0x354)][_0x4849eb(0x36e)](),this[_0x4849eb(0x2ce)][_0x4849eb(0x36e)](),this[_0x4849eb(0x220)][_0x4849eb(0x36e)]();}[_0x2c0792(0x313)](){const _0x89615f=_0x2c0792;this[_0x89615f(0x354)][_0x89615f(0x320)](!0x0);}[_0x2c0792(0x37c)](){const _0x35d55f=_0x2c0792;this[_0x35d55f(0x354)][_0x35d55f(0x320)](!0x1);}[_0x2c0792(0x2e4)](_0x3db51b){const _0x493f14=_0x2c0792;this[_0x493f14(0x2ce)][_0x493f14(0x320)](_0x3db51b);}[_0x2c0792(0x206)](_0x3426a2){const _0x1ddd32=_0x2c0792;this[_0x1ddd32(0x263)][_0x1ddd32(0x2ab)](_0x3426a2),this[_0x1ddd32(0x220)][_0x1ddd32(0x320)](this[_0x1ddd32(0x263)]);}};function ie(_0x452020){const _0x240de2=_0x2c0792;let {list:_0x216600}=_0x452020;function _0x4199b8(_0x856316){const _0xf2098b=_0x37e6;switch(_0x856316){case 0x1:return(0x0,c['jsx'])(r[_0xf2098b(0x1f5)],{});case 0x2:return(0x0,c[_0xf2098b(0x31d)])(r[_0xf2098b(0x2e3)],{});case 0x3:return(0x0,c['jsx'])(r[_0xf2098b(0x350)],{});default:return null;}}return(0x0,c[_0x240de2(0x31d)])(_0x240de2(0x210),{'className':(0x0,s['clsx'])(_0x240de2(0x264),s[_0x240de2(0x322)]),'children':(0x0,c[_0x240de2(0x31d)])('ul',{'className':_0x240de2(0x28f),'children':_0x216600['map']((_0x4e740d,_0x4367e2)=>(0x0,c[_0x240de2(0x31d)])('li',{'children':(0x0,c[_0x240de2(0x2c2)])('a',{'className':_0x240de2(0x21b),'href':_0x4e740d[_0x240de2(0x270)],'target':_0x240de2(0x34e),'rel':_0x240de2(0x2e1),'children':[(0x0,c[_0x240de2(0x2c2)])(_0x240de2(0x2aa),{'className':_0x240de2(0x33c),'children':[(0x0,c[_0x240de2(0x31d)])(_0x240de2(0x2aa),{'className':'univer-flex\x20univer-h-5\x20univer-text-xl','children':_0x4199b8(_0x4e740d[_0x240de2(0x222)])}),(0x0,c[_0x240de2(0x31d)])(s['Tooltip'],{'showIfEllipsis':!0x0,'title':_0x4e740d[_0x240de2(0x376)],'asChild':!0x0,'children':(0x0,c[_0x240de2(0x31d)])(_0x240de2(0x2aa),{'className':_0x240de2(0x326),'children':_0x4e740d[_0x240de2(0x376)]})})]}),(0x0,c[_0x240de2(0x31d)])('span',{'className':_0x240de2(0x230),'children':(0x0,c[_0x240de2(0x31d)])(r['ShareRangeIcon'],{})})]})},_0x4367e2))})});}const y=_0x2c0792(0x229),b='application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',x='application/vnd.ms-excel.sheet.macroEnabled.12',S=_0x2c0792(0x1fe),C=_0x2c0792(0x30b),w={[t[_0x2c0792(0x257)][_0x2c0792(0x2c9)]]:[''],[t[_0x2c0792(0x257)][_0x2c0792(0x36d)]]:[y],[t[_0x2c0792(0x257)][_0x2c0792(0x295)]]:[b,x,S],[t[_0x2c0792(0x257)]['UNIVER_SLIDE']]:[C],[t['UniverInstanceType']['UNIVER_BASE']]:[''],[t['UniverInstanceType'][_0x2c0792(0x35a)]]:[''],[t[_0x2c0792(0x257)]['UNIVER_PROJECT']]:[''],[t['UniverInstanceType'][_0x2c0792(0x1f3)]]:['']},T={[y]:'docx',[b]:_0x2c0792(0x2f2),[x]:_0x2c0792(0x2f6),[S]:_0x2c0792(0x286),[C]:'pptx'};function ae(_0x499c1c,_0x1cf657,_0x422604){const _0x2d7ab1=_0x2c0792;let _0x3c60db=document[_0x2d7ab1(0x213)]('a');_0x3c60db[_0x2d7ab1(0x2fe)]=_0x499c1c,_0x3c60db[_0x2d7ab1(0x2e7)]['display']=_0x2d7ab1(0x2d3),_0x3c60db[_0x2d7ab1(0x20f)]=_0x1cf657+'.'+_0x422604,document[_0x2d7ab1(0x2b2)][_0x2d7ab1(0x20c)](_0x3c60db),_0x3c60db[_0x2d7ab1(0x240)](),document[_0x2d7ab1(0x2b2)][_0x2d7ab1(0x291)](_0x3c60db);}function E(_0x432f08,_0x8df155,_0x351497){const _0x50e5e3=_0x2c0792;let _0x5bcd10=URL[_0x50e5e3(0x34d)](_0x432f08);ae(_0x5bcd10,_0x8df155,_0x351497),URL[_0x50e5e3(0x325)](_0x5bcd10);}function D(_0x13a142){const _0x4a8770=_0x2c0792;let _0x168225=_0x13a142['name'][_0x4a8770(0x369)]('.')['pop']();if(!_0x168225)return t[_0x4a8770(0x257)][_0x4a8770(0x2c9)];let _0x4e3e3f=oe(),_0x489726=t[_0x4a8770(0x257)]['UNIVER_UNKNOWN'];return _0x4e3e3f[_0x4a8770(0x2dc)](_0x5490de=>O(_0x168225,_0x5490de)?(_0x489726=_0x5490de,!0x0):!0x1),_0x489726;}function oe(){const _0x215bbb=_0x2c0792;return Object[_0x215bbb(0x2b1)](t[_0x215bbb(0x257)])[_0x215bbb(0x334)](_0x1e94a4=>typeof _0x1e94a4==_0x215bbb(0x2a4));}function O(_0x8e1992,_0xf3cdf1){const _0x554b8e=_0x2c0792;var _0x2ba1ef;return((_0x2ba1ef=w[_0xf3cdf1])==null?[]:_0x2ba1ef)[_0x554b8e(0x337)](_0xaa7f85=>(T[_0xaa7f85]||'')[_0x554b8e(0x2af)]())['includes'](_0x8e1992[_0x554b8e(0x2af)]());}function k(_0x40f9b5,_0x3a5d88=!0x1){const _0x48dc21=_0x2c0792;let _0x4259a1=_0x40f9b5[_0x48dc21(0x337)](_0x4a6ff0=>{var _0x4686ef;return(_0x4686ef=w[_0x4a6ff0])==null?[]:_0x4686ef;})[_0x48dc21(0x23c)](',');return new Promise((_0x32cd8a,_0x347595)=>{const _0x378e11=_0x48dc21;let _0x2776fa=document[_0x378e11(0x213)](_0x378e11(0x252));_0x2776fa[_0x378e11(0x222)]='file',_0x2776fa[_0x378e11(0x346)]=_0x4259a1,_0x2776fa[_0x378e11(0x202)]=_0x3a5d88,_0x2776fa[_0x378e11(0x30f)](_0x378e11(0x37d),_0x563e9a=>{const _0x1f4bc4=_0x378e11;let _0x40a789=_0x563e9a['currentTarget'];if(!_0x40a789[_0x1f4bc4(0x265)]||_0x40a789[_0x1f4bc4(0x265)][_0x1f4bc4(0x365)]===0x0)throw _0x347595(null),Error(_0x1f4bc4(0x2b8));_0x32cd8a(_0x40a789['files']);}),_0x2776fa[_0x378e11(0x240)]();});}async function A(_0x37ebcd,_0x5f55cc){const _0x154308=_0x2c0792;try{var _0x2a5ef7,_0x26ac6c,_0x20aec5;let _0x5d21f6=await _0x5f55cc[_0x154308(0x30d)](_0x37ebcd,{'responseType':_0x154308(0x30c)}),_0x21dd9a=_0x5d21f6['body'],_0x385a5e=(_0x2a5ef7=(_0x26ac6c=_0x5d21f6[_0x154308(0x2ad)]['get'](_0x154308(0x1fb)))==null?void 0x0:_0x26ac6c['join'](',\x20'))==null?_0x154308(0x26a):_0x2a5ef7,_0x2822e4=_0x154308(0x2d5)+(T[_0x385a5e]||_0x154308(0x2f2)),_0x3251ae=(_0x20aec5=_0x5d21f6[_0x154308(0x2ad)][_0x154308(0x30d)](_0x154308(0x2db)))==null?void 0x0:_0x20aec5['join'](',\x20');if(_0x3251ae){let _0x792805=_0x3251ae['match'](/filename=(.+)/);_0x792805&&_0x792805[0x1]&&(_0x2822e4=_0x792805[0x1]);}else _0x2822e4=se(_0x37ebcd)||_0x2822e4;return new File([_0x21dd9a],_0x2822e4,{'type':_0x385a5e});}catch(_0x148282){console[_0x154308(0x20b)](_0x154308(0x267),_0x148282);return;}}function se(_0xe431cf){const _0xef1a63=_0x2c0792;try{return new URL(_0xe431cf)[_0xef1a63(0x20d)][_0xef1a63(0x369)]('/')[_0xef1a63(0x2f4)]();}catch(_0x4ebc88){console[_0xef1a63(0x20b)](_0xef1a63(0x237),_0x4ebc88);return;}}function ce(_0xc179c3){const _0x68adba=_0x2c0792;let _0x12ad2e=new Blob([_0xc179c3[_0x68adba(0x2f3)]],{'type':_0x68adba(0x348)});return new File([_0x12ad2e],_0x68adba(0x2c8));}function j(_0x5ac8d6,_0x25ec2d){const _0xe25536=_0x2c0792;return _0x5ac8d6[_0xe25536(0x32e)]('{type}',_0x25ec2d);}function M(_0x155769,_0x8066fa){const _0x260b60=_0x2c0792;return _0x155769[_0x260b60(0x32e)]('{taskID}',_0x8066fa);}function le(_0x4ec892,_0xd98e82){const _0xe4bf=_0x2c0792;return _0x4ec892[_0xe4bf(0x32e)](_0xe4bf(0x360),_0xd98e82);}function N(_0x5b50a6,_0xe14635){return function(_0x5d8790,_0x43f58e){_0xe14635(_0x5d8790,_0x43f58e,_0x5b50a6);};}function P(_0x550595,_0xa18cf9,_0xeb072c,_0x5684ed){const _0x54e8b9=_0x2c0792;var _0x3599ae=arguments[_0x54e8b9(0x365)],_0xe7e2ba=_0x3599ae<0x3?_0xa18cf9:_0x5684ed===null?_0x5684ed=Object['getOwnPropertyDescriptor'](_0xa18cf9,_0xeb072c):_0x5684ed,_0x5dc88d;if(typeof Reflect==_0x54e8b9(0x1fc)&&typeof Reflect[_0x54e8b9(0x352)]==_0x54e8b9(0x347))_0xe7e2ba=Reflect[_0x54e8b9(0x352)](_0x550595,_0xa18cf9,_0xeb072c,_0x5684ed);else{for(var _0x2acd62=_0x550595[_0x54e8b9(0x365)]-0x1;_0x2acd62>=0x0;_0x2acd62--)(_0x5dc88d=_0x550595[_0x2acd62])&&(_0xe7e2ba=(_0x3599ae<0x3?_0x5dc88d(_0xe7e2ba):_0x3599ae>0x3?_0x5dc88d(_0xa18cf9,_0xeb072c,_0xe7e2ba):_0x5dc88d(_0xa18cf9,_0xeb072c))||_0xe7e2ba);}return _0x3599ae>0x3&&_0xe7e2ba&&Object[_0x54e8b9(0x310)](_0xa18cf9,_0xeb072c,_0xe7e2ba),_0xe7e2ba;}const F=(0x0,t[_0x2c0792(0x242)])(_0x2c0792(0x330));let I=class{constructor(_0x5a4742,_0x2969d3){const _0x3cb888=_0x2c0792;this[_0x3cb888(0x2b5)]=_0x5a4742,this['_httpService']=_0x2969d3,g(this,_0x3cb888(0x2ec),new Set());}['dispose'](){}[_0x2c0792(0x308)](_0x11f704){const _0x556d40=_0x2c0792;this[_0x556d40(0x2ec)][_0x556d40(0x36c)](_0x11f704);}['clearTaskInterrupted'](){const _0xdfaa9b=_0x2c0792;this[_0xdfaa9b(0x2ec)][_0xdfaa9b(0x2bc)]();}async[_0x2c0792(0x223)](_0x5e5996,_0x67a5f=0x0,_0x596a30=!0x1){const _0xf7ae3b=_0x2c0792;if(typeof _0x5e5996==_0xf7ae3b(0x33b)){let _0x32e73a=await A(_0x5e5996,this[_0xf7ae3b(0x235)]);if(!_0x32e73a)throw Error(_0xf7ae3b(0x284));_0x5e5996=_0x32e73a;}_0x67a5f=_0x67a5f||_0x5e5996[_0xf7ae3b(0x288)];let _0x20abe8=new FormData();_0x20abe8[_0xf7ae3b(0x204)](_0xf7ae3b(0x2c0),_0x5e5996);try{let _0x2f7650=this['_getUploadFileURL']()+_0xf7ae3b(0x275)+_0x67a5f+_0xf7ae3b(0x27d)+l[_0xf7ae3b(0x2f7)]['HttpImport']+_0xf7ae3b(0x27b)+_0x596a30,_0xaf6a3b={'body':_0x20abe8},_0x1ed566=(await this[_0xf7ae3b(0x235)]['post'](_0x2f7650,_0xaf6a3b))[_0xf7ae3b(0x2b2)];if(_0x1ed566[_0xf7ae3b(0x20b)]&&_0x1ed566['error'][_0xf7ae3b(0x31a)]!==l[_0xf7ae3b(0x2c7)]['OK'])throw Error(this[_0xf7ae3b(0x31f)]('upload\x20request\x20failed',_0x1ed566[_0xf7ae3b(0x20b)]));return _0x1ed566;}catch(_0x363d4f){throw _0x363d4f instanceof Error?_0x363d4f:Error(this[_0xf7ae3b(0x343)]('upload\x20request\x20failed',_0x363d4f));}}async[_0x2c0792(0x2b9)](_0x30767b){const _0x76a489=_0x2c0792;let {fileID:_0x14e93e,type:_0x2f921e,outputType:_0x4d7b9e,minSheetColumnCount:_0x436bbb,minSheetRowCount:_0x3effae}=_0x30767b;try{let _0x383e58=j(this[_0x76a489(0x361)](),''+_0x2f921e),_0x59faaa={'body':{'fileID':_0x14e93e,'outputType':_0x4d7b9e,'minSheetColumnCount':_0x436bbb,'minSheetRowCount':_0x3effae}},_0x304c77=(await this['_httpService']['post'](_0x383e58,_0x59faaa))[_0x76a489(0x2b2)];return _0x304c77['error']&&_0x304c77[_0x76a489(0x20b)][_0x76a489(0x31a)]!==l[_0x76a489(0x2c7)]['OK']?void 0x0:_0x304c77;}catch{return;}}async['export'](_0x3d90aa){const _0x444eeb=_0x2c0792;let {unitID:_0x4dd6ab,jsonID:_0x585e50,type:_0x1323d4,sscSwitch:_0x1f4a5c,useImageUrl:_0x96f2c1,ignoreTableExport:_0x5a0a1c}=_0x3d90aa;try{let _0x9d48b7=j(this['_getExportURL'](),''+_0x1323d4),_0x46c34a={'body':{'unitID':_0x4dd6ab,'jsonID':_0x585e50,'type':_0x1323d4,'sscSwitch':_0x1f4a5c,'useImageUrl':_0x96f2c1,'ignoreTableExport':_0x5a0a1c}},_0x1dd075=(await this[_0x444eeb(0x235)][_0x444eeb(0x256)](_0x9d48b7,_0x46c34a))[_0x444eeb(0x2b2)];return _0x1dd075['error']&&_0x1dd075[_0x444eeb(0x20b)][_0x444eeb(0x31a)]!==l[_0x444eeb(0x2c7)]['OK']?void 0x0:_0x1dd075;}catch{return;}}async[_0x2c0792(0x226)](_0x3a791b){return new Promise((_0x1dbaf8,_0x13fa81)=>{const _0x6d3d70=_0x37e6;try{let _0x5e6709=0x0,_0x199169=M(this['_getTaskURL'](),''+_0x3a791b),_0x208bff=this[_0x6d3d70(0x294)](),_0x367abb=async()=>{const _0x2a1303=_0x6d3d70;if(this[_0x2a1303(0x2ec)]['has'](_0x3a791b))return;let _0x1c443b=(await this['_httpService']['get'](_0x199169))['body'];if(_0x1c443b[_0x2a1303(0x20b)]&&_0x1c443b[_0x2a1303(0x20b)][_0x2a1303(0x31a)]===l[_0x2a1303(0x2c7)]['OK']){if(_0x1c443b[_0x2a1303(0x36b)]==='done')_0x1dbaf8(_0x1c443b);else{if(_0x1c443b[_0x2a1303(0x36b)]==='pending'){let _0x42e244=0x3e8;if(_0x5e6709>=_0x208bff){_0x13fa81(_0x1c443b);return;}else _0x5e6709>=0x7530&&(_0x42e244=0x1388);_0x5e6709+=_0x42e244,setTimeout(_0x367abb,_0x42e244);}else _0x13fa81(_0x1c443b);}}else _0x13fa81(_0x1c443b);};_0x367abb();}catch(_0x4f39f7){_0x13fa81(_0x4f39f7 instanceof Error?_0x4f39f7:Error(String(_0x4f39f7)));}});}async[_0x2c0792(0x2ee)](_0x1bf6d0){const _0x45116c=_0x2c0792;try{let _0x1614f3=le(this[_0x45116c(0x24a)](),''+_0x1bf6d0);return(await this[_0x45116c(0x235)]['get'](_0x1614f3))[_0x45116c(0x2b2)];}catch{return;}}async[_0x2c0792(0x2e0)](_0x5ed2c8){const _0x57d133=_0x2c0792;try{return(await this['_httpService']['get'](_0x5ed2c8,{'responseType':_0x57d133(0x1f8)}))[_0x57d133(0x2b2)];}catch{return;}}['_buildProtocolErrorMessage'](_0x9c3e7a,_0x4c3b28){const _0x6b09de=_0x2c0792;let _0x4fc79a=this[_0x6b09de(0x31c)](_0x4c3b28);return _0x4fc79a?_0x9c3e7a+':\x20'+_0x4fc79a:_0x9c3e7a;}[_0x2c0792(0x343)](_0x4cf227,_0x5a13f4){const _0x2d79c1=_0x2c0792;if(_0x5a13f4 instanceof n['HTTPResponseError']){let _0x22ff2f=typeof _0x5a13f4[_0x2d79c1(0x36b)]==_0x2d79c1(0x2a4)?''+_0x5a13f4['status']+(_0x5a13f4[_0x2d79c1(0x1fa)]?'\x20'+_0x5a13f4['statusText']:''):void 0x0,_0x3d8831=this['_extractErrorDetail'](_0x5a13f4['error']);return _0x22ff2f&&_0x3d8831?_0x4cf227+_0x2d79c1(0x311)+_0x22ff2f+_0x2d79c1(0x24e)+_0x3d8831:_0x22ff2f?_0x4cf227+_0x2d79c1(0x311)+_0x22ff2f:_0x3d8831?_0x4cf227+':\x20'+_0x3d8831:_0x4cf227;}let _0x50b6e0=this[_0x2d79c1(0x31c)](_0x5a13f4);return _0x50b6e0?_0x4cf227+':\x20'+_0x50b6e0:_0x4cf227;}[_0x2c0792(0x31c)](_0x212d5d){const _0x4b270d=_0x2c0792;if(typeof _0x212d5d==_0x4b270d(0x33b)){let _0x5dcc93=_0x212d5d[_0x4b270d(0x251)]();return _0x5dcc93[_0x4b270d(0x365)]>0x0?_0x5dcc93:void 0x0;}if(_0x212d5d instanceof Error)return this['_extractErrorDetail'](_0x212d5d[_0x4b270d(0x292)]);if(!_0x212d5d||typeof _0x212d5d!=_0x4b270d(0x1fc)||Array[_0x4b270d(0x357)](_0x212d5d))return;let _0x59140c=_0x212d5d,_0x192956=this[_0x4b270d(0x31c)](_0x59140c[_0x4b270d(0x292)]);if(_0x192956)return _0x192956;if(_0x59140c[_0x4b270d(0x20b)]&&typeof _0x59140c['error']=='object'&&!Array[_0x4b270d(0x357)](_0x59140c['error'])){let _0x34a712=this['_extractErrorDetail'](_0x59140c[_0x4b270d(0x20b)]);if(_0x34a712)return _0x34a712;}}['_getUploadFileURL'](){const _0x356ccc=_0x2c0792;var _0x4d80bc;let _0x3265f0=this[_0x356ccc(0x2b5)][_0x356ccc(0x2a7)](f);return(_0x4d80bc=_0x3265f0==null?void 0x0:_0x3265f0[_0x356ccc(0x35f)])==null?'/universer-api/stream/file/upload':_0x4d80bc;}[_0x2c0792(0x361)](){const _0x530e64=_0x2c0792;var _0x4921df;let _0xcd8b77=this[_0x530e64(0x2b5)]['getConfig'](f);return(_0x4921df=_0xcd8b77==null?void 0x0:_0xcd8b77[_0x530e64(0x23d)])==null?'/universer-api/exchange/{type}/import':_0x4921df;}[_0x2c0792(0x377)](){const _0x482a4c=_0x2c0792;var _0xfad245;let _0x16369e=this[_0x482a4c(0x2b5)][_0x482a4c(0x2a7)](f);return(_0xfad245=_0x16369e==null?void 0x0:_0x16369e[_0x482a4c(0x21f)])==null?_0x482a4c(0x2c5):_0xfad245;}[_0x2c0792(0x1fd)](){const _0x434ab0=_0x2c0792;var _0x5490a5;let _0x57598d=this[_0x434ab0(0x2b5)][_0x434ab0(0x2a7)](f);return(_0x5490a5=_0x57598d==null?void 0x0:_0x57598d['getTaskServerUrl'])==null?'/universer-api/exchange/task/{taskID}':_0x5490a5;}[_0x2c0792(0x24a)](){const _0x2a5362=_0x2c0792;var _0x14aa40;let _0x4c6070=this[_0x2a5362(0x2b5)][_0x2a5362(0x2a7)](f);return(_0x14aa40=_0x4c6070==null?void 0x0:_0x4c6070[_0x2a5362(0x283)])==null?_0x2a5362(0x216):_0x14aa40;}['_getMaxPollingTime'](){const _0x4f993f=_0x2c0792;var _0xebebb2;let _0x49d937=this['_configService'][_0x4f993f(0x2a7)](f);return(_0xebebb2=_0x49d937==null?void 0x0:_0x49d937['maxTimeoutTime'])==null?0x1d4c0:_0xebebb2;}};I=P([N(0x0,t[_0x2c0792(0x331)]),N(0x1,(0x0,t[_0x2c0792(0x225)])(n[_0x2c0792(0x29d)]))],I);function ue(_0xe5798f){const _0x38458c=_0x2c0792;let _0x5223f3=_0xe5798f[_0x38458c(0x301)];if(!_0x5223f3)return null;let _0x2c9893={};_0x5223f3[_0x38458c(0x201)]&&Object[_0x38458c(0x268)](_0x5223f3['sheets'])[_0x38458c(0x29e)](_0x31d422=>{const _0x1c1df6=_0x38458c;let _0x8c8b8c=_0x5223f3[_0x1c1df6(0x201)][_0x31d422];_0x2c9893[_0x31d422]={..._0x8c8b8c,'originalMeta':(0x0,u[_0x1c1df6(0x207)])(u[_0x1c1df6(0x378)][_0x1c1df6(0x2ae)](_0x8c8b8c[_0x1c1df6(0x321)]))};});let _0x190874=(0x0,u[_0x38458c(0x207)])(u[_0x38458c(0x378)]['decode'](_0x5223f3[_0x38458c(0x321)]));return{..._0xe5798f,'workbook':{..._0x5223f3,'originalMeta':_0x190874,'sheets':_0x2c9893},'doc':{},'slide':void 0x0};}function de(_0x55c6f6){const _0x2a89ba=_0x2c0792;let _0x463423=_0x55c6f6[_0x2a89ba(0x29f)];if(!_0x463423)return null;let _0x53e0d5=(0x0,u[_0x2a89ba(0x207)])(u[_0x2a89ba(0x378)][_0x2a89ba(0x2ae)](_0x463423[_0x2a89ba(0x321)]));return{..._0x55c6f6,'workbook':{},'doc':{..._0x463423,'originalMeta':_0x53e0d5},'slide':void 0x0};}function fe(_0x2e4f65){const _0x52f331=_0x2c0792;var _0x16fb17;let _0x4636a9=(_0x16fb17=_0x2e4f65[_0x52f331(0x262)])==null?_0x2e4f65[_0x52f331(0x29f)]:_0x16fb17;if(!_0x4636a9)return null;let _0x2e4679=typeof _0x4636a9[_0x52f331(0x321)]==_0x52f331(0x33b)?_0x4636a9['originalMeta']:(0x0,u[_0x52f331(0x207)])(u[_0x52f331(0x378)][_0x52f331(0x2ae)](_0x4636a9[_0x52f331(0x321)]));return{..._0x2e4f65,'workbook':{},'doc':{},'slide':{..._0x4636a9,'originalMeta':_0x2e4679}};}function L(_0x275fa0){let _0x560a0b={};return _0x275fa0['forEach'](_0x57c7de=>{const _0x1d7deb=_0x37e6;_0x560a0b[_0x57c7de['id']]={..._0x57c7de,'data':(0x0,u[_0x1d7deb(0x207)])(u[_0x1d7deb(0x378)][_0x1d7deb(0x2ae)](_0x57c7de['data']))};}),_0x560a0b;}async function R(_0x3fe4c3){const _0x8189bc=_0x2c0792;var _0x34e3c8;let _0x2ba889={'metadata':void 0x0},_0x37a0e5=_0x3fe4c3['id'],_0x3bf8ed=(_0x34e3c8=_0x3fe4c3[_0x8189bc(0x243)])==null?0x0:_0x34e3c8,_0x1c321d=new W(),{snapshot:_0xe8f512}=await(0x0,u['transformWorkbookDataToSnapshot'])(_0x2ba889,_0x3fe4c3,_0x37a0e5,_0x3bf8ed,_0x1c321d),_0x3d6e6e=await(0x0,u['getSheetBlocksFromSnapshot'])(_0xe8f512,_0x1c321d),_0x187155=ue(_0xe8f512);if(!_0x187155)throw Error(_0x8189bc(0x302));return{'snapshot':_0x187155,'sheetBlocks':L(_0x3d6e6e)};}async function z(_0x2dd8ea){const _0x19cdf5=_0x2c0792;var _0x110d74;let _0x2a26af={'metadata':void 0x0},_0x7850b4=_0x2dd8ea['id'],{snapshot:_0xe5ebb}=await(0x0,u[_0x19cdf5(0x1f9)])(_0x2a26af,_0x2dd8ea,_0x7850b4,(_0x110d74=_0x2dd8ea['rev'])==null?0x0:_0x110d74,new W()),_0xc52c99=de(_0xe5ebb);if(!_0xc52c99)throw Error('Failed\x20to\x20transform\x20snapshot\x20to\x20string');return{'snapshot':_0xc52c99,'sheetBlocks':{}};}async function B(_0x5d412a){const _0x2d6c1a=_0x2c0792;var _0x4154de;let _0x17a9d0=_0x5d412a['id'],_0x2a0cf4=(_0x4154de=_0x5d412a[_0x2d6c1a(0x243)])==null?0x0:_0x4154de,_0xfb221b=new W(),{snapshot:_0x415bf6}=await(0x0,u[_0x2d6c1a(0x28e)])(_0x5d412a[_0x2d6c1a(0x21e)],_0x5d412a,_0x17a9d0,_0x2a0cf4,_0xfb221b),_0x4bbe46=fe(_0x415bf6);if(!_0x4bbe46)throw Error('Failed\x20to\x20transform\x20snapshot\x20to\x20string');return{'snapshot':_0x4bbe46,'sheetBlocks':{}};}async function V(_0x5df76f){const _0x427172=_0x2c0792;let _0x4ee6e5=_0x5df76f[_0x427172(0x253)],_0xca7c49=_0x5df76f[_0x427172(0x21d)]||{};return await(0x0,u[_0x427172(0x287)])(_0x4ee6e5,Object[_0x427172(0x268)](_0xca7c49)[_0x427172(0x337)](_0x233aa1=>_0xca7c49[_0x233aa1])[_0x427172(0x337)](_0x5829f1=>({..._0x5829f1,'data':_0x5829f1[_0x427172(0x316)]?JSON['parse']((0x0,u[_0x427172(0x2bf)])(_0x5829f1[_0x427172(0x316)])):void 0x0})));}function H(_0x3911b9){const _0x300dbd=_0x2c0792;let _0x4cfcc6=_0x3911b9[_0x300dbd(0x253)];return(0x0,u[_0x300dbd(0x2ba)])(_0x4cfcc6);}function U(_0x1875a2){const _0x53687e=_0x2c0792;let _0x42bcfd=_0x1875a2['snapshot'];return(0x0,u[_0x53687e(0x2ff)])(_0x42bcfd);}var W=class{constructor(){const _0x5d457a=_0x2c0792;g(this,_0x5d457a(0x379),new Map());}[_0x2c0792(0x355)](){const _0x48bf6e=_0x2c0792;return Promise['resolve']({'snapshot':{'unitID':'','type':t[_0x48bf6e(0x257)][_0x48bf6e(0x295)],'rev':0x0,'workbook':void 0x0,'doc':void 0x0,'slide':void 0x0,'board':void 0x0},'changesets':[],'error':{'code':l['ErrorCode']['OK'],'message':''}});}[_0x2c0792(0x281)](_0x1498a0,_0x3138a7){const _0xf418be=_0x2c0792;let _0x3e9dcc=this['_sheetBlockCache'][_0xf418be(0x30d)](_0x3138a7[_0xf418be(0x27c)]);return Promise[_0xf418be(0x22a)]({'block':_0x3e9dcc,'error':{'code':l[_0xf418be(0x2c7)]['OK'],'message':''}});}[_0x2c0792(0x34c)](_0x359c2e,_0x2e8ea3){const _0x5ddaaa=_0x2c0792;let _0xd41410=this['_sheetBlockCache'][_0x5ddaaa(0x30d)](_0x2e8ea3[_0x5ddaaa(0x27c)]);return Promise['resolve']({'block':_0xd41410===void 0x0?void 0x0:{..._0xd41410,'data':JSON[_0x5ddaaa(0x2ca)](u[_0x5ddaaa(0x378)][_0x5ddaaa(0x2ae)](_0xd41410[_0x5ddaaa(0x316)]))},'error':{'code':l[_0x5ddaaa(0x2c7)]['OK'],'message':''}});}['fetchMissingChangesets'](){const _0x5229dc=_0x2c0792;return Promise[_0x5229dc(0x22a)]({'changesets':[],'error':{'code':l[_0x5229dc(0x2c7)]['OK'],'message':''}});}[_0x2c0792(0x33a)](){const _0x4023a7=_0x2c0792;return Promise[_0x4023a7(0x22a)]({'resources':{},'error':{'code':l[_0x4023a7(0x2c7)]['OK'],'message':''}});}[_0x2c0792(0x2a1)](){const _0x5ef21e=_0x2c0792;return Promise[_0x5ef21e(0x22a)]({'error':{'code':l['ErrorCode']['OK'],'message':''}});}[_0x2c0792(0x372)](){const _0x52b35e=_0x2c0792;return Promise[_0x52b35e(0x22a)]({'error':{'code':l['ErrorCode']['OK'],'message':''}});}['saveSheetBlock'](_0x4d96f0,_0x1bda51){const _0x29ba98=_0x2c0792;let {block:_0xcbca06}=_0x1bda51;return _0xcbca06?(this[_0x29ba98(0x379)]['set'](_0xcbca06['id'],_0xcbca06),Promise[_0x29ba98(0x22a)]({'error':{'code':l['ErrorCode']['OK'],'message':''},'blockID':_0xcbca06['id']})):Promise['resolve']({'error':{'code':l[_0x29ba98(0x2c7)][_0x29ba98(0x217)],'message':_0x29ba98(0x239)},'blockID':''});}[_0x2c0792(0x234)](){const _0x3e5070=_0x2c0792;return Promise['resolve']({'error':{'code':l[_0x3e5070(0x2c7)]['OK'],'message':''},'concurrent':[]});}[_0x2c0792(0x351)](){const _0x515a41=_0x2c0792;return Promise[_0x515a41(0x22a)]({'error':void 0x0,'fileMetaId':''});}['getLatestCsReqIdBySid'](){const _0x1732ba=_0x2c0792;return Promise[_0x1732ba(0x22a)]({'error':void 0x0,'latestReqID':0x0});}};const G=(0x0,t[_0x2c0792(0x242)])(_0x2c0792(0x24c));let K=class extends t[_0x2c0792(0x298)]{constructor(_0x230cfc,_0x558f03,_0x4dea86){const _0x5b962e=_0x2c0792;super(),this[_0x5b962e(0x2b5)]=_0x230cfc,this[_0x5b962e(0x235)]=_0x558f03,this[_0x5b962e(0x25e)]=_0x4dea86,g(this,_0x5b962e(0x250),null),g(this,'_requestState$',new o[(_0x5b962e(0x208))]()),g(this,_0x5b962e(0x23e),this[_0x5b962e(0x214)][_0x5b962e(0x25a)]());}[_0x2c0792(0x33f)](){const _0x5bb242=_0x2c0792;super['dispose'](),this[_0x5bb242(0x214)][_0x5bb242(0x36e)]();}async[_0x2c0792(0x2d4)](_0x51a0dd){const _0x1a3ad4=_0x2c0792;let _0x1a3ee1=await this[_0x1a3ad4(0x25b)](_0x51a0dd,t[_0x1a3ad4(0x257)]['UNIVER_DOC']);if(!_0x1a3ee1||!_0x1a3ee1['snapshot'])return;let _0x41d4a4=H(_0x1a3ee1);if(_0x41d4a4)return _0x41d4a4;}async[_0x2c0792(0x25d)](_0x1edfe6){const _0x1c0d03=_0x2c0792;return this[_0x1c0d03(0x1f1)](_0x1edfe6,0x1,t['UniverInstanceType']['UNIVER_DOC']);}async['exportDOCXBySnapshot'](_0xfe7ab9){const _0x164900=_0x2c0792;let _0x5b4535=await z(_0xfe7ab9);return this[_0x164900(0x246)](_0x5b4535,t[_0x164900(0x257)]['UNIVER_DOC']);}async[_0x2c0792(0x37a)](_0x3e8465){const _0x5514ec=_0x2c0792;let _0x100c96=await this['_importToSnapshot'](_0x3e8465,t['UniverInstanceType'][_0x5514ec(0x248)]);if(!(!_0x100c96||!_0x100c96[_0x5514ec(0x253)]))return U(_0x100c96);}async[_0x2c0792(0x2a3)](_0x52e945){const _0x5e8567=_0x2c0792;return this[_0x5e8567(0x1f1)](_0x52e945,0x1,t['UniverInstanceType'][_0x5e8567(0x248)]);}async[_0x2c0792(0x205)](_0x165a7d){const _0x791fd7=_0x2c0792;let _0x4384be=await B(_0x165a7d);return this[_0x791fd7(0x246)](_0x4384be,t[_0x791fd7(0x257)][_0x791fd7(0x248)]);}async[_0x2c0792(0x241)](_0x5431ec){const _0x19efa4=_0x2c0792;let _0x14bdde=await this[_0x19efa4(0x25b)](_0x5431ec,t[_0x19efa4(0x257)][_0x19efa4(0x295)]);if(!_0x14bdde)return;let _0x3c517e=await V(_0x14bdde);if(_0x3c517e)return _0x3c517e;}async[_0x2c0792(0x339)](_0x5a7f6e){const _0x565d13=_0x2c0792;return this[_0x565d13(0x1f1)](_0x5a7f6e,0x1,t['UniverInstanceType'][_0x565d13(0x295)]);}async['exportXLSXBySnapshot'](_0x347ea4){const _0x391db6=_0x2c0792;let _0x11de44=await R(_0x347ea4);return this[_0x391db6(0x246)](_0x11de44,t[_0x391db6(0x257)][_0x391db6(0x295)]);}async[_0x2c0792(0x2b6)](_0x27d2b4,_0x1c300b){const _0xcf4d8d=_0x2c0792;var _0x2525ef,_0x54de6b;let _0x1e048f=await this['_upload'](_0x27d2b4);if(!_0x1e048f)return;let _0x37b5e1=await this[_0xcf4d8d(0x26d)](_0x1e048f,0x1,_0x1c300b);if(!_0x37b5e1)return;this[_0xcf4d8d(0x250)]=_0x37b5e1,this['_requestService'][_0xcf4d8d(0x2c1)]();let _0x2bdc60=await this[_0xcf4d8d(0x25e)]['getTask'](_0x37b5e1)['catch'](_0x3315fb=>{const _0x45c095=_0xcf4d8d;var _0x3214f5;let _0x174833=_0x3315fb instanceof Error?_0x3315fb['message']:(_0x3214f5=_0x3315fb['error'])==null?void 0x0:_0x3214f5[_0x45c095(0x292)];this[_0x45c095(0x214)]['next']({'error':{'code':l[_0x45c095(0x2c7)][_0x45c095(0x1f3)],'message':_0x174833||''},'state':0x3});});if(!_0x2bdc60)return;let _0x59d845=(_0x2525ef=_0x2bdc60[_0xcf4d8d(0x2b9)])==null?void 0x0:_0x2525ef[_0xcf4d8d(0x2e9)],_0x4e9af6=((_0x54de6b=_0x2bdc60['import'])==null?void 0x0:_0x54de6b[_0xcf4d8d(0x219)])||'';if(_0x59d845!==0x1){this[_0xcf4d8d(0x214)][_0xcf4d8d(0x320)]({'error':{'code':l['ErrorCode'][_0xcf4d8d(0x1f3)],'message':'Get\x20outputType\x20error'},'state':0x3});return;}if(_0x4e9af6[_0xcf4d8d(0x365)]===0x0){this[_0xcf4d8d(0x214)]['next']({'error':{'code':l[_0xcf4d8d(0x2c7)]['UNRECOGNIZED'],'message':_0xcf4d8d(0x2e5)},'state':0x3});return;}return this[_0xcf4d8d(0x214)][_0xcf4d8d(0x320)]({'error':_0x2bdc60[_0xcf4d8d(0x20b)],'state':0x3}),_0x4e9af6;}async['importWorkbookDataToUnitId'](_0x383863){const _0x1bc499=_0x2c0792;let _0x846bbd=await R(_0x383863),_0x1b1bd2=typeof _0x383863['id']=='string'&&_0x383863['id'][_0x1bc499(0x251)]()?_0x383863['id'][_0x1bc499(0x251)]()+'.json':_0x1bc499(0x2fb),_0x267282=new File([JSON['stringify'](_0x846bbd)],_0x1b1bd2,{'type':_0x1bc499(0x348)});return this[_0x1bc499(0x2b6)](_0x267282,t[_0x1bc499(0x257)][_0x1bc499(0x295)]);}[_0x2c0792(0x285)](){const _0x4fe8e0=_0x2c0792;this['_importTaskId']&&this['_requestService'][_0x4fe8e0(0x308)](this['_importTaskId']);}async[_0x2c0792(0x25b)](_0x4bb93d,_0x121d00){const _0x24e24c=_0x2c0792;var _0x4e37b6,_0x389733;let _0x23d84d=await this['_upload'](_0x4bb93d);if(!_0x23d84d)return;let _0x535472=await this[_0x24e24c(0x26d)](_0x23d84d,0x2,_0x121d00);if(!_0x535472)return;this['_importTaskId']=_0x535472,this['_requestService'][_0x24e24c(0x2c1)]();let _0x442206=await this[_0x24e24c(0x25e)][_0x24e24c(0x226)](_0x535472)[_0x24e24c(0x335)](_0x38d078=>{const _0x1d493d=_0x24e24c;var _0x424ecd;let _0x59b624=_0x38d078 instanceof Error?_0x38d078[_0x1d493d(0x292)]:(_0x424ecd=_0x38d078['error'])==null?void 0x0:_0x424ecd[_0x1d493d(0x292)];this[_0x1d493d(0x214)][_0x1d493d(0x320)]({'error':{'code':l[_0x1d493d(0x2c7)][_0x1d493d(0x1f3)],'message':_0x59b624||''},'state':0x3});});if(!_0x442206)return;let _0xa5c6a1=(_0x4e37b6=_0x442206[_0x24e24c(0x2b9)])==null?void 0x0:_0x4e37b6['outputType'],_0x4b1a29=((_0x389733=_0x442206['import'])==null?void 0x0:_0x389733[_0x24e24c(0x2bd)])||'';if(_0xa5c6a1!==0x2){this[_0x24e24c(0x214)]['next']({'error':{'code':l['ErrorCode'][_0x24e24c(0x1f3)],'message':_0x24e24c(0x2fc)},'state':0x3});return;}if(_0x4b1a29[_0x24e24c(0x365)]===0x0){this['_requestState$'][_0x24e24c(0x320)]({'error':{'code':l[_0x24e24c(0x2c7)][_0x24e24c(0x1f3)],'message':_0x24e24c(0x307)},'state':0x3});return;}this[_0x24e24c(0x214)][_0x24e24c(0x320)]({'error':_0x442206[_0x24e24c(0x20b)],'state':0x3});let _0x496810=await this[_0x24e24c(0x259)](_0x4b1a29);if(!_0x496810)return;let _0x50f541=await this[_0x24e24c(0x25e)][_0x24e24c(0x2e0)](_0x496810);if(!_0x50f541){this['_requestState$'][_0x24e24c(0x320)]({'error':{'code':l[_0x24e24c(0x2c7)][_0x24e24c(0x1f3)],'message':_0x24e24c(0x20a)},'state':0x5});return;}try{let _0x2136ef=JSON['parse'](_0x50f541);return this[_0x24e24c(0x214)][_0x24e24c(0x320)]({'error':{'code':l['ErrorCode']['OK'],'message':_0x24e24c(0x370)},'state':0x5}),_0x2136ef;}catch{this[_0x24e24c(0x214)]['next']({'error':{'code':l['ErrorCode'][_0x24e24c(0x1f3)],'message':_0x24e24c(0x2be)},'state':0x5});}}async['_exportBySnapshot'](_0x39bd33,_0x3bcb07){const _0xf35750=_0x2c0792;let _0x29d359=JSON['stringify'](_0x39bd33),_0x3a86f0=u['textEncoder'][_0xf35750(0x34f)](_0x29d359),_0x30d041=(0x0,d[_0xf35750(0x329)])(_0x3a86f0),_0x33b9c5=_0x3a86f0[_0xf35750(0x365)],_0x2d9d73=ce(_0x30d041),_0x1c1011=await this[_0xf35750(0x279)](_0x2d9d73,_0x33b9c5,!0x0);if(_0x1c1011)return this[_0xf35750(0x1f1)](_0x1c1011,0x2,_0x3bcb07);}async[_0x2c0792(0x1f1)](_0x182a8f,_0x47a9d0,_0x17e641){const _0x299502=_0x2c0792;var _0x3c6b16;let _0x5bf77b=await this[_0x299502(0x25e)]['export']({'unitID':_0x47a9d0===0x1?_0x182a8f:'','jsonID':_0x47a9d0===0x2?_0x182a8f:'','type':_0x17e641,'sscSwitch':this[_0x299502(0x306)](),'useImageUrl':this[_0x299502(0x2a6)](),'ignoreTableExport':this[_0x299502(0x224)]()});if(!_0x5bf77b){this[_0x299502(0x214)][_0x299502(0x320)]({'error':{'code':l[_0x299502(0x2c7)][_0x299502(0x1f3)],'message':_0x299502(0x2a8)},'state':0x2});return;}if(this[_0x299502(0x214)][_0x299502(0x320)]({'error':_0x5bf77b[_0x299502(0x20b)],'state':0x2}),_0x5bf77b[_0x299502(0x20b)]&&_0x5bf77b[_0x299502(0x20b)][_0x299502(0x31a)]!==l[_0x299502(0x2c7)]['OK'])return;let _0x4a7e91=_0x5bf77b['taskID'],_0x4be339=await this[_0x299502(0x25e)]['getTask'](_0x4a7e91)[_0x299502(0x335)](_0x4c687a=>{const _0x2aadbb=_0x299502;var _0x4e58b6;let _0x5746c3=_0x4c687a instanceof Error?_0x4c687a[_0x2aadbb(0x292)]:(_0x4e58b6=_0x4c687a['error'])==null?void 0x0:_0x4e58b6[_0x2aadbb(0x292)];this[_0x2aadbb(0x214)]['next']({'error':{'code':l[_0x2aadbb(0x2c7)][_0x2aadbb(0x1f3)],'message':_0x5746c3||''},'state':0x3});});if(!_0x4be339)return;let _0x1b3671=((_0x3c6b16=_0x4be339['export'])==null?void 0x0:_0x3c6b16[_0x299502(0x280)])||'';if(_0x1b3671['length']===0x0){this[_0x299502(0x214)][_0x299502(0x320)]({'error':{'code':l[_0x299502(0x2c7)]['UNRECOGNIZED'],'message':_0x299502(0x29a)},'state':0x3});return;}this[_0x299502(0x214)][_0x299502(0x320)]({'error':_0x4be339['error'],'state':0x3});let _0x2d6c2e=await this[_0x299502(0x259)](_0x1b3671);if(!_0x2d6c2e)return;let _0x42c7e6=await A(_0x2d6c2e,this['_httpService']);if(!_0x42c7e6){this['_requestState$'][_0x299502(0x320)]({'error':{'code':l[_0x299502(0x2c7)][_0x299502(0x1f3)],'message':'Failed\x20to\x20get\x20file\x20from\x20url'},'state':0x6});return;}return this['_requestState$'][_0x299502(0x320)]({'error':{'code':l[_0x299502(0x2c7)]['OK'],'message':_0x299502(0x370)},'state':0x6}),_0x42c7e6;}async[_0x2c0792(0x279)](_0x32b3e4,_0x46f20b,_0x14aa37){const _0xd5edcc=_0x2c0792;let _0xd97266;try{_0xd97266=await this[_0xd5edcc(0x25e)]['upload'](_0x32b3e4,_0x46f20b,_0x14aa37);}catch(_0x50c78b){let _0x5d6db0=_0x50c78b instanceof Error?_0x50c78b[_0xd5edcc(0x292)]:String(_0x50c78b);this['_requestState$'][_0xd5edcc(0x320)]({'error':{'code':l[_0xd5edcc(0x2c7)][_0xd5edcc(0x1f3)],'message':_0x5d6db0},'state':0x0});return;}if(!_0xd97266||typeof _0xd97266['FileId']!=_0xd5edcc(0x33b)){this[_0xd5edcc(0x214)][_0xd5edcc(0x320)]({'error':{'code':l[_0xd5edcc(0x2c7)][_0xd5edcc(0x1f3)],'message':'upload\x20failed:\x20missing\x20FileId\x20in\x20response'},'state':0x0});return;}let _0x1efee3=_0xd97266[_0xd5edcc(0x245)];if(_0x1efee3['length']===0x0){this[_0xd5edcc(0x214)][_0xd5edcc(0x320)]({'error':{'code':l[_0xd5edcc(0x2c7)][_0xd5edcc(0x1f3)],'message':_0xd5edcc(0x24d)},'state':0x0});return;}return this[_0xd5edcc(0x214)][_0xd5edcc(0x320)]({'error':{'code':l[_0xd5edcc(0x2c7)]['OK'],'message':_0xd5edcc(0x370)},'state':0x0}),_0x1efee3;}async[_0x2c0792(0x26d)](_0x32c19b,_0x45ad1c,_0x55bbf6){const _0x2311db=_0x2c0792;let _0x459677={'fileID':_0x32c19b,'type':_0x55bbf6,'outputType':_0x45ad1c,'fileUrl':'','minSheetRowCount':this[_0x2311db(0x282)](),'minSheetColumnCount':this['_getMinSheetColumnCount']()},_0xa840b2=await this[_0x2311db(0x25e)]['import'](_0x459677);if(!_0xa840b2){this['_requestState$'][_0x2311db(0x320)]({'error':{'code':l[_0x2311db(0x2c7)]['UNRECOGNIZED'],'message':_0x2311db(0x32a)},'state':0x1});return;}if(_0xa840b2[_0x2311db(0x20b)]&&_0xa840b2[_0x2311db(0x20b)][_0x2311db(0x31a)]!==l[_0x2311db(0x2c7)]['OK']){this['_requestState$'][_0x2311db(0x320)]({'error':_0xa840b2[_0x2311db(0x20b)],'state':0x1});return;}let _0x321353=_0xa840b2[_0x2311db(0x2f5)];if(_0x321353['length']===0x0){this[_0x2311db(0x214)]['next']({'error':{'code':l[_0x2311db(0x2c7)][_0x2311db(0x1f3)],'message':_0x2311db(0x2d1)},'state':0x1});return;}return this[_0x2311db(0x214)][_0x2311db(0x320)]({'error':_0xa840b2[_0x2311db(0x20b)],'state':0x1}),_0x321353;}async['_signUrl'](_0x2f4f64){const _0x551624=_0x2c0792;let _0x4ee022=await this[_0x551624(0x25e)][_0x551624(0x2ee)](_0x2f4f64);if(!_0x4ee022){this[_0x551624(0x214)][_0x551624(0x320)]({'error':{'code':l[_0x551624(0x2c7)][_0x551624(0x1f3)],'message':_0x551624(0x24f)},'state':0x4});return;}if(_0x4ee022[_0x551624(0x20b)]&&_0x4ee022[_0x551624(0x20b)][_0x551624(0x31a)]!==l[_0x551624(0x2c7)]['OK']){this[_0x551624(0x214)][_0x551624(0x320)]({'error':_0x4ee022['error'],'state':0x4});return;}let _0x4377c0=(0x0,t['resolveWithBasePath'])(_0x4ee022[_0x551624(0x24b)],this['_getDownloadEndpointURL']());if(_0x4377c0[_0x551624(0x365)]===0x0){this[_0x551624(0x214)][_0x551624(0x320)]({'error':{'code':l[_0x551624(0x2c7)][_0x551624(0x1f3)],'message':_0x551624(0x24f)},'state':0x4});return;}return this[_0x551624(0x214)]['next']({'error':_0x4ee022[_0x551624(0x20b)],'state':0x4}),_0x4377c0;}[_0x2c0792(0x22e)](){const _0x1c1e62=_0x2c0792;var _0x4539db;let _0x4e8d79=this[_0x1c1e62(0x2b5)][_0x1c1e62(0x2a7)](f);return(_0x4539db=_0x4e8d79==null?void 0x0:_0x4e8d79['downloadEndpointUrl'])==null?location[_0x1c1e62(0x2eb)]:_0x4539db;}['_getMinSheetRowCount'](){const _0x1b0b5c=_0x2c0792;var _0x4cf75b,_0x178d54;let _0x2c831a=this[_0x1b0b5c(0x2b5)][_0x1b0b5c(0x2a7)](f);return(_0x4cf75b=_0x2c831a==null||(_0x178d54=_0x2c831a['options'])==null?void 0x0:_0x178d54[_0x1b0b5c(0x367)])==null?0x1:_0x4cf75b;}[_0x2c0792(0x35c)](){const _0x342ad9=_0x2c0792;var _0x4ea7ca,_0x5563b8;let _0x47e0bd=this[_0x342ad9(0x2b5)]['getConfig'](f);return(_0x4ea7ca=_0x47e0bd==null||(_0x5563b8=_0x47e0bd[_0x342ad9(0x373)])==null?void 0x0:_0x5563b8[_0x342ad9(0x342)])==null?0x1:_0x4ea7ca;}[_0x2c0792(0x306)](){const _0x51c2eb=_0x2c0792;var _0x3aec02,_0x44f2e4;let _0x557b55=this['_configService'][_0x51c2eb(0x2a7)](f);return(_0x3aec02=_0x557b55==null||(_0x44f2e4=_0x557b55[_0x51c2eb(0x373)])==null?void 0x0:_0x44f2e4[_0x51c2eb(0x304)])==null?!0x1:_0x3aec02;}[_0x2c0792(0x2a6)](){const _0x32ffab=_0x2c0792;var _0x7048c5,_0x14f014;let _0x4338a7=this[_0x32ffab(0x2b5)]['getConfig'](f);return(_0x7048c5=_0x4338a7==null||(_0x14f014=_0x4338a7['options'])==null?void 0x0:_0x14f014[_0x32ffab(0x274)])==null?!0x0:_0x7048c5;}['_getIgnoreTableExport'](){const _0x2bd937=_0x2c0792;var _0xbd9b58,_0x31b568;let _0x489b56=this['_configService']['getConfig'](f);return(_0xbd9b58=_0x489b56==null||(_0x31b568=_0x489b56[_0x2bd937(0x373)])==null?void 0x0:_0x31b568['ignoreTableExport'])==null?!0x1:_0xbd9b58;}};K=P([N(0x0,t[_0x2c0792(0x331)]),N(0x1,(0x0,t['Inject'])(n['HTTPService'])),N(0x2,(0x0,t[_0x2c0792(0x225)])(F))],K);const pe={'done':0x0,'count':0x0},q=(0x0,t[_0x2c0792(0x242)])('univer-pro.exchange-client.operate.service');let J=class extends t[_0x2c0792(0x298)]{constructor(_0x3d4882,_0x3e7789,_0x4d8980,_0x55b5df,_0x692cbe,_0x33112c,_0x36a660){const _0xc1d3a3=_0x2c0792;super(),this['_univerInstanceService']=_0x3d4882,this[_0xc1d3a3(0x25c)]=_0x3e7789,this[_0xc1d3a3(0x2ea)]=_0x4d8980,this[_0xc1d3a3(0x318)]=_0x55b5df,this['_uploadNotificationService']=_0x692cbe,this[_0xc1d3a3(0x36a)]=_0x33112c,this[_0xc1d3a3(0x232)]=_0x36a660,g(this,_0xc1d3a3(0x2ef),new o['BehaviorSubject'](pe)),g(this,_0xc1d3a3(0x309),this[_0xc1d3a3(0x2ef)]['asObservable']()),g(this,'_totalUploadTaskCount',0x0),g(this,_0xc1d3a3(0x200),0x0),this['disposeWithMe']((0x0,t[_0xc1d3a3(0x371)])(this[_0xc1d3a3(0x318)][_0xc1d3a3(0x23e)][_0xc1d3a3(0x30a)](_0x5e229d=>{const _0xefe4d4=_0xc1d3a3;var _0x3c3bab;((_0x3c3bab=_0x5e229d[_0xefe4d4(0x20b)])==null?void 0x0:_0x3c3bab[_0xefe4d4(0x31a)])===l[_0xefe4d4(0x2c7)]['OK']?this['_addDoneTask'](0x1):this['_showNetworkError'](_0x5e229d[_0xefe4d4(0x20b)]);})));}[_0x2c0792(0x364)](){const _0x5b9184=_0x2c0792;this[_0x5b9184(0x349)](),this['_uploadNotificationService'][_0x5b9184(0x2e4)](0x2),this['_exchangeService']['interruptImportTask']();}async[_0x2c0792(0x261)](_0x5db46f){const _0x40b435=_0x2c0792;throw Error(_0x40b435(0x2f9));}async[_0x2c0792(0x276)](){const _0x67eaa5=_0x2c0792;let _0x43e2ea=this[_0x67eaa5(0x20e)][_0x67eaa5(0x27a)]();switch(_0x43e2ea?this[_0x67eaa5(0x20e)]['getUnitType'](_0x43e2ea['getUnitId']()):t[_0x67eaa5(0x257)][_0x67eaa5(0x1f3)]){case t[_0x67eaa5(0x257)][_0x67eaa5(0x248)]:return this[_0x67eaa5(0x277)]();case t[_0x67eaa5(0x257)]['UNIVER_DOC']:return this[_0x67eaa5(0x353)]();case t[_0x67eaa5(0x257)][_0x67eaa5(0x295)]:default:return this[_0x67eaa5(0x359)]();}}async[_0x2c0792(0x353)](){const _0x4fee14=_0x2c0792;let _0x4a12f2=await k([t['UniverInstanceType'][_0x4fee14(0x36d)]]);if(_0x4a12f2&&!this['_fileTypeError'](_0x4a12f2,t[_0x4fee14(0x257)][_0x4fee14(0x36d)]))return this[_0x4fee14(0x26e)](_0x4a12f2[0x0],t[_0x4fee14(0x257)][_0x4fee14(0x36d)]);}['importDOCXToSnapshot'](){const _0x1f67dd=_0x2c0792;throw Error(_0x1f67dd(0x2f9));}async[_0x2c0792(0x25d)](_0x2314d1,_0x51d38a,_0x13ccbd){const _0x154a9a=_0x2c0792;this[_0x154a9a(0x260)](s[_0x154a9a(0x2da)][_0x154a9a(0x344)]);let _0x5ceda3=await this['_exchangeService']['exportDOCXByUnitId'](_0x2314d1||this[_0x154a9a(0x31e)]());_0x5ceda3&&(E(_0x5ceda3,_0x51d38a||this['_getUnitName'](_0x5ceda3),_0x154a9a(0x211)),this[_0x154a9a(0x260)](s[_0x154a9a(0x2da)]['Success']));}async[_0x2c0792(0x2b3)](){const _0x27bc65=_0x2c0792;this[_0x27bc65(0x260)](s[_0x27bc65(0x2da)][_0x27bc65(0x344)]);let _0x188b2f=await this[_0x27bc65(0x345)](),_0x1f9625=await this[_0x27bc65(0x318)][_0x27bc65(0x2b3)](_0x188b2f);_0x1f9625&&(E(_0x1f9625,this[_0x27bc65(0x26c)](_0x1f9625),_0x27bc65(0x211)),this['_showDownloadMessage'](s['MessageType'][_0x27bc65(0x2a9)]));}async['importPPTXToUnitId'](){const _0x1695da=_0x2c0792;if(this[_0x1695da(0x23a)]()){this['_messageService'][_0x1695da(0x313)]({'type':s[_0x1695da(0x2da)][_0x1695da(0x323)],'content':this['_localeService']['t'](_0x1695da(0x258))});return;}let _0x2f4372=await k([t['UniverInstanceType'][_0x1695da(0x248)]]);if(_0x2f4372&&!this[_0x1695da(0x362)](_0x2f4372,t[_0x1695da(0x257)][_0x1695da(0x248)]))return this[_0x1695da(0x26e)](_0x2f4372[0x0],t[_0x1695da(0x257)][_0x1695da(0x248)]);}async[_0x2c0792(0x37a)](){const _0x39ceab=_0x2c0792;if(this[_0x39ceab(0x23a)]()){this['_messageService'][_0x39ceab(0x313)]({'type':s['MessageType']['Warning'],'content':this[_0x39ceab(0x2ea)]['t']('exchange-client.uploading')});return;}let _0x8497aa=await k([t[_0x39ceab(0x257)][_0x39ceab(0x248)]]);if(!_0x8497aa)return;this[_0x39ceab(0x2c3)](s[_0x39ceab(0x2da)][_0x39ceab(0x344)]);let _0x1d1efe=await this[_0x39ceab(0x318)][_0x39ceab(0x37a)](_0x8497aa[0x0]);_0x1d1efe&&(this[_0x39ceab(0x2df)](_0x1d1efe),this['_showUploadMessage'](s[_0x39ceab(0x2da)][_0x39ceab(0x2a9)]));}async[_0x2c0792(0x2a3)](_0x72a04a,_0x4e73c5,_0xae6dd0){const _0x227e18=_0x2c0792;this[_0x227e18(0x260)](s[_0x227e18(0x2da)][_0x227e18(0x344)]);let _0x75e4f1=await this['_exchangeService'][_0x227e18(0x2a3)](_0x72a04a||this[_0x227e18(0x33d)]());_0x75e4f1&&(E(_0x75e4f1,_0x4e73c5||this[_0x227e18(0x26b)](_0x75e4f1,_0xae6dd0==null?t[_0x227e18(0x257)][_0x227e18(0x248)]:_0xae6dd0),'pptx'),this['_showDownloadMessage'](s[_0x227e18(0x2da)][_0x227e18(0x2a9)]));}async[_0x2c0792(0x205)](){const _0x1fea9a=_0x2c0792;this[_0x1fea9a(0x260)](s[_0x1fea9a(0x2da)]['Info']);let _0x2e1c89=await this[_0x1fea9a(0x36f)](),_0x5c2b87=await this['_exchangeService'][_0x1fea9a(0x205)](_0x2e1c89);_0x5c2b87&&(E(_0x5c2b87,this[_0x1fea9a(0x26b)](_0x5c2b87,t[_0x1fea9a(0x257)][_0x1fea9a(0x248)]),'pptx'),this['_showDownloadMessage'](s[_0x1fea9a(0x2da)][_0x1fea9a(0x2a9)]));}async[_0x2c0792(0x359)](){const _0x34b965=_0x2c0792;if(this[_0x34b965(0x23a)]()){this[_0x34b965(0x25c)][_0x34b965(0x313)]({'type':s[_0x34b965(0x2da)][_0x34b965(0x323)],'content':this[_0x34b965(0x2ea)]['t'](_0x34b965(0x258))});return;}let _0x57c083=await k([t[_0x34b965(0x257)][_0x34b965(0x295)]]);if(_0x57c083&&!this[_0x34b965(0x362)](_0x57c083,t[_0x34b965(0x257)][_0x34b965(0x295)]))return this[_0x34b965(0x26e)](_0x57c083[0x0],t[_0x34b965(0x257)][_0x34b965(0x295)]);}async[_0x2c0792(0x241)](){const _0x4e88e4=_0x2c0792;if(this['_uploadTaskNotDone']()){this[_0x4e88e4(0x25c)]['show']({'type':s[_0x4e88e4(0x2da)][_0x4e88e4(0x323)],'content':this[_0x4e88e4(0x2ea)]['t'](_0x4e88e4(0x258))});return;}let _0x3bcde2=await k([t[_0x4e88e4(0x257)][_0x4e88e4(0x295)]]);if(!_0x3bcde2)return;this[_0x4e88e4(0x2c3)](s[_0x4e88e4(0x2da)][_0x4e88e4(0x344)]);let _0x4ff618=await this['_exchangeService'][_0x4e88e4(0x241)](_0x3bcde2[0x0]);_0x4ff618&&(this[_0x4e88e4(0x305)](_0x4ff618),this[_0x4e88e4(0x2c3)](s['MessageType']['Success']));}async[_0x2c0792(0x339)](_0x4d53d4,_0x472c41,_0x3f0d8c){const _0x2dcc9f=_0x2c0792;this[_0x2dcc9f(0x260)](s['MessageType'][_0x2dcc9f(0x344)]);let _0x1c6549=await this[_0x2dcc9f(0x318)]['exportXLSXByUnitId'](_0x4d53d4||this[_0x2dcc9f(0x269)]());_0x1c6549&&(E(_0x1c6549,_0x472c41||this[_0x2dcc9f(0x26c)](_0x1c6549),'xlsx'),this[_0x2dcc9f(0x260)](s[_0x2dcc9f(0x2da)][_0x2dcc9f(0x2a9)]));}async['exportXLSXBySnapshot'](){const _0x4703e9=_0x2c0792;this[_0x4703e9(0x260)](s[_0x4703e9(0x2da)][_0x4703e9(0x344)]);let _0x4a93de=await this['_getUnitJson'](),_0x17c0f6=await this[_0x4703e9(0x318)][_0x4703e9(0x247)](_0x4a93de);_0x17c0f6&&(E(_0x17c0f6,this['_getUnitName'](_0x17c0f6),_0x4703e9(0x2f2)),this[_0x4703e9(0x260)](s['MessageType'][_0x4703e9(0x2a9)]));}[_0x2c0792(0x34a)](_0x18604b){this['_getLinkByUnitId']=_0x18604b;}async['_importFileToUnitId'](_0x5a34f0,_0x2e8750){const _0x3cd2a3=_0x2c0792;this[_0x3cd2a3(0x299)][_0x3cd2a3(0x313)](),this[_0x3cd2a3(0x299)]['updateState'](0x0),this[_0x3cd2a3(0x356)](0x4),this['_addDoneTask'](0x1);let _0x2f7927=await this[_0x3cd2a3(0x318)]['importFileToUnitId'](_0x5a34f0,_0x2e8750);if(!_0x2f7927){this[_0x3cd2a3(0x349)](),this[_0x3cd2a3(0x299)][_0x3cd2a3(0x2e4)](0x2);return;}let _0x4d7c7c={'link':this['_getLinkByUnitId'](_0x2f7927,_0x2e8750),'name':_0x5a34f0['name'],'type':_0x2e8750};return this[_0x3cd2a3(0x299)][_0x3cd2a3(0x206)](_0x4d7c7c),this[_0x3cd2a3(0x35b)](),this['_uploadNotificationService']['updateState'](0x1),_0x2f7927;}[_0x2c0792(0x269)](){const _0x5a0865=_0x2c0792;return this[_0x5a0865(0x20e)][_0x5a0865(0x2b0)](t[_0x5a0865(0x257)][_0x5a0865(0x295)])[_0x5a0865(0x28a)]();}[_0x2c0792(0x31e)](){const _0x1f30ce=_0x2c0792;return this[_0x1f30ce(0x20e)]['getCurrentUnitOfType'](t[_0x1f30ce(0x257)]['UNIVER_DOC'])['getUnitId']();}[_0x2c0792(0x33d)](){const _0x23e47b=_0x2c0792;return this[_0x23e47b(0x20e)][_0x23e47b(0x2b0)](t[_0x23e47b(0x257)][_0x23e47b(0x248)])[_0x23e47b(0x28a)]();}[_0x2c0792(0x26c)](_0x345c21){return this['_getUnitNameByType'](_0x345c21,t['UniverInstanceType']['UNIVER_SHEET']);}['_getUnitNameByType'](_0x25da3e,_0xf96ddd){const _0x16e2ea=_0x2c0792;var _0x1384c8;let _0x5920b2=(_0x1384c8=this[_0x16e2ea(0x20e)][_0x16e2ea(0x2b0)](_0xf96ddd))==null?void 0x0:_0x1384c8['getSnapshot'](),_0x15d264=_0x5920b2==null?void 0x0:_0x5920b2['name'];return typeof _0x15d264=='string'&&_0x15d264[_0x16e2ea(0x251)]()?_0x15d264:_0x25da3e[_0x16e2ea(0x376)]['split']('.')['shift']()||document[_0x16e2ea(0x209)];}async[_0x2c0792(0x312)](){const _0x45859e=_0x2c0792;return this[_0x45859e(0x20e)][_0x45859e(0x2b0)](t[_0x45859e(0x257)][_0x45859e(0x295)])['getSnapshot']();}async[_0x2c0792(0x345)](){const _0x318929=_0x2c0792;return this['_univerInstanceService'][_0x318929(0x2b0)](t[_0x318929(0x257)]['UNIVER_DOC'])[_0x318929(0x28b)]();}async[_0x2c0792(0x36f)](){const _0x3cbfa7=_0x2c0792;let _0xfffbf8=this[_0x3cbfa7(0x20e)][_0x3cbfa7(0x2b0)](t[_0x3cbfa7(0x257)][_0x3cbfa7(0x248)]),_0x31e3e1=this['_resourceLoaderService'][_0x3cbfa7(0x2b4)](_0xfffbf8[_0x3cbfa7(0x28a)]());return _0x31e3e1==null?_0xfffbf8[_0x3cbfa7(0x28b)]():_0x31e3e1;}['_getLinkByUnitId'](_0x11ab87,_0x1943ea){const _0x11040e=_0x2c0792;let _0x11d63b=new URL(window[_0x11040e(0x249)][_0x11040e(0x2fe)]);return _0x11d63b[_0x11040e(0x1ff)][_0x11040e(0x231)](_0x11040e(0x233),_0x11ab87),_0x11d63b['searchParams']['set'](_0x11040e(0x222),''+_0x1943ea),_0x11d63b['toString']();}[_0x2c0792(0x305)](_0x545177){const _0xa8443e=_0x2c0792;let _0x4191ee=this[_0xa8443e(0x20e)][_0xa8443e(0x2b0)](t[_0xa8443e(0x257)][_0xa8443e(0x295)])[_0xa8443e(0x28a)]();this[_0xa8443e(0x20e)][_0xa8443e(0x32f)](_0x4191ee),this['_univerInstanceService'][_0xa8443e(0x2cd)](t[_0xa8443e(0x257)][_0xa8443e(0x295)],_0x545177);}[_0x2c0792(0x2df)](_0x1404bf){const _0x16b239=_0x2c0792;let _0x25ffb9=this[_0x16b239(0x20e)]['getCurrentUnitOfType'](t[_0x16b239(0x257)][_0x16b239(0x248)])['getUnitId']();this[_0x16b239(0x20e)]['disposeUnit'](_0x25ffb9),this['_univerInstanceService'][_0x16b239(0x2cd)](t[_0x16b239(0x257)][_0x16b239(0x248)],_0x1404bf);}['_showNetworkError'](_0x1d7ca5){const _0x1c7899=_0x2c0792;if(_0x1d7ca5){let {code:_0x384812}=_0x1d7ca5;switch(_0x384812){case l[_0x1c7899(0x2c7)][_0x1c7899(0x315)]:this[_0x1c7899(0x25c)][_0x1c7899(0x313)]({'type':s[_0x1c7899(0x2da)][_0x1c7899(0x1f2)],'content':this['_localeService']['t'](_0x1c7899(0x2c4))});break;case l[_0x1c7899(0x2c7)]['INTERNAL_ERROR']:this[_0x1c7899(0x25c)][_0x1c7899(0x313)]({'type':s[_0x1c7899(0x2da)][_0x1c7899(0x1f2)],'content':this[_0x1c7899(0x2ea)]['t'](_0x1c7899(0x34b))});break;default:this[_0x1c7899(0x25c)][_0x1c7899(0x313)]({'type':s[_0x1c7899(0x2da)][_0x1c7899(0x1f2)],'content':this[_0x1c7899(0x2ea)]['t']('exchange-client.networkError')});break;}return null;}return this[_0x1c7899(0x25c)][_0x1c7899(0x313)]({'type':s[_0x1c7899(0x2da)]['Error'],'content':this['_localeService']['t'](_0x1c7899(0x218))}),null;}[_0x2c0792(0x260)](_0x2de8d8){const _0x1bcb59=_0x2c0792;let _0xc1354b='';switch(_0x2de8d8){case s['MessageType']['Success']:_0xc1354b=this[_0x1bcb59(0x2ea)]['t'](_0x1bcb59(0x2dd));break;case s['MessageType'][_0x1bcb59(0x344)]:_0xc1354b=this[_0x1bcb59(0x2ea)]['t']('exchange-client.downloading');break;default:break;}this['_messageService'][_0x1bcb59(0x313)]({'type':_0x2de8d8,'content':_0xc1354b});}[_0x2c0792(0x2c3)](_0x22be1f){const _0x456d6b=_0x2c0792;let _0x522eda='';switch(_0x22be1f){case s[_0x456d6b(0x2da)]['Success']:_0x522eda=this['_localeService']['t'](_0x456d6b(0x32b));break;case s['MessageType']['Info']:_0x522eda=this[_0x456d6b(0x2ea)]['t'](_0x456d6b(0x258));break;default:break;}this['_messageService']['show']({'type':_0x22be1f,'content':_0x522eda});}['_emitProgress'](){this['_progress$']['next']({'done':this['_doneUploadTaskCount'],'count':this['_totalUploadTaskCount']});}[_0x2c0792(0x356)](_0x274d13){const _0x3fd6c5=_0x2c0792;this[_0x3fd6c5(0x374)]+=_0x274d13,this[_0x3fd6c5(0x244)]();}[_0x2c0792(0x327)](_0x1bfaff){const _0x5ec0d8=_0x2c0792;this[_0x5ec0d8(0x200)]+=_0x1bfaff,this['_doneUploadTaskCount']=Math[_0x5ec0d8(0x22b)](this[_0x5ec0d8(0x200)],this['_totalUploadTaskCount']),this[_0x5ec0d8(0x244)]();}[_0x2c0792(0x35b)](){const _0x233b75=_0x2c0792;this[_0x233b75(0x200)]=this[_0x233b75(0x374)],this[_0x233b75(0x244)]();}[_0x2c0792(0x349)](){const _0x407261=_0x2c0792;this['_doneUploadTaskCount']=0x0,this['_totalUploadTaskCount']=0x0,this[_0x407261(0x244)]();}[_0x2c0792(0x362)](_0x86f4a9,_0xa00c18){const _0x411c13=_0x2c0792;let _0x570727=_0x86f4a9[0x0],_0x142f3c=_0x570727[_0x411c13(0x376)];return D(_0x570727)===_0xa00c18?!0x1:(this['_messageService']['show']({'type':s[_0x411c13(0x2da)][_0x411c13(0x1f2)],'content':this[_0x411c13(0x2ea)]['t']('exchange-client.fileTypeError',_0x142f3c)}),!0x0);}['_uploadTaskNotDone'](){const _0x358815=_0x2c0792;return this[_0x358815(0x374)]!==0x0&&this['_doneUploadTaskCount']!==this[_0x358815(0x374)];}};function _0x243f(){const _0x182880=['UniverNetworkPlugin','minSheetRowCount','SuccessIcon','split','_logService','status','add','UNIVER_DOC','complete','_getUnitSlideJson','success','toDisposable','updateSnapshot','options','_totalUploadTaskCount','1.0.0-alpha.2','name','_getExportURL','textDecoder','_sheetBlockCache','importPPTXToSnapshot','univer-text-sm\x20univer-text-gray-500','hide','change','_export','Error','UNRECOGNIZED','univer-mt-5\x20univer-flex\x20univer-flex-col','DocsMultiIcon','3022190kkjWHR','useState','text','transformDocumentDataToSnapshot','statusText','Content-Type','object','_getTaskURL','application/vnd.openxmlformats-officedocument.spreadsheetml.template','searchParams','_doneUploadTaskCount','sheets','multiple','17yVDSAs','append','exportPPTXBySnapshot','pushLink','b64EncodeUnicode','Subject','title','Failed\x20to\x20get\x20text\x20from\x20url','error','appendChild','pathname','_univerInstanceService','download','div','docx','exchange-client.wait','createElement','_requestState$','connectInjector','/universer-api/file/{fileID}/sign-url','UNDEFINED','exchange-client.networkError','unitID','IExchangeOperateService','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','_registerIcons','sheetBlocks','resources','exportServerUrl','_list$','Plugin','type','upload','_getIgnoreTableExport','Inject','getTask','univer-ml-1.5\x20univer-font-semibold\x20univer-leading-6\x20univer-text-gray-900\x20dark:!univer-text-white','ExchangeOperateService','application/vnd.openxmlformats-officedocument.wordprocessingml.document','resolve','min','SUCCESS','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','_getDownloadEndpointURL','transformWorkbookDataToSnapshotJson','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','set','_resourceLoaderService','unit','saveChangeset','_httpService','exchange-client.uploadSuccessTip','Error\x20getting\x20file\x20name\x20from\x20URL:','getUploadFile','block\x20is\x20required','_uploadTaskNotDone','_uiPartsService','join','importServerUrl','requestState$','Injector','click','importXLSXToSnapshot','createIdentifier','rev','_emitProgress','FileId','_exportBySnapshot','exportXLSXBySnapshot','UNIVER_SLIDE','location','_getSignURL','url','univer-pro.exchange-client.exchange.service','upload\x20failed:\x20FileId\x20is\x20empty','\x20-\x20','sign\x20url\x20error','_importTaskId','trim','input','snapshot','prototype','IRequestService','post','UniverInstanceType','exchange-client.uploading','_signUrl','asObservable','_importToSnapshot','_messageService','exportDOCXByUnitId','_requestService','478974UkLCyO','_showDownloadMessage','uploadFileToUnitId','slide','_list','univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden','files','ClockIcon','Error\x20fetching\x20file\x20from\x20URL:','keys','_getUnitID','application/octet-stream','_getUnitNameByType','_getUnitName','_import','_importFileToUnitId','call','link','univer-flex','iterator','IExchangeService','disableCellImageConversion','?size=','importFileToUnitIdByCurrentType','importPPTXToUnitId','state$','_upload','getFocusedUnit','&flate=','blockID','&source=','76ZrRkAy','21pVHnuv','fileID','getSheetBlock','_getMinSheetRowCount','signUrlServerUrl','upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url','interruptImportTask','xltx','transformSnapshotToWorkbookData','size','version','getUnitId','getSnapshot','BuiltInUIPart','UploadNotificationService','transformSlideDataToSnapshot','univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','UPLOADING','removeChild','message','packageName','_getMaxPollingTime','UNIVER_SHEET','exchange-client.uploadAgain','946qHrOCc','Disposable','_uploadNotificationService','Failed\x20to\x20get\x20fileID\x20from\x20task','symbol','list$','HTTPService','forEach','doc','ErrorIcon','saveSnapshot','UniverExchangeClientPlugin','exportPPTXByUnitId','number','transformDocumentDataToSnapshotJson','_getDisableCellImageConversion','getConfig','export\x20error','Success','span','unshift','onReady','headers','decode','toLowerCase','getCurrentUnitOfType','values','body','exportDOCXBySnapshot','saveUnit','_configService','importFileToUnitId','useDependency','No\x20file\x20selected','import','transformSnapshotToDocumentData','transformSnapshotJsonToSlideData','clear','jsonID','Failed\x20to\x20parse\x20json','b64DecodeUnicode','file','clearTaskInterrupted','jsxs','_showUploadMessage','exchange-client.tooLarge','/universer-api/exchange/{type}/export','visible$','ErrorCode','file.json','UNIVER_UNKNOWN','parse','ERROR','univer-h-6\x20univer-text-2xl','createUnit','_state$','12010QDTvrD','169596PZRfCL','Failed\x20to\x20get\x20taskID\x20from\x20import\x20response','CONTENT','none','importDOCXToSnapshot','file.','getUniverInstanceTypeByFile','UNIVER_EXCHANGE_CLIENT_PLUGIN','univer-fixed\x20univer-bottom-12\x20univer-right-3\x20univer-z-[1000]\x20univer-box-border\x20univer-flex\x20univer-w-[372px]\x20univer-flex-col\x20univer-rounded-md\x20univer-bg-white\x20univer-px-3\x20univer-pb-4\x20univer-pt-5\x20univer-shadow-md','registerComponent','MessageType','content-disposition','some','exchange-client.downloadSuccess','default','_refreshSlide','getTextFromUrl','noreferrer','_registerComponents','SheetsMultiIcon','updateState','Failed\x20to\x20get\x20unitID\x20from\x20task','toPrimitive','style','pluginName','outputType','_localeService','origin','_taskInterrupted','369420kysMIj','signUrl','_progress$','unsubscribe','IUniverInstanceService','xlsx','buffer','pop','taskID','xlsm','FileSource','@univerjs-pro/exchange-client','Method\x20not\x20implemented.','_config','workbook.json','Get\x20outputType\x20error','floor','href','transformSnapshotToSlideData','univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','workbook','Failed\x20to\x20transform\x20snapshot\x20to\x20string','151352bWiitd','enableServerSideComputing','_refresh','_getEnableServerSideComputing','Failed\x20to\x20get\x20jsonID\x20from\x20task','setTaskInterrupted','progress$','subscribe','application/vnd.openxmlformats-officedocument.presentationml.presentation','blob','get','onStarting','addEventListener','defineProperty',':\x20HTTP\x20','_getUnitJson','show','disposeWithMe','CONNECTOR_DATA_TOO_LARGE','data','IMessageService','_exchangeService','toStringTag','code','DependentOn','_extractErrorDetail','jsx','_getUnitIDDoc','_buildProtocolErrorMessage','next','originalMeta','scrollbarClassName','Warning','_iconManager','revokeObjectURL','univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','_addDoneTask','exchange-client.cancel','deflateSync','import\x20error','exchange-client.uploadSuccess','DirectExportIcon','univer-mb-3\x20univer-py-0\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','replace','disposeUnit','univer-pro.exchange-client.request.service','IConfigService','univer-text-red-500','univer-text-blue-500','filter','catch','clsx','map','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','exportXLSXByUnitId','getResourcesRequest','string','univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','_getUnitIDSlide','UniverLicensePlugin','dispose','useEffect','button','minSheetColumnCount','_buildHttpErrorMessage','Info','_getUnitDocJson','accept','function','application/json','_clearProgress','registerLink','exchange-client.internalError','getDeserializedSheetBlock','createObjectURL','_blank','encode','SlidesMultiIcon','copyFileMeta','decorate','importDOCXToUnitId','_visible$','getUnitOnRev','_addTotalCount','isArray','LocaleService','importXLSXToUnitId','UNIVER_BOARD','_completeProgress','_getMinSheetColumnCount','downloadFile','_injector','uploadFileServerUrl','{fileID}','_getImportURL','_fileTypeError','registerDependencies','interrupt','length'];_0x243f=function(){return _0x182880;};return _0x243f();}function _0x37e6(_0x416d57,_0x4fea30){_0x416d57=_0x416d57-0x1f1;const _0x243f9e=_0x243f();let _0x37e699=_0x243f9e[_0x416d57];return _0x37e699;}J=P([N(0x0,(0x0,t[_0x2c0792(0x225)])(t[_0x2c0792(0x2f1)])),N(0x1,i[_0x2c0792(0x317)]),N(0x2,(0x0,t['Inject'])(t[_0x2c0792(0x358)])),N(0x3,(0x0,t[_0x2c0792(0x225)])(G)),N(0x4,(0x0,t[_0x2c0792(0x225)])(_)),N(0x5,t['ILogService']),N(0x6,(0x0,t[_0x2c0792(0x225)])(t['IResourceLoaderService']))],J);function Y(_0x3f5a6a){const _0x3ac204=_0x2c0792;let {onClick:_0x85d1d3,children:_0x588649,className:_0x216ede}=_0x3f5a6a;return(0x0,c[_0x3ac204(0x31d)])(_0x3ac204(0x341),{'className':(0x0,s[_0x3ac204(0x336)])(_0x3ac204(0x22d),_0x216ede),'type':_0x3ac204(0x341),'onClick':_0x85d1d3,'children':_0x588649});}function X(){const _0x26c94c=_0x2c0792;let _0x2cb8dd=(0x0,i[_0x26c94c(0x2b7)])(q),_0x4747c1=(0x0,i[_0x26c94c(0x2b7)])(t[_0x26c94c(0x358)]);function _0x36a1eb(){const _0x34a40c=_0x26c94c;_0x2cb8dd[_0x34a40c(0x276)]();}return(0x0,c['jsx'])(Y,{'onClick':_0x36a1eb,'children':_0x4747c1['t'](_0x26c94c(0x296))});}function me(){const _0x3c35c1=_0x2c0792;return(0x0,c[_0x3c35c1(0x2c2)])(_0x3c35c1(0x210),{'className':'univer-mt-5\x20univer-flex\x20univer-flex-col','children':[(0x0,c['jsx'])('span',{'className':_0x3c35c1(0x32d),'children':(0x0,i[_0x3c35c1(0x2b7)])(t[_0x3c35c1(0x358)])['t']('exchange-client.interrupt')}),(0x0,c[_0x3c35c1(0x31d)])(X,{})]});}function he(_0x42df86){const _0x63de40=_0x2c0792;let {count:_0x1e0254}=_0x42df86;return(0x0,c[_0x63de40(0x2c2)])(_0x63de40(0x210),{'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'])(_0x63de40(0x2aa),{'className':_0x63de40(0x37b),'children':(0x0,i[_0x63de40(0x2b7)])(t['LocaleService'])['t'](_0x63de40(0x236),''+_0x1e0254)}),(0x0,c['jsx'])(X,{})]});}function ge(){const _0x4682f4=_0x2c0792;let _0xf6605d=(0x0,i['useDependency'])(q),_0x257667=(0x0,i[_0x4682f4(0x2b7)])(t[_0x4682f4(0x358)]);function _0x21d96d(){const _0x9abbdf=_0x4682f4;_0xf6605d[_0x9abbdf(0x364)]();}return(0x0,c[_0x4682f4(0x31d)])(Y,{'onClick':_0x21d96d,'children':_0x257667['t'](_0x4682f4(0x328))});}function _e(){const _0x2f8904=_0x2c0792;let {count:_0x2477e5,done:_0xc1ebef}=(0x0,i['useObservable'])((0x0,i[_0x2f8904(0x2b7)])(q)[_0x2f8904(0x309)]),[_0x51d808,_0x345a06]=(0x0,a['useState'])(_0x2477e5>0x0?_0xc1ebef/_0x2477e5:0x0);return(0x0,a['useEffect'])(()=>{_0x345a06(_0x2477e5>0x0?_0xc1ebef/_0x2477e5:0x0);},[_0x2477e5,_0xc1ebef]),(0x0,c['jsx'])(_0x2f8904(0x210),{'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[_0x2f8904(0x31d)])(_0x2f8904(0x210),{'className':'univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','style':{'width':Math[_0x2f8904(0x2fd)](_0x51d808*0x64)+'%'}})});}function ve(){const _0x4df03f=_0x2c0792;return(0x0,c[_0x4df03f(0x2c2)])('div',{'className':_0x4df03f(0x1f4),'children':[(0x0,c['jsx'])('span',{'className':_0x4df03f(0x300),'children':(0x0,i['useDependency'])(t[_0x4df03f(0x358)])['t'](_0x4df03f(0x212))}),(0x0,c[_0x4df03f(0x31d)])('div',{'className':'univer-pl-2\x20univer-pr-4','children':(0x0,c[_0x4df03f(0x31d)])(_e,{})}),(0x0,c[_0x4df03f(0x31d)])(ge,{})]});}const ye={0x1:(0x0,c['jsx'])(r[_0x2c0792(0x368)],{'className':'univer-text-green-500'}),0x0:(0x0,c[_0x2c0792(0x31d)])(r[_0x2c0792(0x266)],{'className':_0x2c0792(0x333)}),0x2:(0x0,c[_0x2c0792(0x31d)])(r[_0x2c0792(0x2a0)],{'className':_0x2c0792(0x332)})};function be(){const _0x419db9=_0x2c0792;let [_0xd4fcb0,_0x4e2bf7]=(0x0,a[_0x419db9(0x1f7)])(0x0),[_0x25160d,_0x52dbb4]=(0x0,a[_0x419db9(0x1f7)])(!0x1),[_0x48a2ea,_0x5bab8e]=(0x0,a[_0x419db9(0x1f7)])([]),_0xef2ea4=(0x0,i['useDependency'])(_),_0x547232=(0x0,i['useDependency'])(t[_0x419db9(0x358)]);(0x0,a[_0x419db9(0x340)])(()=>{const _0x3358a6=_0x419db9;let _0x192b5f=_0xef2ea4['visible$']['subscribe'](_0x5b6e43=>{_0x52dbb4(_0x5b6e43);}),_0x4d53d7=_0xef2ea4[_0x3358a6(0x29c)][_0x3358a6(0x30a)](_0x2df22c=>{_0x5bab8e(_0x2df22c);}),_0x563501=_0xef2ea4['state$'][_0x3358a6(0x30a)](_0x188832=>{_0x4e2bf7(_0x188832);});return()=>{const _0x4b1cbe=_0x3358a6;_0x192b5f[_0x4b1cbe(0x2f0)](),_0x4d53d7[_0x4b1cbe(0x2f0)](),_0x563501[_0x4b1cbe(0x2f0)]();};},[]);function _0x154e0a(){_0x52dbb4(!0x1);}function _0x3d92fe(_0x29e52e){const _0x1d853b=_0x419db9;switch(_0x29e52e){case 0x1:return _0x547232['t']('exchange-client.uploadSuccess');case 0x0:return _0x547232['t'](_0x1d853b(0x258));case 0x2:return _0x547232['t']('exchange-client.unknownMistake');default:return'';}}return _0x25160d&&(0x0,c[_0x419db9(0x2c2)])(_0x419db9(0x210),{'className':_0x419db9(0x2d8),'children':[(0x0,c['jsxs'])(_0x419db9(0x210),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2','children':[(0x0,c[_0x419db9(0x2c2)])(_0x419db9(0x2aa),{'className':_0x419db9(0x271),'children':[(0x0,c[_0x419db9(0x31d)])(_0x419db9(0x2aa),{'className':_0x419db9(0x2cc),'children':ye[_0xd4fcb0]}),(0x0,c[_0x419db9(0x31d)])(_0x419db9(0x2aa),{'className':_0x419db9(0x227),'children':_0x3d92fe(_0xd4fcb0)})]}),(0x0,c[_0x419db9(0x31d)])(_0x419db9(0x2aa),{'className':_0x419db9(0x338),'onClick':_0x154e0a,'children':(0x0,c[_0x419db9(0x31d)])(r['CloseIcon'],{})})]}),(0x0,c[_0x419db9(0x2c2)])(_0x419db9(0x210),{'children':[_0xd4fcb0===0x0&&(0x0,c[_0x419db9(0x31d)])(ve,{}),_0xd4fcb0===0x2&&(0x0,c['jsx'])(me,{}),_0x48a2ea[_0x419db9(0x365)]>0x0&&(0x0,c[_0x419db9(0x31d)])(ie,{'list':_0x48a2ea}),_0xd4fcb0===0x1&&(0x0,c['jsx'])(he,{'count':_0x48a2ea['length']})]})]});}function Z(){const _0x3530dd=_0x2c0792;return(0x0,c[_0x3530dd(0x31d)])(be,{});}let Q=class extends t[_0x2c0792(0x298)]{constructor(_0x20ccad,_0x5d762c,_0x3c7475){const _0x4f4d51=_0x2c0792;super(),this['_injector']=_0x20ccad,this[_0x4f4d51(0x23b)]=_0x5d762c,this[_0x4f4d51(0x324)]=_0x3c7475,this[_0x4f4d51(0x21c)](),this[_0x4f4d51(0x2e2)]();}[_0x2c0792(0x21c)](){const _0x460a3b=_0x2c0792;this[_0x460a3b(0x314)](this['_iconManager']['register']({'DirectExportIcon':r[_0x460a3b(0x32c)]}));}[_0x2c0792(0x2e2)](){const _0x4e0fac=_0x2c0792;this[_0x4e0fac(0x314)](this['_uiPartsService'][_0x4e0fac(0x2d9)](i[_0x4e0fac(0x28c)][_0x4e0fac(0x2d2)],()=>(0x0,i[_0x4e0fac(0x215)])(Z,this[_0x4e0fac(0x35e)])));}};Q=P([N(0x0,(0x0,t[_0x2c0792(0x225)])(t[_0x2c0792(0x23f)])),N(0x1,i['IUIPartsService']),N(0x2,(0x0,t[_0x2c0792(0x225)])(i['IconManager']))],Q);let $=class extends t[_0x2c0792(0x221)]{constructor(_0x3320a9=p,_0x517518,_0x5b743a){const _0xdd562b=_0x2c0792;super(),this['_config']=_0x3320a9,this[_0xdd562b(0x35e)]=_0x517518,this[_0xdd562b(0x2b5)]=_0x5b743a;let {..._0x213e49}=(0x0,t['merge'])({},p,this[_0xdd562b(0x2fa)]);this[_0xdd562b(0x2b5)]['setConfig'](f,_0x213e49);}[_0x2c0792(0x30e)](){const _0x14784e=_0x2c0792;(0x0,t[_0x14784e(0x363)])(this[_0x14784e(0x35e)],[[Q],[q,{'useClass':J}],[G,{'useClass':K}],[F,{'useClass':I}],[_,{'useClass':v}]]);}[_0x2c0792(0x2ac)](){(0x0,t['touchDependencies'])(this['_injector'],[[Q],[q]]);}};g($,_0x2c0792(0x2e8),_0x2c0792(0x2d7)),g($,_0x2c0792(0x293),m),g($,_0x2c0792(0x289),ee),$=P([(0x0,t[_0x2c0792(0x31b)])(n[_0x2c0792(0x366)],e[_0x2c0792(0x33e)]),N(0x1,(0x0,t['Inject'])(t['Injector'])),N(0x2,t[_0x2c0792(0x331)])],$),exports['EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY']=f,Object['defineProperty'](exports,_0x2c0792(0x228),{'enumerable':!0x0,'get':function(){return J;}}),Object['defineProperty'](exports,'ExchangeService',{'enumerable':!0x0,'get':function(){return K;}}),exports[_0x2c0792(0x21a)]=q,exports[_0x2c0792(0x273)]=G,exports[_0x2c0792(0x255)]=F,exports['IUploadNotificationService']=_,Object[_0x2c0792(0x310)](exports,'RequestService',{'enumerable':!0x0,'get':function(){return I;}}),Object['defineProperty'](exports,_0x2c0792(0x2a2),{'enumerable':!0x0,'get':function(){return $;}}),exports['UploadNotificationContainer']=Z,exports[_0x2c0792(0x28d)]=v,exports['UploadNotificationState']=re,exports[_0x2c0792(0x35d)]=E,exports[_0x2c0792(0x2d6)]=D,exports[_0x2c0792(0x238)]=k,exports[_0x2c0792(0x2a5)]=z,exports['transformSlideDataToSnapshotJson']=B,exports['transformSnapshotJsonToDocumentData']=H,exports[_0x2c0792(0x2bb)]=U,exports['transformSnapshotJsonToWorkbookData']=V,exports[_0x2c0792(0x22f)]=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
|
-
const
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
function
|
|
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
|
-
const
|
|
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;
|