@univerjs-pro/exchange-client 1.0.0-alpha.0 → 1.0.0-alpha.1
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/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/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 +10 -10
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x5b4df3=_0xb914;(function(_0x296d8d,_0x350b6a){const _0x56e3b2=_0xb914,_0x554f3b=_0x296d8d();while(!![]){try{const _0x225e32=parseInt(_0x56e3b2(0x1bf))/0x1*(-parseInt(_0x56e3b2(0x1cd))/0x2)+-parseInt(_0x56e3b2(0x1d8))/0x3+parseInt(_0x56e3b2(0x1be))/0x4+parseInt(_0x56e3b2(0x1c0))/0x5*(-parseInt(_0x56e3b2(0x1bc))/0x6)+-parseInt(_0x56e3b2(0x1c4))/0x7*(-parseInt(_0x56e3b2(0x1b8))/0x8)+-parseInt(_0x56e3b2(0x1b9))/0x9+parseInt(_0x56e3b2(0x1d0))/0xa*(parseInt(_0x56e3b2(0x1c2))/0xb);if(_0x225e32===_0x350b6a)break;else _0x554f3b['push'](_0x554f3b['shift']());}catch(_0x3d8087){_0x554f3b['push'](_0x554f3b['shift']());}}}(_0x59ec,0x3e480));let e=require('@univerjs-pro/exchange-client'),t=require('@univerjs/core'),n=require('@univerjs/core/facade');var r=class extends n[_0x5b4df3(0x1d5)]{async['importXLSXToUnitIdAsync'](_0x528a4f){const _0x168b85=_0x5b4df3;let _0x536395=this[_0x168b85(0x1c6)][_0x168b85(0x1c3)](e[_0x168b85(0x1d4)]);if(!_0x536395)throw Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x536395[_0x168b85(0x1bd)](_0x528a4f,t['UniverInstanceType'][_0x168b85(0x1ca)]);}async['importXLSXToSnapshotAsync'](_0x22fb5c){const _0x3da2fe=_0x5b4df3;let _0x409cc8=this[_0x3da2fe(0x1c6)]['get'](e[_0x3da2fe(0x1d4)]);if(!_0x409cc8)throw Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x409cc8[_0x3da2fe(0x1d6)](_0x22fb5c);}async[_0x5b4df3(0x1c7)](_0x3250da){const _0x1d61c3=_0x5b4df3;let _0x2cb775=this['_injector']['get'](e[_0x1d61c3(0x1d4)]);if(!_0x2cb775)throw Error(_0x1d61c3(0x1d3));return _0x2cb775['exportXLSXByUnitId'](_0x3250da);}async[_0x5b4df3(0x1d7)](_0x2c5f3a){const _0x415288=_0x5b4df3;let _0x491aff=this['_injector'][_0x415288(0x1c3)](e[_0x415288(0x1d4)]);if(!_0x491aff)throw Error(_0x415288(0x1d3));return _0x491aff[_0x415288(0x1d1)](_0x2c5f3a);}async['importDOCXToUnitIdAsync'](_0x121fd3){const _0x25ba95=_0x5b4df3;let _0x576559=this['_injector'][_0x25ba95(0x1c3)](e[_0x25ba95(0x1d4)]);if(!_0x576559)throw Error(_0x25ba95(0x1d3));return _0x576559[_0x25ba95(0x1bd)](_0x121fd3,t[_0x25ba95(0x1d9)]['UNIVER_DOC']);}async['importDOCXToSnapshotAsync'](_0x2123f2){const _0x33b858=_0x5b4df3;let _0x372f85=this[_0x33b858(0x1c6)][_0x33b858(0x1c3)](e['IExchangeService']);if(!_0x372f85)throw Error(_0x33b858(0x1d3));return _0x372f85['importDOCXToSnapshot'](_0x2123f2);}async['exportDOCXBySnapshotAsync'](_0x359a3c){const _0xfdf3f9=_0x5b4df3;let _0x1417a6=this[_0xfdf3f9(0x1c6)][_0xfdf3f9(0x1c3)](e['IExchangeService']);if(!_0x1417a6)throw Error(_0xfdf3f9(0x1d3));return _0x1417a6[_0xfdf3f9(0x1cf)](_0x359a3c);}async[_0x5b4df3(0x1ce)](_0x49df86){const _0x23c596=_0x5b4df3;let _0x3a7e8f=this[_0x23c596(0x1c6)]['get'](e[_0x23c596(0x1d4)]);if(!_0x3a7e8f)throw Error(_0x23c596(0x1d3));return _0x3a7e8f[_0x23c596(0x1bb)](_0x49df86);}async[_0x5b4df3(0x1d2)](_0x5aa7a9){const _0x357ada=_0x5b4df3;let _0x374cfd=this['_injector'][_0x357ada(0x1c3)](e[_0x357ada(0x1d4)]);if(!_0x374cfd)throw Error(_0x357ada(0x1d3));return _0x374cfd[_0x357ada(0x1bd)](_0x5aa7a9,t[_0x357ada(0x1d9)]['UNIVER_SLIDE']);}async[_0x5b4df3(0x1cb)](_0x588775){const _0x12ce95=_0x5b4df3;let _0x5a7404=this[_0x12ce95(0x1c6)][_0x12ce95(0x1c3)](e[_0x12ce95(0x1d4)]);if(!_0x5a7404)throw Error(_0x12ce95(0x1d3));return _0x5a7404[_0x12ce95(0x1c8)](_0x588775);}async[_0x5b4df3(0x1c1)](_0x5d0ade){const _0x5580ab=_0x5b4df3;let _0x4c62c2=this[_0x5580ab(0x1c6)][_0x5580ab(0x1c3)](e[_0x5580ab(0x1d4)]);if(!_0x4c62c2)throw Error(_0x5580ab(0x1d3));return _0x4c62c2[_0x5580ab(0x1ba)](_0x5d0ade);}async[_0x5b4df3(0x1c9)](_0x16a92c){const _0xeef7b6=_0x5b4df3;let _0x1f5b6d=this[_0xeef7b6(0x1c6)]['get'](e[_0xeef7b6(0x1d4)]);if(!_0x1f5b6d)throw Error(_0xeef7b6(0x1d3));return _0x1f5b6d[_0xeef7b6(0x1cc)](_0x16a92c);}};function _0xb914(_0x5091d2,_0x1fe0e5){_0x5091d2=_0x5091d2-0x1b8;const _0x59ec5b=_0x59ec();let _0xb91459=_0x59ec5b[_0x5091d2];return _0xb91459;}n[_0x5b4df3(0x1d5)][_0x5b4df3(0x1c5)](r);function _0x59ec(){const _0x370a0c=['importFileToUnitId','1298508krkXQP','1AtWELu','190XKofJC','exportPPTXByUnitIdAsync','4829143wqzRVG','get','140AVkAmW','extend','_injector','exportXLSXByUnitIdAsync','importPPTXToSnapshot','exportPPTXBySnapshotAsync','UNIVER_SHEET','importPPTXToSnapshotAsync','exportPPTXBySnapshot','148204qEVngx','exportDOCXByUnitIdAsync','exportDOCXBySnapshot','10pBVtGv','exportXLSXBySnapshot','importPPTXToUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','IExchangeService','FUniver','importXLSXToSnapshot','exportXLSXBySnapshotAsync','290754iAGILW','UniverInstanceType','191320yXokux','4422006lypLec','exportPPTXByUnitId','exportDOCXByUnitId','51234NTJcdA'];_0x59ec=function(){return _0x370a0c;};return _0x59ec();}
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x43367a=_0x1cc0;(function(_0x18e2bb,_0x156371){const _0x3f0371=_0x1cc0,_0x2b59a0=_0x18e2bb();while(!![]){try{const _0x4774d2=parseInt(_0x3f0371(0x1cd))/0x1*(parseInt(_0x3f0371(0xc4))/0x2)+parseInt(_0x3f0371(0x217))/0x3+-parseInt(_0x3f0371(0x188))/0x4*(parseInt(_0x3f0371(0x209))/0x5)+parseInt(_0x3f0371(0xcf))/0x6*(-parseInt(_0x3f0371(0x1f0))/0x7)+parseInt(_0x3f0371(0xe4))/0x8+parseInt(_0x3f0371(0x116))/0x9*(-parseInt(_0x3f0371(0x228))/0xa)+parseInt(_0x3f0371(0x216))/0xb;if(_0x4774d2===_0x156371)break;else _0x2b59a0['push'](_0x2b59a0['shift']());}catch(_0x3f9801){_0x2b59a0['push'](_0x2b59a0['shift']());}}}(_0x15ca,0xed180),Object[_0x43367a(0x1ea)](exports,Symbol[_0x43367a(0x1fd)],{'value':_0x43367a(0x17f)}));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=_0x43367a(0x236),p={};var m='@univerjs-pro/exchange-client',ee='1.0.0-alpha.0';function h(_0x20e135){'@babel/helpers - typeof';const _0x351299=_0x43367a;return h=typeof Symbol==_0x351299(0x1dd)&&typeof Symbol[_0x351299(0xbb)]==_0x351299(0x233)?function(_0x1317e7){return typeof _0x1317e7;}:function(_0x552f87){const _0x140ae6=_0x351299;return _0x552f87&&typeof Symbol==_0x140ae6(0x1dd)&&_0x552f87[_0x140ae6(0xa4)]===Symbol&&_0x552f87!==Symbol[_0x140ae6(0xd6)]?_0x140ae6(0x233):typeof _0x552f87;},h(_0x20e135);}function te(_0x5c3b36,_0x4d434d){const _0x3c7429=_0x43367a;if(h(_0x5c3b36)!=_0x3c7429(0x1f8)||!_0x5c3b36)return _0x5c3b36;var _0x31d5d3=_0x5c3b36[Symbol['toPrimitive']];if(_0x31d5d3!==void 0x0){var _0x391bc2=_0x31d5d3[_0x3c7429(0x1e7)](_0x5c3b36,_0x4d434d||_0x3c7429(0x198));if(h(_0x391bc2)!=_0x3c7429(0x1f8))return _0x391bc2;throw TypeError(_0x3c7429(0x170));}return(_0x4d434d===_0x3c7429(0x150)?String:Number)(_0x5c3b36);}function ne(_0x3da61d){const _0x349348=_0x43367a;var _0x396d4e=te(_0x3da61d,_0x349348(0x150));return h(_0x396d4e)==_0x349348(0x233)?_0x396d4e:_0x396d4e+'';}function g(_0x3ed0ff,_0x15dfae,_0x87e0b){const _0x4551f4=_0x43367a;return(_0x15dfae=ne(_0x15dfae))in _0x3ed0ff?Object[_0x4551f4(0x1ea)](_0x3ed0ff,_0x15dfae,{'value':_0x87e0b,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3ed0ff[_0x15dfae]=_0x87e0b,_0x3ed0ff;}let re=function(_0x39ec31){const _0x439808=_0x43367a;return _0x39ec31[_0x39ec31[_0x439808(0x225)]=0x0]=_0x439808(0x225),_0x39ec31[_0x39ec31[_0x439808(0x120)]=0x1]=_0x439808(0x120),_0x39ec31[_0x39ec31[_0x439808(0x1c1)]=0x2]=_0x439808(0x1c1),_0x39ec31;}({});const _=(0x0,t['createIdentifier'])('univer-pro.exchange-client.upload-notification.service');var v=class extends t[_0x43367a(0x1b9)]{constructor(){const _0x183531=_0x43367a;super(),g(this,_0x183531(0x1df),new o['Subject']()),g(this,'_state$',new o['Subject']()),g(this,'_list$',new o['Subject']()),g(this,'visible$',this['_visible$'][_0x183531(0x15b)]()),g(this,_0x183531(0x10a),this[_0x183531(0x15c)][_0x183531(0x15b)]()),g(this,_0x183531(0x17b),this[_0x183531(0x219)]['asObservable']()),g(this,'_list',[]);}[_0x43367a(0x1f1)](){const _0x22bb25=_0x43367a;super['dispose'](),this[_0x22bb25(0x1df)]['complete'](),this[_0x22bb25(0x15c)]['complete'](),this[_0x22bb25(0x219)]['complete']();}[_0x43367a(0x1ed)](){const _0x26edf2=_0x43367a;this[_0x26edf2(0x1df)][_0x26edf2(0x15a)](!0x0);}['hide'](){const _0x57f4fe=_0x43367a;this['_visible$'][_0x57f4fe(0x15a)](!0x1);}[_0x43367a(0x147)](_0x164bd7){const _0xa1acd4=_0x43367a;this[_0xa1acd4(0x15c)][_0xa1acd4(0x15a)](_0x164bd7);}[_0x43367a(0x191)](_0x28b2d8){const _0x3a63cb=_0x43367a;this[_0x3a63cb(0x193)]['unshift'](_0x28b2d8),this[_0x3a63cb(0x219)]['next'](this[_0x3a63cb(0x193)]);}};function ie(_0x11d0f9){const _0xac6748=_0x43367a;let {list:_0x3894fa}=_0x11d0f9;function _0x585874(_0x269251){const _0xb09b8=_0x1cc0;switch(_0x269251){case 0x1:return(0x0,c[_0xb09b8(0x127)])(r['DocMultiIcon'],{});case 0x2:return(0x0,c['jsx'])(r[_0xb09b8(0xad)],{});case 0x3:return(0x0,c['jsx'])(r['SlideMultiIcon'],{});default:return null;}}return(0x0,c['jsx'])(_0xac6748(0xed),{'className':(0x0,s[_0xac6748(0x164)])('univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden',s[_0xac6748(0x1e1)]),'children':(0x0,c[_0xac6748(0x127)])('ul',{'className':'univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','children':_0x3894fa[_0xac6748(0xb5)]((_0x4d31e0,_0x25896d)=>(0x0,c[_0xac6748(0x127)])('li',{'children':(0x0,c[_0xac6748(0xe9)])('a',{'className':_0xac6748(0x1d5),'href':_0x4d31e0[_0xac6748(0x180)],'target':_0xac6748(0xba),'rel':'noreferrer','children':[(0x0,c[_0xac6748(0xe9)])(_0xac6748(0x14d),{'className':_0xac6748(0xd7),'children':[(0x0,c['jsx'])(_0xac6748(0x14d),{'className':_0xac6748(0x184),'children':_0x585874(_0x4d31e0[_0xac6748(0x21c)])}),(0x0,c[_0xac6748(0x127)])(s[_0xac6748(0x21b)],{'showIfEllipsis':!0x0,'title':_0x4d31e0[_0xac6748(0x14f)],'asChild':!0x0,'children':(0x0,c['jsx'])(_0xac6748(0x14d),{'className':'univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0x4d31e0['name']})})]}),(0x0,c['jsx'])(_0xac6748(0x14d),{'className':_0xac6748(0xa9),'children':(0x0,c[_0xac6748(0x127)])(r['ShareRangeIcon'],{})})]})},_0x25896d))})});}const y=_0x43367a(0x162),b=_0x43367a(0x134),x=_0x43367a(0xff),S=_0x43367a(0x1e2),C=_0x43367a(0xd9),w={[t[_0x43367a(0xb3)][_0x43367a(0xd5)]]:[''],[t[_0x43367a(0xb3)]['UNIVER_DOC']]:[y],[t[_0x43367a(0xb3)][_0x43367a(0xf6)]]:[b,x,S],[t['UniverInstanceType'][_0x43367a(0x13e)]]:[C],[t[_0x43367a(0xb3)][_0x43367a(0x103)]]:[''],[t[_0x43367a(0xb3)]['UNIVER_PROJECT']]:[''],[t['UniverInstanceType'][_0x43367a(0x200)]]:['']},T={[y]:'docx',[b]:_0x43367a(0x152),[x]:_0x43367a(0x1a0),[S]:_0x43367a(0x153),[C]:_0x43367a(0x183)};function ae(_0x9425c5,_0x37e74a,_0x2558ad){const _0x4598d2=_0x43367a;let _0x43bcd2=document[_0x4598d2(0xcd)]('a');_0x43bcd2[_0x4598d2(0x21a)]=_0x9425c5,_0x43bcd2['style'][_0x4598d2(0x14b)]=_0x4598d2(0x1ac),_0x43bcd2[_0x4598d2(0x199)]=_0x37e74a+'.'+_0x2558ad,document['body'][_0x4598d2(0x11a)](_0x43bcd2),_0x43bcd2[_0x4598d2(0x224)](),document[_0x4598d2(0x1c4)]['removeChild'](_0x43bcd2);}function E(_0x2a15e1,_0x3ed962,_0x2c56b5){const _0x1a39d6=_0x43367a;let _0x46dc48=URL[_0x1a39d6(0x1c5)](_0x2a15e1);ae(_0x46dc48,_0x3ed962,_0x2c56b5),URL[_0x1a39d6(0x20d)](_0x46dc48);}function D(_0x4e34aa){const _0x3cc0a3=_0x43367a;let _0x89c3f5=_0x4e34aa[_0x3cc0a3(0x14f)][_0x3cc0a3(0x167)]('.')[_0x3cc0a3(0x1b1)]();if(!_0x89c3f5)return t['UniverInstanceType'][_0x3cc0a3(0xd5)];let _0x427bcf=oe(),_0x4f442e=t['UniverInstanceType'][_0x3cc0a3(0xd5)];return _0x427bcf[_0x3cc0a3(0x1ba)](_0x4ceda7=>O(_0x89c3f5,_0x4ceda7)?(_0x4f442e=_0x4ceda7,!0x0):!0x1),_0x4f442e;}function oe(){const _0x4beb05=_0x43367a;return Object['values'](t[_0x4beb05(0xb3)])['filter'](_0x2d4982=>typeof _0x2d4982==_0x4beb05(0x182));}function O(_0x33cfd3,_0x3eb7ec){const _0x48c497=_0x43367a;var _0x1fb0c0;return((_0x1fb0c0=w[_0x3eb7ec])==null?[]:_0x1fb0c0)[_0x48c497(0xb5)](_0x677822=>(T[_0x677822]||'')[_0x48c497(0x1cb)]())['includes'](_0x33cfd3[_0x48c497(0x1cb)]());}function k(_0x4946d9,_0x410b5d=!0x1){const _0x8cf8ee=_0x43367a;let _0x583f05=_0x4946d9[_0x8cf8ee(0xb5)](_0x3ea310=>{var _0x59b695;return(_0x59b695=w[_0x3ea310])==null?[]:_0x59b695;})[_0x8cf8ee(0x208)](',');return new Promise((_0x80793,_0x1e6c3a)=>{const _0xb74320=_0x8cf8ee;let _0x1d4e14=document[_0xb74320(0xcd)](_0xb74320(0x168));_0x1d4e14['type']=_0xb74320(0xe8),_0x1d4e14[_0xb74320(0x202)]=_0x583f05,_0x1d4e14[_0xb74320(0x144)]=_0x410b5d,_0x1d4e14[_0xb74320(0xbe)](_0xb74320(0xab),_0x51e199=>{const _0x403a92=_0xb74320;let _0x56ea19=_0x51e199['currentTarget'];if(!_0x56ea19[_0x403a92(0x232)]||_0x56ea19[_0x403a92(0x232)][_0x403a92(0x1db)]===0x0)throw _0x1e6c3a(null),Error(_0x403a92(0x186));_0x80793(_0x56ea19[_0x403a92(0x232)]);}),_0x1d4e14[_0xb74320(0x224)]();});}async function A(_0x577292,_0x48d7d0){const _0x496de6=_0x43367a;try{var _0xc21b0e,_0x3a8d6e,_0x5f20c8;let _0x15522e=await _0x48d7d0[_0x496de6(0xb6)](_0x577292,{'responseType':'blob'}),_0x2bd1e7=_0x15522e[_0x496de6(0x1c4)],_0x3a6634=(_0xc21b0e=(_0x3a8d6e=_0x15522e[_0x496de6(0x1a6)][_0x496de6(0xb6)]('Content-Type'))==null?void 0x0:_0x3a8d6e[_0x496de6(0x208)](',\x20'))==null?_0x496de6(0x1ab):_0xc21b0e,_0x393303='file.'+(T[_0x3a6634]||_0x496de6(0x152)),_0x4d3131=(_0x5f20c8=_0x15522e[_0x496de6(0x1a6)][_0x496de6(0xb6)](_0x496de6(0xe0)))==null?void 0x0:_0x5f20c8[_0x496de6(0x208)](',\x20');if(_0x4d3131){let _0x2b68a7=_0x4d3131[_0x496de6(0x197)](/filename=(.+)/);_0x2b68a7&&_0x2b68a7[0x1]&&(_0x393303=_0x2b68a7[0x1]);}else _0x393303=se(_0x577292)||_0x393303;return new File([_0x2bd1e7],_0x393303,{'type':_0x3a6634});}catch(_0x275ada){console[_0x496de6(0xfb)](_0x496de6(0x1a1),_0x275ada);return;}}function se(_0x5031f8){const _0x3c88d0=_0x43367a;try{return new URL(_0x5031f8)['pathname']['split']('/')[_0x3c88d0(0x1b1)]();}catch(_0x3eedbc){console[_0x3c88d0(0xfb)](_0x3c88d0(0x18c),_0x3eedbc);return;}}function ce(_0x20e44c){const _0x372d6d=_0x43367a;let _0x3c6708=new Blob([_0x20e44c['buffer']],{'type':_0x372d6d(0x112)});return new File([_0x3c6708],'file.json');}function j(_0x158b95,_0x4d33d5){const _0x575a13=_0x43367a;return _0x158b95[_0x575a13(0x192)]('{type}',_0x4d33d5);}function M(_0x3f8596,_0x30569c){const _0x3a3168=_0x43367a;return _0x3f8596[_0x3a3168(0x192)](_0x3a3168(0x19f),_0x30569c);}function le(_0x1e58cd,_0x46ed14){const _0x149363=_0x43367a;return _0x1e58cd[_0x149363(0x192)](_0x149363(0x20c),_0x46ed14);}function N(_0x13c74a,_0x36d8cf){return function(_0x2513c3,_0x3a75a3){_0x36d8cf(_0x2513c3,_0x3a75a3,_0x13c74a);};}function P(_0x27df53,_0x1c597a,_0x4db335,_0x5ab919){const _0x17d244=_0x43367a;var _0x667565=arguments[_0x17d244(0x1db)],_0xa40438=_0x667565<0x3?_0x1c597a:_0x5ab919===null?_0x5ab919=Object[_0x17d244(0x1fa)](_0x1c597a,_0x4db335):_0x5ab919,_0x4793b3;if(typeof Reflect==_0x17d244(0x1f8)&&typeof Reflect[_0x17d244(0xcc)]==_0x17d244(0x1dd))_0xa40438=Reflect[_0x17d244(0xcc)](_0x27df53,_0x1c597a,_0x4db335,_0x5ab919);else{for(var _0x4fb269=_0x27df53[_0x17d244(0x1db)]-0x1;_0x4fb269>=0x0;_0x4fb269--)(_0x4793b3=_0x27df53[_0x4fb269])&&(_0xa40438=(_0x667565<0x3?_0x4793b3(_0xa40438):_0x667565>0x3?_0x4793b3(_0x1c597a,_0x4db335,_0xa40438):_0x4793b3(_0x1c597a,_0x4db335))||_0xa40438);}return _0x667565>0x3&&_0xa40438&&Object[_0x17d244(0x1ea)](_0x1c597a,_0x4db335,_0xa40438),_0xa40438;}const F=(0x0,t[_0x43367a(0x1e8)])(_0x43367a(0x1dc));let I=class{constructor(_0x2458eb,_0x28dc89){const _0xcbc3e2=_0x43367a;this[_0xcbc3e2(0x203)]=_0x2458eb,this[_0xcbc3e2(0xf3)]=_0x28dc89,g(this,_0xcbc3e2(0xbf),new Set());}[_0x43367a(0x1f1)](){}[_0x43367a(0x14e)](_0x450c5a){const _0x3f0664=_0x43367a;this[_0x3f0664(0xbf)][_0x3f0664(0x229)](_0x450c5a);}[_0x43367a(0x18e)](){const _0xb10648=_0x43367a;this[_0xb10648(0xbf)][_0xb10648(0xf2)]();}async[_0x43367a(0x1da)](_0x20f211,_0x1efcb9=0x0,_0x4c86a7=!0x1){const _0x180cec=_0x43367a;if(typeof _0x20f211==_0x180cec(0x150)){let _0x3416d0=await A(_0x20f211,this[_0x180cec(0xf3)]);if(!_0x3416d0)throw Error('upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url');_0x20f211=_0x3416d0;}_0x1efcb9=_0x1efcb9||_0x20f211[_0x180cec(0x1d1)];let _0x5dddbb=new FormData();_0x5dddbb[_0x180cec(0x1f6)]('file',_0x20f211);try{let _0x405cbc=this['_getUploadFileURL']()+_0x180cec(0x206)+_0x1efcb9+_0x180cec(0xce)+l['FileSource'][_0x180cec(0x185)]+_0x180cec(0x19a)+_0x4c86a7,_0x17be79={'body':_0x5dddbb},_0x36eb00=(await this[_0x180cec(0xf3)]['post'](_0x405cbc,_0x17be79))[_0x180cec(0x1c4)];if(_0x36eb00[_0x180cec(0xfb)]&&_0x36eb00['error'][_0x180cec(0xfa)]!==l[_0x180cec(0x155)]['OK'])throw Error(this[_0x180cec(0x15d)]('upload\x20request\x20failed',_0x36eb00['error']));return _0x36eb00;}catch(_0x408cf6){throw _0x408cf6 instanceof Error?_0x408cf6:Error(this[_0x180cec(0x113)](_0x180cec(0xe7),_0x408cf6));}}async[_0x43367a(0x109)](_0x474044){const _0x92b8e2=_0x43367a;let {fileID:_0xd01bbc,type:_0x46abfb,outputType:_0x522ac7,minSheetColumnCount:_0x5bc4a1,minSheetRowCount:_0xd92855}=_0x474044;try{let _0x5b9bd0=j(this['_getImportURL'](),''+_0x46abfb),_0x3bea2a={'body':{'fileID':_0xd01bbc,'outputType':_0x522ac7,'minSheetColumnCount':_0x5bc4a1,'minSheetRowCount':_0xd92855}},_0x10b7ca=(await this['_httpService']['post'](_0x5b9bd0,_0x3bea2a))['body'];return _0x10b7ca[_0x92b8e2(0xfb)]&&_0x10b7ca[_0x92b8e2(0xfb)][_0x92b8e2(0xfa)]!==l['ErrorCode']['OK']?void 0x0:_0x10b7ca;}catch{return;}}async[_0x43367a(0x13a)](_0x349c02){const _0x2e43e5=_0x43367a;let {unitID:_0xf8e6a6,jsonID:_0x54c071,type:_0x363c0e,sscSwitch:_0x2c13fc,useImageUrl:_0x66538d,ignoreTableExport:_0x1721ef}=_0x349c02;try{let _0x12044e=j(this[_0x2e43e5(0x1d2)](),''+_0x363c0e),_0x2572d9={'body':{'unitID':_0xf8e6a6,'jsonID':_0x54c071,'type':_0x363c0e,'sscSwitch':_0x2c13fc,'useImageUrl':_0x66538d,'ignoreTableExport':_0x1721ef}},_0x183acb=(await this[_0x2e43e5(0xf3)]['post'](_0x12044e,_0x2572d9))['body'];return _0x183acb[_0x2e43e5(0xfb)]&&_0x183acb[_0x2e43e5(0xfb)][_0x2e43e5(0xfa)]!==l[_0x2e43e5(0x155)]['OK']?void 0x0:_0x183acb;}catch{return;}}async['getTask'](_0x51f621){return new Promise((_0xfc18f4,_0x38fdec)=>{const _0x1a50e6=_0x1cc0;try{let _0x3ce041=0x0,_0x2a951b=M(this[_0x1a50e6(0x1aa)](),''+_0x51f621),_0x54089f=this[_0x1a50e6(0x18a)](),_0x421d53=async()=>{const _0x37473f=_0x1a50e6;if(this['_taskInterrupted'][_0x37473f(0x201)](_0x51f621))return;let _0x1cd9ba=(await this['_httpService'][_0x37473f(0xb6)](_0x2a951b))[_0x37473f(0x1c4)];if(_0x1cd9ba[_0x37473f(0xfb)]&&_0x1cd9ba['error'][_0x37473f(0xfa)]===l['ErrorCode']['OK']){if(_0x1cd9ba['status']===_0x37473f(0x13d))_0xfc18f4(_0x1cd9ba);else{if(_0x1cd9ba['status']===_0x37473f(0x1e3)){let _0x177084=0x3e8;if(_0x3ce041>=_0x54089f){_0x38fdec(_0x1cd9ba);return;}else _0x3ce041>=0x7530&&(_0x177084=0x1388);_0x3ce041+=_0x177084,setTimeout(_0x421d53,_0x177084);}else _0x38fdec(_0x1cd9ba);}}else _0x38fdec(_0x1cd9ba);};_0x421d53();}catch(_0xa51ec){_0x38fdec(_0xa51ec instanceof Error?_0xa51ec:Error(String(_0xa51ec)));}});}async[_0x43367a(0x1f2)](_0xf7baa0){const _0x3261c1=_0x43367a;try{let _0x5e4ecd=le(this[_0x3261c1(0x1d7)](),''+_0xf7baa0);return(await this[_0x3261c1(0xf3)]['get'](_0x5e4ecd))[_0x3261c1(0x1c4)];}catch{return;}}async[_0x43367a(0xec)](_0x4fc062){const _0x2cbf7e=_0x43367a;try{return(await this['_httpService'][_0x2cbf7e(0xb6)](_0x4fc062,{'responseType':_0x2cbf7e(0x1a7)}))['body'];}catch{return;}}['_buildProtocolErrorMessage'](_0x5ad8ac,_0x9d1b7b){const _0x199d48=_0x43367a;let _0xf63f4f=this[_0x199d48(0xfd)](_0x9d1b7b);return _0xf63f4f?_0x5ad8ac+':\x20'+_0xf63f4f:_0x5ad8ac;}[_0x43367a(0x113)](_0x13f6f3,_0x3c0076){const _0x39a91c=_0x43367a;if(_0x3c0076 instanceof n[_0x39a91c(0xb8)]){let _0x6722db=typeof _0x3c0076[_0x39a91c(0xa7)]=='number'?''+_0x3c0076[_0x39a91c(0xa7)]+(_0x3c0076['statusText']?'\x20'+_0x3c0076['statusText']:''):void 0x0,_0x17e561=this[_0x39a91c(0xfd)](_0x3c0076['error']);return _0x6722db&&_0x17e561?_0x13f6f3+':\x20HTTP\x20'+_0x6722db+_0x39a91c(0x181)+_0x17e561:_0x6722db?_0x13f6f3+_0x39a91c(0x159)+_0x6722db:_0x17e561?_0x13f6f3+':\x20'+_0x17e561:_0x13f6f3;}let _0xcdfe79=this[_0x39a91c(0xfd)](_0x3c0076);return _0xcdfe79?_0x13f6f3+':\x20'+_0xcdfe79:_0x13f6f3;}[_0x43367a(0xfd)](_0x341999){const _0x5de884=_0x43367a;if(typeof _0x341999==_0x5de884(0x150)){let _0x6ce902=_0x341999[_0x5de884(0x176)]();return _0x6ce902[_0x5de884(0x1db)]>0x0?_0x6ce902:void 0x0;}if(_0x341999 instanceof Error)return this[_0x5de884(0xfd)](_0x341999['message']);if(!_0x341999||typeof _0x341999!='object'||Array[_0x5de884(0x1e4)](_0x341999))return;let _0x42364b=_0x341999,_0x59aed2=this['_extractErrorDetail'](_0x42364b[_0x5de884(0xcb)]);if(_0x59aed2)return _0x59aed2;if(_0x42364b[_0x5de884(0xfb)]&&typeof _0x42364b['error']=='object'&&!Array['isArray'](_0x42364b['error'])){let _0x1ec3d7=this['_extractErrorDetail'](_0x42364b['error']);if(_0x1ec3d7)return _0x1ec3d7;}}[_0x43367a(0x1c7)](){const _0x6d4a39=_0x43367a;var _0x3a82f1;let _0x372324=this['_configService']['getConfig'](f);return(_0x3a82f1=_0x372324==null?void 0x0:_0x372324[_0x6d4a39(0x12d)])==null?_0x6d4a39(0xea):_0x3a82f1;}['_getImportURL'](){const _0x590b35=_0x43367a;var _0x5dc9e1;let _0x457915=this[_0x590b35(0x203)][_0x590b35(0x22e)](f);return(_0x5dc9e1=_0x457915==null?void 0x0:_0x457915[_0x590b35(0xc3)])==null?'/universer-api/exchange/{type}/import':_0x5dc9e1;}[_0x43367a(0x1d2)](){const _0x336c02=_0x43367a;var _0x1144f1;let _0x25ae22=this[_0x336c02(0x203)][_0x336c02(0x22e)](f);return(_0x1144f1=_0x25ae22==null?void 0x0:_0x25ae22['exportServerUrl'])==null?_0x336c02(0xb7):_0x1144f1;}['_getTaskURL'](){const _0x1e8397=_0x43367a;var _0x63defb;let _0x2a5574=this[_0x1e8397(0x203)][_0x1e8397(0x22e)](f);return(_0x63defb=_0x2a5574==null?void 0x0:_0x2a5574[_0x1e8397(0x1ef)])==null?'/universer-api/exchange/task/{taskID}':_0x63defb;}[_0x43367a(0x1d7)](){const _0x51e89e=_0x43367a;var _0x20497b;let _0x2a0b5d=this[_0x51e89e(0x203)][_0x51e89e(0x22e)](f);return(_0x20497b=_0x2a0b5d==null?void 0x0:_0x2a0b5d[_0x51e89e(0x19c)])==null?_0x51e89e(0x1e9):_0x20497b;}['_getMaxPollingTime'](){const _0x341b60=_0x43367a;var _0x231b43;let _0x5dfe62=this[_0x341b60(0x203)][_0x341b60(0x22e)](f);return(_0x231b43=_0x5dfe62==null?void 0x0:_0x5dfe62[_0x341b60(0x20a)])==null?0x1d4c0:_0x231b43;}};I=P([N(0x0,t[_0x43367a(0xd8)]),N(0x1,(0x0,t[_0x43367a(0x146)])(n[_0x43367a(0x139)]))],I);function ue(_0x3a5262){const _0x1f7674=_0x43367a;let _0x574ffc=_0x3a5262[_0x1f7674(0x1f9)];if(!_0x574ffc)return null;let _0x200263={};_0x574ffc[_0x1f7674(0x1c0)]&&Object['keys'](_0x574ffc[_0x1f7674(0x1c0)])['forEach'](_0x58ff28=>{const _0x56b483=_0x1f7674;let _0x3f2899=_0x574ffc[_0x56b483(0x1c0)][_0x58ff28];_0x200263[_0x58ff28]={..._0x3f2899,'originalMeta':(0x0,u[_0x56b483(0x13c)])(u[_0x56b483(0xf8)]['decode'](_0x3f2899[_0x56b483(0xd1)]))};});let _0xe90a01=(0x0,u[_0x1f7674(0x13c)])(u['textDecoder'][_0x1f7674(0x157)](_0x574ffc[_0x1f7674(0xd1)]));return{..._0x3a5262,'workbook':{..._0x574ffc,'originalMeta':_0xe90a01,'sheets':_0x200263},'doc':{},'slide':void 0x0};}function de(_0x2e5a57){const _0xb7d16f=_0x43367a;let _0x39fce5=_0x2e5a57['doc'];if(!_0x39fce5)return null;let _0x7aaf31=(0x0,u['b64EncodeUnicode'])(u[_0xb7d16f(0xf8)][_0xb7d16f(0x157)](_0x39fce5['originalMeta']));return{..._0x2e5a57,'workbook':{},'doc':{..._0x39fce5,'originalMeta':_0x7aaf31},'slide':void 0x0};}function fe(_0x5e38d9){const _0x5407d5=_0x43367a;var _0x1b1412;let _0x47d708=(_0x1b1412=_0x5e38d9[_0x5407d5(0x11f)])==null?_0x5e38d9[_0x5407d5(0xe3)]:_0x1b1412;if(!_0x47d708)return null;let _0x3d840b=typeof _0x47d708[_0x5407d5(0xd1)]==_0x5407d5(0x150)?_0x47d708[_0x5407d5(0xd1)]:(0x0,u[_0x5407d5(0x13c)])(u[_0x5407d5(0xf8)][_0x5407d5(0x157)](_0x47d708[_0x5407d5(0xd1)]));return{..._0x5e38d9,'workbook':{},'doc':{},'slide':{..._0x47d708,'originalMeta':_0x3d840b}};}function L(_0x1d1779){const _0x5c724a=_0x43367a;let _0x5d6b55={};return _0x1d1779[_0x5c724a(0xd0)](_0x388963=>{const _0x5528b7=_0x5c724a;_0x5d6b55[_0x388963['id']]={..._0x388963,'data':(0x0,u[_0x5528b7(0x13c)])(u[_0x5528b7(0xf8)]['decode'](_0x388963['data']))};}),_0x5d6b55;}async function R(_0x37328f){const _0x23457e=_0x43367a;var _0x3f1e18;let _0x243a00={'metadata':void 0x0},_0x5aa884=_0x37328f['id'],_0x53de84=(_0x3f1e18=_0x37328f[_0x23457e(0x115)])==null?0x0:_0x3f1e18,_0x439492=new W(),{snapshot:_0x28499c}=await(0x0,u[_0x23457e(0x126)])(_0x243a00,_0x37328f,_0x5aa884,_0x53de84,_0x439492),_0x1d0727=await(0x0,u['getSheetBlocksFromSnapshot'])(_0x28499c,_0x439492),_0x4c2e3f=ue(_0x28499c);if(!_0x4c2e3f)throw Error(_0x23457e(0x131));return{'snapshot':_0x4c2e3f,'sheetBlocks':L(_0x1d0727)};}async function z(_0x2836f2){const _0x5b7193=_0x43367a;var _0x58fb;let _0x5b8cad={'metadata':void 0x0},_0x49ae7d=_0x2836f2['id'],{snapshot:_0x5f1016}=await(0x0,u[_0x5b7193(0x169)])(_0x5b8cad,_0x2836f2,_0x49ae7d,(_0x58fb=_0x2836f2['rev'])==null?0x0:_0x58fb,new W()),_0x396432=de(_0x5f1016);if(!_0x396432)throw Error(_0x5b7193(0x131));return{'snapshot':_0x396432,'sheetBlocks':{}};}async function B(_0x47f547){const _0x5399cd=_0x43367a;var _0x4d9956;let _0x36d73c=_0x47f547['id'],_0x3bac39=(_0x4d9956=_0x47f547[_0x5399cd(0x115)])==null?0x0:_0x4d9956,_0x392553=new W(),{snapshot:_0x15e378}=await(0x0,u[_0x5399cd(0x12e)])(_0x47f547['resources'],_0x47f547,_0x36d73c,_0x3bac39,_0x392553),_0x2332b6=fe(_0x15e378);if(!_0x2332b6)throw Error(_0x5399cd(0x131));return{'snapshot':_0x2332b6,'sheetBlocks':{}};}async function V(_0x359d9c){const _0x1779de=_0x43367a;let _0xb068c4=_0x359d9c[_0x1779de(0x1ae)],_0xa98e1c=_0x359d9c['sheetBlocks']||{};return await(0x0,u[_0x1779de(0xfe)])(_0xb068c4,Object[_0x1779de(0xe1)](_0xa98e1c)[_0x1779de(0xb5)](_0x381f16=>_0xa98e1c[_0x381f16])['map'](_0x1be44f=>({..._0x1be44f,'data':_0x1be44f['data']?JSON[_0x1779de(0xc1)]((0x0,u[_0x1779de(0xc0)])(_0x1be44f['data'])):void 0x0})));}function H(_0x14e17a){const _0x34ca0b=_0x43367a;let _0x272a91=_0x14e17a[_0x34ca0b(0x1ae)];return(0x0,u[_0x34ca0b(0x223)])(_0x272a91);}function U(_0x1fbd2e){const _0x461c5b=_0x43367a;let _0xc5349f=_0x1fbd2e[_0x461c5b(0x1ae)];return(0x0,u['transformSnapshotToSlideData'])(_0xc5349f);}var W=class{constructor(){const _0x5591e9=_0x43367a;g(this,_0x5591e9(0x205),new Map());}[_0x43367a(0x136)](){const _0x2d9498=_0x43367a;return Promise[_0x2d9498(0x213)]({'snapshot':{'unitID':'','type':t[_0x2d9498(0xb3)][_0x2d9498(0xf6)],'rev':0x0,'workbook':void 0x0,'doc':void 0x0,'slide':void 0x0},'changesets':[],'error':{'code':l[_0x2d9498(0x155)]['OK'],'message':''}});}[_0x43367a(0x1c8)](_0x2f0c1d,_0x5c261f){const _0x4a7691=_0x43367a;let _0x1c4187=this['_sheetBlockCache'][_0x4a7691(0xb6)](_0x5c261f[_0x4a7691(0x175)]);return Promise[_0x4a7691(0x213)]({'block':_0x1c4187,'error':{'code':l['ErrorCode']['OK'],'message':''}});}[_0x43367a(0x187)](_0x38d3ff,_0x17d112){const _0x27f1cb=_0x43367a;let _0x20a7fb=this[_0x27f1cb(0x205)][_0x27f1cb(0xb6)](_0x17d112[_0x27f1cb(0x175)]);return Promise[_0x27f1cb(0x213)]({'block':_0x20a7fb===void 0x0?void 0x0:{..._0x20a7fb,'data':JSON['parse'](u[_0x27f1cb(0xf8)]['decode'](_0x20a7fb[_0x27f1cb(0x101)]))},'error':{'code':l['ErrorCode']['OK'],'message':''}});}[_0x43367a(0x118)](){return Promise['resolve']({'changesets':[],'error':{'code':l['ErrorCode']['OK'],'message':''}});}[_0x43367a(0x16f)](){const _0x5a1541=_0x43367a;return Promise[_0x5a1541(0x213)]({'resources':{},'error':{'code':l[_0x5a1541(0x155)]['OK'],'message':''}});}[_0x43367a(0x212)](){const _0xef624d=_0x43367a;return Promise[_0xef624d(0x213)]({'error':{'code':l[_0xef624d(0x155)]['OK'],'message':''}});}[_0x43367a(0xf0)](){const _0x1b97de=_0x43367a;return Promise['resolve']({'error':{'code':l[_0x1b97de(0x155)]['OK'],'message':''}});}[_0x43367a(0x13f)](_0x42db48,_0x360ee5){const _0x4d257b=_0x43367a;let {block:_0x359027}=_0x360ee5;return _0x359027?(this['_sheetBlockCache']['set'](_0x359027['id'],_0x359027),Promise[_0x4d257b(0x213)]({'error':{'code':l[_0x4d257b(0x155)]['OK'],'message':''},'blockID':_0x359027['id']})):Promise[_0x4d257b(0x213)]({'error':{'code':l['ErrorCode'][_0x4d257b(0x230)],'message':_0x4d257b(0x1fb)},'blockID':''});}['saveChangeset'](){const _0x5344ce=_0x43367a;return Promise[_0x5344ce(0x213)]({'error':{'code':l[_0x5344ce(0x155)]['OK'],'message':''},'concurrent':[]});}[_0x43367a(0xbc)](){const _0x123191=_0x43367a;return Promise[_0x123191(0x213)]({'error':void 0x0,'fileMetaId':''});}[_0x43367a(0x14a)](){const _0x4f4cf5=_0x43367a;return Promise[_0x4f4cf5(0x213)]({'error':void 0x0,'latestReqID':0x0});}};const G=(0x0,t['createIdentifier'])(_0x43367a(0x1d4));function _0x15ca(){const _0x415a0c=['Module','link','\x20-\x20','number','pptx','univer-flex\x20univer-h-5\x20univer-text-xl','HttpImport','No\x20file\x20selected','getDeserializedSheetBlock','36LycHdm','Get\x20outputType\x20error','_getMaxPollingTime','searchParams','Error\x20getting\x20file\x20name\x20from\x20URL:','IRequestService','clearTaskInterrupted','unit','_showUploadMessage','pushLink','replace','_list','_progress$','univer-text-blue-500','UploadNotificationState','match','default','download','&flate=','_addTotalCount','signUrlServerUrl','complete','useDependency','{taskID}','xlsm','Error\x20fetching\x20file\x20from\x20URL:','exchange-client.uploadSuccessTip','requestState$','_config','UNIVER_DOC','headers','text','url','univer-text-green-500','_getTaskURL','application/octet-stream','none','connectInjector','snapshot','_registerIcons','floor','pop','disposeWithMe','importWorkbookDataToUnitId','touchDependencies','options','exportPPTXByUnitId','_clearProgress','_getDisableCellImageConversion','Disposable','some','ignoreTableExport','getUnitId','_messageService','CONNECTOR_DATA_TOO_LARGE','_addDoneTask','sheets','ERROR','Failed\x20to\x20parse\x20json','importDOCXToUnitId','body','createObjectURL','disposeUnit','_getUploadFileURL','getSheetBlock','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2','EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY','toLowerCase','merge','18155TKRyTX','UniverLicensePlugin','transformSlideDataToSnapshotJson','_injector','size','_getExportURL','getFocusedUnit','univer-pro.exchange-client.exchange.service','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','Error','_getSignURL','.json','exportXLSXBySnapshot','upload','length','univer-pro.exchange-client.request.service','function','_exchangeService','_visible$','_completeProgress','scrollbarClassName','application/vnd.openxmlformats-officedocument.spreadsheetml.template','pending','isArray','unitID','Success','call','createIdentifier','/universer-api/file/{fileID}/sign-url','defineProperty','_iconManager','unsubscribe','show','LocaleService','getTaskServerUrl','77gkaqzc','dispose','signUrl','progress$','subscribe','_exportBySnapshot','append','pluginName','object','workbook','getOwnPropertyDescriptor','block\x20is\x20required','_emitProgress','toStringTag','BehaviorSubject','BuiltInUIPart','UNRECOGNIZED','has','accept','_configService','_registerComponents','_sheetBlockCache','?size=','visible$','join','489875xjqAUH','maxTimeoutTime','_getUnitName','{fileID}','revokeObjectURL','catch','Plugin','Injector','_resourceLoaderService','saveSnapshot','resolve','_showDownloadMessage','textEncoder','34412961IlLczP','1085163akyQXL','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','_list$','href','Tooltip','type','jsonID','exchange-client.networkError','_requestState$','UNIVER_EXCHANGE_CLIENT_PLUGIN','_getEnableServerSideComputing','Method\x20not\x20implemented.','transformSnapshotToDocumentData','click','UPLOADING','exchange-client.downloadSuccess','button','16538630gSyNrM','add','UniverExchangeClientPlugin','_getUnitIDSlide','getTask','Failed\x20to\x20get\x20unitID\x20from\x20task','getConfig','exportXLSXByUnitId','UNDEFINED','upload\x20failed:\x20FileId\x20is\x20empty','files','symbol','FileId','getUnitType','exchange-client.config','RequestService','constructor','univer-ml-1.5\x20univer-font-semibold\x20univer-leading-6\x20univer-text-gray-900\x20dark:!univer-text-white','onReady','status','exchange-client.wait','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','_signUrl','change','_getUnitDocJson','XlsxMultiIcon','success','exchange-client.unknownMistake','resolveWithBasePath','transformWorkbookDataToSnapshotJson','exchange-client.internalError','UniverInstanceType','univer-text-sm\x20univer-text-gray-500','map','get','/universer-api/exchange/{type}/export','HTTPResponseError','Failed\x20to\x20get\x20fileID\x20from\x20task','_blank','iterator','copyFileMeta','Info','addEventListener','_taskInterrupted','b64DecodeUnicode','parse','IUniverInstanceService','importServerUrl','38jhiMzl','taskID','getUniverInstanceTypeByFile','_localeService','univer-mb-3\x20univer-py-0\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','IUIPartsService','_uploadTaskNotDone','message','decorate','createElement','&source=','954978eiPdLh','forEach','originalMeta','shift','ExchangeService','importPPTXToUnitId','UNIVER_UNKNOWN','prototype','univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','IConfigService','application/vnd.openxmlformats-officedocument.presentationml.presentation','Warning','_import','_uploadNotificationService','univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','workbook.json','uploadFileToUnitId','content-disposition','keys','IUploadNotificationService','doc','11379600HXUyuk','deflateSync','exportDOCXByUnitId','upload\x20request\x20failed','file','jsxs','/universer-api/stream/file/upload','enableServerSideComputing','getTextFromUrl','div','_getUnitSlideJson','univer-text-red-500','updateSnapshot','DirectExportIcon','clear','_httpService','exchange-client.tooLarge','_importFileToUnitId','UNIVER_SHEET','importFileToUnitIdByCurrentType','textDecoder','_fileTypeError','code','error','_getMinSheetRowCount','_extractErrorDetail','transformSnapshotToWorkbookData','application/vnd.ms-excel.sheet.macroEnabled.12','importXLSXToUnitId','data','IconManager','UNIVER_BASE','interruptImportTask','location','_logService','_getUnitJson','_doneUploadTaskCount','import','state$','exchange-client.uploading','stringify','_export','importPPTXToSnapshot','_showNetworkError','useEffect','exchange-client.uploadSuccess','application/json','_buildHttpErrorMessage','_uiPartsService','rev','9jcuqcX','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','fetchMissingChangesets','disableCellImageConversion','appendChild','_univerInstanceService','_getMinSheetColumnCount','_refreshSlide','exportPPTXBySnapshot','slide','SUCCESS','univer-mt-5\x20univer-flex\x20univer-flex-col','min','_getUnitID','origin','outputType','transformWorkbookDataToSnapshot','jsx','Failed\x20to\x20get\x20file\x20from\x20url','_getUnitNameByType','downloadEndpointUrl','_getDownloadEndpointURL','UploadNotificationService','uploadFileServerUrl','transformSlideDataToSnapshot','getCurrentUnitOfType','_requestService','Failed\x20to\x20transform\x20snapshot\x20to\x20string','CONTENT','SuccessIcon','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','minSheetRowCount','getUnitOnRev','Failed\x20to\x20get\x20jsonID\x20from\x20task','_getIgnoreTableExport','HTTPService','export','_totalUploadTaskCount','b64EncodeUnicode','done','UNIVER_SLIDE','saveSheetBlock','interrupt','_importToSnapshot','_getUnitIDDoc','getSnapshot','multiple','Failed\x20to\x20get\x20taskID\x20from\x20import\x20response','Inject','updateState','importXLSXToSnapshot','UniverNetworkPlugin','getLatestCsReqIdBySid','display','_importTaskId','span','setTaskInterrupted','name','string','transformSnapshotJsonToSlideData','xlsx','xltx','register','ErrorCode','ClockIcon','decode','upload\x20failed:\x20missing\x20FileId\x20in\x20response',':\x20HTTP\x20','next','asObservable','_state$','_buildProtocolErrorMessage','useState','docx','MessageType','transformSnapshotJsonToWorkbookData','application/vnd.openxmlformats-officedocument.wordprocessingml.document','importFileToUnitId','clsx','importDOCXToSnapshot','_refresh','split','input','transformDocumentDataToSnapshot','Subject','DependentOn','registerComponent','sign\x20url\x20error','_getLinkByUnitId','getResourcesRequest','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','exchange-client.interrupt','createUnit','getUploadFile','_upload','blockID','trim','fileID','exportDOCXBySnapshot','registerDependencies','onStarting','list$','IResourceLoaderService','transformDocumentDataToSnapshotJson','exchange-client.fileTypeError'];_0x15ca=function(){return _0x415a0c;};return _0x15ca();}let K=class extends t['Disposable']{constructor(_0x30c655,_0x464a4b,_0x5e2900){const _0x5df642=_0x43367a;super(),this[_0x5df642(0x203)]=_0x30c655,this[_0x5df642(0xf3)]=_0x464a4b,this[_0x5df642(0x130)]=_0x5e2900,g(this,_0x5df642(0x14c),null),g(this,'_requestState$',new o[(_0x5df642(0x16a))]()),g(this,_0x5df642(0x1a3),this['_requestState$']['asObservable']());}['dispose'](){const _0x287291=_0x43367a;super['dispose'](),this[_0x287291(0x21f)][_0x287291(0x19d)]();}async[_0x43367a(0x165)](_0x35d34f){const _0x173a57=_0x43367a;let _0x17bb53=await this[_0x173a57(0x141)](_0x35d34f,t['UniverInstanceType'][_0x173a57(0x1a5)]);if(!_0x17bb53||!_0x17bb53[_0x173a57(0x1ae)])return;let _0x314c6a=H(_0x17bb53);if(_0x314c6a)return _0x314c6a;}async[_0x43367a(0xe6)](_0x21d3a1){const _0x40e082=_0x43367a;return this[_0x40e082(0x10d)](_0x21d3a1,0x1,t['UniverInstanceType'][_0x40e082(0x1a5)]);}async[_0x43367a(0x178)](_0x4ab206){const _0x37298f=_0x43367a;let _0x2932b9=await z(_0x4ab206);return this[_0x37298f(0x1f5)](_0x2932b9,t[_0x37298f(0xb3)]['UNIVER_DOC']);}async[_0x43367a(0x10e)](_0x89862d){const _0x15a957=_0x43367a;let _0x315d32=await this['_importToSnapshot'](_0x89862d,t[_0x15a957(0xb3)]['UNIVER_SLIDE']);if(!(!_0x315d32||!_0x315d32[_0x15a957(0x1ae)]))return U(_0x315d32);}async[_0x43367a(0x1b6)](_0x2b291b){const _0x47954a=_0x43367a;return this[_0x47954a(0x10d)](_0x2b291b,0x1,t['UniverInstanceType'][_0x47954a(0x13e)]);}async['exportPPTXBySnapshot'](_0x1b509d){const _0x165e56=_0x43367a;let _0x8cfd1a=await B(_0x1b509d);return this[_0x165e56(0x1f5)](_0x8cfd1a,t['UniverInstanceType'][_0x165e56(0x13e)]);}async['importXLSXToSnapshot'](_0x495e28){const _0x20848a=_0x43367a;let _0x3e8194=await this[_0x20848a(0x141)](_0x495e28,t[_0x20848a(0xb3)]['UNIVER_SHEET']);if(!_0x3e8194)return;let _0x23b1d6=await V(_0x3e8194);if(_0x23b1d6)return _0x23b1d6;}async[_0x43367a(0x22f)](_0x874a04){const _0x589181=_0x43367a;return this[_0x589181(0x10d)](_0x874a04,0x1,t[_0x589181(0xb3)][_0x589181(0xf6)]);}async[_0x43367a(0x1d9)](_0x954ecd){const _0x17d7a7=_0x43367a;let _0xb5f19d=await R(_0x954ecd);return this[_0x17d7a7(0x1f5)](_0xb5f19d,t[_0x17d7a7(0xb3)]['UNIVER_SHEET']);}async[_0x43367a(0x163)](_0x3a0c88,_0x5ee054){const _0x14f41b=_0x43367a;var _0x5a2376,_0x1fae7f;let _0x5c2129=await this['_upload'](_0x3a0c88);if(!_0x5c2129)return;let _0x2abe26=await this[_0x14f41b(0xdb)](_0x5c2129,0x1,_0x5ee054);if(!_0x2abe26)return;this[_0x14f41b(0x14c)]=_0x2abe26,this[_0x14f41b(0x130)][_0x14f41b(0x18e)]();let _0x42854f=await this['_requestService'][_0x14f41b(0x22c)](_0x2abe26)['catch'](_0x36453b=>{const _0x114632=_0x14f41b;var _0x376130;let _0x307ef4=_0x36453b instanceof Error?_0x36453b[_0x114632(0xcb)]:(_0x376130=_0x36453b['error'])==null?void 0x0:_0x376130['message'];this[_0x114632(0x21f)][_0x114632(0x15a)]({'error':{'code':l['ErrorCode'][_0x114632(0x200)],'message':_0x307ef4||''},'state':0x3});});if(!_0x42854f)return;let _0x1f1180=(_0x5a2376=_0x42854f[_0x14f41b(0x109)])==null?void 0x0:_0x5a2376[_0x14f41b(0x125)],_0x1c170b=((_0x1fae7f=_0x42854f['import'])==null?void 0x0:_0x1fae7f[_0x14f41b(0x1e5)])||'';if(_0x1f1180!==0x1){this[_0x14f41b(0x21f)][_0x14f41b(0x15a)]({'error':{'code':l[_0x14f41b(0x155)][_0x14f41b(0x200)],'message':'Get\x20outputType\x20error'},'state':0x3});return;}if(_0x1c170b['length']===0x0){this[_0x14f41b(0x21f)]['next']({'error':{'code':l[_0x14f41b(0x155)][_0x14f41b(0x200)],'message':_0x14f41b(0x22d)},'state':0x3});return;}return this[_0x14f41b(0x21f)][_0x14f41b(0x15a)]({'error':_0x42854f[_0x14f41b(0xfb)],'state':0x3}),_0x1c170b;}async[_0x43367a(0x1b3)](_0x2de50c){const _0x21e911=_0x43367a;let _0x2cfcca=await R(_0x2de50c),_0x1e0878=typeof _0x2de50c['id']=='string'&&_0x2de50c['id']['trim']()?_0x2de50c['id'][_0x21e911(0x176)]()+_0x21e911(0x1d8):_0x21e911(0xde),_0x4c60f5=new File([JSON[_0x21e911(0x10c)](_0x2cfcca)],_0x1e0878,{'type':_0x21e911(0x112)});return this[_0x21e911(0x163)](_0x4c60f5,t[_0x21e911(0xb3)][_0x21e911(0xf6)]);}[_0x43367a(0x104)](){const _0x3a86e4=_0x43367a;this[_0x3a86e4(0x14c)]&&this[_0x3a86e4(0x130)]['setTaskInterrupted'](this['_importTaskId']);}async[_0x43367a(0x141)](_0x5e3da2,_0x35fd9d){const _0xb69e09=_0x43367a;var _0x232b58,_0x2de9ad;let _0x34b3bd=await this[_0xb69e09(0x174)](_0x5e3da2);if(!_0x34b3bd)return;let _0x2514d1=await this['_import'](_0x34b3bd,0x2,_0x35fd9d);if(!_0x2514d1)return;this['_importTaskId']=_0x2514d1,this['_requestService']['clearTaskInterrupted']();let _0x5c3f2d=await this['_requestService']['getTask'](_0x2514d1)[_0xb69e09(0x20e)](_0x1be5c9=>{const _0x167556=_0xb69e09;var _0x173150;let _0x300b64=_0x1be5c9 instanceof Error?_0x1be5c9[_0x167556(0xcb)]:(_0x173150=_0x1be5c9[_0x167556(0xfb)])==null?void 0x0:_0x173150[_0x167556(0xcb)];this[_0x167556(0x21f)][_0x167556(0x15a)]({'error':{'code':l[_0x167556(0x155)][_0x167556(0x200)],'message':_0x300b64||''},'state':0x3});});if(!_0x5c3f2d)return;let _0x5e6216=(_0x232b58=_0x5c3f2d[_0xb69e09(0x109)])==null?void 0x0:_0x232b58[_0xb69e09(0x125)],_0x1edc61=((_0x2de9ad=_0x5c3f2d[_0xb69e09(0x109)])==null?void 0x0:_0x2de9ad[_0xb69e09(0x21d)])||'';if(_0x5e6216!==0x2){this[_0xb69e09(0x21f)]['next']({'error':{'code':l[_0xb69e09(0x155)][_0xb69e09(0x200)],'message':_0xb69e09(0x189)},'state':0x3});return;}if(_0x1edc61[_0xb69e09(0x1db)]===0x0){this[_0xb69e09(0x21f)][_0xb69e09(0x15a)]({'error':{'code':l[_0xb69e09(0x155)][_0xb69e09(0x200)],'message':_0xb69e09(0x137)},'state':0x3});return;}this['_requestState$'][_0xb69e09(0x15a)]({'error':_0x5c3f2d[_0xb69e09(0xfb)],'state':0x3});let _0x45cbbf=await this[_0xb69e09(0xaa)](_0x1edc61);if(!_0x45cbbf)return;let _0x12c991=await this[_0xb69e09(0x130)][_0xb69e09(0xec)](_0x45cbbf);if(!_0x12c991){this[_0xb69e09(0x21f)][_0xb69e09(0x15a)]({'error':{'code':l['ErrorCode'][_0xb69e09(0x200)],'message':'Failed\x20to\x20get\x20text\x20from\x20url'},'state':0x5});return;}try{let _0x197d8a=JSON['parse'](_0x12c991);return this['_requestState$'][_0xb69e09(0x15a)]({'error':{'code':l[_0xb69e09(0x155)]['OK'],'message':_0xb69e09(0xae)},'state':0x5}),_0x197d8a;}catch{this[_0xb69e09(0x21f)]['next']({'error':{'code':l[_0xb69e09(0x155)][_0xb69e09(0x200)],'message':_0xb69e09(0x1c2)},'state':0x5});}}async[_0x43367a(0x1f5)](_0x233fa0,_0x48a499){const _0x1d3f30=_0x43367a;let _0x1d3c00=JSON[_0x1d3f30(0x10c)](_0x233fa0),_0x9d6c=u[_0x1d3f30(0x215)]['encode'](_0x1d3c00),_0x35c42d=(0x0,d[_0x1d3f30(0xe5)])(_0x9d6c),_0x545612=_0x9d6c[_0x1d3f30(0x1db)],_0x5efaa3=ce(_0x35c42d),_0x59b19a=await this[_0x1d3f30(0x174)](_0x5efaa3,_0x545612,!0x0);if(_0x59b19a)return this[_0x1d3f30(0x10d)](_0x59b19a,0x2,_0x48a499);}async[_0x43367a(0x10d)](_0x22be4e,_0x4c6a91,_0x60f5ac){const _0x4aac54=_0x43367a;var _0x1eb333;let _0x304e5f=await this[_0x4aac54(0x130)][_0x4aac54(0x13a)]({'unitID':_0x4c6a91===0x1?_0x22be4e:'','jsonID':_0x4c6a91===0x2?_0x22be4e:'','type':_0x60f5ac,'sscSwitch':this[_0x4aac54(0x221)](),'useImageUrl':this['_getDisableCellImageConversion'](),'ignoreTableExport':this['_getIgnoreTableExport']()});if(!_0x304e5f){this[_0x4aac54(0x21f)][_0x4aac54(0x15a)]({'error':{'code':l[_0x4aac54(0x155)][_0x4aac54(0x200)],'message':'export\x20error'},'state':0x2});return;}if(this[_0x4aac54(0x21f)][_0x4aac54(0x15a)]({'error':_0x304e5f[_0x4aac54(0xfb)],'state':0x2}),_0x304e5f[_0x4aac54(0xfb)]&&_0x304e5f[_0x4aac54(0xfb)][_0x4aac54(0xfa)]!==l[_0x4aac54(0x155)]['OK'])return;let _0x358bf8=_0x304e5f['taskID'],_0x10e1bd=await this[_0x4aac54(0x130)][_0x4aac54(0x22c)](_0x358bf8)['catch'](_0x574e1f=>{const _0x17791c=_0x4aac54;var _0xf5c0bc;let _0x58fef4=_0x574e1f instanceof Error?_0x574e1f['message']:(_0xf5c0bc=_0x574e1f[_0x17791c(0xfb)])==null?void 0x0:_0xf5c0bc[_0x17791c(0xcb)];this[_0x17791c(0x21f)]['next']({'error':{'code':l[_0x17791c(0x155)][_0x17791c(0x200)],'message':_0x58fef4||''},'state':0x3});});if(!_0x10e1bd)return;let _0x93d292=((_0x1eb333=_0x10e1bd[_0x4aac54(0x13a)])==null?void 0x0:_0x1eb333[_0x4aac54(0x177)])||'';if(_0x93d292[_0x4aac54(0x1db)]===0x0){this[_0x4aac54(0x21f)][_0x4aac54(0x15a)]({'error':{'code':l[_0x4aac54(0x155)]['UNRECOGNIZED'],'message':_0x4aac54(0xb9)},'state':0x3});return;}this[_0x4aac54(0x21f)][_0x4aac54(0x15a)]({'error':_0x10e1bd[_0x4aac54(0xfb)],'state':0x3});let _0x14f02a=await this[_0x4aac54(0xaa)](_0x93d292);if(!_0x14f02a)return;let _0x19d4ea=await A(_0x14f02a,this[_0x4aac54(0xf3)]);if(!_0x19d4ea){this[_0x4aac54(0x21f)][_0x4aac54(0x15a)]({'error':{'code':l[_0x4aac54(0x155)][_0x4aac54(0x200)],'message':_0x4aac54(0x128)},'state':0x6});return;}return this[_0x4aac54(0x21f)][_0x4aac54(0x15a)]({'error':{'code':l['ErrorCode']['OK'],'message':_0x4aac54(0xae)},'state':0x6}),_0x19d4ea;}async['_upload'](_0x35c798,_0x4b7b27,_0x53262f){const _0x269639=_0x43367a;let _0x1ed4ec;try{_0x1ed4ec=await this[_0x269639(0x130)][_0x269639(0x1da)](_0x35c798,_0x4b7b27,_0x53262f);}catch(_0x34423d){let _0x329569=_0x34423d instanceof Error?_0x34423d['message']:String(_0x34423d);this['_requestState$'][_0x269639(0x15a)]({'error':{'code':l[_0x269639(0x155)]['UNRECOGNIZED'],'message':_0x329569},'state':0x0});return;}if(!_0x1ed4ec||typeof _0x1ed4ec[_0x269639(0x234)]!='string'){this[_0x269639(0x21f)][_0x269639(0x15a)]({'error':{'code':l[_0x269639(0x155)]['UNRECOGNIZED'],'message':_0x269639(0x158)},'state':0x0});return;}let _0x592965=_0x1ed4ec['FileId'];if(_0x592965[_0x269639(0x1db)]===0x0){this[_0x269639(0x21f)][_0x269639(0x15a)]({'error':{'code':l[_0x269639(0x155)][_0x269639(0x200)],'message':_0x269639(0x231)},'state':0x0});return;}return this[_0x269639(0x21f)][_0x269639(0x15a)]({'error':{'code':l['ErrorCode']['OK'],'message':_0x269639(0xae)},'state':0x0}),_0x592965;}async[_0x43367a(0xdb)](_0x2f302f,_0x2d74e0,_0x395868){const _0x29d3d4=_0x43367a;let _0x47a78c={'fileID':_0x2f302f,'type':_0x395868,'outputType':_0x2d74e0,'fileUrl':'','minSheetRowCount':this['_getMinSheetRowCount'](),'minSheetColumnCount':this[_0x29d3d4(0x11c)]()},_0xc4d8e8=await this['_requestService'][_0x29d3d4(0x109)](_0x47a78c);if(!_0xc4d8e8){this[_0x29d3d4(0x21f)]['next']({'error':{'code':l[_0x29d3d4(0x155)][_0x29d3d4(0x200)],'message':'import\x20error'},'state':0x1});return;}if(_0xc4d8e8[_0x29d3d4(0xfb)]&&_0xc4d8e8[_0x29d3d4(0xfb)][_0x29d3d4(0xfa)]!==l[_0x29d3d4(0x155)]['OK']){this[_0x29d3d4(0x21f)][_0x29d3d4(0x15a)]({'error':_0xc4d8e8[_0x29d3d4(0xfb)],'state':0x1});return;}let _0x127707=_0xc4d8e8[_0x29d3d4(0xc5)];if(_0x127707['length']===0x0){this[_0x29d3d4(0x21f)][_0x29d3d4(0x15a)]({'error':{'code':l['ErrorCode'][_0x29d3d4(0x200)],'message':_0x29d3d4(0x145)},'state':0x1});return;}return this[_0x29d3d4(0x21f)][_0x29d3d4(0x15a)]({'error':_0xc4d8e8[_0x29d3d4(0xfb)],'state':0x1}),_0x127707;}async[_0x43367a(0xaa)](_0x17e7df){const _0x3e8184=_0x43367a;let _0x85a95d=await this[_0x3e8184(0x130)][_0x3e8184(0x1f2)](_0x17e7df);if(!_0x85a95d){this[_0x3e8184(0x21f)][_0x3e8184(0x15a)]({'error':{'code':l[_0x3e8184(0x155)][_0x3e8184(0x200)],'message':_0x3e8184(0x16d)},'state':0x4});return;}if(_0x85a95d[_0x3e8184(0xfb)]&&_0x85a95d[_0x3e8184(0xfb)][_0x3e8184(0xfa)]!==l[_0x3e8184(0x155)]['OK']){this[_0x3e8184(0x21f)][_0x3e8184(0x15a)]({'error':_0x85a95d[_0x3e8184(0xfb)],'state':0x4});return;}let _0x12a178=(0x0,t[_0x3e8184(0xb0)])(_0x85a95d[_0x3e8184(0x1a8)],this[_0x3e8184(0x12b)]());if(_0x12a178[_0x3e8184(0x1db)]===0x0){this['_requestState$']['next']({'error':{'code':l[_0x3e8184(0x155)]['UNRECOGNIZED'],'message':_0x3e8184(0x16d)},'state':0x4});return;}return this[_0x3e8184(0x21f)][_0x3e8184(0x15a)]({'error':_0x85a95d[_0x3e8184(0xfb)],'state':0x4}),_0x12a178;}[_0x43367a(0x12b)](){const _0x27897f=_0x43367a;var _0xec8e4c;let _0x4e3d0a=this['_configService']['getConfig'](f);return(_0xec8e4c=_0x4e3d0a==null?void 0x0:_0x4e3d0a[_0x27897f(0x12a)])==null?location[_0x27897f(0x124)]:_0xec8e4c;}[_0x43367a(0xfc)](){const _0x25639f=_0x43367a;var _0x2ae937,_0x2b6e3f;let _0x2838d5=this[_0x25639f(0x203)][_0x25639f(0x22e)](f);return(_0x2ae937=_0x2838d5==null||(_0x2b6e3f=_0x2838d5[_0x25639f(0x1b5)])==null?void 0x0:_0x2b6e3f[_0x25639f(0x135)])==null?0x1:_0x2ae937;}[_0x43367a(0x11c)](){const _0x631ae=_0x43367a;var _0x857a48,_0x6a1756;let _0x4552cf=this['_configService'][_0x631ae(0x22e)](f);return(_0x857a48=_0x4552cf==null||(_0x6a1756=_0x4552cf[_0x631ae(0x1b5)])==null?void 0x0:_0x6a1756['minSheetColumnCount'])==null?0x1:_0x857a48;}[_0x43367a(0x221)](){const _0x577d05=_0x43367a;var _0x83f9fe,_0x4dabe1;let _0x2d2c97=this[_0x577d05(0x203)][_0x577d05(0x22e)](f);return(_0x83f9fe=_0x2d2c97==null||(_0x4dabe1=_0x2d2c97[_0x577d05(0x1b5)])==null?void 0x0:_0x4dabe1[_0x577d05(0xeb)])==null?!0x1:_0x83f9fe;}[_0x43367a(0x1b8)](){const _0x4e8b36=_0x43367a;var _0x1762b9,_0x479d77;let _0x810b0e=this['_configService'][_0x4e8b36(0x22e)](f);return(_0x1762b9=_0x810b0e==null||(_0x479d77=_0x810b0e[_0x4e8b36(0x1b5)])==null?void 0x0:_0x479d77[_0x4e8b36(0x119)])==null?!0x0:_0x1762b9;}[_0x43367a(0x138)](){const _0x43d21c=_0x43367a;var _0x511a77,_0xf4c50;let _0x3dc4db=this[_0x43d21c(0x203)][_0x43d21c(0x22e)](f);return(_0x511a77=_0x3dc4db==null||(_0xf4c50=_0x3dc4db[_0x43d21c(0x1b5)])==null?void 0x0:_0xf4c50[_0x43d21c(0x1bb)])==null?!0x1:_0x511a77;}};K=P([N(0x0,t[_0x43367a(0xd8)]),N(0x1,(0x0,t[_0x43367a(0x146)])(n[_0x43367a(0x139)])),N(0x2,(0x0,t['Inject'])(F))],K);const pe={'done':0x0,'count':0x0},q=(0x0,t[_0x43367a(0x1e8)])('univer-pro.exchange-client.operate.service');let J=class extends t[_0x43367a(0x1b9)]{constructor(_0xde15e5,_0x1db837,_0x3de658,_0x9ff9e6,_0x7d0287,_0x5673af,_0x1c1d36){const _0x577b02=_0x43367a;super(),this[_0x577b02(0x11b)]=_0xde15e5,this[_0x577b02(0x1bd)]=_0x1db837,this[_0x577b02(0xc7)]=_0x3de658,this['_exchangeService']=_0x9ff9e6,this['_uploadNotificationService']=_0x7d0287,this[_0x577b02(0x106)]=_0x5673af,this[_0x577b02(0x211)]=_0x1c1d36,g(this,_0x577b02(0x194),new o[(_0x577b02(0x1fe))](pe)),g(this,_0x577b02(0x1f3),this[_0x577b02(0x194)][_0x577b02(0x15b)]()),g(this,_0x577b02(0x13b),0x0),g(this,_0x577b02(0x108),0x0),this[_0x577b02(0x1b2)]((0x0,t['toDisposable'])(this[_0x577b02(0x1de)][_0x577b02(0x1a3)]['subscribe'](_0x5730b7=>{const _0x19f47a=_0x577b02;var _0x5b2b53;((_0x5b2b53=_0x5730b7[_0x19f47a(0xfb)])==null?void 0x0:_0x5b2b53[_0x19f47a(0xfa)])===l[_0x19f47a(0x155)]['OK']?this['_addDoneTask'](0x1):this[_0x19f47a(0x10f)](_0x5730b7[_0x19f47a(0xfb)]);})));}['interrupt'](){const _0x17ca69=_0x43367a;this['_clearProgress'](),this['_uploadNotificationService'][_0x17ca69(0x147)](0x2),this[_0x17ca69(0x1de)][_0x17ca69(0x104)]();}async[_0x43367a(0xdf)](_0xb37546){throw Error('Method\x20not\x20implemented.');}async[_0x43367a(0xf7)](){const _0x1b8731=_0x43367a;let _0x64132a=this[_0x1b8731(0x11b)][_0x1b8731(0x1d3)]();switch(_0x64132a?this['_univerInstanceService'][_0x1b8731(0x235)](_0x64132a[_0x1b8731(0x1bc)]()):t['UniverInstanceType']['UNRECOGNIZED']){case t['UniverInstanceType'][_0x1b8731(0x13e)]:return this[_0x1b8731(0xd4)]();case t[_0x1b8731(0xb3)]['UNIVER_DOC']:return this['importDOCXToUnitId']();case t['UniverInstanceType'][_0x1b8731(0xf6)]:default:return this[_0x1b8731(0x100)]();}}async[_0x43367a(0x1c3)](){const _0x44d25b=_0x43367a;let _0x3e7622=await k([t['UniverInstanceType']['UNIVER_DOC']]);if(_0x3e7622&&!this[_0x44d25b(0xf9)](_0x3e7622,t[_0x44d25b(0xb3)]['UNIVER_DOC']))return this[_0x44d25b(0xf5)](_0x3e7622[0x0],t[_0x44d25b(0xb3)][_0x44d25b(0x1a5)]);}[_0x43367a(0x165)](){const _0x1ee150=_0x43367a;throw Error(_0x1ee150(0x222));}async[_0x43367a(0xe6)](_0x35849f,_0x1332b9,_0x5f6603){const _0x4d7a3e=_0x43367a;this[_0x4d7a3e(0x214)](s[_0x4d7a3e(0x160)][_0x4d7a3e(0xbd)]);let _0x3dd003=await this['_exchangeService'][_0x4d7a3e(0xe6)](_0x35849f||this[_0x4d7a3e(0x142)]());_0x3dd003&&(E(_0x3dd003,_0x1332b9||this[_0x4d7a3e(0x20b)](_0x3dd003),_0x4d7a3e(0x15f)),this[_0x4d7a3e(0x214)](s[_0x4d7a3e(0x160)][_0x4d7a3e(0x1e6)]));}async[_0x43367a(0x178)](){const _0x48a829=_0x43367a;this[_0x48a829(0x214)](s[_0x48a829(0x160)]['Info']);let _0x67d366=await this[_0x48a829(0xac)](),_0x189ea2=await this[_0x48a829(0x1de)][_0x48a829(0x178)](_0x67d366);_0x189ea2&&(E(_0x189ea2,this[_0x48a829(0x20b)](_0x189ea2),'docx'),this[_0x48a829(0x214)](s[_0x48a829(0x160)]['Success']));}async['importPPTXToUnitId'](){const _0x3c2dd6=_0x43367a;if(this[_0x3c2dd6(0xca)]()){this['_messageService'][_0x3c2dd6(0x1ed)]({'type':s[_0x3c2dd6(0x160)]['Warning'],'content':this[_0x3c2dd6(0xc7)]['t'](_0x3c2dd6(0x10b))});return;}let _0x5b8073=await k([t[_0x3c2dd6(0xb3)][_0x3c2dd6(0x13e)]]);if(_0x5b8073&&!this['_fileTypeError'](_0x5b8073,t[_0x3c2dd6(0xb3)][_0x3c2dd6(0x13e)]))return this[_0x3c2dd6(0xf5)](_0x5b8073[0x0],t[_0x3c2dd6(0xb3)]['UNIVER_SLIDE']);}async['importPPTXToSnapshot'](){const _0x188f49=_0x43367a;if(this[_0x188f49(0xca)]()){this[_0x188f49(0x1bd)][_0x188f49(0x1ed)]({'type':s[_0x188f49(0x160)][_0x188f49(0xda)],'content':this['_localeService']['t']('exchange-client.uploading')});return;}let _0x4eaf3f=await k([t[_0x188f49(0xb3)][_0x188f49(0x13e)]]);if(!_0x4eaf3f)return;this['_showUploadMessage'](s['MessageType']['Info']);let _0x45925e=await this[_0x188f49(0x1de)]['importPPTXToSnapshot'](_0x4eaf3f[0x0]);_0x45925e&&(this[_0x188f49(0x11d)](_0x45925e),this['_showUploadMessage'](s[_0x188f49(0x160)]['Success']));}async[_0x43367a(0x1b6)](_0x1fd829,_0x13cbd7,_0x342737){const _0xcbcd71=_0x43367a;this[_0xcbcd71(0x214)](s['MessageType']['Info']);let _0x1dd8eb=await this[_0xcbcd71(0x1de)][_0xcbcd71(0x1b6)](_0x1fd829||this[_0xcbcd71(0x22b)]());_0x1dd8eb&&(E(_0x1dd8eb,_0x13cbd7||this[_0xcbcd71(0x129)](_0x1dd8eb,_0x342737==null?t['UniverInstanceType'][_0xcbcd71(0x13e)]:_0x342737),_0xcbcd71(0x183)),this['_showDownloadMessage'](s[_0xcbcd71(0x160)][_0xcbcd71(0x1e6)]));}async[_0x43367a(0x11e)](){const _0x416041=_0x43367a;this[_0x416041(0x214)](s[_0x416041(0x160)][_0x416041(0xbd)]);let _0x553941=await this['_getUnitSlideJson'](),_0x51d31e=await this[_0x416041(0x1de)][_0x416041(0x11e)](_0x553941);_0x51d31e&&(E(_0x51d31e,this['_getUnitNameByType'](_0x51d31e,t[_0x416041(0xb3)][_0x416041(0x13e)]),_0x416041(0x183)),this[_0x416041(0x214)](s[_0x416041(0x160)][_0x416041(0x1e6)]));}async['importXLSXToUnitId'](){const _0x1685d5=_0x43367a;if(this[_0x1685d5(0xca)]()){this['_messageService'][_0x1685d5(0x1ed)]({'type':s[_0x1685d5(0x160)][_0x1685d5(0xda)],'content':this[_0x1685d5(0xc7)]['t'](_0x1685d5(0x10b))});return;}let _0x17c306=await k([t['UniverInstanceType'][_0x1685d5(0xf6)]]);if(_0x17c306&&!this[_0x1685d5(0xf9)](_0x17c306,t[_0x1685d5(0xb3)][_0x1685d5(0xf6)]))return this[_0x1685d5(0xf5)](_0x17c306[0x0],t[_0x1685d5(0xb3)]['UNIVER_SHEET']);}async[_0x43367a(0x148)](){const _0x18b570=_0x43367a;if(this[_0x18b570(0xca)]()){this['_messageService'][_0x18b570(0x1ed)]({'type':s['MessageType'][_0x18b570(0xda)],'content':this['_localeService']['t'](_0x18b570(0x10b))});return;}let _0x16070c=await k([t[_0x18b570(0xb3)][_0x18b570(0xf6)]]);if(!_0x16070c)return;this['_showUploadMessage'](s[_0x18b570(0x160)][_0x18b570(0xbd)]);let _0x5e0eae=await this[_0x18b570(0x1de)][_0x18b570(0x148)](_0x16070c[0x0]);_0x5e0eae&&(this[_0x18b570(0x166)](_0x5e0eae),this[_0x18b570(0x190)](s[_0x18b570(0x160)][_0x18b570(0x1e6)]));}async[_0x43367a(0x22f)](_0x296e84,_0x313eae,_0x44edfa){const _0xf979d5=_0x43367a;this['_showDownloadMessage'](s['MessageType']['Info']);let _0x45784f=await this[_0xf979d5(0x1de)][_0xf979d5(0x22f)](_0x296e84||this['_getUnitID']());_0x45784f&&(E(_0x45784f,_0x313eae||this[_0xf979d5(0x20b)](_0x45784f),'xlsx'),this[_0xf979d5(0x214)](s[_0xf979d5(0x160)][_0xf979d5(0x1e6)]));}async[_0x43367a(0x1d9)](){const _0x5b22c4=_0x43367a;this['_showDownloadMessage'](s[_0x5b22c4(0x160)][_0x5b22c4(0xbd)]);let _0x2fdfcc=await this[_0x5b22c4(0x107)](),_0x53d3cb=await this[_0x5b22c4(0x1de)][_0x5b22c4(0x1d9)](_0x2fdfcc);_0x53d3cb&&(E(_0x53d3cb,this[_0x5b22c4(0x20b)](_0x53d3cb),_0x5b22c4(0x152)),this[_0x5b22c4(0x214)](s[_0x5b22c4(0x160)]['Success']));}['registerLink'](_0x69ad1e){this['_getLinkByUnitId']=_0x69ad1e;}async[_0x43367a(0xf5)](_0x43fe3f,_0x377ed3){const _0x8b0c84=_0x43367a;this[_0x8b0c84(0xdc)][_0x8b0c84(0x1ed)](),this[_0x8b0c84(0xdc)][_0x8b0c84(0x147)](0x0),this[_0x8b0c84(0x19b)](0x4),this[_0x8b0c84(0x1bf)](0x1);let _0x29bb3c=await this[_0x8b0c84(0x1de)][_0x8b0c84(0x163)](_0x43fe3f,_0x377ed3);if(!_0x29bb3c){this[_0x8b0c84(0x1b7)](),this[_0x8b0c84(0xdc)][_0x8b0c84(0x147)](0x2);return;}let _0x4a356b={'link':this[_0x8b0c84(0x16e)](_0x29bb3c,_0x377ed3),'name':_0x43fe3f[_0x8b0c84(0x14f)],'type':_0x377ed3};return this['_uploadNotificationService'][_0x8b0c84(0x191)](_0x4a356b),this[_0x8b0c84(0x1e0)](),this[_0x8b0c84(0xdc)][_0x8b0c84(0x147)](0x1),_0x29bb3c;}[_0x43367a(0x123)](){const _0x340a26=_0x43367a;return this[_0x340a26(0x11b)][_0x340a26(0x12f)](t[_0x340a26(0xb3)][_0x340a26(0xf6)])[_0x340a26(0x1bc)]();}[_0x43367a(0x142)](){const _0xa51804=_0x43367a;return this[_0xa51804(0x11b)]['getCurrentUnitOfType'](t[_0xa51804(0xb3)][_0xa51804(0x1a5)])[_0xa51804(0x1bc)]();}['_getUnitIDSlide'](){const _0x471def=_0x43367a;return this[_0x471def(0x11b)]['getCurrentUnitOfType'](t[_0x471def(0xb3)][_0x471def(0x13e)])[_0x471def(0x1bc)]();}[_0x43367a(0x20b)](_0x412c6c){const _0x1e0bce=_0x43367a;return this['_getUnitNameByType'](_0x412c6c,t[_0x1e0bce(0xb3)][_0x1e0bce(0xf6)]);}[_0x43367a(0x129)](_0x3fa9ca,_0x11cbce){const _0x573bb0=_0x43367a;var _0x3f7e5b;let _0x7d1f5a=(_0x3f7e5b=this[_0x573bb0(0x11b)]['getCurrentUnitOfType'](_0x11cbce))==null?void 0x0:_0x3f7e5b[_0x573bb0(0x143)](),_0x5e6a80=_0x7d1f5a==null?void 0x0:_0x7d1f5a[_0x573bb0(0x14f)];return typeof _0x5e6a80=='string'&&_0x5e6a80[_0x573bb0(0x176)]()?_0x5e6a80:_0x3fa9ca[_0x573bb0(0x14f)][_0x573bb0(0x167)]('.')[_0x573bb0(0xd2)]()||document['title'];}async[_0x43367a(0x107)](){const _0x1961ce=_0x43367a;return this[_0x1961ce(0x11b)]['getCurrentUnitOfType'](t[_0x1961ce(0xb3)][_0x1961ce(0xf6)])[_0x1961ce(0x143)]();}async['_getUnitDocJson'](){const _0x48e435=_0x43367a;return this[_0x48e435(0x11b)][_0x48e435(0x12f)](t[_0x48e435(0xb3)][_0x48e435(0x1a5)])[_0x48e435(0x143)]();}async[_0x43367a(0xee)](){const _0x12fd10=_0x43367a;let _0x26c7fe=this['_univerInstanceService'][_0x12fd10(0x12f)](t[_0x12fd10(0xb3)][_0x12fd10(0x13e)]),_0x360a76=this[_0x12fd10(0x211)]['saveUnit'](_0x26c7fe[_0x12fd10(0x1bc)]());return _0x360a76==null?_0x26c7fe[_0x12fd10(0x143)]():_0x360a76;}[_0x43367a(0x16e)](_0x11399d,_0x5ea015){const _0x207c46=_0x43367a;let _0x364b11=new URL(window[_0x207c46(0x105)]['href']);return _0x364b11[_0x207c46(0x18b)]['set'](_0x207c46(0x18f),_0x11399d),_0x364b11[_0x207c46(0x18b)]['set'](_0x207c46(0x21c),''+_0x5ea015),_0x364b11['toString']();}[_0x43367a(0x166)](_0x1dd07b){const _0x297a24=_0x43367a;let _0x5b333e=this['_univerInstanceService'][_0x297a24(0x12f)](t[_0x297a24(0xb3)][_0x297a24(0xf6)])['getUnitId']();this[_0x297a24(0x11b)][_0x297a24(0x1c6)](_0x5b333e),this[_0x297a24(0x11b)][_0x297a24(0x172)](t[_0x297a24(0xb3)][_0x297a24(0xf6)],_0x1dd07b);}[_0x43367a(0x11d)](_0x3a5a84){const _0x394584=_0x43367a;let _0x42ca90=this[_0x394584(0x11b)][_0x394584(0x12f)](t[_0x394584(0xb3)][_0x394584(0x13e)])['getUnitId']();this['_univerInstanceService'][_0x394584(0x1c6)](_0x42ca90),this['_univerInstanceService'][_0x394584(0x172)](t[_0x394584(0xb3)][_0x394584(0x13e)],_0x3a5a84);}[_0x43367a(0x10f)](_0x4b04a4){const _0x165fb7=_0x43367a;if(_0x4b04a4){let {code:_0x51692a}=_0x4b04a4;switch(_0x51692a){case l[_0x165fb7(0x155)][_0x165fb7(0x1be)]:this[_0x165fb7(0x1bd)][_0x165fb7(0x1ed)]({'type':s[_0x165fb7(0x160)]['Error'],'content':this['_localeService']['t'](_0x165fb7(0xf4))});break;case l[_0x165fb7(0x155)]['INTERNAL_ERROR']:this[_0x165fb7(0x1bd)][_0x165fb7(0x1ed)]({'type':s['MessageType']['Error'],'content':this['_localeService']['t'](_0x165fb7(0xb2))});break;default:this[_0x165fb7(0x1bd)]['show']({'type':s[_0x165fb7(0x160)]['Error'],'content':this[_0x165fb7(0xc7)]['t'](_0x165fb7(0x21e))});break;}return null;}return this[_0x165fb7(0x1bd)]['show']({'type':s[_0x165fb7(0x160)]['Error'],'content':this[_0x165fb7(0xc7)]['t']('exchange-client.networkError')}),null;}[_0x43367a(0x214)](_0x382003){const _0x3409b6=_0x43367a;let _0x3582f7='';switch(_0x382003){case s[_0x3409b6(0x160)]['Success']:_0x3582f7=this[_0x3409b6(0xc7)]['t'](_0x3409b6(0x226));break;case s[_0x3409b6(0x160)]['Info']:_0x3582f7=this['_localeService']['t']('exchange-client.downloading');break;default:break;}this[_0x3409b6(0x1bd)][_0x3409b6(0x1ed)]({'type':_0x382003,'content':_0x3582f7});}[_0x43367a(0x190)](_0xf7cfb4){const _0x39a4f5=_0x43367a;let _0xf387d4='';switch(_0xf7cfb4){case s[_0x39a4f5(0x160)][_0x39a4f5(0x1e6)]:_0xf387d4=this[_0x39a4f5(0xc7)]['t'](_0x39a4f5(0x111));break;case s[_0x39a4f5(0x160)][_0x39a4f5(0xbd)]:_0xf387d4=this['_localeService']['t']('exchange-client.uploading');break;default:break;}this[_0x39a4f5(0x1bd)]['show']({'type':_0xf7cfb4,'content':_0xf387d4});}[_0x43367a(0x1fc)](){const _0x38a15d=_0x43367a;this[_0x38a15d(0x194)][_0x38a15d(0x15a)]({'done':this['_doneUploadTaskCount'],'count':this[_0x38a15d(0x13b)]});}[_0x43367a(0x19b)](_0x5d07e7){const _0x2fe832=_0x43367a;this[_0x2fe832(0x13b)]+=_0x5d07e7,this[_0x2fe832(0x1fc)]();}['_addDoneTask'](_0x9d0686){const _0x237a98=_0x43367a;this['_doneUploadTaskCount']+=_0x9d0686,this[_0x237a98(0x108)]=Math[_0x237a98(0x122)](this[_0x237a98(0x108)],this['_totalUploadTaskCount']),this[_0x237a98(0x1fc)]();}[_0x43367a(0x1e0)](){const _0x261e55=_0x43367a;this[_0x261e55(0x108)]=this[_0x261e55(0x13b)],this[_0x261e55(0x1fc)]();}['_clearProgress'](){const _0x5009a9=_0x43367a;this[_0x5009a9(0x108)]=0x0,this['_totalUploadTaskCount']=0x0,this['_emitProgress']();}['_fileTypeError'](_0x3717c6,_0x7d8865){const _0x14c498=_0x43367a;let _0x4282f5=_0x3717c6[0x0],_0x3dbb8a=_0x4282f5['name'];return D(_0x4282f5)===_0x7d8865?!0x1:(this[_0x14c498(0x1bd)]['show']({'type':s[_0x14c498(0x160)][_0x14c498(0x1d6)],'content':this['_localeService']['t'](_0x14c498(0x17e),_0x3dbb8a)}),!0x0);}[_0x43367a(0xca)](){const _0x470a96=_0x43367a;return this['_totalUploadTaskCount']!==0x0&&this['_doneUploadTaskCount']!==this[_0x470a96(0x13b)];}};J=P([N(0x0,(0x0,t[_0x43367a(0x146)])(t[_0x43367a(0xc2)])),N(0x1,i['IMessageService']),N(0x2,(0x0,t['Inject'])(t[_0x43367a(0x1ee)])),N(0x3,(0x0,t['Inject'])(G)),N(0x4,(0x0,t[_0x43367a(0x146)])(_)),N(0x5,t['ILogService']),N(0x6,(0x0,t[_0x43367a(0x146)])(t[_0x43367a(0x17c)]))],J);function _0x1cc0(_0x3aeaa2,_0x24ff54){_0x3aeaa2=_0x3aeaa2-0xa3;const _0x15ca9f=_0x15ca();let _0x1cc0fa=_0x15ca9f[_0x3aeaa2];return _0x1cc0fa;}function Y(_0x3ede31){const _0x4a3ad3=_0x43367a;let {onClick:_0x157fb0,children:_0x3f2727,className:_0x52aef4}=_0x3ede31;return(0x0,c[_0x4a3ad3(0x127)])(_0x4a3ad3(0x227),{'className':(0x0,s['clsx'])(_0x4a3ad3(0x117),_0x52aef4),'type':_0x4a3ad3(0x227),'onClick':_0x157fb0,'children':_0x3f2727});}function X(){const _0x2883b3=_0x43367a;let _0x4a5e15=(0x0,i[_0x2883b3(0x19e)])(q),_0x31d013=(0x0,i[_0x2883b3(0x19e)])(t[_0x2883b3(0x1ee)]);function _0x41431a(){const _0x330c5c=_0x2883b3;_0x4a5e15[_0x330c5c(0xf7)]();}return(0x0,c[_0x2883b3(0x127)])(Y,{'onClick':_0x41431a,'children':_0x31d013['t']('exchange-client.uploadAgain')});}function me(){const _0x1300ee=_0x43367a;return(0x0,c[_0x1300ee(0xe9)])(_0x1300ee(0xed),{'className':_0x1300ee(0x121),'children':[(0x0,c['jsx'])(_0x1300ee(0x14d),{'className':_0x1300ee(0xc8),'children':(0x0,i[_0x1300ee(0x19e)])(t[_0x1300ee(0x1ee)])['t'](_0x1300ee(0x171))}),(0x0,c[_0x1300ee(0x127)])(X,{})]});}function he(_0x3ac68){const _0x140990=_0x43367a;let {count:_0x1dcb09}=_0x3ac68;return(0x0,c[_0x140990(0xe9)])('div',{'className':'univer-mt-3\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-2\x20univer-pr-1','children':[(0x0,c[_0x140990(0x127)])(_0x140990(0x14d),{'className':_0x140990(0xb4),'children':(0x0,i[_0x140990(0x19e)])(t[_0x140990(0x1ee)])['t'](_0x140990(0x1a2),''+_0x1dcb09)}),(0x0,c[_0x140990(0x127)])(X,{})]});}function ge(){const _0x7b561e=_0x43367a;let _0x34e56c=(0x0,i[_0x7b561e(0x19e)])(q),_0xb52380=(0x0,i[_0x7b561e(0x19e)])(t['LocaleService']);function _0x155035(){const _0x22c8b8=_0x7b561e;_0x34e56c[_0x22c8b8(0x140)]();}return(0x0,c[_0x7b561e(0x127)])(Y,{'onClick':_0x155035,'children':_0xb52380['t']('exchange-client.cancel')});}function _e(){const _0x4058a0=_0x43367a;let {count:_0x52ba0a,done:_0x20e023}=(0x0,i['useObservable'])((0x0,i['useDependency'])(q)[_0x4058a0(0x1f3)]),[_0x376b2d,_0x222c9b]=(0x0,a[_0x4058a0(0x15e)])(_0x52ba0a>0x0?_0x20e023/_0x52ba0a:0x0);return(0x0,a[_0x4058a0(0x110)])(()=>{_0x222c9b(_0x52ba0a>0x0?_0x20e023/_0x52ba0a:0x0);},[_0x52ba0a,_0x20e023]),(0x0,c[_0x4058a0(0x127)])(_0x4058a0(0xed),{'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[_0x4058a0(0x127)])(_0x4058a0(0xed),{'className':_0x4058a0(0xdd),'style':{'width':Math[_0x4058a0(0x1b0)](_0x376b2d*0x64)+'%'}})});}function ve(){const _0x171470=_0x43367a;return(0x0,c[_0x171470(0xe9)])(_0x171470(0xed),{'className':'univer-mt-5\x20univer-flex\x20univer-flex-col','children':[(0x0,c[_0x171470(0x127)])(_0x171470(0x14d),{'className':'univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','children':(0x0,i[_0x171470(0x19e)])(t[_0x171470(0x1ee)])['t'](_0x171470(0xa8))}),(0x0,c[_0x171470(0x127)])(_0x171470(0xed),{'className':'univer-pl-2\x20univer-pr-4','children':(0x0,c['jsx'])(_e,{})}),(0x0,c[_0x171470(0x127)])(ge,{})]});}const ye={0x1:(0x0,c['jsx'])(r[_0x43367a(0x133)],{'className':_0x43367a(0x1a9)}),0x0:(0x0,c['jsx'])(r[_0x43367a(0x156)],{'className':_0x43367a(0x195)}),0x2:(0x0,c[_0x43367a(0x127)])(r['ErrorIcon'],{'className':_0x43367a(0xef)})};function be(){const _0x4820d3=_0x43367a;let [_0x594709,_0x573b08]=(0x0,a[_0x4820d3(0x15e)])(0x0),[_0xe1f153,_0x4f55af]=(0x0,a[_0x4820d3(0x15e)])(!0x1),[_0x14a19c,_0x19f179]=(0x0,a[_0x4820d3(0x15e)])([]),_0x3a723f=(0x0,i[_0x4820d3(0x19e)])(_),_0x168787=(0x0,i[_0x4820d3(0x19e)])(t['LocaleService']);(0x0,a[_0x4820d3(0x110)])(()=>{const _0x1aca5a=_0x4820d3;let _0x5d8f06=_0x3a723f[_0x1aca5a(0x207)][_0x1aca5a(0x1f4)](_0x526de8=>{_0x4f55af(_0x526de8);}),_0x44052e=_0x3a723f[_0x1aca5a(0x17b)]['subscribe'](_0x473006=>{_0x19f179(_0x473006);}),_0x380bc1=_0x3a723f[_0x1aca5a(0x10a)][_0x1aca5a(0x1f4)](_0x4ba701=>{_0x573b08(_0x4ba701);});return()=>{const _0x54213b=_0x1aca5a;_0x5d8f06[_0x54213b(0x1ec)](),_0x44052e[_0x54213b(0x1ec)](),_0x380bc1[_0x54213b(0x1ec)]();};},[]);function _0x2ad5af(){_0x4f55af(!0x1);}function _0x2bbba2(_0x363582){const _0x14d56e=_0x4820d3;switch(_0x363582){case 0x1:return _0x168787['t']('exchange-client.uploadSuccess');case 0x0:return _0x168787['t'](_0x14d56e(0x10b));case 0x2:return _0x168787['t'](_0x14d56e(0xaf));default:return'';}}return _0xe1f153&&(0x0,c[_0x4820d3(0xe9)])('div',{'className':'univer-fixed\x20univer-bottom-12\x20univer-right-3\x20univer-z-[1000]\x20univer-box-border\x20univer-flex\x20univer-w-[372px]\x20univer-flex-col\x20univer-rounded-md\x20univer-bg-white\x20univer-px-3\x20univer-pb-4\x20univer-pt-5\x20univer-shadow-md','children':[(0x0,c[_0x4820d3(0xe9)])('div',{'className':_0x4820d3(0x1c9),'children':[(0x0,c[_0x4820d3(0xe9)])(_0x4820d3(0x14d),{'className':'univer-flex','children':[(0x0,c[_0x4820d3(0x127)])(_0x4820d3(0x14d),{'className':'univer-h-6\x20univer-text-2xl','children':ye[_0x594709]}),(0x0,c[_0x4820d3(0x127)])('span',{'className':_0x4820d3(0xa5),'children':_0x2bbba2(_0x594709)})]}),(0x0,c[_0x4820d3(0x127)])(_0x4820d3(0x14d),{'className':_0x4820d3(0x218),'onClick':_0x2ad5af,'children':(0x0,c[_0x4820d3(0x127)])(r['CloseIcon'],{})})]}),(0x0,c[_0x4820d3(0xe9)])(_0x4820d3(0xed),{'children':[_0x594709===0x0&&(0x0,c[_0x4820d3(0x127)])(ve,{}),_0x594709===0x2&&(0x0,c[_0x4820d3(0x127)])(me,{}),_0x14a19c[_0x4820d3(0x1db)]>0x0&&(0x0,c[_0x4820d3(0x127)])(ie,{'list':_0x14a19c}),_0x594709===0x1&&(0x0,c['jsx'])(he,{'count':_0x14a19c[_0x4820d3(0x1db)]})]})]});}function Z(){const _0x581f44=_0x43367a;return(0x0,c[_0x581f44(0x127)])(be,{});}let Q=class extends t[_0x43367a(0x1b9)]{constructor(_0x251dc3,_0x55dbca,_0x1a50ee){const _0xc9295f=_0x43367a;super(),this[_0xc9295f(0x1d0)]=_0x251dc3,this[_0xc9295f(0x114)]=_0x55dbca,this['_iconManager']=_0x1a50ee,this[_0xc9295f(0x1af)](),this[_0xc9295f(0x204)]();}[_0x43367a(0x1af)](){const _0x25da3d=_0x43367a;this[_0x25da3d(0x1b2)](this[_0x25da3d(0x1eb)][_0x25da3d(0x154)]({'DirectExportIcon':r[_0x25da3d(0xf1)]}));}[_0x43367a(0x204)](){const _0x4ba47a=_0x43367a;this[_0x4ba47a(0x1b2)](this[_0x4ba47a(0x114)][_0x4ba47a(0x16c)](i[_0x4ba47a(0x1ff)][_0x4ba47a(0x132)],()=>(0x0,i[_0x4ba47a(0x1ad)])(Z,this[_0x4ba47a(0x1d0)])));}};Q=P([N(0x0,(0x0,t[_0x43367a(0x146)])(t[_0x43367a(0x210)])),N(0x1,i[_0x43367a(0xc9)]),N(0x2,(0x0,t[_0x43367a(0x146)])(i[_0x43367a(0x102)]))],Q);let $=class extends t[_0x43367a(0x20f)]{constructor(_0x2e2b07=p,_0x5334ca,_0x294f75){const _0x5975ac=_0x43367a;super(),this[_0x5975ac(0x1a4)]=_0x2e2b07,this['_injector']=_0x5334ca,this['_configService']=_0x294f75;let {..._0x2367b9}=(0x0,t[_0x5975ac(0x1cc)])({},p,this[_0x5975ac(0x1a4)]);this[_0x5975ac(0x203)]['setConfig'](f,_0x2367b9);}[_0x43367a(0x17a)](){const _0x52a13c=_0x43367a;(0x0,t[_0x52a13c(0x179)])(this[_0x52a13c(0x1d0)],[[Q],[q,{'useClass':J}],[G,{'useClass':K}],[F,{'useClass':I}],[_,{'useClass':v}]]);}[_0x43367a(0xa6)](){const _0x5c4ae0=_0x43367a;(0x0,t[_0x5c4ae0(0x1b4)])(this[_0x5c4ae0(0x1d0)],[[Q],[q]]);}};g($,_0x43367a(0x1f7),_0x43367a(0x220)),g($,'packageName',m),g($,'version',ee),$=P([(0x0,t[_0x43367a(0x16b)])(n[_0x43367a(0x149)],e[_0x43367a(0x1ce)]),N(0x1,(0x0,t[_0x43367a(0x146)])(t[_0x43367a(0x210)])),N(0x2,t[_0x43367a(0xd8)])],$),exports[_0x43367a(0x1ca)]=f,Object[_0x43367a(0x1ea)](exports,'ExchangeOperateService',{'enumerable':!0x0,'get':function(){return J;}}),Object[_0x43367a(0x1ea)](exports,_0x43367a(0xd3),{'enumerable':!0x0,'get':function(){return K;}}),exports['IExchangeOperateService']=q,exports['IExchangeService']=G,exports[_0x43367a(0x18d)]=F,exports[_0x43367a(0xe2)]=_,Object[_0x43367a(0x1ea)](exports,_0x43367a(0xa3),{'enumerable':!0x0,'get':function(){return I;}}),Object[_0x43367a(0x1ea)](exports,_0x43367a(0x22a),{'enumerable':!0x0,'get':function(){return $;}}),exports['UploadNotificationContainer']=Z,exports[_0x43367a(0x12c)]=v,exports[_0x43367a(0x196)]=re,exports['downloadFile']=E,exports[_0x43367a(0xc6)]=D,exports[_0x43367a(0x173)]=k,exports[_0x43367a(0x17d)]=z,exports[_0x43367a(0x1cf)]=B,exports['transformSnapshotJsonToDocumentData']=H,exports[_0x43367a(0x151)]=U,exports[_0x43367a(0x161)]=V,exports[_0x43367a(0xb1)]=R;
|
|
1
|
+
const _0x33cc6a=_0x4275;(function(_0x4917a3,_0x26c96f){const _0x4c5dbb=_0x4275,_0x3de8db=_0x4917a3();while(!![]){try{const _0x129078=parseInt(_0x4c5dbb(0x1f5))/0x1+parseInt(_0x4c5dbb(0x1ef))/0x2+parseInt(_0x4c5dbb(0x285))/0x3+parseInt(_0x4c5dbb(0x368))/0x4+parseInt(_0x4c5dbb(0x346))/0x5*(-parseInt(_0x4c5dbb(0x29c))/0x6)+parseInt(_0x4c5dbb(0x281))/0x7+-parseInt(_0x4c5dbb(0x1e9))/0x8*(parseInt(_0x4c5dbb(0x2ef))/0x9);if(_0x129078===_0x26c96f)break;else _0x3de8db['push'](_0x3de8db['shift']());}catch(_0x371e44){_0x3de8db['push'](_0x3de8db['shift']());}}}(_0x5a10,0xb4734),Object['defineProperty'](exports,Symbol[_0x33cc6a(0x287)],{'value':_0x33cc6a(0x339)}));let e=require('@univerjs-pro/license'),t=require('@univerjs/core'),n=require('@univerjs/network'),r=require('@univerjs/icons'),i=require('@univerjs/ui'),a=require('react'),o=require('rxjs'),s=require('@univerjs/design'),c=require('react/jsx-runtime'),l=require('@univerjs/protocol'),u=require('@univerjs-pro/collaboration'),d=require('fflate');const f=_0x33cc6a(0x1e6),p={};var m=_0x33cc6a(0x2af),ee=_0x33cc6a(0x2e7);function h(_0x16d662){'@babel/helpers - typeof';const _0x56cf7f=_0x33cc6a;return h=typeof Symbol==_0x56cf7f(0x36f)&&typeof Symbol[_0x56cf7f(0x2e8)]==_0x56cf7f(0x22a)?function(_0x550af1){return typeof _0x550af1;}:function(_0x543c10){const _0x4ff5d5=_0x56cf7f;return _0x543c10&&typeof Symbol=='function'&&_0x543c10[_0x4ff5d5(0x1f6)]===Symbol&&_0x543c10!==Symbol[_0x4ff5d5(0x2a2)]?'symbol':typeof _0x543c10;},h(_0x16d662);}function te(_0x54b65b,_0x437c3b){const _0x26c9f1=_0x33cc6a;if(h(_0x54b65b)!=_0x26c9f1(0x248)||!_0x54b65b)return _0x54b65b;var _0x305f51=_0x54b65b[Symbol['toPrimitive']];if(_0x305f51!==void 0x0){var _0x47c873=_0x305f51['call'](_0x54b65b,_0x437c3b||_0x26c9f1(0x355));if(h(_0x47c873)!=_0x26c9f1(0x248))return _0x47c873;throw TypeError(_0x26c9f1(0x262));}return(_0x437c3b===_0x26c9f1(0x282)?String:Number)(_0x54b65b);}function ne(_0x53f632){const _0x43d807=_0x33cc6a;var _0x5788f9=te(_0x53f632,_0x43d807(0x282));return h(_0x5788f9)=='symbol'?_0x5788f9:_0x5788f9+'';}function g(_0x1eea7c,_0x2f5b1c,_0x39a3d3){const _0x108606=_0x33cc6a;return(_0x2f5b1c=ne(_0x2f5b1c))in _0x1eea7c?Object[_0x108606(0x26e)](_0x1eea7c,_0x2f5b1c,{'value':_0x39a3d3,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1eea7c[_0x2f5b1c]=_0x39a3d3,_0x1eea7c;}let re=function(_0x39a38f){const _0x5cf9b8=_0x33cc6a;return _0x39a38f[_0x39a38f[_0x5cf9b8(0x2ae)]=0x0]='UPLOADING',_0x39a38f[_0x39a38f[_0x5cf9b8(0x30d)]=0x1]=_0x5cf9b8(0x30d),_0x39a38f[_0x39a38f[_0x5cf9b8(0x231)]=0x2]=_0x5cf9b8(0x231),_0x39a38f;}({});const _=(0x0,t[_0x33cc6a(0x2b9)])(_0x33cc6a(0x28a));var v=class extends t[_0x33cc6a(0x1f3)]{constructor(){const _0x4af7f9=_0x33cc6a;super(),g(this,_0x4af7f9(0x2d1),new o[(_0x4af7f9(0x228))]()),g(this,_0x4af7f9(0x2b3),new o[(_0x4af7f9(0x228))]()),g(this,'_list$',new o[(_0x4af7f9(0x228))]()),g(this,_0x4af7f9(0x2c7),this[_0x4af7f9(0x2d1)]['asObservable']()),g(this,_0x4af7f9(0x2bd),this[_0x4af7f9(0x2b3)]['asObservable']()),g(this,_0x4af7f9(0x2dc),this['_list$'][_0x4af7f9(0x2a4)]()),g(this,_0x4af7f9(0x289),[]);}[_0x33cc6a(0x1e2)](){const _0x34b62b=_0x33cc6a;super['dispose'](),this[_0x34b62b(0x2d1)][_0x34b62b(0x33d)](),this[_0x34b62b(0x2b3)][_0x34b62b(0x33d)](),this[_0x34b62b(0x33b)][_0x34b62b(0x33d)]();}[_0x33cc6a(0x217)](){const _0x546baa=_0x33cc6a;this[_0x546baa(0x2d1)][_0x546baa(0x316)](!0x0);}['hide'](){const _0x591cf6=_0x33cc6a;this['_visible$'][_0x591cf6(0x316)](!0x1);}[_0x33cc6a(0x264)](_0x5afec6){const _0x57ab85=_0x33cc6a;this[_0x57ab85(0x2b3)]['next'](_0x5afec6);}[_0x33cc6a(0x239)](_0x36bae3){const _0x530146=_0x33cc6a;this[_0x530146(0x289)][_0x530146(0x36e)](_0x36bae3),this[_0x530146(0x33b)][_0x530146(0x316)](this[_0x530146(0x289)]);}};function ie(_0x2ce196){const _0x10ca2c=_0x33cc6a;let {list:_0x254eda}=_0x2ce196;function _0x4e33fb(_0x35a6a6){const _0x154953=_0x4275;switch(_0x35a6a6){case 0x1:return(0x0,c[_0x154953(0x304)])(r['DocMultiIcon'],{});case 0x2:return(0x0,c[_0x154953(0x304)])(r[_0x154953(0x30a)],{});case 0x3:return(0x0,c['jsx'])(r[_0x154953(0x232)],{});default:return null;}}return(0x0,c['jsx'])(_0x10ca2c(0x23b),{'className':(0x0,s['clsx'])(_0x10ca2c(0x242),s[_0x10ca2c(0x2d3)]),'children':(0x0,c['jsx'])('ul',{'className':_0x10ca2c(0x2ee),'children':_0x254eda[_0x10ca2c(0x283)]((_0x1aef1c,_0x1dd7af)=>(0x0,c['jsx'])('li',{'children':(0x0,c[_0x10ca2c(0x342)])('a',{'className':_0x10ca2c(0x2f3),'href':_0x1aef1c['link'],'target':_0x10ca2c(0x35a),'rel':_0x10ca2c(0x2e0),'children':[(0x0,c[_0x10ca2c(0x342)])(_0x10ca2c(0x26c),{'className':_0x10ca2c(0x328),'children':[(0x0,c['jsx'])('span',{'className':_0x10ca2c(0x1eb),'children':_0x4e33fb(_0x1aef1c['type'])}),(0x0,c[_0x10ca2c(0x304)])(s['Tooltip'],{'showIfEllipsis':!0x0,'title':_0x1aef1c[_0x10ca2c(0x1ed)],'asChild':!0x0,'children':(0x0,c[_0x10ca2c(0x304)])(_0x10ca2c(0x26c),{'className':_0x10ca2c(0x227),'children':_0x1aef1c[_0x10ca2c(0x1ed)]})})]}),(0x0,c[_0x10ca2c(0x304)])(_0x10ca2c(0x26c),{'className':'univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-p-0\x20univer-text-base\x20univer-text-gray-600\x20univer-outline-none\x20univer-transition-colors\x20hover:univer-bg-gray-200\x20dark:!univer-text-gray-200\x20dark:hover:!univer-bg-gray-600','children':(0x0,c[_0x10ca2c(0x304)])(r['ShareRangeIcon'],{})})]})},_0x1dd7af))})});}const y='application/vnd.openxmlformats-officedocument.wordprocessingml.document',b='application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',x='application/vnd.ms-excel.sheet.macroEnabled.12',S=_0x33cc6a(0x357),C='application/vnd.openxmlformats-officedocument.presentationml.presentation',w={[t[_0x33cc6a(0x20e)][_0x33cc6a(0x278)]]:[''],[t[_0x33cc6a(0x20e)][_0x33cc6a(0x2a1)]]:[y],[t[_0x33cc6a(0x20e)]['UNIVER_SHEET']]:[b,x,S],[t[_0x33cc6a(0x20e)][_0x33cc6a(0x2a6)]]:[C],[t[_0x33cc6a(0x20e)][_0x33cc6a(0x270)]]:[''],[t[_0x33cc6a(0x20e)]['UNIVER_PROJECT']]:[''],[t[_0x33cc6a(0x20e)][_0x33cc6a(0x2e4)]]:['']},T={[y]:_0x33cc6a(0x303),[b]:'xlsx',[x]:_0x33cc6a(0x273),[S]:'xltx',[C]:'pptx'};function ae(_0x22f364,_0x2269bf,_0x16f3b7){const _0x1e0444=_0x33cc6a;let _0x5a985a=document['createElement']('a');_0x5a985a['href']=_0x22f364,_0x5a985a[_0x1e0444(0x22d)][_0x1e0444(0x367)]=_0x1e0444(0x336),_0x5a985a['download']=_0x2269bf+'.'+_0x16f3b7,document[_0x1e0444(0x2c1)][_0x1e0444(0x219)](_0x5a985a),_0x5a985a[_0x1e0444(0x2d7)](),document[_0x1e0444(0x2c1)]['removeChild'](_0x5a985a);}function E(_0x14c200,_0x38abb7,_0x44fbad){const _0x13761b=_0x33cc6a;let _0x7890e=URL[_0x13761b(0x21a)](_0x14c200);ae(_0x7890e,_0x38abb7,_0x44fbad),URL[_0x13761b(0x2f0)](_0x7890e);}function D(_0x2a5b21){const _0x202906=_0x33cc6a;let _0x23ff8c=_0x2a5b21[_0x202906(0x1ed)][_0x202906(0x2aa)]('.')[_0x202906(0x345)]();if(!_0x23ff8c)return t[_0x202906(0x20e)][_0x202906(0x278)];let _0x26eed0=oe(),_0x28ffb4=t[_0x202906(0x20e)][_0x202906(0x278)];return _0x26eed0['some'](_0x1c1bba=>O(_0x23ff8c,_0x1c1bba)?(_0x28ffb4=_0x1c1bba,!0x0):!0x1),_0x28ffb4;}function oe(){const _0x36276b=_0x33cc6a;return Object[_0x36276b(0x2ca)](t[_0x36276b(0x20e)])[_0x36276b(0x2cf)](_0x1ad14a=>typeof _0x1ad14a=='number');}function O(_0x42330e,_0x56affc){const _0x1e1da5=_0x33cc6a;var _0x149572;return((_0x149572=w[_0x56affc])==null?[]:_0x149572)[_0x1e1da5(0x283)](_0x3e1032=>(T[_0x3e1032]||'')[_0x1e1da5(0x33c)]())[_0x1e1da5(0x256)](_0x42330e[_0x1e1da5(0x33c)]());}function k(_0x3dcae5,_0x3fbc17=!0x1){const _0x36d122=_0x33cc6a;let _0x4f7753=_0x3dcae5[_0x36d122(0x283)](_0x6d455f=>{var _0x884384;return(_0x884384=w[_0x6d455f])==null?[]:_0x884384;})[_0x36d122(0x27a)](',');return new Promise((_0x4a35b2,_0x2fde70)=>{const _0x5d60ae=_0x36d122;let _0x394f6b=document[_0x5d60ae(0x2df)](_0x5d60ae(0x32a));_0x394f6b[_0x5d60ae(0x277)]='file',_0x394f6b['accept']=_0x4f7753,_0x394f6b['multiple']=_0x3fbc17,_0x394f6b['addEventListener']('change',_0x39861d=>{const _0x30a9b3=_0x5d60ae;let _0x12a222=_0x39861d[_0x30a9b3(0x2ed)];if(!_0x12a222['files']||_0x12a222[_0x30a9b3(0x288)][_0x30a9b3(0x2a7)]===0x0)throw _0x2fde70(null),Error('No\x20file\x20selected');_0x4a35b2(_0x12a222[_0x30a9b3(0x288)]);}),_0x394f6b[_0x5d60ae(0x2d7)]();});}async function A(_0x71c41f,_0x1cffdf){const _0x20124e=_0x33cc6a;try{var _0x125c27,_0x4b92ed,_0x5a0e38;let _0x4a81f7=await _0x1cffdf[_0x20124e(0x293)](_0x71c41f,{'responseType':_0x20124e(0x22c)}),_0x38e979=_0x4a81f7[_0x20124e(0x2c1)],_0x1ff482=(_0x125c27=(_0x4b92ed=_0x4a81f7[_0x20124e(0x23e)][_0x20124e(0x293)]('Content-Type'))==null?void 0x0:_0x4b92ed[_0x20124e(0x27a)](',\x20'))==null?_0x20124e(0x31a):_0x125c27,_0x29c069=_0x20124e(0x29b)+(T[_0x1ff482]||_0x20124e(0x364)),_0x925a6c=(_0x5a0e38=_0x4a81f7[_0x20124e(0x23e)]['get'](_0x20124e(0x20a)))==null?void 0x0:_0x5a0e38['join'](',\x20');if(_0x925a6c){let _0x51f3bf=_0x925a6c[_0x20124e(0x325)](/filename=(.+)/);_0x51f3bf&&_0x51f3bf[0x1]&&(_0x29c069=_0x51f3bf[0x1]);}else _0x29c069=se(_0x71c41f)||_0x29c069;return new File([_0x38e979],_0x29c069,{'type':_0x1ff482});}catch(_0x50853b){console[_0x20124e(0x2ea)](_0x20124e(0x226),_0x50853b);return;}}function se(_0x195c48){const _0x3c5855=_0x33cc6a;try{return new URL(_0x195c48)[_0x3c5855(0x276)][_0x3c5855(0x2aa)]('/')['pop']();}catch(_0x5f5a50){console[_0x3c5855(0x2ea)](_0x3c5855(0x374),_0x5f5a50);return;}}function ce(_0xf3734b){const _0x528c0d=_0x33cc6a;let _0x5a4176=new Blob([_0xf3734b[_0x528c0d(0x2f6)]],{'type':_0x528c0d(0x31d)});return new File([_0x5a4176],_0x528c0d(0x354));}function j(_0x5d3497,_0x18fbb4){const _0x2b73da=_0x33cc6a;return _0x5d3497[_0x2b73da(0x1fd)]('{type}',_0x18fbb4);}function M(_0x443078,_0xc4a042){const _0x428a9e=_0x33cc6a;return _0x443078[_0x428a9e(0x1fd)](_0x428a9e(0x253),_0xc4a042);}function le(_0x470200,_0x5031a0){const _0x3dd7fc=_0x33cc6a;return _0x470200['replace'](_0x3dd7fc(0x28b),_0x5031a0);}function N(_0x5280f9,_0x52baaf){return function(_0x4dd901,_0x521aa5){_0x52baaf(_0x4dd901,_0x521aa5,_0x5280f9);};}function P(_0x3aae1e,_0x41cc9e,_0x5ecda6,_0x9a72d){const _0x2766c5=_0x33cc6a;var _0x937fdf=arguments['length'],_0x215334=_0x937fdf<0x3?_0x41cc9e:_0x9a72d===null?_0x9a72d=Object[_0x2766c5(0x34e)](_0x41cc9e,_0x5ecda6):_0x9a72d,_0x1cfd7b;if(typeof Reflect==_0x2766c5(0x248)&&typeof Reflect[_0x2766c5(0x372)]==_0x2766c5(0x36f))_0x215334=Reflect['decorate'](_0x3aae1e,_0x41cc9e,_0x5ecda6,_0x9a72d);else{for(var _0x4d1b1f=_0x3aae1e[_0x2766c5(0x2a7)]-0x1;_0x4d1b1f>=0x0;_0x4d1b1f--)(_0x1cfd7b=_0x3aae1e[_0x4d1b1f])&&(_0x215334=(_0x937fdf<0x3?_0x1cfd7b(_0x215334):_0x937fdf>0x3?_0x1cfd7b(_0x41cc9e,_0x5ecda6,_0x215334):_0x1cfd7b(_0x41cc9e,_0x5ecda6))||_0x215334);}return _0x937fdf>0x3&&_0x215334&&Object['defineProperty'](_0x41cc9e,_0x5ecda6,_0x215334),_0x215334;}const F=(0x0,t['createIdentifier'])(_0x33cc6a(0x377));let I=class{constructor(_0x3162a9,_0x454b3b){const _0x5d949e=_0x33cc6a;this[_0x5d949e(0x2d5)]=_0x3162a9,this[_0x5d949e(0x36d)]=_0x454b3b,g(this,'_taskInterrupted',new Set());}[_0x33cc6a(0x1e2)](){}[_0x33cc6a(0x295)](_0x148363){const _0x3b85c3=_0x33cc6a;this[_0x3b85c3(0x207)][_0x3b85c3(0x225)](_0x148363);}[_0x33cc6a(0x35e)](){const _0x3bd163=_0x33cc6a;this[_0x3bd163(0x207)][_0x3bd163(0x343)]();}async['upload'](_0x41a951,_0x1a4910=0x0,_0x410f45=!0x1){const _0xe5495f=_0x33cc6a;if(typeof _0x41a951==_0xe5495f(0x282)){let _0x5c7eac=await A(_0x41a951,this[_0xe5495f(0x36d)]);if(!_0x5c7eac)throw Error(_0xe5495f(0x2be));_0x41a951=_0x5c7eac;}_0x1a4910=_0x1a4910||_0x41a951[_0xe5495f(0x33f)];let _0x303a8d=new FormData();_0x303a8d[_0xe5495f(0x2e2)](_0xe5495f(0x34a),_0x41a951);try{let _0x4e8d6d=this[_0xe5495f(0x2cb)]()+_0xe5495f(0x2d2)+_0x1a4910+_0xe5495f(0x2bb)+l[_0xe5495f(0x2cd)][_0xe5495f(0x34d)]+_0xe5495f(0x2c0)+_0x410f45,_0x14c397={'body':_0x303a8d},_0x2d1db3=(await this['_httpService']['post'](_0x4e8d6d,_0x14c397))[_0xe5495f(0x2c1)];if(_0x2d1db3['error']&&_0x2d1db3[_0xe5495f(0x2ea)][_0xe5495f(0x2b1)]!==l[_0xe5495f(0x32c)]['OK'])throw Error(this[_0xe5495f(0x29f)](_0xe5495f(0x211),_0x2d1db3[_0xe5495f(0x2ea)]));return _0x2d1db3;}catch(_0x354d22){throw _0x354d22 instanceof Error?_0x354d22:Error(this[_0xe5495f(0x2e9)](_0xe5495f(0x211),_0x354d22));}}async[_0x33cc6a(0x1fc)](_0x4569f4){const _0x4716f5=_0x33cc6a;let {fileID:_0x11ef04,type:_0x207c64,outputType:_0x408dc8,minSheetColumnCount:_0x3f4039,minSheetRowCount:_0x1224d9}=_0x4569f4;try{let _0x26d987=j(this['_getImportURL'](),''+_0x207c64),_0x4a0e7c={'body':{'fileID':_0x11ef04,'outputType':_0x408dc8,'minSheetColumnCount':_0x3f4039,'minSheetRowCount':_0x1224d9}},_0x25e39e=(await this[_0x4716f5(0x36d)]['post'](_0x26d987,_0x4a0e7c))['body'];return _0x25e39e[_0x4716f5(0x2ea)]&&_0x25e39e['error'][_0x4716f5(0x2b1)]!==l['ErrorCode']['OK']?void 0x0:_0x25e39e;}catch{return;}}async[_0x33cc6a(0x2bc)](_0x1bd5f2){const _0x318684=_0x33cc6a;let {unitID:_0x396900,jsonID:_0xb5f63a,type:_0x3be4c6,sscSwitch:_0x40499a,useImageUrl:_0x56f22f,ignoreTableExport:_0x48fa42}=_0x1bd5f2;try{let _0x210a9a=j(this[_0x318684(0x27b)](),''+_0x3be4c6),_0x348973={'body':{'unitID':_0x396900,'jsonID':_0xb5f63a,'type':_0x3be4c6,'sscSwitch':_0x40499a,'useImageUrl':_0x56f22f,'ignoreTableExport':_0x48fa42}},_0x59f97d=(await this[_0x318684(0x36d)][_0x318684(0x28c)](_0x210a9a,_0x348973))['body'];return _0x59f97d[_0x318684(0x2ea)]&&_0x59f97d[_0x318684(0x2ea)]['code']!==l[_0x318684(0x32c)]['OK']?void 0x0:_0x59f97d;}catch{return;}}async[_0x33cc6a(0x306)](_0x2e1cf1){return new Promise((_0x508ca5,_0x1ce9ce)=>{const _0xce0cf=_0x4275;try{let _0x5092e8=0x0,_0xf26362=M(this[_0xce0cf(0x22f)](),''+_0x2e1cf1),_0x47460a=this[_0xce0cf(0x365)](),_0x32b523=async()=>{const _0x545aec=_0xce0cf;if(this[_0x545aec(0x207)][_0x545aec(0x310)](_0x2e1cf1))return;let _0x322a07=(await this[_0x545aec(0x36d)][_0x545aec(0x293)](_0xf26362))[_0x545aec(0x2c1)];if(_0x322a07[_0x545aec(0x2ea)]&&_0x322a07['error'][_0x545aec(0x2b1)]===l[_0x545aec(0x32c)]['OK']){if(_0x322a07['status']===_0x545aec(0x36a))_0x508ca5(_0x322a07);else{if(_0x322a07[_0x545aec(0x201)]===_0x545aec(0x259)){let _0x2ae8d8=0x3e8;if(_0x5092e8>=_0x47460a){_0x1ce9ce(_0x322a07);return;}else _0x5092e8>=0x7530&&(_0x2ae8d8=0x1388);_0x5092e8+=_0x2ae8d8,setTimeout(_0x32b523,_0x2ae8d8);}else _0x1ce9ce(_0x322a07);}}else _0x1ce9ce(_0x322a07);};_0x32b523();}catch(_0x13b48b){_0x1ce9ce(_0x13b48b instanceof Error?_0x13b48b:Error(String(_0x13b48b)));}});}async['signUrl'](_0x237b5c){const _0x170b81=_0x33cc6a;try{let _0x1f4629=le(this['_getSignURL'](),''+_0x237b5c);return(await this[_0x170b81(0x36d)][_0x170b81(0x293)](_0x1f4629))[_0x170b81(0x2c1)];}catch{return;}}async['getTextFromUrl'](_0x22617e){const _0x405cbb=_0x33cc6a;try{return(await this[_0x405cbb(0x36d)][_0x405cbb(0x293)](_0x22617e,{'responseType':'text'}))[_0x405cbb(0x2c1)];}catch{return;}}[_0x33cc6a(0x29f)](_0x14a7d6,_0x4962fd){const _0x25345d=_0x33cc6a;let _0x308908=this[_0x25345d(0x34b)](_0x4962fd);return _0x308908?_0x14a7d6+':\x20'+_0x308908:_0x14a7d6;}[_0x33cc6a(0x2e9)](_0x3afb31,_0x4d0ac3){const _0x206f79=_0x33cc6a;if(_0x4d0ac3 instanceof n[_0x206f79(0x2fe)]){let _0x2276e6=typeof _0x4d0ac3[_0x206f79(0x201)]==_0x206f79(0x1f0)?''+_0x4d0ac3[_0x206f79(0x201)]+(_0x4d0ac3[_0x206f79(0x2f7)]?'\x20'+_0x4d0ac3[_0x206f79(0x2f7)]:''):void 0x0,_0xdd72e8=this[_0x206f79(0x34b)](_0x4d0ac3['error']);return _0x2276e6&&_0xdd72e8?_0x3afb31+':\x20HTTP\x20'+_0x2276e6+'\x20-\x20'+_0xdd72e8:_0x2276e6?_0x3afb31+':\x20HTTP\x20'+_0x2276e6:_0xdd72e8?_0x3afb31+':\x20'+_0xdd72e8:_0x3afb31;}let _0x905c6a=this['_extractErrorDetail'](_0x4d0ac3);return _0x905c6a?_0x3afb31+':\x20'+_0x905c6a:_0x3afb31;}['_extractErrorDetail'](_0x458dd4){const _0x36a2ae=_0x33cc6a;if(typeof _0x458dd4==_0x36a2ae(0x282)){let _0x58f4c1=_0x458dd4[_0x36a2ae(0x375)]();return _0x58f4c1['length']>0x0?_0x58f4c1:void 0x0;}if(_0x458dd4 instanceof Error)return this[_0x36a2ae(0x34b)](_0x458dd4[_0x36a2ae(0x1ea)]);if(!_0x458dd4||typeof _0x458dd4!=_0x36a2ae(0x248)||Array[_0x36a2ae(0x2ac)](_0x458dd4))return;let _0x1c3cce=_0x458dd4,_0x486122=this['_extractErrorDetail'](_0x1c3cce[_0x36a2ae(0x1ea)]);if(_0x486122)return _0x486122;if(_0x1c3cce['error']&&typeof _0x1c3cce[_0x36a2ae(0x2ea)]=='object'&&!Array['isArray'](_0x1c3cce['error'])){let _0x58b652=this[_0x36a2ae(0x34b)](_0x1c3cce[_0x36a2ae(0x2ea)]);if(_0x58b652)return _0x58b652;}}[_0x33cc6a(0x2cb)](){const _0x1376a7=_0x33cc6a;var _0x4071b1;let _0x526029=this[_0x1376a7(0x2d5)][_0x1376a7(0x263)](f);return(_0x4071b1=_0x526029==null?void 0x0:_0x526029[_0x1376a7(0x27f)])==null?'/universer-api/stream/file/upload':_0x4071b1;}[_0x33cc6a(0x35f)](){const _0x122f4a=_0x33cc6a;var _0x4f3d70;let _0x438893=this['_configService'][_0x122f4a(0x263)](f);return(_0x4f3d70=_0x438893==null?void 0x0:_0x438893[_0x122f4a(0x251)])==null?'/universer-api/exchange/{type}/import':_0x4f3d70;}[_0x33cc6a(0x27b)](){const _0x1e2a76=_0x33cc6a;var _0x5b8bf5;let _0x2721c9=this[_0x1e2a76(0x2d5)]['getConfig'](f);return(_0x5b8bf5=_0x2721c9==null?void 0x0:_0x2721c9[_0x1e2a76(0x333)])==null?_0x1e2a76(0x2d6):_0x5b8bf5;}[_0x33cc6a(0x22f)](){const _0x158c12=_0x33cc6a;var _0x2e474a;let _0x46f262=this[_0x158c12(0x2d5)][_0x158c12(0x263)](f);return(_0x2e474a=_0x46f262==null?void 0x0:_0x46f262[_0x158c12(0x26a)])==null?'/universer-api/exchange/task/{taskID}':_0x2e474a;}[_0x33cc6a(0x360)](){const _0xc07558=_0x33cc6a;var _0x34da1f;let _0xeb8173=this[_0xc07558(0x2d5)]['getConfig'](f);return(_0x34da1f=_0xeb8173==null?void 0x0:_0xeb8173[_0xc07558(0x302)])==null?_0xc07558(0x216):_0x34da1f;}[_0x33cc6a(0x365)](){const _0xecaad0=_0x33cc6a;var _0xdfa30d;let _0x14b540=this[_0xecaad0(0x2d5)][_0xecaad0(0x263)](f);return(_0xdfa30d=_0x14b540==null?void 0x0:_0x14b540[_0xecaad0(0x305)])==null?0x1d4c0:_0xdfa30d;}};I=P([N(0x0,t[_0x33cc6a(0x25a)]),N(0x1,(0x0,t[_0x33cc6a(0x218)])(n[_0x33cc6a(0x2c4)]))],I);function ue(_0x513fa3){const _0x2bdb3f=_0x33cc6a;let _0x973f0=_0x513fa3[_0x2bdb3f(0x30b)];if(!_0x973f0)return null;let _0x2e7f8b={};_0x973f0[_0x2bdb3f(0x24c)]&&Object[_0x2bdb3f(0x31c)](_0x973f0[_0x2bdb3f(0x24c)])[_0x2bdb3f(0x271)](_0x5aaaa4=>{const _0x4aca31=_0x2bdb3f;let _0x244bfc=_0x973f0[_0x4aca31(0x24c)][_0x5aaaa4];_0x2e7f8b[_0x5aaaa4]={..._0x244bfc,'originalMeta':(0x0,u[_0x4aca31(0x272)])(u[_0x4aca31(0x363)]['decode'](_0x244bfc[_0x4aca31(0x35b)]))};});let _0x4bd689=(0x0,u[_0x2bdb3f(0x272)])(u['textDecoder']['decode'](_0x973f0[_0x2bdb3f(0x35b)]));return{..._0x513fa3,'workbook':{..._0x973f0,'originalMeta':_0x4bd689,'sheets':_0x2e7f8b},'doc':{},'slide':void 0x0};}function de(_0x107f87){const _0x410a58=_0x33cc6a;let _0x34bed1=_0x107f87[_0x410a58(0x25f)];if(!_0x34bed1)return null;let _0x3b0d67=(0x0,u['b64EncodeUnicode'])(u[_0x410a58(0x363)][_0x410a58(0x236)](_0x34bed1['originalMeta']));return{..._0x107f87,'workbook':{},'doc':{..._0x34bed1,'originalMeta':_0x3b0d67},'slide':void 0x0};}function _0x5a10(){const _0x508b70=['EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY','uploadFileServerUrl','Info','1746556CKuhht','string','map','univer-pro.exchange-client.operate.service','1631253bCtKLe','IMessageService','toStringTag','files','_list','univer-pro.exchange-client.upload-notification.service','{fileID}','post','exchange-client.uploadSuccessTip','Method\x20not\x20implemented.','transformDocumentDataToSnapshot','_emitProgress','_getMinSheetRowCount','toDisposable','get','UploadNotificationState','setTaskInterrupted','_showDownloadMessage','univer-flex','univer-mt-5\x20univer-flex\x20univer-flex-col','_exportBySnapshot','rev','file.','478470stWkAg','_requestService','univer-ml-1.5\x20univer-font-semibold\x20univer-leading-6\x20univer-text-gray-900\x20dark:!univer-text-white','_buildProtocolErrorMessage','saveSnapshot','UNIVER_DOC','prototype','univer-text-sm\x20univer-text-gray-500','asObservable','_showUploadMessage','UNIVER_SLIDE','length','importXLSXToUnitId','univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','split','Success','isArray','registerDependencies','UPLOADING','@univerjs-pro/exchange-client','_univerInstanceService','code','Failed\x20to\x20get\x20unitID\x20from\x20task','_state$','useEffect','disposeWithMe','Failed\x20to\x20transform\x20snapshot\x20to\x20string','getCurrentUnitOfType','shift','createIdentifier','exchange-client.unknownMistake','&source=','export','state$','upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url','_getUnitNameByType','&flate=','body','requestState$','transformSnapshotJsonToDocumentData','HTTPService','catch','useState','visible$','getUnitType','exportDOCXBySnapshot','values','_getUploadFileURL','fileID','FileSource','_export','filter','unitID','_visible$','?size=','scrollbarClassName','Failed\x20to\x20get\x20file\x20from\x20url','_configService','/universer-api/exchange/{type}/export','click','saveSheetBlock','FileId','slide','resources','list$','searchParams','signUrl','createElement','noreferrer','Failed\x20to\x20get\x20jsonID\x20from\x20task','append','useDependency','UNRECOGNIZED','_getUnitSlideJson','_importTaskId','1.0.0-alpha.1','iterator','_buildHttpErrorMessage','error','merge','touchDependencies','currentTarget','univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','6561657wIlJbj','revokeObjectURL','exportXLSXByUnitId','import\x20error','univer-flex\x20univer-justify-between\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-py-1\x20univer-text-gray-900\x20univer-no-underline\x20univer-outline-none\x20univer-transition-colors\x20hover:univer-bg-gray-200\x20dark:!univer-text-white\x20dark:hover:!univer-bg-gray-600','univer-pl-2\x20univer-pr-4','downloadEndpointUrl','buffer','statusText','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2','_import','_refresh','_getUnitName','importFileToUnitIdByCurrentType','subscribe','HTTPResponseError','downloadFile','upload\x20failed:\x20missing\x20FileId\x20in\x20response','data','signUrlServerUrl','docx','jsx','maxTimeoutTime','getTask','resolve','_fileTypeError','upload\x20failed:\x20FileId\x20is\x20empty','XlsxMultiIcon','workbook','exportPPTXBySnapshot','SUCCESS','_signUrl','transformSlideDataToSnapshot','has','export\x20error','exchange-client.networkError','exchange-client.uploading','getUnitId','minSheetColumnCount','next','exportPPTXByUnitId','exchange-client.cancel','importDOCXToUnitId','application/octet-stream','disposeUnit','keys','application/json','parse','location','importXLSXToSnapshot','exchange-client.uploadAgain','univer-fixed\x20univer-bottom-12\x20univer-right-3\x20univer-z-[1000]\x20univer-box-border\x20univer-flex\x20univer-w-[372px]\x20univer-flex-col\x20univer-rounded-md\x20univer-bg-white\x20univer-px-3\x20univer-pb-4\x20univer-pt-5\x20univer-shadow-md','uploadFileToUnitId','progress$','match','href','_registerComponents','univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','_getUnitDocJson','input','_logService','ErrorCode','CONNECTOR_DATA_TOO_LARGE','univer-h-7\x20univer-cursor-pointer\x20univer-select-none\x20univer-rounded-md\x20univer-border-0\x20univer-border-transparent\x20univer-bg-transparent\x20univer-px-2\x20univer-py-0\x20univer-text-sm\x20univer-text-primary-600\x20univer-transition-all\x20univer-duration-150\x20hover:univer-bg-primary-50','_uploadTaskNotDone','options','copyFileMeta','_config','exportServerUrl','ignoreTableExport','_refreshSlide','none','pptx','importFileToUnitId','Module','_getLinkByUnitId','_list$','toLowerCase','complete','set','size','_sheetBlockCache','importPPTXToUnitId','jsxs','clear','floor','pop','50nEPUVL','_getUnitIDSlide','transformSnapshotToSlideData','clsx','file','_extractErrorDetail','_totalUploadTaskCount','HttpImport','getOwnPropertyDescriptor','stringify','UniverExchangeClientPlugin','UNIVER_SHEET','sign\x20url\x20error','exchange-client.tooLarge','file.json','default','minSheetRowCount','application/vnd.openxmlformats-officedocument.spreadsheetml.template','_completeProgress','exportXLSXBySnapshot','_blank','originalMeta','getSnapshot','Failed\x20to\x20get\x20fileID\x20from\x20task','clearTaskInterrupted','_getImportURL','_getSignURL','DependentOn','IconManager','textDecoder','xlsx','_getMaxPollingTime','_uploadNotificationService','display','5425548iRHEUF','transformWorkbookDataToSnapshot','done','_upload','BehaviorSubject','_httpService','unshift','function','_importFileToUnitId','_exchangeService','decorate','fetchMissingChangesets','Error\x20getting\x20file\x20name\x20from\x20URL:','trim','IRequestService','univer-pro.exchange-client.request.service','getTextFromUrl','transformWorkbookDataToSnapshotJson','_showNetworkError','ILogService','transformSnapshotToDocumentData','dispose','BuiltInUIPart','_getMinSheetColumnCount','_messageService','exchange-client.config','sheetBlocks','getUniverInstanceTypeByFile','24UpMJbs','message','univer-flex\x20univer-h-5\x20univer-text-xl','Failed\x20to\x20get\x20text\x20from\x20url','name','_getDownloadEndpointURL','2601676RfYDHM','number','outputType','disableCellImageConversion','Disposable','UploadNotificationService','273309XkbFBE','constructor','importDOCXToSnapshot','blockID','univer-mx-0\x20univer-mb-3\x20univer-mt-4\x20univer-h-1.5\x20univer-w-[324px]\x20univer-rounded-lg\x20univer-bg-gray-200','unsubscribe','getDeserializedSheetBlock','import','replace','_getEnableServerSideComputing','UNDEFINED','exportDOCXByUnitId','status','saveUnit','exchange-client.uploadSuccess','block\x20is\x20required','ClockIcon','Injector','_taskInterrupted','onStarting','_requestState$','content-disposition','success','importWorkbookDataToUnitId','updateSnapshot','UniverInstanceType','Get\x20outputType\x20error','registerComponent','upload\x20request\x20failed','transformSnapshotJsonToWorkbookData','_getUnitIDDoc','Failed\x20to\x20get\x20taskID\x20from\x20import\x20response','interruptImportTask','/universer-api/file/{fileID}/sign-url','show','Inject','appendChild','createObjectURL','_getDisableCellImageConversion','packageName','MessageType','button','exchange-client.fileTypeError','exchange-client.wait','getSheetBlock','univer-flex\x20univer-size-6\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-text-gray-500\x20univer-transition-colors\x20hover:univer-bg-gray-200\x20dark:!univer-bg-gray-600','DirectExportIcon','upload','add','Error\x20fetching\x20file\x20from\x20URL:','univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','Subject','_resourceLoaderService','symbol','_progress$','blob','style','_getIgnoreTableExport','_getTaskURL','encode','ERROR','SlideMultiIcon','taskID','_getUnitJson','CONTENT','decode','_clearProgress','textEncoder','pushLink','onReady','div','_importToSnapshot','ExchangeService','headers','_addTotalCount','exchange-client.downloadSuccess','interrupt','univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden','origin','IUIPartsService','_localeService','ErrorIcon','register','object','createUnit','Warning','_getUnitID','sheets','LocaleService','transformDocumentDataToSnapshotJson','Failed\x20to\x20parse\x20json','min','importServerUrl','transformSnapshotToWorkbookData','{taskID}','pluginName','univer-text-blue-500','includes','univer-mb-3\x20univer-py-0\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','_injector','pending','IConfigService','enableServerSideComputing','Plugin','Error','IUploadNotificationService','doc','snapshot','_iconManager','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','getConfig','updateState','getUploadFile','importPPTXToSnapshot','INTERNAL_ERROR','title','univer-h-6\x20univer-text-2xl','getTaskServerUrl','univer-text-green-500','span','_addDoneTask','defineProperty','_uiPartsService','UNIVER_BASE','forEach','b64EncodeUnicode','xlsm','IResourceLoaderService','_registerIcons','pathname','type','UNIVER_UNKNOWN','CloseIcon','join','_getExportURL','exchange-client.downloading','_doneUploadTaskCount'];_0x5a10=function(){return _0x508b70;};return _0x5a10();}function fe(_0x17aad1){const _0x4e9a38=_0x33cc6a;var _0xfaf899;let _0x2d40ce=(_0xfaf899=_0x17aad1[_0x4e9a38(0x2da)])==null?_0x17aad1[_0x4e9a38(0x25f)]:_0xfaf899;if(!_0x2d40ce)return null;let _0xbd1bb8=typeof _0x2d40ce['originalMeta']==_0x4e9a38(0x282)?_0x2d40ce['originalMeta']:(0x0,u[_0x4e9a38(0x272)])(u['textDecoder'][_0x4e9a38(0x236)](_0x2d40ce[_0x4e9a38(0x35b)]));return{..._0x17aad1,'workbook':{},'doc':{},'slide':{..._0x2d40ce,'originalMeta':_0xbd1bb8}};}function L(_0x4f147d){const _0x5e277f=_0x33cc6a;let _0x1403aa={};return _0x4f147d[_0x5e277f(0x271)](_0x41b937=>{const _0x584149=_0x5e277f;_0x1403aa[_0x41b937['id']]={..._0x41b937,'data':(0x0,u[_0x584149(0x272)])(u['textDecoder'][_0x584149(0x236)](_0x41b937[_0x584149(0x301)]))};}),_0x1403aa;}async function R(_0x25d6af){const _0x31c880=_0x33cc6a;var _0x1e5d43;let _0x42342d={'metadata':void 0x0},_0x24764b=_0x25d6af['id'],_0x46f5dd=(_0x1e5d43=_0x25d6af['rev'])==null?0x0:_0x1e5d43,_0x587285=new W(),{snapshot:_0x26cbda}=await(0x0,u[_0x31c880(0x369)])(_0x42342d,_0x25d6af,_0x24764b,_0x46f5dd,_0x587285),_0x5469c8=await(0x0,u['getSheetBlocksFromSnapshot'])(_0x26cbda,_0x587285),_0x5c8386=ue(_0x26cbda);if(!_0x5c8386)throw Error(_0x31c880(0x2b6));return{'snapshot':_0x5c8386,'sheetBlocks':L(_0x5469c8)};}async function z(_0xad6fd0){const _0x1257f7=_0x33cc6a;var _0x22a16c;let _0x2e9628={'metadata':void 0x0},_0x3dd771=_0xad6fd0['id'],{snapshot:_0xb98d30}=await(0x0,u[_0x1257f7(0x28f)])(_0x2e9628,_0xad6fd0,_0x3dd771,(_0x22a16c=_0xad6fd0[_0x1257f7(0x29a)])==null?0x0:_0x22a16c,new W()),_0x2b9ce7=de(_0xb98d30);if(!_0x2b9ce7)throw Error(_0x1257f7(0x2b6));return{'snapshot':_0x2b9ce7,'sheetBlocks':{}};}async function B(_0x32b9e5){const _0x5539d7=_0x33cc6a;var _0x1ba8d8;let _0x37c940=_0x32b9e5['id'],_0x3fc585=(_0x1ba8d8=_0x32b9e5[_0x5539d7(0x29a)])==null?0x0:_0x1ba8d8,_0x4f4e3f=new W(),{snapshot:_0xabfbc8}=await(0x0,u[_0x5539d7(0x30f)])(_0x32b9e5[_0x5539d7(0x2db)],_0x32b9e5,_0x37c940,_0x3fc585,_0x4f4e3f),_0x4fb32=fe(_0xabfbc8);if(!_0x4fb32)throw Error(_0x5539d7(0x2b6));return{'snapshot':_0x4fb32,'sheetBlocks':{}};}async function V(_0x3291eb){const _0x2fad3f=_0x33cc6a;let _0x4b07ae=_0x3291eb[_0x2fad3f(0x260)],_0x38b1f8=_0x3291eb[_0x2fad3f(0x1e7)]||{};return await(0x0,u[_0x2fad3f(0x252)])(_0x4b07ae,Object[_0x2fad3f(0x31c)](_0x38b1f8)[_0x2fad3f(0x283)](_0x240764=>_0x38b1f8[_0x240764])[_0x2fad3f(0x283)](_0x1b65d2=>({..._0x1b65d2,'data':_0x1b65d2[_0x2fad3f(0x301)]?JSON[_0x2fad3f(0x31e)]((0x0,u['b64DecodeUnicode'])(_0x1b65d2[_0x2fad3f(0x301)])):void 0x0})));}function H(_0x3cc6d6){const _0x4aafcb=_0x33cc6a;let _0x495c7d=_0x3cc6d6[_0x4aafcb(0x260)];return(0x0,u[_0x4aafcb(0x1e1)])(_0x495c7d);}function U(_0x1eaab4){const _0x3a0a14=_0x33cc6a;let _0x41ee7e=_0x1eaab4[_0x3a0a14(0x260)];return(0x0,u[_0x3a0a14(0x348)])(_0x41ee7e);}var W=class{constructor(){const _0x4cf81c=_0x33cc6a;g(this,_0x4cf81c(0x340),new Map());}['getUnitOnRev'](){const _0xd1f31f=_0x33cc6a;return Promise[_0xd1f31f(0x307)]({'snapshot':{'unitID':'','type':t[_0xd1f31f(0x20e)][_0xd1f31f(0x351)],'rev':0x0,'workbook':void 0x0,'doc':void 0x0,'slide':void 0x0},'changesets':[],'error':{'code':l['ErrorCode']['OK'],'message':''}});}[_0x33cc6a(0x221)](_0x5e9017,_0x221677){const _0x873c48=_0x33cc6a;let _0x34fd4f=this[_0x873c48(0x340)]['get'](_0x221677['blockID']);return Promise[_0x873c48(0x307)]({'block':_0x34fd4f,'error':{'code':l[_0x873c48(0x32c)]['OK'],'message':''}});}[_0x33cc6a(0x1fb)](_0x11356d,_0x23879d){const _0x19061f=_0x33cc6a;let _0x234048=this[_0x19061f(0x340)][_0x19061f(0x293)](_0x23879d[_0x19061f(0x1f8)]);return Promise[_0x19061f(0x307)]({'block':_0x234048===void 0x0?void 0x0:{..._0x234048,'data':JSON['parse'](u[_0x19061f(0x363)][_0x19061f(0x236)](_0x234048['data']))},'error':{'code':l['ErrorCode']['OK'],'message':''}});}[_0x33cc6a(0x373)](){const _0x4a790e=_0x33cc6a;return Promise['resolve']({'changesets':[],'error':{'code':l[_0x4a790e(0x32c)]['OK'],'message':''}});}['getResourcesRequest'](){const _0x64a83a=_0x33cc6a;return Promise[_0x64a83a(0x307)]({'resources':{},'error':{'code':l[_0x64a83a(0x32c)]['OK'],'message':''}});}[_0x33cc6a(0x2a0)](){const _0x3b5c63=_0x33cc6a;return Promise['resolve']({'error':{'code':l[_0x3b5c63(0x32c)]['OK'],'message':''}});}[_0x33cc6a(0x20d)](){const _0x19afe9=_0x33cc6a;return Promise[_0x19afe9(0x307)]({'error':{'code':l[_0x19afe9(0x32c)]['OK'],'message':''}});}[_0x33cc6a(0x2d8)](_0x4cc56,_0xa80826){const _0x5497f0=_0x33cc6a;let {block:_0xa37aeb}=_0xa80826;return _0xa37aeb?(this[_0x5497f0(0x340)][_0x5497f0(0x33e)](_0xa37aeb['id'],_0xa37aeb),Promise['resolve']({'error':{'code':l['ErrorCode']['OK'],'message':''},'blockID':_0xa37aeb['id']})):Promise['resolve']({'error':{'code':l[_0x5497f0(0x32c)][_0x5497f0(0x1ff)],'message':_0x5497f0(0x204)},'blockID':''});}['saveChangeset'](){const _0x438031=_0x33cc6a;return Promise['resolve']({'error':{'code':l[_0x438031(0x32c)]['OK'],'message':''},'concurrent':[]});}[_0x33cc6a(0x331)](){return Promise['resolve']({'error':void 0x0,'fileMetaId':''});}['getLatestCsReqIdBySid'](){const _0x55eb91=_0x33cc6a;return Promise[_0x55eb91(0x307)]({'error':void 0x0,'latestReqID':0x0});}};const G=(0x0,t[_0x33cc6a(0x2b9)])('univer-pro.exchange-client.exchange.service');let K=class extends t[_0x33cc6a(0x1f3)]{constructor(_0x1ab863,_0x19f158,_0x225325){const _0x12d9fe=_0x33cc6a;super(),this[_0x12d9fe(0x2d5)]=_0x1ab863,this['_httpService']=_0x19f158,this[_0x12d9fe(0x29d)]=_0x225325,g(this,_0x12d9fe(0x2e6),null),g(this,_0x12d9fe(0x209),new o[(_0x12d9fe(0x228))]()),g(this,_0x12d9fe(0x2c2),this[_0x12d9fe(0x209)]['asObservable']());}[_0x33cc6a(0x1e2)](){const _0x14c69e=_0x33cc6a;super[_0x14c69e(0x1e2)](),this[_0x14c69e(0x209)]['complete']();}async[_0x33cc6a(0x1f7)](_0x1e5d83){const _0x3acb5d=_0x33cc6a;let _0x1adea5=await this['_importToSnapshot'](_0x1e5d83,t[_0x3acb5d(0x20e)]['UNIVER_DOC']);if(!_0x1adea5||!_0x1adea5[_0x3acb5d(0x260)])return;let _0x37dbe5=H(_0x1adea5);if(_0x37dbe5)return _0x37dbe5;}async[_0x33cc6a(0x200)](_0x46ec1c){const _0x184e66=_0x33cc6a;return this[_0x184e66(0x2ce)](_0x46ec1c,0x1,t[_0x184e66(0x20e)][_0x184e66(0x2a1)]);}async[_0x33cc6a(0x2c9)](_0x1e3d25){let _0x7962be=await z(_0x1e3d25);return this['_exportBySnapshot'](_0x7962be,t['UniverInstanceType']['UNIVER_DOC']);}async['importPPTXToSnapshot'](_0x4b646f){const _0x4520f=_0x33cc6a;let _0x301a79=await this[_0x4520f(0x23c)](_0x4b646f,t[_0x4520f(0x20e)][_0x4520f(0x2a6)]);if(!(!_0x301a79||!_0x301a79['snapshot']))return U(_0x301a79);}async['exportPPTXByUnitId'](_0x1e357a){const _0x189e9b=_0x33cc6a;return this[_0x189e9b(0x2ce)](_0x1e357a,0x1,t[_0x189e9b(0x20e)][_0x189e9b(0x2a6)]);}async[_0x33cc6a(0x30c)](_0x1cf18f){const _0x6ee202=_0x33cc6a;let _0x13a8bb=await B(_0x1cf18f);return this['_exportBySnapshot'](_0x13a8bb,t[_0x6ee202(0x20e)][_0x6ee202(0x2a6)]);}async[_0x33cc6a(0x320)](_0x45bb73){const _0x539b58=_0x33cc6a;let _0xbab56=await this[_0x539b58(0x23c)](_0x45bb73,t[_0x539b58(0x20e)][_0x539b58(0x351)]);if(!_0xbab56)return;let _0x249d83=await V(_0xbab56);if(_0x249d83)return _0x249d83;}async['exportXLSXByUnitId'](_0x82a666){return this['_export'](_0x82a666,0x1,t['UniverInstanceType']['UNIVER_SHEET']);}async[_0x33cc6a(0x359)](_0x31169e){const _0xf714f6=_0x33cc6a;let _0x4362a0=await R(_0x31169e);return this[_0xf714f6(0x299)](_0x4362a0,t['UniverInstanceType']['UNIVER_SHEET']);}async[_0x33cc6a(0x338)](_0x5b9ebd,_0x3a7c14){const _0x41e311=_0x33cc6a;var _0x3b1e5c,_0x267926;let _0x4d1a09=await this[_0x41e311(0x36b)](_0x5b9ebd);if(!_0x4d1a09)return;let _0x5c28fc=await this[_0x41e311(0x2f9)](_0x4d1a09,0x1,_0x3a7c14);if(!_0x5c28fc)return;this['_importTaskId']=_0x5c28fc,this[_0x41e311(0x29d)][_0x41e311(0x35e)]();let _0x2c9978=await this[_0x41e311(0x29d)][_0x41e311(0x306)](_0x5c28fc)[_0x41e311(0x2c5)](_0x2fc34f=>{const _0xc7fea3=_0x41e311;var _0x596de7;let _0x5cf2e2=_0x2fc34f instanceof Error?_0x2fc34f[_0xc7fea3(0x1ea)]:(_0x596de7=_0x2fc34f[_0xc7fea3(0x2ea)])==null?void 0x0:_0x596de7['message'];this[_0xc7fea3(0x209)][_0xc7fea3(0x316)]({'error':{'code':l[_0xc7fea3(0x32c)][_0xc7fea3(0x2e4)],'message':_0x5cf2e2||''},'state':0x3});});if(!_0x2c9978)return;let _0x3dee51=(_0x3b1e5c=_0x2c9978[_0x41e311(0x1fc)])==null?void 0x0:_0x3b1e5c[_0x41e311(0x1f1)],_0x54d323=((_0x267926=_0x2c9978['import'])==null?void 0x0:_0x267926[_0x41e311(0x2d0)])||'';if(_0x3dee51!==0x1){this[_0x41e311(0x209)][_0x41e311(0x316)]({'error':{'code':l[_0x41e311(0x32c)][_0x41e311(0x2e4)],'message':_0x41e311(0x20f)},'state':0x3});return;}if(_0x54d323[_0x41e311(0x2a7)]===0x0){this['_requestState$'][_0x41e311(0x316)]({'error':{'code':l['ErrorCode'][_0x41e311(0x2e4)],'message':_0x41e311(0x2b2)},'state':0x3});return;}return this[_0x41e311(0x209)][_0x41e311(0x316)]({'error':_0x2c9978[_0x41e311(0x2ea)],'state':0x3}),_0x54d323;}async[_0x33cc6a(0x20c)](_0x1628c1){const _0x2532c8=_0x33cc6a;let _0x5c2002=await R(_0x1628c1),_0x434ff7=typeof _0x1628c1['id']==_0x2532c8(0x282)&&_0x1628c1['id'][_0x2532c8(0x375)]()?_0x1628c1['id'][_0x2532c8(0x375)]()+'.json':'workbook.json',_0x4562b5=new File([JSON['stringify'](_0x5c2002)],_0x434ff7,{'type':_0x2532c8(0x31d)});return this[_0x2532c8(0x338)](_0x4562b5,t['UniverInstanceType'][_0x2532c8(0x351)]);}[_0x33cc6a(0x215)](){const _0x2c6826=_0x33cc6a;this[_0x2c6826(0x2e6)]&&this[_0x2c6826(0x29d)][_0x2c6826(0x295)](this[_0x2c6826(0x2e6)]);}async[_0x33cc6a(0x23c)](_0x57afe8,_0x2c1f18){const _0x3e6f9c=_0x33cc6a;var _0x20e020,_0xf69f28;let _0x82f305=await this['_upload'](_0x57afe8);if(!_0x82f305)return;let _0x2e61de=await this[_0x3e6f9c(0x2f9)](_0x82f305,0x2,_0x2c1f18);if(!_0x2e61de)return;this[_0x3e6f9c(0x2e6)]=_0x2e61de,this['_requestService'][_0x3e6f9c(0x35e)]();let _0x2fd848=await this[_0x3e6f9c(0x29d)][_0x3e6f9c(0x306)](_0x2e61de)[_0x3e6f9c(0x2c5)](_0x2a0d57=>{const _0x5de6a5=_0x3e6f9c;var _0x2ed3bb;let _0x3387b6=_0x2a0d57 instanceof Error?_0x2a0d57[_0x5de6a5(0x1ea)]:(_0x2ed3bb=_0x2a0d57[_0x5de6a5(0x2ea)])==null?void 0x0:_0x2ed3bb[_0x5de6a5(0x1ea)];this[_0x5de6a5(0x209)][_0x5de6a5(0x316)]({'error':{'code':l[_0x5de6a5(0x32c)][_0x5de6a5(0x2e4)],'message':_0x3387b6||''},'state':0x3});});if(!_0x2fd848)return;let _0x35813c=(_0x20e020=_0x2fd848[_0x3e6f9c(0x1fc)])==null?void 0x0:_0x20e020[_0x3e6f9c(0x1f1)],_0x343881=((_0xf69f28=_0x2fd848['import'])==null?void 0x0:_0xf69f28['jsonID'])||'';if(_0x35813c!==0x2){this[_0x3e6f9c(0x209)]['next']({'error':{'code':l['ErrorCode'][_0x3e6f9c(0x2e4)],'message':_0x3e6f9c(0x20f)},'state':0x3});return;}if(_0x343881['length']===0x0){this[_0x3e6f9c(0x209)]['next']({'error':{'code':l[_0x3e6f9c(0x32c)]['UNRECOGNIZED'],'message':_0x3e6f9c(0x2e1)},'state':0x3});return;}this[_0x3e6f9c(0x209)][_0x3e6f9c(0x316)]({'error':_0x2fd848['error'],'state':0x3});let _0x3eb554=await this[_0x3e6f9c(0x30e)](_0x343881);if(!_0x3eb554)return;let _0x9de4e1=await this['_requestService'][_0x3e6f9c(0x378)](_0x3eb554);if(!_0x9de4e1){this[_0x3e6f9c(0x209)][_0x3e6f9c(0x316)]({'error':{'code':l['ErrorCode']['UNRECOGNIZED'],'message':_0x3e6f9c(0x1ec)},'state':0x5});return;}try{let _0x634f3=JSON['parse'](_0x9de4e1);return this[_0x3e6f9c(0x209)][_0x3e6f9c(0x316)]({'error':{'code':l[_0x3e6f9c(0x32c)]['OK'],'message':_0x3e6f9c(0x20b)},'state':0x5}),_0x634f3;}catch{this[_0x3e6f9c(0x209)][_0x3e6f9c(0x316)]({'error':{'code':l[_0x3e6f9c(0x32c)][_0x3e6f9c(0x2e4)],'message':_0x3e6f9c(0x24f)},'state':0x5});}}async[_0x33cc6a(0x299)](_0x125a72,_0x15bcbc){const _0x1187a1=_0x33cc6a;let _0xbc950=JSON[_0x1187a1(0x34f)](_0x125a72),_0x2391f9=u[_0x1187a1(0x238)][_0x1187a1(0x230)](_0xbc950),_0x417b73=(0x0,d['deflateSync'])(_0x2391f9),_0x20d0b2=_0x2391f9[_0x1187a1(0x2a7)],_0x3c5071=ce(_0x417b73),_0x1e264c=await this[_0x1187a1(0x36b)](_0x3c5071,_0x20d0b2,!0x0);if(_0x1e264c)return this[_0x1187a1(0x2ce)](_0x1e264c,0x2,_0x15bcbc);}async[_0x33cc6a(0x2ce)](_0x5abfca,_0x221cfb,_0x48b62e){const _0x5020f1=_0x33cc6a;var _0xcd65f4;let _0x2bb479=await this[_0x5020f1(0x29d)]['export']({'unitID':_0x221cfb===0x1?_0x5abfca:'','jsonID':_0x221cfb===0x2?_0x5abfca:'','type':_0x48b62e,'sscSwitch':this['_getEnableServerSideComputing'](),'useImageUrl':this['_getDisableCellImageConversion'](),'ignoreTableExport':this[_0x5020f1(0x22e)]()});if(!_0x2bb479){this[_0x5020f1(0x209)]['next']({'error':{'code':l[_0x5020f1(0x32c)][_0x5020f1(0x2e4)],'message':_0x5020f1(0x311)},'state':0x2});return;}if(this[_0x5020f1(0x209)]['next']({'error':_0x2bb479[_0x5020f1(0x2ea)],'state':0x2}),_0x2bb479[_0x5020f1(0x2ea)]&&_0x2bb479[_0x5020f1(0x2ea)][_0x5020f1(0x2b1)]!==l[_0x5020f1(0x32c)]['OK'])return;let _0x44829a=_0x2bb479[_0x5020f1(0x233)],_0x27f39e=await this[_0x5020f1(0x29d)][_0x5020f1(0x306)](_0x44829a)[_0x5020f1(0x2c5)](_0x5e16ab=>{const _0x18e730=_0x5020f1;var _0x498485;let _0x54ddbe=_0x5e16ab instanceof Error?_0x5e16ab[_0x18e730(0x1ea)]:(_0x498485=_0x5e16ab['error'])==null?void 0x0:_0x498485[_0x18e730(0x1ea)];this[_0x18e730(0x209)]['next']({'error':{'code':l[_0x18e730(0x32c)]['UNRECOGNIZED'],'message':_0x54ddbe||''},'state':0x3});});if(!_0x27f39e)return;let _0x15e3f1=((_0xcd65f4=_0x27f39e[_0x5020f1(0x2bc)])==null?void 0x0:_0xcd65f4[_0x5020f1(0x2cc)])||'';if(_0x15e3f1[_0x5020f1(0x2a7)]===0x0){this[_0x5020f1(0x209)]['next']({'error':{'code':l['ErrorCode'][_0x5020f1(0x2e4)],'message':_0x5020f1(0x35d)},'state':0x3});return;}this[_0x5020f1(0x209)][_0x5020f1(0x316)]({'error':_0x27f39e[_0x5020f1(0x2ea)],'state':0x3});let _0x2fc80a=await this[_0x5020f1(0x30e)](_0x15e3f1);if(!_0x2fc80a)return;let _0x4b6fac=await A(_0x2fc80a,this['_httpService']);if(!_0x4b6fac){this['_requestState$'][_0x5020f1(0x316)]({'error':{'code':l[_0x5020f1(0x32c)]['UNRECOGNIZED'],'message':_0x5020f1(0x2d4)},'state':0x6});return;}return this['_requestState$']['next']({'error':{'code':l[_0x5020f1(0x32c)]['OK'],'message':_0x5020f1(0x20b)},'state':0x6}),_0x4b6fac;}async[_0x33cc6a(0x36b)](_0x3272eb,_0x307a27,_0x3eccf1){const _0x14aa27=_0x33cc6a;let _0x459a7d;try{_0x459a7d=await this['_requestService'][_0x14aa27(0x224)](_0x3272eb,_0x307a27,_0x3eccf1);}catch(_0x543051){let _0x1046f8=_0x543051 instanceof Error?_0x543051[_0x14aa27(0x1ea)]:String(_0x543051);this[_0x14aa27(0x209)][_0x14aa27(0x316)]({'error':{'code':l['ErrorCode']['UNRECOGNIZED'],'message':_0x1046f8},'state':0x0});return;}if(!_0x459a7d||typeof _0x459a7d[_0x14aa27(0x2d9)]!=_0x14aa27(0x282)){this[_0x14aa27(0x209)][_0x14aa27(0x316)]({'error':{'code':l[_0x14aa27(0x32c)]['UNRECOGNIZED'],'message':_0x14aa27(0x300)},'state':0x0});return;}let _0x32b2dd=_0x459a7d[_0x14aa27(0x2d9)];if(_0x32b2dd[_0x14aa27(0x2a7)]===0x0){this[_0x14aa27(0x209)][_0x14aa27(0x316)]({'error':{'code':l[_0x14aa27(0x32c)]['UNRECOGNIZED'],'message':_0x14aa27(0x309)},'state':0x0});return;}return this[_0x14aa27(0x209)][_0x14aa27(0x316)]({'error':{'code':l[_0x14aa27(0x32c)]['OK'],'message':_0x14aa27(0x20b)},'state':0x0}),_0x32b2dd;}async[_0x33cc6a(0x2f9)](_0x48bd4e,_0x27eded,_0x22dc88){const _0x35b4cc=_0x33cc6a;let _0x3f3330={'fileID':_0x48bd4e,'type':_0x22dc88,'outputType':_0x27eded,'fileUrl':'','minSheetRowCount':this[_0x35b4cc(0x291)](),'minSheetColumnCount':this['_getMinSheetColumnCount']()},_0x1b44c3=await this[_0x35b4cc(0x29d)]['import'](_0x3f3330);if(!_0x1b44c3){this[_0x35b4cc(0x209)][_0x35b4cc(0x316)]({'error':{'code':l[_0x35b4cc(0x32c)][_0x35b4cc(0x2e4)],'message':_0x35b4cc(0x2f2)},'state':0x1});return;}if(_0x1b44c3[_0x35b4cc(0x2ea)]&&_0x1b44c3[_0x35b4cc(0x2ea)][_0x35b4cc(0x2b1)]!==l['ErrorCode']['OK']){this[_0x35b4cc(0x209)][_0x35b4cc(0x316)]({'error':_0x1b44c3[_0x35b4cc(0x2ea)],'state':0x1});return;}let _0x22fe5b=_0x1b44c3[_0x35b4cc(0x233)];if(_0x22fe5b[_0x35b4cc(0x2a7)]===0x0){this[_0x35b4cc(0x209)][_0x35b4cc(0x316)]({'error':{'code':l[_0x35b4cc(0x32c)][_0x35b4cc(0x2e4)],'message':_0x35b4cc(0x214)},'state':0x1});return;}return this[_0x35b4cc(0x209)][_0x35b4cc(0x316)]({'error':_0x1b44c3['error'],'state':0x1}),_0x22fe5b;}async[_0x33cc6a(0x30e)](_0x5c4639){const _0x5f0818=_0x33cc6a;let _0x49c251=await this[_0x5f0818(0x29d)][_0x5f0818(0x2de)](_0x5c4639);if(!_0x49c251){this[_0x5f0818(0x209)][_0x5f0818(0x316)]({'error':{'code':l[_0x5f0818(0x32c)][_0x5f0818(0x2e4)],'message':_0x5f0818(0x352)},'state':0x4});return;}if(_0x49c251[_0x5f0818(0x2ea)]&&_0x49c251[_0x5f0818(0x2ea)][_0x5f0818(0x2b1)]!==l[_0x5f0818(0x32c)]['OK']){this[_0x5f0818(0x209)][_0x5f0818(0x316)]({'error':_0x49c251['error'],'state':0x4});return;}let _0x3545ea=(0x0,t['resolveWithBasePath'])(_0x49c251['url'],this[_0x5f0818(0x1ee)]());if(_0x3545ea[_0x5f0818(0x2a7)]===0x0){this[_0x5f0818(0x209)][_0x5f0818(0x316)]({'error':{'code':l['ErrorCode']['UNRECOGNIZED'],'message':_0x5f0818(0x352)},'state':0x4});return;}return this[_0x5f0818(0x209)]['next']({'error':_0x49c251[_0x5f0818(0x2ea)],'state':0x4}),_0x3545ea;}[_0x33cc6a(0x1ee)](){const _0x1073a2=_0x33cc6a;var _0x132e6e;let _0x1d0098=this['_configService'][_0x1073a2(0x263)](f);return(_0x132e6e=_0x1d0098==null?void 0x0:_0x1d0098[_0x1073a2(0x2f5)])==null?location[_0x1073a2(0x243)]:_0x132e6e;}['_getMinSheetRowCount'](){const _0x1e6855=_0x33cc6a;var _0x3db87d,_0x17523e;let _0x1fbeed=this['_configService'][_0x1e6855(0x263)](f);return(_0x3db87d=_0x1fbeed==null||(_0x17523e=_0x1fbeed['options'])==null?void 0x0:_0x17523e[_0x1e6855(0x356)])==null?0x1:_0x3db87d;}[_0x33cc6a(0x1e4)](){const _0x263de8=_0x33cc6a;var _0x38e011,_0x2cfa2c;let _0x3b27f1=this['_configService'][_0x263de8(0x263)](f);return(_0x38e011=_0x3b27f1==null||(_0x2cfa2c=_0x3b27f1['options'])==null?void 0x0:_0x2cfa2c[_0x263de8(0x315)])==null?0x1:_0x38e011;}[_0x33cc6a(0x1fe)](){const _0x1cd618=_0x33cc6a;var _0x1f37de,_0x284ab8;let _0x1c6ad4=this[_0x1cd618(0x2d5)][_0x1cd618(0x263)](f);return(_0x1f37de=_0x1c6ad4==null||(_0x284ab8=_0x1c6ad4[_0x1cd618(0x330)])==null?void 0x0:_0x284ab8[_0x1cd618(0x25b)])==null?!0x1:_0x1f37de;}[_0x33cc6a(0x21b)](){const _0x4b6ea0=_0x33cc6a;var _0x52d7ee,_0xaa219e;let _0x46408f=this[_0x4b6ea0(0x2d5)]['getConfig'](f);return(_0x52d7ee=_0x46408f==null||(_0xaa219e=_0x46408f[_0x4b6ea0(0x330)])==null?void 0x0:_0xaa219e[_0x4b6ea0(0x1f2)])==null?!0x0:_0x52d7ee;}['_getIgnoreTableExport'](){const _0x2cf8cf=_0x33cc6a;var _0x300fe7,_0x218f58;let _0x42c115=this['_configService'][_0x2cf8cf(0x263)](f);return(_0x300fe7=_0x42c115==null||(_0x218f58=_0x42c115[_0x2cf8cf(0x330)])==null?void 0x0:_0x218f58[_0x2cf8cf(0x334)])==null?!0x1:_0x300fe7;}};K=P([N(0x0,t[_0x33cc6a(0x25a)]),N(0x1,(0x0,t['Inject'])(n[_0x33cc6a(0x2c4)])),N(0x2,(0x0,t['Inject'])(F))],K);const pe={'done':0x0,'count':0x0},q=(0x0,t[_0x33cc6a(0x2b9)])(_0x33cc6a(0x284));let J=class extends t[_0x33cc6a(0x1f3)]{constructor(_0x2e869a,_0x597563,_0x5371ec,_0x2750d4,_0x441e64,_0xb50929,_0x57abde){const _0x1497c1=_0x33cc6a;super(),this['_univerInstanceService']=_0x2e869a,this['_messageService']=_0x597563,this[_0x1497c1(0x245)]=_0x5371ec,this[_0x1497c1(0x371)]=_0x2750d4,this[_0x1497c1(0x366)]=_0x441e64,this[_0x1497c1(0x32b)]=_0xb50929,this[_0x1497c1(0x229)]=_0x57abde,g(this,_0x1497c1(0x22b),new o[(_0x1497c1(0x36c))](pe)),g(this,_0x1497c1(0x324),this['_progress$'][_0x1497c1(0x2a4)]()),g(this,'_totalUploadTaskCount',0x0),g(this,_0x1497c1(0x27d),0x0),this[_0x1497c1(0x2b5)]((0x0,t[_0x1497c1(0x292)])(this[_0x1497c1(0x371)]['requestState$'][_0x1497c1(0x2fd)](_0xfb3b28=>{const _0x38b9b5=_0x1497c1;var _0x1fa0ab;((_0x1fa0ab=_0xfb3b28[_0x38b9b5(0x2ea)])==null?void 0x0:_0x1fa0ab['code'])===l[_0x38b9b5(0x32c)]['OK']?this[_0x38b9b5(0x26d)](0x1):this[_0x38b9b5(0x37a)](_0xfb3b28['error']);})));}[_0x33cc6a(0x241)](){const _0x49af07=_0x33cc6a;this['_clearProgress'](),this[_0x49af07(0x366)][_0x49af07(0x264)](0x2),this[_0x49af07(0x371)][_0x49af07(0x215)]();}async[_0x33cc6a(0x323)](_0x2648d4){const _0x383a45=_0x33cc6a;throw Error(_0x383a45(0x28e));}async['importFileToUnitIdByCurrentType'](){const _0x3515d0=_0x33cc6a;let _0x546a07=this['_univerInstanceService']['getFocusedUnit']();switch(_0x546a07?this['_univerInstanceService'][_0x3515d0(0x2c8)](_0x546a07['getUnitId']()):t['UniverInstanceType'][_0x3515d0(0x2e4)]){case t[_0x3515d0(0x20e)]['UNIVER_SLIDE']:return this[_0x3515d0(0x341)]();case t[_0x3515d0(0x20e)][_0x3515d0(0x2a1)]:return this[_0x3515d0(0x319)]();case t[_0x3515d0(0x20e)][_0x3515d0(0x351)]:default:return this[_0x3515d0(0x2a8)]();}}async[_0x33cc6a(0x319)](){const _0x490763=_0x33cc6a;let _0x348402=await k([t[_0x490763(0x20e)][_0x490763(0x2a1)]]);if(_0x348402&&!this['_fileTypeError'](_0x348402,t[_0x490763(0x20e)][_0x490763(0x2a1)]))return this['_importFileToUnitId'](_0x348402[0x0],t['UniverInstanceType'][_0x490763(0x2a1)]);}[_0x33cc6a(0x1f7)](){throw Error('Method\x20not\x20implemented.');}async[_0x33cc6a(0x200)](_0x2e2ed6,_0x4d364b,_0x1bf9d1){const _0x3615e3=_0x33cc6a;this[_0x3615e3(0x296)](s[_0x3615e3(0x21d)]['Info']);let _0x33e41f=await this['_exchangeService'][_0x3615e3(0x200)](_0x2e2ed6||this[_0x3615e3(0x213)]());_0x33e41f&&(E(_0x33e41f,_0x4d364b||this[_0x3615e3(0x2fb)](_0x33e41f),_0x3615e3(0x303)),this['_showDownloadMessage'](s[_0x3615e3(0x21d)][_0x3615e3(0x2ab)]));}async['exportDOCXBySnapshot'](){const _0x2fe98d=_0x33cc6a;this[_0x2fe98d(0x296)](s[_0x2fe98d(0x21d)]['Info']);let _0x440dc9=await this[_0x2fe98d(0x329)](),_0x18ed92=await this[_0x2fe98d(0x371)][_0x2fe98d(0x2c9)](_0x440dc9);_0x18ed92&&(E(_0x18ed92,this['_getUnitName'](_0x18ed92),_0x2fe98d(0x303)),this['_showDownloadMessage'](s[_0x2fe98d(0x21d)][_0x2fe98d(0x2ab)]));}async[_0x33cc6a(0x341)](){const _0x1ebfa1=_0x33cc6a;if(this['_uploadTaskNotDone']()){this[_0x1ebfa1(0x1e5)][_0x1ebfa1(0x217)]({'type':s[_0x1ebfa1(0x21d)][_0x1ebfa1(0x24a)],'content':this['_localeService']['t']('exchange-client.uploading')});return;}let _0x2577fe=await k([t[_0x1ebfa1(0x20e)][_0x1ebfa1(0x2a6)]]);if(_0x2577fe&&!this[_0x1ebfa1(0x308)](_0x2577fe,t[_0x1ebfa1(0x20e)][_0x1ebfa1(0x2a6)]))return this[_0x1ebfa1(0x370)](_0x2577fe[0x0],t[_0x1ebfa1(0x20e)]['UNIVER_SLIDE']);}async[_0x33cc6a(0x266)](){const _0x5cbd52=_0x33cc6a;if(this[_0x5cbd52(0x32f)]()){this[_0x5cbd52(0x1e5)][_0x5cbd52(0x217)]({'type':s[_0x5cbd52(0x21d)][_0x5cbd52(0x24a)],'content':this[_0x5cbd52(0x245)]['t']('exchange-client.uploading')});return;}let _0x3b57ea=await k([t[_0x5cbd52(0x20e)]['UNIVER_SLIDE']]);if(!_0x3b57ea)return;this['_showUploadMessage'](s['MessageType']['Info']);let _0x1a3292=await this['_exchangeService'][_0x5cbd52(0x266)](_0x3b57ea[0x0]);_0x1a3292&&(this[_0x5cbd52(0x335)](_0x1a3292),this['_showUploadMessage'](s['MessageType']['Success']));}async[_0x33cc6a(0x317)](_0x176aba,_0xee9b5,_0x1c7ff4){const _0x2af573=_0x33cc6a;this[_0x2af573(0x296)](s['MessageType'][_0x2af573(0x280)]);let _0x145d5d=await this['_exchangeService'][_0x2af573(0x317)](_0x176aba||this['_getUnitIDSlide']());_0x145d5d&&(E(_0x145d5d,_0xee9b5||this['_getUnitNameByType'](_0x145d5d,_0x1c7ff4==null?t[_0x2af573(0x20e)][_0x2af573(0x2a6)]:_0x1c7ff4),'pptx'),this[_0x2af573(0x296)](s['MessageType']['Success']));}async[_0x33cc6a(0x30c)](){const _0xb68d01=_0x33cc6a;this[_0xb68d01(0x296)](s[_0xb68d01(0x21d)]['Info']);let _0x3cfe68=await this['_getUnitSlideJson'](),_0x12b896=await this[_0xb68d01(0x371)][_0xb68d01(0x30c)](_0x3cfe68);_0x12b896&&(E(_0x12b896,this[_0xb68d01(0x2bf)](_0x12b896,t[_0xb68d01(0x20e)][_0xb68d01(0x2a6)]),_0xb68d01(0x337)),this[_0xb68d01(0x296)](s['MessageType'][_0xb68d01(0x2ab)]));}async[_0x33cc6a(0x2a8)](){const _0xb6a1ec=_0x33cc6a;if(this['_uploadTaskNotDone']()){this[_0xb6a1ec(0x1e5)][_0xb6a1ec(0x217)]({'type':s[_0xb6a1ec(0x21d)][_0xb6a1ec(0x24a)],'content':this['_localeService']['t']('exchange-client.uploading')});return;}let _0x39e4c7=await k([t[_0xb6a1ec(0x20e)]['UNIVER_SHEET']]);if(_0x39e4c7&&!this[_0xb6a1ec(0x308)](_0x39e4c7,t[_0xb6a1ec(0x20e)][_0xb6a1ec(0x351)]))return this[_0xb6a1ec(0x370)](_0x39e4c7[0x0],t['UniverInstanceType'][_0xb6a1ec(0x351)]);}async[_0x33cc6a(0x320)](){const _0x30f5a9=_0x33cc6a;if(this[_0x30f5a9(0x32f)]()){this[_0x30f5a9(0x1e5)][_0x30f5a9(0x217)]({'type':s['MessageType']['Warning'],'content':this[_0x30f5a9(0x245)]['t'](_0x30f5a9(0x313))});return;}let _0x589199=await k([t[_0x30f5a9(0x20e)]['UNIVER_SHEET']]);if(!_0x589199)return;this[_0x30f5a9(0x2a5)](s[_0x30f5a9(0x21d)][_0x30f5a9(0x280)]);let _0x28f5a0=await this[_0x30f5a9(0x371)][_0x30f5a9(0x320)](_0x589199[0x0]);_0x28f5a0&&(this[_0x30f5a9(0x2fa)](_0x28f5a0),this[_0x30f5a9(0x2a5)](s[_0x30f5a9(0x21d)][_0x30f5a9(0x2ab)]));}async[_0x33cc6a(0x2f1)](_0x1e180f,_0x473e5f,_0x269342){const _0x57f983=_0x33cc6a;this[_0x57f983(0x296)](s[_0x57f983(0x21d)][_0x57f983(0x280)]);let _0x49ba27=await this[_0x57f983(0x371)][_0x57f983(0x2f1)](_0x1e180f||this[_0x57f983(0x24b)]());_0x49ba27&&(E(_0x49ba27,_0x473e5f||this['_getUnitName'](_0x49ba27),_0x57f983(0x364)),this['_showDownloadMessage'](s[_0x57f983(0x21d)]['Success']));}async[_0x33cc6a(0x359)](){const _0x4a8d15=_0x33cc6a;this[_0x4a8d15(0x296)](s[_0x4a8d15(0x21d)]['Info']);let _0x7f29b=await this[_0x4a8d15(0x234)](),_0x56ef72=await this[_0x4a8d15(0x371)]['exportXLSXBySnapshot'](_0x7f29b);_0x56ef72&&(E(_0x56ef72,this['_getUnitName'](_0x56ef72),'xlsx'),this['_showDownloadMessage'](s[_0x4a8d15(0x21d)]['Success']));}['registerLink'](_0x182870){this['_getLinkByUnitId']=_0x182870;}async['_importFileToUnitId'](_0x34eaac,_0x5d15d2){const _0x353ecd=_0x33cc6a;this['_uploadNotificationService']['show'](),this[_0x353ecd(0x366)][_0x353ecd(0x264)](0x0),this[_0x353ecd(0x23f)](0x4),this['_addDoneTask'](0x1);let _0x42a1fc=await this['_exchangeService'][_0x353ecd(0x338)](_0x34eaac,_0x5d15d2);if(!_0x42a1fc){this[_0x353ecd(0x237)](),this[_0x353ecd(0x366)][_0x353ecd(0x264)](0x2);return;}let _0x4283d8={'link':this[_0x353ecd(0x33a)](_0x42a1fc,_0x5d15d2),'name':_0x34eaac['name'],'type':_0x5d15d2};return this[_0x353ecd(0x366)]['pushLink'](_0x4283d8),this[_0x353ecd(0x358)](),this[_0x353ecd(0x366)][_0x353ecd(0x264)](0x1),_0x42a1fc;}[_0x33cc6a(0x24b)](){const _0x2528bc=_0x33cc6a;return this['_univerInstanceService'][_0x2528bc(0x2b7)](t[_0x2528bc(0x20e)]['UNIVER_SHEET'])['getUnitId']();}['_getUnitIDDoc'](){const _0x44f6e2=_0x33cc6a;return this[_0x44f6e2(0x2b0)][_0x44f6e2(0x2b7)](t[_0x44f6e2(0x20e)][_0x44f6e2(0x2a1)])[_0x44f6e2(0x314)]();}[_0x33cc6a(0x347)](){const _0x488d76=_0x33cc6a;return this[_0x488d76(0x2b0)][_0x488d76(0x2b7)](t[_0x488d76(0x20e)][_0x488d76(0x2a6)])[_0x488d76(0x314)]();}['_getUnitName'](_0x34fd65){const _0x110c43=_0x33cc6a;return this[_0x110c43(0x2bf)](_0x34fd65,t[_0x110c43(0x20e)]['UNIVER_SHEET']);}[_0x33cc6a(0x2bf)](_0x406e1d,_0x279fb6){const _0x237121=_0x33cc6a;var _0x263272;let _0x509aad=(_0x263272=this[_0x237121(0x2b0)][_0x237121(0x2b7)](_0x279fb6))==null?void 0x0:_0x263272['getSnapshot'](),_0x285487=_0x509aad==null?void 0x0:_0x509aad[_0x237121(0x1ed)];return typeof _0x285487=='string'&&_0x285487[_0x237121(0x375)]()?_0x285487:_0x406e1d['name'][_0x237121(0x2aa)]('.')[_0x237121(0x2b8)]()||document[_0x237121(0x268)];}async[_0x33cc6a(0x234)](){const _0x5f5d8b=_0x33cc6a;return this['_univerInstanceService'][_0x5f5d8b(0x2b7)](t[_0x5f5d8b(0x20e)]['UNIVER_SHEET'])[_0x5f5d8b(0x35c)]();}async[_0x33cc6a(0x329)](){const _0x2807ec=_0x33cc6a;return this[_0x2807ec(0x2b0)][_0x2807ec(0x2b7)](t['UniverInstanceType'][_0x2807ec(0x2a1)])['getSnapshot']();}async[_0x33cc6a(0x2e5)](){const _0x2b3753=_0x33cc6a;let _0x4776b8=this['_univerInstanceService'][_0x2b3753(0x2b7)](t[_0x2b3753(0x20e)][_0x2b3753(0x2a6)]),_0x3b36e4=this[_0x2b3753(0x229)][_0x2b3753(0x202)](_0x4776b8['getUnitId']());return _0x3b36e4==null?_0x4776b8[_0x2b3753(0x35c)]():_0x3b36e4;}['_getLinkByUnitId'](_0x21abf2,_0x73355){const _0x13df27=_0x33cc6a;let _0x4562d7=new URL(window[_0x13df27(0x31f)][_0x13df27(0x326)]);return _0x4562d7[_0x13df27(0x2dd)][_0x13df27(0x33e)]('unit',_0x21abf2),_0x4562d7['searchParams']['set'](_0x13df27(0x277),''+_0x73355),_0x4562d7['toString']();}[_0x33cc6a(0x2fa)](_0x2b7b02){const _0x172148=_0x33cc6a;let _0x586d4c=this[_0x172148(0x2b0)]['getCurrentUnitOfType'](t[_0x172148(0x20e)][_0x172148(0x351)])[_0x172148(0x314)]();this[_0x172148(0x2b0)][_0x172148(0x31b)](_0x586d4c),this[_0x172148(0x2b0)][_0x172148(0x249)](t[_0x172148(0x20e)][_0x172148(0x351)],_0x2b7b02);}['_refreshSlide'](_0x59aefa){const _0x49800d=_0x33cc6a;let _0x367565=this[_0x49800d(0x2b0)][_0x49800d(0x2b7)](t[_0x49800d(0x20e)][_0x49800d(0x2a6)])[_0x49800d(0x314)]();this[_0x49800d(0x2b0)][_0x49800d(0x31b)](_0x367565),this[_0x49800d(0x2b0)][_0x49800d(0x249)](t[_0x49800d(0x20e)][_0x49800d(0x2a6)],_0x59aefa);}['_showNetworkError'](_0x144e6c){const _0x5ede05=_0x33cc6a;if(_0x144e6c){let {code:_0x3542e9}=_0x144e6c;switch(_0x3542e9){case l['ErrorCode'][_0x5ede05(0x32d)]:this[_0x5ede05(0x1e5)][_0x5ede05(0x217)]({'type':s[_0x5ede05(0x21d)][_0x5ede05(0x25d)],'content':this['_localeService']['t'](_0x5ede05(0x353))});break;case l[_0x5ede05(0x32c)][_0x5ede05(0x267)]:this[_0x5ede05(0x1e5)]['show']({'type':s[_0x5ede05(0x21d)]['Error'],'content':this[_0x5ede05(0x245)]['t']('exchange-client.internalError')});break;default:this[_0x5ede05(0x1e5)][_0x5ede05(0x217)]({'type':s['MessageType'][_0x5ede05(0x25d)],'content':this[_0x5ede05(0x245)]['t'](_0x5ede05(0x312))});break;}return null;}return this['_messageService'][_0x5ede05(0x217)]({'type':s[_0x5ede05(0x21d)][_0x5ede05(0x25d)],'content':this[_0x5ede05(0x245)]['t'](_0x5ede05(0x312))}),null;}[_0x33cc6a(0x296)](_0x7bb48){const _0x970b70=_0x33cc6a;let _0xcf35e5='';switch(_0x7bb48){case s[_0x970b70(0x21d)][_0x970b70(0x2ab)]:_0xcf35e5=this[_0x970b70(0x245)]['t'](_0x970b70(0x240));break;case s[_0x970b70(0x21d)][_0x970b70(0x280)]:_0xcf35e5=this[_0x970b70(0x245)]['t'](_0x970b70(0x27c));break;default:break;}this[_0x970b70(0x1e5)][_0x970b70(0x217)]({'type':_0x7bb48,'content':_0xcf35e5});}['_showUploadMessage'](_0x1cbf9f){const _0x2e6b1f=_0x33cc6a;let _0x4a931b='';switch(_0x1cbf9f){case s[_0x2e6b1f(0x21d)]['Success']:_0x4a931b=this[_0x2e6b1f(0x245)]['t'](_0x2e6b1f(0x203));break;case s[_0x2e6b1f(0x21d)][_0x2e6b1f(0x280)]:_0x4a931b=this[_0x2e6b1f(0x245)]['t'](_0x2e6b1f(0x313));break;default:break;}this[_0x2e6b1f(0x1e5)]['show']({'type':_0x1cbf9f,'content':_0x4a931b});}[_0x33cc6a(0x290)](){const _0x53925f=_0x33cc6a;this[_0x53925f(0x22b)]['next']({'done':this[_0x53925f(0x27d)],'count':this[_0x53925f(0x34c)]});}[_0x33cc6a(0x23f)](_0x1ba80b){const _0x1a2789=_0x33cc6a;this[_0x1a2789(0x34c)]+=_0x1ba80b,this[_0x1a2789(0x290)]();}[_0x33cc6a(0x26d)](_0x16847c){const _0x447717=_0x33cc6a;this['_doneUploadTaskCount']+=_0x16847c,this['_doneUploadTaskCount']=Math[_0x447717(0x250)](this['_doneUploadTaskCount'],this['_totalUploadTaskCount']),this[_0x447717(0x290)]();}[_0x33cc6a(0x358)](){const _0x2f0fb3=_0x33cc6a;this[_0x2f0fb3(0x27d)]=this[_0x2f0fb3(0x34c)],this[_0x2f0fb3(0x290)]();}[_0x33cc6a(0x237)](){const _0x5ae09c=_0x33cc6a;this[_0x5ae09c(0x27d)]=0x0,this[_0x5ae09c(0x34c)]=0x0,this[_0x5ae09c(0x290)]();}[_0x33cc6a(0x308)](_0x508ff7,_0x2ba4e8){const _0x79aa24=_0x33cc6a;let _0x4fe398=_0x508ff7[0x0],_0x317c01=_0x4fe398[_0x79aa24(0x1ed)];return D(_0x4fe398)===_0x2ba4e8?!0x1:(this[_0x79aa24(0x1e5)][_0x79aa24(0x217)]({'type':s[_0x79aa24(0x21d)][_0x79aa24(0x25d)],'content':this[_0x79aa24(0x245)]['t'](_0x79aa24(0x21f),_0x317c01)}),!0x0);}[_0x33cc6a(0x32f)](){const _0x3a28be=_0x33cc6a;return this[_0x3a28be(0x34c)]!==0x0&&this['_doneUploadTaskCount']!==this['_totalUploadTaskCount'];}};J=P([N(0x0,(0x0,t[_0x33cc6a(0x218)])(t['IUniverInstanceService'])),N(0x1,i[_0x33cc6a(0x286)]),N(0x2,(0x0,t[_0x33cc6a(0x218)])(t[_0x33cc6a(0x24d)])),N(0x3,(0x0,t[_0x33cc6a(0x218)])(G)),N(0x4,(0x0,t[_0x33cc6a(0x218)])(_)),N(0x5,t[_0x33cc6a(0x37b)]),N(0x6,(0x0,t[_0x33cc6a(0x218)])(t[_0x33cc6a(0x274)]))],J);function Y(_0x2e3478){const _0x1e0552=_0x33cc6a;let {onClick:_0x5a18ff,children:_0x3b5693,className:_0x3dc971}=_0x2e3478;return(0x0,c[_0x1e0552(0x304)])(_0x1e0552(0x21e),{'className':(0x0,s[_0x1e0552(0x349)])(_0x1e0552(0x32e),_0x3dc971),'type':'button','onClick':_0x5a18ff,'children':_0x3b5693});}function X(){const _0x3a35fe=_0x33cc6a;let _0x3e2398=(0x0,i['useDependency'])(q),_0x52ac8d=(0x0,i['useDependency'])(t[_0x3a35fe(0x24d)]);function _0x37b662(){const _0x47ee80=_0x3a35fe;_0x3e2398[_0x47ee80(0x2fc)]();}return(0x0,c['jsx'])(Y,{'onClick':_0x37b662,'children':_0x52ac8d['t'](_0x3a35fe(0x321))});}function _0x4275(_0x4edc4d,_0x4742cd){_0x4edc4d=_0x4edc4d-0x1e1;const _0x5a1096=_0x5a10();let _0x42758e=_0x5a1096[_0x4edc4d];return _0x42758e;}function me(){const _0x199356=_0x33cc6a;return(0x0,c['jsxs'])(_0x199356(0x23b),{'className':_0x199356(0x298),'children':[(0x0,c[_0x199356(0x304)])(_0x199356(0x26c),{'className':_0x199356(0x257),'children':(0x0,i[_0x199356(0x2e3)])(t['LocaleService'])['t']('exchange-client.interrupt')}),(0x0,c[_0x199356(0x304)])(X,{})]});}function he(_0x420e2f){const _0x319efc=_0x33cc6a;let {count:_0x43c06e}=_0x420e2f;return(0x0,c[_0x319efc(0x342)])(_0x319efc(0x23b),{'className':'univer-mt-3\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-2\x20univer-pr-1','children':[(0x0,c[_0x319efc(0x304)])(_0x319efc(0x26c),{'className':_0x319efc(0x2a3),'children':(0x0,i[_0x319efc(0x2e3)])(t['LocaleService'])['t'](_0x319efc(0x28d),''+_0x43c06e)}),(0x0,c[_0x319efc(0x304)])(X,{})]});}function ge(){const _0x532ce6=_0x33cc6a;let _0x2cca42=(0x0,i[_0x532ce6(0x2e3)])(q),_0x5f3568=(0x0,i[_0x532ce6(0x2e3)])(t[_0x532ce6(0x24d)]);function _0x22137f(){_0x2cca42['interrupt']();}return(0x0,c[_0x532ce6(0x304)])(Y,{'onClick':_0x22137f,'children':_0x5f3568['t'](_0x532ce6(0x318))});}function _e(){const _0x290b51=_0x33cc6a;let {count:_0x657549,done:_0x27b2c9}=(0x0,i['useObservable'])((0x0,i['useDependency'])(q)['progress$']),[_0x4c23b7,_0x3434ba]=(0x0,a[_0x290b51(0x2c6)])(_0x657549>0x0?_0x27b2c9/_0x657549:0x0);return(0x0,a[_0x290b51(0x2b4)])(()=>{_0x3434ba(_0x657549>0x0?_0x27b2c9/_0x657549:0x0);},[_0x657549,_0x27b2c9]),(0x0,c[_0x290b51(0x304)])(_0x290b51(0x23b),{'className':_0x290b51(0x1f9),'children':(0x0,c['jsx'])(_0x290b51(0x23b),{'className':'univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','style':{'width':Math[_0x290b51(0x344)](_0x4c23b7*0x64)+'%'}})});}function ve(){const _0x25b8b6=_0x33cc6a;return(0x0,c[_0x25b8b6(0x342)])(_0x25b8b6(0x23b),{'className':'univer-mt-5\x20univer-flex\x20univer-flex-col','children':[(0x0,c[_0x25b8b6(0x304)])(_0x25b8b6(0x26c),{'className':_0x25b8b6(0x2a9),'children':(0x0,i['useDependency'])(t['LocaleService'])['t'](_0x25b8b6(0x220))}),(0x0,c[_0x25b8b6(0x304)])(_0x25b8b6(0x23b),{'className':_0x25b8b6(0x2f4),'children':(0x0,c['jsx'])(_e,{})}),(0x0,c[_0x25b8b6(0x304)])(ge,{})]});}const ye={0x1:(0x0,c[_0x33cc6a(0x304)])(r['SuccessIcon'],{'className':_0x33cc6a(0x26b)}),0x0:(0x0,c[_0x33cc6a(0x304)])(r[_0x33cc6a(0x205)],{'className':_0x33cc6a(0x255)}),0x2:(0x0,c[_0x33cc6a(0x304)])(r[_0x33cc6a(0x246)],{'className':'univer-text-red-500'})};function be(){const _0x4cbc38=_0x33cc6a;let [_0x1be1a0,_0x365bb8]=(0x0,a['useState'])(0x0),[_0x3f53ec,_0x50490d]=(0x0,a[_0x4cbc38(0x2c6)])(!0x1),[_0x2289c6,_0x4655ac]=(0x0,a[_0x4cbc38(0x2c6)])([]),_0x255ab8=(0x0,i['useDependency'])(_),_0x27eac1=(0x0,i[_0x4cbc38(0x2e3)])(t[_0x4cbc38(0x24d)]);(0x0,a[_0x4cbc38(0x2b4)])(()=>{const _0x282b9b=_0x4cbc38;let _0x35814b=_0x255ab8['visible$'][_0x282b9b(0x2fd)](_0x7c9826=>{_0x50490d(_0x7c9826);}),_0x40bdba=_0x255ab8[_0x282b9b(0x2dc)][_0x282b9b(0x2fd)](_0x1360ae=>{_0x4655ac(_0x1360ae);}),_0x303bc4=_0x255ab8[_0x282b9b(0x2bd)][_0x282b9b(0x2fd)](_0xa86446=>{_0x365bb8(_0xa86446);});return()=>{const _0x28f7e0=_0x282b9b;_0x35814b[_0x28f7e0(0x1fa)](),_0x40bdba[_0x28f7e0(0x1fa)](),_0x303bc4[_0x28f7e0(0x1fa)]();};},[]);function _0x41fe74(){_0x50490d(!0x1);}function _0x4f8e2d(_0x181b72){const _0xb0582b=_0x4cbc38;switch(_0x181b72){case 0x1:return _0x27eac1['t'](_0xb0582b(0x203));case 0x0:return _0x27eac1['t']('exchange-client.uploading');case 0x2:return _0x27eac1['t'](_0xb0582b(0x2ba));default:return'';}}return _0x3f53ec&&(0x0,c[_0x4cbc38(0x342)])(_0x4cbc38(0x23b),{'className':_0x4cbc38(0x322),'children':[(0x0,c['jsxs'])(_0x4cbc38(0x23b),{'className':_0x4cbc38(0x2f8),'children':[(0x0,c[_0x4cbc38(0x342)])(_0x4cbc38(0x26c),{'className':_0x4cbc38(0x297),'children':[(0x0,c[_0x4cbc38(0x304)])(_0x4cbc38(0x26c),{'className':_0x4cbc38(0x269),'children':ye[_0x1be1a0]}),(0x0,c[_0x4cbc38(0x304)])(_0x4cbc38(0x26c),{'className':_0x4cbc38(0x29e),'children':_0x4f8e2d(_0x1be1a0)})]}),(0x0,c[_0x4cbc38(0x304)])(_0x4cbc38(0x26c),{'className':_0x4cbc38(0x222),'onClick':_0x41fe74,'children':(0x0,c[_0x4cbc38(0x304)])(r[_0x4cbc38(0x279)],{})})]}),(0x0,c['jsxs'])(_0x4cbc38(0x23b),{'children':[_0x1be1a0===0x0&&(0x0,c['jsx'])(ve,{}),_0x1be1a0===0x2&&(0x0,c['jsx'])(me,{}),_0x2289c6[_0x4cbc38(0x2a7)]>0x0&&(0x0,c['jsx'])(ie,{'list':_0x2289c6}),_0x1be1a0===0x1&&(0x0,c['jsx'])(he,{'count':_0x2289c6[_0x4cbc38(0x2a7)]})]})]});}function Z(){return(0x0,c['jsx'])(be,{});}let Q=class extends t[_0x33cc6a(0x1f3)]{constructor(_0xc0729c,_0x189b81,_0x41e356){const _0x446ce2=_0x33cc6a;super(),this['_injector']=_0xc0729c,this[_0x446ce2(0x26f)]=_0x189b81,this[_0x446ce2(0x261)]=_0x41e356,this[_0x446ce2(0x275)](),this[_0x446ce2(0x327)]();}[_0x33cc6a(0x275)](){const _0x32c06e=_0x33cc6a;this[_0x32c06e(0x2b5)](this['_iconManager'][_0x32c06e(0x247)]({'DirectExportIcon':r[_0x32c06e(0x223)]}));}[_0x33cc6a(0x327)](){const _0x386565=_0x33cc6a;this[_0x386565(0x2b5)](this[_0x386565(0x26f)][_0x386565(0x210)](i[_0x386565(0x1e3)][_0x386565(0x235)],()=>(0x0,i['connectInjector'])(Z,this[_0x386565(0x258)])));}};Q=P([N(0x0,(0x0,t[_0x33cc6a(0x218)])(t[_0x33cc6a(0x206)])),N(0x1,i[_0x33cc6a(0x244)]),N(0x2,(0x0,t['Inject'])(i[_0x33cc6a(0x362)]))],Q);let $=class extends t[_0x33cc6a(0x25c)]{constructor(_0x3cd019=p,_0x29f25e,_0x426c0b){const _0x1078ae=_0x33cc6a;super(),this['_config']=_0x3cd019,this['_injector']=_0x29f25e,this[_0x1078ae(0x2d5)]=_0x426c0b;let {..._0x51f562}=(0x0,t[_0x1078ae(0x2eb)])({},p,this[_0x1078ae(0x332)]);this[_0x1078ae(0x2d5)]['setConfig'](f,_0x51f562);}[_0x33cc6a(0x208)](){const _0x4abd83=_0x33cc6a;(0x0,t[_0x4abd83(0x2ad)])(this[_0x4abd83(0x258)],[[Q],[q,{'useClass':J}],[G,{'useClass':K}],[F,{'useClass':I}],[_,{'useClass':v}]]);}[_0x33cc6a(0x23a)](){const _0x42015b=_0x33cc6a;(0x0,t[_0x42015b(0x2ec)])(this[_0x42015b(0x258)],[[Q],[q]]);}};g($,_0x33cc6a(0x254),'UNIVER_EXCHANGE_CLIENT_PLUGIN'),g($,_0x33cc6a(0x21c),m),g($,'version',ee),$=P([(0x0,t[_0x33cc6a(0x361)])(n['UniverNetworkPlugin'],e['UniverLicensePlugin']),N(0x1,(0x0,t['Inject'])(t[_0x33cc6a(0x206)])),N(0x2,t[_0x33cc6a(0x25a)])],$),exports[_0x33cc6a(0x27e)]=f,Object['defineProperty'](exports,'ExchangeOperateService',{'enumerable':!0x0,'get':function(){return J;}}),Object[_0x33cc6a(0x26e)](exports,_0x33cc6a(0x23d),{'enumerable':!0x0,'get':function(){return K;}}),exports['IExchangeOperateService']=q,exports['IExchangeService']=G,exports[_0x33cc6a(0x376)]=F,exports[_0x33cc6a(0x25e)]=_,Object[_0x33cc6a(0x26e)](exports,'RequestService',{'enumerable':!0x0,'get':function(){return I;}}),Object['defineProperty'](exports,_0x33cc6a(0x350),{'enumerable':!0x0,'get':function(){return $;}}),exports['UploadNotificationContainer']=Z,exports[_0x33cc6a(0x1f4)]=v,exports[_0x33cc6a(0x294)]=re,exports[_0x33cc6a(0x2ff)]=E,exports[_0x33cc6a(0x1e8)]=D,exports[_0x33cc6a(0x265)]=k,exports[_0x33cc6a(0x24e)]=z,exports['transformSlideDataToSnapshotJson']=B,exports[_0x33cc6a(0x2c3)]=H,exports['transformSnapshotJsonToSlideData']=U,exports[_0x33cc6a(0x212)]=V,exports[_0x33cc6a(0x379)]=R;
|
package/lib/cjs/locale/ar-SA.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x133b(_0x3d164a,_0x5a792c){_0x3d164a=_0x3d164a-0xf7;const _0x5d563b=_0x5d56();let _0x133bde=_0x5d563b[_0x3d164a];return _0x133bde;}const _0x18a686=_0x133b;function _0x5d56(){const _0x4ba351=['10hhXAOx','تم\x20التحميل\x20بنجاح','4339720zRXImS','658654REdrwx','إلغاء','يرجى\x20الانتظار...','22490010hwCfpv','152088oPXftf','خطأ\x20في\x20الشبكة','جارٍ\x20التحميل','إعادة\x20الرفع','458790NTkEkE','3995948EJrDpq','60rBVNmI','تم\x20رفع\x20الملف\x20بنجاح','تم\x20رفع\x20{0}\x20ملف/ملفات\x20بنجاح','خطأ\x20غير\x20معروف','نوع\x20الملف\x20المحدد\x20[{0}]\x20غير\x20مدعوم\x20للرفع','البيانات\x20كبيرة\x20جداً','جارٍ\x20الرفع','خطأ\x20داخلي\x20غير\x20معروف','4014927kDvfvq'];_0x5d56=function(){return _0x4ba351;};return _0x5d56();}(function(_0x155deb,_0x1fbc8c){const _0xa7801c=_0x133b,_0x14032f=_0x155deb();while(!![]){try{const _0x2e7233=-parseInt(_0xa7801c(0x108))/0x1+parseInt(_0xa7801c(0x105))/0x2*(-parseInt(_0xa7801c(0x10c))/0x3)+parseInt(_0xa7801c(0xfb))/0x4+-parseInt(_0xa7801c(0xfa))/0x5*(parseInt(_0xa7801c(0xfc))/0x6)+-parseInt(_0xa7801c(0x104))/0x7+-parseInt(_0xa7801c(0x107))/0x8+parseInt(_0xa7801c(0x10b))/0x9;if(_0x2e7233===_0x1fbc8c)break;else _0x14032f['push'](_0x14032f['shift']());}catch(_0x482444){_0x14032f['push'](_0x14032f['shift']());}}}(_0x5d56,0x86cc9));const e={'exchange-client':{'uploading':_0x18a686(0x102),'uploadSuccess':_0x18a686(0xfd),'uploadSuccessTip':_0x18a686(0xfe),'downloading':_0x18a686(0xf8),'downloadSuccess':_0x18a686(0x106),'unknownMistake':_0x18a686(0xff),'networkError':_0x18a686(0xf7),'tooLarge':_0x18a686(0x101),'internalError':_0x18a686(0x103),'interrupt':'تمت\x20مقاطعة\x20الاتصال\x20بالشبكة\x20وفشل\x20رفع\x20الملف','fileTypeError':_0x18a686(0x100),'wait':_0x18a686(0x10a),'cancel':_0x18a686(0x109),'uploadAgain':_0x18a686(0xf9)}};module['exports']=e;
|
package/lib/cjs/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x9d60ee=_0x442c;function _0x442c(_0x35f91c,_0x5bd45b){_0x35f91c=_0x35f91c-0x13a;const _0x3a6161=_0x3a61();let _0x442c24=_0x3a6161[_0x35f91c];return _0x442c24;}(function(_0x10a9f2,_0x11413c){const _0x1c6800=_0x442c,_0x1784e2=_0x10a9f2();while(!![]){try{const _0x476b5a=parseInt(_0x1c6800(0x146))/0x1*(parseInt(_0x1c6800(0x14a))/0x2)+parseInt(_0x1c6800(0x13e))/0x3*(-parseInt(_0x1c6800(0x14c))/0x4)+-parseInt(_0x1c6800(0x149))/0x5+-parseInt(_0x1c6800(0x145))/0x6+-parseInt(_0x1c6800(0x13f))/0x7*(parseInt(_0x1c6800(0x13c))/0x8)+parseInt(_0x1c6800(0x148))/0x9*(-parseInt(_0x1c6800(0x13d))/0xa)+parseInt(_0x1c6800(0x144))/0xb;if(_0x476b5a===_0x11413c)break;else _0x1784e2['push'](_0x1784e2['shift']());}catch(_0x1cfdcb){_0x1784e2['push'](_0x1784e2['shift']());}}}(_0x3a61,0xe58b6));const e={'exchange-client':{'uploading':_0x9d60ee(0x14b),'uploadSuccess':_0x9d60ee(0x13b),'uploadSuccessTip':_0x9d60ee(0x140),'downloading':_0x9d60ee(0x14e),'downloadSuccess':_0x9d60ee(0x14f),'unknownMistake':_0x9d60ee(0x150),'networkError':_0x9d60ee(0x147),'tooLarge':_0x9d60ee(0x143),'internalError':'Error\x20intern\x20desconegut','interrupt':'La\x20connexió\x20de\x20xarxa\x20s\x27ha\x20interromput\x20i\x20la\x20pujada\x20del\x20fitxer\x20ha\x20fallat','fileTypeError':_0x9d60ee(0x14d),'wait':'Espereu...','cancel':_0x9d60ee(0x141),'uploadAgain':_0x9d60ee(0x142)}};function _0x3a61(){const _0x7f0c83=['Tornar\x20a\x20pujar','Les\x20dades\x20són\x20massa\x20grans','53044684zhnVxX','975738XOsILF','1034EKSUwF','Error\x20de\x20xarxa','94257hApMTP','6589100LeaFmE','1070jeKARR','Pujant','390452rJjHXY','El\x20fitxer\x20seleccionat\x20[{0}]\x20no\x20és\x20compatible\x20per\x20pujar','Descarregant','Descàrrega\x20correcta','Error\x20desconegut','exports','Fitxer\x20pujat\x20correctament','25984LFTZqQ','1310DHdjqv','18nOXgFk','2149aWCIoh','{0}\x20fitxer(s)\x20pujat(s)\x20correctament','Cancel·lar'];_0x3a61=function(){return _0x7f0c83;};return _0x3a61();}module[_0x9d60ee(0x13a)]=e;
|
package/lib/cjs/locale/de-DE.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0xccda(_0x544600,_0xbcdf2f){_0x544600=_0x544600-0x1dd;const _0x220d7c=_0x220d();let _0xccda19=_0x220d7c[_0x544600];return _0xccda19;}function _0x220d(){const _0x5daf44=['12ktRlau','1gCRoKg','1436676dYVNdv','Datei\x20erfolgreich\x20hochgeladen','5994376yWRJwQ','Unbekannter\x20Fehler','Interner\x20unbekannter\x20Fehler','Erneut\x20hochladen','Download\x20erfolgreich','Wird\x20hochgeladen','2220LEJiFW','Abbrechen','361306vBXYIo','5534380kQXtgW','9yseezP','2555580bCtkWk','79618Coignj','Netzwerkfehler','Die\x20ausgewählte\x20Datei\x20[{0}]\x20wird\x20für\x20den\x20Upload\x20nicht\x20unterstützt','Wird\x20heruntergeladen','Bitte\x20warten...','{0}\x20Datei(en)\x20erfolgreich\x20hochgeladen','Die\x20Netzwerkverbindung\x20wurde\x20unterbrochen\x20und\x20der\x20Datei-Upload\x20ist\x20fehlgeschlagen','5227068FFNrQW'];_0x220d=function(){return _0x5daf44;};return _0x220d();}const _0x24e3c8=_0xccda;(function(_0x4fcef5,_0x27d06a){const _0x54f5fc=_0xccda,_0x813534=_0x4fcef5();while(!![]){try{const _0x4cbf2d=-parseInt(_0x54f5fc(0x1de))/0x1*(-parseInt(_0x54f5fc(0x1e9))/0x2)+-parseInt(_0x54f5fc(0x1dd))/0x3*(-parseInt(_0x54f5fc(0x1df))/0x4)+-parseInt(_0x54f5fc(0x1ea))/0x5+parseInt(_0x54f5fc(0x1ec))/0x6+parseInt(_0x54f5fc(0x1f4))/0x7+-parseInt(_0x54f5fc(0x1e1))/0x8*(-parseInt(_0x54f5fc(0x1eb))/0x9)+parseInt(_0x54f5fc(0x1e7))/0xa*(-parseInt(_0x54f5fc(0x1ed))/0xb);if(_0x4cbf2d===_0x27d06a)break;else _0x813534['push'](_0x813534['shift']());}catch(_0x5cd5e6){_0x813534['push'](_0x813534['shift']());}}}(_0x220d,0xc98e0));const e={'exchange-client':{'uploading':_0x24e3c8(0x1e6),'uploadSuccess':_0x24e3c8(0x1e0),'uploadSuccessTip':_0x24e3c8(0x1f2),'downloading':_0x24e3c8(0x1f0),'downloadSuccess':_0x24e3c8(0x1e5),'unknownMistake':_0x24e3c8(0x1e2),'networkError':_0x24e3c8(0x1ee),'tooLarge':'Daten\x20sind\x20zu\x20groß','internalError':_0x24e3c8(0x1e3),'interrupt':_0x24e3c8(0x1f3),'fileTypeError':_0x24e3c8(0x1ef),'wait':_0x24e3c8(0x1f1),'cancel':_0x24e3c8(0x1e8),'uploadAgain':_0x24e3c8(0x1e4)}};module['exports']=e;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0xca9e(_0x4dbf2f,_0x1613f3){_0x4dbf2f=_0x4dbf2f-0x1b9;const _0x1f1b81=_0x1f1b();let _0xca9e55=_0x1f1b81[_0x4dbf2f];return _0xca9e55;}const _0x324159=_0xca9e;(function(_0x7c24cb,_0x3fc1cc){const _0x432bcd=_0xca9e,_0x4e6db5=_0x7c24cb();while(!![]){try{const _0x45a132=parseInt(_0x432bcd(0x1ca))/0x1+-parseInt(_0x432bcd(0x1c3))/0x2*(parseInt(_0x432bcd(0x1cb))/0x3)+-parseInt(_0x432bcd(0x1c9))/0x4+parseInt(_0x432bcd(0x1ba))/0x5*(-parseInt(_0x432bcd(0x1c1))/0x6)+parseInt(_0x432bcd(0x1cd))/0x7*(parseInt(_0x432bcd(0x1cc))/0x8)+-parseInt(_0x432bcd(0x1b9))/0x9*(-parseInt(_0x432bcd(0x1c2))/0xa)+-parseInt(_0x432bcd(0x1cf))/0xb;if(_0x45a132===_0x3fc1cc)break;else _0x4e6db5['push'](_0x4e6db5['shift']());}catch(_0x38b183){_0x4e6db5['push'](_0x4e6db5['shift']());}}}(_0x1f1b,0x780fc));const e={'exchange-client':{'uploading':_0x324159(0x1c8),'uploadSuccess':_0x324159(0x1bd),'uploadSuccessTip':'{0}\x20file(s)\x20uploaded\x20successfully','downloading':_0x324159(0x1ce),'downloadSuccess':'Download\x20success','unknownMistake':_0x324159(0x1c0),'networkError':_0x324159(0x1c7),'tooLarge':_0x324159(0x1c5),'internalError':_0x324159(0x1bf),'interrupt':_0x324159(0x1c4),'fileTypeError':_0x324159(0x1c6),'wait':_0x324159(0x1bb),'cancel':'Cancel','uploadAgain':_0x324159(0x1bc)}};function _0x1f1b(){const _0xe7cc21=['200CbjVon','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','Data\x20is\x20too\x20large','Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','Network\x20error','Uploading','872684CyPBqm','704003KreYXx','21765USRJQu','184NicJOa','204533VRyGqS','Downloading','5564735suvXwP','9tYykNW','10910SXASCa','Please\x20wait...','Upload\x20again','File\x20uploaded\x20successfully','exports','Internal\x20unknown\x20error','Unknown\x20mistake','468LPfaaV','7354840tvlGFc'];_0x1f1b=function(){return _0xe7cc21;};return _0x1f1b();}module[_0x324159(0x1be)]=e;
|
package/lib/cjs/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x180b(_0x5399c3,_0x16db77){_0x5399c3=_0x5399c3-0x89;const _0x454549=_0x4545();let _0x180be5=_0x454549[_0x5399c3];return _0x180be5;}const _0x35ba04=_0x180b;(function(_0x4c8a91,_0x1460da){const _0x185bd2=_0x180b,_0x182959=_0x4c8a91();while(!![]){try{const _0x5b29e5=-parseInt(_0x185bd2(0x9c))/0x1*(-parseInt(_0x185bd2(0x9d))/0x2)+-parseInt(_0x185bd2(0x90))/0x3+parseInt(_0x185bd2(0x92))/0x4*(-parseInt(_0x185bd2(0x95))/0x5)+parseInt(_0x185bd2(0x8f))/0x6+parseInt(_0x185bd2(0x89))/0x7*(-parseInt(_0x185bd2(0x9b))/0x8)+parseInt(_0x185bd2(0x96))/0x9*(parseInt(_0x185bd2(0x99))/0xa)+-parseInt(_0x185bd2(0x97))/0xb*(parseInt(_0x185bd2(0x93))/0xc);if(_0x5b29e5===_0x1460da)break;else _0x182959['push'](_0x182959['shift']());}catch(_0x2537aa){_0x182959['push'](_0x182959['shift']());}}}(_0x4545,0xe7da4));const e={'exchange-client':{'uploading':'Subiendo','uploadSuccess':'Archivo\x20subido\x20exitosamente','uploadSuccessTip':_0x35ba04(0x8a),'downloading':_0x35ba04(0x9a),'downloadSuccess':_0x35ba04(0x98),'unknownMistake':_0x35ba04(0x8c),'networkError':'Error\x20de\x20red','tooLarge':'Los\x20datos\x20son\x20demasiado\x20grandes','internalError':'Error\x20interno\x20desconocido','interrupt':_0x35ba04(0x8d),'fileTypeError':_0x35ba04(0x91),'wait':_0x35ba04(0x94),'cancel':'Cancelar','uploadAgain':_0x35ba04(0x8e)}};function _0x4545(){const _0x8cf09a=['639CmfpAx','2944337GbsNhu','Descarga\x20exitosa','77360iEPjxe','Descargando','8FVlmel','278LfulhG','6794TCmXSn','1366869icwKZB','{0}\x20archivo(s)\x20subido(s)\x20exitosamente','exports','Error\x20desconocido','La\x20conexión\x20de\x20red\x20se\x20interrumpió\x20y\x20la\x20carga\x20del\x20archivo\x20falló','Subir\x20de\x20nuevo','3590166GYFQHs','383745KcQCUq','El\x20archivo\x20seleccionado\x20[{0}]\x20no\x20es\x20compatible\x20para\x20subir','1135196MpVkri','24cyPkKh','Espere...','5xSeZFO'];_0x4545=function(){return _0x8cf09a;};return _0x4545();}module[_0x35ba04(0x8b)]=e;
|
package/lib/cjs/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x5e01ac=_0x41e9;function _0x51c5(){const _0x2e23bf=['اتصال\x20شبکه\x20قطع\x20شد\x20و\x20بارگذاری\x20فایل\x20ناموفق\x20بود.','128BEaXEl','36VLvlKJ','409171hsMaDN','لغو','{0}\x20فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','فایل\x20انتخاب\x20شده\x20[{0}]\x20برای\x20بارگذاری\x20پشتیبانی\x20نمیشود','فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','بارگذاری\x20مجدد','5927090tSIWWL','259839uivKip','19TQutvE','دانلود\x20موفقیت\x20آمیز','لطفا\x20صبر\x20کنید...','2587981BTLfAY','exports','خطای\x20داخلی\x20ناشناخته','خطای\x20ناشناخته','داده\x20خیلی\x20بزرگ\x20است','4791745ckZVea','100676EHPCpD','4kuVgXO','1375575qqSYsK'];_0x51c5=function(){return _0x2e23bf;};return _0x51c5();}(function(_0x51e093,_0x58c20d){const _0x5821=_0x41e9,_0x3019d3=_0x51e093();while(!![]){try{const _0x31402f=parseInt(_0x5821(0x18a))/0x1*(-parseInt(_0x5821(0x193))/0x2)+-parseInt(_0x5821(0x195))/0x3*(parseInt(_0x5821(0x194))/0x4)+parseInt(_0x5821(0x192))/0x5+-parseInt(_0x5821(0x198))/0x6*(-parseInt(_0x5821(0x199))/0x7)+parseInt(_0x5821(0x197))/0x8*(parseInt(_0x5821(0x1a0))/0x9)+parseInt(_0x5821(0x19f))/0xa+-parseInt(_0x5821(0x18d))/0xb;if(_0x31402f===_0x58c20d)break;else _0x3019d3['push'](_0x3019d3['shift']());}catch(_0x364d70){_0x3019d3['push'](_0x3019d3['shift']());}}}(_0x51c5,0xae316));function _0x41e9(_0x39bf2a,_0x5dceee){_0x39bf2a=_0x39bf2a-0x18a;const _0x51c5f9=_0x51c5();let _0x41e970=_0x51c5f9[_0x39bf2a];return _0x41e970;}const e={'exchange-client':{'uploading':'در\x20حال\x20بارگذاری','uploadSuccess':_0x5e01ac(0x19d),'uploadSuccessTip':_0x5e01ac(0x19b),'downloading':'در\x20حال\x20دانلود','downloadSuccess':_0x5e01ac(0x18b),'unknownMistake':_0x5e01ac(0x190),'networkError':'خطای\x20شبکه','tooLarge':_0x5e01ac(0x191),'internalError':_0x5e01ac(0x18f),'interrupt':_0x5e01ac(0x196),'fileTypeError':_0x5e01ac(0x19c),'wait':_0x5e01ac(0x18c),'cancel':_0x5e01ac(0x19a),'uploadAgain':_0x5e01ac(0x19e)}};module[_0x5e01ac(0x18e)]=e;
|
package/lib/cjs/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x38f2(){const _0x11ff6a=['Veuillez\x20patienter...','{0}\x20fichier(s)\x20téléchargé(s)\x20avec\x20succès','Fichier\x20téléchargé\x20avec\x20succès','Le\x20fichier\x20sélectionné\x20[{0}]\x20n\x27est\x20pas\x20pris\x20en\x20charge\x20pour\x20le\x20téléchargement','1504454pIKmFe','exports','Erreur\x20réseau','8gtRkdt','246pNgBET','Les\x20données\x20sont\x20trop\x20volumineuses','1524254XNimGK','248149MahAin','21leizQi','940KtqNfJ','Téléchargement','4849587xQEgOA','38050IpRgiX','Téléchargement\x20réussi','Télécharger\x20à\x20nouveau','6851089xnhevd','30956VBCOob','Annuler','La\x20connexion\x20réseau\x20a\x20été\x20interrompue\x20et\x20le\x20téléchargement\x20du\x20fichier\x20a\x20échoué'];_0x38f2=function(){return _0x11ff6a;};return _0x38f2();}function _0x1c29(_0x4d6e62,_0xda60f1){_0x4d6e62=_0x4d6e62-0x174;const _0x38f2f2=_0x38f2();let _0x1c2942=_0x38f2f2[_0x4d6e62];return _0x1c2942;}const _0x2d1cff=_0x1c29;(function(_0x1b67ce,_0x4c33a2){const _0x51432f=_0x1c29,_0x270001=_0x1b67ce();while(!![]){try{const _0x259cdb=parseInt(_0x51432f(0x183))/0x1+parseInt(_0x51432f(0x17d))/0x2+-parseInt(_0x51432f(0x185))/0x3*(-parseInt(_0x51432f(0x176))/0x4)+parseInt(_0x51432f(0x189))/0x5*(parseInt(_0x51432f(0x181))/0x6)+parseInt(_0x51432f(0x175))/0x7+-parseInt(_0x51432f(0x180))/0x8*(parseInt(_0x51432f(0x188))/0x9)+-parseInt(_0x51432f(0x186))/0xa*(parseInt(_0x51432f(0x184))/0xb);if(_0x259cdb===_0x4c33a2)break;else _0x270001['push'](_0x270001['shift']());}catch(_0x48e7f7){_0x270001['push'](_0x270001['shift']());}}}(_0x38f2,0xeadd2));const e={'exchange-client':{'uploading':'Téléchargement\x20en\x20cours','uploadSuccess':_0x2d1cff(0x17b),'uploadSuccessTip':_0x2d1cff(0x17a),'downloading':_0x2d1cff(0x187),'downloadSuccess':_0x2d1cff(0x18a),'unknownMistake':'Erreur\x20inconnue','networkError':_0x2d1cff(0x17f),'tooLarge':_0x2d1cff(0x182),'internalError':'Erreur\x20interne\x20inconnue','interrupt':_0x2d1cff(0x178),'fileTypeError':_0x2d1cff(0x17c),'wait':_0x2d1cff(0x179),'cancel':_0x2d1cff(0x177),'uploadAgain':_0x2d1cff(0x174)}};module[_0x2d1cff(0x17e)]=e;
|
package/lib/cjs/locale/id-ID.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x32e090=_0x19c8;function _0x47b6(){const _0x3315d6=['1451304IsNvcl','Koneksi\x20jaringan\x20terputus\x20dan\x20unggahan\x20file\x20gagal','Kesalahan\x20internal\x20tidak\x20diketahui','4404YNejoP','83076vvUYNE','Batal','5315inElhI','Kesalahan\x20tidak\x20diketahui','473YqvTav','198auPxEp','24WPuSEd','exports','318UIMeiU','Unduhan\x20berhasil','4YxUDjf','129970WqCGIY','178392FEMZNw','793758vAzcnR','Data\x20terlalu\x20besar','File\x20yang\x20dipilih\x20[{0}]\x20tidak\x20didukung\x20untuk\x20diunggah','Mengunggah','Harap\x20tunggu...'];_0x47b6=function(){return _0x3315d6;};return _0x47b6();}function _0x19c8(_0x3ffa71,_0x82f3b2){_0x3ffa71=_0x3ffa71-0x1f0;const _0x47b6b6=_0x47b6();let _0x19c8e0=_0x47b6b6[_0x3ffa71];return _0x19c8e0;}(function(_0x87a7f8,_0x98a6a7){const _0x14b1fd=_0x19c8,_0x4d9a79=_0x87a7f8();while(!![]){try{const _0x2c218f=parseInt(_0x14b1fd(0x1f3))/0x1*(parseInt(_0x14b1fd(0x1f1))/0x2)+parseInt(_0x14b1fd(0x1fc))/0x3*(-parseInt(_0x14b1fd(0x203))/0x4)+-parseInt(_0x14b1fd(0x1ff))/0x5*(-parseInt(_0x14b1fd(0x205))/0x6)+parseInt(_0x14b1fd(0x1f4))/0x7+-parseInt(_0x14b1fd(0x1f9))/0x8+-parseInt(_0x14b1fd(0x202))/0x9*(parseInt(_0x14b1fd(0x1f2))/0xa)+parseInt(_0x14b1fd(0x201))/0xb*(parseInt(_0x14b1fd(0x1fd))/0xc);if(_0x2c218f===_0x98a6a7)break;else _0x4d9a79['push'](_0x4d9a79['shift']());}catch(_0x4dc0b4){_0x4d9a79['push'](_0x4d9a79['shift']());}}}(_0x47b6,0x54f93));const e={'exchange-client':{'uploading':_0x32e090(0x1f7),'uploadSuccess':'File\x20berhasil\x20diunggah','uploadSuccessTip':'{0}\x20file\x20berhasil\x20diunggah','downloading':'Mengunduh','downloadSuccess':_0x32e090(0x1f0),'unknownMistake':_0x32e090(0x200),'networkError':'Kesalahan\x20jaringan','tooLarge':_0x32e090(0x1f5),'internalError':_0x32e090(0x1fb),'interrupt':_0x32e090(0x1fa),'fileTypeError':_0x32e090(0x1f6),'wait':_0x32e090(0x1f8),'cancel':_0x32e090(0x1fe),'uploadAgain':'Unggah\x20ulang'}};module[_0x32e090(0x204)]=e;
|
package/lib/cjs/locale/it-IT.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4ae000=_0x4bf0;function _0x4bf0(_0x29e65d,_0x40e2eb){_0x29e65d=_0x29e65d-0x13e;const _0x49d51f=_0x49d5();let _0x4bf09d=_0x49d51f[_0x29e65d];return _0x4bf09d;}(function(_0x2cf064,_0x3bb553){const _0x1d5a4b=_0x4bf0,_0x870d92=_0x2cf064();while(!![]){try{const _0x33353f=parseInt(_0x1d5a4b(0x140))/0x1*(parseInt(_0x1d5a4b(0x13e))/0x2)+-parseInt(_0x1d5a4b(0x146))/0x3*(-parseInt(_0x1d5a4b(0x150))/0x4)+parseInt(_0x1d5a4b(0x142))/0x5*(parseInt(_0x1d5a4b(0x14a))/0x6)+parseInt(_0x1d5a4b(0x154))/0x7+-parseInt(_0x1d5a4b(0x152))/0x8+parseInt(_0x1d5a4b(0x149))/0x9+parseInt(_0x1d5a4b(0x144))/0xa*(-parseInt(_0x1d5a4b(0x141))/0xb);if(_0x33353f===_0x3bb553)break;else _0x870d92['push'](_0x870d92['shift']());}catch(_0x3c52f3){_0x870d92['push'](_0x870d92['shift']());}}}(_0x49d5,0x5a936));const e={'exchange-client':{'uploading':_0x4ae000(0x14b),'uploadSuccess':_0x4ae000(0x14c),'uploadSuccessTip':_0x4ae000(0x145),'downloading':_0x4ae000(0x13f),'downloadSuccess':_0x4ae000(0x153),'unknownMistake':'Errore\x20sconosciuto','networkError':_0x4ae000(0x14e),'tooLarge':_0x4ae000(0x147),'internalError':_0x4ae000(0x14d),'interrupt':_0x4ae000(0x14f),'fileTypeError':'Il\x20file\x20selezionato\x20[{0}]\x20non\x20è\x20supportato\x20per\x20il\x20caricamento','wait':_0x4ae000(0x151),'cancel':_0x4ae000(0x148),'uploadAgain':'Carica\x20di\x20nuovo'}};function _0x49d5(){const _0x172f85=['530903vYWMPm','14718187IqOFKi','540dRpPcJ','exports','10ogbreW','{0}\x20file\x20caricati\x20con\x20successo','9GmoSzg','I\x20dati\x20sono\x20troppo\x20grandi','Annulla','2524698uhhYcB','25098adGIjc','Caricamento\x20in\x20corso','File\x20caricato\x20con\x20successo','Errore\x20interno\x20sconosciuto','Errore\x20di\x20rete','La\x20connessione\x20di\x20rete\x20è\x20stata\x20interrotta\x20e\x20il\x20caricamento\x20del\x20file\x20è\x20fallito','529028EQXnZu','Attendi...','3860016NZYDeh','Download\x20riuscito','3720899SYJjmo','2RLmfeQ','Download\x20in\x20corso'];_0x49d5=function(){return _0x172f85;};return _0x49d5();}module[_0x4ae000(0x143)]=e;
|