@univerjs-pro/exchange-client 0.6.0 → 0.6.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.
@@ -1 +1 @@
1
- function _0x5d50(_0x4f2d86,_0x103829){const _0xa36d12=_0xa36d();return _0x5d50=function(_0x5d50ff,_0x2f9998){_0x5d50ff=_0x5d50ff-0xcf;let _0x545561=_0xa36d12[_0x5d50ff];return _0x545561;},_0x5d50(_0x4f2d86,_0x103829);}const _0x192518=_0x5d50;function _0xa36d(){const _0x2c8a06=['Please\x20wait...','Save\x20As','{0}\x20file(s)\x20uploaded\x20successfully','Internal\x20unknown\x20error','849482JSwySu','1143467VzrdCN','6qaYVXJ','Uploading','4003762MopPhd','Upload\x20again','2361040BPwqjy','Cancel','Unknown\x20mistake','Network\x20error','Open(File)','967644VPhrWO','Download\x20success','13133552AQxyBI','4937290jannQm','File','File\x20uploaded\x20successfully'];_0xa36d=function(){return _0x2c8a06;};return _0xa36d();}(function(_0xc616c4,_0x436f48){const _0x3c36ba=_0x5d50,_0x80370e=_0xc616c4();while(!![]){try{const _0x2f25af=-parseInt(_0x3c36ba(0xe1))/0x1+-parseInt(_0x3c36ba(0xe0))/0x2+-parseInt(_0x3c36ba(0xd6))/0x3+-parseInt(_0x3c36ba(0xd1))/0x4+parseInt(_0x3c36ba(0xd9))/0x5+parseInt(_0x3c36ba(0xe2))/0x6*(parseInt(_0x3c36ba(0xcf))/0x7)+parseInt(_0x3c36ba(0xd8))/0x8;if(_0x2f25af===_0x436f48)break;else _0x80370e['push'](_0x80370e['shift']());}catch(_0x1223df){_0x80370e['push'](_0x80370e['shift']());}}}(_0xa36d,0xafce6));const e={'exchange':{'file':_0x192518(0xda),'upload':_0x192518(0xd5),'download':_0x192518(0xdd),'uploading':_0x192518(0xe3),'uploadSuccess':_0x192518(0xdb),'uploadSuccessTip':_0x192518(0xde),'downloading':'Downloading','downloadSuccess':_0x192518(0xd7),'unknownMistake':_0x192518(0xd3),'networkError':_0x192518(0xd4),'tooLarge':'Data\x20is\x20too\x20large','internalError':_0x192518(0xdf),'interrupt':'The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed.','wait':_0x192518(0xdc),'cancel':_0x192518(0xd2),'uploadAgain':_0x192518(0xd0)}};export{e as default};
1
+ const _0x51b91a=_0x54d0;(function(_0x3d9c1a,_0x279777){const _0x568cb5=_0x54d0,_0x2af785=_0x3d9c1a();while(!![]){try{const _0x159af8=parseInt(_0x568cb5(0x96))/0x1*(parseInt(_0x568cb5(0x97))/0x2)+-parseInt(_0x568cb5(0x93))/0x3+-parseInt(_0x568cb5(0x9c))/0x4*(-parseInt(_0x568cb5(0x9d))/0x5)+-parseInt(_0x568cb5(0x94))/0x6*(parseInt(_0x568cb5(0xa5))/0x7)+-parseInt(_0x568cb5(0xa6))/0x8+parseInt(_0x568cb5(0x9a))/0x9+-parseInt(_0x568cb5(0xa3))/0xa*(-parseInt(_0x568cb5(0xa0))/0xb);if(_0x159af8===_0x279777)break;else _0x2af785['push'](_0x2af785['shift']());}catch(_0x3fd056){_0x2af785['push'](_0x2af785['shift']());}}}(_0x5751,0xa5fc6));const e={'exchange':{'file':_0x51b91a(0xa2),'upload':_0x51b91a(0xa4),'download':'Save\x20As','uploading':'Uploading','uploadSuccess':'File\x20uploaded\x20successfully','uploadSuccessTip':_0x51b91a(0x99),'downloading':_0x51b91a(0x9b),'downloadSuccess':'Download\x20success','unknownMistake':'Unknown\x20mistake','networkError':_0x51b91a(0xa1),'tooLarge':_0x51b91a(0x98),'internalError':'Internal\x20unknown\x20error','interrupt':_0x51b91a(0x9e),'fileTypeError':_0x51b91a(0xa7),'wait':_0x51b91a(0x95),'cancel':'Cancel','uploadAgain':_0x51b91a(0x9f)}};function _0x54d0(_0x4f5a5b,_0x462db4){const _0x57511c=_0x5751();return _0x54d0=function(_0x54d088,_0x3c8aee){_0x54d088=_0x54d088-0x93;let _0x18d1fc=_0x57511c[_0x54d088];return _0x18d1fc;},_0x54d0(_0x4f5a5b,_0x462db4);}export{e as default};function _0x5751(){const _0xa0d008=['8280816pRHioi','Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','1278438VTNsDY','36UYcLrM','Please\x20wait...','124NXkShF','14192rKSpQO','Data\x20is\x20too\x20large','{0}\x20file(s)\x20uploaded\x20successfully','2873637IxUNHP','Downloading','412QfUxmB','61580wgsXaF','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','Upload\x20again','31119PqidnI','Network\x20error','File','1110GnxNdi','Open(File)','747411gQxfxo'];_0x5751=function(){return _0xa0d008;};return _0x5751();}
@@ -1 +1 @@
1
- const _0x420e66=_0x4393;(function(_0x4d4ae2,_0x314598){const _0x62f11e=_0x4393,_0x5506b2=_0x4d4ae2();while(!![]){try{const _0x44848f=-parseInt(_0x62f11e(0xd2))/0x1*(-parseInt(_0x62f11e(0xd0))/0x2)+-parseInt(_0x62f11e(0xc5))/0x3+-parseInt(_0x62f11e(0xc4))/0x4*(-parseInt(_0x62f11e(0xd9))/0x5)+parseInt(_0x62f11e(0xcb))/0x6+-parseInt(_0x62f11e(0xcd))/0x7*(parseInt(_0x62f11e(0xc7))/0x8)+parseInt(_0x62f11e(0xd7))/0x9+-parseInt(_0x62f11e(0xd8))/0xa;if(_0x44848f===_0x314598)break;else _0x5506b2['push'](_0x5506b2['shift']());}catch(_0x541de0){_0x5506b2['push'](_0x5506b2['shift']());}}}(_0x418e,0x750e5));function _0x4393(_0x37e73a,_0x32d6dd){const _0x418e29=_0x418e();return _0x4393=function(_0x4393d7,_0x2bfdbe){_0x4393d7=_0x4393d7-0xc4;let _0x57f3da=_0x418e29[_0x4393d7];return _0x57f3da;},_0x4393(_0x37e73a,_0x32d6dd);}const o={'exchange':{'file':_0x420e66(0xcc),'upload':_0x420e66(0xc9),'download':'ذخیره\x20به\x20عنوان','uploading':_0x420e66(0xd1),'uploadSuccess':_0x420e66(0xd3),'uploadSuccessTip':'{0}\x20فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','downloading':_0x420e66(0xd4),'downloadSuccess':_0x420e66(0xc6),'unknownMistake':_0x420e66(0xca),'networkError':'خطای\x20شبکه','tooLarge':_0x420e66(0xd5),'internalError':_0x420e66(0xce),'interrupt':_0x420e66(0xd6),'wait':'لطفا\x20صبر\x20کنید...','cancel':_0x420e66(0xcf),'uploadAgain':_0x420e66(0xc8)}};function _0x418e(){const _0x1d5beb=['14583930gvjgyQ','5fCawJe','3140908pNmqQw','65955MwRscA','دانلود\x20موفقیت\x20آمیز','56deStxY','بارگذاری\x20مجدد','بازکردن(فایل)','خطای\x20ناشناخته','2710962ZYKugT','فایل','295582ILhoLK','خطای\x20داخلی\x20ناشناخته','لغو','6pLeHTn','در\x20حال\x20بارگذاری','87728mZhUGv','فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','در\x20حال\x20دانلود','داده\x20خیلی\x20بزرگ\x20است','اتصال\x20شبکه\x20قطع\x20شد\x20و\x20بارگذاری\x20فایل\x20ناموفق\x20بود.','6796647HElvEs'];_0x418e=function(){return _0x1d5beb;};return _0x418e();}export{o as default};
1
+ const _0x24e730=_0xf0d0;function _0x1c4a(){const _0x54d9c3=['4401801dXfRgE','در\x20حال\x20بارگذاری','داده\x20خیلی\x20بزرگ\x20است','24201FZizHM','10791440gfxaSZ','100SKMhqE','ذخیره\x20به\x20عنوان','فایل','فایل\x20انتخاب\x20شده\x20[{0}]\x20برای\x20بارگذاری\x20پشتیبانی\x20نمی‌شود','دانلود\x20موفقیت\x20آمیز','357400deqDiC','بازکردن(فایل)','اتصال\x20شبکه\x20قطع\x20شد\x20و\x20بارگذاری\x20فایل\x20ناموفق\x20بود.','لطفا\x20صبر\x20کنید...','852297jSRVmX','خطای\x20شبکه','2780864donPZb','{0}\x20فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','4fGiNom','2334LNhlgU','3871VoVdDb'];_0x1c4a=function(){return _0x54d9c3;};return _0x1c4a();}function _0xf0d0(_0x4486ac,_0x460060){const _0x1c4a62=_0x1c4a();return _0xf0d0=function(_0xf0d0e5,_0x14d596){_0xf0d0e5=_0xf0d0e5-0x175;let _0x77b559=_0x1c4a62[_0xf0d0e5];return _0x77b559;},_0xf0d0(_0x4486ac,_0x460060);}(function(_0x676178,_0x1711b0){const _0x59dff0=_0xf0d0,_0x5d9f18=_0x676178();while(!![]){try{const _0xf65d1b=-parseInt(_0x59dff0(0x184))/0x1+parseInt(_0x59dff0(0x17b))/0x2*(parseInt(_0x59dff0(0x179))/0x3)+parseInt(_0x59dff0(0x189))/0x4*(-parseInt(_0x59dff0(0x180))/0x5)+parseInt(_0x59dff0(0x18a))/0x6*(-parseInt(_0x59dff0(0x175))/0x7)+-parseInt(_0x59dff0(0x186))/0x8+parseInt(_0x59dff0(0x176))/0x9+parseInt(_0x59dff0(0x17a))/0xa;if(_0xf65d1b===_0x1711b0)break;else _0x5d9f18['push'](_0x5d9f18['shift']());}catch(_0x4fff2c){_0x5d9f18['push'](_0x5d9f18['shift']());}}}(_0x1c4a,0x766d9));const o={'exchange':{'file':_0x24e730(0x17d),'upload':_0x24e730(0x181),'download':_0x24e730(0x17c),'uploading':_0x24e730(0x177),'uploadSuccess':_0x24e730(0x188),'uploadSuccessTip':_0x24e730(0x187),'downloading':'در\x20حال\x20دانلود','downloadSuccess':_0x24e730(0x17f),'unknownMistake':'خطای\x20ناشناخته','networkError':_0x24e730(0x185),'tooLarge':_0x24e730(0x178),'internalError':'خطای\x20داخلی\x20ناشناخته','interrupt':_0x24e730(0x182),'fileTypeError':_0x24e730(0x17e),'wait':_0x24e730(0x183),'cancel':'لغو','uploadAgain':'بارگذاری\x20مجدد'}};export{o as default};
@@ -1 +1 @@
1
- const _0x1e5493=_0x5ef8;(function(_0x10ff51,_0xc007ca){const _0x8852ae=_0x5ef8,_0x16fd07=_0x10ff51();while(!![]){try{const _0x538e58=-parseInt(_0x8852ae(0x1d5))/0x1*(-parseInt(_0x8852ae(0x1c9))/0x2)+-parseInt(_0x8852ae(0x1ca))/0x3+parseInt(_0x8852ae(0x1dc))/0x4*(-parseInt(_0x8852ae(0x1d7))/0x5)+parseInt(_0x8852ae(0x1d0))/0x6+-parseInt(_0x8852ae(0x1ce))/0x7*(-parseInt(_0x8852ae(0x1c8))/0x8)+parseInt(_0x8852ae(0x1d2))/0x9*(parseInt(_0x8852ae(0x1d6))/0xa)+-parseInt(_0x8852ae(0x1c6))/0xb;if(_0x538e58===_0xc007ca)break;else _0x16fd07['push'](_0x16fd07['shift']());}catch(_0x5e4424){_0x16fd07['push'](_0x16fd07['shift']());}}}(_0x3e6e,0x7972a));const e={'exchange':{'file':_0x1e5493(0x1d9),'upload':_0x1e5493(0x1cb),'download':_0x1e5493(0x1da),'uploading':_0x1e5493(0x1d8),'uploadSuccess':_0x1e5493(0x1d1),'uploadSuccessTip':_0x1e5493(0x1cc),'downloading':_0x1e5493(0x1d3),'downloadSuccess':'Download\x20success','unknownMistake':'Unknown\x20mistake','networkError':'Network\x20error','tooLarge':_0x1e5493(0x1c7),'internalError':_0x1e5493(0x1cf),'interrupt':'The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed.','wait':_0x1e5493(0x1cd),'cancel':_0x1e5493(0x1db),'uploadAgain':_0x1e5493(0x1d4)}},o=e;export{o as default};function _0x5ef8(_0x427cc5,_0x4c3192){const _0x3e6e7b=_0x3e6e();return _0x5ef8=function(_0x5ef84e,_0x451429){_0x5ef84e=_0x5ef84e-0x1c6;let _0x519e6e=_0x3e6e7b[_0x5ef84e];return _0x519e6e;},_0x5ef8(_0x427cc5,_0x4c3192);}function _0x3e6e(){const _0x57911f=['31522IIXwxJ','26010tywCuR','310FYmsLM','Uploading','File','Save\x20As','Cancel','4436RDHRTH','5507810IvJEKf','Data\x20is\x20too\x20large','7968ZVGzyz','56qzQcEx','1915734GdCAuB','Open(File)','{0}\x20file(s)\x20uploaded\x20successfully','Please\x20wait...','217Vmeygz','Internal\x20unknown\x20error','4517934BDcVhS','File\x20uploaded\x20successfully','135HfxsKV','Downloading','Upload\x20again'];_0x3e6e=function(){return _0x57911f;};return _0x3e6e();}
1
+ const _0x10cd43=_0x4a15;function _0x4a15(_0xdd595a,_0xa40490){const _0x5d7bc4=_0x5d7b();return _0x4a15=function(_0x4a1503,_0x24add4){_0x4a1503=_0x4a1503-0x1b5;let _0x1491af=_0x5d7bc4[_0x4a1503];return _0x1491af;},_0x4a15(_0xdd595a,_0xa40490);}function _0x5d7b(){const _0x186956=['Erreur\x20inconnue','Le\x20fichier\x20sélectionné\x20[{0}]\x20n\x27est\x20pas\x20pris\x20en\x20charge\x20pour\x20le\x20téléchargement','116040uqwiMS','1105830FzfbKn','Annuler','La\x20connexion\x20réseau\x20a\x20été\x20interrompue\x20et\x20le\x20téléchargement\x20du\x20fichier\x20a\x20échoué','7054776xaAIxK','701685lPQGeV','Téléchargement\x20en\x20cours','Erreur\x20interne\x20inconnue','2211304eVAyIW','Ouvrir\x20(Fichier)','Enregistrer\x20sous','2409nxEgHm','Erreur\x20réseau','Télécharger\x20à\x20nouveau','13287769CTvnBJ','28HXoJVp','Fichier','909Ufnqos','20dCcwbq','468LmmtHL','Veuillez\x20patienter...','Téléchargement\x20réussi','Fichier\x20téléchargé\x20avec\x20succès','Les\x20données\x20sont\x20trop\x20volumineuses'];_0x5d7b=function(){return _0x186956;};return _0x5d7b();}(function(_0x192ae1,_0x1806da){const _0x2cc2b0=_0x4a15,_0x300fe3=_0x192ae1();while(!![]){try{const _0x6fb135=parseInt(_0x2cc2b0(0x1c3))/0x1+parseInt(_0x2cc2b0(0x1bb))/0x2*(parseInt(_0x2cc2b0(0x1cd))/0x3)+parseInt(_0x2cc2b0(0x1ba))/0x4*(-parseInt(_0x2cc2b0(0x1c7))/0x5)+parseInt(_0x2cc2b0(0x1c6))/0x6+parseInt(_0x2cc2b0(0x1b7))/0x7*(-parseInt(_0x2cc2b0(0x1ca))/0x8)+-parseInt(_0x2cc2b0(0x1b9))/0x9*(parseInt(_0x2cc2b0(0x1c2))/0xa)+parseInt(_0x2cc2b0(0x1b6))/0xb;if(_0x6fb135===_0x1806da)break;else _0x300fe3['push'](_0x300fe3['shift']());}catch(_0x41583a){_0x300fe3['push'](_0x300fe3['shift']());}}}(_0x5d7b,0xaa736));const e={'exchange':{'file':_0x10cd43(0x1b8),'upload':_0x10cd43(0x1cb),'download':_0x10cd43(0x1cc),'uploading':_0x10cd43(0x1c8),'uploadSuccess':_0x10cd43(0x1be),'uploadSuccessTip':'{0}\x20fichier(s)\x20téléchargé(s)\x20avec\x20succès','downloading':'Téléchargement','downloadSuccess':_0x10cd43(0x1bd),'unknownMistake':_0x10cd43(0x1c0),'networkError':_0x10cd43(0x1ce),'tooLarge':_0x10cd43(0x1bf),'internalError':_0x10cd43(0x1c9),'interrupt':_0x10cd43(0x1c5),'fileTypeError':_0x10cd43(0x1c1),'wait':_0x10cd43(0x1bc),'cancel':_0x10cd43(0x1c4),'uploadAgain':_0x10cd43(0x1b5)}};export{e as default};
@@ -1 +1 @@
1
- const _0x4168b1=_0x21de;(function(_0x4024d9,_0x55862c){const _0x4b333a=_0x21de,_0x5561ad=_0x4024d9();while(!![]){try{const _0x5ed42d=parseInt(_0x4b333a(0x18f))/0x1*(parseInt(_0x4b333a(0x19a))/0x2)+parseInt(_0x4b333a(0x199))/0x3*(-parseInt(_0x4b333a(0x18e))/0x4)+parseInt(_0x4b333a(0x19c))/0x5+-parseInt(_0x4b333a(0x19d))/0x6*(parseInt(_0x4b333a(0x18b))/0x7)+parseInt(_0x4b333a(0x195))/0x8+parseInt(_0x4b333a(0x193))/0x9*(-parseInt(_0x4b333a(0x192))/0xa)+parseInt(_0x4b333a(0x19b))/0xb*(parseInt(_0x4b333a(0x190))/0xc);if(_0x5ed42d===_0x55862c)break;else _0x5561ad['push'](_0x5561ad['shift']());}catch(_0x1b876f){_0x5561ad['push'](_0x5561ad['shift']());}}}(_0x3f76,0x6657a));const o={'exchange':{'file':'Файл','upload':'Открыть(Файл)','download':_0x4168b1(0x191),'uploading':'Загрузка','uploadSuccess':_0x4168b1(0x194),'uploadSuccessTip':_0x4168b1(0x18d),'downloading':'Скачивание','downloadSuccess':_0x4168b1(0x197),'unknownMistake':_0x4168b1(0x18c),'networkError':_0x4168b1(0x18a),'tooLarge':_0x4168b1(0x198),'internalError':_0x4168b1(0x189),'interrupt':_0x4168b1(0x196),'wait':'Пожалуйста,\x20подождите...','cancel':'Отмена','uploadAgain':'Загрузить\x20снова'}};function _0x3f76(){const _0xd7d9d2=['49rLKvYK','Неизвестная\x20ошибка','{0}\x20файл(ов)\x20успешно\x20загружен(о)','81884DHwnGO','198766uxoCOy','61092WIguRM','Сохранить\x20как','530vBQXEt','8703PuulQH','Файл\x20успешно\x20загружен','797752pzRyJC','Сетевое\x20соединение\x20было\x20прервано,\x20и\x20загрузка\x20файла\x20не\x20удалась.','Скачивание\x20успешно','Данные\x20слишком\x20большие','84EbBOfx','4GlbDHk','2167uTlFZI','1854065jTlPBM','709164SbUQlD','Внутренняя\x20неизвестная\x20ошибка','Сетевая\x20ошибка'];_0x3f76=function(){return _0xd7d9d2;};return _0x3f76();}function _0x21de(_0x4498ec,_0x5d2af5){const _0x3f7638=_0x3f76();return _0x21de=function(_0x21de8d,_0x32373b){_0x21de8d=_0x21de8d-0x189;let _0x523eb7=_0x3f7638[_0x21de8d];return _0x523eb7;},_0x21de(_0x4498ec,_0x5d2af5);}export{o as default};
1
+ function _0xdb81(){const _0x903fdc=['Сохранить\x20как','11880248imqVyr','Пожалуйста,\x20подождите...','4497723EZlBQH','5654232SZRkvi','Внутренняя\x20неизвестная\x20ошибка','Файл\x20успешно\x20загружен','1851210cFpWXw','3027768EZbfgq','Скачивание\x20успешно','5NlDeZf','Отмена','Файл','7OHijCV','Сетевое\x20соединение\x20было\x20прервано,\x20и\x20загрузка\x20файла\x20не\x20удалась','1336768jJIORk','3500132kyeJiy','20eSSpVz','Неизвестная\x20ошибка','Выбранный\x20файл\x20[{0}]\x20не\x20поддерживается\x20для\x20загрузки','Загрузка','Данные\x20слишком\x20большие','{0}\x20файл(ов)\x20успешно\x20загружен(о)'];_0xdb81=function(){return _0x903fdc;};return _0xdb81();}const _0x27dfe9=_0x4dbc;(function(_0x604b02,_0x13ff79){const _0x3bcf28=_0x4dbc,_0x3b10f5=_0x604b02();while(!![]){try{const _0x4a8b33=-parseInt(_0x3bcf28(0x10f))/0x1+-parseInt(_0x3bcf28(0x107))/0x2+parseInt(_0x3bcf28(0x11a))/0x3+-parseInt(_0x3bcf28(0x110))/0x4*(-parseInt(_0x3bcf28(0x10a))/0x5)+parseInt(_0x3bcf28(0x108))/0x6+parseInt(_0x3bcf28(0x10d))/0x7*(parseInt(_0x3bcf28(0x118))/0x8)+-parseInt(_0x3bcf28(0x11b))/0x9*(parseInt(_0x3bcf28(0x111))/0xa);if(_0x4a8b33===_0x13ff79)break;else _0x3b10f5['push'](_0x3b10f5['shift']());}catch(_0x1ecdb6){_0x3b10f5['push'](_0x3b10f5['shift']());}}}(_0xdb81,0xce508));const o={'exchange':{'file':_0x27dfe9(0x10c),'upload':'Открыть(Файл)','download':_0x27dfe9(0x117),'uploading':_0x27dfe9(0x114),'uploadSuccess':_0x27dfe9(0x106),'uploadSuccessTip':_0x27dfe9(0x116),'downloading':'Скачивание','downloadSuccess':_0x27dfe9(0x109),'unknownMistake':_0x27dfe9(0x112),'networkError':'Сетевая\x20ошибка','tooLarge':_0x27dfe9(0x115),'internalError':_0x27dfe9(0x105),'interrupt':_0x27dfe9(0x10e),'fileTypeError':_0x27dfe9(0x113),'wait':_0x27dfe9(0x119),'cancel':_0x27dfe9(0x10b),'uploadAgain':'Загрузить\x20снова'}};function _0x4dbc(_0x3296cb,_0xef1c06){const _0xdb81ed=_0xdb81();return _0x4dbc=function(_0x4dbce1,_0x1d15a3){_0x4dbce1=_0x4dbce1-0x105;let _0x4ed7cc=_0xdb81ed[_0x4dbce1];return _0x4ed7cc;},_0x4dbc(_0x3296cb,_0xef1c06);}export{o as default};
@@ -1 +1 @@
1
- const _0x4a5ef1=_0x299d;(function(_0x32606a,_0x77bce7){const _0x30dbd3=_0x299d,_0x181b6d=_0x32606a();while(!![]){try{const _0x1bacc8=-parseInt(_0x30dbd3(0x14b))/0x1*(-parseInt(_0x30dbd3(0x14f))/0x2)+parseInt(_0x30dbd3(0x13f))/0x3+-parseInt(_0x30dbd3(0x14c))/0x4*(-parseInt(_0x30dbd3(0x146))/0x5)+-parseInt(_0x30dbd3(0x13d))/0x6*(parseInt(_0x30dbd3(0x141))/0x7)+parseInt(_0x30dbd3(0x13e))/0x8+parseInt(_0x30dbd3(0x147))/0x9+-parseInt(_0x30dbd3(0x14a))/0xa;if(_0x1bacc8===_0x77bce7)break;else _0x181b6d['push'](_0x181b6d['shift']());}catch(_0x5f2481){_0x181b6d['push'](_0x181b6d['shift']());}}}(_0x58d9,0x7fb58));const n={'exchange':{'file':_0x4a5ef1(0x14d),'upload':'Mở\x20(Tệp)','download':'Lưu\x20dưới\x20dạng','uploading':_0x4a5ef1(0x142),'uploadSuccess':_0x4a5ef1(0x145),'uploadSuccessTip':_0x4a5ef1(0x149),'downloading':_0x4a5ef1(0x14e),'downloadSuccess':_0x4a5ef1(0x148),'unknownMistake':'Lỗi\x20không\x20xác\x20định','networkError':_0x4a5ef1(0x144),'tooLarge':_0x4a5ef1(0x13c),'internalError':_0x4a5ef1(0x143),'interrupt':_0x4a5ef1(0x140),'wait':'Vui\x20lòng\x20đợi...','cancel':'Hủy\x20bỏ','uploadAgain':_0x4a5ef1(0x150)}};function _0x58d9(){const _0x195be4=['Tải\x20lên\x20tệp\x20thành\x20công','95fKmQgV','1691514iPgpDg','Tải\x20xuống\x20thành\x20công','{0}\x20tệp\x20đã\x20được\x20tải\x20lên\x20thành\x20công','21645270WdaMBJ','94327dpQVgY','157652mHZFxi','Tệp','Đang\x20tải\x20xuống','18WUeLfR','Tải\x20lên\x20lại','Luồng\x20dữ\x20liệu\x20quá\x20lớn','6XcmdJG','7194136GuceOh','2581281gMdRIs','Kết\x20nối\x20mạng\x20bị\x20gián\x20đoạn,\x20tải\x20lên\x20tệp\x20thất\x20bại.','6004649YiAXeJ','Đang\x20tải\x20lên','Lỗi\x20không\x20xác\x20định\x20bên\x20trong','Lỗi\x20mạng'];_0x58d9=function(){return _0x195be4;};return _0x58d9();}function _0x299d(_0x5a7e9b,_0x375777){const _0x58d9c9=_0x58d9();return _0x299d=function(_0x299d55,_0x40335e){_0x299d55=_0x299d55-0x13c;let _0x536aad=_0x58d9c9[_0x299d55];return _0x536aad;},_0x299d(_0x5a7e9b,_0x375777);}export{n as default};
1
+ const _0x3cc223=_0x5a8d;(function(_0x6c21cc,_0x7b7cb6){const _0x1a726c=_0x5a8d,_0x17f17c=_0x6c21cc();while(!![]){try{const _0x13fb55=parseInt(_0x1a726c(0x109))/0x1+-parseInt(_0x1a726c(0x11b))/0x2+parseInt(_0x1a726c(0x119))/0x3*(parseInt(_0x1a726c(0x10a))/0x4)+parseInt(_0x1a726c(0x105))/0x5*(-parseInt(_0x1a726c(0x107))/0x6)+parseInt(_0x1a726c(0x108))/0x7+parseInt(_0x1a726c(0x110))/0x8*(parseInt(_0x1a726c(0x10f))/0x9)+-parseInt(_0x1a726c(0x112))/0xa;if(_0x13fb55===_0x7b7cb6)break;else _0x17f17c['push'](_0x17f17c['shift']());}catch(_0x40babb){_0x17f17c['push'](_0x17f17c['shift']());}}}(_0x3fdf,0x48dc4));function _0x3fdf(){const _0xac5b7a=['5646DKxEoM','2696344uPNBHq','229032IVjeuZ','502760scZDod','Hủy\x20bỏ','Lỗi\x20không\x20xác\x20định','Lưu\x20dưới\x20dạng','Kết\x20nối\x20mạng\x20bị\x20gián\x20đoạn,\x20tải\x20lên\x20tệp\x20thất\x20bại','906111gaGFZc','16HNtuem','Mở\x20(Tệp)','1342570LOWqMK','Lỗi\x20mạng','{0}\x20tệp\x20đã\x20được\x20tải\x20lên\x20thành\x20công','Tệp','Lỗi\x20không\x20xác\x20định\x20bên\x20trong','Tải\x20lên\x20lại','Vui\x20lòng\x20đợi...','3tCZSMS','Đang\x20tải\x20xuống','318936BPnqoi','1855LoVKkh','Luồng\x20dữ\x20liệu\x20quá\x20lớn'];_0x3fdf=function(){return _0xac5b7a;};return _0x3fdf();}const n={'exchange':{'file':_0x3cc223(0x115),'upload':_0x3cc223(0x111),'download':_0x3cc223(0x10d),'uploading':'Đang\x20tải\x20lên','uploadSuccess':'Tải\x20lên\x20tệp\x20thành\x20công','uploadSuccessTip':_0x3cc223(0x114),'downloading':_0x3cc223(0x11a),'downloadSuccess':'Tải\x20xuống\x20thành\x20công','unknownMistake':_0x3cc223(0x10c),'networkError':_0x3cc223(0x113),'tooLarge':_0x3cc223(0x106),'internalError':_0x3cc223(0x116),'interrupt':_0x3cc223(0x10e),'fileTypeError':'Tệp\x20được\x20chọn\x20[{0}]\x20không\x20được\x20hỗ\x20trợ\x20để\x20tải\x20lên','wait':_0x3cc223(0x118),'cancel':_0x3cc223(0x10b),'uploadAgain':_0x3cc223(0x117)}};function _0x5a8d(_0x4c8965,_0x19b8f4){const _0x3fdfe7=_0x3fdf();return _0x5a8d=function(_0x5a8d27,_0x5cedde){_0x5a8d27=_0x5a8d27-0x105;let _0x151f87=_0x3fdfe7[_0x5a8d27];return _0x151f87;},_0x5a8d(_0x4c8965,_0x19b8f4);}export{n as default};
@@ -1 +1 @@
1
- const _0x485abd=_0x125c;function _0xf17f(){const _0x3c2ac1=['3326835aBxdNv','另存为','7mFVNFL','打开(文件)','10FxmSbd','数据流过大','上传中','10510312LxdiZS','下载成功','1607ZIoKYb','35284711lftjzm','846DVQaZQ','1783302LTSuww','{0}个文件上传成功','网络连接中断,文件上传失败。','6HtbrZU','网络异常','13790709ZyvIVD','下载中','442768cXFSMo','内部未知错误'];_0xf17f=function(){return _0x3c2ac1;};return _0xf17f();}(function(_0x36c486,_0x252929){const _0x55eabb=_0x125c,_0x4bf2a2=_0x36c486();while(!![]){try{const _0x495515=-parseInt(_0x55eabb(0xb3))/0x1*(parseInt(_0x55eabb(0xb5))/0x2)+parseInt(_0x55eabb(0xb9))/0x3*(parseInt(_0x55eabb(0xbd))/0x4)+parseInt(_0x55eabb(0xbf))/0x5+parseInt(_0x55eabb(0xb6))/0x6*(parseInt(_0x55eabb(0xac))/0x7)+-parseInt(_0x55eabb(0xb1))/0x8+-parseInt(_0x55eabb(0xbb))/0x9*(parseInt(_0x55eabb(0xae))/0xa)+parseInt(_0x55eabb(0xb4))/0xb;if(_0x495515===_0x252929)break;else _0x4bf2a2['push'](_0x4bf2a2['shift']());}catch(_0x458877){_0x4bf2a2['push'](_0x4bf2a2['shift']());}}}(_0xf17f,0xd361a));function _0x125c(_0x426f4b,_0x5c3f0f){const _0xf17fe6=_0xf17f();return _0x125c=function(_0x125cd7,_0x1b49c7){_0x125cd7=_0x125cd7-0xac;let _0x53b326=_0xf17fe6[_0x125cd7];return _0x53b326;},_0x125c(_0x426f4b,_0x5c3f0f);}const o={'exchange':{'file':'文件','upload':_0x485abd(0xad),'download':_0x485abd(0xc0),'uploading':_0x485abd(0xb0),'uploadSuccess':'文件上传成功','uploadSuccessTip':_0x485abd(0xb7),'downloading':_0x485abd(0xbc),'downloadSuccess':_0x485abd(0xb2),'unknownMistake':'未知错误','networkError':_0x485abd(0xba),'tooLarge':_0x485abd(0xaf),'internalError':_0x485abd(0xbe),'interrupt':_0x485abd(0xb8),'wait':'请稍等...','cancel':'取消','uploadAgain':'再次上传'}};export{o as default};
1
+ function _0x29fa(){const _0x2d3e3c=['793788jVEjWp','111162WIwsmg','所选文件\x20[{0}]\x20不支持上传','下载中','1228685DPqYbF','网络异常','851888Gqetdi','上传中','数据流过大','再次上传','另存为','1811187DXCLrM','文件上传成功','4VSsyNu','下载成功','58534cIoZhM','未知错误','193338iYXuer'];_0x29fa=function(){return _0x2d3e3c;};return _0x29fa();}const _0x349241=_0x3844;function _0x3844(_0x330d1e,_0x5ed630){const _0x29fa4e=_0x29fa();return _0x3844=function(_0x384446,_0x4ddc49){_0x384446=_0x384446-0xda;let _0x368418=_0x29fa4e[_0x384446];return _0x368418;},_0x3844(_0x330d1e,_0x5ed630);}(function(_0x4dbe09,_0x377549){const _0x3951c2=_0x3844,_0xbccce9=_0x4dbe09();while(!![]){try{const _0x3bd155=-parseInt(_0x3951c2(0xe3))/0x1+-parseInt(_0x3951c2(0xe1))/0x2*(-parseInt(_0x3951c2(0xe7))/0x3)+-parseInt(_0x3951c2(0xe6))/0x4+parseInt(_0x3951c2(0xea))/0x5+-parseInt(_0x3951c2(0xe5))/0x6+parseInt(_0x3951c2(0xdf))/0x7+parseInt(_0x3951c2(0xda))/0x8;if(_0x3bd155===_0x377549)break;else _0xbccce9['push'](_0xbccce9['shift']());}catch(_0x174e4c){_0xbccce9['push'](_0xbccce9['shift']());}}}(_0x29fa,0x60a5c));const o={'exchange':{'file':'文件','upload':'打开(文件)','download':_0x349241(0xde),'uploading':_0x349241(0xdb),'uploadSuccess':_0x349241(0xe0),'uploadSuccessTip':'{0}个文件上传成功','downloading':_0x349241(0xe9),'downloadSuccess':_0x349241(0xe2),'unknownMistake':_0x349241(0xe4),'networkError':_0x349241(0xeb),'tooLarge':_0x349241(0xdc),'internalError':'内部未知错误','interrupt':'网络连接中断,文件上传失败','fileTypeError':_0x349241(0xe8),'wait':'请稍等...','cancel':'取消','uploadAgain':_0x349241(0xdd)}};export{o as default};
@@ -1 +1 @@
1
- const _0x5f2afd=_0x4a86;function _0x12c5(){const _0x6beac5=['網路異常','檔案上傳成功','{0}個檔案上傳成功','上傳中','86013MCnbOI','下載中','未知錯誤','59529yfEPMO','請稍等...','1287419OoWjnE','1078220tmIqvZ','45QoBTOJ','19328XBrYRS','開啟(檔案)','18ozhbnq','另存為','92KHjyJH','14876130KPazpY','2277315JDWvbo','網路連線中斷,檔案上傳失敗。\x20'];_0x12c5=function(){return _0x6beac5;};return _0x12c5();}function _0x4a86(_0x194122,_0x578deb){const _0x12c508=_0x12c5();return _0x4a86=function(_0x4a862b,_0x274d46){_0x4a862b=_0x4a862b-0x19c;let _0x2bfab7=_0x12c508[_0x4a862b];return _0x2bfab7;},_0x4a86(_0x194122,_0x578deb);}(function(_0x121064,_0x38dc63){const _0xa58507=_0x4a86,_0x5622fc=_0x121064();while(!![]){try{const _0x37df1d=-parseInt(_0xa58507(0x1a2))/0x1+-parseInt(_0xa58507(0x1a8))/0x2+parseInt(_0xa58507(0x1a5))/0x3*(parseInt(_0xa58507(0x1ae))/0x4)+-parseInt(_0xa58507(0x19c))/0x5+parseInt(_0xa58507(0x1ac))/0x6*(-parseInt(_0xa58507(0x1a7))/0x7)+parseInt(_0xa58507(0x1aa))/0x8*(-parseInt(_0xa58507(0x1a9))/0x9)+parseInt(_0xa58507(0x1af))/0xa;if(_0x37df1d===_0x38dc63)break;else _0x5622fc['push'](_0x5622fc['shift']());}catch(_0x88b11c){_0x5622fc['push'](_0x5622fc['shift']());}}}(_0x12c5,0x49241));const o={'exchange':{'file':'檔案','upload':_0x5f2afd(0x1ab),'download':_0x5f2afd(0x1ad),'uploading':_0x5f2afd(0x1a1),'uploadSuccess':_0x5f2afd(0x19f),'uploadSuccessTip':_0x5f2afd(0x1a0),'downloading':_0x5f2afd(0x1a3),'downloadSuccess':'下載成功','unknownMistake':_0x5f2afd(0x1a4),'networkError':_0x5f2afd(0x19e),'tooLarge':'資料流過大','internalError':'內部未知錯誤','interrupt':_0x5f2afd(0x19d),'wait':_0x5f2afd(0x1a6),'cancel':'取消','uploadAgain':'再次上傳'}};export{o as default};
1
+ function _0x3448(){const _0x533b8e=['檔案上傳成功','所選檔案\x20[{0}]\x20不支援上傳','資料流過大','上傳中','6582987MkMNJX','網路連線中斷,檔案上傳失敗','3372292sowhCe','163498hALUxw','內部未知錯誤','5152032bqGJvD','再次上傳','37124bxpmoK','3UdQRSV','2167596uFYkhP','2771955jdpSjI','開啟(檔案)','未知錯誤','201GsDYYv','請稍等...','下載中'];_0x3448=function(){return _0x533b8e;};return _0x3448();}const _0x568fc1=_0x3cdb;(function(_0xee8420,_0x57f030){const _0xc8350=_0x3cdb,_0x2bf0b6=_0xee8420();while(!![]){try{const _0x47288c=parseInt(_0xc8350(0x139))/0x1*(-parseInt(_0xc8350(0x134))/0x2)+-parseInt(_0xc8350(0x13e))/0x3*(parseInt(_0xc8350(0x138))/0x4)+parseInt(_0xc8350(0x13b))/0x5+parseInt(_0xc8350(0x13a))/0x6+parseInt(_0xc8350(0x133))/0x7+parseInt(_0xc8350(0x136))/0x8+-parseInt(_0xc8350(0x131))/0x9;if(_0x47288c===_0x57f030)break;else _0x2bf0b6['push'](_0x2bf0b6['shift']());}catch(_0x2bb7dc){_0x2bf0b6['push'](_0x2bf0b6['shift']());}}}(_0x3448,0x6c214));const o={'exchange':{'file':'檔案','upload':_0x568fc1(0x13c),'download':'另存為','uploading':_0x568fc1(0x130),'uploadSuccess':_0x568fc1(0x12d),'uploadSuccessTip':'{0}個檔案上傳成功','downloading':_0x568fc1(0x12c),'downloadSuccess':'下載成功','unknownMistake':_0x568fc1(0x13d),'networkError':'網路異常','tooLarge':_0x568fc1(0x12f),'internalError':_0x568fc1(0x135),'interrupt':_0x568fc1(0x132),'fileTypeError':_0x568fc1(0x12e),'wait':_0x568fc1(0x13f),'cancel':'取消','uploadAgain':_0x568fc1(0x137)}};function _0x3cdb(_0x2925d5,_0x4f004a){const _0x344823=_0x3448();return _0x3cdb=function(_0x3cdb90,_0x2bb442){_0x3cdb90=_0x3cdb90-0x12c;let _0x219a7c=_0x344823[_0x3cdb90];return _0x219a7c;},_0x3cdb(_0x2925d5,_0x4f004a);}export{o as default};
@@ -13,6 +13,7 @@ declare const locales: {
13
13
  tooLarge: string;
14
14
  internalError: string;
15
15
  interrupt: string;
16
+ fileTypeError: string;
16
17
  wait: string;
17
18
  cancel: string;
18
19
  uploadAgain: string;
@@ -118,4 +118,12 @@ export declare class ExchangeOperateService extends Disposable implements IExcha
118
118
  private _addDoneTask;
119
119
  private _completeProgress;
120
120
  private _clearProgress;
121
+ /**
122
+ * Although we have specified the supported file types in advance, users can still switch to select all types of files.
123
+ In order to prevent such unsupported files from being transmitted to the server, they need to be intercepted in advance.
124
+ * @param fileList
125
+ * @param type
126
+ * @returns
127
+ */
128
+ private _fileTypeError;
121
129
  }
