@univerjs-pro/exchange-client 0.24.0 → 0.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -0
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -0
- 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 -0
- package/lib/cjs/locale/it-IT.js +1 -0
- 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 -0
- package/lib/cjs/locale/pt-BR.js +1 -0
- 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 -0
- 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 -0
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -0
- 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 -0
- package/lib/es/locale/it-IT.js +1 -0
- 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 -0
- package/lib/es/locale/pt-BR.js +1 -0
- 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 -0
- 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 -0
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -0
- 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 -0
- package/lib/locale/it-IT.js +1 -0
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -0
- package/lib/locale/pt-BR.js +1 -0
- 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 -0
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/locale/ar-SA.d.ts +3 -0
- package/lib/types/locale/ca-ES.d.ts +1 -1
- package/lib/types/locale/de-DE.d.ts +3 -0
- package/lib/types/locale/en-US.d.ts +1 -4
- package/lib/types/locale/es-ES.d.ts +1 -1
- package/lib/types/locale/id-ID.d.ts +3 -0
- package/lib/types/locale/it-IT.d.ts +3 -0
- package/lib/types/locale/pl-PL.d.ts +3 -0
- package/lib/types/locale/pt-BR.d.ts +3 -0
- package/lib/types/locale/zh-HK.d.ts +3 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -0
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -0
- 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 -0
- package/lib/umd/locale/it-IT.js +1 -0
- 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 -0
- package/lib/umd/locale/pt-BR.js +1 -0
- 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 -0
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x483b55=_0x3b4f;function _0x2406(){const _0x29aa7f=['440394Vpcykj','495991jPHDOi','importDOCXToUnitIdAsync','15hSPRFn','importDOCXToSnapshotAsync','UniverInstanceType','importXLSXToSnapshot','392DwPZCa','exportXLSXBySnapshotAsync','_injector','exportDOCXByUnitId','7905geWdAN','exportXLSXBySnapshot','574912MzeHPQ','FUniver','1778040TpSkqd','get','The\x20exchange\x20service\x20is\x20not\x20available','988197gXjbqq','importDOCXToSnapshot','UNIVER_SHEET','importXLSXToUnitIdAsync','IExchangeService','exportDOCXBySnapshot','exportXLSXByUnitIdAsync','exportDOCXByUnitIdAsync','importFileToUnitId','27190bUsWFm','importXLSXToSnapshotAsync','1899NpuMCW'];_0x2406=function(){return _0x29aa7f;};return _0x2406();}(function(_0x516583,_0x4d8517){const _0x31fe59=_0x3b4f,_0x52db3c=_0x516583();while(!![]){try{const _0xd7b9b5=parseInt(_0x31fe59(0x136))/0x1+-parseInt(_0x31fe59(0x11e))/0x2*(parseInt(_0x31fe59(0x122))/0x3)+-parseInt(_0x31fe59(0x124))/0x4+-parseInt(_0x31fe59(0x138))/0x5*(parseInt(_0x31fe59(0x135))/0x6)+-parseInt(_0x31fe59(0x129))/0x7+parseInt(_0x31fe59(0x126))/0x8+parseInt(_0x31fe59(0x134))/0x9*(parseInt(_0x31fe59(0x132))/0xa);if(_0xd7b9b5===_0x4d8517)break;else _0x52db3c['push'](_0x52db3c['shift']());}catch(_0x920e48){_0x52db3c['push'](_0x52db3c['shift']());}}}(_0x2406,0x4203f));let e=require('@univerjs-pro/exchange-client'),t=require('@univerjs/core'),n=require('@univerjs/core/facade');var r=class extends n[_0x483b55(0x125)]{async[_0x483b55(0x12c)](_0x354e7d){const _0x2d30c8=_0x483b55;let _0x1851d9=this['_injector'][_0x2d30c8(0x127)](e[_0x2d30c8(0x12d)]);if(!_0x1851d9)throw Error(_0x2d30c8(0x128));return _0x1851d9[_0x2d30c8(0x131)](_0x354e7d,t[_0x2d30c8(0x11c)][_0x2d30c8(0x12b)]);}async[_0x483b55(0x133)](_0x2ae8dc){const _0x57509f=_0x483b55;let _0x26e35f=this[_0x57509f(0x120)][_0x57509f(0x127)](e[_0x57509f(0x12d)]);if(!_0x26e35f)throw Error(_0x57509f(0x128));return _0x26e35f[_0x57509f(0x11d)](_0x2ae8dc);}async[_0x483b55(0x12f)](_0x242191){const _0x2ea5a7=_0x483b55;let _0x3524ea=this[_0x2ea5a7(0x120)][_0x2ea5a7(0x127)](e[_0x2ea5a7(0x12d)]);if(!_0x3524ea)throw Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3524ea['exportXLSXByUnitId'](_0x242191);}async[_0x483b55(0x11f)](_0x25f5cf){const _0x1e933b=_0x483b55;let _0x2d332d=this['_injector'][_0x1e933b(0x127)](e[_0x1e933b(0x12d)]);if(!_0x2d332d)throw Error(_0x1e933b(0x128));return _0x2d332d[_0x1e933b(0x123)](_0x25f5cf);}async[_0x483b55(0x137)](_0x1aaa50){const _0x23711b=_0x483b55;let _0xa02b3c=this[_0x23711b(0x120)][_0x23711b(0x127)](e[_0x23711b(0x12d)]);if(!_0xa02b3c)throw Error(_0x23711b(0x128));return _0xa02b3c[_0x23711b(0x131)](_0x1aaa50,t[_0x23711b(0x11c)]['UNIVER_DOC']);}async[_0x483b55(0x139)](_0x1e1dfa){const _0x2ebfce=_0x483b55;let _0x59a86f=this[_0x2ebfce(0x120)][_0x2ebfce(0x127)](e[_0x2ebfce(0x12d)]);if(!_0x59a86f)throw Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x59a86f[_0x2ebfce(0x12a)](_0x1e1dfa);}async['exportDOCXBySnapshotAsync'](_0x2600ae){const _0x16c0d9=_0x483b55;let _0x26595d=this[_0x16c0d9(0x120)][_0x16c0d9(0x127)](e[_0x16c0d9(0x12d)]);if(!_0x26595d)throw Error(_0x16c0d9(0x128));return _0x26595d[_0x16c0d9(0x12e)](_0x2600ae);}async[_0x483b55(0x130)](_0x361625){const _0x21d522=_0x483b55;let _0x3c9c8d=this[_0x21d522(0x120)][_0x21d522(0x127)](e['IExchangeService']);if(!_0x3c9c8d)throw Error(_0x21d522(0x128));return _0x3c9c8d[_0x21d522(0x121)](_0x361625);}};function _0x3b4f(_0x229fd7,_0x5c672c){_0x229fd7=_0x229fd7-0x11c;const _0x240658=_0x2406();let _0x3b4fd8=_0x240658[_0x229fd7];return _0x3b4fd8;}n[_0x483b55(0x125)]['extend'](r);
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x4f9bf2=_0x4473;(function(_0x46bf3b,_0x465451){const _0x49ca70=_0x4473,_0x20e628=_0x46bf3b();while(!![]){try{const _0x54e590=parseInt(_0x49ca70(0x1b4))/0x1*(parseInt(_0x49ca70(0x13b))/0x2)+parseInt(_0x49ca70(0xf3))/0x3*(-parseInt(_0x49ca70(0x94))/0x4)+parseInt(_0x49ca70(0xda))/0x5*(-parseInt(_0x49ca70(0x155))/0x6)+parseInt(_0x49ca70(0xbe))/0x7*(parseInt(_0x49ca70(0x11f))/0x8)+-parseInt(_0x49ca70(0xf6))/0x9+parseInt(_0x49ca70(0x1b3))/0xa+parseInt(_0x49ca70(0x11b))/0xb*(parseInt(_0x49ca70(0x1c2))/0xc);if(_0x54e590===_0x465451)break;else _0x20e628['push'](_0x20e628['shift']());}catch(_0xd51025){_0x20e628['push'](_0x20e628['shift']());}}}(_0x987c,0xe6e7e),Object[_0x4f9bf2(0x199)](exports,Symbol[_0x4f9bf2(0x1df)],{'value':_0x4f9bf2(0x194)}));let e=require(`@univerjs-pro/license`),t=require(`@univerjs/core`),n=require(`@univerjs/network`),r=require(`@univerjs/ui`),i=require(`@univerjs/icons`),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=_0x4f9bf2(0x122);Symbol(f);const p={};var m='@univerjs-pro/exchange-client',h=_0x4f9bf2(0xe6);function g(_0x29dd33){'@babel/helpers - typeof';const _0x292850=_0x4f9bf2;return g=typeof Symbol==_0x292850(0xed)&&typeof Symbol[_0x292850(0x1a7)]==_0x292850(0x142)?function(_0x241c4d){return typeof _0x241c4d;}:function(_0x23c5b9){const _0x293e15=_0x292850;return _0x23c5b9&&typeof Symbol==_0x293e15(0xed)&&_0x23c5b9[_0x293e15(0xc1)]===Symbol&&_0x23c5b9!==Symbol['prototype']?'symbol':typeof _0x23c5b9;},g(_0x29dd33);}function ee(_0x5628ee,_0xeeab25){const _0x5d6998=_0x4f9bf2;if(g(_0x5628ee)!=_0x5d6998(0x11c)||!_0x5628ee)return _0x5628ee;var _0x4d3b4d=_0x5628ee[Symbol[_0x5d6998(0x1a2)]];if(_0x4d3b4d!==void 0x0){var _0x5ae33d=_0x4d3b4d[_0x5d6998(0x131)](_0x5628ee,_0xeeab25||_0x5d6998(0xa8));if(g(_0x5ae33d)!=_0x5d6998(0x11c))return _0x5ae33d;throw TypeError(_0x5d6998(0x198));}return(_0xeeab25==='string'?String:Number)(_0x5628ee);}function te(_0x9481e0){const _0x3f9bab=_0x4f9bf2;var _0x6d0a12=ee(_0x9481e0,_0x3f9bab(0x174));return g(_0x6d0a12)==_0x3f9bab(0x142)?_0x6d0a12:_0x6d0a12+'';}function _(_0x1e53e5,_0x46f8ff,_0x5df7d7){return(_0x46f8ff=te(_0x46f8ff))in _0x1e53e5?Object['defineProperty'](_0x1e53e5,_0x46f8ff,{'value':_0x5df7d7,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1e53e5[_0x46f8ff]=_0x5df7d7,_0x1e53e5;}let ne=function(_0x5ee32b){const _0x3ba604=_0x4f9bf2;return _0x5ee32b[_0x5ee32b[_0x3ba604(0x1e5)]=0x0]=_0x3ba604(0x1e5),_0x5ee32b[_0x5ee32b[_0x3ba604(0x16d)]=0x1]='SUCCESS',_0x5ee32b[_0x5ee32b[_0x3ba604(0xfb)]=0x2]=_0x3ba604(0xfb),_0x5ee32b;}({});const v=(0x0,t['createIdentifier'])('univer-pro.exchange-client.upload-notification.service');var y=class extends t[_0x4f9bf2(0xd6)]{constructor(){const _0x17274a=_0x4f9bf2;super(),_(this,_0x17274a(0xc4),new o[(_0x17274a(0x1ca))]()),_(this,_0x17274a(0x15d),new o['Subject']()),_(this,'_list$',new o[(_0x17274a(0x1ca))]()),_(this,_0x17274a(0x117),this[_0x17274a(0xc4)][_0x17274a(0x82)]()),_(this,_0x17274a(0x134),this['_state$'][_0x17274a(0x82)]()),_(this,_0x17274a(0x146),this[_0x17274a(0x1d5)][_0x17274a(0x82)]()),_(this,'_list',[]);}['dispose'](){const _0x4c2c01=_0x4f9bf2;super[_0x4c2c01(0xe2)](),this[_0x4c2c01(0xc4)][_0x4c2c01(0x1db)](),this[_0x4c2c01(0x15d)]['complete'](),this[_0x4c2c01(0x1d5)][_0x4c2c01(0x1db)]();}[_0x4f9bf2(0x1bf)](){const _0x100365=_0x4f9bf2;this[_0x100365(0xc4)][_0x100365(0x163)](!0x0);}[_0x4f9bf2(0xd3)](){this['_visible$']['next'](!0x1);}['updateState'](_0x4eb385){const _0x26987d=_0x4f9bf2;this[_0x26987d(0x15d)]['next'](_0x4eb385);}[_0x4f9bf2(0x9b)](_0xe60506){const _0x315c05=_0x4f9bf2;this['_list']['unshift'](_0xe60506),this[_0x315c05(0x1d5)][_0x315c05(0x163)](this['_list']);}};function re(_0x36b8b2){const _0x693083=_0x4f9bf2;let {list:_0x1a44e1}=_0x36b8b2;function _0x209943(_0x12bf3e){const _0x5e8d1b=_0x4473;switch(_0x12bf3e){case 0x1:return(0x0,c[_0x5e8d1b(0xf9)])(i['DocMultiIcon'],{});case 0x2:return(0x0,c[_0x5e8d1b(0xf9)])(i[_0x5e8d1b(0x136)],{});case 0x3:return(0x0,c[_0x5e8d1b(0xf9)])(i[_0x5e8d1b(0x9f)],{});default:return null;}}return(0x0,c[_0x693083(0xf9)])(_0x693083(0x175),{'className':(0x0,s[_0x693083(0x1c7)])(_0x693083(0x1c5),s[_0x693083(0x89)]),'children':(0x0,c[_0x693083(0xf9)])('ul',{'className':'univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','children':_0x1a44e1['map']((_0x539cac,_0x5b2c82)=>(0x0,c[_0x693083(0xf9)])('li',{'children':(0x0,c[_0x693083(0x182)])('a',{'className':_0x693083(0xe7),'href':_0x539cac['link'],'target':'_blank','rel':'noreferrer','children':[(0x0,c[_0x693083(0x182)])(_0x693083(0x147),{'className':'univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','children':[(0x0,c[_0x693083(0xf9)])(_0x693083(0x147),{'className':_0x693083(0xdb),'children':_0x209943(_0x539cac['type'])}),(0x0,c['jsx'])(s['Tooltip'],{'showIfEllipsis':!0x0,'title':_0x539cac[_0x693083(0x8e)],'asChild':!0x0,'children':(0x0,c['jsx'])('span',{'className':_0x693083(0x1e8),'children':_0x539cac[_0x693083(0x8e)]})})]}),(0x0,c[_0x693083(0xf9)])(_0x693083(0x147),{'className':_0x693083(0x14c),'children':(0x0,c[_0x693083(0xf9)])(i[_0x693083(0x8c)],{})})]})},_0x5b2c82))})});}const b=_0x4f9bf2(0xcb),x=_0x4f9bf2(0xe1),S=_0x4f9bf2(0x103),C=_0x4f9bf2(0x85),w=_0x4f9bf2(0xe8),T={[t[_0x4f9bf2(0x160)][_0x4f9bf2(0xf4)]]:[''],[t['UniverInstanceType'][_0x4f9bf2(0x1d0)]]:[b],[t['UniverInstanceType'][_0x4f9bf2(0x132)]]:[x,S,C],[t['UniverInstanceType'][_0x4f9bf2(0xb9)]]:[w],[t[_0x4f9bf2(0x160)]['UNIVER_PROJECT']]:[''],[t[_0x4f9bf2(0x160)]['UNRECOGNIZED']]:['']},E={[b]:_0x4f9bf2(0xb7),[x]:_0x4f9bf2(0x17c),[S]:_0x4f9bf2(0x1b2),[C]:'xltx',[w]:_0x4f9bf2(0x165)};function D(_0x4c6df2,_0x284d5a,_0x594df9){const _0x48979f=_0x4f9bf2;let _0x2b35b5=document[_0x48979f(0x1e2)]('a');_0x2b35b5[_0x48979f(0xf8)]=_0x4c6df2,_0x2b35b5[_0x48979f(0x1da)][_0x48979f(0x8b)]='none',_0x2b35b5[_0x48979f(0x139)]=_0x284d5a+'.'+_0x594df9,document['body']['appendChild'](_0x2b35b5),_0x2b35b5['click'](),document[_0x48979f(0xc7)][_0x48979f(0xb5)](_0x2b35b5);}function O(_0x3cac99,_0x8dc5b7,_0x3910b2){let _0x5ba349=URL['createObjectURL'](_0x3cac99);D(_0x5ba349,_0x8dc5b7,_0x3910b2),URL['revokeObjectURL'](_0x5ba349);}function k(_0x4d0893){const _0x786a69=_0x4f9bf2;let _0x492c7b=_0x4d0893[_0x786a69(0x8e)][_0x786a69(0x129)]('.')[_0x786a69(0x143)]();if(!_0x492c7b)return t[_0x786a69(0x160)][_0x786a69(0xf4)];let _0x4ead32=ie(),_0xe936af=t[_0x786a69(0x160)][_0x786a69(0xf4)];return _0x4ead32[_0x786a69(0x1ac)](_0x5078ec=>ae(_0x492c7b,_0x5078ec)?(_0xe936af=_0x5078ec,!0x0):!0x1),_0xe936af;}function ie(){const _0x48fe65=_0x4f9bf2;return Object[_0x48fe65(0x81)](t[_0x48fe65(0x160)])['filter'](_0x5056b3=>typeof _0x5056b3=='number');}function ae(_0x56cdbd,_0x91fc63){const _0x126ee5=_0x4f9bf2;return T[_0x91fc63][_0x126ee5(0x1e0)](_0x40505f=>(E[_0x40505f]||'')[_0x126ee5(0x187)]())[_0x126ee5(0xbb)](_0x56cdbd[_0x126ee5(0x187)]());}function A(_0x3b764d,_0x4146d6=!0x1){const _0x2022e2=_0x4f9bf2;let _0x2b938f=_0x3b764d[_0x2022e2(0x1e0)](_0x2cc7a7=>T[_0x2cc7a7])['join'](',');return new Promise((_0x1d4262,_0x2fbe65)=>{const _0x4105a7=_0x2022e2;let _0x187bca=document['createElement'](_0x4105a7(0x1b1));_0x187bca['type']='file',_0x187bca['accept']=_0x2b938f,_0x187bca[_0x4105a7(0x138)]=_0x4146d6,_0x187bca[_0x4105a7(0xa0)](_0x4105a7(0x1ad),_0xd8cb94=>{const _0x43b88f=_0x4105a7;let _0x488bb1=_0xd8cb94[_0x43b88f(0x9c)];if(!_0x488bb1[_0x43b88f(0xba)]||_0x488bb1[_0x43b88f(0xba)][_0x43b88f(0x14f)]===0x0)throw _0x2fbe65(null),Error(_0x43b88f(0x1a5));_0x1d4262(_0x488bb1['files']);}),_0x187bca[_0x4105a7(0x1a9)]();});}async function j(_0x3a1e47,_0x719943){const _0x133cbf=_0x4f9bf2;try{var _0x246fac,_0x5c258d,_0x2457e6;let _0x4b9173=await _0x719943[_0x133cbf(0x1e9)](_0x3a1e47,{'responseType':'blob'}),_0x3adfe4=_0x4b9173[_0x133cbf(0xc7)],_0x2f3fbb=(_0x246fac=(_0x5c258d=_0x4b9173['headers'][_0x133cbf(0x1e9)]('Content-Type'))==null?void 0x0:_0x5c258d[_0x133cbf(0x1e7)](',\x20'))==null?_0x133cbf(0x93):_0x246fac,_0x580d22='file.'+(E[_0x2f3fbb]||'xlsx'),_0x110bb9=(_0x2457e6=_0x4b9173[_0x133cbf(0x10c)][_0x133cbf(0x1e9)](_0x133cbf(0x102)))==null?void 0x0:_0x2457e6[_0x133cbf(0x1e7)](',\x20');if(_0x110bb9){let _0x1d0325=_0x110bb9[_0x133cbf(0x158)](/filename=(.+)/);_0x1d0325&&_0x1d0325[0x1]&&(_0x580d22=_0x1d0325[0x1]);}else _0x580d22=M(_0x3a1e47)||_0x580d22;return new File([_0x3adfe4],_0x580d22,{'type':_0x2f3fbb});}catch(_0x2aae14){console[_0x133cbf(0x1bd)](_0x133cbf(0xb2),_0x2aae14);return;}}function M(_0xd6d77){const _0x3431ff=_0x4f9bf2;try{return new URL(_0xd6d77)['pathname']['split']('/')[_0x3431ff(0x143)]();}catch(_0x3cd8ec){console[_0x3431ff(0x1bd)](_0x3431ff(0xa3),_0x3cd8ec);return;}}function N(_0x1041a5){const _0x369578=_0x4f9bf2;let _0x54ad82=new Blob([_0x1041a5[_0x369578(0x18c)]],{'type':_0x369578(0x1b8)});return new File([_0x54ad82],'file.json');}function P(_0x52729e,_0x3a0db7){const _0x93170b=_0x4f9bf2;return _0x52729e[_0x93170b(0x114)](_0x93170b(0xc3),_0x3a0db7);}function _0x987c(){const _0x49b89c=['univer-mx-0\x20univer-mb-3\x20univer-mt-4\x20univer-h-1.5\x20univer-w-[324px]\x20univer-rounded-lg\x20univer-bg-gray-200','deflateSync','univer-text-sm\x20univer-text-gray-500','2298873dFJWMu','UNIVER_UNKNOWN','_addDoneTask','10871640CncYNr','updateState','href','jsx','Method\x20not\x20implemented.','ERROR','univer-pro.exchange-client.exchange.service','ExchangeOperateService','MessageType','floor','message','_clearProgress','content-disposition','application/vnd.ms-excel.sheet.macroEnabled.12','upload\x20request\x20failed','catch','_upload','uploadFileServerUrl','getUniverInstanceTypeByFile','ErrorIcon','unsubscribe','importXLSXToSnapshot','headers','univer-pl-2\x20univer-pr-4','UploadNotificationContainer','IExchangeService','ILogService','Success','unit',':\x20HTTP\x20','replace','_getUnitName','exchange.uploading','visible$','univer-text-blue-500','UniverExchangeClientPlugin','statusText','4971703HcTPcC','object','parse','_taskInterrupted','3492792BENtJE','_emitProgress','_signUrl','exchange-client.config','importXLSXToUnitId','_showDownloadMessage','_getTaskURL','IMessageService','getTask','encode','split','.json','pluginName','getLatestCsReqIdBySid','clear','export','_getUnitJson','_messageService','call','UNIVER_SHEET','updateSnapshot','state$','taskID','XlsxMultiIcon','_config','multiple','download','_getMaxPollingTime','36jXfZAI','_export','registerDependencies','import','CONNECTOR_DATA_TOO_LARGE','exchange.unknownMistake','version','symbol','pop','createUnit','_getUnitDocJson','list$','span','interrupt','_requestState$','shift','transformWorkbookDataToSnapshot','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','_extractErrorDetail','Failed\x20to\x20parse\x20json','length','block\x20is\x20required','snapshot','searchParams','_import','progress$','15126ozpkGC','_uiPartsService','status','match','LocaleService','IUniverInstanceService','disposeWithMe','exchange.internalError','_state$','Failed\x20to\x20get\x20text\x20from\x20url','forEach','UniverInstanceType','unitID','keys','next','trim','pptx','UNDEFINED','DependentOn','signUrl','downloadEndpointUrl','exchange.downloading','/universer-api/file/{fileID}/sign-url','FileId','SUCCESS','size','b64DecodeUnicode','_getUploadFileURL','exportXLSXBySnapshot','importDOCXToUnitId','toString','string','div','exchange.uploadSuccess','Get\x20outputType\x20error','_getEnableServerSideComputing','{taskID}','_importTaskId','_configService','xlsx','_fileTypeError','_addTotalCount','_refresh','_getImportURL','interruptImportTask','jsxs','_getDownloadEndpointURL','exchange.interrupt','stringify','exchange.uploadSuccessTip','toLowerCase','univer-mt-3\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-2\x20univer-pr-1','_logService','getUnitId','createIdentifier','buffer','_sheetBlockCache','copyFileMeta','success','getSheetBlocksFromSnapshot','importFileToUnitId','url','FileSource','Module','{fileID}','importDOCXToSnapshot','_importToSnapshot','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','defineProperty','origin','EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY','getOwnPropertyDescriptor','IConfigService','Warning','setConfig','?size=','BuiltInUIPart','toPrimitive','HTTPService','disableCellImageConversion','No\x20file\x20selected','_getExportURL','iterator','_uploadNotificationService','click','b64EncodeUnicode','Failed\x20to\x20get\x20jsonID\x20from\x20task','some','change','_getMinSheetRowCount','isArray','_httpService','input','xlsm','16824290KtHJZj','91914xTTlNa','upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url','_completeProgress','set','application/json','subscribe','getUploadFile','getCurrentUnitOfType','blockID','error','transformSnapshotJsonToDocumentData','show','BehaviorSubject','_progress$','12GKfMVM','exportDOCXByUnitId','saveSnapshot','univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden','_getIgnoreTableExport','clsx','IUploadNotificationService','requestState$','Subject','signUrlServerUrl','_requestService','univer-mb-3\x20univer-py-0\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','univer-text-green-500','_getDisableCellImageConversion','UNIVER_DOC','_getSignURL','_getUnitID','Failed\x20to\x20get\x20taskID\x20from\x20import\x20response','&flate=','_list$','uploadFileToUnitId','useEffect','options','UNIVER_EXCHANGE_CLIENT_PLUGIN','style','complete','ErrorCode','text','CloseIcon','toStringTag','map','exchange.uploadAgain','createElement','textDecoder','code','UPLOADING','post','join','univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','get','_totalUploadTaskCount','registerLink','Failed\x20to\x20get\x20fileID\x20from\x20task','resolveWithBasePath','Inject','_exchangeService','number','clearTaskInterrupted','_localeService','/universer-api/stream/file/upload','_buildProtocolErrorMessage','decode','exchange.wait','_importFileToUnitId','transformWorkbookDataToSnapshotJson','values','asObservable','done','rev','application/vnd.openxmlformats-officedocument.spreadsheetml.template','useState','_univerInstanceService','onStarting','scrollbarClassName','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','display','ShareRangeIcon','_uploadTaskNotDone','name','packageName','upload\x20failed:\x20missing\x20FileId\x20in\x20response','_getLinkByUnitId','exchange.networkError','application/octet-stream','4FyuwtU','sheets','univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','getConfig','originalMeta','location','_registerComponents','pushLink','currentTarget','/universer-api/exchange/{type}/import','univer-ml-1.5\x20univer-font-semibold\x20univer-leading-6\x20univer-text-gray-900\x20dark:!univer-text-white','SlideMultiIcon','addEventListener','_showUploadMessage','UNRECOGNIZED','Error\x20getting\x20file\x20name\x20from\x20URL:','IUIPartsService','_showNetworkError','univer-pro.exchange-client.request.service','CONTENT','default','_exportBySnapshot','button','Injector','useObservable','enableServerSideComputing','transformSnapshotToDocumentData','Failed\x20to\x20get\x20unitID\x20from\x20task','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','type','Error\x20fetching\x20file\x20from\x20URL:','toDisposable','useDependency','removeChild','Info','docx','univer-h-6\x20univer-text-2xl','UNIVER_SLIDE','files','includes','_injector','_doneUploadTaskCount','14hFpMSJ','touchDependencies','append','constructor','textEncoder','{type}','_visible$','merge','resolve','body','exportXLSXByUnitId','transformDocumentDataToSnapshotJson','univer-flex','application/vnd.openxmlformats-officedocument.wordprocessingml.document','exportServerUrl','UploadNotificationState','getSnapshot','exportDOCXBySnapshot','data','ignoreTableExport','getDeserializedSheetBlock','hide','_buildHttpErrorMessage','setTaskInterrupted','Disposable','upload','\x20-\x20','pending','3455GqlUPO','univer-flex\x20univer-h-5\x20univer-text-xl','Failed\x20to\x20get\x20file\x20from\x20url','UniverLicensePlugin','ExchangeService','getSheetBlock','getTextFromUrl','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','dispose','saveChangeset','title','import\x20error','0.24.0','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','application/vnd.openxmlformats-officedocument.presentationml.presentation','exchange.downloadSuccess','univer-mt-5\x20univer-flex\x20univer-flex-col','transformSnapshotJsonToWorkbookData','Error','function','min','Failed\x20to\x20transform\x20snapshot\x20to\x20string'];_0x987c=function(){return _0x49b89c;};return _0x987c();}function oe(_0x1dbc52,_0xa8e8d8){const _0x17b469=_0x4f9bf2;return _0x1dbc52[_0x17b469(0x114)](_0x17b469(0x179),_0xa8e8d8);}function se(_0x5480a9,_0x453f96){const _0x48d265=_0x4f9bf2;return _0x5480a9[_0x48d265(0x114)](_0x48d265(0x195),_0x453f96);}function F(_0x2ae6b5,_0x4d66b5){return function(_0x26791b,_0x2acf28){_0x4d66b5(_0x26791b,_0x2acf28,_0x2ae6b5);};}function I(_0x2888c1,_0x3bd2f4,_0x32a797,_0x2cd456){const _0x2e45db=_0x4f9bf2;var _0xf74e8e=arguments[_0x2e45db(0x14f)],_0x20ad4d=_0xf74e8e<0x3?_0x3bd2f4:_0x2cd456===null?_0x2cd456=Object[_0x2e45db(0x19c)](_0x3bd2f4,_0x32a797):_0x2cd456,_0xc6fc95;if(typeof Reflect==_0x2e45db(0x11c)&&typeof Reflect['decorate']==_0x2e45db(0xed))_0x20ad4d=Reflect['decorate'](_0x2888c1,_0x3bd2f4,_0x32a797,_0x2cd456);else{for(var _0x43d746=_0x2888c1[_0x2e45db(0x14f)]-0x1;_0x43d746>=0x0;_0x43d746--)(_0xc6fc95=_0x2888c1[_0x43d746])&&(_0x20ad4d=(_0xf74e8e<0x3?_0xc6fc95(_0x20ad4d):_0xf74e8e>0x3?_0xc6fc95(_0x3bd2f4,_0x32a797,_0x20ad4d):_0xc6fc95(_0x3bd2f4,_0x32a797))||_0x20ad4d);}return _0xf74e8e>0x3&&_0x20ad4d&&Object[_0x2e45db(0x199)](_0x3bd2f4,_0x32a797,_0x20ad4d),_0x20ad4d;}const L=(0x0,t[_0x4f9bf2(0x18b)])(_0x4f9bf2(0xa6));let R=class{constructor(_0x2779e5,_0x3ca8e0){const _0x283280=_0x4f9bf2;this[_0x283280(0x17b)]=_0x2779e5,this['_httpService']=_0x3ca8e0,_(this,_0x283280(0x11e),new Set());}[_0x4f9bf2(0xe2)](){}[_0x4f9bf2(0xd5)](_0x5bcd67){const _0x590010=_0x4f9bf2;this[_0x590010(0x11e)]['add'](_0x5bcd67);}[_0x4f9bf2(0x79)](){const _0x1d5969=_0x4f9bf2;this['_taskInterrupted'][_0x1d5969(0x12d)]();}async[_0x4f9bf2(0xd7)](_0x477f7c,_0xaec578=0x0,_0x4eed15=!0x1){const _0x2acc2c=_0x4f9bf2;if(typeof _0x477f7c==_0x2acc2c(0x174)){let _0x1582b0=await j(_0x477f7c,this['_httpService']);if(!_0x1582b0)throw Error(_0x2acc2c(0x1b5));_0x477f7c=_0x1582b0;}_0xaec578=_0xaec578||_0x477f7c[_0x2acc2c(0x16e)];let _0x27ca37=new FormData();_0x27ca37[_0x2acc2c(0xc0)]('file',_0x477f7c);try{let _0x2cb49e=this[_0x2acc2c(0x170)]()+_0x2acc2c(0x1a0)+_0xaec578+'&source='+l[_0x2acc2c(0x193)]['HttpImport']+_0x2acc2c(0x1d4)+_0x4eed15,_0x591559={'body':_0x27ca37},_0xc6f675=(await this['_httpService'][_0x2acc2c(0x1e6)](_0x2cb49e,_0x591559))[_0x2acc2c(0xc7)];if(_0xc6f675[_0x2acc2c(0x1bd)]&&_0xc6f675['error'][_0x2acc2c(0x1e4)]!==l[_0x2acc2c(0x1dc)]['OK'])throw Error(this['_buildProtocolErrorMessage'](_0x2acc2c(0x104),_0xc6f675[_0x2acc2c(0x1bd)]));return _0xc6f675;}catch(_0x355756){throw _0x355756 instanceof Error?_0x355756:Error(this[_0x2acc2c(0xd4)](_0x2acc2c(0x104),_0x355756));}}async['import'](_0xc78c89){const _0x511824=_0x4f9bf2;let {fileID:_0x27918e,type:_0x47001e,outputType:_0x5eecff,minSheetColumnCount:_0x532b7c,minSheetRowCount:_0x249097}=_0xc78c89;try{let _0x566450=P(this[_0x511824(0x180)](),''+_0x47001e),_0x2bb04d={'body':{'fileID':_0x27918e,'outputType':_0x5eecff,'minSheetColumnCount':_0x532b7c,'minSheetRowCount':_0x249097}},_0x27d193=(await this['_httpService'][_0x511824(0x1e6)](_0x566450,_0x2bb04d))[_0x511824(0xc7)];return _0x27d193[_0x511824(0x1bd)]&&_0x27d193['error'][_0x511824(0x1e4)]!==l[_0x511824(0x1dc)]['OK']?void 0x0:_0x27d193;}catch{return;}}async[_0x4f9bf2(0x12e)](_0xa101a2){const _0xf32afc=_0x4f9bf2;let {unitID:_0x47577f,jsonID:_0x454e37,type:_0x2b225f,sscSwitch:_0x640940,useImageUrl:_0x31d2b2,ignoreTableExport:_0x22021f}=_0xa101a2;try{let _0x552506=P(this[_0xf32afc(0x1a6)](),''+_0x2b225f),_0x5f0704={'body':{'unitID':_0x47577f,'jsonID':_0x454e37,'type':_0x2b225f,'sscSwitch':_0x640940,'useImageUrl':_0x31d2b2,'ignoreTableExport':_0x22021f}},_0x5e33a2=(await this[_0xf32afc(0x1b0)]['post'](_0x552506,_0x5f0704))['body'];return _0x5e33a2[_0xf32afc(0x1bd)]&&_0x5e33a2['error'][_0xf32afc(0x1e4)]!==l[_0xf32afc(0x1dc)]['OK']?void 0x0:_0x5e33a2;}catch{return;}}async[_0x4f9bf2(0x127)](_0x2380f0){return new Promise((_0x1f2585,_0x2f3831)=>{const _0x5369c6=_0x4473;try{let _0x342199=0x0,_0x285be1=oe(this[_0x5369c6(0x125)](),''+_0x2380f0),_0x1066ff=this[_0x5369c6(0x13a)](),_0x1ee602=async()=>{const _0x10f8f2=_0x5369c6;if(this['_taskInterrupted']['has'](_0x2380f0))return;let _0x8bab40=(await this[_0x10f8f2(0x1b0)][_0x10f8f2(0x1e9)](_0x285be1))['body'];if(_0x8bab40[_0x10f8f2(0x1bd)]&&_0x8bab40['error'][_0x10f8f2(0x1e4)]===l[_0x10f8f2(0x1dc)]['OK']){if(_0x8bab40[_0x10f8f2(0x157)]===_0x10f8f2(0x83))_0x1f2585(_0x8bab40);else{if(_0x8bab40['status']===_0x10f8f2(0xd9)){let _0x37f40b=0x3e8;if(_0x342199>=_0x1066ff){_0x2f3831(_0x8bab40);return;}else _0x342199>=0x7530&&(_0x37f40b=0x1388);_0x342199+=_0x37f40b,setTimeout(_0x1ee602,_0x37f40b);}else _0x2f3831(_0x8bab40);}}else _0x2f3831(_0x8bab40);};_0x1ee602();}catch(_0x375835){_0x2f3831(_0x375835 instanceof Error?_0x375835:Error(String(_0x375835)));}});}async[_0x4f9bf2(0x168)](_0x1929a5){const _0x42abee=_0x4f9bf2;try{let _0x104599=se(this[_0x42abee(0x1d1)](),''+_0x1929a5);return(await this[_0x42abee(0x1b0)][_0x42abee(0x1e9)](_0x104599))[_0x42abee(0xc7)];}catch{return;}}async[_0x4f9bf2(0xe0)](_0x209457){const _0x1248a5=_0x4f9bf2;try{return(await this[_0x1248a5(0x1b0)][_0x1248a5(0x1e9)](_0x209457,{'responseType':_0x1248a5(0x1dd)}))[_0x1248a5(0xc7)];}catch{return;}}[_0x4f9bf2(0x7c)](_0x4a0407,_0x46d266){const _0x3b9778=_0x4f9bf2;let _0x2172b3=this[_0x3b9778(0x14d)](_0x46d266);return _0x2172b3?_0x4a0407+':\x20'+_0x2172b3:_0x4a0407;}[_0x4f9bf2(0xd4)](_0x40e944,_0x303daa){const _0x545a71=_0x4f9bf2;if(_0x303daa instanceof n['HTTPResponseError']){let _0x3d8bce=typeof _0x303daa[_0x545a71(0x157)]==_0x545a71(0x78)?''+_0x303daa[_0x545a71(0x157)]+(_0x303daa[_0x545a71(0x11a)]?'\x20'+_0x303daa[_0x545a71(0x11a)]:''):void 0x0,_0x44146b=this[_0x545a71(0x14d)](_0x303daa[_0x545a71(0x1bd)]);return _0x3d8bce&&_0x44146b?_0x40e944+_0x545a71(0x113)+_0x3d8bce+_0x545a71(0xd8)+_0x44146b:_0x3d8bce?_0x40e944+':\x20HTTP\x20'+_0x3d8bce:_0x44146b?_0x40e944+':\x20'+_0x44146b:_0x40e944;}let _0x2cfe35=this[_0x545a71(0x14d)](_0x303daa);return _0x2cfe35?_0x40e944+':\x20'+_0x2cfe35:_0x40e944;}[_0x4f9bf2(0x14d)](_0x13c66e){const _0x2a14a9=_0x4f9bf2;if(typeof _0x13c66e==_0x2a14a9(0x174)){let _0x48eb4e=_0x13c66e['trim']();return _0x48eb4e[_0x2a14a9(0x14f)]>0x0?_0x48eb4e:void 0x0;}if(_0x13c66e instanceof Error)return this[_0x2a14a9(0x14d)](_0x13c66e[_0x2a14a9(0x100)]);if(!_0x13c66e||typeof _0x13c66e!='object'||Array[_0x2a14a9(0x1af)](_0x13c66e))return;let _0x276e93=_0x13c66e,_0x5cc13d=this[_0x2a14a9(0x14d)](_0x276e93[_0x2a14a9(0x100)]);if(_0x5cc13d)return _0x5cc13d;if(_0x276e93[_0x2a14a9(0x1bd)]&&typeof _0x276e93[_0x2a14a9(0x1bd)]==_0x2a14a9(0x11c)&&!Array[_0x2a14a9(0x1af)](_0x276e93[_0x2a14a9(0x1bd)])){let _0x2a6876=this[_0x2a14a9(0x14d)](_0x276e93[_0x2a14a9(0x1bd)]);if(_0x2a6876)return _0x2a6876;}}[_0x4f9bf2(0x170)](){const _0xe03c14=_0x4f9bf2;var _0x23e1b3;let _0x451046=this['_configService'][_0xe03c14(0x97)](f);return(_0x23e1b3=_0x451046==null?void 0x0:_0x451046[_0xe03c14(0x107)])==null?_0xe03c14(0x7b):_0x23e1b3;}['_getImportURL'](){const _0x3ce5cd=_0x4f9bf2;var _0x31809f;let _0x3a2ad6=this[_0x3ce5cd(0x17b)][_0x3ce5cd(0x97)](f);return(_0x31809f=_0x3a2ad6==null?void 0x0:_0x3a2ad6['importServerUrl'])==null?_0x3ce5cd(0x9d):_0x31809f;}[_0x4f9bf2(0x1a6)](){const _0x44137b=_0x4f9bf2;var _0x1d8bfe;let _0x145b76=this[_0x44137b(0x17b)][_0x44137b(0x97)](f);return(_0x1d8bfe=_0x145b76==null?void 0x0:_0x145b76[_0x44137b(0xcc)])==null?'/universer-api/exchange/{type}/export':_0x1d8bfe;}['_getTaskURL'](){const _0x198b89=_0x4f9bf2;var _0x19cac4;let _0x125d6e=this[_0x198b89(0x17b)][_0x198b89(0x97)](f);return(_0x19cac4=_0x125d6e==null?void 0x0:_0x125d6e['getTaskServerUrl'])==null?'/universer-api/exchange/task/{taskID}':_0x19cac4;}[_0x4f9bf2(0x1d1)](){const _0x3a7c1e=_0x4f9bf2;var _0x222610;let _0xf414fc=this[_0x3a7c1e(0x17b)][_0x3a7c1e(0x97)](f);return(_0x222610=_0xf414fc==null?void 0x0:_0xf414fc[_0x3a7c1e(0x1cb)])==null?_0x3a7c1e(0x16b):_0x222610;}[_0x4f9bf2(0x13a)](){const _0x2c7f75=_0x4f9bf2;var _0x168abf;let _0x4b81d1=this['_configService'][_0x2c7f75(0x97)](f);return(_0x168abf=_0x4b81d1==null?void 0x0:_0x4b81d1['maxTimeoutTime'])==null?0x1d4c0:_0x168abf;}};R=I([F(0x0,t[_0x4f9bf2(0x19d)]),F(0x1,(0x0,t[_0x4f9bf2(0x1ee)])(n[_0x4f9bf2(0x1a3)]))],R);function ce(_0xe33566){const _0x8a0392=_0x4f9bf2;let _0x2f5285=_0xe33566['workbook'];if(!_0x2f5285)return null;let _0x6ac553={};_0x2f5285[_0x8a0392(0x95)]&&Object[_0x8a0392(0x162)](_0x2f5285[_0x8a0392(0x95)])[_0x8a0392(0x15f)](_0x240f08=>{const _0x2f1e20=_0x8a0392;let _0x5239ae=_0x2f5285[_0x2f1e20(0x95)][_0x240f08];_0x6ac553[_0x240f08]={..._0x5239ae,'originalMeta':(0x0,u[_0x2f1e20(0x1aa)])(u['textDecoder'][_0x2f1e20(0x7d)](_0x5239ae[_0x2f1e20(0x98)]))};});let _0xa842de=(0x0,u[_0x8a0392(0x1aa)])(u[_0x8a0392(0x1e3)]['decode'](_0x2f5285[_0x8a0392(0x98)]));return{..._0xe33566,'workbook':{..._0x2f5285,'originalMeta':_0xa842de,'sheets':_0x6ac553},'doc':{}};}function le(_0x43625e){const _0x1f221a=_0x4f9bf2;let _0x42a009=_0x43625e['doc'];if(!_0x42a009)return null;let _0x124260=(0x0,u['b64EncodeUnicode'])(u['textDecoder']['decode'](_0x42a009[_0x1f221a(0x98)]));return{..._0x43625e,'workbook':{},'doc':{..._0x42a009,'originalMeta':_0x124260}};}function _0x4473(_0x2303b1,_0x40d5bb){_0x2303b1=_0x2303b1-0x77;const _0x987c9c=_0x987c();let _0x44739f=_0x987c9c[_0x2303b1];return _0x44739f;}function ue(_0x49584b){const _0x4714b0=_0x4f9bf2;let _0x37acd2={};return _0x49584b[_0x4714b0(0x15f)](_0x55db8f=>{const _0x262a3a=_0x4714b0;_0x37acd2[_0x55db8f['id']]={..._0x55db8f,'data':(0x0,u[_0x262a3a(0x1aa)])(u[_0x262a3a(0x1e3)][_0x262a3a(0x7d)](_0x55db8f[_0x262a3a(0xd0)]))};}),_0x37acd2;}async function z(_0x1aaaf3){const _0x39ea50=_0x4f9bf2;var _0x1c886c;let _0x1bc6c9={'metadata':void 0x0},_0x53094c=_0x1aaaf3['id'],_0x2a97ec=(_0x1c886c=_0x1aaaf3[_0x39ea50(0x84)])==null?0x0:_0x1c886c,_0x54523d=new U(),{snapshot:_0x590714}=await(0x0,u[_0x39ea50(0x14b)])(_0x1bc6c9,_0x1aaaf3,_0x53094c,_0x2a97ec,_0x54523d),_0x550d4c=await(0x0,u[_0x39ea50(0x190)])(_0x590714,_0x54523d),_0x2c301e=ce(_0x590714);if(!_0x2c301e)throw Error(_0x39ea50(0xef));return{'snapshot':_0x2c301e,'sheetBlocks':ue(_0x550d4c)};}async function B(_0x3cfb64){const _0x41680e=_0x4f9bf2;var _0x21c618;let _0x5cf730={'metadata':void 0x0},_0x4991eb=_0x3cfb64['id'],{snapshot:_0x152e18}=await(0x0,u['transformDocumentDataToSnapshot'])(_0x5cf730,_0x3cfb64,_0x4991eb,(_0x21c618=_0x3cfb64['rev'])==null?0x0:_0x21c618,new U()),_0x168224=le(_0x152e18);if(!_0x168224)throw Error(_0x41680e(0xef));return{'snapshot':_0x168224,'sheetBlocks':{}};}async function V(_0xab46d){const _0x1d9b9d=_0x4f9bf2;let _0x5d0c55=_0xab46d['snapshot'],_0x1a3d04=_0xab46d['sheetBlocks']||{};return await(0x0,u['transformSnapshotToWorkbookData'])(_0x5d0c55,Object[_0x1d9b9d(0x162)](_0x1a3d04)[_0x1d9b9d(0x1e0)](_0x351551=>_0x1a3d04[_0x351551])[_0x1d9b9d(0x1e0)](_0x22e840=>({..._0x22e840,'data':_0x22e840[_0x1d9b9d(0xd0)]?JSON[_0x1d9b9d(0x11d)]((0x0,u[_0x1d9b9d(0x16f)])(_0x22e840['data'])):void 0x0})));}function H(_0x3885f7){const _0x3d8c4a=_0x4f9bf2;let _0x16a390=_0x3885f7[_0x3d8c4a(0x151)];return(0x0,u[_0x3d8c4a(0xae)])(_0x16a390);}var U=class{constructor(){_(this,'_sheetBlockCache',new Map());}['getUnitOnRev'](){const _0x3d6dd4=_0x4f9bf2;return Promise[_0x3d6dd4(0xc6)]({'snapshot':{'unitID':'','type':t[_0x3d6dd4(0x160)]['UNIVER_SHEET'],'rev':0x0,'workbook':void 0x0,'doc':void 0x0},'changesets':[],'error':{'code':l[_0x3d6dd4(0x1dc)]['OK'],'message':''}});}[_0x4f9bf2(0xdf)](_0x4366f6,_0x4dbf2e){const _0x5dc6cd=_0x4f9bf2;let _0xaef73c=this[_0x5dc6cd(0x18d)]['get'](_0x4dbf2e[_0x5dc6cd(0x1bc)]);return Promise[_0x5dc6cd(0xc6)]({'block':_0xaef73c,'error':{'code':l[_0x5dc6cd(0x1dc)]['OK'],'message':''}});}[_0x4f9bf2(0xd2)](_0x3a242d,_0x3504c3){const _0x17cfa0=_0x4f9bf2;let _0x1c11a4=this[_0x17cfa0(0x18d)][_0x17cfa0(0x1e9)](_0x3504c3[_0x17cfa0(0x1bc)]);return Promise[_0x17cfa0(0xc6)]({'block':_0x1c11a4===void 0x0?void 0x0:{..._0x1c11a4,'data':JSON['parse'](u[_0x17cfa0(0x1e3)][_0x17cfa0(0x7d)](_0x1c11a4['data']))},'error':{'code':l[_0x17cfa0(0x1dc)]['OK'],'message':''}});}['fetchMissingChangesets'](){const _0x5e37ee=_0x4f9bf2;return Promise['resolve']({'changesets':[],'error':{'code':l[_0x5e37ee(0x1dc)]['OK'],'message':''}});}['getResourcesRequest'](){const _0x3719be=_0x4f9bf2;return Promise['resolve']({'resources':{},'error':{'code':l[_0x3719be(0x1dc)]['OK'],'message':''}});}[_0x4f9bf2(0x1c4)](){const _0x526810=_0x4f9bf2;return Promise[_0x526810(0xc6)]({'error':{'code':l[_0x526810(0x1dc)]['OK'],'message':''}});}[_0x4f9bf2(0x133)](){const _0x6e1f92=_0x4f9bf2;return Promise[_0x6e1f92(0xc6)]({'error':{'code':l[_0x6e1f92(0x1dc)]['OK'],'message':''}});}['saveSheetBlock'](_0x3543a2,_0x124b85){const _0x3698d9=_0x4f9bf2;let {block:_0x18a8ff}=_0x124b85;return _0x18a8ff?(this[_0x3698d9(0x18d)][_0x3698d9(0x1b7)](_0x18a8ff['id'],_0x18a8ff),Promise[_0x3698d9(0xc6)]({'error':{'code':l[_0x3698d9(0x1dc)]['OK'],'message':''},'blockID':_0x18a8ff['id']})):Promise['resolve']({'error':{'code':l[_0x3698d9(0x1dc)][_0x3698d9(0x166)],'message':_0x3698d9(0x150)},'blockID':''});}[_0x4f9bf2(0xe3)](){const _0x6ce22c=_0x4f9bf2;return Promise['resolve']({'error':{'code':l[_0x6ce22c(0x1dc)]['OK'],'message':''},'concurrent':[]});}[_0x4f9bf2(0x18e)](){const _0x2b3dd5=_0x4f9bf2;return Promise[_0x2b3dd5(0xc6)]({'error':void 0x0,'fileMetaId':''});}[_0x4f9bf2(0x12c)](){const _0x29a275=_0x4f9bf2;return Promise[_0x29a275(0xc6)]({'error':void 0x0,'latestReqID':0x0});}};const W=(0x0,t[_0x4f9bf2(0x18b)])(_0x4f9bf2(0xfc));let G=class extends t[_0x4f9bf2(0xd6)]{constructor(_0x407a8b,_0x24623c,_0x4da771){const _0x5f0213=_0x4f9bf2;super(),this['_configService']=_0x407a8b,this[_0x5f0213(0x1b0)]=_0x24623c,this['_requestService']=_0x4da771,_(this,'_importTaskId',null),_(this,_0x5f0213(0x149),new o[(_0x5f0213(0x1ca))]()),_(this,_0x5f0213(0x1c9),this[_0x5f0213(0x149)][_0x5f0213(0x82)]());}[_0x4f9bf2(0xe2)](){super['dispose'](),this['_requestState$']['complete']();}async[_0x4f9bf2(0x196)](_0x4e3359){const _0x484b35=_0x4f9bf2;let _0x1d2cef=await this[_0x484b35(0x197)](_0x4e3359,t['UniverInstanceType'][_0x484b35(0x1d0)]);if(!_0x1d2cef||!_0x1d2cef[_0x484b35(0x151)])return;let _0x456095=H(_0x1d2cef);if(_0x456095)return _0x456095;}async[_0x4f9bf2(0x1c3)](_0x38b276){const _0xc53df8=_0x4f9bf2;return this[_0xc53df8(0x13c)](_0x38b276,0x1,t[_0xc53df8(0x160)][_0xc53df8(0x1d0)]);}async[_0x4f9bf2(0xcf)](_0x439632){const _0x529742=_0x4f9bf2;let _0x370865=await B(_0x439632);return this[_0x529742(0xa9)](_0x370865,t[_0x529742(0x160)][_0x529742(0x1d0)]);}async['importXLSXToSnapshot'](_0x3736a2){const _0x54caa1=_0x4f9bf2;let _0x1022ee=await this[_0x54caa1(0x197)](_0x3736a2,t['UniverInstanceType'][_0x54caa1(0x132)]);if(!_0x1022ee)return;let _0x2c8026=await V(_0x1022ee);if(_0x2c8026)return _0x2c8026;}async['exportXLSXByUnitId'](_0x750415){const _0x251786=_0x4f9bf2;return this[_0x251786(0x13c)](_0x750415,0x1,t['UniverInstanceType'][_0x251786(0x132)]);}async['exportXLSXBySnapshot'](_0x187af2){const _0x49cd90=_0x4f9bf2;let _0x1f3cd9=await z(_0x187af2);return this[_0x49cd90(0xa9)](_0x1f3cd9,t['UniverInstanceType']['UNIVER_SHEET']);}async[_0x4f9bf2(0x191)](_0x493aa4,_0x571a10){const _0x391438=_0x4f9bf2;var _0x574ffa,_0x782896;let _0x26d98d=await this[_0x391438(0x106)](_0x493aa4);if(!_0x26d98d)return;let _0x434c58=await this[_0x391438(0x153)](_0x26d98d,0x1,_0x571a10);if(!_0x434c58)return;this[_0x391438(0x17a)]=_0x434c58,this[_0x391438(0x1cc)]['clearTaskInterrupted']();let _0x1b597e=await this[_0x391438(0x1cc)][_0x391438(0x127)](_0x434c58)['catch'](_0x524bc1=>{const _0x4185d7=_0x391438;var _0x2166fd;let _0x4849a9=_0x524bc1 instanceof Error?_0x524bc1[_0x4185d7(0x100)]:(_0x2166fd=_0x524bc1[_0x4185d7(0x1bd)])==null?void 0x0:_0x2166fd[_0x4185d7(0x100)];this[_0x4185d7(0x149)][_0x4185d7(0x163)]({'error':{'code':l[_0x4185d7(0x1dc)][_0x4185d7(0xa2)],'message':_0x4849a9||''},'state':0x3});});if(!_0x1b597e)return;let _0x158d23=(_0x574ffa=_0x1b597e['import'])==null?void 0x0:_0x574ffa['outputType'],_0x4c26a0=((_0x782896=_0x1b597e['import'])==null?void 0x0:_0x782896[_0x391438(0x161)])||'';if(_0x158d23!==0x1){this['_requestState$'][_0x391438(0x163)]({'error':{'code':l[_0x391438(0x1dc)]['UNRECOGNIZED'],'message':_0x391438(0x177)},'state':0x3});return;}if(_0x4c26a0[_0x391438(0x14f)]===0x0){this[_0x391438(0x149)][_0x391438(0x163)]({'error':{'code':l[_0x391438(0x1dc)][_0x391438(0xa2)],'message':_0x391438(0xaf)},'state':0x3});return;}return this[_0x391438(0x149)]['next']({'error':_0x1b597e['error'],'state':0x3}),_0x4c26a0;}async['importWorkbookDataToUnitId'](_0x21b16e){const _0x25fb3f=_0x4f9bf2;let _0x4bcc1e=await z(_0x21b16e),_0x133cc1=typeof _0x21b16e['id']=='string'&&_0x21b16e['id'][_0x25fb3f(0x164)]()?_0x21b16e['id'][_0x25fb3f(0x164)]()+_0x25fb3f(0x12a):'workbook.json',_0x3decd4=new File([JSON['stringify'](_0x4bcc1e)],_0x133cc1,{'type':_0x25fb3f(0x1b8)});return this['importFileToUnitId'](_0x3decd4,t[_0x25fb3f(0x160)][_0x25fb3f(0x132)]);}[_0x4f9bf2(0x181)](){const _0x3e5a92=_0x4f9bf2;this[_0x3e5a92(0x17a)]&&this[_0x3e5a92(0x1cc)][_0x3e5a92(0xd5)](this[_0x3e5a92(0x17a)]);}async[_0x4f9bf2(0x197)](_0x295d22,_0x2a67c3){const _0x3371df=_0x4f9bf2;var _0x2f3f0e,_0xe9c678;let _0x2aea18=await this[_0x3371df(0x106)](_0x295d22);if(!_0x2aea18)return;let _0x312738=await this['_import'](_0x2aea18,0x2,_0x2a67c3);if(!_0x312738)return;this['_importTaskId']=_0x312738,this[_0x3371df(0x1cc)][_0x3371df(0x79)]();let _0x33c27f=await this[_0x3371df(0x1cc)][_0x3371df(0x127)](_0x312738)[_0x3371df(0x105)](_0x269a5e=>{const _0x9a53ae=_0x3371df;var _0x446141;let _0x6a9c5a=_0x269a5e instanceof Error?_0x269a5e[_0x9a53ae(0x100)]:(_0x446141=_0x269a5e['error'])==null?void 0x0:_0x446141[_0x9a53ae(0x100)];this[_0x9a53ae(0x149)][_0x9a53ae(0x163)]({'error':{'code':l[_0x9a53ae(0x1dc)]['UNRECOGNIZED'],'message':_0x6a9c5a||''},'state':0x3});});if(!_0x33c27f)return;let _0x324899=(_0x2f3f0e=_0x33c27f['import'])==null?void 0x0:_0x2f3f0e['outputType'],_0x422198=((_0xe9c678=_0x33c27f[_0x3371df(0x13e)])==null?void 0x0:_0xe9c678['jsonID'])||'';if(_0x324899!==0x2){this['_requestState$'][_0x3371df(0x163)]({'error':{'code':l[_0x3371df(0x1dc)][_0x3371df(0xa2)],'message':_0x3371df(0x177)},'state':0x3});return;}if(_0x422198[_0x3371df(0x14f)]===0x0){this[_0x3371df(0x149)][_0x3371df(0x163)]({'error':{'code':l[_0x3371df(0x1dc)][_0x3371df(0xa2)],'message':_0x3371df(0x1ab)},'state':0x3});return;}this[_0x3371df(0x149)][_0x3371df(0x163)]({'error':_0x33c27f[_0x3371df(0x1bd)],'state':0x3});let _0x1646df=await this[_0x3371df(0x121)](_0x422198);if(!_0x1646df)return;let _0xec49a8=await this[_0x3371df(0x1cc)]['getTextFromUrl'](_0x1646df);if(!_0xec49a8){this[_0x3371df(0x149)][_0x3371df(0x163)]({'error':{'code':l[_0x3371df(0x1dc)]['UNRECOGNIZED'],'message':_0x3371df(0x15e)},'state':0x5});return;}try{let _0x5b8f0d=JSON['parse'](_0xec49a8);return this[_0x3371df(0x149)][_0x3371df(0x163)]({'error':{'code':l['ErrorCode']['OK'],'message':_0x3371df(0x18f)},'state':0x5}),_0x5b8f0d;}catch{this[_0x3371df(0x149)]['next']({'error':{'code':l[_0x3371df(0x1dc)][_0x3371df(0xa2)],'message':_0x3371df(0x14e)},'state':0x5});}}async[_0x4f9bf2(0xa9)](_0x79d226,_0x534b2c){const _0x4c020a=_0x4f9bf2;let _0x155223=JSON[_0x4c020a(0x185)](_0x79d226),_0x18611a=u[_0x4c020a(0xc2)][_0x4c020a(0x128)](_0x155223),_0x5a3ac8=(0x0,d[_0x4c020a(0xf1)])(_0x18611a),_0x17b6ee=_0x18611a[_0x4c020a(0x14f)],_0x4d9f76=N(_0x5a3ac8),_0x2d7f43=await this['_upload'](_0x4d9f76,_0x17b6ee,!0x0);if(_0x2d7f43)return this[_0x4c020a(0x13c)](_0x2d7f43,0x2,_0x534b2c);}async[_0x4f9bf2(0x13c)](_0x5f5d99,_0x40281a,_0x58236b){const _0x49596c=_0x4f9bf2;var _0x28f326;let _0xbf8e7a=await this[_0x49596c(0x1cc)][_0x49596c(0x12e)]({'unitID':_0x40281a===0x1?_0x5f5d99:'','jsonID':_0x40281a===0x2?_0x5f5d99:'','type':_0x58236b,'sscSwitch':this[_0x49596c(0x178)](),'useImageUrl':this[_0x49596c(0x1cf)](),'ignoreTableExport':this['_getIgnoreTableExport']()});if(!_0xbf8e7a){this[_0x49596c(0x149)][_0x49596c(0x163)]({'error':{'code':l['ErrorCode'][_0x49596c(0xa2)],'message':'export\x20error'},'state':0x2});return;}if(this[_0x49596c(0x149)][_0x49596c(0x163)]({'error':_0xbf8e7a['error'],'state':0x2}),_0xbf8e7a[_0x49596c(0x1bd)]&&_0xbf8e7a[_0x49596c(0x1bd)][_0x49596c(0x1e4)]!==l[_0x49596c(0x1dc)]['OK'])return;let _0xaacf31=_0xbf8e7a[_0x49596c(0x135)],_0x1f60fb=await this['_requestService'][_0x49596c(0x127)](_0xaacf31)[_0x49596c(0x105)](_0x15d2f1=>{const _0x39f0e5=_0x49596c;var _0x3189d0;let _0x4ff755=_0x15d2f1 instanceof Error?_0x15d2f1[_0x39f0e5(0x100)]:(_0x3189d0=_0x15d2f1[_0x39f0e5(0x1bd)])==null?void 0x0:_0x3189d0[_0x39f0e5(0x100)];this[_0x39f0e5(0x149)][_0x39f0e5(0x163)]({'error':{'code':l[_0x39f0e5(0x1dc)][_0x39f0e5(0xa2)],'message':_0x4ff755||''},'state':0x3});});if(!_0x1f60fb)return;let _0x134a9f=((_0x28f326=_0x1f60fb[_0x49596c(0x12e)])==null?void 0x0:_0x28f326['fileID'])||'';if(_0x134a9f[_0x49596c(0x14f)]===0x0){this[_0x49596c(0x149)]['next']({'error':{'code':l['ErrorCode'][_0x49596c(0xa2)],'message':_0x49596c(0x1ec)},'state':0x3});return;}this[_0x49596c(0x149)][_0x49596c(0x163)]({'error':_0x1f60fb[_0x49596c(0x1bd)],'state':0x3});let _0x54f025=await this[_0x49596c(0x121)](_0x134a9f);if(!_0x54f025)return;let _0x5ae1b2=await j(_0x54f025,this[_0x49596c(0x1b0)]);if(!_0x5ae1b2){this[_0x49596c(0x149)][_0x49596c(0x163)]({'error':{'code':l[_0x49596c(0x1dc)]['UNRECOGNIZED'],'message':_0x49596c(0xdc)},'state':0x6});return;}return this[_0x49596c(0x149)][_0x49596c(0x163)]({'error':{'code':l[_0x49596c(0x1dc)]['OK'],'message':_0x49596c(0x18f)},'state':0x6}),_0x5ae1b2;}async[_0x4f9bf2(0x106)](_0x5c3b6f,_0x24d116,_0x25badf){const _0x920261=_0x4f9bf2;let _0x2ecc22;try{_0x2ecc22=await this[_0x920261(0x1cc)][_0x920261(0xd7)](_0x5c3b6f,_0x24d116,_0x25badf);}catch(_0x275944){let _0x3b46bb=_0x275944 instanceof Error?_0x275944[_0x920261(0x100)]:String(_0x275944);this[_0x920261(0x149)]['next']({'error':{'code':l[_0x920261(0x1dc)][_0x920261(0xa2)],'message':_0x3b46bb},'state':0x0});return;}if(!_0x2ecc22||typeof _0x2ecc22[_0x920261(0x16c)]!=_0x920261(0x174)){this[_0x920261(0x149)][_0x920261(0x163)]({'error':{'code':l['ErrorCode'][_0x920261(0xa2)],'message':_0x920261(0x90)},'state':0x0});return;}let _0x45c951=_0x2ecc22[_0x920261(0x16c)];if(_0x45c951['length']===0x0){this[_0x920261(0x149)]['next']({'error':{'code':l['ErrorCode'][_0x920261(0xa2)],'message':'upload\x20failed:\x20FileId\x20is\x20empty'},'state':0x0});return;}return this[_0x920261(0x149)][_0x920261(0x163)]({'error':{'code':l['ErrorCode']['OK'],'message':_0x920261(0x18f)},'state':0x0}),_0x45c951;}async[_0x4f9bf2(0x153)](_0x50a123,_0x1e3d49,_0x1c6f0c){const _0x3ffeb4=_0x4f9bf2;let _0x1e7277={'fileID':_0x50a123,'type':_0x1c6f0c,'outputType':_0x1e3d49,'fileUrl':'','minSheetRowCount':this['_getMinSheetRowCount'](),'minSheetColumnCount':this['_getMinSheetColumnCount']()},_0x224288=await this[_0x3ffeb4(0x1cc)]['import'](_0x1e7277);if(!_0x224288){this[_0x3ffeb4(0x149)][_0x3ffeb4(0x163)]({'error':{'code':l[_0x3ffeb4(0x1dc)][_0x3ffeb4(0xa2)],'message':_0x3ffeb4(0xe5)},'state':0x1});return;}if(_0x224288['error']&&_0x224288[_0x3ffeb4(0x1bd)]['code']!==l[_0x3ffeb4(0x1dc)]['OK']){this[_0x3ffeb4(0x149)][_0x3ffeb4(0x163)]({'error':_0x224288[_0x3ffeb4(0x1bd)],'state':0x1});return;}let _0x58c275=_0x224288[_0x3ffeb4(0x135)];if(_0x58c275['length']===0x0){this[_0x3ffeb4(0x149)][_0x3ffeb4(0x163)]({'error':{'code':l['ErrorCode']['UNRECOGNIZED'],'message':_0x3ffeb4(0x1d3)},'state':0x1});return;}return this[_0x3ffeb4(0x149)]['next']({'error':_0x224288[_0x3ffeb4(0x1bd)],'state':0x1}),_0x58c275;}async[_0x4f9bf2(0x121)](_0xbdf930){const _0x23d711=_0x4f9bf2;let _0x4352e2=await this['_requestService'][_0x23d711(0x168)](_0xbdf930);if(!_0x4352e2){this[_0x23d711(0x149)][_0x23d711(0x163)]({'error':{'code':l[_0x23d711(0x1dc)][_0x23d711(0xa2)],'message':'sign\x20url\x20error'},'state':0x4});return;}if(_0x4352e2[_0x23d711(0x1bd)]&&_0x4352e2[_0x23d711(0x1bd)]['code']!==l[_0x23d711(0x1dc)]['OK']){this[_0x23d711(0x149)][_0x23d711(0x163)]({'error':_0x4352e2[_0x23d711(0x1bd)],'state':0x4});return;}let _0x477404=(0x0,t[_0x23d711(0x1ed)])(_0x4352e2[_0x23d711(0x192)],this['_getDownloadEndpointURL']());if(_0x477404[_0x23d711(0x14f)]===0x0){this['_requestState$'][_0x23d711(0x163)]({'error':{'code':l[_0x23d711(0x1dc)]['UNRECOGNIZED'],'message':'sign\x20url\x20error'},'state':0x4});return;}return this[_0x23d711(0x149)][_0x23d711(0x163)]({'error':_0x4352e2[_0x23d711(0x1bd)],'state':0x4}),_0x477404;}[_0x4f9bf2(0x183)](){const _0x4eb899=_0x4f9bf2;var _0x17ac92;let _0x2cd68e=this['_configService']['getConfig'](f);return(_0x17ac92=_0x2cd68e==null?void 0x0:_0x2cd68e[_0x4eb899(0x169)])==null?location[_0x4eb899(0x19a)]:_0x17ac92;}[_0x4f9bf2(0x1ae)](){const _0xa85e3f=_0x4f9bf2;var _0x1cb094,_0x490363;let _0x1df3fb=this[_0xa85e3f(0x17b)]['getConfig'](f);return(_0x1cb094=_0x1df3fb==null||(_0x490363=_0x1df3fb['options'])==null?void 0x0:_0x490363['minSheetRowCount'])==null?0x1:_0x1cb094;}['_getMinSheetColumnCount'](){const _0x4fa6d0=_0x4f9bf2;var _0x26923d,_0x1bcdab;let _0x5b5fa2=this[_0x4fa6d0(0x17b)]['getConfig'](f);return(_0x26923d=_0x5b5fa2==null||(_0x1bcdab=_0x5b5fa2[_0x4fa6d0(0x1d8)])==null?void 0x0:_0x1bcdab['minSheetColumnCount'])==null?0x1:_0x26923d;}['_getEnableServerSideComputing'](){const _0x25d988=_0x4f9bf2;var _0x6ba24b,_0x36879e;let _0x25da79=this[_0x25d988(0x17b)][_0x25d988(0x97)](f);return(_0x6ba24b=_0x25da79==null||(_0x36879e=_0x25da79[_0x25d988(0x1d8)])==null?void 0x0:_0x36879e[_0x25d988(0xad)])==null?!0x1:_0x6ba24b;}['_getDisableCellImageConversion'](){const _0x57dbcf=_0x4f9bf2;var _0xdaa29e,_0x127d60;let _0x1308c9=this[_0x57dbcf(0x17b)][_0x57dbcf(0x97)](f);return(_0xdaa29e=_0x1308c9==null||(_0x127d60=_0x1308c9['options'])==null?void 0x0:_0x127d60[_0x57dbcf(0x1a4)])==null?!0x0:_0xdaa29e;}[_0x4f9bf2(0x1c6)](){const _0x1ac879=_0x4f9bf2;var _0x1d4d43,_0x4e1ce8;let _0x213f48=this[_0x1ac879(0x17b)][_0x1ac879(0x97)](f);return(_0x1d4d43=_0x213f48==null||(_0x4e1ce8=_0x213f48[_0x1ac879(0x1d8)])==null?void 0x0:_0x4e1ce8[_0x1ac879(0xd1)])==null?!0x1:_0x1d4d43;}};G=I([F(0x0,t['IConfigService']),F(0x1,(0x0,t['Inject'])(n['HTTPService'])),F(0x2,(0x0,t[_0x4f9bf2(0x1ee)])(L))],G);const de={'done':0x0,'count':0x0},K=(0x0,t[_0x4f9bf2(0x18b)])('univer-pro.exchange-client.operate.service');let q=class extends t[_0x4f9bf2(0xd6)]{constructor(_0xabe6cb,_0x216d8c,_0x50a773,_0x23f1e8,_0x4278e7,_0x28d936){const _0x2e1a54=_0x4f9bf2;super(),this['_univerInstanceService']=_0xabe6cb,this[_0x2e1a54(0x130)]=_0x216d8c,this[_0x2e1a54(0x7a)]=_0x50a773,this[_0x2e1a54(0x77)]=_0x23f1e8,this['_uploadNotificationService']=_0x4278e7,this[_0x2e1a54(0x189)]=_0x28d936,_(this,'_progress$',new o[(_0x2e1a54(0x1c0))](de)),_(this,_0x2e1a54(0x154),this[_0x2e1a54(0x1c1)][_0x2e1a54(0x82)]()),_(this,_0x2e1a54(0x1ea),0x0),_(this,_0x2e1a54(0xbd),0x0),this[_0x2e1a54(0x15b)]((0x0,t[_0x2e1a54(0xb3)])(this[_0x2e1a54(0x77)][_0x2e1a54(0x1c9)]['subscribe'](_0x3ab396=>{const _0x54e880=_0x2e1a54;var _0x553689;((_0x553689=_0x3ab396[_0x54e880(0x1bd)])==null?void 0x0:_0x553689[_0x54e880(0x1e4)])===l[_0x54e880(0x1dc)]['OK']?this[_0x54e880(0xf5)](0x1):this['_showNetworkError'](_0x3ab396[_0x54e880(0x1bd)]);})));}['interrupt'](){const _0x91d140=_0x4f9bf2;this[_0x91d140(0x101)](),this[_0x91d140(0x1a8)]['updateState'](0x2),this['_exchangeService']['interruptImportTask']();}async[_0x4f9bf2(0x1d6)](_0x11804a){const _0x2f10ab=_0x4f9bf2;throw Error(_0x2f10ab(0xfa));}async[_0x4f9bf2(0x172)](){const _0x4cfb01=_0x4f9bf2;let _0x27a610=await A([t['UniverInstanceType']['UNIVER_DOC']]);if(_0x27a610&&!this['_fileTypeError'](_0x27a610,t[_0x4cfb01(0x160)][_0x4cfb01(0x1d0)]))return this[_0x4cfb01(0x7f)](_0x27a610[0x0],t[_0x4cfb01(0x160)]['UNIVER_DOC']);}[_0x4f9bf2(0x196)](){const _0x35cf54=_0x4f9bf2;throw Error(_0x35cf54(0xfa));}async['exportDOCXByUnitId'](_0x3ee1f9,_0xcdac3c,_0x564f17){const _0x10888d=_0x4f9bf2;this[_0x10888d(0x124)](s['MessageType'][_0x10888d(0xb6)]);let _0x482666=await this[_0x10888d(0x77)][_0x10888d(0x1c3)](_0x3ee1f9||this['_getUnitIDDoc']());_0x482666&&(O(_0x482666,_0xcdac3c||this[_0x10888d(0x115)](_0x482666),_0x10888d(0xb7)),this['_showDownloadMessage'](s[_0x10888d(0xfe)][_0x10888d(0x111)]));}async[_0x4f9bf2(0xcf)](){const _0x2c2fb8=_0x4f9bf2;this[_0x2c2fb8(0x124)](s[_0x2c2fb8(0xfe)]['Info']);let _0x5531e8=await this[_0x2c2fb8(0x145)](),_0x296472=await this[_0x2c2fb8(0x77)][_0x2c2fb8(0xcf)](_0x5531e8);_0x296472&&(O(_0x296472,this[_0x2c2fb8(0x115)](_0x296472),'docx'),this['_showDownloadMessage'](s[_0x2c2fb8(0xfe)][_0x2c2fb8(0x111)]));}async[_0x4f9bf2(0x123)](){const _0xf14994=_0x4f9bf2;if(this['_uploadTaskNotDone']()){this[_0xf14994(0x130)]['show']({'type':s['MessageType'][_0xf14994(0x19e)],'content':this[_0xf14994(0x7a)]['t'](_0xf14994(0x116))});return;}let _0xa4e198=await A([t['UniverInstanceType'][_0xf14994(0x132)]]);if(_0xa4e198&&!this[_0xf14994(0x17d)](_0xa4e198,t[_0xf14994(0x160)][_0xf14994(0x132)]))return this[_0xf14994(0x7f)](_0xa4e198[0x0],t['UniverInstanceType'][_0xf14994(0x132)]);}async[_0x4f9bf2(0x10b)](){const _0x207e1d=_0x4f9bf2;if(this[_0x207e1d(0x8d)]()){this[_0x207e1d(0x130)][_0x207e1d(0x1bf)]({'type':s[_0x207e1d(0xfe)]['Warning'],'content':this[_0x207e1d(0x7a)]['t']('exchange.uploading')});return;}let _0x28a904=await A([t[_0x207e1d(0x160)][_0x207e1d(0x132)]]);if(!_0x28a904)return;this[_0x207e1d(0xa1)](s[_0x207e1d(0xfe)][_0x207e1d(0xb6)]);let _0x73ea79=await this[_0x207e1d(0x77)][_0x207e1d(0x10b)](_0x28a904[0x0]);_0x73ea79&&(this[_0x207e1d(0x17f)](_0x73ea79),this[_0x207e1d(0xa1)](s[_0x207e1d(0xfe)][_0x207e1d(0x111)]));}async[_0x4f9bf2(0xc8)](_0x391537,_0x128fa6,_0xaf9165){const _0x31dfd9=_0x4f9bf2;this[_0x31dfd9(0x124)](s[_0x31dfd9(0xfe)][_0x31dfd9(0xb6)]);let _0x344a16=await this['_exchangeService']['exportXLSXByUnitId'](_0x391537||this[_0x31dfd9(0x1d2)]());_0x344a16&&(O(_0x344a16,_0x128fa6||this[_0x31dfd9(0x115)](_0x344a16),'xlsx'),this[_0x31dfd9(0x124)](s[_0x31dfd9(0xfe)][_0x31dfd9(0x111)]));}async[_0x4f9bf2(0x171)](){const _0x7857b=_0x4f9bf2;this[_0x7857b(0x124)](s[_0x7857b(0xfe)][_0x7857b(0xb6)]);let _0x13e581=await this[_0x7857b(0x12f)](),_0x97d10a=await this[_0x7857b(0x77)][_0x7857b(0x171)](_0x13e581);_0x97d10a&&(O(_0x97d10a,this[_0x7857b(0x115)](_0x97d10a),'xlsx'),this['_showDownloadMessage'](s[_0x7857b(0xfe)][_0x7857b(0x111)]));}[_0x4f9bf2(0x1eb)](_0x7af1f9){const _0x198d6e=_0x4f9bf2;this[_0x198d6e(0x91)]=_0x7af1f9;}async['_importFileToUnitId'](_0x41ba5c,_0x23d00e){const _0x58243b=_0x4f9bf2;this[_0x58243b(0x1a8)][_0x58243b(0x1bf)](),this[_0x58243b(0x1a8)][_0x58243b(0xf7)](0x0),this[_0x58243b(0x17e)](0x4),this[_0x58243b(0xf5)](0x1);let _0x141a11=await this['_exchangeService']['importFileToUnitId'](_0x41ba5c,_0x23d00e);if(!_0x141a11){this[_0x58243b(0x101)](),this[_0x58243b(0x1a8)][_0x58243b(0xf7)](0x2);return;}let _0x53f047={'link':this[_0x58243b(0x91)](_0x141a11,_0x23d00e),'name':_0x41ba5c[_0x58243b(0x8e)],'type':_0x23d00e};return this[_0x58243b(0x1a8)][_0x58243b(0x9b)](_0x53f047),this[_0x58243b(0x1b6)](),this[_0x58243b(0x1a8)]['updateState'](0x1),_0x141a11;}['_getUnitID'](){const _0x314b55=_0x4f9bf2;return this[_0x314b55(0x87)][_0x314b55(0x1bb)](t[_0x314b55(0x160)][_0x314b55(0x132)])[_0x314b55(0x18a)]();}['_getUnitIDDoc'](){const _0x3a575e=_0x4f9bf2;return this[_0x3a575e(0x87)][_0x3a575e(0x1bb)](t[_0x3a575e(0x160)][_0x3a575e(0x1d0)])['getUnitId']();}[_0x4f9bf2(0x115)](_0x4e1152){const _0x53b659=_0x4f9bf2;var _0x45a293;return((_0x45a293=this['_univerInstanceService']['getCurrentUnitOfType'](t['UniverInstanceType'][_0x53b659(0x132)]))==null?void 0x0:_0x45a293[_0x53b659(0x8e)])||_0x4e1152['name'][_0x53b659(0x129)]('.')[_0x53b659(0x14a)]()||document[_0x53b659(0xe4)];}async[_0x4f9bf2(0x12f)](){const _0x40be55=_0x4f9bf2;return this[_0x40be55(0x87)][_0x40be55(0x1bb)](t['UniverInstanceType'][_0x40be55(0x132)])[_0x40be55(0xce)]();}async[_0x4f9bf2(0x145)](){const _0x43738e=_0x4f9bf2;return this[_0x43738e(0x87)]['getCurrentUnitOfType'](t[_0x43738e(0x160)]['UNIVER_DOC'])[_0x43738e(0xce)]();}['_getLinkByUnitId'](_0x5492b4,_0x1c3584){const _0x4af76c=_0x4f9bf2;let _0xb91e6b=new URL(window[_0x4af76c(0x99)][_0x4af76c(0xf8)]);return _0xb91e6b[_0x4af76c(0x152)][_0x4af76c(0x1b7)](_0x4af76c(0x112),_0x5492b4),_0xb91e6b[_0x4af76c(0x152)][_0x4af76c(0x1b7)](_0x4af76c(0xb1),''+_0x1c3584),_0xb91e6b[_0x4af76c(0x173)]();}[_0x4f9bf2(0x17f)](_0x37055d){const _0x2b0e76=_0x4f9bf2;let _0x413ae3=this[_0x2b0e76(0x87)][_0x2b0e76(0x1bb)](t[_0x2b0e76(0x160)]['UNIVER_SHEET'])['getUnitId']();this['_univerInstanceService']['disposeUnit'](_0x413ae3),this[_0x2b0e76(0x87)][_0x2b0e76(0x144)](t['UniverInstanceType']['UNIVER_SHEET'],_0x37055d);}[_0x4f9bf2(0xa5)](_0xf8596d){const _0x11832e=_0x4f9bf2;if(_0xf8596d){let {code:_0x3218fc}=_0xf8596d;switch(_0x3218fc){case l[_0x11832e(0x1dc)][_0x11832e(0x13f)]:this[_0x11832e(0x130)][_0x11832e(0x1bf)]({'type':s[_0x11832e(0xfe)][_0x11832e(0xec)],'content':this['_localeService']['t']('exchange.tooLarge')});break;case l[_0x11832e(0x1dc)]['INTERNAL_ERROR']:this[_0x11832e(0x130)]['show']({'type':s[_0x11832e(0xfe)][_0x11832e(0xec)],'content':this['_localeService']['t'](_0x11832e(0x15c))});break;default:this[_0x11832e(0x130)][_0x11832e(0x1bf)]({'type':s[_0x11832e(0xfe)][_0x11832e(0xec)],'content':this[_0x11832e(0x7a)]['t'](_0x11832e(0x92))});break;}return null;}return this[_0x11832e(0x130)][_0x11832e(0x1bf)]({'type':s['MessageType'][_0x11832e(0xec)],'content':this['_localeService']['t']('exchange.networkError')}),null;}[_0x4f9bf2(0x124)](_0x5328df){const _0x2c0e10=_0x4f9bf2;let _0x155f7b='';switch(_0x5328df){case s[_0x2c0e10(0xfe)][_0x2c0e10(0x111)]:_0x155f7b=this[_0x2c0e10(0x7a)]['t'](_0x2c0e10(0xe9));break;case s[_0x2c0e10(0xfe)][_0x2c0e10(0xb6)]:_0x155f7b=this[_0x2c0e10(0x7a)]['t'](_0x2c0e10(0x16a));break;default:break;}this['_messageService'][_0x2c0e10(0x1bf)]({'type':_0x5328df,'content':_0x155f7b});}[_0x4f9bf2(0xa1)](_0x6104a6){const _0x55ac27=_0x4f9bf2;let _0x30e610='';switch(_0x6104a6){case s[_0x55ac27(0xfe)]['Success']:_0x30e610=this['_localeService']['t'](_0x55ac27(0x176));break;case s[_0x55ac27(0xfe)][_0x55ac27(0xb6)]:_0x30e610=this['_localeService']['t'](_0x55ac27(0x116));break;default:break;}this[_0x55ac27(0x130)]['show']({'type':_0x6104a6,'content':_0x30e610});}[_0x4f9bf2(0x120)](){const _0x181e86=_0x4f9bf2;this[_0x181e86(0x1c1)][_0x181e86(0x163)]({'done':this[_0x181e86(0xbd)],'count':this['_totalUploadTaskCount']});}[_0x4f9bf2(0x17e)](_0x5663e8){const _0x36adf0=_0x4f9bf2;this[_0x36adf0(0x1ea)]+=_0x5663e8,this[_0x36adf0(0x120)]();}[_0x4f9bf2(0xf5)](_0x5d6f23){const _0x136c97=_0x4f9bf2;this[_0x136c97(0xbd)]+=_0x5d6f23,this[_0x136c97(0xbd)]=Math[_0x136c97(0xee)](this['_doneUploadTaskCount'],this['_totalUploadTaskCount']),this[_0x136c97(0x120)]();}[_0x4f9bf2(0x1b6)](){const _0x2984c5=_0x4f9bf2;this[_0x2984c5(0xbd)]=this[_0x2984c5(0x1ea)],this[_0x2984c5(0x120)]();}[_0x4f9bf2(0x101)](){const _0x1cb0b5=_0x4f9bf2;this[_0x1cb0b5(0xbd)]=0x0,this['_totalUploadTaskCount']=0x0,this['_emitProgress']();}[_0x4f9bf2(0x17d)](_0x15722f,_0xf78d72){const _0x93118e=_0x4f9bf2;let _0x2b8c53=_0x15722f[0x0],_0x2adef2=_0x2b8c53[_0x93118e(0x8e)];return k(_0x2b8c53)===_0xf78d72?!0x1:(this[_0x93118e(0x130)]['show']({'type':s[_0x93118e(0xfe)][_0x93118e(0xec)],'content':this[_0x93118e(0x7a)]['t']('exchange.fileTypeError',_0x2adef2)}),!0x0);}[_0x4f9bf2(0x8d)](){const _0x4a644c=_0x4f9bf2;return this['_totalUploadTaskCount']!==0x0&&this['_doneUploadTaskCount']!==this[_0x4a644c(0x1ea)];}};q=I([F(0x0,(0x0,t[_0x4f9bf2(0x1ee)])(t[_0x4f9bf2(0x15a)])),F(0x1,r[_0x4f9bf2(0x126)]),F(0x2,(0x0,t[_0x4f9bf2(0x1ee)])(t['LocaleService'])),F(0x3,(0x0,t[_0x4f9bf2(0x1ee)])(W)),F(0x4,(0x0,t[_0x4f9bf2(0x1ee)])(v)),F(0x5,t[_0x4f9bf2(0x110)])],q);function J(_0x378b38){const _0x500b12=_0x4f9bf2;let {onClick:_0xa91046,children:_0x5120f2,className:_0x12cc0b}=_0x378b38;return(0x0,c[_0x500b12(0xf9)])(_0x500b12(0xaa),{'className':(0x0,s[_0x500b12(0x1c7)])(_0x500b12(0xb0),_0x12cc0b),'type':_0x500b12(0xaa),'onClick':_0xa91046,'children':_0x5120f2});}function Y(){const _0x5a48c7=_0x4f9bf2;let _0x5baa92=(0x0,r[_0x5a48c7(0xb4)])(K),_0x49b8e7=(0x0,r[_0x5a48c7(0xb4)])(t['LocaleService']);function _0xb75390(){const _0xb84d1c=_0x5a48c7;_0x5baa92[_0xb84d1c(0x123)]();}return(0x0,c[_0x5a48c7(0xf9)])(J,{'onClick':_0xb75390,'children':_0x49b8e7['t'](_0x5a48c7(0x1e1))});}function X(){const _0x921ca9=_0x4f9bf2;return(0x0,c[_0x921ca9(0x182)])('div',{'className':'univer-mt-5\x20univer-flex\x20univer-flex-col','children':[(0x0,c[_0x921ca9(0xf9)])(_0x921ca9(0x147),{'className':_0x921ca9(0x1cd),'children':(0x0,r[_0x921ca9(0xb4)])(t[_0x921ca9(0x159)])['t'](_0x921ca9(0x184))}),(0x0,c[_0x921ca9(0xf9)])(Y,{})]});}function fe(_0x565a3c){const _0x18e0d7=_0x4f9bf2;let {count:_0x2ea03b}=_0x565a3c;return(0x0,c[_0x18e0d7(0x182)])(_0x18e0d7(0x175),{'className':_0x18e0d7(0x188),'children':[(0x0,c[_0x18e0d7(0xf9)])(_0x18e0d7(0x147),{'className':_0x18e0d7(0xf2),'children':(0x0,r['useDependency'])(t[_0x18e0d7(0x159)])['t'](_0x18e0d7(0x186),''+_0x2ea03b)}),(0x0,c[_0x18e0d7(0xf9)])(Y,{})]});}function pe(){const _0x323a26=_0x4f9bf2;let _0x13b063=(0x0,r[_0x323a26(0xb4)])(K),_0x23ec2e=(0x0,r[_0x323a26(0xb4)])(t[_0x323a26(0x159)]);function _0x56f466(){const _0x2fd23a=_0x323a26;_0x13b063[_0x2fd23a(0x148)]();}return(0x0,c[_0x323a26(0xf9)])(J,{'onClick':_0x56f466,'children':_0x23ec2e['t']('exchange.cancel')});}function me(){const _0x5e52db=_0x4f9bf2;let {count:_0x1fa326,done:_0x2cb70c}=(0x0,r[_0x5e52db(0xac)])((0x0,r[_0x5e52db(0xb4)])(K)[_0x5e52db(0x154)]),[_0x2aa4b8,_0x187645]=(0x0,a[_0x5e52db(0x86)])(_0x1fa326>0x0?_0x2cb70c/_0x1fa326:0x0);return(0x0,a[_0x5e52db(0x1d7)])(()=>{_0x187645(_0x1fa326>0x0?_0x2cb70c/_0x1fa326:0x0);},[_0x1fa326,_0x2cb70c]),(0x0,c[_0x5e52db(0xf9)])(_0x5e52db(0x175),{'className':_0x5e52db(0xf0),'children':(0x0,c[_0x5e52db(0xf9)])('div',{'className':'univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','style':{'width':Math[_0x5e52db(0xff)](_0x2aa4b8*0x64)+'%'}})});}function he(){const _0x1955bb=_0x4f9bf2;return(0x0,c['jsxs'])(_0x1955bb(0x175),{'className':_0x1955bb(0xea),'children':[(0x0,c[_0x1955bb(0xf9)])(_0x1955bb(0x147),{'className':_0x1955bb(0x96),'children':(0x0,r[_0x1955bb(0xb4)])(t[_0x1955bb(0x159)])['t'](_0x1955bb(0x7e))}),(0x0,c[_0x1955bb(0xf9)])(_0x1955bb(0x175),{'className':_0x1955bb(0x10d),'children':(0x0,c['jsx'])(me,{})}),(0x0,c[_0x1955bb(0xf9)])(pe,{})]});}const ge={0x1:(0x0,c[_0x4f9bf2(0xf9)])(i['SuccessIcon'],{'className':_0x4f9bf2(0x1ce)}),0x0:(0x0,c[_0x4f9bf2(0xf9)])(i['ClockIcon'],{'className':_0x4f9bf2(0x118)}),0x2:(0x0,c[_0x4f9bf2(0xf9)])(i[_0x4f9bf2(0x109)],{'className':'univer-text-red-500'})};function _e(){const _0x3a164c=_0x4f9bf2;let [_0x1729d6,_0x4000d8]=(0x0,a[_0x3a164c(0x86)])(0x0),[_0x3e15d9,_0x3521d5]=(0x0,a[_0x3a164c(0x86)])(!0x1),[_0x2bea08,_0x47a175]=(0x0,a[_0x3a164c(0x86)])([]),_0x6e9042=(0x0,r['useDependency'])(v),_0x2d4833=(0x0,r[_0x3a164c(0xb4)])(t[_0x3a164c(0x159)]);(0x0,a[_0x3a164c(0x1d7)])(()=>{const _0x32dcdf=_0x3a164c;let _0x50cc48=_0x6e9042['visible$'][_0x32dcdf(0x1b9)](_0xedca8b=>{_0x3521d5(_0xedca8b);}),_0x112442=_0x6e9042['list$']['subscribe'](_0x3466c5=>{_0x47a175(_0x3466c5);}),_0x36a1cf=_0x6e9042[_0x32dcdf(0x134)][_0x32dcdf(0x1b9)](_0x39ced6=>{_0x4000d8(_0x39ced6);});return()=>{const _0x2dded4=_0x32dcdf;_0x50cc48[_0x2dded4(0x10a)](),_0x112442['unsubscribe'](),_0x36a1cf[_0x2dded4(0x10a)]();};},[]);function _0x21a10d(){_0x3521d5(!0x1);}function _0x2b31ef(_0x1b4be6){const _0x369b5b=_0x3a164c;switch(_0x1b4be6){case 0x1:return _0x2d4833['t'](_0x369b5b(0x176));case 0x0:return _0x2d4833['t'](_0x369b5b(0x116));case 0x2:return _0x2d4833['t'](_0x369b5b(0x140));default:return'';}}return _0x3e15d9&&(0x0,c[_0x3a164c(0x182)])('div',{'className':_0x3a164c(0x8a),'children':[(0x0,c[_0x3a164c(0x182)])(_0x3a164c(0x175),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2','children':[(0x0,c['jsxs'])('span',{'className':_0x3a164c(0xca),'children':[(0x0,c[_0x3a164c(0xf9)])(_0x3a164c(0x147),{'className':_0x3a164c(0xb8),'children':ge[_0x1729d6]}),(0x0,c[_0x3a164c(0xf9)])('span',{'className':_0x3a164c(0x9e),'children':_0x2b31ef(_0x1729d6)})]}),(0x0,c[_0x3a164c(0xf9)])(_0x3a164c(0x147),{'className':'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','onClick':_0x21a10d,'children':(0x0,c[_0x3a164c(0xf9)])(i[_0x3a164c(0x1de)],{})})]}),(0x0,c['jsxs'])(_0x3a164c(0x175),{'children':[_0x1729d6===0x0&&(0x0,c[_0x3a164c(0xf9)])(he,{}),_0x1729d6===0x2&&(0x0,c[_0x3a164c(0xf9)])(X,{}),_0x2bea08[_0x3a164c(0x14f)]>0x0&&(0x0,c[_0x3a164c(0xf9)])(re,{'list':_0x2bea08}),_0x1729d6===0x1&&(0x0,c[_0x3a164c(0xf9)])(fe,{'count':_0x2bea08['length']})]})]});}function Z(){const _0x593dbd=_0x4f9bf2;return(0x0,c[_0x593dbd(0xf9)])(_e,{});}let Q=class extends t['Disposable']{constructor(_0x3f05ef,_0x2a4931){const _0x5252e8=_0x4f9bf2;super(),this[_0x5252e8(0xbc)]=_0x3f05ef,this['_uiPartsService']=_0x2a4931,this[_0x5252e8(0x9a)]();}[_0x4f9bf2(0x9a)](){const _0x379432=_0x4f9bf2;this[_0x379432(0x15b)](this[_0x379432(0x156)]['registerComponent'](r[_0x379432(0x1a1)][_0x379432(0xa7)],()=>(0x0,r['connectInjector'])(Z,this[_0x379432(0xbc)])));}};Q=I([F(0x0,(0x0,t[_0x4f9bf2(0x1ee)])(t[_0x4f9bf2(0xab)])),F(0x1,r[_0x4f9bf2(0xa4)])],Q);let $=class extends t['Plugin']{constructor(_0x4be3c4=p,_0x2cf1ec,_0x1601b8){const _0x52d6dc=_0x4f9bf2;super(),this[_0x52d6dc(0x137)]=_0x4be3c4,this['_injector']=_0x2cf1ec,this[_0x52d6dc(0x17b)]=_0x1601b8;let {..._0x3fcf8e}=(0x0,t[_0x52d6dc(0xc5)])({},p,this['_config']);this['_configService'][_0x52d6dc(0x19f)](f,_0x3fcf8e);}[_0x4f9bf2(0x88)](){const _0x4ded74=_0x4f9bf2;(0x0,t[_0x4ded74(0x13d)])(this['_injector'],[[Q],[K,{'useClass':q}],[W,{'useClass':G}],[L,{'useClass':R}],[v,{'useClass':y}]]);}['onReady'](){const _0x486601=_0x4f9bf2;(0x0,t[_0x486601(0xbf)])(this['_injector'],[[Q],[K]]);}};_($,_0x4f9bf2(0x12b),_0x4f9bf2(0x1d9)),_($,_0x4f9bf2(0x8f),m),_($,_0x4f9bf2(0x141),h),$=I([(0x0,t[_0x4f9bf2(0x167)])(n['UniverNetworkPlugin'],e[_0x4f9bf2(0xdd)]),F(0x1,(0x0,t[_0x4f9bf2(0x1ee)])(t[_0x4f9bf2(0xab)])),F(0x2,t[_0x4f9bf2(0x19d)])],$),exports[_0x4f9bf2(0x19b)]=f,Object[_0x4f9bf2(0x199)](exports,_0x4f9bf2(0xfd),{'enumerable':!0x0,'get':function(){return q;}}),Object[_0x4f9bf2(0x199)](exports,_0x4f9bf2(0xde),{'enumerable':!0x0,'get':function(){return G;}}),exports['IExchangeOperateService']=K,exports[_0x4f9bf2(0x10f)]=W,exports['IRequestService']=L,exports[_0x4f9bf2(0x1c8)]=v,Object['defineProperty'](exports,'RequestService',{'enumerable':!0x0,'get':function(){return R;}}),Object[_0x4f9bf2(0x199)](exports,_0x4f9bf2(0x119),{'enumerable':!0x0,'get':function(){return $;}}),exports[_0x4f9bf2(0x10e)]=Z,exports['UploadNotificationService']=y,exports[_0x4f9bf2(0xcd)]=ne,exports['downloadFile']=O,exports[_0x4f9bf2(0x108)]=k,exports[_0x4f9bf2(0x1ba)]=A,exports[_0x4f9bf2(0xc9)]=B,exports[_0x4f9bf2(0x1be)]=H,exports[_0x4f9bf2(0xeb)]=V,exports[_0x4f9bf2(0x80)]=z;
|
|
1
|
+
function _0x3fbc(){const _0x536d26=['_getUploadFileURL','_getMinSheetRowCount','exportXLSXBySnapshot','exportServerUrl','application/octet-stream','clsx','ShareRangeIcon','_buildHttpErrorMessage','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','call','taskID','some','Success','copyFileMeta','upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url','jsxs','href','univer-text-sm\x20univer-text-gray-500','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','univer-text-green-500','transformSnapshotToDocumentData','jsx','isArray','none','Tooltip','useObservable','univer-mx-0\x20univer-mb-3\x20univer-mt-4\x20univer-h-1.5\x20univer-w-[324px]\x20univer-rounded-lg\x20univer-bg-gray-200','HTTPResponseError','scrollbarClassName','pending','transformSnapshotToWorkbookData','version','_list$','touchDependencies','min','_buildProtocolErrorMessage','_messageService','getSheetBlock','url','docx','application/vnd.openxmlformats-officedocument.spreadsheetml.template','list$','_getIgnoreTableExport','application/vnd.openxmlformats-officedocument.wordprocessingml.document','IConfigService','_showDownloadMessage','encode','/universer-api/file/{fileID}/sign-url','import\x20error','saveSnapshot','6FEEORC','string','onStarting','_getLinkByUnitId','exchange-client.uploadSuccessTip','FileSource','packageName','IUniverInstanceService','_configService','default','/universer-api/exchange/task/{taskID}','LocaleService','iterator','_getDownloadEndpointURL','45783jayCAu','{type}','univer-pro.exchange-client.exchange.service','b64EncodeUnicode','CONTENT','get','EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY','Plugin','_taskInterrupted','values','createUnit','Info','getSnapshot','export','add','useState','Error','Inject','revokeObjectURL','workbook','span','resolveWithBasePath','_doneUploadTaskCount','_registerComponents','univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','headers','_getExportURL','Error\x20fetching\x20file\x20from\x20URL:','resolve','clearTaskInterrupted','exchange-client.downloadSuccess','exchange-client.unknownMistake','useDependency','getResourcesRequest','length','_getUnitID','trim','Disposable','catch','IExchangeService','maxTimeoutTime','_emitProgress','2701358fmBWoT','minSheetRowCount','origin','importDOCXToSnapshot','rev','CloseIcon','setTaskInterrupted','exchange-client.tooLarge','type','_exportBySnapshot','unshift','_sheetBlockCache','fetchMissingChangesets','transformDocumentDataToSnapshotJson','Method\x20not\x20implemented.','parse','_completeProgress','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','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','style','Failed\x20to\x20get\x20unitID\x20from\x20task','connectInjector','transformSnapshotJsonToDocumentData','HTTPService','_getImportURL','importWorkbookDataToUnitId','Get\x20outputType\x20error','UNIVER_SHEET','error','floor','disableCellImageConversion','FileId','uploadFileToUnitId','exchange-client.uploading','477460YUqiLz','getTask','complete','UniverNetworkPlugin','disposeWithMe','merge','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','_blank','_addTotalCount','upload\x20failed:\x20FileId\x20is\x20empty','saveChangeset','toStringTag','&source=','file','unitID','outputType','Failed\x20to\x20get\x20file\x20from\x20url','CONNECTOR_DATA_TOO_LARGE','_signUrl','xlsx','includes','status','Failed\x20to\x20get\x20fileID\x20from\x20task','minSheetColumnCount','link','change','state$','statusText','_clearProgress','filter','_exchangeService','univer-pl-2\x20univer-pr-4','input','exchange-client.networkError','_requestState$','post','download','_localeService','HttpImport','UNIVER_UNKNOWN','defineProperty','453273sBNvdY','416678TFItua','_refresh','_httpService','getConfig','_visible$','univer-pro.exchange-client.operate.service','Failed\x20to\x20get\x20text\x20from\x20url','exportDOCXByUnitId','application/json','textDecoder','signUrlServerUrl','getDeserializedSheetBlock','UPLOADING','Injector','ILogService','exchange-client.uploadAgain','_getUnitName','application/vnd.openxmlformats-officedocument.presentationml.presentation','setConfig','number','disposeUnit','createObjectURL','exchange-client.uploadSuccess','unit','useEffect','xlsm','_uploadTaskNotDone','updateState','799014KSsnFV','univer-mt-3\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-2\x20univer-pr-1','/universer-api/exchange/{type}/import','_importToSnapshot','updateSnapshot','exchange-client.cancel','_addDoneTask','_getSignURL','blockID','export\x20error','interrupt','_config','.json','shift','Warning','_showUploadMessage','deflateSync','subscribe','_showNetworkError','univer-text-red-500','_progress$','show','enableServerSideComputing','multiple','getTextFromUrl','upload\x20request\x20failed','SlideMultiIcon','?size=','xltx','UploadNotificationState','_upload','keys','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','b64DecodeUnicode','function','getCurrentUnitOfType','dispose','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','message','{fileID}','BehaviorSubject','snapshot','createElement','45tRoGED','_totalUploadTaskCount','name','prototype','removeChild','ignoreTableExport','done','_importFileToUnitId','requestState$','UNIVER_PROJECT','getUnitId','signUrl','20560PFGIdu','univer-pro.exchange-client.request.service','UNIVER_DOC','replace','ClockIcon','searchParams','exchange-client.interrupt','univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','_export','_getEnableServerSideComputing','workbook.json','match','accept','IMessageService','forEach','getOwnPropertyDescriptor','asObservable','upload','file.','univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','decode','_getUnitJson','stringify','originalMeta','currentTarget','UNRECOGNIZED','_getMinSheetColumnCount','has','univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden','ExchangeOperateService','appendChild','object','_injector','XlsxMultiIcon','UploadNotificationService','div','Failed\x20to\x20transform\x20snapshot\x20to\x20string','map','importDOCXToUnitId','ErrorCode','SUCCESS','import','sheets','toDisposable','display','getTaskServerUrl','jsonID','getUploadFile','DocMultiIcon','univer-h-6\x20univer-text-2xl','Subject','files','UploadNotificationContainer','ERROR','_requestService','_getDisableCellImageConversion','options','sheetBlocks','970JemQqg',':\x20HTTP\x20','exportXLSXByUnitId','getUnitOnRev','blob','ErrorIcon','location','univer-mt-5\x20univer-flex\x20univer-flex-col','_import','interruptImportTask','_getUnitIDDoc','unsubscribe','importXLSXToSnapshot','importXLSXToUnitId','MessageType','_getTaskURL','hide','IRequestService','exchange-client.wait','importFileToUnitId','sign\x20url\x20error','pptx','_getUnitDocJson','downloadEndpointUrl','symbol','Error\x20getting\x20file\x20name\x20from\x20URL:','data','transformWorkbookDataToSnapshot','registerComponent','_uploadNotificationService','IUIPartsService','code','body','Failed\x20to\x20get\x20taskID\x20from\x20import\x20response','doc','exchange-client.internalError','_extractErrorDetail','content-disposition','pushLink','progress$','set','toPrimitive','_list','univer-mb-3\x20univer-py-0\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','importServerUrl','button','_importTaskId','uploadFileServerUrl','decorate','exchange-client.config','_fileTypeError','1232JbUPiB','_uiPartsService','transformDocumentDataToSnapshot','toString','pathname','univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','createIdentifier','_state$','visible$','buffer','next','84wzkplR','join','pop','_getMaxPollingTime','append','_univerInstanceService','success','Failed\x20to\x20parse\x20json','0.25.0','transformSnapshotJsonToWorkbookData','getUniverInstanceTypeByFile','split','UniverInstanceType','pluginName','exportDOCXBySnapshot','univer-text-blue-500'];_0x3fbc=function(){return _0x536d26;};return _0x3fbc();}function _0x36cb(_0x9ec21e,_0x210aab){_0x9ec21e=_0x9ec21e-0xcf;const _0x3fbc90=_0x3fbc();let _0x36cb94=_0x3fbc90[_0x9ec21e];return _0x36cb94;}const _0x4c791d=_0x36cb;(function(_0x4edec8,_0x19119e){const _0xb5ff21=_0x36cb,_0x2593fc=_0x4edec8();while(!![]){try{const _0x19172d=parseInt(_0xb5ff21(0x11a))/0x1+parseInt(_0xb5ff21(0x227))/0x2*(parseInt(_0xb5ff21(0x119))/0x3)+parseInt(_0xb5ff21(0xf0))/0x4*(-parseInt(_0xb5ff21(0x161))/0x5)+parseInt(_0xb5ff21(0x136))/0x6+parseInt(_0xb5ff21(0x1da))/0x7*(-parseInt(_0xb5ff21(0x16d))/0x8)+parseInt(_0xb5ff21(0x235))/0x9*(-parseInt(_0xb5ff21(0x1a7))/0xa)+-parseInt(_0xb5ff21(0x25f))/0xb*(-parseInt(_0xb5ff21(0x1e5))/0xc);if(_0x19172d===_0x19119e)break;else _0x2593fc['push'](_0x2593fc['shift']());}catch(_0x5147ab){_0x2593fc['push'](_0x2593fc['shift']());}}}(_0x3fbc,0xab6aa),Object['defineProperty'](exports,Symbol[_0x4c791d(0xfb)],{'value':'Module'}));let e=require('@univerjs-pro/license'),t=require('@univerjs/core'),n=require('@univerjs/network'),r=require('@univerjs/ui'),i=require('@univerjs/icons'),a=require('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=_0x4c791d(0x1d8),p={};var m='@univerjs-pro/exchange-client',h=_0x4c791d(0x1ed);function g(_0x32eb7e){'@babel/helpers - typeof';const _0x14fb3e=_0x4c791d;return g=typeof Symbol==_0x14fb3e(0x158)&&typeof Symbol[_0x14fb3e(0x233)]=='symbol'?function(_0x42a8df){return typeof _0x42a8df;}:function(_0x4ed800){const _0x2bf96f=_0x14fb3e;return _0x4ed800&&typeof Symbol=='function'&&_0x4ed800['constructor']===Symbol&&_0x4ed800!==Symbol[_0x2bf96f(0x164)]?'symbol':typeof _0x4ed800;},g(_0x32eb7e);}function ee(_0x4c1fc1,_0x455c34){const _0x190ace=_0x4c791d;if(g(_0x4c1fc1)!='object'||!_0x4c1fc1)return _0x4c1fc1;var _0x563574=_0x4c1fc1[Symbol[_0x190ace(0x1d0)]];if(_0x563574!==void 0x0){var _0x15ae5d=_0x563574[_0x190ace(0x1fe)](_0x4c1fc1,_0x455c34||_0x190ace(0x230));if(g(_0x15ae5d)!=_0x190ace(0x18c))return _0x15ae5d;throw TypeError(_0x190ace(0x156));}return(_0x455c34===_0x190ace(0x228)?String:Number)(_0x4c1fc1);}function te(_0xf8455d){const _0x15410a=_0x4c791d;var _0x4a4da6=ee(_0xf8455d,'string');return g(_0x4a4da6)==_0x15410a(0x1bf)?_0x4a4da6:_0x4a4da6+'';}function _(_0x237ec7,_0x353c46,_0x3b40bb){return(_0x353c46=te(_0x353c46))in _0x237ec7?Object['defineProperty'](_0x237ec7,_0x353c46,{'value':_0x3b40bb,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x237ec7[_0x353c46]=_0x3b40bb,_0x237ec7;}let ne=function(_0x21a74d){const _0x22be8b=_0x4c791d;return _0x21a74d[_0x21a74d[_0x22be8b(0x126)]=0x0]='UPLOADING',_0x21a74d[_0x21a74d['SUCCESS']=0x1]=_0x22be8b(0x195),_0x21a74d[_0x21a74d[_0x22be8b(0x1a2)]=0x2]='ERROR',_0x21a74d;}({});const v=(0x0,t['createIdentifier'])('univer-pro.exchange-client.upload-notification.service');var y=class extends t['Disposable']{constructor(){const _0x5f3032=_0x4c791d;super(),_(this,_0x5f3032(0x11e),new o[(_0x5f3032(0x19f))]()),_(this,_0x5f3032(0x1e1),new o[(_0x5f3032(0x19f))]()),_(this,'_list$',new o[(_0x5f3032(0x19f))]()),_(this,'visible$',this[_0x5f3032(0x11e)][_0x5f3032(0x17d)]()),_(this,_0x5f3032(0x10a),this[_0x5f3032(0x1e1)][_0x5f3032(0x17d)]()),_(this,_0x5f3032(0x21e),this[_0x5f3032(0x215)][_0x5f3032(0x17d)]()),_(this,_0x5f3032(0x1d1),[]);}[_0x4c791d(0x15a)](){const _0x314ccf=_0x4c791d;super[_0x314ccf(0x15a)](),this[_0x314ccf(0x11e)]['complete'](),this[_0x314ccf(0x1e1)][_0x314ccf(0xf2)](),this[_0x314ccf(0x215)][_0x314ccf(0xf2)]();}['show'](){const _0x31a372=_0x4c791d;this[_0x31a372(0x11e)][_0x31a372(0x1e4)](!0x0);}[_0x4c791d(0x1b7)](){const _0x3113bf=_0x4c791d;this[_0x3113bf(0x11e)]['next'](!0x1);}[_0x4c791d(0x135)](_0x226120){const _0x293c07=_0x4c791d;this['_state$'][_0x293c07(0x1e4)](_0x226120);}['pushLink'](_0x5e3349){const _0x477fa7=_0x4c791d;this['_list'][_0x477fa7(0xd8)](_0x5e3349),this[_0x477fa7(0x215)][_0x477fa7(0x1e4)](this[_0x477fa7(0x1d1)]);}};function re(_0x388149){const _0x20f5a1=_0x4c791d;let {list:_0xafa1f1}=_0x388149;function _0x3cdf09(_0x234c1a){const _0x532bec=_0x36cb;switch(_0x234c1a){case 0x1:return(0x0,c[_0x532bec(0x20a)])(i[_0x532bec(0x19d)],{});case 0x2:return(0x0,c[_0x532bec(0x20a)])(i[_0x532bec(0x18e)],{});case 0x3:return(0x0,c[_0x532bec(0x20a)])(i[_0x532bec(0x150)],{});default:return null;}}return(0x0,c['jsx'])('div',{'className':(0x0,s['clsx'])(_0x20f5a1(0x189),s[_0x20f5a1(0x211)]),'children':(0x0,c[_0x20f5a1(0x20a)])('ul',{'className':'univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','children':_0xafa1f1[_0x20f5a1(0x192)]((_0x303107,_0x3bec97)=>(0x0,c[_0x20f5a1(0x20a)])('li',{'children':(0x0,c[_0x20f5a1(0x204)])('a',{'className':_0x20f5a1(0x15b),'href':_0x303107[_0x20f5a1(0x108)],'target':_0x20f5a1(0xf7),'rel':'noreferrer','children':[(0x0,c[_0x20f5a1(0x204)])(_0x20f5a1(0x249),{'className':_0x20f5a1(0x24d),'children':[(0x0,c[_0x20f5a1(0x20a)])(_0x20f5a1(0x249),{'className':'univer-flex\x20univer-h-5\x20univer-text-xl','children':_0x3cdf09(_0x303107[_0x20f5a1(0xd6)])}),(0x0,c[_0x20f5a1(0x20a)])(s[_0x20f5a1(0x20d)],{'showIfEllipsis':!0x0,'title':_0x303107[_0x20f5a1(0x163)],'asChild':!0x0,'children':(0x0,c[_0x20f5a1(0x20a)])('span',{'className':_0x20f5a1(0x174),'children':_0x303107['name']})})]}),(0x0,c[_0x20f5a1(0x20a)])('span',{'className':_0x20f5a1(0x207),'children':(0x0,c[_0x20f5a1(0x20a)])(i[_0x20f5a1(0x1fb)],{})})]})},_0x3bec97))})});}const b=_0x4c791d(0x220),x=_0x4c791d(0xe0),S='application/vnd.ms-excel.sheet.macroEnabled.12',C=_0x4c791d(0x21d),w=_0x4c791d(0x12b),T={[t['UniverInstanceType'][_0x4c791d(0x117)]]:[''],[t['UniverInstanceType']['UNIVER_DOC']]:[b],[t['UniverInstanceType'][_0x4c791d(0xe9)]]:[x,S,C],[t[_0x4c791d(0x1f1)]['UNIVER_SLIDE']]:[w],[t[_0x4c791d(0x1f1)][_0x4c791d(0x16a)]]:[''],[t[_0x4c791d(0x1f1)]['UNRECOGNIZED']]:['']},E={[b]:'docx',[x]:_0x4c791d(0x103),[S]:_0x4c791d(0x133),[C]:_0x4c791d(0x152),[w]:_0x4c791d(0x1bc)};function D(_0x222418,_0x112859,_0x582897){const _0x1ef9e5=_0x4c791d;let _0xbd3676=document[_0x1ef9e5(0x160)]('a');_0xbd3676['href']=_0x222418,_0xbd3676[_0x1ef9e5(0xe1)][_0x1ef9e5(0x199)]=_0x1ef9e5(0x20c),_0xbd3676[_0x1ef9e5(0x114)]=_0x112859+'.'+_0x582897,document[_0x1ef9e5(0x1c7)][_0x1ef9e5(0x18b)](_0xbd3676),_0xbd3676['click'](),document[_0x1ef9e5(0x1c7)][_0x1ef9e5(0x165)](_0xbd3676);}function O(_0x37252b,_0x409b79,_0x4f5427){const _0x5377d7=_0x4c791d;let _0x448d40=URL[_0x5377d7(0x12f)](_0x37252b);D(_0x448d40,_0x409b79,_0x4f5427),URL[_0x5377d7(0x247)](_0x448d40);}function k(_0x481a8d){const _0xad34c9=_0x4c791d;let _0x270a78=_0x481a8d['name']['split']('.')['pop']();if(!_0x270a78)return t[_0xad34c9(0x1f1)][_0xad34c9(0x117)];let _0x240b20=ie(),_0x40dfd0=t[_0xad34c9(0x1f1)][_0xad34c9(0x117)];return _0x240b20[_0xad34c9(0x200)](_0x329ad1=>ae(_0x270a78,_0x329ad1)?(_0x40dfd0=_0x329ad1,!0x0):!0x1),_0x40dfd0;}function ie(){const _0xe2d9f2=_0x4c791d;return Object[_0xe2d9f2(0x23e)](t[_0xe2d9f2(0x1f1)])[_0xe2d9f2(0x10d)](_0x36306c=>typeof _0x36306c=='number');}function ae(_0x33e529,_0x2fabce){const _0x2a635b=_0x4c791d;return T[_0x2fabce][_0x2a635b(0x192)](_0x2ce4cc=>(E[_0x2ce4cc]||'')['toLowerCase']())[_0x2a635b(0x104)](_0x33e529['toLowerCase']());}function A(_0x1d40b9,_0xd8554a=!0x1){const _0x1c069d=_0x4c791d;let _0x49c74e=_0x1d40b9[_0x1c069d(0x192)](_0x17091c=>T[_0x17091c])['join'](',');return new Promise((_0x592c72,_0x800f00)=>{const _0x5b2d5f=_0x1c069d;let _0x27702f=document[_0x5b2d5f(0x160)](_0x5b2d5f(0x110));_0x27702f['type']=_0x5b2d5f(0xfd),_0x27702f[_0x5b2d5f(0x179)]=_0x49c74e,_0x27702f[_0x5b2d5f(0x14d)]=_0xd8554a,_0x27702f['addEventListener'](_0x5b2d5f(0x109),_0x14a7fb=>{const _0x3b4784=_0x5b2d5f;let _0x29fefe=_0x14a7fb[_0x3b4784(0x185)];if(!_0x29fefe['files']||_0x29fefe[_0x3b4784(0x1a0)][_0x3b4784(0x257)]===0x0)throw _0x800f00(null),Error('No\x20file\x20selected');_0x592c72(_0x29fefe[_0x3b4784(0x1a0)]);}),_0x27702f['click']();});}async function j(_0x1a2462,_0x309130){const _0x3992a4=_0x4c791d;try{var _0x2520d0,_0x1b9015,_0x4c227f;let _0x5316e1=await _0x309130[_0x3992a4(0x23a)](_0x1a2462,{'responseType':_0x3992a4(0x1ab)}),_0x2a212a=_0x5316e1[_0x3992a4(0x1c7)],_0x5e51f9=(_0x2520d0=(_0x1b9015=_0x5316e1['headers'][_0x3992a4(0x23a)]('Content-Type'))==null?void 0x0:_0x1b9015[_0x3992a4(0x1e6)](',\x20'))==null?_0x3992a4(0x1f9):_0x2520d0,_0x4856b0=_0x3992a4(0x17f)+(E[_0x5e51f9]||_0x3992a4(0x103)),_0x162f33=(_0x4c227f=_0x5316e1[_0x3992a4(0x24e)][_0x3992a4(0x23a)](_0x3992a4(0x1cc)))==null?void 0x0:_0x4c227f[_0x3992a4(0x1e6)](',\x20');if(_0x162f33){let _0x2e0922=_0x162f33[_0x3992a4(0x178)](/filename=(.+)/);_0x2e0922&&_0x2e0922[0x1]&&(_0x4856b0=_0x2e0922[0x1]);}else _0x4856b0=M(_0x1a2462)||_0x4856b0;return new File([_0x2a212a],_0x4856b0,{'type':_0x5e51f9});}catch(_0x26fb43){console[_0x3992a4(0xea)](_0x3992a4(0x250),_0x26fb43);return;}}function M(_0x469279){const _0x16fe97=_0x4c791d;try{return new URL(_0x469279)[_0x16fe97(0x1de)]['split']('/')[_0x16fe97(0x1e7)]();}catch(_0x4cbbb1){console[_0x16fe97(0xea)](_0x16fe97(0x1c0),_0x4cbbb1);return;}}function N(_0x5a229a){const _0x26e247=_0x4c791d;let _0x27d9d0=new Blob([_0x5a229a[_0x26e247(0x1e3)]],{'type':_0x26e247(0x122)});return new File([_0x27d9d0],'file.json');}function P(_0x4fb95c,_0xf80c6d){const _0x101048=_0x4c791d;return _0x4fb95c[_0x101048(0x170)](_0x101048(0x236),_0xf80c6d);}function oe(_0x8ff3ad,_0x123f43){const _0x312b35=_0x4c791d;return _0x8ff3ad[_0x312b35(0x170)]('{taskID}',_0x123f43);}function se(_0x4175a4,_0x49cc71){const _0x5b9750=_0x4c791d;return _0x4175a4['replace'](_0x5b9750(0x15d),_0x49cc71);}function F(_0x3ad715,_0x24d892){return function(_0x1e89a7,_0x47dfe6){_0x24d892(_0x1e89a7,_0x47dfe6,_0x3ad715);};}function I(_0x471a09,_0x1e3a4f,_0x537f7b,_0x43ef17){const _0x3cadd6=_0x4c791d;var _0x3503b1=arguments[_0x3cadd6(0x257)],_0x5912be=_0x3503b1<0x3?_0x1e3a4f:_0x43ef17===null?_0x43ef17=Object[_0x3cadd6(0x17c)](_0x1e3a4f,_0x537f7b):_0x43ef17,_0x59dcb7;if(typeof Reflect==_0x3cadd6(0x18c)&&typeof Reflect[_0x3cadd6(0x1d7)]==_0x3cadd6(0x158))_0x5912be=Reflect[_0x3cadd6(0x1d7)](_0x471a09,_0x1e3a4f,_0x537f7b,_0x43ef17);else{for(var _0x28be26=_0x471a09[_0x3cadd6(0x257)]-0x1;_0x28be26>=0x0;_0x28be26--)(_0x59dcb7=_0x471a09[_0x28be26])&&(_0x5912be=(_0x3503b1<0x3?_0x59dcb7(_0x5912be):_0x3503b1>0x3?_0x59dcb7(_0x1e3a4f,_0x537f7b,_0x5912be):_0x59dcb7(_0x1e3a4f,_0x537f7b))||_0x5912be);}return _0x3503b1>0x3&&_0x5912be&&Object['defineProperty'](_0x1e3a4f,_0x537f7b,_0x5912be),_0x5912be;}const L=(0x0,t[_0x4c791d(0x1e0)])(_0x4c791d(0x16e));let R=class{constructor(_0x4eee81,_0x3a10c9){const _0x164751=_0x4c791d;this[_0x164751(0x22f)]=_0x4eee81,this['_httpService']=_0x3a10c9,_(this,_0x164751(0x23d),new Set());}['dispose'](){}[_0x4c791d(0xd4)](_0x505ddb){const _0x22a0c7=_0x4c791d;this['_taskInterrupted'][_0x22a0c7(0x243)](_0x505ddb);}[_0x4c791d(0x252)](){const _0x180760=_0x4c791d;this[_0x180760(0x23d)]['clear']();}async[_0x4c791d(0x17e)](_0x597f24,_0x2d01ab=0x0,_0xe47562=!0x1){const _0x33a1ba=_0x4c791d;if(typeof _0x597f24==_0x33a1ba(0x228)){let _0x27c7fe=await j(_0x597f24,this[_0x33a1ba(0x11c)]);if(!_0x27c7fe)throw Error(_0x33a1ba(0x203));_0x597f24=_0x27c7fe;}_0x2d01ab=_0x2d01ab||_0x597f24['size'];let _0xc52b19=new FormData();_0xc52b19[_0x33a1ba(0x1e9)](_0x33a1ba(0xfd),_0x597f24);try{let _0x5e9378=this[_0x33a1ba(0x1f5)]()+_0x33a1ba(0x151)+_0x2d01ab+_0x33a1ba(0xfc)+l[_0x33a1ba(0x22c)][_0x33a1ba(0x116)]+'&flate='+_0xe47562,_0x1a58da={'body':_0xc52b19},_0x12c6ca=(await this[_0x33a1ba(0x11c)][_0x33a1ba(0x113)](_0x5e9378,_0x1a58da))['body'];if(_0x12c6ca[_0x33a1ba(0xea)]&&_0x12c6ca['error'][_0x33a1ba(0x1c6)]!==l[_0x33a1ba(0x194)]['OK'])throw Error(this[_0x33a1ba(0x218)](_0x33a1ba(0x14f),_0x12c6ca[_0x33a1ba(0xea)]));return _0x12c6ca;}catch(_0x23ffb1){throw _0x23ffb1 instanceof Error?_0x23ffb1:Error(this[_0x33a1ba(0x1fc)]('upload\x20request\x20failed',_0x23ffb1));}}async['import'](_0x5d8cf0){const _0x467ae2=_0x4c791d;let {fileID:_0x33d194,type:_0x42d478,outputType:_0x3aadd0,minSheetColumnCount:_0x26f6fa,minSheetRowCount:_0x544453}=_0x5d8cf0;try{let _0x12955f=P(this[_0x467ae2(0xe6)](),''+_0x42d478),_0x239fac={'body':{'fileID':_0x33d194,'outputType':_0x3aadd0,'minSheetColumnCount':_0x26f6fa,'minSheetRowCount':_0x544453}},_0xc05b8f=(await this['_httpService']['post'](_0x12955f,_0x239fac))[_0x467ae2(0x1c7)];return _0xc05b8f['error']&&_0xc05b8f[_0x467ae2(0xea)][_0x467ae2(0x1c6)]!==l[_0x467ae2(0x194)]['OK']?void 0x0:_0xc05b8f;}catch{return;}}async[_0x4c791d(0x242)](_0x1ec88a){const _0x16c314=_0x4c791d;let {unitID:_0xd832f3,jsonID:_0x9a117f,type:_0x1ea946,sscSwitch:_0x732b97,useImageUrl:_0x5ce812,ignoreTableExport:_0x44e3cf}=_0x1ec88a;try{let _0x4ef788=P(this[_0x16c314(0x24f)](),''+_0x1ea946),_0x121561={'body':{'unitID':_0xd832f3,'jsonID':_0x9a117f,'type':_0x1ea946,'sscSwitch':_0x732b97,'useImageUrl':_0x5ce812,'ignoreTableExport':_0x44e3cf}},_0x500d9c=(await this[_0x16c314(0x11c)][_0x16c314(0x113)](_0x4ef788,_0x121561))[_0x16c314(0x1c7)];return _0x500d9c[_0x16c314(0xea)]&&_0x500d9c[_0x16c314(0xea)][_0x16c314(0x1c6)]!==l[_0x16c314(0x194)]['OK']?void 0x0:_0x500d9c;}catch{return;}}async[_0x4c791d(0xf1)](_0x12faeb){return new Promise((_0x3160a1,_0x4361ab)=>{const _0x1e93f4=_0x36cb;try{let _0x4ce1d4=0x0,_0xa25ca7=oe(this[_0x1e93f4(0x1b6)](),''+_0x12faeb),_0x247781=this[_0x1e93f4(0x1e8)](),_0x47ee04=async()=>{const _0x3c4cbb=_0x1e93f4;if(this[_0x3c4cbb(0x23d)][_0x3c4cbb(0x188)](_0x12faeb))return;let _0x24dd71=(await this['_httpService'][_0x3c4cbb(0x23a)](_0xa25ca7))['body'];if(_0x24dd71[_0x3c4cbb(0xea)]&&_0x24dd71['error']['code']===l['ErrorCode']['OK']){if(_0x24dd71['status']===_0x3c4cbb(0x167))_0x3160a1(_0x24dd71);else{if(_0x24dd71[_0x3c4cbb(0x105)]===_0x3c4cbb(0x212)){let _0x4e1092=0x3e8;if(_0x4ce1d4>=_0x247781){_0x4361ab(_0x24dd71);return;}else _0x4ce1d4>=0x7530&&(_0x4e1092=0x1388);_0x4ce1d4+=_0x4e1092,setTimeout(_0x47ee04,_0x4e1092);}else _0x4361ab(_0x24dd71);}}else _0x4361ab(_0x24dd71);};_0x47ee04();}catch(_0x455716){_0x4361ab(_0x455716 instanceof Error?_0x455716:Error(String(_0x455716)));}});}async['signUrl'](_0x3f1a6c){const _0x54aacc=_0x4c791d;try{let _0x11e6e4=se(this[_0x54aacc(0x13d)](),''+_0x3f1a6c);return(await this[_0x54aacc(0x11c)]['get'](_0x11e6e4))['body'];}catch{return;}}async[_0x4c791d(0x14e)](_0x4effe9){const _0x242243=_0x4c791d;try{return(await this[_0x242243(0x11c)]['get'](_0x4effe9,{'responseType':'text'}))[_0x242243(0x1c7)];}catch{return;}}[_0x4c791d(0x218)](_0xdcf9cc,_0x3a21ac){let _0xce611f=this['_extractErrorDetail'](_0x3a21ac);return _0xce611f?_0xdcf9cc+':\x20'+_0xce611f:_0xdcf9cc;}[_0x4c791d(0x1fc)](_0x3592dc,_0x58a9d1){const _0x346b6f=_0x4c791d;if(_0x58a9d1 instanceof n[_0x346b6f(0x210)]){let _0x273514=typeof _0x58a9d1[_0x346b6f(0x105)]==_0x346b6f(0x12d)?''+_0x58a9d1[_0x346b6f(0x105)]+(_0x58a9d1[_0x346b6f(0x10b)]?'\x20'+_0x58a9d1[_0x346b6f(0x10b)]:''):void 0x0,_0x36714c=this[_0x346b6f(0x1cb)](_0x58a9d1[_0x346b6f(0xea)]);return _0x273514&&_0x36714c?_0x3592dc+':\x20HTTP\x20'+_0x273514+'\x20-\x20'+_0x36714c:_0x273514?_0x3592dc+_0x346b6f(0x1a8)+_0x273514:_0x36714c?_0x3592dc+':\x20'+_0x36714c:_0x3592dc;}let _0x27cc19=this[_0x346b6f(0x1cb)](_0x58a9d1);return _0x27cc19?_0x3592dc+':\x20'+_0x27cc19:_0x3592dc;}[_0x4c791d(0x1cb)](_0x5ec5ef){const _0x330924=_0x4c791d;if(typeof _0x5ec5ef==_0x330924(0x228)){let _0x545bba=_0x5ec5ef['trim']();return _0x545bba[_0x330924(0x257)]>0x0?_0x545bba:void 0x0;}if(_0x5ec5ef instanceof Error)return this[_0x330924(0x1cb)](_0x5ec5ef[_0x330924(0x15c)]);if(!_0x5ec5ef||typeof _0x5ec5ef!=_0x330924(0x18c)||Array[_0x330924(0x20b)](_0x5ec5ef))return;let _0x452245=_0x5ec5ef,_0x16934d=this[_0x330924(0x1cb)](_0x452245[_0x330924(0x15c)]);if(_0x16934d)return _0x16934d;if(_0x452245[_0x330924(0xea)]&&typeof _0x452245['error']==_0x330924(0x18c)&&!Array[_0x330924(0x20b)](_0x452245[_0x330924(0xea)])){let _0x406d3e=this[_0x330924(0x1cb)](_0x452245['error']);if(_0x406d3e)return _0x406d3e;}}[_0x4c791d(0x1f5)](){const _0x1a28af=_0x4c791d;var _0x1b0659;let _0x1f6c14=this[_0x1a28af(0x22f)][_0x1a28af(0x11d)](f);return(_0x1b0659=_0x1f6c14==null?void 0x0:_0x1f6c14[_0x1a28af(0x1d6)])==null?'/universer-api/stream/file/upload':_0x1b0659;}[_0x4c791d(0xe6)](){const _0x213996=_0x4c791d;var _0x4a7a3b;let _0x38bfba=this['_configService'][_0x213996(0x11d)](f);return(_0x4a7a3b=_0x38bfba==null?void 0x0:_0x38bfba[_0x213996(0x1d3)])==null?_0x213996(0x138):_0x4a7a3b;}[_0x4c791d(0x24f)](){const _0xec9b08=_0x4c791d;var _0x32fa3e;let _0x336e8c=this[_0xec9b08(0x22f)]['getConfig'](f);return(_0x32fa3e=_0x336e8c==null?void 0x0:_0x336e8c[_0xec9b08(0x1f8)])==null?'/universer-api/exchange/{type}/export':_0x32fa3e;}[_0x4c791d(0x1b6)](){const _0x4362d8=_0x4c791d;var _0x1a999a;let _0x546393=this['_configService']['getConfig'](f);return(_0x1a999a=_0x546393==null?void 0x0:_0x546393[_0x4362d8(0x19a)])==null?_0x4362d8(0x231):_0x1a999a;}[_0x4c791d(0x13d)](){const _0x6c96b7=_0x4c791d;var _0x5c9bb0;let _0x18012e=this[_0x6c96b7(0x22f)][_0x6c96b7(0x11d)](f);return(_0x5c9bb0=_0x18012e==null?void 0x0:_0x18012e[_0x6c96b7(0x124)])==null?_0x6c96b7(0x224):_0x5c9bb0;}[_0x4c791d(0x1e8)](){const _0x21dde9=_0x4c791d;var _0x1ff7a9;let _0x5f020b=this[_0x21dde9(0x22f)][_0x21dde9(0x11d)](f);return(_0x1ff7a9=_0x5f020b==null?void 0x0:_0x5f020b[_0x21dde9(0x25d)])==null?0x1d4c0:_0x1ff7a9;}};R=I([F(0x0,t['IConfigService']),F(0x1,(0x0,t[_0x4c791d(0x246)])(n['HTTPService']))],R);function ce(_0x14f8f2){const _0x589043=_0x4c791d;let _0x1f4364=_0x14f8f2[_0x589043(0x248)];if(!_0x1f4364)return null;let _0x57d14d={};_0x1f4364[_0x589043(0x197)]&&Object[_0x589043(0x155)](_0x1f4364['sheets'])[_0x589043(0x17b)](_0x2a06c5=>{const _0x35c611=_0x589043;let _0x3b6913=_0x1f4364[_0x35c611(0x197)][_0x2a06c5];_0x57d14d[_0x2a06c5]={..._0x3b6913,'originalMeta':(0x0,u[_0x35c611(0x238)])(u[_0x35c611(0x123)][_0x35c611(0x181)](_0x3b6913['originalMeta']))};});let _0x22d0eb=(0x0,u[_0x589043(0x238)])(u[_0x589043(0x123)][_0x589043(0x181)](_0x1f4364['originalMeta']));return{..._0x14f8f2,'workbook':{..._0x1f4364,'originalMeta':_0x22d0eb,'sheets':_0x57d14d},'doc':{}};}function le(_0x1427ea){const _0x5e519b=_0x4c791d;let _0x3054ba=_0x1427ea[_0x5e519b(0x1c9)];if(!_0x3054ba)return null;let _0x50639a=(0x0,u[_0x5e519b(0x238)])(u[_0x5e519b(0x123)][_0x5e519b(0x181)](_0x3054ba[_0x5e519b(0x184)]));return{..._0x1427ea,'workbook':{},'doc':{..._0x3054ba,'originalMeta':_0x50639a}};}function ue(_0x234605){const _0x34f4bd=_0x4c791d;let _0x198960={};return _0x234605[_0x34f4bd(0x17b)](_0x48776b=>{const _0x5dd725=_0x34f4bd;_0x198960[_0x48776b['id']]={..._0x48776b,'data':(0x0,u['b64EncodeUnicode'])(u[_0x5dd725(0x123)][_0x5dd725(0x181)](_0x48776b['data']))};}),_0x198960;}async function z(_0x3f4927){const _0x45c825=_0x4c791d;var _0x4bd413;let _0x35eba={'metadata':void 0x0},_0x19e56b=_0x3f4927['id'],_0x265eeb=(_0x4bd413=_0x3f4927['rev'])==null?0x0:_0x4bd413,_0x462f5c=new U(),{snapshot:_0x560eba}=await(0x0,u[_0x45c825(0x1c2)])(_0x35eba,_0x3f4927,_0x19e56b,_0x265eeb,_0x462f5c),_0x3c2d2a=await(0x0,u['getSheetBlocksFromSnapshot'])(_0x560eba,_0x462f5c),_0x2458b4=ce(_0x560eba);if(!_0x2458b4)throw Error(_0x45c825(0x191));return{'snapshot':_0x2458b4,'sheetBlocks':ue(_0x3c2d2a)};}async function B(_0x17ecd2){const _0x4b69a0=_0x4c791d;var _0x147eb2;let _0x3d9341={'metadata':void 0x0},_0x9497e3=_0x17ecd2['id'],{snapshot:_0x456840}=await(0x0,u[_0x4b69a0(0x1dc)])(_0x3d9341,_0x17ecd2,_0x9497e3,(_0x147eb2=_0x17ecd2[_0x4b69a0(0xd2)])==null?0x0:_0x147eb2,new U()),_0x2fe196=le(_0x456840);if(!_0x2fe196)throw Error(_0x4b69a0(0x191));return{'snapshot':_0x2fe196,'sheetBlocks':{}};}async function V(_0x509f12){const _0x4af2dd=_0x4c791d;let _0x106569=_0x509f12[_0x4af2dd(0x15f)],_0x30b253=_0x509f12[_0x4af2dd(0x1a6)]||{};return await(0x0,u[_0x4af2dd(0x213)])(_0x106569,Object[_0x4af2dd(0x155)](_0x30b253)['map'](_0x851102=>_0x30b253[_0x851102])['map'](_0x4f9f88=>({..._0x4f9f88,'data':_0x4f9f88[_0x4af2dd(0x1c1)]?JSON[_0x4af2dd(0xdd)]((0x0,u[_0x4af2dd(0x157)])(_0x4f9f88[_0x4af2dd(0x1c1)])):void 0x0})));}function H(_0x5273bb){const _0x42cfb9=_0x4c791d;let _0x3607b1=_0x5273bb[_0x42cfb9(0x15f)];return(0x0,u[_0x42cfb9(0x209)])(_0x3607b1);}var U=class{constructor(){const _0x274d95=_0x4c791d;_(this,_0x274d95(0xd9),new Map());}[_0x4c791d(0x1aa)](){const _0x38c6ef=_0x4c791d;return Promise[_0x38c6ef(0x251)]({'snapshot':{'unitID':'','type':t[_0x38c6ef(0x1f1)][_0x38c6ef(0xe9)],'rev':0x0,'workbook':void 0x0,'doc':void 0x0},'changesets':[],'error':{'code':l[_0x38c6ef(0x194)]['OK'],'message':''}});}[_0x4c791d(0x21a)](_0x59f4c6,_0x21d258){const _0x4beedc=_0x4c791d;let _0x354569=this['_sheetBlockCache']['get'](_0x21d258[_0x4beedc(0x13e)]);return Promise[_0x4beedc(0x251)]({'block':_0x354569,'error':{'code':l[_0x4beedc(0x194)]['OK'],'message':''}});}[_0x4c791d(0x125)](_0x4ab056,_0x3629f0){const _0x1b481e=_0x4c791d;let _0xde2057=this[_0x1b481e(0xd9)][_0x1b481e(0x23a)](_0x3629f0[_0x1b481e(0x13e)]);return Promise[_0x1b481e(0x251)]({'block':_0xde2057===void 0x0?void 0x0:{..._0xde2057,'data':JSON[_0x1b481e(0xdd)](u['textDecoder']['decode'](_0xde2057[_0x1b481e(0x1c1)]))},'error':{'code':l['ErrorCode']['OK'],'message':''}});}[_0x4c791d(0xda)](){const _0x3a059f=_0x4c791d;return Promise[_0x3a059f(0x251)]({'changesets':[],'error':{'code':l[_0x3a059f(0x194)]['OK'],'message':''}});}[_0x4c791d(0x256)](){const _0x19c859=_0x4c791d;return Promise['resolve']({'resources':{},'error':{'code':l[_0x19c859(0x194)]['OK'],'message':''}});}[_0x4c791d(0x226)](){const _0x317fcd=_0x4c791d;return Promise[_0x317fcd(0x251)]({'error':{'code':l[_0x317fcd(0x194)]['OK'],'message':''}});}[_0x4c791d(0x13a)](){const _0x3cf5ee=_0x4c791d;return Promise['resolve']({'error':{'code':l[_0x3cf5ee(0x194)]['OK'],'message':''}});}['saveSheetBlock'](_0x383043,_0x1b7c11){const _0x28b0f9=_0x4c791d;let {block:_0x2b4335}=_0x1b7c11;return _0x2b4335?(this[_0x28b0f9(0xd9)][_0x28b0f9(0x1cf)](_0x2b4335['id'],_0x2b4335),Promise[_0x28b0f9(0x251)]({'error':{'code':l[_0x28b0f9(0x194)]['OK'],'message':''},'blockID':_0x2b4335['id']})):Promise['resolve']({'error':{'code':l[_0x28b0f9(0x194)]['UNDEFINED'],'message':'block\x20is\x20required'},'blockID':''});}[_0x4c791d(0xfa)](){const _0x1cab67=_0x4c791d;return Promise[_0x1cab67(0x251)]({'error':{'code':l['ErrorCode']['OK'],'message':''},'concurrent':[]});}[_0x4c791d(0x202)](){const _0x20c594=_0x4c791d;return Promise[_0x20c594(0x251)]({'error':void 0x0,'fileMetaId':''});}['getLatestCsReqIdBySid'](){const _0x551045=_0x4c791d;return Promise[_0x551045(0x251)]({'error':void 0x0,'latestReqID':0x0});}};const W=(0x0,t[_0x4c791d(0x1e0)])(_0x4c791d(0x237));let G=class extends t[_0x4c791d(0x25a)]{constructor(_0x1a547e,_0x14c71c,_0x1cba9e){const _0x33b02e=_0x4c791d;super(),this[_0x33b02e(0x22f)]=_0x1a547e,this[_0x33b02e(0x11c)]=_0x14c71c,this[_0x33b02e(0x1a3)]=_0x1cba9e,_(this,_0x33b02e(0x1d5),null),_(this,_0x33b02e(0x112),new o['Subject']()),_(this,_0x33b02e(0x169),this[_0x33b02e(0x112)][_0x33b02e(0x17d)]());}[_0x4c791d(0x15a)](){const _0x3eee5c=_0x4c791d;super[_0x3eee5c(0x15a)](),this[_0x3eee5c(0x112)]['complete']();}async[_0x4c791d(0xd1)](_0x555c72){const _0x2f0201=_0x4c791d;let _0x1baeea=await this[_0x2f0201(0x139)](_0x555c72,t['UniverInstanceType'][_0x2f0201(0x16f)]);if(!_0x1baeea||!_0x1baeea[_0x2f0201(0x15f)])return;let _0x4dd810=H(_0x1baeea);if(_0x4dd810)return _0x4dd810;}async['exportDOCXByUnitId'](_0x27cb98){const _0x48027e=_0x4c791d;return this[_0x48027e(0x175)](_0x27cb98,0x1,t[_0x48027e(0x1f1)]['UNIVER_DOC']);}async[_0x4c791d(0x1f3)](_0x36a350){const _0x2acf65=_0x4c791d;let _0x1ae48c=await B(_0x36a350);return this[_0x2acf65(0xd7)](_0x1ae48c,t[_0x2acf65(0x1f1)][_0x2acf65(0x16f)]);}async[_0x4c791d(0x1b3)](_0x5ab060){const _0x17fabf=_0x4c791d;let _0xa0b451=await this[_0x17fabf(0x139)](_0x5ab060,t['UniverInstanceType']['UNIVER_SHEET']);if(!_0xa0b451)return;let _0x4f3342=await V(_0xa0b451);if(_0x4f3342)return _0x4f3342;}async[_0x4c791d(0x1a9)](_0x125a2d){return this['_export'](_0x125a2d,0x1,t['UniverInstanceType']['UNIVER_SHEET']);}async['exportXLSXBySnapshot'](_0x2618d9){const _0x477744=_0x4c791d;let _0x382300=await z(_0x2618d9);return this['_exportBySnapshot'](_0x382300,t[_0x477744(0x1f1)][_0x477744(0xe9)]);}async[_0x4c791d(0x1ba)](_0x2ae510,_0x178e2b){const _0x14a06b=_0x4c791d;var _0x1b17cf,_0x2950b9;let _0x1f4fde=await this[_0x14a06b(0x154)](_0x2ae510);if(!_0x1f4fde)return;let _0x3cba43=await this[_0x14a06b(0x1af)](_0x1f4fde,0x1,_0x178e2b);if(!_0x3cba43)return;this[_0x14a06b(0x1d5)]=_0x3cba43,this[_0x14a06b(0x1a3)]['clearTaskInterrupted']();let _0x2927b5=await this['_requestService']['getTask'](_0x3cba43)[_0x14a06b(0x25b)](_0x2fde17=>{const _0xd0eaa1=_0x14a06b;var _0x175181;let _0x15da77=_0x2fde17 instanceof Error?_0x2fde17[_0xd0eaa1(0x15c)]:(_0x175181=_0x2fde17[_0xd0eaa1(0xea)])==null?void 0x0:_0x175181[_0xd0eaa1(0x15c)];this[_0xd0eaa1(0x112)]['next']({'error':{'code':l[_0xd0eaa1(0x194)][_0xd0eaa1(0x186)],'message':_0x15da77||''},'state':0x3});});if(!_0x2927b5)return;let _0x4c535c=(_0x1b17cf=_0x2927b5[_0x14a06b(0x196)])==null?void 0x0:_0x1b17cf['outputType'],_0x22bbd8=((_0x2950b9=_0x2927b5['import'])==null?void 0x0:_0x2950b9[_0x14a06b(0xfe)])||'';if(_0x4c535c!==0x1){this[_0x14a06b(0x112)][_0x14a06b(0x1e4)]({'error':{'code':l[_0x14a06b(0x194)][_0x14a06b(0x186)],'message':_0x14a06b(0xe8)},'state':0x3});return;}if(_0x22bbd8[_0x14a06b(0x257)]===0x0){this[_0x14a06b(0x112)]['next']({'error':{'code':l[_0x14a06b(0x194)][_0x14a06b(0x186)],'message':_0x14a06b(0xe2)},'state':0x3});return;}return this[_0x14a06b(0x112)]['next']({'error':_0x2927b5[_0x14a06b(0xea)],'state':0x3}),_0x22bbd8;}async[_0x4c791d(0xe7)](_0x583b00){const _0x2a1fc5=_0x4c791d;let _0x2941c6=await z(_0x583b00),_0x57711a=typeof _0x583b00['id']==_0x2a1fc5(0x228)&&_0x583b00['id'][_0x2a1fc5(0x259)]()?_0x583b00['id'][_0x2a1fc5(0x259)]()+_0x2a1fc5(0x142):_0x2a1fc5(0x177),_0x37d15d=new File([JSON[_0x2a1fc5(0x183)](_0x2941c6)],_0x57711a,{'type':_0x2a1fc5(0x122)});return this['importFileToUnitId'](_0x37d15d,t[_0x2a1fc5(0x1f1)]['UNIVER_SHEET']);}[_0x4c791d(0x1b0)](){const _0x33e905=_0x4c791d;this[_0x33e905(0x1d5)]&&this[_0x33e905(0x1a3)][_0x33e905(0xd4)](this['_importTaskId']);}async[_0x4c791d(0x139)](_0x490ce9,_0x359901){const _0xd3b4fd=_0x4c791d;var _0xbf8fd7,_0x2ce668;let _0x13b760=await this[_0xd3b4fd(0x154)](_0x490ce9);if(!_0x13b760)return;let _0x4e029d=await this[_0xd3b4fd(0x1af)](_0x13b760,0x2,_0x359901);if(!_0x4e029d)return;this['_importTaskId']=_0x4e029d,this[_0xd3b4fd(0x1a3)][_0xd3b4fd(0x252)]();let _0x30e3d3=await this[_0xd3b4fd(0x1a3)][_0xd3b4fd(0xf1)](_0x4e029d)[_0xd3b4fd(0x25b)](_0x1baa18=>{const _0x54d18d=_0xd3b4fd;var _0x9951b4;let _0x62fa3a=_0x1baa18 instanceof Error?_0x1baa18[_0x54d18d(0x15c)]:(_0x9951b4=_0x1baa18['error'])==null?void 0x0:_0x9951b4[_0x54d18d(0x15c)];this[_0x54d18d(0x112)][_0x54d18d(0x1e4)]({'error':{'code':l['ErrorCode'][_0x54d18d(0x186)],'message':_0x62fa3a||''},'state':0x3});});if(!_0x30e3d3)return;let _0x18cb51=(_0xbf8fd7=_0x30e3d3[_0xd3b4fd(0x196)])==null?void 0x0:_0xbf8fd7[_0xd3b4fd(0xff)],_0x2358e6=((_0x2ce668=_0x30e3d3[_0xd3b4fd(0x196)])==null?void 0x0:_0x2ce668[_0xd3b4fd(0x19b)])||'';if(_0x18cb51!==0x2){this[_0xd3b4fd(0x112)]['next']({'error':{'code':l['ErrorCode'][_0xd3b4fd(0x186)],'message':_0xd3b4fd(0xe8)},'state':0x3});return;}if(_0x2358e6['length']===0x0){this[_0xd3b4fd(0x112)]['next']({'error':{'code':l[_0xd3b4fd(0x194)][_0xd3b4fd(0x186)],'message':'Failed\x20to\x20get\x20jsonID\x20from\x20task'},'state':0x3});return;}this[_0xd3b4fd(0x112)][_0xd3b4fd(0x1e4)]({'error':_0x30e3d3[_0xd3b4fd(0xea)],'state':0x3});let _0x25ead9=await this[_0xd3b4fd(0x102)](_0x2358e6);if(!_0x25ead9)return;let _0x3d4b72=await this[_0xd3b4fd(0x1a3)][_0xd3b4fd(0x14e)](_0x25ead9);if(!_0x3d4b72){this['_requestState$'][_0xd3b4fd(0x1e4)]({'error':{'code':l[_0xd3b4fd(0x194)]['UNRECOGNIZED'],'message':_0xd3b4fd(0x120)},'state':0x5});return;}try{let _0x5c5694=JSON[_0xd3b4fd(0xdd)](_0x3d4b72);return this[_0xd3b4fd(0x112)]['next']({'error':{'code':l[_0xd3b4fd(0x194)]['OK'],'message':_0xd3b4fd(0x1eb)},'state':0x5}),_0x5c5694;}catch{this[_0xd3b4fd(0x112)][_0xd3b4fd(0x1e4)]({'error':{'code':l[_0xd3b4fd(0x194)]['UNRECOGNIZED'],'message':_0xd3b4fd(0x1ec)},'state':0x5});}}async[_0x4c791d(0xd7)](_0x5da3c0,_0x1dce04){const _0x53ef87=_0x4c791d;let _0x2f80b7=JSON['stringify'](_0x5da3c0),_0x3f945a=u['textEncoder'][_0x53ef87(0x223)](_0x2f80b7),_0x3c7eb7=(0x0,d[_0x53ef87(0x146)])(_0x3f945a),_0x2430fc=_0x3f945a[_0x53ef87(0x257)],_0x64bb4=N(_0x3c7eb7),_0x56daca=await this[_0x53ef87(0x154)](_0x64bb4,_0x2430fc,!0x0);if(_0x56daca)return this[_0x53ef87(0x175)](_0x56daca,0x2,_0x1dce04);}async[_0x4c791d(0x175)](_0x2a9015,_0x175a68,_0x5b9ef5){const _0x15232e=_0x4c791d;var _0x33b07f;let _0x15651c=await this['_requestService'][_0x15232e(0x242)]({'unitID':_0x175a68===0x1?_0x2a9015:'','jsonID':_0x175a68===0x2?_0x2a9015:'','type':_0x5b9ef5,'sscSwitch':this[_0x15232e(0x176)](),'useImageUrl':this[_0x15232e(0x1a4)](),'ignoreTableExport':this[_0x15232e(0x21f)]()});if(!_0x15651c){this[_0x15232e(0x112)]['next']({'error':{'code':l[_0x15232e(0x194)][_0x15232e(0x186)],'message':_0x15232e(0x13f)},'state':0x2});return;}if(this[_0x15232e(0x112)][_0x15232e(0x1e4)]({'error':_0x15651c[_0x15232e(0xea)],'state':0x2}),_0x15651c[_0x15232e(0xea)]&&_0x15651c[_0x15232e(0xea)]['code']!==l[_0x15232e(0x194)]['OK'])return;let _0x373917=_0x15651c[_0x15232e(0x1ff)],_0x8ef7e=await this[_0x15232e(0x1a3)]['getTask'](_0x373917)['catch'](_0x56bff8=>{const _0x1cd8f7=_0x15232e;var _0x446a95;let _0x1cf5a5=_0x56bff8 instanceof Error?_0x56bff8['message']:(_0x446a95=_0x56bff8[_0x1cd8f7(0xea)])==null?void 0x0:_0x446a95[_0x1cd8f7(0x15c)];this[_0x1cd8f7(0x112)][_0x1cd8f7(0x1e4)]({'error':{'code':l[_0x1cd8f7(0x194)][_0x1cd8f7(0x186)],'message':_0x1cf5a5||''},'state':0x3});});if(!_0x8ef7e)return;let _0x8391a3=((_0x33b07f=_0x8ef7e[_0x15232e(0x242)])==null?void 0x0:_0x33b07f['fileID'])||'';if(_0x8391a3[_0x15232e(0x257)]===0x0){this[_0x15232e(0x112)]['next']({'error':{'code':l[_0x15232e(0x194)][_0x15232e(0x186)],'message':_0x15232e(0x106)},'state':0x3});return;}this['_requestState$'][_0x15232e(0x1e4)]({'error':_0x8ef7e[_0x15232e(0xea)],'state':0x3});let _0x26d1ee=await this[_0x15232e(0x102)](_0x8391a3);if(!_0x26d1ee)return;let _0x5c23b0=await j(_0x26d1ee,this[_0x15232e(0x11c)]);if(!_0x5c23b0){this[_0x15232e(0x112)][_0x15232e(0x1e4)]({'error':{'code':l[_0x15232e(0x194)]['UNRECOGNIZED'],'message':_0x15232e(0x100)},'state':0x6});return;}return this['_requestState$'][_0x15232e(0x1e4)]({'error':{'code':l[_0x15232e(0x194)]['OK'],'message':_0x15232e(0x1eb)},'state':0x6}),_0x5c23b0;}async[_0x4c791d(0x154)](_0x1b63cf,_0x3ca006,_0x397b2d){const _0xc03956=_0x4c791d;let _0x58e8ab;try{_0x58e8ab=await this[_0xc03956(0x1a3)][_0xc03956(0x17e)](_0x1b63cf,_0x3ca006,_0x397b2d);}catch(_0x667bb9){let _0x16dda3=_0x667bb9 instanceof Error?_0x667bb9[_0xc03956(0x15c)]:String(_0x667bb9);this[_0xc03956(0x112)][_0xc03956(0x1e4)]({'error':{'code':l['ErrorCode'][_0xc03956(0x186)],'message':_0x16dda3},'state':0x0});return;}if(!_0x58e8ab||typeof _0x58e8ab['FileId']!=_0xc03956(0x228)){this['_requestState$'][_0xc03956(0x1e4)]({'error':{'code':l[_0xc03956(0x194)][_0xc03956(0x186)],'message':'upload\x20failed:\x20missing\x20FileId\x20in\x20response'},'state':0x0});return;}let _0x42dcb0=_0x58e8ab[_0xc03956(0xed)];if(_0x42dcb0[_0xc03956(0x257)]===0x0){this[_0xc03956(0x112)][_0xc03956(0x1e4)]({'error':{'code':l[_0xc03956(0x194)]['UNRECOGNIZED'],'message':_0xc03956(0xf9)},'state':0x0});return;}return this[_0xc03956(0x112)]['next']({'error':{'code':l['ErrorCode']['OK'],'message':_0xc03956(0x1eb)},'state':0x0}),_0x42dcb0;}async['_import'](_0x254f3d,_0x5d78c6,_0x49cff3){const _0x4c93d6=_0x4c791d;let _0x57b2f6={'fileID':_0x254f3d,'type':_0x49cff3,'outputType':_0x5d78c6,'fileUrl':'','minSheetRowCount':this[_0x4c93d6(0x1f6)](),'minSheetColumnCount':this[_0x4c93d6(0x187)]()},_0x533dcb=await this[_0x4c93d6(0x1a3)][_0x4c93d6(0x196)](_0x57b2f6);if(!_0x533dcb){this[_0x4c93d6(0x112)][_0x4c93d6(0x1e4)]({'error':{'code':l[_0x4c93d6(0x194)][_0x4c93d6(0x186)],'message':_0x4c93d6(0x225)},'state':0x1});return;}if(_0x533dcb[_0x4c93d6(0xea)]&&_0x533dcb[_0x4c93d6(0xea)]['code']!==l[_0x4c93d6(0x194)]['OK']){this[_0x4c93d6(0x112)][_0x4c93d6(0x1e4)]({'error':_0x533dcb[_0x4c93d6(0xea)],'state':0x1});return;}let _0x25cb78=_0x533dcb[_0x4c93d6(0x1ff)];if(_0x25cb78['length']===0x0){this['_requestState$'][_0x4c93d6(0x1e4)]({'error':{'code':l['ErrorCode']['UNRECOGNIZED'],'message':_0x4c93d6(0x1c8)},'state':0x1});return;}return this['_requestState$']['next']({'error':_0x533dcb[_0x4c93d6(0xea)],'state':0x1}),_0x25cb78;}async['_signUrl'](_0xd8fa42){const _0x43e6f8=_0x4c791d;let _0x537da2=await this[_0x43e6f8(0x1a3)][_0x43e6f8(0x16c)](_0xd8fa42);if(!_0x537da2){this[_0x43e6f8(0x112)][_0x43e6f8(0x1e4)]({'error':{'code':l['ErrorCode'][_0x43e6f8(0x186)],'message':_0x43e6f8(0x1bb)},'state':0x4});return;}if(_0x537da2[_0x43e6f8(0xea)]&&_0x537da2['error']['code']!==l['ErrorCode']['OK']){this['_requestState$']['next']({'error':_0x537da2[_0x43e6f8(0xea)],'state':0x4});return;}let _0x103df0=(0x0,t[_0x43e6f8(0x24a)])(_0x537da2[_0x43e6f8(0x21b)],this[_0x43e6f8(0x234)]());if(_0x103df0[_0x43e6f8(0x257)]===0x0){this['_requestState$'][_0x43e6f8(0x1e4)]({'error':{'code':l['ErrorCode'][_0x43e6f8(0x186)],'message':_0x43e6f8(0x1bb)},'state':0x4});return;}return this['_requestState$'][_0x43e6f8(0x1e4)]({'error':_0x537da2[_0x43e6f8(0xea)],'state':0x4}),_0x103df0;}['_getDownloadEndpointURL'](){const _0x2cebe3=_0x4c791d;var _0x2d7033;let _0x18afbb=this[_0x2cebe3(0x22f)]['getConfig'](f);return(_0x2d7033=_0x18afbb==null?void 0x0:_0x18afbb[_0x2cebe3(0x1be)])==null?location[_0x2cebe3(0xd0)]:_0x2d7033;}[_0x4c791d(0x1f6)](){const _0x52ad04=_0x4c791d;var _0x3c3758,_0x3aaba0;let _0x32e32e=this[_0x52ad04(0x22f)][_0x52ad04(0x11d)](f);return(_0x3c3758=_0x32e32e==null||(_0x3aaba0=_0x32e32e['options'])==null?void 0x0:_0x3aaba0[_0x52ad04(0xcf)])==null?0x1:_0x3c3758;}[_0x4c791d(0x187)](){const _0xa522f4=_0x4c791d;var _0x46c3b7,_0x52ba55;let _0x406701=this[_0xa522f4(0x22f)][_0xa522f4(0x11d)](f);return(_0x46c3b7=_0x406701==null||(_0x52ba55=_0x406701[_0xa522f4(0x1a5)])==null?void 0x0:_0x52ba55[_0xa522f4(0x107)])==null?0x1:_0x46c3b7;}[_0x4c791d(0x176)](){const _0x25648e=_0x4c791d;var _0x5efc10,_0x56c008;let _0x123ec5=this[_0x25648e(0x22f)][_0x25648e(0x11d)](f);return(_0x5efc10=_0x123ec5==null||(_0x56c008=_0x123ec5[_0x25648e(0x1a5)])==null?void 0x0:_0x56c008[_0x25648e(0x14c)])==null?!0x1:_0x5efc10;}[_0x4c791d(0x1a4)](){const _0x258ab6=_0x4c791d;var _0x185dbe,_0x2f7159;let _0x3f9f33=this['_configService'][_0x258ab6(0x11d)](f);return(_0x185dbe=_0x3f9f33==null||(_0x2f7159=_0x3f9f33[_0x258ab6(0x1a5)])==null?void 0x0:_0x2f7159[_0x258ab6(0xec)])==null?!0x0:_0x185dbe;}[_0x4c791d(0x21f)](){const _0x1c3f27=_0x4c791d;var _0x306ef5,_0x49063b;let _0x2d90d1=this[_0x1c3f27(0x22f)]['getConfig'](f);return(_0x306ef5=_0x2d90d1==null||(_0x49063b=_0x2d90d1[_0x1c3f27(0x1a5)])==null?void 0x0:_0x49063b[_0x1c3f27(0x166)])==null?!0x1:_0x306ef5;}};G=I([F(0x0,t[_0x4c791d(0x221)]),F(0x1,(0x0,t[_0x4c791d(0x246)])(n[_0x4c791d(0xe5)])),F(0x2,(0x0,t[_0x4c791d(0x246)])(L))],G);const de={'done':0x0,'count':0x0},K=(0x0,t[_0x4c791d(0x1e0)])(_0x4c791d(0x11f));let q=class extends t[_0x4c791d(0x25a)]{constructor(_0x4bf67d,_0x3888ad,_0x235420,_0x51ee40,_0x53d229,_0x5ec17f){const _0x426a25=_0x4c791d;super(),this[_0x426a25(0x1ea)]=_0x4bf67d,this[_0x426a25(0x219)]=_0x3888ad,this[_0x426a25(0x115)]=_0x235420,this[_0x426a25(0x10e)]=_0x51ee40,this[_0x426a25(0x1c4)]=_0x53d229,this['_logService']=_0x5ec17f,_(this,_0x426a25(0x14a),new o[(_0x426a25(0x15e))](de)),_(this,_0x426a25(0x1ce),this['_progress$'][_0x426a25(0x17d)]()),_(this,_0x426a25(0x162),0x0),_(this,'_doneUploadTaskCount',0x0),this[_0x426a25(0xf4)]((0x0,t[_0x426a25(0x198)])(this[_0x426a25(0x10e)][_0x426a25(0x169)][_0x426a25(0x147)](_0x4b4947=>{const _0x320ac3=_0x426a25;var _0xa109f6;((_0xa109f6=_0x4b4947[_0x320ac3(0xea)])==null?void 0x0:_0xa109f6[_0x320ac3(0x1c6)])===l[_0x320ac3(0x194)]['OK']?this[_0x320ac3(0x13c)](0x1):this[_0x320ac3(0x148)](_0x4b4947[_0x320ac3(0xea)]);})));}[_0x4c791d(0x140)](){const _0x64a3c4=_0x4c791d;this[_0x64a3c4(0x10c)](),this['_uploadNotificationService'][_0x64a3c4(0x135)](0x2),this[_0x64a3c4(0x10e)][_0x64a3c4(0x1b0)]();}async[_0x4c791d(0xee)](_0x5395f6){const _0x2ed4db=_0x4c791d;throw Error(_0x2ed4db(0xdc));}async[_0x4c791d(0x193)](){const _0x4230b0=_0x4c791d;let _0x56d579=await A([t[_0x4230b0(0x1f1)][_0x4230b0(0x16f)]]);if(_0x56d579&&!this[_0x4230b0(0x1d9)](_0x56d579,t[_0x4230b0(0x1f1)]['UNIVER_DOC']))return this['_importFileToUnitId'](_0x56d579[0x0],t['UniverInstanceType'][_0x4230b0(0x16f)]);}[_0x4c791d(0xd1)](){const _0x22f285=_0x4c791d;throw Error(_0x22f285(0xdc));}async[_0x4c791d(0x121)](_0x2f240a,_0x3ad13f,_0x388de8){const _0x1d036d=_0x4c791d;this[_0x1d036d(0x222)](s[_0x1d036d(0x1b5)][_0x1d036d(0x240)]);let _0x1d6524=await this['_exchangeService']['exportDOCXByUnitId'](_0x2f240a||this[_0x1d036d(0x1b1)]());_0x1d6524&&(O(_0x1d6524,_0x3ad13f||this[_0x1d036d(0x12a)](_0x1d6524),_0x1d036d(0x21c)),this['_showDownloadMessage'](s[_0x1d036d(0x1b5)]['Success']));}async['exportDOCXBySnapshot'](){const _0xc44028=_0x4c791d;this['_showDownloadMessage'](s[_0xc44028(0x1b5)][_0xc44028(0x240)]);let _0x14ac65=await this[_0xc44028(0x1bd)](),_0x32ba14=await this[_0xc44028(0x10e)][_0xc44028(0x1f3)](_0x14ac65);_0x32ba14&&(O(_0x32ba14,this[_0xc44028(0x12a)](_0x32ba14),_0xc44028(0x21c)),this[_0xc44028(0x222)](s[_0xc44028(0x1b5)]['Success']));}async[_0x4c791d(0x1b4)](){const _0x885486=_0x4c791d;if(this[_0x885486(0x134)]()){this[_0x885486(0x219)][_0x885486(0x14b)]({'type':s[_0x885486(0x1b5)][_0x885486(0x144)],'content':this[_0x885486(0x115)]['t'](_0x885486(0xef))});return;}let _0x761cdd=await A([t[_0x885486(0x1f1)][_0x885486(0xe9)]]);if(_0x761cdd&&!this['_fileTypeError'](_0x761cdd,t[_0x885486(0x1f1)][_0x885486(0xe9)]))return this[_0x885486(0x168)](_0x761cdd[0x0],t[_0x885486(0x1f1)]['UNIVER_SHEET']);}async[_0x4c791d(0x1b3)](){const _0x57a613=_0x4c791d;if(this[_0x57a613(0x134)]()){this[_0x57a613(0x219)][_0x57a613(0x14b)]({'type':s[_0x57a613(0x1b5)]['Warning'],'content':this[_0x57a613(0x115)]['t'](_0x57a613(0xef))});return;}let _0x485ec6=await A([t[_0x57a613(0x1f1)][_0x57a613(0xe9)]]);if(!_0x485ec6)return;this[_0x57a613(0x145)](s[_0x57a613(0x1b5)][_0x57a613(0x240)]);let _0x172601=await this[_0x57a613(0x10e)][_0x57a613(0x1b3)](_0x485ec6[0x0]);_0x172601&&(this['_refresh'](_0x172601),this[_0x57a613(0x145)](s['MessageType']['Success']));}async[_0x4c791d(0x1a9)](_0x3bf11e,_0x27df9e,_0x3ed626){const _0x595684=_0x4c791d;this[_0x595684(0x222)](s[_0x595684(0x1b5)]['Info']);let _0x1122c4=await this[_0x595684(0x10e)][_0x595684(0x1a9)](_0x3bf11e||this[_0x595684(0x258)]());_0x1122c4&&(O(_0x1122c4,_0x27df9e||this[_0x595684(0x12a)](_0x1122c4),_0x595684(0x103)),this[_0x595684(0x222)](s[_0x595684(0x1b5)][_0x595684(0x201)]));}async[_0x4c791d(0x1f7)](){const _0x555805=_0x4c791d;this[_0x555805(0x222)](s['MessageType'][_0x555805(0x240)]);let _0x5ced0c=await this[_0x555805(0x182)](),_0x2a3b3c=await this[_0x555805(0x10e)][_0x555805(0x1f7)](_0x5ced0c);_0x2a3b3c&&(O(_0x2a3b3c,this[_0x555805(0x12a)](_0x2a3b3c),_0x555805(0x103)),this['_showDownloadMessage'](s['MessageType'][_0x555805(0x201)]));}['registerLink'](_0x59febf){const _0x41a492=_0x4c791d;this[_0x41a492(0x22a)]=_0x59febf;}async['_importFileToUnitId'](_0x12055c,_0x145cf0){const _0x5f4ef4=_0x4c791d;this[_0x5f4ef4(0x1c4)][_0x5f4ef4(0x14b)](),this['_uploadNotificationService'][_0x5f4ef4(0x135)](0x0),this['_addTotalCount'](0x4),this[_0x5f4ef4(0x13c)](0x1);let _0x28a59f=await this[_0x5f4ef4(0x10e)][_0x5f4ef4(0x1ba)](_0x12055c,_0x145cf0);if(!_0x28a59f){this['_clearProgress'](),this[_0x5f4ef4(0x1c4)]['updateState'](0x2);return;}let _0x29c7a7={'link':this['_getLinkByUnitId'](_0x28a59f,_0x145cf0),'name':_0x12055c[_0x5f4ef4(0x163)],'type':_0x145cf0};return this['_uploadNotificationService'][_0x5f4ef4(0x1cd)](_0x29c7a7),this['_completeProgress'](),this[_0x5f4ef4(0x1c4)][_0x5f4ef4(0x135)](0x1),_0x28a59f;}['_getUnitID'](){const _0x2c5bc7=_0x4c791d;return this['_univerInstanceService']['getCurrentUnitOfType'](t[_0x2c5bc7(0x1f1)][_0x2c5bc7(0xe9)])[_0x2c5bc7(0x16b)]();}[_0x4c791d(0x1b1)](){const _0x2786ac=_0x4c791d;return this[_0x2786ac(0x1ea)][_0x2786ac(0x159)](t['UniverInstanceType']['UNIVER_DOC'])['getUnitId']();}[_0x4c791d(0x12a)](_0x3ea4bc){const _0x174d67=_0x4c791d;var _0x147f9f;return((_0x147f9f=this[_0x174d67(0x1ea)]['getCurrentUnitOfType'](t[_0x174d67(0x1f1)][_0x174d67(0xe9)]))==null?void 0x0:_0x147f9f[_0x174d67(0x163)])||_0x3ea4bc[_0x174d67(0x163)][_0x174d67(0x1f0)]('.')[_0x174d67(0x143)]()||document['title'];}async['_getUnitJson'](){const _0x1b0156=_0x4c791d;return this[_0x1b0156(0x1ea)]['getCurrentUnitOfType'](t[_0x1b0156(0x1f1)]['UNIVER_SHEET'])[_0x1b0156(0x241)]();}async['_getUnitDocJson'](){const _0x5e5cad=_0x4c791d;return this[_0x5e5cad(0x1ea)]['getCurrentUnitOfType'](t['UniverInstanceType']['UNIVER_DOC'])[_0x5e5cad(0x241)]();}[_0x4c791d(0x22a)](_0x5015a7,_0xe71bda){const _0x115629=_0x4c791d;let _0x418106=new URL(window[_0x115629(0x1ad)][_0x115629(0x205)]);return _0x418106[_0x115629(0x172)]['set'](_0x115629(0x131),_0x5015a7),_0x418106[_0x115629(0x172)]['set'](_0x115629(0xd6),''+_0xe71bda),_0x418106[_0x115629(0x1dd)]();}[_0x4c791d(0x11b)](_0x335ed9){const _0x515889=_0x4c791d;let _0x327315=this[_0x515889(0x1ea)]['getCurrentUnitOfType'](t[_0x515889(0x1f1)][_0x515889(0xe9)])[_0x515889(0x16b)]();this[_0x515889(0x1ea)][_0x515889(0x12e)](_0x327315),this['_univerInstanceService'][_0x515889(0x23f)](t[_0x515889(0x1f1)][_0x515889(0xe9)],_0x335ed9);}[_0x4c791d(0x148)](_0x466e12){const _0x1114f6=_0x4c791d;if(_0x466e12){let {code:_0x59b107}=_0x466e12;switch(_0x59b107){case l['ErrorCode'][_0x1114f6(0x101)]:this[_0x1114f6(0x219)][_0x1114f6(0x14b)]({'type':s['MessageType'][_0x1114f6(0x245)],'content':this[_0x1114f6(0x115)]['t'](_0x1114f6(0xd5))});break;case l[_0x1114f6(0x194)]['INTERNAL_ERROR']:this[_0x1114f6(0x219)][_0x1114f6(0x14b)]({'type':s[_0x1114f6(0x1b5)][_0x1114f6(0x245)],'content':this[_0x1114f6(0x115)]['t'](_0x1114f6(0x1ca))});break;default:this[_0x1114f6(0x219)]['show']({'type':s[_0x1114f6(0x1b5)][_0x1114f6(0x245)],'content':this[_0x1114f6(0x115)]['t'](_0x1114f6(0x111))});break;}return null;}return this['_messageService'][_0x1114f6(0x14b)]({'type':s[_0x1114f6(0x1b5)]['Error'],'content':this[_0x1114f6(0x115)]['t'](_0x1114f6(0x111))}),null;}[_0x4c791d(0x222)](_0x21bd4e){const _0x293763=_0x4c791d;let _0x268cb9='';switch(_0x21bd4e){case s['MessageType'][_0x293763(0x201)]:_0x268cb9=this[_0x293763(0x115)]['t'](_0x293763(0x253));break;case s[_0x293763(0x1b5)][_0x293763(0x240)]:_0x268cb9=this[_0x293763(0x115)]['t']('exchange-client.downloading');break;default:break;}this[_0x293763(0x219)][_0x293763(0x14b)]({'type':_0x21bd4e,'content':_0x268cb9});}[_0x4c791d(0x145)](_0x2fda90){const _0x2427aa=_0x4c791d;let _0x4c87aa='';switch(_0x2fda90){case s[_0x2427aa(0x1b5)]['Success']:_0x4c87aa=this[_0x2427aa(0x115)]['t'](_0x2427aa(0x130));break;case s['MessageType'][_0x2427aa(0x240)]:_0x4c87aa=this[_0x2427aa(0x115)]['t'](_0x2427aa(0xef));break;default:break;}this[_0x2427aa(0x219)][_0x2427aa(0x14b)]({'type':_0x2fda90,'content':_0x4c87aa});}['_emitProgress'](){const _0x2c8200=_0x4c791d;this[_0x2c8200(0x14a)]['next']({'done':this['_doneUploadTaskCount'],'count':this[_0x2c8200(0x162)]});}[_0x4c791d(0xf8)](_0x377dd3){const _0x1f0a93=_0x4c791d;this[_0x1f0a93(0x162)]+=_0x377dd3,this['_emitProgress']();}[_0x4c791d(0x13c)](_0x332098){const _0x190fbf=_0x4c791d;this[_0x190fbf(0x24b)]+=_0x332098,this['_doneUploadTaskCount']=Math[_0x190fbf(0x217)](this[_0x190fbf(0x24b)],this[_0x190fbf(0x162)]),this[_0x190fbf(0x25e)]();}[_0x4c791d(0xde)](){const _0x23cbcf=_0x4c791d;this[_0x23cbcf(0x24b)]=this[_0x23cbcf(0x162)],this['_emitProgress']();}[_0x4c791d(0x10c)](){const _0x3603d0=_0x4c791d;this['_doneUploadTaskCount']=0x0,this[_0x3603d0(0x162)]=0x0,this[_0x3603d0(0x25e)]();}[_0x4c791d(0x1d9)](_0x4bd84e,_0x1260ee){const _0x22fe7c=_0x4c791d;let _0x2783cc=_0x4bd84e[0x0],_0x34a82a=_0x2783cc['name'];return k(_0x2783cc)===_0x1260ee?!0x1:(this['_messageService'][_0x22fe7c(0x14b)]({'type':s[_0x22fe7c(0x1b5)][_0x22fe7c(0x245)],'content':this[_0x22fe7c(0x115)]['t']('exchange-client.fileTypeError',_0x34a82a)}),!0x0);}['_uploadTaskNotDone'](){const _0x55ad2b=_0x4c791d;return this[_0x55ad2b(0x162)]!==0x0&&this[_0x55ad2b(0x24b)]!==this[_0x55ad2b(0x162)];}};q=I([F(0x0,(0x0,t[_0x4c791d(0x246)])(t[_0x4c791d(0x22e)])),F(0x1,r[_0x4c791d(0x17a)]),F(0x2,(0x0,t[_0x4c791d(0x246)])(t[_0x4c791d(0x232)])),F(0x3,(0x0,t[_0x4c791d(0x246)])(W)),F(0x4,(0x0,t[_0x4c791d(0x246)])(v)),F(0x5,t[_0x4c791d(0x128)])],q);function J(_0x2eaa7e){const _0x1830b1=_0x4c791d;let {onClick:_0x3c0e6d,children:_0x38dd40,className:_0xc4ad22}=_0x2eaa7e;return(0x0,c[_0x1830b1(0x20a)])(_0x1830b1(0x1d4),{'className':(0x0,s[_0x1830b1(0x1fa)])(_0x1830b1(0x1fd),_0xc4ad22),'type':_0x1830b1(0x1d4),'onClick':_0x3c0e6d,'children':_0x38dd40});}function Y(){const _0x386d9b=_0x4c791d;let _0x57afef=(0x0,r[_0x386d9b(0x255)])(K),_0x589abe=(0x0,r[_0x386d9b(0x255)])(t[_0x386d9b(0x232)]);function _0x3d5592(){const _0x29a11b=_0x386d9b;_0x57afef[_0x29a11b(0x1b4)]();}return(0x0,c[_0x386d9b(0x20a)])(J,{'onClick':_0x3d5592,'children':_0x589abe['t'](_0x386d9b(0x129))});}function X(){const _0x482b17=_0x4c791d;return(0x0,c[_0x482b17(0x204)])(_0x482b17(0x190),{'className':'univer-mt-5\x20univer-flex\x20univer-flex-col','children':[(0x0,c[_0x482b17(0x20a)])(_0x482b17(0x249),{'className':_0x482b17(0x1d2),'children':(0x0,r[_0x482b17(0x255)])(t[_0x482b17(0x232)])['t'](_0x482b17(0x173))}),(0x0,c[_0x482b17(0x20a)])(Y,{})]});}function fe(_0xf9d602){const _0x2d92a5=_0x4c791d;let {count:_0x41c54c}=_0xf9d602;return(0x0,c['jsxs'])(_0x2d92a5(0x190),{'className':_0x2d92a5(0x137),'children':[(0x0,c['jsx'])(_0x2d92a5(0x249),{'className':_0x2d92a5(0x206),'children':(0x0,r[_0x2d92a5(0x255)])(t[_0x2d92a5(0x232)])['t'](_0x2d92a5(0x22b),''+_0x41c54c)}),(0x0,c[_0x2d92a5(0x20a)])(Y,{})]});}function pe(){const _0x4a042c=_0x4c791d;let _0xd73d8d=(0x0,r[_0x4a042c(0x255)])(K),_0x25c571=(0x0,r[_0x4a042c(0x255)])(t[_0x4a042c(0x232)]);function _0x2aea43(){const _0x1b786e=_0x4a042c;_0xd73d8d[_0x1b786e(0x140)]();}return(0x0,c[_0x4a042c(0x20a)])(J,{'onClick':_0x2aea43,'children':_0x25c571['t'](_0x4a042c(0x13b))});}function me(){const _0x1400ba=_0x4c791d;let {count:_0x337095,done:_0x525366}=(0x0,r[_0x1400ba(0x20e)])((0x0,r['useDependency'])(K)['progress$']),[_0x3b71c0,_0x342b54]=(0x0,a[_0x1400ba(0x244)])(_0x337095>0x0?_0x525366/_0x337095:0x0);return(0x0,a[_0x1400ba(0x132)])(()=>{_0x342b54(_0x337095>0x0?_0x525366/_0x337095:0x0);},[_0x337095,_0x525366]),(0x0,c[_0x1400ba(0x20a)])(_0x1400ba(0x190),{'className':_0x1400ba(0x20f),'children':(0x0,c[_0x1400ba(0x20a)])(_0x1400ba(0x190),{'className':_0x1400ba(0x1df),'style':{'width':Math[_0x1400ba(0xeb)](_0x3b71c0*0x64)+'%'}})});}function he(){const _0x288c27=_0x4c791d;return(0x0,c[_0x288c27(0x204)])(_0x288c27(0x190),{'className':_0x288c27(0x1ae),'children':[(0x0,c[_0x288c27(0x20a)])(_0x288c27(0x249),{'className':_0x288c27(0x180),'children':(0x0,r['useDependency'])(t['LocaleService'])['t'](_0x288c27(0x1b9))}),(0x0,c['jsx'])(_0x288c27(0x190),{'className':_0x288c27(0x10f),'children':(0x0,c[_0x288c27(0x20a)])(me,{})}),(0x0,c['jsx'])(pe,{})]});}const ge={0x1:(0x0,c[_0x4c791d(0x20a)])(i['SuccessIcon'],{'className':_0x4c791d(0x208)}),0x0:(0x0,c['jsx'])(i[_0x4c791d(0x171)],{'className':_0x4c791d(0x1f4)}),0x2:(0x0,c[_0x4c791d(0x20a)])(i[_0x4c791d(0x1ac)],{'className':_0x4c791d(0x149)})};function _e(){const _0xe16661=_0x4c791d;let [_0x27f0a8,_0x151afd]=(0x0,a[_0xe16661(0x244)])(0x0),[_0x59655b,_0x3fd4a3]=(0x0,a[_0xe16661(0x244)])(!0x1),[_0x53cf5f,_0x2f6aee]=(0x0,a['useState'])([]),_0x113d04=(0x0,r['useDependency'])(v),_0x491b97=(0x0,r[_0xe16661(0x255)])(t[_0xe16661(0x232)]);(0x0,a[_0xe16661(0x132)])(()=>{const _0x82dd6d=_0xe16661;let _0x23924b=_0x113d04[_0x82dd6d(0x1e2)][_0x82dd6d(0x147)](_0x15012f=>{_0x3fd4a3(_0x15012f);}),_0x2da14a=_0x113d04[_0x82dd6d(0x21e)][_0x82dd6d(0x147)](_0x4daef9=>{_0x2f6aee(_0x4daef9);}),_0x2494be=_0x113d04[_0x82dd6d(0x10a)][_0x82dd6d(0x147)](_0x29b944=>{_0x151afd(_0x29b944);});return()=>{const _0x1fc767=_0x82dd6d;_0x23924b[_0x1fc767(0x1b2)](),_0x2da14a['unsubscribe'](),_0x2494be[_0x1fc767(0x1b2)]();};},[]);function _0x1ff8c7(){_0x3fd4a3(!0x1);}function _0x27b2e7(_0x3fc832){const _0x173b4a=_0xe16661;switch(_0x3fc832){case 0x1:return _0x491b97['t'](_0x173b4a(0x130));case 0x0:return _0x491b97['t'](_0x173b4a(0xef));case 0x2:return _0x491b97['t'](_0x173b4a(0x254));default:return'';}}return _0x59655b&&(0x0,c[_0xe16661(0x204)])(_0xe16661(0x190),{'className':_0xe16661(0xdf),'children':[(0x0,c['jsxs'])(_0xe16661(0x190),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2','children':[(0x0,c[_0xe16661(0x204)])(_0xe16661(0x249),{'className':'univer-flex','children':[(0x0,c[_0xe16661(0x20a)])(_0xe16661(0x249),{'className':_0xe16661(0x19e),'children':ge[_0x27f0a8]}),(0x0,c[_0xe16661(0x20a)])(_0xe16661(0x249),{'className':'univer-ml-1.5\x20univer-font-semibold\x20univer-leading-6\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0x27b2e7(_0x27f0a8)})]}),(0x0,c[_0xe16661(0x20a)])(_0xe16661(0x249),{'className':_0xe16661(0xf6),'onClick':_0x1ff8c7,'children':(0x0,c[_0xe16661(0x20a)])(i[_0xe16661(0xd3)],{})})]}),(0x0,c[_0xe16661(0x204)])(_0xe16661(0x190),{'children':[_0x27f0a8===0x0&&(0x0,c['jsx'])(he,{}),_0x27f0a8===0x2&&(0x0,c['jsx'])(X,{}),_0x53cf5f[_0xe16661(0x257)]>0x0&&(0x0,c[_0xe16661(0x20a)])(re,{'list':_0x53cf5f}),_0x27f0a8===0x1&&(0x0,c[_0xe16661(0x20a)])(fe,{'count':_0x53cf5f['length']})]})]});}function Z(){return(0x0,c['jsx'])(_e,{});}let Q=class extends t[_0x4c791d(0x25a)]{constructor(_0x3e3f18,_0x3e3dbd){const _0x34bb49=_0x4c791d;super(),this[_0x34bb49(0x18d)]=_0x3e3f18,this[_0x34bb49(0x1db)]=_0x3e3dbd,this[_0x34bb49(0x24c)]();}[_0x4c791d(0x24c)](){const _0x28884a=_0x4c791d;this[_0x28884a(0xf4)](this[_0x28884a(0x1db)][_0x28884a(0x1c3)](r['BuiltInUIPart'][_0x28884a(0x239)],()=>(0x0,r[_0x28884a(0xe3)])(Z,this[_0x28884a(0x18d)])));}};Q=I([F(0x0,(0x0,t[_0x4c791d(0x246)])(t[_0x4c791d(0x127)])),F(0x1,r[_0x4c791d(0x1c5)])],Q);let $=class extends t[_0x4c791d(0x23c)]{constructor(_0x4dadce=p,_0x5815b8,_0x351055){const _0x58ca04=_0x4c791d;super(),this[_0x58ca04(0x141)]=_0x4dadce,this[_0x58ca04(0x18d)]=_0x5815b8,this[_0x58ca04(0x22f)]=_0x351055;let {..._0x69d8a1}=(0x0,t[_0x58ca04(0xf5)])({},p,this[_0x58ca04(0x141)]);this[_0x58ca04(0x22f)][_0x58ca04(0x12c)](f,_0x69d8a1);}[_0x4c791d(0x229)](){const _0xd5410a=_0x4c791d;(0x0,t['registerDependencies'])(this[_0xd5410a(0x18d)],[[Q],[K,{'useClass':q}],[W,{'useClass':G}],[L,{'useClass':R}],[v,{'useClass':y}]]);}['onReady'](){const _0x5a3ca8=_0x4c791d;(0x0,t[_0x5a3ca8(0x216)])(this['_injector'],[[Q],[K]]);}};_($,_0x4c791d(0x1f2),'UNIVER_EXCHANGE_CLIENT_PLUGIN'),_($,_0x4c791d(0x22d),m),_($,_0x4c791d(0x214),h),$=I([(0x0,t['DependentOn'])(n[_0x4c791d(0xf3)],e['UniverLicensePlugin']),F(0x1,(0x0,t[_0x4c791d(0x246)])(t[_0x4c791d(0x127)])),F(0x2,t['IConfigService'])],$),exports[_0x4c791d(0x23b)]=f,Object[_0x4c791d(0x118)](exports,_0x4c791d(0x18a),{'enumerable':!0x0,'get':function(){return q;}}),Object['defineProperty'](exports,'ExchangeService',{'enumerable':!0x0,'get':function(){return G;}}),exports['IExchangeOperateService']=K,exports[_0x4c791d(0x25c)]=W,exports[_0x4c791d(0x1b8)]=L,exports['IUploadNotificationService']=v,Object['defineProperty'](exports,'RequestService',{'enumerable':!0x0,'get':function(){return R;}}),Object['defineProperty'](exports,'UniverExchangeClientPlugin',{'enumerable':!0x0,'get':function(){return $;}}),exports[_0x4c791d(0x1a1)]=Z,exports[_0x4c791d(0x18f)]=y,exports[_0x4c791d(0x153)]=ne,exports['downloadFile']=O,exports[_0x4c791d(0x1ef)]=k,exports[_0x4c791d(0x19c)]=A,exports[_0x4c791d(0xdb)]=B,exports[_0x4c791d(0xe4)]=H,exports[_0x4c791d(0x1ee)]=V,exports['transformWorkbookDataToSnapshotJson']=z;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function _0x69b4(){const _0x7ed198=['تم\x20التحميل\x20بنجاح','52kLAVKq','2753019GJKQQv','464715tGUKwm','إعادة\x20الرفع','5FpWtln','4906088LtHLGU','2QaRbAv','نوع\x20الملف\x20المحدد\x20[{0}]\x20غير\x20مدعوم\x20للرفع','3008229BUghsk','يرجى\x20الانتظار...','جارٍ\x20الرفع','104343wEsbBD','خطأ\x20في\x20الشبكة','10CCQiJW','تمت\x20مقاطعة\x20الاتصال\x20بالشبكة\x20وفشل\x20رفع\x20الملف','3710634MKIIJz','إلغاء','البيانات\x20كبيرة\x20جداً','exports','879637XElknJ','خطأ\x20غير\x20معروف'];_0x69b4=function(){return _0x7ed198;};return _0x69b4();}const _0x369edb=_0x54ce;(function(_0x410e36,_0x4ff50d){const _0xf88736=_0x54ce,_0x1ae8b4=_0x410e36();while(!![]){try{const _0x2f0b05=parseInt(_0xf88736(0x161))/0x1*(parseInt(_0xf88736(0x165))/0x2)+parseInt(_0xf88736(0x16a))/0x3*(parseInt(_0xf88736(0x15f))/0x4)+-parseInt(_0xf88736(0x163))/0x5*(parseInt(_0xf88736(0x16e))/0x6)+parseInt(_0xf88736(0x167))/0x7+-parseInt(_0xf88736(0x164))/0x8+parseInt(_0xf88736(0x160))/0x9+parseInt(_0xf88736(0x16c))/0xa*(-parseInt(_0xf88736(0x15c))/0xb);if(_0x2f0b05===_0x4ff50d)break;else _0x1ae8b4['push'](_0x1ae8b4['shift']());}catch(_0x4227f1){_0x1ae8b4['push'](_0x1ae8b4['shift']());}}}(_0x69b4,0x53367));function _0x54ce(_0x3d0f96,_0x5d2632){_0x3d0f96=_0x3d0f96-0x15c;const _0x69b49b=_0x69b4();let _0x54ce56=_0x69b49b[_0x3d0f96];return _0x54ce56;}const e={'exchange-client':{'uploading':_0x369edb(0x169),'uploadSuccess':'تم\x20رفع\x20الملف\x20بنجاح','uploadSuccessTip':'تم\x20رفع\x20{0}\x20ملف/ملفات\x20بنجاح','downloading':'جارٍ\x20التحميل','downloadSuccess':_0x369edb(0x15e),'unknownMistake':_0x369edb(0x15d),'networkError':_0x369edb(0x16b),'tooLarge':_0x369edb(0x170),'internalError':'خطأ\x20داخلي\x20غير\x20معروف','interrupt':_0x369edb(0x16d),'fileTypeError':_0x369edb(0x166),'wait':_0x369edb(0x168),'cancel':_0x369edb(0x16f),'uploadAgain':_0x369edb(0x162)}};module[_0x369edb(0x171)]=e;
|
package/lib/cjs/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x23e3bf=_0x55b7;(function(_0x57710b,_0x515a47){const _0x106f0c=_0x55b7,_0x4f3c9d=_0x57710b();while(!![]){try{const _0x18a742=-parseInt(_0x106f0c(0x7d))/0x1*(-parseInt(_0x106f0c(0x75))/0x2)+-parseInt(_0x106f0c(0x83))/0x3*(parseInt(_0x106f0c(0x71))/0x4)+-parseInt(_0x106f0c(0x7e))/0x5*(-parseInt(_0x106f0c(0x86))/0x6)+-parseInt(_0x106f0c(0x7c))/0x7+-parseInt(_0x106f0c(0x87))/0x8*(parseInt(_0x106f0c(0x79))/0x9)+-parseInt(_0x106f0c(0x7a))/0xa+parseInt(_0x106f0c(0x77))/0xb*(parseInt(_0x106f0c(0x7b))/0xc);if(_0x18a742===_0x515a47)break;else _0x4f3c9d['push'](_0x4f3c9d['shift']());}catch(_0x288b78){_0x4f3c9d['push'](_0x4f3c9d['shift']());}}}(_0x37f4,0x5fd44));function _0x55b7(_0x1685a3,_0x8c1c64){_0x1685a3=_0x1685a3-0x71;const _0x37f499=_0x37f4();let _0x55b744=_0x37f499[_0x1685a3];return _0x55b744;}const e={'exchange-client':{'uploading':_0x23e3bf(0x80),'uploadSuccess':_0x23e3bf(0x76),'uploadSuccessTip':'{0}\x20fitxer(s)\x20pujat(s)\x20correctament','downloading':'Descarregant','downloadSuccess':_0x23e3bf(0x85),'unknownMistake':_0x23e3bf(0x78),'networkError':'Error\x20de\x20xarxa','tooLarge':_0x23e3bf(0x81),'internalError':_0x23e3bf(0x82),'interrupt':_0x23e3bf(0x73),'fileTypeError':'El\x20fitxer\x20seleccionat\x20[{0}]\x20no\x20és\x20compatible\x20per\x20pujar','wait':_0x23e3bf(0x84),'cancel':_0x23e3bf(0x74),'uploadAgain':_0x23e3bf(0x7f)}};function _0x37f4(){const _0x266f99=['3163BdFzoU','865CFfWkM','Tornar\x20a\x20pujar','Pujant','Les\x20dades\x20són\x20massa\x20grans','Error\x20intern\x20desconegut','6mmNiXA','Espereu...','Descàrrega\x20correcta','7740yGslKQ','46248DaJxch','319628ZrAVEj','exports','La\x20connexió\x20de\x20xarxa\x20s\x27ha\x20interromput\x20i\x20la\x20pujada\x20del\x20fitxer\x20ha\x20fallat','Cancel·lar','436rtEOYp','Fitxer\x20pujat\x20correctament','18106ZHjmHq','Error\x20desconegut','369cROpRu','6526510waFHOr','7068jbhibH','3081372rOucNz'];_0x37f4=function(){return _0x266f99;};return _0x37f4();}module[_0x23e3bf(0x72)]=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0x4f8f97=_0x1d84;function _0x5392(){const _0x17121a=['Abbrechen','766665hAFKiU','2060624gWNAMQ','Unbekannter\x20Fehler','3JpzOTZ','451606QCuywK','Die\x20ausgewählte\x20Datei\x20[{0}]\x20wird\x20für\x20den\x20Upload\x20nicht\x20unterstützt','Datei\x20erfolgreich\x20hochgeladen','258392VeNxUo','Die\x20Netzwerkverbindung\x20wurde\x20unterbrochen\x20und\x20der\x20Datei-Upload\x20ist\x20fehlgeschlagen','Erneut\x20hochladen','{0}\x20Datei(en)\x20erfolgreich\x20hochgeladen','1699600lVYwkX','337379CgQWPW','54LEnuDq','Daten\x20sind\x20zu\x20groß','Netzwerkfehler','Wird\x20hochgeladen','35020bxFHvY','exports','Bitte\x20warten...','Wird\x20heruntergeladen','Download\x20erfolgreich'];_0x5392=function(){return _0x17121a;};return _0x5392();}function _0x1d84(_0x5a1b4d,_0x5369ad){_0x5a1b4d=_0x5a1b4d-0x11e;const _0x539207=_0x5392();let _0x1d84e7=_0x539207[_0x5a1b4d];return _0x1d84e7;}(function(_0x4468bb,_0x312fb0){const _0x31a34d=_0x1d84,_0x466385=_0x4468bb();while(!![]){try{const _0x4a35c9=-parseInt(_0x31a34d(0x134))/0x1+parseInt(_0x31a34d(0x131))/0x2+-parseInt(_0x31a34d(0x130))/0x3*(-parseInt(_0x31a34d(0x127))/0x4)+parseInt(_0x31a34d(0x121))/0x5+-parseInt(_0x31a34d(0x123))/0x6*(-parseInt(_0x31a34d(0x122))/0x7)+-parseInt(_0x31a34d(0x12e))/0x8+-parseInt(_0x31a34d(0x12d))/0x9;if(_0x4a35c9===_0x312fb0)break;else _0x466385['push'](_0x466385['shift']());}catch(_0x355ff8){_0x466385['push'](_0x466385['shift']());}}}(_0x5392,0x63638));const e={'exchange-client':{'uploading':_0x4f8f97(0x126),'uploadSuccess':_0x4f8f97(0x133),'uploadSuccessTip':_0x4f8f97(0x120),'downloading':_0x4f8f97(0x12a),'downloadSuccess':_0x4f8f97(0x12b),'unknownMistake':_0x4f8f97(0x12f),'networkError':_0x4f8f97(0x125),'tooLarge':_0x4f8f97(0x124),'internalError':'Interner\x20unbekannter\x20Fehler','interrupt':_0x4f8f97(0x11e),'fileTypeError':_0x4f8f97(0x132),'wait':_0x4f8f97(0x129),'cancel':_0x4f8f97(0x12c),'uploadAgain':_0x4f8f97(0x11f)}};module[_0x4f8f97(0x128)]=e;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x8250a=_0x1c3c;(function(_0x59420b,_0x100bb3){const _0x41169f=_0x1c3c,_0x1ee77d=_0x59420b();while(!![]){try{const _0x984ae5=-parseInt(_0x41169f(0x202))/0x1*(-parseInt(_0x41169f(0x1f9))/0x2)+parseInt(_0x41169f(0x1f6))/0x3*(-parseInt(_0x41169f(0x204))/0x4)+parseInt(_0x41169f(0x1f7))/0x5*(-parseInt(_0x41169f(0x1f4))/0x6)+parseInt(_0x41169f(0x1ff))/0x7*(-parseInt(_0x41169f(0x1fc))/0x8)+-parseInt(_0x41169f(0x200))/0x9*(parseInt(_0x41169f(0x1fb))/0xa)+-parseInt(_0x41169f(0x1f8))/0xb+parseInt(_0x41169f(0x1fa))/0xc;if(_0x984ae5===_0x100bb3)break;else _0x1ee77d['push'](_0x1ee77d['shift']());}catch(_0x3f49bd){_0x1ee77d['push'](_0x1ee77d['shift']());}}}(_0x2547,0x6cf84));const e={'exchange-client':{'uploading':'Uploading','uploadSuccess':_0x8250a(0x1f3),'uploadSuccessTip':_0x8250a(0x201),'downloading':_0x8250a(0x1f5),'downloadSuccess':_0x8250a(0x207),'unknownMistake':_0x8250a(0x1fe),'networkError':_0x8250a(0x208),'tooLarge':_0x8250a(0x205),'internalError':_0x8250a(0x209),'interrupt':_0x8250a(0x203),'fileTypeError':'Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','wait':_0x8250a(0x1fd),'cancel':_0x8250a(0x206),'uploadAgain':'Upload\x20again'}};module['exports']=e;function _0x1c3c(_0xa1358,_0x2cddc3){_0xa1358=_0xa1358-0x1f3;const _0x254742=_0x2547();let _0x1c3cec=_0x254742[_0xa1358];return _0x1c3cec;}function _0x2547(){const _0xaeb736=['43544qdhCJY','23447136NNdRjC','220cyXeUc','1828368ZTZjNd','Please\x20wait...','Unknown\x20mistake','21KnNClE','39501sULoqI','{0}\x20file(s)\x20uploaded\x20successfully','11EmiVnm','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','4EYoWGD','Data\x20is\x20too\x20large','Cancel','Download\x20success','Network\x20error','Internal\x20unknown\x20error','File\x20uploaded\x20successfully','1986BwHOIx','Downloading','470703idUWFD','12205hzngLn','132dGIfuu'];_0x2547=function(){return _0xaeb736;};return _0x2547();}
|
package/lib/cjs/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0xd6a6(){const _0x5b3f76=['exports','Espere...','Error\x20interno\x20desconocido','El\x20archivo\x20seleccionado\x20[{0}]\x20no\x20es\x20compatible\x20para\x20subir','11862FncBJk','Subir\x20de\x20nuevo','Descargando','Los\x20datos\x20son\x20demasiado\x20grandes','Cancelar','278NFEvkK','7594983AtzcqX','{0}\x20archivo(s)\x20subido(s)\x20exitosamente','Descarga\x20exitosa','3033650bqGOPz','Error\x20desconocido','35spKJFr','4272UToZcH','1071624HfPFOm','331783VxHGhG','392432LJbFAF'];_0xd6a6=function(){return _0x5b3f76;};return _0xd6a6();}const _0x47f26c=_0x4351;function _0x4351(_0x5a7dff,_0x1575fd){_0x5a7dff=_0x5a7dff-0x83;const _0xd6a6e=_0xd6a6();let _0x4351d1=_0xd6a6e[_0x5a7dff];return _0x4351d1;}(function(_0xff6cfe,_0x5aec32){const _0x4f0e3a=_0x4351,_0x2e08b2=_0xff6cfe();while(!![]){try{const _0x15d16d=parseInt(_0x4f0e3a(0x84))/0x1+-parseInt(_0x4f0e3a(0x8f))/0x2*(-parseInt(_0x4f0e3a(0x8a))/0x3)+-parseInt(_0x4f0e3a(0x85))/0x4+-parseInt(_0x4f0e3a(0x93))/0x5+-parseInt(_0x4f0e3a(0x96))/0x6+parseInt(_0x4f0e3a(0x95))/0x7*(-parseInt(_0x4f0e3a(0x83))/0x8)+parseInt(_0x4f0e3a(0x90))/0x9;if(_0x15d16d===_0x5aec32)break;else _0x2e08b2['push'](_0x2e08b2['shift']());}catch(_0x5a5ea0){_0x2e08b2['push'](_0x2e08b2['shift']());}}}(_0xd6a6,0x55709));const e={'exchange-client':{'uploading':'Subiendo','uploadSuccess':'Archivo\x20subido\x20exitosamente','uploadSuccessTip':_0x47f26c(0x91),'downloading':_0x47f26c(0x8c),'downloadSuccess':_0x47f26c(0x92),'unknownMistake':_0x47f26c(0x94),'networkError':'Error\x20de\x20red','tooLarge':_0x47f26c(0x8d),'internalError':_0x47f26c(0x88),'interrupt':'La\x20conexión\x20de\x20red\x20se\x20interrumpió\x20y\x20la\x20carga\x20del\x20archivo\x20falló','fileTypeError':_0x47f26c(0x89),'wait':_0x47f26c(0x87),'cancel':_0x47f26c(0x8e),'uploadAgain':_0x47f26c(0x8b)}};module[_0x47f26c(0x86)]=e;
|
package/lib/cjs/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x35c5d0=_0x4f23;function _0x4f23(_0x575870,_0x2c19dd){_0x575870=_0x575870-0xb8;const _0x42825d=_0x4282();let _0x4f2353=_0x42825d[_0x575870];return _0x4f2353;}(function(_0x20feef,_0x1f6abd){const _0x4981c9=_0x4f23,_0x19e7c8=_0x20feef();while(!![]){try{const _0x164db4=-parseInt(_0x4981c9(0xbc))/0x1+-parseInt(_0x4981c9(0xc1))/0x2*(parseInt(_0x4981c9(0xc0))/0x3)+parseInt(_0x4981c9(0xca))/0x4*(-parseInt(_0x4981c9(0xc6))/0x5)+-parseInt(_0x4981c9(0xc2))/0x6+parseInt(_0x4981c9(0xc7))/0x7*(parseInt(_0x4981c9(0xbe))/0x8)+-parseInt(_0x4981c9(0xc4))/0x9*(parseInt(_0x4981c9(0xb8))/0xa)+parseInt(_0x4981c9(0xba))/0xb;if(_0x164db4===_0x1f6abd)break;else _0x19e7c8['push'](_0x19e7c8['shift']());}catch(_0x253164){_0x19e7c8['push'](_0x19e7c8['shift']());}}}(_0x4282,0xe9b19));const e={'exchange-client':{'uploading':_0x35c5d0(0xb9),'uploadSuccess':_0x35c5d0(0xc8),'uploadSuccessTip':'{0}\x20فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','downloading':'در\x20حال\x20دانلود','downloadSuccess':'دانلود\x20موفقیت\x20آمیز','unknownMistake':'خطای\x20ناشناخته','networkError':_0x35c5d0(0xbf),'tooLarge':'داده\x20خیلی\x20بزرگ\x20است','internalError':_0x35c5d0(0xc9),'interrupt':'اتصال\x20شبکه\x20قطع\x20شد\x20و\x20بارگذاری\x20فایل\x20ناموفق\x20بود.','fileTypeError':_0x35c5d0(0xbd),'wait':_0x35c5d0(0xc3),'cancel':_0x35c5d0(0xc5),'uploadAgain':_0x35c5d0(0xbb)}};function _0x4282(){const _0x439fc1=['خطای\x20داخلی\x20ناشناخته','12OiEIbs','500900zNziVx','در\x20حال\x20بارگذاری','59192056KRySGP','بارگذاری\x20مجدد','1487917vWIUaS','فایل\x20انتخاب\x20شده\x20[{0}]\x20برای\x20بارگذاری\x20پشتیبانی\x20نمیشود','24952JpeIsT','خطای\x20شبکه','9VDpGsW','25110NtjlIC','11322996kSJTMJ','لطفا\x20صبر\x20کنید...','153SvCjHL','لغو','1295285PUmceT','1386AArccn','فایل\x20با\x20موفقیت\x20بارگذاری\x20شد'];_0x4282=function(){return _0x439fc1;};return _0x4282();}module['exports']=e;
|
package/lib/cjs/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4752cd=_0xb677;(function(_0x3a4c2b,_0x17cfb3){const _0x468522=_0xb677,_0x1f3344=_0x3a4c2b();while(!![]){try{const _0x488604=-parseInt(_0x468522(0x1ca))/0x1*(-parseInt(_0x468522(0x1d0))/0x2)+-parseInt(_0x468522(0x1d9))/0x3+parseInt(_0x468522(0x1da))/0x4*(-parseInt(_0x468522(0x1cb))/0x5)+-parseInt(_0x468522(0x1d4))/0x6+parseInt(_0x468522(0x1d3))/0x7+-parseInt(_0x468522(0x1cc))/0x8*(-parseInt(_0x468522(0x1db))/0x9)+parseInt(_0x468522(0x1d7))/0xa;if(_0x488604===_0x17cfb3)break;else _0x1f3344['push'](_0x1f3344['shift']());}catch(_0x47dd45){_0x1f3344['push'](_0x1f3344['shift']());}}}(_0x482c,0xa811e));function _0xb677(_0x2804d0,_0x493b68){_0x2804d0=_0x2804d0-0x1c9;const _0x482c93=_0x482c();let _0xb6776d=_0x482c93[_0x2804d0];return _0xb6776d;}function _0x482c(){const _0x442a33=['Annuler','Erreur\x20réseau','2LSxIBD','Fichier\x20téléchargé\x20avec\x20succès','Erreur\x20inconnue','2013438pwBRIU','385848CrjFpj','La\x20connexion\x20réseau\x20a\x20été\x20interrompue\x20et\x20le\x20téléchargement\x20du\x20fichier\x20a\x20échoué','Téléchargement','2945250MwZBXg','{0}\x20fichier(s)\x20téléchargé(s)\x20avec\x20succès','1738308vGJRdF','1347656KgAhTs','50346ZwOIXm','exports','Les\x20données\x20sont\x20trop\x20volumineuses','421227buDvPq','5oFWkdQ','952LMSypd','Télécharger\x20à\x20nouveau'];_0x482c=function(){return _0x442a33;};return _0x482c();}const e={'exchange-client':{'uploading':'Téléchargement\x20en\x20cours','uploadSuccess':_0x4752cd(0x1d1),'uploadSuccessTip':_0x4752cd(0x1d8),'downloading':_0x4752cd(0x1d6),'downloadSuccess':'Téléchargement\x20réussi','unknownMistake':_0x4752cd(0x1d2),'networkError':_0x4752cd(0x1cf),'tooLarge':_0x4752cd(0x1c9),'internalError':'Erreur\x20interne\x20inconnue','interrupt':_0x4752cd(0x1d5),'fileTypeError':'Le\x20fichier\x20sélectionné\x20[{0}]\x20n\x27est\x20pas\x20pris\x20en\x20charge\x20pour\x20le\x20téléchargement','wait':'Veuillez\x20patienter...','cancel':_0x4752cd(0x1ce),'uploadAgain':_0x4752cd(0x1cd)}};module[_0x4752cd(0x1dc)]=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0x2ef983=_0x2ad6;(function(_0x475272,_0x1a0429){const _0x100628=_0x2ad6,_0x5ddcec=_0x475272();while(!![]){try{const _0x2b55b6=parseInt(_0x100628(0x117))/0x1+-parseInt(_0x100628(0x113))/0x2+-parseInt(_0x100628(0x10a))/0x3+-parseInt(_0x100628(0x112))/0x4*(parseInt(_0x100628(0x111))/0x5)+-parseInt(_0x100628(0x108))/0x6*(-parseInt(_0x100628(0x11b))/0x7)+parseInt(_0x100628(0x115))/0x8*(-parseInt(_0x100628(0x119))/0x9)+-parseInt(_0x100628(0x10c))/0xa*(-parseInt(_0x100628(0x10d))/0xb);if(_0x2b55b6===_0x1a0429)break;else _0x5ddcec['push'](_0x5ddcec['shift']());}catch(_0x19b3ed){_0x5ddcec['push'](_0x5ddcec['shift']());}}}(_0x3d05,0x39c31));function _0x2ad6(_0x1e59d6,_0x55cc3b){_0x1e59d6=_0x1e59d6-0x108;const _0x3d0562=_0x3d05();let _0x2ad67a=_0x3d0562[_0x1e59d6];return _0x2ad67a;}function _0x3d05(){const _0x56f9eb=['Kesalahan\x20jaringan','5MZiiyP','1520588ULHKiY','516308qVqMPZ','File\x20berhasil\x20diunggah','104DVQcNJ','Unduhan\x20berhasil','2205uRlZwC','File\x20yang\x20dipilih\x20[{0}]\x20tidak\x20didukung\x20untuk\x20diunggah','169713rDoHle','Harap\x20tunggu...','5362JdCcIR','576OsXHli','Batal','567003xooAPK','Unggah\x20ulang','73850ympzNT','1837GsoLvh','Mengunduh','Koneksi\x20jaringan\x20terputus\x20dan\x20unggahan\x20file\x20gagal'];_0x3d05=function(){return _0x56f9eb;};return _0x3d05();}const e={'exchange-client':{'uploading':'Mengunggah','uploadSuccess':_0x2ef983(0x114),'uploadSuccessTip':'{0}\x20file\x20berhasil\x20diunggah','downloading':_0x2ef983(0x10e),'downloadSuccess':_0x2ef983(0x116),'unknownMistake':'Kesalahan\x20tidak\x20diketahui','networkError':_0x2ef983(0x110),'tooLarge':'Data\x20terlalu\x20besar','internalError':'Kesalahan\x20internal\x20tidak\x20diketahui','interrupt':_0x2ef983(0x10f),'fileTypeError':_0x2ef983(0x118),'wait':_0x2ef983(0x11a),'cancel':_0x2ef983(0x109),'uploadAgain':_0x2ef983(0x10b)}};module['exports']=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function _0x5222(){const _0x3055ca=['Attendi...','4460127yCJVSm','Il\x20file\x20selezionato\x20[{0}]\x20non\x20è\x20supportato\x20per\x20il\x20caricamento','La\x20connessione\x20di\x20rete\x20è\x20stata\x20interrotta\x20e\x20il\x20caricamento\x20del\x20file\x20è\x20fallito','1118512QWYbCd','Carica\x20di\x20nuovo','503038CwsEaX','4124904DvmEBs','35rnRWuB','Annulla','3390784VcboKA','{0}\x20file\x20caricati\x20con\x20successo','2550900OoANdG','File\x20caricato\x20con\x20successo','Errore\x20interno\x20sconosciuto','Errore\x20di\x20rete','1579782tWBEwu','Caricamento\x20in\x20corso'];_0x5222=function(){return _0x3055ca;};return _0x5222();}const _0x1e293f=_0x1e8c;(function(_0x159ea0,_0x10d37b){const _0x355e50=_0x1e8c,_0x5f333d=_0x159ea0();while(!![]){try{const _0x4aec0b=-parseInt(_0x355e50(0x7c))/0x1+-parseInt(_0x355e50(0x6e))/0x2+parseInt(_0x355e50(0x77))/0x3+parseInt(_0x355e50(0x7a))/0x4+parseInt(_0x355e50(0x70))/0x5+parseInt(_0x355e50(0x74))/0x6*(parseInt(_0x355e50(0x6c))/0x7)+-parseInt(_0x355e50(0x7d))/0x8;if(_0x4aec0b===_0x10d37b)break;else _0x5f333d['push'](_0x5f333d['shift']());}catch(_0x3b6f2d){_0x5f333d['push'](_0x5f333d['shift']());}}}(_0x5222,0xd696f));function _0x1e8c(_0x1e50d5,_0x336c55){_0x1e50d5=_0x1e50d5-0x6c;const _0x5222f2=_0x5222();let _0x1e8cb3=_0x5222f2[_0x1e50d5];return _0x1e8cb3;}const e={'exchange-client':{'uploading':_0x1e293f(0x75),'uploadSuccess':_0x1e293f(0x71),'uploadSuccessTip':_0x1e293f(0x6f),'downloading':'Download\x20in\x20corso','downloadSuccess':'Download\x20riuscito','unknownMistake':'Errore\x20sconosciuto','networkError':_0x1e293f(0x73),'tooLarge':'I\x20dati\x20sono\x20troppo\x20grandi','internalError':_0x1e293f(0x72),'interrupt':_0x1e293f(0x79),'fileTypeError':_0x1e293f(0x78),'wait':_0x1e293f(0x76),'cancel':_0x1e293f(0x6d),'uploadAgain':_0x1e293f(0x7b)}};module['exports']=e;
|
package/lib/cjs/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x3784e6=_0x4b9d;function _0x3747(){const _0x9c9160=['4918725HeBTsl','100QmtVFh','内部エラーが発生しました','データが大きすぎます','ダウンロード中','1422516FAgcpp','29446sUWbPh','ネットワーク接続が中断され、ファイルのアップロードに失敗しました','exports','5948ulWqNh','32200oqbtnU','再度アップロード','不明なエラー','ネットワークエラー','2656304oBQXHm','5125gMrxov','279EIxnwY','{0}\x20個のファイルが正常にアップロードされました','17606240XoEPju'];_0x3747=function(){return _0x9c9160;};return _0x3747();}function _0x4b9d(_0x2fdcf9,_0x3d15a8){_0x2fdcf9=_0x2fdcf9-0x1ee;const _0x37479f=_0x3747();let _0x4b9d26=_0x37479f[_0x2fdcf9];return _0x4b9d26;}(function(_0x2e64ba,_0x81b094){const _0x3617f1=_0x4b9d,_0x35c40b=_0x2e64ba();while(!![]){try{const _0x133e45=parseInt(_0x3617f1(0x1f1))/0x1*(-parseInt(_0x3617f1(0x1ff))/0x2)+parseInt(_0x3617f1(0x1fe))/0x3+-parseInt(_0x3617f1(0x1f4))/0x4*(parseInt(_0x3617f1(0x1fa))/0x5)+parseInt(_0x3617f1(0x1f0))/0x6+parseInt(_0x3617f1(0x1f9))/0x7+parseInt(_0x3617f1(0x1f5))/0x8*(-parseInt(_0x3617f1(0x1fb))/0x9)+parseInt(_0x3617f1(0x1fd))/0xa;if(_0x133e45===_0x81b094)break;else _0x35c40b['push'](_0x35c40b['shift']());}catch(_0x1cb546){_0x35c40b['push'](_0x35c40b['shift']());}}}(_0x3747,0xdaa13));const e={'exchange-client':{'uploading':'アップロード中','uploadSuccess':'ファイルが正常にアップロードされました','uploadSuccessTip':_0x3784e6(0x1fc),'downloading':_0x3784e6(0x1ef),'downloadSuccess':'ダウンロードが完了しました','unknownMistake':_0x3784e6(0x1f7),'networkError':_0x3784e6(0x1f8),'tooLarge':_0x3784e6(0x1ee),'internalError':_0x3784e6(0x200),'interrupt':_0x3784e6(0x1f2),'fileTypeError':'選択されたファイル\x20[{0}]\x20はアップロードがサポートされていません','wait':'お待ちください...','cancel':'キャンセル','uploadAgain':_0x3784e6(0x1f6)}};module[_0x3784e6(0x1f3)]=e;
|
package/lib/cjs/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x17d993=_0x2a42;(function(_0x2845dd,_0x55f6d6){const _0xf7863=_0x2a42,_0x1f18b3=_0x2845dd();while(!![]){try{const _0xa90f2=parseInt(_0xf7863(0x105))/0x1*(-parseInt(_0xf7863(0x103))/0x2)+-parseInt(_0xf7863(0x108))/0x3*(parseInt(_0xf7863(0x100))/0x4)+-parseInt(_0xf7863(0xfb))/0x5+-parseInt(_0xf7863(0xfe))/0x6+parseInt(_0xf7863(0x107))/0x7+parseInt(_0xf7863(0xfd))/0x8+-parseInt(_0xf7863(0x109))/0x9*(-parseInt(_0xf7863(0xfc))/0xa);if(_0xa90f2===_0x55f6d6)break;else _0x1f18b3['push'](_0x1f18b3['shift']());}catch(_0x5bcf01){_0x1f18b3['push'](_0x1f18b3['shift']());}}}(_0x185c,0x3313c));const e={'exchange-client':{'uploading':_0x17d993(0xff),'uploadSuccess':_0x17d993(0x106),'uploadSuccessTip':_0x17d993(0xf7),'downloading':'다운로드\x20중','downloadSuccess':'다운로드가\x20완료되었습니다','unknownMistake':_0x17d993(0xf8),'networkError':_0x17d993(0x10a),'tooLarge':'데이터가\x20너무\x20큽니다','internalError':_0x17d993(0x102),'interrupt':_0x17d993(0xf9),'fileTypeError':_0x17d993(0x101),'wait':'잠시만\x20기다려\x20주세요...','cancel':'취소','uploadAgain':_0x17d993(0x104)}};function _0x2a42(_0x528c4a,_0x20bac8){_0x528c4a=_0x528c4a-0xf7;const _0x185c79=_0x185c();let _0x2a4278=_0x185c79[_0x528c4a];return _0x2a4278;}function _0x185c(){const _0x35c189=['{0}개의\x20파일이\x20성공적으로\x20업로드되었습니다','알\x20수\x20없는\x20오류','네트워크\x20연결이\x20중단되어\x20파일\x20업로드에\x20실패했습니다','exports','354995tZPoTK','47210jgNnLx','2748400PejdOc','910902kmujna','업로드\x20중','1385612QjISwH','선택한\x20파일\x20[{0}]은(는)\x20업로드가\x20지원되지\x20않습니다','내부\x20오류가\x20발생했습니다','58482lqMJBX','다시\x20업로드','1vVIPdS','파일이\x20성공적으로\x20업로드되었습니다','439859IHsRMo','3UdVPsD','765qwPFgP','네트워크\x20오류'];_0x185c=function(){return _0x35c189;};return _0x185c();}module[_0x17d993(0xfa)]=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function _0x1144(){const _0x13208b=['Przesyłanie','Pobieranie','Pomyślnie\x20przesłano\x20{0}\x20plik(ów)','Proszę\x20czekać...','944166oWcWmM','Dane\x20są\x20zbyt\x20duże','Wewnętrzny\x20nieznany\x20błąd','1247310jwBsoH','29948KFCnEz','3361242VGKdlF','28OJNwJP','456LgPnoJ','Wybrany\x20plik\x20[{0}]\x20nie\x20jest\x20obsługiwany\x20do\x20przesyłania','Pobieranie\x20zakończone\x20sukcesem','117IyrUFl','Anuluj','Prześlij\x20ponownie','Błąd\x20sieci','Połączenie\x20sieciowe\x20zostało\x20przerwane\x20i\x20przesyłanie\x20pliku\x20nie\x20powiodło\x20się','Plik\x20przesłany\x20pomyślnie','104968btlDCN','exports','2255076DBGkGY','6550870ocnLMP'];_0x1144=function(){return _0x13208b;};return _0x1144();}const _0x122303=_0x7cd8;function _0x7cd8(_0x33acf7,_0xc1f81e){_0x33acf7=_0x33acf7-0x14d;const _0x1144bd=_0x1144();let _0x7cd885=_0x1144bd[_0x33acf7];return _0x7cd885;}(function(_0x105c84,_0xe8f62d){const _0x176c8e=_0x7cd8,_0x519337=_0x105c84();while(!![]){try{const _0x5f5629=parseInt(_0x176c8e(0x14e))/0x1+-parseInt(_0x176c8e(0x160))/0x2+-parseInt(_0x176c8e(0x155))/0x3*(-parseInt(_0x176c8e(0x152))/0x4)+-parseInt(_0x176c8e(0x161))/0x5+-parseInt(_0x176c8e(0x153))/0x6+parseInt(_0x176c8e(0x154))/0x7*(parseInt(_0x176c8e(0x15e))/0x8)+parseInt(_0x176c8e(0x158))/0x9*(parseInt(_0x176c8e(0x151))/0xa);if(_0x5f5629===_0xe8f62d)break;else _0x519337['push'](_0x519337['shift']());}catch(_0x36bfb1){_0x519337['push'](_0x519337['shift']());}}}(_0x1144,0xb91f2));const e={'exchange-client':{'uploading':_0x122303(0x162),'uploadSuccess':_0x122303(0x15d),'uploadSuccessTip':_0x122303(0x164),'downloading':_0x122303(0x163),'downloadSuccess':_0x122303(0x157),'unknownMistake':'Nieznany\x20błąd','networkError':_0x122303(0x15b),'tooLarge':_0x122303(0x14f),'internalError':_0x122303(0x150),'interrupt':_0x122303(0x15c),'fileTypeError':_0x122303(0x156),'wait':_0x122303(0x14d),'cancel':_0x122303(0x159),'uploadAgain':_0x122303(0x15a)}};module[_0x122303(0x15f)]=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0xbe464f=_0x42a4;function _0x5e78(){const _0x3ea095=['10RBKXqB','Erro\x20de\x20rede','Os\x20dados\x20são\x20muito\x20grandes','exports','12GWfeTX','Baixando','Enviando','A\x20conexão\x20de\x20rede\x20foi\x20interrompida\x20e\x20o\x20envio\x20do\x20arquivo\x20falhou','1260595PwlYca','392706TweKhf','14044JEKcVU','Aguarde...','{0}\x20arquivo(s)\x20enviado(s)\x20com\x20sucesso','Cancelar','15UtsgCd','851042rkQrMy','Arquivo\x20enviado\x20com\x20sucesso','4512069eZtuiF','1snFxSg','Erro\x20desconhecido','4453603xqACtK','O\x20arquivo\x20selecionado\x20[{0}]\x20não\x20é\x20suportado\x20para\x20envio','2961872AECAop'];_0x5e78=function(){return _0x3ea095;};return _0x5e78();}function _0x42a4(_0x2b00f2,_0x1e15ff){_0x2b00f2=_0x2b00f2-0xa4;const _0x5e78a9=_0x5e78();let _0x42a49a=_0x5e78a9[_0x2b00f2];return _0x42a49a;}(function(_0xf29de5,_0xe034c1){const _0x261639=_0x42a4,_0xc1f4cd=_0xf29de5();while(!![]){try{const _0xc654e9=-parseInt(_0x261639(0xb1))/0x1*(parseInt(_0x261639(0xae))/0x2)+-parseInt(_0x261639(0xba))/0x3*(parseInt(_0x261639(0xa9))/0x4)+-parseInt(_0x261639(0xad))/0x5*(-parseInt(_0x261639(0xa8))/0x6)+parseInt(_0x261639(0xa7))/0x7+parseInt(_0x261639(0xb5))/0x8+parseInt(_0x261639(0xb0))/0x9*(parseInt(_0x261639(0xb6))/0xa)+-parseInt(_0x261639(0xb3))/0xb;if(_0xc654e9===_0xe034c1)break;else _0xc1f4cd['push'](_0xc1f4cd['shift']());}catch(_0x58eb31){_0xc1f4cd['push'](_0xc1f4cd['shift']());}}}(_0x5e78,0x62877));const e={'exchange-client':{'uploading':_0xbe464f(0xa5),'uploadSuccess':_0xbe464f(0xaf),'uploadSuccessTip':_0xbe464f(0xab),'downloading':_0xbe464f(0xa4),'downloadSuccess':'Download\x20concluído\x20com\x20sucesso','unknownMistake':_0xbe464f(0xb2),'networkError':_0xbe464f(0xb7),'tooLarge':_0xbe464f(0xb8),'internalError':'Erro\x20interno\x20desconhecido','interrupt':_0xbe464f(0xa6),'fileTypeError':_0xbe464f(0xb4),'wait':_0xbe464f(0xaa),'cancel':_0xbe464f(0xac),'uploadAgain':'Enviar\x20novamente'}};module[_0xbe464f(0xb9)]=e;
|
package/lib/cjs/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x22fa(){const _0x608d15=['Сетевая\x20ошибка','Скачивание','Скачивание\x20успешно','478772jrVPtY','861715owFORO','7205VSwQld','910FsZdgF','Сетевое\x20соединение\x20было\x20прервано,\x20и\x20загрузка\x20файла\x20не\x20удалась','Неизвестная\x20ошибка','6LiUkQz','Внутренняя\x20неизвестная\x20ошибка','Загрузка','624572PXLcLe','2576574UVeqFE','20449RfoOxJ','Пожалуйста,\x20подождите...','Выбранный\x20файл\x20[{0}]\x20не\x20поддерживается\x20для\x20загрузки','708152BzirrC','45lOVErk','Файл\x20успешно\x20загружен','3yLtEuN'];_0x22fa=function(){return _0x608d15;};return _0x22fa();}const _0x410bee=_0x7250;function _0x7250(_0x4405aa,_0x2a2a21){_0x4405aa=_0x4405aa-0x1e5;const _0x22fac1=_0x22fa();let _0x7250f5=_0x22fac1[_0x4405aa];return _0x7250f5;}(function(_0x8d397b,_0x16f087){const _0x103281=_0x7250,_0x336c40=_0x8d397b();while(!![]){try{const _0x363694=-parseInt(_0x103281(0x1f3))/0x1+parseInt(_0x103281(0x1e5))/0x2*(parseInt(_0x103281(0x1ed))/0x3)+-parseInt(_0x103281(0x1f1))/0x4+-parseInt(_0x103281(0x1f2))/0x5*(-parseInt(_0x103281(0x1f7))/0x6)+-parseInt(_0x103281(0x1e6))/0x7+parseInt(_0x103281(0x1ea))/0x8*(parseInt(_0x103281(0x1eb))/0x9)+parseInt(_0x103281(0x1f4))/0xa*(-parseInt(_0x103281(0x1e7))/0xb);if(_0x363694===_0x16f087)break;else _0x336c40['push'](_0x336c40['shift']());}catch(_0x1daa14){_0x336c40['push'](_0x336c40['shift']());}}}(_0x22fa,0x403a3));const e={'exchange-client':{'uploading':_0x410bee(0x1f9),'uploadSuccess':_0x410bee(0x1ec),'uploadSuccessTip':'{0}\x20файл(ов)\x20успешно\x20загружен(о)','downloading':_0x410bee(0x1ef),'downloadSuccess':_0x410bee(0x1f0),'unknownMistake':_0x410bee(0x1f6),'networkError':_0x410bee(0x1ee),'tooLarge':'Данные\x20слишком\x20большие','internalError':_0x410bee(0x1f8),'interrupt':_0x410bee(0x1f5),'fileTypeError':_0x410bee(0x1e9),'wait':_0x410bee(0x1e8),'cancel':'Отмена','uploadAgain':'Загрузить\x20снова'}};module['exports']=e;
|