@univerjs-pro/exchange-client 0.5.0 → 0.5.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
- const _0x1712c3=_0x14e5;(function(_0x36b620,_0x5ac9f5){const _0x2592d0=_0x14e5,_0x1b658e=_0x36b620();while(!![]){try{const _0x19963e=parseInt(_0x2592d0(0x1eb))/0x1*(-parseInt(_0x2592d0(0x1e5))/0x2)+-parseInt(_0x2592d0(0x1f6))/0x3*(-parseInt(_0x2592d0(0x1f5))/0x4)+parseInt(_0x2592d0(0x1ed))/0x5+parseInt(_0x2592d0(0x1e9))/0x6*(-parseInt(_0x2592d0(0x1e0))/0x7)+parseInt(_0x2592d0(0x1e3))/0x8+parseInt(_0x2592d0(0x1f4))/0x9*(-parseInt(_0x2592d0(0x1e4))/0xa)+-parseInt(_0x2592d0(0x1f3))/0xb;if(_0x19963e===_0x5ac9f5)break;else _0x1b658e['push'](_0x1b658e['shift']());}catch(_0x5c909d){_0x1b658e['push'](_0x1b658e['shift']());}}}(_0x4dad,0x69c51));const e={'exchange':{'file':'File','upload':_0x1712c3(0x1e7),'download':_0x1712c3(0x1ee),'uploading':_0x1712c3(0x1ec),'uploadSuccess':_0x1712c3(0x1f0),'uploadSuccessTip':'{0}\x20file(s)\x20uploaded\x20successfully','downloading':_0x1712c3(0x1e2),'downloadSuccess':_0x1712c3(0x1ea),'unknownMistake':'Unknown\x20mistake','networkError':_0x1712c3(0x1f2),'tooLarge':'Data\x20is\x20too\x20large','internalError':_0x1712c3(0x1e6),'interrupt':_0x1712c3(0x1ef),'wait':_0x1712c3(0x1e1),'cancel':_0x1712c3(0x1e8),'uploadAgain':_0x1712c3(0x1f1)}};export{e as default};function _0x14e5(_0x507736,_0x15836c){const _0x4dad6d=_0x4dad();return _0x14e5=function(_0x14e5ed,_0x27226a){_0x14e5ed=_0x14e5ed-0x1e0;let _0x5f452d=_0x4dad6d[_0x14e5ed];return _0x5f452d;},_0x14e5(_0x507736,_0x15836c);}function _0x4dad(){const _0x59f356=['Upload\x20again','Network\x20error','4263820gCcMQY','52317QUXYhN','6572txGAhE','1341vtNXFj','2182439XBozzc','Please\x20wait...','Downloading','3018288PMVsSv','10lXfByc','68vkLYMC','Internal\x20unknown\x20error','Open(File)','Cancel','6sGeKkY','Download\x20success','6177TPzJtR','Uploading','1183770kMfrUL','Save\x20As','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed.','File\x20uploaded\x20successfully'];_0x4dad=function(){return _0x59f356;};return _0x4dad();}
1
+ const _0x35cf34=_0x53ff;function _0x53ff(_0x29b468,_0x38abb6){const _0x14a2f4=_0x14a2();return _0x53ff=function(_0x53ff09,_0x46babc){_0x53ff09=_0x53ff09-0x78;let _0x557594=_0x14a2f4[_0x53ff09];return _0x557594;},_0x53ff(_0x29b468,_0x38abb6);}(function(_0x193596,_0x38660f){const _0x2860a5=_0x53ff,_0x250ecf=_0x193596();while(!![]){try{const _0x4d7d37=-parseInt(_0x2860a5(0x88))/0x1+parseInt(_0x2860a5(0x7d))/0x2+parseInt(_0x2860a5(0x87))/0x3+-parseInt(_0x2860a5(0x86))/0x4+parseInt(_0x2860a5(0x7c))/0x5+-parseInt(_0x2860a5(0x81))/0x6*(parseInt(_0x2860a5(0x83))/0x7)+parseInt(_0x2860a5(0x79))/0x8;if(_0x4d7d37===_0x38660f)break;else _0x250ecf['push'](_0x250ecf['shift']());}catch(_0x3b48b4){_0x250ecf['push'](_0x250ecf['shift']());}}}(_0x14a2,0xcaa1a));const e={'exchange':{'file':_0x35cf34(0x85),'upload':_0x35cf34(0x7a),'download':_0x35cf34(0x7e),'uploading':_0x35cf34(0x78),'uploadSuccess':'File\x20uploaded\x20successfully','uploadSuccessTip':_0x35cf34(0x8a),'downloading':_0x35cf34(0x7b),'downloadSuccess':_0x35cf34(0x80),'unknownMistake':_0x35cf34(0x8c),'networkError':_0x35cf34(0x7f),'tooLarge':'Data\x20is\x20too\x20large','internalError':'Internal\x20unknown\x20error','interrupt':_0x35cf34(0x84),'wait':_0x35cf34(0x82),'cancel':_0x35cf34(0x8b),'uploadAgain':_0x35cf34(0x89)}};function _0x14a2(){const _0x3cc14a=['File','658832lWhUur','91266tTIIck','1002636aCOvaH','Upload\x20again','{0}\x20file(s)\x20uploaded\x20successfully','Cancel','Unknown\x20mistake','Uploading','9078784yNPTSx','Open(File)','Downloading','4882525nYjmSz','961414SOtJgU','Save\x20As','Network\x20error','Download\x20success','3750960QbmQBk','Please\x20wait...','7GSLaJF','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed.'];_0x14a2=function(){return _0x3cc14a;};return _0x14a2();}export{e as default};
@@ -1 +1 @@
1
- function _0x58bf(){const _0x4903e8=['داده\x20خیلی\x20بزرگ\x20است','2335472cvqZVM','2331711MPYyZM','بازکردن(فایل)','دانلود\x20موفقیت\x20آمیز','8wCnqDI','ذخیره\x20به\x20عنوان','اتصال\x20شبکه\x20قطع\x20شد\x20و\x20بارگذاری\x20فایل\x20ناموفق\x20بود.','8eumUhl','لطفا\x20صبر\x20کنید...','در\x20حال\x20بارگذاری','خطای\x20شبکه','فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','132874pnALQx','5042766YWaTyL','بارگذاری\x20مجدد','لغو','383148qSWFmc','2589286HKCKHc','29801651bFnMzp','10TkVved','در\x20حال\x20دانلود','5lbUIMI'];_0x58bf=function(){return _0x4903e8;};return _0x58bf();}const _0xc58c78=_0xd938;(function(_0x18224c,_0xfb0196){const _0x3161ac=_0xd938,_0x19aee8=_0x18224c();while(!![]){try{const _0x491fc3=-parseInt(_0x3161ac(0x134))/0x1*(parseInt(_0x3161ac(0x12f))/0x2)+-parseInt(_0x3161ac(0x138))/0x3+parseInt(_0x3161ac(0x13f))/0x4*(-parseInt(_0x3161ac(0x13d))/0x5)+-parseInt(_0x3161ac(0x135))/0x6+parseInt(_0x3161ac(0x139))/0x7+parseInt(_0x3161ac(0x12c))/0x8*(-parseInt(_0x3161ac(0x140))/0x9)+-parseInt(_0x3161ac(0x13b))/0xa*(-parseInt(_0x3161ac(0x13a))/0xb);if(_0x491fc3===_0xfb0196)break;else _0x19aee8['push'](_0x19aee8['shift']());}catch(_0x421aeb){_0x19aee8['push'](_0x19aee8['shift']());}}}(_0x58bf,0xb3d07));function _0xd938(_0x30528f,_0xcffd4){const _0x58bf18=_0x58bf();return _0xd938=function(_0xd938be,_0x2cc869){_0xd938be=_0xd938be-0x12b;let _0x3e0df1=_0x58bf18[_0xd938be];return _0x3e0df1;},_0xd938(_0x30528f,_0xcffd4);}const o={'exchange':{'file':'فایل','upload':_0xc58c78(0x141),'download':_0xc58c78(0x12d),'uploading':_0xc58c78(0x131),'uploadSuccess':_0xc58c78(0x133),'uploadSuccessTip':'{0}\x20فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','downloading':_0xc58c78(0x13c),'downloadSuccess':_0xc58c78(0x12b),'unknownMistake':'خطای\x20ناشناخته','networkError':_0xc58c78(0x132),'tooLarge':_0xc58c78(0x13e),'internalError':'خطای\x20داخلی\x20ناشناخته','interrupt':_0xc58c78(0x12e),'wait':_0xc58c78(0x130),'cancel':_0xc58c78(0x137),'uploadAgain':_0xc58c78(0x136)}};export{o as default};
1
+ function _0x56e6(_0x310232,_0x578ab1){const _0x2bed44=_0x2bed();return _0x56e6=function(_0x56e6e2,_0x22306a){_0x56e6e2=_0x56e6e2-0x1a7;let _0x684362=_0x2bed44[_0x56e6e2];return _0x684362;},_0x56e6(_0x310232,_0x578ab1);}const _0x4519c8=_0x56e6;(function(_0x127646,_0x516051){const _0x66546c=_0x56e6,_0x1b59dd=_0x127646();while(!![]){try{const _0x40a5b0=parseInt(_0x66546c(0x1ad))/0x1+parseInt(_0x66546c(0x1ae))/0x2*(-parseInt(_0x66546c(0x1b6))/0x3)+parseInt(_0x66546c(0x1b7))/0x4+-parseInt(_0x66546c(0x1b4))/0x5*(-parseInt(_0x66546c(0x1ab))/0x6)+-parseInt(_0x66546c(0x1a7))/0x7+-parseInt(_0x66546c(0x1a8))/0x8+parseInt(_0x66546c(0x1b2))/0x9;if(_0x40a5b0===_0x516051)break;else _0x1b59dd['push'](_0x1b59dd['shift']());}catch(_0x5bf39d){_0x1b59dd['push'](_0x1b59dd['shift']());}}}(_0x2bed,0xeb1d8));function _0x2bed(){const _0x750994=['ذخیره\x20به\x20عنوان','داده\x20خیلی\x20بزرگ\x20است','6738cscxFs','دانلود\x20موفقیت\x20آمیز','224033FbIIwg','284650DygVkx','خطای\x20داخلی\x20ناشناخته','خطای\x20ناشناخته','اتصال\x20شبکه\x20قطع\x20شد\x20و\x20بارگذاری\x20فایل\x20ناموفق\x20بود.','7430058SdUPQd','{0}\x20فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','2815GZdZcA','بارگذاری\x20مجدد','15xSspPZ','6942992mEIHDt','6334391XzLYfT','6704176XlrBgq'];_0x2bed=function(){return _0x750994;};return _0x2bed();}const o={'exchange':{'file':'فایل','upload':'بازکردن(فایل)','download':_0x4519c8(0x1a9),'uploading':'در\x20حال\x20بارگذاری','uploadSuccess':'فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','uploadSuccessTip':_0x4519c8(0x1b3),'downloading':'در\x20حال\x20دانلود','downloadSuccess':_0x4519c8(0x1ac),'unknownMistake':_0x4519c8(0x1b0),'networkError':'خطای\x20شبکه','tooLarge':_0x4519c8(0x1aa),'internalError':_0x4519c8(0x1af),'interrupt':_0x4519c8(0x1b1),'wait':'لطفا\x20صبر\x20کنید...','cancel':'لغو','uploadAgain':_0x4519c8(0x1b5)}};export{o as default};
@@ -0,0 +1 @@
1
+ const _0x16d8ff=_0x39c2;(function(_0x1dfabe,_0x42ca12){const _0xee0637=_0x39c2,_0x53b1c9=_0x1dfabe();while(!![]){try{const _0x1c51da=-parseInt(_0xee0637(0x197))/0x1+parseInt(_0xee0637(0x1a2))/0x2+parseInt(_0xee0637(0x18f))/0x3+-parseInt(_0xee0637(0x190))/0x4*(parseInt(_0xee0637(0x19b))/0x5)+-parseInt(_0xee0637(0x18d))/0x6*(-parseInt(_0xee0637(0x1a1))/0x7)+-parseInt(_0xee0637(0x19f))/0x8*(-parseInt(_0xee0637(0x195))/0x9)+-parseInt(_0xee0637(0x199))/0xa*(parseInt(_0xee0637(0x193))/0xb);if(_0x1c51da===_0x42ca12)break;else _0x53b1c9['push'](_0x53b1c9['shift']());}catch(_0x565f6c){_0x53b1c9['push'](_0x53b1c9['shift']());}}}(_0xefd8,0x3b292));function _0x39c2(_0x2a08b7,_0x2d8f7b){const _0xefd853=_0xefd8();return _0x39c2=function(_0x39c28e,_0x10e381){_0x39c28e=_0x39c28e-0x18d;let _0x31508f=_0xefd853[_0x39c28e];return _0x31508f;},_0x39c2(_0x2a08b7,_0x2d8f7b);}function _0xefd8(){const _0x5c3d7d=['218106ZLpJVZ','364604huLDMb','Unknown\x20mistake','Cancel','12639fRfbru','Save\x20As','387sizQhS','File','359511lpICBb','Uploading','2140rjsciP','Downloading','15yzooAw','Upload\x20again','Internal\x20unknown\x20error','Download\x20success','88688URpmqp','Data\x20is\x20too\x20large','2916893VXLiyq','310146zVubXt','Network\x20error','6CpTmMz','File\x20uploaded\x20successfully'];_0xefd8=function(){return _0x5c3d7d;};return _0xefd8();}const e={'exchange':{'file':_0x16d8ff(0x196),'upload':'Open(File)','download':_0x16d8ff(0x194),'uploading':_0x16d8ff(0x198),'uploadSuccess':_0x16d8ff(0x18e),'uploadSuccessTip':'{0}\x20file(s)\x20uploaded\x20successfully','downloading':_0x16d8ff(0x19a),'downloadSuccess':_0x16d8ff(0x19e),'unknownMistake':_0x16d8ff(0x191),'networkError':_0x16d8ff(0x1a3),'tooLarge':_0x16d8ff(0x1a0),'internalError':_0x16d8ff(0x19d),'interrupt':'The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed.','wait':'Please\x20wait...','cancel':_0x16d8ff(0x192),'uploadAgain':_0x16d8ff(0x19c)}},o=e;export{o as default};
@@ -1 +1 @@
1
- const _0x1ca302=_0x4478;(function(_0x37ecc7,_0x4bff45){const _0xc56d96=_0x4478,_0x50ecbd=_0x37ecc7();while(!![]){try{const _0x8d663e=parseInt(_0xc56d96(0x167))/0x1+parseInt(_0xc56d96(0x161))/0x2+-parseInt(_0xc56d96(0x168))/0x3*(-parseInt(_0xc56d96(0x166))/0x4)+-parseInt(_0xc56d96(0x16e))/0x5*(parseInt(_0xc56d96(0x170))/0x6)+-parseInt(_0xc56d96(0x164))/0x7*(-parseInt(_0xc56d96(0x174))/0x8)+parseInt(_0xc56d96(0x16f))/0x9+parseInt(_0xc56d96(0x162))/0xa*(-parseInt(_0xc56d96(0x16a))/0xb);if(_0x8d663e===_0x4bff45)break;else _0x50ecbd['push'](_0x50ecbd['shift']());}catch(_0x19163a){_0x50ecbd['push'](_0x50ecbd['shift']());}}}(_0x6da5,0x8889e));function _0x4478(_0x2f46d1,_0x367474){const _0x6da5d4=_0x6da5();return _0x4478=function(_0x447850,_0x25cbd6){_0x447850=_0x447850-0x160;let _0x2c2047=_0x6da5d4[_0x447850];return _0x2c2047;},_0x4478(_0x2f46d1,_0x367474);}const o={'exchange':{'file':_0x1ca302(0x16c),'upload':'Открыть(Файл)','download':_0x1ca302(0x160),'uploading':_0x1ca302(0x16b),'uploadSuccess':'Файл\x20успешно\x20загружен','uploadSuccessTip':'{0}\x20файл(ов)\x20успешно\x20загружен(о)','downloading':_0x1ca302(0x165),'downloadSuccess':_0x1ca302(0x171),'unknownMistake':_0x1ca302(0x169),'networkError':'Сетевая\x20ошибка','tooLarge':_0x1ca302(0x173),'internalError':_0x1ca302(0x172),'interrupt':'Сетевое\x20соединение\x20было\x20прервано,\x20и\x20загрузка\x20файла\x20не\x20удалась.','wait':_0x1ca302(0x163),'cancel':_0x1ca302(0x16d),'uploadAgain':'Загрузить\x20снова'}};export{o as default};function _0x6da5(){const _0x21a26a=['Загрузка','Файл','Отмена','1667555wtaJNj','6946101onfnZY','18wUuaGH','Скачивание\x20успешно','Внутренняя\x20неизвестная\x20ошибка','Данные\x20слишком\x20большие','8sYAxvp','Сохранить\x20как','613314pqOdeO','100cbCSIH','Пожалуйста,\x20подождите...','1612821ZFgKCR','Скачивание','16vTUhxY','421456JwrQBF','28740ZhEslf','Неизвестная\x20ошибка','229713VgnsIf'];_0x6da5=function(){return _0x21a26a;};return _0x6da5();}
1
+ function _0x34a4(){const _0x239b71=['1219154aqGaNw','216kAKNMT','Сохранить\x20как','Загрузка','Скачивание\x20успешно','2UFnGpw','1465810DfVLyL','Сетевая\x20ошибка','Отмена','35XigLXi','2181537IDsFrS','33FWlHCX','Данные\x20слишком\x20большие','1675562yQRYZk','Файл','{0}\x20файл(ов)\x20успешно\x20загружен(о)','Скачивание','Файл\x20успешно\x20загружен','490977fgtKJV','Загрузить\x20снова','Неизвестная\x20ошибка','5828598hNGwUD','714508yAuQWE','Сетевое\x20соединение\x20было\x20прервано,\x20и\x20загрузка\x20файла\x20не\x20удалась.'];_0x34a4=function(){return _0x239b71;};return _0x34a4();}function _0x308d(_0x583155,_0x228b95){const _0x34a41c=_0x34a4();return _0x308d=function(_0x308dde,_0x25a7fc){_0x308dde=_0x308dde-0xb6;let _0x14ede9=_0x34a41c[_0x308dde];return _0x14ede9;},_0x308d(_0x583155,_0x228b95);}const _0x3db67d=_0x308d;(function(_0x27ffed,_0x230b10){const _0x347e1d=_0x308d,_0x2a1ae9=_0x27ffed();while(!![]){try{const _0x5f41a0=-parseInt(_0x347e1d(0xb6))/0x1*(parseInt(_0x347e1d(0xc9))/0x2)+parseInt(_0x347e1d(0xbb))/0x3+parseInt(_0x347e1d(0xc7))/0x4*(parseInt(_0x347e1d(0xba))/0x5)+parseInt(_0x347e1d(0xc6))/0x6+parseInt(_0x347e1d(0xbe))/0x7+parseInt(_0x347e1d(0xca))/0x8*(-parseInt(_0x347e1d(0xc3))/0x9)+-parseInt(_0x347e1d(0xb7))/0xa*(-parseInt(_0x347e1d(0xbc))/0xb);if(_0x5f41a0===_0x230b10)break;else _0x2a1ae9['push'](_0x2a1ae9['shift']());}catch(_0x1ef0a2){_0x2a1ae9['push'](_0x2a1ae9['shift']());}}}(_0x34a4,0xe4859));const o={'exchange':{'file':_0x3db67d(0xbf),'upload':'Открыть(Файл)','download':_0x3db67d(0xcb),'uploading':_0x3db67d(0xcc),'uploadSuccess':_0x3db67d(0xc2),'uploadSuccessTip':_0x3db67d(0xc0),'downloading':_0x3db67d(0xc1),'downloadSuccess':_0x3db67d(0xcd),'unknownMistake':_0x3db67d(0xc5),'networkError':_0x3db67d(0xb8),'tooLarge':_0x3db67d(0xbd),'internalError':'Внутренняя\x20неизвестная\x20ошибка','interrupt':_0x3db67d(0xc8),'wait':'Пожалуйста,\x20подождите...','cancel':_0x3db67d(0xb9),'uploadAgain':_0x3db67d(0xc4)}};export{o as default};
@@ -1 +1 @@
1
- const _0x417e38=_0xc115;(function(_0x51447d,_0x2469fa){const _0xfbddcb=_0xc115,_0x1e56ec=_0x51447d();while(!![]){try{const _0x5da178=parseInt(_0xfbddcb(0x100))/0x1+-parseInt(_0xfbddcb(0xec))/0x2*(parseInt(_0xfbddcb(0xf4))/0x3)+-parseInt(_0xfbddcb(0xf6))/0x4+-parseInt(_0xfbddcb(0xf2))/0x5*(-parseInt(_0xfbddcb(0xf5))/0x6)+-parseInt(_0xfbddcb(0xf1))/0x7*(-parseInt(_0xfbddcb(0xef))/0x8)+-parseInt(_0xfbddcb(0xff))/0x9+parseInt(_0xfbddcb(0xfd))/0xa*(parseInt(_0xfbddcb(0xf0))/0xb);if(_0x5da178===_0x2469fa)break;else _0x1e56ec['push'](_0x1e56ec['shift']());}catch(_0x199d4d){_0x1e56ec['push'](_0x1e56ec['shift']());}}}(_0x11d6,0xcbfba));const n={'exchange':{'file':_0x417e38(0xfe),'upload':_0x417e38(0xfb),'download':_0x417e38(0xfa),'uploading':_0x417e38(0xed),'uploadSuccess':_0x417e38(0xf7),'uploadSuccessTip':_0x417e38(0xfc),'downloading':'Đang\x20tải\x20xuống','downloadSuccess':_0x417e38(0xf8),'unknownMistake':'Lỗi\x20không\x20xác\x20định','networkError':_0x417e38(0xf3),'tooLarge':_0x417e38(0xf9),'internalError':_0x417e38(0x101),'interrupt':_0x417e38(0xee),'wait':'Vui\x20lòng\x20đợi...','cancel':'Hủy\x20bỏ','uploadAgain':'Tải\x20lên\x20lại'}};export{n as default};function _0xc115(_0x1ee1e1,_0x368598){const _0x11d686=_0x11d6();return _0xc115=function(_0xc11516,_0x257ae4){_0xc11516=_0xc11516-0xec;let _0x26db47=_0x11d686[_0xc11516];return _0x26db47;},_0xc115(_0x1ee1e1,_0x368598);}function _0x11d6(){const _0x20ddca=['Luồng\x20dữ\x20liệu\x20quá\x20lớn','Lưu\x20dưới\x20dạng','Mở\x20(Tệp)','{0}\x20tệp\x20đã\x20được\x20tải\x20lên\x20thành\x20công','20cIQxEA','Tệp','11560536IQoaEl','193208hmALZs','Lỗi\x20không\x20xác\x20định\x20bên\x20trong','10942UxyKbJ','Đang\x20tải\x20lên','Kết\x20nối\x20mạng\x20bị\x20gián\x20đoạn,\x20tải\x20lên\x20tệp\x20thất\x20bại.','24mlNokz','12376111islRpK','3071383FsxnBu','3315mtEiQI','Lỗi\x20mạng','537mxQESR','2148odAGmm','3590976XezVKa','Tải\x20lên\x20tệp\x20thành\x20công','Tải\x20xuống\x20thành\x20công'];_0x11d6=function(){return _0x20ddca;};return _0x11d6();}
1
+ function _0x2696(_0x237153,_0x56da17){const _0x495215=_0x4952();return _0x2696=function(_0x2696ba,_0x313a8c){_0x2696ba=_0x2696ba-0x117;let _0x1d3ecd=_0x495215[_0x2696ba];return _0x1d3ecd;},_0x2696(_0x237153,_0x56da17);}const _0x3ed02b=_0x2696;(function(_0x712a1d,_0x5a9179){const _0x39340c=_0x2696,_0xd3e540=_0x712a1d();while(!![]){try{const _0x2c8ce1=parseInt(_0x39340c(0x119))/0x1*(parseInt(_0x39340c(0x12b))/0x2)+parseInt(_0x39340c(0x12a))/0x3*(parseInt(_0x39340c(0x11a))/0x4)+parseInt(_0x39340c(0x123))/0x5*(-parseInt(_0x39340c(0x125))/0x6)+-parseInt(_0x39340c(0x11d))/0x7+parseInt(_0x39340c(0x127))/0x8+parseInt(_0x39340c(0x120))/0x9*(-parseInt(_0x39340c(0x11e))/0xa)+-parseInt(_0x39340c(0x11f))/0xb*(-parseInt(_0x39340c(0x118))/0xc);if(_0x2c8ce1===_0x5a9179)break;else _0xd3e540['push'](_0xd3e540['shift']());}catch(_0x386471){_0xd3e540['push'](_0xd3e540['shift']());}}}(_0x4952,0xc9ca8));function _0x4952(){const _0xf94591=['Đang\x20tải\x20xuống','Lỗi\x20không\x20xác\x20định\x20bên\x20trong','5VLWNdf','Tải\x20xuống\x20thành\x20công','322026FYdsLo','Hủy\x20bỏ','1639568auKqey','{0}\x20tệp\x20đã\x20được\x20tải\x20lên\x20thành\x20công','Tải\x20lên\x20lại','384FmDGUX','1378XIslXK','Mở\x20(Tệp)','Tệp','Vui\x20lòng\x20đợi...','Luồng\x20dữ\x20liệu\x20quá\x20lớn','420636hfppnr','1523eWphiU','11164comnDo','Đang\x20tải\x20lên','Lỗi\x20không\x20xác\x20định','3716027utLwvQ','120BTrgsL','253WiXBxO','755019oGRTmk'];_0x4952=function(){return _0xf94591;};return _0x4952();}const n={'exchange':{'file':_0x3ed02b(0x12d),'upload':_0x3ed02b(0x12c),'download':'Lưu\x20dưới\x20dạng','uploading':_0x3ed02b(0x11b),'uploadSuccess':'Tải\x20lên\x20tệp\x20thành\x20công','uploadSuccessTip':_0x3ed02b(0x128),'downloading':_0x3ed02b(0x121),'downloadSuccess':_0x3ed02b(0x124),'unknownMistake':_0x3ed02b(0x11c),'networkError':'Lỗi\x20mạng','tooLarge':_0x3ed02b(0x117),'internalError':_0x3ed02b(0x122),'interrupt':'Kết\x20nối\x20mạng\x20bị\x20gián\x20đoạn,\x20tải\x20lên\x20tệp\x20thất\x20bại.','wait':_0x3ed02b(0x12e),'cancel':_0x3ed02b(0x126),'uploadAgain':_0x3ed02b(0x129)}};export{n as default};
@@ -1 +1 @@
1
- const _0x2d31bb=_0xc041;function _0xc041(_0x32a70f,_0x4deeb8){const _0x38262b=_0x3826();return _0xc041=function(_0xc041d7,_0x1b07dd){_0xc041d7=_0xc041d7-0x1e9;let _0x4e00ed=_0x38262b[_0xc041d7];return _0x4e00ed;},_0xc041(_0x32a70f,_0x4deeb8);}(function(_0x47c543,_0x564ede){const _0x2b34ec=_0xc041,_0xcc8c68=_0x47c543();while(!![]){try{const _0xcf9b76=parseInt(_0x2b34ec(0x1ea))/0x1*(parseInt(_0x2b34ec(0x1f9))/0x2)+parseInt(_0x2b34ec(0x1e9))/0x3+parseInt(_0x2b34ec(0x1fa))/0x4*(-parseInt(_0x2b34ec(0x1ec))/0x5)+parseInt(_0x2b34ec(0x1f8))/0x6+parseInt(_0x2b34ec(0x1f6))/0x7+-parseInt(_0x2b34ec(0x1ee))/0x8+-parseInt(_0x2b34ec(0x1f4))/0x9*(parseInt(_0x2b34ec(0x1f0))/0xa);if(_0xcf9b76===_0x564ede)break;else _0xcc8c68['push'](_0xcc8c68['shift']());}catch(_0x2b492c){_0xcc8c68['push'](_0xcc8c68['shift']());}}}(_0x3826,0x40672));function _0x3826(){const _0x4e0574=['3213310mbwyHE','网络连接中断,文件上传失败。','再次上传','{0}个文件上传成功','9NCYUqm','上传中','2838878qOyxhm','请稍等...','1522740qgJUpB','428kESYJm','412RkHrmc','另存为','打开(文件)','1197156EByPzS','142asUCEj','下载中','18980PmfbjK','下载成功','901368fdPQDc','内部未知错误'];_0x3826=function(){return _0x4e0574;};return _0x3826();}const o={'exchange':{'file':'文件','upload':_0x2d31bb(0x1fc),'download':_0x2d31bb(0x1fb),'uploading':_0x2d31bb(0x1f5),'uploadSuccess':'文件上传成功','uploadSuccessTip':_0x2d31bb(0x1f3),'downloading':_0x2d31bb(0x1eb),'downloadSuccess':_0x2d31bb(0x1ed),'unknownMistake':'未知错误','networkError':'网络异常','tooLarge':'数据流过大','internalError':_0x2d31bb(0x1ef),'interrupt':_0x2d31bb(0x1f1),'wait':_0x2d31bb(0x1f7),'cancel':'取消','uploadAgain':_0x2d31bb(0x1f2)}};export{o as default};
1
+ const _0x38643c=_0x5019;(function(_0x2b9164,_0x4e4673){const _0x356ef4=_0x5019,_0x1d7bed=_0x2b9164();while(!![]){try{const _0x238025=-parseInt(_0x356ef4(0x1d4))/0x1*(parseInt(_0x356ef4(0x1df))/0x2)+-parseInt(_0x356ef4(0x1ca))/0x3*(parseInt(_0x356ef4(0x1d7))/0x4)+-parseInt(_0x356ef4(0x1cd))/0x5*(-parseInt(_0x356ef4(0x1d8))/0x6)+-parseInt(_0x356ef4(0x1cb))/0x7+-parseInt(_0x356ef4(0x1de))/0x8*(-parseInt(_0x356ef4(0x1d0))/0x9)+parseInt(_0x356ef4(0x1db))/0xa*(parseInt(_0x356ef4(0x1d3))/0xb)+parseInt(_0x356ef4(0x1da))/0xc;if(_0x238025===_0x4e4673)break;else _0x1d7bed['push'](_0x1d7bed['shift']());}catch(_0x4a74ce){_0x1d7bed['push'](_0x1d7bed['shift']());}}}(_0x30c1,0xd9992));const o={'exchange':{'file':'文件','upload':_0x38643c(0x1dc),'download':_0x38643c(0x1d2),'uploading':_0x38643c(0x1cc),'uploadSuccess':_0x38643c(0x1d1),'uploadSuccessTip':_0x38643c(0x1d9),'downloading':_0x38643c(0x1d5),'downloadSuccess':'下载成功','unknownMistake':_0x38643c(0x1c9),'networkError':_0x38643c(0x1dd),'tooLarge':'数据流过大','internalError':_0x38643c(0x1c8),'interrupt':_0x38643c(0x1ce),'wait':_0x38643c(0x1d6),'cancel':'取消','uploadAgain':_0x38643c(0x1cf)}};function _0x30c1(){const _0x50d0a1=['32493252fXuxPU','870rQPkES','打开(文件)','网络异常','21656eDOIbp','3220196JFgVYn','内部未知错误','未知错误','2569596qiPtEo','7110614wntsxg','上传中','5665aZpiNi','网络连接中断,文件上传失败。','再次上传','4005dApOsI','文件上传成功','另存为','105457fRRtfw','1XiyfiK','下载中','请稍等...','8wuWjKQ','2562nbtTGQ','{0}个文件上传成功'];_0x30c1=function(){return _0x50d0a1;};return _0x30c1();}function _0x5019(_0x238578,_0x3c2a10){const _0x30c1b1=_0x30c1();return _0x5019=function(_0x5019ec,_0x38cb14){_0x5019ec=_0x5019ec-0x1c8;let _0x32535c=_0x30c1b1[_0x5019ec];return _0x32535c;},_0x5019(_0x238578,_0x3c2a10);}export{o as default};
@@ -1 +1 @@
1
- function _0x45c8(){const _0x2681e4=['另存為','5879094wIqxNH','檔案上傳成功','下載中','內部未知錯誤','4579844VIaMHP','{0}個檔案上傳成功','資料流過大','10DZWwMC','1911207JEmFkR','25644421AGiIge','上傳中','2FEqder','未知錯誤','網路異常','156280nFnvlV','159508zlGrTA','請稍等...','12sNsodK','網路連線中斷,檔案上傳失敗。\x20','5TUNfFG','開啟(檔案)','6008931DMTBxH','259vPfTUM','下載成功'];_0x45c8=function(){return _0x2681e4;};return _0x45c8();}const _0x52cbb1=_0x2811;(function(_0x11d20a,_0x1fef71){const _0x305ee5=_0x2811,_0x1de938=_0x11d20a();while(!![]){try{const _0x58bee5=-parseInt(_0x305ee5(0x133))/0x1+-parseInt(_0x305ee5(0x12f))/0x2*(-parseInt(_0x305ee5(0x12c))/0x3)+parseInt(_0x305ee5(0x141))/0x4*(-parseInt(_0x305ee5(0x137))/0x5)+-parseInt(_0x305ee5(0x13d))/0x6+parseInt(_0x305ee5(0x13a))/0x7*(parseInt(_0x305ee5(0x132))/0x8)+parseInt(_0x305ee5(0x139))/0x9*(-parseInt(_0x305ee5(0x144))/0xa)+parseInt(_0x305ee5(0x12d))/0xb*(parseInt(_0x305ee5(0x135))/0xc);if(_0x58bee5===_0x1fef71)break;else _0x1de938['push'](_0x1de938['shift']());}catch(_0x439940){_0x1de938['push'](_0x1de938['shift']());}}}(_0x45c8,0xb477e));function _0x2811(_0x25d9a9,_0x297e74){const _0x45c8ea=_0x45c8();return _0x2811=function(_0x281100,_0x229628){_0x281100=_0x281100-0x12c;let _0x10808f=_0x45c8ea[_0x281100];return _0x10808f;},_0x2811(_0x25d9a9,_0x297e74);}const o={'exchange':{'file':'檔案','upload':_0x52cbb1(0x138),'download':_0x52cbb1(0x13c),'uploading':_0x52cbb1(0x12e),'uploadSuccess':_0x52cbb1(0x13e),'uploadSuccessTip':_0x52cbb1(0x142),'downloading':_0x52cbb1(0x13f),'downloadSuccess':_0x52cbb1(0x13b),'unknownMistake':_0x52cbb1(0x130),'networkError':_0x52cbb1(0x131),'tooLarge':_0x52cbb1(0x143),'internalError':_0x52cbb1(0x140),'interrupt':_0x52cbb1(0x136),'wait':_0x52cbb1(0x134),'cancel':'取消','uploadAgain':'再次上傳'}};export{o as default};
1
+ const _0xd5df35=_0x2143;function _0x4807(){const _0x543aa2=['開啟(檔案)','90bfXLQm','{0}個檔案上傳成功','24UGeTWk','檔案上傳成功','3115836PIyMjp','85976rodfGV','再次上傳','上傳中','下載中','另存為','373072ydouLV','53933sSZFTQ','內部未知錯誤','971847ltyCEj','164tBLjGA','網路異常','網路連線中斷,檔案上傳失敗。\x20','978018HdRDGx','9197qLENqd','下載成功','930TLcTII','請稍等...'];_0x4807=function(){return _0x543aa2;};return _0x4807();}function _0x2143(_0x286242,_0x27c0b5){const _0x4807c1=_0x4807();return _0x2143=function(_0x214391,_0x527410){_0x214391=_0x214391-0xfe;let _0x413e5b=_0x4807c1[_0x214391];return _0x413e5b;},_0x2143(_0x286242,_0x27c0b5);}(function(_0x49cce1,_0x4a75b4){const _0x5065f5=_0x2143,_0x2c246d=_0x49cce1();while(!![]){try{const _0x1d6600=parseInt(_0x5065f5(0x101))/0x1*(-parseInt(_0x5065f5(0x114))/0x2)+-parseInt(_0x5065f5(0x113))/0x3+-parseInt(_0x5065f5(0x10b))/0x4*(-parseInt(_0x5065f5(0x106))/0x5)+-parseInt(_0x5065f5(0x100))/0x6+-parseInt(_0x5065f5(0x110))/0x7+parseInt(_0x5065f5(0x108))/0x8*(parseInt(_0x5065f5(0x10a))/0x9)+-parseInt(_0x5065f5(0x103))/0xa*(-parseInt(_0x5065f5(0x111))/0xb);if(_0x1d6600===_0x4a75b4)break;else _0x2c246d['push'](_0x2c246d['shift']());}catch(_0x17c768){_0x2c246d['push'](_0x2c246d['shift']());}}}(_0x4807,0x8f549));const o={'exchange':{'file':'檔案','upload':_0xd5df35(0x105),'download':_0xd5df35(0x10f),'uploading':_0xd5df35(0x10d),'uploadSuccess':_0xd5df35(0x109),'uploadSuccessTip':_0xd5df35(0x107),'downloading':_0xd5df35(0x10e),'downloadSuccess':_0xd5df35(0x102),'unknownMistake':'未知錯誤','networkError':_0xd5df35(0xfe),'tooLarge':'資料流過大','internalError':_0xd5df35(0x112),'interrupt':_0xd5df35(0xff),'wait':_0xd5df35(0x104),'cancel':'取消','uploadAgain':_0xd5df35(0x10c)}};export{o as default};
@@ -1,4 +1,4 @@
1
- export declare const PLUGIN_CONFIG_KEY = "exchange-client.config";
1
+ export declare const EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY = "exchange-client.config";
2
2
  export declare const configSymbol: unique symbol;
