@univerjs-pro/exchange-client 1.0.0-alpha.0 → 1.0.0-alpha.2
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/types/services/utils/content-type.d.ts +2 -9
- 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 _0x40dc66=_0x23ae;(function(_0x2343e0,_0x55f2c6){const _0x3684d5=_0x23ae,_0x3d5eca=_0x2343e0();while(!![]){try{const _0x4d6351=-parseInt(_0x3684d5(0x20f))/0x1*(parseInt(_0x3684d5(0x214))/0x2)+-parseInt(_0x3684d5(0x205))/0x3+-parseInt(_0x3684d5(0x202))/0x4*(parseInt(_0x3684d5(0x209))/0x5)+parseInt(_0x3684d5(0x1fb))/0x6*(-parseInt(_0x3684d5(0x1f3))/0x7)+parseInt(_0x3684d5(0x1f5))/0x8+parseInt(_0x3684d5(0x217))/0x9*(-parseInt(_0x3684d5(0x1f6))/0xa)+parseInt(_0x3684d5(0x206))/0xb*(parseInt(_0x3684d5(0x200))/0xc);if(_0x4d6351===_0x55f2c6)break;else _0x3d5eca['push'](_0x3d5eca['shift']());}catch(_0x3b0081){_0x3d5eca['push'](_0x3d5eca['shift']());}}}(_0x9a4d,0x26f2b));function _0x23ae(_0x5e1b2a,_0x4730e0){_0x5e1b2a=_0x5e1b2a-0x1f3;const _0x9a4ddf=_0x9a4d();let _0x23aefd=_0x9a4ddf[_0x5e1b2a];return _0x23aefd;}let e=require('@univerjs-pro/exchange-client'),t=require('@univerjs/core'),n=require('@univerjs/core/facade');var r=class extends n[_0x40dc66(0x1f4)]{async[_0x40dc66(0x20a)](_0x57d1be){const _0x150583=_0x40dc66;let _0xb5b845=this['_injector'][_0x150583(0x1fa)](e[_0x150583(0x210)]);if(!_0xb5b845)throw Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xb5b845[_0x150583(0x20c)](_0x57d1be,t[_0x150583(0x216)][_0x150583(0x1f8)]);}async['importXLSXToSnapshotAsync'](_0x4d791c){const _0x4b8be3=_0x40dc66;let _0x4beefc=this[_0x4b8be3(0x208)]['get'](e[_0x4b8be3(0x210)]);if(!_0x4beefc)throw Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4beefc[_0x4b8be3(0x212)](_0x4d791c);}async[_0x40dc66(0x21a)](_0x2eea4a){const _0x35024c=_0x40dc66;let _0x39fd6f=this[_0x35024c(0x208)][_0x35024c(0x1fa)](e['IExchangeService']);if(!_0x39fd6f)throw Error(_0x35024c(0x21b));return _0x39fd6f[_0x35024c(0x219)](_0x2eea4a);}async[_0x40dc66(0x1ff)](_0x369b21){const _0x5226f5=_0x40dc66;let _0x278b1f=this['_injector'][_0x5226f5(0x1fa)](e[_0x5226f5(0x210)]);if(!_0x278b1f)throw Error(_0x5226f5(0x21b));return _0x278b1f[_0x5226f5(0x1f9)](_0x369b21);}async[_0x40dc66(0x201)](_0x2d9258){const _0x41df69=_0x40dc66;let _0x119ce6=this[_0x41df69(0x208)][_0x41df69(0x1fa)](e[_0x41df69(0x210)]);if(!_0x119ce6)throw Error(_0x41df69(0x21b));return _0x119ce6[_0x41df69(0x20c)](_0x2d9258,t[_0x41df69(0x216)][_0x41df69(0x20d)]);}async[_0x40dc66(0x215)](_0x441a38){const _0x58e217=_0x40dc66;let _0x4f1af4=this[_0x58e217(0x208)][_0x58e217(0x1fa)](e[_0x58e217(0x210)]);if(!_0x4f1af4)throw Error(_0x58e217(0x21b));return _0x4f1af4['importDOCXToSnapshot'](_0x441a38);}async[_0x40dc66(0x1fd)](_0x4a9997){const _0xcd3c5d=_0x40dc66;let _0x37ced0=this['_injector']['get'](e[_0xcd3c5d(0x210)]);if(!_0x37ced0)throw Error(_0xcd3c5d(0x21b));return _0x37ced0[_0xcd3c5d(0x204)](_0x4a9997);}async[_0x40dc66(0x207)](_0x329f61){const _0x5a89fc=_0x40dc66;let _0x1785b0=this[_0x5a89fc(0x208)][_0x5a89fc(0x1fa)](e[_0x5a89fc(0x210)]);if(!_0x1785b0)throw Error(_0x5a89fc(0x21b));return _0x1785b0[_0x5a89fc(0x1fe)](_0x329f61);}async[_0x40dc66(0x20e)](_0x16cf92){const _0x5bd5e2=_0x40dc66;let _0x403b1c=this[_0x5bd5e2(0x208)]['get'](e[_0x5bd5e2(0x210)]);if(!_0x403b1c)throw Error(_0x5bd5e2(0x21b));return _0x403b1c[_0x5bd5e2(0x20c)](_0x16cf92,t[_0x5bd5e2(0x216)][_0x5bd5e2(0x211)]);}async[_0x40dc66(0x1fc)](_0x39999d){const _0xa22121=_0x40dc66;let _0x1d1259=this[_0xa22121(0x208)][_0xa22121(0x1fa)](e['IExchangeService']);if(!_0x1d1259)throw Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1d1259[_0xa22121(0x218)](_0x39999d);}async[_0x40dc66(0x203)](_0x2d6009){const _0x4056a2=_0x40dc66;let _0x4329fe=this[_0x4056a2(0x208)]['get'](e[_0x4056a2(0x210)]);if(!_0x4329fe)throw Error(_0x4056a2(0x21b));return _0x4329fe['exportPPTXByUnitId'](_0x2d6009);}async[_0x40dc66(0x1f7)](_0x1c2248){const _0x16d35e=_0x40dc66;let _0x2bd767=this[_0x16d35e(0x208)]['get'](e[_0x16d35e(0x210)]);if(!_0x2bd767)throw Error(_0x16d35e(0x21b));return _0x2bd767[_0x16d35e(0x20b)](_0x1c2248);}};function _0x9a4d(){const _0x14bfc3=['96mGhhKD','exportPPTXByUnitIdAsync','exportDOCXBySnapshot','384492ZguIAA','11tPySMl','exportDOCXByUnitIdAsync','_injector','30405ULlPZU','importXLSXToUnitIdAsync','exportPPTXBySnapshot','importFileToUnitId','UNIVER_DOC','importPPTXToUnitIdAsync','13QWDIbR','IExchangeService','UNIVER_SLIDE','importXLSXToSnapshot','extend','48906udvRcw','importDOCXToSnapshotAsync','UniverInstanceType','9QIiPBw','importPPTXToSnapshot','exportXLSXByUnitId','exportXLSXByUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','6426kTrUQq','FUniver','10976qCBBvX','1872170yubvKS','exportPPTXBySnapshotAsync','UNIVER_SHEET','exportXLSXBySnapshot','get','390ftzDdE','importPPTXToSnapshotAsync','exportDOCXBySnapshotAsync','exportDOCXByUnitId','exportXLSXBySnapshotAsync','11964516wRiAef','importDOCXToUnitIdAsync'];_0x9a4d=function(){return _0x14bfc3;};return _0x9a4d();}n[_0x40dc66(0x1f4)][_0x40dc66(0x213)](r);
|
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 _0x2c0792=_0x37e6;(function(_0x411f34,_0x1df63d){const _0x12e071=_0x37e6,_0xe5a76e=_0x411f34();while(!![]){try{const _0x3e0d2c=parseInt(_0x12e071(0x203))/0x1*(-parseInt(_0x12e071(0x297))/0x2)+-parseInt(_0x12e071(0x25f))/0x3+parseInt(_0x12e071(0x27e))/0x4*(-parseInt(_0x12e071(0x2cf))/0x5)+-parseInt(_0x12e071(0x2ed))/0x6+-parseInt(_0x12e071(0x27f))/0x7*(-parseInt(_0x12e071(0x303))/0x8)+parseInt(_0x12e071(0x2d0))/0x9+parseInt(_0x12e071(0x1f6))/0xa;if(_0x3e0d2c===_0x1df63d)break;else _0xe5a76e['push'](_0xe5a76e['shift']());}catch(_0x423ea3){_0xe5a76e['push'](_0xe5a76e['shift']());}}}(_0x243f,0x19201),Object[_0x2c0792(0x310)](exports,Symbol[_0x2c0792(0x319)],{'value':'Module'}));let e=require('@univerjs-pro/license'),t=require('@univerjs/core'),n=require('@univerjs/network'),r=require('@univerjs/icons'),i=require('@univerjs/ui'),a=require('react'),o=require('rxjs'),s=require('@univerjs/design'),c=require('react/jsx-runtime'),l=require('@univerjs/protocol'),u=require('@univerjs-pro/collaboration'),d=require('fflate');const f='exchange-client.config',p={};var m=_0x2c0792(0x2f8),ee=_0x2c0792(0x375);function h(_0x18f434){'@babel/helpers - typeof';const _0x3fc535=_0x2c0792;return h=typeof Symbol==_0x3fc535(0x347)&&typeof Symbol[_0x3fc535(0x272)]=='symbol'?function(_0x4655b0){return typeof _0x4655b0;}:function(_0x73bf45){const _0x1de5c8=_0x3fc535;return _0x73bf45&&typeof Symbol==_0x1de5c8(0x347)&&_0x73bf45['constructor']===Symbol&&_0x73bf45!==Symbol[_0x1de5c8(0x254)]?_0x1de5c8(0x29b):typeof _0x73bf45;},h(_0x18f434);}function te(_0x839388,_0x4d1b46){const _0x41b76c=_0x2c0792;if(h(_0x839388)!='object'||!_0x839388)return _0x839388;var _0x184015=_0x839388[Symbol[_0x41b76c(0x2e6)]];if(_0x184015!==void 0x0){var _0x2662c8=_0x184015[_0x41b76c(0x26f)](_0x839388,_0x4d1b46||_0x41b76c(0x2de));if(h(_0x2662c8)!='object')return _0x2662c8;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x4d1b46===_0x41b76c(0x33b)?String:Number)(_0x839388);}function ne(_0x14d903){const _0x24aeaa=_0x2c0792;var _0xbcd4d9=te(_0x14d903,_0x24aeaa(0x33b));return h(_0xbcd4d9)==_0x24aeaa(0x29b)?_0xbcd4d9:_0xbcd4d9+'';}function g(_0x3f63b4,_0x351f40,_0x1dc807){const _0x181104=_0x2c0792;return(_0x351f40=ne(_0x351f40))in _0x3f63b4?Object[_0x181104(0x310)](_0x3f63b4,_0x351f40,{'value':_0x1dc807,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3f63b4[_0x351f40]=_0x1dc807,_0x3f63b4;}let re=function(_0x4d0d88){const _0x471367=_0x2c0792;return _0x4d0d88[_0x4d0d88[_0x471367(0x290)]=0x0]=_0x471367(0x290),_0x4d0d88[_0x4d0d88[_0x471367(0x22c)]=0x1]=_0x471367(0x22c),_0x4d0d88[_0x4d0d88['ERROR']=0x2]=_0x471367(0x2cb),_0x4d0d88;}({});const _=(0x0,t[_0x2c0792(0x242)])('univer-pro.exchange-client.upload-notification.service');var v=class extends t['Disposable']{constructor(){const _0x3de91f=_0x2c0792;super(),g(this,_0x3de91f(0x354),new o[(_0x3de91f(0x208))]()),g(this,_0x3de91f(0x2ce),new o['Subject']()),g(this,_0x3de91f(0x220),new o['Subject']()),g(this,_0x3de91f(0x2c6),this[_0x3de91f(0x354)][_0x3de91f(0x25a)]()),g(this,_0x3de91f(0x278),this[_0x3de91f(0x2ce)][_0x3de91f(0x25a)]()),g(this,_0x3de91f(0x29c),this[_0x3de91f(0x220)][_0x3de91f(0x25a)]()),g(this,_0x3de91f(0x263),[]);}['dispose'](){const _0x4849eb=_0x2c0792;super[_0x4849eb(0x33f)](),this[_0x4849eb(0x354)][_0x4849eb(0x36e)](),this[_0x4849eb(0x2ce)][_0x4849eb(0x36e)](),this[_0x4849eb(0x220)][_0x4849eb(0x36e)]();}[_0x2c0792(0x313)](){const _0x89615f=_0x2c0792;this[_0x89615f(0x354)][_0x89615f(0x320)](!0x0);}[_0x2c0792(0x37c)](){const _0x35d55f=_0x2c0792;this[_0x35d55f(0x354)][_0x35d55f(0x320)](!0x1);}[_0x2c0792(0x2e4)](_0x3db51b){const _0x493f14=_0x2c0792;this[_0x493f14(0x2ce)][_0x493f14(0x320)](_0x3db51b);}[_0x2c0792(0x206)](_0x3426a2){const _0x1ddd32=_0x2c0792;this[_0x1ddd32(0x263)][_0x1ddd32(0x2ab)](_0x3426a2),this[_0x1ddd32(0x220)][_0x1ddd32(0x320)](this[_0x1ddd32(0x263)]);}};function ie(_0x452020){const _0x240de2=_0x2c0792;let {list:_0x216600}=_0x452020;function _0x4199b8(_0x856316){const _0xf2098b=_0x37e6;switch(_0x856316){case 0x1:return(0x0,c['jsx'])(r[_0xf2098b(0x1f5)],{});case 0x2:return(0x0,c[_0xf2098b(0x31d)])(r[_0xf2098b(0x2e3)],{});case 0x3:return(0x0,c['jsx'])(r[_0xf2098b(0x350)],{});default:return null;}}return(0x0,c[_0x240de2(0x31d)])(_0x240de2(0x210),{'className':(0x0,s['clsx'])(_0x240de2(0x264),s[_0x240de2(0x322)]),'children':(0x0,c[_0x240de2(0x31d)])('ul',{'className':_0x240de2(0x28f),'children':_0x216600['map']((_0x4e740d,_0x4367e2)=>(0x0,c[_0x240de2(0x31d)])('li',{'children':(0x0,c[_0x240de2(0x2c2)])('a',{'className':_0x240de2(0x21b),'href':_0x4e740d[_0x240de2(0x270)],'target':_0x240de2(0x34e),'rel':_0x240de2(0x2e1),'children':[(0x0,c[_0x240de2(0x2c2)])(_0x240de2(0x2aa),{'className':_0x240de2(0x33c),'children':[(0x0,c[_0x240de2(0x31d)])(_0x240de2(0x2aa),{'className':'univer-flex\x20univer-h-5\x20univer-text-xl','children':_0x4199b8(_0x4e740d[_0x240de2(0x222)])}),(0x0,c[_0x240de2(0x31d)])(s['Tooltip'],{'showIfEllipsis':!0x0,'title':_0x4e740d[_0x240de2(0x376)],'asChild':!0x0,'children':(0x0,c[_0x240de2(0x31d)])(_0x240de2(0x2aa),{'className':_0x240de2(0x326),'children':_0x4e740d[_0x240de2(0x376)]})})]}),(0x0,c[_0x240de2(0x31d)])('span',{'className':_0x240de2(0x230),'children':(0x0,c[_0x240de2(0x31d)])(r['ShareRangeIcon'],{})})]})},_0x4367e2))})});}const y=_0x2c0792(0x229),b='application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',x='application/vnd.ms-excel.sheet.macroEnabled.12',S=_0x2c0792(0x1fe),C=_0x2c0792(0x30b),w={[t[_0x2c0792(0x257)][_0x2c0792(0x2c9)]]:[''],[t[_0x2c0792(0x257)][_0x2c0792(0x36d)]]:[y],[t[_0x2c0792(0x257)][_0x2c0792(0x295)]]:[b,x,S],[t[_0x2c0792(0x257)]['UNIVER_SLIDE']]:[C],[t['UniverInstanceType']['UNIVER_BASE']]:[''],[t['UniverInstanceType'][_0x2c0792(0x35a)]]:[''],[t[_0x2c0792(0x257)]['UNIVER_PROJECT']]:[''],[t['UniverInstanceType'][_0x2c0792(0x1f3)]]:['']},T={[y]:'docx',[b]:_0x2c0792(0x2f2),[x]:_0x2c0792(0x2f6),[S]:_0x2c0792(0x286),[C]:'pptx'};function ae(_0x499c1c,_0x1cf657,_0x422604){const _0x2d7ab1=_0x2c0792;let _0x3c60db=document[_0x2d7ab1(0x213)]('a');_0x3c60db[_0x2d7ab1(0x2fe)]=_0x499c1c,_0x3c60db[_0x2d7ab1(0x2e7)]['display']=_0x2d7ab1(0x2d3),_0x3c60db[_0x2d7ab1(0x20f)]=_0x1cf657+'.'+_0x422604,document[_0x2d7ab1(0x2b2)][_0x2d7ab1(0x20c)](_0x3c60db),_0x3c60db[_0x2d7ab1(0x240)](),document[_0x2d7ab1(0x2b2)][_0x2d7ab1(0x291)](_0x3c60db);}function E(_0x432f08,_0x8df155,_0x351497){const _0x50e5e3=_0x2c0792;let _0x5bcd10=URL[_0x50e5e3(0x34d)](_0x432f08);ae(_0x5bcd10,_0x8df155,_0x351497),URL[_0x50e5e3(0x325)](_0x5bcd10);}function D(_0x13a142){const _0x4a8770=_0x2c0792;let _0x168225=_0x13a142['name'][_0x4a8770(0x369)]('.')['pop']();if(!_0x168225)return t[_0x4a8770(0x257)][_0x4a8770(0x2c9)];let _0x4e3e3f=oe(),_0x489726=t[_0x4a8770(0x257)]['UNIVER_UNKNOWN'];return _0x4e3e3f[_0x4a8770(0x2dc)](_0x5490de=>O(_0x168225,_0x5490de)?(_0x489726=_0x5490de,!0x0):!0x1),_0x489726;}function oe(){const _0x215bbb=_0x2c0792;return Object[_0x215bbb(0x2b1)](t[_0x215bbb(0x257)])[_0x215bbb(0x334)](_0x1e94a4=>typeof _0x1e94a4==_0x215bbb(0x2a4));}function O(_0x8e1992,_0xf3cdf1){const _0x554b8e=_0x2c0792;var _0x2ba1ef;return((_0x2ba1ef=w[_0xf3cdf1])==null?[]:_0x2ba1ef)[_0x554b8e(0x337)](_0xaa7f85=>(T[_0xaa7f85]||'')[_0x554b8e(0x2af)]())['includes'](_0x8e1992[_0x554b8e(0x2af)]());}function k(_0x40f9b5,_0x3a5d88=!0x1){const _0x48dc21=_0x2c0792;let _0x4259a1=_0x40f9b5[_0x48dc21(0x337)](_0x4a6ff0=>{var _0x4686ef;return(_0x4686ef=w[_0x4a6ff0])==null?[]:_0x4686ef;})[_0x48dc21(0x23c)](',');return new Promise((_0x32cd8a,_0x347595)=>{const _0x378e11=_0x48dc21;let _0x2776fa=document[_0x378e11(0x213)](_0x378e11(0x252));_0x2776fa[_0x378e11(0x222)]='file',_0x2776fa[_0x378e11(0x346)]=_0x4259a1,_0x2776fa[_0x378e11(0x202)]=_0x3a5d88,_0x2776fa[_0x378e11(0x30f)](_0x378e11(0x37d),_0x563e9a=>{const _0x1f4bc4=_0x378e11;let _0x40a789=_0x563e9a['currentTarget'];if(!_0x40a789[_0x1f4bc4(0x265)]||_0x40a789[_0x1f4bc4(0x265)][_0x1f4bc4(0x365)]===0x0)throw _0x347595(null),Error(_0x1f4bc4(0x2b8));_0x32cd8a(_0x40a789['files']);}),_0x2776fa[_0x378e11(0x240)]();});}async function A(_0x37ebcd,_0x5f55cc){const _0x154308=_0x2c0792;try{var _0x2a5ef7,_0x26ac6c,_0x20aec5;let _0x5d21f6=await _0x5f55cc[_0x154308(0x30d)](_0x37ebcd,{'responseType':_0x154308(0x30c)}),_0x21dd9a=_0x5d21f6['body'],_0x385a5e=(_0x2a5ef7=(_0x26ac6c=_0x5d21f6[_0x154308(0x2ad)]['get'](_0x154308(0x1fb)))==null?void 0x0:_0x26ac6c['join'](',\x20'))==null?_0x154308(0x26a):_0x2a5ef7,_0x2822e4=_0x154308(0x2d5)+(T[_0x385a5e]||_0x154308(0x2f2)),_0x3251ae=(_0x20aec5=_0x5d21f6[_0x154308(0x2ad)][_0x154308(0x30d)](_0x154308(0x2db)))==null?void 0x0:_0x20aec5['join'](',\x20');if(_0x3251ae){let _0x792805=_0x3251ae['match'](/filename=(.+)/);_0x792805&&_0x792805[0x1]&&(_0x2822e4=_0x792805[0x1]);}else _0x2822e4=se(_0x37ebcd)||_0x2822e4;return new File([_0x21dd9a],_0x2822e4,{'type':_0x385a5e});}catch(_0x148282){console[_0x154308(0x20b)](_0x154308(0x267),_0x148282);return;}}function se(_0xe431cf){const _0xef1a63=_0x2c0792;try{return new URL(_0xe431cf)[_0xef1a63(0x20d)][_0xef1a63(0x369)]('/')[_0xef1a63(0x2f4)]();}catch(_0x4ebc88){console[_0xef1a63(0x20b)](_0xef1a63(0x237),_0x4ebc88);return;}}function ce(_0xc179c3){const _0x68adba=_0x2c0792;let _0x12ad2e=new Blob([_0xc179c3[_0x68adba(0x2f3)]],{'type':_0x68adba(0x348)});return new File([_0x12ad2e],_0x68adba(0x2c8));}function j(_0x5ac8d6,_0x25ec2d){const _0xe25536=_0x2c0792;return _0x5ac8d6[_0xe25536(0x32e)]('{type}',_0x25ec2d);}function M(_0x155769,_0x8066fa){const _0x260b60=_0x2c0792;return _0x155769[_0x260b60(0x32e)]('{taskID}',_0x8066fa);}function le(_0x4ec892,_0xd98e82){const _0xe4bf=_0x2c0792;return _0x4ec892[_0xe4bf(0x32e)](_0xe4bf(0x360),_0xd98e82);}function N(_0x5b50a6,_0xe14635){return function(_0x5d8790,_0x43f58e){_0xe14635(_0x5d8790,_0x43f58e,_0x5b50a6);};}function P(_0x550595,_0xa18cf9,_0xeb072c,_0x5684ed){const _0x54e8b9=_0x2c0792;var _0x3599ae=arguments[_0x54e8b9(0x365)],_0xe7e2ba=_0x3599ae<0x3?_0xa18cf9:_0x5684ed===null?_0x5684ed=Object['getOwnPropertyDescriptor'](_0xa18cf9,_0xeb072c):_0x5684ed,_0x5dc88d;if(typeof Reflect==_0x54e8b9(0x1fc)&&typeof Reflect[_0x54e8b9(0x352)]==_0x54e8b9(0x347))_0xe7e2ba=Reflect[_0x54e8b9(0x352)](_0x550595,_0xa18cf9,_0xeb072c,_0x5684ed);else{for(var _0x2acd62=_0x550595[_0x54e8b9(0x365)]-0x1;_0x2acd62>=0x0;_0x2acd62--)(_0x5dc88d=_0x550595[_0x2acd62])&&(_0xe7e2ba=(_0x3599ae<0x3?_0x5dc88d(_0xe7e2ba):_0x3599ae>0x3?_0x5dc88d(_0xa18cf9,_0xeb072c,_0xe7e2ba):_0x5dc88d(_0xa18cf9,_0xeb072c))||_0xe7e2ba);}return _0x3599ae>0x3&&_0xe7e2ba&&Object[_0x54e8b9(0x310)](_0xa18cf9,_0xeb072c,_0xe7e2ba),_0xe7e2ba;}const F=(0x0,t[_0x2c0792(0x242)])(_0x2c0792(0x330));let I=class{constructor(_0x5a4742,_0x2969d3){const _0x3cb888=_0x2c0792;this[_0x3cb888(0x2b5)]=_0x5a4742,this['_httpService']=_0x2969d3,g(this,_0x3cb888(0x2ec),new Set());}['dispose'](){}[_0x2c0792(0x308)](_0x11f704){const _0x556d40=_0x2c0792;this[_0x556d40(0x2ec)][_0x556d40(0x36c)](_0x11f704);}['clearTaskInterrupted'](){const _0xdfaa9b=_0x2c0792;this[_0xdfaa9b(0x2ec)][_0xdfaa9b(0x2bc)]();}async[_0x2c0792(0x223)](_0x5e5996,_0x67a5f=0x0,_0x596a30=!0x1){const _0xf7ae3b=_0x2c0792;if(typeof _0x5e5996==_0xf7ae3b(0x33b)){let _0x32e73a=await A(_0x5e5996,this[_0xf7ae3b(0x235)]);if(!_0x32e73a)throw Error(_0xf7ae3b(0x284));_0x5e5996=_0x32e73a;}_0x67a5f=_0x67a5f||_0x5e5996[_0xf7ae3b(0x288)];let _0x20abe8=new FormData();_0x20abe8[_0xf7ae3b(0x204)](_0xf7ae3b(0x2c0),_0x5e5996);try{let _0x2f7650=this['_getUploadFileURL']()+_0xf7ae3b(0x275)+_0x67a5f+_0xf7ae3b(0x27d)+l[_0xf7ae3b(0x2f7)]['HttpImport']+_0xf7ae3b(0x27b)+_0x596a30,_0xaf6a3b={'body':_0x20abe8},_0x1ed566=(await this[_0xf7ae3b(0x235)]['post'](_0x2f7650,_0xaf6a3b))[_0xf7ae3b(0x2b2)];if(_0x1ed566[_0xf7ae3b(0x20b)]&&_0x1ed566['error'][_0xf7ae3b(0x31a)]!==l[_0xf7ae3b(0x2c7)]['OK'])throw Error(this[_0xf7ae3b(0x31f)]('upload\x20request\x20failed',_0x1ed566[_0xf7ae3b(0x20b)]));return _0x1ed566;}catch(_0x363d4f){throw _0x363d4f instanceof Error?_0x363d4f:Error(this[_0xf7ae3b(0x343)]('upload\x20request\x20failed',_0x363d4f));}}async[_0x2c0792(0x2b9)](_0x30767b){const _0x76a489=_0x2c0792;let {fileID:_0x14e93e,type:_0x2f921e,outputType:_0x4d7b9e,minSheetColumnCount:_0x436bbb,minSheetRowCount:_0x3effae}=_0x30767b;try{let _0x383e58=j(this[_0x76a489(0x361)](),''+_0x2f921e),_0x59faaa={'body':{'fileID':_0x14e93e,'outputType':_0x4d7b9e,'minSheetColumnCount':_0x436bbb,'minSheetRowCount':_0x3effae}},_0x304c77=(await this['_httpService']['post'](_0x383e58,_0x59faaa))[_0x76a489(0x2b2)];return _0x304c77['error']&&_0x304c77[_0x76a489(0x20b)][_0x76a489(0x31a)]!==l[_0x76a489(0x2c7)]['OK']?void 0x0:_0x304c77;}catch{return;}}async['export'](_0x3d90aa){const _0x444eeb=_0x2c0792;let {unitID:_0x4dd6ab,jsonID:_0x585e50,type:_0x1323d4,sscSwitch:_0x1f4a5c,useImageUrl:_0x96f2c1,ignoreTableExport:_0x5a0a1c}=_0x3d90aa;try{let _0x9d48b7=j(this['_getExportURL'](),''+_0x1323d4),_0x46c34a={'body':{'unitID':_0x4dd6ab,'jsonID':_0x585e50,'type':_0x1323d4,'sscSwitch':_0x1f4a5c,'useImageUrl':_0x96f2c1,'ignoreTableExport':_0x5a0a1c}},_0x1dd075=(await this[_0x444eeb(0x235)][_0x444eeb(0x256)](_0x9d48b7,_0x46c34a))[_0x444eeb(0x2b2)];return _0x1dd075['error']&&_0x1dd075[_0x444eeb(0x20b)][_0x444eeb(0x31a)]!==l[_0x444eeb(0x2c7)]['OK']?void 0x0:_0x1dd075;}catch{return;}}async[_0x2c0792(0x226)](_0x3a791b){return new Promise((_0x1dbaf8,_0x13fa81)=>{const _0x6d3d70=_0x37e6;try{let _0x5e6709=0x0,_0x199169=M(this['_getTaskURL'](),''+_0x3a791b),_0x208bff=this[_0x6d3d70(0x294)](),_0x367abb=async()=>{const _0x2a1303=_0x6d3d70;if(this[_0x2a1303(0x2ec)]['has'](_0x3a791b))return;let _0x1c443b=(await this['_httpService']['get'](_0x199169))['body'];if(_0x1c443b[_0x2a1303(0x20b)]&&_0x1c443b[_0x2a1303(0x20b)][_0x2a1303(0x31a)]===l[_0x2a1303(0x2c7)]['OK']){if(_0x1c443b[_0x2a1303(0x36b)]==='done')_0x1dbaf8(_0x1c443b);else{if(_0x1c443b[_0x2a1303(0x36b)]==='pending'){let _0x42e244=0x3e8;if(_0x5e6709>=_0x208bff){_0x13fa81(_0x1c443b);return;}else _0x5e6709>=0x7530&&(_0x42e244=0x1388);_0x5e6709+=_0x42e244,setTimeout(_0x367abb,_0x42e244);}else _0x13fa81(_0x1c443b);}}else _0x13fa81(_0x1c443b);};_0x367abb();}catch(_0x4f39f7){_0x13fa81(_0x4f39f7 instanceof Error?_0x4f39f7:Error(String(_0x4f39f7)));}});}async[_0x2c0792(0x2ee)](_0x1bf6d0){const _0x45116c=_0x2c0792;try{let _0x1614f3=le(this[_0x45116c(0x24a)](),''+_0x1bf6d0);return(await this[_0x45116c(0x235)]['get'](_0x1614f3))[_0x45116c(0x2b2)];}catch{return;}}async[_0x2c0792(0x2e0)](_0x5ed2c8){const _0x57d133=_0x2c0792;try{return(await this['_httpService']['get'](_0x5ed2c8,{'responseType':_0x57d133(0x1f8)}))[_0x57d133(0x2b2)];}catch{return;}}['_buildProtocolErrorMessage'](_0x9c3e7a,_0x4c3b28){const _0x6b09de=_0x2c0792;let _0x4fc79a=this[_0x6b09de(0x31c)](_0x4c3b28);return _0x4fc79a?_0x9c3e7a+':\x20'+_0x4fc79a:_0x9c3e7a;}[_0x2c0792(0x343)](_0x4cf227,_0x5a13f4){const _0x2d79c1=_0x2c0792;if(_0x5a13f4 instanceof n['HTTPResponseError']){let _0x22ff2f=typeof _0x5a13f4[_0x2d79c1(0x36b)]==_0x2d79c1(0x2a4)?''+_0x5a13f4['status']+(_0x5a13f4[_0x2d79c1(0x1fa)]?'\x20'+_0x5a13f4['statusText']:''):void 0x0,_0x3d8831=this['_extractErrorDetail'](_0x5a13f4['error']);return _0x22ff2f&&_0x3d8831?_0x4cf227+_0x2d79c1(0x311)+_0x22ff2f+_0x2d79c1(0x24e)+_0x3d8831:_0x22ff2f?_0x4cf227+_0x2d79c1(0x311)+_0x22ff2f:_0x3d8831?_0x4cf227+':\x20'+_0x3d8831:_0x4cf227;}let _0x50b6e0=this[_0x2d79c1(0x31c)](_0x5a13f4);return _0x50b6e0?_0x4cf227+':\x20'+_0x50b6e0:_0x4cf227;}[_0x2c0792(0x31c)](_0x212d5d){const _0x4b270d=_0x2c0792;if(typeof _0x212d5d==_0x4b270d(0x33b)){let _0x5dcc93=_0x212d5d[_0x4b270d(0x251)]();return _0x5dcc93[_0x4b270d(0x365)]>0x0?_0x5dcc93:void 0x0;}if(_0x212d5d instanceof Error)return this['_extractErrorDetail'](_0x212d5d[_0x4b270d(0x292)]);if(!_0x212d5d||typeof _0x212d5d!=_0x4b270d(0x1fc)||Array[_0x4b270d(0x357)](_0x212d5d))return;let _0x59140c=_0x212d5d,_0x192956=this[_0x4b270d(0x31c)](_0x59140c[_0x4b270d(0x292)]);if(_0x192956)return _0x192956;if(_0x59140c[_0x4b270d(0x20b)]&&typeof _0x59140c['error']=='object'&&!Array[_0x4b270d(0x357)](_0x59140c['error'])){let _0x34a712=this['_extractErrorDetail'](_0x59140c[_0x4b270d(0x20b)]);if(_0x34a712)return _0x34a712;}}['_getUploadFileURL'](){const _0x356ccc=_0x2c0792;var _0x4d80bc;let _0x3265f0=this[_0x356ccc(0x2b5)][_0x356ccc(0x2a7)](f);return(_0x4d80bc=_0x3265f0==null?void 0x0:_0x3265f0[_0x356ccc(0x35f)])==null?'/universer-api/stream/file/upload':_0x4d80bc;}[_0x2c0792(0x361)](){const _0x530e64=_0x2c0792;var _0x4921df;let _0xcd8b77=this[_0x530e64(0x2b5)]['getConfig'](f);return(_0x4921df=_0xcd8b77==null?void 0x0:_0xcd8b77[_0x530e64(0x23d)])==null?'/universer-api/exchange/{type}/import':_0x4921df;}[_0x2c0792(0x377)](){const _0x482a4c=_0x2c0792;var _0xfad245;let _0x16369e=this[_0x482a4c(0x2b5)][_0x482a4c(0x2a7)](f);return(_0xfad245=_0x16369e==null?void 0x0:_0x16369e[_0x482a4c(0x21f)])==null?_0x482a4c(0x2c5):_0xfad245;}[_0x2c0792(0x1fd)](){const _0x434ab0=_0x2c0792;var _0x5490a5;let _0x57598d=this[_0x434ab0(0x2b5)][_0x434ab0(0x2a7)](f);return(_0x5490a5=_0x57598d==null?void 0x0:_0x57598d['getTaskServerUrl'])==null?'/universer-api/exchange/task/{taskID}':_0x5490a5;}[_0x2c0792(0x24a)](){const _0x2a5362=_0x2c0792;var _0x14aa40;let _0x4c6070=this[_0x2a5362(0x2b5)][_0x2a5362(0x2a7)](f);return(_0x14aa40=_0x4c6070==null?void 0x0:_0x4c6070[_0x2a5362(0x283)])==null?_0x2a5362(0x216):_0x14aa40;}['_getMaxPollingTime'](){const _0x4f993f=_0x2c0792;var _0xebebb2;let _0x49d937=this['_configService'][_0x4f993f(0x2a7)](f);return(_0xebebb2=_0x49d937==null?void 0x0:_0x49d937['maxTimeoutTime'])==null?0x1d4c0:_0xebebb2;}};I=P([N(0x0,t[_0x2c0792(0x331)]),N(0x1,(0x0,t[_0x2c0792(0x225)])(n[_0x2c0792(0x29d)]))],I);function ue(_0xe5798f){const _0x38458c=_0x2c0792;let _0x5223f3=_0xe5798f[_0x38458c(0x301)];if(!_0x5223f3)return null;let _0x2c9893={};_0x5223f3[_0x38458c(0x201)]&&Object[_0x38458c(0x268)](_0x5223f3['sheets'])[_0x38458c(0x29e)](_0x31d422=>{const _0x1c1df6=_0x38458c;let _0x8c8b8c=_0x5223f3[_0x1c1df6(0x201)][_0x31d422];_0x2c9893[_0x31d422]={..._0x8c8b8c,'originalMeta':(0x0,u[_0x1c1df6(0x207)])(u[_0x1c1df6(0x378)][_0x1c1df6(0x2ae)](_0x8c8b8c[_0x1c1df6(0x321)]))};});let _0x190874=(0x0,u[_0x38458c(0x207)])(u[_0x38458c(0x378)]['decode'](_0x5223f3[_0x38458c(0x321)]));return{..._0xe5798f,'workbook':{..._0x5223f3,'originalMeta':_0x190874,'sheets':_0x2c9893},'doc':{},'slide':void 0x0};}function de(_0x55c6f6){const _0x2a89ba=_0x2c0792;let _0x463423=_0x55c6f6[_0x2a89ba(0x29f)];if(!_0x463423)return null;let _0x53e0d5=(0x0,u[_0x2a89ba(0x207)])(u[_0x2a89ba(0x378)][_0x2a89ba(0x2ae)](_0x463423[_0x2a89ba(0x321)]));return{..._0x55c6f6,'workbook':{},'doc':{..._0x463423,'originalMeta':_0x53e0d5},'slide':void 0x0};}function fe(_0x2e4f65){const _0x52f331=_0x2c0792;var _0x16fb17;let _0x4636a9=(_0x16fb17=_0x2e4f65[_0x52f331(0x262)])==null?_0x2e4f65[_0x52f331(0x29f)]:_0x16fb17;if(!_0x4636a9)return null;let _0x2e4679=typeof _0x4636a9[_0x52f331(0x321)]==_0x52f331(0x33b)?_0x4636a9['originalMeta']:(0x0,u[_0x52f331(0x207)])(u[_0x52f331(0x378)][_0x52f331(0x2ae)](_0x4636a9[_0x52f331(0x321)]));return{..._0x2e4f65,'workbook':{},'doc':{},'slide':{..._0x4636a9,'originalMeta':_0x2e4679}};}function L(_0x275fa0){let _0x560a0b={};return _0x275fa0['forEach'](_0x57c7de=>{const _0x1d7deb=_0x37e6;_0x560a0b[_0x57c7de['id']]={..._0x57c7de,'data':(0x0,u[_0x1d7deb(0x207)])(u[_0x1d7deb(0x378)][_0x1d7deb(0x2ae)](_0x57c7de['data']))};}),_0x560a0b;}async function R(_0x3fe4c3){const _0x8189bc=_0x2c0792;var _0x34e3c8;let _0x2ba889={'metadata':void 0x0},_0x37a0e5=_0x3fe4c3['id'],_0x3bf8ed=(_0x34e3c8=_0x3fe4c3[_0x8189bc(0x243)])==null?0x0:_0x34e3c8,_0x1c321d=new W(),{snapshot:_0xe8f512}=await(0x0,u['transformWorkbookDataToSnapshot'])(_0x2ba889,_0x3fe4c3,_0x37a0e5,_0x3bf8ed,_0x1c321d),_0x3d6e6e=await(0x0,u['getSheetBlocksFromSnapshot'])(_0xe8f512,_0x1c321d),_0x187155=ue(_0xe8f512);if(!_0x187155)throw Error(_0x8189bc(0x302));return{'snapshot':_0x187155,'sheetBlocks':L(_0x3d6e6e)};}async function z(_0x2dd8ea){const _0x19cdf5=_0x2c0792;var _0x110d74;let _0x2a26af={'metadata':void 0x0},_0x7850b4=_0x2dd8ea['id'],{snapshot:_0xe5ebb}=await(0x0,u[_0x19cdf5(0x1f9)])(_0x2a26af,_0x2dd8ea,_0x7850b4,(_0x110d74=_0x2dd8ea['rev'])==null?0x0:_0x110d74,new W()),_0xc52c99=de(_0xe5ebb);if(!_0xc52c99)throw Error('Failed\x20to\x20transform\x20snapshot\x20to\x20string');return{'snapshot':_0xc52c99,'sheetBlocks':{}};}async function B(_0x5d412a){const _0x2d6c1a=_0x2c0792;var _0x4154de;let _0x17a9d0=_0x5d412a['id'],_0x2a0cf4=(_0x4154de=_0x5d412a[_0x2d6c1a(0x243)])==null?0x0:_0x4154de,_0xfb221b=new W(),{snapshot:_0x415bf6}=await(0x0,u[_0x2d6c1a(0x28e)])(_0x5d412a[_0x2d6c1a(0x21e)],_0x5d412a,_0x17a9d0,_0x2a0cf4,_0xfb221b),_0x4bbe46=fe(_0x415bf6);if(!_0x4bbe46)throw Error('Failed\x20to\x20transform\x20snapshot\x20to\x20string');return{'snapshot':_0x4bbe46,'sheetBlocks':{}};}async function V(_0x5df76f){const _0x427172=_0x2c0792;let _0x4ee6e5=_0x5df76f[_0x427172(0x253)],_0xca7c49=_0x5df76f[_0x427172(0x21d)]||{};return await(0x0,u[_0x427172(0x287)])(_0x4ee6e5,Object[_0x427172(0x268)](_0xca7c49)[_0x427172(0x337)](_0x233aa1=>_0xca7c49[_0x233aa1])[_0x427172(0x337)](_0x5829f1=>({..._0x5829f1,'data':_0x5829f1[_0x427172(0x316)]?JSON['parse']((0x0,u[_0x427172(0x2bf)])(_0x5829f1[_0x427172(0x316)])):void 0x0})));}function H(_0x3911b9){const _0x300dbd=_0x2c0792;let _0x4cfcc6=_0x3911b9[_0x300dbd(0x253)];return(0x0,u[_0x300dbd(0x2ba)])(_0x4cfcc6);}function U(_0x1875a2){const _0x53687e=_0x2c0792;let _0x42bcfd=_0x1875a2['snapshot'];return(0x0,u[_0x53687e(0x2ff)])(_0x42bcfd);}var W=class{constructor(){const _0x5d457a=_0x2c0792;g(this,_0x5d457a(0x379),new Map());}[_0x2c0792(0x355)](){const _0x48bf6e=_0x2c0792;return Promise['resolve']({'snapshot':{'unitID':'','type':t[_0x48bf6e(0x257)][_0x48bf6e(0x295)],'rev':0x0,'workbook':void 0x0,'doc':void 0x0,'slide':void 0x0,'board':void 0x0},'changesets':[],'error':{'code':l['ErrorCode']['OK'],'message':''}});}[_0x2c0792(0x281)](_0x1498a0,_0x3138a7){const _0xf418be=_0x2c0792;let _0x3e9dcc=this['_sheetBlockCache'][_0xf418be(0x30d)](_0x3138a7[_0xf418be(0x27c)]);return Promise[_0xf418be(0x22a)]({'block':_0x3e9dcc,'error':{'code':l[_0xf418be(0x2c7)]['OK'],'message':''}});}[_0x2c0792(0x34c)](_0x359c2e,_0x2e8ea3){const _0x5ddaaa=_0x2c0792;let _0xd41410=this['_sheetBlockCache'][_0x5ddaaa(0x30d)](_0x2e8ea3[_0x5ddaaa(0x27c)]);return Promise['resolve']({'block':_0xd41410===void 0x0?void 0x0:{..._0xd41410,'data':JSON[_0x5ddaaa(0x2ca)](u[_0x5ddaaa(0x378)][_0x5ddaaa(0x2ae)](_0xd41410[_0x5ddaaa(0x316)]))},'error':{'code':l[_0x5ddaaa(0x2c7)]['OK'],'message':''}});}['fetchMissingChangesets'](){const _0x5229dc=_0x2c0792;return Promise[_0x5229dc(0x22a)]({'changesets':[],'error':{'code':l[_0x5229dc(0x2c7)]['OK'],'message':''}});}[_0x2c0792(0x33a)](){const _0x4023a7=_0x2c0792;return Promise[_0x4023a7(0x22a)]({'resources':{},'error':{'code':l[_0x4023a7(0x2c7)]['OK'],'message':''}});}[_0x2c0792(0x2a1)](){const _0x5ef21e=_0x2c0792;return Promise[_0x5ef21e(0x22a)]({'error':{'code':l['ErrorCode']['OK'],'message':''}});}[_0x2c0792(0x372)](){const _0x52b35e=_0x2c0792;return Promise[_0x52b35e(0x22a)]({'error':{'code':l['ErrorCode']['OK'],'message':''}});}['saveSheetBlock'](_0x4d96f0,_0x1bda51){const _0x29ba98=_0x2c0792;let {block:_0xcbca06}=_0x1bda51;return _0xcbca06?(this[_0x29ba98(0x379)]['set'](_0xcbca06['id'],_0xcbca06),Promise[_0x29ba98(0x22a)]({'error':{'code':l['ErrorCode']['OK'],'message':''},'blockID':_0xcbca06['id']})):Promise['resolve']({'error':{'code':l[_0x29ba98(0x2c7)][_0x29ba98(0x217)],'message':_0x29ba98(0x239)},'blockID':''});}[_0x2c0792(0x234)](){const _0x3e5070=_0x2c0792;return Promise['resolve']({'error':{'code':l[_0x3e5070(0x2c7)]['OK'],'message':''},'concurrent':[]});}[_0x2c0792(0x351)](){const _0x515a41=_0x2c0792;return Promise[_0x515a41(0x22a)]({'error':void 0x0,'fileMetaId':''});}['getLatestCsReqIdBySid'](){const _0x1732ba=_0x2c0792;return Promise[_0x1732ba(0x22a)]({'error':void 0x0,'latestReqID':0x0});}};const G=(0x0,t[_0x2c0792(0x242)])(_0x2c0792(0x24c));let K=class extends t[_0x2c0792(0x298)]{constructor(_0x230cfc,_0x558f03,_0x4dea86){const _0x5b962e=_0x2c0792;super(),this[_0x5b962e(0x2b5)]=_0x230cfc,this[_0x5b962e(0x235)]=_0x558f03,this[_0x5b962e(0x25e)]=_0x4dea86,g(this,_0x5b962e(0x250),null),g(this,'_requestState$',new o[(_0x5b962e(0x208))]()),g(this,_0x5b962e(0x23e),this[_0x5b962e(0x214)][_0x5b962e(0x25a)]());}[_0x2c0792(0x33f)](){const _0x5bb242=_0x2c0792;super['dispose'](),this[_0x5bb242(0x214)][_0x5bb242(0x36e)]();}async[_0x2c0792(0x2d4)](_0x51a0dd){const _0x1a3ad4=_0x2c0792;let _0x1a3ee1=await this[_0x1a3ad4(0x25b)](_0x51a0dd,t[_0x1a3ad4(0x257)]['UNIVER_DOC']);if(!_0x1a3ee1||!_0x1a3ee1['snapshot'])return;let _0x41d4a4=H(_0x1a3ee1);if(_0x41d4a4)return _0x41d4a4;}async[_0x2c0792(0x25d)](_0x1edfe6){const _0x1c0d03=_0x2c0792;return this[_0x1c0d03(0x1f1)](_0x1edfe6,0x1,t['UniverInstanceType']['UNIVER_DOC']);}async['exportDOCXBySnapshot'](_0xfe7ab9){const _0x164900=_0x2c0792;let _0x5b4535=await z(_0xfe7ab9);return this[_0x164900(0x246)](_0x5b4535,t[_0x164900(0x257)]['UNIVER_DOC']);}async[_0x2c0792(0x37a)](_0x3e8465){const _0x5514ec=_0x2c0792;let _0x100c96=await this['_importToSnapshot'](_0x3e8465,t['UniverInstanceType'][_0x5514ec(0x248)]);if(!(!_0x100c96||!_0x100c96[_0x5514ec(0x253)]))return U(_0x100c96);}async[_0x2c0792(0x2a3)](_0x52e945){const _0x5e8567=_0x2c0792;return this[_0x5e8567(0x1f1)](_0x52e945,0x1,t['UniverInstanceType'][_0x5e8567(0x248)]);}async[_0x2c0792(0x205)](_0x165a7d){const _0x791fd7=_0x2c0792;let _0x4384be=await B(_0x165a7d);return this[_0x791fd7(0x246)](_0x4384be,t[_0x791fd7(0x257)][_0x791fd7(0x248)]);}async[_0x2c0792(0x241)](_0x5431ec){const _0x19efa4=_0x2c0792;let _0x14bdde=await this[_0x19efa4(0x25b)](_0x5431ec,t[_0x19efa4(0x257)][_0x19efa4(0x295)]);if(!_0x14bdde)return;let _0x3c517e=await V(_0x14bdde);if(_0x3c517e)return _0x3c517e;}async[_0x2c0792(0x339)](_0x5a7f6e){const _0x565d13=_0x2c0792;return this[_0x565d13(0x1f1)](_0x5a7f6e,0x1,t['UniverInstanceType'][_0x565d13(0x295)]);}async['exportXLSXBySnapshot'](_0x347ea4){const _0x391db6=_0x2c0792;let _0x11de44=await R(_0x347ea4);return this[_0x391db6(0x246)](_0x11de44,t[_0x391db6(0x257)][_0x391db6(0x295)]);}async[_0x2c0792(0x2b6)](_0x27d2b4,_0x1c300b){const _0xcf4d8d=_0x2c0792;var _0x2525ef,_0x54de6b;let _0x1e048f=await this['_upload'](_0x27d2b4);if(!_0x1e048f)return;let _0x37b5e1=await this[_0xcf4d8d(0x26d)](_0x1e048f,0x1,_0x1c300b);if(!_0x37b5e1)return;this[_0xcf4d8d(0x250)]=_0x37b5e1,this['_requestService'][_0xcf4d8d(0x2c1)]();let _0x2bdc60=await this[_0xcf4d8d(0x25e)]['getTask'](_0x37b5e1)['catch'](_0x3315fb=>{const _0x45c095=_0xcf4d8d;var _0x3214f5;let _0x174833=_0x3315fb instanceof Error?_0x3315fb['message']:(_0x3214f5=_0x3315fb['error'])==null?void 0x0:_0x3214f5[_0x45c095(0x292)];this[_0x45c095(0x214)]['next']({'error':{'code':l[_0x45c095(0x2c7)][_0x45c095(0x1f3)],'message':_0x174833||''},'state':0x3});});if(!_0x2bdc60)return;let _0x59d845=(_0x2525ef=_0x2bdc60[_0xcf4d8d(0x2b9)])==null?void 0x0:_0x2525ef[_0xcf4d8d(0x2e9)],_0x4e9af6=((_0x54de6b=_0x2bdc60['import'])==null?void 0x0:_0x54de6b[_0xcf4d8d(0x219)])||'';if(_0x59d845!==0x1){this[_0xcf4d8d(0x214)][_0xcf4d8d(0x320)]({'error':{'code':l['ErrorCode'][_0xcf4d8d(0x1f3)],'message':'Get\x20outputType\x20error'},'state':0x3});return;}if(_0x4e9af6[_0xcf4d8d(0x365)]===0x0){this[_0xcf4d8d(0x214)]['next']({'error':{'code':l[_0xcf4d8d(0x2c7)]['UNRECOGNIZED'],'message':_0xcf4d8d(0x2e5)},'state':0x3});return;}return this[_0xcf4d8d(0x214)][_0xcf4d8d(0x320)]({'error':_0x2bdc60[_0xcf4d8d(0x20b)],'state':0x3}),_0x4e9af6;}async['importWorkbookDataToUnitId'](_0x383863){const _0x1bc499=_0x2c0792;let _0x846bbd=await R(_0x383863),_0x1b1bd2=typeof _0x383863['id']=='string'&&_0x383863['id'][_0x1bc499(0x251)]()?_0x383863['id'][_0x1bc499(0x251)]()+'.json':_0x1bc499(0x2fb),_0x267282=new File([JSON['stringify'](_0x846bbd)],_0x1b1bd2,{'type':_0x1bc499(0x348)});return this[_0x1bc499(0x2b6)](_0x267282,t[_0x1bc499(0x257)][_0x1bc499(0x295)]);}[_0x2c0792(0x285)](){const _0x4fe8e0=_0x2c0792;this['_importTaskId']&&this['_requestService'][_0x4fe8e0(0x308)](this['_importTaskId']);}async[_0x2c0792(0x25b)](_0x4bb93d,_0x121d00){const _0x24e24c=_0x2c0792;var _0x4e37b6,_0x389733;let _0x23d84d=await this['_upload'](_0x4bb93d);if(!_0x23d84d)return;let _0x535472=await this[_0x24e24c(0x26d)](_0x23d84d,0x2,_0x121d00);if(!_0x535472)return;this['_importTaskId']=_0x535472,this['_requestService'][_0x24e24c(0x2c1)]();let _0x442206=await this[_0x24e24c(0x25e)][_0x24e24c(0x226)](_0x535472)[_0x24e24c(0x335)](_0x38d078=>{const _0x1d493d=_0x24e24c;var _0x424ecd;let _0x59b624=_0x38d078 instanceof Error?_0x38d078[_0x1d493d(0x292)]:(_0x424ecd=_0x38d078['error'])==null?void 0x0:_0x424ecd[_0x1d493d(0x292)];this[_0x1d493d(0x214)][_0x1d493d(0x320)]({'error':{'code':l[_0x1d493d(0x2c7)][_0x1d493d(0x1f3)],'message':_0x59b624||''},'state':0x3});});if(!_0x442206)return;let _0xa5c6a1=(_0x4e37b6=_0x442206[_0x24e24c(0x2b9)])==null?void 0x0:_0x4e37b6['outputType'],_0x4b1a29=((_0x389733=_0x442206['import'])==null?void 0x0:_0x389733[_0x24e24c(0x2bd)])||'';if(_0xa5c6a1!==0x2){this[_0x24e24c(0x214)]['next']({'error':{'code':l['ErrorCode'][_0x24e24c(0x1f3)],'message':_0x24e24c(0x2fc)},'state':0x3});return;}if(_0x4b1a29[_0x24e24c(0x365)]===0x0){this['_requestState$'][_0x24e24c(0x320)]({'error':{'code':l[_0x24e24c(0x2c7)][_0x24e24c(0x1f3)],'message':_0x24e24c(0x307)},'state':0x3});return;}this[_0x24e24c(0x214)][_0x24e24c(0x320)]({'error':_0x442206[_0x24e24c(0x20b)],'state':0x3});let _0x496810=await this[_0x24e24c(0x259)](_0x4b1a29);if(!_0x496810)return;let _0x50f541=await this[_0x24e24c(0x25e)][_0x24e24c(0x2e0)](_0x496810);if(!_0x50f541){this['_requestState$'][_0x24e24c(0x320)]({'error':{'code':l[_0x24e24c(0x2c7)][_0x24e24c(0x1f3)],'message':_0x24e24c(0x20a)},'state':0x5});return;}try{let _0x2136ef=JSON['parse'](_0x50f541);return this[_0x24e24c(0x214)][_0x24e24c(0x320)]({'error':{'code':l['ErrorCode']['OK'],'message':_0x24e24c(0x370)},'state':0x5}),_0x2136ef;}catch{this[_0x24e24c(0x214)]['next']({'error':{'code':l['ErrorCode'][_0x24e24c(0x1f3)],'message':_0x24e24c(0x2be)},'state':0x5});}}async['_exportBySnapshot'](_0x39bd33,_0x3bcb07){const _0xf35750=_0x2c0792;let _0x29d359=JSON['stringify'](_0x39bd33),_0x3a86f0=u['textEncoder'][_0xf35750(0x34f)](_0x29d359),_0x30d041=(0x0,d[_0xf35750(0x329)])(_0x3a86f0),_0x33b9c5=_0x3a86f0[_0xf35750(0x365)],_0x2d9d73=ce(_0x30d041),_0x1c1011=await this[_0xf35750(0x279)](_0x2d9d73,_0x33b9c5,!0x0);if(_0x1c1011)return this[_0xf35750(0x1f1)](_0x1c1011,0x2,_0x3bcb07);}async[_0x2c0792(0x1f1)](_0x182a8f,_0x47a9d0,_0x17e641){const _0x299502=_0x2c0792;var _0x3c6b16;let _0x5bf77b=await this[_0x299502(0x25e)]['export']({'unitID':_0x47a9d0===0x1?_0x182a8f:'','jsonID':_0x47a9d0===0x2?_0x182a8f:'','type':_0x17e641,'sscSwitch':this[_0x299502(0x306)](),'useImageUrl':this[_0x299502(0x2a6)](),'ignoreTableExport':this[_0x299502(0x224)]()});if(!_0x5bf77b){this[_0x299502(0x214)][_0x299502(0x320)]({'error':{'code':l[_0x299502(0x2c7)][_0x299502(0x1f3)],'message':_0x299502(0x2a8)},'state':0x2});return;}if(this[_0x299502(0x214)][_0x299502(0x320)]({'error':_0x5bf77b[_0x299502(0x20b)],'state':0x2}),_0x5bf77b[_0x299502(0x20b)]&&_0x5bf77b[_0x299502(0x20b)][_0x299502(0x31a)]!==l[_0x299502(0x2c7)]['OK'])return;let _0x4a7e91=_0x5bf77b['taskID'],_0x4be339=await this[_0x299502(0x25e)]['getTask'](_0x4a7e91)[_0x299502(0x335)](_0x4c687a=>{const _0x2aadbb=_0x299502;var _0x4e58b6;let _0x5746c3=_0x4c687a instanceof Error?_0x4c687a[_0x2aadbb(0x292)]:(_0x4e58b6=_0x4c687a['error'])==null?void 0x0:_0x4e58b6[_0x2aadbb(0x292)];this[_0x2aadbb(0x214)]['next']({'error':{'code':l[_0x2aadbb(0x2c7)][_0x2aadbb(0x1f3)],'message':_0x5746c3||''},'state':0x3});});if(!_0x4be339)return;let _0x1b3671=((_0x3c6b16=_0x4be339['export'])==null?void 0x0:_0x3c6b16[_0x299502(0x280)])||'';if(_0x1b3671['length']===0x0){this[_0x299502(0x214)][_0x299502(0x320)]({'error':{'code':l[_0x299502(0x2c7)]['UNRECOGNIZED'],'message':_0x299502(0x29a)},'state':0x3});return;}this[_0x299502(0x214)][_0x299502(0x320)]({'error':_0x4be339['error'],'state':0x3});let _0x2d6c2e=await this[_0x299502(0x259)](_0x1b3671);if(!_0x2d6c2e)return;let _0x42c7e6=await A(_0x2d6c2e,this['_httpService']);if(!_0x42c7e6){this['_requestState$'][_0x299502(0x320)]({'error':{'code':l[_0x299502(0x2c7)][_0x299502(0x1f3)],'message':'Failed\x20to\x20get\x20file\x20from\x20url'},'state':0x6});return;}return this['_requestState$'][_0x299502(0x320)]({'error':{'code':l[_0x299502(0x2c7)]['OK'],'message':_0x299502(0x370)},'state':0x6}),_0x42c7e6;}async[_0x2c0792(0x279)](_0x32b3e4,_0x46f20b,_0x14aa37){const _0xd5edcc=_0x2c0792;let _0xd97266;try{_0xd97266=await this[_0xd5edcc(0x25e)]['upload'](_0x32b3e4,_0x46f20b,_0x14aa37);}catch(_0x50c78b){let _0x5d6db0=_0x50c78b instanceof Error?_0x50c78b[_0xd5edcc(0x292)]:String(_0x50c78b);this['_requestState$'][_0xd5edcc(0x320)]({'error':{'code':l[_0xd5edcc(0x2c7)][_0xd5edcc(0x1f3)],'message':_0x5d6db0},'state':0x0});return;}if(!_0xd97266||typeof _0xd97266['FileId']!=_0xd5edcc(0x33b)){this[_0xd5edcc(0x214)][_0xd5edcc(0x320)]({'error':{'code':l[_0xd5edcc(0x2c7)][_0xd5edcc(0x1f3)],'message':'upload\x20failed:\x20missing\x20FileId\x20in\x20response'},'state':0x0});return;}let _0x1efee3=_0xd97266[_0xd5edcc(0x245)];if(_0x1efee3['length']===0x0){this[_0xd5edcc(0x214)][_0xd5edcc(0x320)]({'error':{'code':l[_0xd5edcc(0x2c7)][_0xd5edcc(0x1f3)],'message':_0xd5edcc(0x24d)},'state':0x0});return;}return this[_0xd5edcc(0x214)][_0xd5edcc(0x320)]({'error':{'code':l[_0xd5edcc(0x2c7)]['OK'],'message':_0xd5edcc(0x370)},'state':0x0}),_0x1efee3;}async[_0x2c0792(0x26d)](_0x32c19b,_0x45ad1c,_0x55bbf6){const _0x2311db=_0x2c0792;let _0x459677={'fileID':_0x32c19b,'type':_0x55bbf6,'outputType':_0x45ad1c,'fileUrl':'','minSheetRowCount':this[_0x2311db(0x282)](),'minSheetColumnCount':this['_getMinSheetColumnCount']()},_0xa840b2=await this[_0x2311db(0x25e)]['import'](_0x459677);if(!_0xa840b2){this['_requestState$'][_0x2311db(0x320)]({'error':{'code':l[_0x2311db(0x2c7)]['UNRECOGNIZED'],'message':_0x2311db(0x32a)},'state':0x1});return;}if(_0xa840b2[_0x2311db(0x20b)]&&_0xa840b2[_0x2311db(0x20b)][_0x2311db(0x31a)]!==l[_0x2311db(0x2c7)]['OK']){this['_requestState$'][_0x2311db(0x320)]({'error':_0xa840b2[_0x2311db(0x20b)],'state':0x1});return;}let _0x321353=_0xa840b2[_0x2311db(0x2f5)];if(_0x321353['length']===0x0){this[_0x2311db(0x214)]['next']({'error':{'code':l[_0x2311db(0x2c7)][_0x2311db(0x1f3)],'message':_0x2311db(0x2d1)},'state':0x1});return;}return this[_0x2311db(0x214)][_0x2311db(0x320)]({'error':_0xa840b2[_0x2311db(0x20b)],'state':0x1}),_0x321353;}async['_signUrl'](_0x2f4f64){const _0x551624=_0x2c0792;let _0x4ee022=await this[_0x551624(0x25e)][_0x551624(0x2ee)](_0x2f4f64);if(!_0x4ee022){this[_0x551624(0x214)][_0x551624(0x320)]({'error':{'code':l[_0x551624(0x2c7)][_0x551624(0x1f3)],'message':_0x551624(0x24f)},'state':0x4});return;}if(_0x4ee022[_0x551624(0x20b)]&&_0x4ee022[_0x551624(0x20b)][_0x551624(0x31a)]!==l[_0x551624(0x2c7)]['OK']){this[_0x551624(0x214)][_0x551624(0x320)]({'error':_0x4ee022['error'],'state':0x4});return;}let _0x4377c0=(0x0,t['resolveWithBasePath'])(_0x4ee022[_0x551624(0x24b)],this['_getDownloadEndpointURL']());if(_0x4377c0[_0x551624(0x365)]===0x0){this[_0x551624(0x214)][_0x551624(0x320)]({'error':{'code':l[_0x551624(0x2c7)][_0x551624(0x1f3)],'message':_0x551624(0x24f)},'state':0x4});return;}return this[_0x551624(0x214)]['next']({'error':_0x4ee022[_0x551624(0x20b)],'state':0x4}),_0x4377c0;}[_0x2c0792(0x22e)](){const _0x1c1e62=_0x2c0792;var _0x4539db;let _0x4e8d79=this[_0x1c1e62(0x2b5)][_0x1c1e62(0x2a7)](f);return(_0x4539db=_0x4e8d79==null?void 0x0:_0x4e8d79['downloadEndpointUrl'])==null?location[_0x1c1e62(0x2eb)]:_0x4539db;}['_getMinSheetRowCount'](){const _0x1b0b5c=_0x2c0792;var _0x4cf75b,_0x178d54;let _0x2c831a=this[_0x1b0b5c(0x2b5)][_0x1b0b5c(0x2a7)](f);return(_0x4cf75b=_0x2c831a==null||(_0x178d54=_0x2c831a['options'])==null?void 0x0:_0x178d54[_0x1b0b5c(0x367)])==null?0x1:_0x4cf75b;}[_0x2c0792(0x35c)](){const _0x342ad9=_0x2c0792;var _0x4ea7ca,_0x5563b8;let _0x47e0bd=this[_0x342ad9(0x2b5)]['getConfig'](f);return(_0x4ea7ca=_0x47e0bd==null||(_0x5563b8=_0x47e0bd[_0x342ad9(0x373)])==null?void 0x0:_0x5563b8[_0x342ad9(0x342)])==null?0x1:_0x4ea7ca;}[_0x2c0792(0x306)](){const _0x51c2eb=_0x2c0792;var _0x3aec02,_0x44f2e4;let _0x557b55=this['_configService'][_0x51c2eb(0x2a7)](f);return(_0x3aec02=_0x557b55==null||(_0x44f2e4=_0x557b55[_0x51c2eb(0x373)])==null?void 0x0:_0x44f2e4[_0x51c2eb(0x304)])==null?!0x1:_0x3aec02;}[_0x2c0792(0x2a6)](){const _0x32ffab=_0x2c0792;var _0x7048c5,_0x14f014;let _0x4338a7=this[_0x32ffab(0x2b5)]['getConfig'](f);return(_0x7048c5=_0x4338a7==null||(_0x14f014=_0x4338a7['options'])==null?void 0x0:_0x14f014[_0x32ffab(0x274)])==null?!0x0:_0x7048c5;}['_getIgnoreTableExport'](){const _0x2bd937=_0x2c0792;var _0xbd9b58,_0x31b568;let _0x489b56=this['_configService']['getConfig'](f);return(_0xbd9b58=_0x489b56==null||(_0x31b568=_0x489b56[_0x2bd937(0x373)])==null?void 0x0:_0x31b568['ignoreTableExport'])==null?!0x1:_0xbd9b58;}};K=P([N(0x0,t[_0x2c0792(0x331)]),N(0x1,(0x0,t['Inject'])(n['HTTPService'])),N(0x2,(0x0,t[_0x2c0792(0x225)])(F))],K);const pe={'done':0x0,'count':0x0},q=(0x0,t[_0x2c0792(0x242)])('univer-pro.exchange-client.operate.service');let J=class extends t[_0x2c0792(0x298)]{constructor(_0x3d4882,_0x3e7789,_0x4d8980,_0x55b5df,_0x692cbe,_0x33112c,_0x36a660){const _0xc1d3a3=_0x2c0792;super(),this['_univerInstanceService']=_0x3d4882,this[_0xc1d3a3(0x25c)]=_0x3e7789,this[_0xc1d3a3(0x2ea)]=_0x4d8980,this[_0xc1d3a3(0x318)]=_0x55b5df,this['_uploadNotificationService']=_0x692cbe,this[_0xc1d3a3(0x36a)]=_0x33112c,this[_0xc1d3a3(0x232)]=_0x36a660,g(this,_0xc1d3a3(0x2ef),new o['BehaviorSubject'](pe)),g(this,_0xc1d3a3(0x309),this[_0xc1d3a3(0x2ef)]['asObservable']()),g(this,'_totalUploadTaskCount',0x0),g(this,_0xc1d3a3(0x200),0x0),this['disposeWithMe']((0x0,t[_0xc1d3a3(0x371)])(this[_0xc1d3a3(0x318)][_0xc1d3a3(0x23e)][_0xc1d3a3(0x30a)](_0x5e229d=>{const _0xefe4d4=_0xc1d3a3;var _0x3c3bab;((_0x3c3bab=_0x5e229d[_0xefe4d4(0x20b)])==null?void 0x0:_0x3c3bab[_0xefe4d4(0x31a)])===l[_0xefe4d4(0x2c7)]['OK']?this['_addDoneTask'](0x1):this['_showNetworkError'](_0x5e229d[_0xefe4d4(0x20b)]);})));}[_0x2c0792(0x364)](){const _0x5b9184=_0x2c0792;this[_0x5b9184(0x349)](),this['_uploadNotificationService'][_0x5b9184(0x2e4)](0x2),this['_exchangeService']['interruptImportTask']();}async[_0x2c0792(0x261)](_0x5db46f){const _0x40b435=_0x2c0792;throw Error(_0x40b435(0x2f9));}async[_0x2c0792(0x276)](){const _0x67eaa5=_0x2c0792;let _0x43e2ea=this[_0x67eaa5(0x20e)][_0x67eaa5(0x27a)]();switch(_0x43e2ea?this[_0x67eaa5(0x20e)]['getUnitType'](_0x43e2ea['getUnitId']()):t[_0x67eaa5(0x257)][_0x67eaa5(0x1f3)]){case t[_0x67eaa5(0x257)][_0x67eaa5(0x248)]:return this[_0x67eaa5(0x277)]();case t[_0x67eaa5(0x257)]['UNIVER_DOC']:return this[_0x67eaa5(0x353)]();case t[_0x67eaa5(0x257)][_0x67eaa5(0x295)]:default:return this[_0x67eaa5(0x359)]();}}async[_0x2c0792(0x353)](){const _0x4fee14=_0x2c0792;let _0x4a12f2=await k([t['UniverInstanceType'][_0x4fee14(0x36d)]]);if(_0x4a12f2&&!this['_fileTypeError'](_0x4a12f2,t[_0x4fee14(0x257)][_0x4fee14(0x36d)]))return this[_0x4fee14(0x26e)](_0x4a12f2[0x0],t[_0x4fee14(0x257)][_0x4fee14(0x36d)]);}['importDOCXToSnapshot'](){const _0x1f67dd=_0x2c0792;throw Error(_0x1f67dd(0x2f9));}async[_0x2c0792(0x25d)](_0x2314d1,_0x51d38a,_0x13ccbd){const _0x154a9a=_0x2c0792;this[_0x154a9a(0x260)](s[_0x154a9a(0x2da)][_0x154a9a(0x344)]);let _0x5ceda3=await this['_exchangeService']['exportDOCXByUnitId'](_0x2314d1||this[_0x154a9a(0x31e)]());_0x5ceda3&&(E(_0x5ceda3,_0x51d38a||this['_getUnitName'](_0x5ceda3),_0x154a9a(0x211)),this[_0x154a9a(0x260)](s[_0x154a9a(0x2da)]['Success']));}async[_0x2c0792(0x2b3)](){const _0x27bc65=_0x2c0792;this[_0x27bc65(0x260)](s[_0x27bc65(0x2da)][_0x27bc65(0x344)]);let _0x188b2f=await this[_0x27bc65(0x345)](),_0x1f9625=await this[_0x27bc65(0x318)][_0x27bc65(0x2b3)](_0x188b2f);_0x1f9625&&(E(_0x1f9625,this[_0x27bc65(0x26c)](_0x1f9625),_0x27bc65(0x211)),this['_showDownloadMessage'](s['MessageType'][_0x27bc65(0x2a9)]));}async['importPPTXToUnitId'](){const _0x1695da=_0x2c0792;if(this[_0x1695da(0x23a)]()){this['_messageService'][_0x1695da(0x313)]({'type':s[_0x1695da(0x2da)][_0x1695da(0x323)],'content':this['_localeService']['t'](_0x1695da(0x258))});return;}let _0x2f4372=await k([t['UniverInstanceType'][_0x1695da(0x248)]]);if(_0x2f4372&&!this[_0x1695da(0x362)](_0x2f4372,t[_0x1695da(0x257)][_0x1695da(0x248)]))return this[_0x1695da(0x26e)](_0x2f4372[0x0],t[_0x1695da(0x257)][_0x1695da(0x248)]);}async[_0x2c0792(0x37a)](){const _0x39ceab=_0x2c0792;if(this[_0x39ceab(0x23a)]()){this['_messageService'][_0x39ceab(0x313)]({'type':s['MessageType']['Warning'],'content':this[_0x39ceab(0x2ea)]['t']('exchange-client.uploading')});return;}let _0x8497aa=await k([t[_0x39ceab(0x257)][_0x39ceab(0x248)]]);if(!_0x8497aa)return;this[_0x39ceab(0x2c3)](s[_0x39ceab(0x2da)][_0x39ceab(0x344)]);let _0x1d1efe=await this[_0x39ceab(0x318)][_0x39ceab(0x37a)](_0x8497aa[0x0]);_0x1d1efe&&(this[_0x39ceab(0x2df)](_0x1d1efe),this['_showUploadMessage'](s[_0x39ceab(0x2da)][_0x39ceab(0x2a9)]));}async[_0x2c0792(0x2a3)](_0x72a04a,_0x4e73c5,_0xae6dd0){const _0x227e18=_0x2c0792;this[_0x227e18(0x260)](s[_0x227e18(0x2da)][_0x227e18(0x344)]);let _0x75e4f1=await this['_exchangeService'][_0x227e18(0x2a3)](_0x72a04a||this[_0x227e18(0x33d)]());_0x75e4f1&&(E(_0x75e4f1,_0x4e73c5||this[_0x227e18(0x26b)](_0x75e4f1,_0xae6dd0==null?t[_0x227e18(0x257)][_0x227e18(0x248)]:_0xae6dd0),'pptx'),this['_showDownloadMessage'](s[_0x227e18(0x2da)][_0x227e18(0x2a9)]));}async[_0x2c0792(0x205)](){const _0x1fea9a=_0x2c0792;this[_0x1fea9a(0x260)](s[_0x1fea9a(0x2da)]['Info']);let _0x2e1c89=await this[_0x1fea9a(0x36f)](),_0x5c2b87=await this['_exchangeService'][_0x1fea9a(0x205)](_0x2e1c89);_0x5c2b87&&(E(_0x5c2b87,this[_0x1fea9a(0x26b)](_0x5c2b87,t[_0x1fea9a(0x257)][_0x1fea9a(0x248)]),'pptx'),this['_showDownloadMessage'](s[_0x1fea9a(0x2da)][_0x1fea9a(0x2a9)]));}async[_0x2c0792(0x359)](){const _0x34b965=_0x2c0792;if(this[_0x34b965(0x23a)]()){this[_0x34b965(0x25c)][_0x34b965(0x313)]({'type':s[_0x34b965(0x2da)][_0x34b965(0x323)],'content':this[_0x34b965(0x2ea)]['t'](_0x34b965(0x258))});return;}let _0x57c083=await k([t[_0x34b965(0x257)][_0x34b965(0x295)]]);if(_0x57c083&&!this[_0x34b965(0x362)](_0x57c083,t[_0x34b965(0x257)][_0x34b965(0x295)]))return this[_0x34b965(0x26e)](_0x57c083[0x0],t[_0x34b965(0x257)][_0x34b965(0x295)]);}async[_0x2c0792(0x241)](){const _0x4e88e4=_0x2c0792;if(this['_uploadTaskNotDone']()){this[_0x4e88e4(0x25c)]['show']({'type':s[_0x4e88e4(0x2da)][_0x4e88e4(0x323)],'content':this[_0x4e88e4(0x2ea)]['t'](_0x4e88e4(0x258))});return;}let _0x3bcde2=await k([t[_0x4e88e4(0x257)][_0x4e88e4(0x295)]]);if(!_0x3bcde2)return;this[_0x4e88e4(0x2c3)](s[_0x4e88e4(0x2da)][_0x4e88e4(0x344)]);let _0x4ff618=await this['_exchangeService'][_0x4e88e4(0x241)](_0x3bcde2[0x0]);_0x4ff618&&(this[_0x4e88e4(0x305)](_0x4ff618),this[_0x4e88e4(0x2c3)](s['MessageType']['Success']));}async[_0x2c0792(0x339)](_0x4d53d4,_0x472c41,_0x3f0d8c){const _0x2dcc9f=_0x2c0792;this[_0x2dcc9f(0x260)](s['MessageType'][_0x2dcc9f(0x344)]);let _0x1c6549=await this[_0x2dcc9f(0x318)]['exportXLSXByUnitId'](_0x4d53d4||this[_0x2dcc9f(0x269)]());_0x1c6549&&(E(_0x1c6549,_0x472c41||this[_0x2dcc9f(0x26c)](_0x1c6549),'xlsx'),this[_0x2dcc9f(0x260)](s[_0x2dcc9f(0x2da)][_0x2dcc9f(0x2a9)]));}async['exportXLSXBySnapshot'](){const _0x4703e9=_0x2c0792;this[_0x4703e9(0x260)](s[_0x4703e9(0x2da)][_0x4703e9(0x344)]);let _0x4a93de=await this['_getUnitJson'](),_0x17c0f6=await this[_0x4703e9(0x318)][_0x4703e9(0x247)](_0x4a93de);_0x17c0f6&&(E(_0x17c0f6,this['_getUnitName'](_0x17c0f6),_0x4703e9(0x2f2)),this[_0x4703e9(0x260)](s['MessageType'][_0x4703e9(0x2a9)]));}[_0x2c0792(0x34a)](_0x18604b){this['_getLinkByUnitId']=_0x18604b;}async['_importFileToUnitId'](_0x5a34f0,_0x2e8750){const _0x3cd2a3=_0x2c0792;this[_0x3cd2a3(0x299)][_0x3cd2a3(0x313)](),this[_0x3cd2a3(0x299)]['updateState'](0x0),this[_0x3cd2a3(0x356)](0x4),this['_addDoneTask'](0x1);let _0x2f7927=await this[_0x3cd2a3(0x318)]['importFileToUnitId'](_0x5a34f0,_0x2e8750);if(!_0x2f7927){this[_0x3cd2a3(0x349)](),this[_0x3cd2a3(0x299)][_0x3cd2a3(0x2e4)](0x2);return;}let _0x4d7c7c={'link':this['_getLinkByUnitId'](_0x2f7927,_0x2e8750),'name':_0x5a34f0['name'],'type':_0x2e8750};return this[_0x3cd2a3(0x299)][_0x3cd2a3(0x206)](_0x4d7c7c),this[_0x3cd2a3(0x35b)](),this['_uploadNotificationService']['updateState'](0x1),_0x2f7927;}[_0x2c0792(0x269)](){const _0x5a0865=_0x2c0792;return this[_0x5a0865(0x20e)][_0x5a0865(0x2b0)](t[_0x5a0865(0x257)][_0x5a0865(0x295)])[_0x5a0865(0x28a)]();}[_0x2c0792(0x31e)](){const _0x1f30ce=_0x2c0792;return this[_0x1f30ce(0x20e)]['getCurrentUnitOfType'](t[_0x1f30ce(0x257)]['UNIVER_DOC'])['getUnitId']();}[_0x2c0792(0x33d)](){const _0x23e47b=_0x2c0792;return this[_0x23e47b(0x20e)][_0x23e47b(0x2b0)](t[_0x23e47b(0x257)][_0x23e47b(0x248)])[_0x23e47b(0x28a)]();}[_0x2c0792(0x26c)](_0x345c21){return this['_getUnitNameByType'](_0x345c21,t['UniverInstanceType']['UNIVER_SHEET']);}['_getUnitNameByType'](_0x25da3e,_0xf96ddd){const _0x16e2ea=_0x2c0792;var _0x1384c8;let _0x5920b2=(_0x1384c8=this[_0x16e2ea(0x20e)][_0x16e2ea(0x2b0)](_0xf96ddd))==null?void 0x0:_0x1384c8['getSnapshot'](),_0x15d264=_0x5920b2==null?void 0x0:_0x5920b2['name'];return typeof _0x15d264=='string'&&_0x15d264[_0x16e2ea(0x251)]()?_0x15d264:_0x25da3e[_0x16e2ea(0x376)]['split']('.')['shift']()||document[_0x16e2ea(0x209)];}async[_0x2c0792(0x312)](){const _0x45859e=_0x2c0792;return this[_0x45859e(0x20e)][_0x45859e(0x2b0)](t[_0x45859e(0x257)][_0x45859e(0x295)])['getSnapshot']();}async[_0x2c0792(0x345)](){const _0x318929=_0x2c0792;return this['_univerInstanceService'][_0x318929(0x2b0)](t[_0x318929(0x257)]['UNIVER_DOC'])[_0x318929(0x28b)]();}async[_0x2c0792(0x36f)](){const _0x3cbfa7=_0x2c0792;let _0xfffbf8=this[_0x3cbfa7(0x20e)][_0x3cbfa7(0x2b0)](t[_0x3cbfa7(0x257)][_0x3cbfa7(0x248)]),_0x31e3e1=this['_resourceLoaderService'][_0x3cbfa7(0x2b4)](_0xfffbf8[_0x3cbfa7(0x28a)]());return _0x31e3e1==null?_0xfffbf8[_0x3cbfa7(0x28b)]():_0x31e3e1;}['_getLinkByUnitId'](_0x11ab87,_0x1943ea){const _0x11040e=_0x2c0792;let _0x11d63b=new URL(window[_0x11040e(0x249)][_0x11040e(0x2fe)]);return _0x11d63b[_0x11040e(0x1ff)][_0x11040e(0x231)](_0x11040e(0x233),_0x11ab87),_0x11d63b['searchParams']['set'](_0x11040e(0x222),''+_0x1943ea),_0x11d63b['toString']();}[_0x2c0792(0x305)](_0x545177){const _0xa8443e=_0x2c0792;let _0x4191ee=this[_0xa8443e(0x20e)][_0xa8443e(0x2b0)](t[_0xa8443e(0x257)][_0xa8443e(0x295)])[_0xa8443e(0x28a)]();this[_0xa8443e(0x20e)][_0xa8443e(0x32f)](_0x4191ee),this['_univerInstanceService'][_0xa8443e(0x2cd)](t[_0xa8443e(0x257)][_0xa8443e(0x295)],_0x545177);}[_0x2c0792(0x2df)](_0x1404bf){const _0x16b239=_0x2c0792;let _0x25ffb9=this[_0x16b239(0x20e)]['getCurrentUnitOfType'](t[_0x16b239(0x257)][_0x16b239(0x248)])['getUnitId']();this[_0x16b239(0x20e)]['disposeUnit'](_0x25ffb9),this['_univerInstanceService'][_0x16b239(0x2cd)](t[_0x16b239(0x257)][_0x16b239(0x248)],_0x1404bf);}['_showNetworkError'](_0x1d7ca5){const _0x1c7899=_0x2c0792;if(_0x1d7ca5){let {code:_0x384812}=_0x1d7ca5;switch(_0x384812){case l[_0x1c7899(0x2c7)][_0x1c7899(0x315)]:this[_0x1c7899(0x25c)][_0x1c7899(0x313)]({'type':s[_0x1c7899(0x2da)][_0x1c7899(0x1f2)],'content':this['_localeService']['t'](_0x1c7899(0x2c4))});break;case l[_0x1c7899(0x2c7)]['INTERNAL_ERROR']:this[_0x1c7899(0x25c)][_0x1c7899(0x313)]({'type':s[_0x1c7899(0x2da)][_0x1c7899(0x1f2)],'content':this[_0x1c7899(0x2ea)]['t'](_0x1c7899(0x34b))});break;default:this[_0x1c7899(0x25c)][_0x1c7899(0x313)]({'type':s[_0x1c7899(0x2da)][_0x1c7899(0x1f2)],'content':this[_0x1c7899(0x2ea)]['t']('exchange-client.networkError')});break;}return null;}return this[_0x1c7899(0x25c)][_0x1c7899(0x313)]({'type':s[_0x1c7899(0x2da)]['Error'],'content':this['_localeService']['t'](_0x1c7899(0x218))}),null;}[_0x2c0792(0x260)](_0x2de8d8){const _0x1bcb59=_0x2c0792;let _0xc1354b='';switch(_0x2de8d8){case s['MessageType']['Success']:_0xc1354b=this[_0x1bcb59(0x2ea)]['t'](_0x1bcb59(0x2dd));break;case s['MessageType'][_0x1bcb59(0x344)]:_0xc1354b=this[_0x1bcb59(0x2ea)]['t']('exchange-client.downloading');break;default:break;}this['_messageService'][_0x1bcb59(0x313)]({'type':_0x2de8d8,'content':_0xc1354b});}[_0x2c0792(0x2c3)](_0x22be1f){const _0x456d6b=_0x2c0792;let _0x522eda='';switch(_0x22be1f){case s[_0x456d6b(0x2da)]['Success']:_0x522eda=this['_localeService']['t'](_0x456d6b(0x32b));break;case s['MessageType']['Info']:_0x522eda=this[_0x456d6b(0x2ea)]['t'](_0x456d6b(0x258));break;default:break;}this['_messageService']['show']({'type':_0x22be1f,'content':_0x522eda});}['_emitProgress'](){this['_progress$']['next']({'done':this['_doneUploadTaskCount'],'count':this['_totalUploadTaskCount']});}[_0x2c0792(0x356)](_0x274d13){const _0x3fd6c5=_0x2c0792;this[_0x3fd6c5(0x374)]+=_0x274d13,this[_0x3fd6c5(0x244)]();}[_0x2c0792(0x327)](_0x1bfaff){const _0x5ec0d8=_0x2c0792;this[_0x5ec0d8(0x200)]+=_0x1bfaff,this['_doneUploadTaskCount']=Math[_0x5ec0d8(0x22b)](this[_0x5ec0d8(0x200)],this['_totalUploadTaskCount']),this[_0x5ec0d8(0x244)]();}[_0x2c0792(0x35b)](){const _0x233b75=_0x2c0792;this[_0x233b75(0x200)]=this[_0x233b75(0x374)],this[_0x233b75(0x244)]();}[_0x2c0792(0x349)](){const _0x407261=_0x2c0792;this['_doneUploadTaskCount']=0x0,this['_totalUploadTaskCount']=0x0,this[_0x407261(0x244)]();}[_0x2c0792(0x362)](_0x86f4a9,_0xa00c18){const _0x411c13=_0x2c0792;let _0x570727=_0x86f4a9[0x0],_0x142f3c=_0x570727[_0x411c13(0x376)];return D(_0x570727)===_0xa00c18?!0x1:(this['_messageService']['show']({'type':s[_0x411c13(0x2da)][_0x411c13(0x1f2)],'content':this[_0x411c13(0x2ea)]['t']('exchange-client.fileTypeError',_0x142f3c)}),!0x0);}['_uploadTaskNotDone'](){const _0x358815=_0x2c0792;return this[_0x358815(0x374)]!==0x0&&this['_doneUploadTaskCount']!==this[_0x358815(0x374)];}};function _0x243f(){const _0x182880=['UniverNetworkPlugin','minSheetRowCount','SuccessIcon','split','_logService','status','add','UNIVER_DOC','complete','_getUnitSlideJson','success','toDisposable','updateSnapshot','options','_totalUploadTaskCount','1.0.0-alpha.2','name','_getExportURL','textDecoder','_sheetBlockCache','importPPTXToSnapshot','univer-text-sm\x20univer-text-gray-500','hide','change','_export','Error','UNRECOGNIZED','univer-mt-5\x20univer-flex\x20univer-flex-col','DocsMultiIcon','3022190kkjWHR','useState','text','transformDocumentDataToSnapshot','statusText','Content-Type','object','_getTaskURL','application/vnd.openxmlformats-officedocument.spreadsheetml.template','searchParams','_doneUploadTaskCount','sheets','multiple','17yVDSAs','append','exportPPTXBySnapshot','pushLink','b64EncodeUnicode','Subject','title','Failed\x20to\x20get\x20text\x20from\x20url','error','appendChild','pathname','_univerInstanceService','download','div','docx','exchange-client.wait','createElement','_requestState$','connectInjector','/universer-api/file/{fileID}/sign-url','UNDEFINED','exchange-client.networkError','unitID','IExchangeOperateService','univer-flex\x20univer-justify-between\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-py-1\x20univer-text-gray-900\x20univer-no-underline\x20univer-outline-none\x20univer-transition-colors\x20hover:univer-bg-gray-200\x20dark:!univer-text-white\x20dark:hover:!univer-bg-gray-600','_registerIcons','sheetBlocks','resources','exportServerUrl','_list$','Plugin','type','upload','_getIgnoreTableExport','Inject','getTask','univer-ml-1.5\x20univer-font-semibold\x20univer-leading-6\x20univer-text-gray-900\x20dark:!univer-text-white','ExchangeOperateService','application/vnd.openxmlformats-officedocument.wordprocessingml.document','resolve','min','SUCCESS','univer-h-7\x20univer-cursor-pointer\x20univer-select-none\x20univer-rounded-md\x20univer-border-0\x20univer-border-transparent\x20univer-bg-transparent\x20univer-px-2\x20univer-py-0\x20univer-text-sm\x20univer-text-primary-600\x20univer-transition-all\x20univer-duration-150\x20hover:univer-bg-primary-50','_getDownloadEndpointURL','transformWorkbookDataToSnapshotJson','univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-p-0\x20univer-text-base\x20univer-text-gray-600\x20univer-outline-none\x20univer-transition-colors\x20hover:univer-bg-gray-200\x20dark:!univer-text-gray-200\x20dark:hover:!univer-bg-gray-600','set','_resourceLoaderService','unit','saveChangeset','_httpService','exchange-client.uploadSuccessTip','Error\x20getting\x20file\x20name\x20from\x20URL:','getUploadFile','block\x20is\x20required','_uploadTaskNotDone','_uiPartsService','join','importServerUrl','requestState$','Injector','click','importXLSXToSnapshot','createIdentifier','rev','_emitProgress','FileId','_exportBySnapshot','exportXLSXBySnapshot','UNIVER_SLIDE','location','_getSignURL','url','univer-pro.exchange-client.exchange.service','upload\x20failed:\x20FileId\x20is\x20empty','\x20-\x20','sign\x20url\x20error','_importTaskId','trim','input','snapshot','prototype','IRequestService','post','UniverInstanceType','exchange-client.uploading','_signUrl','asObservable','_importToSnapshot','_messageService','exportDOCXByUnitId','_requestService','478974UkLCyO','_showDownloadMessage','uploadFileToUnitId','slide','_list','univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden','files','ClockIcon','Error\x20fetching\x20file\x20from\x20URL:','keys','_getUnitID','application/octet-stream','_getUnitNameByType','_getUnitName','_import','_importFileToUnitId','call','link','univer-flex','iterator','IExchangeService','disableCellImageConversion','?size=','importFileToUnitIdByCurrentType','importPPTXToUnitId','state$','_upload','getFocusedUnit','&flate=','blockID','&source=','76ZrRkAy','21pVHnuv','fileID','getSheetBlock','_getMinSheetRowCount','signUrlServerUrl','upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url','interruptImportTask','xltx','transformSnapshotToWorkbookData','size','version','getUnitId','getSnapshot','BuiltInUIPart','UploadNotificationService','transformSlideDataToSnapshot','univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','UPLOADING','removeChild','message','packageName','_getMaxPollingTime','UNIVER_SHEET','exchange-client.uploadAgain','946qHrOCc','Disposable','_uploadNotificationService','Failed\x20to\x20get\x20fileID\x20from\x20task','symbol','list$','HTTPService','forEach','doc','ErrorIcon','saveSnapshot','UniverExchangeClientPlugin','exportPPTXByUnitId','number','transformDocumentDataToSnapshotJson','_getDisableCellImageConversion','getConfig','export\x20error','Success','span','unshift','onReady','headers','decode','toLowerCase','getCurrentUnitOfType','values','body','exportDOCXBySnapshot','saveUnit','_configService','importFileToUnitId','useDependency','No\x20file\x20selected','import','transformSnapshotToDocumentData','transformSnapshotJsonToSlideData','clear','jsonID','Failed\x20to\x20parse\x20json','b64DecodeUnicode','file','clearTaskInterrupted','jsxs','_showUploadMessage','exchange-client.tooLarge','/universer-api/exchange/{type}/export','visible$','ErrorCode','file.json','UNIVER_UNKNOWN','parse','ERROR','univer-h-6\x20univer-text-2xl','createUnit','_state$','12010QDTvrD','169596PZRfCL','Failed\x20to\x20get\x20taskID\x20from\x20import\x20response','CONTENT','none','importDOCXToSnapshot','file.','getUniverInstanceTypeByFile','UNIVER_EXCHANGE_CLIENT_PLUGIN','univer-fixed\x20univer-bottom-12\x20univer-right-3\x20univer-z-[1000]\x20univer-box-border\x20univer-flex\x20univer-w-[372px]\x20univer-flex-col\x20univer-rounded-md\x20univer-bg-white\x20univer-px-3\x20univer-pb-4\x20univer-pt-5\x20univer-shadow-md','registerComponent','MessageType','content-disposition','some','exchange-client.downloadSuccess','default','_refreshSlide','getTextFromUrl','noreferrer','_registerComponents','SheetsMultiIcon','updateState','Failed\x20to\x20get\x20unitID\x20from\x20task','toPrimitive','style','pluginName','outputType','_localeService','origin','_taskInterrupted','369420kysMIj','signUrl','_progress$','unsubscribe','IUniverInstanceService','xlsx','buffer','pop','taskID','xlsm','FileSource','@univerjs-pro/exchange-client','Method\x20not\x20implemented.','_config','workbook.json','Get\x20outputType\x20error','floor','href','transformSnapshotToSlideData','univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','workbook','Failed\x20to\x20transform\x20snapshot\x20to\x20string','151352bWiitd','enableServerSideComputing','_refresh','_getEnableServerSideComputing','Failed\x20to\x20get\x20jsonID\x20from\x20task','setTaskInterrupted','progress$','subscribe','application/vnd.openxmlformats-officedocument.presentationml.presentation','blob','get','onStarting','addEventListener','defineProperty',':\x20HTTP\x20','_getUnitJson','show','disposeWithMe','CONNECTOR_DATA_TOO_LARGE','data','IMessageService','_exchangeService','toStringTag','code','DependentOn','_extractErrorDetail','jsx','_getUnitIDDoc','_buildProtocolErrorMessage','next','originalMeta','scrollbarClassName','Warning','_iconManager','revokeObjectURL','univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','_addDoneTask','exchange-client.cancel','deflateSync','import\x20error','exchange-client.uploadSuccess','DirectExportIcon','univer-mb-3\x20univer-py-0\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','replace','disposeUnit','univer-pro.exchange-client.request.service','IConfigService','univer-text-red-500','univer-text-blue-500','filter','catch','clsx','map','univer-flex\x20univer-size-6\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-text-gray-500\x20univer-transition-colors\x20hover:univer-bg-gray-200\x20dark:!univer-bg-gray-600','exportXLSXByUnitId','getResourcesRequest','string','univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','_getUnitIDSlide','UniverLicensePlugin','dispose','useEffect','button','minSheetColumnCount','_buildHttpErrorMessage','Info','_getUnitDocJson','accept','function','application/json','_clearProgress','registerLink','exchange-client.internalError','getDeserializedSheetBlock','createObjectURL','_blank','encode','SlidesMultiIcon','copyFileMeta','decorate','importDOCXToUnitId','_visible$','getUnitOnRev','_addTotalCount','isArray','LocaleService','importXLSXToUnitId','UNIVER_BOARD','_completeProgress','_getMinSheetColumnCount','downloadFile','_injector','uploadFileServerUrl','{fileID}','_getImportURL','_fileTypeError','registerDependencies','interrupt','length'];_0x243f=function(){return _0x182880;};return _0x243f();}function _0x37e6(_0x416d57,_0x4fea30){_0x416d57=_0x416d57-0x1f1;const _0x243f9e=_0x243f();let _0x37e699=_0x243f9e[_0x416d57];return _0x37e699;}J=P([N(0x0,(0x0,t[_0x2c0792(0x225)])(t[_0x2c0792(0x2f1)])),N(0x1,i[_0x2c0792(0x317)]),N(0x2,(0x0,t['Inject'])(t[_0x2c0792(0x358)])),N(0x3,(0x0,t[_0x2c0792(0x225)])(G)),N(0x4,(0x0,t[_0x2c0792(0x225)])(_)),N(0x5,t['ILogService']),N(0x6,(0x0,t[_0x2c0792(0x225)])(t['IResourceLoaderService']))],J);function Y(_0x3f5a6a){const _0x3ac204=_0x2c0792;let {onClick:_0x85d1d3,children:_0x588649,className:_0x216ede}=_0x3f5a6a;return(0x0,c[_0x3ac204(0x31d)])(_0x3ac204(0x341),{'className':(0x0,s[_0x3ac204(0x336)])(_0x3ac204(0x22d),_0x216ede),'type':_0x3ac204(0x341),'onClick':_0x85d1d3,'children':_0x588649});}function X(){const _0x26c94c=_0x2c0792;let _0x2cb8dd=(0x0,i[_0x26c94c(0x2b7)])(q),_0x4747c1=(0x0,i[_0x26c94c(0x2b7)])(t[_0x26c94c(0x358)]);function _0x36a1eb(){const _0x34a40c=_0x26c94c;_0x2cb8dd[_0x34a40c(0x276)]();}return(0x0,c['jsx'])(Y,{'onClick':_0x36a1eb,'children':_0x4747c1['t'](_0x26c94c(0x296))});}function me(){const _0x3c35c1=_0x2c0792;return(0x0,c[_0x3c35c1(0x2c2)])(_0x3c35c1(0x210),{'className':'univer-mt-5\x20univer-flex\x20univer-flex-col','children':[(0x0,c['jsx'])('span',{'className':_0x3c35c1(0x32d),'children':(0x0,i[_0x3c35c1(0x2b7)])(t[_0x3c35c1(0x358)])['t']('exchange-client.interrupt')}),(0x0,c[_0x3c35c1(0x31d)])(X,{})]});}function he(_0x42df86){const _0x63de40=_0x2c0792;let {count:_0x1e0254}=_0x42df86;return(0x0,c[_0x63de40(0x2c2)])(_0x63de40(0x210),{'className':'univer-mt-3\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-2\x20univer-pr-1','children':[(0x0,c['jsx'])(_0x63de40(0x2aa),{'className':_0x63de40(0x37b),'children':(0x0,i[_0x63de40(0x2b7)])(t['LocaleService'])['t'](_0x63de40(0x236),''+_0x1e0254)}),(0x0,c['jsx'])(X,{})]});}function ge(){const _0x4682f4=_0x2c0792;let _0xf6605d=(0x0,i['useDependency'])(q),_0x257667=(0x0,i[_0x4682f4(0x2b7)])(t[_0x4682f4(0x358)]);function _0x21d96d(){const _0x9abbdf=_0x4682f4;_0xf6605d[_0x9abbdf(0x364)]();}return(0x0,c[_0x4682f4(0x31d)])(Y,{'onClick':_0x21d96d,'children':_0x257667['t'](_0x4682f4(0x328))});}function _e(){const _0x2f8904=_0x2c0792;let {count:_0x2477e5,done:_0xc1ebef}=(0x0,i['useObservable'])((0x0,i[_0x2f8904(0x2b7)])(q)[_0x2f8904(0x309)]),[_0x51d808,_0x345a06]=(0x0,a['useState'])(_0x2477e5>0x0?_0xc1ebef/_0x2477e5:0x0);return(0x0,a['useEffect'])(()=>{_0x345a06(_0x2477e5>0x0?_0xc1ebef/_0x2477e5:0x0);},[_0x2477e5,_0xc1ebef]),(0x0,c['jsx'])(_0x2f8904(0x210),{'className':'univer-mx-0\x20univer-mb-3\x20univer-mt-4\x20univer-h-1.5\x20univer-w-[324px]\x20univer-rounded-lg\x20univer-bg-gray-200','children':(0x0,c[_0x2f8904(0x31d)])(_0x2f8904(0x210),{'className':'univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','style':{'width':Math[_0x2f8904(0x2fd)](_0x51d808*0x64)+'%'}})});}function ve(){const _0x4df03f=_0x2c0792;return(0x0,c[_0x4df03f(0x2c2)])('div',{'className':_0x4df03f(0x1f4),'children':[(0x0,c['jsx'])('span',{'className':_0x4df03f(0x300),'children':(0x0,i['useDependency'])(t[_0x4df03f(0x358)])['t'](_0x4df03f(0x212))}),(0x0,c[_0x4df03f(0x31d)])('div',{'className':'univer-pl-2\x20univer-pr-4','children':(0x0,c[_0x4df03f(0x31d)])(_e,{})}),(0x0,c[_0x4df03f(0x31d)])(ge,{})]});}const ye={0x1:(0x0,c['jsx'])(r[_0x2c0792(0x368)],{'className':'univer-text-green-500'}),0x0:(0x0,c[_0x2c0792(0x31d)])(r[_0x2c0792(0x266)],{'className':_0x2c0792(0x333)}),0x2:(0x0,c[_0x2c0792(0x31d)])(r[_0x2c0792(0x2a0)],{'className':_0x2c0792(0x332)})};function be(){const _0x419db9=_0x2c0792;let [_0xd4fcb0,_0x4e2bf7]=(0x0,a[_0x419db9(0x1f7)])(0x0),[_0x25160d,_0x52dbb4]=(0x0,a[_0x419db9(0x1f7)])(!0x1),[_0x48a2ea,_0x5bab8e]=(0x0,a[_0x419db9(0x1f7)])([]),_0xef2ea4=(0x0,i['useDependency'])(_),_0x547232=(0x0,i['useDependency'])(t[_0x419db9(0x358)]);(0x0,a[_0x419db9(0x340)])(()=>{const _0x3358a6=_0x419db9;let _0x192b5f=_0xef2ea4['visible$']['subscribe'](_0x5b6e43=>{_0x52dbb4(_0x5b6e43);}),_0x4d53d7=_0xef2ea4[_0x3358a6(0x29c)][_0x3358a6(0x30a)](_0x2df22c=>{_0x5bab8e(_0x2df22c);}),_0x563501=_0xef2ea4['state$'][_0x3358a6(0x30a)](_0x188832=>{_0x4e2bf7(_0x188832);});return()=>{const _0x4b1cbe=_0x3358a6;_0x192b5f[_0x4b1cbe(0x2f0)](),_0x4d53d7[_0x4b1cbe(0x2f0)](),_0x563501[_0x4b1cbe(0x2f0)]();};},[]);function _0x154e0a(){_0x52dbb4(!0x1);}function _0x3d92fe(_0x29e52e){const _0x1d853b=_0x419db9;switch(_0x29e52e){case 0x1:return _0x547232['t']('exchange-client.uploadSuccess');case 0x0:return _0x547232['t'](_0x1d853b(0x258));case 0x2:return _0x547232['t']('exchange-client.unknownMistake');default:return'';}}return _0x25160d&&(0x0,c[_0x419db9(0x2c2)])(_0x419db9(0x210),{'className':_0x419db9(0x2d8),'children':[(0x0,c['jsxs'])(_0x419db9(0x210),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2','children':[(0x0,c[_0x419db9(0x2c2)])(_0x419db9(0x2aa),{'className':_0x419db9(0x271),'children':[(0x0,c[_0x419db9(0x31d)])(_0x419db9(0x2aa),{'className':_0x419db9(0x2cc),'children':ye[_0xd4fcb0]}),(0x0,c[_0x419db9(0x31d)])(_0x419db9(0x2aa),{'className':_0x419db9(0x227),'children':_0x3d92fe(_0xd4fcb0)})]}),(0x0,c[_0x419db9(0x31d)])(_0x419db9(0x2aa),{'className':_0x419db9(0x338),'onClick':_0x154e0a,'children':(0x0,c[_0x419db9(0x31d)])(r['CloseIcon'],{})})]}),(0x0,c[_0x419db9(0x2c2)])(_0x419db9(0x210),{'children':[_0xd4fcb0===0x0&&(0x0,c[_0x419db9(0x31d)])(ve,{}),_0xd4fcb0===0x2&&(0x0,c['jsx'])(me,{}),_0x48a2ea[_0x419db9(0x365)]>0x0&&(0x0,c[_0x419db9(0x31d)])(ie,{'list':_0x48a2ea}),_0xd4fcb0===0x1&&(0x0,c['jsx'])(he,{'count':_0x48a2ea['length']})]})]});}function Z(){const _0x3530dd=_0x2c0792;return(0x0,c[_0x3530dd(0x31d)])(be,{});}let Q=class extends t[_0x2c0792(0x298)]{constructor(_0x20ccad,_0x5d762c,_0x3c7475){const _0x4f4d51=_0x2c0792;super(),this['_injector']=_0x20ccad,this[_0x4f4d51(0x23b)]=_0x5d762c,this[_0x4f4d51(0x324)]=_0x3c7475,this[_0x4f4d51(0x21c)](),this[_0x4f4d51(0x2e2)]();}[_0x2c0792(0x21c)](){const _0x460a3b=_0x2c0792;this[_0x460a3b(0x314)](this['_iconManager']['register']({'DirectExportIcon':r[_0x460a3b(0x32c)]}));}[_0x2c0792(0x2e2)](){const _0x4e0fac=_0x2c0792;this[_0x4e0fac(0x314)](this['_uiPartsService'][_0x4e0fac(0x2d9)](i[_0x4e0fac(0x28c)][_0x4e0fac(0x2d2)],()=>(0x0,i[_0x4e0fac(0x215)])(Z,this[_0x4e0fac(0x35e)])));}};Q=P([N(0x0,(0x0,t[_0x2c0792(0x225)])(t[_0x2c0792(0x23f)])),N(0x1,i['IUIPartsService']),N(0x2,(0x0,t[_0x2c0792(0x225)])(i['IconManager']))],Q);let $=class extends t[_0x2c0792(0x221)]{constructor(_0x3320a9=p,_0x517518,_0x5b743a){const _0xdd562b=_0x2c0792;super(),this['_config']=_0x3320a9,this[_0xdd562b(0x35e)]=_0x517518,this[_0xdd562b(0x2b5)]=_0x5b743a;let {..._0x213e49}=(0x0,t['merge'])({},p,this[_0xdd562b(0x2fa)]);this[_0xdd562b(0x2b5)]['setConfig'](f,_0x213e49);}[_0x2c0792(0x30e)](){const _0x14784e=_0x2c0792;(0x0,t[_0x14784e(0x363)])(this[_0x14784e(0x35e)],[[Q],[q,{'useClass':J}],[G,{'useClass':K}],[F,{'useClass':I}],[_,{'useClass':v}]]);}[_0x2c0792(0x2ac)](){(0x0,t['touchDependencies'])(this['_injector'],[[Q],[q]]);}};g($,_0x2c0792(0x2e8),_0x2c0792(0x2d7)),g($,_0x2c0792(0x293),m),g($,_0x2c0792(0x289),ee),$=P([(0x0,t[_0x2c0792(0x31b)])(n[_0x2c0792(0x366)],e[_0x2c0792(0x33e)]),N(0x1,(0x0,t['Inject'])(t['Injector'])),N(0x2,t[_0x2c0792(0x331)])],$),exports['EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY']=f,Object['defineProperty'](exports,_0x2c0792(0x228),{'enumerable':!0x0,'get':function(){return J;}}),Object['defineProperty'](exports,'ExchangeService',{'enumerable':!0x0,'get':function(){return K;}}),exports[_0x2c0792(0x21a)]=q,exports[_0x2c0792(0x273)]=G,exports[_0x2c0792(0x255)]=F,exports['IUploadNotificationService']=_,Object[_0x2c0792(0x310)](exports,'RequestService',{'enumerable':!0x0,'get':function(){return I;}}),Object['defineProperty'](exports,_0x2c0792(0x2a2),{'enumerable':!0x0,'get':function(){return $;}}),exports['UploadNotificationContainer']=Z,exports[_0x2c0792(0x28d)]=v,exports['UploadNotificationState']=re,exports[_0x2c0792(0x35d)]=E,exports[_0x2c0792(0x2d6)]=D,exports[_0x2c0792(0x238)]=k,exports[_0x2c0792(0x2a5)]=z,exports['transformSlideDataToSnapshotJson']=B,exports['transformSnapshotJsonToDocumentData']=H,exports[_0x2c0792(0x2bb)]=U,exports['transformSnapshotJsonToWorkbookData']=V,exports[_0x2c0792(0x22f)]=R;
|
package/lib/cjs/locale/ar-SA.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x1dc9(_0x22ac22,_0x19f473){_0x22ac22=_0x22ac22-0x1d5;const _0x4ae9d8=_0x4ae9();let _0x1dc9e8=_0x4ae9d8[_0x22ac22];return _0x1dc9e8;}function _0x4ae9(){const _0x17c395=['5206888yHjrDj','إعادة\x20الرفع','نوع\x20الملف\x20المحدد\x20[{0}]\x20غير\x20مدعوم\x20للرفع','2895520ZvBuls','195352hzcwuY','يرجى\x20الانتظار...','4HrpErr','exports','914004ubRmCd','1218933XiYKMv','خطأ\x20في\x20الشبكة','4JYrFMh','61194vgWpGx','تم\x20التحميل\x20بنجاح','610090FJaRTU','9ZKOyJy','البيانات\x20كبيرة\x20جداً','خطأ\x20غير\x20معروف','إلغاء'];_0x4ae9=function(){return _0x17c395;};return _0x4ae9();}const _0x54a02b=_0x1dc9;(function(_0x33969b,_0x56bc9b){const _0x3f6abf=_0x1dc9,_0xf6d5ec=_0x33969b();while(!![]){try{const _0x55c85e=-parseInt(_0x3f6abf(0x1d8))/0x1*(parseInt(_0x3f6abf(0x1e4))/0x2)+-parseInt(_0x3f6abf(0x1d6))/0x3+-parseInt(_0x3f6abf(0x1e6))/0x4*(-parseInt(_0x3f6abf(0x1e3))/0x5)+parseInt(_0x3f6abf(0x1d5))/0x6+parseInt(_0x3f6abf(0x1d9))/0x7+-parseInt(_0x3f6abf(0x1e0))/0x8*(-parseInt(_0x3f6abf(0x1dc))/0x9)+-parseInt(_0x3f6abf(0x1db))/0xa;if(_0x55c85e===_0x56bc9b)break;else _0xf6d5ec['push'](_0xf6d5ec['shift']());}catch(_0x4e964c){_0xf6d5ec['push'](_0xf6d5ec['shift']());}}}(_0x4ae9,0x82219));const e={'exchange-client':{'uploading':'جارٍ\x20الرفع','uploadSuccess':'تم\x20رفع\x20الملف\x20بنجاح','uploadSuccessTip':'تم\x20رفع\x20{0}\x20ملف/ملفات\x20بنجاح','downloading':'جارٍ\x20التحميل','downloadSuccess':_0x54a02b(0x1da),'unknownMistake':_0x54a02b(0x1de),'networkError':_0x54a02b(0x1d7),'tooLarge':_0x54a02b(0x1dd),'internalError':'خطأ\x20داخلي\x20غير\x20معروف','interrupt':'تمت\x20مقاطعة\x20الاتصال\x20بالشبكة\x20وفشل\x20رفع\x20الملف','fileTypeError':_0x54a02b(0x1e2),'wait':_0x54a02b(0x1e5),'cancel':_0x54a02b(0x1df),'uploadAgain':_0x54a02b(0x1e1)}};module[_0x54a02b(0x1e7)]=e;
|
package/lib/cjs/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x1502fb=_0x334a;function _0x981a(){const _0x126ec2=['Error\x20de\x20xarxa','Fitxer\x20pujat\x20correctament','exports','La\x20connexió\x20de\x20xarxa\x20s\x27ha\x20interromput\x20i\x20la\x20pujada\x20del\x20fitxer\x20ha\x20fallat','200862EZtvNU','664OIfZWk','6ZzaEnf','4LrKXMa','1108455MhxrkW','Pujant','Cancel·lar','Error\x20intern\x20desconegut','Les\x20dades\x20són\x20massa\x20grans','{0}\x20fitxer(s)\x20pujat(s)\x20correctament','26472260wJYNOJ','Descàrrega\x20correcta','2956240LQaerM','12482876GWQIQu','Error\x20desconegut','32328HFkWUN','1873400aSlGSf'];_0x981a=function(){return _0x126ec2;};return _0x981a();}(function(_0x15658c,_0x16ad51){const _0x258523=_0x334a,_0x224b3d=_0x15658c();while(!![]){try{const _0x49a88e=parseInt(_0x258523(0x19f))/0x1+parseInt(_0x258523(0x1a0))/0x2+-parseInt(_0x258523(0x194))/0x3*(parseInt(_0x258523(0x193))/0x4)+parseInt(_0x258523(0x19c))/0x5*(-parseInt(_0x258523(0x192))/0x6)+parseInt(_0x258523(0x19d))/0x7+-parseInt(_0x258523(0x191))/0x8*(-parseInt(_0x258523(0x1a5))/0x9)+-parseInt(_0x258523(0x19a))/0xa;if(_0x49a88e===_0x16ad51)break;else _0x224b3d['push'](_0x224b3d['shift']());}catch(_0x3e151e){_0x224b3d['push'](_0x224b3d['shift']());}}}(_0x981a,0xf357b));function _0x334a(_0x2811cf,_0x54cc88){_0x2811cf=_0x2811cf-0x191;const _0x981a35=_0x981a();let _0x334ac5=_0x981a35[_0x2811cf];return _0x334ac5;}const e={'exchange-client':{'uploading':_0x1502fb(0x195),'uploadSuccess':_0x1502fb(0x1a2),'uploadSuccessTip':_0x1502fb(0x199),'downloading':'Descarregant','downloadSuccess':_0x1502fb(0x19b),'unknownMistake':_0x1502fb(0x19e),'networkError':_0x1502fb(0x1a1),'tooLarge':_0x1502fb(0x198),'internalError':_0x1502fb(0x197),'interrupt':_0x1502fb(0x1a4),'fileTypeError':'El\x20fitxer\x20seleccionat\x20[{0}]\x20no\x20és\x20compatible\x20per\x20pujar','wait':'Espereu...','cancel':_0x1502fb(0x196),'uploadAgain':'Tornar\x20a\x20pujar'}};module[_0x1502fb(0x1a3)]=e;
|
package/lib/cjs/locale/de-DE.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x28cde4=_0x3ac3;function _0x3ac3(_0x153335,_0x10aad0){_0x153335=_0x153335-0x152;const _0x483c6b=_0x483c();let _0x3ac355=_0x483c6b[_0x153335];return _0x3ac355;}function _0x483c(){const _0x258c55=['Erneut\x20hochladen','6OOygNB','Datei\x20erfolgreich\x20hochgeladen','2692711NHyCIV','Die\x20Netzwerkverbindung\x20wurde\x20unterbrochen\x20und\x20der\x20Datei-Upload\x20ist\x20fehlgeschlagen','Interner\x20unbekannter\x20Fehler','Unbekannter\x20Fehler','1311050qCSuJU','257463rHfkLi','16AbDKkt','Bitte\x20warten...','Daten\x20sind\x20zu\x20groß','exports','{0}\x20Datei(en)\x20erfolgreich\x20hochgeladen','Die\x20ausgewählte\x20Datei\x20[{0}]\x20wird\x20für\x20den\x20Upload\x20nicht\x20unterstützt','119058tvwDkn','9818990RCFyMG','Download\x20erfolgreich','1302345YCJBJN','3302280kSZztP','6iwOMvs','Netzwerkfehler','11DDbgDY'];_0x483c=function(){return _0x258c55;};return _0x483c();}(function(_0x484983,_0x112160){const _0x1b9ae8=_0x3ac3,_0xdcdcea=_0x484983();while(!![]){try{const _0x2e54e2=parseInt(_0x1b9ae8(0x165))/0x1*(parseInt(_0x1b9ae8(0x160))/0x2)+-parseInt(_0x1b9ae8(0x163))/0x3+parseInt(_0x1b9ae8(0x164))/0x4+parseInt(_0x1b9ae8(0x158))/0x5+parseInt(_0x1b9ae8(0x152))/0x6*(parseInt(_0x1b9ae8(0x154))/0x7)+-parseInt(_0x1b9ae8(0x15a))/0x8*(-parseInt(_0x1b9ae8(0x159))/0x9)+-parseInt(_0x1b9ae8(0x161))/0xa*(parseInt(_0x1b9ae8(0x167))/0xb);if(_0x2e54e2===_0x112160)break;else _0xdcdcea['push'](_0xdcdcea['shift']());}catch(_0x3bc8fb){_0xdcdcea['push'](_0xdcdcea['shift']());}}}(_0x483c,0x72f2b));const e={'exchange-client':{'uploading':'Wird\x20hochgeladen','uploadSuccess':_0x28cde4(0x153),'uploadSuccessTip':_0x28cde4(0x15e),'downloading':'Wird\x20heruntergeladen','downloadSuccess':_0x28cde4(0x162),'unknownMistake':_0x28cde4(0x157),'networkError':_0x28cde4(0x166),'tooLarge':_0x28cde4(0x15c),'internalError':_0x28cde4(0x156),'interrupt':_0x28cde4(0x155),'fileTypeError':_0x28cde4(0x15f),'wait':_0x28cde4(0x15b),'cancel':'Abbrechen','uploadAgain':_0x28cde4(0x168)}};module[_0x28cde4(0x15d)]=e;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x57b812=_0x2273;function _0x2273(_0x1cd42b,_0x1dc4aa){_0x1cd42b=_0x1cd42b-0x1e3;const _0x3d7405=_0x3d74();let _0x2273b3=_0x3d7405[_0x1cd42b];return _0x2273b3;}(function(_0x449bd6,_0xcb10dd){const _0x4232ec=_0x2273,_0x36f1d2=_0x449bd6();while(!![]){try{const _0x126489=-parseInt(_0x4232ec(0x1ec))/0x1*(parseInt(_0x4232ec(0x1e7))/0x2)+-parseInt(_0x4232ec(0x1e8))/0x3+parseInt(_0x4232ec(0x1e6))/0x4*(parseInt(_0x4232ec(0x1f4))/0x5)+-parseInt(_0x4232ec(0x1ed))/0x6+-parseInt(_0x4232ec(0x1e9))/0x7*(parseInt(_0x4232ec(0x1e3))/0x8)+-parseInt(_0x4232ec(0x1e4))/0x9*(parseInt(_0x4232ec(0x1f0))/0xa)+parseInt(_0x4232ec(0x1eb))/0xb;if(_0x126489===_0xcb10dd)break;else _0x36f1d2['push'](_0x36f1d2['shift']());}catch(_0x2f0c6a){_0x36f1d2['push'](_0x36f1d2['shift']());}}}(_0x3d74,0xf3280));const e={'exchange-client':{'uploading':_0x57b812(0x1e5),'uploadSuccess':_0x57b812(0x1f5),'uploadSuccessTip':_0x57b812(0x1ea),'downloading':_0x57b812(0x1f2),'downloadSuccess':_0x57b812(0x1f1),'unknownMistake':_0x57b812(0x1ee),'networkError':_0x57b812(0x1f8),'tooLarge':_0x57b812(0x1f7),'internalError':'Internal\x20unknown\x20error','interrupt':_0x57b812(0x1f9),'fileTypeError':'Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','wait':_0x57b812(0x1f3),'cancel':_0x57b812(0x1ef),'uploadAgain':_0x57b812(0x1f6)}};function _0x3d74(){const _0x1e383a=['Downloading','Please\x20wait...','4809615WPmEfZ','File\x20uploaded\x20successfully','Upload\x20again','Data\x20is\x20too\x20large','Network\x20error','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','1264hcYkMc','63ULAFmg','Uploading','4IiiMVR','1506686MSWyNW','621102BKCaWo','30373NIKHst','{0}\x20file(s)\x20uploaded\x20successfully','50465217wUgvjQ','1NriYkT','8067810tCXqEY','Unknown\x20mistake','Cancel','2233040fMzltP','Download\x20success'];_0x3d74=function(){return _0x1e383a;};return _0x3d74();}module['exports']=e;
|
package/lib/cjs/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x2b5212=_0x5e9b;function _0x5b23(){const _0x3e6e2d=['6InpiJS','223294yFvlCe','Archivo\x20subido\x20exitosamente','55bhBIkr','El\x20archivo\x20seleccionado\x20[{0}]\x20no\x20es\x20compatible\x20para\x20subir','5879160phztdE','1842612lCFEQX','8wajMAv','Error\x20de\x20red','Descargando','212600EnAPLt','Cancelar','6RGvtxw','Subiendo','{0}\x20archivo(s)\x20subido(s)\x20exitosamente','4473805PHmkmX','1379022RBkbfT','Descarga\x20exitosa','429867XHtIfn','Subir\x20de\x20nuevo','Espere...','Los\x20datos\x20son\x20demasiado\x20grandes'];_0x5b23=function(){return _0x3e6e2d;};return _0x5b23();}(function(_0x11e6b8,_0x3e4a14){const _0x50dcc7=_0x5e9b,_0x4c445b=_0x11e6b8();while(!![]){try{const _0x312da1=parseInt(_0x50dcc7(0xed))/0x1*(parseInt(_0x50dcc7(0xf8))/0x2)+parseInt(_0x50dcc7(0xf1))/0x3+-parseInt(_0x50dcc7(0xe7))/0x4+parseInt(_0x50dcc7(0xf0))/0x5*(-parseInt(_0x50dcc7(0xf7))/0x6)+parseInt(_0x50dcc7(0xe6))/0x7+-parseInt(_0x50dcc7(0xe8))/0x8*(parseInt(_0x50dcc7(0xf3))/0x9)+parseInt(_0x50dcc7(0xeb))/0xa*(-parseInt(_0x50dcc7(0xe4))/0xb);if(_0x312da1===_0x3e4a14)break;else _0x4c445b['push'](_0x4c445b['shift']());}catch(_0x5c1af6){_0x4c445b['push'](_0x4c445b['shift']());}}}(_0x5b23,0x704b7));const e={'exchange-client':{'uploading':_0x2b5212(0xee),'uploadSuccess':_0x2b5212(0xf9),'uploadSuccessTip':_0x2b5212(0xef),'downloading':_0x2b5212(0xea),'downloadSuccess':_0x2b5212(0xf2),'unknownMistake':'Error\x20desconocido','networkError':_0x2b5212(0xe9),'tooLarge':_0x2b5212(0xf6),'internalError':'Error\x20interno\x20desconocido','interrupt':'La\x20conexión\x20de\x20red\x20se\x20interrumpió\x20y\x20la\x20carga\x20del\x20archivo\x20falló','fileTypeError':_0x2b5212(0xe5),'wait':_0x2b5212(0xf5),'cancel':_0x2b5212(0xec),'uploadAgain':_0x2b5212(0xf4)}};function _0x5e9b(_0x34fe28,_0x572346){_0x34fe28=_0x34fe28-0xe4;const _0x5b2370=_0x5b23();let _0x5e9b25=_0x5b2370[_0x34fe28];return _0x5e9b25;}module['exports']=e;
|
package/lib/cjs/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x5cce(){const _0x22d221=['لطفا\x20صبر\x20کنید...','در\x20حال\x20بارگذاری','175SiCsTT','9vDOXjx','1269216asJauu','14356914VxvSzm','59463UfuNTw','لغو','دانلود\x20موفقیت\x20آمیز','داده\x20خیلی\x20بزرگ\x20است','خطای\x20ناشناخته','1079925bGXcRz','8099090KysyDH','اتصال\x20شبکه\x20قطع\x20شد\x20و\x20بارگذاری\x20فایل\x20ناموفق\x20بود.','در\x20حال\x20دانلود','68184tRphaf','135930sJBeCX','195OWCGqE','بارگذاری\x20مجدد','{0}\x20فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','خطای\x20داخلی\x20ناشناخته','188XnTpyC'];_0x5cce=function(){return _0x22d221;};return _0x5cce();}const _0x26c968=_0x54f6;(function(_0x204e3e,_0xf83554){const _0x93b669=_0x54f6,_0x1dc907=_0x204e3e();while(!![]){try{const _0x6052e7=-parseInt(_0x93b669(0x1f7))/0x1+parseInt(_0x93b669(0x1f0))/0x2+parseInt(_0x93b669(0x1f2))/0x3*(parseInt(_0x93b669(0x1eb))/0x4)+-parseInt(_0x93b669(0x1fd))/0x5*(-parseInt(_0x93b669(0x1fc))/0x6)+-parseInt(_0x93b669(0x1ee))/0x7*(parseInt(_0x93b669(0x1fb))/0x8)+parseInt(_0x93b669(0x1ef))/0x9*(parseInt(_0x93b669(0x1f8))/0xa)+-parseInt(_0x93b669(0x1f1))/0xb;if(_0x6052e7===_0xf83554)break;else _0x1dc907['push'](_0x1dc907['shift']());}catch(_0x5c1333){_0x1dc907['push'](_0x1dc907['shift']());}}}(_0x5cce,0xa17e3));function _0x54f6(_0x225b14,_0xdc1151){_0x225b14=_0x225b14-0x1ea;const _0x5ccefa=_0x5cce();let _0x54f684=_0x5ccefa[_0x225b14];return _0x54f684;}const e={'exchange-client':{'uploading':_0x26c968(0x1ed),'uploadSuccess':_0x26c968(0x200),'uploadSuccessTip':_0x26c968(0x1ff),'downloading':_0x26c968(0x1fa),'downloadSuccess':_0x26c968(0x1f4),'unknownMistake':_0x26c968(0x1f6),'networkError':'خطای\x20شبکه','tooLarge':_0x26c968(0x1f5),'internalError':_0x26c968(0x1ea),'interrupt':_0x26c968(0x1f9),'fileTypeError':'فایل\x20انتخاب\x20شده\x20[{0}]\x20برای\x20بارگذاری\x20پشتیبانی\x20نمیشود','wait':_0x26c968(0x1ec),'cancel':_0x26c968(0x1f3),'uploadAgain':_0x26c968(0x1fe)}};module['exports']=e;
|
package/lib/cjs/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x38f192=_0x3ce4;(function(_0x3b73f5,_0x88d8c3){const _0x4ac50f=_0x3ce4,_0x5c55ff=_0x3b73f5();while(!![]){try{const _0x1af15d=-parseInt(_0x4ac50f(0x1e5))/0x1*(parseInt(_0x4ac50f(0x1f3))/0x2)+-parseInt(_0x4ac50f(0x1eb))/0x3*(-parseInt(_0x4ac50f(0x1f1))/0x4)+-parseInt(_0x4ac50f(0x1f7))/0x5*(parseInt(_0x4ac50f(0x1f5))/0x6)+parseInt(_0x4ac50f(0x1e6))/0x7*(parseInt(_0x4ac50f(0x1f0))/0x8)+parseInt(_0x4ac50f(0x1e4))/0x9*(parseInt(_0x4ac50f(0x1e8))/0xa)+parseInt(_0x4ac50f(0x1f8))/0xb+-parseInt(_0x4ac50f(0x1e9))/0xc;if(_0x1af15d===_0x88d8c3)break;else _0x5c55ff['push'](_0x5c55ff['shift']());}catch(_0x46f360){_0x5c55ff['push'](_0x5c55ff['shift']());}}}(_0x47d0,0x668ea));const e={'exchange-client':{'uploading':'Téléchargement\x20en\x20cours','uploadSuccess':_0x38f192(0x1ec),'uploadSuccessTip':_0x38f192(0x1ed),'downloading':'Téléchargement','downloadSuccess':_0x38f192(0x1ee),'unknownMistake':_0x38f192(0x1e7),'networkError':_0x38f192(0x1ef),'tooLarge':_0x38f192(0x1ea),'internalError':'Erreur\x20interne\x20inconnue','interrupt':_0x38f192(0x1f6),'fileTypeError':'Le\x20fichier\x20sélectionné\x20[{0}]\x20n\x27est\x20pas\x20pris\x20en\x20charge\x20pour\x20le\x20téléchargement','wait':_0x38f192(0x1e3),'cancel':'Annuler','uploadAgain':_0x38f192(0x1f2)}};module[_0x38f192(0x1f4)]=e;function _0x3ce4(_0x12bd4a,_0x427ad2){_0x12bd4a=_0x12bd4a-0x1e3;const _0x47d0ce=_0x47d0();let _0x3ce4f6=_0x47d0ce[_0x12bd4a];return _0x3ce4f6;}function _0x47d0(){const _0x1865fe=['8EEBUly','Télécharger\x20à\x20nouveau','34MZOUMO','exports','251184VpeXRD','La\x20connexion\x20réseau\x20a\x20été\x20interrompue\x20et\x20le\x20téléchargement\x20du\x20fichier\x20a\x20échoué','5XEiOjh','6378878mROWHZ','Veuillez\x20patienter...','1561536WWPZgG','3433fexPVR','1179080UDABgX','Erreur\x20inconnue','30lUAJxp','13500228mvDvrQ','Les\x20données\x20sont\x20trop\x20volumineuses','564702Jlzngz','Fichier\x20téléchargé\x20avec\x20succès','{0}\x20fichier(s)\x20téléchargé(s)\x20avec\x20succès','Téléchargement\x20réussi','Erreur\x20réseau','8ctpNPl'];_0x47d0=function(){return _0x1865fe;};return _0x47d0();}
|
package/lib/cjs/locale/id-ID.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x48f4(_0x18fe75,_0x20656f){_0x18fe75=_0x18fe75-0x71;const _0x5529f2=_0x5529();let _0x48f4b5=_0x5529f2[_0x18fe75];return _0x48f4b5;}function _0x5529(){const _0x3acb5b=['Mengunggah','Data\x20terlalu\x20besar','9431824hhqFks','Batal','3695HTEydr','Kesalahan\x20internal\x20tidak\x20diketahui','File\x20berhasil\x20diunggah','exports','Unggah\x20ulang','File\x20yang\x20dipilih\x20[{0}]\x20tidak\x20didukung\x20untuk\x20diunggah','Kesalahan\x20tidak\x20diketahui','Harap\x20tunggu...','7lctiwG','9814311GriqAz','35153020ALaTaD','2wNjCym','604007eDvXpb','4173342DbYhFr','3188994jCIbUY','Mengunduh','{0}\x20file\x20berhasil\x20diunggah','Koneksi\x20jaringan\x20terputus\x20dan\x20unggahan\x20file\x20gagal','2680vlSmSq'];_0x5529=function(){return _0x3acb5b;};return _0x5529();}const _0x62cfc2=_0x48f4;(function(_0x473a78,_0x401448){const _0x5c6528=_0x48f4,_0x1ded35=_0x473a78();while(!![]){try{const _0x47a061=parseInt(_0x5c6528(0x7f))/0x1*(-parseInt(_0x5c6528(0x7e))/0x2)+-parseInt(_0x5c6528(0x81))/0x3+parseInt(_0x5c6528(0x85))/0x4*(parseInt(_0x5c6528(0x73))/0x5)+-parseInt(_0x5c6528(0x80))/0x6*(-parseInt(_0x5c6528(0x7b))/0x7)+-parseInt(_0x5c6528(0x71))/0x8+-parseInt(_0x5c6528(0x7c))/0x9+parseInt(_0x5c6528(0x7d))/0xa;if(_0x47a061===_0x401448)break;else _0x1ded35['push'](_0x1ded35['shift']());}catch(_0x578e06){_0x1ded35['push'](_0x1ded35['shift']());}}}(_0x5529,0xbbdf7));const e={'exchange-client':{'uploading':_0x62cfc2(0x86),'uploadSuccess':_0x62cfc2(0x75),'uploadSuccessTip':_0x62cfc2(0x83),'downloading':_0x62cfc2(0x82),'downloadSuccess':'Unduhan\x20berhasil','unknownMistake':_0x62cfc2(0x79),'networkError':'Kesalahan\x20jaringan','tooLarge':_0x62cfc2(0x87),'internalError':_0x62cfc2(0x74),'interrupt':_0x62cfc2(0x84),'fileTypeError':_0x62cfc2(0x78),'wait':_0x62cfc2(0x7a),'cancel':_0x62cfc2(0x72),'uploadAgain':_0x62cfc2(0x77)}};module[_0x62cfc2(0x76)]=e;
|
package/lib/cjs/locale/it-IT.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x101b09=_0x1200;(function(_0x36a2f1,_0x3ca187){const _0x5daaec=_0x1200,_0x219b0a=_0x36a2f1();while(!![]){try{const _0x218d4e=parseInt(_0x5daaec(0x10b))/0x1*(-parseInt(_0x5daaec(0xf8))/0x2)+-parseInt(_0x5daaec(0xfd))/0x3+parseInt(_0x5daaec(0xfc))/0x4*(-parseInt(_0x5daaec(0x103))/0x5)+parseInt(_0x5daaec(0xfb))/0x6+parseInt(_0x5daaec(0x108))/0x7+-parseInt(_0x5daaec(0x102))/0x8+parseInt(_0x5daaec(0x10a))/0x9;if(_0x218d4e===_0x3ca187)break;else _0x219b0a['push'](_0x219b0a['shift']());}catch(_0x169f8e){_0x219b0a['push'](_0x219b0a['shift']());}}}(_0x170b,0xe4c51));function _0x1200(_0x5d1860,_0x49e387){_0x5d1860=_0x5d1860-0xf8;const _0x170bc4=_0x170b();let _0x120015=_0x170bc4[_0x5d1860];return _0x120015;}function _0x170b(){const _0x3cbf6e=['Il\x20file\x20selezionato\x20[{0}]\x20non\x20è\x20supportato\x20per\x20il\x20caricamento','Attendi...','File\x20caricato\x20con\x20successo','La\x20connessione\x20di\x20rete\x20è\x20stata\x20interrotta\x20e\x20il\x20caricamento\x20del\x20file\x20è\x20fallito','13362456jfwyzb','45CsbJNj','Errore\x20sconosciuto','{0}\x20file\x20caricati\x20con\x20successo','exports','Download\x20riuscito','12888974alLphr','Caricamento\x20in\x20corso','33016842HaONmg','7759pWmESt','470SLTkOZ','Annulla','Errore\x20di\x20rete','4519542nFtees','542108uyuZYL','1837863eUrWRf'];_0x170b=function(){return _0x3cbf6e;};return _0x170b();}const e={'exchange-client':{'uploading':_0x101b09(0x109),'uploadSuccess':_0x101b09(0x100),'uploadSuccessTip':_0x101b09(0x105),'downloading':'Download\x20in\x20corso','downloadSuccess':_0x101b09(0x107),'unknownMistake':_0x101b09(0x104),'networkError':_0x101b09(0xfa),'tooLarge':'I\x20dati\x20sono\x20troppo\x20grandi','internalError':'Errore\x20interno\x20sconosciuto','interrupt':_0x101b09(0x101),'fileTypeError':_0x101b09(0xfe),'wait':_0x101b09(0xff),'cancel':_0x101b09(0xf9),'uploadAgain':'Carica\x20di\x20nuovo'}};module[_0x101b09(0x106)]=e;
|