@@ -0,0 +1,16 @@
1
+ export declare const DOCX = "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
2
+ export declare const XLSX = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
3
+ export declare const XLSM = "application/vnd.ms-excel.sheet.macroEnabled.12";
4
+ export declare const XLTX = "application/vnd.openxmlformats-officedocument.spreadsheetml.template";
5
+ export declare const PPTX = "application/vnd.openxmlformats-officedocument.presentationml.presentation";
6
+ export declare const UNIT_CONTENT_TYPE: {
7
+ 0: string[];
8
+ 1: string[];
9
+ 2: string[];
10
+ 3: string[];
11
+ 4: string[];
12
+ [-1]: string[];
13
+ };
14
+ export declare const CONTENT_TYPE_EXTNAME: {
15
+ [key: string]: string;
16
+ };
@@ -6,7 +6,12 @@ export declare function downloadFileByURL(url: string, filename: string, fileExt
6
6
  * @param {File} file - The File object to be downloaded.
7
7
  */
8
8
  export declare function downloadFile(file: File | Blob, filename: string, fileExt: string): void;
9
- export declare function getUniverTypeByFile(file: File): UniverType.UNIVER_UNKNOWN | UniverType.UNIVER_DOC | UniverType.UNIVER_SHEET | UniverType.UNIVER_SLIDE;
9
+ /**
10
+ * Get the UniverType of a file based on its content type and extension.
11
+ * @param file
12
+ * @returns
13
+ */
14
+ export declare function getUniverTypeByFile(file: File): UniverType.UNIVER_UNKNOWN;
10
15
  export declare function getUploadFile(types: UniverType[], multiple?: boolean): Promise<FileList | null>;
11
16
  export declare function getFileByURL(url: string): Promise<File | undefined>;
12
17
  export declare function getFileNameFromURL(url: string): string | undefined;
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x5de4(){const _0x9836f2=['66qwkLLV','1028myCZmU','importDOCXToUnitIdAsync','2510FUrREk','object','30RPReuF','UNIVER_DOC','exportXLSXByUnitId','48kHkRyu','importFileToUnitId','@univerjs/core/facade','2860464VKjJEw','exportXLSXBySnapshot','importXLSXToSnapshotAsync','_injector','importXLSXToSnapshot','importDOCXToSnapshot','importDOCXToSnapshotAsync','exportXLSXByUnitIdAsync','2814482jmrfPS','get','UNRECOGNIZED','2111331AqkXJw','IExchangeService','exportXLSXBySnapshotAsync','UNIVER_PROJECT','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_SLIDE','UniverCoreFacade','UNIVER_SHEET','UNIVER_UNKNOWN','function','FUniver','384587gwgZKI','1712151wRDIHP','UniverProExchangeClient','@univerjs-pro/exchange-client','1YReVpt','1332014rpcDlE','importXLSXToUnitIdAsync'];_0x5de4=function(){return _0x9836f2;};return _0x5de4();}function _0x5142(_0x52f586,_0x281190){const _0x5de4fc=_0x5de4();return _0x5142=function(_0x5142ec,_0xfbb186){_0x5142ec=_0x5142ec-0x121;let _0x29c46f=_0x5de4fc[_0x5142ec];return _0x29c46f;},_0x5142(_0x52f586,_0x281190);}(function(_0x584703,_0x504921){const _0x3ea049=_0x5142,_0x4af975=_0x584703();while(!![]){try{const _0x5b8b80=parseInt(_0x3ea049(0x12d))/0x1*(-parseInt(_0x3ea049(0x12e))/0x2)+parseInt(_0x3ea049(0x146))/0x3+-parseInt(_0x3ea049(0x131))/0x4*(parseInt(_0x3ea049(0x133))/0x5)+parseInt(_0x3ea049(0x130))/0x6*(parseInt(_0x3ea049(0x129))/0x7)+parseInt(_0x3ea049(0x13b))/0x8+parseInt(_0x3ea049(0x12a))/0x9*(parseInt(_0x3ea049(0x135))/0xa)+-parseInt(_0x3ea049(0x143))/0xb*(parseInt(_0x3ea049(0x138))/0xc);if(_0x5b8b80===_0x504921)break;else _0x4af975['push'](_0x4af975['shift']());}catch(_0x1adfbc){_0x4af975['push'](_0x4af975['shift']());}}}(_0x5de4,0x6608e),function(_0x46e9af,_0x3cd429){const _0x7bea43=_0x5142;typeof exports==_0x7bea43(0x134)&&typeof module<'u'?_0x3cd429(require(_0x7bea43(0x12c)),require(_0x7bea43(0x13a))):typeof define==_0x7bea43(0x127)&&define['amd']?define([_0x7bea43(0x12c),'@univerjs/core/facade'],_0x3cd429):(_0x46e9af=typeof globalThis<'u'?globalThis:_0x46e9af||self,_0x3cd429(_0x46e9af[_0x7bea43(0x12b)],_0x46e9af[_0x7bea43(0x124)]));}(this,function(_0x512bb7,_0x45f4fa){'use strict';const _0x26f9e7=_0x5142;var _0x58e2ed=(_0x4bd349=>(_0x4bd349[_0x4bd349[_0x26f9e7(0x126)]=0x0]=_0x26f9e7(0x126),_0x4bd349[_0x4bd349[_0x26f9e7(0x136)]=0x1]='UNIVER_DOC',_0x4bd349[_0x4bd349[_0x26f9e7(0x125)]=0x2]=_0x26f9e7(0x125),_0x4bd349[_0x4bd349[_0x26f9e7(0x123)]=0x3]=_0x26f9e7(0x123),_0x4bd349[_0x4bd349[_0x26f9e7(0x121)]=0x4]=_0x26f9e7(0x121),_0x4bd349[_0x4bd349['UNRECOGNIZED']=-0x1]=_0x26f9e7(0x145),_0x4bd349))(_0x58e2ed||{});class _0x5e05c5 extends _0x45f4fa['FUniver']{async['importXLSXToUnitId'](_0x522827){const _0x5809cd=_0x26f9e7;return this[_0x5809cd(0x12f)](_0x522827);}async[_0x26f9e7(0x12f)](_0x2f57bd){const _0x4ab271=_0x26f9e7,_0x3b090f=this[_0x4ab271(0x13e)]['get'](_0x512bb7[_0x4ab271(0x147)]);if(!_0x3b090f)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3b090f['importFileToUnitId'](_0x2f57bd,_0x58e2ed[_0x4ab271(0x125)]);}async[_0x26f9e7(0x13f)](_0x4d617f){return this['importXLSXToSnapshotAsync'](_0x4d617f);}async[_0x26f9e7(0x13d)](_0x2006b2){const _0x2635d2=_0x26f9e7,_0x3330c7=this[_0x2635d2(0x13e)][_0x2635d2(0x144)](_0x512bb7[_0x2635d2(0x147)]);if(!_0x3330c7)throw new Error(_0x2635d2(0x122));return _0x3330c7[_0x2635d2(0x13f)](_0x2006b2);}async[_0x26f9e7(0x137)](_0x318637){return this['exportXLSXByUnitIdAsync'](_0x318637);}async[_0x26f9e7(0x142)](_0x554573){const _0x488947=_0x26f9e7,_0x8e424f=this['_injector'][_0x488947(0x144)](_0x512bb7[_0x488947(0x147)]);if(!_0x8e424f)throw new Error(_0x488947(0x122));return _0x8e424f['exportXLSXByUnitId'](_0x554573);}async['exportXLSXBySnapshot'](_0x357511){const _0x3c44b0=_0x26f9e7;return this[_0x3c44b0(0x148)](_0x357511);}async['exportXLSXBySnapshotAsync'](_0x1c3c58){const _0x5667f4=_0x26f9e7,_0x27b4dd=this[_0x5667f4(0x13e)][_0x5667f4(0x144)](_0x512bb7[_0x5667f4(0x147)]);if(!_0x27b4dd)throw new Error(_0x5667f4(0x122));return _0x27b4dd[_0x5667f4(0x13c)](_0x1c3c58);}async['importDOCXToUnitId'](_0x184208){const _0x3bc5fb=_0x26f9e7;return this[_0x3bc5fb(0x132)](_0x184208);}async[_0x26f9e7(0x132)](_0xad2170){const _0x33398b=_0x26f9e7,_0x7097a5=this[_0x33398b(0x13e)][_0x33398b(0x144)](_0x512bb7[_0x33398b(0x147)]);if(!_0x7097a5)throw new Error(_0x33398b(0x122));return _0x7097a5[_0x33398b(0x139)](_0xad2170,_0x58e2ed[_0x33398b(0x136)]);}async[_0x26f9e7(0x140)](_0x56b148){const _0x52d296=_0x26f9e7;return this[_0x52d296(0x141)](_0x56b148);}async[_0x26f9e7(0x141)](_0x3382e6){const _0x3823df=_0x26f9e7,_0x4739d6=this[_0x3823df(0x13e)][_0x3823df(0x144)](_0x512bb7['IExchangeService']);if(!_0x4739d6)throw new Error(_0x3823df(0x122));return _0x4739d6[_0x3823df(0x140)](_0x3382e6);}}_0x45f4fa[_0x26f9e7(0x128)]['extend'](_0x5e05c5);}));
1
+ (function(_0x4f14d4,_0xaf7633){const _0x4df033=_0x159c,_0x5bd2f3=_0x4f14d4();while(!![]){try{const _0x16ce91=parseInt(_0x4df033(0x162))/0x1+parseInt(_0x4df033(0x14f))/0x2*(-parseInt(_0x4df033(0x165))/0x3)+parseInt(_0x4df033(0x148))/0x4+-parseInt(_0x4df033(0x168))/0x5+parseInt(_0x4df033(0x150))/0x6*(parseInt(_0x4df033(0x15e))/0x7)+-parseInt(_0x4df033(0x14e))/0x8*(parseInt(_0x4df033(0x149))/0x9)+parseInt(_0x4df033(0x14b))/0xa;if(_0x16ce91===_0xaf7633)break;else _0x5bd2f3['push'](_0x5bd2f3['shift']());}catch(_0x46862a){_0x5bd2f3['push'](_0x5bd2f3['shift']());}}}(_0x542b,0x73929),function(_0x3e4d11,_0x48b004){const _0x45d40c=_0x159c;typeof exports==_0x45d40c(0x147)&&typeof module<'u'?_0x48b004(require('@univerjs-pro/exchange-client'),require('@univerjs/core/facade')):typeof define==_0x45d40c(0x143)&&define[_0x45d40c(0x146)]?define([_0x45d40c(0x14d),'@univerjs/core/facade'],_0x48b004):(_0x3e4d11=typeof globalThis<'u'?globalThis:_0x3e4d11||self,_0x48b004(_0x3e4d11[_0x45d40c(0x161)],_0x3e4d11[_0x45d40c(0x15a)]));}(this,function(_0x34f777,_0x51a4fa){'use strict';const _0x1b72f4=_0x159c;var _0x1d44b6=(_0x1baf6a=>(_0x1baf6a[_0x1baf6a[_0x1b72f4(0x155)]=0x0]=_0x1b72f4(0x155),_0x1baf6a[_0x1baf6a['UNIVER_DOC']=0x1]=_0x1b72f4(0x151),_0x1baf6a[_0x1baf6a[_0x1b72f4(0x157)]=0x2]='UNIVER_SHEET',_0x1baf6a[_0x1baf6a['UNIVER_SLIDE']=0x3]=_0x1b72f4(0x167),_0x1baf6a[_0x1baf6a[_0x1b72f4(0x144)]=0x4]='UNIVER_PROJECT',_0x1baf6a[_0x1baf6a[_0x1b72f4(0x14a)]=-0x1]=_0x1b72f4(0x14a),_0x1baf6a))(_0x1d44b6||{});class _0xdb8b6b extends _0x51a4fa['FUniver']{async['importXLSXToUnitId'](_0x325ff3){return this['importXLSXToUnitIdAsync'](_0x325ff3);}async[_0x1b72f4(0x15f)](_0x21a2f1){const _0x36157f=_0x1b72f4,_0x1452c1=this[_0x36157f(0x153)][_0x36157f(0x160)](_0x34f777[_0x36157f(0x164)]);if(!_0x1452c1)throw new Error(_0x36157f(0x152));return _0x1452c1[_0x36157f(0x142)](_0x21a2f1,_0x1d44b6['UNIVER_SHEET']);}async['importXLSXToSnapshot'](_0x3417bd){const _0x5a1b50=_0x1b72f4;return this[_0x5a1b50(0x169)](_0x3417bd);}async[_0x1b72f4(0x169)](_0x5b9d1b){const _0x4bc58f=_0x1b72f4,_0x33b695=this[_0x4bc58f(0x153)]['get'](_0x34f777['IExchangeService']);if(!_0x33b695)throw new Error(_0x4bc58f(0x152));return _0x33b695[_0x4bc58f(0x156)](_0x5b9d1b);}async[_0x1b72f4(0x159)](_0x58a230){const _0x3158a3=_0x1b72f4;return this[_0x3158a3(0x145)](_0x58a230);}async[_0x1b72f4(0x145)](_0x693916){const _0xf218f2=_0x1b72f4,_0x5b7542=this[_0xf218f2(0x153)][_0xf218f2(0x160)](_0x34f777[_0xf218f2(0x164)]);if(!_0x5b7542)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5b7542['exportXLSXByUnitId'](_0x693916);}async[_0x1b72f4(0x15d)](_0x37ea1c){const _0x23ea57=_0x1b72f4;return this[_0x23ea57(0x154)](_0x37ea1c);}async[_0x1b72f4(0x154)](_0x65d590){const _0xd94a9b=_0x1b72f4,_0x4d6b2b=this[_0xd94a9b(0x153)][_0xd94a9b(0x160)](_0x34f777[_0xd94a9b(0x164)]);if(!_0x4d6b2b)throw new Error(_0xd94a9b(0x152));return _0x4d6b2b['exportXLSXBySnapshot'](_0x65d590);}async[_0x1b72f4(0x15b)](_0x1235f2){const _0xf4b0f9=_0x1b72f4;return this[_0xf4b0f9(0x14c)](_0x1235f2);}async['importDOCXToUnitIdAsync'](_0x687613){const _0x16b18c=_0x1b72f4,_0x39592b=this[_0x16b18c(0x153)]['get'](_0x34f777[_0x16b18c(0x164)]);if(!_0x39592b)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x39592b[_0x16b18c(0x142)](_0x687613,_0x1d44b6[_0x16b18c(0x151)]);}async['importDOCXToSnapshot'](_0x427242){const _0x59fecb=_0x1b72f4;return this[_0x59fecb(0x163)](_0x427242);}async['importDOCXToSnapshotAsync'](_0x5d12df){const _0x244605=_0x1b72f4,_0x14b24c=this['_injector'][_0x244605(0x160)](_0x34f777[_0x244605(0x164)]);if(!_0x14b24c)throw new Error(_0x244605(0x152));return _0x14b24c[_0x244605(0x158)](_0x5d12df);}}_0x51a4fa[_0x1b72f4(0x166)][_0x1b72f4(0x15c)](_0xdb8b6b);}));function _0x159c(_0x528df9,_0x122f53){const _0x542b32=_0x542b();return _0x159c=function(_0x159cd3,_0xeea8ea){_0x159cd3=_0x159cd3-0x142;let _0x30f3ee=_0x542b32[_0x159cd3];return _0x30f3ee;},_0x159c(_0x528df9,_0x122f53);}function _0x542b(){const _0x23bc23=['The\x20exchange\x20service\x20is\x20not\x20available','_injector','exportXLSXBySnapshotAsync','UNIVER_UNKNOWN','importXLSXToSnapshot','UNIVER_SHEET','importDOCXToSnapshot','exportXLSXByUnitId','UniverCoreFacade','importDOCXToUnitId','extend','exportXLSXBySnapshot','1636313UEsxPl','importXLSXToUnitIdAsync','get','UniverProExchangeClient','492185CeVThR','importDOCXToSnapshotAsync','IExchangeService','45WBXYOr','FUniver','UNIVER_SLIDE','2136420BZhUqL','importXLSXToSnapshotAsync','importFileToUnitId','function','UNIVER_PROJECT','exportXLSXByUnitIdAsync','amd','object','1175484COphzf','54954qpUXfb','UNRECOGNIZED','2680240nkTpEe','importDOCXToUnitIdAsync','@univerjs-pro/exchange-client','984maATTL','13820XShnXo','18ivITsi','UNIVER_DOC'];_0x542b=function(){return _0x23bc23;};return _0x542b();}