3
3
  export interface IUniverExchangeClientConfig {
4
4
  /**
@@ -1,5 +1,35 @@
1
- import { IDocumentData, IWorkbookData } from '@univerjs/core';
2
- interface IFUniverExchangeClientMixin {
1
+ import { IDocumentData, IWorkbookData, FUniver } from '@univerjs/core';
2
+ export interface IFUniverExchangeClientMixin {
3
+ /**
4
+ * Import XLSX file to unit id
5
+ * @param file File path or file object
6
+ */
7
+ importXLSXToUnitId(file: string | File): Promise<string | undefined>;
8
+ /**
9
+ * Import XLSX file to workbook data
10
+ * @param file File path or file object
11
+ */
12
+ importXLSXToSnapshot(file: string | File): Promise<IWorkbookData | undefined>;
13
+ /**
14
+ * Export XLSX file by unit id
15
+ */
16
+ exportXLSXByUnitId(unitId: string): Promise<File | undefined>;
17
+ /**
18
+ * Export XLSX file by workbook data
19
+ */
20
+ exportXLSXBySnapshot(snapshot: IWorkbookData): Promise<File | undefined>;
21
+ /**
22
+ * Import DOCX file to unit id
23
+ * @param file File path or file object
24
+ */
25
+ importDOCXToUnitId(file: string | File): Promise<string | undefined>;
26
+ /**
27
+ * Import DOCX file to document data
28
+ * @param file File path or file object
29
+ */
30
+ importDOCXToSnapshot(file: string | File): Promise<IDocumentData | undefined>;
31
+ }
32
+ export declare class FUniverExchangeClientMixin extends FUniver implements IFUniverExchangeClientMixin {
3
33
  /**
4
34
  * Import XLSX file to unit id
5
35
  * @param file File path or file object
@@ -33,4 +63,3 @@ declare module '@univerjs/core' {
33
63
  interface FUniver extends IFUniverExchangeClientMixin {
34
64
  }
35
65
  }
36
- export {};
@@ -1 +1,2 @@
1
1
  import './f-univer';
2
+ export type * from './f-univer';
@@ -1,3 +1,4 @@
1
+ import './global.css';
1
2
  export { UniverExchangeClientPlugin } from './plugin';
2
3
  export { ExchangeService, IExchangeService } from './services/exchange.service';
3
4
  export { ExchangeOperateService, IExchangeOperateService } from './services/operate.service';
@@ -0,0 +1,3 @@
1
+ import { default as zhCN } from './zh-CN';
2
+ declare const locale: typeof zhCN;
3
+ export default locale;
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x5348(){const _0x442e15=['importDOCXToSnapshot','UNIVER_SLIDE','get','1248196Pneasm','exportXLSXByUnitId','UNIVER_DOC','9cvNTjd','6830zJMrDv','@univerjs/core','UNIVER_UNKNOWN','357546OqQGxR','11892ysoATZ','2892040UZMYnO','importXLSXToSnapshot','extend','UniverCore','UNRECOGNIZED','_injector','20XuprKf','FUniver','191742vZGSgL','17578mrVoed','UNIVER_SHEET','importDOCXToUnitId','function','UNIVER_PROJECT','3132990jaeEvi','UniverProExchangeClient','object','73VGazpM','IExchangeService','@univerjs-pro/exchange-client','importXLSXToUnitId','amd','importFileToUnitId','45HjRMZb','The\x20exchange\x20service\x20is\x20not\x20available'];_0x5348=function(){return _0x442e15;};return _0x5348();}function _0xc44e(_0x221419,_0x46e50c){const _0x534877=_0x5348();return _0xc44e=function(_0xc44e2d,_0x7d31dd){_0xc44e2d=_0xc44e2d-0x133;let _0x498006=_0x534877[_0xc44e2d];return _0x498006;},_0xc44e(_0x221419,_0x46e50c);}(function(_0x5684c9,_0x409ef6){const _0x2623ec=_0xc44e,_0x5a092e=_0x5684c9();while(!![]){try{const _0x30f14b=-parseInt(_0x2623ec(0x14a))/0x1*(parseInt(_0x2623ec(0x134))/0x2)+-parseInt(_0x2623ec(0x133))/0x3*(parseInt(_0x2623ec(0x155))/0x4)+-parseInt(_0x2623ec(0x150))/0x5*(parseInt(_0x2623ec(0x141))/0x6)+parseInt(_0x2623ec(0x137))/0x7+-parseInt(_0x2623ec(0x139))/0x8+-parseInt(_0x2623ec(0x147))/0x9*(-parseInt(_0x2623ec(0x13f))/0xa)+-parseInt(_0x2623ec(0x142))/0xb*(-parseInt(_0x2623ec(0x138))/0xc);if(_0x30f14b===_0x409ef6)break;else _0x5a092e['push'](_0x5a092e['shift']());}catch(_0x2d67cf){_0x5a092e['push'](_0x5a092e['shift']());}}}(_0x5348,0x792e4),function(_0x4780db,_0x39ee47){const _0x40581b=_0xc44e;typeof exports==_0x40581b(0x149)&&typeof module<'u'?_0x39ee47(require(_0x40581b(0x135)),require(_0x40581b(0x14c))):typeof define==_0x40581b(0x145)&&define[_0x40581b(0x14e)]?define(['@univerjs/core',_0x40581b(0x14c)],_0x39ee47):(_0x4780db=typeof globalThis<'u'?globalThis:_0x4780db||self,_0x39ee47(_0x4780db[_0x40581b(0x13c)],_0x4780db[_0x40581b(0x148)]));}(this,function(_0x1d7253,_0xc9559b){'use strict';const _0x4a356e=_0xc44e;var _0x5b4673=(_0xd89776=>(_0xd89776[_0xd89776['UNIVER_UNKNOWN']=0x0]=_0x4a356e(0x136),_0xd89776[_0xd89776[_0x4a356e(0x157)]=0x1]=_0x4a356e(0x157),_0xd89776[_0xd89776[_0x4a356e(0x143)]=0x2]='UNIVER_SHEET',_0xd89776[_0xd89776[_0x4a356e(0x153)]=0x3]=_0x4a356e(0x153),_0xd89776[_0xd89776[_0x4a356e(0x146)]=0x4]=_0x4a356e(0x146),_0xd89776[_0xd89776[_0x4a356e(0x13d)]=-0x1]=_0x4a356e(0x13d),_0xd89776))(_0x5b4673||{});class _0x501573 extends _0x1d7253[_0x4a356e(0x140)]{async[_0x4a356e(0x14d)](_0x55a543){const _0x3003ab=_0x4a356e,_0x107d91=this[_0x3003ab(0x13e)][_0x3003ab(0x154)](_0xc9559b['IExchangeService']);if(!_0x107d91)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x107d91[_0x3003ab(0x14f)](_0x55a543,_0x5b4673[_0x3003ab(0x143)]);}async[_0x4a356e(0x13a)](_0x178ce3){const _0xcd6ba4=_0x4a356e,_0x2b9e71=this[_0xcd6ba4(0x13e)][_0xcd6ba4(0x154)](_0xc9559b[_0xcd6ba4(0x14b)]);if(!_0x2b9e71)throw new Error(_0xcd6ba4(0x151));return _0x2b9e71[_0xcd6ba4(0x13a)](_0x178ce3);}async[_0x4a356e(0x156)](_0x4afa7b){const _0x479d1d=_0x4a356e,_0x4d24db=this[_0x479d1d(0x13e)][_0x479d1d(0x154)](_0xc9559b[_0x479d1d(0x14b)]);if(!_0x4d24db)throw new Error(_0x479d1d(0x151));return _0x4d24db[_0x479d1d(0x156)](_0x4afa7b);}async['exportXLSXBySnapshot'](_0x3542f4){const _0x5b7756=_0x4a356e,_0x5dcedd=this[_0x5b7756(0x13e)][_0x5b7756(0x154)](_0xc9559b[_0x5b7756(0x14b)]);if(!_0x5dcedd)throw new Error(_0x5b7756(0x151));return _0x5dcedd['exportXLSXBySnapshot'](_0x3542f4);}async[_0x4a356e(0x144)](_0x1ea3b6){const _0x3b12ae=_0x4a356e,_0x3c75a5=this[_0x3b12ae(0x13e)]['get'](_0xc9559b[_0x3b12ae(0x14b)]);if(!_0x3c75a5)throw new Error(_0x3b12ae(0x151));return _0x3c75a5[_0x3b12ae(0x14f)](_0x1ea3b6,_0x5b4673[_0x3b12ae(0x157)]);}async[_0x4a356e(0x152)](_0xdb54d){const _0x4b7085=_0x4a356e,_0x218086=this[_0x4b7085(0x13e)][_0x4b7085(0x154)](_0xc9559b[_0x4b7085(0x14b)]);if(!_0x218086)throw new Error(_0x4b7085(0x151));return _0x218086[_0x4b7085(0x152)](_0xdb54d);}}_0x1d7253[_0x4a356e(0x140)][_0x4a356e(0x13b)](_0x501573);}));
1
+ function _0x3bb3(_0x1078dd,_0x356d92){const _0x4f10cb=_0x4f10();return _0x3bb3=function(_0x3bb370,_0x5a2ff3){_0x3bb370=_0x3bb370-0xc3;let _0x5349cf=_0x4f10cb[_0x3bb370];return _0x5349cf;},_0x3bb3(_0x1078dd,_0x356d92);}(function(_0x13a1b0,_0x4f1a19){const _0x4aa972=_0x3bb3,_0x3c7c78=_0x13a1b0();while(!![]){try{const _0x1d6288=parseInt(_0x4aa972(0xc6))/0x1+-parseInt(_0x4aa972(0xe4))/0x2+-parseInt(_0x4aa972(0xce))/0x3*(parseInt(_0x4aa972(0xdc))/0x4)+parseInt(_0x4aa972(0xc5))/0x5*(-parseInt(_0x4aa972(0xc3))/0x6)+-parseInt(_0x4aa972(0xcd))/0x7*(parseInt(_0x4aa972(0xc9))/0x8)+parseInt(_0x4aa972(0xd0))/0x9*(-parseInt(_0x4aa972(0xe1))/0xa)+parseInt(_0x4aa972(0xde))/0xb;if(_0x1d6288===_0x4f1a19)break;else _0x3c7c78['push'](_0x3c7c78['shift']());}catch(_0x169723){_0x3c7c78['push'](_0x3c7c78['shift']());}}}(_0x4f10,0xe0e19),function(_0x2ca458,_0x1f8af0){const _0x124332=_0x3bb3;typeof exports==_0x124332(0xd1)&&typeof module<'u'?_0x1f8af0(require(_0x124332(0xc4)),require(_0x124332(0xd6))):typeof define==_0x124332(0xc7)&&define[_0x124332(0xd8)]?define(['@univerjs/core',_0x124332(0xd6)],_0x1f8af0):(_0x2ca458=typeof globalThis<'u'?globalThis:_0x2ca458||self,_0x1f8af0(_0x2ca458['UniverCore'],_0x2ca458[_0x124332(0xcc)]));}(this,function(_0x26d073,_0x1399b7){'use strict';const _0x4be234=_0x3bb3;var _0x4d522e=(_0x58482e=>(_0x58482e[_0x58482e[_0x4be234(0xd2)]=0x0]='UNIVER_UNKNOWN',_0x58482e[_0x58482e[_0x4be234(0xdd)]=0x1]=_0x4be234(0xdd),_0x58482e[_0x58482e[_0x4be234(0xcb)]=0x2]=_0x4be234(0xcb),_0x58482e[_0x58482e[_0x4be234(0xc8)]=0x3]=_0x4be234(0xc8),_0x58482e[_0x58482e[_0x4be234(0xe3)]=0x4]='UNIVER_PROJECT',_0x58482e[_0x58482e[_0x4be234(0xca)]=-0x1]='UNRECOGNIZED',_0x58482e))(_0x4d522e||{});class _0x1d85cc extends _0x26d073[_0x4be234(0xe2)]{async[_0x4be234(0xda)](_0x1e4b77){const _0x2633d4=_0x4be234,_0x4e046e=this[_0x2633d4(0xe5)][_0x2633d4(0xd7)](_0x1399b7[_0x2633d4(0xd9)]);if(!_0x4e046e)throw new Error(_0x2633d4(0xdb));return _0x4e046e[_0x2633d4(0xdf)](_0x1e4b77,_0x4d522e[_0x2633d4(0xcb)]);}async[_0x4be234(0xd3)](_0x1e64a2){const _0x321382=_0x4be234,_0x3a66bc=this[_0x321382(0xe5)][_0x321382(0xd7)](_0x1399b7[_0x321382(0xd9)]);if(!_0x3a66bc)throw new Error(_0x321382(0xdb));return _0x3a66bc[_0x321382(0xd3)](_0x1e64a2);}async[_0x4be234(0xcf)](_0x2d1b71){const _0x47342f=_0x4be234,_0x2de677=this['_injector']['get'](_0x1399b7[_0x47342f(0xd9)]);if(!_0x2de677)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2de677[_0x47342f(0xcf)](_0x2d1b71);}async[_0x4be234(0xe0)](_0xb80541){const _0x46a905=_0x4be234,_0x3081a8=this[_0x46a905(0xe5)][_0x46a905(0xd7)](_0x1399b7[_0x46a905(0xd9)]);if(!_0x3081a8)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3081a8[_0x46a905(0xe0)](_0xb80541);}async['importDOCXToUnitId'](_0x146f60){const _0x3f8c77=_0x4be234,_0x466dfc=this[_0x3f8c77(0xe5)][_0x3f8c77(0xd7)](_0x1399b7['IExchangeService']);if(!_0x466dfc)throw new Error(_0x3f8c77(0xdb));return _0x466dfc['importFileToUnitId'](_0x146f60,_0x4d522e[_0x3f8c77(0xdd)]);}async[_0x4be234(0xd4)](_0x5565f){const _0x459e79=_0x4be234,_0x327b91=this[_0x459e79(0xe5)][_0x459e79(0xd7)](_0x1399b7[_0x459e79(0xd9)]);if(!_0x327b91)throw new Error(_0x459e79(0xdb));return _0x327b91['importDOCXToSnapshot'](_0x5565f);}}_0x26d073[_0x4be234(0xe2)][_0x4be234(0xd5)](_0x1d85cc);}));function _0x4f10(){const _0x4d0ac3=['The\x20exchange\x20service\x20is\x20not\x20available','179976xEkcSf','UNIVER_DOC','52370901EHGHKk','importFileToUnitId','exportXLSXBySnapshot','4010Kuntge','FUniver','UNIVER_PROJECT','622188xfiMZx','_injector','9570126aURtns','@univerjs/core','5OhZiEP','527708MimLzg','function','UNIVER_SLIDE','24udjNkf','UNRECOGNIZED','UNIVER_SHEET','UniverProExchangeClient','3976469Erbyun','36soCnEz','exportXLSXByUnitId','4878fNplwK','object','UNIVER_UNKNOWN','importXLSXToSnapshot','importDOCXToSnapshot','extend','@univerjs-pro/exchange-client','get','amd','IExchangeService','importXLSXToUnitId'];_0x4f10=function(){return _0x4d0ac3;};return _0x4f10();}