@univerjs-pro/exchange-client 0.22.0 → 0.22.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/sk-SK.js +1 -1
  12. package/lib/cjs/locale/vi-VN.js +1 -1
  13. package/lib/cjs/locale/zh-CN.js +1 -1
  14. package/lib/cjs/locale/zh-TW.js +1 -1
  15. package/lib/es/facade.js +1 -1
  16. package/lib/es/index.js +1 -1
  17. package/lib/es/locale/ca-ES.js +1 -1
  18. package/lib/es/locale/en-US.js +1 -1
  19. package/lib/es/locale/es-ES.js +1 -1
  20. package/lib/es/locale/fa-IR.js +1 -1
  21. package/lib/es/locale/fr-FR.js +1 -1
  22. package/lib/es/locale/ja-JP.js +1 -1
  23. package/lib/es/locale/ko-KR.js +1 -1
  24. package/lib/es/locale/ru-RU.js +1 -1
  25. package/lib/es/locale/sk-SK.js +1 -1
  26. package/lib/es/locale/vi-VN.js +1 -1
  27. package/lib/es/locale/zh-CN.js +1 -1
  28. package/lib/es/locale/zh-TW.js +1 -1
  29. package/lib/facade.js +1 -1
  30. package/lib/index.js +1 -1
  31. package/lib/locale/ca-ES.js +1 -1
  32. package/lib/locale/en-US.js +1 -1
  33. package/lib/locale/es-ES.js +1 -1
  34. package/lib/locale/fa-IR.js +1 -1
  35. package/lib/locale/fr-FR.js +1 -1
  36. package/lib/locale/ja-JP.js +1 -1
  37. package/lib/locale/ko-KR.js +1 -1
  38. package/lib/locale/ru-RU.js +1 -1
  39. package/lib/locale/sk-SK.js +1 -1
  40. package/lib/locale/vi-VN.js +1 -1
  41. package/lib/locale/zh-CN.js +1 -1
  42. package/lib/locale/zh-TW.js +1 -1
  43. package/lib/umd/facade.js +1 -1
  44. package/lib/umd/index.js +1 -1
  45. package/lib/umd/locale/ca-ES.js +1 -1
  46. package/lib/umd/locale/en-US.js +1 -1
  47. package/lib/umd/locale/es-ES.js +1 -1
  48. package/lib/umd/locale/fa-IR.js +1 -1
  49. package/lib/umd/locale/fr-FR.js +1 -1
  50. package/lib/umd/locale/ja-JP.js +1 -1
  51. package/lib/umd/locale/ko-KR.js +1 -1
  52. package/lib/umd/locale/ru-RU.js +1 -1
  53. package/lib/umd/locale/sk-SK.js +1 -1
  54. package/lib/umd/locale/vi-VN.js +1 -1
  55. package/lib/umd/locale/zh-CN.js +1 -1
  56. package/lib/umd/locale/zh-TW.js +1 -1
  57. package/package.json +9 -9
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x1850(_0x5691ad,_0x3432d4){_0x5691ad=_0x5691ad-0xd6;const _0x20fd17=_0x20fd();let _0x18504e=_0x20fd17[_0x5691ad];return _0x18504e;}const _0xf23648=_0x1850;(function(_0x5dcd49,_0x35efc9){const _0x27c204=_0x1850,_0xc5a40f=_0x5dcd49();while(!![]){try{const _0x193e9a=-parseInt(_0x27c204(0xe5))/0x1*(parseInt(_0x27c204(0xe6))/0x2)+-parseInt(_0x27c204(0xed))/0x3+parseInt(_0x27c204(0xe0))/0x4+parseInt(_0x27c204(0xd6))/0x5*(-parseInt(_0x27c204(0xee))/0x6)+parseInt(_0x27c204(0xe8))/0x7+parseInt(_0x27c204(0xd7))/0x8*(-parseInt(_0x27c204(0xde))/0x9)+parseInt(_0x27c204(0xea))/0xa;if(_0x193e9a===_0x35efc9)break;else _0xc5a40f['push'](_0xc5a40f['shift']());}catch(_0x33f31d){_0xc5a40f['push'](_0xc5a40f['shift']());}}}(_0x20fd,0xebcaa));let _univerjs_pro_exchange_client=require('@univerjs-pro/exchange-client'),_univerjs_core=require('@univerjs/core'),_univerjs_core_facade=require('@univerjs/core/facade');var FUniverExchangeClientMixin=class extends _univerjs_core_facade[_0xf23648(0xd8)]{async[_0xf23648(0xe4)](_0x2c169c){const _0x1d26ce=_0xf23648,_0x395dc1=this[_0x1d26ce(0xec)][_0x1d26ce(0xdb)](_univerjs_pro_exchange_client['IExchangeService']);if(!_0x395dc1)throw new Error(_0x1d26ce(0xe9));return _0x395dc1['importFileToUnitId'](_0x2c169c,_univerjs_core['UniverInstanceType']['UNIVER_SHEET']);}async['importXLSXToSnapshotAsync'](_0x597443){const _0x1647c8=_0xf23648,_0x186c3a=this['_injector'][_0x1647c8(0xdb)](_univerjs_pro_exchange_client[_0x1647c8(0xdf)]);if(!_0x186c3a)throw new Error(_0x1647c8(0xe9));return _0x186c3a[_0x1647c8(0xda)](_0x597443);}async[_0xf23648(0xe7)](_0x3ebc6a){const _0x451f90=_0xf23648,_0x173eb6=this[_0x451f90(0xec)][_0x451f90(0xdb)](_univerjs_pro_exchange_client['IExchangeService']);if(!_0x173eb6)throw new Error(_0x451f90(0xe9));return _0x173eb6[_0x451f90(0xe1)](_0x3ebc6a);}async[_0xf23648(0xdc)](_0x2cd23a){const _0x1faf39=_0xf23648,_0x2d96b7=this['_injector'][_0x1faf39(0xdb)](_univerjs_pro_exchange_client['IExchangeService']);if(!_0x2d96b7)throw new Error(_0x1faf39(0xe9));return _0x2d96b7['exportXLSXBySnapshot'](_0x2cd23a);}async[_0xf23648(0xdd)](_0x94fa74){const _0x2061b5=_0xf23648,_0x276a54=this[_0x2061b5(0xec)][_0x2061b5(0xdb)](_univerjs_pro_exchange_client['IExchangeService']);if(!_0x276a54)throw new Error(_0x2061b5(0xe9));return _0x276a54['importFileToUnitId'](_0x94fa74,_univerjs_core['UniverInstanceType'][_0x2061b5(0xeb)]);}async[_0xf23648(0xd9)](_0x6efc5c){const _0x5ea947=_0xf23648,_0x1de5a5=this[_0x5ea947(0xec)][_0x5ea947(0xdb)](_univerjs_pro_exchange_client[_0x5ea947(0xdf)]);if(!_0x1de5a5)throw new Error(_0x5ea947(0xe9));return _0x1de5a5['importDOCXToSnapshot'](_0x6efc5c);}async[_0xf23648(0xe2)](_0x4a2e67){const _0x27eac0=_0xf23648,_0x44b9d1=this['_injector'][_0x27eac0(0xdb)](_univerjs_pro_exchange_client[_0x27eac0(0xdf)]);if(!_0x44b9d1)throw new Error(_0x27eac0(0xe9));return _0x44b9d1[_0x27eac0(0xef)](_0x4a2e67);}async[_0xf23648(0xf0)](_0xea29c3){const _0x592338=_0xf23648,_0x1ecb89=this[_0x592338(0xec)][_0x592338(0xdb)](_univerjs_pro_exchange_client[_0x592338(0xdf)]);if(!_0x1ecb89)throw new Error(_0x592338(0xe9));return _0x1ecb89[_0x592338(0xe3)](_0xea29c3);}};function _0x20fd(){const _0x74cfc=['get','exportXLSXBySnapshotAsync','importDOCXToUnitIdAsync','1021509mVhrzz','IExchangeService','2054852rHxVqN','exportXLSXByUnitId','exportDOCXBySnapshotAsync','exportDOCXByUnitId','importXLSXToUnitIdAsync','29IMTZrH','38462TLXUkc','exportXLSXByUnitIdAsync','1199296ujduun','The\x20exchange\x20service\x20is\x20not\x20available','48883820qIRWkt','UNIVER_DOC','_injector','4990065jZRGzM','6LOnJLR','exportDOCXBySnapshot','exportDOCXByUnitIdAsync','6257785vgkzAE','80UPyjHg','FUniver','importDOCXToSnapshotAsync','importXLSXToSnapshot'];_0x20fd=function(){return _0x74cfc;};return _0x20fd();}_univerjs_core_facade['FUniver']['extend'](FUniverExchangeClientMixin);
1
+ function _0xa8d6(){const _0x360b2b=['UNIVER_SHEET','40362hwdjuI','44668CkPDyq','3691096oIFxIq','8140670JlENzF','69vjNZpZ','105qZyKID','importXLSXToUnitIdAsync','importFileToUnitId','IExchangeService','UNIVER_DOC','11xkSKjG','get','exportDOCXByUnitIdAsync','extend','_injector','importDOCXToSnapshot','exportXLSXBySnapshot','exportXLSXByUnitIdAsync','exportDOCXBySnapshot','4368582LFJBEX','exportXLSXByUnitId','14KISPtD','importXLSXToSnapshot','FUniver','The\x20exchange\x20service\x20is\x20not\x20available','72755SwxgHM','UniverInstanceType','exportXLSXBySnapshotAsync','importXLSXToSnapshotAsync','4060784VCkDOL'];_0xa8d6=function(){return _0x360b2b;};return _0xa8d6();}function _0x1b5b(_0x329d4b,_0xe2052b){_0x329d4b=_0x329d4b-0x147;const _0xa8d6b1=_0xa8d6();let _0x1b5bb4=_0xa8d6b1[_0x329d4b];return _0x1b5bb4;}const _0x1364a3=_0x1b5b;(function(_0x4bd160,_0x5305fe){const _0x455a4e=_0x1b5b,_0x368397=_0x4bd160();while(!![]){try{const _0x7eba01=parseInt(_0x455a4e(0x14a))/0x1*(-parseInt(_0x455a4e(0x165))/0x2)+-parseInt(_0x455a4e(0x154))/0x3*(-parseInt(_0x455a4e(0x151))/0x4)+-parseInt(_0x455a4e(0x155))/0x5*(-parseInt(_0x455a4e(0x150))/0x6)+parseInt(_0x455a4e(0x14e))/0x7+-parseInt(_0x455a4e(0x152))/0x8+-parseInt(_0x455a4e(0x163))/0x9+parseInt(_0x455a4e(0x153))/0xa*(parseInt(_0x455a4e(0x15a))/0xb);if(_0x7eba01===_0x5305fe)break;else _0x368397['push'](_0x368397['shift']());}catch(_0x1554f3){_0x368397['push'](_0x368397['shift']());}}}(_0xa8d6,0x52159));let _univerjs_pro_exchange_client=require('@univerjs-pro/exchange-client'),_univerjs_core=require('@univerjs/core'),_univerjs_core_facade=require('@univerjs/core/facade');var FUniverExchangeClientMixin=class extends _univerjs_core_facade[_0x1364a3(0x148)]{async[_0x1364a3(0x156)](_0x20c9cb){const _0x416718=_0x1364a3,_0x311ec6=this['_injector'][_0x416718(0x15b)](_univerjs_pro_exchange_client[_0x416718(0x158)]);if(!_0x311ec6)throw new Error(_0x416718(0x149));return _0x311ec6[_0x416718(0x157)](_0x20c9cb,_univerjs_core[_0x416718(0x14b)][_0x416718(0x14f)]);}async[_0x1364a3(0x14d)](_0x53cf19){const _0x4ef7b7=_0x1364a3,_0x344d8f=this[_0x4ef7b7(0x15e)][_0x4ef7b7(0x15b)](_univerjs_pro_exchange_client[_0x4ef7b7(0x158)]);if(!_0x344d8f)throw new Error(_0x4ef7b7(0x149));return _0x344d8f[_0x4ef7b7(0x147)](_0x53cf19);}async[_0x1364a3(0x161)](_0x168a80){const _0x6d2ac6=_0x1364a3,_0x31cd37=this[_0x6d2ac6(0x15e)][_0x6d2ac6(0x15b)](_univerjs_pro_exchange_client[_0x6d2ac6(0x158)]);if(!_0x31cd37)throw new Error(_0x6d2ac6(0x149));return _0x31cd37[_0x6d2ac6(0x164)](_0x168a80);}async[_0x1364a3(0x14c)](_0x49539c){const _0x57ac45=_0x1364a3,_0x2404ed=this[_0x57ac45(0x15e)]['get'](_univerjs_pro_exchange_client[_0x57ac45(0x158)]);if(!_0x2404ed)throw new Error(_0x57ac45(0x149));return _0x2404ed[_0x57ac45(0x160)](_0x49539c);}async['importDOCXToUnitIdAsync'](_0x1fde6d){const _0x183836=_0x1364a3,_0x3dda39=this[_0x183836(0x15e)]['get'](_univerjs_pro_exchange_client[_0x183836(0x158)]);if(!_0x3dda39)throw new Error(_0x183836(0x149));return _0x3dda39[_0x183836(0x157)](_0x1fde6d,_univerjs_core['UniverInstanceType'][_0x183836(0x159)]);}async['importDOCXToSnapshotAsync'](_0x4b0be6){const _0x409e8e=_0x1364a3,_0x2eb1e7=this[_0x409e8e(0x15e)]['get'](_univerjs_pro_exchange_client[_0x409e8e(0x158)]);if(!_0x2eb1e7)throw new Error(_0x409e8e(0x149));return _0x2eb1e7[_0x409e8e(0x15f)](_0x4b0be6);}async['exportDOCXBySnapshotAsync'](_0x475456){const _0x310e6e=_0x1364a3,_0x11b982=this[_0x310e6e(0x15e)][_0x310e6e(0x15b)](_univerjs_pro_exchange_client['IExchangeService']);if(!_0x11b982)throw new Error(_0x310e6e(0x149));return _0x11b982[_0x310e6e(0x162)](_0x475456);}async[_0x1364a3(0x15c)](_0x3fe00d){const _0x1cd7af=_0x1364a3,_0x351b44=this[_0x1cd7af(0x15e)][_0x1cd7af(0x15b)](_univerjs_pro_exchange_client[_0x1cd7af(0x158)]);if(!_0x351b44)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x351b44['exportDOCXByUnitId'](_0x3fe00d);}};_univerjs_core_facade[_0x1364a3(0x148)][_0x1364a3(0x15d)](FUniverExchangeClientMixin);
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- const _0xae8de0=_0x2669;(function(_0x249dee,_0xb86309){const _0x1daf78=_0x2669,_0x438c55=_0x249dee();while(!![]){try{const _0x5baddb=-parseInt(_0x1daf78(0x273))/0x1*(-parseInt(_0x1daf78(0x28a))/0x2)+-parseInt(_0x1daf78(0x294))/0x3*(-parseInt(_0x1daf78(0x222))/0x4)+-parseInt(_0x1daf78(0x1fb))/0x5+-parseInt(_0x1daf78(0x1bc))/0x6+parseInt(_0x1daf78(0x2ab))/0x7*(parseInt(_0x1daf78(0x2da))/0x8)+parseInt(_0x1daf78(0x264))/0x9*(parseInt(_0x1daf78(0x297))/0xa)+parseInt(_0x1daf78(0x1a3))/0xb*(parseInt(_0x1daf78(0x292))/0xc);if(_0x5baddb===_0xb86309)break;else _0x438c55['push'](_0x438c55['shift']());}catch(_0x1a3f38){_0x438c55['push'](_0x438c55['shift']());}}}(_0x5023,0x61dbd),Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0xae8de0(0x2a8)}));let _univerjs_pro_license=require('@univerjs-pro/license'),_univerjs_core=require('@univerjs/core'),_univerjs_network=require('@univerjs/network'),_univerjs_ui=require('@univerjs/ui'),_univerjs_icons=require('@univerjs/icons'),react=require('react'),rxjs=require('rxjs'),_univerjs_design=require('@univerjs/design'),react_jsx_runtime=require('react/jsx-runtime'),_univerjs_protocol=require('@univerjs/protocol'),_univerjs_pro_collaboration=require('@univerjs-pro/collaboration'),fflate=require('fflate');const EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY=_0xae8de0(0x203),configSymbol=Symbol(EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY),defaultPluginConfig={};var name='@univerjs-pro/exchange-client',version='0.22.0';function _typeof(_0x57e2ba){'@babel/helpers - typeof';const _0x29e72b=_0xae8de0;return _typeof='function'==typeof Symbol&&'symbol'==typeof Symbol[_0x29e72b(0x1d3)]?function(_0x21d2d9){return typeof _0x21d2d9;}:function(_0x585854){const _0x1913e9=_0x29e72b;return _0x585854&&_0x1913e9(0x256)==typeof Symbol&&_0x585854['constructor']===Symbol&&_0x585854!==Symbol[_0x1913e9(0x254)]?'symbol':typeof _0x585854;},_typeof(_0x57e2ba);}function toPrimitive(_0x4c2d26,_0x2e0180){const _0x46c87d=_0xae8de0;if(_0x46c87d(0x223)!=_typeof(_0x4c2d26)||!_0x4c2d26)return _0x4c2d26;var _0x47951c=_0x4c2d26[Symbol[_0x46c87d(0x29f)]];if(void 0x0!==_0x47951c){var _0xccbb7b=_0x47951c[_0x46c87d(0x1eb)](_0x4c2d26,_0x2e0180||_0x46c87d(0x1f8));if('object'!=_typeof(_0xccbb7b))return _0xccbb7b;throw new TypeError(_0x46c87d(0x1d9));}return(_0x46c87d(0x257)===_0x2e0180?String:Number)(_0x4c2d26);}function toPropertyKey(_0x353d1c){const _0x4706a3=_0xae8de0;var _0x270953=toPrimitive(_0x353d1c,_0x4706a3(0x257));return _0x4706a3(0x24c)==_typeof(_0x270953)?_0x270953:_0x270953+'';}function _defineProperty(_0x4fb576,_0x5c38d8,_0x30e626){const _0x2318ea=_0xae8de0;return(_0x5c38d8=toPropertyKey(_0x5c38d8))in _0x4fb576?Object[_0x2318ea(0x210)](_0x4fb576,_0x5c38d8,{'value':_0x30e626,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4fb576[_0x5c38d8]=_0x30e626,_0x4fb576;}let UploadNotificationState=function(_0x4fd62d){const _0x3c1547=_0xae8de0;return _0x4fd62d[_0x4fd62d[_0x3c1547(0x2f0)]=0x0]=_0x3c1547(0x2f0),_0x4fd62d[_0x4fd62d[_0x3c1547(0x2d5)]=0x1]='SUCCESS',_0x4fd62d[_0x4fd62d[_0x3c1547(0x1df)]=0x2]=_0x3c1547(0x1df),_0x4fd62d;}({});const IUploadNotificationService=(0x0,_univerjs_core[_0xae8de0(0x2bc)])(_0xae8de0(0x28e));var UploadNotificationService=class extends _univerjs_core[_0xae8de0(0x1af)]{constructor(){const _0x154869=_0xae8de0;super(),_defineProperty(this,_0x154869(0x261),new rxjs['Subject']()),_defineProperty(this,'_state$',new rxjs[(_0x154869(0x24b))]()),_defineProperty(this,'_list$',new rxjs[(_0x154869(0x24b))]()),_defineProperty(this,_0x154869(0x239),this['_visible$'][_0x154869(0x205)]()),_defineProperty(this,'state$',this[_0x154869(0x28d)][_0x154869(0x205)]()),_defineProperty(this,'list$',this[_0x154869(0x263)][_0x154869(0x205)]()),_defineProperty(this,_0x154869(0x2dc),[]);}[_0xae8de0(0x2d8)](){const _0x5fd942=_0xae8de0;super[_0x5fd942(0x2d8)](),this['_visible$'][_0x5fd942(0x232)](),this[_0x5fd942(0x28d)][_0x5fd942(0x232)](),this['_list$'][_0x5fd942(0x232)]();}[_0xae8de0(0x2ce)](){const _0x5cc8eb=_0xae8de0;this[_0x5cc8eb(0x261)][_0x5cc8eb(0x31c)](!![]);}[_0xae8de0(0x215)](){const _0x1b8233=_0xae8de0;this[_0x1b8233(0x261)][_0x1b8233(0x31c)](![]);}[_0xae8de0(0x279)](_0x1bb4e2){const _0x2b5668=_0xae8de0;this[_0x2b5668(0x28d)][_0x2b5668(0x31c)](_0x1bb4e2);}['pushLink'](_0xf34f5){const _0x27d98a=_0xae8de0;this['_list']['unshift'](_0xf34f5),this['_list$']['next'](this[_0x27d98a(0x2dc)]);}};function LinkList(_0x5bf83d){const _0x239019=_0xae8de0,{list:_0x49ca70}=_0x5bf83d;function _0x3b31b5(_0x53295c){const _0x487769=_0x2669;switch(_0x53295c){case 0x1:return(0x0,react_jsx_runtime[_0x487769(0x1dc)])(_univerjs_icons[_0x487769(0x2b7)],{});case 0x2:return(0x0,react_jsx_runtime['jsx'])(_univerjs_icons['XlsxMultiIcon'],{});case 0x3:return(0x0,react_jsx_runtime[_0x487769(0x1dc)])(_univerjs_icons[_0x487769(0x2b8)],{});default:return null;}}return(0x0,react_jsx_runtime[_0x239019(0x1dc)])('div',{'className':(0x0,_univerjs_design['clsx'])(_0x239019(0x1c4),_univerjs_design[_0x239019(0x2c7)]),'children':(0x0,react_jsx_runtime[_0x239019(0x1dc)])('ul',{'className':_0x239019(0x2f9),'children':_0x49ca70[_0x239019(0x1cd)]((_0x5f1808,_0x494649)=>{const _0x5cfcdf=_0x239019;return(0x0,react_jsx_runtime['jsx'])('li',{'children':(0x0,react_jsx_runtime['jsxs'])('a',{'className':'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','href':_0x5f1808['link'],'target':_0x5cfcdf(0x2dd),'rel':_0x5cfcdf(0x2f5),'children':[(0x0,react_jsx_runtime[_0x5cfcdf(0x219)])('span',{'className':_0x5cfcdf(0x30d),'children':[(0x0,react_jsx_runtime[_0x5cfcdf(0x1dc)])('span',{'className':_0x5cfcdf(0x247),'children':_0x3b31b5(_0x5f1808['type'])}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x5cfcdf(0x2aa)],{'showIfEllipsis':!![],'title':_0x5f1808[_0x5cfcdf(0x2b1)],'asChild':!![],'children':(0x0,react_jsx_runtime[_0x5cfcdf(0x1dc)])(_0x5cfcdf(0x2a6),{'className':'univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0x5f1808['name']})})]}),(0x0,react_jsx_runtime[_0x5cfcdf(0x1dc)])(_0x5cfcdf(0x2a6),{'className':_0x5cfcdf(0x1a4),'children':(0x0,react_jsx_runtime['jsx'])(_univerjs_icons[_0x5cfcdf(0x298)],{})})]})},_0x494649);})})});}const DOCX=_0xae8de0(0x2df),XLSX=_0xae8de0(0x1b7),XLSM='application/vnd.ms-excel.sheet.macroEnabled.12',XLTX=_0xae8de0(0x221),PPTX='application/vnd.openxmlformats-officedocument.presentationml.presentation',UNIT_CONTENT_TYPE={[_univerjs_core[_0xae8de0(0x26e)][_0xae8de0(0x2c3)]]:[''],[_univerjs_core['UniverInstanceType']['UNIVER_DOC']]:[DOCX],[_univerjs_core[_0xae8de0(0x26e)]['UNIVER_SHEET']]:[XLSX,XLSM,XLTX],[_univerjs_core[_0xae8de0(0x26e)][_0xae8de0(0x27b)]]:[PPTX],[_univerjs_core[_0xae8de0(0x26e)][_0xae8de0(0x291)]]:[''],[_univerjs_core[_0xae8de0(0x26e)][_0xae8de0(0x1a0)]]:['']},CONTENT_TYPE_EXTNAME={[DOCX]:_0xae8de0(0x20f),[XLSX]:'xlsx',[XLSM]:_0xae8de0(0x2bd),[XLTX]:'xltx',[PPTX]:_0xae8de0(0x301)};function downloadFileByURL(_0x4a14aa,_0x14d1fb,_0x522d9a){const _0x1b50ce=_0xae8de0,_0x3b1ed1=document['createElement']('a');_0x3b1ed1[_0x1b50ce(0x23a)]=_0x4a14aa,_0x3b1ed1[_0x1b50ce(0x278)][_0x1b50ce(0x290)]=_0x1b50ce(0x283),_0x3b1ed1[_0x1b50ce(0x1ee)]=_0x14d1fb+'.'+_0x522d9a,document['body'][_0x1b50ce(0x2ca)](_0x3b1ed1),_0x3b1ed1[_0x1b50ce(0x233)](),document[_0x1b50ce(0x2c8)][_0x1b50ce(0x196)](_0x3b1ed1);}function downloadFile(_0x461c47,_0x1d30fc,_0x290a8c){const _0x231b36=_0xae8de0,_0x3186c1=URL['createObjectURL'](_0x461c47);downloadFileByURL(_0x3186c1,_0x1d30fc,_0x290a8c),URL[_0x231b36(0x23b)](_0x3186c1);}function getUniverInstanceTypeByFile(_0x2a2aea){const _0x4f47e2=_0xae8de0,_0x5dc48e=_0x2a2aea[_0x4f47e2(0x2b1)]['split']('.')[_0x4f47e2(0x19c)]();if(!_0x5dc48e)return _univerjs_core['UniverInstanceType'][_0x4f47e2(0x2c3)];const _0x4299b8=getUnitTypeList();let _0x2b14ba=_univerjs_core[_0x4f47e2(0x26e)][_0x4f47e2(0x2c3)];return _0x4299b8[_0x4f47e2(0x1c8)](_0x14cad1=>{if(isUniverInstanceTypeFileByExt(_0x5dc48e,_0x14cad1))return _0x2b14ba=_0x14cad1,!![];return![];}),_0x2b14ba;}function getUnitTypeList(){const _0x7d8a9e=_0xae8de0;return Object[_0x7d8a9e(0x206)](_univerjs_core[_0x7d8a9e(0x26e)])[_0x7d8a9e(0x30e)](_0x231384=>typeof _0x231384===_0x7d8a9e(0x1f4));}function isUniverInstanceTypeFileByExt(_0xac4f40,_0x28829f){const _0x14aeff=_0xae8de0;return UNIT_CONTENT_TYPE[_0x28829f]['map'](_0x45b034=>(CONTENT_TYPE_EXTNAME[_0x45b034]||'')['toLowerCase']())[_0x14aeff(0x1f2)](_0xac4f40[_0x14aeff(0x2ac)]());}function getUploadFile(_0x2c25de,_0x1da5ea=![]){const _0x360968=_0xae8de0,_0x4d10f2=_0x2c25de[_0x360968(0x1cd)](_0xa0ece1=>UNIT_CONTENT_TYPE[_0xa0ece1])[_0x360968(0x2a3)](',');return new Promise((_0xf2881a,_0x54a9e7)=>{const _0x44ae6a=_0x360968,_0xc6dc04=document[_0x44ae6a(0x2d3)](_0x44ae6a(0x198));_0xc6dc04[_0x44ae6a(0x241)]=_0x44ae6a(0x20e),_0xc6dc04[_0x44ae6a(0x2c9)]=_0x4d10f2,_0xc6dc04[_0x44ae6a(0x19d)]=_0x1da5ea,_0xc6dc04[_0x44ae6a(0x22b)]('change',_0x2b8201=>{const _0x5053c4=_0x44ae6a,_0x152d10=_0x2b8201[_0x5053c4(0x24f)];if(!_0x152d10[_0x5053c4(0x1c3)]||_0x152d10[_0x5053c4(0x1c3)][_0x5053c4(0x19f)]===0x0){_0x54a9e7(null);throw new Error(_0x5053c4(0x1be));}_0xf2881a(_0x152d10['files']);}),_0xc6dc04[_0x44ae6a(0x233)]();});}async function getFileByURL(_0x2f30de,_0x2f4281){const _0x3ebd32=_0xae8de0;try{var _0x3f2bd2,_0x5a0637,_0x39305f;const _0x4a1d68=await _0x2f4281[_0x3ebd32(0x214)](_0x2f30de,{'responseType':_0x3ebd32(0x1dd)}),_0x202a97=_0x4a1d68[_0x3ebd32(0x2c8)],_0x326d54=(_0x3f2bd2=(_0x5a0637=_0x4a1d68[_0x3ebd32(0x1de)][_0x3ebd32(0x214)](_0x3ebd32(0x26a)))===null||_0x5a0637===void 0x0?void 0x0:_0x5a0637[_0x3ebd32(0x2a3)](',\x20'))!==null&&_0x3f2bd2!==void 0x0?_0x3f2bd2:_0x3ebd32(0x19a);let _0x2a094c='file.'+(CONTENT_TYPE_EXTNAME[_0x326d54]||_0x3ebd32(0x1b8));const _0x1d2a85=(_0x39305f=_0x4a1d68['headers'][_0x3ebd32(0x214)](_0x3ebd32(0x23d)))===null||_0x39305f===void 0x0?void 0x0:_0x39305f[_0x3ebd32(0x2a3)](',\x20');if(_0x1d2a85){const _0x23b27c=_0x1d2a85['match'](/filename=(.+)/);if(_0x23b27c&&_0x23b27c[0x1])_0x2a094c=_0x23b27c[0x1];}else _0x2a094c=getFileNameFromURL(_0x2f30de)||_0x2a094c;return new File([_0x202a97],_0x2a094c,{'type':_0x326d54});}catch(_0x1d8c07){console[_0x3ebd32(0x30c)](_0x3ebd32(0x1d7),_0x1d8c07);return;}}function getFileNameFromURL(_0x39c84d){const _0x1e82a3=_0xae8de0;try{return new URL(_0x39c84d)[_0x1e82a3(0x286)][_0x1e82a3(0x268)]('/')[_0x1e82a3(0x19c)]();}catch(_0x460a7e){console['error']('Error\x20getting\x20file\x20name\x20from\x20URL:',_0x460a7e);return;}}function bufferToFile(_0x6c45b8){const _0x1d2b6=_0xae8de0,_0x4c086b=new Blob([_0x6c45b8[_0x1d2b6(0x2ad)]],{'type':_0x1d2b6(0x2d1)});return new File([_0x4c086b],_0x1d2b6(0x197));}function replaceType(_0x1f5e5a,_0x50e5cc){return _0x1f5e5a['replace']('{type}',_0x50e5cc);}function replaceTaskID(_0x5f18e7,_0x4015ee){const _0x5b411b=_0xae8de0;return _0x5f18e7[_0x5b411b(0x2a7)](_0x5b411b(0x20b),_0x4015ee);}function replaceFileID(_0xbd51cb,_0x1238fd){return _0xbd51cb['replace']('{fileID}',_0x1238fd);}function __decorateParam(_0x459279,_0x3fa569){return function(_0x443b8d,_0x172d18){_0x3fa569(_0x443b8d,_0x172d18,_0x459279);};}function __decorate(_0x23d16b,_0x307571,_0x55e886,_0x5de9bd){const _0x1623a4=_0xae8de0;var _0x59663c=arguments['length'],_0xfac9ce=_0x59663c<0x3?_0x307571:_0x5de9bd===null?_0x5de9bd=Object[_0x1623a4(0x1e4)](_0x307571,_0x55e886):_0x5de9bd,_0x31a4ec;if(typeof Reflect===_0x1623a4(0x223)&&typeof Reflect[_0x1623a4(0x317)]===_0x1623a4(0x256))_0xfac9ce=Reflect['decorate'](_0x23d16b,_0x307571,_0x55e886,_0x5de9bd);else{for(var _0x48eda0=_0x23d16b[_0x1623a4(0x19f)]-0x1;_0x48eda0>=0x0;_0x48eda0--)if(_0x31a4ec=_0x23d16b[_0x48eda0])_0xfac9ce=(_0x59663c<0x3?_0x31a4ec(_0xfac9ce):_0x59663c>0x3?_0x31a4ec(_0x307571,_0x55e886,_0xfac9ce):_0x31a4ec(_0x307571,_0x55e886))||_0xfac9ce;}return _0x59663c>0x3&&_0xfac9ce&&Object['defineProperty'](_0x307571,_0x55e886,_0xfac9ce),_0xfac9ce;}const DEFAULT_EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY=_0xae8de0(0x1e6),DEFAULT_EXCHANGE_IMPORT_SERVER_URL_KEY=_0xae8de0(0x1d8),DEFAULT_EXCHANGE_EXPORT_SERVER_URL_KEY=_0xae8de0(0x2ef),DEFAULT_EXCHANGE_GET_TASK_SERVER_URL_KEY=_0xae8de0(0x1ce),DEFAULT_EXCHANGE_SIGN_URL_SERVER_URL_KEY=_0xae8de0(0x2c0),DEFAULT_EXCHANGE_MAX_TIMEOUT_TIME_KEY=0x1d4c0,IRequestService=(0x0,_univerjs_core[_0xae8de0(0x2bc)])(_0xae8de0(0x2f3));let RequestService=class RequestService{constructor(_0x24fd41,_0x2055b5){const _0x2be4b6=_0xae8de0;this[_0x2be4b6(0x270)]=_0x24fd41,this[_0x2be4b6(0x2bf)]=_0x2055b5,_defineProperty(this,'_taskInterrupted',new Set());}[_0xae8de0(0x2d8)](){}['setTaskInterrupted'](_0x160e7b){const _0x176e24=_0xae8de0;this['_taskInterrupted'][_0x176e24(0x2a4)](_0x160e7b);}['clearTaskInterrupted'](){const _0x2558bc=_0xae8de0;this['_taskInterrupted'][_0x2558bc(0x29a)]();}async[_0xae8de0(0x22c)](_0xb000a4,_0x5b6c8f=0x0,_0x47f611=![]){const _0x2bd650=_0xae8de0;if(typeof _0xb000a4==='string'){const _0x48722c=await getFileByURL(_0xb000a4,this[_0x2bd650(0x2bf)]);if(!_0x48722c)throw new Error(_0x2bd650(0x25a));_0xb000a4=_0x48722c;}_0x5b6c8f=_0x5b6c8f||_0xb000a4['size'];const _0x58cec3=new FormData();_0x58cec3['append'](_0x2bd650(0x20e),_0xb000a4);try{const _0x355353=this[_0x2bd650(0x302)]()+_0x2bd650(0x299)+_0x5b6c8f+_0x2bd650(0x229)+_univerjs_protocol[_0x2bd650(0x25c)]['HttpImport']+_0x2bd650(0x2f7)+_0x47f611,_0x1aac71={'body':_0x58cec3},_0x1b1952=(await this[_0x2bd650(0x2bf)][_0x2bd650(0x28c)](_0x355353,_0x1aac71))['body'];if(_0x1b1952[_0x2bd650(0x30c)]&&_0x1b1952['error'][_0x2bd650(0x2a2)]!==_univerjs_protocol['ErrorCode']['OK'])throw new Error(this[_0x2bd650(0x28b)](_0x2bd650(0x1fe),_0x1b1952[_0x2bd650(0x30c)]));return _0x1b1952;}catch(_0x447a2f){if(_0x447a2f instanceof Error)throw _0x447a2f;throw new Error(this[_0x2bd650(0x2be)](_0x2bd650(0x1fe),_0x447a2f));}}async[_0xae8de0(0x306)](_0x188db6){const _0x1a6102=_0xae8de0,{fileID:_0x2d497c,type:_0xe007c9,outputType:_0x37a9c3,minSheetColumnCount:_0x258393,minSheetRowCount:_0x3498f2}=_0x188db6;try{const _0xae3be2=replaceType(this['_getImportURL'](),''+_0xe007c9),_0x7dd92d={'body':{'fileID':_0x2d497c,'outputType':_0x37a9c3,'minSheetColumnCount':_0x258393,'minSheetRowCount':_0x3498f2}},_0x3a24c2=(await this[_0x1a6102(0x2bf)]['post'](_0xae3be2,_0x7dd92d))[_0x1a6102(0x2c8)];if(_0x3a24c2[_0x1a6102(0x30c)]&&_0x3a24c2[_0x1a6102(0x30c)]['code']!==_univerjs_protocol[_0x1a6102(0x251)]['OK'])return;return _0x3a24c2;}catch(_0x373c1b){return;}}async[_0xae8de0(0x269)](_0x14e69e){const _0x14e7a3=_0xae8de0,{unitID:_0x3f1a13,jsonID:_0x1f9814,type:_0x13fc5f,sscSwitch:_0x5336b8,useImageUrl:_0x4fe9f2,ignoreTableExport:_0x2ba93b}=_0x14e69e;try{const _0x13b37e=replaceType(this[_0x14e7a3(0x2a1)](),''+_0x13fc5f),_0x4cab3f={'body':{'unitID':_0x3f1a13,'jsonID':_0x1f9814,'type':_0x13fc5f,'sscSwitch':_0x5336b8,'useImageUrl':_0x4fe9f2,'ignoreTableExport':_0x2ba93b}},_0x465bf0=(await this[_0x14e7a3(0x2bf)][_0x14e7a3(0x28c)](_0x13b37e,_0x4cab3f))['body'];if(_0x465bf0[_0x14e7a3(0x30c)]&&_0x465bf0['error'][_0x14e7a3(0x2a2)]!==_univerjs_protocol[_0x14e7a3(0x251)]['OK'])return;return _0x465bf0;}catch(_0x578acc){return;}}async[_0xae8de0(0x228)](_0x4eb4a0){return new Promise((_0x3d0749,_0x5abc8f)=>{const _0x5793e3=_0x2669;try{let _0x2cd33f=0x0;const _0x41f097=replaceTaskID(this[_0x5793e3(0x1ff)](),''+_0x4eb4a0),_0x481e17=this[_0x5793e3(0x2c6)](),_0x172e25=async()=>{const _0x31d052=_0x5793e3;if(this[_0x31d052(0x2de)]['has'](_0x4eb4a0))return;const _0x1ddfb2=(await this[_0x31d052(0x2bf)]['get'](_0x41f097))[_0x31d052(0x2c8)];if(_0x1ddfb2[_0x31d052(0x30c)]&&_0x1ddfb2[_0x31d052(0x30c)][_0x31d052(0x2a2)]===_univerjs_protocol[_0x31d052(0x251)]['OK']){if(_0x1ddfb2[_0x31d052(0x276)]==='done')_0x3d0749(_0x1ddfb2);else{if(_0x1ddfb2[_0x31d052(0x276)]===_0x31d052(0x1c0)){let _0x1ff9c5=0x3e8;if(_0x2cd33f>=_0x481e17){_0x5abc8f(_0x1ddfb2);return;}else{if(_0x2cd33f>=0x7530)_0x1ff9c5=0x1388;}_0x2cd33f+=_0x1ff9c5,setTimeout(_0x172e25,_0x1ff9c5);}else _0x5abc8f(_0x1ddfb2);}}else _0x5abc8f(_0x1ddfb2);};_0x172e25();}catch(_0x50922b){_0x5abc8f(_0x50922b instanceof Error?_0x50922b:new Error(String(_0x50922b)));}});}async['signUrl'](_0x32d617){const _0x39bfc0=_0xae8de0;try{const _0x1c07cb=replaceFileID(this[_0x39bfc0(0x2b5)](),''+_0x32d617);return(await this[_0x39bfc0(0x2bf)][_0x39bfc0(0x214)](_0x1c07cb))[_0x39bfc0(0x2c8)];}catch(_0x2770e0){return;}}async[_0xae8de0(0x217)](_0x5a84ac){const _0x3513b2=_0xae8de0;try{return(await this[_0x3513b2(0x2bf)][_0x3513b2(0x214)](_0x5a84ac,{'responseType':'text'}))[_0x3513b2(0x2c8)];}catch(_0x2a2bb8){return;}}[_0xae8de0(0x28b)](_0x52d72a,_0x3b55db){const _0x2d4e9d=this['_extractErrorDetail'](_0x3b55db);if(!_0x2d4e9d)return _0x52d72a;return _0x52d72a+':\x20'+_0x2d4e9d;}[_0xae8de0(0x2be)](_0x21e6a5,_0x301270){const _0x314a7c=_0xae8de0;if(_0x301270 instanceof _univerjs_network[_0x314a7c(0x230)]){const _0x59905a=typeof _0x301270[_0x314a7c(0x276)]==='number'?''+_0x301270[_0x314a7c(0x276)]+(_0x301270[_0x314a7c(0x231)]?'\x20'+_0x301270[_0x314a7c(0x231)]:''):void 0x0,_0x5b6004=this['_extractErrorDetail'](_0x301270[_0x314a7c(0x30c)]);if(_0x59905a&&_0x5b6004)return _0x21e6a5+':\x20HTTP\x20'+_0x59905a+_0x314a7c(0x1b9)+_0x5b6004;if(_0x59905a)return _0x21e6a5+':\x20HTTP\x20'+_0x59905a;if(_0x5b6004)return _0x21e6a5+':\x20'+_0x5b6004;return _0x21e6a5;}const _0x230a02=this[_0x314a7c(0x281)](_0x301270);if(!_0x230a02)return _0x21e6a5;return _0x21e6a5+':\x20'+_0x230a02;}[_0xae8de0(0x281)](_0x343aa2){const _0x3163ec=_0xae8de0;if(typeof _0x343aa2===_0x3163ec(0x257)){const _0x16cc16=_0x343aa2[_0x3163ec(0x234)]();return _0x16cc16[_0x3163ec(0x19f)]>0x0?_0x16cc16:void 0x0;}if(_0x343aa2 instanceof Error)return this[_0x3163ec(0x281)](_0x343aa2[_0x3163ec(0x307)]);if(!_0x343aa2||typeof _0x343aa2!==_0x3163ec(0x223)||Array['isArray'](_0x343aa2))return;const _0x10f1bf=_0x343aa2,_0x23ec25=this[_0x3163ec(0x281)](_0x10f1bf[_0x3163ec(0x307)]);if(_0x23ec25)return _0x23ec25;if(_0x10f1bf[_0x3163ec(0x30c)]&&typeof _0x10f1bf[_0x3163ec(0x30c)]==='object'&&!Array[_0x3163ec(0x207)](_0x10f1bf[_0x3163ec(0x30c)])){const _0x301300=this[_0x3163ec(0x281)](_0x10f1bf[_0x3163ec(0x30c)]);if(_0x301300)return _0x301300;}}['_getUploadFileURL'](){const _0x3bb684=_0xae8de0;var _0x2b0d98;const _0x4cbe3a=this[_0x3bb684(0x270)][_0x3bb684(0x20c)](EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY);return(_0x2b0d98=_0x4cbe3a===null||_0x4cbe3a===void 0x0?void 0x0:_0x4cbe3a[_0x3bb684(0x211)])!==null&&_0x2b0d98!==void 0x0?_0x2b0d98:DEFAULT_EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY;}[_0xae8de0(0x2cf)](){const _0x8c4cb7=_0xae8de0;var _0x5eeef0;const _0x5682d0=this[_0x8c4cb7(0x270)]['getConfig'](EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY);return(_0x5eeef0=_0x5682d0===null||_0x5682d0===void 0x0?void 0x0:_0x5682d0[_0x8c4cb7(0x1fd)])!==null&&_0x5eeef0!==void 0x0?_0x5eeef0:DEFAULT_EXCHANGE_IMPORT_SERVER_URL_KEY;}[_0xae8de0(0x2a1)](){const _0x57f192=_0xae8de0;var _0x55aa6c;const _0x17e81b=this['_configService'][_0x57f192(0x20c)](EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY);return(_0x55aa6c=_0x17e81b===null||_0x17e81b===void 0x0?void 0x0:_0x17e81b[_0x57f192(0x27a)])!==null&&_0x55aa6c!==void 0x0?_0x55aa6c:DEFAULT_EXCHANGE_EXPORT_SERVER_URL_KEY;}[_0xae8de0(0x1ff)](){const _0x5477ee=_0xae8de0;var _0x10ecdd;const _0x51a007=this[_0x5477ee(0x270)]['getConfig'](EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY);return(_0x10ecdd=_0x51a007===null||_0x51a007===void 0x0?void 0x0:_0x51a007['getTaskServerUrl'])!==null&&_0x10ecdd!==void 0x0?_0x10ecdd:DEFAULT_EXCHANGE_GET_TASK_SERVER_URL_KEY;}[_0xae8de0(0x2b5)](){const _0x21d64c=_0xae8de0;var _0x182150;const _0x54de05=this['_configService'][_0x21d64c(0x20c)](EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY);return(_0x182150=_0x54de05===null||_0x54de05===void 0x0?void 0x0:_0x54de05[_0x21d64c(0x289)])!==null&&_0x182150!==void 0x0?_0x182150:DEFAULT_EXCHANGE_SIGN_URL_SERVER_URL_KEY;}[_0xae8de0(0x2c6)](){const _0x4985d7=_0xae8de0;var _0x1df9df;const _0x44b5e2=this[_0x4985d7(0x270)][_0x4985d7(0x20c)](EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY);return(_0x1df9df=_0x44b5e2===null||_0x44b5e2===void 0x0?void 0x0:_0x44b5e2[_0x4985d7(0x295)])!==null&&_0x1df9df!==void 0x0?_0x1df9df:DEFAULT_EXCHANGE_MAX_TIMEOUT_TIME_KEY;}};RequestService=__decorate([__decorateParam(0x0,_univerjs_core[_0xae8de0(0x1b3)]),__decorateParam(0x1,(0x0,_univerjs_core[_0xae8de0(0x2fd)])(_univerjs_network[_0xae8de0(0x1cc)]))],RequestService);function transformWorkbookSnapshotMetaToString(_0x3ae6b6){const _0x167400=_0xae8de0,_0x1a6fba=_0x3ae6b6[_0x167400(0x1cb)];if(!_0x1a6fba)return null;const _0x73bf93={};if(_0x1a6fba['sheets'])Object['keys'](_0x1a6fba[_0x167400(0x1da)])[_0x167400(0x30a)](_0xeec347=>{const _0x38c3a0=_0x167400,_0x4725e6=_0x1a6fba[_0x38c3a0(0x1da)][_0xeec347];_0x73bf93[_0xeec347]={..._0x4725e6,'originalMeta':(0x0,_univerjs_pro_collaboration[_0x38c3a0(0x1ca)])(_univerjs_pro_collaboration[_0x38c3a0(0x252)]['decode'](_0x4725e6['originalMeta']))};});const _0x2ad5b1=(0x0,_univerjs_pro_collaboration[_0x167400(0x1ca)])(_univerjs_pro_collaboration[_0x167400(0x252)][_0x167400(0x218)](_0x1a6fba[_0x167400(0x2f4)]));return{..._0x3ae6b6,'workbook':{..._0x1a6fba,'originalMeta':_0x2ad5b1,'sheets':_0x73bf93},'doc':{}};}function transformDocumentSnapshotMetaToString(_0x31fd3d){const _0x26fe71=_0xae8de0,_0x31c32a=_0x31fd3d[_0x26fe71(0x1f1)];if(!_0x31c32a)return null;const _0x34fb2c=(0x0,_univerjs_pro_collaboration[_0x26fe71(0x1ca)])(_univerjs_pro_collaboration[_0x26fe71(0x252)][_0x26fe71(0x218)](_0x31c32a['originalMeta']));return{..._0x31fd3d,'workbook':{},'doc':{..._0x31c32a,'originalMeta':_0x34fb2c}};}function transformSheetBlockMetaToString(_0x1e3db7){const _0x5ed46d=_0xae8de0,_0x5c8b59={};return _0x1e3db7[_0x5ed46d(0x30a)](_0x428858=>{const _0x5e869d=_0x5ed46d;_0x5c8b59[_0x428858['id']]={..._0x428858,'data':(0x0,_univerjs_pro_collaboration[_0x5e869d(0x1ca)])(_univerjs_pro_collaboration['textDecoder'][_0x5e869d(0x218)](_0x428858[_0x5e869d(0x250)]))};}),_0x5c8b59;}async function transformWorkbookDataToSnapshotJson(_0x4c785b){const _0x187eb1=_0xae8de0;var _0x2cd010;const _0x114a6b={'metadata':void 0x0},_0x4677e2=_0x4c785b['id'],_0x22b011=(_0x2cd010=_0x4c785b[_0x187eb1(0x227)])!==null&&_0x2cd010!==void 0x0?_0x2cd010:0x0,_0x406e7d=new ClientSnapshotServerService(),{snapshot:_0xb68d68}=await(0x0,_univerjs_pro_collaboration[_0x187eb1(0x199)])(_0x114a6b,_0x4c785b,_0x4677e2,_0x22b011,_0x406e7d),_0x4fd895=await(0x0,_univerjs_pro_collaboration[_0x187eb1(0x1fc)])(_0xb68d68,_0x406e7d),_0x41a899=transformWorkbookSnapshotMetaToString(_0xb68d68);if(!_0x41a899)throw new Error(_0x187eb1(0x27c));return{'snapshot':_0x41a899,'sheetBlocks':transformSheetBlockMetaToString(_0x4fd895)};}async function transformDocumentDataToSnapshotJson(_0x4d6c72){const _0x5e5fff=_0xae8de0;var _0x368a0f;const _0x56ee0f={'metadata':void 0x0},_0x25eea5=_0x4d6c72['id'],{snapshot:_0x449898}=await(0x0,_univerjs_pro_collaboration[_0x5e5fff(0x29b)])(_0x56ee0f,_0x4d6c72,_0x25eea5,(_0x368a0f=_0x4d6c72['rev'])!==null&&_0x368a0f!==void 0x0?_0x368a0f:0x0,new ClientSnapshotServerService()),_0x53fb51=transformDocumentSnapshotMetaToString(_0x449898);if(!_0x53fb51)throw new Error(_0x5e5fff(0x27c));return{'snapshot':_0x53fb51,'sheetBlocks':{}};}async function transformSnapshotJsonToWorkbookData(_0x46adb6){const _0x5874d2=_0xae8de0,_0x58aad6=_0x46adb6['snapshot'],_0x4993d0=_0x46adb6[_0x5874d2(0x2c5)]||{};return await(0x0,_univerjs_pro_collaboration[_0x5874d2(0x2af)])(_0x58aad6,Object['keys'](_0x4993d0)[_0x5874d2(0x1cd)](_0x386233=>_0x4993d0[_0x386233])[_0x5874d2(0x1cd)](_0x2f81b1=>{const _0x31d89d=_0x5874d2;return{..._0x2f81b1,'data':_0x2f81b1[_0x31d89d(0x250)]?JSON[_0x31d89d(0x1f7)]((0x0,_univerjs_pro_collaboration['b64DecodeUnicode'])(_0x2f81b1[_0x31d89d(0x250)])):void 0x0};}));}function _0x5023(){const _0x31a40e=['number','Injector','getUnitOnRev','parse','default','_exportBySnapshot','useEffect','1892430DoxcFI','getSheetBlocksFromSnapshot','importServerUrl','upload\x20request\x20failed','_getTaskURL','saveChangeset','_getEnableServerSideComputing','transformDocumentDataToSnapshotJson','exchange-client.config','unsubscribe','asObservable','values','isArray','textEncoder','_getUnitJson','pushLink','{taskID}','getConfig','registerLink','file','docx','defineProperty','uploadFileServerUrl','subscribe','_logService','get','hide','_getMinSheetRowCount','getTextFromUrl','decode','jsxs','_refresh','sign\x20url\x20error','exchange.networkError','_progress$','exchange.uploading','importWorkbookDataToUnitId','univer-mt-3\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-2\x20univer-pr-1','application/vnd.openxmlformats-officedocument.spreadsheetml.template','20yLhYmq','object','taskID','univer-h-6\x20univer-text-2xl','MessageType','rev','getTask','&source=','title','addEventListener','upload','outputType','univer-text-red-500','exchange.unknownMistake','HTTPResponseError','statusText','complete','click','trim','_export','getSnapshot','clsx','searchParams','visible$','href','revokeObjectURL','resolve','content-disposition','LocaleService','shift','_getIgnoreTableExport','type','importXLSXToUnitId','_getMinSheetColumnCount','univer-pl-2\x20univer-pr-4','.json','_registerComponents','univer-flex\x20univer-h-5\x20univer-text-xl','snapshot','_localeService','success','Subject','symbol','UNIVER_SHEET','univer-flex','currentTarget','data','ErrorCode','textDecoder','_uploadNotificationService','prototype','updateSnapshot','function','string','UniverExchangeClientPlugin','univer-pro.exchange-client.operate.service','upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url','options','FileSource','BehaviorSubject','_univerInstanceService','fileID','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','_visible$','Error','_list$','2794302mYNnxI','_completeProgress','Failed\x20to\x20get\x20taskID\x20from\x20import\x20response','_showNetworkError','split','export','Content-Type','importFileToUnitId','exchange.uploadSuccessTip','_getUnitIDDoc','UniverInstanceType','exchange.fileTypeError','_configService','getUnitId','setConfig','2403SqhTYm','clearTaskInterrupted','useObservable','status','exchange.wait','style','updateState','exportServerUrl','UNIVER_SLIDE','Failed\x20to\x20transform\x20snapshot\x20to\x20string','importDOCXToUnitId','_requestService','_getUnitDocJson','IMessageService','_extractErrorDetail','pluginName','none','resolveWithBasePath','minSheetRowCount','pathname','ExchangeService','UNIVER_EXCHANGE_CLIENT_PLUGIN','signUrlServerUrl','38RrEthX','_buildProtocolErrorMessage','post','_state$','univer-pro.exchange-client.upload-notification.service','_requestState$','display','UNIVER_PROJECT','182424cMQoyi','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2','55122QvjVZR','maxTimeoutTime','UploadNotificationService','20gCpNyD','ShareRangeIcon','?size=','clear','transformDocumentDataToSnapshot','_uploadTaskNotDone','getSheetBlock','univer-text-green-500','toPrimitive','INTERNAL_ERROR','_getExportURL','code','join','add','unitID','span','replace','Module','_emitProgress','Tooltip','217kbTSyd','toLowerCase','buffer','registerComponent','transformSnapshotToWorkbookData','Success','name','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','getCurrentUnitForType','unit','_getSignURL','transformSnapshotJsonToDocumentData','DocMultiIcon','SlideMultiIcon','IUniverInstanceService','_addDoneTask','univer-ml-1.5\x20univer-font-semibold\x20univer-leading-6\x20univer-text-gray-900\x20dark:!univer-text-white','createIdentifier','xlsm','_buildHttpErrorMessage','_httpService','/universer-api/file/{fileID}/sign-url','registerDependencies','requestState$','UNIVER_UNKNOWN','useState','sheetBlocks','_getMaxPollingTime','scrollbarClassName','body','accept','appendChild','_getLinkByUnitId','IUploadNotificationService','_addTotalCount','show','_getImportURL','univer-mt-5\x20univer-flex\x20univer-flex-col','application/json','Info','createElement','onStarting','SUCCESS','origin','list$','dispose','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','101800HJCptW','_importToSnapshot','_list','_blank','_taskInterrupted','application/vnd.openxmlformats-officedocument.wordprocessingml.document','connectInjector','UNDEFINED','transformWorkbookDataToSnapshotJson','Failed\x20to\x20get\x20text\x20from\x20url','transformSnapshotToDocumentData','encode','progress$','univer-pro.exchange-client.exchange.service','UniverNetworkPlugin','_exchangeService','_sheetBlockCache','_uiPartsService','workbook.json','_totalUploadTaskCount','_messageService','/universer-api/exchange/{type}/export','UPLOADING','signUrl','stringify','univer-pro.exchange-client.request.service','originalMeta','noreferrer','getLatestCsReqIdBySid','&flate=','upload\x20failed:\x20FileId\x20is\x20empty','univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','ExchangeOperateService','IUIPartsService','exportXLSXBySnapshot','Inject','Failed\x20to\x20get\x20fileID\x20from\x20task','_config','_importFileToUnitId','pptx','_getUploadFileURL','downloadEndpointUrl','merge','exportDOCXByUnitId','import','message','interruptImportTask','getDeserializedSheetBlock','forEach','transformSnapshotJsonToWorkbookData','error','univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','filter','SuccessIcon','_fileTypeError','Failed\x20to\x20get\x20file\x20from\x20url','IRequestService','UploadNotificationState','state$','UNIVER_DOC','_getUnitID','decorate','DependentOn','_showDownloadMessage','Method\x20not\x20implemented.','set','next','_injector','removeChild','file.json','input','transformWorkbookDataToSnapshot','application/octet-stream','exportDOCXBySnapshot','pop','multiple','_import','length','UNRECOGNIZED','Warning','FileId','33pDIYHH','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','ignoreTableExport','toString','catch','fetchMissingChangesets','useDependency','_signUrl','IExchangeOperateService','exchange.downloading','minSheetColumnCount','uploadFileToUnitId','Disposable','_doneUploadTaskCount','exchange.uploadSuccess','disableCellImageConversion','IConfigService','exportXLSXByUnitId','_showUploadMessage','importXLSXToSnapshot','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','xlsx','\x20-\x20','import\x20error','button','2515494inqlrV','exchange.tooLarge','No\x20file\x20selected','min','pending','version','_clearProgress','files','univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden','BuiltInUIPart','Failed\x20to\x20get\x20jsonID\x20from\x20task','_getUnitName','some','UploadNotificationContainer','b64EncodeUnicode','workbook','HTTPService','map','/universer-api/exchange/task/{taskID}','Failed\x20to\x20parse\x20json','exchange.uploadAgain','importDOCXToSnapshot','exchange.downloadSuccess','iterator','univer-mx-0\x20univer-mb-3\x20univer-mt-4\x20univer-h-1.5\x20univer-w-[324px]\x20univer-rounded-lg\x20univer-bg-gray-200','interrupt','CloseIcon','Error\x20fetching\x20file\x20from\x20URL:','/universer-api/exchange/{type}/import','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','sheets','blockID','jsx','blob','headers','ERROR','Get\x20outputType\x20error','getUploadFile','_importTaskId','disposeWithMe','getOwnPropertyDescriptor','exchange.internalError','/universer-api/stream/file/upload','Failed\x20to\x20get\x20unitID\x20from\x20task','getCurrentUnitOfType','div','block\x20is\x20required','call','_upload','_getDisableCellImageConversion','download','ClockIcon','Plugin','doc','includes','floor'];_0x5023=function(){return _0x31a40e;};return _0x5023();}function transformSnapshotJsonToDocumentData(_0x285d63){const _0x3eba4a=_0xae8de0,_0x42bf62=_0x285d63[_0x3eba4a(0x248)];return(0x0,_univerjs_pro_collaboration[_0x3eba4a(0x2e4)])(_0x42bf62);}var ClientSnapshotServerService=class{constructor(){const _0x5b9130=_0xae8de0;_defineProperty(this,_0x5b9130(0x2ea),new Map());}[_0xae8de0(0x1f6)](){const _0x280566=_0xae8de0;return Promise['resolve']({'snapshot':{'unitID':'','type':_univerjs_core['UniverInstanceType'][_0x280566(0x24d)],'rev':0x0,'workbook':void 0x0,'doc':void 0x0},'changesets':[],'error':{'code':_univerjs_protocol[_0x280566(0x251)]['OK'],'message':''}});}[_0xae8de0(0x29d)](_0x5edc5e,_0xa09a3e){const _0x41a563=_0xae8de0,_0xc26140=this[_0x41a563(0x2ea)]['get'](_0xa09a3e[_0x41a563(0x1db)]);return Promise[_0x41a563(0x23c)]({'block':_0xc26140,'error':{'code':_univerjs_protocol[_0x41a563(0x251)]['OK'],'message':''}});}[_0xae8de0(0x309)](_0x238177,_0x130aa7){const _0x2992a9=_0xae8de0,_0x36dc6d=this['_sheetBlockCache'][_0x2992a9(0x214)](_0x130aa7['blockID']);return Promise[_0x2992a9(0x23c)]({'block':_0x36dc6d===void 0x0?void 0x0:{..._0x36dc6d,'data':JSON[_0x2992a9(0x1f7)](_univerjs_pro_collaboration[_0x2992a9(0x252)]['decode'](_0x36dc6d['data']))},'error':{'code':_univerjs_protocol['ErrorCode']['OK'],'message':''}});}[_0xae8de0(0x1a8)](){const _0x17c1ae=_0xae8de0;return Promise[_0x17c1ae(0x23c)]({'changesets':[],'error':{'code':_univerjs_protocol['ErrorCode']['OK'],'message':''}});}['getResourcesRequest'](){const _0x517883=_0xae8de0;return Promise['resolve']({'resources':{},'error':{'code':_univerjs_protocol[_0x517883(0x251)]['OK'],'message':''}});}['saveSnapshot'](){const _0x33d2e8=_0xae8de0;return Promise[_0x33d2e8(0x23c)]({'error':{'code':_univerjs_protocol[_0x33d2e8(0x251)]['OK'],'message':''}});}[_0xae8de0(0x255)](){const _0x2d0b2c=_0xae8de0;return Promise[_0x2d0b2c(0x23c)]({'error':{'code':_univerjs_protocol[_0x2d0b2c(0x251)]['OK'],'message':''}});}['saveSheetBlock'](_0x291a0d,_0x4e063c){const _0x512ebd=_0xae8de0,{block:_0x2744f2}=_0x4e063c;if(!_0x2744f2)return Promise['resolve']({'error':{'code':_univerjs_protocol[_0x512ebd(0x251)][_0x512ebd(0x2e1)],'message':_0x512ebd(0x1ea)},'blockID':''});return this[_0x512ebd(0x2ea)][_0x512ebd(0x31b)](_0x2744f2['id'],_0x2744f2),Promise[_0x512ebd(0x23c)]({'error':{'code':_univerjs_protocol[_0x512ebd(0x251)]['OK'],'message':''},'blockID':_0x2744f2['id']});}[_0xae8de0(0x200)](){const _0x40eb8c=_0xae8de0;return Promise[_0x40eb8c(0x23c)]({'error':{'code':_univerjs_protocol[_0x40eb8c(0x251)]['OK'],'message':''},'concurrent':[]});}['copyFileMeta'](){const _0x329468=_0xae8de0;return Promise[_0x329468(0x23c)]({'error':void 0x0,'fileMetaId':''});}[_0xae8de0(0x2f6)](){const _0x573545=_0xae8de0;return Promise[_0x573545(0x23c)]({'error':void 0x0,'latestReqID':0x0});}};const IExchangeService=(0x0,_univerjs_core[_0xae8de0(0x2bc)])(_0xae8de0(0x2e7));let ExchangeService=class ExchangeService extends _univerjs_core['Disposable']{constructor(_0xb4bc56,_0x40b606,_0x143bdb){const _0x2b1a3d=_0xae8de0;super(),this[_0x2b1a3d(0x270)]=_0xb4bc56,this[_0x2b1a3d(0x2bf)]=_0x40b606,this[_0x2b1a3d(0x27e)]=_0x143bdb,_defineProperty(this,_0x2b1a3d(0x1e2),null),_defineProperty(this,_0x2b1a3d(0x28f),new rxjs[(_0x2b1a3d(0x24b))]()),_defineProperty(this,_0x2b1a3d(0x2c2),this[_0x2b1a3d(0x28f)]['asObservable']());}[_0xae8de0(0x2d8)](){const _0x141e25=_0xae8de0;super[_0x141e25(0x2d8)](),this['_requestState$'][_0x141e25(0x232)]();}async[_0xae8de0(0x1d1)](_0x548bc1){const _0x282612=_0xae8de0,_0x7bfc2=await this[_0x282612(0x2db)](_0x548bc1,_univerjs_core[_0x282612(0x26e)][_0x282612(0x315)]);if(!_0x7bfc2||!_0x7bfc2['snapshot'])return;const _0xf2dfc2=transformSnapshotJsonToDocumentData(_0x7bfc2);if(!_0xf2dfc2)return;return _0xf2dfc2;}async['exportDOCXByUnitId'](_0x744b61){const _0x414498=_0xae8de0;return this[_0x414498(0x235)](_0x744b61,0x1,_univerjs_core[_0x414498(0x26e)][_0x414498(0x315)]);}async[_0xae8de0(0x19b)](_0x3f59aa){const _0x500796=_0xae8de0,_0xb52ee7=await transformDocumentDataToSnapshotJson(_0x3f59aa);return this[_0x500796(0x1f9)](_0xb52ee7,_univerjs_core[_0x500796(0x26e)][_0x500796(0x315)]);}async[_0xae8de0(0x1b6)](_0x2a61f7){const _0x1a34ac=_0xae8de0,_0x22a4f8=await this[_0x1a34ac(0x2db)](_0x2a61f7,_univerjs_core[_0x1a34ac(0x26e)]['UNIVER_SHEET']);if(!_0x22a4f8)return;const _0x128c01=await transformSnapshotJsonToWorkbookData(_0x22a4f8);if(!_0x128c01)return;return _0x128c01;}async[_0xae8de0(0x1b4)](_0x12d3c1){const _0x508414=_0xae8de0;return this[_0x508414(0x235)](_0x12d3c1,0x1,_univerjs_core['UniverInstanceType'][_0x508414(0x24d)]);}async[_0xae8de0(0x2fc)](_0x54d54f){const _0x18a7e6=_0xae8de0,_0x56e3af=await transformWorkbookDataToSnapshotJson(_0x54d54f);return this['_exportBySnapshot'](_0x56e3af,_univerjs_core[_0x18a7e6(0x26e)][_0x18a7e6(0x24d)]);}async['importFileToUnitId'](_0x20df5c,_0x6e4adf){const _0x45b9b9=_0xae8de0;var _0x3172bf,_0x3f61ea;const _0x42d9ad=await this['_upload'](_0x20df5c);if(!_0x42d9ad)return;const _0x3b32d1=await this[_0x45b9b9(0x19e)](_0x42d9ad,0x1,_0x6e4adf);if(!_0x3b32d1)return;this[_0x45b9b9(0x1e2)]=_0x3b32d1,this[_0x45b9b9(0x27e)][_0x45b9b9(0x274)]();const _0x1f9139=await this[_0x45b9b9(0x27e)][_0x45b9b9(0x228)](_0x3b32d1)['catch'](_0xbfb8b9=>{const _0x5c2525=_0x45b9b9;var _0x4caea3;const _0x132ff3=_0xbfb8b9 instanceof Error?_0xbfb8b9[_0x5c2525(0x307)]:(_0x4caea3=_0xbfb8b9[_0x5c2525(0x30c)])===null||_0x4caea3===void 0x0?void 0x0:_0x4caea3['message'];this['_requestState$']['next']({'error':{'code':_univerjs_protocol[_0x5c2525(0x251)][_0x5c2525(0x1a0)],'message':_0x132ff3||''},'state':0x3});});if(!_0x1f9139)return;const _0x2473b4=(_0x3172bf=_0x1f9139['import'])===null||_0x3172bf===void 0x0?void 0x0:_0x3172bf['outputType'],_0x230aa6=((_0x3f61ea=_0x1f9139[_0x45b9b9(0x306)])===null||_0x3f61ea===void 0x0?void 0x0:_0x3f61ea[_0x45b9b9(0x2a5)])||'';if(_0x2473b4!==0x1){this[_0x45b9b9(0x28f)][_0x45b9b9(0x31c)]({'error':{'code':_univerjs_protocol['ErrorCode']['UNRECOGNIZED'],'message':_0x45b9b9(0x1e0)},'state':0x3});return;}if(_0x230aa6[_0x45b9b9(0x19f)]===0x0){this[_0x45b9b9(0x28f)]['next']({'error':{'code':_univerjs_protocol[_0x45b9b9(0x251)][_0x45b9b9(0x1a0)],'message':_0x45b9b9(0x1e7)},'state':0x3});return;}return this['_requestState$'][_0x45b9b9(0x31c)]({'error':_0x1f9139[_0x45b9b9(0x30c)],'state':0x3}),_0x230aa6;}async[_0xae8de0(0x21f)](_0x424fd7){const _0x203bb0=_0xae8de0,_0x391a43=await transformWorkbookDataToSnapshotJson(_0x424fd7),_0x555d59=typeof _0x424fd7['id']===_0x203bb0(0x257)&&_0x424fd7['id'][_0x203bb0(0x234)]()?_0x424fd7['id'][_0x203bb0(0x234)]()+_0x203bb0(0x245):_0x203bb0(0x2ec),_0xa3399c=new File([JSON[_0x203bb0(0x2f2)](_0x391a43)],_0x555d59,{'type':'application/json'});return this[_0x203bb0(0x26b)](_0xa3399c,_univerjs_core[_0x203bb0(0x26e)][_0x203bb0(0x24d)]);}[_0xae8de0(0x308)](){const _0x248406=_0xae8de0;if(this[_0x248406(0x1e2)])this[_0x248406(0x27e)]['setTaskInterrupted'](this['_importTaskId']);}async['_importToSnapshot'](_0x38e7ab,_0x515347){const _0x30399f=_0xae8de0;var _0x33ed32,_0x33724e;const _0x491928=await this[_0x30399f(0x1ec)](_0x38e7ab);if(!_0x491928)return;const _0x10e42f=await this[_0x30399f(0x19e)](_0x491928,0x2,_0x515347);if(!_0x10e42f)return;this[_0x30399f(0x1e2)]=_0x10e42f,this[_0x30399f(0x27e)][_0x30399f(0x274)]();const _0x31678d=await this[_0x30399f(0x27e)][_0x30399f(0x228)](_0x10e42f)[_0x30399f(0x1a7)](_0x2541f0=>{const _0x266a1d=_0x30399f;var _0x37706a;const _0x147e24=_0x2541f0 instanceof Error?_0x2541f0[_0x266a1d(0x307)]:(_0x37706a=_0x2541f0[_0x266a1d(0x30c)])===null||_0x37706a===void 0x0?void 0x0:_0x37706a[_0x266a1d(0x307)];this['_requestState$'][_0x266a1d(0x31c)]({'error':{'code':_univerjs_protocol[_0x266a1d(0x251)][_0x266a1d(0x1a0)],'message':_0x147e24||''},'state':0x3});});if(!_0x31678d)return;const _0x414e74=(_0x33ed32=_0x31678d[_0x30399f(0x306)])===null||_0x33ed32===void 0x0?void 0x0:_0x33ed32[_0x30399f(0x22d)],_0x1b4577=((_0x33724e=_0x31678d[_0x30399f(0x306)])===null||_0x33724e===void 0x0?void 0x0:_0x33724e['jsonID'])||'';if(_0x414e74!==0x2){this['_requestState$'][_0x30399f(0x31c)]({'error':{'code':_univerjs_protocol[_0x30399f(0x251)][_0x30399f(0x1a0)],'message':_0x30399f(0x1e0)},'state':0x3});return;}if(_0x1b4577[_0x30399f(0x19f)]===0x0){this[_0x30399f(0x28f)][_0x30399f(0x31c)]({'error':{'code':_univerjs_protocol[_0x30399f(0x251)][_0x30399f(0x1a0)],'message':_0x30399f(0x1c6)},'state':0x3});return;}this[_0x30399f(0x28f)]['next']({'error':_0x31678d['error'],'state':0x3});const _0xd8c5cb=await this[_0x30399f(0x1aa)](_0x1b4577);if(!_0xd8c5cb)return;const _0x4d00e8=await this['_requestService'][_0x30399f(0x217)](_0xd8c5cb);if(!_0x4d00e8){this[_0x30399f(0x28f)]['next']({'error':{'code':_univerjs_protocol[_0x30399f(0x251)][_0x30399f(0x1a0)],'message':_0x30399f(0x2e3)},'state':0x5});return;}try{const _0x2ab048=JSON[_0x30399f(0x1f7)](_0x4d00e8);return this[_0x30399f(0x28f)][_0x30399f(0x31c)]({'error':{'code':_univerjs_protocol['ErrorCode']['OK'],'message':'success'},'state':0x5}),_0x2ab048;}catch{this[_0x30399f(0x28f)][_0x30399f(0x31c)]({'error':{'code':_univerjs_protocol[_0x30399f(0x251)][_0x30399f(0x1a0)],'message':_0x30399f(0x1cf)},'state':0x5});}}async[_0xae8de0(0x1f9)](_0x2ce27b,_0x5f5bc3){const _0x2a95bf=_0xae8de0,_0x10bbaf=JSON[_0x2a95bf(0x2f2)](_0x2ce27b),_0x51e0dd=_univerjs_pro_collaboration[_0x2a95bf(0x208)][_0x2a95bf(0x2e5)](_0x10bbaf),_0x20d91b=(0x0,fflate['deflateSync'])(_0x51e0dd),_0x1304e6=_0x51e0dd[_0x2a95bf(0x19f)],_0x49270d=bufferToFile(_0x20d91b),_0x280ab1=await this[_0x2a95bf(0x1ec)](_0x49270d,_0x1304e6,!![]);if(!_0x280ab1)return;return this[_0x2a95bf(0x235)](_0x280ab1,0x2,_0x5f5bc3);}async[_0xae8de0(0x235)](_0x4c15c3,_0x579f9e,_0x5e7dcf){const _0x3d6425=_0xae8de0;var _0x9cd40d;const _0x39b9b1=await this[_0x3d6425(0x27e)]['export']({'unitID':_0x579f9e===0x1?_0x4c15c3:'','jsonID':_0x579f9e===0x2?_0x4c15c3:'','type':_0x5e7dcf,'sscSwitch':this[_0x3d6425(0x201)](),'useImageUrl':this[_0x3d6425(0x1ed)](),'ignoreTableExport':this[_0x3d6425(0x240)]()});if(!_0x39b9b1){this[_0x3d6425(0x28f)][_0x3d6425(0x31c)]({'error':{'code':_univerjs_protocol[_0x3d6425(0x251)][_0x3d6425(0x1a0)],'message':'export\x20error'},'state':0x2});return;}this[_0x3d6425(0x28f)][_0x3d6425(0x31c)]({'error':_0x39b9b1[_0x3d6425(0x30c)],'state':0x2});if(_0x39b9b1[_0x3d6425(0x30c)]&&_0x39b9b1[_0x3d6425(0x30c)][_0x3d6425(0x2a2)]!==_univerjs_protocol[_0x3d6425(0x251)]['OK'])return;const _0x259a90=_0x39b9b1[_0x3d6425(0x224)],_0x3a827f=await this[_0x3d6425(0x27e)][_0x3d6425(0x228)](_0x259a90)[_0x3d6425(0x1a7)](_0x5ce68f=>{const _0xb4bbe2=_0x3d6425;var _0x2b8eb5;const _0x5c59e6=_0x5ce68f instanceof Error?_0x5ce68f[_0xb4bbe2(0x307)]:(_0x2b8eb5=_0x5ce68f[_0xb4bbe2(0x30c)])===null||_0x2b8eb5===void 0x0?void 0x0:_0x2b8eb5[_0xb4bbe2(0x307)];this[_0xb4bbe2(0x28f)][_0xb4bbe2(0x31c)]({'error':{'code':_univerjs_protocol['ErrorCode'][_0xb4bbe2(0x1a0)],'message':_0x5c59e6||''},'state':0x3});});if(!_0x3a827f)return;const _0x7299c4=((_0x9cd40d=_0x3a827f[_0x3d6425(0x269)])===null||_0x9cd40d===void 0x0?void 0x0:_0x9cd40d[_0x3d6425(0x25f)])||'';if(_0x7299c4[_0x3d6425(0x19f)]===0x0){this[_0x3d6425(0x28f)][_0x3d6425(0x31c)]({'error':{'code':_univerjs_protocol[_0x3d6425(0x251)][_0x3d6425(0x1a0)],'message':_0x3d6425(0x2fe)},'state':0x3});return;}this[_0x3d6425(0x28f)][_0x3d6425(0x31c)]({'error':_0x3a827f['error'],'state':0x3});const _0x9469cd=await this[_0x3d6425(0x1aa)](_0x7299c4);if(!_0x9469cd)return;const _0xe2833e=await getFileByURL(_0x9469cd,this[_0x3d6425(0x2bf)]);if(!_0xe2833e){this[_0x3d6425(0x28f)]['next']({'error':{'code':_univerjs_protocol['ErrorCode'][_0x3d6425(0x1a0)],'message':_0x3d6425(0x311)},'state':0x6});return;}return this[_0x3d6425(0x28f)][_0x3d6425(0x31c)]({'error':{'code':_univerjs_protocol[_0x3d6425(0x251)]['OK'],'message':_0x3d6425(0x24a)},'state':0x6}),_0xe2833e;}async[_0xae8de0(0x1ec)](_0x3faa7d,_0x113148,_0x5a7180){const _0x4235e9=_0xae8de0;let _0x23c280;try{_0x23c280=await this[_0x4235e9(0x27e)][_0x4235e9(0x22c)](_0x3faa7d,_0x113148,_0x5a7180);}catch(_0x598a6d){const _0x11db6d=_0x598a6d instanceof Error?_0x598a6d[_0x4235e9(0x307)]:String(_0x598a6d);this['_requestState$'][_0x4235e9(0x31c)]({'error':{'code':_univerjs_protocol[_0x4235e9(0x251)][_0x4235e9(0x1a0)],'message':_0x11db6d},'state':0x0});return;}if(!_0x23c280||typeof _0x23c280[_0x4235e9(0x1a2)]!=='string'){this[_0x4235e9(0x28f)][_0x4235e9(0x31c)]({'error':{'code':_univerjs_protocol[_0x4235e9(0x251)][_0x4235e9(0x1a0)],'message':'upload\x20failed:\x20missing\x20FileId\x20in\x20response'},'state':0x0});return;}const _0x393524=_0x23c280[_0x4235e9(0x1a2)];if(_0x393524[_0x4235e9(0x19f)]===0x0){this[_0x4235e9(0x28f)][_0x4235e9(0x31c)]({'error':{'code':_univerjs_protocol[_0x4235e9(0x251)][_0x4235e9(0x1a0)],'message':_0x4235e9(0x2f8)},'state':0x0});return;}return this[_0x4235e9(0x28f)][_0x4235e9(0x31c)]({'error':{'code':_univerjs_protocol['ErrorCode']['OK'],'message':_0x4235e9(0x24a)},'state':0x0}),_0x393524;}async[_0xae8de0(0x19e)](_0x535356,_0x4f495d,_0x1641c9){const _0xe069fc=_0xae8de0,_0x2d55b7={'fileID':_0x535356,'type':_0x1641c9,'outputType':_0x4f495d,'fileUrl':'','minSheetRowCount':this[_0xe069fc(0x216)](),'minSheetColumnCount':this[_0xe069fc(0x243)]()},_0x5a0290=await this[_0xe069fc(0x27e)]['import'](_0x2d55b7);if(!_0x5a0290){this[_0xe069fc(0x28f)][_0xe069fc(0x31c)]({'error':{'code':_univerjs_protocol[_0xe069fc(0x251)][_0xe069fc(0x1a0)],'message':_0xe069fc(0x1ba)},'state':0x1});return;}if(_0x5a0290[_0xe069fc(0x30c)]&&_0x5a0290[_0xe069fc(0x30c)][_0xe069fc(0x2a2)]!==_univerjs_protocol['ErrorCode']['OK']){this['_requestState$']['next']({'error':_0x5a0290['error'],'state':0x1});return;}const _0x12f7b3=_0x5a0290['taskID'];if(_0x12f7b3['length']===0x0){this[_0xe069fc(0x28f)][_0xe069fc(0x31c)]({'error':{'code':_univerjs_protocol['ErrorCode'][_0xe069fc(0x1a0)],'message':_0xe069fc(0x266)},'state':0x1});return;}return this[_0xe069fc(0x28f)][_0xe069fc(0x31c)]({'error':_0x5a0290[_0xe069fc(0x30c)],'state':0x1}),_0x12f7b3;}async[_0xae8de0(0x1aa)](_0x559458){const _0x1da13d=_0xae8de0,_0x145814=await this[_0x1da13d(0x27e)][_0x1da13d(0x2f1)](_0x559458);if(!_0x145814){this[_0x1da13d(0x28f)][_0x1da13d(0x31c)]({'error':{'code':_univerjs_protocol[_0x1da13d(0x251)][_0x1da13d(0x1a0)],'message':_0x1da13d(0x21b)},'state':0x4});return;}if(_0x145814[_0x1da13d(0x30c)]&&_0x145814[_0x1da13d(0x30c)][_0x1da13d(0x2a2)]!==_univerjs_protocol[_0x1da13d(0x251)]['OK']){this['_requestState$']['next']({'error':_0x145814['error'],'state':0x4});return;}const _0x2d7e8c=(0x0,_univerjs_core[_0x1da13d(0x284)])(_0x145814['url'],this['_getDownloadEndpointURL']());if(_0x2d7e8c[_0x1da13d(0x19f)]===0x0){this[_0x1da13d(0x28f)][_0x1da13d(0x31c)]({'error':{'code':_univerjs_protocol[_0x1da13d(0x251)][_0x1da13d(0x1a0)],'message':'sign\x20url\x20error'},'state':0x4});return;}return this[_0x1da13d(0x28f)][_0x1da13d(0x31c)]({'error':_0x145814[_0x1da13d(0x30c)],'state':0x4}),_0x2d7e8c;}['_getDownloadEndpointURL'](){const _0x1e22c3=_0xae8de0;var _0x4f1c38;const _0x195c98=this[_0x1e22c3(0x270)]['getConfig'](EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY);return(_0x4f1c38=_0x195c98===null||_0x195c98===void 0x0?void 0x0:_0x195c98[_0x1e22c3(0x303)])!==null&&_0x4f1c38!==void 0x0?_0x4f1c38:location[_0x1e22c3(0x2d6)];}[_0xae8de0(0x216)](){const _0x1b14b9=_0xae8de0;var _0xcf17fb,_0x36206a;const _0x2f5568=this[_0x1b14b9(0x270)][_0x1b14b9(0x20c)](EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY);return(_0xcf17fb=_0x2f5568===null||_0x2f5568===void 0x0||(_0x36206a=_0x2f5568[_0x1b14b9(0x25b)])===null||_0x36206a===void 0x0?void 0x0:_0x36206a[_0x1b14b9(0x285)])!==null&&_0xcf17fb!==void 0x0?_0xcf17fb:0x1;}[_0xae8de0(0x243)](){const _0x2ff1c1=_0xae8de0;var _0x170254,_0x373f83;const _0x2226a6=this[_0x2ff1c1(0x270)][_0x2ff1c1(0x20c)](EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY);return(_0x170254=_0x2226a6===null||_0x2226a6===void 0x0||(_0x373f83=_0x2226a6['options'])===null||_0x373f83===void 0x0?void 0x0:_0x373f83[_0x2ff1c1(0x1ad)])!==null&&_0x170254!==void 0x0?_0x170254:0x1;}[_0xae8de0(0x201)](){const _0x851ce=_0xae8de0;var _0x31e987,_0x3d4de0;const _0x201c39=this[_0x851ce(0x270)][_0x851ce(0x20c)](EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY);return(_0x31e987=_0x201c39===null||_0x201c39===void 0x0||(_0x3d4de0=_0x201c39[_0x851ce(0x25b)])===null||_0x3d4de0===void 0x0?void 0x0:_0x3d4de0['enableServerSideComputing'])!==null&&_0x31e987!==void 0x0?_0x31e987:![];}[_0xae8de0(0x1ed)](){const _0x22b5fc=_0xae8de0;var _0x57b1af,_0x1fa028;const _0x4c8686=this[_0x22b5fc(0x270)][_0x22b5fc(0x20c)](EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY);return(_0x57b1af=_0x4c8686===null||_0x4c8686===void 0x0||(_0x1fa028=_0x4c8686[_0x22b5fc(0x25b)])===null||_0x1fa028===void 0x0?void 0x0:_0x1fa028[_0x22b5fc(0x1b2)])!==null&&_0x57b1af!==void 0x0?_0x57b1af:!![];}[_0xae8de0(0x240)](){const _0x1c3486=_0xae8de0;var _0x4c1737,_0x554323;const _0x3ad37a=this[_0x1c3486(0x270)]['getConfig'](EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY);return(_0x4c1737=_0x3ad37a===null||_0x3ad37a===void 0x0||(_0x554323=_0x3ad37a[_0x1c3486(0x25b)])===null||_0x554323===void 0x0?void 0x0:_0x554323[_0x1c3486(0x1a5)])!==null&&_0x4c1737!==void 0x0?_0x4c1737:![];}};ExchangeService=__decorate([__decorateParam(0x0,_univerjs_core[_0xae8de0(0x1b3)]),__decorateParam(0x1,(0x0,_univerjs_core['Inject'])(_univerjs_network['HTTPService'])),__decorateParam(0x2,(0x0,_univerjs_core[_0xae8de0(0x2fd)])(IRequestService))],ExchangeService);const NilProgress={'done':0x0,'count':0x0},IExchangeOperateService=(0x0,_univerjs_core['createIdentifier'])(_0xae8de0(0x259));function _0x2669(_0x3ca218,_0x297441){_0x3ca218=_0x3ca218-0x195;const _0x5023e6=_0x5023();let _0x2669b7=_0x5023e6[_0x3ca218];return _0x2669b7;}let ExchangeOperateService=class ExchangeOperateService extends _univerjs_core[_0xae8de0(0x1af)]{constructor(_0x60b9d2,_0x45a7d2,_0x203243,_0x5ed6d0,_0x520052,_0xa008d4){const _0x3ccbfa=_0xae8de0;super(),this[_0x3ccbfa(0x25e)]=_0x60b9d2,this[_0x3ccbfa(0x2ee)]=_0x45a7d2,this['_localeService']=_0x203243,this[_0x3ccbfa(0x2e9)]=_0x5ed6d0,this[_0x3ccbfa(0x253)]=_0x520052,this[_0x3ccbfa(0x213)]=_0xa008d4,_defineProperty(this,'_progress$',new rxjs[(_0x3ccbfa(0x25d))](NilProgress)),_defineProperty(this,_0x3ccbfa(0x2e6),this[_0x3ccbfa(0x21d)]['asObservable']()),_defineProperty(this,_0x3ccbfa(0x2ed),0x0),_defineProperty(this,_0x3ccbfa(0x1b0),0x0),this[_0x3ccbfa(0x1e3)]((0x0,_univerjs_core['toDisposable'])(this[_0x3ccbfa(0x2e9)][_0x3ccbfa(0x2c2)]['subscribe'](_0x55919a=>{const _0x5d9254=_0x3ccbfa;var _0x553bf0;if(((_0x553bf0=_0x55919a[_0x5d9254(0x30c)])===null||_0x553bf0===void 0x0?void 0x0:_0x553bf0[_0x5d9254(0x2a2)])===_univerjs_protocol['ErrorCode']['OK'])this[_0x5d9254(0x2ba)](0x1);else this[_0x5d9254(0x267)](_0x55919a[_0x5d9254(0x30c)]);})));}['interrupt'](){const _0x376292=_0xae8de0;this[_0x376292(0x1c2)](),this['_uploadNotificationService'][_0x376292(0x279)](0x2),this[_0x376292(0x2e9)][_0x376292(0x308)]();}async[_0xae8de0(0x1ae)](_0x1c8b8){const _0x3f1aee=_0xae8de0;throw new Error(_0x3f1aee(0x31a));}async[_0xae8de0(0x27d)](){const _0x50a024=_0xae8de0,_0x1bc649=await getUploadFile([_univerjs_core['UniverInstanceType']['UNIVER_DOC']]);if(!_0x1bc649)return;if(this[_0x50a024(0x310)](_0x1bc649,_univerjs_core[_0x50a024(0x26e)][_0x50a024(0x315)]))return;return this[_0x50a024(0x300)](_0x1bc649[0x0],_univerjs_core[_0x50a024(0x26e)]['UNIVER_DOC']);}['importDOCXToSnapshot'](){const _0x21f286=_0xae8de0;throw new Error(_0x21f286(0x31a));}async['exportDOCXByUnitId'](_0x4b0d5a,_0x30e24c,_0x27a4e0){const _0x39c59c=_0xae8de0;this[_0x39c59c(0x319)](_univerjs_design[_0x39c59c(0x226)][_0x39c59c(0x2d2)]);const _0x47d56d=await this[_0x39c59c(0x2e9)][_0x39c59c(0x305)](_0x4b0d5a||this[_0x39c59c(0x26d)]());if(!_0x47d56d)return;downloadFile(_0x47d56d,_0x30e24c||this[_0x39c59c(0x1c7)](_0x47d56d),_0x39c59c(0x20f)),this['_showDownloadMessage'](_univerjs_design[_0x39c59c(0x226)][_0x39c59c(0x2b0)]);}async[_0xae8de0(0x19b)](){const _0x50ed30=_0xae8de0;this[_0x50ed30(0x319)](_univerjs_design[_0x50ed30(0x226)][_0x50ed30(0x2d2)]);const _0x44d802=await this[_0x50ed30(0x27f)](),_0xe45de=await this['_exchangeService'][_0x50ed30(0x19b)](_0x44d802);if(!_0xe45de)return;downloadFile(_0xe45de,this['_getUnitName'](_0xe45de),_0x50ed30(0x20f)),this['_showDownloadMessage'](_univerjs_design[_0x50ed30(0x226)][_0x50ed30(0x2b0)]);}async[_0xae8de0(0x242)](){const _0x43f819=_0xae8de0;if(this[_0x43f819(0x29c)]()){this['_messageService']['show']({'type':_univerjs_design['MessageType'][_0x43f819(0x1a1)],'content':this['_localeService']['t'](_0x43f819(0x21e))});return;}const _0x4934f2=await getUploadFile([_univerjs_core['UniverInstanceType'][_0x43f819(0x24d)]]);if(!_0x4934f2)return;if(this['_fileTypeError'](_0x4934f2,_univerjs_core[_0x43f819(0x26e)]['UNIVER_SHEET']))return;return this[_0x43f819(0x300)](_0x4934f2[0x0],_univerjs_core[_0x43f819(0x26e)][_0x43f819(0x24d)]);}async[_0xae8de0(0x1b6)](){const _0x13dbef=_0xae8de0;if(this[_0x13dbef(0x29c)]()){this['_messageService'][_0x13dbef(0x2ce)]({'type':_univerjs_design[_0x13dbef(0x226)][_0x13dbef(0x1a1)],'content':this[_0x13dbef(0x249)]['t']('exchange.uploading')});return;}const _0xd56a7d=await getUploadFile([_univerjs_core[_0x13dbef(0x26e)][_0x13dbef(0x24d)]]);if(!_0xd56a7d)return;this[_0x13dbef(0x1b5)](_univerjs_design['MessageType']['Info']);const _0x13809f=await this['_exchangeService'][_0x13dbef(0x1b6)](_0xd56a7d[0x0]);if(!_0x13809f)return;this['_refresh'](_0x13809f),this[_0x13dbef(0x1b5)](_univerjs_design[_0x13dbef(0x226)][_0x13dbef(0x2b0)]);}async[_0xae8de0(0x1b4)](_0x139c3b,_0x35b64d,_0x56e929){const _0x54746a=_0xae8de0;this[_0x54746a(0x319)](_univerjs_design[_0x54746a(0x226)][_0x54746a(0x2d2)]);const _0x21e6a1=await this[_0x54746a(0x2e9)][_0x54746a(0x1b4)](_0x139c3b||this[_0x54746a(0x316)]());if(!_0x21e6a1)return;downloadFile(_0x21e6a1,_0x35b64d||this[_0x54746a(0x1c7)](_0x21e6a1),_0x54746a(0x1b8)),this['_showDownloadMessage'](_univerjs_design['MessageType']['Success']);}async[_0xae8de0(0x2fc)](){const _0x16af0e=_0xae8de0;this[_0x16af0e(0x319)](_univerjs_design[_0x16af0e(0x226)][_0x16af0e(0x2d2)]);const _0x4f770c=await this[_0x16af0e(0x209)](),_0x300892=await this[_0x16af0e(0x2e9)][_0x16af0e(0x2fc)](_0x4f770c);if(!_0x300892)return;downloadFile(_0x300892,this[_0x16af0e(0x1c7)](_0x300892),_0x16af0e(0x1b8)),this['_showDownloadMessage'](_univerjs_design['MessageType']['Success']);}[_0xae8de0(0x20d)](_0x3acde8){const _0x1b47b7=_0xae8de0;this[_0x1b47b7(0x2cb)]=_0x3acde8;}async['_importFileToUnitId'](_0x1fb690,_0x50a681){const _0x7efcac=_0xae8de0;this[_0x7efcac(0x253)][_0x7efcac(0x2ce)](),this['_uploadNotificationService']['updateState'](0x0),this[_0x7efcac(0x2cd)](0x4),this[_0x7efcac(0x2ba)](0x1);const _0x3b8aaf=await this[_0x7efcac(0x2e9)][_0x7efcac(0x26b)](_0x1fb690,_0x50a681);if(!_0x3b8aaf){this['_clearProgress'](),this[_0x7efcac(0x253)][_0x7efcac(0x279)](0x2);return;}const _0x204e70={'link':this[_0x7efcac(0x2cb)](_0x3b8aaf,_0x50a681),'name':_0x1fb690[_0x7efcac(0x2b1)],'type':_0x50a681};return this[_0x7efcac(0x253)][_0x7efcac(0x20a)](_0x204e70),this[_0x7efcac(0x265)](),this[_0x7efcac(0x253)][_0x7efcac(0x279)](0x1),_0x3b8aaf;}[_0xae8de0(0x316)](){const _0x3134aa=_0xae8de0;return this[_0x3134aa(0x25e)][_0x3134aa(0x1e8)](_univerjs_core[_0x3134aa(0x26e)]['UNIVER_SHEET'])['getUnitId']();}[_0xae8de0(0x26d)](){const _0x1c4991=_0xae8de0;return this[_0x1c4991(0x25e)][_0x1c4991(0x1e8)](_univerjs_core['UniverInstanceType'][_0x1c4991(0x315)])['getUnitId']();}['_getUnitName'](_0x2b7762){const _0x34c38f=_0xae8de0;var _0x58c347;return((_0x58c347=this[_0x34c38f(0x25e)][_0x34c38f(0x1e8)](_univerjs_core[_0x34c38f(0x26e)][_0x34c38f(0x24d)]))===null||_0x58c347===void 0x0?void 0x0:_0x58c347['name'])||_0x2b7762[_0x34c38f(0x2b1)]['split']('.')[_0x34c38f(0x23f)]()||document[_0x34c38f(0x22a)];}async[_0xae8de0(0x209)](){const _0x5d08d4=_0xae8de0;return this[_0x5d08d4(0x25e)][_0x5d08d4(0x1e8)](_univerjs_core['UniverInstanceType']['UNIVER_SHEET'])[_0x5d08d4(0x236)]();}async[_0xae8de0(0x27f)](){const _0x384731=_0xae8de0;return this['_univerInstanceService']['getCurrentUnitOfType'](_univerjs_core[_0x384731(0x26e)][_0x384731(0x315)])['getSnapshot']();}['_getLinkByUnitId'](_0x3ec653,_0x2dbea2){const _0x1f13dd=_0xae8de0,_0x3c4318=new URL(window['location'][_0x1f13dd(0x23a)]);return _0x3c4318[_0x1f13dd(0x238)][_0x1f13dd(0x31b)](_0x1f13dd(0x2b4),_0x3ec653),_0x3c4318[_0x1f13dd(0x238)][_0x1f13dd(0x31b)](_0x1f13dd(0x241),''+_0x2dbea2),_0x3c4318[_0x1f13dd(0x1a6)]();}[_0xae8de0(0x21a)](_0x14df30){const _0x5be107=_0xae8de0,_0x558a01=this[_0x5be107(0x25e)][_0x5be107(0x2b3)](_univerjs_core[_0x5be107(0x26e)][_0x5be107(0x24d)])[_0x5be107(0x271)]();this[_0x5be107(0x25e)]['disposeUnit'](_0x558a01),this['_univerInstanceService']['createUnit'](_univerjs_core[_0x5be107(0x26e)][_0x5be107(0x24d)],_0x14df30);}[_0xae8de0(0x267)](_0x30088b){const _0x5139a2=_0xae8de0;if(_0x30088b){const {code:_0x3962bf}=_0x30088b;switch(_0x3962bf){case _univerjs_protocol['ErrorCode']['CONNECTOR_DATA_TOO_LARGE']:this[_0x5139a2(0x2ee)]['show']({'type':_univerjs_design['MessageType'][_0x5139a2(0x262)],'content':this[_0x5139a2(0x249)]['t'](_0x5139a2(0x1bd))});break;case _univerjs_protocol[_0x5139a2(0x251)][_0x5139a2(0x2a0)]:this['_messageService'][_0x5139a2(0x2ce)]({'type':_univerjs_design[_0x5139a2(0x226)][_0x5139a2(0x262)],'content':this[_0x5139a2(0x249)]['t'](_0x5139a2(0x1e5))});break;default:this[_0x5139a2(0x2ee)][_0x5139a2(0x2ce)]({'type':_univerjs_design[_0x5139a2(0x226)][_0x5139a2(0x262)],'content':this[_0x5139a2(0x249)]['t'](_0x5139a2(0x21c))});break;}return null;}return this[_0x5139a2(0x2ee)][_0x5139a2(0x2ce)]({'type':_univerjs_design[_0x5139a2(0x226)]['Error'],'content':this[_0x5139a2(0x249)]['t'](_0x5139a2(0x21c))}),null;}['_showDownloadMessage'](_0x2009b6){const _0xdabaf0=_0xae8de0;let _0x508720='';switch(_0x2009b6){case _univerjs_design[_0xdabaf0(0x226)][_0xdabaf0(0x2b0)]:_0x508720=this[_0xdabaf0(0x249)]['t'](_0xdabaf0(0x1d2));break;case _univerjs_design[_0xdabaf0(0x226)][_0xdabaf0(0x2d2)]:_0x508720=this[_0xdabaf0(0x249)]['t'](_0xdabaf0(0x1ac));break;default:break;}this['_messageService'][_0xdabaf0(0x2ce)]({'type':_0x2009b6,'content':_0x508720});}[_0xae8de0(0x1b5)](_0x5aa40c){const _0x5d4e05=_0xae8de0;let _0xfdef4='';switch(_0x5aa40c){case _univerjs_design['MessageType'][_0x5d4e05(0x2b0)]:_0xfdef4=this[_0x5d4e05(0x249)]['t'](_0x5d4e05(0x1b1));break;case _univerjs_design['MessageType']['Info']:_0xfdef4=this[_0x5d4e05(0x249)]['t'](_0x5d4e05(0x21e));break;default:break;}this[_0x5d4e05(0x2ee)][_0x5d4e05(0x2ce)]({'type':_0x5aa40c,'content':_0xfdef4});}[_0xae8de0(0x2a9)](){const _0x159029=_0xae8de0;this[_0x159029(0x21d)]['next']({'done':this[_0x159029(0x1b0)],'count':this['_totalUploadTaskCount']});}['_addTotalCount'](_0x54081c){const _0x330c2f=_0xae8de0;this[_0x330c2f(0x2ed)]+=_0x54081c,this['_emitProgress']();}['_addDoneTask'](_0xf336bc){const _0x217cab=_0xae8de0;this[_0x217cab(0x1b0)]+=_0xf336bc,this[_0x217cab(0x1b0)]=Math[_0x217cab(0x1bf)](this[_0x217cab(0x1b0)],this[_0x217cab(0x2ed)]),this[_0x217cab(0x2a9)]();}[_0xae8de0(0x265)](){const _0x469653=_0xae8de0;this['_doneUploadTaskCount']=this[_0x469653(0x2ed)],this['_emitProgress']();}[_0xae8de0(0x1c2)](){const _0x52ddf1=_0xae8de0;this[_0x52ddf1(0x1b0)]=0x0,this['_totalUploadTaskCount']=0x0,this[_0x52ddf1(0x2a9)]();}['_fileTypeError'](_0x48957,_0xa341a1){const _0x2b74fc=_0xae8de0,_0x34b2e4=_0x48957[0x0],_0x4a57db=_0x34b2e4['name'];if(getUniverInstanceTypeByFile(_0x34b2e4)!==_0xa341a1)return this[_0x2b74fc(0x2ee)]['show']({'type':_univerjs_design[_0x2b74fc(0x226)][_0x2b74fc(0x262)],'content':this[_0x2b74fc(0x249)]['t'](_0x2b74fc(0x26f),_0x4a57db)}),!![];return![];}['_uploadTaskNotDone'](){const _0x34311e=_0xae8de0;return this[_0x34311e(0x2ed)]!==0x0&&this[_0x34311e(0x1b0)]!==this[_0x34311e(0x2ed)];}};ExchangeOperateService=__decorate([__decorateParam(0x0,(0x0,_univerjs_core[_0xae8de0(0x2fd)])(_univerjs_core[_0xae8de0(0x2b9)])),__decorateParam(0x1,_univerjs_ui[_0xae8de0(0x280)]),__decorateParam(0x2,(0x0,_univerjs_core[_0xae8de0(0x2fd)])(_univerjs_core['LocaleService'])),__decorateParam(0x3,(0x0,_univerjs_core[_0xae8de0(0x2fd)])(IExchangeService)),__decorateParam(0x4,(0x0,_univerjs_core[_0xae8de0(0x2fd)])(IUploadNotificationService)),__decorateParam(0x5,_univerjs_core['ILogService'])],ExchangeOperateService);function UploadButton(_0x5c1f1e){const _0xc73094=_0xae8de0,{onClick:_0x5a93ef,children:_0x1830c4,className:_0x4b118e}=_0x5c1f1e;return(0x0,react_jsx_runtime[_0xc73094(0x1dc)])(_0xc73094(0x1bb),{'className':(0x0,_univerjs_design[_0xc73094(0x237)])(_0xc73094(0x260),_0x4b118e),'type':_0xc73094(0x1bb),'onClick':_0x5a93ef,'children':_0x1830c4});}function UploadAgain(){const _0x487031=_0xae8de0,_0x2fae21=(0x0,_univerjs_ui[_0x487031(0x1a9)])(IExchangeOperateService),_0xbbeb40=(0x0,_univerjs_ui[_0x487031(0x1a9)])(_univerjs_core[_0x487031(0x23e)]);function _0x5e4385(){const _0x238da2=_0x487031;_0x2fae21[_0x238da2(0x242)]();}return(0x0,react_jsx_runtime[_0x487031(0x1dc)])(UploadButton,{'onClick':_0x5e4385,'children':_0xbbeb40['t'](_0x487031(0x1d0))});}function UploadError(){const _0x164ba1=_0xae8de0;return(0x0,react_jsx_runtime['jsxs'])(_0x164ba1(0x1e9),{'className':_0x164ba1(0x2d0),'children':[(0x0,react_jsx_runtime['jsx'])('span',{'className':'univer-mb-3\x20univer-py-0\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','children':(0x0,_univerjs_ui['useDependency'])(_univerjs_core[_0x164ba1(0x23e)])['t']('exchange.interrupt')}),(0x0,react_jsx_runtime['jsx'])(UploadAgain,{})]});}function UploadSuccess(_0x503a28){const _0x219066=_0xae8de0,{count:_0x3f1c01}=_0x503a28;return(0x0,react_jsx_runtime[_0x219066(0x219)])(_0x219066(0x1e9),{'className':_0x219066(0x220),'children':[(0x0,react_jsx_runtime[_0x219066(0x1dc)])(_0x219066(0x2a6),{'className':'univer-text-sm\x20univer-text-gray-500','children':(0x0,_univerjs_ui['useDependency'])(_univerjs_core['LocaleService'])['t'](_0x219066(0x26c),''+_0x3f1c01)}),(0x0,react_jsx_runtime['jsx'])(UploadAgain,{})]});}function UploadCancel(){const _0x495ee8=_0xae8de0,_0x8ff914=(0x0,_univerjs_ui[_0x495ee8(0x1a9)])(IExchangeOperateService),_0x3d944b=(0x0,_univerjs_ui[_0x495ee8(0x1a9)])(_univerjs_core[_0x495ee8(0x23e)]);function _0x7c4d11(){const _0x46ffad=_0x495ee8;_0x8ff914[_0x46ffad(0x1d5)]();}return(0x0,react_jsx_runtime['jsx'])(UploadButton,{'onClick':_0x7c4d11,'children':_0x3d944b['t']('exchange.cancel')});}function UploadProgress(){const _0x3c9da6=_0xae8de0,{count:_0x378750,done:_0x112bf5}=(0x0,_univerjs_ui[_0x3c9da6(0x275)])((0x0,_univerjs_ui[_0x3c9da6(0x1a9)])(IExchangeOperateService)[_0x3c9da6(0x2e6)]),[_0x4914a4,_0x484c9c]=(0x0,react[_0x3c9da6(0x2c4)])(_0x378750>0x0?_0x112bf5/_0x378750:0x0);return(0x0,react[_0x3c9da6(0x1fa)])(()=>{_0x484c9c(_0x378750>0x0?_0x112bf5/_0x378750:0x0);},[_0x378750,_0x112bf5]),(0x0,react_jsx_runtime[_0x3c9da6(0x1dc)])(_0x3c9da6(0x1e9),{'className':_0x3c9da6(0x1d4),'children':(0x0,react_jsx_runtime['jsx'])(_0x3c9da6(0x1e9),{'className':'univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','style':{'width':Math[_0x3c9da6(0x1f3)](_0x4914a4*0x64)+'%'}})});}function Uploading(){const _0x442fa8=_0xae8de0;return(0x0,react_jsx_runtime[_0x442fa8(0x219)])(_0x442fa8(0x1e9),{'className':_0x442fa8(0x2d0),'children':[(0x0,react_jsx_runtime[_0x442fa8(0x1dc)])(_0x442fa8(0x2a6),{'className':'univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','children':(0x0,_univerjs_ui[_0x442fa8(0x1a9)])(_univerjs_core[_0x442fa8(0x23e)])['t'](_0x442fa8(0x277))}),(0x0,react_jsx_runtime['jsx'])(_0x442fa8(0x1e9),{'className':_0x442fa8(0x244),'children':(0x0,react_jsx_runtime[_0x442fa8(0x1dc)])(UploadProgress,{})}),(0x0,react_jsx_runtime[_0x442fa8(0x1dc)])(UploadCancel,{})]});}const iconMap={[0x1]:(0x0,react_jsx_runtime[_0xae8de0(0x1dc)])(_univerjs_icons[_0xae8de0(0x30f)],{'className':_0xae8de0(0x29e)}),[0x0]:(0x0,react_jsx_runtime[_0xae8de0(0x1dc)])(_univerjs_icons[_0xae8de0(0x1ef)],{'className':'univer-text-blue-500'}),[0x2]:(0x0,react_jsx_runtime[_0xae8de0(0x1dc)])(_univerjs_icons['ErrorIcon'],{'className':_0xae8de0(0x22e)})};function UploadNotification(){const _0x4258c6=_0xae8de0,[_0x47b3fc,_0x18488f]=(0x0,react[_0x4258c6(0x2c4)])(0x0),[_0x491f34,_0x186a74]=(0x0,react[_0x4258c6(0x2c4)])(![]),[_0x28a984,_0x4dcba6]=(0x0,react[_0x4258c6(0x2c4)])([]),_0x39ff75=(0x0,_univerjs_ui[_0x4258c6(0x1a9)])(IUploadNotificationService),_0x257a09=(0x0,_univerjs_ui[_0x4258c6(0x1a9)])(_univerjs_core[_0x4258c6(0x23e)]);(0x0,react[_0x4258c6(0x1fa)])(()=>{const _0x198457=_0x4258c6,_0x2797d3=_0x39ff75['visible$'][_0x198457(0x212)](_0xc66c42=>{_0x186a74(_0xc66c42);}),_0x3f6134=_0x39ff75[_0x198457(0x2d7)][_0x198457(0x212)](_0x5c6a81=>{_0x4dcba6(_0x5c6a81);}),_0x2493fd=_0x39ff75[_0x198457(0x314)][_0x198457(0x212)](_0x321b17=>{_0x18488f(_0x321b17);});return()=>{const _0xb0eb59=_0x198457;_0x2797d3[_0xb0eb59(0x204)](),_0x3f6134[_0xb0eb59(0x204)](),_0x2493fd['unsubscribe']();};},[]);function _0x721e2c(){_0x186a74(![]);}function _0x1f60dd(_0x16fe1f){const _0x131d21=_0x4258c6;switch(_0x16fe1f){case 0x1:return _0x257a09['t'](_0x131d21(0x1b1));case 0x0:return _0x257a09['t'](_0x131d21(0x21e));case 0x2:return _0x257a09['t'](_0x131d21(0x22f));default:return'';}}return _0x491f34&&(0x0,react_jsx_runtime['jsxs'])(_0x4258c6(0x1e9),{'className':_0x4258c6(0x2d9),'children':[(0x0,react_jsx_runtime[_0x4258c6(0x219)])(_0x4258c6(0x1e9),{'className':_0x4258c6(0x293),'children':[(0x0,react_jsx_runtime[_0x4258c6(0x219)])('span',{'className':_0x4258c6(0x24e),'children':[(0x0,react_jsx_runtime[_0x4258c6(0x1dc)])('span',{'className':_0x4258c6(0x225),'children':iconMap[_0x47b3fc]}),(0x0,react_jsx_runtime[_0x4258c6(0x1dc)])(_0x4258c6(0x2a6),{'className':_0x4258c6(0x2bb),'children':_0x1f60dd(_0x47b3fc)})]}),(0x0,react_jsx_runtime[_0x4258c6(0x1dc)])('span',{'className':_0x4258c6(0x2b2),'onClick':_0x721e2c,'children':(0x0,react_jsx_runtime[_0x4258c6(0x1dc)])(_univerjs_icons[_0x4258c6(0x1d6)],{})})]}),(0x0,react_jsx_runtime[_0x4258c6(0x219)])(_0x4258c6(0x1e9),{'children':[_0x47b3fc===0x0&&(0x0,react_jsx_runtime['jsx'])(Uploading,{}),_0x47b3fc===0x2&&(0x0,react_jsx_runtime[_0x4258c6(0x1dc)])(UploadError,{}),_0x28a984[_0x4258c6(0x19f)]>0x0&&(0x0,react_jsx_runtime[_0x4258c6(0x1dc)])(LinkList,{'list':_0x28a984}),_0x47b3fc===0x1&&(0x0,react_jsx_runtime[_0x4258c6(0x1dc)])(UploadSuccess,{'count':_0x28a984[_0x4258c6(0x19f)]})]})]});}function UploadNotificationContainer(){return(0x0,react_jsx_runtime['jsx'])(UploadNotification,{});}let ExchangeClientController=class ExchangeClientController extends _univerjs_core[_0xae8de0(0x1af)]{constructor(_0x8e452d,_0xc4c18b){const _0x43e6f2=_0xae8de0;super(),this[_0x43e6f2(0x195)]=_0x8e452d,this['_uiPartsService']=_0xc4c18b,this[_0x43e6f2(0x246)]();}[_0xae8de0(0x246)](){const _0x17808f=_0xae8de0;this['disposeWithMe'](this[_0x17808f(0x2eb)][_0x17808f(0x2ae)](_univerjs_ui[_0x17808f(0x1c5)]['CONTENT'],()=>(0x0,_univerjs_ui[_0x17808f(0x2e0)])(UploadNotificationContainer,this[_0x17808f(0x195)])));}};ExchangeClientController=__decorate([__decorateParam(0x0,(0x0,_univerjs_core['Inject'])(_univerjs_core['Injector'])),__decorateParam(0x1,_univerjs_ui[_0xae8de0(0x2fb)])],ExchangeClientController);let UniverExchangeClientPlugin=class UniverExchangeClientPlugin extends _univerjs_core[_0xae8de0(0x1f0)]{constructor(_0x13a2ae=defaultPluginConfig,_0xab9f6b,_0x1cae5d){const _0x11ef37=_0xae8de0;super(),this[_0x11ef37(0x2ff)]=_0x13a2ae,this[_0x11ef37(0x195)]=_0xab9f6b,this[_0x11ef37(0x270)]=_0x1cae5d;const {..._0x492861}=(0x0,_univerjs_core[_0x11ef37(0x304)])({},defaultPluginConfig,this[_0x11ef37(0x2ff)]);this['_configService'][_0x11ef37(0x272)](EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY,_0x492861);}[_0xae8de0(0x2d4)](){const _0x5f18e2=_0xae8de0;(0x0,_univerjs_core[_0x5f18e2(0x2c1)])(this[_0x5f18e2(0x195)],[[ExchangeClientController],[IExchangeOperateService,{'useClass':ExchangeOperateService}],[IExchangeService,{'useClass':ExchangeService}],[IRequestService,{'useClass':RequestService}],[IUploadNotificationService,{'useClass':UploadNotificationService}]]);}['onReady'](){const _0x541d88=_0xae8de0;(0x0,_univerjs_core['touchDependencies'])(this[_0x541d88(0x195)],[[ExchangeClientController],[IExchangeOperateService]]);}};_defineProperty(UniverExchangeClientPlugin,_0xae8de0(0x282),_0xae8de0(0x288)),_defineProperty(UniverExchangeClientPlugin,'packageName',name),_defineProperty(UniverExchangeClientPlugin,_0xae8de0(0x1c1),version),UniverExchangeClientPlugin=__decorate([(0x0,_univerjs_core[_0xae8de0(0x318)])(_univerjs_network[_0xae8de0(0x2e8)],_univerjs_pro_license['UniverLicensePlugin']),__decorateParam(0x1,(0x0,_univerjs_core[_0xae8de0(0x2fd)])(_univerjs_core[_0xae8de0(0x1f5)])),__decorateParam(0x2,_univerjs_core[_0xae8de0(0x1b3)])],UniverExchangeClientPlugin),exports['EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY']=EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY,Object[_0xae8de0(0x210)](exports,_0xae8de0(0x2fa),{'enumerable':!![],'get':function(){return ExchangeOperateService;}}),Object[_0xae8de0(0x210)](exports,_0xae8de0(0x287),{'enumerable':!![],'get':function(){return ExchangeService;}}),exports[_0xae8de0(0x1ab)]=IExchangeOperateService,exports['IExchangeService']=IExchangeService,exports[_0xae8de0(0x312)]=IRequestService,exports[_0xae8de0(0x2cc)]=IUploadNotificationService,Object[_0xae8de0(0x210)](exports,'RequestService',{'enumerable':!![],'get':function(){return RequestService;}}),Object[_0xae8de0(0x210)](exports,_0xae8de0(0x258),{'enumerable':!![],'get':function(){return UniverExchangeClientPlugin;}}),exports[_0xae8de0(0x1c9)]=UploadNotificationContainer,exports[_0xae8de0(0x296)]=UploadNotificationService,exports[_0xae8de0(0x313)]=UploadNotificationState,exports['downloadFile']=downloadFile,exports['getUniverInstanceTypeByFile']=getUniverInstanceTypeByFile,exports[_0xae8de0(0x1e1)]=getUploadFile,exports[_0xae8de0(0x202)]=transformDocumentDataToSnapshotJson,exports[_0xae8de0(0x2b6)]=transformSnapshotJsonToDocumentData,exports[_0xae8de0(0x30b)]=transformSnapshotJsonToWorkbookData,exports[_0xae8de0(0x2e2)]=transformWorkbookDataToSnapshotJson;
1
+ const _0x578aaf=_0x12c8;(function(_0x553eab,_0x2b0a6b){const _0x5076fd=_0x12c8,_0x267791=_0x553eab();while(!![]){try{const _0x73e4fd=parseInt(_0x5076fd(0x1e3))/0x1*(parseInt(_0x5076fd(0x23e))/0x2)+-parseInt(_0x5076fd(0x1fe))/0x3+-parseInt(_0x5076fd(0x2ec))/0x4*(-parseInt(_0x5076fd(0x257))/0x5)+parseInt(_0x5076fd(0x217))/0x6+-parseInt(_0x5076fd(0x222))/0x7+parseInt(_0x5076fd(0x2b4))/0x8+parseInt(_0x5076fd(0x238))/0x9;if(_0x73e4fd===_0x2b0a6b)break;else _0x267791['push'](_0x267791['shift']());}catch(_0x1a2af3){_0x267791['push'](_0x267791['shift']());}}}(_0xb621,0x35d5c),Object[_0x578aaf(0x350)](exports,Symbol[_0x578aaf(0x23d)],{'value':_0x578aaf(0x342)}));let _univerjs_pro_license=require('@univerjs-pro/license'),_univerjs_core=require('@univerjs/core'),_univerjs_network=require('@univerjs/network'),_univerjs_ui=require('@univerjs/ui'),_univerjs_icons=require('@univerjs/icons'),react=require('react'),rxjs=require('rxjs'),_univerjs_design=require('@univerjs/design'),react_jsx_runtime=require('react/jsx-runtime'),_univerjs_protocol=require('@univerjs/protocol'),_univerjs_pro_collaboration=require('@univerjs-pro/collaboration'),fflate=require('fflate');const EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY=_0x578aaf(0x35a),configSymbol=Symbol(EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY),defaultPluginConfig={};var name=_0x578aaf(0x1e4),version='0.22.1';function _typeof(_0x2d2f13){'@babel/helpers - typeof';const _0x2a913a=_0x578aaf;return _typeof=_0x2a913a(0x319)==typeof Symbol&&_0x2a913a(0x336)==typeof Symbol[_0x2a913a(0x30b)]?function(_0x5ebd50){return typeof _0x5ebd50;}:function(_0x2bb031){const _0x39a8d3=_0x2a913a;return _0x2bb031&&_0x39a8d3(0x319)==typeof Symbol&&_0x2bb031[_0x39a8d3(0x2d7)]===Symbol&&_0x2bb031!==Symbol[_0x39a8d3(0x2a0)]?'symbol':typeof _0x2bb031;},_typeof(_0x2d2f13);}function toPrimitive(_0x1b375b,_0x49f9c1){const _0x52c3bc=_0x578aaf;if(_0x52c3bc(0x267)!=_typeof(_0x1b375b)||!_0x1b375b)return _0x1b375b;var _0x454e1f=_0x1b375b[Symbol['toPrimitive']];if(void 0x0!==_0x454e1f){var _0x534438=_0x454e1f[_0x52c3bc(0x29e)](_0x1b375b,_0x49f9c1||_0x52c3bc(0x251));if('object'!=_typeof(_0x534438))return _0x534438;throw new TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x52c3bc(0x26f)===_0x49f9c1?String:Number)(_0x1b375b);}function toPropertyKey(_0x1712f0){const _0x4da027=_0x578aaf;var _0xd14b3d=toPrimitive(_0x1712f0,_0x4da027(0x26f));return _0x4da027(0x336)==_typeof(_0xd14b3d)?_0xd14b3d:_0xd14b3d+'';}function _defineProperty(_0x2466d7,_0x4e540d,_0xc873c7){const _0x2f5da4=_0x578aaf;return(_0x4e540d=toPropertyKey(_0x4e540d))in _0x2466d7?Object[_0x2f5da4(0x350)](_0x2466d7,_0x4e540d,{'value':_0xc873c7,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2466d7[_0x4e540d]=_0xc873c7,_0x2466d7;}let UploadNotificationState=function(_0x54dbaa){const _0x10624a=_0x578aaf;return _0x54dbaa[_0x54dbaa[_0x10624a(0x326)]=0x0]='UPLOADING',_0x54dbaa[_0x54dbaa[_0x10624a(0x28a)]=0x1]=_0x10624a(0x28a),_0x54dbaa[_0x54dbaa[_0x10624a(0x27c)]=0x2]='ERROR',_0x54dbaa;}({});const IUploadNotificationService=(0x0,_univerjs_core[_0x578aaf(0x1ff)])(_0x578aaf(0x2dd));var UploadNotificationService=class extends _univerjs_core['Disposable']{constructor(){const _0x5b5c72=_0x578aaf;super(),_defineProperty(this,_0x5b5c72(0x2d6),new rxjs['Subject']()),_defineProperty(this,_0x5b5c72(0x302),new rxjs['Subject']()),_defineProperty(this,_0x5b5c72(0x1f3),new rxjs[(_0x5b5c72(0x296))]()),_defineProperty(this,_0x5b5c72(0x21b),this[_0x5b5c72(0x2d6)][_0x5b5c72(0x1fc)]()),_defineProperty(this,_0x5b5c72(0x310),this[_0x5b5c72(0x302)][_0x5b5c72(0x1fc)]()),_defineProperty(this,_0x5b5c72(0x201),this[_0x5b5c72(0x1f3)][_0x5b5c72(0x1fc)]()),_defineProperty(this,_0x5b5c72(0x272),[]);}[_0x578aaf(0x1ed)](){const _0x4f5d67=_0x578aaf;super[_0x4f5d67(0x1ed)](),this[_0x4f5d67(0x2d6)][_0x4f5d67(0x2d8)](),this[_0x4f5d67(0x302)]['complete'](),this[_0x4f5d67(0x1f3)][_0x4f5d67(0x2d8)]();}['show'](){const _0x73be83=_0x578aaf;this[_0x73be83(0x2d6)][_0x73be83(0x277)](!![]);}[_0x578aaf(0x2e8)](){const _0x54c339=_0x578aaf;this['_visible$'][_0x54c339(0x277)](![]);}[_0x578aaf(0x228)](_0x262a1c){const _0x5c789c=_0x578aaf;this[_0x5c789c(0x302)][_0x5c789c(0x277)](_0x262a1c);}[_0x578aaf(0x330)](_0x5ebf4c){const _0x304c3d=_0x578aaf;this[_0x304c3d(0x272)][_0x304c3d(0x279)](_0x5ebf4c),this[_0x304c3d(0x1f3)][_0x304c3d(0x277)](this[_0x304c3d(0x272)]);}};function LinkList(_0x2bd7d6){const _0x2176a1=_0x578aaf,{list:_0x1bd23e}=_0x2bd7d6;function _0x576776(_0xb7752){const _0x54f14a=_0x12c8;switch(_0xb7752){case 0x1:return(0x0,react_jsx_runtime['jsx'])(_univerjs_icons[_0x54f14a(0x216)],{});case 0x2:return(0x0,react_jsx_runtime[_0x54f14a(0x2da)])(_univerjs_icons[_0x54f14a(0x328)],{});case 0x3:return(0x0,react_jsx_runtime[_0x54f14a(0x2da)])(_univerjs_icons['SlideMultiIcon'],{});default:return null;}}return(0x0,react_jsx_runtime[_0x2176a1(0x2da)])(_0x2176a1(0x292),{'className':(0x0,_univerjs_design[_0x2176a1(0x22d)])('univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden',_univerjs_design[_0x2176a1(0x212)]),'children':(0x0,react_jsx_runtime[_0x2176a1(0x2da)])('ul',{'className':'univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','children':_0x1bd23e[_0x2176a1(0x316)]((_0x46b572,_0x5256b9)=>{const _0x37a7e0=_0x2176a1;return(0x0,react_jsx_runtime[_0x37a7e0(0x2da)])('li',{'children':(0x0,react_jsx_runtime[_0x37a7e0(0x1f2)])('a',{'className':_0x37a7e0(0x20e),'href':_0x46b572[_0x37a7e0(0x1f6)],'target':_0x37a7e0(0x2dc),'rel':_0x37a7e0(0x249),'children':[(0x0,react_jsx_runtime[_0x37a7e0(0x1f2)])(_0x37a7e0(0x214),{'className':_0x37a7e0(0x2b6),'children':[(0x0,react_jsx_runtime[_0x37a7e0(0x2da)])(_0x37a7e0(0x214),{'className':_0x37a7e0(0x34e),'children':_0x576776(_0x46b572[_0x37a7e0(0x21a)])}),(0x0,react_jsx_runtime[_0x37a7e0(0x2da)])(_univerjs_design[_0x37a7e0(0x25f)],{'showIfEllipsis':!![],'title':_0x46b572['name'],'asChild':!![],'children':(0x0,react_jsx_runtime[_0x37a7e0(0x2da)])(_0x37a7e0(0x214),{'className':_0x37a7e0(0x352),'children':_0x46b572[_0x37a7e0(0x254)]})})]}),(0x0,react_jsx_runtime['jsx'])('span',{'className':_0x37a7e0(0x31f),'children':(0x0,react_jsx_runtime[_0x37a7e0(0x2da)])(_univerjs_icons[_0x37a7e0(0x218)],{})})]})},_0x5256b9);})})});}const DOCX=_0x578aaf(0x332),XLSX=_0x578aaf(0x200),XLSM=_0x578aaf(0x263),XLTX='application/vnd.openxmlformats-officedocument.spreadsheetml.template',PPTX=_0x578aaf(0x2ee),UNIT_CONTENT_TYPE={[_univerjs_core[_0x578aaf(0x301)][_0x578aaf(0x2b1)]]:[''],[_univerjs_core[_0x578aaf(0x301)][_0x578aaf(0x23c)]]:[DOCX],[_univerjs_core[_0x578aaf(0x301)][_0x578aaf(0x28f)]]:[XLSX,XLSM,XLTX],[_univerjs_core['UniverInstanceType'][_0x578aaf(0x2f5)]]:[PPTX],[_univerjs_core['UniverInstanceType']['UNIVER_PROJECT']]:[''],[_univerjs_core[_0x578aaf(0x301)][_0x578aaf(0x2b3)]]:['']},CONTENT_TYPE_EXTNAME={[DOCX]:_0x578aaf(0x1ef),[XLSX]:'xlsx',[XLSM]:_0x578aaf(0x2a4),[XLTX]:_0x578aaf(0x261),[PPTX]:_0x578aaf(0x2e1)};function downloadFileByURL(_0x56be42,_0x26924f,_0x3292bc){const _0x56bacb=_0x578aaf,_0x11c582=document['createElement']('a');_0x11c582[_0x56bacb(0x2bf)]=_0x56be42,_0x11c582[_0x56bacb(0x23f)][_0x56bacb(0x340)]=_0x56bacb(0x298),_0x11c582[_0x56bacb(0x21d)]=_0x26924f+'.'+_0x3292bc,document[_0x56bacb(0x203)][_0x56bacb(0x2f8)](_0x11c582),_0x11c582[_0x56bacb(0x29d)](),document[_0x56bacb(0x203)][_0x56bacb(0x347)](_0x11c582);}function downloadFile(_0x2d8740,_0x687d4c,_0x596a2a){const _0x20f52d=_0x578aaf,_0x5ac4a2=URL[_0x20f52d(0x1fb)](_0x2d8740);downloadFileByURL(_0x5ac4a2,_0x687d4c,_0x596a2a),URL['revokeObjectURL'](_0x5ac4a2);}function getUniverInstanceTypeByFile(_0x4bd032){const _0x42d219=_0x578aaf,_0x326d5e=_0x4bd032[_0x42d219(0x254)]['split']('.')['pop']();if(!_0x326d5e)return _univerjs_core[_0x42d219(0x301)][_0x42d219(0x2b1)];const _0x4d0b04=getUnitTypeList();let _0xc846dc=_univerjs_core['UniverInstanceType'][_0x42d219(0x2b1)];return _0x4d0b04[_0x42d219(0x20d)](_0x1e38d0=>{if(isUniverInstanceTypeFileByExt(_0x326d5e,_0x1e38d0))return _0xc846dc=_0x1e38d0,!![];return![];}),_0xc846dc;}function getUnitTypeList(){const _0x465c9e=_0x578aaf;return Object[_0x465c9e(0x207)](_univerjs_core[_0x465c9e(0x301)])[_0x465c9e(0x211)](_0x1c9970=>typeof _0x1c9970===_0x465c9e(0x27d));}function isUniverInstanceTypeFileByExt(_0x338f2c,_0x4c0f1c){const _0x38910b=_0x578aaf;return UNIT_CONTENT_TYPE[_0x4c0f1c][_0x38910b(0x316)](_0x84488f=>(CONTENT_TYPE_EXTNAME[_0x84488f]||'')[_0x38910b(0x284)]())[_0x38910b(0x34d)](_0x338f2c[_0x38910b(0x284)]());}function getUploadFile(_0x37f2df,_0x462d87=![]){const _0x595dca=_0x578aaf,_0x3c1c5a=_0x37f2df[_0x595dca(0x316)](_0xfa668f=>UNIT_CONTENT_TYPE[_0xfa668f])[_0x595dca(0x354)](',');return new Promise((_0x55bef9,_0x2e5e57)=>{const _0x4f5a7e=_0x595dca,_0x195739=document[_0x4f5a7e(0x22a)]('input');_0x195739[_0x4f5a7e(0x21a)]=_0x4f5a7e(0x2d3),_0x195739['accept']=_0x3c1c5a,_0x195739[_0x4f5a7e(0x30c)]=_0x462d87,_0x195739['addEventListener'](_0x4f5a7e(0x289),_0x2dd39e=>{const _0x59f13a=_0x4f5a7e,_0x40bae3=_0x2dd39e['currentTarget'];if(!_0x40bae3[_0x59f13a(0x290)]||_0x40bae3[_0x59f13a(0x290)][_0x59f13a(0x33f)]===0x0){_0x2e5e57(null);throw new Error(_0x59f13a(0x219));}_0x55bef9(_0x40bae3[_0x59f13a(0x290)]);}),_0x195739[_0x4f5a7e(0x29d)]();});}async function getFileByURL(_0x3136ac,_0xbf8010){const _0x254f58=_0x578aaf;try{var _0x724c40,_0x41594c,_0x53697f;const _0x2f68d7=await _0xbf8010['get'](_0x3136ac,{'responseType':_0x254f58(0x22f)}),_0x18c74f=_0x2f68d7[_0x254f58(0x203)],_0x1120df=(_0x724c40=(_0x41594c=_0x2f68d7[_0x254f58(0x2de)][_0x254f58(0x34c)](_0x254f58(0x299)))===null||_0x41594c===void 0x0?void 0x0:_0x41594c[_0x254f58(0x354)](',\x20'))!==null&&_0x724c40!==void 0x0?_0x724c40:_0x254f58(0x29b);let _0x45c609='file.'+(CONTENT_TYPE_EXTNAME[_0x1120df]||_0x254f58(0x32c));const _0x27a82f=(_0x53697f=_0x2f68d7[_0x254f58(0x2de)]['get'](_0x254f58(0x2fc)))===null||_0x53697f===void 0x0?void 0x0:_0x53697f[_0x254f58(0x354)](',\x20');if(_0x27a82f){const _0x510139=_0x27a82f['match'](/filename=(.+)/);if(_0x510139&&_0x510139[0x1])_0x45c609=_0x510139[0x1];}else _0x45c609=getFileNameFromURL(_0x3136ac)||_0x45c609;return new File([_0x18c74f],_0x45c609,{'type':_0x1120df});}catch(_0x1ae7d7){console[_0x254f58(0x25a)](_0x254f58(0x286),_0x1ae7d7);return;}}function getFileNameFromURL(_0x2f0f07){const _0x33fa48=_0x578aaf;try{return new URL(_0x2f0f07)[_0x33fa48(0x353)]['split']('/')[_0x33fa48(0x250)]();}catch(_0x44866e){console[_0x33fa48(0x25a)](_0x33fa48(0x283),_0x44866e);return;}}function bufferToFile(_0x322cd6){const _0x387617=_0x578aaf,_0x4ad900=new Blob([_0x322cd6[_0x387617(0x255)]],{'type':_0x387617(0x2e7)});return new File([_0x4ad900],_0x387617(0x234));}function replaceType(_0x212b61,_0x41bef0){const _0x18b1b5=_0x578aaf;return _0x212b61[_0x18b1b5(0x25d)](_0x18b1b5(0x348),_0x41bef0);}function replaceTaskID(_0x4132f2,_0x463c88){return _0x4132f2['replace']('{taskID}',_0x463c88);}function replaceFileID(_0x2a2cdd,_0x41f1be){const _0x19bfdb=_0x578aaf;return _0x2a2cdd[_0x19bfdb(0x25d)]('{fileID}',_0x41f1be);}function __decorateParam(_0x1def9,_0x373f6d){return function(_0x5807cc,_0x100ded){_0x373f6d(_0x5807cc,_0x100ded,_0x1def9);};}function __decorate(_0x599b87,_0x3b7882,_0x1dd887,_0x3b62ce){const _0x4001ed=_0x578aaf;var _0x924d48=arguments['length'],_0xe1154b=_0x924d48<0x3?_0x3b7882:_0x3b62ce===null?_0x3b62ce=Object[_0x4001ed(0x1fd)](_0x3b7882,_0x1dd887):_0x3b62ce,_0x5bdc94;if(typeof Reflect===_0x4001ed(0x267)&&typeof Reflect[_0x4001ed(0x282)]==='function')_0xe1154b=Reflect[_0x4001ed(0x282)](_0x599b87,_0x3b7882,_0x1dd887,_0x3b62ce);else{for(var _0x1a0e9e=_0x599b87[_0x4001ed(0x33f)]-0x1;_0x1a0e9e>=0x0;_0x1a0e9e--)if(_0x5bdc94=_0x599b87[_0x1a0e9e])_0xe1154b=(_0x924d48<0x3?_0x5bdc94(_0xe1154b):_0x924d48>0x3?_0x5bdc94(_0x3b7882,_0x1dd887,_0xe1154b):_0x5bdc94(_0x3b7882,_0x1dd887))||_0xe1154b;}return _0x924d48>0x3&&_0xe1154b&&Object[_0x4001ed(0x350)](_0x3b7882,_0x1dd887,_0xe1154b),_0xe1154b;}const DEFAULT_EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY=_0x578aaf(0x258),DEFAULT_EXCHANGE_IMPORT_SERVER_URL_KEY=_0x578aaf(0x2e9),DEFAULT_EXCHANGE_EXPORT_SERVER_URL_KEY=_0x578aaf(0x2ce),DEFAULT_EXCHANGE_GET_TASK_SERVER_URL_KEY=_0x578aaf(0x356),DEFAULT_EXCHANGE_SIGN_URL_SERVER_URL_KEY='/universer-api/file/{fileID}/sign-url',DEFAULT_EXCHANGE_MAX_TIMEOUT_TIME_KEY=0x1d4c0,IRequestService=(0x0,_univerjs_core[_0x578aaf(0x1ff)])('univer-pro.exchange-client.request.service');let RequestService=class RequestService{constructor(_0x2f17a2,_0x37efbb){const _0xfd4379=_0x578aaf;this['_configService']=_0x2f17a2,this[_0xfd4379(0x359)]=_0x37efbb,_defineProperty(this,_0xfd4379(0x241),new Set());}['dispose'](){}['setTaskInterrupted'](_0x1dd275){const _0x19de94=_0x578aaf;this[_0x19de94(0x241)][_0x19de94(0x33c)](_0x1dd275);}[_0x578aaf(0x2b7)](){const _0x3bb68d=_0x578aaf;this[_0x3bb68d(0x241)][_0x3bb68d(0x2c8)]();}async['upload'](_0xb96afe,_0x51d2c5=0x0,_0x2b6c6a=![]){const _0x3c4b78=_0x578aaf;if(typeof _0xb96afe===_0x3c4b78(0x26f)){const _0x5ae1b0=await getFileByURL(_0xb96afe,this[_0x3c4b78(0x359)]);if(!_0x5ae1b0)throw new Error(_0x3c4b78(0x28d));_0xb96afe=_0x5ae1b0;}_0x51d2c5=_0x51d2c5||_0xb96afe[_0x3c4b78(0x24d)];const _0x1ab118=new FormData();_0x1ab118['append'](_0x3c4b78(0x2d3),_0xb96afe);try{const _0x1cc413=this[_0x3c4b78(0x1e5)]()+_0x3c4b78(0x21c)+_0x51d2c5+_0x3c4b78(0x33a)+_univerjs_protocol[_0x3c4b78(0x291)]['HttpImport']+_0x3c4b78(0x294)+_0x2b6c6a,_0xb179f6={'body':_0x1ab118},_0x28a9dc=(await this[_0x3c4b78(0x359)][_0x3c4b78(0x2bd)](_0x1cc413,_0xb179f6))[_0x3c4b78(0x203)];if(_0x28a9dc[_0x3c4b78(0x25a)]&&_0x28a9dc[_0x3c4b78(0x25a)][_0x3c4b78(0x274)]!==_univerjs_protocol['ErrorCode']['OK'])throw new Error(this['_buildProtocolErrorMessage'](_0x3c4b78(0x23a),_0x28a9dc['error']));return _0x28a9dc;}catch(_0x427301){if(_0x427301 instanceof Error)throw _0x427301;throw new Error(this[_0x3c4b78(0x2f0)](_0x3c4b78(0x23a),_0x427301));}}async['import'](_0x125085){const _0x2f7fe6=_0x578aaf,{fileID:_0x44b061,type:_0x5f48e6,outputType:_0x41c68c,minSheetColumnCount:_0x1335fa,minSheetRowCount:_0x175f84}=_0x125085;try{const _0x4c701b=replaceType(this[_0x2f7fe6(0x293)](),''+_0x5f48e6),_0x4ad081={'body':{'fileID':_0x44b061,'outputType':_0x41c68c,'minSheetColumnCount':_0x1335fa,'minSheetRowCount':_0x175f84}},_0x260a10=(await this['_httpService']['post'](_0x4c701b,_0x4ad081))['body'];if(_0x260a10[_0x2f7fe6(0x25a)]&&_0x260a10[_0x2f7fe6(0x25a)][_0x2f7fe6(0x274)]!==_univerjs_protocol[_0x2f7fe6(0x28e)]['OK'])return;return _0x260a10;}catch(_0x14c736){return;}}async[_0x578aaf(0x345)](_0x1dceca){const _0x430e5a=_0x578aaf,{unitID:_0x1422da,jsonID:_0x1730c1,type:_0x313fc9,sscSwitch:_0x795edb,useImageUrl:_0x259230,ignoreTableExport:_0x2b54c7}=_0x1dceca;try{const _0x26c311=replaceType(this[_0x430e5a(0x2a6)](),''+_0x313fc9),_0x17338a={'body':{'unitID':_0x1422da,'jsonID':_0x1730c1,'type':_0x313fc9,'sscSwitch':_0x795edb,'useImageUrl':_0x259230,'ignoreTableExport':_0x2b54c7}},_0x3afd5d=(await this['_httpService'][_0x430e5a(0x2bd)](_0x26c311,_0x17338a))[_0x430e5a(0x203)];if(_0x3afd5d[_0x430e5a(0x25a)]&&_0x3afd5d[_0x430e5a(0x25a)]['code']!==_univerjs_protocol[_0x430e5a(0x28e)]['OK'])return;return _0x3afd5d;}catch(_0x5afc18){return;}}async['getTask'](_0xa0ba46){return new Promise((_0x36adf5,_0x2c7dbf)=>{try{let _0x19167a=0x0;const _0xe1d05d=replaceTaskID(this['_getTaskURL'](),''+_0xa0ba46),_0x576b68=this['_getMaxPollingTime'](),_0x6fed3b=async()=>{const _0x1b971d=_0x12c8;if(this[_0x1b971d(0x241)]['has'](_0xa0ba46))return;const _0x1d5d32=(await this[_0x1b971d(0x359)]['get'](_0xe1d05d))[_0x1b971d(0x203)];if(_0x1d5d32['error']&&_0x1d5d32['error'][_0x1b971d(0x274)]===_univerjs_protocol[_0x1b971d(0x28e)]['OK']){if(_0x1d5d32[_0x1b971d(0x2e4)]===_0x1b971d(0x24f))_0x36adf5(_0x1d5d32);else{if(_0x1d5d32['status']===_0x1b971d(0x339)){let _0x3589a0=0x3e8;if(_0x19167a>=_0x576b68){_0x2c7dbf(_0x1d5d32);return;}else{if(_0x19167a>=0x7530)_0x3589a0=0x1388;}_0x19167a+=_0x3589a0,setTimeout(_0x6fed3b,_0x3589a0);}else _0x2c7dbf(_0x1d5d32);}}else _0x2c7dbf(_0x1d5d32);};_0x6fed3b();}catch(_0x2022db){_0x2c7dbf(_0x2022db instanceof Error?_0x2022db:new Error(String(_0x2022db)));}});}async['signUrl'](_0x451425){const _0x233673=_0x578aaf;try{const _0x46a6ac=replaceFileID(this['_getSignURL'](),''+_0x451425);return(await this[_0x233673(0x359)][_0x233673(0x34c)](_0x46a6ac))['body'];}catch(_0x5619dc){return;}}async['getTextFromUrl'](_0x414e42){const _0x1404fe=_0x578aaf;try{return(await this[_0x1404fe(0x359)][_0x1404fe(0x34c)](_0x414e42,{'responseType':_0x1404fe(0x357)}))[_0x1404fe(0x203)];}catch(_0x23c6ab){return;}}[_0x578aaf(0x1df)](_0x550f2b,_0x328117){const _0x4e00c5=_0x578aaf,_0x56f510=this[_0x4e00c5(0x2aa)](_0x328117);if(!_0x56f510)return _0x550f2b;return _0x550f2b+':\x20'+_0x56f510;}[_0x578aaf(0x2f0)](_0x1110e5,_0x1bbc93){const _0x575b59=_0x578aaf;if(_0x1bbc93 instanceof _univerjs_network['HTTPResponseError']){const _0xa502d1=typeof _0x1bbc93[_0x575b59(0x2e4)]===_0x575b59(0x27d)?''+_0x1bbc93['status']+(_0x1bbc93[_0x575b59(0x1ea)]?'\x20'+_0x1bbc93['statusText']:''):void 0x0,_0x492229=this[_0x575b59(0x2aa)](_0x1bbc93[_0x575b59(0x25a)]);if(_0xa502d1&&_0x492229)return _0x1110e5+_0x575b59(0x2d2)+_0xa502d1+_0x575b59(0x224)+_0x492229;if(_0xa502d1)return _0x1110e5+_0x575b59(0x2d2)+_0xa502d1;if(_0x492229)return _0x1110e5+':\x20'+_0x492229;return _0x1110e5;}const _0x5bb2d4=this['_extractErrorDetail'](_0x1bbc93);if(!_0x5bb2d4)return _0x1110e5;return _0x1110e5+':\x20'+_0x5bb2d4;}[_0x578aaf(0x2aa)](_0x2370d2){const _0x382de8=_0x578aaf;if(typeof _0x2370d2===_0x382de8(0x26f)){const _0x29b91d=_0x2370d2[_0x382de8(0x269)]();return _0x29b91d[_0x382de8(0x33f)]>0x0?_0x29b91d:void 0x0;}if(_0x2370d2 instanceof Error)return this[_0x382de8(0x2aa)](_0x2370d2[_0x382de8(0x34b)]);if(!_0x2370d2||typeof _0x2370d2!==_0x382de8(0x267)||Array[_0x382de8(0x2fa)](_0x2370d2))return;const _0x51c310=_0x2370d2,_0x32fb82=this[_0x382de8(0x2aa)](_0x51c310[_0x382de8(0x34b)]);if(_0x32fb82)return _0x32fb82;if(_0x51c310['error']&&typeof _0x51c310[_0x382de8(0x25a)]===_0x382de8(0x267)&&!Array[_0x382de8(0x2fa)](_0x51c310['error'])){const _0x533a28=this[_0x382de8(0x2aa)](_0x51c310[_0x382de8(0x25a)]);if(_0x533a28)return _0x533a28;}}[_0x578aaf(0x1e5)](){const _0x2aa72a=_0x578aaf;var _0x23f586;const _0x3e7e24=this[_0x2aa72a(0x1fa)][_0x2aa72a(0x1dc)](EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY);return(_0x23f586=_0x3e7e24===null||_0x3e7e24===void 0x0?void 0x0:_0x3e7e24[_0x2aa72a(0x276)])!==null&&_0x23f586!==void 0x0?_0x23f586:DEFAULT_EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY;}[_0x578aaf(0x293)](){const _0x2d3198=_0x578aaf;var _0x3294ee;const _0x225288=this[_0x2d3198(0x1fa)][_0x2d3198(0x1dc)](EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY);return(_0x3294ee=_0x225288===null||_0x225288===void 0x0?void 0x0:_0x225288['importServerUrl'])!==null&&_0x3294ee!==void 0x0?_0x3294ee:DEFAULT_EXCHANGE_IMPORT_SERVER_URL_KEY;}['_getExportURL'](){const _0x25ac2c=_0x578aaf;var _0x112915;const _0x6fa63a=this[_0x25ac2c(0x1fa)][_0x25ac2c(0x1dc)](EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY);return(_0x112915=_0x6fa63a===null||_0x6fa63a===void 0x0?void 0x0:_0x6fa63a[_0x25ac2c(0x215)])!==null&&_0x112915!==void 0x0?_0x112915:DEFAULT_EXCHANGE_EXPORT_SERVER_URL_KEY;}[_0x578aaf(0x25e)](){const _0x2da893=_0x578aaf;var _0x4277df;const _0x2c04e8=this['_configService']['getConfig'](EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY);return(_0x4277df=_0x2c04e8===null||_0x2c04e8===void 0x0?void 0x0:_0x2c04e8[_0x2da893(0x2ba)])!==null&&_0x4277df!==void 0x0?_0x4277df:DEFAULT_EXCHANGE_GET_TASK_SERVER_URL_KEY;}[_0x578aaf(0x204)](){const _0x2a7643=_0x578aaf;var _0x3b0988;const _0x513832=this[_0x2a7643(0x1fa)]['getConfig'](EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY);return(_0x3b0988=_0x513832===null||_0x513832===void 0x0?void 0x0:_0x513832[_0x2a7643(0x2eb)])!==null&&_0x3b0988!==void 0x0?_0x3b0988:DEFAULT_EXCHANGE_SIGN_URL_SERVER_URL_KEY;}[_0x578aaf(0x2ed)](){const _0x4552dc=_0x578aaf;var _0x397916;const _0x2822ed=this['_configService'][_0x4552dc(0x1dc)](EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY);return(_0x397916=_0x2822ed===null||_0x2822ed===void 0x0?void 0x0:_0x2822ed['maxTimeoutTime'])!==null&&_0x397916!==void 0x0?_0x397916:DEFAULT_EXCHANGE_MAX_TIMEOUT_TIME_KEY;}};RequestService=__decorate([__decorateParam(0x0,_univerjs_core[_0x578aaf(0x32a)]),__decorateParam(0x1,(0x0,_univerjs_core[_0x578aaf(0x2f2)])(_univerjs_network['HTTPService']))],RequestService);function transformWorkbookSnapshotMetaToString(_0x5e3c18){const _0x12c172=_0x578aaf,_0x397ccd=_0x5e3c18['workbook'];if(!_0x397ccd)return null;const _0x5e019c={};if(_0x397ccd[_0x12c172(0x2c3)])Object[_0x12c172(0x308)](_0x397ccd['sheets'])[_0x12c172(0x2a1)](_0x1f9682=>{const _0x44c966=_0x12c172,_0x511faa=_0x397ccd[_0x44c966(0x2c3)][_0x1f9682];_0x5e019c[_0x1f9682]={..._0x511faa,'originalMeta':(0x0,_univerjs_pro_collaboration[_0x44c966(0x280)])(_univerjs_pro_collaboration[_0x44c966(0x202)][_0x44c966(0x262)](_0x511faa[_0x44c966(0x2c2)]))};});const _0x126b68=(0x0,_univerjs_pro_collaboration[_0x12c172(0x280)])(_univerjs_pro_collaboration[_0x12c172(0x202)][_0x12c172(0x262)](_0x397ccd[_0x12c172(0x2c2)]));return{..._0x5e3c18,'workbook':{..._0x397ccd,'originalMeta':_0x126b68,'sheets':_0x5e019c},'doc':{}};}function transformDocumentSnapshotMetaToString(_0x602a47){const _0x351132=_0x578aaf,_0x782e38=_0x602a47[_0x351132(0x24b)];if(!_0x782e38)return null;const _0x3dd415=(0x0,_univerjs_pro_collaboration[_0x351132(0x280)])(_univerjs_pro_collaboration['textDecoder'][_0x351132(0x262)](_0x782e38['originalMeta']));return{..._0x602a47,'workbook':{},'doc':{..._0x782e38,'originalMeta':_0x3dd415}};}function _0xb621(){const _0x5edc56=['originalMeta','sheets','transformDocumentDataToSnapshotJson','_sheetBlockCache','minSheetColumnCount','Failed\x20to\x20get\x20unitID\x20from\x20task','clear','import','SuccessIcon','copyFileMeta','signUrl','Failed\x20to\x20transform\x20snapshot\x20to\x20string','/universer-api/exchange/{type}/export','getUniverInstanceTypeByFile','fetchMissingChangesets','_getDownloadEndpointURL',':\x20HTTP\x20','file','title','Success','_visible$','constructor','complete','univer-pro.exchange-client.operate.service','jsx','exchange.interrupt','_blank','univer-pro.exchange-client.upload-notification.service','headers','pluginName','downloadFile','pptx','shift','_getUnitIDDoc','status','_refresh','transformWorkbookDataToSnapshotJson','application/json','hide','/universer-api/exchange/{type}/import','_logService','signUrlServerUrl','4YbVQuU','_getMaxPollingTime','application/vnd.openxmlformats-officedocument.presentationml.presentation','resolveWithBasePath','_buildHttpErrorMessage','DependentOn','Inject','_uiPartsService','_getEnableServerSideComputing','UNIVER_SLIDE','exportXLSXBySnapshot','exchange.wait','appendChild','enableServerSideComputing','isArray','parse','content-disposition','_uploadTaskNotDone','_exchangeService','ErrorIcon','exchange.fileTypeError','UniverInstanceType','_state$','resolve','univer-text-red-500','exportDOCXByUnitId','workbook.json','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','keys','searchParams','UploadNotificationService','iterator','multiple','exchange.networkError','set','importFileToUnitId','state$','exchange.downloading','IExchangeService','getUnitOnRev','getSnapshot','_import','map','_addDoneTask','univer-text-blue-500','function','setConfig','useDependency','MessageType','_getMinSheetRowCount','univer-flex','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','_showDownloadMessage','transformWorkbookDataToSnapshot','getSheetBlock','catch','transformDocumentDataToSnapshot','Get\x20outputType\x20error','UPLOADING','_exportBySnapshot','XlsxMultiIcon','url','IConfigService','univer-text-sm\x20univer-text-gray-500','xlsx','importDOCXToUnitId','jsonID','getSheetBlocksFromSnapshot','pushLink','disposeWithMe','application/vnd.openxmlformats-officedocument.wordprocessingml.document','univer-mt-3\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-2\x20univer-pr-1','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','fileID','symbol','Disposable','_getUnitName','pending','&source=','ignoreTableExport','add','IMessageService','UniverExchangeClientPlugin','length','display','IUploadNotificationService','Module','getTask','_export','export','_clearProgress','removeChild','{type}','IUIPartsService','transformSnapshotJsonToWorkbookData','message','get','includes','univer-flex\x20univer-h-5\x20univer-text-xl','rev','defineProperty','Failed\x20to\x20parse\x20json','univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','pathname','join','UploadNotificationContainer','/universer-api/exchange/task/{taskID}','text','_signUrl','_httpService','exchange-client.config','split','_doneUploadTaskCount','useObservable','_univerInstanceService','_requestService','_getLinkByUnitId','getConfig','univer-text-green-500','_getUnitJson','_buildProtocolErrorMessage','_getUnitID','useState','taskID','1muFizn','@univerjs-pro/exchange-client','_getUploadFileURL','packageName','exportXLSXByUnitId','UploadNotificationState','interruptImportTask','statusText','ExchangeService','exchange.tooLarge','dispose','getCurrentUnitOfType','docx','getUnitId','importWorkbookDataToUnitId','jsxs','_list$','Failed\x20to\x20get\x20taskID\x20from\x20import\x20response','show','link','IExchangeOperateService','disposeUnit','version','_configService','createObjectURL','asObservable','getOwnPropertyDescriptor','1164042eLYHkZ','createIdentifier','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','list$','textDecoder','body','_getSignURL','_showUploadMessage','merge','values','useEffect','snapshot','Failed\x20to\x20get\x20file\x20from\x20url','progress$','_getUnitDocJson','some','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','RequestService','_completeProgress','filter','scrollbarClassName','_requestState$','span','exportServerUrl','DocMultiIcon','1189254TYMRRy','ShareRangeIcon','No\x20file\x20selected','type','visible$','?size=','download','registerComponent','exchange.internalError','univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','CONTENT','2374043GObuDd','ClockIcon','\x20-\x20','data','getResourcesRequest','FileId','updateState','BehaviorSubject','createElement','toString','_fileTypeError','clsx','createUnit','blob','b64DecodeUnicode','_showNetworkError','_uploadNotificationService','Failed\x20to\x20get\x20jsonID\x20from\x20task','file.json','Method\x20not\x20implemented.','registerLink','_registerComponents','1254303NwmYCG','_importFileToUnitId','upload\x20request\x20failed','IRequestService','UNIVER_DOC','toStringTag','210746JBvsDA','style','EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY','_taskInterrupted','Info','getDeserializedSheetBlock','UNIVER_EXCHANGE_CLIENT_PLUGIN','exchange.unknownMistake','_localeService','importDOCXToSnapshot','stringify','noreferrer','toDisposable','doc','univer-ml-1.5\x20univer-font-semibold\x20univer-leading-6\x20univer-text-gray-900\x20dark:!univer-text-white','size','univer-mt-5\x20univer-flex\x20univer-flex-col','done','pop','default','subscribe','Warning','name','buffer','_addTotalCount','659145GYXpot','/universer-api/stream/file/upload','min','error','options','Failed\x20to\x20get\x20fileID\x20from\x20task','replace','_getTaskURL','Tooltip','univer-mb-3\x20univer-py-0\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','xltx','decode','application/vnd.ms-excel.sheet.macroEnabled.12','_injector','_getDisableCellImageConversion','Error','object','Failed\x20to\x20get\x20text\x20from\x20url','trim','interrupt','outputType','import\x20error','export\x20error','exchange.downloadSuccess','string','ExchangeOperateService','requestState$','_list','_progress$','code','upload\x20failed:\x20missing\x20FileId\x20in\x20response','uploadFileServerUrl','next','Injector','unshift','unsubscribe','getLatestCsReqIdBySid','ERROR','number','UniverLicensePlugin','saveSnapshot','b64EncodeUnicode','touchDependencies','decorate','Error\x20getting\x20file\x20name\x20from\x20URL:','toLowerCase','exportDOCXBySnapshot','Error\x20fetching\x20file\x20from\x20URL:','univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','getTextFromUrl','change','SUCCESS','_importToSnapshot','sign\x20url\x20error','upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url','ErrorCode','UNIVER_SHEET','files','FileSource','div','_getImportURL','&flate=','unitID','Subject','_messageService','none','Content-Type','getUploadFile','application/octet-stream','_getMinSheetColumnCount','click','call','origin','prototype','forEach','LocaleService','exchange.uploadSuccess','xlsm','exchange.uploading','_getExportURL','_importTaskId','univer-pl-2\x20univer-pr-4','exchange.cancel','_extractErrorDetail','_upload','importXLSXToUnitId','_emitProgress','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','transformSnapshotToDocumentData','sheetBlocks','UNIVER_UNKNOWN','_totalUploadTaskCount','UNRECOGNIZED','2983144LltlUe','button','univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','clearTaskInterrupted','Plugin','importXLSXToSnapshot','getTaskServerUrl','_config','.json','post','blockID','href','disableCellImageConversion','univer-mx-0\x20univer-mb-3\x20univer-mt-4\x20univer-h-1.5\x20univer-w-[324px]\x20univer-rounded-lg\x20univer-bg-gray-200'];_0xb621=function(){return _0x5edc56;};return _0xb621();}function transformSheetBlockMetaToString(_0x101910){const _0x2a56a9=_0x578aaf,_0x1b8008={};return _0x101910[_0x2a56a9(0x2a1)](_0x1a253f=>{const _0x44be46=_0x2a56a9;_0x1b8008[_0x1a253f['id']]={..._0x1a253f,'data':(0x0,_univerjs_pro_collaboration[_0x44be46(0x280)])(_univerjs_pro_collaboration[_0x44be46(0x202)]['decode'](_0x1a253f[_0x44be46(0x225)]))};}),_0x1b8008;}async function transformWorkbookDataToSnapshotJson(_0x5fc8f7){const _0x2b20cf=_0x578aaf;var _0x162b41;const _0x6b7db4={'metadata':void 0x0},_0x2295b9=_0x5fc8f7['id'],_0x3c6f25=(_0x162b41=_0x5fc8f7[_0x2b20cf(0x34f)])!==null&&_0x162b41!==void 0x0?_0x162b41:0x0,_0x5c07e4=new ClientSnapshotServerService(),{snapshot:_0xa2978c}=await(0x0,_univerjs_pro_collaboration[_0x2b20cf(0x321)])(_0x6b7db4,_0x5fc8f7,_0x2295b9,_0x3c6f25,_0x5c07e4),_0x4968e0=await(0x0,_univerjs_pro_collaboration[_0x2b20cf(0x32f)])(_0xa2978c,_0x5c07e4),_0x283470=transformWorkbookSnapshotMetaToString(_0xa2978c);if(!_0x283470)throw new Error(_0x2b20cf(0x2cd));return{'snapshot':_0x283470,'sheetBlocks':transformSheetBlockMetaToString(_0x4968e0)};}async function transformDocumentDataToSnapshotJson(_0x32c659){const _0x32f048=_0x578aaf;var _0x98d7ed;const _0x123040={'metadata':void 0x0},_0x57d588=_0x32c659['id'],{snapshot:_0x51958d}=await(0x0,_univerjs_pro_collaboration[_0x32f048(0x324)])(_0x123040,_0x32c659,_0x57d588,(_0x98d7ed=_0x32c659[_0x32f048(0x34f)])!==null&&_0x98d7ed!==void 0x0?_0x98d7ed:0x0,new ClientSnapshotServerService()),_0x224baf=transformDocumentSnapshotMetaToString(_0x51958d);if(!_0x224baf)throw new Error(_0x32f048(0x2cd));return{'snapshot':_0x224baf,'sheetBlocks':{}};}async function transformSnapshotJsonToWorkbookData(_0x57edfc){const _0x2a2fe5=_0x578aaf,_0xf2f7bb=_0x57edfc['snapshot'],_0x59bc51=_0x57edfc[_0x2a2fe5(0x2b0)]||{};return await(0x0,_univerjs_pro_collaboration['transformSnapshotToWorkbookData'])(_0xf2f7bb,Object[_0x2a2fe5(0x308)](_0x59bc51)['map'](_0x29b006=>_0x59bc51[_0x29b006])['map'](_0x14e9d9=>{const _0x54aa32=_0x2a2fe5;return{..._0x14e9d9,'data':_0x14e9d9[_0x54aa32(0x225)]?JSON[_0x54aa32(0x2fb)]((0x0,_univerjs_pro_collaboration[_0x54aa32(0x230)])(_0x14e9d9[_0x54aa32(0x225)])):void 0x0};}));}function _0x12c8(_0x595471,_0x39246f){_0x595471=_0x595471-0x1d8;const _0xb62129=_0xb621();let _0x12c869=_0xb62129[_0x595471];return _0x12c869;}function transformSnapshotJsonToDocumentData(_0x565b88){const _0x55a110=_0x578aaf,_0x5eb90c=_0x565b88[_0x55a110(0x209)];return(0x0,_univerjs_pro_collaboration[_0x55a110(0x2af)])(_0x5eb90c);}var ClientSnapshotServerService=class{constructor(){_defineProperty(this,'_sheetBlockCache',new Map());}[_0x578aaf(0x313)](){const _0x144cf6=_0x578aaf;return Promise[_0x144cf6(0x303)]({'snapshot':{'unitID':'','type':_univerjs_core[_0x144cf6(0x301)][_0x144cf6(0x28f)],'rev':0x0,'workbook':void 0x0,'doc':void 0x0},'changesets':[],'error':{'code':_univerjs_protocol[_0x144cf6(0x28e)]['OK'],'message':''}});}[_0x578aaf(0x322)](_0x1121e7,_0x4d6ac0){const _0x6a097=_0x578aaf,_0x100e17=this[_0x6a097(0x2c5)]['get'](_0x4d6ac0['blockID']);return Promise[_0x6a097(0x303)]({'block':_0x100e17,'error':{'code':_univerjs_protocol['ErrorCode']['OK'],'message':''}});}[_0x578aaf(0x243)](_0x2182d6,_0x53b01e){const _0x4be660=_0x578aaf,_0x4c1534=this['_sheetBlockCache']['get'](_0x53b01e[_0x4be660(0x2be)]);return Promise[_0x4be660(0x303)]({'block':_0x4c1534===void 0x0?void 0x0:{..._0x4c1534,'data':JSON[_0x4be660(0x2fb)](_univerjs_pro_collaboration[_0x4be660(0x202)][_0x4be660(0x262)](_0x4c1534['data']))},'error':{'code':_univerjs_protocol[_0x4be660(0x28e)]['OK'],'message':''}});}[_0x578aaf(0x2d0)](){const _0x1199f3=_0x578aaf;return Promise[_0x1199f3(0x303)]({'changesets':[],'error':{'code':_univerjs_protocol['ErrorCode']['OK'],'message':''}});}[_0x578aaf(0x226)](){const _0x201c8e=_0x578aaf;return Promise[_0x201c8e(0x303)]({'resources':{},'error':{'code':_univerjs_protocol[_0x201c8e(0x28e)]['OK'],'message':''}});}[_0x578aaf(0x27f)](){const _0x1688e5=_0x578aaf;return Promise['resolve']({'error':{'code':_univerjs_protocol[_0x1688e5(0x28e)]['OK'],'message':''}});}['updateSnapshot'](){return Promise['resolve']({'error':{'code':_univerjs_protocol['ErrorCode']['OK'],'message':''}});}['saveSheetBlock'](_0x19c370,_0x3636ad){const _0x845348=_0x578aaf,{block:_0x1159b8}=_0x3636ad;if(!_0x1159b8)return Promise[_0x845348(0x303)]({'error':{'code':_univerjs_protocol[_0x845348(0x28e)]['UNDEFINED'],'message':'block\x20is\x20required'},'blockID':''});return this[_0x845348(0x2c5)][_0x845348(0x30e)](_0x1159b8['id'],_0x1159b8),Promise[_0x845348(0x303)]({'error':{'code':_univerjs_protocol[_0x845348(0x28e)]['OK'],'message':''},'blockID':_0x1159b8['id']});}['saveChangeset'](){const _0x5ba2c9=_0x578aaf;return Promise[_0x5ba2c9(0x303)]({'error':{'code':_univerjs_protocol[_0x5ba2c9(0x28e)]['OK'],'message':''},'concurrent':[]});}[_0x578aaf(0x2cb)](){const _0x523eb9=_0x578aaf;return Promise[_0x523eb9(0x303)]({'error':void 0x0,'fileMetaId':''});}[_0x578aaf(0x27b)](){const _0x542185=_0x578aaf;return Promise[_0x542185(0x303)]({'error':void 0x0,'latestReqID':0x0});}};const IExchangeService=(0x0,_univerjs_core['createIdentifier'])('univer-pro.exchange-client.exchange.service');let ExchangeService=class ExchangeService extends _univerjs_core[_0x578aaf(0x337)]{constructor(_0x253e78,_0x2aa3eb,_0x3de46c){const _0x367d6c=_0x578aaf;super(),this[_0x367d6c(0x1fa)]=_0x253e78,this[_0x367d6c(0x359)]=_0x2aa3eb,this[_0x367d6c(0x1da)]=_0x3de46c,_defineProperty(this,_0x367d6c(0x2a7),null),_defineProperty(this,'_requestState$',new rxjs[(_0x367d6c(0x296))]()),_defineProperty(this,_0x367d6c(0x271),this['_requestState$'][_0x367d6c(0x1fc)]());}[_0x578aaf(0x1ed)](){const _0x52afc5=_0x578aaf;super[_0x52afc5(0x1ed)](),this['_requestState$'][_0x52afc5(0x2d8)]();}async[_0x578aaf(0x247)](_0x32353a){const _0x30ab03=_0x578aaf,_0x4258bb=await this[_0x30ab03(0x28b)](_0x32353a,_univerjs_core[_0x30ab03(0x301)][_0x30ab03(0x23c)]);if(!_0x4258bb||!_0x4258bb[_0x30ab03(0x209)])return;const _0x171724=transformSnapshotJsonToDocumentData(_0x4258bb);if(!_0x171724)return;return _0x171724;}async[_0x578aaf(0x305)](_0x287eee){const _0x5e75d=_0x578aaf;return this[_0x5e75d(0x344)](_0x287eee,0x1,_univerjs_core[_0x5e75d(0x301)]['UNIVER_DOC']);}async[_0x578aaf(0x285)](_0x4717d){const _0x3dfc5d=_0x578aaf,_0x53e242=await transformDocumentDataToSnapshotJson(_0x4717d);return this[_0x3dfc5d(0x327)](_0x53e242,_univerjs_core['UniverInstanceType']['UNIVER_DOC']);}async['importXLSXToSnapshot'](_0x575985){const _0x1bf5ae=_0x578aaf,_0x2ac905=await this[_0x1bf5ae(0x28b)](_0x575985,_univerjs_core[_0x1bf5ae(0x301)][_0x1bf5ae(0x28f)]);if(!_0x2ac905)return;const _0x12b209=await transformSnapshotJsonToWorkbookData(_0x2ac905);if(!_0x12b209)return;return _0x12b209;}async[_0x578aaf(0x1e7)](_0x2b0b8d){const _0x3b032d=_0x578aaf;return this[_0x3b032d(0x344)](_0x2b0b8d,0x1,_univerjs_core[_0x3b032d(0x301)][_0x3b032d(0x28f)]);}async[_0x578aaf(0x2f6)](_0x1bdd23){const _0x4a1d1e=_0x578aaf,_0x4f0add=await transformWorkbookDataToSnapshotJson(_0x1bdd23);return this['_exportBySnapshot'](_0x4f0add,_univerjs_core['UniverInstanceType'][_0x4a1d1e(0x28f)]);}async[_0x578aaf(0x30f)](_0x9c3a20,_0x106b57){const _0x533790=_0x578aaf;var _0x108cf3,_0xf81e6e;const _0x4600fe=await this[_0x533790(0x2ab)](_0x9c3a20);if(!_0x4600fe)return;const _0x9daf44=await this['_import'](_0x4600fe,0x1,_0x106b57);if(!_0x9daf44)return;this[_0x533790(0x2a7)]=_0x9daf44,this['_requestService'][_0x533790(0x2b7)]();const _0x2957d2=await this[_0x533790(0x1da)][_0x533790(0x343)](_0x9daf44)[_0x533790(0x323)](_0x46d0c4=>{const _0x1de821=_0x533790;var _0x268521;const _0x18490e=_0x46d0c4 instanceof Error?_0x46d0c4['message']:(_0x268521=_0x46d0c4['error'])===null||_0x268521===void 0x0?void 0x0:_0x268521[_0x1de821(0x34b)];this[_0x1de821(0x213)][_0x1de821(0x277)]({'error':{'code':_univerjs_protocol[_0x1de821(0x28e)]['UNRECOGNIZED'],'message':_0x18490e||''},'state':0x3});});if(!_0x2957d2)return;const _0x109f0d=(_0x108cf3=_0x2957d2[_0x533790(0x2c9)])===null||_0x108cf3===void 0x0?void 0x0:_0x108cf3[_0x533790(0x26b)],_0x437ff8=((_0xf81e6e=_0x2957d2[_0x533790(0x2c9)])===null||_0xf81e6e===void 0x0?void 0x0:_0xf81e6e[_0x533790(0x295)])||'';if(_0x109f0d!==0x1){this[_0x533790(0x213)][_0x533790(0x277)]({'error':{'code':_univerjs_protocol[_0x533790(0x28e)]['UNRECOGNIZED'],'message':'Get\x20outputType\x20error'},'state':0x3});return;}if(_0x437ff8['length']===0x0){this[_0x533790(0x213)][_0x533790(0x277)]({'error':{'code':_univerjs_protocol[_0x533790(0x28e)][_0x533790(0x2b3)],'message':_0x533790(0x2c7)},'state':0x3});return;}return this[_0x533790(0x213)]['next']({'error':_0x2957d2[_0x533790(0x25a)],'state':0x3}),_0x437ff8;}async[_0x578aaf(0x1f1)](_0x1bbd38){const _0x54b256=_0x578aaf,_0x59a443=await transformWorkbookDataToSnapshotJson(_0x1bbd38),_0x5d35a9=typeof _0x1bbd38['id']==='string'&&_0x1bbd38['id'][_0x54b256(0x269)]()?_0x1bbd38['id'][_0x54b256(0x269)]()+_0x54b256(0x2bc):_0x54b256(0x306),_0x2d5493=new File([JSON[_0x54b256(0x248)](_0x59a443)],_0x5d35a9,{'type':_0x54b256(0x2e7)});return this[_0x54b256(0x30f)](_0x2d5493,_univerjs_core[_0x54b256(0x301)][_0x54b256(0x28f)]);}[_0x578aaf(0x1e9)](){const _0x3137b7=_0x578aaf;if(this[_0x3137b7(0x2a7)])this[_0x3137b7(0x1da)]['setTaskInterrupted'](this[_0x3137b7(0x2a7)]);}async['_importToSnapshot'](_0x3ec060,_0x5396c0){const _0x533cfb=_0x578aaf;var _0x3e0745,_0x77b7a7;const _0x45ef18=await this[_0x533cfb(0x2ab)](_0x3ec060);if(!_0x45ef18)return;const _0x49b957=await this[_0x533cfb(0x315)](_0x45ef18,0x2,_0x5396c0);if(!_0x49b957)return;this[_0x533cfb(0x2a7)]=_0x49b957,this[_0x533cfb(0x1da)][_0x533cfb(0x2b7)]();const _0x1e2702=await this['_requestService']['getTask'](_0x49b957)[_0x533cfb(0x323)](_0x3e856c=>{const _0x367e8c=_0x533cfb;var _0x20ff5c;const _0x440be6=_0x3e856c instanceof Error?_0x3e856c[_0x367e8c(0x34b)]:(_0x20ff5c=_0x3e856c[_0x367e8c(0x25a)])===null||_0x20ff5c===void 0x0?void 0x0:_0x20ff5c['message'];this[_0x367e8c(0x213)][_0x367e8c(0x277)]({'error':{'code':_univerjs_protocol['ErrorCode'][_0x367e8c(0x2b3)],'message':_0x440be6||''},'state':0x3});});if(!_0x1e2702)return;const _0x54c65d=(_0x3e0745=_0x1e2702[_0x533cfb(0x2c9)])===null||_0x3e0745===void 0x0?void 0x0:_0x3e0745['outputType'],_0x23cf20=((_0x77b7a7=_0x1e2702[_0x533cfb(0x2c9)])===null||_0x77b7a7===void 0x0?void 0x0:_0x77b7a7[_0x533cfb(0x32e)])||'';if(_0x54c65d!==0x2){this[_0x533cfb(0x213)][_0x533cfb(0x277)]({'error':{'code':_univerjs_protocol[_0x533cfb(0x28e)][_0x533cfb(0x2b3)],'message':_0x533cfb(0x325)},'state':0x3});return;}if(_0x23cf20[_0x533cfb(0x33f)]===0x0){this['_requestState$'][_0x533cfb(0x277)]({'error':{'code':_univerjs_protocol[_0x533cfb(0x28e)][_0x533cfb(0x2b3)],'message':_0x533cfb(0x233)},'state':0x3});return;}this[_0x533cfb(0x213)][_0x533cfb(0x277)]({'error':_0x1e2702[_0x533cfb(0x25a)],'state':0x3});const _0x317cff=await this[_0x533cfb(0x358)](_0x23cf20);if(!_0x317cff)return;const _0x427d40=await this[_0x533cfb(0x1da)][_0x533cfb(0x288)](_0x317cff);if(!_0x427d40){this['_requestState$'][_0x533cfb(0x277)]({'error':{'code':_univerjs_protocol[_0x533cfb(0x28e)][_0x533cfb(0x2b3)],'message':_0x533cfb(0x268)},'state':0x5});return;}try{const _0x44f9b2=JSON['parse'](_0x427d40);return this[_0x533cfb(0x213)][_0x533cfb(0x277)]({'error':{'code':_univerjs_protocol['ErrorCode']['OK'],'message':'success'},'state':0x5}),_0x44f9b2;}catch{this['_requestState$'][_0x533cfb(0x277)]({'error':{'code':_univerjs_protocol['ErrorCode'][_0x533cfb(0x2b3)],'message':_0x533cfb(0x351)},'state':0x5});}}async['_exportBySnapshot'](_0x2d9b5a,_0x464057){const _0x24469e=_0x578aaf,_0x24b6c0=JSON[_0x24469e(0x248)](_0x2d9b5a),_0x12b97f=_univerjs_pro_collaboration['textEncoder']['encode'](_0x24b6c0),_0x1573b7=(0x0,fflate['deflateSync'])(_0x12b97f),_0x31b3c1=_0x12b97f['length'],_0x44f9e1=bufferToFile(_0x1573b7),_0x10df18=await this[_0x24469e(0x2ab)](_0x44f9e1,_0x31b3c1,!![]);if(!_0x10df18)return;return this[_0x24469e(0x344)](_0x10df18,0x2,_0x464057);}async['_export'](_0x15f756,_0x16b7b3,_0x1538de){const _0x4903c5=_0x578aaf;var _0x17df4d;const _0x1bb0e9=await this[_0x4903c5(0x1da)][_0x4903c5(0x345)]({'unitID':_0x16b7b3===0x1?_0x15f756:'','jsonID':_0x16b7b3===0x2?_0x15f756:'','type':_0x1538de,'sscSwitch':this[_0x4903c5(0x2f4)](),'useImageUrl':this[_0x4903c5(0x265)](),'ignoreTableExport':this['_getIgnoreTableExport']()});if(!_0x1bb0e9){this[_0x4903c5(0x213)][_0x4903c5(0x277)]({'error':{'code':_univerjs_protocol[_0x4903c5(0x28e)][_0x4903c5(0x2b3)],'message':_0x4903c5(0x26d)},'state':0x2});return;}this[_0x4903c5(0x213)][_0x4903c5(0x277)]({'error':_0x1bb0e9['error'],'state':0x2});if(_0x1bb0e9[_0x4903c5(0x25a)]&&_0x1bb0e9['error'][_0x4903c5(0x274)]!==_univerjs_protocol[_0x4903c5(0x28e)]['OK'])return;const _0x1d1d1b=_0x1bb0e9[_0x4903c5(0x1e2)],_0x4710d3=await this[_0x4903c5(0x1da)][_0x4903c5(0x343)](_0x1d1d1b)[_0x4903c5(0x323)](_0xf08957=>{const _0x54d83f=_0x4903c5;var _0x23958f;const _0x4c5b8e=_0xf08957 instanceof Error?_0xf08957[_0x54d83f(0x34b)]:(_0x23958f=_0xf08957['error'])===null||_0x23958f===void 0x0?void 0x0:_0x23958f[_0x54d83f(0x34b)];this[_0x54d83f(0x213)][_0x54d83f(0x277)]({'error':{'code':_univerjs_protocol['ErrorCode']['UNRECOGNIZED'],'message':_0x4c5b8e||''},'state':0x3});});if(!_0x4710d3)return;const _0x3afd8e=((_0x17df4d=_0x4710d3[_0x4903c5(0x345)])===null||_0x17df4d===void 0x0?void 0x0:_0x17df4d[_0x4903c5(0x335)])||'';if(_0x3afd8e[_0x4903c5(0x33f)]===0x0){this[_0x4903c5(0x213)][_0x4903c5(0x277)]({'error':{'code':_univerjs_protocol[_0x4903c5(0x28e)]['UNRECOGNIZED'],'message':_0x4903c5(0x25c)},'state':0x3});return;}this[_0x4903c5(0x213)][_0x4903c5(0x277)]({'error':_0x4710d3['error'],'state':0x3});const _0x616c2d=await this['_signUrl'](_0x3afd8e);if(!_0x616c2d)return;const _0x3559bb=await getFileByURL(_0x616c2d,this[_0x4903c5(0x359)]);if(!_0x3559bb){this[_0x4903c5(0x213)][_0x4903c5(0x277)]({'error':{'code':_univerjs_protocol[_0x4903c5(0x28e)]['UNRECOGNIZED'],'message':_0x4903c5(0x20a)},'state':0x6});return;}return this[_0x4903c5(0x213)][_0x4903c5(0x277)]({'error':{'code':_univerjs_protocol[_0x4903c5(0x28e)]['OK'],'message':'success'},'state':0x6}),_0x3559bb;}async[_0x578aaf(0x2ab)](_0x11ae2c,_0x13e3b0,_0x1f0736){const _0x124a7b=_0x578aaf;let _0x1c113b;try{_0x1c113b=await this[_0x124a7b(0x1da)]['upload'](_0x11ae2c,_0x13e3b0,_0x1f0736);}catch(_0x3baba9){const _0x522619=_0x3baba9 instanceof Error?_0x3baba9[_0x124a7b(0x34b)]:String(_0x3baba9);this[_0x124a7b(0x213)][_0x124a7b(0x277)]({'error':{'code':_univerjs_protocol[_0x124a7b(0x28e)]['UNRECOGNIZED'],'message':_0x522619},'state':0x0});return;}if(!_0x1c113b||typeof _0x1c113b[_0x124a7b(0x227)]!=='string'){this[_0x124a7b(0x213)][_0x124a7b(0x277)]({'error':{'code':_univerjs_protocol['ErrorCode'][_0x124a7b(0x2b3)],'message':_0x124a7b(0x275)},'state':0x0});return;}const _0x550294=_0x1c113b[_0x124a7b(0x227)];if(_0x550294[_0x124a7b(0x33f)]===0x0){this[_0x124a7b(0x213)][_0x124a7b(0x277)]({'error':{'code':_univerjs_protocol[_0x124a7b(0x28e)]['UNRECOGNIZED'],'message':'upload\x20failed:\x20FileId\x20is\x20empty'},'state':0x0});return;}return this[_0x124a7b(0x213)][_0x124a7b(0x277)]({'error':{'code':_univerjs_protocol[_0x124a7b(0x28e)]['OK'],'message':'success'},'state':0x0}),_0x550294;}async['_import'](_0x5368be,_0x436608,_0x40362f){const _0x32e9ed=_0x578aaf,_0x2adef1={'fileID':_0x5368be,'type':_0x40362f,'outputType':_0x436608,'fileUrl':'','minSheetRowCount':this[_0x32e9ed(0x31d)](),'minSheetColumnCount':this[_0x32e9ed(0x29c)]()},_0x2b9865=await this[_0x32e9ed(0x1da)][_0x32e9ed(0x2c9)](_0x2adef1);if(!_0x2b9865){this[_0x32e9ed(0x213)][_0x32e9ed(0x277)]({'error':{'code':_univerjs_protocol[_0x32e9ed(0x28e)][_0x32e9ed(0x2b3)],'message':_0x32e9ed(0x26c)},'state':0x1});return;}if(_0x2b9865[_0x32e9ed(0x25a)]&&_0x2b9865[_0x32e9ed(0x25a)]['code']!==_univerjs_protocol[_0x32e9ed(0x28e)]['OK']){this[_0x32e9ed(0x213)][_0x32e9ed(0x277)]({'error':_0x2b9865[_0x32e9ed(0x25a)],'state':0x1});return;}const _0x7ee815=_0x2b9865[_0x32e9ed(0x1e2)];if(_0x7ee815[_0x32e9ed(0x33f)]===0x0){this[_0x32e9ed(0x213)][_0x32e9ed(0x277)]({'error':{'code':_univerjs_protocol[_0x32e9ed(0x28e)]['UNRECOGNIZED'],'message':_0x32e9ed(0x1f4)},'state':0x1});return;}return this['_requestState$'][_0x32e9ed(0x277)]({'error':_0x2b9865[_0x32e9ed(0x25a)],'state':0x1}),_0x7ee815;}async['_signUrl'](_0x1fd056){const _0x50a911=_0x578aaf,_0xc47bd0=await this[_0x50a911(0x1da)][_0x50a911(0x2cc)](_0x1fd056);if(!_0xc47bd0){this['_requestState$']['next']({'error':{'code':_univerjs_protocol[_0x50a911(0x28e)]['UNRECOGNIZED'],'message':_0x50a911(0x28c)},'state':0x4});return;}if(_0xc47bd0[_0x50a911(0x25a)]&&_0xc47bd0[_0x50a911(0x25a)][_0x50a911(0x274)]!==_univerjs_protocol[_0x50a911(0x28e)]['OK']){this[_0x50a911(0x213)][_0x50a911(0x277)]({'error':_0xc47bd0['error'],'state':0x4});return;}const _0x26851a=(0x0,_univerjs_core[_0x50a911(0x2ef)])(_0xc47bd0[_0x50a911(0x329)],this[_0x50a911(0x2d1)]());if(_0x26851a[_0x50a911(0x33f)]===0x0){this['_requestState$'][_0x50a911(0x277)]({'error':{'code':_univerjs_protocol['ErrorCode'][_0x50a911(0x2b3)],'message':_0x50a911(0x28c)},'state':0x4});return;}return this[_0x50a911(0x213)][_0x50a911(0x277)]({'error':_0xc47bd0[_0x50a911(0x25a)],'state':0x4}),_0x26851a;}[_0x578aaf(0x2d1)](){const _0x55d09e=_0x578aaf;var _0x438c5f;const _0x22113e=this[_0x55d09e(0x1fa)]['getConfig'](EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY);return(_0x438c5f=_0x22113e===null||_0x22113e===void 0x0?void 0x0:_0x22113e['downloadEndpointUrl'])!==null&&_0x438c5f!==void 0x0?_0x438c5f:location[_0x55d09e(0x29f)];}[_0x578aaf(0x31d)](){var _0x5ef9dc,_0x32d0c8;const _0x5f5bab=this['_configService']['getConfig'](EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY);return(_0x5ef9dc=_0x5f5bab===null||_0x5f5bab===void 0x0||(_0x32d0c8=_0x5f5bab['options'])===null||_0x32d0c8===void 0x0?void 0x0:_0x32d0c8['minSheetRowCount'])!==null&&_0x5ef9dc!==void 0x0?_0x5ef9dc:0x1;}[_0x578aaf(0x29c)](){const _0x58e796=_0x578aaf;var _0x2a96d8,_0x1890ef;const _0x1e9c99=this[_0x58e796(0x1fa)][_0x58e796(0x1dc)](EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY);return(_0x2a96d8=_0x1e9c99===null||_0x1e9c99===void 0x0||(_0x1890ef=_0x1e9c99[_0x58e796(0x25b)])===null||_0x1890ef===void 0x0?void 0x0:_0x1890ef[_0x58e796(0x2c6)])!==null&&_0x2a96d8!==void 0x0?_0x2a96d8:0x1;}[_0x578aaf(0x2f4)](){const _0x3c9776=_0x578aaf;var _0x531faf,_0x23dc0b;const _0x27a9a6=this[_0x3c9776(0x1fa)][_0x3c9776(0x1dc)](EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY);return(_0x531faf=_0x27a9a6===null||_0x27a9a6===void 0x0||(_0x23dc0b=_0x27a9a6[_0x3c9776(0x25b)])===null||_0x23dc0b===void 0x0?void 0x0:_0x23dc0b[_0x3c9776(0x2f9)])!==null&&_0x531faf!==void 0x0?_0x531faf:![];}[_0x578aaf(0x265)](){const _0x1db4b9=_0x578aaf;var _0x373a03,_0x179b96;const _0x343c90=this['_configService'][_0x1db4b9(0x1dc)](EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY);return(_0x373a03=_0x343c90===null||_0x343c90===void 0x0||(_0x179b96=_0x343c90[_0x1db4b9(0x25b)])===null||_0x179b96===void 0x0?void 0x0:_0x179b96[_0x1db4b9(0x2c0)])!==null&&_0x373a03!==void 0x0?_0x373a03:!![];}['_getIgnoreTableExport'](){const _0x59be00=_0x578aaf;var _0x363be5,_0x5660d3;const _0x7c4639=this[_0x59be00(0x1fa)]['getConfig'](EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY);return(_0x363be5=_0x7c4639===null||_0x7c4639===void 0x0||(_0x5660d3=_0x7c4639[_0x59be00(0x25b)])===null||_0x5660d3===void 0x0?void 0x0:_0x5660d3[_0x59be00(0x33b)])!==null&&_0x363be5!==void 0x0?_0x363be5:![];}};ExchangeService=__decorate([__decorateParam(0x0,_univerjs_core[_0x578aaf(0x32a)]),__decorateParam(0x1,(0x0,_univerjs_core[_0x578aaf(0x2f2)])(_univerjs_network['HTTPService'])),__decorateParam(0x2,(0x0,_univerjs_core[_0x578aaf(0x2f2)])(IRequestService))],ExchangeService);const NilProgress={'done':0x0,'count':0x0},IExchangeOperateService=(0x0,_univerjs_core['createIdentifier'])(_0x578aaf(0x2d9));let ExchangeOperateService=class ExchangeOperateService extends _univerjs_core[_0x578aaf(0x337)]{constructor(_0x29d9de,_0x5e91cf,_0x2f3fec,_0x51d213,_0x3e4f41,_0x26b05a){const _0x166060=_0x578aaf;super(),this[_0x166060(0x1d9)]=_0x29d9de,this['_messageService']=_0x5e91cf,this[_0x166060(0x246)]=_0x2f3fec,this[_0x166060(0x2fe)]=_0x51d213,this['_uploadNotificationService']=_0x3e4f41,this[_0x166060(0x2ea)]=_0x26b05a,_defineProperty(this,_0x166060(0x273),new rxjs[(_0x166060(0x229))](NilProgress)),_defineProperty(this,_0x166060(0x20b),this['_progress$'][_0x166060(0x1fc)]()),_defineProperty(this,_0x166060(0x2b2),0x0),_defineProperty(this,_0x166060(0x35c),0x0),this[_0x166060(0x331)]((0x0,_univerjs_core[_0x166060(0x24a)])(this[_0x166060(0x2fe)][_0x166060(0x271)][_0x166060(0x252)](_0x237b56=>{const _0x15efc1=_0x166060;var _0x357a03;if(((_0x357a03=_0x237b56[_0x15efc1(0x25a)])===null||_0x357a03===void 0x0?void 0x0:_0x357a03[_0x15efc1(0x274)])===_univerjs_protocol[_0x15efc1(0x28e)]['OK'])this[_0x15efc1(0x317)](0x1);else this[_0x15efc1(0x231)](_0x237b56[_0x15efc1(0x25a)]);})));}[_0x578aaf(0x26a)](){const _0x41d9e6=_0x578aaf;this[_0x41d9e6(0x346)](),this[_0x41d9e6(0x232)][_0x41d9e6(0x228)](0x2),this['_exchangeService'][_0x41d9e6(0x1e9)]();}async['uploadFileToUnitId'](_0xdd3ed1){const _0xbfc44a=_0x578aaf;throw new Error(_0xbfc44a(0x235));}async[_0x578aaf(0x32d)](){const _0x14a81f=_0x578aaf,_0x5abccb=await getUploadFile([_univerjs_core[_0x14a81f(0x301)][_0x14a81f(0x23c)]]);if(!_0x5abccb)return;if(this[_0x14a81f(0x22c)](_0x5abccb,_univerjs_core['UniverInstanceType']['UNIVER_DOC']))return;return this[_0x14a81f(0x239)](_0x5abccb[0x0],_univerjs_core[_0x14a81f(0x301)][_0x14a81f(0x23c)]);}[_0x578aaf(0x247)](){throw new Error('Method\x20not\x20implemented.');}async['exportDOCXByUnitId'](_0x34010e,_0x309b97,_0x5c15d2){const _0x4c7f7a=_0x578aaf;this[_0x4c7f7a(0x320)](_univerjs_design['MessageType'][_0x4c7f7a(0x242)]);const _0x128137=await this[_0x4c7f7a(0x2fe)][_0x4c7f7a(0x305)](_0x34010e||this[_0x4c7f7a(0x2e3)]());if(!_0x128137)return;downloadFile(_0x128137,_0x309b97||this[_0x4c7f7a(0x338)](_0x128137),_0x4c7f7a(0x1ef)),this[_0x4c7f7a(0x320)](_univerjs_design['MessageType'][_0x4c7f7a(0x2d5)]);}async[_0x578aaf(0x285)](){const _0x3c8136=_0x578aaf;this[_0x3c8136(0x320)](_univerjs_design['MessageType'][_0x3c8136(0x242)]);const _0x16e4fe=await this[_0x3c8136(0x20c)](),_0x630bab=await this[_0x3c8136(0x2fe)][_0x3c8136(0x285)](_0x16e4fe);if(!_0x630bab)return;downloadFile(_0x630bab,this[_0x3c8136(0x338)](_0x630bab),'docx'),this[_0x3c8136(0x320)](_univerjs_design[_0x3c8136(0x31c)]['Success']);}async[_0x578aaf(0x2ac)](){const _0xd7dfa=_0x578aaf;if(this[_0xd7dfa(0x2fd)]()){this[_0xd7dfa(0x297)][_0xd7dfa(0x1f5)]({'type':_univerjs_design[_0xd7dfa(0x31c)]['Warning'],'content':this['_localeService']['t'](_0xd7dfa(0x2a5))});return;}const _0x11f109=await getUploadFile([_univerjs_core[_0xd7dfa(0x301)][_0xd7dfa(0x28f)]]);if(!_0x11f109)return;if(this[_0xd7dfa(0x22c)](_0x11f109,_univerjs_core[_0xd7dfa(0x301)][_0xd7dfa(0x28f)]))return;return this['_importFileToUnitId'](_0x11f109[0x0],_univerjs_core[_0xd7dfa(0x301)]['UNIVER_SHEET']);}async[_0x578aaf(0x2b9)](){const _0x584d75=_0x578aaf;if(this[_0x584d75(0x2fd)]()){this[_0x584d75(0x297)][_0x584d75(0x1f5)]({'type':_univerjs_design[_0x584d75(0x31c)][_0x584d75(0x253)],'content':this['_localeService']['t'](_0x584d75(0x2a5))});return;}const _0x181b6d=await getUploadFile([_univerjs_core['UniverInstanceType'][_0x584d75(0x28f)]]);if(!_0x181b6d)return;this[_0x584d75(0x205)](_univerjs_design[_0x584d75(0x31c)][_0x584d75(0x242)]);const _0x3d5caf=await this[_0x584d75(0x2fe)][_0x584d75(0x2b9)](_0x181b6d[0x0]);if(!_0x3d5caf)return;this[_0x584d75(0x2e5)](_0x3d5caf),this['_showUploadMessage'](_univerjs_design[_0x584d75(0x31c)][_0x584d75(0x2d5)]);}async[_0x578aaf(0x1e7)](_0x762b71,_0x307d82,_0x540278){const _0x1b47fd=_0x578aaf;this[_0x1b47fd(0x320)](_univerjs_design[_0x1b47fd(0x31c)]['Info']);const _0x3bb085=await this[_0x1b47fd(0x2fe)][_0x1b47fd(0x1e7)](_0x762b71||this[_0x1b47fd(0x1e0)]());if(!_0x3bb085)return;downloadFile(_0x3bb085,_0x307d82||this[_0x1b47fd(0x338)](_0x3bb085),_0x1b47fd(0x32c)),this[_0x1b47fd(0x320)](_univerjs_design['MessageType']['Success']);}async[_0x578aaf(0x2f6)](){const _0x33f920=_0x578aaf;this[_0x33f920(0x320)](_univerjs_design[_0x33f920(0x31c)]['Info']);const _0x538252=await this['_getUnitJson'](),_0x29b050=await this[_0x33f920(0x2fe)][_0x33f920(0x2f6)](_0x538252);if(!_0x29b050)return;downloadFile(_0x29b050,this['_getUnitName'](_0x29b050),_0x33f920(0x32c)),this[_0x33f920(0x320)](_univerjs_design[_0x33f920(0x31c)][_0x33f920(0x2d5)]);}[_0x578aaf(0x236)](_0x3eec81){const _0x5af520=_0x578aaf;this[_0x5af520(0x1db)]=_0x3eec81;}async[_0x578aaf(0x239)](_0x2983e0,_0x1fc5ee){const _0x5a971f=_0x578aaf;this['_uploadNotificationService'][_0x5a971f(0x1f5)](),this[_0x5a971f(0x232)]['updateState'](0x0),this[_0x5a971f(0x256)](0x4),this['_addDoneTask'](0x1);const _0x12f108=await this[_0x5a971f(0x2fe)]['importFileToUnitId'](_0x2983e0,_0x1fc5ee);if(!_0x12f108){this[_0x5a971f(0x346)](),this[_0x5a971f(0x232)]['updateState'](0x2);return;}const _0x5e6c77={'link':this[_0x5a971f(0x1db)](_0x12f108,_0x1fc5ee),'name':_0x2983e0[_0x5a971f(0x254)],'type':_0x1fc5ee};return this[_0x5a971f(0x232)][_0x5a971f(0x330)](_0x5e6c77),this['_completeProgress'](),this[_0x5a971f(0x232)][_0x5a971f(0x228)](0x1),_0x12f108;}['_getUnitID'](){const _0x74b586=_0x578aaf;return this['_univerInstanceService']['getCurrentUnitOfType'](_univerjs_core[_0x74b586(0x301)][_0x74b586(0x28f)])[_0x74b586(0x1f0)]();}['_getUnitIDDoc'](){const _0x567281=_0x578aaf;return this[_0x567281(0x1d9)][_0x567281(0x1ee)](_univerjs_core[_0x567281(0x301)]['UNIVER_DOC'])[_0x567281(0x1f0)]();}[_0x578aaf(0x338)](_0x5bf881){const _0x52f981=_0x578aaf;var _0x1e77c4;return((_0x1e77c4=this['_univerInstanceService'][_0x52f981(0x1ee)](_univerjs_core['UniverInstanceType'][_0x52f981(0x28f)]))===null||_0x1e77c4===void 0x0?void 0x0:_0x1e77c4[_0x52f981(0x254)])||_0x5bf881[_0x52f981(0x254)][_0x52f981(0x35b)]('.')[_0x52f981(0x2e2)]()||document[_0x52f981(0x2d4)];}async[_0x578aaf(0x1de)](){const _0x37cc46=_0x578aaf;return this[_0x37cc46(0x1d9)][_0x37cc46(0x1ee)](_univerjs_core['UniverInstanceType'][_0x37cc46(0x28f)])['getSnapshot']();}async[_0x578aaf(0x20c)](){const _0x404537=_0x578aaf;return this['_univerInstanceService'][_0x404537(0x1ee)](_univerjs_core[_0x404537(0x301)]['UNIVER_DOC'])[_0x404537(0x314)]();}[_0x578aaf(0x1db)](_0x391560,_0x25bd20){const _0x33dd8a=_0x578aaf,_0x56da16=new URL(window['location']['href']);return _0x56da16[_0x33dd8a(0x309)]['set']('unit',_0x391560),_0x56da16[_0x33dd8a(0x309)]['set']('type',''+_0x25bd20),_0x56da16[_0x33dd8a(0x22b)]();}[_0x578aaf(0x2e5)](_0x2d38fb){const _0x26c8ab=_0x578aaf,_0x3975d0=this[_0x26c8ab(0x1d9)]['getCurrentUnitForType'](_univerjs_core['UniverInstanceType'][_0x26c8ab(0x28f)])[_0x26c8ab(0x1f0)]();this[_0x26c8ab(0x1d9)][_0x26c8ab(0x1f8)](_0x3975d0),this[_0x26c8ab(0x1d9)][_0x26c8ab(0x22e)](_univerjs_core[_0x26c8ab(0x301)][_0x26c8ab(0x28f)],_0x2d38fb);}[_0x578aaf(0x231)](_0x43350d){const _0x338c62=_0x578aaf;if(_0x43350d){const {code:_0x156d2b}=_0x43350d;switch(_0x156d2b){case _univerjs_protocol[_0x338c62(0x28e)]['CONNECTOR_DATA_TOO_LARGE']:this['_messageService'][_0x338c62(0x1f5)]({'type':_univerjs_design[_0x338c62(0x31c)]['Error'],'content':this[_0x338c62(0x246)]['t'](_0x338c62(0x1ec))});break;case _univerjs_protocol[_0x338c62(0x28e)]['INTERNAL_ERROR']:this[_0x338c62(0x297)][_0x338c62(0x1f5)]({'type':_univerjs_design[_0x338c62(0x31c)][_0x338c62(0x266)],'content':this[_0x338c62(0x246)]['t'](_0x338c62(0x21f))});break;default:this[_0x338c62(0x297)][_0x338c62(0x1f5)]({'type':_univerjs_design['MessageType']['Error'],'content':this[_0x338c62(0x246)]['t'](_0x338c62(0x30d))});break;}return null;}return this['_messageService']['show']({'type':_univerjs_design[_0x338c62(0x31c)][_0x338c62(0x266)],'content':this[_0x338c62(0x246)]['t'](_0x338c62(0x30d))}),null;}[_0x578aaf(0x320)](_0x359815){const _0x3cf1e6=_0x578aaf;let _0x2aaca3='';switch(_0x359815){case _univerjs_design['MessageType']['Success']:_0x2aaca3=this['_localeService']['t'](_0x3cf1e6(0x26e));break;case _univerjs_design[_0x3cf1e6(0x31c)][_0x3cf1e6(0x242)]:_0x2aaca3=this['_localeService']['t'](_0x3cf1e6(0x311));break;default:break;}this[_0x3cf1e6(0x297)][_0x3cf1e6(0x1f5)]({'type':_0x359815,'content':_0x2aaca3});}[_0x578aaf(0x205)](_0x37cfd4){const _0x2d5ce3=_0x578aaf;let _0x44f611='';switch(_0x37cfd4){case _univerjs_design[_0x2d5ce3(0x31c)][_0x2d5ce3(0x2d5)]:_0x44f611=this['_localeService']['t'](_0x2d5ce3(0x2a3));break;case _univerjs_design[_0x2d5ce3(0x31c)][_0x2d5ce3(0x242)]:_0x44f611=this['_localeService']['t'](_0x2d5ce3(0x2a5));break;default:break;}this['_messageService'][_0x2d5ce3(0x1f5)]({'type':_0x37cfd4,'content':_0x44f611});}[_0x578aaf(0x2ad)](){const _0x2e2a80=_0x578aaf;this[_0x2e2a80(0x273)][_0x2e2a80(0x277)]({'done':this[_0x2e2a80(0x35c)],'count':this[_0x2e2a80(0x2b2)]});}[_0x578aaf(0x256)](_0x348801){const _0x581f33=_0x578aaf;this[_0x581f33(0x2b2)]+=_0x348801,this[_0x581f33(0x2ad)]();}[_0x578aaf(0x317)](_0x332d47){const _0x306c36=_0x578aaf;this['_doneUploadTaskCount']+=_0x332d47,this[_0x306c36(0x35c)]=Math[_0x306c36(0x259)](this[_0x306c36(0x35c)],this[_0x306c36(0x2b2)]),this[_0x306c36(0x2ad)]();}[_0x578aaf(0x210)](){const _0x3f5aac=_0x578aaf;this[_0x3f5aac(0x35c)]=this[_0x3f5aac(0x2b2)],this[_0x3f5aac(0x2ad)]();}[_0x578aaf(0x346)](){const _0x4fc34f=_0x578aaf;this[_0x4fc34f(0x35c)]=0x0,this[_0x4fc34f(0x2b2)]=0x0,this['_emitProgress']();}[_0x578aaf(0x22c)](_0x4d3dfb,_0x48f940){const _0x1566c8=_0x578aaf,_0x269b0f=_0x4d3dfb[0x0],_0x34917c=_0x269b0f['name'];if(getUniverInstanceTypeByFile(_0x269b0f)!==_0x48f940)return this[_0x1566c8(0x297)]['show']({'type':_univerjs_design[_0x1566c8(0x31c)][_0x1566c8(0x266)],'content':this[_0x1566c8(0x246)]['t'](_0x1566c8(0x300),_0x34917c)}),!![];return![];}['_uploadTaskNotDone'](){const _0x4225bc=_0x578aaf;return this[_0x4225bc(0x2b2)]!==0x0&&this[_0x4225bc(0x35c)]!==this[_0x4225bc(0x2b2)];}};ExchangeOperateService=__decorate([__decorateParam(0x0,(0x0,_univerjs_core[_0x578aaf(0x2f2)])(_univerjs_core['IUniverInstanceService'])),__decorateParam(0x1,_univerjs_ui[_0x578aaf(0x33d)]),__decorateParam(0x2,(0x0,_univerjs_core[_0x578aaf(0x2f2)])(_univerjs_core[_0x578aaf(0x2a2)])),__decorateParam(0x3,(0x0,_univerjs_core[_0x578aaf(0x2f2)])(IExchangeService)),__decorateParam(0x4,(0x0,_univerjs_core['Inject'])(IUploadNotificationService)),__decorateParam(0x5,_univerjs_core['ILogService'])],ExchangeOperateService);function UploadButton(_0x2b40a4){const _0x58425c=_0x578aaf,{onClick:_0x28e5b3,children:_0x5ce44c,className:_0x3f89c9}=_0x2b40a4;return(0x0,react_jsx_runtime[_0x58425c(0x2da)])(_0x58425c(0x2b5),{'className':(0x0,_univerjs_design['clsx'])(_0x58425c(0x307),_0x3f89c9),'type':'button','onClick':_0x28e5b3,'children':_0x5ce44c});}function UploadAgain(){const _0x313670=_0x578aaf,_0x24f46a=(0x0,_univerjs_ui[_0x313670(0x31b)])(IExchangeOperateService),_0x4c9587=(0x0,_univerjs_ui[_0x313670(0x31b)])(_univerjs_core[_0x313670(0x2a2)]);function _0x41a405(){const _0xf56184=_0x313670;_0x24f46a[_0xf56184(0x2ac)]();}return(0x0,react_jsx_runtime[_0x313670(0x2da)])(UploadButton,{'onClick':_0x41a405,'children':_0x4c9587['t']('exchange.uploadAgain')});}function UploadError(){const _0x1ca7f3=_0x578aaf;return(0x0,react_jsx_runtime[_0x1ca7f3(0x1f2)])(_0x1ca7f3(0x292),{'className':'univer-mt-5\x20univer-flex\x20univer-flex-col','children':[(0x0,react_jsx_runtime[_0x1ca7f3(0x2da)])(_0x1ca7f3(0x214),{'className':_0x1ca7f3(0x260),'children':(0x0,_univerjs_ui[_0x1ca7f3(0x31b)])(_univerjs_core[_0x1ca7f3(0x2a2)])['t'](_0x1ca7f3(0x2db))}),(0x0,react_jsx_runtime[_0x1ca7f3(0x2da)])(UploadAgain,{})]});}function UploadSuccess(_0x75b555){const _0x21f879=_0x578aaf,{count:_0xb966e1}=_0x75b555;return(0x0,react_jsx_runtime['jsxs'])(_0x21f879(0x292),{'className':_0x21f879(0x333),'children':[(0x0,react_jsx_runtime[_0x21f879(0x2da)])(_0x21f879(0x214),{'className':_0x21f879(0x32b),'children':(0x0,_univerjs_ui['useDependency'])(_univerjs_core[_0x21f879(0x2a2)])['t']('exchange.uploadSuccessTip',''+_0xb966e1)}),(0x0,react_jsx_runtime[_0x21f879(0x2da)])(UploadAgain,{})]});}function UploadCancel(){const _0x452417=_0x578aaf,_0x7fd017=(0x0,_univerjs_ui['useDependency'])(IExchangeOperateService),_0x5452d3=(0x0,_univerjs_ui['useDependency'])(_univerjs_core['LocaleService']);function _0x2e0d5f(){const _0x309ec3=_0x12c8;_0x7fd017[_0x309ec3(0x26a)]();}return(0x0,react_jsx_runtime[_0x452417(0x2da)])(UploadButton,{'onClick':_0x2e0d5f,'children':_0x5452d3['t'](_0x452417(0x2a9))});}function UploadProgress(){const _0x50c054=_0x578aaf,{count:_0x232daa,done:_0x5bb23a}=(0x0,_univerjs_ui[_0x50c054(0x1d8)])((0x0,_univerjs_ui[_0x50c054(0x31b)])(IExchangeOperateService)['progress$']),[_0x26d105,_0x27b5d8]=(0x0,react[_0x50c054(0x1e1)])(_0x232daa>0x0?_0x5bb23a/_0x232daa:0x0);return(0x0,react[_0x50c054(0x208)])(()=>{_0x27b5d8(_0x232daa>0x0?_0x5bb23a/_0x232daa:0x0);},[_0x232daa,_0x5bb23a]),(0x0,react_jsx_runtime[_0x50c054(0x2da)])(_0x50c054(0x292),{'className':_0x50c054(0x2c1),'children':(0x0,react_jsx_runtime['jsx'])('div',{'className':_0x50c054(0x220),'style':{'width':Math['floor'](_0x26d105*0x64)+'%'}})});}function Uploading(){const _0x279744=_0x578aaf;return(0x0,react_jsx_runtime['jsxs'])('div',{'className':_0x279744(0x24e),'children':[(0x0,react_jsx_runtime['jsx'])('span',{'className':_0x279744(0x287),'children':(0x0,_univerjs_ui[_0x279744(0x31b)])(_univerjs_core['LocaleService'])['t'](_0x279744(0x2f7))}),(0x0,react_jsx_runtime['jsx'])(_0x279744(0x292),{'className':_0x279744(0x2a8),'children':(0x0,react_jsx_runtime[_0x279744(0x2da)])(UploadProgress,{})}),(0x0,react_jsx_runtime['jsx'])(UploadCancel,{})]});}const iconMap={[0x1]:(0x0,react_jsx_runtime[_0x578aaf(0x2da)])(_univerjs_icons[_0x578aaf(0x2ca)],{'className':_0x578aaf(0x1dd)}),[0x0]:(0x0,react_jsx_runtime[_0x578aaf(0x2da)])(_univerjs_icons[_0x578aaf(0x223)],{'className':_0x578aaf(0x318)}),[0x2]:(0x0,react_jsx_runtime['jsx'])(_univerjs_icons[_0x578aaf(0x2ff)],{'className':_0x578aaf(0x304)})};function UploadNotification(){const _0x4f6041=_0x578aaf,[_0x4fe306,_0xdbe7ca]=(0x0,react['useState'])(0x0),[_0x39129d,_0x2e3cd5]=(0x0,react[_0x4f6041(0x1e1)])(![]),[_0x2be8d9,_0x5c794f]=(0x0,react[_0x4f6041(0x1e1)])([]),_0xd4dac3=(0x0,_univerjs_ui[_0x4f6041(0x31b)])(IUploadNotificationService),_0x32ee54=(0x0,_univerjs_ui['useDependency'])(_univerjs_core['LocaleService']);(0x0,react[_0x4f6041(0x208)])(()=>{const _0x305cbc=_0x4f6041,_0x21a504=_0xd4dac3[_0x305cbc(0x21b)][_0x305cbc(0x252)](_0x22b558=>{_0x2e3cd5(_0x22b558);}),_0x222b0c=_0xd4dac3[_0x305cbc(0x201)][_0x305cbc(0x252)](_0x954ceb=>{_0x5c794f(_0x954ceb);}),_0x3afcc1=_0xd4dac3[_0x305cbc(0x310)][_0x305cbc(0x252)](_0x3fdf3a=>{_0xdbe7ca(_0x3fdf3a);});return()=>{const _0x437393=_0x305cbc;_0x21a504[_0x437393(0x27a)](),_0x222b0c[_0x437393(0x27a)](),_0x3afcc1[_0x437393(0x27a)]();};},[]);function _0xedad03(){_0x2e3cd5(![]);}function _0x1fffbc(_0x4146ab){const _0x33f56c=_0x4f6041;switch(_0x4146ab){case 0x1:return _0x32ee54['t'](_0x33f56c(0x2a3));case 0x0:return _0x32ee54['t'](_0x33f56c(0x2a5));case 0x2:return _0x32ee54['t'](_0x33f56c(0x245));default:return'';}}return _0x39129d&&(0x0,react_jsx_runtime[_0x4f6041(0x1f2)])(_0x4f6041(0x292),{'className':_0x4f6041(0x334),'children':[(0x0,react_jsx_runtime[_0x4f6041(0x1f2)])(_0x4f6041(0x292),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2','children':[(0x0,react_jsx_runtime[_0x4f6041(0x1f2)])(_0x4f6041(0x214),{'className':_0x4f6041(0x31e),'children':[(0x0,react_jsx_runtime[_0x4f6041(0x2da)])(_0x4f6041(0x214),{'className':'univer-h-6\x20univer-text-2xl','children':iconMap[_0x4fe306]}),(0x0,react_jsx_runtime[_0x4f6041(0x2da)])(_0x4f6041(0x214),{'className':_0x4f6041(0x24c),'children':_0x1fffbc(_0x4fe306)})]}),(0x0,react_jsx_runtime[_0x4f6041(0x2da)])(_0x4f6041(0x214),{'className':_0x4f6041(0x2ae),'onClick':_0xedad03,'children':(0x0,react_jsx_runtime[_0x4f6041(0x2da)])(_univerjs_icons['CloseIcon'],{})})]}),(0x0,react_jsx_runtime[_0x4f6041(0x1f2)])(_0x4f6041(0x292),{'children':[_0x4fe306===0x0&&(0x0,react_jsx_runtime[_0x4f6041(0x2da)])(Uploading,{}),_0x4fe306===0x2&&(0x0,react_jsx_runtime[_0x4f6041(0x2da)])(UploadError,{}),_0x2be8d9[_0x4f6041(0x33f)]>0x0&&(0x0,react_jsx_runtime[_0x4f6041(0x2da)])(LinkList,{'list':_0x2be8d9}),_0x4fe306===0x1&&(0x0,react_jsx_runtime[_0x4f6041(0x2da)])(UploadSuccess,{'count':_0x2be8d9['length']})]})]});}function UploadNotificationContainer(){const _0x2f16a4=_0x578aaf;return(0x0,react_jsx_runtime[_0x2f16a4(0x2da)])(UploadNotification,{});}let ExchangeClientController=class ExchangeClientController extends _univerjs_core[_0x578aaf(0x337)]{constructor(_0x596545,_0x23cca8){const _0x50791c=_0x578aaf;super(),this[_0x50791c(0x264)]=_0x596545,this[_0x50791c(0x2f3)]=_0x23cca8,this[_0x50791c(0x237)]();}[_0x578aaf(0x237)](){const _0x396083=_0x578aaf;this['disposeWithMe'](this['_uiPartsService'][_0x396083(0x21e)](_univerjs_ui['BuiltInUIPart'][_0x396083(0x221)],()=>(0x0,_univerjs_ui['connectInjector'])(UploadNotificationContainer,this['_injector'])));}};ExchangeClientController=__decorate([__decorateParam(0x0,(0x0,_univerjs_core[_0x578aaf(0x2f2)])(_univerjs_core[_0x578aaf(0x278)])),__decorateParam(0x1,_univerjs_ui[_0x578aaf(0x349)])],ExchangeClientController);let UniverExchangeClientPlugin=class UniverExchangeClientPlugin extends _univerjs_core[_0x578aaf(0x2b8)]{constructor(_0x550bab=defaultPluginConfig,_0x5bb3c7,_0x480c1e){const _0x3f8a8c=_0x578aaf;super(),this[_0x3f8a8c(0x2bb)]=_0x550bab,this[_0x3f8a8c(0x264)]=_0x5bb3c7,this[_0x3f8a8c(0x1fa)]=_0x480c1e;const {..._0x2f84ef}=(0x0,_univerjs_core[_0x3f8a8c(0x206)])({},defaultPluginConfig,this[_0x3f8a8c(0x2bb)]);this[_0x3f8a8c(0x1fa)][_0x3f8a8c(0x31a)](EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY,_0x2f84ef);}['onStarting'](){const _0x47e36f=_0x578aaf;(0x0,_univerjs_core['registerDependencies'])(this[_0x47e36f(0x264)],[[ExchangeClientController],[IExchangeOperateService,{'useClass':ExchangeOperateService}],[IExchangeService,{'useClass':ExchangeService}],[IRequestService,{'useClass':RequestService}],[IUploadNotificationService,{'useClass':UploadNotificationService}]]);}['onReady'](){const _0x5e58f7=_0x578aaf;(0x0,_univerjs_core[_0x5e58f7(0x281)])(this[_0x5e58f7(0x264)],[[ExchangeClientController],[IExchangeOperateService]]);}};_defineProperty(UniverExchangeClientPlugin,_0x578aaf(0x2df),_0x578aaf(0x244)),_defineProperty(UniverExchangeClientPlugin,_0x578aaf(0x1e6),name),_defineProperty(UniverExchangeClientPlugin,_0x578aaf(0x1f9),version),UniverExchangeClientPlugin=__decorate([(0x0,_univerjs_core[_0x578aaf(0x2f1)])(_univerjs_network['UniverNetworkPlugin'],_univerjs_pro_license[_0x578aaf(0x27e)]),__decorateParam(0x1,(0x0,_univerjs_core[_0x578aaf(0x2f2)])(_univerjs_core[_0x578aaf(0x278)])),__decorateParam(0x2,_univerjs_core[_0x578aaf(0x32a)])],UniverExchangeClientPlugin),exports[_0x578aaf(0x240)]=EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY,Object[_0x578aaf(0x350)](exports,_0x578aaf(0x270),{'enumerable':!![],'get':function(){return ExchangeOperateService;}}),Object[_0x578aaf(0x350)](exports,_0x578aaf(0x1eb),{'enumerable':!![],'get':function(){return ExchangeService;}}),exports[_0x578aaf(0x1f7)]=IExchangeOperateService,exports[_0x578aaf(0x312)]=IExchangeService,exports[_0x578aaf(0x23b)]=IRequestService,exports[_0x578aaf(0x341)]=IUploadNotificationService,Object[_0x578aaf(0x350)](exports,_0x578aaf(0x20f),{'enumerable':!![],'get':function(){return RequestService;}}),Object['defineProperty'](exports,_0x578aaf(0x33e),{'enumerable':!![],'get':function(){return UniverExchangeClientPlugin;}}),exports[_0x578aaf(0x355)]=UploadNotificationContainer,exports[_0x578aaf(0x30a)]=UploadNotificationService,exports[_0x578aaf(0x1e8)]=UploadNotificationState,exports[_0x578aaf(0x2e0)]=downloadFile,exports[_0x578aaf(0x2cf)]=getUniverInstanceTypeByFile,exports[_0x578aaf(0x29a)]=getUploadFile,exports[_0x578aaf(0x2c4)]=transformDocumentDataToSnapshotJson,exports['transformSnapshotJsonToDocumentData']=transformSnapshotJsonToDocumentData,exports[_0x578aaf(0x34a)]=transformSnapshotJsonToWorkbookData,exports[_0x578aaf(0x2e6)]=transformWorkbookDataToSnapshotJson;
@@ -1 +1 @@
1
- const _0xca681a=_0x4756;(function(_0x275d20,_0xf5647c){const _0xba3728=_0x4756,_0x49a340=_0x275d20();while(!![]){try{const _0x4607a8=-parseInt(_0xba3728(0x163))/0x1*(-parseInt(_0xba3728(0x175))/0x2)+parseInt(_0xba3728(0x16f))/0x3*(parseInt(_0xba3728(0x16b))/0x4)+-parseInt(_0xba3728(0x16a))/0x5+parseInt(_0xba3728(0x162))/0x6+parseInt(_0xba3728(0x16d))/0x7+-parseInt(_0xba3728(0x169))/0x8+parseInt(_0xba3728(0x16c))/0x9;if(_0x4607a8===_0xf5647c)break;else _0x49a340['push'](_0x49a340['shift']());}catch(_0x4723fe){_0x49a340['push'](_0x49a340['shift']());}}}(_0x1111,0x75aea));const locale$1={'exchange':{'file':_0xca681a(0x170),'upload':'Open(File)','download':'Save\x20As','uploading':_0xca681a(0x173),'uploadSuccess':_0xca681a(0x166),'uploadSuccessTip':'{0}\x20file(s)\x20uploaded\x20successfully','downloading':_0xca681a(0x171),'downloadSuccess':_0xca681a(0x174),'unknownMistake':'Unknown\x20mistake','networkError':_0xca681a(0x168),'tooLarge':_0xca681a(0x172),'internalError':_0xca681a(0x165),'interrupt':_0xca681a(0x16e),'fileTypeError':'Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','wait':'Please\x20wait...','cancel':_0xca681a(0x167),'uploadAgain':'Upload\x20again'}},locale=locale$1;function _0x4756(_0x11ead1,_0x1c2f9f){_0x11ead1=_0x11ead1-0x162;const _0x11114e=_0x1111();let _0x475623=_0x11114e[_0x11ead1];return _0x475623;}module[_0xca681a(0x164)]=locale;function _0x1111(){const _0x5d164d=['Data\x20is\x20too\x20large','Uploading','Download\x20success','72pnYSUa','1683084SQcAHo','18175IxsJWJ','exports','Internal\x20unknown\x20error','File\x20uploaded\x20successfully','Cancel','Network\x20error','6744648LgzLhK','3905875LOHbTL','148ahktXT','1757961LoEaGJ','4096638xsyGww','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','31695AvEGwg','File','Downloading'];_0x1111=function(){return _0x5d164d;};return _0x1111();}
1
+ const _0x51ba63=_0x59fd;(function(_0x5f3139,_0x53edc8){const _0x42237f=_0x59fd,_0x5e9482=_0x5f3139();while(!![]){try{const _0x5c94b2=-parseInt(_0x42237f(0x1b3))/0x1+-parseInt(_0x42237f(0x1bf))/0x2+-parseInt(_0x42237f(0x1b0))/0x3*(parseInt(_0x42237f(0x1a9))/0x4)+-parseInt(_0x42237f(0x1b8))/0x5+parseInt(_0x42237f(0x1aa))/0x6+-parseInt(_0x42237f(0x1b2))/0x7+-parseInt(_0x42237f(0x1be))/0x8*(-parseInt(_0x42237f(0x1bd))/0x9);if(_0x5c94b2===_0x53edc8)break;else _0x5e9482['push'](_0x5e9482['shift']());}catch(_0x1ce177){_0x5e9482['push'](_0x5e9482['shift']());}}}(_0x5767,0xa69fc));function _0x59fd(_0x30b421,_0x36e77d){_0x30b421=_0x30b421-0x1a9;const _0x5767c3=_0x5767();let _0x59fddd=_0x5767c3[_0x30b421];return _0x59fddd;}function _0x5767(){const _0x3afe7d=['2414924xtIaui','1873240vweWhv','2624316AHYyBg','Please\x20wait...','Upload\x20again','File','Uploading','Network\x20error','3CnMeAf','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','6551734iOakrp','896765TNNEjP','Open(File)','{0}\x20file(s)\x20uploaded\x20successfully','Data\x20is\x20too\x20large','File\x20uploaded\x20successfully','2037290PoSDYj','Download\x20success','Cancel','Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','Downloading','27dhKrqx','11096168tZWasW'];_0x5767=function(){return _0x3afe7d;};return _0x5767();}const locale$1={'exchange':{'file':_0x51ba63(0x1ad),'upload':_0x51ba63(0x1b4),'download':'Save\x20As','uploading':_0x51ba63(0x1ae),'uploadSuccess':_0x51ba63(0x1b7),'uploadSuccessTip':_0x51ba63(0x1b5),'downloading':_0x51ba63(0x1bc),'downloadSuccess':_0x51ba63(0x1b9),'unknownMistake':'Unknown\x20mistake','networkError':_0x51ba63(0x1af),'tooLarge':_0x51ba63(0x1b6),'internalError':'Internal\x20unknown\x20error','interrupt':_0x51ba63(0x1b1),'fileTypeError':_0x51ba63(0x1bb),'wait':_0x51ba63(0x1ab),'cancel':_0x51ba63(0x1ba),'uploadAgain':_0x51ba63(0x1ac)}},locale=locale$1;module['exports']=locale;
@@ -1 +1 @@
1
- const _0x2ac935=_0x1950;(function(_0x1a6cd1,_0x5f0607){const _0x5a09b=_0x1950,_0x4243f7=_0x1a6cd1();while(!![]){try{const _0x22f20=parseInt(_0x5a09b(0x1b4))/0x1*(-parseInt(_0x5a09b(0x1c3))/0x2)+-parseInt(_0x5a09b(0x1b3))/0x3*(-parseInt(_0x5a09b(0x1bf))/0x4)+parseInt(_0x5a09b(0x1bd))/0x5*(-parseInt(_0x5a09b(0x1b8))/0x6)+-parseInt(_0x5a09b(0x1c2))/0x7+parseInt(_0x5a09b(0x1c4))/0x8+parseInt(_0x5a09b(0x1c5))/0x9+parseInt(_0x5a09b(0x1bc))/0xa;if(_0x22f20===_0x5f0607)break;else _0x4243f7['push'](_0x4243f7['shift']());}catch(_0x6a2317){_0x4243f7['push'](_0x4243f7['shift']());}}}(_0x7eba,0x2c5cf));const locale={'exchange':{'file':_0x2ac935(0x1b9),'upload':'Open(File)','download':'Save\x20As','uploading':'Uploading','uploadSuccess':'File\x20uploaded\x20successfully','uploadSuccessTip':_0x2ac935(0x1b2),'downloading':'Downloading','downloadSuccess':_0x2ac935(0x1c0),'unknownMistake':'Unknown\x20mistake','networkError':_0x2ac935(0x1b7),'tooLarge':_0x2ac935(0x1b6),'internalError':_0x2ac935(0x1c1),'interrupt':_0x2ac935(0x1b5),'fileTypeError':_0x2ac935(0x1ba),'wait':_0x2ac935(0x1be),'cancel':_0x2ac935(0x1bb),'uploadAgain':'Upload\x20again'}};function _0x7eba(){const _0x11def1=['Cancel','209560mLDQMN','2765CqrKxS','Please\x20wait...','124INzIcj','Download\x20success','Internal\x20unknown\x20error','2039338vLnmMO','10bMvqmK','2558128oAWrwl','847611hYPwIS','{0}\x20file(s)\x20uploaded\x20successfully','15450VpMSnu','4172KalJgP','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','Data\x20is\x20too\x20large','Network\x20error','1092njTarW','File','Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload'];_0x7eba=function(){return _0x11def1;};return _0x7eba();}function _0x1950(_0x47a296,_0x2a25aa){_0x47a296=_0x47a296-0x1b2;const _0x7ebad4=_0x7eba();let _0x195016=_0x7ebad4[_0x47a296];return _0x195016;}module['exports']=locale;
1
+ const _0x5b699c=_0x280e;(function(_0x2e6c4b,_0x209bdb){const _0x3cff96=_0x280e,_0xf01091=_0x2e6c4b();while(!![]){try{const _0x25ae46=-parseInt(_0x3cff96(0xc6))/0x1*(-parseInt(_0x3cff96(0xd0))/0x2)+-parseInt(_0x3cff96(0xca))/0x3*(-parseInt(_0x3cff96(0xce))/0x4)+parseInt(_0x3cff96(0xc4))/0x5+-parseInt(_0x3cff96(0xd7))/0x6*(-parseInt(_0x3cff96(0xcb))/0x7)+-parseInt(_0x3cff96(0xd9))/0x8+-parseInt(_0x3cff96(0xd3))/0x9*(-parseInt(_0x3cff96(0xcd))/0xa)+parseInt(_0x3cff96(0xdc))/0xb*(-parseInt(_0x3cff96(0xcf))/0xc);if(_0x25ae46===_0x209bdb)break;else _0xf01091['push'](_0xf01091['shift']());}catch(_0x403b84){_0xf01091['push'](_0xf01091['shift']());}}}(_0x33c5,0xa4482));const locale={'exchange':{'file':_0x5b699c(0xc5),'upload':'Open(File)','download':'Save\x20As','uploading':_0x5b699c(0xd5),'uploadSuccess':_0x5b699c(0xdb),'uploadSuccessTip':_0x5b699c(0xc7),'downloading':_0x5b699c(0xd8),'downloadSuccess':_0x5b699c(0xcc),'unknownMistake':_0x5b699c(0xd2),'networkError':_0x5b699c(0xc9),'tooLarge':'Data\x20is\x20too\x20large','internalError':_0x5b699c(0xda),'interrupt':_0x5b699c(0xc8),'fileTypeError':'Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','wait':_0x5b699c(0xdd),'cancel':_0x5b699c(0xd1),'uploadAgain':_0x5b699c(0xd6)}};function _0x33c5(){const _0x578711=['exports','Uploading','Upload\x20again','714RmZqFH','Downloading','3234816Zpffca','Internal\x20unknown\x20error','File\x20uploaded\x20successfully','35355738kSObwr','Please\x20wait...','4153550DZBtnD','File','3FHfstQ','{0}\x20file(s)\x20uploaded\x20successfully','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','Network\x20error','69kCzDZB','77546csSuxH','Download\x20success','1480eVcvgE','36172sCginE','12XPTyWp','811282RRKLlI','Cancel','Unknown\x20mistake','43632ldtGRt'];_0x33c5=function(){return _0x578711;};return _0x33c5();}function _0x280e(_0x9ca62e,_0x29ecf1){_0x9ca62e=_0x9ca62e-0xc4;const _0x33c56e=_0x33c5();let _0x280ece=_0x33c56e[_0x9ca62e];return _0x280ece;}module[_0x5b699c(0xd4)]=locale;
@@ -1 +1 @@
1
- const _0x350fbd=_0x4b48;(function(_0x58aa88,_0x277871){const _0x121b07=_0x4b48,_0x31826d=_0x58aa88();while(!![]){try{const _0x2055d6=parseInt(_0x121b07(0xe0))/0x1*(parseInt(_0x121b07(0xe9))/0x2)+-parseInt(_0x121b07(0xe6))/0x3+parseInt(_0x121b07(0xea))/0x4+parseInt(_0x121b07(0xe4))/0x5+parseInt(_0x121b07(0xde))/0x6+-parseInt(_0x121b07(0xdf))/0x7*(parseInt(_0x121b07(0xeb))/0x8)+parseInt(_0x121b07(0xed))/0x9*(-parseInt(_0x121b07(0xdc))/0xa);if(_0x2055d6===_0x277871)break;else _0x31826d['push'](_0x31826d['shift']());}catch(_0x51d605){_0x31826d['push'](_0x31826d['shift']());}}}(_0x299b,0xdff19));const locale$1={'exchange':{'file':_0x350fbd(0xe7),'upload':'Open(File)','download':'Save\x20As','uploading':'Uploading','uploadSuccess':'File\x20uploaded\x20successfully','uploadSuccessTip':'{0}\x20file(s)\x20uploaded\x20successfully','downloading':'Downloading','downloadSuccess':_0x350fbd(0xdd),'unknownMistake':'Unknown\x20mistake','networkError':_0x350fbd(0xe2),'tooLarge':_0x350fbd(0xe8),'internalError':_0x350fbd(0xe3),'interrupt':_0x350fbd(0xe5),'fileTypeError':'Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','wait':'Please\x20wait...','cancel':_0x350fbd(0xe1),'uploadAgain':_0x350fbd(0xec)}},locale=locale$1;module[_0x350fbd(0xdb)]=locale;function _0x4b48(_0x5b1f2f,_0x41a116){_0x5b1f2f=_0x5b1f2f-0xdb;const _0x299b55=_0x299b();let _0x4b4856=_0x299b55[_0x5b1f2f];return _0x4b4856;}function _0x299b(){const _0x2a5f76=['334760eZfiWw','Upload\x20again','315avEMRI','exports','630790dIvDGu','Download\x20success','3394938wrCdiY','91JmDMjn','1JZlGzN','Cancel','Network\x20error','Internal\x20unknown\x20error','5949825QLQGFf','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','961770oneRzC','File','Data\x20is\x20too\x20large','1542962guwFxg','5849376HHThny'];_0x299b=function(){return _0x2a5f76;};return _0x299b();}
1
+ const _0xa57412=_0x35db;function _0x35db(_0x1b0805,_0x2c3df4){_0x1b0805=_0x1b0805-0x8d;const _0x4cee92=_0x4cee();let _0x35db5e=_0x4cee92[_0x1b0805];return _0x35db5e;}function _0x4cee(){const _0x51790d=['Data\x20is\x20too\x20large','Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','412248pQazoA','Save\x20As','Open(File)','221767YNnXZg','4368616izLZzg','3972810bDLEnu','Uploading','360695CCOGYr','2678517ejCLaB','Network\x20error','exports','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','Please\x20wait...','78428KERESK','Internal\x20unknown\x20error','Cancel','Unknown\x20mistake'];_0x4cee=function(){return _0x51790d;};return _0x4cee();}(function(_0x379b7c,_0x31aa17){const _0x302c2d=_0x35db,_0x22d0a5=_0x379b7c();while(!![]){try{const _0x6092c1=-parseInt(_0x302c2d(0x97))/0x1+-parseInt(_0x302c2d(0x8e))/0x2+parseInt(_0x302c2d(0x9c))/0x3+-parseInt(_0x302c2d(0x94))/0x4+-parseInt(_0x302c2d(0x9b))/0x5+parseInt(_0x302c2d(0x99))/0x6+-parseInt(_0x302c2d(0x98))/0x7;if(_0x6092c1===_0x31aa17)break;else _0x22d0a5['push'](_0x22d0a5['shift']());}catch(_0x2b2c99){_0x22d0a5['push'](_0x22d0a5['shift']());}}}(_0x4cee,0x78c70));const locale$1={'exchange':{'file':'File','upload':_0xa57412(0x96),'download':_0xa57412(0x95),'uploading':_0xa57412(0x9a),'uploadSuccess':'File\x20uploaded\x20successfully','uploadSuccessTip':'{0}\x20file(s)\x20uploaded\x20successfully','downloading':'Downloading','downloadSuccess':'Download\x20success','unknownMistake':_0xa57412(0x91),'networkError':_0xa57412(0x9d),'tooLarge':_0xa57412(0x92),'internalError':_0xa57412(0x8f),'interrupt':_0xa57412(0x9f),'fileTypeError':_0xa57412(0x93),'wait':_0xa57412(0x8d),'cancel':_0xa57412(0x90),'uploadAgain':'Upload\x20again'}},locale=locale$1;module[_0xa57412(0x9e)]=locale;
@@ -1 +1 @@
1
- const _0x24c2c8=_0x5a84;(function(_0xac116f,_0x27c4c3){const _0x586f79=_0x5a84,_0x5a32b9=_0xac116f();while(!![]){try{const _0xf1cb96=parseInt(_0x586f79(0xdb))/0x1*(-parseInt(_0x586f79(0xe0))/0x2)+-parseInt(_0x586f79(0xda))/0x3+parseInt(_0x586f79(0xd1))/0x4+-parseInt(_0x586f79(0xd9))/0x5+-parseInt(_0x586f79(0xe3))/0x6*(parseInt(_0x586f79(0xe4))/0x7)+-parseInt(_0x586f79(0xe6))/0x8*(parseInt(_0x586f79(0xd0))/0x9)+-parseInt(_0x586f79(0xd8))/0xa*(-parseInt(_0x586f79(0xdf))/0xb);if(_0xf1cb96===_0x27c4c3)break;else _0x5a32b9['push'](_0x5a32b9['shift']());}catch(_0x370bf8){_0x5a32b9['push'](_0x5a32b9['shift']());}}}(_0x1ad5,0xb92e4));const locale={'exchange':{'file':_0x24c2c8(0xd2),'upload':_0x24c2c8(0xe2),'download':_0x24c2c8(0xe1),'uploading':_0x24c2c8(0xde),'uploadSuccess':_0x24c2c8(0xe5),'uploadSuccessTip':_0x24c2c8(0xd4),'downloading':'در\x20حال\x20دانلود','downloadSuccess':_0x24c2c8(0xd6),'unknownMistake':_0x24c2c8(0xd5),'networkError':'خطای\x20شبکه','tooLarge':_0x24c2c8(0xd3),'internalError':_0x24c2c8(0xe7),'interrupt':_0x24c2c8(0xdc),'fileTypeError':_0x24c2c8(0xd7),'wait':_0x24c2c8(0xdd),'cancel':'لغو','uploadAgain':'بارگذاری\x20مجدد'}};function _0x5a84(_0x3401f9,_0x164aee){_0x3401f9=_0x3401f9-0xd0;const _0x1ad589=_0x1ad5();let _0x5a8479=_0x1ad589[_0x3401f9];return _0x5a8479;}function _0x1ad5(){const _0x20baad=['55GASPSB','2WeqjOR','ذخیره\x20به\x20عنوان','بازکردن(فایل)','26616PwCEuN','1561VahTLC','فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','1720tCtRpi','خطای\x20داخلی\x20ناشناخته','29241RJHKro','3682904Lkdgjc','فایل','داده\x20خیلی\x20بزرگ\x20است','{0}\x20فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','خطای\x20ناشناخته','دانلود\x20موفقیت\x20آمیز','فایل\x20انتخاب\x20شده\x20[{0}]\x20برای\x20بارگذاری\x20پشتیبانی\x20نمی‌شود','6653000EUZoRA','6096315FmKRgG','367518pIksaC','459194tuoDPH','اتصال\x20شبکه\x20قطع\x20شد\x20و\x20بارگذاری\x20فایل\x20ناموفق\x20بود.','لطفا\x20صبر\x20کنید...','در\x20حال\x20بارگذاری'];_0x1ad5=function(){return _0x20baad;};return _0x1ad5();}module['exports']=locale;
1
+ function _0x34e3(_0x590e84,_0x31529e){_0x590e84=_0x590e84-0x106;const _0x55ffdf=_0x55ff();let _0x34e339=_0x55ffdf[_0x590e84];return _0x34e339;}const _0x471534=_0x34e3;function _0x55ff(){const _0x369452=['{0}\x20فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','دانلود\x20موفقیت\x20آمیز','1240436kTUiCx','داده\x20خیلی\x20بزرگ\x20است','30nSwcdb','1166180UclSXa','9027445bYjUWl','30kGtmQS','329724HIPegS','در\x20حال\x20دانلود','در\x20حال\x20بارگذاری','ذخیره\x20به\x20عنوان','2muGLzH','لغو','خطای\x20شبکه','بارگذاری\x20مجدد','2820339KlquYm','5293206dgyBQJ','لطفا\x20صبر\x20کنید...','فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','فایل\x20انتخاب\x20شده\x20[{0}]\x20برای\x20بارگذاری\x20پشتیبانی\x20نمی‌شود','بازکردن(فایل)','8NRQyqx','12958231Wqbqqd','خطای\x20ناشناخته','exports'];_0x55ff=function(){return _0x369452;};return _0x55ff();}(function(_0x40e4e2,_0x2c4a21){const _0x1dffbf=_0x34e3,_0x18f733=_0x40e4e2();while(!![]){try{const _0x468315=-parseInt(_0x1dffbf(0x10a))/0x1*(parseInt(_0x1dffbf(0x114))/0x2)+-parseInt(_0x1dffbf(0x118))/0x3+parseInt(_0x1dffbf(0x110))/0x4+parseInt(_0x1dffbf(0x10d))/0x5*(parseInt(_0x1dffbf(0x10f))/0x6)+-parseInt(_0x1dffbf(0x10e))/0x7+parseInt(_0x1dffbf(0x11e))/0x8*(-parseInt(_0x1dffbf(0x119))/0x9)+-parseInt(_0x1dffbf(0x10c))/0xa*(-parseInt(_0x1dffbf(0x11f))/0xb);if(_0x468315===_0x2c4a21)break;else _0x18f733['push'](_0x18f733['shift']());}catch(_0x52c53b){_0x18f733['push'](_0x18f733['shift']());}}}(_0x55ff,0xb0d84));const locale={'exchange':{'file':'فایل','upload':_0x471534(0x11d),'download':_0x471534(0x113),'uploading':_0x471534(0x112),'uploadSuccess':_0x471534(0x11b),'uploadSuccessTip':_0x471534(0x108),'downloading':_0x471534(0x111),'downloadSuccess':_0x471534(0x109),'unknownMistake':_0x471534(0x106),'networkError':_0x471534(0x116),'tooLarge':_0x471534(0x10b),'internalError':'خطای\x20داخلی\x20ناشناخته','interrupt':'اتصال\x20شبکه\x20قطع\x20شد\x20و\x20بارگذاری\x20فایل\x20ناموفق\x20بود.','fileTypeError':_0x471534(0x11c),'wait':_0x471534(0x11a),'cancel':_0x471534(0x115),'uploadAgain':_0x471534(0x117)}};module[_0x471534(0x107)]=locale;
@@ -1 +1 @@
1
- function _0x3c9c(_0x101757,_0x371bf4){_0x101757=_0x101757-0x99;const _0x35ef68=_0x35ef();let _0x3c9c42=_0x35ef68[_0x101757];return _0x3c9c42;}const _0x5bc332=_0x3c9c;(function(_0x17d00a,_0x101c8f){const _0x42570b=_0x3c9c,_0x4b7414=_0x17d00a();while(!![]){try{const _0x18a8a0=parseInt(_0x42570b(0xa3))/0x1*(-parseInt(_0x42570b(0xb1))/0x2)+-parseInt(_0x42570b(0xab))/0x3+parseInt(_0x42570b(0xa7))/0x4*(-parseInt(_0x42570b(0xa1))/0x5)+parseInt(_0x42570b(0x9a))/0x6*(-parseInt(_0x42570b(0xa9))/0x7)+parseInt(_0x42570b(0xaf))/0x8*(parseInt(_0x42570b(0xae))/0x9)+parseInt(_0x42570b(0xa8))/0xa*(-parseInt(_0x42570b(0x9c))/0xb)+parseInt(_0x42570b(0x9e))/0xc;if(_0x18a8a0===_0x101c8f)break;else _0x4b7414['push'](_0x4b7414['shift']());}catch(_0x581548){_0x4b7414['push'](_0x4b7414['shift']());}}}(_0x35ef,0x2feb2));const locale={'exchange':{'file':_0x5bc332(0xa5),'upload':_0x5bc332(0xaa),'download':_0x5bc332(0xa6),'uploading':_0x5bc332(0x9d),'uploadSuccess':_0x5bc332(0xa4),'uploadSuccessTip':_0x5bc332(0x99),'downloading':'Téléchargement','downloadSuccess':_0x5bc332(0x9b),'unknownMistake':'Erreur\x20inconnue','networkError':_0x5bc332(0xa0),'tooLarge':_0x5bc332(0xad),'internalError':'Erreur\x20interne\x20inconnue','interrupt':'La\x20connexion\x20réseau\x20a\x20été\x20interrompue\x20et\x20le\x20téléchargement\x20du\x20fichier\x20a\x20échoué','fileTypeError':_0x5bc332(0xac),'wait':'Veuillez\x20patienter...','cancel':_0x5bc332(0x9f),'uploadAgain':_0x5bc332(0xb0)}};function _0x35ef(){const _0x8237d8=['exports','1uDIaNl','Fichier\x20téléchargé\x20avec\x20succès','Fichier','Enregistrer\x20sous','10932zhMUIw','10UTrOJc','18242CoXRVE','Ouvrir\x20(Fichier)','261126Mbqwvq','Le\x20fichier\x20sélectionné\x20[{0}]\x20n\x27est\x20pas\x20pris\x20en\x20charge\x20pour\x20le\x20téléchargement','Les\x20données\x20sont\x20trop\x20volumineuses','36tVoPsM','210688rjYFGj','Télécharger\x20à\x20nouveau','753566FQukSh','{0}\x20fichier(s)\x20téléchargé(s)\x20avec\x20succès','222fLENcW','Téléchargement\x20réussi','902737gbDxzF','Téléchargement\x20en\x20cours','12832836xsmqdK','Annuler','Erreur\x20réseau','615zkXrZi'];_0x35ef=function(){return _0x8237d8;};return _0x35ef();}module[_0x5bc332(0xa2)]=locale;
1
+ const _0x3ba4c7=_0x2163;function _0xd439(){const _0xc4d4d9=['Veuillez\x20patienter...','300912pgMuKN','241318FedrDu','Téléchargement\x20en\x20cours','Le\x20fichier\x20sélectionné\x20[{0}]\x20n\x27est\x20pas\x20pris\x20en\x20charge\x20pour\x20le\x20téléchargement','Les\x20données\x20sont\x20trop\x20volumineuses','1388418AHUuyc','Enregistrer\x20sous','Fichier','2584158JGaqDw','La\x20connexion\x20réseau\x20a\x20été\x20interrompue\x20et\x20le\x20téléchargement\x20du\x20fichier\x20a\x20échoué','Fichier\x20téléchargé\x20avec\x20succès','Ouvrir\x20(Fichier)','2110390NEPjNE','exports','49WpgkJx','Téléchargement\x20réussi','Téléchargement','418232aLhKGq','1626340SawREL'];_0xd439=function(){return _0xc4d4d9;};return _0xd439();}function _0x2163(_0x55a719,_0x5e8300){_0x55a719=_0x55a719-0x18e;const _0xd43902=_0xd439();let _0x216384=_0xd43902[_0x55a719];return _0x216384;}(function(_0x2637cb,_0x6ecc3e){const _0x3e1501=_0x2163,_0x135ba4=_0x2637cb();while(!![]){try{const _0x2273f8=parseInt(_0x3e1501(0x19d))/0x1+-parseInt(_0x3e1501(0x199))/0x2+parseInt(_0x3e1501(0x1a1))/0x3+-parseInt(_0x3e1501(0x19a))/0x4+parseInt(_0x3e1501(0x194))/0x5+-parseInt(_0x3e1501(0x190))/0x6+-parseInt(_0x3e1501(0x196))/0x7*(-parseInt(_0x3e1501(0x19c))/0x8);if(_0x2273f8===_0x6ecc3e)break;else _0x135ba4['push'](_0x135ba4['shift']());}catch(_0x17e320){_0x135ba4['push'](_0x135ba4['shift']());}}}(_0xd439,0x53c42));const locale={'exchange':{'file':_0x3ba4c7(0x18f),'upload':_0x3ba4c7(0x193),'download':_0x3ba4c7(0x18e),'uploading':_0x3ba4c7(0x19e),'uploadSuccess':_0x3ba4c7(0x192),'uploadSuccessTip':'{0}\x20fichier(s)\x20téléchargé(s)\x20avec\x20succès','downloading':_0x3ba4c7(0x198),'downloadSuccess':_0x3ba4c7(0x197),'unknownMistake':'Erreur\x20inconnue','networkError':'Erreur\x20réseau','tooLarge':_0x3ba4c7(0x1a0),'internalError':'Erreur\x20interne\x20inconnue','interrupt':_0x3ba4c7(0x191),'fileTypeError':_0x3ba4c7(0x19f),'wait':_0x3ba4c7(0x19b),'cancel':'Annuler','uploadAgain':'Télécharger\x20à\x20nouveau'}};module[_0x3ba4c7(0x195)]=locale;
@@ -1 +1 @@
1
- function _0x35fd(_0x138af5,_0x350dcc){_0x138af5=_0x138af5-0xd1;const _0xced4e8=_0xced4();let _0x35fd94=_0xced4e8[_0x138af5];return _0x35fd94;}const _0x3f85ae=_0x35fd;(function(_0x34bd93,_0x1944b){const _0x38ae5b=_0x35fd,_0x55ec75=_0x34bd93();while(!![]){try{const _0xabcfb4=parseInt(_0x38ae5b(0xd7))/0x1+parseInt(_0x38ae5b(0xdf))/0x2+parseInt(_0x38ae5b(0xd5))/0x3+parseInt(_0x38ae5b(0xd8))/0x4*(-parseInt(_0x38ae5b(0xe0))/0x5)+-parseInt(_0x38ae5b(0xe2))/0x6+parseInt(_0x38ae5b(0xe7))/0x7+parseInt(_0x38ae5b(0xe1))/0x8*(-parseInt(_0x38ae5b(0xd6))/0x9);if(_0xabcfb4===_0x1944b)break;else _0x55ec75['push'](_0x55ec75['shift']());}catch(_0x1cbb73){_0x55ec75['push'](_0x55ec75['shift']());}}}(_0xced4,0x25347));function _0xced4(){const _0x15c183=['5UQXgGT','8osrAYK','1254714YDQHyd','不明なエラー','{0}\x20個のファイルが正常にアップロードされました','ダウンロード中','exports','1568889rKEvtz','再度アップロード','内部エラーが発生しました','お待ちください...','データが大きすぎます','18786JRtRgw','917811FUkFDD','249259iNyafV','610252qyiDVc','ファイル','ネットワーク接続が中断され、ファイルのアップロードに失敗しました','ダウンロードが完了しました','キャンセル','選択されたファイル\x20[{0}]\x20はアップロードがサポートされていません','アップロード中','272808NSZUIf'];_0xced4=function(){return _0x15c183;};return _0xced4();}const locale={'exchange':{'file':_0x3f85ae(0xd9),'upload':'開く(ファイル)','download':'名前を付けて保存','uploading':_0x3f85ae(0xde),'uploadSuccess':'ファイルが正常にアップロードされました','uploadSuccessTip':_0x3f85ae(0xe4),'downloading':_0x3f85ae(0xe5),'downloadSuccess':_0x3f85ae(0xdb),'unknownMistake':_0x3f85ae(0xe3),'networkError':'ネットワークエラー','tooLarge':_0x3f85ae(0xd4),'internalError':_0x3f85ae(0xd2),'interrupt':_0x3f85ae(0xda),'fileTypeError':_0x3f85ae(0xdd),'wait':_0x3f85ae(0xd3),'cancel':_0x3f85ae(0xdc),'uploadAgain':_0x3f85ae(0xd1)}};module[_0x3f85ae(0xe6)]=locale;
1
+ const _0x4ec388=_0xf85a;(function(_0x6ead85,_0x2d4d4f){const _0x413649=_0xf85a,_0x2ab8c3=_0x6ead85();while(!![]){try{const _0x5ebdad=-parseInt(_0x413649(0x1b7))/0x1+parseInt(_0x413649(0x1af))/0x2*(parseInt(_0x413649(0x1bc))/0x3)+parseInt(_0x413649(0x1bd))/0x4*(parseInt(_0x413649(0x1b6))/0x5)+-parseInt(_0x413649(0x1b3))/0x6+parseInt(_0x413649(0x1ae))/0x7+parseInt(_0x413649(0x1b2))/0x8+-parseInt(_0x413649(0x1ac))/0x9;if(_0x5ebdad===_0x2d4d4f)break;else _0x2ab8c3['push'](_0x2ab8c3['shift']());}catch(_0x5d9456){_0x2ab8c3['push'](_0x2ab8c3['shift']());}}}(_0x2ae0,0x640f7));function _0x2ae0(){const _0x35fedf=['2526453JNqjxM','ネットワークエラー','893879thKNnU','479082AWoTAi','開く(ファイル)','{0}\x20個のファイルが正常にアップロードされました','1543432WAiidh','566982XPKDTJ','ダウンロード中','データが大きすぎます','687485zIJTin','462591bVDHLD','ダウンロードが完了しました','アップロード中','exports','選択されたファイル\x20[{0}]\x20はアップロードがサポートされていません','3zrCnsa','20qJflvC','ファイルが正常にアップロードされました','再度アップロード'];_0x2ae0=function(){return _0x35fedf;};return _0x2ae0();}function _0xf85a(_0x276805,_0x3f53ea){_0x276805=_0x276805-0x1aa;const _0x2ae06d=_0x2ae0();let _0xf85aed=_0x2ae06d[_0x276805];return _0xf85aed;}const locale={'exchange':{'file':'ファイル','upload':_0x4ec388(0x1b0),'download':'名前を付けて保存','uploading':_0x4ec388(0x1b9),'uploadSuccess':_0x4ec388(0x1aa),'uploadSuccessTip':_0x4ec388(0x1b1),'downloading':_0x4ec388(0x1b4),'downloadSuccess':_0x4ec388(0x1b8),'unknownMistake':'不明なエラー','networkError':_0x4ec388(0x1ad),'tooLarge':_0x4ec388(0x1b5),'internalError':'内部エラーが発生しました','interrupt':'ネットワーク接続が中断され、ファイルのアップロードに失敗しました','fileTypeError':_0x4ec388(0x1bb),'wait':'お待ちください...','cancel':'キャンセル','uploadAgain':_0x4ec388(0x1ab)}};module[_0x4ec388(0x1ba)]=locale;
@@ -1 +1 @@
1
- const _0x448436=_0x4a67;function _0x2aee(){const _0x228a9c=['잠시만\x20기다려\x20주세요...','358090dcBmox','다운로드가\x20완료되었습니다','265pgmUQN','파일이\x20성공적으로\x20업로드되었습니다','65504ylelQD','다운로드\x20중','내부\x20오류가\x20발생했습니다','{0}개의\x20파일이\x20성공적으로\x20업로드되었습니다','선택한\x20파일\x20[{0}]은(는)\x20업로드가\x20지원되지\x20않습니다','1495769RsBifz','열기(파일)','데이터가\x20너무\x20큽니다','다른\x20이름으로\x20저장','1183LpPIWr','12OVBrTL','다시\x20업로드','1823504CbfYTP','업로드\x20중','763325wELPgv','3slMmIe','175506AsPYAc','네트워크\x20오류','135zHRqPF','502828FfMCrC'];_0x2aee=function(){return _0x228a9c;};return _0x2aee();}function _0x4a67(_0x384878,_0x33c323){_0x384878=_0x384878-0x13a;const _0x2aeef0=_0x2aee();let _0x4a677d=_0x2aeef0[_0x384878];return _0x4a677d;}(function(_0x5d2cd3,_0x8b9d90){const _0x3dc508=_0x4a67,_0x37a260=_0x5d2cd3();while(!![]){try{const _0x30570d=-parseInt(_0x3dc508(0x13c))/0x1+-parseInt(_0x3dc508(0x141))/0x2*(parseInt(_0x3dc508(0x13d))/0x3)+-parseInt(_0x3dc508(0x13a))/0x4+-parseInt(_0x3dc508(0x145))/0x5*(-parseInt(_0x3dc508(0x13e))/0x6)+parseInt(_0x3dc508(0x150))/0x7*(parseInt(_0x3dc508(0x147))/0x8)+parseInt(_0x3dc508(0x140))/0x9*(-parseInt(_0x3dc508(0x143))/0xa)+-parseInt(_0x3dc508(0x14c))/0xb*(parseInt(_0x3dc508(0x151))/0xc);if(_0x30570d===_0x8b9d90)break;else _0x37a260['push'](_0x37a260['shift']());}catch(_0x3579fe){_0x37a260['push'](_0x37a260['shift']());}}}(_0x2aee,0xc0f4a));const locale={'exchange':{'file':'파일','upload':_0x448436(0x14d),'download':_0x448436(0x14f),'uploading':_0x448436(0x13b),'uploadSuccess':_0x448436(0x146),'uploadSuccessTip':_0x448436(0x14a),'downloading':_0x448436(0x148),'downloadSuccess':_0x448436(0x144),'unknownMistake':'알\x20수\x20없는\x20오류','networkError':_0x448436(0x13f),'tooLarge':_0x448436(0x14e),'internalError':_0x448436(0x149),'interrupt':'네트워크\x20연결이\x20중단되어\x20파일\x20업로드에\x20실패했습니다','fileTypeError':_0x448436(0x14b),'wait':_0x448436(0x142),'cancel':'취소','uploadAgain':_0x448436(0x152)}};module['exports']=locale;
1
+ const _0x2629e6=_0x3efb;function _0x3efb(_0x23628d,_0x17a470){_0x23628d=_0x23628d-0xd5;const _0x19141d=_0x1914();let _0x3efb3b=_0x19141d[_0x23628d];return _0x3efb3b;}(function(_0x181fa5,_0x16cdb2){const _0x4e3814=_0x3efb,_0x47fec8=_0x181fa5();while(!![]){try{const _0x52ad0d=parseInt(_0x4e3814(0xdd))/0x1*(-parseInt(_0x4e3814(0xeb))/0x2)+parseInt(_0x4e3814(0xde))/0x3+parseInt(_0x4e3814(0xd6))/0x4*(-parseInt(_0x4e3814(0xd5))/0x5)+parseInt(_0x4e3814(0xe1))/0x6*(-parseInt(_0x4e3814(0xea))/0x7)+parseInt(_0x4e3814(0xe3))/0x8*(parseInt(_0x4e3814(0xe5))/0x9)+-parseInt(_0x4e3814(0xdb))/0xa*(-parseInt(_0x4e3814(0xe2))/0xb)+-parseInt(_0x4e3814(0xec))/0xc*(parseInt(_0x4e3814(0xe4))/0xd);if(_0x52ad0d===_0x16cdb2)break;else _0x47fec8['push'](_0x47fec8['shift']());}catch(_0x4c4920){_0x47fec8['push'](_0x47fec8['shift']());}}}(_0x1914,0x548b7));const locale={'exchange':{'file':'파일','upload':_0x2629e6(0xd9),'download':_0x2629e6(0xd7),'uploading':_0x2629e6(0xe9),'uploadSuccess':_0x2629e6(0xe8),'uploadSuccessTip':_0x2629e6(0xd8),'downloading':_0x2629e6(0xe7),'downloadSuccess':'다운로드가\x20완료되었습니다','unknownMistake':_0x2629e6(0xe0),'networkError':'네트워크\x20오류','tooLarge':_0x2629e6(0xe6),'internalError':_0x2629e6(0xdc),'interrupt':_0x2629e6(0xda),'fileTypeError':'선택한\x20파일\x20[{0}]은(는)\x20업로드가\x20지원되지\x20않습니다','wait':_0x2629e6(0xdf),'cancel':'취소','uploadAgain':'다시\x20업로드'}};function _0x1914(){const _0xb99d00=['16FToUOA','13NOwbak','1714626HoHFln','데이터가\x20너무\x20큽니다','다운로드\x20중','파일이\x20성공적으로\x20업로드되었습니다','업로드\x20중','1848959qKBYuj','508LRFqjz','5544996aQywTB','35MqHgjR','36092NuzIFl','다른\x20이름으로\x20저장','{0}개의\x20파일이\x20성공적으로\x20업로드되었습니다','열기(파일)','네트워크\x20연결이\x20중단되어\x20파일\x20업로드에\x20실패했습니다','4127320lYAFwA','내부\x20오류가\x20발생했습니다','187mBBOPn','1960653pZOvrM','잠시만\x20기다려\x20주세요...','알\x20수\x20없는\x20오류','12SljtBp','11CAPBWS'];_0x1914=function(){return _0xb99d00;};return _0x1914();}module['exports']=locale;
@@ -1 +1 @@
1
- function _0x2985(_0x32e614,_0x17c64e){_0x32e614=_0x32e614-0xff;const _0x1d6479=_0x1d64();let _0x29857a=_0x1d6479[_0x32e614];return _0x29857a;}const _0x10194d=_0x2985;(function(_0x13c4a7,_0x240326){const _0x473cfa=_0x2985,_0x27fa3c=_0x13c4a7();while(!![]){try{const _0x1b1e6b=parseInt(_0x473cfa(0x107))/0x1+parseInt(_0x473cfa(0x102))/0x2+-parseInt(_0x473cfa(0x10f))/0x3*(-parseInt(_0x473cfa(0x105))/0x4)+-parseInt(_0x473cfa(0x10c))/0x5*(-parseInt(_0x473cfa(0x103))/0x6)+parseInt(_0x473cfa(0x10e))/0x7*(-parseInt(_0x473cfa(0x10d))/0x8)+-parseInt(_0x473cfa(0x116))/0x9*(-parseInt(_0x473cfa(0x10a))/0xa)+parseInt(_0x473cfa(0x100))/0xb*(-parseInt(_0x473cfa(0x106))/0xc);if(_0x1b1e6b===_0x240326)break;else _0x27fa3c['push'](_0x27fa3c['shift']());}catch(_0x477f59){_0x27fa3c['push'](_0x27fa3c['shift']());}}}(_0x1d64,0x49186));const locale={'exchange':{'file':_0x10194d(0x110),'upload':'Открыть(Файл)','download':_0x10194d(0xff),'uploading':'Загрузка','uploadSuccess':'Файл\x20успешно\x20загружен','uploadSuccessTip':_0x10194d(0x10b),'downloading':_0x10194d(0x115),'downloadSuccess':_0x10194d(0x101),'unknownMistake':_0x10194d(0x112),'networkError':'Сетевая\x20ошибка','tooLarge':_0x10194d(0x104),'internalError':_0x10194d(0x109),'interrupt':_0x10194d(0x114),'fileTypeError':'Выбранный\x20файл\x20[{0}]\x20не\x20поддерживается\x20для\x20загрузки','wait':'Пожалуйста,\x20подождите...','cancel':_0x10194d(0x111),'uploadAgain':_0x10194d(0x108)}};module[_0x10194d(0x113)]=locale;function _0x1d64(){const _0x9d0dfd=['7vLhEeC','382362rIzAZL','Файл','Отмена','Неизвестная\x20ошибка','exports','Сетевое\x20соединение\x20было\x20прервано,\x20и\x20загрузка\x20файла\x20не\x20удалась','Скачивание','18uJfLEo','Сохранить\x20как','11449790bKkiMN','Скачивание\x20успешно','845610BIEaJy','186rOwWCl','Данные\x20слишком\x20большие','12tQapIX','12nTXgcG','582823NOvjlg','Загрузить\x20снова','Внутренняя\x20неизвестная\x20ошибка','2285810QnqcCC','{0}\x20файл(ов)\x20успешно\x20загружен(о)','1345NGpZAS','4105624HNYywQ'];_0x1d64=function(){return _0x9d0dfd;};return _0x1d64();}
1
+ const _0x58972c=_0x52e7;(function(_0x18077d,_0x10602e){const _0xeb85f3=_0x52e7,_0x54d100=_0x18077d();while(!![]){try{const _0x3fdaee=parseInt(_0xeb85f3(0xde))/0x1*(-parseInt(_0xeb85f3(0xd5))/0x2)+parseInt(_0xeb85f3(0xd7))/0x3*(parseInt(_0xeb85f3(0xe7))/0x4)+parseInt(_0xeb85f3(0xd4))/0x5+parseInt(_0xeb85f3(0xd6))/0x6*(parseInt(_0xeb85f3(0xdc))/0x7)+parseInt(_0xeb85f3(0xda))/0x8+parseInt(_0xeb85f3(0xdf))/0x9*(parseInt(_0xeb85f3(0xd9))/0xa)+-parseInt(_0xeb85f3(0xe8))/0xb*(parseInt(_0xeb85f3(0xe4))/0xc);if(_0x3fdaee===_0x10602e)break;else _0x54d100['push'](_0x54d100['shift']());}catch(_0x5f50b9){_0x54d100['push'](_0x54d100['shift']());}}}(_0x4136,0xa600a));function _0x52e7(_0x4bd136,_0x446538){_0x4bd136=_0x4bd136-0xcf;const _0x41363e=_0x4136();let _0x52e74d=_0x41363e[_0x4bd136];return _0x52e74d;}const locale={'exchange':{'file':_0x58972c(0xdd),'upload':_0x58972c(0xd3),'download':_0x58972c(0xd2),'uploading':_0x58972c(0xe6),'uploadSuccess':'Файл\x20успешно\x20загружен','uploadSuccessTip':_0x58972c(0xdb),'downloading':_0x58972c(0xcf),'downloadSuccess':_0x58972c(0xe0),'unknownMistake':_0x58972c(0xd1),'networkError':_0x58972c(0xe1),'tooLarge':'Данные\x20слишком\x20большие','internalError':_0x58972c(0xd8),'interrupt':'Сетевое\x20соединение\x20было\x20прервано,\x20и\x20загрузка\x20файла\x20не\x20удалась','fileTypeError':'Выбранный\x20файл\x20[{0}]\x20не\x20поддерживается\x20для\x20загрузки','wait':_0x58972c(0xd0),'cancel':_0x58972c(0xe3),'uploadAgain':_0x58972c(0xe5)}};module[_0x58972c(0xe2)]=locale;function _0x4136(){const _0x14b4d4=['Отмена','13626744JpOVRT','Загрузить\x20снова','Загрузка','8dWKScm','33oHLeew','Скачивание','Пожалуйста,\x20подождите...','Неизвестная\x20ошибка','Сохранить\x20как','Открыть(Файл)','6348780vOxVxn','2DgKFGv','516RDahCS','1608837IweQIa','Внутренняя\x20неизвестная\x20ошибка','11090Ehwvll','3194800uoLgBE','{0}\x20файл(ов)\x20успешно\x20загружен(о)','93709GlIDBA','Файл','872063lJcuOo','8649UfbVFM','Скачивание\x20успешно','Сетевая\x20ошибка','exports'];_0x4136=function(){return _0x14b4d4;};return _0x4136();}